@nldd/design-system 0.8.42 → 0.8.44
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/README.md +1 -1
- package/dist/components/actions/button/button.d.ts +36 -5
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +62 -6
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +149 -63
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +19 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +4 -4
- package/dist/components/actions/button-group/button-group.js +2 -2
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +43 -11
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +68 -14
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +163 -106
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +20 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -5
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +19 -15
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +14 -12
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +4 -6
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +31 -28
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +17 -17
- package/dist/components/actions/toolbar/toolbar.template.d.ts +3 -3
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +17 -9
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +6 -6
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code/code.styles.js +3 -3
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +15 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +11 -5
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +22 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +46 -2
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -5
- package/dist/components/content/rich-text/rich-text.d.ts +3 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +6 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts +3 -3
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +3 -3
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +113 -15
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/title/title.styles.js +20 -20
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +13 -7
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +34 -22
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +8 -8
- package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
- package/dist/components/forms/form-field/form-field.styles.js +6 -6
- package/dist/components/{index-CJ3mdHHo.js → index-1v33GjGX.js} +4134 -3286
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +9 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -4
- package/dist/components/inputs/code-editor/code-editor.styles.js +14 -14
- package/dist/components/inputs/combo-box/combo-box.d.ts +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +8 -2
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +17 -14
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +4 -2
- package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +13 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +33 -2
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +24 -16
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +8 -2
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +14 -11
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +2 -4
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +8 -12
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +19 -18
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +2 -2
- package/dist/components/inputs/password-field/password-field.d.ts +9 -9
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +24 -18
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +20 -17
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +3 -3
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +11 -11
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -4
- package/dist/components/inputs/search-field/search-field.d.ts +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +8 -2
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +19 -16
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +8 -2
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +25 -4
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +78 -107
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +2 -2
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/switch/switch.styles.js +13 -13
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -4
- package/dist/components/inputs/text-field/text-field.d.ts +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +8 -2
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +19 -16
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +38 -18
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/token/token.d.ts +3 -3
- package/dist/components/inputs/token/token.d.ts.map +1 -1
- package/dist/components/inputs/token/token.js +6 -6
- package/dist/components/inputs/token/token.js.map +1 -1
- package/dist/components/inputs/token/token.styles.js +7 -7
- package/dist/components/inputs/token/token.template.js +2 -2
- package/dist/components/inputs/token/token.template.js.map +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +4 -4
- package/dist/components/layout/box/box.styles.js +2 -2
- package/dist/components/layout/card/card.js +1 -1
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.js +4 -4
- package/dist/components/layout/collection/collection.styles.js +6 -6
- package/dist/components/layout/container/container.d.ts +4 -4
- package/dist/components/layout/container/container.js +4 -4
- package/dist/components/layout/container/container.styles.js +399 -399
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/divider/divider.styles.js +2 -2
- package/dist/components/layout/page/page.js +1 -1
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +9 -9
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +6 -3
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +21 -5
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +24 -23
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +6 -3
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +21 -5
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +18 -18
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +6 -3
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +21 -5
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +18 -18
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +6 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +21 -5
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +23 -23
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +6 -3
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +21 -5
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +18 -18
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.js +1 -1
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +4 -4
- package/dist/components/layout/sheet/sheet.d.ts +17 -4
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +43 -9
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +33 -40
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +5 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +9 -9
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +34 -34
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -3
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +7 -7
- package/dist/components/layout/window/window.js +1 -1
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.styles.js +8 -8
- package/dist/components/lists-and-menus/cells/cell/cell.d.ts +4 -2
- package/dist/components/lists-and-menus/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.js +17 -6
- package/dist/components/lists-and-menus/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js +26 -15
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts +2 -2
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.js +12 -7
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +9 -8
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts +3 -4
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.js +13 -9
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +26 -9
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts +3 -4
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.js +12 -8
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +26 -9
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-menus/list/list.i18n.js +1 -1
- package/dist/components/lists-and-menus/list/list.i18n.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.js +7 -0
- package/dist/components/lists-and-menus/list/list.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.styles.js +13 -13
- package/dist/components/lists-and-menus/list-item/list-item.styles.js +21 -21
- package/dist/components/lists-and-menus/menu/menu.d.ts +160 -29
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.js +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.js +534 -102
- package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.js +93 -32
- package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.js +13 -0
- package/dist/components/lists-and-menus/menu/menu.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +0 -2
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +20 -22
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +48 -48
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +12 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -0
- package/dist/components/navigation/link/link.js.map +1 -0
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -0
- package/dist/components/{actions → navigation}/link/link.styles.js +4 -4
- package/dist/components/navigation/link/link.styles.js.map +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -0
- package/dist/components/navigation/link/link.template.js.map +1 -0
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +17 -5
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +80 -35
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +2 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +12 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +17 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +28 -6
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +21 -21
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +3 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +15 -2
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +24 -4
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +48 -76
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +23 -16
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +9 -9
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +5 -3
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +55 -58
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +57 -70
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +16 -14
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
- package/dist/components/{prism-typescript-Cdpexfvg.js → prism-typescript-D2EqsCqV.js} +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -3
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +3 -3
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +13 -13
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +7 -7
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +5 -5
- package/dist/css/global.css +1 -0
- package/dist/css/reset.css +7 -0
- package/dist/css/rich-text.css +106 -79
- package/dist/css/settings.css +121 -89
- package/dist/utilities/os.d.ts +27 -0
- package/dist/utilities/os.d.ts.map +1 -0
- package/dist/utilities/os.js +60 -0
- package/dist/utilities/os.js.map +1 -0
- package/dist/utilities/visibility-mixin.d.ts +18 -12
- package/dist/utilities/visibility-mixin.d.ts.map +1 -1
- package/dist/utilities/visibility-mixin.js +21 -14
- package/dist/utilities/visibility-mixin.js.map +1 -1
- package/package.json +6 -6
- package/dist/components/actions/link/link.d.ts.map +0 -1
- package/dist/components/actions/link/link.js.map +0 -1
- package/dist/components/actions/link/link.styles.d.ts.map +0 -1
- package/dist/components/actions/link/link.styles.js.map +0 -1
- package/dist/components/actions/link/link.template.d.ts.map +0 -1
- package/dist/components/actions/link/link.template.js.map +0 -1
- /package/dist/components/{actions → navigation}/link/link.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.js +0 -0
- /package/dist/components/{actions → navigation}/link/link.styles.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.js +0 -0
|
@@ -8,8 +8,11 @@ export const dropdownStyles = css `
|
|
|
8
8
|
--_xs-picker-icon-size: var(--primitives-space-16);
|
|
9
9
|
--_sm-picker-icon-size: var(--primitives-space-20);
|
|
10
10
|
--_md-picker-icon-size: var(--primitives-space-24);
|
|
11
|
+
--_width: auto;
|
|
11
12
|
|
|
12
13
|
display: block;
|
|
14
|
+
width: var(--_width);
|
|
15
|
+
max-width: 100%;
|
|
13
16
|
-webkit-tap-highlight-color: transparent;
|
|
14
17
|
}
|
|
15
18
|
|
|
@@ -28,28 +31,28 @@ export const dropdownStyles = css `
|
|
|
28
31
|
.dropdown {
|
|
29
32
|
position: relative;
|
|
30
33
|
display: flex;
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
align-items: center;
|
|
33
34
|
box-sizing: border-box;
|
|
34
|
-
width: 100%;
|
|
35
35
|
background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
36
|
+
width: 100%;
|
|
37
|
+
flex-direction: row;
|
|
38
|
+
align-items: center;
|
|
36
39
|
color: var(--semantics-buttons-neutral-tinted-content-color);
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
:host([size='xs']) .dropdown {
|
|
40
|
-
min-height: var(--semantics-controls-xs-min-size);
|
|
41
43
|
border-radius: var(--semantics-controls-xs-corner-radius);
|
|
44
|
+
min-height: var(--semantics-controls-xs-min-size);
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
:host([size='sm']) .dropdown {
|
|
45
|
-
min-height: var(--semantics-controls-sm-min-size);
|
|
46
48
|
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
49
|
+
min-height: var(--semantics-controls-sm-min-size);
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
:host([size='md']) .dropdown,
|
|
50
53
|
:host(:not([size])) .dropdown {
|
|
51
|
-
min-height: var(--semantics-controls-md-min-size);
|
|
52
54
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
55
|
+
min-height: var(--semantics-controls-md-min-size);
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
.dropdown:focus-within {
|
|
@@ -58,33 +61,38 @@ export const dropdownStyles = css `
|
|
|
58
61
|
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
59
62
|
}
|
|
60
63
|
|
|
64
|
+
:host([is-pointer-focus]) .dropdown:focus-within {
|
|
65
|
+
outline: none;
|
|
66
|
+
box-shadow: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
61
69
|
|
|
62
70
|
/* # Slotted select */
|
|
63
71
|
|
|
64
72
|
::slotted(select) {
|
|
65
73
|
position: absolute;
|
|
66
74
|
inset: 0;
|
|
67
|
-
|
|
68
|
-
height: 100%;
|
|
75
|
+
box-sizing: border-box;
|
|
69
76
|
opacity: 0;
|
|
70
|
-
appearance: none;
|
|
71
|
-
border: none;
|
|
72
77
|
margin: 0;
|
|
73
|
-
|
|
74
|
-
background: transparent;
|
|
78
|
+
border: none;
|
|
75
79
|
outline: none;
|
|
76
|
-
|
|
80
|
+
background: transparent;
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: 100%;
|
|
83
|
+
padding: 0;
|
|
77
84
|
font: var(--semantics-input-fields-native-select-font);
|
|
85
|
+
appearance: none;
|
|
78
86
|
}
|
|
79
87
|
|
|
80
88
|
|
|
81
89
|
/* # Value */
|
|
82
90
|
|
|
83
91
|
.dropdown__value {
|
|
84
|
-
flex-grow: 1;
|
|
85
92
|
min-width: 0;
|
|
86
|
-
white-space: nowrap;
|
|
87
93
|
overflow: hidden;
|
|
94
|
+
flex-grow: 1;
|
|
95
|
+
white-space: nowrap;
|
|
88
96
|
text-overflow: ellipsis;
|
|
89
97
|
color: inherit;
|
|
90
98
|
}
|
|
@@ -110,10 +118,10 @@ export const dropdownStyles = css `
|
|
|
110
118
|
|
|
111
119
|
.dropdown__validation-icon-area {
|
|
112
120
|
display: flex;
|
|
121
|
+
height: 100%;
|
|
113
122
|
align-items: center;
|
|
114
123
|
justify-content: center;
|
|
115
124
|
flex-shrink: 0;
|
|
116
|
-
height: 100%;
|
|
117
125
|
}
|
|
118
126
|
|
|
119
127
|
:host([size='xs']) .dropdown__validation-icon-area {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/dropdown/dropdown.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"dropdown.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/dropdown/dropdown.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+LhC,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* @attr {string} resize - 'none' | 'vertical' (default) | 'auto'.
|
|
19
19
|
* 'auto' grows with content (native field-sizing), no manual handle.
|
|
20
20
|
* @attr {string} accessible-label - Accessible label forwarded to the inner textarea. Set automatically by nldd-form-field.
|
|
21
|
-
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default:
|
|
21
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
22
22
|
*
|
|
23
23
|
* @fires input - When value changes
|
|
24
24
|
* @fires change - When value is committed (blur)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-line-text-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/multi-line-text-field/multi-line-text-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKtD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAEtD,qBACa,sBAAuB,SAAQ,UAAU;IACrD,MAAM,CAAC,cAAc,UAAQ;IAE7B,OAAgB,iBAAiB;;;;;;;MAG/B;IAEF,OAAgB,MAAM,0BAA4B;IAElD,OAAO,CAAC,UAAU,CAA0B;IAE5C,OAAO,CAAC,aAAa,CAAM;IAG3B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAQ;IAGzB,KAAK,SAAM;IAGX,OAAO,SAAM;IAGb,WAAW,SAAM;IAGjB,OAAO,UAAS;IAGhB,KAAK,UAAS;IAGd,QAAQ,UAAS;IAGjB,IAAI,SAAM;IAGV,QAAQ,UAAS;IAGjB,QAAQ,UAAS;IAGjB,YAAY,SAAM;IAGlB,IAAI,SAAK;IAGT,MAAM,EAAE,UAAU,CAAc;IAEhC,gGAAgG;IAEhG,eAAe,SAAM;IAGrB,eAAe,SAAM;IAErB,oGAAoG;IAEpG,KA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GAAG,IAAI;IAI/D,YAAY,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAW5B,aAAa,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAW3B,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,4BAA4B,EAAE,sBAAsB,CAAC;KACrD;CACD"}
|
|
@@ -24,7 +24,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
24
24
|
* @attr {string} resize - 'none' | 'vertical' (default) | 'auto'.
|
|
25
25
|
* 'auto' grows with content (native field-sizing), no manual handle.
|
|
26
26
|
* @attr {string} accessible-label - Accessible label forwarded to the inner textarea. Set automatically by nldd-form-field.
|
|
27
|
-
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default:
|
|
27
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
28
28
|
*
|
|
29
29
|
* @fires input - When value changes
|
|
30
30
|
* @fires change - When value is committed (blur)
|
|
@@ -65,7 +65,13 @@ let NLDDMultiLineTextField = class NLDDMultiLineTextField extends LitElement {
|
|
|
65
65
|
}
|
|
66
66
|
updated(changed) {
|
|
67
67
|
if (changed.has('width')) {
|
|
68
|
-
|
|
68
|
+
const w = this.width;
|
|
69
|
+
if (w && w !== 'full' && CSS.supports('width', w)) {
|
|
70
|
+
this.style.setProperty('--_width', w);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.style.removeProperty('--_width');
|
|
74
|
+
}
|
|
69
75
|
}
|
|
70
76
|
if (changed.has('resize') && this.resize === 'auto' && this._textarea) {
|
|
71
77
|
// Manual resize sets inline width/height on the textarea, which would
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-line-text-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/multi-line-text-field/multi-line-text-field.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAK1E,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,UAAU;IAA/C;;QAUE,eAAU,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QAEpC,kBAAa,GAAG,EAAE,CAAC;QAG3B,SAAI,GAAgB,IAAI,CAAC;QAGzB,UAAK,GAAG,EAAE,CAAC;QAGX,YAAO,GAAG,EAAE,CAAC;QAGb,gBAAW,GAAG,EAAE,CAAC;QAGjB,YAAO,GAAG,KAAK,CAAC;QAGhB,UAAK,GAAG,KAAK,CAAC;QAGd,aAAQ,GAAG,KAAK,CAAC;QAGjB,SAAI,GAAG,EAAE,CAAC;QAGV,aAAQ,GAAG,KAAK,CAAC;QAGjB,aAAQ,GAAG,KAAK,CAAC;QAGjB,iBAAY,GAAG,EAAE,CAAC;QAGlB,SAAI,GAAG,CAAC,CAAC;QAGT,WAAM,GAAe,UAAU,CAAC;QAEhC,gGAAgG;QAEhG,oBAAe,GAAG,EAAE,CAAC;QAGrB,oBAAe,GAAG,EAAE,CAAC;QAErB,oGAAoG;QAEpG,UAAK,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"multi-line-text-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/multi-line-text-field/multi-line-text-field.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC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C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDAChC;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4DACT;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oDAClB;AAGT;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;sDACV;AAIhC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;+DACrC;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;+DACtC;AAIrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qDAC/B;AAIH;IADP,KAAK,CAAC,+BAA+B,CAAC;yDACC;AAlE5B,sBAAsB;IADlC,aAAa,CAAC,4BAA4B,CAAC;GAC/B,sBAAsB,CAoIlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-line-text-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/multi-line-text-field/multi-line-text-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"multi-line-text-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/multi-line-text-field/multi-line-text-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,yBA+KpC,CAAC"}
|
|
@@ -6,8 +6,11 @@ export const multiLineTextFieldStyles = css `
|
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
8
|
--_background-color: var(--semantics-input-fields-background-color);
|
|
9
|
+
--_width: auto;
|
|
9
10
|
|
|
10
11
|
display: block;
|
|
12
|
+
width: var(--_width);
|
|
13
|
+
max-width: 100%;
|
|
11
14
|
-webkit-tap-highlight-color: transparent;
|
|
12
15
|
}
|
|
13
16
|
|
|
@@ -80,15 +83,15 @@ export const multiLineTextFieldStyles = css `
|
|
|
80
83
|
|
|
81
84
|
.multi-line-text-field__input {
|
|
82
85
|
display: block;
|
|
83
|
-
width: 100%;
|
|
84
86
|
box-sizing: border-box;
|
|
85
87
|
margin: 0;
|
|
86
|
-
color: var(--semantics-content-color);
|
|
87
|
-
background: transparent;
|
|
88
88
|
border: none;
|
|
89
89
|
outline: none;
|
|
90
|
-
|
|
90
|
+
background: transparent;
|
|
91
|
+
width: 100%;
|
|
91
92
|
padding-inline: var(--_inline-padding);
|
|
93
|
+
color: var(--semantics-content-color);
|
|
94
|
+
appearance: none;
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
:host([resize='vertical']) .multi-line-text-field__input {
|
|
@@ -105,16 +108,16 @@ export const multiLineTextFieldStyles = css `
|
|
|
105
108
|
}
|
|
106
109
|
|
|
107
110
|
:host([size='sm']) .multi-line-text-field__input {
|
|
108
|
-
font: var(--semantics-input-fields-sm-text-font);
|
|
109
|
-
padding-block: calc((var(--semantics-controls-sm-min-size) - var(--semantics-input-fields-border-thickness) * 2 - 1lh) / 2);
|
|
110
111
|
min-height: calc(var(--semantics-controls-sm-min-size) - var(--semantics-input-fields-border-thickness) * 2);
|
|
112
|
+
padding-block: calc((var(--semantics-controls-sm-min-size) - var(--semantics-input-fields-border-thickness) * 2 - 1lh) / 2);
|
|
113
|
+
font: var(--semantics-input-fields-sm-text-font);
|
|
111
114
|
}
|
|
112
115
|
|
|
113
116
|
:host([size='md']) .multi-line-text-field__input,
|
|
114
117
|
:host(:not([size])) .multi-line-text-field__input {
|
|
115
|
-
font: var(--semantics-input-fields-md-text-font);
|
|
116
|
-
padding-block: calc((var(--semantics-controls-md-min-size) - var(--semantics-input-fields-border-thickness) * 2 - 1lh) / 2);
|
|
117
118
|
min-height: calc(var(--semantics-controls-md-min-size) - var(--semantics-input-fields-border-thickness) * 2);
|
|
119
|
+
padding-block: calc((var(--semantics-controls-md-min-size) - var(--semantics-input-fields-border-thickness) * 2 - 1lh) / 2);
|
|
120
|
+
font: var(--semantics-input-fields-md-text-font);
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
:host([valid]) .multi-line-text-field__input,
|
|
@@ -143,11 +146,11 @@ export const multiLineTextFieldStyles = css `
|
|
|
143
146
|
top: 0;
|
|
144
147
|
right: 0;
|
|
145
148
|
display: flex;
|
|
146
|
-
|
|
147
|
-
justify-content: center;
|
|
149
|
+
pointer-events: none;
|
|
148
150
|
width: var(--_icon-area-size);
|
|
149
151
|
height: var(--_icon-area-size);
|
|
150
|
-
|
|
152
|
+
align-items: center;
|
|
153
|
+
justify-content: center;
|
|
151
154
|
}
|
|
152
155
|
|
|
153
156
|
:host([valid]) .multi-line-text-field__validation-icon-area {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-line-text-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/multi-line-text-field/multi-line-text-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"multi-line-text-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/multi-line-text-field/multi-line-text-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+K1C,CAAC"}
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* @attr {boolean} disabled - Disabled state
|
|
13
13
|
* @attr {string} name - Name for form submission
|
|
14
14
|
* @attr {object} translations - Translations; unspecified keys fall back to Dutch
|
|
15
|
-
* @attr {
|
|
16
|
-
* @attr {string} width - Fixed width; the input stretches to fill remaining space
|
|
15
|
+
* @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
|
|
17
16
|
* @attr {boolean} hide-spin-buttons - When set, hides the decrement and increment buttons
|
|
18
17
|
* @attr {string} accessible-label - Accessible label (aria-label) forwarded to the native input
|
|
19
18
|
*
|
|
@@ -41,8 +40,7 @@ export declare class NLDDNumberField extends LitElement {
|
|
|
41
40
|
size: NumberFieldSize;
|
|
42
41
|
disabled: boolean;
|
|
43
42
|
name: string;
|
|
44
|
-
|
|
45
|
-
/** Sets a fixed width on the component. The input stretches to fill the available space. */
|
|
43
|
+
/** Width mode: 'full' (stretch to container) or any CSS length. */
|
|
46
44
|
width: string;
|
|
47
45
|
hideSpinButtons: boolean;
|
|
48
46
|
/** Accessible label forwarded as aria-label to the native input. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/number-field/number-field.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/number-field/number-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,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pC,OAAO,CAAC,YAAY;IAsBpB,OAAO,CAAC,MAAM;IAId;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAInC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mBAAmB,EAAE,eAAe,CAAC;KACrC;CACD"}
|
|
@@ -18,8 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
* @attr {boolean} disabled - Disabled state
|
|
19
19
|
* @attr {string} name - Name for form submission
|
|
20
20
|
* @attr {object} translations - Translations; unspecified keys fall back to Dutch
|
|
21
|
-
* @attr {
|
|
22
|
-
* @attr {string} width - Fixed width; the input stretches to fill remaining space
|
|
21
|
+
* @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
|
|
23
22
|
* @attr {boolean} hide-spin-buttons - When set, hides the decrement and increment buttons
|
|
24
23
|
* @attr {string} accessible-label - Accessible label (aria-label) forwarded to the native input
|
|
25
24
|
*
|
|
@@ -49,8 +48,7 @@ let NLDDNumberField = class NLDDNumberField extends LitElement {
|
|
|
49
48
|
this.size = 'md';
|
|
50
49
|
this.disabled = false;
|
|
51
50
|
this.name = '';
|
|
52
|
-
|
|
53
|
-
/** Sets a fixed width on the component. The input stretches to fill the available space. */
|
|
51
|
+
/** Width mode: 'full' (stretch to container) or any CSS length. */
|
|
54
52
|
this.width = '';
|
|
55
53
|
this.hideSpinButtons = false;
|
|
56
54
|
/** Accessible label forwarded as aria-label to the native input. */
|
|
@@ -71,13 +69,14 @@ let NLDDNumberField = class NLDDNumberField extends LitElement {
|
|
|
71
69
|
}
|
|
72
70
|
updated(changedProperties) {
|
|
73
71
|
if (changedProperties.has('width')) {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
const w = this.width;
|
|
73
|
+
// Keyword 'full' handled via CSS attribute selectors; a valid CSS
|
|
74
|
+
// length is forwarded to --_width. Invalid values are dropped.
|
|
75
|
+
if (w && w !== 'full' && CSS.supports('width', w)) {
|
|
76
|
+
this.style.setProperty('--_width', w);
|
|
77
77
|
}
|
|
78
78
|
else {
|
|
79
79
|
this.style.removeProperty('--_width');
|
|
80
|
-
this.removeAttribute('width');
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
82
|
if (changedProperties.has('value')) {
|
|
@@ -197,10 +196,7 @@ __decorate([
|
|
|
197
196
|
property({ type: String, reflect: true })
|
|
198
197
|
], NLDDNumberField.prototype, "name", void 0);
|
|
199
198
|
__decorate([
|
|
200
|
-
property({ type:
|
|
201
|
-
], NLDDNumberField.prototype, "fullWidth", void 0);
|
|
202
|
-
__decorate([
|
|
203
|
-
property({ type: String })
|
|
199
|
+
property({ type: String, reflect: true })
|
|
204
200
|
], NLDDNumberField.prototype, "width", void 0);
|
|
205
201
|
__decorate([
|
|
206
202
|
property({ type: Boolean, reflect: true, attribute: 'hide-spin-buttons' })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/number-field/number-field.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"number-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/number-field/number-field.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,4CAA4C,CAAC;AACpD,OAAO,8BAA8B,CAAC;AAK/B,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,UAAU;IAAxC;;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AAC;6CACb;AAG7B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CAChC;AAIV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAC/B;AAGX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;wDACnD;AAIxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;wDACrC;AAIrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qDAC6B;AA3C5C,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CAsK3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/number-field/number-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"number-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/number-field/number-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yBAwJ7B,CAAC"}
|
|
@@ -24,13 +24,14 @@ export const numberFieldStyles = css `
|
|
|
24
24
|
opacity: 1;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
:host([full
|
|
27
|
+
:host([width="full"]) {
|
|
28
28
|
display: block;
|
|
29
29
|
width: 100%;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
:host([width]) {
|
|
33
33
|
width: var(--_width);
|
|
34
|
+
max-width: 100%;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
|
|
@@ -38,25 +39,25 @@ export const numberFieldStyles = css `
|
|
|
38
39
|
|
|
39
40
|
.number-field {
|
|
40
41
|
display: inline-flex;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
border: var(--semantics-input-fields-border);
|
|
44
|
+
background-color: var(--semantics-input-fields-background-color);
|
|
41
45
|
flex-direction: row;
|
|
42
46
|
align-items: center;
|
|
43
|
-
background-color: var(--semantics-input-fields-background-color);
|
|
44
|
-
border: var(--semantics-input-fields-border);
|
|
45
|
-
box-sizing: border-box;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
:host([size='sm']) .number-field {
|
|
49
|
-
height: var(--semantics-controls-sm-min-size);
|
|
50
50
|
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
51
|
+
height: var(--semantics-controls-sm-min-size);
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
:host([size='md']) .number-field,
|
|
54
55
|
:host(:not([size])) .number-field {
|
|
55
|
-
height: var(--semantics-controls-md-min-size);
|
|
56
56
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
57
|
+
height: var(--semantics-controls-md-min-size);
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
:host([full
|
|
60
|
+
:host([width="full"]) .number-field,
|
|
60
61
|
:host([width]) .number-field {
|
|
61
62
|
width: 100%;
|
|
62
63
|
}
|
|
@@ -73,8 +74,8 @@ export const numberFieldStyles = css `
|
|
|
73
74
|
.number-field__decrement-button,
|
|
74
75
|
.number-field__increment-button {
|
|
75
76
|
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
77
|
height: 100%;
|
|
78
|
+
align-items: center;
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
:host([size='sm']) .number-field__decrement-button {
|
|
@@ -99,26 +100,26 @@ export const numberFieldStyles = css `
|
|
|
99
100
|
/* # Input */
|
|
100
101
|
|
|
101
102
|
.number-field__input {
|
|
102
|
-
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
margin: 0;
|
|
103
105
|
border: none;
|
|
106
|
+
outline: none;
|
|
104
107
|
background: transparent;
|
|
105
|
-
margin: 0;
|
|
106
108
|
padding: 0 var(--primitives-space-6);
|
|
107
|
-
outline: none;
|
|
108
|
-
box-sizing: border-box;
|
|
109
|
-
color: var(--semantics-content-color);
|
|
110
109
|
text-align: center;
|
|
110
|
+
color: var(--semantics-content-color);
|
|
111
|
+
appearance: none;
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
:host([size='sm']) .number-field__input {
|
|
114
|
-
font: var(--semantics-input-fields-sm-text-font);
|
|
115
115
|
min-width: var(--semantics-controls-sm-min-size);
|
|
116
|
+
font: var(--semantics-input-fields-sm-text-font);
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
:host([size='md']) .number-field__input,
|
|
119
120
|
:host(:not([size])) .number-field__input {
|
|
120
|
-
font: var(--semantics-input-fields-md-text-font);
|
|
121
121
|
min-width: var(--semantics-controls-md-min-size);
|
|
122
|
+
font: var(--semantics-input-fields-md-text-font);
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
.number-field__input[type='number'] {
|
|
@@ -127,8 +128,8 @@ export const numberFieldStyles = css `
|
|
|
127
128
|
|
|
128
129
|
.number-field__input::-webkit-outer-spin-button,
|
|
129
130
|
.number-field__input::-webkit-inner-spin-button {
|
|
130
|
-
-webkit-appearance: none;
|
|
131
131
|
margin: 0;
|
|
132
|
+
-webkit-appearance: none;
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
:host([hide-spin-buttons]) .number-field__input {
|
|
@@ -145,10 +146,10 @@ export const numberFieldStyles = css `
|
|
|
145
146
|
padding-inline: calc(var(--semantics-controls-md-inline-padding) - var(--semantics-input-fields-border-thickness));
|
|
146
147
|
}
|
|
147
148
|
|
|
148
|
-
:host([full
|
|
149
|
+
:host([width="full"]) .number-field__input,
|
|
149
150
|
:host([width]) .number-field__input {
|
|
150
|
-
flex-grow: 1;
|
|
151
151
|
min-width: 0;
|
|
152
|
+
flex-grow: 1;
|
|
152
153
|
}
|
|
153
154
|
`;
|
|
154
155
|
//# sourceMappingURL=number-field.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/number-field/number-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"number-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/number-field/number-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJnC,CAAC"}
|
|
@@ -16,7 +16,7 @@ export function numberFieldTemplate(component) {
|
|
|
16
16
|
size=${iconButtonSize}
|
|
17
17
|
icon="minus"
|
|
18
18
|
text=${component._t('components.number-field.decrement-action')}
|
|
19
|
-
|
|
19
|
+
tooltip-timing="never"
|
|
20
20
|
?disabled=${component.disabled || !canDecrease}
|
|
21
21
|
@click=${component._handleDecrease}
|
|
22
22
|
></nldd-icon-button>
|
|
@@ -42,7 +42,7 @@ export function numberFieldTemplate(component) {
|
|
|
42
42
|
size=${iconButtonSize}
|
|
43
43
|
icon="plus"
|
|
44
44
|
text=${component._t('components.number-field.increment-action')}
|
|
45
|
-
|
|
45
|
+
tooltip-timing="never"
|
|
46
46
|
?disabled=${component.disabled || !canIncrease}
|
|
47
47
|
@click=${component._handleIncrease}
|
|
48
48
|
></nldd-icon-button>
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* @attr {boolean} invalid - Marks the field as invalid
|
|
14
14
|
* @attr {boolean} disabled - Disabled state
|
|
15
15
|
* @attr {boolean} masked - Whether the password is masked (default: true)
|
|
16
|
-
* @attr {string} show-text - Visible toggle button text when masked (default: 'Toon')
|
|
17
|
-
* @attr {string} hide-text - Visible toggle button text when unmasked (default: 'Verberg')
|
|
18
|
-
* @attr {string} show-accessible-label - aria-label for toggle when masked (default: 'Toon wachtwoord')
|
|
19
|
-
* @attr {string} hide-accessible-label - aria-label for toggle when unmasked (default: 'Verberg wachtwoord')
|
|
16
|
+
* @attr {string} show-button-text - Visible toggle button text when masked (default: 'Toon')
|
|
17
|
+
* @attr {string} hide-button-text - Visible toggle button text when unmasked (default: 'Verberg')
|
|
18
|
+
* @attr {string} show-button-accessible-label - aria-label for toggle when masked (default: 'Toon wachtwoord')
|
|
19
|
+
* @attr {string} hide-button-accessible-label - aria-label for toggle when unmasked (default: 'Verberg wachtwoord')
|
|
20
20
|
* @attr {boolean} readonly - Readonly state
|
|
21
21
|
* @attr {boolean} required - Required state
|
|
22
22
|
* @attr {string} name - Input name for form submission
|
|
23
23
|
* @attr {string} autocomplete - Autocomplete hint
|
|
24
24
|
* @attr {string} accessible-label - Accessible label forwarded to the inner input. Set automatically by nldd-form-field.
|
|
25
|
-
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default:
|
|
25
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
26
26
|
*
|
|
27
27
|
* @fires input - When the input value changes ({ detail: { value } })
|
|
28
28
|
* @fires change - When the input value is committed ({ detail: { value } })
|
|
@@ -50,13 +50,13 @@ export declare class NLDDPasswordField extends LitElement {
|
|
|
50
50
|
disabled: boolean;
|
|
51
51
|
masked: boolean;
|
|
52
52
|
/** Visible button label when the field is masked. Override for localisation. */
|
|
53
|
-
|
|
53
|
+
showButtonText: string;
|
|
54
54
|
/** Visible button label when the field is unmasked. Override for localisation. */
|
|
55
|
-
|
|
55
|
+
hideButtonText: string;
|
|
56
56
|
/** Accessible aria-label for the toggle button when the field is masked. Override for localisation. */
|
|
57
|
-
|
|
57
|
+
showButtonAccessibleLabel: string;
|
|
58
58
|
/** Accessible aria-label for the toggle button when the field is unmasked. Override for localisation. */
|
|
59
|
-
|
|
59
|
+
hideButtonAccessibleLabel: string;
|
|
60
60
|
readonly: boolean;
|
|
61
61
|
required: boolean;
|
|
62
62
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/password-field/password-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKtD,qBACa,iBAAkB,SAAQ,UAAU;IAChD,MAAM,CAAC,cAAc,UAAQ;IAE7B,OAAgB,iBAAiB;;;;;;;MAG/B;IAEF,OAAgB,MAAM,0BAAuB;IAE7C,OAAO,CAAC,UAAU,CAA0B;IAE5C,OAAO,CAAC,aAAa,CAAM;IAG3B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAQ;IAGzB,KAAK,SAAM;IAGX,OAAO,SAAM;IAGb,WAAW,SAAM;IAGjB,KAAK,UAAS;IAGd,OAAO,UAAS;IAGhB,QAAQ,UAAS;IAGjB,MAAM,UAAQ;IAEd,gFAAgF;IAEhF,
|
|
1
|
+
{"version":3,"file":"password-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/password-field/password-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKtD,qBACa,iBAAkB,SAAQ,UAAU;IAChD,MAAM,CAAC,cAAc,UAAQ;IAE7B,OAAgB,iBAAiB;;;;;;;MAG/B;IAEF,OAAgB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