@pnx-mixtape/ids-shape 0.0.7 → 0.0.9
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/enums.ts +5 -0
- package/index.ts +15 -9
- package/package.json +1 -1
package/enums.ts
CHANGED
package/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
IconColourModifier,
|
|
12
12
|
IconRotateModifier,
|
|
13
13
|
IconSizeModifier,
|
|
14
|
-
InPageAlertTypes,
|
|
14
|
+
InPageAlertTypes, ListItemModifiers,
|
|
15
15
|
LoadingTypes,
|
|
16
16
|
MediaAlignmentTypes,
|
|
17
17
|
SectionModifiers,
|
|
@@ -39,16 +39,18 @@ export type Link = {
|
|
|
39
39
|
external?: boolean
|
|
40
40
|
current?: boolean
|
|
41
41
|
download?: boolean
|
|
42
|
-
|
|
42
|
+
iconStart?: Icon
|
|
43
|
+
iconEnd?: Icon
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
export type Button = {
|
|
46
47
|
title: string
|
|
47
48
|
as: ButtonTypes
|
|
48
49
|
modifiers?: ButtonModifiers[]
|
|
49
|
-
icon?: Icon
|
|
50
50
|
href?: string
|
|
51
51
|
disabled?: boolean
|
|
52
|
+
iconStart?: Icon
|
|
53
|
+
iconEnd?: Icon
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
export type Heading = {
|
|
@@ -169,13 +171,13 @@ export type Pagination = {
|
|
|
169
171
|
|
|
170
172
|
export type MenuTree = {
|
|
171
173
|
link: Link
|
|
172
|
-
items
|
|
174
|
+
items?: MenuTree[]
|
|
173
175
|
}
|
|
174
176
|
|
|
175
177
|
export type Navigation = {
|
|
176
178
|
id: string
|
|
177
179
|
items: MenuTree[]
|
|
178
|
-
title
|
|
180
|
+
title: string
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
export type SideNavigation = Navigation & {
|
|
@@ -276,12 +278,15 @@ export type InPageAlert = {
|
|
|
276
278
|
link?: Link
|
|
277
279
|
}
|
|
278
280
|
|
|
279
|
-
export type ListItem =
|
|
281
|
+
export type ListItem = {
|
|
282
|
+
link: Link
|
|
283
|
+
content: string | WysiwygText
|
|
280
284
|
tags?: string[]
|
|
281
285
|
label?: string
|
|
282
286
|
info?: string
|
|
283
287
|
infoBefore?: boolean
|
|
284
288
|
image?: Image
|
|
289
|
+
modifiers?: ListItemModifiers[]
|
|
285
290
|
}
|
|
286
291
|
|
|
287
292
|
export type Popover = WayfindingBlock & {
|
|
@@ -297,8 +302,8 @@ export type ResultsBar = {
|
|
|
297
302
|
}
|
|
298
303
|
|
|
299
304
|
export type StepItem = {
|
|
300
|
-
content: WysiwygText
|
|
301
|
-
status
|
|
305
|
+
content: string | WysiwygText
|
|
306
|
+
status?: boolean
|
|
302
307
|
}
|
|
303
308
|
|
|
304
309
|
export type Steps = {
|
|
@@ -306,7 +311,6 @@ export type Steps = {
|
|
|
306
311
|
modifiers?: StepsModifier[]
|
|
307
312
|
fill?: boolean
|
|
308
313
|
counters?: boolean
|
|
309
|
-
progress?: boolean
|
|
310
314
|
}
|
|
311
315
|
|
|
312
316
|
export type Logo = {
|
|
@@ -330,6 +334,8 @@ export type TabItem = {
|
|
|
330
334
|
|
|
331
335
|
export type Tabs = {
|
|
332
336
|
items: TabItem[]
|
|
337
|
+
id?: string
|
|
338
|
+
title?: Heading
|
|
333
339
|
}
|
|
334
340
|
|
|
335
341
|
export type Tags = {
|