@pnx-mixtape/ids-shape 0.0.17 → 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 +9 -15
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -124,7 +124,9 @@ export type LinkedImage = {
124
124
  title?: string
125
125
  }
126
126
 
127
- export type WysiwygText = HTMLElement[] // just an example.
127
+ export type Logo = InlineSvg | Image
128
+
129
+ export type WysiwygText = string[] | HTMLElement[] // just an example.
128
130
 
129
131
  /**
130
132
  * Forms
@@ -214,8 +216,7 @@ export type Form = {
214
216
 
215
217
  export type SearchForm = {
216
218
  action: string
217
- input: FormInput
218
- button: Button
219
+ id: string
219
220
  }
220
221
 
221
222
 
@@ -301,7 +302,7 @@ export type Masthead = {
301
302
  }
302
303
 
303
304
  export type Header = {
304
- logo: Image | Image[]
305
+ logo: Logo | Logo[]
305
306
  title?: string
306
307
  description?: string
307
308
  search?: SearchForm
@@ -316,7 +317,7 @@ export type Footer = {
316
317
  socials?: SocialLinks
317
318
  background?: FooterModifier
318
319
  copyright?: string
319
- logo?: Image | Image[]
320
+ logo?: Logo | Logo[]
320
321
  }
321
322
 
322
323
  /**
@@ -354,16 +355,9 @@ export type Card = WayfindingBlock & {
354
355
  modifiers?: CardModifier[]
355
356
  }
356
357
 
357
- export type CardGrid = WayfindingBlock & {
358
- items: Card[]
359
- container?: boolean
360
- modifiers?: GridModifiers[]
361
- as?: SectionTypes
362
- }
363
-
364
- export type CardCarousel = WayfindingBlock & {
365
- items: Card[]
366
- loop: boolean
358
+ export type Carousel = {
359
+ items: GridItem[]
360
+ loop?: boolean
367
361
  pagination: boolean
368
362
  counter: boolean
369
363
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnx-mixtape/ids-shape",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "shape details for ids project",
5
5
  "main": "./index.ts",
6
6
  "type": "module",