* Adjust Image Cropper focal point to be consistent with Color Area handle
* Make focus point focusable via keyboard
* Update import of utils from uui
* Make focal point accessible via keyboard
* Move logic to function
* Reset coords
* Remove reset coords
* Reset coords if focal point is updated to center
* Format document
* Set focal point property instead
* Formatting
* Fix warnings
* Width and height
* Remove added outline so we can see when focal point has focus via keyboard
* Reset coords
* Cleanup
* Update import
* Cleanup
* Use UmbChangeEvent
* Adjust elements
* Import drag for uui
* Cleanup styling
* Cleanup
* Remove unnecessary events
* Container is HTMLElement
* Check focal point updated
* Fix conflicts after merge
* Null check
* Update correct element types
* Revert to custom event
* Cleanup console
* Don't hide overflow, so focal point is not cut off on edges on image
* Add margin top at actions so focal point doesn't overlap buttons
* Top margin at actions
* Crosshair cursor when focal point is not hidden
* Cancel update focal point
* Add move cursor to viewport image
* Use crop label
* Add missing label
* Disable draggable of image as in old backoffice
* Fix previous merge conflicts
* Update src/packages/media/media/components/input-image-cropper/image-cropper-focus-setter.element.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Update src/packages/media/media/components/input-image-cropper/image-cropper-focus-setter.element.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Update src/packages/media/media/components/input-image-cropper/image-cropper-focus-setter.element.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Update src/packages/media/media/components/input-image-cropper/image-cropper-focus-setter.element.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Remove disconnectedCallback
* Ignore in the debug element
* Add custom event for focal point change
* Import type
* Replace with UmbImageCropChangeEvent
* Use UmbFocalPointModel
* Move set focal pont style to setter
* Update custom event name
* Localize focal point label
* Fix import of UmbFocalPointModel type
* Localize buttons
* Update labels
* Combine imports
---------
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Fixes TinyMCE anchor links without a base URL
it was previously prefixing the `href` with the current backoffice page URL.
* Code tidy-up + remove unused code
* Add a const for 'Umb.Condition.WorkspaceAlias'
* Update usages 'Umb.Condition.WorkspaceAlias' of to the new CONST
* Somehow accidently deleted .nvmrc
* Change from 'src/packages/core/workspace/conditions/const.js' to '@umbraco-cms/backoffice/workspace' as the import
* Another fix from the build errors from GitHub - didnt come up locally which was weird
* Update src/packages/core/workspace/conditions/workspace-alias.condition.ts
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* Renames the consts as agreed in the PR and adds the deprecated notice
---------
Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
* 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>
* 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`
* 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>