@nldd/design-system 0.8.79 → 0.8.80
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/custom-elements.json +1513 -476
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +4 -1
- package/dist/components/actions/button/button.styles.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 +4 -1
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +19 -1
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +55 -25
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +9 -0
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.i18n.d.ts +1 -0
- package/dist/components/actions/toolbar/toolbar.i18n.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.i18n.js +1 -0
- package/dist/components/actions/toolbar/toolbar.i18n.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +20 -0
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +39 -5
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +19 -1
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +97 -94
- package/dist/components/content/avatar/avatar.d.ts +51 -47
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +85 -75
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +2 -2
- package/dist/components/content/avatar/avatar.template.d.ts +1 -0
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +26 -18
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +90 -0
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts +6 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.js +5 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.js.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.js +169 -0
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts +2 -0
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.styles.js +132 -0
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.template.d.ts +3 -0
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.template.js +50 -0
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -0
- package/dist/components/content/blockquote/blockquote.d.ts +3 -3
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +8 -8
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.template.js +1 -1
- package/dist/components/content/blockquote/blockquote.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +4 -4
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +5 -13
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +18 -0
- 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 +65 -27
- 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 +16 -12
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +71 -0
- package/dist/components/content/identity/identity.d.ts.map +1 -0
- package/dist/components/content/identity/identity.js +124 -0
- package/dist/components/content/identity/identity.js.map +1 -0
- package/dist/components/content/identity/identity.styles.d.ts +2 -0
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -0
- package/dist/components/content/{byline/byline.styles.js → identity/identity.styles.js} +28 -47
- package/dist/components/content/identity/identity.styles.js.map +1 -0
- package/dist/components/content/identity/identity.template.d.ts +3 -0
- package/dist/components/content/identity/identity.template.d.ts.map +1 -0
- package/dist/components/content/{byline/byline.template.js → identity/identity.template.js} +12 -11
- package/dist/components/content/identity/identity.template.js.map +1 -0
- package/dist/components/content/tag/tag.d.ts +15 -10
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +15 -10
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/title/title.d.ts +4 -4
- package/dist/components/content/title/title.js +4 -4
- package/dist/components/content/title/title.styles.js +1 -1
- package/dist/components/content/title/title.template.js +2 -2
- package/dist/components/content/token/token.d.ts +6 -2
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +6 -2
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +26 -25
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +31 -25
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/{index-BMeSmtdw.js → index-8pDDdMeW.js} +1 -1
- package/dist/components/{index-CdOU-HVN.js → index-C7QocEcT.js} +1 -1
- package/dist/components/{index-CwmDMN6X.js → index-CDz7-C9c.js} +1 -1
- package/dist/components/{index-Bonuul3m.js → index-CWQunWUb.js} +54098 -52525
- package/dist/components/{index--8_4HvE9.js → index-CoY3JfIy.js} +1 -1
- package/dist/components/{index-CqhFJR7l.js → index-DP9dl7P7.js} +1 -1
- package/dist/components/{index-yX0V7C44.js → index-DV_2YpaH.js} +1 -1
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +5 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +8 -0
- 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 +17 -0
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.template.js +11 -0
- package/dist/components/inputs/checkbox/checkbox.template.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 +7 -0
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +7 -2
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +112 -0
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts +10 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.js +9 -0
- package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.js +246 -0
- package/dist/components/inputs/file-field/file-field.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.styles.d.ts +2 -0
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.styles.js +134 -0
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.template.d.ts +7 -0
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.template.js +63 -0
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -0
- package/dist/components/inputs/radio-button/radio-button.d.ts +5 -0
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +8 -0
- 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 +11 -0
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.template.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.template.js +10 -0
- package/dist/components/inputs/radio-button/radio-button.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.caret.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.caret.js +7 -1
- package/dist/components/inputs/text-editor/text-editor.caret.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +0 -4
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +0 -6
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +1 -9
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +7 -2
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +17 -7
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +17 -7
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +9 -2
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +10 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +38 -0
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +10 -1
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +8 -1
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +32 -33
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +32 -33
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.js +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +7 -0
- 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 +12 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +19 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +34 -28
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +44 -31
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +2 -0
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +12 -1
- package/dist/components/layout/sheet/sheet.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 +9 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-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 +9 -1
- 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 +14 -14
- 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 +13 -13
- 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 +13 -2
- 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 +8 -11
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +8 -10
- 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 +13 -6
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +20 -16
- 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 +44 -30
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +1 -1
- 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 +15 -0
- 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 +44 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js +3 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +23 -11
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +32 -14
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +59 -2
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.js +6 -1
- package/dist/components/status-and-feedback/badge/badge.template.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +6 -0
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +2 -0
- 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 +14 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification-region.d.ts +6 -0
- package/dist/components/status-and-feedback/notification/notification-region.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification-region.js +245 -0
- package/dist/components/status-and-feedback/notification/notification-region.js.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.d.ts +129 -0
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.i18n.d.ts +6 -0
- package/dist/components/status-and-feedback/notification/notification.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.i18n.js +5 -0
- package/dist/components/status-and-feedback/notification/notification.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.js +269 -0
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts +2 -0
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.styles.js +177 -0
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.template.d.ts +4 -0
- package/dist/components/status-and-feedback/notification/notification.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.template.js +40 -0
- package/dist/components/status-and-feedback/notification/notification.template.js.map +1 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +1 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +30 -30
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +33 -30
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
- package/dist/css/variables.css +24 -0
- package/dist/nldd.min.js +8379 -7591
- package/dist/types/vue.d.ts +257 -152
- package/dist/utilities/open-when-rendered.d.ts +21 -0
- package/dist/utilities/open-when-rendered.d.ts.map +1 -0
- package/dist/utilities/open-when-rendered.js +30 -0
- package/dist/utilities/open-when-rendered.js.map +1 -0
- package/dist/utilities/reflect-non-default.d.ts +3 -3
- package/dist/utilities/reflect-non-default.d.ts.map +1 -1
- package/dist/utilities/reflect-non-default.js +7 -4
- package/dist/utilities/reflect-non-default.js.map +1 -1
- package/dist/utilities/visibility-mixin.d.ts +5 -0
- package/dist/utilities/visibility-mixin.d.ts.map +1 -1
- package/dist/utilities/visibility-mixin.js +22 -0
- package/dist/utilities/visibility-mixin.js.map +1 -1
- package/package.json +33 -22
- package/dist/components/content/byline/byline.d.ts +0 -73
- package/dist/components/content/byline/byline.d.ts.map +0 -1
- package/dist/components/content/byline/byline.js +0 -125
- package/dist/components/content/byline/byline.js.map +0 -1
- package/dist/components/content/byline/byline.styles.d.ts +0 -2
- package/dist/components/content/byline/byline.styles.d.ts.map +0 -1
- package/dist/components/content/byline/byline.styles.js.map +0 -1
- package/dist/components/content/byline/byline.template.d.ts +0 -3
- package/dist/components/content/byline/byline.template.d.ts.map +0 -1
- package/dist/components/content/byline/byline.template.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -1735,7 +1735,7 @@
|
|
|
1735
1735
|
"name": ""
|
|
1736
1736
|
},
|
|
1737
1737
|
{
|
|
1738
|
-
"description": "Free content shown above the items, outside `role=\"menu\"` (so it may hold non-menuitem content such as an avatar + name, buttons or links — reached with Tab, skipped by arrow navigation). The region is unpadded; control spacing with your own content (e.g. an `nldd-container`). Root-only: never rendered in a submenu. Example: an account identity header (nldd-
|
|
1738
|
+
"description": "Free content shown above the items, outside `role=\"menu\"` (so it may hold non-menuitem content such as an avatar + name, buttons or links — reached with Tab, skipped by arrow navigation). The region is unpadded; control spacing with your own content (e.g. an `nldd-container`). Root-only: never rendered in a submenu. Example: an account identity header (nldd-identity).",
|
|
1739
1739
|
"name": "header"
|
|
1740
1740
|
},
|
|
1741
1741
|
{
|
|
@@ -2412,6 +2412,26 @@
|
|
|
2412
2412
|
"description": "",
|
|
2413
2413
|
"name": "NLDDToolbarTitle",
|
|
2414
2414
|
"members": [
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "field",
|
|
2417
|
+
"name": "href",
|
|
2418
|
+
"type": {
|
|
2419
|
+
"text": "string"
|
|
2420
|
+
},
|
|
2421
|
+
"default": "''",
|
|
2422
|
+
"attribute": "href",
|
|
2423
|
+
"reflects": true
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "field",
|
|
2427
|
+
"name": "target",
|
|
2428
|
+
"type": {
|
|
2429
|
+
"text": "string"
|
|
2430
|
+
},
|
|
2431
|
+
"default": "''",
|
|
2432
|
+
"attribute": "target",
|
|
2433
|
+
"reflects": true
|
|
2434
|
+
},
|
|
2415
2435
|
{
|
|
2416
2436
|
"kind": "field",
|
|
2417
2437
|
"name": "text",
|
|
@@ -2471,9 +2491,36 @@
|
|
|
2471
2491
|
"default": "''",
|
|
2472
2492
|
"attribute": "max-width",
|
|
2473
2493
|
"reflects": true
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"kind": "field",
|
|
2497
|
+
"name": "translations",
|
|
2498
|
+
"type": {
|
|
2499
|
+
"text": "Partial<NLDDToolbarTranslations>"
|
|
2500
|
+
},
|
|
2501
|
+
"default": "{}",
|
|
2502
|
+
"attribute": "translations"
|
|
2474
2503
|
}
|
|
2475
2504
|
],
|
|
2476
2505
|
"attributes": [
|
|
2506
|
+
{
|
|
2507
|
+
"name": "href",
|
|
2508
|
+
"type": {
|
|
2509
|
+
"text": "string"
|
|
2510
|
+
},
|
|
2511
|
+
"default": "''",
|
|
2512
|
+
"fieldName": "href",
|
|
2513
|
+
"description": "Makes the mark and the name one link, for the place this window belongs to (usually the app's own start). The `action` slot stays outside it: a control inside a link is a control you cannot reach without following the link."
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
"name": "target",
|
|
2517
|
+
"type": {
|
|
2518
|
+
"text": "string"
|
|
2519
|
+
},
|
|
2520
|
+
"default": "''",
|
|
2521
|
+
"fieldName": "target",
|
|
2522
|
+
"description": "Where the link opens; only meaningful with `href`. `_blank` adds rel=\"noopener noreferrer\" and a visually hidden \"opens in a new tab\" announcement."
|
|
2523
|
+
},
|
|
2477
2524
|
{
|
|
2478
2525
|
"name": "text",
|
|
2479
2526
|
"type": {
|
|
@@ -2527,6 +2574,15 @@
|
|
|
2527
2574
|
"default": "''",
|
|
2528
2575
|
"fieldName": "maxWidth",
|
|
2529
2576
|
"description": "Maximum width as a CSS length (default: '240px'); the title text truncates with an ellipsis beyond it. The cap is lifted while the title is the sole toolbar element (it then stretches to fill the row)."
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"name": "translations",
|
|
2580
|
+
"type": {
|
|
2581
|
+
"text": "Partial<NLDDToolbarTranslations>"
|
|
2582
|
+
},
|
|
2583
|
+
"default": "{}",
|
|
2584
|
+
"fieldName": "translations",
|
|
2585
|
+
"description": "Override translation keys (the new-tab announcement); unset keys fall back to Dutch."
|
|
2530
2586
|
}
|
|
2531
2587
|
],
|
|
2532
2588
|
"superclass": {
|
|
@@ -2536,6 +2592,10 @@
|
|
|
2536
2592
|
"tagName": "nldd-toolbar-title",
|
|
2537
2593
|
"customElement": true,
|
|
2538
2594
|
"slots": [
|
|
2595
|
+
{
|
|
2596
|
+
"name": "media",
|
|
2597
|
+
"description": "Optional leading image before the title: a logo, a product mark, a file-type icon. Its height is capped to the title group so it cannot stretch the row; pick the size within that yourself. With no `text` the media stands alone and carries the name, so give it one (an `alt`, or an accessible label)."
|
|
2598
|
+
},
|
|
2539
2599
|
{
|
|
2540
2600
|
"name": "action",
|
|
2541
2601
|
"description": "Optional trailing control (e.g. an xs nldd-icon-button), shown inline after the title and tuned to sit against it. Empty by default."
|
|
@@ -2704,58 +2764,145 @@
|
|
|
2704
2764
|
},
|
|
2705
2765
|
{
|
|
2706
2766
|
"kind": "javascript-module",
|
|
2707
|
-
"path": "src/components/content/avatar/avatar.ts",
|
|
2767
|
+
"path": "src/components/content/avatar-group/avatar-group.ts",
|
|
2708
2768
|
"declarations": [
|
|
2709
2769
|
{
|
|
2710
2770
|
"kind": "class",
|
|
2711
|
-
"description": "
|
|
2712
|
-
"name": "
|
|
2771
|
+
"description": "Shows several avatars as one group: they overlap, and each one gets a ring in the surface color so they stay apart where they meet. The ring uses the same mechanism as the badge, so on a colored surface you hand the color over through `--context-parent-background-color`. Slot `nldd-avatar` elements, not bare `img`. An avatar already knows what to do with a dead image, when to fall back to initials, and how to show its name as a tooltip; a loose image would have to reproduce all of that and cannot do the last one. Set `decorative` when the names already stand beside the group as text; otherwise give every avatar a name, because the group itself describes nobody. The size applies to the whole group: it is imposed on the avatars, a slotted `img` included. That keeps the row on one line whatever a consumer hands over.",
|
|
2772
|
+
"name": "NLDDAvatarGroup",
|
|
2713
2773
|
"members": [
|
|
2714
2774
|
{
|
|
2715
2775
|
"kind": "field",
|
|
2716
|
-
"name": "
|
|
2776
|
+
"name": "size",
|
|
2717
2777
|
"type": {
|
|
2718
2778
|
"text": "string"
|
|
2719
2779
|
},
|
|
2720
|
-
"default": "''",
|
|
2721
|
-
"attribute": "
|
|
2780
|
+
"default": "'40'",
|
|
2781
|
+
"attribute": "size",
|
|
2782
|
+
"reflects": true
|
|
2722
2783
|
},
|
|
2723
2784
|
{
|
|
2724
2785
|
"kind": "field",
|
|
2725
|
-
"name": "
|
|
2786
|
+
"name": "max",
|
|
2726
2787
|
"type": {
|
|
2727
|
-
"text": "
|
|
2788
|
+
"text": "number | undefined"
|
|
2728
2789
|
},
|
|
2729
|
-
"default": "
|
|
2730
|
-
"attribute": "
|
|
2790
|
+
"default": "undefined",
|
|
2791
|
+
"attribute": "max",
|
|
2792
|
+
"reflects": true
|
|
2731
2793
|
},
|
|
2732
2794
|
{
|
|
2733
2795
|
"kind": "field",
|
|
2734
|
-
"name": "
|
|
2796
|
+
"name": "accessibleLabel",
|
|
2735
2797
|
"type": {
|
|
2736
2798
|
"text": "string"
|
|
2737
2799
|
},
|
|
2738
2800
|
"default": "''",
|
|
2739
|
-
"attribute": "
|
|
2801
|
+
"attribute": "accessible-label"
|
|
2740
2802
|
},
|
|
2741
2803
|
{
|
|
2742
2804
|
"kind": "field",
|
|
2743
|
-
"name": "
|
|
2805
|
+
"name": "translations",
|
|
2806
|
+
"type": {
|
|
2807
|
+
"text": "Partial<T>"
|
|
2808
|
+
},
|
|
2809
|
+
"default": "{}",
|
|
2810
|
+
"attribute": "translations",
|
|
2811
|
+
"inheritedFrom": {
|
|
2812
|
+
"name": "withTranslations",
|
|
2813
|
+
"module": "src/utilities/with-translations.ts"
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
],
|
|
2817
|
+
"attributes": [
|
|
2818
|
+
{
|
|
2819
|
+
"name": "size",
|
|
2744
2820
|
"type": {
|
|
2745
2821
|
"text": "string"
|
|
2746
2822
|
},
|
|
2747
|
-
"default": "''",
|
|
2748
|
-
"
|
|
2823
|
+
"default": "'40'",
|
|
2824
|
+
"fieldName": "size",
|
|
2825
|
+
"description": "Diameter of each avatar in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96); default 40"
|
|
2749
2826
|
},
|
|
2750
2827
|
{
|
|
2751
|
-
"
|
|
2752
|
-
"
|
|
2828
|
+
"name": "max",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "number | undefined"
|
|
2831
|
+
},
|
|
2832
|
+
"default": "undefined",
|
|
2833
|
+
"fieldName": "max",
|
|
2834
|
+
"description": "Shows at most this many avatars; the rest go behind a \"+N\" button that opens them as a list of names"
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"name": "accessible-label",
|
|
2753
2838
|
"type": {
|
|
2754
2839
|
"text": "string"
|
|
2755
2840
|
},
|
|
2756
2841
|
"default": "''",
|
|
2757
|
-
"
|
|
2842
|
+
"fieldName": "accessibleLabel",
|
|
2843
|
+
"description": "Describes the group as a whole (e.g. \"Editors\"); without a label the group is not a landmark of its own and the avatars speak for themselves"
|
|
2758
2844
|
},
|
|
2845
|
+
{
|
|
2846
|
+
"name": "translations",
|
|
2847
|
+
"type": {
|
|
2848
|
+
"text": "Partial<T>"
|
|
2849
|
+
},
|
|
2850
|
+
"default": "{}",
|
|
2851
|
+
"fieldName": "translations",
|
|
2852
|
+
"inheritedFrom": {
|
|
2853
|
+
"name": "withTranslations",
|
|
2854
|
+
"module": "src/utilities/with-translations.ts"
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
],
|
|
2858
|
+
"mixins": [
|
|
2859
|
+
{
|
|
2860
|
+
"name": "withTranslations",
|
|
2861
|
+
"module": "/src/utilities/with-translations.js"
|
|
2862
|
+
}
|
|
2863
|
+
],
|
|
2864
|
+
"superclass": {
|
|
2865
|
+
"name": "LitElement",
|
|
2866
|
+
"package": "lit"
|
|
2867
|
+
},
|
|
2868
|
+
"tagName": "nldd-avatar-group",
|
|
2869
|
+
"customElement": true,
|
|
2870
|
+
"slots": [
|
|
2871
|
+
{
|
|
2872
|
+
"name": "",
|
|
2873
|
+
"description": "One or more `nldd-avatar` elements"
|
|
2874
|
+
}
|
|
2875
|
+
]
|
|
2876
|
+
}
|
|
2877
|
+
],
|
|
2878
|
+
"exports": [
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "js",
|
|
2881
|
+
"name": "NLDDAvatarGroup",
|
|
2882
|
+
"declaration": {
|
|
2883
|
+
"name": "NLDDAvatarGroup",
|
|
2884
|
+
"module": "src/components/content/avatar-group/avatar-group.ts"
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"kind": "custom-element-definition",
|
|
2889
|
+
"name": "nldd-avatar-group",
|
|
2890
|
+
"declaration": {
|
|
2891
|
+
"name": "NLDDAvatarGroup",
|
|
2892
|
+
"module": "src/components/content/avatar-group/avatar-group.ts"
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
]
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "javascript-module",
|
|
2899
|
+
"path": "src/components/content/avatar/avatar.ts",
|
|
2900
|
+
"declarations": [
|
|
2901
|
+
{
|
|
2902
|
+
"kind": "class",
|
|
2903
|
+
"description": "Shows one person or organization as a compact, round (person) or rounded (organization) representation. The content follows a fixed fallback chain: an image when `src` loads, otherwise the initials (from `initials` or derived from `name`), and otherwise a fallback icon. `type` sets both the shape and the fallback icon: `person` gives a circle with a person icon, `organization` a rounded square with a building icon. The shape belongs to the meaning and cannot be set on its own. Override the fallback icon with `icon` where that helps. Without `size` the avatar scales with its container, like `nldd-icon`; a fixed size (the same spacer-aligned scale, 16 through 96) is the exception. The initials and the icon scale along. Wide initials (WW, MMM) are scaled down automatically so they stay inside the shape. Accessibility: the host element carries the meaning. With a `name` (and without `decorative`) it gets `role=\"img\"` with the name as its label. When the name already stands beside it as text, in an identity for instance, set `decorative` so the avatar stays hidden from assistive software. A dead `src` falls back to the initials or the icon, never to a broken-image icon.",
|
|
2904
|
+
"name": "NLDDAvatar",
|
|
2905
|
+
"members": [
|
|
2759
2906
|
{
|
|
2760
2907
|
"kind": "field",
|
|
2761
2908
|
"name": "type",
|
|
@@ -2768,22 +2915,22 @@
|
|
|
2768
2915
|
},
|
|
2769
2916
|
{
|
|
2770
2917
|
"kind": "field",
|
|
2771
|
-
"name": "
|
|
2918
|
+
"name": "size",
|
|
2772
2919
|
"type": {
|
|
2773
|
-
"text": "
|
|
2920
|
+
"text": "AvatarSize"
|
|
2774
2921
|
},
|
|
2775
|
-
"default": "'
|
|
2776
|
-
"attribute": "
|
|
2922
|
+
"default": "''",
|
|
2923
|
+
"attribute": "size",
|
|
2777
2924
|
"reflects": true
|
|
2778
2925
|
},
|
|
2779
2926
|
{
|
|
2780
2927
|
"kind": "field",
|
|
2781
|
-
"name": "
|
|
2928
|
+
"name": "color",
|
|
2782
2929
|
"type": {
|
|
2783
|
-
"text": "
|
|
2930
|
+
"text": "AvatarColor"
|
|
2784
2931
|
},
|
|
2785
|
-
"default": "''",
|
|
2786
|
-
"attribute": "
|
|
2932
|
+
"default": "'default'",
|
|
2933
|
+
"attribute": "color",
|
|
2787
2934
|
"reflects": true
|
|
2788
2935
|
},
|
|
2789
2936
|
{
|
|
@@ -2796,6 +2943,61 @@
|
|
|
2796
2943
|
"attribute": "icon-aligned",
|
|
2797
2944
|
"reflects": true
|
|
2798
2945
|
},
|
|
2946
|
+
{
|
|
2947
|
+
"kind": "field",
|
|
2948
|
+
"name": "name",
|
|
2949
|
+
"type": {
|
|
2950
|
+
"text": "string"
|
|
2951
|
+
},
|
|
2952
|
+
"default": "''",
|
|
2953
|
+
"attribute": "name"
|
|
2954
|
+
},
|
|
2955
|
+
{
|
|
2956
|
+
"kind": "field",
|
|
2957
|
+
"name": "initials",
|
|
2958
|
+
"type": {
|
|
2959
|
+
"text": "string"
|
|
2960
|
+
},
|
|
2961
|
+
"default": "''",
|
|
2962
|
+
"attribute": "initials"
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"kind": "field",
|
|
2966
|
+
"name": "src",
|
|
2967
|
+
"type": {
|
|
2968
|
+
"text": "string"
|
|
2969
|
+
},
|
|
2970
|
+
"default": "''",
|
|
2971
|
+
"attribute": "src"
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "field",
|
|
2975
|
+
"name": "srcset",
|
|
2976
|
+
"type": {
|
|
2977
|
+
"text": "string"
|
|
2978
|
+
},
|
|
2979
|
+
"default": "''",
|
|
2980
|
+
"attribute": "srcset"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "field",
|
|
2984
|
+
"name": "icon",
|
|
2985
|
+
"type": {
|
|
2986
|
+
"text": "string"
|
|
2987
|
+
},
|
|
2988
|
+
"default": "''",
|
|
2989
|
+
"attribute": "icon"
|
|
2990
|
+
},
|
|
2991
|
+
{
|
|
2992
|
+
"kind": "field",
|
|
2993
|
+
"name": "accessibleLabel",
|
|
2994
|
+
"type": {
|
|
2995
|
+
"text": "string"
|
|
2996
|
+
},
|
|
2997
|
+
"default": "''",
|
|
2998
|
+
"description": "Accessible name of the link or button. Without it, it falls back to\n`name`. Only matters when the avatar is interactive.",
|
|
2999
|
+
"attribute": "accessible-label"
|
|
3000
|
+
},
|
|
2799
3001
|
{
|
|
2800
3002
|
"kind": "field",
|
|
2801
3003
|
"name": "decorative",
|
|
@@ -2806,6 +3008,17 @@
|
|
|
2806
3008
|
"attribute": "decorative",
|
|
2807
3009
|
"reflects": true
|
|
2808
3010
|
},
|
|
3011
|
+
{
|
|
3012
|
+
"kind": "field",
|
|
3013
|
+
"name": "tooltipTiming",
|
|
3014
|
+
"type": {
|
|
3015
|
+
"text": "'default' | 'instant' | 'never'"
|
|
3016
|
+
},
|
|
3017
|
+
"default": "'default'",
|
|
3018
|
+
"description": "Forwarded to the inner nldd-tooltip's `timing`, like nldd-icon-button.\nOn by default: initials without a name are a riddle. An\navatar that sits beside that name is `decorative` and shows none.",
|
|
3019
|
+
"attribute": "tooltip-timing",
|
|
3020
|
+
"reflects": true
|
|
3021
|
+
},
|
|
2809
3022
|
{
|
|
2810
3023
|
"kind": "field",
|
|
2811
3024
|
"name": "href",
|
|
@@ -2813,7 +3026,7 @@
|
|
|
2813
3026
|
"text": "string"
|
|
2814
3027
|
},
|
|
2815
3028
|
"default": "''",
|
|
2816
|
-
"description": "Makes the avatar one link: the
|
|
3029
|
+
"description": "Makes the avatar one link: the shape itself becomes the <a>, so the click\narea and the focus ring follow its shape (an overlay would be square).",
|
|
2817
3030
|
"attribute": "href",
|
|
2818
3031
|
"reflects": true
|
|
2819
3032
|
},
|
|
@@ -2846,16 +3059,6 @@
|
|
|
2846
3059
|
"default": "''",
|
|
2847
3060
|
"attribute": "rel"
|
|
2848
3061
|
},
|
|
2849
|
-
{
|
|
2850
|
-
"kind": "field",
|
|
2851
|
-
"name": "accessibleLabel",
|
|
2852
|
-
"type": {
|
|
2853
|
-
"text": "string"
|
|
2854
|
-
},
|
|
2855
|
-
"default": "''",
|
|
2856
|
-
"description": "Accessible name of the link or button. Without it, it falls back to\n`name`. Only matters when the avatar is interactive.",
|
|
2857
|
-
"attribute": "accessible-label"
|
|
2858
|
-
},
|
|
2859
3062
|
{
|
|
2860
3063
|
"kind": "field",
|
|
2861
3064
|
"name": "isInteractive",
|
|
@@ -2899,22 +3102,40 @@
|
|
|
2899
3102
|
],
|
|
2900
3103
|
"attributes": [
|
|
2901
3104
|
{
|
|
2902
|
-
"name": "
|
|
3105
|
+
"name": "type",
|
|
2903
3106
|
"type": {
|
|
2904
|
-
"text": "
|
|
3107
|
+
"text": "AvatarType"
|
|
2905
3108
|
},
|
|
2906
|
-
"default": "''",
|
|
2907
|
-
"fieldName": "
|
|
2908
|
-
"description": "
|
|
3109
|
+
"default": "'person'",
|
|
3110
|
+
"fieldName": "type",
|
|
3111
|
+
"description": "`person` (circle, person icon) or `organization` (rounded, building icon); default `person`"
|
|
2909
3112
|
},
|
|
2910
3113
|
{
|
|
2911
|
-
"name": "
|
|
3114
|
+
"name": "size",
|
|
2912
3115
|
"type": {
|
|
2913
|
-
"text": "
|
|
3116
|
+
"text": "AvatarSize"
|
|
2914
3117
|
},
|
|
2915
3118
|
"default": "''",
|
|
2916
|
-
"fieldName": "
|
|
2917
|
-
"description": "
|
|
3119
|
+
"fieldName": "size",
|
|
3120
|
+
"description": "`full` (default) scales with the container, like nldd-icon; or a fixed size in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). Empty behaves as `full`. The initials and the icon scale along"
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"name": "color",
|
|
3124
|
+
"type": {
|
|
3125
|
+
"text": "AvatarColor"
|
|
3126
|
+
},
|
|
3127
|
+
"default": "'default'",
|
|
3128
|
+
"fieldName": "color",
|
|
3129
|
+
"description": "`default` (neutral fill) or `inherit` (fill in the content color: the `--context-content-color` channel, or `currentColor` when that is unset; text in the contrast color, so the avatar can replace an icon in a button for instance); default `default`"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"name": "icon-aligned",
|
|
3133
|
+
"type": {
|
|
3134
|
+
"text": "boolean"
|
|
3135
|
+
},
|
|
3136
|
+
"default": "false",
|
|
3137
|
+
"fieldName": "iconAligned",
|
|
3138
|
+
"description": "Shrinks the visible shape to 5/6 of the host, centered, so the avatar aligns optically with an icon on the same grid (an icon glyph has built-in margin)"
|
|
2918
3139
|
},
|
|
2919
3140
|
{
|
|
2920
3141
|
"name": "name",
|
|
@@ -2923,7 +3144,7 @@
|
|
|
2923
3144
|
},
|
|
2924
3145
|
"default": "''",
|
|
2925
3146
|
"fieldName": "name",
|
|
2926
|
-
"description": "
|
|
3147
|
+
"description": "Name of the person or organization; supplies the derived initials and the accessible label"
|
|
2927
3148
|
},
|
|
2928
3149
|
{
|
|
2929
3150
|
"name": "initials",
|
|
@@ -2932,61 +3153,61 @@
|
|
|
2932
3153
|
},
|
|
2933
3154
|
"default": "''",
|
|
2934
3155
|
"fieldName": "initials",
|
|
2935
|
-
"description": "
|
|
3156
|
+
"description": "Explicit initials, at most 3 characters (overrides what is derived from `name`; also for organization acronyms)"
|
|
2936
3157
|
},
|
|
2937
3158
|
{
|
|
2938
|
-
"name": "
|
|
3159
|
+
"name": "src",
|
|
2939
3160
|
"type": {
|
|
2940
3161
|
"text": "string"
|
|
2941
3162
|
},
|
|
2942
3163
|
"default": "''",
|
|
2943
|
-
"fieldName": "
|
|
2944
|
-
"description": "
|
|
3164
|
+
"fieldName": "src",
|
|
3165
|
+
"description": "Image source; falls back to initials or icon when it fails to load"
|
|
2945
3166
|
},
|
|
2946
3167
|
{
|
|
2947
|
-
"name": "
|
|
3168
|
+
"name": "srcset",
|
|
2948
3169
|
"type": {
|
|
2949
|
-
"text": "
|
|
3170
|
+
"text": "string"
|
|
2950
3171
|
},
|
|
2951
|
-
"default": "'
|
|
2952
|
-
"fieldName": "
|
|
2953
|
-
"description": "
|
|
3172
|
+
"default": "''",
|
|
3173
|
+
"fieldName": "srcset",
|
|
3174
|
+
"description": "Responsive source set for the image (the component sets `sizes` itself)"
|
|
2954
3175
|
},
|
|
2955
3176
|
{
|
|
2956
|
-
"name": "
|
|
3177
|
+
"name": "icon",
|
|
2957
3178
|
"type": {
|
|
2958
|
-
"text": "
|
|
3179
|
+
"text": "string"
|
|
2959
3180
|
},
|
|
2960
|
-
"default": "'
|
|
2961
|
-
"fieldName": "
|
|
2962
|
-
"description": "
|
|
3181
|
+
"default": "''",
|
|
3182
|
+
"fieldName": "icon",
|
|
3183
|
+
"description": "Overrides the type-dependent fallback icon"
|
|
2963
3184
|
},
|
|
2964
3185
|
{
|
|
2965
|
-
"name": "
|
|
3186
|
+
"name": "accessible-label",
|
|
2966
3187
|
"type": {
|
|
2967
|
-
"text": "
|
|
3188
|
+
"text": "string"
|
|
2968
3189
|
},
|
|
2969
3190
|
"default": "''",
|
|
2970
|
-
"
|
|
2971
|
-
"
|
|
3191
|
+
"description": "Name of the link or button; without it `name` is used",
|
|
3192
|
+
"fieldName": "accessibleLabel"
|
|
2972
3193
|
},
|
|
2973
3194
|
{
|
|
2974
|
-
"name": "
|
|
3195
|
+
"name": "decorative",
|
|
2975
3196
|
"type": {
|
|
2976
3197
|
"text": "boolean"
|
|
2977
3198
|
},
|
|
2978
3199
|
"default": "false",
|
|
2979
|
-
"fieldName": "
|
|
2980
|
-
"description": "
|
|
3200
|
+
"fieldName": "decorative",
|
|
3201
|
+
"description": "Hides the avatar from assistive software (use when the name already stands beside it as text)"
|
|
2981
3202
|
},
|
|
2982
3203
|
{
|
|
2983
|
-
"name": "
|
|
3204
|
+
"name": "tooltip-timing",
|
|
2984
3205
|
"type": {
|
|
2985
|
-
"text": "
|
|
3206
|
+
"text": "'default' | 'instant' | 'never'"
|
|
2986
3207
|
},
|
|
2987
|
-
"default": "
|
|
2988
|
-
"
|
|
2989
|
-
"
|
|
3208
|
+
"default": "'default'",
|
|
3209
|
+
"description": "When the name appears as a tooltip on hover or focus: `default` (after 700ms; the default), `instant`, or `never`. An avatar shows no text, so without a tooltip the name is readable by assistive software only. A `decorative` avatar shows none regardless: there the name already stands beside it as text",
|
|
3210
|
+
"fieldName": "tooltipTiming"
|
|
2990
3211
|
},
|
|
2991
3212
|
{
|
|
2992
3213
|
"name": "href",
|
|
@@ -2994,7 +3215,7 @@
|
|
|
2994
3215
|
"text": "string"
|
|
2995
3216
|
},
|
|
2996
3217
|
"default": "''",
|
|
2997
|
-
"description": "
|
|
3218
|
+
"description": "Makes the avatar a link to this URL; the shape itself becomes the link, so the hit area and the focus ring follow it",
|
|
2998
3219
|
"fieldName": "href"
|
|
2999
3220
|
},
|
|
3000
3221
|
{
|
|
@@ -3003,7 +3224,7 @@
|
|
|
3003
3224
|
"text": "boolean"
|
|
3004
3225
|
},
|
|
3005
3226
|
"default": "false",
|
|
3006
|
-
"description": "
|
|
3227
|
+
"description": "Makes the avatar a button; ignored when `href` is set",
|
|
3007
3228
|
"fieldName": "button"
|
|
3008
3229
|
},
|
|
3009
3230
|
{
|
|
@@ -3013,7 +3234,7 @@
|
|
|
3013
3234
|
},
|
|
3014
3235
|
"default": "''",
|
|
3015
3236
|
"fieldName": "target",
|
|
3016
|
-
"description": "Link target
|
|
3237
|
+
"description": "Link target for href (e.g. '_blank'); completes rel and announces \"Opens in a new tab\""
|
|
3017
3238
|
},
|
|
3018
3239
|
{
|
|
3019
3240
|
"name": "rel",
|
|
@@ -3022,16 +3243,7 @@
|
|
|
3022
3243
|
},
|
|
3023
3244
|
"default": "''",
|
|
3024
3245
|
"fieldName": "rel",
|
|
3025
|
-
"description": "Link rel
|
|
3026
|
-
},
|
|
3027
|
-
{
|
|
3028
|
-
"name": "accessible-label",
|
|
3029
|
-
"type": {
|
|
3030
|
-
"text": "string"
|
|
3031
|
-
},
|
|
3032
|
-
"default": "''",
|
|
3033
|
-
"description": "Naam van de link of knop; zonder deze wordt `name` gebruikt",
|
|
3034
|
-
"fieldName": "accessibleLabel"
|
|
3246
|
+
"description": "Link rel for href; defaults to 'noopener noreferrer' when target='_blank'"
|
|
3035
3247
|
},
|
|
3036
3248
|
{
|
|
3037
3249
|
"name": "translations",
|
|
@@ -3044,7 +3256,7 @@
|
|
|
3044
3256
|
"name": "withTranslations",
|
|
3045
3257
|
"module": "src/utilities/with-translations.ts"
|
|
3046
3258
|
},
|
|
3047
|
-
"description": "
|
|
3259
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
3048
3260
|
}
|
|
3049
3261
|
],
|
|
3050
3262
|
"mixins": [
|
|
@@ -3107,7 +3319,7 @@
|
|
|
3107
3319
|
},
|
|
3108
3320
|
"default": "undefined",
|
|
3109
3321
|
"fieldName": "cite",
|
|
3110
|
-
"description": "URL
|
|
3322
|
+
"description": "URL of the source (forwarded to the <blockquote> element)"
|
|
3111
3323
|
}
|
|
3112
3324
|
],
|
|
3113
3325
|
"superclass": {
|
|
@@ -3123,7 +3335,7 @@
|
|
|
3123
3335
|
},
|
|
3124
3336
|
{
|
|
3125
3337
|
"name": "attribution",
|
|
3126
|
-
"description": "Optionele bronvermelding (auteur, titel, etc.). Ook een nldd-
|
|
3338
|
+
"description": "Optionele bronvermelding (auteur, titel, etc.). Ook een An nldd-identity is allowed here; the em dash (\"— \") is then left out."
|
|
3127
3339
|
}
|
|
3128
3340
|
]
|
|
3129
3341
|
}
|
|
@@ -3147,151 +3359,6 @@
|
|
|
3147
3359
|
}
|
|
3148
3360
|
]
|
|
3149
3361
|
},
|
|
3150
|
-
{
|
|
3151
|
-
"kind": "javascript-module",
|
|
3152
|
-
"path": "src/components/content/byline/byline.ts",
|
|
3153
|
-
"declarations": [
|
|
3154
|
-
{
|
|
3155
|
-
"kind": "class",
|
|
3156
|
-
"description": "Een redactionele regel die auteurs of redacteuren toont: optionele avatar(s), een naamregel en ondersteunende tekst (bijvoorbeeld functie of datum). Alle onderdelen zijn optioneel. De naamregel en ondersteunende tekst kunnen als attribuut of als slot worden aangeleverd. Gebruik de slots voor rijkere inhoud, zoals een `<time datetime=\"…\">` voor machine-leesbare datums of een link naar het auteursprofiel. Geslotte inhoud vervangt het bijbehorende attribuut (het attribuut is de fallback van de slot). Bij meerdere redacteuren overlappen de avatars elkaar subtiel; elke avatar krijgt een ring in de surface-kleur (zelfde mechaniek als badge) zodat ze visueel gescheiden blijven. Op een gekleurde ondergrond kan de ringkleur meegegeven worden via `--context-parent-background-color`. Op smalle breedtes (een sm-container, ≤ 640px) met meerdere avatars komt de avatarrij boven de namen te staan, zodat de tekst de volle breedte houdt; met één avatar blijft de byline op één regel. Avatars worden geslot als `<img slot=\"avatars\">`. Zet `alt=\"\"` wanneer de namen al in de tekst staan (decoratief); geef anders een beschrijvende alt-tekst op. Voor één avatar kun je in plaats van slotten ook `avatar-src` (met optioneel `avatar-srcset`) als attribuut meegeven; de afmetingen liggen vast (40px), dus `sizes` zet het component zelf. Meerdere avatars gaan altijd via de slot, en geslotte avatars hebben voorrang op `avatar-src`.",
|
|
3157
|
-
"name": "NLDDByline",
|
|
3158
|
-
"members": [
|
|
3159
|
-
{
|
|
3160
|
-
"kind": "field",
|
|
3161
|
-
"name": "text",
|
|
3162
|
-
"type": {
|
|
3163
|
-
"text": "string"
|
|
3164
|
-
},
|
|
3165
|
-
"default": "''",
|
|
3166
|
-
"attribute": "text",
|
|
3167
|
-
"reflects": true
|
|
3168
|
-
},
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "field",
|
|
3171
|
-
"name": "supportingText",
|
|
3172
|
-
"type": {
|
|
3173
|
-
"text": "string"
|
|
3174
|
-
},
|
|
3175
|
-
"default": "''",
|
|
3176
|
-
"attribute": "supporting-text",
|
|
3177
|
-
"reflects": true
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "field",
|
|
3181
|
-
"name": "avatarSrc",
|
|
3182
|
-
"type": {
|
|
3183
|
-
"text": "string"
|
|
3184
|
-
},
|
|
3185
|
-
"default": "''",
|
|
3186
|
-
"attribute": "avatar-src"
|
|
3187
|
-
},
|
|
3188
|
-
{
|
|
3189
|
-
"kind": "field",
|
|
3190
|
-
"name": "avatarSrcset",
|
|
3191
|
-
"type": {
|
|
3192
|
-
"text": "string"
|
|
3193
|
-
},
|
|
3194
|
-
"default": "''",
|
|
3195
|
-
"attribute": "avatar-srcset"
|
|
3196
|
-
},
|
|
3197
|
-
{
|
|
3198
|
-
"kind": "field",
|
|
3199
|
-
"name": "avatarAlt",
|
|
3200
|
-
"type": {
|
|
3201
|
-
"text": "string"
|
|
3202
|
-
},
|
|
3203
|
-
"default": "''",
|
|
3204
|
-
"attribute": "avatar-alt"
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"attributes": [
|
|
3208
|
-
{
|
|
3209
|
-
"name": "text",
|
|
3210
|
-
"type": {
|
|
3211
|
-
"text": "string"
|
|
3212
|
-
},
|
|
3213
|
-
"default": "''",
|
|
3214
|
-
"fieldName": "text",
|
|
3215
|
-
"description": "Naamregel (bijv. \"Jan Jansen en Piet Pietersen\"); fallback wanneer de text-slot leeg is"
|
|
3216
|
-
},
|
|
3217
|
-
{
|
|
3218
|
-
"name": "supporting-text",
|
|
3219
|
-
"type": {
|
|
3220
|
-
"text": "string"
|
|
3221
|
-
},
|
|
3222
|
-
"default": "''",
|
|
3223
|
-
"fieldName": "supportingText",
|
|
3224
|
-
"description": "Ondersteunende tekst onder de naamregel (bijv. rol of datum); fallback wanneer de supporting-text-slot leeg is"
|
|
3225
|
-
},
|
|
3226
|
-
{
|
|
3227
|
-
"name": "avatar-src",
|
|
3228
|
-
"type": {
|
|
3229
|
-
"text": "string"
|
|
3230
|
-
},
|
|
3231
|
-
"default": "''",
|
|
3232
|
-
"fieldName": "avatarSrc",
|
|
3233
|
-
"description": "Bron van één avatar (alternatief voor de avatars-slot); genegeerd zodra de avatars-slot gevuld is"
|
|
3234
|
-
},
|
|
3235
|
-
{
|
|
3236
|
-
"name": "avatar-srcset",
|
|
3237
|
-
"type": {
|
|
3238
|
-
"text": "string"
|
|
3239
|
-
},
|
|
3240
|
-
"default": "''",
|
|
3241
|
-
"fieldName": "avatarSrcset",
|
|
3242
|
-
"description": "Responsive source set voor de avatar-src-afbeelding"
|
|
3243
|
-
},
|
|
3244
|
-
{
|
|
3245
|
-
"name": "avatar-alt",
|
|
3246
|
-
"type": {
|
|
3247
|
-
"text": "string"
|
|
3248
|
-
},
|
|
3249
|
-
"default": "''",
|
|
3250
|
-
"fieldName": "avatarAlt",
|
|
3251
|
-
"description": "Alt-tekst voor de avatar-src-afbeelding; leeg = decoratief"
|
|
3252
|
-
}
|
|
3253
|
-
],
|
|
3254
|
-
"superclass": {
|
|
3255
|
-
"name": "LitElement",
|
|
3256
|
-
"package": "lit"
|
|
3257
|
-
},
|
|
3258
|
-
"tagName": "nldd-byline",
|
|
3259
|
-
"customElement": true,
|
|
3260
|
-
"slots": [
|
|
3261
|
-
{
|
|
3262
|
-
"name": "avatars",
|
|
3263
|
-
"description": "Eén of meer img-elementen; gestyled als ronde, overlappende avatars"
|
|
3264
|
-
},
|
|
3265
|
-
{
|
|
3266
|
-
"name": "text",
|
|
3267
|
-
"description": "Naamregel als rijke inhoud (bijv. een link naar het auteursprofiel)"
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
"name": "supporting-text",
|
|
3271
|
-
"description": "Ondersteunende tekst als rijke inhoud (bijv. een time-element)"
|
|
3272
|
-
}
|
|
3273
|
-
]
|
|
3274
|
-
}
|
|
3275
|
-
],
|
|
3276
|
-
"exports": [
|
|
3277
|
-
{
|
|
3278
|
-
"kind": "js",
|
|
3279
|
-
"name": "NLDDByline",
|
|
3280
|
-
"declaration": {
|
|
3281
|
-
"name": "NLDDByline",
|
|
3282
|
-
"module": "src/components/content/byline/byline.ts"
|
|
3283
|
-
}
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"kind": "custom-element-definition",
|
|
3287
|
-
"name": "nldd-byline",
|
|
3288
|
-
"declaration": {
|
|
3289
|
-
"name": "NLDDByline",
|
|
3290
|
-
"module": "src/components/content/byline/byline.ts"
|
|
3291
|
-
}
|
|
3292
|
-
}
|
|
3293
|
-
]
|
|
3294
|
-
},
|
|
3295
3362
|
{
|
|
3296
3363
|
"kind": "javascript-module",
|
|
3297
3364
|
"path": "src/components/content/code-viewer/code-viewer.ts",
|
|
@@ -3305,24 +3372,13 @@
|
|
|
3305
3372
|
"kind": "field",
|
|
3306
3373
|
"name": "variant",
|
|
3307
3374
|
"type": {
|
|
3308
|
-
"text": "
|
|
3375
|
+
"text": "CodeViewerVariant"
|
|
3309
3376
|
},
|
|
3310
|
-
"default": "'box'",
|
|
3311
|
-
"description": "Visual style. `box`
|
|
3377
|
+
"default": "'box-tinted'",
|
|
3378
|
+
"description": "Visual style. The `box` values are a framed card and name the surface they\nfill with; `simple` drops the frame.",
|
|
3312
3379
|
"attribute": "variant",
|
|
3313
3380
|
"reflects": true
|
|
3314
3381
|
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "field",
|
|
3317
|
-
"name": "background",
|
|
3318
|
-
"type": {
|
|
3319
|
-
"text": "'tinted' | 'base'"
|
|
3320
|
-
},
|
|
3321
|
-
"default": "'tinted'",
|
|
3322
|
-
"description": "Surface fill when `variant=\"box\"`.",
|
|
3323
|
-
"attribute": "background",
|
|
3324
|
-
"reflects": true
|
|
3325
|
-
},
|
|
3326
3382
|
{
|
|
3327
3383
|
"kind": "field",
|
|
3328
3384
|
"name": "language",
|
|
@@ -3396,21 +3452,12 @@
|
|
|
3396
3452
|
{
|
|
3397
3453
|
"name": "variant",
|
|
3398
3454
|
"type": {
|
|
3399
|
-
"text": "
|
|
3455
|
+
"text": "CodeViewerVariant"
|
|
3400
3456
|
},
|
|
3401
|
-
"default": "'box'",
|
|
3402
|
-
"description": "Visual style. `box`
|
|
3457
|
+
"default": "'box-tinted'",
|
|
3458
|
+
"description": "Visual style. The two `box` values are a framed card with rounded corners, padding, fill, and a 1px border ring, and differ in which surface they fill with; `box-tinted` is the default. `simple` drops the entire frame — use when embedding inside a parent surface.",
|
|
3403
3459
|
"fieldName": "variant"
|
|
3404
3460
|
},
|
|
3405
|
-
{
|
|
3406
|
-
"name": "background",
|
|
3407
|
-
"type": {
|
|
3408
|
-
"text": "'tinted' | 'base'"
|
|
3409
|
-
},
|
|
3410
|
-
"default": "'tinted'",
|
|
3411
|
-
"description": "Surface fill when `variant=\"box\"`.",
|
|
3412
|
-
"fieldName": "background"
|
|
3413
|
-
},
|
|
3414
3461
|
{
|
|
3415
3462
|
"name": "language",
|
|
3416
3463
|
"type": {
|
|
@@ -3609,66 +3656,211 @@
|
|
|
3609
3656
|
},
|
|
3610
3657
|
{
|
|
3611
3658
|
"kind": "javascript-module",
|
|
3612
|
-
"path": "src/components/content/
|
|
3659
|
+
"path": "src/components/content/identity/identity.ts",
|
|
3613
3660
|
"declarations": [
|
|
3614
3661
|
{
|
|
3615
3662
|
"kind": "class",
|
|
3616
|
-
"description": "
|
|
3617
|
-
"name": "
|
|
3663
|
+
"description": "An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute or as a slot. Use the slots for richer content, such as a `<time datetime=\"…\">` for a machine-readable date or a link to the author's profile. Slotted content replaces the matching attribute: the attribute is the slot's fallback. One avatar you slot as it is, and identity gives it its size. For more than one, slot an `nldd-avatar-group`: that overlaps them and draws the ring in the surface color. Identity does not build that group itself, because the avatars are the consumer's light DOM and a group can only style what arrives as its own child. Set the avatars to decorative (or an `img` to `alt=\"\"`) when the names already stand in the text. On narrow widths (an sm container, 640px and under) with more than one avatar the row of avatars moves above the names, so the text keeps the full width. With one avatar the identity stays on a single line. For a single avatar you can also hand over `avatar-src` (with an optional `avatar-srcset`) as an attribute instead of slotting; its size is fixed at 40px. Slotted avatars take precedence over `avatar-src`.",
|
|
3664
|
+
"name": "NLDDIdentity",
|
|
3618
3665
|
"members": [
|
|
3619
3666
|
{
|
|
3620
3667
|
"kind": "field",
|
|
3621
|
-
"name": "
|
|
3668
|
+
"name": "text",
|
|
3622
3669
|
"type": {
|
|
3623
3670
|
"text": "string"
|
|
3624
3671
|
},
|
|
3625
3672
|
"default": "''",
|
|
3626
|
-
"attribute": "
|
|
3673
|
+
"attribute": "text",
|
|
3627
3674
|
"reflects": true
|
|
3628
3675
|
},
|
|
3629
3676
|
{
|
|
3630
3677
|
"kind": "field",
|
|
3631
|
-
"name": "
|
|
3678
|
+
"name": "supportingText",
|
|
3632
3679
|
"type": {
|
|
3633
3680
|
"text": "string"
|
|
3634
3681
|
},
|
|
3635
3682
|
"default": "''",
|
|
3636
|
-
"attribute": "
|
|
3683
|
+
"attribute": "supporting-text",
|
|
3684
|
+
"reflects": true
|
|
3637
3685
|
},
|
|
3638
3686
|
{
|
|
3639
3687
|
"kind": "field",
|
|
3640
|
-
"name": "
|
|
3688
|
+
"name": "avatarSrc",
|
|
3641
3689
|
"type": {
|
|
3642
3690
|
"text": "string"
|
|
3643
3691
|
},
|
|
3644
3692
|
"default": "''",
|
|
3645
|
-
"attribute": "
|
|
3693
|
+
"attribute": "avatar-src"
|
|
3646
3694
|
},
|
|
3647
3695
|
{
|
|
3648
3696
|
"kind": "field",
|
|
3649
|
-
"name": "
|
|
3697
|
+
"name": "avatarSrcset",
|
|
3650
3698
|
"type": {
|
|
3651
3699
|
"text": "string"
|
|
3652
3700
|
},
|
|
3653
3701
|
"default": "''",
|
|
3654
|
-
"attribute": "
|
|
3702
|
+
"attribute": "avatar-srcset"
|
|
3655
3703
|
},
|
|
3656
3704
|
{
|
|
3657
3705
|
"kind": "field",
|
|
3658
|
-
"name": "
|
|
3706
|
+
"name": "avatarAlt",
|
|
3659
3707
|
"type": {
|
|
3660
3708
|
"text": "string"
|
|
3661
3709
|
},
|
|
3662
|
-
"default": "'
|
|
3663
|
-
"
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3710
|
+
"default": "''",
|
|
3711
|
+
"attribute": "avatar-alt"
|
|
3712
|
+
}
|
|
3713
|
+
],
|
|
3714
|
+
"attributes": [
|
|
3667
3715
|
{
|
|
3668
|
-
"
|
|
3669
|
-
"name": "height",
|
|
3716
|
+
"name": "text",
|
|
3670
3717
|
"type": {
|
|
3671
|
-
"text": "
|
|
3718
|
+
"text": "string"
|
|
3719
|
+
},
|
|
3720
|
+
"default": "''",
|
|
3721
|
+
"fieldName": "text",
|
|
3722
|
+
"description": "Name line (e.g. \"Jan Jansen and Piet Pietersen\"); the fallback when the text slot is empty"
|
|
3723
|
+
},
|
|
3724
|
+
{
|
|
3725
|
+
"name": "supporting-text",
|
|
3726
|
+
"type": {
|
|
3727
|
+
"text": "string"
|
|
3728
|
+
},
|
|
3729
|
+
"default": "''",
|
|
3730
|
+
"fieldName": "supportingText",
|
|
3731
|
+
"description": "Supporting text under the name line (a role or a date, for instance); the fallback when the supporting-text slot is empty"
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
"name": "avatar-src",
|
|
3735
|
+
"type": {
|
|
3736
|
+
"text": "string"
|
|
3737
|
+
},
|
|
3738
|
+
"default": "''",
|
|
3739
|
+
"fieldName": "avatarSrc",
|
|
3740
|
+
"description": "Source of a single avatar (an alternative to the avatars slot); ignored as soon as the avatars slot is filled"
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
"name": "avatar-srcset",
|
|
3744
|
+
"type": {
|
|
3745
|
+
"text": "string"
|
|
3746
|
+
},
|
|
3747
|
+
"default": "''",
|
|
3748
|
+
"fieldName": "avatarSrcset",
|
|
3749
|
+
"description": "Responsive source set for the avatar-src image"
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"name": "avatar-alt",
|
|
3753
|
+
"type": {
|
|
3754
|
+
"text": "string"
|
|
3755
|
+
},
|
|
3756
|
+
"default": "''",
|
|
3757
|
+
"fieldName": "avatarAlt",
|
|
3758
|
+
"description": "Alt text for the avatar-src image; empty means decorative"
|
|
3759
|
+
}
|
|
3760
|
+
],
|
|
3761
|
+
"superclass": {
|
|
3762
|
+
"name": "LitElement",
|
|
3763
|
+
"package": "lit"
|
|
3764
|
+
},
|
|
3765
|
+
"tagName": "nldd-identity",
|
|
3766
|
+
"customElement": true,
|
|
3767
|
+
"slots": [
|
|
3768
|
+
{
|
|
3769
|
+
"name": "avatars",
|
|
3770
|
+
"description": "One avatar (`nldd-avatar` or `img`), or an `nldd-avatar-group` for more"
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"name": "text",
|
|
3774
|
+
"description": "Name line as rich content (a link to the author's profile, for instance)"
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"name": "supporting-text",
|
|
3778
|
+
"description": "Supporting text as rich content (a time element, for instance)"
|
|
3779
|
+
}
|
|
3780
|
+
]
|
|
3781
|
+
}
|
|
3782
|
+
],
|
|
3783
|
+
"exports": [
|
|
3784
|
+
{
|
|
3785
|
+
"kind": "js",
|
|
3786
|
+
"name": "NLDDIdentity",
|
|
3787
|
+
"declaration": {
|
|
3788
|
+
"name": "NLDDIdentity",
|
|
3789
|
+
"module": "src/components/content/identity/identity.ts"
|
|
3790
|
+
}
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
"kind": "custom-element-definition",
|
|
3794
|
+
"name": "nldd-identity",
|
|
3795
|
+
"declaration": {
|
|
3796
|
+
"name": "NLDDIdentity",
|
|
3797
|
+
"module": "src/components/content/identity/identity.ts"
|
|
3798
|
+
}
|
|
3799
|
+
}
|
|
3800
|
+
]
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
"kind": "javascript-module",
|
|
3804
|
+
"path": "src/components/content/image/image.ts",
|
|
3805
|
+
"declarations": [
|
|
3806
|
+
{
|
|
3807
|
+
"kind": "class",
|
|
3808
|
+
"description": "Wraps a native `<img>` with design-system styling: corner radius variants, aspect-ratio reservation, object-fit/position control, optional caption + credit. Renders as `<figure>` + `<figcaption>` only when a caption or credit is set — otherwise just the image, no extra wrapping. Hybrid source: the `src` attribute renders an internal `<img>`. To use a custom `<img>` or `<picture>` (e.g. with art-direction sources), slot it into the default slot and we'll style and wrap it like our own image.",
|
|
3809
|
+
"name": "NLDDImage",
|
|
3810
|
+
"members": [
|
|
3811
|
+
{
|
|
3812
|
+
"kind": "field",
|
|
3813
|
+
"name": "src",
|
|
3814
|
+
"type": {
|
|
3815
|
+
"text": "string"
|
|
3816
|
+
},
|
|
3817
|
+
"default": "''",
|
|
3818
|
+
"attribute": "src",
|
|
3819
|
+
"reflects": true
|
|
3820
|
+
},
|
|
3821
|
+
{
|
|
3822
|
+
"kind": "field",
|
|
3823
|
+
"name": "alt",
|
|
3824
|
+
"type": {
|
|
3825
|
+
"text": "string"
|
|
3826
|
+
},
|
|
3827
|
+
"default": "''",
|
|
3828
|
+
"attribute": "alt"
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
"kind": "field",
|
|
3832
|
+
"name": "srcset",
|
|
3833
|
+
"type": {
|
|
3834
|
+
"text": "string"
|
|
3835
|
+
},
|
|
3836
|
+
"default": "''",
|
|
3837
|
+
"attribute": "srcset"
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
"kind": "field",
|
|
3841
|
+
"name": "sizes",
|
|
3842
|
+
"type": {
|
|
3843
|
+
"text": "string"
|
|
3844
|
+
},
|
|
3845
|
+
"default": "''",
|
|
3846
|
+
"attribute": "sizes"
|
|
3847
|
+
},
|
|
3848
|
+
{
|
|
3849
|
+
"kind": "field",
|
|
3850
|
+
"name": "width",
|
|
3851
|
+
"type": {
|
|
3852
|
+
"text": "string"
|
|
3853
|
+
},
|
|
3854
|
+
"default": "'full'",
|
|
3855
|
+
"description": "`'full'` (fills the parent) or a numeric pixel string like `'320'`.\nTyped as `string` because `type: String` means a `width=\"320\"`\nattribute arrives as the string `\"320\"`, not the number `320` — the\n`_numericWidth` getter owns all parsing. A consumer setting the\nproperty directly should pass a string (`el.width = '320'`).",
|
|
3856
|
+
"attribute": "width",
|
|
3857
|
+
"reflects": true
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"kind": "field",
|
|
3861
|
+
"name": "height",
|
|
3862
|
+
"type": {
|
|
3863
|
+
"text": "number | undefined"
|
|
3672
3864
|
},
|
|
3673
3865
|
"attribute": "height",
|
|
3674
3866
|
"reflects": true
|
|
@@ -4438,7 +4630,7 @@
|
|
|
4438
4630
|
"declarations": [
|
|
4439
4631
|
{
|
|
4440
4632
|
"kind": "class",
|
|
4441
|
-
"description": "
|
|
4633
|
+
"description": "A compact property that has been assigned to something: a category, a type, a role, a certification. What it says changes only when someone edits the content. A tag is not interactive. Do not use it for a state the system keeps itself, such as \"Active\" or \"Expired\", because that is `nldd-badge`. If the user can remove the thing or click it, it is `nldd-token`.",
|
|
4442
4634
|
"name": "NLDDTag",
|
|
4443
4635
|
"members": [
|
|
4444
4636
|
{
|
|
@@ -4508,7 +4700,7 @@
|
|
|
4508
4700
|
},
|
|
4509
4701
|
"default": "'neutral'",
|
|
4510
4702
|
"fieldName": "color",
|
|
4511
|
-
"description": "
|
|
4703
|
+
"description": "Color variant. Semantic: 'neutral' | 'accent' | 'success' | 'warning' | 'critical'. Rijkshuisstijl colors: 'lintblauw' | 'donkerblauw' | 'hemelblauw' | 'lichtblauw' | 'paars' | 'violet' | 'robijnrood' | 'roze' | 'rood' | 'oranje' | 'donkergeel' | 'geel' | 'donkerbruin' | 'bruin' | 'donkergroen' | 'groen' | 'mosgroen' | 'mintgroen'. (default: 'neutral')"
|
|
4512
4704
|
},
|
|
4513
4705
|
{
|
|
4514
4706
|
"name": "size",
|
|
@@ -4517,7 +4709,7 @@
|
|
|
4517
4709
|
},
|
|
4518
4710
|
"default": "'md'",
|
|
4519
4711
|
"fieldName": "size",
|
|
4520
|
-
"description": "Tag
|
|
4712
|
+
"description": "Tag size: 'sm' | 'md' (default: 'md')"
|
|
4521
4713
|
},
|
|
4522
4714
|
{
|
|
4523
4715
|
"name": "text",
|
|
@@ -4526,7 +4718,7 @@
|
|
|
4526
4718
|
},
|
|
4527
4719
|
"default": "''",
|
|
4528
4720
|
"fieldName": "text",
|
|
4529
|
-
"description": "Tag
|
|
4721
|
+
"description": "Tag text (alternative to the default slot)"
|
|
4530
4722
|
},
|
|
4531
4723
|
{
|
|
4532
4724
|
"name": "icon",
|
|
@@ -4535,7 +4727,7 @@
|
|
|
4535
4727
|
},
|
|
4536
4728
|
"default": "''",
|
|
4537
4729
|
"fieldName": "icon",
|
|
4538
|
-
"description": "
|
|
4730
|
+
"description": "Icon before the text"
|
|
4539
4731
|
},
|
|
4540
4732
|
{
|
|
4541
4733
|
"name": "variant",
|
|
@@ -4544,7 +4736,7 @@
|
|
|
4544
4736
|
},
|
|
4545
4737
|
"default": "''",
|
|
4546
4738
|
"fieldName": "variant",
|
|
4547
|
-
"description": "
|
|
4739
|
+
"description": "What is visible: 'text' | 'icon' | 'icon-and-text'. Unset → detected from which of text/icon is present."
|
|
4548
4740
|
},
|
|
4549
4741
|
{
|
|
4550
4742
|
"name": "accessible-label",
|
|
@@ -4553,7 +4745,7 @@
|
|
|
4553
4745
|
},
|
|
4554
4746
|
"default": "''",
|
|
4555
4747
|
"fieldName": "accessibleLabel",
|
|
4556
|
-
"description": "
|
|
4748
|
+
"description": "Accessible label for screen readers. Use this on icon-only tags without visible text."
|
|
4557
4749
|
}
|
|
4558
4750
|
],
|
|
4559
4751
|
"superclass": {
|
|
@@ -4565,11 +4757,11 @@
|
|
|
4565
4757
|
"slots": [
|
|
4566
4758
|
{
|
|
4567
4759
|
"name": "",
|
|
4568
|
-
"description": "Tag
|
|
4760
|
+
"description": "Tag text"
|
|
4569
4761
|
},
|
|
4570
4762
|
{
|
|
4571
4763
|
"name": "icon",
|
|
4572
|
-
"description": "Custom
|
|
4764
|
+
"description": "Custom icon before the text"
|
|
4573
4765
|
}
|
|
4574
4766
|
]
|
|
4575
4767
|
}
|
|
@@ -4599,7 +4791,7 @@
|
|
|
4599
4791
|
"declarations": [
|
|
4600
4792
|
{
|
|
4601
4793
|
"kind": "class",
|
|
4602
|
-
"description": "A title bar with an optional overline, title, and subtitle on the left, and a slot
|
|
4794
|
+
"description": "A title bar with an optional overline, title, and subtitle on the left, and a slot at the end of the title line on the right.",
|
|
4603
4795
|
"name": "NLDDTitle",
|
|
4604
4796
|
"members": [
|
|
4605
4797
|
{
|
|
@@ -4640,7 +4832,7 @@
|
|
|
4640
4832
|
},
|
|
4641
4833
|
"default": "''",
|
|
4642
4834
|
"fieldName": "color",
|
|
4643
|
-
"description": "'inherit'
|
|
4835
|
+
"description": "'inherit' lets the title take the text color of the ondergrond volgen (voor gekleurde vlakken zoals de filled-categories); overline en subtitle krijgen dezelfde kleur op verlaagde dekking. Leeg = standaard contentkleuren."
|
|
4644
4836
|
}
|
|
4645
4837
|
],
|
|
4646
4838
|
"superclass": {
|
|
@@ -4663,8 +4855,8 @@
|
|
|
4663
4855
|
"description": "Optional subtitle below the title"
|
|
4664
4856
|
},
|
|
4665
4857
|
{
|
|
4666
|
-
"name": "
|
|
4667
|
-
"description": "
|
|
4858
|
+
"name": "end",
|
|
4859
|
+
"description": "Whatever belongs at the end of the title line: a button, a menu, a status badge, a version. Named for the position, not for a kind of content, because anything can sit there."
|
|
4668
4860
|
}
|
|
4669
4861
|
]
|
|
4670
4862
|
}
|
|
@@ -4694,7 +4886,7 @@
|
|
|
4694
4886
|
"declarations": [
|
|
4695
4887
|
{
|
|
4696
4888
|
"kind": "class",
|
|
4697
|
-
"description": "A
|
|
4889
|
+
"description": "A self-contained piece of data the user is handling: a person in an address field, an active filter value. Alone among the three it can be operated, so it is optionally dismissable or interactive through a contextual menu. For something you only read, reach for `nldd-tag` (a trait someone assigned) or `nldd-badge` (a state or a count the system keeps).",
|
|
4698
4890
|
"name": "NLDDToken",
|
|
4699
4891
|
"members": [
|
|
4700
4892
|
{
|
|
@@ -4900,7 +5092,7 @@
|
|
|
4900
5092
|
"declarations": [
|
|
4901
5093
|
{
|
|
4902
5094
|
"kind": "class",
|
|
4903
|
-
"description": "
|
|
5095
|
+
"description": "A wrapper that shows a tooltip on hover or focus of its child element. It uses `display: contents`, so it does not affect the child's layout.",
|
|
4904
5096
|
"name": "NLDDTooltip",
|
|
4905
5097
|
"members": [
|
|
4906
5098
|
{
|
|
@@ -4953,7 +5145,7 @@
|
|
|
4953
5145
|
},
|
|
4954
5146
|
"default": "''",
|
|
4955
5147
|
"fieldName": "text",
|
|
4956
|
-
"description": "Tooltip
|
|
5148
|
+
"description": "Tooltip text"
|
|
4957
5149
|
},
|
|
4958
5150
|
{
|
|
4959
5151
|
"name": "open",
|
|
@@ -4961,7 +5153,7 @@
|
|
|
4961
5153
|
"text": "boolean"
|
|
4962
5154
|
},
|
|
4963
5155
|
"default": "false",
|
|
4964
|
-
"description": "
|
|
5156
|
+
"description": "Forces the tooltip visible, whatever hover or focus does. Use it for programmatic feedback (\"Copied\", for instance). Reset it to false to restore the hover behaviour.",
|
|
4965
5157
|
"fieldName": "open"
|
|
4966
5158
|
},
|
|
4967
5159
|
{
|
|
@@ -4971,7 +5163,7 @@
|
|
|
4971
5163
|
},
|
|
4972
5164
|
"default": "'bottom'",
|
|
4973
5165
|
"fieldName": "placement",
|
|
4974
|
-
"description": "
|
|
5166
|
+
"description": "Position: 'top' | 'bottom' | 'left' | 'right' (default: 'bottom'; automatically 'top' on touch devices)"
|
|
4975
5167
|
},
|
|
4976
5168
|
{
|
|
4977
5169
|
"name": "timing",
|
|
@@ -4980,7 +5172,7 @@
|
|
|
4980
5172
|
},
|
|
4981
5173
|
"default": "'default'",
|
|
4982
5174
|
"fieldName": "timing",
|
|
4983
|
-
"description": "
|
|
5175
|
+
"description": "When the tooltip appears on hover: 'instant' — right away, without a show delay. 'default' — after the standard show delay (700ms). 'never' — the tooltip is never shown; hover and focus events are ignored, aria-describedby is suppressed, and a tooltip that is already visible disappears. The hide delay and the touch suppression stay in force under every value. A focus trigger is always instant."
|
|
4984
5176
|
}
|
|
4985
5177
|
],
|
|
4986
5178
|
"superclass": {
|
|
@@ -4992,13 +5184,13 @@
|
|
|
4992
5184
|
"events": [
|
|
4993
5185
|
{
|
|
4994
5186
|
"name": "nldd-tooltip-dismiss",
|
|
4995
|
-
"description": "
|
|
5187
|
+
"description": "When a user presses Escape while `open=true`. The consumer owns the open lifecycle from there (we cannot clear `open` on our own), so this event is the consumer's chance to set `open` back to `false`. WCAG 1.4.13: a persistent hover or focus overlay has to be dismissible without moving focus."
|
|
4996
5188
|
}
|
|
4997
5189
|
],
|
|
4998
5190
|
"slots": [
|
|
4999
5191
|
{
|
|
5000
5192
|
"name": "",
|
|
5001
|
-
"description": "
|
|
5193
|
+
"description": "The element the tooltip is shown for"
|
|
5002
5194
|
}
|
|
5003
5195
|
]
|
|
5004
5196
|
}
|
|
@@ -5519,10 +5711,18 @@
|
|
|
5519
5711
|
},
|
|
5520
5712
|
{
|
|
5521
5713
|
"kind": "js",
|
|
5522
|
-
"name": "
|
|
5714
|
+
"name": "NLDDAvatarGroup",
|
|
5715
|
+
"declaration": {
|
|
5716
|
+
"name": "NLDDAvatarGroup",
|
|
5717
|
+
"module": "./content/avatar-group/avatar-group.js"
|
|
5718
|
+
}
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
"kind": "js",
|
|
5722
|
+
"name": "NLDDIdentity",
|
|
5523
5723
|
"declaration": {
|
|
5524
|
-
"name": "
|
|
5525
|
-
"module": "./content/
|
|
5724
|
+
"name": "NLDDIdentity",
|
|
5725
|
+
"module": "./content/identity/identity.js"
|
|
5526
5726
|
}
|
|
5527
5727
|
},
|
|
5528
5728
|
{
|
|
@@ -5685,6 +5885,14 @@
|
|
|
5685
5885
|
"module": "./inputs/dropdown/dropdown.js"
|
|
5686
5886
|
}
|
|
5687
5887
|
},
|
|
5888
|
+
{
|
|
5889
|
+
"kind": "js",
|
|
5890
|
+
"name": "NLDDFileField",
|
|
5891
|
+
"declaration": {
|
|
5892
|
+
"name": "NLDDFileField",
|
|
5893
|
+
"module": "./inputs/file-field/file-field.js"
|
|
5894
|
+
}
|
|
5895
|
+
},
|
|
5688
5896
|
{
|
|
5689
5897
|
"kind": "js",
|
|
5690
5898
|
"name": "NLDDMultiLineTextField",
|
|
@@ -6261,6 +6469,14 @@
|
|
|
6261
6469
|
"module": "./status-and-feedback/banner/banner.js"
|
|
6262
6470
|
}
|
|
6263
6471
|
},
|
|
6472
|
+
{
|
|
6473
|
+
"kind": "js",
|
|
6474
|
+
"name": "NLDDNotification",
|
|
6475
|
+
"declaration": {
|
|
6476
|
+
"name": "NLDDNotification",
|
|
6477
|
+
"module": "./status-and-feedback/notification/notification.js"
|
|
6478
|
+
}
|
|
6479
|
+
},
|
|
6264
6480
|
{
|
|
6265
6481
|
"kind": "js",
|
|
6266
6482
|
"name": "NLDDBadge",
|
|
@@ -6637,6 +6853,16 @@
|
|
|
6637
6853
|
"attribute": "checked",
|
|
6638
6854
|
"reflects": true
|
|
6639
6855
|
},
|
|
6856
|
+
{
|
|
6857
|
+
"kind": "field",
|
|
6858
|
+
"name": "decorative",
|
|
6859
|
+
"type": {
|
|
6860
|
+
"text": "boolean"
|
|
6861
|
+
},
|
|
6862
|
+
"default": "false",
|
|
6863
|
+
"attribute": "decorative",
|
|
6864
|
+
"reflects": true
|
|
6865
|
+
},
|
|
6640
6866
|
{
|
|
6641
6867
|
"kind": "field",
|
|
6642
6868
|
"name": "disabled",
|
|
@@ -6823,6 +7049,15 @@
|
|
|
6823
7049
|
"fieldName": "checked",
|
|
6824
7050
|
"description": "Checked state"
|
|
6825
7051
|
},
|
|
7052
|
+
{
|
|
7053
|
+
"name": "decorative",
|
|
7054
|
+
"type": {
|
|
7055
|
+
"text": "boolean"
|
|
7056
|
+
},
|
|
7057
|
+
"default": "false",
|
|
7058
|
+
"fieldName": "decorative",
|
|
7059
|
+
"description": "Renders the box without the input: no focus, no name/value, nothing announced. For a control that owns the state elsewhere, such as a list row that is itself the checkbox; putting a real input in there would nest a control inside a control."
|
|
7060
|
+
},
|
|
6826
7061
|
{
|
|
6827
7062
|
"name": "disabled",
|
|
6828
7063
|
"type": {
|
|
@@ -8703,26 +8938,420 @@
|
|
|
8703
8938
|
"reflects": true
|
|
8704
8939
|
},
|
|
8705
8940
|
{
|
|
8706
|
-
"kind": "field",
|
|
8707
|
-
"name": "width",
|
|
8941
|
+
"kind": "field",
|
|
8942
|
+
"name": "width",
|
|
8943
|
+
"type": {
|
|
8944
|
+
"text": "string"
|
|
8945
|
+
},
|
|
8946
|
+
"default": "''",
|
|
8947
|
+
"description": "Optional fixed width (any CSS length). When unset, the field stretches to fill its container.",
|
|
8948
|
+
"attribute": "width",
|
|
8949
|
+
"reflects": true
|
|
8950
|
+
}
|
|
8951
|
+
],
|
|
8952
|
+
"attributes": [
|
|
8953
|
+
{
|
|
8954
|
+
"name": "size",
|
|
8955
|
+
"type": {
|
|
8956
|
+
"text": "DropdownSize"
|
|
8957
|
+
},
|
|
8958
|
+
"default": "'md'",
|
|
8959
|
+
"fieldName": "size",
|
|
8960
|
+
"description": "Size: 'xs' | 'sm' | 'md' (default: 'md')"
|
|
8961
|
+
},
|
|
8962
|
+
{
|
|
8963
|
+
"name": "valid",
|
|
8964
|
+
"type": {
|
|
8965
|
+
"text": "boolean"
|
|
8966
|
+
},
|
|
8967
|
+
"default": "false",
|
|
8968
|
+
"fieldName": "valid",
|
|
8969
|
+
"description": "Marks the field as valid"
|
|
8970
|
+
},
|
|
8971
|
+
{
|
|
8972
|
+
"name": "invalid",
|
|
8973
|
+
"type": {
|
|
8974
|
+
"text": "boolean"
|
|
8975
|
+
},
|
|
8976
|
+
"default": "false",
|
|
8977
|
+
"fieldName": "invalid",
|
|
8978
|
+
"description": "Marks the field as invalid"
|
|
8979
|
+
},
|
|
8980
|
+
{
|
|
8981
|
+
"name": "disabled",
|
|
8982
|
+
"type": {
|
|
8983
|
+
"text": "boolean"
|
|
8984
|
+
},
|
|
8985
|
+
"default": "false",
|
|
8986
|
+
"fieldName": "disabled",
|
|
8987
|
+
"description": "Disabled state; also forwarded to the slotted select"
|
|
8988
|
+
},
|
|
8989
|
+
{
|
|
8990
|
+
"name": "expanded",
|
|
8991
|
+
"type": {
|
|
8992
|
+
"text": "boolean"
|
|
8993
|
+
},
|
|
8994
|
+
"default": "false",
|
|
8995
|
+
"fieldName": "expanded",
|
|
8996
|
+
"description": "Reflects whether the native picker popup is open (driven internally)"
|
|
8997
|
+
},
|
|
8998
|
+
{
|
|
8999
|
+
"name": "width",
|
|
9000
|
+
"type": {
|
|
9001
|
+
"text": "string"
|
|
9002
|
+
},
|
|
9003
|
+
"default": "''",
|
|
9004
|
+
"description": "Optional fixed width (any CSS length, e.g. \"240px\"). Default: stretches to fill container.",
|
|
9005
|
+
"fieldName": "width"
|
|
9006
|
+
}
|
|
9007
|
+
],
|
|
9008
|
+
"superclass": {
|
|
9009
|
+
"name": "LitElement",
|
|
9010
|
+
"package": "lit"
|
|
9011
|
+
},
|
|
9012
|
+
"tagName": "nldd-dropdown",
|
|
9013
|
+
"customElement": true,
|
|
9014
|
+
"events": [
|
|
9015
|
+
{
|
|
9016
|
+
"name": "change",
|
|
9017
|
+
"description": "Bubbles up from the slotted select; detail: { value: string }"
|
|
9018
|
+
}
|
|
9019
|
+
],
|
|
9020
|
+
"slots": [
|
|
9021
|
+
{
|
|
9022
|
+
"name": "",
|
|
9023
|
+
"description": "A native `<select>` element with `<option>` and/or `<optgroup>` children"
|
|
9024
|
+
}
|
|
9025
|
+
]
|
|
9026
|
+
}
|
|
9027
|
+
],
|
|
9028
|
+
"exports": [
|
|
9029
|
+
{
|
|
9030
|
+
"kind": "js",
|
|
9031
|
+
"name": "NLDDDropdown",
|
|
9032
|
+
"declaration": {
|
|
9033
|
+
"name": "NLDDDropdown",
|
|
9034
|
+
"module": "src/components/inputs/dropdown/dropdown.ts"
|
|
9035
|
+
}
|
|
9036
|
+
},
|
|
9037
|
+
{
|
|
9038
|
+
"kind": "custom-element-definition",
|
|
9039
|
+
"name": "nldd-dropdown",
|
|
9040
|
+
"declaration": {
|
|
9041
|
+
"name": "NLDDDropdown",
|
|
9042
|
+
"module": "src/components/inputs/dropdown/dropdown.ts"
|
|
9043
|
+
}
|
|
9044
|
+
}
|
|
9045
|
+
]
|
|
9046
|
+
},
|
|
9047
|
+
{
|
|
9048
|
+
"kind": "javascript-module",
|
|
9049
|
+
"path": "src/components/inputs/file-field/file-field.ts",
|
|
9050
|
+
"declarations": [
|
|
9051
|
+
{
|
|
9052
|
+
"kind": "class",
|
|
9053
|
+
"description": "A file picker that reads as one control: an nldd-button flush in the corner of a tinted surface, the chosen file next to it, and a dismiss button to clear it again. It wraps a hidden native `<input type=\"file\">`, which is what makes the picker open at all — a file dialog only opens from a user gesture on a real input. The surface deliberately does not look like an input field. A border with field semantics promises you can type into it; here you can only press a button, so it uses button and surface colors instead of `--semantics-input-fields-*`. The button keeps its own tinted background and therefore sits a shade darker in the surface, which is what marks it as the thing to press. Several files are summarized, not listed: \"3 bestanden\" with a single cross that clears all of them. Every pick replaces the whole FileList, and rebuilding it to add or drop one file means going through DataTransfer, which does not deduplicate (even the same File object twice yields two entries) — and a File has no id, so deduplicating would come down to guessing from name, size and last-modified. A list with a cross per file would promise an edit the platform does not support. A page that does want to show the files renders its own list from the `File[]` in the change event.",
|
|
9054
|
+
"name": "NLDDFileField",
|
|
9055
|
+
"members": [
|
|
9056
|
+
{
|
|
9057
|
+
"kind": "field",
|
|
9058
|
+
"name": "size",
|
|
9059
|
+
"type": {
|
|
9060
|
+
"text": "'md' | 'sm'"
|
|
9061
|
+
},
|
|
9062
|
+
"default": "'md'",
|
|
9063
|
+
"attribute": "size",
|
|
9064
|
+
"reflects": true
|
|
9065
|
+
},
|
|
9066
|
+
{
|
|
9067
|
+
"kind": "field",
|
|
9068
|
+
"name": "accept",
|
|
9069
|
+
"type": {
|
|
9070
|
+
"text": "string"
|
|
9071
|
+
},
|
|
9072
|
+
"default": "''",
|
|
9073
|
+
"attribute": "accept",
|
|
9074
|
+
"reflects": true
|
|
9075
|
+
},
|
|
9076
|
+
{
|
|
9077
|
+
"kind": "field",
|
|
9078
|
+
"name": "multiple",
|
|
9079
|
+
"type": {
|
|
9080
|
+
"text": "boolean"
|
|
9081
|
+
},
|
|
9082
|
+
"default": "false",
|
|
9083
|
+
"attribute": "multiple",
|
|
9084
|
+
"reflects": true
|
|
9085
|
+
},
|
|
9086
|
+
{
|
|
9087
|
+
"kind": "field",
|
|
9088
|
+
"name": "accessibleLabel",
|
|
9089
|
+
"type": {
|
|
9090
|
+
"text": "string"
|
|
9091
|
+
},
|
|
9092
|
+
"default": "''",
|
|
9093
|
+
"description": "Accessible label forwarded to the inner <input>. Set automatically by nldd-form-field.",
|
|
9094
|
+
"attribute": "accessible-label"
|
|
9095
|
+
},
|
|
9096
|
+
{
|
|
9097
|
+
"kind": "field",
|
|
9098
|
+
"name": "inputId",
|
|
9099
|
+
"type": {
|
|
9100
|
+
"text": "string"
|
|
9101
|
+
},
|
|
9102
|
+
"default": "''",
|
|
9103
|
+
"attribute": "input-id"
|
|
9104
|
+
},
|
|
9105
|
+
{
|
|
9106
|
+
"kind": "field",
|
|
9107
|
+
"name": "errorMessageIds",
|
|
9108
|
+
"type": {
|
|
9109
|
+
"text": "string"
|
|
9110
|
+
},
|
|
9111
|
+
"default": "''",
|
|
9112
|
+
"attribute": "error-message-ids"
|
|
9113
|
+
},
|
|
9114
|
+
{
|
|
9115
|
+
"kind": "field",
|
|
9116
|
+
"name": "valid",
|
|
9117
|
+
"type": {
|
|
9118
|
+
"text": "boolean"
|
|
9119
|
+
},
|
|
9120
|
+
"default": "false",
|
|
9121
|
+
"attribute": "valid",
|
|
9122
|
+
"reflects": true
|
|
9123
|
+
},
|
|
9124
|
+
{
|
|
9125
|
+
"kind": "field",
|
|
9126
|
+
"name": "invalid",
|
|
9127
|
+
"type": {
|
|
9128
|
+
"text": "boolean"
|
|
9129
|
+
},
|
|
9130
|
+
"default": "false",
|
|
9131
|
+
"attribute": "invalid",
|
|
9132
|
+
"reflects": true
|
|
9133
|
+
},
|
|
9134
|
+
{
|
|
9135
|
+
"kind": "field",
|
|
9136
|
+
"name": "disabled",
|
|
9137
|
+
"type": {
|
|
9138
|
+
"text": "boolean"
|
|
9139
|
+
},
|
|
9140
|
+
"default": "false",
|
|
9141
|
+
"attribute": "disabled",
|
|
9142
|
+
"reflects": true
|
|
9143
|
+
},
|
|
9144
|
+
{
|
|
9145
|
+
"kind": "field",
|
|
9146
|
+
"name": "name",
|
|
9147
|
+
"type": {
|
|
9148
|
+
"text": "string"
|
|
9149
|
+
},
|
|
9150
|
+
"default": "''",
|
|
9151
|
+
"attribute": "name",
|
|
9152
|
+
"reflects": true
|
|
9153
|
+
},
|
|
9154
|
+
{
|
|
9155
|
+
"kind": "field",
|
|
9156
|
+
"name": "required",
|
|
9157
|
+
"type": {
|
|
9158
|
+
"text": "boolean"
|
|
9159
|
+
},
|
|
9160
|
+
"default": "false",
|
|
9161
|
+
"attribute": "required",
|
|
9162
|
+
"reflects": true
|
|
9163
|
+
},
|
|
9164
|
+
{
|
|
9165
|
+
"kind": "field",
|
|
9166
|
+
"name": "translations",
|
|
9167
|
+
"type": {
|
|
9168
|
+
"text": "Partial<NLDDFileFieldTranslations>"
|
|
9169
|
+
},
|
|
9170
|
+
"default": "{}",
|
|
9171
|
+
"attribute": "translations"
|
|
9172
|
+
},
|
|
9173
|
+
{
|
|
9174
|
+
"kind": "field",
|
|
9175
|
+
"name": "files",
|
|
9176
|
+
"type": {
|
|
9177
|
+
"text": "File[]"
|
|
9178
|
+
},
|
|
9179
|
+
"readonly": true
|
|
9180
|
+
},
|
|
9181
|
+
{
|
|
9182
|
+
"kind": "method",
|
|
9183
|
+
"name": "formValue",
|
|
9184
|
+
"return": {
|
|
9185
|
+
"type": {
|
|
9186
|
+
"text": "FormValue"
|
|
9187
|
+
}
|
|
9188
|
+
},
|
|
9189
|
+
"description": "Submit one entry per file under `name`, the way a native multiple file\ninput does. A single file is submitted as itself, so a form with one file\nreads back as a File rather than as FormData wrapping one.",
|
|
9190
|
+
"inheritedFrom": {
|
|
9191
|
+
"name": "FormAssociated",
|
|
9192
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9193
|
+
}
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
"kind": "method",
|
|
9197
|
+
"name": "commitFormValue",
|
|
9198
|
+
"return": {
|
|
9199
|
+
"type": {
|
|
9200
|
+
"text": "void"
|
|
9201
|
+
}
|
|
9202
|
+
},
|
|
9203
|
+
"description": "Commit the value now, from the handler that changed it.",
|
|
9204
|
+
"inheritedFrom": {
|
|
9205
|
+
"name": "FormAssociated",
|
|
9206
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9207
|
+
}
|
|
9208
|
+
},
|
|
9209
|
+
{
|
|
9210
|
+
"kind": "method",
|
|
9211
|
+
"name": "formResetCallback",
|
|
9212
|
+
"return": {
|
|
9213
|
+
"type": {
|
|
9214
|
+
"text": "void"
|
|
9215
|
+
}
|
|
9216
|
+
}
|
|
9217
|
+
},
|
|
9218
|
+
{
|
|
9219
|
+
"kind": "method",
|
|
9220
|
+
"name": "focus",
|
|
9221
|
+
"return": {
|
|
9222
|
+
"type": {
|
|
9223
|
+
"text": "void"
|
|
9224
|
+
}
|
|
9225
|
+
},
|
|
9226
|
+
"parameters": [
|
|
9227
|
+
{
|
|
9228
|
+
"name": "options",
|
|
9229
|
+
"optional": true,
|
|
9230
|
+
"type": {
|
|
9231
|
+
"text": "FocusOptions"
|
|
9232
|
+
}
|
|
9233
|
+
}
|
|
9234
|
+
],
|
|
9235
|
+
"description": "Delegates focus to the choose button rather than the hidden input: an input\nthat is `display: none` cannot take focus, and the button is what a user\nsees as the control."
|
|
9236
|
+
},
|
|
9237
|
+
{
|
|
9238
|
+
"kind": "field",
|
|
9239
|
+
"name": "formAssociated",
|
|
9240
|
+
"type": {
|
|
9241
|
+
"text": "boolean"
|
|
9242
|
+
},
|
|
9243
|
+
"static": true,
|
|
9244
|
+
"default": "true",
|
|
9245
|
+
"inheritedFrom": {
|
|
9246
|
+
"name": "FormAssociated",
|
|
9247
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9248
|
+
}
|
|
9249
|
+
},
|
|
9250
|
+
{
|
|
9251
|
+
"kind": "field",
|
|
9252
|
+
"name": "internals",
|
|
9253
|
+
"readonly": true,
|
|
9254
|
+
"inheritedFrom": {
|
|
9255
|
+
"name": "FormAssociated",
|
|
9256
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9257
|
+
}
|
|
9258
|
+
},
|
|
9259
|
+
{
|
|
9260
|
+
"kind": "method",
|
|
9261
|
+
"name": "formState",
|
|
9262
|
+
"return": {
|
|
9263
|
+
"type": {
|
|
9264
|
+
"text": "FormValue | undefined"
|
|
9265
|
+
}
|
|
9266
|
+
},
|
|
9267
|
+
"description": "Extra state kept for bfcache and state restore, when the submitted\nvalue alone cannot rebuild the control (a combo box submits a code but\nshows a label). Override alongside `formValue()`.",
|
|
9268
|
+
"inheritedFrom": {
|
|
9269
|
+
"name": "FormAssociated",
|
|
9270
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9271
|
+
}
|
|
9272
|
+
},
|
|
9273
|
+
{
|
|
9274
|
+
"kind": "method",
|
|
9275
|
+
"name": "formDisabledCallback",
|
|
9276
|
+
"return": {
|
|
9277
|
+
"type": {
|
|
9278
|
+
"text": "void"
|
|
9279
|
+
}
|
|
9280
|
+
},
|
|
9281
|
+
"parameters": [
|
|
9282
|
+
{
|
|
9283
|
+
"name": "disabled",
|
|
9284
|
+
"type": {
|
|
9285
|
+
"text": "boolean"
|
|
9286
|
+
}
|
|
9287
|
+
}
|
|
9288
|
+
],
|
|
9289
|
+
"inheritedFrom": {
|
|
9290
|
+
"name": "FormAssociated",
|
|
9291
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9292
|
+
}
|
|
9293
|
+
}
|
|
9294
|
+
],
|
|
9295
|
+
"events": [
|
|
9296
|
+
{
|
|
9297
|
+
"name": "change",
|
|
9298
|
+
"description": "When the chosen files change, including a clear; detail: { files: File[] }"
|
|
9299
|
+
}
|
|
9300
|
+
],
|
|
9301
|
+
"attributes": [
|
|
9302
|
+
{
|
|
9303
|
+
"name": "size",
|
|
9304
|
+
"type": {
|
|
9305
|
+
"text": "'md' | 'sm'"
|
|
9306
|
+
},
|
|
9307
|
+
"default": "'md'",
|
|
9308
|
+
"fieldName": "size",
|
|
9309
|
+
"description": "Field size: 'md' (default) | 'sm'. Set automatically by nldd-form-field."
|
|
9310
|
+
},
|
|
9311
|
+
{
|
|
9312
|
+
"name": "accept",
|
|
9313
|
+
"type": {
|
|
9314
|
+
"text": "string"
|
|
9315
|
+
},
|
|
9316
|
+
"default": "''",
|
|
9317
|
+
"fieldName": "accept",
|
|
9318
|
+
"description": "Comma-separated list of accepted file types, forwarded to the input (e.g. \".pdf,image/*\")"
|
|
9319
|
+
},
|
|
9320
|
+
{
|
|
9321
|
+
"name": "multiple",
|
|
9322
|
+
"type": {
|
|
9323
|
+
"text": "boolean"
|
|
9324
|
+
},
|
|
9325
|
+
"default": "false",
|
|
9326
|
+
"fieldName": "multiple",
|
|
9327
|
+
"description": "Allows choosing more than one file"
|
|
9328
|
+
},
|
|
9329
|
+
{
|
|
9330
|
+
"name": "accessible-label",
|
|
9331
|
+
"type": {
|
|
9332
|
+
"text": "string"
|
|
9333
|
+
},
|
|
9334
|
+
"default": "''",
|
|
9335
|
+
"description": "Accessible label forwarded to the inner input. Set automatically by nldd-form-field.",
|
|
9336
|
+
"fieldName": "accessibleLabel"
|
|
9337
|
+
},
|
|
9338
|
+
{
|
|
9339
|
+
"name": "input-id",
|
|
8708
9340
|
"type": {
|
|
8709
9341
|
"text": "string"
|
|
8710
9342
|
},
|
|
8711
9343
|
"default": "''",
|
|
8712
|
-
"
|
|
8713
|
-
"
|
|
8714
|
-
|
|
8715
|
-
}
|
|
8716
|
-
],
|
|
8717
|
-
"attributes": [
|
|
9344
|
+
"fieldName": "inputId",
|
|
9345
|
+
"description": "Sets the id on the native input. Set automatically by nldd-form-field."
|
|
9346
|
+
},
|
|
8718
9347
|
{
|
|
8719
|
-
"name": "
|
|
9348
|
+
"name": "error-message-ids",
|
|
8720
9349
|
"type": {
|
|
8721
|
-
"text": "
|
|
9350
|
+
"text": "string"
|
|
8722
9351
|
},
|
|
8723
|
-
"default": "'
|
|
8724
|
-
"fieldName": "
|
|
8725
|
-
"description": "
|
|
9352
|
+
"default": "''",
|
|
9353
|
+
"fieldName": "errorMessageIds",
|
|
9354
|
+
"description": "Ids for aria-describedby on the inner input. Set automatically by nldd-form-field."
|
|
8726
9355
|
},
|
|
8727
9356
|
{
|
|
8728
9357
|
"name": "valid",
|
|
@@ -8731,7 +9360,7 @@
|
|
|
8731
9360
|
},
|
|
8732
9361
|
"default": "false",
|
|
8733
9362
|
"fieldName": "valid",
|
|
8734
|
-
"description": "Marks the field as valid"
|
|
9363
|
+
"description": "Marks the field as valid; shows a check icon on the right, like nldd-dropdown"
|
|
8735
9364
|
},
|
|
8736
9365
|
{
|
|
8737
9366
|
"name": "invalid",
|
|
@@ -8740,7 +9369,7 @@
|
|
|
8740
9369
|
},
|
|
8741
9370
|
"default": "false",
|
|
8742
9371
|
"fieldName": "invalid",
|
|
8743
|
-
"description": "Marks the field as invalid"
|
|
9372
|
+
"description": "Marks the field as invalid; shows an alert icon on the right, like nldd-dropdown"
|
|
8744
9373
|
},
|
|
8745
9374
|
{
|
|
8746
9375
|
"name": "disabled",
|
|
@@ -8749,62 +9378,65 @@
|
|
|
8749
9378
|
},
|
|
8750
9379
|
"default": "false",
|
|
8751
9380
|
"fieldName": "disabled",
|
|
8752
|
-
"description": "Disabled state
|
|
9381
|
+
"description": "Disabled state"
|
|
8753
9382
|
},
|
|
8754
9383
|
{
|
|
8755
|
-
"name": "
|
|
9384
|
+
"name": "name",
|
|
9385
|
+
"type": {
|
|
9386
|
+
"text": "string"
|
|
9387
|
+
},
|
|
9388
|
+
"default": "''",
|
|
9389
|
+
"fieldName": "name",
|
|
9390
|
+
"description": "Name for form submission"
|
|
9391
|
+
},
|
|
9392
|
+
{
|
|
9393
|
+
"name": "required",
|
|
8756
9394
|
"type": {
|
|
8757
9395
|
"text": "boolean"
|
|
8758
9396
|
},
|
|
8759
9397
|
"default": "false",
|
|
8760
|
-
"fieldName": "
|
|
8761
|
-
"description": "
|
|
9398
|
+
"fieldName": "required",
|
|
9399
|
+
"description": "Marks the field required (invalid while no file is chosen)"
|
|
8762
9400
|
},
|
|
8763
9401
|
{
|
|
8764
|
-
"name": "
|
|
9402
|
+
"name": "translations",
|
|
8765
9403
|
"type": {
|
|
8766
|
-
"text": "
|
|
9404
|
+
"text": "Partial<NLDDFileFieldTranslations>"
|
|
8767
9405
|
},
|
|
8768
|
-
"default": "
|
|
8769
|
-
"
|
|
8770
|
-
"
|
|
9406
|
+
"default": "{}",
|
|
9407
|
+
"fieldName": "translations",
|
|
9408
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
9409
|
+
}
|
|
9410
|
+
],
|
|
9411
|
+
"mixins": [
|
|
9412
|
+
{
|
|
9413
|
+
"name": "FormAssociated",
|
|
9414
|
+
"module": "/src/utilities/form-associated-mixin.js"
|
|
8771
9415
|
}
|
|
8772
9416
|
],
|
|
8773
9417
|
"superclass": {
|
|
8774
9418
|
"name": "LitElement",
|
|
8775
9419
|
"package": "lit"
|
|
8776
9420
|
},
|
|
8777
|
-
"tagName": "nldd-
|
|
8778
|
-
"customElement": true
|
|
8779
|
-
"events": [
|
|
8780
|
-
{
|
|
8781
|
-
"name": "change",
|
|
8782
|
-
"description": "Bubbles up from the slotted select; detail: { value: string }"
|
|
8783
|
-
}
|
|
8784
|
-
],
|
|
8785
|
-
"slots": [
|
|
8786
|
-
{
|
|
8787
|
-
"name": "",
|
|
8788
|
-
"description": "A native `<select>` element with `<option>` and/or `<optgroup>` children"
|
|
8789
|
-
}
|
|
8790
|
-
]
|
|
9421
|
+
"tagName": "nldd-file-field",
|
|
9422
|
+
"customElement": true
|
|
8791
9423
|
}
|
|
8792
9424
|
],
|
|
8793
9425
|
"exports": [
|
|
8794
9426
|
{
|
|
8795
9427
|
"kind": "js",
|
|
8796
|
-
"name": "
|
|
9428
|
+
"name": "NLDDFileField",
|
|
8797
9429
|
"declaration": {
|
|
8798
|
-
"name": "
|
|
8799
|
-
"module": "src/components/inputs/
|
|
9430
|
+
"name": "NLDDFileField",
|
|
9431
|
+
"module": "src/components/inputs/file-field/file-field.ts"
|
|
8800
9432
|
}
|
|
8801
9433
|
},
|
|
8802
9434
|
{
|
|
8803
9435
|
"kind": "custom-element-definition",
|
|
8804
|
-
"name": "nldd-
|
|
9436
|
+
"name": "nldd-file-field",
|
|
8805
9437
|
"declaration": {
|
|
8806
|
-
"name": "
|
|
8807
|
-
"module": "src/components/inputs/
|
|
9438
|
+
"name": "NLDDFileField",
|
|
9439
|
+
"module": "src/components/inputs/file-field/file-field.ts"
|
|
8808
9440
|
}
|
|
8809
9441
|
}
|
|
8810
9442
|
]
|
|
@@ -10660,6 +11292,16 @@
|
|
|
10660
11292
|
"attribute": "checked",
|
|
10661
11293
|
"reflects": true
|
|
10662
11294
|
},
|
|
11295
|
+
{
|
|
11296
|
+
"kind": "field",
|
|
11297
|
+
"name": "decorative",
|
|
11298
|
+
"type": {
|
|
11299
|
+
"text": "boolean"
|
|
11300
|
+
},
|
|
11301
|
+
"default": "false",
|
|
11302
|
+
"attribute": "decorative",
|
|
11303
|
+
"reflects": true
|
|
11304
|
+
},
|
|
10663
11305
|
{
|
|
10664
11306
|
"kind": "field",
|
|
10665
11307
|
"name": "disabled",
|
|
@@ -10846,6 +11488,15 @@
|
|
|
10846
11488
|
"fieldName": "checked",
|
|
10847
11489
|
"description": "Checked state"
|
|
10848
11490
|
},
|
|
11491
|
+
{
|
|
11492
|
+
"name": "decorative",
|
|
11493
|
+
"type": {
|
|
11494
|
+
"text": "boolean"
|
|
11495
|
+
},
|
|
11496
|
+
"default": "false",
|
|
11497
|
+
"fieldName": "decorative",
|
|
11498
|
+
"description": "Renders the shape without the input: no focus, no name/value, nothing announced. For a control that owns the state elsewhere, such as a list row that is itself the radio; putting a real input in there would nest a control inside a control."
|
|
11499
|
+
},
|
|
10849
11500
|
{
|
|
10850
11501
|
"name": "disabled",
|
|
10851
11502
|
"type": {
|
|
@@ -13962,7 +14613,7 @@
|
|
|
13962
14613
|
"declarations": [
|
|
13963
14614
|
{
|
|
13964
14615
|
"kind": "class",
|
|
13965
|
-
"description": "A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `variant=\"simple\"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `variant=\"input-field\"` adds a framed surface + focus
|
|
14616
|
+
"description": "A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `variant=\"simple\"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `variant=\"input-field\"` adds a framed surface + focus Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style \"set\" semantics), reads the active formats with getState(), listens to the nldd-text-editor-state event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Commands keep focus on the editor. An @-mention typeahead (mentionSource) collapses to an atomic token, and a W3C-style annotation overlay (annotations) marks ranges with a dashed underline, light tint and a count badge without touching the underlying text.",
|
|
13966
14617
|
"name": "NLDDTextEditor",
|
|
13967
14618
|
"members": [
|
|
13968
14619
|
{
|
|
@@ -14081,16 +14732,6 @@
|
|
|
14081
14732
|
"attribute": "variant",
|
|
14082
14733
|
"reflects": true
|
|
14083
14734
|
},
|
|
14084
|
-
{
|
|
14085
|
-
"kind": "field",
|
|
14086
|
-
"name": "font",
|
|
14087
|
-
"type": {
|
|
14088
|
-
"text": "TextEditorFont"
|
|
14089
|
-
},
|
|
14090
|
-
"default": "'sans'",
|
|
14091
|
-
"attribute": "font",
|
|
14092
|
-
"reflects": true
|
|
14093
|
-
},
|
|
14094
14735
|
{
|
|
14095
14736
|
"kind": "field",
|
|
14096
14737
|
"name": "accessibleLabel",
|
|
@@ -14638,15 +15279,6 @@
|
|
|
14638
15279
|
"fieldName": "variant",
|
|
14639
15280
|
"description": "'simple' (default, bare) | 'input-field' (framed surface)"
|
|
14640
15281
|
},
|
|
14641
|
-
{
|
|
14642
|
-
"name": "font",
|
|
14643
|
-
"type": {
|
|
14644
|
-
"text": "TextEditorFont"
|
|
14645
|
-
},
|
|
14646
|
-
"default": "'sans'",
|
|
14647
|
-
"fieldName": "font",
|
|
14648
|
-
"description": "'sans' (default) | 'mono'"
|
|
14649
|
-
},
|
|
14650
15282
|
{
|
|
14651
15283
|
"name": "accessible-label",
|
|
14652
15284
|
"type": {
|
|
@@ -17209,24 +17841,24 @@
|
|
|
17209
17841
|
"members": [
|
|
17210
17842
|
{
|
|
17211
17843
|
"kind": "field",
|
|
17212
|
-
"name": "
|
|
17844
|
+
"name": "variant",
|
|
17213
17845
|
"type": {
|
|
17214
|
-
"text": "
|
|
17846
|
+
"text": "BoxVariant"
|
|
17215
17847
|
},
|
|
17216
17848
|
"default": "'tinted'",
|
|
17217
|
-
"attribute": "
|
|
17849
|
+
"attribute": "variant",
|
|
17218
17850
|
"reflects": true
|
|
17219
17851
|
}
|
|
17220
17852
|
],
|
|
17221
17853
|
"attributes": [
|
|
17222
17854
|
{
|
|
17223
|
-
"name": "
|
|
17855
|
+
"name": "variant",
|
|
17224
17856
|
"type": {
|
|
17225
|
-
"text": "
|
|
17857
|
+
"text": "BoxVariant"
|
|
17226
17858
|
},
|
|
17227
17859
|
"default": "'tinted'",
|
|
17228
|
-
"fieldName": "
|
|
17229
|
-
"description": "
|
|
17860
|
+
"fieldName": "variant",
|
|
17861
|
+
"description": "Which surface this box draws. - `tinted` (default): a box on a plain page background. - `base`: a box on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card). - `critical`: a region whose actions are destructive or irreversible (a \"danger zone\"), tinted and outlined in critical. It carries no ARIA of its own: unlike nldd-banner this is not an announcement but a permanent part of the page, so the heading and the button labels have to name the danger — colour is a reinforcement, never the only signal (WCAG 1.4.1). The box draws the surface and nothing else: it has no padding of its own, the same way nldd-card has none. Put an nldd-container inside it and let that set the inset, so one component owns spacing wherever it is used."
|
|
17230
17862
|
}
|
|
17231
17863
|
],
|
|
17232
17864
|
"superclass": {
|
|
@@ -17238,7 +17870,7 @@
|
|
|
17238
17870
|
"slots": [
|
|
17239
17871
|
{
|
|
17240
17872
|
"name": "",
|
|
17241
|
-
"description": "Place components inside the box"
|
|
17873
|
+
"description": "Place components inside the box, usually wrapped in an nldd-container that carries the padding"
|
|
17242
17874
|
}
|
|
17243
17875
|
]
|
|
17244
17876
|
}
|
|
@@ -17695,6 +18327,36 @@
|
|
|
17695
18327
|
"attribute": "lg-column-count",
|
|
17696
18328
|
"reflects": true
|
|
17697
18329
|
},
|
|
18330
|
+
{
|
|
18331
|
+
"kind": "field",
|
|
18332
|
+
"name": "width",
|
|
18333
|
+
"type": {
|
|
18334
|
+
"text": "string"
|
|
18335
|
+
},
|
|
18336
|
+
"default": "''",
|
|
18337
|
+
"attribute": "width",
|
|
18338
|
+
"reflects": true
|
|
18339
|
+
},
|
|
18340
|
+
{
|
|
18341
|
+
"kind": "field",
|
|
18342
|
+
"name": "minWidth",
|
|
18343
|
+
"type": {
|
|
18344
|
+
"text": "string"
|
|
18345
|
+
},
|
|
18346
|
+
"default": "''",
|
|
18347
|
+
"attribute": "min-width",
|
|
18348
|
+
"reflects": true
|
|
18349
|
+
},
|
|
18350
|
+
{
|
|
18351
|
+
"kind": "field",
|
|
18352
|
+
"name": "maxWidth",
|
|
18353
|
+
"type": {
|
|
18354
|
+
"text": "string"
|
|
18355
|
+
},
|
|
18356
|
+
"default": "''",
|
|
18357
|
+
"attribute": "max-width",
|
|
18358
|
+
"reflects": true
|
|
18359
|
+
},
|
|
17698
18360
|
{
|
|
17699
18361
|
"kind": "field",
|
|
17700
18362
|
"name": "horizontalAlignment",
|
|
@@ -18077,6 +18739,33 @@
|
|
|
18077
18739
|
"fieldName": "lgColumnCount",
|
|
18078
18740
|
"description": "Column count when this container is lg-wide"
|
|
18079
18741
|
},
|
|
18742
|
+
{
|
|
18743
|
+
"name": "width",
|
|
18744
|
+
"type": {
|
|
18745
|
+
"text": "string"
|
|
18746
|
+
},
|
|
18747
|
+
"default": "''",
|
|
18748
|
+
"fieldName": "width",
|
|
18749
|
+
"description": "'full' (default, fills the parent) | 'fit-content' | a CSS length (e.g. '480px'). A container narrower than its parent stays where its parent puts it; use the parent's horizontal-alignment to move it."
|
|
18750
|
+
},
|
|
18751
|
+
{
|
|
18752
|
+
"name": "min-width",
|
|
18753
|
+
"type": {
|
|
18754
|
+
"text": "string"
|
|
18755
|
+
},
|
|
18756
|
+
"default": "''",
|
|
18757
|
+
"fieldName": "minWidth",
|
|
18758
|
+
"description": "Minimum width as a CSS length (e.g. '280px')"
|
|
18759
|
+
},
|
|
18760
|
+
{
|
|
18761
|
+
"name": "max-width",
|
|
18762
|
+
"type": {
|
|
18763
|
+
"text": "string"
|
|
18764
|
+
},
|
|
18765
|
+
"default": "''",
|
|
18766
|
+
"fieldName": "maxWidth",
|
|
18767
|
+
"description": "Maximum width as a CSS length (e.g. '480px')"
|
|
18768
|
+
},
|
|
18080
18769
|
{
|
|
18081
18770
|
"name": "horizontal-alignment",
|
|
18082
18771
|
"type": {
|
|
@@ -19132,7 +19821,7 @@
|
|
|
19132
19821
|
"declarations": [
|
|
19133
19822
|
{
|
|
19134
19823
|
"kind": "class",
|
|
19135
|
-
"description": "
|
|
19824
|
+
"description": "A page header with a media area and a text panel (the main) that can stand in six positions. Every area is rectangular. With `main-width=\"full\"` the media area sits as its own strip above or below the panel rather than behind it. On mobile the media always stacks above the full-width panel. Without media the main fills the whole area; with `main-background=\"base\"` that area gets a border so it stays visible on the base surface. `main-background` gives the panel a surface color from the filled categories. Those carry a pure white or black content color along, so components with `color=\"inherit\"` (title, rich-text) are guaranteed to keep their contrast.",
|
|
19136
19825
|
"name": "NLDDHero",
|
|
19137
19826
|
"members": [
|
|
19138
19827
|
{
|
|
@@ -19194,7 +19883,7 @@
|
|
|
19194
19883
|
"text": "string"
|
|
19195
19884
|
},
|
|
19196
19885
|
"default": "''",
|
|
19197
|
-
"description": "Hybrid media source: media-src renders an internal <img>, but a slotted\nmedia element wins (mirrors nldd-image / nldd-
|
|
19886
|
+
"description": "Hybrid media source: media-src renders an internal <img>, but a slotted\nmedia element wins (mirrors nldd-image / nldd-identity). srcset/sizes/alt\nfeed that internal img.",
|
|
19198
19887
|
"attribute": "media-src"
|
|
19199
19888
|
},
|
|
19200
19889
|
{
|
|
@@ -19430,7 +20119,7 @@
|
|
|
19430
20119
|
},
|
|
19431
20120
|
"default": "'bottom-left'",
|
|
19432
20121
|
"fieldName": "mainPosition",
|
|
19433
|
-
"description": "
|
|
20122
|
+
"description": "Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height"
|
|
19434
20123
|
},
|
|
19435
20124
|
{
|
|
19436
20125
|
"name": "main-width",
|
|
@@ -19439,7 +20128,7 @@
|
|
|
19439
20128
|
},
|
|
19440
20129
|
"default": "'1/2'",
|
|
19441
20130
|
"fieldName": "mainWidth",
|
|
19442
|
-
"description": "
|
|
20131
|
+
"description": "Width of the panel (default: '1/2'); 'full' makes a full top or bottom strip and is ignored with 'left'/'right'"
|
|
19443
20132
|
},
|
|
19444
20133
|
{
|
|
19445
20134
|
"name": "main-background",
|
|
@@ -19448,7 +20137,7 @@
|
|
|
19448
20137
|
},
|
|
19449
20138
|
"default": "'accent'",
|
|
19450
20139
|
"fieldName": "mainBackground",
|
|
19451
|
-
"description": "
|
|
20140
|
+
"description": "Surface color of the panel: 'base' (the base surface) or a category color — 'accent' (default) or a Rijkshuisstijl color such as 'lintblauw'|'donkerblauw'|'oranje'"
|
|
19452
20141
|
},
|
|
19453
20142
|
{
|
|
19454
20143
|
"name": "media-aspect-ratio",
|
|
@@ -19456,7 +20145,7 @@
|
|
|
19456
20145
|
"text": "string"
|
|
19457
20146
|
},
|
|
19458
20147
|
"default": "''",
|
|
19459
|
-
"description": "Aspect ratio
|
|
20148
|
+
"description": "Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area",
|
|
19460
20149
|
"fieldName": "mediaAspectRatio"
|
|
19461
20150
|
},
|
|
19462
20151
|
{
|
|
@@ -19465,7 +20154,7 @@
|
|
|
19465
20154
|
"text": "string"
|
|
19466
20155
|
},
|
|
19467
20156
|
"default": "''",
|
|
19468
|
-
"description": "Body max-width; 'full'
|
|
20157
|
+
"description": "Body max-width; 'full' removes the bound (section API)",
|
|
19469
20158
|
"fieldName": "width"
|
|
19470
20159
|
},
|
|
19471
20160
|
{
|
|
@@ -19474,7 +20163,7 @@
|
|
|
19474
20163
|
"text": "string"
|
|
19475
20164
|
},
|
|
19476
20165
|
"default": "''",
|
|
19477
|
-
"description": "
|
|
20166
|
+
"description": "Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled",
|
|
19478
20167
|
"fieldName": "mediaSrc"
|
|
19479
20168
|
},
|
|
19480
20169
|
{
|
|
@@ -19484,7 +20173,7 @@
|
|
|
19484
20173
|
},
|
|
19485
20174
|
"default": "''",
|
|
19486
20175
|
"fieldName": "mediaSrcset",
|
|
19487
|
-
"description": "Responsive source set
|
|
20176
|
+
"description": "Responsive source set for media-src"
|
|
19488
20177
|
},
|
|
19489
20178
|
{
|
|
19490
20179
|
"name": "media-sizes",
|
|
@@ -19493,7 +20182,7 @@
|
|
|
19493
20182
|
},
|
|
19494
20183
|
"default": "''",
|
|
19495
20184
|
"fieldName": "mediaSizes",
|
|
19496
|
-
"description": "Source sizes
|
|
20185
|
+
"description": "Source sizes hint for media-src"
|
|
19497
20186
|
},
|
|
19498
20187
|
{
|
|
19499
20188
|
"name": "media-alt",
|
|
@@ -19502,7 +20191,7 @@
|
|
|
19502
20191
|
},
|
|
19503
20192
|
"default": "''",
|
|
19504
20193
|
"fieldName": "mediaAlt",
|
|
19505
|
-
"description": "Alt
|
|
20194
|
+
"description": "Alt text for media-src; empty means decorative"
|
|
19506
20195
|
},
|
|
19507
20196
|
{
|
|
19508
20197
|
"name": "background",
|
|
@@ -19515,7 +20204,7 @@
|
|
|
19515
20204
|
"name": "PageSectionMixin",
|
|
19516
20205
|
"module": "src/utilities/page-section-mixin.ts"
|
|
19517
20206
|
},
|
|
19518
|
-
"description": "Surface
|
|
20207
|
+
"description": "Surface behind the hero (section API)"
|
|
19519
20208
|
},
|
|
19520
20209
|
{
|
|
19521
20210
|
"name": "scheme",
|
|
@@ -19528,7 +20217,7 @@
|
|
|
19528
20217
|
"name": "PageSectionMixin",
|
|
19529
20218
|
"module": "src/utilities/page-section-mixin.ts"
|
|
19530
20219
|
},
|
|
19531
|
-
"description": "
|
|
20220
|
+
"description": "Color scheme (section API)"
|
|
19532
20221
|
},
|
|
19533
20222
|
{
|
|
19534
20223
|
"name": "padding-block",
|
|
@@ -19540,7 +20229,7 @@
|
|
|
19540
20229
|
"name": "PageSectionMixin",
|
|
19541
20230
|
"module": "src/utilities/page-section-mixin.ts"
|
|
19542
20231
|
},
|
|
19543
|
-
"description": "
|
|
20232
|
+
"description": "Block padding override, also per edge and responsive (section API)"
|
|
19544
20233
|
},
|
|
19545
20234
|
{
|
|
19546
20235
|
"name": "padding-top",
|
|
@@ -19673,7 +20362,7 @@
|
|
|
19673
20362
|
"name": "PageSectionMixin",
|
|
19674
20363
|
"module": "src/utilities/page-section-mixin.ts"
|
|
19675
20364
|
},
|
|
19676
|
-
"description": "
|
|
20365
|
+
"description": "Minimum height of the section (section API)"
|
|
19677
20366
|
}
|
|
19678
20367
|
],
|
|
19679
20368
|
"mixins": [
|
|
@@ -19691,11 +20380,11 @@
|
|
|
19691
20380
|
"slots": [
|
|
19692
20381
|
{
|
|
19693
20382
|
"name": "media",
|
|
19694
|
-
"description": "
|
|
20383
|
+
"description": "Image or illustration (img or nldd-image); fills the area and is clipped. Takes precedence over the media-src attributes. Set `alt=\"\"` when the image is decorative; otherwise give a describing alt text."
|
|
19695
20384
|
},
|
|
19696
20385
|
{
|
|
19697
20386
|
"name": "",
|
|
19698
|
-
"description": "
|
|
20387
|
+
"description": "Content of the text panel (nldd-title and nldd-rich-text with color=\"inherit\", for instance)"
|
|
19699
20388
|
}
|
|
19700
20389
|
]
|
|
19701
20390
|
}
|
|
@@ -21316,6 +22005,27 @@
|
|
|
21316
22005
|
"attribute": "width",
|
|
21317
22006
|
"reflects": true
|
|
21318
22007
|
},
|
|
22008
|
+
{
|
|
22009
|
+
"kind": "field",
|
|
22010
|
+
"name": "horizontalAlignment",
|
|
22011
|
+
"type": {
|
|
22012
|
+
"text": "HorizontalAlignment"
|
|
22013
|
+
},
|
|
22014
|
+
"default": "'left'",
|
|
22015
|
+
"description": "Where the body's children sit; the body itself keeps its own max-width.",
|
|
22016
|
+
"attribute": "horizontal-alignment",
|
|
22017
|
+
"reflects": true
|
|
22018
|
+
},
|
|
22019
|
+
{
|
|
22020
|
+
"kind": "field",
|
|
22021
|
+
"name": "verticalAlignment",
|
|
22022
|
+
"type": {
|
|
22023
|
+
"text": "VerticalAlignment"
|
|
22024
|
+
},
|
|
22025
|
+
"default": "'top'",
|
|
22026
|
+
"attribute": "vertical-alignment",
|
|
22027
|
+
"reflects": true
|
|
22028
|
+
},
|
|
21319
22029
|
{
|
|
21320
22030
|
"kind": "field",
|
|
21321
22031
|
"name": "background",
|
|
@@ -21524,6 +22234,24 @@
|
|
|
21524
22234
|
"description": "Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.",
|
|
21525
22235
|
"fieldName": "width"
|
|
21526
22236
|
},
|
|
22237
|
+
{
|
|
22238
|
+
"name": "horizontal-alignment",
|
|
22239
|
+
"type": {
|
|
22240
|
+
"text": "HorizontalAlignment"
|
|
22241
|
+
},
|
|
22242
|
+
"default": "'left'",
|
|
22243
|
+
"description": "Where the body's children sit across the body ('left' default). Use it to place something narrower than the body, such as a container with a max-width.",
|
|
22244
|
+
"fieldName": "horizontalAlignment"
|
|
22245
|
+
},
|
|
22246
|
+
{
|
|
22247
|
+
"name": "vertical-alignment",
|
|
22248
|
+
"type": {
|
|
22249
|
+
"text": "VerticalAlignment"
|
|
22250
|
+
},
|
|
22251
|
+
"default": "'top'",
|
|
22252
|
+
"fieldName": "verticalAlignment",
|
|
22253
|
+
"description": "Where the body's children sit down the section ('top' default). Only visible when the section is taller than its content."
|
|
22254
|
+
},
|
|
21527
22255
|
{
|
|
21528
22256
|
"name": "background",
|
|
21529
22257
|
"type": {
|
|
@@ -22328,7 +23056,7 @@
|
|
|
22328
23056
|
"declarations": [
|
|
22329
23057
|
{
|
|
22330
23058
|
"kind": "class",
|
|
22331
|
-
"description": "
|
|
23059
|
+
"description": "A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover=\"auto\") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle: <nldd-button id=\"info-trigger\" popovertarget=\"info-popover\">Info</nldd-button> <nldd-popover id=\"info-popover\" anchor=\"info-trigger\" accessible-label=\"Info\"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus.",
|
|
22332
23060
|
"name": "NLDDPopover",
|
|
22333
23061
|
"members": [
|
|
22334
23062
|
{
|
|
@@ -22501,7 +23229,7 @@
|
|
|
22501
23229
|
},
|
|
22502
23230
|
"default": "''",
|
|
22503
23231
|
"fieldName": "anchor",
|
|
22504
|
-
"description": "ID
|
|
23232
|
+
"description": "ID of the trigger element, used for positioning"
|
|
22505
23233
|
},
|
|
22506
23234
|
{
|
|
22507
23235
|
"name": "placement",
|
|
@@ -22518,7 +23246,7 @@
|
|
|
22518
23246
|
"text": "string | undefined"
|
|
22519
23247
|
},
|
|
22520
23248
|
"fieldName": "width",
|
|
22521
|
-
"description": "
|
|
23249
|
+
"description": "Width as a CSS length (default: 320px through --components-popover-default-width). A content-based size (`fit-content`, `min-content`, `max-content`, `auto`) is refused: the popover is an inline-size container so slotted components can adapt to it, and its width cannot then come from that same content. Such a value is ignored, with a warning in DEV."
|
|
22522
23250
|
},
|
|
22523
23251
|
{
|
|
22524
23252
|
"name": "top",
|
|
@@ -22527,7 +23255,7 @@
|
|
|
22527
23255
|
},
|
|
22528
23256
|
"default": "undefined",
|
|
22529
23257
|
"fieldName": "top",
|
|
22530
|
-
"description": "CSS top
|
|
23258
|
+
"description": "CSS top position. When set (on its own, or together with other edge attributes or `centered`) Floating UI's anchor positioning is skipped and the popover stands free on the screen. The `anchor` is still needed for the ARIA link on the trigger. No effect on sm, where the bottom sheet wins."
|
|
22531
23259
|
},
|
|
22532
23260
|
{
|
|
22533
23261
|
"name": "left",
|
|
@@ -22536,7 +23264,7 @@
|
|
|
22536
23264
|
},
|
|
22537
23265
|
"default": "undefined",
|
|
22538
23266
|
"fieldName": "left",
|
|
22539
|
-
"description": "CSS left
|
|
23267
|
+
"description": "CSS left position. See `top` for the semantics."
|
|
22540
23268
|
},
|
|
22541
23269
|
{
|
|
22542
23270
|
"name": "right",
|
|
@@ -22545,7 +23273,7 @@
|
|
|
22545
23273
|
},
|
|
22546
23274
|
"default": "undefined",
|
|
22547
23275
|
"fieldName": "right",
|
|
22548
|
-
"description": "CSS right
|
|
23276
|
+
"description": "CSS right position. See `top` for the semantics."
|
|
22549
23277
|
},
|
|
22550
23278
|
{
|
|
22551
23279
|
"name": "bottom",
|
|
@@ -22554,7 +23282,7 @@
|
|
|
22554
23282
|
},
|
|
22555
23283
|
"default": "undefined",
|
|
22556
23284
|
"fieldName": "bottom",
|
|
22557
|
-
"description": "CSS bottom
|
|
23285
|
+
"description": "CSS bottom position. See `top` for the semantics."
|
|
22558
23286
|
},
|
|
22559
23287
|
{
|
|
22560
23288
|
"name": "centered",
|
|
@@ -22563,7 +23291,7 @@
|
|
|
22563
23291
|
},
|
|
22564
23292
|
"default": "false",
|
|
22565
23293
|
"fieldName": "centered",
|
|
22566
|
-
"description": "
|
|
23294
|
+
"description": "Centers both axes on the viewport. Overridable per axis: `centered top=\"0\"` is centered horizontally, aligned to the top. Mirrors CSS `place-items: center` with `align-items`/`justify-items` overrides."
|
|
22567
23295
|
},
|
|
22568
23296
|
{
|
|
22569
23297
|
"name": "sm-full-height",
|
|
@@ -22572,7 +23300,7 @@
|
|
|
22572
23300
|
},
|
|
22573
23301
|
"default": "false",
|
|
22574
23302
|
"fieldName": "smFullHeight",
|
|
22575
|
-
"description": "
|
|
23303
|
+
"description": "On an sm viewport (where the popover renders as a bottom sheet) fills the whole available height instead of shrinking to its content. No effect on md and up (anchored mode). Opt-in for content-heavy cases such as search results or long detail views; content-sized is the default, following the Apple and Material convention."
|
|
22576
23304
|
},
|
|
22577
23305
|
{
|
|
22578
23306
|
"name": "accessible-label",
|
|
@@ -22581,7 +23309,7 @@
|
|
|
22581
23309
|
},
|
|
22582
23310
|
"default": "''",
|
|
22583
23311
|
"fieldName": "accessibleLabel",
|
|
22584
|
-
"description": "(
|
|
23312
|
+
"description": "(required) Accessible name (aria-label). Falls back to the i18n default ('Popover') when unset — always give a unique, describing name."
|
|
22585
23313
|
},
|
|
22586
23314
|
{
|
|
22587
23315
|
"name": "translations",
|
|
@@ -22589,7 +23317,7 @@
|
|
|
22589
23317
|
"text": "Partial<NLDDPopoverTranslations>"
|
|
22590
23318
|
},
|
|
22591
23319
|
"default": "{}",
|
|
22592
|
-
"description": "Override translation keys; unset keys
|
|
23320
|
+
"description": "Override translation keys; unset keys fall back to the Dutch default.",
|
|
22593
23321
|
"fieldName": "translations"
|
|
22594
23322
|
}
|
|
22595
23323
|
],
|
|
@@ -22602,17 +23330,17 @@
|
|
|
22602
23330
|
"events": [
|
|
22603
23331
|
{
|
|
22604
23332
|
"name": "open",
|
|
22605
|
-
"description": "
|
|
23333
|
+
"description": "When the popover opens"
|
|
22606
23334
|
},
|
|
22607
23335
|
{
|
|
22608
23336
|
"name": "close",
|
|
22609
|
-
"description": "
|
|
23337
|
+
"description": "When the popover closes"
|
|
22610
23338
|
}
|
|
22611
23339
|
],
|
|
22612
23340
|
"slots": [
|
|
22613
23341
|
{
|
|
22614
23342
|
"name": "",
|
|
22615
|
-
"description": "
|
|
23343
|
+
"description": "Free content (an nldd-container with a form or info, for instance)"
|
|
22616
23344
|
}
|
|
22617
23345
|
]
|
|
22618
23346
|
}
|
|
@@ -25029,7 +25757,7 @@
|
|
|
25029
25757
|
"declarations": [
|
|
25030
25758
|
{
|
|
25031
25759
|
"kind": "class",
|
|
25032
|
-
"description": "A cell component for displaying timeline track indicators in lists. Shows a vertical line with a dot indicating timeline position and state. The row's block padding belongs to the cell itself (via `--context-cell-padding-block`), so the line spans the cell's own box edge to edge and consecutive steps connect without gaps.
|
|
25760
|
+
"description": "A cell component for displaying timeline track indicators in lists. Shows a vertical line with a dot indicating timeline position and state. The row's block padding belongs to the cell itself (via `--context-cell-padding-block`), so the line spans the cell's own box edge to edge and consecutive steps connect without gaps. By default the cell is a bare track: a line with a dot per row, for a timeline of events. With `variant=\"step\"` the dot grows big enough for a number or an icon and you have a list of steps under each other, the vertical counterpart of `nldd-step-indicator`. The size belongs to the variant rather than to the content: every dot in a list is the same size, or the track would jump.",
|
|
25033
25761
|
"name": "NLDDTimelineTrackCell",
|
|
25034
25762
|
"members": [
|
|
25035
25763
|
{
|
|
@@ -25146,7 +25874,7 @@
|
|
|
25146
25874
|
},
|
|
25147
25875
|
"default": "'past'",
|
|
25148
25876
|
"fieldName": "status",
|
|
25149
|
-
"description": "Status
|
|
25877
|
+
"description": "Status of this step (default 'past'); the same values as `nldd-step-indicator-item`. `none` draws the line only, without a dot"
|
|
25150
25878
|
},
|
|
25151
25879
|
{
|
|
25152
25880
|
"name": "variant",
|
|
@@ -25155,7 +25883,7 @@
|
|
|
25155
25883
|
},
|
|
25156
25884
|
"default": "'dot'",
|
|
25157
25885
|
"fieldName": "variant",
|
|
25158
|
-
"description": "
|
|
25886
|
+
"description": "What this row is: a `dot` (default) on a timeline of events, a 16px dot, or a `step` in a list of steps, a 24px dot with room for a number or an icon"
|
|
25159
25887
|
},
|
|
25160
25888
|
{
|
|
25161
25889
|
"name": "minor",
|
|
@@ -25163,7 +25891,7 @@
|
|
|
25163
25891
|
"text": "boolean"
|
|
25164
25892
|
},
|
|
25165
25893
|
"default": "false",
|
|
25166
|
-
"description": "
|
|
25894
|
+
"description": "This row belongs under the previous one: a smaller dot in the same lane, so the track runs straight on and nothing indents. The dot stays empty (a number or an icon would not fit, and would make the row a step of its own); carry the hierarchy in the row itself instead, with an `nldd-text-cell` rather than an `nldd-title-cell` for example",
|
|
25167
25895
|
"fieldName": "minor"
|
|
25168
25896
|
},
|
|
25169
25897
|
{
|
|
@@ -25172,7 +25900,7 @@
|
|
|
25172
25900
|
"text": "Direction"
|
|
25173
25901
|
},
|
|
25174
25902
|
"default": "'down'",
|
|
25175
|
-
"description": "
|
|
25903
|
+
"description": "The direction the timeline moves forward in: `down` (default) puts the past above, `up` below. Only the current step has half a track, so this only has an effect there",
|
|
25176
25904
|
"fieldName": "direction"
|
|
25177
25905
|
},
|
|
25178
25906
|
{
|
|
@@ -25182,7 +25910,7 @@
|
|
|
25182
25910
|
},
|
|
25183
25911
|
"default": "'between'",
|
|
25184
25912
|
"fieldName": "position",
|
|
25185
|
-
"description": "
|
|
25913
|
+
"description": "Place in the series (default 'between'): decides whether the line continues above the dot, below it, or on both sides. `only` is the single row in the series and gets a line on neither side: a track of one dot leads nowhere"
|
|
25186
25914
|
},
|
|
25187
25915
|
{
|
|
25188
25916
|
"name": "text",
|
|
@@ -25191,7 +25919,7 @@
|
|
|
25191
25919
|
},
|
|
25192
25920
|
"default": "''",
|
|
25193
25921
|
"fieldName": "text",
|
|
25194
|
-
"description": "
|
|
25922
|
+
"description": "Number or short text in the dot"
|
|
25195
25923
|
},
|
|
25196
25924
|
{
|
|
25197
25925
|
"name": "icon",
|
|
@@ -25200,7 +25928,7 @@
|
|
|
25200
25928
|
},
|
|
25201
25929
|
"default": "''",
|
|
25202
25930
|
"fieldName": "icon",
|
|
25203
|
-
"description": "
|
|
25931
|
+
"description": "Icon name in the dot; wins over `text`"
|
|
25204
25932
|
},
|
|
25205
25933
|
{
|
|
25206
25934
|
"name": "hide-below",
|
|
@@ -25240,7 +25968,7 @@
|
|
|
25240
25968
|
"slots": [
|
|
25241
25969
|
{
|
|
25242
25970
|
"name": "",
|
|
25243
|
-
"description": "
|
|
25971
|
+
"description": "Custom content in the dot (an alternative to `text` and `icon`)"
|
|
25244
25972
|
}
|
|
25245
25973
|
]
|
|
25246
25974
|
}
|
|
@@ -25927,7 +26655,7 @@
|
|
|
25927
26655
|
"declarations": [
|
|
25928
26656
|
{
|
|
25929
26657
|
"kind": "class",
|
|
25930
|
-
"description": "A row within an `nldd-list`. Renders as a link when `href` is set, as a checkbox when `checkbox` is set, as a button when `button` is set, or as a plain container otherwise. All cells and action segmented actions share one flat slot, in source order. Two rules govern every row: 1. State fills always paint the WIDENED row geometry — the row box extended by the indicator inline inset on both sides — whether or not the row is interactive. Paint never differs between a selected plain row and a selected interactive row. 2. The widened strip belongs to the ROW, never to a segment. A row with any action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls itself outward (`is-interactive` host class → negative inline margin) and pads the row block back by the same amount, so content stays on the grid. A row-wide action owns that padding itself, making the whole widened box one hit area; slotted segmented actions stay in the grid, so their footprint is position-independent and tree columns line up at any depth.
|
|
26658
|
+
"description": "A row within an `nldd-list`. Renders as a link when `href` is set, as a checkbox when `checkbox` is set, as a button when `button` is set, or as a plain container otherwise. All cells and action segmented actions share one flat slot, in source order. Two rules govern every row: 1. State fills always paint the WIDENED row geometry — the row box extended by the indicator inline inset on both sides — whether or not the row is interactive. Paint never differs between a selected plain row and a selected interactive row. 2. The widened strip belongs to the ROW, never to a segment. A row with any action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls itself outward (`is-interactive` host class → negative inline margin) and pads the row block back by the same amount, so content stays on the grid. A row-wide action owns that padding itself, making the whole widened box one hit area; slotted segmented actions stay in the grid, so their footprint is position-independent and tree columns line up at any depth. By default the divider starts at the row's first text or title cell, so the line lands on the words rather than on whatever leads up to them — an icon, an avatar, a checkbox, or the spacers a tree indents with. Rows of different shapes then still line their dividers up with each other, and a tree's dividers step inward with its indentation. Text inside an `nldd-list-item-action` counts as the row's content, and the marker is that text cell rather than the action: the action carries its own inline padding, so its edge sits before the words. A row with no text or title cell keeps the full content width. Mark a cell with `divider-start` and/or `divider-end` to place it yourself instead — an explicit marker replaces the derived one entirely, so `divider-start` on the leading cell restores the full-width line. Multiple markers resolve as the union: first `divider-start` through last `divider-end`. A start past the last end is an authoring error — the item DEV-warns and falls back to the full content width. A branch row can disclose its children in two ways: a dedicated `nldd-list-item-action[disclosure]` segment (only the chevron is clickable), or the row itself as the control (`button` + `expanded`, the whole row toggles). In the second case, mark the chevron's `nldd-icon-cell` with `disclosure` and the row turns it with `expanded` — the same affordance, without having to trade a clickable row for a turning chevron. `checkbox` makes the WHOLE row the control: the inner action becomes a `role=\"checkbox\"` button carrying `aria-checked`, it toggles `checked` on activation and fires `change`. Slot a visual `nldd-checkbox` (or any glyph) before the text and mark it `aria-hidden` + non-focusable — the row already conveys role and state, and a second focusable control would double the tab stops. Do NOT nest a real `<input type=\"checkbox\">` in the action: interactive content inside a `<button>` is invalid HTML and AT announces the button, not the checked state. A `<label>` variant is not offered for the same reason it cannot work — label-to-input association walks the DOM tree, and a slotted input is not a descendant of a label in the shadow root. When it renders as a link, `target` and `rel` are forwarded to the inner `<a>` (e.g. `target=\"_blank\" rel=\"noopener noreferrer\"`). With `target=\"_blank\"` the item also injects a visually hidden \"opens in new tab\" announcement for assistive technology (WCAG 2.1 SC 3.2.2). The item synchronizes its ARIA with its parent `nldd-list`'s `type`: - `list` parent → `role=\"listitem\"` - `navigation` parent → `role=\"listitem\"` + `aria-current=\"page\"` on the inner `<a>` / `<button>` when `selected` - `listbox` parent → `role=\"option\"` + `aria-selected` reflecting `selected`. The list points its search input's `aria-activedescendant` at the active option via `_highlighted` (separate from `selected`).",
|
|
25931
26659
|
"name": "NLDDListItem",
|
|
25932
26660
|
"slots": [
|
|
25933
26661
|
{
|
|
@@ -26272,16 +27000,6 @@
|
|
|
26272
27000
|
"attribute": "variant",
|
|
26273
27001
|
"reflects": true
|
|
26274
27002
|
},
|
|
26275
|
-
{
|
|
26276
|
-
"kind": "field",
|
|
26277
|
-
"name": "background",
|
|
26278
|
-
"type": {
|
|
26279
|
-
"text": "ListBackground | undefined"
|
|
26280
|
-
},
|
|
26281
|
-
"description": "Surface fill for `variant=\"box\"`. `tinted` (default) for a list on\na plain page; `base` for a list on an already-tinted parent. No\neffect when `variant=\"simple\"`.",
|
|
26282
|
-
"attribute": "background",
|
|
26283
|
-
"reflects": true
|
|
26284
|
-
},
|
|
26285
27003
|
{
|
|
26286
27004
|
"kind": "field",
|
|
26287
27005
|
"name": "type",
|
|
@@ -26306,13 +27024,13 @@
|
|
|
26306
27024
|
},
|
|
26307
27025
|
{
|
|
26308
27026
|
"kind": "field",
|
|
26309
|
-
"name": "
|
|
27027
|
+
"name": "dividers",
|
|
26310
27028
|
"type": {
|
|
26311
|
-
"text": "
|
|
27029
|
+
"text": "ListDividers"
|
|
26312
27030
|
},
|
|
26313
|
-
"default": "
|
|
26314
|
-
"description": "
|
|
26315
|
-
"attribute": "
|
|
27031
|
+
"default": "'always'",
|
|
27032
|
+
"description": "When to draw the lines between the items. `on-touch` draws them where the\nprimary input is touch: a pointer has the hover highlight to tell one row\nfrom the next, and a finger has nothing.",
|
|
27033
|
+
"attribute": "dividers",
|
|
26316
27034
|
"reflects": true
|
|
26317
27035
|
},
|
|
26318
27036
|
{
|
|
@@ -26395,19 +27113,11 @@
|
|
|
26395
27113
|
"type": {
|
|
26396
27114
|
"text": "ListVariant"
|
|
26397
27115
|
},
|
|
26398
|
-
"description": "Visual style (default 'simple'): `simple` is a plain vertical strip with no chrome, `box` a framed card with rounded corners, fill and inset border ring",
|
|
27116
|
+
"description": "Visual style (default 'simple'): `simple` is a plain vertical strip with no chrome, the two `box` values a framed card with rounded corners, fill and inset border ring. `box-tinted` for a list on a plain page, `box-base` for one on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card)",
|
|
26399
27117
|
"name": "variant",
|
|
26400
27118
|
"default": "'simple'",
|
|
26401
27119
|
"fieldName": "variant"
|
|
26402
27120
|
},
|
|
26403
|
-
{
|
|
26404
|
-
"type": {
|
|
26405
|
-
"text": "ListBackground | undefined"
|
|
26406
|
-
},
|
|
26407
|
-
"description": "Surface fill for `variant=\"box\"` (default 'tinted'). Use `base` on an already-tinted parent. No effect with `variant=\"simple\"`.",
|
|
26408
|
-
"name": "background",
|
|
26409
|
-
"fieldName": "background"
|
|
26410
|
-
},
|
|
26411
27121
|
{
|
|
26412
27122
|
"type": {
|
|
26413
27123
|
"text": "ListType"
|
|
@@ -26428,12 +27138,12 @@
|
|
|
26428
27138
|
},
|
|
26429
27139
|
{
|
|
26430
27140
|
"type": {
|
|
26431
|
-
"text": "
|
|
27141
|
+
"text": "ListDividers"
|
|
26432
27142
|
},
|
|
26433
|
-
"description": "
|
|
26434
|
-
"name": "
|
|
26435
|
-
"default": "
|
|
26436
|
-
"fieldName": "
|
|
27143
|
+
"description": "When to draw the lines between the items (default 'always'). `on-touch` draws them only where the primary input is touch, under `(pointer: coarse)`: a pointer has the hover highlight to tell one row from the next and a finger has nothing, so the line earns its place in the one case and is clutter in the other. `never` hides them everywhere",
|
|
27144
|
+
"name": "dividers",
|
|
27145
|
+
"default": "'always'",
|
|
27146
|
+
"fieldName": "dividers"
|
|
26437
27147
|
},
|
|
26438
27148
|
{
|
|
26439
27149
|
"type": {
|
|
@@ -28913,7 +29623,7 @@
|
|
|
28913
29623
|
"declarations": [
|
|
28914
29624
|
{
|
|
28915
29625
|
"kind": "class",
|
|
28916
|
-
"description": "A toolbar for page and container headings with optional navigation and action buttons. The component has two states: - Default: the back button shows the previous page title as a text button - Compact (class `is-compact`): the back button is an icon button, a divider and the toolbar title are visible When `collapse-anchor` is set, the `is-compact` class is automatically applied as soon as the top of the anchor element reaches this bar's own top edge (the sticky header line). Measuring the bar rather than the page keeps it correct in both nested and root scroll modes; it also re-points at the live scroll target when the page switches mode. Without `collapse-anchor` the bar takes a static state: compact when `text` is set (so the title shows in the title-group), non-compact otherwise (so the `back-text` button stays visible).",
|
|
29626
|
+
"description": "A toolbar for page and container headings with optional navigation and action buttons. The component has two states: - Default: the back button shows the previous page title as a text button - Compact (class `is-compact`): the back button is an icon button, a divider and the toolbar title are visible When `collapse-anchor` is set, the `is-compact` class is automatically applied as soon as the top of the anchor element reaches this bar's own top edge (the sticky header line). Measuring the bar rather than the page keeps it correct in both nested and root scroll modes; it also re-points at the live scroll target when the page switches mode. Without `collapse-anchor` the bar takes a static state: compact when `text` is set (so the title shows in the title-group), non-compact otherwise (so the `back-text` button stays visible). An anchored bar hides its own title from assistive technology. The anchor is the heading the title swaps in for, so both carry the same words: once you scroll past the heading, a screen reader would otherwise find the same title twice. Sighted readers see one at a time, and this makes that true for everyone. Anchor at the heading, then, and not at some other element that happens to sit at the right height: the bar hands its title over to it.",
|
|
28917
29627
|
"name": "NLDDTopTitleBar",
|
|
28918
29628
|
"members": [
|
|
28919
29629
|
{
|
|
@@ -29265,9 +29975,19 @@
|
|
|
29265
29975
|
"declarations": [
|
|
29266
29976
|
{
|
|
29267
29977
|
"kind": "class",
|
|
29268
|
-
"description": "
|
|
29978
|
+
"description": "Shows the state of something, or how much of it there is: a status, a number of unread messages, a dot saying something is new. What it says is decided by the system, and it changes without anyone touching it. A badge is never interactive. It shows text, a number and/or an icon; with no content it becomes a dot. Put it in a corner of another element (an icon, for instance) or on its own. For a property someone assigns to something, such as a category, a role or a certification, use `nldd-tag`. For standalone data the user works with, such as a chosen person or an active filter, use `nldd-token`.",
|
|
29269
29979
|
"name": "NLDDBadge",
|
|
29270
29980
|
"members": [
|
|
29981
|
+
{
|
|
29982
|
+
"kind": "field",
|
|
29983
|
+
"name": "size",
|
|
29984
|
+
"type": {
|
|
29985
|
+
"text": "Size"
|
|
29986
|
+
},
|
|
29987
|
+
"default": "'md'",
|
|
29988
|
+
"attribute": "size",
|
|
29989
|
+
"reflects": true
|
|
29990
|
+
},
|
|
29271
29991
|
{
|
|
29272
29992
|
"kind": "field",
|
|
29273
29993
|
"name": "color",
|
|
@@ -29280,12 +30000,12 @@
|
|
|
29280
30000
|
},
|
|
29281
30001
|
{
|
|
29282
30002
|
"kind": "field",
|
|
29283
|
-
"name": "
|
|
30003
|
+
"name": "pulse",
|
|
29284
30004
|
"type": {
|
|
29285
|
-
"text": "
|
|
30005
|
+
"text": "boolean"
|
|
29286
30006
|
},
|
|
29287
|
-
"default": "
|
|
29288
|
-
"attribute": "
|
|
30007
|
+
"default": "false",
|
|
30008
|
+
"attribute": "pulse",
|
|
29289
30009
|
"reflects": true
|
|
29290
30010
|
},
|
|
29291
30011
|
{
|
|
@@ -29336,6 +30056,16 @@
|
|
|
29336
30056
|
"default": "''",
|
|
29337
30057
|
"attribute": "accessible-label"
|
|
29338
30058
|
},
|
|
30059
|
+
{
|
|
30060
|
+
"kind": "field",
|
|
30061
|
+
"name": "decorative",
|
|
30062
|
+
"type": {
|
|
30063
|
+
"text": "boolean"
|
|
30064
|
+
},
|
|
30065
|
+
"default": "false",
|
|
30066
|
+
"attribute": "decorative",
|
|
30067
|
+
"reflects": true
|
|
30068
|
+
},
|
|
29339
30069
|
{
|
|
29340
30070
|
"kind": "field",
|
|
29341
30071
|
"name": "translations",
|
|
@@ -29351,6 +30081,15 @@
|
|
|
29351
30081
|
}
|
|
29352
30082
|
],
|
|
29353
30083
|
"attributes": [
|
|
30084
|
+
{
|
|
30085
|
+
"name": "size",
|
|
30086
|
+
"type": {
|
|
30087
|
+
"text": "Size"
|
|
30088
|
+
},
|
|
30089
|
+
"default": "'md'",
|
|
30090
|
+
"fieldName": "size",
|
|
30091
|
+
"description": "Size: 'sm' | 'md' (default: 'md')"
|
|
30092
|
+
},
|
|
29354
30093
|
{
|
|
29355
30094
|
"name": "color",
|
|
29356
30095
|
"type": {
|
|
@@ -29358,16 +30097,16 @@
|
|
|
29358
30097
|
},
|
|
29359
30098
|
"default": "'critical'",
|
|
29360
30099
|
"fieldName": "color",
|
|
29361
|
-
"description": "
|
|
30100
|
+
"description": "Semantic ('critical' | 'accent' | 'neutral' | 'warning' | 'success') or a Rijkshuisstijl color ('lintblauw' | 'hemelblauw' | 'oranje' | …). Default: 'critical'"
|
|
29362
30101
|
},
|
|
29363
30102
|
{
|
|
29364
|
-
"name": "
|
|
30103
|
+
"name": "pulse",
|
|
29365
30104
|
"type": {
|
|
29366
|
-
"text": "
|
|
30105
|
+
"text": "boolean"
|
|
29367
30106
|
},
|
|
29368
|
-
"default": "
|
|
29369
|
-
"fieldName": "
|
|
29370
|
-
"description": "
|
|
30107
|
+
"default": "false",
|
|
30108
|
+
"fieldName": "pulse",
|
|
30109
|
+
"description": "Grows a ring out of the badge and fades it, for something happening right now (a live connection, an outage). Respects `prefers-reduced-motion`."
|
|
29371
30110
|
},
|
|
29372
30111
|
{
|
|
29373
30112
|
"name": "text",
|
|
@@ -29376,7 +30115,7 @@
|
|
|
29376
30115
|
},
|
|
29377
30116
|
"default": "''",
|
|
29378
30117
|
"fieldName": "text",
|
|
29379
|
-
"description": "
|
|
30118
|
+
"description": "Text (takes precedence over number)"
|
|
29380
30119
|
},
|
|
29381
30120
|
{
|
|
29382
30121
|
"name": "number",
|
|
@@ -29385,7 +30124,7 @@
|
|
|
29385
30124
|
},
|
|
29386
30125
|
"default": "undefined",
|
|
29387
30126
|
"fieldName": "number",
|
|
29388
|
-
"description": "
|
|
30127
|
+
"description": "Numeric value. Shortened when it is over max"
|
|
29389
30128
|
},
|
|
29390
30129
|
{
|
|
29391
30130
|
"name": "max",
|
|
@@ -29394,7 +30133,7 @@
|
|
|
29394
30133
|
},
|
|
29395
30134
|
"default": "99",
|
|
29396
30135
|
"fieldName": "max",
|
|
29397
|
-
"description": "
|
|
30136
|
+
"description": "Value above which number is shown as \"{max}+\" (default: 99)"
|
|
29398
30137
|
},
|
|
29399
30138
|
{
|
|
29400
30139
|
"name": "icon",
|
|
@@ -29403,7 +30142,7 @@
|
|
|
29403
30142
|
},
|
|
29404
30143
|
"default": "''",
|
|
29405
30144
|
"fieldName": "icon",
|
|
29406
|
-
"description": "
|
|
30145
|
+
"description": "Icon name. Icon-only renders as a square; with text or number the icon goes on the left."
|
|
29407
30146
|
},
|
|
29408
30147
|
{
|
|
29409
30148
|
"name": "accessible-label",
|
|
@@ -29412,7 +30151,16 @@
|
|
|
29412
30151
|
},
|
|
29413
30152
|
"default": "''",
|
|
29414
30153
|
"fieldName": "accessibleLabel",
|
|
29415
|
-
"description": "
|
|
30154
|
+
"description": "Accessible label for screen readers. Falls back to text/number; otherwise to the i18n default (\"Notificatie\")."
|
|
30155
|
+
},
|
|
30156
|
+
{
|
|
30157
|
+
"name": "decorative",
|
|
30158
|
+
"type": {
|
|
30159
|
+
"text": "boolean"
|
|
30160
|
+
},
|
|
30161
|
+
"default": "false",
|
|
30162
|
+
"fieldName": "decorative",
|
|
30163
|
+
"description": "Hides the badge from assistive software (use when the text beside it says the same, such as a dot next to a status word)"
|
|
29416
30164
|
},
|
|
29417
30165
|
{
|
|
29418
30166
|
"name": "translations",
|
|
@@ -30246,6 +30994,246 @@
|
|
|
30246
30994
|
}
|
|
30247
30995
|
]
|
|
30248
30996
|
},
|
|
30997
|
+
{
|
|
30998
|
+
"kind": "javascript-module",
|
|
30999
|
+
"path": "src/components/status-and-feedback/notification/notification-region.ts",
|
|
31000
|
+
"declarations": [
|
|
31001
|
+
{
|
|
31002
|
+
"kind": "function",
|
|
31003
|
+
"name": "joinRegion",
|
|
31004
|
+
"return": {
|
|
31005
|
+
"type": {
|
|
31006
|
+
"text": "void"
|
|
31007
|
+
}
|
|
31008
|
+
},
|
|
31009
|
+
"parameters": [
|
|
31010
|
+
{
|
|
31011
|
+
"name": "notification",
|
|
31012
|
+
"type": {
|
|
31013
|
+
"text": "NLDDNotification"
|
|
31014
|
+
}
|
|
31015
|
+
},
|
|
31016
|
+
{
|
|
31017
|
+
"name": "label",
|
|
31018
|
+
"type": {
|
|
31019
|
+
"text": "string"
|
|
31020
|
+
}
|
|
31021
|
+
}
|
|
31022
|
+
],
|
|
31023
|
+
"description": "Newest in front: what just happened is what you want to read, and the older\nones slide back and downwards behind it."
|
|
31024
|
+
},
|
|
31025
|
+
{
|
|
31026
|
+
"kind": "function",
|
|
31027
|
+
"name": "leaveRegion",
|
|
31028
|
+
"return": {
|
|
31029
|
+
"type": {
|
|
31030
|
+
"text": "void"
|
|
31031
|
+
}
|
|
31032
|
+
},
|
|
31033
|
+
"parameters": [
|
|
31034
|
+
{
|
|
31035
|
+
"name": "notification",
|
|
31036
|
+
"type": {
|
|
31037
|
+
"text": "NLDDNotification"
|
|
31038
|
+
}
|
|
31039
|
+
}
|
|
31040
|
+
]
|
|
31041
|
+
}
|
|
31042
|
+
],
|
|
31043
|
+
"exports": [
|
|
31044
|
+
{
|
|
31045
|
+
"kind": "js",
|
|
31046
|
+
"name": "joinRegion",
|
|
31047
|
+
"declaration": {
|
|
31048
|
+
"name": "joinRegion",
|
|
31049
|
+
"module": "src/components/status-and-feedback/notification/notification-region.ts"
|
|
31050
|
+
}
|
|
31051
|
+
},
|
|
31052
|
+
{
|
|
31053
|
+
"kind": "js",
|
|
31054
|
+
"name": "leaveRegion",
|
|
31055
|
+
"declaration": {
|
|
31056
|
+
"name": "leaveRegion",
|
|
31057
|
+
"module": "src/components/status-and-feedback/notification/notification-region.ts"
|
|
31058
|
+
}
|
|
31059
|
+
}
|
|
31060
|
+
]
|
|
31061
|
+
},
|
|
31062
|
+
{
|
|
31063
|
+
"kind": "javascript-module",
|
|
31064
|
+
"path": "src/components/status-and-feedback/notification/notification.ts",
|
|
31065
|
+
"declarations": [
|
|
31066
|
+
{
|
|
31067
|
+
"kind": "class",
|
|
31068
|
+
"description": "A short message that arrives over the interface and leaves on its own: a save that worked, a request that failed. Not a banner, which stands in the page and stays there — this one floats, stacks, and goes away. It places itself. Write it wherever it belongs in your code and it moves to one shared region: top right from md, full width across the top below that. Nothing about the position is settable, so notifications from anywhere in an application land in the same place and stack in the same order. More than one is a deck, not a list: the front one is readable and the older ones peek out below it, so a burst of messages takes the room of roughly one. The newest is in front. Behind it a notification is a bare surface, cut to the height of the one in front; dismiss the front and it slides up into the place that came free while its message fades in, because it was standing there all along. Under the front notification sits a strip as wide as the deck and as tall as the deck is when it fans out. Pointing at it fans the deck out to fill it, which is the only hint that there is more here than the message you can read; clicking it, or moving focus into the region, lays the whole deck out as a list. Clicking or tabbing away puts it back. The notification itself is not a button: a click on the message you are reading does nothing. Only the front of the deck counts down, and only while the deck is closed: open means someone is reading. The rest wait, so nothing disappears from under the one you are reading. `critical` never leaves on its own: a failure is worth reading, and the count-down would take it away while you were. That also keeps this within WCAG 2.2.1, which allows a time limit when what disappears is not essential. The clock pauses while a pointer moves over the notification and while focus is inside it, and resumes where it left off rather than starting over. A pointer that merely happens to rest where the notification appears does not count: it never moved, so nobody is reading. role follows the variant: `critical` becomes role=\"alert\", the rest role=\"status\". Focus never moves on its own. Escape dismisses the notification that focus is in.",
|
|
31069
|
+
"name": "NLDDNotification",
|
|
31070
|
+
"members": [
|
|
31071
|
+
{
|
|
31072
|
+
"kind": "field",
|
|
31073
|
+
"name": "variant",
|
|
31074
|
+
"type": {
|
|
31075
|
+
"text": "NotificationVariant"
|
|
31076
|
+
},
|
|
31077
|
+
"default": "'neutral'",
|
|
31078
|
+
"attribute": "variant",
|
|
31079
|
+
"reflects": true
|
|
31080
|
+
},
|
|
31081
|
+
{
|
|
31082
|
+
"kind": "field",
|
|
31083
|
+
"name": "icon",
|
|
31084
|
+
"type": {
|
|
31085
|
+
"text": "string"
|
|
31086
|
+
},
|
|
31087
|
+
"default": "''",
|
|
31088
|
+
"attribute": "icon",
|
|
31089
|
+
"reflects": true
|
|
31090
|
+
},
|
|
31091
|
+
{
|
|
31092
|
+
"kind": "field",
|
|
31093
|
+
"name": "text",
|
|
31094
|
+
"type": {
|
|
31095
|
+
"text": "string"
|
|
31096
|
+
},
|
|
31097
|
+
"default": "''",
|
|
31098
|
+
"attribute": "text",
|
|
31099
|
+
"reflects": true
|
|
31100
|
+
},
|
|
31101
|
+
{
|
|
31102
|
+
"kind": "field",
|
|
31103
|
+
"name": "supportingText",
|
|
31104
|
+
"type": {
|
|
31105
|
+
"text": "string"
|
|
31106
|
+
},
|
|
31107
|
+
"default": "''",
|
|
31108
|
+
"attribute": "supporting-text",
|
|
31109
|
+
"reflects": true
|
|
31110
|
+
},
|
|
31111
|
+
{
|
|
31112
|
+
"kind": "field",
|
|
31113
|
+
"name": "duration",
|
|
31114
|
+
"default": "10000",
|
|
31115
|
+
"attribute": "duration",
|
|
31116
|
+
"reflects": true,
|
|
31117
|
+
"type": {
|
|
31118
|
+
"text": "number"
|
|
31119
|
+
}
|
|
31120
|
+
},
|
|
31121
|
+
{
|
|
31122
|
+
"kind": "field",
|
|
31123
|
+
"name": "translations",
|
|
31124
|
+
"type": {
|
|
31125
|
+
"text": "Partial<T>"
|
|
31126
|
+
},
|
|
31127
|
+
"default": "{}",
|
|
31128
|
+
"attribute": "translations",
|
|
31129
|
+
"inheritedFrom": {
|
|
31130
|
+
"name": "withTranslations",
|
|
31131
|
+
"module": "src/utilities/with-translations.ts"
|
|
31132
|
+
}
|
|
31133
|
+
}
|
|
31134
|
+
],
|
|
31135
|
+
"events": [
|
|
31136
|
+
{
|
|
31137
|
+
"name": "dismiss",
|
|
31138
|
+
"description": "Fired when the notification is dismissed, by the button, by Escape, or by its own clock. The consumer removes it."
|
|
31139
|
+
}
|
|
31140
|
+
],
|
|
31141
|
+
"attributes": [
|
|
31142
|
+
{
|
|
31143
|
+
"name": "variant",
|
|
31144
|
+
"type": {
|
|
31145
|
+
"text": "NotificationVariant"
|
|
31146
|
+
},
|
|
31147
|
+
"default": "'neutral'",
|
|
31148
|
+
"fieldName": "variant",
|
|
31149
|
+
"description": "What kind of message this is; sets the icon color and the ARIA role (default: 'neutral')"
|
|
31150
|
+
},
|
|
31151
|
+
{
|
|
31152
|
+
"name": "icon",
|
|
31153
|
+
"type": {
|
|
31154
|
+
"text": "string"
|
|
31155
|
+
},
|
|
31156
|
+
"default": "''",
|
|
31157
|
+
"fieldName": "icon",
|
|
31158
|
+
"description": "Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled"
|
|
31159
|
+
},
|
|
31160
|
+
{
|
|
31161
|
+
"name": "text",
|
|
31162
|
+
"type": {
|
|
31163
|
+
"text": "string"
|
|
31164
|
+
},
|
|
31165
|
+
"default": "''",
|
|
31166
|
+
"fieldName": "text",
|
|
31167
|
+
"description": "The message"
|
|
31168
|
+
},
|
|
31169
|
+
{
|
|
31170
|
+
"name": "supporting-text",
|
|
31171
|
+
"type": {
|
|
31172
|
+
"text": "string"
|
|
31173
|
+
},
|
|
31174
|
+
"default": "''",
|
|
31175
|
+
"fieldName": "supportingText",
|
|
31176
|
+
"description": "A second line under the message"
|
|
31177
|
+
},
|
|
31178
|
+
{
|
|
31179
|
+
"name": "duration",
|
|
31180
|
+
"default": "DEFAULT_DURATION",
|
|
31181
|
+
"fieldName": "duration",
|
|
31182
|
+
"description": "Milliseconds before it leaves once it is front of the deck (default: 10000). `0` keeps it until dismissed, which is what `critical` does regardless."
|
|
31183
|
+
},
|
|
31184
|
+
{
|
|
31185
|
+
"name": "translations",
|
|
31186
|
+
"type": {
|
|
31187
|
+
"text": "Partial<T>"
|
|
31188
|
+
},
|
|
31189
|
+
"default": "{}",
|
|
31190
|
+
"fieldName": "translations",
|
|
31191
|
+
"inheritedFrom": {
|
|
31192
|
+
"name": "withTranslations",
|
|
31193
|
+
"module": "src/utilities/with-translations.ts"
|
|
31194
|
+
},
|
|
31195
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
31196
|
+
}
|
|
31197
|
+
],
|
|
31198
|
+
"mixins": [
|
|
31199
|
+
{
|
|
31200
|
+
"name": "withTranslations",
|
|
31201
|
+
"module": "/src/utilities/with-translations.js"
|
|
31202
|
+
}
|
|
31203
|
+
],
|
|
31204
|
+
"superclass": {
|
|
31205
|
+
"name": "LitElement",
|
|
31206
|
+
"package": "lit"
|
|
31207
|
+
},
|
|
31208
|
+
"tagName": "nldd-notification",
|
|
31209
|
+
"customElement": true,
|
|
31210
|
+
"slots": [
|
|
31211
|
+
{
|
|
31212
|
+
"name": "actions",
|
|
31213
|
+
"description": "At most 2 nldd-button elements, under the text. More than 2 is refused with a DEV warning: a message that needs three choices is a dialog."
|
|
31214
|
+
}
|
|
31215
|
+
]
|
|
31216
|
+
}
|
|
31217
|
+
],
|
|
31218
|
+
"exports": [
|
|
31219
|
+
{
|
|
31220
|
+
"kind": "js",
|
|
31221
|
+
"name": "NLDDNotification",
|
|
31222
|
+
"declaration": {
|
|
31223
|
+
"name": "NLDDNotification",
|
|
31224
|
+
"module": "src/components/status-and-feedback/notification/notification.ts"
|
|
31225
|
+
}
|
|
31226
|
+
},
|
|
31227
|
+
{
|
|
31228
|
+
"kind": "custom-element-definition",
|
|
31229
|
+
"name": "nldd-notification",
|
|
31230
|
+
"declaration": {
|
|
31231
|
+
"name": "NLDDNotification",
|
|
31232
|
+
"module": "src/components/status-and-feedback/notification/notification.ts"
|
|
31233
|
+
}
|
|
31234
|
+
}
|
|
31235
|
+
]
|
|
31236
|
+
},
|
|
30249
31237
|
{
|
|
30250
31238
|
"kind": "javascript-module",
|
|
30251
31239
|
"path": "src/components/status-and-feedback/progress-bar/progress-bar.ts",
|
|
@@ -31173,11 +32161,11 @@
|
|
|
31173
32161
|
"declarations": [
|
|
31174
32162
|
{
|
|
31175
32163
|
"kind": "class",
|
|
31176
|
-
"description": "
|
|
32164
|
+
"description": "One step in an `nldd-step-indicator`. The parent decides the status and the\nnumber; those live here as internal state rather than as public API, except\nfor `status`, which overrides what `current` derives.",
|
|
31177
32165
|
"name": "NLDDStepIndicatorItem",
|
|
31178
32166
|
"slots": [
|
|
31179
32167
|
{
|
|
31180
|
-
"description": "Label (
|
|
32168
|
+
"description": "Label (an alternative to `text`)",
|
|
31181
32169
|
"name": ""
|
|
31182
32170
|
}
|
|
31183
32171
|
],
|
|
@@ -31246,7 +32234,7 @@
|
|
|
31246
32234
|
"type": {
|
|
31247
32235
|
"text": "StepIndicatorStatus | undefined"
|
|
31248
32236
|
},
|
|
31249
|
-
"description": "`past` | `current` | `future`;
|
|
32237
|
+
"description": "`past` | `current` | `future`; overrides what the parent derives",
|
|
31250
32238
|
"name": "status",
|
|
31251
32239
|
"fieldName": "status"
|
|
31252
32240
|
},
|
|
@@ -31254,7 +32242,7 @@
|
|
|
31254
32242
|
"type": {
|
|
31255
32243
|
"text": "string"
|
|
31256
32244
|
},
|
|
31257
|
-
"description": "Label
|
|
32245
|
+
"description": "Label under the disc",
|
|
31258
32246
|
"name": "text",
|
|
31259
32247
|
"default": "''",
|
|
31260
32248
|
"fieldName": "text"
|
|
@@ -31263,7 +32251,7 @@
|
|
|
31263
32251
|
"type": {
|
|
31264
32252
|
"text": "string"
|
|
31265
32253
|
},
|
|
31266
|
-
"description": "
|
|
32254
|
+
"description": "Icon in the disc instead of the number or the check mark",
|
|
31267
32255
|
"name": "icon",
|
|
31268
32256
|
"default": "''",
|
|
31269
32257
|
"fieldName": "icon"
|
|
@@ -31272,7 +32260,7 @@
|
|
|
31272
32260
|
"type": {
|
|
31273
32261
|
"text": "string"
|
|
31274
32262
|
},
|
|
31275
|
-
"description": "
|
|
32263
|
+
"description": "Makes the step a link (back to a completed step, for instance)",
|
|
31276
32264
|
"name": "href",
|
|
31277
32265
|
"default": "''",
|
|
31278
32266
|
"fieldName": "href"
|
|
@@ -31296,7 +32284,7 @@
|
|
|
31296
32284
|
},
|
|
31297
32285
|
{
|
|
31298
32286
|
"kind": "class",
|
|
31299
|
-
"description": "
|
|
32287
|
+
"description": "Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. The parent holds the truth: `current` (1-based) derives the status of every child — `past` before it, `future` after. A child can override that with a `status` of its own, for flows that jump back or skip a step. Horizontal only. For steps under each other, build an `nldd-list` with an `nldd-timeline-track-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. Below the sm breakpoint (a container query, so measured on the component itself rather than on the viewport) it folds into one line of text plus a segmented bar. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. Accessibility: a `nav` with a label, holding a `role=\"list\"` with a `role=\"listitem\"` per step. The current step gets `aria-current=\"step\"`, the only notion WAI-ARIA has for this. \"Done\" and \"still to do\" do not exist as ARIA tokens and travel along as visually hidden text instead.",
|
|
31300
32288
|
"name": "NLDDStepIndicator",
|
|
31301
32289
|
"members": [
|
|
31302
32290
|
{
|
|
@@ -31365,7 +32353,7 @@
|
|
|
31365
32353
|
},
|
|
31366
32354
|
"default": "''",
|
|
31367
32355
|
"fieldName": "accessibleLabel",
|
|
31368
|
-
"description": "
|
|
32356
|
+
"description": "Name of the nav; defaults to the i18n value (\"Voortgang\")"
|
|
31369
32357
|
},
|
|
31370
32358
|
{
|
|
31371
32359
|
"name": "current",
|
|
@@ -31374,7 +32362,7 @@
|
|
|
31374
32362
|
},
|
|
31375
32363
|
"default": "1",
|
|
31376
32364
|
"fieldName": "current",
|
|
31377
|
-
"description": "1-based
|
|
32365
|
+
"description": "1-based number of the current step (default 1)"
|
|
31378
32366
|
},
|
|
31379
32367
|
{
|
|
31380
32368
|
"name": "translations",
|
|
@@ -31387,7 +32375,7 @@
|
|
|
31387
32375
|
"name": "withTranslations",
|
|
31388
32376
|
"module": "src/utilities/with-translations.ts"
|
|
31389
32377
|
},
|
|
31390
|
-
"description": "
|
|
32378
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
31391
32379
|
}
|
|
31392
32380
|
],
|
|
31393
32381
|
"mixins": [
|
|
@@ -31405,7 +32393,7 @@
|
|
|
31405
32393
|
"slots": [
|
|
31406
32394
|
{
|
|
31407
32395
|
"name": "",
|
|
31408
|
-
"description": "`nldd-step-indicator-item`
|
|
32396
|
+
"description": "`nldd-step-indicator-item` children"
|
|
31409
32397
|
}
|
|
31410
32398
|
]
|
|
31411
32399
|
}
|
|
@@ -31759,6 +32747,55 @@
|
|
|
31759
32747
|
}
|
|
31760
32748
|
]
|
|
31761
32749
|
},
|
|
32750
|
+
{
|
|
32751
|
+
"kind": "javascript-module",
|
|
32752
|
+
"path": "src/utilities/open-when-rendered.ts",
|
|
32753
|
+
"declarations": [
|
|
32754
|
+
{
|
|
32755
|
+
"kind": "function",
|
|
32756
|
+
"name": "openWhenRendered",
|
|
32757
|
+
"return": {
|
|
32758
|
+
"type": {
|
|
32759
|
+
"text": ""
|
|
32760
|
+
}
|
|
32761
|
+
},
|
|
32762
|
+
"parameters": [
|
|
32763
|
+
{
|
|
32764
|
+
"name": "host",
|
|
32765
|
+
"type": {
|
|
32766
|
+
"text": "LitElement"
|
|
32767
|
+
},
|
|
32768
|
+
"description": "The overlay element."
|
|
32769
|
+
},
|
|
32770
|
+
{
|
|
32771
|
+
"name": "getDialog",
|
|
32772
|
+
"type": {
|
|
32773
|
+
"text": "() => HTMLDialogElement | null"
|
|
32774
|
+
},
|
|
32775
|
+
"description": "Resolves the dialog from the shadow root."
|
|
32776
|
+
},
|
|
32777
|
+
{
|
|
32778
|
+
"name": "open",
|
|
32779
|
+
"type": {
|
|
32780
|
+
"text": "() => void"
|
|
32781
|
+
},
|
|
32782
|
+
"description": "Opens the overlay: the caller's own `show()`."
|
|
32783
|
+
}
|
|
32784
|
+
],
|
|
32785
|
+
"description": "Defers an overlay's `show()` until the element has rendered its `<dialog>`.\n\n`show()` needs a dialog in the shadow root to call `showModal()` on. A consumer\nthat opens an overlay in the same tick it is created — an overlay bound to\n`show=true` on a routed component, say — gets there first, and without this the\ncall would silently do nothing with nothing to retry it: the overlay stays shut\nfor good, which reads as a broken component rather than a race.\n\nRetried exactly once. If the dialog still is not there after the update, the\nelement was never rendered at all, and opening again would only queue another\nretry against the same missing dialog."
|
|
32786
|
+
}
|
|
32787
|
+
],
|
|
32788
|
+
"exports": [
|
|
32789
|
+
{
|
|
32790
|
+
"kind": "js",
|
|
32791
|
+
"name": "openWhenRendered",
|
|
32792
|
+
"declaration": {
|
|
32793
|
+
"name": "openWhenRendered",
|
|
32794
|
+
"module": "src/utilities/open-when-rendered.ts"
|
|
32795
|
+
}
|
|
32796
|
+
}
|
|
32797
|
+
]
|
|
32798
|
+
},
|
|
31762
32799
|
{
|
|
31763
32800
|
"kind": "javascript-module",
|
|
31764
32801
|
"path": "src/utilities/os.ts",
|
|
@@ -32372,7 +33409,7 @@
|
|
|
32372
33409
|
}
|
|
32373
33410
|
}
|
|
32374
33411
|
],
|
|
32375
|
-
"description": "A Lit attribute converter for a reflected
|
|
33412
|
+
"description": "A Lit attribute converter for a reflected property whose DEFAULT value should\nnot appear in the DOM. Works for an enum (a string union) and for a number.\n\nIt reflects any non-default value to the attribute (so `:host([prop=\"x\"])`\nstyling and framework property binding keep working), but maps the default to\n*no* attribute (`toAttribute` returns null), so the DOM isn't polluted with a\nredundant `prop=\"<default>\"` on every instance.\n\nPair it with `reflect: true`. The component's default styling must then live\non the bare `:host` (not `:host([prop=\"<default>\"])`), since a default-valued\nelement carries no attribute to select on.\n\nKnown edge: if markup writes the default *explicitly* (e.g. `<nldd-button\nsize=\"md\">`), `fromAttribute` resolves the property to the value it already\nholds, so Lit's default `hasChanged` sees no change, schedules no update, and\n`toAttribute` never runs to strip the attribute — so that one authored default\nattribute stays in the DOM. Visual behavior is unaffected (styling keys off the\nbare `:host`); it only matters to code matching `[prop=\"<default>\"]`, which\nshould read the property instead. Not worth a fragile `hasChanged` workaround."
|
|
32376
33413
|
}
|
|
32377
33414
|
],
|
|
32378
33415
|
"exports": [
|