@causw/core 0.0.15 → 0.0.17

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 (271) hide show
  1. package/README.md +123 -0
  2. package/dist/components/Avatar/Avatar.d.cts +3 -2
  3. package/dist/components/Avatar/Avatar.d.cts.map +1 -1
  4. package/dist/components/Avatar/Avatar.d.mts +2 -2
  5. package/dist/components/Avatar/Avatar.styles.d.cts +3 -3
  6. package/dist/components/Avatar/Avatar.styles.d.mts +3 -3
  7. package/dist/components/Avatar/index.d.cts +2 -0
  8. package/dist/components/BottomNavigation/BottomNavigation.d.cts +6 -5
  9. package/dist/components/BottomNavigation/BottomNavigation.d.cts.map +1 -1
  10. package/dist/components/BottomNavigation/BottomNavigation.d.mts +5 -5
  11. package/dist/components/BottomNavigation/BottomNavigation.styles.d.mts +3 -3
  12. package/dist/components/BottomNavigation/index.d.cts +1 -0
  13. package/dist/components/BottomSheet/BottomSheet.d.cts +6 -6
  14. package/dist/components/BottomSheet/BottomSheet.d.mts +6 -6
  15. package/dist/components/BottomSheet/BottomSheet.styles.d.cts +3 -3
  16. package/dist/components/BottomSheet/BottomSheet.styles.d.mts +3 -3
  17. package/dist/components/BottomSheet/index.d.cts +1 -0
  18. package/dist/components/Box/Box.d.cts +1 -0
  19. package/dist/components/Box/Box.d.cts.map +1 -1
  20. package/dist/components/Box/index.d.cts +2 -0
  21. package/dist/components/Button/Button.d.cts +3 -2
  22. package/dist/components/Button/Button.d.cts.map +1 -1
  23. package/dist/components/Button/Button.d.mts +2 -2
  24. package/dist/components/Button/Button.d.mts.map +1 -1
  25. package/dist/components/Button/Button.styles.cjs +1 -1
  26. package/dist/components/Button/Button.styles.d.cts +5 -5
  27. package/dist/components/Button/Button.styles.d.mts +5 -5
  28. package/dist/components/Button/Button.styles.mjs +1 -1
  29. package/dist/components/Button/Button.styles.mjs.map +1 -1
  30. package/dist/components/Button/index.d.cts +1 -0
  31. package/dist/components/CTAButton/CTAButton.d.cts +3 -2
  32. package/dist/components/CTAButton/CTAButton.d.cts.map +1 -1
  33. package/dist/components/CTAButton/CTAButton.styles.cjs +1 -1
  34. package/dist/components/CTAButton/CTAButton.styles.d.cts +5 -5
  35. package/dist/components/CTAButton/CTAButton.styles.d.mts +5 -5
  36. package/dist/components/CTAButton/CTAButton.styles.mjs +1 -1
  37. package/dist/components/CTAButton/CTAButton.styles.mjs.map +1 -1
  38. package/dist/components/CTAButton/index.d.cts +1 -0
  39. package/dist/components/Calendar/Calendar.cjs +2 -2
  40. package/dist/components/Calendar/Calendar.d.cts +4 -2
  41. package/dist/components/Calendar/Calendar.d.cts.map +1 -1
  42. package/dist/components/Calendar/Calendar.d.mts +4 -2
  43. package/dist/components/Calendar/Calendar.d.mts.map +1 -1
  44. package/dist/components/Calendar/Calendar.mjs +2 -2
  45. package/dist/components/Calendar/Calendar.mjs.map +1 -1
  46. package/dist/components/Calendar/Calendar.styles.d.cts +3 -3
  47. package/dist/components/Calendar/Calendar.styles.d.mts +3 -3
  48. package/dist/components/Checkbox/Checkbox.d.cts +6 -4
  49. package/dist/components/Checkbox/Checkbox.d.cts.map +1 -1
  50. package/dist/components/Checkbox/Checkbox.d.mts +4 -4
  51. package/dist/components/Checkbox/Checkbox.styles.d.cts +3 -3
  52. package/dist/components/Checkbox/index.d.cts +1 -0
  53. package/dist/components/Chip/Chip.d.cts +3 -2
  54. package/dist/components/Chip/Chip.d.cts.map +1 -1
  55. package/dist/components/Chip/Chip.d.mts +2 -2
  56. package/dist/components/Chip/Chip.styles.cjs +1 -1
  57. package/dist/components/Chip/Chip.styles.d.cts +3 -3
  58. package/dist/components/Chip/Chip.styles.d.mts +3 -3
  59. package/dist/components/Chip/Chip.styles.mjs +1 -1
  60. package/dist/components/Chip/Chip.styles.mjs.map +1 -1
  61. package/dist/components/Chip/index.d.cts +2 -0
  62. package/dist/components/DatePicker/DatePicker.cjs +93 -0
  63. package/dist/components/DatePicker/DatePicker.d.cts +40 -0
  64. package/dist/components/DatePicker/DatePicker.d.cts.map +1 -0
  65. package/dist/components/DatePicker/DatePicker.d.mts +41 -0
  66. package/dist/components/DatePicker/DatePicker.d.mts.map +1 -0
  67. package/dist/components/DatePicker/DatePicker.mjs +92 -0
  68. package/dist/components/DatePicker/DatePicker.mjs.map +1 -0
  69. package/dist/components/DatePicker/DatePicker.styles.cjs +33 -0
  70. package/dist/components/DatePicker/DatePicker.styles.d.cts +84 -0
  71. package/dist/components/DatePicker/DatePicker.styles.d.cts.map +1 -0
  72. package/dist/components/DatePicker/DatePicker.styles.d.mts +84 -0
  73. package/dist/components/DatePicker/DatePicker.styles.d.mts.map +1 -0
  74. package/dist/components/DatePicker/DatePicker.styles.mjs +33 -0
  75. package/dist/components/DatePicker/DatePicker.styles.mjs.map +1 -0
  76. package/dist/components/DatePicker/index.d.cts +2 -0
  77. package/dist/components/DatePicker/index.d.mts +2 -0
  78. package/dist/components/Dialog/Dialog.d.cts +9 -8
  79. package/dist/components/Dialog/Dialog.d.cts.map +1 -1
  80. package/dist/components/Dialog/Dialog.d.mts +5 -5
  81. package/dist/components/Dialog/Dialog.styles.d.cts +3 -3
  82. package/dist/components/Dialog/Dialog.styles.d.mts +3 -3
  83. package/dist/components/Dialog/index.d.cts +2 -0
  84. package/dist/components/Drawer/Drawer.d.cts +11 -11
  85. package/dist/components/Drawer/Drawer.d.cts.map +1 -1
  86. package/dist/components/Drawer/Drawer.d.mts +3 -3
  87. package/dist/components/Drawer/Drawer.styles.d.cts +3 -3
  88. package/dist/components/Drawer/Drawer.styles.d.mts +3 -3
  89. package/dist/components/Drawer/index.d.cts +1 -0
  90. package/dist/components/Dropdown/Dropdown.d.mts +3 -3
  91. package/dist/components/Dropdown/Dropdown.styles.d.cts +3 -3
  92. package/dist/components/Dropdown/Dropdown.styles.d.mts +3 -3
  93. package/dist/components/Dropdown/Dropdown.styles.d.mts.map +1 -1
  94. package/dist/components/Dropdown/index.d.cts +2 -0
  95. package/dist/components/Field/Field.d.cts +6 -5
  96. package/dist/components/Field/Field.d.cts.map +1 -1
  97. package/dist/components/Field/Field.d.mts +5 -5
  98. package/dist/components/Field/index.d.cts +1 -0
  99. package/dist/components/Flex/Flex.d.cts +1 -0
  100. package/dist/components/Flex/Flex.d.cts.map +1 -1
  101. package/dist/components/Flex/index.d.cts +2 -0
  102. package/dist/components/Float/Float.d.cts +1 -0
  103. package/dist/components/Float/Float.d.cts.map +1 -1
  104. package/dist/components/Float/Float.styles.d.mts +3 -3
  105. package/dist/components/Float/index.d.cts +1 -0
  106. package/dist/components/FloatingActionButton/FloatingActionButton.d.cts +3 -2
  107. package/dist/components/FloatingActionButton/FloatingActionButton.d.cts.map +1 -1
  108. package/dist/components/FloatingActionButton/FloatingActionButton.d.mts +2 -2
  109. package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.cts +3 -3
  110. package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts +3 -3
  111. package/dist/components/FloatingActionButton/index.d.cts +1 -0
  112. package/dist/components/Grid/Grid.d.cts +1 -0
  113. package/dist/components/Grid/Grid.d.cts.map +1 -1
  114. package/dist/components/Grid/Grid.styles.d.mts +3 -3
  115. package/dist/components/Grid/index.d.cts +1 -0
  116. package/dist/components/HStack/HStack.d.cts +3 -2
  117. package/dist/components/HStack/HStack.d.cts.map +1 -1
  118. package/dist/components/HStack/HStack.d.mts +2 -2
  119. package/dist/components/HStack/index.d.cts +1 -0
  120. package/dist/components/Modal/Modal.cjs +4 -7
  121. package/dist/components/Modal/Modal.d.cts +14 -15
  122. package/dist/components/Modal/Modal.d.cts.map +1 -1
  123. package/dist/components/Modal/Modal.d.mts +10 -12
  124. package/dist/components/Modal/Modal.d.mts.map +1 -1
  125. package/dist/components/Modal/Modal.mjs +4 -7
  126. package/dist/components/Modal/Modal.mjs.map +1 -1
  127. package/dist/components/Modal/Modal.styles.cjs +15 -26
  128. package/dist/components/Modal/Modal.styles.d.cts +3 -39
  129. package/dist/components/Modal/Modal.styles.d.cts.map +1 -1
  130. package/dist/components/Modal/Modal.styles.d.mts +0 -36
  131. package/dist/components/Modal/Modal.styles.d.mts.map +1 -1
  132. package/dist/components/Modal/Modal.styles.mjs +15 -26
  133. package/dist/components/Modal/Modal.styles.mjs.map +1 -1
  134. package/dist/components/Modal/index.d.cts +2 -0
  135. package/dist/components/Primitive/Primitive.d.cts +16 -16
  136. package/dist/components/Primitive/Primitive.d.mts +16 -16
  137. package/dist/components/Primitive/index.d.cts +1 -0
  138. package/dist/components/PullToRefresh/PullToRefresh.cjs +79 -0
  139. package/dist/components/PullToRefresh/PullToRefresh.d.cts +20 -0
  140. package/dist/components/PullToRefresh/PullToRefresh.d.cts.map +1 -0
  141. package/dist/components/PullToRefresh/PullToRefresh.d.mts +20 -0
  142. package/dist/components/PullToRefresh/PullToRefresh.d.mts.map +1 -0
  143. package/dist/components/PullToRefresh/PullToRefresh.mjs +78 -0
  144. package/dist/components/PullToRefresh/PullToRefresh.mjs.map +1 -0
  145. package/dist/components/PullToRefresh/PullToRefresh.styles.cjs +12 -0
  146. package/dist/components/PullToRefresh/PullToRefresh.styles.d.cts +46 -0
  147. package/dist/components/PullToRefresh/PullToRefresh.styles.d.cts.map +1 -0
  148. package/dist/components/PullToRefresh/PullToRefresh.styles.d.mts +46 -0
  149. package/dist/components/PullToRefresh/PullToRefresh.styles.d.mts.map +1 -0
  150. package/dist/components/PullToRefresh/PullToRefresh.styles.mjs +12 -0
  151. package/dist/components/PullToRefresh/PullToRefresh.styles.mjs.map +1 -0
  152. package/dist/components/PullToRefresh/index.d.cts +1 -0
  153. package/dist/components/PullToRefresh/index.d.mts +1 -0
  154. package/dist/components/Radio/Radio.d.cts +4 -3
  155. package/dist/components/Radio/Radio.d.cts.map +1 -1
  156. package/dist/components/Radio/index.d.cts +1 -0
  157. package/dist/components/RatioChart/RatioChart.d.cts +5 -5
  158. package/dist/components/RatioChart/RatioChart.d.mts +5 -5
  159. package/dist/components/RatioChart/RatioChartEditor.d.cts +2 -2
  160. package/dist/components/RatioChart/RatioChartEditor.d.mts +2 -2
  161. package/dist/components/RatioChart/index.d.cts +2 -0
  162. package/dist/components/Select/Select.d.mts +5 -5
  163. package/dist/components/Select/Select.styles.d.cts +3 -3
  164. package/dist/components/Select/index.d.cts +2 -0
  165. package/dist/components/Separator/Separator.d.cts +1 -0
  166. package/dist/components/Separator/Separator.d.cts.map +1 -1
  167. package/dist/components/Separator/Separator.styles.cjs +1 -1
  168. package/dist/components/Separator/Separator.styles.d.mts +3 -3
  169. package/dist/components/Separator/Separator.styles.mjs +1 -1
  170. package/dist/components/Separator/Separator.styles.mjs.map +1 -1
  171. package/dist/components/Separator/index.d.cts +2 -0
  172. package/dist/components/Sidebar/Sidebar.d.cts +9 -8
  173. package/dist/components/Sidebar/Sidebar.d.cts.map +1 -1
  174. package/dist/components/Sidebar/Sidebar.d.mts +8 -8
  175. package/dist/components/Sidebar/Sidebar.styles.d.mts +3 -3
  176. package/dist/components/Sidebar/hooks/useSidebarContext.d.cts +2 -0
  177. package/dist/components/Sidebar/hooks/useSidebarContext.d.cts.map +1 -1
  178. package/dist/components/Sidebar/index.d.cts +2 -0
  179. package/dist/components/Skeleton/Skeleton.cjs +34 -0
  180. package/dist/components/Skeleton/Skeleton.d.cts +25 -0
  181. package/dist/components/Skeleton/Skeleton.d.cts.map +1 -0
  182. package/dist/components/Skeleton/Skeleton.d.mts +25 -0
  183. package/dist/components/Skeleton/Skeleton.d.mts.map +1 -0
  184. package/dist/components/Skeleton/Skeleton.mjs +33 -0
  185. package/dist/components/Skeleton/Skeleton.mjs.map +1 -0
  186. package/dist/components/Skeleton/Skeleton.styles.cjs +40 -0
  187. package/dist/components/Skeleton/Skeleton.styles.d.cts +50 -0
  188. package/dist/components/Skeleton/Skeleton.styles.d.cts.map +1 -0
  189. package/dist/components/Skeleton/Skeleton.styles.d.mts +50 -0
  190. package/dist/components/Skeleton/Skeleton.styles.d.mts.map +1 -0
  191. package/dist/components/Skeleton/Skeleton.styles.mjs +39 -0
  192. package/dist/components/Skeleton/Skeleton.styles.mjs.map +1 -0
  193. package/dist/components/Skeleton/index.d.cts +1 -0
  194. package/dist/components/Skeleton/index.d.mts +1 -0
  195. package/dist/components/Spacer/Spacer.d.cts +1 -0
  196. package/dist/components/Spacer/Spacer.d.cts.map +1 -1
  197. package/dist/components/Spacer/Spacer.styles.d.mts +3 -3
  198. package/dist/components/Spacer/Spacer.styles.d.mts.map +1 -1
  199. package/dist/components/Spacer/index.d.cts +2 -0
  200. package/dist/components/Spinner/Spinner.cjs +38 -0
  201. package/dist/components/Spinner/Spinner.d.cts +17 -0
  202. package/dist/components/Spinner/Spinner.d.cts.map +1 -0
  203. package/dist/components/Spinner/Spinner.d.mts +17 -0
  204. package/dist/components/Spinner/Spinner.d.mts.map +1 -0
  205. package/dist/components/Spinner/Spinner.mjs +37 -0
  206. package/dist/components/Spinner/Spinner.mjs.map +1 -0
  207. package/dist/components/Spinner/Spinner.styles.cjs +34 -0
  208. package/dist/components/Spinner/Spinner.styles.d.cts +63 -0
  209. package/dist/components/Spinner/Spinner.styles.d.cts.map +1 -0
  210. package/dist/components/Spinner/Spinner.styles.d.mts +63 -0
  211. package/dist/components/Spinner/Spinner.styles.d.mts.map +1 -0
  212. package/dist/components/Spinner/Spinner.styles.mjs +34 -0
  213. package/dist/components/Spinner/Spinner.styles.mjs.map +1 -0
  214. package/dist/components/Spinner/index.d.mts +1 -0
  215. package/dist/components/Stack/Stack.d.cts +1 -0
  216. package/dist/components/Stack/Stack.d.cts.map +1 -1
  217. package/dist/components/Stack/Stack.styles.d.mts +3 -3
  218. package/dist/components/Stack/index.d.cts +2 -0
  219. package/dist/components/Tab/Tab.d.cts +7 -6
  220. package/dist/components/Tab/Tab.d.cts.map +1 -1
  221. package/dist/components/Tab/Tab.d.mts +6 -6
  222. package/dist/components/Tab/Tab.styles.d.cts +3 -3
  223. package/dist/components/Tab/index.d.cts +2 -0
  224. package/dist/components/Text/Text.d.cts +2 -1
  225. package/dist/components/Text/Text.d.cts.map +1 -1
  226. package/dist/components/Text/Text.d.mts +1 -1
  227. package/dist/components/Text/index.d.cts +2 -0
  228. package/dist/components/TextArea/TextArea.d.cts +5 -4
  229. package/dist/components/TextArea/TextArea.d.cts.map +1 -1
  230. package/dist/components/TextArea/TextArea.d.mts +4 -4
  231. package/dist/components/TextArea/TextArea.styles.d.cts +3 -3
  232. package/dist/components/TextArea/TextArea.styles.d.mts +3 -3
  233. package/dist/components/TextArea/index.d.cts +1 -0
  234. package/dist/components/TextInput/TextInput.d.cts +3 -2
  235. package/dist/components/TextInput/TextInput.d.cts.map +1 -1
  236. package/dist/components/TextInput/TextInput.d.mts +2 -2
  237. package/dist/components/TextInput/index.d.cts +2 -0
  238. package/dist/components/Toast/Toast.d.cts +5 -5
  239. package/dist/components/Toast/Toast.d.cts.map +1 -1
  240. package/dist/components/Toast/Toast.d.mts +3 -3
  241. package/dist/components/Toast/Toast.styles.d.cts +3 -3
  242. package/dist/components/Toast/Toast.styles.d.mts +3 -3
  243. package/dist/components/Toast/index.d.cts +3 -0
  244. package/dist/components/Toast/index.d.mts +2 -1
  245. package/dist/components/Toast/toastStore.cjs +38 -0
  246. package/dist/components/Toast/toastStore.d.cts +19 -0
  247. package/dist/components/Toast/toastStore.d.cts.map +1 -0
  248. package/dist/components/Toast/toastStore.d.mts +19 -0
  249. package/dist/components/Toast/toastStore.d.mts.map +1 -0
  250. package/dist/components/Toast/toastStore.mjs +39 -0
  251. package/dist/components/Toast/toastStore.mjs.map +1 -0
  252. package/dist/components/Toggle/Toggle.d.cts +6 -4
  253. package/dist/components/Toggle/Toggle.d.cts.map +1 -1
  254. package/dist/components/Toggle/Toggle.d.mts +4 -4
  255. package/dist/components/Toggle/Toggle.d.mts.map +1 -1
  256. package/dist/components/Toggle/Toggle.styles.d.cts +3 -3
  257. package/dist/components/Toggle/index.d.cts +1 -0
  258. package/dist/components/VStack/VStack.d.cts +3 -2
  259. package/dist/components/VStack/VStack.d.cts.map +1 -1
  260. package/dist/components/VStack/VStack.d.mts +2 -2
  261. package/dist/components/VStack/index.d.cts +1 -0
  262. package/dist/components/index.d.cts +93 -0
  263. package/dist/components/index.d.mts +11 -1
  264. package/dist/index.cjs +10 -0
  265. package/dist/index.d.cts +9 -1
  266. package/dist/index.d.mts +7 -1
  267. package/dist/index.mjs +6 -1
  268. package/dist/utils/index.d.cts +5 -0
  269. package/dist/utils/polymorphic/index.d.cts +1 -0
  270. package/package.json +3 -3
  271. package/src/styles/global.css +32 -0
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants11 from "tailwind-variants";
1
+ import * as tailwind_variants13 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/components/Select/Select.styles.d.ts
5
- declare const select: tailwind_variants11.TVReturnType<{
5
+ declare const select: tailwind_variants13.TVReturnType<{
6
6
  error: {
7
7
  true: {
8
8
  trigger: string;
@@ -44,7 +44,7 @@ declare const select: tailwind_variants11.TVReturnType<{
44
44
  item: string[];
45
45
  label: string;
46
46
  viewport: string;
47
- }, tailwind_variants11.TVReturnType<{
47
+ }, tailwind_variants13.TVReturnType<{
48
48
  error: {
49
49
  true: {
50
50
  trigger: string;
@@ -0,0 +1,2 @@
1
+ import { SelectVariants } from "./Select.styles.cjs";
2
+ import { Select, SelectContentProps, SelectGroupProps, SelectItemProps, SelectLabelProps, SelectProps, SelectTriggerProps, SelectValueProps } from "./Select.cjs";
@@ -1,4 +1,5 @@
1
1
  import { PolymorphicProps } from "../../utils/polymorphic/polymorphic.cjs";
2
+ import "../../utils/polymorphic/index.cjs";
2
3
  import { SeparatorVariants } from "./Separator.styles.cjs";
3
4
  import React, { ElementType } from "react";
4
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.d.cts","names":[],"sources":["../../../src/components/Separator/Separator.tsx"],"mappings":";;;;;KAKY,cAAA,WAAyB,WAAA,YAAuB,gBAAA,CAC1D,CAAA,EACA,iBAAA;AAAA,cAGW,SAAA;EAAA,WAAuB,WAAA;IAAW,EAAA;IAAA,WAAA;IAAA,SAAA;IAAA,GAAA;EAAA,GAK5C,cAAA,CAAe,CAAA,IAAE,KAAA,CAAA,YAAA,eAAA,KAAA,CAAA,qBAAA"}
1
+ {"version":3,"file":"Separator.d.cts","names":[],"sources":["../../../src/components/Separator/Separator.tsx"],"mappings":";;;;;;KAKY,cAAA,WAAyB,WAAA,YAAuB,gBAAA,CAC1D,CAAA,EACA,iBAAA;AAAA,cAGW,SAAA;EAAA,WAAuB,WAAA;IAAW,EAAA;IAAA,WAAA;IAAA,SAAA;IAAA,GAAA;EAAA,GAK5C,cAAA,CAAe,CAAA,IAAE,KAAA,CAAA,YAAA,eAAA,KAAA,CAAA,qBAAA"}
@@ -6,7 +6,7 @@ const separator = (0, tailwind_variants.tv)({
6
6
  base: "bg-gray-200",
7
7
  variants: { orientation: {
8
8
  horizontal: "h-px w-full my-2",
9
- vertical: "h-full w-px mx-2 self-stretch"
9
+ vertical: "h-full w-px mx-2"
10
10
  } },
11
11
  defaultVariants: { orientation: "horizontal" }
12
12
  });
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants7 from "tailwind-variants";
1
+ import * as tailwind_variants9 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/components/Separator/Separator.styles.d.ts
5
- declare const separator: tailwind_variants7.TVReturnType<{
5
+ declare const separator: tailwind_variants9.TVReturnType<{
6
6
  orientation: {
7
7
  horizontal: string;
8
8
  vertical: string;
@@ -12,7 +12,7 @@ declare const separator: tailwind_variants7.TVReturnType<{
12
12
  horizontal: string;
13
13
  vertical: string;
14
14
  };
15
- }, undefined, tailwind_variants7.TVReturnType<{
15
+ }, undefined, tailwind_variants9.TVReturnType<{
16
16
  orientation: {
17
17
  horizontal: string;
18
18
  vertical: string;
@@ -5,7 +5,7 @@ const separator = tv({
5
5
  base: "bg-gray-200",
6
6
  variants: { orientation: {
7
7
  horizontal: "h-px w-full my-2",
8
- vertical: "h-full w-px mx-2 self-stretch"
8
+ vertical: "h-full w-px mx-2"
9
9
  } },
10
10
  defaultVariants: { orientation: "horizontal" }
11
11
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.styles.mjs","names":[],"sources":["../../../src/components/Separator/Separator.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\n\nexport const separator = tv({\n base: 'bg-gray-200',\n variants: {\n orientation: {\n horizontal: 'h-px w-full my-2',\n vertical: 'h-full w-px mx-2 self-stretch',\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n});\n\nexport type SeparatorVariants = VariantProps<typeof separator>;\n"],"mappings":";;;AAEA,MAAa,YAAY,GAAG;CAC1B,MAAM;CACN,UAAU,EACR,aAAa;EACX,YAAY;EACZ,UAAU;EACX,EACF;CACD,iBAAiB,EACf,aAAa,cACd;CACF,CAAC"}
1
+ {"version":3,"file":"Separator.styles.mjs","names":[],"sources":["../../../src/components/Separator/Separator.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\n\nexport const separator = tv({\n base: 'bg-gray-200',\n variants: {\n orientation: {\n horizontal: 'h-px w-full my-2',\n vertical: 'h-full w-px mx-2',\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n});\n\nexport type SeparatorVariants = VariantProps<typeof separator>;\n"],"mappings":";;;AAEA,MAAa,YAAY,GAAG;CAC1B,MAAM;CACN,UAAU,EACR,aAAa;EACX,YAAY;EACZ,UAAU;EACX,EACF;CACD,iBAAiB,EACf,aAAa,cACd;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { SeparatorVariants } from "./Separator.styles.cjs";
2
+ import { Separator, SeparatorProps } from "./Separator.cjs";
@@ -1,8 +1,9 @@
1
1
  import { PrimitiveProps } from "../Primitive/Primitive.cjs";
2
+ import "../Primitive/index.cjs";
2
3
  import { SidebarVariants } from "./Sidebar.styles.cjs";
3
4
  import { SidebarValue } from "./hooks/useSidebarContext.cjs";
4
5
  import { ComponentProps, SVGProps } from "react";
5
- import * as react_jsx_runtime67 from "react/jsx-runtime";
6
+ import * as react_jsx_runtime61 from "react/jsx-runtime";
6
7
 
7
8
  //#region src/components/Sidebar/Sidebar.d.ts
8
9
  interface SidebarProps extends ComponentProps<'nav'>, PrimitiveProps {
@@ -30,34 +31,34 @@ declare const Sidebar: (({
30
31
  selected,
31
32
  onSelectChange,
32
33
  ...props
33
- }: SidebarProps) => react_jsx_runtime67.JSX.Element) & {
34
+ }: SidebarProps) => react_jsx_runtime61.JSX.Element) & {
34
35
  Header: ({
35
36
  children,
36
37
  ...props
37
- }: SidebarHeaderProps) => react_jsx_runtime67.JSX.Element;
38
+ }: SidebarHeaderProps) => react_jsx_runtime61.JSX.Element;
38
39
  Content: ({
39
40
  children,
40
41
  ...props
41
- }: SidebarContentProps) => react_jsx_runtime67.JSX.Element;
42
+ }: SidebarContentProps) => react_jsx_runtime61.JSX.Element;
42
43
  Item: ({
43
44
  selected,
44
45
  value,
45
46
  children,
46
47
  onClick,
47
48
  ...props
48
- }: SidebarItemProps) => react_jsx_runtime67.JSX.Element;
49
+ }: SidebarItemProps) => react_jsx_runtime61.JSX.Element;
49
50
  ItemIcon: ({
50
51
  children,
51
52
  ...props
52
- }: SidebarItemIconProps) => react_jsx_runtime67.JSX.Element;
53
+ }: SidebarItemIconProps) => react_jsx_runtime61.JSX.Element;
53
54
  ItemText: ({
54
55
  children,
55
56
  ...props
56
- }: SidebarItemTextProps) => react_jsx_runtime67.JSX.Element;
57
+ }: SidebarItemTextProps) => react_jsx_runtime61.JSX.Element;
57
58
  Footer: ({
58
59
  children,
59
60
  ...props
60
- }: SidebarFooterProps) => react_jsx_runtime67.JSX.Element;
61
+ }: SidebarFooterProps) => react_jsx_runtime61.JSX.Element;
61
62
  };
62
63
  //#endregion
63
64
  export { Sidebar };
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.cts","names":[],"sources":["../../../src/components/Sidebar/Sidebar.tsx"],"mappings":";;;;;;;UAgBiB,YAAA,SAAqB,cAAA,SAAuB,cAAA;EAC3D,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,QAAA,GAAW,YAAA;EACX,cAAA,IAAkB,KAAA,EAAO,YAAA;AAAA;AAAA,UAmBV,kBAAA,SACP,cAAA,SAAuB,cAAA;EAC/B,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,UAaR,mBAAA,SAA4B,cAAA,SAAuB,cAAA;EAC3D,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,UAaR,gBAAA,SAEN,cAAA,YACA,cAAA,EACA,IAAA,CAAK,eAAA;EACP,KAAA,GAAQ,YAAA;EACR,QAAA;AAAA;AAAA,UA4CQ,oBAAA,SACA,QAAA,CAAS,aAAA,GAAgB,cAAA;AAAA,UAWzB,oBAAA,SAA6B,cAAA,UAAwB,cAAA;AAAA,UAYrD,kBAAA,SAA2B,cAAA,SAAuB,cAAA;EAC1D,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,cAaL,OAAA;EAAO,QAAA;EAAA,QAAA;EAAA,cAAA;EAAA,GAAA;AAAA,GAjIjB,YAAA,KAAY,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KAgBgC,kBAAA,KAAkB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KAejB,mBAAA,KAAmB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;KAwBhE,gBAAA,KAAgB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KAsC8B,oBAAA,KAAoB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KAWpB,oBAAA,KAAoB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KActB,kBAAA,KAAkB,mBAAA,CAAA,GAAA,CAAA,OAAA;AAAA"}
1
+ {"version":3,"file":"Sidebar.d.cts","names":[],"sources":["../../../src/components/Sidebar/Sidebar.tsx"],"mappings":";;;;;;;;UAgBiB,YAAA,SAAqB,cAAA,SAAuB,cAAA;EAC3D,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,QAAA,GAAW,YAAA;EACX,cAAA,IAAkB,KAAA,EAAO,YAAA;AAAA;AAAA,UAmBV,kBAAA,SACP,cAAA,SAAuB,cAAA;EAC/B,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,UAaR,mBAAA,SAA4B,cAAA,SAAuB,cAAA;EAC3D,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,UAaR,gBAAA,SAEN,cAAA,YACA,cAAA,EACA,IAAA,CAAK,eAAA;EACP,KAAA,GAAQ,YAAA;EACR,QAAA;AAAA;AAAA,UA4CQ,oBAAA,SACA,QAAA,CAAS,aAAA,GAAgB,cAAA;AAAA,UAWzB,oBAAA,SAA6B,cAAA,UAAwB,cAAA;AAAA,UAYrD,kBAAA,SAA2B,cAAA,SAAuB,cAAA;EAC1D,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA;AAAA,cAaL,OAAA;EAAO,QAAA;EAAA,QAAA;EAAA,cAAA;EAAA,GAAA;AAAA,GAjIjB,YAAA,KAAY,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KAgBgC,kBAAA,KAAkB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KAejB,mBAAA,KAAmB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;;KAwBhE,gBAAA,KAAgB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KAsC8B,oBAAA,KAAoB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KAWpB,oBAAA,KAAoB,mBAAA,CAAA,GAAA,CAAA,OAAA;;;;KActB,kBAAA,KAAkB,mBAAA,CAAA,GAAA,CAAA,OAAA;AAAA"}
@@ -3,7 +3,7 @@ import "../Primitive/index.mjs";
3
3
  import { SidebarVariants } from "./Sidebar.styles.mjs";
4
4
  import { SidebarValue } from "./hooks/useSidebarContext.mjs";
5
5
  import { ComponentProps, SVGProps } from "react";
6
- import * as react_jsx_runtime44 from "react/jsx-runtime";
6
+ import * as react_jsx_runtime66 from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/Sidebar/Sidebar.d.ts
9
9
  interface SidebarProps extends ComponentProps<'nav'>, PrimitiveProps {
@@ -31,34 +31,34 @@ declare const Sidebar: (({
31
31
  selected,
32
32
  onSelectChange,
33
33
  ...props
34
- }: SidebarProps) => react_jsx_runtime44.JSX.Element) & {
34
+ }: SidebarProps) => react_jsx_runtime66.JSX.Element) & {
35
35
  Header: ({
36
36
  children,
37
37
  ...props
38
- }: SidebarHeaderProps) => react_jsx_runtime44.JSX.Element;
38
+ }: SidebarHeaderProps) => react_jsx_runtime66.JSX.Element;
39
39
  Content: ({
40
40
  children,
41
41
  ...props
42
- }: SidebarContentProps) => react_jsx_runtime44.JSX.Element;
42
+ }: SidebarContentProps) => react_jsx_runtime66.JSX.Element;
43
43
  Item: ({
44
44
  selected,
45
45
  value,
46
46
  children,
47
47
  onClick,
48
48
  ...props
49
- }: SidebarItemProps) => react_jsx_runtime44.JSX.Element;
49
+ }: SidebarItemProps) => react_jsx_runtime66.JSX.Element;
50
50
  ItemIcon: ({
51
51
  children,
52
52
  ...props
53
- }: SidebarItemIconProps) => react_jsx_runtime44.JSX.Element;
53
+ }: SidebarItemIconProps) => react_jsx_runtime66.JSX.Element;
54
54
  ItemText: ({
55
55
  children,
56
56
  ...props
57
- }: SidebarItemTextProps) => react_jsx_runtime44.JSX.Element;
57
+ }: SidebarItemTextProps) => react_jsx_runtime66.JSX.Element;
58
58
  Footer: ({
59
59
  children,
60
60
  ...props
61
- }: SidebarFooterProps) => react_jsx_runtime44.JSX.Element;
61
+ }: SidebarFooterProps) => react_jsx_runtime66.JSX.Element;
62
62
  };
63
63
  //#endregion
64
64
  export { Sidebar };
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants25 from "tailwind-variants";
1
+ import * as tailwind_variants29 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/components/Sidebar/Sidebar.styles.d.ts
5
- declare const sidebar: tailwind_variants25.TVReturnType<{
5
+ declare const sidebar: tailwind_variants29.TVReturnType<{
6
6
  selected: {
7
7
  true: {
8
8
  item: string;
@@ -46,7 +46,7 @@ declare const sidebar: tailwind_variants25.TVReturnType<{
46
46
  badge: string;
47
47
  icon: string;
48
48
  text: string;
49
- }, tailwind_variants25.TVReturnType<{
49
+ }, tailwind_variants29.TVReturnType<{
50
50
  selected: {
51
51
  true: {
52
52
  item: string;
@@ -1,3 +1,5 @@
1
+ import "react";
2
+
1
3
  //#region src/components/Sidebar/hooks/useSidebarContext.d.ts
2
4
  type SidebarValue = string | number;
3
5
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"useSidebarContext.d.cts","names":[],"sources":["../../../../src/components/Sidebar/hooks/useSidebarContext.ts"],"mappings":";KAGY,YAAA"}
1
+ {"version":3,"file":"useSidebarContext.d.cts","names":[],"sources":["../../../../src/components/Sidebar/hooks/useSidebarContext.ts"],"mappings":";;;KAGY,YAAA"}
@@ -0,0 +1,2 @@
1
+ import { SidebarVariants } from "./Sidebar.styles.cjs";
2
+ import { Sidebar } from "./Sidebar.cjs";
@@ -0,0 +1,34 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+ const require_mergeStyles = require('../../utils/mergeStyles/mergeStyles.cjs');
3
+ const require_Skeleton_styles = require('./Skeleton.styles.cjs');
4
+ let react = require("react");
5
+ react = require_rolldown_runtime.__toESM(react);
6
+ let react_jsx_runtime = require("react/jsx-runtime");
7
+
8
+ //#region src/components/Skeleton/Skeleton.tsx
9
+ const Skeleton = ({ radius, tone, width = "100%", height = "1rem", minWidth, maxWidth, minHeight, maxHeight, style, className, ...rest }) => {
10
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
11
+ role: "status",
12
+ "aria-busy": "true",
13
+ className: require_mergeStyles.mergeStyles(require_Skeleton_styles.skeleton({
14
+ radius,
15
+ tone
16
+ }), className),
17
+ style: {
18
+ ...require_Skeleton_styles.skeletonSizeStyles({
19
+ width,
20
+ height,
21
+ minWidth,
22
+ maxWidth,
23
+ minHeight,
24
+ maxHeight
25
+ }),
26
+ ...style
27
+ },
28
+ ...rest
29
+ });
30
+ };
31
+ Skeleton.displayName = "Skeleton";
32
+
33
+ //#endregion
34
+ exports.Skeleton = Skeleton;
@@ -0,0 +1,25 @@
1
+ import { SkeletonSizeOptions, SkeletonVariants } from "./Skeleton.styles.cjs";
2
+ import * as React$1 from "react";
3
+ import * as react_jsx_runtime79 from "react/jsx-runtime";
4
+
5
+ //#region src/components/Skeleton/Skeleton.d.ts
6
+ interface SkeletonProps extends React$1.ComponentProps<'div'>, SkeletonVariants, SkeletonSizeOptions {}
7
+ declare const Skeleton: {
8
+ ({
9
+ radius,
10
+ tone,
11
+ width,
12
+ height,
13
+ minWidth,
14
+ maxWidth,
15
+ minHeight,
16
+ maxHeight,
17
+ style,
18
+ className,
19
+ ...rest
20
+ }: SkeletonProps): react_jsx_runtime79.JSX.Element;
21
+ displayName: string;
22
+ };
23
+ //#endregion
24
+ export { Skeleton, SkeletonProps };
25
+ //# sourceMappingURL=Skeleton.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.cts","names":[],"sources":["../../../src/components/Skeleton/Skeleton.tsx"],"mappings":";;;;;UASiB,aAAA,SACP,OAAA,CAAM,cAAA,SAAuB,gBAAA,EAAkB,mBAAA;AAAA,cAE5C,QAAA;EAAA;;;;;;;;;;;;KAYV,aAAA,GAAa,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -0,0 +1,25 @@
1
+ import { SkeletonSizeOptions, SkeletonVariants } from "./Skeleton.styles.mjs";
2
+ import * as React$1 from "react";
3
+ import * as react_jsx_runtime85 from "react/jsx-runtime";
4
+
5
+ //#region src/components/Skeleton/Skeleton.d.ts
6
+ interface SkeletonProps extends React$1.ComponentProps<'div'>, SkeletonVariants, SkeletonSizeOptions {}
7
+ declare const Skeleton: {
8
+ ({
9
+ radius,
10
+ tone,
11
+ width,
12
+ height,
13
+ minWidth,
14
+ maxWidth,
15
+ minHeight,
16
+ maxHeight,
17
+ style,
18
+ className,
19
+ ...rest
20
+ }: SkeletonProps): react_jsx_runtime85.JSX.Element;
21
+ displayName: string;
22
+ };
23
+ //#endregion
24
+ export { Skeleton, SkeletonProps };
25
+ //# sourceMappingURL=Skeleton.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.mts","names":[],"sources":["../../../src/components/Skeleton/Skeleton.tsx"],"mappings":";;;;;UASiB,aAAA,SACP,OAAA,CAAM,cAAA,SAAuB,gBAAA,EAAkB,mBAAA;AAAA,cAE5C,QAAA;EAAA;;;;;;;;;;;;KAYV,aAAA,GAAa,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ import { mergeStyles } from "../../utils/mergeStyles/mergeStyles.mjs";
2
+ import { skeleton, skeletonSizeStyles } from "./Skeleton.styles.mjs";
3
+ import "react";
4
+ import { jsx } from "react/jsx-runtime";
5
+
6
+ //#region src/components/Skeleton/Skeleton.tsx
7
+ const Skeleton = ({ radius, tone, width = "100%", height = "1rem", minWidth, maxWidth, minHeight, maxHeight, style, className, ...rest }) => {
8
+ return /* @__PURE__ */ jsx("div", {
9
+ role: "status",
10
+ "aria-busy": "true",
11
+ className: mergeStyles(skeleton({
12
+ radius,
13
+ tone
14
+ }), className),
15
+ style: {
16
+ ...skeletonSizeStyles({
17
+ width,
18
+ height,
19
+ minWidth,
20
+ maxWidth,
21
+ minHeight,
22
+ maxHeight
23
+ }),
24
+ ...style
25
+ },
26
+ ...rest
27
+ });
28
+ };
29
+ Skeleton.displayName = "Skeleton";
30
+
31
+ //#endregion
32
+ export { Skeleton };
33
+ //# sourceMappingURL=Skeleton.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.mjs","names":[],"sources":["../../../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n skeleton,\n skeletonSizeStyles,\n type SkeletonVariants,\n type SkeletonSizeOptions,\n} from './Skeleton.styles';\nimport { mergeStyles } from '../../utils';\n\nexport interface SkeletonProps\n extends React.ComponentProps<'div'>, SkeletonVariants, SkeletonSizeOptions {}\n\nexport const Skeleton = ({\n radius,\n tone,\n width = '100%',\n height = '1rem',\n minWidth,\n maxWidth,\n minHeight,\n maxHeight,\n style,\n className,\n ...rest\n}: SkeletonProps) => {\n return (\n <div\n role=\"status\"\n aria-busy=\"true\"\n className={mergeStyles(skeleton({ radius, tone }), className)}\n style={{\n ...skeletonSizeStyles({\n width,\n height,\n minWidth,\n maxWidth,\n minHeight,\n maxHeight,\n }),\n ...style,\n }}\n {...rest}\n />\n );\n};\n\nSkeleton.displayName = 'Skeleton';\n"],"mappings":";;;;;;AAYA,MAAa,YAAY,EACvB,QACA,MACA,QAAQ,QACR,SAAS,QACT,UACA,UACA,WACA,WACA,OACA,WACA,GAAG,WACgB;AACnB,QACE,oBAAC;EACC,MAAK;EACL,aAAU;EACV,WAAW,YAAY,SAAS;GAAE;GAAQ;GAAM,CAAC,EAAE,UAAU;EAC7D,OAAO;GACL,GAAG,mBAAmB;IACpB;IACA;IACA;IACA;IACA;IACA;IACD,CAAC;GACF,GAAG;GACJ;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc"}
@@ -0,0 +1,40 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+ const require_converter = require('../../utils/converter/converter.cjs');
3
+ let tailwind_variants = require("tailwind-variants");
4
+
5
+ //#region src/components/Skeleton/Skeleton.styles.ts
6
+ const skeleton = (0, tailwind_variants.tv)({
7
+ base: [
8
+ "relative",
9
+ "overflow-hidden",
10
+ "animate-skeleton-pulse"
11
+ ],
12
+ variants: {
13
+ radius: {
14
+ "0": "rounded-none",
15
+ "8": "rounded-[8px]",
16
+ "16": "rounded-[16px]",
17
+ full: "rounded-full"
18
+ },
19
+ tone: {
20
+ neutral: "bg-gray-200",
21
+ magic: "bg-purple-100"
22
+ }
23
+ },
24
+ defaultVariants: {
25
+ radius: "8",
26
+ tone: "neutral"
27
+ }
28
+ });
29
+ const skeletonSizeStyles = ({ width, height, minWidth, maxWidth, minHeight, maxHeight }) => ({
30
+ width: typeof width === "number" ? require_converter.convertPxToRem(width) : width,
31
+ height: typeof height === "number" ? require_converter.convertPxToRem(height) : height,
32
+ minWidth: minWidth ? require_converter.convertPxToRem(minWidth) : void 0,
33
+ maxWidth: maxWidth ? require_converter.convertPxToRem(maxWidth) : void 0,
34
+ minHeight: minHeight ? require_converter.convertPxToRem(minHeight) : void 0,
35
+ maxHeight: maxHeight ? require_converter.convertPxToRem(maxHeight) : void 0
36
+ });
37
+
38
+ //#endregion
39
+ exports.skeleton = skeleton;
40
+ exports.skeletonSizeStyles = skeletonSizeStyles;
@@ -0,0 +1,50 @@
1
+ import * as tailwind_variants51 from "tailwind-variants";
2
+ import { VariantProps } from "tailwind-variants";
3
+
4
+ //#region src/components/Skeleton/Skeleton.styles.d.ts
5
+ declare const skeleton: tailwind_variants51.TVReturnType<{
6
+ radius: {
7
+ '0': string;
8
+ '8': string;
9
+ '16': string;
10
+ full: string;
11
+ };
12
+ tone: {
13
+ neutral: string;
14
+ magic: string;
15
+ };
16
+ }, undefined, string[], {
17
+ radius: {
18
+ '0': string;
19
+ '8': string;
20
+ '16': string;
21
+ full: string;
22
+ };
23
+ tone: {
24
+ neutral: string;
25
+ magic: string;
26
+ };
27
+ }, undefined, tailwind_variants51.TVReturnType<{
28
+ radius: {
29
+ '0': string;
30
+ '8': string;
31
+ '16': string;
32
+ full: string;
33
+ };
34
+ tone: {
35
+ neutral: string;
36
+ magic: string;
37
+ };
38
+ }, undefined, string[], unknown, unknown, undefined>>;
39
+ type SkeletonVariants = VariantProps<typeof skeleton>;
40
+ interface SkeletonSizeOptions {
41
+ width?: number | string;
42
+ height?: number | string;
43
+ minWidth?: number;
44
+ maxWidth?: number;
45
+ minHeight?: number;
46
+ maxHeight?: number;
47
+ }
48
+ //#endregion
49
+ export { SkeletonSizeOptions, SkeletonVariants };
50
+ //# sourceMappingURL=Skeleton.styles.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.styles.d.cts","names":[],"sources":["../../../src/components/Skeleton/Skeleton.styles.ts"],"mappings":";;;;cAGa,QAAA,EAqBX,mBAAA,CArBmB,YAAA;;;;;;;;;;;;;;;;;;;;;;cAqBnB,mBAAA,CAAA,YAAA;;;;;;;;;;;;KAEU,gBAAA,GAAmB,YAAA,QAAoB,QAAA;AAAA,UAElC,mBAAA;EACf,KAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,SAAA;EACA,SAAA;AAAA"}
@@ -0,0 +1,50 @@
1
+ import * as tailwind_variants55 from "tailwind-variants";
2
+ import { VariantProps } from "tailwind-variants";
3
+
4
+ //#region src/components/Skeleton/Skeleton.styles.d.ts
5
+ declare const skeleton: tailwind_variants55.TVReturnType<{
6
+ radius: {
7
+ '0': string;
8
+ '8': string;
9
+ '16': string;
10
+ full: string;
11
+ };
12
+ tone: {
13
+ neutral: string;
14
+ magic: string;
15
+ };
16
+ }, undefined, string[], {
17
+ radius: {
18
+ '0': string;
19
+ '8': string;
20
+ '16': string;
21
+ full: string;
22
+ };
23
+ tone: {
24
+ neutral: string;
25
+ magic: string;
26
+ };
27
+ }, undefined, tailwind_variants55.TVReturnType<{
28
+ radius: {
29
+ '0': string;
30
+ '8': string;
31
+ '16': string;
32
+ full: string;
33
+ };
34
+ tone: {
35
+ neutral: string;
36
+ magic: string;
37
+ };
38
+ }, undefined, string[], unknown, unknown, undefined>>;
39
+ type SkeletonVariants = VariantProps<typeof skeleton>;
40
+ interface SkeletonSizeOptions {
41
+ width?: number | string;
42
+ height?: number | string;
43
+ minWidth?: number;
44
+ maxWidth?: number;
45
+ minHeight?: number;
46
+ maxHeight?: number;
47
+ }
48
+ //#endregion
49
+ export { SkeletonSizeOptions, SkeletonVariants };
50
+ //# sourceMappingURL=Skeleton.styles.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.styles.d.mts","names":[],"sources":["../../../src/components/Skeleton/Skeleton.styles.ts"],"mappings":";;;;cAGa,QAAA,EAqBX,mBAAA,CArBmB,YAAA;;;;;;;;;;;;;;;;;;;;;;cAqBnB,mBAAA,CAAA,YAAA;;;;;;;;;;;;KAEU,gBAAA,GAAmB,YAAA,QAAoB,QAAA;AAAA,UAElC,mBAAA;EACf,KAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,SAAA;EACA,SAAA;AAAA"}
@@ -0,0 +1,39 @@
1
+ import { convertPxToRem } from "../../utils/converter/converter.mjs";
2
+ import { tv } from "tailwind-variants";
3
+
4
+ //#region src/components/Skeleton/Skeleton.styles.ts
5
+ const skeleton = tv({
6
+ base: [
7
+ "relative",
8
+ "overflow-hidden",
9
+ "animate-skeleton-pulse"
10
+ ],
11
+ variants: {
12
+ radius: {
13
+ "0": "rounded-none",
14
+ "8": "rounded-[8px]",
15
+ "16": "rounded-[16px]",
16
+ full: "rounded-full"
17
+ },
18
+ tone: {
19
+ neutral: "bg-gray-200",
20
+ magic: "bg-purple-100"
21
+ }
22
+ },
23
+ defaultVariants: {
24
+ radius: "8",
25
+ tone: "neutral"
26
+ }
27
+ });
28
+ const skeletonSizeStyles = ({ width, height, minWidth, maxWidth, minHeight, maxHeight }) => ({
29
+ width: typeof width === "number" ? convertPxToRem(width) : width,
30
+ height: typeof height === "number" ? convertPxToRem(height) : height,
31
+ minWidth: minWidth ? convertPxToRem(minWidth) : void 0,
32
+ maxWidth: maxWidth ? convertPxToRem(maxWidth) : void 0,
33
+ minHeight: minHeight ? convertPxToRem(minHeight) : void 0,
34
+ maxHeight: maxHeight ? convertPxToRem(maxHeight) : void 0
35
+ });
36
+
37
+ //#endregion
38
+ export { skeleton, skeletonSizeStyles };
39
+ //# sourceMappingURL=Skeleton.styles.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.styles.mjs","names":[],"sources":["../../../src/components/Skeleton/Skeleton.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\nimport { convertPxToRem } from '../../utils';\n\nexport const skeleton = tv({\n base: ['relative', 'overflow-hidden', 'animate-skeleton-pulse'],\n\n variants: {\n radius: {\n '0': 'rounded-none',\n '8': 'rounded-[8px]',\n '16': 'rounded-[16px]',\n full: 'rounded-full',\n },\n\n tone: {\n neutral: 'bg-gray-200',\n magic: 'bg-purple-100',\n },\n },\n\n defaultVariants: {\n radius: '8',\n tone: 'neutral',\n },\n});\n\nexport type SkeletonVariants = VariantProps<typeof skeleton>;\n\nexport interface SkeletonSizeOptions {\n width?: number | string;\n height?: number | string;\n minWidth?: number;\n maxWidth?: number;\n minHeight?: number;\n maxHeight?: number;\n}\n\nexport const skeletonSizeStyles = ({\n width,\n height,\n minWidth,\n maxWidth,\n minHeight,\n maxHeight,\n}: SkeletonSizeOptions) => ({\n width: typeof width === 'number' ? convertPxToRem(width) : width,\n height: typeof height === 'number' ? convertPxToRem(height) : height,\n minWidth: minWidth ? convertPxToRem(minWidth) : undefined,\n maxWidth: maxWidth ? convertPxToRem(maxWidth) : undefined,\n minHeight: minHeight ? convertPxToRem(minHeight) : undefined,\n maxHeight: maxHeight ? convertPxToRem(maxHeight) : undefined,\n});\n"],"mappings":";;;;AAGA,MAAa,WAAW,GAAG;CACzB,MAAM;EAAC;EAAY;EAAmB;EAAyB;CAE/D,UAAU;EACR,QAAQ;GACN,KAAK;GACL,KAAK;GACL,MAAM;GACN,MAAM;GACP;EAED,MAAM;GACJ,SAAS;GACT,OAAO;GACR;EACF;CAED,iBAAiB;EACf,QAAQ;EACR,MAAM;EACP;CACF,CAAC;AAaF,MAAa,sBAAsB,EACjC,OACA,QACA,UACA,UACA,WACA,iBAC0B;CAC1B,OAAO,OAAO,UAAU,WAAW,eAAe,MAAM,GAAG;CAC3D,QAAQ,OAAO,WAAW,WAAW,eAAe,OAAO,GAAG;CAC9D,UAAU,WAAW,eAAe,SAAS,GAAG;CAChD,UAAU,WAAW,eAAe,SAAS,GAAG;CAChD,WAAW,YAAY,eAAe,UAAU,GAAG;CACnD,WAAW,YAAY,eAAe,UAAU,GAAG;CACpD"}
@@ -0,0 +1 @@
1
+ import { Skeleton, SkeletonProps } from "./Skeleton.cjs";
@@ -0,0 +1 @@
1
+ import { Skeleton, SkeletonProps } from "./Skeleton.mjs";
@@ -1,4 +1,5 @@
1
1
  import { PolymorphicProps } from "../../utils/polymorphic/polymorphic.cjs";
2
+ import "../../utils/polymorphic/index.cjs";
2
3
  import { SpacerVariants } from "./Spacer.styles.cjs";
3
4
  import React, { ElementType } from "react";
4
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"Spacer.d.cts","names":[],"sources":["../../../src/components/Spacer/Spacer.tsx"],"mappings":";;;;;KAKY,WAAA,WAAsB,WAAA,YAAuB,gBAAA,CACvD,CAAA,EACA,cAAA;AAAA,cAGW,MAAA;EAAA,WAAoB,WAAA;IAAW,EAAA;IAAA,IAAA;IAAA,SAAA;IAAA,GAAA;EAAA,GAKzC,WAAA,CAAY,CAAA,IAAE,KAAA,CAAA,YAAA,eAAA,KAAA,CAAA,qBAAA"}
1
+ {"version":3,"file":"Spacer.d.cts","names":[],"sources":["../../../src/components/Spacer/Spacer.tsx"],"mappings":";;;;;;KAKY,WAAA,WAAsB,WAAA,YAAuB,gBAAA,CACvD,CAAA,EACA,cAAA;AAAA,cAGW,MAAA;EAAA,WAAoB,WAAA;IAAW,EAAA;IAAA,IAAA;IAAA,SAAA;IAAA,GAAA;EAAA,GAKzC,WAAA,CAAY,CAAA,IAAE,KAAA,CAAA,YAAA,eAAA,KAAA,CAAA,qBAAA"}
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants9 from "tailwind-variants";
1
+ import * as tailwind_variants11 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/components/Spacer/Spacer.styles.d.ts
5
- declare const spacer: tailwind_variants9.TVReturnType<{
5
+ declare const spacer: tailwind_variants11.TVReturnType<{
6
6
  size: {
7
7
  1: string;
8
8
  2: string;
@@ -30,7 +30,7 @@ declare const spacer: tailwind_variants9.TVReturnType<{
30
30
  24: string;
31
31
  auto: string;
32
32
  };
33
- }, undefined, tailwind_variants9.TVReturnType<{
33
+ }, undefined, tailwind_variants11.TVReturnType<{
34
34
  size: {
35
35
  1: string;
36
36
  2: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Spacer.styles.d.mts","names":[],"sources":["../../../src/components/Spacer/Spacer.styles.ts"],"mappings":";;;;cAEa,MAAA,EAoBX,kBAAA,CApBiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBjB,kBAAA,CAAA,YAAA;;;;;;;;;;;;;;;KAEU,cAAA,GAAiB,YAAA,QAAoB,MAAA"}
1
+ {"version":3,"file":"Spacer.styles.d.mts","names":[],"sources":["../../../src/components/Spacer/Spacer.styles.ts"],"mappings":";;;;cAEa,MAAA,EAoBX,mBAAA,CApBiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBjB,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;KAEU,cAAA,GAAiB,YAAA,QAAoB,MAAA"}
@@ -0,0 +1,2 @@
1
+ import { SpacerVariants } from "./Spacer.styles.cjs";
2
+ import { Spacer, SpacerProps } from "./Spacer.cjs";