@atomic-ui/ui 0.2.0 → 0.5.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 (219) hide show
  1. package/README.md +88 -105
  2. package/custom-elements.json +6370 -15469
  3. package/dist/base/FieldElement.d.ts +14 -3
  4. package/dist/base/{ImpktElement.d.ts → ImpaktElement.d.ts} +2 -2
  5. package/dist/base/scroll-lock.d.ts +2 -0
  6. package/dist/base/styles.d.ts +31 -5
  7. package/dist/base/tokens.d.ts +1 -1
  8. package/dist/base/tone.d.ts +20 -0
  9. package/dist/chunk-2YRTFWW2.js +26 -0
  10. package/dist/chunk-2YRTFWW2.js.map +1 -0
  11. package/dist/{chunk-7BSZPUE3.js → chunk-3EF4T242.js} +7 -7
  12. package/dist/chunk-3EF4T242.js.map +1 -0
  13. package/dist/{chunk-KFD4O7VA.js → chunk-5Y3HYRCU.js} +7 -7
  14. package/dist/chunk-5Y3HYRCU.js.map +1 -0
  15. package/dist/{chunk-7AJN2TIS.js → chunk-5ZQVL3V2.js} +29 -12
  16. package/dist/chunk-5ZQVL3V2.js.map +1 -0
  17. package/dist/{chunk-NCASAXQT.js → chunk-A7YBFS4H.js} +15 -15
  18. package/dist/chunk-A7YBFS4H.js.map +1 -0
  19. package/dist/{chunk-E2VBUWJ4.js → chunk-ACQ4KYPR.js} +9 -9
  20. package/dist/chunk-ACQ4KYPR.js.map +1 -0
  21. package/dist/{chunk-OMJMUFOW.js → chunk-DE3INTHZ.js} +6 -6
  22. package/dist/chunk-DE3INTHZ.js.map +1 -0
  23. package/dist/chunk-EJD6LT7E.js +161 -0
  24. package/dist/chunk-EJD6LT7E.js.map +1 -0
  25. package/dist/{chunk-XJXCTGDR.js → chunk-EJSX4WCD.js} +9 -9
  26. package/dist/chunk-EJSX4WCD.js.map +1 -0
  27. package/dist/chunk-FMSC7J7J.js +76 -0
  28. package/dist/chunk-FMSC7J7J.js.map +1 -0
  29. package/dist/{chunk-R67PDFKE.js → chunk-FWR6SEIA.js} +33 -33
  30. package/dist/chunk-FWR6SEIA.js.map +1 -0
  31. package/dist/{chunk-FFCIY7NM.js → chunk-GJPHQLLN.js} +8 -8
  32. package/dist/chunk-GJPHQLLN.js.map +1 -0
  33. package/dist/{chunk-OLLZFNO6.js → chunk-HNBG2POR.js} +7 -7
  34. package/dist/chunk-HNBG2POR.js.map +1 -0
  35. package/dist/{chunk-E3XJK7MY.js → chunk-HNZQ7LM4.js} +13 -11
  36. package/dist/chunk-HNZQ7LM4.js.map +1 -0
  37. package/dist/{chunk-3IQ73WNW.js → chunk-I54DOEZB.js} +9 -7
  38. package/dist/chunk-I54DOEZB.js.map +1 -0
  39. package/dist/{chunk-QB2KMV6S.js → chunk-PANH23MF.js} +12 -12
  40. package/dist/chunk-PANH23MF.js.map +1 -0
  41. package/dist/{chunk-UCHJCUYI.js → chunk-PYVUQNFQ.js} +39 -13
  42. package/dist/chunk-PYVUQNFQ.js.map +1 -0
  43. package/dist/{chunk-GQDUHZE3.js → chunk-Q54FX3SY.js} +8 -8
  44. package/dist/chunk-Q54FX3SY.js.map +1 -0
  45. package/dist/{chunk-WFKSOM6O.js → chunk-QBORJTS4.js} +68 -44
  46. package/dist/chunk-QBORJTS4.js.map +1 -0
  47. package/dist/{chunk-TGT7J4EG.js → chunk-RXX4CN5J.js} +7 -7
  48. package/dist/chunk-RXX4CN5J.js.map +1 -0
  49. package/dist/{chunk-XEJMFFIM.js → chunk-SV77SN6P.js} +8 -8
  50. package/dist/chunk-SV77SN6P.js.map +1 -0
  51. package/dist/chunk-TAZZLOUY.js +328 -0
  52. package/dist/chunk-TAZZLOUY.js.map +1 -0
  53. package/dist/{chunk-7OXTZJR4.js → chunk-TRZO5CHU.js} +7 -7
  54. package/dist/chunk-TRZO5CHU.js.map +1 -0
  55. package/dist/{chunk-EDSZI227.js → chunk-UPOTBKKK.js} +12 -9
  56. package/dist/chunk-UPOTBKKK.js.map +1 -0
  57. package/dist/{chunk-26O27BQS.js → chunk-WP5WJ4V5.js} +6 -6
  58. package/dist/chunk-WP5WJ4V5.js.map +1 -0
  59. package/dist/{chunk-YD6IZ2C5.js → chunk-WS5AUJ35.js} +7 -7
  60. package/dist/chunk-WS5AUJ35.js.map +1 -0
  61. package/dist/{chunk-HYPPG4NF.js → chunk-WWYYNR3Z.js} +93 -53
  62. package/dist/chunk-WWYYNR3Z.js.map +1 -0
  63. package/dist/{chunk-NKTMMJYD.js → chunk-XU2XODVH.js} +9 -8
  64. package/dist/chunk-XU2XODVH.js.map +1 -0
  65. package/dist/{chunk-D6C7XEY4.js → chunk-YR6T73GY.js} +24 -12
  66. package/dist/chunk-YR6T73GY.js.map +1 -0
  67. package/dist/{chunk-OB7WULFK.js → chunk-YYYQPKQ7.js} +24 -24
  68. package/dist/chunk-YYYQPKQ7.js.map +1 -0
  69. package/dist/{chunk-FJRHZA3C.js → chunk-Z45LY6BT.js} +9 -9
  70. package/dist/chunk-Z45LY6BT.js.map +1 -0
  71. package/dist/{chunk-6YYAOKNI.js → chunk-ZQBEFP2O.js} +7 -7
  72. package/dist/chunk-ZQBEFP2O.js.map +1 -0
  73. package/dist/chunk-ZS7RPXCT.js +47 -0
  74. package/dist/chunk-ZS7RPXCT.js.map +1 -0
  75. package/dist/components/accordion.d.ts +3 -3
  76. package/dist/components/accordion.js +4 -4
  77. package/dist/components/alert.d.ts +3 -3
  78. package/dist/components/alert.js +4 -4
  79. package/dist/components/app-ui.d.ts +47 -31
  80. package/dist/components/app-ui.js +21 -20
  81. package/dist/components/badge.d.ts +37 -0
  82. package/dist/components/badge.js +9 -0
  83. package/dist/components/blocks.d.ts +37 -74
  84. package/dist/components/blocks.js +10 -13
  85. package/dist/components/button.d.ts +3 -3
  86. package/dist/components/button.js +5 -5
  87. package/dist/components/checkbox-group.d.ts +2 -2
  88. package/dist/components/checkbox-group.js +5 -5
  89. package/dist/components/checkbox.d.ts +2 -2
  90. package/dist/components/checkbox.js +5 -5
  91. package/dist/components/chip.d.ts +58 -0
  92. package/dist/components/chip.js +8 -0
  93. package/dist/components/date-input.d.ts +2 -2
  94. package/dist/components/date-input.js +5 -5
  95. package/dist/components/dialog.d.ts +18 -3
  96. package/dist/components/dialog.js +5 -4
  97. package/dist/components/fieldset.d.ts +3 -3
  98. package/dist/components/fieldset.js +4 -4
  99. package/dist/components/grid.d.ts +3 -3
  100. package/dist/components/grid.js +4 -4
  101. package/dist/components/help.d.ts +3 -3
  102. package/dist/components/help.js +4 -4
  103. package/dist/components/icon.d.ts +3 -3
  104. package/dist/components/icon.js +4 -4
  105. package/dist/components/journey.d.ts +30 -16
  106. package/dist/components/journey.js +15 -15
  107. package/dist/components/layout.d.ts +9 -9
  108. package/dist/components/layout.js +10 -10
  109. package/dist/components/link.d.ts +3 -3
  110. package/dist/components/link.js +5 -5
  111. package/dist/components/list.d.ts +3 -3
  112. package/dist/components/list.js +4 -4
  113. package/dist/components/media.d.ts +8 -8
  114. package/dist/components/media.js +8 -8
  115. package/dist/components/navigation.d.ts +5 -5
  116. package/dist/components/navigation.js +7 -7
  117. package/dist/components/page.d.ts +5 -5
  118. package/dist/components/page.js +6 -6
  119. package/dist/components/price.d.ts +3 -3
  120. package/dist/components/price.js +4 -4
  121. package/dist/components/progress.d.ts +3 -3
  122. package/dist/components/progress.js +4 -4
  123. package/dist/components/radio-group.d.ts +2 -2
  124. package/dist/components/radio-group.js +5 -5
  125. package/dist/components/select.d.ts +2 -2
  126. package/dist/components/select.js +5 -5
  127. package/dist/components/summary-list.d.ts +3 -3
  128. package/dist/components/summary-list.js +4 -4
  129. package/dist/components/table.d.ts +97 -5
  130. package/dist/components/table.js +6 -4
  131. package/dist/components/text-input.d.ts +2 -2
  132. package/dist/components/text-input.js +5 -5
  133. package/dist/components/textarea.d.ts +2 -2
  134. package/dist/components/textarea.js +5 -5
  135. package/dist/index.d.ts +47 -40
  136. package/dist/index.js +206 -269
  137. package/dist/standalone/atomic-ui.js +1928 -0
  138. package/dist/standalone/atomic-ui.js.map +7 -0
  139. package/dist/standalone/index.html +173 -0
  140. package/package.json +19 -7
  141. package/scripts/copy-to-product.mjs +52 -0
  142. package/specimen/index.html +173 -0
  143. package/dist/chunk-26O27BQS.js.map +0 -1
  144. package/dist/chunk-2CFVV2NZ.js +0 -494
  145. package/dist/chunk-2CFVV2NZ.js.map +0 -1
  146. package/dist/chunk-3IQ73WNW.js.map +0 -1
  147. package/dist/chunk-4X723QBD.js +0 -361
  148. package/dist/chunk-4X723QBD.js.map +0 -1
  149. package/dist/chunk-6YYAOKNI.js.map +0 -1
  150. package/dist/chunk-7AJN2TIS.js.map +0 -1
  151. package/dist/chunk-7BSZPUE3.js.map +0 -1
  152. package/dist/chunk-7OXTZJR4.js.map +0 -1
  153. package/dist/chunk-7XEPNEVQ.js +0 -264
  154. package/dist/chunk-7XEPNEVQ.js.map +0 -1
  155. package/dist/chunk-D6C7XEY4.js.map +0 -1
  156. package/dist/chunk-E2VBUWJ4.js.map +0 -1
  157. package/dist/chunk-E3XJK7MY.js.map +0 -1
  158. package/dist/chunk-EDSZI227.js.map +0 -1
  159. package/dist/chunk-FFCIY7NM.js.map +0 -1
  160. package/dist/chunk-FJRHZA3C.js.map +0 -1
  161. package/dist/chunk-GQDUHZE3.js.map +0 -1
  162. package/dist/chunk-HYPPG4NF.js.map +0 -1
  163. package/dist/chunk-J4JULXUG.js +0 -249
  164. package/dist/chunk-J4JULXUG.js.map +0 -1
  165. package/dist/chunk-KFD4O7VA.js.map +0 -1
  166. package/dist/chunk-MVEFM5QI.js +0 -195
  167. package/dist/chunk-MVEFM5QI.js.map +0 -1
  168. package/dist/chunk-NCASAXQT.js.map +0 -1
  169. package/dist/chunk-NKTMMJYD.js.map +0 -1
  170. package/dist/chunk-OB7WULFK.js.map +0 -1
  171. package/dist/chunk-OHDPGIJ3.js +0 -428
  172. package/dist/chunk-OHDPGIJ3.js.map +0 -1
  173. package/dist/chunk-OLLZFNO6.js.map +0 -1
  174. package/dist/chunk-OMJMUFOW.js.map +0 -1
  175. package/dist/chunk-QB2KMV6S.js.map +0 -1
  176. package/dist/chunk-R67PDFKE.js.map +0 -1
  177. package/dist/chunk-RZSZQMSE.js +0 -236
  178. package/dist/chunk-RZSZQMSE.js.map +0 -1
  179. package/dist/chunk-TGT7J4EG.js.map +0 -1
  180. package/dist/chunk-UCHJCUYI.js.map +0 -1
  181. package/dist/chunk-UHLRXI6J.js +0 -453
  182. package/dist/chunk-UHLRXI6J.js.map +0 -1
  183. package/dist/chunk-UNVL3CNM.js +0 -725
  184. package/dist/chunk-UNVL3CNM.js.map +0 -1
  185. package/dist/chunk-WDDWWCHN.js +0 -104
  186. package/dist/chunk-WDDWWCHN.js.map +0 -1
  187. package/dist/chunk-WFKSOM6O.js.map +0 -1
  188. package/dist/chunk-XEJMFFIM.js.map +0 -1
  189. package/dist/chunk-XJXCTGDR.js.map +0 -1
  190. package/dist/chunk-YD6IZ2C5.js.map +0 -1
  191. package/dist/chunk-YK5QI57J.js +0 -396
  192. package/dist/chunk-YK5QI57J.js.map +0 -1
  193. package/dist/components/changelog.d.ts +0 -386
  194. package/dist/components/changelog.js +0 -25
  195. package/dist/components/estimator.d.ts +0 -246
  196. package/dist/components/estimator.js +0 -16
  197. package/dist/components/marketing.d.ts +0 -370
  198. package/dist/components/marketing.js +0 -21
  199. package/dist/components/marketing.js.map +0 -1
  200. package/dist/components/organisms.d.ts +0 -559
  201. package/dist/components/organisms.js +0 -25
  202. package/dist/components/organisms.js.map +0 -1
  203. package/dist/components/property.d.ts +0 -389
  204. package/dist/components/property.js +0 -20
  205. package/dist/components/property.js.map +0 -1
  206. package/dist/components/scene.d.ts +0 -138
  207. package/dist/components/scene.js +0 -8
  208. package/dist/components/scene.js.map +0 -1
  209. package/dist/components/scrubber.d.ts +0 -86
  210. package/dist/components/scrubber.js +0 -8
  211. package/dist/components/scrubber.js.map +0 -1
  212. package/dist/components/selling.d.ts +0 -407
  213. package/dist/components/selling.js +0 -25
  214. package/dist/components/selling.js.map +0 -1
  215. package/dist/components/site.d.ts +0 -283
  216. package/dist/components/site.js +0 -20
  217. package/dist/components/site.js.map +0 -1
  218. /package/dist/components/{changelog.js.map → badge.js.map} +0 -0
  219. /package/dist/components/{estimator.js.map → chip.js.map} +0 -0
@@ -26,7 +26,7 @@ import { FieldElement } from '../base/FieldElement';
26
26
  * @category form
27
27
  * @icon calendar
28
28
  */
29
- export declare class ImpktDateInput extends FieldElement {
29
+ export declare class ImpaktDateInput extends FieldElement {
30
30
  static properties: {
31
31
  day: {
32
32
  type: StringConstructor;
@@ -90,6 +90,6 @@ export declare class ImpktDateInput extends FieldElement {
90
90
  }
91
91
  declare global {
92
92
  interface HTMLElementTagNameMap {
93
- 'impkt-date-input': ImpktDateInput;
93
+ 'impakt-date-input': ImpaktDateInput;
94
94
  }
95
95
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
- ImpktDateInput
3
- } from "../chunk-NKTMMJYD.js";
4
- import "../chunk-7AJN2TIS.js";
5
- import "../chunk-D6C7XEY4.js";
2
+ ImpaktDateInput
3
+ } from "../chunk-XU2XODVH.js";
4
+ import "../chunk-5ZQVL3V2.js";
5
+ import "../chunk-YR6T73GY.js";
6
6
  export {
7
- ImpktDateInput
7
+ ImpaktDateInput
8
8
  };
9
9
  //# sourceMappingURL=date-input.js.map
@@ -1,5 +1,5 @@
1
1
  import { type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  /**
4
4
  * A modal dialog — "are you sure you want to leave this order?".
5
5
  *
@@ -19,13 +19,20 @@ import { ImpktElement } from '../base/ImpktElement';
19
19
  * What is left to get right is the labelling. `aria-labelledby` points at the
20
20
  * dialog's own heading, so it is announced by name on open rather than as
21
21
  * "dialog".
22
+ *
23
+ * Two things the platform leaves out are added. The page behind does not scroll
24
+ * while the dialog is open, so a finger on the backdrop does not move the page
25
+ * out from under it. And with `phone-full-screen` the dialog fills a phone's
26
+ * screen, which suits a dialog holding a form; a short question is better left
27
+ * as a box in the middle, which is the default.
22
28
 
23
29
  *
24
30
  * @category feedback
25
31
  * @icon dialog
32
+ * @fires {CustomEvent<null>} impakt-close - When the dialog is closed.
26
33
  * @slot - The body of the dialog.
27
34
  */
28
- export declare class ImpktDialog extends ImpktElement {
35
+ export declare class ImpaktDialog extends ImpaktElement {
29
36
  static properties: {
30
37
  open: {
31
38
  type: BooleanConstructor;
@@ -41,21 +48,29 @@ export declare class ImpktDialog extends ImpktElement {
41
48
  dismissible: {
42
49
  type: BooleanConstructor;
43
50
  };
51
+ phoneFullScreen: {
52
+ type: BooleanConstructor;
53
+ reflect: boolean;
54
+ attribute: string;
55
+ };
44
56
  };
45
57
  open: boolean;
46
58
  heading: string;
47
59
  closeLabel: string;
48
60
  /** When false, Escape and the backdrop do not close it — a decision must be made. */
49
61
  dismissible: boolean;
62
+ /** Fill the screen on a phone, for a dialog that holds a form or a long text. */
63
+ phoneFullScreen: boolean;
50
64
  constructor();
51
65
  static styles: import("lit").CSSResult[];
52
66
  private get dialog();
53
67
  updated(changed: Map<string, unknown>): void;
68
+ disconnectedCallback(): void;
54
69
  private close;
55
70
  render(): TemplateResult;
56
71
  }
57
72
  declare global {
58
73
  interface HTMLElementTagNameMap {
59
- 'impkt-dialog': ImpktDialog;
74
+ 'impakt-dialog': ImpaktDialog;
60
75
  }
61
76
  }
@@ -1,8 +1,9 @@
1
1
  import {
2
- ImpktDialog
3
- } from "../chunk-UCHJCUYI.js";
4
- import "../chunk-D6C7XEY4.js";
2
+ ImpaktDialog
3
+ } from "../chunk-PYVUQNFQ.js";
4
+ import "../chunk-2YRTFWW2.js";
5
+ import "../chunk-YR6T73GY.js";
5
6
  export {
6
- ImpktDialog
7
+ ImpaktDialog
7
8
  };
8
9
  //# sourceMappingURL=dialog.js.map
@@ -1,5 +1,5 @@
1
1
  import { type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  /**
4
4
  * Fields that belong together under one question: the lines of an address,
5
5
  * or a name in two parts.
@@ -13,7 +13,7 @@ import { ImpktElement } from '../base/ImpktElement';
13
13
  * @icon fieldset
14
14
  * @slot - The fields in the group.
15
15
  */
16
- export declare class ImpktFieldset extends ImpktElement {
16
+ export declare class ImpaktFieldset extends ImpaktElement {
17
17
  static properties: {
18
18
  legend: {
19
19
  type: StringConstructor;
@@ -44,6 +44,6 @@ export declare class ImpktFieldset extends ImpktElement {
44
44
  }
45
45
  declare global {
46
46
  interface HTMLElementTagNameMap {
47
- 'impkt-fieldset': ImpktFieldset;
47
+ 'impakt-fieldset': ImpaktFieldset;
48
48
  }
49
49
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
- ImpktFieldset
3
- } from "../chunk-YD6IZ2C5.js";
4
- import "../chunk-D6C7XEY4.js";
2
+ ImpaktFieldset
3
+ } from "../chunk-WS5AUJ35.js";
4
+ import "../chunk-YR6T73GY.js";
5
5
  export {
6
- ImpktFieldset
6
+ ImpaktFieldset
7
7
  };
8
8
  //# sourceMappingURL=fieldset.js.map
@@ -1,4 +1,4 @@
1
- import { ImpktElement } from '../base/ImpktElement';
1
+ import { ImpaktElement } from '../base/ImpaktElement';
2
2
  /**
3
3
  * A responsive row with named column slots. Child order stays inside each
4
4
  * column; changing a page's visual grid never reorders its reading sequence.
@@ -14,7 +14,7 @@ import { ImpktElement } from '../base/ImpktElement';
14
14
  * @slot column-3 - Third column.
15
15
  * @slot column-4 - Fourth column.
16
16
  */
17
- export declare class ImpktGrid extends ImpktElement {
17
+ export declare class ImpaktGrid extends ImpaktElement {
18
18
  static properties: {
19
19
  columns: {
20
20
  type: StringConstructor;
@@ -67,6 +67,6 @@ export declare class ImpktGrid extends ImpktElement {
67
67
  }
68
68
  declare global {
69
69
  interface HTMLElementTagNameMap {
70
- 'impkt-grid': ImpktGrid;
70
+ 'impakt-grid': ImpaktGrid;
71
71
  }
72
72
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
- ImpktGrid
3
- } from "../chunk-6YYAOKNI.js";
4
- import "../chunk-D6C7XEY4.js";
2
+ ImpaktGrid
3
+ } from "../chunk-ZQBEFP2O.js";
4
+ import "../chunk-YR6T73GY.js";
5
5
  export {
6
- ImpktGrid
6
+ ImpaktGrid
7
7
  };
8
8
  //# sourceMappingURL=grid.js.map
@@ -1,5 +1,5 @@
1
1
  import { nothing, type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  /**
4
4
  * What form a help mechanism takes.
5
5
  *
@@ -54,7 +54,7 @@ export type HelpKind = 'link' | 'phone' | 'email' | 'address' | 'hours';
54
54
  * @icon help
55
55
  * @role help
56
56
  */
57
- export declare class ImpktHelp extends ImpktElement {
57
+ export declare class ImpaktHelp extends ImpaktElement {
58
58
  static properties: {
59
59
  mechanismId: {
60
60
  type: StringConstructor;
@@ -98,6 +98,6 @@ export declare class ImpktHelp extends ImpktElement {
98
98
  }
99
99
  declare global {
100
100
  interface HTMLElementTagNameMap {
101
- 'impkt-help': ImpktHelp;
101
+ 'impakt-help': ImpaktHelp;
102
102
  }
103
103
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
- ImpktHelp
3
- } from "../chunk-7OXTZJR4.js";
4
- import "../chunk-D6C7XEY4.js";
2
+ ImpaktHelp
3
+ } from "../chunk-TRZO5CHU.js";
4
+ import "../chunk-YR6T73GY.js";
5
5
  export {
6
- ImpktHelp
6
+ ImpaktHelp
7
7
  };
8
8
  //# sourceMappingURL=help.js.map
@@ -1,5 +1,5 @@
1
1
  import { nothing, type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  /**
4
4
  * The icons the library draws, each on a 24 by 24 grid in strokes of the
5
5
  * current text colour. Kept to a set the components need and editors reach
@@ -55,7 +55,7 @@ export declare function iconSvg(name: string | undefined, size?: string): Templa
55
55
  * @category media
56
56
  * @icon star
57
57
  */
58
- export declare class ImpktIcon extends ImpktElement {
58
+ export declare class ImpaktIcon extends ImpaktElement {
59
59
  static properties: {
60
60
  name: {
61
61
  type: StringConstructor;
@@ -86,6 +86,6 @@ export declare class ImpktIcon extends ImpktElement {
86
86
  }
87
87
  declare global {
88
88
  interface HTMLElementTagNameMap {
89
- 'impkt-icon': ImpktIcon;
89
+ 'impakt-icon': ImpaktIcon;
90
90
  }
91
91
  }
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  ICONS,
3
3
  ICON_NAMES,
4
- ImpktIcon,
4
+ ImpaktIcon,
5
5
  iconSvg
6
- } from "../chunk-KFD4O7VA.js";
7
- import "../chunk-D6C7XEY4.js";
6
+ } from "../chunk-5Y3HYRCU.js";
7
+ import "../chunk-YR6T73GY.js";
8
8
  export {
9
9
  ICONS,
10
10
  ICON_NAMES,
11
- ImpktIcon,
11
+ ImpaktIcon,
12
12
  iconSvg
13
13
  };
14
14
  //# sourceMappingURL=icon.js.map
@@ -1,5 +1,5 @@
1
1
  import { nothing, type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  import { FieldElement } from '../base/FieldElement';
4
4
  /** One address a postcode search found. */
5
5
  export interface AddressItem {
@@ -29,13 +29,14 @@ export interface TaskItem {
29
29
  *
30
30
  * The addresses come from the app. With `lookup-url` set, the component asks
31
31
  * that address itself (`?postcode=…`, answering `[{ id, line }]`); otherwise
32
- * it fires `impkt-lookup` with the postcode and the app sets `addresses`.
32
+ * it fires `impakt-lookup` with the postcode and the app sets `addresses`.
33
33
  * There is always a way to type the address in, because no list is complete.
34
34
  *
35
+ * @fires {CustomEvent<{ postcode: string }>} impakt-lookup - When a postcode is searched for. The postcode is in detail.postcode.
35
36
  * @category form
36
37
  * @icon home
37
38
  */
38
- export declare class ImpktAddressLookup extends FieldElement {
39
+ export declare class ImpaktAddressLookup extends FieldElement {
39
40
  static properties: {
40
41
  postcodeLabel: {
41
42
  type: StringConstructor;
@@ -120,12 +121,14 @@ export declare class ImpktAddressLookup extends FieldElement {
120
121
  *
121
122
  * It takes focus when it appears, so someone using a screen reader hears what
122
123
  * is wrong straight away rather than finding out field by field. It draws
123
- * nothing while there are no mistakes.
124
+ * nothing while there are no mistakes. Each link moves focus to its field, which
125
+ * may be a field inside another component, such as `#postcode` for an
126
+ * `impakt-text-input` with that id.
124
127
  *
125
128
  * @category feedback
126
129
  * @icon alert
127
130
  */
128
- export declare class ImpktErrorSummary extends ImpktElement {
131
+ export declare class ImpaktErrorSummary extends ImpaktElement {
129
132
  static properties: {
130
133
  heading: {
131
134
  type: StringConstructor;
@@ -159,12 +162,19 @@ export declare class ImpktErrorSummary extends ImpktElement {
159
162
  *
160
163
  * A file can be chosen or dropped on the box. Each one is checked for type and
161
164
  * size here and listed with a Remove button; the upload itself is the app's,
162
- * which gets the files on `impkt-files`. The answer is the file names.
165
+ * which gets the files on `impakt-files`. The answer is the file names.
166
+ *
167
+ * The file input itself takes focus, so Tab reaches it and Enter or Space opens
168
+ * the file chooser; the visible button is its label and draws its focus ring.
169
+ * A file that is added or removed is said to a screen reader, and a file that
170
+ * does not fit marks the box and says why.
171
+ *
172
+ * @fires {CustomEvent<{ files: File[] }>} impakt-files - When the files change. The files are in detail.files.
163
173
  *
164
174
  * @category form
165
175
  * @icon upload
166
176
  */
167
- export declare class ImpktFileUpload extends FieldElement {
177
+ export declare class ImpaktFileUpload extends FieldElement {
168
178
  static properties: {
169
179
  accept: {
170
180
  type: StringConstructor;
@@ -226,12 +236,14 @@ export declare class ImpktFileUpload extends FieldElement {
226
236
  dropText: string;
227
237
  files: File[];
228
238
  over: boolean;
239
+ protected said: string;
229
240
  constructor();
230
241
  static styles: import("lit").CSSResult[];
231
242
  private fits;
232
243
  /** Adds files, keeping only those that pass, and says why any did not. */
233
244
  add(list: FileList | File[]): void;
234
245
  private removeFile;
246
+ updated(changed: Map<string, unknown>): void;
235
247
  private sync;
236
248
  protected renderControl(): TemplateResult;
237
249
  }
@@ -246,7 +258,7 @@ export declare function groupDigits(value: string): string;
246
258
  * @category form
247
259
  * @icon pound
248
260
  */
249
- export declare class ImpktMoneyInput extends FieldElement {
261
+ export declare class ImpaktMoneyInput extends FieldElement {
250
262
  static properties: {
251
263
  currency: {
252
264
  type: StringConstructor;
@@ -308,6 +320,8 @@ export declare class ImpktMoneyInput extends FieldElement {
308
320
  willUpdate(changed: Map<string, unknown>): void;
309
321
  private typed;
310
322
  private check;
323
+ /** The currency sign describes the field too, so a screen reader hears that the amount is in pounds. */
324
+ protected get describedBy(): string | typeof nothing;
311
325
  protected renderControl(): TemplateResult;
312
326
  updated(changed: Map<string, unknown>): void;
313
327
  }
@@ -319,7 +333,7 @@ export declare class ImpktMoneyInput extends FieldElement {
319
333
  * @category form
320
334
  * @icon sliders
321
335
  */
322
- export declare class ImpktRangeInput extends FieldElement {
336
+ export declare class ImpaktRangeInput extends FieldElement {
323
337
  static properties: {
324
338
  lowest: {
325
339
  type: NumberConstructor;
@@ -389,7 +403,7 @@ export declare class ImpktRangeInput extends FieldElement {
389
403
  * @category content
390
404
  * @icon list
391
405
  */
392
- export declare class ImpktTaskList extends ImpktElement {
406
+ export declare class ImpaktTaskList extends ImpaktElement {
393
407
  static properties: {
394
408
  heading: {
395
409
  type: StringConstructor;
@@ -423,11 +437,11 @@ export declare class ImpktTaskList extends ImpktElement {
423
437
  }
424
438
  declare global {
425
439
  interface HTMLElementTagNameMap {
426
- 'impkt-address-lookup': ImpktAddressLookup;
427
- 'impkt-error-summary': ImpktErrorSummary;
428
- 'impkt-file-upload': ImpktFileUpload;
429
- 'impkt-money-input': ImpktMoneyInput;
430
- 'impkt-range-input': ImpktRangeInput;
431
- 'impkt-task-list': ImpktTaskList;
440
+ 'impakt-address-lookup': ImpaktAddressLookup;
441
+ 'impakt-error-summary': ImpaktErrorSummary;
442
+ 'impakt-file-upload': ImpaktFileUpload;
443
+ 'impakt-money-input': ImpaktMoneyInput;
444
+ 'impakt-range-input': ImpaktRangeInput;
445
+ 'impakt-task-list': ImpaktTaskList;
432
446
  }
433
447
  }
@@ -1,22 +1,22 @@
1
1
  import {
2
- ImpktAddressLookup,
3
- ImpktErrorSummary,
4
- ImpktFileUpload,
5
- ImpktMoneyInput,
6
- ImpktRangeInput,
7
- ImpktTaskList,
2
+ ImpaktAddressLookup,
3
+ ImpaktErrorSummary,
4
+ ImpaktFileUpload,
5
+ ImpaktMoneyInput,
6
+ ImpaktRangeInput,
7
+ ImpaktTaskList,
8
8
  groupDigits
9
- } from "../chunk-WFKSOM6O.js";
9
+ } from "../chunk-QBORJTS4.js";
10
10
  import "../chunk-3IGNZTJU.js";
11
- import "../chunk-7AJN2TIS.js";
12
- import "../chunk-D6C7XEY4.js";
11
+ import "../chunk-5ZQVL3V2.js";
12
+ import "../chunk-YR6T73GY.js";
13
13
  export {
14
- ImpktAddressLookup,
15
- ImpktErrorSummary,
16
- ImpktFileUpload,
17
- ImpktMoneyInput,
18
- ImpktRangeInput,
19
- ImpktTaskList,
14
+ ImpaktAddressLookup,
15
+ ImpaktErrorSummary,
16
+ ImpaktFileUpload,
17
+ ImpaktMoneyInput,
18
+ ImpaktRangeInput,
19
+ ImpaktTaskList,
20
20
  groupDigits
21
21
  };
22
22
  //# sourceMappingURL=journey.js.map
@@ -1,5 +1,5 @@
1
1
  import { type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  /**
4
4
  * Layout and typography primitives.
5
5
  *
@@ -13,7 +13,7 @@ import { ImpktElement } from '../base/ImpktElement';
13
13
  * @icon stack
14
14
  * @slot - The things being stacked.
15
15
  */
16
- export declare class ImpktStack extends ImpktElement {
16
+ export declare class ImpaktStack extends ImpaktElement {
17
17
  static properties: {
18
18
  gap: {
19
19
  type: StringConstructor;
@@ -63,7 +63,7 @@ export declare class ImpktStack extends ImpktElement {
63
63
  * @icon card
64
64
  * @slot - What sits on the card.
65
65
  */
66
- export declare class ImpktCard extends ImpktElement {
66
+ export declare class ImpaktCard extends ImpaktElement {
67
67
  static properties: {
68
68
  tone: {
69
69
  type: StringConstructor;
@@ -140,7 +140,7 @@ export declare class ImpktCard extends ImpktElement {
140
140
  * @role heading
141
141
  * @slot - The heading text.
142
142
  */
143
- export declare class ImpktHeading extends ImpktElement {
143
+ export declare class ImpaktHeading extends ImpaktElement {
144
144
  static properties: {
145
145
  level: {
146
146
  type: NumberConstructor;
@@ -185,7 +185,7 @@ export declare class ImpktHeading extends ImpktElement {
185
185
  * @icon text
186
186
  * @slot - The paragraph text.
187
187
  */
188
- export declare class ImpktText extends ImpktElement {
188
+ export declare class ImpaktText extends ImpaktElement {
189
189
  static properties: {
190
190
  size: {
191
191
  type: StringConstructor;
@@ -215,9 +215,9 @@ export declare class ImpktText extends ImpktElement {
215
215
  }
216
216
  declare global {
217
217
  interface HTMLElementTagNameMap {
218
- 'impkt-stack': ImpktStack;
219
- 'impkt-card': ImpktCard;
220
- 'impkt-heading': ImpktHeading;
221
- 'impkt-text': ImpktText;
218
+ 'impakt-stack': ImpaktStack;
219
+ 'impakt-card': ImpaktCard;
220
+ 'impakt-heading': ImpaktHeading;
221
+ 'impakt-text': ImpaktText;
222
222
  }
223
223
  }
@@ -1,14 +1,14 @@
1
1
  import {
2
- ImpktCard,
3
- ImpktHeading,
4
- ImpktStack,
5
- ImpktText
6
- } from "../chunk-OB7WULFK.js";
7
- import "../chunk-D6C7XEY4.js";
2
+ ImpaktCard,
3
+ ImpaktHeading,
4
+ ImpaktStack,
5
+ ImpaktText
6
+ } from "../chunk-YYYQPKQ7.js";
7
+ import "../chunk-YR6T73GY.js";
8
8
  export {
9
- ImpktCard,
10
- ImpktHeading,
11
- ImpktStack,
12
- ImpktText
9
+ ImpaktCard,
10
+ ImpaktHeading,
11
+ ImpaktStack,
12
+ ImpaktText
13
13
  };
14
14
  //# sourceMappingURL=layout.js.map
@@ -1,5 +1,5 @@
1
1
  import { type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  /**
4
4
  * A link.
5
5
  *
@@ -18,7 +18,7 @@ import { ImpktElement } from '../base/ImpktElement';
18
18
  * @icon link
19
19
  * @slot - The link text.
20
20
  */
21
- export declare class ImpktLink extends ImpktElement {
21
+ export declare class ImpaktLink extends ImpaktElement {
22
22
  static properties: {
23
23
  href: {
24
24
  type: StringConstructor;
@@ -52,6 +52,6 @@ export declare class ImpktLink extends ImpktElement {
52
52
  }
53
53
  declare global {
54
54
  interface HTMLElementTagNameMap {
55
- 'impkt-link': ImpktLink;
55
+ 'impakt-link': ImpaktLink;
56
56
  }
57
57
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
- ImpktLink
3
- } from "../chunk-GQDUHZE3.js";
4
- import "../chunk-KFD4O7VA.js";
5
- import "../chunk-D6C7XEY4.js";
2
+ ImpaktLink
3
+ } from "../chunk-Q54FX3SY.js";
4
+ import "../chunk-5Y3HYRCU.js";
5
+ import "../chunk-YR6T73GY.js";
6
6
  export {
7
- ImpktLink
7
+ ImpaktLink
8
8
  };
9
9
  //# sourceMappingURL=link.js.map
@@ -1,5 +1,5 @@
1
1
  import { type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  /**
4
4
  * A list of short points: what a phase delivers, what a plan includes, the
5
5
  * steps of an argument in an article. A bullet, a tick or a number marks each
@@ -8,7 +8,7 @@ import { ImpktElement } from '../base/ImpktElement';
8
8
  * @category content
9
9
  * @icon list
10
10
  */
11
- export declare class ImpktList extends ImpktElement {
11
+ export declare class ImpaktList extends ImpaktElement {
12
12
  static properties: {
13
13
  items: {
14
14
  type: ArrayConstructor;
@@ -45,6 +45,6 @@ export declare class ImpktList extends ImpktElement {
45
45
  }
46
46
  declare global {
47
47
  interface HTMLElementTagNameMap {
48
- 'impkt-list': ImpktList;
48
+ 'impakt-list': ImpaktList;
49
49
  }
50
50
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
- ImpktList
3
- } from "../chunk-7BSZPUE3.js";
4
- import "../chunk-D6C7XEY4.js";
2
+ ImpaktList
3
+ } from "../chunk-3EF4T242.js";
4
+ import "../chunk-YR6T73GY.js";
5
5
  export {
6
- ImpktList
6
+ ImpaktList
7
7
  };
8
8
  //# sourceMappingURL=list.js.map
@@ -1,5 +1,5 @@
1
1
  import { type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
2
+ import { ImpaktElement } from '../base/ImpaktElement';
3
3
  /**
4
4
  * An image.
5
5
  *
@@ -19,7 +19,7 @@ import { ImpktElement } from '../base/ImpktElement';
19
19
  * @icon image
20
20
  * @role image
21
21
  */
22
- export declare class ImpktImage extends ImpktElement {
22
+ export declare class ImpaktImage extends ImpaktElement {
23
23
  static properties: {
24
24
  src: {
25
25
  type: StringConstructor;
@@ -96,7 +96,7 @@ export declare class ImpktImage extends ImpktElement {
96
96
  /**
97
97
  * The partner's logo.
98
98
  *
99
- * Separate from `impkt-image` for one reason: it is the most prominent image on
99
+ * Separate from `impakt-image` for one reason: it is the most prominent image on
100
100
  * every page and its alt text is the brand name, so it should not be possible
101
101
  * to ship it with an empty alt by copying a decorative image. `src` and `alt`
102
102
  * come from the brand's assets.
@@ -109,7 +109,7 @@ export declare class ImpktImage extends ImpktElement {
109
109
  * @category media
110
110
  * @icon logo
111
111
  */
112
- export declare class ImpktLogo extends ImpktElement {
112
+ export declare class ImpaktLogo extends ImpaktElement {
113
113
  static properties: {
114
114
  src: {
115
115
  type: StringConstructor;
@@ -150,7 +150,7 @@ export declare class ImpktLogo extends ImpktElement {
150
150
  * @category media
151
151
  * @icon document
152
152
  */
153
- export declare class ImpktDocumentLink extends ImpktElement {
153
+ export declare class ImpaktDocumentLink extends ImpaktElement {
154
154
  static properties: {
155
155
  href: {
156
156
  type: StringConstructor;
@@ -179,8 +179,8 @@ export declare class ImpktDocumentLink extends ImpktElement {
179
179
  }
180
180
  declare global {
181
181
  interface HTMLElementTagNameMap {
182
- 'impkt-image': ImpktImage;
183
- 'impkt-logo': ImpktLogo;
184
- 'impkt-document-link': ImpktDocumentLink;
182
+ 'impakt-image': ImpaktImage;
183
+ 'impakt-logo': ImpaktLogo;
184
+ 'impakt-document-link': ImpaktDocumentLink;
185
185
  }
186
186
  }