@pnx-mixtape/ids-shape 0.0.11 → 0.0.12
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 +10 -0
- package/index.ts +17 -3
- package/package.json +1 -1
package/enums.ts
CHANGED
|
@@ -158,3 +158,13 @@ export enum ListItemModifiers {
|
|
|
158
158
|
BLOCK = "block",
|
|
159
159
|
REVERSE = "reverse"
|
|
160
160
|
}
|
|
161
|
+
|
|
162
|
+
export enum MastheadModifier {
|
|
163
|
+
DARK = "dark",
|
|
164
|
+
LIGHT = "light",
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export enum FooterModifier {
|
|
168
|
+
DARK = "dark",
|
|
169
|
+
LIGHT = "light",
|
|
170
|
+
}
|
package/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ButtonModifiers,
|
|
5
5
|
ButtonTypes,
|
|
6
6
|
CardModifier,
|
|
7
|
+
FooterModifier,
|
|
7
8
|
GlobalAlertTypes,
|
|
8
9
|
GridModifiers,
|
|
9
10
|
HeadingTypes,
|
|
@@ -11,11 +12,14 @@ import {
|
|
|
11
12
|
IconColourModifier,
|
|
12
13
|
IconRotateModifier,
|
|
13
14
|
IconSizeModifier,
|
|
14
|
-
InPageAlertTypes,
|
|
15
|
+
InPageAlertTypes,
|
|
16
|
+
ListItemModifiers,
|
|
15
17
|
LoadingTypes,
|
|
18
|
+
MastheadModifier,
|
|
16
19
|
MediaAlignmentTypes,
|
|
17
20
|
SectionModifiers,
|
|
18
|
-
SectionTypes,
|
|
21
|
+
SectionTypes,
|
|
22
|
+
StepsModifier,
|
|
19
23
|
TagTypes
|
|
20
24
|
} from "./enums"
|
|
21
25
|
|
|
@@ -162,6 +166,7 @@ export type Breadcrumbs = {
|
|
|
162
166
|
export type InPageNavigation = {
|
|
163
167
|
title?: Heading
|
|
164
168
|
levels?: HeadingTypes[]
|
|
169
|
+
items?: Link[]
|
|
165
170
|
}
|
|
166
171
|
|
|
167
172
|
export type PaginationItem = {
|
|
@@ -218,6 +223,7 @@ export type Masthead = {
|
|
|
218
223
|
content?: string
|
|
219
224
|
links?: Link[]
|
|
220
225
|
skipLinks?: Link[]
|
|
226
|
+
background?: MastheadModifier[]
|
|
221
227
|
}
|
|
222
228
|
|
|
223
229
|
export type Header = {
|
|
@@ -234,6 +240,7 @@ export type Footer = {
|
|
|
234
240
|
aoc?: string
|
|
235
241
|
links?: Link[]
|
|
236
242
|
socials?: SocialLinks
|
|
243
|
+
background?: FooterModifier[]
|
|
237
244
|
}
|
|
238
245
|
|
|
239
246
|
/**
|
|
@@ -374,13 +381,18 @@ export type SupportList = {
|
|
|
374
381
|
|
|
375
382
|
export type TabItem = {
|
|
376
383
|
id: string
|
|
377
|
-
title: string
|
|
378
384
|
content: string | WysiwygText
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type TabListItem = {
|
|
388
|
+
id: string
|
|
389
|
+
title: string
|
|
379
390
|
active?: boolean
|
|
380
391
|
}
|
|
381
392
|
|
|
382
393
|
export type Tabs = {
|
|
383
394
|
items: TabItem[]
|
|
395
|
+
listItems?: TabListItem[]
|
|
384
396
|
id?: string
|
|
385
397
|
title?: Heading
|
|
386
398
|
}
|
|
@@ -430,4 +442,6 @@ export {
|
|
|
430
442
|
StepsModifier,
|
|
431
443
|
TagTypes,
|
|
432
444
|
ListItemModifiers,
|
|
445
|
+
MastheadModifier,
|
|
446
|
+
FooterModifier,
|
|
433
447
|
}
|