@atomic-ui/ui 0.2.0 → 0.3.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/README.md +81 -96
- package/custom-elements.json +851 -56
- package/dist/base/FieldElement.d.ts +11 -0
- package/dist/base/scroll-lock.d.ts +2 -0
- package/dist/base/styles.d.ts +24 -5
- package/dist/chunk-2YRTFWW2.js +26 -0
- package/dist/chunk-2YRTFWW2.js.map +1 -0
- package/dist/{chunk-UNVL3CNM.js → chunk-37PA72FC.js} +4 -4
- package/dist/{chunk-UNVL3CNM.js.map → chunk-37PA72FC.js.map} +1 -1
- package/dist/{chunk-D6C7XEY4.js → chunk-3KO55PZK.js} +7 -2
- package/dist/chunk-3KO55PZK.js.map +1 -0
- package/dist/{chunk-7BSZPUE3.js → chunk-3RE4H2XO.js} +2 -2
- package/dist/{chunk-R67PDFKE.js → chunk-46BYUQ5A.js} +2 -2
- package/dist/{chunk-NCASAXQT.js → chunk-4OYHT4BN.js} +2 -2
- package/dist/{chunk-3IQ73WNW.js → chunk-55DK75QF.js} +6 -4
- package/dist/chunk-55DK75QF.js.map +1 -0
- package/dist/{chunk-TGT7J4EG.js → chunk-5QSTXIPG.js} +2 -2
- package/dist/{chunk-HYPPG4NF.js → chunk-7P4Z4CLK.js} +55 -16
- package/dist/chunk-7P4Z4CLK.js.map +1 -0
- package/dist/{chunk-26O27BQS.js → chunk-APJ5JGRW.js} +3 -3
- package/dist/{chunk-WFKSOM6O.js → chunk-AUVIOU5G.js} +38 -14
- package/dist/chunk-AUVIOU5G.js.map +1 -0
- package/dist/{chunk-FFCIY7NM.js → chunk-CUUBAETM.js} +2 -2
- package/dist/{chunk-OMJMUFOW.js → chunk-DAH7RLW3.js} +3 -3
- package/dist/{chunk-6YYAOKNI.js → chunk-DJEZW7AC.js} +2 -2
- package/dist/{chunk-E3XJK7MY.js → chunk-DKZ425AM.js} +5 -3
- package/dist/chunk-DKZ425AM.js.map +1 -0
- package/dist/{chunk-EDSZI227.js → chunk-F4YQWKK2.js} +7 -4
- package/dist/chunk-F4YQWKK2.js.map +1 -0
- package/dist/chunk-FVCM4WHD.js +328 -0
- package/dist/chunk-FVCM4WHD.js.map +1 -0
- package/dist/{chunk-7XEPNEVQ.js → chunk-GBRML4RF.js} +2 -2
- package/dist/chunk-GBRML4RF.js.map +1 -0
- package/dist/{chunk-MVEFM5QI.js → chunk-HXINWP3V.js} +42 -13
- package/dist/chunk-HXINWP3V.js.map +1 -0
- package/dist/{chunk-OB7WULFK.js → chunk-IOBSIAHB.js} +2 -2
- package/dist/{chunk-4X723QBD.js → chunk-IZOTGWWI.js} +4 -4
- package/dist/{chunk-4X723QBD.js.map → chunk-IZOTGWWI.js.map} +1 -1
- package/dist/{chunk-QB2KMV6S.js → chunk-J2FACXYI.js} +3 -3
- package/dist/{chunk-UCHJCUYI.js → chunk-KKJEEKL2.js} +33 -7
- package/dist/chunk-KKJEEKL2.js.map +1 -0
- package/dist/{chunk-7OXTZJR4.js → chunk-KMCGX76Y.js} +2 -2
- package/dist/{chunk-KFD4O7VA.js → chunk-NKMVICB5.js} +2 -2
- package/dist/{chunk-OHDPGIJ3.js → chunk-OFLMG6RN.js} +3 -3
- package/dist/chunk-OFLMG6RN.js.map +1 -0
- package/dist/{chunk-XJXCTGDR.js → chunk-P6GDMZK4.js} +3 -3
- package/dist/{chunk-FJRHZA3C.js → chunk-PO6FCAIS.js} +3 -3
- package/dist/{chunk-2CFVV2NZ.js → chunk-PWLZFGS3.js} +3 -3
- package/dist/{chunk-J4JULXUG.js → chunk-QJIB36DM.js} +3 -3
- package/dist/chunk-QJIB36DM.js.map +1 -0
- package/dist/{chunk-OLLZFNO6.js → chunk-R7FKGFW6.js} +2 -2
- package/dist/{chunk-GQDUHZE3.js → chunk-RWWRTURA.js} +3 -3
- package/dist/{chunk-NKTMMJYD.js → chunk-RYBY35QE.js} +6 -5
- package/dist/chunk-RYBY35QE.js.map +1 -0
- package/dist/{chunk-UHLRXI6J.js → chunk-S7F5VKWU.js} +2 -2
- package/dist/chunk-S7F5VKWU.js.map +1 -0
- package/dist/{chunk-YK5QI57J.js → chunk-T5W3FDSF.js} +3 -3
- package/dist/chunk-T5W3FDSF.js.map +1 -0
- package/dist/{chunk-YD6IZ2C5.js → chunk-TCXKZDMR.js} +2 -2
- package/dist/{chunk-E2VBUWJ4.js → chunk-WGPB3QQU.js} +3 -3
- package/dist/{chunk-XEJMFFIM.js → chunk-XPCU4KUY.js} +3 -3
- package/dist/{chunk-XEJMFFIM.js.map → chunk-XPCU4KUY.js.map} +1 -1
- package/dist/{chunk-RZSZQMSE.js → chunk-YRYZUYY7.js} +2 -2
- package/dist/{chunk-7AJN2TIS.js → chunk-ZOTAAYO5.js} +12 -2
- package/dist/chunk-ZOTAAYO5.js.map +1 -0
- package/dist/components/accordion.js +2 -2
- package/dist/components/alert.js +2 -2
- package/dist/components/app-ui.d.ts +28 -12
- package/dist/components/app-ui.js +5 -4
- package/dist/components/blocks.d.ts +28 -2
- package/dist/components/blocks.js +3 -3
- package/dist/components/button.js +3 -3
- package/dist/components/changelog.js +4 -4
- package/dist/components/checkbox-group.js +3 -3
- package/dist/components/checkbox.js +3 -3
- package/dist/components/date-input.js +3 -3
- package/dist/components/dialog.d.ts +15 -0
- package/dist/components/dialog.js +3 -2
- package/dist/components/estimator.d.ts +1 -1
- package/dist/components/estimator.js +5 -5
- package/dist/components/fieldset.js +2 -2
- package/dist/components/grid.js +2 -2
- package/dist/components/help.js +2 -2
- package/dist/components/icon.js +2 -2
- package/dist/components/journey.d.ts +15 -1
- package/dist/components/journey.js +3 -3
- package/dist/components/layout.js +2 -2
- package/dist/components/link.js +3 -3
- package/dist/components/list.js +2 -2
- package/dist/components/marketing.d.ts +1 -1
- package/dist/components/marketing.js +3 -3
- package/dist/components/media.js +2 -2
- package/dist/components/navigation.js +3 -3
- package/dist/components/organisms.d.ts +1 -1
- package/dist/components/organisms.js +3 -3
- package/dist/components/page.js +2 -2
- package/dist/components/price.js +2 -2
- package/dist/components/progress.js +2 -2
- package/dist/components/property.d.ts +1 -1
- package/dist/components/property.js +3 -3
- package/dist/components/radio-group.js +3 -3
- package/dist/components/scene.d.ts +1 -1
- package/dist/components/scene.js +2 -2
- package/dist/components/scrubber.js +2 -2
- package/dist/components/select.js +3 -3
- package/dist/components/selling.d.ts +2 -0
- package/dist/components/selling.js +2 -2
- package/dist/components/site.d.ts +1 -1
- package/dist/components/site.js +7 -7
- package/dist/components/summary-list.js +2 -2
- package/dist/components/table.d.ts +94 -2
- package/dist/components/table.js +4 -2
- package/dist/components/text-input.js +3 -3
- package/dist/components/textarea.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +40 -39
- package/dist/standalone/atomic-ui.js +3134 -0
- package/dist/standalone/atomic-ui.js.map +7 -0
- package/dist/standalone/index.html +174 -0
- package/package.json +18 -6
- package/scripts/copy-to-product.mjs +52 -0
- package/specimen/index.html +174 -0
- package/dist/chunk-3IQ73WNW.js.map +0 -1
- package/dist/chunk-7AJN2TIS.js.map +0 -1
- package/dist/chunk-7XEPNEVQ.js.map +0 -1
- package/dist/chunk-D6C7XEY4.js.map +0 -1
- package/dist/chunk-E3XJK7MY.js.map +0 -1
- package/dist/chunk-EDSZI227.js.map +0 -1
- package/dist/chunk-HYPPG4NF.js.map +0 -1
- package/dist/chunk-J4JULXUG.js.map +0 -1
- package/dist/chunk-MVEFM5QI.js.map +0 -1
- package/dist/chunk-NKTMMJYD.js.map +0 -1
- package/dist/chunk-OHDPGIJ3.js.map +0 -1
- package/dist/chunk-UCHJCUYI.js.map +0 -1
- package/dist/chunk-UHLRXI6J.js.map +0 -1
- package/dist/chunk-WDDWWCHN.js +0 -104
- package/dist/chunk-WDDWWCHN.js.map +0 -1
- package/dist/chunk-WFKSOM6O.js.map +0 -1
- package/dist/chunk-YK5QI57J.js.map +0 -1
- /package/dist/{chunk-7BSZPUE3.js.map → chunk-3RE4H2XO.js.map} +0 -0
- /package/dist/{chunk-R67PDFKE.js.map → chunk-46BYUQ5A.js.map} +0 -0
- /package/dist/{chunk-NCASAXQT.js.map → chunk-4OYHT4BN.js.map} +0 -0
- /package/dist/{chunk-TGT7J4EG.js.map → chunk-5QSTXIPG.js.map} +0 -0
- /package/dist/{chunk-26O27BQS.js.map → chunk-APJ5JGRW.js.map} +0 -0
- /package/dist/{chunk-FFCIY7NM.js.map → chunk-CUUBAETM.js.map} +0 -0
- /package/dist/{chunk-OMJMUFOW.js.map → chunk-DAH7RLW3.js.map} +0 -0
- /package/dist/{chunk-6YYAOKNI.js.map → chunk-DJEZW7AC.js.map} +0 -0
- /package/dist/{chunk-OB7WULFK.js.map → chunk-IOBSIAHB.js.map} +0 -0
- /package/dist/{chunk-QB2KMV6S.js.map → chunk-J2FACXYI.js.map} +0 -0
- /package/dist/{chunk-7OXTZJR4.js.map → chunk-KMCGX76Y.js.map} +0 -0
- /package/dist/{chunk-KFD4O7VA.js.map → chunk-NKMVICB5.js.map} +0 -0
- /package/dist/{chunk-XJXCTGDR.js.map → chunk-P6GDMZK4.js.map} +0 -0
- /package/dist/{chunk-FJRHZA3C.js.map → chunk-PO6FCAIS.js.map} +0 -0
- /package/dist/{chunk-2CFVV2NZ.js.map → chunk-PWLZFGS3.js.map} +0 -0
- /package/dist/{chunk-OLLZFNO6.js.map → chunk-R7FKGFW6.js.map} +0 -0
- /package/dist/{chunk-GQDUHZE3.js.map → chunk-RWWRTURA.js.map} +0 -0
- /package/dist/{chunk-YD6IZ2C5.js.map → chunk-TCXKZDMR.js.map} +0 -0
- /package/dist/{chunk-E2VBUWJ4.js.map → chunk-WGPB3QQU.js.map} +0 -0
- /package/dist/{chunk-RZSZQMSE.js.map → chunk-YRYZUYY7.js.map} +0 -0
package/custom-elements.json
CHANGED
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
"declarations": [
|
|
327
327
|
{
|
|
328
328
|
"kind": "class",
|
|
329
|
-
"description": "A panel that slides in from the side: a basket, filters, a plot's details.\n\nIt is a native `<dialog>` opened with `showModal()`, like the dialog, so the\nfocus trap, Escape, the inert page behind it and the return of focus all come\nfrom the browser. The
|
|
329
|
+
"description": "A panel that slides in from the side: a basket, filters, a plot's details.\n\nIt is a native `<dialog>` opened with `showModal()`, like the dialog, so the\nfocus trap, Escape, the inert page behind it and the return of focus all come\nfrom the browser. The page behind it does not scroll while it is open. The\nslide is a decoration and stops for anyone who has asked for reduced motion.\nOn a phone it fills the screen.",
|
|
330
330
|
"name": "ImpktDrawer",
|
|
331
331
|
"slots": [
|
|
332
332
|
{
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
{
|
|
467
467
|
"name": "impkt-close",
|
|
468
468
|
"type": {
|
|
469
|
-
"text": "CustomEvent"
|
|
469
|
+
"text": "CustomEvent<null>"
|
|
470
470
|
},
|
|
471
471
|
"description": "When the panel is closed."
|
|
472
472
|
}
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
518
|
"kind": "class",
|
|
519
|
-
"description": "A short message in the corner that goes away: \"Viewing booked\", \"Saved\".\n\nIt says itself to a screen reader through a live region, and its timer stops
|
|
519
|
+
"description": "A short message in the corner that goes away: \"Viewing booked\", \"Saved\".\n\nIt says itself to a screen reader through a live region that is on the page\nbefore the message is, and its timer stops while it is pointed at or focused.\nSet `duration` to 0 to keep it up until it is closed. A message with a button,\nsuch as Undo, stays until it is closed whatever the duration, because a\nbutton that disappears on a timer cannot be pressed by someone who needs\nlonger (2.2.1). Escape closes it while focus is inside it. Anything a person\nmust act on belongs in an alert on the page.\n\nIt never takes the page's clicks: only the message itself can be pressed, so\nthe page beside and behind the corner it sits in still works. On a phone it\nspans the screen above the bottom edge, clear of the home bar and of a bottom\nbar that sets `--impkt-bottom-bar`, and it rises without moving for anyone who\nhas asked for reduced motion.",
|
|
520
520
|
"name": "ImpktToast",
|
|
521
521
|
"members": [
|
|
522
522
|
{
|
|
@@ -669,14 +669,14 @@
|
|
|
669
669
|
{
|
|
670
670
|
"name": "impkt-close",
|
|
671
671
|
"type": {
|
|
672
|
-
"text": "CustomEvent"
|
|
672
|
+
"text": "CustomEvent<null>"
|
|
673
673
|
},
|
|
674
674
|
"description": "When the message goes away."
|
|
675
675
|
},
|
|
676
676
|
{
|
|
677
677
|
"name": "impkt-action",
|
|
678
678
|
"type": {
|
|
679
|
-
"text": "CustomEvent"
|
|
679
|
+
"text": "CustomEvent<null>"
|
|
680
680
|
},
|
|
681
681
|
"description": "When its button is pressed."
|
|
682
682
|
}
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
745
|
"kind": "class",
|
|
746
|
-
"description": "A button that opens a short list of actions or links.\n\nIt follows the ARIA menu button pattern: the arrow keys, Home and End move\nthrough it,
|
|
746
|
+
"description": "A button that opens a short list of actions or links.\n\nIt follows the ARIA menu button pattern: the arrow keys, Home and End move\nthrough it, a letter moves to the next item that starts with it, Escape\ncloses it and puts focus back on the button, and a click anywhere else closes\nit. A list that would run off the side of the screen opens towards the other\nedge instead, so it never makes a phone scroll sideways.",
|
|
747
747
|
"name": "ImpktMenu",
|
|
748
748
|
"members": [
|
|
749
749
|
{
|
|
@@ -847,6 +847,17 @@
|
|
|
847
847
|
}
|
|
848
848
|
]
|
|
849
849
|
},
|
|
850
|
+
{
|
|
851
|
+
"kind": "method",
|
|
852
|
+
"name": "keepOnScreen",
|
|
853
|
+
"privacy": "private",
|
|
854
|
+
"return": {
|
|
855
|
+
"type": {
|
|
856
|
+
"text": "void"
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
"description": "Open towards the other edge when the list would run off the screen."
|
|
860
|
+
},
|
|
850
861
|
{
|
|
851
862
|
"kind": "method",
|
|
852
863
|
"name": "triggerKey",
|
|
@@ -940,7 +951,7 @@
|
|
|
940
951
|
{
|
|
941
952
|
"name": "impkt-select",
|
|
942
953
|
"type": {
|
|
943
|
-
"text": "CustomEvent"
|
|
954
|
+
"text": "CustomEvent<{ value: string }>"
|
|
944
955
|
},
|
|
945
956
|
"description": "When an item without an address is chosen. The value is in detail.value."
|
|
946
957
|
}
|
|
@@ -1227,7 +1238,7 @@
|
|
|
1227
1238
|
{
|
|
1228
1239
|
"name": "impkt-page",
|
|
1229
1240
|
"type": {
|
|
1230
|
-
"text": "CustomEvent"
|
|
1241
|
+
"text": "CustomEvent<{ page: number }>"
|
|
1231
1242
|
},
|
|
1232
1243
|
"description": "When a page is chosen. The number is in detail.page."
|
|
1233
1244
|
}
|
|
@@ -2017,6 +2028,29 @@
|
|
|
2017
2028
|
"module": "src/base/FieldElement.ts"
|
|
2018
2029
|
}
|
|
2019
2030
|
},
|
|
2031
|
+
{
|
|
2032
|
+
"kind": "method",
|
|
2033
|
+
"name": "focus",
|
|
2034
|
+
"return": {
|
|
2035
|
+
"type": {
|
|
2036
|
+
"text": "void"
|
|
2037
|
+
}
|
|
2038
|
+
},
|
|
2039
|
+
"parameters": [
|
|
2040
|
+
{
|
|
2041
|
+
"name": "options",
|
|
2042
|
+
"optional": true,
|
|
2043
|
+
"type": {
|
|
2044
|
+
"text": "FocusOptions"
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
2049
|
+
"inheritedFrom": {
|
|
2050
|
+
"name": "FieldElement",
|
|
2051
|
+
"module": "src/base/FieldElement.ts"
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2020
2054
|
{
|
|
2021
2055
|
"kind": "method",
|
|
2022
2056
|
"name": "setFormValue",
|
|
@@ -2231,8 +2265,9 @@
|
|
|
2231
2265
|
{
|
|
2232
2266
|
"name": "impkt-change",
|
|
2233
2267
|
"type": {
|
|
2234
|
-
"text": "CustomEvent"
|
|
2268
|
+
"text": "CustomEvent<{ value: string }>"
|
|
2235
2269
|
},
|
|
2270
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
2236
2271
|
"inheritedFrom": {
|
|
2237
2272
|
"name": "FieldElement",
|
|
2238
2273
|
"module": "src/base/FieldElement.ts"
|
|
@@ -2602,8 +2637,14 @@
|
|
|
2602
2637
|
},
|
|
2603
2638
|
{
|
|
2604
2639
|
"kind": "class",
|
|
2605
|
-
"description": "Panels of content behind a row of tabs, one shown at a time: the floor plans\nof three house types, or
|
|
2640
|
+
"description": "Panels of content behind a row of tabs, one shown at a time: the floor plans\nof three house types, or a case's summary, tasks and files.\n\nIt follows the ARIA tabs pattern. The tabs are one stop in the tab order,\nthe arrow keys, Home and End move between them, and each panel is labelled\nby its tab. Use an accordion instead when someone may want to compare panels.\n\n**The tabs stay on one row** and scroll sideways when they do not fit, as the\ndesign guide sets, and the chosen tab is scrolled into view, so on a phone it\nis never hidden off the edge. With `two-rows`, a set of more than four tabs is\nlaid out in two rows on a narrow screen instead, so every tab can be seen.\n\n**The chosen tab is kept** when the tabs are given again, as a React or Vue app\ndoes on every render, so long as a tab with that id is still there.\n\nA panel shows its item's `body`, or a child whose `slot` is the item's id.",
|
|
2606
2641
|
"name": "ImpktTabs",
|
|
2642
|
+
"slots": [
|
|
2643
|
+
{
|
|
2644
|
+
"description": "A child with `slot` set to a tab's id is that tab's panel.",
|
|
2645
|
+
"name": ""
|
|
2646
|
+
}
|
|
2647
|
+
],
|
|
2607
2648
|
"members": [
|
|
2608
2649
|
{
|
|
2609
2650
|
"kind": "field",
|
|
@@ -2638,6 +2679,18 @@
|
|
|
2638
2679
|
"default": "''",
|
|
2639
2680
|
"attribute": "label"
|
|
2640
2681
|
},
|
|
2682
|
+
{
|
|
2683
|
+
"kind": "field",
|
|
2684
|
+
"name": "twoRows",
|
|
2685
|
+
"privacy": "public",
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "boolean"
|
|
2688
|
+
},
|
|
2689
|
+
"description": "On a narrow screen, lay more than four tabs out in two rows rather than scroll them.",
|
|
2690
|
+
"default": "false",
|
|
2691
|
+
"attribute": "two-rows",
|
|
2692
|
+
"reflects": true
|
|
2693
|
+
},
|
|
2641
2694
|
{
|
|
2642
2695
|
"kind": "method",
|
|
2643
2696
|
"name": "current",
|
|
@@ -2690,6 +2743,17 @@
|
|
|
2690
2743
|
}
|
|
2691
2744
|
]
|
|
2692
2745
|
},
|
|
2746
|
+
{
|
|
2747
|
+
"kind": "method",
|
|
2748
|
+
"name": "reveal",
|
|
2749
|
+
"privacy": "private",
|
|
2750
|
+
"return": {
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "void"
|
|
2753
|
+
}
|
|
2754
|
+
},
|
|
2755
|
+
"description": "Bring the chosen tab into view inside the row of tabs. Only the row scrolls:\n`scrollIntoView` would scroll the page too, and move someone who is reading\nfurther down."
|
|
2756
|
+
},
|
|
2693
2757
|
{
|
|
2694
2758
|
"kind": "field",
|
|
2695
2759
|
"name": "uid",
|
|
@@ -2729,7 +2793,7 @@
|
|
|
2729
2793
|
{
|
|
2730
2794
|
"name": "impkt-change",
|
|
2731
2795
|
"type": {
|
|
2732
|
-
"text": "CustomEvent"
|
|
2796
|
+
"text": "CustomEvent<{ value: string }>"
|
|
2733
2797
|
},
|
|
2734
2798
|
"description": "When another tab is chosen."
|
|
2735
2799
|
}
|
|
@@ -2760,6 +2824,15 @@
|
|
|
2760
2824
|
"description": "What the set of tabs is about, for a screen reader.",
|
|
2761
2825
|
"default": "''",
|
|
2762
2826
|
"fieldName": "label"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "two-rows",
|
|
2830
|
+
"type": {
|
|
2831
|
+
"text": "boolean"
|
|
2832
|
+
},
|
|
2833
|
+
"description": "On a narrow screen, lay more than four tabs out in two rows rather than scroll them.",
|
|
2834
|
+
"default": "false",
|
|
2835
|
+
"fieldName": "twoRows"
|
|
2763
2836
|
}
|
|
2764
2837
|
],
|
|
2765
2838
|
"superclass": {
|
|
@@ -4813,6 +4886,29 @@
|
|
|
4813
4886
|
"module": "src/base/FieldElement.ts"
|
|
4814
4887
|
}
|
|
4815
4888
|
},
|
|
4889
|
+
{
|
|
4890
|
+
"kind": "method",
|
|
4891
|
+
"name": "focus",
|
|
4892
|
+
"return": {
|
|
4893
|
+
"type": {
|
|
4894
|
+
"text": "void"
|
|
4895
|
+
}
|
|
4896
|
+
},
|
|
4897
|
+
"parameters": [
|
|
4898
|
+
{
|
|
4899
|
+
"name": "options",
|
|
4900
|
+
"optional": true,
|
|
4901
|
+
"type": {
|
|
4902
|
+
"text": "FocusOptions"
|
|
4903
|
+
}
|
|
4904
|
+
}
|
|
4905
|
+
],
|
|
4906
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
4907
|
+
"inheritedFrom": {
|
|
4908
|
+
"name": "FieldElement",
|
|
4909
|
+
"module": "src/base/FieldElement.ts"
|
|
4910
|
+
}
|
|
4911
|
+
},
|
|
4816
4912
|
{
|
|
4817
4913
|
"kind": "method",
|
|
4818
4914
|
"name": "setFormValue",
|
|
@@ -5010,8 +5106,9 @@
|
|
|
5010
5106
|
{
|
|
5011
5107
|
"name": "impkt-change",
|
|
5012
5108
|
"type": {
|
|
5013
|
-
"text": "CustomEvent"
|
|
5109
|
+
"text": "CustomEvent<{ value: string }>"
|
|
5014
5110
|
},
|
|
5111
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
5015
5112
|
"inheritedFrom": {
|
|
5016
5113
|
"name": "FieldElement",
|
|
5017
5114
|
"module": "src/base/FieldElement.ts"
|
|
@@ -5273,6 +5370,29 @@
|
|
|
5273
5370
|
"module": "src/base/FieldElement.ts"
|
|
5274
5371
|
}
|
|
5275
5372
|
},
|
|
5373
|
+
{
|
|
5374
|
+
"kind": "method",
|
|
5375
|
+
"name": "focus",
|
|
5376
|
+
"return": {
|
|
5377
|
+
"type": {
|
|
5378
|
+
"text": "void"
|
|
5379
|
+
}
|
|
5380
|
+
},
|
|
5381
|
+
"parameters": [
|
|
5382
|
+
{
|
|
5383
|
+
"name": "options",
|
|
5384
|
+
"optional": true,
|
|
5385
|
+
"type": {
|
|
5386
|
+
"text": "FocusOptions"
|
|
5387
|
+
}
|
|
5388
|
+
}
|
|
5389
|
+
],
|
|
5390
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
5391
|
+
"inheritedFrom": {
|
|
5392
|
+
"name": "FieldElement",
|
|
5393
|
+
"module": "src/base/FieldElement.ts"
|
|
5394
|
+
}
|
|
5395
|
+
},
|
|
5276
5396
|
{
|
|
5277
5397
|
"kind": "method",
|
|
5278
5398
|
"name": "setFormValue",
|
|
@@ -5462,8 +5582,9 @@
|
|
|
5462
5582
|
{
|
|
5463
5583
|
"name": "impkt-change",
|
|
5464
5584
|
"type": {
|
|
5465
|
-
"text": "CustomEvent"
|
|
5585
|
+
"text": "CustomEvent<{ value: string }>"
|
|
5466
5586
|
},
|
|
5587
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
5467
5588
|
"inheritedFrom": {
|
|
5468
5589
|
"name": "FieldElement",
|
|
5469
5590
|
"module": "src/base/FieldElement.ts"
|
|
@@ -5802,6 +5923,29 @@
|
|
|
5802
5923
|
"module": "src/base/FieldElement.ts"
|
|
5803
5924
|
}
|
|
5804
5925
|
},
|
|
5926
|
+
{
|
|
5927
|
+
"kind": "method",
|
|
5928
|
+
"name": "focus",
|
|
5929
|
+
"return": {
|
|
5930
|
+
"type": {
|
|
5931
|
+
"text": "void"
|
|
5932
|
+
}
|
|
5933
|
+
},
|
|
5934
|
+
"parameters": [
|
|
5935
|
+
{
|
|
5936
|
+
"name": "options",
|
|
5937
|
+
"optional": true,
|
|
5938
|
+
"type": {
|
|
5939
|
+
"text": "FocusOptions"
|
|
5940
|
+
}
|
|
5941
|
+
}
|
|
5942
|
+
],
|
|
5943
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
5944
|
+
"inheritedFrom": {
|
|
5945
|
+
"name": "FieldElement",
|
|
5946
|
+
"module": "src/base/FieldElement.ts"
|
|
5947
|
+
}
|
|
5948
|
+
},
|
|
5805
5949
|
{
|
|
5806
5950
|
"kind": "method",
|
|
5807
5951
|
"name": "setFormValue",
|
|
@@ -6016,8 +6160,9 @@
|
|
|
6016
6160
|
{
|
|
6017
6161
|
"name": "impkt-change",
|
|
6018
6162
|
"type": {
|
|
6019
|
-
"text": "CustomEvent"
|
|
6163
|
+
"text": "CustomEvent<{ value: string }>"
|
|
6020
6164
|
},
|
|
6165
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
6021
6166
|
"inheritedFrom": {
|
|
6022
6167
|
"name": "FieldElement",
|
|
6023
6168
|
"module": "src/base/FieldElement.ts"
|
|
@@ -6051,7 +6196,7 @@
|
|
|
6051
6196
|
"declarations": [
|
|
6052
6197
|
{
|
|
6053
6198
|
"kind": "class",
|
|
6054
|
-
"description": "A modal dialog — \"are you sure you want to leave this order?\".\n\n**It is a native `<dialog>` opened with `showModal()`, and that is the whole\ndesign.** The platform then provides, correctly and in every browser: a\nfocus trap, Escape to close, the rest of the page made inert so a screen\nreader cannot wander out of the dialog, rendering in the top layer so no\n`z-index` can cover it, and focus returned to whatever opened it when it\ncloses.\n\nEvery one of those is a thing hand-rolled modals get wrong. The focus trap\nis the famous one, but inertness is the worse failure: a dialog that traps\nthe Tab key but leaves the background in the accessibility tree lets a\nscreen-reader user read straight past it into a page they cannot interact\nwith, and nothing on screen tells them that is what happened.\n\nWhat is left to get right is the labelling. `aria-labelledby` points at the\ndialog's own heading, so it is announced by name on open rather than as\n\"dialog\".",
|
|
6199
|
+
"description": "A modal dialog — \"are you sure you want to leave this order?\".\n\n**It is a native `<dialog>` opened with `showModal()`, and that is the whole\ndesign.** The platform then provides, correctly and in every browser: a\nfocus trap, Escape to close, the rest of the page made inert so a screen\nreader cannot wander out of the dialog, rendering in the top layer so no\n`z-index` can cover it, and focus returned to whatever opened it when it\ncloses.\n\nEvery one of those is a thing hand-rolled modals get wrong. The focus trap\nis the famous one, but inertness is the worse failure: a dialog that traps\nthe Tab key but leaves the background in the accessibility tree lets a\nscreen-reader user read straight past it into a page they cannot interact\nwith, and nothing on screen tells them that is what happened.\n\nWhat is left to get right is the labelling. `aria-labelledby` points at the\ndialog's own heading, so it is announced by name on open rather than as\n\"dialog\".\n\nTwo things the platform leaves out are added. The page behind does not scroll\nwhile the dialog is open, so a finger on the backdrop does not move the page\nout from under it. And with `phone-full-screen` the dialog fills a phone's\nscreen, which suits a dialog holding a form; a short question is better left\nas a box in the middle, which is the default.",
|
|
6055
6200
|
"name": "ImpktDialog",
|
|
6056
6201
|
"slots": [
|
|
6057
6202
|
{
|
|
@@ -6102,6 +6247,18 @@
|
|
|
6102
6247
|
"default": "true",
|
|
6103
6248
|
"attribute": "dismissible"
|
|
6104
6249
|
},
|
|
6250
|
+
{
|
|
6251
|
+
"kind": "field",
|
|
6252
|
+
"name": "phoneFullScreen",
|
|
6253
|
+
"privacy": "public",
|
|
6254
|
+
"type": {
|
|
6255
|
+
"text": "boolean"
|
|
6256
|
+
},
|
|
6257
|
+
"description": "Fill the screen on a phone, for a dialog that holds a form or a long text.",
|
|
6258
|
+
"default": "false",
|
|
6259
|
+
"attribute": "phone-full-screen",
|
|
6260
|
+
"reflects": true
|
|
6261
|
+
},
|
|
6105
6262
|
{
|
|
6106
6263
|
"kind": "field",
|
|
6107
6264
|
"name": "dialog",
|
|
@@ -6160,8 +6317,9 @@
|
|
|
6160
6317
|
{
|
|
6161
6318
|
"name": "impkt-close",
|
|
6162
6319
|
"type": {
|
|
6163
|
-
"text": "CustomEvent"
|
|
6164
|
-
}
|
|
6320
|
+
"text": "CustomEvent<null>"
|
|
6321
|
+
},
|
|
6322
|
+
"description": "When the dialog is closed."
|
|
6165
6323
|
}
|
|
6166
6324
|
],
|
|
6167
6325
|
"attributes": [
|
|
@@ -6197,6 +6355,15 @@
|
|
|
6197
6355
|
"description": "When false, Escape and the backdrop do not close it — a decision must be made.",
|
|
6198
6356
|
"default": "true",
|
|
6199
6357
|
"fieldName": "dismissible"
|
|
6358
|
+
},
|
|
6359
|
+
{
|
|
6360
|
+
"name": "phone-full-screen",
|
|
6361
|
+
"type": {
|
|
6362
|
+
"text": "boolean"
|
|
6363
|
+
},
|
|
6364
|
+
"description": "Fill the screen on a phone, for a dialog that holds a form or a long text.",
|
|
6365
|
+
"default": "false",
|
|
6366
|
+
"fieldName": "phoneFullScreen"
|
|
6200
6367
|
}
|
|
6201
6368
|
],
|
|
6202
6369
|
"superclass": {
|
|
@@ -6892,7 +7059,7 @@
|
|
|
6892
7059
|
{
|
|
6893
7060
|
"name": "impkt-estimate",
|
|
6894
7061
|
"type": {
|
|
6895
|
-
"text": "CustomEvent"
|
|
7062
|
+
"text": "CustomEvent<EstimateResult>"
|
|
6896
7063
|
},
|
|
6897
7064
|
"description": "When the estimate is sent on. The result is in detail."
|
|
6898
7065
|
}
|
|
@@ -8259,6 +8426,29 @@
|
|
|
8259
8426
|
"module": "src/base/FieldElement.ts"
|
|
8260
8427
|
}
|
|
8261
8428
|
},
|
|
8429
|
+
{
|
|
8430
|
+
"kind": "method",
|
|
8431
|
+
"name": "focus",
|
|
8432
|
+
"return": {
|
|
8433
|
+
"type": {
|
|
8434
|
+
"text": "void"
|
|
8435
|
+
}
|
|
8436
|
+
},
|
|
8437
|
+
"parameters": [
|
|
8438
|
+
{
|
|
8439
|
+
"name": "options",
|
|
8440
|
+
"optional": true,
|
|
8441
|
+
"type": {
|
|
8442
|
+
"text": "FocusOptions"
|
|
8443
|
+
}
|
|
8444
|
+
}
|
|
8445
|
+
],
|
|
8446
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
8447
|
+
"inheritedFrom": {
|
|
8448
|
+
"name": "FieldElement",
|
|
8449
|
+
"module": "src/base/FieldElement.ts"
|
|
8450
|
+
}
|
|
8451
|
+
},
|
|
8262
8452
|
{
|
|
8263
8453
|
"kind": "method",
|
|
8264
8454
|
"name": "renderLabel",
|
|
@@ -8336,14 +8526,16 @@
|
|
|
8336
8526
|
{
|
|
8337
8527
|
"name": "impkt-lookup",
|
|
8338
8528
|
"type": {
|
|
8339
|
-
"text": "CustomEvent"
|
|
8340
|
-
}
|
|
8529
|
+
"text": "CustomEvent<{ postcode: string }>"
|
|
8530
|
+
},
|
|
8531
|
+
"description": "When a postcode is searched for. The postcode is in detail.postcode."
|
|
8341
8532
|
},
|
|
8342
8533
|
{
|
|
8343
8534
|
"name": "impkt-change",
|
|
8344
8535
|
"type": {
|
|
8345
|
-
"text": "CustomEvent"
|
|
8536
|
+
"text": "CustomEvent<{ value: string }>"
|
|
8346
8537
|
},
|
|
8538
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
8347
8539
|
"inheritedFrom": {
|
|
8348
8540
|
"name": "FieldElement",
|
|
8349
8541
|
"module": "src/base/FieldElement.ts"
|
|
@@ -8529,7 +8721,7 @@
|
|
|
8529
8721
|
},
|
|
8530
8722
|
{
|
|
8531
8723
|
"kind": "class",
|
|
8532
|
-
"description": "Every mistake on the page, listed at the top, each linking to its field.\n\nIt takes focus when it appears, so someone using a screen reader hears what\nis wrong straight away rather than finding out field by field. It draws\nnothing while there are no mistakes.",
|
|
8724
|
+
"description": "Every mistake on the page, listed at the top, each linking to its field.\n\nIt takes focus when it appears, so someone using a screen reader hears what\nis wrong straight away rather than finding out field by field. It draws\nnothing while there are no mistakes. Each link moves focus to its field, which\nmay be a field inside another component, such as `#postcode` for an\n`impkt-text-input` with that id.",
|
|
8533
8725
|
"name": "ImpktErrorSummary",
|
|
8534
8726
|
"members": [
|
|
8535
8727
|
{
|
|
@@ -8678,7 +8870,7 @@
|
|
|
8678
8870
|
},
|
|
8679
8871
|
{
|
|
8680
8872
|
"kind": "class",
|
|
8681
|
-
"description": "Add one or more files, such as proof of identity or photos for a claim.\n\nA file can be chosen or dropped on the box. Each one is checked for type and\nsize here and listed with a Remove button; the upload itself is the app's,\nwhich gets the files on `impkt-files`. The answer is the file names.",
|
|
8873
|
+
"description": "Add one or more files, such as proof of identity or photos for a claim.\n\nA file can be chosen or dropped on the box. Each one is checked for type and\nsize here and listed with a Remove button; the upload itself is the app's,\nwhich gets the files on `impkt-files`. The answer is the file names.\n\nThe file input itself takes focus, so Tab reaches it and Enter or Space opens\nthe file chooser; the visible button is its label and draws its focus ring.\nA file that is added or removed is said to a screen reader, and a file that\ndoes not fit marks the box and says why.",
|
|
8682
8874
|
"name": "ImpktFileUpload",
|
|
8683
8875
|
"members": [
|
|
8684
8876
|
{
|
|
@@ -8749,6 +8941,15 @@
|
|
|
8749
8941
|
},
|
|
8750
8942
|
"default": "false"
|
|
8751
8943
|
},
|
|
8944
|
+
{
|
|
8945
|
+
"kind": "field",
|
|
8946
|
+
"name": "said",
|
|
8947
|
+
"type": {
|
|
8948
|
+
"text": "string"
|
|
8949
|
+
},
|
|
8950
|
+
"privacy": "protected",
|
|
8951
|
+
"default": "''"
|
|
8952
|
+
},
|
|
8752
8953
|
{
|
|
8753
8954
|
"kind": "method",
|
|
8754
8955
|
"name": "fits",
|
|
@@ -9012,6 +9213,29 @@
|
|
|
9012
9213
|
"module": "src/base/FieldElement.ts"
|
|
9013
9214
|
}
|
|
9014
9215
|
},
|
|
9216
|
+
{
|
|
9217
|
+
"kind": "method",
|
|
9218
|
+
"name": "focus",
|
|
9219
|
+
"return": {
|
|
9220
|
+
"type": {
|
|
9221
|
+
"text": "void"
|
|
9222
|
+
}
|
|
9223
|
+
},
|
|
9224
|
+
"parameters": [
|
|
9225
|
+
{
|
|
9226
|
+
"name": "options",
|
|
9227
|
+
"optional": true,
|
|
9228
|
+
"type": {
|
|
9229
|
+
"text": "FocusOptions"
|
|
9230
|
+
}
|
|
9231
|
+
}
|
|
9232
|
+
],
|
|
9233
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
9234
|
+
"inheritedFrom": {
|
|
9235
|
+
"name": "FieldElement",
|
|
9236
|
+
"module": "src/base/FieldElement.ts"
|
|
9237
|
+
}
|
|
9238
|
+
},
|
|
9015
9239
|
{
|
|
9016
9240
|
"kind": "method",
|
|
9017
9241
|
"name": "renderLabel",
|
|
@@ -9089,14 +9313,16 @@
|
|
|
9089
9313
|
{
|
|
9090
9314
|
"name": "impkt-files",
|
|
9091
9315
|
"type": {
|
|
9092
|
-
"text": "CustomEvent"
|
|
9093
|
-
}
|
|
9316
|
+
"text": "CustomEvent<{ files: File[] }>"
|
|
9317
|
+
},
|
|
9318
|
+
"description": "When the files change. The files are in detail.files."
|
|
9094
9319
|
},
|
|
9095
9320
|
{
|
|
9096
9321
|
"name": "impkt-change",
|
|
9097
9322
|
"type": {
|
|
9098
|
-
"text": "CustomEvent"
|
|
9323
|
+
"text": "CustomEvent<{ value: string }>"
|
|
9099
9324
|
},
|
|
9325
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
9100
9326
|
"inheritedFrom": {
|
|
9101
9327
|
"name": "FieldElement",
|
|
9102
9328
|
"module": "src/base/FieldElement.ts"
|
|
@@ -9376,6 +9602,20 @@
|
|
|
9376
9602
|
}
|
|
9377
9603
|
}
|
|
9378
9604
|
},
|
|
9605
|
+
{
|
|
9606
|
+
"kind": "field",
|
|
9607
|
+
"name": "describedBy",
|
|
9608
|
+
"type": {
|
|
9609
|
+
"text": "string | typeof nothing"
|
|
9610
|
+
},
|
|
9611
|
+
"privacy": "protected",
|
|
9612
|
+
"description": "The currency sign describes the field too, so a screen reader hears that the amount is in pounds.",
|
|
9613
|
+
"readonly": true,
|
|
9614
|
+
"inheritedFrom": {
|
|
9615
|
+
"name": "FieldElement",
|
|
9616
|
+
"module": "src/base/FieldElement.ts"
|
|
9617
|
+
}
|
|
9618
|
+
},
|
|
9379
9619
|
{
|
|
9380
9620
|
"kind": "method",
|
|
9381
9621
|
"name": "renderControl",
|
|
@@ -9562,14 +9802,23 @@
|
|
|
9562
9802
|
}
|
|
9563
9803
|
},
|
|
9564
9804
|
{
|
|
9565
|
-
"kind": "
|
|
9566
|
-
"name": "
|
|
9567
|
-
"
|
|
9568
|
-
"
|
|
9805
|
+
"kind": "method",
|
|
9806
|
+
"name": "focus",
|
|
9807
|
+
"return": {
|
|
9808
|
+
"type": {
|
|
9809
|
+
"text": "void"
|
|
9810
|
+
}
|
|
9569
9811
|
},
|
|
9570
|
-
"
|
|
9571
|
-
|
|
9572
|
-
|
|
9812
|
+
"parameters": [
|
|
9813
|
+
{
|
|
9814
|
+
"name": "options",
|
|
9815
|
+
"optional": true,
|
|
9816
|
+
"type": {
|
|
9817
|
+
"text": "FocusOptions"
|
|
9818
|
+
}
|
|
9819
|
+
}
|
|
9820
|
+
],
|
|
9821
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
9573
9822
|
"inheritedFrom": {
|
|
9574
9823
|
"name": "FieldElement",
|
|
9575
9824
|
"module": "src/base/FieldElement.ts"
|
|
@@ -9812,8 +10061,9 @@
|
|
|
9812
10061
|
{
|
|
9813
10062
|
"name": "impkt-change",
|
|
9814
10063
|
"type": {
|
|
9815
|
-
"text": "CustomEvent"
|
|
10064
|
+
"text": "CustomEvent<{ value: string }>"
|
|
9816
10065
|
},
|
|
10066
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
9817
10067
|
"inheritedFrom": {
|
|
9818
10068
|
"name": "FieldElement",
|
|
9819
10069
|
"module": "src/base/FieldElement.ts"
|
|
@@ -10095,6 +10345,29 @@
|
|
|
10095
10345
|
"module": "src/base/FieldElement.ts"
|
|
10096
10346
|
}
|
|
10097
10347
|
},
|
|
10348
|
+
{
|
|
10349
|
+
"kind": "method",
|
|
10350
|
+
"name": "focus",
|
|
10351
|
+
"return": {
|
|
10352
|
+
"type": {
|
|
10353
|
+
"text": "void"
|
|
10354
|
+
}
|
|
10355
|
+
},
|
|
10356
|
+
"parameters": [
|
|
10357
|
+
{
|
|
10358
|
+
"name": "options",
|
|
10359
|
+
"optional": true,
|
|
10360
|
+
"type": {
|
|
10361
|
+
"text": "FocusOptions"
|
|
10362
|
+
}
|
|
10363
|
+
}
|
|
10364
|
+
],
|
|
10365
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
10366
|
+
"inheritedFrom": {
|
|
10367
|
+
"name": "FieldElement",
|
|
10368
|
+
"module": "src/base/FieldElement.ts"
|
|
10369
|
+
}
|
|
10370
|
+
},
|
|
10098
10371
|
{
|
|
10099
10372
|
"kind": "method",
|
|
10100
10373
|
"name": "renderLabel",
|
|
@@ -10333,8 +10606,9 @@
|
|
|
10333
10606
|
{
|
|
10334
10607
|
"name": "impkt-change",
|
|
10335
10608
|
"type": {
|
|
10336
|
-
"text": "CustomEvent"
|
|
10609
|
+
"text": "CustomEvent<{ value: string }>"
|
|
10337
10610
|
},
|
|
10611
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
10338
10612
|
"inheritedFrom": {
|
|
10339
10613
|
"name": "FieldElement",
|
|
10340
10614
|
"module": "src/base/FieldElement.ts"
|
|
@@ -12886,7 +13160,7 @@
|
|
|
12886
13160
|
{
|
|
12887
13161
|
"name": "impkt-submit",
|
|
12888
13162
|
"type": {
|
|
12889
|
-
"text": "CustomEvent"
|
|
13163
|
+
"text": "CustomEvent<{ values: Record<string, string> }>"
|
|
12890
13164
|
},
|
|
12891
13165
|
"description": "When the search is run. The choices are in detail.values."
|
|
12892
13166
|
}
|
|
@@ -15919,7 +16193,7 @@
|
|
|
15919
16193
|
{
|
|
15920
16194
|
"name": "impkt-submit",
|
|
15921
16195
|
"type": {
|
|
15922
|
-
"text": "CustomEvent"
|
|
16196
|
+
"text": "CustomEvent<{ email: string }>"
|
|
15923
16197
|
},
|
|
15924
16198
|
"description": "When a valid address is sent. The address is in detail.email."
|
|
15925
16199
|
}
|
|
@@ -17189,7 +17463,7 @@
|
|
|
17189
17463
|
{
|
|
17190
17464
|
"name": "impkt-select",
|
|
17191
17465
|
"type": {
|
|
17192
|
-
"text": "CustomEvent"
|
|
17466
|
+
"text": "CustomEvent<{ plot: SitePlot }>"
|
|
17193
17467
|
},
|
|
17194
17468
|
"description": "When a plot is chosen. The plot is in detail.plot."
|
|
17195
17469
|
}
|
|
@@ -18632,6 +18906,29 @@
|
|
|
18632
18906
|
"module": "src/base/FieldElement.ts"
|
|
18633
18907
|
}
|
|
18634
18908
|
},
|
|
18909
|
+
{
|
|
18910
|
+
"kind": "method",
|
|
18911
|
+
"name": "focus",
|
|
18912
|
+
"return": {
|
|
18913
|
+
"type": {
|
|
18914
|
+
"text": "void"
|
|
18915
|
+
}
|
|
18916
|
+
},
|
|
18917
|
+
"parameters": [
|
|
18918
|
+
{
|
|
18919
|
+
"name": "options",
|
|
18920
|
+
"optional": true,
|
|
18921
|
+
"type": {
|
|
18922
|
+
"text": "FocusOptions"
|
|
18923
|
+
}
|
|
18924
|
+
}
|
|
18925
|
+
],
|
|
18926
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
18927
|
+
"inheritedFrom": {
|
|
18928
|
+
"name": "FieldElement",
|
|
18929
|
+
"module": "src/base/FieldElement.ts"
|
|
18930
|
+
}
|
|
18931
|
+
},
|
|
18635
18932
|
{
|
|
18636
18933
|
"kind": "method",
|
|
18637
18934
|
"name": "setFormValue",
|
|
@@ -18821,8 +19118,9 @@
|
|
|
18821
19118
|
{
|
|
18822
19119
|
"name": "impkt-change",
|
|
18823
19120
|
"type": {
|
|
18824
|
-
"text": "CustomEvent"
|
|
19121
|
+
"text": "CustomEvent<{ value: string }>"
|
|
18825
19122
|
},
|
|
19123
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
18826
19124
|
"inheritedFrom": {
|
|
18827
19125
|
"name": "FieldElement",
|
|
18828
19126
|
"module": "src/base/FieldElement.ts"
|
|
@@ -19174,7 +19472,7 @@
|
|
|
19174
19472
|
{
|
|
19175
19473
|
"name": "impkt-scene-progress",
|
|
19176
19474
|
"type": {
|
|
19177
|
-
"text": "CustomEvent"
|
|
19475
|
+
"text": "CustomEvent<{ progress: number }>"
|
|
19178
19476
|
},
|
|
19179
19477
|
"description": "`{ progress }` whenever the progress changes."
|
|
19180
19478
|
}
|
|
@@ -19772,14 +20070,37 @@
|
|
|
19772
20070
|
},
|
|
19773
20071
|
{
|
|
19774
20072
|
"kind": "method",
|
|
19775
|
-
"name": "
|
|
19776
|
-
"privacy": "protected",
|
|
20073
|
+
"name": "focus",
|
|
19777
20074
|
"return": {
|
|
19778
20075
|
"type": {
|
|
19779
|
-
"text": "
|
|
20076
|
+
"text": "void"
|
|
19780
20077
|
}
|
|
19781
20078
|
},
|
|
19782
|
-
"
|
|
20079
|
+
"parameters": [
|
|
20080
|
+
{
|
|
20081
|
+
"name": "options",
|
|
20082
|
+
"optional": true,
|
|
20083
|
+
"type": {
|
|
20084
|
+
"text": "FocusOptions"
|
|
20085
|
+
}
|
|
20086
|
+
}
|
|
20087
|
+
],
|
|
20088
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
20089
|
+
"inheritedFrom": {
|
|
20090
|
+
"name": "FieldElement",
|
|
20091
|
+
"module": "src/base/FieldElement.ts"
|
|
20092
|
+
}
|
|
20093
|
+
},
|
|
20094
|
+
{
|
|
20095
|
+
"kind": "method",
|
|
20096
|
+
"name": "renderLabel",
|
|
20097
|
+
"privacy": "protected",
|
|
20098
|
+
"return": {
|
|
20099
|
+
"type": {
|
|
20100
|
+
"text": "TemplateResult"
|
|
20101
|
+
}
|
|
20102
|
+
},
|
|
20103
|
+
"description": "`<label for>` by default. A group of controls — radios, checkboxes —\ncannot use one, because `for` names a single control, so those override\nthis and render a `<fieldset>` and `<legend>` instead.",
|
|
19783
20104
|
"inheritedFrom": {
|
|
19784
20105
|
"name": "FieldElement",
|
|
19785
20106
|
"module": "src/base/FieldElement.ts"
|
|
@@ -19991,8 +20312,9 @@
|
|
|
19991
20312
|
{
|
|
19992
20313
|
"name": "impkt-change",
|
|
19993
20314
|
"type": {
|
|
19994
|
-
"text": "CustomEvent"
|
|
20315
|
+
"text": "CustomEvent<{ value: string }>"
|
|
19995
20316
|
},
|
|
20317
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
19996
20318
|
"inheritedFrom": {
|
|
19997
20319
|
"name": "FieldElement",
|
|
19998
20320
|
"module": "src/base/FieldElement.ts"
|
|
@@ -20188,8 +20510,9 @@
|
|
|
20188
20510
|
{
|
|
20189
20511
|
"name": "impkt-select",
|
|
20190
20512
|
"type": {
|
|
20191
|
-
"text": "CustomEvent"
|
|
20192
|
-
}
|
|
20513
|
+
"text": "CustomEvent<{ plan: PlanItem }>"
|
|
20514
|
+
},
|
|
20515
|
+
"description": "When a plan is chosen. Cancel it to stay on the page."
|
|
20193
20516
|
}
|
|
20194
20517
|
],
|
|
20195
20518
|
"attributes": [
|
|
@@ -21303,8 +21626,9 @@
|
|
|
21303
21626
|
{
|
|
21304
21627
|
"name": "impkt-submit",
|
|
21305
21628
|
"type": {
|
|
21306
|
-
"text": "CustomEvent"
|
|
21307
|
-
}
|
|
21629
|
+
"text": "CustomEvent<{ name: string; phone: string; when: string }>"
|
|
21630
|
+
},
|
|
21631
|
+
"description": "When the form is sent."
|
|
21308
21632
|
}
|
|
21309
21633
|
],
|
|
21310
21634
|
"attributes": [
|
|
@@ -21746,7 +22070,7 @@
|
|
|
21746
22070
|
{
|
|
21747
22071
|
"name": "impkt-action",
|
|
21748
22072
|
"type": {
|
|
21749
|
-
"text": "CustomEvent"
|
|
22073
|
+
"text": "CustomEvent<null>"
|
|
21750
22074
|
},
|
|
21751
22075
|
"description": "When the call to action is pressed."
|
|
21752
22076
|
}
|
|
@@ -22617,8 +22941,14 @@
|
|
|
22617
22941
|
"declarations": [
|
|
22618
22942
|
{
|
|
22619
22943
|
"kind": "class",
|
|
22620
|
-
"description": "A data table — a plan comparison, a payment schedule.\n\n**The caption is required.** It is the table's name, and a page with three\nunnamed tables is a page a screen-reader user has to read in full to tell\napart. Visually it can be the heading they would have written anyway.\n\n**It scrolls, and the scroller is focusable.** A wide table cannot reflow to\n320px without becoming unreadable, so it scrolls horizontally — and a region\nthat scrolls must be reachable by keyboard, or a keyboard user simply cannot\nsee the right-hand columns. `tabindex=\"0\"` with a role and a name is the\nestablished fix, and the name is why the role is there: a bare focusable div\nannounces nothing.",
|
|
22944
|
+
"description": "A data table — a plan comparison, a payment schedule, a list of cases.\n\n**The caption is required.** It is the table's name, and a page with three\nunnamed tables is a page a screen-reader user has to read in full to tell\napart. Visually it can be the heading they would have written anyway.\n\n**It scrolls, and the scroller is focusable.** A wide table cannot reflow to\n320px without becoming unreadable, so it scrolls horizontally — and a region\nthat scrolls must be reachable by keyboard, or a keyboard user simply cannot\nsee the right-hand columns. `tabindex=\"0\"` with a role and a name is the\nestablished fix, and the name is why the role is there: a bare focusable div\nannounces nothing.\n\n**Or it stacks.** With `stack`, a narrow table turns each row into a card,\nwith each value under the name of its column, so a phone reads a list of\ncases rather than scrolling a grid. The table keeps its roles written out,\nbecause some browsers drop a table's meaning once it is no longer drawn as one.\n\n**Sorting is announced.** A sortable column's heading is a button, and the\ncolumn the rows are sorted by carries `aria-sort`, so a screen reader says\n\"Opened, sorted descending\" rather than leaving the order to be guessed. The\ntable sorts its own rows unless `manual-sort` says the app does it, as an app\nthat pages its rows on the server must.\n\n**Rows can be chosen.** With `selectable`, each row has a checkbox named by\nthe row's first cell, and the heading has one for every row. A row is known by\nits `id`, or by the key `row-key` names.\n\nA cell can hold more than words: give the table a child with\n`slot=\"cell:{row id}:{column key}\"`, such as a badge, and it is drawn in that\ncell. With no rows the table says `empty-text`, or shows a child with\n`slot=\"empty\"`.",
|
|
22621
22945
|
"name": "ImpktTable",
|
|
22946
|
+
"slots": [
|
|
22947
|
+
{
|
|
22948
|
+
"description": "What to show when there are no rows, in place of the empty text.",
|
|
22949
|
+
"name": "empty"
|
|
22950
|
+
}
|
|
22951
|
+
],
|
|
22622
22952
|
"members": [
|
|
22623
22953
|
{
|
|
22624
22954
|
"kind": "field",
|
|
@@ -22650,6 +22980,214 @@
|
|
|
22650
22980
|
"default": "[]",
|
|
22651
22981
|
"attribute": "rows"
|
|
22652
22982
|
},
|
|
22983
|
+
{
|
|
22984
|
+
"kind": "field",
|
|
22985
|
+
"name": "sortKey",
|
|
22986
|
+
"privacy": "public",
|
|
22987
|
+
"type": {
|
|
22988
|
+
"text": "string"
|
|
22989
|
+
},
|
|
22990
|
+
"description": "The key of the column the rows are sorted by. Empty leaves them in the order given.",
|
|
22991
|
+
"default": "''",
|
|
22992
|
+
"attribute": "sort-key",
|
|
22993
|
+
"reflects": true
|
|
22994
|
+
},
|
|
22995
|
+
{
|
|
22996
|
+
"kind": "field",
|
|
22997
|
+
"name": "sortDirection",
|
|
22998
|
+
"privacy": "public",
|
|
22999
|
+
"type": {
|
|
23000
|
+
"text": "SortDirection"
|
|
23001
|
+
},
|
|
23002
|
+
"default": "'ascending'",
|
|
23003
|
+
"attribute": "sort-direction",
|
|
23004
|
+
"reflects": true
|
|
23005
|
+
},
|
|
23006
|
+
{
|
|
23007
|
+
"kind": "field",
|
|
23008
|
+
"name": "manualSort",
|
|
23009
|
+
"privacy": "public",
|
|
23010
|
+
"type": {
|
|
23011
|
+
"text": "boolean"
|
|
23012
|
+
},
|
|
23013
|
+
"description": "The app sorts the rows itself, on `impkt-sort`. The table only shows which column and which way.",
|
|
23014
|
+
"default": "false",
|
|
23015
|
+
"attribute": "manual-sort"
|
|
23016
|
+
},
|
|
23017
|
+
{
|
|
23018
|
+
"kind": "field",
|
|
23019
|
+
"name": "selectable",
|
|
23020
|
+
"privacy": "public",
|
|
23021
|
+
"type": {
|
|
23022
|
+
"text": "boolean"
|
|
23023
|
+
},
|
|
23024
|
+
"description": "Each row has a checkbox, and the heading one for every row.",
|
|
23025
|
+
"default": "false",
|
|
23026
|
+
"attribute": "selectable",
|
|
23027
|
+
"reflects": true
|
|
23028
|
+
},
|
|
23029
|
+
{
|
|
23030
|
+
"kind": "field",
|
|
23031
|
+
"name": "selected",
|
|
23032
|
+
"privacy": "public",
|
|
23033
|
+
"type": {
|
|
23034
|
+
"text": "string[]"
|
|
23035
|
+
},
|
|
23036
|
+
"description": "The ids of the chosen rows.",
|
|
23037
|
+
"default": "[]",
|
|
23038
|
+
"attribute": "selected"
|
|
23039
|
+
},
|
|
23040
|
+
{
|
|
23041
|
+
"kind": "field",
|
|
23042
|
+
"name": "rowKey",
|
|
23043
|
+
"privacy": "public",
|
|
23044
|
+
"type": {
|
|
23045
|
+
"text": "string"
|
|
23046
|
+
},
|
|
23047
|
+
"description": "The key in each row that tells rows apart.",
|
|
23048
|
+
"default": "'id'",
|
|
23049
|
+
"attribute": "row-key"
|
|
23050
|
+
},
|
|
23051
|
+
{
|
|
23052
|
+
"kind": "field",
|
|
23053
|
+
"name": "stack",
|
|
23054
|
+
"privacy": "public",
|
|
23055
|
+
"type": {
|
|
23056
|
+
"text": "boolean"
|
|
23057
|
+
},
|
|
23058
|
+
"description": "On a narrow screen, draw each row as a card rather than scroll the table sideways.",
|
|
23059
|
+
"default": "false",
|
|
23060
|
+
"attribute": "stack",
|
|
23061
|
+
"reflects": true
|
|
23062
|
+
},
|
|
23063
|
+
{
|
|
23064
|
+
"kind": "field",
|
|
23065
|
+
"name": "emptyText",
|
|
23066
|
+
"privacy": "public",
|
|
23067
|
+
"type": {
|
|
23068
|
+
"text": "string"
|
|
23069
|
+
},
|
|
23070
|
+
"description": "What the table says when it has no rows.",
|
|
23071
|
+
"default": "'Nothing to show'",
|
|
23072
|
+
"attribute": "empty-text"
|
|
23073
|
+
},
|
|
23074
|
+
{
|
|
23075
|
+
"kind": "field",
|
|
23076
|
+
"name": "selectAllText",
|
|
23077
|
+
"privacy": "public",
|
|
23078
|
+
"type": {
|
|
23079
|
+
"text": "string"
|
|
23080
|
+
},
|
|
23081
|
+
"description": "The name of the checkbox that chooses every row.",
|
|
23082
|
+
"default": "'Select all rows'",
|
|
23083
|
+
"attribute": "select-all-text"
|
|
23084
|
+
},
|
|
23085
|
+
{
|
|
23086
|
+
"kind": "field",
|
|
23087
|
+
"name": "selectRowText",
|
|
23088
|
+
"privacy": "public",
|
|
23089
|
+
"type": {
|
|
23090
|
+
"text": "string"
|
|
23091
|
+
},
|
|
23092
|
+
"description": "The name of each row's checkbox, with `{row}` for the row's first cell.",
|
|
23093
|
+
"default": "'Select {row}'",
|
|
23094
|
+
"attribute": "select-row-text"
|
|
23095
|
+
},
|
|
23096
|
+
{
|
|
23097
|
+
"kind": "method",
|
|
23098
|
+
"name": "keyOf",
|
|
23099
|
+
"privacy": "private",
|
|
23100
|
+
"return": {
|
|
23101
|
+
"type": {
|
|
23102
|
+
"text": "string"
|
|
23103
|
+
}
|
|
23104
|
+
},
|
|
23105
|
+
"parameters": [
|
|
23106
|
+
{
|
|
23107
|
+
"name": "row",
|
|
23108
|
+
"type": {
|
|
23109
|
+
"text": "Record<string, string>"
|
|
23110
|
+
}
|
|
23111
|
+
},
|
|
23112
|
+
{
|
|
23113
|
+
"name": "index",
|
|
23114
|
+
"type": {
|
|
23115
|
+
"text": "number"
|
|
23116
|
+
}
|
|
23117
|
+
}
|
|
23118
|
+
]
|
|
23119
|
+
},
|
|
23120
|
+
{
|
|
23121
|
+
"kind": "method",
|
|
23122
|
+
"name": "ordered",
|
|
23123
|
+
"privacy": "private",
|
|
23124
|
+
"return": {
|
|
23125
|
+
"type": {
|
|
23126
|
+
"text": "Array<{ row: Record<string, string>; key: string }>"
|
|
23127
|
+
}
|
|
23128
|
+
},
|
|
23129
|
+
"description": "The rows in the order they are drawn: as given, or sorted by the chosen column."
|
|
23130
|
+
},
|
|
23131
|
+
{
|
|
23132
|
+
"kind": "method",
|
|
23133
|
+
"name": "sortBy",
|
|
23134
|
+
"privacy": "private",
|
|
23135
|
+
"return": {
|
|
23136
|
+
"type": {
|
|
23137
|
+
"text": "void"
|
|
23138
|
+
}
|
|
23139
|
+
},
|
|
23140
|
+
"parameters": [
|
|
23141
|
+
{
|
|
23142
|
+
"name": "key",
|
|
23143
|
+
"type": {
|
|
23144
|
+
"text": "string"
|
|
23145
|
+
}
|
|
23146
|
+
}
|
|
23147
|
+
]
|
|
23148
|
+
},
|
|
23149
|
+
{
|
|
23150
|
+
"kind": "method",
|
|
23151
|
+
"name": "choose",
|
|
23152
|
+
"privacy": "private",
|
|
23153
|
+
"return": {
|
|
23154
|
+
"type": {
|
|
23155
|
+
"text": "void"
|
|
23156
|
+
}
|
|
23157
|
+
},
|
|
23158
|
+
"parameters": [
|
|
23159
|
+
{
|
|
23160
|
+
"name": "keys",
|
|
23161
|
+
"type": {
|
|
23162
|
+
"text": "string[]"
|
|
23163
|
+
}
|
|
23164
|
+
},
|
|
23165
|
+
{
|
|
23166
|
+
"name": "on",
|
|
23167
|
+
"type": {
|
|
23168
|
+
"text": "boolean"
|
|
23169
|
+
}
|
|
23170
|
+
}
|
|
23171
|
+
]
|
|
23172
|
+
},
|
|
23173
|
+
{
|
|
23174
|
+
"kind": "method",
|
|
23175
|
+
"name": "heading",
|
|
23176
|
+
"privacy": "private",
|
|
23177
|
+
"return": {
|
|
23178
|
+
"type": {
|
|
23179
|
+
"text": "TemplateResult"
|
|
23180
|
+
}
|
|
23181
|
+
},
|
|
23182
|
+
"parameters": [
|
|
23183
|
+
{
|
|
23184
|
+
"name": "c",
|
|
23185
|
+
"type": {
|
|
23186
|
+
"text": "TableColumn"
|
|
23187
|
+
}
|
|
23188
|
+
}
|
|
23189
|
+
]
|
|
23190
|
+
},
|
|
22653
23191
|
{
|
|
22654
23192
|
"kind": "field",
|
|
22655
23193
|
"name": "uid",
|
|
@@ -22685,6 +23223,22 @@
|
|
|
22685
23223
|
}
|
|
22686
23224
|
}
|
|
22687
23225
|
],
|
|
23226
|
+
"events": [
|
|
23227
|
+
{
|
|
23228
|
+
"name": "impkt-sort",
|
|
23229
|
+
"type": {
|
|
23230
|
+
"text": "CustomEvent<{ key: string; direction: SortDirection }>"
|
|
23231
|
+
},
|
|
23232
|
+
"description": "When a column heading is pressed to sort the rows."
|
|
23233
|
+
},
|
|
23234
|
+
{
|
|
23235
|
+
"name": "impkt-selection",
|
|
23236
|
+
"type": {
|
|
23237
|
+
"text": "CustomEvent<{ selected: string[] }>"
|
|
23238
|
+
},
|
|
23239
|
+
"description": "When rows are chosen or let go. The ids are in detail.selected."
|
|
23240
|
+
}
|
|
23241
|
+
],
|
|
22688
23242
|
"attributes": [
|
|
22689
23243
|
{
|
|
22690
23244
|
"name": "caption",
|
|
@@ -22709,6 +23263,95 @@
|
|
|
22709
23263
|
},
|
|
22710
23264
|
"default": "[]",
|
|
22711
23265
|
"fieldName": "rows"
|
|
23266
|
+
},
|
|
23267
|
+
{
|
|
23268
|
+
"name": "sort-key",
|
|
23269
|
+
"type": {
|
|
23270
|
+
"text": "string"
|
|
23271
|
+
},
|
|
23272
|
+
"description": "The key of the column the rows are sorted by. Empty leaves them in the order given.",
|
|
23273
|
+
"default": "''",
|
|
23274
|
+
"fieldName": "sortKey"
|
|
23275
|
+
},
|
|
23276
|
+
{
|
|
23277
|
+
"name": "sort-direction",
|
|
23278
|
+
"type": {
|
|
23279
|
+
"text": "SortDirection"
|
|
23280
|
+
},
|
|
23281
|
+
"default": "'ascending'",
|
|
23282
|
+
"fieldName": "sortDirection"
|
|
23283
|
+
},
|
|
23284
|
+
{
|
|
23285
|
+
"name": "manual-sort",
|
|
23286
|
+
"type": {
|
|
23287
|
+
"text": "boolean"
|
|
23288
|
+
},
|
|
23289
|
+
"description": "The app sorts the rows itself, on `impkt-sort`. The table only shows which column and which way.",
|
|
23290
|
+
"default": "false",
|
|
23291
|
+
"fieldName": "manualSort"
|
|
23292
|
+
},
|
|
23293
|
+
{
|
|
23294
|
+
"name": "selectable",
|
|
23295
|
+
"type": {
|
|
23296
|
+
"text": "boolean"
|
|
23297
|
+
},
|
|
23298
|
+
"description": "Each row has a checkbox, and the heading one for every row.",
|
|
23299
|
+
"default": "false",
|
|
23300
|
+
"fieldName": "selectable"
|
|
23301
|
+
},
|
|
23302
|
+
{
|
|
23303
|
+
"name": "selected",
|
|
23304
|
+
"type": {
|
|
23305
|
+
"text": "string[]"
|
|
23306
|
+
},
|
|
23307
|
+
"description": "The ids of the chosen rows.",
|
|
23308
|
+
"default": "[]",
|
|
23309
|
+
"fieldName": "selected"
|
|
23310
|
+
},
|
|
23311
|
+
{
|
|
23312
|
+
"name": "row-key",
|
|
23313
|
+
"type": {
|
|
23314
|
+
"text": "string"
|
|
23315
|
+
},
|
|
23316
|
+
"description": "The key in each row that tells rows apart.",
|
|
23317
|
+
"default": "'id'",
|
|
23318
|
+
"fieldName": "rowKey"
|
|
23319
|
+
},
|
|
23320
|
+
{
|
|
23321
|
+
"name": "stack",
|
|
23322
|
+
"type": {
|
|
23323
|
+
"text": "boolean"
|
|
23324
|
+
},
|
|
23325
|
+
"description": "On a narrow screen, draw each row as a card rather than scroll the table sideways.",
|
|
23326
|
+
"default": "false",
|
|
23327
|
+
"fieldName": "stack"
|
|
23328
|
+
},
|
|
23329
|
+
{
|
|
23330
|
+
"name": "empty-text",
|
|
23331
|
+
"type": {
|
|
23332
|
+
"text": "string"
|
|
23333
|
+
},
|
|
23334
|
+
"description": "What the table says when it has no rows.",
|
|
23335
|
+
"default": "'Nothing to show'",
|
|
23336
|
+
"fieldName": "emptyText"
|
|
23337
|
+
},
|
|
23338
|
+
{
|
|
23339
|
+
"name": "select-all-text",
|
|
23340
|
+
"type": {
|
|
23341
|
+
"text": "string"
|
|
23342
|
+
},
|
|
23343
|
+
"description": "The name of the checkbox that chooses every row.",
|
|
23344
|
+
"default": "'Select all rows'",
|
|
23345
|
+
"fieldName": "selectAllText"
|
|
23346
|
+
},
|
|
23347
|
+
{
|
|
23348
|
+
"name": "select-row-text",
|
|
23349
|
+
"type": {
|
|
23350
|
+
"text": "string"
|
|
23351
|
+
},
|
|
23352
|
+
"description": "The name of each row's checkbox, with `{row}` for the row's first cell.",
|
|
23353
|
+
"default": "'Select {row}'",
|
|
23354
|
+
"fieldName": "selectRowText"
|
|
22712
23355
|
}
|
|
22713
23356
|
],
|
|
22714
23357
|
"superclass": {
|
|
@@ -23011,6 +23654,29 @@
|
|
|
23011
23654
|
"module": "src/base/FieldElement.ts"
|
|
23012
23655
|
}
|
|
23013
23656
|
},
|
|
23657
|
+
{
|
|
23658
|
+
"kind": "method",
|
|
23659
|
+
"name": "focus",
|
|
23660
|
+
"return": {
|
|
23661
|
+
"type": {
|
|
23662
|
+
"text": "void"
|
|
23663
|
+
}
|
|
23664
|
+
},
|
|
23665
|
+
"parameters": [
|
|
23666
|
+
{
|
|
23667
|
+
"name": "options",
|
|
23668
|
+
"optional": true,
|
|
23669
|
+
"type": {
|
|
23670
|
+
"text": "FocusOptions"
|
|
23671
|
+
}
|
|
23672
|
+
}
|
|
23673
|
+
],
|
|
23674
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
23675
|
+
"inheritedFrom": {
|
|
23676
|
+
"name": "FieldElement",
|
|
23677
|
+
"module": "src/base/FieldElement.ts"
|
|
23678
|
+
}
|
|
23679
|
+
},
|
|
23014
23680
|
{
|
|
23015
23681
|
"kind": "method",
|
|
23016
23682
|
"name": "renderLabel",
|
|
@@ -23257,8 +23923,9 @@
|
|
|
23257
23923
|
{
|
|
23258
23924
|
"name": "impkt-change",
|
|
23259
23925
|
"type": {
|
|
23260
|
-
"text": "CustomEvent"
|
|
23926
|
+
"text": "CustomEvent<{ value: string }>"
|
|
23261
23927
|
},
|
|
23928
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
23262
23929
|
"inheritedFrom": {
|
|
23263
23930
|
"name": "FieldElement",
|
|
23264
23931
|
"module": "src/base/FieldElement.ts"
|
|
@@ -23567,6 +24234,29 @@
|
|
|
23567
24234
|
"module": "src/base/FieldElement.ts"
|
|
23568
24235
|
}
|
|
23569
24236
|
},
|
|
24237
|
+
{
|
|
24238
|
+
"kind": "method",
|
|
24239
|
+
"name": "focus",
|
|
24240
|
+
"return": {
|
|
24241
|
+
"type": {
|
|
24242
|
+
"text": "void"
|
|
24243
|
+
}
|
|
24244
|
+
},
|
|
24245
|
+
"parameters": [
|
|
24246
|
+
{
|
|
24247
|
+
"name": "options",
|
|
24248
|
+
"optional": true,
|
|
24249
|
+
"type": {
|
|
24250
|
+
"text": "FocusOptions"
|
|
24251
|
+
}
|
|
24252
|
+
}
|
|
24253
|
+
],
|
|
24254
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing.",
|
|
24255
|
+
"inheritedFrom": {
|
|
24256
|
+
"name": "FieldElement",
|
|
24257
|
+
"module": "src/base/FieldElement.ts"
|
|
24258
|
+
}
|
|
24259
|
+
},
|
|
23570
24260
|
{
|
|
23571
24261
|
"kind": "method",
|
|
23572
24262
|
"name": "renderLabel",
|
|
@@ -23797,8 +24487,9 @@
|
|
|
23797
24487
|
{
|
|
23798
24488
|
"name": "impkt-change",
|
|
23799
24489
|
"type": {
|
|
23800
|
-
"text": "CustomEvent"
|
|
24490
|
+
"text": "CustomEvent<{ value: string }>"
|
|
23801
24491
|
},
|
|
24492
|
+
"description": "When the answer changes. The answer is in detail.value.",
|
|
23802
24493
|
"inheritedFrom": {
|
|
23803
24494
|
"name": "FieldElement",
|
|
23804
24495
|
"module": "src/base/FieldElement.ts"
|
|
@@ -23838,7 +24529,7 @@
|
|
|
23838
24529
|
},
|
|
23839
24530
|
{
|
|
23840
24531
|
"kind": "class",
|
|
23841
|
-
"description": "",
|
|
24532
|
+
"description": "The base of every form control.",
|
|
23842
24533
|
"name": "FieldElement",
|
|
23843
24534
|
"members": [
|
|
23844
24535
|
{
|
|
@@ -23973,6 +24664,25 @@
|
|
|
23973
24664
|
"description": "What the control points `aria-describedby` at.\n\nThe error id is included only while there is an error. A describedby that\nalways names an empty element trains a screen-reader user to expect\nnothing after the description, and then the one time it matters they have\nalready learned to ignore it.",
|
|
23974
24665
|
"readonly": true
|
|
23975
24666
|
},
|
|
24667
|
+
{
|
|
24668
|
+
"kind": "method",
|
|
24669
|
+
"name": "focus",
|
|
24670
|
+
"return": {
|
|
24671
|
+
"type": {
|
|
24672
|
+
"text": "void"
|
|
24673
|
+
}
|
|
24674
|
+
},
|
|
24675
|
+
"parameters": [
|
|
24676
|
+
{
|
|
24677
|
+
"name": "options",
|
|
24678
|
+
"optional": true,
|
|
24679
|
+
"type": {
|
|
24680
|
+
"text": "FocusOptions"
|
|
24681
|
+
}
|
|
24682
|
+
}
|
|
24683
|
+
],
|
|
24684
|
+
"description": "Focusing the element focuses its control, so `el.focus()` from an app, a\nReact ref or the error summary's link lands where someone can type, rather\nthan on a host that cannot take focus and so silently does nothing."
|
|
24685
|
+
},
|
|
23976
24686
|
{
|
|
23977
24687
|
"kind": "method",
|
|
23978
24688
|
"name": "renderControl",
|
|
@@ -24053,8 +24763,9 @@
|
|
|
24053
24763
|
{
|
|
24054
24764
|
"name": "impkt-change",
|
|
24055
24765
|
"type": {
|
|
24056
|
-
"text": "CustomEvent"
|
|
24057
|
-
}
|
|
24766
|
+
"text": "CustomEvent<{ value: string }>"
|
|
24767
|
+
},
|
|
24768
|
+
"description": "When the answer changes. The answer is in detail.value."
|
|
24058
24769
|
}
|
|
24059
24770
|
],
|
|
24060
24771
|
"attributes": [
|
|
@@ -24286,6 +24997,64 @@
|
|
|
24286
24997
|
}
|
|
24287
24998
|
]
|
|
24288
24999
|
},
|
|
25000
|
+
{
|
|
25001
|
+
"kind": "javascript-module",
|
|
25002
|
+
"path": "src/base/scroll-lock.ts",
|
|
25003
|
+
"declarations": [
|
|
25004
|
+
{
|
|
25005
|
+
"kind": "function",
|
|
25006
|
+
"name": "lockScroll",
|
|
25007
|
+
"return": {
|
|
25008
|
+
"type": {
|
|
25009
|
+
"text": "void"
|
|
25010
|
+
}
|
|
25011
|
+
},
|
|
25012
|
+
"parameters": [
|
|
25013
|
+
{
|
|
25014
|
+
"name": "holder",
|
|
25015
|
+
"type": {
|
|
25016
|
+
"text": "object"
|
|
25017
|
+
}
|
|
25018
|
+
}
|
|
25019
|
+
]
|
|
25020
|
+
},
|
|
25021
|
+
{
|
|
25022
|
+
"kind": "function",
|
|
25023
|
+
"name": "unlockScroll",
|
|
25024
|
+
"return": {
|
|
25025
|
+
"type": {
|
|
25026
|
+
"text": "void"
|
|
25027
|
+
}
|
|
25028
|
+
},
|
|
25029
|
+
"parameters": [
|
|
25030
|
+
{
|
|
25031
|
+
"name": "holder",
|
|
25032
|
+
"type": {
|
|
25033
|
+
"text": "object"
|
|
25034
|
+
}
|
|
25035
|
+
}
|
|
25036
|
+
]
|
|
25037
|
+
}
|
|
25038
|
+
],
|
|
25039
|
+
"exports": [
|
|
25040
|
+
{
|
|
25041
|
+
"kind": "js",
|
|
25042
|
+
"name": "lockScroll",
|
|
25043
|
+
"declaration": {
|
|
25044
|
+
"name": "lockScroll",
|
|
25045
|
+
"module": "src/base/scroll-lock.ts"
|
|
25046
|
+
}
|
|
25047
|
+
},
|
|
25048
|
+
{
|
|
25049
|
+
"kind": "js",
|
|
25050
|
+
"name": "unlockScroll",
|
|
25051
|
+
"declaration": {
|
|
25052
|
+
"name": "unlockScroll",
|
|
25053
|
+
"module": "src/base/scroll-lock.ts"
|
|
25054
|
+
}
|
|
25055
|
+
}
|
|
25056
|
+
]
|
|
25057
|
+
},
|
|
24289
25058
|
{
|
|
24290
25059
|
"kind": "javascript-module",
|
|
24291
25060
|
"path": "src/base/styles.ts",
|
|
@@ -24319,6 +25088,24 @@
|
|
|
24319
25088
|
"name": "base",
|
|
24320
25089
|
"default": "css` :host { box-sizing: border-box; font-family: ${t.fontBody}; color: ${t.text}; } :host([hidden]) { display: none !important; } *, *::before, *::after { box-sizing: inherit; } `",
|
|
24321
25090
|
"description": "The base every component starts from."
|
|
25091
|
+
},
|
|
25092
|
+
{
|
|
25093
|
+
"kind": "function",
|
|
25094
|
+
"name": "touchTarget",
|
|
25095
|
+
"return": {
|
|
25096
|
+
"type": {
|
|
25097
|
+
"text": "CSSResult"
|
|
25098
|
+
}
|
|
25099
|
+
},
|
|
25100
|
+
"parameters": [
|
|
25101
|
+
{
|
|
25102
|
+
"name": "selector",
|
|
25103
|
+
"type": {
|
|
25104
|
+
"text": "string"
|
|
25105
|
+
}
|
|
25106
|
+
}
|
|
25107
|
+
],
|
|
25108
|
+
"description": "On a touch screen a control is at least 44 by 44 CSS pixels.\n\nThe 24px floor above is WCAG 2.2's minimum, and it is right for a mouse. A finger\nis broader, and the design guide sets 44px on a touch screen, which is also\n2.5.5's enhanced size. It is applied by pointer rather than by width, because a\nsmall laptop window is still driven by a mouse and a large tablet by a finger.\nPass the selectors that are the controls, inside the component's shadow root."
|
|
24322
25109
|
}
|
|
24323
25110
|
],
|
|
24324
25111
|
"exports": [
|
|
@@ -24361,6 +25148,14 @@
|
|
|
24361
25148
|
"name": "base",
|
|
24362
25149
|
"module": "src/base/styles.ts"
|
|
24363
25150
|
}
|
|
25151
|
+
},
|
|
25152
|
+
{
|
|
25153
|
+
"kind": "js",
|
|
25154
|
+
"name": "touchTarget",
|
|
25155
|
+
"declaration": {
|
|
25156
|
+
"name": "touchTarget",
|
|
25157
|
+
"module": "src/base/styles.ts"
|
|
25158
|
+
}
|
|
24364
25159
|
}
|
|
24365
25160
|
]
|
|
24366
25161
|
},
|