@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
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Focus the `[autofocus]` element inside an overlay, if there is one.
|
|
3
|
+
*
|
|
4
|
+
* The browser's own autofocus only reaches natively focusable elements. A
|
|
5
|
+
* design-system field is a custom element whose input sits in its shadow root,
|
|
6
|
+
* so `<nldd-text-field autofocus>` would be skipped entirely and the overlay
|
|
7
|
+
* would open with focus on the dialog. Calling `focus()` on the host covers
|
|
8
|
+
* both: our components forward it inward, and for a native element the browser
|
|
9
|
+
* has already done it, which makes the second call a no-op.
|
|
10
|
+
*
|
|
11
|
+
* Custom elements may not have rendered yet when an overlay opens right after
|
|
12
|
+
* an htmx swap, so a component that exposes `updateComplete` gets a second
|
|
13
|
+
* attempt once it has.
|
|
14
|
+
*
|
|
15
|
+
* @returns true when an autofocus target was found, so the caller can skip its
|
|
16
|
+
* own fallback focus.
|
|
17
|
+
*/
|
|
18
|
+
export declare function focusAutofocusTarget(host: Element): boolean;
|
|
19
|
+
//# sourceMappingURL=autofocus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autofocus.d.ts","sourceRoot":"","sources":["../../src/utilities/autofocus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAiB3D"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Focus the `[autofocus]` element inside an overlay, if there is one.
|
|
3
|
+
*
|
|
4
|
+
* The browser's own autofocus only reaches natively focusable elements. A
|
|
5
|
+
* design-system field is a custom element whose input sits in its shadow root,
|
|
6
|
+
* so `<nldd-text-field autofocus>` would be skipped entirely and the overlay
|
|
7
|
+
* would open with focus on the dialog. Calling `focus()` on the host covers
|
|
8
|
+
* both: our components forward it inward, and for a native element the browser
|
|
9
|
+
* has already done it, which makes the second call a no-op.
|
|
10
|
+
*
|
|
11
|
+
* Custom elements may not have rendered yet when an overlay opens right after
|
|
12
|
+
* an htmx swap, so a component that exposes `updateComplete` gets a second
|
|
13
|
+
* attempt once it has.
|
|
14
|
+
*
|
|
15
|
+
* @returns true when an autofocus target was found, so the caller can skip its
|
|
16
|
+
* own fallback focus.
|
|
17
|
+
*/
|
|
18
|
+
export function focusAutofocusTarget(host) {
|
|
19
|
+
const target = host.querySelector('[autofocus]');
|
|
20
|
+
if (!target)
|
|
21
|
+
return false;
|
|
22
|
+
target.focus();
|
|
23
|
+
const pending = target.updateComplete;
|
|
24
|
+
if (pending && typeof pending.then === 'function') {
|
|
25
|
+
pending.then(() => {
|
|
26
|
+
// Only if focus is still sitting where the overlay left it: a user who
|
|
27
|
+
// clicked elsewhere in the meantime should not be yanked back.
|
|
28
|
+
if (!host.contains(document.activeElement) || document.activeElement === host) {
|
|
29
|
+
target.focus();
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=autofocus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autofocus.js","sourceRoot":"","sources":["../../src/utilities/autofocus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IACjD,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAc,aAAa,CAAC,CAAC;IAC9D,IAAI,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC;IAE1B,MAAM,CAAC,KAAK,EAAE,CAAC;IAEf,MAAM,OAAO,GAAI,MAA8D,CAAC,cAAc,CAAC;IAC/F,IAAI,OAAO,IAAI,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QACnD,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE;YACjB,uEAAuE;YACvE,+DAA+D;YAC/D,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,QAAQ,CAAC,aAAa,KAAK,IAAI,EAAE,CAAC;gBAC/E,MAAM,CAAC,KAAK,EAAE,CAAC;YAChB,CAAC;QACF,CAAC,CAAC,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC"}
|
|
@@ -34,10 +34,10 @@ const baseTheme = EditorView.theme({
|
|
|
34
34
|
'.cm-placeholder': {
|
|
35
35
|
color: 'var(--semantics-input-fields-placeholder-color)',
|
|
36
36
|
},
|
|
37
|
-
// A solid selection
|
|
37
|
+
// A solid selection color. accent-150/250 are themselves light-dark; the
|
|
38
38
|
// outer light-dark() picks the lighter step in light mode and the darker step
|
|
39
39
|
// in dark mode (the accent scale inverts), keeping the selection subtle.
|
|
40
|
-
// The focused selector matches CodeMirror's own deep one so our
|
|
40
|
+
// The focused selector matches CodeMirror's own deep one so our color wins on
|
|
41
41
|
// equal specificity — otherwise CM's light base theme paints the focused
|
|
42
42
|
// selection lavender, unreadable on a dark surface.
|
|
43
43
|
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/utilities/codemirror/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,IAAI,IAAI,CAAC,EAAE,MAAM,kBAAkB,CAAC;AAG7C;;;;mEAImE;AACnE,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC;IAClC,GAAG,EAAE;QACJ,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,gCAAgC;QACvC,eAAe,EAAE,aAAa;KAC9B;IACD,cAAc,EAAE;QACf,gEAAgE;QAChE,OAAO,EAAE,MAAM;KACf;IACD,cAAc,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,SAAS;QACrB,QAAQ,EAAE,MAAM;KAChB;IACD,aAAa,EAAE;QACd,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE,gCAAgC;KAC5C;IACD,UAAU,EAAE;QACX,OAAO,EAAE,GAAG;KACZ;IACD,4BAA4B,EAAE;QAC7B,eAAe,EAAE,gCAAgC;KACjD;IACD,iBAAiB,EAAE;QAClB,KAAK,EAAE,iDAAiD;KACxD;IACD,
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/utilities/codemirror/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,IAAI,IAAI,CAAC,EAAE,MAAM,kBAAkB,CAAC;AAG7C;;;;mEAImE;AACnE,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC;IAClC,GAAG,EAAE;QACJ,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,gCAAgC;QACvC,eAAe,EAAE,aAAa;KAC9B;IACD,cAAc,EAAE;QACf,gEAAgE;QAChE,OAAO,EAAE,MAAM;KACf;IACD,cAAc,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,SAAS;QACrB,QAAQ,EAAE,MAAM;KAChB;IACD,aAAa,EAAE;QACd,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE,gCAAgC;KAC5C;IACD,UAAU,EAAE;QACX,OAAO,EAAE,GAAG;KACZ;IACD,4BAA4B,EAAE;QAC7B,eAAe,EAAE,gCAAgC;KACjD;IACD,iBAAiB,EAAE;QAClB,KAAK,EAAE,iDAAiD;KACxD;IACD,yEAAyE;IACzE,8EAA8E;IAC9E,yEAAyE;IACzE,8EAA8E;IAC9E,yEAAyE;IACzE,oDAAoD;IACpD,4HAA4H,EAAE;QAC7H,eAAe,EAAE,oFAAoF;KACrG;IACD,aAAa,EAAE;QACd,MAAM,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AC,SAAS,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Notifies subscribers when `:root[data-scheme]` flips, so they can force
|
|
3
|
-
* a repaint of any scrollable region with `light-dark()`
|
|
3
|
+
* a repaint of any scrollable region with `light-dark()` colors.
|
|
4
4
|
*
|
|
5
5
|
* Why this exists: browsers (Chromium especially) cache off-screen tiles
|
|
6
6
|
* for composited scroll layers and don't always invalidate them when a
|
|
7
7
|
* `color-scheme` flip re-resolves `light-dark()` values. Scroll back
|
|
8
|
-
* after a theme switch and you see stale
|
|
8
|
+
* after a theme switch and you see stale colors from the old scheme.
|
|
9
9
|
* Components with overflowing scroll containers can subscribe here and
|
|
10
10
|
* drop their compositor layer on each scheme change.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Notifies subscribers when `:root[data-scheme]` flips, so they can force
|
|
3
|
-
* a repaint of any scrollable region with `light-dark()`
|
|
3
|
+
* a repaint of any scrollable region with `light-dark()` colors.
|
|
4
4
|
*
|
|
5
5
|
* Why this exists: browsers (Chromium especially) cache off-screen tiles
|
|
6
6
|
* for composited scroll layers and don't always invalidate them when a
|
|
7
7
|
* `color-scheme` flip re-resolves `light-dark()` values. Scroll back
|
|
8
|
-
* after a theme switch and you see stale
|
|
8
|
+
* after a theme switch and you see stale colors from the old scheme.
|
|
9
9
|
* Components with overflowing scroll containers can subscribe here and
|
|
10
10
|
* drop their compositor layer on each scheme change.
|
|
11
11
|
*
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { LitElement } from 'lit';
|
|
2
|
+
/** What ElementInternals accepts as a form value. */
|
|
3
|
+
export type FormValue = string | File | FormData | null;
|
|
4
|
+
type Constructor<T = Record<string, unknown>> = abstract new (...args: any[]) => T;
|
|
5
|
+
export interface FormAssociatedElement {
|
|
6
|
+
readonly internals: ElementInternals;
|
|
7
|
+
/** The value submitted under `name`; `null` submits nothing. Override this. */
|
|
8
|
+
formValue(): FormValue;
|
|
9
|
+
/** Extra state for bfcache and state restore, when the value alone is not enough. */
|
|
10
|
+
formState(): FormValue | undefined;
|
|
11
|
+
commitFormValue(): void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Turns a Lit element into a form-associated custom element: it submits under
|
|
15
|
+
* `name`, follows a disabled fieldset, and can be read back with `FormData`.
|
|
16
|
+
*
|
|
17
|
+
* A component supplies the one thing that is its own — what it submits — by
|
|
18
|
+
* overriding `formValue()`. Everything around it lives here, including the
|
|
19
|
+
* timing: the value is committed on every render AND has to be committed again
|
|
20
|
+
* from the handler that changed it, with `commitFormValue()`. A render is a
|
|
21
|
+
* task later than the event, so a listener that serializes the form on `change`
|
|
22
|
+
* (htmx, or a plain `new FormData(form)`) runs before the render and would
|
|
23
|
+
* otherwise read the value from before the change. That contract is checked for
|
|
24
|
+
* every input at once in `form-value-timing.test.ts`.
|
|
25
|
+
*
|
|
26
|
+
* Reset and state restore stay with the component: what "the initial value" is
|
|
27
|
+
* differs per input (checked, text, a number to clamp, two fields at once), so
|
|
28
|
+
* a component implements `formResetCallback` / `formStateRestoreCallback`
|
|
29
|
+
* itself.
|
|
30
|
+
*/
|
|
31
|
+
export declare function FormAssociated<T extends Constructor<LitElement>>(Base: T): T & Constructor<InstanceType<T> & FormAssociatedElement>;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=form-associated-mixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-associated-mixin.d.ts","sourceRoot":"","sources":["../../src/utilities/form-associated-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAE1D,qDAAqD;AACrD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,CAAC;AAIxD,KAAK,WAAW,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;AAEnF,MAAM,WAAW,qBAAqB;IACrC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IACrC,+EAA+E;IAC/E,SAAS,IAAI,SAAS,CAAC;IACvB,qFAAqF;IACrF,SAAS,IAAI,SAAS,GAAG,SAAS,CAAC;IACnC,eAAe,IAAI,IAAI,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,GAsC/B,CAAC,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,qBAAqB,CAAC,CACjG"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Turns a Lit element into a form-associated custom element: it submits under
|
|
3
|
+
* `name`, follows a disabled fieldset, and can be read back with `FormData`.
|
|
4
|
+
*
|
|
5
|
+
* A component supplies the one thing that is its own — what it submits — by
|
|
6
|
+
* overriding `formValue()`. Everything around it lives here, including the
|
|
7
|
+
* timing: the value is committed on every render AND has to be committed again
|
|
8
|
+
* from the handler that changed it, with `commitFormValue()`. A render is a
|
|
9
|
+
* task later than the event, so a listener that serializes the form on `change`
|
|
10
|
+
* (htmx, or a plain `new FormData(form)`) runs before the render and would
|
|
11
|
+
* otherwise read the value from before the change. That contract is checked for
|
|
12
|
+
* every input at once in `form-value-timing.test.ts`.
|
|
13
|
+
*
|
|
14
|
+
* Reset and state restore stay with the component: what "the initial value" is
|
|
15
|
+
* differs per input (checked, text, a number to clamp, two fields at once), so
|
|
16
|
+
* a component implements `formResetCallback` / `formStateRestoreCallback`
|
|
17
|
+
* itself.
|
|
18
|
+
*/
|
|
19
|
+
export function FormAssociated(Base) {
|
|
20
|
+
class FormAssociatedMixin extends Base {
|
|
21
|
+
constructor(...args) {
|
|
22
|
+
super(...args);
|
|
23
|
+
this.internals = this.attachInternals();
|
|
24
|
+
// A controller, not an updated() override: a component that defines
|
|
25
|
+
// its own updated() would have to remember to call super.
|
|
26
|
+
const commit = { hostUpdated: () => this.commitFormValue() };
|
|
27
|
+
this.addController(commit);
|
|
28
|
+
}
|
|
29
|
+
/** The value submitted under `name`; `null` submits nothing. Override. */
|
|
30
|
+
formValue() {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
/** Extra state kept for bfcache and state restore, when the submitted
|
|
34
|
+
* value alone cannot rebuild the control (a combo box submits a code but
|
|
35
|
+
* shows a label). Override alongside `formValue()`. */
|
|
36
|
+
formState() {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
/** Commit the value now, from the handler that changed it. */
|
|
40
|
+
commitFormValue() {
|
|
41
|
+
this.internals.setFormValue(this.formValue(), this.formState());
|
|
42
|
+
}
|
|
43
|
+
formDisabledCallback(disabled) {
|
|
44
|
+
// Every form-associated component declares its own `disabled` property
|
|
45
|
+
// (with its own reflection), so the mixin only writes to it.
|
|
46
|
+
this.disabled = disabled;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
FormAssociatedMixin.formAssociated = true;
|
|
50
|
+
return FormAssociatedMixin;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=form-associated-mixin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-associated-mixin.js","sourceRoot":"","sources":["../../src/utilities/form-associated-mixin.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,cAAc,CAAoC,IAAO;IACxE,MAAe,mBAAoB,SAAQ,IAAI;QAK9C,YAAY,GAAG,IAAW;YACzB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;YAHP,cAAS,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;YAI3C,oEAAoE;YACpE,0DAA0D;YAC1D,MAAM,MAAM,GAAuB,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC;YACjF,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC5B,CAAC;QAED,0EAA0E;QAC1E,SAAS;YACR,OAAO,IAAI,CAAC;QACb,CAAC;QAED;;gEAEwD;QACxD,SAAS;YACR,OAAO,SAAS,CAAC;QAClB,CAAC;QAED,8DAA8D;QAC9D,eAAe;YACd,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QACjE,CAAC;QAED,oBAAoB,CAAC,QAAiB;YACrC,uEAAuE;YACvE,6DAA6D;YAC5D,IAAyC,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAChE,CAAC;;IAjCM,kCAAc,GAAG,IAAI,AAAP,CAAQ;IAoC9B,OAAO,mBAA0F,CAAC;AACnG,CAAC"}
|
|
@@ -5,6 +5,8 @@ export declare function isKeyboardMode(): boolean;
|
|
|
5
5
|
export declare function isPointerMode(): boolean;
|
|
6
6
|
export declare function isMouseMode(): boolean;
|
|
7
7
|
export declare function isTouchMode(): boolean;
|
|
8
|
-
/** @internal Reset state for testing only.
|
|
8
|
+
/** @internal Reset state for testing only. Re-registers straight away, the way
|
|
9
|
+
* importing the module does, so a test sees the same starting position as a
|
|
10
|
+
* freshly loaded page. */
|
|
9
11
|
export declare function _resetInputModalityForTesting(): void;
|
|
10
12
|
//# sourceMappingURL=input-modality.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-modality.d.ts","sourceRoot":"","sources":["../../src/utilities/input-modality.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AA0B3D,wBAAgB,gBAAgB,IAAI,aAAa,CAGhD;
|
|
1
|
+
{"version":3,"file":"input-modality.d.ts","sourceRoot":"","sources":["../../src/utilities/input-modality.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AA0B3D,wBAAgB,gBAAgB,IAAI,aAAa,CAGhD;AASD,wBAAgB,cAAc,IAAI,OAAO,CAExC;AAED,wDAAwD;AACxD,wBAAgB,aAAa,IAAI,OAAO,CAGvC;AAED,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED;;2BAE2B;AAC3B,wBAAgB,6BAA6B,IAAI,IAAI,CAMpD"}
|
|
@@ -23,6 +23,13 @@ export function getInputModality() {
|
|
|
23
23
|
init();
|
|
24
24
|
return modality;
|
|
25
25
|
}
|
|
26
|
+
// At import, not on the first question: the listeners have to be in place
|
|
27
|
+
// before the first key press. Initialising lazily meant that someone who tabs
|
|
28
|
+
// straight into the page had already pressed Tab by the time a component asked,
|
|
29
|
+
// so the modality still read 'mouse' and the first control swallowed its focus
|
|
30
|
+
// ring.
|
|
31
|
+
if (typeof document !== 'undefined')
|
|
32
|
+
init();
|
|
26
33
|
export function isKeyboardMode() {
|
|
27
34
|
return getInputModality() === 'keyboard';
|
|
28
35
|
}
|
|
@@ -37,11 +44,15 @@ export function isMouseMode() {
|
|
|
37
44
|
export function isTouchMode() {
|
|
38
45
|
return getInputModality() === 'touch';
|
|
39
46
|
}
|
|
40
|
-
/** @internal Reset state for testing only.
|
|
47
|
+
/** @internal Reset state for testing only. Re-registers straight away, the way
|
|
48
|
+
* importing the module does, so a test sees the same starting position as a
|
|
49
|
+
* freshly loaded page. */
|
|
41
50
|
export function _resetInputModalityForTesting() {
|
|
42
51
|
controller?.abort();
|
|
43
52
|
controller = null;
|
|
44
53
|
modality = 'mouse';
|
|
45
54
|
initialized = false;
|
|
55
|
+
if (typeof document !== 'undefined')
|
|
56
|
+
init();
|
|
46
57
|
}
|
|
47
58
|
//# sourceMappingURL=input-modality.js.map
|
|
@@ -1 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AM,UAAU,gBAAgB;IAC/B,IAAI,EAAE,CAAC;IACP,OAAO,QAAQ,CAAC;AACjB,CAAC;AAED,0EAA0E;AAC1E,8EAA8E;AAC9E,gFAAgF;AAChF,+EAA+E;AAC/E,QAAQ;AACR,IAAI,OAAO,QAAQ,KAAK,WAAW;IAAE,IAAI,EAAE,CAAC;AAE5C,MAAM,UAAU,cAAc;IAC7B,OAAO,gBAAgB,EAAE,KAAK,UAAU,CAAC;AAC1C,CAAC;AAED,wDAAwD;AACxD,MAAM,UAAU,aAAa;IAC5B,MAAM,CAAC,GAAG,gBAAgB,EAAE,CAAC;IAC7B,OAAO,CAAC,KAAK,OAAO,IAAI,CAAC,KAAK,OAAO,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,WAAW;IAC1B,OAAO,gBAAgB,EAAE,KAAK,OAAO,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,WAAW;IAC1B,OAAO,gBAAgB,EAAE,KAAK,OAAO,CAAC;AACvC,CAAC;AAED;;2BAE2B;AAC3B,MAAM,UAAU,6BAA6B;IAC5C,UAAU,EAAE,KAAK,EAAE,CAAC;IACpB,UAAU,GAAG,IAAI,CAAC;IAClB,QAAQ,GAAG,OAAO,CAAC;IACnB,WAAW,GAAG,KAAK,CAAC;IACpB,IAAI,OAAO,QAAQ,KAAK,WAAW;QAAE,IAAI,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -11,7 +11,7 @@ export type PageSectionPadding = '0' | '2' | '4' | '6' | '8' | '10' | '12' | '16
|
|
|
11
11
|
* into the section's block element and slotted content):
|
|
12
12
|
*
|
|
13
13
|
* - **background**: `inherit` (the default — transparent, shows the ancestor's
|
|
14
|
-
* surface) | `base` (the base surface
|
|
14
|
+
* surface) | `base` (the base surface color) | `tinted`. Setting
|
|
15
15
|
* `base`/`tinted` also cascades `--context-parent-background-color` so
|
|
16
16
|
* descendants (cards, nested sections) read the same surface.
|
|
17
17
|
* - **scheme**: `inherit` (default) | `light` | `dark` | `inverted`.
|
|
@@ -36,7 +36,7 @@ const PADDING_KEYS = [
|
|
|
36
36
|
* into the section's block element and slotted content):
|
|
37
37
|
*
|
|
38
38
|
* - **background**: `inherit` (the default — transparent, shows the ancestor's
|
|
39
|
-
* surface) | `base` (the base surface
|
|
39
|
+
* surface) | `base` (the base surface color) | `tinted`. Setting
|
|
40
40
|
* `base`/`tinted` also cascades `--context-parent-background-color` so
|
|
41
41
|
* descendants (cards, nested sections) read the same surface.
|
|
42
42
|
* - **scheme**: `inherit` (default) | `light` | `dark` | `inverted`.
|
|
@@ -146,7 +146,7 @@ export function PageSectionMixin(Base) {
|
|
|
146
146
|
* boundaries, so a `color-scheme` declared on an outer custom
|
|
147
147
|
* element's host won't be picked up by the walk; we then fall
|
|
148
148
|
* through to `prefers-color-scheme`. For reliable `'inverted'`
|
|
149
|
-
*
|
|
149
|
+
* behavior inside nested shadow trees, set `data-scheme` on
|
|
150
150
|
* `:root` so the fast path resolves the painted scheme directly.
|
|
151
151
|
*/
|
|
152
152
|
_resolveActiveScheme() {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* nldd-button, nldd-icon-button and nldd-split-button are configuration, not
|
|
8
8
|
* subclassing: the anchor target (the host, or an inner wrapper) is a callback,
|
|
9
9
|
* and the click handling is a method the control calls from its own handler,
|
|
10
|
-
* which then falls through to its own form / link / event
|
|
10
|
+
* which then falls through to its own form / link / event behavior. Split-button
|
|
11
11
|
* layers `toggle` tracking on top via `onChange`, which composition allows and
|
|
12
12
|
* inheritance would fight.
|
|
13
13
|
*
|
|
@@ -30,7 +30,7 @@ export interface PopupAnchorOptions {
|
|
|
30
30
|
* so a target that only resolves after the first render (an inner element
|
|
31
31
|
* behind @query) still works — call `anchor()` once it exists. */
|
|
32
32
|
anchorFor?: () => Element | null;
|
|
33
|
-
/** Runs after the slotted overlay is swapped, for
|
|
33
|
+
/** Runs after the slotted overlay is swapped, for behavior layered on top
|
|
34
34
|
* (e.g. tracking `toggle` to drive a chevron's expanded state). */
|
|
35
35
|
onChange?: (overlay: Overlay | null, previous: Overlay | null) => void;
|
|
36
36
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolves the `min` / `max` bound of a date component to an ISO date.
|
|
3
|
+
*
|
|
4
|
+
* Bounds accept a literal ISO date (`2026-12-31`) or a relative expression
|
|
5
|
+
* anchored on today (`today`, `today-18y`, `today+1m`). The relative form exists
|
|
6
|
+
* because an absolute bound goes stale: a birthdate field written as
|
|
7
|
+
* `max="2026-07-19"` starts accepting tomorrow's date the day after it ships.
|
|
8
|
+
*
|
|
9
|
+
* Units are `d` (days), `w` (weeks), `m` (months) and `y` (years).
|
|
10
|
+
*
|
|
11
|
+
* "Today" is the local calendar day, so the bound matches the date on the user's
|
|
12
|
+
* own clock. Pass `today` explicitly to make callers and tests deterministic.
|
|
13
|
+
*
|
|
14
|
+
* An unreadable expression resolves to no bound rather than to an impossible
|
|
15
|
+
* one - a typo in an attribute should not silently reject every date.
|
|
16
|
+
*/
|
|
17
|
+
/** Guards against month/day overflow: new Date(2026, 1, 31) silently becomes March 3. */
|
|
18
|
+
export declare function isRealDate(year: number, month: number, day: number): boolean;
|
|
19
|
+
export declare function toIso(year: number, month: number, day: number): string | null;
|
|
20
|
+
export declare function resolveDateBound(raw: string, today?: Date): string;
|
|
21
|
+
//# sourceMappingURL=resolve-date-bound.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-date-bound.d.ts","sourceRoot":"","sources":["../../src/utilities/resolve-date-bound.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,yFAAyF;AACzF,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAM5E;AAED,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG7E;AAUD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,GAAE,IAAiB,GAAG,MAAM,CAwC9E"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolves the `min` / `max` bound of a date component to an ISO date.
|
|
3
|
+
*
|
|
4
|
+
* Bounds accept a literal ISO date (`2026-12-31`) or a relative expression
|
|
5
|
+
* anchored on today (`today`, `today-18y`, `today+1m`). The relative form exists
|
|
6
|
+
* because an absolute bound goes stale: a birthdate field written as
|
|
7
|
+
* `max="2026-07-19"` starts accepting tomorrow's date the day after it ships.
|
|
8
|
+
*
|
|
9
|
+
* Units are `d` (days), `w` (weeks), `m` (months) and `y` (years).
|
|
10
|
+
*
|
|
11
|
+
* "Today" is the local calendar day, so the bound matches the date on the user's
|
|
12
|
+
* own clock. Pass `today` explicitly to make callers and tests deterministic.
|
|
13
|
+
*
|
|
14
|
+
* An unreadable expression resolves to no bound rather than to an impossible
|
|
15
|
+
* one - a typo in an attribute should not silently reject every date.
|
|
16
|
+
*/
|
|
17
|
+
/** Guards against month/day overflow: new Date(2026, 1, 31) silently becomes March 3. */
|
|
18
|
+
export function isRealDate(year, month, day) {
|
|
19
|
+
if (month < 1 || month > 12 || day < 1)
|
|
20
|
+
return false;
|
|
21
|
+
const date = new Date(Date.UTC(year, month - 1, day));
|
|
22
|
+
return date.getUTCFullYear() === year
|
|
23
|
+
&& date.getUTCMonth() === month - 1
|
|
24
|
+
&& date.getUTCDate() === day;
|
|
25
|
+
}
|
|
26
|
+
export function toIso(year, month, day) {
|
|
27
|
+
if (!isRealDate(year, month, day))
|
|
28
|
+
return null;
|
|
29
|
+
return `${String(year).padStart(4, '0')}-${String(month).padStart(2, '0')}-${String(day).padStart(2, '0')}`;
|
|
30
|
+
}
|
|
31
|
+
/** Day 0 of the next month is the last day of this one. */
|
|
32
|
+
function lastDayOfMonth(year, month) {
|
|
33
|
+
return new Date(Date.UTC(year, month, 0)).getUTCDate();
|
|
34
|
+
}
|
|
35
|
+
const ISO = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
36
|
+
const RELATIVE = /^today(?:([+-])(\d+)([dwmy]))?$/;
|
|
37
|
+
export function resolveDateBound(raw, today = new Date()) {
|
|
38
|
+
const trimmed = raw.trim();
|
|
39
|
+
if (trimmed === '')
|
|
40
|
+
return '';
|
|
41
|
+
const iso = ISO.exec(trimmed);
|
|
42
|
+
if (iso) {
|
|
43
|
+
return isRealDate(Number(iso[1]), Number(iso[2]), Number(iso[3])) ? trimmed : '';
|
|
44
|
+
}
|
|
45
|
+
const relative = RELATIVE.exec(trimmed);
|
|
46
|
+
if (!relative)
|
|
47
|
+
return '';
|
|
48
|
+
let year = today.getFullYear();
|
|
49
|
+
let month = today.getMonth() + 1;
|
|
50
|
+
let day = today.getDate();
|
|
51
|
+
if (relative[1]) {
|
|
52
|
+
const amount = Number(relative[2]) * (relative[1] === '-' ? -1 : 1);
|
|
53
|
+
const unit = relative[3];
|
|
54
|
+
if (unit === 'd' || unit === 'w') {
|
|
55
|
+
// Counted in UTC so a DST transition cannot swallow or repeat a day.
|
|
56
|
+
const shifted = new Date(Date.UTC(year, month - 1, day + amount * (unit === 'w' ? 7 : 1)));
|
|
57
|
+
year = shifted.getUTCFullYear();
|
|
58
|
+
month = shifted.getUTCMonth() + 1;
|
|
59
|
+
day = shifted.getUTCDate();
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const months = amount * (unit === 'y' ? 12 : 1);
|
|
63
|
+
const total = year * 12 + (month - 1) + months;
|
|
64
|
+
year = Math.floor(total / 12);
|
|
65
|
+
month = ((total % 12) + 12) % 12 + 1;
|
|
66
|
+
// Clamp instead of overflowing: 31 March minus a month is the end of
|
|
67
|
+
// February, not 3 March. For an age check (`today-18y` on 29 February)
|
|
68
|
+
// this admits a leap-day birthday one day early, which is the forgiving
|
|
69
|
+
// direction - the alternative wrongly turns someone away.
|
|
70
|
+
day = Math.min(day, lastDayOfMonth(year, month));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return toIso(year, month, day) ?? '';
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=resolve-date-bound.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-date-bound.js","sourceRoot":"","sources":["../../src/utilities/resolve-date-bound.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,yFAAyF;AACzF,MAAM,UAAU,UAAU,CAAC,IAAY,EAAE,KAAa,EAAE,GAAW;IAClE,IAAI,KAAK,GAAG,CAAC,IAAI,KAAK,GAAG,EAAE,IAAI,GAAG,GAAG,CAAC;QAAE,OAAO,KAAK,CAAC;IACrD,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;IACtD,OAAO,IAAI,CAAC,cAAc,EAAE,KAAK,IAAI;WACjC,IAAI,CAAC,WAAW,EAAE,KAAK,KAAK,GAAG,CAAC;WAChC,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,IAAY,EAAE,KAAa,EAAE,GAAW;IAC7D,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/C,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;AAC7G,CAAC;AAED,2DAA2D;AAC3D,SAAS,cAAc,CAAC,IAAY,EAAE,KAAa;IAClD,OAA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ED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nldd/design-system",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.71",
|
|
4
4
|
"description": "Design System voor Nederlandse Digitale Dienst",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/components/components.js",
|
|
@@ -115,6 +115,14 @@
|
|
|
115
115
|
"types": "./dist/components/inputs/combo-box/combo-box.d.ts",
|
|
116
116
|
"default": "./dist/components/inputs/combo-box/combo-box.js"
|
|
117
117
|
},
|
|
118
|
+
"./date-field": {
|
|
119
|
+
"types": "./dist/components/inputs/date-field/date-field.d.ts",
|
|
120
|
+
"default": "./dist/components/inputs/date-field/date-field.js"
|
|
121
|
+
},
|
|
122
|
+
"./date-picker": {
|
|
123
|
+
"types": "./dist/components/inputs/date-picker/date-picker.d.ts",
|
|
124
|
+
"default": "./dist/components/inputs/date-picker/date-picker.js"
|
|
125
|
+
},
|
|
118
126
|
"./dropdown": {
|
|
119
127
|
"types": "./dist/components/inputs/dropdown/dropdown.d.ts",
|
|
120
128
|
"default": "./dist/components/inputs/dropdown/dropdown.js"
|
|
@@ -203,6 +211,10 @@
|
|
|
203
211
|
"types": "./dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts",
|
|
204
212
|
"default": "./dist/components/layout/split-views/stacked-split-view/stacked-split-view.js"
|
|
205
213
|
},
|
|
214
|
+
"./split-view-divider": {
|
|
215
|
+
"types": "./dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts",
|
|
216
|
+
"default": "./dist/components/layout/split-views/split-view-divider/split-view-divider.js"
|
|
217
|
+
},
|
|
206
218
|
"./split-view-pane": {
|
|
207
219
|
"types": "./dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts",
|
|
208
220
|
"default": "./dist/components/layout/split-views/split-view-pane/split-view-pane.js"
|
|
@@ -287,6 +299,10 @@
|
|
|
287
299
|
"types": "./dist/components/lists-and-tables/list-item/list-item.d.ts",
|
|
288
300
|
"default": "./dist/components/lists-and-tables/list-item/list-item.js"
|
|
289
301
|
},
|
|
302
|
+
"./list-item-action": {
|
|
303
|
+
"types": "./dist/components/lists-and-tables/list-item-action/list-item-action.d.ts",
|
|
304
|
+
"default": "./dist/components/lists-and-tables/list-item-action/list-item-action.js"
|
|
305
|
+
},
|
|
290
306
|
"./table": {
|
|
291
307
|
"types": "./dist/components/lists-and-tables/table/table.d.ts",
|
|
292
308
|
"default": "./dist/components/lists-and-tables/table/table.js"
|
|
@@ -387,6 +403,10 @@
|
|
|
387
403
|
"types": "./dist/components/status-and-feedback/progress-circle/progress-circle.d.ts",
|
|
388
404
|
"default": "./dist/components/status-and-feedback/progress-circle/progress-circle.js"
|
|
389
405
|
},
|
|
406
|
+
"./step-indicator": {
|
|
407
|
+
"types": "./dist/components/status-and-feedback/step-indicator/step-indicator.d.ts",
|
|
408
|
+
"default": "./dist/components/status-and-feedback/step-indicator/step-indicator.js"
|
|
409
|
+
},
|
|
390
410
|
"./activity-indicator": {
|
|
391
411
|
"types": "./dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts",
|
|
392
412
|
"default": "./dist/components/status-and-feedback/activity-indicator/activity-indicator.js"
|
|
@@ -405,10 +425,14 @@
|
|
|
405
425
|
"./tokens": {
|
|
406
426
|
"types": "./dist/assets/styles/tokens.d.ts",
|
|
407
427
|
"default": "./dist/assets/styles/tokens.js"
|
|
428
|
+
},
|
|
429
|
+
"./vue": {
|
|
430
|
+
"types": "./dist/types/vue.d.ts"
|
|
408
431
|
}
|
|
409
432
|
},
|
|
410
433
|
"files": [
|
|
411
|
-
"dist"
|
|
434
|
+
"dist",
|
|
435
|
+
"custom-elements.json"
|
|
412
436
|
],
|
|
413
437
|
"repository": {
|
|
414
438
|
"type": "git",
|
|
@@ -423,12 +447,15 @@
|
|
|
423
447
|
"build:styles": "mkdir -p dist/css dist/fonts && cp src/assets/styles/settings.css dist/css/settings.css && cp src/assets/styles/reset.css dist/css/reset.css && cp src/assets/styles/palettes.generated.css dist/css/palettes.generated.css && cp src/components/content/rich-text/rich-text.css dist/css/rich-text.css && cp src/components/forms/form/form.css dist/css/form.css && cp src/components/forms/form-section/form-section.css dist/css/form-section.css && cp src/assets/styles/fouc.css dist/css/fouc.css && printf '@import \"./settings.css\";\\n@import \"./reset.css\";\\n@import \"./rich-text.css\";\\n@import \"./form-section.css\";\\n@import \"./form.css\";\\n@import \"./fouc.css\";\\n' > dist/css/global.css && cp src/assets/fonts/*.woff2 dist/fonts/",
|
|
424
448
|
"generate:palettes": "node scripts/generate-palettes.js",
|
|
425
449
|
"generate:component-reference": "node scripts/generate-component-reference.js",
|
|
450
|
+
"generate:cem": "cem analyze && npm run generate:vue-types",
|
|
451
|
+
"generate:vue-types": "node scripts/generate-vue-types.js",
|
|
426
452
|
"generate:skill-changelog": "node scripts/generate-skill-changelog.js",
|
|
427
453
|
"generate:skill-principles": "node scripts/generate-skill-principles.js",
|
|
428
454
|
"generate:plugin-version": "node scripts/sync-plugin-version.js",
|
|
429
455
|
"generate:skill-docs": "npm run generate:component-reference && npm run generate:skill-changelog && npm run generate:skill-principles && npm run generate:plugin-version",
|
|
430
456
|
"validate:styles": "node scripts/validate-css-variables.js",
|
|
431
|
-
"
|
|
457
|
+
"validate:component-api": "node scripts/validate-component-api.js",
|
|
458
|
+
"build:components": "npm run clean:components && npm run build:icons && npm run build:components:modules && npm run build:components:bundle && npm run build:exports && npm run generate:cem",
|
|
432
459
|
"build:icons": "node scripts/generate-icon-registry.js && node scripts/generate-logo.js",
|
|
433
460
|
"build:components:modules": "tsc -p tsconfig.build.json",
|
|
434
461
|
"build:components:bundle": "vite build",
|
|
@@ -452,12 +479,14 @@
|
|
|
452
479
|
"pretest:run": "npm run build:icons",
|
|
453
480
|
"test": "vitest",
|
|
454
481
|
"test:run": "vitest run",
|
|
455
|
-
"test:scripts": "node --test scripts/*.test.mjs",
|
|
456
|
-
"typecheck": "tsc --noEmit"
|
|
482
|
+
"test:scripts": "node --test scripts/*.test.mjs scripts/lib/*.test.mjs",
|
|
483
|
+
"typecheck": "tsc --noEmit",
|
|
484
|
+
"test:vue-types": "vue-tsc --noEmit -p type-tests/vue/tsconfig.json"
|
|
457
485
|
},
|
|
458
486
|
"devDependencies": {
|
|
459
487
|
"@commitlint/cli": "^19.6.1",
|
|
460
488
|
"@commitlint/config-conventional": "^19.6.0",
|
|
489
|
+
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
461
490
|
"@eslint/js": "^9.17.0",
|
|
462
491
|
"@semantic-release/changelog": "^6.0.3",
|
|
463
492
|
"@semantic-release/exec": "^7.1.0",
|
|
@@ -480,7 +509,9 @@
|
|
|
480
509
|
"typescript": "^5.3.0",
|
|
481
510
|
"typescript-eslint": "^8.58.0",
|
|
482
511
|
"vite": "^7.3.1",
|
|
483
|
-
"vitest": "^4.0.16"
|
|
512
|
+
"vitest": "^4.0.16",
|
|
513
|
+
"vue": "^3.5.40",
|
|
514
|
+
"vue-tsc": "^3.3.7"
|
|
484
515
|
},
|
|
485
516
|
"engines": {
|
|
486
517
|
"node": ">=18.0.0"
|
|
@@ -513,5 +544,6 @@
|
|
|
513
544
|
"@lezer/highlight": "^1.2.3",
|
|
514
545
|
"@rijkshuisstijl-community/font": "^1.1.2",
|
|
515
546
|
"lit": "^3.3.1"
|
|
516
|
-
}
|
|
547
|
+
},
|
|
548
|
+
"customElements": "custom-elements.json"
|
|
517
549
|
}
|