@atomic-ui/ui 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.
Files changed (67) hide show
  1. package/custom-elements.json +2641 -256
  2. package/dist/{chunk-TAZZLOUY.js → chunk-2HWO5TFV.js} +2 -2
  3. package/dist/chunk-AMDTBUUL.js +299 -0
  4. package/dist/chunk-AMDTBUUL.js.map +1 -0
  5. package/dist/{chunk-EJD6LT7E.js → chunk-BNYILASW.js} +36 -4
  6. package/dist/chunk-BNYILASW.js.map +1 -0
  7. package/dist/{chunk-Q54FX3SY.js → chunk-INA53XXW.js} +2 -2
  8. package/dist/chunk-INA53XXW.js.map +1 -0
  9. package/dist/{chunk-SV77SN6P.js → chunk-MLRTPQQO.js} +39 -2
  10. package/dist/chunk-MLRTPQQO.js.map +1 -0
  11. package/dist/{chunk-ZS7RPXCT.js → chunk-NU34ZQFR.js} +4 -2
  12. package/dist/chunk-NU34ZQFR.js.map +1 -0
  13. package/dist/chunk-NUUX2SSN.js +263 -0
  14. package/dist/chunk-NUUX2SSN.js.map +1 -0
  15. package/dist/{chunk-HNZQ7LM4.js → chunk-OE6O3XQB.js} +78 -3
  16. package/dist/chunk-OE6O3XQB.js.map +1 -0
  17. package/dist/{chunk-WWYYNR3Z.js → chunk-RZWRAJCD.js} +7 -2
  18. package/dist/chunk-RZWRAJCD.js.map +1 -0
  19. package/dist/chunk-UF6KCRNT.js +316 -0
  20. package/dist/chunk-UF6KCRNT.js.map +1 -0
  21. package/dist/{chunk-Z45LY6BT.js → chunk-WH43U4IY.js} +37 -2
  22. package/dist/chunk-WH43U4IY.js.map +1 -0
  23. package/dist/{chunk-5Y3HYRCU.js → chunk-WS4AYRSL.js} +20 -2
  24. package/dist/chunk-WS4AYRSL.js.map +1 -0
  25. package/dist/{chunk-PANH23MF.js → chunk-XZQH2M5I.js} +2 -2
  26. package/dist/components/app-ui.d.ts +6 -1
  27. package/dist/components/app-ui.js +2 -2
  28. package/dist/components/badge.d.ts +7 -2
  29. package/dist/components/badge.js +2 -2
  30. package/dist/components/blocks.d.ts +27 -1
  31. package/dist/components/blocks.js +3 -1
  32. package/dist/components/button.d.ts +24 -3
  33. package/dist/components/button.js +2 -2
  34. package/dist/components/icon.d.ts +19 -1
  35. package/dist/components/icon.js +1 -1
  36. package/dist/components/link.d.ts +1 -1
  37. package/dist/components/link.js +2 -2
  38. package/dist/components/navigation.js +2 -2
  39. package/dist/components/progress.d.ts +11 -0
  40. package/dist/components/progress.js +1 -1
  41. package/dist/components/rows.d.ts +196 -0
  42. package/dist/components/rows.js +16 -0
  43. package/dist/components/rows.js.map +1 -0
  44. package/dist/components/shell.d.ts +166 -0
  45. package/dist/components/shell.js +17 -0
  46. package/dist/components/shell.js.map +1 -0
  47. package/dist/components/switch.d.ts +147 -0
  48. package/dist/components/switch.js +11 -0
  49. package/dist/components/switch.js.map +1 -0
  50. package/dist/components/table.js +2 -2
  51. package/dist/components/text-input.d.ts +14 -1
  52. package/dist/components/text-input.js +2 -1
  53. package/dist/index.d.ts +3 -0
  54. package/dist/index.js +43 -15
  55. package/dist/standalone/atomic-ui.js +929 -285
  56. package/dist/standalone/atomic-ui.js.map +4 -4
  57. package/package.json +2 -2
  58. package/dist/chunk-5Y3HYRCU.js.map +0 -1
  59. package/dist/chunk-EJD6LT7E.js.map +0 -1
  60. package/dist/chunk-HNZQ7LM4.js.map +0 -1
  61. package/dist/chunk-Q54FX3SY.js.map +0 -1
  62. package/dist/chunk-SV77SN6P.js.map +0 -1
  63. package/dist/chunk-WWYYNR3Z.js.map +0 -1
  64. package/dist/chunk-Z45LY6BT.js.map +0 -1
  65. package/dist/chunk-ZS7RPXCT.js.map +0 -1
  66. /package/dist/{chunk-TAZZLOUY.js.map → chunk-2HWO5TFV.js.map} +0 -0
  67. /package/dist/{chunk-PANH23MF.js.map → chunk-XZQH2M5I.js.map} +0 -0
@@ -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 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.",
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.\n\nWith `side=\"bottom\"` it is a sheet that rises from the bottom edge, as a\nphone's dialogs do: as wide as the screen, as tall as its content up to\nnine tenths of the screen, with its top corners rounded.",
330
330
  "name": "ImpaktDrawer",
331
331
  "slots": [
332
332
  {
@@ -365,8 +365,9 @@
365
365
  "name": "side",
366
366
  "privacy": "public",
367
367
  "type": {
368
- "text": "'left' | 'right'"
368
+ "text": "'left' | 'right' | 'bottom'"
369
369
  },
370
+ "description": "Which edge it comes in from. `bottom` is a sheet, for a phone.",
370
371
  "default": "'right'",
371
372
  "attribute": "side",
372
373
  "reflects": true
@@ -491,8 +492,9 @@
491
492
  {
492
493
  "name": "side",
493
494
  "type": {
494
- "text": "'left' | 'right'"
495
+ "text": "'left' | 'right' | 'bottom'"
495
496
  },
497
+ "description": "Which edge it comes in from. `bottom` is a sheet, for a phone.",
496
498
  "default": "'right'",
497
499
  "fieldName": "side"
498
500
  },
@@ -2435,8 +2437,9 @@
2435
2437
  "name": "tone",
2436
2438
  "privacy": "public",
2437
2439
  "type": {
2438
- "text": "'neutral' | 'brand' | 'success' | 'warning' | 'danger' | 'info'"
2440
+ "text": "'neutral' | 'brand' | 'success' | 'warning' | 'danger' | 'info' | 'inverse' | 'solid'"
2439
2441
  },
2442
+ "description": "Its colour. `inverse` is the text colour as a fill, for a label that has to\nstand out on a photo or a light card. `solid` is the brand as a fill, for\nthe one label on a screen that matters most.",
2440
2443
  "default": "'neutral'",
2441
2444
  "attribute": "tone",
2442
2445
  "reflects": true
@@ -2446,7 +2449,7 @@
2446
2449
  "name": "icon",
2447
2450
  "privacy": "public",
2448
2451
  "type": {
2449
- "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
2452
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
2450
2453
  },
2451
2454
  "description": "An icon before the words.",
2452
2455
  "default": "'none'",
@@ -2491,15 +2494,16 @@
2491
2494
  {
2492
2495
  "name": "tone",
2493
2496
  "type": {
2494
- "text": "'neutral' | 'brand' | 'success' | 'warning' | 'danger' | 'info'"
2497
+ "text": "'neutral' | 'brand' | 'success' | 'warning' | 'danger' | 'info' | 'inverse' | 'solid'"
2495
2498
  },
2499
+ "description": "Its colour. `inverse` is the text colour as a fill, for a label that has to\nstand out on a photo or a light card. `solid` is the brand as a fill, for\nthe one label on a screen that matters most.",
2496
2500
  "default": "'neutral'",
2497
2501
  "fieldName": "tone"
2498
2502
  },
2499
2503
  {
2500
2504
  "name": "icon",
2501
2505
  "type": {
2502
- "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
2506
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
2503
2507
  },
2504
2508
  "description": "An icon before the words.",
2505
2509
  "default": "'none'",
@@ -2757,7 +2761,7 @@
2757
2761
  },
2758
2762
  {
2759
2763
  "kind": "class",
2760
- "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.",
2764
+ "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.\n\n**Tabs that go to pages are links.** When every item has an `href`, such as\na job's Overview, Money and Notes, each of which has its own address, the\ntabs are drawn the same but are a `nav` of links, the current one marked\n`aria-current=\"page\"`, with no panels. A row of links is not the ARIA tabs\npattern, and announcing it as one would promise arrow keys and panels that\nare not there. They send `impakt-navigate` like the side navigation, so an\napp can route without a reload.\n\n`look=\"pill\"` draws the tabs as pills in a rounded bar, with the chosen one\nfilled, as a product's workspace tabs are.",
2761
2765
  "name": "ImpaktTabs",
2762
2766
  "slots": [
2763
2767
  {
@@ -2811,6 +2815,45 @@
2811
2815
  "attribute": "two-rows",
2812
2816
  "reflects": true
2813
2817
  },
2818
+ {
2819
+ "kind": "field",
2820
+ "name": "look",
2821
+ "privacy": "public",
2822
+ "type": {
2823
+ "text": "'line' | 'pill'"
2824
+ },
2825
+ "description": "`line` underlines the chosen tab; `pill` fills it, in a rounded bar.",
2826
+ "default": "'line'",
2827
+ "attribute": "look",
2828
+ "reflects": true
2829
+ },
2830
+ {
2831
+ "kind": "method",
2832
+ "name": "countOf",
2833
+ "privacy": "private",
2834
+ "return": {
2835
+ "type": {
2836
+ "text": "TemplateResult | typeof nothing"
2837
+ }
2838
+ },
2839
+ "parameters": [
2840
+ {
2841
+ "name": "item",
2842
+ "type": {
2843
+ "text": "TabItem"
2844
+ }
2845
+ }
2846
+ ]
2847
+ },
2848
+ {
2849
+ "kind": "field",
2850
+ "name": "linked",
2851
+ "type": {
2852
+ "text": "boolean"
2853
+ },
2854
+ "privacy": "private",
2855
+ "readonly": true
2856
+ },
2814
2857
  {
2815
2858
  "kind": "method",
2816
2859
  "name": "current",
@@ -2916,6 +2959,13 @@
2916
2959
  "text": "CustomEvent<{ value: string }>"
2917
2960
  },
2918
2961
  "description": "When another tab is chosen."
2962
+ },
2963
+ {
2964
+ "type": {
2965
+ "text": "CustomEvent<{ href: string; id: string }>"
2966
+ },
2967
+ "description": "When a tab that is a link is followed. Cancel it to route in the app.",
2968
+ "name": "impakt-navigate"
2919
2969
  }
2920
2970
  ],
2921
2971
  "attributes": [
@@ -2953,6 +3003,15 @@
2953
3003
  "description": "On a narrow screen, lay more than four tabs out in two rows rather than scroll them.",
2954
3004
  "default": "false",
2955
3005
  "fieldName": "twoRows"
3006
+ },
3007
+ {
3008
+ "name": "look",
3009
+ "type": {
3010
+ "text": "'line' | 'pill'"
3011
+ },
3012
+ "description": "`line` underlines the chosen tab; `pill` fills it, in a rounded bar.",
3013
+ "default": "'line'",
3014
+ "fieldName": "look"
2956
3015
  }
2957
3016
  ],
2958
3017
  "superclass": {
@@ -3038,7 +3097,7 @@
3038
3097
  "declarations": [
3039
3098
  {
3040
3099
  "kind": "class",
3041
- "description": "A button.\n\nTwo decisions carry the accessibility weight here.\n\n**A busy button is not a disabled button.** While an action is in flight the\ncontrol keeps its place in the tab order and reports `aria-disabled`, rather\nthan taking the native `disabled` attribute. A natively disabled element is\nremoved from the tab order, so a keyboard user who had just activated it\nloses their focus position to the top of the document — at precisely the\nmoment something is happening that they need to be told about. Activation is\nblocked in the handler instead.\n\n**It renders a real `<button>`.** A `<div role=\"button\">` needs Enter and\nSpace handling, a tabindex, and a disabled story, and it will still not\nsubmit a form. The native element already has all of that, correctly, in\nevery browser and every assistive technology.\n\n\n**A button that goes somewhere is a link.** With `href` set it renders an\n`<a>` styled as a button, so it opens in a new tab, shows its address and is\nannounced as a link, which is what it is.",
3100
+ "description": "A button.\n\nTwo decisions carry the accessibility weight here.\n\n**A busy button is not a disabled button.** While an action is in flight the\ncontrol keeps its place in the tab order and reports `aria-disabled`, rather\nthan taking the native `disabled` attribute. A natively disabled element is\nremoved from the tab order, so a keyboard user who had just activated it\nloses their focus position to the top of the document — at precisely the\nmoment something is happening that they need to be told about. Activation is\nblocked in the handler instead.\n\n**It renders a real `<button>`.** A `<div role=\"button\">` needs Enter and\nSpace handling, a tabindex, and a disabled story, and it will still not\nsubmit a form. The native element already has all of that, correctly, in\nevery browser and every assistive technology.\n\n\n**A button that goes somewhere is a link.** With `href` set it renders an\n`<a>` styled as a button, so it opens in a new tab, shows its address and is\nannounced as a link, which is what it is.\n\n**An icon-only button still has a name.** With `icon` set and no words, the\nbutton shows the icon alone and `label` becomes its accessible name, so a\nscreen reader says \"Back\" rather than \"button\". Without a `label` an\nicon-only button is not rendered as icon-only, because it would be nameless\n(4.1.2).",
3042
3101
  "name": "ImpaktButton",
3043
3102
  "slots": [
3044
3103
  {
@@ -3073,8 +3132,9 @@
3073
3132
  "name": "variant",
3074
3133
  "privacy": "public",
3075
3134
  "type": {
3076
- "text": "'primary' | 'secondary' | 'ghost'"
3135
+ "text": "'primary' | 'secondary' | 'ghost' | 'dark' | 'subtle' | 'danger'"
3077
3136
  },
3137
+ "description": "How much the button asks for attention. `dark` is the strong second\nchoice on a light page, `subtle` a quiet filled one, and `danger` an\naction that removes or cancels something.",
3078
3138
  "default": "'primary'",
3079
3139
  "attribute": "variant",
3080
3140
  "reflects": true
@@ -3161,7 +3221,7 @@
3161
3221
  "name": "iconBefore",
3162
3222
  "privacy": "public",
3163
3223
  "type": {
3164
- "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
3224
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
3165
3225
  },
3166
3226
  "description": "An icon before the words, such as phone or calendar.",
3167
3227
  "default": "'none'",
@@ -3172,7 +3232,7 @@
3172
3232
  "name": "iconAfter",
3173
3233
  "privacy": "public",
3174
3234
  "type": {
3175
- "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
3235
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
3176
3236
  },
3177
3237
  "description": "An icon after the words, such as arrow-right.",
3178
3238
  "default": "'none'",
@@ -3189,6 +3249,28 @@
3189
3249
  "default": "''",
3190
3250
  "attribute": "href"
3191
3251
  },
3252
+ {
3253
+ "kind": "field",
3254
+ "name": "icon",
3255
+ "privacy": "public",
3256
+ "type": {
3257
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
3258
+ },
3259
+ "description": "Draws the button as this icon alone, a round button. Needs `label`.",
3260
+ "default": "'none'",
3261
+ "attribute": "icon"
3262
+ },
3263
+ {
3264
+ "kind": "field",
3265
+ "name": "label",
3266
+ "privacy": "public",
3267
+ "type": {
3268
+ "text": "string"
3269
+ },
3270
+ "description": "The accessible name of an icon-only button, such as \"Back\" or \"More actions\".",
3271
+ "default": "''",
3272
+ "attribute": "label"
3273
+ },
3192
3274
  {
3193
3275
  "kind": "field",
3194
3276
  "name": "internals",
@@ -3270,8 +3352,9 @@
3270
3352
  {
3271
3353
  "name": "variant",
3272
3354
  "type": {
3273
- "text": "'primary' | 'secondary' | 'ghost'"
3355
+ "text": "'primary' | 'secondary' | 'ghost' | 'dark' | 'subtle' | 'danger'"
3274
3356
  },
3357
+ "description": "How much the button asks for attention. `dark` is the strong second\nchoice on a light page, `subtle` a quiet filled one, and `danger` an\naction that removes or cancels something.",
3275
3358
  "default": "'primary'",
3276
3359
  "fieldName": "variant"
3277
3360
  },
@@ -3336,7 +3419,7 @@
3336
3419
  {
3337
3420
  "name": "icon-before",
3338
3421
  "type": {
3339
- "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
3422
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
3340
3423
  },
3341
3424
  "description": "An icon before the words, such as phone or calendar.",
3342
3425
  "default": "'none'",
@@ -3345,7 +3428,7 @@
3345
3428
  {
3346
3429
  "name": "icon-after",
3347
3430
  "type": {
3348
- "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
3431
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
3349
3432
  },
3350
3433
  "description": "An icon after the words, such as arrow-right.",
3351
3434
  "default": "'none'",
@@ -3359,6 +3442,24 @@
3359
3442
  "description": "Where the button goes, when it opens a page rather than doing something here.",
3360
3443
  "default": "''",
3361
3444
  "fieldName": "href"
3445
+ },
3446
+ {
3447
+ "name": "icon",
3448
+ "type": {
3449
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
3450
+ },
3451
+ "description": "Draws the button as this icon alone, a round button. Needs `label`.",
3452
+ "default": "'none'",
3453
+ "fieldName": "icon"
3454
+ },
3455
+ {
3456
+ "name": "label",
3457
+ "type": {
3458
+ "text": "string"
3459
+ },
3460
+ "description": "The accessible name of an icon-only button, such as \"Back\" or \"More actions\".",
3461
+ "default": "''",
3462
+ "fieldName": "label"
3362
3463
  }
3363
3464
  ],
3364
3465
  "superclass": {
@@ -5963,7 +6064,7 @@
5963
6064
  {
5964
6065
  "kind": "variable",
5965
6066
  "name": "ICONS",
5966
- "default": "{ 'arrow-right': svg`<path d=\"M5 12h14M13 6l6 6-6 6\"/>`, 'arrow-left': svg`<path d=\"M19 12H5M11 6l-6 6 6 6\"/>`, 'chevron-right': svg`<path d=\"M9 6l6 6-6 6\"/>`, 'chevron-down': svg`<path d=\"M6 9l6 6 6-6\"/>`, check: svg`<path d=\"M5 12.5l4.5 4.5L19 7\"/>`, close: svg`<path d=\"M6 6l12 12M18 6L6 18\"/>`, menu: svg`<path d=\"M4 7h16M4 12h16M4 17h16\"/>`, /** Two lines: a menu drawn quieter, as a round icon button. */ 'menu-two': svg`<path d=\"M5 9.5h14M5 14.5h14\"/>`, plus: svg`<path d=\"M12 5v14M5 12h14\"/>`, minus: svg`<path d=\"M5 12h14\"/>`, search: svg`<circle cx=\"11\" cy=\"11\" r=\"6.5\"/><path d=\"M16 16l4 4\"/>`, external: svg`<path d=\"M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5\"/>`, download: svg`<path d=\"M12 4v11M7 10l5 5 5-5M5 20h14\"/>`, home: svg`<path d=\"M4 11l8-7 8 7M6 9.5V20h12V9.5\"/><path d=\"M10 20v-6h4v6\"/>`, phone: svg`<path d=\"M7 3.5h3l1.5 4-2 1.5a11 11 0 0 0 5.5 5.5l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16 16 0 0 1 5 5.5a2 2 0 0 1 2-2z\"/>`, mail: svg`<rect x=\"3.5\" y=\"5.5\" width=\"17\" height=\"13\" rx=\"1.5\"/><path d=\"M4 7l8 6 8-6\"/>`, 'map-pin': svg`<path d=\"M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z\"/><circle cx=\"12\" cy=\"10\" r=\"2.5\"/>`, calendar: svg`<rect x=\"4\" y=\"5.5\" width=\"16\" height=\"14.5\" rx=\"1.5\"/><path d=\"M4 10h16M8.5 3.5v4M15.5 3.5v4\"/>`, clock: svg`<circle cx=\"12\" cy=\"12\" r=\"8.5\"/><path d=\"M12 7.5V12l3 2\"/>`, user: svg`<circle cx=\"12\" cy=\"8.5\" r=\"3.5\"/><path d=\"M5 20a7 7 0 0 1 14 0\"/>`, star: svg`<path d=\"M12 4l2.4 5 5.4.6-4 3.7 1.1 5.4L12 16l-4.9 2.7 1.1-5.4-4-3.7 5.4-.6z\"/>`, heart: svg`<path d=\"M12 19.5s-7.5-4.6-7.5-10A4 4 0 0 1 12 7a4 4 0 0 1 7.5 2.5c0 5.4-7.5 10-7.5 10z\"/>`, shield: svg`<path d=\"M12 3.5l7 2.5v5.5c0 4.5-3 7.8-7 9-4-1.2-7-4.5-7-9V6z\"/><path d=\"M9 12l2 2 4-4\"/>`, leaf: svg`<path d=\"M5 19c0-8 5-13 14-14 0 9-5 14-13 14z\"/><path d=\"M5 19l7-7\"/>`, sun: svg`<circle cx=\"12\" cy=\"12\" r=\"3.5\"/><path d=\"M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6L7 7M17 17l1.4 1.4M5.6 18.4L7 17M17 7l1.4-1.4\"/>`, bolt: svg`<path d=\"M13 3L5 13.5h6L10 21l8-10.5h-6z\"/>`, key: svg`<circle cx=\"8\" cy=\"15\" r=\"3.5\"/><path d=\"M10.5 12.5L19 4M16 7l2.5 2.5M14 9l2 2\"/>`, info: svg`<circle cx=\"12\" cy=\"12\" r=\"8.5\"/><path d=\"M12 11v5.5M12 7.5v.5\"/>`, warning: svg`<path d=\"M12 4l9 15.5H3z\"/><path d=\"M12 10v4M12 16.5v.5\"/>`, document: svg`<path d=\"M6 3.5h8l4 4V20a.5.5 0 0 1-.5.5h-11A.5.5 0 0 1 6 20z\"/><path d=\"M14 3.5V8h4M9 13h6M9 16.5h6\"/>`, pound: svg`<path d=\"M16 6.5a3.5 3.5 0 0 0-6.5 1.8V20M7 13h7M7 20h10\"/>`, chat: svg`<path d=\"M4.5 5.5h15v10h-9l-4 3.5v-3.5h-2z\"/>`, } as const satisfies Record<string, SVGTemplateResult>",
6067
+ "default": "{ 'arrow-right': svg`<path d=\"M5 12h14M13 6l6 6-6 6\"/>`, 'arrow-left': svg`<path d=\"M19 12H5M11 6l-6 6 6 6\"/>`, 'chevron-right': svg`<path d=\"M9 6l6 6-6 6\"/>`, 'chevron-down': svg`<path d=\"M6 9l6 6 6-6\"/>`, check: svg`<path d=\"M5 12.5l4.5 4.5L19 7\"/>`, close: svg`<path d=\"M6 6l12 12M18 6L6 18\"/>`, menu: svg`<path d=\"M4 7h16M4 12h16M4 17h16\"/>`, /** Two lines: a menu drawn quieter, as a round icon button. */ 'menu-two': svg`<path d=\"M5 9.5h14M5 14.5h14\"/>`, plus: svg`<path d=\"M12 5v14M5 12h14\"/>`, minus: svg`<path d=\"M5 12h14\"/>`, search: svg`<circle cx=\"11\" cy=\"11\" r=\"6.5\"/><path d=\"M16 16l4 4\"/>`, external: svg`<path d=\"M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5\"/>`, download: svg`<path d=\"M12 4v11M7 10l5 5 5-5M5 20h14\"/>`, home: svg`<path d=\"M4 11l8-7 8 7M6 9.5V20h12V9.5\"/><path d=\"M10 20v-6h4v6\"/>`, phone: svg`<path d=\"M7 3.5h3l1.5 4-2 1.5a11 11 0 0 0 5.5 5.5l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16 16 0 0 1 5 5.5a2 2 0 0 1 2-2z\"/>`, mail: svg`<rect x=\"3.5\" y=\"5.5\" width=\"17\" height=\"13\" rx=\"1.5\"/><path d=\"M4 7l8 6 8-6\"/>`, 'map-pin': svg`<path d=\"M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z\"/><circle cx=\"12\" cy=\"10\" r=\"2.5\"/>`, calendar: svg`<rect x=\"4\" y=\"5.5\" width=\"16\" height=\"14.5\" rx=\"1.5\"/><path d=\"M4 10h16M8.5 3.5v4M15.5 3.5v4\"/>`, clock: svg`<circle cx=\"12\" cy=\"12\" r=\"8.5\"/><path d=\"M12 7.5V12l3 2\"/>`, user: svg`<circle cx=\"12\" cy=\"8.5\" r=\"3.5\"/><path d=\"M5 20a7 7 0 0 1 14 0\"/>`, star: svg`<path d=\"M12 4l2.4 5 5.4.6-4 3.7 1.1 5.4L12 16l-4.9 2.7 1.1-5.4-4-3.7 5.4-.6z\"/>`, heart: svg`<path d=\"M12 19.5s-7.5-4.6-7.5-10A4 4 0 0 1 12 7a4 4 0 0 1 7.5 2.5c0 5.4-7.5 10-7.5 10z\"/>`, shield: svg`<path d=\"M12 3.5l7 2.5v5.5c0 4.5-3 7.8-7 9-4-1.2-7-4.5-7-9V6z\"/><path d=\"M9 12l2 2 4-4\"/>`, leaf: svg`<path d=\"M5 19c0-8 5-13 14-14 0 9-5 14-13 14z\"/><path d=\"M5 19l7-7\"/>`, sun: svg`<circle cx=\"12\" cy=\"12\" r=\"3.5\"/><path d=\"M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6L7 7M17 17l1.4 1.4M5.6 18.4L7 17M17 7l1.4-1.4\"/>`, bolt: svg`<path d=\"M13 3L5 13.5h6L10 21l8-10.5h-6z\"/>`, key: svg`<circle cx=\"8\" cy=\"15\" r=\"3.5\"/><path d=\"M10.5 12.5L19 4M16 7l2.5 2.5M14 9l2 2\"/>`, info: svg`<circle cx=\"12\" cy=\"12\" r=\"8.5\"/><path d=\"M12 11v5.5M12 7.5v.5\"/>`, warning: svg`<path d=\"M12 4l9 15.5H3z\"/><path d=\"M12 10v4M12 16.5v.5\"/>`, document: svg`<path d=\"M6 3.5h8l4 4V20a.5.5 0 0 1-.5.5h-11A.5.5 0 0 1 6 20z\"/><path d=\"M14 3.5V8h4M9 13h6M9 16.5h6\"/>`, pound: svg`<path d=\"M16 6.5a3.5 3.5 0 0 0-6.5 1.8V20M7 13h7M7 20h10\"/>`, chat: svg`<path d=\"M4.5 5.5h15v10h-9l-4 3.5v-3.5h-2z\"/>`, /** Product navigation and actions, drawn to Lucide's shapes so they sit beside its line weight. */ grid: svg`<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\"/><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\"/><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\"/><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\"/>`, clipboard: svg`<rect x=\"8\" y=\"2\" width=\"8\" height=\"4\" rx=\"1\"/><path d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2M12 11h4M12 16h4M8 11h.01M8 16h.01\"/>`, 'map-pinned': svg`<path d=\"M18 8c0 3.6-3.9 7.4-5.4 8.8a1 1 0 0 1-1.2 0C9.9 15.4 6 11.6 6 8a6 6 0 0 1 12 0\"/><circle cx=\"12\" cy=\"8\" r=\"2\"/><path d=\"M8.7 14H5a1 1 0 0 0-.9.7l-2 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .9-1.3l-2-6a1 1 0 0 0-.9-.7h-3.7\"/>`, users: svg`<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"/><circle cx=\"9\" cy=\"7\" r=\"4\"/><path d=\"M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8\"/>`, radio: svg`<path d=\"M4.9 19.1C1 15.2 1 8.8 4.9 4.9M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5M19.1 4.9C23 8.8 23 15.1 19.1 19\"/><circle cx=\"12\" cy=\"12\" r=\"2\"/>`, settings: svg`<path d=\"M12.2 2h-.4a2 2 0 0 0-2 2v.2a2 2 0 0 1-1 1.7l-.4.3a2 2 0 0 1-2 0l-.2-.1a2 2 0 0 0-2.7.7l-.2.4a2 2 0 0 0 .7 2.7l.2.1a2 2 0 0 1 1 1.7v.5a2 2 0 0 1-1 1.8l-.2.1a2 2 0 0 0-.7 2.7l.2.4a2 2 0 0 0 2.7.7l.2-.1a2 2 0 0 1 2 0l.4.3a2 2 0 0 1 1 1.7v.2a2 2 0 0 0 2 2h.4a2 2 0 0 0 2-2v-.2a2 2 0 0 1 1-1.7l.4-.3a2 2 0 0 1 2 0l.2.1a2 2 0 0 0 2.7-.7l.2-.4a2 2 0 0 0-.7-2.7l-.2-.1a2 2 0 0 1-1-1.8v-.5a2 2 0 0 1 1-1.7l.2-.1a2 2 0 0 0 .7-2.7l-.2-.4a2 2 0 0 0-2.7-.7l-.2.1a2 2 0 0 1-2 0l-.4-.3a2 2 0 0 1-1-1.7V4a2 2 0 0 0-2-2z\"/><circle cx=\"12\" cy=\"12\" r=\"3\"/>`, 'log-out': svg`<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9\"/>`, 'arrow-up-right': svg`<path d=\"M7 7h10v10M7 17L17 7\"/>`, more: svg`<circle cx=\"5\" cy=\"12\" r=\"1\"/><circle cx=\"12\" cy=\"12\" r=\"1\"/><circle cx=\"19\" cy=\"12\" r=\"1\"/>`, upload: svg`<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12\"/>`, image: svg`<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"/><circle cx=\"9\" cy=\"9\" r=\"2\"/><path d=\"M21 15l-3.1-3.1a2 2 0 0 0-2.8 0L6 21\"/>`, lock: svg`<rect x=\"3\" y=\"11\" width=\"18\" height=\"11\" rx=\"2\"/><path d=\"M7 11V7a5 5 0 0 1 10 0v4\"/>`, eye: svg`<path d=\"M2.1 12.3a1 1 0 0 1 0-.7 10.8 10.8 0 0 1 19.8 0 1 1 0 0 1 0 .7 10.8 10.8 0 0 1-19.8 0\"/><circle cx=\"12\" cy=\"12\" r=\"3\"/>`, trash: svg`<path d=\"M3 6h18M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2M10 11v6M14 11v6\"/>`, pencil: svg`<path d=\"M21.2 6.8a1 1 0 0 0-4-4L3.8 16.2a2 2 0 0 0-.5.8L2 21.4a.5.5 0 0 0 .6.6l4.4-1.3a2 2 0 0 0 .8-.5zM15 5l4 4\"/>`, 'qr-code': svg`<rect x=\"3\" y=\"3\" width=\"5\" height=\"5\" rx=\"1\"/><rect x=\"16\" y=\"3\" width=\"5\" height=\"5\" rx=\"1\"/><rect x=\"3\" y=\"16\" width=\"5\" height=\"5\" rx=\"1\"/><path d=\"M21 16h-3a2 2 0 0 0-2 2v3M21 21v.01M12 7v3a2 2 0 0 1-2 2H7M3 12h.01M12 3h.01M12 16v.01M16 12h1M21 12v.01M12 21v-1\"/>`, battery: svg`<rect x=\"2\" y=\"7\" width=\"16\" height=\"10\" rx=\"2\"/><path d=\"M22 11v2M6 11v2M10 11v2\"/>`, } as const satisfies Record<string, SVGTemplateResult>",
5967
6068
  "description": "The icons the library draws, each on a 24 by 24 grid in strokes of the\ncurrent text colour. Kept to a set the components need and editors reach\nfor, so an icon always matches the line weight of the ones beside it."
5968
6069
  },
5969
6070
  {
@@ -6003,7 +6104,7 @@
6003
6104
  "name": "name",
6004
6105
  "privacy": "public",
6005
6106
  "type": {
6006
- "text": "'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
6107
+ "text": "'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
6007
6108
  },
6008
6109
  "description": "Which icon.",
6009
6110
  "default": "'star'",
@@ -6083,7 +6184,7 @@
6083
6184
  {
6084
6185
  "name": "name",
6085
6186
  "type": {
6086
- "text": "'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
6187
+ "text": "'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
6087
6188
  },
6088
6189
  "description": "Which icon.",
6089
6190
  "default": "'star'",
@@ -9792,7 +9893,7 @@
9792
9893
  "name": "icon",
9793
9894
  "privacy": "public",
9794
9895
  "type": {
9795
- "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
9896
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
9796
9897
  },
9797
9898
  "description": "An icon after the words. A standalone link has an arrow unless it says otherwise.",
9798
9899
  "default": "'none'",
@@ -9870,7 +9971,7 @@
9870
9971
  {
9871
9972
  "name": "icon",
9872
9973
  "type": {
9873
- "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat'"
9974
+ "text": "'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat' | 'grid' | 'clipboard' | 'map-pinned' | 'users' | 'radio' | 'settings' | 'log-out' | 'arrow-up-right' | 'more' | 'upload' | 'image' | 'lock' | 'eye' | 'trash' | 'pencil' | 'qr-code' | 'battery'"
9874
9975
  },
9875
9976
  "description": "An icon after the words. A standalone link has an arrow unless it says otherwise.",
9876
9977
  "default": "'none'",
@@ -11763,6 +11864,18 @@
11763
11864
  "default": "'Progress'",
11764
11865
  "attribute": "label"
11765
11866
  },
11867
+ {
11868
+ "kind": "field",
11869
+ "name": "look",
11870
+ "privacy": "public",
11871
+ "type": {
11872
+ "text": "'steps' | 'bars'"
11873
+ },
11874
+ "description": "`steps` is the full indicator. `bars` is a compact one for a card: short\nrounded bars, the done steps in the text colour and the current one in the\nbrand, with small names under them. The current step is also set in a\nheavier weight, so it does not rest on colour alone.",
11875
+ "default": "'steps'",
11876
+ "attribute": "look",
11877
+ "reflects": true
11878
+ },
11766
11879
  {
11767
11880
  "kind": "field",
11768
11881
  "name": "uid",
@@ -11823,6 +11936,15 @@
11823
11936
  },
11824
11937
  "default": "'Progress'",
11825
11938
  "fieldName": "label"
11939
+ },
11940
+ {
11941
+ "name": "look",
11942
+ "type": {
11943
+ "text": "'steps' | 'bars'"
11944
+ },
11945
+ "description": "`steps` is the full indicator. `bars` is a compact one for a card: short\nrounded bars, the done steps in the text colour and the current one in the\nbrand, with small names under them. The current step is also set in a\nheavier weight, so it does not rest on colour alone.",
11946
+ "default": "'steps'",
11947
+ "fieldName": "look"
11826
11948
  }
11827
11949
  ],
11828
11950
  "superclass": {
@@ -12331,171 +12453,2510 @@
12331
12453
  },
12332
12454
  {
12333
12455
  "kind": "javascript-module",
12334
- "path": "src/components/select.ts",
12456
+ "path": "src/components/rows.ts",
12335
12457
  "declarations": [
12336
12458
  {
12337
12459
  "kind": "class",
12338
- "description": "A dropdown.\n\nA native `<select>`, because the alternative is a listbox widget that has to\nreimplement type-ahead, keyboard selection, and the platform's own picker on\ntouch — and whose main advantage is that the arrow can be restyled. On a\nphone, native wins outright: it opens the system control that the user\nalready knows how to drive.\n\nThe empty first option carries a real label rather than being blank, so a\nscreen reader announces a choice to make rather than silence.",
12339
- "name": "ImpaktSelect",
12460
+ "description": "A count with its name: \"UK 4\", \"Active import jobs 12\". A dashboard shows a\nrow of them.\n\n**The name comes before the number in the reading order.** A screen reader\nsays \"UK, 4\", which makes sense heard on its own; \"4, UK\" does not. With\n`href` the whole tile is one link, named by the label, the value and the\ncaption together.",
12461
+ "name": "ImpaktStatTile",
12340
12462
  "members": [
12341
12463
  {
12342
12464
  "kind": "field",
12343
- "name": "options",
12465
+ "name": "label",
12344
12466
  "privacy": "public",
12345
12467
  "type": {
12346
- "text": "SelectOption[]"
12468
+ "text": "string"
12347
12469
  },
12348
- "default": "[]",
12349
- "attribute": "options"
12470
+ "description": "What is counted, such as \"UK\" or \"Active import jobs\".",
12471
+ "default": "''",
12472
+ "attribute": "label"
12350
12473
  },
12351
12474
  {
12352
12475
  "kind": "field",
12353
- "name": "placeholder",
12476
+ "name": "value",
12354
12477
  "privacy": "public",
12355
12478
  "type": {
12356
12479
  "text": "string"
12357
12480
  },
12358
- "default": "'Choose an option'",
12359
- "attribute": "placeholder"
12481
+ "description": "The count or figure, such as \"4\".",
12482
+ "default": "''",
12483
+ "attribute": "value"
12360
12484
  },
12361
12485
  {
12362
12486
  "kind": "field",
12363
- "name": "width",
12487
+ "name": "caption",
12364
12488
  "privacy": "public",
12365
12489
  "type": {
12366
- "text": "'full' | 'lg' | 'md' | 'sm' | 'xs'"
12490
+ "text": "string"
12367
12491
  },
12368
- "description": "How wide the box is, to suit the answer. Full width on a phone whatever this says.",
12369
- "default": "'full'",
12370
- "attribute": "width",
12371
- "reflects": true
12492
+ "description": "A line under the figure, such as \"3 arriving in the next two weeks\".",
12493
+ "default": "''",
12494
+ "attribute": "caption"
12372
12495
  },
12373
12496
  {
12374
- "kind": "method",
12375
- "name": "renderControl",
12376
- "privacy": "protected",
12377
- "return": {
12378
- "type": {
12379
- "text": "TemplateResult"
12380
- }
12497
+ "kind": "field",
12498
+ "name": "href",
12499
+ "privacy": "public",
12500
+ "type": {
12501
+ "text": "string"
12381
12502
  },
12382
- "description": "Subclasses render the control itself; everything round it is here.",
12383
- "inheritedFrom": {
12384
- "name": "FieldElement",
12385
- "module": "src/base/FieldElement.ts"
12386
- }
12503
+ "description": "Where the tile goes when it is pressed, such as the list it counts.",
12504
+ "default": "''",
12505
+ "attribute": "href"
12387
12506
  },
12388
12507
  {
12389
12508
  "kind": "field",
12390
- "name": "formAssociated",
12509
+ "name": "tone",
12510
+ "privacy": "public",
12391
12511
  "type": {
12392
- "text": "boolean"
12512
+ "text": "'plain' | 'brand'"
12393
12513
  },
12394
- "static": true,
12395
- "default": "true",
12396
- "description": "Form controls participate in a `<form>` like native ones.",
12397
- "inheritedFrom": {
12398
- "name": "FieldElement",
12399
- "module": "src/base/FieldElement.ts"
12400
- }
12514
+ "description": "`plain` is a quiet tile on a card; `brand` is the one figure a screen leads with.",
12515
+ "default": "'plain'",
12516
+ "attribute": "tone",
12517
+ "reflects": true
12401
12518
  },
12402
12519
  {
12403
12520
  "kind": "field",
12404
- "name": "label",
12521
+ "name": "size",
12405
12522
  "privacy": "public",
12406
12523
  "type": {
12407
- "text": "string"
12524
+ "text": "'md' | 'lg'"
12408
12525
  },
12409
- "default": "''",
12410
- "attribute": "label",
12526
+ "description": "`lg` sets the figure larger, for the lead figure.",
12527
+ "default": "'md'",
12528
+ "attribute": "size",
12529
+ "reflects": true
12530
+ },
12531
+ {
12532
+ "kind": "field",
12533
+ "name": "uid",
12534
+ "privacy": "protected",
12535
+ "readonly": true,
12536
+ "default": "`impakt-${(counter += 1)}`",
12537
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
12411
12538
  "inheritedFrom": {
12412
- "name": "FieldElement",
12413
- "module": "src/base/FieldElement.ts"
12539
+ "name": "ImpaktElement",
12540
+ "module": "src/base/ImpaktElement.ts"
12414
12541
  }
12415
12542
  },
12416
12543
  {
12417
- "kind": "field",
12418
- "name": "name",
12419
- "privacy": "public",
12544
+ "kind": "method",
12545
+ "name": "id_",
12546
+ "privacy": "protected",
12547
+ "return": {
12548
+ "type": {
12549
+ "text": "string"
12550
+ }
12551
+ },
12552
+ "parameters": [
12553
+ {
12554
+ "name": "part",
12555
+ "type": {
12556
+ "text": "string"
12557
+ }
12558
+ }
12559
+ ],
12560
+ "inheritedFrom": {
12561
+ "name": "ImpaktElement",
12562
+ "module": "src/base/ImpaktElement.ts"
12563
+ }
12564
+ }
12565
+ ],
12566
+ "attributes": [
12567
+ {
12568
+ "name": "label",
12420
12569
  "type": {
12421
12570
  "text": "string"
12422
12571
  },
12572
+ "description": "What is counted, such as \"UK\" or \"Active import jobs\".",
12423
12573
  "default": "''",
12424
- "attribute": "name",
12425
- "inheritedFrom": {
12426
- "name": "FieldElement",
12427
- "module": "src/base/FieldElement.ts"
12428
- }
12574
+ "fieldName": "label"
12429
12575
  },
12430
12576
  {
12431
- "kind": "field",
12432
12577
  "name": "value",
12433
- "privacy": "public",
12434
12578
  "type": {
12435
12579
  "text": "string"
12436
12580
  },
12581
+ "description": "The count or figure, such as \"4\".",
12437
12582
  "default": "''",
12438
- "attribute": "value",
12439
- "inheritedFrom": {
12440
- "name": "FieldElement",
12441
- "module": "src/base/FieldElement.ts"
12442
- }
12583
+ "fieldName": "value"
12443
12584
  },
12444
12585
  {
12445
- "kind": "field",
12446
- "name": "description",
12447
- "privacy": "public",
12586
+ "name": "caption",
12448
12587
  "type": {
12449
12588
  "text": "string"
12450
12589
  },
12590
+ "description": "A line under the figure, such as \"3 arriving in the next two weeks\".",
12451
12591
  "default": "''",
12452
- "attribute": "description",
12453
- "inheritedFrom": {
12454
- "name": "FieldElement",
12455
- "module": "src/base/FieldElement.ts"
12456
- }
12592
+ "fieldName": "caption"
12457
12593
  },
12458
12594
  {
12459
- "kind": "field",
12460
- "name": "error",
12461
- "privacy": "public",
12595
+ "name": "href",
12462
12596
  "type": {
12463
12597
  "text": "string"
12464
12598
  },
12599
+ "description": "Where the tile goes when it is pressed, such as the list it counts.",
12465
12600
  "default": "''",
12466
- "attribute": "error",
12467
- "inheritedFrom": {
12468
- "name": "FieldElement",
12469
- "module": "src/base/FieldElement.ts"
12470
- }
12601
+ "fieldName": "href"
12471
12602
  },
12472
12603
  {
12473
- "kind": "field",
12474
- "name": "required",
12475
- "privacy": "public",
12604
+ "name": "tone",
12476
12605
  "type": {
12477
- "text": "boolean"
12606
+ "text": "'plain' | 'brand'"
12478
12607
  },
12479
- "default": "false",
12480
- "attribute": "required",
12481
- "reflects": true,
12482
- "inheritedFrom": {
12483
- "name": "FieldElement",
12484
- "module": "src/base/FieldElement.ts"
12485
- }
12608
+ "description": "`plain` is a quiet tile on a card; `brand` is the one figure a screen leads with.",
12609
+ "default": "'plain'",
12610
+ "fieldName": "tone"
12486
12611
  },
12487
12612
  {
12488
- "kind": "field",
12489
- "name": "disabled",
12490
- "privacy": "public",
12613
+ "name": "size",
12491
12614
  "type": {
12492
- "text": "boolean"
12615
+ "text": "'md' | 'lg'"
12493
12616
  },
12494
- "default": "false",
12495
- "attribute": "disabled",
12496
- "reflects": true,
12497
- "inheritedFrom": {
12498
- "name": "FieldElement",
12617
+ "description": "`lg` sets the figure larger, for the lead figure.",
12618
+ "default": "'md'",
12619
+ "fieldName": "size"
12620
+ }
12621
+ ],
12622
+ "superclass": {
12623
+ "name": "ImpaktElement",
12624
+ "module": "/src/base/ImpaktElement"
12625
+ },
12626
+ "category": "content",
12627
+ "icon": "badge",
12628
+ "tagName": "impakt-stat-tile",
12629
+ "customElement": true
12630
+ },
12631
+ {
12632
+ "kind": "class",
12633
+ "description": "A date as a small block of month and day: \"DEC 2\". It sits at the start of a\nrow, beside what happens on that date.\n\n**The full date is what a screen reader hears.** The short month and day are\nhidden from it, and the date is read in full in the page's language, such as\n\"2 December 2026\", because \"DEC 2\" said aloud is ambiguous.",
12634
+ "name": "ImpaktDateTile",
12635
+ "members": [
12636
+ {
12637
+ "kind": "field",
12638
+ "name": "date",
12639
+ "privacy": "public",
12640
+ "type": {
12641
+ "text": "string"
12642
+ },
12643
+ "description": "The date, as YYYY-MM-DD.",
12644
+ "default": "''",
12645
+ "attribute": "date"
12646
+ },
12647
+ {
12648
+ "kind": "field",
12649
+ "name": "tone",
12650
+ "privacy": "public",
12651
+ "type": {
12652
+ "text": "'brand' | 'plain'"
12653
+ },
12654
+ "description": "`brand` is filled with the brand colour; `plain` is a quiet tile.",
12655
+ "default": "'brand'",
12656
+ "attribute": "tone",
12657
+ "reflects": true
12658
+ },
12659
+ {
12660
+ "kind": "method",
12661
+ "name": "parts",
12662
+ "privacy": "private",
12663
+ "return": {
12664
+ "type": {
12665
+ "text": "{ month: string; day: string; full: string } | null"
12666
+ }
12667
+ }
12668
+ },
12669
+ {
12670
+ "kind": "field",
12671
+ "name": "uid",
12672
+ "privacy": "protected",
12673
+ "readonly": true,
12674
+ "default": "`impakt-${(counter += 1)}`",
12675
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
12676
+ "inheritedFrom": {
12677
+ "name": "ImpaktElement",
12678
+ "module": "src/base/ImpaktElement.ts"
12679
+ }
12680
+ },
12681
+ {
12682
+ "kind": "method",
12683
+ "name": "id_",
12684
+ "privacy": "protected",
12685
+ "return": {
12686
+ "type": {
12687
+ "text": "string"
12688
+ }
12689
+ },
12690
+ "parameters": [
12691
+ {
12692
+ "name": "part",
12693
+ "type": {
12694
+ "text": "string"
12695
+ }
12696
+ }
12697
+ ],
12698
+ "inheritedFrom": {
12699
+ "name": "ImpaktElement",
12700
+ "module": "src/base/ImpaktElement.ts"
12701
+ }
12702
+ }
12703
+ ],
12704
+ "attributes": [
12705
+ {
12706
+ "name": "date",
12707
+ "type": {
12708
+ "text": "string"
12709
+ },
12710
+ "description": "The date, as YYYY-MM-DD.",
12711
+ "default": "''",
12712
+ "fieldName": "date"
12713
+ },
12714
+ {
12715
+ "name": "tone",
12716
+ "type": {
12717
+ "text": "'brand' | 'plain'"
12718
+ },
12719
+ "description": "`brand` is filled with the brand colour; `plain` is a quiet tile.",
12720
+ "default": "'brand'",
12721
+ "fieldName": "tone"
12722
+ }
12723
+ ],
12724
+ "superclass": {
12725
+ "name": "ImpaktElement",
12726
+ "module": "/src/base/ImpaktElement"
12727
+ },
12728
+ "category": "content",
12729
+ "icon": "calendar",
12730
+ "tagName": "impakt-date-tile",
12731
+ "customElement": true
12732
+ },
12733
+ {
12734
+ "kind": "class",
12735
+ "description": "One line in a list: a title, a line of detail under it, and room at the\nstart and the end. It is the task with its tick, the job that needs\nattention, the delivery with its date, the setting with its arrow.\n\n**With `href` the whole row is one target, without nesting controls in a\nlink.** The title is the link, and it is stretched over the row, so the row\ncan be pressed anywhere. Anything in the `end` slot, such as a button, sits\nabove the stretched link and stays its own control, because a button inside\na link is two controls a screen reader cannot tell apart (4.1.2).\n\nA chevron is drawn at the end of a row that is a link, as the sign that it\ngoes somewhere. Put rows in an element with `role=\"list\"` and give each\n`role=\"listitem\"` when they are a list, so a screen reader says how many\nthere are.",
12736
+ "name": "ImpaktRow",
12737
+ "slots": [
12738
+ {
12739
+ "description": "Before the title: a dot, a date tile, a checkbox.",
12740
+ "name": "start"
12741
+ },
12742
+ {
12743
+ "description": "After the title: a badge, a button.",
12744
+ "name": "end"
12745
+ }
12746
+ ],
12747
+ "members": [
12748
+ {
12749
+ "kind": "field",
12750
+ "name": "heading",
12751
+ "privacy": "public",
12752
+ "type": {
12753
+ "text": "string"
12754
+ },
12755
+ "description": "The row's title.",
12756
+ "default": "''",
12757
+ "attribute": "heading"
12758
+ },
12759
+ {
12760
+ "kind": "field",
12761
+ "name": "meta",
12762
+ "privacy": "public",
12763
+ "type": {
12764
+ "text": "string"
12765
+ },
12766
+ "description": "The line of detail under the title, such as \"CY-2026-00421 · Due 20 Nov 2026\".",
12767
+ "default": "''",
12768
+ "attribute": "meta"
12769
+ },
12770
+ {
12771
+ "kind": "field",
12772
+ "name": "href",
12773
+ "privacy": "public",
12774
+ "type": {
12775
+ "text": "string"
12776
+ },
12777
+ "description": "Where the row goes when it is pressed.",
12778
+ "default": "''",
12779
+ "attribute": "href"
12780
+ },
12781
+ {
12782
+ "kind": "field",
12783
+ "name": "divided",
12784
+ "privacy": "public",
12785
+ "type": {
12786
+ "text": "boolean"
12787
+ },
12788
+ "description": "Draw a hairline above the row, for rows stacked on a card.",
12789
+ "default": "false",
12790
+ "attribute": "divided",
12791
+ "reflects": true
12792
+ },
12793
+ {
12794
+ "kind": "field",
12795
+ "name": "muted",
12796
+ "privacy": "public",
12797
+ "type": {
12798
+ "text": "boolean"
12799
+ },
12800
+ "description": "Set the title quieter, for something finished, such as a done task.",
12801
+ "default": "false",
12802
+ "attribute": "muted",
12803
+ "reflects": true
12804
+ },
12805
+ {
12806
+ "kind": "field",
12807
+ "name": "filled",
12808
+ "type": {
12809
+ "text": "object"
12810
+ },
12811
+ "privacy": "private",
12812
+ "default": "{ start: false, end: false }"
12813
+ },
12814
+ {
12815
+ "kind": "method",
12816
+ "name": "onSlot",
12817
+ "privacy": "private",
12818
+ "return": {
12819
+ "type": {
12820
+ "text": "void"
12821
+ }
12822
+ },
12823
+ "parameters": [
12824
+ {
12825
+ "name": "event",
12826
+ "type": {
12827
+ "text": "Event"
12828
+ }
12829
+ }
12830
+ ]
12831
+ },
12832
+ {
12833
+ "kind": "field",
12834
+ "name": "uid",
12835
+ "privacy": "protected",
12836
+ "readonly": true,
12837
+ "default": "`impakt-${(counter += 1)}`",
12838
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
12839
+ "inheritedFrom": {
12840
+ "name": "ImpaktElement",
12841
+ "module": "src/base/ImpaktElement.ts"
12842
+ }
12843
+ },
12844
+ {
12845
+ "kind": "method",
12846
+ "name": "id_",
12847
+ "privacy": "protected",
12848
+ "return": {
12849
+ "type": {
12850
+ "text": "string"
12851
+ }
12852
+ },
12853
+ "parameters": [
12854
+ {
12855
+ "name": "part",
12856
+ "type": {
12857
+ "text": "string"
12858
+ }
12859
+ }
12860
+ ],
12861
+ "inheritedFrom": {
12862
+ "name": "ImpaktElement",
12863
+ "module": "src/base/ImpaktElement.ts"
12864
+ }
12865
+ }
12866
+ ],
12867
+ "attributes": [
12868
+ {
12869
+ "name": "heading",
12870
+ "type": {
12871
+ "text": "string"
12872
+ },
12873
+ "description": "The row's title.",
12874
+ "default": "''",
12875
+ "fieldName": "heading"
12876
+ },
12877
+ {
12878
+ "name": "meta",
12879
+ "type": {
12880
+ "text": "string"
12881
+ },
12882
+ "description": "The line of detail under the title, such as \"CY-2026-00421 · Due 20 Nov 2026\".",
12883
+ "default": "''",
12884
+ "fieldName": "meta"
12885
+ },
12886
+ {
12887
+ "name": "href",
12888
+ "type": {
12889
+ "text": "string"
12890
+ },
12891
+ "description": "Where the row goes when it is pressed.",
12892
+ "default": "''",
12893
+ "fieldName": "href"
12894
+ },
12895
+ {
12896
+ "name": "divided",
12897
+ "type": {
12898
+ "text": "boolean"
12899
+ },
12900
+ "description": "Draw a hairline above the row, for rows stacked on a card.",
12901
+ "default": "false",
12902
+ "fieldName": "divided"
12903
+ },
12904
+ {
12905
+ "name": "muted",
12906
+ "type": {
12907
+ "text": "boolean"
12908
+ },
12909
+ "description": "Set the title quieter, for something finished, such as a done task.",
12910
+ "default": "false",
12911
+ "fieldName": "muted"
12912
+ }
12913
+ ],
12914
+ "superclass": {
12915
+ "name": "ImpaktElement",
12916
+ "module": "/src/base/ImpaktElement"
12917
+ },
12918
+ "category": "content",
12919
+ "icon": "list",
12920
+ "tagName": "impakt-row",
12921
+ "customElement": true
12922
+ },
12923
+ {
12924
+ "kind": "class",
12925
+ "description": "A pressable filter: \"UK 4\", \"Completed 27\". A row of them narrows a list.\n\n**It is a toggle button.** It carries `aria-pressed`, so a screen reader says\nwhether the filter is on, and it is filled when it is on, so that does not\nrest on colour alone (1.4.1). When only one filter in a row can be on, the\napp turns the others off when it hears `impakt-change`.\n\nThe count is read with the label. Set `count-label` when the number needs its\nnoun to make sense aloud, such as \"4 jobs\".",
12926
+ "name": "ImpaktFilterChip",
12927
+ "members": [
12928
+ {
12929
+ "kind": "field",
12930
+ "name": "label",
12931
+ "privacy": "public",
12932
+ "type": {
12933
+ "text": "string"
12934
+ },
12935
+ "default": "''",
12936
+ "attribute": "label"
12937
+ },
12938
+ {
12939
+ "kind": "field",
12940
+ "name": "count",
12941
+ "privacy": "public",
12942
+ "type": {
12943
+ "text": "number | undefined"
12944
+ },
12945
+ "description": "How many things the filter would show. Left out when not set.",
12946
+ "default": "undefined",
12947
+ "attribute": "count"
12948
+ },
12949
+ {
12950
+ "kind": "field",
12951
+ "name": "countLabel",
12952
+ "privacy": "public",
12953
+ "type": {
12954
+ "text": "string"
12955
+ },
12956
+ "description": "The count in words for a screen reader, such as \"4 jobs\". The number alone when empty.",
12957
+ "default": "''",
12958
+ "attribute": "count-label"
12959
+ },
12960
+ {
12961
+ "kind": "field",
12962
+ "name": "pressed",
12963
+ "privacy": "public",
12964
+ "type": {
12965
+ "text": "boolean"
12966
+ },
12967
+ "default": "false",
12968
+ "attribute": "pressed",
12969
+ "reflects": true
12970
+ },
12971
+ {
12972
+ "kind": "field",
12973
+ "name": "disabled",
12974
+ "privacy": "public",
12975
+ "type": {
12976
+ "text": "boolean"
12977
+ },
12978
+ "default": "false",
12979
+ "attribute": "disabled",
12980
+ "reflects": true
12981
+ },
12982
+ {
12983
+ "kind": "method",
12984
+ "name": "toggle",
12985
+ "privacy": "private",
12986
+ "return": {
12987
+ "type": {
12988
+ "text": "void"
12989
+ }
12990
+ }
12991
+ },
12992
+ {
12993
+ "kind": "field",
12994
+ "name": "uid",
12995
+ "privacy": "protected",
12996
+ "readonly": true,
12997
+ "default": "`impakt-${(counter += 1)}`",
12998
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
12999
+ "inheritedFrom": {
13000
+ "name": "ImpaktElement",
13001
+ "module": "src/base/ImpaktElement.ts"
13002
+ }
13003
+ },
13004
+ {
13005
+ "kind": "method",
13006
+ "name": "id_",
13007
+ "privacy": "protected",
13008
+ "return": {
13009
+ "type": {
13010
+ "text": "string"
13011
+ }
13012
+ },
13013
+ "parameters": [
13014
+ {
13015
+ "name": "part",
13016
+ "type": {
13017
+ "text": "string"
13018
+ }
13019
+ }
13020
+ ],
13021
+ "inheritedFrom": {
13022
+ "name": "ImpaktElement",
13023
+ "module": "src/base/ImpaktElement.ts"
13024
+ }
13025
+ }
13026
+ ],
13027
+ "events": [
13028
+ {
13029
+ "name": "impakt-change",
13030
+ "type": {
13031
+ "text": "CustomEvent<{ pressed: boolean }>"
13032
+ },
13033
+ "description": "When the filter is turned on or off."
13034
+ }
13035
+ ],
13036
+ "attributes": [
13037
+ {
13038
+ "name": "label",
13039
+ "type": {
13040
+ "text": "string"
13041
+ },
13042
+ "default": "''",
13043
+ "fieldName": "label"
13044
+ },
13045
+ {
13046
+ "name": "count",
13047
+ "type": {
13048
+ "text": "number | undefined"
13049
+ },
13050
+ "description": "How many things the filter would show. Left out when not set.",
13051
+ "default": "undefined",
13052
+ "fieldName": "count"
13053
+ },
13054
+ {
13055
+ "name": "count-label",
13056
+ "type": {
13057
+ "text": "string"
13058
+ },
13059
+ "description": "The count in words for a screen reader, such as \"4 jobs\". The number alone when empty.",
13060
+ "default": "''",
13061
+ "fieldName": "countLabel"
13062
+ },
13063
+ {
13064
+ "name": "pressed",
13065
+ "type": {
13066
+ "text": "boolean"
13067
+ },
13068
+ "default": "false",
13069
+ "fieldName": "pressed"
13070
+ },
13071
+ {
13072
+ "name": "disabled",
13073
+ "type": {
13074
+ "text": "boolean"
13075
+ },
13076
+ "default": "false",
13077
+ "fieldName": "disabled"
13078
+ }
13079
+ ],
13080
+ "superclass": {
13081
+ "name": "ImpaktElement",
13082
+ "module": "/src/base/ImpaktElement"
13083
+ },
13084
+ "category": "action",
13085
+ "icon": "badge",
13086
+ "tagName": "impakt-filter-chip",
13087
+ "customElement": true
13088
+ }
13089
+ ],
13090
+ "exports": [
13091
+ {
13092
+ "kind": "js",
13093
+ "name": "ImpaktStatTile",
13094
+ "declaration": {
13095
+ "name": "ImpaktStatTile",
13096
+ "module": "src/components/rows.ts"
13097
+ }
13098
+ },
13099
+ {
13100
+ "kind": "js",
13101
+ "name": "ImpaktDateTile",
13102
+ "declaration": {
13103
+ "name": "ImpaktDateTile",
13104
+ "module": "src/components/rows.ts"
13105
+ }
13106
+ },
13107
+ {
13108
+ "kind": "js",
13109
+ "name": "ImpaktRow",
13110
+ "declaration": {
13111
+ "name": "ImpaktRow",
13112
+ "module": "src/components/rows.ts"
13113
+ }
13114
+ },
13115
+ {
13116
+ "kind": "js",
13117
+ "name": "ImpaktFilterChip",
13118
+ "declaration": {
13119
+ "name": "ImpaktFilterChip",
13120
+ "module": "src/components/rows.ts"
13121
+ }
13122
+ },
13123
+ {
13124
+ "kind": "custom-element-definition",
13125
+ "name": "impakt-stat-tile",
13126
+ "declaration": {
13127
+ "name": "ImpaktStatTile",
13128
+ "module": "src/components/rows.ts"
13129
+ }
13130
+ },
13131
+ {
13132
+ "kind": "custom-element-definition",
13133
+ "name": "impakt-date-tile",
13134
+ "declaration": {
13135
+ "name": "ImpaktDateTile",
13136
+ "module": "src/components/rows.ts"
13137
+ }
13138
+ },
13139
+ {
13140
+ "kind": "custom-element-definition",
13141
+ "name": "impakt-row",
13142
+ "declaration": {
13143
+ "name": "ImpaktRow",
13144
+ "module": "src/components/rows.ts"
13145
+ }
13146
+ },
13147
+ {
13148
+ "kind": "custom-element-definition",
13149
+ "name": "impakt-filter-chip",
13150
+ "declaration": {
13151
+ "name": "ImpaktFilterChip",
13152
+ "module": "src/components/rows.ts"
13153
+ }
13154
+ }
13155
+ ]
13156
+ },
13157
+ {
13158
+ "kind": "javascript-module",
13159
+ "path": "src/components/select.ts",
13160
+ "declarations": [
13161
+ {
13162
+ "kind": "class",
13163
+ "description": "A dropdown.\n\nA native `<select>`, because the alternative is a listbox widget that has to\nreimplement type-ahead, keyboard selection, and the platform's own picker on\ntouch — and whose main advantage is that the arrow can be restyled. On a\nphone, native wins outright: it opens the system control that the user\nalready knows how to drive.\n\nThe empty first option carries a real label rather than being blank, so a\nscreen reader announces a choice to make rather than silence.",
13164
+ "name": "ImpaktSelect",
13165
+ "members": [
13166
+ {
13167
+ "kind": "field",
13168
+ "name": "options",
13169
+ "privacy": "public",
13170
+ "type": {
13171
+ "text": "SelectOption[]"
13172
+ },
13173
+ "default": "[]",
13174
+ "attribute": "options"
13175
+ },
13176
+ {
13177
+ "kind": "field",
13178
+ "name": "placeholder",
13179
+ "privacy": "public",
13180
+ "type": {
13181
+ "text": "string"
13182
+ },
13183
+ "default": "'Choose an option'",
13184
+ "attribute": "placeholder"
13185
+ },
13186
+ {
13187
+ "kind": "field",
13188
+ "name": "width",
13189
+ "privacy": "public",
13190
+ "type": {
13191
+ "text": "'full' | 'lg' | 'md' | 'sm' | 'xs'"
13192
+ },
13193
+ "description": "How wide the box is, to suit the answer. Full width on a phone whatever this says.",
13194
+ "default": "'full'",
13195
+ "attribute": "width",
13196
+ "reflects": true
13197
+ },
13198
+ {
13199
+ "kind": "method",
13200
+ "name": "renderControl",
13201
+ "privacy": "protected",
13202
+ "return": {
13203
+ "type": {
13204
+ "text": "TemplateResult"
13205
+ }
13206
+ },
13207
+ "description": "Subclasses render the control itself; everything round it is here.",
13208
+ "inheritedFrom": {
13209
+ "name": "FieldElement",
13210
+ "module": "src/base/FieldElement.ts"
13211
+ }
13212
+ },
13213
+ {
13214
+ "kind": "field",
13215
+ "name": "formAssociated",
13216
+ "type": {
13217
+ "text": "boolean"
13218
+ },
13219
+ "static": true,
13220
+ "default": "true",
13221
+ "description": "Form controls participate in a `<form>` like native ones.",
13222
+ "inheritedFrom": {
13223
+ "name": "FieldElement",
13224
+ "module": "src/base/FieldElement.ts"
13225
+ }
13226
+ },
13227
+ {
13228
+ "kind": "field",
13229
+ "name": "label",
13230
+ "privacy": "public",
13231
+ "type": {
13232
+ "text": "string"
13233
+ },
13234
+ "default": "''",
13235
+ "attribute": "label",
13236
+ "inheritedFrom": {
13237
+ "name": "FieldElement",
13238
+ "module": "src/base/FieldElement.ts"
13239
+ }
13240
+ },
13241
+ {
13242
+ "kind": "field",
13243
+ "name": "name",
13244
+ "privacy": "public",
13245
+ "type": {
13246
+ "text": "string"
13247
+ },
13248
+ "default": "''",
13249
+ "attribute": "name",
13250
+ "inheritedFrom": {
13251
+ "name": "FieldElement",
13252
+ "module": "src/base/FieldElement.ts"
13253
+ }
13254
+ },
13255
+ {
13256
+ "kind": "field",
13257
+ "name": "value",
13258
+ "privacy": "public",
13259
+ "type": {
13260
+ "text": "string"
13261
+ },
13262
+ "default": "''",
13263
+ "attribute": "value",
13264
+ "inheritedFrom": {
13265
+ "name": "FieldElement",
13266
+ "module": "src/base/FieldElement.ts"
13267
+ }
13268
+ },
13269
+ {
13270
+ "kind": "field",
13271
+ "name": "description",
13272
+ "privacy": "public",
13273
+ "type": {
13274
+ "text": "string"
13275
+ },
13276
+ "default": "''",
13277
+ "attribute": "description",
13278
+ "inheritedFrom": {
13279
+ "name": "FieldElement",
13280
+ "module": "src/base/FieldElement.ts"
13281
+ }
13282
+ },
13283
+ {
13284
+ "kind": "field",
13285
+ "name": "error",
13286
+ "privacy": "public",
13287
+ "type": {
13288
+ "text": "string"
13289
+ },
13290
+ "default": "''",
13291
+ "attribute": "error",
13292
+ "inheritedFrom": {
13293
+ "name": "FieldElement",
13294
+ "module": "src/base/FieldElement.ts"
13295
+ }
13296
+ },
13297
+ {
13298
+ "kind": "field",
13299
+ "name": "required",
13300
+ "privacy": "public",
13301
+ "type": {
13302
+ "text": "boolean"
13303
+ },
13304
+ "default": "false",
13305
+ "attribute": "required",
13306
+ "reflects": true,
13307
+ "inheritedFrom": {
13308
+ "name": "FieldElement",
13309
+ "module": "src/base/FieldElement.ts"
13310
+ }
13311
+ },
13312
+ {
13313
+ "kind": "field",
13314
+ "name": "disabled",
13315
+ "privacy": "public",
13316
+ "type": {
13317
+ "text": "boolean"
13318
+ },
13319
+ "default": "false",
13320
+ "attribute": "disabled",
13321
+ "reflects": true,
13322
+ "inheritedFrom": {
13323
+ "name": "FieldElement",
13324
+ "module": "src/base/FieldElement.ts"
13325
+ }
13326
+ },
13327
+ {
13328
+ "kind": "field",
13329
+ "name": "readonly",
13330
+ "privacy": "public",
13331
+ "type": {
13332
+ "text": "boolean"
13333
+ },
13334
+ "default": "false",
13335
+ "attribute": "readonly",
13336
+ "reflects": true,
13337
+ "inheritedFrom": {
13338
+ "name": "FieldElement",
13339
+ "module": "src/base/FieldElement.ts"
13340
+ }
13341
+ },
13342
+ {
13343
+ "kind": "field",
13344
+ "name": "requiredText",
13345
+ "privacy": "public",
13346
+ "type": {
13347
+ "text": "string"
13348
+ },
13349
+ "description": "How \"you must answer this\" is said.\n\nWords, not an asterisk. 3.3.2 asks for labels or instructions, and an\nasterisk is neither until a legend explains it — which puts the\nexplanation somewhere other than the field it explains. It is a property\nso a partner can reword it, not so they can empty it.",
13350
+ "default": "'required'",
13351
+ "attribute": "required-text",
13352
+ "inheritedFrom": {
13353
+ "name": "FieldElement",
13354
+ "module": "src/base/FieldElement.ts"
13355
+ }
13356
+ },
13357
+ {
13358
+ "kind": "field",
13359
+ "name": "internals",
13360
+ "type": {
13361
+ "text": "ElementInternals | null"
13362
+ },
13363
+ "privacy": "protected",
13364
+ "default": "null",
13365
+ "inheritedFrom": {
13366
+ "name": "FieldElement",
13367
+ "module": "src/base/FieldElement.ts"
13368
+ }
13369
+ },
13370
+ {
13371
+ "kind": "field",
13372
+ "name": "controlId",
13373
+ "type": {
13374
+ "text": "string"
13375
+ },
13376
+ "privacy": "protected",
13377
+ "readonly": true,
13378
+ "inheritedFrom": {
13379
+ "name": "FieldElement",
13380
+ "module": "src/base/FieldElement.ts"
13381
+ }
13382
+ },
13383
+ {
13384
+ "kind": "field",
13385
+ "name": "describedBy",
13386
+ "type": {
13387
+ "text": "string | typeof nothing"
13388
+ },
13389
+ "privacy": "protected",
13390
+ "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.",
13391
+ "readonly": true,
13392
+ "inheritedFrom": {
13393
+ "name": "FieldElement",
13394
+ "module": "src/base/FieldElement.ts"
13395
+ }
13396
+ },
13397
+ {
13398
+ "kind": "method",
13399
+ "name": "focus",
13400
+ "return": {
13401
+ "type": {
13402
+ "text": "void"
13403
+ }
13404
+ },
13405
+ "parameters": [
13406
+ {
13407
+ "name": "options",
13408
+ "optional": true,
13409
+ "type": {
13410
+ "text": "FocusOptions"
13411
+ }
13412
+ }
13413
+ ],
13414
+ "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.",
13415
+ "inheritedFrom": {
13416
+ "name": "FieldElement",
13417
+ "module": "src/base/FieldElement.ts"
13418
+ }
13419
+ },
13420
+ {
13421
+ "kind": "method",
13422
+ "name": "renderLabel",
13423
+ "privacy": "protected",
13424
+ "return": {
13425
+ "type": {
13426
+ "text": "TemplateResult"
13427
+ }
13428
+ },
13429
+ "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.",
13430
+ "inheritedFrom": {
13431
+ "name": "FieldElement",
13432
+ "module": "src/base/FieldElement.ts"
13433
+ }
13434
+ },
13435
+ {
13436
+ "kind": "method",
13437
+ "name": "setFormValue",
13438
+ "privacy": "protected",
13439
+ "return": {
13440
+ "type": {
13441
+ "text": "void"
13442
+ }
13443
+ },
13444
+ "parameters": [
13445
+ {
13446
+ "name": "value",
13447
+ "type": {
13448
+ "text": "string"
13449
+ }
13450
+ }
13451
+ ],
13452
+ "description": "Keep the form value in step with the control.",
13453
+ "inheritedFrom": {
13454
+ "name": "FieldElement",
13455
+ "module": "src/base/FieldElement.ts"
13456
+ }
13457
+ },
13458
+ {
13459
+ "kind": "field",
13460
+ "name": "uid",
13461
+ "privacy": "protected",
13462
+ "readonly": true,
13463
+ "default": "`impakt-${(counter += 1)}`",
13464
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
13465
+ "inheritedFrom": {
13466
+ "name": "ImpaktElement",
13467
+ "module": "src/base/ImpaktElement.ts"
13468
+ }
13469
+ },
13470
+ {
13471
+ "kind": "method",
13472
+ "name": "id_",
13473
+ "privacy": "protected",
13474
+ "return": {
13475
+ "type": {
13476
+ "text": "string"
13477
+ }
13478
+ },
13479
+ "parameters": [
13480
+ {
13481
+ "name": "part",
13482
+ "type": {
13483
+ "text": "string"
13484
+ }
13485
+ }
13486
+ ],
13487
+ "inheritedFrom": {
13488
+ "name": "ImpaktElement",
13489
+ "module": "src/base/ImpaktElement.ts"
13490
+ }
13491
+ }
13492
+ ],
13493
+ "attributes": [
13494
+ {
13495
+ "name": "width",
13496
+ "type": {
13497
+ "text": "'full' | 'lg' | 'md' | 'sm' | 'xs'"
13498
+ },
13499
+ "description": "How wide the box is, to suit the answer. Full width on a phone whatever this says.",
13500
+ "default": "'full'",
13501
+ "fieldName": "width"
13502
+ },
13503
+ {
13504
+ "name": "options",
13505
+ "type": {
13506
+ "text": "SelectOption[]"
13507
+ },
13508
+ "default": "[]",
13509
+ "fieldName": "options"
13510
+ },
13511
+ {
13512
+ "name": "placeholder",
13513
+ "type": {
13514
+ "text": "string"
13515
+ },
13516
+ "default": "'Choose an option'",
13517
+ "fieldName": "placeholder"
13518
+ },
13519
+ {
13520
+ "name": "label",
13521
+ "type": {
13522
+ "text": "string"
13523
+ },
13524
+ "default": "''",
13525
+ "fieldName": "label",
13526
+ "inheritedFrom": {
13527
+ "name": "FieldElement",
13528
+ "module": "src/base/FieldElement.ts"
13529
+ }
13530
+ },
13531
+ {
13532
+ "name": "name",
13533
+ "type": {
13534
+ "text": "string"
13535
+ },
13536
+ "default": "''",
13537
+ "fieldName": "name",
13538
+ "inheritedFrom": {
13539
+ "name": "FieldElement",
13540
+ "module": "src/base/FieldElement.ts"
13541
+ }
13542
+ },
13543
+ {
13544
+ "name": "value",
13545
+ "type": {
13546
+ "text": "string"
13547
+ },
13548
+ "default": "''",
13549
+ "fieldName": "value",
13550
+ "inheritedFrom": {
13551
+ "name": "FieldElement",
13552
+ "module": "src/base/FieldElement.ts"
13553
+ }
13554
+ },
13555
+ {
13556
+ "name": "description",
13557
+ "type": {
13558
+ "text": "string"
13559
+ },
13560
+ "default": "''",
13561
+ "fieldName": "description",
13562
+ "inheritedFrom": {
13563
+ "name": "FieldElement",
13564
+ "module": "src/base/FieldElement.ts"
13565
+ }
13566
+ },
13567
+ {
13568
+ "name": "error",
13569
+ "type": {
13570
+ "text": "string"
13571
+ },
13572
+ "default": "''",
13573
+ "fieldName": "error",
13574
+ "inheritedFrom": {
13575
+ "name": "FieldElement",
13576
+ "module": "src/base/FieldElement.ts"
13577
+ }
13578
+ },
13579
+ {
13580
+ "name": "required",
13581
+ "type": {
13582
+ "text": "boolean"
13583
+ },
13584
+ "default": "false",
13585
+ "fieldName": "required",
13586
+ "inheritedFrom": {
13587
+ "name": "FieldElement",
13588
+ "module": "src/base/FieldElement.ts"
13589
+ }
13590
+ },
13591
+ {
13592
+ "name": "disabled",
13593
+ "type": {
13594
+ "text": "boolean"
13595
+ },
13596
+ "default": "false",
13597
+ "fieldName": "disabled",
13598
+ "inheritedFrom": {
13599
+ "name": "FieldElement",
13600
+ "module": "src/base/FieldElement.ts"
13601
+ }
13602
+ },
13603
+ {
13604
+ "name": "readonly",
13605
+ "type": {
13606
+ "text": "boolean"
13607
+ },
13608
+ "default": "false",
13609
+ "fieldName": "readonly",
13610
+ "inheritedFrom": {
13611
+ "name": "FieldElement",
13612
+ "module": "src/base/FieldElement.ts"
13613
+ }
13614
+ },
13615
+ {
13616
+ "name": "required-text",
13617
+ "type": {
13618
+ "text": "string"
13619
+ },
13620
+ "description": "How \"you must answer this\" is said.\n\nWords, not an asterisk. 3.3.2 asks for labels or instructions, and an\nasterisk is neither until a legend explains it — which puts the\nexplanation somewhere other than the field it explains. It is a property\nso a partner can reword it, not so they can empty it.",
13621
+ "default": "'required'",
13622
+ "fieldName": "requiredText",
13623
+ "inheritedFrom": {
13624
+ "name": "FieldElement",
13625
+ "module": "src/base/FieldElement.ts"
13626
+ }
13627
+ }
13628
+ ],
13629
+ "superclass": {
13630
+ "name": "FieldElement",
13631
+ "module": "/src/base/FieldElement"
13632
+ },
13633
+ "category": "form",
13634
+ "icon": "select",
13635
+ "tagName": "impakt-select",
13636
+ "customElement": true,
13637
+ "events": [
13638
+ {
13639
+ "name": "impakt-change",
13640
+ "type": {
13641
+ "text": "CustomEvent<{ value: string }>"
13642
+ },
13643
+ "description": "When the answer changes. The answer is in detail.value.",
13644
+ "inheritedFrom": {
13645
+ "name": "FieldElement",
13646
+ "module": "src/base/FieldElement.ts"
13647
+ }
13648
+ }
13649
+ ]
13650
+ }
13651
+ ],
13652
+ "exports": [
13653
+ {
13654
+ "kind": "js",
13655
+ "name": "ImpaktSelect",
13656
+ "declaration": {
13657
+ "name": "ImpaktSelect",
13658
+ "module": "src/components/select.ts"
13659
+ }
13660
+ },
13661
+ {
13662
+ "kind": "custom-element-definition",
13663
+ "name": "impakt-select",
13664
+ "declaration": {
13665
+ "name": "ImpaktSelect",
13666
+ "module": "src/components/select.ts"
13667
+ }
13668
+ }
13669
+ ]
13670
+ },
13671
+ {
13672
+ "kind": "javascript-module",
13673
+ "path": "src/components/shell.ts",
13674
+ "declarations": [
13675
+ {
13676
+ "kind": "function",
13677
+ "name": "isCurrent",
13678
+ "return": {
13679
+ "type": {
13680
+ "text": "boolean"
13681
+ }
13682
+ },
13683
+ "parameters": [
13684
+ {
13685
+ "name": "href",
13686
+ "type": {
13687
+ "text": "string"
13688
+ }
13689
+ },
13690
+ {
13691
+ "name": "current",
13692
+ "type": {
13693
+ "text": "string"
13694
+ }
13695
+ }
13696
+ ],
13697
+ "description": "Whether an item is where the person is. `current` is the path the app's\nrouter reports. Without it the browser's address is used, which is right\nfor a site and stale in a single-page app that never reloads.\n\nAn item is current on its own path and on the paths below it, so Jobs stays\nmarked on `/jobs/123`. The root item, `/`, is current only on `/`."
13698
+ },
13699
+ {
13700
+ "kind": "function",
13701
+ "name": "announceNavigate",
13702
+ "return": {
13703
+ "type": {
13704
+ "text": "void"
13705
+ }
13706
+ },
13707
+ "parameters": [
13708
+ {
13709
+ "name": "host",
13710
+ "type": {
13711
+ "text": "HTMLElement"
13712
+ }
13713
+ },
13714
+ {
13715
+ "name": "event",
13716
+ "type": {
13717
+ "text": "MouseEvent"
13718
+ }
13719
+ },
13720
+ {
13721
+ "name": "item",
13722
+ "type": {
13723
+ "text": "{ href: string; id?: string }"
13724
+ }
13725
+ }
13726
+ ],
13727
+ "description": "Tell the app a navigation link was followed, so a single-page app can route\nwithout a reload. The event is cancelable: an app that calls\n`preventDefault()` on it takes over, and the browser does not follow the\nlink. A click with a modifier key, or with any button but the main one, is\nleft to the browser, so \"open in a new tab\" keeps working."
13728
+ },
13729
+ {
13730
+ "kind": "class",
13731
+ "description": "A product's main navigation down the side of the screen: an icon and a word\nfor each place, with a footer slot for an action that belongs at the bottom,\nsuch as Sign out.\n\n**The place you are on is marked in words as well as colour.** Its link\ncarries `aria-current=\"page\"`, which a screen reader announces, and it is\nfilled, so it does not rely on a colour change alone (1.4.1).\n\n**Every item has a word.** The icons are decorative and hidden from screen\nreaders, because an icon alone is a guess for anyone who has not learned the\nproduct.\n\n**It works with an app's router.** Set `current` to the router's path, and\ncancel `impakt-navigate` to route without a reload.",
13732
+ "name": "ImpaktSideNav",
13733
+ "slots": [
13734
+ {
13735
+ "description": "An action pinned to the bottom of the side, such as Sign out.",
13736
+ "name": "footer"
13737
+ }
13738
+ ],
13739
+ "members": [
13740
+ {
13741
+ "kind": "field",
13742
+ "name": "items",
13743
+ "privacy": "public",
13744
+ "type": {
13745
+ "text": "ShellNavItem[]"
13746
+ },
13747
+ "description": "The places, in order.",
13748
+ "default": "[]",
13749
+ "attribute": "items"
13750
+ },
13751
+ {
13752
+ "kind": "field",
13753
+ "name": "label",
13754
+ "privacy": "public",
13755
+ "type": {
13756
+ "text": "string"
13757
+ },
13758
+ "description": "What the navigation is called for a screen reader, such as \"Main\".",
13759
+ "default": "'Main'",
13760
+ "attribute": "label"
13761
+ },
13762
+ {
13763
+ "kind": "field",
13764
+ "name": "current",
13765
+ "privacy": "public",
13766
+ "type": {
13767
+ "text": "string"
13768
+ },
13769
+ "description": "The path the person is on, from the app's router. Leave empty to use the address bar.",
13770
+ "default": "''",
13771
+ "attribute": "current"
13772
+ },
13773
+ {
13774
+ "kind": "field",
13775
+ "name": "footerFilled",
13776
+ "type": {
13777
+ "text": "boolean"
13778
+ },
13779
+ "privacy": "private",
13780
+ "default": "false"
13781
+ },
13782
+ {
13783
+ "kind": "method",
13784
+ "name": "onFooter",
13785
+ "privacy": "private",
13786
+ "return": {
13787
+ "type": {
13788
+ "text": "void"
13789
+ }
13790
+ },
13791
+ "parameters": [
13792
+ {
13793
+ "name": "event",
13794
+ "type": {
13795
+ "text": "Event"
13796
+ }
13797
+ }
13798
+ ]
13799
+ },
13800
+ {
13801
+ "kind": "field",
13802
+ "name": "uid",
13803
+ "privacy": "protected",
13804
+ "readonly": true,
13805
+ "default": "`impakt-${(counter += 1)}`",
13806
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
13807
+ "inheritedFrom": {
13808
+ "name": "ImpaktElement",
13809
+ "module": "src/base/ImpaktElement.ts"
13810
+ }
13811
+ },
13812
+ {
13813
+ "kind": "method",
13814
+ "name": "id_",
13815
+ "privacy": "protected",
13816
+ "return": {
13817
+ "type": {
13818
+ "text": "string"
13819
+ }
13820
+ },
13821
+ "parameters": [
13822
+ {
13823
+ "name": "part",
13824
+ "type": {
13825
+ "text": "string"
13826
+ }
13827
+ }
13828
+ ],
13829
+ "inheritedFrom": {
13830
+ "name": "ImpaktElement",
13831
+ "module": "src/base/ImpaktElement.ts"
13832
+ }
13833
+ }
13834
+ ],
13835
+ "events": [
13836
+ {
13837
+ "type": {
13838
+ "text": "CustomEvent<{ href: string; id: string }>"
13839
+ },
13840
+ "description": "When an item is followed. Cancel it to route in the app instead of the browser.",
13841
+ "name": "impakt-navigate"
13842
+ }
13843
+ ],
13844
+ "attributes": [
13845
+ {
13846
+ "name": "items",
13847
+ "type": {
13848
+ "text": "ShellNavItem[]"
13849
+ },
13850
+ "description": "The places, in order.",
13851
+ "default": "[]",
13852
+ "fieldName": "items"
13853
+ },
13854
+ {
13855
+ "name": "label",
13856
+ "type": {
13857
+ "text": "string"
13858
+ },
13859
+ "description": "What the navigation is called for a screen reader, such as \"Main\".",
13860
+ "default": "'Main'",
13861
+ "fieldName": "label"
13862
+ },
13863
+ {
13864
+ "name": "current",
13865
+ "type": {
13866
+ "text": "string"
13867
+ },
13868
+ "description": "The path the person is on, from the app's router. Leave empty to use the address bar.",
13869
+ "default": "''",
13870
+ "fieldName": "current"
13871
+ }
13872
+ ],
13873
+ "superclass": {
13874
+ "name": "ImpaktElement",
13875
+ "module": "/src/base/ImpaktElement"
13876
+ },
13877
+ "category": "action",
13878
+ "icon": "menu",
13879
+ "tagName": "impakt-side-nav",
13880
+ "customElement": true
13881
+ },
13882
+ {
13883
+ "kind": "class",
13884
+ "description": "A product's main navigation along the bottom of a phone screen: four or five\nplaces, each an icon above a word.\n\nIt follows the same rules as `impakt-side-nav`: the current place carries\n`aria-current=\"page\"` and is filled, every item has a word, and\n`impakt-navigate` lets an app route without a reload. Each item is at least\n48px tall, above the 24px floor of 2.5.8, because it is pressed with a thumb.",
13885
+ "name": "ImpaktTabBar",
13886
+ "members": [
13887
+ {
13888
+ "kind": "field",
13889
+ "name": "items",
13890
+ "privacy": "public",
13891
+ "type": {
13892
+ "text": "ShellNavItem[]"
13893
+ },
13894
+ "description": "The places, in order. Four or five fit a phone.",
13895
+ "default": "[]",
13896
+ "attribute": "items"
13897
+ },
13898
+ {
13899
+ "kind": "field",
13900
+ "name": "label",
13901
+ "privacy": "public",
13902
+ "type": {
13903
+ "text": "string"
13904
+ },
13905
+ "description": "What the navigation is called for a screen reader, such as \"Main\".",
13906
+ "default": "'Main'",
13907
+ "attribute": "label"
13908
+ },
13909
+ {
13910
+ "kind": "field",
13911
+ "name": "current",
13912
+ "privacy": "public",
13913
+ "type": {
13914
+ "text": "string"
13915
+ },
13916
+ "description": "The path the person is on, from the app's router. Leave empty to use the address bar.",
13917
+ "default": "''",
13918
+ "attribute": "current"
13919
+ },
13920
+ {
13921
+ "kind": "field",
13922
+ "name": "uid",
13923
+ "privacy": "protected",
13924
+ "readonly": true,
13925
+ "default": "`impakt-${(counter += 1)}`",
13926
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
13927
+ "inheritedFrom": {
13928
+ "name": "ImpaktElement",
13929
+ "module": "src/base/ImpaktElement.ts"
13930
+ }
13931
+ },
13932
+ {
13933
+ "kind": "method",
13934
+ "name": "id_",
13935
+ "privacy": "protected",
13936
+ "return": {
13937
+ "type": {
13938
+ "text": "string"
13939
+ }
13940
+ },
13941
+ "parameters": [
13942
+ {
13943
+ "name": "part",
13944
+ "type": {
13945
+ "text": "string"
13946
+ }
13947
+ }
13948
+ ],
13949
+ "inheritedFrom": {
13950
+ "name": "ImpaktElement",
13951
+ "module": "src/base/ImpaktElement.ts"
13952
+ }
13953
+ }
13954
+ ],
13955
+ "events": [
13956
+ {
13957
+ "type": {
13958
+ "text": "CustomEvent<{ href: string; id: string }>"
13959
+ },
13960
+ "description": "When an item is followed. Cancel it to route in the app instead of the browser.",
13961
+ "name": "impakt-navigate"
13962
+ }
13963
+ ],
13964
+ "attributes": [
13965
+ {
13966
+ "name": "items",
13967
+ "type": {
13968
+ "text": "ShellNavItem[]"
13969
+ },
13970
+ "description": "The places, in order. Four or five fit a phone.",
13971
+ "default": "[]",
13972
+ "fieldName": "items"
13973
+ },
13974
+ {
13975
+ "name": "label",
13976
+ "type": {
13977
+ "text": "string"
13978
+ },
13979
+ "description": "What the navigation is called for a screen reader, such as \"Main\".",
13980
+ "default": "'Main'",
13981
+ "fieldName": "label"
13982
+ },
13983
+ {
13984
+ "name": "current",
13985
+ "type": {
13986
+ "text": "string"
13987
+ },
13988
+ "description": "The path the person is on, from the app's router. Leave empty to use the address bar.",
13989
+ "default": "''",
13990
+ "fieldName": "current"
13991
+ }
13992
+ ],
13993
+ "superclass": {
13994
+ "name": "ImpaktElement",
13995
+ "module": "/src/base/ImpaktElement"
13996
+ },
13997
+ "category": "action",
13998
+ "icon": "menu",
13999
+ "tagName": "impakt-tab-bar",
14000
+ "customElement": true
14001
+ },
14002
+ {
14003
+ "kind": "class",
14004
+ "description": "The frame a signed-in product sits in, on a desktop and on a phone.\n\nOn a desktop it is a rounded frame on a darker canvas, with the brand and\nthe side navigation on the left, a top bar along the top and the page's\ncontent below it. On a phone the side navigation and the top bar step aside:\nthe page's own header sits on a dark band, the content rises over it on a\nlight sheet, and the tab bar floats at the bottom.\n\n**It gives the page its landmarks.** The content is the `main` landmark, the\ntop bar is a `header`, and a Skip to content link is the first thing a\nkeyboard reaches. The navigation elements bring their own `nav` landmarks.\n\n**Both navigations are in the page; only one is shown.** The side\nnavigation is hidden on a phone and the tab bar on a desktop, with\n`display: none`, so a screen reader meets the one that is on screen.",
14005
+ "name": "ImpaktAppShell",
14006
+ "slots": [
14007
+ {
14008
+ "description": "The page's content.",
14009
+ "name": ""
14010
+ },
14011
+ {
14012
+ "description": "The product's logo, at the top of the side.",
14013
+ "name": "brand"
14014
+ },
14015
+ {
14016
+ "description": "The side navigation, an `impakt-side-nav`.",
14017
+ "name": "nav"
14018
+ },
14019
+ {
14020
+ "description": "The start of the top bar, such as the workspace's name.",
14021
+ "name": "workspace"
14022
+ },
14023
+ {
14024
+ "description": "The middle of the top bar, such as a search field.",
14025
+ "name": "search"
14026
+ },
14027
+ {
14028
+ "description": "The end of the top bar: the main action and the account.",
14029
+ "name": "actions"
14030
+ },
14031
+ {
14032
+ "description": "The page's header on a phone, on the dark band above the content.",
14033
+ "name": "phone-header"
14034
+ },
14035
+ {
14036
+ "description": "The phone navigation, an `impakt-tab-bar`.",
14037
+ "name": "tab-bar"
14038
+ }
14039
+ ],
14040
+ "members": [
14041
+ {
14042
+ "kind": "field",
14043
+ "name": "skipText",
14044
+ "privacy": "public",
14045
+ "type": {
14046
+ "text": "string"
14047
+ },
14048
+ "description": "The words of the link that skips to the content.",
14049
+ "default": "'Skip to content'",
14050
+ "attribute": "skip-text"
14051
+ },
14052
+ {
14053
+ "kind": "field",
14054
+ "name": "topBarLabel",
14055
+ "privacy": "public",
14056
+ "type": {
14057
+ "text": "string"
14058
+ },
14059
+ "description": "What the top bar is called for a screen reader. Leave empty when there is only one top bar, as there usually is.",
14060
+ "default": "''",
14061
+ "attribute": "top-bar-label"
14062
+ },
14063
+ {
14064
+ "kind": "method",
14065
+ "name": "skip",
14066
+ "privacy": "private",
14067
+ "return": {
14068
+ "type": {
14069
+ "text": "void"
14070
+ }
14071
+ },
14072
+ "parameters": [
14073
+ {
14074
+ "name": "event",
14075
+ "type": {
14076
+ "text": "Event"
14077
+ }
14078
+ }
14079
+ ]
14080
+ },
14081
+ {
14082
+ "kind": "field",
14083
+ "name": "uid",
14084
+ "privacy": "protected",
14085
+ "readonly": true,
14086
+ "default": "`impakt-${(counter += 1)}`",
14087
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
14088
+ "inheritedFrom": {
14089
+ "name": "ImpaktElement",
14090
+ "module": "src/base/ImpaktElement.ts"
14091
+ }
14092
+ },
14093
+ {
14094
+ "kind": "method",
14095
+ "name": "id_",
14096
+ "privacy": "protected",
14097
+ "return": {
14098
+ "type": {
14099
+ "text": "string"
14100
+ }
14101
+ },
14102
+ "parameters": [
14103
+ {
14104
+ "name": "part",
14105
+ "type": {
14106
+ "text": "string"
14107
+ }
14108
+ }
14109
+ ],
14110
+ "inheritedFrom": {
14111
+ "name": "ImpaktElement",
14112
+ "module": "src/base/ImpaktElement.ts"
14113
+ }
14114
+ }
14115
+ ],
14116
+ "attributes": [
14117
+ {
14118
+ "name": "skip-text",
14119
+ "type": {
14120
+ "text": "string"
14121
+ },
14122
+ "description": "The words of the link that skips to the content.",
14123
+ "default": "'Skip to content'",
14124
+ "fieldName": "skipText"
14125
+ },
14126
+ {
14127
+ "name": "top-bar-label",
14128
+ "type": {
14129
+ "text": "string"
14130
+ },
14131
+ "description": "What the top bar is called for a screen reader. Leave empty when there is only one top bar, as there usually is.",
14132
+ "default": "''",
14133
+ "fieldName": "topBarLabel"
14134
+ }
14135
+ ],
14136
+ "superclass": {
14137
+ "name": "ImpaktElement",
14138
+ "module": "/src/base/ImpaktElement"
14139
+ },
14140
+ "category": "layout",
14141
+ "icon": "layout",
14142
+ "tagName": "impakt-app-shell",
14143
+ "customElement": true
14144
+ }
14145
+ ],
14146
+ "exports": [
14147
+ {
14148
+ "kind": "js",
14149
+ "name": "isCurrent",
14150
+ "declaration": {
14151
+ "name": "isCurrent",
14152
+ "module": "src/components/shell.ts"
14153
+ }
14154
+ },
14155
+ {
14156
+ "kind": "js",
14157
+ "name": "announceNavigate",
14158
+ "declaration": {
14159
+ "name": "announceNavigate",
14160
+ "module": "src/components/shell.ts"
14161
+ }
14162
+ },
14163
+ {
14164
+ "kind": "js",
14165
+ "name": "ImpaktSideNav",
14166
+ "declaration": {
14167
+ "name": "ImpaktSideNav",
14168
+ "module": "src/components/shell.ts"
14169
+ }
14170
+ },
14171
+ {
14172
+ "kind": "js",
14173
+ "name": "ImpaktTabBar",
14174
+ "declaration": {
14175
+ "name": "ImpaktTabBar",
14176
+ "module": "src/components/shell.ts"
14177
+ }
14178
+ },
14179
+ {
14180
+ "kind": "js",
14181
+ "name": "ImpaktAppShell",
14182
+ "declaration": {
14183
+ "name": "ImpaktAppShell",
14184
+ "module": "src/components/shell.ts"
14185
+ }
14186
+ },
14187
+ {
14188
+ "kind": "custom-element-definition",
14189
+ "name": "impakt-side-nav",
14190
+ "declaration": {
14191
+ "name": "ImpaktSideNav",
14192
+ "module": "src/components/shell.ts"
14193
+ }
14194
+ },
14195
+ {
14196
+ "kind": "custom-element-definition",
14197
+ "name": "impakt-tab-bar",
14198
+ "declaration": {
14199
+ "name": "ImpaktTabBar",
14200
+ "module": "src/components/shell.ts"
14201
+ }
14202
+ },
14203
+ {
14204
+ "kind": "custom-element-definition",
14205
+ "name": "impakt-app-shell",
14206
+ "declaration": {
14207
+ "name": "ImpaktAppShell",
14208
+ "module": "src/components/shell.ts"
14209
+ }
14210
+ }
14211
+ ]
14212
+ },
14213
+ {
14214
+ "kind": "javascript-module",
14215
+ "path": "src/components/summary-list.ts",
14216
+ "declarations": [
14217
+ {
14218
+ "kind": "class",
14219
+ "description": "Key and value pairs — an order summary, a confirmation, a check-your-answers\nscreen.\n\n**It is a description list.** `<dl>` with `<dt>` and `<dd>` says these are\npairs; a stack of divs says nothing, and a table claims a grid that a\ntwo-column list does not have.\n\n**Every \"Change\" names what it changes.** The visible text stays short, and\nthe accessible name is completed with visually hidden words, so a reader\ntabbing through hears \"Change date of birth\" rather than six links all called\n\"Change\". This is 2.4.4 Link Purpose, and it is the single most common\nfailure on a check-your-answers page.",
14220
+ "name": "ImpaktSummaryList",
14221
+ "members": [
14222
+ {
14223
+ "kind": "field",
14224
+ "name": "rows",
14225
+ "privacy": "public",
14226
+ "type": {
14227
+ "text": "SummaryRow[]"
14228
+ },
14229
+ "default": "[]",
14230
+ "attribute": "rows"
14231
+ },
14232
+ {
14233
+ "kind": "field",
14234
+ "name": "changeText",
14235
+ "privacy": "public",
14236
+ "type": {
14237
+ "text": "string"
14238
+ },
14239
+ "default": "'Change'",
14240
+ "attribute": "change-text"
14241
+ },
14242
+ {
14243
+ "kind": "field",
14244
+ "name": "uid",
14245
+ "privacy": "protected",
14246
+ "readonly": true,
14247
+ "default": "`impakt-${(counter += 1)}`",
14248
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
14249
+ "inheritedFrom": {
14250
+ "name": "ImpaktElement",
14251
+ "module": "src/base/ImpaktElement.ts"
14252
+ }
14253
+ },
14254
+ {
14255
+ "kind": "method",
14256
+ "name": "id_",
14257
+ "privacy": "protected",
14258
+ "return": {
14259
+ "type": {
14260
+ "text": "string"
14261
+ }
14262
+ },
14263
+ "parameters": [
14264
+ {
14265
+ "name": "part",
14266
+ "type": {
14267
+ "text": "string"
14268
+ }
14269
+ }
14270
+ ],
14271
+ "inheritedFrom": {
14272
+ "name": "ImpaktElement",
14273
+ "module": "src/base/ImpaktElement.ts"
14274
+ }
14275
+ }
14276
+ ],
14277
+ "attributes": [
14278
+ {
14279
+ "name": "rows",
14280
+ "type": {
14281
+ "text": "SummaryRow[]"
14282
+ },
14283
+ "default": "[]",
14284
+ "fieldName": "rows"
14285
+ },
14286
+ {
14287
+ "name": "change-text",
14288
+ "type": {
14289
+ "text": "string"
14290
+ },
14291
+ "default": "'Change'",
14292
+ "fieldName": "changeText"
14293
+ }
14294
+ ],
14295
+ "superclass": {
14296
+ "name": "ImpaktElement",
14297
+ "module": "/src/base/ImpaktElement"
14298
+ },
14299
+ "category": "content",
14300
+ "icon": "list",
14301
+ "tagName": "impakt-summary-list",
14302
+ "customElement": true
14303
+ }
14304
+ ],
14305
+ "exports": [
14306
+ {
14307
+ "kind": "js",
14308
+ "name": "ImpaktSummaryList",
14309
+ "declaration": {
14310
+ "name": "ImpaktSummaryList",
14311
+ "module": "src/components/summary-list.ts"
14312
+ }
14313
+ },
14314
+ {
14315
+ "kind": "custom-element-definition",
14316
+ "name": "impakt-summary-list",
14317
+ "declaration": {
14318
+ "name": "ImpaktSummaryList",
14319
+ "module": "src/components/summary-list.ts"
14320
+ }
14321
+ }
14322
+ ]
14323
+ },
14324
+ {
14325
+ "kind": "javascript-module",
14326
+ "path": "src/components/switch.ts",
14327
+ "declarations": [
14328
+ {
14329
+ "kind": "class",
14330
+ "description": "An on and off setting that takes effect at once: \"Show to customer\",\n\"Visible to customer\".\n\n**It is a checkbox with the switch role.** A native\n`<input type=\"checkbox\" role=\"switch\">` keeps Space to toggle, form\nsubmission and the label's hit area, and the role makes a screen reader say\n\"on\" and \"off\" rather than \"checked\". A switch is for a setting that applies\nstraight away. When the choice is only sent with a form, use\n`impakt-checkbox` instead.\n\n**The state is not carried by colour alone.** The knob moves from one end of\nthe track to the other, so the position says on or off without the fill\n(1.4.1).",
14331
+ "name": "ImpaktSwitch",
14332
+ "members": [
14333
+ {
14334
+ "kind": "field",
14335
+ "name": "checked",
14336
+ "privacy": "public",
14337
+ "type": {
14338
+ "text": "boolean"
14339
+ },
14340
+ "default": "false",
14341
+ "attribute": "checked",
14342
+ "reflects": true
14343
+ },
14344
+ {
14345
+ "kind": "method",
14346
+ "name": "renderControl",
14347
+ "privacy": "protected",
14348
+ "return": {
14349
+ "type": {
14350
+ "text": "TemplateResult"
14351
+ }
14352
+ },
14353
+ "description": "Subclasses render the control itself; everything round it is here.",
14354
+ "inheritedFrom": {
14355
+ "name": "FieldElement",
14356
+ "module": "src/base/FieldElement.ts"
14357
+ }
14358
+ },
14359
+ {
14360
+ "kind": "method",
14361
+ "name": "renderLabel",
14362
+ "privacy": "protected",
14363
+ "return": {
14364
+ "type": {
14365
+ "text": "TemplateResult"
14366
+ }
14367
+ },
14368
+ "description": "The label is inside the control here, so the base class's is suppressed.",
14369
+ "inheritedFrom": {
14370
+ "name": "FieldElement",
14371
+ "module": "src/base/FieldElement.ts"
14372
+ }
14373
+ },
14374
+ {
14375
+ "kind": "field",
14376
+ "name": "formAssociated",
14377
+ "type": {
14378
+ "text": "boolean"
14379
+ },
14380
+ "static": true,
14381
+ "default": "true",
14382
+ "description": "Form controls participate in a `<form>` like native ones.",
14383
+ "inheritedFrom": {
14384
+ "name": "FieldElement",
14385
+ "module": "src/base/FieldElement.ts"
14386
+ }
14387
+ },
14388
+ {
14389
+ "kind": "field",
14390
+ "name": "label",
14391
+ "privacy": "public",
14392
+ "type": {
14393
+ "text": "string"
14394
+ },
14395
+ "default": "''",
14396
+ "attribute": "label",
14397
+ "inheritedFrom": {
14398
+ "name": "FieldElement",
14399
+ "module": "src/base/FieldElement.ts"
14400
+ }
14401
+ },
14402
+ {
14403
+ "kind": "field",
14404
+ "name": "name",
14405
+ "privacy": "public",
14406
+ "type": {
14407
+ "text": "string"
14408
+ },
14409
+ "default": "''",
14410
+ "attribute": "name",
14411
+ "inheritedFrom": {
14412
+ "name": "FieldElement",
14413
+ "module": "src/base/FieldElement.ts"
14414
+ }
14415
+ },
14416
+ {
14417
+ "kind": "field",
14418
+ "name": "value",
14419
+ "privacy": "public",
14420
+ "type": {
14421
+ "text": "string"
14422
+ },
14423
+ "default": "''",
14424
+ "attribute": "value",
14425
+ "inheritedFrom": {
14426
+ "name": "FieldElement",
14427
+ "module": "src/base/FieldElement.ts"
14428
+ }
14429
+ },
14430
+ {
14431
+ "kind": "field",
14432
+ "name": "description",
14433
+ "privacy": "public",
14434
+ "type": {
14435
+ "text": "string"
14436
+ },
14437
+ "default": "''",
14438
+ "attribute": "description",
14439
+ "inheritedFrom": {
14440
+ "name": "FieldElement",
14441
+ "module": "src/base/FieldElement.ts"
14442
+ }
14443
+ },
14444
+ {
14445
+ "kind": "field",
14446
+ "name": "error",
14447
+ "privacy": "public",
14448
+ "type": {
14449
+ "text": "string"
14450
+ },
14451
+ "default": "''",
14452
+ "attribute": "error",
14453
+ "inheritedFrom": {
14454
+ "name": "FieldElement",
14455
+ "module": "src/base/FieldElement.ts"
14456
+ }
14457
+ },
14458
+ {
14459
+ "kind": "field",
14460
+ "name": "required",
14461
+ "privacy": "public",
14462
+ "type": {
14463
+ "text": "boolean"
14464
+ },
14465
+ "default": "false",
14466
+ "attribute": "required",
14467
+ "reflects": true,
14468
+ "inheritedFrom": {
14469
+ "name": "FieldElement",
14470
+ "module": "src/base/FieldElement.ts"
14471
+ }
14472
+ },
14473
+ {
14474
+ "kind": "field",
14475
+ "name": "disabled",
14476
+ "privacy": "public",
14477
+ "type": {
14478
+ "text": "boolean"
14479
+ },
14480
+ "default": "false",
14481
+ "attribute": "disabled",
14482
+ "reflects": true,
14483
+ "inheritedFrom": {
14484
+ "name": "FieldElement",
14485
+ "module": "src/base/FieldElement.ts"
14486
+ }
14487
+ },
14488
+ {
14489
+ "kind": "field",
14490
+ "name": "readonly",
14491
+ "privacy": "public",
14492
+ "type": {
14493
+ "text": "boolean"
14494
+ },
14495
+ "default": "false",
14496
+ "attribute": "readonly",
14497
+ "reflects": true,
14498
+ "inheritedFrom": {
14499
+ "name": "FieldElement",
14500
+ "module": "src/base/FieldElement.ts"
14501
+ }
14502
+ },
14503
+ {
14504
+ "kind": "field",
14505
+ "name": "requiredText",
14506
+ "privacy": "public",
14507
+ "type": {
14508
+ "text": "string"
14509
+ },
14510
+ "description": "How \"you must answer this\" is said.\n\nWords, not an asterisk. 3.3.2 asks for labels or instructions, and an\nasterisk is neither until a legend explains it — which puts the\nexplanation somewhere other than the field it explains. It is a property\nso a partner can reword it, not so they can empty it.",
14511
+ "default": "'required'",
14512
+ "attribute": "required-text",
14513
+ "inheritedFrom": {
14514
+ "name": "FieldElement",
14515
+ "module": "src/base/FieldElement.ts"
14516
+ }
14517
+ },
14518
+ {
14519
+ "kind": "field",
14520
+ "name": "internals",
14521
+ "type": {
14522
+ "text": "ElementInternals | null"
14523
+ },
14524
+ "privacy": "protected",
14525
+ "default": "null",
14526
+ "inheritedFrom": {
14527
+ "name": "FieldElement",
14528
+ "module": "src/base/FieldElement.ts"
14529
+ }
14530
+ },
14531
+ {
14532
+ "kind": "field",
14533
+ "name": "controlId",
14534
+ "type": {
14535
+ "text": "string"
14536
+ },
14537
+ "privacy": "protected",
14538
+ "readonly": true,
14539
+ "inheritedFrom": {
14540
+ "name": "FieldElement",
14541
+ "module": "src/base/FieldElement.ts"
14542
+ }
14543
+ },
14544
+ {
14545
+ "kind": "field",
14546
+ "name": "describedBy",
14547
+ "type": {
14548
+ "text": "string | typeof nothing"
14549
+ },
14550
+ "privacy": "protected",
14551
+ "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.",
14552
+ "readonly": true,
14553
+ "inheritedFrom": {
14554
+ "name": "FieldElement",
14555
+ "module": "src/base/FieldElement.ts"
14556
+ }
14557
+ },
14558
+ {
14559
+ "kind": "method",
14560
+ "name": "focus",
14561
+ "return": {
14562
+ "type": {
14563
+ "text": "void"
14564
+ }
14565
+ },
14566
+ "parameters": [
14567
+ {
14568
+ "name": "options",
14569
+ "optional": true,
14570
+ "type": {
14571
+ "text": "FocusOptions"
14572
+ }
14573
+ }
14574
+ ],
14575
+ "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.",
14576
+ "inheritedFrom": {
14577
+ "name": "FieldElement",
14578
+ "module": "src/base/FieldElement.ts"
14579
+ }
14580
+ },
14581
+ {
14582
+ "kind": "method",
14583
+ "name": "setFormValue",
14584
+ "privacy": "protected",
14585
+ "return": {
14586
+ "type": {
14587
+ "text": "void"
14588
+ }
14589
+ },
14590
+ "parameters": [
14591
+ {
14592
+ "name": "value",
14593
+ "type": {
14594
+ "text": "string"
14595
+ }
14596
+ }
14597
+ ],
14598
+ "description": "Keep the form value in step with the control.",
14599
+ "inheritedFrom": {
14600
+ "name": "FieldElement",
14601
+ "module": "src/base/FieldElement.ts"
14602
+ }
14603
+ },
14604
+ {
14605
+ "kind": "field",
14606
+ "name": "uid",
14607
+ "privacy": "protected",
14608
+ "readonly": true,
14609
+ "default": "`impakt-${(counter += 1)}`",
14610
+ "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
14611
+ "inheritedFrom": {
14612
+ "name": "ImpaktElement",
14613
+ "module": "src/base/ImpaktElement.ts"
14614
+ }
14615
+ },
14616
+ {
14617
+ "kind": "method",
14618
+ "name": "id_",
14619
+ "privacy": "protected",
14620
+ "return": {
14621
+ "type": {
14622
+ "text": "string"
14623
+ }
14624
+ },
14625
+ "parameters": [
14626
+ {
14627
+ "name": "part",
14628
+ "type": {
14629
+ "text": "string"
14630
+ }
14631
+ }
14632
+ ],
14633
+ "inheritedFrom": {
14634
+ "name": "ImpaktElement",
14635
+ "module": "src/base/ImpaktElement.ts"
14636
+ }
14637
+ }
14638
+ ],
14639
+ "attributes": [
14640
+ {
14641
+ "name": "checked",
14642
+ "type": {
14643
+ "text": "boolean"
14644
+ },
14645
+ "default": "false",
14646
+ "fieldName": "checked"
14647
+ },
14648
+ {
14649
+ "name": "label",
14650
+ "type": {
14651
+ "text": "string"
14652
+ },
14653
+ "default": "''",
14654
+ "fieldName": "label",
14655
+ "inheritedFrom": {
14656
+ "name": "FieldElement",
14657
+ "module": "src/base/FieldElement.ts"
14658
+ }
14659
+ },
14660
+ {
14661
+ "name": "name",
14662
+ "type": {
14663
+ "text": "string"
14664
+ },
14665
+ "default": "''",
14666
+ "fieldName": "name",
14667
+ "inheritedFrom": {
14668
+ "name": "FieldElement",
14669
+ "module": "src/base/FieldElement.ts"
14670
+ }
14671
+ },
14672
+ {
14673
+ "name": "value",
14674
+ "type": {
14675
+ "text": "string"
14676
+ },
14677
+ "default": "''",
14678
+ "fieldName": "value",
14679
+ "inheritedFrom": {
14680
+ "name": "FieldElement",
14681
+ "module": "src/base/FieldElement.ts"
14682
+ }
14683
+ },
14684
+ {
14685
+ "name": "description",
14686
+ "type": {
14687
+ "text": "string"
14688
+ },
14689
+ "default": "''",
14690
+ "fieldName": "description",
14691
+ "inheritedFrom": {
14692
+ "name": "FieldElement",
14693
+ "module": "src/base/FieldElement.ts"
14694
+ }
14695
+ },
14696
+ {
14697
+ "name": "error",
14698
+ "type": {
14699
+ "text": "string"
14700
+ },
14701
+ "default": "''",
14702
+ "fieldName": "error",
14703
+ "inheritedFrom": {
14704
+ "name": "FieldElement",
14705
+ "module": "src/base/FieldElement.ts"
14706
+ }
14707
+ },
14708
+ {
14709
+ "name": "required",
14710
+ "type": {
14711
+ "text": "boolean"
14712
+ },
14713
+ "default": "false",
14714
+ "fieldName": "required",
14715
+ "inheritedFrom": {
14716
+ "name": "FieldElement",
14717
+ "module": "src/base/FieldElement.ts"
14718
+ }
14719
+ },
14720
+ {
14721
+ "name": "disabled",
14722
+ "type": {
14723
+ "text": "boolean"
14724
+ },
14725
+ "default": "false",
14726
+ "fieldName": "disabled",
14727
+ "inheritedFrom": {
14728
+ "name": "FieldElement",
14729
+ "module": "src/base/FieldElement.ts"
14730
+ }
14731
+ },
14732
+ {
14733
+ "name": "readonly",
14734
+ "type": {
14735
+ "text": "boolean"
14736
+ },
14737
+ "default": "false",
14738
+ "fieldName": "readonly",
14739
+ "inheritedFrom": {
14740
+ "name": "FieldElement",
14741
+ "module": "src/base/FieldElement.ts"
14742
+ }
14743
+ },
14744
+ {
14745
+ "name": "required-text",
14746
+ "type": {
14747
+ "text": "string"
14748
+ },
14749
+ "description": "How \"you must answer this\" is said.\n\nWords, not an asterisk. 3.3.2 asks for labels or instructions, and an\nasterisk is neither until a legend explains it — which puts the\nexplanation somewhere other than the field it explains. It is a property\nso a partner can reword it, not so they can empty it.",
14750
+ "default": "'required'",
14751
+ "fieldName": "requiredText",
14752
+ "inheritedFrom": {
14753
+ "name": "FieldElement",
14754
+ "module": "src/base/FieldElement.ts"
14755
+ }
14756
+ }
14757
+ ],
14758
+ "superclass": {
14759
+ "name": "FieldElement",
14760
+ "module": "/src/base/FieldElement"
14761
+ },
14762
+ "category": "form",
14763
+ "icon": "checkbox",
14764
+ "tagName": "impakt-switch",
14765
+ "customElement": true,
14766
+ "events": [
14767
+ {
14768
+ "name": "impakt-change",
14769
+ "type": {
14770
+ "text": "CustomEvent<{ value: string }>"
14771
+ },
14772
+ "description": "When the answer changes. The answer is in detail.value.",
14773
+ "inheritedFrom": {
14774
+ "name": "FieldElement",
14775
+ "module": "src/base/FieldElement.ts"
14776
+ }
14777
+ }
14778
+ ]
14779
+ },
14780
+ {
14781
+ "kind": "class",
14782
+ "description": "Two to four choices drawn as one joined control: \"Internal\" or \"Visible to\ncustomer\", \"Cost\" or \"Charge\".\n\n**It is a radio group underneath.** Native radios sharing a name give arrow\nkeys, one tab stop and the right announcement with no script, exactly as in\n`impakt-radio-group`. Only the drawing differs. The label is a `<legend>`, so\nthe question is asked of the set; set `hide-label` when the words around it\nalready ask it, and the legend stays for screen readers.",
14783
+ "name": "ImpaktSegmentedControl",
14784
+ "members": [
14785
+ {
14786
+ "kind": "field",
14787
+ "name": "options",
14788
+ "privacy": "public",
14789
+ "type": {
14790
+ "text": "SegmentOption[]"
14791
+ },
14792
+ "default": "[]",
14793
+ "attribute": "options"
14794
+ },
14795
+ {
14796
+ "kind": "field",
14797
+ "name": "hideLabel",
14798
+ "privacy": "public",
14799
+ "type": {
14800
+ "text": "boolean"
14801
+ },
14802
+ "description": "Keep the question for screen readers only, when the words around it already ask it.",
14803
+ "default": "false",
14804
+ "attribute": "hide-label",
14805
+ "reflects": true
14806
+ },
14807
+ {
14808
+ "kind": "field",
14809
+ "name": "full",
14810
+ "privacy": "public",
14811
+ "type": {
14812
+ "text": "boolean"
14813
+ },
14814
+ "description": "As wide as its space, with the segments sharing it equally.",
14815
+ "default": "false",
14816
+ "attribute": "full",
14817
+ "reflects": true
14818
+ },
14819
+ {
14820
+ "kind": "method",
14821
+ "name": "renderLabel",
14822
+ "privacy": "protected",
14823
+ "return": {
14824
+ "type": {
14825
+ "text": "TemplateResult"
14826
+ }
14827
+ },
14828
+ "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.",
14829
+ "inheritedFrom": {
14830
+ "name": "FieldElement",
14831
+ "module": "src/base/FieldElement.ts"
14832
+ }
14833
+ },
14834
+ {
14835
+ "kind": "method",
14836
+ "name": "renderControl",
14837
+ "privacy": "protected",
14838
+ "return": {
14839
+ "type": {
14840
+ "text": "TemplateResult"
14841
+ }
14842
+ },
14843
+ "description": "Subclasses render the control itself; everything round it is here.",
14844
+ "inheritedFrom": {
14845
+ "name": "FieldElement",
14846
+ "module": "src/base/FieldElement.ts"
14847
+ }
14848
+ },
14849
+ {
14850
+ "kind": "field",
14851
+ "name": "formAssociated",
14852
+ "type": {
14853
+ "text": "boolean"
14854
+ },
14855
+ "static": true,
14856
+ "default": "true",
14857
+ "description": "Form controls participate in a `<form>` like native ones.",
14858
+ "inheritedFrom": {
14859
+ "name": "FieldElement",
14860
+ "module": "src/base/FieldElement.ts"
14861
+ }
14862
+ },
14863
+ {
14864
+ "kind": "field",
14865
+ "name": "label",
14866
+ "privacy": "public",
14867
+ "type": {
14868
+ "text": "string"
14869
+ },
14870
+ "default": "''",
14871
+ "attribute": "label",
14872
+ "inheritedFrom": {
14873
+ "name": "FieldElement",
14874
+ "module": "src/base/FieldElement.ts"
14875
+ }
14876
+ },
14877
+ {
14878
+ "kind": "field",
14879
+ "name": "name",
14880
+ "privacy": "public",
14881
+ "type": {
14882
+ "text": "string"
14883
+ },
14884
+ "default": "''",
14885
+ "attribute": "name",
14886
+ "inheritedFrom": {
14887
+ "name": "FieldElement",
14888
+ "module": "src/base/FieldElement.ts"
14889
+ }
14890
+ },
14891
+ {
14892
+ "kind": "field",
14893
+ "name": "value",
14894
+ "privacy": "public",
14895
+ "type": {
14896
+ "text": "string"
14897
+ },
14898
+ "default": "''",
14899
+ "attribute": "value",
14900
+ "inheritedFrom": {
14901
+ "name": "FieldElement",
14902
+ "module": "src/base/FieldElement.ts"
14903
+ }
14904
+ },
14905
+ {
14906
+ "kind": "field",
14907
+ "name": "description",
14908
+ "privacy": "public",
14909
+ "type": {
14910
+ "text": "string"
14911
+ },
14912
+ "default": "''",
14913
+ "attribute": "description",
14914
+ "inheritedFrom": {
14915
+ "name": "FieldElement",
14916
+ "module": "src/base/FieldElement.ts"
14917
+ }
14918
+ },
14919
+ {
14920
+ "kind": "field",
14921
+ "name": "error",
14922
+ "privacy": "public",
14923
+ "type": {
14924
+ "text": "string"
14925
+ },
14926
+ "default": "''",
14927
+ "attribute": "error",
14928
+ "inheritedFrom": {
14929
+ "name": "FieldElement",
14930
+ "module": "src/base/FieldElement.ts"
14931
+ }
14932
+ },
14933
+ {
14934
+ "kind": "field",
14935
+ "name": "required",
14936
+ "privacy": "public",
14937
+ "type": {
14938
+ "text": "boolean"
14939
+ },
14940
+ "default": "false",
14941
+ "attribute": "required",
14942
+ "reflects": true,
14943
+ "inheritedFrom": {
14944
+ "name": "FieldElement",
14945
+ "module": "src/base/FieldElement.ts"
14946
+ }
14947
+ },
14948
+ {
14949
+ "kind": "field",
14950
+ "name": "disabled",
14951
+ "privacy": "public",
14952
+ "type": {
14953
+ "text": "boolean"
14954
+ },
14955
+ "default": "false",
14956
+ "attribute": "disabled",
14957
+ "reflects": true,
14958
+ "inheritedFrom": {
14959
+ "name": "FieldElement",
12499
14960
  "module": "src/base/FieldElement.ts"
12500
14961
  }
12501
14962
  },
@@ -12592,21 +15053,6 @@
12592
15053
  "module": "src/base/FieldElement.ts"
12593
15054
  }
12594
15055
  },
12595
- {
12596
- "kind": "method",
12597
- "name": "renderLabel",
12598
- "privacy": "protected",
12599
- "return": {
12600
- "type": {
12601
- "text": "TemplateResult"
12602
- }
12603
- },
12604
- "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.",
12605
- "inheritedFrom": {
12606
- "name": "FieldElement",
12607
- "module": "src/base/FieldElement.ts"
12608
- }
12609
- },
12610
15056
  {
12611
15057
  "kind": "method",
12612
15058
  "name": "setFormValue",
@@ -12667,29 +15113,30 @@
12667
15113
  ],
12668
15114
  "attributes": [
12669
15115
  {
12670
- "name": "width",
15116
+ "name": "options",
12671
15117
  "type": {
12672
- "text": "'full' | 'lg' | 'md' | 'sm' | 'xs'"
15118
+ "text": "SegmentOption[]"
12673
15119
  },
12674
- "description": "How wide the box is, to suit the answer. Full width on a phone whatever this says.",
12675
- "default": "'full'",
12676
- "fieldName": "width"
15120
+ "default": "[]",
15121
+ "fieldName": "options"
12677
15122
  },
12678
15123
  {
12679
- "name": "options",
15124
+ "name": "hide-label",
12680
15125
  "type": {
12681
- "text": "SelectOption[]"
15126
+ "text": "boolean"
12682
15127
  },
12683
- "default": "[]",
12684
- "fieldName": "options"
15128
+ "description": "Keep the question for screen readers only, when the words around it already ask it.",
15129
+ "default": "false",
15130
+ "fieldName": "hideLabel"
12685
15131
  },
12686
15132
  {
12687
- "name": "placeholder",
15133
+ "name": "full",
12688
15134
  "type": {
12689
- "text": "string"
15135
+ "text": "boolean"
12690
15136
  },
12691
- "default": "'Choose an option'",
12692
- "fieldName": "placeholder"
15137
+ "description": "As wide as its space, with the segments sharing it equally.",
15138
+ "default": "false",
15139
+ "fieldName": "full"
12693
15140
  },
12694
15141
  {
12695
15142
  "name": "label",
@@ -12806,8 +15253,8 @@
12806
15253
  "module": "/src/base/FieldElement"
12807
15254
  },
12808
15255
  "category": "form",
12809
- "icon": "select",
12810
- "tagName": "impakt-select",
15256
+ "icon": "radio",
15257
+ "tagName": "impakt-segmented-control",
12811
15258
  "customElement": true,
12812
15259
  "events": [
12813
15260
  {
@@ -12827,129 +15274,34 @@
12827
15274
  "exports": [
12828
15275
  {
12829
15276
  "kind": "js",
12830
- "name": "ImpaktSelect",
15277
+ "name": "ImpaktSwitch",
12831
15278
  "declaration": {
12832
- "name": "ImpaktSelect",
12833
- "module": "src/components/select.ts"
15279
+ "name": "ImpaktSwitch",
15280
+ "module": "src/components/switch.ts"
12834
15281
  }
12835
15282
  },
12836
15283
  {
12837
- "kind": "custom-element-definition",
12838
- "name": "impakt-select",
15284
+ "kind": "js",
15285
+ "name": "ImpaktSegmentedControl",
12839
15286
  "declaration": {
12840
- "name": "ImpaktSelect",
12841
- "module": "src/components/select.ts"
15287
+ "name": "ImpaktSegmentedControl",
15288
+ "module": "src/components/switch.ts"
12842
15289
  }
12843
- }
12844
- ]
12845
- },
12846
- {
12847
- "kind": "javascript-module",
12848
- "path": "src/components/summary-list.ts",
12849
- "declarations": [
12850
- {
12851
- "kind": "class",
12852
- "description": "Key and value pairs — an order summary, a confirmation, a check-your-answers\nscreen.\n\n**It is a description list.** `<dl>` with `<dt>` and `<dd>` says these are\npairs; a stack of divs says nothing, and a table claims a grid that a\ntwo-column list does not have.\n\n**Every \"Change\" names what it changes.** The visible text stays short, and\nthe accessible name is completed with visually hidden words, so a reader\ntabbing through hears \"Change date of birth\" rather than six links all called\n\"Change\". This is 2.4.4 Link Purpose, and it is the single most common\nfailure on a check-your-answers page.",
12853
- "name": "ImpaktSummaryList",
12854
- "members": [
12855
- {
12856
- "kind": "field",
12857
- "name": "rows",
12858
- "privacy": "public",
12859
- "type": {
12860
- "text": "SummaryRow[]"
12861
- },
12862
- "default": "[]",
12863
- "attribute": "rows"
12864
- },
12865
- {
12866
- "kind": "field",
12867
- "name": "changeText",
12868
- "privacy": "public",
12869
- "type": {
12870
- "text": "string"
12871
- },
12872
- "default": "'Change'",
12873
- "attribute": "change-text"
12874
- },
12875
- {
12876
- "kind": "field",
12877
- "name": "uid",
12878
- "privacy": "protected",
12879
- "readonly": true,
12880
- "default": "`impakt-${(counter += 1)}`",
12881
- "description": "A unique id for this instance, for `aria-describedby` and friends.\n\nGenerated once in the constructor rather than in `render`, because an id\nthat changes between renders breaks the relationship it exists to express\n— and it breaks it silently, since the markup still looks correct.",
12882
- "inheritedFrom": {
12883
- "name": "ImpaktElement",
12884
- "module": "src/base/ImpaktElement.ts"
12885
- }
12886
- },
12887
- {
12888
- "kind": "method",
12889
- "name": "id_",
12890
- "privacy": "protected",
12891
- "return": {
12892
- "type": {
12893
- "text": "string"
12894
- }
12895
- },
12896
- "parameters": [
12897
- {
12898
- "name": "part",
12899
- "type": {
12900
- "text": "string"
12901
- }
12902
- }
12903
- ],
12904
- "inheritedFrom": {
12905
- "name": "ImpaktElement",
12906
- "module": "src/base/ImpaktElement.ts"
12907
- }
12908
- }
12909
- ],
12910
- "attributes": [
12911
- {
12912
- "name": "rows",
12913
- "type": {
12914
- "text": "SummaryRow[]"
12915
- },
12916
- "default": "[]",
12917
- "fieldName": "rows"
12918
- },
12919
- {
12920
- "name": "change-text",
12921
- "type": {
12922
- "text": "string"
12923
- },
12924
- "default": "'Change'",
12925
- "fieldName": "changeText"
12926
- }
12927
- ],
12928
- "superclass": {
12929
- "name": "ImpaktElement",
12930
- "module": "/src/base/ImpaktElement"
12931
- },
12932
- "category": "content",
12933
- "icon": "list",
12934
- "tagName": "impakt-summary-list",
12935
- "customElement": true
12936
- }
12937
- ],
12938
- "exports": [
15290
+ },
12939
15291
  {
12940
- "kind": "js",
12941
- "name": "ImpaktSummaryList",
15292
+ "kind": "custom-element-definition",
15293
+ "name": "impakt-switch",
12942
15294
  "declaration": {
12943
- "name": "ImpaktSummaryList",
12944
- "module": "src/components/summary-list.ts"
15295
+ "name": "ImpaktSwitch",
15296
+ "module": "src/components/switch.ts"
12945
15297
  }
12946
15298
  },
12947
15299
  {
12948
15300
  "kind": "custom-element-definition",
12949
- "name": "impakt-summary-list",
15301
+ "name": "impakt-segmented-control",
12950
15302
  "declaration": {
12951
- "name": "ImpaktSummaryList",
12952
- "module": "src/components/summary-list.ts"
15303
+ "name": "ImpaktSegmentedControl",
15304
+ "module": "src/components/switch.ts"
12953
15305
  }
12954
15306
  }
12955
15307
  ]
@@ -13416,11 +15768,24 @@
13416
15768
  "name": "type",
13417
15769
  "privacy": "public",
13418
15770
  "type": {
13419
- "text": "'text' | 'email' | 'tel' | 'number' | 'password' | 'date'"
15771
+ "text": "'text' | 'email' | 'tel' | 'number' | 'password' | 'date' | 'search'"
13420
15772
  },
15773
+ "description": "`search` draws a search icon at the start and rounds the field, as a search box.",
13421
15774
  "default": "'text'",
13422
15775
  "attribute": "type"
13423
15776
  },
15777
+ {
15778
+ "kind": "field",
15779
+ "name": "hideLabel",
15780
+ "privacy": "public",
15781
+ "type": {
15782
+ "text": "boolean"
15783
+ },
15784
+ "description": "Keep the label for screen readers only, for a field whose purpose is plain\nfrom where it sits, such as the search in a top bar. The label stays its\naccessible name; a placeholder is never a substitute for it.",
15785
+ "default": "false",
15786
+ "attribute": "hide-label",
15787
+ "reflects": true
15788
+ },
13424
15789
  {
13425
15790
  "kind": "field",
13426
15791
  "name": "placeholder",
@@ -13489,6 +15854,16 @@
13489
15854
  "module": "src/base/FieldElement.ts"
13490
15855
  }
13491
15856
  },
15857
+ {
15858
+ "kind": "method",
15859
+ "name": "renderInput",
15860
+ "privacy": "private",
15861
+ "return": {
15862
+ "type": {
15863
+ "text": "TemplateResult"
15864
+ }
15865
+ }
15866
+ },
13492
15867
  {
13493
15868
  "kind": "field",
13494
15869
  "name": "formAssociated",
@@ -13782,8 +16157,9 @@
13782
16157
  {
13783
16158
  "name": "type",
13784
16159
  "type": {
13785
- "text": "'text' | 'email' | 'tel' | 'number' | 'password' | 'date'"
16160
+ "text": "'text' | 'email' | 'tel' | 'number' | 'password' | 'date' | 'search'"
13786
16161
  },
16162
+ "description": "`search` draws a search icon at the start and rounds the field, as a search box.",
13787
16163
  "default": "'text'",
13788
16164
  "fieldName": "type"
13789
16165
  },
@@ -13820,6 +16196,15 @@
13820
16196
  "default": "undefined",
13821
16197
  "fieldName": "maxlength"
13822
16198
  },
16199
+ {
16200
+ "name": "hide-label",
16201
+ "type": {
16202
+ "text": "boolean"
16203
+ },
16204
+ "description": "Keep the label for screen readers only, for a field whose purpose is plain\nfrom where it sits, such as the search in a top bar. The label stays its\naccessible name; a placeholder is never a substitute for it.",
16205
+ "default": "false",
16206
+ "fieldName": "hideLabel"
16207
+ },
13823
16208
  {
13824
16209
  "name": "label",
13825
16210
  "type": {