@causw/core 0.0.17 → 0.0.19

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 (142) hide show
  1. package/dist/components/Avatar/Avatar.d.cts +2 -2
  2. package/dist/components/Avatar/Avatar.d.mts +2 -2
  3. package/dist/components/Avatar/Avatar.styles.d.cts +3 -3
  4. package/dist/components/Avatar/Avatar.styles.d.mts +3 -3
  5. package/dist/components/BottomNavigation/BottomNavigation.d.cts +5 -5
  6. package/dist/components/BottomNavigation/BottomNavigation.d.mts +5 -5
  7. package/dist/components/BottomSheet/BottomSheet.cjs +6 -6
  8. package/dist/components/BottomSheet/BottomSheet.d.cts +7 -7
  9. package/dist/components/BottomSheet/BottomSheet.d.cts.map +1 -1
  10. package/dist/components/BottomSheet/BottomSheet.d.mts +7 -7
  11. package/dist/components/BottomSheet/BottomSheet.d.mts.map +1 -1
  12. package/dist/components/BottomSheet/BottomSheet.mjs +3 -3
  13. package/dist/components/BottomSheet/BottomSheet.mjs.map +1 -1
  14. package/dist/components/BottomSheet/BottomSheet.styles.cjs +8 -3
  15. package/dist/components/BottomSheet/BottomSheet.styles.d.cts +9 -6
  16. package/dist/components/BottomSheet/BottomSheet.styles.d.cts.map +1 -1
  17. package/dist/components/BottomSheet/BottomSheet.styles.d.mts +9 -6
  18. package/dist/components/BottomSheet/BottomSheet.styles.d.mts.map +1 -1
  19. package/dist/components/BottomSheet/BottomSheet.styles.mjs +8 -3
  20. package/dist/components/BottomSheet/BottomSheet.styles.mjs.map +1 -1
  21. package/dist/components/Box/Box.styles.d.cts +3 -3
  22. package/dist/components/Button/Button.d.cts +2 -2
  23. package/dist/components/Button/Button.d.cts.map +1 -1
  24. package/dist/components/Button/Button.d.mts +2 -2
  25. package/dist/components/Button/Button.d.mts.map +1 -1
  26. package/dist/components/Button/Button.styles.d.cts +3 -3
  27. package/dist/components/Button/Button.styles.d.mts +3 -3
  28. package/dist/components/CTAButton/CTAButton.d.cts +2 -2
  29. package/dist/components/CTAButton/CTAButton.styles.d.cts +3 -3
  30. package/dist/components/Calendar/Calendar.d.cts +2 -2
  31. package/dist/components/Calendar/Calendar.d.mts +2 -2
  32. package/dist/components/Calendar/Calendar.styles.d.cts +3 -3
  33. package/dist/components/Calendar/Calendar.styles.d.mts +3 -3
  34. package/dist/components/Checkbox/Checkbox.d.cts +4 -4
  35. package/dist/components/Checkbox/Checkbox.d.mts +4 -4
  36. package/dist/components/Checkbox/Checkbox.styles.d.mts +3 -3
  37. package/dist/components/Chip/Chip.d.cts +2 -2
  38. package/dist/components/Chip/Chip.styles.d.cts +3 -3
  39. package/dist/components/DatePicker/DatePicker.d.cts +2 -2
  40. package/dist/components/DatePicker/DatePicker.d.mts +2 -2
  41. package/dist/components/DatePicker/DatePicker.styles.d.cts +3 -3
  42. package/dist/components/DatePicker/DatePicker.styles.d.mts +3 -3
  43. package/dist/components/Dialog/Dialog.d.cts +13 -13
  44. package/dist/components/Dialog/Dialog.d.mts +5 -5
  45. package/dist/components/Dialog/Dialog.styles.d.cts +3 -3
  46. package/dist/components/Dialog/Dialog.styles.d.mts +3 -3
  47. package/dist/components/Dialog/Dialog.styles.d.mts.map +1 -1
  48. package/dist/components/Dropdown/Dropdown.d.cts +3 -3
  49. package/dist/components/Dropdown/Dropdown.d.mts +3 -3
  50. package/dist/components/Dropdown/Dropdown.styles.d.cts +3 -3
  51. package/dist/components/Dropdown/Dropdown.styles.d.mts +3 -3
  52. package/dist/components/Dropdown/Dropdown.styles.d.mts.map +1 -1
  53. package/dist/components/Field/Field.d.cts +5 -5
  54. package/dist/components/Field/Field.d.mts +5 -5
  55. package/dist/components/FloatingActionButton/FloatingActionButton.d.cts +2 -2
  56. package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts +3 -3
  57. package/dist/components/Grid/Grid.styles.d.mts +3 -3
  58. package/dist/components/HStack/HStack.d.cts +2 -2
  59. package/dist/components/HStack/HStack.d.mts +2 -2
  60. package/dist/components/Modal/Modal.d.cts +7 -7
  61. package/dist/components/Modal/Modal.d.mts +10 -10
  62. package/dist/components/Modal/Modal.styles.d.cts +3 -3
  63. package/dist/components/Modal/Modal.styles.d.mts +3 -3
  64. package/dist/components/Primitive/Primitive.d.mts +16 -16
  65. package/dist/components/PullToRefresh/PullToRefresh.d.cts +2 -2
  66. package/dist/components/PullToRefresh/PullToRefresh.d.mts +2 -2
  67. package/dist/components/PullToRefresh/PullToRefresh.styles.d.cts +3 -3
  68. package/dist/components/PullToRefresh/PullToRefresh.styles.d.mts +3 -3
  69. package/dist/components/Radio/Radio.d.cts +3 -3
  70. package/dist/components/Radio/Radio.d.mts +3 -3
  71. package/dist/components/RatioChart/RatioChart.d.cts +5 -5
  72. package/dist/components/RatioChart/RatioChart.d.mts +5 -5
  73. package/dist/components/RatioChart/RatioChartEditor.d.cts +2 -2
  74. package/dist/components/RatioChart/RatioChartEditor.d.mts +2 -2
  75. package/dist/components/Select/Select.d.cts +5 -5
  76. package/dist/components/Select/Select.d.mts +5 -5
  77. package/dist/components/Select/Select.styles.d.cts +3 -3
  78. package/dist/components/Sidebar/Sidebar.d.cts +8 -8
  79. package/dist/components/Sidebar/Sidebar.d.mts +8 -8
  80. package/dist/components/Sidebar/Sidebar.styles.d.mts +3 -3
  81. package/dist/components/Skeleton/Skeleton.d.cts +2 -2
  82. package/dist/components/Skeleton/Skeleton.styles.d.mts +3 -3
  83. package/dist/components/Spinner/Spinner.d.cts +2 -2
  84. package/dist/components/Spinner/Spinner.d.mts +2 -2
  85. package/dist/components/Spinner/Spinner.styles.d.mts +3 -3
  86. package/dist/components/Stack/Stack.styles.d.cts +3 -3
  87. package/dist/components/Stack/Stack.styles.d.mts +3 -3
  88. package/dist/components/Tab/Tab.d.cts +6 -6
  89. package/dist/components/Tab/Tab.d.mts +6 -6
  90. package/dist/components/Tab/Tab.styles.d.cts +3 -3
  91. package/dist/components/Text/Text.d.cts +1 -1
  92. package/dist/components/Text/Text.d.mts +1 -1
  93. package/dist/components/Text/Text.styles.cjs +1 -0
  94. package/dist/components/Text/Text.styles.d.cts +6 -3
  95. package/dist/components/Text/Text.styles.d.cts.map +1 -1
  96. package/dist/components/Text/Text.styles.d.mts +6 -3
  97. package/dist/components/Text/Text.styles.d.mts.map +1 -1
  98. package/dist/components/Text/Text.styles.mjs +1 -0
  99. package/dist/components/Text/Text.styles.mjs.map +1 -1
  100. package/dist/components/TextArea/TextArea.d.cts +4 -4
  101. package/dist/components/TextArea/TextArea.d.mts +4 -4
  102. package/dist/components/TextArea/TextArea.styles.d.mts +3 -3
  103. package/dist/components/TextInput/TextInput.d.cts +2 -2
  104. package/dist/components/TextInput/TextInput.d.cts.map +1 -1
  105. package/dist/components/TextInput/TextInput.d.mts +2 -2
  106. package/dist/components/TextInput/TextInput.styles.d.cts +3 -3
  107. package/dist/components/TextInput/TextInput.styles.d.mts +3 -3
  108. package/dist/components/Toast/Toast.d.cts +5 -5
  109. package/dist/components/Toast/Toast.d.cts.map +1 -1
  110. package/dist/components/Toast/Toast.d.mts +5 -5
  111. package/dist/components/Toast/Toast.styles.d.cts +3 -3
  112. package/dist/components/Toggle/Toggle.d.cts +4 -4
  113. package/dist/components/Toggle/Toggle.d.mts +4 -4
  114. package/dist/components/Toggle/Toggle.d.mts.map +1 -1
  115. package/dist/components/Toggle/Toggle.styles.d.cts +3 -3
  116. package/dist/components/Toggle/Toggle.styles.d.mts +3 -3
  117. package/dist/components/VStack/VStack.d.cts +2 -2
  118. package/dist/components/VStack/VStack.d.mts +2 -2
  119. package/dist/components/index.d.cts +0 -2
  120. package/dist/components/index.d.mts +0 -2
  121. package/dist/index.cjs +0 -2
  122. package/dist/index.d.cts +1 -2
  123. package/dist/index.d.mts +1 -2
  124. package/dist/index.mjs +1 -2
  125. package/package.json +3 -2
  126. package/src/styles/global.css +5 -1
  127. package/dist/components/Drawer/Drawer.cjs +0 -41
  128. package/dist/components/Drawer/Drawer.d.cts +0 -29
  129. package/dist/components/Drawer/Drawer.d.cts.map +0 -1
  130. package/dist/components/Drawer/Drawer.d.mts +0 -29
  131. package/dist/components/Drawer/Drawer.d.mts.map +0 -1
  132. package/dist/components/Drawer/Drawer.mjs +0 -40
  133. package/dist/components/Drawer/Drawer.mjs.map +0 -1
  134. package/dist/components/Drawer/Drawer.styles.cjs +0 -23
  135. package/dist/components/Drawer/Drawer.styles.d.cts +0 -36
  136. package/dist/components/Drawer/Drawer.styles.d.cts.map +0 -1
  137. package/dist/components/Drawer/Drawer.styles.d.mts +0 -36
  138. package/dist/components/Drawer/Drawer.styles.d.mts.map +0 -1
  139. package/dist/components/Drawer/Drawer.styles.mjs +0 -23
  140. package/dist/components/Drawer/Drawer.styles.mjs.map +0 -1
  141. package/dist/components/Drawer/index.d.cts +0 -1
  142. package/dist/components/Drawer/index.d.mts +0 -1
@@ -1,29 +0,0 @@
1
- import { DrawerVariants } from "./Drawer.styles.mjs";
2
- import * as react16 from "react";
3
- import * as react_jsx_runtime83 from "react/jsx-runtime";
4
- import * as DialogPrimitive from "@radix-ui/react-dialog";
5
-
6
- //#region src/components/Drawer/Drawer.d.ts
7
- type DrawerOverlayProps = React.ComponentProps<typeof DialogPrimitive.Overlay>;
8
- type DrawerContentProps = React.ComponentProps<typeof DialogPrimitive.Content> & DrawerVariants;
9
- declare const Drawer: react16.FC<DialogPrimitive.DialogProps> & {
10
- Root: react16.FC<DialogPrimitive.DialogProps>;
11
- Trigger: react16.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react16.RefAttributes<HTMLButtonElement>>;
12
- Close: react16.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react16.RefAttributes<HTMLButtonElement>>;
13
- Portal: react16.FC<DialogPrimitive.DialogPortalProps>;
14
- Overlay: ({
15
- className,
16
- ...props
17
- }: DrawerOverlayProps) => react_jsx_runtime83.JSX.Element;
18
- Content: ({
19
- position,
20
- className,
21
- children,
22
- ...props
23
- }: DrawerContentProps) => react_jsx_runtime83.JSX.Element;
24
- Title: react16.ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & react16.RefAttributes<HTMLHeadingElement>>;
25
- Description: react16.ForwardRefExoticComponent<DialogPrimitive.DialogDescriptionProps & react16.RefAttributes<HTMLParagraphElement>>;
26
- };
27
- //#endregion
28
- export { Drawer };
29
- //# sourceMappingURL=Drawer.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drawer.d.mts","names":[],"sources":["../../../src/components/Drawer/Drawer.tsx"],"mappings":";;;;;;KAUK,kBAAA,GAAqB,KAAA,CAAM,cAAA,QAAsB,eAAA,CAAgB,OAAA;AAAA,KASjE,kBAAA,GAAqB,KAAA,CAAM,cAAA,QAAsB,eAAA,CAAgB,OAAA,IACpE,cAAA;AAAA,cAgBW,MAAA,EAAM,OAAA,CAAA,EAAA,CAAA,eAAA,CAAA,WAAA;;;;;;;;KAxB6B,kBAAA,KAAkB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;KAe/D,kBAAA,KAAkB,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,40 +0,0 @@
1
- import { drawer } from "./Drawer.styles.mjs";
2
- import { jsx } from "react/jsx-runtime";
3
- import * as DialogPrimitive from "@radix-ui/react-dialog";
4
-
5
- //#region src/components/Drawer/Drawer.tsx
6
- const DrawerRoot = DialogPrimitive.Root;
7
- const DrawerTrigger = DialogPrimitive.Trigger;
8
- const DrawerClose = DialogPrimitive.Close;
9
- const DrawerPortal = DialogPrimitive.Portal;
10
- const DrawerTitle = DialogPrimitive.Title;
11
- const DrawerDescription = DialogPrimitive.Description;
12
- const DrawerOverlay = ({ className, ...props }) => {
13
- const { overlay } = drawer();
14
- return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, {
15
- className: overlay({ className }),
16
- ...props
17
- });
18
- };
19
- const DrawerContent = ({ position, className, children, ...props }) => {
20
- const { content } = drawer({ position });
21
- return /* @__PURE__ */ jsx(DialogPrimitive.Content, {
22
- className: content({ className }),
23
- ...props,
24
- children
25
- });
26
- };
27
- const Drawer = Object.assign(DrawerRoot, {
28
- Root: DrawerRoot,
29
- Trigger: DrawerTrigger,
30
- Close: DrawerClose,
31
- Portal: DrawerPortal,
32
- Overlay: DrawerOverlay,
33
- Content: DrawerContent,
34
- Title: DrawerTitle,
35
- Description: DrawerDescription
36
- });
37
-
38
- //#endregion
39
- export { Drawer };
40
- //# sourceMappingURL=Drawer.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drawer.mjs","names":[],"sources":["../../../src/components/Drawer/Drawer.tsx"],"sourcesContent":["import * as DialogPrimitive from '@radix-ui/react-dialog';\nimport { drawer, DrawerVariants } from './Drawer.styles';\n\nconst DrawerRoot = DialogPrimitive.Root;\nconst DrawerTrigger = DialogPrimitive.Trigger;\nconst DrawerClose = DialogPrimitive.Close;\nconst DrawerPortal = DialogPrimitive.Portal;\nconst DrawerTitle = DialogPrimitive.Title;\nconst DrawerDescription = DialogPrimitive.Description;\n\ntype DrawerOverlayProps = React.ComponentProps<typeof DialogPrimitive.Overlay>;\n\nconst DrawerOverlay = ({ className, ...props }: DrawerOverlayProps) => {\n const { overlay } = drawer();\n return (\n <DialogPrimitive.Overlay className={overlay({ className })} {...props} />\n );\n};\n\ntype DrawerContentProps = React.ComponentProps<typeof DialogPrimitive.Content> &\n DrawerVariants;\n\nconst DrawerContent = ({\n position,\n className,\n children,\n ...props\n}: DrawerContentProps) => {\n const { content } = drawer({ position });\n return (\n <DialogPrimitive.Content className={content({ className })} {...props}>\n {children}\n </DialogPrimitive.Content>\n );\n};\n\nexport const Drawer = Object.assign(DrawerRoot, {\n Root: DrawerRoot,\n Trigger: DrawerTrigger,\n Close: DrawerClose,\n Portal: DrawerPortal,\n Overlay: DrawerOverlay,\n Content: DrawerContent,\n Title: DrawerTitle,\n Description: DrawerDescription,\n});\n"],"mappings":";;;;;AAGA,MAAM,aAAa,gBAAgB;AACnC,MAAM,gBAAgB,gBAAgB;AACtC,MAAM,cAAc,gBAAgB;AACpC,MAAM,eAAe,gBAAgB;AACrC,MAAM,cAAc,gBAAgB;AACpC,MAAM,oBAAoB,gBAAgB;AAI1C,MAAM,iBAAiB,EAAE,WAAW,GAAG,YAAgC;CACrE,MAAM,EAAE,YAAY,QAAQ;AAC5B,QACE,oBAAC,gBAAgB;EAAQ,WAAW,QAAQ,EAAE,WAAW,CAAC;EAAE,GAAI;GAAS;;AAO7E,MAAM,iBAAiB,EACrB,UACA,WACA,UACA,GAAG,YACqB;CACxB,MAAM,EAAE,YAAY,OAAO,EAAE,UAAU,CAAC;AACxC,QACE,oBAAC,gBAAgB;EAAQ,WAAW,QAAQ,EAAE,WAAW,CAAC;EAAE,GAAI;EAC7D;GACuB;;AAI9B,MAAa,SAAS,OAAO,OAAO,YAAY;CAC9C,MAAM;CACN,SAAS;CACT,OAAO;CACP,QAAQ;CACR,SAAS;CACT,SAAS;CACT,OAAO;CACP,aAAa;CACd,CAAC"}
@@ -1,23 +0,0 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- let tailwind_variants = require("tailwind-variants");
3
-
4
- //#region src/components/Drawer/Drawer.styles.ts
5
- const drawer = (0, tailwind_variants.tv)({
6
- slots: {
7
- overlay: [
8
- "fixed inset-0 z-50",
9
- "data-[state=open]:animate-overlay-show",
10
- "data-[state=closed]:animate-overlay-hide"
11
- ],
12
- content: [
13
- "fixed z-50 w-full",
14
- "data-[state=open]:animate-content-show",
15
- "data-[state=closed]:animate-content-hide"
16
- ]
17
- },
18
- variants: { position: { bottom: { content: "bottom-0" } } },
19
- defaultVariants: { position: "bottom" }
20
- });
21
-
22
- //#endregion
23
- exports.drawer = drawer;
@@ -1,36 +0,0 @@
1
- import * as tailwind_variants49 from "tailwind-variants";
2
- import { VariantProps } from "tailwind-variants";
3
-
4
- //#region src/components/Drawer/Drawer.styles.d.ts
5
- declare const drawer: tailwind_variants49.TVReturnType<{
6
- position: {
7
- bottom: {
8
- content: string;
9
- };
10
- };
11
- }, {
12
- overlay: string[];
13
- content: string[];
14
- }, undefined, {
15
- position: {
16
- bottom: {
17
- content: string;
18
- };
19
- };
20
- }, {
21
- overlay: string[];
22
- content: string[];
23
- }, tailwind_variants49.TVReturnType<{
24
- position: {
25
- bottom: {
26
- content: string;
27
- };
28
- };
29
- }, {
30
- overlay: string[];
31
- content: string[];
32
- }, undefined, unknown, unknown, undefined>>;
33
- type DrawerVariants = VariantProps<typeof drawer>;
34
- //#endregion
35
- export { DrawerVariants };
36
- //# sourceMappingURL=Drawer.styles.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drawer.styles.d.cts","names":[],"sources":["../../../src/components/Drawer/Drawer.styles.ts"],"mappings":";;;;cAEa,MAAA,EAuBX,mBAAA,CAvBiB,YAAA;;;;;;;;;;;;;;;;;;GAuBjB,mBAAA,CAAA,YAAA;;;;;;;;;;KAEU,cAAA,GAAiB,YAAA,QAAoB,MAAA"}
@@ -1,36 +0,0 @@
1
- import * as tailwind_variants53 from "tailwind-variants";
2
- import { VariantProps } from "tailwind-variants";
3
-
4
- //#region src/components/Drawer/Drawer.styles.d.ts
5
- declare const drawer: tailwind_variants53.TVReturnType<{
6
- position: {
7
- bottom: {
8
- content: string;
9
- };
10
- };
11
- }, {
12
- overlay: string[];
13
- content: string[];
14
- }, undefined, {
15
- position: {
16
- bottom: {
17
- content: string;
18
- };
19
- };
20
- }, {
21
- overlay: string[];
22
- content: string[];
23
- }, tailwind_variants53.TVReturnType<{
24
- position: {
25
- bottom: {
26
- content: string;
27
- };
28
- };
29
- }, {
30
- overlay: string[];
31
- content: string[];
32
- }, undefined, unknown, unknown, undefined>>;
33
- type DrawerVariants = VariantProps<typeof drawer>;
34
- //#endregion
35
- export { DrawerVariants };
36
- //# sourceMappingURL=Drawer.styles.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drawer.styles.d.mts","names":[],"sources":["../../../src/components/Drawer/Drawer.styles.ts"],"mappings":";;;;cAEa,MAAA,EAuBX,mBAAA,CAvBiB,YAAA;;;;;;;;;;;;;;;;;;GAuBjB,mBAAA,CAAA,YAAA;;;;;;;;;;KAEU,cAAA,GAAiB,YAAA,QAAoB,MAAA"}
@@ -1,23 +0,0 @@
1
- import { tv } from "tailwind-variants";
2
-
3
- //#region src/components/Drawer/Drawer.styles.ts
4
- const drawer = tv({
5
- slots: {
6
- overlay: [
7
- "fixed inset-0 z-50",
8
- "data-[state=open]:animate-overlay-show",
9
- "data-[state=closed]:animate-overlay-hide"
10
- ],
11
- content: [
12
- "fixed z-50 w-full",
13
- "data-[state=open]:animate-content-show",
14
- "data-[state=closed]:animate-content-hide"
15
- ]
16
- },
17
- variants: { position: { bottom: { content: "bottom-0" } } },
18
- defaultVariants: { position: "bottom" }
19
- });
20
-
21
- //#endregion
22
- export { drawer };
23
- //# sourceMappingURL=Drawer.styles.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drawer.styles.mjs","names":[],"sources":["../../../src/components/Drawer/Drawer.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\n\nexport const drawer = tv({\n slots: {\n overlay: [\n 'fixed inset-0 z-50',\n 'data-[state=open]:animate-overlay-show',\n 'data-[state=closed]:animate-overlay-hide',\n ],\n content: [\n 'fixed z-50 w-full',\n 'data-[state=open]:animate-content-show',\n 'data-[state=closed]:animate-content-hide',\n ],\n },\n variants: {\n position: {\n bottom: {\n content: 'bottom-0',\n },\n },\n },\n defaultVariants: {\n position: 'bottom',\n },\n});\n\nexport type DrawerVariants = VariantProps<typeof drawer>;\n"],"mappings":";;;AAEA,MAAa,SAAS,GAAG;CACvB,OAAO;EACL,SAAS;GACP;GACA;GACA;GACD;EACD,SAAS;GACP;GACA;GACA;GACD;EACF;CACD,UAAU,EACR,UAAU,EACR,QAAQ,EACN,SAAS,YACV,EACF,EACF;CACD,iBAAiB,EACf,UAAU,UACX;CACF,CAAC"}
@@ -1 +0,0 @@
1
- import { Drawer } from "./Drawer.cjs";
@@ -1 +0,0 @@
1
- import { Drawer } from "./Drawer.mjs";