@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
@@ -1,370 +0,0 @@
1
- import { type TemplateResult } from 'lit';
2
- import { ImpktElement } from '../base/ImpktElement';
3
- /**
4
- * The opening of a page: a short label, a big heading, a line of text, the
5
- * page's main actions and, beside them, a picture.
6
- *
7
- * Put the buttons in the `actions` slot. The picture goes beside the words on
8
- * a wide screen and below them on a phone, so the heading is always the first
9
- * thing read.
10
- *
11
- * @category layout
12
- * @icon hero
13
- * @role heading
14
- * @slot actions - The page's main buttons and links.
15
- * @slot search - A search bar across the bottom of a full-picture hero.
16
- */
17
- export declare class ImpktHero extends ImpktElement {
18
- static properties: {
19
- eyebrow: {
20
- type: StringConstructor;
21
- };
22
- heading: {
23
- type: StringConstructor;
24
- };
25
- lead: {
26
- type: StringConstructor;
27
- };
28
- level: {
29
- type: NumberConstructor;
30
- reflect: boolean;
31
- };
32
- imageSrc: {
33
- type: StringConstructor;
34
- attribute: string;
35
- };
36
- imageAlt: {
37
- type: StringConstructor;
38
- attribute: string;
39
- };
40
- treatment: {
41
- type: StringConstructor;
42
- reflect: boolean;
43
- };
44
- ratingText: {
45
- type: StringConstructor;
46
- attribute: string;
47
- };
48
- eyebrowIcon: {
49
- type: StringConstructor;
50
- attribute: string;
51
- };
52
- align: {
53
- type: StringConstructor;
54
- reflect: boolean;
55
- };
56
- spaceAbove: {
57
- type: StringConstructor;
58
- reflect: boolean;
59
- attribute: string;
60
- };
61
- spaceBelow: {
62
- type: StringConstructor;
63
- reflect: boolean;
64
- attribute: string;
65
- };
66
- };
67
- /** A short label above the heading, such as the name of the development. */
68
- eyebrow: string;
69
- heading: string;
70
- /** A sentence or two under the heading. */
71
- lead: string;
72
- /** The heading's level in the page. A page's hero is usually its only level 1. */
73
- level: 1 | 2;
74
- imageSrc: string;
75
- /** What the picture shows. Leave empty only when it is decoration. */
76
- imageAlt: string;
77
- /** The picture beside the words, or filling the whole block with the words over it. */
78
- treatment: 'split' | 'cover';
79
- /** A short line of proof on the picture, such as "4.8 from 312 buyers". */
80
- ratingText: string;
81
- /** A small picture before the eyebrow on a full-picture hero. */
82
- eyebrowIcon: 'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat';
83
- /** Where the words sit. Centred heroes have no picture beside them. */
84
- align: 'start' | 'center';
85
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
86
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
87
- constructor();
88
- static styles: import("lit").CSSResult[];
89
- render(): TemplateResult;
90
- }
91
- /** One benefit or feature in a list of them. */
92
- export interface FeatureItem {
93
- id?: string;
94
- icon?: string;
95
- heading: string;
96
- text?: string;
97
- }
98
- /**
99
- * Benefits or features side by side, each with an icon, a short heading and a
100
- * line of text: "Ten years of cover", "Lower bills from day one".
101
- *
102
- * The icons are decoration, because each heading already says what it is.
103
- * The items are a list, so a screen reader says how many there are.
104
- *
105
- * @category content
106
- * @icon features
107
- */
108
- export declare class ImpktFeatureList extends ImpktElement {
109
- static properties: {
110
- items: {
111
- type: ArrayConstructor;
112
- };
113
- columns: {
114
- type: StringConstructor;
115
- reflect: boolean;
116
- };
117
- headingLevel: {
118
- type: NumberConstructor;
119
- attribute: string;
120
- };
121
- layout: {
122
- type: StringConstructor;
123
- reflect: boolean;
124
- };
125
- spaceAbove: {
126
- type: StringConstructor;
127
- reflect: boolean;
128
- attribute: string;
129
- };
130
- spaceBelow: {
131
- type: StringConstructor;
132
- reflect: boolean;
133
- attribute: string;
134
- };
135
- };
136
- items: FeatureItem[];
137
- columns: 'two' | 'three' | 'four';
138
- /** The level of each item's heading. One below the heading above the list. */
139
- headingLevel: 2 | 3 | 4;
140
- /** Icons above the words, or beside them. */
141
- layout: 'stacked' | 'inline';
142
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
143
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
144
- constructor();
145
- static styles: import("lit").CSSResult[];
146
- render(): TemplateResult;
147
- }
148
- /**
149
- * Something a customer said, and who said it.
150
- *
151
- * It is a `blockquote` with a `figcaption`, so the words and the person are
152
- * tied together for a screen reader as well as on the screen.
153
- *
154
- * @category content
155
- * @icon quote
156
- */
157
- export declare class ImpktQuote extends ImpktElement {
158
- static properties: {
159
- quote: {
160
- type: StringConstructor;
161
- };
162
- person: {
163
- type: StringConstructor;
164
- };
165
- about: {
166
- type: StringConstructor;
167
- };
168
- imageSrc: {
169
- type: StringConstructor;
170
- attribute: string;
171
- };
172
- size: {
173
- type: StringConstructor;
174
- reflect: boolean;
175
- };
176
- align: {
177
- type: StringConstructor;
178
- reflect: boolean;
179
- };
180
- spaceAbove: {
181
- type: StringConstructor;
182
- reflect: boolean;
183
- attribute: string;
184
- };
185
- spaceBelow: {
186
- type: StringConstructor;
187
- reflect: boolean;
188
- attribute: string;
189
- };
190
- };
191
- /** The words they said, without quotation marks. */
192
- quote: string;
193
- /** Who said it. */
194
- person: string;
195
- /** Who they are, such as "Bought at Larkfield Meadows, 2025". */
196
- about: string;
197
- /** A photo of them. It is decoration, because their name is beside it. */
198
- imageSrc: string;
199
- size: 'md' | 'lg';
200
- align: 'start' | 'center';
201
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
202
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
203
- constructor();
204
- static styles: import("lit").CSSResult[];
205
- render(): TemplateResult;
206
- }
207
- /**
208
- * A number that makes a point, with what it counts beneath it: "36 years",
209
- * "Building in Kent since 1987".
210
- *
211
- * @category content
212
- * @icon stat
213
- */
214
- export declare class ImpktStat extends ImpktElement {
215
- static properties: {
216
- figure: {
217
- type: StringConstructor;
218
- };
219
- label: {
220
- type: StringConstructor;
221
- };
222
- note: {
223
- type: StringConstructor;
224
- };
225
- size: {
226
- type: StringConstructor;
227
- reflect: boolean;
228
- };
229
- align: {
230
- type: StringConstructor;
231
- reflect: boolean;
232
- };
233
- };
234
- /** How large the number is drawn. */
235
- size: 'md' | 'lg' | 'xl';
236
- /** The number, written as it should appear, such as "36" or "£280k". */
237
- figure: string;
238
- /** What the number counts. */
239
- label: string;
240
- /** A line more, if the label needs it. */
241
- note: string;
242
- align: 'start' | 'center';
243
- constructor();
244
- static styles: import("lit").CSSResult[];
245
- render(): TemplateResult;
246
- }
247
- /**
248
- * A short label on something: "New", "Selling fast", "2 left".
249
- *
250
- * The tone colours it, and the words carry the meaning, so it reads the same
251
- * without the colour (1.4.1).
252
- *
253
- * @category feedback
254
- * @icon badge
255
- * @slot - The badge's words.
256
- */
257
- export declare class ImpktBadge extends ImpktElement {
258
- static properties: {
259
- tone: {
260
- type: StringConstructor;
261
- reflect: boolean;
262
- };
263
- icon: {
264
- type: StringConstructor;
265
- };
266
- };
267
- tone: 'neutral' | 'brand' | 'success' | 'warning' | 'danger' | 'info';
268
- /** An icon before the words. */
269
- icon: 'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat';
270
- constructor();
271
- static styles: import("lit").CSSResult[];
272
- render(): TemplateResult;
273
- }
274
- /**
275
- * A thin line of news across the top of a page: a launch, a change to opening
276
- * hours. Keep it to one short sentence.
277
- *
278
- * @category feedback
279
- * @icon alert
280
- */
281
- export declare class ImpktAnnouncement extends ImpktElement {
282
- static properties: {
283
- message: {
284
- type: StringConstructor;
285
- };
286
- linkText: {
287
- type: StringConstructor;
288
- attribute: string;
289
- };
290
- href: {
291
- type: StringConstructor;
292
- };
293
- };
294
- message: string;
295
- linkText: string;
296
- href: string;
297
- constructor();
298
- static styles: import("lit").CSSResult[];
299
- render(): TemplateResult;
300
- }
301
- /** One choice in a search bar. */
302
- export interface SearchField {
303
- id?: string;
304
- /** The name it sends, such as "bedrooms". */
305
- name?: string;
306
- label: string;
307
- /** What it shows before anything is chosen. */
308
- placeholder?: string;
309
- /** The other choices, separated by commas. */
310
- options?: string;
311
- }
312
- /**
313
- * A row of choices and one button that finds what fits: where, how many
314
- * bedrooms, up to what budget.
315
- *
316
- * Each choice is a native select with a real label. It sends the visitor to
317
- * `action` with their choices in the address, so it works as a plain link can.
318
- *
319
- * @category form
320
- * @icon search
321
- * @fires impkt-submit - When the search is run. The choices are in detail.values.
322
- */
323
- export declare class ImpktSearchBar extends ImpktElement {
324
- static properties: {
325
- items: {
326
- type: ArrayConstructor;
327
- };
328
- buttonText: {
329
- type: StringConstructor;
330
- attribute: string;
331
- };
332
- action: {
333
- type: StringConstructor;
334
- };
335
- label: {
336
- type: StringConstructor;
337
- };
338
- spaceAbove: {
339
- type: StringConstructor;
340
- reflect: boolean;
341
- attribute: string;
342
- };
343
- spaceBelow: {
344
- type: StringConstructor;
345
- reflect: boolean;
346
- attribute: string;
347
- };
348
- };
349
- items: SearchField[];
350
- buttonText: string;
351
- /** Where the search goes. Leave empty to handle it in the app. */
352
- action: string;
353
- /** What the search is called for a screen reader. */
354
- label: string;
355
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
356
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
357
- constructor();
358
- static styles: import("lit").CSSResult[];
359
- private submit;
360
- render(): TemplateResult;
361
- }
362
- declare global {
363
- interface HTMLElementTagNameMap {
364
- 'impkt-hero': ImpktHero;
365
- 'impkt-feature-list': ImpktFeatureList;
366
- 'impkt-quote': ImpktQuote;
367
- 'impkt-stat': ImpktStat;
368
- 'impkt-badge': ImpktBadge;
369
- }
370
- }
@@ -1,21 +0,0 @@
1
- import {
2
- ImpktAnnouncement,
3
- ImpktBadge,
4
- ImpktFeatureList,
5
- ImpktHero,
6
- ImpktQuote,
7
- ImpktSearchBar,
8
- ImpktStat
9
- } from "../chunk-4X723QBD.js";
10
- import "../chunk-KFD4O7VA.js";
11
- import "../chunk-D6C7XEY4.js";
12
- export {
13
- ImpktAnnouncement,
14
- ImpktBadge,
15
- ImpktFeatureList,
16
- ImpktHero,
17
- ImpktQuote,
18
- ImpktSearchBar,
19
- ImpktStat
20
- };
21
- //# sourceMappingURL=marketing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}