Commit Graph

20852 Commits

Author SHA1 Message Date
Warren Buckley
e2b8a788f6 Fixes #17254 Making 'Umb.Section.Content' as a const UMB_CONTENT_SECTION_ALIAS that can be imported 2024-10-14 15:04:52 +02:00
Søren Kottal
62050e9cb6 fixes icon alignment in links in redirect dashboard 2024-10-14 14:58:10 +02:00
Jacob Overgaard
4726335a7d fix: only set the ?readonly attribute on the swatches element since it handles setting it on the colors afterwards 2024-10-14 11:19:20 +02:00
Richard Thompson
d4a2453075 Adds read-only mode to Color Picker Property Editor (#2451)
* Adds read-only mode to Color Picker Property Editor

Implemented the read-only mode of the Color Picker Property Editor UI to close https://github.com/umbraco/Umbraco-CMS/issues/17045.

* feat: forward the `readonly` attribute to the swatch* elements

* chore: rearrange properties in the element

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-14 08:12:55 +00:00
Jacob Overgaard
f30e86efd3 Merge branch 'release/15.0' 2024-10-14 10:02:35 +02:00
Jacob Overgaard
71842b2d1d Merge pull request #2453 from umbraco/v15/chore/update-uui-1110
Dependencies: Update @umbraco-ui/uui to 1.11.0
2024-10-14 09:59:44 +02:00
Lee Kelleher
db7a683dc9 Chore: Update's VS Code new UmbLitElement code snippet (#2449)
* Reworked VSCode code snippet for creating new `UmbLitElement` classes

* Removed ctor

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Marks `styles` as `readonly`

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Removes `elementName` constant

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-14 07:56:33 +00:00
Jacob Overgaard
bc2d2916fd build(deps): update @umbraco-ui/uui to 1.11.0 2024-10-14 09:40:41 +02:00
Allen Smith
3015c3813f Update instruction text for Collection elements. 2024-10-14 09:27:54 +02:00
Lee Kelleher
8e39004c59 Chore: Lee's code sweep (during Hacktoberfest '24) (#2450)
* Removed my outdated TODO comments

* Manifest Picker code tidy-up

* Attribute tidy-up

Things I'd picked up during development

* Corrects Storybook control type for `umb-localize` key

* Ran `npm run lint:fix`
2024-10-14 08:44:19 +02:00
Niels Lyngsø
4d754c1bd2 Merge pull request #2410 from umbraco/v15/feature/select-all-option-in-publishing-dialogs
Feature: Select all variants option in publishing dialogs
2024-10-11 16:30:06 +02:00
Niels Lyngsø
1f56d3c263 small refactor 2024-10-11 16:22:59 +02:00
Niels Lyngsø
507f08fcc0 Merge pull request #2438 from umbraco/v15/hotfix/pass-workspace-pattern-to-edit-doc-type
Pass workspace path to document type edit path
2024-10-11 15:05:31 +02:00
Mads Rasmussen
4c371fc1d6 Merge branch 'release/15.0' into v15/hotfix/pass-workspace-pattern-to-edit-doc-type 2024-10-11 14:38:02 +02:00
Mads Rasmussen
a5df883776 Merge branch 'main' into v15/feature/select-all-option-in-publishing-dialogs 2024-10-11 14:37:31 +02:00
JesmoDev
a689b1c961 adds formatting to source blocks and excldues decorators 2024-10-11 13:15:48 +02:00
Lone Iversen
9ddd64c429 Feature: Media Collection Placeholders (#2439)
* mediacollection placeholder logic

* media collection placeholder showing

* make observables available

* complete option for temp badge

* placeholder entity

* placeholder logic

* remove consolelog

* update todo and jdocs
2024-10-11 13:09:42 +02:00
Mads Rasmussen
9d0391242a Merge branch 'main' into v15/feature/select-all-option-in-publishing-dialogs 2024-10-11 12:12:58 +02:00
dependabot[bot]
76930c4a0e Bump @types/chai from 4.3.17 to 5.0.0
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.17 to 5.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 12:01:13 +02:00
Niels Lyngsø
f0422c6984 Merge pull request #2431 from umbraco/v15/hotfix/readonly-block-grid-property-editor-ui
Feature: Readonly Block Grid Property Editor UI
2024-10-11 10:35:33 +02:00
Mads Rasmussen
eb999f6363 Merge branch 'main' into v15/hotfix/readonly-block-grid-property-editor-ui 2024-10-11 10:28:27 +02:00
Ibrahim Muhammad Nada
3e620f2b68 Make Grid List Create Button Respect the Translation of a document type (#2435)
* fix label

* Make umb-block-workspace-view-edit Respect Translations as well

* fix umb-workspace-editor

* Update src/libs/localization-api/localization.controller.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Update src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Update src/packages/block/block-type/components/block-type-card/block-type-card.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Update src/packages/block/block/workspace/views/edit/block-workspace-view-edit.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* Update src/packages/block/block/workspace/block-workspace-editor.element.ts

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>

* fix: ensure strings are actual strings at runtime

* fix: allow LocalizationController#string to receive unknown values to support various usecases

* test: add tests for undefined|unknown scenarios

* fix: translate the name of the entity as well

* fix: localize create labels

* fix: localize only when data changes

* chore: fix sonarcloud issues

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-11 09:32:09 +02:00
Mads Rasmussen
b51b375a98 Merge branch 'main' into v15/feature/select-all-option-in-publishing-dialogs 2024-10-11 08:54:32 +02:00
Jacob Overgaard
396fd6c3e4 Merge branch 'release/15.0' 2024-10-11 08:34:48 +02:00
Niels Lyngsø
0d61ff3411 Fix: Block Editors — use create labels and hide 'edit'-action if no properties (#2424)
use create labels and hide edit if no properties

Co-authored-by: Mads Rasmussen <madsr@hey.com>
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-11 08:33:26 +02:00
Niels Lyngsø
72b0e6f30d Fix: Block Editors — use create labels and hide 'edit'-action if no properties (#2424)
use create labels and hide edit if no properties

Co-authored-by: Mads Rasmussen <madsr@hey.com>
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-11 06:32:48 +00:00
Mads Rasmussen
11f69be335 Hotfix: Expose global types (#2442)
* add script

* run script post build

* remove unused script

* add types to root import

* add util

* build to packages folder

* Update global-types.js

* only include js files in importmap
2024-10-11 08:22:51 +02:00
JesmoDev
1ecf9c5c51 Storybook 8 Upgrade (#2440)
* upgrade storybook to 8.3.5

* remove packages no longer needed

* fix: overwrite storybooks favicon

* chore: replace deprecated `Story` with `StoryFn`

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-10 16:17:39 +02:00
JesmoDev
0bf6f85e25 Storybook 8 Upgrade (#2440)
* upgrade storybook to 8.3.5

* remove packages no longer needed

* fix: overwrite storybooks favicon

* chore: replace deprecated `Story` with `StoryFn`

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2024-10-10 14:16:24 +00:00
Jacob Overgaard
0489d879eb Merge remote-tracking branch 'origin/release/15.0' 2024-10-10 15:45:19 +02:00
Jacob Overgaard
ba1011b2c7 Merge pull request #2437 from umbraco/v15/chore/update-uui-1101
build(deps): update @umbraco-ui/uui from 1.10.0 to 1.10.1
2024-10-10 15:19:10 +02:00
Niels Lyngsø
44d5610a27 Merge pull request #2423 from umbraco/v15/feature/ufm-as-text
UFM as text
2024-10-10 14:54:10 +02:00
leekelleher
9f9b83a9dd Traverse the Shadow DOM children
to gather text content.
2024-10-10 13:45:50 +01:00
Mads Rasmussen
882c22d2c8 pass workspace path 2024-10-10 11:33:05 +02:00
Niels Lyngsø
db54469c4a Merge pull request #2436 from umbraco/v15/feature/collection-empty-state
Bugfix: Collection empty state
2024-10-10 10:24:59 +02:00
Jacob Overgaard
ab7da94789 build(deps): update @umbraco-ui/uui from 1.10.0 to 1.10.1 2024-10-10 09:43:16 +02:00
Mads Rasmussen
a81f4386e3 prevent empty state flash 2024-10-10 09:41:22 +02:00
Mads Rasmussen
9084ef3693 add todo 2024-10-10 08:48:39 +02:00
Mads Rasmussen
61385e502f hide router instead of removing it 2024-10-09 22:18:06 +02:00
Mads Rasmussen
30371a5d87 remove custom empty state implementations 2024-10-09 20:31:34 +02:00
Mads Rasmussen
bf62b4131e render collection empty state if there are no items 2024-10-09 20:12:47 +02:00
Jacob Overgaard
302ab14b3f Merge branch 'release/15.0' 2024-10-09 17:40:41 +02:00
Jacob Overgaard
bc9ace9067 fix: allow <code> elements in TinyMCE (#2434)
This allows `<code>` elements to exist in the HTML used in the code snippet plugin. It has the `-` modifier to remove empty elements.

Co-authored-by: Wojciech Wróbel <wrobel_w@wp.pl>
2024-10-09 17:38:28 +02:00
Mads Rasmussen
5709b09f4c Update block-workspace.context.ts 2024-10-09 14:54:46 +02:00
Mads Rasmussen
112d7b981e Merge branch 'main' into v15/feature/select-all-option-in-publishing-dialogs 2024-10-09 14:51:30 +02:00
Mads Rasmussen
8f8694cb46 Merge branch 'main' into v15/hotfix/readonly-block-grid-property-editor-ui 2024-10-09 14:50:44 +02:00
Mads Rasmussen
ee68f17533 update unique 2024-10-09 14:48:13 +02:00
Mads Rasmussen
0b91c782b9 hide inline create buttons when readonly 2024-10-09 14:32:24 +02:00
Niels Lyngsø
24de66fe49 Merge pull request #2433 from umbraco/v15/hotfix/login-image
update login photo for v15
2024-10-09 14:29:03 +02:00
Mads Rasmussen
d856f8fc95 remove inline create button when readonly 2024-10-09 14:24:06 +02:00