@pnx-mixtape/ids-shape 0.0.22 → 0.0.23

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 +15 -0
  2. package/index.ts +11 -4
  3. package/package.json +1 -1
package/enums.ts CHANGED
@@ -199,3 +199,18 @@ export enum FooterModifier {
199
199
  DARK = "dark",
200
200
  LIGHT = "light",
201
201
  }
202
+
203
+ export enum PopoverPlacementModifier {
204
+ TOP = "top",
205
+ TOP_START = "top-start",
206
+ TOP_END = "top-end",
207
+ RIGHT = "right",
208
+ RIGHT_START = "right-start",
209
+ RIGHT_END = "right-end",
210
+ LEFT = "left",
211
+ LEFT_START = "left-start",
212
+ LEFT_END = "left-end",
213
+ BOTTOM = "bottom",
214
+ BOTTOM_START = "bottom-start",
215
+ BOTTOM_END = "bottom-end",
216
+ }
package/index.ts CHANGED
@@ -19,6 +19,7 @@ import {
19
19
  LoadingTypes,
20
20
  MastheadModifier,
21
21
  MediaAlignmentTypes,
22
+ PopoverPlacementModifier,
22
23
  SectionModifiers,
23
24
  SectionTypes,
24
25
  StepsModifier,
@@ -424,7 +425,10 @@ export type ListItem = {
424
425
  }
425
426
 
426
427
  export type Popover = WayfindingBlock & {
428
+ trigger: Button
427
429
  id: string
430
+ name?: string
431
+ placement?: PopoverPlacementModifier
428
432
  }
429
433
 
430
434
  export type ResultsBar = {
@@ -484,10 +488,11 @@ export type SocialLinks = {
484
488
  }
485
489
 
486
490
  export type SocialShare = {
487
- facebook?: boolean
488
- linkedin?: boolean
489
- twitter?: boolean
490
- email?: boolean
491
+ facebook?: string
492
+ linkedin?: string
493
+ twitter?: string
494
+ bluesky?: string
495
+ email?: string
491
496
  }
492
497
 
493
498
  export type UtilityList = {
@@ -495,6 +500,7 @@ export type UtilityList = {
495
500
  print?: boolean
496
501
  pdf?: boolean
497
502
  share?: SocialShare
503
+ horizontal?: boolean
498
504
  }
499
505
 
500
506
  export type Collapsible = {
@@ -545,4 +551,5 @@ export {
545
551
  ListItemModifiers,
546
552
  MastheadModifier,
547
553
  FooterModifier,
554
+ PopoverPlacementModifier,
548
555
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnx-mixtape/ids-shape",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "shape details for ids project",
5
5
  "main": "./index.ts",
6
6
  "type": "module",