@nldd/design-system 0.13.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES.md +18 -1
- package/README.md +36 -26
- package/custom-elements.json +2508 -179
- package/dist/components/actions/button/button.d.ts +0 -2
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +17 -33
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -2
- package/dist/components/actions/button-bar/button-bar.d.ts +0 -2
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +2 -12
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +22 -7
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +41 -23
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +43 -18
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/button-group/button-group.template.js +1 -1
- package/dist/components/actions/button-group/button-group.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +0 -1
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +4 -11
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +2 -2
- package/dist/components/actions/menu/menu-divider.d.ts +1 -0
- package/dist/components/actions/menu/menu-divider.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-divider.js +1 -0
- package/dist/components/actions/menu/menu-divider.js.map +1 -1
- package/dist/components/actions/menu/menu-group.d.ts +1 -0
- package/dist/components/actions/menu/menu-group.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-group.js +1 -0
- package/dist/components/actions/menu/menu-group.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +1 -0
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +4 -7
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +15 -4
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +44 -17
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +2 -1
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts +0 -2
- package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.js +2 -20
- package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +2 -1
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +2 -1
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/button.i18n-DiDGynnq.js +8 -0
- package/dist/components/components.js +2761 -780
- package/dist/components/content/avatar/avatar.d.ts +0 -2
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +2 -27
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +0 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +2 -24
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +12 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +2 -1
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +1 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.diff.d.ts +2 -0
- package/dist/components/content/code-viewer/code-viewer.diff.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.diff.js +1 -4
- package/dist/components/content/code-viewer/code-viewer.diff.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +13 -11
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +10 -5
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +4 -0
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +4 -2
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +3 -0
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +19 -15
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +2 -1
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/image/image.d.ts +5 -11
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +14 -31
- package/dist/components/content/image/image.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 +2 -1
- package/dist/components/content/image/lqip-encoder-element.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +2 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +2 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +5 -5
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/text/text.d.ts +1 -1
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +3 -2
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +104 -1
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +1 -5
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +15 -27
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +2 -1
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.styles.d.ts.map +1 -1
- package/dist/components/content/token/token.styles.js +2 -1
- package/dist/components/content/token/token.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +2 -1
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +7 -7
- package/dist/components/content/visually-hidden/visually-hidden.js +1 -1
- package/dist/components/content/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/components/{decorate-Cz9-peTN.js → decorate-x12uDAK4.js} +9 -1
- package/dist/components/dev-checks-BgrW077W.js +2503 -0
- package/dist/components/element-state-BnarBv0M.js +42 -0
- package/dist/components/forms/form/form.d.ts +1 -96
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +1 -0
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +2 -1
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +10 -7
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +27 -32
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +1 -67
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -16
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +7 -6
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/{icon-DZ1UXCzO.js → icon-IgCyk9ui.js} +29 -10
- package/dist/components/{icon-button-984CwkU1.js → icon-button-B5tH4b3c.js} +15 -24
- package/dist/components/icon-button.i18n-1_N-wN6x.js +10 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +2 -1
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +2 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +2 -1
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +4 -5
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +2 -1
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +2 -1
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +5 -4
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +12 -0
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.i18n.d.ts +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.i18n.js +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +30 -10
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +91 -8
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts +1 -0
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +51 -21
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +2 -4
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +2 -4
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +2 -1
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +2 -1
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- 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 +2 -1
- 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 +0 -1
- 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 +2 -6
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -1
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +0 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +2 -11
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +161 -0
- package/dist/components/inputs/slider/slider.d.ts.map +1 -0
- package/dist/components/inputs/slider/slider.i18n.d.ts +6 -0
- package/dist/components/inputs/slider/slider.i18n.d.ts.map +1 -0
- package/dist/components/inputs/slider/slider.i18n.js +5 -0
- package/dist/components/inputs/slider/slider.i18n.js.map +1 -0
- package/dist/components/inputs/slider/slider.js +437 -0
- package/dist/components/inputs/slider/slider.js.map +1 -0
- package/dist/components/inputs/slider/slider.styles.d.ts +2 -0
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -0
- package/dist/components/inputs/slider/slider.styles.js +360 -0
- package/dist/components/inputs/slider/slider.styles.js.map +1 -0
- package/dist/components/inputs/slider/slider.template.d.ts +5 -0
- package/dist/components/inputs/slider/slider.template.d.ts.map +1 -0
- package/dist/components/inputs/slider/slider.template.js +99 -0
- package/dist/components/inputs/slider/slider.template.js.map +1 -0
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -1
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +2 -4
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +2 -1
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +7 -3
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +2 -0
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +14 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +1 -5
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +6 -23
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +2 -1
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -1
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +0 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +2 -23
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +0 -2
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +2 -12
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +2 -1
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/just-in-time-education.i18n-BJ5ovWVB.js +370 -0
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +2 -1
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +0 -1
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +2 -15
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.template.js +2 -2
- package/dist/components/layout/collection/collection.d.ts +0 -2
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +8 -24
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +6 -3
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +17 -23
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/divider/divider.js +1 -1
- package/dist/components/layout/divider/divider.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +2 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +9 -12
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +6 -7
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- 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 +2 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts +0 -1
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js +9 -28
- package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -4
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +7 -29
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- 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 +2 -1
- 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.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +2 -1
- 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.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- 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 +2 -1
- 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.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +2 -1
- 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 +0 -2
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +6 -25
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +0 -2
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +9 -20
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/shell/shell.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.js +2 -1
- package/dist/components/layout/shell/shell.js.map +1 -1
- package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
- package/dist/components/layout/spacer/spacer.js +2 -1
- package/dist/components/layout/spacer/spacer.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +6 -6
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +9 -12
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +2 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +2 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +2 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- 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 +2 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/task-board/task-board-column.d.ts +80 -0
- package/dist/components/layout/task-board/task-board-column.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board-column.js +205 -0
- package/dist/components/layout/task-board/task-board-column.js.map +1 -0
- package/dist/components/layout/task-board/task-board-column.template.d.ts +3 -0
- package/dist/components/layout/task-board/task-board-column.template.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board-column.template.js +45 -0
- package/dist/components/layout/task-board/task-board-column.template.js.map +1 -0
- package/dist/components/layout/task-board/task-board.d.ts +169 -0
- package/dist/components/layout/task-board/task-board.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board.i18n.d.ts +11 -0
- package/dist/components/layout/task-board/task-board.i18n.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board.i18n.js +10 -0
- package/dist/components/layout/task-board/task-board.i18n.js.map +1 -0
- package/dist/components/layout/task-board/task-board.js +702 -0
- package/dist/components/layout/task-board/task-board.js.map +1 -0
- package/dist/components/layout/task-board/task-board.styles.d.ts +3 -0
- package/dist/components/layout/task-board/task-board.styles.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board.styles.js +259 -0
- package/dist/components/layout/task-board/task-board.styles.js.map +1 -0
- package/dist/components/layout/task-board/task-board.template.d.ts +3 -0
- package/dist/components/layout/task-board/task-board.template.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board.template.js +25 -0
- package/dist/components/layout/task-board/task-board.template.js.map +1 -0
- package/dist/components/layout/window/window.d.ts +0 -1
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +4 -6
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/list-item.i18n-89uqlBMK.js +8 -0
- package/dist/components/list.i18n-nFB6dZpc.js +13 -0
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +1 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +3 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +0 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +5 -15
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +5 -23
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +53 -98
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +10 -15
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +40 -87
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +2 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +6 -11
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +0 -13
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +6 -41
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +2 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +2 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +5 -0
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +21 -1
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +18 -16
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +4 -0
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +13 -10
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -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/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +2 -1
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +6 -8
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +5 -15
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +0 -1
- 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 +6 -6
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -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 +7 -6
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/nl.generated-Ny3Kwppu.js +61 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +3 -6
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -1
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- 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 +2 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +0 -3
- 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 +2 -14
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +3 -7
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +4 -5
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +2 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +8 -7
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +0 -7
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +2 -24
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/{visibility-mixin-C-K7ho5Q.js → visibility-mixin-DcwzF0_a.js} +1 -7
- package/dist/components/{with-translations-DRuOq3QK.js → with-translations-DLzmBSkU.js} +26 -5
- package/dist/css/{global-system-font.css → global-open-font.css} +2 -0
- package/dist/css/global.css +1 -0
- package/dist/css/inter-font.css +47 -0
- package/dist/css/jetbrains-mono-font.css +22 -0
- package/dist/css/rijksoverheid-fonts.css +4 -21
- package/dist/css/themes/bruin.css +1 -0
- package/dist/css/themes/donkerblauw.css +1 -0
- package/dist/css/themes/donkerbruin.css +1 -0
- package/dist/css/themes/donkergeel.css +1 -0
- package/dist/css/themes/donkergroen.css +1 -0
- package/dist/css/themes/geel.css +1 -0
- package/dist/css/themes/groen.css +1 -0
- package/dist/css/themes/hemelblauw.css +1 -0
- package/dist/css/themes/lichtblauw.css +1 -0
- package/dist/css/themes/mintgroen.css +1 -0
- package/dist/css/themes/mosgroen.css +1 -0
- package/dist/css/themes/oranje.css +1 -0
- package/dist/css/themes/paars.css +1 -0
- package/dist/css/themes/robijnrood.css +1 -0
- package/dist/css/themes/rood.css +1 -0
- package/dist/css/themes/roze.css +1 -0
- package/dist/css/themes/violet.css +1 -0
- package/dist/css/themes.css +17 -0
- package/dist/css/tokens.css +1 -0
- package/dist/css/variables.css +27 -5
- package/dist/fonts/Inter-Latin-Italic[wght].woff2 +0 -0
- package/dist/fonts/Inter-LatinExt-Italic[wght].woff2 +0 -0
- package/dist/fonts/Inter-LatinExt[wght].woff2 +0 -0
- package/dist/fonts/Inter-Latin[wght].woff2 +0 -0
- package/dist/nldd.min.js +1856 -895
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +10 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +10 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +4 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/types/vue.d.ts +183 -9
- package/dist/utilities/codemirror/codemirror-input.d.ts +0 -2
- package/dist/utilities/codemirror/codemirror-input.d.ts.map +1 -1
- package/dist/utilities/codemirror/codemirror-input.js +0 -14
- package/dist/utilities/codemirror/codemirror-input.js.map +1 -1
- package/dist/utilities/custom-element.d.ts +7 -0
- package/dist/utilities/custom-element.d.ts.map +1 -0
- package/dist/utilities/custom-element.js +7 -0
- package/dist/utilities/custom-element.js.map +1 -0
- package/dist/utilities/dev-checks-trigger.d.ts +2 -0
- package/dist/utilities/dev-checks-trigger.d.ts.map +1 -0
- package/dist/utilities/dev-checks-trigger.js +10 -0
- package/dist/utilities/dev-checks-trigger.js.map +1 -0
- package/dist/utilities/dev-checks.d.ts +40 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -0
- package/dist/utilities/dev-checks.js +115 -0
- package/dist/utilities/dev-checks.js.map +1 -0
- package/dist/utilities/dev-rules.generated.d.ts +3 -0
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -0
- package/dist/utilities/dev-rules.generated.js +2472 -0
- package/dist/utilities/dev-rules.generated.js.map +1 -0
- package/dist/utilities/element-state.d.ts +19 -0
- package/dist/utilities/element-state.d.ts.map +1 -0
- package/dist/utilities/element-state.js +49 -0
- package/dist/utilities/element-state.js.map +1 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +2 -1
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/link-hint.d.ts +2 -21
- package/dist/utilities/link-hint.d.ts.map +1 -1
- package/dist/utilities/link-hint.js +22 -8
- package/dist/utilities/link-hint.js.map +1 -1
- package/dist/utilities/spacing-scale.d.ts +4 -5
- package/dist/utilities/spacing-scale.d.ts.map +1 -1
- package/dist/utilities/spacing-scale.js +4 -23
- package/dist/utilities/spacing-scale.js.map +1 -1
- package/dist/utilities/tab-order.d.ts +11 -0
- package/dist/utilities/tab-order.d.ts.map +1 -0
- package/dist/utilities/tab-order.js +55 -0
- package/dist/utilities/tab-order.js.map +1 -0
- package/dist/utilities/translations.d.ts.map +1 -1
- package/dist/utilities/translations.js +3 -15
- package/dist/utilities/translations.js.map +1 -1
- package/dist/utilities/visibility-mixin.d.ts +7 -0
- package/dist/utilities/visibility-mixin.d.ts.map +1 -1
- package/dist/utilities/visibility-mixin.js +0 -10
- package/dist/utilities/visibility-mixin.js.map +1 -1
- package/lint/cli.js +18 -0
- package/lint/data.generated.json +1 -0
- package/lint/engine.js +191 -0
- package/lint/fix.js +293 -0
- package/lint/format.js +133 -0
- package/lint/frontends.js +483 -0
- package/lint/linter.js +262 -0
- package/lint/main.js +279 -0
- package/lint/project.js +143 -0
- package/lint/rule-data.js +83 -0
- package/lint/rule-index.js +20 -0
- package/lint/rule.schema.json +65 -0
- package/lint/tree.js +131 -0
- package/package.json +32 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/icon-cell/icon-cell.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"icon-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/icon-cell/icon-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,+BAA+B,CAAC;AAOhC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,eAAe,CAAC,UAAU,EAAE,iBAAiB,CAAC;IAAzE;;QAIN,SAAI,GAAS,IAAI,CAAC;QAGlB,UAAK,GAAU,SAAS,CAAC;QAGzB,sBAAiB,GAAsB,QAAQ,CAAC;QAGhD,SAAI,GAAG,EAAE,CAAC;IAKX,CAAC;IAHS,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;;AAhBe,mBAAM,GAAG,cAAc,AAAjB,CAAkB;AAGxC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CACxB;AAGlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAQ,SAAS,CAAC,EAAE,CAAC;2CACnD;AAGzB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,CAAoB,QAAQ,CAAC,EAAE,CAAC;uDACxE;AAGhD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CAChC;AAbE,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CAkBxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacer-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/spacer-cell/spacer-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"spacer-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/spacer-cell/spacer-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,KAAK,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,UAAU,CAAC;;;;;AAEjJ,qBACa,cAAe,SAAQ,mBAA8C;IACjF,OAAgB,MAAM,0BAAoB;IAG1C,IAAI,EAAE,IAAI,CAAQ;IAET,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
|
|
@@ -13,7 +13,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
* @attr {string} size - Spacer size in pixels: '2' | '4' | '6' | '8' | '10' | '12' | '16' | '20' | '24' | '28' | '32' | '40' | '44' | '48' | '56' | '64' | '80' | '96' (default: '16')
|
|
14
14
|
*/
|
|
15
15
|
import { LitElement } from 'lit';
|
|
16
|
-
import {
|
|
16
|
+
import { property } from 'lit/decorators.js';
|
|
17
|
+
import { customElement } from '../../../../utilities/custom-element.js';
|
|
17
18
|
import { spacerCellStyles } from './spacer-cell.styles.js';
|
|
18
19
|
import { VisibilityMixin } from '../../../../utilities/visibility-mixin.js';
|
|
19
20
|
let NLDDSpacerCell = class NLDDSpacerCell extends VisibilityMixin(LitElement, 'cells-container') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacer-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/spacer-cell/spacer-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"spacer-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/spacer-cell/spacer-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAKrE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,eAAe,CAAC,UAAU,EAAE,iBAAiB,CAAC;IAA3E;;QAIN,SAAI,GAAS,IAAI,CAAC;IAKnB,CAAC;IAHS,MAAM;QACd,OAAO,IAAI,CAAC;IACb,CAAC;;AAPe,qBAAM,GAAG,gBAAgB,AAAnB,CAAoB;AAG1C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CACxB;AAJN,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CAS1B"}
|
|
@@ -89,7 +89,6 @@ export declare class NLDDStepCell extends NLDDStepCell_base {
|
|
|
89
89
|
/** Only a whole dot in a wide lane has room to read a number in: a minor one is
|
|
90
90
|
* smaller still, and would claim to be a step of its own. */
|
|
91
91
|
get showsContent(): boolean;
|
|
92
|
-
private _warnedContent;
|
|
93
92
|
updated(changed: PropertyValues): void;
|
|
94
93
|
render(): import("lit-html").TemplateResult;
|
|
95
94
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"step-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;A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orators, target, key,
|
|
|
35
35
|
* @slot - Custom content in the dot (an alternative to `text` and `icon`)
|
|
36
36
|
*/
|
|
37
37
|
import { LitElement } from 'lit';
|
|
38
|
-
import {
|
|
38
|
+
import { property } from 'lit/decorators.js';
|
|
39
|
+
import { customElement } from '../../../../utilities/custom-element.js';
|
|
39
40
|
import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
|
|
40
41
|
import { VisibilityMixin } from '../../../../utilities/visibility-mixin.js';
|
|
41
42
|
import { stepCellStyles } from './step-cell.styles.js';
|
|
42
43
|
import { stepCellTemplate } from './step-cell.template.js';
|
|
43
44
|
import '../../../content/icon/icon.js';
|
|
45
|
+
import { setState } from '../../../../utilities/element-state.js';
|
|
44
46
|
const CSS_WIDE_KEYWORDS = new Set(['inherit', 'initial', 'unset', 'revert', 'revert-layer']);
|
|
45
47
|
let NLDDStepCell = class NLDDStepCell extends VisibilityMixin(LitElement, 'cells-container') {
|
|
46
48
|
constructor() {
|
|
@@ -88,7 +90,6 @@ let NLDDStepCell = class NLDDStepCell extends VisibilityMixin(LitElement, 'cells
|
|
|
88
90
|
this.line = 'auto';
|
|
89
91
|
this.text = '';
|
|
90
92
|
this.icon = '';
|
|
91
|
-
this._warnedContent = false;
|
|
92
93
|
}
|
|
93
94
|
/** Only a whole dot in a wide lane has room to read a number in: a minor one is
|
|
94
95
|
* smaller still, and would claim to be a step of its own. */
|
|
@@ -97,6 +98,7 @@ let NLDDStepCell = class NLDDStepCell extends VisibilityMixin(LitElement, 'cells
|
|
|
97
98
|
}
|
|
98
99
|
updated(changed) {
|
|
99
100
|
super.updated(changed);
|
|
101
|
+
setState(this, 'hidden-content', Boolean(this.text || this.icon) && !this.showsContent);
|
|
100
102
|
if (changed.has('markerOffset')) {
|
|
101
103
|
const offset = (this.markerOffset ?? '').trim();
|
|
102
104
|
// margin-top takes a length or a percentage, as the offset does, and also
|
|
@@ -107,19 +109,7 @@ let NLDDStepCell = class NLDDStepCell extends VisibilityMixin(LitElement, 'cells
|
|
|
107
109
|
else
|
|
108
110
|
this.style.removeProperty('--_step-cell-marker-offset');
|
|
109
111
|
this.toggleAttribute('data-marker-offset', valid);
|
|
110
|
-
|
|
111
|
-
console.warn(`<nldd-step-cell>: marker-offset="${offset}" is not a CSS length or percentage, so the dot falls back to vertical-alignment. Use a length such as "1rem" or a percentage such as "25%".`, this);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
if (!import.meta.env?.DEV)
|
|
115
|
-
return;
|
|
116
|
-
const ignored = !this.showsContent && Boolean(this.text || this.icon);
|
|
117
|
-
if (ignored && !this._warnedContent) {
|
|
118
|
-
this._warnedContent = true;
|
|
119
|
-
console.warn('<nldd-step-cell>: `text` and `icon` only fit in a full dot on a wide track (`size="md"` with `level="major"`); they are not shown here.');
|
|
120
|
-
}
|
|
121
|
-
else if (!ignored) {
|
|
122
|
-
this._warnedContent = false;
|
|
112
|
+
setState(this, 'invalid-marker-offset', offset !== '' && !valid);
|
|
123
113
|
}
|
|
124
114
|
}
|
|
125
115
|
render() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"step-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MA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IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,CAAoB,QAAQ,CAAC,EAAE,CAAC;uDACxE;AAGhD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;kDAChF;AAQlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAY,MAAM,CAAC,EAAE,CAAC;+CAC/C;AAG9B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAW,SAAS,CAAC,EAAE,CAAC;8CAChD;AAmB/B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAO,MAAM,CAAC,EAAE,CAAC;0CACpD;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CACjB;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CACjB;AAhEE,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CA0FxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"text-cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,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this.__decorate) || function (decorators, target, key,
|
|
|
59
59
|
* @attr {string} query-mark-mode - 'match' | 'predictive' (default: 'predictive')
|
|
60
60
|
*/
|
|
61
61
|
import { LitElement } from 'lit';
|
|
62
|
-
import {
|
|
62
|
+
import { property, state } from 'lit/decorators.js';
|
|
63
|
+
import { customElement } from '../../../../utilities/custom-element.js';
|
|
63
64
|
import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
|
|
64
65
|
import { textCellStyles } from './text-cell.styles.js';
|
|
65
66
|
import { template } from './text-cell.template.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"text-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AASrE,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,eAAe,CAAC,UAAU,EAAE,iBA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AAgB;IACP,mBAAmB,UAAS;IACrC,gBAAgB;IACP,kBAAkB,UAAS;IACpC,gBAAgB;IACP,yBAAyB,UAAS;IAElC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAO9C,OAAO,CAAC,qBAAqB;IA6B7B,gBAAgB;IAChB,aAAa,GAAI,GAAG,KAAK,KAAG,IAAI,CAqB9B;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,aAAa,CAAC;KACjC;CACD"}
|
|
@@ -59,7 +59,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
59
59
|
* @attr {string} query-mark-mode - 'match' | 'predictive' (default: 'predictive')
|
|
60
60
|
*/
|
|
61
61
|
import { LitElement } from 'lit';
|
|
62
|
-
import {
|
|
62
|
+
import { property, state } from 'lit/decorators.js';
|
|
63
|
+
import { customElement } from '../../../../utilities/custom-element.js';
|
|
63
64
|
import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
|
|
64
65
|
import { titleCellStyles } from './title-cell.styles.js';
|
|
65
66
|
import { template } from './title-cell.template.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"title-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,K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E,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;4CAC3D;AAGX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;oDACb;AAGnC;IAAR,KAAK,EAAE;0DAA6B;AAE5B;IAAR,KAAK,EAAE;yDAA4B;AAE3B;IAAR,KAAK,EAAE;gEAAmC;AAnD/B,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAoHzB"}
|
|
@@ -276,20 +276,6 @@ export declare class NLDDList extends LitElement {
|
|
|
276
276
|
* the list. */
|
|
277
277
|
private _applyItemContext;
|
|
278
278
|
private _updateEmpty;
|
|
279
|
-
/**
|
|
280
|
-
* A list with nothing in it and nothing to say about that.
|
|
281
|
-
*
|
|
282
|
-
* There is no default text any more, because what an empty list means is
|
|
283
|
-
* the app's to write and a house sentence was wrong more often than right.
|
|
284
|
-
* That leaves a real risk of a blank area with nothing in the accessibility
|
|
285
|
-
* tree either, so the list asks the person building it rather than
|
|
286
|
-
* answering for them. It asks about the state it is actually in: rows that
|
|
287
|
-
* are all hidden are covered by [slot="no-results"] as well as by the
|
|
288
|
-
* [slot="empty"] it falls back to. A listbox before you have typed is left
|
|
289
|
-
* alone: an empty search is not an empty list.
|
|
290
|
-
*/
|
|
291
|
-
private _warnSilentEmpty;
|
|
292
|
-
private _warnedSilentEmpty;
|
|
293
279
|
/** Every option needs a stable id for aria-activedescendant. Assign one to
|
|
294
280
|
* any item that lacks one (consumer-supplied ids win). */
|
|
295
281
|
private _ensureOptionId;
|
|
@@ -357,7 +343,6 @@ export declare class NLDDList extends LitElement {
|
|
|
357
343
|
* the branch and the next top-level row, and arrows have to walk them too. */
|
|
358
344
|
private _getInteractiveItems;
|
|
359
345
|
private _rovingScheduled;
|
|
360
|
-
private _warnedActionRowInForm;
|
|
361
346
|
/**
|
|
362
347
|
* Whether the control the Escape came from had a popover open when the key
|
|
363
348
|
* went down. Read on the way in, because a control closes its own menu in its
|
|
@@ -432,11 +417,7 @@ export declare class NLDDList extends LitElement {
|
|
|
432
417
|
*/
|
|
433
418
|
private _onTreeActivate;
|
|
434
419
|
private _moveRovingTo;
|
|
435
|
-
private
|
|
436
|
-
/** Reported once per element: a list that gains rows would otherwise repeat
|
|
437
|
-
* the same line on every change. */
|
|
438
|
-
private readonly _warnedUnmanaged;
|
|
439
|
-
private _unmanagedWarnScheduled;
|
|
420
|
+
private _unmanagedCheckScheduled;
|
|
440
421
|
/**
|
|
441
422
|
* A control the row cannot reach: a custom element that keeps its tab stop in
|
|
442
423
|
* its own shadow root and has no `no-tab` to close it. Such a control stays a
|
|
@@ -446,10 +427,11 @@ export declare class NLDDList extends LitElement {
|
|
|
446
427
|
* Deferred, and re-run whenever the rows change. A slotted custom element has
|
|
447
428
|
* its shadow root the moment it connects, but Lit renders the content on the
|
|
448
429
|
* first update, so a check that runs in `firstUpdated` looks into an empty
|
|
449
|
-
* shadow root and finds nothing
|
|
450
|
-
*
|
|
430
|
+
* shadow root and finds nothing. Waiting for the element to be defined is not
|
|
431
|
+
* enough either: it has to have rendered.
|
|
451
432
|
*/
|
|
452
|
-
private
|
|
433
|
+
private _syncUnmanagedControls;
|
|
434
|
+
private _holdsUnmanagedControl;
|
|
453
435
|
private _hiddenWithin;
|
|
454
436
|
private _onPointerDown;
|
|
455
437
|
private _lastPointerY;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAA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OAAO,CAAC,iBAAiB;IA6BzB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,eAAe;IAYvB,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,wBAAwB,CAAS;IAEzC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,sBAAsB;YAsBhB,sBAAsB;IAmBpC,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,cAAc,CA2BpB;IAEF,OAAO,CAAC,aAAa,CAAK;IAE1B,OAAO,CAAC,cAAc,CA8BpB;IAEF,OAAO,CAAC,YAAY,CAElB;IAEF,OAAO,CAAC,gBAAgB,CAEtB;IAOF,OAAO,CAAC,UAAU,CAsDhB;IAEF,OAAO,CAAC,qBAAqB;IAU7B,OAAO,CAAC,UAAU;IA6ClB;;;OAGG;IACH,OAAO,CAAC,aAAa;IAqBrB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,QAAQ;IAgChB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,YAAY;IA0BpB,OAAO,CAAC,EAAE;IAMV,OAAO,CAAC,SAAS;IAWR,MAAM;CA0Bf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -6,7 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
var NLDDList_1;
|
|
8
8
|
import { LitElement } from 'lit';
|
|
9
|
-
import {
|
|
9
|
+
import { property, query, state } from 'lit/decorators.js';
|
|
10
|
+
import { customElement } from '../../../utilities/custom-element.js';
|
|
10
11
|
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
11
12
|
import { listStyles } from './list.styles.js';
|
|
12
13
|
import { template } from './list.template.js';
|
|
@@ -15,6 +16,7 @@ import '../../status-and-feedback/inline-dialog/inline-dialog.js';
|
|
|
15
16
|
import '../../content/icon/icon.js';
|
|
16
17
|
import '../../actions/icon-button/icon-button.js';
|
|
17
18
|
import { translate } from '../../../utilities/translations.js';
|
|
19
|
+
import { setState } from '../../../utilities/element-state.js';
|
|
18
20
|
/** What the browser counts as a tab stop in a shadow root: focusable, enabled,
|
|
19
21
|
* and not parked at a negative tabindex. */
|
|
20
22
|
const SHADOW_TAB_STOP = ':is(a[href], button, input, select, textarea, [tabindex]):not([tabindex^="-"]):not(:disabled)';
|
|
@@ -238,7 +240,6 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
238
240
|
/** The navigation label this list set itself, so a consumer's own is left alone. */
|
|
239
241
|
this._autoLabel = null;
|
|
240
242
|
this._contextScheduled = false;
|
|
241
|
-
this._warnedSilentEmpty = false;
|
|
242
243
|
/** Keep the active option valid after the visible set changes (initial
|
|
243
244
|
* render, slot change, or consumer-driven `[hidden]` filtering): ensure ids,
|
|
244
245
|
* reset the active option to the first visible one when the current active is
|
|
@@ -340,7 +341,6 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
340
341
|
this._setActiveOption(visible[next]);
|
|
341
342
|
};
|
|
342
343
|
this._rovingScheduled = false;
|
|
343
|
-
this._warnedActionRowInForm = false;
|
|
344
344
|
/**
|
|
345
345
|
* Whether the control the Escape came from had a popover open when the key
|
|
346
346
|
* went down. Read on the way in, because a control closes its own menu in its
|
|
@@ -397,10 +397,7 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
397
397
|
this._getAllRows().forEach((row) => { row._parkControls(); });
|
|
398
398
|
});
|
|
399
399
|
};
|
|
400
|
-
|
|
401
|
-
* the same line on every change. */
|
|
402
|
-
this._warnedUnmanaged = new WeakSet();
|
|
403
|
-
this._unmanagedWarnScheduled = false;
|
|
400
|
+
this._unmanagedCheckScheduled = false;
|
|
404
401
|
// — Drag: pointer ————————————————————————————————————————————————————————
|
|
405
402
|
this._onPointerDown = (event) => {
|
|
406
403
|
if (!this.reorderable || this.type !== 'list')
|
|
@@ -539,7 +536,7 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
539
536
|
this._updateEmpty();
|
|
540
537
|
}));
|
|
541
538
|
this._updateItems();
|
|
542
|
-
this.
|
|
539
|
+
this._syncUnmanagedControls();
|
|
543
540
|
const toolbarSlot = this.shadowRoot?.querySelector('slot[name="toolbar"]');
|
|
544
541
|
toolbarSlot?.addEventListener('slotchange', () => queueMicrotask(() => {
|
|
545
542
|
this._hasToolbar = toolbarSlot.assignedElements().length > 0;
|
|
@@ -576,7 +573,7 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
576
573
|
return;
|
|
577
574
|
this._updateItems();
|
|
578
575
|
this._updateEmpty();
|
|
579
|
-
this.
|
|
576
|
+
this._syncUnmanagedControls();
|
|
580
577
|
});
|
|
581
578
|
this._itemsObserver.observe(this, {
|
|
582
579
|
childList: true,
|
|
@@ -617,11 +614,8 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
617
614
|
updated(changed) {
|
|
618
615
|
this._syncTranslatedTexts();
|
|
619
616
|
if (changed.has('reorderable') || changed.has('type')) {
|
|
620
|
-
if (this.reorderable && this.type !== 'list' && import.meta.env?.DEV) {
|
|
621
|
-
console.warn('nldd-list: `reorderable` is only valid when type="list". Ignoring.');
|
|
622
|
-
}
|
|
623
617
|
this._updateItems();
|
|
624
|
-
this.
|
|
618
|
+
this._syncUnmanagedControls();
|
|
625
619
|
}
|
|
626
620
|
if (changed.has('appearance')) {
|
|
627
621
|
this._updateItemContext();
|
|
@@ -764,8 +758,7 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
764
758
|
// The rows are read off the slot, and a slot has nothing assigned until it
|
|
765
759
|
// has rendered. Before that they are read from the children, where they
|
|
766
760
|
// already are: judging on the slot called every list empty for one render,
|
|
767
|
-
// which hid the controls that belong to the rows
|
|
768
|
-
// naming the wrong state.
|
|
761
|
+
// which hid the controls that belong to the rows.
|
|
769
762
|
const items = this.hasUpdated
|
|
770
763
|
? this._getItems()
|
|
771
764
|
: Array.from(this.querySelectorAll(':scope > nldd-list-item'));
|
|
@@ -783,41 +776,11 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
783
776
|
// the search field and the toolbar in it are the way back. A listbox stays
|
|
784
777
|
// as well: its search field is the way to any rows at all.
|
|
785
778
|
this.classList.toggle('is-blank', this._isEmpty && !this._hasItems && !this._hasEmptyState && this.type !== 'listbox');
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
* There is no default text any more, because what an empty list means is
|
|
792
|
-
* the app's to write and a house sentence was wrong more often than right.
|
|
793
|
-
* That leaves a real risk of a blank area with nothing in the accessibility
|
|
794
|
-
* tree either, so the list asks the person building it rather than
|
|
795
|
-
* answering for them. It asks about the state it is actually in: rows that
|
|
796
|
-
* are all hidden are covered by [slot="no-results"] as well as by the
|
|
797
|
-
* [slot="empty"] it falls back to. A listbox before you have typed is left
|
|
798
|
-
* alone: an empty search is not an empty list.
|
|
799
|
-
*/
|
|
800
|
-
_warnSilentEmpty() {
|
|
801
|
-
if (!import.meta.env?.DEV)
|
|
802
|
-
return;
|
|
803
|
-
if (!this._isEmpty || this._warnedSilentEmpty)
|
|
804
|
-
return;
|
|
805
|
-
if (this.type === 'listbox' && !this._searchValue)
|
|
806
|
-
return;
|
|
807
|
-
if (this._hasEmptyState)
|
|
808
|
-
return;
|
|
809
|
-
// Rows that are all hidden are the no-results state, and a slot that covers
|
|
810
|
-
// it answers the question: warning about the empty slot there would ask for
|
|
811
|
-
// a second sentence nobody will ever read.
|
|
812
|
-
if (this._hasItems && this._hasNoResultsState)
|
|
813
|
-
return;
|
|
814
|
-
const slot = this._hasItems ? '[slot="no-results"]' : '[slot="empty"]';
|
|
815
|
-
const what = this._hasItems
|
|
816
|
-
? 'every item hidden and nothing in ' + slot
|
|
817
|
-
: 'no items and nothing in ' + slot;
|
|
818
|
-
this._warnedSilentEmpty = true;
|
|
819
|
-
console.warn(`nldd-list: ${what}, so the list renders a blank area. `
|
|
820
|
-
+ 'Put an nldd-inline-dialog in that slot saying what is not there and what the next move is.', this);
|
|
779
|
+
// A listbox before you have typed is neither: an empty search is not an
|
|
780
|
+
// empty list. Rows that are all hidden are the no-results state.
|
|
781
|
+
const nothingShown = this._isEmpty && !(this.type === 'listbox' && !this._searchValue);
|
|
782
|
+
setState(this, 'empty', nothingShown && !this._hasItems);
|
|
783
|
+
setState(this, 'filtered', nothingShown && this._hasItems);
|
|
821
784
|
}
|
|
822
785
|
// — Listbox: active-option model ————————————————————————————————————————————
|
|
823
786
|
/** Every option needs a stable id for aria-activedescendant. Assign one to
|
|
@@ -957,14 +920,6 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
957
920
|
// when AT reaches the list). See _arrowNavActive — known limitation.
|
|
958
921
|
// Only where the keys go somewhere: a list of nothing but text has no stops
|
|
959
922
|
// to move between, and promising keys that do nothing is worse than silence.
|
|
960
|
-
if (import.meta.env?.DEV && this.type === 'form' && !this._warnedActionRowInForm) {
|
|
961
|
-
const action = rows.find((row) => row.href || row.button || row.checkbox
|
|
962
|
-
|| row.querySelector(':scope > nldd-list-item-segment'));
|
|
963
|
-
if (action) {
|
|
964
|
-
this._warnedActionRowInForm = true;
|
|
965
|
-
console.warn('nldd-list: type="form" says the rows are not actions and the controls inside them are, so its rows carry no keyboard of their own. This one is a link, a button, a checkbox or a set of segments, which contradicts that. Use type="list" for rows you activate, and put the action in a cell if it belongs to a form row.');
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
923
|
if (interactive.length > 0) {
|
|
969
924
|
this.setAttribute('aria-keyshortcuts', 'ArrowUp ArrowDown Home End');
|
|
970
925
|
this.setAttribute('aria-description', this._t('components.list.arrow-navigation-description-text'));
|
|
@@ -1149,14 +1104,6 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
1149
1104
|
this._setRovingActive(row);
|
|
1150
1105
|
row.focus();
|
|
1151
1106
|
}
|
|
1152
|
-
_warnArrowNav() {
|
|
1153
|
-
if (!import.meta.env?.DEV)
|
|
1154
|
-
return;
|
|
1155
|
-
if (this.hasAttribute('arrow-navigation')) {
|
|
1156
|
-
console.warn('nldd-list: `arrow-navigation` is the default now and the attribute does nothing; remove it.');
|
|
1157
|
-
}
|
|
1158
|
-
this._warnUnmanagedControls();
|
|
1159
|
-
}
|
|
1160
1107
|
/**
|
|
1161
1108
|
* A control the row cannot reach: a custom element that keeps its tab stop in
|
|
1162
1109
|
* its own shadow root and has no `no-tab` to close it. Such a control stays a
|
|
@@ -1166,49 +1113,57 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
1166
1113
|
* Deferred, and re-run whenever the rows change. A slotted custom element has
|
|
1167
1114
|
* its shadow root the moment it connects, but Lit renders the content on the
|
|
1168
1115
|
* first update, so a check that runs in `firstUpdated` looks into an empty
|
|
1169
|
-
* shadow root and finds nothing
|
|
1170
|
-
*
|
|
1116
|
+
* shadow root and finds nothing. Waiting for the element to be defined is not
|
|
1117
|
+
* enough either: it has to have rendered.
|
|
1171
1118
|
*/
|
|
1172
|
-
|
|
1173
|
-
if (!import.meta.env?.DEV
|
|
1119
|
+
_syncUnmanagedControls() {
|
|
1120
|
+
if (!import.meta.env?.DEV)
|
|
1121
|
+
return;
|
|
1122
|
+
if (!this._arrowNavActive) {
|
|
1123
|
+
setState(this, 'control-keeps-tab-stop', false);
|
|
1174
1124
|
return;
|
|
1175
|
-
|
|
1125
|
+
}
|
|
1126
|
+
if (this._unmanagedCheckScheduled)
|
|
1176
1127
|
return;
|
|
1177
|
-
this.
|
|
1128
|
+
this._unmanagedCheckScheduled = true;
|
|
1178
1129
|
const check = async () => {
|
|
1179
|
-
this.
|
|
1130
|
+
this._unmanagedCheckScheduled = false;
|
|
1180
1131
|
const rows = this._getPaintedRows();
|
|
1181
1132
|
await Promise.all(rows.map((row) => row.updateComplete));
|
|
1133
|
+
let found = false;
|
|
1182
1134
|
for (const row of rows) {
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
// A segment is managed over its own channel (`_tabbable`), so it
|
|
1187
|
-
// needs no `no-tab`.
|
|
1188
|
-
if (el.tagName.toLowerCase() === 'nldd-list-item-segment')
|
|
1189
|
-
continue;
|
|
1190
|
-
if (!el.tagName.includes('-') || 'noTab' in el)
|
|
1191
|
-
continue;
|
|
1192
|
-
if (this._warnedUnmanaged.has(el))
|
|
1193
|
-
continue;
|
|
1194
|
-
const upgraded = el;
|
|
1195
|
-
if (upgraded.updateComplete)
|
|
1196
|
-
await upgraded.updateComplete;
|
|
1197
|
-
if (!el.shadowRoot?.querySelector(SHADOW_TAB_STOP))
|
|
1198
|
-
continue;
|
|
1199
|
-
// Nothing hidden on the way from the row: a menu item in a closed
|
|
1200
|
-
// menu is no tab stop of the row's, and the component that hides it
|
|
1201
|
-
// runs its own focus. Computed style, not checkVisibility(): that one
|
|
1202
|
-
// needs a laid-out box and answers false until the first layout.
|
|
1203
|
-
if (this._hiddenWithin(row, el))
|
|
1204
|
-
continue;
|
|
1205
|
-
this._warnedUnmanaged.add(el);
|
|
1206
|
-
console.warn(`nldd-list: <${el.tagName.toLowerCase()}> in a list-item keeps its tab stop in its own shadow root and has no \`no-tab\`, so the row cannot take it out of the tab order and the arrow keys skip that row. If the rows of this list are not actions themselves, it is a form: set type="form" and the roving falls away. Otherwise give the component \`no-tab\`, or wrap the control in an nldd-list-item-segment.`);
|
|
1207
|
-
}
|
|
1135
|
+
if (found)
|
|
1136
|
+
break;
|
|
1137
|
+
found = await this._holdsUnmanagedControl(row);
|
|
1208
1138
|
}
|
|
1139
|
+
setState(this, 'control-keeps-tab-stop', found);
|
|
1209
1140
|
};
|
|
1210
1141
|
void check();
|
|
1211
1142
|
}
|
|
1143
|
+
async _holdsUnmanagedControl(row) {
|
|
1144
|
+
for (const el of Array.from(row.querySelectorAll('*'))) {
|
|
1145
|
+
if (el.closest('nldd-list-item') !== row)
|
|
1146
|
+
continue;
|
|
1147
|
+
// A segment is managed over its own channel (`_tabbable`), so it
|
|
1148
|
+
// needs no `no-tab`.
|
|
1149
|
+
if (el.tagName.toLowerCase() === 'nldd-list-item-segment')
|
|
1150
|
+
continue;
|
|
1151
|
+
if (!el.tagName.includes('-') || 'noTab' in el)
|
|
1152
|
+
continue;
|
|
1153
|
+
const upgraded = el;
|
|
1154
|
+
if (upgraded.updateComplete)
|
|
1155
|
+
await upgraded.updateComplete;
|
|
1156
|
+
if (!el.shadowRoot?.querySelector(SHADOW_TAB_STOP))
|
|
1157
|
+
continue;
|
|
1158
|
+
// Nothing hidden on the way from the row: a menu item in a closed
|
|
1159
|
+
// menu is no tab stop of the row's, and the component that hides it
|
|
1160
|
+
// runs its own focus. Computed style, not checkVisibility(): that one
|
|
1161
|
+
// needs a laid-out box and answers false until the first layout.
|
|
1162
|
+
if (!this._hiddenWithin(row, el))
|
|
1163
|
+
return true;
|
|
1164
|
+
}
|
|
1165
|
+
return false;
|
|
1166
|
+
}
|
|
1212
1167
|
_hiddenWithin(row, el) {
|
|
1213
1168
|
for (let node = el; node && node !== row; node = node.parentElement) {
|
|
1214
1169
|
if (getComputedStyle(node).display === 'none')
|