@nldd/design-system 0.17.1 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +384 -338
- package/dist/assets/styles/breakpoints.d.ts +9 -0
- package/dist/assets/styles/breakpoints.d.ts.map +1 -1
- package/dist/assets/styles/breakpoints.js +9 -0
- package/dist/assets/styles/breakpoints.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +7 -1
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +15 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/{breakpoints-Bti55RWY.js → breakpoints-DtL62nLI.js} +8 -1
- package/dist/components/components.js +660 -285
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +1 -0
- package/dist/components/content/code-viewer/code-viewer.styles.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 +12 -6
- 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 +373 -372
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/{decorate-D2HtKmpx.js → decorate-C7khEuc7.js} +1 -1
- package/dist/components/{defer-focus-JRj1EYUV.js → defer-focus-BQ3c4mzj.js} +2 -2
- package/dist/components/{dev-checks-BPjCXw_r.js → dev-checks-lQ-gHUjV.js} +30 -25
- package/dist/components/icon-CrBk3W-t.js +969 -0
- package/dist/components/{icon-button-BgeikVnm.js → icon-button-CfpnGzYQ.js} +3 -3
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +18 -9
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +73 -34
- 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 +8 -5
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +20 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +97 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +132 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +21 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +2 -2
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +1 -1
- package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +5 -0
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +13 -5
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +2 -1
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +25 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +95 -6
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +8 -0
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.js +3 -0
- package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
- package/dist/components/{just-in-time-education.i18n-eCghRteQ.js → just-in-time-education.i18n-BqU1ImP4.js} +10 -10
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +2 -9
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/{column-board/column-board-column.d.ts → kanban/kanban-column.d.ts} +5 -5
- package/dist/components/layout/kanban/kanban-column.d.ts.map +1 -0
- package/dist/components/layout/{column-board/column-board-column.js → kanban/kanban-column.js} +34 -34
- package/dist/components/layout/kanban/kanban-column.js.map +1 -0
- package/dist/components/layout/kanban/kanban-column.template.d.ts +3 -0
- package/dist/components/layout/kanban/kanban-column.template.d.ts.map +1 -0
- package/dist/components/layout/{column-board/column-board-column.template.js → kanban/kanban-column.template.js} +10 -10
- package/dist/components/layout/kanban/kanban-column.template.js.map +1 -0
- package/dist/components/layout/{column-board/column-board.d.ts → kanban/kanban.d.ts} +22 -22
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -0
- package/dist/components/layout/kanban/kanban.i18n.d.ts +11 -0
- package/dist/components/layout/kanban/kanban.i18n.d.ts.map +1 -0
- package/dist/components/layout/kanban/kanban.i18n.js +10 -0
- package/dist/components/layout/kanban/kanban.i18n.js.map +1 -0
- package/dist/components/layout/{column-board/column-board.js → kanban/kanban.js} +44 -44
- package/dist/components/layout/kanban/kanban.js.map +1 -0
- package/dist/components/layout/kanban/kanban.styles.d.ts +3 -0
- package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -0
- package/dist/components/layout/kanban/kanban.styles.js +260 -0
- package/dist/components/layout/kanban/kanban.styles.js.map +1 -0
- package/dist/components/layout/kanban/kanban.template.d.ts +3 -0
- package/dist/components/layout/kanban/kanban.template.d.ts.map +1 -0
- package/dist/components/layout/{column-board/column-board.template.js → kanban/kanban.template.js} +5 -5
- package/dist/components/layout/kanban/kanban.template.js.map +1 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +15 -3
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +6 -7
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +6 -7
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +1 -6
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/{nl.generated-B0pvf8VH.js → nl.generated-DzZkOgnP.js} +2 -2
- package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +7 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/components/{visibility-mixin-Dti3xE8R.js → visibility-mixin-BMtETgjk.js} +2 -2
- package/dist/css/themes/bruin.css +1 -0
- package/dist/css/themes/donkerblauw.css +1 -0
- package/dist/css/themes/donkerbruin.css +1 -0
- package/dist/css/themes/donkergeel.css +1 -0
- package/dist/css/themes/donkergroen.css +1 -0
- package/dist/css/themes/geel.css +1 -0
- package/dist/css/themes/groen.css +1 -0
- package/dist/css/themes/hemelblauw.css +1 -0
- package/dist/css/themes/lichtblauw.css +1 -0
- package/dist/css/themes/mintgroen.css +1 -0
- package/dist/css/themes/mosgroen.css +1 -0
- package/dist/css/themes/oranje.css +1 -0
- package/dist/css/themes/paars.css +1 -0
- package/dist/css/themes/robijnrood.css +1 -0
- package/dist/css/themes/rood.css +1 -0
- package/dist/css/themes/roze.css +1 -0
- package/dist/css/themes/violet.css +1 -0
- package/dist/css/themes.css +17 -0
- package/dist/css/variables.css +1 -0
- package/dist/nldd.min.js +1428 -1331
- package/dist/translations/en-US.js +7 -7
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.js +7 -7
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +7 -7
- package/dist/translations/nl.generated.js +2 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.js +7 -7
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.js +7 -7
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +53 -49
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +32 -27
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/file-drag-and-drop.js +1 -1
- package/dist/utilities/file-drag-and-drop.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +3 -1
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +4 -4
- package/dist/components/icon-DU_IMj2t.js +0 -968
- package/dist/components/layout/column-board/column-board-column.d.ts.map +0 -1
- package/dist/components/layout/column-board/column-board-column.js.map +0 -1
- package/dist/components/layout/column-board/column-board-column.template.d.ts +0 -3
- package/dist/components/layout/column-board/column-board-column.template.d.ts.map +0 -1
- package/dist/components/layout/column-board/column-board-column.template.js.map +0 -1
- package/dist/components/layout/column-board/column-board.d.ts.map +0 -1
- package/dist/components/layout/column-board/column-board.i18n.d.ts +0 -11
- package/dist/components/layout/column-board/column-board.i18n.d.ts.map +0 -1
- package/dist/components/layout/column-board/column-board.i18n.js +0 -10
- package/dist/components/layout/column-board/column-board.i18n.js.map +0 -1
- package/dist/components/layout/column-board/column-board.js.map +0 -1
- package/dist/components/layout/column-board/column-board.styles.d.ts +0 -3
- package/dist/components/layout/column-board/column-board.styles.d.ts.map +0 -1
- package/dist/components/layout/column-board/column-board.styles.js +0 -260
- package/dist/components/layout/column-board/column-board.styles.js.map +0 -1
- package/dist/components/layout/column-board/column-board.template.d.ts +0 -3
- package/dist/components/layout/column-board/column-board.template.d.ts.map +0 -1
- package/dist/components/layout/column-board/column-board.template.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -9294,18 +9294,18 @@
|
|
|
9294
9294
|
},
|
|
9295
9295
|
{
|
|
9296
9296
|
"kind": "js",
|
|
9297
|
-
"name": "
|
|
9297
|
+
"name": "NLDDKanban",
|
|
9298
9298
|
"declaration": {
|
|
9299
|
-
"name": "
|
|
9300
|
-
"module": "./layout/
|
|
9299
|
+
"name": "NLDDKanban",
|
|
9300
|
+
"module": "./layout/kanban/kanban.js"
|
|
9301
9301
|
}
|
|
9302
9302
|
},
|
|
9303
9303
|
{
|
|
9304
9304
|
"kind": "js",
|
|
9305
|
-
"name": "
|
|
9305
|
+
"name": "NLDDKanbanColumn",
|
|
9306
9306
|
"declaration": {
|
|
9307
|
-
"name": "
|
|
9308
|
-
"module": "./layout/
|
|
9307
|
+
"name": "NLDDKanbanColumn",
|
|
9308
|
+
"module": "./layout/kanban/kanban.js"
|
|
9309
9309
|
}
|
|
9310
9310
|
},
|
|
9311
9311
|
{
|
|
@@ -15261,9 +15261,10 @@
|
|
|
15261
15261
|
"kind": "field",
|
|
15262
15262
|
"name": "value",
|
|
15263
15263
|
"type": {
|
|
15264
|
-
"text": "number"
|
|
15264
|
+
"text": "number | null"
|
|
15265
15265
|
},
|
|
15266
|
-
"default": "
|
|
15266
|
+
"default": "null",
|
|
15267
|
+
"description": "The value, or null for an empty field. An empty or unreadable attribute is empty too.",
|
|
15267
15268
|
"attribute": "value"
|
|
15268
15269
|
},
|
|
15269
15270
|
{
|
|
@@ -15310,6 +15311,17 @@
|
|
|
15310
15311
|
"attribute": "disabled",
|
|
15311
15312
|
"reflects": true
|
|
15312
15313
|
},
|
|
15314
|
+
{
|
|
15315
|
+
"kind": "field",
|
|
15316
|
+
"name": "required",
|
|
15317
|
+
"type": {
|
|
15318
|
+
"text": "boolean"
|
|
15319
|
+
},
|
|
15320
|
+
"default": "false",
|
|
15321
|
+
"description": "A value has to be filled in. An empty field is then invalid.",
|
|
15322
|
+
"attribute": "required",
|
|
15323
|
+
"reflects": true
|
|
15324
|
+
},
|
|
15313
15325
|
{
|
|
15314
15326
|
"kind": "field",
|
|
15315
15327
|
"name": "name",
|
|
@@ -15611,22 +15623,22 @@
|
|
|
15611
15623
|
"events": [
|
|
15612
15624
|
{
|
|
15613
15625
|
"name": "input",
|
|
15614
|
-
"description": "When the value changes (typing, +/- button, or on-commit correction); detail: { value: number }"
|
|
15626
|
+
"description": "When the value changes (typing, +/- button, or on-commit correction); not for typing that reads as the same number, such as `1.0` after `1`. detail: { value: number | null }, null when the field is empty"
|
|
15615
15627
|
},
|
|
15616
15628
|
{
|
|
15617
15629
|
"name": "change",
|
|
15618
|
-
"description": "When the value is committed (blur/Enter or +/- button), clamped to [min, max]; empty
|
|
15630
|
+
"description": "When the value is committed (blur/Enter or +/- button), clamped to [min, max]; an emptied field, or text that is no number (such as `-` or `1e`), commits as empty: null. From empty, + and - start at 0, or at the nearer end of the range when 0 lies outside it. When the committed value differs from the typed value, a matching input event is fired immediately before this one. detail: { value: number | null }"
|
|
15619
15631
|
}
|
|
15620
15632
|
],
|
|
15621
15633
|
"attributes": [
|
|
15622
15634
|
{
|
|
15623
15635
|
"name": "value",
|
|
15624
15636
|
"type": {
|
|
15625
|
-
"text": "number"
|
|
15637
|
+
"text": "number | null"
|
|
15626
15638
|
},
|
|
15627
|
-
"default": "
|
|
15628
|
-
"
|
|
15629
|
-
"
|
|
15639
|
+
"default": "null",
|
|
15640
|
+
"description": "Current value. Leave it out for an empty field, which submits an empty string and takes `min` and `max` as no reason to be invalid: only `required` asks for a value, as with a native number input. As a property, `null` is empty. In an empty field + and - are both enabled, and start at 0, or at the nearer end of the range when 0 lies outside it (`min=\"1\"` starts at 1).",
|
|
15641
|
+
"fieldName": "value"
|
|
15630
15642
|
},
|
|
15631
15643
|
{
|
|
15632
15644
|
"name": "min",
|
|
@@ -15673,6 +15685,15 @@
|
|
|
15673
15685
|
"fieldName": "disabled",
|
|
15674
15686
|
"description": "Disabled state"
|
|
15675
15687
|
},
|
|
15688
|
+
{
|
|
15689
|
+
"name": "required",
|
|
15690
|
+
"type": {
|
|
15691
|
+
"text": "boolean"
|
|
15692
|
+
},
|
|
15693
|
+
"default": "false",
|
|
15694
|
+
"description": "A value has to be filled in. An empty field is then invalid.",
|
|
15695
|
+
"fieldName": "required"
|
|
15696
|
+
},
|
|
15676
15697
|
{
|
|
15677
15698
|
"name": "name",
|
|
15678
15699
|
"type": {
|
|
@@ -15818,6 +15839,16 @@
|
|
|
15818
15839
|
"attribute": "size",
|
|
15819
15840
|
"reflects": true
|
|
15820
15841
|
},
|
|
15842
|
+
{
|
|
15843
|
+
"kind": "field",
|
|
15844
|
+
"name": "centered",
|
|
15845
|
+
"type": {
|
|
15846
|
+
"text": "boolean"
|
|
15847
|
+
},
|
|
15848
|
+
"default": "false",
|
|
15849
|
+
"attribute": "centered",
|
|
15850
|
+
"reflects": true
|
|
15851
|
+
},
|
|
15821
15852
|
{
|
|
15822
15853
|
"kind": "field",
|
|
15823
15854
|
"name": "length",
|
|
@@ -16261,7 +16292,16 @@
|
|
|
16261
16292
|
"expandedType": {
|
|
16262
16293
|
"text": "'lg' | 'md' | 'sm'"
|
|
16263
16294
|
},
|
|
16264
|
-
"description": "'sm' | 'md' (default) | 'lg'. 'lg' has boxes
|
|
16295
|
+
"description": "'sm' | 'md' (default) | 'lg'. 'lg' has boxes 56px tall with larger characters, for a page where the code is the only thing to do, such as signing in. Where the boxes do not fit the width, the field steps down a size, to md and then sm: a code never wraps onto a second line. Where not even sm fits, the field shows the code in a text field of its own size."
|
|
16296
|
+
},
|
|
16297
|
+
{
|
|
16298
|
+
"name": "centered",
|
|
16299
|
+
"type": {
|
|
16300
|
+
"text": "boolean"
|
|
16301
|
+
},
|
|
16302
|
+
"default": "false",
|
|
16303
|
+
"fieldName": "centered",
|
|
16304
|
+
"description": "Puts the boxes in the middle of the row, as on a sign-in page where the code is the only field. The field keeps the full width of the row, so it still sees when the boxes no longer fit and steps down a size; centering it from outside, with the alignment of its parent, would shrink it to its boxes and take that away."
|
|
16265
16305
|
},
|
|
16266
16306
|
{
|
|
16267
16307
|
"name": "length",
|
|
@@ -18747,10 +18787,10 @@
|
|
|
18747
18787
|
"text": "SearchButtonAppearance | null"
|
|
18748
18788
|
},
|
|
18749
18789
|
"default": "null",
|
|
18750
|
-
"description": "Shows a search button on the right, in the appearance you name: '
|
|
18790
|
+
"description": "Shows a search button on the right, in the appearance you name: 'secondary' (also with no value) | 'primary'. Leave it out for no button: Enter searches as well. 'primary' is for a page where searching is the main task, such as a search page; in a header or above a list the quiet one fits.",
|
|
18751
18791
|
"fieldName": "searchButton",
|
|
18752
18792
|
"expandedType": {
|
|
18753
|
-
"text": "'' | '
|
|
18793
|
+
"text": "'' | 'primary' | 'secondary'"
|
|
18754
18794
|
}
|
|
18755
18795
|
},
|
|
18756
18796
|
{
|
|
@@ -28109,6 +28149,12 @@
|
|
|
28109
28149
|
"text": "void"
|
|
28110
28150
|
}
|
|
28111
28151
|
},
|
|
28152
|
+
"parameters": [
|
|
28153
|
+
{
|
|
28154
|
+
"name": "smooth",
|
|
28155
|
+
"default": "false"
|
|
28156
|
+
}
|
|
28157
|
+
],
|
|
28112
28158
|
"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."
|
|
28113
28159
|
},
|
|
28114
28160
|
{
|
|
@@ -30398,323 +30444,6 @@
|
|
|
30398
30444
|
}
|
|
30399
30445
|
]
|
|
30400
30446
|
},
|
|
30401
|
-
{
|
|
30402
|
-
"kind": "javascript-module",
|
|
30403
|
-
"path": "src/components/layout/column-board/column-board-column.ts",
|
|
30404
|
-
"declarations": [
|
|
30405
|
-
{
|
|
30406
|
-
"kind": "class",
|
|
30407
|
-
"description": "One column of an `nldd-column-board`: a header and the items under it. The items are whatever you put in the column, usually an `nldd-card` each; the board moves them between columns. Without a `header` slot the column shows its `text` and the number of items. With one, the header is yours: an `nldd-title`, a button to add an item, a badge. `text` stays the column's name either way: it is what a screen reader hears when an item moves here (\"Verplaatst naar In behandeling\"), so set it, or `accessible-label`, also when the header comes from the slot. The column scrolls on its own once its items do not fit the height of the board, and fades at the top or the bottom while there is more to scroll to.",
|
|
30408
|
-
"name": "NLDDColumnBoardColumn",
|
|
30409
|
-
"members": [
|
|
30410
|
-
{
|
|
30411
|
-
"kind": "field",
|
|
30412
|
-
"name": "text",
|
|
30413
|
-
"type": {
|
|
30414
|
-
"text": "string"
|
|
30415
|
-
},
|
|
30416
|
-
"default": "''",
|
|
30417
|
-
"attribute": "text",
|
|
30418
|
-
"reflects": true
|
|
30419
|
-
},
|
|
30420
|
-
{
|
|
30421
|
-
"kind": "field",
|
|
30422
|
-
"name": "accessibleLabel",
|
|
30423
|
-
"type": {
|
|
30424
|
-
"text": "string"
|
|
30425
|
-
},
|
|
30426
|
-
"default": "''",
|
|
30427
|
-
"attribute": "accessible-label"
|
|
30428
|
-
},
|
|
30429
|
-
{
|
|
30430
|
-
"kind": "field",
|
|
30431
|
-
"name": "value",
|
|
30432
|
-
"type": {
|
|
30433
|
-
"text": "string"
|
|
30434
|
-
},
|
|
30435
|
-
"default": "''",
|
|
30436
|
-
"attribute": "value",
|
|
30437
|
-
"reflects": true
|
|
30438
|
-
},
|
|
30439
|
-
{
|
|
30440
|
-
"kind": "field",
|
|
30441
|
-
"name": "label",
|
|
30442
|
-
"type": {
|
|
30443
|
-
"text": "string"
|
|
30444
|
-
},
|
|
30445
|
-
"description": "The column's name: what a screen reader hears for it.",
|
|
30446
|
-
"readonly": true
|
|
30447
|
-
},
|
|
30448
|
-
{
|
|
30449
|
-
"kind": "field",
|
|
30450
|
-
"name": "items",
|
|
30451
|
-
"type": {
|
|
30452
|
-
"text": "HTMLElement[]"
|
|
30453
|
-
},
|
|
30454
|
-
"description": "The column's items, in order; a hidden one does not count.",
|
|
30455
|
-
"readonly": true
|
|
30456
|
-
}
|
|
30457
|
-
],
|
|
30458
|
-
"attributes": [
|
|
30459
|
-
{
|
|
30460
|
-
"name": "text",
|
|
30461
|
-
"type": {
|
|
30462
|
-
"text": "string"
|
|
30463
|
-
},
|
|
30464
|
-
"default": "''",
|
|
30465
|
-
"fieldName": "text",
|
|
30466
|
-
"description": "The column's name, shown in the header and used as its accessible name"
|
|
30467
|
-
},
|
|
30468
|
-
{
|
|
30469
|
-
"name": "accessible-label",
|
|
30470
|
-
"type": {
|
|
30471
|
-
"text": "string"
|
|
30472
|
-
},
|
|
30473
|
-
"default": "''",
|
|
30474
|
-
"fieldName": "accessibleLabel",
|
|
30475
|
-
"description": "Accessible name in place of `text`, for a column whose header comes from the slot"
|
|
30476
|
-
},
|
|
30477
|
-
{
|
|
30478
|
-
"name": "value",
|
|
30479
|
-
"type": {
|
|
30480
|
-
"text": "string"
|
|
30481
|
-
},
|
|
30482
|
-
"default": "''",
|
|
30483
|
-
"fieldName": "value",
|
|
30484
|
-
"description": "What the column stands for in your data, such as a status; `nldd-move` reports it as `fromColumn` and `toColumn`"
|
|
30485
|
-
}
|
|
30486
|
-
],
|
|
30487
|
-
"superclass": {
|
|
30488
|
-
"name": "LitElement",
|
|
30489
|
-
"package": "lit"
|
|
30490
|
-
},
|
|
30491
|
-
"tagName": "nldd-column-board-column",
|
|
30492
|
-
"customElement": true,
|
|
30493
|
-
"slots": [
|
|
30494
|
-
{
|
|
30495
|
-
"name": "header",
|
|
30496
|
-
"description": "The header, in place of `text` and the count"
|
|
30497
|
-
},
|
|
30498
|
-
{
|
|
30499
|
-
"name": "",
|
|
30500
|
-
"description": "The items"
|
|
30501
|
-
},
|
|
30502
|
-
{
|
|
30503
|
-
"name": "footer",
|
|
30504
|
-
"description": "Right under the last item, such as a button to add one; it scrolls along with the items"
|
|
30505
|
-
}
|
|
30506
|
-
]
|
|
30507
|
-
}
|
|
30508
|
-
],
|
|
30509
|
-
"exports": [
|
|
30510
|
-
{
|
|
30511
|
-
"kind": "js",
|
|
30512
|
-
"name": "NLDDColumnBoardColumn",
|
|
30513
|
-
"declaration": {
|
|
30514
|
-
"name": "NLDDColumnBoardColumn",
|
|
30515
|
-
"module": "src/components/layout/column-board/column-board-column.ts"
|
|
30516
|
-
}
|
|
30517
|
-
},
|
|
30518
|
-
{
|
|
30519
|
-
"kind": "custom-element-definition",
|
|
30520
|
-
"name": "nldd-column-board-column",
|
|
30521
|
-
"declaration": {
|
|
30522
|
-
"name": "NLDDColumnBoardColumn",
|
|
30523
|
-
"module": "src/components/layout/column-board/column-board-column.ts"
|
|
30524
|
-
}
|
|
30525
|
-
}
|
|
30526
|
-
]
|
|
30527
|
-
},
|
|
30528
|
-
{
|
|
30529
|
-
"kind": "javascript-module",
|
|
30530
|
-
"path": "src/components/layout/column-board/column-board.ts",
|
|
30531
|
-
"declarations": [
|
|
30532
|
-
{
|
|
30533
|
-
"kind": "class",
|
|
30534
|
-
"description": "Columns side by side, with items you move between them: a kanban board, or any board where an item's column is one of its values, such as a status or a team. Put `nldd-column-board-column`s in it, and the items in those, usually an `nldd-card` each. The board scrolls sideways once its columns do not fit, and a column scrolls on its own once its items do not fit the height you give the board. An item moves in three ways, and all three fire the same `nldd-move`: - **Dragging.** Pick up the whole item and drop it in a column. A press that does not move is still a click, so an item that is a link or a button keeps working. Released outside the board, the item goes back to its place, which a note above it says once it stays out a moment. On a touch screen you hold the item a moment before it lifts, so a swipe still scrolls. - **Keyboard.** With focus on an item, or on something inside it, Alt with the up or down arrow moves it within its column, and Alt with the left or right arrow to the column beside it. - **`moveItem()`.** WCAG 2.5.7 asks for a way that does not drag. Give each item a menu \"Verplaatsen naar\" with the other columns (`columns` lists them) and call `moveItem()` from it. The menu is yours; the board only moves. With `readonly` nothing moves: no dragging and no Alt with the arrows, while the items still work, so a card still opens. Use it for someone who may only look, or a board that is closed. `moveItem()` still moves, so your app can still show a move someone else made. An attempt to move an item, dragging it past a click or Alt with an arrow, shows \"Dit bord is alleen-lezen\" at the item, says it to a screen reader and fires `nldd-move-denied`, so your app can say why in an `nldd-notification`. Say it above the board too: only your app knows the reason, and then nobody has to try. The board moves nothing itself. `nldd-move` says which item goes where, and your app moves it in its data, or in the DOM, in the handler: the app owns the order, so a framework that renders the columns never fights the board over them. `toIndex` is the place the item takes in `toColumn`, counted without the item itself, so `splice(fromIndex, 1)` on the one list and `splice(toIndex, 0, item)` on the other is the whole move. Move it synchronously in the handler: the board puts focus back on the item right after, and a screen reader hears where it landed.",
|
|
30535
|
-
"name": "NLDDColumnBoard",
|
|
30536
|
-
"members": [
|
|
30537
|
-
{
|
|
30538
|
-
"kind": "field",
|
|
30539
|
-
"name": "accessibleLabel",
|
|
30540
|
-
"type": {
|
|
30541
|
-
"text": "string"
|
|
30542
|
-
},
|
|
30543
|
-
"default": "''",
|
|
30544
|
-
"attribute": "accessible-label"
|
|
30545
|
-
},
|
|
30546
|
-
{
|
|
30547
|
-
"kind": "field",
|
|
30548
|
-
"name": "height",
|
|
30549
|
-
"type": {
|
|
30550
|
-
"text": "string"
|
|
30551
|
-
},
|
|
30552
|
-
"default": "''",
|
|
30553
|
-
"attribute": "height",
|
|
30554
|
-
"reflects": true
|
|
30555
|
-
},
|
|
30556
|
-
{
|
|
30557
|
-
"kind": "field",
|
|
30558
|
-
"name": "readonly",
|
|
30559
|
-
"type": {
|
|
30560
|
-
"text": "boolean"
|
|
30561
|
-
},
|
|
30562
|
-
"default": "false",
|
|
30563
|
-
"attribute": "readonly",
|
|
30564
|
-
"reflects": true
|
|
30565
|
-
},
|
|
30566
|
-
{
|
|
30567
|
-
"kind": "field",
|
|
30568
|
-
"name": "columns",
|
|
30569
|
-
"type": {
|
|
30570
|
-
"text": "NLDDColumnBoardColumn[]"
|
|
30571
|
-
},
|
|
30572
|
-
"description": "The columns, in order.",
|
|
30573
|
-
"readonly": true
|
|
30574
|
-
},
|
|
30575
|
-
{
|
|
30576
|
-
"kind": "method",
|
|
30577
|
-
"name": "moveItem",
|
|
30578
|
-
"return": {
|
|
30579
|
-
"type": {
|
|
30580
|
-
"text": "boolean"
|
|
30581
|
-
}
|
|
30582
|
-
},
|
|
30583
|
-
"parameters": [
|
|
30584
|
-
{
|
|
30585
|
-
"name": "item",
|
|
30586
|
-
"type": {
|
|
30587
|
-
"text": "HTMLElement"
|
|
30588
|
-
}
|
|
30589
|
-
},
|
|
30590
|
-
{
|
|
30591
|
-
"name": "toColumn",
|
|
30592
|
-
"type": {
|
|
30593
|
-
"text": "string | NLDDColumnBoardColumn"
|
|
30594
|
-
}
|
|
30595
|
-
},
|
|
30596
|
-
{
|
|
30597
|
-
"name": "toIndex",
|
|
30598
|
-
"optional": true,
|
|
30599
|
-
"type": {
|
|
30600
|
-
"text": "number"
|
|
30601
|
-
}
|
|
30602
|
-
}
|
|
30603
|
-
]
|
|
30604
|
-
},
|
|
30605
|
-
{
|
|
30606
|
-
"kind": "field",
|
|
30607
|
-
"name": "translations",
|
|
30608
|
-
"type": {
|
|
30609
|
-
"text": "Partial<T>"
|
|
30610
|
-
},
|
|
30611
|
-
"default": "{}",
|
|
30612
|
-
"attribute": "translations",
|
|
30613
|
-
"inheritedFrom": {
|
|
30614
|
-
"name": "withTranslations",
|
|
30615
|
-
"module": "src/utilities/with-translations.ts"
|
|
30616
|
-
}
|
|
30617
|
-
}
|
|
30618
|
-
],
|
|
30619
|
-
"events": [
|
|
30620
|
-
{
|
|
30621
|
-
"name": "nldd-move",
|
|
30622
|
-
"description": "An item moves: `{ item, fromColumn, fromIndex, toColumn, toIndex }`, where a column is its `value` (or its `text` without one)"
|
|
30623
|
-
},
|
|
30624
|
-
{
|
|
30625
|
-
"name": "nldd-move-denied",
|
|
30626
|
-
"description": "An item a `readonly` board does not move was dragged or moved with the keyboard: `{ item }`"
|
|
30627
|
-
}
|
|
30628
|
-
],
|
|
30629
|
-
"attributes": [
|
|
30630
|
-
{
|
|
30631
|
-
"name": "accessible-label",
|
|
30632
|
-
"type": {
|
|
30633
|
-
"text": "string"
|
|
30634
|
-
},
|
|
30635
|
-
"default": "''",
|
|
30636
|
-
"fieldName": "accessibleLabel",
|
|
30637
|
-
"description": "Accessible name of the board (default: \"Bord\")"
|
|
30638
|
-
},
|
|
30639
|
-
{
|
|
30640
|
-
"name": "height",
|
|
30641
|
-
"type": {
|
|
30642
|
-
"text": "string"
|
|
30643
|
-
},
|
|
30644
|
-
"default": "''",
|
|
30645
|
-
"fieldName": "height",
|
|
30646
|
-
"description": "Fixed height as a CSS length (e.g. '480px'): every column takes it, and scrolls its items once they do not fit. To fill a page or a pane, set the height in your layout instead (flex, or `height: 100%`)"
|
|
30647
|
-
},
|
|
30648
|
-
{
|
|
30649
|
-
"name": "readonly",
|
|
30650
|
-
"type": {
|
|
30651
|
-
"text": "boolean"
|
|
30652
|
-
},
|
|
30653
|
-
"default": "false",
|
|
30654
|
-
"fieldName": "readonly",
|
|
30655
|
-
"description": "Items cannot be dragged or moved with the keyboard; they still work, and `moveItem()` still moves"
|
|
30656
|
-
},
|
|
30657
|
-
{
|
|
30658
|
-
"name": "translations",
|
|
30659
|
-
"type": {
|
|
30660
|
-
"text": "Partial<T>"
|
|
30661
|
-
},
|
|
30662
|
-
"default": "{}",
|
|
30663
|
-
"fieldName": "translations",
|
|
30664
|
-
"inheritedFrom": {
|
|
30665
|
-
"name": "withTranslations",
|
|
30666
|
-
"module": "src/utilities/with-translations.ts"
|
|
30667
|
-
},
|
|
30668
|
-
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
30669
|
-
}
|
|
30670
|
-
],
|
|
30671
|
-
"mixins": [
|
|
30672
|
-
{
|
|
30673
|
-
"name": "withTranslations",
|
|
30674
|
-
"module": "/src/utilities/with-translations.js"
|
|
30675
|
-
}
|
|
30676
|
-
],
|
|
30677
|
-
"superclass": {
|
|
30678
|
-
"name": "LitElement",
|
|
30679
|
-
"package": "lit"
|
|
30680
|
-
},
|
|
30681
|
-
"tagName": "nldd-column-board",
|
|
30682
|
-
"customElement": true,
|
|
30683
|
-
"slots": [
|
|
30684
|
-
{
|
|
30685
|
-
"name": "",
|
|
30686
|
-
"description": "The columns: `nldd-column-board-column`"
|
|
30687
|
-
}
|
|
30688
|
-
]
|
|
30689
|
-
}
|
|
30690
|
-
],
|
|
30691
|
-
"exports": [
|
|
30692
|
-
{
|
|
30693
|
-
"kind": "js",
|
|
30694
|
-
"name": "NLDDColumnBoardColumn",
|
|
30695
|
-
"declaration": {
|
|
30696
|
-
"name": "NLDDColumnBoardColumn",
|
|
30697
|
-
"module": "src/components/layout/column-board/column-board.ts"
|
|
30698
|
-
}
|
|
30699
|
-
},
|
|
30700
|
-
{
|
|
30701
|
-
"kind": "js",
|
|
30702
|
-
"name": "NLDDColumnBoard",
|
|
30703
|
-
"declaration": {
|
|
30704
|
-
"name": "NLDDColumnBoard",
|
|
30705
|
-
"module": "src/components/layout/column-board/column-board.ts"
|
|
30706
|
-
}
|
|
30707
|
-
},
|
|
30708
|
-
{
|
|
30709
|
-
"kind": "custom-element-definition",
|
|
30710
|
-
"name": "nldd-column-board",
|
|
30711
|
-
"declaration": {
|
|
30712
|
-
"name": "NLDDColumnBoard",
|
|
30713
|
-
"module": "src/components/layout/column-board/column-board.ts"
|
|
30714
|
-
}
|
|
30715
|
-
}
|
|
30716
|
-
]
|
|
30717
|
-
},
|
|
30718
30447
|
{
|
|
30719
30448
|
"kind": "javascript-module",
|
|
30720
30449
|
"path": "src/components/layout/container/container.ts",
|
|
@@ -31774,6 +31503,323 @@
|
|
|
31774
31503
|
}
|
|
31775
31504
|
]
|
|
31776
31505
|
},
|
|
31506
|
+
{
|
|
31507
|
+
"kind": "javascript-module",
|
|
31508
|
+
"path": "src/components/layout/kanban/kanban-column.ts",
|
|
31509
|
+
"declarations": [
|
|
31510
|
+
{
|
|
31511
|
+
"kind": "class",
|
|
31512
|
+
"description": "One column of an `nldd-kanban`: a header and the items under it. The items are whatever you put in the column, usually an `nldd-card` each; the board moves them between columns. Without a `header` slot the column shows its `text` and the number of items. With one, the header is yours: an `nldd-title`, a button to add an item, a badge. `text` stays the column's name either way: it is what a screen reader hears when an item moves here (\"Verplaatst naar In behandeling\"), so set it, or `accessible-label`, also when the header comes from the slot. The column scrolls on its own once its items do not fit the height of the board, and fades at the top or the bottom while there is more to scroll to.",
|
|
31513
|
+
"name": "NLDDKanbanColumn",
|
|
31514
|
+
"members": [
|
|
31515
|
+
{
|
|
31516
|
+
"kind": "field",
|
|
31517
|
+
"name": "text",
|
|
31518
|
+
"type": {
|
|
31519
|
+
"text": "string"
|
|
31520
|
+
},
|
|
31521
|
+
"default": "''",
|
|
31522
|
+
"attribute": "text",
|
|
31523
|
+
"reflects": true
|
|
31524
|
+
},
|
|
31525
|
+
{
|
|
31526
|
+
"kind": "field",
|
|
31527
|
+
"name": "accessibleLabel",
|
|
31528
|
+
"type": {
|
|
31529
|
+
"text": "string"
|
|
31530
|
+
},
|
|
31531
|
+
"default": "''",
|
|
31532
|
+
"attribute": "accessible-label"
|
|
31533
|
+
},
|
|
31534
|
+
{
|
|
31535
|
+
"kind": "field",
|
|
31536
|
+
"name": "value",
|
|
31537
|
+
"type": {
|
|
31538
|
+
"text": "string"
|
|
31539
|
+
},
|
|
31540
|
+
"default": "''",
|
|
31541
|
+
"attribute": "value",
|
|
31542
|
+
"reflects": true
|
|
31543
|
+
},
|
|
31544
|
+
{
|
|
31545
|
+
"kind": "field",
|
|
31546
|
+
"name": "label",
|
|
31547
|
+
"type": {
|
|
31548
|
+
"text": "string"
|
|
31549
|
+
},
|
|
31550
|
+
"description": "The column's name: what a screen reader hears for it.",
|
|
31551
|
+
"readonly": true
|
|
31552
|
+
},
|
|
31553
|
+
{
|
|
31554
|
+
"kind": "field",
|
|
31555
|
+
"name": "items",
|
|
31556
|
+
"type": {
|
|
31557
|
+
"text": "HTMLElement[]"
|
|
31558
|
+
},
|
|
31559
|
+
"description": "The column's items, in order; a hidden one does not count.",
|
|
31560
|
+
"readonly": true
|
|
31561
|
+
}
|
|
31562
|
+
],
|
|
31563
|
+
"attributes": [
|
|
31564
|
+
{
|
|
31565
|
+
"name": "text",
|
|
31566
|
+
"type": {
|
|
31567
|
+
"text": "string"
|
|
31568
|
+
},
|
|
31569
|
+
"default": "''",
|
|
31570
|
+
"fieldName": "text",
|
|
31571
|
+
"description": "The column's name, shown in the header and used as its accessible name"
|
|
31572
|
+
},
|
|
31573
|
+
{
|
|
31574
|
+
"name": "accessible-label",
|
|
31575
|
+
"type": {
|
|
31576
|
+
"text": "string"
|
|
31577
|
+
},
|
|
31578
|
+
"default": "''",
|
|
31579
|
+
"fieldName": "accessibleLabel",
|
|
31580
|
+
"description": "Accessible name in place of `text`, for a column whose header comes from the slot"
|
|
31581
|
+
},
|
|
31582
|
+
{
|
|
31583
|
+
"name": "value",
|
|
31584
|
+
"type": {
|
|
31585
|
+
"text": "string"
|
|
31586
|
+
},
|
|
31587
|
+
"default": "''",
|
|
31588
|
+
"fieldName": "value",
|
|
31589
|
+
"description": "What the column stands for in your data, such as a status; `nldd-move` reports it as `fromColumn` and `toColumn`"
|
|
31590
|
+
}
|
|
31591
|
+
],
|
|
31592
|
+
"superclass": {
|
|
31593
|
+
"name": "LitElement",
|
|
31594
|
+
"package": "lit"
|
|
31595
|
+
},
|
|
31596
|
+
"tagName": "nldd-kanban-column",
|
|
31597
|
+
"customElement": true,
|
|
31598
|
+
"slots": [
|
|
31599
|
+
{
|
|
31600
|
+
"name": "header",
|
|
31601
|
+
"description": "The header, in place of `text` and the count"
|
|
31602
|
+
},
|
|
31603
|
+
{
|
|
31604
|
+
"name": "",
|
|
31605
|
+
"description": "The items"
|
|
31606
|
+
},
|
|
31607
|
+
{
|
|
31608
|
+
"name": "footer",
|
|
31609
|
+
"description": "Right under the last item, such as a button to add one; it scrolls along with the items"
|
|
31610
|
+
}
|
|
31611
|
+
]
|
|
31612
|
+
}
|
|
31613
|
+
],
|
|
31614
|
+
"exports": [
|
|
31615
|
+
{
|
|
31616
|
+
"kind": "js",
|
|
31617
|
+
"name": "NLDDKanbanColumn",
|
|
31618
|
+
"declaration": {
|
|
31619
|
+
"name": "NLDDKanbanColumn",
|
|
31620
|
+
"module": "src/components/layout/kanban/kanban-column.ts"
|
|
31621
|
+
}
|
|
31622
|
+
},
|
|
31623
|
+
{
|
|
31624
|
+
"kind": "custom-element-definition",
|
|
31625
|
+
"name": "nldd-kanban-column",
|
|
31626
|
+
"declaration": {
|
|
31627
|
+
"name": "NLDDKanbanColumn",
|
|
31628
|
+
"module": "src/components/layout/kanban/kanban-column.ts"
|
|
31629
|
+
}
|
|
31630
|
+
}
|
|
31631
|
+
]
|
|
31632
|
+
},
|
|
31633
|
+
{
|
|
31634
|
+
"kind": "javascript-module",
|
|
31635
|
+
"path": "src/components/layout/kanban/kanban.ts",
|
|
31636
|
+
"declarations": [
|
|
31637
|
+
{
|
|
31638
|
+
"kind": "class",
|
|
31639
|
+
"description": "Columns side by side, with items you move between them. Kanban is Japanese for a visible board, so it is any board where an item's column is one of its values: a status, but also a team or a phase. Put `nldd-kanban-column`s in it, and the items in those, usually an `nldd-card` each. The board scrolls sideways once its columns do not fit, and a column scrolls on its own once its items do not fit the height you give the board. An item moves in three ways, and all three fire the same `nldd-move`: - **Dragging.** Pick up the whole item and drop it in a column. A press that does not move is still a click, so an item that is a link or a button keeps working. Released outside the board, the item goes back to its place, which a note above it says once it stays out a moment. On a touch screen you hold the item a moment before it lifts, so a swipe still scrolls. - **Keyboard.** With focus on an item, or on something inside it, Alt with the up or down arrow moves it within its column, and Alt with the left or right arrow to the column beside it. - **`moveItem()`.** WCAG 2.5.7 asks for a way that does not drag. Give each item a menu \"Verplaatsen naar\" with the other columns (`columns` lists them) and call `moveItem()` from it. The menu is yours; the board only moves. With `readonly` nothing moves: no dragging and no Alt with the arrows, while the items still work, so a card still opens. Use it for someone who may only look, or a board that is closed. `moveItem()` still moves, so your app can still show a move someone else made. An attempt to move an item, dragging it past a click or Alt with an arrow, shows \"Dit bord is alleen-lezen\" at the item, says it to a screen reader and fires `nldd-move-denied`, so your app can say why in an `nldd-notification`. Say it above the board too: only your app knows the reason, and then nobody has to try. The board moves nothing itself. `nldd-move` says which item goes where, and your app moves it in its data, or in the DOM, in the handler: the app owns the order, so a framework that renders the columns never fights the board over them. `toIndex` is the place the item takes in `toColumn`, counted without the item itself, so `splice(fromIndex, 1)` on the one list and `splice(toIndex, 0, item)` on the other is the whole move. Move it synchronously in the handler: the board puts focus back on the item right after, and a screen reader hears where it landed.",
|
|
31640
|
+
"name": "NLDDKanban",
|
|
31641
|
+
"members": [
|
|
31642
|
+
{
|
|
31643
|
+
"kind": "field",
|
|
31644
|
+
"name": "accessibleLabel",
|
|
31645
|
+
"type": {
|
|
31646
|
+
"text": "string"
|
|
31647
|
+
},
|
|
31648
|
+
"default": "''",
|
|
31649
|
+
"attribute": "accessible-label"
|
|
31650
|
+
},
|
|
31651
|
+
{
|
|
31652
|
+
"kind": "field",
|
|
31653
|
+
"name": "height",
|
|
31654
|
+
"type": {
|
|
31655
|
+
"text": "string"
|
|
31656
|
+
},
|
|
31657
|
+
"default": "''",
|
|
31658
|
+
"attribute": "height",
|
|
31659
|
+
"reflects": true
|
|
31660
|
+
},
|
|
31661
|
+
{
|
|
31662
|
+
"kind": "field",
|
|
31663
|
+
"name": "readonly",
|
|
31664
|
+
"type": {
|
|
31665
|
+
"text": "boolean"
|
|
31666
|
+
},
|
|
31667
|
+
"default": "false",
|
|
31668
|
+
"attribute": "readonly",
|
|
31669
|
+
"reflects": true
|
|
31670
|
+
},
|
|
31671
|
+
{
|
|
31672
|
+
"kind": "field",
|
|
31673
|
+
"name": "columns",
|
|
31674
|
+
"type": {
|
|
31675
|
+
"text": "NLDDKanbanColumn[]"
|
|
31676
|
+
},
|
|
31677
|
+
"description": "The columns, in order.",
|
|
31678
|
+
"readonly": true
|
|
31679
|
+
},
|
|
31680
|
+
{
|
|
31681
|
+
"kind": "method",
|
|
31682
|
+
"name": "moveItem",
|
|
31683
|
+
"return": {
|
|
31684
|
+
"type": {
|
|
31685
|
+
"text": "boolean"
|
|
31686
|
+
}
|
|
31687
|
+
},
|
|
31688
|
+
"parameters": [
|
|
31689
|
+
{
|
|
31690
|
+
"name": "item",
|
|
31691
|
+
"type": {
|
|
31692
|
+
"text": "HTMLElement"
|
|
31693
|
+
}
|
|
31694
|
+
},
|
|
31695
|
+
{
|
|
31696
|
+
"name": "toColumn",
|
|
31697
|
+
"type": {
|
|
31698
|
+
"text": "string | NLDDKanbanColumn"
|
|
31699
|
+
}
|
|
31700
|
+
},
|
|
31701
|
+
{
|
|
31702
|
+
"name": "toIndex",
|
|
31703
|
+
"optional": true,
|
|
31704
|
+
"type": {
|
|
31705
|
+
"text": "number"
|
|
31706
|
+
}
|
|
31707
|
+
}
|
|
31708
|
+
]
|
|
31709
|
+
},
|
|
31710
|
+
{
|
|
31711
|
+
"kind": "field",
|
|
31712
|
+
"name": "translations",
|
|
31713
|
+
"type": {
|
|
31714
|
+
"text": "Partial<T>"
|
|
31715
|
+
},
|
|
31716
|
+
"default": "{}",
|
|
31717
|
+
"attribute": "translations",
|
|
31718
|
+
"inheritedFrom": {
|
|
31719
|
+
"name": "withTranslations",
|
|
31720
|
+
"module": "src/utilities/with-translations.ts"
|
|
31721
|
+
}
|
|
31722
|
+
}
|
|
31723
|
+
],
|
|
31724
|
+
"events": [
|
|
31725
|
+
{
|
|
31726
|
+
"name": "nldd-move",
|
|
31727
|
+
"description": "An item moves: `{ item, fromColumn, fromIndex, toColumn, toIndex }`, where a column is its `value` (or its `text` without one)"
|
|
31728
|
+
},
|
|
31729
|
+
{
|
|
31730
|
+
"name": "nldd-move-denied",
|
|
31731
|
+
"description": "An item a `readonly` board does not move was dragged or moved with the keyboard: `{ item }`"
|
|
31732
|
+
}
|
|
31733
|
+
],
|
|
31734
|
+
"attributes": [
|
|
31735
|
+
{
|
|
31736
|
+
"name": "accessible-label",
|
|
31737
|
+
"type": {
|
|
31738
|
+
"text": "string"
|
|
31739
|
+
},
|
|
31740
|
+
"default": "''",
|
|
31741
|
+
"fieldName": "accessibleLabel",
|
|
31742
|
+
"description": "Accessible name of the board (default: \"Bord\")"
|
|
31743
|
+
},
|
|
31744
|
+
{
|
|
31745
|
+
"name": "height",
|
|
31746
|
+
"type": {
|
|
31747
|
+
"text": "string"
|
|
31748
|
+
},
|
|
31749
|
+
"default": "''",
|
|
31750
|
+
"fieldName": "height",
|
|
31751
|
+
"description": "Fixed height as a CSS length (e.g. '480px'): every column takes it, and scrolls its items once they do not fit. To fill a page or a pane, set the height in your layout instead (flex, or `height: 100%`)"
|
|
31752
|
+
},
|
|
31753
|
+
{
|
|
31754
|
+
"name": "readonly",
|
|
31755
|
+
"type": {
|
|
31756
|
+
"text": "boolean"
|
|
31757
|
+
},
|
|
31758
|
+
"default": "false",
|
|
31759
|
+
"fieldName": "readonly",
|
|
31760
|
+
"description": "Items cannot be dragged or moved with the keyboard; they still work, and `moveItem()` still moves"
|
|
31761
|
+
},
|
|
31762
|
+
{
|
|
31763
|
+
"name": "translations",
|
|
31764
|
+
"type": {
|
|
31765
|
+
"text": "Partial<T>"
|
|
31766
|
+
},
|
|
31767
|
+
"default": "{}",
|
|
31768
|
+
"fieldName": "translations",
|
|
31769
|
+
"inheritedFrom": {
|
|
31770
|
+
"name": "withTranslations",
|
|
31771
|
+
"module": "src/utilities/with-translations.ts"
|
|
31772
|
+
},
|
|
31773
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
31774
|
+
}
|
|
31775
|
+
],
|
|
31776
|
+
"mixins": [
|
|
31777
|
+
{
|
|
31778
|
+
"name": "withTranslations",
|
|
31779
|
+
"module": "/src/utilities/with-translations.js"
|
|
31780
|
+
}
|
|
31781
|
+
],
|
|
31782
|
+
"superclass": {
|
|
31783
|
+
"name": "LitElement",
|
|
31784
|
+
"package": "lit"
|
|
31785
|
+
},
|
|
31786
|
+
"tagName": "nldd-kanban",
|
|
31787
|
+
"customElement": true,
|
|
31788
|
+
"slots": [
|
|
31789
|
+
{
|
|
31790
|
+
"name": "",
|
|
31791
|
+
"description": "The columns: `nldd-kanban-column`"
|
|
31792
|
+
}
|
|
31793
|
+
]
|
|
31794
|
+
}
|
|
31795
|
+
],
|
|
31796
|
+
"exports": [
|
|
31797
|
+
{
|
|
31798
|
+
"kind": "js",
|
|
31799
|
+
"name": "NLDDKanbanColumn",
|
|
31800
|
+
"declaration": {
|
|
31801
|
+
"name": "NLDDKanbanColumn",
|
|
31802
|
+
"module": "src/components/layout/kanban/kanban.ts"
|
|
31803
|
+
}
|
|
31804
|
+
},
|
|
31805
|
+
{
|
|
31806
|
+
"kind": "js",
|
|
31807
|
+
"name": "NLDDKanban",
|
|
31808
|
+
"declaration": {
|
|
31809
|
+
"name": "NLDDKanban",
|
|
31810
|
+
"module": "src/components/layout/kanban/kanban.ts"
|
|
31811
|
+
}
|
|
31812
|
+
},
|
|
31813
|
+
{
|
|
31814
|
+
"kind": "custom-element-definition",
|
|
31815
|
+
"name": "nldd-kanban",
|
|
31816
|
+
"declaration": {
|
|
31817
|
+
"name": "NLDDKanban",
|
|
31818
|
+
"module": "src/components/layout/kanban/kanban.ts"
|
|
31819
|
+
}
|
|
31820
|
+
}
|
|
31821
|
+
]
|
|
31822
|
+
},
|
|
31777
31823
|
{
|
|
31778
31824
|
"kind": "javascript-module",
|
|
31779
31825
|
"path": "src/components/layout/page-footer/page-footer.ts",
|
|
@@ -33319,7 +33365,7 @@
|
|
|
33319
33365
|
"declarations": [
|
|
33320
33366
|
{
|
|
33321
33367
|
"kind": "class",
|
|
33322
|
-
"description": "A section with two equal columns side by side. The columns
|
|
33368
|
+
"description": "A section with two equal columns side by side. The columns stand side by side in a section of 50rem (800px) or wider and stack below that, at the same width for every section with two columns. Padding and gap adjust via container queries.",
|
|
33323
33369
|
"name": "NLDDOneHalfOneHalfSection",
|
|
33324
33370
|
"members": [
|
|
33325
33371
|
{
|
|
@@ -33838,7 +33884,7 @@
|
|
|
33838
33884
|
"declarations": [
|
|
33839
33885
|
{
|
|
33840
33886
|
"kind": "class",
|
|
33841
|
-
"description": "A section with a 1/3 sidebar on the left and 2/3 main content on the right. The columns
|
|
33887
|
+
"description": "A section with a 1/3 sidebar on the left and 2/3 main content on the right. The columns stand side by side in a section of 50rem (800px) or wider and stack below that, at the same width for every section with two columns. Padding and gap adjust via container queries.",
|
|
33842
33888
|
"name": "NLDDOneThirdTwoThirdsSection",
|
|
33843
33889
|
"members": [
|
|
33844
33890
|
{
|
|
@@ -35592,7 +35638,7 @@
|
|
|
35592
35638
|
"declarations": [
|
|
35593
35639
|
{
|
|
35594
35640
|
"kind": "class",
|
|
35595
|
-
"description": "A section with 2/3 main content on the left and a 1/3 sidebar on the right. The columns
|
|
35641
|
+
"description": "A section with 2/3 main content on the left and a 1/3 sidebar on the right. The columns stand side by side in a section of 50rem (800px) or wider and stack below that, at the same width for every section with two columns. Padding and gap adjust via container queries.",
|
|
35596
35642
|
"name": "NLDDTwoThirdsOneThirdSection",
|
|
35597
35643
|
"members": [
|
|
35598
35644
|
{
|
|
@@ -44697,7 +44743,7 @@
|
|
|
44697
44743
|
},
|
|
44698
44744
|
{
|
|
44699
44745
|
"name": "actions",
|
|
44700
|
-
"description": "nldd-button elements, wrapped in a horizontal nldd-button-group"
|
|
44746
|
+
"description": "nldd-button elements, wrapped in a horizontal nldd-button-group that makes them sm, at either banner size: an action beside a notice should not weigh as much as the buttons of the page."
|
|
44701
44747
|
}
|
|
44702
44748
|
]
|
|
44703
44749
|
}
|