@nldd/design-system 0.8.92 → 0.8.94
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/NOTICES.md +29 -27
- package/README.md +39 -26
- package/custom-elements.json +2134 -1509
- package/dist/components/actions/button/button.d.ts +28 -6
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +58 -8
- 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 +44 -74
- 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 +4 -3
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +11 -4
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +25 -9
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +18 -3
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +48 -3
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +104 -11
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +64 -4
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +13 -7
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +16 -7
- 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 +35 -61
- 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 +8 -4
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +46 -31
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +87 -64
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +4 -0
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +13 -5
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +2 -2
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +5 -4
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +18 -3
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +2 -2
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +24 -10
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +60 -28
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +7 -7
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +3 -2
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +3034 -1382
- package/dist/components/content/avatar/avatar.d.ts +23 -5
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +24 -6
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +5 -2
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.js +6 -2
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +2 -2
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +10 -6
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +6 -6
- package/dist/components/content/icon/icon.d.ts +18 -6
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +30 -10
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/identity/identity.template.d.ts.map +1 -1
- package/dist/components/content/identity/identity.template.js +4 -1
- package/dist/components/content/identity/identity.template.js.map +1 -1
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +2 -1
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +7 -2
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +3 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +3 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +7 -7
- package/dist/components/content/rich-text/rich-text.d.ts +20 -9
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +32 -16
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts +2 -2
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +5 -5
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/tag/tag.template.js +2 -2
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +1 -0
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +30 -6
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +72 -8
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +41 -4
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/title/title.template.d.ts +2 -1
- package/dist/components/content/title/title.template.d.ts.map +1 -1
- package/dist/components/content/title/title.template.js +33 -5
- package/dist/components/content/title/title.template.js.map +1 -1
- package/dist/components/content/token/token.d.ts +15 -5
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.i18n.d.ts +7 -0
- package/dist/components/content/token/token.i18n.d.ts.map +1 -0
- package/dist/components/content/token/token.i18n.js +6 -0
- package/dist/components/content/token/token.i18n.js.map +1 -0
- package/dist/components/content/token/token.js +56 -14
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +6 -6
- package/dist/components/content/token/token.template.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +18 -7
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +18 -7
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +1 -1
- package/dist/components/forms/form-actions/form-actions.js +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +12 -1
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +12 -1
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +3 -3
- package/dist/components/forms/form-section/form-section.js +8 -8
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +7 -4
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +7 -4
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/{icon-C_zwJZ_g.js → icon-DWNVcttg.js} +4 -4
- package/dist/components/{icon-button-oua8pmMC.js → icon-button-DHzLMmj0.js} +62 -78
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.template.js +11 -5
- package/dist/components/inputs/checkbox/checkbox.template.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +5 -5
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +5 -5
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +3 -3
- package/dist/components/inputs/combo-box/combo-box.d.ts +47 -3
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +119 -41
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +4 -4
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +2 -1
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +6 -4
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +3 -3
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +0 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +1 -13
- 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 -12
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.template.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.template.js +3 -4
- package/dist/components/inputs/dropdown/dropdown.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +2 -7
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +3 -3
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +2 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +2 -1
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +4 -4
- package/dist/components/inputs/number-field/number-field.template.js +2 -2
- package/dist/components/inputs/password-field/password-field.template.js +2 -2
- package/dist/components/inputs/radio-button/radio-button.template.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.template.js +3 -1
- package/dist/components/inputs/radio-button/radio-button.template.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +24 -24
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +42 -41
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +6 -4
- package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +6 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +13 -0
- 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 +54 -16
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +2 -2
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -1
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/switch/switch.template.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js +6 -4
- package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +27 -64
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +2 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +5 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +87 -20
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.labels.d.ts +4 -0
- package/dist/components/inputs/text-editor/text-editor.labels.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.labels.js +5 -0
- package/dist/components/inputs/text-editor/text-editor.labels.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +7 -5
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +6 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +27 -3
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +145 -26
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts +11 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.js +134 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +9 -3
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.js +2 -2
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +2 -1
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +7 -5
- package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -1
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +12 -0
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +17 -0
- package/dist/components/inputs/toggle-button/toggle-button.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 +99 -12
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +6 -4
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +4 -2
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -2
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +26 -1
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.js +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +59 -6
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -1
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.template.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.template.js +7 -5
- package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
- package/dist/components/layout/app-view/app-view.d.ts +8 -0
- package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.js +8 -0
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +7 -4
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +10 -7
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +22 -2
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +4 -2
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +11 -6
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +21 -15
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.template.js +5 -2
- package/dist/components/layout/collection/collection.template.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +13 -8
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +19 -14
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +52 -2
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +94 -3
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.template.d.ts +6 -0
- package/dist/components/layout/page/page.template.d.ts.map +1 -1
- package/dist/components/layout/page/page.template.js +21 -6
- package/dist/components/layout/page/page.template.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +2 -4
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +8 -23
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +16 -4
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +4 -6
- 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 +4 -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.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js +8 -2
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +12 -14
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +19 -20
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.js +6 -2
- package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +6 -8
- 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 +6 -7
- 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.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js +8 -2
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +6 -8
- 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 +6 -7
- 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.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js +8 -2
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.d.ts +139 -44
- package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +44 -47
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -12
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +21 -20
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +8 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +14 -8
- 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 +14 -7
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.template.js +8 -2
- package/dist/components/layout/page-sections/simple-section/simple-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +6 -8
- 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 +6 -7
- 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.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js +8 -2
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +12 -8
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +40 -19
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +26 -11
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +59 -20
- 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 +4 -0
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.template.js +1 -1
- package/dist/components/layout/sheet/sheet.template.js.map +1 -1
- package/dist/components/layout/spacer/spacer.d.ts +13 -0
- package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
- package/dist/components/layout/spacer/spacer.js +13 -0
- package/dist/components/layout/spacer/spacer.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +4 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +11 -6
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +17 -12
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +4 -0
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +3 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +8 -8
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +30 -18
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +68 -32
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts +4 -2
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +7 -5
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js +88 -16
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +4 -2
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -5
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +23 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +11 -2
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +8 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +11 -11
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +15 -15
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +5 -5
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +2 -2
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +3 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +6 -6
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +8 -2
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +14 -11
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +36 -36
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +9 -5
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.js +26 -9
- package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +65 -43
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +116 -47
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +4 -14
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +35 -10
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +45 -18
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +4 -14
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +11 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +4 -2
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +15 -12
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -19
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +6 -6
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- 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 +10 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.template.js +2 -2
- package/dist/components/navigation/menu-bar/menu-bar.js +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +4 -4
- package/dist/components/navigation/pagination/pagination.d.ts +0 -3
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +2 -13
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +4 -4
- package/dist/components/navigation/pagination/pagination.template.js +3 -3
- package/dist/components/navigation/tab-bar/tab-bar.template.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +12 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +37 -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 +48 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +4 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +6 -2
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +7 -2
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -2
- 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 +21 -6
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +4 -4
- package/dist/components/status-and-feedback/badge/badge.template.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -1
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +2 -2
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +14 -5
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +43 -13
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +4 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +8 -8
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +13 -13
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.template.js +6 -3
- package/dist/components/status-and-feedback/notification/notification.template.js.map +1 -1
- package/dist/components/status-and-feedback/notification/{notification-region.d.ts → notifications-area.d.ts} +3 -3
- package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/{notification-region.js → notifications-area.js} +137 -140
- package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +4 -4
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +11 -10
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +10 -6
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +3 -2
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +6 -4
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -13
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +106 -18
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.template.js +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +4 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +4 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +2 -2
- package/dist/components/{with-translations-BAKFoEKy.js → with-translations-Dt2DTXJF.js} +40 -12
- package/dist/css/form-section.css +4 -4
- package/dist/css/form.css +4 -0
- package/dist/css/rich-text.css +31 -12
- package/dist/css/variables.css +33 -56
- package/dist/nldd.min.js +1772 -1113
- package/dist/translations/en-US.d.ts +17 -0
- package/dist/translations/en-US.d.ts.map +1 -0
- package/dist/translations/en-US.js +185 -0
- package/dist/translations/en-US.js.map +1 -0
- package/dist/translations/fy.d.ts +20 -0
- package/dist/translations/fy.d.ts.map +1 -0
- package/dist/translations/fy.js +185 -0
- package/dist/translations/fy.js.map +1 -0
- package/dist/translations/nl.generated.d.ts +188 -0
- package/dist/translations/nl.generated.d.ts.map +1 -0
- package/dist/translations/nl.generated.js +101 -0
- package/dist/translations/nl.generated.js.map +1 -0
- package/dist/translations/pap-AW.d.ts +22 -0
- package/dist/translations/pap-AW.d.ts.map +1 -0
- package/dist/translations/pap-AW.js +185 -0
- package/dist/translations/pap-AW.js.map +1 -0
- package/dist/translations/pap-CW.d.ts +22 -0
- package/dist/translations/pap-CW.d.ts.map +1 -0
- package/dist/translations/pap-CW.js +185 -0
- package/dist/translations/pap-CW.js.map +1 -0
- package/dist/types/vue.d.ts +387 -302
- package/dist/utilities/page-section-mixin.d.ts +3 -8
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +4 -84
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/title-bar-label-controller.d.ts +25 -0
- package/dist/utilities/title-bar-label-controller.d.ts.map +1 -0
- package/dist/utilities/title-bar-label-controller.js +52 -0
- package/dist/utilities/title-bar-label-controller.js.map +1 -0
- package/dist/utilities/translations.d.ts +37 -0
- package/dist/utilities/translations.d.ts.map +1 -0
- package/dist/utilities/translations.js +80 -0
- package/dist/utilities/translations.js.map +1 -0
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +2 -15
- package/dist/utilities/with-translations.js.map +1 -1
- package/package.json +32 -4
- package/dist/components/status-and-feedback/notification/notification-region.d.ts.map +0 -1
- package/dist/components/status-and-feedback/notification/notification-region.js.map +0 -1
|
@@ -21,10 +21,6 @@ export const numberFieldStyles = css `
|
|
|
21
21
|
-webkit-tap-highlight-color: transparent;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
:host([hidden]) {
|
|
25
|
-
display: none;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
24
|
:host([size="sm"]) {
|
|
29
25
|
--_corner-radius: var(--semantics-controls-sm-corner-radius);
|
|
30
26
|
--_min-size: var(--semantics-controls-sm-min-size);
|
|
@@ -52,6 +48,10 @@ export const numberFieldStyles = css `
|
|
|
52
48
|
width: 100%;
|
|
53
49
|
}
|
|
54
50
|
|
|
51
|
+
:host([hidden]) {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
55
|
|
|
56
56
|
/* # Block */
|
|
57
57
|
|
|
@@ -12,7 +12,7 @@ export function numberFieldTemplate(component) {
|
|
|
12
12
|
${!component.hideSpinButtons ? html `
|
|
13
13
|
<div class="number-field__decrement-button">
|
|
14
14
|
<nldd-icon-button
|
|
15
|
-
|
|
15
|
+
appearance="neutral-tinted"
|
|
16
16
|
size=${iconButtonSize}
|
|
17
17
|
icon="minus"
|
|
18
18
|
text=${component._t('components.number-field.decrement-action')}
|
|
@@ -39,7 +39,7 @@ export function numberFieldTemplate(component) {
|
|
|
39
39
|
${!component.hideSpinButtons ? html `
|
|
40
40
|
<div class="number-field__increment-button">
|
|
41
41
|
<nldd-icon-button
|
|
42
|
-
|
|
42
|
+
appearance="neutral-tinted"
|
|
43
43
|
size=${iconButtonSize}
|
|
44
44
|
icon="plus"
|
|
45
45
|
text=${component._t('components.number-field.increment-action')}
|
|
@@ -6,7 +6,7 @@ function renderValidationIcon(component) {
|
|
|
6
6
|
return html `
|
|
7
7
|
<div class="password-field__validation-icon-area">
|
|
8
8
|
<nldd-icon class="password-field__validation-icon"
|
|
9
|
-
|
|
9
|
+
icon="invalid"
|
|
10
10
|
aria-hidden="true"
|
|
11
11
|
></nldd-icon>
|
|
12
12
|
</div>
|
|
@@ -16,7 +16,7 @@ function renderValidationIcon(component) {
|
|
|
16
16
|
return html `
|
|
17
17
|
<div class="password-field__validation-icon-area">
|
|
18
18
|
<nldd-icon class="password-field__validation-icon"
|
|
19
|
-
|
|
19
|
+
icon="valid"
|
|
20
20
|
aria-hidden="true"
|
|
21
21
|
></nldd-icon>
|
|
22
22
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,eAAe,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"radio-button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,eAAe,GAAG,cAAc,CAkC9E"}
|
|
@@ -5,7 +5,9 @@ export function radioButtonTemplate(component) {
|
|
|
5
5
|
// would be a second control inside it.
|
|
6
6
|
if (component.decorative) {
|
|
7
7
|
return html `
|
|
8
|
-
<div class="radio-button__outer-shape"
|
|
8
|
+
<div class="radio-button__outer-shape"
|
|
9
|
+
aria-hidden="true"
|
|
10
|
+
>
|
|
9
11
|
<div class="radio-button__inner-shape"></div>
|
|
10
12
|
</div>
|
|
11
13
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,mBAAmB,CAAC,SAA0B;IAC7D,0EAA0E;IAC1E,yEAAyE;IACzE,uCAAuC;IACvC,IAAI,SAAS,CAAC,UAAU,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAA
|
|
1
|
+
{"version":3,"file":"radio-button.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,mBAAmB,CAAC,SAA0B;IAC7D,0EAA0E;IAC1E,yEAAyE;IACzE,uCAAuC;IACvC,IAAI,SAAS,CAAC,UAAU,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAA;;;;;;GAMV,CAAC;IACH,CAAC;IACD,wEAAwE;IACxE,6EAA6E;IAC7E,4EAA4E;IAC5E,+EAA+E;IAC/E,gFAAgF;IAChF,gFAAgF;IAChF,OAAO,IAAI,CAAA;;;;;eAKG,SAAS,CAAC,QAAQ;eAClB,SAAS,CAAC,QAAQ;cACnB,SAAS,CAAC,kBAAkB;;;;;;;EAOxC,CAAC;AACH,CAAC"}
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
* and an optional search button.
|
|
6
6
|
*
|
|
7
7
|
* @element nldd-search-field
|
|
8
|
-
* @attr {string} value - The search value
|
|
9
|
-
* @attr {string} placeholder - Placeholder text for the input
|
|
10
|
-
* @attr {string} accessible-label - Accessible label (aria-label) for the native input. Falls back to placeholder when not set. Set explicitly when a value is already present and the placeholder is no longer visible.
|
|
11
8
|
* @attr {string} size - Field size: 'sm' | 'md' (default: 'md')
|
|
12
|
-
* @attr {
|
|
13
|
-
* @attr {string}
|
|
9
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
10
|
+
* @attr {string} placeholder - Placeholder text for the input
|
|
11
|
+
* @attr {string} accessible-label - Accessible name (aria-label) of the native input. Falls back to `placeholder`, and keeps it when a value is typed. That works while the placeholder names the field ('Zoek een gebruiker'); set this when the placeholder is an example instead ('bijv. Jansen').
|
|
14
12
|
* @attr {boolean} show-search-button - When set, shows a search button on the right
|
|
15
13
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
16
|
-
* @attr {boolean}
|
|
17
|
-
* @attr {
|
|
14
|
+
* @attr {boolean} invalid - Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it.
|
|
15
|
+
* @attr {boolean} disabled - Disabled state
|
|
16
|
+
* @attr {string} name - Input name for form submission
|
|
17
|
+
* @attr {string} value - The search value
|
|
18
18
|
* @attr {boolean} required - Required state
|
|
19
|
-
* @attr {string} pattern - Regular expression the value has to match, as the native `pattern`.
|
|
20
19
|
* @attr {number} minlength - Fewest characters the value may have.
|
|
21
20
|
* @attr {number} maxlength - Most characters the value may have.
|
|
22
|
-
* @attr {
|
|
21
|
+
* @attr {string} pattern - Regular expression the value has to match, as the native `pattern`.
|
|
22
|
+
* @attr {boolean} no-spellcheck - Disables browser spellchecking on the inner input
|
|
23
23
|
*
|
|
24
24
|
* @fires input - When the input value changes; detail: { value: string }
|
|
25
25
|
* @fires change - When the input value is committed; detail: { value: string }
|
|
@@ -42,7 +42,10 @@ export declare class NLDDSearchField extends NLDDSearchField_base {
|
|
|
42
42
|
* would submit the form. See utilities/implicit-submission.ts. */
|
|
43
43
|
static blocksImplicitSubmission: boolean;
|
|
44
44
|
private _initialValue;
|
|
45
|
-
|
|
45
|
+
size: SearchFieldSize;
|
|
46
|
+
/** Optional fixed width (any CSS length). When unset, the field stretches to fill its container. */
|
|
47
|
+
width: string;
|
|
48
|
+
_input: HTMLInputElement;
|
|
46
49
|
placeholder: string;
|
|
47
50
|
/** Accessible label forwarded as aria-label to the native input.
|
|
48
51
|
* Use to describe what is being searched, e.g. "Zoek een document".
|
|
@@ -50,23 +53,9 @@ export declare class NLDDSearchField extends NLDDSearchField_base {
|
|
|
50
53
|
* Set an explicit accessible-label when a value is already present and the
|
|
51
54
|
* placeholder is no longer visible, to ensure screen readers still have context. */
|
|
52
55
|
accessibleLabel: string;
|
|
53
|
-
size: SearchFieldSize;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
name: string;
|
|
56
56
|
showSearchButton: boolean;
|
|
57
57
|
/** Override one or more translation keys. Unset keys fall back to Dutch. */
|
|
58
58
|
translations: Partial<NLDDSearchFieldTranslations>;
|
|
59
|
-
noSpellcheck: boolean;
|
|
60
|
-
/** Optional fixed width (any CSS length). When unset, the field stretches to fill its container. */
|
|
61
|
-
width: string;
|
|
62
|
-
_input: HTMLInputElement;
|
|
63
|
-
required: boolean;
|
|
64
|
-
/** Regular expression the value has to match, as the native `pattern`. */
|
|
65
|
-
pattern: string;
|
|
66
|
-
/** Fewest characters the value may have, as the native `minlength`. */
|
|
67
|
-
minlength?: number;
|
|
68
|
-
/** Most characters the value may have, as the native `maxlength`. */
|
|
69
|
-
maxlength?: number;
|
|
70
59
|
/**
|
|
71
60
|
* Marks the control as invalid.
|
|
72
61
|
*
|
|
@@ -77,6 +66,17 @@ export declare class NLDDSearchField extends NLDDSearchField_base {
|
|
|
77
66
|
* choosing not to show something is not a reason to keep quiet about it.
|
|
78
67
|
*/
|
|
79
68
|
invalid: boolean;
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
name: string;
|
|
71
|
+
value: string;
|
|
72
|
+
required: boolean;
|
|
73
|
+
/** Fewest characters the value may have, as the native `minlength`. */
|
|
74
|
+
minlength?: number;
|
|
75
|
+
/** Most characters the value may have, as the native `maxlength`. */
|
|
76
|
+
maxlength?: number;
|
|
77
|
+
/** Regular expression the value has to match, as the native `pattern`. */
|
|
78
|
+
pattern: string;
|
|
79
|
+
noSpellcheck: boolean;
|
|
80
80
|
firstUpdated(): void;
|
|
81
81
|
updated(changed: PropertyValues): void;
|
|
82
82
|
formValue(): FormValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAK7F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"search-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAK7F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;AAItC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,CAAC;;AAE1C,qBACa,eAAgB,SAAQ,oBAAuC;IAE3E,OAAgB,MAAM,0BAAqB;IAE3C;wEACoE;IACpE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CAAC;IACd,UAAU,qBAAqB;QAC9B,mBAAmB,EAAE,eAAe,CAAC;KACrC;CACD"}
|
|
@@ -11,21 +11,21 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
11
11
|
* and an optional search button.
|
|
12
12
|
*
|
|
13
13
|
* @element nldd-search-field
|
|
14
|
-
* @attr {string} value - The search value
|
|
15
|
-
* @attr {string} placeholder - Placeholder text for the input
|
|
16
|
-
* @attr {string} accessible-label - Accessible label (aria-label) for the native input. Falls back to placeholder when not set. Set explicitly when a value is already present and the placeholder is no longer visible.
|
|
17
14
|
* @attr {string} size - Field size: 'sm' | 'md' (default: 'md')
|
|
18
|
-
* @attr {
|
|
19
|
-
* @attr {string}
|
|
15
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
16
|
+
* @attr {string} placeholder - Placeholder text for the input
|
|
17
|
+
* @attr {string} accessible-label - Accessible name (aria-label) of the native input. Falls back to `placeholder`, and keeps it when a value is typed. That works while the placeholder names the field ('Zoek een gebruiker'); set this when the placeholder is an example instead ('bijv. Jansen').
|
|
20
18
|
* @attr {boolean} show-search-button - When set, shows a search button on the right
|
|
21
19
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
22
|
-
* @attr {boolean}
|
|
23
|
-
* @attr {
|
|
20
|
+
* @attr {boolean} invalid - Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it.
|
|
21
|
+
* @attr {boolean} disabled - Disabled state
|
|
22
|
+
* @attr {string} name - Input name for form submission
|
|
23
|
+
* @attr {string} value - The search value
|
|
24
24
|
* @attr {boolean} required - Required state
|
|
25
|
-
* @attr {string} pattern - Regular expression the value has to match, as the native `pattern`.
|
|
26
25
|
* @attr {number} minlength - Fewest characters the value may have.
|
|
27
26
|
* @attr {number} maxlength - Most characters the value may have.
|
|
28
|
-
* @attr {
|
|
27
|
+
* @attr {string} pattern - Regular expression the value has to match, as the native `pattern`.
|
|
28
|
+
* @attr {boolean} no-spellcheck - Disables browser spellchecking on the inner input
|
|
29
29
|
*
|
|
30
30
|
* @fires input - When the input value changes; detail: { value: string }
|
|
31
31
|
* @fires change - When the input value is committed; detail: { value: string }
|
|
@@ -42,11 +42,14 @@ import './../../actions/icon-button/icon-button.js';
|
|
|
42
42
|
import './../../actions/button/button.js';
|
|
43
43
|
import './../../content/icon/icon.js';
|
|
44
44
|
import { DescribedBy } from '../../../utilities/described-by-mixin.js';
|
|
45
|
+
import { translate } from '../../../utilities/translations.js';
|
|
45
46
|
let NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(LitElement)) {
|
|
46
47
|
constructor() {
|
|
47
48
|
super(...arguments);
|
|
48
49
|
this._initialValue = '';
|
|
49
|
-
this.
|
|
50
|
+
this.size = 'md';
|
|
51
|
+
/** Optional fixed width (any CSS length). When unset, the field stretches to fill its container. */
|
|
52
|
+
this.width = '';
|
|
50
53
|
this.placeholder = 'Zoeken';
|
|
51
54
|
/** Accessible label forwarded as aria-label to the native input.
|
|
52
55
|
* Use to describe what is being searched, e.g. "Zoek een document".
|
|
@@ -54,18 +57,9 @@ let NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(L
|
|
|
54
57
|
* Set an explicit accessible-label when a value is already present and the
|
|
55
58
|
* placeholder is no longer visible, to ensure screen readers still have context. */
|
|
56
59
|
this.accessibleLabel = '';
|
|
57
|
-
this.size = 'md';
|
|
58
|
-
this.disabled = false;
|
|
59
|
-
this.name = '';
|
|
60
60
|
this.showSearchButton = false;
|
|
61
61
|
/** Override one or more translation keys. Unset keys fall back to Dutch. */
|
|
62
62
|
this.translations = {};
|
|
63
|
-
this.noSpellcheck = false;
|
|
64
|
-
/** Optional fixed width (any CSS length). When unset, the field stretches to fill its container. */
|
|
65
|
-
this.width = '';
|
|
66
|
-
this.required = false;
|
|
67
|
-
/** Regular expression the value has to match, as the native `pattern`. */
|
|
68
|
-
this.pattern = '';
|
|
69
63
|
/**
|
|
70
64
|
* Marks the control as invalid.
|
|
71
65
|
*
|
|
@@ -76,6 +70,13 @@ let NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(L
|
|
|
76
70
|
* choosing not to show something is not a reason to keep quiet about it.
|
|
77
71
|
*/
|
|
78
72
|
this.invalid = false;
|
|
73
|
+
this.disabled = false;
|
|
74
|
+
this.name = '';
|
|
75
|
+
this.value = '';
|
|
76
|
+
this.required = false;
|
|
77
|
+
/** Regular expression the value has to match, as the native `pattern`. */
|
|
78
|
+
this.pattern = '';
|
|
79
|
+
this.noSpellcheck = false;
|
|
79
80
|
}
|
|
80
81
|
firstUpdated() {
|
|
81
82
|
this._initialValue = this.value;
|
|
@@ -103,7 +104,7 @@ let NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(L
|
|
|
103
104
|
}
|
|
104
105
|
// — i18n ——————————————————————————————————————————————————————————————————
|
|
105
106
|
_t(key) {
|
|
106
|
-
return this.translations
|
|
107
|
+
return translate(this.translations, nlddSearchFieldTranslations, key);
|
|
107
108
|
}
|
|
108
109
|
// — Handlers ————————————————————————————————————————————————————————————
|
|
109
110
|
// The native input/change events are composed, so without stopPropagation
|
|
@@ -185,23 +186,20 @@ NLDDSearchField.isFormInput = true;
|
|
|
185
186
|
* would submit the form. See utilities/implicit-submission.ts. */
|
|
186
187
|
NLDDSearchField.blocksImplicitSubmission = true;
|
|
187
188
|
__decorate([
|
|
188
|
-
property({
|
|
189
|
-
], NLDDSearchField.prototype, "
|
|
189
|
+
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
190
|
+
], NLDDSearchField.prototype, "size", void 0);
|
|
191
|
+
__decorate([
|
|
192
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
193
|
+
], NLDDSearchField.prototype, "width", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
query('.search-field__input')
|
|
196
|
+
], NLDDSearchField.prototype, "_input", void 0);
|
|
190
197
|
__decorate([
|
|
191
198
|
property({ type: String })
|
|
192
199
|
], NLDDSearchField.prototype, "placeholder", void 0);
|
|
193
200
|
__decorate([
|
|
194
201
|
property({ type: String, attribute: 'accessible-label' })
|
|
195
202
|
], NLDDSearchField.prototype, "accessibleLabel", void 0);
|
|
196
|
-
__decorate([
|
|
197
|
-
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
198
|
-
], NLDDSearchField.prototype, "size", void 0);
|
|
199
|
-
__decorate([
|
|
200
|
-
property({ type: Boolean, reflect: true })
|
|
201
|
-
], NLDDSearchField.prototype, "disabled", void 0);
|
|
202
|
-
__decorate([
|
|
203
|
-
property({ reflect: true, converter: reflectNonDefault('') })
|
|
204
|
-
], NLDDSearchField.prototype, "name", void 0);
|
|
205
203
|
__decorate([
|
|
206
204
|
property({ type: Boolean, reflect: true, attribute: 'show-search-button' })
|
|
207
205
|
], NLDDSearchField.prototype, "showSearchButton", void 0);
|
|
@@ -209,20 +207,20 @@ __decorate([
|
|
|
209
207
|
property({ type: Object })
|
|
210
208
|
], NLDDSearchField.prototype, "translations", void 0);
|
|
211
209
|
__decorate([
|
|
212
|
-
property({ type: Boolean, reflect: true
|
|
213
|
-
], NLDDSearchField.prototype, "
|
|
210
|
+
property({ type: Boolean, reflect: true })
|
|
211
|
+
], NLDDSearchField.prototype, "invalid", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
property({ type: Boolean, reflect: true })
|
|
214
|
+
], NLDDSearchField.prototype, "disabled", void 0);
|
|
214
215
|
__decorate([
|
|
215
216
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
216
|
-
], NLDDSearchField.prototype, "
|
|
217
|
+
], NLDDSearchField.prototype, "name", void 0);
|
|
217
218
|
__decorate([
|
|
218
|
-
|
|
219
|
-
], NLDDSearchField.prototype, "
|
|
219
|
+
property({ type: String })
|
|
220
|
+
], NLDDSearchField.prototype, "value", void 0);
|
|
220
221
|
__decorate([
|
|
221
222
|
property({ type: Boolean, reflect: true })
|
|
222
223
|
], NLDDSearchField.prototype, "required", void 0);
|
|
223
|
-
__decorate([
|
|
224
|
-
property({ reflect: true, converter: reflectNonDefault('') })
|
|
225
|
-
], NLDDSearchField.prototype, "pattern", void 0);
|
|
226
224
|
__decorate([
|
|
227
225
|
property({ type: Number, reflect: true })
|
|
228
226
|
], NLDDSearchField.prototype, "minlength", void 0);
|
|
@@ -230,8 +228,11 @@ __decorate([
|
|
|
230
228
|
property({ type: Number, reflect: true })
|
|
231
229
|
], NLDDSearchField.prototype, "maxlength", void 0);
|
|
232
230
|
__decorate([
|
|
233
|
-
property({
|
|
234
|
-
], NLDDSearchField.prototype, "
|
|
231
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
232
|
+
], NLDDSearchField.prototype, "pattern", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
property({ type: Boolean, reflect: true, attribute: 'no-spellcheck' })
|
|
235
|
+
], NLDDSearchField.prototype, "noSpellcheck", void 0);
|
|
235
236
|
NLDDSearchField = __decorate([
|
|
236
237
|
customElement('nldd-search-field')
|
|
237
238
|
], NLDDSearchField);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAkB,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,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,kCAAkC,CAAC;AAC1C,OAAO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
|
-
{"version":3,"file":"search-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;AAEtC,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,eAAe,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"search-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;AAEtC,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,eAAe,GAAG,cAAc,CA4D9E"}
|
|
@@ -11,8 +11,10 @@ export function searchFieldTemplate(component) {
|
|
|
11
11
|
return html `
|
|
12
12
|
<div class="search-field">
|
|
13
13
|
<label class="search-field__label">
|
|
14
|
-
<div class="search-field__search-icon"
|
|
15
|
-
|
|
14
|
+
<div class="search-field__search-icon"
|
|
15
|
+
aria-hidden="true"
|
|
16
|
+
>
|
|
17
|
+
<nldd-icon icon="search"></nldd-icon>
|
|
16
18
|
</div>
|
|
17
19
|
<input class="search-field__input"
|
|
18
20
|
?required=${component.required}
|
|
@@ -37,7 +39,7 @@ export function searchFieldTemplate(component) {
|
|
|
37
39
|
${component.value ? html `
|
|
38
40
|
<div class="search-field__clear-button">
|
|
39
41
|
<nldd-icon-button
|
|
40
|
-
|
|
42
|
+
appearance="neutral-transparent"
|
|
41
43
|
size=${buttonSize}
|
|
42
44
|
icon="dismiss"
|
|
43
45
|
text=${component._t('components.search-field.clear-action')}
|
|
@@ -48,7 +50,7 @@ export function searchFieldTemplate(component) {
|
|
|
48
50
|
${component.showSearchButton ? html `
|
|
49
51
|
<div class="search-field__search-button">
|
|
50
52
|
<nldd-button
|
|
51
|
-
|
|
53
|
+
appearance="neutral-tinted"
|
|
52
54
|
size=${buttonSize}
|
|
53
55
|
text=${component._t('components.search-field.search-action')}
|
|
54
56
|
@click=${component._handleSearch}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;AAEtC,MAAM,UAAU,mBAAmB,CAAC,SAA0B;IAC7D,MAAM,UAAU,GAAG,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACzD,2EAA2E;IAC3E,0EAA0E;IAC1E,gEAAgE;IAChE,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC,gBAAgB,CAAC;IAEtE,OAAO,IAAI,CAAA
|
|
1
|
+
{"version":3,"file":"search-field.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;AAEtC,MAAM,UAAU,mBAAmB,CAAC,SAA0B;IAC7D,MAAM,UAAU,GAAG,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACzD,2EAA2E;IAC3E,0EAA0E;IAC1E,gEAAgE;IAChE,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC,gBAAgB,CAAC;IAEtE,OAAO,IAAI,CAAA;;;;;;;;;iBASK,SAAS,CAAC,QAAQ;eACpB,SAAS,CAAC,OAAO,IAAI,OAAO;iBAC1B,SAAS,CAAC,SAAS,IAAI,OAAO;iBAC9B,SAAS,CAAC,SAAS,IAAI,OAAO;;cAEjC,SAAS,CAAC,KAAK;mBACV,SAAS,CAAC,WAAW;kBACtB,SAAS,CAAC,eAAe,IAAI,SAAS,CAAC,WAAW,IAAI,OAAO;iBAC9D,SAAS,CAAC,QAAQ;YACvB,SAAS,CAAC,IAAI,IAAI,OAAO;kBACnB,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM;cAC7C,SAAS,CAAC,YAAY;eACrB,SAAS,CAAC,aAAa;gBACtB,SAAS,CAAC,cAAc;;;KAGnC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA;;;OAGX,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA;;;;eAId,UAAU;;eAEV,SAAS,CAAC,EAAE,CAAC,sCAAsC,CAAC;iBAClD,SAAS,CAAC,YAAY;;;MAGjC,CAAC,CAAC,CAAC,OAAO;OACT,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAA;;;;eAIzB,UAAU;eACV,SAAS,CAAC,EAAE,CAAC,uCAAuC,CAAC;iBACnD,SAAS,CAAC,aAAa;;;MAGlC,CAAC,CAAC,CAAC,OAAO;;IAEZ,CAAC,CAAC,CAAC,OAAO;;EAEZ,CAAC;AACH,CAAC"}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* @element nldd-segmented-control
|
|
8
8
|
* @attr {string} value - Selected value for radio type
|
|
9
9
|
* @prop {string[]} values - Selected values for checkbox type (property binding only, not an attribute)
|
|
10
|
+
* @attr {string} appearance - Visual style, color included: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). neutral-base is for a tinted surface. For a quiet row without a track, use nldd-toggle-button-group with type="radio" and a transparent appearance.
|
|
10
11
|
* @attr {string} size - Control size: 'sm' | 'md' | 'lg' (default: 'md')
|
|
11
12
|
* @attr {string} type - Selection mode: 'radio' | 'checkbox' (default: 'radio').
|
|
12
13
|
* @attr {string} variant - Content type for all items: 'text' | 'icon' | 'icon-and-text' (default: 'text')
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
* @attr {boolean} disabled - Disabled state
|
|
31
32
|
* @attr {string} text - Text label (shown for variant "text" and "icon-and-text"; used as aria-label and tooltip for variant "icon")
|
|
32
33
|
* @attr {string} icon - Icon name for nldd-icon
|
|
34
|
+
* @attr {string} appearance - Visual style: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). Set by nldd-segmented-control.
|
|
33
35
|
* @attr {string} size - Control size: 'sm' | 'md' | 'lg' (default: 'md'). Set by nldd-segmented-control.
|
|
34
36
|
* @attr {string} variant - Content type: 'text' | 'icon' | 'icon-and-text' (default: 'text'). Set by nldd-segmented-control.
|
|
35
37
|
* @attr {string} input-type - Selection mode: 'radio' | 'checkbox' (default: 'radio'). In radio mode the item is the radio itself, in checkbox mode it renders a native checkbox. Set by nldd-segmented-control.
|
|
@@ -44,6 +46,7 @@ import { LitElement } from 'lit';
|
|
|
44
46
|
import { type FormValue } from '../../../utilities/form-associated-mixin.js';
|
|
45
47
|
import { type RadioPosition } from '../../../utilities/radio-position.js';
|
|
46
48
|
import './../../content/icon/icon.js';
|
|
49
|
+
export type SegmentedControlAppearance = 'neutral-tinted' | 'neutral-base';
|
|
47
50
|
export type SegmentedControlSize = 'sm' | 'md' | 'lg';
|
|
48
51
|
export type SegmentedControlType = 'radio' | 'checkbox';
|
|
49
52
|
export type SegmentedControlVariant = 'text' | 'icon' | 'icon-and-text';
|
|
@@ -53,6 +56,8 @@ export declare class NLDDSegmentedControlItem extends LitElement {
|
|
|
53
56
|
value: string;
|
|
54
57
|
selected: boolean;
|
|
55
58
|
disabled: boolean;
|
|
59
|
+
/** Set by nldd-segmented-control. Not part of the public API. */
|
|
60
|
+
appearance: SegmentedControlAppearance;
|
|
56
61
|
/** Control size: 'sm' | 'md' | 'lg'. Set by nldd-segmented-control. Not part of the public API. */
|
|
57
62
|
size: SegmentedControlSize;
|
|
58
63
|
/** Set by nldd-segmented-control. Not part of the public API. */
|
|
@@ -149,6 +154,7 @@ export declare class NLDDSegmentedControl extends NLDDSegmentedControl_base {
|
|
|
149
154
|
* Does not reflect to an attribute — safe for values containing spaces or special characters.
|
|
150
155
|
*/
|
|
151
156
|
values: string[];
|
|
157
|
+
appearance: SegmentedControlAppearance;
|
|
152
158
|
size: SegmentedControlSize;
|
|
153
159
|
type: SegmentedControlType;
|
|
154
160
|
/** Content type applied to all items: text, icon, or icon-and-text. Per-item mixing is not supported. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/segmented-control/segmented-control.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/segmented-control/segmented-control.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjC,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAE7F,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAS1F,OAAO,8BAA8B,CAAC;AAKtC,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACtD,MAAM,MAAM,oBAA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AAa,IAAI,IAAI;IAI5B;;;;OAIG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAKnC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,wBAAwB,EAAE,oBAAoB,CAAC;QAC/C,6BAA6B,EAAE,wBAAwB,CAAC;KACxD;CACD"}
|
|
@@ -14,6 +14,7 @@ var NLDDSegmentedControl_1;
|
|
|
14
14
|
* @element nldd-segmented-control
|
|
15
15
|
* @attr {string} value - Selected value for radio type
|
|
16
16
|
* @prop {string[]} values - Selected values for checkbox type (property binding only, not an attribute)
|
|
17
|
+
* @attr {string} appearance - Visual style, color included: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). neutral-base is for a tinted surface. For a quiet row without a track, use nldd-toggle-button-group with type="radio" and a transparent appearance.
|
|
17
18
|
* @attr {string} size - Control size: 'sm' | 'md' | 'lg' (default: 'md')
|
|
18
19
|
* @attr {string} type - Selection mode: 'radio' | 'checkbox' (default: 'radio').
|
|
19
20
|
* @attr {string} variant - Content type for all items: 'text' | 'icon' | 'icon-and-text' (default: 'text')
|
|
@@ -37,6 +38,7 @@ var NLDDSegmentedControl_1;
|
|
|
37
38
|
* @attr {boolean} disabled - Disabled state
|
|
38
39
|
* @attr {string} text - Text label (shown for variant "text" and "icon-and-text"; used as aria-label and tooltip for variant "icon")
|
|
39
40
|
* @attr {string} icon - Icon name for nldd-icon
|
|
41
|
+
* @attr {string} appearance - Visual style: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). Set by nldd-segmented-control.
|
|
40
42
|
* @attr {string} size - Control size: 'sm' | 'md' | 'lg' (default: 'md'). Set by nldd-segmented-control.
|
|
41
43
|
* @attr {string} variant - Content type: 'text' | 'icon' | 'icon-and-text' (default: 'text'). Set by nldd-segmented-control.
|
|
42
44
|
* @attr {string} input-type - Selection mode: 'radio' | 'checkbox' (default: 'radio'). In radio mode the item is the radio itself, in checkbox mode it renders a native checkbox. Set by nldd-segmented-control.
|
|
@@ -65,6 +67,8 @@ let NLDDSegmentedControlItem = class NLDDSegmentedControlItem extends LitElement
|
|
|
65
67
|
this.value = '';
|
|
66
68
|
this.selected = false;
|
|
67
69
|
this.disabled = false;
|
|
70
|
+
/** Set by nldd-segmented-control. Not part of the public API. */
|
|
71
|
+
this.appearance = 'neutral-tinted';
|
|
68
72
|
/** Control size: 'sm' | 'md' | 'lg'. Set by nldd-segmented-control. Not part of the public API. */
|
|
69
73
|
this.size = 'md';
|
|
70
74
|
/** Set by nldd-segmented-control. Not part of the public API. */
|
|
@@ -225,6 +229,9 @@ __decorate([
|
|
|
225
229
|
__decorate([
|
|
226
230
|
property({ type: Boolean, reflect: true })
|
|
227
231
|
], NLDDSegmentedControlItem.prototype, "disabled", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
property({ reflect: true, converter: reflectNonDefault('neutral-tinted') })
|
|
234
|
+
], NLDDSegmentedControlItem.prototype, "appearance", void 0);
|
|
228
235
|
__decorate([
|
|
229
236
|
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
230
237
|
], NLDDSegmentedControlItem.prototype, "size", void 0);
|
|
@@ -289,6 +296,7 @@ let NLDDSegmentedControl = NLDDSegmentedControl_1 = class NLDDSegmentedControl e
|
|
|
289
296
|
* Does not reflect to an attribute — safe for values containing spaces or special characters.
|
|
290
297
|
*/
|
|
291
298
|
this.values = [];
|
|
299
|
+
this.appearance = 'neutral-tinted';
|
|
292
300
|
this.size = 'md';
|
|
293
301
|
this.type = 'radio';
|
|
294
302
|
/** Content type applied to all items: text, icon, or icon-and-text. Per-item mixing is not supported. */
|
|
@@ -469,6 +477,7 @@ let NLDDSegmentedControl = NLDDSegmentedControl_1 = class NLDDSegmentedControl e
|
|
|
469
477
|
}
|
|
470
478
|
if (changedProperties.has('value') ||
|
|
471
479
|
changedProperties.has('values') ||
|
|
480
|
+
changedProperties.has('appearance') ||
|
|
472
481
|
changedProperties.has('size') ||
|
|
473
482
|
changedProperties.has('disabled') ||
|
|
474
483
|
changedProperties.has('type') ||
|
|
@@ -541,6 +550,7 @@ let NLDDSegmentedControl = NLDDSegmentedControl_1 = class NLDDSegmentedControl e
|
|
|
541
550
|
});
|
|
542
551
|
}
|
|
543
552
|
items.forEach(item => {
|
|
553
|
+
item.appearance = this.appearance;
|
|
544
554
|
item.size = this.size;
|
|
545
555
|
item.inputType = this.type;
|
|
546
556
|
item.variant = this.variant;
|
|
@@ -598,6 +608,9 @@ __decorate([
|
|
|
598
608
|
__decorate([
|
|
599
609
|
property({ type: Array, attribute: false })
|
|
600
610
|
], NLDDSegmentedControl.prototype, "values", void 0);
|
|
611
|
+
__decorate([
|
|
612
|
+
property({ reflect: true, converter: reflectNonDefault('neutral-tinted') })
|
|
613
|
+
], NLDDSegmentedControl.prototype, "appearance", void 0);
|
|
601
614
|
__decorate([
|
|
602
615
|
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
603
616
|
], NLDDSegmentedControl.prototype, "size", void 0);
|