@atomic-ui/ui-vue 0.2.0 → 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 +33 -6
- package/dist/components.d.ts +791 -0
- package/dist/index.d.ts +15 -178
- package/dist/index.js +257 -27
- package/dist/index.js.map +1 -1
- package/dist/wrap.d.ts +32 -0
- package/package.json +9 -6
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,16 @@
|
|
|
14
14
|
* behaviour — a Vue app that would rather write `<impkt-text-input>` directly
|
|
15
15
|
* can, and only needs the build config below.
|
|
16
16
|
*
|
|
17
|
+
* ## Generated from the manifest
|
|
18
|
+
*
|
|
19
|
+
* Every element has a component, written by `scripts/generate.mjs` from the
|
|
20
|
+
* Custom Elements Manifest that `@atomic-ui/ui` builds from its own source, so a
|
|
21
|
+
* component cannot drift from its element. Each is named after the element's
|
|
22
|
+
* class (`ImpktTextInput`), and each `impkt-` event is an emit without the
|
|
23
|
+
* prefix (`impkt-change` is `@change`). The same file adds every component and
|
|
24
|
+
* every bare tag to Vue's `GlobalComponents`, so a template is type-checked
|
|
25
|
+
* whichever it uses, and `AtomicUI` registers them all with `app.use`.
|
|
26
|
+
*
|
|
17
27
|
* ## One piece of configuration the wrapper cannot do for you
|
|
18
28
|
*
|
|
19
29
|
* In `vite.config.ts`:
|
|
@@ -25,186 +35,13 @@
|
|
|
25
35
|
* Without it Vue warns about an unresolved component on every element, and
|
|
26
36
|
* binds everything as attributes — which is the array problem again.
|
|
27
37
|
*/
|
|
28
|
-
import {
|
|
38
|
+
import type { PropType } from 'vue';
|
|
29
39
|
import '@atomic-ui/ui';
|
|
30
|
-
|
|
40
|
+
export * from './components';
|
|
41
|
+
export { wrap, type ImpktComponent } from './wrap';
|
|
31
42
|
/** What a control reports when its value changes. */
|
|
32
43
|
export type ImpktChangeEvent = CustomEvent<{
|
|
33
44
|
value: string;
|
|
34
45
|
}>;
|
|
35
|
-
export
|
|
36
|
-
|
|
37
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
38
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}>, {}, SlotsType<{
|
|
40
|
-
default?: () => VNode[];
|
|
41
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
-
export declare const ImpktLink: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
45
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
46
|
-
}>, {}, SlotsType<{
|
|
47
|
-
default?: () => VNode[];
|
|
48
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
-
export declare const ImpktAlert: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
52
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
53
|
-
}>, {}, SlotsType<{
|
|
54
|
-
default?: () => VNode[];
|
|
55
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
-
export declare const ImpktStack: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
57
|
-
[key: string]: any;
|
|
58
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
59
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
60
|
-
}>, {}, SlotsType<{
|
|
61
|
-
default?: () => VNode[];
|
|
62
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
|
-
export declare const ImpktCard: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
64
|
-
[key: string]: any;
|
|
65
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
66
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
67
|
-
}>, {}, SlotsType<{
|
|
68
|
-
default?: () => VNode[];
|
|
69
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
70
|
-
export declare const ImpktHeading: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
71
|
-
[key: string]: any;
|
|
72
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
73
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
74
|
-
}>, {}, SlotsType<{
|
|
75
|
-
default?: () => VNode[];
|
|
76
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
|
-
export declare const ImpktText: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
78
|
-
[key: string]: any;
|
|
79
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
80
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
81
|
-
}>, {}, SlotsType<{
|
|
82
|
-
default?: () => VNode[];
|
|
83
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
84
|
-
export declare const ImpktImage: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
85
|
-
[key: string]: any;
|
|
86
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
87
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
88
|
-
}>, {}, SlotsType<{
|
|
89
|
-
default?: () => VNode[];
|
|
90
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
91
|
-
export declare const ImpktLogo: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
92
|
-
[key: string]: any;
|
|
93
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
94
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
95
|
-
}>, {}, SlotsType<{
|
|
96
|
-
default?: () => VNode[];
|
|
97
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
98
|
-
export declare const ImpktDocumentLink: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
99
|
-
[key: string]: any;
|
|
100
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
101
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
102
|
-
}>, {}, SlotsType<{
|
|
103
|
-
default?: () => VNode[];
|
|
104
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
105
|
-
export declare const ImpktPrice: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
106
|
-
[key: string]: any;
|
|
107
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
108
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
109
|
-
}>, {}, SlotsType<{
|
|
110
|
-
default?: () => VNode[];
|
|
111
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
|
-
export declare const ImpktDialog: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
113
|
-
[key: string]: any;
|
|
114
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
115
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
116
|
-
}>, {}, SlotsType<{
|
|
117
|
-
default?: () => VNode[];
|
|
118
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
119
|
-
export declare const ImpktTextInput: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
120
|
-
[key: string]: any;
|
|
121
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
122
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
123
|
-
}>, {}, SlotsType<{
|
|
124
|
-
default?: () => VNode[];
|
|
125
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
126
|
-
export declare const ImpktTextarea: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
127
|
-
[key: string]: any;
|
|
128
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
129
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
130
|
-
}>, {}, SlotsType<{
|
|
131
|
-
default?: () => VNode[];
|
|
132
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
133
|
-
export declare const ImpktCheckbox: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
134
|
-
[key: string]: any;
|
|
135
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
136
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
137
|
-
}>, {}, SlotsType<{
|
|
138
|
-
default?: () => VNode[];
|
|
139
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
140
|
-
export declare const ImpktSelect: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
141
|
-
[key: string]: any;
|
|
142
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
143
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
144
|
-
}>, {}, SlotsType<{
|
|
145
|
-
default?: () => VNode[];
|
|
146
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
147
|
-
export declare const ImpktRadioGroup: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
148
|
-
[key: string]: any;
|
|
149
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
150
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
151
|
-
}>, {}, SlotsType<{
|
|
152
|
-
default?: () => VNode[];
|
|
153
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
154
|
-
export declare const ImpktCheckboxGroup: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
155
|
-
[key: string]: any;
|
|
156
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
157
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
158
|
-
}>, {}, SlotsType<{
|
|
159
|
-
default?: () => VNode[];
|
|
160
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
161
|
-
export declare const ImpktDateInput: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
162
|
-
[key: string]: any;
|
|
163
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
164
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
165
|
-
}>, {}, SlotsType<{
|
|
166
|
-
default?: () => VNode[];
|
|
167
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
168
|
-
export declare const ImpktSummaryList: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
169
|
-
[key: string]: any;
|
|
170
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
171
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
172
|
-
}>, {}, SlotsType<{
|
|
173
|
-
default?: () => VNode[];
|
|
174
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
175
|
-
export declare const ImpktTable: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
176
|
-
[key: string]: any;
|
|
177
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
178
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
179
|
-
}>, {}, SlotsType<{
|
|
180
|
-
default?: () => VNode[];
|
|
181
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
182
|
-
export declare const ImpktAccordion: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
183
|
-
[key: string]: any;
|
|
184
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
185
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
186
|
-
}>, {}, SlotsType<{
|
|
187
|
-
default?: () => VNode[];
|
|
188
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
189
|
-
export declare const ImpktProgress: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
190
|
-
[key: string]: any;
|
|
191
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
192
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
193
|
-
}>, {}, SlotsType<{
|
|
194
|
-
default?: () => VNode[];
|
|
195
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
196
|
-
export type { RadioOption, SelectOption, CheckboxOption, SummaryRow, TableColumn, AccordionItem, ProgressStep, HelpKind, PropType, };
|
|
197
|
-
export declare const ImpktGrid: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
198
|
-
[key: string]: any;
|
|
199
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
200
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
201
|
-
}>, {}, SlotsType<{
|
|
202
|
-
default?: () => VNode[];
|
|
203
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
204
|
-
export declare const ImpktHelp: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
205
|
-
[key: string]: any;
|
|
206
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
207
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
208
|
-
}>, {}, SlotsType<{
|
|
209
|
-
default?: () => VNode[];
|
|
210
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
export type { RadioOption, SelectOption, CheckboxOption, SummaryRow, TableColumn, AccordionItem, ProgressStep, HelpKind, SortDirection, TabItem, TaskItem, ErrorItem, MenuItem, StepItem, AvatarItem, NavLink, CardItem, } from '@atomic-ui/ui';
|
|
47
|
+
export type { PropType };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// packages/ui-vue/src/index.ts
|
|
2
|
-
import { defineComponent, h } from "vue";
|
|
3
2
|
import "@atomic-ui/ui";
|
|
3
|
+
|
|
4
|
+
// packages/ui-vue/src/wrap.ts
|
|
5
|
+
import { defineComponent, h } from "vue";
|
|
4
6
|
function wrap(tag, domProps = [], events = {}) {
|
|
5
7
|
return defineComponent({
|
|
6
8
|
name: tag.replace(/(^|-)(\w)/g, (_, __, c) => c.toUpperCase()),
|
|
@@ -21,57 +23,285 @@ function wrap(tag, domProps = [], events = {}) {
|
|
|
21
23
|
emits: Object.values(events)
|
|
22
24
|
});
|
|
23
25
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
26
|
+
|
|
27
|
+
// packages/ui-vue/src/components.ts
|
|
28
|
+
var ImpktAccordion = wrap("impkt-accordion", ["items", "open"], {});
|
|
29
|
+
var ImpktAddressLookup = wrap("impkt-address-lookup", ["addresses"], { "impkt-lookup": "lookup", "impkt-change": "change" });
|
|
30
|
+
var ImpktAffordabilityCalculator = wrap("impkt-affordability-calculator", ["headingLevel", "spaceAbove", "spaceBelow"], {});
|
|
31
|
+
var ImpktAlert = wrap("impkt-alert", ["tone"], {});
|
|
32
|
+
var ImpktAnnouncement = wrap("impkt-announcement", [], {});
|
|
33
|
+
var ImpktAvatar = wrap("impkt-avatar", [], {});
|
|
34
|
+
var ImpktAvatarGroup = wrap("impkt-avatar-group", ["items"], {});
|
|
35
|
+
var ImpktBadge = wrap("impkt-badge", [], {});
|
|
36
|
+
var ImpktBeforeAfter = wrap("impkt-before-after", [], {});
|
|
37
|
+
var ImpktBranchList = wrap("impkt-branch-list", ["items", "headingLevel"], {});
|
|
38
|
+
var ImpktBranchTimeline = wrap("impkt-branch-timeline", ["lanes", "marks"], {});
|
|
39
|
+
var ImpktBreadcrumbs = wrap("impkt-breadcrumbs", ["items"], {});
|
|
40
|
+
var ImpktButton = wrap("impkt-button", [], {});
|
|
41
|
+
var ImpktCard = wrap("impkt-card", [], {});
|
|
42
|
+
var ImpktCardGrid = wrap("impkt-card-grid", ["items", "headingLevel"], {});
|
|
43
|
+
var ImpktCarousel = wrap("impkt-carousel", [], {});
|
|
44
|
+
var ImpktCheckList = wrap("impkt-check-list", ["items"], {});
|
|
45
|
+
var ImpktCheckbox = wrap("impkt-checkbox", [], { "impkt-change": "change" });
|
|
46
|
+
var ImpktCheckboxGroup = wrap("impkt-checkbox-group", ["options", "values"], { "impkt-change": "change" });
|
|
47
|
+
var ImpktChip = wrap("impkt-chip", ["tone"], {});
|
|
48
|
+
var ImpktContactBlock = wrap("impkt-contact-block", ["headingLevel", "spaceAbove", "spaceBelow"], { "impkt-submit": "submit" });
|
|
49
|
+
var ImpktCtaBanner = wrap("impkt-cta-banner", ["headingLevel"], {});
|
|
50
|
+
var ImpktDateInput = wrap("impkt-date-input", [], { "impkt-change": "change" });
|
|
36
51
|
var ImpktDialog = wrap("impkt-dialog", [], { "impkt-close": "close" });
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var ImpktHelp = wrap("impkt-help");
|
|
52
|
+
var ImpktDivider = wrap("impkt-divider", [], {});
|
|
53
|
+
var ImpktDocumentLink = wrap("impkt-document-link", [], {});
|
|
54
|
+
var ImpktDrawer = wrap("impkt-drawer", [], { "impkt-close": "close" });
|
|
55
|
+
var ImpktEmptyState = wrap("impkt-empty-state", ["headingLevel"], {});
|
|
56
|
+
var ImpktErrorSummary = wrap("impkt-error-summary", ["items"], {});
|
|
57
|
+
var ImpktEstimator = wrap("impkt-estimator", ["questions", "teams", "ways", "phases"], { "impkt-estimate": "estimate" });
|
|
58
|
+
var ImpktFeatureList = wrap("impkt-feature-list", ["items", "headingLevel"], {});
|
|
59
|
+
var ImpktFieldset = wrap("impkt-fieldset", [], {});
|
|
60
|
+
var ImpktFileUpload = wrap("impkt-file-upload", [], { "impkt-files": "files", "impkt-change": "change" });
|
|
61
|
+
var ImpktGallery = wrap("impkt-gallery", ["items"], {});
|
|
62
|
+
var ImpktGrid = wrap("impkt-grid", [], {});
|
|
63
|
+
var ImpktHeading = wrap("impkt-heading", ["level"], {});
|
|
64
|
+
var ImpktHelp = wrap("impkt-help", [], {});
|
|
65
|
+
var ImpktHero = wrap("impkt-hero", ["level"], {});
|
|
66
|
+
var ImpktIcon = wrap("impkt-icon", [], {});
|
|
67
|
+
var ImpktImage = wrap("impkt-image", [], {});
|
|
68
|
+
var ImpktLink = wrap("impkt-link", [], {});
|
|
69
|
+
var ImpktList = wrap("impkt-list", ["items"], {});
|
|
70
|
+
var ImpktLocationCard = wrap("impkt-location-card", ["nearby", "headingLevel"], {});
|
|
71
|
+
var ImpktLogo = wrap("impkt-logo", [], {});
|
|
72
|
+
var ImpktLogoCloud = wrap("impkt-logo-cloud", ["items"], {});
|
|
73
|
+
var ImpktMediaSplit = wrap("impkt-media-split", ["points", "level"], {});
|
|
74
|
+
var ImpktMenu = wrap("impkt-menu", ["items"], { "impkt-select": "select" });
|
|
75
|
+
var ImpktMoneyInput = wrap("impkt-money-input", [], { "impkt-change": "change" });
|
|
76
|
+
var ImpktMortgageCalculator = wrap("impkt-mortgage-calculator", ["headingLevel"], {});
|
|
77
|
+
var ImpktNav = wrap("impkt-nav", ["links"], {});
|
|
78
|
+
var ImpktNewsletter = wrap("impkt-newsletter", ["headingLevel"], { "impkt-submit": "submit" });
|
|
79
|
+
var ImpktPage = wrap("impkt-page", [], {});
|
|
80
|
+
var ImpktPagination = wrap("impkt-pagination", [], { "impkt-page": "page" });
|
|
81
|
+
var ImpktPlanComparison = wrap("impkt-plan-comparison", ["plans", "rows", "headingLevel", "spaceAbove", "spaceBelow"], { "impkt-select": "select" });
|
|
82
|
+
var ImpktPrice = wrap("impkt-price", [], {});
|
|
83
|
+
var ImpktProgress = wrap("impkt-progress", ["steps"], {});
|
|
84
|
+
var ImpktQuote = wrap("impkt-quote", [], {});
|
|
85
|
+
var ImpktRadioGroup = wrap("impkt-radio-group", ["options"], { "impkt-change": "change" });
|
|
86
|
+
var ImpktRangeInput = wrap("impkt-range-input", [], { "impkt-change": "change" });
|
|
87
|
+
var ImpktRegulatoryNotice = wrap("impkt-regulatory-notice", ["spaceAbove", "spaceBelow"], {});
|
|
88
|
+
var ImpktReleaseCard = wrap("impkt-release-card", ["items", "headingLevel"], {});
|
|
89
|
+
var ImpktReleaseList = wrap("impkt-release-list", ["items", "headingLevel"], {});
|
|
90
|
+
var ImpktReviews = wrap("impkt-reviews", ["items"], {});
|
|
91
|
+
var ImpktScene = wrap("impkt-scene", [], { "impkt-scene-progress": "scene-progress" });
|
|
92
|
+
var ImpktScrubber = wrap("impkt-scrubber", ["stops"], {});
|
|
93
|
+
var ImpktSearchBar = wrap("impkt-search-bar", ["items"], { "impkt-submit": "submit" });
|
|
94
|
+
var ImpktSection = wrap("impkt-section", [], {});
|
|
95
|
+
var ImpktSelect = wrap("impkt-select", ["options"], { "impkt-change": "change" });
|
|
96
|
+
var ImpktSiteFooter = wrap("impkt-site-footer", ["log", "columns", "headingLevel"], {});
|
|
97
|
+
var ImpktSiteHeader = wrap("impkt-site-header", ["links", "statusTone"], { "impkt-action": "action" });
|
|
98
|
+
var ImpktSitePlan = wrap("impkt-site-plan", ["plots"], { "impkt-select": "select" });
|
|
99
|
+
var ImpktSlotPicker = wrap("impkt-slot-picker", ["days"], { "impkt-change": "change" });
|
|
100
|
+
var ImpktSpacer = wrap("impkt-spacer", [], {});
|
|
101
|
+
var ImpktStack = wrap("impkt-stack", [], {});
|
|
102
|
+
var ImpktStampDutyCalculator = wrap("impkt-stamp-duty-calculator", ["headingLevel", "spaceAbove", "spaceBelow"], {});
|
|
103
|
+
var ImpktStat = wrap("impkt-stat", [], {});
|
|
104
|
+
var ImpktSteps = wrap("impkt-steps", ["items", "headingLevel"], {});
|
|
105
|
+
var ImpktStickyBar = wrap("impkt-sticky-bar", [], {});
|
|
106
|
+
var ImpktSummaryList = wrap("impkt-summary-list", ["rows"], {});
|
|
107
|
+
var ImpktTable = wrap("impkt-table", ["columns", "rows", "sortDirection", "selected"], { "impkt-sort": "sort", "impkt-selection": "selection" });
|
|
108
|
+
var ImpktTabs = wrap("impkt-tabs", ["items"], { "impkt-change": "change" });
|
|
109
|
+
var ImpktTaskList = wrap("impkt-task-list", ["items", "headingLevel"], {});
|
|
110
|
+
var ImpktText = wrap("impkt-text", [], {});
|
|
111
|
+
var ImpktTextInput = wrap("impkt-text-input", [], { "impkt-change": "change" });
|
|
112
|
+
var ImpktTextarea = wrap("impkt-textarea", [], { "impkt-change": "change" });
|
|
113
|
+
var ImpktToast = wrap("impkt-toast", [], { "impkt-close": "close", "impkt-action": "action" });
|
|
114
|
+
var ImpktVideo = wrap("impkt-video", ["spaceAbove", "spaceBelow"], {});
|
|
115
|
+
var ImpktVisuallyHidden = wrap("impkt-visually-hidden", [], {});
|
|
116
|
+
var ImpktWordmark = wrap("impkt-wordmark", [], {});
|
|
117
|
+
var COMPONENTS = {
|
|
118
|
+
ImpktAccordion,
|
|
119
|
+
ImpktAddressLookup,
|
|
120
|
+
ImpktAffordabilityCalculator,
|
|
121
|
+
ImpktAlert,
|
|
122
|
+
ImpktAnnouncement,
|
|
123
|
+
ImpktAvatar,
|
|
124
|
+
ImpktAvatarGroup,
|
|
125
|
+
ImpktBadge,
|
|
126
|
+
ImpktBeforeAfter,
|
|
127
|
+
ImpktBranchList,
|
|
128
|
+
ImpktBranchTimeline,
|
|
129
|
+
ImpktBreadcrumbs,
|
|
130
|
+
ImpktButton,
|
|
131
|
+
ImpktCard,
|
|
132
|
+
ImpktCardGrid,
|
|
133
|
+
ImpktCarousel,
|
|
134
|
+
ImpktCheckList,
|
|
135
|
+
ImpktCheckbox,
|
|
136
|
+
ImpktCheckboxGroup,
|
|
137
|
+
ImpktChip,
|
|
138
|
+
ImpktContactBlock,
|
|
139
|
+
ImpktCtaBanner,
|
|
140
|
+
ImpktDateInput,
|
|
141
|
+
ImpktDialog,
|
|
142
|
+
ImpktDivider,
|
|
143
|
+
ImpktDocumentLink,
|
|
144
|
+
ImpktDrawer,
|
|
145
|
+
ImpktEmptyState,
|
|
146
|
+
ImpktErrorSummary,
|
|
147
|
+
ImpktEstimator,
|
|
148
|
+
ImpktFeatureList,
|
|
149
|
+
ImpktFieldset,
|
|
150
|
+
ImpktFileUpload,
|
|
151
|
+
ImpktGallery,
|
|
152
|
+
ImpktGrid,
|
|
153
|
+
ImpktHeading,
|
|
154
|
+
ImpktHelp,
|
|
155
|
+
ImpktHero,
|
|
156
|
+
ImpktIcon,
|
|
157
|
+
ImpktImage,
|
|
158
|
+
ImpktLink,
|
|
159
|
+
ImpktList,
|
|
160
|
+
ImpktLocationCard,
|
|
161
|
+
ImpktLogo,
|
|
162
|
+
ImpktLogoCloud,
|
|
163
|
+
ImpktMediaSplit,
|
|
164
|
+
ImpktMenu,
|
|
165
|
+
ImpktMoneyInput,
|
|
166
|
+
ImpktMortgageCalculator,
|
|
167
|
+
ImpktNav,
|
|
168
|
+
ImpktNewsletter,
|
|
169
|
+
ImpktPage,
|
|
170
|
+
ImpktPagination,
|
|
171
|
+
ImpktPlanComparison,
|
|
172
|
+
ImpktPrice,
|
|
173
|
+
ImpktProgress,
|
|
174
|
+
ImpktQuote,
|
|
175
|
+
ImpktRadioGroup,
|
|
176
|
+
ImpktRangeInput,
|
|
177
|
+
ImpktRegulatoryNotice,
|
|
178
|
+
ImpktReleaseCard,
|
|
179
|
+
ImpktReleaseList,
|
|
180
|
+
ImpktReviews,
|
|
181
|
+
ImpktScene,
|
|
182
|
+
ImpktScrubber,
|
|
183
|
+
ImpktSearchBar,
|
|
184
|
+
ImpktSection,
|
|
185
|
+
ImpktSelect,
|
|
186
|
+
ImpktSiteFooter,
|
|
187
|
+
ImpktSiteHeader,
|
|
188
|
+
ImpktSitePlan,
|
|
189
|
+
ImpktSlotPicker,
|
|
190
|
+
ImpktSpacer,
|
|
191
|
+
ImpktStack,
|
|
192
|
+
ImpktStampDutyCalculator,
|
|
193
|
+
ImpktStat,
|
|
194
|
+
ImpktSteps,
|
|
195
|
+
ImpktStickyBar,
|
|
196
|
+
ImpktSummaryList,
|
|
197
|
+
ImpktTable,
|
|
198
|
+
ImpktTabs,
|
|
199
|
+
ImpktTaskList,
|
|
200
|
+
ImpktText,
|
|
201
|
+
ImpktTextInput,
|
|
202
|
+
ImpktTextarea,
|
|
203
|
+
ImpktToast,
|
|
204
|
+
ImpktVideo,
|
|
205
|
+
ImpktVisuallyHidden,
|
|
206
|
+
ImpktWordmark
|
|
207
|
+
};
|
|
208
|
+
var AtomicUI = {
|
|
209
|
+
install(app) {
|
|
210
|
+
for (const [name, component] of Object.entries(COMPONENTS)) app.component(name, component);
|
|
211
|
+
}
|
|
212
|
+
};
|
|
50
213
|
export {
|
|
214
|
+
AtomicUI,
|
|
215
|
+
COMPONENTS,
|
|
51
216
|
ImpktAccordion,
|
|
217
|
+
ImpktAddressLookup,
|
|
218
|
+
ImpktAffordabilityCalculator,
|
|
52
219
|
ImpktAlert,
|
|
220
|
+
ImpktAnnouncement,
|
|
221
|
+
ImpktAvatar,
|
|
222
|
+
ImpktAvatarGroup,
|
|
223
|
+
ImpktBadge,
|
|
224
|
+
ImpktBeforeAfter,
|
|
225
|
+
ImpktBranchList,
|
|
226
|
+
ImpktBranchTimeline,
|
|
227
|
+
ImpktBreadcrumbs,
|
|
53
228
|
ImpktButton,
|
|
54
229
|
ImpktCard,
|
|
230
|
+
ImpktCardGrid,
|
|
231
|
+
ImpktCarousel,
|
|
232
|
+
ImpktCheckList,
|
|
55
233
|
ImpktCheckbox,
|
|
56
234
|
ImpktCheckboxGroup,
|
|
235
|
+
ImpktChip,
|
|
236
|
+
ImpktContactBlock,
|
|
237
|
+
ImpktCtaBanner,
|
|
57
238
|
ImpktDateInput,
|
|
58
239
|
ImpktDialog,
|
|
240
|
+
ImpktDivider,
|
|
59
241
|
ImpktDocumentLink,
|
|
242
|
+
ImpktDrawer,
|
|
243
|
+
ImpktEmptyState,
|
|
244
|
+
ImpktErrorSummary,
|
|
245
|
+
ImpktEstimator,
|
|
246
|
+
ImpktFeatureList,
|
|
247
|
+
ImpktFieldset,
|
|
248
|
+
ImpktFileUpload,
|
|
249
|
+
ImpktGallery,
|
|
60
250
|
ImpktGrid,
|
|
61
251
|
ImpktHeading,
|
|
62
252
|
ImpktHelp,
|
|
253
|
+
ImpktHero,
|
|
254
|
+
ImpktIcon,
|
|
63
255
|
ImpktImage,
|
|
64
256
|
ImpktLink,
|
|
257
|
+
ImpktList,
|
|
258
|
+
ImpktLocationCard,
|
|
65
259
|
ImpktLogo,
|
|
260
|
+
ImpktLogoCloud,
|
|
261
|
+
ImpktMediaSplit,
|
|
262
|
+
ImpktMenu,
|
|
263
|
+
ImpktMoneyInput,
|
|
264
|
+
ImpktMortgageCalculator,
|
|
265
|
+
ImpktNav,
|
|
266
|
+
ImpktNewsletter,
|
|
267
|
+
ImpktPage,
|
|
268
|
+
ImpktPagination,
|
|
269
|
+
ImpktPlanComparison,
|
|
66
270
|
ImpktPrice,
|
|
67
271
|
ImpktProgress,
|
|
272
|
+
ImpktQuote,
|
|
68
273
|
ImpktRadioGroup,
|
|
274
|
+
ImpktRangeInput,
|
|
275
|
+
ImpktRegulatoryNotice,
|
|
276
|
+
ImpktReleaseCard,
|
|
277
|
+
ImpktReleaseList,
|
|
278
|
+
ImpktReviews,
|
|
279
|
+
ImpktScene,
|
|
280
|
+
ImpktScrubber,
|
|
281
|
+
ImpktSearchBar,
|
|
282
|
+
ImpktSection,
|
|
69
283
|
ImpktSelect,
|
|
284
|
+
ImpktSiteFooter,
|
|
285
|
+
ImpktSiteHeader,
|
|
286
|
+
ImpktSitePlan,
|
|
287
|
+
ImpktSlotPicker,
|
|
288
|
+
ImpktSpacer,
|
|
70
289
|
ImpktStack,
|
|
290
|
+
ImpktStampDutyCalculator,
|
|
291
|
+
ImpktStat,
|
|
292
|
+
ImpktSteps,
|
|
293
|
+
ImpktStickyBar,
|
|
71
294
|
ImpktSummaryList,
|
|
72
295
|
ImpktTable,
|
|
296
|
+
ImpktTabs,
|
|
297
|
+
ImpktTaskList,
|
|
73
298
|
ImpktText,
|
|
74
299
|
ImpktTextInput,
|
|
75
|
-
ImpktTextarea
|
|
300
|
+
ImpktTextarea,
|
|
301
|
+
ImpktToast,
|
|
302
|
+
ImpktVideo,
|
|
303
|
+
ImpktVisuallyHidden,
|
|
304
|
+
ImpktWordmark,
|
|
305
|
+
wrap
|
|
76
306
|
};
|
|
77
307
|
//# sourceMappingURL=index.js.map
|