lintje 0.6.0 → 0.7.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/dist-elements/actions.js +1 -1
- package/dist-elements/chunks/addon-CFoSG70u.js +5 -0
- package/dist-elements/chunks/base-BsZyWDre.js +226 -0
- package/dist-elements/chunks/{chart-styles-zJy-DGvZ.js → chart-styles-C5IzbVUF.js} +12 -12
- package/dist-elements/chunks/controls-lVYdiFQu.js +1 -0
- package/dist-elements/chunks/dialog-close-CzMRXkJ6.js +1 -0
- package/dist-elements/chunks/{disclosure-DHZz0V4I.js → disclosure-CQcLUnKh.js} +5 -5
- package/dist-elements/chunks/{download-D1wbtARJ.js → download-CxEzwMxI.js} +1 -1
- package/dist-elements/chunks/focus-trap-BDxiHED1.js +1 -0
- package/dist-elements/chunks/follow-7IBDa51N.js +1 -0
- package/dist-elements/chunks/input-C7qx0e4p.js +8 -0
- package/dist-elements/chunks/input-CazTpGUd.js +1 -0
- package/dist-elements/chunks/other-BaLStKaf.js +11 -0
- package/dist-elements/chunks/{player-Dh7ZHcMF.js → player-BEG3MVCm.js} +20 -20
- package/dist-elements/chunks/sentence-CjgQjBP9.js +3 -0
- package/dist-elements/chunks/stagger-CwsMNTLl.js +133 -0
- package/dist-elements/core.js +1 -1
- package/dist-elements/custom-elements.json +509 -68
- package/dist-elements/data-types.json +155 -12
- package/dist-elements/feedback.js +1 -1
- package/dist-elements/guides/events.md +7 -1
- package/dist-elements/inputs.js +1 -1
- package/dist-elements/layout.js +1 -1
- package/dist-elements/lintje.js +1051 -1001
- package/dist-elements/overlays.js +1 -1
- package/dist-elements/tag/activity-log.js +10 -10
- package/dist-elements/tag/ai-label.js +5 -5
- package/dist-elements/tag/announcement.js +9 -9
- package/dist-elements/tag/app-search.js +19 -19
- package/dist-elements/tag/audio-player.js +40 -40
- package/dist-elements/tag/badge.js +1 -1
- package/dist-elements/tag/breadcrumbs.js +8 -8
- package/dist-elements/tag/button.js +1 -1
- package/dist-elements/tag/card-list.js +9 -9
- package/dist-elements/tag/card.js +29 -29
- package/dist-elements/tag/chart.js +379 -379
- package/dist-elements/tag/chat-answer.js +44 -44
- package/dist-elements/tag/chat-composer.js +32 -34
- package/dist-elements/tag/chat-message.js +11 -11
- package/dist-elements/tag/chat-strip.js +27 -27
- package/dist-elements/tag/chat-suggestions.js +9 -9
- package/dist-elements/tag/chat.js +35 -35
- package/dist-elements/tag/checkbox-group.js +17 -9
- package/dist-elements/tag/checkbox.js +10 -10
- package/dist-elements/tag/code.js +9 -9
- package/dist-elements/tag/combobox.js +23 -23
- package/dist-elements/tag/conflict-alert.js +7 -7
- package/dist-elements/tag/copy-button.js +9 -9
- package/dist-elements/tag/data-table.js +217 -213
- package/dist-elements/tag/date-input.js +25 -25
- package/dist-elements/tag/date-range.js +27 -26
- package/dist-elements/tag/description-list.js +17 -17
- package/dist-elements/tag/dialog.js +7 -7
- package/dist-elements/tag/document-viewer.js +35 -27
- package/dist-elements/tag/drawer.js +9 -9
- package/dist-elements/tag/empty-state.js +1 -1
- package/dist-elements/tag/error-page.js +11 -11
- package/dist-elements/tag/error-summary.js +13 -13
- package/dist-elements/tag/expander.js +4 -4
- package/dist-elements/tag/explainer.js +5 -5
- package/dist-elements/tag/field.js +5 -5
- package/dist-elements/tag/file-upload.js +32 -32
- package/dist-elements/tag/filter-bar.js +17 -17
- package/dist-elements/tag/filter-sheet.js +4 -4
- package/dist-elements/tag/filter-zone.js +15 -16
- package/dist-elements/tag/find.js +18 -18
- package/dist-elements/tag/footer.js +14 -14
- package/dist-elements/tag/form-actions.js +3 -3
- package/dist-elements/tag/form-section.js +4 -4
- package/dist-elements/tag/form.js +5 -5
- package/dist-elements/tag/gallery.js +11 -11
- package/dist-elements/tag/grid-item.js +1 -1
- package/dist-elements/tag/grid.js +1 -1
- package/dist-elements/tag/hero.js +7 -7
- package/dist-elements/tag/highlight.js +4 -4
- package/dist-elements/tag/icon-button.js +1 -1
- package/dist-elements/tag/icon.js +1 -1
- package/dist-elements/tag/job-list.js +4 -4
- package/dist-elements/tag/kpi-row.js +5 -5
- package/dist-elements/tag/kpi.js +73 -73
- package/dist-elements/tag/level-meter.js +8 -8
- package/dist-elements/tag/list.js +43 -43
- package/dist-elements/tag/log-viewer.js +80 -80
- package/dist-elements/tag/logo.js +26 -29
- package/dist-elements/tag/map.js +153 -151
- package/dist-elements/tag/menu-button.js +33 -33
- package/dist-elements/tag/modal.js +9 -9
- package/dist-elements/tag/multiselect.js +23 -23
- package/dist-elements/tag/note.js +2 -2
- package/dist-elements/tag/notifications.js +28 -28
- package/dist-elements/tag/number-input.js +20 -19
- package/dist-elements/tag/page-header.js +15 -16
- package/dist-elements/tag/pagination.js +25 -27
- package/dist-elements/tag/popover.js +1 -1
- package/dist-elements/tag/progress-bar.js +1 -1
- package/dist-elements/tag/prose.js +1 -1
- package/dist-elements/tag/qr-code.js +5 -5
- package/dist-elements/tag/radio-group.js +31 -22
- package/dist-elements/tag/range.js +27 -31
- package/dist-elements/tag/recording-status.js +9 -9
- package/dist-elements/tag/repeater.js +5 -5
- package/dist-elements/tag/segmented.js +10 -10
- package/dist-elements/tag/select.js +9 -9
- package/dist-elements/tag/shell.js +253 -264
- package/dist-elements/tag/skeleton.js +1 -1
- package/dist-elements/tag/slot-picker.js +17 -17
- package/dist-elements/tag/sortable-list.js +20 -20
- package/dist-elements/tag/spinner.js +1 -1
- package/dist-elements/tag/split-pane.js +9 -9
- package/dist-elements/tag/status-dot.js +1 -1
- package/dist-elements/tag/stepper.js +14 -14
- package/dist-elements/tag/streaming-text.js +13 -13
- package/dist-elements/tag/sub-nav.js +17 -17
- package/dist-elements/tag/tabs.js +37 -37
- package/dist-elements/tag/tag-input.js +29 -29
- package/dist-elements/tag/text-editor.js +19 -19
- package/dist-elements/tag/text-input.js +54 -39
- package/dist-elements/tag/textarea.js +14 -14
- package/dist-elements/tag/tile.js +1 -1
- package/dist-elements/tag/time-input.js +13 -13
- package/dist-elements/tag/toast.js +8 -8
- package/dist-elements/tag/toggle.js +7 -7
- package/dist-elements/tag/toggletip.js +6 -7
- package/dist-elements/tag/token-value.js +2 -2
- package/dist-elements/tag/tooltip.js +1 -1
- package/dist-elements/tag/transcript.js +32 -32
- package/dist-elements/tag/translator.js +6 -6
- package/dist-elements/tag/tree-view.js +23 -23
- package/dist-elements/tag/user-menu.js +39 -28
- package/dist-elements/tag/video-player.js +14 -14
- package/dist-elements/tokens.css +2 -0
- package/dist-elements/tokens.json +4 -0
- package/dist-elements/types/components/actions/button/button.d.ts +1 -0
- package/dist-elements/types/components/actions/icon/icon.d.ts +2 -1
- package/dist-elements/types/components/actions/icon-button/icon-button.d.ts +0 -5
- package/dist-elements/types/components/actions/logo/logo.d.ts +7 -2
- package/dist-elements/types/components/chat/chat/chat.d.ts +0 -2
- package/dist-elements/types/components/chat/chat-composer/chat-composer.d.ts +1 -11
- package/dist-elements/types/components/content/document-viewer/document-viewer.d.ts +14 -1
- package/dist-elements/types/components/content/log-viewer/log-viewer.d.ts +1 -0
- package/dist-elements/types/components/feedback/job-list/job-list.d.ts +9 -2
- package/dist-elements/types/components/filters/filter-bar/filter-bar.d.ts +3 -0
- package/dist-elements/types/components/filters/filter-sheet/filter-sheet.d.ts +2 -7
- package/dist-elements/types/components/filters/filter-zone/filter-zone.d.ts +0 -2
- package/dist-elements/types/components/forms/error-summary/error-summary.d.ts +5 -1
- package/dist-elements/types/components/forms/form/form.d.ts +10 -3
- package/dist-elements/types/components/forms/form-actions/form-actions.d.ts +4 -1
- package/dist-elements/types/components/frame/app-search/app-search.d.ts +1 -0
- package/dist-elements/types/components/frame/page-header/page-header.d.ts +1 -1
- package/dist-elements/types/components/frame/shell/header.d.ts +6 -8
- package/dist-elements/types/components/frame/shell/navigation.d.ts +0 -7
- package/dist-elements/types/components/frame/shell/shell.d.ts +7 -6
- package/dist-elements/types/components/frame/shell/top-bar.d.ts +5 -2
- package/dist-elements/types/components/frame/user-menu/user-menu.d.ts +15 -2
- package/dist-elements/types/components/index.d.ts +3 -2
- package/dist-elements/types/components/inputs/checkbox-group/checkbox-group.d.ts +13 -7
- package/dist-elements/types/components/inputs/number-input/number-input.d.ts +4 -2
- package/dist-elements/types/components/inputs/radio-group/radio-group.d.ts +16 -4
- package/dist-elements/types/components/inputs/range/range.d.ts +0 -1
- package/dist-elements/types/components/inputs/segmented/segmented.d.ts +0 -2
- package/dist-elements/types/components/inputs/shared/addon.d.ts +14 -0
- package/dist-elements/types/components/inputs/shared/input.d.ts +58 -1
- package/dist-elements/types/components/inputs/text-input/text-input.d.ts +15 -1
- package/dist-elements/types/components/inputs/textarea/textarea.d.ts +3 -2
- package/dist-elements/types/components/layout/tabs/tabs.d.ts +0 -4
- package/dist-elements/types/components/overlays/popover/popover.d.ts +2 -4
- package/dist-elements/types/components/overlays/toggletip/toggletip.d.ts +2 -4
- package/dist-elements/types/components/overlays/tooltip/tooltip.d.ts +0 -2
- package/dist-elements/types/components/shared/controls.d.ts +26 -0
- package/dist-elements/types/components/shared/cut-text.d.ts +6 -0
- package/dist-elements/types/components/shared/dialog.d.ts +8 -2
- package/dist-elements/types/components/shared/focus-trap.d.ts +2 -0
- package/dist-elements/types/components/shared/follow.d.ts +8 -0
- package/dist-elements/types/components/shared/other.d.ts +24 -0
- package/dist-elements/types/components/shared/overflow.d.ts +4 -3
- package/dist-elements/types/components/shared/place.d.ts +5 -0
- package/dist-elements/types/components/tables/data-table/actions.d.ts +1 -1
- package/dist-elements/types/components/tables/data-table/data-table.d.ts +15 -3
- package/dist-elements/types/components/tables/data-table/filters.d.ts +2 -0
- package/dist-elements/types/components/tables/list/list.d.ts +2 -6
- package/dist-elements/types/core/frame-state.d.ts +2 -0
- package/dist-elements/types/icons/register.d.ts +1 -1
- package/dist-elements/types/icons/render.d.ts +1 -1
- package/dist-elements/types/types.d.ts +27 -4
- package/package.json +1 -1
- package/dist-elements/chunks/base-DuuwEY22.js +0 -224
- package/dist-elements/chunks/controls-IwMNNdZt.js +0 -1
- package/dist-elements/chunks/dialog-CuB90unp.js +0 -1
- package/dist-elements/chunks/dialog-close-CIwpGpo7.js +0 -1
- package/dist-elements/chunks/focus-trap-qYvMiFZF.js +0 -1
- package/dist-elements/chunks/frame-resize-observer-BGZg6VbV.js +0 -1
- package/dist-elements/chunks/input-CTxDOlLs.js +0 -1
- package/dist-elements/chunks/input-fzGBdp-5.js +0 -8
- package/dist-elements/chunks/sentence-DCIShaRE.js +0 -3
- package/dist-elements/chunks/stagger-nGiD5JgJ.js +0 -133
|
@@ -654,16 +654,6 @@
|
|
|
654
654
|
"attribute": "disabled",
|
|
655
655
|
"reflects": true
|
|
656
656
|
},
|
|
657
|
-
{
|
|
658
|
-
"kind": "field",
|
|
659
|
-
"name": "size",
|
|
660
|
-
"type": {
|
|
661
|
-
"text": "28 | 32 | 36 | 40 | 44"
|
|
662
|
-
},
|
|
663
|
-
"default": "32",
|
|
664
|
-
"description": "Accepted for hosts that set it; the box is always `--h-icon-button`.",
|
|
665
|
-
"attribute": "size"
|
|
666
|
-
},
|
|
667
657
|
{
|
|
668
658
|
"kind": "field",
|
|
669
659
|
"name": "pressed",
|
|
@@ -750,15 +740,6 @@
|
|
|
750
740
|
},
|
|
751
741
|
"default": "false"
|
|
752
742
|
},
|
|
753
|
-
{
|
|
754
|
-
"name": "size",
|
|
755
|
-
"fieldName": "size",
|
|
756
|
-
"type": {
|
|
757
|
-
"text": "28 | 32 | 36 | 40 | 44"
|
|
758
|
-
},
|
|
759
|
-
"default": "32",
|
|
760
|
-
"description": "Accepted for hosts that set it; the box is always `--h-icon-button`."
|
|
761
|
-
},
|
|
762
743
|
{
|
|
763
744
|
"name": "pressed",
|
|
764
745
|
"fieldName": "pressed",
|
|
@@ -816,7 +797,7 @@
|
|
|
816
797
|
"name": "LintjeIcon",
|
|
817
798
|
"tagName": "lintje-icon",
|
|
818
799
|
"customElement": true,
|
|
819
|
-
"description": "`<lintje-icon>` — one icon, named by its file in `dist-icons/` (without `.svg`).\n\nFor plain HTML pages; inside a component use `renderIcon()`, which this element also draws\nthrough. It takes `src`, else the register, else a loaded file
|
|
800
|
+
"description": "`<lintje-icon>` — one icon, named by its file in `dist-icons/` (without `.svg`).\n\nFor plain HTML pages; inside a component use `renderIcon()`, which this element also draws\nthrough. It takes `src`, else the register, else a loaded file. Without any it draws nothing\nyou see: with a `label` that label stays, as hidden text, so a screen reader still hears it.",
|
|
820
801
|
"superclass": {
|
|
821
802
|
"name": "LintjeElement"
|
|
822
803
|
},
|
|
@@ -955,7 +936,7 @@
|
|
|
955
936
|
"name": "LintjeLogo",
|
|
956
937
|
"tagName": "lintje-logo",
|
|
957
938
|
"customElement": true,
|
|
958
|
-
"description": "`<lintje-logo>` — the theme's emblem: the ribbon, with the organisation's name as text.\n\nEvery emblem file stands on `viewBox=\"0 0 346 75\"` with the 38 × 75 ribbon at x 154…192;\nthe element changes only how much of it is in frame, so the ribbon never moves. A file on any\nother viewBox is drawn whole. The name is text (`aria-hidden
|
|
939
|
+
"description": "`<lintje-logo>` — the theme's emblem: the ribbon, with the organisation's name as text.\n\nEvery emblem file stands on `viewBox=\"0 0 346 75\"` with the 38 × 75 ribbon at x 154…192;\nthe element changes only how much of it is in frame, so the ribbon never moves. A file on any\nother viewBox is drawn whole. The name is text (`aria-hidden`); the drawing carries `alt`, and\nthe byline after a comma wherever the byline is drawn.",
|
|
959
940
|
"superclass": {
|
|
960
941
|
"name": "LintjeElement"
|
|
961
942
|
},
|
|
@@ -978,7 +959,7 @@
|
|
|
978
959
|
"text": "number"
|
|
979
960
|
},
|
|
980
961
|
"default": "44",
|
|
981
|
-
"description": "The ribbon's width in pixels; the height follows the emblem's own ratio.",
|
|
962
|
+
"description": "The ribbon's width in pixels; the height follows the emblem's own ratio. A surrounding element\nthat sets `--lintje-logo-ribbon` (a CSS length) wins over it, as the logo bar does with\n`--w-ribbon`.",
|
|
982
963
|
"attribute": "width"
|
|
983
964
|
},
|
|
984
965
|
{
|
|
@@ -1055,7 +1036,7 @@
|
|
|
1055
1036
|
"text": "number"
|
|
1056
1037
|
},
|
|
1057
1038
|
"default": "44",
|
|
1058
|
-
"description": "The ribbon's width in pixels; the height follows the emblem's own ratio."
|
|
1039
|
+
"description": "The ribbon's width in pixels; the height follows the emblem's own ratio. A surrounding element\nthat sets `--lintje-logo-ribbon` (a CSS length) wins over it, as the logo bar does with\n`--w-ribbon`."
|
|
1059
1040
|
},
|
|
1060
1041
|
{
|
|
1061
1042
|
"name": "src",
|
|
@@ -3688,7 +3669,7 @@
|
|
|
3688
3669
|
"name": "LintjeDocumentViewer",
|
|
3689
3670
|
"tagName": "lintje-document-viewer",
|
|
3690
3671
|
"customElement": true,
|
|
3691
|
-
"description": "`<lintje-document-viewer>` — a document page by page: leaf, zoom and download.\n\nIt shows images only: the host renders a PDF to page images, and gives each page's text in\n`texts`, which a screen reader reads after the page. The file behind \"Downloaden\" is the\naccessible version: a tagged PDF, not a scan. Page and zoom are the element's; every change is\nreported.\n\nEvents: `lintje-page-change` `number` (the page, from 1), `lintje-zoom-change`\n`number | 'fit'` (a percentage), `lintje-download`.",
|
|
3672
|
+
"description": "`<lintje-document-viewer>` — a document page by page: leaf, zoom and download.\n\nIt shows images only: the host renders a PDF to page images, and gives each page's text in\n`texts`, which a screen reader reads after the page. The file behind \"Downloaden\" is the\naccessible version: a tagged PDF, not a scan. Page and zoom are the element's; every change is\nreported. The toolbar is one Tab stop: the arrows move along its buttons, while Home and End\nstay the first and the last page, as PageUp, PageDown, + and − stay the page and the zoom.\n\nEvents: `lintje-page-change` `number` (the page, from 1), `lintje-zoom-change`\n`number | 'fit'` (a percentage), `lintje-download`.",
|
|
3692
3673
|
"superclass": {
|
|
3693
3674
|
"name": "LintjeElement"
|
|
3694
3675
|
},
|
|
@@ -5981,7 +5962,7 @@
|
|
|
5981
5962
|
"name": "LintjeJobList",
|
|
5982
5963
|
"tagName": "lintje-job-list",
|
|
5983
5964
|
"customElement": true,
|
|
5984
|
-
"description": "`<lintje-job-list>` — the queue of long tasks: what runs, what is done and what went wrong, in\nthe work list's rows (`lintje-list`).\n\nIt never fetches: the host sets `jobs` again when a job moves. A job that changes state is read\nout once, as a sentence, from a status region of its own; the list itself is not live. A row\nwith an `href` opens a done job's result, or what runs where it can be followed.\n\nEvents: `lintje-job-cancel`, `lintje-job-retry`, `lintje-job-resume`, `lintje-job-remove`, each\n`string` (the job's id), `lintje-navigate` `{ href }` (a row with an `href`; cancel it to route).",
|
|
5965
|
+
"description": "`<lintje-job-list>` — the queue of long tasks: what runs, what is done and what went wrong, in\nthe work list's rows (`lintje-list`).\n\nIt never fetches: the host sets `jobs` again when a job moves. A job that changes state is read\nout once, as a sentence, from a status region of its own; the list itself is not live. A row\nwith an `href` opens a done job's result, or what runs where it can be followed.\n\nEvents: `lintje-job-cancel`, `lintje-job-retry`, `lintje-job-resume`, `lintje-job-remove`, each\n`string` (the job's id), `lintje-navigate` `{ href }` (a row with an `href`; cancel it to route),\n`lintje-jobs-empty` (the last job went with the focus in the list; cancel it to put the focus on\na visible target of your own, or it lands on the status region).",
|
|
5985
5966
|
"superclass": {
|
|
5986
5967
|
"name": "LintjeElement"
|
|
5987
5968
|
},
|
|
@@ -6001,9 +5982,10 @@
|
|
|
6001
5982
|
"kind": "field",
|
|
6002
5983
|
"name": "jobs",
|
|
6003
5984
|
"type": {
|
|
6004
|
-
"text": "Job[]"
|
|
5985
|
+
"text": "Job[] | undefined"
|
|
6005
5986
|
},
|
|
6006
|
-
"default": "
|
|
5987
|
+
"default": "undefined",
|
|
5988
|
+
"description": "The jobs, in the host's order. Unset until the host loads them: the first value is the load\nand is not read out; every change after it is, also the first job in an empty list."
|
|
6007
5989
|
},
|
|
6008
5990
|
{
|
|
6009
5991
|
"kind": "field",
|
|
@@ -6066,6 +6048,12 @@
|
|
|
6066
6048
|
"text": "CustomEvent"
|
|
6067
6049
|
}
|
|
6068
6050
|
},
|
|
6051
|
+
{
|
|
6052
|
+
"name": "lintje-jobs-empty",
|
|
6053
|
+
"type": {
|
|
6054
|
+
"text": "CustomEvent"
|
|
6055
|
+
}
|
|
6056
|
+
},
|
|
6069
6057
|
{
|
|
6070
6058
|
"name": "lintje-navigate",
|
|
6071
6059
|
"type": {
|
|
@@ -7449,7 +7437,7 @@
|
|
|
7449
7437
|
"name": "LintjeErrorSummary",
|
|
7450
7438
|
"tagName": "lintje-error-summary",
|
|
7451
7439
|
"customElement": true,
|
|
7452
|
-
"description": "`<lintje-error-summary>` — the error summary above a form, with a link to each field.\n\nIt never validates, and with nothing to show it draws nothing. A link focuses the field, found\nby `name` or `id` in the summary's own tree or, from a shadow root, in its host's light DOM, and\nscrolls it into view clear of a sticky top bar and the form's action bar.\n\nEvents: `lintje-retry` (\"Opnieuw proberen\" was pressed).",
|
|
7440
|
+
"description": "`<lintje-error-summary>` — the error summary above a form, with a link to each field.\n\nIt never validates, and with nothing to show it draws nothing. A link focuses the field, found\nby `name` or `id` in the summary's own tree or, from a shadow root, in its host's light DOM, and\nscrolls it into view clear of a sticky top bar and the form's action bar. `<name>-other` is the\nfield under a choice group's \"Anders\".\n\nIt is no alert: the focus is the announcement. A host that shows it after an attempt calls its\n`focus()`, as `lintje-form` does; a page that arrives with its errors set leaves the focus alone.\n\nEvents: `lintje-retry` (\"Opnieuw proberen\" was pressed).",
|
|
7453
7441
|
"superclass": {
|
|
7454
7442
|
"name": "LintjeElement"
|
|
7455
7443
|
},
|
|
@@ -7580,7 +7568,7 @@
|
|
|
7580
7568
|
"name": "LintjeFormActions",
|
|
7581
7569
|
"tagName": "lintje-form-actions",
|
|
7582
7570
|
"customElement": true,
|
|
7583
|
-
"description": "`<lintje-form-actions>` — the sticky action bar of a form: the draft status on the left, the\nslotted `lintje-button`s on the right, the last one primary.\n\nWhile connected it reserves its height as the page scroller's `scroll-padding-bottom`, so a\nfield the focus scrolls to is not hidden behind it.",
|
|
7571
|
+
"description": "`<lintje-form-actions>` — the sticky action bar of a form: the draft status on the left, the\nslotted `lintje-button`s on the right, the last one primary.\n\nWhile connected it reserves its height as the page scroller's `scroll-padding-bottom`, so a\nfield the focus scrolls to is not hidden behind it, and scrolls a focused element that still\nends up under it clear. While the form scrolls behind it, it casts its shadow upward. Below a\nviewport height of 30rem it does not stick and reserves nothing: it stands after the last field.",
|
|
7584
7572
|
"superclass": {
|
|
7585
7573
|
"name": "LintjeElement"
|
|
7586
7574
|
},
|
|
@@ -7801,7 +7789,7 @@
|
|
|
7801
7789
|
"name": "LintjeForm",
|
|
7802
7790
|
"tagName": "lintje-form",
|
|
7803
7791
|
"customElement": true,
|
|
7804
|
-
"description": "`<lintje-form>` — collects the values of its light-DOM fields, keeps the draft, asks for one\nsubmit and puts the host's errors under their fields.\n\nIts `<form>` is in the shadow root, so slotted fields have no form owner: Enter and a submit\nbutton reach it through the element's own handlers, once. It stops `lintje-values-change`, so\nform input never reaches the URL
|
|
7792
|
+
"description": "`<lintje-form>` — collects the values of its light-DOM fields, keeps the draft, asks for one\nsubmit and puts the host's errors under their fields.\n\nIts `<form>` is in the shadow root, so slotted fields have no form owner: Enter and a submit\nbutton reach it through the element's own handlers, once. It stops `lintje-values-change`, so\nform input never reaches the URL. A choice group's \"Anders\" text is a value of its own, under\n`<name>-other`, in the draft, the submit and `errors.fields`.\n\nEvents: `lintje-submit` `{ values }`, `lintje-invalid` `FormErrors`, `lintje-dirty-change`\n`boolean`.",
|
|
7805
7793
|
"superclass": {
|
|
7806
7794
|
"name": "LintjeElement"
|
|
7807
7795
|
},
|
|
@@ -7888,7 +7876,7 @@
|
|
|
7888
7876
|
{
|
|
7889
7877
|
"kind": "method",
|
|
7890
7878
|
"name": "collect",
|
|
7891
|
-
"description": "The values to send: `values` with the draft over it; silent and native controls are read.",
|
|
7879
|
+
"description": "The values to send: `values` with the draft over it; silent and native controls are read. A\ngroup with \"Anders\" adds `<name>-other`: its text while \"Anders\" is chosen, else `null`.",
|
|
7892
7880
|
"parameters": "()",
|
|
7893
7881
|
"return": {
|
|
7894
7882
|
"text": "FormValues"
|
|
@@ -7897,7 +7885,7 @@
|
|
|
7897
7885
|
{
|
|
7898
7886
|
"kind": "method",
|
|
7899
7887
|
"name": "forget",
|
|
7900
|
-
"description": "Drops a field from `values` and the draft; the form does this when a
|
|
7888
|
+
"description": "Drops a field from `values` and the draft, with its \"Anders\" text; the form does this when a\nnamed field leaves.",
|
|
7901
7889
|
"parameters": "(name: string)",
|
|
7902
7890
|
"return": {
|
|
7903
7891
|
"text": "void"
|
|
@@ -9232,8 +9220,8 @@
|
|
|
9232
9220
|
{
|
|
9233
9221
|
"kind": "method",
|
|
9234
9222
|
"name": "renderUserMenu",
|
|
9235
|
-
"description": "
|
|
9236
|
-
"parameters": "(
|
|
9223
|
+
"description": "`bar`: the avatar in the bar opens it. `sheet`: inline, the foot of the mobile menu. `side`:\nthe foot of the side menu opens it, folded to the avatar in the folded rail.",
|
|
9224
|
+
"parameters": "(place: 'bar' | 'sheet' | 'side', folded = false)",
|
|
9237
9225
|
"return": {
|
|
9238
9226
|
"text": "TemplateResult | typeof nothing"
|
|
9239
9227
|
}
|
|
@@ -9445,7 +9433,7 @@
|
|
|
9445
9433
|
"name": "LintjeUserMenu",
|
|
9446
9434
|
"tagName": "lintje-user-menu",
|
|
9447
9435
|
"customElement": true,
|
|
9448
|
-
"description": "`<lintje-user-menu>` — the user's avatar in the navigation bar and the menu it opens: name and\nrole, the host's rows (`MenuEntry`), \"Afmelden\" and the version.\n\nA menu, not a dialog: it traps no focus, and an Escape in a dialog opened over it is the\ndialog's.\n\nEvents: `lintje-action` `string` (the row's value), `lintje-navigate` `{ href }` (a link row),\n`lintje-logout` (without `logout-action`).",
|
|
9436
|
+
"description": "`<lintje-user-menu>` — the user's avatar in the navigation bar and the menu it opens: name and\nrole, the host's rows (`MenuEntry`), \"Afmelden\" and the version. With `variant=\"side\"` it is\nthe foot of the side menu: the avatar with the name and role beside it, the menu above it.\n\nA menu, not a dialog: it traps no focus, and an Escape in a dialog opened over it is the\ndialog's.\n\nEvents: `lintje-action` `string` (the row's value), `lintje-navigate` `{ href }` (a link row),\n`lintje-logout` (without `logout-action`), `lintje-toggle` `{ open }` (the menu opens or closes).",
|
|
9449
9437
|
"superclass": {
|
|
9450
9438
|
"name": "LintjeElement"
|
|
9451
9439
|
},
|
|
@@ -9515,6 +9503,28 @@
|
|
|
9515
9503
|
"attribute": "inline",
|
|
9516
9504
|
"reflects": true
|
|
9517
9505
|
},
|
|
9506
|
+
{
|
|
9507
|
+
"kind": "field",
|
|
9508
|
+
"name": "variant",
|
|
9509
|
+
"type": {
|
|
9510
|
+
"text": "'bar' | 'side'"
|
|
9511
|
+
},
|
|
9512
|
+
"default": "'bar'",
|
|
9513
|
+
"description": "`bar`: the avatar in the navigation bar, the menu below it. `side`: the foot of the side\nmenu, named by the user's name with the role beside it, the menu above it.",
|
|
9514
|
+
"attribute": "variant",
|
|
9515
|
+
"reflects": true
|
|
9516
|
+
},
|
|
9517
|
+
{
|
|
9518
|
+
"kind": "field",
|
|
9519
|
+
"name": "folded",
|
|
9520
|
+
"type": {
|
|
9521
|
+
"text": "boolean"
|
|
9522
|
+
},
|
|
9523
|
+
"default": "false",
|
|
9524
|
+
"description": "`side` in the folded rail: only the avatar shows; name and role stay for a screen reader.",
|
|
9525
|
+
"attribute": "folded",
|
|
9526
|
+
"reflects": true
|
|
9527
|
+
},
|
|
9518
9528
|
{
|
|
9519
9529
|
"kind": "field",
|
|
9520
9530
|
"name": "open",
|
|
@@ -9569,6 +9579,24 @@
|
|
|
9569
9579
|
"default": "false",
|
|
9570
9580
|
"description": "The content without button and popover, on the navigation's colours: for the mobile sheet."
|
|
9571
9581
|
},
|
|
9582
|
+
{
|
|
9583
|
+
"name": "variant",
|
|
9584
|
+
"fieldName": "variant",
|
|
9585
|
+
"type": {
|
|
9586
|
+
"text": "'bar' | 'side'"
|
|
9587
|
+
},
|
|
9588
|
+
"default": "'bar'",
|
|
9589
|
+
"description": "`bar`: the avatar in the navigation bar, the menu below it. `side`: the foot of the side\nmenu, named by the user's name with the role beside it, the menu above it."
|
|
9590
|
+
},
|
|
9591
|
+
{
|
|
9592
|
+
"name": "folded",
|
|
9593
|
+
"fieldName": "folded",
|
|
9594
|
+
"type": {
|
|
9595
|
+
"text": "boolean"
|
|
9596
|
+
},
|
|
9597
|
+
"default": "false",
|
|
9598
|
+
"description": "`side` in the folded rail: only the avatar shows; name and role stay for a screen reader."
|
|
9599
|
+
},
|
|
9572
9600
|
{
|
|
9573
9601
|
"name": "open",
|
|
9574
9602
|
"fieldName": "open",
|
|
@@ -9596,6 +9624,12 @@
|
|
|
9596
9624
|
"type": {
|
|
9597
9625
|
"text": "CustomEvent<{ href }>"
|
|
9598
9626
|
}
|
|
9627
|
+
},
|
|
9628
|
+
{
|
|
9629
|
+
"name": "lintje-toggle",
|
|
9630
|
+
"type": {
|
|
9631
|
+
"text": "CustomEvent<{ open }>"
|
|
9632
|
+
}
|
|
9599
9633
|
}
|
|
9600
9634
|
],
|
|
9601
9635
|
"slots": [],
|
|
@@ -9626,9 +9660,9 @@
|
|
|
9626
9660
|
"name": "LintjeCheckboxGroup",
|
|
9627
9661
|
"tagName": "lintje-checkbox-group",
|
|
9628
9662
|
"customElement": true,
|
|
9629
|
-
"description": "`<lintje-checkbox-group>` — several options under one label, a checkbox per line, with one hint\nand one message for the group.\n\nOnly the group tells the host: its rows carry no `name`. `required` draws nothing and sets no\nARIA, since a group cannot carry `aria-required`: the browser's message in a native form and\nthe host's message say what is missing.\n\nEvents: `lintje-change` `string[]` (the checked values), `lintje-values-change`\n`{ [name]: value }` (with a `name`)
|
|
9663
|
+
"description": "`<lintje-checkbox-group>` — several options under one label, a checkbox per line, with one hint\nand one message for the group.\n\nOnly the group tells the host: its rows carry no `name`. `required` draws nothing and sets no\nARIA, since a group cannot carry `aria-required`: the browser's message in a native form and\nthe host's message say what is missing. With `other` the last row is \"Anders\", value `other`,\nwith a text field under it while it is checked; the host sets `other-error` for an empty one.\n\nEvents: `lintje-change` `string[]` (the checked values), `lintje-other-change` `string` (the\nfield's text, on leaving it or Enter), `lintje-values-change`\n`{ [name]: value, [name-other]: text | null }` (with a `name`; the second key with `other`),\n`lintje-reset` (the reset link was pressed).",
|
|
9630
9664
|
"superclass": {
|
|
9631
|
-
"name": "
|
|
9665
|
+
"name": "LintjeChoiceGroupElement"
|
|
9632
9666
|
},
|
|
9633
9667
|
"members": [
|
|
9634
9668
|
{
|
|
@@ -9794,6 +9828,67 @@
|
|
|
9794
9828
|
"name": "LintjeInputElement"
|
|
9795
9829
|
}
|
|
9796
9830
|
},
|
|
9831
|
+
{
|
|
9832
|
+
"kind": "field",
|
|
9833
|
+
"name": "other",
|
|
9834
|
+
"type": {
|
|
9835
|
+
"text": "boolean"
|
|
9836
|
+
},
|
|
9837
|
+
"default": "false",
|
|
9838
|
+
"description": "Ends the options in \"Anders\", value `other`, with a text field under it while it is chosen.\nLeft out when an option of the host already has the value `other`.",
|
|
9839
|
+
"attribute": "other",
|
|
9840
|
+
"inheritedFrom": {
|
|
9841
|
+
"name": "LintjeChoiceGroupElement"
|
|
9842
|
+
}
|
|
9843
|
+
},
|
|
9844
|
+
{
|
|
9845
|
+
"kind": "field",
|
|
9846
|
+
"name": "otherLabel",
|
|
9847
|
+
"type": {
|
|
9848
|
+
"text": "string"
|
|
9849
|
+
},
|
|
9850
|
+
"default": "'Anders, namelijk'",
|
|
9851
|
+
"description": "The word of the option \"Anders\"; also the field's label, hidden.",
|
|
9852
|
+
"attribute": "other-label",
|
|
9853
|
+
"inheritedFrom": {
|
|
9854
|
+
"name": "LintjeChoiceGroupElement"
|
|
9855
|
+
}
|
|
9856
|
+
},
|
|
9857
|
+
{
|
|
9858
|
+
"kind": "field",
|
|
9859
|
+
"name": "otherText",
|
|
9860
|
+
"type": {
|
|
9861
|
+
"text": "string"
|
|
9862
|
+
},
|
|
9863
|
+
"default": "''",
|
|
9864
|
+
"description": "What the reader typed under \"Anders\". It changes when the field commits (leaving it, Enter)\nand stays when \"Anders\" goes. A property, not an attribute: a server-rendered page sets it as\ndata.",
|
|
9865
|
+
"inheritedFrom": {
|
|
9866
|
+
"name": "LintjeChoiceGroupElement"
|
|
9867
|
+
}
|
|
9868
|
+
},
|
|
9869
|
+
{
|
|
9870
|
+
"kind": "field",
|
|
9871
|
+
"name": "otherPlaceholder",
|
|
9872
|
+
"type": {
|
|
9873
|
+
"text": "string"
|
|
9874
|
+
},
|
|
9875
|
+
"attribute": "other-placeholder",
|
|
9876
|
+
"inheritedFrom": {
|
|
9877
|
+
"name": "LintjeChoiceGroupElement"
|
|
9878
|
+
}
|
|
9879
|
+
},
|
|
9880
|
+
{
|
|
9881
|
+
"kind": "field",
|
|
9882
|
+
"name": "otherError",
|
|
9883
|
+
"type": {
|
|
9884
|
+
"text": "string"
|
|
9885
|
+
},
|
|
9886
|
+
"description": "The host's message under the field of \"Anders\", such as `OTHER_MISSING_TEXT`; `lintje-form`\nsets it from `errors.fields['<name>-other']`. The group never sets it itself.",
|
|
9887
|
+
"attribute": "other-error",
|
|
9888
|
+
"inheritedFrom": {
|
|
9889
|
+
"name": "LintjeChoiceGroupElement"
|
|
9890
|
+
}
|
|
9891
|
+
},
|
|
9797
9892
|
{
|
|
9798
9893
|
"kind": "field",
|
|
9799
9894
|
"name": "options",
|
|
@@ -9809,7 +9904,7 @@
|
|
|
9809
9904
|
"text": "string[]"
|
|
9810
9905
|
},
|
|
9811
9906
|
"default": "[]",
|
|
9812
|
-
"description": "The checked values, in the order of `options
|
|
9907
|
+
"description": "The checked values, in the order of `options`, `other` after them; a value the options do not\nhold is kept at the end. A property, not an attribute: a server-rendered page sets it as data."
|
|
9813
9908
|
}
|
|
9814
9909
|
],
|
|
9815
9910
|
"methods": [],
|
|
@@ -9919,6 +10014,39 @@
|
|
|
9919
10014
|
"text": "string"
|
|
9920
10015
|
},
|
|
9921
10016
|
"description": "With `modified`: a link under the field (\"Terugzetten naar 2 tot 12\") that sends\n`lintje-reset`. A reader hears the field's `label` after it."
|
|
10017
|
+
},
|
|
10018
|
+
{
|
|
10019
|
+
"name": "other",
|
|
10020
|
+
"fieldName": "other",
|
|
10021
|
+
"type": {
|
|
10022
|
+
"text": "boolean"
|
|
10023
|
+
},
|
|
10024
|
+
"default": "false",
|
|
10025
|
+
"description": "Ends the options in \"Anders\", value `other`, with a text field under it while it is chosen.\nLeft out when an option of the host already has the value `other`."
|
|
10026
|
+
},
|
|
10027
|
+
{
|
|
10028
|
+
"name": "other-label",
|
|
10029
|
+
"fieldName": "otherLabel",
|
|
10030
|
+
"type": {
|
|
10031
|
+
"text": "string"
|
|
10032
|
+
},
|
|
10033
|
+
"default": "'Anders, namelijk'",
|
|
10034
|
+
"description": "The word of the option \"Anders\"; also the field's label, hidden."
|
|
10035
|
+
},
|
|
10036
|
+
{
|
|
10037
|
+
"name": "other-placeholder",
|
|
10038
|
+
"fieldName": "otherPlaceholder",
|
|
10039
|
+
"type": {
|
|
10040
|
+
"text": "string"
|
|
10041
|
+
}
|
|
10042
|
+
},
|
|
10043
|
+
{
|
|
10044
|
+
"name": "other-error",
|
|
10045
|
+
"fieldName": "otherError",
|
|
10046
|
+
"type": {
|
|
10047
|
+
"text": "string"
|
|
10048
|
+
},
|
|
10049
|
+
"description": "The host's message under the field of \"Anders\", such as `OTHER_MISSING_TEXT`; `lintje-form`\nsets it from `errors.fields['<name>-other']`. The group never sets it itself."
|
|
9922
10050
|
}
|
|
9923
10051
|
],
|
|
9924
10052
|
"events": [
|
|
@@ -9929,6 +10057,13 @@
|
|
|
9929
10057
|
},
|
|
9930
10058
|
"description": "Not composed: it stops at the shadow root."
|
|
9931
10059
|
},
|
|
10060
|
+
{
|
|
10061
|
+
"name": "lintje-other-change",
|
|
10062
|
+
"type": {
|
|
10063
|
+
"text": "CustomEvent<text>"
|
|
10064
|
+
},
|
|
10065
|
+
"description": "Not composed: it stops at the shadow root."
|
|
10066
|
+
},
|
|
9932
10067
|
{
|
|
9933
10068
|
"name": "lintje-reset",
|
|
9934
10069
|
"type": {
|
|
@@ -9939,7 +10074,7 @@
|
|
|
9939
10074
|
{
|
|
9940
10075
|
"name": "lintje-values-change",
|
|
9941
10076
|
"type": {
|
|
9942
|
-
"text": "CustomEvent<
|
|
10077
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
9943
10078
|
}
|
|
9944
10079
|
}
|
|
9945
10080
|
],
|
|
@@ -10293,6 +10428,13 @@
|
|
|
10293
10428
|
},
|
|
10294
10429
|
"description": "Not composed: it stops at the shadow root."
|
|
10295
10430
|
},
|
|
10431
|
+
{
|
|
10432
|
+
"name": "lintje-other-change",
|
|
10433
|
+
"type": {
|
|
10434
|
+
"text": "CustomEvent<text>"
|
|
10435
|
+
},
|
|
10436
|
+
"description": "Not composed: it stops at the shadow root."
|
|
10437
|
+
},
|
|
10296
10438
|
{
|
|
10297
10439
|
"name": "lintje-reset",
|
|
10298
10440
|
"type": {
|
|
@@ -10303,7 +10445,7 @@
|
|
|
10303
10445
|
{
|
|
10304
10446
|
"name": "lintje-values-change",
|
|
10305
10447
|
"type": {
|
|
10306
|
-
"text": "CustomEvent<
|
|
10448
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
10307
10449
|
}
|
|
10308
10450
|
}
|
|
10309
10451
|
],
|
|
@@ -10747,6 +10889,13 @@
|
|
|
10747
10889
|
},
|
|
10748
10890
|
"description": "Not composed: it stops at the shadow root."
|
|
10749
10891
|
},
|
|
10892
|
+
{
|
|
10893
|
+
"name": "lintje-other-change",
|
|
10894
|
+
"type": {
|
|
10895
|
+
"text": "CustomEvent<text>"
|
|
10896
|
+
},
|
|
10897
|
+
"description": "Not composed: it stops at the shadow root."
|
|
10898
|
+
},
|
|
10750
10899
|
{
|
|
10751
10900
|
"name": "lintje-reset",
|
|
10752
10901
|
"type": {
|
|
@@ -10763,7 +10912,7 @@
|
|
|
10763
10912
|
{
|
|
10764
10913
|
"name": "lintje-values-change",
|
|
10765
10914
|
"type": {
|
|
10766
|
-
"text": "CustomEvent<
|
|
10915
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
10767
10916
|
}
|
|
10768
10917
|
}
|
|
10769
10918
|
],
|
|
@@ -11205,6 +11354,13 @@
|
|
|
11205
11354
|
},
|
|
11206
11355
|
"description": "Not composed: it stops at the shadow root."
|
|
11207
11356
|
},
|
|
11357
|
+
{
|
|
11358
|
+
"name": "lintje-other-change",
|
|
11359
|
+
"type": {
|
|
11360
|
+
"text": "CustomEvent<text>"
|
|
11361
|
+
},
|
|
11362
|
+
"description": "Not composed: it stops at the shadow root."
|
|
11363
|
+
},
|
|
11208
11364
|
{
|
|
11209
11365
|
"name": "lintje-reset",
|
|
11210
11366
|
"type": {
|
|
@@ -11215,7 +11371,7 @@
|
|
|
11215
11371
|
{
|
|
11216
11372
|
"name": "lintje-values-change",
|
|
11217
11373
|
"type": {
|
|
11218
|
-
"text": "CustomEvent<
|
|
11374
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
11219
11375
|
}
|
|
11220
11376
|
}
|
|
11221
11377
|
],
|
|
@@ -11611,6 +11767,13 @@
|
|
|
11611
11767
|
},
|
|
11612
11768
|
"description": "Not composed: it stops at the shadow root."
|
|
11613
11769
|
},
|
|
11770
|
+
{
|
|
11771
|
+
"name": "lintje-other-change",
|
|
11772
|
+
"type": {
|
|
11773
|
+
"text": "CustomEvent<text>"
|
|
11774
|
+
},
|
|
11775
|
+
"description": "Not composed: it stops at the shadow root."
|
|
11776
|
+
},
|
|
11614
11777
|
{
|
|
11615
11778
|
"name": "lintje-reset",
|
|
11616
11779
|
"type": {
|
|
@@ -11621,7 +11784,7 @@
|
|
|
11621
11784
|
{
|
|
11622
11785
|
"name": "lintje-values-change",
|
|
11623
11786
|
"type": {
|
|
11624
|
-
"text": "CustomEvent<
|
|
11787
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
11625
11788
|
}
|
|
11626
11789
|
}
|
|
11627
11790
|
],
|
|
@@ -12145,6 +12308,13 @@
|
|
|
12145
12308
|
"text": "CustomEvent<passed>"
|
|
12146
12309
|
}
|
|
12147
12310
|
},
|
|
12311
|
+
{
|
|
12312
|
+
"name": "lintje-other-change",
|
|
12313
|
+
"type": {
|
|
12314
|
+
"text": "CustomEvent<text>"
|
|
12315
|
+
},
|
|
12316
|
+
"description": "Not composed: it stops at the shadow root."
|
|
12317
|
+
},
|
|
12148
12318
|
{
|
|
12149
12319
|
"name": "lintje-reset",
|
|
12150
12320
|
"type": {
|
|
@@ -12155,7 +12325,7 @@
|
|
|
12155
12325
|
{
|
|
12156
12326
|
"name": "lintje-values-change",
|
|
12157
12327
|
"type": {
|
|
12158
|
-
"text": "CustomEvent<
|
|
12328
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
12159
12329
|
}
|
|
12160
12330
|
}
|
|
12161
12331
|
],
|
|
@@ -12572,6 +12742,13 @@
|
|
|
12572
12742
|
"text": "CustomEvent<direction>"
|
|
12573
12743
|
}
|
|
12574
12744
|
},
|
|
12745
|
+
{
|
|
12746
|
+
"name": "lintje-other-change",
|
|
12747
|
+
"type": {
|
|
12748
|
+
"text": "CustomEvent<text>"
|
|
12749
|
+
},
|
|
12750
|
+
"description": "Not composed: it stops at the shadow root."
|
|
12751
|
+
},
|
|
12575
12752
|
{
|
|
12576
12753
|
"name": "lintje-reset",
|
|
12577
12754
|
"type": {
|
|
@@ -12582,7 +12759,7 @@
|
|
|
12582
12759
|
{
|
|
12583
12760
|
"name": "lintje-values-change",
|
|
12584
12761
|
"type": {
|
|
12585
|
-
"text": "CustomEvent<
|
|
12762
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
12586
12763
|
}
|
|
12587
12764
|
}
|
|
12588
12765
|
],
|
|
@@ -12982,6 +13159,13 @@
|
|
|
12982
13159
|
},
|
|
12983
13160
|
"description": "Not composed: it stops at the shadow root."
|
|
12984
13161
|
},
|
|
13162
|
+
{
|
|
13163
|
+
"name": "lintje-other-change",
|
|
13164
|
+
"type": {
|
|
13165
|
+
"text": "CustomEvent<text>"
|
|
13166
|
+
},
|
|
13167
|
+
"description": "Not composed: it stops at the shadow root."
|
|
13168
|
+
},
|
|
12985
13169
|
{
|
|
12986
13170
|
"name": "lintje-reset",
|
|
12987
13171
|
"type": {
|
|
@@ -12992,7 +13176,7 @@
|
|
|
12992
13176
|
{
|
|
12993
13177
|
"name": "lintje-values-change",
|
|
12994
13178
|
"type": {
|
|
12995
|
-
"text": "CustomEvent<
|
|
13179
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
12996
13180
|
}
|
|
12997
13181
|
}
|
|
12998
13182
|
],
|
|
@@ -13022,7 +13206,7 @@
|
|
|
13022
13206
|
"name": "LintjeNumberInput",
|
|
13023
13207
|
"tagName": "lintje-number-input",
|
|
13024
13208
|
"customElement": true,
|
|
13025
|
-
"description": "`<lintje-number-input>` — a −/+ stepper around a centred value, or a
|
|
13209
|
+
"description": "`<lintje-number-input>` — a −/+ stepper around a centred value, or without the stepper a fixed\ntext before the value (`prefix`) and a unit after it.\n\nIt commits on `change`; a press on − or + commits at once and says the new value, since the\nfocus stays on the step. At `min` or `max` the step stays focusable but does nothing.\n\nEvents: `lintje-change` `number | null`, `lintje-values-change` `{ [name]: value }` (with a\n`name`), `lintje-reset` (the reset link was pressed).",
|
|
13026
13210
|
"superclass": {
|
|
13027
13211
|
"name": "LintjeFormInputElement"
|
|
13028
13212
|
},
|
|
@@ -13237,6 +13421,16 @@
|
|
|
13237
13421
|
"default": "1",
|
|
13238
13422
|
"attribute": "step"
|
|
13239
13423
|
},
|
|
13424
|
+
{
|
|
13425
|
+
"kind": "field",
|
|
13426
|
+
"name": "prefix",
|
|
13427
|
+
"type": {
|
|
13428
|
+
"text": "string | null"
|
|
13429
|
+
},
|
|
13430
|
+
"default": "null",
|
|
13431
|
+
"description": "The fixed text before the value, e.g. \"€\", which describes the field; only without the stepper.",
|
|
13432
|
+
"attribute": "prefix"
|
|
13433
|
+
},
|
|
13240
13434
|
{
|
|
13241
13435
|
"kind": "field",
|
|
13242
13436
|
"name": "unit",
|
|
@@ -13412,6 +13606,15 @@
|
|
|
13412
13606
|
},
|
|
13413
13607
|
"default": "1"
|
|
13414
13608
|
},
|
|
13609
|
+
{
|
|
13610
|
+
"name": "prefix",
|
|
13611
|
+
"fieldName": "prefix",
|
|
13612
|
+
"type": {
|
|
13613
|
+
"text": "string | null"
|
|
13614
|
+
},
|
|
13615
|
+
"default": "null",
|
|
13616
|
+
"description": "The fixed text before the value, e.g. \"€\", which describes the field; only without the stepper."
|
|
13617
|
+
},
|
|
13415
13618
|
{
|
|
13416
13619
|
"name": "unit",
|
|
13417
13620
|
"fieldName": "unit",
|
|
@@ -13446,6 +13649,13 @@
|
|
|
13446
13649
|
},
|
|
13447
13650
|
"description": "Not composed: it stops at the shadow root."
|
|
13448
13651
|
},
|
|
13652
|
+
{
|
|
13653
|
+
"name": "lintje-other-change",
|
|
13654
|
+
"type": {
|
|
13655
|
+
"text": "CustomEvent<text>"
|
|
13656
|
+
},
|
|
13657
|
+
"description": "Not composed: it stops at the shadow root."
|
|
13658
|
+
},
|
|
13449
13659
|
{
|
|
13450
13660
|
"name": "lintje-reset",
|
|
13451
13661
|
"type": {
|
|
@@ -13456,7 +13666,7 @@
|
|
|
13456
13666
|
{
|
|
13457
13667
|
"name": "lintje-values-change",
|
|
13458
13668
|
"type": {
|
|
13459
|
-
"text": "CustomEvent<
|
|
13669
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
13460
13670
|
}
|
|
13461
13671
|
}
|
|
13462
13672
|
],
|
|
@@ -13484,9 +13694,9 @@
|
|
|
13484
13694
|
"name": "LintjeRadioGroup",
|
|
13485
13695
|
"tagName": "lintje-radio-group",
|
|
13486
13696
|
"customElement": true,
|
|
13487
|
-
"description": "`<lintje-radio-group>` — one option per line, for options that do not fit `lintje-segmented`.\n\nEvents: `lintje-change` `string`, `lintje-values-change` `{ [name]: value }` (with a
|
|
13697
|
+
"description": "`<lintje-radio-group>` — one option per line, for options that do not fit `lintje-segmented`.\n\nWith `other` the last option is \"Anders\", value `other`, with a text field under it while it is\nchosen; a click, a tap or Space puts the focus in it, an arrow key does not. The group checks\nnothing: the host sets `error`, and `other-error` for an empty field. Cards draw no \"Anders\".\n\nEvents: `lintje-change` `string`, `lintje-other-change` `string` (the field's text, on leaving\nit or Enter), `lintje-values-change` `{ [name]: value, [name-other]: text | null }` (with a\n`name`; the second key with `other`), `lintje-reset` (the reset link was pressed).",
|
|
13488
13698
|
"superclass": {
|
|
13489
|
-
"name": "
|
|
13699
|
+
"name": "LintjeChoiceGroupElement"
|
|
13490
13700
|
},
|
|
13491
13701
|
"members": [
|
|
13492
13702
|
{
|
|
@@ -13652,6 +13862,67 @@
|
|
|
13652
13862
|
"name": "LintjeInputElement"
|
|
13653
13863
|
}
|
|
13654
13864
|
},
|
|
13865
|
+
{
|
|
13866
|
+
"kind": "field",
|
|
13867
|
+
"name": "other",
|
|
13868
|
+
"type": {
|
|
13869
|
+
"text": "boolean"
|
|
13870
|
+
},
|
|
13871
|
+
"default": "false",
|
|
13872
|
+
"description": "Ends the options in \"Anders\", value `other`, with a text field under it while it is chosen.\nLeft out when an option of the host already has the value `other`.",
|
|
13873
|
+
"attribute": "other",
|
|
13874
|
+
"inheritedFrom": {
|
|
13875
|
+
"name": "LintjeChoiceGroupElement"
|
|
13876
|
+
}
|
|
13877
|
+
},
|
|
13878
|
+
{
|
|
13879
|
+
"kind": "field",
|
|
13880
|
+
"name": "otherLabel",
|
|
13881
|
+
"type": {
|
|
13882
|
+
"text": "string"
|
|
13883
|
+
},
|
|
13884
|
+
"default": "'Anders, namelijk'",
|
|
13885
|
+
"description": "The word of the option \"Anders\"; also the field's label, hidden.",
|
|
13886
|
+
"attribute": "other-label",
|
|
13887
|
+
"inheritedFrom": {
|
|
13888
|
+
"name": "LintjeChoiceGroupElement"
|
|
13889
|
+
}
|
|
13890
|
+
},
|
|
13891
|
+
{
|
|
13892
|
+
"kind": "field",
|
|
13893
|
+
"name": "otherText",
|
|
13894
|
+
"type": {
|
|
13895
|
+
"text": "string"
|
|
13896
|
+
},
|
|
13897
|
+
"default": "''",
|
|
13898
|
+
"description": "What the reader typed under \"Anders\". It changes when the field commits (leaving it, Enter)\nand stays when \"Anders\" goes. A property, not an attribute: a server-rendered page sets it as\ndata.",
|
|
13899
|
+
"inheritedFrom": {
|
|
13900
|
+
"name": "LintjeChoiceGroupElement"
|
|
13901
|
+
}
|
|
13902
|
+
},
|
|
13903
|
+
{
|
|
13904
|
+
"kind": "field",
|
|
13905
|
+
"name": "otherPlaceholder",
|
|
13906
|
+
"type": {
|
|
13907
|
+
"text": "string"
|
|
13908
|
+
},
|
|
13909
|
+
"attribute": "other-placeholder",
|
|
13910
|
+
"inheritedFrom": {
|
|
13911
|
+
"name": "LintjeChoiceGroupElement"
|
|
13912
|
+
}
|
|
13913
|
+
},
|
|
13914
|
+
{
|
|
13915
|
+
"kind": "field",
|
|
13916
|
+
"name": "otherError",
|
|
13917
|
+
"type": {
|
|
13918
|
+
"text": "string"
|
|
13919
|
+
},
|
|
13920
|
+
"description": "The host's message under the field of \"Anders\", such as `OTHER_MISSING_TEXT`; `lintje-form`\nsets it from `errors.fields['<name>-other']`. The group never sets it itself.",
|
|
13921
|
+
"attribute": "other-error",
|
|
13922
|
+
"inheritedFrom": {
|
|
13923
|
+
"name": "LintjeChoiceGroupElement"
|
|
13924
|
+
}
|
|
13925
|
+
},
|
|
13655
13926
|
{
|
|
13656
13927
|
"kind": "field",
|
|
13657
13928
|
"name": "value",
|
|
@@ -13666,7 +13937,8 @@
|
|
|
13666
13937
|
"name": "options",
|
|
13667
13938
|
"type": {
|
|
13668
13939
|
"text": "FilterOption[]"
|
|
13669
|
-
}
|
|
13940
|
+
},
|
|
13941
|
+
"description": "A `description` stands under its label, tied to its radio."
|
|
13670
13942
|
},
|
|
13671
13943
|
{
|
|
13672
13944
|
"kind": "field",
|
|
@@ -13788,6 +14060,39 @@
|
|
|
13788
14060
|
},
|
|
13789
14061
|
"description": "With `modified`: a link under the field (\"Terugzetten naar 2 tot 12\") that sends\n`lintje-reset`. A reader hears the field's `label` after it."
|
|
13790
14062
|
},
|
|
14063
|
+
{
|
|
14064
|
+
"name": "other",
|
|
14065
|
+
"fieldName": "other",
|
|
14066
|
+
"type": {
|
|
14067
|
+
"text": "boolean"
|
|
14068
|
+
},
|
|
14069
|
+
"default": "false",
|
|
14070
|
+
"description": "Ends the options in \"Anders\", value `other`, with a text field under it while it is chosen.\nLeft out when an option of the host already has the value `other`."
|
|
14071
|
+
},
|
|
14072
|
+
{
|
|
14073
|
+
"name": "other-label",
|
|
14074
|
+
"fieldName": "otherLabel",
|
|
14075
|
+
"type": {
|
|
14076
|
+
"text": "string"
|
|
14077
|
+
},
|
|
14078
|
+
"default": "'Anders, namelijk'",
|
|
14079
|
+
"description": "The word of the option \"Anders\"; also the field's label, hidden."
|
|
14080
|
+
},
|
|
14081
|
+
{
|
|
14082
|
+
"name": "other-placeholder",
|
|
14083
|
+
"fieldName": "otherPlaceholder",
|
|
14084
|
+
"type": {
|
|
14085
|
+
"text": "string"
|
|
14086
|
+
}
|
|
14087
|
+
},
|
|
14088
|
+
{
|
|
14089
|
+
"name": "other-error",
|
|
14090
|
+
"fieldName": "otherError",
|
|
14091
|
+
"type": {
|
|
14092
|
+
"text": "string"
|
|
14093
|
+
},
|
|
14094
|
+
"description": "The host's message under the field of \"Anders\", such as `OTHER_MISSING_TEXT`; `lintje-form`\nsets it from `errors.fields['<name>-other']`. The group never sets it itself."
|
|
14095
|
+
},
|
|
13791
14096
|
{
|
|
13792
14097
|
"name": "value",
|
|
13793
14098
|
"fieldName": "value",
|
|
@@ -13814,6 +14119,13 @@
|
|
|
13814
14119
|
},
|
|
13815
14120
|
"description": "Not composed: it stops at the shadow root."
|
|
13816
14121
|
},
|
|
14122
|
+
{
|
|
14123
|
+
"name": "lintje-other-change",
|
|
14124
|
+
"type": {
|
|
14125
|
+
"text": "CustomEvent<text>"
|
|
14126
|
+
},
|
|
14127
|
+
"description": "Not composed: it stops at the shadow root."
|
|
14128
|
+
},
|
|
13817
14129
|
{
|
|
13818
14130
|
"name": "lintje-reset",
|
|
13819
14131
|
"type": {
|
|
@@ -13824,7 +14136,7 @@
|
|
|
13824
14136
|
{
|
|
13825
14137
|
"name": "lintje-values-change",
|
|
13826
14138
|
"type": {
|
|
13827
|
-
"text": "CustomEvent<
|
|
14139
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
13828
14140
|
}
|
|
13829
14141
|
}
|
|
13830
14142
|
],
|
|
@@ -14253,6 +14565,13 @@
|
|
|
14253
14565
|
},
|
|
14254
14566
|
"description": "Not composed: it stops at the shadow root."
|
|
14255
14567
|
},
|
|
14568
|
+
{
|
|
14569
|
+
"name": "lintje-other-change",
|
|
14570
|
+
"type": {
|
|
14571
|
+
"text": "CustomEvent<text>"
|
|
14572
|
+
},
|
|
14573
|
+
"description": "Not composed: it stops at the shadow root."
|
|
14574
|
+
},
|
|
14256
14575
|
{
|
|
14257
14576
|
"name": "lintje-reset",
|
|
14258
14577
|
"type": {
|
|
@@ -14263,7 +14582,7 @@
|
|
|
14263
14582
|
{
|
|
14264
14583
|
"name": "lintje-values-change",
|
|
14265
14584
|
"type": {
|
|
14266
|
-
"text": "CustomEvent<
|
|
14585
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
14267
14586
|
}
|
|
14268
14587
|
}
|
|
14269
14588
|
],
|
|
@@ -14638,6 +14957,13 @@
|
|
|
14638
14957
|
},
|
|
14639
14958
|
"description": "Not composed: it stops at the shadow root."
|
|
14640
14959
|
},
|
|
14960
|
+
{
|
|
14961
|
+
"name": "lintje-other-change",
|
|
14962
|
+
"type": {
|
|
14963
|
+
"text": "CustomEvent<text>"
|
|
14964
|
+
},
|
|
14965
|
+
"description": "Not composed: it stops at the shadow root."
|
|
14966
|
+
},
|
|
14641
14967
|
{
|
|
14642
14968
|
"name": "lintje-reset",
|
|
14643
14969
|
"type": {
|
|
@@ -14648,7 +14974,7 @@
|
|
|
14648
14974
|
{
|
|
14649
14975
|
"name": "lintje-values-change",
|
|
14650
14976
|
"type": {
|
|
14651
|
-
"text": "CustomEvent<
|
|
14977
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
14652
14978
|
}
|
|
14653
14979
|
}
|
|
14654
14980
|
],
|
|
@@ -15025,6 +15351,13 @@
|
|
|
15025
15351
|
},
|
|
15026
15352
|
"description": "Not composed: it stops at the shadow root."
|
|
15027
15353
|
},
|
|
15354
|
+
{
|
|
15355
|
+
"name": "lintje-other-change",
|
|
15356
|
+
"type": {
|
|
15357
|
+
"text": "CustomEvent<text>"
|
|
15358
|
+
},
|
|
15359
|
+
"description": "Not composed: it stops at the shadow root."
|
|
15360
|
+
},
|
|
15028
15361
|
{
|
|
15029
15362
|
"name": "lintje-reset",
|
|
15030
15363
|
"type": {
|
|
@@ -15035,7 +15368,7 @@
|
|
|
15035
15368
|
{
|
|
15036
15369
|
"name": "lintje-values-change",
|
|
15037
15370
|
"type": {
|
|
15038
|
-
"text": "CustomEvent<
|
|
15371
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
15039
15372
|
}
|
|
15040
15373
|
}
|
|
15041
15374
|
],
|
|
@@ -15375,6 +15708,13 @@
|
|
|
15375
15708
|
},
|
|
15376
15709
|
"description": "Not composed: it stops at the shadow root."
|
|
15377
15710
|
},
|
|
15711
|
+
{
|
|
15712
|
+
"name": "lintje-other-change",
|
|
15713
|
+
"type": {
|
|
15714
|
+
"text": "CustomEvent<text>"
|
|
15715
|
+
},
|
|
15716
|
+
"description": "Not composed: it stops at the shadow root."
|
|
15717
|
+
},
|
|
15378
15718
|
{
|
|
15379
15719
|
"name": "lintje-reset",
|
|
15380
15720
|
"type": {
|
|
@@ -15385,7 +15725,7 @@
|
|
|
15385
15725
|
{
|
|
15386
15726
|
"name": "lintje-values-change",
|
|
15387
15727
|
"type": {
|
|
15388
|
-
"text": "CustomEvent<
|
|
15728
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
15389
15729
|
}
|
|
15390
15730
|
}
|
|
15391
15731
|
],
|
|
@@ -15750,6 +16090,13 @@
|
|
|
15750
16090
|
},
|
|
15751
16091
|
"description": "Not composed: it stops at the shadow root."
|
|
15752
16092
|
},
|
|
16093
|
+
{
|
|
16094
|
+
"name": "lintje-other-change",
|
|
16095
|
+
"type": {
|
|
16096
|
+
"text": "CustomEvent<text>"
|
|
16097
|
+
},
|
|
16098
|
+
"description": "Not composed: it stops at the shadow root."
|
|
16099
|
+
},
|
|
15753
16100
|
{
|
|
15754
16101
|
"name": "lintje-reset",
|
|
15755
16102
|
"type": {
|
|
@@ -15760,7 +16107,7 @@
|
|
|
15760
16107
|
{
|
|
15761
16108
|
"name": "lintje-values-change",
|
|
15762
16109
|
"type": {
|
|
15763
|
-
"text": "CustomEvent<
|
|
16110
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
15764
16111
|
}
|
|
15765
16112
|
}
|
|
15766
16113
|
],
|
|
@@ -16093,6 +16440,13 @@
|
|
|
16093
16440
|
},
|
|
16094
16441
|
"description": "Not composed: it stops at the shadow root."
|
|
16095
16442
|
},
|
|
16443
|
+
{
|
|
16444
|
+
"name": "lintje-other-change",
|
|
16445
|
+
"type": {
|
|
16446
|
+
"text": "CustomEvent<text>"
|
|
16447
|
+
},
|
|
16448
|
+
"description": "Not composed: it stops at the shadow root."
|
|
16449
|
+
},
|
|
16096
16450
|
{
|
|
16097
16451
|
"name": "lintje-reset",
|
|
16098
16452
|
"type": {
|
|
@@ -16103,7 +16457,7 @@
|
|
|
16103
16457
|
{
|
|
16104
16458
|
"name": "lintje-values-change",
|
|
16105
16459
|
"type": {
|
|
16106
|
-
"text": "CustomEvent<
|
|
16460
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
16107
16461
|
}
|
|
16108
16462
|
}
|
|
16109
16463
|
],
|
|
@@ -16134,7 +16488,7 @@
|
|
|
16134
16488
|
"name": "LintjeTextInput",
|
|
16135
16489
|
"tagName": "lintje-text-input",
|
|
16136
16490
|
"customElement": true,
|
|
16137
|
-
"description": "`<lintje-text-input>` — a text field: text, search, password or email.\n\nIt checks nothing itself: the host sets `error`. It commits on `change` (leaving the field,\nEnter), since every commit is a URL change and a tile reload, and never commits the same value\ntwice.\n\nEvents: `lintje-change` `string`, `lintje-values-change` `{ [name]: value }` (with a `name`),\n`lintje-reset` (the reset link was pressed).",
|
|
16491
|
+
"description": "`<lintje-text-input>` — a text field: text, search, password or email.\n\nIt checks nothing itself: the host sets `error`. It commits on `change` (leaving the field,\nEnter), since every commit is a URL change and a tile reload, and never commits the same value\ntwice.\n\nA fixed text may stand before or after the input (`prefix`, `suffix`) and one button at the end\n(`action`). A password ignores `action`: its end holds Tonen.\n\nEvents: `lintje-change` `string`, `lintje-values-change` `{ [name]: value }` (with a `name`),\n`lintje-reset` (the reset link was pressed), `lintje-action` `string` (the button was pressed,\nafter the typed text was committed).",
|
|
16138
16492
|
"superclass": {
|
|
16139
16493
|
"name": "LintjeFormInputElement"
|
|
16140
16494
|
},
|
|
@@ -16380,6 +16734,34 @@
|
|
|
16380
16734
|
"default": "''",
|
|
16381
16735
|
"description": "Passed to the native input as is.",
|
|
16382
16736
|
"attribute": "autocomplete"
|
|
16737
|
+
},
|
|
16738
|
+
{
|
|
16739
|
+
"kind": "field",
|
|
16740
|
+
"name": "prefix",
|
|
16741
|
+
"type": {
|
|
16742
|
+
"text": "string | null"
|
|
16743
|
+
},
|
|
16744
|
+
"default": "null",
|
|
16745
|
+
"description": "The fixed text before the input, as written (\"€\", \"www.\"); never part of `value`.",
|
|
16746
|
+
"attribute": "prefix"
|
|
16747
|
+
},
|
|
16748
|
+
{
|
|
16749
|
+
"kind": "field",
|
|
16750
|
+
"name": "suffix",
|
|
16751
|
+
"type": {
|
|
16752
|
+
"text": "string"
|
|
16753
|
+
},
|
|
16754
|
+
"description": "The fixed text after the input (\".nl\", \"@rijksoverheid.nl\"); never part of `value`.",
|
|
16755
|
+
"attribute": "suffix"
|
|
16756
|
+
},
|
|
16757
|
+
{
|
|
16758
|
+
"kind": "field",
|
|
16759
|
+
"name": "action",
|
|
16760
|
+
"type": {
|
|
16761
|
+
"text": "string"
|
|
16762
|
+
},
|
|
16763
|
+
"description": "The word on the button at the end (\"Zoek\"). A press commits the typed text as Enter does,\nthen sends `lintje-action`; it works when `readonly`. Ignored for a password.",
|
|
16764
|
+
"attribute": "action"
|
|
16383
16765
|
}
|
|
16384
16766
|
],
|
|
16385
16767
|
"methods": [],
|
|
@@ -16554,9 +16936,40 @@
|
|
|
16554
16936
|
},
|
|
16555
16937
|
"default": "''",
|
|
16556
16938
|
"description": "Passed to the native input as is."
|
|
16939
|
+
},
|
|
16940
|
+
{
|
|
16941
|
+
"name": "prefix",
|
|
16942
|
+
"fieldName": "prefix",
|
|
16943
|
+
"type": {
|
|
16944
|
+
"text": "string | null"
|
|
16945
|
+
},
|
|
16946
|
+
"default": "null",
|
|
16947
|
+
"description": "The fixed text before the input, as written (\"€\", \"www.\"); never part of `value`."
|
|
16948
|
+
},
|
|
16949
|
+
{
|
|
16950
|
+
"name": "suffix",
|
|
16951
|
+
"fieldName": "suffix",
|
|
16952
|
+
"type": {
|
|
16953
|
+
"text": "string"
|
|
16954
|
+
},
|
|
16955
|
+
"description": "The fixed text after the input (\".nl\", \"@rijksoverheid.nl\"); never part of `value`."
|
|
16956
|
+
},
|
|
16957
|
+
{
|
|
16958
|
+
"name": "action",
|
|
16959
|
+
"fieldName": "action",
|
|
16960
|
+
"type": {
|
|
16961
|
+
"text": "string"
|
|
16962
|
+
},
|
|
16963
|
+
"description": "The word on the button at the end (\"Zoek\"). A press commits the typed text as Enter does,\nthen sends `lintje-action`; it works when `readonly`. Ignored for a password."
|
|
16557
16964
|
}
|
|
16558
16965
|
],
|
|
16559
16966
|
"events": [
|
|
16967
|
+
{
|
|
16968
|
+
"name": "lintje-action",
|
|
16969
|
+
"type": {
|
|
16970
|
+
"text": "CustomEvent<this.value>"
|
|
16971
|
+
}
|
|
16972
|
+
},
|
|
16560
16973
|
{
|
|
16561
16974
|
"name": "lintje-change",
|
|
16562
16975
|
"type": {
|
|
@@ -16564,6 +16977,13 @@
|
|
|
16564
16977
|
},
|
|
16565
16978
|
"description": "Not composed: it stops at the shadow root."
|
|
16566
16979
|
},
|
|
16980
|
+
{
|
|
16981
|
+
"name": "lintje-other-change",
|
|
16982
|
+
"type": {
|
|
16983
|
+
"text": "CustomEvent<text>"
|
|
16984
|
+
},
|
|
16985
|
+
"description": "Not composed: it stops at the shadow root."
|
|
16986
|
+
},
|
|
16567
16987
|
{
|
|
16568
16988
|
"name": "lintje-reset",
|
|
16569
16989
|
"type": {
|
|
@@ -16574,7 +16994,7 @@
|
|
|
16574
16994
|
{
|
|
16575
16995
|
"name": "lintje-values-change",
|
|
16576
16996
|
"type": {
|
|
16577
|
-
"text": "CustomEvent<
|
|
16997
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
16578
16998
|
}
|
|
16579
16999
|
}
|
|
16580
17000
|
],
|
|
@@ -16604,7 +17024,7 @@
|
|
|
16604
17024
|
"name": "LintjeTextarea",
|
|
16605
17025
|
"tagName": "lintje-textarea",
|
|
16606
17026
|
"customElement": true,
|
|
16607
|
-
"description": "`<lintje-textarea>` — the multi-line text field: three to twelve lines, with a counter when\nthere is a `maxlength`.\n\nIt commits like `lintje-text-input`; Ctrl+Enter commits and submits a host's form. Typing past\nthe limit is allowed, so a paste lands whole: the field shows the error. The counter is
|
|
17027
|
+
"description": "`<lintje-textarea>` — the multi-line text field: three to twelve lines, with a counter when\nthere is a `maxlength`.\n\nIt commits like `lintje-text-input`; Ctrl+Enter commits and submits a host's form. Typing past\nthe limit is allowed, so a paste lands whole: the field shows the error. The counter stands\nright on the line of the hint or the error, and drops under it, still right, where the two do\nnot fit side by side. It is `part=\"counter\"`, so a surface can stand it on its own line.\n\nEvents: `lintje-change` `string`, `lintje-values-change` `{ [name]: value }` (with a `name`),\n`lintje-reset` (the reset link was pressed).",
|
|
16608
17028
|
"superclass": {
|
|
16609
17029
|
"name": "LintjeFormInputElement"
|
|
16610
17030
|
},
|
|
@@ -17035,6 +17455,13 @@
|
|
|
17035
17455
|
},
|
|
17036
17456
|
"description": "Not composed: it stops at the shadow root."
|
|
17037
17457
|
},
|
|
17458
|
+
{
|
|
17459
|
+
"name": "lintje-other-change",
|
|
17460
|
+
"type": {
|
|
17461
|
+
"text": "CustomEvent<text>"
|
|
17462
|
+
},
|
|
17463
|
+
"description": "Not composed: it stops at the shadow root."
|
|
17464
|
+
},
|
|
17038
17465
|
{
|
|
17039
17466
|
"name": "lintje-reset",
|
|
17040
17467
|
"type": {
|
|
@@ -17045,7 +17472,7 @@
|
|
|
17045
17472
|
{
|
|
17046
17473
|
"name": "lintje-values-change",
|
|
17047
17474
|
"type": {
|
|
17048
|
-
"text": "CustomEvent<
|
|
17475
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
17049
17476
|
}
|
|
17050
17477
|
}
|
|
17051
17478
|
],
|
|
@@ -17484,6 +17911,13 @@
|
|
|
17484
17911
|
},
|
|
17485
17912
|
"description": "Not composed: it stops at the shadow root."
|
|
17486
17913
|
},
|
|
17914
|
+
{
|
|
17915
|
+
"name": "lintje-other-change",
|
|
17916
|
+
"type": {
|
|
17917
|
+
"text": "CustomEvent<text>"
|
|
17918
|
+
},
|
|
17919
|
+
"description": "Not composed: it stops at the shadow root."
|
|
17920
|
+
},
|
|
17487
17921
|
{
|
|
17488
17922
|
"name": "lintje-reset",
|
|
17489
17923
|
"type": {
|
|
@@ -17494,7 +17928,7 @@
|
|
|
17494
17928
|
{
|
|
17495
17929
|
"name": "lintje-values-change",
|
|
17496
17930
|
"type": {
|
|
17497
|
-
"text": "CustomEvent<
|
|
17931
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
17498
17932
|
}
|
|
17499
17933
|
}
|
|
17500
17934
|
],
|
|
@@ -17828,6 +18262,13 @@
|
|
|
17828
18262
|
},
|
|
17829
18263
|
"description": "Not composed: it stops at the shadow root."
|
|
17830
18264
|
},
|
|
18265
|
+
{
|
|
18266
|
+
"name": "lintje-other-change",
|
|
18267
|
+
"type": {
|
|
18268
|
+
"text": "CustomEvent<text>"
|
|
18269
|
+
},
|
|
18270
|
+
"description": "Not composed: it stops at the shadow root."
|
|
18271
|
+
},
|
|
17831
18272
|
{
|
|
17832
18273
|
"name": "lintje-reset",
|
|
17833
18274
|
"type": {
|
|
@@ -17838,7 +18279,7 @@
|
|
|
17838
18279
|
{
|
|
17839
18280
|
"name": "lintje-values-change",
|
|
17840
18281
|
"type": {
|
|
17841
|
-
"text": "CustomEvent<
|
|
18282
|
+
"text": "CustomEvent<this.valuesChange(url)>"
|
|
17842
18283
|
}
|
|
17843
18284
|
}
|
|
17844
18285
|
],
|
|
@@ -20428,7 +20869,7 @@
|
|
|
20428
20869
|
"name": "LintjeDataTable",
|
|
20429
20870
|
"tagName": "lintje-data-table",
|
|
20430
20871
|
"customElement": true,
|
|
20431
|
-
"description": "`<lintje-data-table>` — the data table, inside a tile; below 768 px a two-column list.\n\nA missing value is a muted dash, never 0. The table never filters, saves or confirms: it shows a\nchange at once, and the host confirms it in the next `data`. Open rows and collapsed groups are\nthe table's own: it sends nothing for them. A row with an `href` goes there after its\n`lintje-row-click` or `lintje-row-open`, which is cancelable: a host that routes itself cancels\nit. A modifier or middle click on such a row opens the `href` in a new tab, without that event.\n\nEvents: `lintje-sort-change` `{ key, direction } | null`, `lintje-row-click`\n`{ id, label, href? }`, `lintje-row-open` `{ id, label, href? }`, `lintje-checked-change`\n`string[]`, `lintje-cell-edit` `{ id, column, value }`, `lintje-row-action`
|
|
20872
|
+
"description": "`<lintje-data-table>` — the data table, inside a tile; below 768 px a two-column list.\n\nA missing value is a muted dash, never 0. The table never filters, saves or confirms: it shows a\nchange at once, and the host confirms it in the next `data`. Open rows and collapsed groups are\nthe table's own: it sends nothing for them. A row with an `href` goes there after its\n`lintje-row-click` or `lintje-row-open`, which is cancelable: a host that routes itself cancels\nit. A modifier or middle click on such a row opens the `href` in a new tab, without that event.\n\nEvents: `lintje-sort-change` `{ key, direction } | null`, `lintje-row-click`\n`{ id, label, href? }`, `lintje-row-open` `{ id, label, href? }`, `lintje-checked-change`\n`string[]`, `lintje-cell-edit` `{ id, column, value }`, `lintje-row-action`\n`{ id, label, action }`, `lintje-bulk-action` `{ ids, action }`, `lintje-filter-change`\n`{ column, value }`, `lintje-columns-change` `{ order, hidden }`.",
|
|
20432
20873
|
"superclass": {
|
|
20433
20874
|
"name": "LintjeContentTileElement"
|
|
20434
20875
|
},
|
|
@@ -20562,7 +21003,7 @@
|
|
|
20562
21003
|
{
|
|
20563
21004
|
"name": "lintje-row-action",
|
|
20564
21005
|
"type": {
|
|
20565
|
-
"text": "CustomEvent<{ id, action }>"
|
|
21006
|
+
"text": "CustomEvent<{ id, label, action }>"
|
|
20566
21007
|
}
|
|
20567
21008
|
},
|
|
20568
21009
|
{
|
|
@@ -20777,7 +21218,7 @@
|
|
|
20777
21218
|
"name": "LintjeList",
|
|
20778
21219
|
"tagName": "lintje-list",
|
|
20779
21220
|
"customElement": true,
|
|
20780
|
-
"description": "`<lintje-list>` — rows for what needs no columns: title, a muted line, a fact or actions.\n\nIt is also the work list: what someone made or had made, with its kind, state and progress, in\nruns under a moment (\"Vandaag\"). It does not navigate: a plain click on a row is cancelled and\nsent as `lintje-row-click`, and a link row in a menu also sends `lintje-navigate` after its\n`lintje-row-action`. A row with `rename` turns its title into a field in place; the host keeps\nthat state, as for every row.\n\nEvents: `lintje-row-click` `{ id, label, href? }`, `lintje-row-action` `{ id, label,
|
|
21221
|
+
"description": "`<lintje-list>` — rows for what needs no columns: title, a muted line, a fact or actions.\n\nIt is also the work list: what someone made or had made, with its kind, state and progress, in\nruns under a moment (\"Vandaag\"). It does not navigate: a plain click on a row is cancelled and\nsent as `lintje-row-click`, and a link row in a menu also sends `lintje-navigate` after its\n`lintje-row-action`. A row with `rename` turns its title into a field in place; the host keeps\nthat state, as for every row.\n\nEvents: `lintje-row-click` `{ id, label, href? }`, `lintje-row-action` `{ id, label, action }` (a\nchosen menu row or the row's own action), `lintje-row-rename` `{ id, value }`,\n`lintje-row-rename-cancel` `{ id }`.",
|
|
20781
21222
|
"superclass": {
|
|
20782
21223
|
"name": "LintjeElement"
|
|
20783
21224
|
},
|
|
@@ -20884,7 +21325,7 @@
|
|
|
20884
21325
|
{
|
|
20885
21326
|
"name": "lintje-row-action",
|
|
20886
21327
|
"type": {
|
|
20887
|
-
"text": "CustomEvent<{ id, label,
|
|
21328
|
+
"text": "CustomEvent<{ id, label, action }>"
|
|
20888
21329
|
}
|
|
20889
21330
|
},
|
|
20890
21331
|
{
|