@pnx-mixtape/ids-shape 0.0.5 → 0.0.7

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 +11 -14
  2. package/index.ts +5 -7
  3. package/package.json +1 -1
package/enums.ts CHANGED
@@ -121,21 +121,18 @@ export enum TagTypes {
121
121
  CHECKBOX = "checkbox"
122
122
  }
123
123
 
124
- export enum GridItemModifiers {
125
- SPAN_2 = "span-2",
126
- SPAN_3 = "span-3",
127
- SPAN_4 = "span-4"
128
- }
129
-
130
124
  export enum GridModifiers {
131
- XS_2 = "xs-2-cols",
132
- SM_2 = "sm-2-cols",
133
- MD_2 = "md-2-cols",
134
- MD_3 = "md-3-cols",
135
- LG_3 = "lg-3-cols",
136
- MD_4 = "md-4-cols",
137
- LG_4 = "lg-4-cols",
138
- XL_4 = "xl-4-cols",
125
+ XS_2 = "xs-2",
126
+ SM_2 = "sm-2",
127
+ MD_2 = "md-2",
128
+ LG_2 = "lg-2",
129
+ XL_2 = "xl-2",
130
+ MD_3 = "md-3",
131
+ LG_3 = "lg-3",
132
+ XL_3 = "xl-3",
133
+ MD_4 = "md-4",
134
+ LG_4 = "lg-4",
135
+ XL_4 = "xl-4",
139
136
  }
140
137
 
141
138
  export enum CardModifier {
package/index.ts CHANGED
@@ -5,7 +5,6 @@ import {
5
5
  ButtonTypes,
6
6
  CardModifier,
7
7
  GlobalAlertTypes,
8
- GridItemModifiers,
9
8
  GridModifiers,
10
9
  HeadingTypes,
11
10
  HeroBannerModifier,
@@ -125,9 +124,9 @@ export type WayfindingBlock = {
125
124
  */
126
125
 
127
126
  export type GridItem = {
128
- item: HTMLElement
127
+ item: string | HTMLElement
129
128
  container?: boolean
130
- modifiers?: GridItemModifiers[]
129
+ modifiers?: GridModifiers[]
131
130
  as?: AsTypes
132
131
  }
133
132
 
@@ -215,7 +214,7 @@ export type Card = WayfindingBlock & {
215
214
  tags?: Tags
216
215
  date?: string
217
216
  linkList?: LinkList
218
- modifier?: CardModifier
217
+ modifiers?: CardModifier[]
219
218
  }
220
219
 
221
220
  export type CardGrid = WayfindingBlock & {
@@ -267,7 +266,7 @@ export type HeroBanner = WayfindingBlock & {
267
266
  image?: Image
268
267
  linkList?: LinkList
269
268
  highlight?: boolean
270
- modifier?: HeroBannerModifier
269
+ modifiers?: HeroBannerModifier[]
271
270
  }
272
271
 
273
272
  export type InPageAlert = {
@@ -304,7 +303,7 @@ export type StepItem = {
304
303
 
305
304
  export type Steps = {
306
305
  items: StepItem[],
307
- modifier?: StepsModifier
306
+ modifiers?: StepsModifier[]
308
307
  fill?: boolean
309
308
  counters?: boolean
310
309
  progress?: boolean
@@ -364,7 +363,6 @@ export {
364
363
  ButtonTypes,
365
364
  CardModifier,
366
365
  GlobalAlertTypes,
367
- GridItemModifiers,
368
366
  GridModifiers,
369
367
  HeadingTypes,
370
368
  HeroBannerModifier,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnx-mixtape/ids-shape",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "shape details for ids project",
5
5
  "main": "./index.ts",
6
6
  "type": "module",