@atomic-ui/ui 0.5.0 → 0.7.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 +7 -7
- package/custom-elements.json +2641 -256
- package/dist/base/tone.d.ts +1 -1
- package/dist/{chunk-TAZZLOUY.js → chunk-2HWO5TFV.js} +2 -2
- package/dist/{chunk-FMSC7J7J.js → chunk-4ZQTXTPA.js} +1 -1
- package/dist/{chunk-FMSC7J7J.js.map → chunk-4ZQTXTPA.js.map} +1 -1
- package/dist/chunk-AMDTBUUL.js +299 -0
- package/dist/chunk-AMDTBUUL.js.map +1 -0
- package/dist/{chunk-EJD6LT7E.js → chunk-BNYILASW.js} +36 -4
- package/dist/chunk-BNYILASW.js.map +1 -0
- package/dist/{chunk-Q54FX3SY.js → chunk-INA53XXW.js} +2 -2
- package/dist/chunk-INA53XXW.js.map +1 -0
- package/dist/{chunk-ACQ4KYPR.js → chunk-KFAGXPIK.js} +2 -2
- package/dist/{chunk-ACQ4KYPR.js.map → chunk-KFAGXPIK.js.map} +1 -1
- package/dist/{chunk-SV77SN6P.js → chunk-MLRTPQQO.js} +39 -2
- package/dist/chunk-MLRTPQQO.js.map +1 -0
- package/dist/{chunk-ZS7RPXCT.js → chunk-NU34ZQFR.js} +4 -2
- package/dist/chunk-NU34ZQFR.js.map +1 -0
- package/dist/chunk-NUUX2SSN.js +263 -0
- package/dist/chunk-NUUX2SSN.js.map +1 -0
- package/dist/{chunk-HNZQ7LM4.js → chunk-OE6O3XQB.js} +78 -3
- package/dist/chunk-OE6O3XQB.js.map +1 -0
- package/dist/{chunk-WWYYNR3Z.js → chunk-RZWRAJCD.js} +7 -2
- package/dist/chunk-RZWRAJCD.js.map +1 -0
- package/dist/chunk-UF6KCRNT.js +316 -0
- package/dist/chunk-UF6KCRNT.js.map +1 -0
- package/dist/{chunk-Z45LY6BT.js → chunk-WH43U4IY.js} +37 -2
- package/dist/chunk-WH43U4IY.js.map +1 -0
- package/dist/{chunk-5Y3HYRCU.js → chunk-WS4AYRSL.js} +20 -2
- package/dist/chunk-WS4AYRSL.js.map +1 -0
- package/dist/{chunk-PANH23MF.js → chunk-XZQH2M5I.js} +2 -2
- package/dist/components/app-ui.d.ts +6 -1
- package/dist/components/app-ui.js +2 -2
- package/dist/components/badge.d.ts +7 -2
- package/dist/components/badge.js +2 -2
- package/dist/components/blocks.d.ts +27 -1
- package/dist/components/blocks.js +3 -1
- package/dist/components/button.d.ts +24 -3
- package/dist/components/button.js +2 -2
- package/dist/components/chip.js +1 -1
- package/dist/components/icon.d.ts +19 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/navigation.js +2 -2
- package/dist/components/progress.d.ts +11 -0
- package/dist/components/progress.js +1 -1
- package/dist/components/rows.d.ts +196 -0
- package/dist/components/rows.js +16 -0
- package/dist/components/rows.js.map +1 -0
- package/dist/components/shell.d.ts +166 -0
- package/dist/components/shell.js +17 -0
- package/dist/components/shell.js.map +1 -0
- package/dist/components/switch.d.ts +147 -0
- package/dist/components/switch.js +11 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.js +2 -2
- package/dist/components/text-input.d.ts +14 -1
- package/dist/components/text-input.js +2 -1
- package/dist/components/textarea.js +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +44 -16
- package/dist/standalone/atomic-ui.js +929 -285
- package/dist/standalone/atomic-ui.js.map +4 -4
- package/dist/standalone/index.html +1 -1
- package/package.json +2 -2
- package/specimen/index.html +1 -1
- package/dist/chunk-5Y3HYRCU.js.map +0 -1
- package/dist/chunk-EJD6LT7E.js.map +0 -1
- package/dist/chunk-HNZQ7LM4.js.map +0 -1
- package/dist/chunk-Q54FX3SY.js.map +0 -1
- package/dist/chunk-SV77SN6P.js.map +0 -1
- package/dist/chunk-WWYYNR3Z.js.map +0 -1
- package/dist/chunk-Z45LY6BT.js.map +0 -1
- package/dist/chunk-ZS7RPXCT.js.map +0 -1
- /package/dist/{chunk-TAZZLOUY.js.map → chunk-2HWO5TFV.js.map} +0 -0
- /package/dist/{chunk-PANH23MF.js.map → chunk-XZQH2M5I.js.map} +0 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { type TemplateResult } from 'lit';
|
|
2
|
+
import { ImpaktElement } from '../base/ImpaktElement';
|
|
3
|
+
/** One destination in a product's navigation. */
|
|
4
|
+
export interface ShellNavItem {
|
|
5
|
+
/** A stable name for the destination, sent back with `impakt-navigate`. */
|
|
6
|
+
id?: string;
|
|
7
|
+
label: string;
|
|
8
|
+
href: string;
|
|
9
|
+
/** An icon from `impakt-icon`'s set, such as `grid` or `users`. */
|
|
10
|
+
icon?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Whether an item is where the person is. `current` is the path the app's
|
|
14
|
+
* router reports. Without it the browser's address is used, which is right
|
|
15
|
+
* for a site and stale in a single-page app that never reloads.
|
|
16
|
+
*
|
|
17
|
+
* An item is current on its own path and on the paths below it, so Jobs stays
|
|
18
|
+
* marked on `/jobs/123`. The root item, `/`, is current only on `/`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function isCurrent(href: string, current: string): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Tell the app a navigation link was followed, so a single-page app can route
|
|
23
|
+
* without a reload. The event is cancelable: an app that calls
|
|
24
|
+
* `preventDefault()` on it takes over, and the browser does not follow the
|
|
25
|
+
* link. A click with a modifier key, or with any button but the main one, is
|
|
26
|
+
* left to the browser, so "open in a new tab" keeps working.
|
|
27
|
+
*/
|
|
28
|
+
export declare function announceNavigate(host: HTMLElement, event: MouseEvent, item: {
|
|
29
|
+
href: string;
|
|
30
|
+
id?: string;
|
|
31
|
+
}): void;
|
|
32
|
+
/**
|
|
33
|
+
* A product's main navigation down the side of the screen: an icon and a word
|
|
34
|
+
* for each place, with a footer slot for an action that belongs at the bottom,
|
|
35
|
+
* such as Sign out.
|
|
36
|
+
*
|
|
37
|
+
* **The place you are on is marked in words as well as colour.** Its link
|
|
38
|
+
* carries `aria-current="page"`, which a screen reader announces, and it is
|
|
39
|
+
* filled, so it does not rely on a colour change alone (1.4.1).
|
|
40
|
+
*
|
|
41
|
+
* **Every item has a word.** The icons are decorative and hidden from screen
|
|
42
|
+
* readers, because an icon alone is a guess for anyone who has not learned the
|
|
43
|
+
* product.
|
|
44
|
+
*
|
|
45
|
+
* **It works with an app's router.** Set `current` to the router's path, and
|
|
46
|
+
* cancel `impakt-navigate` to route without a reload.
|
|
47
|
+
*
|
|
48
|
+
* @category action
|
|
49
|
+
* @icon menu
|
|
50
|
+
* @slot footer - An action pinned to the bottom of the side, such as Sign out.
|
|
51
|
+
* @fires {CustomEvent<{ href: string; id: string }>} impakt-navigate - When an item is followed. Cancel it to route in the app instead of the browser.
|
|
52
|
+
*/
|
|
53
|
+
export declare class ImpaktSideNav extends ImpaktElement {
|
|
54
|
+
static properties: {
|
|
55
|
+
items: {
|
|
56
|
+
type: ArrayConstructor;
|
|
57
|
+
};
|
|
58
|
+
label: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
};
|
|
61
|
+
current: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
/** The places, in order. */
|
|
66
|
+
items: ShellNavItem[];
|
|
67
|
+
/** What the navigation is called for a screen reader, such as "Main". */
|
|
68
|
+
label: string;
|
|
69
|
+
/** The path the person is on, from the app's router. Leave empty to use the address bar. */
|
|
70
|
+
current: string;
|
|
71
|
+
constructor();
|
|
72
|
+
static styles: import("lit").CSSResult[];
|
|
73
|
+
private footerFilled;
|
|
74
|
+
private onFooter;
|
|
75
|
+
render(): TemplateResult;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* A product's main navigation along the bottom of a phone screen: four or five
|
|
79
|
+
* places, each an icon above a word.
|
|
80
|
+
*
|
|
81
|
+
* It follows the same rules as `impakt-side-nav`: the current place carries
|
|
82
|
+
* `aria-current="page"` and is filled, every item has a word, and
|
|
83
|
+
* `impakt-navigate` lets an app route without a reload. Each item is at least
|
|
84
|
+
* 48px tall, above the 24px floor of 2.5.8, because it is pressed with a thumb.
|
|
85
|
+
*
|
|
86
|
+
* @category action
|
|
87
|
+
* @icon menu
|
|
88
|
+
* @fires {CustomEvent<{ href: string; id: string }>} impakt-navigate - When an item is followed. Cancel it to route in the app instead of the browser.
|
|
89
|
+
*/
|
|
90
|
+
export declare class ImpaktTabBar extends ImpaktElement {
|
|
91
|
+
static properties: {
|
|
92
|
+
items: {
|
|
93
|
+
type: ArrayConstructor;
|
|
94
|
+
};
|
|
95
|
+
label: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
};
|
|
98
|
+
current: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
/** The places, in order. Four or five fit a phone. */
|
|
103
|
+
items: ShellNavItem[];
|
|
104
|
+
/** What the navigation is called for a screen reader, such as "Main". */
|
|
105
|
+
label: string;
|
|
106
|
+
/** The path the person is on, from the app's router. Leave empty to use the address bar. */
|
|
107
|
+
current: string;
|
|
108
|
+
constructor();
|
|
109
|
+
static styles: import("lit").CSSResult[];
|
|
110
|
+
render(): TemplateResult;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* The frame a signed-in product sits in, on a desktop and on a phone.
|
|
114
|
+
*
|
|
115
|
+
* On a desktop it is a rounded frame on a darker canvas, with the brand and
|
|
116
|
+
* the side navigation on the left, a top bar along the top and the page's
|
|
117
|
+
* content below it. On a phone the side navigation and the top bar step aside:
|
|
118
|
+
* the page's own header sits on a dark band, the content rises over it on a
|
|
119
|
+
* light sheet, and the tab bar floats at the bottom.
|
|
120
|
+
*
|
|
121
|
+
* **It gives the page its landmarks.** The content is the `main` landmark, the
|
|
122
|
+
* top bar is a `header`, and a Skip to content link is the first thing a
|
|
123
|
+
* keyboard reaches. The navigation elements bring their own `nav` landmarks.
|
|
124
|
+
*
|
|
125
|
+
* **Both navigations are in the page; only one is shown.** The side
|
|
126
|
+
* navigation is hidden on a phone and the tab bar on a desktop, with
|
|
127
|
+
* `display: none`, so a screen reader meets the one that is on screen.
|
|
128
|
+
*
|
|
129
|
+
* @category layout
|
|
130
|
+
* @icon layout
|
|
131
|
+
* @slot - The page's content.
|
|
132
|
+
* @slot brand - The product's logo, at the top of the side.
|
|
133
|
+
* @slot nav - The side navigation, an `impakt-side-nav`.
|
|
134
|
+
* @slot workspace - The start of the top bar, such as the workspace's name.
|
|
135
|
+
* @slot search - The middle of the top bar, such as a search field.
|
|
136
|
+
* @slot actions - The end of the top bar: the main action and the account.
|
|
137
|
+
* @slot phone-header - The page's header on a phone, on the dark band above the content.
|
|
138
|
+
* @slot tab-bar - The phone navigation, an `impakt-tab-bar`.
|
|
139
|
+
*/
|
|
140
|
+
export declare class ImpaktAppShell extends ImpaktElement {
|
|
141
|
+
static properties: {
|
|
142
|
+
skipText: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
attribute: string;
|
|
145
|
+
};
|
|
146
|
+
topBarLabel: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
attribute: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
/** The words of the link that skips to the content. */
|
|
152
|
+
skipText: string;
|
|
153
|
+
/** What the top bar is called for a screen reader. Leave empty when there is only one top bar, as there usually is. */
|
|
154
|
+
topBarLabel: string;
|
|
155
|
+
constructor();
|
|
156
|
+
static styles: import("lit").CSSResult[];
|
|
157
|
+
private skip;
|
|
158
|
+
render(): TemplateResult;
|
|
159
|
+
}
|
|
160
|
+
declare global {
|
|
161
|
+
interface HTMLElementTagNameMap {
|
|
162
|
+
'impakt-side-nav': ImpaktSideNav;
|
|
163
|
+
'impakt-tab-bar': ImpaktTabBar;
|
|
164
|
+
'impakt-app-shell': ImpaktAppShell;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ImpaktAppShell,
|
|
3
|
+
ImpaktSideNav,
|
|
4
|
+
ImpaktTabBar,
|
|
5
|
+
announceNavigate,
|
|
6
|
+
isCurrent
|
|
7
|
+
} from "../chunk-UF6KCRNT.js";
|
|
8
|
+
import "../chunk-WS4AYRSL.js";
|
|
9
|
+
import "../chunk-YR6T73GY.js";
|
|
10
|
+
export {
|
|
11
|
+
ImpaktAppShell,
|
|
12
|
+
ImpaktSideNav,
|
|
13
|
+
ImpaktTabBar,
|
|
14
|
+
announceNavigate,
|
|
15
|
+
isCurrent
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=shell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { type TemplateResult } from 'lit';
|
|
2
|
+
import { FieldElement } from '../base/FieldElement';
|
|
3
|
+
/**
|
|
4
|
+
* An on and off setting that takes effect at once: "Show to customer",
|
|
5
|
+
* "Visible to customer".
|
|
6
|
+
*
|
|
7
|
+
* **It is a checkbox with the switch role.** A native
|
|
8
|
+
* `<input type="checkbox" role="switch">` keeps Space to toggle, form
|
|
9
|
+
* submission and the label's hit area, and the role makes a screen reader say
|
|
10
|
+
* "on" and "off" rather than "checked". A switch is for a setting that applies
|
|
11
|
+
* straight away. When the choice is only sent with a form, use
|
|
12
|
+
* `impakt-checkbox` instead.
|
|
13
|
+
*
|
|
14
|
+
* **The state is not carried by colour alone.** The knob moves from one end of
|
|
15
|
+
* the track to the other, so the position says on or off without the fill
|
|
16
|
+
* (1.4.1).
|
|
17
|
+
*
|
|
18
|
+
* @category form
|
|
19
|
+
* @icon checkbox
|
|
20
|
+
*/
|
|
21
|
+
export declare class ImpaktSwitch extends FieldElement {
|
|
22
|
+
static properties: {
|
|
23
|
+
checked: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
reflect: boolean;
|
|
26
|
+
};
|
|
27
|
+
label: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
name: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
value: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
};
|
|
36
|
+
description: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
};
|
|
39
|
+
error: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
42
|
+
required: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
reflect: boolean;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
reflect: boolean;
|
|
49
|
+
};
|
|
50
|
+
readonly: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
reflect: boolean;
|
|
53
|
+
};
|
|
54
|
+
requiredText: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
attribute: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
checked: boolean;
|
|
60
|
+
constructor();
|
|
61
|
+
static styles: import("lit").CSSResult[];
|
|
62
|
+
protected renderControl(): TemplateResult;
|
|
63
|
+
/** The label is inside the control here, so the base class's is suppressed. */
|
|
64
|
+
protected renderLabel(): TemplateResult;
|
|
65
|
+
updated(changed: Map<string, unknown>): void;
|
|
66
|
+
}
|
|
67
|
+
export interface SegmentOption {
|
|
68
|
+
value: string;
|
|
69
|
+
label: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Two to four choices drawn as one joined control: "Internal" or "Visible to
|
|
73
|
+
* customer", "Cost" or "Charge".
|
|
74
|
+
*
|
|
75
|
+
* **It is a radio group underneath.** Native radios sharing a name give arrow
|
|
76
|
+
* keys, one tab stop and the right announcement with no script, exactly as in
|
|
77
|
+
* `impakt-radio-group`. Only the drawing differs. The label is a `<legend>`, so
|
|
78
|
+
* the question is asked of the set; set `hide-label` when the words around it
|
|
79
|
+
* already ask it, and the legend stays for screen readers.
|
|
80
|
+
*
|
|
81
|
+
* @category form
|
|
82
|
+
* @icon radio
|
|
83
|
+
*/
|
|
84
|
+
export declare class ImpaktSegmentedControl extends FieldElement {
|
|
85
|
+
static properties: {
|
|
86
|
+
options: {
|
|
87
|
+
type: ArrayConstructor;
|
|
88
|
+
};
|
|
89
|
+
hideLabel: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
attribute: string;
|
|
92
|
+
reflect: boolean;
|
|
93
|
+
};
|
|
94
|
+
full: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
reflect: boolean;
|
|
97
|
+
};
|
|
98
|
+
label: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
};
|
|
101
|
+
name: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
value: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
};
|
|
107
|
+
description: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
};
|
|
110
|
+
error: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
};
|
|
113
|
+
required: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
reflect: boolean;
|
|
116
|
+
};
|
|
117
|
+
disabled: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
reflect: boolean;
|
|
120
|
+
};
|
|
121
|
+
readonly: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
reflect: boolean;
|
|
124
|
+
};
|
|
125
|
+
requiredText: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
attribute: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
options: SegmentOption[];
|
|
131
|
+
/** Keep the question for screen readers only, when the words around it already ask it. */
|
|
132
|
+
hideLabel: boolean;
|
|
133
|
+
/** As wide as its space, with the segments sharing it equally. */
|
|
134
|
+
full: boolean;
|
|
135
|
+
constructor();
|
|
136
|
+
static styles: import("lit").CSSResult[];
|
|
137
|
+
protected renderLabel(): TemplateResult;
|
|
138
|
+
protected renderControl(): TemplateResult;
|
|
139
|
+
render(): TemplateResult;
|
|
140
|
+
updated(changed: Map<string, unknown>): void;
|
|
141
|
+
}
|
|
142
|
+
declare global {
|
|
143
|
+
interface HTMLElementTagNameMap {
|
|
144
|
+
'impakt-switch': ImpaktSwitch;
|
|
145
|
+
'impakt-segmented-control': ImpaktSegmentedControl;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/components/table.js
CHANGED
|
@@ -34,6 +34,11 @@ export declare class ImpaktTextInput extends FieldElement {
|
|
|
34
34
|
maxlength: {
|
|
35
35
|
type: NumberConstructor;
|
|
36
36
|
};
|
|
37
|
+
hideLabel: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
attribute: string;
|
|
40
|
+
reflect: boolean;
|
|
41
|
+
};
|
|
37
42
|
label: {
|
|
38
43
|
type: StringConstructor;
|
|
39
44
|
};
|
|
@@ -66,7 +71,14 @@ export declare class ImpaktTextInput extends FieldElement {
|
|
|
66
71
|
attribute: string;
|
|
67
72
|
};
|
|
68
73
|
};
|
|
69
|
-
|
|
74
|
+
/** `search` draws a search icon at the start and rounds the field, as a search box. */
|
|
75
|
+
type: 'text' | 'email' | 'tel' | 'number' | 'password' | 'date' | 'search';
|
|
76
|
+
/**
|
|
77
|
+
* Keep the label for screen readers only, for a field whose purpose is plain
|
|
78
|
+
* from where it sits, such as the search in a top bar. The label stays its
|
|
79
|
+
* accessible name; a placeholder is never a substitute for it.
|
|
80
|
+
*/
|
|
81
|
+
hideLabel: boolean;
|
|
70
82
|
placeholder: string;
|
|
71
83
|
/** A token from the HTML autofill list — `given-name`, `postal-code`, `tel`. */
|
|
72
84
|
autocomplete: string;
|
|
@@ -77,6 +89,7 @@ export declare class ImpaktTextInput extends FieldElement {
|
|
|
77
89
|
constructor();
|
|
78
90
|
static styles: import("lit").CSSResult[];
|
|
79
91
|
protected renderControl(): TemplateResult;
|
|
92
|
+
private renderInput;
|
|
80
93
|
updated(changed: Map<string, unknown>): void;
|
|
81
94
|
}
|
|
82
95
|
declare global {
|
package/dist/index.d.ts
CHANGED
|
@@ -6,14 +6,17 @@
|
|
|
6
6
|
* populate and no provider to mount, which is what lets the same build serve
|
|
7
7
|
* React, Vue, Angular and the CMS preview without four integrations.
|
|
8
8
|
*
|
|
9
|
-
* These are the product components. The blocks
|
|
10
|
-
* as the hero, the calculators and the site header, are in `@atomic-ui/
|
|
9
|
+
* These are the product components. The section blocks Impakt sites are built from, such
|
|
10
|
+
* as the hero, the calculators and the site header, are in `@atomic-ui/blocks`,
|
|
11
11
|
* which builds on the base exported here.
|
|
12
12
|
*/
|
|
13
13
|
export { ImpaktButton } from './components/button';
|
|
14
14
|
export { ImpaktTextInput } from './components/text-input';
|
|
15
15
|
export { ImpaktSelect, type SelectOption } from './components/select';
|
|
16
16
|
export { ImpaktCheckbox } from './components/checkbox';
|
|
17
|
+
export { ImpaktSideNav, ImpaktTabBar, ImpaktAppShell, isCurrent, announceNavigate, type ShellNavItem } from './components/shell';
|
|
18
|
+
export { ImpaktStatTile, ImpaktDateTile, ImpaktRow, ImpaktFilterChip } from './components/rows';
|
|
19
|
+
export { ImpaktSwitch, ImpaktSegmentedControl, type SegmentOption } from './components/switch';
|
|
17
20
|
export { ImpaktRadioGroup, type RadioOption } from './components/radio-group';
|
|
18
21
|
export { ImpaktAlert, type AlertTone } from './components/alert';
|
|
19
22
|
export { ImpaktStack, ImpaktCard, ImpaktHeading, ImpaktText } from './components/layout';
|
|
@@ -41,7 +44,7 @@ export { ImpaktFieldset } from './components/fieldset';
|
|
|
41
44
|
export { ImpaktDrawer, ImpaktToast, ImpaktMenu, ImpaktPagination, ImpaktAvatar, ImpaktAvatarGroup, ImpaktEmptyState, ImpaktSlotPicker, type MenuItem, type AvatarItem, type SlotDay } from './components/app-ui';
|
|
42
45
|
export { ImpaktAddressLookup, ImpaktErrorSummary, ImpaktFileUpload, ImpaktMoneyInput, ImpaktRangeInput, ImpaktTaskList, groupDigits, type AddressItem, type ErrorItem, type TaskItem } from './components/journey';
|
|
43
46
|
/**
|
|
44
|
-
* The shared base, which `@atomic-ui/
|
|
47
|
+
* The shared base, which `@atomic-ui/blocks` and an app's own elements build on:
|
|
45
48
|
* the base classes, the tokens, the style fragments that carry the accessibility
|
|
46
49
|
* guarantees, the wording and locale lookups, the scroll lock and the tones.
|
|
47
50
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ImpaktTextInput
|
|
3
|
+
} from "./chunk-WH43U4IY.js";
|
|
4
|
+
import {
|
|
5
|
+
ImpaktTextarea
|
|
6
|
+
} from "./chunk-KFAGXPIK.js";
|
|
1
7
|
import {
|
|
2
8
|
ImpaktProgress
|
|
3
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MLRTPQQO.js";
|
|
4
10
|
import {
|
|
5
11
|
ImpaktRadioGroup
|
|
6
12
|
} from "./chunk-DE3INTHZ.js";
|
|
13
|
+
import {
|
|
14
|
+
ImpaktDateTile,
|
|
15
|
+
ImpaktFilterChip,
|
|
16
|
+
ImpaktRow,
|
|
17
|
+
ImpaktStatTile
|
|
18
|
+
} from "./chunk-NUUX2SSN.js";
|
|
7
19
|
import {
|
|
8
20
|
ImpaktSelect
|
|
9
21
|
} from "./chunk-EJSX4WCD.js";
|
|
@@ -11,14 +23,12 @@ import {
|
|
|
11
23
|
ImpaktSummaryList
|
|
12
24
|
} from "./chunk-UPOTBKKK.js";
|
|
13
25
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
26
|
+
ImpaktSegmentedControl,
|
|
27
|
+
ImpaktSwitch
|
|
28
|
+
} from "./chunk-AMDTBUUL.js";
|
|
16
29
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
ImpaktTextarea
|
|
21
|
-
} from "./chunk-ACQ4KYPR.js";
|
|
30
|
+
ImpaktTable
|
|
31
|
+
} from "./chunk-2HWO5TFV.js";
|
|
22
32
|
import {
|
|
23
33
|
ImpaktAddressLookup,
|
|
24
34
|
ImpaktErrorSummary,
|
|
@@ -36,7 +46,7 @@ import {
|
|
|
36
46
|
} from "./chunk-YYYQPKQ7.js";
|
|
37
47
|
import {
|
|
38
48
|
ImpaktLink
|
|
39
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-INA53XXW.js";
|
|
40
50
|
import {
|
|
41
51
|
ImpaktList
|
|
42
52
|
} from "./chunk-3EF4T242.js";
|
|
@@ -48,7 +58,7 @@ import {
|
|
|
48
58
|
import {
|
|
49
59
|
ImpaktBreadcrumbs,
|
|
50
60
|
ImpaktNav
|
|
51
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-XZQH2M5I.js";
|
|
52
62
|
import {
|
|
53
63
|
ImpaktPage,
|
|
54
64
|
ImpaktSection
|
|
@@ -64,7 +74,7 @@ import {
|
|
|
64
74
|
ImpaktChip,
|
|
65
75
|
TONE,
|
|
66
76
|
toneOf
|
|
67
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-4ZQTXTPA.js";
|
|
68
78
|
import {
|
|
69
79
|
ImpaktDateInput
|
|
70
80
|
} from "./chunk-XU2XODVH.js";
|
|
@@ -95,7 +105,7 @@ import {
|
|
|
95
105
|
ImpaktPagination,
|
|
96
106
|
ImpaktSlotPicker,
|
|
97
107
|
ImpaktToast
|
|
98
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-RZWRAJCD.js";
|
|
99
109
|
import {
|
|
100
110
|
pageLocale
|
|
101
111
|
} from "./chunk-3IGNZTJU.js";
|
|
@@ -105,22 +115,29 @@ import {
|
|
|
105
115
|
} from "./chunk-2YRTFWW2.js";
|
|
106
116
|
import {
|
|
107
117
|
ImpaktBadge
|
|
108
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-NU34ZQFR.js";
|
|
109
119
|
import {
|
|
110
120
|
ImpaktDivider,
|
|
111
121
|
ImpaktSpacer,
|
|
112
122
|
ImpaktTabs,
|
|
113
123
|
ImpaktVisuallyHidden
|
|
114
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-BNYILASW.js";
|
|
125
|
+
import {
|
|
126
|
+
ImpaktAppShell,
|
|
127
|
+
ImpaktSideNav,
|
|
128
|
+
ImpaktTabBar,
|
|
129
|
+
announceNavigate,
|
|
130
|
+
isCurrent
|
|
131
|
+
} from "./chunk-UF6KCRNT.js";
|
|
115
132
|
import {
|
|
116
133
|
ImpaktButton
|
|
117
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-OE6O3XQB.js";
|
|
118
135
|
import {
|
|
119
136
|
ICONS,
|
|
120
137
|
ICON_NAMES,
|
|
121
138
|
ImpaktIcon,
|
|
122
139
|
iconSvg
|
|
123
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-WS4AYRSL.js";
|
|
124
141
|
import {
|
|
125
142
|
ImpaktCheckboxGroup
|
|
126
143
|
} from "./chunk-WP5WJ4V5.js";
|
|
@@ -155,6 +172,7 @@ export {
|
|
|
155
172
|
ImpaktAccordion,
|
|
156
173
|
ImpaktAddressLookup,
|
|
157
174
|
ImpaktAlert,
|
|
175
|
+
ImpaktAppShell,
|
|
158
176
|
ImpaktAvatar,
|
|
159
177
|
ImpaktAvatarGroup,
|
|
160
178
|
ImpaktBadge,
|
|
@@ -165,6 +183,7 @@ export {
|
|
|
165
183
|
ImpaktCheckboxGroup,
|
|
166
184
|
ImpaktChip,
|
|
167
185
|
ImpaktDateInput,
|
|
186
|
+
ImpaktDateTile,
|
|
168
187
|
ImpaktDialog,
|
|
169
188
|
ImpaktDivider,
|
|
170
189
|
ImpaktDocumentLink,
|
|
@@ -174,6 +193,7 @@ export {
|
|
|
174
193
|
ImpaktErrorSummary,
|
|
175
194
|
ImpaktFieldset,
|
|
176
195
|
ImpaktFileUpload,
|
|
196
|
+
ImpaktFilterChip,
|
|
177
197
|
ImpaktGrid,
|
|
178
198
|
ImpaktHeading,
|
|
179
199
|
ImpaktHelp,
|
|
@@ -191,12 +211,18 @@ export {
|
|
|
191
211
|
ImpaktProgress,
|
|
192
212
|
ImpaktRadioGroup,
|
|
193
213
|
ImpaktRangeInput,
|
|
214
|
+
ImpaktRow,
|
|
194
215
|
ImpaktSection,
|
|
216
|
+
ImpaktSegmentedControl,
|
|
195
217
|
ImpaktSelect,
|
|
218
|
+
ImpaktSideNav,
|
|
196
219
|
ImpaktSlotPicker,
|
|
197
220
|
ImpaktSpacer,
|
|
198
221
|
ImpaktStack,
|
|
222
|
+
ImpaktStatTile,
|
|
199
223
|
ImpaktSummaryList,
|
|
224
|
+
ImpaktSwitch,
|
|
225
|
+
ImpaktTabBar,
|
|
200
226
|
ImpaktTable,
|
|
201
227
|
ImpaktTabs,
|
|
202
228
|
ImpaktTaskList,
|
|
@@ -206,6 +232,7 @@ export {
|
|
|
206
232
|
ImpaktToast,
|
|
207
233
|
ImpaktVisuallyHidden,
|
|
208
234
|
TONE,
|
|
235
|
+
announceNavigate,
|
|
209
236
|
base,
|
|
210
237
|
fieldWidths,
|
|
211
238
|
focusRing,
|
|
@@ -214,6 +241,7 @@ export {
|
|
|
214
241
|
groupDigits,
|
|
215
242
|
hideOn,
|
|
216
243
|
iconSvg,
|
|
244
|
+
isCurrent,
|
|
217
245
|
lineHeight,
|
|
218
246
|
lockScroll,
|
|
219
247
|
pageLocale,
|