@arkitektbedriftene/fe-lib 5.1.8 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rich-text/styles.d.ts +6 -0
- package/dist/rich-text.es.js +1 -1
- package/dist/{stitches.config-mraJLPED.js → stitches.config-DWJUNIbU.js} +12 -5
- package/dist/ui/components/Alert.d.ts +6 -0
- package/dist/ui/components/Avatar.d.ts +6 -0
- package/dist/ui/components/Badge.d.ts +6 -0
- package/dist/ui/components/Box.d.ts +6 -0
- package/dist/ui/components/Button.d.ts +7 -1
- package/dist/ui/components/Card.d.ts +6 -0
- package/dist/ui/components/Dialog.d.ts +18 -0
- package/dist/ui/components/Form/Checkbox.d.ts +6 -0
- package/dist/ui/components/Form/Switch.d.ts +12 -0
- package/dist/ui/components/Form/TextArea.d.ts +6 -0
- package/dist/ui/components/Form/TextInput.d.ts +6 -0
- package/dist/ui/components/Form/text.d.ts +12 -0
- package/dist/ui/components/Menu/DropdownMenu.d.ts +18 -0
- package/dist/ui/components/Menu/Menu.d.ts +18 -0
- package/dist/ui/components/NavBar.d.ts +6 -0
- package/dist/ui/components/OverlayCard.d.ts +6 -0
- package/dist/ui/components/Spinner.d.ts +6 -0
- package/dist/ui/components/Stack.d.ts +6 -0
- package/dist/ui/components/Toolbar.d.ts +25 -1
- package/dist/ui/stitches.config.d.ts +36 -0
- package/dist/ui.es.js +120 -104
- package/package.json +1 -1
|
@@ -287,6 +287,12 @@ export declare const richTextCss: import('@stitches/react/types/styled-component
|
|
|
287
287
|
text: "#1f2937";
|
|
288
288
|
secondaryText: "$gray500";
|
|
289
289
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
290
|
+
flask: "#122a0d";
|
|
291
|
+
flaskHover: "#173611";
|
|
292
|
+
clay: "#eee6d3";
|
|
293
|
+
clayHover: "#d6c9b6";
|
|
294
|
+
sand: "#f3f1eb";
|
|
295
|
+
sandHover: "#e6dfce";
|
|
290
296
|
};
|
|
291
297
|
fontSizes: {
|
|
292
298
|
xs: "0.75rem";
|
package/dist/rich-text.es.js
CHANGED
|
@@ -20,7 +20,7 @@ import { LexicalComposer as mr } from "@lexical/react/LexicalComposer.js";
|
|
|
20
20
|
import { RichTextPlugin as fr } from "@lexical/react/LexicalRichTextPlugin.js";
|
|
21
21
|
import { LexicalErrorBoundary as kr } from "@lexical/react/LexicalErrorBoundary.js";
|
|
22
22
|
import { useFloating as Ct, autoUpdate as oe, size as br, flip as Cr, offset as ie, shift as vr, useInteractions as ae, useRole as le, FloatingPortal as se, inline as Mr, useDismiss as xr } from "@floating-ui/react";
|
|
23
|
-
import { s as Tr, c as Lr } from "./stitches.config-
|
|
23
|
+
import { s as Tr, c as Lr } from "./stitches.config-DWJUNIbU.js";
|
|
24
24
|
import { ListPlugin as wr } from "@lexical/react/LexicalListPlugin.js";
|
|
25
25
|
import { HistoryPlugin as _r } from "@lexical/react/LexicalHistoryPlugin.js";
|
|
26
26
|
import { TablePlugin as yr } from "@lexical/react/LexicalTablePlugin.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createStitches as l } from "@stitches/react";
|
|
2
2
|
let e = 9999;
|
|
3
|
-
const r = () => (e--, e), { styled: g, css: d, keyframes:
|
|
3
|
+
const r = () => (e--, e), { styled: g, css: d, keyframes: s, globalCss: o, getCssText: x } = l({
|
|
4
4
|
theme: {
|
|
5
5
|
colors: {
|
|
6
6
|
gray50: "#F9FAFA",
|
|
@@ -68,7 +68,14 @@ const r = () => (e--, e), { styled: g, css: d, keyframes: x, globalCss: m, getCs
|
|
|
68
68
|
border: "hsl(214deg, 25%, 80%)",
|
|
69
69
|
text: "#1f2937",
|
|
70
70
|
secondaryText: "$gray500",
|
|
71
|
-
focusRing: "hsla(214deg, 15%, 10%, 0.6)"
|
|
71
|
+
focusRing: "hsla(214deg, 15%, 10%, 0.6)",
|
|
72
|
+
// New profile
|
|
73
|
+
flask: "#122a0d",
|
|
74
|
+
flaskHover: "#173611",
|
|
75
|
+
clay: "#eee6d3",
|
|
76
|
+
clayHover: "#d6c9b6",
|
|
77
|
+
sand: "#f3f1eb",
|
|
78
|
+
sandHover: "#e6dfce"
|
|
72
79
|
},
|
|
73
80
|
fontSizes: {
|
|
74
81
|
xs: "0.75rem",
|
|
@@ -129,9 +136,9 @@ const r = () => (e--, e), { styled: g, css: d, keyframes: x, globalCss: m, getCs
|
|
|
129
136
|
}
|
|
130
137
|
});
|
|
131
138
|
export {
|
|
132
|
-
|
|
139
|
+
x as a,
|
|
133
140
|
d as c,
|
|
134
|
-
|
|
135
|
-
|
|
141
|
+
o as g,
|
|
142
|
+
s as k,
|
|
136
143
|
g as s
|
|
137
144
|
};
|
|
@@ -76,6 +76,12 @@ declare const AlertStyled: import('@stitches/react/types/styled-component').Styl
|
|
|
76
76
|
text: "#1f2937";
|
|
77
77
|
secondaryText: "$gray500";
|
|
78
78
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
79
|
+
flask: "#122a0d";
|
|
80
|
+
flaskHover: "#173611";
|
|
81
|
+
clay: "#eee6d3";
|
|
82
|
+
clayHover: "#d6c9b6";
|
|
83
|
+
sand: "#f3f1eb";
|
|
84
|
+
sandHover: "#e6dfce";
|
|
79
85
|
};
|
|
80
86
|
fontSizes: {
|
|
81
87
|
xs: "0.75rem";
|
|
@@ -76,6 +76,12 @@ declare const AvatarCircle: import('@stitches/react/types/styled-component').Sty
|
|
|
76
76
|
text: "#1f2937";
|
|
77
77
|
secondaryText: "$gray500";
|
|
78
78
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
79
|
+
flask: "#122a0d";
|
|
80
|
+
flaskHover: "#173611";
|
|
81
|
+
clay: "#eee6d3";
|
|
82
|
+
clayHover: "#d6c9b6";
|
|
83
|
+
sand: "#f3f1eb";
|
|
84
|
+
sandHover: "#e6dfce";
|
|
79
85
|
};
|
|
80
86
|
fontSizes: {
|
|
81
87
|
xs: "0.75rem";
|
|
@@ -75,6 +75,12 @@ export declare const Badge: import('@stitches/react/types/styled-component').Sty
|
|
|
75
75
|
text: "#1f2937";
|
|
76
76
|
secondaryText: "$gray500";
|
|
77
77
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
78
|
+
flask: "#122a0d";
|
|
79
|
+
flaskHover: "#173611";
|
|
80
|
+
clay: "#eee6d3";
|
|
81
|
+
clayHover: "#d6c9b6";
|
|
82
|
+
sand: "#f3f1eb";
|
|
83
|
+
sandHover: "#e6dfce";
|
|
78
84
|
};
|
|
79
85
|
fontSizes: {
|
|
80
86
|
xs: "0.75rem";
|
|
@@ -73,6 +73,12 @@ export declare const Box: import('@stitches/react/types/styled-component').Style
|
|
|
73
73
|
text: "#1f2937";
|
|
74
74
|
secondaryText: "$gray500";
|
|
75
75
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
76
|
+
flask: "#122a0d";
|
|
77
|
+
flaskHover: "#173611";
|
|
78
|
+
clay: "#eee6d3";
|
|
79
|
+
clayHover: "#d6c9b6";
|
|
80
|
+
sand: "#f3f1eb";
|
|
81
|
+
sandHover: "#e6dfce";
|
|
76
82
|
};
|
|
77
83
|
fontSizes: {
|
|
78
84
|
xs: "0.75rem";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const ButtonStyled: import('@stitches/react/types/styled-component').StyledComponent<"button", {
|
|
2
|
-
color?: "primary" | "secondary" | "success" | "danger" | "warning" | undefined;
|
|
2
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "NEW_primary" | "NEW_tertiary" | undefined;
|
|
3
3
|
size?: "sm" | "md" | "lg" | undefined;
|
|
4
4
|
variant?: "outline" | "transparent" | "primary" | undefined;
|
|
5
5
|
icon?: boolean | "true" | undefined;
|
|
@@ -78,6 +78,12 @@ declare const ButtonStyled: import('@stitches/react/types/styled-component').Sty
|
|
|
78
78
|
text: "#1f2937";
|
|
79
79
|
secondaryText: "$gray500";
|
|
80
80
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
81
|
+
flask: "#122a0d";
|
|
82
|
+
flaskHover: "#173611";
|
|
83
|
+
clay: "#eee6d3";
|
|
84
|
+
clayHover: "#d6c9b6";
|
|
85
|
+
sand: "#f3f1eb";
|
|
86
|
+
sandHover: "#e6dfce";
|
|
81
87
|
};
|
|
82
88
|
fontSizes: {
|
|
83
89
|
xs: "0.75rem";
|
|
@@ -78,6 +78,12 @@ export declare const Card: import('@stitches/react/types/styled-component').Styl
|
|
|
78
78
|
text: "#1f2937";
|
|
79
79
|
secondaryText: "$gray500";
|
|
80
80
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
81
|
+
flask: "#122a0d";
|
|
82
|
+
flaskHover: "#173611";
|
|
83
|
+
clay: "#eee6d3";
|
|
84
|
+
clayHover: "#d6c9b6";
|
|
85
|
+
sand: "#f3f1eb";
|
|
86
|
+
sandHover: "#e6dfce";
|
|
81
87
|
};
|
|
82
88
|
fontSizes: {
|
|
83
89
|
xs: "0.75rem";
|
|
@@ -75,6 +75,12 @@ declare const DialogContent: import('@stitches/react/types/styled-component').St
|
|
|
75
75
|
text: "#1f2937";
|
|
76
76
|
secondaryText: "$gray500";
|
|
77
77
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
78
|
+
flask: "#122a0d";
|
|
79
|
+
flaskHover: "#173611";
|
|
80
|
+
clay: "#eee6d3";
|
|
81
|
+
clayHover: "#d6c9b6";
|
|
82
|
+
sand: "#f3f1eb";
|
|
83
|
+
sandHover: "#e6dfce";
|
|
78
84
|
};
|
|
79
85
|
fontSizes: {
|
|
80
86
|
xs: "0.75rem";
|
|
@@ -200,6 +206,12 @@ export declare const DialogHeader: import('@stitches/react/types/styled-componen
|
|
|
200
206
|
text: "#1f2937";
|
|
201
207
|
secondaryText: "$gray500";
|
|
202
208
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
209
|
+
flask: "#122a0d";
|
|
210
|
+
flaskHover: "#173611";
|
|
211
|
+
clay: "#eee6d3";
|
|
212
|
+
clayHover: "#d6c9b6";
|
|
213
|
+
sand: "#f3f1eb";
|
|
214
|
+
sandHover: "#e6dfce";
|
|
203
215
|
};
|
|
204
216
|
fontSizes: {
|
|
205
217
|
xs: "0.75rem";
|
|
@@ -317,6 +329,12 @@ export declare const DialogActions: import('@stitches/react/types/styled-compone
|
|
|
317
329
|
text: "#1f2937";
|
|
318
330
|
secondaryText: "$gray500";
|
|
319
331
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
332
|
+
flask: "#122a0d";
|
|
333
|
+
flaskHover: "#173611";
|
|
334
|
+
clay: "#eee6d3";
|
|
335
|
+
clayHover: "#d6c9b6";
|
|
336
|
+
sand: "#f3f1eb";
|
|
337
|
+
sandHover: "#e6dfce";
|
|
320
338
|
};
|
|
321
339
|
fontSizes: {
|
|
322
340
|
xs: "0.75rem";
|
|
@@ -78,6 +78,12 @@ declare const Root: import('@stitches/react/types/styled-component').StyledCompo
|
|
|
78
78
|
text: "#1f2937";
|
|
79
79
|
secondaryText: "$gray500";
|
|
80
80
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
81
|
+
flask: "#122a0d";
|
|
82
|
+
flaskHover: "#173611";
|
|
83
|
+
clay: "#eee6d3";
|
|
84
|
+
clayHover: "#d6c9b6";
|
|
85
|
+
sand: "#f3f1eb";
|
|
86
|
+
sandHover: "#e6dfce";
|
|
81
87
|
};
|
|
82
88
|
fontSizes: {
|
|
83
89
|
xs: "0.75rem";
|
|
@@ -76,6 +76,12 @@ declare const Root: import('@stitches/react/types/styled-component').StyledCompo
|
|
|
76
76
|
text: "#1f2937";
|
|
77
77
|
secondaryText: "$gray500";
|
|
78
78
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
79
|
+
flask: "#122a0d";
|
|
80
|
+
flaskHover: "#173611";
|
|
81
|
+
clay: "#eee6d3";
|
|
82
|
+
clayHover: "#d6c9b6";
|
|
83
|
+
sand: "#f3f1eb";
|
|
84
|
+
sandHover: "#e6dfce";
|
|
79
85
|
};
|
|
80
86
|
fontSizes: {
|
|
81
87
|
xs: "0.75rem";
|
|
@@ -195,6 +201,12 @@ declare const Label: import('@stitches/react/types/styled-component').StyledComp
|
|
|
195
201
|
text: "#1f2937";
|
|
196
202
|
secondaryText: "$gray500";
|
|
197
203
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
204
|
+
flask: "#122a0d";
|
|
205
|
+
flaskHover: "#173611";
|
|
206
|
+
clay: "#eee6d3";
|
|
207
|
+
clayHover: "#d6c9b6";
|
|
208
|
+
sand: "#f3f1eb";
|
|
209
|
+
sandHover: "#e6dfce";
|
|
198
210
|
};
|
|
199
211
|
fontSizes: {
|
|
200
212
|
xs: "0.75rem";
|
|
@@ -74,6 +74,12 @@ declare const Input: import('@stitches/react/types/styled-component').StyledComp
|
|
|
74
74
|
text: "#1f2937";
|
|
75
75
|
secondaryText: "$gray500";
|
|
76
76
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
77
|
+
flask: "#122a0d";
|
|
78
|
+
flaskHover: "#173611";
|
|
79
|
+
clay: "#eee6d3";
|
|
80
|
+
clayHover: "#d6c9b6";
|
|
81
|
+
sand: "#f3f1eb";
|
|
82
|
+
sandHover: "#e6dfce";
|
|
77
83
|
};
|
|
78
84
|
fontSizes: {
|
|
79
85
|
xs: "0.75rem";
|
|
@@ -74,6 +74,12 @@ declare const Input: import('@stitches/react/types/styled-component').StyledComp
|
|
|
74
74
|
text: "#1f2937";
|
|
75
75
|
secondaryText: "$gray500";
|
|
76
76
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
77
|
+
flask: "#122a0d";
|
|
78
|
+
flaskHover: "#173611";
|
|
79
|
+
clay: "#eee6d3";
|
|
80
|
+
clayHover: "#d6c9b6";
|
|
81
|
+
sand: "#f3f1eb";
|
|
82
|
+
sandHover: "#e6dfce";
|
|
77
83
|
};
|
|
78
84
|
fontSizes: {
|
|
79
85
|
xs: "0.75rem";
|
|
@@ -73,6 +73,12 @@ export declare const textCss: import('@stitches/react/types/styled-component').C
|
|
|
73
73
|
text: "#1f2937";
|
|
74
74
|
secondaryText: "$gray500";
|
|
75
75
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
76
|
+
flask: "#122a0d";
|
|
77
|
+
flaskHover: "#173611";
|
|
78
|
+
clay: "#eee6d3";
|
|
79
|
+
clayHover: "#d6c9b6";
|
|
80
|
+
sand: "#f3f1eb";
|
|
81
|
+
sandHover: "#e6dfce";
|
|
76
82
|
};
|
|
77
83
|
fontSizes: {
|
|
78
84
|
xs: "0.75rem";
|
|
@@ -192,6 +198,12 @@ export declare const textWrapperCss: import('@stitches/react/types/styled-compon
|
|
|
192
198
|
text: "#1f2937";
|
|
193
199
|
secondaryText: "$gray500";
|
|
194
200
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
201
|
+
flask: "#122a0d";
|
|
202
|
+
flaskHover: "#173611";
|
|
203
|
+
clay: "#eee6d3";
|
|
204
|
+
clayHover: "#d6c9b6";
|
|
205
|
+
sand: "#f3f1eb";
|
|
206
|
+
sandHover: "#e6dfce";
|
|
195
207
|
};
|
|
196
208
|
fontSizes: {
|
|
197
209
|
xs: "0.75rem";
|
|
@@ -84,6 +84,12 @@ export declare const DropdownMenuSeparator: import('@stitches/react/types/styled
|
|
|
84
84
|
text: "#1f2937";
|
|
85
85
|
secondaryText: "$gray500";
|
|
86
86
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
87
|
+
flask: "#122a0d";
|
|
88
|
+
flaskHover: "#173611";
|
|
89
|
+
clay: "#eee6d3";
|
|
90
|
+
clayHover: "#d6c9b6";
|
|
91
|
+
sand: "#f3f1eb";
|
|
92
|
+
sandHover: "#e6dfce";
|
|
87
93
|
};
|
|
88
94
|
fontSizes: {
|
|
89
95
|
xs: "0.75rem";
|
|
@@ -201,6 +207,12 @@ export declare const DropdownMenuItem: import('@stitches/react/types/styled-comp
|
|
|
201
207
|
text: "#1f2937";
|
|
202
208
|
secondaryText: "$gray500";
|
|
203
209
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
210
|
+
flask: "#122a0d";
|
|
211
|
+
flaskHover: "#173611";
|
|
212
|
+
clay: "#eee6d3";
|
|
213
|
+
clayHover: "#d6c9b6";
|
|
214
|
+
sand: "#f3f1eb";
|
|
215
|
+
sandHover: "#e6dfce";
|
|
204
216
|
};
|
|
205
217
|
fontSizes: {
|
|
206
218
|
xs: "0.75rem";
|
|
@@ -318,6 +330,12 @@ export declare const DropdownMenuIconItem: import('@stitches/react/types/styled-
|
|
|
318
330
|
text: "#1f2937";
|
|
319
331
|
secondaryText: "$gray500";
|
|
320
332
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
333
|
+
flask: "#122a0d";
|
|
334
|
+
flaskHover: "#173611";
|
|
335
|
+
clay: "#eee6d3";
|
|
336
|
+
clayHover: "#d6c9b6";
|
|
337
|
+
sand: "#f3f1eb";
|
|
338
|
+
sandHover: "#e6dfce";
|
|
321
339
|
};
|
|
322
340
|
fontSizes: {
|
|
323
341
|
xs: "0.75rem";
|
|
@@ -73,6 +73,12 @@ export declare const MenuOverlayCard: import('@stitches/react/types/styled-compo
|
|
|
73
73
|
text: "#1f2937";
|
|
74
74
|
secondaryText: "$gray500";
|
|
75
75
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
76
|
+
flask: "#122a0d";
|
|
77
|
+
flaskHover: "#173611";
|
|
78
|
+
clay: "#eee6d3";
|
|
79
|
+
clayHover: "#d6c9b6";
|
|
80
|
+
sand: "#f3f1eb";
|
|
81
|
+
sandHover: "#e6dfce";
|
|
76
82
|
};
|
|
77
83
|
fontSizes: {
|
|
78
84
|
xs: "0.75rem";
|
|
@@ -189,6 +195,12 @@ export declare const MenuOverlayCard: import('@stitches/react/types/styled-compo
|
|
|
189
195
|
text: "#1f2937";
|
|
190
196
|
secondaryText: "$gray500";
|
|
191
197
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
198
|
+
flask: "#122a0d";
|
|
199
|
+
flaskHover: "#173611";
|
|
200
|
+
clay: "#eee6d3";
|
|
201
|
+
clayHover: "#d6c9b6";
|
|
202
|
+
sand: "#f3f1eb";
|
|
203
|
+
sandHover: "#e6dfce";
|
|
192
204
|
};
|
|
193
205
|
fontSizes: {
|
|
194
206
|
xs: "0.75rem";
|
|
@@ -306,6 +318,12 @@ export declare const menuItemStyles: import('@stitches/react/types/styled-compon
|
|
|
306
318
|
text: "#1f2937";
|
|
307
319
|
secondaryText: "$gray500";
|
|
308
320
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
321
|
+
flask: "#122a0d";
|
|
322
|
+
flaskHover: "#173611";
|
|
323
|
+
clay: "#eee6d3";
|
|
324
|
+
clayHover: "#d6c9b6";
|
|
325
|
+
sand: "#f3f1eb";
|
|
326
|
+
sandHover: "#e6dfce";
|
|
309
327
|
};
|
|
310
328
|
fontSizes: {
|
|
311
329
|
xs: "0.75rem";
|
|
@@ -75,6 +75,12 @@ declare const Bar: import('@stitches/react/types/styled-component').StyledCompon
|
|
|
75
75
|
text: "#1f2937";
|
|
76
76
|
secondaryText: "$gray500";
|
|
77
77
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
78
|
+
flask: "#122a0d";
|
|
79
|
+
flaskHover: "#173611";
|
|
80
|
+
clay: "#eee6d3";
|
|
81
|
+
clayHover: "#d6c9b6";
|
|
82
|
+
sand: "#f3f1eb";
|
|
83
|
+
sandHover: "#e6dfce";
|
|
78
84
|
};
|
|
79
85
|
fontSizes: {
|
|
80
86
|
xs: "0.75rem";
|
|
@@ -73,6 +73,12 @@ export declare const OverlayCard: import('@stitches/react/types/styled-component
|
|
|
73
73
|
text: "#1f2937";
|
|
74
74
|
secondaryText: "$gray500";
|
|
75
75
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
76
|
+
flask: "#122a0d";
|
|
77
|
+
flaskHover: "#173611";
|
|
78
|
+
clay: "#eee6d3";
|
|
79
|
+
clayHover: "#d6c9b6";
|
|
80
|
+
sand: "#f3f1eb";
|
|
81
|
+
sandHover: "#e6dfce";
|
|
76
82
|
};
|
|
77
83
|
fontSizes: {
|
|
78
84
|
xs: "0.75rem";
|
|
@@ -77,6 +77,12 @@ export declare const Spinner: import('react').ForwardRefExoticComponent<Omit<Omi
|
|
|
77
77
|
text: "#1f2937";
|
|
78
78
|
secondaryText: "$gray500";
|
|
79
79
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
80
|
+
flask: "#122a0d";
|
|
81
|
+
flaskHover: "#173611";
|
|
82
|
+
clay: "#eee6d3";
|
|
83
|
+
clayHover: "#d6c9b6";
|
|
84
|
+
sand: "#f3f1eb";
|
|
85
|
+
sandHover: "#e6dfce";
|
|
80
86
|
};
|
|
81
87
|
fontSizes: {
|
|
82
88
|
xs: "0.75rem";
|
|
@@ -77,6 +77,12 @@ export declare const Stack: import('@stitches/react/types/styled-component').Sty
|
|
|
77
77
|
text: "#1f2937";
|
|
78
78
|
secondaryText: "$gray500";
|
|
79
79
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
80
|
+
flask: "#122a0d";
|
|
81
|
+
flaskHover: "#173611";
|
|
82
|
+
clay: "#eee6d3";
|
|
83
|
+
clayHover: "#d6c9b6";
|
|
84
|
+
sand: "#f3f1eb";
|
|
85
|
+
sandHover: "#e6dfce";
|
|
80
86
|
};
|
|
81
87
|
fontSizes: {
|
|
82
88
|
xs: "0.75rem";
|
|
@@ -74,6 +74,12 @@ export declare const Toolbar: import('@stitches/react/types/styled-component').S
|
|
|
74
74
|
text: "#1f2937";
|
|
75
75
|
secondaryText: "$gray500";
|
|
76
76
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
77
|
+
flask: "#122a0d";
|
|
78
|
+
flaskHover: "#173611";
|
|
79
|
+
clay: "#eee6d3";
|
|
80
|
+
clayHover: "#d6c9b6";
|
|
81
|
+
sand: "#f3f1eb";
|
|
82
|
+
sandHover: "#e6dfce";
|
|
77
83
|
};
|
|
78
84
|
fontSizes: {
|
|
79
85
|
xs: "0.75rem";
|
|
@@ -191,6 +197,12 @@ export declare const ToolbarToggleGroup: import('@stitches/react/types/styled-co
|
|
|
191
197
|
text: "#1f2937";
|
|
192
198
|
secondaryText: "$gray500";
|
|
193
199
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
200
|
+
flask: "#122a0d";
|
|
201
|
+
flaskHover: "#173611";
|
|
202
|
+
clay: "#eee6d3";
|
|
203
|
+
clayHover: "#d6c9b6";
|
|
204
|
+
sand: "#f3f1eb";
|
|
205
|
+
sandHover: "#e6dfce";
|
|
194
206
|
};
|
|
195
207
|
fontSizes: {
|
|
196
208
|
xs: "0.75rem";
|
|
@@ -308,6 +320,12 @@ export declare const ToolbarSeparator: import('@stitches/react/types/styled-comp
|
|
|
308
320
|
text: "#1f2937";
|
|
309
321
|
secondaryText: "$gray500";
|
|
310
322
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
323
|
+
flask: "#122a0d";
|
|
324
|
+
flaskHover: "#173611";
|
|
325
|
+
clay: "#eee6d3";
|
|
326
|
+
clayHover: "#d6c9b6";
|
|
327
|
+
sand: "#f3f1eb";
|
|
328
|
+
sandHover: "#e6dfce";
|
|
311
329
|
};
|
|
312
330
|
fontSizes: {
|
|
313
331
|
xs: "0.75rem";
|
|
@@ -351,7 +369,7 @@ export declare const ToolbarSeparator: import('@stitches/react/types/styled-comp
|
|
|
351
369
|
};
|
|
352
370
|
}, import('@stitches/react/types/config').DefaultThemeMap, {}>>;
|
|
353
371
|
export declare const ButtonInToolbar: import('react').ForwardRefExoticComponent<Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "css" | "size" | "icon" | "variant"> & import('@stitches/react/types/styled-component').TransformProps<{
|
|
354
|
-
color?: "primary" | "secondary" | "success" | "danger" | "warning" | undefined;
|
|
372
|
+
color?: "primary" | "secondary" | "success" | "danger" | "warning" | "NEW_primary" | "NEW_tertiary" | undefined;
|
|
355
373
|
size?: "sm" | "md" | "lg" | undefined;
|
|
356
374
|
variant?: "outline" | "transparent" | "primary" | undefined;
|
|
357
375
|
icon?: boolean | "true" | undefined;
|
|
@@ -431,6 +449,12 @@ export declare const ButtonInToolbar: import('react').ForwardRefExoticComponent<
|
|
|
431
449
|
text: "#1f2937";
|
|
432
450
|
secondaryText: "$gray500";
|
|
433
451
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
452
|
+
flask: "#122a0d";
|
|
453
|
+
flaskHover: "#173611";
|
|
454
|
+
clay: "#eee6d3";
|
|
455
|
+
clayHover: "#d6c9b6";
|
|
456
|
+
sand: "#f3f1eb";
|
|
457
|
+
sandHover: "#e6dfce";
|
|
434
458
|
};
|
|
435
459
|
fontSizes: {
|
|
436
460
|
xs: "0.75rem";
|
|
@@ -72,6 +72,12 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
72
72
|
text: "#1f2937";
|
|
73
73
|
secondaryText: "$gray500";
|
|
74
74
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
75
|
+
flask: "#122a0d";
|
|
76
|
+
flaskHover: "#173611";
|
|
77
|
+
clay: "#eee6d3";
|
|
78
|
+
clayHover: "#d6c9b6";
|
|
79
|
+
sand: "#f3f1eb";
|
|
80
|
+
sandHover: "#e6dfce";
|
|
75
81
|
};
|
|
76
82
|
fontSizes: {
|
|
77
83
|
xs: "0.75rem";
|
|
@@ -199,6 +205,12 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
199
205
|
text: "#1f2937";
|
|
200
206
|
secondaryText: "$gray500";
|
|
201
207
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
208
|
+
flask: "#122a0d";
|
|
209
|
+
flaskHover: "#173611";
|
|
210
|
+
clay: "#eee6d3";
|
|
211
|
+
clayHover: "#d6c9b6";
|
|
212
|
+
sand: "#f3f1eb";
|
|
213
|
+
sandHover: "#e6dfce";
|
|
202
214
|
};
|
|
203
215
|
fontSizes: {
|
|
204
216
|
xs: "0.75rem";
|
|
@@ -313,6 +325,12 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
313
325
|
text: "#1f2937";
|
|
314
326
|
secondaryText: "$gray500";
|
|
315
327
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
328
|
+
flask: "#122a0d";
|
|
329
|
+
flaskHover: "#173611";
|
|
330
|
+
clay: "#eee6d3";
|
|
331
|
+
clayHover: "#d6c9b6";
|
|
332
|
+
sand: "#f3f1eb";
|
|
333
|
+
sandHover: "#e6dfce";
|
|
316
334
|
};
|
|
317
335
|
fontSizes: {
|
|
318
336
|
xs: "0.75rem";
|
|
@@ -441,6 +459,12 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
441
459
|
text: "#1f2937";
|
|
442
460
|
secondaryText: "$gray500";
|
|
443
461
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
462
|
+
flask: "#122a0d";
|
|
463
|
+
flaskHover: "#173611";
|
|
464
|
+
clay: "#eee6d3";
|
|
465
|
+
clayHover: "#d6c9b6";
|
|
466
|
+
sand: "#f3f1eb";
|
|
467
|
+
sandHover: "#e6dfce";
|
|
444
468
|
};
|
|
445
469
|
fontSizes: {
|
|
446
470
|
xs: "0.75rem";
|
|
@@ -563,6 +587,12 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
563
587
|
text: "#1f2937";
|
|
564
588
|
secondaryText: "$gray500";
|
|
565
589
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
590
|
+
flask: "#122a0d";
|
|
591
|
+
flaskHover: "#173611";
|
|
592
|
+
clay: "#eee6d3";
|
|
593
|
+
clayHover: "#d6c9b6";
|
|
594
|
+
sand: "#f3f1eb";
|
|
595
|
+
sandHover: "#e6dfce";
|
|
566
596
|
};
|
|
567
597
|
fontSizes: {
|
|
568
598
|
xs: "0.75rem";
|
|
@@ -676,6 +706,12 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
676
706
|
text: "#1f2937";
|
|
677
707
|
secondaryText: "$gray500";
|
|
678
708
|
focusRing: "hsla(214deg, 15%, 10%, 0.6)";
|
|
709
|
+
flask: "#122a0d";
|
|
710
|
+
flaskHover: "#173611";
|
|
711
|
+
clay: "#eee6d3";
|
|
712
|
+
clayHover: "#d6c9b6";
|
|
713
|
+
sand: "#f3f1eb";
|
|
714
|
+
sandHover: "#e6dfce";
|
|
679
715
|
};
|
|
680
716
|
fontSizes: {
|
|
681
717
|
xs: "0.75rem";
|
package/dist/ui.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { k as h, s as n, c as f } from "./stitches.config-
|
|
2
|
-
import { a as
|
|
1
|
+
import { k as h, s as n, c as f } from "./stitches.config-DWJUNIbU.js";
|
|
2
|
+
import { a as Me, g as Pe } from "./stitches.config-DWJUNIbU.js";
|
|
3
3
|
import { jsx as t, jsxs as c, Fragment as K } from "react/jsx-runtime";
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { useFloating as
|
|
4
|
+
import { forwardRef as u, createContext as U, useMemo as k, useContext as D, isValidElement as _, cloneElement as q, useState as J, useId as w } from "react";
|
|
5
|
+
import { useFloating as Q, autoUpdate as Z, offset as oo, flip as eo, shift as ro, useTransitionStyles as to, useClick as no, useHover as ao, safePolygon as io, useDismiss as so, useRole as lo, useInteractions as co, FloatingPortal as $o } from "@floating-ui/react";
|
|
6
6
|
import * as y from "@radix-ui/react-toolbar";
|
|
7
|
-
import { m as mo, n as
|
|
7
|
+
import { m as mo, n as uo, o as B, p as go, q as po } from "./index.esm-Dzt91gSZ.js";
|
|
8
8
|
import * as p from "@radix-ui/react-dialog";
|
|
9
9
|
import * as m from "@radix-ui/react-dropdown-menu";
|
|
10
10
|
import ho from "react-select";
|
|
11
11
|
import * as F from "@radix-ui/react-checkbox";
|
|
12
|
-
import * as
|
|
12
|
+
import * as W from "@radix-ui/react-switch";
|
|
13
13
|
const bo = h({
|
|
14
14
|
"0%": {
|
|
15
15
|
transform: "rotate(0)"
|
|
@@ -73,7 +73,7 @@ const bo = h({
|
|
|
73
73
|
size: "sm",
|
|
74
74
|
color: "dark"
|
|
75
75
|
}
|
|
76
|
-
}), ko =
|
|
76
|
+
}), ko = u(
|
|
77
77
|
(o, e) => /* @__PURE__ */ t(
|
|
78
78
|
vo,
|
|
79
79
|
{
|
|
@@ -168,6 +168,22 @@ const bo = h({
|
|
|
168
168
|
$$outlineHover: "$colors$yellow50",
|
|
169
169
|
$$outlineText: "$colors$yellow600",
|
|
170
170
|
$$disabled: "$colors$yellow100"
|
|
171
|
+
},
|
|
172
|
+
NEW_primary: {
|
|
173
|
+
$$solid: "$colors$flask",
|
|
174
|
+
$$solidHover: "$colors$flaskHover",
|
|
175
|
+
$$outline: "$colors$flask",
|
|
176
|
+
$$outlineHover: "$colors$flaskHover",
|
|
177
|
+
$$outlineText: "$colors$flask",
|
|
178
|
+
$$disabled: "$colors$clay"
|
|
179
|
+
},
|
|
180
|
+
NEW_tertiary: {
|
|
181
|
+
$$solid: "$colors$sand",
|
|
182
|
+
$$solidHover: "$colors$sandHover",
|
|
183
|
+
$$outline: "$colors$sand",
|
|
184
|
+
$$outlineHover: "$colors$sandHover",
|
|
185
|
+
$$outlineText: "$colors$black",
|
|
186
|
+
$$disabled: "$colors$clay"
|
|
171
187
|
}
|
|
172
188
|
},
|
|
173
189
|
size: {
|
|
@@ -255,7 +271,7 @@ const bo = h({
|
|
|
255
271
|
color: "secondary",
|
|
256
272
|
size: "md"
|
|
257
273
|
}
|
|
258
|
-
}),
|
|
274
|
+
}), M = u(
|
|
259
275
|
({ children: o, disabled: e, isLoading: r, variant: a, color: i, ...s }, l) => (!i && a === "primary" && (i = "primary"), /* @__PURE__ */ c(
|
|
260
276
|
wo,
|
|
261
277
|
{
|
|
@@ -311,7 +327,7 @@ const bo = h({
|
|
|
311
327
|
color: "info",
|
|
312
328
|
size: "md"
|
|
313
329
|
}
|
|
314
|
-
}), se =
|
|
330
|
+
}), se = u(
|
|
315
331
|
({ children: o, ...e }, r) => /* @__PURE__ */ t(
|
|
316
332
|
Co,
|
|
317
333
|
{
|
|
@@ -343,7 +359,7 @@ const bo = h({
|
|
|
343
359
|
// so for other popups that uses `OverlayCard` to work
|
|
344
360
|
// we need to explicitly set this.
|
|
345
361
|
pointerEvents: "auto"
|
|
346
|
-
}),
|
|
362
|
+
}), Ho = f({
|
|
347
363
|
animationDuration: "400ms",
|
|
348
364
|
animationTimingFunction: "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
349
365
|
willChange: "transform, opacity",
|
|
@@ -353,13 +369,13 @@ const bo = h({
|
|
|
353
369
|
'&[data-side="bottom"]': { animationName: So },
|
|
354
370
|
'&[data-side="left"]': { animationName: zo }
|
|
355
371
|
}
|
|
356
|
-
}),
|
|
372
|
+
}), P = n(
|
|
357
373
|
"div",
|
|
358
374
|
To,
|
|
359
|
-
|
|
375
|
+
Ho
|
|
360
376
|
), d = n("div"), C = U(
|
|
361
377
|
{}
|
|
362
|
-
),
|
|
378
|
+
), Do = ({
|
|
363
379
|
children: o,
|
|
364
380
|
offset: e,
|
|
365
381
|
open: r,
|
|
@@ -369,11 +385,11 @@ const bo = h({
|
|
|
369
385
|
placement: l = "bottom",
|
|
370
386
|
role: $ = "dialog"
|
|
371
387
|
}) => {
|
|
372
|
-
const { refs:
|
|
388
|
+
const { refs: g, floatingStyles: x, context: b } = Q({
|
|
373
389
|
open: r,
|
|
374
390
|
onOpenChange: a,
|
|
375
391
|
placement: l,
|
|
376
|
-
whileElementsMounted:
|
|
392
|
+
whileElementsMounted: Z,
|
|
377
393
|
middleware: [oo(e), eo(), ro()]
|
|
378
394
|
}), { isMounted: z, styles: I } = to(b, {
|
|
379
395
|
initial: ({ side: G }) => ({
|
|
@@ -385,21 +401,21 @@ const bo = h({
|
|
|
385
401
|
left: "translateX(-0.5rem)"
|
|
386
402
|
}[G]
|
|
387
403
|
})
|
|
388
|
-
}),
|
|
404
|
+
}), X = no(b, { enabled: i === "click" }), j = ao(b, {
|
|
389
405
|
enabled: i === "hover",
|
|
390
406
|
delay: s,
|
|
391
407
|
handleClose: io()
|
|
392
|
-
}),
|
|
408
|
+
}), E = so(b), L = lo(b, { role: $ }), { getFloatingProps: R, getReferenceProps: T } = co([
|
|
409
|
+
X,
|
|
393
410
|
j,
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
]), E = k(
|
|
411
|
+
E,
|
|
412
|
+
L
|
|
413
|
+
]), Y = k(
|
|
398
414
|
() => ({
|
|
399
415
|
getFloatingProps: R,
|
|
400
416
|
getReferenceProps: T,
|
|
401
417
|
floatingStyles: x,
|
|
402
|
-
refs:
|
|
418
|
+
refs: g,
|
|
403
419
|
isMounted: z,
|
|
404
420
|
transitionStyles: I
|
|
405
421
|
}),
|
|
@@ -407,15 +423,15 @@ const bo = h({
|
|
|
407
423
|
R,
|
|
408
424
|
T,
|
|
409
425
|
z,
|
|
410
|
-
|
|
426
|
+
g,
|
|
411
427
|
x,
|
|
412
428
|
I
|
|
413
429
|
]
|
|
414
430
|
);
|
|
415
|
-
return /* @__PURE__ */ t(C.Provider, { value:
|
|
416
|
-
},
|
|
417
|
-
const { getReferenceProps: e, refs: r } =
|
|
418
|
-
return /* @__PURE__ */ t(K, { children:
|
|
431
|
+
return /* @__PURE__ */ t(C.Provider, { value: Y, children: o });
|
|
432
|
+
}, Bo = ({ children: o }) => {
|
|
433
|
+
const { getReferenceProps: e, refs: r } = D(C);
|
|
434
|
+
return /* @__PURE__ */ t(K, { children: _(o) && q(o, {
|
|
419
435
|
ref: r.setReference,
|
|
420
436
|
...e()
|
|
421
437
|
}) });
|
|
@@ -426,7 +442,7 @@ const bo = h({
|
|
|
426
442
|
refs: i,
|
|
427
443
|
floatingStyles: s,
|
|
428
444
|
transitionStyles: l
|
|
429
|
-
} =
|
|
445
|
+
} = D(C);
|
|
430
446
|
return a ? /* @__PURE__ */ t($o, { children: /* @__PURE__ */ t(
|
|
431
447
|
d,
|
|
432
448
|
{
|
|
@@ -436,13 +452,13 @@ const bo = h({
|
|
|
436
452
|
css: {
|
|
437
453
|
zIndex: "$overlayCard"
|
|
438
454
|
},
|
|
439
|
-
children: /* @__PURE__ */ t(
|
|
455
|
+
children: /* @__PURE__ */ t(P, { ...e, style: l, children: o })
|
|
440
456
|
}
|
|
441
457
|
) }) : null;
|
|
442
458
|
}, le = ({ children: o, content: e }) => {
|
|
443
|
-
const [r, a] =
|
|
459
|
+
const [r, a] = J(!1);
|
|
444
460
|
return /* @__PURE__ */ c(
|
|
445
|
-
|
|
461
|
+
Do,
|
|
446
462
|
{
|
|
447
463
|
open: r,
|
|
448
464
|
onOpenChange: a,
|
|
@@ -451,7 +467,7 @@ const bo = h({
|
|
|
451
467
|
offset: { mainAxis: 8 },
|
|
452
468
|
role: "tooltip",
|
|
453
469
|
children: [
|
|
454
|
-
/* @__PURE__ */ t(
|
|
470
|
+
/* @__PURE__ */ t(Bo, { children: o }),
|
|
455
471
|
/* @__PURE__ */ t(Fo, { overlayCardProps: {
|
|
456
472
|
css: {
|
|
457
473
|
background: "rgba(0,0,0, 0.9)",
|
|
@@ -516,8 +532,8 @@ const bo = h({
|
|
|
516
532
|
my: "$1",
|
|
517
533
|
mx: "$1",
|
|
518
534
|
backgroundColor: "$border"
|
|
519
|
-
}),
|
|
520
|
-
|
|
535
|
+
}), A = u(({ css: o, ...e }, r) => /* @__PURE__ */ t(
|
|
536
|
+
M,
|
|
521
537
|
{
|
|
522
538
|
ref: r,
|
|
523
539
|
icon: !0,
|
|
@@ -531,14 +547,14 @@ const bo = h({
|
|
|
531
547
|
},
|
|
532
548
|
...e
|
|
533
549
|
}
|
|
534
|
-
)),
|
|
550
|
+
)), ue = u(
|
|
535
551
|
({ children: o, dropdown: e, ...r }, a) => /* @__PURE__ */ t(
|
|
536
552
|
y.Button,
|
|
537
553
|
{
|
|
538
554
|
asChild: !0,
|
|
539
555
|
ref: a,
|
|
540
556
|
children: /* @__PURE__ */ c(
|
|
541
|
-
|
|
557
|
+
A,
|
|
542
558
|
{
|
|
543
559
|
variant: "transparent",
|
|
544
560
|
color: "primary",
|
|
@@ -551,7 +567,7 @@ const bo = h({
|
|
|
551
567
|
)
|
|
552
568
|
}
|
|
553
569
|
)
|
|
554
|
-
),
|
|
570
|
+
), ge = u(({
|
|
555
571
|
children: o,
|
|
556
572
|
value: e,
|
|
557
573
|
...r
|
|
@@ -562,7 +578,7 @@ const bo = h({
|
|
|
562
578
|
asChild: !0,
|
|
563
579
|
ref: a,
|
|
564
580
|
children: /* @__PURE__ */ t(
|
|
565
|
-
|
|
581
|
+
A,
|
|
566
582
|
{
|
|
567
583
|
variant: "transparent",
|
|
568
584
|
color: "primary",
|
|
@@ -617,7 +633,7 @@ const bo = h({
|
|
|
617
633
|
elevation: "raised",
|
|
618
634
|
rounded: "md"
|
|
619
635
|
}
|
|
620
|
-
}),
|
|
636
|
+
}), Wo = n("div", {
|
|
621
637
|
borderRadius: "$md",
|
|
622
638
|
padding: "$1",
|
|
623
639
|
border: "2px solid $blue100",
|
|
@@ -625,12 +641,12 @@ const bo = h({
|
|
|
625
641
|
display: "flex",
|
|
626
642
|
alignItems: "center",
|
|
627
643
|
gap: "$1"
|
|
628
|
-
}), he = (o) => /* @__PURE__ */ t(
|
|
644
|
+
}), he = (o) => /* @__PURE__ */ t(Wo, { ...o }), be = ({
|
|
629
645
|
children: o,
|
|
630
646
|
active: e = !1,
|
|
631
647
|
...r
|
|
632
648
|
}) => /* @__PURE__ */ t(
|
|
633
|
-
|
|
649
|
+
M,
|
|
634
650
|
{
|
|
635
651
|
variant: "transparent",
|
|
636
652
|
color: "primary",
|
|
@@ -643,12 +659,12 @@ const bo = h({
|
|
|
643
659
|
...r,
|
|
644
660
|
children: o
|
|
645
661
|
}
|
|
646
|
-
),
|
|
662
|
+
), Mo = n(p.Overlay, {
|
|
647
663
|
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
648
664
|
position: "fixed",
|
|
649
665
|
zIndex: "$overlayCard",
|
|
650
666
|
inset: 0
|
|
651
|
-
}),
|
|
667
|
+
}), Po = n(p.Content, {
|
|
652
668
|
backgroundColor: "white",
|
|
653
669
|
borderRadius: "$md",
|
|
654
670
|
position: "fixed",
|
|
@@ -672,8 +688,8 @@ const bo = h({
|
|
|
672
688
|
}) => /* @__PURE__ */ c(p.Root, { open: e, onOpenChange: r, children: [
|
|
673
689
|
a && /* @__PURE__ */ t(p.Trigger, { asChild: !0, children: a }),
|
|
674
690
|
/* @__PURE__ */ c(p.Portal, { children: [
|
|
675
|
-
/* @__PURE__ */ t(
|
|
676
|
-
/* @__PURE__ */ t(
|
|
691
|
+
/* @__PURE__ */ t(Mo, {}),
|
|
692
|
+
/* @__PURE__ */ t(Po, { css: i, "aria-describedby": void 0, ...s, children: o })
|
|
677
693
|
] })
|
|
678
694
|
] }), ye = n(p.Title, {
|
|
679
695
|
fontSize: "$xl",
|
|
@@ -688,7 +704,7 @@ const bo = h({
|
|
|
688
704
|
padding: "$4",
|
|
689
705
|
borderBottomRightRadius: "$md",
|
|
690
706
|
borderBottomLeftRadius: "$md"
|
|
691
|
-
}),
|
|
707
|
+
}), Ao = n("div", {
|
|
692
708
|
display: "flex",
|
|
693
709
|
variants: {
|
|
694
710
|
direction: {
|
|
@@ -723,16 +739,16 @@ const bo = h({
|
|
|
723
739
|
direction: "column",
|
|
724
740
|
gap: 4
|
|
725
741
|
}
|
|
726
|
-
}),
|
|
727
|
-
const e =
|
|
742
|
+
}), H = /* @__PURE__ */ new Map(), Vo = (o) => {
|
|
743
|
+
const e = H.get(o);
|
|
728
744
|
if (e)
|
|
729
745
|
return e;
|
|
730
746
|
let r = 0;
|
|
731
747
|
for (let $ = 0; $ < o.length; $++)
|
|
732
748
|
r = o.charCodeAt($) + ((r << 5) - r);
|
|
733
749
|
const l = `hsl(${r % 360}, 80%, 40%)`;
|
|
734
|
-
return
|
|
735
|
-
},
|
|
750
|
+
return H.set(o, l), l;
|
|
751
|
+
}, No = n("div", {
|
|
736
752
|
flex: "0 0 auto",
|
|
737
753
|
display: "inline-flex",
|
|
738
754
|
alignItems: "center",
|
|
@@ -769,11 +785,11 @@ const bo = h({
|
|
|
769
785
|
...r
|
|
770
786
|
}) => {
|
|
771
787
|
const a = k(
|
|
772
|
-
() => e ?
|
|
788
|
+
() => e ? Vo(e) : "$gray200",
|
|
773
789
|
[e]
|
|
774
790
|
);
|
|
775
|
-
return /* @__PURE__ */ t(
|
|
776
|
-
},
|
|
791
|
+
return /* @__PURE__ */ t(No, { css: { backgroundColor: a, ...o }, ...r });
|
|
792
|
+
}, Oo = n(P, {
|
|
777
793
|
minWidth: "max(var(--radix-popper-anchor-width), 12rem)",
|
|
778
794
|
padding: "$1"
|
|
779
795
|
}), S = f({
|
|
@@ -817,10 +833,10 @@ const bo = h({
|
|
|
817
833
|
align: e,
|
|
818
834
|
collisionPadding: 10,
|
|
819
835
|
sideOffset: i,
|
|
820
|
-
children: /* @__PURE__ */ t(
|
|
836
|
+
children: /* @__PURE__ */ t(Oo, { children: a })
|
|
821
837
|
}
|
|
822
838
|
) })
|
|
823
|
-
] }),
|
|
839
|
+
] }), Xo = n(m.ItemIndicator, {
|
|
824
840
|
position: "absolute",
|
|
825
841
|
left: 0,
|
|
826
842
|
top: 0,
|
|
@@ -838,17 +854,17 @@ const bo = h({
|
|
|
838
854
|
display: "flex",
|
|
839
855
|
alignItems: "center",
|
|
840
856
|
gap: "$2"
|
|
841
|
-
}),
|
|
857
|
+
}), jo = n(m.CheckboxItem, S), ze = ({
|
|
842
858
|
value: o,
|
|
843
859
|
onChange: e,
|
|
844
860
|
children: r
|
|
845
861
|
}) => /* @__PURE__ */ c(
|
|
846
|
-
|
|
862
|
+
jo,
|
|
847
863
|
{
|
|
848
864
|
checked: o,
|
|
849
865
|
onCheckedChange: e,
|
|
850
866
|
children: [
|
|
851
|
-
/* @__PURE__ */ t(
|
|
867
|
+
/* @__PURE__ */ t(Xo, { children: /* @__PURE__ */ t(uo, { size: "0.75rem" }) }),
|
|
852
868
|
r
|
|
853
869
|
]
|
|
854
870
|
}
|
|
@@ -903,7 +919,7 @@ const bo = h({
|
|
|
903
919
|
...o,
|
|
904
920
|
zIndex: "var(--zIndices-overlayCard)"
|
|
905
921
|
})
|
|
906
|
-
},
|
|
922
|
+
}, Eo = {
|
|
907
923
|
control: (o, e) => {
|
|
908
924
|
var r;
|
|
909
925
|
return {
|
|
@@ -912,9 +928,9 @@ const bo = h({
|
|
|
912
928
|
boxShadow: e.isFocused ? "0 0 0 4px var(--colors-red100)" : "none"
|
|
913
929
|
};
|
|
914
930
|
}
|
|
915
|
-
},
|
|
931
|
+
}, Lo = {
|
|
916
932
|
IndicatorSeparator: () => null
|
|
917
|
-
},
|
|
933
|
+
}, V = ({
|
|
918
934
|
styles: o,
|
|
919
935
|
components: e,
|
|
920
936
|
error: r,
|
|
@@ -924,18 +940,18 @@ const bo = h({
|
|
|
924
940
|
() => ({
|
|
925
941
|
...v,
|
|
926
942
|
...o,
|
|
927
|
-
...r ?
|
|
943
|
+
...r ? Eo : void 0
|
|
928
944
|
}),
|
|
929
945
|
[o, r]
|
|
930
946
|
), s = k(
|
|
931
947
|
() => ({
|
|
932
|
-
...
|
|
948
|
+
...Lo,
|
|
933
949
|
...e
|
|
934
950
|
}),
|
|
935
951
|
[e]
|
|
936
952
|
);
|
|
937
953
|
return /* @__PURE__ */ t(ho, { components: s, styles: i, ...a });
|
|
938
|
-
}, Ie = (o) => /* @__PURE__ */ t(
|
|
954
|
+
}, Ie = (o) => /* @__PURE__ */ t(V, { ...o, isSearchable: !0 }), Re = ({
|
|
939
955
|
label: o,
|
|
940
956
|
css: e,
|
|
941
957
|
error: r,
|
|
@@ -954,7 +970,7 @@ const bo = h({
|
|
|
954
970
|
}
|
|
955
971
|
),
|
|
956
972
|
/* @__PURE__ */ t(
|
|
957
|
-
|
|
973
|
+
V,
|
|
958
974
|
{
|
|
959
975
|
...a,
|
|
960
976
|
error: r,
|
|
@@ -963,7 +979,7 @@ const bo = h({
|
|
|
963
979
|
}
|
|
964
980
|
),
|
|
965
981
|
typeof r == "string" && /* @__PURE__ */ t(d, { css: { color: "$red600", fontSize: "$sm", marginTop: "$2" }, children: r })
|
|
966
|
-
] }),
|
|
982
|
+
] }), N = f({
|
|
967
983
|
display: "block",
|
|
968
984
|
width: "100%",
|
|
969
985
|
padding: "0.5rem 0.75rem",
|
|
@@ -975,7 +991,7 @@ const bo = h({
|
|
|
975
991
|
"-webkit-appearance": "none",
|
|
976
992
|
"-moz-appearance": "none",
|
|
977
993
|
appearance: "none"
|
|
978
|
-
}),
|
|
994
|
+
}), O = f({
|
|
979
995
|
display: "block",
|
|
980
996
|
width: "100%",
|
|
981
997
|
background: "#fff",
|
|
@@ -999,13 +1015,13 @@ const bo = h({
|
|
|
999
1015
|
}
|
|
1000
1016
|
}
|
|
1001
1017
|
}
|
|
1002
|
-
}),
|
|
1018
|
+
}), Yo = n("input", N), Go = n("div", O, {
|
|
1003
1019
|
display: "flex",
|
|
1004
1020
|
alignItems: "center",
|
|
1005
1021
|
gap: "$2",
|
|
1006
1022
|
width: "100%"
|
|
1007
|
-
}), Te =
|
|
1008
|
-
({ type: o = "text", label: e, error: r, style: a, css: i, suffix: s, id: l, ...$ },
|
|
1023
|
+
}), Te = u(
|
|
1024
|
+
({ type: o = "text", label: e, error: r, style: a, css: i, suffix: s, id: l, ...$ }, g) => {
|
|
1009
1025
|
const x = w();
|
|
1010
1026
|
return l = l || x, /* @__PURE__ */ c(d, { css: i, children: [
|
|
1011
1027
|
e && /* @__PURE__ */ t(
|
|
@@ -1023,10 +1039,10 @@ const bo = h({
|
|
|
1023
1039
|
),
|
|
1024
1040
|
/* @__PURE__ */ c(Go, { error: !!r, children: [
|
|
1025
1041
|
/* @__PURE__ */ t(
|
|
1026
|
-
|
|
1042
|
+
Yo,
|
|
1027
1043
|
{
|
|
1028
1044
|
id: l,
|
|
1029
|
-
ref:
|
|
1045
|
+
ref: g,
|
|
1030
1046
|
type: o,
|
|
1031
1047
|
"aria-invalid": r ? "true" : "false",
|
|
1032
1048
|
...$
|
|
@@ -1046,7 +1062,7 @@ const bo = h({
|
|
|
1046
1062
|
r && /* @__PURE__ */ t(
|
|
1047
1063
|
d,
|
|
1048
1064
|
{
|
|
1049
|
-
as:
|
|
1065
|
+
as: B,
|
|
1050
1066
|
css: { color: "$red600", marginRight: "$2" },
|
|
1051
1067
|
size: 24
|
|
1052
1068
|
}
|
|
@@ -1055,15 +1071,15 @@ const bo = h({
|
|
|
1055
1071
|
typeof r == "string" && /* @__PURE__ */ t(d, { css: { color: "$red600", fontSize: "$sm", marginTop: "$2" }, children: r })
|
|
1056
1072
|
] });
|
|
1057
1073
|
}
|
|
1058
|
-
), Ko = n("textarea",
|
|
1074
|
+
), Ko = n("textarea", N), Uo = n("div", O, {
|
|
1059
1075
|
display: "flex",
|
|
1060
1076
|
alignItems: "center",
|
|
1061
1077
|
gap: "$2",
|
|
1062
1078
|
width: "100%"
|
|
1063
|
-
}),
|
|
1079
|
+
}), He = u(
|
|
1064
1080
|
({ label: o, error: e, style: r, css: a, suffix: i, id: s, ...l }, $) => {
|
|
1065
|
-
const
|
|
1066
|
-
return s = s ||
|
|
1081
|
+
const g = w();
|
|
1082
|
+
return s = s || g, /* @__PURE__ */ c(d, { css: a, children: [
|
|
1067
1083
|
o && /* @__PURE__ */ t(
|
|
1068
1084
|
d,
|
|
1069
1085
|
{
|
|
@@ -1101,7 +1117,7 @@ const bo = h({
|
|
|
1101
1117
|
e && /* @__PURE__ */ t(
|
|
1102
1118
|
d,
|
|
1103
1119
|
{
|
|
1104
|
-
as:
|
|
1120
|
+
as: B,
|
|
1105
1121
|
css: { color: "$red600", marginRight: "$2" },
|
|
1106
1122
|
size: 24
|
|
1107
1123
|
}
|
|
@@ -1110,7 +1126,7 @@ const bo = h({
|
|
|
1110
1126
|
typeof e == "string" && /* @__PURE__ */ t(d, { css: { color: "$red600", fontSize: "$sm", marginTop: "$2" }, children: e })
|
|
1111
1127
|
] });
|
|
1112
1128
|
}
|
|
1113
|
-
),
|
|
1129
|
+
), _o = n(F.Root, {
|
|
1114
1130
|
display: "flex",
|
|
1115
1131
|
alignItems: "center",
|
|
1116
1132
|
justifyContent: "center",
|
|
@@ -1158,14 +1174,14 @@ const bo = h({
|
|
|
1158
1174
|
size: "md",
|
|
1159
1175
|
color: "primary"
|
|
1160
1176
|
}
|
|
1161
|
-
}),
|
|
1177
|
+
}), qo = n(F.Indicator, {
|
|
1162
1178
|
"[data-icon]": {
|
|
1163
1179
|
display: "none"
|
|
1164
1180
|
},
|
|
1165
1181
|
"&[data-state=checked] [data-icon=checked], &[data-state=indeterminate] [data-icon=indeterminate]": {
|
|
1166
1182
|
display: "block"
|
|
1167
1183
|
}
|
|
1168
|
-
}),
|
|
1184
|
+
}), Jo = n("label", {
|
|
1169
1185
|
flex: "0 1 auto",
|
|
1170
1186
|
paddingLeft: "$2",
|
|
1171
1187
|
variants: {
|
|
@@ -1184,7 +1200,7 @@ const bo = h({
|
|
|
1184
1200
|
defaultVariants: {
|
|
1185
1201
|
size: "md"
|
|
1186
1202
|
}
|
|
1187
|
-
}),
|
|
1203
|
+
}), De = ({
|
|
1188
1204
|
id: o,
|
|
1189
1205
|
size: e,
|
|
1190
1206
|
label: r,
|
|
@@ -1192,13 +1208,13 @@ const bo = h({
|
|
|
1192
1208
|
}) => {
|
|
1193
1209
|
const i = w();
|
|
1194
1210
|
return o = o || i, /* @__PURE__ */ c(d, { css: { display: "flex", alignItems: "center" }, children: [
|
|
1195
|
-
/* @__PURE__ */ t(
|
|
1196
|
-
/* @__PURE__ */ t(
|
|
1211
|
+
/* @__PURE__ */ t(_o, { id: o, size: e, ...a, children: /* @__PURE__ */ c(qo, { children: [
|
|
1212
|
+
/* @__PURE__ */ t(go, { "data-icon": "indeterminate" }),
|
|
1197
1213
|
/* @__PURE__ */ t(po, { "data-icon": "checked" })
|
|
1198
1214
|
] }) }),
|
|
1199
|
-
r && /* @__PURE__ */ t(
|
|
1215
|
+
r && /* @__PURE__ */ t(Jo, { htmlFor: o, size: e, children: r })
|
|
1200
1216
|
] });
|
|
1201
|
-
},
|
|
1217
|
+
}, Qo = n(W.Root, {
|
|
1202
1218
|
width: "42px",
|
|
1203
1219
|
height: "25px",
|
|
1204
1220
|
backgroundColor: "$gray200",
|
|
@@ -1212,7 +1228,7 @@ const bo = h({
|
|
|
1212
1228
|
"&[data-state='checked']": {
|
|
1213
1229
|
backgroundColor: "$green400"
|
|
1214
1230
|
}
|
|
1215
|
-
}),
|
|
1231
|
+
}), Zo = n(W.Thumb, {
|
|
1216
1232
|
display: "block",
|
|
1217
1233
|
width: "21px",
|
|
1218
1234
|
height: "21px",
|
|
@@ -1243,25 +1259,25 @@ const bo = h({
|
|
|
1243
1259
|
defaultVariants: {
|
|
1244
1260
|
size: "md"
|
|
1245
1261
|
}
|
|
1246
|
-
}),
|
|
1262
|
+
}), Be = ({
|
|
1247
1263
|
label: o,
|
|
1248
1264
|
stackProps: e,
|
|
1249
1265
|
labelProps: r,
|
|
1250
1266
|
size: a,
|
|
1251
1267
|
...i
|
|
1252
|
-
}) => /* @__PURE__ */ c(
|
|
1268
|
+
}) => /* @__PURE__ */ c(Ao, { direction: "row", align: "center", ...e, children: [
|
|
1253
1269
|
o && /* @__PURE__ */ t(oe, { size: a, ...r, children: o }),
|
|
1254
|
-
/* @__PURE__ */ t(
|
|
1270
|
+
/* @__PURE__ */ t(Qo, { ...i, children: /* @__PURE__ */ t(Zo, {}) })
|
|
1255
1271
|
] });
|
|
1256
1272
|
export {
|
|
1257
1273
|
se as Alert,
|
|
1258
1274
|
ve as Avatar,
|
|
1259
1275
|
de as Badge,
|
|
1260
1276
|
d as Box,
|
|
1261
|
-
|
|
1262
|
-
|
|
1277
|
+
M as Button,
|
|
1278
|
+
A as ButtonInToolbar,
|
|
1263
1279
|
pe as Card,
|
|
1264
|
-
|
|
1280
|
+
De as Checkbox,
|
|
1265
1281
|
Ie as Combobox,
|
|
1266
1282
|
fe as Dialog,
|
|
1267
1283
|
xe as DialogActions,
|
|
@@ -1271,29 +1287,29 @@ export {
|
|
|
1271
1287
|
Se as DropdownMenuIconItem,
|
|
1272
1288
|
Ce as DropdownMenuItem,
|
|
1273
1289
|
we as DropdownMenuSeparator,
|
|
1274
|
-
|
|
1290
|
+
Oo as MenuOverlayCard,
|
|
1275
1291
|
he as NavBar,
|
|
1276
1292
|
be as NavBarItem,
|
|
1277
|
-
|
|
1278
|
-
|
|
1293
|
+
P as OverlayCard,
|
|
1294
|
+
Do as Popover,
|
|
1279
1295
|
Fo as PopoverContent,
|
|
1280
1296
|
C as PopoverContext,
|
|
1281
|
-
|
|
1297
|
+
Bo as PopoverTrigger,
|
|
1282
1298
|
Re as Select,
|
|
1283
1299
|
ko as Spinner,
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1300
|
+
Ao as Stack,
|
|
1301
|
+
Be as Switch,
|
|
1302
|
+
He as TextArea,
|
|
1287
1303
|
Te as TextInput,
|
|
1288
1304
|
ce as Toolbar,
|
|
1289
|
-
|
|
1305
|
+
ue as ToolbarButton,
|
|
1290
1306
|
me as ToolbarSeparator,
|
|
1291
1307
|
$e as ToolbarToggleGroup,
|
|
1292
|
-
|
|
1308
|
+
ge as ToolbarToggleItem,
|
|
1293
1309
|
le as Tooltip,
|
|
1294
1310
|
f as css,
|
|
1295
|
-
|
|
1296
|
-
|
|
1311
|
+
Me as getCssText,
|
|
1312
|
+
Pe as globalCss,
|
|
1297
1313
|
h as keyframes,
|
|
1298
1314
|
S as menuItemStyles,
|
|
1299
1315
|
n as styled
|