@pixpilot/shadcn 0.1.1 → 0.1.2

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 (204) hide show
  1. package/dist/{OrContinueWithSeparator-D2E12axp.d.ts → OrContinueWithSeparator-BQalGx6O.d.ts} +2 -2
  2. package/dist/{alert-BOmOAVab.d.cts → alert-BDcOuBrO.d.ts} +5 -5
  3. package/dist/{alert-dialog-TlaRRoQl.d.ts → alert-dialog-Iw5UG8d3.d.ts} +12 -12
  4. package/dist/{avatar-C0o0LZHK.d.cts → avatar-BRZS2oIf.d.ts} +4 -4
  5. package/dist/{badge-BwMa0yrU.d.cts → badge-Dwxq7JaA.d.ts} +3 -3
  6. package/dist/{button-DS2onC5z.d.cts → button-CSw4bOk7.d.ts} +3 -3
  7. package/dist/{calendar-2na2Z1lC.d.cts → calendar-Vx7GBiN5.d.ts} +4 -4
  8. package/dist/{card-WGLY-CGJ.d.ts → card-CN1Wv1_W.d.ts} +8 -8
  9. package/dist/{checkbox-qfDakeFS.d.cts → checkbox-COC2Igpo.d.ts} +2 -2
  10. package/dist/{command-Jg-MECH0.d.ts → command-CJXf3-UR.d.ts} +11 -11
  11. package/dist/components/{index-9UbR5pav.d.ts → index-2Smtu_1u.d.ts} +29 -29
  12. package/dist/components/ui/{OrContinueWithSeparator-Deko0a05.d.ts → OrContinueWithSeparator-OYGOTHTw.d.ts} +1 -1
  13. package/dist/components/ui/alert-DuyLuX68.d.ts +2 -0
  14. package/dist/components/ui/{alert-dialog-B1O4SkCO.d.ts → alert-dialog-CUL8nAeI.d.ts} +1 -1
  15. package/dist/components/ui/avatar-DAQzpqqD.d.ts +2 -0
  16. package/dist/components/ui/badge-BM6RVFS5.d.ts +2 -0
  17. package/dist/components/ui/{button-xAUU71CK.d.ts → button-D9y8v_Tt.d.ts} +1 -1
  18. package/dist/components/ui/{calendar-CdHQnChE.d.ts → calendar-B9zfwi7H.d.ts} +1 -1
  19. package/dist/components/ui/{card-B33oFk7g.d.ts → card-BYi1Jf3z.d.ts} +1 -1
  20. package/dist/components/ui/checkbox-QkowwGnR.d.ts +2 -0
  21. package/dist/components/ui/{command-CiYsTw-N.d.ts → command-BkXDbodx.d.ts} +1 -1
  22. package/dist/components/ui/{dialog-BLmUGWhm.d.ts → dialog-BvEqiJH6.d.ts} +1 -1
  23. package/dist/components/ui/{dropdown-menu-BiTw8JoY.d.ts → dropdown-menu-BJ2FNIH4.d.ts} +1 -1
  24. package/dist/components/ui/{file-upload-B5xI4UMr.d.ts → file-upload-DZGaOzQS.d.ts} +1 -1
  25. package/dist/components/ui/{form-Di2tTY-R.d.ts → form-CpVuTht7.d.ts} +1 -1
  26. package/dist/components/ui/{index-8A2fRq2u.d.ts → index-q7RUuYJ2.d.ts} +29 -29
  27. package/dist/components/ui/input-DVpolrW-.d.ts +2 -0
  28. package/dist/components/ui/label-BW9JhwyW.d.ts +2 -0
  29. package/dist/components/ui/{pagination-CEb9cpQ4.d.ts → pagination-CDtFyXkC.d.ts} +1 -1
  30. package/dist/components/ui/{popover-DnnrgVi3.d.ts → popover-B6PDCy8U.d.ts} +1 -1
  31. package/dist/components/ui/{radio-group-DIjhsevH.d.ts → radio-group-DuGtPMcp.d.ts} +1 -1
  32. package/dist/components/ui/{select-d1uVKLd4.d.ts → select-DAN9r02Z.d.ts} +1 -1
  33. package/dist/components/ui/separator-D53tTv-J.d.ts +2 -0
  34. package/dist/components/ui/shadcn-io/tags/{index-D0RWMGB5.d.ts → index-CnMq6aeV.d.ts} +1 -1
  35. package/dist/components/ui/shadcn-io/tags-input-inline/{index-DVGMC27L.d.ts → index-D7OIPdfu.d.ts} +1 -1
  36. package/dist/components/ui/{sheet-oRvo5v4N.d.ts → sheet-Bo7lvlRA.d.ts} +1 -1
  37. package/dist/components/ui/slider-lAthKpva.d.ts +2 -0
  38. package/dist/components/ui/switch-D7WzMqgv.d.ts +2 -0
  39. package/dist/components/ui/tabs-CnjGY6eE.d.ts +2 -0
  40. package/dist/components/ui/textarea-BJpu8fK5.d.ts +2 -0
  41. package/dist/components/ui/{tooltip-B05vLa7i.d.ts → tooltip-JdLdCVsY.d.ts} +1 -1
  42. package/dist/{dialog-BeJ4W_wL.d.cts → dialog-a61KKgp5.d.ts} +11 -11
  43. package/dist/{dropdown-menu-pJlZRoLy.d.cts → dropdown-menu-DTRzUFxv.d.ts} +16 -16
  44. package/dist/{file-upload-Cd99SBNZ.d.ts → file-upload-C38U9nyT.d.ts} +11 -11
  45. package/dist/{form-C4ktVmIn.d.ts → form-Cx2k120Z.d.ts} +7 -7
  46. package/dist/{index-DOMvBE84.d.ts → index-2apAhpYW.d.ts} +29 -29
  47. package/dist/{index-fofN1DBY.d.ts → index-B6o0TAoD.d.ts} +7 -7
  48. package/dist/{index-DvlthbVs.d.cts → index-B9p9Ocoz.d.ts} +9 -9
  49. package/dist/{index-VLXQAOef.d.ts → index-fkXKhUlW.d.ts} +13 -13
  50. package/dist/input-DCWzuP_2.d.ts +11 -0
  51. package/dist/{label-FC0f8Usj.d.cts → label-pEqCQKel.d.ts} +2 -2
  52. package/dist/{popover-BX6CaTPU.d.cts → popover-RnfYQfGo.d.ts} +5 -5
  53. package/dist/{radio-group-CcjDx3W6.d.ts → radio-group-BNj4EfLg.d.ts} +3 -3
  54. package/dist/{select-Fa42Z4LL.d.ts → select-B4b-ZC31.d.ts} +11 -11
  55. package/dist/{separator-CfeHjQ3U.d.ts → separator-izY8KL7y.d.ts} +2 -2
  56. package/dist/{sheet-BjXx7ddJ.d.ts → sheet-Dag7L2Xd.d.ts} +9 -9
  57. package/dist/{slider-B3CoyrXu.d.cts → slider-DEUGdZC4.d.ts} +2 -2
  58. package/dist/{switch-B5LyLweM.d.ts → switch-RbFzvnvM.d.ts} +2 -2
  59. package/dist/{tabs-BPdlT-mo.d.ts → tabs-had5ildI.d.ts} +5 -5
  60. package/dist/{textarea-CqY_xh2i.d.cts → textarea-s8H46Zg0.d.ts} +2 -2
  61. package/dist/{tooltip-D1pZ34pY.d.ts → tooltip-CS40su1S.d.ts} +5 -5
  62. package/package.json +1 -1
  63. package/dist/OrContinueWithSeparator-BvzntFX7.cjs +0 -34
  64. package/dist/OrContinueWithSeparator-D_x7OhtS.d.cts +0 -11
  65. package/dist/alert-CwZayX3S.d.ts +0 -24
  66. package/dist/alert-D-l745dk.cjs +0 -57
  67. package/dist/alert-dialog-UlVI8Jfl.d.cts +0 -48
  68. package/dist/avatar-DXl-ag7U.d.ts +0 -19
  69. package/dist/avatar-w_kyvah6.cjs +0 -50
  70. package/dist/badge-3M1AQ3yx.cjs +0 -39
  71. package/dist/badge-_7r9g75U.d.ts +0 -19
  72. package/dist/button-BNmxKjOB.cjs +0 -58
  73. package/dist/button-CESLc3CQ.d.ts +0 -21
  74. package/dist/calendar-CELLMIIj.cjs +0 -119
  75. package/dist/calendar-b33t89Qe.d.ts +0 -26
  76. package/dist/card-C4hKT5Pm.d.cts +0 -34
  77. package/dist/card-Dvch7YjH.cjs +0 -100
  78. package/dist/checkbox-B_9kOHN4.d.ts +0 -11
  79. package/dist/checkbox-DBOuQN-K.cjs +0 -30
  80. package/dist/command-C4R-OiAQ.d.cts +0 -52
  81. package/dist/command-DX6woPdY.cjs +0 -142
  82. package/dist/components/index-IQG8KA86.d.cts +0 -30
  83. package/dist/components/index.cjs +0 -187
  84. package/dist/components/ui/OrContinueWithSeparator-Dvc8cDyM.d.cts +0 -2
  85. package/dist/components/ui/OrContinueWithSeparator.cjs +0 -7
  86. package/dist/components/ui/alert-Byz-rs0N.d.ts +0 -2
  87. package/dist/components/ui/alert-EgfaSBxF.d.cts +0 -2
  88. package/dist/components/ui/alert-dialog-DduTXxp5.d.cts +0 -2
  89. package/dist/components/ui/alert-dialog.cjs +0 -45
  90. package/dist/components/ui/alert.cjs +0 -8
  91. package/dist/components/ui/avatar-C27hFzFH.d.ts +0 -2
  92. package/dist/components/ui/avatar-hpkEskr5.d.cts +0 -2
  93. package/dist/components/ui/avatar.cjs +0 -8
  94. package/dist/components/ui/badge-Bn_Si704.d.ts +0 -2
  95. package/dist/components/ui/badge-KcziaqyK.d.cts +0 -2
  96. package/dist/components/ui/badge.cjs +0 -7
  97. package/dist/components/ui/button-OMnV_24p.d.cts +0 -2
  98. package/dist/components/ui/button.cjs +0 -7
  99. package/dist/components/ui/calendar-BEbds-zF.d.cts +0 -2
  100. package/dist/components/ui/calendar.cjs +0 -8
  101. package/dist/components/ui/card-BDrM5yPN.d.cts +0 -2
  102. package/dist/components/ui/card.cjs +0 -12
  103. package/dist/components/ui/checkbox-0VdiyPZJ.d.ts +0 -2
  104. package/dist/components/ui/checkbox-DAUiq-4T.d.cts +0 -2
  105. package/dist/components/ui/checkbox.cjs +0 -8
  106. package/dist/components/ui/command-DCzWKK9H.d.cts +0 -2
  107. package/dist/components/ui/command.cjs +0 -17
  108. package/dist/components/ui/dialog-BgbuIKOa.d.cts +0 -2
  109. package/dist/components/ui/dialog.cjs +0 -15
  110. package/dist/components/ui/dropdown-menu-BkKMo0ox.d.cts +0 -2
  111. package/dist/components/ui/dropdown-menu.cjs +0 -20
  112. package/dist/components/ui/file-upload-DiSeXl5J.d.cts +0 -2
  113. package/dist/components/ui/file-upload.cjs +0 -28
  114. package/dist/components/ui/form-Ou4AQTb6.d.cts +0 -2
  115. package/dist/components/ui/form.cjs +0 -14
  116. package/dist/components/ui/index-G20FcqoN.d.cts +0 -30
  117. package/dist/components/ui/index.cjs +0 -187
  118. package/dist/components/ui/input-DUQcmWuH.d.cts +0 -2
  119. package/dist/components/ui/input-gUHpQ5sH.d.ts +0 -2
  120. package/dist/components/ui/input.cjs +0 -6
  121. package/dist/components/ui/label-D0-7tdhM.d.ts +0 -2
  122. package/dist/components/ui/label-DimrvHz0.d.cts +0 -2
  123. package/dist/components/ui/label.cjs +0 -6
  124. package/dist/components/ui/pagination-C3bwMwwX.d.cts +0 -2
  125. package/dist/components/ui/pagination.cjs +0 -39
  126. package/dist/components/ui/popover-BMsEOeZk.d.cts +0 -2
  127. package/dist/components/ui/popover.cjs +0 -9
  128. package/dist/components/ui/radio-group-LhGeL5Jq.d.cts +0 -2
  129. package/dist/components/ui/radio-group.cjs +0 -7
  130. package/dist/components/ui/select-DEocx6ny.d.cts +0 -2
  131. package/dist/components/ui/select.cjs +0 -17
  132. package/dist/components/ui/separator-B9ar107P.d.ts +0 -2
  133. package/dist/components/ui/separator-CRHUHLVk.d.cts +0 -2
  134. package/dist/components/ui/separator.cjs +0 -6
  135. package/dist/components/ui/shadcn-io/tags/index-C7ircX0x.d.cts +0 -2
  136. package/dist/components/ui/shadcn-io/tags/index.cjs +0 -21
  137. package/dist/components/ui/shadcn-io/tags-input-inline/index-DpTV34EG.d.cts +0 -2
  138. package/dist/components/ui/shadcn-io/tags-input-inline/index.cjs +0 -10
  139. package/dist/components/ui/sheet-DrTt0RCh.d.cts +0 -2
  140. package/dist/components/ui/sheet.cjs +0 -13
  141. package/dist/components/ui/slider-B_Ct6RDR.d.ts +0 -2
  142. package/dist/components/ui/slider-qhTDbebA.d.cts +0 -2
  143. package/dist/components/ui/slider.cjs +0 -6
  144. package/dist/components/ui/switch-BN9A2aWi.d.ts +0 -2
  145. package/dist/components/ui/switch-D6yB-Ovv.d.cts +0 -2
  146. package/dist/components/ui/switch.cjs +0 -8
  147. package/dist/components/ui/tabs-BThS9Ifx.d.cts +0 -2
  148. package/dist/components/ui/tabs-BXfCBX9q.d.ts +0 -2
  149. package/dist/components/ui/tabs.cjs +0 -9
  150. package/dist/components/ui/textarea-BfSbPfQE.d.ts +0 -2
  151. package/dist/components/ui/textarea-CQzW61Gx.d.cts +0 -2
  152. package/dist/components/ui/textarea.cjs +0 -6
  153. package/dist/components/ui/tooltip-BRCqK0UP.d.cts +0 -2
  154. package/dist/components/ui/tooltip.cjs +0 -9
  155. package/dist/dialog-C1-NCU47.d.ts +0 -47
  156. package/dist/dialog-DFENsfgQ.cjs +0 -149
  157. package/dist/dropdown-menu-B2D2pr52.cjs +0 -216
  158. package/dist/dropdown-menu-CGyKEAjo.d.ts +0 -77
  159. package/dist/file-upload-9q25L_mV.d.cts +0 -94
  160. package/dist/file-upload-DGFPUCSi.cjs +0 -973
  161. package/dist/form-C9YnHr1i.cjs +0 -137
  162. package/dist/form-DHHxQebW.d.cts +0 -45
  163. package/dist/index-B_2R7TER.d.cts +0 -31
  164. package/dist/index-Blt-EW0e.d.cts +0 -31
  165. package/dist/index-Cgz59HyA.d.ts +0 -39
  166. package/dist/index-Ctvuv0vV.d.cts +0 -1
  167. package/dist/index-DxMmAsPK.d.cts +0 -70
  168. package/dist/index.cjs +0 -188
  169. package/dist/input-BGQuRFda.d.ts +0 -11
  170. package/dist/input-BfxJHE4U.cjs +0 -23
  171. package/dist/input-C5RDMgi3.d.cts +0 -11
  172. package/dist/jsx-runtime-BlVTPSwi.cjs +0 -283
  173. package/dist/label-B92w7LNc.cjs +0 -24
  174. package/dist/label-C82lEB8P.d.ts +0 -11
  175. package/dist/lib/index-D0-THr8a.d.cts +0 -2
  176. package/dist/lib/index.cjs +0 -4
  177. package/dist/lib/utils-lNm-CqH0.d.cts +0 -2
  178. package/dist/lib/utils.cjs +0 -3
  179. package/dist/lib-CkvvICiv.cjs +0 -0
  180. package/dist/popover-C7XolifE.d.ts +0 -22
  181. package/dist/popover-CxQjRK9q.cjs +0 -62
  182. package/dist/radio-group-BGPJ_D8q.cjs +0 -43
  183. package/dist/radio-group-oSmZ0ztd.d.cts +0 -15
  184. package/dist/select-BAngGmNL.d.cts +0 -52
  185. package/dist/select-BZfB9A8R.cjs +0 -160
  186. package/dist/separator-3CugGxfw.cjs +0 -26
  187. package/dist/separator-4yrIPr8r.d.cts +0 -13
  188. package/dist/sheet-CHuRM3o6.cjs +0 -133
  189. package/dist/sheet-DP0qGWDN.d.cts +0 -40
  190. package/dist/slider-3-mzOHpV.cjs +0 -45
  191. package/dist/slider-D3ozng9Y.d.ts +0 -15
  192. package/dist/src-Bx8pdty8.cjs +0 -266
  193. package/dist/switch-BIfMlSaF.d.cts +0 -11
  194. package/dist/switch-L23w_mnL.cjs +0 -28
  195. package/dist/tabs-CaKdT_iv.cjs +0 -63
  196. package/dist/tabs-DB6AHtkj.d.cts +0 -23
  197. package/dist/tags-VzxSgWuS.cjs +0 -184
  198. package/dist/tags-input-inline-CNZb7USn.cjs +0 -94
  199. package/dist/textarea-CRkBubLj.cjs +0 -22
  200. package/dist/textarea-_V7biagy.d.ts +0 -10
  201. package/dist/tooltip-C7py127U.d.cts +0 -23
  202. package/dist/tooltip-DelLkXOp.cjs +0 -63
  203. package/dist/utils-DyQCiavd.cjs +0 -16
  204. package/dist/utils-tcGMjZkT.d.cts +0 -6
@@ -1,17 +1,17 @@
1
1
  import * as React from "react";
2
2
  import * as SelectPrimitive from "@radix-ui/react-select";
3
- import * as react_jsx_runtime51 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime128 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/ui/select.d.ts
6
6
  declare function Select({
7
7
  ...props
8
- }: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime51.JSX.Element;
8
+ }: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime128.JSX.Element;
9
9
  declare function SelectGroup({
10
10
  ...props
11
- }: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime51.JSX.Element;
11
+ }: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime128.JSX.Element;
12
12
  declare function SelectValue({
13
13
  ...props
14
- }: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime51.JSX.Element;
14
+ }: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime128.JSX.Element;
15
15
  declare function SelectTrigger({
16
16
  className,
17
17
  size,
@@ -19,34 +19,34 @@ declare function SelectTrigger({
19
19
  ...props
20
20
  }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
21
21
  size?: 'sm' | 'default';
22
- }): react_jsx_runtime51.JSX.Element;
22
+ }): react_jsx_runtime128.JSX.Element;
23
23
  declare function SelectContent({
24
24
  className,
25
25
  children,
26
26
  position,
27
27
  align,
28
28
  ...props
29
- }: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime51.JSX.Element;
29
+ }: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime128.JSX.Element;
30
30
  declare function SelectLabel({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime51.JSX.Element;
33
+ }: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime128.JSX.Element;
34
34
  declare function SelectItem({
35
35
  className,
36
36
  children,
37
37
  ...props
38
- }: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime51.JSX.Element;
38
+ }: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime128.JSX.Element;
39
39
  declare function SelectSeparator({
40
40
  className,
41
41
  ...props
42
- }: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime51.JSX.Element;
42
+ }: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime128.JSX.Element;
43
43
  declare function SelectScrollUpButton({
44
44
  className,
45
45
  ...props
46
- }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime51.JSX.Element;
46
+ }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime128.JSX.Element;
47
47
  declare function SelectScrollDownButton({
48
48
  className,
49
49
  ...props
50
- }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime51.JSX.Element;
50
+ }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime128.JSX.Element;
51
51
  //#endregion
52
52
  export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
3
- import * as react_jsx_runtime84 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime89 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/ui/separator.d.ts
6
6
  declare function Separator({
@@ -8,6 +8,6 @@ declare function Separator({
8
8
  orientation,
9
9
  decorative,
10
10
  ...props
11
- }: React.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime84.JSX.Element;
11
+ }: React.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime89.JSX.Element;
12
12
  //#endregion
13
13
  export { Separator as t };
@@ -1,17 +1,17 @@
1
1
  import * as React from "react";
2
2
  import * as SheetPrimitive from "@radix-ui/react-dialog";
3
- import * as react_jsx_runtime32 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime119 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/ui/sheet.d.ts
6
6
  declare function Sheet({
7
7
  ...props
8
- }: React.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime32.JSX.Element;
8
+ }: React.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime119.JSX.Element;
9
9
  declare function SheetTrigger({
10
10
  ...props
11
- }: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime32.JSX.Element;
11
+ }: React.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime119.JSX.Element;
12
12
  declare function SheetClose({
13
13
  ...props
14
- }: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime32.JSX.Element;
14
+ }: React.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime119.JSX.Element;
15
15
  declare function SheetContent({
16
16
  className,
17
17
  children,
@@ -19,22 +19,22 @@ declare function SheetContent({
19
19
  ...props
20
20
  }: React.ComponentProps<typeof SheetPrimitive.Content> & {
21
21
  side?: 'top' | 'right' | 'bottom' | 'left';
22
- }): react_jsx_runtime32.JSX.Element;
22
+ }): react_jsx_runtime119.JSX.Element;
23
23
  declare function SheetHeader({
24
24
  className,
25
25
  ...props
26
- }: React.ComponentProps<'div'>): react_jsx_runtime32.JSX.Element;
26
+ }: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
27
27
  declare function SheetFooter({
28
28
  className,
29
29
  ...props
30
- }: React.ComponentProps<'div'>): react_jsx_runtime32.JSX.Element;
30
+ }: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
31
31
  declare function SheetTitle({
32
32
  className,
33
33
  ...props
34
- }: React.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime32.JSX.Element;
34
+ }: React.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime119.JSX.Element;
35
35
  declare function SheetDescription({
36
36
  className,
37
37
  ...props
38
- }: React.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime32.JSX.Element;
38
+ }: React.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime119.JSX.Element;
39
39
  //#endregion
40
40
  export { SheetFooter as a, SheetTrigger as c, SheetDescription as i, SheetClose as n, SheetHeader as o, SheetContent as r, SheetTitle as s, Sheet as t };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime43 from "react/jsx-runtime";
2
1
  import * as React from "react";
3
2
  import * as SliderPrimitive from "@radix-ui/react-slider";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/ui/slider.d.ts
6
6
  declare function Slider({
@@ -10,6 +10,6 @@ declare function Slider({
10
10
  min,
11
11
  max,
12
12
  ...props
13
- }: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime43.JSX.Element;
13
+ }: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime0.JSX.Element;
14
14
  //#endregion
15
15
  export { Slider as t };
@@ -1,11 +1,11 @@
1
1
  import * as React from "react";
2
2
  import * as SwitchPrimitive from "@radix-ui/react-switch";
3
- import * as react_jsx_runtime50 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime51 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/ui/switch.d.ts
6
6
  declare function Switch({
7
7
  className,
8
8
  ...props
9
- }: React.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime50.JSX.Element;
9
+ }: React.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime51.JSX.Element;
10
10
  //#endregion
11
11
  export { Switch as t };
@@ -1,23 +1,23 @@
1
1
  import * as React from "react";
2
2
  import * as TabsPrimitive from "@radix-ui/react-tabs";
3
- import * as react_jsx_runtime77 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime63 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/ui/tabs.d.ts
6
6
  declare function Tabs({
7
7
  className,
8
8
  ...props
9
- }: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime77.JSX.Element;
9
+ }: React.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime63.JSX.Element;
10
10
  declare function TabsList({
11
11
  className,
12
12
  ...props
13
- }: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime77.JSX.Element;
13
+ }: React.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime63.JSX.Element;
14
14
  declare function TabsTrigger({
15
15
  className,
16
16
  ...props
17
- }: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime77.JSX.Element;
17
+ }: React.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime63.JSX.Element;
18
18
  declare function TabsContent({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime77.JSX.Element;
21
+ }: React.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime63.JSX.Element;
22
22
  //#endregion
23
23
  export { TabsTrigger as i, TabsContent as n, TabsList as r, Tabs as t };
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime85 from "react/jsx-runtime";
2
1
  import * as React from "react";
2
+ import * as react_jsx_runtime50 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/ui/textarea.d.ts
5
5
  declare function Textarea({
6
6
  className,
7
7
  ...props
8
- }: React.ComponentProps<'textarea'>): react_jsx_runtime85.JSX.Element;
8
+ }: React.ComponentProps<'textarea'>): react_jsx_runtime50.JSX.Element;
9
9
  //#endregion
10
10
  export { Textarea as t };
@@ -1,23 +1,23 @@
1
1
  import * as React from "react";
2
2
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
- import * as react_jsx_runtime72 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime46 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/ui/tooltip.d.ts
6
6
  declare function TooltipProvider({
7
7
  delayDuration,
8
8
  ...props
9
- }: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime72.JSX.Element;
9
+ }: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime46.JSX.Element;
10
10
  declare function Tooltip({
11
11
  ...props
12
- }: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime72.JSX.Element;
12
+ }: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime46.JSX.Element;
13
13
  declare function TooltipTrigger({
14
14
  ...props
15
- }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime72.JSX.Element;
15
+ }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime46.JSX.Element;
16
16
  declare function TooltipContent({
17
17
  className,
18
18
  sideOffset,
19
19
  children,
20
20
  ...props
21
- }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime72.JSX.Element;
21
+ }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime46.JSX.Element;
22
22
  //#endregion
23
23
  export { TooltipTrigger as i, TooltipContent as n, TooltipProvider as r, Tooltip as t };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/shadcn",
3
3
  "type": "module",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "packageManager": "pnpm@10.17.0",
6
6
  "description": "A collection of reusable UI components built with shadcn/ui and Radix UI primitives.",
7
7
  "author": "m.doaie <m.doaie@hotmail.com>",
@@ -1,34 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_separator = require('./separator-3CugGxfw.cjs');
3
- let react = require("react");
4
- react = require_jsx_runtime$1.__toESM(react);
5
-
6
- //#region src/components/ui/OrContinueWithSeparator.tsx
7
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
8
- /**
9
- * A separator with a label for alternative sign-in methods.
10
- * Used in authentication forms to visually separate sections.
11
- */
12
- function OrContinueWithSeparator() {
13
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
14
- className: "relative my-4",
15
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
16
- className: "absolute inset-0 flex items-center",
17
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(require_separator.Separator, {})
18
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
19
- className: "relative flex justify-center text-xs uppercase",
20
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
21
- className: "bg-background text-muted-foreground px-2",
22
- children: "Or continue with"
23
- })
24
- })]
25
- });
26
- }
27
-
28
- //#endregion
29
- Object.defineProperty(exports, 'OrContinueWithSeparator', {
30
- enumerable: true,
31
- get: function () {
32
- return OrContinueWithSeparator;
33
- }
34
- });
@@ -1,11 +0,0 @@
1
- import * as react_jsx_runtime119 from "react/jsx-runtime";
2
-
3
- //#region src/components/ui/OrContinueWithSeparator.d.ts
4
-
5
- /**
6
- * A separator with a label for alternative sign-in methods.
7
- * Used in authentication forms to visually separate sections.
8
- */
9
- declare function OrContinueWithSeparator(): react_jsx_runtime119.JSX.Element;
10
- //#endregion
11
- export { OrContinueWithSeparator as t };
@@ -1,24 +0,0 @@
1
- import { VariantProps } from "class-variance-authority";
2
- import * as React from "react";
3
- import * as class_variance_authority_types1 from "class-variance-authority/types";
4
- import * as react_jsx_runtime135 from "react/jsx-runtime";
5
-
6
- //#region src/components/ui/alert.d.ts
7
- declare const alertVariants: (props?: ({
8
- variant?: "default" | "destructive" | null | undefined;
9
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
10
- declare function Alert({
11
- className,
12
- variant,
13
- ...props
14
- }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime135.JSX.Element;
15
- declare function AlertTitle({
16
- className,
17
- ...props
18
- }: React.ComponentProps<'div'>): react_jsx_runtime135.JSX.Element;
19
- declare function AlertDescription({
20
- className,
21
- ...props
22
- }: React.ComponentProps<'div'>): react_jsx_runtime135.JSX.Element;
23
- //#endregion
24
- export { AlertDescription as n, AlertTitle as r, Alert as t };
@@ -1,57 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- let class_variance_authority = require("class-variance-authority");
4
- let react = require("react");
5
- react = require_jsx_runtime$1.__toESM(react);
6
-
7
- //#region src/components/ui/alert.tsx
8
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
9
- const alertVariants = (0, class_variance_authority.cva)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
10
- variants: { variant: {
11
- default: "bg-card text-card-foreground",
12
- destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
13
- } },
14
- defaultVariants: { variant: "default" }
15
- });
16
- function Alert({ className, variant, ...props }) {
17
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
18
- "data-slot": "alert",
19
- role: "alert",
20
- className: require_utils.cn(alertVariants({ variant }), className),
21
- ...props
22
- });
23
- }
24
- function AlertTitle({ className, ...props }) {
25
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
26
- "data-slot": "alert-title",
27
- className: require_utils.cn("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", className),
28
- ...props
29
- });
30
- }
31
- function AlertDescription({ className, ...props }) {
32
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
33
- "data-slot": "alert-description",
34
- className: require_utils.cn("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", className),
35
- ...props
36
- });
37
- }
38
-
39
- //#endregion
40
- Object.defineProperty(exports, 'Alert', {
41
- enumerable: true,
42
- get: function () {
43
- return Alert;
44
- }
45
- });
46
- Object.defineProperty(exports, 'AlertDescription', {
47
- enumerable: true,
48
- get: function () {
49
- return AlertDescription;
50
- }
51
- });
52
- Object.defineProperty(exports, 'AlertTitle', {
53
- enumerable: true,
54
- get: function () {
55
- return AlertTitle;
56
- }
57
- });
@@ -1,48 +0,0 @@
1
- import * as react_jsx_runtime13 from "react/jsx-runtime";
2
- import * as React from "react";
3
- import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
4
-
5
- //#region src/components/ui/alert-dialog.d.ts
6
- declare function AlertDialog({
7
- ...props
8
- }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime13.JSX.Element;
9
- declare function AlertDialogTrigger({
10
- ...props
11
- }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime13.JSX.Element;
12
- declare function AlertDialogPortal({
13
- ...props
14
- }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime13.JSX.Element;
15
- declare function AlertDialogOverlay({
16
- className,
17
- ...props
18
- }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime13.JSX.Element;
19
- declare function AlertDialogContent({
20
- className,
21
- ...props
22
- }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime13.JSX.Element;
23
- declare function AlertDialogHeader({
24
- className,
25
- ...props
26
- }: React.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
27
- declare function AlertDialogFooter({
28
- className,
29
- ...props
30
- }: React.ComponentProps<'div'>): react_jsx_runtime13.JSX.Element;
31
- declare function AlertDialogTitle({
32
- className,
33
- ...props
34
- }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime13.JSX.Element;
35
- declare function AlertDialogDescription({
36
- className,
37
- ...props
38
- }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime13.JSX.Element;
39
- declare function AlertDialogAction({
40
- className,
41
- ...props
42
- }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime13.JSX.Element;
43
- declare function AlertDialogCancel({
44
- className,
45
- ...props
46
- }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime13.JSX.Element;
47
- //#endregion
48
- export { AlertDialogDescription as a, AlertDialogOverlay as c, AlertDialogTrigger as d, AlertDialogContent as i, AlertDialogPortal as l, AlertDialogAction as n, AlertDialogFooter as o, AlertDialogCancel as r, AlertDialogHeader as s, AlertDialog as t, AlertDialogTitle as u };
@@ -1,19 +0,0 @@
1
- import * as React from "react";
2
- import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
- import * as react_jsx_runtime81 from "react/jsx-runtime";
4
-
5
- //#region src/components/ui/avatar.d.ts
6
- declare function Avatar({
7
- className,
8
- ...props
9
- }: React.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime81.JSX.Element;
10
- declare function AvatarImage({
11
- className,
12
- ...props
13
- }: React.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime81.JSX.Element;
14
- declare function AvatarFallback({
15
- className,
16
- ...props
17
- }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime81.JSX.Element;
18
- //#endregion
19
- export { AvatarFallback as n, AvatarImage as r, Avatar as t };
@@ -1,50 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- let react = require("react");
4
- react = require_jsx_runtime$1.__toESM(react);
5
- let __radix_ui_react_avatar = require("@radix-ui/react-avatar");
6
- __radix_ui_react_avatar = require_jsx_runtime$1.__toESM(__radix_ui_react_avatar);
7
-
8
- //#region src/components/ui/avatar.tsx
9
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
10
- function Avatar({ className, ...props }) {
11
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_avatar.Root, {
12
- "data-slot": "avatar",
13
- className: require_utils.cn("relative flex size-8 shrink-0 overflow-hidden rounded-full", className),
14
- ...props
15
- });
16
- }
17
- function AvatarImage({ className, ...props }) {
18
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_avatar.Image, {
19
- "data-slot": "avatar-image",
20
- className: require_utils.cn("aspect-square size-full", className),
21
- ...props
22
- });
23
- }
24
- function AvatarFallback({ className, ...props }) {
25
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__radix_ui_react_avatar.Fallback, {
26
- "data-slot": "avatar-fallback",
27
- className: require_utils.cn("bg-muted flex size-full items-center justify-center rounded-full", className),
28
- ...props
29
- });
30
- }
31
-
32
- //#endregion
33
- Object.defineProperty(exports, 'Avatar', {
34
- enumerable: true,
35
- get: function () {
36
- return Avatar;
37
- }
38
- });
39
- Object.defineProperty(exports, 'AvatarFallback', {
40
- enumerable: true,
41
- get: function () {
42
- return AvatarFallback;
43
- }
44
- });
45
- Object.defineProperty(exports, 'AvatarImage', {
46
- enumerable: true,
47
- get: function () {
48
- return AvatarImage;
49
- }
50
- });
@@ -1,39 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- let class_variance_authority = require("class-variance-authority");
4
- let react = require("react");
5
- react = require_jsx_runtime$1.__toESM(react);
6
- let __radix_ui_react_slot = require("@radix-ui/react-slot");
7
-
8
- //#region src/components/ui/badge.tsx
9
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
10
- const badgeVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
11
- variants: { variant: {
12
- default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
13
- secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
14
- destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
15
- outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
16
- } },
17
- defaultVariants: { variant: "default" }
18
- });
19
- function Badge({ className, variant, asChild = false, ...props }) {
20
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(asChild ? __radix_ui_react_slot.Slot : "span", {
21
- "data-slot": "badge",
22
- className: require_utils.cn(badgeVariants({ variant }), className),
23
- ...props
24
- });
25
- }
26
-
27
- //#endregion
28
- Object.defineProperty(exports, 'Badge', {
29
- enumerable: true,
30
- get: function () {
31
- return Badge;
32
- }
33
- });
34
- Object.defineProperty(exports, 'badgeVariants', {
35
- enumerable: true,
36
- get: function () {
37
- return badgeVariants;
38
- }
39
- });
@@ -1,19 +0,0 @@
1
- import { VariantProps } from "class-variance-authority";
2
- import * as React from "react";
3
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
- import * as react_jsx_runtime1 from "react/jsx-runtime";
5
-
6
- //#region src/components/ui/badge.d.ts
7
- declare const badgeVariants: (props?: ({
8
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
9
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
- declare function Badge({
11
- className,
12
- variant,
13
- asChild,
14
- ...props
15
- }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
16
- asChild?: boolean;
17
- }): react_jsx_runtime1.JSX.Element;
18
- //#endregion
19
- export { badgeVariants as n, Badge as t };
@@ -1,58 +0,0 @@
1
- const require_jsx_runtime$1 = require('./jsx-runtime-BlVTPSwi.cjs');
2
- const require_utils = require('./utils-DyQCiavd.cjs');
3
- let class_variance_authority = require("class-variance-authority");
4
- let react = require("react");
5
- react = require_jsx_runtime$1.__toESM(react);
6
- let __radix_ui_react_slot = require("@radix-ui/react-slot");
7
-
8
- //#region src/components/ui/button.tsx
9
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime());
10
- const buttonVariants = (0, class_variance_authority.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
11
- variants: {
12
- variant: {
13
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
14
- destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
15
- outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
16
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
17
- ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
18
- link: "text-primary underline-offset-4 hover:underline"
19
- },
20
- size: {
21
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
22
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
23
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
24
- icon: "size-9",
25
- "icon-sm": "size-8",
26
- "icon-lg": "size-10"
27
- }
28
- },
29
- defaultVariants: {
30
- variant: "default",
31
- size: "default"
32
- }
33
- });
34
- function Button({ className, variant, size, asChild = false, ...props }) {
35
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(asChild ? __radix_ui_react_slot.Slot : "button", {
36
- "data-slot": "button",
37
- className: require_utils.cn(buttonVariants({
38
- variant,
39
- size,
40
- className
41
- })),
42
- ...props
43
- });
44
- }
45
-
46
- //#endregion
47
- Object.defineProperty(exports, 'Button', {
48
- enumerable: true,
49
- get: function () {
50
- return Button;
51
- }
52
- });
53
- Object.defineProperty(exports, 'buttonVariants', {
54
- enumerable: true,
55
- get: function () {
56
- return buttonVariants;
57
- }
58
- });
@@ -1,21 +0,0 @@
1
- import { VariantProps } from "class-variance-authority";
2
- import * as React from "react";
3
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
-
6
- //#region src/components/ui/button.d.ts
7
- declare const buttonVariants: (props?: ({
8
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
9
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
10
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
11
- declare function Button({
12
- className,
13
- variant,
14
- size,
15
- asChild,
16
- ...props
17
- }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
18
- asChild?: boolean;
19
- }): react_jsx_runtime0.JSX.Element;
20
- //#endregion
21
- export { buttonVariants as n, Button as t };