@atomic-ui/ui 0.1.5 → 0.2.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 +17 -3
- package/custom-elements.json +24569 -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/styles.d.ts +1 -1
- package/dist/base/tokens.d.ts +28 -2
- package/dist/{chunk-KWURASAB.js → chunk-26O27BQS.js} +3 -3
- package/dist/chunk-2CFVV2NZ.js +494 -0
- package/dist/chunk-2CFVV2NZ.js.map +1 -0
- package/dist/chunk-3IGNZTJU.js +14 -0
- package/dist/chunk-3IGNZTJU.js.map +1 -0
- package/dist/{chunk-DR3SJ7ZV.js → chunk-3IQ73WNW.js} +3 -3
- package/dist/{chunk-AXQ5YBN2.js → chunk-4X723QBD.js} +135 -10
- package/dist/chunk-4X723QBD.js.map +1 -0
- package/dist/{chunk-OFAVRPRK.js → chunk-6YYAOKNI.js} +2 -2
- package/dist/chunk-6YYAOKNI.js.map +1 -0
- package/dist/{chunk-DI2CJ3MZ.js → chunk-7AJN2TIS.js} +2 -2
- package/dist/chunk-7BSZPUE3.js +53 -0
- package/dist/chunk-7BSZPUE3.js.map +1 -0
- package/dist/{chunk-IBTOZOGI.js → chunk-7OXTZJR4.js} +2 -2
- package/dist/chunk-7XEPNEVQ.js +264 -0
- package/dist/chunk-7XEPNEVQ.js.map +1 -0
- package/dist/{chunk-5NUF7ZQA.js → chunk-D6C7XEY4.js} +64 -3
- package/dist/chunk-D6C7XEY4.js.map +1 -0
- package/dist/{chunk-4JKUAA6K.js → chunk-E2VBUWJ4.js} +53 -14
- package/dist/chunk-E2VBUWJ4.js.map +1 -0
- package/dist/{chunk-57P4WO4Y.js → chunk-E3XJK7MY.js} +38 -23
- package/dist/chunk-E3XJK7MY.js.map +1 -0
- package/dist/{chunk-6UDDZQDK.js → chunk-EDSZI227.js} +3 -3
- package/dist/chunk-EDSZI227.js.map +1 -0
- package/dist/{chunk-3OSL2HMN.js → chunk-FFCIY7NM.js} +9 -6
- package/dist/chunk-FFCIY7NM.js.map +1 -0
- package/dist/{chunk-4AJPS5AU.js → chunk-FJRHZA3C.js} +16 -6
- package/dist/chunk-FJRHZA3C.js.map +1 -0
- package/dist/{chunk-JPEWRJSQ.js → chunk-GQDUHZE3.js} +3 -3
- package/dist/chunk-HYPPG4NF.js +553 -0
- package/dist/chunk-HYPPG4NF.js.map +1 -0
- package/dist/chunk-J4JULXUG.js +249 -0
- package/dist/chunk-J4JULXUG.js.map +1 -0
- package/dist/{chunk-CFGLOYWW.js → chunk-KFD4O7VA.js} +4 -2
- package/dist/chunk-KFD4O7VA.js.map +1 -0
- package/dist/{chunk-LLRJU7XE.js → chunk-MVEFM5QI.js} +6 -6
- package/dist/chunk-MVEFM5QI.js.map +1 -0
- package/dist/{chunk-6GKI67P7.js → chunk-NCASAXQT.js} +7 -3
- package/dist/chunk-NCASAXQT.js.map +1 -0
- package/dist/{chunk-H6L3FSQY.js → chunk-NKTMMJYD.js} +7 -6
- package/dist/chunk-NKTMMJYD.js.map +1 -0
- package/dist/{chunk-QELX47AP.js → chunk-OB7WULFK.js} +50 -27
- package/dist/chunk-OB7WULFK.js.map +1 -0
- package/dist/chunk-OHDPGIJ3.js +428 -0
- package/dist/chunk-OHDPGIJ3.js.map +1 -0
- package/dist/{chunk-TZD7IVVQ.js → chunk-OLLZFNO6.js} +13 -5
- package/dist/chunk-OLLZFNO6.js.map +1 -0
- package/dist/{chunk-5RVMMKMO.js → chunk-OMJMUFOW.js} +3 -3
- package/dist/{chunk-U2S7OESF.js → chunk-QB2KMV6S.js} +56 -15
- package/dist/chunk-QB2KMV6S.js.map +1 -0
- package/dist/{chunk-QH46SOPJ.js → chunk-R67PDFKE.js} +54 -11
- package/dist/chunk-R67PDFKE.js.map +1 -0
- package/dist/chunk-RZSZQMSE.js +236 -0
- package/dist/chunk-RZSZQMSE.js.map +1 -0
- package/dist/{chunk-6MLXFFH4.js → chunk-TGT7J4EG.js} +3 -3
- package/dist/chunk-TGT7J4EG.js.map +1 -0
- package/dist/{chunk-S3EQO33M.js → chunk-UCHJCUYI.js} +6 -4
- package/dist/chunk-UCHJCUYI.js.map +1 -0
- package/dist/chunk-UHLRXI6J.js +453 -0
- package/dist/chunk-UHLRXI6J.js.map +1 -0
- package/dist/chunk-UNVL3CNM.js +725 -0
- package/dist/chunk-UNVL3CNM.js.map +1 -0
- package/dist/{chunk-2RBYVWZT.js → chunk-WDDWWCHN.js} +5 -3
- package/dist/chunk-WDDWWCHN.js.map +1 -0
- package/dist/chunk-WFKSOM6O.js +498 -0
- package/dist/chunk-WFKSOM6O.js.map +1 -0
- package/dist/{chunk-HWNY6U5F.js → chunk-XEJMFFIM.js} +4 -3
- package/dist/chunk-XEJMFFIM.js.map +1 -0
- package/dist/{chunk-ZDYTNFQI.js → chunk-XJXCTGDR.js} +16 -6
- package/dist/chunk-XJXCTGDR.js.map +1 -0
- package/dist/{chunk-G6UVYMA6.js → chunk-YD6IZ2C5.js} +2 -2
- package/dist/chunk-YK5QI57J.js +396 -0
- package/dist/chunk-YK5QI57J.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 +421 -0
- package/dist/components/app-ui.js +27 -0
- package/dist/components/app-ui.js.map +1 -0
- package/dist/components/blocks.d.ts +2 -2
- package/dist/components/blocks.js +3 -3
- package/dist/components/button.d.ts +14 -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.js +2 -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.d.ts +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 +433 -0
- package/dist/components/journey.js +22 -0
- package/dist/components/journey.js.map +1 -0
- package/dist/components/layout.d.ts +34 -5
- 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 +119 -6
- package/dist/components/marketing.js +7 -3
- package/dist/components/media.d.ts +10 -0
- package/dist/components/media.js +2 -2
- package/dist/components/navigation.d.ts +25 -2
- package/dist/components/navigation.js +3 -3
- package/dist/components/organisms.d.ts +559 -0
- package/dist/components/organisms.js +25 -0
- package/dist/components/organisms.js.map +1 -0
- package/dist/components/page.d.ts +14 -3
- package/dist/components/page.js +2 -2
- package/dist/components/price.d.ts +6 -1
- package/dist/components/price.js +3 -2
- package/dist/components/progress.js +2 -2
- package/dist/components/property.d.ts +389 -0
- package/dist/components/property.js +20 -0
- package/dist/components/property.js.map +1 -0
- 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 +407 -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.js +2 -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 +13 -2
- package/dist/index.js +180 -47
- package/package.json +11 -4
- package/dist/chunk-2RBYVWZT.js.map +0 -1
- package/dist/chunk-3OSL2HMN.js.map +0 -1
- package/dist/chunk-4AJPS5AU.js.map +0 -1
- package/dist/chunk-4JKUAA6K.js.map +0 -1
- package/dist/chunk-57P4WO4Y.js.map +0 -1
- package/dist/chunk-5NUF7ZQA.js.map +0 -1
- package/dist/chunk-6GKI67P7.js.map +0 -1
- package/dist/chunk-6MLXFFH4.js.map +0 -1
- package/dist/chunk-6UDDZQDK.js.map +0 -1
- package/dist/chunk-AXQ5YBN2.js.map +0 -1
- package/dist/chunk-CFGLOYWW.js.map +0 -1
- package/dist/chunk-H6L3FSQY.js.map +0 -1
- package/dist/chunk-HWNY6U5F.js.map +0 -1
- package/dist/chunk-LLRJU7XE.js.map +0 -1
- package/dist/chunk-OFAVRPRK.js.map +0 -1
- package/dist/chunk-QELX47AP.js.map +0 -1
- package/dist/chunk-QH46SOPJ.js.map +0 -1
- package/dist/chunk-S3EQO33M.js.map +0 -1
- package/dist/chunk-TZD7IVVQ.js.map +0 -1
- package/dist/chunk-U2S7OESF.js.map +0 -1
- package/dist/chunk-ZDYTNFQI.js.map +0 -1
- /package/dist/{chunk-KWURASAB.js.map → chunk-26O27BQS.js.map} +0 -0
- /package/dist/{chunk-DR3SJ7ZV.js.map → chunk-3IQ73WNW.js.map} +0 -0
- /package/dist/{chunk-DI2CJ3MZ.js.map → chunk-7AJN2TIS.js.map} +0 -0
- /package/dist/{chunk-IBTOZOGI.js.map → chunk-7OXTZJR4.js.map} +0 -0
- /package/dist/{chunk-JPEWRJSQ.js.map → chunk-GQDUHZE3.js.map} +0 -0
- /package/dist/{chunk-5RVMMKMO.js.map → chunk-OMJMUFOW.js.map} +0 -0
- /package/dist/{chunk-G6UVYMA6.js.map → chunk-YD6IZ2C5.js.map} +0 -0
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blocks that tell how software was made, in the language software is made
|
|
3
|
+
* in: a release with what it added and removed, services as branches that
|
|
4
|
+
* merge into one product, checks that passed, and a project drawn as a commit
|
|
5
|
+
* graph. They came from building the Impkt site's Commit design in Strata, and
|
|
6
|
+
* they are written for any studio, agency or product team that wants to show
|
|
7
|
+
* its work this way.
|
|
8
|
+
*
|
|
9
|
+
* Every colour is a brand token. A lane's colour is a tone (brand, accent or
|
|
10
|
+
* a status colour), never a hex value, so a partner's brand restyles them.
|
|
11
|
+
*/
|
|
12
|
+
import { type TemplateResult } from 'lit';
|
|
13
|
+
import { ImpktElement } from '../base/ImpktElement';
|
|
14
|
+
import './property';
|
|
15
|
+
/** A colour for a line or a lane, named by what it is in the brand. */
|
|
16
|
+
type NamedTone = 'brand' | 'accent' | 'info' | 'success' | 'warning' | 'danger';
|
|
17
|
+
/** A named tone, or 1 to 5 for the brand's chart colours in order. */
|
|
18
|
+
export type Tone = NamedTone | 1 | 2 | 3 | 4 | 5;
|
|
19
|
+
export declare const TONE: Record<NamedTone, string>;
|
|
20
|
+
/** When an item names no tone, lanes take these in turn. */
|
|
21
|
+
export declare const CYCLE: NamedTone[];
|
|
22
|
+
/**
|
|
23
|
+
* A named tone, or for an item that names none, the brand's chart colour for its
|
|
24
|
+
* place (color.chart.1 to 5), falling back to the status colours in turn.
|
|
25
|
+
*/
|
|
26
|
+
export declare const toneOf: (tone: Tone | undefined, i: number) => string;
|
|
27
|
+
/** One line of what a release changed. */
|
|
28
|
+
export interface DiffLine {
|
|
29
|
+
id?: string;
|
|
30
|
+
/** Added, taken away, or kept as it was. */
|
|
31
|
+
change: 'added' | 'removed' | 'same';
|
|
32
|
+
text: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A piece of work told as a release: what it looked like when it started and
|
|
36
|
+
* what shipped, a version line, and a short diff of what it added and took
|
|
37
|
+
* away.
|
|
38
|
+
*
|
|
39
|
+
* With both pictures it is a before-and-after comparison a visitor drags; with
|
|
40
|
+
* one it is a picture. The diff is a list, each line saying "Added" or
|
|
41
|
+
* "Removed" for a screen reader, since the + and − are only drawn.
|
|
42
|
+
*
|
|
43
|
+
* @category content
|
|
44
|
+
* @icon git-commit
|
|
45
|
+
*/
|
|
46
|
+
export declare class ImpktReleaseCard extends ImpktElement {
|
|
47
|
+
static properties: {
|
|
48
|
+
label: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
};
|
|
51
|
+
heading: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
};
|
|
54
|
+
text: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
};
|
|
57
|
+
beforeSrc: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
attribute: string;
|
|
60
|
+
};
|
|
61
|
+
beforeAlt: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
attribute: string;
|
|
64
|
+
};
|
|
65
|
+
afterSrc: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
attribute: string;
|
|
68
|
+
};
|
|
69
|
+
afterAlt: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
attribute: string;
|
|
72
|
+
};
|
|
73
|
+
items: {
|
|
74
|
+
type: ArrayConstructor;
|
|
75
|
+
};
|
|
76
|
+
href: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
headingLevel: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
attribute: string;
|
|
82
|
+
};
|
|
83
|
+
spaceAbove: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
reflect: boolean;
|
|
86
|
+
attribute: string;
|
|
87
|
+
};
|
|
88
|
+
spaceBelow: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
reflect: boolean;
|
|
91
|
+
attribute: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
/** A line above the heading, such as "v1.0 · Legal tech · Property". */
|
|
95
|
+
label: string;
|
|
96
|
+
heading: string;
|
|
97
|
+
text: string;
|
|
98
|
+
/** What it started as: a sketch or a wireframe. */
|
|
99
|
+
beforeSrc: string;
|
|
100
|
+
beforeAlt: string;
|
|
101
|
+
/** What shipped. */
|
|
102
|
+
afterSrc: string;
|
|
103
|
+
afterAlt: string;
|
|
104
|
+
/** What the release added, took away or kept. */
|
|
105
|
+
items: DiffLine[];
|
|
106
|
+
/** Where the heading links to, such as the case study. */
|
|
107
|
+
href: string;
|
|
108
|
+
headingLevel: 2 | 3 | 4;
|
|
109
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
110
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
111
|
+
constructor();
|
|
112
|
+
static styles: import("lit").CSSResult[];
|
|
113
|
+
private raf;
|
|
114
|
+
/** Sweep the seam, as Commit's release wipe does: off the screenshot on hover, back on leaving. */
|
|
115
|
+
private wipe;
|
|
116
|
+
disconnectedCallback(): void;
|
|
117
|
+
render(): TemplateResult;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* One release in a list: a release card's props. `title` is read when there is
|
|
121
|
+
* no `heading`, because that is what a collection's entry carries (ADR 0028).
|
|
122
|
+
*/
|
|
123
|
+
export interface ReleaseItem {
|
|
124
|
+
label?: string;
|
|
125
|
+
heading?: string;
|
|
126
|
+
title?: string;
|
|
127
|
+
text?: string;
|
|
128
|
+
beforeSrc?: string;
|
|
129
|
+
beforeAlt?: string;
|
|
130
|
+
afterSrc?: string;
|
|
131
|
+
afterAlt?: string;
|
|
132
|
+
items?: DiffLine[];
|
|
133
|
+
href?: string;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Releases side by side, two to a row: a changelog of case studies.
|
|
137
|
+
*
|
|
138
|
+
* Bind `items` to a collection's entries and the list follows them: a new case
|
|
139
|
+
* study appears here when it is published. The release for the page being
|
|
140
|
+
* read is left out, so a case study's "more work" does not offer itself.
|
|
141
|
+
*
|
|
142
|
+
* @category content
|
|
143
|
+
* @icon git-commit
|
|
144
|
+
*/
|
|
145
|
+
export declare class ImpktReleaseList extends ImpktElement {
|
|
146
|
+
static properties: {
|
|
147
|
+
items: {
|
|
148
|
+
type: ArrayConstructor;
|
|
149
|
+
};
|
|
150
|
+
columns: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
reflect: boolean;
|
|
153
|
+
};
|
|
154
|
+
headingLevel: {
|
|
155
|
+
type: NumberConstructor;
|
|
156
|
+
attribute: string;
|
|
157
|
+
};
|
|
158
|
+
spaceAbove: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
reflect: boolean;
|
|
161
|
+
attribute: string;
|
|
162
|
+
};
|
|
163
|
+
spaceBelow: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
reflect: boolean;
|
|
166
|
+
attribute: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
items: ReleaseItem[];
|
|
170
|
+
/** Releases in a row on a wide screen. One on a phone. */
|
|
171
|
+
columns: 'one' | 'two' | 'three';
|
|
172
|
+
headingLevel: 2 | 3 | 4;
|
|
173
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
174
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
175
|
+
constructor();
|
|
176
|
+
static styles: import("lit").CSSResult[];
|
|
177
|
+
render(): TemplateResult;
|
|
178
|
+
}
|
|
179
|
+
/** One branch: a service, a team, a line of work. */
|
|
180
|
+
export interface Branch {
|
|
181
|
+
id?: string;
|
|
182
|
+
/** A short code-like name, such as "feature/mobile-apps". */
|
|
183
|
+
path?: string;
|
|
184
|
+
heading: string;
|
|
185
|
+
text?: string;
|
|
186
|
+
/** A few words below the text, such as the tools it uses. */
|
|
187
|
+
tags?: string[];
|
|
188
|
+
tone?: Tone;
|
|
189
|
+
/** Where the heading links to, such as the service's own page. */
|
|
190
|
+
href?: string;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Several lines of work that come together into one: each item branches off a
|
|
194
|
+
* main line on the left and merges back into it, and the line ends in what
|
|
195
|
+
* they make together.
|
|
196
|
+
*
|
|
197
|
+
* The lines are drawn; the items are a list with headings, so a screen reader
|
|
198
|
+
* reads the work, not the drawing.
|
|
199
|
+
*
|
|
200
|
+
* @category content
|
|
201
|
+
* @icon git-merge
|
|
202
|
+
*/
|
|
203
|
+
export declare class ImpktBranchList extends ImpktElement {
|
|
204
|
+
static properties: {
|
|
205
|
+
items: {
|
|
206
|
+
type: ArrayConstructor;
|
|
207
|
+
};
|
|
208
|
+
trunk: {
|
|
209
|
+
type: StringConstructor;
|
|
210
|
+
};
|
|
211
|
+
headingLevel: {
|
|
212
|
+
type: NumberConstructor;
|
|
213
|
+
attribute: string;
|
|
214
|
+
};
|
|
215
|
+
spaceAbove: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
reflect: boolean;
|
|
218
|
+
attribute: string;
|
|
219
|
+
};
|
|
220
|
+
spaceBelow: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
reflect: boolean;
|
|
223
|
+
attribute: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
items: Branch[];
|
|
227
|
+
/** What the main line ends in, such as "main ← one team owns the result". */
|
|
228
|
+
trunk: string;
|
|
229
|
+
headingLevel: 2 | 3 | 4;
|
|
230
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
231
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
232
|
+
constructor();
|
|
233
|
+
static styles: import("lit").CSSResult[];
|
|
234
|
+
private unwatch;
|
|
235
|
+
connectedCallback(): void;
|
|
236
|
+
disconnectedCallback(): void;
|
|
237
|
+
render(): TemplateResult;
|
|
238
|
+
}
|
|
239
|
+
/** One check that passed: a figure and what it measures. */
|
|
240
|
+
export interface CheckItem {
|
|
241
|
+
id?: string;
|
|
242
|
+
figure: string;
|
|
243
|
+
label: string;
|
|
244
|
+
/** A word at the end of the row, such as "passed". */
|
|
245
|
+
status?: string;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Proof as a list of passing checks: a large figure, what it measures, and its
|
|
249
|
+
* status, each row ticked. It reads its colours from the band it sits on, so
|
|
250
|
+
* it works on a dark section as well as a light one.
|
|
251
|
+
*
|
|
252
|
+
* @category content
|
|
253
|
+
* @icon list-check
|
|
254
|
+
*/
|
|
255
|
+
export declare class ImpktCheckList extends ImpktElement {
|
|
256
|
+
static properties: {
|
|
257
|
+
items: {
|
|
258
|
+
type: ArrayConstructor;
|
|
259
|
+
};
|
|
260
|
+
summary: {
|
|
261
|
+
type: StringConstructor;
|
|
262
|
+
};
|
|
263
|
+
spaceAbove: {
|
|
264
|
+
type: StringConstructor;
|
|
265
|
+
reflect: boolean;
|
|
266
|
+
attribute: string;
|
|
267
|
+
};
|
|
268
|
+
spaceBelow: {
|
|
269
|
+
type: StringConstructor;
|
|
270
|
+
reflect: boolean;
|
|
271
|
+
attribute: string;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
items: CheckItem[];
|
|
275
|
+
/** A line above the list, such as "All 4 checks passed". */
|
|
276
|
+
summary: string;
|
|
277
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
278
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
279
|
+
constructor();
|
|
280
|
+
static styles: import("lit").CSSResult[];
|
|
281
|
+
private unwatch;
|
|
282
|
+
/** How far each figure has counted up, from 0 to 1, while the checks run. */
|
|
283
|
+
private counted;
|
|
284
|
+
connectedCallback(): void;
|
|
285
|
+
disconnectedCallback(): void;
|
|
286
|
+
/** Checks run: each figure counts up over 1200 ms, 150 ms after the one above. */
|
|
287
|
+
private run;
|
|
288
|
+
render(): TemplateResult;
|
|
289
|
+
}
|
|
290
|
+
/** One stretch of work, drawn as a branch off the main line. */
|
|
291
|
+
export interface TimelineLane {
|
|
292
|
+
id?: string;
|
|
293
|
+
label: string;
|
|
294
|
+
/** Where it starts and ends, in the timeline's units (weeks, say). */
|
|
295
|
+
from: number;
|
|
296
|
+
to: number;
|
|
297
|
+
tone?: Tone;
|
|
298
|
+
}
|
|
299
|
+
/** A moment on a lane, such as a demo. */
|
|
300
|
+
export interface TimelineMark {
|
|
301
|
+
id?: string;
|
|
302
|
+
label: string;
|
|
303
|
+
at: number;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* A project drawn as a commit graph: a main line along a scale of weeks, each
|
|
307
|
+
* phase branching off it and merging back, moments marked on the way, and a
|
|
308
|
+
* release tag where it ships.
|
|
309
|
+
*
|
|
310
|
+
* It is a picture, so it carries a text alternative that says the same in
|
|
311
|
+
* words: each phase and when it runs. The steps that explain the phases go
|
|
312
|
+
* beside it as their own block.
|
|
313
|
+
*
|
|
314
|
+
* @category content
|
|
315
|
+
* @icon git-branch
|
|
316
|
+
*/
|
|
317
|
+
export declare class ImpktBranchTimeline extends ImpktElement {
|
|
318
|
+
static properties: {
|
|
319
|
+
lanes: {
|
|
320
|
+
type: ArrayConstructor;
|
|
321
|
+
};
|
|
322
|
+
marks: {
|
|
323
|
+
type: ArrayConstructor;
|
|
324
|
+
};
|
|
325
|
+
span: {
|
|
326
|
+
type: NumberConstructor;
|
|
327
|
+
};
|
|
328
|
+
unit: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
};
|
|
331
|
+
every: {
|
|
332
|
+
type: NumberConstructor;
|
|
333
|
+
};
|
|
334
|
+
release: {
|
|
335
|
+
type: StringConstructor;
|
|
336
|
+
};
|
|
337
|
+
releaseAt: {
|
|
338
|
+
type: NumberConstructor;
|
|
339
|
+
attribute: string;
|
|
340
|
+
};
|
|
341
|
+
label: {
|
|
342
|
+
type: StringConstructor;
|
|
343
|
+
};
|
|
344
|
+
spaceAbove: {
|
|
345
|
+
type: StringConstructor;
|
|
346
|
+
reflect: boolean;
|
|
347
|
+
attribute: string;
|
|
348
|
+
};
|
|
349
|
+
spaceBelow: {
|
|
350
|
+
type: StringConstructor;
|
|
351
|
+
reflect: boolean;
|
|
352
|
+
attribute: string;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
lanes: TimelineLane[];
|
|
356
|
+
marks: TimelineMark[];
|
|
357
|
+
/** How long the whole timeline is, in its units. */
|
|
358
|
+
span: number;
|
|
359
|
+
/** The unit's short name on the scale, such as "wk". */
|
|
360
|
+
unit: string;
|
|
361
|
+
/** How often the scale is labelled. */
|
|
362
|
+
every: number;
|
|
363
|
+
/** The tag where it ships, such as "v1.0 · launch". */
|
|
364
|
+
release: string;
|
|
365
|
+
releaseAt: number;
|
|
366
|
+
/** What the picture shows, for a screen reader. */
|
|
367
|
+
label: string;
|
|
368
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
369
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
370
|
+
constructor();
|
|
371
|
+
static styles: import("lit").CSSResult[];
|
|
372
|
+
private unwatch;
|
|
373
|
+
connectedCallback(): void;
|
|
374
|
+
disconnectedCallback(): void;
|
|
375
|
+
render(): TemplateResult;
|
|
376
|
+
}
|
|
377
|
+
declare global {
|
|
378
|
+
interface HTMLElementTagNameMap {
|
|
379
|
+
'impkt-release-card': ImpktReleaseCard;
|
|
380
|
+
'impkt-release-list': ImpktReleaseList;
|
|
381
|
+
'impkt-branch-list': ImpktBranchList;
|
|
382
|
+
'impkt-check-list': ImpktCheckList;
|
|
383
|
+
'impkt-branch-timeline': ImpktBranchTimeline;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CYCLE,
|
|
3
|
+
ImpktBranchList,
|
|
4
|
+
ImpktBranchTimeline,
|
|
5
|
+
ImpktCheckList,
|
|
6
|
+
ImpktReleaseCard,
|
|
7
|
+
ImpktReleaseList,
|
|
8
|
+
TONE,
|
|
9
|
+
toneOf
|
|
10
|
+
} from "../chunk-2CFVV2NZ.js";
|
|
11
|
+
import "../chunk-OHDPGIJ3.js";
|
|
12
|
+
import "../chunk-3IGNZTJU.js";
|
|
13
|
+
import "../chunk-KFD4O7VA.js";
|
|
14
|
+
import "../chunk-D6C7XEY4.js";
|
|
15
|
+
export {
|
|
16
|
+
CYCLE,
|
|
17
|
+
ImpktBranchList,
|
|
18
|
+
ImpktBranchTimeline,
|
|
19
|
+
ImpktCheckList,
|
|
20
|
+
ImpktReleaseCard,
|
|
21
|
+
ImpktReleaseList,
|
|
22
|
+
TONE,
|
|
23
|
+
toneOf
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=changelog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ImpktCheckboxGroup
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-26O27BQS.js";
|
|
4
|
+
import "../chunk-7AJN2TIS.js";
|
|
5
|
+
import "../chunk-D6C7XEY4.js";
|
|
6
6
|
export {
|
|
7
7
|
ImpktCheckboxGroup
|
|
8
8
|
};
|