@pnx-mixtape/ids-shape 0.0.21 → 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.
- package/enums.ts +15 -0
- package/index.ts +16 -4
- 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,
|
|
@@ -325,6 +326,7 @@ export type Footer = {
|
|
|
325
326
|
*/
|
|
326
327
|
|
|
327
328
|
export type LinkList = {
|
|
329
|
+
title?: Heading
|
|
328
330
|
items: Link[]
|
|
329
331
|
}
|
|
330
332
|
|
|
@@ -400,6 +402,10 @@ export type HeroBanner = WayfindingBlock & {
|
|
|
400
402
|
modifiers?: HeroBannerModifier[]
|
|
401
403
|
}
|
|
402
404
|
|
|
405
|
+
export type HeroSearch = HeroBanner & {
|
|
406
|
+
search: SearchForm
|
|
407
|
+
}
|
|
408
|
+
|
|
403
409
|
export type InPageAlert = {
|
|
404
410
|
type: InPageAlertTypes
|
|
405
411
|
title: Heading
|
|
@@ -419,7 +425,10 @@ export type ListItem = {
|
|
|
419
425
|
}
|
|
420
426
|
|
|
421
427
|
export type Popover = WayfindingBlock & {
|
|
428
|
+
trigger: Button
|
|
422
429
|
id: string
|
|
430
|
+
name?: string
|
|
431
|
+
placement?: PopoverPlacementModifier
|
|
423
432
|
}
|
|
424
433
|
|
|
425
434
|
export type ResultsBar = {
|
|
@@ -479,10 +488,11 @@ export type SocialLinks = {
|
|
|
479
488
|
}
|
|
480
489
|
|
|
481
490
|
export type SocialShare = {
|
|
482
|
-
facebook?:
|
|
483
|
-
linkedin?:
|
|
484
|
-
twitter?:
|
|
485
|
-
|
|
491
|
+
facebook?: string
|
|
492
|
+
linkedin?: string
|
|
493
|
+
twitter?: string
|
|
494
|
+
bluesky?: string
|
|
495
|
+
email?: string
|
|
486
496
|
}
|
|
487
497
|
|
|
488
498
|
export type UtilityList = {
|
|
@@ -490,6 +500,7 @@ export type UtilityList = {
|
|
|
490
500
|
print?: boolean
|
|
491
501
|
pdf?: boolean
|
|
492
502
|
share?: SocialShare
|
|
503
|
+
horizontal?: boolean
|
|
493
504
|
}
|
|
494
505
|
|
|
495
506
|
export type Collapsible = {
|
|
@@ -540,4 +551,5 @@ export {
|
|
|
540
551
|
ListItemModifiers,
|
|
541
552
|
MastheadModifier,
|
|
542
553
|
FooterModifier,
|
|
554
|
+
PopoverPlacementModifier,
|
|
543
555
|
}
|