@nayhoo/ui 0.14.1 → 0.16.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.
Files changed (43) hide show
  1. package/dist/chunk-DOHVBMXO.mjs +7 -0
  2. package/dist/chunk-DOHVBMXO.mjs.map +1 -0
  3. package/dist/{chunk-JCN2TBLD.mjs → chunk-JMSIWH37.mjs} +10 -10
  4. package/dist/chunk-JMSIWH37.mjs.map +1 -0
  5. package/dist/chunk-Z6RQ453R.mjs +37 -0
  6. package/dist/chunk-Z6RQ453R.mjs.map +1 -0
  7. package/dist/components/aspect-ratio.d.mts +9 -0
  8. package/dist/components/aspect-ratio.d.ts +9 -0
  9. package/dist/components/aspect-ratio.js +42 -0
  10. package/dist/components/aspect-ratio.js.map +1 -0
  11. package/dist/components/aspect-ratio.mjs +7 -0
  12. package/dist/components/aspect-ratio.mjs.map +1 -0
  13. package/dist/components/avatar.mjs +3 -3
  14. package/dist/components/dialog.css +14064 -0
  15. package/dist/components/dialog.css.map +1 -0
  16. package/dist/components/dialog.d.mts +37 -0
  17. package/dist/components/dialog.d.ts +37 -0
  18. package/dist/components/dialog.js +278 -0
  19. package/dist/components/dialog.js.map +1 -0
  20. package/dist/components/dialog.mjs +129 -0
  21. package/dist/components/dialog.mjs.map +1 -0
  22. package/dist/components/image.css +6 -0
  23. package/dist/components/image.css.map +1 -0
  24. package/dist/components/image.d.mts +11 -0
  25. package/dist/components/image.d.ts +11 -0
  26. package/dist/components/image.js +47 -0
  27. package/dist/components/image.js.map +1 -0
  28. package/dist/components/image.mjs +19 -0
  29. package/dist/components/image.mjs.map +1 -0
  30. package/dist/components/select.mjs +6 -6
  31. package/dist/dialog.css-noIN2HKB.d.mts +35 -0
  32. package/dist/dialog.css-noIN2HKB.d.ts +35 -0
  33. package/dist/providers/index.mjs +2 -2
  34. package/dist/theme/index.css +86 -8
  35. package/dist/theme/index.css.map +1 -1
  36. package/dist/theme/index.d.mts +9 -1
  37. package/dist/theme/index.d.ts +9 -1
  38. package/dist/theme/index.js +53 -25
  39. package/dist/theme/index.js.map +1 -1
  40. package/dist/theme/index.mjs +52 -43
  41. package/dist/theme/index.mjs.map +1 -1
  42. package/package.json +18 -1
  43. package/dist/chunk-JCN2TBLD.mjs.map +0 -1
@@ -0,0 +1,129 @@
1
+ import {
2
+ dialogContentRecipe,
3
+ dialogDescription,
4
+ dialogFooter,
5
+ dialogHeader,
6
+ dialogOverlayRecipe,
7
+ dialogTitle
8
+ } from "../chunk-Z6RQ453R.mjs";
9
+ import "../chunk-KH7OG63I.mjs";
10
+ import "../chunk-C4NLMHMQ.mjs";
11
+ import "../chunk-DXKT5AFF.mjs";
12
+ import "../chunk-Y6BNWBLR.mjs";
13
+ import "../chunk-JMSIWH37.mjs";
14
+ import "../chunk-NOIOHUNH.mjs";
15
+ import "../chunk-JGZLOTH3.mjs";
16
+ import "../chunk-HGLO5LDS.mjs";
17
+ import "../chunk-P3OUEGR4.mjs";
18
+ import "../chunk-5WJ4KGIE.mjs";
19
+ import "../chunk-WUVNL3DI.mjs";
20
+ import {
21
+ Flex
22
+ } from "../chunk-M7HASIMW.mjs";
23
+ import "../chunk-S6KKPOPH.mjs";
24
+ import "../chunk-AXOHCT5Q.mjs";
25
+ import "../chunk-KE7EIF6L.mjs";
26
+ import "../chunk-JZBPCPSP.mjs";
27
+ import "../chunk-HNVVD3WS.mjs";
28
+ import "../chunk-DOHVBMXO.mjs";
29
+ import "../chunk-P2VEMZGS.mjs";
30
+ import "../chunk-EXKRRQYL.mjs";
31
+ import {
32
+ theme
33
+ } from "../chunk-N535ABFC.mjs";
34
+ import "../chunk-GHCXVMQR.mjs";
35
+ import {
36
+ Box
37
+ } from "../chunk-LSB5JVS2.mjs";
38
+ import "../chunk-OI24WXH6.mjs";
39
+ import "../chunk-4A7WL3BM.mjs";
40
+ import "../chunk-47YGQSLM.mjs";
41
+ import "../chunk-6RSPMV3B.mjs";
42
+ import "../chunk-IFN22XIN.mjs";
43
+ import "../chunk-5ZOT2LOO.mjs";
44
+ import "../chunk-PUW3KNR3.mjs";
45
+ import {
46
+ extractVariantsFromProps
47
+ } from "../chunk-UPZYS6TE.mjs";
48
+ import {
49
+ mergeClasses
50
+ } from "../chunk-7EGQM3ZL.mjs";
51
+
52
+ // src/components/dialog.tsx
53
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
54
+ import { jsx, jsxs } from "react/jsx-runtime";
55
+ var Dialog = DialogPrimitive.Root;
56
+ var DialogClose = DialogPrimitive.Close;
57
+ var DialogContent = ({
58
+ children,
59
+ components,
60
+ disableOverlayBlur = false,
61
+ ...props
62
+ }) => {
63
+ const dialogOverlay = dialogOverlayRecipe({ disableOverlayBlur });
64
+ const [variants, rest] = extractVariantsFromProps(
65
+ props,
66
+ ...dialogContentRecipe.variants()
67
+ );
68
+ const dialogContent = dialogContentRecipe(variants);
69
+ return /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { children: [
70
+ /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { className: dialogOverlay }),
71
+ /* @__PURE__ */ jsxs(
72
+ DialogPrimitive.Content,
73
+ {
74
+ ...rest,
75
+ className: mergeClasses(dialogContent, rest.className),
76
+ children: [
77
+ components?.Header,
78
+ /* @__PURE__ */ jsx(Box, { style: { padding: theme.space[5] }, children }),
79
+ components?.Footer
80
+ ]
81
+ }
82
+ )
83
+ ] });
84
+ };
85
+ var DialogDescription = ({ ...props }) => {
86
+ return /* @__PURE__ */ jsx(
87
+ DialogPrimitive.Description,
88
+ {
89
+ ...props,
90
+ className: mergeClasses(dialogDescription, props.className)
91
+ }
92
+ );
93
+ };
94
+ var DialogFooter = ({ children }) => {
95
+ return /* @__PURE__ */ jsx(
96
+ Flex,
97
+ {
98
+ className: dialogFooter,
99
+ direction: { initial: "column", sm: "row" },
100
+ gap: "2",
101
+ justify: "end",
102
+ children
103
+ }
104
+ );
105
+ };
106
+ var DialogHeader = ({ children }) => {
107
+ return /* @__PURE__ */ jsx(Flex, { className: dialogHeader, children });
108
+ };
109
+ var DialogTitle = ({ ...props }) => {
110
+ return /* @__PURE__ */ jsx(
111
+ DialogPrimitive.Title,
112
+ {
113
+ ...props,
114
+ className: mergeClasses(dialogTitle, props.className)
115
+ }
116
+ );
117
+ };
118
+ var DialogTrigger = DialogPrimitive.Trigger;
119
+ export {
120
+ Dialog,
121
+ DialogClose,
122
+ DialogContent,
123
+ DialogDescription,
124
+ DialogFooter,
125
+ DialogHeader,
126
+ DialogTitle,
127
+ DialogTrigger
128
+ };
129
+ //# sourceMappingURL=dialog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/dialog.tsx"],"sourcesContent":["import { Box } from \"@/components/box\";\nimport { Flex } from \"@/components/flex\";\nimport { theme } from \"@/theme\";\nimport {\n DialogContentVariants,\n dialogContentRecipe,\n dialogOverlayRecipe,\n} from \"@/theme/recipes/dialog.css\";\nimport {\n dialogDescription,\n dialogFooter,\n dialogHeader,\n dialogTitle,\n} from \"@/theme/styles/dialog.css\";\nimport { extractVariantsFromProps, mergeClasses } from \"@/utils\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\n\nexport type DialogProps = DialogPrimitive.DialogProps;\n\n/**\n * @see https://github.com/nayhoo/ui/blob/main/apps/react-cosmos/src/dialog.fixture.tsx\n */\nexport const Dialog = DialogPrimitive.Root;\n\nexport type DialogCloseProps = DialogPrimitive.DialogCloseProps;\n\nexport const DialogClose = DialogPrimitive.Close;\n\nexport type DialogContentProps = DialogPrimitive.DialogContentProps &\n DialogContentVariants & {\n components?: { Footer?: React.ReactNode; Header?: React.ReactNode };\n disableOverlayBlur?: boolean;\n };\n\nexport const DialogContent = ({\n children,\n components,\n disableOverlayBlur = false,\n ...props\n}: DialogContentProps) => {\n const dialogOverlay = dialogOverlayRecipe({ disableOverlayBlur });\n const [variants, rest] = extractVariantsFromProps(\n props,\n ...dialogContentRecipe.variants(),\n );\n const dialogContent = dialogContentRecipe(variants);\n\n return (\n <DialogPrimitive.Portal>\n <DialogPrimitive.Overlay className={dialogOverlay} />\n <DialogPrimitive.Content\n {...rest}\n className={mergeClasses(dialogContent, rest.className)}\n >\n {components?.Header}\n\n <Box style={{ padding: theme.space[5] }}>{children}</Box>\n\n {components?.Footer}\n </DialogPrimitive.Content>\n </DialogPrimitive.Portal>\n );\n};\n\nexport type DialogDescriptionProps = DialogPrimitive.DialogDescriptionProps;\n\nexport const DialogDescription = ({ ...props }: DialogDescriptionProps) => {\n return (\n <DialogPrimitive.Description\n {...props}\n className={mergeClasses(dialogDescription, props.className)}\n />\n );\n};\n\nexport type DialogFooterProps = { children: React.ReactNode };\n\nexport const DialogFooter = ({ children }: DialogFooterProps) => {\n return (\n <Flex\n className={dialogFooter}\n direction={{ initial: \"column\", sm: \"row\" }}\n gap=\"2\"\n justify=\"end\"\n >\n {children}\n </Flex>\n );\n};\n\nexport type DialogHeaderProps = { children: React.ReactNode };\n\nexport const DialogHeader = ({ children }: DialogHeaderProps) => {\n return <Flex className={dialogHeader}>{children}</Flex>;\n};\n\nexport type DialogTitleProps = DialogPrimitive.DialogTitleProps;\n\nexport const DialogTitle = ({ ...props }: DialogTitleProps) => {\n return (\n <DialogPrimitive.Title\n {...props}\n className={mergeClasses(dialogTitle, props.className)}\n />\n );\n};\n\nexport type DialogTriggerProps = DialogPrimitive.DialogTriggerProps;\n\nexport const DialogTrigger = DialogPrimitive.Trigger;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,YAAY,qBAAqB;AAkC3B,cACA,YADA;AA3BC,IAAM,SAAyB;AAI/B,IAAM,cAA8B;AAQpC,IAAM,gBAAgB,CAAC;AAAA,EAC5B;AAAA,EACA;AAAA,EACA,qBAAqB;AAAA,EACrB,GAAG;AACL,MAA0B;AACxB,QAAM,gBAAgB,oBAAoB,EAAE,mBAAmB,CAAC;AAChE,QAAM,CAAC,UAAU,IAAI,IAAI;AAAA,IACvB;AAAA,IACA,GA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Y2FsLWFsaWduOiBtaWRkbGU7Cn0= */
2
+ .image_image__1e8nmxd0 {
3
+ max-width: 100%;
4
+ vertical-align: middle;
5
+ }
6
+ /*# sourceMappingURL=image.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["vanilla-extract-css-ns:src/theme/styles/image.css.ts.vanilla.css?source=LmltYWdlX2ltYWdlX18xZThubXhkMCB7CiAgbWF4LXdpZHRoOiAxMDAlOwogIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7Cn0="],"sourcesContent":[".image_image__1e8nmxd0 {\n max-width: 100%;\n vertical-align: middle;\n}"],"mappings":";AAAA,CAAC;AACC,aAAW;AACX,kBAAgB;AAClB;","names":[]}
@@ -0,0 +1,11 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { C as ComponentProps } from '../component-props-BHzinuRX.mjs';
3
+
4
+ declare const defaultElement = "img";
5
+ type ImageProps = ComponentProps<typeof defaultElement>;
6
+ /**
7
+ * @see https://github.com/nayhoo/ui/blob/main/apps/storybook/src/components/Image.stories.tsx
8
+ */
9
+ declare const Image: ({ asChild, ...props }: ImageProps) => react_jsx_runtime.JSX.Element;
10
+
11
+ export { Image, type ImageProps };
@@ -0,0 +1,11 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { C as ComponentProps } from '../component-props-BHzinuRX.js';
3
+
4
+ declare const defaultElement = "img";
5
+ type ImageProps = ComponentProps<typeof defaultElement>;
6
+ /**
7
+ * @see https://github.com/nayhoo/ui/blob/main/apps/storybook/src/components/Image.stories.tsx
8
+ */
9
+ declare const Image: ({ asChild, ...props }: ImageProps) => react_jsx_runtime.JSX.Element;
10
+
11
+ export { Image, type ImageProps };
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/image.tsx
21
+ var image_exports = {};
22
+ __export(image_exports, {
23
+ Image: () => Image
24
+ });
25
+ module.exports = __toCommonJS(image_exports);
26
+
27
+ // src/theme/styles/image.css.ts
28
+ var image = "image_image__1e8nmxd0";
29
+
30
+ // src/utils/merge-classes.ts
31
+ function mergeClasses(...classes) {
32
+ return classes.filter((cls) => Boolean(cls)).join(" ");
33
+ }
34
+
35
+ // src/components/image.tsx
36
+ var import_react_slot = require("@radix-ui/react-slot");
37
+ var import_jsx_runtime = require("react/jsx-runtime");
38
+ var defaultElement = "img";
39
+ var Image = ({ asChild, ...props }) => {
40
+ const Comp = asChild ? import_react_slot.Slot : defaultElement;
41
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Comp, { ...props, className: mergeClasses(image, props.className), children: props.children });
42
+ };
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ Image
46
+ });
47
+ //# sourceMappingURL=image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/image.tsx","../../src/theme/styles/image.css.ts","../../src/utils/merge-classes.ts"],"sourcesContent":["import { image } from \"@/theme/styles/image.css\";\nimport { ComponentProps } from \"@/types/component-props\";\nimport { mergeClasses } from \"@/utils/merge-classes\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\nconst defaultElement = \"img\";\n\nexport type ImageProps = ComponentProps<typeof defaultElement>;\n\n/**\n * @see https://github.com/nayhoo/ui/blob/main/apps/storybook/src/components/Image.stories.tsx\n */\nexport const Image = ({ asChild, ...props }: ImageProps) => {\n const Comp = asChild ? Slot : defaultElement;\n\n return (\n <Comp {...props} className={mergeClasses(image, props.className)}>\n {props.children}\n </Comp>\n );\n};\n","import 'src/theme/styles/image.css.ts.vanilla.css?source=LmltYWdlX2ltYWdlX18xZThubXhkMCB7CiAgbWF4LXdpZHRoOiAxMDAlOwogIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7Cn0=';\nexport var image = 'image_image__1e8nmxd0';","export function mergeClasses(...classes: (string | undefined)[]): string {\n return classes.filter((cls): cls is string => Boolean(cls)).join(\" \");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAI,QAAQ;;;ACDZ,SAAS,gBAAgB,SAAyC;AACvE,SAAO,QAAQ,OAAO,CAAC,QAAuB,QAAQ,GAAG,CAAC,EAAE,KAAK,GAAG;AACtE;;;AFCA,wBAAqB;AAajB;AAXJ,IAAM,iBAAiB;AAOhB,IAAM,QAAQ,CAAC,EAAE,SAAS,GAAG,MAAM,MAAkB;AAC1D,QAAM,OAAO,UAAU,yBAAO;AAE9B,SACE,4CAAC,QAAM,GAAG,OAAO,WAAW,aAAa,OAAO,MAAM,SAAS,GAC5D,gBAAM,UACT;AAEJ;","names":[]}
@@ -0,0 +1,19 @@
1
+ import {
2
+ image
3
+ } from "../chunk-DOHVBMXO.mjs";
4
+ import {
5
+ mergeClasses
6
+ } from "../chunk-7EGQM3ZL.mjs";
7
+
8
+ // src/components/image.tsx
9
+ import { Slot } from "@radix-ui/react-slot";
10
+ import { jsx } from "react/jsx-runtime";
11
+ var defaultElement = "img";
12
+ var Image = ({ asChild, ...props }) => {
13
+ const Comp = asChild ? Slot : defaultElement;
14
+ return /* @__PURE__ */ jsx(Comp, { ...props, className: mergeClasses(image, props.className), children: props.children });
15
+ };
16
+ export {
17
+ Image
18
+ };
19
+ //# sourceMappingURL=image.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/image.tsx"],"sourcesContent":["import { image } from \"@/theme/styles/image.css\";\nimport { ComponentProps } from \"@/types/component-props\";\nimport { mergeClasses } from \"@/utils/merge-classes\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\nconst defaultElement = \"img\";\n\nexport type ImageProps = ComponentProps<typeof defaultElement>;\n\n/**\n * @see https://github.com/nayhoo/ui/blob/main/apps/storybook/src/components/Image.stories.tsx\n */\nexport const Image = ({ asChild, ...props }: ImageProps) => {\n const Comp = asChild ? Slot : defaultElement;\n\n return (\n <Comp {...props} className={mergeClasses(image, props.className)}>\n {props.children}\n </Comp>\n );\n};\n"],"mappings":";;;;;;;;AAGA,SAAS,YAAY;AAajB;AAXJ,IAAM,iBAAiB;AAOhB,IAAM,QAAQ,CAAC,EAAE,SAAS,GAAG,MAAM,MAAkB;AAC1D,QAAM,OAAO,UAAU,OAAO;AAE9B,SACE,oBAAC,QAAM,GAAG,OAAO,WAAW,aAAa,OAAO,MAAM,SAAS,GAC5D,gBAAM,UACT;AAEJ;","names":[]}
@@ -1,9 +1,3 @@
1
- import {
2
- Button
3
- } from "../chunk-ZSB4NTM3.mjs";
4
- import "../chunk-4A7WL3BM.mjs";
5
- import "../chunk-67WEB6LY.mjs";
6
- import "../chunk-47YGQSLM.mjs";
7
1
  import {
8
2
  menu,
9
3
  menuItem,
@@ -13,6 +7,12 @@ import {
13
7
  import {
14
8
  panel
15
9
  } from "../chunk-WUVNL3DI.mjs";
10
+ import {
11
+ Button
12
+ } from "../chunk-ZSB4NTM3.mjs";
13
+ import "../chunk-4A7WL3BM.mjs";
14
+ import "../chunk-67WEB6LY.mjs";
15
+ import "../chunk-47YGQSLM.mjs";
16
16
  import "../chunk-IFN22XIN.mjs";
17
17
  import "../chunk-UPZYS6TE.mjs";
18
18
  import {
@@ -0,0 +1,35 @@
1
+ import * as _vanilla_extract_recipes from '@vanilla-extract/recipes';
2
+ import { RecipeVariants } from '@vanilla-extract/recipes';
3
+
4
+ declare const dialogContentRecipe: _vanilla_extract_recipes.RuntimeFn<{
5
+ fullWidth: {
6
+ true: {
7
+ width: "100%";
8
+ };
9
+ };
10
+ size: {
11
+ "1": {
12
+ maxWidth: "430px";
13
+ };
14
+ "2": {
15
+ maxWidth: "715px";
16
+ };
17
+ "3": {
18
+ maxWidth: "1145px";
19
+ };
20
+ "4": {
21
+ maxWidth: "none";
22
+ };
23
+ };
24
+ }>;
25
+ type DialogContentVariants = RecipeVariants<typeof dialogContentRecipe>;
26
+ declare const dialogOverlayRecipe: _vanilla_extract_recipes.RuntimeFn<{
27
+ disableOverlayBlur: {
28
+ true: {
29
+ backdropFilter: "blur(0px)";
30
+ };
31
+ };
32
+ }>;
33
+ type DialogOverlayVariants = RecipeVariants<typeof dialogOverlayRecipe>;
34
+
35
+ export { type DialogContentVariants as D, dialogOverlayRecipe as a, type DialogOverlayVariants as b, dialogContentRecipe as d };
@@ -0,0 +1,35 @@
1
+ import * as _vanilla_extract_recipes from '@vanilla-extract/recipes';
2
+ import { RecipeVariants } from '@vanilla-extract/recipes';
3
+
4
+ declare const dialogContentRecipe: _vanilla_extract_recipes.RuntimeFn<{
5
+ fullWidth: {
6
+ true: {
7
+ width: "100%";
8
+ };
9
+ };
10
+ size: {
11
+ "1": {
12
+ maxWidth: "430px";
13
+ };
14
+ "2": {
15
+ maxWidth: "715px";
16
+ };
17
+ "3": {
18
+ maxWidth: "1145px";
19
+ };
20
+ "4": {
21
+ maxWidth: "none";
22
+ };
23
+ };
24
+ }>;
25
+ type DialogContentVariants = RecipeVariants<typeof dialogContentRecipe>;
26
+ declare const dialogOverlayRecipe: _vanilla_extract_recipes.RuntimeFn<{
27
+ disableOverlayBlur: {
28
+ true: {
29
+ backdropFilter: "blur(0px)";
30
+ };
31
+ };
32
+ }>;
33
+ type DialogOverlayVariants = RecipeVariants<typeof dialogOverlayRecipe>;
34
+
35
+ export { type DialogContentVariants as D, dialogOverlayRecipe as a, type DialogOverlayVariants as b, dialogContentRecipe as d };
@@ -10,15 +10,15 @@ import {
10
10
  toastInner,
11
11
  toastRoot,
12
12
  toastViewport
13
- } from "../chunk-JCN2TBLD.mjs";
13
+ } from "../chunk-JMSIWH37.mjs";
14
14
  import {
15
15
  Heading
16
16
  } from "../chunk-QKJFDJJP.mjs";
17
+ import "../chunk-JZBPCPSP.mjs";
17
18
  import {
18
19
  IconButton
19
20
  } from "../chunk-OZ2DHFQP.mjs";
20
21
  import "../chunk-HNVVD3WS.mjs";
21
- import "../chunk-JZBPCPSP.mjs";
22
22
  import {
23
23
  Button
24
24
  } from "../chunk-ZSB4NTM3.mjs";
@@ -461,6 +461,61 @@
461
461
  max-width: none;
462
462
  }
463
463
 
464
+ /* vanilla-extract-css-ns:src/theme/styles/panel.css.ts.vanilla.css?source=LnBhbmVsX3BhbmVsX19naDlzdXowIHsKICBjb2xvcjogdmFyKC0tc2VtYW50aWNDb2xvcnMtc3VyZmFjZVRleHRDb250cmFzdF9fMTluYmU4ZDJmOSk7CiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tc2VtYW50aWNDb2xvcnMtc3VyZmFjZV9fMTluYmU4ZDJmOCk7CiAgYm9yZGVyLXJhZGl1czogdmFyKC0tcmFkaWktM19fMTluYmU4ZDJnaik7CiAgYm94LXNoYWRvdzogaW5zZXQgMCAwIDAgMXB4IHZhcigtLXNlbWFudGljQ29sb3JzLWxpbmVfXzE5bmJlOGQyZmUpOwp9 */
465
+ .panel_panel__gh9suz0 {
466
+ color: var(--semanticColors-surfaceTextContrast__19nbe8d2f9);
467
+ background-color: var(--semanticColors-surface__19nbe8d2f8);
468
+ border-radius: var(--radii-3__19nbe8d2gj);
469
+ box-shadow: inset 0 0 0 1px var(--semanticColors-line__19nbe8d2fe);
470
+ }
471
+
472
+ /* vanilla-extract-css-ns:src/theme/recipes/dialog.css.ts.vanilla.css?source=#H4sIAAAAAAAAA42Tz46bMBCH73kKX1ZKpHhlkpDd9d66D1Cplx6RwQNM13iQbRLaat+9MrCkZf80F2xGns/2j49bjcpQlY3DE9kANnyDAlvIsgRS/HG0gv1eMZaT0+AkS9qeeTKo2Um5NeceGmUDFk9kyHlu0MbOB5vDvd6VsHkcenvua6XpLJklC7FmoAySpeImvjTKVWh5oFYynp7qsdbzGrCqg2T3rzW0/Iw61JLthGj7WKMTuNJEtOoCxUpLHgOSlazEHnQsDeRps+CU9SW5Ro5TowKseSputiw+hxOf0Rhe1MpWIC8Nj6uX1e01icmSis4PuVEXYiavF/8cUHbGfI/3y4LrLrxkIE0XT0S8xuccj78gS+b+3dAfA50Yh/0Q3hWQ3QzZLyF3SXolZD9DDktIkhyupRxmSrqkvJ/t1xM4o34uPs5x1FkVz5WjzmpeRHMlGwbeYL9Gy7yr8u37hl86//L8uNmOmrTKgQ3sMHmUUwjUSCYuyosPFHWj6mLWdZjF3bSjlpdoQvz/ctO5dSLafjO7PJEWS6MojWdRPuXeOL1Y/L/wNHqVG5iKX0zn/jX0bg717WHHs778Ab8WluVrBAAA */
473
+ .dialog_dialogContentRecipe__1e5ij6n0 {
474
+ border: 1px solid var(--semanticColors-line__19nbe8d2fe);
475
+ box-shadow: none;
476
+ left: 50%;
477
+ margin-top: -5vh;
478
+ max-height: 85vh;
479
+ min-width: 200px;
480
+ overflow: auto;
481
+ position: fixed;
482
+ top: 50%;
483
+ transform: translate(-50%, -50%);
484
+ will-change: transform;
485
+ }
486
+ .dialog_dialogContentRecipe__1e5ij6n0:focus {
487
+ outline: none;
488
+ }
489
+ .dialog_dialogContentRecipe_fullWidth_true__1e5ij6n1 {
490
+ width: 100%;
491
+ }
492
+ .dialog_dialogContentRecipe_size_1__1e5ij6n2 {
493
+ max-width: 430px;
494
+ }
495
+ .dialog_dialogContentRecipe_size_2__1e5ij6n3 {
496
+ max-width: 715px;
497
+ }
498
+ .dialog_dialogContentRecipe_size_3__1e5ij6n4 {
499
+ max-width: 1145px;
500
+ }
501
+ .dialog_dialogContentRecipe_size_4__1e5ij6n5 {
502
+ max-width: none;
503
+ }
504
+ .dialog_dialogOverlayRecipe__1e5ij6n6 {
505
+ background-color: color-mix(in srgb, var(--semanticColors-background__19nbe8d2f6), transparent 40%);
506
+ bottom: 0;
507
+ left: 0;
508
+ position: fixed;
509
+ right: 0;
510
+ top: 0;
511
+ backdrop-filter: blur(10px);
512
+ transition: backdrop-filter 100ms linear;
513
+ will-change: backdrop-filter;
514
+ }
515
+ .dialog_dialogOverlayRecipe_disableOverlayBlur_true__1e5ij6n7 {
516
+ backdrop-filter: blur(0px);
517
+ }
518
+
464
519
  /* vanilla-extract-css-ns:src/theme/recipes/flex.css.ts.vanilla.css?source=#H4sIAAAAAAAAA63ZzXLiOBQF4H2ewsvuBV1IMn/pTT/DbGaZMkgYJ5JNLCeYTPW7T9mALF1JBt/KKov4HASI+1VJv/ZStC8vZM22Z/o2T/57SpJt1c508VWU+XOyrWou6tm2an8/JQkv9FFm5+ekS/1++vv0q49nssjLF91kdWOqSF/V/2dWNELpS2jWPwWjO1E2ojZZ6mcvT8CcKLkJscgLipL7K61FszuYaOpHr4/A5DbTQhalMNGFH709M2R5UYtdU1TlS12dTHTZR/s1mgeek7o6hYK7Sn6o0mRXwezlocjr/iM+Ra2Hla9jLz+rL0/GlwGrNiOr8dvy7PhCTDbrs3l2fE4+s/rHbKaP2U7Mugc25Vas+fynG6Umug1HqYkSEGUmugtHmYlSEE1NlIejqYkyEF2YqAhHFyaagujSRPfh6NJEFyC6MtE8HF2Z6BJE1yZ6CEfXJroC0Y2JFuHoxkTXVvT1QzfF/gxGyGtfcf3fbFeVjSib8Bi5FYBB8hZugMPklrbHiRx5cWek3MJb0ZyEGH6iKlxw+RiuDw8tpzo7vpTVv92fW0M5/Ky6fz8nZdX9BaGTHalgJBKAv+BjKGf/dP8owYss0btaiDLJSp78UEU5OxW8OTwnCzo/tj/7Dntathp8o+/9IyMsJMlfvwN8qXWo5PaVBgvs71VHl9B/q8E89KIJdRgxghUeHB+hjoEOu2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R+OXRdKiCGrUBhe1uLtqiMeQ7M0r/QdiWErbQyj54p3rgyljWH0XPHOlaG0MYyeK965MpQ2htFzxTtXhtLGMHqueOfKUNoYRs8V71wZShvDFodhK20MzzgMW2ljGL1afuDKEI69NHqUeA9Df/ilBIMhGIEpxWHYDTGAYcqwGLYSYpimEzBspYthungYw2sUTph0+RCG/wPFhQKmXCkAAA== */
465
520
  .flex__183by2k0 {
466
521
  box-sizing: border-box;
@@ -3956,14 +4011,6 @@
3956
4011
  box-sizing: border-box;
3957
4012
  }
3958
4013
 
3959
- /* vanilla-extract-css-ns:src/theme/styles/panel.css.ts.vanilla.css?source=LnBhbmVsX3BhbmVsX19naDlzdXowIHsKICBjb2xvcjogdmFyKC0tc2VtYW50aWNDb2xvcnMtc3VyZmFjZVRleHRDb250cmFzdF9fMTluYmU4ZDJmOSk7CiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tc2VtYW50aWNDb2xvcnMtc3VyZmFjZV9fMTluYmU4ZDJmOCk7CiAgYm9yZGVyLXJhZGl1czogdmFyKC0tcmFkaWktM19fMTluYmU4ZDJnaik7CiAgYm94LXNoYWRvdzogaW5zZXQgMCAwIDAgMXB4IHZhcigtLXNlbWFudGljQ29sb3JzLWxpbmVfXzE5bmJlOGQyZmUpOwp9 */
3960
- .panel_panel__gh9suz0 {
3961
- color: var(--semanticColors-surfaceTextContrast__19nbe8d2f9);
3962
- background-color: var(--semanticColors-surface__19nbe8d2f8);
3963
- border-radius: var(--radii-3__19nbe8d2gj);
3964
- box-shadow: inset 0 0 0 1px var(--semanticColors-line__19nbe8d2fe);
3965
- }
3966
-
3967
4014
  /* vanilla-extract-css-ns:src/theme/styles/card.css.ts.vanilla.css?source=LmNhcmRfY2FyZF9fMWs0OTIyMCB7CiAgcGFkZGluZzogdmFyKC0tc3BhY2UtNV9fMTluYmU4ZDQpIHZhcigtLXNwYWNlLTVfXzE5bmJlOGQ0KSB2YXIoLS1zcGFjZS02X18xOW5iZThkNSkgdmFyKC0tc3BhY2UtNV9fMTluYmU4ZDQpOwp9 */
3968
4015
  .card_card__1k49220 {
3969
4016
  padding: var(--space-5__19nbe8d4) var(--space-5__19nbe8d4) var(--space-6__19nbe8d5) var(--space-5__19nbe8d4);
@@ -3978,6 +4025,31 @@
3978
4025
  width: 100%;
3979
4026
  }
3980
4027
 
4028
+ /* vanilla-extract-css-ns:src/theme/styles/dialog.css.ts.vanilla.css?source=LmRpYWxvZ19kaWFsb2dEZXNjcmlwdGlvbl9fcjMwOXNjMCB7CiAgY29sb3I6IHZhcigtLXNlbWFudGljQ29sb3JzLXRleHRTdWJ0bGVfXzE5bmJlOGQyZmMpOwogIGZvbnQtc2l6ZTogdmFyKC0tZm9udFNpemVzLTNfXzE5bmJlOGRiKTsKICBtYXJnaW4tYm90dG9tOiB2YXIoLS1zcGFjZS00X18xOW5iZThkMyk7Cn0KLmRpYWxvZ19kaWFsb2dGb290ZXJfX3IzMDlzYzEgewogIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXNlbWFudGljQ29sb3JzLXN1cmZhY2VfXzE5bmJlOGQyZjgpOwogIGJvcmRlci10b3A6IDFweCBzb2xpZCB2YXIoLS1zZW1hbnRpY0NvbG9ycy1saW5lX18xOW5iZThkMmZlKTsKICBib3R0b206IDA7CiAgcGFkZGluZzogdmFyKC0tc3BhY2UtMl9fMTluYmU4ZDEpIHZhcigtLXNwYWNlLTJfXzE5bmJlOGQxKTsKICBwb3NpdGlvbjogc3RpY2t5OwogIHotaW5kZXg6IHZhcigtLXpJbmRpY2VzLW1heF9fMTluYmU4ZDJneik7Cn0KLmRpYWxvZ19kaWFsb2dIZWFkZXJfX3IzMDlzYzIgewogIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXNlbWFudGljQ29sb3JzLXN1cmZhY2VfXzE5bmJlOGQyZjgpOwogIHBhZGRpbmc6IHZhcigtLXNwYWNlLTFfXzE5bmJlOGQwKSB2YXIoLS1zcGFjZS0yX18xOW5iZThkMSk7CiAgcG9zaXRpb246IHN0aWNreTsKICB0b3A6IDA7CiAgei1pbmRleDogdmFyKC0tekluZGljZXMtbWF4X18xOW5iZThkMmd6KTsKfQouZGlhbG9nX2RpYWxvZ1RpdGxlX19yMzA5c2MzIHsKICBtYXJnaW4tYm90dG9tOiB2YXIoLS1zcGFjZS00X18xOW5iZThkMyk7Cn0= */
4029
+ .dialog_dialogDescription__r309sc0 {
4030
+ color: var(--semanticColors-textSubtle__19nbe8d2fc);
4031
+ font-size: var(--fontSizes-3__19nbe8db);
4032
+ margin-bottom: var(--space-4__19nbe8d3);
4033
+ }
4034
+ .dialog_dialogFooter__r309sc1 {
4035
+ background-color: var(--semanticColors-surface__19nbe8d2f8);
4036
+ border-top: 1px solid var(--semanticColors-line__19nbe8d2fe);
4037
+ bottom: 0;
4038
+ padding: var(--space-2__19nbe8d1) var(--space-2__19nbe8d1);
4039
+ position: sticky;
4040
+ z-index: var(--zIndices-max__19nbe8d2gz);
4041
+ }
4042
+ .dialog_dialogHeader__r309sc2 {
4043
+ background-color: var(--semanticColors-surface__19nbe8d2f8);
4044
+ padding: var(--space-1__19nbe8d0) var(--space-2__19nbe8d1);
4045
+ position: sticky;
4046
+ top: 0;
4047
+ z-index: var(--zIndices-max__19nbe8d2gz);
4048
+ }
4049
+ .dialog_dialogTitle__r309sc3 {
4050
+ margin-bottom: var(--space-4__19nbe8d3);
4051
+ }
4052
+
3981
4053
  /* vanilla-extract-css-ns:src/theme/styles/form.css.ts.vanilla.css?source=LmZvcm1fZm9ybUZpZWxkX18xOWduY2swMCB7CiAgZGlzcGxheTogZ3JpZDsKICBtYXJnaW4tYm90dG9tOiB2YXIoLS1zcGFjZS0yX18xOW5iZThkMSk7Cn0KLmZvcm1fZm9ybUxhYmVsX18xOWduY2swMSB7CiAgY29sb3I6IHZhcigtLXNlbWFudGljQ29sb3JzLXRleHRTdWJ0bGVfXzE5bmJlOGQyZmMpOwogIGZvbnQtc2l6ZTogdmFyKC0tZm9udFNpemVzLTNfXzE5bmJlOGRiKTsKICBmb250LXdlaWdodDogdmFyKC0tZm9udFdlaWdodHMtbWVkaXVtX18xOW5iZThkMmZvKTsKICBsaW5lLWhlaWdodDogdmFyKC0tbGluZUhlaWdodHMtNl9fMTluYmU4ZDJmdik7Cn0= */
3982
4054
  .form_formField__19gnck00 {
3983
4055
  display: grid;
@@ -4115,6 +4187,12 @@ body {
4115
4187
  color: var(--semanticColors-backgroundTextContrast__19nbe8d2f7);
4116
4188
  }
4117
4189
 
4190
+ /* vanilla-extract-css-ns:src/theme/styles/image.css.ts.vanilla.css?source=LmltYWdlX2ltYWdlX18xZThubXhkMCB7CiAgbWF4LXdpZHRoOiAxMDAlOwogIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7Cn0= */
4191
+ .image_image__1e8nmxd0 {
4192
+ max-width: 100%;
4193
+ vertical-align: middle;
4194
+ }
4195
+
4118
4196
  /* vanilla-extract-css-ns:src/theme/styles/label.css.ts.vanilla.css?source=LmxhYmVsX2xhYmVsX19yMW5rZ3EwIHsKICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7CiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTsKICBjdXJzb3I6IGRlZmF1bHQ7Cn0= */
4119
4197
  .label_label__r1nkgq0 {
4120
4198
  display: inline-block;