@sendoutcards/quantum-design-ui 2.0.0-alpha.6 → 2.0.0-canary.1
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/README.md +136 -83
- package/dist/index.css +1 -1
- package/dist/index.d.ts +142 -122
- package/dist/{index.mjs → index.js} +2768 -2692
- package/package.json +75 -51
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
8
8
|
import { MotionProps } from 'framer-motion';
|
|
9
9
|
import { MotionValue } from 'framer-motion';
|
|
10
10
|
import { Provider } from 'react';
|
|
11
|
+
import { ReactNode } from 'react';
|
|
11
12
|
import { RgbColor } from 'react-colorful';
|
|
12
13
|
import { Target as Target_2 } from 'framer-motion';
|
|
13
14
|
import { TargetAndTransition } from 'framer-motion';
|
|
@@ -36,6 +37,7 @@ export declare type AccordionBodyProps = {
|
|
|
36
37
|
onAnimationComplete?: () => void;
|
|
37
38
|
overflow?: Overflow;
|
|
38
39
|
insetBody?: HOCSpacingKeys;
|
|
40
|
+
children?: default_2.ReactNode;
|
|
39
41
|
};
|
|
40
42
|
|
|
41
43
|
export declare const AccordionHeading: ({ children, eventKey, headingSize, onHeadingClick, arrowLocation, }: AccordionHeadingProps) => JSX_2.Element;
|
|
@@ -121,9 +123,9 @@ export declare type AffiliateShareWidgetProps = {
|
|
|
121
123
|
shareLink: string;
|
|
122
124
|
};
|
|
123
125
|
|
|
124
|
-
declare type AlignContent = 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe' | 'unsafe' | CSSGridBaseValues | FlexBaseValues;
|
|
126
|
+
export declare type AlignContent = 'space-evenly' | 'stretch' | 'start' | 'end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe' | 'unsafe' | CSSGridBaseValues | FlexBaseValues;
|
|
125
127
|
|
|
126
|
-
declare type AlignItems = AlignContent | 'self-start' | 'self-end' | CSSGridBaseValues;
|
|
128
|
+
export declare type AlignItems = AlignContent | 'self-start' | 'self-end' | CSSGridBaseValues;
|
|
127
129
|
|
|
128
130
|
export declare type AlignmentOptions = 'left' | 'center' | 'right';
|
|
129
131
|
|
|
@@ -237,11 +239,11 @@ export declare type AwardGroupLabelProps = {
|
|
|
237
239
|
label: string;
|
|
238
240
|
};
|
|
239
241
|
|
|
240
|
-
declare type BackgroundPosition = 'center' | 'left top' | 'left center' | 'left bottom' | 'right top' | 'right center' | 'right bottom' | 'center top' | 'center center' | 'center bottom';
|
|
242
|
+
export declare type BackgroundPosition = 'center' | 'left top' | 'left center' | 'left bottom' | 'right top' | 'right center' | 'right bottom' | 'center top' | 'center center' | 'center bottom';
|
|
241
243
|
|
|
242
|
-
declare type BackgroundRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'initial' | 'inherit';
|
|
244
|
+
export declare type BackgroundRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | 'initial' | 'inherit';
|
|
243
245
|
|
|
244
|
-
declare type BackgroundSize = 'auto' | 'length' | 'cover' | 'contain' | 'initial' | 'inherit';
|
|
246
|
+
export declare type BackgroundSize = 'auto' | 'length' | 'cover' | 'contain' | 'initial' | 'inherit';
|
|
245
247
|
|
|
246
248
|
export declare const Badge: FC<BadgeProps>;
|
|
247
249
|
|
|
@@ -288,6 +290,8 @@ declare type BaseBannerProps = {
|
|
|
288
290
|
onClose?: () => void;
|
|
289
291
|
};
|
|
290
292
|
|
|
293
|
+
export declare type BaseColorType = keyof typeof entities.hocs.colors.swatches;
|
|
294
|
+
|
|
291
295
|
export declare const bellaCadaeuxTheme: Entities;
|
|
292
296
|
|
|
293
297
|
export declare type BGColorUnion = ColorSelection | LiteralUnion<HOCColorKeys> | Responsive<HOCColorKeys>;
|
|
@@ -350,7 +354,7 @@ export declare const borders: {
|
|
|
350
354
|
|
|
351
355
|
export declare type BorderStyleDirection = BorderDirection<BorderStyles> | BorderDirection<Responsive<BorderStyles>>;
|
|
352
356
|
|
|
353
|
-
declare type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
|
|
357
|
+
export declare type BorderStyles = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | 'initial' | 'inherit';
|
|
354
358
|
|
|
355
359
|
export declare type BorderWidth = BorderDirection<HOCBorderWidthKeys> | BorderDirection<Responsive<HOCBorderWidthKeys>>;
|
|
356
360
|
|
|
@@ -469,7 +473,7 @@ export declare type CardQuantitySliderProps = {
|
|
|
469
473
|
secondaryAction?: default_2.ReactNode;
|
|
470
474
|
} & QuantitySliderProps;
|
|
471
475
|
|
|
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';
|
|
476
|
+
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
477
|
|
|
474
478
|
export declare const Checkbox: FC<CheckboxProps>;
|
|
475
479
|
|
|
@@ -526,7 +530,7 @@ export declare type CloseButtonProps = {
|
|
|
526
530
|
id?: string;
|
|
527
531
|
};
|
|
528
532
|
|
|
529
|
-
declare type ColorModeType = 'light' | 'dark';
|
|
533
|
+
export declare type ColorModeType = 'light' | 'dark';
|
|
530
534
|
|
|
531
535
|
export declare const ColorOption: FC<ColorOptionProps>;
|
|
532
536
|
|
|
@@ -554,6 +558,11 @@ export declare const colors: {
|
|
|
554
558
|
|
|
555
559
|
export declare type ColorSelection = PrimaryBrandColorSelection | SecondaryBrandColorSelection | SuccessColorSelection | WarningColorSelection | DangerColorSelection | AccentColorSelection | GrayScaleColorSelection | BlueScaleColorSelection | PurpleScaleColorSelection;
|
|
556
560
|
|
|
561
|
+
export declare type ColorStop = {
|
|
562
|
+
color: HOCSwatchColorKeys;
|
|
563
|
+
percentage: number;
|
|
564
|
+
};
|
|
565
|
+
|
|
557
566
|
declare type ColorSwatch = {
|
|
558
567
|
base: string;
|
|
559
568
|
_100?: string;
|
|
@@ -715,15 +724,17 @@ export declare type CountdownTimerProps = {
|
|
|
715
724
|
timeReachedMessage?: string;
|
|
716
725
|
};
|
|
717
726
|
|
|
718
|
-
declare type Country = {
|
|
727
|
+
export declare type Country = {
|
|
719
728
|
isoCode: string;
|
|
720
729
|
callingCode: number;
|
|
721
730
|
hasSeparator?: boolean;
|
|
722
731
|
};
|
|
723
732
|
|
|
724
|
-
declare type CSSGridBaseValues = 'start' | 'end' | 'space-evenly' | 'center';
|
|
733
|
+
export declare type CSSGridBaseValues = 'start' | 'end' | 'space-evenly' | 'center';
|
|
734
|
+
|
|
735
|
+
export declare type CSSValues = BorderStyles | Cursor | Display | JustifyContent | AlignContent | AlignItems | JustifyItems | FlexDirection | BackgroundSize | BackgroundPosition | BackgroundRepeat | Overflow | Position;
|
|
725
736
|
|
|
726
|
-
declare type Cursor = 'pointer' | 'auto' | 'text' | 'zoom-out' | 'zoom-in' | 'initial' | 'inherit' | 'move' | 'row-resize' | 'col-resize' | 'nesw-resize' | 'nwse-resize' | 'not-allowed';
|
|
737
|
+
export declare type Cursor = 'pointer' | 'auto' | 'text' | 'zoom-out' | 'zoom-in' | 'initial' | 'inherit' | 'move' | 'row-resize' | 'col-resize' | 'nesw-resize' | 'nwse-resize' | 'not-allowed';
|
|
727
738
|
|
|
728
739
|
declare type DangerColorSelection = {
|
|
729
740
|
swatch: 'danger';
|
|
@@ -769,7 +780,7 @@ declare type Disclaimer = {
|
|
|
769
780
|
termsDescription: string;
|
|
770
781
|
};
|
|
771
782
|
|
|
772
|
-
declare type Display = 'relative' | 'absolute' | 'inline' | 'inline-block' | 'flex' | 'grid' | 'none' | 'contents' | 'inline-flex';
|
|
783
|
+
export declare type Display = 'relative' | 'absolute' | 'inline' | 'inline-block' | 'flex' | 'grid' | 'none' | 'contents' | 'inline-flex';
|
|
773
784
|
|
|
774
785
|
export declare const DisplayCard: ({ title, description, children, }: DisplayCardProps) => JSX_2.Element;
|
|
775
786
|
|
|
@@ -1190,26 +1201,26 @@ declare const entities: {
|
|
|
1190
1201
|
};
|
|
1191
1202
|
};
|
|
1192
1203
|
icons: {
|
|
1193
|
-
sizes: {
|
|
1194
|
-
xSmall: number;
|
|
1195
|
-
small: number;
|
|
1196
|
-
medium: number;
|
|
1197
|
-
large: number;
|
|
1198
|
-
xLarge: number;
|
|
1204
|
+
readonly sizes: {
|
|
1205
|
+
readonly xSmall: number;
|
|
1206
|
+
readonly small: number;
|
|
1207
|
+
readonly medium: number;
|
|
1208
|
+
readonly large: number;
|
|
1209
|
+
readonly xLarge: number;
|
|
1199
1210
|
};
|
|
1200
|
-
colors: {
|
|
1201
|
-
default: string | undefined;
|
|
1202
|
-
primaryBodyText: string;
|
|
1203
|
-
primaryHeadingText: string | undefined;
|
|
1204
|
-
inverseBodyText: string;
|
|
1205
|
-
inverseHeadingText: string;
|
|
1206
|
-
primaryBrand: string;
|
|
1207
|
-
secondaryBrand: string;
|
|
1208
|
-
warning: string;
|
|
1209
|
-
danger: string;
|
|
1210
|
-
success: string;
|
|
1211
|
-
background: string;
|
|
1212
|
-
accent: string;
|
|
1211
|
+
readonly colors: {
|
|
1212
|
+
readonly default: string | undefined;
|
|
1213
|
+
readonly primaryBodyText: string;
|
|
1214
|
+
readonly primaryHeadingText: string | undefined;
|
|
1215
|
+
readonly inverseBodyText: string;
|
|
1216
|
+
readonly inverseHeadingText: string;
|
|
1217
|
+
readonly primaryBrand: string;
|
|
1218
|
+
readonly secondaryBrand: string;
|
|
1219
|
+
readonly warning: string;
|
|
1220
|
+
readonly danger: string;
|
|
1221
|
+
readonly success: string;
|
|
1222
|
+
readonly background: string;
|
|
1223
|
+
readonly accent: string;
|
|
1213
1224
|
};
|
|
1214
1225
|
};
|
|
1215
1226
|
card: {
|
|
@@ -1458,14 +1469,14 @@ export declare const Flex: default_2.MemoExoticComponent<(props: FlexProps) => J
|
|
|
1458
1469
|
|
|
1459
1470
|
declare type FlexBaseValues = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'initial' | 'inherit';
|
|
1460
1471
|
|
|
1461
|
-
declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
1472
|
+
export declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
1462
1473
|
|
|
1463
1474
|
export declare type FlexProps = {
|
|
1464
1475
|
children?: default_2.ReactNode;
|
|
1465
1476
|
outsideClick?: () => void;
|
|
1466
1477
|
} & HOCBaseProps & HOCMotionProps;
|
|
1467
1478
|
|
|
1468
|
-
declare type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
1479
|
+
export declare type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
1469
1480
|
|
|
1470
1481
|
declare type FramerAnimation = AnimationControls | TargetAndTransition | VariantLabels | boolean;
|
|
1471
1482
|
|
|
@@ -1656,26 +1667,26 @@ export declare type IconProps = {
|
|
|
1656
1667
|
} & Omit<SVGProps, 'entity'>;
|
|
1657
1668
|
|
|
1658
1669
|
declare const icons: {
|
|
1659
|
-
sizes: {
|
|
1660
|
-
xSmall: number;
|
|
1661
|
-
small: number;
|
|
1662
|
-
medium: number;
|
|
1663
|
-
large: number;
|
|
1664
|
-
xLarge: number;
|
|
1670
|
+
readonly sizes: {
|
|
1671
|
+
readonly xSmall: number;
|
|
1672
|
+
readonly small: number;
|
|
1673
|
+
readonly medium: number;
|
|
1674
|
+
readonly large: number;
|
|
1675
|
+
readonly xLarge: number;
|
|
1665
1676
|
};
|
|
1666
|
-
colors: {
|
|
1667
|
-
default: string | undefined;
|
|
1668
|
-
primaryBodyText: string;
|
|
1669
|
-
primaryHeadingText: string | undefined;
|
|
1670
|
-
inverseBodyText: string;
|
|
1671
|
-
inverseHeadingText: string;
|
|
1672
|
-
primaryBrand: string;
|
|
1673
|
-
secondaryBrand: string;
|
|
1674
|
-
warning: string;
|
|
1675
|
-
danger: string;
|
|
1676
|
-
success: string;
|
|
1677
|
-
background: string;
|
|
1678
|
-
accent: string;
|
|
1677
|
+
readonly colors: {
|
|
1678
|
+
readonly default: string | undefined;
|
|
1679
|
+
readonly primaryBodyText: string;
|
|
1680
|
+
readonly primaryHeadingText: string | undefined;
|
|
1681
|
+
readonly inverseBodyText: string;
|
|
1682
|
+
readonly inverseHeadingText: string;
|
|
1683
|
+
readonly primaryBrand: string;
|
|
1684
|
+
readonly secondaryBrand: string;
|
|
1685
|
+
readonly warning: string;
|
|
1686
|
+
readonly danger: string;
|
|
1687
|
+
readonly success: string;
|
|
1688
|
+
readonly background: string;
|
|
1689
|
+
readonly accent: string;
|
|
1679
1690
|
};
|
|
1680
1691
|
};
|
|
1681
1692
|
|
|
@@ -1838,6 +1849,8 @@ export declare type InfoBlockProps = {
|
|
|
1838
1849
|
|
|
1839
1850
|
export declare type InfoBlockSizeType = 'large' | 'medium' | 'small';
|
|
1840
1851
|
|
|
1852
|
+
export declare type Initials = 'inherit' | 'initial';
|
|
1853
|
+
|
|
1841
1854
|
export declare const Input: FC<InputProps>;
|
|
1842
1855
|
|
|
1843
1856
|
export declare type InputFocusType = IconColors;
|
|
@@ -1894,9 +1907,9 @@ export declare type Item = {
|
|
|
1894
1907
|
isActive: boolean;
|
|
1895
1908
|
};
|
|
1896
1909
|
|
|
1897
|
-
declare type JustifyContent = FlexBaseValues | CSSGridBaseValues;
|
|
1910
|
+
export declare type JustifyContent = FlexBaseValues | CSSGridBaseValues;
|
|
1898
1911
|
|
|
1899
|
-
declare type JustifyItems = 'start' | 'end' | 'center' | 'stretch';
|
|
1912
|
+
export declare type JustifyItems = 'start' | 'end' | 'center' | 'stretch';
|
|
1900
1913
|
|
|
1901
1914
|
export declare type Link = {
|
|
1902
1915
|
title: default_2.ReactNode;
|
|
@@ -2067,7 +2080,7 @@ export declare type NoteSection = {
|
|
|
2067
2080
|
notes: string[];
|
|
2068
2081
|
};
|
|
2069
2082
|
|
|
2070
|
-
declare type OnMouseEvent = (event: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
2083
|
+
export declare type OnMouseEvent = (event: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
2071
2084
|
|
|
2072
2085
|
declare const Option_2: default_2.ForwardRefExoticComponent<OptionProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
2073
2086
|
export { Option_2 as Option }
|
|
@@ -2159,7 +2172,7 @@ export declare type OrderCardProps = {
|
|
|
2159
2172
|
declare type orientation_2 = 'up' | 'down' | 'left' | 'right';
|
|
2160
2173
|
export { orientation_2 as orientation }
|
|
2161
2174
|
|
|
2162
|
-
declare type Overflow = 'visible' | 'auto' | 'scroll' | 'hidden';
|
|
2175
|
+
export declare type Overflow = 'visible' | 'auto' | 'scroll' | 'hidden';
|
|
2163
2176
|
|
|
2164
2177
|
export declare const Overlay: ({ children, zIndex, animate, initial, exit, variants, transition, motionKey, position, backgroundVariant, pinned, shouldScroll, ...rest }: OverlayPropTypes) => JSX_2.Element;
|
|
2165
2178
|
|
|
@@ -2236,7 +2249,7 @@ export declare type PinInputProps = {
|
|
|
2236
2249
|
|
|
2237
2250
|
export declare type PinnedType = 'top' | 'center' | 'bottom';
|
|
2238
2251
|
|
|
2239
|
-
declare type Position = 'absolute' | 'fixed' | 'sticky' | 'relative' | 'static';
|
|
2252
|
+
export declare type Position = 'absolute' | 'fixed' | 'sticky' | 'relative' | 'static';
|
|
2240
2253
|
|
|
2241
2254
|
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;
|
|
2242
2255
|
|
|
@@ -2294,6 +2307,7 @@ export declare type PromotionWidgetProps = {
|
|
|
2294
2307
|
width?: string;
|
|
2295
2308
|
type: ThemeMode;
|
|
2296
2309
|
buttonSize?: SizeType;
|
|
2310
|
+
children?: ReactNode;
|
|
2297
2311
|
};
|
|
2298
2312
|
|
|
2299
2313
|
export declare const promptingsTheme: Entities;
|
|
@@ -2319,6 +2333,7 @@ export declare type QDSChromeProps = {
|
|
|
2319
2333
|
accountRouteOnClick: () => void;
|
|
2320
2334
|
quickLinks: QuickLinksType;
|
|
2321
2335
|
isFullScreen?: boolean;
|
|
2336
|
+
children?: ReactNode;
|
|
2322
2337
|
};
|
|
2323
2338
|
|
|
2324
2339
|
export declare const QuantitySlider: FC<QuantitySliderProps>;
|
|
@@ -2373,7 +2388,7 @@ declare type QuickLinkType = {
|
|
|
2373
2388
|
link: Item;
|
|
2374
2389
|
};
|
|
2375
2390
|
|
|
2376
|
-
declare type QuoteType =
|
|
2391
|
+
declare type QuoteType = Exclude<ThemeMode, 'accent' | 'shadow'>;
|
|
2377
2392
|
|
|
2378
2393
|
export declare const RadioOptionCard: FC<RadioOptionCardProps>;
|
|
2379
2394
|
|
|
@@ -2459,6 +2474,7 @@ declare type RevealingContentProps = {
|
|
|
2459
2474
|
width: string;
|
|
2460
2475
|
height: string;
|
|
2461
2476
|
isMobile: boolean;
|
|
2477
|
+
children?: ReactNode;
|
|
2462
2478
|
};
|
|
2463
2479
|
|
|
2464
2480
|
declare type RotationAndOffsetType = {
|
|
@@ -2526,6 +2542,7 @@ declare type SelectableCardProps = {
|
|
|
2526
2542
|
isActive: boolean;
|
|
2527
2543
|
onClick?: () => void;
|
|
2528
2544
|
shouldShowActiveIcons?: boolean;
|
|
2545
|
+
children?: ReactNode;
|
|
2529
2546
|
};
|
|
2530
2547
|
|
|
2531
2548
|
export declare const SelectableList: FC<SelectableListProps>;
|
|
@@ -2535,6 +2552,7 @@ export declare type SelectableListProps = {
|
|
|
2535
2552
|
orientation?: ListOrientation;
|
|
2536
2553
|
selectedIndexes: number[];
|
|
2537
2554
|
setSelectedIndexes: (selectedIndexes: number[]) => void;
|
|
2555
|
+
children?: ReactNode;
|
|
2538
2556
|
};
|
|
2539
2557
|
|
|
2540
2558
|
export declare type SelectableOptions = {
|
|
@@ -2543,7 +2561,7 @@ export declare type SelectableOptions = {
|
|
|
2543
2561
|
glare: GlareType;
|
|
2544
2562
|
};
|
|
2545
2563
|
|
|
2546
|
-
export declare type SelectFocusType =
|
|
2564
|
+
export declare type SelectFocusType = HOCSwatchColorKeys;
|
|
2547
2565
|
|
|
2548
2566
|
export declare type SelectProps = {
|
|
2549
2567
|
alignment?: AlignmentOptions;
|
|
@@ -2640,7 +2658,7 @@ export declare type SidebarProps = {
|
|
|
2640
2658
|
|
|
2641
2659
|
declare type SizeMapType = Record<SizeType, number>;
|
|
2642
2660
|
|
|
2643
|
-
declare type SizeProperties<T> = {
|
|
2661
|
+
export declare type SizeProperties<T> = {
|
|
2644
2662
|
xSmall: T;
|
|
2645
2663
|
small: T;
|
|
2646
2664
|
medium: T;
|
|
@@ -2648,7 +2666,7 @@ declare type SizeProperties<T> = {
|
|
|
2648
2666
|
xLarge: T;
|
|
2649
2667
|
};
|
|
2650
2668
|
|
|
2651
|
-
declare type SizeType = keyof SizeProperties<never>;
|
|
2669
|
+
export declare type SizeType = keyof SizeProperties<never>;
|
|
2652
2670
|
|
|
2653
2671
|
export declare const Slider: FC<SliderProps>;
|
|
2654
2672
|
|
|
@@ -2783,6 +2801,7 @@ export declare type StepperProps = {
|
|
|
2783
2801
|
type: ButtonType;
|
|
2784
2802
|
title: string;
|
|
2785
2803
|
};
|
|
2804
|
+
children?: ReactNode;
|
|
2786
2805
|
};
|
|
2787
2806
|
|
|
2788
2807
|
export declare const Stoplight: ({ activeIndex, setActiveIndex, isExpanded, setIsExpanded, type, onClick, orientation, isCollapsible, children, }: StoplightProps) => JSX_2.Element;
|
|
@@ -3269,26 +3288,26 @@ blue: string;
|
|
|
3269
3288
|
};
|
|
3270
3289
|
};
|
|
3271
3290
|
icons: {
|
|
3272
|
-
sizes: {
|
|
3273
|
-
xSmall: number;
|
|
3274
|
-
small: number;
|
|
3275
|
-
medium: number;
|
|
3276
|
-
large: number;
|
|
3277
|
-
xLarge: number;
|
|
3278
|
-
};
|
|
3279
|
-
colors: {
|
|
3280
|
-
default: string | undefined;
|
|
3281
|
-
primaryBodyText: string;
|
|
3282
|
-
primaryHeadingText: string | undefined;
|
|
3283
|
-
inverseBodyText: string;
|
|
3284
|
-
inverseHeadingText: string;
|
|
3285
|
-
primaryBrand: string;
|
|
3286
|
-
secondaryBrand: string;
|
|
3287
|
-
warning: string;
|
|
3288
|
-
danger: string;
|
|
3289
|
-
success: string;
|
|
3290
|
-
background: string;
|
|
3291
|
-
accent: string;
|
|
3291
|
+
readonly sizes: {
|
|
3292
|
+
readonly xSmall: number;
|
|
3293
|
+
readonly small: number;
|
|
3294
|
+
readonly medium: number;
|
|
3295
|
+
readonly large: number;
|
|
3296
|
+
readonly xLarge: number;
|
|
3297
|
+
};
|
|
3298
|
+
readonly colors: {
|
|
3299
|
+
readonly default: string | undefined;
|
|
3300
|
+
readonly primaryBodyText: string;
|
|
3301
|
+
readonly primaryHeadingText: string | undefined;
|
|
3302
|
+
readonly inverseBodyText: string;
|
|
3303
|
+
readonly inverseHeadingText: string;
|
|
3304
|
+
readonly primaryBrand: string;
|
|
3305
|
+
readonly secondaryBrand: string;
|
|
3306
|
+
readonly warning: string;
|
|
3307
|
+
readonly danger: string;
|
|
3308
|
+
readonly success: string;
|
|
3309
|
+
readonly background: string;
|
|
3310
|
+
readonly accent: string;
|
|
3292
3311
|
};
|
|
3293
3312
|
};
|
|
3294
3313
|
card: {
|
|
@@ -3454,9 +3473,9 @@ outerRing: string;
|
|
|
3454
3473
|
};
|
|
3455
3474
|
}>;
|
|
3456
3475
|
|
|
3457
|
-
declare type ThemeMode = keyof ThemeModeProperies<never>;
|
|
3476
|
+
export declare type ThemeMode = keyof ThemeModeProperies<never>;
|
|
3458
3477
|
|
|
3459
|
-
declare type ThemeModeProperies<T> = {
|
|
3478
|
+
export declare type ThemeModeProperies<T> = {
|
|
3460
3479
|
primary: T;
|
|
3461
3480
|
secondary: T;
|
|
3462
3481
|
success: T;
|
|
@@ -3786,26 +3805,26 @@ blue: string;
|
|
|
3786
3805
|
};
|
|
3787
3806
|
};
|
|
3788
3807
|
icons: {
|
|
3789
|
-
sizes: {
|
|
3790
|
-
xSmall: number;
|
|
3791
|
-
small: number;
|
|
3792
|
-
medium: number;
|
|
3793
|
-
large: number;
|
|
3794
|
-
xLarge: number;
|
|
3795
|
-
};
|
|
3796
|
-
colors: {
|
|
3797
|
-
default: string | undefined;
|
|
3798
|
-
primaryBodyText: string;
|
|
3799
|
-
primaryHeadingText: string | undefined;
|
|
3800
|
-
inverseBodyText: string;
|
|
3801
|
-
inverseHeadingText: string;
|
|
3802
|
-
primaryBrand: string;
|
|
3803
|
-
secondaryBrand: string;
|
|
3804
|
-
warning: string;
|
|
3805
|
-
danger: string;
|
|
3806
|
-
success: string;
|
|
3807
|
-
background: string;
|
|
3808
|
-
accent: string;
|
|
3808
|
+
readonly sizes: {
|
|
3809
|
+
readonly xSmall: number;
|
|
3810
|
+
readonly small: number;
|
|
3811
|
+
readonly medium: number;
|
|
3812
|
+
readonly large: number;
|
|
3813
|
+
readonly xLarge: number;
|
|
3814
|
+
};
|
|
3815
|
+
readonly colors: {
|
|
3816
|
+
readonly default: string | undefined;
|
|
3817
|
+
readonly primaryBodyText: string;
|
|
3818
|
+
readonly primaryHeadingText: string | undefined;
|
|
3819
|
+
readonly inverseBodyText: string;
|
|
3820
|
+
readonly inverseHeadingText: string;
|
|
3821
|
+
readonly primaryBrand: string;
|
|
3822
|
+
readonly secondaryBrand: string;
|
|
3823
|
+
readonly warning: string;
|
|
3824
|
+
readonly danger: string;
|
|
3825
|
+
readonly success: string;
|
|
3826
|
+
readonly background: string;
|
|
3827
|
+
readonly accent: string;
|
|
3809
3828
|
};
|
|
3810
3829
|
};
|
|
3811
3830
|
card: {
|
|
@@ -4113,6 +4132,7 @@ export declare type UpsaleSheetProps = {
|
|
|
4113
4132
|
width?: string;
|
|
4114
4133
|
inset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
4115
4134
|
outset?: SpacingDirection | LiteralUnion<HOCSpacingKeys>;
|
|
4135
|
+
children?: ReactNode;
|
|
4116
4136
|
};
|
|
4117
4137
|
|
|
4118
4138
|
export declare const useColorSwatch: () => {
|
|
@@ -4491,26 +4511,26 @@ export declare const useTheme: () => {
|
|
|
4491
4511
|
};
|
|
4492
4512
|
};
|
|
4493
4513
|
icons: {
|
|
4494
|
-
sizes: {
|
|
4495
|
-
xSmall: number;
|
|
4496
|
-
small: number;
|
|
4497
|
-
medium: number;
|
|
4498
|
-
large: number;
|
|
4499
|
-
xLarge: number;
|
|
4514
|
+
readonly sizes: {
|
|
4515
|
+
readonly xSmall: number;
|
|
4516
|
+
readonly small: number;
|
|
4517
|
+
readonly medium: number;
|
|
4518
|
+
readonly large: number;
|
|
4519
|
+
readonly xLarge: number;
|
|
4500
4520
|
};
|
|
4501
|
-
colors: {
|
|
4502
|
-
default: string | undefined;
|
|
4503
|
-
primaryBodyText: string;
|
|
4504
|
-
primaryHeadingText: string | undefined;
|
|
4505
|
-
inverseBodyText: string;
|
|
4506
|
-
inverseHeadingText: string;
|
|
4507
|
-
primaryBrand: string;
|
|
4508
|
-
secondaryBrand: string;
|
|
4509
|
-
warning: string;
|
|
4510
|
-
danger: string;
|
|
4511
|
-
success: string;
|
|
4512
|
-
background: string;
|
|
4513
|
-
accent: string;
|
|
4521
|
+
readonly colors: {
|
|
4522
|
+
readonly default: string | undefined;
|
|
4523
|
+
readonly primaryBodyText: string;
|
|
4524
|
+
readonly primaryHeadingText: string | undefined;
|
|
4525
|
+
readonly inverseBodyText: string;
|
|
4526
|
+
readonly inverseHeadingText: string;
|
|
4527
|
+
readonly primaryBrand: string;
|
|
4528
|
+
readonly secondaryBrand: string;
|
|
4529
|
+
readonly warning: string;
|
|
4530
|
+
readonly danger: string;
|
|
4531
|
+
readonly success: string;
|
|
4532
|
+
readonly background: string;
|
|
4533
|
+
readonly accent: string;
|
|
4514
4534
|
};
|
|
4515
4535
|
};
|
|
4516
4536
|
card: {
|