@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.
- package/README.md +31 -33
- package/custom-elements.json +5986 -15880
- package/dist/base/FieldElement.d.ts +4 -4
- package/dist/base/{ImpktElement.d.ts → ImpaktElement.d.ts} +2 -2
- package/dist/base/styles.d.ts +7 -0
- package/dist/base/tokens.d.ts +1 -1
- package/dist/base/tone.d.ts +20 -0
- package/dist/{chunk-3RE4H2XO.js → chunk-3EF4T242.js} +7 -7
- package/dist/chunk-3EF4T242.js.map +1 -0
- package/dist/{chunk-NKMVICB5.js → chunk-5Y3HYRCU.js} +7 -7
- package/dist/chunk-5Y3HYRCU.js.map +1 -0
- package/dist/{chunk-ZOTAAYO5.js → chunk-5ZQVL3V2.js} +19 -12
- package/dist/chunk-5ZQVL3V2.js.map +1 -0
- package/dist/{chunk-4OYHT4BN.js → chunk-A7YBFS4H.js} +15 -15
- package/dist/chunk-A7YBFS4H.js.map +1 -0
- package/dist/{chunk-WGPB3QQU.js → chunk-ACQ4KYPR.js} +9 -9
- package/dist/chunk-ACQ4KYPR.js.map +1 -0
- package/dist/{chunk-DAH7RLW3.js → chunk-DE3INTHZ.js} +6 -6
- package/dist/chunk-DE3INTHZ.js.map +1 -0
- package/dist/{chunk-HXINWP3V.js → chunk-EJD6LT7E.js} +20 -83
- package/dist/chunk-EJD6LT7E.js.map +1 -0
- package/dist/{chunk-P6GDMZK4.js → chunk-EJSX4WCD.js} +9 -9
- package/dist/chunk-EJSX4WCD.js.map +1 -0
- package/dist/chunk-FMSC7J7J.js +76 -0
- package/dist/chunk-FMSC7J7J.js.map +1 -0
- package/dist/{chunk-46BYUQ5A.js → chunk-FWR6SEIA.js} +33 -33
- package/dist/chunk-FWR6SEIA.js.map +1 -0
- package/dist/{chunk-CUUBAETM.js → chunk-GJPHQLLN.js} +8 -8
- package/dist/chunk-GJPHQLLN.js.map +1 -0
- package/dist/{chunk-R7FKGFW6.js → chunk-HNBG2POR.js} +7 -7
- package/dist/chunk-HNBG2POR.js.map +1 -0
- package/dist/{chunk-DKZ425AM.js → chunk-HNZQ7LM4.js} +11 -11
- package/dist/chunk-HNZQ7LM4.js.map +1 -0
- package/dist/{chunk-55DK75QF.js → chunk-I54DOEZB.js} +6 -6
- package/dist/chunk-I54DOEZB.js.map +1 -0
- package/dist/{chunk-J2FACXYI.js → chunk-PANH23MF.js} +12 -12
- package/dist/chunk-PANH23MF.js.map +1 -0
- package/dist/{chunk-KKJEEKL2.js → chunk-PYVUQNFQ.js} +8 -8
- package/dist/chunk-PYVUQNFQ.js.map +1 -0
- package/dist/{chunk-RWWRTURA.js → chunk-Q54FX3SY.js} +8 -8
- package/dist/chunk-Q54FX3SY.js.map +1 -0
- package/dist/{chunk-AUVIOU5G.js → chunk-QBORJTS4.js} +36 -36
- package/dist/chunk-QBORJTS4.js.map +1 -0
- package/dist/{chunk-5QSTXIPG.js → chunk-RXX4CN5J.js} +7 -7
- package/dist/chunk-RXX4CN5J.js.map +1 -0
- package/dist/{chunk-XPCU4KUY.js → chunk-SV77SN6P.js} +7 -7
- package/dist/chunk-SV77SN6P.js.map +1 -0
- package/dist/{chunk-FVCM4WHD.js → chunk-TAZZLOUY.js} +10 -10
- package/dist/chunk-TAZZLOUY.js.map +1 -0
- package/dist/{chunk-KMCGX76Y.js → chunk-TRZO5CHU.js} +7 -7
- package/dist/chunk-TRZO5CHU.js.map +1 -0
- package/dist/{chunk-F4YQWKK2.js → chunk-UPOTBKKK.js} +7 -7
- package/dist/chunk-UPOTBKKK.js.map +1 -0
- package/dist/{chunk-APJ5JGRW.js → chunk-WP5WJ4V5.js} +6 -6
- package/dist/chunk-WP5WJ4V5.js.map +1 -0
- package/dist/{chunk-TCXKZDMR.js → chunk-WS5AUJ35.js} +7 -7
- package/dist/chunk-WS5AUJ35.js.map +1 -0
- package/dist/{chunk-7P4Z4CLK.js → chunk-WWYYNR3Z.js} +50 -49
- package/dist/chunk-WWYYNR3Z.js.map +1 -0
- package/dist/{chunk-RYBY35QE.js → chunk-XU2XODVH.js} +6 -6
- package/dist/chunk-XU2XODVH.js.map +1 -0
- package/dist/{chunk-3KO55PZK.js → chunk-YR6T73GY.js} +18 -11
- package/dist/chunk-YR6T73GY.js.map +1 -0
- package/dist/{chunk-IOBSIAHB.js → chunk-YYYQPKQ7.js} +24 -24
- package/dist/chunk-YYYQPKQ7.js.map +1 -0
- package/dist/{chunk-PO6FCAIS.js → chunk-Z45LY6BT.js} +9 -9
- package/dist/chunk-Z45LY6BT.js.map +1 -0
- package/dist/{chunk-DJEZW7AC.js → chunk-ZQBEFP2O.js} +7 -7
- package/dist/chunk-ZQBEFP2O.js.map +1 -0
- package/dist/chunk-ZS7RPXCT.js +47 -0
- package/dist/chunk-ZS7RPXCT.js.map +1 -0
- package/dist/components/accordion.d.ts +3 -3
- package/dist/components/accordion.js +4 -4
- package/dist/components/alert.d.ts +3 -3
- package/dist/components/alert.js +4 -4
- package/dist/components/app-ui.d.ts +25 -25
- package/dist/components/app-ui.js +21 -21
- package/dist/components/badge.d.ts +37 -0
- package/dist/components/badge.js +9 -0
- package/dist/components/blocks.d.ts +10 -73
- package/dist/components/blocks.js +10 -13
- package/dist/components/button.d.ts +3 -3
- package/dist/components/button.js +5 -5
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +5 -5
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +5 -5
- package/dist/components/chip.d.ts +58 -0
- package/dist/components/chip.js +8 -0
- package/dist/components/date-input.d.ts +2 -2
- package/dist/components/date-input.js +5 -5
- package/dist/components/dialog.d.ts +4 -4
- package/dist/components/dialog.js +4 -4
- package/dist/components/fieldset.d.ts +3 -3
- package/dist/components/fieldset.js +4 -4
- package/dist/components/grid.d.ts +3 -3
- package/dist/components/grid.js +4 -4
- package/dist/components/help.d.ts +3 -3
- package/dist/components/help.js +4 -4
- package/dist/components/icon.d.ts +3 -3
- package/dist/components/icon.js +4 -4
- package/dist/components/journey.d.ts +18 -18
- package/dist/components/journey.js +15 -15
- package/dist/components/layout.d.ts +9 -9
- package/dist/components/layout.js +10 -10
- package/dist/components/link.d.ts +3 -3
- package/dist/components/link.js +5 -5
- package/dist/components/list.d.ts +3 -3
- package/dist/components/list.js +4 -4
- package/dist/components/media.d.ts +8 -8
- package/dist/components/media.js +8 -8
- package/dist/components/navigation.d.ts +5 -5
- package/dist/components/navigation.js +7 -7
- package/dist/components/page.d.ts +5 -5
- package/dist/components/page.js +6 -6
- package/dist/components/price.d.ts +3 -3
- package/dist/components/price.js +4 -4
- package/dist/components/progress.d.ts +3 -3
- package/dist/components/progress.js +4 -4
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +5 -5
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +5 -5
- package/dist/components/summary-list.d.ts +3 -3
- package/dist/components/summary-list.js +4 -4
- package/dist/components/table.d.ts +6 -6
- package/dist/components/table.js +5 -5
- package/dist/components/text-input.d.ts +2 -2
- package/dist/components/text-input.js +5 -5
- package/dist/components/textarea.d.ts +2 -2
- package/dist/components/textarea.js +5 -5
- package/dist/index.d.ts +47 -40
- package/dist/index.js +206 -270
- package/dist/standalone/atomic-ui.js +796 -2002
- package/dist/standalone/atomic-ui.js.map +4 -4
- package/dist/standalone/index.html +51 -52
- package/package.json +4 -4
- package/specimen/index.html +51 -52
- package/dist/chunk-37PA72FC.js +0 -725
- package/dist/chunk-37PA72FC.js.map +0 -1
- package/dist/chunk-3KO55PZK.js.map +0 -1
- package/dist/chunk-3RE4H2XO.js.map +0 -1
- package/dist/chunk-46BYUQ5A.js.map +0 -1
- package/dist/chunk-4OYHT4BN.js.map +0 -1
- package/dist/chunk-55DK75QF.js.map +0 -1
- package/dist/chunk-5QSTXIPG.js.map +0 -1
- package/dist/chunk-7P4Z4CLK.js.map +0 -1
- package/dist/chunk-APJ5JGRW.js.map +0 -1
- package/dist/chunk-AUVIOU5G.js.map +0 -1
- package/dist/chunk-CUUBAETM.js.map +0 -1
- package/dist/chunk-DAH7RLW3.js.map +0 -1
- package/dist/chunk-DJEZW7AC.js.map +0 -1
- package/dist/chunk-DKZ425AM.js.map +0 -1
- package/dist/chunk-F4YQWKK2.js.map +0 -1
- package/dist/chunk-FVCM4WHD.js.map +0 -1
- package/dist/chunk-GBRML4RF.js +0 -264
- package/dist/chunk-GBRML4RF.js.map +0 -1
- package/dist/chunk-HXINWP3V.js.map +0 -1
- package/dist/chunk-IOBSIAHB.js.map +0 -1
- package/dist/chunk-IZOTGWWI.js +0 -361
- package/dist/chunk-IZOTGWWI.js.map +0 -1
- package/dist/chunk-J2FACXYI.js.map +0 -1
- package/dist/chunk-KKJEEKL2.js.map +0 -1
- package/dist/chunk-KMCGX76Y.js.map +0 -1
- package/dist/chunk-NKMVICB5.js.map +0 -1
- package/dist/chunk-OFLMG6RN.js +0 -428
- package/dist/chunk-OFLMG6RN.js.map +0 -1
- package/dist/chunk-P6GDMZK4.js.map +0 -1
- package/dist/chunk-PO6FCAIS.js.map +0 -1
- package/dist/chunk-PWLZFGS3.js +0 -494
- package/dist/chunk-PWLZFGS3.js.map +0 -1
- package/dist/chunk-QJIB36DM.js +0 -249
- package/dist/chunk-QJIB36DM.js.map +0 -1
- package/dist/chunk-R7FKGFW6.js.map +0 -1
- package/dist/chunk-RWWRTURA.js.map +0 -1
- package/dist/chunk-RYBY35QE.js.map +0 -1
- package/dist/chunk-S7F5VKWU.js +0 -453
- package/dist/chunk-S7F5VKWU.js.map +0 -1
- package/dist/chunk-T5W3FDSF.js +0 -396
- package/dist/chunk-T5W3FDSF.js.map +0 -1
- package/dist/chunk-TCXKZDMR.js.map +0 -1
- package/dist/chunk-WGPB3QQU.js.map +0 -1
- package/dist/chunk-XPCU4KUY.js.map +0 -1
- package/dist/chunk-YRYZUYY7.js +0 -236
- package/dist/chunk-YRYZUYY7.js.map +0 -1
- package/dist/chunk-ZOTAAYO5.js.map +0 -1
- package/dist/components/changelog.d.ts +0 -386
- package/dist/components/changelog.js +0 -25
- package/dist/components/estimator.d.ts +0 -246
- package/dist/components/estimator.js +0 -16
- package/dist/components/marketing.d.ts +0 -370
- package/dist/components/marketing.js +0 -21
- package/dist/components/marketing.js.map +0 -1
- package/dist/components/organisms.d.ts +0 -559
- package/dist/components/organisms.js +0 -25
- package/dist/components/organisms.js.map +0 -1
- package/dist/components/property.d.ts +0 -389
- package/dist/components/property.js +0 -20
- package/dist/components/property.js.map +0 -1
- package/dist/components/scene.d.ts +0 -138
- package/dist/components/scene.js +0 -8
- package/dist/components/scene.js.map +0 -1
- package/dist/components/scrubber.d.ts +0 -86
- package/dist/components/scrubber.js +0 -8
- package/dist/components/scrubber.js.map +0 -1
- package/dist/components/selling.d.ts +0 -409
- package/dist/components/selling.js +0 -25
- package/dist/components/selling.js.map +0 -1
- package/dist/components/site.d.ts +0 -283
- package/dist/components/site.js +0 -20
- package/dist/components/site.js.map +0 -1
- /package/dist/components/{changelog.js.map → badge.js.map} +0 -0
- /package/dist/components/{estimator.js.map → chip.js.map} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A short label on something, coloured by its tone.
|
|
3
|
+
*/
|
|
4
|
+
import { type TemplateResult } from 'lit';
|
|
5
|
+
import { ImpaktElement } from '../base/ImpaktElement';
|
|
6
|
+
/**
|
|
7
|
+
* A short label on something: "New", "Selling fast", "2 left".
|
|
8
|
+
*
|
|
9
|
+
* The tone colours it, and the words carry the meaning, so it reads the same
|
|
10
|
+
* without the colour (1.4.1).
|
|
11
|
+
*
|
|
12
|
+
* @category feedback
|
|
13
|
+
* @icon badge
|
|
14
|
+
* @slot - The badge's words.
|
|
15
|
+
*/
|
|
16
|
+
export declare class ImpaktBadge extends ImpaktElement {
|
|
17
|
+
static properties: {
|
|
18
|
+
tone: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
reflect: boolean;
|
|
21
|
+
};
|
|
22
|
+
icon: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
tone: 'neutral' | 'brand' | 'success' | 'warning' | 'danger' | 'info';
|
|
27
|
+
/** An icon before the words. */
|
|
28
|
+
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';
|
|
29
|
+
constructor();
|
|
30
|
+
static styles: import("lit").CSSResult[];
|
|
31
|
+
render(): TemplateResult;
|
|
32
|
+
}
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLElementTagNameMap {
|
|
35
|
+
'impakt-badge': ImpaktBadge;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type TemplateResult } from 'lit';
|
|
2
|
-
import {
|
|
2
|
+
import { ImpaktElement } from '../base/ImpaktElement';
|
|
3
3
|
/**
|
|
4
4
|
* A line between two parts of a page.
|
|
5
5
|
*
|
|
@@ -9,7 +9,7 @@ import { ImpktElement } from '../base/ImpktElement';
|
|
|
9
9
|
* @category layout
|
|
10
10
|
* @icon divider
|
|
11
11
|
*/
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class ImpaktDivider extends ImpaktElement {
|
|
13
13
|
static properties: {
|
|
14
14
|
spacing: {
|
|
15
15
|
type: StringConstructor;
|
|
@@ -34,7 +34,7 @@ export declare class ImpktDivider extends ImpktElement {
|
|
|
34
34
|
* @category layout
|
|
35
35
|
* @icon spacer
|
|
36
36
|
*/
|
|
37
|
-
export declare class
|
|
37
|
+
export declare class ImpaktSpacer extends ImpaktElement {
|
|
38
38
|
static properties: {
|
|
39
39
|
size: {
|
|
40
40
|
type: StringConstructor;
|
|
@@ -54,7 +54,7 @@ export declare class ImpktSpacer extends ImpktElement {
|
|
|
54
54
|
* @icon hidden
|
|
55
55
|
* @slot - The words to say.
|
|
56
56
|
*/
|
|
57
|
-
export declare class
|
|
57
|
+
export declare class ImpaktVisuallyHidden extends ImpaktElement {
|
|
58
58
|
static styles: import("lit").CSSResult[];
|
|
59
59
|
render(): TemplateResult;
|
|
60
60
|
}
|
|
@@ -86,9 +86,9 @@ export interface TabItem {
|
|
|
86
86
|
* @category content
|
|
87
87
|
* @icon tabs
|
|
88
88
|
* @slot - A child with `slot` set to a tab's id is that tab's panel.
|
|
89
|
-
* @fires {CustomEvent<{ value: string }>}
|
|
89
|
+
* @fires {CustomEvent<{ value: string }>} impakt-change - When another tab is chosen.
|
|
90
90
|
*/
|
|
91
|
-
export declare class
|
|
91
|
+
export declare class ImpaktTabs extends ImpaktElement {
|
|
92
92
|
static properties: {
|
|
93
93
|
items: {
|
|
94
94
|
type: ArrayConstructor;
|
|
@@ -127,74 +127,11 @@ export declare class ImpktTabs extends ImpktElement {
|
|
|
127
127
|
updated(changed: Map<string, unknown>): void;
|
|
128
128
|
render(): TemplateResult;
|
|
129
129
|
}
|
|
130
|
-
/** One card in a row of them. */
|
|
131
|
-
export interface CardItem {
|
|
132
|
-
id?: string;
|
|
133
|
-
heading: string;
|
|
134
|
-
text?: string;
|
|
135
|
-
imageSrc?: string;
|
|
136
|
-
imageAlt?: string;
|
|
137
|
-
href?: string;
|
|
138
|
-
badge?: string;
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* A row of cards, each a picture, a heading, a line of text and a link: the
|
|
142
|
-
* developments on a developments page, or the house types at one of them.
|
|
143
|
-
*
|
|
144
|
-
* **The whole card is the link's target, and the heading is its name.** The
|
|
145
|
-
* link is on the heading, so a screen reader hears "Larkfield Meadows, link"
|
|
146
|
-
* once rather than the whole card read out as one long link, and a pointer
|
|
147
|
-
* can still press anywhere on the card.
|
|
148
|
-
*
|
|
149
|
-
* @category content
|
|
150
|
-
* @icon cards
|
|
151
|
-
*/
|
|
152
|
-
export declare class ImpktCardGrid extends ImpktElement {
|
|
153
|
-
static properties: {
|
|
154
|
-
items: {
|
|
155
|
-
type: ArrayConstructor;
|
|
156
|
-
};
|
|
157
|
-
columns: {
|
|
158
|
-
type: StringConstructor;
|
|
159
|
-
reflect: boolean;
|
|
160
|
-
};
|
|
161
|
-
headingLevel: {
|
|
162
|
-
type: NumberConstructor;
|
|
163
|
-
attribute: string;
|
|
164
|
-
};
|
|
165
|
-
ratio: {
|
|
166
|
-
type: StringConstructor;
|
|
167
|
-
reflect: boolean;
|
|
168
|
-
};
|
|
169
|
-
spaceAbove: {
|
|
170
|
-
type: StringConstructor;
|
|
171
|
-
reflect: boolean;
|
|
172
|
-
attribute: string;
|
|
173
|
-
};
|
|
174
|
-
spaceBelow: {
|
|
175
|
-
type: StringConstructor;
|
|
176
|
-
reflect: boolean;
|
|
177
|
-
attribute: string;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
items: CardItem[];
|
|
181
|
-
columns: 'two' | 'three' | 'four';
|
|
182
|
-
/** The level of each card's heading. One below the heading above the cards. */
|
|
183
|
-
headingLevel: 2 | 3 | 4;
|
|
184
|
-
/** The shape of each card's picture. */
|
|
185
|
-
ratio: '16:9' | '4:3' | '3:2' | '1:1';
|
|
186
|
-
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
187
|
-
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
188
|
-
constructor();
|
|
189
|
-
static styles: import("lit").CSSResult[];
|
|
190
|
-
render(): TemplateResult;
|
|
191
|
-
}
|
|
192
130
|
declare global {
|
|
193
131
|
interface HTMLElementTagNameMap {
|
|
194
|
-
'
|
|
195
|
-
'
|
|
196
|
-
'
|
|
197
|
-
'
|
|
198
|
-
'impkt-card-grid': ImpktCardGrid;
|
|
132
|
+
'impakt-divider': ImpaktDivider;
|
|
133
|
+
'impakt-spacer': ImpaktSpacer;
|
|
134
|
+
'impakt-visually-hidden': ImpaktVisuallyHidden;
|
|
135
|
+
'impakt-tabs': ImpaktTabs;
|
|
199
136
|
}
|
|
200
137
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import "../chunk-NKMVICB5.js";
|
|
9
|
-
import "../chunk-3KO55PZK.js";
|
|
2
|
+
ImpaktDivider,
|
|
3
|
+
ImpaktSpacer,
|
|
4
|
+
ImpaktTabs,
|
|
5
|
+
ImpaktVisuallyHidden
|
|
6
|
+
} from "../chunk-EJD6LT7E.js";
|
|
7
|
+
import "../chunk-YR6T73GY.js";
|
|
10
8
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ImpktVisuallyHidden
|
|
9
|
+
ImpaktDivider,
|
|
10
|
+
ImpaktSpacer,
|
|
11
|
+
ImpaktTabs,
|
|
12
|
+
ImpaktVisuallyHidden
|
|
16
13
|
};
|
|
17
14
|
//# sourceMappingURL=blocks.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type TemplateResult } from 'lit';
|
|
2
|
-
import {
|
|
2
|
+
import { ImpaktElement } from '../base/ImpaktElement';
|
|
3
3
|
/**
|
|
4
4
|
* A button.
|
|
5
5
|
*
|
|
@@ -28,7 +28,7 @@ import { ImpktElement } from '../base/ImpktElement';
|
|
|
28
28
|
* @slot - The button label.
|
|
29
29
|
* @fires click - When the button is pressed. Not while it is busy or disabled.
|
|
30
30
|
*/
|
|
31
|
-
export declare class
|
|
31
|
+
export declare class ImpaktButton extends ImpaktElement {
|
|
32
32
|
static formAssociated: boolean;
|
|
33
33
|
static properties: {
|
|
34
34
|
hideOn: {
|
|
@@ -106,6 +106,6 @@ export declare class ImpktButton extends ImpktElement {
|
|
|
106
106
|
}
|
|
107
107
|
declare global {
|
|
108
108
|
interface HTMLElementTagNameMap {
|
|
109
|
-
'
|
|
109
|
+
'impakt-button': ImpaktButton;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
2
|
+
ImpaktButton
|
|
3
|
+
} from "../chunk-HNZQ7LM4.js";
|
|
4
|
+
import "../chunk-5Y3HYRCU.js";
|
|
5
|
+
import "../chunk-YR6T73GY.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
ImpaktButton
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=button.js.map
|
|
@@ -22,7 +22,7 @@ export interface CheckboxOption {
|
|
|
22
22
|
* @category form
|
|
23
23
|
* @icon checkbox
|
|
24
24
|
*/
|
|
25
|
-
export declare class
|
|
25
|
+
export declare class ImpaktCheckboxGroup extends FieldElement {
|
|
26
26
|
static properties: {
|
|
27
27
|
options: {
|
|
28
28
|
type: ArrayConstructor;
|
|
@@ -74,6 +74,6 @@ export declare class ImpktCheckboxGroup extends FieldElement {
|
|
|
74
74
|
}
|
|
75
75
|
declare global {
|
|
76
76
|
interface HTMLElementTagNameMap {
|
|
77
|
-
'
|
|
77
|
+
'impakt-checkbox-group': ImpaktCheckboxGroup;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
2
|
+
ImpaktCheckboxGroup
|
|
3
|
+
} from "../chunk-WP5WJ4V5.js";
|
|
4
|
+
import "../chunk-5ZQVL3V2.js";
|
|
5
|
+
import "../chunk-YR6T73GY.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
ImpaktCheckboxGroup
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=checkbox-group.js.map
|
|
@@ -11,7 +11,7 @@ import { FieldElement } from '../base/FieldElement';
|
|
|
11
11
|
* @category form
|
|
12
12
|
* @icon checkbox
|
|
13
13
|
*/
|
|
14
|
-
export declare class
|
|
14
|
+
export declare class ImpaktCheckbox extends FieldElement {
|
|
15
15
|
static properties: {
|
|
16
16
|
checked: {
|
|
17
17
|
type: BooleanConstructor;
|
|
@@ -59,6 +59,6 @@ export declare class ImpktCheckbox extends FieldElement {
|
|
|
59
59
|
}
|
|
60
60
|
declare global {
|
|
61
61
|
interface HTMLElementTagNameMap {
|
|
62
|
-
'
|
|
62
|
+
'impakt-checkbox': ImpaktCheckbox;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
2
|
+
ImpaktCheckbox
|
|
3
|
+
} from "../chunk-I54DOEZB.js";
|
|
4
|
+
import "../chunk-5ZQVL3V2.js";
|
|
5
|
+
import "../chunk-YR6T73GY.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
ImpaktCheckbox
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=checkbox.js.map
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A short label: a branch, a status with its dot, or a code such as a commit
|
|
3
|
+
* hash.
|
|
4
|
+
*/
|
|
5
|
+
import { type TemplateResult } from 'lit';
|
|
6
|
+
import { ImpaktElement } from '../base/ImpaktElement';
|
|
7
|
+
import { type Tone } from '../base/tone';
|
|
8
|
+
/**
|
|
9
|
+
* A short label: a branch name with its icon, a status with its dot, or a
|
|
10
|
+
* code such as a commit hash. It says something; it does nothing.
|
|
11
|
+
*
|
|
12
|
+
* @category content
|
|
13
|
+
* @icon badge
|
|
14
|
+
*/
|
|
15
|
+
export declare class ImpaktChip extends ImpaktElement {
|
|
16
|
+
static properties: {
|
|
17
|
+
label: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
};
|
|
20
|
+
meta: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
};
|
|
23
|
+
icon: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
reflect: boolean;
|
|
26
|
+
};
|
|
27
|
+
tone: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
look: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
reflect: boolean;
|
|
33
|
+
};
|
|
34
|
+
hideOn: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
reflect: boolean;
|
|
37
|
+
attribute: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
label: string;
|
|
41
|
+
/** A code after the label, quieter, such as a hash. */
|
|
42
|
+
meta: string;
|
|
43
|
+
/** A coloured dot, a branch, or nothing before the label. */
|
|
44
|
+
icon: 'none' | 'dot' | 'branch';
|
|
45
|
+
/** The dot's colour: a named tone, or 1 to 5 for the brand's chart colours. */
|
|
46
|
+
tone: Tone;
|
|
47
|
+
/** `outlined` on the card colour, `filled` with a faint wash, or `plain` words in the code face. */
|
|
48
|
+
look: 'outlined' | 'filled' | 'plain';
|
|
49
|
+
hideOn: 'never' | 'phone' | 'wide';
|
|
50
|
+
constructor();
|
|
51
|
+
static styles: import("lit").CSSResult[];
|
|
52
|
+
render(): TemplateResult;
|
|
53
|
+
}
|
|
54
|
+
declare global {
|
|
55
|
+
interface HTMLElementTagNameMap {
|
|
56
|
+
'impakt-chip': ImpaktChip;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -26,7 +26,7 @@ import { FieldElement } from '../base/FieldElement';
|
|
|
26
26
|
* @category form
|
|
27
27
|
* @icon calendar
|
|
28
28
|
*/
|
|
29
|
-
export declare class
|
|
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
|
-
'
|
|
93
|
+
'impakt-date-input': ImpaktDateInput;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
2
|
+
ImpaktDateInput
|
|
3
|
+
} from "../chunk-XU2XODVH.js";
|
|
4
|
+
import "../chunk-5ZQVL3V2.js";
|
|
5
|
+
import "../chunk-YR6T73GY.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
ImpaktDateInput
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=date-input.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type TemplateResult } from 'lit';
|
|
2
|
-
import {
|
|
2
|
+
import { ImpaktElement } from '../base/ImpaktElement';
|
|
3
3
|
/**
|
|
4
4
|
* A modal dialog — "are you sure you want to leave this order?".
|
|
5
5
|
*
|
|
@@ -29,10 +29,10 @@ import { ImpktElement } from '../base/ImpktElement';
|
|
|
29
29
|
*
|
|
30
30
|
* @category feedback
|
|
31
31
|
* @icon dialog
|
|
32
|
-
* @fires {CustomEvent<null>}
|
|
32
|
+
* @fires {CustomEvent<null>} impakt-close - When the dialog is closed.
|
|
33
33
|
* @slot - The body of the dialog.
|
|
34
34
|
*/
|
|
35
|
-
export declare class
|
|
35
|
+
export declare class ImpaktDialog extends ImpaktElement {
|
|
36
36
|
static properties: {
|
|
37
37
|
open: {
|
|
38
38
|
type: BooleanConstructor;
|
|
@@ -71,6 +71,6 @@ export declare class ImpktDialog extends ImpktElement {
|
|
|
71
71
|
}
|
|
72
72
|
declare global {
|
|
73
73
|
interface HTMLElementTagNameMap {
|
|
74
|
-
'
|
|
74
|
+
'impakt-dialog': ImpaktDialog;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunk-
|
|
2
|
+
ImpaktDialog
|
|
3
|
+
} from "../chunk-PYVUQNFQ.js";
|
|
4
4
|
import "../chunk-2YRTFWW2.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-YR6T73GY.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
ImpaktDialog
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=dialog.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type TemplateResult } from 'lit';
|
|
2
|
-
import {
|
|
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
|
|
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
|
-
'
|
|
47
|
+
'impakt-fieldset': ImpaktFieldset;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
2
|
+
ImpaktFieldset
|
|
3
|
+
} from "../chunk-WS5AUJ35.js";
|
|
4
|
+
import "../chunk-YR6T73GY.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
ImpaktFieldset
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=fieldset.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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
|
-
'
|
|
70
|
+
'impakt-grid': ImpaktGrid;
|
|
71
71
|
}
|
|
72
72
|
}
|
package/dist/components/grid.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { nothing, type TemplateResult } from 'lit';
|
|
2
|
-
import {
|
|
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
|
|
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
|
-
'
|
|
101
|
+
'impakt-help': ImpaktHelp;
|
|
102
102
|
}
|
|
103
103
|
}
|
package/dist/components/help.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { nothing, type TemplateResult } from 'lit';
|
|
2
|
-
import {
|
|
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
|
|
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
|
-
'
|
|
89
|
+
'impakt-icon': ImpaktIcon;
|
|
90
90
|
}
|
|
91
91
|
}
|
package/dist/components/icon.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ICONS,
|
|
3
3
|
ICON_NAMES,
|
|
4
|
-
|
|
4
|
+
ImpaktIcon,
|
|
5
5
|
iconSvg
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-5Y3HYRCU.js";
|
|
7
|
+
import "../chunk-YR6T73GY.js";
|
|
8
8
|
export {
|
|
9
9
|
ICONS,
|
|
10
10
|
ICON_NAMES,
|
|
11
|
-
|
|
11
|
+
ImpaktIcon,
|
|
12
12
|
iconSvg
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=icon.js.map
|