@umbraco-ui/uui 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +103 -1
- package/dist/_virtual/_@oxc-project_runtime@0.138.0/helpers/esm/decorate.js +9 -0
- package/dist/components/action-bar/action-bar.d.ts +0 -1
- package/dist/components/action-bar/action-bar.element.js +15 -12
- package/dist/components/action-bar/action-bar.element.js.map +1 -1
- package/dist/components/action-bar/action-bar.js +5 -5
- package/dist/components/action-bar/action-bar.js.map +1 -1
- package/dist/components/avatar/avatar.d.ts +0 -1
- package/dist/components/avatar/avatar.element.js +72 -86
- package/dist/components/avatar/avatar.element.js.map +1 -1
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/avatar-group/avatar-group.d.ts +0 -1
- package/dist/components/avatar-group/avatar-group.element.js +58 -68
- package/dist/components/avatar-group/avatar-group.element.js.map +1 -1
- package/dist/components/avatar-group/avatar-group.js +5 -5
- package/dist/components/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/badge/badge.d.ts +0 -1
- package/dist/components/badge/badge.element.js +32 -38
- package/dist/components/badge/badge.element.js.map +1 -1
- package/dist/components/badge/badge.js +5 -5
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/components/boolean-input/UUIBooleanInputEvent.js +15 -13
- package/dist/components/boolean-input/UUIBooleanInputEvent.js.map +1 -1
- package/dist/components/boolean-input/boolean-input.d.ts +0 -1
- package/dist/components/boolean-input/boolean-input.element.js +114 -134
- package/dist/components/boolean-input/boolean-input.element.js.map +1 -1
- package/dist/components/boolean-input/boolean-input.js +3 -0
- package/dist/components/box/box.d.ts +0 -1
- package/dist/components/box/box.element.js +74 -77
- package/dist/components/box/box.element.js.map +1 -1
- package/dist/components/box/box.js +5 -5
- package/dist/components/box/box.js.map +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.element.js +45 -50
- package/dist/components/breadcrumbs/breadcrumb-item.element.js.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +0 -1
- package/dist/components/breadcrumbs/breadcrumbs.element.js +40 -47
- package/dist/components/breadcrumbs/breadcrumbs.element.js.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +5 -6
- package/dist/components/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/button/button.d.ts +0 -1
- package/dist/components/button/button.element.js +147 -199
- package/dist/components/button/button.element.js.map +1 -1
- package/dist/components/button/button.js +5 -5
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button-copy-text/UUICopyTextEvent.js +16 -12
- package/dist/components/button-copy-text/UUICopyTextEvent.js.map +1 -1
- package/dist/components/button-copy-text/button-copy-text.d.ts +0 -1
- package/dist/components/button-copy-text/button-copy-text.element.js +78 -93
- package/dist/components/button-copy-text/button-copy-text.element.js.map +1 -1
- package/dist/components/button-copy-text/button-copy-text.js +6 -7
- package/dist/components/button-copy-text/button-copy-text.js.map +1 -1
- package/dist/components/button-group/button-group.d.ts +0 -1
- package/dist/components/button-group/button-group.element.js +19 -14
- package/dist/components/button-group/button-group.element.js.map +1 -1
- package/dist/components/button-group/button-group.js +5 -5
- package/dist/components/button-group/button-group.js.map +1 -1
- package/dist/components/button-inline-create/UUIButtonInlineCreateEvent.js +16 -14
- package/dist/components/button-inline-create/UUIButtonInlineCreateEvent.js.map +1 -1
- package/dist/components/button-inline-create/button-inline-create.d.ts +0 -1
- package/dist/components/button-inline-create/button-inline-create.element.js +63 -88
- package/dist/components/button-inline-create/button-inline-create.element.js.map +1 -1
- package/dist/components/button-inline-create/button-inline-create.js +6 -7
- package/dist/components/button-inline-create/button-inline-create.js.map +1 -1
- package/dist/components/card/UUICardEvent.js +9 -7
- package/dist/components/card/UUICardEvent.js.map +1 -1
- package/dist/components/card/card.d.ts +0 -1
- package/dist/components/card/card.element.d.ts +7 -0
- package/dist/components/card/card.element.js +72 -69
- package/dist/components/card/card.element.js.map +1 -1
- package/dist/components/card/card.js +6 -7
- package/dist/components/card/card.js.map +1 -1
- package/dist/components/card-block-type/card-block-type.d.ts +0 -1
- package/dist/components/card-block-type/card-block-type.element.js +55 -74
- package/dist/components/card-block-type/card-block-type.element.js.map +1 -1
- package/dist/components/card-block-type/card-block-type.js +5 -5
- package/dist/components/card-block-type/card-block-type.js.map +1 -1
- package/dist/components/card-content-node/card-content-node.d.ts +0 -1
- package/dist/components/card-content-node/card-content-node.element.d.ts +1 -0
- package/dist/components/card-content-node/card-content-node.element.js +82 -83
- package/dist/components/card-content-node/card-content-node.element.js.map +1 -1
- package/dist/components/card-content-node/card-content-node.js +5 -5
- package/dist/components/card-content-node/card-content-node.js.map +1 -1
- package/dist/components/card-media/card-media.d.ts +0 -1
- package/dist/components/card-media/card-media.element.d.ts +4 -0
- package/dist/components/card-media/card-media.element.js +103 -89
- package/dist/components/card-media/card-media.element.js.map +1 -1
- package/dist/components/card-media/card-media.js +5 -5
- package/dist/components/card-media/card-media.js.map +1 -1
- package/dist/components/card-user/card-user.d.ts +0 -1
- package/dist/components/card-user/card-user.element.js +57 -72
- package/dist/components/card-user/card-user.element.js.map +1 -1
- package/dist/components/card-user/card-user.js +5 -5
- package/dist/components/card-user/card-user.js.map +1 -1
- package/dist/components/checkbox/checkbox.d.ts +0 -1
- package/dist/components/checkbox/checkbox.element.js +41 -22
- package/dist/components/checkbox/checkbox.element.js.map +1 -1
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/color-area/UUIColorAreaEvent.js +15 -13
- package/dist/components/color-area/UUIColorAreaEvent.js.map +1 -1
- package/dist/components/color-area/color-area.d.ts +0 -1
- package/dist/components/color-area/color-area.element.js +137 -174
- package/dist/components/color-area/color-area.element.js.map +1 -1
- package/dist/components/color-area/color-area.js +6 -7
- package/dist/components/color-area/color-area.js.map +1 -1
- package/dist/components/color-picker/UUIColorPickerEvent.js +15 -13
- package/dist/components/color-picker/UUIColorPickerEvent.js.map +1 -1
- package/dist/components/color-picker/color-picker.d.ts +0 -1
- package/dist/components/color-picker/color-picker.element.js +293 -334
- package/dist/components/color-picker/color-picker.element.js.map +1 -1
- package/dist/components/color-picker/color-picker.js +6 -7
- package/dist/components/color-picker/color-picker.js.map +1 -1
- package/dist/components/color-slider/UUIColorSliderEvent.js +15 -13
- package/dist/components/color-slider/UUIColorSliderEvent.js.map +1 -1
- package/dist/components/color-slider/color-slider.d.ts +0 -1
- package/dist/components/color-slider/color-slider.element.js +169 -219
- package/dist/components/color-slider/color-slider.element.js.map +1 -1
- package/dist/components/color-slider/color-slider.js +6 -7
- package/dist/components/color-slider/color-slider.js.map +1 -1
- package/dist/components/color-swatch/color-swatch.d.ts +0 -1
- package/dist/components/color-swatch/color-swatch.element.d.ts +1 -1
- package/dist/components/color-swatch/color-swatch.element.js +215 -201
- package/dist/components/color-swatch/color-swatch.element.js.map +1 -1
- package/dist/components/color-swatch/color-swatch.js +5 -5
- package/dist/components/color-swatch/color-swatch.js.map +1 -1
- package/dist/components/color-swatches/UUIColorSwatchesEvent.js +15 -13
- package/dist/components/color-swatches/UUIColorSwatchesEvent.js.map +1 -1
- package/dist/components/color-swatches/color-swatches.d.ts +0 -1
- package/dist/components/color-swatches/color-swatches.element.js +115 -132
- package/dist/components/color-swatches/color-swatches.element.js.map +1 -1
- package/dist/components/color-swatches/color-swatches.js +6 -7
- package/dist/components/color-swatches/color-swatches.js.map +1 -1
- package/dist/components/combobox/UUIComboboxEvent.js +18 -14
- package/dist/components/combobox/UUIComboboxEvent.js.map +1 -1
- package/dist/components/combobox/combobox.d.ts +0 -1
- package/dist/components/combobox/combobox.element.js +321 -425
- package/dist/components/combobox/combobox.element.js.map +1 -1
- package/dist/components/combobox/combobox.js +6 -7
- package/dist/components/combobox/combobox.js.map +1 -1
- package/dist/components/combobox-list/UUIComboboxListEvent.js +18 -14
- package/dist/components/combobox-list/UUIComboboxListEvent.js.map +1 -1
- package/dist/components/combobox-list/combobox-list-option.element.js +88 -80
- package/dist/components/combobox-list/combobox-list-option.element.js.map +1 -1
- package/dist/components/combobox-list/combobox-list.d.ts +0 -1
- package/dist/components/combobox-list/combobox-list.element.js +218 -275
- package/dist/components/combobox-list/combobox-list.element.js.map +1 -1
- package/dist/components/combobox-list/combobox-list.js +6 -8
- package/dist/components/combobox-list/combobox-list.js.map +1 -1
- package/dist/components/dialog/dialog.d.ts +0 -1
- package/dist/components/dialog/dialog.element.js +19 -14
- package/dist/components/dialog/dialog.element.js.map +1 -1
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/dialog/dialog.js.map +1 -1
- package/dist/components/dialog-layout/dialog-layout.d.ts +0 -1
- package/dist/components/dialog-layout/dialog-layout.element.js +59 -64
- package/dist/components/dialog-layout/dialog-layout.element.js.map +1 -1
- package/dist/components/dialog-layout/dialog-layout.js +5 -5
- package/dist/components/dialog-layout/dialog-layout.js.map +1 -1
- package/dist/components/file-dropzone/UUIFileDropzoneEvent.js +18 -14
- package/dist/components/file-dropzone/UUIFileDropzoneEvent.js.map +1 -1
- package/dist/components/file-dropzone/file-dropzone.d.ts +0 -1
- package/dist/components/file-dropzone/file-dropzone.element.js +214 -257
- package/dist/components/file-dropzone/file-dropzone.element.js.map +1 -1
- package/dist/components/file-dropzone/file-dropzone.js +6 -7
- package/dist/components/file-dropzone/file-dropzone.js.map +1 -1
- package/dist/components/file-preview/UUIFileSize.js +46 -19
- package/dist/components/file-preview/UUIFileSize.js.map +1 -1
- package/dist/components/file-preview/file-preview.d.ts +0 -1
- package/dist/components/file-preview/file-preview.element.js +78 -103
- package/dist/components/file-preview/file-preview.element.js.map +1 -1
- package/dist/components/file-preview/file-preview.js +6 -5
- package/dist/components/file-preview/file-preview.js.map +1 -1
- package/dist/components/form/form.d.ts +0 -1
- package/dist/components/form/form.element.js +46 -46
- package/dist/components/form/form.element.js.map +1 -1
- package/dist/components/form/form.js +5 -5
- package/dist/components/form/form.js.map +1 -1
- package/dist/components/form-layout-item/form-layout-item.d.ts +0 -1
- package/dist/components/form-layout-item/form-layout-item.element.js +39 -45
- package/dist/components/form-layout-item/form-layout-item.element.js.map +1 -1
- package/dist/components/form-layout-item/form-layout-item.js +5 -5
- package/dist/components/form-layout-item/form-layout-item.js.map +1 -1
- package/dist/components/form-validation-message/form-validation-message.d.ts +0 -1
- package/dist/components/form-validation-message/form-validation-message.element.js +71 -89
- package/dist/components/form-validation-message/form-validation-message.element.js.map +1 -1
- package/dist/components/form-validation-message/form-validation-message.js +5 -5
- package/dist/components/form-validation-message/form-validation-message.js.map +1 -1
- package/dist/components/icon/UUIIconRequestEvent.js +21 -19
- package/dist/components/icon/UUIIconRequestEvent.js.map +1 -1
- package/dist/components/icon/icon.d.ts +0 -1
- package/dist/components/icon/icon.element.js +93 -117
- package/dist/components/icon/icon.element.js.map +1 -1
- package/dist/components/icon/icon.js +6 -7
- package/dist/components/icon/icon.js.map +1 -1
- package/dist/components/icon-registry/UUIIconHost.js +16 -17
- package/dist/components/icon-registry/UUIIconHost.js.map +1 -1
- package/dist/components/icon-registry/UUIIconRegistry.js +67 -77
- package/dist/components/icon-registry/UUIIconRegistry.js.map +1 -1
- package/dist/components/icon-registry/icon-registry.d.ts +0 -1
- package/dist/components/icon-registry/icon-registry.element.js +39 -48
- package/dist/components/icon-registry/icon-registry.element.js.map +1 -1
- package/dist/components/icon-registry/icon-registry.js +7 -6
- package/dist/components/icon-registry/icon-registry.js.map +1 -1
- package/dist/components/icon-registry-essential/UUIIconRegistryEssential.js +44 -42
- package/dist/components/icon-registry-essential/UUIIconRegistryEssential.js.map +1 -1
- package/dist/components/icon-registry-essential/icon-registry-essential.d.ts +0 -1
- package/dist/components/icon-registry-essential/icon-registry-essential.element.js +15 -9
- package/dist/components/icon-registry-essential/icon-registry-essential.element.js.map +1 -1
- package/dist/components/icon-registry-essential/icon-registry-essential.js +6 -39
- package/dist/components/icon-registry-essential/icon-registry-essential.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconAdd.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconAdd.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconAlert.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconAlert.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconAttachment.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconAttachment.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconCalendar.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconCalendar.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconCheck.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconCheck.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconClipboard.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconClipboard.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconCode.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconCode.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconColorPicker.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconColorPicker.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconCopy.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconCopy.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconDelete.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconDelete.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconDocument.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconDocument.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconDownload.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconDownload.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconDrag.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconDrag.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconEdit.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconEdit.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconFavorite.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconFavorite.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconFolder.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconFolder.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconForbidden.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconForbidden.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconInfo.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconInfo.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconLink.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconLink.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconLock.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconLock.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconPause.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconPause.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconPicture.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconPicture.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconPlay.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconPlay.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconRemove.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconRemove.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconSearch.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconSearch.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconSee.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconSee.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconSettings.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconSettings.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconSubtract.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconSubtract.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconSync.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconSync.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconUnlock.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconUnlock.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconUnsee.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconUnsee.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconWand.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconWand.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/iconWrong.js +6 -5
- package/dist/components/icon-registry-essential/svgs/iconWrong.js.map +1 -1
- package/dist/components/icon-registry-essential/svgs/index.js +34 -0
- package/dist/components/index.js +206 -0
- package/dist/components/input/UUIInputEvent.js +18 -14
- package/dist/components/input/UUIInputEvent.js.map +1 -1
- package/dist/components/input/input.d.ts +0 -1
- package/dist/components/input/input.element.js +176 -201
- package/dist/components/input/input.element.js.map +1 -1
- package/dist/components/input/input.js +6 -7
- package/dist/components/input/input.js.map +1 -1
- package/dist/components/input-file/input-file.d.ts +0 -1
- package/dist/components/input-file/input-file.element.js +137 -211
- package/dist/components/input-file/input-file.element.js.map +1 -1
- package/dist/components/input-file/input-file.js +5 -5
- package/dist/components/input-file/input-file.js.map +1 -1
- package/dist/components/input-lock/UUIInputLockEvent.js +15 -13
- package/dist/components/input-lock/UUIInputLockEvent.js.map +1 -1
- package/dist/components/input-lock/input-lock.d.ts +0 -1
- package/dist/components/input-lock/input-lock.element.js +69 -105
- package/dist/components/input-lock/input-lock.element.js.map +1 -1
- package/dist/components/input-lock/input-lock.js +6 -7
- package/dist/components/input-lock/input-lock.js.map +1 -1
- package/dist/components/input-password/input-password.d.ts +0 -1
- package/dist/components/input-password/input-password.element.js +45 -90
- package/dist/components/input-password/input-password.element.js.map +1 -1
- package/dist/components/input-password/input-password.js +5 -5
- package/dist/components/input-password/input-password.js.map +1 -1
- package/dist/components/keyboard-shortcut/key.element.js +19 -14
- package/dist/components/keyboard-shortcut/key.element.js.map +1 -1
- package/dist/components/keyboard-shortcut/keyboard-shortcut.d.ts +0 -1
- package/dist/components/keyboard-shortcut/keyboard-shortcut.element.js +19 -14
- package/dist/components/keyboard-shortcut/keyboard-shortcut.element.js.map +1 -1
- package/dist/components/keyboard-shortcut/keyboard-shortcut.js +5 -6
- package/dist/components/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/label/label.d.ts +0 -1
- package/dist/components/label/label.element.js +52 -54
- package/dist/components/label/label.element.js.map +1 -1
- package/dist/components/label/label.js +5 -5
- package/dist/components/label/label.js.map +1 -1
- package/dist/components/loader/loader.d.ts +0 -1
- package/dist/components/loader/loader.element.js +18 -14
- package/dist/components/loader/loader.element.js.map +1 -1
- package/dist/components/loader/loader.js +5 -5
- package/dist/components/loader/loader.js.map +1 -1
- package/dist/components/loader-bar/loader-bar.d.ts +0 -1
- package/dist/components/loader-bar/loader-bar.element.js +55 -52
- package/dist/components/loader-bar/loader-bar.element.js.map +1 -1
- package/dist/components/loader-bar/loader-bar.js +5 -5
- package/dist/components/loader-bar/loader-bar.js.map +1 -1
- package/dist/components/loader-circle/loader-circle.d.ts +0 -1
- package/dist/components/loader-circle/loader-circle.element.js +52 -59
- package/dist/components/loader-circle/loader-circle.element.js.map +1 -1
- package/dist/components/loader-circle/loader-circle.js +5 -5
- package/dist/components/loader-circle/loader-circle.js.map +1 -1
- package/dist/components/menu-item/UUIMenuItemEvent.js +15 -9
- package/dist/components/menu-item/UUIMenuItemEvent.js.map +1 -1
- package/dist/components/menu-item/menu-item.d.ts +0 -1
- package/dist/components/menu-item/menu-item.element.js +136 -139
- package/dist/components/menu-item/menu-item.element.js.map +1 -1
- package/dist/components/menu-item/menu-item.js +6 -7
- package/dist/components/menu-item/menu-item.js.map +1 -1
- package/dist/components/modal/modal-container.js +86 -141
- package/dist/components/modal/modal-container.js.map +1 -1
- package/dist/components/modal/modal-dialog.element.js +14 -15
- package/dist/components/modal/modal-dialog.element.js.map +1 -1
- package/dist/components/modal/modal-sidebar.element.js +41 -64
- package/dist/components/modal/modal-sidebar.element.js.map +1 -1
- package/dist/components/modal/modal.d.ts +0 -1
- package/dist/components/modal/modal.element.js +89 -106
- package/dist/components/modal/modal.element.js.map +1 -1
- package/dist/components/modal/modal.js +6 -12
- package/dist/components/modal/modal.js.map +1 -1
- package/dist/components/pagination/UUIPaginationEvent.js +15 -13
- package/dist/components/pagination/UUIPaginationEvent.js.map +1 -1
- package/dist/components/pagination/pagination.d.ts +0 -1
- package/dist/components/pagination/pagination.element.js +188 -228
- package/dist/components/pagination/pagination.element.js.map +1 -1
- package/dist/components/pagination/pagination.js +6 -7
- package/dist/components/pagination/pagination.js.map +1 -1
- package/dist/components/popover-container/popover-container.d.ts +0 -1
- package/dist/components/popover-container/popover-container.element.d.ts +1 -0
- package/dist/components/popover-container/popover-container.element.js +290 -335
- package/dist/components/popover-container/popover-container.element.js.map +1 -1
- package/dist/components/popover-container/popover-container.js +5 -5
- package/dist/components/popover-container/popover-container.js.map +1 -1
- package/dist/components/progress-bar/progress-bar.d.ts +0 -1
- package/dist/components/progress-bar/progress-bar.element.js +41 -43
- package/dist/components/progress-bar/progress-bar.element.js.map +1 -1
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/radio/UUIRadioEvent.js +15 -13
- package/dist/components/radio/UUIRadioEvent.js.map +1 -1
- package/dist/components/radio/UUIRadioGroupEvent.js +15 -13
- package/dist/components/radio/UUIRadioGroupEvent.js.map +1 -1
- package/dist/components/radio/radio-group.element.js +224 -279
- package/dist/components/radio/radio-group.element.js.map +1 -1
- package/dist/components/radio/radio.d.ts +0 -1
- package/dist/components/radio/radio.element.js +100 -123
- package/dist/components/radio/radio.element.js.map +1 -1
- package/dist/components/radio/radio.js +7 -10
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/range-slider/UUIRangeSliderEvent.js +18 -14
- package/dist/components/range-slider/UUIRangeSliderEvent.js.map +1 -1
- package/dist/components/range-slider/range-slider.d.ts +0 -1
- package/dist/components/range-slider/range-slider.element.js +439 -504
- package/dist/components/range-slider/range-slider.element.js.map +1 -1
- package/dist/components/range-slider/range-slider.js +6 -7
- package/dist/components/range-slider/range-slider.js.map +1 -1
- package/dist/components/ref/UUIRefEvent.js +9 -7
- package/dist/components/ref/UUIRefEvent.js.map +1 -1
- package/dist/components/ref/ref.d.ts +0 -1
- package/dist/components/ref/ref.element.js +55 -50
- package/dist/components/ref/ref.element.js.map +1 -1
- package/dist/components/ref/ref.js +6 -7
- package/dist/components/ref/ref.js.map +1 -1
- package/dist/components/ref-list/ref-list.d.ts +0 -1
- package/dist/components/ref-list/ref-list.element.js +17 -14
- package/dist/components/ref-list/ref-list.element.js.map +1 -1
- package/dist/components/ref-list/ref-list.js +5 -5
- package/dist/components/ref-list/ref-list.js.map +1 -1
- package/dist/components/ref-node/ref-node.d.ts +0 -1
- package/dist/components/ref-node/ref-node.element.js +91 -109
- package/dist/components/ref-node/ref-node.element.js.map +1 -1
- package/dist/components/ref-node/ref-node.js +5 -5
- package/dist/components/ref-node/ref-node.js.map +1 -1
- package/dist/components/ref-node-data-type/ref-node-data-type.d.ts +0 -1
- package/dist/components/ref-node-data-type/ref-node-data-type.element.js +30 -35
- package/dist/components/ref-node-data-type/ref-node-data-type.element.js.map +1 -1
- package/dist/components/ref-node-data-type/ref-node-data-type.js +5 -5
- package/dist/components/ref-node-data-type/ref-node-data-type.js.map +1 -1
- package/dist/components/ref-node-document-type/ref-node-document-type.d.ts +0 -1
- package/dist/components/ref-node-document-type/ref-node-document-type.element.js +30 -35
- package/dist/components/ref-node-document-type/ref-node-document-type.element.js.map +1 -1
- package/dist/components/ref-node-document-type/ref-node-document-type.js +5 -5
- package/dist/components/ref-node-document-type/ref-node-document-type.js.map +1 -1
- package/dist/components/ref-node-form/ref-node-form.d.ts +0 -1
- package/dist/components/ref-node-form/ref-node-form.element.js +21 -12
- package/dist/components/ref-node-form/ref-node-form.element.js.map +1 -1
- package/dist/components/ref-node-form/ref-node-form.js +5 -5
- package/dist/components/ref-node-form/ref-node-form.js.map +1 -1
- package/dist/components/ref-node-member/ref-node-member.d.ts +0 -1
- package/dist/components/ref-node-member/ref-node-member.element.js +33 -35
- package/dist/components/ref-node-member/ref-node-member.element.js.map +1 -1
- package/dist/components/ref-node-member/ref-node-member.js +5 -5
- package/dist/components/ref-node-member/ref-node-member.js.map +1 -1
- package/dist/components/ref-node-package/ref-node-package.d.ts +0 -1
- package/dist/components/ref-node-package/ref-node-package.element.js +33 -42
- package/dist/components/ref-node-package/ref-node-package.element.js.map +1 -1
- package/dist/components/ref-node-package/ref-node-package.js +5 -5
- package/dist/components/ref-node-package/ref-node-package.js.map +1 -1
- package/dist/components/ref-node-user/ref-node-user.d.ts +0 -1
- package/dist/components/ref-node-user/ref-node-user.element.js +33 -35
- package/dist/components/ref-node-user/ref-node-user.element.js.map +1 -1
- package/dist/components/ref-node-user/ref-node-user.js +5 -5
- package/dist/components/ref-node-user/ref-node-user.js.map +1 -1
- package/dist/components/responsive-container/responsive-container.d.ts +0 -1
- package/dist/components/responsive-container/responsive-container.element.js +186 -244
- package/dist/components/responsive-container/responsive-container.element.js.map +1 -1
- package/dist/components/responsive-container/responsive-container.js +5 -5
- package/dist/components/responsive-container/responsive-container.js.map +1 -1
- package/dist/components/scroll-container/scroll-container.d.ts +0 -1
- package/dist/components/scroll-container/scroll-container.element.js +35 -36
- package/dist/components/scroll-container/scroll-container.element.js.map +1 -1
- package/dist/components/scroll-container/scroll-container.js +5 -5
- package/dist/components/scroll-container/scroll-container.js.map +1 -1
- package/dist/components/select/UUISelectEvent.js +15 -13
- package/dist/components/select/UUISelectEvent.js.map +1 -1
- package/dist/components/select/select.d.ts +0 -1
- package/dist/components/select/select.element.js +134 -163
- package/dist/components/select/select.element.js.map +1 -1
- package/dist/components/select/select.js +6 -7
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/slider/UUISliderEvent.js +18 -14
- package/dist/components/slider/UUISliderEvent.js.map +1 -1
- package/dist/components/slider/native-input.styles.js +6 -5
- package/dist/components/slider/native-input.styles.js.map +1 -1
- package/dist/components/slider/slider.d.ts +0 -1
- package/dist/components/slider/slider.element.d.ts +7 -0
- package/dist/components/slider/slider.element.js +197 -227
- package/dist/components/slider/slider.element.js.map +1 -1
- package/dist/components/slider/slider.js +6 -7
- package/dist/components/slider/slider.js.map +1 -1
- package/dist/components/symbol-drag-handle/symbol-drag-handle.d.ts +0 -1
- package/dist/components/symbol-drag-handle/symbol-drag-handle.element.js +19 -16
- package/dist/components/symbol-drag-handle/symbol-drag-handle.element.js.map +1 -1
- package/dist/components/symbol-drag-handle/symbol-drag-handle.js +5 -5
- package/dist/components/symbol-drag-handle/symbol-drag-handle.js.map +1 -1
- package/dist/components/symbol-expand/symbol-expand.d.ts +0 -1
- package/dist/components/symbol-expand/symbol-expand.element.js +27 -30
- package/dist/components/symbol-expand/symbol-expand.element.js.map +1 -1
- package/dist/components/symbol-expand/symbol-expand.js +5 -5
- package/dist/components/symbol-expand/symbol-expand.js.map +1 -1
- package/dist/components/symbol-file/symbol-file.d.ts +0 -1
- package/dist/components/symbol-file/symbol-file.element.js +24 -32
- package/dist/components/symbol-file/symbol-file.element.js.map +1 -1
- package/dist/components/symbol-file/symbol-file.js +5 -5
- package/dist/components/symbol-file/symbol-file.js.map +1 -1
- package/dist/components/symbol-file-dropzone/symbol-file-dropzone.d.ts +0 -1
- package/dist/components/symbol-file-dropzone/symbol-file-dropzone.element.js +26 -30
- package/dist/components/symbol-file-dropzone/symbol-file-dropzone.element.js.map +1 -1
- package/dist/components/symbol-file-dropzone/symbol-file-dropzone.js +5 -5
- package/dist/components/symbol-file-dropzone/symbol-file-dropzone.js.map +1 -1
- package/dist/components/symbol-file-thumbnail/symbol-file-thumbnail.d.ts +0 -1
- package/dist/components/symbol-file-thumbnail/symbol-file-thumbnail.element.js +39 -95
- package/dist/components/symbol-file-thumbnail/symbol-file-thumbnail.element.js.map +1 -1
- package/dist/components/symbol-file-thumbnail/symbol-file-thumbnail.js +5 -5
- package/dist/components/symbol-file-thumbnail/symbol-file-thumbnail.js.map +1 -1
- package/dist/components/symbol-folder/symbol-folder.d.ts +0 -1
- package/dist/components/symbol-folder/symbol-folder.element.js +17 -14
- package/dist/components/symbol-folder/symbol-folder.element.js.map +1 -1
- package/dist/components/symbol-folder/symbol-folder.js +5 -5
- package/dist/components/symbol-folder/symbol-folder.js.map +1 -1
- package/dist/components/symbol-lock/symbol-lock.d.ts +0 -1
- package/dist/components/symbol-lock/symbol-lock.element.js +26 -30
- package/dist/components/symbol-lock/symbol-lock.element.js.map +1 -1
- package/dist/components/symbol-lock/symbol-lock.js +5 -5
- package/dist/components/symbol-lock/symbol-lock.js.map +1 -1
- package/dist/components/symbol-more/symbol-more.d.ts +0 -1
- package/dist/components/symbol-more/symbol-more.element.js +17 -14
- package/dist/components/symbol-more/symbol-more.element.js.map +1 -1
- package/dist/components/symbol-more/symbol-more.js +5 -5
- package/dist/components/symbol-more/symbol-more.js.map +1 -1
- package/dist/components/symbol-sort/symbol-sort.d.ts +0 -1
- package/dist/components/symbol-sort/symbol-sort.element.js +29 -31
- package/dist/components/symbol-sort/symbol-sort.element.js.map +1 -1
- package/dist/components/symbol-sort/symbol-sort.js +5 -5
- package/dist/components/symbol-sort/symbol-sort.js.map +1 -1
- package/dist/components/table/table-cell.element.js +65 -71
- package/dist/components/table/table-cell.element.js.map +1 -1
- package/dist/components/table/table-column.element.js +14 -10
- package/dist/components/table/table-column.element.js.map +1 -1
- package/dist/components/table/table-head-cell.element.js +19 -16
- package/dist/components/table/table-head-cell.element.js.map +1 -1
- package/dist/components/table/table-head.element.js +23 -18
- package/dist/components/table/table-head.element.js.map +1 -1
- package/dist/components/table/table-row.element.js +41 -52
- package/dist/components/table/table-row.element.js.map +1 -1
- package/dist/components/table/table.d.ts +0 -1
- package/dist/components/table/table.element.js +23 -19
- package/dist/components/table/table.element.js.map +1 -1
- package/dist/components/table/table.js +5 -10
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/tabs/UUITabEvent.js +6 -6
- package/dist/components/tabs/UUITabEvent.js.map +1 -1
- package/dist/components/tabs/UUITabGroupEvent.js +6 -6
- package/dist/components/tabs/UUITabGroupEvent.js.map +1 -1
- package/dist/components/tabs/tab-group.element.js +188 -251
- package/dist/components/tabs/tab-group.element.js.map +1 -1
- package/dist/components/tabs/tab.element.js +66 -56
- package/dist/components/tabs/tab.element.js.map +1 -1
- package/dist/components/tabs/tabs.d.ts +0 -1
- package/dist/components/tabs/tabs.js +7 -6
- package/dist/components/tabs/tabs.js.map +1 -1
- package/dist/components/tag/tag.d.ts +0 -1
- package/dist/components/tag/tag.element.js +32 -34
- package/dist/components/tag/tag.element.js.map +1 -1
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/tag/tag.js.map +1 -1
- package/dist/components/textarea/UUITextareaEvent.js +18 -14
- package/dist/components/textarea/UUITextareaEvent.js.map +1 -1
- package/dist/components/textarea/textarea.d.ts +0 -1
- package/dist/components/textarea/textarea.element.d.ts +2 -0
- package/dist/components/textarea/textarea.element.js +153 -180
- package/dist/components/textarea/textarea.element.js.map +1 -1
- package/dist/components/textarea/textarea.js +6 -7
- package/dist/components/textarea/textarea.js.map +1 -1
- package/dist/components/toast-notification/UUIToastNotificationEvent.js +18 -10
- package/dist/components/toast-notification/UUIToastNotificationEvent.js.map +1 -1
- package/dist/components/toast-notification/toast-notification.d.ts +0 -1
- package/dist/components/toast-notification/toast-notification.element.js +155 -224
- package/dist/components/toast-notification/toast-notification.element.js.map +1 -1
- package/dist/components/toast-notification/toast-notification.js +6 -7
- package/dist/components/toast-notification/toast-notification.js.map +1 -1
- package/dist/components/toast-notification-container/toast-notification-container.d.ts +0 -1
- package/dist/components/toast-notification-container/toast-notification-container.element.js +98 -122
- package/dist/components/toast-notification-container/toast-notification-container.element.js.map +1 -1
- package/dist/components/toast-notification-container/toast-notification-container.js +6 -9
- package/dist/components/toast-notification-container/toast-notification-container.js.map +1 -1
- package/dist/components/toast-notification-layout/toast-notification-layout.d.ts +0 -1
- package/dist/components/toast-notification-layout/toast-notification-layout.element.js +33 -39
- package/dist/components/toast-notification-layout/toast-notification-layout.element.js.map +1 -1
- package/dist/components/toast-notification-layout/toast-notification-layout.js +6 -9
- package/dist/components/toast-notification-layout/toast-notification-layout.js.map +1 -1
- package/dist/components/toggle/toggle.d.ts +0 -1
- package/dist/components/toggle/toggle.element.js +43 -54
- package/dist/components/toggle/toggle.element.js.map +1 -1
- package/dist/components/toggle/toggle.js +5 -5
- package/dist/components/toggle/toggle.js.map +1 -1
- package/dist/components/visually-hidden/visually-hidden.d.ts +0 -1
- package/dist/components/visually-hidden/visually-hidden.element.js +17 -14
- package/dist/components/visually-hidden/visually-hidden.element.js.map +1 -1
- package/dist/components/visually-hidden/visually-hidden.js +5 -5
- package/dist/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/index.js +115 -359
- package/dist/internal/animations/uui-blink.js +7 -7
- package/dist/internal/animations/uui-blink.js.map +1 -1
- package/dist/internal/animations/uui-pulse.js +7 -9
- package/dist/internal/animations/uui-pulse.js.map +1 -1
- package/dist/internal/animations/uui-shake.js +7 -9
- package/dist/internal/animations/uui-shake.js.map +1 -1
- package/dist/internal/events/UUIEvent.js +13 -9
- package/dist/internal/events/UUIEvent.js.map +1 -1
- package/dist/internal/events/UUIFormControlEvent.d.ts +2 -2
- package/dist/internal/events/UUIFormControlEvent.js +18 -14
- package/dist/internal/events/UUIFormControlEvent.js.map +1 -1
- package/dist/internal/events/UUISelectableEvent.js +19 -15
- package/dist/internal/events/UUISelectableEvent.js.map +1 -1
- package/dist/internal/mixins/ActiveMixin.js +24 -24
- package/dist/internal/mixins/ActiveMixin.js.map +1 -1
- package/dist/internal/mixins/FormControlMixin.d.ts +3 -3
- package/dist/internal/mixins/FormControlMixin.js +276 -339
- package/dist/internal/mixins/FormControlMixin.js.map +1 -1
- package/dist/internal/mixins/FormControlWithBasicsMixin.d.ts +19 -3
- package/dist/internal/mixins/FormControlWithBasicsMixin.js +54 -60
- package/dist/internal/mixins/FormControlWithBasicsMixin.js.map +1 -1
- package/dist/internal/mixins/LabelMixin.js +54 -57
- package/dist/internal/mixins/LabelMixin.js.map +1 -1
- package/dist/internal/mixins/PopoverTargetMixin.js +43 -47
- package/dist/internal/mixins/PopoverTargetMixin.js.map +1 -1
- package/dist/internal/mixins/SelectOnlyMixin.js +39 -33
- package/dist/internal/mixins/SelectOnlyMixin.js.map +1 -1
- package/dist/internal/mixins/SelectableMixin.js +109 -121
- package/dist/internal/mixins/SelectableMixin.js.map +1 -1
- package/dist/internal/registration/index.js +17 -20
- package/dist/internal/registration/index.js.map +1 -1
- package/dist/internal/types/InterfaceColor.js +11 -10
- package/dist/internal/types/InterfaceColor.js.map +1 -1
- package/dist/internal/types/InterfaceHeading.js +12 -11
- package/dist/internal/types/InterfaceHeading.js.map +1 -1
- package/dist/internal/types/InterfaceLook.js +11 -10
- package/dist/internal/types/InterfaceLook.js.map +1 -1
- package/dist/internal/utils/Timer.js +56 -61
- package/dist/internal/utils/Timer.js.map +1 -1
- package/dist/internal/utils/color.js +105 -74
- package/dist/internal/utils/color.js.map +1 -1
- package/dist/internal/utils/drag.js +27 -36
- package/dist/internal/utils/drag.js.map +1 -1
- package/dist/internal/utils/findAncestorByAttributeValue.js +22 -19
- package/dist/internal/utils/findAncestorByAttributeValue.js.map +1 -1
- package/dist/internal/utils/math.js +23 -13
- package/dist/internal/utils/math.js.map +1 -1
- package/dist/internal/utils/slotHasContent.js +6 -5
- package/dist/internal/utils/slotHasContent.js.map +1 -1
- package/dist/internal/version.js +10 -16
- package/dist/internal/version.js.map +1 -1
- package/dist/package.json.js +6 -5
- package/dist/package.json.js.map +1 -1
- package/dist/styles/uui-font.css +1 -1
- package/dist/styles/uui-text.css +1 -1
- package/dist/styles/uui-text.css.js +6 -5
- package/dist/styles/uui-text.css.js.map +1 -1
- package/dist/styles/uui-text.styles.js +7 -6
- package/dist/styles/uui-text.styles.js.map +1 -1
- package/dist/themes/dark.css +1 -1
- package/dist/themes/high-contrast.css +1 -1
- package/dist/themes/light.css +1 -1
- package/package.json +19 -18
- package/vscode.html-custom-data.json +36 -7
- package/dist/index.js.map +0 -1
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
UUIIconHost
|
|
1
|
+
//#region src/components/icon-registry/UUIIconHost.ts
|
|
2
|
+
var UUIIconHost = class {
|
|
3
|
+
constructor(svg) {
|
|
4
|
+
this.promise = new Promise((resolveMethod, rejectMethod) => {
|
|
5
|
+
this.resolve = resolveMethod;
|
|
6
|
+
this.reject = rejectMethod;
|
|
7
|
+
});
|
|
8
|
+
if (svg) this.resolve(svg);
|
|
9
|
+
}
|
|
10
|
+
set svg(svg) {
|
|
11
|
+
this.resolve(svg);
|
|
12
|
+
}
|
|
17
13
|
};
|
|
18
|
-
//#
|
|
14
|
+
//#endregion
|
|
15
|
+
export { UUIIconHost };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=UUIIconHost.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UUIIconHost.js","sources":["../../../src/components/icon-registry/UUIIconHost.ts"],"sourcesContent":["export class UUIIconHost {\n public readonly promise: Promise<string>;\n private readonly resolve!: (value: string) => void;\n public readonly reject!: (reason?: unknown) => void;\n\n constructor(svg?: string) {\n this.promise = new Promise<string>((resolveMethod, rejectMethod) => {\n (this as any).resolve = resolveMethod;\n (this as any).reject = rejectMethod;\n });\n\n if (svg) {\n this.resolve(svg);\n }\n }\n\n public set svg(svg: string) {\n this.resolve(svg);\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"UUIIconHost.js","names":[],"sources":["../../../src/components/icon-registry/UUIIconHost.ts"],"sourcesContent":["export class UUIIconHost {\n public readonly promise: Promise<string>;\n private readonly resolve!: (value: string) => void;\n public readonly reject!: (reason?: unknown) => void;\n\n constructor(svg?: string) {\n this.promise = new Promise<string>((resolveMethod, rejectMethod) => {\n (this as any).resolve = resolveMethod;\n (this as any).reject = rejectMethod;\n });\n\n if (svg) {\n this.resolve(svg);\n }\n }\n\n public set svg(svg: string) {\n this.resolve(svg);\n }\n}\n"],"mappings":";AAAA,IAAa,cAAb,MAAyB;CAKvB,YAAY,KAAc;EACxB,KAAK,UAAU,IAAI,SAAiB,eAAe,iBAAiB;GAClE,KAAc,UAAU;GACxB,KAAc,SAAS;EACzB,CAAC;EAED,IAAI,KACF,KAAK,QAAQ,GAAG;CAEpB;CAEA,IAAW,IAAI,KAAa;EAC1B,KAAK,QAAQ,GAAG;CAClB;AACF"}
|
|
@@ -1,80 +1,70 @@
|
|
|
1
1
|
import { UUIIconRequestEvent } from "../icon/UUIIconRequestEvent.js";
|
|
2
2
|
import { UUIIconHost } from "./UUIIconHost.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
* @param iconName
|
|
67
|
-
* @returns
|
|
68
|
-
*/
|
|
69
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
70
|
-
acceptIcon(_iconName) {
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
getIconNames() {
|
|
74
|
-
return Object.keys(this.icons);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
export {
|
|
78
|
-
UUIIconRegistry
|
|
3
|
+
//#region src/components/icon-registry/UUIIconRegistry.ts
|
|
4
|
+
var UUIIconRegistry = class {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.icons = {};
|
|
7
|
+
this._onIconRequest = (event) => {
|
|
8
|
+
const icon = this.getIcon(event.detail.iconName);
|
|
9
|
+
if (icon !== null) event.acceptRequest(icon);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Attach an element to provide this registry. Use detach when disconnected.
|
|
14
|
+
* @param {EventTarget} element the element of which to provide this icon-set.
|
|
15
|
+
*/
|
|
16
|
+
attach(element) {
|
|
17
|
+
element.addEventListener(UUIIconRequestEvent.ICON_REQUEST, this._onIconRequest);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Detach an element from providing this registry.
|
|
21
|
+
* @param {EventTarget} element the element of which to stop providing this icon-set.
|
|
22
|
+
*/
|
|
23
|
+
detach(element) {
|
|
24
|
+
element.removeEventListener(UUIIconRequestEvent.ICON_REQUEST, this._onIconRequest);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Define a icon to be served by this registry.
|
|
28
|
+
* @param {string} iconName the name to use for this icon.
|
|
29
|
+
* @param {string} svgString the svg source for this icon.
|
|
30
|
+
*/
|
|
31
|
+
defineIcon(iconName, svgString) {
|
|
32
|
+
if (this.icons[iconName]) {
|
|
33
|
+
this.icons[iconName].svg = svgString;
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
this.icons[iconName] = new UUIIconHost(svgString);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Retrieve the SVG source of an icon, Returns ´null´ if the name does not exist.
|
|
40
|
+
* @param {string} iconName the name of the icon to retrieve.
|
|
41
|
+
*/
|
|
42
|
+
getIcon(iconName) {
|
|
43
|
+
if (!!this.icons[iconName] || this.acceptIcon(iconName)) return this.icons[iconName].promise;
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Declare that this registry will be providing a icon for this name
|
|
48
|
+
* @param {string} iconName the name of the icon to be provided.
|
|
49
|
+
*/
|
|
50
|
+
provideIcon(iconName) {
|
|
51
|
+
const icon = new UUIIconHost();
|
|
52
|
+
this.icons[iconName] = icon;
|
|
53
|
+
return icon;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* extend this method to provide your own logic.
|
|
57
|
+
* @param iconName
|
|
58
|
+
* @returns
|
|
59
|
+
*/
|
|
60
|
+
acceptIcon(_iconName) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
getIconNames() {
|
|
64
|
+
return Object.keys(this.icons);
|
|
65
|
+
}
|
|
79
66
|
};
|
|
80
|
-
//#
|
|
67
|
+
//#endregion
|
|
68
|
+
export { UUIIconRegistry };
|
|
69
|
+
|
|
70
|
+
//# sourceMappingURL=UUIIconRegistry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UUIIconRegistry.js","sources":["../../../src/components/icon-registry/UUIIconRegistry.ts"],"sourcesContent":["import { UUIIconRequestEvent } from '../icon/UUIIconRequestEvent.js';\n\nimport { UUIIconHost } from './UUIIconHost.js';\n\nexport class UUIIconRegistry {\n private icons: Record<string, UUIIconHost> = {};\n\n /**\n * Attach an element to provide this registry. Use detach when disconnected.\n * @param {EventTarget} element the element of which to provide this icon-set.\n */\n public attach(element: EventTarget) {\n element.addEventListener(\n UUIIconRequestEvent.ICON_REQUEST,\n this._onIconRequest as EventListener,\n );\n }\n\n /**\n * Detach an element from providing this registry.\n * @param {EventTarget} element the element of which to stop providing this icon-set.\n */\n public detach(element: EventTarget) {\n element.removeEventListener(\n UUIIconRequestEvent.ICON_REQUEST,\n this._onIconRequest as EventListener,\n );\n }\n\n private readonly _onIconRequest = (event: UUIIconRequestEvent) => {\n const icon = this.getIcon(event.detail.iconName);\n if (icon !== null) {\n event.acceptRequest(icon);\n }\n };\n\n /**\n * Define a icon to be served by this registry.\n * @param {string} iconName the name to use for this icon.\n * @param {string} svgString the svg source for this icon.\n */\n public defineIcon(iconName: string, svgString: string) {\n if (this.icons[iconName]) {\n this.icons[iconName].svg = svgString;\n return;\n }\n this.icons[iconName] = new UUIIconHost(svgString);\n }\n\n /**\n * Retrieve the SVG source of an icon, Returns ´null´ if the name does not exist.\n * @param {string} iconName the name of the icon to retrieve.\n */\n public getIcon(iconName: string): Promise<string> | null {\n if (!!this.icons[iconName] || this.acceptIcon(iconName)) {\n return this.icons[iconName].promise;\n }\n return null;\n }\n\n /**\n * Declare that this registry will be providing a icon for this name\n * @param {string} iconName the name of the icon to be provided.\n */\n protected provideIcon(iconName: string): UUIIconHost {\n const icon = new UUIIconHost();\n this.icons[iconName] = icon;\n return icon;\n }\n\n /**\n * extend this method to provide your own logic.\n * @param iconName\n * @returns\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n protected acceptIcon(_iconName: string): boolean {\n return false;\n }\n\n public getIconNames(): string[] {\n return Object.keys(this.icons);\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"UUIIconRegistry.js","names":[],"sources":["../../../src/components/icon-registry/UUIIconRegistry.ts"],"sourcesContent":["import { UUIIconRequestEvent } from '../icon/UUIIconRequestEvent.js';\n\nimport { UUIIconHost } from './UUIIconHost.js';\n\nexport class UUIIconRegistry {\n private icons: Record<string, UUIIconHost> = {};\n\n /**\n * Attach an element to provide this registry. Use detach when disconnected.\n * @param {EventTarget} element the element of which to provide this icon-set.\n */\n public attach(element: EventTarget) {\n element.addEventListener(\n UUIIconRequestEvent.ICON_REQUEST,\n this._onIconRequest as EventListener,\n );\n }\n\n /**\n * Detach an element from providing this registry.\n * @param {EventTarget} element the element of which to stop providing this icon-set.\n */\n public detach(element: EventTarget) {\n element.removeEventListener(\n UUIIconRequestEvent.ICON_REQUEST,\n this._onIconRequest as EventListener,\n );\n }\n\n private readonly _onIconRequest = (event: UUIIconRequestEvent) => {\n const icon = this.getIcon(event.detail.iconName);\n if (icon !== null) {\n event.acceptRequest(icon);\n }\n };\n\n /**\n * Define a icon to be served by this registry.\n * @param {string} iconName the name to use for this icon.\n * @param {string} svgString the svg source for this icon.\n */\n public defineIcon(iconName: string, svgString: string) {\n if (this.icons[iconName]) {\n this.icons[iconName].svg = svgString;\n return;\n }\n this.icons[iconName] = new UUIIconHost(svgString);\n }\n\n /**\n * Retrieve the SVG source of an icon, Returns ´null´ if the name does not exist.\n * @param {string} iconName the name of the icon to retrieve.\n */\n public getIcon(iconName: string): Promise<string> | null {\n if (!!this.icons[iconName] || this.acceptIcon(iconName)) {\n return this.icons[iconName].promise;\n }\n return null;\n }\n\n /**\n * Declare that this registry will be providing a icon for this name\n * @param {string} iconName the name of the icon to be provided.\n */\n protected provideIcon(iconName: string): UUIIconHost {\n const icon = new UUIIconHost();\n this.icons[iconName] = icon;\n return icon;\n }\n\n /**\n * extend this method to provide your own logic.\n * @param iconName\n * @returns\n */\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n protected acceptIcon(_iconName: string): boolean {\n return false;\n }\n\n public getIconNames(): string[] {\n return Object.keys(this.icons);\n }\n}\n"],"mappings":";;;AAIA,IAAa,kBAAb,MAA6B;;eACkB,CAAC;yBAwBX,UAA+B;GAChE,MAAM,OAAO,KAAK,QAAQ,MAAM,OAAO,QAAQ;GAC/C,IAAI,SAAS,MACX,MAAM,cAAc,IAAI;EAE5B;;;;;;CAvBA,OAAc,SAAsB;EAClC,QAAQ,iBACN,oBAAoB,cACpB,KAAK,cACP;CACF;;;;;CAMA,OAAc,SAAsB;EAClC,QAAQ,oBACN,oBAAoB,cACpB,KAAK,cACP;CACF;;;;;;CAcA,WAAkB,UAAkB,WAAmB;EACrD,IAAI,KAAK,MAAM,WAAW;GACxB,KAAK,MAAM,SAAS,CAAC,MAAM;GAC3B;EACF;EACA,KAAK,MAAM,YAAY,IAAI,YAAY,SAAS;CAClD;;;;;CAMA,QAAe,UAA0C;EACvD,IAAI,CAAC,CAAC,KAAK,MAAM,aAAa,KAAK,WAAW,QAAQ,GACpD,OAAO,KAAK,MAAM,SAAS,CAAC;EAE9B,OAAO;CACT;;;;;CAMA,YAAsB,UAA+B;EACnD,MAAM,OAAO,IAAI,YAAY;EAC7B,KAAK,MAAM,YAAY;EACvB,OAAO;CACT;;;;;;CAQA,WAAqB,WAA4B;EAC/C,OAAO;CACT;CAEA,eAAgC;EAC9B,OAAO,OAAO,KAAK,KAAK,KAAK;CAC/B;AACF"}
|
|
@@ -1,51 +1,42 @@
|
|
|
1
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.138.0/helpers/esm/decorate.js";
|
|
2
|
+
import { UUIIconRegistry } from "./UUIIconRegistry.js";
|
|
1
3
|
import { LitElement, html } from "lit";
|
|
2
4
|
import { property } from "lit/decorators.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
if (this.registry) {
|
|
36
|
-
this.registry.detach(this);
|
|
37
|
-
}
|
|
38
|
-
newRegistry.attach(this);
|
|
39
|
-
this._registry = newRegistry;
|
|
40
|
-
}
|
|
41
|
-
render() {
|
|
42
|
-
return html`<slot></slot>`;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
__decorateClass([
|
|
46
|
-
property({ attribute: false })
|
|
47
|
-
], UUIIconRegistryElement.prototype, "_icons");
|
|
48
|
-
export {
|
|
49
|
-
UUIIconRegistryElement
|
|
5
|
+
//#region src/components/icon-registry/icon-registry.element.ts
|
|
6
|
+
/**
|
|
7
|
+
* @element uui-icon-registry
|
|
8
|
+
* @description - Icon Registry component delivers icons for any child of this component.
|
|
9
|
+
* The UUIIconRegistryElement holds an empty registry of which icons can be added to.
|
|
10
|
+
* @see UUIIconRegistryEssentialElement for a registry of the most essential icons.
|
|
11
|
+
*/
|
|
12
|
+
var UUIIconRegistryElement = class extends LitElement {
|
|
13
|
+
get icons() {
|
|
14
|
+
return this._icons;
|
|
15
|
+
}
|
|
16
|
+
set icons(icons) {
|
|
17
|
+
this._icons = icons;
|
|
18
|
+
if (this._registry) Object.entries(this._icons).forEach(([key, value]) => this._registry.defineIcon(key, value));
|
|
19
|
+
}
|
|
20
|
+
get registry() {
|
|
21
|
+
return this._registry;
|
|
22
|
+
}
|
|
23
|
+
set registry(newRegistry) {
|
|
24
|
+
if (this.registry) this.registry.detach(this);
|
|
25
|
+
newRegistry.attach(this);
|
|
26
|
+
this._registry = newRegistry;
|
|
27
|
+
}
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
this._icons = {};
|
|
31
|
+
this._registry = new UUIIconRegistry();
|
|
32
|
+
this._registry.attach(this);
|
|
33
|
+
}
|
|
34
|
+
render() {
|
|
35
|
+
return html`<slot></slot>`;
|
|
36
|
+
}
|
|
50
37
|
};
|
|
51
|
-
|
|
38
|
+
__decorate([property({ attribute: false })], UUIIconRegistryElement.prototype, "_icons", void 0);
|
|
39
|
+
//#endregion
|
|
40
|
+
export { UUIIconRegistryElement };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=icon-registry.element.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-registry.element.js","sources":["../../../src/components/icon-registry/icon-registry.element.ts"],"sourcesContent":["import { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { UUIIconRegistry } from './UUIIconRegistry.js';\n\n/**\n * @element uui-icon-registry\n * @description - Icon Registry component delivers icons for any child of this component.\n * The UUIIconRegistryElement holds an empty registry of which icons can be added to.\n * @see UUIIconRegistryEssentialElement for a registry of the most essential icons.\n */\nexport class UUIIconRegistryElement extends LitElement {\n /**\n * Provide a Dictionary/Record/Object where key is the icon name and the value is the SVGs to define in the icon registry.\n * @type {Record<string, string>}\n * @default {}\n */\n @property({ attribute: false })\n private _icons: Record<string, string> = {};\n get icons() {\n return this._icons;\n }\n set icons(icons) {\n this._icons = icons;\n if (this._registry) {\n Object.entries(this._icons).forEach(([key, value]) =>\n this._registry.defineIcon(key, value),\n );\n }\n }\n\n private _registry: UUIIconRegistry = new UUIIconRegistry();\n\n public get registry(): UUIIconRegistry {\n return this._registry;\n }\n public set registry(newRegistry: UUIIconRegistry) {\n if (this.registry) {\n this.registry.detach(this);\n }\n newRegistry.attach(this);\n this._registry = newRegistry;\n }\n\n constructor() {\n super();\n this._registry.attach(this);\n }\n\n render() {\n return html`<slot></slot>`;\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"icon-registry.element.js","names":[],"sources":["../../../src/components/icon-registry/icon-registry.element.ts"],"sourcesContent":["import { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { UUIIconRegistry } from './UUIIconRegistry.js';\n\n/**\n * @element uui-icon-registry\n * @description - Icon Registry component delivers icons for any child of this component.\n * The UUIIconRegistryElement holds an empty registry of which icons can be added to.\n * @see UUIIconRegistryEssentialElement for a registry of the most essential icons.\n */\nexport class UUIIconRegistryElement extends LitElement {\n /**\n * Provide a Dictionary/Record/Object where key is the icon name and the value is the SVGs to define in the icon registry.\n * @type {Record<string, string>}\n * @default {}\n */\n @property({ attribute: false })\n private _icons: Record<string, string> = {};\n get icons() {\n return this._icons;\n }\n set icons(icons) {\n this._icons = icons;\n if (this._registry) {\n Object.entries(this._icons).forEach(([key, value]) =>\n this._registry.defineIcon(key, value),\n );\n }\n }\n\n private _registry: UUIIconRegistry = new UUIIconRegistry();\n\n public get registry(): UUIIconRegistry {\n return this._registry;\n }\n public set registry(newRegistry: UUIIconRegistry) {\n if (this.registry) {\n this.registry.detach(this);\n }\n newRegistry.attach(this);\n this._registry = newRegistry;\n }\n\n constructor() {\n super();\n this._registry.attach(this);\n }\n\n render() {\n return html`<slot></slot>`;\n }\n}\n"],"mappings":";;;;;;;;;;;AAUA,IAAa,yBAAb,cAA4C,WAAW;CAQrD,IAAI,QAAQ;EACV,OAAO,KAAK;CACd;CACA,IAAI,MAAM,OAAO;EACf,KAAK,SAAS;EACd,IAAI,KAAK,WACP,OAAO,QAAQ,KAAK,MAAM,CAAC,CAAC,SAAS,CAAC,KAAK,WACzC,KAAK,UAAU,WAAW,KAAK,KAAK,CACtC;CAEJ;CAIA,IAAW,WAA4B;EACrC,OAAO,KAAK;CACd;CACA,IAAW,SAAS,aAA8B;EAChD,IAAI,KAAK,UACP,KAAK,SAAS,OAAO,IAAI;EAE3B,YAAY,OAAO,IAAI;EACvB,KAAK,YAAY;CACnB;CAEA,cAAc;EACZ,MAAM;gBA3BiC,CAAC;mBAaL,IAAI,gBAAgB;EAevD,KAAK,UAAU,OAAO,IAAI;CAC5B;CAEA,SAAS;EACP,OAAO,IAAI;CACb;AACF;YAnCG,SAAS,EAAE,WAAW,MAAM,CAAC,CAAA,GAAA,uBAAA,WAAA,UAAA,KAAA,CAAA"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { defineElement } from "../../internal/registration/index.js";
|
|
2
|
+
import { UUIIconHost } from "./UUIIconHost.js";
|
|
3
|
+
import { UUIIconRegistry } from "./UUIIconRegistry.js";
|
|
2
4
|
import { UUIIconRegistryElement } from "./icon-registry.element.js";
|
|
3
|
-
|
|
5
|
+
//#region src/components/icon-registry/icon-registry.ts
|
|
4
6
|
defineElement("uui-icon-registry", UUIIconRegistryElement);
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=icon-registry.js.map
|
|
7
|
+
//#endregion
|
|
8
|
+
export { UUIIconHost, UUIIconRegistry, UUIIconRegistryElement };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=icon-registry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-registry.js","sources":["../../../src/components/icon-registry/icon-registry.ts"],"sourcesContent":["import { defineElement } from '../../internal/registration/index.js';\nimport { UUIIconRegistryElement } from './icon-registry.element.js';\n\ndefineElement('uui-icon-registry', UUIIconRegistryElement);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'uui-icon-registry': UUIIconRegistryElement;\n }\n}\n\nexport * from './icon-registry.element.js';\nexport * from './UUIIconHost.js';\nexport * from './UUIIconRegistry.js';\
|
|
1
|
+
{"version":3,"file":"icon-registry.js","names":[],"sources":["../../../src/components/icon-registry/icon-registry.ts"],"sourcesContent":["import { defineElement } from '../../internal/registration/index.js';\nimport { UUIIconRegistryElement } from './icon-registry.element.js';\n\ndefineElement('uui-icon-registry', UUIIconRegistryElement);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'uui-icon-registry': UUIIconRegistryElement;\n }\n}\n\nexport * from './icon-registry.element.js';\nexport * from './UUIIconHost.js';\nexport * from './UUIIconRegistry.js';\n"],"mappings":";;;;;AAGA,cAAc,qBAAqB,sBAAsB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { UUIIconRegistry } from "../icon-registry/UUIIconRegistry.js";
|
|
2
1
|
import { iconAdd } from "./svgs/iconAdd.js";
|
|
3
2
|
import { iconAlert } from "./svgs/iconAlert.js";
|
|
4
3
|
import { iconAttachment } from "./svgs/iconAttachment.js";
|
|
@@ -32,45 +31,48 @@ import { iconUnlock } from "./svgs/iconUnlock.js";
|
|
|
32
31
|
import { iconUnsee } from "./svgs/iconUnsee.js";
|
|
33
32
|
import { iconWand } from "./svgs/iconWand.js";
|
|
34
33
|
import { iconWrong } from "./svgs/iconWrong.js";
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
34
|
+
import "./svgs/index.js";
|
|
35
|
+
import { UUIIconRegistry } from "../icon-registry/UUIIconRegistry.js";
|
|
36
|
+
//#region src/components/icon-registry-essential/UUIIconRegistryEssential.ts
|
|
37
|
+
var UUIIconRegistryEssential = class extends UUIIconRegistry {
|
|
38
|
+
constructor() {
|
|
39
|
+
super();
|
|
40
|
+
this.defineIcon("add", iconAdd.strings[0]);
|
|
41
|
+
this.defineIcon("alert", iconAlert.strings[0]);
|
|
42
|
+
this.defineIcon("attachment", iconAttachment.strings[0]);
|
|
43
|
+
this.defineIcon("calendar", iconCalendar.strings[0]);
|
|
44
|
+
this.defineIcon("check", iconCheck.strings[0]);
|
|
45
|
+
this.defineIcon("clipboard", iconClipboard.strings[0]);
|
|
46
|
+
this.defineIcon("code", iconCode.strings[0]);
|
|
47
|
+
this.defineIcon("colorpicker", iconColorPicker.strings[0]);
|
|
48
|
+
this.defineIcon("copy", iconCopy.strings[0]);
|
|
49
|
+
this.defineIcon("delete", iconDelete.strings[0]);
|
|
50
|
+
this.defineIcon("document", iconDocument.strings[0]);
|
|
51
|
+
this.defineIcon("download", iconDownload.strings[0]);
|
|
52
|
+
this.defineIcon("drag", iconDrag.strings[0]);
|
|
53
|
+
this.defineIcon("edit", iconEdit.strings[0]);
|
|
54
|
+
this.defineIcon("favorite", iconFavorite.strings[0]);
|
|
55
|
+
this.defineIcon("folder", iconFolder.strings[0]);
|
|
56
|
+
this.defineIcon("forbidden", iconForbidden.strings[0]);
|
|
57
|
+
this.defineIcon("info", iconInfo.strings[0]);
|
|
58
|
+
this.defineIcon("link", iconLink.strings[0]);
|
|
59
|
+
this.defineIcon("lock", iconLock.strings[0]);
|
|
60
|
+
this.defineIcon("pause", iconPause.strings[0]);
|
|
61
|
+
this.defineIcon("picture", iconPicture.strings[0]);
|
|
62
|
+
this.defineIcon("play", iconPlay.strings[0]);
|
|
63
|
+
this.defineIcon("remove", iconRemove.strings[0]);
|
|
64
|
+
this.defineIcon("search", iconSearch.strings[0]);
|
|
65
|
+
this.defineIcon("see", iconSee.strings[0]);
|
|
66
|
+
this.defineIcon("settings", iconSettings.strings[0]);
|
|
67
|
+
this.defineIcon("subtract", iconSubtract.strings[0]);
|
|
68
|
+
this.defineIcon("sync", iconSync.strings[0]);
|
|
69
|
+
this.defineIcon("unlock", iconUnlock.strings[0]);
|
|
70
|
+
this.defineIcon("unsee", iconUnsee.strings[0]);
|
|
71
|
+
this.defineIcon("wand", iconWand.strings[0]);
|
|
72
|
+
this.defineIcon("wrong", iconWrong.strings[0]);
|
|
73
|
+
}
|
|
75
74
|
};
|
|
76
|
-
//#
|
|
75
|
+
//#endregion
|
|
76
|
+
export { UUIIconRegistryEssential };
|
|
77
|
+
|
|
78
|
+
//# sourceMappingURL=UUIIconRegistryEssential.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UUIIconRegistryEssential.js","sources":["../../../src/components/icon-registry-essential/UUIIconRegistryEssential.ts"],"sourcesContent":["import { UUIIconRegistry } from '../icon-registry/UUIIconRegistry.js';\n\nimport {\n iconAdd,\n iconAlert,\n iconAttachment,\n iconCalendar,\n iconCheck,\n iconClipboard,\n iconCode,\n iconColorPicker,\n iconCopy,\n iconDelete,\n iconDocument,\n iconDownload,\n iconEdit,\n iconFavorite,\n iconFolder,\n iconForbidden,\n iconDrag,\n iconInfo,\n iconLink,\n iconLock,\n iconPause,\n iconPicture,\n iconPlay,\n iconRemove,\n iconSearch,\n iconSee,\n iconSettings,\n iconSubtract,\n iconSync,\n iconUnlock,\n iconUnsee,\n iconWand,\n iconWrong,\n} from './svgs/index.js';\n\nexport class UUIIconRegistryEssential extends UUIIconRegistry {\n constructor() {\n super();\n\n this.defineIcon('add', iconAdd.strings[0]);\n this.defineIcon('alert', iconAlert.strings[0]);\n this.defineIcon('attachment', iconAttachment.strings[0]);\n this.defineIcon('calendar', iconCalendar.strings[0]);\n this.defineIcon('check', iconCheck.strings[0]);\n this.defineIcon('clipboard', iconClipboard.strings[0]);\n this.defineIcon('code', iconCode.strings[0]);\n this.defineIcon('colorpicker', iconColorPicker.strings[0]);\n this.defineIcon('copy', iconCopy.strings[0]);\n this.defineIcon('delete', iconDelete.strings[0]);\n this.defineIcon('document', iconDocument.strings[0]);\n this.defineIcon('download', iconDownload.strings[0]);\n this.defineIcon('drag', iconDrag.strings[0]);\n this.defineIcon('edit', iconEdit.strings[0]);\n this.defineIcon('favorite', iconFavorite.strings[0]);\n this.defineIcon('folder', iconFolder.strings[0]);\n this.defineIcon('forbidden', iconForbidden.strings[0]);\n this.defineIcon('info', iconInfo.strings[0]);\n this.defineIcon('link', iconLink.strings[0]);\n this.defineIcon('lock', iconLock.strings[0]);\n this.defineIcon('pause', iconPause.strings[0]);\n this.defineIcon('picture', iconPicture.strings[0]);\n this.defineIcon('play', iconPlay.strings[0]);\n this.defineIcon('remove', iconRemove.strings[0]);\n this.defineIcon('search', iconSearch.strings[0]);\n this.defineIcon('see', iconSee.strings[0]);\n this.defineIcon('settings', iconSettings.strings[0]);\n this.defineIcon('subtract', iconSubtract.strings[0]);\n this.defineIcon('sync', iconSync.strings[0]);\n this.defineIcon('unlock', iconUnlock.strings[0]);\n this.defineIcon('unsee', iconUnsee.strings[0]);\n this.defineIcon('wand', iconWand.strings[0]);\n this.defineIcon('wrong', iconWrong.strings[0]);\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"UUIIconRegistryEssential.js","names":[],"sources":["../../../src/components/icon-registry-essential/UUIIconRegistryEssential.ts"],"sourcesContent":["import { UUIIconRegistry } from '../icon-registry/UUIIconRegistry.js';\n\nimport {\n iconAdd,\n iconAlert,\n iconAttachment,\n iconCalendar,\n iconCheck,\n iconClipboard,\n iconCode,\n iconColorPicker,\n iconCopy,\n iconDelete,\n iconDocument,\n iconDownload,\n iconEdit,\n iconFavorite,\n iconFolder,\n iconForbidden,\n iconDrag,\n iconInfo,\n iconLink,\n iconLock,\n iconPause,\n iconPicture,\n iconPlay,\n iconRemove,\n iconSearch,\n iconSee,\n iconSettings,\n iconSubtract,\n iconSync,\n iconUnlock,\n iconUnsee,\n iconWand,\n iconWrong,\n} from './svgs/index.js';\n\nexport class UUIIconRegistryEssential extends UUIIconRegistry {\n constructor() {\n super();\n\n this.defineIcon('add', iconAdd.strings[0]);\n this.defineIcon('alert', iconAlert.strings[0]);\n this.defineIcon('attachment', iconAttachment.strings[0]);\n this.defineIcon('calendar', iconCalendar.strings[0]);\n this.defineIcon('check', iconCheck.strings[0]);\n this.defineIcon('clipboard', iconClipboard.strings[0]);\n this.defineIcon('code', iconCode.strings[0]);\n this.defineIcon('colorpicker', iconColorPicker.strings[0]);\n this.defineIcon('copy', iconCopy.strings[0]);\n this.defineIcon('delete', iconDelete.strings[0]);\n this.defineIcon('document', iconDocument.strings[0]);\n this.defineIcon('download', iconDownload.strings[0]);\n this.defineIcon('drag', iconDrag.strings[0]);\n this.defineIcon('edit', iconEdit.strings[0]);\n this.defineIcon('favorite', iconFavorite.strings[0]);\n this.defineIcon('folder', iconFolder.strings[0]);\n this.defineIcon('forbidden', iconForbidden.strings[0]);\n this.defineIcon('info', iconInfo.strings[0]);\n this.defineIcon('link', iconLink.strings[0]);\n this.defineIcon('lock', iconLock.strings[0]);\n this.defineIcon('pause', iconPause.strings[0]);\n this.defineIcon('picture', iconPicture.strings[0]);\n this.defineIcon('play', iconPlay.strings[0]);\n this.defineIcon('remove', iconRemove.strings[0]);\n this.defineIcon('search', iconSearch.strings[0]);\n this.defineIcon('see', iconSee.strings[0]);\n this.defineIcon('settings', iconSettings.strings[0]);\n this.defineIcon('subtract', iconSubtract.strings[0]);\n this.defineIcon('sync', iconSync.strings[0]);\n this.defineIcon('unlock', iconUnlock.strings[0]);\n this.defineIcon('unsee', iconUnsee.strings[0]);\n this.defineIcon('wand', iconWand.strings[0]);\n this.defineIcon('wrong', iconWrong.strings[0]);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,IAAa,2BAAb,cAA8C,gBAAgB;CAC5D,cAAc;EACZ,MAAM;EAEN,KAAK,WAAW,OAAO,QAAQ,QAAQ,EAAE;EACzC,KAAK,WAAW,SAAS,UAAU,QAAQ,EAAE;EAC7C,KAAK,WAAW,cAAc,eAAe,QAAQ,EAAE;EACvD,KAAK,WAAW,YAAY,aAAa,QAAQ,EAAE;EACnD,KAAK,WAAW,SAAS,UAAU,QAAQ,EAAE;EAC7C,KAAK,WAAW,aAAa,cAAc,QAAQ,EAAE;EACrD,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,eAAe,gBAAgB,QAAQ,EAAE;EACzD,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,UAAU,WAAW,QAAQ,EAAE;EAC/C,KAAK,WAAW,YAAY,aAAa,QAAQ,EAAE;EACnD,KAAK,WAAW,YAAY,aAAa,QAAQ,EAAE;EACnD,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,YAAY,aAAa,QAAQ,EAAE;EACnD,KAAK,WAAW,UAAU,WAAW,QAAQ,EAAE;EAC/C,KAAK,WAAW,aAAa,cAAc,QAAQ,EAAE;EACrD,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,SAAS,UAAU,QAAQ,EAAE;EAC7C,KAAK,WAAW,WAAW,YAAY,QAAQ,EAAE;EACjD,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,UAAU,WAAW,QAAQ,EAAE;EAC/C,KAAK,WAAW,UAAU,WAAW,QAAQ,EAAE;EAC/C,KAAK,WAAW,OAAO,QAAQ,QAAQ,EAAE;EACzC,KAAK,WAAW,YAAY,aAAa,QAAQ,EAAE;EACnD,KAAK,WAAW,YAAY,aAAa,QAAQ,EAAE;EACnD,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,UAAU,WAAW,QAAQ,EAAE;EAC/C,KAAK,WAAW,SAAS,UAAU,QAAQ,EAAE;EAC7C,KAAK,WAAW,QAAQ,SAAS,QAAQ,EAAE;EAC3C,KAAK,WAAW,SAAS,UAAU,QAAQ,EAAE;CAC/C;AACF"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { UUIIconRegistryElement } from "../icon-registry/icon-registry.element.js";
|
|
2
2
|
import { UUIIconRegistryEssential } from "./UUIIconRegistryEssential.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
//#region src/components/icon-registry-essential/icon-registry-essential.element.ts
|
|
4
|
+
/**
|
|
5
|
+
* @element uui-icon-registry-essential
|
|
6
|
+
* @description - Essential Icon Registry of Umbraco UI Library. This component delivers essential Umbraco UI icons for any child of this component.
|
|
7
|
+
* @see UUIIconRegistryElement.
|
|
8
|
+
*/
|
|
9
|
+
var UUIIconRegistryEssentialElement = class extends UUIIconRegistryElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.registry = new UUIIconRegistryEssential();
|
|
13
|
+
}
|
|
11
14
|
};
|
|
12
|
-
//#
|
|
15
|
+
//#endregion
|
|
16
|
+
export { UUIIconRegistryEssentialElement };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=icon-registry-essential.element.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-registry-essential.element.js","sources":["../../../src/components/icon-registry-essential/icon-registry-essential.element.ts"],"sourcesContent":["import { UUIIconRegistryElement } from '../icon-registry/icon-registry.element.js';\nimport { UUIIconRegistryEssential } from './UUIIconRegistryEssential.js';\n\n/**\n * @element uui-icon-registry-essential\n * @description - Essential Icon Registry of Umbraco UI Library. This component delivers essential Umbraco UI icons for any child of this component.\n * @see UUIIconRegistryElement.\n */\nexport class UUIIconRegistryEssentialElement extends UUIIconRegistryElement {\n constructor() {\n super();\n this.registry = new UUIIconRegistryEssential();\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"icon-registry-essential.element.js","names":[],"sources":["../../../src/components/icon-registry-essential/icon-registry-essential.element.ts"],"sourcesContent":["import { UUIIconRegistryElement } from '../icon-registry/icon-registry.element.js';\nimport { UUIIconRegistryEssential } from './UUIIconRegistryEssential.js';\n\n/**\n * @element uui-icon-registry-essential\n * @description - Essential Icon Registry of Umbraco UI Library. This component delivers essential Umbraco UI icons for any child of this component.\n * @see UUIIconRegistryElement.\n */\nexport class UUIIconRegistryEssentialElement extends UUIIconRegistryElement {\n constructor() {\n super();\n this.registry = new UUIIconRegistryEssential();\n }\n}\n"],"mappings":";;;;;;;;AAQA,IAAa,kCAAb,cAAqD,uBAAuB;CAC1E,cAAc;EACZ,MAAM;EACN,KAAK,WAAW,IAAI,yBAAyB;CAC/C;AACF"}
|
|
@@ -1,42 +1,9 @@
|
|
|
1
1
|
import { defineElement } from "../../internal/registration/index.js";
|
|
2
|
+
import { UUIIconRegistryEssential } from "./UUIIconRegistryEssential.js";
|
|
2
3
|
import { UUIIconRegistryEssentialElement } from "./icon-registry-essential.element.js";
|
|
3
|
-
|
|
4
|
-
import "./svgs/iconAdd.js";
|
|
5
|
-
import "./svgs/iconAlert.js";
|
|
6
|
-
import "./svgs/iconAttachment.js";
|
|
7
|
-
import "./svgs/iconCalendar.js";
|
|
8
|
-
import "./svgs/iconCheck.js";
|
|
9
|
-
import "./svgs/iconClipboard.js";
|
|
10
|
-
import "./svgs/iconCode.js";
|
|
11
|
-
import "./svgs/iconColorPicker.js";
|
|
12
|
-
import "./svgs/iconCopy.js";
|
|
13
|
-
import "./svgs/iconDelete.js";
|
|
14
|
-
import "./svgs/iconDocument.js";
|
|
15
|
-
import "./svgs/iconDownload.js";
|
|
16
|
-
import "./svgs/iconDrag.js";
|
|
17
|
-
import "./svgs/iconEdit.js";
|
|
18
|
-
import "./svgs/iconFavorite.js";
|
|
19
|
-
import "./svgs/iconFolder.js";
|
|
20
|
-
import "./svgs/iconForbidden.js";
|
|
21
|
-
import "./svgs/iconInfo.js";
|
|
22
|
-
import "./svgs/iconLink.js";
|
|
23
|
-
import "./svgs/iconLock.js";
|
|
24
|
-
import "./svgs/iconPause.js";
|
|
25
|
-
import "./svgs/iconPicture.js";
|
|
26
|
-
import "./svgs/iconPlay.js";
|
|
27
|
-
import "./svgs/iconRemove.js";
|
|
28
|
-
import "./svgs/iconSearch.js";
|
|
29
|
-
import "./svgs/iconSee.js";
|
|
30
|
-
import "./svgs/iconSettings.js";
|
|
31
|
-
import "./svgs/iconSubtract.js";
|
|
32
|
-
import "./svgs/iconSync.js";
|
|
33
|
-
import "./svgs/iconUnlock.js";
|
|
34
|
-
import "./svgs/iconUnsee.js";
|
|
35
|
-
import "./svgs/iconWand.js";
|
|
36
|
-
import "./svgs/iconWrong.js";
|
|
4
|
+
//#region src/components/icon-registry-essential/icon-registry-essential.ts
|
|
37
5
|
defineElement("uui-icon-registry-essential", UUIIconRegistryEssentialElement);
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
//# sourceMappingURL=icon-registry-essential.js.map
|
|
6
|
+
//#endregion
|
|
7
|
+
export { UUIIconRegistryEssential, UUIIconRegistryEssentialElement };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=icon-registry-essential.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-registry-essential.js","sources":["../../../src/components/icon-registry-essential/icon-registry-essential.ts"],"sourcesContent":["import { defineElement } from '../../internal/registration/index.js';\nimport { UUIIconRegistryEssentialElement } from './icon-registry-essential.element.js';\n\ndefineElement('uui-icon-registry-essential', UUIIconRegistryEssentialElement);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'uui-icon-registry-essential': UUIIconRegistryEssentialElement;\n }\n}\n\nexport * from './icon-registry-essential.element.js';\nexport * from './UUIIconRegistryEssential.js';\
|
|
1
|
+
{"version":3,"file":"icon-registry-essential.js","names":[],"sources":["../../../src/components/icon-registry-essential/icon-registry-essential.ts"],"sourcesContent":["import { defineElement } from '../../internal/registration/index.js';\nimport { UUIIconRegistryEssentialElement } from './icon-registry-essential.element.js';\n\ndefineElement('uui-icon-registry-essential', UUIIconRegistryEssentialElement);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'uui-icon-registry-essential': UUIIconRegistryEssentialElement;\n }\n}\n\nexport * from './icon-registry-essential.element.js';\nexport * from './UUIIconRegistryEssential.js';\n"],"mappings":";;;;AAGA,cAAc,+BAA+B,+BAA+B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { svg } from "lit";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
6
|
-
|
|
2
|
+
//#region src/components/icon-registry-essential/svgs/iconAdd.ts
|
|
3
|
+
var iconAdd = svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M12 5v14"/></svg>`;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { iconAdd };
|
|
6
|
+
|
|
7
|
+
//# sourceMappingURL=iconAdd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconAdd.js","sources":["../../../../src/components/icon-registry-essential/svgs/iconAdd.ts"],"sourcesContent":["import { svg } from 'lit';\n\nexport const iconAdd = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14\"/><path d=\"M12 5v14\"/></svg>`;\n"],"
|
|
1
|
+
{"version":3,"file":"iconAdd.js","names":[],"sources":["../../../../src/components/icon-registry-essential/svgs/iconAdd.ts"],"sourcesContent":["import { svg } from 'lit';\n\nexport const iconAdd = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14\"/><path d=\"M12 5v14\"/></svg>`;\n"],"mappings":";;AAEA,IAAa,UAAU,GAAG"}
|