@atomic-ui/ui 0.1.7 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/README.md +82 -95
  2. package/custom-elements.json +25364 -0
  3. package/dist/base/FieldElement.d.ts +11 -0
  4. package/dist/base/ImpktElement.d.ts +14 -0
  5. package/dist/base/locale.d.ts +8 -0
  6. package/dist/base/say.d.ts +1 -0
  7. package/dist/base/scroll-lock.d.ts +2 -0
  8. package/dist/base/styles.d.ts +25 -6
  9. package/dist/base/tokens.d.ts +5 -1
  10. package/dist/chunk-2YRTFWW2.js +26 -0
  11. package/dist/chunk-2YRTFWW2.js.map +1 -0
  12. package/dist/{chunk-X7IPZPTG.js → chunk-37PA72FC.js} +34 -19
  13. package/dist/chunk-37PA72FC.js.map +1 -0
  14. package/dist/chunk-3IGNZTJU.js +14 -0
  15. package/dist/chunk-3IGNZTJU.js.map +1 -0
  16. package/dist/{chunk-NTNXHLTM.js → chunk-3KO55PZK.js} +47 -2
  17. package/dist/chunk-3KO55PZK.js.map +1 -0
  18. package/dist/chunk-3RE4H2XO.js +53 -0
  19. package/dist/chunk-3RE4H2XO.js.map +1 -0
  20. package/dist/{chunk-5EA4IDUD.js → chunk-46BYUQ5A.js} +2 -2
  21. package/dist/{chunk-WECSVHIM.js → chunk-4OYHT4BN.js} +7 -3
  22. package/dist/chunk-4OYHT4BN.js.map +1 -0
  23. package/dist/{chunk-4HU4Y23Q.js → chunk-55DK75QF.js} +6 -4
  24. package/dist/chunk-55DK75QF.js.map +1 -0
  25. package/dist/{chunk-XVKEM5JY.js → chunk-5QSTXIPG.js} +2 -2
  26. package/dist/{chunk-QCNT7D5V.js → chunk-7P4Z4CLK.js} +63 -20
  27. package/dist/chunk-7P4Z4CLK.js.map +1 -0
  28. package/dist/{chunk-GSCVG2ER.js → chunk-APJ5JGRW.js} +3 -3
  29. package/dist/chunk-AUVIOU5G.js +522 -0
  30. package/dist/chunk-AUVIOU5G.js.map +1 -0
  31. package/dist/{chunk-6ICOJPMD.js → chunk-CUUBAETM.js} +4 -3
  32. package/dist/chunk-CUUBAETM.js.map +1 -0
  33. package/dist/{chunk-NQKYHILD.js → chunk-DAH7RLW3.js} +3 -3
  34. package/dist/{chunk-OB7LC6NJ.js → chunk-DJEZW7AC.js} +2 -2
  35. package/dist/{chunk-XJP45LFA.js → chunk-DKZ425AM.js} +15 -5
  36. package/dist/chunk-DKZ425AM.js.map +1 -0
  37. package/dist/{chunk-GO2IBRFP.js → chunk-F4YQWKK2.js} +7 -4
  38. package/dist/chunk-F4YQWKK2.js.map +1 -0
  39. package/dist/chunk-FVCM4WHD.js +328 -0
  40. package/dist/chunk-FVCM4WHD.js.map +1 -0
  41. package/dist/chunk-GBRML4RF.js +264 -0
  42. package/dist/chunk-GBRML4RF.js.map +1 -0
  43. package/dist/{chunk-ZQJD4YEJ.js → chunk-HXINWP3V.js} +42 -13
  44. package/dist/chunk-HXINWP3V.js.map +1 -0
  45. package/dist/{chunk-T6L3USBZ.js → chunk-IOBSIAHB.js} +23 -11
  46. package/dist/chunk-IOBSIAHB.js.map +1 -0
  47. package/dist/{chunk-7Y6UCSUS.js → chunk-IZOTGWWI.js} +5 -5
  48. package/dist/chunk-IZOTGWWI.js.map +1 -0
  49. package/dist/{chunk-MLVUMCQ2.js → chunk-J2FACXYI.js} +14 -5
  50. package/dist/chunk-J2FACXYI.js.map +1 -0
  51. package/dist/{chunk-VTFCTWSX.js → chunk-KKJEEKL2.js} +33 -7
  52. package/dist/chunk-KKJEEKL2.js.map +1 -0
  53. package/dist/{chunk-HWWA27DN.js → chunk-KMCGX76Y.js} +2 -2
  54. package/dist/{chunk-2YQA3VBY.js → chunk-NKMVICB5.js} +4 -2
  55. package/dist/chunk-NKMVICB5.js.map +1 -0
  56. package/dist/{chunk-ZBLTU67D.js → chunk-OFLMG6RN.js} +15 -11
  57. package/dist/chunk-OFLMG6RN.js.map +1 -0
  58. package/dist/{chunk-CMAU4DSB.js → chunk-P6GDMZK4.js} +5 -5
  59. package/dist/chunk-P6GDMZK4.js.map +1 -0
  60. package/dist/{chunk-MOEMFL4K.js → chunk-PO6FCAIS.js} +5 -5
  61. package/dist/chunk-PO6FCAIS.js.map +1 -0
  62. package/dist/chunk-PWLZFGS3.js +494 -0
  63. package/dist/chunk-PWLZFGS3.js.map +1 -0
  64. package/dist/chunk-QJIB36DM.js +249 -0
  65. package/dist/chunk-QJIB36DM.js.map +1 -0
  66. package/dist/{chunk-TPF4MOMF.js → chunk-R7FKGFW6.js} +7 -4
  67. package/dist/chunk-R7FKGFW6.js.map +1 -0
  68. package/dist/{chunk-ZGAOMRYD.js → chunk-RWWRTURA.js} +3 -3
  69. package/dist/{chunk-QDNI54ON.js → chunk-RYBY35QE.js} +10 -8
  70. package/dist/chunk-RYBY35QE.js.map +1 -0
  71. package/dist/chunk-S7F5VKWU.js +453 -0
  72. package/dist/chunk-S7F5VKWU.js.map +1 -0
  73. package/dist/chunk-T5W3FDSF.js +396 -0
  74. package/dist/chunk-T5W3FDSF.js.map +1 -0
  75. package/dist/{chunk-BTGCUONV.js → chunk-TCXKZDMR.js} +2 -2
  76. package/dist/{chunk-C36CZRHK.js → chunk-WGPB3QQU.js} +43 -13
  77. package/dist/chunk-WGPB3QQU.js.map +1 -0
  78. package/dist/{chunk-G6OVKNL7.js → chunk-XPCU4KUY.js} +5 -4
  79. package/dist/chunk-XPCU4KUY.js.map +1 -0
  80. package/dist/chunk-YRYZUYY7.js +236 -0
  81. package/dist/chunk-YRYZUYY7.js.map +1 -0
  82. package/dist/{chunk-7BIQ3K6H.js → chunk-ZOTAAYO5.js} +12 -2
  83. package/dist/chunk-ZOTAAYO5.js.map +1 -0
  84. package/dist/components/accordion.js +2 -2
  85. package/dist/components/alert.js +2 -2
  86. package/dist/components/app-ui.d.ts +28 -12
  87. package/dist/components/app-ui.js +6 -4
  88. package/dist/components/blocks.d.ts +28 -2
  89. package/dist/components/blocks.js +3 -3
  90. package/dist/components/button.d.ts +7 -0
  91. package/dist/components/button.js +3 -3
  92. package/dist/components/changelog.d.ts +386 -0
  93. package/dist/components/changelog.js +25 -0
  94. package/dist/components/changelog.js.map +1 -0
  95. package/dist/components/checkbox-group.js +3 -3
  96. package/dist/components/checkbox.js +3 -3
  97. package/dist/components/date-input.js +3 -3
  98. package/dist/components/dialog.d.ts +15 -0
  99. package/dist/components/dialog.js +3 -2
  100. package/dist/components/estimator.d.ts +246 -0
  101. package/dist/components/estimator.js +16 -0
  102. package/dist/components/estimator.js.map +1 -0
  103. package/dist/components/fieldset.js +2 -2
  104. package/dist/components/grid.js +2 -2
  105. package/dist/components/help.js +2 -2
  106. package/dist/components/icon.d.ts +2 -0
  107. package/dist/components/icon.js +2 -2
  108. package/dist/components/journey.d.ts +447 -0
  109. package/dist/components/journey.js +22 -0
  110. package/dist/components/journey.js.map +1 -0
  111. package/dist/components/layout.d.ts +24 -0
  112. package/dist/components/layout.js +2 -2
  113. package/dist/components/link.js +3 -3
  114. package/dist/components/list.d.ts +50 -0
  115. package/dist/components/list.js +8 -0
  116. package/dist/components/list.js.map +1 -0
  117. package/dist/components/marketing.d.ts +1 -1
  118. package/dist/components/marketing.js +3 -3
  119. package/dist/components/media.d.ts +10 -0
  120. package/dist/components/media.js +2 -2
  121. package/dist/components/navigation.d.ts +16 -0
  122. package/dist/components/navigation.js +3 -3
  123. package/dist/components/organisms.d.ts +13 -1
  124. package/dist/components/organisms.js +3 -3
  125. package/dist/components/page.js +2 -2
  126. package/dist/components/price.d.ts +1 -1
  127. package/dist/components/price.js +3 -2
  128. package/dist/components/progress.js +2 -2
  129. package/dist/components/property.d.ts +1 -1
  130. package/dist/components/property.js +4 -3
  131. package/dist/components/radio-group.js +3 -3
  132. package/dist/components/scene.d.ts +138 -0
  133. package/dist/components/scene.js +8 -0
  134. package/dist/components/scene.js.map +1 -0
  135. package/dist/components/scrubber.d.ts +86 -0
  136. package/dist/components/scrubber.js +8 -0
  137. package/dist/components/scrubber.js.map +1 -0
  138. package/dist/components/select.js +3 -3
  139. package/dist/components/selling.d.ts +409 -0
  140. package/dist/components/selling.js +25 -0
  141. package/dist/components/selling.js.map +1 -0
  142. package/dist/components/site.d.ts +283 -0
  143. package/dist/components/site.js +20 -0
  144. package/dist/components/site.js.map +1 -0
  145. package/dist/components/summary-list.js +2 -2
  146. package/dist/components/table.d.ts +94 -2
  147. package/dist/components/table.js +4 -2
  148. package/dist/components/text-input.js +3 -3
  149. package/dist/components/textarea.d.ts +13 -0
  150. package/dist/components/textarea.js +3 -3
  151. package/dist/index.d.ts +10 -2
  152. package/dist/index.js +135 -55
  153. package/dist/standalone/atomic-ui.js +3134 -0
  154. package/dist/standalone/atomic-ui.js.map +7 -0
  155. package/dist/standalone/index.html +174 -0
  156. package/package.json +26 -7
  157. package/scripts/copy-to-product.mjs +52 -0
  158. package/specimen/index.html +174 -0
  159. package/dist/chunk-2YQA3VBY.js.map +0 -1
  160. package/dist/chunk-4HU4Y23Q.js.map +0 -1
  161. package/dist/chunk-6ICOJPMD.js.map +0 -1
  162. package/dist/chunk-7BIQ3K6H.js.map +0 -1
  163. package/dist/chunk-7Y6UCSUS.js.map +0 -1
  164. package/dist/chunk-C36CZRHK.js.map +0 -1
  165. package/dist/chunk-CMAU4DSB.js.map +0 -1
  166. package/dist/chunk-G6OVKNL7.js.map +0 -1
  167. package/dist/chunk-GO2IBRFP.js.map +0 -1
  168. package/dist/chunk-MLVUMCQ2.js.map +0 -1
  169. package/dist/chunk-MOEMFL4K.js.map +0 -1
  170. package/dist/chunk-NTNXHLTM.js.map +0 -1
  171. package/dist/chunk-QCNT7D5V.js.map +0 -1
  172. package/dist/chunk-QDNI54ON.js.map +0 -1
  173. package/dist/chunk-T6L3USBZ.js.map +0 -1
  174. package/dist/chunk-TPF4MOMF.js.map +0 -1
  175. package/dist/chunk-VTFCTWSX.js.map +0 -1
  176. package/dist/chunk-VWNBB7FW.js +0 -104
  177. package/dist/chunk-VWNBB7FW.js.map +0 -1
  178. package/dist/chunk-WECSVHIM.js.map +0 -1
  179. package/dist/chunk-X7IPZPTG.js.map +0 -1
  180. package/dist/chunk-XJP45LFA.js.map +0 -1
  181. package/dist/chunk-ZBLTU67D.js.map +0 -1
  182. package/dist/chunk-ZQJD4YEJ.js.map +0 -1
  183. /package/dist/{chunk-5EA4IDUD.js.map → chunk-46BYUQ5A.js.map} +0 -0
  184. /package/dist/{chunk-XVKEM5JY.js.map → chunk-5QSTXIPG.js.map} +0 -0
  185. /package/dist/{chunk-GSCVG2ER.js.map → chunk-APJ5JGRW.js.map} +0 -0
  186. /package/dist/{chunk-NQKYHILD.js.map → chunk-DAH7RLW3.js.map} +0 -0
  187. /package/dist/{chunk-OB7LC6NJ.js.map → chunk-DJEZW7AC.js.map} +0 -0
  188. /package/dist/{chunk-HWWA27DN.js.map → chunk-KMCGX76Y.js.map} +0 -0
  189. /package/dist/{chunk-ZGAOMRYD.js.map → chunk-RWWRTURA.js.map} +0 -0
  190. /package/dist/{chunk-BTGCUONV.js.map → chunk-TCXKZDMR.js.map} +0 -0
@@ -0,0 +1,20 @@
1
+ import {
2
+ ImpktChip,
3
+ ImpktSiteFooter,
4
+ ImpktSiteHeader,
5
+ ImpktWordmark
6
+ } from "../chunk-QJIB36DM.js";
7
+ import "../chunk-J2FACXYI.js";
8
+ import "../chunk-DKZ425AM.js";
9
+ import "../chunk-PWLZFGS3.js";
10
+ import "../chunk-OFLMG6RN.js";
11
+ import "../chunk-3IGNZTJU.js";
12
+ import "../chunk-NKMVICB5.js";
13
+ import "../chunk-3KO55PZK.js";
14
+ export {
15
+ ImpktChip,
16
+ ImpktSiteFooter,
17
+ ImpktSiteHeader,
18
+ ImpktWordmark
19
+ };
20
+ //# sourceMappingURL=site.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ImpktSummaryList
3
- } from "../chunk-GO2IBRFP.js";
4
- import "../chunk-NTNXHLTM.js";
3
+ } from "../chunk-F4YQWKK2.js";
4
+ import "../chunk-3KO55PZK.js";
5
5
  export {
6
6
  ImpktSummaryList
7
7
  };
@@ -4,9 +4,13 @@ export interface TableColumn {
4
4
  key: string;
5
5
  label: string;
6
6
  numeric?: boolean;
7
+ /** Let the rows be sorted by this column. Its heading becomes a button. */
8
+ sortable?: boolean;
7
9
  }
10
+ /** Which way a sorted column runs, in the words `aria-sort` uses. */
11
+ export type SortDirection = 'ascending' | 'descending';
8
12
  /**
9
- * A data table — a plan comparison, a payment schedule.
13
+ * A data table — a plan comparison, a payment schedule, a list of cases.
10
14
  *
11
15
  * **The caption is required.** It is the table's name, and a page with three
12
16
  * unnamed tables is a page a screen-reader user has to read in full to tell
@@ -18,10 +22,32 @@ export interface TableColumn {
18
22
  * see the right-hand columns. `tabindex="0"` with a role and a name is the
19
23
  * established fix, and the name is why the role is there: a bare focusable div
20
24
  * announces nothing.
21
-
25
+ *
26
+ * **Or it stacks.** With `stack`, a narrow table turns each row into a card,
27
+ * with each value under the name of its column, so a phone reads a list of
28
+ * cases rather than scrolling a grid. The table keeps its roles written out,
29
+ * because some browsers drop a table's meaning once it is no longer drawn as one.
30
+ *
31
+ * **Sorting is announced.** A sortable column's heading is a button, and the
32
+ * column the rows are sorted by carries `aria-sort`, so a screen reader says
33
+ * "Opened, sorted descending" rather than leaving the order to be guessed. The
34
+ * table sorts its own rows unless `manual-sort` says the app does it, as an app
35
+ * that pages its rows on the server must.
36
+ *
37
+ * **Rows can be chosen.** With `selectable`, each row has a checkbox named by
38
+ * the row's first cell, and the heading has one for every row. A row is known by
39
+ * its `id`, or by the key `row-key` names.
40
+ *
41
+ * A cell can hold more than words: give the table a child with
42
+ * `slot="cell:{row id}:{column key}"`, such as a badge, and it is drawn in that
43
+ * cell. With no rows the table says `empty-text`, or shows a child with
44
+ * `slot="empty"`.
22
45
  *
23
46
  * @category content
24
47
  * @icon table
48
+ * @slot empty - What to show when there are no rows, in place of the empty text.
49
+ * @fires {CustomEvent<{ key: string; direction: SortDirection }>} impkt-sort - When a column heading is pressed to sort the rows.
50
+ * @fires {CustomEvent<{ selected: string[] }>} impkt-selection - When rows are chosen or let go. The ids are in detail.selected.
25
51
  */
26
52
  export declare class ImpktTable extends ImpktElement {
27
53
  static properties: {
@@ -34,12 +60,78 @@ export declare class ImpktTable extends ImpktElement {
34
60
  rows: {
35
61
  type: ArrayConstructor;
36
62
  };
63
+ sortKey: {
64
+ type: StringConstructor;
65
+ attribute: string;
66
+ reflect: boolean;
67
+ };
68
+ sortDirection: {
69
+ type: StringConstructor;
70
+ attribute: string;
71
+ reflect: boolean;
72
+ };
73
+ manualSort: {
74
+ type: BooleanConstructor;
75
+ attribute: string;
76
+ };
77
+ selectable: {
78
+ type: BooleanConstructor;
79
+ reflect: boolean;
80
+ };
81
+ selected: {
82
+ type: ArrayConstructor;
83
+ };
84
+ rowKey: {
85
+ type: StringConstructor;
86
+ attribute: string;
87
+ };
88
+ stack: {
89
+ type: BooleanConstructor;
90
+ reflect: boolean;
91
+ };
92
+ emptyText: {
93
+ type: StringConstructor;
94
+ attribute: string;
95
+ };
96
+ selectAllText: {
97
+ type: StringConstructor;
98
+ attribute: string;
99
+ };
100
+ selectRowText: {
101
+ type: StringConstructor;
102
+ attribute: string;
103
+ };
37
104
  };
38
105
  caption: string;
39
106
  columns: TableColumn[];
40
107
  rows: Array<Record<string, string>>;
108
+ /** The key of the column the rows are sorted by. Empty leaves them in the order given. */
109
+ sortKey: string;
110
+ sortDirection: SortDirection;
111
+ /** The app sorts the rows itself, on `impkt-sort`. The table only shows which column and which way. */
112
+ manualSort: boolean;
113
+ /** Each row has a checkbox, and the heading one for every row. */
114
+ selectable: boolean;
115
+ /** The ids of the chosen rows. */
116
+ selected: string[];
117
+ /** The key in each row that tells rows apart. */
118
+ rowKey: string;
119
+ /** On a narrow screen, draw each row as a card rather than scroll the table sideways. */
120
+ stack: boolean;
121
+ /** What the table says when it has no rows. */
122
+ emptyText: string;
123
+ /** The name of the checkbox that chooses every row. */
124
+ selectAllText: string;
125
+ /** The name of each row's checkbox, with `{row}` for the row's first cell. */
126
+ selectRowText: string;
41
127
  constructor();
42
128
  static styles: import("lit").CSSResult[];
129
+ private keyOf;
130
+ /** The rows in the order they are drawn: as given, or sorted by the chosen column. */
131
+ private ordered;
132
+ private sortBy;
133
+ private choose;
134
+ private heading;
43
135
  render(): TemplateResult;
44
136
  }
45
137
  declare global {
@@ -1,7 +1,9 @@
1
1
  import {
2
2
  ImpktTable
3
- } from "../chunk-VWNBB7FW.js";
4
- import "../chunk-NTNXHLTM.js";
3
+ } from "../chunk-FVCM4WHD.js";
4
+ import "../chunk-3IGNZTJU.js";
5
+ import "../chunk-NKMVICB5.js";
6
+ import "../chunk-3KO55PZK.js";
5
7
  export {
6
8
  ImpktTable
7
9
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ImpktTextInput
3
- } from "../chunk-MOEMFL4K.js";
4
- import "../chunk-7BIQ3K6H.js";
5
- import "../chunk-NTNXHLTM.js";
3
+ } from "../chunk-PO6FCAIS.js";
4
+ import "../chunk-ZOTAAYO5.js";
5
+ import "../chunk-3KO55PZK.js";
6
6
  export {
7
7
  ImpktTextInput
8
8
  };
@@ -17,6 +17,10 @@ export declare class ImpktTextarea extends FieldElement {
17
17
  maxlength: {
18
18
  type: NumberConstructor;
19
19
  };
20
+ fillFrom: {
21
+ type: StringConstructor;
22
+ attribute: string;
23
+ };
20
24
  label: {
21
25
  type: StringConstructor;
22
26
  };
@@ -51,10 +55,19 @@ export declare class ImpktTextarea extends FieldElement {
51
55
  };
52
56
  rows: number;
53
57
  maxlength: number | undefined;
58
+ /** `estimate` starts an empty box with the estimate a cost estimator sent on, so the visitor can edit it. */
59
+ fillFrom: 'none' | 'estimate';
54
60
  /** How wide the box is, to suit the answer. Full width on a phone whatever this says. */
55
61
  width: 'full' | 'lg' | 'md' | 'sm' | 'xs';
56
62
  constructor();
57
63
  static styles: import("lit").CSSResult[];
64
+ private filled;
65
+ /** The estimate it was filled with, kept until the visitor edits it, so a binding that has not caught up yet cannot empty the box. */
66
+ private filledText;
67
+ /** @ignore */
68
+ protected willUpdate(changed: Map<string, unknown>): void;
69
+ /** Fills the box once, when it is first asked to and is still empty. Props can arrive after the element joins the page. */
70
+ private fill;
58
71
  protected renderControl(): TemplateResult;
59
72
  updated(changed: Map<string, unknown>): void;
60
73
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ImpktTextarea
3
- } from "../chunk-C36CZRHK.js";
4
- import "../chunk-7BIQ3K6H.js";
5
- import "../chunk-NTNXHLTM.js";
3
+ } from "../chunk-WGPB3QQU.js";
4
+ import "../chunk-ZOTAAYO5.js";
5
+ import "../chunk-3KO55PZK.js";
6
6
  export {
7
7
  ImpktTextarea
8
8
  };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @impkt/ui — standard custom elements, styled only from design tokens,
2
+ * @atomic-ui/ui — standard custom elements, styled only from design tokens,
3
3
  * built to WCAG 2.2 AA.
4
4
  *
5
5
  * Importing this module defines every element. There is no registry to
@@ -17,13 +17,19 @@ export { ImpktLink } from './components/link';
17
17
  export { ImpktImage, ImpktLogo, ImpktDocumentLink } from './components/media';
18
18
  export { ImpktPrice } from './components/price';
19
19
  export { ImpktSummaryList, type SummaryRow } from './components/summary-list';
20
- export { ImpktTable, type TableColumn } from './components/table';
20
+ export { ImpktTable, type TableColumn, type SortDirection } from './components/table';
21
21
  export { ImpktAccordion, type AccordionItem } from './components/accordion';
22
22
  export { ImpktProgress, type ProgressStep } from './components/progress';
23
+ export { ImpktScene, type SceneDrive, type SceneLayout } from './components/scene';
24
+ export { ImpktScrubber, type ScrubberStop } from './components/scrubber';
25
+ export { ImpktReleaseCard, ImpktReleaseList, ImpktBranchList, ImpktCheckList, ImpktBranchTimeline, type DiffLine, type ReleaseItem, type Branch, type CheckItem, type TimelineLane, type TimelineMark, type Tone } from './components/changelog';
26
+ export { ImpktSiteHeader, ImpktSiteFooter, ImpktWordmark, ImpktChip, type FooterLogLine, type FooterColumn } from './components/site';
23
27
  export { ImpktTextarea } from './components/textarea';
24
28
  export { ImpktCheckboxGroup, type CheckboxOption } from './components/checkbox-group';
25
29
  export { ImpktDateInput } from './components/date-input';
26
30
  export { ImpktDialog } from './components/dialog';
31
+ export { ImpktList } from './components/list';
32
+ export { ImpktEstimator, estimate, phaseWeeks, type EstimatorQuestion, type EstimatorChoice, type EstimatorBand, type EstimatorPhase, type EstimateResult } from './components/estimator';
27
33
  export { ImpktElement } from './base/ImpktElement';
28
34
  export { FieldElement } from './base/FieldElement';
29
35
  export { token, space, fontSize, lineHeight, fontWeight, t } from './base/tokens';
@@ -38,3 +44,5 @@ export { ImpktFieldset } from './components/fieldset';
38
44
  export { ImpktDrawer, ImpktToast, ImpktMenu, ImpktPagination, ImpktAvatar, ImpktAvatarGroup, ImpktEmptyState, ImpktSlotPicker, type MenuItem, type AvatarItem, type SlotDay } from './components/app-ui';
39
45
  export { ImpktSitePlan, ImpktMortgageCalculator, ImpktBeforeAfter, ImpktStickyBar, ImpktLocationCard, monthlyPayment, type SitePlot, type NearbyItem } from './components/property';
40
46
  export { ImpktCarousel, ImpktGallery, ImpktLogoCloud, ImpktSteps, ImpktMediaSplit, ImpktCtaBanner, ImpktReviews, ImpktNewsletter, type GalleryItem, type LogoItem, type StepItem, type ReviewItem } from './components/organisms';
47
+ export { ImpktAddressLookup, ImpktErrorSummary, ImpktFileUpload, ImpktMoneyInput, ImpktRangeInput, ImpktTaskList, groupDigits, type AddressItem, type ErrorItem, type TaskItem } from './components/journey';
48
+ export { ImpktPlanComparison, ImpktVideo, ImpktRegulatoryNotice, ImpktStampDutyCalculator, ImpktAffordabilityCalculator, ImpktContactBlock, stampDuty, embedOf, SDLT, type PlanItem, type PlanRow } from './components/selling';
package/dist/index.js CHANGED
@@ -1,21 +1,75 @@
1
1
  import {
2
- ImpktRadioGroup
3
- } from "./chunk-NQKYHILD.js";
2
+ ImpktAffordabilityCalculator,
3
+ ImpktContactBlock,
4
+ ImpktPlanComparison,
5
+ ImpktRegulatoryNotice,
6
+ ImpktStampDutyCalculator,
7
+ ImpktVideo,
8
+ SDLT,
9
+ embedOf,
10
+ stampDuty
11
+ } from "./chunk-S7F5VKWU.js";
4
12
  import {
5
- ImpktSelect
6
- } from "./chunk-CMAU4DSB.js";
13
+ ImpktChip,
14
+ ImpktSiteFooter,
15
+ ImpktSiteHeader,
16
+ ImpktWordmark
17
+ } from "./chunk-QJIB36DM.js";
7
18
  import {
8
19
  ImpktSummaryList
9
- } from "./chunk-GO2IBRFP.js";
20
+ } from "./chunk-F4YQWKK2.js";
10
21
  import {
11
22
  ImpktTable
12
- } from "./chunk-VWNBB7FW.js";
23
+ } from "./chunk-FVCM4WHD.js";
13
24
  import {
14
25
  ImpktTextInput
15
- } from "./chunk-MOEMFL4K.js";
26
+ } from "./chunk-PO6FCAIS.js";
16
27
  import {
17
28
  ImpktTextarea
18
- } from "./chunk-C36CZRHK.js";
29
+ } from "./chunk-WGPB3QQU.js";
30
+ import {
31
+ ImpktPage,
32
+ ImpktSection
33
+ } from "./chunk-46BYUQ5A.js";
34
+ import {
35
+ ImpktPrice
36
+ } from "./chunk-R7FKGFW6.js";
37
+ import {
38
+ ImpktProgress
39
+ } from "./chunk-XPCU4KUY.js";
40
+ import {
41
+ ImpktRadioGroup
42
+ } from "./chunk-DAH7RLW3.js";
43
+ import {
44
+ ImpktScene
45
+ } from "./chunk-GBRML4RF.js";
46
+ import {
47
+ ImpktScrubber
48
+ } from "./chunk-YRYZUYY7.js";
49
+ import {
50
+ ImpktSelect
51
+ } from "./chunk-P6GDMZK4.js";
52
+ import {
53
+ ImpktAddressLookup,
54
+ ImpktErrorSummary,
55
+ ImpktFileUpload,
56
+ ImpktMoneyInput,
57
+ ImpktRangeInput,
58
+ ImpktTaskList,
59
+ groupDigits
60
+ } from "./chunk-AUVIOU5G.js";
61
+ import {
62
+ ImpktCard,
63
+ ImpktHeading,
64
+ ImpktStack,
65
+ ImpktText
66
+ } from "./chunk-IOBSIAHB.js";
67
+ import {
68
+ ImpktLink
69
+ } from "./chunk-RWWRTURA.js";
70
+ import {
71
+ ImpktList
72
+ } from "./chunk-3RE4H2XO.js";
19
73
  import {
20
74
  ImpktAnnouncement,
21
75
  ImpktBadge,
@@ -24,16 +78,16 @@ import {
24
78
  ImpktQuote,
25
79
  ImpktSearchBar,
26
80
  ImpktStat
27
- } from "./chunk-7Y6UCSUS.js";
81
+ } from "./chunk-IZOTGWWI.js";
28
82
  import {
29
83
  ImpktDocumentLink,
30
84
  ImpktImage,
31
85
  ImpktLogo
32
- } from "./chunk-WECSVHIM.js";
86
+ } from "./chunk-4OYHT4BN.js";
33
87
  import {
34
88
  ImpktBreadcrumbs,
35
89
  ImpktNav
36
- } from "./chunk-MLVUMCQ2.js";
90
+ } from "./chunk-J2FACXYI.js";
37
91
  import {
38
92
  ImpktCarousel,
39
93
  ImpktCtaBanner,
@@ -43,55 +97,36 @@ import {
43
97
  ImpktNewsletter,
44
98
  ImpktReviews,
45
99
  ImpktSteps
46
- } from "./chunk-X7IPZPTG.js";
47
- import {
48
- ImpktPage,
49
- ImpktSection
50
- } from "./chunk-5EA4IDUD.js";
51
- import {
52
- ImpktPrice
53
- } from "./chunk-TPF4MOMF.js";
54
- import {
55
- ImpktProgress
56
- } from "./chunk-G6OVKNL7.js";
100
+ } from "./chunk-37PA72FC.js";
57
101
  import {
58
- ImpktBeforeAfter,
59
- ImpktLocationCard,
60
- ImpktMortgageCalculator,
61
- ImpktSitePlan,
62
- ImpktStickyBar,
63
- monthlyPayment
64
- } from "./chunk-ZBLTU67D.js";
102
+ ImpktCheckbox
103
+ } from "./chunk-55DK75QF.js";
65
104
  import {
66
105
  ImpktDateInput
67
- } from "./chunk-QDNI54ON.js";
106
+ } from "./chunk-RYBY35QE.js";
68
107
  import {
69
108
  ImpktDialog
70
- } from "./chunk-VTFCTWSX.js";
109
+ } from "./chunk-KKJEEKL2.js";
110
+ import {
111
+ ImpktEstimator,
112
+ estimate,
113
+ phaseWeeks
114
+ } from "./chunk-T5W3FDSF.js";
71
115
  import {
72
116
  ImpktFieldset
73
- } from "./chunk-BTGCUONV.js";
117
+ } from "./chunk-TCXKZDMR.js";
74
118
  import {
75
119
  ImpktGrid
76
- } from "./chunk-OB7LC6NJ.js";
120
+ } from "./chunk-DJEZW7AC.js";
77
121
  import {
78
122
  ImpktHelp
79
- } from "./chunk-HWWA27DN.js";
80
- import {
81
- ImpktCard,
82
- ImpktHeading,
83
- ImpktStack,
84
- ImpktText
85
- } from "./chunk-T6L3USBZ.js";
86
- import {
87
- ImpktLink
88
- } from "./chunk-ZGAOMRYD.js";
123
+ } from "./chunk-KMCGX76Y.js";
89
124
  import {
90
125
  ImpktAccordion
91
- } from "./chunk-XVKEM5JY.js";
126
+ } from "./chunk-5QSTXIPG.js";
92
127
  import {
93
128
  ImpktAlert
94
- } from "./chunk-6ICOJPMD.js";
129
+ } from "./chunk-CUUBAETM.js";
95
130
  import {
96
131
  ImpktAvatar,
97
132
  ImpktAvatarGroup,
@@ -101,32 +136,46 @@ import {
101
136
  ImpktPagination,
102
137
  ImpktSlotPicker,
103
138
  ImpktToast
104
- } from "./chunk-QCNT7D5V.js";
139
+ } from "./chunk-7P4Z4CLK.js";
140
+ import "./chunk-2YRTFWW2.js";
105
141
  import {
106
142
  ImpktCardGrid,
107
143
  ImpktDivider,
108
144
  ImpktSpacer,
109
145
  ImpktTabs,
110
146
  ImpktVisuallyHidden
111
- } from "./chunk-ZQJD4YEJ.js";
147
+ } from "./chunk-HXINWP3V.js";
112
148
  import {
113
149
  ImpktButton
114
- } from "./chunk-XJP45LFA.js";
150
+ } from "./chunk-DKZ425AM.js";
151
+ import {
152
+ ImpktBranchList,
153
+ ImpktBranchTimeline,
154
+ ImpktCheckList,
155
+ ImpktReleaseCard,
156
+ ImpktReleaseList
157
+ } from "./chunk-PWLZFGS3.js";
158
+ import {
159
+ ImpktBeforeAfter,
160
+ ImpktLocationCard,
161
+ ImpktMortgageCalculator,
162
+ ImpktSitePlan,
163
+ ImpktStickyBar,
164
+ monthlyPayment
165
+ } from "./chunk-OFLMG6RN.js";
166
+ import "./chunk-3IGNZTJU.js";
115
167
  import {
116
168
  ICONS,
117
169
  ICON_NAMES,
118
170
  ImpktIcon,
119
171
  iconSvg
120
- } from "./chunk-2YQA3VBY.js";
172
+ } from "./chunk-NKMVICB5.js";
121
173
  import {
122
174
  ImpktCheckboxGroup
123
- } from "./chunk-GSCVG2ER.js";
124
- import {
125
- ImpktCheckbox
126
- } from "./chunk-4HU4Y23Q.js";
175
+ } from "./chunk-APJ5JGRW.js";
127
176
  import {
128
177
  FieldElement
129
- } from "./chunk-7BIQ3K6H.js";
178
+ } from "./chunk-ZOTAAYO5.js";
130
179
  import {
131
180
  ImpktElement,
132
181
  fontSize,
@@ -135,25 +184,32 @@ import {
135
184
  space,
136
185
  t,
137
186
  token
138
- } from "./chunk-NTNXHLTM.js";
187
+ } from "./chunk-3KO55PZK.js";
139
188
  export {
140
189
  FieldElement,
141
190
  ICONS,
142
191
  ICON_NAMES,
143
192
  ImpktAccordion,
193
+ ImpktAddressLookup,
194
+ ImpktAffordabilityCalculator,
144
195
  ImpktAlert,
145
196
  ImpktAnnouncement,
146
197
  ImpktAvatar,
147
198
  ImpktAvatarGroup,
148
199
  ImpktBadge,
149
200
  ImpktBeforeAfter,
201
+ ImpktBranchList,
202
+ ImpktBranchTimeline,
150
203
  ImpktBreadcrumbs,
151
204
  ImpktButton,
152
205
  ImpktCard,
153
206
  ImpktCardGrid,
154
207
  ImpktCarousel,
208
+ ImpktCheckList,
155
209
  ImpktCheckbox,
156
210
  ImpktCheckboxGroup,
211
+ ImpktChip,
212
+ ImpktContactBlock,
157
213
  ImpktCtaBanner,
158
214
  ImpktDateInput,
159
215
  ImpktDialog,
@@ -162,8 +218,11 @@ export {
162
218
  ImpktDrawer,
163
219
  ImpktElement,
164
220
  ImpktEmptyState,
221
+ ImpktErrorSummary,
222
+ ImpktEstimator,
165
223
  ImpktFeatureList,
166
224
  ImpktFieldset,
225
+ ImpktFileUpload,
167
226
  ImpktGallery,
168
227
  ImpktGrid,
169
228
  ImpktHeading,
@@ -172,45 +231,66 @@ export {
172
231
  ImpktIcon,
173
232
  ImpktImage,
174
233
  ImpktLink,
234
+ ImpktList,
175
235
  ImpktLocationCard,
176
236
  ImpktLogo,
177
237
  ImpktLogoCloud,
178
238
  ImpktMediaSplit,
179
239
  ImpktMenu,
240
+ ImpktMoneyInput,
180
241
  ImpktMortgageCalculator,
181
242
  ImpktNav,
182
243
  ImpktNewsletter,
183
244
  ImpktPage,
184
245
  ImpktPagination,
246
+ ImpktPlanComparison,
185
247
  ImpktPrice,
186
248
  ImpktProgress,
187
249
  ImpktQuote,
188
250
  ImpktRadioGroup,
251
+ ImpktRangeInput,
252
+ ImpktRegulatoryNotice,
253
+ ImpktReleaseCard,
254
+ ImpktReleaseList,
189
255
  ImpktReviews,
256
+ ImpktScene,
257
+ ImpktScrubber,
190
258
  ImpktSearchBar,
191
259
  ImpktSection,
192
260
  ImpktSelect,
261
+ ImpktSiteFooter,
262
+ ImpktSiteHeader,
193
263
  ImpktSitePlan,
194
264
  ImpktSlotPicker,
195
265
  ImpktSpacer,
196
266
  ImpktStack,
267
+ ImpktStampDutyCalculator,
197
268
  ImpktStat,
198
269
  ImpktSteps,
199
270
  ImpktStickyBar,
200
271
  ImpktSummaryList,
201
272
  ImpktTable,
202
273
  ImpktTabs,
274
+ ImpktTaskList,
203
275
  ImpktText,
204
276
  ImpktTextInput,
205
277
  ImpktTextarea,
206
278
  ImpktToast,
279
+ ImpktVideo,
207
280
  ImpktVisuallyHidden,
281
+ ImpktWordmark,
282
+ SDLT,
283
+ embedOf,
284
+ estimate,
208
285
  fontSize,
209
286
  fontWeight,
287
+ groupDigits,
210
288
  iconSvg,
211
289
  lineHeight,
212
290
  monthlyPayment,
291
+ phaseWeeks,
213
292
  space,
293
+ stampDuty,
214
294
  t,
215
295
  token
216
296
  };