@nldd/design-system 0.8.76 → 0.8.78
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 +1094 -186
- package/dist/components/actions/menu/menu.js +1 -1
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +1 -0
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.js +1 -1
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/components.js +16 -14
- package/dist/components/content/avatar/avatar.d.ts +9 -9
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +15 -15
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +2 -2
- package/dist/components/content/icon/icon-registry.js +1 -1
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +4 -1
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/tag/tag.js +6 -6
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/forms/form/form.js +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +3 -3
- package/dist/components/forms/form-actions/form-actions.js +3 -3
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +11 -10
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/{index-DumgCqWu.js → index-BNg_kPou.js} +1 -1
- package/dist/components/{index-C51CBKdx.js → index-BmVf8Da6.js} +1 -1
- package/dist/components/{index-B04kRPqo.js → index-CU-wlUnI.js} +3142 -1752
- package/dist/components/{index-CGIRur7T.js → index-CcCKQ3Dj.js} +1 -1
- package/dist/components/{index-C6fLE8SI.js → index-D03jbAoU.js} +1 -1
- package/dist/components/{index-CnPUd-yq.js → index-D68oJ-Le.js} +1 -1
- package/dist/components/{index-Ch1zpGsx.js → index-v6dIt9IT.js} +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +3 -3
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.js +7 -7
- package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +3 -3
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +31 -29
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +5 -5
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.i18n.js +18 -18
- package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +6 -6
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +1 -1
- package/dist/components/inputs/number-field/number-field.js +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +9 -0
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +3 -3
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +242 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -0
- package/dist/components/inputs/time-field/time-field.i18n.d.ts +8 -0
- package/dist/components/inputs/time-field/time-field.i18n.d.ts.map +1 -0
- package/dist/components/inputs/time-field/time-field.i18n.js +14 -0
- package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -0
- package/dist/components/inputs/time-field/time-field.js +641 -0
- package/dist/components/inputs/time-field/time-field.js.map +1 -0
- package/dist/components/inputs/time-field/time-field.styles.d.ts +2 -0
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -0
- package/dist/components/inputs/time-field/time-field.styles.js +192 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -0
- package/dist/components/inputs/time-field/time-field.template.d.ts +20 -0
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -0
- package/dist/components/inputs/time-field/time-field.template.js +126 -0
- package/dist/components/inputs/time-field/time-field.template.js.map +1 -0
- package/dist/components/inputs/time-picker/time-picker.d.ts +135 -0
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -0
- package/dist/components/inputs/time-picker/time-picker.i18n.d.ts +7 -0
- package/dist/components/inputs/time-picker/time-picker.i18n.d.ts.map +1 -0
- package/dist/components/inputs/time-picker/time-picker.i18n.js +10 -0
- package/dist/components/inputs/time-picker/time-picker.i18n.js.map +1 -0
- package/dist/components/inputs/time-picker/time-picker.js +386 -0
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -0
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts +2 -0
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -0
- package/dist/components/inputs/time-picker/time-picker.styles.js +183 -0
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -0
- package/dist/components/inputs/time-picker/time-picker.template.d.ts +4 -0
- package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -0
- package/dist/components/inputs/time-picker/time-picker.template.js +87 -0
- package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -0
- package/dist/components/layout/box/box.styles.js +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +6 -0
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +2 -2
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +75 -71
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +14 -0
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.js +6 -6
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +1 -1
- package/dist/components/lists-and-tables/list/list.js +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +3 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +3 -0
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.i18n.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +5 -0
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +27 -10
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.js +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +8 -2
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +4 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/css/variables.css +4 -1
- package/dist/nldd.min.js +22269 -0
- package/dist/palettes.html +245 -0
- package/dist/sample-images/butterfly-1200.jpg +0 -0
- package/dist/sample-images/butterfly-1600.jpg +0 -0
- package/dist/sample-images/butterfly-480.jpg +0 -0
- package/dist/sample-images/butterfly-960.jpg +0 -0
- package/dist/types/vue.d.ts +90 -3
- package/package.json +16 -4
package/custom-elements.json
CHANGED
|
@@ -2813,7 +2813,7 @@
|
|
|
2813
2813
|
"text": "string"
|
|
2814
2814
|
},
|
|
2815
2815
|
"default": "''",
|
|
2816
|
-
"description": "
|
|
2816
|
+
"description": "Makes the avatar one link: the disc itself becomes the <a>, so the click\narea and the focus ring follow its shape (an overlay would be square).",
|
|
2817
2817
|
"attribute": "href",
|
|
2818
2818
|
"reflects": true
|
|
2819
2819
|
},
|
|
@@ -2824,7 +2824,7 @@
|
|
|
2824
2824
|
"text": "boolean"
|
|
2825
2825
|
},
|
|
2826
2826
|
"default": "false",
|
|
2827
|
-
"description": "
|
|
2827
|
+
"description": "Makes the avatar a button. Ignored once `href` is set: one avatar is one\naction, and a link outranks a button (the same rule as nldd-card).",
|
|
2828
2828
|
"attribute": "button",
|
|
2829
2829
|
"reflects": true
|
|
2830
2830
|
},
|
|
@@ -2853,7 +2853,7 @@
|
|
|
2853
2853
|
"text": "string"
|
|
2854
2854
|
},
|
|
2855
2855
|
"default": "''",
|
|
2856
|
-
"description": "
|
|
2856
|
+
"description": "Accessible name of the link or button. Without it, it falls back to\n`name`. Only matters when the avatar is interactive.",
|
|
2857
2857
|
"attribute": "accessible-label"
|
|
2858
2858
|
},
|
|
2859
2859
|
{
|
|
@@ -2862,7 +2862,7 @@
|
|
|
2862
2862
|
"type": {
|
|
2863
2863
|
"text": "boolean"
|
|
2864
2864
|
},
|
|
2865
|
-
"description": "True
|
|
2865
|
+
"description": "True once the avatar is a control itself.",
|
|
2866
2866
|
"readonly": true
|
|
2867
2867
|
},
|
|
2868
2868
|
{
|
|
@@ -5038,7 +5038,7 @@
|
|
|
5038
5038
|
"text": "LabelAlignment | undefined"
|
|
5039
5039
|
},
|
|
5040
5040
|
"default": "undefined",
|
|
5041
|
-
"description": "Default is `undefined` (and not `'top'`) so Lit doesn't reflect the\ndefault value to the attribute on first update.
|
|
5041
|
+
"description": "Default is `undefined` (and not `'top'`) so Lit doesn't reflect the\ndefault value to the attribute on first update. See `nldd-form-field` for\nthe explanation, for the same reason: the form-label-alignment fallback CSS\nworks on `:not([label-alignment])`.",
|
|
5042
5042
|
"attribute": "label-alignment",
|
|
5043
5043
|
"reflects": true
|
|
5044
5044
|
}
|
|
@@ -5789,6 +5789,22 @@
|
|
|
5789
5789
|
"module": "./inputs/text-field/text-field.js"
|
|
5790
5790
|
}
|
|
5791
5791
|
},
|
|
5792
|
+
{
|
|
5793
|
+
"kind": "js",
|
|
5794
|
+
"name": "NLDDTimeField",
|
|
5795
|
+
"declaration": {
|
|
5796
|
+
"name": "NLDDTimeField",
|
|
5797
|
+
"module": "./inputs/time-field/time-field.js"
|
|
5798
|
+
}
|
|
5799
|
+
},
|
|
5800
|
+
{
|
|
5801
|
+
"kind": "js",
|
|
5802
|
+
"name": "NLDDTimePicker",
|
|
5803
|
+
"declaration": {
|
|
5804
|
+
"name": "NLDDTimePicker",
|
|
5805
|
+
"module": "./inputs/time-picker/time-picker.js"
|
|
5806
|
+
}
|
|
5807
|
+
},
|
|
5792
5808
|
{
|
|
5793
5809
|
"kind": "js",
|
|
5794
5810
|
"name": "NLDDToggleButton",
|
|
@@ -7968,7 +7984,7 @@
|
|
|
7968
7984
|
"text": "string"
|
|
7969
7985
|
},
|
|
7970
7986
|
"default": "''",
|
|
7971
|
-
"description": "
|
|
7987
|
+
"description": "Accessible label for the inner input. Set automatically by nldd-form-field.",
|
|
7972
7988
|
"attribute": "accessible-label"
|
|
7973
7989
|
},
|
|
7974
7990
|
{
|
|
@@ -7987,7 +8003,7 @@
|
|
|
7987
8003
|
"text": "string"
|
|
7988
8004
|
},
|
|
7989
8005
|
"default": "''",
|
|
7990
|
-
"description": "
|
|
8006
|
+
"description": "Optional fixed width. Without a value the field fills its container.",
|
|
7991
8007
|
"attribute": "width",
|
|
7992
8008
|
"reflects": true
|
|
7993
8009
|
},
|
|
@@ -7998,7 +8014,7 @@
|
|
|
7998
8014
|
"text": "Partial<NLDDDateFieldTranslations>"
|
|
7999
8015
|
},
|
|
8000
8016
|
"default": "{}",
|
|
8001
|
-
"description": "
|
|
8017
|
+
"description": "Override one or more translation keys. Keys left out fall back to Dutch.",
|
|
8002
8018
|
"attribute": "translations"
|
|
8003
8019
|
},
|
|
8004
8020
|
{
|
|
@@ -8378,7 +8394,7 @@
|
|
|
8378
8394
|
"text": "string"
|
|
8379
8395
|
},
|
|
8380
8396
|
"default": "''",
|
|
8381
|
-
"description": "
|
|
8397
|
+
"description": "Width: 'full' or a CSS length. Empty is the intrinsic seven-cell width.",
|
|
8382
8398
|
"attribute": "width",
|
|
8383
8399
|
"reflects": true
|
|
8384
8400
|
},
|
|
@@ -14973,116 +14989,1042 @@
|
|
|
14973
14989
|
}
|
|
14974
14990
|
},
|
|
14975
14991
|
{
|
|
14976
|
-
"kind": "method",
|
|
14977
|
-
"name": "focus",
|
|
14978
|
-
"return": {
|
|
14979
|
-
"type": {
|
|
14980
|
-
"text": "void"
|
|
14981
|
-
}
|
|
14992
|
+
"kind": "method",
|
|
14993
|
+
"name": "focus",
|
|
14994
|
+
"return": {
|
|
14995
|
+
"type": {
|
|
14996
|
+
"text": "void"
|
|
14997
|
+
}
|
|
14998
|
+
},
|
|
14999
|
+
"parameters": [
|
|
15000
|
+
{
|
|
15001
|
+
"name": "options",
|
|
15002
|
+
"optional": true,
|
|
15003
|
+
"type": {
|
|
15004
|
+
"text": "FocusOptions"
|
|
15005
|
+
}
|
|
15006
|
+
}
|
|
15007
|
+
],
|
|
15008
|
+
"description": "Delegates focus to the inner native `<input>`, so consumers can call\n`textFieldEl.focus()` without reaching into shadow DOM."
|
|
15009
|
+
},
|
|
15010
|
+
{
|
|
15011
|
+
"kind": "field",
|
|
15012
|
+
"name": "formAssociated",
|
|
15013
|
+
"type": {
|
|
15014
|
+
"text": "boolean"
|
|
15015
|
+
},
|
|
15016
|
+
"static": true,
|
|
15017
|
+
"default": "true",
|
|
15018
|
+
"inheritedFrom": {
|
|
15019
|
+
"name": "FormAssociated",
|
|
15020
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15021
|
+
}
|
|
15022
|
+
},
|
|
15023
|
+
{
|
|
15024
|
+
"kind": "field",
|
|
15025
|
+
"name": "internals",
|
|
15026
|
+
"readonly": true,
|
|
15027
|
+
"inheritedFrom": {
|
|
15028
|
+
"name": "FormAssociated",
|
|
15029
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15030
|
+
}
|
|
15031
|
+
},
|
|
15032
|
+
{
|
|
15033
|
+
"kind": "method",
|
|
15034
|
+
"name": "formState",
|
|
15035
|
+
"return": {
|
|
15036
|
+
"type": {
|
|
15037
|
+
"text": "FormValue | undefined"
|
|
15038
|
+
}
|
|
15039
|
+
},
|
|
15040
|
+
"description": "Extra state kept for bfcache and state restore, when the submitted\nvalue alone cannot rebuild the control (a combo box submits a code but\nshows a label). Override alongside `formValue()`.",
|
|
15041
|
+
"inheritedFrom": {
|
|
15042
|
+
"name": "FormAssociated",
|
|
15043
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15044
|
+
}
|
|
15045
|
+
},
|
|
15046
|
+
{
|
|
15047
|
+
"kind": "method",
|
|
15048
|
+
"name": "commitFormValue",
|
|
15049
|
+
"return": {
|
|
15050
|
+
"type": {
|
|
15051
|
+
"text": "void"
|
|
15052
|
+
}
|
|
15053
|
+
},
|
|
15054
|
+
"description": "Commit the value now, from the handler that changed it.",
|
|
15055
|
+
"inheritedFrom": {
|
|
15056
|
+
"name": "FormAssociated",
|
|
15057
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15058
|
+
}
|
|
15059
|
+
},
|
|
15060
|
+
{
|
|
15061
|
+
"kind": "method",
|
|
15062
|
+
"name": "formDisabledCallback",
|
|
15063
|
+
"return": {
|
|
15064
|
+
"type": {
|
|
15065
|
+
"text": "void"
|
|
15066
|
+
}
|
|
15067
|
+
},
|
|
15068
|
+
"parameters": [
|
|
15069
|
+
{
|
|
15070
|
+
"name": "disabled",
|
|
15071
|
+
"type": {
|
|
15072
|
+
"text": "boolean"
|
|
15073
|
+
}
|
|
15074
|
+
}
|
|
15075
|
+
],
|
|
15076
|
+
"inheritedFrom": {
|
|
15077
|
+
"name": "FormAssociated",
|
|
15078
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15079
|
+
}
|
|
15080
|
+
}
|
|
15081
|
+
],
|
|
15082
|
+
"events": [
|
|
15083
|
+
{
|
|
15084
|
+
"name": "input",
|
|
15085
|
+
"description": "When input value changes"
|
|
15086
|
+
},
|
|
15087
|
+
{
|
|
15088
|
+
"name": "change",
|
|
15089
|
+
"description": "When input value is committed"
|
|
15090
|
+
}
|
|
15091
|
+
],
|
|
15092
|
+
"attributes": [
|
|
15093
|
+
{
|
|
15094
|
+
"name": "size",
|
|
15095
|
+
"type": {
|
|
15096
|
+
"text": "'md' | 'sm'"
|
|
15097
|
+
},
|
|
15098
|
+
"default": "'md'",
|
|
15099
|
+
"fieldName": "size",
|
|
15100
|
+
"description": "'md' (default) | 'sm'. Set automatically by nldd-form-field."
|
|
15101
|
+
},
|
|
15102
|
+
{
|
|
15103
|
+
"name": "value",
|
|
15104
|
+
"type": {
|
|
15105
|
+
"text": "string"
|
|
15106
|
+
},
|
|
15107
|
+
"default": "''",
|
|
15108
|
+
"fieldName": "value",
|
|
15109
|
+
"description": "The input value"
|
|
15110
|
+
},
|
|
15111
|
+
{
|
|
15112
|
+
"name": "input-id",
|
|
15113
|
+
"type": {
|
|
15114
|
+
"text": "string"
|
|
15115
|
+
},
|
|
15116
|
+
"default": "''",
|
|
15117
|
+
"fieldName": "inputId",
|
|
15118
|
+
"description": "Sets the id on the native input. Set automatically by nldd-form-field."
|
|
15119
|
+
},
|
|
15120
|
+
{
|
|
15121
|
+
"name": "placeholder",
|
|
15122
|
+
"type": {
|
|
15123
|
+
"text": "string"
|
|
15124
|
+
},
|
|
15125
|
+
"default": "''",
|
|
15126
|
+
"fieldName": "placeholder",
|
|
15127
|
+
"description": "Placeholder text"
|
|
15128
|
+
},
|
|
15129
|
+
{
|
|
15130
|
+
"name": "invalid",
|
|
15131
|
+
"type": {
|
|
15132
|
+
"text": "boolean"
|
|
15133
|
+
},
|
|
15134
|
+
"default": "false",
|
|
15135
|
+
"fieldName": "invalid",
|
|
15136
|
+
"description": "Marks the field as invalid"
|
|
15137
|
+
},
|
|
15138
|
+
{
|
|
15139
|
+
"name": "valid",
|
|
15140
|
+
"type": {
|
|
15141
|
+
"text": "boolean"
|
|
15142
|
+
},
|
|
15143
|
+
"default": "false",
|
|
15144
|
+
"fieldName": "valid",
|
|
15145
|
+
"description": "Marks the field as valid"
|
|
15146
|
+
},
|
|
15147
|
+
{
|
|
15148
|
+
"name": "disabled",
|
|
15149
|
+
"type": {
|
|
15150
|
+
"text": "boolean"
|
|
15151
|
+
},
|
|
15152
|
+
"default": "false",
|
|
15153
|
+
"fieldName": "disabled",
|
|
15154
|
+
"description": "Disabled state"
|
|
15155
|
+
},
|
|
15156
|
+
{
|
|
15157
|
+
"name": "type",
|
|
15158
|
+
"type": {
|
|
15159
|
+
"text": "InputType"
|
|
15160
|
+
},
|
|
15161
|
+
"default": "'text'",
|
|
15162
|
+
"fieldName": "type",
|
|
15163
|
+
"description": "Input type: 'text' | 'email' | 'tel' | 'url'"
|
|
15164
|
+
},
|
|
15165
|
+
{
|
|
15166
|
+
"name": "name",
|
|
15167
|
+
"type": {
|
|
15168
|
+
"text": "string"
|
|
15169
|
+
},
|
|
15170
|
+
"default": "''",
|
|
15171
|
+
"fieldName": "name",
|
|
15172
|
+
"description": "Input name for form submission"
|
|
15173
|
+
},
|
|
15174
|
+
{
|
|
15175
|
+
"name": "readonly",
|
|
15176
|
+
"type": {
|
|
15177
|
+
"text": "boolean"
|
|
15178
|
+
},
|
|
15179
|
+
"default": "false",
|
|
15180
|
+
"fieldName": "readonly",
|
|
15181
|
+
"description": "Readonly state"
|
|
15182
|
+
},
|
|
15183
|
+
{
|
|
15184
|
+
"name": "required",
|
|
15185
|
+
"type": {
|
|
15186
|
+
"text": "boolean"
|
|
15187
|
+
},
|
|
15188
|
+
"default": "false",
|
|
15189
|
+
"fieldName": "required",
|
|
15190
|
+
"description": "Required state"
|
|
15191
|
+
},
|
|
15192
|
+
{
|
|
15193
|
+
"name": "autocomplete",
|
|
15194
|
+
"type": {
|
|
15195
|
+
"text": "string"
|
|
15196
|
+
},
|
|
15197
|
+
"default": "''",
|
|
15198
|
+
"fieldName": "autocomplete",
|
|
15199
|
+
"description": "Autocomplete hint"
|
|
15200
|
+
},
|
|
15201
|
+
{
|
|
15202
|
+
"name": "accessible-label",
|
|
15203
|
+
"type": {
|
|
15204
|
+
"text": "string"
|
|
15205
|
+
},
|
|
15206
|
+
"default": "''",
|
|
15207
|
+
"description": "Accessible label forwarded to the inner input. Set automatically by nldd-form-field.",
|
|
15208
|
+
"fieldName": "accessibleLabel"
|
|
15209
|
+
},
|
|
15210
|
+
{
|
|
15211
|
+
"name": "error-message-ids",
|
|
15212
|
+
"type": {
|
|
15213
|
+
"text": "string"
|
|
15214
|
+
},
|
|
15215
|
+
"default": "''",
|
|
15216
|
+
"fieldName": "errorMessageIds",
|
|
15217
|
+
"description": "Ids for aria-describedby on the inner input. Set automatically by nldd-form-field."
|
|
15218
|
+
},
|
|
15219
|
+
{
|
|
15220
|
+
"name": "no-spellcheck",
|
|
15221
|
+
"type": {
|
|
15222
|
+
"text": "boolean"
|
|
15223
|
+
},
|
|
15224
|
+
"default": "false",
|
|
15225
|
+
"fieldName": "noSpellcheck",
|
|
15226
|
+
"description": "Disables browser spellchecking on the inner input"
|
|
15227
|
+
},
|
|
15228
|
+
{
|
|
15229
|
+
"name": "width",
|
|
15230
|
+
"type": {
|
|
15231
|
+
"text": "string"
|
|
15232
|
+
},
|
|
15233
|
+
"default": "''",
|
|
15234
|
+
"description": "Optional fixed width (any CSS length, e.g. \"240px\"). Default: stretches to fill container.",
|
|
15235
|
+
"fieldName": "width"
|
|
15236
|
+
}
|
|
15237
|
+
],
|
|
15238
|
+
"mixins": [
|
|
15239
|
+
{
|
|
15240
|
+
"name": "FormAssociated",
|
|
15241
|
+
"module": "/src/utilities/form-associated-mixin.js"
|
|
15242
|
+
}
|
|
15243
|
+
],
|
|
15244
|
+
"superclass": {
|
|
15245
|
+
"name": "LitElement",
|
|
15246
|
+
"package": "lit"
|
|
15247
|
+
},
|
|
15248
|
+
"tagName": "nldd-text-field",
|
|
15249
|
+
"customElement": true
|
|
15250
|
+
}
|
|
15251
|
+
],
|
|
15252
|
+
"exports": [
|
|
15253
|
+
{
|
|
15254
|
+
"kind": "js",
|
|
15255
|
+
"name": "NLDDTextField",
|
|
15256
|
+
"declaration": {
|
|
15257
|
+
"name": "NLDDTextField",
|
|
15258
|
+
"module": "src/components/inputs/text-field/text-field.ts"
|
|
15259
|
+
}
|
|
15260
|
+
},
|
|
15261
|
+
{
|
|
15262
|
+
"kind": "custom-element-definition",
|
|
15263
|
+
"name": "nldd-text-field",
|
|
15264
|
+
"declaration": {
|
|
15265
|
+
"name": "NLDDTextField",
|
|
15266
|
+
"module": "src/components/inputs/text-field/text-field.ts"
|
|
15267
|
+
}
|
|
15268
|
+
}
|
|
15269
|
+
]
|
|
15270
|
+
},
|
|
15271
|
+
{
|
|
15272
|
+
"kind": "javascript-module",
|
|
15273
|
+
"path": "src/components/inputs/time-field/time-field.ts",
|
|
15274
|
+
"declarations": [
|
|
15275
|
+
{
|
|
15276
|
+
"kind": "function",
|
|
15277
|
+
"name": "parseTime",
|
|
15278
|
+
"return": {
|
|
15279
|
+
"type": {
|
|
15280
|
+
"text": "string | null"
|
|
15281
|
+
}
|
|
15282
|
+
},
|
|
15283
|
+
"parameters": [
|
|
15284
|
+
{
|
|
15285
|
+
"name": "raw",
|
|
15286
|
+
"type": {
|
|
15287
|
+
"text": "string"
|
|
15288
|
+
}
|
|
15289
|
+
}
|
|
15290
|
+
],
|
|
15291
|
+
"description": "Read a typed time generously. Deliberately not a mask: reformatting per\nkeystroke moves the caret, breaks backspace mid-value and confuses screen\nreaders, so we accept what people type and normalize once on commit.\n\nAccepts 9, 09, 9:30, 9.30, 9,30, 9u30, 930 and 0930. After a letter the\nminutes may be left off (\"9u\" is a finished thought), after punctuation they\nmay not: \"9:\" is halfway through typing and should not produce a value yet."
|
|
15292
|
+
},
|
|
15293
|
+
{
|
|
15294
|
+
"kind": "function",
|
|
15295
|
+
"name": "roundToStep",
|
|
15296
|
+
"return": {
|
|
15297
|
+
"type": {
|
|
15298
|
+
"text": "string"
|
|
15299
|
+
}
|
|
15300
|
+
},
|
|
15301
|
+
"parameters": [
|
|
15302
|
+
{
|
|
15303
|
+
"name": "time",
|
|
15304
|
+
"type": {
|
|
15305
|
+
"text": "string"
|
|
15306
|
+
}
|
|
15307
|
+
},
|
|
15308
|
+
{
|
|
15309
|
+
"name": "step",
|
|
15310
|
+
"type": {
|
|
15311
|
+
"text": "number"
|
|
15312
|
+
}
|
|
15313
|
+
},
|
|
15314
|
+
{
|
|
15315
|
+
"name": "base",
|
|
15316
|
+
"default": "'00:00'"
|
|
15317
|
+
}
|
|
15318
|
+
],
|
|
15319
|
+
"description": "The nearest time that falls on the step, counted from `base`. Input exactly\nin between rounds up.\n\nNever rolls over the edge of the day: if rounding up would pass 23:59, step\nback instead. Rolling over to 00:00 silently shifts the day, and a consumer\nwho puts this field next to a date field then has a bug nobody sees\ncoming."
|
|
15320
|
+
},
|
|
15321
|
+
{
|
|
15322
|
+
"kind": "class",
|
|
15323
|
+
"description": "Een tekstveld voor een tijd. De waarde is altijd 24-uurs `HH:mm`; dat is in het Nederlands ook de weergave, dus anders dan bij nldd-date-field valt er niets om te rekenen. Er wordt niet gemaskeerd tijdens het typen: invoer wordt royaal geaccepteerd en pas bij het verlaten van het veld genormaliseerd. Foutmeldingen horen bij nldd-form-field, niet hier. Dit veld reflecteert alleen `invalid` / `valid`, net als nldd-text-field. Wat je in de picker doet is een voorbeeld tot je hem verlaat: het veld toont de tijd meteen, maar legt hem pas vast bij het sluiten. \"Klaar\" en Enter houden de keuze, een klik ernaast ook zodra je iets gekozen hebt, en Annuleer en Escape zetten de oude tijd terug. Op een leeg veld openen de wielen op `min`, of anders op de huidige tijd afgerond op `step`; dat vult het veld nog niet in.",
|
|
15324
|
+
"name": "NLDDTimeField",
|
|
15325
|
+
"members": [
|
|
15326
|
+
{
|
|
15327
|
+
"kind": "field",
|
|
15328
|
+
"name": "shadowRootOptions",
|
|
15329
|
+
"type": {
|
|
15330
|
+
"text": "object"
|
|
15331
|
+
},
|
|
15332
|
+
"static": true,
|
|
15333
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
15334
|
+
},
|
|
15335
|
+
{
|
|
15336
|
+
"kind": "field",
|
|
15337
|
+
"name": "size",
|
|
15338
|
+
"type": {
|
|
15339
|
+
"text": "'md' | 'sm'"
|
|
15340
|
+
},
|
|
15341
|
+
"default": "'md'",
|
|
15342
|
+
"attribute": "size",
|
|
15343
|
+
"reflects": true
|
|
15344
|
+
},
|
|
15345
|
+
{
|
|
15346
|
+
"kind": "field",
|
|
15347
|
+
"name": "value",
|
|
15348
|
+
"type": {
|
|
15349
|
+
"text": "string"
|
|
15350
|
+
},
|
|
15351
|
+
"default": "''",
|
|
15352
|
+
"attribute": "value"
|
|
15353
|
+
},
|
|
15354
|
+
{
|
|
15355
|
+
"kind": "field",
|
|
15356
|
+
"name": "min",
|
|
15357
|
+
"type": {
|
|
15358
|
+
"text": "string"
|
|
15359
|
+
},
|
|
15360
|
+
"default": "''",
|
|
15361
|
+
"attribute": "min"
|
|
15362
|
+
},
|
|
15363
|
+
{
|
|
15364
|
+
"kind": "field",
|
|
15365
|
+
"name": "max",
|
|
15366
|
+
"type": {
|
|
15367
|
+
"text": "string"
|
|
15368
|
+
},
|
|
15369
|
+
"default": "''",
|
|
15370
|
+
"attribute": "max"
|
|
15371
|
+
},
|
|
15372
|
+
{
|
|
15373
|
+
"kind": "field",
|
|
15374
|
+
"name": "step",
|
|
15375
|
+
"type": {
|
|
15376
|
+
"text": "number"
|
|
15377
|
+
},
|
|
15378
|
+
"default": "1",
|
|
15379
|
+
"attribute": "step"
|
|
15380
|
+
},
|
|
15381
|
+
{
|
|
15382
|
+
"kind": "field",
|
|
15383
|
+
"name": "noPicker",
|
|
15384
|
+
"type": {
|
|
15385
|
+
"text": "boolean"
|
|
15386
|
+
},
|
|
15387
|
+
"default": "false",
|
|
15388
|
+
"attribute": "no-picker",
|
|
15389
|
+
"reflects": true
|
|
15390
|
+
},
|
|
15391
|
+
{
|
|
15392
|
+
"kind": "field",
|
|
15393
|
+
"name": "inputId",
|
|
15394
|
+
"type": {
|
|
15395
|
+
"text": "string"
|
|
15396
|
+
},
|
|
15397
|
+
"default": "''",
|
|
15398
|
+
"attribute": "input-id"
|
|
15399
|
+
},
|
|
15400
|
+
{
|
|
15401
|
+
"kind": "field",
|
|
15402
|
+
"name": "placeholder",
|
|
15403
|
+
"type": {
|
|
15404
|
+
"text": "string"
|
|
15405
|
+
},
|
|
15406
|
+
"default": "''",
|
|
15407
|
+
"attribute": "placeholder",
|
|
15408
|
+
"reflects": true
|
|
15409
|
+
},
|
|
15410
|
+
{
|
|
15411
|
+
"kind": "field",
|
|
15412
|
+
"name": "invalid",
|
|
15413
|
+
"type": {
|
|
15414
|
+
"text": "boolean"
|
|
15415
|
+
},
|
|
15416
|
+
"default": "false",
|
|
15417
|
+
"attribute": "invalid",
|
|
15418
|
+
"reflects": true
|
|
15419
|
+
},
|
|
15420
|
+
{
|
|
15421
|
+
"kind": "field",
|
|
15422
|
+
"name": "valid",
|
|
15423
|
+
"type": {
|
|
15424
|
+
"text": "boolean"
|
|
15425
|
+
},
|
|
15426
|
+
"default": "false",
|
|
15427
|
+
"attribute": "valid",
|
|
15428
|
+
"reflects": true
|
|
15429
|
+
},
|
|
15430
|
+
{
|
|
15431
|
+
"kind": "field",
|
|
15432
|
+
"name": "disabled",
|
|
15433
|
+
"type": {
|
|
15434
|
+
"text": "boolean"
|
|
15435
|
+
},
|
|
15436
|
+
"default": "false",
|
|
15437
|
+
"attribute": "disabled",
|
|
15438
|
+
"reflects": true
|
|
15439
|
+
},
|
|
15440
|
+
{
|
|
15441
|
+
"kind": "field",
|
|
15442
|
+
"name": "readonly",
|
|
15443
|
+
"type": {
|
|
15444
|
+
"text": "boolean"
|
|
15445
|
+
},
|
|
15446
|
+
"default": "false",
|
|
15447
|
+
"attribute": "readonly",
|
|
15448
|
+
"reflects": true
|
|
15449
|
+
},
|
|
15450
|
+
{
|
|
15451
|
+
"kind": "field",
|
|
15452
|
+
"name": "required",
|
|
15453
|
+
"type": {
|
|
15454
|
+
"text": "boolean"
|
|
15455
|
+
},
|
|
15456
|
+
"default": "false",
|
|
15457
|
+
"attribute": "required",
|
|
15458
|
+
"reflects": true
|
|
15459
|
+
},
|
|
15460
|
+
{
|
|
15461
|
+
"kind": "field",
|
|
15462
|
+
"name": "name",
|
|
15463
|
+
"type": {
|
|
15464
|
+
"text": "string"
|
|
15465
|
+
},
|
|
15466
|
+
"default": "''",
|
|
15467
|
+
"attribute": "name",
|
|
15468
|
+
"reflects": true
|
|
15469
|
+
},
|
|
15470
|
+
{
|
|
15471
|
+
"kind": "field",
|
|
15472
|
+
"name": "autocomplete",
|
|
15473
|
+
"type": {
|
|
15474
|
+
"text": "string"
|
|
15475
|
+
},
|
|
15476
|
+
"default": "''",
|
|
15477
|
+
"attribute": "autocomplete"
|
|
15478
|
+
},
|
|
15479
|
+
{
|
|
15480
|
+
"kind": "field",
|
|
15481
|
+
"name": "accessibleLabel",
|
|
15482
|
+
"type": {
|
|
15483
|
+
"text": "string"
|
|
15484
|
+
},
|
|
15485
|
+
"default": "''",
|
|
15486
|
+
"description": "Accessible label for the inner input. Set automatically by nldd-form-field.",
|
|
15487
|
+
"attribute": "accessible-label"
|
|
15488
|
+
},
|
|
15489
|
+
{
|
|
15490
|
+
"kind": "field",
|
|
15491
|
+
"name": "errorMessageIds",
|
|
15492
|
+
"type": {
|
|
15493
|
+
"text": "string"
|
|
15494
|
+
},
|
|
15495
|
+
"default": "''",
|
|
15496
|
+
"attribute": "error-message-ids"
|
|
15497
|
+
},
|
|
15498
|
+
{
|
|
15499
|
+
"kind": "field",
|
|
15500
|
+
"name": "width",
|
|
15501
|
+
"type": {
|
|
15502
|
+
"text": "string"
|
|
15503
|
+
},
|
|
15504
|
+
"default": "''",
|
|
15505
|
+
"description": "Optional fixed width. Without a value the field is exactly wide enough.",
|
|
15506
|
+
"attribute": "width",
|
|
15507
|
+
"reflects": true
|
|
15508
|
+
},
|
|
15509
|
+
{
|
|
15510
|
+
"kind": "field",
|
|
15511
|
+
"name": "translations",
|
|
15512
|
+
"type": {
|
|
15513
|
+
"text": "Partial<NLDDTimeFieldTranslations>"
|
|
15514
|
+
},
|
|
15515
|
+
"default": "{}",
|
|
15516
|
+
"description": "Override one or more translation keys. Keys left out fall back to Dutch.",
|
|
15517
|
+
"attribute": "translations"
|
|
15518
|
+
},
|
|
15519
|
+
{
|
|
15520
|
+
"kind": "method",
|
|
15521
|
+
"name": "formValue",
|
|
15522
|
+
"return": {
|
|
15523
|
+
"type": {
|
|
15524
|
+
"text": "FormValue"
|
|
15525
|
+
}
|
|
15526
|
+
},
|
|
15527
|
+
"description": "The value submitted under `name`; `null` submits nothing. Override.",
|
|
15528
|
+
"inheritedFrom": {
|
|
15529
|
+
"name": "FormAssociated",
|
|
15530
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15531
|
+
}
|
|
15532
|
+
},
|
|
15533
|
+
{
|
|
15534
|
+
"kind": "method",
|
|
15535
|
+
"name": "formResetCallback",
|
|
15536
|
+
"return": {
|
|
15537
|
+
"type": {
|
|
15538
|
+
"text": "void"
|
|
15539
|
+
}
|
|
15540
|
+
}
|
|
15541
|
+
},
|
|
15542
|
+
{
|
|
15543
|
+
"kind": "method",
|
|
15544
|
+
"name": "formStateRestoreCallback",
|
|
15545
|
+
"return": {
|
|
15546
|
+
"type": {
|
|
15547
|
+
"text": "void"
|
|
15548
|
+
}
|
|
15549
|
+
},
|
|
15550
|
+
"parameters": [
|
|
15551
|
+
{
|
|
15552
|
+
"name": "state",
|
|
15553
|
+
"type": {
|
|
15554
|
+
"text": "File | string | FormData | null"
|
|
15555
|
+
}
|
|
15556
|
+
}
|
|
15557
|
+
]
|
|
15558
|
+
},
|
|
15559
|
+
{
|
|
15560
|
+
"kind": "field",
|
|
15561
|
+
"name": "formAssociated",
|
|
15562
|
+
"type": {
|
|
15563
|
+
"text": "boolean"
|
|
15564
|
+
},
|
|
15565
|
+
"static": true,
|
|
15566
|
+
"default": "true",
|
|
15567
|
+
"inheritedFrom": {
|
|
15568
|
+
"name": "FormAssociated",
|
|
15569
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15570
|
+
}
|
|
15571
|
+
},
|
|
15572
|
+
{
|
|
15573
|
+
"kind": "field",
|
|
15574
|
+
"name": "internals",
|
|
15575
|
+
"readonly": true,
|
|
15576
|
+
"inheritedFrom": {
|
|
15577
|
+
"name": "FormAssociated",
|
|
15578
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15579
|
+
}
|
|
15580
|
+
},
|
|
15581
|
+
{
|
|
15582
|
+
"kind": "method",
|
|
15583
|
+
"name": "formState",
|
|
15584
|
+
"return": {
|
|
15585
|
+
"type": {
|
|
15586
|
+
"text": "FormValue | undefined"
|
|
15587
|
+
}
|
|
15588
|
+
},
|
|
15589
|
+
"description": "Extra state kept for bfcache and state restore, when the submitted\nvalue alone cannot rebuild the control (a combo box submits a code but\nshows a label). Override alongside `formValue()`.",
|
|
15590
|
+
"inheritedFrom": {
|
|
15591
|
+
"name": "FormAssociated",
|
|
15592
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15593
|
+
}
|
|
15594
|
+
},
|
|
15595
|
+
{
|
|
15596
|
+
"kind": "method",
|
|
15597
|
+
"name": "commitFormValue",
|
|
15598
|
+
"return": {
|
|
15599
|
+
"type": {
|
|
15600
|
+
"text": "void"
|
|
15601
|
+
}
|
|
15602
|
+
},
|
|
15603
|
+
"description": "Commit the value now, from the handler that changed it.",
|
|
15604
|
+
"inheritedFrom": {
|
|
15605
|
+
"name": "FormAssociated",
|
|
15606
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15607
|
+
}
|
|
15608
|
+
},
|
|
15609
|
+
{
|
|
15610
|
+
"kind": "method",
|
|
15611
|
+
"name": "formDisabledCallback",
|
|
15612
|
+
"return": {
|
|
15613
|
+
"type": {
|
|
15614
|
+
"text": "void"
|
|
15615
|
+
}
|
|
15616
|
+
},
|
|
15617
|
+
"parameters": [
|
|
15618
|
+
{
|
|
15619
|
+
"name": "disabled",
|
|
15620
|
+
"type": {
|
|
15621
|
+
"text": "boolean"
|
|
15622
|
+
}
|
|
15623
|
+
}
|
|
15624
|
+
],
|
|
15625
|
+
"inheritedFrom": {
|
|
15626
|
+
"name": "FormAssociated",
|
|
15627
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
15628
|
+
}
|
|
15629
|
+
}
|
|
15630
|
+
],
|
|
15631
|
+
"events": [
|
|
15632
|
+
{
|
|
15633
|
+
"name": "input",
|
|
15634
|
+
"description": "Bij elke wijziging. detail: { value } met `HH:mm`, of '' zolang er geen geldige tijd staat."
|
|
15635
|
+
},
|
|
15636
|
+
{
|
|
15637
|
+
"name": "change",
|
|
15638
|
+
"description": "Wanneer de waarde is vastgelegd: bij het verlaten van het veld, en bij het sluiten van de picker op een manier die de keuze houdt. detail: { value } met `HH:mm`, of ''."
|
|
15639
|
+
}
|
|
15640
|
+
],
|
|
15641
|
+
"attributes": [
|
|
15642
|
+
{
|
|
15643
|
+
"name": "size",
|
|
15644
|
+
"type": {
|
|
15645
|
+
"text": "'md' | 'sm'"
|
|
15646
|
+
},
|
|
15647
|
+
"default": "'md'",
|
|
15648
|
+
"fieldName": "size",
|
|
15649
|
+
"description": "'md' (standaard) | 'sm'. Wordt automatisch gezet door nldd-form-field."
|
|
15650
|
+
},
|
|
15651
|
+
{
|
|
15652
|
+
"name": "value",
|
|
15653
|
+
"type": {
|
|
15654
|
+
"text": "string"
|
|
15655
|
+
},
|
|
15656
|
+
"default": "''",
|
|
15657
|
+
"fieldName": "value",
|
|
15658
|
+
"description": "De tijd als `HH:mm` (24-uurs). Leeg wanneer er geen geldige tijd staat."
|
|
15659
|
+
},
|
|
15660
|
+
{
|
|
15661
|
+
"name": "min",
|
|
15662
|
+
"type": {
|
|
15663
|
+
"text": "string"
|
|
15664
|
+
},
|
|
15665
|
+
"default": "''",
|
|
15666
|
+
"fieldName": "min",
|
|
15667
|
+
"description": "Vroegst toegestane tijd als `HH:mm`. Is tevens de basis waarvandaan `step` telt."
|
|
15668
|
+
},
|
|
15669
|
+
{
|
|
15670
|
+
"name": "max",
|
|
15671
|
+
"type": {
|
|
15672
|
+
"text": "string"
|
|
15673
|
+
},
|
|
15674
|
+
"default": "''",
|
|
15675
|
+
"fieldName": "max",
|
|
15676
|
+
"description": "Laatst toegestane tijd als `HH:mm`."
|
|
15677
|
+
},
|
|
15678
|
+
{
|
|
15679
|
+
"name": "step",
|
|
15680
|
+
"type": {
|
|
15681
|
+
"text": "number"
|
|
15682
|
+
},
|
|
15683
|
+
"default": "1",
|
|
15684
|
+
"fieldName": "step",
|
|
15685
|
+
"description": "Minutenstap (standaard 1). Bepaalt welke tijden geldig zijn, waarop wordt afgerond en hoe ver de pijltjestoetsen verspringen."
|
|
15686
|
+
},
|
|
15687
|
+
{
|
|
15688
|
+
"name": "no-picker",
|
|
15689
|
+
"type": {
|
|
15690
|
+
"text": "boolean"
|
|
15691
|
+
},
|
|
15692
|
+
"default": "false",
|
|
15693
|
+
"fieldName": "noPicker",
|
|
15694
|
+
"description": "Verbergt de picker-knop. Standaard staat die knop er wel."
|
|
15695
|
+
},
|
|
15696
|
+
{
|
|
15697
|
+
"name": "input-id",
|
|
15698
|
+
"type": {
|
|
15699
|
+
"text": "string"
|
|
15700
|
+
},
|
|
15701
|
+
"default": "''",
|
|
15702
|
+
"fieldName": "inputId",
|
|
15703
|
+
"description": "Zet het id op de interne input. Wordt automatisch gezet door nldd-form-field."
|
|
15704
|
+
},
|
|
15705
|
+
{
|
|
15706
|
+
"name": "placeholder",
|
|
15707
|
+
"type": {
|
|
15708
|
+
"text": "string"
|
|
15709
|
+
},
|
|
15710
|
+
"default": "''",
|
|
15711
|
+
"fieldName": "placeholder",
|
|
15712
|
+
"description": "Placeholdertekst. Zet hier geen formaat in; gebruik daarvoor de supporting-label van nldd-form-field."
|
|
15713
|
+
},
|
|
15714
|
+
{
|
|
15715
|
+
"name": "invalid",
|
|
15716
|
+
"type": {
|
|
15717
|
+
"text": "boolean"
|
|
15718
|
+
},
|
|
15719
|
+
"default": "false",
|
|
15720
|
+
"fieldName": "invalid",
|
|
15721
|
+
"description": "Markeert het veld als ongeldig."
|
|
15722
|
+
},
|
|
15723
|
+
{
|
|
15724
|
+
"name": "valid",
|
|
15725
|
+
"type": {
|
|
15726
|
+
"text": "boolean"
|
|
15727
|
+
},
|
|
15728
|
+
"default": "false",
|
|
15729
|
+
"fieldName": "valid",
|
|
15730
|
+
"description": "Markeert het veld als geldig."
|
|
15731
|
+
},
|
|
15732
|
+
{
|
|
15733
|
+
"name": "disabled",
|
|
15734
|
+
"type": {
|
|
15735
|
+
"text": "boolean"
|
|
15736
|
+
},
|
|
15737
|
+
"default": "false",
|
|
15738
|
+
"fieldName": "disabled",
|
|
15739
|
+
"description": "Uitgeschakelde staat."
|
|
15740
|
+
},
|
|
15741
|
+
{
|
|
15742
|
+
"name": "readonly",
|
|
15743
|
+
"type": {
|
|
15744
|
+
"text": "boolean"
|
|
15745
|
+
},
|
|
15746
|
+
"default": "false",
|
|
15747
|
+
"fieldName": "readonly",
|
|
15748
|
+
"description": "Alleen-lezen staat."
|
|
15749
|
+
},
|
|
15750
|
+
{
|
|
15751
|
+
"name": "required",
|
|
15752
|
+
"type": {
|
|
15753
|
+
"text": "boolean"
|
|
15754
|
+
},
|
|
15755
|
+
"default": "false",
|
|
15756
|
+
"fieldName": "required",
|
|
15757
|
+
"description": "Verplichte staat."
|
|
15758
|
+
},
|
|
15759
|
+
{
|
|
15760
|
+
"name": "name",
|
|
15761
|
+
"type": {
|
|
15762
|
+
"text": "string"
|
|
15763
|
+
},
|
|
15764
|
+
"default": "''",
|
|
15765
|
+
"fieldName": "name",
|
|
15766
|
+
"description": "Naam voor formulierverzending."
|
|
15767
|
+
},
|
|
15768
|
+
{
|
|
15769
|
+
"name": "autocomplete",
|
|
15770
|
+
"type": {
|
|
15771
|
+
"text": "string"
|
|
15772
|
+
},
|
|
15773
|
+
"default": "''",
|
|
15774
|
+
"fieldName": "autocomplete",
|
|
15775
|
+
"description": "Autocomplete-hint."
|
|
15776
|
+
},
|
|
15777
|
+
{
|
|
15778
|
+
"name": "accessible-label",
|
|
15779
|
+
"type": {
|
|
15780
|
+
"text": "string"
|
|
15781
|
+
},
|
|
15782
|
+
"default": "''",
|
|
15783
|
+
"description": "Toegankelijk label voor de interne input. Wordt automatisch gezet door nldd-form-field.",
|
|
15784
|
+
"fieldName": "accessibleLabel"
|
|
15785
|
+
},
|
|
15786
|
+
{
|
|
15787
|
+
"name": "error-message-ids",
|
|
15788
|
+
"type": {
|
|
15789
|
+
"text": "string"
|
|
15790
|
+
},
|
|
15791
|
+
"default": "''",
|
|
15792
|
+
"fieldName": "errorMessageIds",
|
|
15793
|
+
"description": "Ids voor aria-describedby. Wordt automatisch gezet door nldd-form-field."
|
|
15794
|
+
},
|
|
15795
|
+
{
|
|
15796
|
+
"name": "width",
|
|
15797
|
+
"type": {
|
|
15798
|
+
"text": "string"
|
|
15799
|
+
},
|
|
15800
|
+
"default": "''",
|
|
15801
|
+
"description": "Breedte. Standaard precies breed genoeg voor een tijd plus het validatie-icoon; 'full' vult de container, of geef een eigen CSS-lengte.",
|
|
15802
|
+
"fieldName": "width"
|
|
15803
|
+
},
|
|
15804
|
+
{
|
|
15805
|
+
"name": "translations",
|
|
15806
|
+
"type": {
|
|
15807
|
+
"text": "Partial<NLDDTimeFieldTranslations>"
|
|
15808
|
+
},
|
|
15809
|
+
"default": "{}",
|
|
15810
|
+
"description": "Vertalingen; niet opgegeven sleutels vallen terug op het Nederlands.",
|
|
15811
|
+
"fieldName": "translations"
|
|
15812
|
+
}
|
|
15813
|
+
],
|
|
15814
|
+
"mixins": [
|
|
15815
|
+
{
|
|
15816
|
+
"name": "FormAssociated",
|
|
15817
|
+
"module": "/src/utilities/form-associated-mixin.js"
|
|
15818
|
+
}
|
|
15819
|
+
],
|
|
15820
|
+
"superclass": {
|
|
15821
|
+
"name": "LitElement",
|
|
15822
|
+
"package": "lit"
|
|
15823
|
+
},
|
|
15824
|
+
"tagName": "nldd-time-field",
|
|
15825
|
+
"customElement": true,
|
|
15826
|
+
"slots": [
|
|
15827
|
+
{
|
|
15828
|
+
"name": "picker",
|
|
15829
|
+
"description": "Een eigen nldd-time-picker, in plaats van de standaardpicker. Het veld blijft `value`, `min`, `max` en `step` zetten; gebruik de slot voor wat alleen een picker weet, zoals eigen vertalingen."
|
|
15830
|
+
}
|
|
15831
|
+
]
|
|
15832
|
+
}
|
|
15833
|
+
],
|
|
15834
|
+
"exports": [
|
|
15835
|
+
{
|
|
15836
|
+
"kind": "js",
|
|
15837
|
+
"name": "parseTime",
|
|
15838
|
+
"declaration": {
|
|
15839
|
+
"name": "parseTime",
|
|
15840
|
+
"module": "src/components/inputs/time-field/time-field.ts"
|
|
15841
|
+
}
|
|
15842
|
+
},
|
|
15843
|
+
{
|
|
15844
|
+
"kind": "js",
|
|
15845
|
+
"name": "roundToStep",
|
|
15846
|
+
"declaration": {
|
|
15847
|
+
"name": "roundToStep",
|
|
15848
|
+
"module": "src/components/inputs/time-field/time-field.ts"
|
|
15849
|
+
}
|
|
15850
|
+
},
|
|
15851
|
+
{
|
|
15852
|
+
"kind": "js",
|
|
15853
|
+
"name": "NLDDTimeField",
|
|
15854
|
+
"declaration": {
|
|
15855
|
+
"name": "NLDDTimeField",
|
|
15856
|
+
"module": "src/components/inputs/time-field/time-field.ts"
|
|
15857
|
+
}
|
|
15858
|
+
},
|
|
15859
|
+
{
|
|
15860
|
+
"kind": "custom-element-definition",
|
|
15861
|
+
"name": "nldd-time-field",
|
|
15862
|
+
"declaration": {
|
|
15863
|
+
"name": "NLDDTimeField",
|
|
15864
|
+
"module": "src/components/inputs/time-field/time-field.ts"
|
|
15865
|
+
}
|
|
15866
|
+
}
|
|
15867
|
+
]
|
|
15868
|
+
},
|
|
15869
|
+
{
|
|
15870
|
+
"kind": "javascript-module",
|
|
15871
|
+
"path": "src/components/inputs/time-picker/time-picker.ts",
|
|
15872
|
+
"declarations": [
|
|
15873
|
+
{
|
|
15874
|
+
"kind": "function",
|
|
15875
|
+
"name": "toMinutes",
|
|
15876
|
+
"return": {
|
|
15877
|
+
"type": {
|
|
15878
|
+
"text": "number"
|
|
15879
|
+
}
|
|
15880
|
+
},
|
|
15881
|
+
"parameters": [
|
|
15882
|
+
{
|
|
15883
|
+
"name": "time",
|
|
15884
|
+
"type": {
|
|
15885
|
+
"text": "string"
|
|
15886
|
+
}
|
|
15887
|
+
}
|
|
15888
|
+
]
|
|
15889
|
+
},
|
|
15890
|
+
{
|
|
15891
|
+
"kind": "function",
|
|
15892
|
+
"name": "fromMinutes",
|
|
15893
|
+
"return": {
|
|
15894
|
+
"type": {
|
|
15895
|
+
"text": "string"
|
|
15896
|
+
}
|
|
15897
|
+
},
|
|
15898
|
+
"parameters": [
|
|
15899
|
+
{
|
|
15900
|
+
"name": "total",
|
|
15901
|
+
"type": {
|
|
15902
|
+
"text": "number"
|
|
15903
|
+
}
|
|
15904
|
+
}
|
|
15905
|
+
]
|
|
15906
|
+
},
|
|
15907
|
+
{
|
|
15908
|
+
"kind": "class",
|
|
15909
|
+
"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.",
|
|
15910
|
+
"name": "NLDDTimePicker",
|
|
15911
|
+
"members": [
|
|
15912
|
+
{
|
|
15913
|
+
"kind": "field",
|
|
15914
|
+
"name": "value",
|
|
15915
|
+
"type": {
|
|
15916
|
+
"text": "string"
|
|
15917
|
+
},
|
|
15918
|
+
"default": "''",
|
|
15919
|
+
"attribute": "value"
|
|
15920
|
+
},
|
|
15921
|
+
{
|
|
15922
|
+
"kind": "field",
|
|
15923
|
+
"name": "min",
|
|
15924
|
+
"type": {
|
|
15925
|
+
"text": "string"
|
|
15926
|
+
},
|
|
15927
|
+
"default": "''",
|
|
15928
|
+
"attribute": "min"
|
|
15929
|
+
},
|
|
15930
|
+
{
|
|
15931
|
+
"kind": "field",
|
|
15932
|
+
"name": "max",
|
|
15933
|
+
"type": {
|
|
15934
|
+
"text": "string"
|
|
15935
|
+
},
|
|
15936
|
+
"default": "''",
|
|
15937
|
+
"attribute": "max"
|
|
15938
|
+
},
|
|
15939
|
+
{
|
|
15940
|
+
"kind": "field",
|
|
15941
|
+
"name": "step",
|
|
15942
|
+
"type": {
|
|
15943
|
+
"text": "number"
|
|
15944
|
+
},
|
|
15945
|
+
"default": "1",
|
|
15946
|
+
"attribute": "step"
|
|
15947
|
+
},
|
|
15948
|
+
{
|
|
15949
|
+
"kind": "field",
|
|
15950
|
+
"name": "rows",
|
|
15951
|
+
"type": {
|
|
15952
|
+
"text": "number"
|
|
14982
15953
|
},
|
|
14983
|
-
"
|
|
14984
|
-
|
|
14985
|
-
|
|
14986
|
-
"optional": true,
|
|
14987
|
-
"type": {
|
|
14988
|
-
"text": "FocusOptions"
|
|
14989
|
-
}
|
|
14990
|
-
}
|
|
14991
|
-
],
|
|
14992
|
-
"description": "Delegates focus to the inner native `<input>`, so consumers can call\n`textFieldEl.focus()` without reaching into shadow DOM."
|
|
15954
|
+
"default": "7",
|
|
15955
|
+
"attribute": "rows",
|
|
15956
|
+
"reflects": true
|
|
14993
15957
|
},
|
|
14994
15958
|
{
|
|
14995
15959
|
"kind": "field",
|
|
14996
|
-
"name": "
|
|
15960
|
+
"name": "width",
|
|
14997
15961
|
"type": {
|
|
14998
|
-
"text": "
|
|
15962
|
+
"text": "string"
|
|
14999
15963
|
},
|
|
15000
|
-
"
|
|
15001
|
-
"
|
|
15002
|
-
"
|
|
15003
|
-
"name": "FormAssociated",
|
|
15004
|
-
"module": "src/utilities/form-associated-mixin.ts"
|
|
15005
|
-
}
|
|
15964
|
+
"default": "''",
|
|
15965
|
+
"attribute": "width",
|
|
15966
|
+
"reflects": true
|
|
15006
15967
|
},
|
|
15007
15968
|
{
|
|
15008
15969
|
"kind": "field",
|
|
15009
|
-
"name": "
|
|
15010
|
-
"
|
|
15011
|
-
|
|
15012
|
-
|
|
15013
|
-
|
|
15014
|
-
|
|
15970
|
+
"name": "accessibleLabel",
|
|
15971
|
+
"type": {
|
|
15972
|
+
"text": "string"
|
|
15973
|
+
},
|
|
15974
|
+
"default": "''",
|
|
15975
|
+
"attribute": "accessible-label"
|
|
15015
15976
|
},
|
|
15016
15977
|
{
|
|
15017
|
-
"kind": "
|
|
15018
|
-
"name": "
|
|
15019
|
-
"
|
|
15020
|
-
"
|
|
15021
|
-
"text": "FormValue | undefined"
|
|
15022
|
-
}
|
|
15978
|
+
"kind": "field",
|
|
15979
|
+
"name": "translations",
|
|
15980
|
+
"type": {
|
|
15981
|
+
"text": "Partial<NLDDTimePickerTranslations>"
|
|
15023
15982
|
},
|
|
15024
|
-
"
|
|
15025
|
-
"
|
|
15026
|
-
"name": "FormAssociated",
|
|
15027
|
-
"module": "src/utilities/form-associated-mixin.ts"
|
|
15028
|
-
}
|
|
15983
|
+
"default": "{}",
|
|
15984
|
+
"attribute": "translations"
|
|
15029
15985
|
},
|
|
15030
15986
|
{
|
|
15031
15987
|
"kind": "method",
|
|
15032
|
-
"name": "
|
|
15988
|
+
"name": "focus",
|
|
15033
15989
|
"return": {
|
|
15034
15990
|
"type": {
|
|
15035
15991
|
"text": "void"
|
|
15036
15992
|
}
|
|
15037
15993
|
},
|
|
15038
|
-
"
|
|
15039
|
-
|
|
15040
|
-
|
|
15041
|
-
|
|
15042
|
-
|
|
15994
|
+
"parameters": [
|
|
15995
|
+
{
|
|
15996
|
+
"name": "options",
|
|
15997
|
+
"optional": true,
|
|
15998
|
+
"type": {
|
|
15999
|
+
"text": "FocusOptions"
|
|
16000
|
+
}
|
|
16001
|
+
}
|
|
16002
|
+
],
|
|
16003
|
+
"description": "Focus lands on the hour, the way nldd-date-picker focuses a day. The host\nitself forwards nowhere, so an overlay that focuses this picker would leave\nthe arrow keys dead until the user tabbed into the selection themselves."
|
|
15043
16004
|
},
|
|
15044
16005
|
{
|
|
15045
16006
|
"kind": "method",
|
|
15046
|
-
"name": "
|
|
16007
|
+
"name": "scrollSelectedIntoView",
|
|
16008
|
+
"privacy": "public",
|
|
15047
16009
|
"return": {
|
|
15048
16010
|
"type": {
|
|
15049
16011
|
"text": "void"
|
|
15050
16012
|
}
|
|
15051
16013
|
},
|
|
15052
|
-
"
|
|
15053
|
-
{
|
|
15054
|
-
"name": "disabled",
|
|
15055
|
-
"type": {
|
|
15056
|
-
"text": "boolean"
|
|
15057
|
-
}
|
|
15058
|
-
}
|
|
15059
|
-
],
|
|
15060
|
-
"inheritedFrom": {
|
|
15061
|
-
"name": "FormAssociated",
|
|
15062
|
-
"module": "src/utilities/form-associated-mixin.ts"
|
|
15063
|
-
}
|
|
16014
|
+
"description": "Put the chosen value in the middle of the view. The column is seven values\ntall, so `center` lands it on the fourth row with three above and three\nbelow.\n\nPublic because a hidden element cannot be scrolled: with the picker in a\npopover it has no dimensions yet when the value is set, and scrollIntoView\ndoes nothing. The field therefore calls this as soon as the popover\nopens."
|
|
15064
16015
|
}
|
|
15065
16016
|
],
|
|
15066
16017
|
"events": [
|
|
15067
16018
|
{
|
|
15068
16019
|
"name": "input",
|
|
15069
|
-
"description": "
|
|
16020
|
+
"description": "Bij elke wijziging: scrollen, de pijltjestoetsen. detail: { value } met `HH:mm`."
|
|
15070
16021
|
},
|
|
15071
16022
|
{
|
|
15072
16023
|
"name": "change",
|
|
15073
|
-
"description": "
|
|
16024
|
+
"description": "Wanneer de keuze is bevestigd: een klik op een waarde of op de selectie, of Enter. detail: { value } met `HH:mm`. Scrollen geeft alleen `input`, want anders zou een veld dat de picker in een popover toont al vastleggen zodra je stopt met scrollen."
|
|
15074
16025
|
}
|
|
15075
16026
|
],
|
|
15076
16027
|
"attributes": [
|
|
15077
|
-
{
|
|
15078
|
-
"name": "size",
|
|
15079
|
-
"type": {
|
|
15080
|
-
"text": "'md' | 'sm'"
|
|
15081
|
-
},
|
|
15082
|
-
"default": "'md'",
|
|
15083
|
-
"fieldName": "size",
|
|
15084
|
-
"description": "'md' (default) | 'sm'. Set automatically by nldd-form-field."
|
|
15085
|
-
},
|
|
15086
16028
|
{
|
|
15087
16029
|
"name": "value",
|
|
15088
16030
|
"type": {
|
|
@@ -15090,97 +16032,52 @@
|
|
|
15090
16032
|
},
|
|
15091
16033
|
"default": "''",
|
|
15092
16034
|
"fieldName": "value",
|
|
15093
|
-
"description": "
|
|
15094
|
-
},
|
|
15095
|
-
{
|
|
15096
|
-
"name": "input-id",
|
|
15097
|
-
"type": {
|
|
15098
|
-
"text": "string"
|
|
15099
|
-
},
|
|
15100
|
-
"default": "''",
|
|
15101
|
-
"fieldName": "inputId",
|
|
15102
|
-
"description": "Sets the id on the native input. Set automatically by nldd-form-field."
|
|
16035
|
+
"description": "De gekozen tijd als `HH:mm` (24-uurs)."
|
|
15103
16036
|
},
|
|
15104
16037
|
{
|
|
15105
|
-
"name": "
|
|
16038
|
+
"name": "min",
|
|
15106
16039
|
"type": {
|
|
15107
16040
|
"text": "string"
|
|
15108
16041
|
},
|
|
15109
16042
|
"default": "''",
|
|
15110
|
-
"fieldName": "
|
|
15111
|
-
"description": "
|
|
15112
|
-
},
|
|
15113
|
-
{
|
|
15114
|
-
"name": "invalid",
|
|
15115
|
-
"type": {
|
|
15116
|
-
"text": "boolean"
|
|
15117
|
-
},
|
|
15118
|
-
"default": "false",
|
|
15119
|
-
"fieldName": "invalid",
|
|
15120
|
-
"description": "Marks the field as invalid"
|
|
15121
|
-
},
|
|
15122
|
-
{
|
|
15123
|
-
"name": "valid",
|
|
15124
|
-
"type": {
|
|
15125
|
-
"text": "boolean"
|
|
15126
|
-
},
|
|
15127
|
-
"default": "false",
|
|
15128
|
-
"fieldName": "valid",
|
|
15129
|
-
"description": "Marks the field as valid"
|
|
15130
|
-
},
|
|
15131
|
-
{
|
|
15132
|
-
"name": "disabled",
|
|
15133
|
-
"type": {
|
|
15134
|
-
"text": "boolean"
|
|
15135
|
-
},
|
|
15136
|
-
"default": "false",
|
|
15137
|
-
"fieldName": "disabled",
|
|
15138
|
-
"description": "Disabled state"
|
|
15139
|
-
},
|
|
15140
|
-
{
|
|
15141
|
-
"name": "type",
|
|
15142
|
-
"type": {
|
|
15143
|
-
"text": "InputType"
|
|
15144
|
-
},
|
|
15145
|
-
"default": "'text'",
|
|
15146
|
-
"fieldName": "type",
|
|
15147
|
-
"description": "Input type: 'text' | 'email' | 'tel' | 'url'"
|
|
16043
|
+
"fieldName": "min",
|
|
16044
|
+
"description": "Vroegst toegestane tijd als `HH:mm`. Is tevens de basis waarvandaan `step` telt."
|
|
15148
16045
|
},
|
|
15149
16046
|
{
|
|
15150
|
-
"name": "
|
|
16047
|
+
"name": "max",
|
|
15151
16048
|
"type": {
|
|
15152
16049
|
"text": "string"
|
|
15153
16050
|
},
|
|
15154
16051
|
"default": "''",
|
|
15155
|
-
"fieldName": "
|
|
15156
|
-
"description": "
|
|
16052
|
+
"fieldName": "max",
|
|
16053
|
+
"description": "Laatst toegestane tijd als `HH:mm`."
|
|
15157
16054
|
},
|
|
15158
16055
|
{
|
|
15159
|
-
"name": "
|
|
16056
|
+
"name": "step",
|
|
15160
16057
|
"type": {
|
|
15161
|
-
"text": "
|
|
16058
|
+
"text": "number"
|
|
15162
16059
|
},
|
|
15163
|
-
"default": "
|
|
15164
|
-
"fieldName": "
|
|
15165
|
-
"description": "
|
|
16060
|
+
"default": "1",
|
|
16061
|
+
"fieldName": "step",
|
|
16062
|
+
"description": "Minutenstap (standaard 1). Bepaalt welke minuten in de kolom staan."
|
|
15166
16063
|
},
|
|
15167
16064
|
{
|
|
15168
|
-
"name": "
|
|
16065
|
+
"name": "rows",
|
|
15169
16066
|
"type": {
|
|
15170
|
-
"text": "
|
|
16067
|
+
"text": "number"
|
|
15171
16068
|
},
|
|
15172
|
-
"default": "
|
|
15173
|
-
"fieldName": "
|
|
15174
|
-
"description": "
|
|
16069
|
+
"default": "7",
|
|
16070
|
+
"fieldName": "rows",
|
|
16071
|
+
"description": "Hoogte van de kolommen in rijen (standaard 7, minimaal 3). De gekozen waarde staat altijd in het midden, dus een oneven aantal toont hele rijen en een even aantal kapt boven en onder een halve rij af."
|
|
15175
16072
|
},
|
|
15176
16073
|
{
|
|
15177
|
-
"name": "
|
|
16074
|
+
"name": "width",
|
|
15178
16075
|
"type": {
|
|
15179
16076
|
"text": "string"
|
|
15180
16077
|
},
|
|
15181
16078
|
"default": "''",
|
|
15182
|
-
"fieldName": "
|
|
15183
|
-
"description": "
|
|
16079
|
+
"fieldName": "width",
|
|
16080
|
+
"description": "Breedte: `full` vult de container, of geef een eigen CSS-lengte."
|
|
15184
16081
|
},
|
|
15185
16082
|
{
|
|
15186
16083
|
"name": "accessible-label",
|
|
@@ -15188,66 +16085,58 @@
|
|
|
15188
16085
|
"text": "string"
|
|
15189
16086
|
},
|
|
15190
16087
|
"default": "''",
|
|
15191
|
-
"
|
|
15192
|
-
"
|
|
15193
|
-
},
|
|
15194
|
-
{
|
|
15195
|
-
"name": "error-message-ids",
|
|
15196
|
-
"type": {
|
|
15197
|
-
"text": "string"
|
|
15198
|
-
},
|
|
15199
|
-
"default": "''",
|
|
15200
|
-
"fieldName": "errorMessageIds",
|
|
15201
|
-
"description": "Ids for aria-describedby on the inner input. Set automatically by nldd-form-field."
|
|
15202
|
-
},
|
|
15203
|
-
{
|
|
15204
|
-
"name": "no-spellcheck",
|
|
15205
|
-
"type": {
|
|
15206
|
-
"text": "boolean"
|
|
15207
|
-
},
|
|
15208
|
-
"default": "false",
|
|
15209
|
-
"fieldName": "noSpellcheck",
|
|
15210
|
-
"description": "Disables browser spellchecking on the inner input"
|
|
16088
|
+
"fieldName": "accessibleLabel",
|
|
16089
|
+
"description": "Toegankelijke naam van de picker."
|
|
15211
16090
|
},
|
|
15212
16091
|
{
|
|
15213
|
-
"name": "
|
|
16092
|
+
"name": "translations",
|
|
15214
16093
|
"type": {
|
|
15215
|
-
"text": "
|
|
16094
|
+
"text": "Partial<NLDDTimePickerTranslations>"
|
|
15216
16095
|
},
|
|
15217
|
-
"default": "
|
|
15218
|
-
"
|
|
15219
|
-
"
|
|
15220
|
-
}
|
|
15221
|
-
],
|
|
15222
|
-
"mixins": [
|
|
15223
|
-
{
|
|
15224
|
-
"name": "FormAssociated",
|
|
15225
|
-
"module": "/src/utilities/form-associated-mixin.js"
|
|
16096
|
+
"default": "{}",
|
|
16097
|
+
"fieldName": "translations",
|
|
16098
|
+
"description": "Vertalingen; niet opgegeven sleutels vallen terug op het Nederlands."
|
|
15226
16099
|
}
|
|
15227
16100
|
],
|
|
15228
16101
|
"superclass": {
|
|
15229
16102
|
"name": "LitElement",
|
|
15230
16103
|
"package": "lit"
|
|
15231
16104
|
},
|
|
15232
|
-
"tagName": "nldd-
|
|
16105
|
+
"tagName": "nldd-time-picker",
|
|
15233
16106
|
"customElement": true
|
|
15234
16107
|
}
|
|
15235
16108
|
],
|
|
15236
16109
|
"exports": [
|
|
15237
16110
|
{
|
|
15238
16111
|
"kind": "js",
|
|
15239
|
-
"name": "
|
|
16112
|
+
"name": "toMinutes",
|
|
15240
16113
|
"declaration": {
|
|
15241
|
-
"name": "
|
|
15242
|
-
"module": "src/components/inputs/
|
|
16114
|
+
"name": "toMinutes",
|
|
16115
|
+
"module": "src/components/inputs/time-picker/time-picker.ts"
|
|
16116
|
+
}
|
|
16117
|
+
},
|
|
16118
|
+
{
|
|
16119
|
+
"kind": "js",
|
|
16120
|
+
"name": "fromMinutes",
|
|
16121
|
+
"declaration": {
|
|
16122
|
+
"name": "fromMinutes",
|
|
16123
|
+
"module": "src/components/inputs/time-picker/time-picker.ts"
|
|
16124
|
+
}
|
|
16125
|
+
},
|
|
16126
|
+
{
|
|
16127
|
+
"kind": "js",
|
|
16128
|
+
"name": "NLDDTimePicker",
|
|
16129
|
+
"declaration": {
|
|
16130
|
+
"name": "NLDDTimePicker",
|
|
16131
|
+
"module": "src/components/inputs/time-picker/time-picker.ts"
|
|
15243
16132
|
}
|
|
15244
16133
|
},
|
|
15245
16134
|
{
|
|
15246
16135
|
"kind": "custom-element-definition",
|
|
15247
|
-
"name": "nldd-
|
|
16136
|
+
"name": "nldd-time-picker",
|
|
15248
16137
|
"declaration": {
|
|
15249
|
-
"name": "
|
|
15250
|
-
"module": "src/components/inputs/
|
|
16138
|
+
"name": "NLDDTimePicker",
|
|
16139
|
+
"module": "src/components/inputs/time-picker/time-picker.ts"
|
|
15251
16140
|
}
|
|
15252
16141
|
}
|
|
15253
16142
|
]
|
|
@@ -21601,7 +22490,7 @@
|
|
|
21601
22490
|
"text": "Promise<void>"
|
|
21602
22491
|
}
|
|
21603
22492
|
},
|
|
21604
|
-
"description": "
|
|
22493
|
+
"description": "Recomputes the position relative to the anchor. Called automatically on open."
|
|
21605
22494
|
}
|
|
21606
22495
|
],
|
|
21607
22496
|
"attributes": [
|
|
@@ -25038,7 +25927,7 @@
|
|
|
25038
25927
|
"declarations": [
|
|
25039
25928
|
{
|
|
25040
25929
|
"kind": "class",
|
|
25041
|
-
"description": "A row within an `nldd-list`. Renders as a link when `href` is set, as a checkbox when `checkbox` is set, as a button when `button` is set, or as a plain container otherwise. All cells and action segmented actions share one flat slot, in source order. Two rules govern every row: 1. State fills always paint the WIDENED row geometry — the row box extended by the indicator inline inset on both sides — whether or not the row is interactive. Paint never differs between a selected plain row and a selected interactive row. 2. The widened strip belongs to the ROW, never to a segment. A row with any action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls itself outward (`is-interactive` host class → negative inline margin) and pads the row block back by the same amount, so content stays on the grid. A row-wide action owns that padding itself, making the whole widened box one hit area; slotted segmented actions stay in the grid, so their footprint is position-independent and tree columns line up at any depth. The divider spans the content width by default, with one exception: a row that opens with an `nldd-icon-cell` followed by a text or title cell starts the divider at that text, so the line aligns with the words rather than the icon. Leading spacers are ignored when deciding this. 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 icon cell restores the full-width line. Multiple markers resolve as the union: first `divider-start` through last `divider-end`. A start past the last end is an authoring error — the item DEV-warns and falls back to the full content width. A branch row can disclose its children in two ways: a dedicated `nldd-list-item-action[disclosure]` segment (only the chevron is clickable), or the row itself as the control (`button` + `expanded`, the whole row toggles). In the second case, mark the chevron's `nldd-icon-cell` with `disclosure` and the row turns it with `expanded` — the same affordance, without having to trade a clickable row for a turning chevron. `checkbox` makes the WHOLE row the control: the inner action becomes a `role=\"checkbox\"` button carrying `aria-checked`, it toggles `checked` on activation and fires `change`. Slot a visual `nldd-checkbox` (or any glyph) before the text and mark it `aria-hidden` + non-focusable — the row already conveys role and state, and a second focusable control would double the tab stops. Do NOT nest a real `<input type=\"checkbox\">` in the action: interactive content inside a `<button>` is invalid HTML and AT announces the button, not the checked state. A `<label>` variant is not offered for the same reason it cannot work — label-to-input association walks the DOM tree, and a slotted input is not a descendant of a label in the shadow root. When it renders as a link, `target` and `rel` are forwarded to the inner `<a>` (e.g. `target=\"_blank\" rel=\"noopener noreferrer\"`). With `target=\"_blank\"` the item also injects a visually hidden \"opens in new tab\" announcement for assistive technology (WCAG 2.1 SC 3.2.2). The item
|
|
25930
|
+
"description": "A row within an `nldd-list`. Renders as a link when `href` is set, as a checkbox when `checkbox` is set, as a button when `button` is set, or as a plain container otherwise. All cells and action segmented actions share one flat slot, in source order. Two rules govern every row: 1. State fills always paint the WIDENED row geometry — the row box extended by the indicator inline inset on both sides — whether or not the row is interactive. Paint never differs between a selected plain row and a selected interactive row. 2. The widened strip belongs to the ROW, never to a segment. A row with any action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls itself outward (`is-interactive` host class → negative inline margin) and pads the row block back by the same amount, so content stays on the grid. A row-wide action owns that padding itself, making the whole widened box one hit area; slotted segmented actions stay in the grid, so their footprint is position-independent and tree columns line up at any depth. The divider spans the content width by default, with one exception: a row that opens with an `nldd-icon-cell` followed by a text or title cell starts the divider at that text, so the line aligns with the words rather than the icon. Leading spacers are ignored when deciding this. 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 icon cell restores the full-width line. Multiple markers resolve as the union: first `divider-start` through last `divider-end`. A start past the last end is an authoring error — the item DEV-warns and falls back to the full content width. A branch row can disclose its children in two ways: a dedicated `nldd-list-item-action[disclosure]` segment (only the chevron is clickable), or the row itself as the control (`button` + `expanded`, the whole row toggles). In the second case, mark the chevron's `nldd-icon-cell` with `disclosure` and the row turns it with `expanded` — the same affordance, without having to trade a clickable row for a turning chevron. `checkbox` makes the WHOLE row the control: the inner action becomes a `role=\"checkbox\"` button carrying `aria-checked`, it toggles `checked` on activation and fires `change`. Slot a visual `nldd-checkbox` (or any glyph) before the text and mark it `aria-hidden` + non-focusable — the row already conveys role and state, and a second focusable control would double the tab stops. Do NOT nest a real `<input type=\"checkbox\">` in the action: interactive content inside a `<button>` is invalid HTML and AT announces the button, not the checked state. A `<label>` variant is not offered for the same reason it cannot work — label-to-input association walks the DOM tree, and a slotted input is not a descendant of a label in the shadow root. When it renders as a link, `target` and `rel` are forwarded to the inner `<a>` (e.g. `target=\"_blank\" rel=\"noopener noreferrer\"`). With `target=\"_blank\"` the item also injects a visually hidden \"opens in new tab\" announcement for assistive technology (WCAG 2.1 SC 3.2.2). The item synchronizes its ARIA with its parent `nldd-list`'s `type`: - `list` parent → `role=\"listitem\"` - `navigation` parent → `role=\"listitem\"` + `aria-current=\"page\"` on the inner `<a>` / `<button>` when `selected` - `listbox` parent → `role=\"option\"` + `aria-selected` reflecting `selected`. The list points its search input's `aria-activedescendant` at the active option via `_highlighted` (separate from `selected`).",
|
|
25042
25931
|
"name": "NLDDListItem",
|
|
25043
25932
|
"slots": [
|
|
25044
25933
|
{
|
|
@@ -25351,7 +26240,7 @@
|
|
|
25351
26240
|
"declarations": [
|
|
25352
26241
|
{
|
|
25353
26242
|
"kind": "class",
|
|
25354
|
-
"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 `arrow-navigation` are ignored in listbox mode (listbox has its own keyboard). A tree is a composite widget, so it brings its own keyboard — `arrow-navigation` is implied and needn't be set: - ArrowDown / ArrowUp — move between the rows in the order they appear on screen, the rows of an open branch included. - Home / End — first / last row. - 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 / 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 segmented action 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\"
|
|
26243
|
+
"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 `arrow-navigation` are ignored in listbox mode (listbox has its own keyboard). A tree is a composite widget, so it brings its own keyboard — `arrow-navigation` is implied and needn't be set: - ArrowDown / ArrowUp — move between the rows in the order they appear on screen, the rows of an open branch included. - Home / End — first / last row. - 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 / 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 segmented action 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.",
|
|
25355
26244
|
"name": "NLDDList",
|
|
25356
26245
|
"slots": [
|
|
25357
26246
|
{
|
|
@@ -28590,6 +29479,16 @@
|
|
|
28590
29479
|
"attribute": "variant",
|
|
28591
29480
|
"reflects": true
|
|
28592
29481
|
},
|
|
29482
|
+
{
|
|
29483
|
+
"kind": "field",
|
|
29484
|
+
"name": "size",
|
|
29485
|
+
"type": {
|
|
29486
|
+
"text": "BannerSize"
|
|
29487
|
+
},
|
|
29488
|
+
"default": "'md'",
|
|
29489
|
+
"attribute": "size",
|
|
29490
|
+
"reflects": true
|
|
29491
|
+
},
|
|
28593
29492
|
{
|
|
28594
29493
|
"kind": "field",
|
|
28595
29494
|
"name": "icon",
|
|
@@ -28667,6 +29566,15 @@
|
|
|
28667
29566
|
"fieldName": "variant",
|
|
28668
29567
|
"description": "Color and default icon (default: 'neutral')"
|
|
28669
29568
|
},
|
|
29569
|
+
{
|
|
29570
|
+
"name": "size",
|
|
29571
|
+
"type": {
|
|
29572
|
+
"text": "BannerSize"
|
|
29573
|
+
},
|
|
29574
|
+
"default": "'md'",
|
|
29575
|
+
"fieldName": "size",
|
|
29576
|
+
"description": "Banner size (default: 'md'). 'sm' tightens the padding to 8px, drops the icon to 24px and uses a smaller dismiss button — for a bar that sits between chrome and content rather than a standalone page-level notice. The typography is unchanged."
|
|
29577
|
+
},
|
|
28670
29578
|
{
|
|
28671
29579
|
"name": "icon",
|
|
28672
29580
|
"type": {
|