@atomic-ui/ui 0.3.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 (213) hide show
  1. package/README.md +31 -33
  2. package/custom-elements.json +5986 -15880
  3. package/dist/base/FieldElement.d.ts +4 -4
  4. package/dist/base/{ImpktElement.d.ts → ImpaktElement.d.ts} +2 -2
  5. package/dist/base/styles.d.ts +7 -0
  6. package/dist/base/tokens.d.ts +1 -1
  7. package/dist/base/tone.d.ts +20 -0
  8. package/dist/{chunk-3RE4H2XO.js → chunk-3EF4T242.js} +7 -7
  9. package/dist/chunk-3EF4T242.js.map +1 -0
  10. package/dist/{chunk-NKMVICB5.js → chunk-5Y3HYRCU.js} +7 -7
  11. package/dist/chunk-5Y3HYRCU.js.map +1 -0
  12. package/dist/{chunk-ZOTAAYO5.js → chunk-5ZQVL3V2.js} +19 -12
  13. package/dist/chunk-5ZQVL3V2.js.map +1 -0
  14. package/dist/{chunk-4OYHT4BN.js → chunk-A7YBFS4H.js} +15 -15
  15. package/dist/chunk-A7YBFS4H.js.map +1 -0
  16. package/dist/{chunk-WGPB3QQU.js → chunk-ACQ4KYPR.js} +9 -9
  17. package/dist/chunk-ACQ4KYPR.js.map +1 -0
  18. package/dist/{chunk-DAH7RLW3.js → chunk-DE3INTHZ.js} +6 -6
  19. package/dist/chunk-DE3INTHZ.js.map +1 -0
  20. package/dist/{chunk-HXINWP3V.js → chunk-EJD6LT7E.js} +20 -83
  21. package/dist/chunk-EJD6LT7E.js.map +1 -0
  22. package/dist/{chunk-P6GDMZK4.js → chunk-EJSX4WCD.js} +9 -9
  23. package/dist/chunk-EJSX4WCD.js.map +1 -0
  24. package/dist/chunk-FMSC7J7J.js +76 -0
  25. package/dist/chunk-FMSC7J7J.js.map +1 -0
  26. package/dist/{chunk-46BYUQ5A.js → chunk-FWR6SEIA.js} +33 -33
  27. package/dist/chunk-FWR6SEIA.js.map +1 -0
  28. package/dist/{chunk-CUUBAETM.js → chunk-GJPHQLLN.js} +8 -8
  29. package/dist/chunk-GJPHQLLN.js.map +1 -0
  30. package/dist/{chunk-R7FKGFW6.js → chunk-HNBG2POR.js} +7 -7
  31. package/dist/chunk-HNBG2POR.js.map +1 -0
  32. package/dist/{chunk-DKZ425AM.js → chunk-HNZQ7LM4.js} +11 -11
  33. package/dist/chunk-HNZQ7LM4.js.map +1 -0
  34. package/dist/{chunk-55DK75QF.js → chunk-I54DOEZB.js} +6 -6
  35. package/dist/chunk-I54DOEZB.js.map +1 -0
  36. package/dist/{chunk-J2FACXYI.js → chunk-PANH23MF.js} +12 -12
  37. package/dist/chunk-PANH23MF.js.map +1 -0
  38. package/dist/{chunk-KKJEEKL2.js → chunk-PYVUQNFQ.js} +8 -8
  39. package/dist/chunk-PYVUQNFQ.js.map +1 -0
  40. package/dist/{chunk-RWWRTURA.js → chunk-Q54FX3SY.js} +8 -8
  41. package/dist/chunk-Q54FX3SY.js.map +1 -0
  42. package/dist/{chunk-AUVIOU5G.js → chunk-QBORJTS4.js} +36 -36
  43. package/dist/chunk-QBORJTS4.js.map +1 -0
  44. package/dist/{chunk-5QSTXIPG.js → chunk-RXX4CN5J.js} +7 -7
  45. package/dist/chunk-RXX4CN5J.js.map +1 -0
  46. package/dist/{chunk-XPCU4KUY.js → chunk-SV77SN6P.js} +7 -7
  47. package/dist/chunk-SV77SN6P.js.map +1 -0
  48. package/dist/{chunk-FVCM4WHD.js → chunk-TAZZLOUY.js} +10 -10
  49. package/dist/chunk-TAZZLOUY.js.map +1 -0
  50. package/dist/{chunk-KMCGX76Y.js → chunk-TRZO5CHU.js} +7 -7
  51. package/dist/chunk-TRZO5CHU.js.map +1 -0
  52. package/dist/{chunk-F4YQWKK2.js → chunk-UPOTBKKK.js} +7 -7
  53. package/dist/chunk-UPOTBKKK.js.map +1 -0
  54. package/dist/{chunk-APJ5JGRW.js → chunk-WP5WJ4V5.js} +6 -6
  55. package/dist/chunk-WP5WJ4V5.js.map +1 -0
  56. package/dist/{chunk-TCXKZDMR.js → chunk-WS5AUJ35.js} +7 -7
  57. package/dist/chunk-WS5AUJ35.js.map +1 -0
  58. package/dist/{chunk-7P4Z4CLK.js → chunk-WWYYNR3Z.js} +50 -49
  59. package/dist/chunk-WWYYNR3Z.js.map +1 -0
  60. package/dist/{chunk-RYBY35QE.js → chunk-XU2XODVH.js} +6 -6
  61. package/dist/chunk-XU2XODVH.js.map +1 -0
  62. package/dist/{chunk-3KO55PZK.js → chunk-YR6T73GY.js} +18 -11
  63. package/dist/chunk-YR6T73GY.js.map +1 -0
  64. package/dist/{chunk-IOBSIAHB.js → chunk-YYYQPKQ7.js} +24 -24
  65. package/dist/chunk-YYYQPKQ7.js.map +1 -0
  66. package/dist/{chunk-PO6FCAIS.js → chunk-Z45LY6BT.js} +9 -9
  67. package/dist/chunk-Z45LY6BT.js.map +1 -0
  68. package/dist/{chunk-DJEZW7AC.js → chunk-ZQBEFP2O.js} +7 -7
  69. package/dist/chunk-ZQBEFP2O.js.map +1 -0
  70. package/dist/chunk-ZS7RPXCT.js +47 -0
  71. package/dist/chunk-ZS7RPXCT.js.map +1 -0
  72. package/dist/components/accordion.d.ts +3 -3
  73. package/dist/components/accordion.js +4 -4
  74. package/dist/components/alert.d.ts +3 -3
  75. package/dist/components/alert.js +4 -4
  76. package/dist/components/app-ui.d.ts +25 -25
  77. package/dist/components/app-ui.js +21 -21
  78. package/dist/components/badge.d.ts +37 -0
  79. package/dist/components/badge.js +9 -0
  80. package/dist/components/blocks.d.ts +10 -73
  81. package/dist/components/blocks.js +10 -13
  82. package/dist/components/button.d.ts +3 -3
  83. package/dist/components/button.js +5 -5
  84. package/dist/components/checkbox-group.d.ts +2 -2
  85. package/dist/components/checkbox-group.js +5 -5
  86. package/dist/components/checkbox.d.ts +2 -2
  87. package/dist/components/checkbox.js +5 -5
  88. package/dist/components/chip.d.ts +58 -0
  89. package/dist/components/chip.js +8 -0
  90. package/dist/components/date-input.d.ts +2 -2
  91. package/dist/components/date-input.js +5 -5
  92. package/dist/components/dialog.d.ts +4 -4
  93. package/dist/components/dialog.js +4 -4
  94. package/dist/components/fieldset.d.ts +3 -3
  95. package/dist/components/fieldset.js +4 -4
  96. package/dist/components/grid.d.ts +3 -3
  97. package/dist/components/grid.js +4 -4
  98. package/dist/components/help.d.ts +3 -3
  99. package/dist/components/help.js +4 -4
  100. package/dist/components/icon.d.ts +3 -3
  101. package/dist/components/icon.js +4 -4
  102. package/dist/components/journey.d.ts +18 -18
  103. package/dist/components/journey.js +15 -15
  104. package/dist/components/layout.d.ts +9 -9
  105. package/dist/components/layout.js +10 -10
  106. package/dist/components/link.d.ts +3 -3
  107. package/dist/components/link.js +5 -5
  108. package/dist/components/list.d.ts +3 -3
  109. package/dist/components/list.js +4 -4
  110. package/dist/components/media.d.ts +8 -8
  111. package/dist/components/media.js +8 -8
  112. package/dist/components/navigation.d.ts +5 -5
  113. package/dist/components/navigation.js +7 -7
  114. package/dist/components/page.d.ts +5 -5
  115. package/dist/components/page.js +6 -6
  116. package/dist/components/price.d.ts +3 -3
  117. package/dist/components/price.js +4 -4
  118. package/dist/components/progress.d.ts +3 -3
  119. package/dist/components/progress.js +4 -4
  120. package/dist/components/radio-group.d.ts +2 -2
  121. package/dist/components/radio-group.js +5 -5
  122. package/dist/components/select.d.ts +2 -2
  123. package/dist/components/select.js +5 -5
  124. package/dist/components/summary-list.d.ts +3 -3
  125. package/dist/components/summary-list.js +4 -4
  126. package/dist/components/table.d.ts +6 -6
  127. package/dist/components/table.js +5 -5
  128. package/dist/components/text-input.d.ts +2 -2
  129. package/dist/components/text-input.js +5 -5
  130. package/dist/components/textarea.d.ts +2 -2
  131. package/dist/components/textarea.js +5 -5
  132. package/dist/index.d.ts +47 -40
  133. package/dist/index.js +206 -270
  134. package/dist/standalone/atomic-ui.js +796 -2002
  135. package/dist/standalone/atomic-ui.js.map +4 -4
  136. package/dist/standalone/index.html +51 -52
  137. package/package.json +4 -4
  138. package/specimen/index.html +51 -52
  139. package/dist/chunk-37PA72FC.js +0 -725
  140. package/dist/chunk-37PA72FC.js.map +0 -1
  141. package/dist/chunk-3KO55PZK.js.map +0 -1
  142. package/dist/chunk-3RE4H2XO.js.map +0 -1
  143. package/dist/chunk-46BYUQ5A.js.map +0 -1
  144. package/dist/chunk-4OYHT4BN.js.map +0 -1
  145. package/dist/chunk-55DK75QF.js.map +0 -1
  146. package/dist/chunk-5QSTXIPG.js.map +0 -1
  147. package/dist/chunk-7P4Z4CLK.js.map +0 -1
  148. package/dist/chunk-APJ5JGRW.js.map +0 -1
  149. package/dist/chunk-AUVIOU5G.js.map +0 -1
  150. package/dist/chunk-CUUBAETM.js.map +0 -1
  151. package/dist/chunk-DAH7RLW3.js.map +0 -1
  152. package/dist/chunk-DJEZW7AC.js.map +0 -1
  153. package/dist/chunk-DKZ425AM.js.map +0 -1
  154. package/dist/chunk-F4YQWKK2.js.map +0 -1
  155. package/dist/chunk-FVCM4WHD.js.map +0 -1
  156. package/dist/chunk-GBRML4RF.js +0 -264
  157. package/dist/chunk-GBRML4RF.js.map +0 -1
  158. package/dist/chunk-HXINWP3V.js.map +0 -1
  159. package/dist/chunk-IOBSIAHB.js.map +0 -1
  160. package/dist/chunk-IZOTGWWI.js +0 -361
  161. package/dist/chunk-IZOTGWWI.js.map +0 -1
  162. package/dist/chunk-J2FACXYI.js.map +0 -1
  163. package/dist/chunk-KKJEEKL2.js.map +0 -1
  164. package/dist/chunk-KMCGX76Y.js.map +0 -1
  165. package/dist/chunk-NKMVICB5.js.map +0 -1
  166. package/dist/chunk-OFLMG6RN.js +0 -428
  167. package/dist/chunk-OFLMG6RN.js.map +0 -1
  168. package/dist/chunk-P6GDMZK4.js.map +0 -1
  169. package/dist/chunk-PO6FCAIS.js.map +0 -1
  170. package/dist/chunk-PWLZFGS3.js +0 -494
  171. package/dist/chunk-PWLZFGS3.js.map +0 -1
  172. package/dist/chunk-QJIB36DM.js +0 -249
  173. package/dist/chunk-QJIB36DM.js.map +0 -1
  174. package/dist/chunk-R7FKGFW6.js.map +0 -1
  175. package/dist/chunk-RWWRTURA.js.map +0 -1
  176. package/dist/chunk-RYBY35QE.js.map +0 -1
  177. package/dist/chunk-S7F5VKWU.js +0 -453
  178. package/dist/chunk-S7F5VKWU.js.map +0 -1
  179. package/dist/chunk-T5W3FDSF.js +0 -396
  180. package/dist/chunk-T5W3FDSF.js.map +0 -1
  181. package/dist/chunk-TCXKZDMR.js.map +0 -1
  182. package/dist/chunk-WGPB3QQU.js.map +0 -1
  183. package/dist/chunk-XPCU4KUY.js.map +0 -1
  184. package/dist/chunk-YRYZUYY7.js +0 -236
  185. package/dist/chunk-YRYZUYY7.js.map +0 -1
  186. package/dist/chunk-ZOTAAYO5.js.map +0 -1
  187. package/dist/components/changelog.d.ts +0 -386
  188. package/dist/components/changelog.js +0 -25
  189. package/dist/components/estimator.d.ts +0 -246
  190. package/dist/components/estimator.js +0 -16
  191. package/dist/components/marketing.d.ts +0 -370
  192. package/dist/components/marketing.js +0 -21
  193. package/dist/components/marketing.js.map +0 -1
  194. package/dist/components/organisms.d.ts +0 -559
  195. package/dist/components/organisms.js +0 -25
  196. package/dist/components/organisms.js.map +0 -1
  197. package/dist/components/property.d.ts +0 -389
  198. package/dist/components/property.js +0 -20
  199. package/dist/components/property.js.map +0 -1
  200. package/dist/components/scene.d.ts +0 -138
  201. package/dist/components/scene.js +0 -8
  202. package/dist/components/scene.js.map +0 -1
  203. package/dist/components/scrubber.d.ts +0 -86
  204. package/dist/components/scrubber.js +0 -8
  205. package/dist/components/scrubber.js.map +0 -1
  206. package/dist/components/selling.d.ts +0 -409
  207. package/dist/components/selling.js +0 -25
  208. package/dist/components/selling.js.map +0 -1
  209. package/dist/components/site.d.ts +0 -283
  210. package/dist/components/site.js +0 -20
  211. package/dist/components/site.js.map +0 -1
  212. /package/dist/components/{changelog.js.map → badge.js.map} +0 -0
  213. /package/dist/components/{estimator.js.map → chip.js.map} +0 -0
@@ -1,559 +0,0 @@
1
- import { type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
3
- /**
4
- * Slides that move sideways: house types, reviews, the rooms of a show home.
5
- * Put anything in it, one child to a slide.
6
- *
7
- * It follows the ARIA carousel pattern. Each slide is named "2 of 6", a live
8
- * region says where you are, and it can be moved with the buttons, the dots,
9
- * the arrow keys, a swipe or a scroll.
10
- *
11
- * **It moves only when asked.** Autoplay is off by default. Turned on, it has a
12
- * Pause button, stops while pointed at or focused, and never runs for someone
13
- * who has asked for reduced motion (2.2.2).
14
- *
15
- * @category content
16
- * @icon carousel
17
- * @slot - The slides, one child to each.
18
- */
19
- export declare class ImpktCarousel extends ImpktElement {
20
- static properties: {
21
- label: {
22
- type: StringConstructor;
23
- };
24
- perView: {
25
- type: StringConstructor;
26
- reflect: boolean;
27
- attribute: string;
28
- };
29
- arrows: {
30
- type: StringConstructor;
31
- reflect: boolean;
32
- };
33
- autoplay: {
34
- type: BooleanConstructor;
35
- reflect: boolean;
36
- };
37
- seconds: {
38
- type: NumberConstructor;
39
- };
40
- spaceAbove: {
41
- type: StringConstructor;
42
- reflect: boolean;
43
- attribute: string;
44
- };
45
- spaceBelow: {
46
- type: StringConstructor;
47
- reflect: boolean;
48
- attribute: string;
49
- };
50
- };
51
- /** What the slides are, for a screen reader, such as "House types". */
52
- label: string;
53
- /** How many slides show at once on a wide screen. A tablet shows at most two, and a phone one. */
54
- perView: '1' | '2' | '3';
55
- /** Where the arrows sit: under the slides, or level with the heading above them. */
56
- arrows: 'below' | 'top';
57
- /** Move on by itself. People can pause it, and it never runs for those who ask for less motion. */
58
- autoplay: boolean;
59
- /** How long each slide stays, when it moves by itself. */
60
- seconds: number;
61
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
62
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
63
- private index;
64
- private count;
65
- /** How many slides fit right now, which the width decides. */
66
- private visible;
67
- /** Where a button or dot is taking the row. Until it arrives, the scroll position is not the truth. */
68
- private heading;
69
- private settle;
70
- private observer;
71
- private paused;
72
- private held;
73
- private timer;
74
- constructor();
75
- static styles: import("lit").CSSResult[];
76
- private get track();
77
- private get slides();
78
- /** The last slide that can sit at the start of the row. */
79
- private get last();
80
- /** Count what actually fits, and keep the row on a real stop when that changes. */
81
- private measure;
82
- private onSlots;
83
- private go;
84
- private onScroll;
85
- private onKey;
86
- private get canPlay();
87
- private restart;
88
- private hold;
89
- private togglePause;
90
- protected firstUpdated(): void;
91
- protected updated(changed: Map<string, unknown>): void;
92
- connectedCallback(): void;
93
- disconnectedCallback(): void;
94
- render(): TemplateResult;
95
- }
96
- /** One picture in a gallery. */
97
- export interface GalleryItem {
98
- id?: string;
99
- src: string;
100
- alt: string;
101
- caption?: string;
102
- }
103
- /**
104
- * How far a gallery picture stretches so that no row ends in a gap, on a wide
105
- * container and on a narrow one. The large first picture keeps its own size.
106
- */
107
- export declare function gallerySpan(index: number, count: number, layout: 'feature' | 'grid'): {
108
- wide: number;
109
- narrow: number;
110
- rows: number;
111
- };
112
- /**
113
- * A set of pictures, with the first shown large, that open full screen one at
114
- * a time: the rooms of a show home, or views of a development.
115
- *
116
- * Each picture is a button. The full-screen view is a real modal dialog, so
117
- * focus stays inside it, Escape closes it and focus returns to the picture that
118
- * opened it. The arrow keys move between pictures.
119
- *
120
- * @category media
121
- * @icon gallery
122
- */
123
- export declare class ImpktGallery extends ImpktElement {
124
- static properties: {
125
- items: {
126
- type: ArrayConstructor;
127
- };
128
- layout: {
129
- type: StringConstructor;
130
- reflect: boolean;
131
- };
132
- label: {
133
- type: StringConstructor;
134
- };
135
- spaceAbove: {
136
- type: StringConstructor;
137
- reflect: boolean;
138
- attribute: string;
139
- };
140
- spaceBelow: {
141
- type: StringConstructor;
142
- reflect: boolean;
143
- attribute: string;
144
- };
145
- };
146
- items: GalleryItem[];
147
- /** One large picture with smaller ones beside it, or an even grid. */
148
- layout: 'feature' | 'grid';
149
- /** What the pictures are of, for a screen reader. */
150
- label: string;
151
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
152
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
153
- private shown;
154
- private opener;
155
- constructor();
156
- static styles: import("lit").CSSResult[];
157
- private get dialog();
158
- private open;
159
- private close;
160
- private onClosed;
161
- private step;
162
- private onKey;
163
- render(): TemplateResult;
164
- }
165
- /** One accreditation or partner. */
166
- export interface LogoItem {
167
- id?: string;
168
- src: string;
169
- alt: string;
170
- href?: string;
171
- }
172
- /**
173
- * A row of logos that lends trust: accreditations, awards, lenders, partners.
174
- *
175
- * The logos are drawn quietly so they do not fight the page, and come to full
176
- * colour when pointed at. Each one is named by its alt text.
177
- *
178
- * @category content
179
- * @icon logos
180
- */
181
- export declare class ImpktLogoCloud extends ImpktElement {
182
- static properties: {
183
- heading: {
184
- type: StringConstructor;
185
- };
186
- items: {
187
- type: ArrayConstructor;
188
- };
189
- spaceAbove: {
190
- type: StringConstructor;
191
- reflect: boolean;
192
- attribute: string;
193
- };
194
- spaceBelow: {
195
- type: StringConstructor;
196
- reflect: boolean;
197
- attribute: string;
198
- };
199
- };
200
- /** A line above the logos, such as "Accredited by". */
201
- heading: string;
202
- items: LogoItem[];
203
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
204
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
205
- constructor();
206
- static styles: import("lit").CSSResult[];
207
- render(): TemplateResult;
208
- }
209
- /** One step in a process. */
210
- export interface StepItem {
211
- id?: string;
212
- heading: string;
213
- text?: string;
214
- /** A short line above the heading, such as how long the step takes. */
215
- meta?: string;
216
- }
217
- /**
218
- * A process, in order, joined by a line: how buying a home works, what happens
219
- * after you apply.
220
- *
221
- * It is an ordered list, so a screen reader says the number and how many there
222
- * are. The numbers are drawn from the list, not typed in.
223
- *
224
- * @category content
225
- * @icon steps
226
- */
227
- export declare class ImpktSteps extends ImpktElement {
228
- static properties: {
229
- items: {
230
- type: ArrayConstructor;
231
- };
232
- orientation: {
233
- type: StringConstructor;
234
- reflect: boolean;
235
- };
236
- look: {
237
- type: StringConstructor;
238
- reflect: boolean;
239
- };
240
- headingLevel: {
241
- type: NumberConstructor;
242
- attribute: string;
243
- };
244
- spaceAbove: {
245
- type: StringConstructor;
246
- reflect: boolean;
247
- attribute: string;
248
- };
249
- spaceBelow: {
250
- type: StringConstructor;
251
- reflect: boolean;
252
- attribute: string;
253
- };
254
- };
255
- items: StepItem[];
256
- /** Across the page, or down it. Across becomes down on a narrow screen. */
257
- orientation: 'horizontal' | 'vertical';
258
- /**
259
- * `numbered` joins numbered circles with a line. `ruled` gives each step a
260
- * coloured rule along its top, in the brand's chart colours, as a project
261
- * plan's phases are drawn. The steps are an ordered list either way.
262
- */
263
- look: 'numbered' | 'ruled';
264
- /** The level of each step's heading. One below the heading above the steps. */
265
- headingLevel: 2 | 3 | 4;
266
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
267
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
268
- constructor();
269
- static styles: import("lit").CSSResult[];
270
- render(): TemplateResult;
271
- }
272
- /**
273
- * A picture beside words, the working section of a marketing page: a heading,
274
- * a line of text, a short list of points and an action.
275
- *
276
- * On a phone the words come first, whichever side the picture is on, so the
277
- * reading order never depends on the layout.
278
- *
279
- * @category layout
280
- * @icon split
281
- * @role heading
282
- * @slot actions - Buttons and links under the words.
283
- */
284
- export declare class ImpktMediaSplit extends ImpktElement {
285
- static properties: {
286
- eyebrow: {
287
- type: StringConstructor;
288
- };
289
- heading: {
290
- type: StringConstructor;
291
- };
292
- lead: {
293
- type: StringConstructor;
294
- };
295
- points: {
296
- type: ArrayConstructor;
297
- };
298
- level: {
299
- type: NumberConstructor;
300
- reflect: boolean;
301
- };
302
- imageSrc: {
303
- type: StringConstructor;
304
- attribute: string;
305
- };
306
- imageAlt: {
307
- type: StringConstructor;
308
- attribute: string;
309
- };
310
- imageSide: {
311
- type: StringConstructor;
312
- reflect: boolean;
313
- attribute: string;
314
- };
315
- insetSrc: {
316
- type: StringConstructor;
317
- attribute: string;
318
- };
319
- insetAlt: {
320
- type: StringConstructor;
321
- attribute: string;
322
- };
323
- ratio: {
324
- type: StringConstructor;
325
- reflect: boolean;
326
- };
327
- spaceAbove: {
328
- type: StringConstructor;
329
- reflect: boolean;
330
- attribute: string;
331
- };
332
- spaceBelow: {
333
- type: StringConstructor;
334
- reflect: boolean;
335
- attribute: string;
336
- };
337
- };
338
- eyebrow: string;
339
- heading: string;
340
- /** A sentence or two under the heading. */
341
- lead: string;
342
- /** Short points, each drawn with a tick. */
343
- points: string[];
344
- /** The heading's level in the page. */
345
- level: 2 | 3;
346
- imageSrc: string;
347
- /** What the picture shows. Leave empty only when it is decoration. */
348
- imageAlt: string;
349
- /** A smaller picture overlapping the corner of the main one. */
350
- insetSrc: string;
351
- insetAlt: string;
352
- /** Which side the picture sits on, on a wide screen. */
353
- imageSide: 'start' | 'end';
354
- /** The picture's shape. */
355
- ratio: '4:3' | '1:1' | '3:2' | '16:9';
356
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
357
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
358
- constructor();
359
- static styles: import("lit").CSSResult[];
360
- render(): TemplateResult;
361
- }
362
- /**
363
- * The closing push of a page: a rounded panel with a heading, a line of text
364
- * and the page's main action, set apart from everything above it.
365
- *
366
- * @category layout
367
- * @icon banner
368
- * @slot actions - The buttons.
369
- */
370
- export declare class ImpktCtaBanner extends ImpktElement {
371
- static properties: {
372
- heading: {
373
- type: StringConstructor;
374
- };
375
- lead: {
376
- type: StringConstructor;
377
- };
378
- tone: {
379
- type: StringConstructor;
380
- reflect: boolean;
381
- };
382
- align: {
383
- type: StringConstructor;
384
- reflect: boolean;
385
- };
386
- imageSrc: {
387
- type: StringConstructor;
388
- attribute: string;
389
- };
390
- imageAlt: {
391
- type: StringConstructor;
392
- attribute: string;
393
- };
394
- headingLevel: {
395
- type: NumberConstructor;
396
- attribute: string;
397
- };
398
- spaceAbove: {
399
- type: StringConstructor;
400
- reflect: boolean;
401
- attribute: string;
402
- };
403
- spaceBelow: {
404
- type: StringConstructor;
405
- reflect: boolean;
406
- attribute: string;
407
- };
408
- };
409
- heading: string;
410
- lead: string;
411
- /** The panel's colour. */
412
- tone: 'brand' | 'subtle' | 'card';
413
- /** Words beside the action, centred above it, or above it on the left. */
414
- align: 'split' | 'center' | 'stacked';
415
- /** A photo behind the words, with a scrim so they stay readable. */
416
- imageSrc: string;
417
- imageAlt: string;
418
- headingLevel: 2 | 3;
419
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
420
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
421
- constructor();
422
- static styles: import("lit").CSSResult[];
423
- render(): TemplateResult;
424
- }
425
- /** One review. */
426
- export interface ReviewItem {
427
- id?: string;
428
- quote: string;
429
- person: string;
430
- about?: string;
431
- rating?: number;
432
- avatarSrc?: string;
433
- }
434
- /**
435
- * What customers say, in cards, with their rating and a face or their
436
- * initials, and a summary line above them.
437
- *
438
- * A rating is said in words as well as drawn in stars.
439
- *
440
- * @category content
441
- * @icon reviews
442
- */
443
- export declare class ImpktReviews extends ImpktElement {
444
- static properties: {
445
- summary: {
446
- type: StringConstructor;
447
- };
448
- rating: {
449
- type: NumberConstructor;
450
- };
451
- items: {
452
- type: ArrayConstructor;
453
- };
454
- columns: {
455
- type: StringConstructor;
456
- reflect: boolean;
457
- };
458
- spaceAbove: {
459
- type: StringConstructor;
460
- reflect: boolean;
461
- attribute: string;
462
- };
463
- spaceBelow: {
464
- type: StringConstructor;
465
- reflect: boolean;
466
- attribute: string;
467
- };
468
- };
469
- /** A line above the reviews, such as "4.8 from 312 buyers". */
470
- summary: string;
471
- /** The overall rating out of 5, drawn beside the summary. */
472
- rating: number | undefined;
473
- items: ReviewItem[];
474
- columns: 'two' | 'three';
475
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
476
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
477
- constructor();
478
- static styles: import("lit").CSSResult[];
479
- render(): TemplateResult;
480
- }
481
- /**
482
- * An email sign-up in one line: release dates, price lists, launch news.
483
- *
484
- * The field has a real label, the browser checks the address, and what happens
485
- * with the address is said beside the button. The app receives the address and
486
- * says when it is done.
487
- *
488
- * @category form
489
- * @icon mail
490
- * @fires {CustomEvent<{ email: string }>} impkt-submit - When a valid address is sent. The address is in detail.email.
491
- */
492
- export declare class ImpktNewsletter extends ImpktElement {
493
- static properties: {
494
- heading: {
495
- type: StringConstructor;
496
- };
497
- lead: {
498
- type: StringConstructor;
499
- };
500
- label: {
501
- type: StringConstructor;
502
- };
503
- buttonText: {
504
- type: StringConstructor;
505
- attribute: string;
506
- };
507
- smallPrint: {
508
- type: StringConstructor;
509
- attribute: string;
510
- };
511
- doneText: {
512
- type: StringConstructor;
513
- attribute: string;
514
- };
515
- headingLevel: {
516
- type: NumberConstructor;
517
- attribute: string;
518
- };
519
- spaceAbove: {
520
- type: StringConstructor;
521
- reflect: boolean;
522
- attribute: string;
523
- };
524
- spaceBelow: {
525
- type: StringConstructor;
526
- reflect: boolean;
527
- attribute: string;
528
- };
529
- };
530
- heading: string;
531
- lead: string;
532
- /** The field's label. */
533
- label: string;
534
- buttonText: string;
535
- /** What happens with the address, such as how to stop the emails. */
536
- smallPrint: string;
537
- /** What is said once the address is sent. */
538
- doneText: string;
539
- headingLevel: 2 | 3;
540
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
541
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
542
- private done;
543
- constructor();
544
- static styles: import("lit").CSSResult[];
545
- private submit;
546
- render(): TemplateResult;
547
- }
548
- declare global {
549
- interface HTMLElementTagNameMap {
550
- 'impkt-carousel': ImpktCarousel;
551
- 'impkt-gallery': ImpktGallery;
552
- 'impkt-logo-cloud': ImpktLogoCloud;
553
- 'impkt-steps': ImpktSteps;
554
- 'impkt-media-split': ImpktMediaSplit;
555
- 'impkt-cta-banner': ImpktCtaBanner;
556
- 'impkt-reviews': ImpktReviews;
557
- 'impkt-newsletter': ImpktNewsletter;
558
- }
559
- }
@@ -1,25 +0,0 @@
1
- import {
2
- ImpktCarousel,
3
- ImpktCtaBanner,
4
- ImpktGallery,
5
- ImpktLogoCloud,
6
- ImpktMediaSplit,
7
- ImpktNewsletter,
8
- ImpktReviews,
9
- ImpktSteps,
10
- gallerySpan
11
- } from "../chunk-37PA72FC.js";
12
- import "../chunk-NKMVICB5.js";
13
- import "../chunk-3KO55PZK.js";
14
- export {
15
- ImpktCarousel,
16
- ImpktCtaBanner,
17
- ImpktGallery,
18
- ImpktLogoCloud,
19
- ImpktMediaSplit,
20
- ImpktNewsletter,
21
- ImpktReviews,
22
- ImpktSteps,
23
- gallerySpan
24
- };
25
- //# sourceMappingURL=organisms.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}