@atom-learning/components 2.18.0 → 2.20.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/CHANGELOG.md +3 -9
- package/dist/components/index.d.ts +1 -0
- package/dist/components/sidedrawer/Sidedrawer.d.ts +24 -0
- package/dist/components/sidedrawer/Sidedrawer.js +1 -0
- package/dist/components/sidedrawer/Sidedrawer.styles.d.ts +44 -0
- package/dist/components/sidedrawer/Sidedrawer.styles.js +1 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.d.ts +2 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.js +1 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.d.ts +267 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.js +1 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.d.ts +267 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.js +1 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.d.ts +2 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.js +1 -0
- package/dist/components/sidedrawer/SidedrawerAccordion/index.d.ts +4 -0
- package/dist/components/sidedrawer/SidedrawerBody.d.ts +2 -0
- package/dist/components/sidedrawer/SidedrawerBody.js +1 -0
- package/dist/components/sidedrawer/SidedrawerClose.d.ts +2 -0
- package/dist/components/sidedrawer/SidedrawerClose.js +1 -0
- package/dist/components/sidedrawer/SidedrawerContent.d.ts +2 -0
- package/dist/components/sidedrawer/SidedrawerContent.js +1 -0
- package/dist/components/sidedrawer/SidedrawerFooter.d.ts +266 -0
- package/dist/components/sidedrawer/SidedrawerFooter.js +1 -0
- package/dist/components/sidedrawer/SidedrawerHeader.d.ts +2 -0
- package/dist/components/sidedrawer/SidedrawerHeader.js +1 -0
- package/dist/components/sidedrawer/SidedrawerItem.d.ts +9 -0
- package/dist/components/sidedrawer/SidedrawerItem.js +1 -0
- package/dist/components/sidedrawer/SidedrawerOverlay.d.ts +267 -0
- package/dist/components/sidedrawer/SidedrawerOverlay.js +1 -0
- package/dist/components/sidedrawer/SidedrawerTrigger.d.ts +267 -0
- package/dist/components/sidedrawer/SidedrawerTrigger.js +1 -0
- package/dist/components/sidedrawer/index.d.ts +1 -0
- package/dist/docgen.json +1 -1
- package/dist/docs/Sidedrawer.mdx +155 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/utilities/style/keyframe-animations.d.ts +8 -0
- package/dist/utilities/style/keyframe-animations.js +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Close as o}from"@radix-ui/react-dialog";import{Close as r}from"@atom-learning/icons";import e from"react";import{Icon as t}from"../icon/Icon.js";import{ActionIcon as m}from"../action-icon/ActionIcon.js";const l=()=>e.createElement(o,{asChild:!0},e.createElement(m,{theme:"neutral",appearance:"simple",label:"close",size:"md"},e.createElement(t,{is:r})));export{l as SidedrawerClose};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Content as o,Portal as a}from"@radix-ui/react-dialog";import e from"react";import{MAX_Z_INDEX as i}from"../../constants/zIndices.js";import{styled as r}from"../../stitches.js";import{SidedrawerOverlay as n}from"./SidedrawerOverlay.js";import{slideInLeft as d,slideOutLeft as l}from"../../utilities/style/keyframe-animations.js";const m=r(o,{bg:"white",boxShadow:"$2",display:"flex",flexDirection:"column",position:"fixed",top:0,left:0,height:"100vh",maxWidth:"304px",width:"100%",zIndex:i,"@allowMotion":{'&[data-state="open"]':{animation:`${d} 250ms ease-out`},'&[data-state="closed"]':{animation:`${l} 250ms ease-out`}}}),s=({children:t})=>e.createElement(a,null,e.createElement(n,{"data-testid":"sidedrawer_overlay"}),e.createElement(m,{role:"navigation"},t));export{s as SidedrawerContent};
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
export declare const SidedrawerFooter: import("@stitches/react/types/styled-component").StyledComponent<"footer", {}, {
|
|
2
|
+
sm: string;
|
|
3
|
+
md: string;
|
|
4
|
+
lg: string;
|
|
5
|
+
xl: string;
|
|
6
|
+
reducedMotion: string;
|
|
7
|
+
allowMotion: string;
|
|
8
|
+
hover: string;
|
|
9
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
10
|
+
sm: string;
|
|
11
|
+
md: string;
|
|
12
|
+
lg: string;
|
|
13
|
+
xl: string;
|
|
14
|
+
reducedMotion: string;
|
|
15
|
+
allowMotion: string;
|
|
16
|
+
hover: string;
|
|
17
|
+
}, {
|
|
18
|
+
colors: {
|
|
19
|
+
textForeground: any;
|
|
20
|
+
textSubtle: any;
|
|
21
|
+
textPlaceholder: any;
|
|
22
|
+
background: any;
|
|
23
|
+
backgroundAccent: any;
|
|
24
|
+
tonal50: any;
|
|
25
|
+
tonal100: any;
|
|
26
|
+
tonal200: any;
|
|
27
|
+
tonal300: any;
|
|
28
|
+
tonal400: any;
|
|
29
|
+
tonal500: any;
|
|
30
|
+
tonal600: any;
|
|
31
|
+
alpha100: any;
|
|
32
|
+
alpha150: any;
|
|
33
|
+
alpha200: any;
|
|
34
|
+
alpha250: any;
|
|
35
|
+
alpha600: any;
|
|
36
|
+
primaryLight: any;
|
|
37
|
+
primary: any;
|
|
38
|
+
primaryMid: any;
|
|
39
|
+
primaryDark: any;
|
|
40
|
+
secondary: any;
|
|
41
|
+
brandRed: any;
|
|
42
|
+
brandRedAccent: any;
|
|
43
|
+
brandGreen: any;
|
|
44
|
+
brandGreenAccent: any;
|
|
45
|
+
brandPurple: any;
|
|
46
|
+
brandPurpleAccent: any;
|
|
47
|
+
brandYellow: any;
|
|
48
|
+
brandYellowAccent: any;
|
|
49
|
+
successLight: any;
|
|
50
|
+
success: any;
|
|
51
|
+
successMid: any;
|
|
52
|
+
successDark: any;
|
|
53
|
+
dangerLight: any;
|
|
54
|
+
danger: any;
|
|
55
|
+
dangerMid: any;
|
|
56
|
+
dangerDark: any;
|
|
57
|
+
warningLight: any;
|
|
58
|
+
warning: any;
|
|
59
|
+
warningMid: any;
|
|
60
|
+
warningDark: any;
|
|
61
|
+
warningText: any;
|
|
62
|
+
subjectEnglish: any;
|
|
63
|
+
subjectMaths: any;
|
|
64
|
+
subjectScience: any;
|
|
65
|
+
subjectVerbalReasoning: any;
|
|
66
|
+
subjectNonVerbalReasoning: any;
|
|
67
|
+
subjectCreativeWriting: any;
|
|
68
|
+
subjectExamSkills: any;
|
|
69
|
+
};
|
|
70
|
+
space: {
|
|
71
|
+
"0": any;
|
|
72
|
+
"1": any;
|
|
73
|
+
"2": any;
|
|
74
|
+
"3": any;
|
|
75
|
+
"4": any;
|
|
76
|
+
"5": any;
|
|
77
|
+
"6": any;
|
|
78
|
+
"7": any;
|
|
79
|
+
"8": any;
|
|
80
|
+
"9": any;
|
|
81
|
+
};
|
|
82
|
+
fontSizes: {
|
|
83
|
+
xs: any;
|
|
84
|
+
sm: any;
|
|
85
|
+
md: any;
|
|
86
|
+
lg: any;
|
|
87
|
+
xl: any;
|
|
88
|
+
"2xl": any;
|
|
89
|
+
"3xl": any;
|
|
90
|
+
"4xl": any;
|
|
91
|
+
};
|
|
92
|
+
fonts: {
|
|
93
|
+
sans: any;
|
|
94
|
+
mono: any;
|
|
95
|
+
display: any;
|
|
96
|
+
body: any;
|
|
97
|
+
};
|
|
98
|
+
sizes: {
|
|
99
|
+
"0": any;
|
|
100
|
+
"1": any;
|
|
101
|
+
"2": any;
|
|
102
|
+
"3": any;
|
|
103
|
+
"4": any;
|
|
104
|
+
"5": any;
|
|
105
|
+
"6": any;
|
|
106
|
+
"7": any;
|
|
107
|
+
"8": any;
|
|
108
|
+
};
|
|
109
|
+
radii: {
|
|
110
|
+
"0": any;
|
|
111
|
+
"1": any;
|
|
112
|
+
"2": any;
|
|
113
|
+
"3": any;
|
|
114
|
+
round: any;
|
|
115
|
+
};
|
|
116
|
+
shadows: {
|
|
117
|
+
"0": any;
|
|
118
|
+
"1": any;
|
|
119
|
+
"2": any;
|
|
120
|
+
"3": any;
|
|
121
|
+
};
|
|
122
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
123
|
+
bg: (value: {
|
|
124
|
+
readonly [$$PropertyValue]: "background";
|
|
125
|
+
}) => {
|
|
126
|
+
background: {
|
|
127
|
+
readonly [$$PropertyValue]: "background";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
inset: (value: string | number | {
|
|
131
|
+
readonly [$$ScaleValue]: "space";
|
|
132
|
+
}) => {
|
|
133
|
+
top: string | number | {
|
|
134
|
+
readonly [$$ScaleValue]: "space";
|
|
135
|
+
};
|
|
136
|
+
right: string | number | {
|
|
137
|
+
readonly [$$ScaleValue]: "space";
|
|
138
|
+
};
|
|
139
|
+
bottom: string | number | {
|
|
140
|
+
readonly [$$ScaleValue]: "space";
|
|
141
|
+
};
|
|
142
|
+
left: string | number | {
|
|
143
|
+
readonly [$$ScaleValue]: "space";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
size: (value: string | number | {
|
|
147
|
+
readonly [$$ScaleValue]: "size";
|
|
148
|
+
}) => {
|
|
149
|
+
height: string | number | {
|
|
150
|
+
readonly [$$ScaleValue]: "size";
|
|
151
|
+
};
|
|
152
|
+
width: string | number | {
|
|
153
|
+
readonly [$$ScaleValue]: "size";
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
p: (value: string | number | {
|
|
157
|
+
readonly [$$ScaleValue]: "space";
|
|
158
|
+
}) => {
|
|
159
|
+
padding: string | number | {
|
|
160
|
+
readonly [$$ScaleValue]: "space";
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
pt: (value: string | number | {
|
|
164
|
+
readonly [$$ScaleValue]: "space";
|
|
165
|
+
}) => {
|
|
166
|
+
paddingTop: string | number | {
|
|
167
|
+
readonly [$$ScaleValue]: "space";
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
pr: (value: string | number | {
|
|
171
|
+
readonly [$$ScaleValue]: "space";
|
|
172
|
+
}) => {
|
|
173
|
+
paddingRight: string | number | {
|
|
174
|
+
readonly [$$ScaleValue]: "space";
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
pb: (value: string | number | {
|
|
178
|
+
readonly [$$ScaleValue]: "space";
|
|
179
|
+
}) => {
|
|
180
|
+
paddingBottom: string | number | {
|
|
181
|
+
readonly [$$ScaleValue]: "space";
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
pl: (value: string | number | {
|
|
185
|
+
readonly [$$ScaleValue]: "space";
|
|
186
|
+
}) => {
|
|
187
|
+
paddingLeft: string | number | {
|
|
188
|
+
readonly [$$ScaleValue]: "space";
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
px: (value: string | number | {
|
|
192
|
+
readonly [$$ScaleValue]: "space";
|
|
193
|
+
}) => {
|
|
194
|
+
paddingLeft: string | number | {
|
|
195
|
+
readonly [$$ScaleValue]: "space";
|
|
196
|
+
};
|
|
197
|
+
paddingRight: string | number | {
|
|
198
|
+
readonly [$$ScaleValue]: "space";
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
py: (value: string | number | {
|
|
202
|
+
readonly [$$ScaleValue]: "space";
|
|
203
|
+
}) => {
|
|
204
|
+
paddingTop: string | number | {
|
|
205
|
+
readonly [$$ScaleValue]: "space";
|
|
206
|
+
};
|
|
207
|
+
paddingBottom: string | number | {
|
|
208
|
+
readonly [$$ScaleValue]: "space";
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
m: (value: string | number | {
|
|
212
|
+
readonly [$$ScaleValue]: "space";
|
|
213
|
+
}) => {
|
|
214
|
+
margin: string | number | {
|
|
215
|
+
readonly [$$ScaleValue]: "space";
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
mt: (value: string | number | {
|
|
219
|
+
readonly [$$ScaleValue]: "space";
|
|
220
|
+
}) => {
|
|
221
|
+
marginTop: string | number | {
|
|
222
|
+
readonly [$$ScaleValue]: "space";
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
mr: (value: string | number | {
|
|
226
|
+
readonly [$$ScaleValue]: "space";
|
|
227
|
+
}) => {
|
|
228
|
+
marginRight: string | number | {
|
|
229
|
+
readonly [$$ScaleValue]: "space";
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
mb: (value: string | number | {
|
|
233
|
+
readonly [$$ScaleValue]: "space";
|
|
234
|
+
}) => {
|
|
235
|
+
marginBottom: string | number | {
|
|
236
|
+
readonly [$$ScaleValue]: "space";
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
ml: (value: string | number | {
|
|
240
|
+
readonly [$$ScaleValue]: "space";
|
|
241
|
+
}) => {
|
|
242
|
+
marginLeft: string | number | {
|
|
243
|
+
readonly [$$ScaleValue]: "space";
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
mx: (value: string | number | {
|
|
247
|
+
readonly [$$ScaleValue]: "space";
|
|
248
|
+
}) => {
|
|
249
|
+
marginLeft: string | number | {
|
|
250
|
+
readonly [$$ScaleValue]: "space";
|
|
251
|
+
};
|
|
252
|
+
marginRight: string | number | {
|
|
253
|
+
readonly [$$ScaleValue]: "space";
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
my: (value: string | number | {
|
|
257
|
+
readonly [$$ScaleValue]: "space";
|
|
258
|
+
}) => {
|
|
259
|
+
marginTop: string | number | {
|
|
260
|
+
readonly [$$ScaleValue]: "space";
|
|
261
|
+
};
|
|
262
|
+
marginBottom: string | number | {
|
|
263
|
+
readonly [$$ScaleValue]: "space";
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{styled as o}from"../../stitches.js";const t=o("footer",{alignItems:"center",borderTop:"1px solid $tonal100",bottom:0,boxShadow:"$3",display:"flex",height:"$6",justifyContent:"center",p:"$3",width:"100%"});export{t as SidedrawerFooter};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";import{styled as t}from"../../stitches.js";import{TopBar as o}from"../top-bar/TopBar.js";const d=t("header",{"> div":{width:"100%"}}),m=({children:r})=>e.createElement(d,null,e.createElement(o,{css:{mx:"$3"}},r));export{m as SidedrawerHeader};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import a from"react";import{styled as c}from"../../stitches.js";import{sidedrawerItemStyles as l}from"./Sidedrawer.styles.js";const d=c("a",l),n=c("button",l),s=({active:e,children:t,disabled:m,href:r,onClick:i,...o})=>r?a.createElement(d,{active:e,href:r,onClick:i,...o},t):a.createElement(n,{active:e,disabled:m,onClick:i,...o},t);export{s as SidedrawerItem};
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SidedrawerOverlay: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>>, {}, {
|
|
3
|
+
sm: string;
|
|
4
|
+
md: string;
|
|
5
|
+
lg: string;
|
|
6
|
+
xl: string;
|
|
7
|
+
reducedMotion: string;
|
|
8
|
+
allowMotion: string;
|
|
9
|
+
hover: string;
|
|
10
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
11
|
+
sm: string;
|
|
12
|
+
md: string;
|
|
13
|
+
lg: string;
|
|
14
|
+
xl: string;
|
|
15
|
+
reducedMotion: string;
|
|
16
|
+
allowMotion: string;
|
|
17
|
+
hover: string;
|
|
18
|
+
}, {
|
|
19
|
+
colors: {
|
|
20
|
+
textForeground: any;
|
|
21
|
+
textSubtle: any;
|
|
22
|
+
textPlaceholder: any;
|
|
23
|
+
background: any;
|
|
24
|
+
backgroundAccent: any;
|
|
25
|
+
tonal50: any;
|
|
26
|
+
tonal100: any;
|
|
27
|
+
tonal200: any;
|
|
28
|
+
tonal300: any;
|
|
29
|
+
tonal400: any;
|
|
30
|
+
tonal500: any;
|
|
31
|
+
tonal600: any;
|
|
32
|
+
alpha100: any;
|
|
33
|
+
alpha150: any;
|
|
34
|
+
alpha200: any;
|
|
35
|
+
alpha250: any;
|
|
36
|
+
alpha600: any;
|
|
37
|
+
primaryLight: any;
|
|
38
|
+
primary: any;
|
|
39
|
+
primaryMid: any;
|
|
40
|
+
primaryDark: any;
|
|
41
|
+
secondary: any;
|
|
42
|
+
brandRed: any;
|
|
43
|
+
brandRedAccent: any;
|
|
44
|
+
brandGreen: any;
|
|
45
|
+
brandGreenAccent: any;
|
|
46
|
+
brandPurple: any;
|
|
47
|
+
brandPurpleAccent: any;
|
|
48
|
+
brandYellow: any;
|
|
49
|
+
brandYellowAccent: any;
|
|
50
|
+
successLight: any;
|
|
51
|
+
success: any;
|
|
52
|
+
successMid: any;
|
|
53
|
+
successDark: any;
|
|
54
|
+
dangerLight: any;
|
|
55
|
+
danger: any;
|
|
56
|
+
dangerMid: any;
|
|
57
|
+
dangerDark: any;
|
|
58
|
+
warningLight: any;
|
|
59
|
+
warning: any;
|
|
60
|
+
warningMid: any;
|
|
61
|
+
warningDark: any;
|
|
62
|
+
warningText: any;
|
|
63
|
+
subjectEnglish: any;
|
|
64
|
+
subjectMaths: any;
|
|
65
|
+
subjectScience: any;
|
|
66
|
+
subjectVerbalReasoning: any;
|
|
67
|
+
subjectNonVerbalReasoning: any;
|
|
68
|
+
subjectCreativeWriting: any;
|
|
69
|
+
subjectExamSkills: any;
|
|
70
|
+
};
|
|
71
|
+
space: {
|
|
72
|
+
"0": any;
|
|
73
|
+
"1": any;
|
|
74
|
+
"2": any;
|
|
75
|
+
"3": any;
|
|
76
|
+
"4": any;
|
|
77
|
+
"5": any;
|
|
78
|
+
"6": any;
|
|
79
|
+
"7": any;
|
|
80
|
+
"8": any;
|
|
81
|
+
"9": any;
|
|
82
|
+
};
|
|
83
|
+
fontSizes: {
|
|
84
|
+
xs: any;
|
|
85
|
+
sm: any;
|
|
86
|
+
md: any;
|
|
87
|
+
lg: any;
|
|
88
|
+
xl: any;
|
|
89
|
+
"2xl": any;
|
|
90
|
+
"3xl": any;
|
|
91
|
+
"4xl": any;
|
|
92
|
+
};
|
|
93
|
+
fonts: {
|
|
94
|
+
sans: any;
|
|
95
|
+
mono: any;
|
|
96
|
+
display: any;
|
|
97
|
+
body: any;
|
|
98
|
+
};
|
|
99
|
+
sizes: {
|
|
100
|
+
"0": any;
|
|
101
|
+
"1": any;
|
|
102
|
+
"2": any;
|
|
103
|
+
"3": any;
|
|
104
|
+
"4": any;
|
|
105
|
+
"5": any;
|
|
106
|
+
"6": any;
|
|
107
|
+
"7": any;
|
|
108
|
+
"8": any;
|
|
109
|
+
};
|
|
110
|
+
radii: {
|
|
111
|
+
"0": any;
|
|
112
|
+
"1": any;
|
|
113
|
+
"2": any;
|
|
114
|
+
"3": any;
|
|
115
|
+
round: any;
|
|
116
|
+
};
|
|
117
|
+
shadows: {
|
|
118
|
+
"0": any;
|
|
119
|
+
"1": any;
|
|
120
|
+
"2": any;
|
|
121
|
+
"3": any;
|
|
122
|
+
};
|
|
123
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
124
|
+
bg: (value: {
|
|
125
|
+
readonly [$$PropertyValue]: "background";
|
|
126
|
+
}) => {
|
|
127
|
+
background: {
|
|
128
|
+
readonly [$$PropertyValue]: "background";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
inset: (value: string | number | {
|
|
132
|
+
readonly [$$ScaleValue]: "space";
|
|
133
|
+
}) => {
|
|
134
|
+
top: string | number | {
|
|
135
|
+
readonly [$$ScaleValue]: "space";
|
|
136
|
+
};
|
|
137
|
+
right: string | number | {
|
|
138
|
+
readonly [$$ScaleValue]: "space";
|
|
139
|
+
};
|
|
140
|
+
bottom: string | number | {
|
|
141
|
+
readonly [$$ScaleValue]: "space";
|
|
142
|
+
};
|
|
143
|
+
left: string | number | {
|
|
144
|
+
readonly [$$ScaleValue]: "space";
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
size: (value: string | number | {
|
|
148
|
+
readonly [$$ScaleValue]: "size";
|
|
149
|
+
}) => {
|
|
150
|
+
height: string | number | {
|
|
151
|
+
readonly [$$ScaleValue]: "size";
|
|
152
|
+
};
|
|
153
|
+
width: string | number | {
|
|
154
|
+
readonly [$$ScaleValue]: "size";
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
p: (value: string | number | {
|
|
158
|
+
readonly [$$ScaleValue]: "space";
|
|
159
|
+
}) => {
|
|
160
|
+
padding: string | number | {
|
|
161
|
+
readonly [$$ScaleValue]: "space";
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
pt: (value: string | number | {
|
|
165
|
+
readonly [$$ScaleValue]: "space";
|
|
166
|
+
}) => {
|
|
167
|
+
paddingTop: string | number | {
|
|
168
|
+
readonly [$$ScaleValue]: "space";
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
pr: (value: string | number | {
|
|
172
|
+
readonly [$$ScaleValue]: "space";
|
|
173
|
+
}) => {
|
|
174
|
+
paddingRight: string | number | {
|
|
175
|
+
readonly [$$ScaleValue]: "space";
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
pb: (value: string | number | {
|
|
179
|
+
readonly [$$ScaleValue]: "space";
|
|
180
|
+
}) => {
|
|
181
|
+
paddingBottom: string | number | {
|
|
182
|
+
readonly [$$ScaleValue]: "space";
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
pl: (value: string | number | {
|
|
186
|
+
readonly [$$ScaleValue]: "space";
|
|
187
|
+
}) => {
|
|
188
|
+
paddingLeft: string | number | {
|
|
189
|
+
readonly [$$ScaleValue]: "space";
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
px: (value: string | number | {
|
|
193
|
+
readonly [$$ScaleValue]: "space";
|
|
194
|
+
}) => {
|
|
195
|
+
paddingLeft: string | number | {
|
|
196
|
+
readonly [$$ScaleValue]: "space";
|
|
197
|
+
};
|
|
198
|
+
paddingRight: string | number | {
|
|
199
|
+
readonly [$$ScaleValue]: "space";
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
py: (value: string | number | {
|
|
203
|
+
readonly [$$ScaleValue]: "space";
|
|
204
|
+
}) => {
|
|
205
|
+
paddingTop: string | number | {
|
|
206
|
+
readonly [$$ScaleValue]: "space";
|
|
207
|
+
};
|
|
208
|
+
paddingBottom: string | number | {
|
|
209
|
+
readonly [$$ScaleValue]: "space";
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
m: (value: string | number | {
|
|
213
|
+
readonly [$$ScaleValue]: "space";
|
|
214
|
+
}) => {
|
|
215
|
+
margin: string | number | {
|
|
216
|
+
readonly [$$ScaleValue]: "space";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
mt: (value: string | number | {
|
|
220
|
+
readonly [$$ScaleValue]: "space";
|
|
221
|
+
}) => {
|
|
222
|
+
marginTop: string | number | {
|
|
223
|
+
readonly [$$ScaleValue]: "space";
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
mr: (value: string | number | {
|
|
227
|
+
readonly [$$ScaleValue]: "space";
|
|
228
|
+
}) => {
|
|
229
|
+
marginRight: string | number | {
|
|
230
|
+
readonly [$$ScaleValue]: "space";
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
mb: (value: string | number | {
|
|
234
|
+
readonly [$$ScaleValue]: "space";
|
|
235
|
+
}) => {
|
|
236
|
+
marginBottom: string | number | {
|
|
237
|
+
readonly [$$ScaleValue]: "space";
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
ml: (value: string | number | {
|
|
241
|
+
readonly [$$ScaleValue]: "space";
|
|
242
|
+
}) => {
|
|
243
|
+
marginLeft: string | number | {
|
|
244
|
+
readonly [$$ScaleValue]: "space";
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
mx: (value: string | number | {
|
|
248
|
+
readonly [$$ScaleValue]: "space";
|
|
249
|
+
}) => {
|
|
250
|
+
marginLeft: string | number | {
|
|
251
|
+
readonly [$$ScaleValue]: "space";
|
|
252
|
+
};
|
|
253
|
+
marginRight: string | number | {
|
|
254
|
+
readonly [$$ScaleValue]: "space";
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
my: (value: string | number | {
|
|
258
|
+
readonly [$$ScaleValue]: "space";
|
|
259
|
+
}) => {
|
|
260
|
+
marginTop: string | number | {
|
|
261
|
+
readonly [$$ScaleValue]: "space";
|
|
262
|
+
};
|
|
263
|
+
marginBottom: string | number | {
|
|
264
|
+
readonly [$$ScaleValue]: "space";
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{MAX_Z_INDEX as o}from"../../constants/zIndices.js";import{Overlay as t}from"@radix-ui/react-dialog";import{styled as a}from"../../stitches.js";import{fadeIn as e,fadeOut as i}from"../../utilities/style/keyframe-animations.js";const r=a(t,{animationFillMode:"forwards",bg:"$alpha600",cursor:"pointer",height:"100vh",left:"0",position:"fixed",top:"0",width:"100vw",zIndex:o-1,"@allowMotion":{'&[data-state="open"]':{animation:`${e} 250ms ease-out`},'&[data-state="closed"]':{animation:`${i} 550ms ease-out`}}});export{r as SidedrawerOverlay};
|