@sendoutcards/quantum-design-ui 2.0.0-alpha.5 → 2.0.0-alpha.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.
- package/dist/index.d.ts +139 -96
- package/dist/index.mjs +65 -59
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -121,9 +121,9 @@ export declare type AffiliateShareWidgetProps = {
|
|
|
121
121
|
shareLink: string;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
-
declare type AlignContent = 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe' | 'unsafe' | CSSGridBaseValues | FlexBaseValues;
|
|
124
|
+
export declare type AlignContent = 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe' | 'unsafe' | CSSGridBaseValues | FlexBaseValues;
|
|
125
125
|
|
|
126
|
-
declare type AlignItems = AlignContent | 'self-start' | 'self-end' | CSSGridBaseValues;
|
|
126
|
+
export declare type AlignItems = AlignContent | 'self-start' | 'self-end' | CSSGridBaseValues;
|
|
127
127
|
|
|
128
128
|
export declare type AlignmentOptions = 'left' | 'center' | 'right';
|
|
129
129
|
|
|
@@ -237,19 +237,17 @@ export declare type AwardGroupLabelProps = {
|
|
|
237
237
|
label: string;
|
|
238
238
|
};
|
|
239
239
|
|
|
240
|
-
declare type
|
|
240
|
+
export declare type BackgroundPosition = 'center' | 'left top' | 'left center' | 'left bottom' | 'right top' | 'right center' | 'right bottom' | 'center top' | 'center center' | 'center bottom';
|
|
241
241
|
|
|
242
|
-
declare type
|
|
242
|
+
export declare type BackgroundRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'initial' | 'inherit';
|
|
243
243
|
|
|
244
|
-
declare type
|
|
245
|
-
|
|
246
|
-
declare type BackgroundSize = 'auto' | 'length' | 'cover' | 'contain' | 'initial' | 'inherit';
|
|
244
|
+
export declare type BackgroundSize = 'auto' | 'length' | 'cover' | 'contain' | 'initial' | 'inherit';
|
|
247
245
|
|
|
248
246
|
export declare const Badge: FC<BadgeProps>;
|
|
249
247
|
|
|
250
248
|
export declare type BadgeProps = {
|
|
251
249
|
item: string;
|
|
252
|
-
backgroundColor?:
|
|
250
|
+
backgroundColor?: BGColorUnion;
|
|
253
251
|
icon?: IconType;
|
|
254
252
|
size?: SizeType;
|
|
255
253
|
color?: TextColor;
|
|
@@ -277,11 +275,11 @@ declare type BannerWithTitle = BaseBannerProps & {
|
|
|
277
275
|
export declare const Bar: FC<BarProps>;
|
|
278
276
|
|
|
279
277
|
export declare type BarProps = {
|
|
280
|
-
height:
|
|
281
|
-
width:
|
|
278
|
+
height: HUnion;
|
|
279
|
+
width: WUnion;
|
|
282
280
|
overflow?: Overflow;
|
|
283
281
|
position?: Position;
|
|
284
|
-
backgroundColor?:
|
|
282
|
+
backgroundColor?: BGColorUnion;
|
|
285
283
|
};
|
|
286
284
|
|
|
287
285
|
declare type BaseBannerProps = {
|
|
@@ -290,8 +288,12 @@ declare type BaseBannerProps = {
|
|
|
290
288
|
onClose?: () => void;
|
|
291
289
|
};
|
|
292
290
|
|
|
291
|
+
export declare type BaseColorType = keyof typeof entities.hocs.colors.swatches;
|
|
292
|
+
|
|
293
293
|
export declare const bellaCadaeuxTheme: Entities;
|
|
294
294
|
|
|
295
|
+
export declare type BGColorUnion = ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<HOCColorKeys>;
|
|
296
|
+
|
|
295
297
|
export declare const BlockQuote: ({ author, background, textColor, type, content, contentTextType, borderRadius, boxShadow, children, }: BlockQuoteProps) => JSX_2.Element;
|
|
296
298
|
|
|
297
299
|
export declare type BlockQuoteProps = {
|
|
@@ -313,25 +315,14 @@ declare type BlueScaleColorSelection = {
|
|
|
313
315
|
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
314
316
|
};
|
|
315
317
|
|
|
316
|
-
declare type BorderDirection<T> = {
|
|
318
|
+
export declare type BorderDirection<T> = {
|
|
317
319
|
left?: T;
|
|
318
320
|
right?: T;
|
|
319
321
|
bottom?: T;
|
|
320
322
|
top?: T;
|
|
321
323
|
};
|
|
322
324
|
|
|
323
|
-
declare type BorderRadius =
|
|
324
|
-
|
|
325
|
-
declare const borderRadius: {
|
|
326
|
-
none: string;
|
|
327
|
-
small: string;
|
|
328
|
-
medium: string;
|
|
329
|
-
default: string;
|
|
330
|
-
large: string;
|
|
331
|
-
circle: string;
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
declare type BorderRadius_2 = {
|
|
325
|
+
export declare type BorderRadius = {
|
|
335
326
|
left?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
336
327
|
right?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
337
328
|
top?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
@@ -342,24 +333,35 @@ declare type BorderRadius_2 = {
|
|
|
342
333
|
bottomLeft?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
343
334
|
};
|
|
344
335
|
|
|
345
|
-
declare
|
|
336
|
+
export declare const borderRadius: {
|
|
337
|
+
none: string;
|
|
338
|
+
small: string;
|
|
339
|
+
medium: string;
|
|
340
|
+
default: string;
|
|
341
|
+
large: string;
|
|
342
|
+
circle: string;
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
export declare type BorderRadiusDirection = BorderRadius & Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
346
346
|
|
|
347
|
-
declare const borders: {
|
|
347
|
+
export declare const borders: {
|
|
348
348
|
thin: string;
|
|
349
349
|
default: string;
|
|
350
350
|
bold: string;
|
|
351
351
|
};
|
|
352
352
|
|
|
353
|
-
declare type BorderStyleDirection = BorderDirection<BorderStyles> | BorderDirection<Responsive<BorderStyles>>;
|
|
353
|
+
export declare type BorderStyleDirection = BorderDirection<BorderStyles> | BorderDirection<Responsive<BorderStyles>>;
|
|
354
354
|
|
|
355
|
-
declare type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
|
|
355
|
+
export declare type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
|
|
356
356
|
|
|
357
|
-
declare type BorderWidth = BorderDirection<HOCBorderWidthKeys> | BorderDirection<Responsive<HOCBorderWidthKeys>>;
|
|
357
|
+
export declare type BorderWidth = BorderDirection<HOCBorderWidthKeys> | BorderDirection<Responsive<HOCBorderWidthKeys>>;
|
|
358
358
|
|
|
359
|
-
declare type BorderWidthDirection = BorderWidth & Responsive<HOCBorderWidthKeys>;
|
|
359
|
+
export declare type BorderWidthDirection = BorderWidth & Responsive<HOCBorderWidthKeys>;
|
|
360
360
|
|
|
361
361
|
export declare type BrandTypes = 'soc' | 'greenerStill' | 'bellaCadeaux' | 'promptingU' | 'blue42' | 'streamVA' | 'streamMarketing' | 'soc' | 'promptingsAcademy' | 'promptings';
|
|
362
362
|
|
|
363
|
+
export declare type BRUnion = BorderRadiusDirection | LiteralUnion<HOCBorderRadiusKeys>;
|
|
364
|
+
|
|
363
365
|
export declare const BulkSend: FC<BulkSendProps>;
|
|
364
366
|
|
|
365
367
|
export declare type BulkSendProps = {
|
|
@@ -433,7 +435,7 @@ export declare const Capsule: FC<CapsuleProps>;
|
|
|
433
435
|
|
|
434
436
|
export declare type CapsuleProps = {
|
|
435
437
|
title: string;
|
|
436
|
-
backgroundColor?:
|
|
438
|
+
backgroundColor?: BGColorUnion;
|
|
437
439
|
fontColor?: TextColor;
|
|
438
440
|
boxShadow?: Shadows;
|
|
439
441
|
};
|
|
@@ -469,7 +471,7 @@ export declare type CardQuantitySliderProps = {
|
|
|
469
471
|
secondaryAction?: default_2.ReactNode;
|
|
470
472
|
} & QuantitySliderProps;
|
|
471
473
|
|
|
472
|
-
declare type Char = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
|
|
474
|
+
export declare type Char = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
|
|
473
475
|
|
|
474
476
|
export declare const Checkbox: FC<CheckboxProps>;
|
|
475
477
|
|
|
@@ -526,7 +528,7 @@ export declare type CloseButtonProps = {
|
|
|
526
528
|
id?: string;
|
|
527
529
|
};
|
|
528
530
|
|
|
529
|
-
declare type ColorModeType = 'light' | 'dark';
|
|
531
|
+
export declare type ColorModeType = 'light' | 'dark';
|
|
530
532
|
|
|
531
533
|
export declare const ColorOption: FC<ColorOptionProps>;
|
|
532
534
|
|
|
@@ -536,7 +538,7 @@ export declare type ColorOptionProps = {
|
|
|
536
538
|
onClick: () => void;
|
|
537
539
|
};
|
|
538
540
|
|
|
539
|
-
declare const colors: {
|
|
541
|
+
export declare const colors: {
|
|
540
542
|
swatches: {
|
|
541
543
|
primaryBrand: Required<ColorSwatch>;
|
|
542
544
|
secondaryBrand: Required<ColorSwatch>;
|
|
@@ -552,7 +554,12 @@ declare const colors: {
|
|
|
552
554
|
foreground: string;
|
|
553
555
|
};
|
|
554
556
|
|
|
555
|
-
declare type ColorSelection = PrimaryBrandColorSelection | SecondaryBrandColorSelection | SuccessColorSelection | WarningColorSelection | DangerColorSelection | AccentColorSelection | GrayScaleColorSelection | BlueScaleColorSelection | PurpleScaleColorSelection;
|
|
557
|
+
export declare type ColorSelection = PrimaryBrandColorSelection | SecondaryBrandColorSelection | SuccessColorSelection | WarningColorSelection | DangerColorSelection | AccentColorSelection | GrayScaleColorSelection | BlueScaleColorSelection | PurpleScaleColorSelection;
|
|
558
|
+
|
|
559
|
+
export declare type ColorStop = {
|
|
560
|
+
color: LiteralUnion<HOCSwatchColorKeys>;
|
|
561
|
+
percentage: number;
|
|
562
|
+
};
|
|
556
563
|
|
|
557
564
|
declare type ColorSwatch = {
|
|
558
565
|
base: string;
|
|
@@ -568,6 +575,8 @@ declare type ColorSwatch = {
|
|
|
568
575
|
_1000?: string;
|
|
569
576
|
};
|
|
570
577
|
|
|
578
|
+
export declare type ColorSwatchKeys = keyof ColorSwatch;
|
|
579
|
+
|
|
571
580
|
export declare const ColorThumbnail: FC<ColorThumbnailProps>;
|
|
572
581
|
|
|
573
582
|
export declare type ColorThumbnailProps = {
|
|
@@ -713,15 +722,17 @@ export declare type CountdownTimerProps = {
|
|
|
713
722
|
timeReachedMessage?: string;
|
|
714
723
|
};
|
|
715
724
|
|
|
716
|
-
declare type Country = {
|
|
725
|
+
export declare type Country = {
|
|
717
726
|
isoCode: string;
|
|
718
727
|
callingCode: number;
|
|
719
728
|
hasSeparator?: boolean;
|
|
720
729
|
};
|
|
721
730
|
|
|
722
|
-
declare type CSSGridBaseValues = 'start' | 'end' | 'space-evenly' | 'center';
|
|
731
|
+
export declare type CSSGridBaseValues = 'start' | 'end' | 'space-evenly' | 'center';
|
|
732
|
+
|
|
733
|
+
export declare type CSSValues = BorderStyles | Cursor | Display | JustifyContent | AlignContent | AlignItems | JustifyItems | FlexDirection | BackgroundSize | BackgroundPosition | BackgroundRepeat | Overflow | Position;
|
|
723
734
|
|
|
724
|
-
declare type Cursor = 'pointer' | 'auto' | 'text' | 'zoom-out' | 'zoom-in' | 'initial' | 'inherit' | 'move' | 'row-resize' | 'col-resize' | 'nesw-resize' | 'nwse-resize' | 'not-allowed';
|
|
735
|
+
export declare type Cursor = 'pointer' | 'auto' | 'text' | 'zoom-out' | 'zoom-in' | 'initial' | 'inherit' | 'move' | 'row-resize' | 'col-resize' | 'nesw-resize' | 'nwse-resize' | 'not-allowed';
|
|
725
736
|
|
|
726
737
|
declare type DangerColorSelection = {
|
|
727
738
|
swatch: 'danger';
|
|
@@ -748,10 +759,10 @@ export declare type DialogProps = {
|
|
|
748
759
|
closeButtonId?: string;
|
|
749
760
|
insetOverride?: HOCSpacingKeys | string;
|
|
750
761
|
outsetOverride?: HOCSpacingKeys | string;
|
|
751
|
-
height?:
|
|
752
|
-
width?:
|
|
762
|
+
height?: HUnion;
|
|
763
|
+
width?: WUnion;
|
|
753
764
|
shouldScroll?: boolean;
|
|
754
|
-
borderRadius?:
|
|
765
|
+
borderRadius?: BRUnion;
|
|
755
766
|
pinned?: PinnedType;
|
|
756
767
|
backgroundVariant?: 'solid' | 'blur';
|
|
757
768
|
footer?: default_2.ReactNode;
|
|
@@ -767,7 +778,7 @@ declare type Disclaimer = {
|
|
|
767
778
|
termsDescription: string;
|
|
768
779
|
};
|
|
769
780
|
|
|
770
|
-
declare type Display = 'relative' | 'absolute' | 'inline' | 'inline-block' | 'flex' | 'grid' | 'none' | 'contents' | 'inline-flex';
|
|
781
|
+
export declare type Display = 'relative' | 'absolute' | 'inline' | 'inline-block' | 'flex' | 'grid' | 'none' | 'contents' | 'inline-flex';
|
|
771
782
|
|
|
772
783
|
export declare const DisplayCard: ({ title, description, children, }: DisplayCardProps) => JSX_2.Element;
|
|
773
784
|
|
|
@@ -1415,7 +1426,7 @@ export declare type FeatureAnnouncementProps = {
|
|
|
1415
1426
|
type?: ButtonType;
|
|
1416
1427
|
};
|
|
1417
1428
|
imageURL: string;
|
|
1418
|
-
backgroundColor?:
|
|
1429
|
+
backgroundColor?: BGColorUnion;
|
|
1419
1430
|
maxWidth?: string;
|
|
1420
1431
|
};
|
|
1421
1432
|
|
|
@@ -1456,14 +1467,14 @@ export declare const Flex: default_2.MemoExoticComponent<(props: FlexProps) => J
|
|
|
1456
1467
|
|
|
1457
1468
|
declare type FlexBaseValues = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'initial' | 'inherit';
|
|
1458
1469
|
|
|
1459
|
-
declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
1470
|
+
export declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
1460
1471
|
|
|
1461
1472
|
export declare type FlexProps = {
|
|
1462
1473
|
children?: default_2.ReactNode;
|
|
1463
1474
|
outsideClick?: () => void;
|
|
1464
1475
|
} & HOCBaseProps & HOCMotionProps;
|
|
1465
1476
|
|
|
1466
|
-
declare type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
1477
|
+
export declare type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
1467
1478
|
|
|
1468
1479
|
declare type FramerAnimation = AnimationControls | TargetAndTransition | VariantLabels | boolean;
|
|
1469
1480
|
|
|
@@ -1506,20 +1517,18 @@ export declare type GridProps = {
|
|
|
1506
1517
|
children?: default_2.ReactNode;
|
|
1507
1518
|
};
|
|
1508
1519
|
|
|
1509
|
-
declare type Height = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1510
|
-
|
|
1511
1520
|
declare type HOCBaseProps = {
|
|
1512
1521
|
inset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
1513
1522
|
outset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
1514
|
-
borderRadius?:
|
|
1523
|
+
borderRadius?: BRUnion;
|
|
1515
1524
|
borderWidth?: BorderWidthDirection | HOCBorderWidthKeys;
|
|
1516
1525
|
borderStyle?: BorderStyleDirection | BorderStyles;
|
|
1517
1526
|
borderColor?: ColorSelection | LiteralUnion<HOCColorKeys>;
|
|
1518
|
-
backgroundColor?:
|
|
1527
|
+
backgroundColor?: BGColorUnion;
|
|
1519
1528
|
color?: LiteralUnion<TextColor>;
|
|
1520
1529
|
boxShadow?: Shadows;
|
|
1521
|
-
height?:
|
|
1522
|
-
width?:
|
|
1530
|
+
height?: HUnion;
|
|
1531
|
+
width?: WUnion;
|
|
1523
1532
|
maxHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1524
1533
|
maxWidth?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1525
1534
|
minHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
@@ -1558,19 +1567,19 @@ declare type HOCBaseProps = {
|
|
|
1558
1567
|
onMouseEvent?: OnMouseEvent;
|
|
1559
1568
|
};
|
|
1560
1569
|
|
|
1561
|
-
declare type HOCBorderRadius = typeof borderRadius;
|
|
1570
|
+
export declare type HOCBorderRadius = typeof borderRadius;
|
|
1562
1571
|
|
|
1563
|
-
declare type HOCBorderRadiusKeys = keyof HOCBorderRadius;
|
|
1572
|
+
export declare type HOCBorderRadiusKeys = keyof HOCBorderRadius;
|
|
1564
1573
|
|
|
1565
|
-
declare type HOCBorderWidth = typeof borders;
|
|
1574
|
+
export declare type HOCBorderWidth = typeof borders;
|
|
1566
1575
|
|
|
1567
|
-
declare type HOCBorderWidthKeys = keyof HOCBorderWidth;
|
|
1576
|
+
export declare type HOCBorderWidthKeys = keyof HOCBorderWidth;
|
|
1568
1577
|
|
|
1569
|
-
declare type HOCColorKeys = Exclude<HOCColorKeysWithSwatch, 'swatches'>;
|
|
1578
|
+
export declare type HOCColorKeys = Exclude<HOCColorKeysWithSwatch, 'swatches'>;
|
|
1570
1579
|
|
|
1571
|
-
declare type HOCColorKeysWithSwatch = keyof HOCColors;
|
|
1580
|
+
export declare type HOCColorKeysWithSwatch = keyof HOCColors;
|
|
1572
1581
|
|
|
1573
|
-
declare type HOCColors = typeof colors;
|
|
1582
|
+
export declare type HOCColors = typeof colors;
|
|
1574
1583
|
|
|
1575
1584
|
declare type HOCMotionProps = {
|
|
1576
1585
|
className?: string;
|
|
@@ -1578,17 +1587,23 @@ declare type HOCMotionProps = {
|
|
|
1578
1587
|
id?: string;
|
|
1579
1588
|
} & MotionProps;
|
|
1580
1589
|
|
|
1581
|
-
declare type
|
|
1590
|
+
export declare type HOCPrimitive = string | number;
|
|
1591
|
+
|
|
1592
|
+
export declare type HOCShadowKeys = keyof HOCShadows;
|
|
1593
|
+
|
|
1594
|
+
export declare type HOCShadows = typeof shadows;
|
|
1582
1595
|
|
|
1583
|
-
declare type
|
|
1596
|
+
export declare type HOCSpacing = typeof spacing;
|
|
1584
1597
|
|
|
1585
|
-
declare type
|
|
1598
|
+
export declare type HOCSpacingKeys = keyof HOCSpacing;
|
|
1586
1599
|
|
|
1587
|
-
declare type
|
|
1600
|
+
export declare type HOCSwatchColorKeys = keyof HOCSwatchColors;
|
|
1588
1601
|
|
|
1589
|
-
declare type
|
|
1602
|
+
export declare type HOCSwatchColors = typeof colors.swatches;
|
|
1590
1603
|
|
|
1591
|
-
declare type
|
|
1604
|
+
export declare type HOCTextColors = typeof textColors;
|
|
1605
|
+
|
|
1606
|
+
export declare type HOCValues = Spacing | HOCSpacingKeys | BorderRadius | HOCBorderRadiusKeys | BorderWidth | HOCBorderWidthKeys | ColorSelection | Shadows | ColorSwatch;
|
|
1592
1607
|
|
|
1593
1608
|
declare type HorizontalZone = {
|
|
1594
1609
|
component: default_2.ReactNode;
|
|
@@ -1608,6 +1623,8 @@ export declare type HStackProps = {
|
|
|
1608
1623
|
children?: default_2.ReactNode;
|
|
1609
1624
|
};
|
|
1610
1625
|
|
|
1626
|
+
export declare type HUnion = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1627
|
+
|
|
1611
1628
|
export declare const Icon: FC<IconProps>;
|
|
1612
1629
|
|
|
1613
1630
|
export declare type IconColors = keyof typeof entities.icons.colors;
|
|
@@ -1756,7 +1773,7 @@ export declare type ImageUploaderProps = {
|
|
|
1756
1773
|
maxFileSize?: number;
|
|
1757
1774
|
maxAcceptedFiles?: number;
|
|
1758
1775
|
uploadTitle?: string;
|
|
1759
|
-
backgroundColor?:
|
|
1776
|
+
backgroundColor?: BGColorUnion;
|
|
1760
1777
|
};
|
|
1761
1778
|
|
|
1762
1779
|
export declare const ImageUploadWidget: FC<ImageUploadWidgetProps>;
|
|
@@ -1830,6 +1847,8 @@ export declare type InfoBlockProps = {
|
|
|
1830
1847
|
|
|
1831
1848
|
export declare type InfoBlockSizeType = 'large' | 'medium' | 'small';
|
|
1832
1849
|
|
|
1850
|
+
export declare type Initials = 'inherit' | 'initial';
|
|
1851
|
+
|
|
1833
1852
|
export declare const Input: FC<InputProps>;
|
|
1834
1853
|
|
|
1835
1854
|
export declare type InputFocusType = IconColors;
|
|
@@ -1886,9 +1905,9 @@ export declare type Item = {
|
|
|
1886
1905
|
isActive: boolean;
|
|
1887
1906
|
};
|
|
1888
1907
|
|
|
1889
|
-
declare type JustifyContent = FlexBaseValues | CSSGridBaseValues;
|
|
1908
|
+
export declare type JustifyContent = FlexBaseValues | CSSGridBaseValues;
|
|
1890
1909
|
|
|
1891
|
-
declare type JustifyItems = 'start' | 'end' | 'center' | 'stretch';
|
|
1910
|
+
export declare type JustifyItems = 'start' | 'end' | 'center' | 'stretch';
|
|
1892
1911
|
|
|
1893
1912
|
export declare type Link = {
|
|
1894
1913
|
title: default_2.ReactNode;
|
|
@@ -1946,7 +1965,7 @@ export declare type ListProps = {
|
|
|
1946
1965
|
|
|
1947
1966
|
export declare type ListStyleType = 'disc' | 'none' | 'circle';
|
|
1948
1967
|
|
|
1949
|
-
declare type LiteralUnion<T extends U, U = string> = T | (U & {
|
|
1968
|
+
export declare type LiteralUnion<T extends U, U = string> = T | (U & {
|
|
1950
1969
|
_?: never;
|
|
1951
1970
|
});
|
|
1952
1971
|
|
|
@@ -2059,7 +2078,7 @@ export declare type NoteSection = {
|
|
|
2059
2078
|
notes: string[];
|
|
2060
2079
|
};
|
|
2061
2080
|
|
|
2062
|
-
declare type OnMouseEvent = (event: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
2081
|
+
export declare type OnMouseEvent = (event: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
2063
2082
|
|
|
2064
2083
|
declare const Option_2: default_2.ForwardRefExoticComponent<OptionProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
2065
2084
|
export { Option_2 as Option }
|
|
@@ -2151,7 +2170,7 @@ export declare type OrderCardProps = {
|
|
|
2151
2170
|
declare type orientation_2 = 'up' | 'down' | 'left' | 'right';
|
|
2152
2171
|
export { orientation_2 as orientation }
|
|
2153
2172
|
|
|
2154
|
-
declare type Overflow = 'visible' | 'auto' | 'scroll' | 'hidden';
|
|
2173
|
+
export declare type Overflow = 'visible' | 'auto' | 'scroll' | 'hidden';
|
|
2155
2174
|
|
|
2156
2175
|
export declare const Overlay: ({ children, zIndex, animate, initial, exit, variants, transition, motionKey, position, backgroundVariant, pinned, shouldScroll, ...rest }: OverlayPropTypes) => JSX_2.Element;
|
|
2157
2176
|
|
|
@@ -2228,7 +2247,7 @@ export declare type PinInputProps = {
|
|
|
2228
2247
|
|
|
2229
2248
|
export declare type PinnedType = 'top' | 'center' | 'bottom';
|
|
2230
2249
|
|
|
2231
|
-
declare type Position = 'absolute' | 'fixed' | 'sticky' | 'relative' | 'static';
|
|
2250
|
+
export declare type Position = 'absolute' | 'fixed' | 'sticky' | 'relative' | 'static';
|
|
2232
2251
|
|
|
2233
2252
|
export declare const PricingTile: ({ title, price, features, accentColor, backgroundColor, isFeatured, featuredItemStyles, textColor, description, priceSubtext, billingInterval, primaryAction, secondaryAction, children, hasShadow, disclaimer, isSelected, isFullLength, }: PricingTileProps) => JSX_2.Element;
|
|
2234
2253
|
|
|
@@ -2273,7 +2292,7 @@ export declare type PromotionWidgetProps = {
|
|
|
2273
2292
|
title: string;
|
|
2274
2293
|
description: string;
|
|
2275
2294
|
capsuleTitle: string;
|
|
2276
|
-
backgroundColor?:
|
|
2295
|
+
backgroundColor?: BGColorUnion;
|
|
2277
2296
|
primaryAction?: {
|
|
2278
2297
|
onClick: () => void;
|
|
2279
2298
|
title: string;
|
|
@@ -2436,7 +2455,7 @@ export declare type ReleaseNoteProps = {
|
|
|
2436
2455
|
|
|
2437
2456
|
declare type RequiredColorSwatch = Required<ColorSwatch>;
|
|
2438
2457
|
|
|
2439
|
-
declare type Responsive<T> = {
|
|
2458
|
+
export declare type Responsive<T> = {
|
|
2440
2459
|
xSmall?: T;
|
|
2441
2460
|
small?: T;
|
|
2442
2461
|
medium?: T;
|
|
@@ -2583,9 +2602,9 @@ export declare type SettingInputProps = {
|
|
|
2583
2602
|
onMouseEvent?: () => void;
|
|
2584
2603
|
};
|
|
2585
2604
|
|
|
2586
|
-
declare type Shadows = LiteralUnion<HOCShadowKeys, string> | Responsive<LiteralUnion<HOCShadowKeys, string>>;
|
|
2605
|
+
export declare type Shadows = LiteralUnion<HOCShadowKeys, string> | Responsive<LiteralUnion<HOCShadowKeys, string>>;
|
|
2587
2606
|
|
|
2588
|
-
declare const shadows: {
|
|
2607
|
+
export declare const shadows: {
|
|
2589
2608
|
light: string;
|
|
2590
2609
|
mediumLight: string;
|
|
2591
2610
|
mediumDark: string;
|
|
@@ -2602,7 +2621,7 @@ export declare type SheetProps = {
|
|
|
2602
2621
|
backgroundColor?: string;
|
|
2603
2622
|
layer?: number;
|
|
2604
2623
|
backgroundElement?: default_2.ReactNode;
|
|
2605
|
-
backgroundElementBackgroundColor?:
|
|
2624
|
+
backgroundElementBackgroundColor?: BGColorUnion;
|
|
2606
2625
|
snapPointPercentages?: number[];
|
|
2607
2626
|
initialSnapPoint?: number | string;
|
|
2608
2627
|
outsideClickBypassId?: string;
|
|
@@ -2632,7 +2651,7 @@ export declare type SidebarProps = {
|
|
|
2632
2651
|
|
|
2633
2652
|
declare type SizeMapType = Record<SizeType, number>;
|
|
2634
2653
|
|
|
2635
|
-
declare type SizeProperties<T> = {
|
|
2654
|
+
export declare type SizeProperties<T> = {
|
|
2636
2655
|
xSmall: T;
|
|
2637
2656
|
small: T;
|
|
2638
2657
|
medium: T;
|
|
@@ -2640,7 +2659,7 @@ declare type SizeProperties<T> = {
|
|
|
2640
2659
|
xLarge: T;
|
|
2641
2660
|
};
|
|
2642
2661
|
|
|
2643
|
-
declare type SizeType = keyof SizeProperties<never>;
|
|
2662
|
+
export declare type SizeType = keyof SizeProperties<never>;
|
|
2644
2663
|
|
|
2645
2664
|
export declare const Slider: FC<SliderProps>;
|
|
2646
2665
|
|
|
@@ -2677,7 +2696,7 @@ export declare type SpacerProps = {
|
|
|
2677
2696
|
orientation?: SpaceOrientation;
|
|
2678
2697
|
};
|
|
2679
2698
|
|
|
2680
|
-
declare type Spacing = {
|
|
2699
|
+
export declare type Spacing = {
|
|
2681
2700
|
left?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
2682
2701
|
right?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
2683
2702
|
top?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
@@ -2686,7 +2705,7 @@ declare type Spacing = {
|
|
|
2686
2705
|
horizontal?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
2687
2706
|
};
|
|
2688
2707
|
|
|
2689
|
-
declare const spacing: {
|
|
2708
|
+
export declare const spacing: {
|
|
2690
2709
|
x0: string;
|
|
2691
2710
|
x_25: string;
|
|
2692
2711
|
x_5: string;
|
|
@@ -2704,7 +2723,7 @@ declare const spacing: {
|
|
|
2704
2723
|
x9: string;
|
|
2705
2724
|
};
|
|
2706
2725
|
|
|
2707
|
-
declare type SpacingDirection = Spacing & Responsive<HOCSpacingKeys>;
|
|
2726
|
+
export declare type SpacingDirection = Spacing & Responsive<HOCSpacingKeys>;
|
|
2708
2727
|
|
|
2709
2728
|
export declare const Span: default_2.MemoExoticComponent<(props: SpanProps) => JSX_2.Element>;
|
|
2710
2729
|
|
|
@@ -2722,7 +2741,7 @@ declare type SphereProperties = {
|
|
|
2722
2741
|
};
|
|
2723
2742
|
|
|
2724
2743
|
export declare type SphereProps = {
|
|
2725
|
-
backgroundColor:
|
|
2744
|
+
backgroundColor: BGColorUnion;
|
|
2726
2745
|
step: {
|
|
2727
2746
|
content: Char | number;
|
|
2728
2747
|
color?: TextColor;
|
|
@@ -2737,8 +2756,8 @@ export declare type StackedCardsProps = {
|
|
|
2737
2756
|
height: number;
|
|
2738
2757
|
stackCount?: number;
|
|
2739
2758
|
backgroundImage?: string;
|
|
2740
|
-
stackBackgroundColor?:
|
|
2741
|
-
borderRadius?:
|
|
2759
|
+
stackBackgroundColor?: BGColorUnion;
|
|
2760
|
+
borderRadius?: BRUnion;
|
|
2742
2761
|
children?: default_2.ReactNode;
|
|
2743
2762
|
};
|
|
2744
2763
|
|
|
@@ -2797,7 +2816,7 @@ export declare const streamVATheme: Entities;
|
|
|
2797
2816
|
|
|
2798
2817
|
declare type StrokeWidth = keyof typeof entities.animatedCheckmark.strokeWidth;
|
|
2799
2818
|
|
|
2800
|
-
declare type SubmitOptionType = {
|
|
2819
|
+
export declare type SubmitOptionType = {
|
|
2801
2820
|
title: string;
|
|
2802
2821
|
type?: ButtonType;
|
|
2803
2822
|
onClick: (optionId?: string) => void;
|
|
@@ -2901,6 +2920,20 @@ export { Text_2 as Text }
|
|
|
2901
2920
|
|
|
2902
2921
|
export declare type TextColor = keyof typeof entities.text.colors;
|
|
2903
2922
|
|
|
2923
|
+
export declare const textColors: {
|
|
2924
|
+
primaryBrand: string;
|
|
2925
|
+
secondaryBrand: string;
|
|
2926
|
+
primaryHeading: string | undefined;
|
|
2927
|
+
primaryBody: string;
|
|
2928
|
+
inverseHeading: string;
|
|
2929
|
+
inverseBody: string;
|
|
2930
|
+
accent: string;
|
|
2931
|
+
success: string;
|
|
2932
|
+
warning: string;
|
|
2933
|
+
danger: string;
|
|
2934
|
+
anchorBlue: string;
|
|
2935
|
+
};
|
|
2936
|
+
|
|
2904
2937
|
export declare type TextLabelProps = {
|
|
2905
2938
|
type: 'text';
|
|
2906
2939
|
label: string;
|
|
@@ -3432,9 +3465,9 @@ outerRing: string;
|
|
|
3432
3465
|
};
|
|
3433
3466
|
}>;
|
|
3434
3467
|
|
|
3435
|
-
declare type ThemeMode = keyof ThemeModeProperies<never>;
|
|
3468
|
+
export declare type ThemeMode = keyof ThemeModeProperies<never>;
|
|
3436
3469
|
|
|
3437
|
-
declare type ThemeModeProperies<T> = {
|
|
3470
|
+
export declare type ThemeModeProperies<T> = {
|
|
3438
3471
|
primary: T;
|
|
3439
3472
|
secondary: T;
|
|
3440
3473
|
success: T;
|
|
@@ -4004,9 +4037,9 @@ export declare const UploadButton: default_2.ForwardRefExoticComponent<UploadBut
|
|
|
4004
4037
|
export declare type UploadButtonProps = {
|
|
4005
4038
|
onUpload: (upload: File | null) => void;
|
|
4006
4039
|
title: string;
|
|
4007
|
-
backgroundColor?:
|
|
4008
|
-
width?:
|
|
4009
|
-
height?:
|
|
4040
|
+
backgroundColor?: BGColorUnion;
|
|
4041
|
+
width?: WUnion;
|
|
4042
|
+
height?: HUnion;
|
|
4010
4043
|
boxShadow?: Shadows;
|
|
4011
4044
|
};
|
|
4012
4045
|
|
|
@@ -4043,7 +4076,17 @@ export declare type UpsaleDialogProps = {
|
|
|
4043
4076
|
checkoutOnly?: boolean;
|
|
4044
4077
|
} & UpsaleOptionsType;
|
|
4045
4078
|
|
|
4046
|
-
declare
|
|
4079
|
+
export declare const UpsaleOptions: FC<UpsaleOptionsProps>;
|
|
4080
|
+
|
|
4081
|
+
declare type UpsaleOptionsProps = {
|
|
4082
|
+
showCheckoutView: boolean;
|
|
4083
|
+
extraLink?: AnchorProps;
|
|
4084
|
+
defaultNumOptionsShown?: number;
|
|
4085
|
+
handleShouldShowCheckoutView: (value: boolean) => void;
|
|
4086
|
+
submitAction?: SubmitOptionType;
|
|
4087
|
+
} & UpsaleOptionsType;
|
|
4088
|
+
|
|
4089
|
+
export declare type UpsaleOptionsType = {
|
|
4047
4090
|
selectableOptions: UpsaleOptionType[];
|
|
4048
4091
|
selectedOption: string;
|
|
4049
4092
|
handleSelectedOption: (optionId: string) => void;
|
|
@@ -4052,7 +4095,7 @@ declare type UpsaleOptionsType = {
|
|
|
4052
4095
|
activeSelectedOption?: UpsaleOptionType;
|
|
4053
4096
|
};
|
|
4054
4097
|
|
|
4055
|
-
declare type UpsaleOptionType = {
|
|
4098
|
+
export declare type UpsaleOptionType = {
|
|
4056
4099
|
title: string;
|
|
4057
4100
|
secondaryTitle?: string;
|
|
4058
4101
|
subtitle?: string;
|
|
@@ -4659,7 +4702,7 @@ export declare type VideoPlayerProps = {
|
|
|
4659
4702
|
width: string;
|
|
4660
4703
|
height?: string;
|
|
4661
4704
|
maxHeight?: string;
|
|
4662
|
-
borderRadius?:
|
|
4705
|
+
borderRadius?: BorderRadius | LiteralUnion<HOCBorderRadiusKeys>;
|
|
4663
4706
|
minWidth?: string;
|
|
4664
4707
|
shouldAutoplay?: boolean;
|
|
4665
4708
|
};
|
|
@@ -4673,8 +4716,8 @@ export declare type VStackProps = {
|
|
|
4673
4716
|
alignItems?: Responsive<CSSGridBaseValues> | CSSGridBaseValues;
|
|
4674
4717
|
inset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
4675
4718
|
outset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
4676
|
-
width?:
|
|
4677
|
-
height?:
|
|
4719
|
+
width?: WUnion;
|
|
4720
|
+
height?: HUnion;
|
|
4678
4721
|
overflow?: Overflow;
|
|
4679
4722
|
children?: default_2.ReactNode;
|
|
4680
4723
|
};
|
|
@@ -4695,7 +4738,7 @@ declare type WidgetProperties = {
|
|
|
4695
4738
|
fontColor: TextColor;
|
|
4696
4739
|
};
|
|
4697
4740
|
|
|
4698
|
-
declare type
|
|
4741
|
+
export declare type WUnion = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
4699
4742
|
|
|
4700
4743
|
export declare type ZoneType = {
|
|
4701
4744
|
top?: VerticalZone;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l, Fragment as le } from "react/jsx-runtime";
|
|
2
|
-
import ae, { createContext as Xr, useContext as
|
|
2
|
+
import ae, { createContext as Xr, useContext as hr, useState as K, useEffect as Te, useMemo as N, useRef as We, useCallback as Be, useLayoutEffect as Tt, useImperativeHandle as Et, createElement as Wt } from "react";
|
|
3
3
|
import E from "color";
|
|
4
|
-
import { motion as se, useMotionValue as $o, useTransform as lo, animate as Tr, AnimatePresence as e1, useElementScroll as Dt, useAnimation as
|
|
4
|
+
import { motion as se, useMotionValue as $o, useTransform as lo, animate as Tr, AnimatePresence as e1, useElementScroll as Dt, useAnimation as nr } from "framer-motion";
|
|
5
5
|
import Yr from "react-country-flag";
|
|
6
6
|
import Vt from "fast-deep-equal";
|
|
7
7
|
import Po from "use-resize-observer";
|
|
@@ -59,7 +59,7 @@ const D = (o) => {
|
|
|
59
59
|
medium: 2,
|
|
60
60
|
large: 2.5,
|
|
61
61
|
xLarge: 3
|
|
62
|
-
}, ya = 0.5, fa = "rem",
|
|
62
|
+
}, ya = 0.5, fa = "rem", sr = {
|
|
63
63
|
small: 576,
|
|
64
64
|
medium: 768,
|
|
65
65
|
large: 992,
|
|
@@ -199,10 +199,10 @@ const D = (o) => {
|
|
|
199
199
|
baseUnits: fa
|
|
200
200
|
},
|
|
201
201
|
mediaQueries: {
|
|
202
|
-
small:
|
|
203
|
-
medium:
|
|
204
|
-
large:
|
|
205
|
-
xLarge:
|
|
202
|
+
small: sr.small,
|
|
203
|
+
medium: sr.medium,
|
|
204
|
+
large: sr.large,
|
|
205
|
+
xLarge: sr.xLarge
|
|
206
206
|
},
|
|
207
207
|
sizing: {
|
|
208
208
|
icons: {
|
|
@@ -746,7 +746,7 @@ const D = (o) => {
|
|
|
746
746
|
E(S.colors.defaultShadowColor).rgb().alpha(0.06).toString()
|
|
747
747
|
)
|
|
748
748
|
}
|
|
749
|
-
},
|
|
749
|
+
}, er = {
|
|
750
750
|
mediaQueries: Aa,
|
|
751
751
|
hocs: Na,
|
|
752
752
|
text: R1,
|
|
@@ -7031,8 +7031,8 @@ const D = (o) => {
|
|
|
7031
7031
|
sphere: k9,
|
|
7032
7032
|
widget: L9,
|
|
7033
7033
|
colorOption: S9
|
|
7034
|
-
}, st = Xr(
|
|
7035
|
-
const o =
|
|
7034
|
+
}, st = Xr(er), B9 = () => {
|
|
7035
|
+
const o = hr(st);
|
|
7036
7036
|
if (!o)
|
|
7037
7037
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
7038
7038
|
return o;
|
|
@@ -7082,7 +7082,7 @@ const D = (o) => {
|
|
|
7082
7082
|
case "promptingsAcademy":
|
|
7083
7083
|
return Er;
|
|
7084
7084
|
default:
|
|
7085
|
-
return
|
|
7085
|
+
return er;
|
|
7086
7086
|
}
|
|
7087
7087
|
})(t), i = N(
|
|
7088
7088
|
() => ({
|
|
@@ -12992,7 +12992,7 @@ const D = (o) => {
|
|
|
12992
12992
|
[o, a]
|
|
12993
12993
|
// Removed handler from dependencies
|
|
12994
12994
|
);
|
|
12995
|
-
}, { mediaQueries: q7 } =
|
|
12995
|
+
}, { mediaQueries: q7 } = er, G = (o, t, a) => {
|
|
12996
12996
|
let r = {};
|
|
12997
12997
|
return typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? r[`${o}`] = a && a[`${t}`] || `${t}` : Object.keys(t).forEach((i) => {
|
|
12998
12998
|
i === "xSmall" ? r[o] = a && a[`${t[i]}`] || `${t[i]}` : r[q7.queries[i]] = {
|
|
@@ -13260,7 +13260,7 @@ ${u.join(`
|
|
|
13260
13260
|
);
|
|
13261
13261
|
}
|
|
13262
13262
|
)
|
|
13263
|
-
), Lo = () =>
|
|
13263
|
+
), Lo = () => hr(lt), { mediaQueries: qo } = er, ah = (o, t, a) => {
|
|
13264
13264
|
let r = "body";
|
|
13265
13265
|
return eh(o) ? t(o) : (o.xSmall && a >= qo.rawValues.xSmall && (r = o.xSmall), o.small && a >= qo.rawValues.small && (r = o.small), o.medium && a >= qo.rawValues.medium && (r = o.medium), o.large && a >= qo.rawValues.large && (r = o.large), o.xLarge && a >= qo.rawValues.xLarge && (r = o.xLarge), t(r));
|
|
13266
13266
|
}, I = ae.memo(({ ...o }) => {
|
|
@@ -13336,19 +13336,19 @@ ${u.join(`
|
|
|
13336
13336
|
[_, W, t]
|
|
13337
13337
|
);
|
|
13338
13338
|
return /* @__PURE__ */ e(le, { children: u || s ? /* @__PURE__ */ e(B, { inset: u, outset: s, children: U }) : U });
|
|
13339
|
-
}),
|
|
13339
|
+
}), or = (o, t) => t[o], ih = (o) => or(o, {
|
|
13340
13340
|
xSmall: "footnote",
|
|
13341
13341
|
small: "footnote",
|
|
13342
13342
|
medium: "body",
|
|
13343
13343
|
large: "subtitle",
|
|
13344
13344
|
xLarge: "title"
|
|
13345
|
-
}), G1 = (o) =>
|
|
13345
|
+
}), G1 = (o) => or(o, {
|
|
13346
13346
|
xSmall: "caption",
|
|
13347
13347
|
small: "body",
|
|
13348
13348
|
medium: "largeBody",
|
|
13349
13349
|
large: "largeBody",
|
|
13350
13350
|
xLarge: "subtitle"
|
|
13351
|
-
}), Ar = (o) =>
|
|
13351
|
+
}), Ar = (o) => or(o, {
|
|
13352
13352
|
xSmall: { heading: "caption", caption: "footnote" },
|
|
13353
13353
|
small: { heading: "body", caption: "caption" },
|
|
13354
13354
|
medium: { heading: "largeBody", caption: "body" },
|
|
@@ -13744,7 +13744,7 @@ ${u.join(`
|
|
|
13744
13744
|
children: o.children
|
|
13745
13745
|
}
|
|
13746
13746
|
);
|
|
13747
|
-
}),
|
|
13747
|
+
}), rr = ({
|
|
13748
13748
|
size: o,
|
|
13749
13749
|
hasNoColor: t = !1
|
|
13750
13750
|
}) => {
|
|
@@ -13989,7 +13989,7 @@ ${u.join(`
|
|
|
13989
13989
|
}
|
|
13990
13990
|
)
|
|
13991
13991
|
}
|
|
13992
|
-
),
|
|
13992
|
+
), tr = ({
|
|
13993
13993
|
title: o,
|
|
13994
13994
|
children: t,
|
|
13995
13995
|
direction: a,
|
|
@@ -14030,7 +14030,7 @@ ${u.join(`
|
|
|
14030
14030
|
)
|
|
14031
14031
|
}
|
|
14032
14032
|
);
|
|
14033
|
-
}, Go = (o, t) =>
|
|
14033
|
+
}, Go = (o, t) => or(o, t), ch = (o, t) => {
|
|
14034
14034
|
switch (o) {
|
|
14035
14035
|
case "primary":
|
|
14036
14036
|
return t.primary;
|
|
@@ -14130,7 +14130,7 @@ ${u.join(`
|
|
|
14130
14130
|
position: "absolute",
|
|
14131
14131
|
top: "-8px",
|
|
14132
14132
|
children: /* @__PURE__ */ e(
|
|
14133
|
-
|
|
14133
|
+
tr,
|
|
14134
14134
|
{
|
|
14135
14135
|
repositionTooltip: !!F,
|
|
14136
14136
|
title: F ?? "",
|
|
@@ -14564,7 +14564,7 @@ ${u.join(`
|
|
|
14564
14564
|
onDragEnd: o
|
|
14565
14565
|
}
|
|
14566
14566
|
)
|
|
14567
|
-
),
|
|
14567
|
+
), dr = ae.memo((o) => {
|
|
14568
14568
|
const [t, a] = po(o), { onMouseEvent: r, onClick: i, style: n, className: c, ...d } = a, s = Y(), u = yo(t, s), p = We(null), v = N(
|
|
14569
14569
|
() => ({
|
|
14570
14570
|
display: "flex",
|
|
@@ -14699,7 +14699,7 @@ ${u.join(`
|
|
|
14699
14699
|
)
|
|
14700
14700
|
] }),
|
|
14701
14701
|
/* @__PURE__ */ e(B, { style: M, children: /* @__PURE__ */ e($, { flexDirection: "column", alignItems: "center", width: "100%", children: o.map((_, R) => /* @__PURE__ */ l(
|
|
14702
|
-
|
|
14702
|
+
dr,
|
|
14703
14703
|
{
|
|
14704
14704
|
inset: { vertical: "x2" },
|
|
14705
14705
|
alignItems: "center",
|
|
@@ -14735,7 +14735,7 @@ ${u.join(`
|
|
|
14735
14735
|
className: "navigation-tooltip",
|
|
14736
14736
|
style: T,
|
|
14737
14737
|
children: /* @__PURE__ */ e(
|
|
14738
|
-
|
|
14738
|
+
tr,
|
|
14739
14739
|
{
|
|
14740
14740
|
direction: "left",
|
|
14741
14741
|
title: _.title,
|
|
@@ -14914,13 +14914,13 @@ ${u.join(`
|
|
|
14914
14914
|
Te(() => {
|
|
14915
14915
|
M && Co(M);
|
|
14916
14916
|
}, [M]);
|
|
14917
|
-
const
|
|
14917
|
+
const ar = {
|
|
14918
14918
|
position: "fixed",
|
|
14919
14919
|
top: "50%",
|
|
14920
14920
|
left: "50%",
|
|
14921
14921
|
transform: "translate(-50%, -50%)",
|
|
14922
14922
|
minWidth: V ? void 0 : "768px"
|
|
14923
|
-
},
|
|
14923
|
+
}, ir = {
|
|
14924
14924
|
display: "flex",
|
|
14925
14925
|
justifyContent: "center",
|
|
14926
14926
|
alignItems: "center",
|
|
@@ -14958,7 +14958,7 @@ ${u.join(`
|
|
|
14958
14958
|
{
|
|
14959
14959
|
style: {
|
|
14960
14960
|
zIndex: v ?? 4,
|
|
14961
|
-
...V ? {} : z ? { ...
|
|
14961
|
+
...V ? {} : z ? { ...ir } : { ...ar }
|
|
14962
14962
|
},
|
|
14963
14963
|
children: [
|
|
14964
14964
|
z && /* @__PURE__ */ e(
|
|
@@ -15364,7 +15364,7 @@ ${u.join(`
|
|
|
15364
15364
|
onBlur: V
|
|
15365
15365
|
}) => {
|
|
15366
15366
|
var _r;
|
|
15367
|
-
const [J, ne] = K(0), [_e, ee] = K(!1), [me, he] = K(!1), [ce, Q] = K(!1), [ue, Re] = K(!1), [De, $e] = K(!1), [U1, bo] = K(!1), { inputs: Ve, hocs: I1 } = Y(), Q1 = !!p, _1 = !!c, X1 = !!a, Y1 = d != null && d.type ? d == null ? void 0 : d.type : n, vo = We(null), Co = We(null),
|
|
15367
|
+
const [J, ne] = K(0), [_e, ee] = K(!1), [me, he] = K(!1), [ce, Q] = K(!1), [ue, Re] = K(!1), [De, $e] = K(!1), [U1, bo] = K(!1), { inputs: Ve, hocs: I1 } = Y(), Q1 = !!p, _1 = !!c, X1 = !!a, Y1 = d != null && d.type ? d == null ? void 0 : d.type : n, vo = We(null), Co = We(null), ar = _ >= 150, ir = N(
|
|
15368
15368
|
() => Ch(
|
|
15369
15369
|
Ve,
|
|
15370
15370
|
R,
|
|
@@ -15464,8 +15464,8 @@ ${u.join(`
|
|
|
15464
15464
|
{
|
|
15465
15465
|
className: "input-container",
|
|
15466
15466
|
style: {
|
|
15467
|
-
...
|
|
15468
|
-
backgroundColor: d ? `${I1.colors.swatches[d.type]._1000}` :
|
|
15467
|
+
...ir,
|
|
15468
|
+
backgroundColor: d ? `${I1.colors.swatches[d.type]._1000}` : ir.background
|
|
15469
15469
|
},
|
|
15470
15470
|
ref: vo,
|
|
15471
15471
|
onFocus: () => {
|
|
@@ -15567,7 +15567,7 @@ ${u.join(`
|
|
|
15567
15567
|
]
|
|
15568
15568
|
}
|
|
15569
15569
|
),
|
|
15570
|
-
s && /* @__PURE__ */ e(
|
|
15570
|
+
s && /* @__PURE__ */ e(rr, { size: "medium" }),
|
|
15571
15571
|
Z && i !== "number" && !j && /* @__PURE__ */ e(
|
|
15572
15572
|
$,
|
|
15573
15573
|
{
|
|
@@ -15659,7 +15659,7 @@ ${u.join(`
|
|
|
15659
15659
|
}
|
|
15660
15660
|
)
|
|
15661
15661
|
] }),
|
|
15662
|
-
ce &&
|
|
15662
|
+
ce && ar ? /* @__PURE__ */ e(
|
|
15663
15663
|
$,
|
|
15664
15664
|
{
|
|
15665
15665
|
width: "100%",
|
|
@@ -15682,7 +15682,7 @@ ${u.join(`
|
|
|
15682
15682
|
}
|
|
15683
15683
|
)
|
|
15684
15684
|
}
|
|
15685
|
-
) : ce && !
|
|
15685
|
+
) : ce && !ar && /* @__PURE__ */ e(
|
|
15686
15686
|
$,
|
|
15687
15687
|
{
|
|
15688
15688
|
inset: { top: "x1" },
|
|
@@ -15693,7 +15693,7 @@ ${u.join(`
|
|
|
15693
15693
|
}
|
|
15694
15694
|
),
|
|
15695
15695
|
U1 && /* @__PURE__ */ e($, { position: "absolute", top: "-50px", right: "-55px", children: /* @__PURE__ */ e(
|
|
15696
|
-
|
|
15696
|
+
tr,
|
|
15697
15697
|
{
|
|
15698
15698
|
title: `Value must be between ${F} and ${z}`,
|
|
15699
15699
|
direction: "bottom",
|
|
@@ -15837,7 +15837,7 @@ ${u.join(`
|
|
|
15837
15837
|
}
|
|
15838
15838
|
)
|
|
15839
15839
|
] }) });
|
|
15840
|
-
},
|
|
15840
|
+
}, lr = ae.forwardRef(
|
|
15841
15841
|
(o, t) => {
|
|
15842
15842
|
const { alignment: a, isSelected: r, onClick: i, id: n } = o, [c, d] = K(!1), s = N(() => ({
|
|
15843
15843
|
"--option-justify": a === "left" ? "flex-start" : a === "right" ? "flex-end" : "center"
|
|
@@ -16101,7 +16101,7 @@ ${u.join(`
|
|
|
16101
16101
|
children: [
|
|
16102
16102
|
o.type === "reactNode" && o.options.map((Q, ue) => /* @__PURE__ */ l(le, { children: [
|
|
16103
16103
|
/* @__PURE__ */ e(
|
|
16104
|
-
|
|
16104
|
+
lr,
|
|
16105
16105
|
{
|
|
16106
16106
|
id: ue,
|
|
16107
16107
|
isSelected: _ === ue,
|
|
@@ -16116,7 +16116,7 @@ ${u.join(`
|
|
|
16116
16116
|
] })),
|
|
16117
16117
|
o.type === "text" && o.options.map((Q, ue) => /* @__PURE__ */ l(le, { children: [
|
|
16118
16118
|
/* @__PURE__ */ e(
|
|
16119
|
-
|
|
16119
|
+
lr,
|
|
16120
16120
|
{
|
|
16121
16121
|
id: ue,
|
|
16122
16122
|
isSelected: _ === ue,
|
|
@@ -16130,7 +16130,7 @@ ${u.join(`
|
|
|
16130
16130
|
Q.hasSeparator && /* @__PURE__ */ e(Vo, { orientation: "horizontal" })
|
|
16131
16131
|
] })),
|
|
16132
16132
|
o.type === "graphicText" && o.options.map((Q, ue) => /* @__PURE__ */ e(
|
|
16133
|
-
|
|
16133
|
+
lr,
|
|
16134
16134
|
{
|
|
16135
16135
|
id: ue,
|
|
16136
16136
|
isSelected: r === ue,
|
|
@@ -16142,7 +16142,7 @@ ${u.join(`
|
|
|
16142
16142
|
ue
|
|
16143
16143
|
)),
|
|
16144
16144
|
o.type === "graphic" && o.options.map((Q, ue) => /* @__PURE__ */ e(
|
|
16145
|
-
|
|
16145
|
+
lr,
|
|
16146
16146
|
{
|
|
16147
16147
|
id: ue,
|
|
16148
16148
|
isSelected: r === ue,
|
|
@@ -16174,7 +16174,7 @@ ${u.join(`
|
|
|
16174
16174
|
alignItems: "center",
|
|
16175
16175
|
width: "100%",
|
|
16176
16176
|
inset: { bottom: "x2" },
|
|
16177
|
-
children: a ? /* @__PURE__ */ e(
|
|
16177
|
+
children: a ? /* @__PURE__ */ e(rr, { size: "xLarge" }) : r === "success" ? /* @__PURE__ */ e(Ao, { filled: !0, size: "xLarge" }) : /* @__PURE__ */ e(
|
|
16178
16178
|
B,
|
|
16179
16179
|
{
|
|
16180
16180
|
width: "84px",
|
|
@@ -19134,7 +19134,7 @@ ${u.join(`
|
|
|
19134
19134
|
)
|
|
19135
19135
|
}
|
|
19136
19136
|
);
|
|
19137
|
-
},
|
|
19137
|
+
}, cr = (o, t) => Math.abs(o - t), Jh = (o) => o.match(/^\d{4}-\d{2}-\d{2}$/) !== null, e6 = (o) => {
|
|
19138
19138
|
if (typeof o == "string") {
|
|
19139
19139
|
if (Jh(o))
|
|
19140
19140
|
return o;
|
|
@@ -19230,14 +19230,14 @@ ${u.join(`
|
|
|
19230
19230
|
/* @__PURE__ */ new Date(
|
|
19231
19231
|
`${e6(o)}${t ? `T${t.hour}:${t.minute}:${t.second}` : "T00:00:00"}`
|
|
19232
19232
|
)
|
|
19233
|
-
), d = () =>
|
|
19233
|
+
), d = () => cr(i.getFullYear(), c.getFullYear()), s = () => cr(i.getMonth(), c.getMonth()), u = () => {
|
|
19234
19234
|
const W = i.getDate(), U = c.getDate();
|
|
19235
|
-
return
|
|
19235
|
+
return cr(W, U);
|
|
19236
19236
|
}, p = () => i.getDate() - c.getDate(), v = () => {
|
|
19237
19237
|
var W;
|
|
19238
19238
|
return p() > 1 ? {
|
|
19239
19239
|
monthsRemaing: s() - 1,
|
|
19240
|
-
daysRemaining:
|
|
19240
|
+
daysRemaining: cr(
|
|
19241
19241
|
((W = r6(c.getMonth())) == null ? void 0 : W.dayCount) ?? 0,
|
|
19242
19242
|
i.getDate()
|
|
19243
19243
|
) + c.getDate(),
|
|
@@ -19755,7 +19755,7 @@ ${u.join(`
|
|
|
19755
19755
|
}
|
|
19756
19756
|
)
|
|
19757
19757
|
] });
|
|
19758
|
-
}, l6 = (o, t) =>
|
|
19758
|
+
}, l6 = (o, t) => or(o, t), E8 = ({ size: o }) => {
|
|
19759
19759
|
const t = (p, v, F, z) => {
|
|
19760
19760
|
switch (p) {
|
|
19761
19761
|
case "small":
|
|
@@ -20130,7 +20130,7 @@ ${u.join(`
|
|
|
20130
20130
|
T + 1
|
|
20131
20131
|
)),
|
|
20132
20132
|
/* @__PURE__ */ e(
|
|
20133
|
-
|
|
20133
|
+
dr,
|
|
20134
20134
|
{
|
|
20135
20135
|
onClick: i,
|
|
20136
20136
|
height: `${o}px`,
|
|
@@ -20538,7 +20538,7 @@ ${u.join(`
|
|
|
20538
20538
|
insetBody: r,
|
|
20539
20539
|
overflow: i
|
|
20540
20540
|
}) => {
|
|
20541
|
-
const n =
|
|
20541
|
+
const n = hr(zr);
|
|
20542
20542
|
return /* @__PURE__ */ e(e1, { children: n.activeIndexes.map((c) => c === o && /* @__PURE__ */ e(
|
|
20543
20543
|
u6,
|
|
20544
20544
|
{
|
|
@@ -20562,7 +20562,7 @@ ${u.join(`
|
|
|
20562
20562
|
onHeadingClick: r,
|
|
20563
20563
|
arrowLocation: i = "right"
|
|
20564
20564
|
}) => {
|
|
20565
|
-
const n =
|
|
20565
|
+
const n = hr(zr), c = n.activeIndexes.some((s) => s === t), d = (s) => {
|
|
20566
20566
|
if (n.isExclusive)
|
|
20567
20567
|
n.activeIndexes.some((u) => u === s) ? n.setActiveIndexes([-1]) : n.setActiveIndexes([s]);
|
|
20568
20568
|
else if (c) {
|
|
@@ -21080,7 +21080,7 @@ ${u.join(`
|
|
|
21080
21080
|
justifyContent: "center",
|
|
21081
21081
|
flexDirection: "column",
|
|
21082
21082
|
inset: "x2",
|
|
21083
|
-
children: s ? /* @__PURE__ */ l(
|
|
21083
|
+
children: s ? /* @__PURE__ */ l(dr, { flexDirection: "column", children: [
|
|
21084
21084
|
/* @__PURE__ */ e(
|
|
21085
21085
|
I,
|
|
21086
21086
|
{
|
|
@@ -21106,7 +21106,7 @@ ${u.join(`
|
|
|
21106
21106
|
},
|
|
21107
21107
|
ce
|
|
21108
21108
|
)) }, me))
|
|
21109
|
-
] }) : a.map((ee, me) => ee.isActive && /* @__PURE__ */ l(
|
|
21109
|
+
] }) : a.map((ee, me) => ee.isActive && /* @__PURE__ */ l(dr, { flexDirection: "column", children: [
|
|
21110
21110
|
/* @__PURE__ */ e(
|
|
21111
21111
|
I,
|
|
21112
21112
|
{
|
|
@@ -21849,7 +21849,7 @@ ${u.join(`
|
|
|
21849
21849
|
top: `-${s}`,
|
|
21850
21850
|
position: "absolute",
|
|
21851
21851
|
children: /* @__PURE__ */ e(
|
|
21852
|
-
|
|
21852
|
+
tr,
|
|
21853
21853
|
{
|
|
21854
21854
|
direction: "bottom",
|
|
21855
21855
|
title: u.title,
|
|
@@ -22203,7 +22203,7 @@ ${u.join(`
|
|
|
22203
22203
|
r ? i : d,
|
|
22204
22204
|
/* @__PURE__ */ e(pe, { space: "x1_5", orientation: "horizontal" }),
|
|
22205
22205
|
r ? /* @__PURE__ */ e(
|
|
22206
|
-
|
|
22206
|
+
rr,
|
|
22207
22207
|
{
|
|
22208
22208
|
size: s === "xSmall" || s === "small" ? "small" : "medium",
|
|
22209
22209
|
hasNoColor: !0
|
|
@@ -24011,7 +24011,7 @@ const Sr = {
|
|
|
24011
24011
|
{
|
|
24012
24012
|
hasMore: !!s,
|
|
24013
24013
|
dataLength: v ?? 0,
|
|
24014
|
-
loader: /* @__PURE__ */ e(B, { inset: "x8", children: /* @__PURE__ */ e(
|
|
24014
|
+
loader: /* @__PURE__ */ e(B, { inset: "x8", children: /* @__PURE__ */ e(rr, { size: "xLarge" }) }),
|
|
24015
24015
|
endMessage: /* @__PURE__ */ l(
|
|
24016
24016
|
$,
|
|
24017
24017
|
{
|
|
@@ -24855,7 +24855,7 @@ const Sr = {
|
|
|
24855
24855
|
height: n,
|
|
24856
24856
|
boxShadow: c = "mediumLight",
|
|
24857
24857
|
backgroundColor: d
|
|
24858
|
-
} = o, s = We(null), [u, p] = K(), [v, F] = K(!1), z =
|
|
24858
|
+
} = o, s = We(null), [u, p] = K(), [v, F] = K(!1), z = nr(), M = nr(), H = nr(), T = nr(), _ = async () => {
|
|
24859
24859
|
z.start({
|
|
24860
24860
|
zIndex: 1
|
|
24861
24861
|
}), await M.start({
|
|
@@ -24986,7 +24986,7 @@ const Sr = {
|
|
|
24986
24986
|
}
|
|
24987
24987
|
),
|
|
24988
24988
|
/* @__PURE__ */ l(se.div, { animate: M, className: "container loading", children: [
|
|
24989
|
-
/* @__PURE__ */ e(
|
|
24989
|
+
/* @__PURE__ */ e(rr, { hasNoColor: !0, size: "xSmall" }),
|
|
24990
24990
|
/* @__PURE__ */ e(
|
|
24991
24991
|
I,
|
|
24992
24992
|
{
|
|
@@ -25549,7 +25549,7 @@ const Sr = {
|
|
|
25549
25549
|
exit: { opacity: 0 },
|
|
25550
25550
|
transition: { delay: 0.3, duration: 0.3 },
|
|
25551
25551
|
children: /* @__PURE__ */ e(
|
|
25552
|
-
|
|
25552
|
+
tr,
|
|
25553
25553
|
{
|
|
25554
25554
|
title: R,
|
|
25555
25555
|
direction: "bottom",
|
|
@@ -26296,7 +26296,7 @@ const Sr = {
|
|
|
26296
26296
|
blueScale: u,
|
|
26297
26297
|
purpleScale: p
|
|
26298
26298
|
};
|
|
26299
|
-
};
|
|
26299
|
+
}, { colors: bg, spacing: Cg, borderRadius: xg, borders: wg, shadows: kg, textColors: Lg } = er.hocs;
|
|
26300
26300
|
export {
|
|
26301
26301
|
Hr as Accordion,
|
|
26302
26302
|
p6 as AccordionBody,
|
|
@@ -26369,7 +26369,7 @@ export {
|
|
|
26369
26369
|
co as List,
|
|
26370
26370
|
fo as ListItem,
|
|
26371
26371
|
Mr as Loader,
|
|
26372
|
-
|
|
26372
|
+
rr as LoadingSpinner,
|
|
26373
26373
|
Kh as Logo,
|
|
26374
26374
|
M8 as MasonryGrid,
|
|
26375
26375
|
pt as Menu,
|
|
@@ -26377,7 +26377,7 @@ export {
|
|
|
26377
26377
|
vr as MenuSection,
|
|
26378
26378
|
mh as Navigation,
|
|
26379
26379
|
h6 as NavigationPill,
|
|
26380
|
-
|
|
26380
|
+
lr as Option,
|
|
26381
26381
|
dg as OrderCard,
|
|
26382
26382
|
yr as Overlay,
|
|
26383
26383
|
mg as PaperTypeModal,
|
|
@@ -26429,7 +26429,7 @@ export {
|
|
|
26429
26429
|
sg as TitledList,
|
|
26430
26430
|
bh as Todo,
|
|
26431
26431
|
f8 as Toggle,
|
|
26432
|
-
|
|
26432
|
+
tr as Tooltip,
|
|
26433
26433
|
w8 as Transition,
|
|
26434
26434
|
cg as UploadButton,
|
|
26435
26435
|
o8 as UpsaleDialog,
|
|
@@ -26441,14 +26441,20 @@ export {
|
|
|
26441
26441
|
O8 as Zoom,
|
|
26442
26442
|
$l as bellaCadaeuxTheme,
|
|
26443
26443
|
W2 as blue42Theme,
|
|
26444
|
+
xg as borderRadius,
|
|
26445
|
+
wg as borders,
|
|
26446
|
+
bg as colors,
|
|
26444
26447
|
xo as getSize,
|
|
26445
26448
|
xs as greenerStillTheme,
|
|
26446
26449
|
Er as promptingUTheme,
|
|
26447
26450
|
v9 as promptingsTheme,
|
|
26448
26451
|
y4 as sendOutCardsTheme,
|
|
26449
26452
|
hn as sendogoTheme,
|
|
26453
|
+
kg as shadows,
|
|
26454
|
+
Cg as spacing,
|
|
26450
26455
|
ed as streamMarketingTheme,
|
|
26451
26456
|
c5 as streamVATheme,
|
|
26457
|
+
Lg as textColors,
|
|
26452
26458
|
fg as useColorSwatch,
|
|
26453
26459
|
B9 as useTheme
|
|
26454
26460
|
};
|