@pixpilot/shadcn-ui 1.37.0 → 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/README.md +34 -1
  2. package/dist/{AbsoluteFill.cjs → absolute-fill/AbsoluteFill.cjs} +2 -2
  3. package/dist/{AbsoluteFill.d.cts → absolute-fill/AbsoluteFill.d.cts} +3 -3
  4. package/dist/{AbsoluteFill.d.ts → absolute-fill/AbsoluteFill.d.ts} +1 -1
  5. package/dist/{AbsoluteFill.js → absolute-fill/AbsoluteFill.js} +1 -1
  6. package/dist/absolute-fill/index.cjs +1 -0
  7. package/dist/absolute-fill/index.d.cts +1 -0
  8. package/dist/absolute-fill/index.d.ts +1 -0
  9. package/dist/absolute-fill/index.js +1 -0
  10. package/dist/{Alert.cjs → alert/Alert.cjs} +4 -4
  11. package/dist/{Alert.d.cts → alert/Alert.d.cts} +2 -2
  12. package/dist/{Alert.d.ts → alert/Alert.d.ts} +2 -2
  13. package/dist/{Alert.js → alert/Alert.js} +3 -3
  14. package/dist/alert/index.cjs +1 -0
  15. package/dist/alert/index.d.cts +2 -0
  16. package/dist/alert/index.d.ts +2 -0
  17. package/dist/alert/index.js +1 -0
  18. package/dist/{Button.cjs → button/Button.cjs} +4 -3
  19. package/dist/{Button.d.cts → button/Button.d.cts} +1 -1
  20. package/dist/{Button.d.ts → button/Button.d.ts} +3 -3
  21. package/dist/{Button.js → button/Button.js} +3 -2
  22. package/dist/button/index.cjs +1 -0
  23. package/dist/button/index.d.cts +1 -0
  24. package/dist/button/index.d.ts +1 -0
  25. package/dist/button/index.js +1 -0
  26. package/dist/button/mcp.js +43 -0
  27. package/dist/{ButtonExtended.cjs → button-extended/ButtonExtended.cjs} +4 -3
  28. package/dist/{ButtonExtended.d.cts → button-extended/ButtonExtended.d.cts} +3 -3
  29. package/dist/{ButtonExtended.d.ts → button-extended/ButtonExtended.d.ts} +3 -3
  30. package/dist/{ButtonExtended.js → button-extended/ButtonExtended.js} +3 -2
  31. package/dist/button-extended/index.cjs +1 -0
  32. package/dist/button-extended/index.d.cts +1 -0
  33. package/dist/button-extended/index.d.ts +1 -0
  34. package/dist/button-extended/index.js +1 -0
  35. package/dist/{ButtonGroup.cjs → button-group/ButtonGroup.cjs} +2 -2
  36. package/dist/{ButtonGroup.d.cts → button-group/ButtonGroup.d.cts} +1 -1
  37. package/dist/{ButtonGroup.d.ts → button-group/ButtonGroup.d.ts} +1 -1
  38. package/dist/{ButtonGroup.js → button-group/ButtonGroup.js} +1 -1
  39. package/dist/button-group/index.cjs +1 -0
  40. package/dist/button-group/index.d.cts +1 -0
  41. package/dist/button-group/index.d.ts +1 -0
  42. package/dist/button-group/index.js +1 -0
  43. package/dist/{Card.cjs → card/Card.cjs} +2 -2
  44. package/dist/{Card.d.cts → card/Card.d.cts} +4 -4
  45. package/dist/{Card.d.ts → card/Card.d.ts} +4 -4
  46. package/dist/{Card.js → card/Card.js} +1 -1
  47. package/dist/card/index.cjs +4 -0
  48. package/dist/card/index.d.cts +1 -0
  49. package/dist/card/index.d.ts +1 -0
  50. package/dist/card/index.js +1 -0
  51. package/dist/card/mcp.js +22 -0
  52. package/dist/{CloseButtonAbsolute.cjs → close-button-absolute/CloseButtonAbsolute.cjs} +4 -3
  53. package/dist/close-button-absolute/CloseButtonAbsolute.d.cts +9 -0
  54. package/dist/close-button-absolute/CloseButtonAbsolute.d.ts +9 -0
  55. package/dist/{CloseButtonAbsolute.js → close-button-absolute/CloseButtonAbsolute.js} +3 -2
  56. package/dist/close-button-absolute/index.cjs +1 -0
  57. package/dist/close-button-absolute/index.d.cts +1 -0
  58. package/dist/close-button-absolute/index.d.ts +1 -0
  59. package/dist/close-button-absolute/index.js +1 -0
  60. package/dist/{CloseButtonRounded.cjs → close-button-rounded/CloseButtonRounded.cjs} +2 -2
  61. package/dist/{CloseButtonRounded.d.cts → close-button-rounded/CloseButtonRounded.d.cts} +1 -1
  62. package/dist/{CloseButtonRounded.d.ts → close-button-rounded/CloseButtonRounded.d.ts} +1 -1
  63. package/dist/{CloseButtonRounded.js → close-button-rounded/CloseButtonRounded.js} +1 -1
  64. package/dist/close-button-rounded/index.cjs +1 -0
  65. package/dist/close-button-rounded/index.d.cts +1 -0
  66. package/dist/close-button-rounded/index.d.ts +1 -0
  67. package/dist/close-button-rounded/index.js +1 -0
  68. package/dist/{ColorSelect.cjs → color-select/ColorSelect.cjs} +4 -4
  69. package/dist/{ColorSelect.d.cts → color-select/ColorSelect.d.cts} +3 -3
  70. package/dist/{ColorSelect.d.ts → color-select/ColorSelect.d.ts} +3 -3
  71. package/dist/{ColorSelect.js → color-select/ColorSelect.js} +3 -3
  72. package/dist/color-select/index.cjs +1 -0
  73. package/dist/color-select/index.d.cts +1 -0
  74. package/dist/color-select/index.d.ts +1 -0
  75. package/dist/color-select/index.js +1 -0
  76. package/dist/{Combobox.cjs → combobox/Combobox.cjs} +5 -4
  77. package/dist/{Combobox.d.cts → combobox/Combobox.d.cts} +3 -3
  78. package/dist/{Combobox.d.ts → combobox/Combobox.d.ts} +3 -3
  79. package/dist/{Combobox.js → combobox/Combobox.js} +4 -3
  80. package/dist/combobox/index.cjs +1 -0
  81. package/dist/combobox/index.d.cts +1 -0
  82. package/dist/combobox/index.d.ts +1 -0
  83. package/dist/combobox/index.js +1 -0
  84. package/dist/{CommandOptionList.cjs → command-option-list/CommandOptionList.cjs} +3 -3
  85. package/dist/command-option-list/CommandOptionList.d.cts +7 -0
  86. package/dist/command-option-list/CommandOptionList.d.ts +7 -0
  87. package/dist/{CommandOptionList.js → command-option-list/CommandOptionList.js} +2 -2
  88. package/dist/command-option-list/index.cjs +1 -0
  89. package/dist/command-option-list/index.js +1 -0
  90. package/dist/{ContentCard.cjs → content-card/ContentCard.cjs} +4 -3
  91. package/dist/{ContentCard.d.cts → content-card/ContentCard.d.cts} +5 -4
  92. package/dist/{ContentCard.d.ts → content-card/ContentCard.d.ts} +5 -4
  93. package/dist/{ContentCard.js → content-card/ContentCard.js} +3 -2
  94. package/dist/content-card/index.cjs +1 -0
  95. package/dist/content-card/index.d.cts +1 -0
  96. package/dist/content-card/index.d.ts +1 -0
  97. package/dist/content-card/index.js +1 -0
  98. package/dist/{DatePicker.cjs → date-picker/DatePicker.cjs} +2 -2
  99. package/dist/{DatePicker.d.cts → date-picker/DatePicker.d.cts} +3 -3
  100. package/dist/{DatePicker.d.ts → date-picker/DatePicker.d.ts} +3 -3
  101. package/dist/{DatePicker.js → date-picker/DatePicker.js} +1 -1
  102. package/dist/date-picker/index.cjs +1 -0
  103. package/dist/date-picker/index.d.cts +1 -0
  104. package/dist/date-picker/index.d.ts +1 -0
  105. package/dist/date-picker/index.js +1 -0
  106. package/dist/dialog/Dialog.d.cts +5 -5
  107. package/dist/dialog/Dialog.d.ts +5 -5
  108. package/dist/file-upload/FileUpload.d.cts +2 -2
  109. package/dist/file-upload/FileUpload.d.ts +2 -2
  110. package/dist/file-upload/mcp.js +53 -0
  111. package/dist/file-upload-inline/FileUploadInline.d.cts +2 -2
  112. package/dist/file-upload-inline/FileUploadInline.d.ts +2 -2
  113. package/dist/file-upload-root/FileUploadRoot.d.cts +2 -2
  114. package/dist/file-upload-root/FileUploadRoot.d.ts +2 -2
  115. package/dist/generated/mcp-registry.js +21 -0
  116. package/dist/icon-selector/IconPicker.cjs +2 -1
  117. package/dist/icon-selector/IconPicker.js +2 -1
  118. package/dist/icon-selector/icon-picker-content.cjs +2 -1
  119. package/dist/icon-selector/icon-picker-content.js +2 -1
  120. package/dist/{IconToggle.cjs → icon-toggle/IconToggle.cjs} +5 -4
  121. package/dist/{IconToggle.d.cts → icon-toggle/IconToggle.d.cts} +3 -2
  122. package/dist/{IconToggle.d.ts → icon-toggle/IconToggle.d.ts} +3 -2
  123. package/dist/{IconToggle.js → icon-toggle/IconToggle.js} +4 -3
  124. package/dist/icon-toggle/index.cjs +1 -0
  125. package/dist/icon-toggle/index.d.cts +1 -0
  126. package/dist/icon-toggle/index.d.ts +1 -0
  127. package/dist/icon-toggle/index.js +1 -0
  128. package/dist/index.cjs +39 -21
  129. package/dist/index.d.cts +39 -21
  130. package/dist/index.d.ts +41 -21
  131. package/dist/index.js +41 -21
  132. package/dist/input/Input.d.cts +2 -2
  133. package/dist/input/Input.d.ts +2 -2
  134. package/dist/{LoadingOverlay.cjs → loading-overlay/LoadingOverlay.cjs} +4 -4
  135. package/dist/{LoadingOverlay.d.cts → loading-overlay/LoadingOverlay.d.cts} +1 -1
  136. package/dist/{LoadingOverlay.d.ts → loading-overlay/LoadingOverlay.d.ts} +1 -1
  137. package/dist/{LoadingOverlay.js → loading-overlay/LoadingOverlay.js} +3 -3
  138. package/dist/loading-overlay/index.cjs +1 -0
  139. package/dist/loading-overlay/index.d.cts +1 -0
  140. package/dist/loading-overlay/index.d.ts +1 -0
  141. package/dist/loading-overlay/index.js +1 -0
  142. package/dist/mcp/src/search.js +81 -0
  143. package/dist/mcp/src/server.js +72 -0
  144. package/dist/mcp/src/utils.js +8 -0
  145. package/dist/mcp-server.js +18 -0
  146. package/dist/{Rating.cjs → rating/Rating.cjs} +3 -3
  147. package/dist/{Rating.d.cts → rating/Rating.d.cts} +4 -4
  148. package/dist/{Rating.d.ts → rating/Rating.d.ts} +4 -4
  149. package/dist/{Rating.js → rating/Rating.js} +2 -2
  150. package/dist/rating/index.cjs +1 -0
  151. package/dist/rating/index.d.cts +1 -0
  152. package/dist/rating/index.d.ts +1 -0
  153. package/dist/rating/index.js +1 -0
  154. package/dist/rich-text-editor/LinkPopoverToolbarButton.cjs +2 -1
  155. package/dist/rich-text-editor/LinkPopoverToolbarButton.js +2 -1
  156. package/dist/rich-text-editor/ToolbarButton.cjs +2 -1
  157. package/dist/rich-text-editor/ToolbarButton.js +2 -1
  158. package/dist/{ScaledPreview.cjs → scaled-preview/ScaledPreview.cjs} +2 -2
  159. package/dist/{ScaledPreview.d.cts → scaled-preview/ScaledPreview.d.cts} +1 -1
  160. package/dist/{ScaledPreview.d.ts → scaled-preview/ScaledPreview.d.ts} +1 -1
  161. package/dist/{ScaledPreview.js → scaled-preview/ScaledPreview.js} +1 -1
  162. package/dist/scaled-preview/index.cjs +1 -0
  163. package/dist/scaled-preview/index.d.cts +1 -0
  164. package/dist/scaled-preview/index.d.ts +1 -0
  165. package/dist/scaled-preview/index.js +1 -0
  166. package/dist/{Select.cjs → select/Select.cjs} +4 -4
  167. package/dist/{Select.d.cts → select/Select.d.cts} +4 -4
  168. package/dist/{Select.d.ts → select/Select.d.ts} +4 -4
  169. package/dist/{Select.js → select/Select.js} +3 -3
  170. package/dist/select/index.cjs +1 -0
  171. package/dist/select/index.d.cts +1 -0
  172. package/dist/select/index.d.ts +1 -0
  173. package/dist/select/index.js +1 -0
  174. package/dist/slider/SliderSelect.cjs +2 -1
  175. package/dist/slider/SliderSelect.d.cts +2 -1
  176. package/dist/slider/SliderSelect.d.ts +2 -1
  177. package/dist/slider/SliderSelect.js +2 -1
  178. package/dist/tags-input/TagsInput.cjs +2 -1
  179. package/dist/tags-input/TagsInput.d.cts +3 -3
  180. package/dist/tags-input/TagsInput.d.ts +1 -1
  181. package/dist/tags-input/TagsInput.js +2 -1
  182. package/dist/tags-input/TagsInputInline.d.cts +2 -2
  183. package/dist/theme-toggle/ThemeModeDropdown.d.cts +2 -2
  184. package/dist/theme-toggle/ThemeModeSwitchInside.d.cts +2 -2
  185. package/dist/theme-toggle/ThemeModeSwitchOutside.d.cts +2 -2
  186. package/dist/theme-toggle/ThemeModeToggleButton.d.cts +2 -2
  187. package/dist/toast/AlertToast.cjs +2 -1
  188. package/dist/toast/AlertToast.js +2 -1
  189. package/dist/toast/toast.d.cts +1 -1
  190. package/dist/toast/toast.d.ts +1 -1
  191. package/dist/toast/types.d.cts +2 -1
  192. package/dist/toast/types.d.ts +2 -1
  193. package/dist/{ToggleButton.cjs → toggle-button/ToggleButton.cjs} +4 -3
  194. package/dist/{ToggleButton.d.cts → toggle-button/ToggleButton.d.cts} +1 -1
  195. package/dist/{ToggleButton.d.ts → toggle-button/ToggleButton.d.ts} +1 -1
  196. package/dist/{ToggleButton.js → toggle-button/ToggleButton.js} +3 -2
  197. package/dist/toggle-button/index.cjs +1 -0
  198. package/dist/toggle-button/index.d.cts +1 -0
  199. package/dist/toggle-button/index.d.ts +1 -0
  200. package/dist/toggle-button/index.js +1 -0
  201. package/dist/{ToggleGroup.cjs → toggle-group/ToggleGroup.cjs} +1 -1
  202. package/dist/{ToggleGroup.d.cts → toggle-group/ToggleGroup.d.cts} +1 -1
  203. package/dist/{ToggleGroup.d.ts → toggle-group/ToggleGroup.d.ts} +1 -1
  204. package/dist/toggle-group/index.cjs +4 -0
  205. package/dist/toggle-group/index.d.ts +1 -0
  206. package/dist/toggle-group/index.js +1 -0
  207. package/dist/{Tooltip.cjs → tooltip/Tooltip.cjs} +1 -1
  208. package/dist/tooltip/index.cjs +4 -0
  209. package/dist/tooltip/index.d.ts +1 -0
  210. package/dist/tooltip/index.js +1 -0
  211. package/package.json +13 -5
  212. package/dist/CloseButtonAbsolute.d.cts +0 -8
  213. package/dist/CloseButtonAbsolute.d.ts +0 -8
  214. package/dist/CommandOptionList.d.cts +0 -7
  215. package/dist/CommandOptionList.d.ts +0 -7
  216. /package/dist/{ToggleGroup.js → toggle-group/ToggleGroup.js} +0 -0
  217. /package/dist/{Tooltip.d.cts → tooltip/Tooltip.d.cts} +0 -0
  218. /package/dist/{Tooltip.d.ts → tooltip/Tooltip.d.ts} +0 -0
  219. /package/dist/{Tooltip.js → tooltip/Tooltip.js} +0 -0
@@ -0,0 +1 @@
1
+ const require_CloseButtonAbsolute = require('./CloseButtonAbsolute.cjs');
@@ -0,0 +1 @@
1
+ import { CloseButtonAbsolute, PopoverCloseButtonProps } from "./CloseButtonAbsolute.cjs";
@@ -0,0 +1 @@
1
+ import { CloseButtonAbsolute, PopoverCloseButtonProps } from "./CloseButtonAbsolute.js";
@@ -0,0 +1 @@
1
+ import { CloseButtonAbsolute } from "./CloseButtonAbsolute.js";
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  let __pixpilot_shadcn = require("@pixpilot/shadcn");
3
3
  __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
4
4
  let lucide_react = require("lucide-react");
@@ -8,7 +8,7 @@ react = require_rolldown_runtime.__toESM(react);
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
9
  react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
10
10
 
11
- //#region src/CloseButtonRounded.tsx
11
+ //#region src/close-button-rounded/CloseButtonRounded.tsx
12
12
  const CloseButtonRounded = (props) => {
13
13
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.Button, {
14
14
  ...props,
@@ -1,7 +1,7 @@
1
1
  import { Button } from "@pixpilot/shadcn";
2
2
  import React from "react";
3
3
 
4
- //#region src/CloseButtonRounded.d.ts
4
+ //#region src/close-button-rounded/CloseButtonRounded.d.ts
5
5
  interface CloseButtonRoundedProps extends React.ComponentProps<typeof Button> {}
6
6
  declare const CloseButtonRounded: React.FC<CloseButtonRoundedProps>;
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { Button } from "@pixpilot/shadcn";
2
2
  import React from "react";
3
3
 
4
- //#region src/CloseButtonRounded.d.ts
4
+ //#region src/close-button-rounded/CloseButtonRounded.d.ts
5
5
  interface CloseButtonRoundedProps extends React.ComponentProps<typeof Button> {}
6
6
  declare const CloseButtonRounded: React.FC<CloseButtonRoundedProps>;
7
7
  //#endregion
@@ -3,7 +3,7 @@ import { X } from "lucide-react";
3
3
  import React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
- //#region src/CloseButtonRounded.tsx
6
+ //#region src/close-button-rounded/CloseButtonRounded.tsx
7
7
  const CloseButtonRounded = (props) => {
8
8
  return /* @__PURE__ */ jsx(Button, {
9
9
  ...props,
@@ -0,0 +1 @@
1
+ const require_CloseButtonRounded = require('./CloseButtonRounded.cjs');
@@ -0,0 +1 @@
1
+ import { CloseButtonRounded, CloseButtonRoundedProps } from "./CloseButtonRounded.cjs";
@@ -0,0 +1 @@
1
+ import { CloseButtonRounded, CloseButtonRoundedProps } from "./CloseButtonRounded.js";
@@ -0,0 +1 @@
1
+ import { CloseButtonRounded } from "./CloseButtonRounded.js";
@@ -1,6 +1,6 @@
1
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
2
- const require_get_id = require('./utils/get-id.cjs');
3
- const require_use_select_keyboard = require('./hooks/use-select-keyboard.cjs');
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_get_id = require('../utils/get-id.cjs');
3
+ const require_use_select_keyboard = require('../hooks/use-select-keyboard.cjs');
4
4
  let __pixpilot_shadcn = require("@pixpilot/shadcn");
5
5
  __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
6
6
  let react = require("react");
@@ -8,7 +8,7 @@ react = require_rolldown_runtime.__toESM(react);
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
9
  react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
10
10
 
11
- //#region src/ColorSelect.tsx
11
+ //#region src/color-select/ColorSelect.tsx
12
12
  function ColorSelect(props) {
13
13
  const { options, value = "", onChange, placeholder, contentProps, keyboardMode = "dropdown", open: openProp, onOpenChange: onOpenChangeProp, id,...restProps } = props;
14
14
  const [uncontrolledOpen, setUncontrolledOpen] = react.default.useState(false);
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime4 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
2
2
  import { Select, SelectContent } from "@pixpilot/shadcn";
3
3
  import React, { ComponentProps } from "react";
4
4
 
5
- //#region src/ColorSelect.d.ts
5
+ //#region src/color-select/ColorSelect.d.ts
6
6
  interface ColorSelectOption {
7
7
  label: string;
8
8
  value: string;
@@ -16,6 +16,6 @@ type BaseColorSelectProps = {
16
16
  placeholder?: string;
17
17
  keyboardMode?: 'cycle' | 'dropdown';
18
18
  } & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
19
- declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime4.JSX.Element;
19
+ declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime3.JSX.Element;
20
20
  //#endregion
21
21
  export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
@@ -1,8 +1,8 @@
1
1
  import { Select, SelectContent } from "@pixpilot/shadcn";
2
2
  import React, { ComponentProps } from "react";
3
- import * as react_jsx_runtime4 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
4
4
 
5
- //#region src/ColorSelect.d.ts
5
+ //#region src/color-select/ColorSelect.d.ts
6
6
  interface ColorSelectOption {
7
7
  label: string;
8
8
  value: string;
@@ -16,6 +16,6 @@ type BaseColorSelectProps = {
16
16
  placeholder?: string;
17
17
  keyboardMode?: 'cycle' | 'dropdown';
18
18
  } & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
19
- declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime4.JSX.Element;
19
+ declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime5.JSX.Element;
20
20
  //#endregion
21
21
  export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
@@ -1,10 +1,10 @@
1
- import { getId } from "./utils/get-id.js";
2
- import { useSelectKeyboard } from "./hooks/use-select-keyboard.js";
1
+ import { getId } from "../utils/get-id.js";
2
+ import { useSelectKeyboard } from "../hooks/use-select-keyboard.js";
3
3
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@pixpilot/shadcn";
4
4
  import React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
 
7
- //#region src/ColorSelect.tsx
7
+ //#region src/color-select/ColorSelect.tsx
8
8
  function ColorSelect(props) {
9
9
  const { options, value = "", onChange, placeholder, contentProps, keyboardMode = "dropdown", open: openProp, onOpenChange: onOpenChangeProp, id,...restProps } = props;
10
10
  const [uncontrolledOpen, setUncontrolledOpen] = React.useState(false);
@@ -0,0 +1 @@
1
+ const require_ColorSelect = require('./ColorSelect.cjs');
@@ -0,0 +1 @@
1
+ import { BaseColorSelectProps, ColorSelect, ColorSelectOption } from "./ColorSelect.cjs";
@@ -0,0 +1 @@
1
+ import { BaseColorSelectProps, ColorSelect, ColorSelectOption } from "./ColorSelect.js";
@@ -0,0 +1 @@
1
+ import { ColorSelect } from "./ColorSelect.js";
@@ -1,9 +1,10 @@
1
1
  'use client';
2
2
 
3
3
 
4
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
5
- const require_get_id = require('./utils/get-id.cjs');
6
- const require_CommandOptionList = require('./CommandOptionList.cjs');
4
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
5
+ const require_get_id = require('../utils/get-id.cjs');
6
+ const require_CommandOptionList = require('../command-option-list/CommandOptionList.cjs');
7
+ require('../command-option-list/index.cjs');
7
8
  let __pixpilot_shadcn = require("@pixpilot/shadcn");
8
9
  __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
9
10
  let lucide_react = require("lucide-react");
@@ -13,7 +14,7 @@ react = require_rolldown_runtime.__toESM(react);
13
14
  let react_jsx_runtime = require("react/jsx-runtime");
14
15
  react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
15
16
 
16
- //#region src/Combobox.tsx
17
+ //#region src/combobox/Combobox.tsx
17
18
  const DEFAULT_OPTIONS = [];
18
19
  const Combobox = (props) => {
19
20
  const { value = "", onChange, options = DEFAULT_OPTIONS, placeholder = "Select option...", searchPlaceholder = "Search...", emptyText = "No option found.", id,...commandProps } = props;
@@ -1,8 +1,8 @@
1
- import { CommandOptionListItem } from "./CommandOptionList.cjs";
1
+ import { CommandOptionListItem } from "../command-option-list/CommandOptionList.cjs";
2
2
  import { Command } from "@pixpilot/shadcn";
3
3
  import React, { ComponentProps } from "react";
4
4
 
5
- //#region src/Combobox.d.ts
5
+ //#region src/combobox/Combobox.d.ts
6
6
  type ComboboxProps = {
7
7
  id?: string;
8
8
  value?: string;
@@ -14,4 +14,4 @@ type ComboboxProps = {
14
14
  } & Omit<ComponentProps<typeof Command>, 'value' | 'onValueChange'>;
15
15
  declare const Combobox: React.FC<ComboboxProps>;
16
16
  //#endregion
17
- export { Combobox };
17
+ export { Combobox, type ComboboxProps };
@@ -1,8 +1,8 @@
1
- import { CommandOptionListItem } from "./CommandOptionList.js";
1
+ import { CommandOptionListItem } from "../command-option-list/CommandOptionList.js";
2
2
  import { Command } from "@pixpilot/shadcn";
3
3
  import React, { ComponentProps } from "react";
4
4
 
5
- //#region src/Combobox.d.ts
5
+ //#region src/combobox/Combobox.d.ts
6
6
  type ComboboxProps = {
7
7
  id?: string;
8
8
  value?: string;
@@ -14,4 +14,4 @@ type ComboboxProps = {
14
14
  } & Omit<ComponentProps<typeof Command>, 'value' | 'onValueChange'>;
15
15
  declare const Combobox: React.FC<ComboboxProps>;
16
16
  //#endregion
17
- export { Combobox };
17
+ export { Combobox, type ComboboxProps };
@@ -1,14 +1,15 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { getId } from "./utils/get-id.js";
5
- import { CommandOptionList } from "./CommandOptionList.js";
4
+ import { getId } from "../utils/get-id.js";
5
+ import { CommandOptionList } from "../command-option-list/CommandOptionList.js";
6
+ import "../command-option-list/index.js";
6
7
  import { Button, Command, CommandInput, Popover, PopoverContent, PopoverTrigger } from "@pixpilot/shadcn";
7
8
  import { ChevronsUpDown } from "lucide-react";
8
9
  import React, { useState } from "react";
9
10
  import { jsx, jsxs } from "react/jsx-runtime";
10
11
 
11
- //#region src/Combobox.tsx
12
+ //#region src/combobox/Combobox.tsx
12
13
  const DEFAULT_OPTIONS = [];
13
14
  const Combobox = (props) => {
14
15
  const { value = "", onChange, options = DEFAULT_OPTIONS, placeholder = "Select option...", searchPlaceholder = "Search...", emptyText = "No option found.", id,...commandProps } = props;
@@ -0,0 +1 @@
1
+ const require_Combobox = require('./Combobox.cjs');
@@ -0,0 +1 @@
1
+ import { Combobox, ComboboxProps } from "./Combobox.cjs";
@@ -0,0 +1 @@
1
+ import { Combobox, ComboboxProps } from "./Combobox.js";
@@ -0,0 +1 @@
1
+ import { Combobox } from "./Combobox.js";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
 
4
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
5
- const require_get_id = require('./utils/get-id.cjs');
4
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
5
+ const require_get_id = require('../utils/get-id.cjs');
6
6
  let __pixpilot_shadcn = require("@pixpilot/shadcn");
7
7
  __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
8
8
  let lucide_react = require("lucide-react");
@@ -10,7 +10,7 @@ lucide_react = require_rolldown_runtime.__toESM(lucide_react);
10
10
  let react_jsx_runtime = require("react/jsx-runtime");
11
11
  react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
12
12
 
13
- //#region src/CommandOptionList.tsx
13
+ //#region src/command-option-list/CommandOptionList.tsx
14
14
  const CommandOptionList = (props) => {
15
15
  const { id, options, value, onChange, emptyText = "No option found." } = props;
16
16
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.CommandList, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.CommandEmpty, { children: emptyText }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.CommandGroup, { children: options.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.CommandItem, {
@@ -0,0 +1,7 @@
1
+ //#region src/command-option-list/CommandOptionList.d.ts
2
+ interface CommandOptionListItem {
3
+ value: string;
4
+ label: string;
5
+ }
6
+ //#endregion
7
+ export { CommandOptionListItem };
@@ -0,0 +1,7 @@
1
+ //#region src/command-option-list/CommandOptionList.d.ts
2
+ interface CommandOptionListItem {
3
+ value: string;
4
+ label: string;
5
+ }
6
+ //#endregion
7
+ export { CommandOptionListItem };
@@ -1,12 +1,12 @@
1
1
  'use client';
2
2
 
3
3
 
4
- import { getId } from "./utils/get-id.js";
4
+ import { getId } from "../utils/get-id.js";
5
5
  import { CommandEmpty, CommandGroup, CommandItem, CommandList, cn } from "@pixpilot/shadcn";
6
6
  import { Check } from "lucide-react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
 
9
- //#region src/CommandOptionList.tsx
9
+ //#region src/command-option-list/CommandOptionList.tsx
10
10
  const CommandOptionList = (props) => {
11
11
  const { id, options, value, onChange, emptyText = "No option found." } = props;
12
12
  return /* @__PURE__ */ jsxs(CommandList, { children: [/* @__PURE__ */ jsx(CommandEmpty, { children: emptyText }), /* @__PURE__ */ jsx(CommandGroup, { children: options.map((option) => /* @__PURE__ */ jsx(CommandItem, {
@@ -0,0 +1 @@
1
+ const require_CommandOptionList = require('./CommandOptionList.cjs');
@@ -0,0 +1 @@
1
+ import { CommandOptionList } from "./CommandOptionList.js";
@@ -1,5 +1,6 @@
1
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
2
- const require_Card = require('./Card.cjs');
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_Card = require('../card/Card.cjs');
3
+ require('../card/index.cjs');
3
4
  let react = require("react");
4
5
  react = require_rolldown_runtime.__toESM(react);
5
6
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -7,7 +8,7 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
7
8
  let __pixpilot_shadcn = require("@pixpilot/shadcn");
8
9
  __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
9
10
 
10
- //#region src/ContentCard.tsx
11
+ //#region src/content-card/ContentCard.tsx
11
12
  function ContentCard(props) {
12
13
  const { title, children,...other } = props;
13
14
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.Card, {
@@ -1,14 +1,15 @@
1
- import { Card } from "./Card.cjs";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
1
+ import { Card } from "../card/Card.cjs";
2
+ import "../card/index.cjs";
3
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
3
4
  import React, { ReactNode } from "react";
4
5
 
5
- //#region src/ContentCard.d.ts
6
+ //#region src/content-card/ContentCard.d.ts
6
7
  interface SectionCardProps extends React.ComponentProps<typeof Card> {
7
8
  title?: string;
8
9
  children: ReactNode;
9
10
  marginBottom?: boolean;
10
11
  }
11
- declare function ContentCard(props: SectionCardProps): react_jsx_runtime5.JSX.Element;
12
+ declare function ContentCard(props: SectionCardProps): react_jsx_runtime4.JSX.Element;
12
13
  declare namespace ContentCard {
13
14
  var displayName: string;
14
15
  }
@@ -1,14 +1,15 @@
1
- import { Card } from "./Card.js";
1
+ import { Card } from "../card/Card.js";
2
+ import "../card/index.js";
2
3
  import React, { ReactNode } from "react";
3
- import * as react_jsx_runtime5 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
4
5
 
5
- //#region src/ContentCard.d.ts
6
+ //#region src/content-card/ContentCard.d.ts
6
7
  interface SectionCardProps extends React.ComponentProps<typeof Card> {
7
8
  title?: string;
8
9
  children: ReactNode;
9
10
  marginBottom?: boolean;
10
11
  }
11
- declare function ContentCard(props: SectionCardProps): react_jsx_runtime5.JSX.Element;
12
+ declare function ContentCard(props: SectionCardProps): react_jsx_runtime6.JSX.Element;
12
13
  declare namespace ContentCard {
13
14
  var displayName: string;
14
15
  }
@@ -1,8 +1,9 @@
1
- import { Card, CardContent, CardHeader, CardTitle } from "./Card.js";
1
+ import { Card, CardContent, CardHeader, CardTitle } from "../card/Card.js";
2
+ import "../card/index.js";
2
3
  import React from "react";
3
4
  import { jsx, jsxs } from "react/jsx-runtime";
4
5
 
5
- //#region src/ContentCard.tsx
6
+ //#region src/content-card/ContentCard.tsx
6
7
  function ContentCard(props) {
7
8
  const { title, children,...other } = props;
8
9
  return /* @__PURE__ */ jsxs(Card, {
@@ -0,0 +1 @@
1
+ const require_ContentCard = require('./ContentCard.cjs');
@@ -0,0 +1 @@
1
+ import { ContentCard } from "./ContentCard.cjs";
@@ -0,0 +1 @@
1
+ import { ContentCard } from "./ContentCard.js";
@@ -0,0 +1 @@
1
+ import { ContentCard } from "./ContentCard.js";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
 
4
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
4
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
5
5
  let __pixpilot_shadcn = require("@pixpilot/shadcn");
6
6
  __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
7
7
  let lucide_react = require("lucide-react");
@@ -11,7 +11,7 @@ react = require_rolldown_runtime.__toESM(react);
11
11
  let react_jsx_runtime = require("react/jsx-runtime");
12
12
  react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
13
13
 
14
- //#region src/DatePicker.tsx
14
+ //#region src/date-picker/DatePicker.tsx
15
15
  function DatePicker(props) {
16
16
  const { id, value, onChange, placeholder = "Pick a date", showClearButton = true,...calendarProps } = props;
17
17
  const [open, setOpen] = react.default.useState(false);
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
2
2
  import { Calendar } from "@pixpilot/shadcn";
3
3
  import { ComponentProps } from "react";
4
4
 
5
- //#region src/DatePicker.d.ts
5
+ //#region src/date-picker/DatePicker.d.ts
6
6
  type DatePickerProps = {
7
7
  id?: string;
8
8
  value?: Date;
@@ -10,7 +10,7 @@ type DatePickerProps = {
10
10
  placeholder?: string;
11
11
  showClearButton?: boolean;
12
12
  } & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
13
- declare function DatePicker(props: DatePickerProps): react_jsx_runtime6.JSX.Element;
13
+ declare function DatePicker(props: DatePickerProps): react_jsx_runtime5.JSX.Element;
14
14
  declare namespace DatePicker {
15
15
  var displayName: string;
16
16
  }
@@ -1,8 +1,8 @@
1
1
  import { Calendar } from "@pixpilot/shadcn";
2
2
  import { ComponentProps } from "react";
3
- import * as react_jsx_runtime6 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
4
4
 
5
- //#region src/DatePicker.d.ts
5
+ //#region src/date-picker/DatePicker.d.ts
6
6
  type DatePickerProps = {
7
7
  id?: string;
8
8
  value?: Date;
@@ -10,7 +10,7 @@ type DatePickerProps = {
10
10
  placeholder?: string;
11
11
  showClearButton?: boolean;
12
12
  } & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
13
- declare function DatePicker(props: DatePickerProps): react_jsx_runtime6.JSX.Element;
13
+ declare function DatePicker(props: DatePickerProps): react_jsx_runtime7.JSX.Element;
14
14
  declare namespace DatePicker {
15
15
  var displayName: string;
16
16
  }
@@ -6,7 +6,7 @@ import { CalendarIcon, XIcon } from "lucide-react";
6
6
  import React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
 
9
- //#region src/DatePicker.tsx
9
+ //#region src/date-picker/DatePicker.tsx
10
10
  function DatePicker(props) {
11
11
  const { id, value, onChange, placeholder = "Pick a date", showClearButton = true,...calendarProps } = props;
12
12
  const [open, setOpen] = React.useState(false);
@@ -0,0 +1 @@
1
+ const require_DatePicker = require('./DatePicker.cjs');
@@ -0,0 +1 @@
1
+ import { DatePicker, DatePickerProps } from "./DatePicker.cjs";
@@ -0,0 +1 @@
1
+ import { DatePicker, DatePickerProps } from "./DatePicker.js";
@@ -0,0 +1 @@
1
+ import { DatePicker } from "./DatePicker.js";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime11 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
2
2
  import { DialogClose, DialogContent } from "@pixpilot/shadcn";
3
3
  import * as React$1 from "react";
4
4
 
@@ -10,18 +10,18 @@ declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentPr
10
10
  declare function DialogHeader({
11
11
  className,
12
12
  ...props
13
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
13
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime6.JSX.Element;
14
14
  declare function DialogBody({
15
15
  className,
16
16
  ...props
17
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
17
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime6.JSX.Element;
18
18
  declare function DialogFooter({
19
19
  className,
20
20
  ...props
21
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
21
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime6.JSX.Element;
22
22
  declare function DialogClose$1({
23
23
  className,
24
24
  ...props
25
- }: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime11.JSX.Element;
25
+ }: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime6.JSX.Element;
26
26
  //#endregion
27
27
  export { DialogBody, DialogClose$1 as DialogClose, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter, DialogHeader };
@@ -1,6 +1,6 @@
1
1
  import { DialogClose, DialogContent } from "@pixpilot/shadcn";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime11 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/dialog/Dialog.d.ts
6
6
  interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogContent> {
@@ -10,18 +10,18 @@ declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentPr
10
10
  declare function DialogHeader$1({
11
11
  className,
12
12
  ...props
13
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
13
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
14
14
  declare function DialogBody({
15
15
  className,
16
16
  ...props
17
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
17
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
18
18
  declare function DialogFooter$1({
19
19
  className,
20
20
  ...props
21
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
21
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
22
22
  declare function DialogClose$1({
23
23
  className,
24
24
  ...props
25
- }: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime11.JSX.Element;
25
+ }: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime8.JSX.Element;
26
26
  //#endregion
27
27
  export { DialogBody, DialogClose$1 as DialogClose, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime10 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload/FileUpload.d.ts
5
- declare function FileUpload(props: FileUploadProps): react_jsx_runtime10.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime17.JSX.Element;
6
6
  //#endregion
7
7
  export { FileUpload };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.js";
2
- import * as react_jsx_runtime10 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload/FileUpload.d.ts
5
- declare function FileUpload(props: FileUploadProps): react_jsx_runtime10.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime0.JSX.Element;
6
6
  //#endregion
7
7
  export { FileUpload };