@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.
- package/README.md +82 -95
- package/custom-elements.json +25364 -0
- package/dist/base/FieldElement.d.ts +11 -0
- package/dist/base/ImpktElement.d.ts +14 -0
- package/dist/base/locale.d.ts +8 -0
- package/dist/base/say.d.ts +1 -0
- package/dist/base/scroll-lock.d.ts +2 -0
- package/dist/base/styles.d.ts +25 -6
- package/dist/base/tokens.d.ts +5 -1
- package/dist/chunk-2YRTFWW2.js +26 -0
- package/dist/chunk-2YRTFWW2.js.map +1 -0
- package/dist/{chunk-X7IPZPTG.js → chunk-37PA72FC.js} +34 -19
- package/dist/chunk-37PA72FC.js.map +1 -0
- package/dist/chunk-3IGNZTJU.js +14 -0
- package/dist/chunk-3IGNZTJU.js.map +1 -0
- package/dist/{chunk-NTNXHLTM.js → chunk-3KO55PZK.js} +47 -2
- package/dist/chunk-3KO55PZK.js.map +1 -0
- package/dist/chunk-3RE4H2XO.js +53 -0
- package/dist/chunk-3RE4H2XO.js.map +1 -0
- package/dist/{chunk-5EA4IDUD.js → chunk-46BYUQ5A.js} +2 -2
- package/dist/{chunk-WECSVHIM.js → chunk-4OYHT4BN.js} +7 -3
- package/dist/chunk-4OYHT4BN.js.map +1 -0
- package/dist/{chunk-4HU4Y23Q.js → chunk-55DK75QF.js} +6 -4
- package/dist/chunk-55DK75QF.js.map +1 -0
- package/dist/{chunk-XVKEM5JY.js → chunk-5QSTXIPG.js} +2 -2
- package/dist/{chunk-QCNT7D5V.js → chunk-7P4Z4CLK.js} +63 -20
- package/dist/chunk-7P4Z4CLK.js.map +1 -0
- package/dist/{chunk-GSCVG2ER.js → chunk-APJ5JGRW.js} +3 -3
- package/dist/chunk-AUVIOU5G.js +522 -0
- package/dist/chunk-AUVIOU5G.js.map +1 -0
- package/dist/{chunk-6ICOJPMD.js → chunk-CUUBAETM.js} +4 -3
- package/dist/chunk-CUUBAETM.js.map +1 -0
- package/dist/{chunk-NQKYHILD.js → chunk-DAH7RLW3.js} +3 -3
- package/dist/{chunk-OB7LC6NJ.js → chunk-DJEZW7AC.js} +2 -2
- package/dist/{chunk-XJP45LFA.js → chunk-DKZ425AM.js} +15 -5
- package/dist/chunk-DKZ425AM.js.map +1 -0
- package/dist/{chunk-GO2IBRFP.js → chunk-F4YQWKK2.js} +7 -4
- package/dist/chunk-F4YQWKK2.js.map +1 -0
- package/dist/chunk-FVCM4WHD.js +328 -0
- package/dist/chunk-FVCM4WHD.js.map +1 -0
- package/dist/chunk-GBRML4RF.js +264 -0
- package/dist/chunk-GBRML4RF.js.map +1 -0
- package/dist/{chunk-ZQJD4YEJ.js → chunk-HXINWP3V.js} +42 -13
- package/dist/chunk-HXINWP3V.js.map +1 -0
- package/dist/{chunk-T6L3USBZ.js → chunk-IOBSIAHB.js} +23 -11
- package/dist/chunk-IOBSIAHB.js.map +1 -0
- package/dist/{chunk-7Y6UCSUS.js → chunk-IZOTGWWI.js} +5 -5
- package/dist/chunk-IZOTGWWI.js.map +1 -0
- package/dist/{chunk-MLVUMCQ2.js → chunk-J2FACXYI.js} +14 -5
- package/dist/chunk-J2FACXYI.js.map +1 -0
- package/dist/{chunk-VTFCTWSX.js → chunk-KKJEEKL2.js} +33 -7
- package/dist/chunk-KKJEEKL2.js.map +1 -0
- package/dist/{chunk-HWWA27DN.js → chunk-KMCGX76Y.js} +2 -2
- package/dist/{chunk-2YQA3VBY.js → chunk-NKMVICB5.js} +4 -2
- package/dist/chunk-NKMVICB5.js.map +1 -0
- package/dist/{chunk-ZBLTU67D.js → chunk-OFLMG6RN.js} +15 -11
- package/dist/chunk-OFLMG6RN.js.map +1 -0
- package/dist/{chunk-CMAU4DSB.js → chunk-P6GDMZK4.js} +5 -5
- package/dist/chunk-P6GDMZK4.js.map +1 -0
- package/dist/{chunk-MOEMFL4K.js → chunk-PO6FCAIS.js} +5 -5
- package/dist/chunk-PO6FCAIS.js.map +1 -0
- package/dist/chunk-PWLZFGS3.js +494 -0
- package/dist/chunk-PWLZFGS3.js.map +1 -0
- package/dist/chunk-QJIB36DM.js +249 -0
- package/dist/chunk-QJIB36DM.js.map +1 -0
- package/dist/{chunk-TPF4MOMF.js → chunk-R7FKGFW6.js} +7 -4
- package/dist/chunk-R7FKGFW6.js.map +1 -0
- package/dist/{chunk-ZGAOMRYD.js → chunk-RWWRTURA.js} +3 -3
- package/dist/{chunk-QDNI54ON.js → chunk-RYBY35QE.js} +10 -8
- package/dist/chunk-RYBY35QE.js.map +1 -0
- package/dist/chunk-S7F5VKWU.js +453 -0
- package/dist/chunk-S7F5VKWU.js.map +1 -0
- package/dist/chunk-T5W3FDSF.js +396 -0
- package/dist/chunk-T5W3FDSF.js.map +1 -0
- package/dist/{chunk-BTGCUONV.js → chunk-TCXKZDMR.js} +2 -2
- package/dist/{chunk-C36CZRHK.js → chunk-WGPB3QQU.js} +43 -13
- package/dist/chunk-WGPB3QQU.js.map +1 -0
- package/dist/{chunk-G6OVKNL7.js → chunk-XPCU4KUY.js} +5 -4
- package/dist/chunk-XPCU4KUY.js.map +1 -0
- package/dist/chunk-YRYZUYY7.js +236 -0
- package/dist/chunk-YRYZUYY7.js.map +1 -0
- package/dist/{chunk-7BIQ3K6H.js → chunk-ZOTAAYO5.js} +12 -2
- package/dist/chunk-ZOTAAYO5.js.map +1 -0
- package/dist/components/accordion.js +2 -2
- package/dist/components/alert.js +2 -2
- package/dist/components/app-ui.d.ts +28 -12
- package/dist/components/app-ui.js +6 -4
- package/dist/components/blocks.d.ts +28 -2
- package/dist/components/blocks.js +3 -3
- package/dist/components/button.d.ts +7 -0
- package/dist/components/button.js +3 -3
- package/dist/components/changelog.d.ts +386 -0
- package/dist/components/changelog.js +25 -0
- package/dist/components/changelog.js.map +1 -0
- package/dist/components/checkbox-group.js +3 -3
- package/dist/components/checkbox.js +3 -3
- package/dist/components/date-input.js +3 -3
- package/dist/components/dialog.d.ts +15 -0
- package/dist/components/dialog.js +3 -2
- package/dist/components/estimator.d.ts +246 -0
- package/dist/components/estimator.js +16 -0
- package/dist/components/estimator.js.map +1 -0
- package/dist/components/fieldset.js +2 -2
- package/dist/components/grid.js +2 -2
- package/dist/components/help.js +2 -2
- package/dist/components/icon.d.ts +2 -0
- package/dist/components/icon.js +2 -2
- package/dist/components/journey.d.ts +447 -0
- package/dist/components/journey.js +22 -0
- package/dist/components/journey.js.map +1 -0
- package/dist/components/layout.d.ts +24 -0
- package/dist/components/layout.js +2 -2
- package/dist/components/link.js +3 -3
- package/dist/components/list.d.ts +50 -0
- package/dist/components/list.js +8 -0
- package/dist/components/list.js.map +1 -0
- package/dist/components/marketing.d.ts +1 -1
- package/dist/components/marketing.js +3 -3
- package/dist/components/media.d.ts +10 -0
- package/dist/components/media.js +2 -2
- package/dist/components/navigation.d.ts +16 -0
- package/dist/components/navigation.js +3 -3
- package/dist/components/organisms.d.ts +13 -1
- package/dist/components/organisms.js +3 -3
- package/dist/components/page.js +2 -2
- package/dist/components/price.d.ts +1 -1
- package/dist/components/price.js +3 -2
- package/dist/components/progress.js +2 -2
- package/dist/components/property.d.ts +1 -1
- package/dist/components/property.js +4 -3
- package/dist/components/radio-group.js +3 -3
- package/dist/components/scene.d.ts +138 -0
- package/dist/components/scene.js +8 -0
- package/dist/components/scene.js.map +1 -0
- package/dist/components/scrubber.d.ts +86 -0
- package/dist/components/scrubber.js +8 -0
- package/dist/components/scrubber.js.map +1 -0
- package/dist/components/select.js +3 -3
- package/dist/components/selling.d.ts +409 -0
- package/dist/components/selling.js +25 -0
- package/dist/components/selling.js.map +1 -0
- package/dist/components/site.d.ts +283 -0
- package/dist/components/site.js +20 -0
- package/dist/components/site.js.map +1 -0
- package/dist/components/summary-list.js +2 -2
- package/dist/components/table.d.ts +94 -2
- package/dist/components/table.js +4 -2
- package/dist/components/text-input.js +3 -3
- package/dist/components/textarea.d.ts +13 -0
- package/dist/components/textarea.js +3 -3
- package/dist/index.d.ts +10 -2
- package/dist/index.js +135 -55
- package/dist/standalone/atomic-ui.js +3134 -0
- package/dist/standalone/atomic-ui.js.map +7 -0
- package/dist/standalone/index.html +174 -0
- package/package.json +26 -7
- package/scripts/copy-to-product.mjs +52 -0
- package/specimen/index.html +174 -0
- package/dist/chunk-2YQA3VBY.js.map +0 -1
- package/dist/chunk-4HU4Y23Q.js.map +0 -1
- package/dist/chunk-6ICOJPMD.js.map +0 -1
- package/dist/chunk-7BIQ3K6H.js.map +0 -1
- package/dist/chunk-7Y6UCSUS.js.map +0 -1
- package/dist/chunk-C36CZRHK.js.map +0 -1
- package/dist/chunk-CMAU4DSB.js.map +0 -1
- package/dist/chunk-G6OVKNL7.js.map +0 -1
- package/dist/chunk-GO2IBRFP.js.map +0 -1
- package/dist/chunk-MLVUMCQ2.js.map +0 -1
- package/dist/chunk-MOEMFL4K.js.map +0 -1
- package/dist/chunk-NTNXHLTM.js.map +0 -1
- package/dist/chunk-QCNT7D5V.js.map +0 -1
- package/dist/chunk-QDNI54ON.js.map +0 -1
- package/dist/chunk-T6L3USBZ.js.map +0 -1
- package/dist/chunk-TPF4MOMF.js.map +0 -1
- package/dist/chunk-VTFCTWSX.js.map +0 -1
- package/dist/chunk-VWNBB7FW.js +0 -104
- package/dist/chunk-VWNBB7FW.js.map +0 -1
- package/dist/chunk-WECSVHIM.js.map +0 -1
- package/dist/chunk-X7IPZPTG.js.map +0 -1
- package/dist/chunk-XJP45LFA.js.map +0 -1
- package/dist/chunk-ZBLTU67D.js.map +0 -1
- package/dist/chunk-ZQJD4YEJ.js.map +0 -1
- /package/dist/{chunk-5EA4IDUD.js.map → chunk-46BYUQ5A.js.map} +0 -0
- /package/dist/{chunk-XVKEM5JY.js.map → chunk-5QSTXIPG.js.map} +0 -0
- /package/dist/{chunk-GSCVG2ER.js.map → chunk-APJ5JGRW.js.map} +0 -0
- /package/dist/{chunk-NQKYHILD.js.map → chunk-DAH7RLW3.js.map} +0 -0
- /package/dist/{chunk-OB7LC6NJ.js.map → chunk-DJEZW7AC.js.map} +0 -0
- /package/dist/{chunk-HWWA27DN.js.map → chunk-KMCGX76Y.js.map} +0 -0
- /package/dist/{chunk-ZGAOMRYD.js.map → chunk-RWWRTURA.js.map} +0 -0
- /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":[]}
|
|
@@ -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 {
|
package/dist/components/table.js
CHANGED
|
@@ -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
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
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
|
-
|
|
3
|
-
|
|
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
|
-
|
|
6
|
-
|
|
13
|
+
ImpktChip,
|
|
14
|
+
ImpktSiteFooter,
|
|
15
|
+
ImpktSiteHeader,
|
|
16
|
+
ImpktWordmark
|
|
17
|
+
} from "./chunk-QJIB36DM.js";
|
|
7
18
|
import {
|
|
8
19
|
ImpktSummaryList
|
|
9
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-F4YQWKK2.js";
|
|
10
21
|
import {
|
|
11
22
|
ImpktTable
|
|
12
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FVCM4WHD.js";
|
|
13
24
|
import {
|
|
14
25
|
ImpktTextInput
|
|
15
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PO6FCAIS.js";
|
|
16
27
|
import {
|
|
17
28
|
ImpktTextarea
|
|
18
|
-
} from "./chunk-
|
|
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-
|
|
81
|
+
} from "./chunk-IZOTGWWI.js";
|
|
28
82
|
import {
|
|
29
83
|
ImpktDocumentLink,
|
|
30
84
|
ImpktImage,
|
|
31
85
|
ImpktLogo
|
|
32
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-4OYHT4BN.js";
|
|
33
87
|
import {
|
|
34
88
|
ImpktBreadcrumbs,
|
|
35
89
|
ImpktNav
|
|
36
|
-
} from "./chunk-
|
|
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-
|
|
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
|
-
|
|
59
|
-
|
|
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-
|
|
106
|
+
} from "./chunk-RYBY35QE.js";
|
|
68
107
|
import {
|
|
69
108
|
ImpktDialog
|
|
70
|
-
} from "./chunk-
|
|
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-
|
|
117
|
+
} from "./chunk-TCXKZDMR.js";
|
|
74
118
|
import {
|
|
75
119
|
ImpktGrid
|
|
76
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-DJEZW7AC.js";
|
|
77
121
|
import {
|
|
78
122
|
ImpktHelp
|
|
79
|
-
} from "./chunk-
|
|
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-
|
|
126
|
+
} from "./chunk-5QSTXIPG.js";
|
|
92
127
|
import {
|
|
93
128
|
ImpktAlert
|
|
94
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
147
|
+
} from "./chunk-HXINWP3V.js";
|
|
112
148
|
import {
|
|
113
149
|
ImpktButton
|
|
114
|
-
} from "./chunk-
|
|
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-
|
|
172
|
+
} from "./chunk-NKMVICB5.js";
|
|
121
173
|
import {
|
|
122
174
|
ImpktCheckboxGroup
|
|
123
|
-
} from "./chunk-
|
|
124
|
-
import {
|
|
125
|
-
ImpktCheckbox
|
|
126
|
-
} from "./chunk-4HU4Y23Q.js";
|
|
175
|
+
} from "./chunk-APJ5JGRW.js";
|
|
127
176
|
import {
|
|
128
177
|
FieldElement
|
|
129
|
-
} from "./chunk-
|
|
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-
|
|
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
|
};
|