@pnx-mixtape/ids-shape 0.0.4 → 0.0.5
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/index.ts +2 -30
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -31,7 +31,6 @@ export type Icon = {
|
|
|
31
31
|
color?: IconColourModifier
|
|
32
32
|
rotate?: IconRotateModifier
|
|
33
33
|
size?: IconSizeModifier
|
|
34
|
-
customClasses?: string[]
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
export type Link = {
|
|
@@ -42,7 +41,6 @@ export type Link = {
|
|
|
42
41
|
current?: boolean
|
|
43
42
|
download?: boolean
|
|
44
43
|
icon?: Icon
|
|
45
|
-
customClasses?: string[]
|
|
46
44
|
}
|
|
47
45
|
|
|
48
46
|
export type Button = {
|
|
@@ -52,7 +50,6 @@ export type Button = {
|
|
|
52
50
|
icon?: Icon
|
|
53
51
|
href?: string
|
|
54
52
|
disabled?: boolean
|
|
55
|
-
customClasses?: string[]
|
|
56
53
|
}
|
|
57
54
|
|
|
58
55
|
export type Heading = {
|
|
@@ -62,7 +59,6 @@ export type Heading = {
|
|
|
62
59
|
excluded?: boolean
|
|
63
60
|
srOnly?: boolean
|
|
64
61
|
icon?: Icon
|
|
65
|
-
customClasses?: string[]
|
|
66
62
|
}
|
|
67
63
|
|
|
68
64
|
export type DefinitionListItem = {
|
|
@@ -73,7 +69,6 @@ export type DefinitionListItem = {
|
|
|
73
69
|
export type DefinitionList = {
|
|
74
70
|
items: DefinitionListItem[]
|
|
75
71
|
title?: Heading
|
|
76
|
-
customClasses?: string[]
|
|
77
72
|
}
|
|
78
73
|
|
|
79
74
|
export type Video = {
|
|
@@ -103,7 +98,6 @@ export type Media = {
|
|
|
103
98
|
caption?: string
|
|
104
99
|
attribution?: string
|
|
105
100
|
align?: MediaAlignmentTypes
|
|
106
|
-
customClasses?: string[]
|
|
107
101
|
}
|
|
108
102
|
|
|
109
103
|
export type FormControl = {
|
|
@@ -124,7 +118,6 @@ export type WayfindingBlock = {
|
|
|
124
118
|
title?: Heading
|
|
125
119
|
content?: string | WysiwygText
|
|
126
120
|
link?: Link | Button
|
|
127
|
-
customClasses?: string[]
|
|
128
121
|
}
|
|
129
122
|
|
|
130
123
|
/**
|
|
@@ -136,14 +129,12 @@ export type GridItem = {
|
|
|
136
129
|
container?: boolean
|
|
137
130
|
modifiers?: GridItemModifiers[]
|
|
138
131
|
as?: AsTypes
|
|
139
|
-
customClasses?: string[]
|
|
140
132
|
}
|
|
141
133
|
|
|
142
134
|
export type Grid = {
|
|
143
135
|
items: GridItem[]
|
|
144
136
|
modifiers?: GridModifiers[]
|
|
145
137
|
as?: SectionTypes
|
|
146
|
-
customClasses?: string[]
|
|
147
138
|
}
|
|
148
139
|
|
|
149
140
|
export type Section = WayfindingBlock & {
|
|
@@ -159,7 +150,6 @@ export type Section = WayfindingBlock & {
|
|
|
159
150
|
|
|
160
151
|
export type Breadcrumbs = {
|
|
161
152
|
items: Link[] | string
|
|
162
|
-
modifier?: string
|
|
163
153
|
}
|
|
164
154
|
|
|
165
155
|
export type InPageNavigation = {
|
|
@@ -176,7 +166,6 @@ export type Pagination = {
|
|
|
176
166
|
previous?: Link
|
|
177
167
|
next?: Link
|
|
178
168
|
pages?: PaginationItem[]
|
|
179
|
-
customClasses?: string[]
|
|
180
169
|
}
|
|
181
170
|
|
|
182
171
|
export type MenuTree = {
|
|
@@ -188,12 +177,10 @@ export type Navigation = {
|
|
|
188
177
|
id: string
|
|
189
178
|
items: MenuTree[]
|
|
190
179
|
title?: string
|
|
191
|
-
customClasses?: string[]
|
|
192
180
|
}
|
|
193
181
|
|
|
194
182
|
export type SideNavigation = Navigation & {
|
|
195
183
|
parent: Link
|
|
196
|
-
customClasses?: string[]
|
|
197
184
|
}
|
|
198
185
|
|
|
199
186
|
/**
|
|
@@ -202,7 +189,6 @@ export type SideNavigation = Navigation & {
|
|
|
202
189
|
|
|
203
190
|
export type LinkList = {
|
|
204
191
|
items: Link[]
|
|
205
|
-
customClasses?: string[]
|
|
206
192
|
}
|
|
207
193
|
|
|
208
194
|
export type AccordionItem = {
|
|
@@ -216,19 +202,17 @@ export type Accordion = {
|
|
|
216
202
|
items: AccordionItem[]
|
|
217
203
|
title?: Heading
|
|
218
204
|
toggleAll?: boolean
|
|
219
|
-
customClasses?: string[]
|
|
220
205
|
}
|
|
221
206
|
|
|
222
207
|
export type Callout = {
|
|
223
208
|
title: Heading
|
|
224
209
|
content: string
|
|
225
|
-
customClasses?: string[]
|
|
226
210
|
}
|
|
227
211
|
|
|
228
212
|
export type Card = WayfindingBlock & {
|
|
229
213
|
image?: Image
|
|
230
214
|
icon?: Icon
|
|
231
|
-
tags?:
|
|
215
|
+
tags?: Tags
|
|
232
216
|
date?: string
|
|
233
217
|
linkList?: LinkList
|
|
234
218
|
modifier?: CardModifier
|
|
@@ -261,7 +245,6 @@ export type ContactDetails = {
|
|
|
261
245
|
email?: string
|
|
262
246
|
website?: string
|
|
263
247
|
address?: WysiwygText
|
|
264
|
-
customClasses?: string[]
|
|
265
248
|
}
|
|
266
249
|
|
|
267
250
|
export type Dialog = WayfindingBlock & {
|
|
@@ -277,7 +260,6 @@ export type GlobalAlert = {
|
|
|
277
260
|
title: Heading
|
|
278
261
|
content: string | WysiwygText
|
|
279
262
|
link?: Link
|
|
280
|
-
customClasses?: string[]
|
|
281
263
|
}
|
|
282
264
|
|
|
283
265
|
export type HeroBanner = WayfindingBlock & {
|
|
@@ -285,7 +267,7 @@ export type HeroBanner = WayfindingBlock & {
|
|
|
285
267
|
image?: Image
|
|
286
268
|
linkList?: LinkList
|
|
287
269
|
highlight?: boolean
|
|
288
|
-
modifier
|
|
270
|
+
modifier?: HeroBannerModifier
|
|
289
271
|
}
|
|
290
272
|
|
|
291
273
|
export type InPageAlert = {
|
|
@@ -293,7 +275,6 @@ export type InPageAlert = {
|
|
|
293
275
|
title: Heading
|
|
294
276
|
content: string | WysiwygText
|
|
295
277
|
link?: Link
|
|
296
|
-
customClasses?: string[]
|
|
297
278
|
}
|
|
298
279
|
|
|
299
280
|
export type ListItem = WayfindingBlock & {
|
|
@@ -314,7 +295,6 @@ export type ResultsBar = {
|
|
|
314
295
|
total?: number
|
|
315
296
|
sort?: string[]
|
|
316
297
|
empty?: boolean
|
|
317
|
-
customClasses?: string[]
|
|
318
298
|
}
|
|
319
299
|
|
|
320
300
|
export type StepItem = {
|
|
@@ -328,7 +308,6 @@ export type Steps = {
|
|
|
328
308
|
fill?: boolean
|
|
329
309
|
counters?: boolean
|
|
330
310
|
progress?: boolean
|
|
331
|
-
customClasses?: string[]
|
|
332
311
|
}
|
|
333
312
|
|
|
334
313
|
export type Logo = {
|
|
@@ -341,7 +320,6 @@ export type SupportList = {
|
|
|
341
320
|
title?: Heading
|
|
342
321
|
links?: Link[]
|
|
343
322
|
showBrand?: boolean
|
|
344
|
-
customClasses?: string[]
|
|
345
323
|
}
|
|
346
324
|
|
|
347
325
|
export type TabItem = {
|
|
@@ -353,20 +331,16 @@ export type TabItem = {
|
|
|
353
331
|
|
|
354
332
|
export type Tabs = {
|
|
355
333
|
items: TabItem[]
|
|
356
|
-
modifier?: string
|
|
357
|
-
customClasses?: string[]
|
|
358
334
|
}
|
|
359
335
|
|
|
360
336
|
export type Tags = {
|
|
361
337
|
items: Link[] | string[] | FormControl[]
|
|
362
338
|
type: TagTypes
|
|
363
|
-
customClasses?: string[]
|
|
364
339
|
}
|
|
365
340
|
|
|
366
341
|
export type SocialLinks = {
|
|
367
342
|
title?: Heading
|
|
368
343
|
items: Link[]
|
|
369
|
-
customClasses?: string[]
|
|
370
344
|
}
|
|
371
345
|
|
|
372
346
|
export type SocialShare = {
|
|
@@ -374,7 +348,6 @@ export type SocialShare = {
|
|
|
374
348
|
linkedin?: boolean
|
|
375
349
|
twitter?: boolean
|
|
376
350
|
email?: boolean
|
|
377
|
-
customClasses?: string[]
|
|
378
351
|
}
|
|
379
352
|
|
|
380
353
|
export type UtilityList = {
|
|
@@ -382,7 +355,6 @@ export type UtilityList = {
|
|
|
382
355
|
print?: boolean
|
|
383
356
|
pdf?: boolean
|
|
384
357
|
share?: SocialShare
|
|
385
|
-
customClasses?: string[]
|
|
386
358
|
}
|
|
387
359
|
|
|
388
360
|
export {
|