@sendoutcards/quantum-design-ui 2.0.0-alpha.5 → 2.0.0-alpha.6
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 +105 -73
- package/dist/index.mjs +65 -59
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -237,8 +237,6 @@ export declare type AwardGroupLabelProps = {
|
|
|
237
237
|
label: string;
|
|
238
238
|
};
|
|
239
239
|
|
|
240
|
-
declare type BackgroundColor = ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<HOCColorKeys>;
|
|
241
|
-
|
|
242
240
|
declare type BackgroundPosition = 'center' | 'left top' | 'left center' | 'left bottom' | 'right top' | 'right center' | 'right bottom' | 'center top' | 'center center' | 'center bottom';
|
|
243
241
|
|
|
244
242
|
declare type BackgroundRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'initial' | 'inherit';
|
|
@@ -249,7 +247,7 @@ 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 = {
|
|
@@ -292,6 +290,8 @@ declare type BaseBannerProps = {
|
|
|
292
290
|
|
|
293
291
|
export declare const bellaCadaeuxTheme: Entities;
|
|
294
292
|
|
|
293
|
+
export declare type BGColorUnion = ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<HOCColorKeys>;
|
|
294
|
+
|
|
295
295
|
export declare const BlockQuote: ({ author, background, textColor, type, content, contentTextType, borderRadius, boxShadow, children, }: BlockQuoteProps) => JSX_2.Element;
|
|
296
296
|
|
|
297
297
|
export declare type BlockQuoteProps = {
|
|
@@ -313,25 +313,14 @@ declare type BlueScaleColorSelection = {
|
|
|
313
313
|
shade: LiteralUnion<keyof RequiredColorSwatch>;
|
|
314
314
|
};
|
|
315
315
|
|
|
316
|
-
declare type BorderDirection<T> = {
|
|
316
|
+
export declare type BorderDirection<T> = {
|
|
317
317
|
left?: T;
|
|
318
318
|
right?: T;
|
|
319
319
|
bottom?: T;
|
|
320
320
|
top?: T;
|
|
321
321
|
};
|
|
322
322
|
|
|
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 = {
|
|
323
|
+
export declare type BorderRadius = {
|
|
335
324
|
left?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
336
325
|
right?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
337
326
|
top?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
@@ -342,24 +331,35 @@ declare type BorderRadius_2 = {
|
|
|
342
331
|
bottomLeft?: LiteralUnion<HOCBorderRadiusKeys, string> | Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
343
332
|
};
|
|
344
333
|
|
|
345
|
-
declare
|
|
334
|
+
export declare const borderRadius: {
|
|
335
|
+
none: string;
|
|
336
|
+
small: string;
|
|
337
|
+
medium: string;
|
|
338
|
+
default: string;
|
|
339
|
+
large: string;
|
|
340
|
+
circle: string;
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export declare type BorderRadiusDirection = BorderRadius & Responsive<LiteralUnion<HOCBorderRadiusKeys, string>>;
|
|
346
344
|
|
|
347
|
-
declare const borders: {
|
|
345
|
+
export declare const borders: {
|
|
348
346
|
thin: string;
|
|
349
347
|
default: string;
|
|
350
348
|
bold: string;
|
|
351
349
|
};
|
|
352
350
|
|
|
353
|
-
declare type BorderStyleDirection = BorderDirection<BorderStyles> | BorderDirection<Responsive<BorderStyles>>;
|
|
351
|
+
export declare type BorderStyleDirection = BorderDirection<BorderStyles> | BorderDirection<Responsive<BorderStyles>>;
|
|
354
352
|
|
|
355
353
|
declare type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
|
|
356
354
|
|
|
357
|
-
declare type BorderWidth = BorderDirection<HOCBorderWidthKeys> | BorderDirection<Responsive<HOCBorderWidthKeys>>;
|
|
355
|
+
export declare type BorderWidth = BorderDirection<HOCBorderWidthKeys> | BorderDirection<Responsive<HOCBorderWidthKeys>>;
|
|
358
356
|
|
|
359
|
-
declare type BorderWidthDirection = BorderWidth & Responsive<HOCBorderWidthKeys>;
|
|
357
|
+
export declare type BorderWidthDirection = BorderWidth & Responsive<HOCBorderWidthKeys>;
|
|
360
358
|
|
|
361
359
|
export declare type BrandTypes = 'soc' | 'greenerStill' | 'bellaCadeaux' | 'promptingU' | 'blue42' | 'streamVA' | 'streamMarketing' | 'soc' | 'promptingsAcademy' | 'promptings';
|
|
362
360
|
|
|
361
|
+
export declare type BRUnion = BorderRadiusDirection | LiteralUnion<HOCBorderRadiusKeys>;
|
|
362
|
+
|
|
363
363
|
export declare const BulkSend: FC<BulkSendProps>;
|
|
364
364
|
|
|
365
365
|
export declare type BulkSendProps = {
|
|
@@ -433,7 +433,7 @@ export declare const Capsule: FC<CapsuleProps>;
|
|
|
433
433
|
|
|
434
434
|
export declare type CapsuleProps = {
|
|
435
435
|
title: string;
|
|
436
|
-
backgroundColor?:
|
|
436
|
+
backgroundColor?: BGColorUnion;
|
|
437
437
|
fontColor?: TextColor;
|
|
438
438
|
boxShadow?: Shadows;
|
|
439
439
|
};
|
|
@@ -536,7 +536,7 @@ export declare type ColorOptionProps = {
|
|
|
536
536
|
onClick: () => void;
|
|
537
537
|
};
|
|
538
538
|
|
|
539
|
-
declare const colors: {
|
|
539
|
+
export declare const colors: {
|
|
540
540
|
swatches: {
|
|
541
541
|
primaryBrand: Required<ColorSwatch>;
|
|
542
542
|
secondaryBrand: Required<ColorSwatch>;
|
|
@@ -552,7 +552,7 @@ declare const colors: {
|
|
|
552
552
|
foreground: string;
|
|
553
553
|
};
|
|
554
554
|
|
|
555
|
-
declare type ColorSelection = PrimaryBrandColorSelection | SecondaryBrandColorSelection | SuccessColorSelection | WarningColorSelection | DangerColorSelection | AccentColorSelection | GrayScaleColorSelection | BlueScaleColorSelection | PurpleScaleColorSelection;
|
|
555
|
+
export declare type ColorSelection = PrimaryBrandColorSelection | SecondaryBrandColorSelection | SuccessColorSelection | WarningColorSelection | DangerColorSelection | AccentColorSelection | GrayScaleColorSelection | BlueScaleColorSelection | PurpleScaleColorSelection;
|
|
556
556
|
|
|
557
557
|
declare type ColorSwatch = {
|
|
558
558
|
base: string;
|
|
@@ -568,6 +568,8 @@ declare type ColorSwatch = {
|
|
|
568
568
|
_1000?: string;
|
|
569
569
|
};
|
|
570
570
|
|
|
571
|
+
export declare type ColorSwatchKeys = keyof ColorSwatch;
|
|
572
|
+
|
|
571
573
|
export declare const ColorThumbnail: FC<ColorThumbnailProps>;
|
|
572
574
|
|
|
573
575
|
export declare type ColorThumbnailProps = {
|
|
@@ -748,10 +750,10 @@ export declare type DialogProps = {
|
|
|
748
750
|
closeButtonId?: string;
|
|
749
751
|
insetOverride?: HOCSpacingKeys | string;
|
|
750
752
|
outsetOverride?: HOCSpacingKeys | string;
|
|
751
|
-
height?:
|
|
752
|
-
width?:
|
|
753
|
+
height?: HUnion;
|
|
754
|
+
width?: WUnion;
|
|
753
755
|
shouldScroll?: boolean;
|
|
754
|
-
borderRadius?:
|
|
756
|
+
borderRadius?: BRUnion;
|
|
755
757
|
pinned?: PinnedType;
|
|
756
758
|
backgroundVariant?: 'solid' | 'blur';
|
|
757
759
|
footer?: default_2.ReactNode;
|
|
@@ -1415,7 +1417,7 @@ export declare type FeatureAnnouncementProps = {
|
|
|
1415
1417
|
type?: ButtonType;
|
|
1416
1418
|
};
|
|
1417
1419
|
imageURL: string;
|
|
1418
|
-
backgroundColor?:
|
|
1420
|
+
backgroundColor?: BGColorUnion;
|
|
1419
1421
|
maxWidth?: string;
|
|
1420
1422
|
};
|
|
1421
1423
|
|
|
@@ -1506,20 +1508,18 @@ export declare type GridProps = {
|
|
|
1506
1508
|
children?: default_2.ReactNode;
|
|
1507
1509
|
};
|
|
1508
1510
|
|
|
1509
|
-
declare type Height = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1510
|
-
|
|
1511
1511
|
declare type HOCBaseProps = {
|
|
1512
1512
|
inset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
1513
1513
|
outset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
1514
|
-
borderRadius?:
|
|
1514
|
+
borderRadius?: BRUnion;
|
|
1515
1515
|
borderWidth?: BorderWidthDirection | HOCBorderWidthKeys;
|
|
1516
1516
|
borderStyle?: BorderStyleDirection | BorderStyles;
|
|
1517
1517
|
borderColor?: ColorSelection | LiteralUnion<HOCColorKeys>;
|
|
1518
|
-
backgroundColor?:
|
|
1518
|
+
backgroundColor?: BGColorUnion;
|
|
1519
1519
|
color?: LiteralUnion<TextColor>;
|
|
1520
1520
|
boxShadow?: Shadows;
|
|
1521
|
-
height?:
|
|
1522
|
-
width?:
|
|
1521
|
+
height?: HUnion;
|
|
1522
|
+
width?: WUnion;
|
|
1523
1523
|
maxHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1524
1524
|
maxWidth?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1525
1525
|
minHeight?: Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
@@ -1558,19 +1558,19 @@ declare type HOCBaseProps = {
|
|
|
1558
1558
|
onMouseEvent?: OnMouseEvent;
|
|
1559
1559
|
};
|
|
1560
1560
|
|
|
1561
|
-
declare type HOCBorderRadius = typeof borderRadius;
|
|
1561
|
+
export declare type HOCBorderRadius = typeof borderRadius;
|
|
1562
1562
|
|
|
1563
|
-
declare type HOCBorderRadiusKeys = keyof HOCBorderRadius;
|
|
1563
|
+
export declare type HOCBorderRadiusKeys = keyof HOCBorderRadius;
|
|
1564
1564
|
|
|
1565
|
-
declare type HOCBorderWidth = typeof borders;
|
|
1565
|
+
export declare type HOCBorderWidth = typeof borders;
|
|
1566
1566
|
|
|
1567
|
-
declare type HOCBorderWidthKeys = keyof HOCBorderWidth;
|
|
1567
|
+
export declare type HOCBorderWidthKeys = keyof HOCBorderWidth;
|
|
1568
1568
|
|
|
1569
|
-
declare type HOCColorKeys = Exclude<HOCColorKeysWithSwatch, 'swatches'>;
|
|
1569
|
+
export declare type HOCColorKeys = Exclude<HOCColorKeysWithSwatch, 'swatches'>;
|
|
1570
1570
|
|
|
1571
|
-
declare type HOCColorKeysWithSwatch = keyof HOCColors;
|
|
1571
|
+
export declare type HOCColorKeysWithSwatch = keyof HOCColors;
|
|
1572
1572
|
|
|
1573
|
-
declare type HOCColors = typeof colors;
|
|
1573
|
+
export declare type HOCColors = typeof colors;
|
|
1574
1574
|
|
|
1575
1575
|
declare type HOCMotionProps = {
|
|
1576
1576
|
className?: string;
|
|
@@ -1578,17 +1578,23 @@ declare type HOCMotionProps = {
|
|
|
1578
1578
|
id?: string;
|
|
1579
1579
|
} & MotionProps;
|
|
1580
1580
|
|
|
1581
|
-
declare type
|
|
1581
|
+
export declare type HOCPrimitive = string | number;
|
|
1582
1582
|
|
|
1583
|
-
declare type
|
|
1583
|
+
export declare type HOCShadowKeys = keyof HOCShadows;
|
|
1584
1584
|
|
|
1585
|
-
declare type
|
|
1585
|
+
export declare type HOCShadows = typeof shadows;
|
|
1586
1586
|
|
|
1587
|
-
declare type
|
|
1587
|
+
export declare type HOCSpacing = typeof spacing;
|
|
1588
1588
|
|
|
1589
|
-
declare type
|
|
1589
|
+
export declare type HOCSpacingKeys = keyof HOCSpacing;
|
|
1590
1590
|
|
|
1591
|
-
declare type
|
|
1591
|
+
export declare type HOCSwatchColorKeys = keyof HOCSwatchColors;
|
|
1592
|
+
|
|
1593
|
+
export declare type HOCSwatchColors = typeof colors.swatches;
|
|
1594
|
+
|
|
1595
|
+
export declare type HOCTextColors = typeof textColors;
|
|
1596
|
+
|
|
1597
|
+
export declare type HOCValues = Spacing | HOCSpacingKeys | BorderRadius | HOCBorderRadiusKeys | BorderWidth | HOCBorderWidthKeys | ColorSelection | Shadows | ColorSwatch;
|
|
1592
1598
|
|
|
1593
1599
|
declare type HorizontalZone = {
|
|
1594
1600
|
component: default_2.ReactNode;
|
|
@@ -1608,6 +1614,8 @@ export declare type HStackProps = {
|
|
|
1608
1614
|
children?: default_2.ReactNode;
|
|
1609
1615
|
};
|
|
1610
1616
|
|
|
1617
|
+
export declare type HUnion = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
1618
|
+
|
|
1611
1619
|
export declare const Icon: FC<IconProps>;
|
|
1612
1620
|
|
|
1613
1621
|
export declare type IconColors = keyof typeof entities.icons.colors;
|
|
@@ -1756,7 +1764,7 @@ export declare type ImageUploaderProps = {
|
|
|
1756
1764
|
maxFileSize?: number;
|
|
1757
1765
|
maxAcceptedFiles?: number;
|
|
1758
1766
|
uploadTitle?: string;
|
|
1759
|
-
backgroundColor?:
|
|
1767
|
+
backgroundColor?: BGColorUnion;
|
|
1760
1768
|
};
|
|
1761
1769
|
|
|
1762
1770
|
export declare const ImageUploadWidget: FC<ImageUploadWidgetProps>;
|
|
@@ -1946,7 +1954,7 @@ export declare type ListProps = {
|
|
|
1946
1954
|
|
|
1947
1955
|
export declare type ListStyleType = 'disc' | 'none' | 'circle';
|
|
1948
1956
|
|
|
1949
|
-
declare type LiteralUnion<T extends U, U = string> = T | (U & {
|
|
1957
|
+
export declare type LiteralUnion<T extends U, U = string> = T | (U & {
|
|
1950
1958
|
_?: never;
|
|
1951
1959
|
});
|
|
1952
1960
|
|
|
@@ -2273,7 +2281,7 @@ export declare type PromotionWidgetProps = {
|
|
|
2273
2281
|
title: string;
|
|
2274
2282
|
description: string;
|
|
2275
2283
|
capsuleTitle: string;
|
|
2276
|
-
backgroundColor?:
|
|
2284
|
+
backgroundColor?: BGColorUnion;
|
|
2277
2285
|
primaryAction?: {
|
|
2278
2286
|
onClick: () => void;
|
|
2279
2287
|
title: string;
|
|
@@ -2436,7 +2444,7 @@ export declare type ReleaseNoteProps = {
|
|
|
2436
2444
|
|
|
2437
2445
|
declare type RequiredColorSwatch = Required<ColorSwatch>;
|
|
2438
2446
|
|
|
2439
|
-
declare type Responsive<T> = {
|
|
2447
|
+
export declare type Responsive<T> = {
|
|
2440
2448
|
xSmall?: T;
|
|
2441
2449
|
small?: T;
|
|
2442
2450
|
medium?: T;
|
|
@@ -2583,9 +2591,9 @@ export declare type SettingInputProps = {
|
|
|
2583
2591
|
onMouseEvent?: () => void;
|
|
2584
2592
|
};
|
|
2585
2593
|
|
|
2586
|
-
declare type Shadows = LiteralUnion<HOCShadowKeys, string> | Responsive<LiteralUnion<HOCShadowKeys, string>>;
|
|
2594
|
+
export declare type Shadows = LiteralUnion<HOCShadowKeys, string> | Responsive<LiteralUnion<HOCShadowKeys, string>>;
|
|
2587
2595
|
|
|
2588
|
-
declare const shadows: {
|
|
2596
|
+
export declare const shadows: {
|
|
2589
2597
|
light: string;
|
|
2590
2598
|
mediumLight: string;
|
|
2591
2599
|
mediumDark: string;
|
|
@@ -2602,7 +2610,7 @@ export declare type SheetProps = {
|
|
|
2602
2610
|
backgroundColor?: string;
|
|
2603
2611
|
layer?: number;
|
|
2604
2612
|
backgroundElement?: default_2.ReactNode;
|
|
2605
|
-
backgroundElementBackgroundColor?:
|
|
2613
|
+
backgroundElementBackgroundColor?: BGColorUnion;
|
|
2606
2614
|
snapPointPercentages?: number[];
|
|
2607
2615
|
initialSnapPoint?: number | string;
|
|
2608
2616
|
outsideClickBypassId?: string;
|
|
@@ -2677,7 +2685,7 @@ export declare type SpacerProps = {
|
|
|
2677
2685
|
orientation?: SpaceOrientation;
|
|
2678
2686
|
};
|
|
2679
2687
|
|
|
2680
|
-
declare type Spacing = {
|
|
2688
|
+
export declare type Spacing = {
|
|
2681
2689
|
left?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
2682
2690
|
right?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
2683
2691
|
top?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
@@ -2686,7 +2694,7 @@ declare type Spacing = {
|
|
|
2686
2694
|
horizontal?: LiteralUnion<HOCSpacingKeys> | Responsive<LiteralUnion<HOCSpacingKeys, string>>;
|
|
2687
2695
|
};
|
|
2688
2696
|
|
|
2689
|
-
declare const spacing: {
|
|
2697
|
+
export declare const spacing: {
|
|
2690
2698
|
x0: string;
|
|
2691
2699
|
x_25: string;
|
|
2692
2700
|
x_5: string;
|
|
@@ -2704,7 +2712,7 @@ declare const spacing: {
|
|
|
2704
2712
|
x9: string;
|
|
2705
2713
|
};
|
|
2706
2714
|
|
|
2707
|
-
declare type SpacingDirection = Spacing & Responsive<HOCSpacingKeys>;
|
|
2715
|
+
export declare type SpacingDirection = Spacing & Responsive<HOCSpacingKeys>;
|
|
2708
2716
|
|
|
2709
2717
|
export declare const Span: default_2.MemoExoticComponent<(props: SpanProps) => JSX_2.Element>;
|
|
2710
2718
|
|
|
@@ -2722,7 +2730,7 @@ declare type SphereProperties = {
|
|
|
2722
2730
|
};
|
|
2723
2731
|
|
|
2724
2732
|
export declare type SphereProps = {
|
|
2725
|
-
backgroundColor:
|
|
2733
|
+
backgroundColor: BGColorUnion;
|
|
2726
2734
|
step: {
|
|
2727
2735
|
content: Char | number;
|
|
2728
2736
|
color?: TextColor;
|
|
@@ -2737,8 +2745,8 @@ export declare type StackedCardsProps = {
|
|
|
2737
2745
|
height: number;
|
|
2738
2746
|
stackCount?: number;
|
|
2739
2747
|
backgroundImage?: string;
|
|
2740
|
-
stackBackgroundColor?:
|
|
2741
|
-
borderRadius?:
|
|
2748
|
+
stackBackgroundColor?: BGColorUnion;
|
|
2749
|
+
borderRadius?: BRUnion;
|
|
2742
2750
|
children?: default_2.ReactNode;
|
|
2743
2751
|
};
|
|
2744
2752
|
|
|
@@ -2797,7 +2805,7 @@ export declare const streamVATheme: Entities;
|
|
|
2797
2805
|
|
|
2798
2806
|
declare type StrokeWidth = keyof typeof entities.animatedCheckmark.strokeWidth;
|
|
2799
2807
|
|
|
2800
|
-
declare type SubmitOptionType = {
|
|
2808
|
+
export declare type SubmitOptionType = {
|
|
2801
2809
|
title: string;
|
|
2802
2810
|
type?: ButtonType;
|
|
2803
2811
|
onClick: (optionId?: string) => void;
|
|
@@ -2901,6 +2909,20 @@ export { Text_2 as Text }
|
|
|
2901
2909
|
|
|
2902
2910
|
export declare type TextColor = keyof typeof entities.text.colors;
|
|
2903
2911
|
|
|
2912
|
+
export declare const textColors: {
|
|
2913
|
+
primaryBrand: string;
|
|
2914
|
+
secondaryBrand: string;
|
|
2915
|
+
primaryHeading: string | undefined;
|
|
2916
|
+
primaryBody: string;
|
|
2917
|
+
inverseHeading: string;
|
|
2918
|
+
inverseBody: string;
|
|
2919
|
+
accent: string;
|
|
2920
|
+
success: string;
|
|
2921
|
+
warning: string;
|
|
2922
|
+
danger: string;
|
|
2923
|
+
anchorBlue: string;
|
|
2924
|
+
};
|
|
2925
|
+
|
|
2904
2926
|
export declare type TextLabelProps = {
|
|
2905
2927
|
type: 'text';
|
|
2906
2928
|
label: string;
|
|
@@ -4004,9 +4026,9 @@ export declare const UploadButton: default_2.ForwardRefExoticComponent<UploadBut
|
|
|
4004
4026
|
export declare type UploadButtonProps = {
|
|
4005
4027
|
onUpload: (upload: File | null) => void;
|
|
4006
4028
|
title: string;
|
|
4007
|
-
backgroundColor?:
|
|
4008
|
-
width?:
|
|
4009
|
-
height?:
|
|
4029
|
+
backgroundColor?: BGColorUnion;
|
|
4030
|
+
width?: WUnion;
|
|
4031
|
+
height?: HUnion;
|
|
4010
4032
|
boxShadow?: Shadows;
|
|
4011
4033
|
};
|
|
4012
4034
|
|
|
@@ -4043,7 +4065,17 @@ export declare type UpsaleDialogProps = {
|
|
|
4043
4065
|
checkoutOnly?: boolean;
|
|
4044
4066
|
} & UpsaleOptionsType;
|
|
4045
4067
|
|
|
4046
|
-
declare
|
|
4068
|
+
export declare const UpsaleOptions: FC<UpsaleOptionsProps>;
|
|
4069
|
+
|
|
4070
|
+
declare type UpsaleOptionsProps = {
|
|
4071
|
+
showCheckoutView: boolean;
|
|
4072
|
+
extraLink?: AnchorProps;
|
|
4073
|
+
defaultNumOptionsShown?: number;
|
|
4074
|
+
handleShouldShowCheckoutView: (value: boolean) => void;
|
|
4075
|
+
submitAction?: SubmitOptionType;
|
|
4076
|
+
} & UpsaleOptionsType;
|
|
4077
|
+
|
|
4078
|
+
export declare type UpsaleOptionsType = {
|
|
4047
4079
|
selectableOptions: UpsaleOptionType[];
|
|
4048
4080
|
selectedOption: string;
|
|
4049
4081
|
handleSelectedOption: (optionId: string) => void;
|
|
@@ -4052,7 +4084,7 @@ declare type UpsaleOptionsType = {
|
|
|
4052
4084
|
activeSelectedOption?: UpsaleOptionType;
|
|
4053
4085
|
};
|
|
4054
4086
|
|
|
4055
|
-
declare type UpsaleOptionType = {
|
|
4087
|
+
export declare type UpsaleOptionType = {
|
|
4056
4088
|
title: string;
|
|
4057
4089
|
secondaryTitle?: string;
|
|
4058
4090
|
subtitle?: string;
|
|
@@ -4659,7 +4691,7 @@ export declare type VideoPlayerProps = {
|
|
|
4659
4691
|
width: string;
|
|
4660
4692
|
height?: string;
|
|
4661
4693
|
maxHeight?: string;
|
|
4662
|
-
borderRadius?:
|
|
4694
|
+
borderRadius?: BorderRadius | LiteralUnion<HOCBorderRadiusKeys>;
|
|
4663
4695
|
minWidth?: string;
|
|
4664
4696
|
shouldAutoplay?: boolean;
|
|
4665
4697
|
};
|
|
@@ -4673,8 +4705,8 @@ export declare type VStackProps = {
|
|
|
4673
4705
|
alignItems?: Responsive<CSSGridBaseValues> | CSSGridBaseValues;
|
|
4674
4706
|
inset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
4675
4707
|
outset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
4676
|
-
width?:
|
|
4677
|
-
height?:
|
|
4708
|
+
width?: WUnion;
|
|
4709
|
+
height?: HUnion;
|
|
4678
4710
|
overflow?: Overflow;
|
|
4679
4711
|
children?: default_2.ReactNode;
|
|
4680
4712
|
};
|
|
@@ -4695,7 +4727,7 @@ declare type WidgetProperties = {
|
|
|
4695
4727
|
fontColor: TextColor;
|
|
4696
4728
|
};
|
|
4697
4729
|
|
|
4698
|
-
declare type
|
|
4730
|
+
export declare type WUnion = Responsive<LiteralUnion<HOCSpacingKeys>> | LiteralUnion<HOCSpacingKeys>;
|
|
4699
4731
|
|
|
4700
4732
|
export declare type ZoneType = {
|
|
4701
4733
|
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
|
};
|