@blockle/blocks 0.9.0 → 0.10.0
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.cjs +3 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -1
- package/dist/momotaro.chunk.d.ts +303 -267
- package/dist/reset.css.cjs +1 -1
- package/dist/reset.css.mjs +1 -1
- package/dist/styles/components/display/Divider/Divider.cjs +3 -3
- package/dist/styles/components/display/Divider/Divider.mjs +3 -3
- package/dist/styles/components/display/Divider/divider.css.cjs +1 -1
- package/dist/styles/components/display/Divider/divider.css.mjs +1 -1
- package/dist/styles/components/form/Button/Button.css.cjs +1 -1
- package/dist/styles/components/form/Button/Button.css.mjs +1 -1
- package/dist/styles/components/form/Checkbox/checkbox.css.cjs +1 -1
- package/dist/styles/components/form/Checkbox/checkbox.css.mjs +1 -1
- package/dist/styles/components/form/Input/input.css.cjs +1 -1
- package/dist/styles/components/form/Input/input.css.mjs +1 -1
- package/dist/styles/components/form/Radio/radio.css.cjs +1 -1
- package/dist/styles/components/form/Radio/radio.css.mjs +1 -1
- package/dist/styles/components/form/Select/select.css.cjs +1 -1
- package/dist/styles/components/form/Select/select.css.mjs +1 -1
- package/dist/styles/components/form/Slider/Slider.cjs +155 -0
- package/dist/styles/components/form/Slider/Slider.mjs +156 -0
- package/dist/styles/components/form/Slider/slider.css.cjs +73 -0
- package/dist/styles/components/form/Slider/slider.css.mjs +74 -0
- package/dist/styles/components/form/Switch/switch.css.cjs +1 -1
- package/dist/styles/components/form/Switch/switch.css.mjs +1 -1
- package/dist/styles/components/other/BlocksProvider/BlocksProvider.cjs +21 -1
- package/dist/styles/components/other/BlocksProvider/BlocksProvider.mjs +21 -1
- package/dist/styles/components/overlay/Dialog/Dialog.cjs +9 -0
- package/dist/styles/components/overlay/Dialog/Dialog.mjs +12 -3
- package/dist/styles/components/overlay/Dialog/dialog.css.cjs +1 -1
- package/dist/styles/components/overlay/Dialog/dialog.css.mjs +1 -1
- package/dist/styles/components/typography/Heading/heading.css.cjs +1 -1
- package/dist/styles/components/typography/Heading/heading.css.mjs +1 -1
- package/dist/styles/components/typography/Text/text.css.cjs +1 -1
- package/dist/styles/components/typography/Text/text.css.mjs +1 -1
- package/dist/styles/lib/css/atoms/sprinkles.css.cjs +1 -1
- package/dist/styles/lib/css/atoms/sprinkles.css.mjs +1 -1
- package/dist/styles/lib/css/layers/layers.css.cjs +1 -1
- package/dist/styles/lib/css/layers/layers.css.mjs +1 -1
- package/dist/styles/lib/theme/vars.css.cjs +1 -1
- package/dist/styles/lib/theme/vars.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/button.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/button.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/checkbox.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/checkbox.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/dialog.css.cjs +9 -8
- package/dist/styles/themes/momotaro/components/dialog.css.mjs +9 -8
- package/dist/styles/themes/momotaro/components/divider.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/divider.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/dropdown.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/dropdown.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/helpers.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/helpers.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/index.cjs +3 -1
- package/dist/styles/themes/momotaro/components/index.mjs +3 -1
- package/dist/styles/themes/momotaro/components/input.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/input.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/label.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/label.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/link.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/link.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/progress.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/progress.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/radio.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/radio.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/select.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/select.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/slider.css.cjs +65 -0
- package/dist/styles/themes/momotaro/components/slider.css.mjs +66 -0
- package/dist/styles/themes/momotaro/components/spinner.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/spinner.css.mjs +1 -1
- package/dist/styles/themes/momotaro/components/switch.css.cjs +1 -1
- package/dist/styles/themes/momotaro/components/switch.css.mjs +1 -1
- package/dist/styles/themes/momotaro/momotaro.css.cjs +1 -1
- package/dist/styles/themes/momotaro/momotaro.css.mjs +1 -1
- package/dist/styles/themes/momotaro/tokens.css.cjs +3 -3
- package/dist/styles/themes/momotaro/tokens.css.mjs +3 -3
- package/package.json +28 -28
package/dist/momotaro.chunk.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import react__default, { useEffect } from 'react';
|
|
|
4
4
|
import * as _vanilla_extract_sprinkles from '@vanilla-extract/sprinkles';
|
|
5
5
|
|
|
6
6
|
declare const atoms: ((props: {
|
|
7
|
-
readonly backgroundColor?: "
|
|
8
|
-
readonly borderColor?: "
|
|
9
|
-
readonly borderRadius?: ("
|
|
10
|
-
readonly borderWidth?: ("
|
|
7
|
+
readonly backgroundColor?: "white" | "black" | "body" | "primaryLight" | "primary" | "primaryDark" | "secondaryLight" | "secondary" | "secondaryDark" | "text" | "textLight" | "textDark" | "danger" | "link" | "currentColor" | undefined;
|
|
8
|
+
readonly borderColor?: "white" | "black" | "body" | "primaryLight" | "primary" | "primaryDark" | "secondaryLight" | "secondary" | "secondaryDark" | "text" | "textLight" | "textDark" | "danger" | "link" | "currentColor" | undefined;
|
|
9
|
+
readonly borderRadius?: ("small" | "medium" | "large" | "xlarge") | undefined;
|
|
10
|
+
readonly borderWidth?: ("small" | "medium" | "large") | undefined;
|
|
11
11
|
readonly border?: "none" | undefined;
|
|
12
12
|
readonly insetBlock?: 0 | undefined;
|
|
13
13
|
readonly insetBlockStart?: 0 | undefined;
|
|
@@ -15,13 +15,13 @@ declare const atoms: ((props: {
|
|
|
15
15
|
readonly insetInline?: 0 | undefined;
|
|
16
16
|
readonly insetInlineStart?: 0 | undefined;
|
|
17
17
|
readonly insetInlineEnd?: 0 | undefined;
|
|
18
|
-
readonly boxShadow?: ("
|
|
19
|
-
readonly color?: "
|
|
18
|
+
readonly boxShadow?: ("small" | "medium" | "large") | undefined;
|
|
19
|
+
readonly color?: "white" | "black" | "body" | "primaryLight" | "primary" | "primaryDark" | "secondaryLight" | "secondary" | "secondaryDark" | "text" | "textLight" | "textDark" | "danger" | "link" | "currentColor" | undefined;
|
|
20
20
|
readonly cursor?: "auto" | "pointer" | undefined;
|
|
21
21
|
readonly fontFamily?: "body" | "primary" | "secondary" | undefined;
|
|
22
22
|
readonly fontStyle?: "normal" | "italic" | "oblique" | undefined;
|
|
23
23
|
readonly fontWeight?: ("medium" | "regular" | "strong") | undefined;
|
|
24
|
-
readonly lineHeight?: ("
|
|
24
|
+
readonly lineHeight?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
25
25
|
readonly blockSize?: "auto" | "fit-content" | "full" | undefined;
|
|
26
26
|
readonly maxBlockSize?: "auto" | "fit-content" | "full" | undefined;
|
|
27
27
|
readonly inlineSize?: "auto" | "fit-content" | "full" | undefined;
|
|
@@ -34,9 +34,9 @@ declare const atoms: ((props: {
|
|
|
34
34
|
readonly textDecoration?: "none" | "overline" | "line-through" | "underline" | undefined;
|
|
35
35
|
readonly textTransform?: "lowercase" | "uppercase" | "capitalize" | undefined;
|
|
36
36
|
readonly textWrap?: "balance" | "wrap" | undefined;
|
|
37
|
-
readonly transition?: ("
|
|
37
|
+
readonly transition?: ("slow" | "normal" | "fast") | undefined;
|
|
38
38
|
readonly userSelect?: "none" | undefined;
|
|
39
|
-
readonly whiteSpace?: "
|
|
39
|
+
readonly whiteSpace?: "nowrap" | "pre" | "pre-line" | "pre-wrap" | undefined;
|
|
40
40
|
readonly wordBreak?: "break-word" | undefined;
|
|
41
41
|
readonly wordWrap?: "break-word" | undefined;
|
|
42
42
|
inset?: 0 | undefined;
|
|
@@ -59,12 +59,12 @@ declare const atoms: ((props: {
|
|
|
59
59
|
desktop?: "stretch" | "center" | "flex-start" | "flex-end" | undefined;
|
|
60
60
|
wide?: "stretch" | "center" | "flex-start" | "flex-end" | undefined;
|
|
61
61
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "stretch" | "center" | "flex-start" | "flex-end" | null>;
|
|
62
|
-
readonly columnGap?: (("none" | "
|
|
63
|
-
mobile?: ("none" | "
|
|
64
|
-
tablet?: ("none" | "
|
|
65
|
-
desktop?: ("none" | "
|
|
66
|
-
wide?: ("none" | "
|
|
67
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
62
|
+
readonly columnGap?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
63
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
64
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
65
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
66
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
67
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
68
68
|
readonly display?: ("none" | "flex" | "grid" | "inline-flex" | "block" | "inline" | "inline-block" | "inline-grid" | {
|
|
69
69
|
mobile?: "none" | "flex" | "grid" | "inline-flex" | "block" | "inline" | "inline-block" | "inline-grid" | undefined;
|
|
70
70
|
tablet?: "none" | "flex" | "grid" | "inline-flex" | "block" | "inline" | "inline-block" | "inline-grid" | undefined;
|
|
@@ -95,138 +95,138 @@ declare const atoms: ((props: {
|
|
|
95
95
|
desktop?: 0 | 1 | undefined;
|
|
96
96
|
wide?: 0 | 1 | undefined;
|
|
97
97
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, 0 | 1 | null>;
|
|
98
|
-
readonly flexWrap?: ("
|
|
99
|
-
mobile?: "
|
|
100
|
-
tablet?: "
|
|
101
|
-
desktop?: "
|
|
102
|
-
wide?: "
|
|
103
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "
|
|
104
|
-
readonly fontSize?: (("
|
|
105
|
-
mobile?: ("
|
|
106
|
-
tablet?: ("
|
|
107
|
-
desktop?: ("
|
|
108
|
-
wide?: ("
|
|
109
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("
|
|
110
|
-
readonly gap?: (("none" | "
|
|
111
|
-
mobile?: ("none" | "
|
|
112
|
-
tablet?: ("none" | "
|
|
113
|
-
desktop?: ("none" | "
|
|
114
|
-
wide?: ("none" | "
|
|
115
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
98
|
+
readonly flexWrap?: ("wrap" | "nowrap" | {
|
|
99
|
+
mobile?: "wrap" | "nowrap" | undefined;
|
|
100
|
+
tablet?: "wrap" | "nowrap" | undefined;
|
|
101
|
+
desktop?: "wrap" | "nowrap" | undefined;
|
|
102
|
+
wide?: "wrap" | "nowrap" | undefined;
|
|
103
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "wrap" | "nowrap" | null>;
|
|
104
|
+
readonly fontSize?: (("xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
105
|
+
mobile?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
106
|
+
tablet?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
107
|
+
desktop?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
108
|
+
wide?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
109
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
110
|
+
readonly gap?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
111
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
112
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
113
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
114
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
115
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
116
116
|
readonly justifyContent?: ("center" | "flex-start" | "flex-end" | "space-between" | "space-around" | {
|
|
117
117
|
mobile?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined;
|
|
118
118
|
tablet?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined;
|
|
119
119
|
desktop?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined;
|
|
120
120
|
wide?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined;
|
|
121
121
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | null>;
|
|
122
|
-
readonly marginBlockStart?: ("none" | "
|
|
123
|
-
mobile?: "none" | "
|
|
124
|
-
tablet?: "none" | "
|
|
125
|
-
desktop?: "none" | "
|
|
126
|
-
wide?: "none" | "
|
|
127
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
128
|
-
readonly marginBlockEnd?: ("none" | "
|
|
129
|
-
mobile?: "none" | "
|
|
130
|
-
tablet?: "none" | "
|
|
131
|
-
desktop?: "none" | "
|
|
132
|
-
wide?: "none" | "
|
|
133
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
134
|
-
readonly marginInlineStart?: ("none" | "
|
|
135
|
-
mobile?: "none" | "
|
|
136
|
-
tablet?: "none" | "
|
|
137
|
-
desktop?: "none" | "
|
|
138
|
-
wide?: "none" | "
|
|
139
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
140
|
-
readonly marginInlineEnd?: ("none" | "
|
|
141
|
-
mobile?: "none" | "
|
|
142
|
-
tablet?: "none" | "
|
|
143
|
-
desktop?: "none" | "
|
|
144
|
-
wide?: "none" | "
|
|
145
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
122
|
+
readonly marginBlockStart?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
123
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
124
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
125
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
126
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
127
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
128
|
+
readonly marginBlockEnd?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
129
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
130
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
131
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
132
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
133
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
134
|
+
readonly marginInlineStart?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
135
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
136
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
137
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
138
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
139
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
140
|
+
readonly marginInlineEnd?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
141
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
142
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
143
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
144
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
145
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
146
146
|
readonly outline?: ("none" | {
|
|
147
147
|
mobile?: "none" | undefined;
|
|
148
148
|
tablet?: "none" | undefined;
|
|
149
149
|
desktop?: "none" | undefined;
|
|
150
150
|
wide?: "none" | undefined;
|
|
151
151
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | null>;
|
|
152
|
-
readonly padding?: (("none" | "
|
|
153
|
-
mobile?: ("none" | "
|
|
154
|
-
tablet?: ("none" | "
|
|
155
|
-
desktop?: ("none" | "
|
|
156
|
-
wide?: ("none" | "
|
|
157
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
158
|
-
readonly paddingBlock?: (("none" | "
|
|
159
|
-
mobile?: ("none" | "
|
|
160
|
-
tablet?: ("none" | "
|
|
161
|
-
desktop?: ("none" | "
|
|
162
|
-
wide?: ("none" | "
|
|
163
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
164
|
-
readonly paddingBlockStart?: (("none" | "
|
|
165
|
-
mobile?: ("none" | "
|
|
166
|
-
tablet?: ("none" | "
|
|
167
|
-
desktop?: ("none" | "
|
|
168
|
-
wide?: ("none" | "
|
|
169
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
170
|
-
readonly paddingBlockEnd?: (("none" | "
|
|
171
|
-
mobile?: ("none" | "
|
|
172
|
-
tablet?: ("none" | "
|
|
173
|
-
desktop?: ("none" | "
|
|
174
|
-
wide?: ("none" | "
|
|
175
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
176
|
-
readonly paddingInline?: (("none" | "
|
|
177
|
-
mobile?: ("none" | "
|
|
178
|
-
tablet?: ("none" | "
|
|
179
|
-
desktop?: ("none" | "
|
|
180
|
-
wide?: ("none" | "
|
|
181
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
182
|
-
readonly paddingInlineStart?: (("none" | "
|
|
183
|
-
mobile?: ("none" | "
|
|
184
|
-
tablet?: ("none" | "
|
|
185
|
-
desktop?: ("none" | "
|
|
186
|
-
wide?: ("none" | "
|
|
187
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
188
|
-
readonly paddingInlineEnd?: (("none" | "
|
|
189
|
-
mobile?: ("none" | "
|
|
190
|
-
tablet?: ("none" | "
|
|
191
|
-
desktop?: ("none" | "
|
|
192
|
-
wide?: ("none" | "
|
|
193
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
152
|
+
readonly padding?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
153
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
154
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
155
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
156
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
157
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
158
|
+
readonly paddingBlock?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
159
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
160
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
161
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
162
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
163
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
164
|
+
readonly paddingBlockStart?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
165
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
166
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
167
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
168
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
169
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
170
|
+
readonly paddingBlockEnd?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
171
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
172
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
173
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
174
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
175
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
176
|
+
readonly paddingInline?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
177
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
178
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
179
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
180
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
181
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
182
|
+
readonly paddingInlineStart?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
183
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
184
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
185
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
186
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
187
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
188
|
+
readonly paddingInlineEnd?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
189
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
190
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
191
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
192
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
193
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
194
194
|
readonly position?: ("relative" | "fixed" | "absolute" | "sticky" | "static" | {
|
|
195
195
|
mobile?: "relative" | "fixed" | "absolute" | "sticky" | "static" | undefined;
|
|
196
196
|
tablet?: "relative" | "fixed" | "absolute" | "sticky" | "static" | undefined;
|
|
197
197
|
desktop?: "relative" | "fixed" | "absolute" | "sticky" | "static" | undefined;
|
|
198
198
|
wide?: "relative" | "fixed" | "absolute" | "sticky" | "static" | undefined;
|
|
199
199
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "relative" | "fixed" | "absolute" | "sticky" | "static" | null>;
|
|
200
|
-
readonly rowGap?: (("none" | "
|
|
201
|
-
mobile?: ("none" | "
|
|
202
|
-
tablet?: ("none" | "
|
|
203
|
-
desktop?: ("none" | "
|
|
204
|
-
wide?: ("none" | "
|
|
205
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
200
|
+
readonly rowGap?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
201
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
202
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
203
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
204
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
205
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
206
206
|
readonly textAlign?: ("left" | "right" | "center" | "justify" | {
|
|
207
207
|
mobile?: "left" | "right" | "center" | "justify" | undefined;
|
|
208
208
|
tablet?: "left" | "right" | "center" | "justify" | undefined;
|
|
209
209
|
desktop?: "left" | "right" | "center" | "justify" | undefined;
|
|
210
210
|
wide?: "left" | "right" | "center" | "justify" | undefined;
|
|
211
211
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "left" | "right" | "center" | "justify" | null>;
|
|
212
|
-
margin?: ("none" | "
|
|
213
|
-
mobile?: "none" | "
|
|
214
|
-
tablet?: "none" | "
|
|
215
|
-
desktop?: "none" | "
|
|
216
|
-
wide?: "none" | "
|
|
217
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
218
|
-
marginBlock?: ("none" | "
|
|
219
|
-
mobile?: "none" | "
|
|
220
|
-
tablet?: "none" | "
|
|
221
|
-
desktop?: "none" | "
|
|
222
|
-
wide?: "none" | "
|
|
223
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
224
|
-
marginInline?: ("none" | "
|
|
225
|
-
mobile?: "none" | "
|
|
226
|
-
tablet?: "none" | "
|
|
227
|
-
desktop?: "none" | "
|
|
228
|
-
wide?: "none" | "
|
|
229
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
212
|
+
margin?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
213
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
214
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
215
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
216
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
217
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
218
|
+
marginBlock?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
219
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
220
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
221
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
222
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
223
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
224
|
+
marginInline?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
225
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
226
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
227
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
228
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
229
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
230
230
|
placeItems?: ("center" | "flex-start" | "flex-end" | {
|
|
231
231
|
mobile?: "center" | "flex-start" | "flex-end" | undefined;
|
|
232
232
|
tablet?: "center" | "flex-start" | "flex-end" | undefined;
|
|
@@ -234,7 +234,7 @@ declare const atoms: ((props: {
|
|
|
234
234
|
wide?: "center" | "flex-start" | "flex-end" | undefined;
|
|
235
235
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "center" | "flex-start" | "flex-end" | null>;
|
|
236
236
|
}) => string) & {
|
|
237
|
-
properties: Set<"
|
|
237
|
+
properties: Set<"borderRadius" | "color" | "borderWidth" | "fontFamily" | "fontSize" | "fontWeight" | "lineHeight" | "transition" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "blockSize" | "columnGap" | "cursor" | "display" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "inlineSize" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "justifyContent" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "maxBlockSize" | "maxInlineSize" | "opacity" | "overflowBlock" | "overflowInline" | "paddingBlockEnd" | "paddingBlockStart" | "paddingInlineEnd" | "paddingInlineStart" | "pointerEvents" | "position" | "rowGap" | "textAlign" | "textTransform" | "userSelect" | "whiteSpace" | "wordBreak" | "wordWrap" | "border" | "borderColor" | "flex" | "gap" | "inset" | "insetBlock" | "insetInline" | "margin" | "marginBlock" | "marginInline" | "outline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "placeItems" | "textDecoration" | "textWrap">;
|
|
238
238
|
};
|
|
239
239
|
|
|
240
240
|
declare const breakpoints: {
|
|
@@ -390,6 +390,16 @@ type SelectTheme = {
|
|
|
390
390
|
variant: 'solid' | 'outline';
|
|
391
391
|
};
|
|
392
392
|
};
|
|
393
|
+
type SliderTheme = {
|
|
394
|
+
base: string;
|
|
395
|
+
track: string;
|
|
396
|
+
filledTrack: string;
|
|
397
|
+
thumb: string;
|
|
398
|
+
variants: {
|
|
399
|
+
size: 'small' | 'medium' | 'large';
|
|
400
|
+
colorScheme: 'primary' | 'secondary';
|
|
401
|
+
};
|
|
402
|
+
};
|
|
393
403
|
type ComponentThemes = {
|
|
394
404
|
button: ButtonTheme;
|
|
395
405
|
checkbox: CheckboxTheme;
|
|
@@ -404,6 +414,7 @@ type ComponentThemes = {
|
|
|
404
414
|
select: SelectTheme;
|
|
405
415
|
spinner: SpinnerTheme;
|
|
406
416
|
switch: SwitchTheme;
|
|
417
|
+
slider: SliderTheme;
|
|
407
418
|
};
|
|
408
419
|
/**
|
|
409
420
|
* ComponentThemeProps is a helper type to define the props passed to useComponentStyles.
|
|
@@ -512,22 +523,22 @@ declare function makeTheme(theme: ThemeInput): Theme;
|
|
|
512
523
|
declare const vars: {
|
|
513
524
|
space: {
|
|
514
525
|
none: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
515
|
-
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
516
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
517
|
-
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
518
526
|
gutter: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
519
527
|
xsmall: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
528
|
+
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
529
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
530
|
+
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
520
531
|
xlarge: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
521
532
|
};
|
|
522
533
|
borderRadius: {
|
|
523
|
-
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
524
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
525
534
|
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
535
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
536
|
+
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
526
537
|
xlarge: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
527
538
|
};
|
|
528
539
|
color: {
|
|
529
|
-
black: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
530
540
|
white: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
541
|
+
black: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
531
542
|
body: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
532
543
|
primaryLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
533
544
|
primary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -542,9 +553,9 @@ declare const vars: {
|
|
|
542
553
|
link: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
543
554
|
};
|
|
544
555
|
borderWidth: {
|
|
545
|
-
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
546
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
547
556
|
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
557
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
558
|
+
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
548
559
|
};
|
|
549
560
|
fontFamily: {
|
|
550
561
|
body: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -552,10 +563,10 @@ declare const vars: {
|
|
|
552
563
|
secondary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
553
564
|
};
|
|
554
565
|
fontSize: {
|
|
555
|
-
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
556
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
557
|
-
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
558
566
|
xsmall: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
567
|
+
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
568
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
569
|
+
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
559
570
|
xlarge: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
560
571
|
};
|
|
561
572
|
fontWeight: {
|
|
@@ -564,21 +575,21 @@ declare const vars: {
|
|
|
564
575
|
strong: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
565
576
|
};
|
|
566
577
|
lineHeight: {
|
|
567
|
-
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
568
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
569
|
-
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
570
578
|
xsmall: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
579
|
+
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
580
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
581
|
+
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
571
582
|
xlarge: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
572
583
|
};
|
|
573
584
|
transition: {
|
|
574
|
-
normal: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
575
585
|
slow: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
586
|
+
normal: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
576
587
|
fast: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
577
588
|
};
|
|
578
589
|
shadow: {
|
|
579
|
-
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
580
|
-
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
581
590
|
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
591
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
592
|
+
large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
582
593
|
};
|
|
583
594
|
focus: {
|
|
584
595
|
boxShadow: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -634,7 +645,7 @@ declare const Button: react.ForwardRefExoticComponent<{
|
|
|
634
645
|
type?: "button" | "reset" | "submit" | undefined;
|
|
635
646
|
variant?: "outline" | "solid" | "ghost" | undefined;
|
|
636
647
|
intent?: "danger" | "neutral" | undefined;
|
|
637
|
-
size?: "
|
|
648
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
638
649
|
inlineSize?: Atoms['inlineSize'];
|
|
639
650
|
alignSelf?: Atoms['alignSelf'];
|
|
640
651
|
loading?: boolean | undefined;
|
|
@@ -712,6 +723,23 @@ declare const Select: react__default.ForwardRefExoticComponent<{
|
|
|
712
723
|
} | undefined;
|
|
713
724
|
} & HTMLElementProps<HTMLSelectElement> & react__default.RefAttributes<HTMLSelectElement>>;
|
|
714
725
|
|
|
726
|
+
type SliderProps = {
|
|
727
|
+
name?: string;
|
|
728
|
+
min?: number;
|
|
729
|
+
max?: number;
|
|
730
|
+
step?: number;
|
|
731
|
+
value?: number;
|
|
732
|
+
defaultValue?: number;
|
|
733
|
+
onChange?: (value: number) => void;
|
|
734
|
+
orientation?: 'horizontal' | 'vertical';
|
|
735
|
+
'aria-labelledby'?: string;
|
|
736
|
+
'aria-valuetext'?: string;
|
|
737
|
+
'aria-label'?: string;
|
|
738
|
+
size: SliderTheme['variants']['size'];
|
|
739
|
+
colorScheme: SliderTheme['variants']['colorScheme'];
|
|
740
|
+
};
|
|
741
|
+
declare const Slider: react__default.FC<SliderProps>;
|
|
742
|
+
|
|
715
743
|
type SwitchProps = {
|
|
716
744
|
onChange?: (value: boolean) => void;
|
|
717
745
|
} & Omit<HTMLElementProps<HTMLInputElement>, 'onChange'>;
|
|
@@ -731,10 +759,10 @@ declare const Box: react.ForwardRefExoticComponent<{
|
|
|
731
759
|
style?: react.CSSProperties | undefined;
|
|
732
760
|
asChild?: boolean | undefined;
|
|
733
761
|
} & {
|
|
734
|
-
readonly backgroundColor?: "
|
|
735
|
-
readonly borderColor?: "
|
|
736
|
-
readonly borderRadius?: ("
|
|
737
|
-
readonly borderWidth?: ("
|
|
762
|
+
readonly backgroundColor?: "white" | "black" | "body" | "primaryLight" | "primary" | "primaryDark" | "secondaryLight" | "secondary" | "secondaryDark" | "text" | "textLight" | "textDark" | "danger" | "link" | "currentColor" | undefined;
|
|
763
|
+
readonly borderColor?: "white" | "black" | "body" | "primaryLight" | "primary" | "primaryDark" | "secondaryLight" | "secondary" | "secondaryDark" | "text" | "textLight" | "textDark" | "danger" | "link" | "currentColor" | undefined;
|
|
764
|
+
readonly borderRadius?: ("small" | "medium" | "large" | "xlarge") | undefined;
|
|
765
|
+
readonly borderWidth?: ("small" | "medium" | "large") | undefined;
|
|
738
766
|
readonly border?: "none" | undefined;
|
|
739
767
|
readonly insetBlock?: 0 | undefined;
|
|
740
768
|
readonly insetBlockStart?: 0 | undefined;
|
|
@@ -742,13 +770,13 @@ declare const Box: react.ForwardRefExoticComponent<{
|
|
|
742
770
|
readonly insetInline?: 0 | undefined;
|
|
743
771
|
readonly insetInlineStart?: 0 | undefined;
|
|
744
772
|
readonly insetInlineEnd?: 0 | undefined;
|
|
745
|
-
readonly boxShadow?: ("
|
|
746
|
-
readonly color?: "
|
|
773
|
+
readonly boxShadow?: ("small" | "medium" | "large") | undefined;
|
|
774
|
+
readonly color?: "white" | "black" | "body" | "primaryLight" | "primary" | "primaryDark" | "secondaryLight" | "secondary" | "secondaryDark" | "text" | "textLight" | "textDark" | "danger" | "link" | "currentColor" | undefined;
|
|
747
775
|
readonly cursor?: "auto" | "pointer" | undefined;
|
|
748
776
|
readonly fontFamily?: "body" | "primary" | "secondary" | undefined;
|
|
749
777
|
readonly fontStyle?: "normal" | "italic" | "oblique" | undefined;
|
|
750
778
|
readonly fontWeight?: ("medium" | "regular" | "strong") | undefined;
|
|
751
|
-
readonly lineHeight?: ("
|
|
779
|
+
readonly lineHeight?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
752
780
|
readonly blockSize?: "auto" | "fit-content" | "full" | undefined;
|
|
753
781
|
readonly maxBlockSize?: "auto" | "fit-content" | "full" | undefined;
|
|
754
782
|
readonly inlineSize?: "auto" | "fit-content" | "full" | undefined;
|
|
@@ -761,9 +789,9 @@ declare const Box: react.ForwardRefExoticComponent<{
|
|
|
761
789
|
readonly textDecoration?: "none" | "overline" | "line-through" | "underline" | undefined;
|
|
762
790
|
readonly textTransform?: "lowercase" | "uppercase" | "capitalize" | undefined;
|
|
763
791
|
readonly textWrap?: "balance" | "wrap" | undefined;
|
|
764
|
-
readonly transition?: ("
|
|
792
|
+
readonly transition?: ("slow" | "normal" | "fast") | undefined;
|
|
765
793
|
readonly userSelect?: "none" | undefined;
|
|
766
|
-
readonly whiteSpace?: "
|
|
794
|
+
readonly whiteSpace?: "nowrap" | "pre" | "pre-line" | "pre-wrap" | undefined;
|
|
767
795
|
readonly wordBreak?: "break-word" | undefined;
|
|
768
796
|
readonly wordWrap?: "break-word" | undefined;
|
|
769
797
|
inset?: 0 | undefined;
|
|
@@ -786,12 +814,12 @@ declare const Box: react.ForwardRefExoticComponent<{
|
|
|
786
814
|
desktop?: "stretch" | "center" | "flex-start" | "flex-end" | undefined;
|
|
787
815
|
wide?: "stretch" | "center" | "flex-start" | "flex-end" | undefined;
|
|
788
816
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "stretch" | "center" | "flex-start" | "flex-end" | null>;
|
|
789
|
-
readonly columnGap?: (("none" | "
|
|
790
|
-
mobile?: ("none" | "
|
|
791
|
-
tablet?: ("none" | "
|
|
792
|
-
desktop?: ("none" | "
|
|
793
|
-
wide?: ("none" | "
|
|
794
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
817
|
+
readonly columnGap?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
818
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
819
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
820
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
821
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
822
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
795
823
|
readonly display?: ("none" | "flex" | "grid" | "inline-flex" | "block" | "inline" | "inline-block" | "inline-grid" | {
|
|
796
824
|
mobile?: "none" | "flex" | "grid" | "inline-flex" | "block" | "inline" | "inline-block" | "inline-grid" | undefined;
|
|
797
825
|
tablet?: "none" | "flex" | "grid" | "inline-flex" | "block" | "inline" | "inline-block" | "inline-grid" | undefined;
|
|
@@ -822,138 +850,138 @@ declare const Box: react.ForwardRefExoticComponent<{
|
|
|
822
850
|
desktop?: 0 | 1 | undefined;
|
|
823
851
|
wide?: 0 | 1 | undefined;
|
|
824
852
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, 0 | 1 | null>;
|
|
825
|
-
readonly flexWrap?: ("
|
|
826
|
-
mobile?: "
|
|
827
|
-
tablet?: "
|
|
828
|
-
desktop?: "
|
|
829
|
-
wide?: "
|
|
830
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "
|
|
831
|
-
readonly fontSize?: (("
|
|
832
|
-
mobile?: ("
|
|
833
|
-
tablet?: ("
|
|
834
|
-
desktop?: ("
|
|
835
|
-
wide?: ("
|
|
836
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("
|
|
837
|
-
readonly gap?: (("none" | "
|
|
838
|
-
mobile?: ("none" | "
|
|
839
|
-
tablet?: ("none" | "
|
|
840
|
-
desktop?: ("none" | "
|
|
841
|
-
wide?: ("none" | "
|
|
842
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
853
|
+
readonly flexWrap?: ("wrap" | "nowrap" | {
|
|
854
|
+
mobile?: "wrap" | "nowrap" | undefined;
|
|
855
|
+
tablet?: "wrap" | "nowrap" | undefined;
|
|
856
|
+
desktop?: "wrap" | "nowrap" | undefined;
|
|
857
|
+
wide?: "wrap" | "nowrap" | undefined;
|
|
858
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "wrap" | "nowrap" | null>;
|
|
859
|
+
readonly fontSize?: (("xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
860
|
+
mobile?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
861
|
+
tablet?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
862
|
+
desktop?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
863
|
+
wide?: ("xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
864
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
865
|
+
readonly gap?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
866
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
867
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
868
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
869
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
870
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
843
871
|
readonly justifyContent?: ("center" | "flex-start" | "flex-end" | "space-between" | "space-around" | {
|
|
844
872
|
mobile?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined;
|
|
845
873
|
tablet?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined;
|
|
846
874
|
desktop?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined;
|
|
847
875
|
wide?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined;
|
|
848
876
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | null>;
|
|
849
|
-
readonly marginBlockStart?: ("none" | "
|
|
850
|
-
mobile?: "none" | "
|
|
851
|
-
tablet?: "none" | "
|
|
852
|
-
desktop?: "none" | "
|
|
853
|
-
wide?: "none" | "
|
|
854
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
855
|
-
readonly marginBlockEnd?: ("none" | "
|
|
856
|
-
mobile?: "none" | "
|
|
857
|
-
tablet?: "none" | "
|
|
858
|
-
desktop?: "none" | "
|
|
859
|
-
wide?: "none" | "
|
|
860
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
861
|
-
readonly marginInlineStart?: ("none" | "
|
|
862
|
-
mobile?: "none" | "
|
|
863
|
-
tablet?: "none" | "
|
|
864
|
-
desktop?: "none" | "
|
|
865
|
-
wide?: "none" | "
|
|
866
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
867
|
-
readonly marginInlineEnd?: ("none" | "
|
|
868
|
-
mobile?: "none" | "
|
|
869
|
-
tablet?: "none" | "
|
|
870
|
-
desktop?: "none" | "
|
|
871
|
-
wide?: "none" | "
|
|
872
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
877
|
+
readonly marginBlockStart?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
878
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
879
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
880
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
881
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
882
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
883
|
+
readonly marginBlockEnd?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
884
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
885
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
886
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
887
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
888
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
889
|
+
readonly marginInlineStart?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
890
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
891
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
892
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
893
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
894
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
895
|
+
readonly marginInlineEnd?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
896
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
897
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
898
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
899
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
900
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
873
901
|
readonly outline?: ("none" | {
|
|
874
902
|
mobile?: "none" | undefined;
|
|
875
903
|
tablet?: "none" | undefined;
|
|
876
904
|
desktop?: "none" | undefined;
|
|
877
905
|
wide?: "none" | undefined;
|
|
878
906
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | null>;
|
|
879
|
-
readonly padding?: (("none" | "
|
|
880
|
-
mobile?: ("none" | "
|
|
881
|
-
tablet?: ("none" | "
|
|
882
|
-
desktop?: ("none" | "
|
|
883
|
-
wide?: ("none" | "
|
|
884
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
885
|
-
readonly paddingBlock?: (("none" | "
|
|
886
|
-
mobile?: ("none" | "
|
|
887
|
-
tablet?: ("none" | "
|
|
888
|
-
desktop?: ("none" | "
|
|
889
|
-
wide?: ("none" | "
|
|
890
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
891
|
-
readonly paddingBlockStart?: (("none" | "
|
|
892
|
-
mobile?: ("none" | "
|
|
893
|
-
tablet?: ("none" | "
|
|
894
|
-
desktop?: ("none" | "
|
|
895
|
-
wide?: ("none" | "
|
|
896
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
897
|
-
readonly paddingBlockEnd?: (("none" | "
|
|
898
|
-
mobile?: ("none" | "
|
|
899
|
-
tablet?: ("none" | "
|
|
900
|
-
desktop?: ("none" | "
|
|
901
|
-
wide?: ("none" | "
|
|
902
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
903
|
-
readonly paddingInline?: (("none" | "
|
|
904
|
-
mobile?: ("none" | "
|
|
905
|
-
tablet?: ("none" | "
|
|
906
|
-
desktop?: ("none" | "
|
|
907
|
-
wide?: ("none" | "
|
|
908
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
909
|
-
readonly paddingInlineStart?: (("none" | "
|
|
910
|
-
mobile?: ("none" | "
|
|
911
|
-
tablet?: ("none" | "
|
|
912
|
-
desktop?: ("none" | "
|
|
913
|
-
wide?: ("none" | "
|
|
914
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
915
|
-
readonly paddingInlineEnd?: (("none" | "
|
|
916
|
-
mobile?: ("none" | "
|
|
917
|
-
tablet?: ("none" | "
|
|
918
|
-
desktop?: ("none" | "
|
|
919
|
-
wide?: ("none" | "
|
|
920
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
907
|
+
readonly padding?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
908
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
909
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
910
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
911
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
912
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
913
|
+
readonly paddingBlock?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
914
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
915
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
916
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
917
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
918
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
919
|
+
readonly paddingBlockStart?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
920
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
921
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
922
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
923
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
924
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
925
|
+
readonly paddingBlockEnd?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
926
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
927
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
928
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
929
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
930
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
931
|
+
readonly paddingInline?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
932
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
933
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
934
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
935
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
936
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
937
|
+
readonly paddingInlineStart?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
938
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
939
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
940
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
941
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
942
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
943
|
+
readonly paddingInlineEnd?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
944
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
945
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
946
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
947
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
948
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
921
949
|
readonly position?: ("relative" | "fixed" | "absolute" | "sticky" | "static" | {
|
|
922
950
|
mobile?: "relative" | "fixed" | "absolute" | "sticky" | "static" | undefined;
|
|
923
951
|
tablet?: "relative" | "fixed" | "absolute" | "sticky" | "static" | undefined;
|
|
924
952
|
desktop?: "relative" | "fixed" | "absolute" | "sticky" | "static" | undefined;
|
|
925
953
|
wide?: "relative" | "fixed" | "absolute" | "sticky" | "static" | undefined;
|
|
926
954
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "relative" | "fixed" | "absolute" | "sticky" | "static" | null>;
|
|
927
|
-
readonly rowGap?: (("none" | "
|
|
928
|
-
mobile?: ("none" | "
|
|
929
|
-
tablet?: ("none" | "
|
|
930
|
-
desktop?: ("none" | "
|
|
931
|
-
wide?: ("none" | "
|
|
932
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "
|
|
955
|
+
readonly rowGap?: (("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | {
|
|
956
|
+
mobile?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
957
|
+
tablet?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
958
|
+
desktop?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
959
|
+
wide?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | undefined;
|
|
960
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge") | null>;
|
|
933
961
|
readonly textAlign?: ("left" | "right" | "center" | "justify" | {
|
|
934
962
|
mobile?: "left" | "right" | "center" | "justify" | undefined;
|
|
935
963
|
tablet?: "left" | "right" | "center" | "justify" | undefined;
|
|
936
964
|
desktop?: "left" | "right" | "center" | "justify" | undefined;
|
|
937
965
|
wide?: "left" | "right" | "center" | "justify" | undefined;
|
|
938
966
|
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "left" | "right" | "center" | "justify" | null>;
|
|
939
|
-
margin?: ("none" | "
|
|
940
|
-
mobile?: "none" | "
|
|
941
|
-
tablet?: "none" | "
|
|
942
|
-
desktop?: "none" | "
|
|
943
|
-
wide?: "none" | "
|
|
944
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
945
|
-
marginBlock?: ("none" | "
|
|
946
|
-
mobile?: "none" | "
|
|
947
|
-
tablet?: "none" | "
|
|
948
|
-
desktop?: "none" | "
|
|
949
|
-
wide?: "none" | "
|
|
950
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
951
|
-
marginInline?: ("none" | "
|
|
952
|
-
mobile?: "none" | "
|
|
953
|
-
tablet?: "none" | "
|
|
954
|
-
desktop?: "none" | "
|
|
955
|
-
wide?: "none" | "
|
|
956
|
-
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "
|
|
967
|
+
margin?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
968
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
969
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
970
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
971
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
972
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
973
|
+
marginBlock?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
974
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
975
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
976
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
977
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
978
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
979
|
+
marginInline?: ("none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | {
|
|
980
|
+
mobile?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
981
|
+
tablet?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
982
|
+
desktop?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
983
|
+
wide?: "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | undefined;
|
|
984
|
+
} | undefined) | _vanilla_extract_sprinkles.ResponsiveArray<4 | 1 | 2 | 3, "none" | "gutter" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "auto" | null>;
|
|
957
985
|
placeItems?: ("center" | "flex-start" | "flex-end" | {
|
|
958
986
|
mobile?: "center" | "flex-start" | "flex-end" | undefined;
|
|
959
987
|
tablet?: "center" | "flex-start" | "flex-end" | undefined;
|
|
@@ -1016,7 +1044,7 @@ declare const Link: react.ForwardRefExoticComponent<{
|
|
|
1016
1044
|
asChild?: boolean | undefined;
|
|
1017
1045
|
children?: React.ReactNode;
|
|
1018
1046
|
underline?: boolean | undefined;
|
|
1019
|
-
variant?: "
|
|
1047
|
+
variant?: "primary" | "secondary" | "inherit" | undefined;
|
|
1020
1048
|
} & MarginAtoms & HTMLElementProps<HTMLAnchorElement> & react.RefAttributes<HTMLAnchorElement>>;
|
|
1021
1049
|
|
|
1022
1050
|
type BlocksProviderProps = {
|
|
@@ -1093,9 +1121,17 @@ declare const useKeyboard: (key: KeyboardEvent['key'], callback: () => void, { e
|
|
|
1093
1121
|
|
|
1094
1122
|
declare const usePreventBodyScroll: (enabled?: boolean) => void;
|
|
1095
1123
|
|
|
1124
|
+
/**
|
|
1125
|
+
* Sets the `aria-hidden` attribute on this provider's root element.
|
|
1126
|
+
*
|
|
1127
|
+
* Usefull for modals and other overlays that should hide the rest of the page from screen readers
|
|
1128
|
+
* and are rendered inside their own `BlocksProvider`.
|
|
1129
|
+
*/
|
|
1130
|
+
declare const useRootAriaHidden: (hidden: boolean) => void;
|
|
1131
|
+
|
|
1096
1132
|
type Args = null | undefined | boolean | string;
|
|
1097
1133
|
declare const classnames: (...args: Args[]) => string | undefined;
|
|
1098
1134
|
|
|
1099
1135
|
declare const momotaro: Theme;
|
|
1100
1136
|
|
|
1101
|
-
export { BlocksProvider, type BlocksProviderProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Dialog, type DialogProps, Divider, type DividerProps, Heading, type HeadingProps, Inline, type InlineProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Portal, type PortalProps, Progress, type ProgressProps, Radio, type RadioProps, Select, type SelectProps, Slot, Spinner, type SpinnerProps, Stack, type StackProps, Switch, type SwitchProps, Text, type TextProps, type ThemeComponentsStyles, type ThemeTokens, atoms, breakpointQuery, classnames, createSlottable, makeComponentTheme, makeTheme, momotaro, style, useComponentStyleDefaultProps, useComponentStyles, useIsomorphicLayoutEffect, useKeyboard, usePreventBodyScroll, vars };
|
|
1137
|
+
export { BlocksProvider, type BlocksProviderProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Dialog, type DialogProps, Divider, type DividerProps, Heading, type HeadingProps, Inline, type InlineProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Portal, type PortalProps, Progress, type ProgressProps, Radio, type RadioProps, Select, type SelectProps, Slider, type SliderProps, Slot, Spinner, type SpinnerProps, Stack, type StackProps, Switch, type SwitchProps, Text, type TextProps, type ThemeComponentsStyles, type ThemeTokens, atoms, breakpointQuery, classnames, createSlottable, makeComponentTheme, makeTheme, momotaro, style, useComponentStyleDefaultProps, useComponentStyles, useIsomorphicLayoutEffect, useKeyboard, usePreventBodyScroll, useRootAriaHidden, vars };
|