@atomic-ui/blocks 0.13.2 → 0.14.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/custom-elements.json +82 -18
- package/dist/{chunk-B6I3GVJ5.js → chunk-3G3NP4UC.js} +9 -4
- package/dist/chunk-3G3NP4UC.js.map +1 -0
- package/dist/{chunk-H262HKSL.js → chunk-7OFH762N.js} +53 -23
- package/dist/chunk-7OFH762N.js.map +1 -0
- package/dist/{chunk-WIVKJL64.js → chunk-BW5ZMKES.js} +65 -29
- package/dist/chunk-BW5ZMKES.js.map +1 -0
- package/dist/{chunk-WTVF3JRL.js → chunk-GDATDR2Q.js} +24 -7
- package/dist/chunk-GDATDR2Q.js.map +1 -0
- package/dist/{chunk-IT2NA25D.js → chunk-GZTBAT6P.js} +6 -3
- package/dist/chunk-GZTBAT6P.js.map +1 -0
- package/dist/{chunk-FNGN2F6Y.js → chunk-NZQZRBKV.js} +17 -4
- package/dist/chunk-NZQZRBKV.js.map +1 -0
- package/dist/{chunk-53V2GY6L.js → chunk-Q366ZM2X.js} +60 -29
- package/dist/chunk-Q366ZM2X.js.map +1 -0
- package/dist/{chunk-MMADM6OW.js → chunk-ZM2HLQOG.js} +3 -2
- package/dist/{chunk-MMADM6OW.js.map → chunk-ZM2HLQOG.js.map} +1 -1
- package/dist/components/changelog.js +1 -1
- package/dist/components/estimator.js +1 -1
- package/dist/components/g2-case.d.ts +8 -1
- package/dist/components/g2-case.js +1 -1
- package/dist/components/g2-site.d.ts +22 -1
- package/dist/components/g2-site.js +1 -1
- package/dist/components/journey.d.ts +13 -2
- package/dist/components/journey.js +1 -1
- package/dist/components/organisms.js +1 -1
- package/dist/components/site.d.ts +2 -1
- package/dist/components/site.js +1 -1
- package/dist/components/studio.d.ts +32 -3
- package/dist/components/studio.js +1 -1
- package/dist/index.js +8 -8
- package/dist/standalone/atomic-ui-blocks.js +1173 -1072
- package/dist/standalone/atomic-ui-blocks.js.map +3 -3
- package/package.json +3 -3
- package/dist/chunk-53V2GY6L.js.map +0 -1
- package/dist/chunk-B6I3GVJ5.js.map +0 -1
- package/dist/chunk-FNGN2F6Y.js.map +0 -1
- package/dist/chunk-H262HKSL.js.map +0 -1
- package/dist/chunk-IT2NA25D.js.map +0 -1
- package/dist/chunk-WIVKJL64.js.map +0 -1
- package/dist/chunk-WTVF3JRL.js.map +0 -1
|
@@ -41,6 +41,11 @@ export interface WorkItem {
|
|
|
41
41
|
* hold at 4.5:1, so the state never depends on a colour of its own (1.4.3,
|
|
42
42
|
* 1.4.11). The focus ring is still drawn over it (2.4.7).
|
|
43
43
|
*
|
|
44
|
+
* For a brand with the reveal set on (impkt-web#51) the ink wipes in from the
|
|
45
|
+
* left in 180ms and the arrow slides 4px on, on hover or focus only, and the
|
|
46
|
+
* rows drop into place one after another, once, as the list is reached. No row
|
|
47
|
+
* is inked until it is pointed at or focused, unless it is `featured`.
|
|
48
|
+
*
|
|
44
49
|
* The names shrink with the block's own width, not the window's, so the list
|
|
45
50
|
* reads the same in a narrow column as on a phone (1.4.10).
|
|
46
51
|
*
|
|
@@ -130,6 +135,11 @@ export interface StatRowItem {
|
|
|
130
135
|
* A row of figures under a rule, each with what it counts: "4 live products",
|
|
131
136
|
* "161 ms response time".
|
|
132
137
|
*
|
|
138
|
+
* For a brand with the reveal set on (impkt-web#51) each figure counts up
|
|
139
|
+
* once, over 900ms, as the row is reached. The count is drawn over the figure,
|
|
140
|
+
* so the real figure is the text a screen reader reads throughout; with no
|
|
141
|
+
* script and with reduced motion the figure is simply there.
|
|
142
|
+
*
|
|
133
143
|
* The figures are a list, so a screen reader says how many there are, and each
|
|
134
144
|
* is read as one phrase, "161 ms response time", not a bare number followed
|
|
135
145
|
* some way off by its label (1.3.1). The row wraps by its own width: four
|
|
@@ -186,10 +196,20 @@ export interface FaqItem {
|
|
|
186
196
|
* it, so a screen reader can jump straight to the questions (2.4.1).
|
|
187
197
|
*
|
|
188
198
|
* An answer that is more than words is slotted as `panel-<id>`, exactly as
|
|
189
|
-
* on the accordion, and is passed through to it.
|
|
199
|
+
* on the accordion, and is passed through to it. The accordion's parts are
|
|
200
|
+
* passed out too, as `item`, `head`, `header` and `panel`, so a page can style
|
|
201
|
+
* a row as it would on the accordion itself.
|
|
202
|
+
*
|
|
203
|
+
* Each row is 92px with its rule, the question centred beside its "+", as
|
|
204
|
+
* the FAQ item of `10:670` and `21:1220` is.
|
|
190
205
|
*
|
|
191
206
|
* @category content
|
|
192
207
|
* @icon accordion
|
|
208
|
+
* @csspart questions - The accordion that holds the questions.
|
|
209
|
+
* @csspart item - A question and its answer, passed out from the accordion.
|
|
210
|
+
* @csspart head - A question's row.
|
|
211
|
+
* @csspart header - The button that opens a question.
|
|
212
|
+
* @csspart panel - An answer.
|
|
193
213
|
*/
|
|
194
214
|
export declare class ImpaktFaq extends ImpaktElement {
|
|
195
215
|
static properties: {
|
|
@@ -459,7 +479,13 @@ export declare class ImpaktPostCard extends ImpaktElement {
|
|
|
459
479
|
* page, so they are read, found and translated as the rest of it is; the
|
|
460
480
|
* handles and the optional label are hidden from a screen reader (1.3.1).
|
|
461
481
|
* The words on the accent are the colour the tokens measured against it
|
|
462
|
-
* (1.4.3).
|
|
482
|
+
* (1.4.3).
|
|
483
|
+
*
|
|
484
|
+
* **It draws itself once** (impkt-web#51), for a brand with the reveal set on:
|
|
485
|
+
* when its section reaches the middle of the screen the frame is drawn round
|
|
486
|
+
* the words in 260ms, the 8px handles appear at its corners and the size in
|
|
487
|
+
* the label counts up to the real size. The words never move. With no script
|
|
488
|
+
* and with reduced motion it is drawn as it ends.
|
|
463
489
|
*
|
|
464
490
|
* `cursor` draws a pointer at the bottom-right handle, as if someone in the
|
|
465
491
|
* file had just picked the words; its value, if any, is the name tag beside
|
|
@@ -468,7 +494,10 @@ export declare class ImpaktPostCard extends ImpaktElement {
|
|
|
468
494
|
*
|
|
469
495
|
* The box is drawn 0.1em outside the words at each side, as the Selection in
|
|
470
496
|
* the home frame is (`9:306`), so the words keep their place in the heading
|
|
471
|
-
* and the box hangs into the space round them.
|
|
497
|
+
* and the box hangs into the space round them. At its end it also gives back
|
|
498
|
+
* the display type's -0.05em tracking after the last letter
|
|
499
|
+
* (`--impakt-highlight-trail`), and the word after it is pushed along by the
|
|
500
|
+
* overhang, so a space still follows the box (`9:302`, `21:1322`).
|
|
472
501
|
*
|
|
473
502
|
* @category content
|
|
474
503
|
* @icon text
|
package/dist/index.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
ImpaktSiteMenu,
|
|
7
7
|
ImpaktStatRow,
|
|
8
8
|
ImpaktWorkList
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BW5ZMKES.js";
|
|
10
10
|
import {
|
|
11
11
|
ImpaktJourneyButton,
|
|
12
12
|
JOURNEY_STAGES
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GDATDR2Q.js";
|
|
14
14
|
import {
|
|
15
15
|
ImpaktAnnouncement,
|
|
16
16
|
ImpaktFeatureList,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
ImpaktReviews,
|
|
30
30
|
ImpaktSteps,
|
|
31
31
|
gallerySpan
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZM2HLQOG.js";
|
|
33
33
|
import {
|
|
34
34
|
ImpaktScene
|
|
35
35
|
} from "./chunk-NHWD2LUR.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
ImpaktSiteFooter,
|
|
52
52
|
ImpaktSiteHeader,
|
|
53
53
|
ImpaktWordmark
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-NZQZRBKV.js";
|
|
55
55
|
import {
|
|
56
56
|
ImpaktCardGrid
|
|
57
57
|
} from "./chunk-ZD75GU6J.js";
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
ImpaktCheckList,
|
|
62
62
|
ImpaktReleaseCard,
|
|
63
63
|
ImpaktReleaseList
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-GZTBAT6P.js";
|
|
65
65
|
import {
|
|
66
66
|
ImpaktBeforeAfter,
|
|
67
67
|
ImpaktLocationCard,
|
|
@@ -74,14 +74,14 @@ import {
|
|
|
74
74
|
ImpaktEstimator,
|
|
75
75
|
estimate,
|
|
76
76
|
phaseWeeks
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-3G3NP4UC.js";
|
|
78
78
|
import {
|
|
79
79
|
ImpaktBrowserFrame,
|
|
80
80
|
ImpaktCallout,
|
|
81
81
|
ImpaktHypothesisCard,
|
|
82
82
|
ImpaktProcessLine,
|
|
83
83
|
ImpaktWeekStrip
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-7OFH762N.js";
|
|
85
85
|
import {
|
|
86
86
|
ImpaktColumnList,
|
|
87
87
|
ImpaktCursor,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
ImpaktServiceCard,
|
|
94
94
|
ImpaktStageTag,
|
|
95
95
|
STAGE_WORDS
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-Q366ZM2X.js";
|
|
97
97
|
import {
|
|
98
98
|
ImpaktFlow
|
|
99
99
|
} from "./chunk-KDDXCGEZ.js";
|