@raystack/apsara 0.22.0 → 0.23.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 (96) hide show
  1. package/dist/emptystate/emptystate.cjs +3 -0
  2. package/dist/emptystate/emptystate.cjs.map +1 -1
  3. package/dist/emptystate/emptystate.d.ts +3 -0
  4. package/dist/emptystate/emptystate.d.ts.map +1 -1
  5. package/dist/emptystate/emptystate.js +3 -0
  6. package/dist/emptystate/emptystate.js.map +1 -1
  7. package/dist/flex/flex.cjs +3 -0
  8. package/dist/flex/flex.cjs.map +1 -1
  9. package/dist/flex/flex.d.ts +3 -0
  10. package/dist/flex/flex.d.ts.map +1 -1
  11. package/dist/flex/flex.js +3 -0
  12. package/dist/flex/flex.js.map +1 -1
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/style.css +1 -1
  15. package/dist/text/text.cjs +3 -0
  16. package/dist/text/text.cjs.map +1 -1
  17. package/dist/text/text.d.ts +3 -0
  18. package/dist/text/text.d.ts.map +1 -1
  19. package/dist/text/text.js +3 -0
  20. package/dist/text/text.js.map +1 -1
  21. package/dist/themprovider/switcher.cjs +3 -0
  22. package/dist/themprovider/switcher.cjs.map +1 -1
  23. package/dist/themprovider/switcher.d.ts +3 -0
  24. package/dist/themprovider/switcher.d.ts.map +1 -1
  25. package/dist/themprovider/switcher.js +3 -0
  26. package/dist/themprovider/switcher.js.map +1 -1
  27. package/dist/themprovider/theme.cjs +34 -6
  28. package/dist/themprovider/theme.cjs.map +1 -1
  29. package/dist/themprovider/theme.d.ts +6 -0
  30. package/dist/themprovider/theme.d.ts.map +1 -1
  31. package/dist/themprovider/theme.js +34 -6
  32. package/dist/themprovider/theme.js.map +1 -1
  33. package/dist/v1/components/emptystate/emptystate.cjs +14 -0
  34. package/dist/v1/components/emptystate/emptystate.cjs.map +1 -0
  35. package/dist/v1/components/emptystate/emptystate.d.ts +13 -0
  36. package/dist/v1/components/emptystate/emptystate.d.ts.map +1 -0
  37. package/dist/v1/components/emptystate/emptystate.js +12 -0
  38. package/dist/v1/components/emptystate/emptystate.js.map +1 -0
  39. package/dist/v1/components/emptystate/emptystate.module.css.cjs +8 -0
  40. package/dist/v1/components/emptystate/emptystate.module.css.cjs.map +1 -0
  41. package/dist/v1/components/emptystate/emptystate.module.css.js +4 -0
  42. package/dist/v1/components/emptystate/emptystate.module.css.js.map +1 -0
  43. package/dist/v1/components/emptystate/index.d.ts +2 -0
  44. package/dist/v1/components/emptystate/index.d.ts.map +1 -0
  45. package/dist/v1/components/flex/flex.cjs +54 -0
  46. package/dist/v1/components/flex/flex.cjs.map +1 -0
  47. package/dist/v1/components/flex/flex.d.ts +12 -0
  48. package/dist/v1/components/flex/flex.d.ts.map +1 -0
  49. package/dist/v1/components/flex/flex.js +52 -0
  50. package/dist/v1/components/flex/flex.js.map +1 -0
  51. package/dist/v1/components/flex/flex.module.css.cjs +8 -0
  52. package/dist/v1/components/flex/flex.module.css.cjs.map +1 -0
  53. package/dist/v1/components/flex/flex.module.css.js +4 -0
  54. package/dist/v1/components/flex/flex.module.css.js.map +1 -0
  55. package/dist/v1/components/flex/index.d.ts +2 -0
  56. package/dist/v1/components/flex/index.d.ts.map +1 -0
  57. package/dist/v1/components/text/index.d.ts +2 -0
  58. package/dist/v1/components/text/index.d.ts.map +1 -0
  59. package/dist/v1/components/text/text.cjs +58 -0
  60. package/dist/v1/components/text/text.cjs.map +1 -0
  61. package/dist/v1/components/text/text.d.ts +11 -0
  62. package/dist/v1/components/text/text.d.ts.map +1 -0
  63. package/dist/v1/components/text/text.js +56 -0
  64. package/dist/v1/components/text/text.js.map +1 -0
  65. package/dist/v1/components/text/text.module.css.cjs +8 -0
  66. package/dist/v1/components/text/text.module.css.cjs.map +1 -0
  67. package/dist/v1/components/text/text.module.css.js +4 -0
  68. package/dist/v1/components/text/text.module.css.js.map +1 -0
  69. package/dist/v1/components/themprovider/index.d.ts +1 -0
  70. package/dist/v1/components/themprovider/index.d.ts.map +1 -1
  71. package/dist/v1/components/themprovider/switcher.cjs +13 -2
  72. package/dist/v1/components/themprovider/switcher.cjs.map +1 -1
  73. package/dist/v1/components/themprovider/switcher.js +13 -2
  74. package/dist/v1/components/themprovider/switcher.js.map +1 -1
  75. package/dist/v1/components/themprovider/theme.cjs +154 -1
  76. package/dist/v1/components/themprovider/theme.cjs.map +1 -1
  77. package/dist/v1/components/themprovider/theme.js +155 -3
  78. package/dist/v1/components/themprovider/theme.js.map +1 -1
  79. package/dist/v1/components/toast/toast.cjs +1 -1
  80. package/dist/v1/components/toast/toast.cjs.map +1 -1
  81. package/dist/v1/components/toast/toast.js +1 -1
  82. package/dist/v1/components/toast/toast.js.map +1 -1
  83. package/dist/v1/components/toast/toast.module.css.cjs +1 -1
  84. package/dist/v1/components/toast/toast.module.css.js +1 -1
  85. package/dist/v1/index.cjs +11 -0
  86. package/dist/v1/index.cjs.map +1 -1
  87. package/dist/v1/index.d.ts +11 -7
  88. package/dist/v1/index.d.ts.map +1 -1
  89. package/dist/v1/index.js +5 -0
  90. package/dist/v1/index.js.map +1 -1
  91. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs +46 -0
  92. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs.map +1 -1
  93. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +45 -1
  94. package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
  95. package/dist/v1/style.css +1 -1
  96. package/package.json +1 -1
@@ -0,0 +1,54 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
4
+ var index = require('../../node_modules/.pnpm/class-variance-authority@0.6.0_typescript@5.4.3/node_modules/class-variance-authority/dist/index.cjs');
5
+ var React = require('react');
6
+ var flex_module = require('./flex.module.css.cjs');
7
+
8
+ const flex = index.cva(flex_module.default.flex, {
9
+ variants: {
10
+ direction: {
11
+ row: flex_module.default["direction-row"],
12
+ column: flex_module.default["direction-column"],
13
+ rowReverse: flex_module.default["direction-rowReverse"],
14
+ columnReverse: flex_module.default["direction-columnReverse"],
15
+ },
16
+ align: {
17
+ start: flex_module.default["align-start"],
18
+ center: flex_module.default["align-center"],
19
+ end: flex_module.default["align-end"],
20
+ stretch: flex_module.default["align-stretch"],
21
+ baseline: flex_module.default["align-baseline"],
22
+ },
23
+ justify: {
24
+ start: flex_module.default["justify-start"],
25
+ center: flex_module.default["justify-center"],
26
+ end: flex_module.default["justify-end"],
27
+ between: flex_module.default["justify-between"],
28
+ },
29
+ wrap: {
30
+ noWrap: flex_module.default["wrap-noWrap"],
31
+ wrap: flex_module.default["wrap-wrap"],
32
+ wrapReverse: flex_module.default["wrap-wrapReverse"],
33
+ },
34
+ gap: {
35
+ "extra-small": flex_module.default["gap-xs"],
36
+ small: flex_module.default["gap-sm"],
37
+ medium: flex_module.default["gap-md"],
38
+ large: flex_module.default["gap-lg"],
39
+ "extra-large": flex_module.default["gap-xl"],
40
+ },
41
+ },
42
+ defaultVariants: {
43
+ direction: "row",
44
+ align: "stretch",
45
+ justify: "start",
46
+ wrap: "noWrap",
47
+ },
48
+ });
49
+ const Flex = React.forwardRef(({ children, direction, align, justify, wrap, gap, className, ...props }, ref) => {
50
+ return (jsxRuntime.jsxRuntimeExports.jsx("div", { className: flex({ direction, align, justify, wrap, gap, className }), ...props, ref: ref, children: children }));
51
+ });
52
+
53
+ exports.Flex = Flex;
54
+ //# sourceMappingURL=flex.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex.cjs","sources":["../../../../v1/components/flex/flex.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./flex.module.css\";\n\nconst flex = cva(styles.flex, {\n variants: {\n direction: {\n row: styles[\"direction-row\"],\n column: styles[\"direction-column\"],\n rowReverse: styles[\"direction-rowReverse\"],\n columnReverse: styles[\"direction-columnReverse\"],\n },\n align: {\n start: styles[\"align-start\"],\n center: styles[\"align-center\"],\n end: styles[\"align-end\"],\n stretch: styles[\"align-stretch\"],\n baseline: styles[\"align-baseline\"],\n },\n justify: {\n start: styles[\"justify-start\"],\n center: styles[\"justify-center\"],\n end: styles[\"justify-end\"],\n between: styles[\"justify-between\"],\n },\n wrap: {\n noWrap: styles[\"wrap-noWrap\"],\n wrap: styles[\"wrap-wrap\"],\n wrapReverse: styles[\"wrap-wrapReverse\"],\n },\n gap: {\n \"extra-small\": styles[\"gap-xs\"],\n small: styles[\"gap-sm\"],\n medium: styles[\"gap-md\"],\n large: styles[\"gap-lg\"],\n \"extra-large\": styles[\"gap-xl\"],\n },\n },\n defaultVariants: {\n direction: \"row\",\n align: \"stretch\",\n justify: \"start\",\n wrap: \"noWrap\",\n },\n});\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof flex>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport const Flex = forwardRef<HTMLDivElement, BoxProps>(\n (\n { children, direction, align, justify, wrap, gap, className, ...props },\n ref\n ) => {\n return (\n <div\n className={flex({ direction, align, justify, wrap, gap, className })}\n {...props}\n ref={ref}\n >\n {children}\n </div>\n );\n }\n);\n"],"names":["cva","styles","forwardRef","_jsx"],"mappings":";;;;;;;AAIA,MAAM,IAAI,GAAGA,SAAG,CAACC,mBAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,GAAG,EAAEA,mBAAM,CAAC,eAAe,CAAC;AAC5B,YAAA,MAAM,EAAEA,mBAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA,UAAU,EAAEA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AAO;AAChB,QAAA,IAAI,EAAE,QAAQ;AACf,KAAA;AACF,CAAA,CAAC,CAAC;AAKI,MAAM,IAAI,GAAGC,gBAAU,CAC5B,CACE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EACvE,GAAG,KACD;AACF,IAAA,QACEC,gCAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAA,GAChE,KAAK,EACT,GAAG,EAAE,GAAG,EAAA,QAAA,EAEP,QAAQ,EAAA,CACL,EACN;AACJ,CAAC;;;;"}
@@ -0,0 +1,12 @@
1
+ import { VariantProps } from "class-variance-authority";
2
+ import { HTMLAttributes } from "react";
3
+ export declare const Flex: import("react").ForwardRefExoticComponent<VariantProps<(props?: ({
4
+ direction?: "row" | "column" | "rowReverse" | "columnReverse" | null | undefined;
5
+ align?: "center" | "end" | "start" | "stretch" | "baseline" | null | undefined;
6
+ justify?: "center" | "end" | "start" | "between" | null | undefined;
7
+ wrap?: "wrap" | "noWrap" | "wrapReverse" | null | undefined;
8
+ gap?: "small" | "medium" | "large" | "extra-small" | "extra-large" | null | undefined;
9
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & {
10
+ children?: import("react").ReactNode;
11
+ } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
12
+ //# sourceMappingURL=flex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../../v1/components/flex/flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAc,cAAc,EAAqB,MAAM,OAAO,CAAC;AAgDtE,eAAO,MAAM,IAAI;;;;;;;;mFAehB,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
2
+ import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.6.0_typescript@5.4.3/node_modules/class-variance-authority/dist/index.js';
3
+ import { forwardRef } from 'react';
4
+ import styles from './flex.module.css.js';
5
+
6
+ const flex = cva(styles.flex, {
7
+ variants: {
8
+ direction: {
9
+ row: styles["direction-row"],
10
+ column: styles["direction-column"],
11
+ rowReverse: styles["direction-rowReverse"],
12
+ columnReverse: styles["direction-columnReverse"],
13
+ },
14
+ align: {
15
+ start: styles["align-start"],
16
+ center: styles["align-center"],
17
+ end: styles["align-end"],
18
+ stretch: styles["align-stretch"],
19
+ baseline: styles["align-baseline"],
20
+ },
21
+ justify: {
22
+ start: styles["justify-start"],
23
+ center: styles["justify-center"],
24
+ end: styles["justify-end"],
25
+ between: styles["justify-between"],
26
+ },
27
+ wrap: {
28
+ noWrap: styles["wrap-noWrap"],
29
+ wrap: styles["wrap-wrap"],
30
+ wrapReverse: styles["wrap-wrapReverse"],
31
+ },
32
+ gap: {
33
+ "extra-small": styles["gap-xs"],
34
+ small: styles["gap-sm"],
35
+ medium: styles["gap-md"],
36
+ large: styles["gap-lg"],
37
+ "extra-large": styles["gap-xl"],
38
+ },
39
+ },
40
+ defaultVariants: {
41
+ direction: "row",
42
+ align: "stretch",
43
+ justify: "start",
44
+ wrap: "noWrap",
45
+ },
46
+ });
47
+ const Flex = forwardRef(({ children, direction, align, justify, wrap, gap, className, ...props }, ref) => {
48
+ return (jsxRuntimeExports.jsx("div", { className: flex({ direction, align, justify, wrap, gap, className }), ...props, ref: ref, children: children }));
49
+ });
50
+
51
+ export { Flex };
52
+ //# sourceMappingURL=flex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex.js","sources":["../../../../v1/components/flex/flex.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./flex.module.css\";\n\nconst flex = cva(styles.flex, {\n variants: {\n direction: {\n row: styles[\"direction-row\"],\n column: styles[\"direction-column\"],\n rowReverse: styles[\"direction-rowReverse\"],\n columnReverse: styles[\"direction-columnReverse\"],\n },\n align: {\n start: styles[\"align-start\"],\n center: styles[\"align-center\"],\n end: styles[\"align-end\"],\n stretch: styles[\"align-stretch\"],\n baseline: styles[\"align-baseline\"],\n },\n justify: {\n start: styles[\"justify-start\"],\n center: styles[\"justify-center\"],\n end: styles[\"justify-end\"],\n between: styles[\"justify-between\"],\n },\n wrap: {\n noWrap: styles[\"wrap-noWrap\"],\n wrap: styles[\"wrap-wrap\"],\n wrapReverse: styles[\"wrap-wrapReverse\"],\n },\n gap: {\n \"extra-small\": styles[\"gap-xs\"],\n small: styles[\"gap-sm\"],\n medium: styles[\"gap-md\"],\n large: styles[\"gap-lg\"],\n \"extra-large\": styles[\"gap-xl\"],\n },\n },\n defaultVariants: {\n direction: \"row\",\n align: \"stretch\",\n justify: \"start\",\n wrap: \"noWrap\",\n },\n});\n\ntype BoxProps = PropsWithChildren<VariantProps<typeof flex>> &\n HTMLAttributes<HTMLDivElement>;\n\nexport const Flex = forwardRef<HTMLDivElement, BoxProps>(\n (\n { children, direction, align, justify, wrap, gap, className, ...props },\n ref\n ) => {\n return (\n <div\n className={flex({ direction, align, justify, wrap, gap, className })}\n {...props}\n ref={ref}\n >\n {children}\n </div>\n );\n }\n);\n"],"names":["_jsx"],"mappings":";;;;;AAIA,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,SAAS,EAAE;AACT,YAAA,GAAG,EAAE,MAAM,CAAC,eAAe,CAAC;AAC5B,YAAA,MAAM,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAClC,YAAA,UAAU,EAAE,MAAM,CAAC,sBAAsB,CAAC;AAC1C,YAAA,aA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GAAG,UAAU,CAC5B,CACE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EACvE,GAAG,KACD;AACF,IAAA,QACEA,qBAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAA,GAChE,KAAK,EACT,GAAG,EAAE,GAAG,EAAA,QAAA,EAEP,QAAQ,EAAA,CACL,EACN;AACJ,CAAC;;;;"}
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var styles = {"flex":"flex-module_flex__fZ-Sc","direction-row":"flex-module_direction-row__77aQi","direction-column":"flex-module_direction-column__j4KqT","direction-rowReverse":"flex-module_direction-rowReverse__MPbAV","direction-columnReverse":"flex-module_direction-columnReverse__VLSDf","align-start":"flex-module_align-start__MCmFu","align-center":"flex-module_align-center__MNhmy","align-end":"flex-module_align-end__mUpw6","align-stretch":"flex-module_align-stretch__gqBJq","align-baseline":"flex-module_align-baseline__Ih3rJ","justify-start":"flex-module_justify-start__Qazki","justify-center":"flex-module_justify-center__DGV33","justify-end":"flex-module_justify-end__maAst","justify-between":"flex-module_justify-between__5A-HF","wrap-noWrap":"flex-module_wrap-noWrap__vo-yi","wrap-wrap":"flex-module_wrap-wrap__1GYoe","wrap-wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap-xs":"flex-module_gap-xs__WltLq","gap-sm":"flex-module_gap-sm__0u17E","gap-md":"flex-module_gap-md__qXNWu","gap-lg":"flex-module_gap-lg__84NhB","gap-xl":"flex-module_gap-xl__Ix6vc","direction___row":"flex-module_direction-row__77aQi","direction___column":"flex-module_direction-column__j4KqT","direction___rowReverse":"flex-module_direction-rowReverse__MPbAV","direction___columnReverse":"flex-module_direction-columnReverse__VLSDf","align___start":"flex-module_align-start__MCmFu","align___center":"flex-module_align-center__MNhmy","align___end":"flex-module_align-end__mUpw6","align___stretch":"flex-module_align-stretch__gqBJq","align___baseline":"flex-module_align-baseline__Ih3rJ","justify___start":"flex-module_justify-start__Qazki","justify___center":"flex-module_justify-center__DGV33","justify___end":"flex-module_justify-end__maAst","justify___between":"flex-module_justify-between__5A-HF","wrap___noWrap":"flex-module_wrap-noWrap__vo-yi","wrap___wrap":"flex-module_wrap-wrap__1GYoe","wrap___wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap___xs":"flex-module_gap-xs__WltLq","gap___sm":"flex-module_gap-sm__0u17E","gap___md":"flex-module_gap-md__qXNWu","gap___lg":"flex-module_gap-lg__84NhB","gap___xl":"flex-module_gap-xl__Ix6vc"};
6
+
7
+ exports.default = styles;
8
+ //# sourceMappingURL=flex.module.css.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ var styles = {"flex":"flex-module_flex__fZ-Sc","direction-row":"flex-module_direction-row__77aQi","direction-column":"flex-module_direction-column__j4KqT","direction-rowReverse":"flex-module_direction-rowReverse__MPbAV","direction-columnReverse":"flex-module_direction-columnReverse__VLSDf","align-start":"flex-module_align-start__MCmFu","align-center":"flex-module_align-center__MNhmy","align-end":"flex-module_align-end__mUpw6","align-stretch":"flex-module_align-stretch__gqBJq","align-baseline":"flex-module_align-baseline__Ih3rJ","justify-start":"flex-module_justify-start__Qazki","justify-center":"flex-module_justify-center__DGV33","justify-end":"flex-module_justify-end__maAst","justify-between":"flex-module_justify-between__5A-HF","wrap-noWrap":"flex-module_wrap-noWrap__vo-yi","wrap-wrap":"flex-module_wrap-wrap__1GYoe","wrap-wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap-xs":"flex-module_gap-xs__WltLq","gap-sm":"flex-module_gap-sm__0u17E","gap-md":"flex-module_gap-md__qXNWu","gap-lg":"flex-module_gap-lg__84NhB","gap-xl":"flex-module_gap-xl__Ix6vc","direction___row":"flex-module_direction-row__77aQi","direction___column":"flex-module_direction-column__j4KqT","direction___rowReverse":"flex-module_direction-rowReverse__MPbAV","direction___columnReverse":"flex-module_direction-columnReverse__VLSDf","align___start":"flex-module_align-start__MCmFu","align___center":"flex-module_align-center__MNhmy","align___end":"flex-module_align-end__mUpw6","align___stretch":"flex-module_align-stretch__gqBJq","align___baseline":"flex-module_align-baseline__Ih3rJ","justify___start":"flex-module_justify-start__Qazki","justify___center":"flex-module_justify-center__DGV33","justify___end":"flex-module_justify-end__maAst","justify___between":"flex-module_justify-between__5A-HF","wrap___noWrap":"flex-module_wrap-noWrap__vo-yi","wrap___wrap":"flex-module_wrap-wrap__1GYoe","wrap___wrapReverse":"flex-module_wrap-wrapReverse__ONfVN","gap___xs":"flex-module_gap-xs__WltLq","gap___sm":"flex-module_gap-sm__0u17E","gap___md":"flex-module_gap-md__qXNWu","gap___lg":"flex-module_gap-lg__84NhB","gap___xl":"flex-module_gap-xl__Ix6vc"};
2
+
3
+ export { styles as default };
4
+ //# sourceMappingURL=flex.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -0,0 +1,2 @@
1
+ export { Flex } from "./flex";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/flex/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Text } from "./text";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
4
+ var index = require('../../node_modules/.pnpm/class-variance-authority@0.6.0_typescript@5.4.3/node_modules/class-variance-authority/dist/index.cjs');
5
+ var text_module = require('./text.module.css.cjs');
6
+
7
+ const text = index.cva(text_module.default.text, {
8
+ variants: {
9
+ variant: {
10
+ primary: text_module.default["text-primary"],
11
+ secondary: text_module.default["text-secondary"],
12
+ tertiary: text_module.default["text-tertiary"],
13
+ emphasis: text_module.default["text-emphasis"],
14
+ accent: text_module.default["text-accent"],
15
+ attention: text_module.default["text-attention"],
16
+ danger: text_module.default["text-danger"],
17
+ success: text_module.default["text-success"],
18
+ },
19
+ size: {
20
+ 1: text_module.default["text-1"],
21
+ 2: text_module.default["text-2"],
22
+ 3: text_module.default["text-3"],
23
+ 4: text_module.default["text-4"],
24
+ 5: text_module.default["text-5"],
25
+ 6: text_module.default["text-6"],
26
+ 7: text_module.default["text-7"],
27
+ 8: text_module.default["text-8"],
28
+ 9: text_module.default["text-9"],
29
+ 10: text_module.default["text-10"],
30
+ },
31
+ weight: {
32
+ bold: text_module.default["text-weight-bold"],
33
+ bolder: text_module.default["text-weight-bolder"],
34
+ normal: text_module.default["text-weight-normal"],
35
+ lighter: text_module.default["text-weight-lighter"],
36
+ 100: text_module.default["text-weight-100"],
37
+ 200: text_module.default["text-weight-200"],
38
+ 300: text_module.default["text-weight-300"],
39
+ 400: text_module.default["text-weight-400"],
40
+ 500: text_module.default["text-weight-500"],
41
+ 600: text_module.default["text-weight-600"],
42
+ 700: text_module.default["text-weight-700"],
43
+ 800: text_module.default["text-weight-800"],
44
+ 900: text_module.default["text-weight-900"],
45
+ },
46
+ },
47
+ defaultVariants: {
48
+ variant: "primary",
49
+ size: 2,
50
+ weight: 400,
51
+ },
52
+ });
53
+ function Text({ children, className, size, variant, weight, ...props }) {
54
+ return (jsxRuntime.jsxRuntimeExports.jsx("span", { className: text({ size, className, weight, variant }), ...props, children: children }));
55
+ }
56
+
57
+ exports.Text = Text;
58
+ //# sourceMappingURL=text.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.cjs","sources":["../../../../v1/components/text/text.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./text.module.css\";\n\nconst text = cva(styles.text, {\n variants: {\n variant: {\n primary: styles[\"text-primary\"],\n secondary: styles[\"text-secondary\"],\n tertiary: styles[\"text-tertiary\"],\n emphasis: styles[\"text-emphasis\"],\n accent: styles[\"text-accent\"],\n attention: styles[\"text-attention\"],\n danger: styles[\"text-danger\"],\n success: styles[\"text-success\"],\n },\n size: {\n 1: styles[\"text-1\"],\n 2: styles[\"text-2\"],\n 3: styles[\"text-3\"],\n 4: styles[\"text-4\"],\n 5: styles[\"text-5\"],\n 6: styles[\"text-6\"],\n 7: styles[\"text-7\"],\n 8: styles[\"text-8\"],\n 9: styles[\"text-9\"],\n 10: styles[\"text-10\"],\n },\n weight: {\n bold: styles[\"text-weight-bold\"],\n bolder: styles[\"text-weight-bolder\"],\n normal: styles[\"text-weight-normal\"],\n lighter: styles[\"text-weight-lighter\"],\n 100: styles[\"text-weight-100\"],\n 200: styles[\"text-weight-200\"],\n 300: styles[\"text-weight-300\"],\n 400: styles[\"text-weight-400\"],\n 500: styles[\"text-weight-500\"],\n 600: styles[\"text-weight-600\"],\n 700: styles[\"text-weight-700\"],\n 800: styles[\"text-weight-800\"],\n 900: styles[\"text-weight-900\"],\n },\n },\n defaultVariants: {\n variant: \"primary\",\n size: 2,\n weight: 400,\n },\n});\n\nexport type TextProps = PropsWithChildren<VariantProps<typeof text>> &\n HTMLAttributes<HTMLSpanElement>;\n\nexport function Text({\n children,\n className,\n size,\n variant,\n weight,\n ...props\n}: TextProps) {\n return (\n <span className={text({ size, className, weight, variant })} {...props}>\n {children}\n </span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A,mBAAM,CAAC,oBAAoB,CAAC;AACpC,YAAA,MAAM,EAAEA,mBAAM,CAAC,oBAAoB,CAAC;AACpC,YAAA,OAAO,EAAEA,mBAAM,CAAC,qBAAqB,CAAC;AACtC,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC9B,YAAA,GAAG,EAAEA,mBAAM,CAAC,iBAAiB,CAAC;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,IAAI,EAAE,CAAC;AACP,QAAA,MAAM,EAAE,GAAG;AACZ,KAAA;AACF,CAAA,CAAC,CAAC;SAKa,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACE,EAAA;IACV,QACEC,2CAAM,SAAS,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAA,GAAM,KAAK,EACnE,QAAA,EAAA,QAAQ,EACJ,CAAA,EACP;AACJ;;;;"}
@@ -0,0 +1,11 @@
1
+ import { VariantProps } from "class-variance-authority";
2
+ import { HTMLAttributes, PropsWithChildren } from "react";
3
+ declare const text: (props?: ({
4
+ variant?: "primary" | "secondary" | "danger" | "tertiary" | "emphasis" | "accent" | "attention" | "success" | null | undefined;
5
+ size?: 1 | 2 | 3 | 4 | 5 | 6 | 8 | 7 | 9 | 10 | null | undefined;
6
+ weight?: "bold" | "normal" | "bolder" | "lighter" | 400 | 100 | 200 | 300 | 500 | 600 | 700 | 800 | 900 | null | undefined;
7
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
8
+ export type TextProps = PropsWithChildren<VariantProps<typeof text>> & HTMLAttributes<HTMLSpanElement>;
9
+ export declare function Text({ children, className, size, variant, weight, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../v1/components/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1D,QAAA,MAAM,IAAI;;;;mFA6CR,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,iBAAiB,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,GAClE,cAAc,CAAC,eAAe,CAAC,CAAC;AAElC,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACT,EAAE,SAAS,2CAMX"}
@@ -0,0 +1,56 @@
1
+ import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
2
+ import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.6.0_typescript@5.4.3/node_modules/class-variance-authority/dist/index.js';
3
+ import styles from './text.module.css.js';
4
+
5
+ const text = cva(styles.text, {
6
+ variants: {
7
+ variant: {
8
+ primary: styles["text-primary"],
9
+ secondary: styles["text-secondary"],
10
+ tertiary: styles["text-tertiary"],
11
+ emphasis: styles["text-emphasis"],
12
+ accent: styles["text-accent"],
13
+ attention: styles["text-attention"],
14
+ danger: styles["text-danger"],
15
+ success: styles["text-success"],
16
+ },
17
+ size: {
18
+ 1: styles["text-1"],
19
+ 2: styles["text-2"],
20
+ 3: styles["text-3"],
21
+ 4: styles["text-4"],
22
+ 5: styles["text-5"],
23
+ 6: styles["text-6"],
24
+ 7: styles["text-7"],
25
+ 8: styles["text-8"],
26
+ 9: styles["text-9"],
27
+ 10: styles["text-10"],
28
+ },
29
+ weight: {
30
+ bold: styles["text-weight-bold"],
31
+ bolder: styles["text-weight-bolder"],
32
+ normal: styles["text-weight-normal"],
33
+ lighter: styles["text-weight-lighter"],
34
+ 100: styles["text-weight-100"],
35
+ 200: styles["text-weight-200"],
36
+ 300: styles["text-weight-300"],
37
+ 400: styles["text-weight-400"],
38
+ 500: styles["text-weight-500"],
39
+ 600: styles["text-weight-600"],
40
+ 700: styles["text-weight-700"],
41
+ 800: styles["text-weight-800"],
42
+ 900: styles["text-weight-900"],
43
+ },
44
+ },
45
+ defaultVariants: {
46
+ variant: "primary",
47
+ size: 2,
48
+ weight: 400,
49
+ },
50
+ });
51
+ function Text({ children, className, size, variant, weight, ...props }) {
52
+ return (jsxRuntimeExports.jsx("span", { className: text({ size, className, weight, variant }), ...props, children: children }));
53
+ }
54
+
55
+ export { Text };
56
+ //# sourceMappingURL=text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.js","sources":["../../../../v1/components/text/text.tsx"],"sourcesContent":["import { cva, VariantProps } from \"class-variance-authority\";\nimport { HTMLAttributes, PropsWithChildren } from \"react\";\nimport styles from \"./text.module.css\";\n\nconst text = cva(styles.text, {\n variants: {\n variant: {\n primary: styles[\"text-primary\"],\n secondary: styles[\"text-secondary\"],\n tertiary: styles[\"text-tertiary\"],\n emphasis: styles[\"text-emphasis\"],\n accent: styles[\"text-accent\"],\n attention: styles[\"text-attention\"],\n danger: styles[\"text-danger\"],\n success: styles[\"text-success\"],\n },\n size: {\n 1: styles[\"text-1\"],\n 2: styles[\"text-2\"],\n 3: styles[\"text-3\"],\n 4: styles[\"text-4\"],\n 5: styles[\"text-5\"],\n 6: styles[\"text-6\"],\n 7: styles[\"text-7\"],\n 8: styles[\"text-8\"],\n 9: styles[\"text-9\"],\n 10: styles[\"text-10\"],\n },\n weight: {\n bold: styles[\"text-weight-bold\"],\n bolder: styles[\"text-weight-bolder\"],\n normal: styles[\"text-weight-normal\"],\n lighter: styles[\"text-weight-lighter\"],\n 100: styles[\"text-weight-100\"],\n 200: styles[\"text-weight-200\"],\n 300: styles[\"text-weight-300\"],\n 400: styles[\"text-weight-400\"],\n 500: styles[\"text-weight-500\"],\n 600: styles[\"text-weight-600\"],\n 700: styles[\"text-weight-700\"],\n 800: styles[\"text-weight-800\"],\n 900: styles[\"text-weight-900\"],\n },\n },\n defaultVariants: {\n variant: \"primary\",\n size: 2,\n weight: 400,\n },\n});\n\nexport type TextProps = PropsWithChildren<VariantProps<typeof text>> &\n HTMLAttributes<HTMLSpanElement>;\n\nexport function Text({\n children,\n className,\n size,\n variant,\n weight,\n ...props\n}: TextProps) {\n return (\n <span className={text({ size, className, weight, variant })} {...props}>\n {children}\n </span>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;AAC5B,IAAA,QAAQ,EAAE;AACR,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,MAAM,CAAC,cAAc,CAAC;AAC/B,YAAA,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC;AACnC,YAAA,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC;AACjC,YAAA,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC;AACjC,YAAA,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC;AACnC,YAAA,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC;AAC7B,YAAA,OAAO,EAAE,MAAM,CAAC,cAAc,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;AAC/B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,IAAI,EAAE,CAAC;AACP,QAAA,MAAM,EAAE,GAAG;AACZ,KAAA;AACF,CAAA,CAAC,CAAC;SAKa,IAAI,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACE,EAAA;IACV,QACEA,gCAAM,SAAS,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAA,GAAM,KAAK,EACnE,QAAA,EAAA,QAAQ,EACJ,CAAA,EACP;AACJ;;;;"}
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var styles = {"text":"text-module_text__tFuTL","text-1":"text-module_text-1__-2-1Q","text-2":"text-module_text-2__5ZsOG","text-3":"text-module_text-3__U15pQ","text-4":"text-module_text-4__9N-7-","text-5":"text-module_text-5__e0fbX","text-6":"text-module_text-6__BUzVU","text-7":"text-module_text-7__No7hH","text-8":"text-module_text-8__yNdGp","text-9":"text-module_text-9__DSyEB","text-10":"text-module_text-10__k14Sp","text-weight-bold":"text-module_text-weight-bold__7ih3v","text-weight-bolder":"text-module_text-weight-bolder__mVFaj","text-weight-normal":"text-module_text-weight-normal__WnUcI","text-weight-lighter":"text-module_text-weight-lighter__5rGlI","text-weight-100":"text-module_text-weight-100__yQW-Y","text-weight-200":"text-module_text-weight-200__y7kFi","text-weight-300":"text-module_text-weight-300__dCeJe","text-weight-400":"text-module_text-weight-400__GRCMw","text-weight-500":"text-module_text-weight-500__1LhmO","text-weight-600":"text-module_text-weight-600__w51eJ","text-weight-700":"text-module_text-weight-700__oz9p8","text-weight-800":"text-module_text-weight-800__nnim6","text-weight-900":"text-module_text-weight-900__Ol4Lo","text-primary":"text-module_text-primary__3JNcv","text-secondary":"text-module_text-secondary__qhbTE","text-tertiary":"text-module_text-tertiary__-Bta6","text-emphasis":"text-module_text-emphasis__nmBMl","text-accent":"text-module_text-accent__oymau","text-attention":"text-module_text-attention__Ugy-6","text-danger":"text-module_text-danger__7pZHX","text-success":"text-module_text-success__aRO0z","text___1":"text-module_text-1__-2-1Q","text___2":"text-module_text-2__5ZsOG","text___3":"text-module_text-3__U15pQ","text___4":"text-module_text-4__9N-7-","text___5":"text-module_text-5__e0fbX","text___6":"text-module_text-6__BUzVU","text___7":"text-module_text-7__No7hH","text___8":"text-module_text-8__yNdGp","text___9":"text-module_text-9__DSyEB","text___10":"text-module_text-10__k14Sp","text___weight___bold":"text-module_text-weight-bold__7ih3v","text___weight___bolder":"text-module_text-weight-bolder__mVFaj","text___weight___normal":"text-module_text-weight-normal__WnUcI","text___weight___lighter":"text-module_text-weight-lighter__5rGlI","text___weight___100":"text-module_text-weight-100__yQW-Y","text___weight___200":"text-module_text-weight-200__y7kFi","text___weight___300":"text-module_text-weight-300__dCeJe","text___weight___400":"text-module_text-weight-400__GRCMw","text___weight___500":"text-module_text-weight-500__1LhmO","text___weight___600":"text-module_text-weight-600__w51eJ","text___weight___700":"text-module_text-weight-700__oz9p8","text___weight___800":"text-module_text-weight-800__nnim6","text___weight___900":"text-module_text-weight-900__Ol4Lo","text___primary":"text-module_text-primary__3JNcv","text___secondary":"text-module_text-secondary__qhbTE","text___tertiary":"text-module_text-tertiary__-Bta6","text___emphasis":"text-module_text-emphasis__nmBMl","text___accent":"text-module_text-accent__oymau","text___attention":"text-module_text-attention__Ugy-6","text___danger":"text-module_text-danger__7pZHX","text___success":"text-module_text-success__aRO0z"};
6
+
7
+ exports.default = styles;
8
+ //# sourceMappingURL=text.module.css.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ var styles = {"text":"text-module_text__tFuTL","text-1":"text-module_text-1__-2-1Q","text-2":"text-module_text-2__5ZsOG","text-3":"text-module_text-3__U15pQ","text-4":"text-module_text-4__9N-7-","text-5":"text-module_text-5__e0fbX","text-6":"text-module_text-6__BUzVU","text-7":"text-module_text-7__No7hH","text-8":"text-module_text-8__yNdGp","text-9":"text-module_text-9__DSyEB","text-10":"text-module_text-10__k14Sp","text-weight-bold":"text-module_text-weight-bold__7ih3v","text-weight-bolder":"text-module_text-weight-bolder__mVFaj","text-weight-normal":"text-module_text-weight-normal__WnUcI","text-weight-lighter":"text-module_text-weight-lighter__5rGlI","text-weight-100":"text-module_text-weight-100__yQW-Y","text-weight-200":"text-module_text-weight-200__y7kFi","text-weight-300":"text-module_text-weight-300__dCeJe","text-weight-400":"text-module_text-weight-400__GRCMw","text-weight-500":"text-module_text-weight-500__1LhmO","text-weight-600":"text-module_text-weight-600__w51eJ","text-weight-700":"text-module_text-weight-700__oz9p8","text-weight-800":"text-module_text-weight-800__nnim6","text-weight-900":"text-module_text-weight-900__Ol4Lo","text-primary":"text-module_text-primary__3JNcv","text-secondary":"text-module_text-secondary__qhbTE","text-tertiary":"text-module_text-tertiary__-Bta6","text-emphasis":"text-module_text-emphasis__nmBMl","text-accent":"text-module_text-accent__oymau","text-attention":"text-module_text-attention__Ugy-6","text-danger":"text-module_text-danger__7pZHX","text-success":"text-module_text-success__aRO0z","text___1":"text-module_text-1__-2-1Q","text___2":"text-module_text-2__5ZsOG","text___3":"text-module_text-3__U15pQ","text___4":"text-module_text-4__9N-7-","text___5":"text-module_text-5__e0fbX","text___6":"text-module_text-6__BUzVU","text___7":"text-module_text-7__No7hH","text___8":"text-module_text-8__yNdGp","text___9":"text-module_text-9__DSyEB","text___10":"text-module_text-10__k14Sp","text___weight___bold":"text-module_text-weight-bold__7ih3v","text___weight___bolder":"text-module_text-weight-bolder__mVFaj","text___weight___normal":"text-module_text-weight-normal__WnUcI","text___weight___lighter":"text-module_text-weight-lighter__5rGlI","text___weight___100":"text-module_text-weight-100__yQW-Y","text___weight___200":"text-module_text-weight-200__y7kFi","text___weight___300":"text-module_text-weight-300__dCeJe","text___weight___400":"text-module_text-weight-400__GRCMw","text___weight___500":"text-module_text-weight-500__1LhmO","text___weight___600":"text-module_text-weight-600__w51eJ","text___weight___700":"text-module_text-weight-700__oz9p8","text___weight___800":"text-module_text-weight-800__nnim6","text___weight___900":"text-module_text-weight-900__Ol4Lo","text___primary":"text-module_text-primary__3JNcv","text___secondary":"text-module_text-secondary__qhbTE","text___tertiary":"text-module_text-tertiary__-Bta6","text___emphasis":"text-module_text-emphasis__nmBMl","text___accent":"text-module_text-accent__oymau","text___attention":"text-module_text-attention__Ugy-6","text___danger":"text-module_text-danger__7pZHX","text___success":"text-module_text-success__aRO0z"};
2
+
3
+ export { styles as default };
4
+ //# sourceMappingURL=text.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,3 +1,4 @@
1
1
  export { ThemeSwitcher } from "./switcher";
2
2
  export { ThemeProvider, useTheme } from "./theme";
3
+ export { ThemeProviderProps } from "./types";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/themprovider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/themprovider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,11 +1,22 @@
1
1
  'use strict';
2
2
 
3
- require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
4
- require('./theme.cjs');
3
+ var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
4
+ var reactIcons_esm = require('../../node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs');
5
+ var theme = require('./theme.cjs');
6
+ var box = require('../box/box.cjs');
5
7
 
6
8
  var Theme;
7
9
  (function (Theme) {
8
10
  Theme["DARK"] = "dark";
9
11
  Theme["LIGHT"] = "light";
10
12
  })(Theme || (Theme = {}));
13
+ function ThemeSwitcher({ size = 30, ...props }) {
14
+ const { theme: theme$1, setTheme } = theme.useTheme();
15
+ const onClickHandler = () => {
16
+ setTheme(theme$1 === Theme.DARK ? Theme.LIGHT : Theme.DARK);
17
+ };
18
+ return (jsxRuntime.jsxRuntimeExports.jsx(box.Box, { ...props, children: theme$1 === Theme.DARK ? (jsxRuntime.jsxRuntimeExports.jsx(reactIcons_esm.SunIcon, { width: size, height: size, onClick: onClickHandler })) : (jsxRuntime.jsxRuntimeExports.jsx(reactIcons_esm.MoonIcon, { width: size, height: size, onClick: onClickHandler })) }));
19
+ }
20
+
21
+ exports.ThemeSwitcher = ThemeSwitcher;
11
22
  //# sourceMappingURL=switcher.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"switcher.cjs","sources":["../../../../v1/components/themprovider/switcher.tsx"],"sourcesContent":["import { MoonIcon, SunIcon } from \"@radix-ui/react-icons\";\nimport { useTheme } from \"./theme\";\nimport { Box } from \"../box\";\n\nenum Theme {\n DARK = \"dark\",\n LIGHT = \"light\",\n}\n\ntype Props = { size?: number };\nexport function ThemeSwitcher({ size = 30, ...props }: Props) {\n const { theme, setTheme } = useTheme();\n const onClickHandler = () => {\n setTheme(theme === Theme.DARK ? Theme.LIGHT : Theme.DARK);\n };\n\n return (\n <Box {...props}>\n {theme === Theme.DARK ? (\n <SunIcon width={size} height={size} onClick={onClickHandler} />\n ) : (\n <MoonIcon width={size} height={size} onClick={onClickHandler} />\n )}\n </Box>\n );\n}\n"],"names":[],"mappings":";;;;;AAIA,IAAK,KAGJ,CAAA;AAHD,CAAA,UAAK,KAAK,EAAA;AACR,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,KAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACjB,CAAC,EAHI,KAAK,KAAL,KAAK,GAGT,EAAA,CAAA,CAAA;;"}
1
+ {"version":3,"file":"switcher.cjs","sources":["../../../../v1/components/themprovider/switcher.tsx"],"sourcesContent":["import { MoonIcon, SunIcon } from \"@radix-ui/react-icons\";\nimport { useTheme } from \"./theme\";\nimport { Box } from \"../box\";\n\nenum Theme {\n DARK = \"dark\",\n LIGHT = \"light\",\n}\n\ntype Props = { size?: number };\nexport function ThemeSwitcher({ size = 30, ...props }: Props) {\n const { theme, setTheme } = useTheme();\n const onClickHandler = () => {\n setTheme(theme === Theme.DARK ? Theme.LIGHT : Theme.DARK);\n };\n\n return (\n <Box {...props}>\n {theme === Theme.DARK ? (\n <SunIcon width={size} height={size} onClick={onClickHandler} />\n ) : (\n <MoonIcon width={size} height={size} onClick={onClickHandler} />\n )}\n </Box>\n );\n}\n"],"names":["theme","useTheme","_jsx","Box","SunIcon","MoonIcon"],"mappings":";;;;;;;AAIA,IAAK,KAGJ,CAAA;AAHD,CAAA,UAAK,KAAK,EAAA;AACR,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,KAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACjB,CAAC,EAHI,KAAK,KAAL,KAAK,GAGT,EAAA,CAAA,CAAA,CAAA;AAGK,SAAU,aAAa,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,EAAS,EAAA;IAC1D,MAAM,SAAEA,OAAK,EAAE,QAAQ,EAAE,GAAGC,cAAQ,EAAE,CAAC;IACvC,MAAM,cAAc,GAAG,MAAK;AAC1B,QAAA,QAAQ,CAACD,OAAK,KAAK,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AAC5D,KAAC,CAAC;IAEF,QACEE,gCAAC,CAAAC,OAAG,EAAK,EAAA,GAAA,KAAK,YACXH,OAAK,KAAK,KAAK,CAAC,IAAI,IACnBE,gCAAC,CAAAE,sBAAO,EAAC,EAAA,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAI,CAAA,KAE/DF,gCAAA,CAACG,uBAAQ,EAAA,EAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAI,CAAA,CACjE,EACG,CAAA,EACN;AACJ;;;;"}
@@ -1,9 +1,20 @@
1
- import '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
2
- import './theme.js';
1
+ import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
2
+ import { SunIcon, MoonIcon } from '../../node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js';
3
+ import { useTheme } from './theme.js';
4
+ import { Box } from '../box/box.js';
3
5
 
4
6
  var Theme;
5
7
  (function (Theme) {
6
8
  Theme["DARK"] = "dark";
7
9
  Theme["LIGHT"] = "light";
8
10
  })(Theme || (Theme = {}));
11
+ function ThemeSwitcher({ size = 30, ...props }) {
12
+ const { theme, setTheme } = useTheme();
13
+ const onClickHandler = () => {
14
+ setTheme(theme === Theme.DARK ? Theme.LIGHT : Theme.DARK);
15
+ };
16
+ return (jsxRuntimeExports.jsx(Box, { ...props, children: theme === Theme.DARK ? (jsxRuntimeExports.jsx(SunIcon, { width: size, height: size, onClick: onClickHandler })) : (jsxRuntimeExports.jsx(MoonIcon, { width: size, height: size, onClick: onClickHandler })) }));
17
+ }
18
+
19
+ export { ThemeSwitcher };
9
20
  //# sourceMappingURL=switcher.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"switcher.js","sources":["../../../../v1/components/themprovider/switcher.tsx"],"sourcesContent":["import { MoonIcon, SunIcon } from \"@radix-ui/react-icons\";\nimport { useTheme } from \"./theme\";\nimport { Box } from \"../box\";\n\nenum Theme {\n DARK = \"dark\",\n LIGHT = \"light\",\n}\n\ntype Props = { size?: number };\nexport function ThemeSwitcher({ size = 30, ...props }: Props) {\n const { theme, setTheme } = useTheme();\n const onClickHandler = () => {\n setTheme(theme === Theme.DARK ? Theme.LIGHT : Theme.DARK);\n };\n\n return (\n <Box {...props}>\n {theme === Theme.DARK ? (\n <SunIcon width={size} height={size} onClick={onClickHandler} />\n ) : (\n <MoonIcon width={size} height={size} onClick={onClickHandler} />\n )}\n </Box>\n );\n}\n"],"names":[],"mappings":";;;AAIA,IAAK,KAGJ,CAAA;AAHD,CAAA,UAAK,KAAK,EAAA;AACR,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,KAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACjB,CAAC,EAHI,KAAK,KAAL,KAAK,GAGT,EAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"switcher.js","sources":["../../../../v1/components/themprovider/switcher.tsx"],"sourcesContent":["import { MoonIcon, SunIcon } from \"@radix-ui/react-icons\";\nimport { useTheme } from \"./theme\";\nimport { Box } from \"../box\";\n\nenum Theme {\n DARK = \"dark\",\n LIGHT = \"light\",\n}\n\ntype Props = { size?: number };\nexport function ThemeSwitcher({ size = 30, ...props }: Props) {\n const { theme, setTheme } = useTheme();\n const onClickHandler = () => {\n setTheme(theme === Theme.DARK ? Theme.LIGHT : Theme.DARK);\n };\n\n return (\n <Box {...props}>\n {theme === Theme.DARK ? (\n <SunIcon width={size} height={size} onClick={onClickHandler} />\n ) : (\n <MoonIcon width={size} height={size} onClick={onClickHandler} />\n )}\n </Box>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;;AAIA,IAAK,KAGJ,CAAA;AAHD,CAAA,UAAK,KAAK,EAAA;AACR,IAAA,KAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,KAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACjB,CAAC,EAHI,KAAK,KAAL,KAAK,GAGT,EAAA,CAAA,CAAA,CAAA;AAGK,SAAU,aAAa,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,EAAS,EAAA;IAC1D,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAAC;IACvC,MAAM,cAAc,GAAG,MAAK;AAC1B,QAAA,QAAQ,CAAC,KAAK,KAAK,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AAC5D,KAAC,CAAC;IAEF,QACEA,qBAAC,CAAA,GAAG,EAAK,EAAA,GAAA,KAAK,YACX,KAAK,KAAK,KAAK,CAAC,IAAI,IACnBA,qBAAC,CAAA,OAAO,EAAC,EAAA,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAI,CAAA,KAE/DA,qBAAA,CAAC,QAAQ,EAAA,EAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAI,CAAA,CACjE,EACG,CAAA,EACN;AACJ;;;;"}