@autoguru/overdrive 4.43.6-next.7 → 4.43.6-next.9
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/components/Alert/Alert.js +2 -2
- package/dist/components/Anchor/Anchor.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.js +4 -4
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Box/Box.js +106 -49
- package/dist/components/Box/newBox/boxStyles.d.ts +456 -1
- package/dist/components/Box/newBox/boxStyles.d.ts.map +1 -1
- package/dist/components/Box/newBox/boxStyles.js +7 -13
- package/dist/components/Box/useBoxStyles.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +6 -6
- package/dist/components/ColourInput/ColourInput.js +2 -2
- package/dist/components/Columns/Column.css.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.js +2 -2
- package/dist/components/DropDown/DropDown.stories.d.ts +1 -1
- package/dist/components/Heading/Heading.stories.d.ts +83 -81
- package/dist/components/Heading/Heading.stories.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Icon/Icon.js +2 -2
- package/dist/components/LoadingBox/LoadingBox.stories.d.ts +84 -82
- package/dist/components/LoadingBox/LoadingBox.stories.d.ts.map +1 -1
- package/dist/components/MinimalModal/MinimalModal.stories.d.ts +1 -1
- package/dist/components/NumberBubble/NumberBubble.d.ts.map +1 -1
- package/dist/components/NumberBubble/NumberBubble.js +2 -2
- package/dist/components/OptionList/OptionList.d.ts +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.js +2 -2
- package/dist/components/StarRating/StarRating.js +2 -2
- package/dist/components/Stepper/Stepper.css.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.css.js +1 -7
- package/dist/components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.js +1 -4
- package/dist/components/Tabs/Tab.js +3 -3
- package/dist/components/TextBubble/TextBubble.d.ts.map +1 -1
- package/dist/components/TextBubble/TextBubble.js +2 -2
- package/dist/components/TextLink/TextLink.js +3 -3
- package/dist/components/TextLink/TextLink.stories.d.ts +3 -3
- package/dist/components/private/CheckableBase/CheckableBase.d.ts.map +1 -1
- package/dist/components/private/CheckableBase/CheckableBase.js +6 -15
- package/dist/components/private/InputBase/HintText.d.ts.map +1 -1
- package/dist/components/private/InputBase/HintText.js +5 -6
- package/dist/components/private/InputBase/withEnhancedInput.d.ts.map +1 -1
- package/dist/components/private/InputBase/withEnhancedInput.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/styles/index.d.ts +5 -0
- package/dist/styles/index.d.ts.map +1 -0
- package/dist/styles/index.js +6 -0
- package/dist/styles/reset.css.d.ts +1 -1
- package/dist/styles/reset.css.d.ts.map +1 -1
- package/dist/styles/reset.css.js +4 -3
- package/dist/styles/resetStyles.d.ts +6 -0
- package/dist/styles/resetStyles.d.ts.map +1 -1
- package/dist/styles/resetStyles.js +17 -0
- package/dist/styles/sprinkles.css.d.ts +86 -94
- package/dist/styles/sprinkles.css.d.ts.map +1 -1
- package/dist/styles/sprinkles.css.js +67 -35
- package/dist/utils/sprinkles.d.ts +2 -5
- package/dist/utils/sprinkles.d.ts.map +1 -1
- package/dist/utils/sprinkles.js +2 -8
- package/package.json +1 -1
|
@@ -4,9 +4,464 @@ import type { AsPolyProp, CommonBoxProps } from './useBox';
|
|
|
4
4
|
export type StyleProps = Sprinkles & SprinklesLegacyColours;
|
|
5
5
|
export type BoxStylesProps<E extends ElementType = 'div'> = AsPolyProp<E> & Pick<CommonBoxProps, 'className'> & StyleProps;
|
|
6
6
|
export type BoxStylesReturn<P extends object> = [string, P];
|
|
7
|
+
export declare const calcHasBorder: (keys: string[]) => boolean;
|
|
7
8
|
export declare const boxStylesWithFilteredProps: <E extends ElementType = "div">({ as, className, ...props }: BoxStylesProps<E>) => {
|
|
8
9
|
className: string;
|
|
9
|
-
baseProps: {
|
|
10
|
+
baseProps: {
|
|
11
|
+
borderBottomColor?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "muted" | "default" | "disabled" | undefined;
|
|
12
|
+
borderLeftColor?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "muted" | "default" | "disabled" | undefined;
|
|
13
|
+
borderRightColor?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "muted" | "default" | "disabled" | undefined;
|
|
14
|
+
borderTopColor?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "muted" | "default" | "disabled" | undefined;
|
|
15
|
+
borderBottomColour?: "gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | undefined;
|
|
16
|
+
borderLeftColour?: "gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | undefined;
|
|
17
|
+
borderRightColour?: "gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | undefined;
|
|
18
|
+
borderTopColour?: "gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | undefined;
|
|
19
|
+
borderLeftStyle?: "none" | "solid" | undefined;
|
|
20
|
+
borderBottomStyle?: "none" | "solid" | undefined;
|
|
21
|
+
borderRightStyle?: "none" | "solid" | undefined;
|
|
22
|
+
borderTopStyle?: "none" | "solid" | undefined;
|
|
23
|
+
color?: "soft" | "success" | "info" | "danger" | "warning" | "normal" | "inverse" | undefined;
|
|
24
|
+
colour?: "link" | "white" | "body" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | "muted" | "unset" | undefined;
|
|
25
|
+
backgroundColor?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "transparent" | undefined;
|
|
26
|
+
backgroundColour?: "white" | "black900" | "black800" | "black700" | "black600" | "black500" | "black400" | "black300" | "black200" | "black100" | "gray900" | "gray800" | "gray700" | "gray600" | "gray500" | "gray400" | "gray300" | "gray200" | "gray100" | "green900" | "green800" | "green700" | "green600" | "green500" | "green400" | "green300" | "green200" | "green100" | "blue900" | "blue800" | "blue700" | "blue600" | "blue500" | "blue400" | "blue300" | "blue200" | "blue100" | "yellow900" | "yellow800" | "yellow700" | "yellow600" | "yellow500" | "yellow400" | "yellow300" | "yellow200" | "yellow100" | "red900" | "red800" | "red700" | "red600" | "red500" | "red400" | "red300" | "red200" | "red100" | "success" | "danger" | "warning" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "transparent" | undefined;
|
|
27
|
+
opacity?: number | "1" | "0" | undefined;
|
|
28
|
+
fontSize?: {} | undefined;
|
|
29
|
+
lineHeight?: {} | undefined;
|
|
30
|
+
fontWeight?: "bold" | "normal" | "semiBold" | undefined;
|
|
31
|
+
textWrap?: "balance" | "nowrap" | "stable" | "pretty" | undefined;
|
|
32
|
+
boxShadow?: "1" | "2" | "3" | "4" | "5" | "none" | undefined;
|
|
33
|
+
pointerEvents?: "none" | "auto" | undefined;
|
|
34
|
+
userSelect?: "none" | "auto" | "text" | undefined;
|
|
35
|
+
useVar?: "gap" | undefined;
|
|
36
|
+
text?: {} | undefined;
|
|
37
|
+
bg?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "transparent" | undefined;
|
|
38
|
+
fg?: "soft" | "success" | "info" | "danger" | "warning" | "normal" | "inverse" | undefined;
|
|
39
|
+
borderColor?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "muted" | "default" | "disabled" | undefined;
|
|
40
|
+
borderColorX?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "muted" | "default" | "disabled" | undefined;
|
|
41
|
+
borderColorY?: "page" | "hard" | "soft" | "accent" | "success" | "info" | "danger" | "warning" | "muted" | "default" | "disabled" | undefined;
|
|
42
|
+
borderColour?: "gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | undefined;
|
|
43
|
+
borderColourX?: "gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | undefined;
|
|
44
|
+
borderColourY?: "gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | undefined;
|
|
45
|
+
borderStyle?: "none" | "solid" | undefined;
|
|
46
|
+
borderStyleBottom?: "none" | "solid" | undefined;
|
|
47
|
+
borderStyleLeft?: "none" | "solid" | undefined;
|
|
48
|
+
borderStyleRight?: "none" | "solid" | undefined;
|
|
49
|
+
borderStyleTop?: "none" | "solid" | undefined;
|
|
50
|
+
display?: ("none" | "flex" | "grid" | "block" | "contents" | "inline" | "inline-block" | "inline-flex" | "inlineBlock" | "inlineFlex" | {
|
|
51
|
+
mobile?: "none" | "flex" | "grid" | "block" | "contents" | "inline" | "inline-block" | "inline-flex" | "inlineBlock" | "inlineFlex" | undefined;
|
|
52
|
+
tablet?: "none" | "flex" | "grid" | "block" | "contents" | "inline" | "inline-block" | "inline-flex" | "inlineBlock" | "inlineFlex" | undefined;
|
|
53
|
+
desktop?: "none" | "flex" | "grid" | "block" | "contents" | "inline" | "inline-block" | "inline-flex" | "inlineBlock" | "inlineFlex" | undefined;
|
|
54
|
+
largeDesktop?: "none" | "flex" | "grid" | "block" | "contents" | "inline" | "inline-block" | "inline-flex" | "inlineBlock" | "inlineFlex" | undefined;
|
|
55
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "none" | "flex" | "grid" | "block" | "contents" | "inline" | "inline-block" | "inline-flex" | "inlineBlock" | "inlineFlex" | null>;
|
|
56
|
+
overflow?: ("auto" | "hidden" | "visible" | {
|
|
57
|
+
mobile?: "auto" | "hidden" | "visible" | undefined;
|
|
58
|
+
tablet?: "auto" | "hidden" | "visible" | undefined;
|
|
59
|
+
desktop?: "auto" | "hidden" | "visible" | undefined;
|
|
60
|
+
largeDesktop?: "auto" | "hidden" | "visible" | undefined;
|
|
61
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "auto" | "hidden" | "visible" | null>;
|
|
62
|
+
overflowX?: ("auto" | "hidden" | "scroll" | {
|
|
63
|
+
mobile?: "auto" | "hidden" | "scroll" | undefined;
|
|
64
|
+
tablet?: "auto" | "hidden" | "scroll" | undefined;
|
|
65
|
+
desktop?: "auto" | "hidden" | "scroll" | undefined;
|
|
66
|
+
largeDesktop?: "auto" | "hidden" | "scroll" | undefined;
|
|
67
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "auto" | "hidden" | "scroll" | null>;
|
|
68
|
+
overflowY?: ("auto" | "hidden" | "scroll" | {
|
|
69
|
+
mobile?: "auto" | "hidden" | "scroll" | undefined;
|
|
70
|
+
tablet?: "auto" | "hidden" | "scroll" | undefined;
|
|
71
|
+
desktop?: "auto" | "hidden" | "scroll" | undefined;
|
|
72
|
+
largeDesktop?: "auto" | "hidden" | "scroll" | undefined;
|
|
73
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "auto" | "hidden" | "scroll" | null>;
|
|
74
|
+
position?: ("fixed" | "absolute" | "relative" | "static" | "sticky" | {
|
|
75
|
+
mobile?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
76
|
+
tablet?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
77
|
+
desktop?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
78
|
+
largeDesktop?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
79
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "fixed" | "absolute" | "relative" | "static" | "sticky" | null>;
|
|
80
|
+
textAlign?: ("left" | "right" | "center" | "centre" | {
|
|
81
|
+
mobile?: "left" | "right" | "center" | "centre" | undefined;
|
|
82
|
+
tablet?: "left" | "right" | "center" | "centre" | undefined;
|
|
83
|
+
desktop?: "left" | "right" | "center" | "centre" | undefined;
|
|
84
|
+
largeDesktop?: "left" | "right" | "center" | "centre" | undefined;
|
|
85
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "left" | "right" | "center" | "centre" | null>;
|
|
86
|
+
borderRadius?: ("1" | "none" | "min" | "sm" | "md" | "lg" | "xl" | "2xl" | "pill" | "full" | {
|
|
87
|
+
mobile?: "1" | "none" | "min" | "sm" | "md" | "lg" | "xl" | "2xl" | "pill" | "full" | undefined;
|
|
88
|
+
tablet?: "1" | "none" | "min" | "sm" | "md" | "lg" | "xl" | "2xl" | "pill" | "full" | undefined;
|
|
89
|
+
desktop?: "1" | "none" | "min" | "sm" | "md" | "lg" | "xl" | "2xl" | "pill" | "full" | undefined;
|
|
90
|
+
largeDesktop?: "1" | "none" | "min" | "sm" | "md" | "lg" | "xl" | "2xl" | "pill" | "full" | undefined;
|
|
91
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "none" | "min" | "sm" | "md" | "lg" | "xl" | "2xl" | "pill" | "full" | null>;
|
|
92
|
+
borderLeftWidth?: ("1" | "2" | "3" | "none" | {
|
|
93
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
94
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
95
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
96
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
97
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
98
|
+
borderBottomWidth?: ("1" | "2" | "3" | "none" | {
|
|
99
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
100
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
101
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
102
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
103
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
104
|
+
borderRightWidth?: ("1" | "2" | "3" | "none" | {
|
|
105
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
106
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
107
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
108
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
109
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
110
|
+
borderTopWidth?: ("1" | "2" | "3" | "none" | {
|
|
111
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
112
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
113
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
114
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
115
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
116
|
+
height?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | {
|
|
117
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
118
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
119
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
120
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
121
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | null>;
|
|
122
|
+
width?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | {
|
|
123
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
124
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
125
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
126
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
127
|
+
} | undefined);
|
|
128
|
+
maxWidth?: ("small" | "medium" | "large" | "fit-content" | "max-content" | {
|
|
129
|
+
mobile?: "small" | "medium" | "large" | "fit-content" | "max-content" | undefined;
|
|
130
|
+
tablet?: "small" | "medium" | "large" | "fit-content" | "max-content" | undefined;
|
|
131
|
+
desktop?: "small" | "medium" | "large" | "fit-content" | "max-content" | undefined;
|
|
132
|
+
largeDesktop?: "small" | "medium" | "large" | "fit-content" | "max-content" | undefined;
|
|
133
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "small" | "medium" | "large" | "fit-content" | "max-content" | null>;
|
|
134
|
+
minWidth?: ("auto" | "fit-content" | {
|
|
135
|
+
mobile?: "auto" | "fit-content" | undefined;
|
|
136
|
+
tablet?: "auto" | "fit-content" | undefined;
|
|
137
|
+
desktop?: "auto" | "fit-content" | undefined;
|
|
138
|
+
largeDesktop?: "auto" | "fit-content" | undefined;
|
|
139
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "auto" | "fit-content" | null>;
|
|
140
|
+
gap?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
141
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
142
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
143
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
144
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
145
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null>;
|
|
146
|
+
columnGap?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
147
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
148
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
149
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
150
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
151
|
+
} | undefined);
|
|
152
|
+
rowGap?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
153
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
154
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
155
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
156
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
157
|
+
} | undefined);
|
|
158
|
+
alignItems?: ("stretch" | "center" | "flex-end" | "flex-start" | "baseline" | "centre" | "flexEnd" | "flexStart" | {
|
|
159
|
+
mobile?: "stretch" | "center" | "flex-end" | "flex-start" | "baseline" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
160
|
+
tablet?: "stretch" | "center" | "flex-end" | "flex-start" | "baseline" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
161
|
+
desktop?: "stretch" | "center" | "flex-end" | "flex-start" | "baseline" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
162
|
+
largeDesktop?: "stretch" | "center" | "flex-end" | "flex-start" | "baseline" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
163
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "stretch" | "center" | "flex-end" | "flex-start" | "baseline" | "centre" | "flexEnd" | "flexStart" | null>;
|
|
164
|
+
justifyContent?: ("space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | {
|
|
165
|
+
mobile?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | undefined;
|
|
166
|
+
tablet?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | undefined;
|
|
167
|
+
desktop?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | undefined;
|
|
168
|
+
largeDesktop?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | undefined;
|
|
169
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | null>;
|
|
170
|
+
alignContent?: ("space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | {
|
|
171
|
+
mobile?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | undefined;
|
|
172
|
+
tablet?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | undefined;
|
|
173
|
+
desktop?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | undefined;
|
|
174
|
+
largeDesktop?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | undefined;
|
|
175
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "spaceAround" | "spaceBetween" | "spaceEvenely" | "space-evenely" | "flexEnd" | "flexStart" | null>;
|
|
176
|
+
alignSelf?: ("stretch" | "center" | "flex-end" | "flex-start" | {
|
|
177
|
+
mobile?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
178
|
+
tablet?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
179
|
+
desktop?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
180
|
+
largeDesktop?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
181
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "stretch" | "center" | "flex-end" | "flex-start" | null>;
|
|
182
|
+
justifySelf?: ("center" | "flex-end" | "flex-start" | {
|
|
183
|
+
mobile?: "center" | "flex-end" | "flex-start" | undefined;
|
|
184
|
+
tablet?: "center" | "flex-end" | "flex-start" | undefined;
|
|
185
|
+
desktop?: "center" | "flex-end" | "flex-start" | undefined;
|
|
186
|
+
largeDesktop?: "center" | "flex-end" | "flex-start" | undefined;
|
|
187
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "center" | "flex-end" | "flex-start" | null>;
|
|
188
|
+
flexDirection?: ("column" | "column-reverse" | "row" | "row-reverse" | {
|
|
189
|
+
mobile?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
190
|
+
tablet?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
191
|
+
desktop?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
192
|
+
largeDesktop?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
193
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "column" | "column-reverse" | "row" | "row-reverse" | null>;
|
|
194
|
+
flexGrow?: (number | "1" | "0" | {
|
|
195
|
+
mobile?: number | "1" | "0" | undefined;
|
|
196
|
+
tablet?: number | "1" | "0" | undefined;
|
|
197
|
+
desktop?: number | "1" | "0" | undefined;
|
|
198
|
+
largeDesktop?: number | "1" | "0" | undefined;
|
|
199
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, number | "1" | "0" | null>;
|
|
200
|
+
flexShrink?: (number | "1" | "0" | {
|
|
201
|
+
mobile?: number | "1" | "0" | undefined;
|
|
202
|
+
tablet?: number | "1" | "0" | undefined;
|
|
203
|
+
desktop?: number | "1" | "0" | undefined;
|
|
204
|
+
largeDesktop?: number | "1" | "0" | undefined;
|
|
205
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, number | "1" | "0" | null>;
|
|
206
|
+
flexWrap?: ("nowrap" | "wrap" | "wrap-reverse" | {
|
|
207
|
+
mobile?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
208
|
+
tablet?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
209
|
+
desktop?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
210
|
+
largeDesktop?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
211
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "nowrap" | "wrap" | "wrap-reverse" | null>;
|
|
212
|
+
order?: (number | "1" | "2" | "3" | "4" | "0" | {
|
|
213
|
+
mobile?: number | "1" | "2" | "3" | "4" | "0" | undefined;
|
|
214
|
+
tablet?: number | "1" | "2" | "3" | "4" | "0" | undefined;
|
|
215
|
+
desktop?: number | "1" | "2" | "3" | "4" | "0" | undefined;
|
|
216
|
+
largeDesktop?: number | "1" | "2" | "3" | "4" | "0" | undefined;
|
|
217
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, number | "1" | "2" | "3" | "4" | "0" | null>;
|
|
218
|
+
gridAutoColumns?: ("auto" | "max-content" | "min-content" | "1fr" | {
|
|
219
|
+
mobile?: "auto" | "max-content" | "min-content" | "1fr" | undefined;
|
|
220
|
+
tablet?: "auto" | "max-content" | "min-content" | "1fr" | undefined;
|
|
221
|
+
desktop?: "auto" | "max-content" | "min-content" | "1fr" | undefined;
|
|
222
|
+
largeDesktop?: "auto" | "max-content" | "min-content" | "1fr" | undefined;
|
|
223
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "auto" | "max-content" | "min-content" | "1fr" | null>;
|
|
224
|
+
gridAutoRows?: ("auto" | "1fr" | {
|
|
225
|
+
mobile?: "auto" | "1fr" | undefined;
|
|
226
|
+
tablet?: "auto" | "1fr" | undefined;
|
|
227
|
+
desktop?: "auto" | "1fr" | undefined;
|
|
228
|
+
largeDesktop?: "auto" | "1fr" | undefined;
|
|
229
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "auto" | "1fr" | null>;
|
|
230
|
+
gridAutoFlow?: ("column" | "row" | "row dense" | "column dense" | {
|
|
231
|
+
mobile?: "column" | "row" | "row dense" | "column dense" | undefined;
|
|
232
|
+
tablet?: "column" | "row" | "row dense" | "column dense" | undefined;
|
|
233
|
+
desktop?: "column" | "row" | "row dense" | "column dense" | undefined;
|
|
234
|
+
largeDesktop?: "column" | "row" | "row dense" | "column dense" | undefined;
|
|
235
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "column" | "row" | "row dense" | "column dense" | null>;
|
|
236
|
+
gridColumns?: (string | {
|
|
237
|
+
mobile?: string | undefined;
|
|
238
|
+
tablet?: string | undefined;
|
|
239
|
+
desktop?: string | undefined;
|
|
240
|
+
largeDesktop?: string | undefined;
|
|
241
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, string | null>;
|
|
242
|
+
paddingBottom?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
243
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
244
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
245
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
246
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
247
|
+
} | undefined);
|
|
248
|
+
paddingLeft?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
249
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
250
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
251
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
252
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
253
|
+
} | undefined);
|
|
254
|
+
paddingRight?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
255
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
256
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
257
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
258
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
259
|
+
} | undefined);
|
|
260
|
+
paddingTop?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
261
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
262
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
263
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
264
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
265
|
+
} | undefined);
|
|
266
|
+
marginBottom?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
267
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
268
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
269
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
270
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
271
|
+
} | undefined);
|
|
272
|
+
marginLeft?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | {
|
|
273
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
274
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
275
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
276
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
277
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | null>;
|
|
278
|
+
marginRight?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | {
|
|
279
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
280
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
281
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
282
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
283
|
+
} | undefined);
|
|
284
|
+
marginTop?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
285
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
286
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
287
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
288
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
289
|
+
} | undefined);
|
|
290
|
+
borderWidth?: ("1" | "2" | "3" | "none" | {
|
|
291
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
292
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
293
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
294
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
295
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
296
|
+
borderWidthX?: ("1" | "2" | "3" | "none" | {
|
|
297
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
298
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
299
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
300
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
301
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
302
|
+
borderWidthY?: ("1" | "2" | "3" | "none" | {
|
|
303
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
304
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
305
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
306
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
307
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
308
|
+
borderWidthBottom?: ("1" | "2" | "3" | "none" | {
|
|
309
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
310
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
311
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
312
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
313
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
314
|
+
borderWidthLeft?: ("1" | "2" | "3" | "none" | {
|
|
315
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
316
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
317
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
318
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
319
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
320
|
+
borderWidthRight?: ("1" | "2" | "3" | "none" | {
|
|
321
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
322
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
323
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
324
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
325
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
326
|
+
borderWidthTop?: ("1" | "2" | "3" | "none" | {
|
|
327
|
+
mobile?: "1" | "2" | "3" | "none" | undefined;
|
|
328
|
+
tablet?: "1" | "2" | "3" | "none" | undefined;
|
|
329
|
+
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
330
|
+
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
331
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
332
|
+
placeItems?: ("stretch" | "center" | "flex-end" | "flex-start" | "centre" | "flexEnd" | "flexStart" | {
|
|
333
|
+
mobile?: "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
334
|
+
tablet?: "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
335
|
+
desktop?: "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
336
|
+
largeDesktop?: "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
337
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "stretch" | "center" | "flex-end" | "flex-start" | "centre" | "flexEnd" | "flexStart" | null>;
|
|
338
|
+
size?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | {
|
|
339
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
340
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
341
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
342
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
343
|
+
} | undefined);
|
|
344
|
+
padding?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
345
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
346
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
347
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
348
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
349
|
+
} | undefined);
|
|
350
|
+
p?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
351
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
352
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
353
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
354
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
355
|
+
} | undefined);
|
|
356
|
+
paddingX?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
357
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
358
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
359
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
360
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
361
|
+
} | undefined);
|
|
362
|
+
px?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
363
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
364
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
365
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
366
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
367
|
+
} | undefined);
|
|
368
|
+
paddingY?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
369
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
370
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
371
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
372
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
373
|
+
} | undefined);
|
|
374
|
+
py?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
375
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
376
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
377
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
378
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
379
|
+
} | undefined);
|
|
380
|
+
pt?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
381
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
382
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
383
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
384
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
385
|
+
} | undefined);
|
|
386
|
+
pr?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
387
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
388
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
389
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
390
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
391
|
+
} | undefined);
|
|
392
|
+
pb?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
393
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
394
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
395
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
396
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
397
|
+
} | undefined);
|
|
398
|
+
pl?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
399
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
400
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
401
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
402
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
403
|
+
} | undefined);
|
|
404
|
+
margin?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
405
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
406
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
407
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
408
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
409
|
+
} | undefined);
|
|
410
|
+
m?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
411
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
412
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
413
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
414
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
415
|
+
} | undefined);
|
|
416
|
+
marginX?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | {
|
|
417
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
418
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
419
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
420
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
421
|
+
} | undefined);
|
|
422
|
+
mx?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | {
|
|
423
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
424
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
425
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
426
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
427
|
+
} | undefined);
|
|
428
|
+
marginY?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
429
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
430
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
431
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
432
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
433
|
+
} | undefined);
|
|
434
|
+
my?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
435
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
436
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
437
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
438
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
439
|
+
} | undefined);
|
|
440
|
+
mt?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
441
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
442
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
443
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
444
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
445
|
+
} | undefined);
|
|
446
|
+
mr?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | {
|
|
447
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
448
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
449
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
450
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
451
|
+
} | undefined);
|
|
452
|
+
mb?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | {
|
|
453
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
454
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
455
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
456
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
457
|
+
} | undefined);
|
|
458
|
+
ml?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | {
|
|
459
|
+
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
460
|
+
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
461
|
+
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
462
|
+
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
463
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | null>;
|
|
464
|
+
};
|
|
10
465
|
};
|
|
11
466
|
export declare const boxStyles: <E extends ElementType = "div">(props: BoxStylesProps<E>) => string;
|
|
12
467
|
//# sourceMappingURL=boxStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boxStyles.d.ts","sourceRoot":"","sources":["../../../../lib/components/Box/newBox/boxStyles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAEN,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"boxStyles.d.ts","sourceRoot":"","sources":["../../../../lib/components/Box/newBox/boxStyles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAEN,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG3D,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,sBAAsB,CAAC;AAE5D,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IAAI,UAAU,CAAC,CAAC,CAAC,GACxE,IAAI,CAAC,cAAc,EAAE,WAAW,CAAC,GACjC,UAAU,CAAC;AAEZ,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAY5D,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,EAAE,YACsB,CAAC;AAYnE,eAAO,MAAM,0BAA0B,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,6BAIvE,cAAc,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAenB,CAAC;AASF,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,WAAW,GAAG,KAAK,EACtD,OAAO,cAAc,CAAC,CAAC,CAAC,WAIxB,CAAC"}
|
|
@@ -1,38 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
4
5
|
const _excluded = ["as", "className"];
|
|
5
6
|
import clsx from 'clsx';
|
|
6
|
-
import {
|
|
7
|
+
import { borderReset } from "../../../styles/reset.css.js";
|
|
7
8
|
import { resetStyles } from "../../../styles/resetStyles.js";
|
|
8
|
-
import { sprinkles
|
|
9
|
+
import { sprinkles } from "../../../styles/sprinkles.css.js";
|
|
9
10
|
import { filterPropsWithStyles } from "../../../utils/sprinkles.js";
|
|
10
11
|
const borderProperties = ['Color', 'Colour', 'Width'];
|
|
11
12
|
const borderPostfixes = ['', 'Bottom', 'Left', 'Right', 'Top'];
|
|
13
|
+
const borderPropertyNames = new Set(borderProperties.flatMap(property => borderPostfixes.flatMap(postfix => [`border${postfix}${property}`, `border${property}${postfix}`])));
|
|
14
|
+
export const calcHasBorder = keys => _toConsumableArray(borderPropertyNames).some(borderProp => borderProp in keys);
|
|
12
15
|
export const boxStylesWithFilteredProps = _ref => {
|
|
13
16
|
let {
|
|
14
17
|
as,
|
|
15
18
|
className
|
|
16
19
|
} = _ref,
|
|
17
20
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
let hasBorder = false;
|
|
19
21
|
const {
|
|
20
22
|
sprinklesProps,
|
|
21
|
-
sprinklesLegacyColourProps,
|
|
22
23
|
baseProps
|
|
23
24
|
} = filterPropsWithStyles(props);
|
|
24
|
-
|
|
25
|
-
for (const property of borderProperties) {
|
|
26
|
-
if (!!props[`border${postfix}${property}`] || !!props[`border${property}${postfix}`]) {
|
|
27
|
-
hasBorder = true;
|
|
28
|
-
sprinklesProps[`border${postfix}Style`] = 'solid';
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
25
|
+
const hasBorder = calcHasBorder(Object.keys(props));
|
|
32
26
|
return {
|
|
33
27
|
className: clsx(resetStyles({
|
|
34
28
|
as: as ? `${as}` : as
|
|
35
|
-
}), hasBorder &&
|
|
29
|
+
}), hasBorder && borderReset, sprinkles(sprinklesProps), className),
|
|
36
30
|
baseProps
|
|
37
31
|
};
|
|
38
32
|
};
|