@pnx-mixtape/ids-shape 0.0.8 → 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.
Files changed (3) hide show
  1. package/enums.ts +5 -0
  2. package/index.ts +11 -7
  3. package/package.json +1 -1
package/enums.ts CHANGED
@@ -153,3 +153,8 @@ export enum StepsModifier {
153
153
  LIGHT = "light",
154
154
  SUPPLEMENTARY = "supplementary"
155
155
  }
156
+
157
+ export enum ListItemModifiers {
158
+ BLOCK = "block",
159
+ REVERSE = "reverse"
160
+ }
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,
@@ -171,13 +171,13 @@ export type Pagination = {
171
171
 
172
172
  export type MenuTree = {
173
173
  link: Link
174
- items: MenuTree[]
174
+ items?: MenuTree[]
175
175
  }
176
176
 
177
177
  export type Navigation = {
178
178
  id: string
179
179
  items: MenuTree[]
180
- title?: string
180
+ title: string
181
181
  }
182
182
 
183
183
  export type SideNavigation = Navigation & {
@@ -278,12 +278,15 @@ export type InPageAlert = {
278
278
  link?: Link
279
279
  }
280
280
 
281
- export type ListItem = WayfindingBlock & {
281
+ export type ListItem = {
282
+ link: Link
283
+ content: string | WysiwygText
282
284
  tags?: string[]
283
285
  label?: string
284
286
  info?: string
285
287
  infoBefore?: boolean
286
288
  image?: Image
289
+ modifiers?: ListItemModifiers[]
287
290
  }
288
291
 
289
292
  export type Popover = WayfindingBlock & {
@@ -299,8 +302,8 @@ export type ResultsBar = {
299
302
  }
300
303
 
301
304
  export type StepItem = {
302
- content: WysiwygText[]
303
- status: boolean
305
+ content: string | WysiwygText
306
+ status?: boolean
304
307
  }
305
308
 
306
309
  export type Steps = {
@@ -308,7 +311,6 @@ export type Steps = {
308
311
  modifiers?: StepsModifier[]
309
312
  fill?: boolean
310
313
  counters?: boolean
311
- progress?: boolean
312
314
  }
313
315
 
314
316
  export type Logo = {
@@ -332,6 +334,8 @@ export type TabItem = {
332
334
 
333
335
  export type Tabs = {
334
336
  items: TabItem[]
337
+ id?: string
338
+ title?: Heading
335
339
  }
336
340
 
337
341
  export type Tags = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnx-mixtape/ids-shape",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "shape details for ids project",
5
5
  "main": "./index.ts",
6
6
  "type": "module",