@nldd/design-system 0.8.69 → 0.8.71
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 +12 -5
- package/custom-elements.json +31949 -0
- package/dist/assets/styles/style-resets.d.ts +1 -1
- package/dist/assets/styles/style-resets.js +1 -1
- package/dist/components/actions/button/button.d.ts +12 -5
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.i18n.d.ts +1 -1
- package/dist/components/actions/button/button.i18n.js +1 -1
- package/dist/components/actions/button/button.i18n.js.map +1 -1
- package/dist/components/actions/button/button.js +21 -4
- 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 +14 -3
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +6 -0
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +26 -37
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.d.ts +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.js +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +25 -36
- 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 +2 -1
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +47 -52
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +55 -54
- 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 +8 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.js +1 -1
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +14 -4
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +34 -11
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +3 -3
- package/dist/components/components.js +88 -82
- package/dist/components/content/avatar/avatar.d.ts +44 -12
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.i18n.d.ts +5 -0
- package/dist/components/content/avatar/avatar.i18n.d.ts.map +1 -0
- package/dist/components/content/avatar/avatar.i18n.js +4 -0
- package/dist/components/content/avatar/avatar.i18n.js.map +1 -0
- package/dist/components/content/avatar/avatar.js +87 -13
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +46 -10
- package/dist/components/content/avatar/avatar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.template.d.ts +2 -1
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +53 -23
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/byline/byline.d.ts +6 -6
- package/dist/components/content/byline/byline.js +6 -6
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +4 -2
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +5 -4
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +36 -5
- 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 +42 -6
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +14 -16
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +13 -15
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +7 -4
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/image/image.d.ts +11 -9
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +11 -9
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.js +2 -2
- package/dist/components/content/image/image.template.js +2 -2
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/image/lqip-encoder-element.d.ts.map +1 -1
- package/dist/components/content/image/lqip-encoder-element.js +1 -0
- package/dist/components/content/image/lqip-encoder-element.js.map +1 -1
- package/dist/components/content/image/lqip-encoder.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +4 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +4 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +2 -2
- package/dist/components/content/rich-text/rich-text.d.ts +4 -4
- package/dist/components/content/rich-text/rich-text.js +4 -4
- package/dist/components/content/token/token.d.ts +7 -7
- package/dist/components/content/token/token.js +7 -7
- package/dist/components/content/token/token.styles.d.ts.map +1 -1
- package/dist/components/content/token/token.styles.js +1 -0
- package/dist/components/content/token/token.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +4 -14
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +4 -14
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +10 -19
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +10 -19
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +2 -6
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +2 -6
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +7 -14
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +7 -14
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +15 -2
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -3
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -3
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/{index-Bf4pa5Bp.js → index-CDK46KLh.js} +1 -1
- package/dist/components/{index-CXC-Objp.js → index-CbaaFM8N.js} +1 -1
- package/dist/components/{index-DZo3DrGQ.js → index-DRtuMofR.js} +1 -1
- package/dist/components/{index-BfOpap4b.js → index-DuvuHfMi.js} +1 -1
- package/dist/components/{index-CfvgUB5p.js → index-DzJola_U.js} +1 -1
- package/dist/components/{index-DB-i084x.js → index-n8evy8Za.js} +1 -1
- package/dist/components/{index-VwuVCCal.js → index-t08wCuGl.js} +11121 -7148
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +11 -11
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +11 -15
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +2 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +20 -6
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +29 -7
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +19 -18
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +23 -23
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.d.ts +26 -29
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +74 -39
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +7 -7
- package/dist/components/inputs/date-field/date-field.d.ts +227 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -0
- package/dist/components/inputs/date-field/date-field.i18n.d.ts +11 -0
- package/dist/components/inputs/date-field/date-field.i18n.d.ts.map +1 -0
- package/dist/components/inputs/date-field/date-field.i18n.js +17 -0
- package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -0
- package/dist/components/inputs/date-field/date-field.js +586 -0
- package/dist/components/inputs/date-field/date-field.js.map +1 -0
- package/dist/components/inputs/date-field/date-field.styles.d.ts +2 -0
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -0
- package/dist/components/inputs/date-field/date-field.styles.js +246 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -0
- package/dist/components/inputs/date-field/date-field.template.d.ts +17 -0
- package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -0
- package/dist/components/inputs/date-field/date-field.template.js +141 -0
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts +271 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/inputs/date-picker/date-picker.i18n.d.ts +64 -0
- package/dist/components/inputs/date-picker/date-picker.i18n.d.ts.map +1 -0
- package/dist/components/inputs/date-picker/date-picker.i18n.js +81 -0
- package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -0
- package/dist/components/inputs/date-picker/date-picker.js +768 -0
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -0
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts +2 -0
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -0
- package/dist/components/inputs/date-picker/date-picker.styles.js +345 -0
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -0
- package/dist/components/inputs/date-picker/date-picker.template.d.ts +8 -0
- package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -0
- package/dist/components/inputs/date-picker/date-picker.template.js +223 -0
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts +4 -4
- package/dist/components/inputs/dropdown/dropdown.js +4 -4
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +1 -0
- 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 +22 -21
- 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 +24 -26
- 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.js +5 -5
- package/dist/components/inputs/number-field/number-field.d.ts +17 -20
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +20 -23
- 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/password-field/password-field.d.ts +25 -23
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +27 -28
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +7 -7
- package/dist/components/inputs/radio-button/radio-button.d.ts +11 -8
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +10 -12
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +3 -2
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +25 -5
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +33 -6
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +3 -2
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +17 -9
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +15 -17
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +19 -22
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +5 -5
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +31 -24
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +52 -53
- 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 +5 -4
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +14 -13
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +13 -17
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +1 -0
- package/dist/components/inputs/stepper/stepper.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +12 -11
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +13 -16
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +7 -6
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +4 -4
- package/dist/components/inputs/switch-field/switch-field.js +4 -4
- package/dist/components/inputs/text-editor/text-editor.caret.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.caret.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +21 -21
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +27 -27
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +4 -4
- package/dist/components/inputs/text-editor/text-editor.markdown.js +7 -7
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +14 -14
- package/dist/components/inputs/text-field/text-field.d.ts +20 -18
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +22 -23
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +3 -3
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +14 -13
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +18 -18
- 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 +1 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +7 -7
- 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 +25 -17
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +24 -29
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.d.ts +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 +35 -39
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +4 -4
- package/dist/components/inputs/token-field/token-field.template.js +1 -1
- package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
- package/dist/components/layout/app-view/app-view.d.ts +16 -4
- package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.js +18 -13
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +1 -1
- package/dist/components/layout/box/box.js +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +8 -18
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +26 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.i18n.d.ts +1 -1
- package/dist/components/layout/card/card.i18n.js +1 -1
- package/dist/components/layout/card/card.i18n.js.map +1 -1
- package/dist/components/layout/card/card.js +51 -14
- 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 +41 -4
- 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 +14 -6
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +3 -10
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +3 -10
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +21 -3
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +47 -24
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +47 -24
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +1 -1
- package/dist/components/layout/page/page.js +2 -2
- package/dist/components/layout/page-footer/page-footer.d.ts +10 -12
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +11 -13
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +8 -1
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -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 +1 -3
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -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 +1 -3
- 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-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -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 +1 -3
- 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/sidebar-section/sidebar-section.d.ts +20 -18
- 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 +26 -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.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +20 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -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 +1 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -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 +1 -3
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +34 -46
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +99 -51
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +20 -16
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +62 -27
- 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 +6 -1
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.template.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.template.js +1 -0
- package/dist/components/layout/sheet/sheet.template.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +4 -4
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -4
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +17 -17
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +17 -17
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +1 -0
- 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 +5 -0
- 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/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +27 -0
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -2
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +2 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +3 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +24 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +34 -19
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +76 -29
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +5 -1
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/layout/window/window.template.d.ts.map +1 -1
- package/dist/components/layout/window/window.template.js +2 -0
- package/dist/components/layout/window/window.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +2 -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.i18n.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +3 -2
- 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.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.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 +1 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +43 -9
- 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 +69 -9
- 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.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +96 -43
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +19 -7
- 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.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +89 -29
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.d.ts +4 -4
- package/dist/components/lists-and-tables/list/list.i18n.js +4 -4
- package/dist/components/lists-and-tables/list/list.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +214 -68
- 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 +29 -22
- 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 +4 -3
- 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 +198 -17
- 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.i18n.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +476 -44
- 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 +133 -101
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +51 -24
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts +108 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.js +228 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js +145 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts +3 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.js +35 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.js.map +1 -0
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +4 -2
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -7
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +5 -7
- 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.d.ts +15 -16
- 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.i18n.d.ts +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +14 -15
- 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.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +1 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +2 -2
- package/dist/components/navigation/link/link.i18n.d.ts +1 -1
- package/dist/components/navigation/link/link.i18n.js +1 -1
- package/dist/components/navigation/link/link.i18n.js.map +1 -1
- package/dist/components/navigation/link/link.template.js +1 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +1 -0
- package/dist/components/navigation/menu-bar/menu-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +2 -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 +2 -1
- 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.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +1 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +1 -0
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.i18n.d.ts +1 -1
- package/dist/components/navigation/pagination/pagination.i18n.js +1 -1
- package/dist/components/navigation/pagination/pagination.i18n.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +1 -0
- 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 +6 -5
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +1 -1
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +11 -9
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +11 -9
- 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 +8 -7
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +22 -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 +22 -1
- 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 +9 -4
- 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.d.ts +11 -1
- 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 +29 -4
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +3 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.js +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -4
- 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 +6 -6
- package/dist/components/status-and-feedback/badge/badge.d.ts +2 -2
- package/dist/components/status-and-feedback/badge/badge.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/badge/badge.i18n.js +1 -1
- package/dist/components/status-and-feedback/badge/badge.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +1 -1
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +9 -9
- package/dist/components/status-and-feedback/banner/banner.js +9 -9
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +6 -6
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +6 -6
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +7 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +10 -8
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +17 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +22 -8
- 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 +63 -27
- 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 +1 -0
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +13 -13
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.d.ts +2 -2
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js +2 -2
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +14 -14
- 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.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +1 -1
- 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 +15 -15
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.d.ts +2 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js +2 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +20 -20
- 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.js +4 -4
- 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.d.ts +4 -4
- package/dist/components/status-and-feedback/status-bar/status-bar.js +4 -4
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +124 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts +9 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js +8 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +210 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts +3 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js +294 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts +5 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +69 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js.map +1 -0
- package/dist/css/form.css +16 -7
- package/dist/css/settings.css +68 -73
- package/dist/types/vue.d.ts +3421 -0
- package/dist/utilities/autofocus.d.ts +19 -0
- package/dist/utilities/autofocus.d.ts.map +1 -0
- package/dist/utilities/autofocus.js +35 -0
- package/dist/utilities/autofocus.js.map +1 -0
- package/dist/utilities/codemirror/theme.js +2 -2
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/color-scheme-repaint.d.ts +2 -2
- package/dist/utilities/color-scheme-repaint.js +2 -2
- package/dist/utilities/form-associated-mixin.d.ts +33 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -0
- package/dist/utilities/form-associated-mixin.js +52 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -0
- package/dist/utilities/input-modality.d.ts +3 -1
- package/dist/utilities/input-modality.d.ts.map +1 -1
- package/dist/utilities/input-modality.js +12 -1
- package/dist/utilities/input-modality.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +1 -1
- package/dist/utilities/page-section-mixin.js +2 -2
- package/dist/utilities/popup-anchor-controller.d.ts +2 -2
- package/dist/utilities/resolve-date-bound.d.ts +21 -0
- package/dist/utilities/resolve-date-bound.d.ts.map +1 -0
- package/dist/utilities/resolve-date-bound.js +75 -0
- package/dist/utilities/resolve-date-bound.js.map +1 -0
- package/package.json +39 -7
|
@@ -92,7 +92,7 @@ export const textEditorStyles = css `
|
|
|
92
92
|
--_corner-radius: var(--primitives-corner-radius-lg);
|
|
93
93
|
--_background-color: var(--semantics-input-fields-background-color);
|
|
94
94
|
--_highlight-border-color: var(--semantics-input-fields-border-color);
|
|
95
|
-
--_highlight-border-shadow: inset 0 0 0 var(--semantics-input-fields-border-
|
|
95
|
+
--_highlight-border-shadow: inset 0 0 0 var(--semantics-input-fields-border-width) var(--_highlight-border-color);
|
|
96
96
|
--_padding-block: var(--semantics-controls-md-inline-padding);
|
|
97
97
|
--_padding-inline: var(--semantics-controls-md-inline-padding);
|
|
98
98
|
}
|
|
@@ -147,14 +147,14 @@ export const textEditorStyles = css `
|
|
|
147
147
|
|
|
148
148
|
/* Prominent accent caret in both variants (the input-field variant additionally has the focus
|
|
149
149
|
ring). The doubled class is purely for specificity — it outweighs
|
|
150
|
-
CodeMirror's theme cursor
|
|
150
|
+
CodeMirror's theme cursor color without depending on an attribute. */
|
|
151
151
|
:host .cm-cursor.cm-cursor {
|
|
152
152
|
/* accent-700: it keeps a >=525 lightness gap from both the base and tinted
|
|
153
153
|
surfaces in light and dark (accent-600 fell just short on white), so the
|
|
154
154
|
caret stays clearly visible without washing out. */
|
|
155
155
|
border-left-color: var(--primitives-color-accent-700);
|
|
156
156
|
border-left-width: var(--__caret-width);
|
|
157
|
-
/* A thin surface-
|
|
157
|
+
/* A thin surface-colored halo, like the drop cursor, so the caret stays legible
|
|
158
158
|
even over a tinted token (annotation, inline code) where the accent alone can
|
|
159
159
|
blend in. Blinks with the caret (opacity covers the shadow too). */
|
|
160
160
|
box-shadow: 0 0 0 var(--primitives-border-width-thin) var(--semantics-surfaces-base-background-color);
|
|
@@ -332,14 +332,14 @@ export const textEditorStyles = css `
|
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
/* The markdown highlight style tints the URL token (teal); make its span inherit
|
|
335
|
-
the dimmed
|
|
335
|
+
the dimmed color so the address reads as secondary, like the surrounding marks. */
|
|
336
336
|
.cm-md-url span {
|
|
337
337
|
color: inherit;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
/* A bare / autolinked URL reads as the link itself:
|
|
340
|
+
/* A bare / autolinked URL reads as the link itself: color it like link text,
|
|
341
341
|
and override the highlight-style URL tint (teal) on its token span so the
|
|
342
|
-
whole address is the link
|
|
342
|
+
whole address is the link color, not just the mark wrapper. */
|
|
343
343
|
.cm-md-autolink {
|
|
344
344
|
color: var(--semantics-links-color);
|
|
345
345
|
}
|
|
@@ -358,7 +358,7 @@ export const textEditorStyles = css `
|
|
|
358
358
|
font-size: var(--primitives-font-size-90);
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
/* Markers: dimmed (secondary
|
|
361
|
+
/* Markers: dimmed (secondary color, not opacity, so contrast holds) and
|
|
362
362
|
monospace at the 16px marker size — tidy, and a fixed-width leading prefix. */
|
|
363
363
|
.cm-md-mark {
|
|
364
364
|
color: var(--semantics-content-secondary-color);
|
|
@@ -403,13 +403,13 @@ export const textEditorStyles = css `
|
|
|
403
403
|
/* # Annotation overlay
|
|
404
404
|
A light body tint + a dashed underline mark the annotated text; a solid
|
|
405
405
|
badge (the nub) sits at the end carrying the count. One role for all
|
|
406
|
-
annotations — the type is communicated by the consumer's pane, not
|
|
407
|
-
The dashed line is a non-
|
|
406
|
+
annotations — the type is communicated by the consumer's pane, not color.
|
|
407
|
+
The dashed line is a non-color cue (with the badge) for accessibility. */
|
|
408
408
|
|
|
409
409
|
/* One cohesive yellow block: the light tint with rounded corners and a reserved
|
|
410
410
|
space on the right for the solid nub (which lives inside this run, so it
|
|
411
411
|
shares the tint and wraps with the text). The dashed underline stays as a
|
|
412
|
-
non-
|
|
412
|
+
non-color cue. box-decoration-break keeps the tint + rounding on every
|
|
413
413
|
wrapped fragment; padding-block extends the tint without growing the line
|
|
414
414
|
(vertical padding on an inline box is visual only). */
|
|
415
415
|
.cm-annotation {
|
|
@@ -436,7 +436,7 @@ export const textEditorStyles = css `
|
|
|
436
436
|
/* Selected annotation text in a darker yellow: the whole annotation
|
|
437
437
|
(.cm-annotation.is-selected) or a slice of a partly-selected one (nested,
|
|
438
438
|
.cm-annotation .is-selected). drawSelection's layer sits behind the tint, so this
|
|
439
|
-
stands in for the hidden selection; the text takes the strongest content
|
|
439
|
+
stands in for the hidden selection; the text takes the strongest content color. */
|
|
440
440
|
.cm-annotation.is-selected,
|
|
441
441
|
.cm-annotation .is-selected {
|
|
442
442
|
background-color: var(--_annotation-token-is-selected-background-color);
|
|
@@ -466,7 +466,7 @@ export const textEditorStyles = css `
|
|
|
466
466
|
background-color: var(--_annotation-token-badge-background-color);
|
|
467
467
|
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_annotation-token-badge-highlight-border-color);
|
|
468
468
|
color: var(--_annotation-token-badge-content-color);
|
|
469
|
-
/* vertical-align: middle lands the nub ~1px below the text's em-box
|
|
469
|
+
/* vertical-align: middle lands the nub ~1px below the text's em-box center, and
|
|
470
470
|
the optical middle of the ink sits higher again, so it reads low; nudge up onto
|
|
471
471
|
it. The em is the badge's own (scaled-down) font size, so the value is larger
|
|
472
472
|
than it looks and scales with the token in headings. */
|
|
@@ -526,7 +526,7 @@ export const textEditorStyles = css `
|
|
|
526
526
|
|
|
527
527
|
/* Drop cursor shown while dragging selected text to a new spot. An absolutely
|
|
528
528
|
positioned overlay (not an inline widget), so it never splits an annotation it
|
|
529
|
-
lands inside. A thin surface-
|
|
529
|
+
lands inside. A thin surface-colored halo keeps the accent bar clearly visible
|
|
530
530
|
over tinted tokens too. Left/top/height are set by the drop-cursor plugin. */
|
|
531
531
|
.cm-drag-and-drop-cursor {
|
|
532
532
|
position: absolute;
|
|
@@ -565,7 +565,7 @@ export const textEditorStyles = css `
|
|
|
565
565
|
background-color: var(--_link-badge-background-color);
|
|
566
566
|
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_link-badge-highlight-border-color);
|
|
567
567
|
color: var(--_link-badge-content-color);
|
|
568
|
-
/* Match the annotation nub's optical
|
|
568
|
+
/* Match the annotation nub's optical centering next to the ink. */
|
|
569
569
|
vertical-align: middle;
|
|
570
570
|
transform: translateY(-0.05em);
|
|
571
571
|
text-decoration: none;
|
|
@@ -3,29 +3,31 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @element nldd-text-field
|
|
5
5
|
*
|
|
6
|
-
* @attr {string} value
|
|
7
|
-
* @attr {string} placeholder
|
|
8
|
-
* @attr {string} input-id
|
|
9
|
-
* @attr {string} size
|
|
10
|
-
* @attr {boolean} invalid
|
|
11
|
-
* @attr {boolean} valid
|
|
12
|
-
* @attr {boolean} disabled
|
|
13
|
-
* @attr {string} type
|
|
14
|
-
* @attr {string} name
|
|
15
|
-
* @attr {boolean} readonly
|
|
16
|
-
* @attr {boolean} required
|
|
6
|
+
* @attr {string} value - The input value
|
|
7
|
+
* @attr {string} placeholder - Placeholder text
|
|
8
|
+
* @attr {string} input-id - Sets the id on the native input. Set automatically by nldd-form-field.
|
|
9
|
+
* @attr {string} size - 'md' (default) | 'sm'. Set automatically by nldd-form-field.
|
|
10
|
+
* @attr {boolean} invalid - Marks the field as invalid
|
|
11
|
+
* @attr {boolean} valid - Marks the field as valid
|
|
12
|
+
* @attr {boolean} disabled - Disabled state
|
|
13
|
+
* @attr {string} type - Input type: 'text' | 'email' | 'tel' | 'url'
|
|
14
|
+
* @attr {string} name - Input name for form submission
|
|
15
|
+
* @attr {boolean} readonly - Readonly state
|
|
16
|
+
* @attr {boolean} required - Required state
|
|
17
17
|
* @attr {string} autocomplete - Autocomplete hint
|
|
18
|
-
* @attr {string} accessible-label
|
|
18
|
+
* @attr {string} accessible-label - Accessible label forwarded to the inner input. Set automatically by nldd-form-field.
|
|
19
|
+
* @attr {string} error-message-ids - Ids for aria-describedby on the inner input. Set automatically by nldd-form-field.
|
|
19
20
|
* @attr {boolean} no-spellcheck - Disables browser spellchecking on the inner input
|
|
20
|
-
* @attr {string} width
|
|
21
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
21
22
|
*
|
|
22
|
-
* @fires input
|
|
23
|
+
* @fires input - When input value changes
|
|
23
24
|
* @fires change - When input value is committed
|
|
24
25
|
*/
|
|
25
26
|
import { LitElement, type PropertyValues } from 'lit';
|
|
27
|
+
import { type FormValue } from '../../../utilities/form-associated-mixin.js';
|
|
26
28
|
export type InputType = 'text' | 'email' | 'tel' | 'url';
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
declare const NLDDTextField_base: typeof LitElement & (abstract new (...args: any[]) => LitElement & import("../../../utilities/form-associated-mixin.js").FormAssociatedElement);
|
|
30
|
+
export declare class NLDDTextField extends NLDDTextField_base {
|
|
29
31
|
static shadowRootOptions: {
|
|
30
32
|
delegatesFocus: boolean;
|
|
31
33
|
clonable?: boolean;
|
|
@@ -35,7 +37,6 @@ export declare class NLDDTextField extends LitElement {
|
|
|
35
37
|
slotAssignment?: SlotAssignmentMode;
|
|
36
38
|
};
|
|
37
39
|
static styles: import("lit").CSSResult;
|
|
38
|
-
private _internals;
|
|
39
40
|
private _initialValue;
|
|
40
41
|
size: 'md' | 'sm';
|
|
41
42
|
value: string;
|
|
@@ -58,8 +59,8 @@ export declare class NLDDTextField extends LitElement {
|
|
|
58
59
|
private _input;
|
|
59
60
|
firstUpdated(): void;
|
|
60
61
|
updated(changed: PropertyValues): void;
|
|
62
|
+
formValue(): FormValue;
|
|
61
63
|
formResetCallback(): void;
|
|
62
|
-
formDisabledCallback(disabled: boolean): void;
|
|
63
64
|
formStateRestoreCallback(state: File | string | FormData | null): void;
|
|
64
65
|
_handleInput(e: Event): void;
|
|
65
66
|
_handleChange(e: Event): void;
|
|
@@ -76,4 +77,5 @@ declare global {
|
|
|
76
77
|
'nldd-text-field': NLDDTextField;
|
|
77
78
|
}
|
|
78
79
|
}
|
|
80
|
+
export {};
|
|
79
81
|
//# sourceMappingURL=text-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text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AI,IAAI;IAInB;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAInC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,aAAa,CAAC;KACjC;CACD"}
|
|
@@ -9,34 +9,35 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
9
9
|
*
|
|
10
10
|
* @element nldd-text-field
|
|
11
11
|
*
|
|
12
|
-
* @attr {string} value
|
|
13
|
-
* @attr {string} placeholder
|
|
14
|
-
* @attr {string} input-id
|
|
15
|
-
* @attr {string} size
|
|
16
|
-
* @attr {boolean} invalid
|
|
17
|
-
* @attr {boolean} valid
|
|
18
|
-
* @attr {boolean} disabled
|
|
19
|
-
* @attr {string} type
|
|
20
|
-
* @attr {string} name
|
|
21
|
-
* @attr {boolean} readonly
|
|
22
|
-
* @attr {boolean} required
|
|
12
|
+
* @attr {string} value - The input value
|
|
13
|
+
* @attr {string} placeholder - Placeholder text
|
|
14
|
+
* @attr {string} input-id - Sets the id on the native input. Set automatically by nldd-form-field.
|
|
15
|
+
* @attr {string} size - 'md' (default) | 'sm'. Set automatically by nldd-form-field.
|
|
16
|
+
* @attr {boolean} invalid - Marks the field as invalid
|
|
17
|
+
* @attr {boolean} valid - Marks the field as valid
|
|
18
|
+
* @attr {boolean} disabled - Disabled state
|
|
19
|
+
* @attr {string} type - Input type: 'text' | 'email' | 'tel' | 'url'
|
|
20
|
+
* @attr {string} name - Input name for form submission
|
|
21
|
+
* @attr {boolean} readonly - Readonly state
|
|
22
|
+
* @attr {boolean} required - Required state
|
|
23
23
|
* @attr {string} autocomplete - Autocomplete hint
|
|
24
|
-
* @attr {string} accessible-label
|
|
24
|
+
* @attr {string} accessible-label - Accessible label forwarded to the inner input. Set automatically by nldd-form-field.
|
|
25
|
+
* @attr {string} error-message-ids - Ids for aria-describedby on the inner input. Set automatically by nldd-form-field.
|
|
25
26
|
* @attr {boolean} no-spellcheck - Disables browser spellchecking on the inner input
|
|
26
|
-
* @attr {string} width
|
|
27
|
+
* @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
|
|
27
28
|
*
|
|
28
|
-
* @fires input
|
|
29
|
+
* @fires input - When input value changes
|
|
29
30
|
* @fires change - When input value is committed
|
|
30
31
|
*/
|
|
31
32
|
import { LitElement } from 'lit';
|
|
32
33
|
import { customElement, property, query } from 'lit/decorators.js';
|
|
34
|
+
import { FormAssociated } from '../../../utilities/form-associated-mixin.js';
|
|
33
35
|
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
34
36
|
import { textFieldStyles } from './text-field.styles.js';
|
|
35
37
|
import { textFieldTemplate } from './text-field.template.js';
|
|
36
|
-
let NLDDTextField = class NLDDTextField extends LitElement {
|
|
38
|
+
let NLDDTextField = class NLDDTextField extends FormAssociated(LitElement) {
|
|
37
39
|
constructor() {
|
|
38
40
|
super(...arguments);
|
|
39
|
-
this._internals = this.attachInternals();
|
|
40
41
|
this._initialValue = '';
|
|
41
42
|
this.size = 'md';
|
|
42
43
|
this.value = '';
|
|
@@ -70,16 +71,13 @@ let NLDDTextField = class NLDDTextField extends LitElement {
|
|
|
70
71
|
this.style.removeProperty('--_width');
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
}
|
|
75
|
+
formValue() {
|
|
76
|
+
return this.value;
|
|
76
77
|
}
|
|
77
78
|
formResetCallback() {
|
|
78
79
|
this.value = this._initialValue;
|
|
79
80
|
}
|
|
80
|
-
formDisabledCallback(disabled) {
|
|
81
|
-
this.disabled = disabled;
|
|
82
|
-
}
|
|
83
81
|
formStateRestoreCallback(state) {
|
|
84
82
|
if (typeof state === 'string')
|
|
85
83
|
this.value = state;
|
|
@@ -88,6 +86,7 @@ let NLDDTextField = class NLDDTextField extends LitElement {
|
|
|
88
86
|
e.stopPropagation();
|
|
89
87
|
const input = e.target;
|
|
90
88
|
this.value = input.value;
|
|
89
|
+
this.commitFormValue();
|
|
91
90
|
this.dispatchEvent(new CustomEvent('input', {
|
|
92
91
|
detail: { value: this.value },
|
|
93
92
|
bubbles: true,
|
|
@@ -98,6 +97,7 @@ let NLDDTextField = class NLDDTextField extends LitElement {
|
|
|
98
97
|
e.stopPropagation();
|
|
99
98
|
const input = e.target;
|
|
100
99
|
this.value = input.value;
|
|
100
|
+
this.commitFormValue();
|
|
101
101
|
this.dispatchEvent(new CustomEvent('change', {
|
|
102
102
|
detail: { value: this.value },
|
|
103
103
|
bubbles: true,
|
|
@@ -118,7 +118,6 @@ let NLDDTextField = class NLDDTextField extends LitElement {
|
|
|
118
118
|
return textFieldTemplate(this);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
|
-
NLDDTextField.formAssociated = true;
|
|
122
121
|
NLDDTextField.shadowRootOptions = {
|
|
123
122
|
...LitElement.shadowRootOptions,
|
|
124
123
|
delegatesFocus: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"text-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/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,cAAc,EAAkB,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAKtD,IAAM,aAAa,GAAnB,MAAM,a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;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;sDACrC;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;sDACtC;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;mDAClD;AAIrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAC/B;AAIH;IADP,KAAK,CAAC,oBAAoB,CAAC;6CACM;AAhEtB,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAqIzB"}
|
|
@@ -47,7 +47,7 @@ export const textFieldStyles = css `
|
|
|
47
47
|
background-color: var(--_background-color);
|
|
48
48
|
min-height: var(--_min-size);
|
|
49
49
|
overflow: hidden;
|
|
50
|
-
padding-left: calc(var(--_inline-padding) - var(--semantics-input-fields-border-
|
|
50
|
+
padding-left: calc(var(--_inline-padding) - var(--semantics-input-fields-border-width));
|
|
51
51
|
flex-direction: row;
|
|
52
52
|
align-items: center;
|
|
53
53
|
}
|
|
@@ -90,7 +90,7 @@ export const textFieldStyles = css `
|
|
|
90
90
|
border: none;
|
|
91
91
|
background: transparent;
|
|
92
92
|
min-width: 0;
|
|
93
|
-
min-height: calc(var(--_min-size) - var(--semantics-input-fields-border-
|
|
93
|
+
min-height: calc(var(--_min-size) - var(--semantics-input-fields-border-width) * 2);
|
|
94
94
|
overflow: hidden;
|
|
95
95
|
padding: 0;
|
|
96
96
|
flex-grow: 1;
|
|
@@ -136,7 +136,7 @@ export const textFieldStyles = css `
|
|
|
136
136
|
|
|
137
137
|
.text-field__validation-icon-area {
|
|
138
138
|
display: flex;
|
|
139
|
-
width: calc(var(--_min-size) - var(--semantics-input-fields-border-
|
|
139
|
+
width: calc(var(--_min-size) - var(--semantics-input-fields-border-width) * 2);
|
|
140
140
|
height: 100%;
|
|
141
141
|
flex-shrink: 0;
|
|
142
142
|
align-items: center;
|
|
@@ -7,29 +7,29 @@
|
|
|
7
7
|
* @element nldd-toggle-button
|
|
8
8
|
*
|
|
9
9
|
* @attr {'button' | 'checkbox' | 'radio'} type - Underlying element (default: 'button')
|
|
10
|
-
* @attr {'xs' | 'sm' | 'md' | 'lg'}
|
|
11
|
-
* @attr {boolean}
|
|
12
|
-
* @attr {boolean}
|
|
13
|
-
* @attr {string}
|
|
14
|
-
* @attr {string}
|
|
15
|
-
* @attr {string}
|
|
16
|
-
* @attr {string}
|
|
17
|
-
* @attr {'text' | 'icon' | 'icon-and-text'} variant
|
|
18
|
-
* @attr {string}
|
|
10
|
+
* @attr {'xs' | 'sm' | 'md' | 'lg'} size - Button size (default: 'md')
|
|
11
|
+
* @attr {boolean} selected - Selected state
|
|
12
|
+
* @attr {boolean} disabled - Disabled state
|
|
13
|
+
* @attr {string} value - Value for form submission (checkbox/radio)
|
|
14
|
+
* @attr {string} name - Name for form submission (checkbox/radio)
|
|
15
|
+
* @attr {string} text - Button text
|
|
16
|
+
* @attr {string} icon - Icon name for nldd-icon
|
|
17
|
+
* @attr {'text' | 'icon' | 'icon-and-text'} variant - What renders: text, icon, or both. Unset → auto-detect from text/icon attributes.
|
|
18
|
+
* @attr {string} accessible-label - Accessible label; required for icon-only usage
|
|
19
19
|
*
|
|
20
20
|
* @slot icon - Slot for a custom icon (e.g. custom SVG). Only used when icon attribute is not set.
|
|
21
21
|
*
|
|
22
22
|
* @fires change - When selection changes; detail: { selected: boolean, value: string }
|
|
23
23
|
*/
|
|
24
24
|
import { LitElement, type PropertyValues } from 'lit';
|
|
25
|
+
import { type FormValue } from '../../../utilities/form-associated-mixin.js';
|
|
25
26
|
import './../../content/icon/icon.js';
|
|
26
27
|
export type ToggleButtonType = 'button' | 'checkbox' | 'radio';
|
|
27
28
|
export type ToggleButtonSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
28
29
|
export type ToggleButtonVariant = 'text' | 'icon' | 'icon-and-text';
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
declare const NLDDToggleButton_base: typeof LitElement & (abstract new (...args: any[]) => LitElement & import("../../../utilities/form-associated-mixin.js").FormAssociatedElement);
|
|
31
|
+
export declare class NLDDToggleButton extends NLDDToggleButton_base {
|
|
31
32
|
static styles: import("lit").CSSResult;
|
|
32
|
-
private _internals;
|
|
33
33
|
private _initialSelected;
|
|
34
34
|
type: ToggleButtonType;
|
|
35
35
|
size: ToggleButtonSize;
|
|
@@ -50,8 +50,8 @@ export declare class NLDDToggleButton extends LitElement {
|
|
|
50
50
|
private _warnedEmptyIcon;
|
|
51
51
|
firstUpdated(): void;
|
|
52
52
|
updated(changed: PropertyValues): void;
|
|
53
|
+
formValue(): FormValue;
|
|
53
54
|
formResetCallback(): void;
|
|
54
|
-
formDisabledCallback(disabled: boolean): void;
|
|
55
55
|
formStateRestoreCallback(state: File | string | FormData | null): void;
|
|
56
56
|
_handleButtonClick(): void;
|
|
57
57
|
_handleInputChange(e: Event): void;
|
|
@@ -69,4 +69,5 @@ declare global {
|
|
|
69
69
|
'nldd-toggle-button': NLDDToggleButton;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
+
export {};
|
|
72
73
|
//# sourceMappingURL=toggle-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"toggle-button.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,O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I,IAAI;IAML,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,oBAAoB,EAAE,gBAAgB,CAAC;KACvC;CACD"}
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
* @element nldd-toggle-button
|
|
8
8
|
*
|
|
9
9
|
* @attr {'button' | 'checkbox' | 'radio'} type - Underlying element (default: 'button')
|
|
10
|
-
* @attr {'xs' | 'sm' | 'md' | 'lg'}
|
|
11
|
-
* @attr {boolean}
|
|
12
|
-
* @attr {boolean}
|
|
13
|
-
* @attr {string}
|
|
14
|
-
* @attr {string}
|
|
15
|
-
* @attr {string}
|
|
16
|
-
* @attr {string}
|
|
17
|
-
* @attr {'text' | 'icon' | 'icon-and-text'} variant
|
|
18
|
-
* @attr {string}
|
|
10
|
+
* @attr {'xs' | 'sm' | 'md' | 'lg'} size - Button size (default: 'md')
|
|
11
|
+
* @attr {boolean} selected - Selected state
|
|
12
|
+
* @attr {boolean} disabled - Disabled state
|
|
13
|
+
* @attr {string} value - Value for form submission (checkbox/radio)
|
|
14
|
+
* @attr {string} name - Name for form submission (checkbox/radio)
|
|
15
|
+
* @attr {string} text - Button text
|
|
16
|
+
* @attr {string} icon - Icon name for nldd-icon
|
|
17
|
+
* @attr {'text' | 'icon' | 'icon-and-text'} variant - What renders: text, icon, or both. Unset → auto-detect from text/icon attributes.
|
|
18
|
+
* @attr {string} accessible-label - Accessible label; required for icon-only usage
|
|
19
19
|
*
|
|
20
20
|
* @slot icon - Slot for a custom icon (e.g. custom SVG). Only used when icon attribute is not set.
|
|
21
21
|
*
|
|
@@ -29,14 +29,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
29
29
|
};
|
|
30
30
|
import { LitElement } from 'lit';
|
|
31
31
|
import { customElement, property } from 'lit/decorators.js';
|
|
32
|
+
import { FormAssociated } from '../../../utilities/form-associated-mixin.js';
|
|
32
33
|
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
33
34
|
import { toggleButtonStyles } from './toggle-button.styles.js';
|
|
34
35
|
import { toggleButtonTemplate } from './toggle-button.template.js';
|
|
35
36
|
import './../../content/icon/icon.js';
|
|
36
|
-
let NLDDToggleButton = class NLDDToggleButton extends LitElement {
|
|
37
|
+
let NLDDToggleButton = class NLDDToggleButton extends FormAssociated(LitElement) {
|
|
37
38
|
constructor() {
|
|
38
39
|
super(...arguments);
|
|
39
|
-
this._internals = this.attachInternals();
|
|
40
40
|
this._initialSelected = false;
|
|
41
41
|
this.type = 'button';
|
|
42
42
|
this.size = 'md';
|
|
@@ -92,17 +92,17 @@ let NLDDToggleButton = class NLDDToggleButton extends LitElement {
|
|
|
92
92
|
this._warnedEmptyIcon = false;
|
|
93
93
|
}
|
|
94
94
|
if (changed.has('selected') || changed.has('value') || changed.has('type')) {
|
|
95
|
-
|
|
96
|
-
const submits = this.type === 'checkbox' || this.type === 'radio';
|
|
97
|
-
this._internals.setFormValue(submits && this.selected ? this.value : null);
|
|
95
|
+
this.commitFormValue();
|
|
98
96
|
}
|
|
99
97
|
}
|
|
98
|
+
formValue() {
|
|
99
|
+
// Only checkbox/radio variants participate in form submission.
|
|
100
|
+
const submits = this.type === 'checkbox' || this.type === 'radio';
|
|
101
|
+
return submits && this.selected ? this.value : null;
|
|
102
|
+
}
|
|
100
103
|
formResetCallback() {
|
|
101
104
|
this.selected = this._initialSelected;
|
|
102
105
|
}
|
|
103
|
-
formDisabledCallback(disabled) {
|
|
104
|
-
this.disabled = disabled;
|
|
105
|
-
}
|
|
106
106
|
formStateRestoreCallback(state) {
|
|
107
107
|
this.selected = state !== null;
|
|
108
108
|
}
|
|
@@ -121,6 +121,7 @@ let NLDDToggleButton = class NLDDToggleButton extends LitElement {
|
|
|
121
121
|
this._dispatchChange();
|
|
122
122
|
}
|
|
123
123
|
_dispatchChange() {
|
|
124
|
+
this.commitFormValue();
|
|
124
125
|
this.dispatchEvent(new CustomEvent('change', {
|
|
125
126
|
detail: { selected: this.selected, value: this.value },
|
|
126
127
|
bubbles: true,
|
|
@@ -142,7 +143,6 @@ let NLDDToggleButton = class NLDDToggleButton extends LitElement {
|
|
|
142
143
|
return toggleButtonTemplate(this);
|
|
143
144
|
}
|
|
144
145
|
};
|
|
145
|
-
NLDDToggleButton.formAssociated = true;
|
|
146
146
|
NLDDToggleButton.styles = toggleButtonStyles;
|
|
147
147
|
__decorate([
|
|
148
148
|
property({ type: String, reflect: true })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,8BAA8B,CAAC;AAO/B,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,
|
|
1
|
+
{"version":3,"file":"toggle-button.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAkB,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,oBAA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AAE,iBAAiB,CAAmB,IAAI,CAAC,EAAE,CAAC;8CACpD;AAG9B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CACd;AAGb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAChC;AAIV;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;8CAC5D;AAKV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CACjB;AAGV;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAA2B,EAAE,CAAC,EAAE,CAAC;iDACjD;AAGvC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;yDACrC;AAtCT,gBAAgB;IAD5B,aAAa,CAAC,oBAAoB,CAAC;GACvB,gBAAgB,CAwI5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"toggle-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,yBA4M9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;IAwBjC,kBAAkB
|
|
1
|
+
{"version":3,"file":"toggle-button.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;IAwBjC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLrB,CAAC"}
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @element nldd-toggle-button-group
|
|
12
12
|
*
|
|
13
|
-
* @attr {'button' | 'checkbox' | 'radio'} type
|
|
14
|
-
* @attr {string}
|
|
15
|
-
* @attr {'xs' | 'sm' | 'md'}
|
|
16
|
-
* @attr {boolean}
|
|
17
|
-
* @attr {string}
|
|
18
|
-
* @attr {string}
|
|
13
|
+
* @attr {'button' | 'checkbox' | 'radio'} type - Selection mode (default: 'checkbox')
|
|
14
|
+
* @attr {string} name - Forwarded to all buttons
|
|
15
|
+
* @attr {'xs' | 'sm' | 'md'} size - Forwarded to all buttons (default: 'md')
|
|
16
|
+
* @attr {boolean} disabled - Disables all buttons
|
|
17
|
+
* @attr {string} accessible-label - Accessible name for the group (aria-label)
|
|
18
|
+
* @attr {string} accessible-labeled-by - ID of an external label element (aria-labelledby)
|
|
19
19
|
*
|
|
20
20
|
* @slot - nldd-toggle-button elements
|
|
21
21
|
*
|
|
@@ -33,7 +33,7 @@ export declare class NLDDToggleButtonGroup extends LitElement {
|
|
|
33
33
|
/** Accessible name forwarded as aria-label to the group host. */
|
|
34
34
|
accessibleLabel: string;
|
|
35
35
|
/** ID of an external label element forwarded as aria-labelledby to the group host. */
|
|
36
|
-
|
|
36
|
+
accessibleLabeledBy: string;
|
|
37
37
|
connectedCallback(): void;
|
|
38
38
|
disconnectedCallback(): void;
|
|
39
39
|
private _syncRole;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button-group.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button-group/toggle-button-group.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAE5F,KAAK,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAEjD,qBACa,qBAAsB,SAAQ,UAAU;IACpD,OAAgB,MAAM,0BAA2B;IAGjD,IAAI,EAAE,SAAS,CAAc;IAG7B,IAAI,SAAM;IAGV,IAAI,EAAE,gBAAgB,CAAQ;IAG9B,QAAQ,UAAS;IAEjB,iEAAiE;IAEjE,eAAe,SAAM;IAErB,sFAAsF;IAEtF,
|
|
1
|
+
{"version":3,"file":"toggle-button-group.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button-group/toggle-button-group.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,OAAO,KAA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