@admin-layout/tailwind-ui 12.0.16-alpha.93 → 12.2.1-alpha.3

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 (207) hide show
  1. package/lib/components/Button/Button.d.ts +1 -1
  2. package/lib/components/Button/Button.d.ts.map +1 -1
  3. package/lib/components/Button/Button.js +6 -7
  4. package/lib/components/Button/Button.js.map +1 -1
  5. package/lib/components/DatePicker/DatePicker.js +139 -157
  6. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  7. package/lib/components/ErrorHandlers/ApplicationErrorHandler.d.ts +2 -1
  8. package/lib/components/ErrorHandlers/ApplicationErrorHandler.d.ts.map +1 -1
  9. package/lib/components/ErrorHandlers/ApplicationErrorHandler.js +2 -2
  10. package/lib/components/ErrorHandlers/ErrorBoundary.d.ts +2 -1
  11. package/lib/components/ErrorHandlers/ErrorBoundary.d.ts.map +1 -1
  12. package/lib/components/ErrorHandlers/ErrorBoundary.js +28 -35
  13. package/lib/components/ErrorHandlers/ErrorBoundary.js.map +1 -1
  14. package/lib/components/ErrorHandlers/LayoutErrorBoundary.d.ts +2 -1
  15. package/lib/components/ErrorHandlers/LayoutErrorBoundary.d.ts.map +1 -1
  16. package/lib/components/ErrorHandlers/LayoutErrorBoundary.js +15 -20
  17. package/lib/components/ErrorHandlers/LayoutErrorBoundary.js.map +1 -1
  18. package/lib/components/ErrorPages/403.d.ts +2 -1
  19. package/lib/components/ErrorPages/403.d.ts.map +1 -1
  20. package/lib/components/ErrorPages/403.js +18 -26
  21. package/lib/components/ErrorPages/403.js.map +1 -1
  22. package/lib/components/ErrorPages/404.d.ts +2 -1
  23. package/lib/components/ErrorPages/404.d.ts.map +1 -1
  24. package/lib/components/ErrorPages/404.js +18 -26
  25. package/lib/components/ErrorPages/404.js.map +1 -1
  26. package/lib/components/ErrorPages/500.d.ts +2 -1
  27. package/lib/components/ErrorPages/500.d.ts.map +1 -1
  28. package/lib/components/ErrorPages/500.js +18 -26
  29. package/lib/components/ErrorPages/500.js.map +1 -1
  30. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.d.ts +2 -1
  31. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.d.ts.map +1 -1
  32. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.js +19 -24
  33. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.js.map +1 -1
  34. package/lib/components/OTP/OTPInput.js +30 -32
  35. package/lib/components/OTP/OTPInput.js.map +1 -1
  36. package/lib/components/OTP/OTPVerification.js +55 -75
  37. package/lib/components/OTP/OTPVerification.js.map +1 -1
  38. package/lib/components/OTP/SingleInput.js +2 -2
  39. package/lib/components/OTP/SingleInput.js.map +1 -1
  40. package/lib/components/PageContainer/PageContainer.js +22 -29
  41. package/lib/components/PageContainer/PageContainer.js.map +1 -1
  42. package/lib/components/PageLoading/index.js +7 -8
  43. package/lib/components/PageLoading/index.js.map +1 -1
  44. package/lib/components/RJSFPreview/PreviewAsyncDropdown.d.ts +2 -1
  45. package/lib/components/RJSFPreview/PreviewAsyncDropdown.d.ts.map +1 -1
  46. package/lib/components/ReactTable/Table.d.ts +2 -1
  47. package/lib/components/ReactTable/Table.d.ts.map +1 -1
  48. package/lib/components/ReactTable/Table.js +71 -92
  49. package/lib/components/ReactTable/Table.js.map +1 -1
  50. package/lib/components/ReactTable/TableFilters.d.ts +3 -2
  51. package/lib/components/ReactTable/TableFilters.d.ts.map +1 -1
  52. package/lib/components/ReactTable/TableFilters.js +34 -40
  53. package/lib/components/ReactTable/TableFilters.js.map +1 -1
  54. package/lib/components/Search/SearchInput.d.ts +2 -1
  55. package/lib/components/Search/SearchInput.d.ts.map +1 -1
  56. package/lib/components/Search/SearchInput.js +13 -14
  57. package/lib/components/Search/SearchInput.js.map +1 -1
  58. package/lib/components/Select/Select.d.ts +6 -6
  59. package/lib/components/Select/Select.d.ts.map +1 -1
  60. package/lib/components/Select/Select.js +45 -60
  61. package/lib/components/Select/Select.js.map +1 -1
  62. package/lib/components/Spin/index.js +11 -14
  63. package/lib/components/Spin/index.js.map +1 -1
  64. package/lib/components/ThemeProvider/ThemeProvider.js +4 -5
  65. package/lib/components/ThemeProvider/ThemeProvider.js.map +1 -1
  66. package/lib/components/ThemeProvider/ThemeToggle.js +24 -27
  67. package/lib/components/ThemeProvider/ThemeToggle.js.map +1 -1
  68. package/lib/hooks/useToast.d.ts +1 -1
  69. package/lib/hooks/useToast.d.ts.map +1 -1
  70. package/lib/hooks/useToast.js +37 -46
  71. package/lib/hooks/useToast.js.map +1 -1
  72. package/lib/shardui/accordion.js +16 -20
  73. package/lib/shardui/accordion.js.map +1 -1
  74. package/lib/shardui/alert-dialog.d.ts +2 -2
  75. package/lib/shardui/alert-dialog.js +13 -15
  76. package/lib/shardui/alert-dialog.js.map +1 -1
  77. package/lib/shardui/alert.d.ts +1 -1
  78. package/lib/shardui/alert.d.ts.map +1 -1
  79. package/lib/shardui/alert.js +4 -4
  80. package/lib/shardui/alert.js.map +1 -1
  81. package/lib/shardui/avatar.js +4 -4
  82. package/lib/shardui/avatar.js.map +1 -1
  83. package/lib/shardui/badge.d.ts +2 -2
  84. package/lib/shardui/badge.d.ts.map +1 -1
  85. package/lib/shardui/badge.js +2 -2
  86. package/lib/shardui/badge.js.map +1 -1
  87. package/lib/shardui/breadcrumb.d.ts +2 -2
  88. package/lib/shardui/breadcrumb.js +16 -19
  89. package/lib/shardui/breadcrumb.js.map +1 -1
  90. package/lib/shardui/button.d.ts +1 -1
  91. package/lib/shardui/button.d.ts.map +1 -1
  92. package/lib/shardui/button.js +2 -2
  93. package/lib/shardui/button.js.map +1 -1
  94. package/lib/shardui/calendar.d.ts +1 -1
  95. package/lib/shardui/calendar.d.ts.map +1 -1
  96. package/lib/shardui/calendar.js +4 -4
  97. package/lib/shardui/card.js +7 -7
  98. package/lib/shardui/card.js.map +1 -1
  99. package/lib/shardui/carousel.js +33 -40
  100. package/lib/shardui/carousel.js.map +1 -1
  101. package/lib/shardui/chart.d.ts +1 -1
  102. package/lib/shardui/chart.d.ts.map +1 -1
  103. package/lib/shardui/chart.js +66 -81
  104. package/lib/shardui/chart.js.map +1 -1
  105. package/lib/shardui/checkbox.js +8 -10
  106. package/lib/shardui/checkbox.js.map +1 -1
  107. package/lib/shardui/command.d.ts +2 -2
  108. package/lib/shardui/command.d.ts.map +1 -1
  109. package/lib/shardui/command.js +24 -28
  110. package/lib/shardui/command.js.map +1 -1
  111. package/lib/shardui/context-menu.d.ts +1 -1
  112. package/lib/shardui/context-menu.js +30 -41
  113. package/lib/shardui/context-menu.js.map +1 -1
  114. package/lib/shardui/dialog.d.ts +2 -2
  115. package/lib/shardui/dialog.js +17 -22
  116. package/lib/shardui/dialog.js.map +1 -1
  117. package/lib/shardui/drawer.d.ts +3 -3
  118. package/lib/shardui/drawer.js +14 -17
  119. package/lib/shardui/drawer.js.map +1 -1
  120. package/lib/shardui/dropdown-menu.d.ts +1 -1
  121. package/lib/shardui/dropdown-menu.js +31 -42
  122. package/lib/shardui/dropdown-menu.js.map +1 -1
  123. package/lib/shardui/form.d.ts +1 -1
  124. package/lib/shardui/form.d.ts.map +1 -1
  125. package/lib/shardui/form.js +19 -22
  126. package/lib/shardui/form.js.map +1 -1
  127. package/lib/shardui/hover-card.js +2 -2
  128. package/lib/shardui/hover-card.js.map +1 -1
  129. package/lib/shardui/input-otp.js +13 -16
  130. package/lib/shardui/input-otp.js.map +1 -1
  131. package/lib/shardui/input.js +2 -2
  132. package/lib/shardui/input.js.map +1 -1
  133. package/lib/shardui/label.d.ts +1 -1
  134. package/lib/shardui/label.d.ts.map +1 -1
  135. package/lib/shardui/label.js +2 -2
  136. package/lib/shardui/label.js.map +1 -1
  137. package/lib/shardui/menubar.d.ts +1 -1
  138. package/lib/shardui/menubar.js +35 -46
  139. package/lib/shardui/menubar.js.map +1 -1
  140. package/lib/shardui/navigation-menu.d.ts +1 -1
  141. package/lib/shardui/navigation-menu.d.ts.map +1 -1
  142. package/lib/shardui/navigation-menu.js +24 -28
  143. package/lib/shardui/navigation-menu.js.map +1 -1
  144. package/lib/shardui/pagination.d.ts +5 -5
  145. package/lib/shardui/pagination.js +22 -30
  146. package/lib/shardui/pagination.js.map +1 -1
  147. package/lib/shardui/popover.js +8 -10
  148. package/lib/shardui/popover.js.map +1 -1
  149. package/lib/shardui/progress.js +9 -10
  150. package/lib/shardui/progress.js.map +1 -1
  151. package/lib/shardui/radio-group.js +9 -11
  152. package/lib/shardui/radio-group.js.map +1 -1
  153. package/lib/shardui/resizable.d.ts +5 -4
  154. package/lib/shardui/resizable.d.ts.map +1 -1
  155. package/lib/shardui/resizable.js +9 -11
  156. package/lib/shardui/resizable.js.map +1 -1
  157. package/lib/shardui/scroll-area.js +11 -14
  158. package/lib/shardui/scroll-area.js.map +1 -1
  159. package/lib/shardui/select.js +35 -49
  160. package/lib/shardui/select.js.map +1 -1
  161. package/lib/shardui/separator.js +2 -2
  162. package/lib/shardui/separator.js.map +1 -1
  163. package/lib/shardui/sheet.d.ts +3 -3
  164. package/lib/shardui/sheet.d.ts.map +1 -1
  165. package/lib/shardui/sheet.js +19 -24
  166. package/lib/shardui/sheet.js.map +1 -1
  167. package/lib/shardui/sidebar.d.ts +1 -1
  168. package/lib/shardui/sidebar.d.ts.map +1 -1
  169. package/lib/shardui/sidebar.js +88 -104
  170. package/lib/shardui/sidebar.js.map +1 -1
  171. package/lib/shardui/skeleton.d.ts +2 -1
  172. package/lib/shardui/skeleton.d.ts.map +1 -1
  173. package/lib/shardui/skeleton.js +2 -2
  174. package/lib/shardui/skeleton.js.map +1 -1
  175. package/lib/shardui/slider.js +10 -12
  176. package/lib/shardui/slider.js.map +1 -1
  177. package/lib/shardui/sonner.d.ts +2 -1
  178. package/lib/shardui/sonner.d.ts.map +1 -1
  179. package/lib/shardui/sonner.js +2 -2
  180. package/lib/shardui/sonner.js.map +1 -1
  181. package/lib/shardui/switch.js +6 -7
  182. package/lib/shardui/switch.js.map +1 -1
  183. package/lib/shardui/table.js +15 -16
  184. package/lib/shardui/table.js.map +1 -1
  185. package/lib/shardui/tabs.js +4 -4
  186. package/lib/shardui/tabs.js.map +1 -1
  187. package/lib/shardui/textarea.js +2 -2
  188. package/lib/shardui/textarea.js.map +1 -1
  189. package/lib/shardui/toast.d.ts +1 -1
  190. package/lib/shardui/toast.d.ts.map +1 -1
  191. package/lib/shardui/toast.js +11 -12
  192. package/lib/shardui/toast.js.map +1 -1
  193. package/lib/shardui/toaster.d.ts +2 -1
  194. package/lib/shardui/toaster.d.ts.map +1 -1
  195. package/lib/shardui/toaster.js +14 -21
  196. package/lib/shardui/toaster.js.map +1 -1
  197. package/lib/shardui/toggle-group.d.ts +2 -2
  198. package/lib/shardui/toggle-group.d.ts.map +1 -1
  199. package/lib/shardui/toggle-group.js +12 -15
  200. package/lib/shardui/toggle-group.js.map +1 -1
  201. package/lib/shardui/toggle.d.ts +2 -2
  202. package/lib/shardui/toggle.d.ts.map +1 -1
  203. package/lib/shardui/toggle.js +2 -2
  204. package/lib/shardui/toggle.js.map +1 -1
  205. package/lib/shardui/tooltip.js +2 -2
  206. package/lib/shardui/tooltip.js.map +1 -1
  207. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"sonner.js","sources":["../../src/shardui/sonner.tsx"],"sourcesContent":[null],"names":[],"mappings":"oJAyBA,MAAA,OAAS,GAAO,CAAA;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"sonner.js","sources":["../../src/shardui/sonner.tsx"],"sourcesContent":[null],"names":[],"mappings":"4IAMA,MAAA,UAAM,CAAA;AAoBN,EAAA,GAAA;;;;;;;;;;;;;;;;;;"}
@@ -1,12 +1,11 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import*as SwitchPrimitives from'@radix-ui/react-switch';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Switch = React.forwardRef(({
1
+ import*as React from'react';import*as SwitchPrimitives from'@radix-ui/react-switch';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Switch = React.forwardRef(({
2
2
  className,
3
3
  ...props
4
- }, ref) => jsx(SwitchPrimitives.Root, {
4
+ }, ref) => React.createElement(SwitchPrimitives.Root, {
5
5
  className: cn('peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input', className),
6
6
  ...props,
7
- ref: ref,
8
- children: jsx(SwitchPrimitives.Thumb, {
9
- className: cn('pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0')
10
- })
11
- }));
7
+ ref: ref
8
+ }, React.createElement(SwitchPrimitives.Thumb, {
9
+ className: cn('pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0')
10
+ })));
12
11
  Switch.displayName = SwitchPrimitives.Root.displayName;export{Switch};//# sourceMappingURL=switch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"switch.js","sources":["../../src/shardui/switch.tsx"],"sourcesContent":[null],"names":[],"mappings":"2LA0BA,MAAA,MAAS,GAAM,KAAG,CAAA,UAAA,CAAA,CAAA;;;;;;;;;;"}
@@ -1,19 +1,18 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Table = React.forwardRef(({
1
+ import*as React from'react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Table = React.forwardRef(({
2
2
  className,
3
3
  ...props
4
- }, ref) => jsx("div", {
5
- className: "relative w-full overflow-auto",
6
- children: jsx("table", {
7
- ref: ref,
8
- className: cn('w-full caption-bottom text-sm', className),
9
- ...props
10
- })
11
- }));
4
+ }, ref) => React.createElement("div", {
5
+ className: "relative w-full overflow-auto"
6
+ }, React.createElement("table", {
7
+ ref: ref,
8
+ className: cn('w-full caption-bottom text-sm', className),
9
+ ...props
10
+ })));
12
11
  Table.displayName = 'Table';
13
12
  const TableHeader = React.forwardRef(({
14
13
  className,
15
14
  ...props
16
- }, ref) => jsx("thead", {
15
+ }, ref) => React.createElement("thead", {
17
16
  ref: ref,
18
17
  className: cn('[&_tr]:border-b', className),
19
18
  ...props
@@ -22,7 +21,7 @@ TableHeader.displayName = 'TableHeader';
22
21
  const TableBody = React.forwardRef(({
23
22
  className,
24
23
  ...props
25
- }, ref) => jsx("tbody", {
24
+ }, ref) => React.createElement("tbody", {
26
25
  ref: ref,
27
26
  className: cn('[&_tr:last-child]:border-0', className),
28
27
  ...props
@@ -31,7 +30,7 @@ TableBody.displayName = 'TableBody';
31
30
  const TableFooter = React.forwardRef(({
32
31
  className,
33
32
  ...props
34
- }, ref) => jsx("tfoot", {
33
+ }, ref) => React.createElement("tfoot", {
35
34
  ref: ref,
36
35
  className: cn('border-t bg-muted/50 font-medium [&>tr]:last:border-b-0', className),
37
36
  ...props
@@ -40,7 +39,7 @@ TableFooter.displayName = 'TableFooter';
40
39
  const TableRow = React.forwardRef(({
41
40
  className,
42
41
  ...props
43
- }, ref) => jsx("tr", {
42
+ }, ref) => React.createElement("tr", {
44
43
  ref: ref,
45
44
  className: cn('border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted', className),
46
45
  ...props
@@ -49,7 +48,7 @@ TableRow.displayName = 'TableRow';
49
48
  const TableHead = React.forwardRef(({
50
49
  className,
51
50
  ...props
52
- }, ref) => jsx("th", {
51
+ }, ref) => React.createElement("th", {
53
52
  ref: ref,
54
53
  className: cn('h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0', className),
55
54
  ...props
@@ -58,7 +57,7 @@ TableHead.displayName = 'TableHead';
58
57
  const TableCell = React.forwardRef(({
59
58
  className,
60
59
  ...props
61
- }, ref) => jsx("td", {
60
+ }, ref) => React.createElement("td", {
62
61
  ref: ref,
63
62
  className: cn('p-4 align-middle [&:has([role=checkbox])]:pr-0', className),
64
63
  ...props
@@ -67,7 +66,7 @@ TableCell.displayName = 'TableCell';
67
66
  const TableCaption = React.forwardRef(({
68
67
  className,
69
68
  ...props
70
- }, ref) => jsx("caption", {
69
+ }, ref) => React.createElement("caption", {
71
70
  ref: ref,
72
71
  className: cn('mt-4 text-sm text-muted-foreground', className),
73
72
  ...props
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sources":["../../src/shardui/table.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"uKAkBA,MAAA,KAAA,GAAM,KAAA,CAAA,UAAS,CAAA,CAAA;AAOf,EAAA,SAAA;AAWA,EAAA,GAAA;AAWA,CAAA,EAAA,GAAA,KAAAA,GAAM,CAAA,KAAA,EAAS;AAcf,EAAA,SAAA,EAAA,+BAAe;AAOf,EAAA,QAAA,EAAAA,GAAM,CAAA,OAAA,EAAY;AAOlB,IAAA,GAAO,EAAE,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"table.js","sources":["../../src/shardui/table.tsx"],"sourcesContent":[null],"names":[],"mappings":"mIAaA,MAAA,KAAA,GAAM,KAAA,CAAA,UAAW,CAAA,CAAA;AAKjB,EAAA,SAAA;AAOA,EAAA,GAAA;AAWA,CAAA,EAAA,GAAA,KAAA,KAAM,CAAA,aAAQ,CAAA,KAAA,EAAA;AAWd,EAAA,SAAA,EAAA;AAcA,CAAA,EAAA,KAAA,CAAA,aAAM,CAAS,OAAA,EAAA;AAOf,EAAA,GAAA,EAAA,GAAA;AAOA,EAAA,SAAS,EAAA,EAAK,CAAE,+BAAwB,EAAA,SAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import*as TabsPrimitive from'@radix-ui/react-tabs';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Tabs = TabsPrimitive.Root;
1
+ import*as React from'react';import*as TabsPrimitive from'@radix-ui/react-tabs';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Tabs = TabsPrimitive.Root;
2
2
  const TabsList = React.forwardRef(({
3
3
  className,
4
4
  ...props
5
- }, ref) => jsx(TabsPrimitive.List, {
5
+ }, ref) => React.createElement(TabsPrimitive.List, {
6
6
  ref: ref,
7
7
  className: cn('inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground', className),
8
8
  ...props
@@ -11,7 +11,7 @@ TabsList.displayName = TabsPrimitive.List.displayName;
11
11
  const TabsTrigger = React.forwardRef(({
12
12
  className,
13
13
  ...props
14
- }, ref) => jsx(TabsPrimitive.Trigger, {
14
+ }, ref) => React.createElement(TabsPrimitive.Trigger, {
15
15
  ref: ref,
16
16
  className: cn('inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm', className),
17
17
  ...props
@@ -20,7 +20,7 @@ TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
20
20
  const TabsContent = React.forwardRef(({
21
21
  className,
22
22
  ...props
23
- }, ref) => jsx(TabsPrimitive.Content, {
23
+ }, ref) => React.createElement(TabsPrimitive.Content, {
24
24
  ref: ref,
25
25
  className: cn('mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', className),
26
26
  ...props
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","sources":["../../src/shardui/tabs.tsx"],"sourcesContent":[null],"names":[],"mappings":"0NAsBA,MAAA,IAAA,GAAA,aAAiB,CAAA;AAejB,MAAA,QAAM,GAAA,KAAA,CAAA,UAAW,CAAA,CAAA;AAejB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"tabs.js","sources":["../../src/shardui/tabs.tsx"],"sourcesContent":[null],"names":[],"mappings":"sLAOA,MAAA,IAAA,GAAA,aAAc,CAAA;AAed,MAAA,QAAM,GAAA,KAAA,CAAA,UAAW,CAAA,CAAA;AAejB,EAAA,SAAA;AAeA,EAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Textarea = React.forwardRef(({
1
+ import*as React from'react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Textarea = React.forwardRef(({
2
2
  className,
3
3
  ...props
4
4
  }, ref) => {
5
- return jsx("textarea", {
5
+ return React.createElement("textarea", {
6
6
  className: cn('flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', className),
7
7
  ref: ref,
8
8
  ...props
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.js","sources":["../../src/shardui/textarea.tsx"],"sourcesContent":[null],"names":[],"mappings":"uKAMA,MAAA,QAAM,GAAA,KAAQ,CAAA,UAAA,CAAA,CAAA;AAcd,EAAA,SAAS;;;;;;;;;"}
1
+ {"version":3,"file":"textarea.js","sources":["../../src/shardui/textarea.tsx"],"sourcesContent":[null],"names":[],"mappings":"mIAI2F,MAAA,QAAA,GAAA,KAAA,CAAA,UAAA,CAAA,CAAA;AAE3F,EAAA,SAAA;AAcA,EAAA,GAAA;;;;;;;;"}
@@ -5,7 +5,7 @@ declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
5
5
  declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
6
6
  declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: {
7
7
  variant?: "default" | "destructive";
8
- } & import("class-variance-authority/types").ClassProp) => string> & React.RefAttributes<HTMLLIElement>>;
8
+ } & import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLLIElement>>;
9
9
  declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
10
  declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
11
11
  declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../src/shardui/toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,aAAa,8CAA2B,CAAC;AAE/C,QAAA,MAAM,aAAa,kKAYjB,CAAC;AAkBH,QAAA,MAAM,KAAK;;wGAKT,CAAC;AAGH,QAAA,MAAM,WAAW,kKAYf,CAAC;AAGH,QAAA,MAAM,UAAU,iKAed,CAAC;AAGH,QAAA,MAAM,UAAU,2JAKd,CAAC;AAGH,QAAA,MAAM,gBAAgB,iKAKpB,CAAC;AAGH,KAAK,UAAU,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AAE/D,KAAK,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,OAAO,EACH,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,GACd,CAAC"}
1
+ {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../src/shardui/toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,aAAa,8CAA2B,CAAC;AAE/C,QAAA,MAAM,aAAa,kKAYjB,CAAC;AAkBH,QAAA,MAAM,KAAK;;6GAKT,CAAC;AAGH,QAAA,MAAM,WAAW,kKAYf,CAAC;AAGH,QAAA,MAAM,UAAU,iKAed,CAAC;AAGH,QAAA,MAAM,UAAU,2JAKd,CAAC;AAGH,QAAA,MAAM,gBAAgB,iKAKpB,CAAC;AAGH,KAAK,UAAU,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AAE/D,KAAK,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,OAAO,EACH,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,GACd,CAAC"}
@@ -1,8 +1,8 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import*as ToastPrimitives from'@radix-ui/react-toast';import {cva}from'class-variance-authority';import {X}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const ToastProvider = ToastPrimitives.Provider;
1
+ import*as React from'react';import*as ToastPrimitives from'@radix-ui/react-toast';import {cva}from'class-variance-authority';import {X}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const ToastProvider = ToastPrimitives.Provider;
2
2
  const ToastViewport = React.forwardRef(({
3
3
  className,
4
4
  ...props
5
- }, ref) => jsx(ToastPrimitives.Viewport, {
5
+ }, ref) => React.createElement(ToastPrimitives.Viewport, {
6
6
  ref: ref,
7
7
  className: cn('fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]', className),
8
8
  ...props
@@ -24,7 +24,7 @@ const Toast = React.forwardRef(({
24
24
  variant,
25
25
  ...props
26
26
  }, ref) => {
27
- return jsx(ToastPrimitives.Root, {
27
+ return React.createElement(ToastPrimitives.Root, {
28
28
  ref: ref,
29
29
  className: cn(toastVariants({
30
30
  variant
@@ -36,7 +36,7 @@ Toast.displayName = ToastPrimitives.Root.displayName;
36
36
  const ToastAction = React.forwardRef(({
37
37
  className,
38
38
  ...props
39
- }, ref) => jsx(ToastPrimitives.Action, {
39
+ }, ref) => React.createElement(ToastPrimitives.Action, {
40
40
  ref: ref,
41
41
  className: cn('inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive', className),
42
42
  ...props
@@ -45,20 +45,19 @@ ToastAction.displayName = ToastPrimitives.Action.displayName;
45
45
  const ToastClose = React.forwardRef(({
46
46
  className,
47
47
  ...props
48
- }, ref) => jsx(ToastPrimitives.Close, {
48
+ }, ref) => React.createElement(ToastPrimitives.Close, {
49
49
  ref: ref,
50
50
  className: cn('absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600', className),
51
51
  "toast-close": "",
52
- ...props,
53
- children: jsx(X, {
54
- className: "h-4 w-4"
55
- })
56
- }));
52
+ ...props
53
+ }, React.createElement(X, {
54
+ className: "h-4 w-4"
55
+ })));
57
56
  ToastClose.displayName = ToastPrimitives.Close.displayName;
58
57
  const ToastTitle = React.forwardRef(({
59
58
  className,
60
59
  ...props
61
- }, ref) => jsx(ToastPrimitives.Title, {
60
+ }, ref) => React.createElement(ToastPrimitives.Title, {
62
61
  ref: ref,
63
62
  className: cn('text-sm font-semibold', className),
64
63
  ...props
@@ -67,7 +66,7 @@ ToastTitle.displayName = ToastPrimitives.Title.displayName;
67
66
  const ToastDescription = React.forwardRef(({
68
67
  className,
69
68
  ...props
70
- }, ref) => jsx(ToastPrimitives.Description, {
69
+ }, ref) => React.createElement(ToastPrimitives.Description, {
71
70
  ref: ref,
72
71
  className: cn('text-sm opacity-90', className),
73
72
  ...props
@@ -1 +1 @@
1
- {"version":3,"file":"toast.js","sources":["../../src/shardui/toast.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;AA+CA,EAAA,SAAA;AAeA,EAAA,GAAA;AAkBA,CAAA,EAAA,GAAA,KAAAA,GAAM,CAAA,eAAU,CAAA,QAAA,EAAA;AAQhB,EAAA,GAAA,EAAA,GAAA;AAQA,EAAA,SAAK,EAAA,EAAU,oIAAgD,EAAA,SAAA,CAAA;AAE/D,EAAA,GAAK;AAEL,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"toast.js","sources":["../../src/shardui/toast.tsx"],"sourcesContent":[null],"names":[],"mappings":"iQAuCA,MAAA,aAAW,GAAA,eAAA,CAAA;;;AAQX,EAAA,GAAA;AAeA,CAAA,EAAA,GAAA,KAAA,KAAM,CAAA,aAAU,CAAA,eAAA,CAAA,QAAA,EAAA;AAkBhB,EAAA,GAAA,EAAA,GAAA;AAQA,EAAA,SAAA,EAAA,EAAM,CAAA,mIAAgB,EAAA,SAAA,CAAA;AAQtB,EAAA,GAAK;AAEL,CAAA,CAAA;AAEA,cACS,WAAU,kBACV,CAAA,oBACQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
- export declare function Toaster(): import("react/jsx-runtime").JSX.Element;
1
+ import * as React from 'react';
2
+ export declare function Toaster(): React.JSX.Element;
2
3
  //# sourceMappingURL=toaster.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../../src/shardui/toaster.tsx"],"names":[],"mappings":"AAGA,wBAAgB,OAAO,4CAoBtB"}
1
+ {"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../../src/shardui/toaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,wBAAgB,OAAO,sBAoBtB"}
@@ -1,26 +1,19 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import'../utils/isBrowser/index.js';import'clsx';import'tailwind-merge';import'react';import'fast-deep-equal/react.js';import {useToast}from'../utils/hooks/use-toast.js';import {ToastProvider,Toast,ToastTitle,ToastDescription,ToastClose,ToastViewport}from'./toast.js';function Toaster() {
1
+ import*as React from'react';import'../utils/isBrowser/index.js';import'clsx';import'tailwind-merge';import'fast-deep-equal/react.js';import {useToast}from'../utils/hooks/use-toast.js';import {ToastProvider,Toast,ToastTitle,ToastDescription,ToastClose,ToastViewport}from'./toast.js';function Toaster() {
2
2
  const {
3
3
  toasts
4
4
  } = useToast();
5
- return jsxs(ToastProvider, {
6
- children: [toasts.map(function ({
7
- id,
8
- title,
9
- description,
10
- action,
5
+ return React.createElement(ToastProvider, null, toasts.map(function ({
6
+ id,
7
+ title,
8
+ description,
9
+ action,
10
+ ...props
11
+ }) {
12
+ return React.createElement(Toast, {
13
+ key: id,
11
14
  ...props
12
- }) {
13
- return jsxs(Toast, {
14
- ...props,
15
- children: [jsxs("div", {
16
- className: "grid gap-1",
17
- children: [title && jsx(ToastTitle, {
18
- children: title
19
- }), description && jsx(ToastDescription, {
20
- children: description
21
- })]
22
- }), action, jsx(ToastClose, {})]
23
- }, id);
24
- }), jsx(ToastViewport, {})]
25
- });
15
+ }, React.createElement("div", {
16
+ className: "grid gap-1"
17
+ }, title && React.createElement(ToastTitle, null, title), description && React.createElement(ToastDescription, null, description)), action, React.createElement(ToastClose, null));
18
+ }), React.createElement(ToastViewport, null));
26
19
  }export{Toaster};//# sourceMappingURL=toaster.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toaster.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"toaster.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -4,10 +4,10 @@ import { type VariantProps } from 'class-variance-authority';
4
4
  declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: {
5
5
  variant?: "default" | "outline";
6
6
  size?: "default" | "sm" | "lg";
7
- } & import("class-variance-authority/types").ClassProp) => string>) & React.RefAttributes<HTMLDivElement>>;
7
+ } & import("class-variance-authority/dist/types").ClassProp) => string>) & React.RefAttributes<HTMLDivElement>>;
8
8
  declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: {
9
9
  variant?: "default" | "outline";
10
10
  size?: "default" | "sm" | "lg";
11
- } & import("class-variance-authority/types").ClassProp) => string> & React.RefAttributes<HTMLButtonElement>>;
11
+ } & import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLButtonElement>>;
12
12
  export { ToggleGroup, ToggleGroupItem };
13
13
  //# sourceMappingURL=toggle-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../src/shardui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAU7D,QAAA,MAAM,WAAW;;;0GAOf,CAAC;AAIH,QAAA,MAAM,eAAe;;;4GAqBnB,CAAC;AAIH,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../src/shardui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAU7D,QAAA,MAAM,WAAW;;;+GAOf,CAAC;AAIH,QAAA,MAAM,eAAe;;;iHAqBnB,CAAC;AAIH,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import*as ToggleGroupPrimitive from'@radix-ui/react-toggle-group';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';import {toggleVariants}from'./toggle.js';const ToggleGroupContext = React.createContext({
1
+ import*as React from'react';import*as ToggleGroupPrimitive from'@radix-ui/react-toggle-group';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';import {toggleVariants}from'./toggle.js';const ToggleGroupContext = React.createContext({
2
2
  size: 'default',
3
3
  variant: 'default'
4
4
  });
@@ -8,18 +8,16 @@ const ToggleGroup = React.forwardRef(({
8
8
  size,
9
9
  children,
10
10
  ...props
11
- }, ref) => jsx(ToggleGroupPrimitive.Root, {
11
+ }, ref) => React.createElement(ToggleGroupPrimitive.Root, {
12
12
  ref: ref,
13
13
  className: cn('flex items-center justify-center gap-1', className),
14
- ...props,
15
- children: jsx(ToggleGroupContext.Provider, {
16
- value: {
17
- variant,
18
- size
19
- },
20
- children: children
21
- })
22
- }));
14
+ ...props
15
+ }, React.createElement(ToggleGroupContext.Provider, {
16
+ value: {
17
+ variant,
18
+ size
19
+ }
20
+ }, children)));
23
21
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
24
22
  const ToggleGroupItem = React.forwardRef(({
25
23
  className,
@@ -29,14 +27,13 @@ const ToggleGroupItem = React.forwardRef(({
29
27
  ...props
30
28
  }, ref) => {
31
29
  const context = React.useContext(ToggleGroupContext);
32
- return jsx(ToggleGroupPrimitive.Item, {
30
+ return React.createElement(ToggleGroupPrimitive.Item, {
33
31
  ref: ref,
34
32
  className: cn(toggleVariants({
35
33
  variant: context.variant || variant,
36
34
  size: context.size || size
37
35
  }), className),
38
- ...props,
39
- children: children
40
- });
36
+ ...props
37
+ }, children);
41
38
  });
42
39
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;export{ToggleGroup,ToggleGroupItem};//# sourceMappingURL=toggle-group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-group.js","sources":["../../src/shardui/toggle-group.tsx"],"sourcesContent":[null],"names":[],"mappings":";;AAuBA,EAAA;;;;AAyBA,EAAA,OAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"toggle-group.js","sources":["../../src/shardui/toggle-group.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;AAuBA,CAAA,CAAA;;;;AAyBA,EAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,10 +4,10 @@ import { type VariantProps } from 'class-variance-authority';
4
4
  declare const toggleVariants: (props?: {
5
5
  variant?: "default" | "outline";
6
6
  size?: "default" | "sm" | "lg";
7
- } & import("class-variance-authority/types").ClassProp) => string;
7
+ } & import("class-variance-authority/dist/types").ClassProp) => string;
8
8
  declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: {
9
9
  variant?: "default" | "outline";
10
10
  size?: "default" | "sm" | "lg";
11
- } & import("class-variance-authority/types").ClassProp) => string> & React.RefAttributes<HTMLButtonElement>>;
11
+ } & import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLButtonElement>>;
12
12
  export { Toggle, toggleVariants };
13
13
  //# sourceMappingURL=toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../src/shardui/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,cAAc;;;iEAmBnB,CAAC;AAEF,QAAA,MAAM,MAAM;;;4GAKV,CAAC;AAIH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../src/shardui/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,cAAc;;;sEAmBnB,CAAC;AAEF,QAAA,MAAM,MAAM;;;iHAKV,CAAC;AAIH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import*as TogglePrimitive from'@radix-ui/react-toggle';import {cva}from'class-variance-authority';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const toggleVariants = cva('inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground', {
1
+ import*as React from'react';import*as TogglePrimitive from'@radix-ui/react-toggle';import {cva}from'class-variance-authority';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const toggleVariants = cva('inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground', {
2
2
  variants: {
3
3
  variant: {
4
4
  default: 'bg-transparent',
@@ -20,7 +20,7 @@ const Toggle = React.forwardRef(({
20
20
  variant,
21
21
  size,
22
22
  ...props
23
- }, ref) => jsx(TogglePrimitive.Root, {
23
+ }, ref) => React.createElement(TogglePrimitive.Root, {
24
24
  ref: ref,
25
25
  className: cn(toggleVariants({
26
26
  variant,
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.js","sources":["../../src/shardui/toggle.tsx"],"sourcesContent":[null],"names":[],"mappings":";;AA2BA,IAAA;;;;AASA,IAAA,IAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"toggle.js","sources":["../../src/shardui/toggle.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;AA2BA,MAAA,SAAM,gBAAM;;;;AASZ,MAAA,OAAS,EAAM,WAAE;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,11 +1,11 @@
1
- import {jsx}from'react/jsx-runtime';import*as React from'react';import*as TooltipPrimitive from'@radix-ui/react-tooltip';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const TooltipProvider = TooltipPrimitive.Provider;
1
+ import*as React from'react';import*as TooltipPrimitive from'@radix-ui/react-tooltip';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const TooltipProvider = TooltipPrimitive.Provider;
2
2
  const Tooltip = TooltipPrimitive.Root;
3
3
  const TooltipTrigger = TooltipPrimitive.Trigger;
4
4
  const TooltipContent = React.forwardRef(({
5
5
  className,
6
6
  sideOffset = 4,
7
7
  ...props
8
- }, ref) => jsx(TooltipPrimitive.Content, {
8
+ }, ref) => React.createElement(TooltipPrimitive.Content, {
9
9
  ref: ref,
10
10
  sideOffset: sideOffset,
11
11
  className: cn('z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', className),
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sources":["../../src/shardui/tooltip.tsx"],"sourcesContent":[null],"names":[],"mappings":"gOASA,MAAA,eAAM,GAAA,gBAAc,CAAA;AAEpB,MAAA,OAAA,GAAM,gBAAc,CAAA;AAgBpB,MAAA,cAAkB,GAAA,gBAAgB,CAAA;;;;;;;;;;;"}
1
+ {"version":3,"file":"tooltip.js","sources":["../../src/shardui/tooltip.tsx"],"sourcesContent":[null],"names":[],"mappings":"4LAOA,MAAA,eAAa,GAAA,gBAAA,CAAA;AAEb,MAAA,OAAA,GAAM,gBAAc,CAAA;AAEpB,MAAA,cAAM,GAAA,gBAAc,CAAA;AAgBpB,MAAA,cAAkB,GAAA,KAAA,CAAA,UAAgB,CAAA,CAAA;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/tailwind-ui",
3
- "version": "12.0.16-alpha.93",
3
+ "version": "12.2.1-alpha.3",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -29,7 +29,7 @@
29
29
  "watch": "npm run build:lib:watch"
30
30
  },
31
31
  "dependencies": {
32
- "@admin-layout/client": "12.0.16-alpha.93",
32
+ "@admin-layout/client": "12.2.1-alpha.3",
33
33
  "@radix-ui/react-accordion": "^1.2.0",
34
34
  "@radix-ui/react-alert-dialog": "^1.1.1",
35
35
  "@radix-ui/react-aspect-ratio": "^1.1.0",
@@ -89,5 +89,5 @@
89
89
  "typescript": {
90
90
  "definition": "lib/index.d.ts"
91
91
  },
92
- "gitHead": "5039204f87401990735e735a0cf9c7dbb053cac9"
92
+ "gitHead": "a39e19e76e76fbb5f8cdacf6a901ffbd5c7d700b"
93
93
  }