@arkitektbedriftene/fe-lib 4.3.2 → 5.1.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/elements/components/CompanyLogo.d.ts +8 -14
- package/dist/elements/elements.d.ts +1 -1
- package/dist/elements.d.ts +1 -0
- package/dist/elements.es.js +23 -23
- package/dist/icons.d.ts +1 -0
- package/dist/icons.es.js +3 -4
- package/dist/{index.esm-fa9e6ea7.js → index.esm-Dzt91gSZ.js} +29 -32
- package/dist/normalize.css.d.ts +1 -1
- package/dist/oidc/impersonate.d.ts +1 -1
- package/dist/oidc/oidc.d.ts +6 -6
- package/dist/oidc.d.ts +1 -0
- package/dist/oidc.es.js +5 -5
- package/dist/rich-text/Editor.d.ts +13 -18
- package/dist/rich-text/Plugins/Image/ImageComponent.d.ts +1 -1
- package/dist/rich-text/Plugins/Image/ImageNode.d.ts +2 -3
- package/dist/rich-text/Plugins/Image/ImagePlugin.d.ts +3 -3
- package/dist/rich-text/Plugins/LinkInsertPlugin.d.ts +3 -3
- package/dist/rich-text/Plugins/LinkTargetNode.d.ts +2 -2
- package/dist/rich-text/Plugins/ParsePlugin.d.ts +2 -2
- package/dist/rich-text/Plugins/RutineLinkNode.d.ts +12 -12
- package/dist/rich-text/Toolbar/Toolbar.d.ts +3 -119
- package/dist/rich-text/config.d.ts +9 -8
- package/dist/rich-text/editorContext.d.ts +7 -7
- package/dist/rich-text/getSelectedNode.d.ts +1 -1
- package/dist/rich-text/state.d.ts +5 -5
- package/dist/rich-text/styles.d.ts +100 -94
- package/dist/rich-text/theme.d.ts +1 -1
- package/dist/rich-text/trim.d.ts +3 -3
- package/dist/rich-text.d.ts +1 -0
- package/dist/rich-text.es.js +452 -432
- package/dist/ui/components/Alert.d.ts +95 -96
- package/dist/ui/components/Avatar.d.ts +97 -215
- package/dist/ui/components/Badge.d.ts +94 -94
- package/dist/ui/components/Box.d.ts +94 -94
- package/dist/ui/components/Button.d.ts +95 -96
- package/dist/ui/components/Card.d.ts +94 -94
- package/dist/ui/components/Dialog.d.ts +284 -400
- package/dist/ui/components/Form/Checkbox.d.ts +97 -216
- package/dist/ui/components/Form/Combobox.d.ts +2 -2
- package/dist/ui/components/Form/ReactSelect.d.ts +4 -2
- package/dist/ui/components/Form/Select.d.ts +3 -3
- package/dist/ui/components/Form/Switch.d.ts +195 -549
- package/dist/ui/components/Form/TextArea.d.ts +96 -97
- package/dist/ui/components/Form/TextInput.d.ts +96 -97
- package/dist/ui/components/Form/text.d.ts +188 -188
- package/dist/ui/components/Menu/DropdownMenu.d.ts +287 -287
- package/dist/ui/components/Menu/Menu.d.ts +281 -281
- package/dist/ui/components/NavBar.d.ts +98 -222
- package/dist/ui/components/OverlayCard.d.ts +94 -95
- package/dist/ui/components/Popover.d.ts +7 -124
- package/dist/ui/components/Spinner.d.ts +95 -96
- package/dist/ui/components/Stack.d.ts +95 -95
- package/dist/ui/components/Toolbar.d.ts +381 -382
- package/dist/ui/stitches.config.d.ts +569 -568
- package/dist/ui.css.d.ts +1 -1
- package/dist/ui.d.ts +1 -0
- package/dist/ui.es.js +54 -55
- package/package.json +5 -17
- package/dist/colors/colors.d.ts +0 -18
- package/dist/colors.d.ts +0 -1
- package/dist/colors.es.js +0 -20
- package/dist/hooks/hooks.d.ts +0 -2
- package/dist/hooks.d.ts +0 -1
- package/dist/hooks.es.js +0 -4
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +0 -4
- /package/dist/{stitches.config-00c23cdb.js → stitches.config-CEYOm13b.js} +0 -0
|
@@ -1,596 +1,242 @@
|
|
|
1
|
+
import { Stack } from '../Stack';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
1
3
|
import * as RSwitch from "@radix-ui/react-switch";
|
|
2
|
-
import
|
|
3
|
-
import type { ComponentProps } from "react";
|
|
4
|
-
declare const Root: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<RSwitch.SwitchProps & import("react").RefAttributes<HTMLButtonElement>>, {}, {
|
|
4
|
+
declare const Root: import('@stitches/react/types/styled-component').StyledComponent<import('react').ForwardRefExoticComponent<RSwitch.SwitchProps & import('react').RefAttributes<HTMLButtonElement>>, {}, {
|
|
5
5
|
lg: "(min-width: 1200px)";
|
|
6
6
|
print: "print";
|
|
7
|
-
}, import(
|
|
7
|
+
}, import('@stitches/react/types/css-util').CSS<{
|
|
8
8
|
lg: "(min-width: 1200px)";
|
|
9
9
|
print: "print";
|
|
10
10
|
}, {
|
|
11
11
|
colors: {
|
|
12
|
-
gray50:
|
|
13
|
-
gray100:
|
|
14
|
-
gray200:
|
|
15
|
-
gray300:
|
|
16
|
-
gray400:
|
|
17
|
-
gray500:
|
|
18
|
-
gray600:
|
|
19
|
-
gray700:
|
|
20
|
-
gray800:
|
|
21
|
-
gray900:
|
|
22
|
-
blue50:
|
|
23
|
-
blue100:
|
|
24
|
-
blue200:
|
|
25
|
-
blue300:
|
|
26
|
-
blue400:
|
|
27
|
-
blue500:
|
|
28
|
-
blue600:
|
|
29
|
-
blue700:
|
|
30
|
-
blue800:
|
|
31
|
-
blue900:
|
|
32
|
-
yellow50:
|
|
33
|
-
yellow100:
|
|
34
|
-
yellow200:
|
|
35
|
-
yellow300:
|
|
36
|
-
yellow400:
|
|
37
|
-
yellow500:
|
|
38
|
-
yellow600:
|
|
39
|
-
yellow700:
|
|
40
|
-
yellow800:
|
|
41
|
-
yellow900:
|
|
42
|
-
orange500:
|
|
43
|
-
red50:
|
|
44
|
-
red100:
|
|
45
|
-
red200:
|
|
46
|
-
red300:
|
|
47
|
-
red400:
|
|
48
|
-
red500:
|
|
49
|
-
red600:
|
|
50
|
-
red700:
|
|
51
|
-
red800:
|
|
52
|
-
red900:
|
|
53
|
-
green50:
|
|
54
|
-
green100:
|
|
55
|
-
green200:
|
|
56
|
-
green300:
|
|
57
|
-
green400:
|
|
58
|
-
green500:
|
|
59
|
-
green600:
|
|
60
|
-
green700:
|
|
61
|
-
green800:
|
|
62
|
-
green900:
|
|
63
|
-
primaryTextOnLightBg:
|
|
64
|
-
primaryBg:
|
|
65
|
-
primaryBgHover:
|
|
66
|
-
primaryTextOnWhite:
|
|
67
|
-
bodyGray:
|
|
68
|
-
hoverDarker:
|
|
69
|
-
borderDarker:
|
|
70
|
-
selectedDarker:
|
|
71
|
-
selectedOnBodyGray:
|
|
72
|
-
darkGrayBg:
|
|
73
|
-
border:
|
|
74
|
-
text:
|
|
75
|
-
secondaryText:
|
|
76
|
-
focusRing:
|
|
12
|
+
gray50: "#F9FAFA";
|
|
13
|
+
gray100: "#EBEEEE";
|
|
14
|
+
gray200: "#CFD6D7";
|
|
15
|
+
gray300: "#B3BEC0";
|
|
16
|
+
gray400: "#97A6A8";
|
|
17
|
+
gray500: "#7C8E91";
|
|
18
|
+
gray600: "#627578";
|
|
19
|
+
gray700: "#4F5F61";
|
|
20
|
+
gray800: "#414D4F";
|
|
21
|
+
gray900: "#2C3435";
|
|
22
|
+
blue50: "#F7FBFB";
|
|
23
|
+
blue100: "#E3F0F2";
|
|
24
|
+
blue200: "#BADADF";
|
|
25
|
+
blue300: "#92C5CC";
|
|
26
|
+
blue400: "#67AEB8";
|
|
27
|
+
blue500: "#3C97A3";
|
|
28
|
+
blue600: "#1F7D8A";
|
|
29
|
+
blue700: "#19656F";
|
|
30
|
+
blue800: "#14525B";
|
|
31
|
+
blue900: "#0E383E";
|
|
32
|
+
yellow50: "#FDFAEF";
|
|
33
|
+
yellow100: "#F9EDCA";
|
|
34
|
+
yellow200: "#EFD27A";
|
|
35
|
+
yellow300: "#E5B626";
|
|
36
|
+
yellow400: "#C89E1C";
|
|
37
|
+
yellow500: "#AA8618";
|
|
38
|
+
yellow600: "#8C6E14";
|
|
39
|
+
yellow700: "#715910";
|
|
40
|
+
yellow800: "#5C490D";
|
|
41
|
+
yellow900: "#3E3109";
|
|
42
|
+
orange500: "#D1721C";
|
|
43
|
+
red50: "#FDF9F9";
|
|
44
|
+
red100: "#F7EBEB";
|
|
45
|
+
red200: "#EBCECD";
|
|
46
|
+
red300: "#DFB1B0";
|
|
47
|
+
red400: "#D39392";
|
|
48
|
+
red500: "#C67473";
|
|
49
|
+
red600: "#B85250";
|
|
50
|
+
red700: "#A92F2D";
|
|
51
|
+
red800: "#901F1E";
|
|
52
|
+
red900: "#631614";
|
|
53
|
+
green50: "#F8FAF9";
|
|
54
|
+
green100: "#E7F0EA";
|
|
55
|
+
green200: "#C5D9CB";
|
|
56
|
+
green300: "#A4C4AD";
|
|
57
|
+
green400: "#82AD8D";
|
|
58
|
+
green500: "#60976F";
|
|
59
|
+
green600: "#3C7F4E";
|
|
60
|
+
green700: "#296839";
|
|
61
|
+
green800: "#21552F";
|
|
62
|
+
green900: "#163920";
|
|
63
|
+
primaryTextOnLightBg: "#194b58";
|
|
64
|
+
primaryBg: "$blue600";
|
|
65
|
+
primaryBgHover: "$blue700";
|
|
66
|
+
primaryTextOnWhite: "$blue600";
|
|
67
|
+
bodyGray: "$gray100";
|
|
68
|
+
hoverDarker: "hsla(214deg, 25%, 21%, 0.06)";
|
|
69
|
+
borderDarker: "hsla(214deg, 25%, 21%, 0.1)";
|
|
70
|
+
selectedDarker: "hsla(214deg, 25%, 21%, 0.06)";
|
|
71
|
+
selectedOnBodyGray: "hsl(214deg, 35%, 80%)";
|
|
72
|
+
darkGrayBg: "#1f2937";
|
|
73
|
+
border: "hsl(214deg, 25%, 80%)";
|
|
74
|
+
text: "#1f2937";
|
|
75
|
+
secondaryText: "$gray500";
|
|
76
|
+
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
77
77
|
};
|
|
78
78
|
fontSizes: {
|
|
79
|
-
xs:
|
|
80
|
-
sm:
|
|
81
|
-
md:
|
|
82
|
-
lg:
|
|
83
|
-
xl:
|
|
84
|
-
"2xl":
|
|
85
|
-
"3xl":
|
|
79
|
+
xs: "0.75rem";
|
|
80
|
+
sm: "0.875rem";
|
|
81
|
+
md: "1rem";
|
|
82
|
+
lg: "1.125rem";
|
|
83
|
+
xl: "1.25rem";
|
|
84
|
+
"2xl": "1.5rem";
|
|
85
|
+
"3xl": "1.875rem";
|
|
86
86
|
};
|
|
87
87
|
fontWeights: {
|
|
88
|
-
normal:
|
|
89
|
-
medium:
|
|
90
|
-
bold:
|
|
88
|
+
normal: "var(--ui-font-weight-normal)";
|
|
89
|
+
medium: "var(--ui-font-weight-semibold)";
|
|
90
|
+
bold: "var(--ui-font-weight-bold)";
|
|
91
91
|
};
|
|
92
92
|
space: {
|
|
93
|
-
1:
|
|
94
|
-
2:
|
|
95
|
-
3:
|
|
96
|
-
4:
|
|
97
|
-
6:
|
|
98
|
-
8:
|
|
93
|
+
1: "0.25rem";
|
|
94
|
+
2: "0.5rem";
|
|
95
|
+
3: "0.75rem";
|
|
96
|
+
4: "1rem";
|
|
97
|
+
6: "1.5rem";
|
|
98
|
+
8: "2rem";
|
|
99
99
|
};
|
|
100
100
|
shadows: {
|
|
101
|
-
xs:
|
|
102
|
-
sm:
|
|
103
|
-
md:
|
|
104
|
-
lg:
|
|
105
|
-
overlayCard:
|
|
101
|
+
xs: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
|
|
102
|
+
sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
103
|
+
md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
104
|
+
lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
105
|
+
overlayCard: "0 5px 50px 0px rgb(0 0 0 / 0.15), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
106
106
|
};
|
|
107
107
|
radii: {
|
|
108
|
-
xs:
|
|
109
|
-
sm:
|
|
110
|
-
md:
|
|
111
|
-
mdmd:
|
|
112
|
-
full:
|
|
108
|
+
xs: "0.125rem";
|
|
109
|
+
sm: "0.25rem";
|
|
110
|
+
md: "0.5rem";
|
|
111
|
+
mdmd: "calc(0.5rem - 0.125rem)";
|
|
112
|
+
full: "9999px";
|
|
113
113
|
};
|
|
114
114
|
zIndices: {
|
|
115
115
|
toast: number;
|
|
116
116
|
overlayCard: number;
|
|
117
117
|
};
|
|
118
|
-
}, import(
|
|
119
|
-
declare const Label: import(
|
|
118
|
+
}, import('@stitches/react/types/config').DefaultThemeMap, {}>>;
|
|
119
|
+
declare const Label: import('@stitches/react/types/styled-component').StyledComponent<"div", {
|
|
120
120
|
size?: "sm" | "md" | "lg" | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
lg: "(min-width: 1200px)";
|
|
123
123
|
print: "print";
|
|
124
|
-
}, import(
|
|
124
|
+
}, import('@stitches/react/types/css-util').CSS<{
|
|
125
125
|
lg: "(min-width: 1200px)";
|
|
126
126
|
print: "print";
|
|
127
127
|
}, {
|
|
128
128
|
colors: {
|
|
129
|
-
gray50:
|
|
130
|
-
gray100:
|
|
131
|
-
gray200:
|
|
132
|
-
gray300:
|
|
133
|
-
gray400:
|
|
134
|
-
gray500:
|
|
135
|
-
gray600:
|
|
136
|
-
gray700:
|
|
137
|
-
gray800:
|
|
138
|
-
gray900:
|
|
139
|
-
blue50:
|
|
140
|
-
blue100:
|
|
141
|
-
blue200:
|
|
142
|
-
blue300:
|
|
143
|
-
blue400:
|
|
144
|
-
blue500:
|
|
145
|
-
blue600:
|
|
146
|
-
blue700:
|
|
147
|
-
blue800:
|
|
148
|
-
blue900:
|
|
149
|
-
yellow50:
|
|
150
|
-
yellow100:
|
|
151
|
-
yellow200:
|
|
152
|
-
yellow300:
|
|
153
|
-
yellow400:
|
|
154
|
-
yellow500:
|
|
155
|
-
yellow600:
|
|
156
|
-
yellow700:
|
|
157
|
-
yellow800:
|
|
158
|
-
yellow900:
|
|
159
|
-
orange500:
|
|
160
|
-
red50:
|
|
161
|
-
red100:
|
|
162
|
-
red200:
|
|
163
|
-
red300:
|
|
164
|
-
red400:
|
|
165
|
-
red500:
|
|
166
|
-
red600:
|
|
167
|
-
red700:
|
|
168
|
-
red800:
|
|
169
|
-
red900:
|
|
170
|
-
green50:
|
|
171
|
-
green100:
|
|
172
|
-
green200:
|
|
173
|
-
green300:
|
|
174
|
-
green400:
|
|
175
|
-
green500:
|
|
176
|
-
green600:
|
|
177
|
-
green700:
|
|
178
|
-
green800:
|
|
179
|
-
green900:
|
|
180
|
-
primaryTextOnLightBg:
|
|
181
|
-
primaryBg:
|
|
182
|
-
primaryBgHover:
|
|
183
|
-
primaryTextOnWhite:
|
|
184
|
-
bodyGray:
|
|
185
|
-
hoverDarker:
|
|
186
|
-
borderDarker:
|
|
187
|
-
selectedDarker:
|
|
188
|
-
selectedOnBodyGray:
|
|
189
|
-
darkGrayBg:
|
|
190
|
-
border:
|
|
191
|
-
text:
|
|
192
|
-
secondaryText:
|
|
193
|
-
focusRing:
|
|
129
|
+
gray50: "#F9FAFA";
|
|
130
|
+
gray100: "#EBEEEE";
|
|
131
|
+
gray200: "#CFD6D7";
|
|
132
|
+
gray300: "#B3BEC0";
|
|
133
|
+
gray400: "#97A6A8";
|
|
134
|
+
gray500: "#7C8E91";
|
|
135
|
+
gray600: "#627578";
|
|
136
|
+
gray700: "#4F5F61";
|
|
137
|
+
gray800: "#414D4F";
|
|
138
|
+
gray900: "#2C3435";
|
|
139
|
+
blue50: "#F7FBFB";
|
|
140
|
+
blue100: "#E3F0F2";
|
|
141
|
+
blue200: "#BADADF";
|
|
142
|
+
blue300: "#92C5CC";
|
|
143
|
+
blue400: "#67AEB8";
|
|
144
|
+
blue500: "#3C97A3";
|
|
145
|
+
blue600: "#1F7D8A";
|
|
146
|
+
blue700: "#19656F";
|
|
147
|
+
blue800: "#14525B";
|
|
148
|
+
blue900: "#0E383E";
|
|
149
|
+
yellow50: "#FDFAEF";
|
|
150
|
+
yellow100: "#F9EDCA";
|
|
151
|
+
yellow200: "#EFD27A";
|
|
152
|
+
yellow300: "#E5B626";
|
|
153
|
+
yellow400: "#C89E1C";
|
|
154
|
+
yellow500: "#AA8618";
|
|
155
|
+
yellow600: "#8C6E14";
|
|
156
|
+
yellow700: "#715910";
|
|
157
|
+
yellow800: "#5C490D";
|
|
158
|
+
yellow900: "#3E3109";
|
|
159
|
+
orange500: "#D1721C";
|
|
160
|
+
red50: "#FDF9F9";
|
|
161
|
+
red100: "#F7EBEB";
|
|
162
|
+
red200: "#EBCECD";
|
|
163
|
+
red300: "#DFB1B0";
|
|
164
|
+
red400: "#D39392";
|
|
165
|
+
red500: "#C67473";
|
|
166
|
+
red600: "#B85250";
|
|
167
|
+
red700: "#A92F2D";
|
|
168
|
+
red800: "#901F1E";
|
|
169
|
+
red900: "#631614";
|
|
170
|
+
green50: "#F8FAF9";
|
|
171
|
+
green100: "#E7F0EA";
|
|
172
|
+
green200: "#C5D9CB";
|
|
173
|
+
green300: "#A4C4AD";
|
|
174
|
+
green400: "#82AD8D";
|
|
175
|
+
green500: "#60976F";
|
|
176
|
+
green600: "#3C7F4E";
|
|
177
|
+
green700: "#296839";
|
|
178
|
+
green800: "#21552F";
|
|
179
|
+
green900: "#163920";
|
|
180
|
+
primaryTextOnLightBg: "#194b58";
|
|
181
|
+
primaryBg: "$blue600";
|
|
182
|
+
primaryBgHover: "$blue700";
|
|
183
|
+
primaryTextOnWhite: "$blue600";
|
|
184
|
+
bodyGray: "$gray100";
|
|
185
|
+
hoverDarker: "hsla(214deg, 25%, 21%, 0.06)";
|
|
186
|
+
borderDarker: "hsla(214deg, 25%, 21%, 0.1)";
|
|
187
|
+
selectedDarker: "hsla(214deg, 25%, 21%, 0.06)";
|
|
188
|
+
selectedOnBodyGray: "hsl(214deg, 35%, 80%)";
|
|
189
|
+
darkGrayBg: "#1f2937";
|
|
190
|
+
border: "hsl(214deg, 25%, 80%)";
|
|
191
|
+
text: "#1f2937";
|
|
192
|
+
secondaryText: "$gray500";
|
|
193
|
+
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
194
194
|
};
|
|
195
195
|
fontSizes: {
|
|
196
|
-
xs:
|
|
197
|
-
sm:
|
|
198
|
-
md:
|
|
199
|
-
lg:
|
|
200
|
-
xl:
|
|
201
|
-
"2xl":
|
|
202
|
-
"3xl":
|
|
196
|
+
xs: "0.75rem";
|
|
197
|
+
sm: "0.875rem";
|
|
198
|
+
md: "1rem";
|
|
199
|
+
lg: "1.125rem";
|
|
200
|
+
xl: "1.25rem";
|
|
201
|
+
"2xl": "1.5rem";
|
|
202
|
+
"3xl": "1.875rem";
|
|
203
203
|
};
|
|
204
204
|
fontWeights: {
|
|
205
|
-
normal:
|
|
206
|
-
medium:
|
|
207
|
-
bold:
|
|
205
|
+
normal: "var(--ui-font-weight-normal)";
|
|
206
|
+
medium: "var(--ui-font-weight-semibold)";
|
|
207
|
+
bold: "var(--ui-font-weight-bold)";
|
|
208
208
|
};
|
|
209
209
|
space: {
|
|
210
|
-
1:
|
|
211
|
-
2:
|
|
212
|
-
3:
|
|
213
|
-
4:
|
|
214
|
-
6:
|
|
215
|
-
8:
|
|
210
|
+
1: "0.25rem";
|
|
211
|
+
2: "0.5rem";
|
|
212
|
+
3: "0.75rem";
|
|
213
|
+
4: "1rem";
|
|
214
|
+
6: "1.5rem";
|
|
215
|
+
8: "2rem";
|
|
216
216
|
};
|
|
217
217
|
shadows: {
|
|
218
|
-
xs:
|
|
219
|
-
sm:
|
|
220
|
-
md:
|
|
221
|
-
lg:
|
|
222
|
-
overlayCard:
|
|
218
|
+
xs: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
|
|
219
|
+
sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
220
|
+
md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
221
|
+
lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
222
|
+
overlayCard: "0 5px 50px 0px rgb(0 0 0 / 0.15), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
223
223
|
};
|
|
224
224
|
radii: {
|
|
225
|
-
xs:
|
|
226
|
-
sm:
|
|
227
|
-
md:
|
|
228
|
-
mdmd:
|
|
229
|
-
full:
|
|
225
|
+
xs: "0.125rem";
|
|
226
|
+
sm: "0.25rem";
|
|
227
|
+
md: "0.5rem";
|
|
228
|
+
mdmd: "calc(0.5rem - 0.125rem)";
|
|
229
|
+
full: "9999px";
|
|
230
230
|
};
|
|
231
231
|
zIndices: {
|
|
232
232
|
toast: number;
|
|
233
233
|
overlayCard: number;
|
|
234
234
|
};
|
|
235
|
-
}, import(
|
|
235
|
+
}, import('@stitches/react/types/config').DefaultThemeMap, {}>>;
|
|
236
236
|
export declare const Switch: ({ label, stackProps, labelProps, size, ...props }: {
|
|
237
|
-
label?: string
|
|
238
|
-
stackProps?:
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}, {
|
|
243
|
-
lg: "(min-width: 1200px)";
|
|
244
|
-
print: "print";
|
|
245
|
-
}> & {
|
|
246
|
-
css?: import("@stitches/react/types/css-util").CSS<{
|
|
247
|
-
lg: "(min-width: 1200px)";
|
|
248
|
-
print: "print";
|
|
249
|
-
}, {
|
|
250
|
-
colors: {
|
|
251
|
-
gray50: string;
|
|
252
|
-
gray100: string;
|
|
253
|
-
gray200: string;
|
|
254
|
-
gray300: string;
|
|
255
|
-
gray400: string;
|
|
256
|
-
gray500: string;
|
|
257
|
-
gray600: string;
|
|
258
|
-
gray700: string;
|
|
259
|
-
gray800: string;
|
|
260
|
-
gray900: string;
|
|
261
|
-
blue50: string;
|
|
262
|
-
blue100: string;
|
|
263
|
-
blue200: string;
|
|
264
|
-
blue300: string;
|
|
265
|
-
blue400: string;
|
|
266
|
-
blue500: string;
|
|
267
|
-
blue600: string;
|
|
268
|
-
blue700: string;
|
|
269
|
-
blue800: string;
|
|
270
|
-
blue900: string;
|
|
271
|
-
yellow50: string;
|
|
272
|
-
yellow100: string;
|
|
273
|
-
yellow200: string;
|
|
274
|
-
yellow300: string;
|
|
275
|
-
yellow400: string;
|
|
276
|
-
yellow500: string;
|
|
277
|
-
yellow600: string;
|
|
278
|
-
yellow700: string;
|
|
279
|
-
yellow800: string;
|
|
280
|
-
yellow900: string;
|
|
281
|
-
orange500: string;
|
|
282
|
-
red50: string;
|
|
283
|
-
red100: string;
|
|
284
|
-
red200: string;
|
|
285
|
-
red300: string;
|
|
286
|
-
red400: string;
|
|
287
|
-
red500: string;
|
|
288
|
-
red600: string;
|
|
289
|
-
red700: string;
|
|
290
|
-
red800: string;
|
|
291
|
-
red900: string;
|
|
292
|
-
green50: string;
|
|
293
|
-
green100: string;
|
|
294
|
-
green200: string;
|
|
295
|
-
green300: string;
|
|
296
|
-
green400: string;
|
|
297
|
-
green500: string;
|
|
298
|
-
green600: string;
|
|
299
|
-
green700: string;
|
|
300
|
-
green800: string;
|
|
301
|
-
green900: string;
|
|
302
|
-
primaryTextOnLightBg: string;
|
|
303
|
-
primaryBg: string;
|
|
304
|
-
primaryBgHover: string;
|
|
305
|
-
primaryTextOnWhite: string;
|
|
306
|
-
bodyGray: string;
|
|
307
|
-
hoverDarker: string;
|
|
308
|
-
borderDarker: string;
|
|
309
|
-
selectedDarker: string;
|
|
310
|
-
selectedOnBodyGray: string;
|
|
311
|
-
darkGrayBg: string;
|
|
312
|
-
border: string;
|
|
313
|
-
text: string;
|
|
314
|
-
secondaryText: string;
|
|
315
|
-
focusRing: string;
|
|
316
|
-
};
|
|
317
|
-
fontSizes: {
|
|
318
|
-
xs: string;
|
|
319
|
-
sm: string;
|
|
320
|
-
md: string;
|
|
321
|
-
lg: string;
|
|
322
|
-
xl: string;
|
|
323
|
-
"2xl": string;
|
|
324
|
-
"3xl": string;
|
|
325
|
-
};
|
|
326
|
-
fontWeights: {
|
|
327
|
-
normal: string;
|
|
328
|
-
medium: string;
|
|
329
|
-
bold: string;
|
|
330
|
-
};
|
|
331
|
-
space: {
|
|
332
|
-
1: string;
|
|
333
|
-
2: string;
|
|
334
|
-
3: string;
|
|
335
|
-
4: string;
|
|
336
|
-
6: string;
|
|
337
|
-
8: string;
|
|
338
|
-
};
|
|
339
|
-
shadows: {
|
|
340
|
-
xs: string;
|
|
341
|
-
sm: string;
|
|
342
|
-
md: string;
|
|
343
|
-
lg: string;
|
|
344
|
-
overlayCard: string;
|
|
345
|
-
};
|
|
346
|
-
radii: {
|
|
347
|
-
xs: string;
|
|
348
|
-
sm: string;
|
|
349
|
-
md: string;
|
|
350
|
-
mdmd: string;
|
|
351
|
-
full: string;
|
|
352
|
-
};
|
|
353
|
-
zIndices: {
|
|
354
|
-
toast: number;
|
|
355
|
-
overlayCard: number;
|
|
356
|
-
};
|
|
357
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}> | undefined;
|
|
358
|
-
}) | undefined;
|
|
359
|
-
labelProps?: (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "css" | "size"> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
360
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
361
|
-
}, {
|
|
362
|
-
lg: "(min-width: 1200px)";
|
|
363
|
-
print: "print";
|
|
364
|
-
}> & {
|
|
365
|
-
css?: import("@stitches/react/types/css-util").CSS<{
|
|
366
|
-
lg: "(min-width: 1200px)";
|
|
367
|
-
print: "print";
|
|
368
|
-
}, {
|
|
369
|
-
colors: {
|
|
370
|
-
gray50: string;
|
|
371
|
-
gray100: string;
|
|
372
|
-
gray200: string;
|
|
373
|
-
gray300: string;
|
|
374
|
-
gray400: string;
|
|
375
|
-
gray500: string;
|
|
376
|
-
gray600: string;
|
|
377
|
-
gray700: string;
|
|
378
|
-
gray800: string;
|
|
379
|
-
gray900: string;
|
|
380
|
-
blue50: string;
|
|
381
|
-
blue100: string;
|
|
382
|
-
blue200: string;
|
|
383
|
-
blue300: string;
|
|
384
|
-
blue400: string;
|
|
385
|
-
blue500: string;
|
|
386
|
-
blue600: string;
|
|
387
|
-
blue700: string;
|
|
388
|
-
blue800: string;
|
|
389
|
-
blue900: string;
|
|
390
|
-
yellow50: string;
|
|
391
|
-
yellow100: string;
|
|
392
|
-
yellow200: string;
|
|
393
|
-
yellow300: string;
|
|
394
|
-
yellow400: string;
|
|
395
|
-
yellow500: string;
|
|
396
|
-
yellow600: string;
|
|
397
|
-
yellow700: string;
|
|
398
|
-
yellow800: string;
|
|
399
|
-
yellow900: string;
|
|
400
|
-
orange500: string;
|
|
401
|
-
red50: string;
|
|
402
|
-
red100: string;
|
|
403
|
-
red200: string;
|
|
404
|
-
red300: string;
|
|
405
|
-
red400: string;
|
|
406
|
-
red500: string;
|
|
407
|
-
red600: string;
|
|
408
|
-
red700: string;
|
|
409
|
-
red800: string;
|
|
410
|
-
red900: string;
|
|
411
|
-
green50: string;
|
|
412
|
-
green100: string;
|
|
413
|
-
green200: string;
|
|
414
|
-
green300: string;
|
|
415
|
-
green400: string;
|
|
416
|
-
green500: string;
|
|
417
|
-
green600: string;
|
|
418
|
-
green700: string;
|
|
419
|
-
green800: string;
|
|
420
|
-
green900: string;
|
|
421
|
-
primaryTextOnLightBg: string;
|
|
422
|
-
primaryBg: string;
|
|
423
|
-
primaryBgHover: string;
|
|
424
|
-
primaryTextOnWhite: string;
|
|
425
|
-
bodyGray: string;
|
|
426
|
-
hoverDarker: string;
|
|
427
|
-
borderDarker: string;
|
|
428
|
-
selectedDarker: string;
|
|
429
|
-
selectedOnBodyGray: string;
|
|
430
|
-
darkGrayBg: string;
|
|
431
|
-
border: string;
|
|
432
|
-
text: string;
|
|
433
|
-
secondaryText: string;
|
|
434
|
-
focusRing: string;
|
|
435
|
-
};
|
|
436
|
-
fontSizes: {
|
|
437
|
-
xs: string;
|
|
438
|
-
sm: string;
|
|
439
|
-
md: string;
|
|
440
|
-
lg: string;
|
|
441
|
-
xl: string;
|
|
442
|
-
"2xl": string;
|
|
443
|
-
"3xl": string;
|
|
444
|
-
};
|
|
445
|
-
fontWeights: {
|
|
446
|
-
normal: string;
|
|
447
|
-
medium: string;
|
|
448
|
-
bold: string;
|
|
449
|
-
};
|
|
450
|
-
space: {
|
|
451
|
-
1: string;
|
|
452
|
-
2: string;
|
|
453
|
-
3: string;
|
|
454
|
-
4: string;
|
|
455
|
-
6: string;
|
|
456
|
-
8: string;
|
|
457
|
-
};
|
|
458
|
-
shadows: {
|
|
459
|
-
xs: string;
|
|
460
|
-
sm: string;
|
|
461
|
-
md: string;
|
|
462
|
-
lg: string;
|
|
463
|
-
overlayCard: string;
|
|
464
|
-
};
|
|
465
|
-
radii: {
|
|
466
|
-
xs: string;
|
|
467
|
-
sm: string;
|
|
468
|
-
md: string;
|
|
469
|
-
mdmd: string;
|
|
470
|
-
full: string;
|
|
471
|
-
};
|
|
472
|
-
zIndices: {
|
|
473
|
-
toast: number;
|
|
474
|
-
overlayCard: number;
|
|
475
|
-
};
|
|
476
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}> | undefined;
|
|
477
|
-
}) | undefined;
|
|
478
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
479
|
-
} & Omit<RSwitch.SwitchProps & import("react").RefAttributes<HTMLButtonElement>, "css"> & import("@stitches/react/types/styled-component").TransformProps<{}, {
|
|
480
|
-
lg: "(min-width: 1200px)";
|
|
481
|
-
print: "print";
|
|
482
|
-
}> & {
|
|
483
|
-
css?: import("@stitches/react/types/css-util").CSS<{
|
|
484
|
-
lg: "(min-width: 1200px)";
|
|
485
|
-
print: "print";
|
|
486
|
-
}, {
|
|
487
|
-
colors: {
|
|
488
|
-
gray50: string;
|
|
489
|
-
gray100: string;
|
|
490
|
-
gray200: string;
|
|
491
|
-
gray300: string;
|
|
492
|
-
gray400: string;
|
|
493
|
-
gray500: string;
|
|
494
|
-
gray600: string;
|
|
495
|
-
gray700: string;
|
|
496
|
-
gray800: string;
|
|
497
|
-
gray900: string;
|
|
498
|
-
blue50: string;
|
|
499
|
-
blue100: string;
|
|
500
|
-
blue200: string;
|
|
501
|
-
blue300: string;
|
|
502
|
-
blue400: string;
|
|
503
|
-
blue500: string;
|
|
504
|
-
blue600: string;
|
|
505
|
-
blue700: string;
|
|
506
|
-
blue800: string;
|
|
507
|
-
blue900: string;
|
|
508
|
-
yellow50: string;
|
|
509
|
-
yellow100: string;
|
|
510
|
-
yellow200: string;
|
|
511
|
-
yellow300: string;
|
|
512
|
-
yellow400: string;
|
|
513
|
-
yellow500: string;
|
|
514
|
-
yellow600: string;
|
|
515
|
-
yellow700: string;
|
|
516
|
-
yellow800: string;
|
|
517
|
-
yellow900: string;
|
|
518
|
-
orange500: string;
|
|
519
|
-
red50: string;
|
|
520
|
-
red100: string;
|
|
521
|
-
red200: string;
|
|
522
|
-
red300: string;
|
|
523
|
-
red400: string;
|
|
524
|
-
red500: string;
|
|
525
|
-
red600: string;
|
|
526
|
-
red700: string;
|
|
527
|
-
red800: string;
|
|
528
|
-
red900: string;
|
|
529
|
-
green50: string;
|
|
530
|
-
green100: string;
|
|
531
|
-
green200: string;
|
|
532
|
-
green300: string;
|
|
533
|
-
green400: string;
|
|
534
|
-
green500: string;
|
|
535
|
-
green600: string;
|
|
536
|
-
green700: string;
|
|
537
|
-
green800: string;
|
|
538
|
-
green900: string;
|
|
539
|
-
primaryTextOnLightBg: string;
|
|
540
|
-
primaryBg: string;
|
|
541
|
-
primaryBgHover: string;
|
|
542
|
-
primaryTextOnWhite: string;
|
|
543
|
-
bodyGray: string;
|
|
544
|
-
hoverDarker: string;
|
|
545
|
-
borderDarker: string;
|
|
546
|
-
selectedDarker: string;
|
|
547
|
-
selectedOnBodyGray: string;
|
|
548
|
-
darkGrayBg: string;
|
|
549
|
-
border: string;
|
|
550
|
-
text: string;
|
|
551
|
-
secondaryText: string;
|
|
552
|
-
focusRing: string;
|
|
553
|
-
};
|
|
554
|
-
fontSizes: {
|
|
555
|
-
xs: string;
|
|
556
|
-
sm: string;
|
|
557
|
-
md: string;
|
|
558
|
-
lg: string;
|
|
559
|
-
xl: string;
|
|
560
|
-
"2xl": string;
|
|
561
|
-
"3xl": string;
|
|
562
|
-
};
|
|
563
|
-
fontWeights: {
|
|
564
|
-
normal: string;
|
|
565
|
-
medium: string;
|
|
566
|
-
bold: string;
|
|
567
|
-
};
|
|
568
|
-
space: {
|
|
569
|
-
1: string;
|
|
570
|
-
2: string;
|
|
571
|
-
3: string;
|
|
572
|
-
4: string;
|
|
573
|
-
6: string;
|
|
574
|
-
8: string;
|
|
575
|
-
};
|
|
576
|
-
shadows: {
|
|
577
|
-
xs: string;
|
|
578
|
-
sm: string;
|
|
579
|
-
md: string;
|
|
580
|
-
lg: string;
|
|
581
|
-
overlayCard: string;
|
|
582
|
-
};
|
|
583
|
-
radii: {
|
|
584
|
-
xs: string;
|
|
585
|
-
sm: string;
|
|
586
|
-
md: string;
|
|
587
|
-
mdmd: string;
|
|
588
|
-
full: string;
|
|
589
|
-
};
|
|
590
|
-
zIndices: {
|
|
591
|
-
toast: number;
|
|
592
|
-
overlayCard: number;
|
|
593
|
-
};
|
|
594
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {}> | undefined;
|
|
595
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
237
|
+
label?: string;
|
|
238
|
+
stackProps?: ComponentProps<typeof Stack>;
|
|
239
|
+
labelProps?: ComponentProps<typeof Label>;
|
|
240
|
+
size?: "sm" | "md" | "lg";
|
|
241
|
+
} & ComponentProps<typeof Root>) => import("react/jsx-runtime").JSX.Element;
|
|
596
242
|
export {};
|