@pnx-mixtape/ids-shape 0.0.18 → 0.0.19

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 (2) hide show
  1. package/index.ts +6 -14
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -126,7 +126,7 @@ export type LinkedImage = {
126
126
 
127
127
  export type Logo = InlineSvg | Image
128
128
 
129
- export type WysiwygText = HTMLElement[] // just an example.
129
+ export type WysiwygText = string[] | HTMLElement[] // just an example.
130
130
 
131
131
  /**
132
132
  * Forms
@@ -216,8 +216,7 @@ export type Form = {
216
216
 
217
217
  export type SearchForm = {
218
218
  action: string
219
- input: FormInput
220
- button: Button
219
+ id: string
221
220
  }
222
221
 
223
222
 
@@ -306,7 +305,7 @@ export type Header = {
306
305
  logo: Logo | Logo[]
307
306
  title?: string
308
307
  description?: string
309
- search?: string
308
+ search?: SearchForm
310
309
  navigation?: Navigation
311
310
  controls?: Button[]
312
311
  }
@@ -356,16 +355,9 @@ export type Card = WayfindingBlock & {
356
355
  modifiers?: CardModifier[]
357
356
  }
358
357
 
359
- export type CardGrid = WayfindingBlock & {
360
- items: Card[]
361
- container?: boolean
362
- modifiers?: GridModifiers[]
363
- as?: SectionTypes
364
- }
365
-
366
- export type CardCarousel = WayfindingBlock & {
367
- items: Card[]
368
- loop: boolean
358
+ export type Carousel = {
359
+ items: GridItem[]
360
+ loop?: boolean
369
361
  pagination: boolean
370
362
  counter: boolean
371
363
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnx-mixtape/ids-shape",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "shape details for ids project",
5
5
  "main": "./index.ts",
6
6
  "type": "module",