@nldd/design-system 0.8.80 → 0.8.83
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 +1138 -71
- package/dist/components/actions/button/button.d.ts +5 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +8 -0
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -0
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +1 -1
- package/dist/components/actions/icon-button/icon-button.js +1 -1
- package/dist/components/actions/menu/menu.d.ts +25 -2
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +31 -8
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +7 -3
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +20 -0
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +54 -0
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/breakpoints-CkxsiRgH.js +10 -0
- package/dist/components/components.js +52643 -117
- package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +5 -1
- package/dist/components/content/avatar/avatar.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +78 -6
- 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 +63 -92
- 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 +44 -6
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +8 -2
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +17 -2
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +8 -0
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/text/text.d.ts +50 -0
- package/dist/components/content/text/text.d.ts.map +1 -0
- package/dist/components/content/text/text.js +81 -0
- package/dist/components/content/text/text.js.map +1 -0
- package/dist/components/content/text/text.styles.d.ts +2 -0
- package/dist/components/content/text/text.styles.d.ts.map +1 -0
- package/dist/components/content/text/text.styles.js +116 -0
- package/dist/components/content/text/text.styles.js.map +1 -0
- package/dist/components/content/text/text.template.d.ts +3 -0
- package/dist/components/content/text/text.template.d.ts.map +1 -0
- package/dist/components/content/text/text.template.js +7 -0
- package/dist/components/content/text/text.template.js.map +1 -0
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +9 -13
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/decorate-BKn10QQi.js +9 -0
- package/dist/components/dist-BYVOPNHp.js +381 -0
- package/dist/components/dist-Bq4xc7Bm.js +624 -0
- package/dist/components/dist-C0PiB1dr.js +870 -0
- package/dist/components/dist-C400RcFU.js +1498 -0
- package/dist/components/dist-CCg5Mso_.js +390 -0
- package/dist/components/dist-CJR_Rwhh.js +464 -0
- package/dist/components/dist-Ccw7ZfsU.js +18481 -0
- package/dist/components/dist-OBifyiJS.js +887 -0
- package/dist/components/dist-TpIL8G4G.js +1480 -0
- package/dist/components/dist-afrAoubg.js +1181 -0
- package/dist/components/dist-bO14jlsr.js +78 -0
- package/dist/components/forms/form-field/form-field.d.ts +59 -2
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +120 -35
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/gherkin-uCVRxsGf.js +108 -0
- package/dist/components/icon-C1Kikpol.js +841 -0
- package/dist/components/icon-button-BYy6hnAY.js +1676 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-modality-DhTeUxKi.js +43 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts +8 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +10 -0
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +9 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +11 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +3 -0
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +3 -0
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +8 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +36 -0
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +5 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +23 -20
- package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +6 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -0
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +7 -1
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +3 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +4 -1
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +29 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +44 -1
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +3 -0
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +3 -0
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +11 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +11 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +9 -0
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +12 -0
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +1 -0
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +9 -0
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +12 -0
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +1 -0
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +8 -0
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +10 -0
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +9 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +11 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +16 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +33 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +6 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +6 -0
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +16 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +26 -7
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +17 -0
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +22 -0
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +1 -1
- package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +3 -0
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +3 -0
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -0
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +3 -0
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +4 -1
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +30 -0
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +60 -0
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.js +3 -0
- package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +6 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +11 -0
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +7 -1
- package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +3 -0
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +4 -1
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +10 -0
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +14 -0
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +11 -0
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +16 -6
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +6 -0
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +13 -0
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +3 -3
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +3 -3
- 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 +3 -6
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +10 -3
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +60 -45
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +94 -80
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +94 -21
- 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 +275 -48
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +116 -34
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +5 -2
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +116 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -0
- package/dist/components/lists-and-tables/{list-item-action/list-item-action.js → list-item-segment/list-item-segment.js} +77 -52
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +179 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +3 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/{list-item-action/list-item-action.template.js → list-item-segment/list-item-segment.template.js} +5 -4
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -0
- package/dist/components/reflect-non-default-OLaK60rT.js +37 -0
- package/dist/components/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/components/shadow-resets-aG-rgyNQ.js +61 -0
- package/dist/components/shell-C61GCsJA.js +223 -0
- package/dist/components/status-and-feedback/badge/badge.d.ts +8 -2
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +17 -1
- 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 +35 -6
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +7 -0
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/toml-C2HBbPgG.js +59 -0
- package/dist/components/visibility-mixin-GxbwkBb1.js +104 -0
- package/dist/components/with-translations-DzAdFTK8.js +48 -0
- package/dist/css/variables.css +25 -1
- package/dist/nldd.min.js +2797 -2355
- package/dist/types/vue.d.ts +106 -48
- package/dist/utilities/implicit-submission.d.ts +31 -0
- package/dist/utilities/implicit-submission.d.ts.map +1 -0
- package/dist/utilities/implicit-submission.js +65 -0
- package/dist/utilities/implicit-submission.js.map +1 -0
- package/dist/utilities/owned-attribute.d.ts +19 -0
- package/dist/utilities/owned-attribute.d.ts.map +1 -0
- package/dist/utilities/owned-attribute.js +32 -0
- package/dist/utilities/owned-attribute.js.map +1 -0
- package/dist/utilities/scroll-mode-controller.d.ts +9 -1
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +10 -2
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/package.json +10 -6
- package/dist/components/gherkin-DhZlEZiy.js +0 -115
- package/dist/components/index-8pDDdMeW.js +0 -384
- package/dist/components/index-C7QocEcT.js +0 -81
- package/dist/components/index-CDz7-C9c.js +0 -177
- package/dist/components/index-CWQunWUb.js +0 -75039
- package/dist/components/index-CoY3JfIy.js +0 -688
- package/dist/components/index-DP9dl7P7.js +0 -703
- package/dist/components/index-DV_2YpaH.js +0 -405
- package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts +0 -108
- package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.js.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js +0 -145
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts +0 -3
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.js.map +0 -1
- package/dist/components/shell-BlsXDxCn.js +0 -222
- package/dist/components/toml-BOuWGMcf.js +0 -76
package/custom-elements.json
CHANGED
|
@@ -281,6 +281,17 @@
|
|
|
281
281
|
"attribute": "max-width",
|
|
282
282
|
"reflects": true
|
|
283
283
|
},
|
|
284
|
+
{
|
|
285
|
+
"kind": "field",
|
|
286
|
+
"name": "noTab",
|
|
287
|
+
"type": {
|
|
288
|
+
"text": "boolean"
|
|
289
|
+
},
|
|
290
|
+
"default": "false",
|
|
291
|
+
"description": "Take the button out of the tab order (`tabindex=\"-1\"`) — for a control owned\nby a roving container (an `nldd-list` sets it on the rows that are not the\ncurrent one) that manages focus itself. Still mouse- and script-focusable.",
|
|
292
|
+
"attribute": "no-tab",
|
|
293
|
+
"reflects": true
|
|
294
|
+
},
|
|
284
295
|
{
|
|
285
296
|
"kind": "field",
|
|
286
297
|
"name": "expandable",
|
|
@@ -552,6 +563,15 @@
|
|
|
552
563
|
"description": "Caps the width at this CSS length (e.g. '320px'). Combines with `width=\"full\"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis — a cap only means something if the content respects it.",
|
|
553
564
|
"fieldName": "maxWidth"
|
|
554
565
|
},
|
|
566
|
+
{
|
|
567
|
+
"name": "no-tab",
|
|
568
|
+
"type": {
|
|
569
|
+
"text": "boolean"
|
|
570
|
+
},
|
|
571
|
+
"default": "false",
|
|
572
|
+
"description": "Takes the button out of the tab order (tabindex=\"-1\"), for a control owned by a roving container (e.g. a button in a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable.",
|
|
573
|
+
"fieldName": "noTab"
|
|
574
|
+
},
|
|
555
575
|
{
|
|
556
576
|
"name": "expandable",
|
|
557
577
|
"type": {
|
|
@@ -1139,7 +1159,7 @@
|
|
|
1139
1159
|
"text": "boolean"
|
|
1140
1160
|
},
|
|
1141
1161
|
"default": "false",
|
|
1142
|
-
"description": "Takes the button out of the tab order (tabindex=\"-1\"), for a control owned by a roving container (
|
|
1162
|
+
"description": "Takes the button out of the tab order (tabindex=\"-1\"), for a control owned by a roving container (an nldd-token in nldd-token-field, a button in a row of an nldd-list) that manages focus itself. Still mouse- and script-focusable.",
|
|
1143
1163
|
"fieldName": "noTab"
|
|
1144
1164
|
},
|
|
1145
1165
|
{
|
|
@@ -1519,10 +1539,10 @@
|
|
|
1519
1539
|
"kind": "field",
|
|
1520
1540
|
"name": "menuVariant",
|
|
1521
1541
|
"type": {
|
|
1522
|
-
"text": "'menu' | 'listbox'"
|
|
1542
|
+
"text": "'menu' | 'listbox' | null"
|
|
1523
1543
|
},
|
|
1524
|
-
"default": "
|
|
1525
|
-
"description": "
|
|
1544
|
+
"default": "null",
|
|
1545
|
+
"description": "Which menu owns this item, set by that nldd-menu. Not part of the public API.\n\n`null` until one claims it, and an unclaimed item carries no menu role.\nA menu role is a promise about what is around you, so an item cannot make\nit on its own. `nldd-toolbar-item` holds exactly such an item: the\ndeclaration of what belongs in the overflow menu, which the toolbar clones\ninto the real menu when it collapses. The clone is claimed there and the\ndeclaration stays what it is."
|
|
1526
1546
|
},
|
|
1527
1547
|
{
|
|
1528
1548
|
"kind": "method",
|
|
@@ -3549,7 +3569,7 @@
|
|
|
3549
3569
|
},
|
|
3550
3570
|
{
|
|
3551
3571
|
"kind": "class",
|
|
3552
|
-
"description": "A customizable icon component that renders SVG icons from a predefined library. Icons are decorative by default: the host gets `aria-hidden=\"true\"` automatically. If you want the icon to be announced by assistive tech, set `aria-hidden=\"false\"` on the consumer side together with an `aria-label`. Sizing: the icon fills whatever sizes it — an `nldd-icon-cell`, a button, a menu item. `size=\"full\"` names that default explicitly. `size=\"inherit\"` makes it follow the surrounding text (1em), for an icon set inline in a sentence. Any spacer-aligned number (16–96) pins a fixed dimension. Reach for `inherit` rather than a global `nldd-icon { width: 1em }` rule in the consumer: such a rule wins over the component's own :host styling and so also shrinks the icons that a cell or button was already sizing correctly. Color: by default the icon inherits its parent's `color`. Set `color` to one of the functional semantics (`primary-content`, `secondary-content`, `accent`, `critical`, `warning`, `success`) or a rijkskleur (`lintblauw`, `paars`, `groen`, …). For
|
|
3572
|
+
"description": "A customizable icon component that renders SVG icons from a predefined library. Icons are decorative by default: the host gets `aria-hidden=\"true\"` automatically. If you want the icon to be announced by assistive tech, set `aria-hidden=\"false\"` on the consumer side together with an `aria-label`. Sizing: the icon fills whatever sizes it — an `nldd-icon-cell`, a button, a menu item. `size=\"full\"` names that default explicitly. `size=\"inherit\"` makes it follow the surrounding text (1em), for an icon set inline in a sentence. Any spacer-aligned number (16–96) pins a fixed dimension. Reach for `inherit` rather than a global `nldd-icon { width: 1em }` rule in the consumer: such a rule wins over the component's own :host styling and so also shrinks the icons that a cell or button was already sizing correctly. Color: by default the icon inherits its parent's `color`. Set `color` to one of the functional semantics (`primary-content`, `secondary-content`, `accent`, `critical`, `warning`, `success`) or a rijkskleur (`lintblauw`, `paars`, `groen`, …). For a color the design system cannot know — the jacket of a cable, a color someone picked — set `custom-color` to any CSS color.",
|
|
3553
3573
|
"name": "NLDDIcon",
|
|
3554
3574
|
"members": [
|
|
3555
3575
|
{
|
|
@@ -3580,6 +3600,17 @@
|
|
|
3580
3600
|
"default": "''",
|
|
3581
3601
|
"attribute": "color",
|
|
3582
3602
|
"reflects": true
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
"kind": "field",
|
|
3606
|
+
"name": "customColor",
|
|
3607
|
+
"type": {
|
|
3608
|
+
"text": "string"
|
|
3609
|
+
},
|
|
3610
|
+
"default": "''",
|
|
3611
|
+
"description": "Handed to the styles as a custom property rather than read from the\nattribute in CSS: `attr()` with a type is not available everywhere yet,\nand this keeps one code path.",
|
|
3612
|
+
"attribute": "custom-color",
|
|
3613
|
+
"reflects": true
|
|
3583
3614
|
}
|
|
3584
3615
|
],
|
|
3585
3616
|
"attributes": [
|
|
@@ -3609,6 +3640,15 @@
|
|
|
3609
3640
|
"name": "color",
|
|
3610
3641
|
"default": "''",
|
|
3611
3642
|
"fieldName": "color"
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"type": {
|
|
3646
|
+
"text": "string"
|
|
3647
|
+
},
|
|
3648
|
+
"description": "A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know. It wins over `color`.",
|
|
3649
|
+
"name": "custom-color",
|
|
3650
|
+
"default": "''",
|
|
3651
|
+
"fieldName": "customColor"
|
|
3612
3652
|
}
|
|
3613
3653
|
],
|
|
3614
3654
|
"superclass": {
|
|
@@ -4785,6 +4825,146 @@
|
|
|
4785
4825
|
}
|
|
4786
4826
|
]
|
|
4787
4827
|
},
|
|
4828
|
+
{
|
|
4829
|
+
"kind": "javascript-module",
|
|
4830
|
+
"path": "src/components/content/text/text.ts",
|
|
4831
|
+
"declarations": [
|
|
4832
|
+
{
|
|
4833
|
+
"kind": "class",
|
|
4834
|
+
"description": "One run of body text at a size from the type scale. It is what you reach for where an app would otherwise write a bare `<p>` and inherit whatever the page happens to set: a line under a title, a sentence in a panel, a caption. Every combination it offers exists as a token, so it cannot invent typography — it only names what the scale already has. The three axes are the same three the tokens carry: size, weight and line height. Not for headings, which is `nldd-title`, and not for a block of prose with its own rhythm, spacing and media widths, which is `nldd-rich-text`. This is one run of text and nothing around it. Color follows the context channel a list item, menu or table sets on its content, so text inside a row travels with that row as it is hovered or selected. Standalone that channel is unset and the semantic color answers.",
|
|
4835
|
+
"name": "NLDDText",
|
|
4836
|
+
"members": [
|
|
4837
|
+
{
|
|
4838
|
+
"kind": "field",
|
|
4839
|
+
"name": "size",
|
|
4840
|
+
"type": {
|
|
4841
|
+
"text": "Size"
|
|
4842
|
+
},
|
|
4843
|
+
"default": "'md'",
|
|
4844
|
+
"attribute": "size",
|
|
4845
|
+
"reflects": true
|
|
4846
|
+
},
|
|
4847
|
+
{
|
|
4848
|
+
"kind": "field",
|
|
4849
|
+
"name": "weight",
|
|
4850
|
+
"type": {
|
|
4851
|
+
"text": "Weight"
|
|
4852
|
+
},
|
|
4853
|
+
"default": "'regular'",
|
|
4854
|
+
"attribute": "weight",
|
|
4855
|
+
"reflects": true
|
|
4856
|
+
},
|
|
4857
|
+
{
|
|
4858
|
+
"kind": "field",
|
|
4859
|
+
"name": "lineHeight",
|
|
4860
|
+
"type": {
|
|
4861
|
+
"text": "LineHeight"
|
|
4862
|
+
},
|
|
4863
|
+
"default": "'snug'",
|
|
4864
|
+
"attribute": "line-height",
|
|
4865
|
+
"reflects": true
|
|
4866
|
+
},
|
|
4867
|
+
{
|
|
4868
|
+
"kind": "field",
|
|
4869
|
+
"name": "color",
|
|
4870
|
+
"type": {
|
|
4871
|
+
"text": "Color"
|
|
4872
|
+
},
|
|
4873
|
+
"default": "'default'",
|
|
4874
|
+
"attribute": "color",
|
|
4875
|
+
"reflects": true
|
|
4876
|
+
},
|
|
4877
|
+
{
|
|
4878
|
+
"kind": "field",
|
|
4879
|
+
"name": "horizontalAlignment",
|
|
4880
|
+
"type": {
|
|
4881
|
+
"text": "HorizontalAlignment"
|
|
4882
|
+
},
|
|
4883
|
+
"default": "'left'",
|
|
4884
|
+
"attribute": "horizontal-alignment",
|
|
4885
|
+
"reflects": true
|
|
4886
|
+
}
|
|
4887
|
+
],
|
|
4888
|
+
"attributes": [
|
|
4889
|
+
{
|
|
4890
|
+
"name": "size",
|
|
4891
|
+
"type": {
|
|
4892
|
+
"text": "Size"
|
|
4893
|
+
},
|
|
4894
|
+
"default": "'md'",
|
|
4895
|
+
"fieldName": "size",
|
|
4896
|
+
"description": "Text size on the body scale: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' (default: 'md')"
|
|
4897
|
+
},
|
|
4898
|
+
{
|
|
4899
|
+
"name": "weight",
|
|
4900
|
+
"type": {
|
|
4901
|
+
"text": "Weight"
|
|
4902
|
+
},
|
|
4903
|
+
"default": "'regular'",
|
|
4904
|
+
"fieldName": "weight",
|
|
4905
|
+
"description": "Font weight: 'regular' | 'medium' | 'bold' (default: 'regular'). With 'bold' a slotted `<strong>` no longer stands out: there is nothing bolder in the scale."
|
|
4906
|
+
},
|
|
4907
|
+
{
|
|
4908
|
+
"name": "line-height",
|
|
4909
|
+
"type": {
|
|
4910
|
+
"text": "LineHeight"
|
|
4911
|
+
},
|
|
4912
|
+
"default": "'snug'",
|
|
4913
|
+
"fieldName": "lineHeight",
|
|
4914
|
+
"description": "Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug')"
|
|
4915
|
+
},
|
|
4916
|
+
{
|
|
4917
|
+
"name": "color",
|
|
4918
|
+
"type": {
|
|
4919
|
+
"text": "Color"
|
|
4920
|
+
},
|
|
4921
|
+
"default": "'default'",
|
|
4922
|
+
"fieldName": "color",
|
|
4923
|
+
"description": "Text color: 'default' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical' | 'inherit' (default: 'default'). 'default' and 'secondary' follow the surrounding content channel; 'inherit' takes the color it inherits, for text on a painted surface."
|
|
4924
|
+
},
|
|
4925
|
+
{
|
|
4926
|
+
"name": "horizontal-alignment",
|
|
4927
|
+
"type": {
|
|
4928
|
+
"text": "HorizontalAlignment"
|
|
4929
|
+
},
|
|
4930
|
+
"default": "'left'",
|
|
4931
|
+
"fieldName": "horizontalAlignment",
|
|
4932
|
+
"description": "Alignment of the text within the block: 'left' | 'center' | 'right' (default: 'left'). Aligns the words; `horizontal-alignment` on nldd-container moves the box."
|
|
4933
|
+
}
|
|
4934
|
+
],
|
|
4935
|
+
"superclass": {
|
|
4936
|
+
"name": "LitElement",
|
|
4937
|
+
"package": "lit"
|
|
4938
|
+
},
|
|
4939
|
+
"tagName": "nldd-text",
|
|
4940
|
+
"customElement": true,
|
|
4941
|
+
"slots": [
|
|
4942
|
+
{
|
|
4943
|
+
"name": "",
|
|
4944
|
+
"description": "The text. Inline elements work as they are: `<strong>` and `<b>` take the bold weight from the scale, `<a>`, `<em>` and components such as `nldd-tag` are left alone."
|
|
4945
|
+
}
|
|
4946
|
+
]
|
|
4947
|
+
}
|
|
4948
|
+
],
|
|
4949
|
+
"exports": [
|
|
4950
|
+
{
|
|
4951
|
+
"kind": "js",
|
|
4952
|
+
"name": "NLDDText",
|
|
4953
|
+
"declaration": {
|
|
4954
|
+
"name": "NLDDText",
|
|
4955
|
+
"module": "src/components/content/text/text.ts"
|
|
4956
|
+
}
|
|
4957
|
+
},
|
|
4958
|
+
{
|
|
4959
|
+
"kind": "custom-element-definition",
|
|
4960
|
+
"name": "nldd-text",
|
|
4961
|
+
"declaration": {
|
|
4962
|
+
"name": "NLDDText",
|
|
4963
|
+
"module": "src/components/content/text/text.ts"
|
|
4964
|
+
}
|
|
4965
|
+
}
|
|
4966
|
+
]
|
|
4967
|
+
},
|
|
4788
4968
|
{
|
|
4789
4969
|
"kind": "javascript-module",
|
|
4790
4970
|
"path": "src/components/content/title/title.ts",
|
|
@@ -5773,6 +5953,14 @@
|
|
|
5773
5953
|
"module": "./content/tag/tag.js"
|
|
5774
5954
|
}
|
|
5775
5955
|
},
|
|
5956
|
+
{
|
|
5957
|
+
"kind": "js",
|
|
5958
|
+
"name": "NLDDText",
|
|
5959
|
+
"declaration": {
|
|
5960
|
+
"name": "NLDDText",
|
|
5961
|
+
"module": "./content/text/text.js"
|
|
5962
|
+
}
|
|
5963
|
+
},
|
|
5776
5964
|
{
|
|
5777
5965
|
"kind": "js",
|
|
5778
5966
|
"name": "NLDDTitle",
|
|
@@ -6271,10 +6459,10 @@
|
|
|
6271
6459
|
},
|
|
6272
6460
|
{
|
|
6273
6461
|
"kind": "js",
|
|
6274
|
-
"name": "
|
|
6462
|
+
"name": "NLDDListItemSegment",
|
|
6275
6463
|
"declaration": {
|
|
6276
|
-
"name": "
|
|
6277
|
-
"module": "./lists-and-tables/list-item-
|
|
6464
|
+
"name": "NLDDListItemSegment",
|
|
6465
|
+
"module": "./lists-and-tables/list-item-segment/list-item-segment.js"
|
|
6278
6466
|
}
|
|
6279
6467
|
},
|
|
6280
6468
|
{
|
|
@@ -6568,6 +6756,16 @@
|
|
|
6568
6756
|
"description": "A checkbox with an inline label for use in forms. Form-associated: participates in native form submission under `name` with `value` when checked (the inner nldd-checkbox sits in the shadow root and never joins the consumer's form; the field submits on its behalf).",
|
|
6569
6757
|
"name": "NLDDCheckboxField",
|
|
6570
6758
|
"members": [
|
|
6759
|
+
{
|
|
6760
|
+
"kind": "field",
|
|
6761
|
+
"name": "isFormInput",
|
|
6762
|
+
"type": {
|
|
6763
|
+
"text": "boolean"
|
|
6764
|
+
},
|
|
6765
|
+
"static": true,
|
|
6766
|
+
"default": "true",
|
|
6767
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
6768
|
+
},
|
|
6571
6769
|
{
|
|
6572
6770
|
"kind": "field",
|
|
6573
6771
|
"name": "checked",
|
|
@@ -6667,6 +6865,25 @@
|
|
|
6667
6865
|
}
|
|
6668
6866
|
]
|
|
6669
6867
|
},
|
|
6868
|
+
{
|
|
6869
|
+
"kind": "method",
|
|
6870
|
+
"name": "focus",
|
|
6871
|
+
"return": {
|
|
6872
|
+
"type": {
|
|
6873
|
+
"text": "void"
|
|
6874
|
+
}
|
|
6875
|
+
},
|
|
6876
|
+
"parameters": [
|
|
6877
|
+
{
|
|
6878
|
+
"name": "options",
|
|
6879
|
+
"optional": true,
|
|
6880
|
+
"type": {
|
|
6881
|
+
"text": "FocusOptions"
|
|
6882
|
+
}
|
|
6883
|
+
}
|
|
6884
|
+
],
|
|
6885
|
+
"description": "Delegates focus to the inner `<nldd-checkbox>`, which in turn focuses its\nnative input. Lets consumers call `checkboxFieldEl.focus()` without\nreaching into shadow DOM."
|
|
6886
|
+
},
|
|
6670
6887
|
{
|
|
6671
6888
|
"kind": "field",
|
|
6672
6889
|
"name": "formAssociated",
|
|
@@ -6843,6 +7060,16 @@
|
|
|
6843
7060
|
"description": "",
|
|
6844
7061
|
"name": "NLDDCheckbox",
|
|
6845
7062
|
"members": [
|
|
7063
|
+
{
|
|
7064
|
+
"kind": "field",
|
|
7065
|
+
"name": "isFormInput",
|
|
7066
|
+
"type": {
|
|
7067
|
+
"text": "boolean"
|
|
7068
|
+
},
|
|
7069
|
+
"static": true,
|
|
7070
|
+
"default": "true",
|
|
7071
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
7072
|
+
},
|
|
6846
7073
|
{
|
|
6847
7074
|
"kind": "field",
|
|
6848
7075
|
"name": "checked",
|
|
@@ -6961,6 +7188,25 @@
|
|
|
6961
7188
|
}
|
|
6962
7189
|
}
|
|
6963
7190
|
},
|
|
7191
|
+
{
|
|
7192
|
+
"kind": "method",
|
|
7193
|
+
"name": "focus",
|
|
7194
|
+
"return": {
|
|
7195
|
+
"type": {
|
|
7196
|
+
"text": "void"
|
|
7197
|
+
}
|
|
7198
|
+
},
|
|
7199
|
+
"parameters": [
|
|
7200
|
+
{
|
|
7201
|
+
"name": "options",
|
|
7202
|
+
"optional": true,
|
|
7203
|
+
"type": {
|
|
7204
|
+
"text": "FocusOptions"
|
|
7205
|
+
}
|
|
7206
|
+
}
|
|
7207
|
+
],
|
|
7208
|
+
"description": "Delegates focus to the inner native checkbox `<input>`, so consumers can\ncall `checkboxEl.focus()` without reaching into shadow DOM."
|
|
7209
|
+
},
|
|
6964
7210
|
{
|
|
6965
7211
|
"kind": "field",
|
|
6966
7212
|
"name": "formAssociated",
|
|
@@ -7155,6 +7401,16 @@
|
|
|
7155
7401
|
"static": true,
|
|
7156
7402
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
7157
7403
|
},
|
|
7404
|
+
{
|
|
7405
|
+
"kind": "field",
|
|
7406
|
+
"name": "isFormInput",
|
|
7407
|
+
"type": {
|
|
7408
|
+
"text": "boolean"
|
|
7409
|
+
},
|
|
7410
|
+
"static": true,
|
|
7411
|
+
"default": "true",
|
|
7412
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
7413
|
+
},
|
|
7158
7414
|
{
|
|
7159
7415
|
"kind": "field",
|
|
7160
7416
|
"name": "value",
|
|
@@ -7583,6 +7839,26 @@
|
|
|
7583
7839
|
"description": "A text input with autocomplete dropdown via nldd-menu. Add a slotted nldd-menu with nldd-menu-item children to provide options. The slotted nldd-menu keeps its default focus behavior (menu container receives focus) so that typing keeps focus on the input. The picker button moves focus to the menu explicitly on activation. Note: Only nldd-menu-item type=\"button\" is supported. Radio and checkbox types are not supported in this context.",
|
|
7584
7840
|
"name": "NLDDComboBox",
|
|
7585
7841
|
"members": [
|
|
7842
|
+
{
|
|
7843
|
+
"kind": "field",
|
|
7844
|
+
"name": "isFormInput",
|
|
7845
|
+
"type": {
|
|
7846
|
+
"text": "boolean"
|
|
7847
|
+
},
|
|
7848
|
+
"static": true,
|
|
7849
|
+
"default": "true",
|
|
7850
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
7851
|
+
},
|
|
7852
|
+
{
|
|
7853
|
+
"kind": "field",
|
|
7854
|
+
"name": "blocksImplicitSubmission",
|
|
7855
|
+
"type": {
|
|
7856
|
+
"text": "boolean"
|
|
7857
|
+
},
|
|
7858
|
+
"static": true,
|
|
7859
|
+
"default": "true",
|
|
7860
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
7861
|
+
},
|
|
7586
7862
|
{
|
|
7587
7863
|
"kind": "field",
|
|
7588
7864
|
"name": "value",
|
|
@@ -7652,6 +7928,16 @@
|
|
|
7652
7928
|
"attribute": "disabled",
|
|
7653
7929
|
"reflects": true
|
|
7654
7930
|
},
|
|
7931
|
+
{
|
|
7932
|
+
"kind": "field",
|
|
7933
|
+
"name": "readonly",
|
|
7934
|
+
"type": {
|
|
7935
|
+
"text": "boolean"
|
|
7936
|
+
},
|
|
7937
|
+
"default": "false",
|
|
7938
|
+
"attribute": "readonly",
|
|
7939
|
+
"reflects": true
|
|
7940
|
+
},
|
|
7655
7941
|
{
|
|
7656
7942
|
"kind": "field",
|
|
7657
7943
|
"name": "allowCustom",
|
|
@@ -7937,6 +8223,15 @@
|
|
|
7937
8223
|
"fieldName": "disabled",
|
|
7938
8224
|
"description": "Disabled state"
|
|
7939
8225
|
},
|
|
8226
|
+
{
|
|
8227
|
+
"name": "readonly",
|
|
8228
|
+
"type": {
|
|
8229
|
+
"text": "boolean"
|
|
8230
|
+
},
|
|
8231
|
+
"default": "false",
|
|
8232
|
+
"fieldName": "readonly",
|
|
8233
|
+
"description": "Read-only state: the value stays readable, selectable and in the tab order, but the menu does not open and there is nothing to clear. The input drops its combobox role and the aria that goes with it, so assistive technology is not told about a list it cannot open. Use this where the value belongs to the record rather than to the form, e.g. the product an asset is an instance of."
|
|
8234
|
+
},
|
|
7940
8235
|
{
|
|
7941
8236
|
"name": "allow-custom",
|
|
7942
8237
|
"type": {
|
|
@@ -8067,6 +8362,26 @@
|
|
|
8067
8362
|
"static": true,
|
|
8068
8363
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
8069
8364
|
},
|
|
8365
|
+
{
|
|
8366
|
+
"kind": "field",
|
|
8367
|
+
"name": "isFormInput",
|
|
8368
|
+
"type": {
|
|
8369
|
+
"text": "boolean"
|
|
8370
|
+
},
|
|
8371
|
+
"static": true,
|
|
8372
|
+
"default": "true",
|
|
8373
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
8374
|
+
},
|
|
8375
|
+
{
|
|
8376
|
+
"kind": "field",
|
|
8377
|
+
"name": "blocksImplicitSubmission",
|
|
8378
|
+
"type": {
|
|
8379
|
+
"text": "boolean"
|
|
8380
|
+
},
|
|
8381
|
+
"static": true,
|
|
8382
|
+
"default": "true",
|
|
8383
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
8384
|
+
},
|
|
8070
8385
|
{
|
|
8071
8386
|
"kind": "field",
|
|
8072
8387
|
"name": "size",
|
|
@@ -8595,6 +8910,16 @@
|
|
|
8595
8910
|
"description": "Een kalender waarin een datum of een periode wordt gekozen. Het component is zelfstandig bruikbaar - inline op een pagina, in een filterpaneel - en zit ook in de popover van nldd-date-field. Waarden zijn altijd ISO (jjjj-mm-dd). Met `range` kiest de gebruiker in twee stappen een begin- en einddatum.",
|
|
8596
8911
|
"name": "NLDDDatePicker",
|
|
8597
8912
|
"members": [
|
|
8913
|
+
{
|
|
8914
|
+
"kind": "field",
|
|
8915
|
+
"name": "isFormInput",
|
|
8916
|
+
"type": {
|
|
8917
|
+
"text": "boolean"
|
|
8918
|
+
},
|
|
8919
|
+
"static": true,
|
|
8920
|
+
"default": "true",
|
|
8921
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
8922
|
+
},
|
|
8598
8923
|
{
|
|
8599
8924
|
"kind": "field",
|
|
8600
8925
|
"name": "value",
|
|
@@ -8887,6 +9212,16 @@
|
|
|
8887
9212
|
"description": "A visual wrapper around a native `<select>` element. The consumer provides a native `<select>` as a slotted child — this way the browser retains full control over form submission, accessibility and keyboard navigation, including `<optgroup>`, `data-*` attributes and dynamic changes to options.",
|
|
8888
9213
|
"name": "NLDDDropdown",
|
|
8889
9214
|
"members": [
|
|
9215
|
+
{
|
|
9216
|
+
"kind": "field",
|
|
9217
|
+
"name": "isFormInput",
|
|
9218
|
+
"type": {
|
|
9219
|
+
"text": "boolean"
|
|
9220
|
+
},
|
|
9221
|
+
"static": true,
|
|
9222
|
+
"default": "true",
|
|
9223
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
9224
|
+
},
|
|
8890
9225
|
{
|
|
8891
9226
|
"kind": "field",
|
|
8892
9227
|
"name": "size",
|
|
@@ -8947,6 +9282,35 @@
|
|
|
8947
9282
|
"description": "Optional fixed width (any CSS length). When unset, the field stretches to fill its container.",
|
|
8948
9283
|
"attribute": "width",
|
|
8949
9284
|
"reflects": true
|
|
9285
|
+
},
|
|
9286
|
+
{
|
|
9287
|
+
"kind": "field",
|
|
9288
|
+
"name": "accessibleLabel",
|
|
9289
|
+
"type": {
|
|
9290
|
+
"text": "string"
|
|
9291
|
+
},
|
|
9292
|
+
"default": "''",
|
|
9293
|
+
"description": "Accessible name, forwarded as aria-label to the slotted `<select>`. The\nwrapper is not the control, so a name on the wrapper reaches nobody. Leave\nit empty and name the `<select>` yourself if you prefer.",
|
|
9294
|
+
"attribute": "accessible-label"
|
|
9295
|
+
},
|
|
9296
|
+
{
|
|
9297
|
+
"kind": "method",
|
|
9298
|
+
"name": "focus",
|
|
9299
|
+
"return": {
|
|
9300
|
+
"type": {
|
|
9301
|
+
"text": "void"
|
|
9302
|
+
}
|
|
9303
|
+
},
|
|
9304
|
+
"parameters": [
|
|
9305
|
+
{
|
|
9306
|
+
"name": "options",
|
|
9307
|
+
"optional": true,
|
|
9308
|
+
"type": {
|
|
9309
|
+
"text": "FocusOptions"
|
|
9310
|
+
}
|
|
9311
|
+
}
|
|
9312
|
+
],
|
|
9313
|
+
"description": "Delegates focus to the slotted `<select>`. The wrapper itself is not\nfocusable, so without this a label pointing at the dropdown has nowhere\nto send focus."
|
|
8950
9314
|
}
|
|
8951
9315
|
],
|
|
8952
9316
|
"attributes": [
|
|
@@ -9003,6 +9367,15 @@
|
|
|
9003
9367
|
"default": "''",
|
|
9004
9368
|
"description": "Optional fixed width (any CSS length, e.g. \"240px\"). Default: stretches to fill container.",
|
|
9005
9369
|
"fieldName": "width"
|
|
9370
|
+
},
|
|
9371
|
+
{
|
|
9372
|
+
"name": "accessible-label",
|
|
9373
|
+
"type": {
|
|
9374
|
+
"text": "string"
|
|
9375
|
+
},
|
|
9376
|
+
"default": "''",
|
|
9377
|
+
"description": "Accessible name, forwarded as aria-label to the slotted select",
|
|
9378
|
+
"fieldName": "accessibleLabel"
|
|
9006
9379
|
}
|
|
9007
9380
|
],
|
|
9008
9381
|
"superclass": {
|
|
@@ -9053,6 +9426,16 @@
|
|
|
9053
9426
|
"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
9427
|
"name": "NLDDFileField",
|
|
9055
9428
|
"members": [
|
|
9429
|
+
{
|
|
9430
|
+
"kind": "field",
|
|
9431
|
+
"name": "isFormInput",
|
|
9432
|
+
"type": {
|
|
9433
|
+
"text": "boolean"
|
|
9434
|
+
},
|
|
9435
|
+
"static": true,
|
|
9436
|
+
"default": "true",
|
|
9437
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
9438
|
+
},
|
|
9056
9439
|
{
|
|
9057
9440
|
"kind": "field",
|
|
9058
9441
|
"name": "size",
|
|
@@ -9459,6 +9842,16 @@
|
|
|
9459
9842
|
"static": true,
|
|
9460
9843
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
9461
9844
|
},
|
|
9845
|
+
{
|
|
9846
|
+
"kind": "field",
|
|
9847
|
+
"name": "isFormInput",
|
|
9848
|
+
"type": {
|
|
9849
|
+
"text": "boolean"
|
|
9850
|
+
},
|
|
9851
|
+
"static": true,
|
|
9852
|
+
"default": "true",
|
|
9853
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
9854
|
+
},
|
|
9462
9855
|
{
|
|
9463
9856
|
"kind": "field",
|
|
9464
9857
|
"name": "size",
|
|
@@ -9566,6 +9959,26 @@
|
|
|
9566
9959
|
"default": "''",
|
|
9567
9960
|
"attribute": "autocomplete"
|
|
9568
9961
|
},
|
|
9962
|
+
{
|
|
9963
|
+
"kind": "field",
|
|
9964
|
+
"name": "keyboard",
|
|
9965
|
+
"type": {
|
|
9966
|
+
"text": "Keyboard | undefined"
|
|
9967
|
+
},
|
|
9968
|
+
"description": "Which on-screen keyboard to raise, forwarded as `inputmode`.",
|
|
9969
|
+
"attribute": "keyboard",
|
|
9970
|
+
"reflects": true
|
|
9971
|
+
},
|
|
9972
|
+
{
|
|
9973
|
+
"kind": "field",
|
|
9974
|
+
"name": "enterKey",
|
|
9975
|
+
"type": {
|
|
9976
|
+
"text": "EnterKey | undefined"
|
|
9977
|
+
},
|
|
9978
|
+
"description": "What the Enter key says, forwarded as `enterkeyhint`.",
|
|
9979
|
+
"attribute": "enter-key",
|
|
9980
|
+
"reflects": true
|
|
9981
|
+
},
|
|
9569
9982
|
{
|
|
9570
9983
|
"kind": "field",
|
|
9571
9984
|
"name": "rows",
|
|
@@ -9847,6 +10260,22 @@
|
|
|
9847
10260
|
"fieldName": "autocomplete",
|
|
9848
10261
|
"description": "Autocomplete hint"
|
|
9849
10262
|
},
|
|
10263
|
+
{
|
|
10264
|
+
"name": "keyboard",
|
|
10265
|
+
"type": {
|
|
10266
|
+
"text": "Keyboard | undefined"
|
|
10267
|
+
},
|
|
10268
|
+
"description": "Which virtual keyboard a phone or tablet raises, forwarded as `inputmode`: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'. It changes nothing about what the field accepts, and nothing at all on a desktop.",
|
|
10269
|
+
"fieldName": "keyboard"
|
|
10270
|
+
},
|
|
10271
|
+
{
|
|
10272
|
+
"name": "enter-key",
|
|
10273
|
+
"type": {
|
|
10274
|
+
"text": "EnterKey | undefined"
|
|
10275
|
+
},
|
|
10276
|
+
"description": "What the Enter key of the virtual keyboard says, forwarded as `enterkeyhint`: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'. In a field where Enter starts a new line, leave it alone.",
|
|
10277
|
+
"fieldName": "enterKey"
|
|
10278
|
+
},
|
|
9850
10279
|
{
|
|
9851
10280
|
"name": "rows",
|
|
9852
10281
|
"type": {
|
|
@@ -9917,6 +10346,22 @@
|
|
|
9917
10346
|
}
|
|
9918
10347
|
],
|
|
9919
10348
|
"exports": [
|
|
10349
|
+
{
|
|
10350
|
+
"kind": "js",
|
|
10351
|
+
"name": "Keyboard",
|
|
10352
|
+
"declaration": {
|
|
10353
|
+
"name": "Keyboard",
|
|
10354
|
+
"module": "../text-field/text-field.js"
|
|
10355
|
+
}
|
|
10356
|
+
},
|
|
10357
|
+
{
|
|
10358
|
+
"kind": "js",
|
|
10359
|
+
"name": "EnterKey",
|
|
10360
|
+
"declaration": {
|
|
10361
|
+
"name": "EnterKey",
|
|
10362
|
+
"module": "../text-field/text-field.js"
|
|
10363
|
+
}
|
|
10364
|
+
},
|
|
9920
10365
|
{
|
|
9921
10366
|
"kind": "js",
|
|
9922
10367
|
"name": "NLDDMultiLineTextField",
|
|
@@ -9944,6 +10389,26 @@
|
|
|
9944
10389
|
"description": "A numeric input field with decrement and increment buttons.",
|
|
9945
10390
|
"name": "NLDDNumberField",
|
|
9946
10391
|
"members": [
|
|
10392
|
+
{
|
|
10393
|
+
"kind": "field",
|
|
10394
|
+
"name": "isFormInput",
|
|
10395
|
+
"type": {
|
|
10396
|
+
"text": "boolean"
|
|
10397
|
+
},
|
|
10398
|
+
"static": true,
|
|
10399
|
+
"default": "true",
|
|
10400
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
10401
|
+
},
|
|
10402
|
+
{
|
|
10403
|
+
"kind": "field",
|
|
10404
|
+
"name": "blocksImplicitSubmission",
|
|
10405
|
+
"type": {
|
|
10406
|
+
"text": "boolean"
|
|
10407
|
+
},
|
|
10408
|
+
"static": true,
|
|
10409
|
+
"default": "true",
|
|
10410
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
10411
|
+
},
|
|
9947
10412
|
{
|
|
9948
10413
|
"kind": "field",
|
|
9949
10414
|
"name": "value",
|
|
@@ -10338,6 +10803,26 @@
|
|
|
10338
10803
|
"static": true,
|
|
10339
10804
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
10340
10805
|
},
|
|
10806
|
+
{
|
|
10807
|
+
"kind": "field",
|
|
10808
|
+
"name": "isFormInput",
|
|
10809
|
+
"type": {
|
|
10810
|
+
"text": "boolean"
|
|
10811
|
+
},
|
|
10812
|
+
"static": true,
|
|
10813
|
+
"default": "true",
|
|
10814
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
10815
|
+
},
|
|
10816
|
+
{
|
|
10817
|
+
"kind": "field",
|
|
10818
|
+
"name": "blocksImplicitSubmission",
|
|
10819
|
+
"type": {
|
|
10820
|
+
"text": "boolean"
|
|
10821
|
+
},
|
|
10822
|
+
"static": true,
|
|
10823
|
+
"default": "true",
|
|
10824
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
10825
|
+
},
|
|
10341
10826
|
{
|
|
10342
10827
|
"kind": "field",
|
|
10343
10828
|
"name": "size",
|
|
@@ -10882,6 +11367,16 @@
|
|
|
10882
11367
|
"description": "A radio button with an inline label. Use inside nldd-radio-button-group for keyboard navigation and group semantics. The group sets the name. Form-associated: the checked field submits its `value` under `name` (the inner nldd-radio-button sits in the shadow root and never joins the consumer's form; the field submits on its behalf). Unchecking siblings is the group's job, so exactly one value per group reaches the form.",
|
|
10883
11368
|
"name": "NLDDRadioButtonField",
|
|
10884
11369
|
"members": [
|
|
11370
|
+
{
|
|
11371
|
+
"kind": "field",
|
|
11372
|
+
"name": "isFormInput",
|
|
11373
|
+
"type": {
|
|
11374
|
+
"text": "boolean"
|
|
11375
|
+
},
|
|
11376
|
+
"static": true,
|
|
11377
|
+
"default": "true",
|
|
11378
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
11379
|
+
},
|
|
10885
11380
|
{
|
|
10886
11381
|
"kind": "field",
|
|
10887
11382
|
"name": "checked",
|
|
@@ -10981,6 +11476,25 @@
|
|
|
10981
11476
|
}
|
|
10982
11477
|
]
|
|
10983
11478
|
},
|
|
11479
|
+
{
|
|
11480
|
+
"kind": "method",
|
|
11481
|
+
"name": "focus",
|
|
11482
|
+
"return": {
|
|
11483
|
+
"type": {
|
|
11484
|
+
"text": "void"
|
|
11485
|
+
}
|
|
11486
|
+
},
|
|
11487
|
+
"parameters": [
|
|
11488
|
+
{
|
|
11489
|
+
"name": "options",
|
|
11490
|
+
"optional": true,
|
|
11491
|
+
"type": {
|
|
11492
|
+
"text": "FocusOptions"
|
|
11493
|
+
}
|
|
11494
|
+
}
|
|
11495
|
+
],
|
|
11496
|
+
"description": "Delegates focus to the inner `<nldd-radio-button>`, which in turn focuses\nits native input. Lets consumers call `radioFieldEl.focus()` without\nreaching into shadow DOM."
|
|
11497
|
+
},
|
|
10984
11498
|
{
|
|
10985
11499
|
"kind": "field",
|
|
10986
11500
|
"name": "formAssociated",
|
|
@@ -11157,6 +11671,16 @@
|
|
|
11157
11671
|
"description": "Groups nldd-radio-button-field elements, handles keyboard navigation, and forwards name and disabled state to all child fields. Use inside nldd-form-field which provides the group label.",
|
|
11158
11672
|
"name": "NLDDRadioButtonGroup",
|
|
11159
11673
|
"members": [
|
|
11674
|
+
{
|
|
11675
|
+
"kind": "field",
|
|
11676
|
+
"name": "isFormInput",
|
|
11677
|
+
"type": {
|
|
11678
|
+
"text": "boolean"
|
|
11679
|
+
},
|
|
11680
|
+
"static": true,
|
|
11681
|
+
"default": "true",
|
|
11682
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
11683
|
+
},
|
|
11160
11684
|
{
|
|
11161
11685
|
"kind": "field",
|
|
11162
11686
|
"name": "name",
|
|
@@ -11186,6 +11710,16 @@
|
|
|
11186
11710
|
"attribute": "required",
|
|
11187
11711
|
"reflects": true
|
|
11188
11712
|
},
|
|
11713
|
+
{
|
|
11714
|
+
"kind": "field",
|
|
11715
|
+
"name": "accessibleLabel",
|
|
11716
|
+
"type": {
|
|
11717
|
+
"text": "string"
|
|
11718
|
+
},
|
|
11719
|
+
"default": "''",
|
|
11720
|
+
"description": "Accessible name forwarded as aria-label to the group host.",
|
|
11721
|
+
"attribute": "accessible-label"
|
|
11722
|
+
},
|
|
11189
11723
|
{
|
|
11190
11724
|
"kind": "field",
|
|
11191
11725
|
"name": "accessibleLabeledBy",
|
|
@@ -11194,6 +11728,25 @@
|
|
|
11194
11728
|
},
|
|
11195
11729
|
"default": "''",
|
|
11196
11730
|
"attribute": "accessible-labeled-by"
|
|
11731
|
+
},
|
|
11732
|
+
{
|
|
11733
|
+
"kind": "method",
|
|
11734
|
+
"name": "focus",
|
|
11735
|
+
"return": {
|
|
11736
|
+
"type": {
|
|
11737
|
+
"text": "void"
|
|
11738
|
+
}
|
|
11739
|
+
},
|
|
11740
|
+
"parameters": [
|
|
11741
|
+
{
|
|
11742
|
+
"name": "options",
|
|
11743
|
+
"optional": true,
|
|
11744
|
+
"type": {
|
|
11745
|
+
"text": "FocusOptions"
|
|
11746
|
+
}
|
|
11747
|
+
}
|
|
11748
|
+
],
|
|
11749
|
+
"description": "Delegates focus to the checked option, or to the first enabled one when\nnothing is checked. That is where the keyboard puts focus when tabbing\ninto a radio group, so a label pointing at the group lands in the same\nplace."
|
|
11197
11750
|
}
|
|
11198
11751
|
],
|
|
11199
11752
|
"attributes": [
|
|
@@ -11224,6 +11777,15 @@
|
|
|
11224
11777
|
"fieldName": "required",
|
|
11225
11778
|
"description": "Marks the group as required"
|
|
11226
11779
|
},
|
|
11780
|
+
{
|
|
11781
|
+
"name": "accessible-label",
|
|
11782
|
+
"type": {
|
|
11783
|
+
"text": "string"
|
|
11784
|
+
},
|
|
11785
|
+
"default": "''",
|
|
11786
|
+
"description": "Accessible name for the group, set as aria-label on the group",
|
|
11787
|
+
"fieldName": "accessibleLabel"
|
|
11788
|
+
},
|
|
11227
11789
|
{
|
|
11228
11790
|
"name": "accessible-labeled-by",
|
|
11229
11791
|
"type": {
|
|
@@ -11282,6 +11844,16 @@
|
|
|
11282
11844
|
"description": "WAI-ARIA: Wrap radio buttons in a <fieldset>/<legend> or a container with role=\"radiogroup\" and aria-labelledby for proper group semantics. <fieldset> <legend>Kies een optie</legend> <nldd-radio-button name=\"options\" value=\"1\">Optie 1</nldd-radio-button> <nldd-radio-button name=\"options\" value=\"2\">Optie 2</nldd-radio-button> </fieldset>",
|
|
11283
11845
|
"name": "NLDDRadioButton",
|
|
11284
11846
|
"members": [
|
|
11847
|
+
{
|
|
11848
|
+
"kind": "field",
|
|
11849
|
+
"name": "isFormInput",
|
|
11850
|
+
"type": {
|
|
11851
|
+
"text": "boolean"
|
|
11852
|
+
},
|
|
11853
|
+
"static": true,
|
|
11854
|
+
"default": "true",
|
|
11855
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
11856
|
+
},
|
|
11285
11857
|
{
|
|
11286
11858
|
"kind": "field",
|
|
11287
11859
|
"name": "checked",
|
|
@@ -11400,6 +11972,25 @@
|
|
|
11400
11972
|
}
|
|
11401
11973
|
}
|
|
11402
11974
|
},
|
|
11975
|
+
{
|
|
11976
|
+
"kind": "method",
|
|
11977
|
+
"name": "focus",
|
|
11978
|
+
"return": {
|
|
11979
|
+
"type": {
|
|
11980
|
+
"text": "void"
|
|
11981
|
+
}
|
|
11982
|
+
},
|
|
11983
|
+
"parameters": [
|
|
11984
|
+
{
|
|
11985
|
+
"name": "options",
|
|
11986
|
+
"optional": true,
|
|
11987
|
+
"type": {
|
|
11988
|
+
"text": "FocusOptions"
|
|
11989
|
+
}
|
|
11990
|
+
}
|
|
11991
|
+
],
|
|
11992
|
+
"description": "Delegates focus to the inner native radio `<input>`, so consumers can\ncall `radioEl.focus()` without reaching into shadow DOM."
|
|
11993
|
+
},
|
|
11403
11994
|
{
|
|
11404
11995
|
"kind": "field",
|
|
11405
11996
|
"name": "formAssociated",
|
|
@@ -11585,6 +12176,26 @@
|
|
|
11585
12176
|
"description": "A search input with a leading search icon, an optional dismiss button, and an optional search button.",
|
|
11586
12177
|
"name": "NLDDSearchField",
|
|
11587
12178
|
"members": [
|
|
12179
|
+
{
|
|
12180
|
+
"kind": "field",
|
|
12181
|
+
"name": "isFormInput",
|
|
12182
|
+
"type": {
|
|
12183
|
+
"text": "boolean"
|
|
12184
|
+
},
|
|
12185
|
+
"static": true,
|
|
12186
|
+
"default": "true",
|
|
12187
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
12188
|
+
},
|
|
12189
|
+
{
|
|
12190
|
+
"kind": "field",
|
|
12191
|
+
"name": "blocksImplicitSubmission",
|
|
12192
|
+
"type": {
|
|
12193
|
+
"text": "boolean"
|
|
12194
|
+
},
|
|
12195
|
+
"static": true,
|
|
12196
|
+
"default": "true",
|
|
12197
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
12198
|
+
},
|
|
11588
12199
|
{
|
|
11589
12200
|
"kind": "field",
|
|
11590
12201
|
"name": "value",
|
|
@@ -12055,6 +12666,25 @@
|
|
|
12055
12666
|
"default": "''",
|
|
12056
12667
|
"description": "Icon name for nldd-icon. When not set, the icon slot is used; the icon and\nicon-and-text variants show a placeholder icon when neither is provided.",
|
|
12057
12668
|
"attribute": "icon"
|
|
12669
|
+
},
|
|
12670
|
+
{
|
|
12671
|
+
"kind": "method",
|
|
12672
|
+
"name": "focus",
|
|
12673
|
+
"return": {
|
|
12674
|
+
"type": {
|
|
12675
|
+
"text": "void"
|
|
12676
|
+
}
|
|
12677
|
+
},
|
|
12678
|
+
"parameters": [
|
|
12679
|
+
{
|
|
12680
|
+
"name": "options",
|
|
12681
|
+
"optional": true,
|
|
12682
|
+
"type": {
|
|
12683
|
+
"text": "FocusOptions"
|
|
12684
|
+
}
|
|
12685
|
+
}
|
|
12686
|
+
],
|
|
12687
|
+
"description": "Delegates focus to the inner native `<input>`, so consumers can call\n`itemEl.focus()` without reaching into shadow DOM."
|
|
12058
12688
|
}
|
|
12059
12689
|
],
|
|
12060
12690
|
"events": [
|
|
@@ -12164,6 +12794,16 @@
|
|
|
12164
12794
|
"description": "A horizontal group of mutually exclusive (radio) or multi-select (checkbox) options. Exports both NLDDSegmentedControl and NLDDSegmentedControlItem.",
|
|
12165
12795
|
"name": "NLDDSegmentedControl",
|
|
12166
12796
|
"members": [
|
|
12797
|
+
{
|
|
12798
|
+
"kind": "field",
|
|
12799
|
+
"name": "isFormInput",
|
|
12800
|
+
"type": {
|
|
12801
|
+
"text": "boolean"
|
|
12802
|
+
},
|
|
12803
|
+
"static": true,
|
|
12804
|
+
"default": "true",
|
|
12805
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
12806
|
+
},
|
|
12167
12807
|
{
|
|
12168
12808
|
"kind": "field",
|
|
12169
12809
|
"name": "value",
|
|
@@ -12306,6 +12946,25 @@
|
|
|
12306
12946
|
}
|
|
12307
12947
|
]
|
|
12308
12948
|
},
|
|
12949
|
+
{
|
|
12950
|
+
"kind": "method",
|
|
12951
|
+
"name": "focus",
|
|
12952
|
+
"return": {
|
|
12953
|
+
"type": {
|
|
12954
|
+
"text": "void"
|
|
12955
|
+
}
|
|
12956
|
+
},
|
|
12957
|
+
"parameters": [
|
|
12958
|
+
{
|
|
12959
|
+
"name": "options",
|
|
12960
|
+
"optional": true,
|
|
12961
|
+
"type": {
|
|
12962
|
+
"text": "FocusOptions"
|
|
12963
|
+
}
|
|
12964
|
+
}
|
|
12965
|
+
],
|
|
12966
|
+
"description": "Delegates focus to the selected item, or to the first enabled one when\nnothing is selected. Mirrors where the keyboard lands when tabbing into\nthe control."
|
|
12967
|
+
},
|
|
12309
12968
|
{
|
|
12310
12969
|
"kind": "field",
|
|
12311
12970
|
"name": "formAssociated",
|
|
@@ -12531,6 +13190,16 @@
|
|
|
12531
13190
|
"description": "A numeric control with increment and decrement buttons.",
|
|
12532
13191
|
"name": "NLDDStepper",
|
|
12533
13192
|
"members": [
|
|
13193
|
+
{
|
|
13194
|
+
"kind": "field",
|
|
13195
|
+
"name": "isFormInput",
|
|
13196
|
+
"type": {
|
|
13197
|
+
"text": "boolean"
|
|
13198
|
+
},
|
|
13199
|
+
"static": true,
|
|
13200
|
+
"default": "true",
|
|
13201
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
13202
|
+
},
|
|
12534
13203
|
{
|
|
12535
13204
|
"kind": "field",
|
|
12536
13205
|
"name": "value",
|
|
@@ -12594,6 +13263,16 @@
|
|
|
12594
13263
|
"attribute": "name",
|
|
12595
13264
|
"reflects": true
|
|
12596
13265
|
},
|
|
13266
|
+
{
|
|
13267
|
+
"kind": "field",
|
|
13268
|
+
"name": "accessibleLabel",
|
|
13269
|
+
"type": {
|
|
13270
|
+
"text": "string"
|
|
13271
|
+
},
|
|
13272
|
+
"default": "''",
|
|
13273
|
+
"description": "Accessible name for the spinbutton. Without one it falls back to a generic\n\"adjust the value\", which says what the control does but not which value,\nso give it the name of the field whenever there is one.",
|
|
13274
|
+
"attribute": "accessible-label"
|
|
13275
|
+
},
|
|
12597
13276
|
{
|
|
12598
13277
|
"kind": "field",
|
|
12599
13278
|
"name": "translations",
|
|
@@ -12644,6 +13323,25 @@
|
|
|
12644
13323
|
}
|
|
12645
13324
|
]
|
|
12646
13325
|
},
|
|
13326
|
+
{
|
|
13327
|
+
"kind": "method",
|
|
13328
|
+
"name": "focus",
|
|
13329
|
+
"return": {
|
|
13330
|
+
"type": {
|
|
13331
|
+
"text": "void"
|
|
13332
|
+
}
|
|
13333
|
+
},
|
|
13334
|
+
"parameters": [
|
|
13335
|
+
{
|
|
13336
|
+
"name": "options",
|
|
13337
|
+
"optional": true,
|
|
13338
|
+
"type": {
|
|
13339
|
+
"text": "FocusOptions"
|
|
13340
|
+
}
|
|
13341
|
+
}
|
|
13342
|
+
],
|
|
13343
|
+
"description": "Delegates focus to the spinbutton, the element that carries the tabindex\nand the keyboard handling. The two icon buttons are `tabindex=\"-1\"` on\npurpose, so the stepper is one stop rather than three. Does nothing while\ndisabled, because the spinbutton drops its tabindex then."
|
|
13344
|
+
},
|
|
12647
13345
|
{
|
|
12648
13346
|
"kind": "field",
|
|
12649
13347
|
"name": "formAssociated",
|
|
@@ -12783,6 +13481,15 @@
|
|
|
12783
13481
|
"fieldName": "name",
|
|
12784
13482
|
"description": "Name for form submission; the value is submitted under this name"
|
|
12785
13483
|
},
|
|
13484
|
+
{
|
|
13485
|
+
"name": "accessible-label",
|
|
13486
|
+
"type": {
|
|
13487
|
+
"text": "string"
|
|
13488
|
+
},
|
|
13489
|
+
"default": "''",
|
|
13490
|
+
"description": "Accessible name for the spinbutton; falls back to a generic label",
|
|
13491
|
+
"fieldName": "accessibleLabel"
|
|
13492
|
+
},
|
|
12786
13493
|
{
|
|
12787
13494
|
"name": "translations",
|
|
12788
13495
|
"type": {
|
|
@@ -12835,6 +13542,16 @@
|
|
|
12835
13542
|
"description": "A switch toggle with an inline label for use in forms.",
|
|
12836
13543
|
"name": "NLDDSwitchField",
|
|
12837
13544
|
"members": [
|
|
13545
|
+
{
|
|
13546
|
+
"kind": "field",
|
|
13547
|
+
"name": "isFormInput",
|
|
13548
|
+
"type": {
|
|
13549
|
+
"text": "boolean"
|
|
13550
|
+
},
|
|
13551
|
+
"static": true,
|
|
13552
|
+
"default": "true",
|
|
13553
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
13554
|
+
},
|
|
12838
13555
|
{
|
|
12839
13556
|
"kind": "field",
|
|
12840
13557
|
"name": "checked",
|
|
@@ -12991,6 +13708,16 @@
|
|
|
12991
13708
|
"description": "A toggle control for on/off settings. Prefer nldd-switch-field for labeled usage — it combines the switch with a visible label. Direct use of nldd-switch requires an accessible-label attribute for screen reader accessibility.",
|
|
12992
13709
|
"name": "NLDDSwitch",
|
|
12993
13710
|
"members": [
|
|
13711
|
+
{
|
|
13712
|
+
"kind": "field",
|
|
13713
|
+
"name": "isFormInput",
|
|
13714
|
+
"type": {
|
|
13715
|
+
"text": "boolean"
|
|
13716
|
+
},
|
|
13717
|
+
"static": true,
|
|
13718
|
+
"default": "true",
|
|
13719
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
13720
|
+
},
|
|
12994
13721
|
{
|
|
12995
13722
|
"kind": "field",
|
|
12996
13723
|
"name": "name",
|
|
@@ -14625,6 +15352,16 @@
|
|
|
14625
15352
|
"static": true,
|
|
14626
15353
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
14627
15354
|
},
|
|
15355
|
+
{
|
|
15356
|
+
"kind": "field",
|
|
15357
|
+
"name": "isFormInput",
|
|
15358
|
+
"type": {
|
|
15359
|
+
"text": "boolean"
|
|
15360
|
+
},
|
|
15361
|
+
"static": true,
|
|
15362
|
+
"default": "true",
|
|
15363
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
15364
|
+
},
|
|
14628
15365
|
{
|
|
14629
15366
|
"kind": "field",
|
|
14630
15367
|
"name": "value",
|
|
@@ -15400,6 +16137,23 @@
|
|
|
15400
16137
|
"kind": "javascript-module",
|
|
15401
16138
|
"path": "src/components/inputs/text-field/text-field.ts",
|
|
15402
16139
|
"declarations": [
|
|
16140
|
+
{
|
|
16141
|
+
"kind": "variable",
|
|
16142
|
+
"name": "KEYBOARDS",
|
|
16143
|
+
"type": {
|
|
16144
|
+
"text": "['none', 'text', 'decimal', 'numeric', 'tel', 'search', 'email', 'url']"
|
|
16145
|
+
},
|
|
16146
|
+
"default": "['none', 'text', 'decimal', 'numeric', 'tel', 'search', 'email', 'url']",
|
|
16147
|
+
"description": "The tokens `inputmode` and `enterkeyhint` accept. Arrays, so one list types\nthe property and answers at runtime: a value outside it is dropped by the\nbrowser without a word, which is a typo you only find on a phone."
|
|
16148
|
+
},
|
|
16149
|
+
{
|
|
16150
|
+
"kind": "variable",
|
|
16151
|
+
"name": "ENTER_KEYS",
|
|
16152
|
+
"type": {
|
|
16153
|
+
"text": "['enter', 'done', 'go', 'next', 'previous', 'search', 'send']"
|
|
16154
|
+
},
|
|
16155
|
+
"default": "['enter', 'done', 'go', 'next', 'previous', 'search', 'send']"
|
|
16156
|
+
},
|
|
15403
16157
|
{
|
|
15404
16158
|
"kind": "class",
|
|
15405
16159
|
"description": "",
|
|
@@ -15414,6 +16168,26 @@
|
|
|
15414
16168
|
"static": true,
|
|
15415
16169
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
15416
16170
|
},
|
|
16171
|
+
{
|
|
16172
|
+
"kind": "field",
|
|
16173
|
+
"name": "isFormInput",
|
|
16174
|
+
"type": {
|
|
16175
|
+
"text": "boolean"
|
|
16176
|
+
},
|
|
16177
|
+
"static": true,
|
|
16178
|
+
"default": "true",
|
|
16179
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
16180
|
+
},
|
|
16181
|
+
{
|
|
16182
|
+
"kind": "field",
|
|
16183
|
+
"name": "blocksImplicitSubmission",
|
|
16184
|
+
"type": {
|
|
16185
|
+
"text": "boolean"
|
|
16186
|
+
},
|
|
16187
|
+
"static": true,
|
|
16188
|
+
"default": "true",
|
|
16189
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
16190
|
+
},
|
|
15417
16191
|
{
|
|
15418
16192
|
"kind": "field",
|
|
15419
16193
|
"name": "size",
|
|
@@ -15491,6 +16265,26 @@
|
|
|
15491
16265
|
"default": "'text'",
|
|
15492
16266
|
"attribute": "type"
|
|
15493
16267
|
},
|
|
16268
|
+
{
|
|
16269
|
+
"kind": "field",
|
|
16270
|
+
"name": "keyboard",
|
|
16271
|
+
"type": {
|
|
16272
|
+
"text": "Keyboard | undefined"
|
|
16273
|
+
},
|
|
16274
|
+
"description": "Which on-screen keyboard to raise, forwarded as `inputmode`.",
|
|
16275
|
+
"attribute": "keyboard",
|
|
16276
|
+
"reflects": true
|
|
16277
|
+
},
|
|
16278
|
+
{
|
|
16279
|
+
"kind": "field",
|
|
16280
|
+
"name": "enterKey",
|
|
16281
|
+
"type": {
|
|
16282
|
+
"text": "EnterKey | undefined"
|
|
16283
|
+
},
|
|
16284
|
+
"description": "What the Enter key says, forwarded as `enterkeyhint`.",
|
|
16285
|
+
"attribute": "enter-key",
|
|
16286
|
+
"reflects": true
|
|
16287
|
+
},
|
|
15494
16288
|
{
|
|
15495
16289
|
"kind": "field",
|
|
15496
16290
|
"name": "name",
|
|
@@ -15794,6 +16588,22 @@
|
|
|
15794
16588
|
"fieldName": "type",
|
|
15795
16589
|
"description": "Input type: 'text' | 'email' | 'tel' | 'url'"
|
|
15796
16590
|
},
|
|
16591
|
+
{
|
|
16592
|
+
"name": "keyboard",
|
|
16593
|
+
"type": {
|
|
16594
|
+
"text": "Keyboard | undefined"
|
|
16595
|
+
},
|
|
16596
|
+
"description": "Which virtual keyboard a phone or tablet raises, forwarded as `inputmode`: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'. It changes nothing about what the field accepts, and nothing at all on a desktop. Reach for it where the value is digits but not a quantity you would step (a house number, a postcode, a rack unit): 'numeric'. The keyboard for 'tel', 'email' and 'url' already follows from `type`.",
|
|
16597
|
+
"fieldName": "keyboard"
|
|
16598
|
+
},
|
|
16599
|
+
{
|
|
16600
|
+
"name": "enter-key",
|
|
16601
|
+
"type": {
|
|
16602
|
+
"text": "EnterKey | undefined"
|
|
16603
|
+
},
|
|
16604
|
+
"description": "What the Enter key of the virtual keyboard says, forwarded as `enterkeyhint`: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'. It only labels the key; what Enter does is still up to the form, and on a desktop it changes nothing.",
|
|
16605
|
+
"fieldName": "enterKey"
|
|
16606
|
+
},
|
|
15797
16607
|
{
|
|
15798
16608
|
"name": "name",
|
|
15799
16609
|
"type": {
|
|
@@ -15882,6 +16692,22 @@
|
|
|
15882
16692
|
}
|
|
15883
16693
|
],
|
|
15884
16694
|
"exports": [
|
|
16695
|
+
{
|
|
16696
|
+
"kind": "js",
|
|
16697
|
+
"name": "KEYBOARDS",
|
|
16698
|
+
"declaration": {
|
|
16699
|
+
"name": "KEYBOARDS",
|
|
16700
|
+
"module": "src/components/inputs/text-field/text-field.ts"
|
|
16701
|
+
}
|
|
16702
|
+
},
|
|
16703
|
+
{
|
|
16704
|
+
"kind": "js",
|
|
16705
|
+
"name": "ENTER_KEYS",
|
|
16706
|
+
"declaration": {
|
|
16707
|
+
"name": "ENTER_KEYS",
|
|
16708
|
+
"module": "src/components/inputs/text-field/text-field.ts"
|
|
16709
|
+
}
|
|
16710
|
+
},
|
|
15885
16711
|
{
|
|
15886
16712
|
"kind": "js",
|
|
15887
16713
|
"name": "NLDDTextField",
|
|
@@ -15964,6 +16790,26 @@
|
|
|
15964
16790
|
"static": true,
|
|
15965
16791
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
15966
16792
|
},
|
|
16793
|
+
{
|
|
16794
|
+
"kind": "field",
|
|
16795
|
+
"name": "isFormInput",
|
|
16796
|
+
"type": {
|
|
16797
|
+
"text": "boolean"
|
|
16798
|
+
},
|
|
16799
|
+
"static": true,
|
|
16800
|
+
"default": "true",
|
|
16801
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
16802
|
+
},
|
|
16803
|
+
{
|
|
16804
|
+
"kind": "field",
|
|
16805
|
+
"name": "blocksImplicitSubmission",
|
|
16806
|
+
"type": {
|
|
16807
|
+
"text": "boolean"
|
|
16808
|
+
},
|
|
16809
|
+
"static": true,
|
|
16810
|
+
"default": "true",
|
|
16811
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
16812
|
+
},
|
|
15967
16813
|
{
|
|
15968
16814
|
"kind": "field",
|
|
15969
16815
|
"name": "size",
|
|
@@ -16541,6 +17387,16 @@
|
|
|
16541
17387
|
"description": "Twee kolommen, uren en minuten, die als een wiel langs de selectie in het midden schuiven. Het component is zelfstandig bruikbaar (inline op een pagina, in een filterpaneel) en zit ook in de popover van nldd-time-field. Waarden zijn altijd 24-uurs `HH:mm`. Scrollen ís kiezen: wat in het midden tot stilstand komt, is de waarde. Met het toetsenbord bedien je de selectie, want dat is wat een wiel is: uur en minuut zijn er elk een spinbutton. De kolommen eronder staan op aria-hidden, zodat dezelfde waarden niet twee keer worden voorgelezen.",
|
|
16542
17388
|
"name": "NLDDTimePicker",
|
|
16543
17389
|
"members": [
|
|
17390
|
+
{
|
|
17391
|
+
"kind": "field",
|
|
17392
|
+
"name": "isFormInput",
|
|
17393
|
+
"type": {
|
|
17394
|
+
"text": "boolean"
|
|
17395
|
+
},
|
|
17396
|
+
"static": true,
|
|
17397
|
+
"default": "true",
|
|
17398
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
17399
|
+
},
|
|
16544
17400
|
{
|
|
16545
17401
|
"kind": "field",
|
|
16546
17402
|
"name": "value",
|
|
@@ -16782,6 +17638,16 @@
|
|
|
16782
17638
|
"description": "Groups nldd-toggle-button elements and manages selection, keyboard navigation, and forwarding of type, name, size, and disabled state to all buttons. For type=\"radio\" (single-select), arrow keys navigate between buttons and automatically select the focused one. For type=\"checkbox\" (multi-select), multiple buttons can be selected simultaneously.",
|
|
16783
17639
|
"name": "NLDDToggleButtonGroup",
|
|
16784
17640
|
"members": [
|
|
17641
|
+
{
|
|
17642
|
+
"kind": "field",
|
|
17643
|
+
"name": "isFormInput",
|
|
17644
|
+
"type": {
|
|
17645
|
+
"text": "boolean"
|
|
17646
|
+
},
|
|
17647
|
+
"static": true,
|
|
17648
|
+
"default": "true",
|
|
17649
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
17650
|
+
},
|
|
16785
17651
|
{
|
|
16786
17652
|
"kind": "field",
|
|
16787
17653
|
"name": "type",
|
|
@@ -16840,6 +17706,25 @@
|
|
|
16840
17706
|
"default": "''",
|
|
16841
17707
|
"description": "ID of an external label element forwarded as aria-labelledby to the group host.",
|
|
16842
17708
|
"attribute": "accessible-labeled-by"
|
|
17709
|
+
},
|
|
17710
|
+
{
|
|
17711
|
+
"kind": "method",
|
|
17712
|
+
"name": "focus",
|
|
17713
|
+
"return": {
|
|
17714
|
+
"type": {
|
|
17715
|
+
"text": "void"
|
|
17716
|
+
}
|
|
17717
|
+
},
|
|
17718
|
+
"parameters": [
|
|
17719
|
+
{
|
|
17720
|
+
"name": "options",
|
|
17721
|
+
"optional": true,
|
|
17722
|
+
"type": {
|
|
17723
|
+
"text": "FocusOptions"
|
|
17724
|
+
}
|
|
17725
|
+
}
|
|
17726
|
+
],
|
|
17727
|
+
"description": "Delegates focus to the first selected button, or to the first enabled one\nwhen nothing is selected. With `type=\"checkbox\"` more than one can be\nselected; focus goes to the first of them, in DOM order."
|
|
16843
17728
|
}
|
|
16844
17729
|
],
|
|
16845
17730
|
"attributes": [
|
|
@@ -16946,6 +17831,16 @@
|
|
|
16946
17831
|
"description": "A selectable button that toggles between selected and unselected. Available as a button (aria-pressed), checkbox, or radio input.",
|
|
16947
17832
|
"name": "NLDDToggleButton",
|
|
16948
17833
|
"members": [
|
|
17834
|
+
{
|
|
17835
|
+
"kind": "field",
|
|
17836
|
+
"name": "isFormInput",
|
|
17837
|
+
"type": {
|
|
17838
|
+
"text": "boolean"
|
|
17839
|
+
},
|
|
17840
|
+
"static": true,
|
|
17841
|
+
"default": "true",
|
|
17842
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
17843
|
+
},
|
|
16949
17844
|
{
|
|
16950
17845
|
"kind": "field",
|
|
16951
17846
|
"name": "type",
|
|
@@ -17095,6 +17990,25 @@
|
|
|
17095
17990
|
},
|
|
17096
17991
|
"description": "Toggle selected state programmatically.\nFor type=\"radio\", the button can only be selected, never deselected (native behavior)."
|
|
17097
17992
|
},
|
|
17993
|
+
{
|
|
17994
|
+
"kind": "method",
|
|
17995
|
+
"name": "focus",
|
|
17996
|
+
"return": {
|
|
17997
|
+
"type": {
|
|
17998
|
+
"text": "void"
|
|
17999
|
+
}
|
|
18000
|
+
},
|
|
18001
|
+
"parameters": [
|
|
18002
|
+
{
|
|
18003
|
+
"name": "options",
|
|
18004
|
+
"optional": true,
|
|
18005
|
+
"type": {
|
|
18006
|
+
"text": "FocusOptions"
|
|
18007
|
+
}
|
|
18008
|
+
}
|
|
18009
|
+
],
|
|
18010
|
+
"description": "Delegates focus to whichever control this type renders: the `<input>` for\n`checkbox` and `radio`, the `<button>` for `button`. Only one of the two\nexists at a time. Lets consumers call `toggleButtonEl.focus()` without\nreaching into shadow DOM."
|
|
18011
|
+
},
|
|
17098
18012
|
{
|
|
17099
18013
|
"kind": "field",
|
|
17100
18014
|
"name": "formAssociated",
|
|
@@ -17313,6 +18227,26 @@
|
|
|
17313
18227
|
"description": "A multi-select input that looks like a normal input field: chosen values show as dismissible tokens in a wrapping row, followed by an inline text input that stretches to fill the remaining space and wraps to a new line (growing the field) when it no longer fits. Options are supplied as a slotted nldd-menu, exactly like nldd-combo-box; the menu filters as you type, with a chevron picker button, arrow-key roving across the tokens and ElementInternals form participation.",
|
|
17314
18228
|
"name": "NLDDTokenField",
|
|
17315
18229
|
"members": [
|
|
18230
|
+
{
|
|
18231
|
+
"kind": "field",
|
|
18232
|
+
"name": "isFormInput",
|
|
18233
|
+
"type": {
|
|
18234
|
+
"text": "boolean"
|
|
18235
|
+
},
|
|
18236
|
+
"static": true,
|
|
18237
|
+
"default": "true",
|
|
18238
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
18239
|
+
},
|
|
18240
|
+
{
|
|
18241
|
+
"kind": "field",
|
|
18242
|
+
"name": "blocksImplicitSubmission",
|
|
18243
|
+
"type": {
|
|
18244
|
+
"text": "boolean"
|
|
18245
|
+
},
|
|
18246
|
+
"static": true,
|
|
18247
|
+
"default": "true",
|
|
18248
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
18249
|
+
},
|
|
17316
18250
|
{
|
|
17317
18251
|
"kind": "field",
|
|
17318
18252
|
"name": "values",
|
|
@@ -17841,24 +18775,24 @@
|
|
|
17841
18775
|
"members": [
|
|
17842
18776
|
{
|
|
17843
18777
|
"kind": "field",
|
|
17844
|
-
"name": "
|
|
18778
|
+
"name": "background",
|
|
17845
18779
|
"type": {
|
|
17846
|
-
"text": "
|
|
18780
|
+
"text": "BoxBackground"
|
|
17847
18781
|
},
|
|
17848
18782
|
"default": "'tinted'",
|
|
17849
|
-
"attribute": "
|
|
18783
|
+
"attribute": "background",
|
|
17850
18784
|
"reflects": true
|
|
17851
18785
|
}
|
|
17852
18786
|
],
|
|
17853
18787
|
"attributes": [
|
|
17854
18788
|
{
|
|
17855
|
-
"name": "
|
|
18789
|
+
"name": "background",
|
|
17856
18790
|
"type": {
|
|
17857
|
-
"text": "
|
|
18791
|
+
"text": "BoxBackground"
|
|
17858
18792
|
},
|
|
17859
18793
|
"default": "'tinted'",
|
|
17860
|
-
"fieldName": "
|
|
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."
|
|
18794
|
+
"fieldName": "background",
|
|
18795
|
+
"description": "Which surface this box draws, named as it is on nldd-app-view, nldd-page, nldd-split-view-pane and nldd-card. It starts tinted where a card starts base: a box is there to stand out from the page, a card to sit on it. - `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."
|
|
17862
18796
|
}
|
|
17863
18797
|
],
|
|
17864
18798
|
"superclass": {
|
|
@@ -26360,16 +27294,16 @@
|
|
|
26360
27294
|
},
|
|
26361
27295
|
{
|
|
26362
27296
|
"kind": "javascript-module",
|
|
26363
|
-
"path": "src/components/lists-and-tables/list-item-
|
|
27297
|
+
"path": "src/components/lists-and-tables/list-item-segment/list-item-segment.ts",
|
|
26364
27298
|
"declarations": [
|
|
26365
27299
|
{
|
|
26366
27300
|
"kind": "class",
|
|
26367
|
-
"description": "A
|
|
26368
|
-
"name": "
|
|
27301
|
+
"description": "A segment inside an `nldd-list-item`: it groups a run of cells and makes just that run clickable. Use it when a row needs more than one segment — a tree row whose chevron expands while the label toggles a checkbox, or a row that navigates with a separate button beside it. Put it in the row where its cells would go: the item has one flat slot, and a segment takes the place of the cells it covers. Where the divider starts or stops is marked on the cells themselves (`divider-start` / `divider-end`), not by the slot a segment sits in. A row is EITHER row-level interactive (`href` / `button` / `checkbox` on the `nldd-list-item`) OR segmented (one or more of these). Both at once nests a control inside a control, which is invalid HTML; the item DEV-warns. Unlike the row-wide action this does not bleed outward: a segment sits between siblings, so an outward inset would overlap them. It owns its inline padding and never drops below the row's control size, so an icon-only one still meets the WCAG 2.5.8 target size — do not add spacer cells inside it for room or hit area, that doubles the space. In a `type=\"listbox\"` list the segment renders as a plain container (no control, not focusable) and DEV-warns: an `option` may not contain interactive descendants. The cells render unchanged, so nothing shifts.",
|
|
27302
|
+
"name": "NLDDListItemSegment",
|
|
26369
27303
|
"slots": [
|
|
26370
27304
|
{
|
|
26371
27305
|
"name": "",
|
|
26372
|
-
"description": "The cells that belong to this
|
|
27306
|
+
"description": "The cells that belong to this segment"
|
|
26373
27307
|
}
|
|
26374
27308
|
],
|
|
26375
27309
|
"members": [
|
|
@@ -26447,7 +27381,7 @@
|
|
|
26447
27381
|
"text": "boolean"
|
|
26448
27382
|
},
|
|
26449
27383
|
"default": "false",
|
|
26450
|
-
"description": "Marks this
|
|
27384
|
+
"description": "Marks this segment as the row's disclosure control: it takes `aria-expanded`\nfrom the parent item's `expanded` instead of its own. Use it on a tree row's\nchevron, so the open/closed state is written once — on the row, where it also\ndrives the children group — rather than kept in step in two places.\n\nA slotted `nldd-icon-cell` turns a quarter with that state, so a chevron\npoints down while the row is open without any consumer CSS.",
|
|
26451
27385
|
"attribute": "disclosure",
|
|
26452
27386
|
"reflects": true
|
|
26453
27387
|
},
|
|
@@ -26475,7 +27409,7 @@
|
|
|
26475
27409
|
"kind": "field",
|
|
26476
27410
|
"name": "width",
|
|
26477
27411
|
"type": {
|
|
26478
|
-
"text": "
|
|
27412
|
+
"text": "ListItemSegmentWidth"
|
|
26479
27413
|
},
|
|
26480
27414
|
"default": "'fit-content'",
|
|
26481
27415
|
"attribute": "width",
|
|
@@ -26513,7 +27447,7 @@
|
|
|
26513
27447
|
"events": [
|
|
26514
27448
|
{
|
|
26515
27449
|
"name": "change",
|
|
26516
|
-
"description": "On a `checkbox`
|
|
27450
|
+
"description": "On a `checkbox` segment after it toggles; detail: { checked: boolean }"
|
|
26517
27451
|
}
|
|
26518
27452
|
],
|
|
26519
27453
|
"attributes": [
|
|
@@ -26521,7 +27455,7 @@
|
|
|
26521
27455
|
"type": {
|
|
26522
27456
|
"text": "boolean"
|
|
26523
27457
|
},
|
|
26524
|
-
"description": "Renders the
|
|
27458
|
+
"description": "Renders the segment as a `<button>`. Last of the three: `href` and `checkbox` both win over it.",
|
|
26525
27459
|
"name": "button",
|
|
26526
27460
|
"default": "false",
|
|
26527
27461
|
"fieldName": "button"
|
|
@@ -26530,7 +27464,7 @@
|
|
|
26530
27464
|
"type": {
|
|
26531
27465
|
"text": "string | undefined"
|
|
26532
27466
|
},
|
|
26533
|
-
"description": "Renders the
|
|
27467
|
+
"description": "Renders the segment as an `<a>` with this URL. Wins over `checkbox` and `button`.",
|
|
26534
27468
|
"name": "href",
|
|
26535
27469
|
"fieldName": "href"
|
|
26536
27470
|
},
|
|
@@ -26554,7 +27488,7 @@
|
|
|
26554
27488
|
"type": {
|
|
26555
27489
|
"text": "boolean"
|
|
26556
27490
|
},
|
|
26557
|
-
"description": "Makes the
|
|
27491
|
+
"description": "Makes the segment a `role=\"checkbox\"` control. Wins over `button`, loses to `href`.",
|
|
26558
27492
|
"name": "checkbox",
|
|
26559
27493
|
"default": "false",
|
|
26560
27494
|
"fieldName": "checkbox"
|
|
@@ -26563,7 +27497,7 @@
|
|
|
26563
27497
|
"type": {
|
|
26564
27498
|
"text": "boolean"
|
|
26565
27499
|
},
|
|
26566
|
-
"description": "Checked state of a `checkbox`
|
|
27500
|
+
"description": "Checked state of a `checkbox` segment; it toggles on activation",
|
|
26567
27501
|
"name": "checked",
|
|
26568
27502
|
"default": "false",
|
|
26569
27503
|
"fieldName": "checked"
|
|
@@ -26572,7 +27506,7 @@
|
|
|
26572
27506
|
"type": {
|
|
26573
27507
|
"text": "boolean | undefined"
|
|
26574
27508
|
},
|
|
26575
|
-
"description": "Disclosure state, reflected as `aria-expanded` on the control. Set it on the
|
|
27509
|
+
"description": "Disclosure state, reflected as `aria-expanded` on the control, and painted: the segment stays lit a step above hover for as long as what it opened is on screen, so a menu reads as hanging off this row rather than floating over the list. Set it on the segment that opens something (a tree row's chevron, a menu). Leave it off entirely when the segment discloses nothing — an absent attribute emits no aria-expanded.",
|
|
26576
27510
|
"name": "expanded",
|
|
26577
27511
|
"fieldName": "expanded"
|
|
26578
27512
|
},
|
|
@@ -26580,7 +27514,7 @@
|
|
|
26580
27514
|
"type": {
|
|
26581
27515
|
"text": "boolean"
|
|
26582
27516
|
},
|
|
26583
|
-
"description": "Marks the
|
|
27517
|
+
"description": "Marks the segment as the row's disclosure control: `aria-expanded` comes from the parent item's `expanded`, so the state lives in one place. A slotted `nldd-icon-cell` rotates a quarter turn while the row is open",
|
|
26584
27518
|
"name": "disclosure",
|
|
26585
27519
|
"default": "false",
|
|
26586
27520
|
"fieldName": "disclosure"
|
|
@@ -26589,7 +27523,7 @@
|
|
|
26589
27523
|
"type": {
|
|
26590
27524
|
"text": "boolean"
|
|
26591
27525
|
},
|
|
26592
|
-
"description": "Marks the
|
|
27526
|
+
"description": "Marks the segment as the current page (`aria-current=\"page\"`). The row it sits in paints itself as the current row from it, so on a segmented row this is the only place it has to be set.",
|
|
26593
27527
|
"name": "current",
|
|
26594
27528
|
"default": "false",
|
|
26595
27529
|
"fieldName": "current"
|
|
@@ -26598,16 +27532,16 @@
|
|
|
26598
27532
|
"type": {
|
|
26599
27533
|
"text": "boolean"
|
|
26600
27534
|
},
|
|
26601
|
-
"description": "
|
|
27535
|
+
"description": "Switches the segment off: a `button` or `checkbox` segment stops responding and dims, a `href` segment gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). The arrow keys skip a row whose only segment is off.",
|
|
26602
27536
|
"name": "disabled",
|
|
26603
27537
|
"default": "false",
|
|
26604
27538
|
"fieldName": "disabled"
|
|
26605
27539
|
},
|
|
26606
27540
|
{
|
|
26607
27541
|
"type": {
|
|
26608
|
-
"text": "
|
|
27542
|
+
"text": "ListItemSegmentWidth"
|
|
26609
27543
|
},
|
|
26610
|
-
"description": "`full` lets the
|
|
27544
|
+
"description": "`full` lets the segment grow to fill the row (default: 'fit-content')",
|
|
26611
27545
|
"name": "width",
|
|
26612
27546
|
"default": "'fit-content'",
|
|
26613
27547
|
"fieldName": "width"
|
|
@@ -26616,7 +27550,7 @@
|
|
|
26616
27550
|
"type": {
|
|
26617
27551
|
"text": "string"
|
|
26618
27552
|
},
|
|
26619
|
-
"description": "Accessible name for the control. Set it when the
|
|
27553
|
+
"description": "Accessible name for the control. Set it when the segment holds only an icon, or when the cell text does not describe the action.",
|
|
26620
27554
|
"name": "accessible-label",
|
|
26621
27555
|
"default": "''",
|
|
26622
27556
|
"fieldName": "accessibleLabel"
|
|
@@ -26626,25 +27560,25 @@
|
|
|
26626
27560
|
"name": "LitElement",
|
|
26627
27561
|
"package": "lit"
|
|
26628
27562
|
},
|
|
26629
|
-
"tagName": "nldd-list-item-
|
|
27563
|
+
"tagName": "nldd-list-item-segment",
|
|
26630
27564
|
"customElement": true
|
|
26631
27565
|
}
|
|
26632
27566
|
],
|
|
26633
27567
|
"exports": [
|
|
26634
27568
|
{
|
|
26635
27569
|
"kind": "js",
|
|
26636
|
-
"name": "
|
|
27570
|
+
"name": "NLDDListItemSegment",
|
|
26637
27571
|
"declaration": {
|
|
26638
|
-
"name": "
|
|
26639
|
-
"module": "src/components/lists-and-tables/list-item-
|
|
27572
|
+
"name": "NLDDListItemSegment",
|
|
27573
|
+
"module": "src/components/lists-and-tables/list-item-segment/list-item-segment.ts"
|
|
26640
27574
|
}
|
|
26641
27575
|
},
|
|
26642
27576
|
{
|
|
26643
27577
|
"kind": "custom-element-definition",
|
|
26644
|
-
"name": "nldd-list-item-
|
|
27578
|
+
"name": "nldd-list-item-segment",
|
|
26645
27579
|
"declaration": {
|
|
26646
|
-
"name": "
|
|
26647
|
-
"module": "src/components/lists-and-tables/list-item-
|
|
27580
|
+
"name": "NLDDListItemSegment",
|
|
27581
|
+
"module": "src/components/lists-and-tables/list-item-segment/list-item-segment.ts"
|
|
26648
27582
|
}
|
|
26649
27583
|
}
|
|
26650
27584
|
]
|
|
@@ -26655,12 +27589,12 @@
|
|
|
26655
27589
|
"declarations": [
|
|
26656
27590
|
{
|
|
26657
27591
|
"kind": "class",
|
|
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
|
|
27592
|
+
"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 segments 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 segments 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-segment` 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-segment[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`).",
|
|
26659
27593
|
"name": "NLDDListItem",
|
|
26660
27594
|
"slots": [
|
|
26661
27595
|
{
|
|
26662
27596
|
"name": "",
|
|
26663
|
-
"description": "Cells and
|
|
27597
|
+
"description": "Cells and segments, in source order"
|
|
26664
27598
|
},
|
|
26665
27599
|
{
|
|
26666
27600
|
"name": "children",
|
|
@@ -26688,6 +27622,17 @@
|
|
|
26688
27622
|
"attribute": "selected",
|
|
26689
27623
|
"reflects": true
|
|
26690
27624
|
},
|
|
27625
|
+
{
|
|
27626
|
+
"kind": "field",
|
|
27627
|
+
"name": "current",
|
|
27628
|
+
"type": {
|
|
27629
|
+
"text": "boolean"
|
|
27630
|
+
},
|
|
27631
|
+
"default": "false",
|
|
27632
|
+
"description": "The row you are on, as opposed to the rows you picked (`selected`).\n\nKept apart because the two say different things and a list can show both:\na checkbox list where three rows are ticked and one is open. At rest they\npaint the same, so a menu reads the same as it always did; the difference\nshows when focus is in the row.",
|
|
27633
|
+
"attribute": "current",
|
|
27634
|
+
"reflects": true
|
|
27635
|
+
},
|
|
26691
27636
|
{
|
|
26692
27637
|
"kind": "field",
|
|
26693
27638
|
"name": "button",
|
|
@@ -26721,6 +27666,17 @@
|
|
|
26721
27666
|
"attribute": "checked",
|
|
26722
27667
|
"reflects": true
|
|
26723
27668
|
},
|
|
27669
|
+
{
|
|
27670
|
+
"kind": "field",
|
|
27671
|
+
"name": "disabled",
|
|
27672
|
+
"type": {
|
|
27673
|
+
"text": "boolean"
|
|
27674
|
+
},
|
|
27675
|
+
"default": "false",
|
|
27676
|
+
"description": "Switches off the row's own control.\n\nOnly the row's own: a row built out of segments has no control here, and\neach segment carries its own `disabled`. A link cannot be disabled the way\na button can, so there it is `aria-disabled` plus a blocked click, the\nsame trade `nldd-button` makes.",
|
|
27677
|
+
"attribute": "disabled",
|
|
27678
|
+
"reflects": true
|
|
27679
|
+
},
|
|
26724
27680
|
{
|
|
26725
27681
|
"kind": "field",
|
|
26726
27682
|
"name": "expanded",
|
|
@@ -26843,7 +27799,7 @@
|
|
|
26843
27799
|
"type": {
|
|
26844
27800
|
"text": "boolean"
|
|
26845
27801
|
},
|
|
26846
|
-
"description": "Marks the item as selected. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current=\"page\"` on the inner action, in a `listbox` parent it drives `aria-selected`.",
|
|
27802
|
+
"description": "Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current=\"page\"` on the inner action, in a `listbox` parent it drives `aria-selected`.",
|
|
26847
27803
|
"name": "selected",
|
|
26848
27804
|
"default": "false",
|
|
26849
27805
|
"fieldName": "selected"
|
|
@@ -26852,7 +27808,16 @@
|
|
|
26852
27808
|
"type": {
|
|
26853
27809
|
"text": "boolean"
|
|
26854
27810
|
},
|
|
26855
|
-
"description": "
|
|
27811
|
+
"description": "Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, and takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current=\"page\"` on the inner action. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs.",
|
|
27812
|
+
"name": "current",
|
|
27813
|
+
"default": "false",
|
|
27814
|
+
"fieldName": "current"
|
|
27815
|
+
},
|
|
27816
|
+
{
|
|
27817
|
+
"type": {
|
|
27818
|
+
"text": "boolean"
|
|
27819
|
+
},
|
|
27820
|
+
"description": "Renders the item as a `<button>`. Last of the three: `href` and `checkbox` both win over it.",
|
|
26856
27821
|
"name": "button",
|
|
26857
27822
|
"default": "false",
|
|
26858
27823
|
"fieldName": "button"
|
|
@@ -26861,7 +27826,7 @@
|
|
|
26861
27826
|
"type": {
|
|
26862
27827
|
"text": "boolean"
|
|
26863
27828
|
},
|
|
26864
|
-
"description": "Makes the whole row a `role=\"checkbox\"` control
|
|
27829
|
+
"description": "Makes the whole row a `role=\"checkbox\"` control. Wins over `button`, loses to `href`.",
|
|
26865
27830
|
"name": "checkbox",
|
|
26866
27831
|
"default": "false",
|
|
26867
27832
|
"fieldName": "checkbox"
|
|
@@ -26875,11 +27840,20 @@
|
|
|
26875
27840
|
"default": "false",
|
|
26876
27841
|
"fieldName": "checked"
|
|
26877
27842
|
},
|
|
27843
|
+
{
|
|
27844
|
+
"type": {
|
|
27845
|
+
"text": "boolean"
|
|
27846
|
+
},
|
|
27847
|
+
"description": "Switches the row's own control off: a `button` or `checkbox` row stops responding and dims, a `href` row gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). A row without a control of its own has nothing to switch off, and segments carry their own `disabled`. The arrow keys skip a disabled row.",
|
|
27848
|
+
"name": "disabled",
|
|
27849
|
+
"default": "false",
|
|
27850
|
+
"fieldName": "disabled"
|
|
27851
|
+
},
|
|
26878
27852
|
{
|
|
26879
27853
|
"type": {
|
|
26880
27854
|
"text": "boolean | undefined"
|
|
26881
27855
|
},
|
|
26882
|
-
"description": "Disclosure state. Drives the `children` group's visibility AND supplies `aria-expanded` — to the row's own control when the row is interactive, or to the
|
|
27856
|
+
"description": "Disclosure state. Drives the `children` group's visibility AND supplies `aria-expanded` — to the row's own control when the row is interactive, or to the segment marked `disclosure`. Written once either way; the item DEV-warns when there is nowhere for it to live.",
|
|
26883
27857
|
"name": "expanded",
|
|
26884
27858
|
"fieldName": "expanded"
|
|
26885
27859
|
},
|
|
@@ -26887,7 +27861,7 @@
|
|
|
26887
27861
|
"type": {
|
|
26888
27862
|
"text": "string | undefined"
|
|
26889
27863
|
},
|
|
26890
|
-
"description": "Renders the item as an `<a>` with this URL.
|
|
27864
|
+
"description": "Renders the item as an `<a>` with this URL. Wins over `checkbox` and `button`; without any of the three the item is a plain container with no action.",
|
|
26891
27865
|
"name": "href",
|
|
26892
27866
|
"fieldName": "href"
|
|
26893
27867
|
},
|
|
@@ -26968,7 +27942,7 @@
|
|
|
26968
27942
|
"declarations": [
|
|
26969
27943
|
{
|
|
26970
27944
|
"kind": "class",
|
|
26971
|
-
"description": "A container for `nldd-list-item` elements. The `type` attribute switches the list's a11y role and behavior: - `list` (default) — `role=\"list\"`, items `role=\"listitem\"`. Reorderable allowed. - `tree` — `role=\"tree\"`, items `role=\"treeitem\"`. Branch rows put their child rows in their own `slot=\"children\"`, which the item renders as a `role=\"group\"`. Level, position and set size are NOT authored: the nesting represents the hierarchy, so assistive technology derives them. A branch row must carry `expanded`; the group is hidden while it is false. Visual indentation is the consumer's — repeat a spacer-cell per level. Comes with its own keyboard, see \"Tree\" below. - `navigation` — host `role=\"navigation\"`, items with `selected` get `aria-current=\"page\"` on their inner `<a>` or `<button>`. - `listbox` — an accessible, filterable listbox (combobox pattern). The list renders its OWN search input (`role=\"combobox\"`) pinned above the options; `.list__items` becomes `role=\"listbox\"` and items become `role=\"option\"`. Focus stays in the input, the active option moves via `aria-activedescendant`, and filtering is consumer-managed via the `input` event (toggle `[hidden]` on items). See \"Listbox\" below. Selection state is consumer-managed: the list never mutates `selected` itself. In `type=\"listbox\"` the list owns a native `<input role=\"combobox\">` (mirroring how `nldd-combo-box` wires an input to a slotted listbox). Keyboard, handled on the input so focus never leaves it: - ArrowDown / ArrowUp — move the active option among the VISIBLE (non-`[hidden]`) options (wrap around). - Home / End — first / last visible option. - Enter — activate the active option by triggering its inner action (a link navigates, a button fires the consumer's handler). Selection stays consumer-managed. - Escape — clear the search value (and refire `input`). On every active change the input's `aria-activedescendant` is set to the active option's id and the option is scrolled into view. The active option (`_highlighted` on the item, a highlight) is distinct from `selected`. Filtering is the consumer's job: listen to `input` (`{ detail: { value } }`) and toggle `[hidden]` on items; after the visible set changes the list resets the active option to the first visible one. `reorderable` and
|
|
27945
|
+
"description": "A container for `nldd-list-item` elements. The `type` attribute switches the list's a11y role and behavior: - `list` (default) — `role=\"list\"`, items `role=\"listitem\"`. Reorderable allowed. - `tree` — `role=\"tree\"`, items `role=\"treeitem\"`. Branch rows put their child rows in their own `slot=\"children\"`, which the item renders as a `role=\"group\"`. Level, position and set size are NOT authored: the nesting represents the hierarchy, so assistive technology derives them. A branch row must carry `expanded`; the group is hidden while it is false. Visual indentation is the consumer's — repeat a spacer-cell per level. Comes with its own keyboard, see \"Tree\" below. - `navigation` — host `role=\"navigation\"`, items with `selected` get `aria-current=\"page\"` on their inner `<a>` or `<button>`. - `listbox` — an accessible, filterable listbox (combobox pattern). The list renders its OWN search input (`role=\"combobox\"`) pinned above the options; `.list__items` becomes `role=\"listbox\"` and items become `role=\"option\"`. Focus stays in the input, the active option moves via `aria-activedescendant`, and filtering is consumer-managed via the `input` event (toggle `[hidden]` on items). See \"Listbox\" below. Selection state is consumer-managed: the list never mutates `selected` itself. Every list answers to the arrow keys, and there is no attribute to switch that on. Whether the keys do something is not a property of one list: it is what a reader may assume about all of them, and a per-list setting made that unknowable from the outside. - ArrowUp / ArrowDown — move focus between the rows there is something to do with. A row of nothing but text is skipped, because focus that leads nowhere is a dead end. - Home / End — the first / last of those rows. - Tab — the list is ONE tab stop, so Tab moves past it rather than through it. Within the current row Tab walks that row's own controls: a chevron beside a checkbox, a menu button at the end. The same controls in the other rows are held out of the tab order (`tabindex=\"-1\"`, or `no-tab` on a design-system control that keeps its tab stop in its own shadow root). Arrows move focus only; selection stays consumer-managed. Two types answer differently, and both say so on screen before you touch a key: a listbox runs its keyboard from its search field, and a reorderable list moves rows with the arrows. In `type=\"listbox\"` the list owns a native `<input role=\"combobox\">` (mirroring how `nldd-combo-box` wires an input to a slotted listbox). Keyboard, handled on the input so focus never leaves it: - ArrowDown / ArrowUp — move the active option among the VISIBLE (non-`[hidden]`) options (wrap around). - Home / End — first / last visible option. - Enter — activate the active option by triggering its inner action (a link navigates, a button fires the consumer's handler). Selection stays consumer-managed. - Escape — clear the search value (and refire `input`). On every active change the input's `aria-activedescendant` is set to the active option's id and the option is scrolled into view. The active option (`_highlighted` on the item, a highlight) is distinct from `selected`. Filtering is the consumer's job: listen to `input` (`{ detail: { value } }`) and toggle `[hidden]` on items; after the visible set changes the list resets the active option to the first visible one. `reorderable` and the roving arrow keys are ignored in listbox mode (listbox has its own keyboard). A tree adds to that keyboard, and counts the rows of an open branch as part of the order the arrows walk: - ArrowRight — opens a closed branch; on an open one it steps to its first child. - ArrowLeft — closes an open branch; on a leaf it steps out to the parent row. - Enter — follows the row: its own link or button, or on a segmented branch the first action that is not the chevron. A branch with only a chevron folds instead. - Space — open and close, the same as Right and Left. Only while focus sits on the row itself: a row that is its own control, and a segmented action you tabbed into, handle both keys themselves. Opening and closing runs through the row's own disclosure control — the segment marked `disclosure`, or the row itself when it is a button. The list activates that control rather than writing `expanded`, so the state keeps being set in one place: the consumer's handler. A row that is a link is never activated this way, since that would navigate away. The tree is one tab stop. Focus lands on the row itself when the row has no control of its own, because that is where `treeitem` sits and it makes assistive technology announce the row rather than a button inside it. Tab then walks the controls of THAT row (a chevron beside a checkbox, say) and leaves the list after the last one. A deliberate deviation: strictly speaking a row with several controls is a `treegrid`, not a `tree`. We keep the tree semantics — level and set size are what matters here, not rows and columns — and borrow the \"Tab within the row\" behavior from the grid pattern. Should a tree with real columns come up, that is when `treegrid` earns its own type. On reorder (type=\"list\" + reorderable), the list dispatches `nldd-reorder` with `fromIndex` / `toIndex` and expects the consumer to mutate the DOM (or their data model that renders the DOM). Focus is restored to the moved item's drag handle via a single `requestAnimationFrame` — this assumes the consumer reorders **synchronously** in the event handler. Async renderers (React, Vue, …) that update the DOM on a later tick will miss the focus restore and should manage focus themselves after their render commits.",
|
|
26972
27946
|
"name": "NLDDList",
|
|
26973
27947
|
"slots": [
|
|
26974
27948
|
{
|
|
@@ -27033,17 +28007,6 @@
|
|
|
27033
28007
|
"attribute": "dividers",
|
|
27034
28008
|
"reflects": true
|
|
27035
28009
|
},
|
|
27036
|
-
{
|
|
27037
|
-
"kind": "field",
|
|
27038
|
-
"name": "arrowNavigation",
|
|
27039
|
-
"type": {
|
|
27040
|
-
"text": "boolean"
|
|
27041
|
-
},
|
|
27042
|
-
"default": "false",
|
|
27043
|
-
"description": "Roving-tabindex arrow-key navigation. When set, ArrowUp/ArrowDown move focus\nbetween the (interactive) items, Home/End jump to the first/last, and the\nwhole list becomes a single tab stop — so Tab moves past the rest instead of\nstepping through every item. Arrows move focus only; selection stays\nconsumer-managed.\n\nPragmatic by design: the `list`/`navigation` role is kept (no widget role).\nUse it only on **simple** lists where each item has a single action and no\nextra controls (a control in a `start`/`end` slot would not be reachable as\nits own tab stop). Mutually exclusive with `reorderable` (both use the arrow\nkeys); when both are set, `reorderable` wins and this is ignored.\n\nKnown a11y limitation: because the role stays `list`/`navigation` (not\n`listbox`/`menu`), screen readers do not auto-announce that the arrow keys\nnavigate. As a best-effort signal the host carries\n`aria-keyshortcuts=\"ArrowUp ArrowDown Home End\"` while active, but blind users\nmay still not discover the feature — another reason to keep it to genuinely\nsimple lists.",
|
|
27044
|
-
"attribute": "arrow-navigation",
|
|
27045
|
-
"reflects": true
|
|
27046
|
-
},
|
|
27047
28010
|
{
|
|
27048
28011
|
"kind": "field",
|
|
27049
28012
|
"name": "height",
|
|
@@ -27131,7 +28094,7 @@
|
|
|
27131
28094
|
"type": {
|
|
27132
28095
|
"text": "boolean"
|
|
27133
28096
|
},
|
|
27134
|
-
"description": "Enables drag-to-reorder and pushes `reorderable` onto the items. Only valid with `type=\"list\"`;
|
|
28097
|
+
"description": "Enables drag-to-reorder and pushes `reorderable` onto the items. Only valid with `type=\"list\"`; there the arrow keys move rows instead of focus.",
|
|
27135
28098
|
"name": "reorderable",
|
|
27136
28099
|
"default": "false",
|
|
27137
28100
|
"fieldName": "reorderable"
|
|
@@ -27145,15 +28108,6 @@
|
|
|
27145
28108
|
"default": "'always'",
|
|
27146
28109
|
"fieldName": "dividers"
|
|
27147
28110
|
},
|
|
27148
|
-
{
|
|
27149
|
-
"type": {
|
|
27150
|
-
"text": "boolean"
|
|
27151
|
-
},
|
|
27152
|
-
"description": "Roving-tabindex arrow-key navigation: ArrowUp/ArrowDown move focus between the rows, Home/End jump to first/last, and the list becomes a single tab stop. Implied by `type=\"tree\"` (which adds ArrowLeft/ArrowRight, see above). Ignored when `reorderable` is active on a `type=\"list\"`, and in listbox mode.",
|
|
27153
|
-
"name": "arrow-navigation",
|
|
27154
|
-
"default": "false",
|
|
27155
|
-
"fieldName": "arrowNavigation"
|
|
27156
|
-
},
|
|
27157
28111
|
{
|
|
27158
28112
|
"type": {
|
|
27159
28113
|
"text": "string"
|
|
@@ -29998,6 +30952,17 @@
|
|
|
29998
30952
|
"attribute": "color",
|
|
29999
30953
|
"reflects": true
|
|
30000
30954
|
},
|
|
30955
|
+
{
|
|
30956
|
+
"kind": "field",
|
|
30957
|
+
"name": "customColor",
|
|
30958
|
+
"type": {
|
|
30959
|
+
"text": "string"
|
|
30960
|
+
},
|
|
30961
|
+
"default": "''",
|
|
30962
|
+
"description": "Handed to the styles as a custom property rather than read from the\nattribute in CSS: `attr()` with a type is not available everywhere yet,\nand this keeps one code path.",
|
|
30963
|
+
"attribute": "custom-color",
|
|
30964
|
+
"reflects": true
|
|
30965
|
+
},
|
|
30001
30966
|
{
|
|
30002
30967
|
"kind": "field",
|
|
30003
30968
|
"name": "pulse",
|
|
@@ -30097,7 +31062,16 @@
|
|
|
30097
31062
|
},
|
|
30098
31063
|
"default": "'critical'",
|
|
30099
31064
|
"fieldName": "color",
|
|
30100
|
-
"description": "Semantic ('critical' | 'accent' | 'neutral' | 'warning' | 'success')
|
|
31065
|
+
"description": "Semantic ('critical' | 'accent' | 'neutral' | 'warning' | 'success'), a Rijkshuisstijl color ('lintblauw' | 'hemelblauw' | 'oranje' | …), or 'inherit' to fill in the content color around it: the `--context-content-color` channel a list item, table row or menu sets, falling back to `currentColor`. Default: 'critical'"
|
|
31066
|
+
},
|
|
31067
|
+
{
|
|
31068
|
+
"name": "custom-color",
|
|
31069
|
+
"type": {
|
|
31070
|
+
"text": "string"
|
|
31071
|
+
},
|
|
31072
|
+
"default": "''",
|
|
31073
|
+
"description": "A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the design system cannot know: the jacket of a cable, a color someone picked. It wins over `color`. Whatever it paints, the text and icon on top become white or black, whichever contrasts. The text on it is black or white, picked on the relative luminance of the fill, so it clears 4.5:1 whatever color you hand it.",
|
|
31074
|
+
"fieldName": "customColor"
|
|
30101
31075
|
},
|
|
30102
31076
|
{
|
|
30103
31077
|
"name": "pulse",
|
|
@@ -32653,6 +33627,46 @@
|
|
|
32653
33627
|
}
|
|
32654
33628
|
]
|
|
32655
33629
|
},
|
|
33630
|
+
{
|
|
33631
|
+
"kind": "javascript-module",
|
|
33632
|
+
"path": "src/utilities/implicit-submission.ts",
|
|
33633
|
+
"declarations": [
|
|
33634
|
+
{
|
|
33635
|
+
"kind": "function",
|
|
33636
|
+
"name": "submitOnEnter",
|
|
33637
|
+
"return": {
|
|
33638
|
+
"type": {
|
|
33639
|
+
"text": ""
|
|
33640
|
+
}
|
|
33641
|
+
},
|
|
33642
|
+
"parameters": [
|
|
33643
|
+
{
|
|
33644
|
+
"name": "host",
|
|
33645
|
+
"type": {
|
|
33646
|
+
"text": "HTMLElement & { internals: ElementInternals }"
|
|
33647
|
+
}
|
|
33648
|
+
},
|
|
33649
|
+
{
|
|
33650
|
+
"name": "event",
|
|
33651
|
+
"type": {
|
|
33652
|
+
"text": "KeyboardEvent"
|
|
33653
|
+
}
|
|
33654
|
+
}
|
|
33655
|
+
],
|
|
33656
|
+
"description": "Submits the form this field belongs to, under the same conditions the browser\nuses.\n\nDoes nothing when something already handled the Enter. A component that owns\nthe key calls `preventDefault` when it acts on it and leaves it alone when it\ndoes not, so an open date picker keeps its Enter and a token field that\ncommits nothing lets the form through.\n\nWithout a submit button the specification submits only when the form holds a\nsingle field that blocks implicit submission. Reproducing that rule matters\nmore than it looks: an Enter that behaves differently inside this design\nsystem than outside it is worse than one that does nothing."
|
|
33657
|
+
}
|
|
33658
|
+
],
|
|
33659
|
+
"exports": [
|
|
33660
|
+
{
|
|
33661
|
+
"kind": "js",
|
|
33662
|
+
"name": "submitOnEnter",
|
|
33663
|
+
"declaration": {
|
|
33664
|
+
"name": "submitOnEnter",
|
|
33665
|
+
"module": "src/utilities/implicit-submission.ts"
|
|
33666
|
+
}
|
|
33667
|
+
}
|
|
33668
|
+
]
|
|
33669
|
+
},
|
|
32656
33670
|
{
|
|
32657
33671
|
"kind": "javascript-module",
|
|
32658
33672
|
"path": "src/utilities/input-modality.ts",
|
|
@@ -32890,6 +33904,59 @@
|
|
|
32890
33904
|
}
|
|
32891
33905
|
]
|
|
32892
33906
|
},
|
|
33907
|
+
{
|
|
33908
|
+
"kind": "javascript-module",
|
|
33909
|
+
"path": "src/utilities/owned-attribute.ts",
|
|
33910
|
+
"declarations": [
|
|
33911
|
+
{
|
|
33912
|
+
"kind": "function",
|
|
33913
|
+
"name": "setOwnedAttribute",
|
|
33914
|
+
"return": {
|
|
33915
|
+
"type": {
|
|
33916
|
+
"text": ""
|
|
33917
|
+
}
|
|
33918
|
+
},
|
|
33919
|
+
"parameters": [
|
|
33920
|
+
{
|
|
33921
|
+
"name": "el",
|
|
33922
|
+
"type": {
|
|
33923
|
+
"text": "Element"
|
|
33924
|
+
}
|
|
33925
|
+
},
|
|
33926
|
+
{
|
|
33927
|
+
"name": "name",
|
|
33928
|
+
"type": {
|
|
33929
|
+
"text": "string"
|
|
33930
|
+
}
|
|
33931
|
+
},
|
|
33932
|
+
{
|
|
33933
|
+
"name": "value",
|
|
33934
|
+
"type": {
|
|
33935
|
+
"text": "string"
|
|
33936
|
+
}
|
|
33937
|
+
},
|
|
33938
|
+
{
|
|
33939
|
+
"name": "applied",
|
|
33940
|
+
"type": {
|
|
33941
|
+
"text": "string | null"
|
|
33942
|
+
},
|
|
33943
|
+
"description": "what this component wrote here last time, or null"
|
|
33944
|
+
}
|
|
33945
|
+
],
|
|
33946
|
+
"description": "An attribute one component hands to another without overruling what is\nalready there.\n\nThe closer to the control, the more specific, so the heavier it weighs. An\n`aria-label` on a slotted `<select>` beats the `accessible-label` on the\nwrapper around it, which beats the caption of the `nldd-form-field` above\nthat. Every layer does two things and no more: it fills a gap, and it takes\nback only what it wrote itself.\n\nWithout that second half a component reads \"I have no name to give\" as\n\"remove the name that is there\", which is how a documented way of naming a\ncontrol quietly stopped working."
|
|
33947
|
+
}
|
|
33948
|
+
],
|
|
33949
|
+
"exports": [
|
|
33950
|
+
{
|
|
33951
|
+
"kind": "js",
|
|
33952
|
+
"name": "setOwnedAttribute",
|
|
33953
|
+
"declaration": {
|
|
33954
|
+
"name": "setOwnedAttribute",
|
|
33955
|
+
"module": "src/utilities/owned-attribute.ts"
|
|
33956
|
+
}
|
|
33957
|
+
}
|
|
33958
|
+
]
|
|
33959
|
+
},
|
|
32893
33960
|
{
|
|
32894
33961
|
"kind": "javascript-module",
|
|
32895
33962
|
"path": "src/utilities/page-section-mixin.ts",
|
|
@@ -33674,7 +34741,7 @@
|
|
|
33674
34741
|
}
|
|
33675
34742
|
}
|
|
33676
34743
|
],
|
|
33677
|
-
"description": "Nearest ancestor app-view (light-DOM `closest`; slotted layers stay in the\nconsumer's light tree so this reaches across the slot boundaries), or null\nwhen a layer is used stand-alone (e.g. a bare page in the docs)."
|
|
34744
|
+
"description": "Nearest ancestor app-view (light-DOM `closest`; slotted layers stay in the\nconsumer's light tree so this reaches across the slot boundaries), or null\nwhen a layer is used stand-alone (e.g. a bare page in the docs).\n\nAn overlay ends the search: a sheet or a modal dialog is its own scroll\ncontainer and its own top edge, so a page inside one owns its scroller\nwhatever the app around it does. Without this the app-view would push its\nroot mode straight through the overlay and the page's sticky header would\nstick against the document, over the content of the overlay. The overlays\nreset --context-scroll-mode as well, which is what the stand-alone read\nbelow then finds."
|
|
33678
34745
|
},
|
|
33679
34746
|
{
|
|
33680
34747
|
"kind": "class",
|