@devalok/shilp-sutra 0.1.1 → 0.2.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 (265) hide show
  1. package/dist/composed/avatar-group.d.ts +1 -0
  2. package/dist/composed/avatar-group.js +1 -0
  3. package/dist/composed/command-palette.d.ts +1 -0
  4. package/dist/composed/command-palette.js +1 -0
  5. package/dist/composed/content-card.d.ts.map +1 -1
  6. package/dist/composed/date-picker/calendar-grid.d.ts +1 -0
  7. package/dist/composed/date-picker/calendar-grid.js +1 -0
  8. package/dist/composed/date-picker/date-picker.d.ts +1 -0
  9. package/dist/composed/date-picker/date-picker.js +1 -0
  10. package/dist/composed/date-picker/date-range-picker.d.ts +1 -0
  11. package/dist/composed/date-picker/date-range-picker.js +1 -0
  12. package/dist/composed/date-picker/date-time-picker.d.ts +1 -0
  13. package/dist/composed/date-picker/date-time-picker.js +1 -0
  14. package/dist/composed/date-picker/index.d.ts +1 -0
  15. package/dist/composed/date-picker/month-picker.d.ts +1 -0
  16. package/dist/composed/date-picker/month-picker.js +1 -0
  17. package/dist/composed/date-picker/presets.d.ts +1 -0
  18. package/dist/composed/date-picker/presets.js +1 -0
  19. package/dist/composed/date-picker/time-picker.d.ts +1 -0
  20. package/dist/composed/date-picker/time-picker.js +1 -0
  21. package/dist/composed/date-picker/use-calendar.d.ts +1 -0
  22. package/dist/composed/date-picker/use-calendar.js +1 -0
  23. package/dist/composed/date-picker/year-picker.d.ts +1 -0
  24. package/dist/composed/date-picker/year-picker.js +1 -0
  25. package/dist/composed/empty-state.d.ts.map +1 -1
  26. package/dist/composed/error-boundary.d.ts +1 -0
  27. package/dist/composed/error-boundary.js +1 -0
  28. package/dist/composed/global-loading.d.ts +1 -0
  29. package/dist/composed/global-loading.js +1 -0
  30. package/dist/composed/index.d.ts +15 -0
  31. package/dist/composed/index.d.ts.map +1 -1
  32. package/dist/composed/index.js +1 -0
  33. package/dist/composed/lib/string-utils.d.ts +1 -0
  34. package/dist/composed/lib/string-utils.js +1 -0
  35. package/dist/composed/loading-skeleton.d.ts.map +1 -1
  36. package/dist/composed/member-picker.d.ts +1 -0
  37. package/dist/composed/member-picker.js +1 -0
  38. package/dist/composed/page-header.d.ts.map +1 -1
  39. package/dist/composed/page-skeletons.d.ts.map +1 -1
  40. package/dist/composed/priority-indicator.d.ts.map +1 -1
  41. package/dist/composed/rich-text-editor.d.ts +1 -0
  42. package/dist/composed/rich-text-editor.js +1 -0
  43. package/dist/composed/status-badge.d.ts.map +1 -1
  44. package/dist/hooks/index.d.ts +1 -0
  45. package/dist/hooks/index.js +10 -0
  46. package/dist/hooks/use-color-mode.d.ts +1 -0
  47. package/dist/hooks/use-color-mode.js +1 -0
  48. package/dist/hooks/use-mobile.d.ts +1 -0
  49. package/dist/hooks/use-mobile.js +1 -0
  50. package/dist/hooks/use-toast.d.ts +1 -0
  51. package/dist/hooks/use-toast.js +1 -0
  52. package/dist/primitives/react-accordion.d.ts +114 -0
  53. package/dist/primitives/react-alert-dialog.d.ts +51 -0
  54. package/dist/primitives/react-aspect-ratio.d.ts +11 -0
  55. package/dist/primitives/react-avatar.d.ts +24 -0
  56. package/dist/primitives/react-checkbox.d.ts +50 -0
  57. package/dist/primitives/react-collapsible.d.ts +33 -0
  58. package/dist/primitives/react-context-menu.d.ts +96 -0
  59. package/dist/primitives/react-dialog.d.ts +103 -0
  60. package/dist/primitives/react-dropdown-menu.d.ts +97 -0
  61. package/dist/primitives/react-hover-card.d.ts +79 -0
  62. package/dist/primitives/react-label.d.ts +10 -0
  63. package/dist/primitives/react-menu.d.ts +169 -0
  64. package/dist/primitives/react-menubar.d.ts +115 -0
  65. package/dist/primitives/react-navigation-menu.d.ts +126 -0
  66. package/dist/primitives/react-popover.d.ts +85 -0
  67. package/dist/primitives/react-progress.d.ts +19 -0
  68. package/dist/primitives/react-radio-group.d.ts +58 -0
  69. package/dist/primitives/react-roving-focus.d.ts +49 -0
  70. package/dist/primitives/react-select.d.ts +137 -0
  71. package/dist/primitives/react-separator.d.ts +21 -0
  72. package/dist/primitives/react-slider.d.ts +75 -0
  73. package/dist/primitives/react-switch.d.ts +21 -0
  74. package/dist/primitives/react-tabs.d.ts +56 -0
  75. package/dist/primitives/react-toast.d.ts +120 -0
  76. package/dist/primitives/react-toggle-group.d.ts +75 -0
  77. package/dist/primitives/react-toggle.d.ts +24 -0
  78. package/dist/primitives/react-tooltip.d.ts +101 -0
  79. package/dist/primitives/react-visually-hidden.d.ts +22 -0
  80. package/dist/shell/app-command-palette.d.ts +1 -0
  81. package/dist/shell/app-command-palette.js +1 -0
  82. package/dist/shell/bottom-navbar.d.ts +1 -0
  83. package/dist/shell/bottom-navbar.js +1 -0
  84. package/dist/shell/index.d.ts +11 -0
  85. package/dist/shell/index.d.ts.map +1 -1
  86. package/dist/shell/index.js +1 -0
  87. package/dist/shell/link-context.d.ts +1 -0
  88. package/dist/shell/link-context.js +1 -0
  89. package/dist/shell/notification-center.d.ts +1 -0
  90. package/dist/shell/notification-center.js +1 -0
  91. package/dist/shell/notification-preferences.d.ts +1 -0
  92. package/dist/shell/notification-preferences.js +1 -0
  93. package/dist/shell/sidebar.d.ts +1 -0
  94. package/dist/shell/sidebar.js +1 -0
  95. package/dist/shell/top-bar.d.ts +1 -0
  96. package/dist/shell/top-bar.js +1 -0
  97. package/dist/ui/accordion.d.ts +2 -1
  98. package/dist/ui/accordion.js +1 -0
  99. package/dist/ui/alert-dialog.d.ts +2 -1
  100. package/dist/ui/alert-dialog.js +1 -0
  101. package/dist/ui/alert.d.ts +1 -0
  102. package/dist/ui/alert.js +1 -0
  103. package/dist/ui/aspect-ratio.d.ts +2 -1
  104. package/dist/ui/aspect-ratio.js +1 -0
  105. package/dist/ui/autocomplete.d.ts +1 -0
  106. package/dist/ui/autocomplete.js +1 -0
  107. package/dist/ui/avatar.d.ts +2 -1
  108. package/dist/ui/avatar.js +1 -0
  109. package/dist/ui/badge.d.ts +1 -0
  110. package/dist/ui/badge.js +1 -0
  111. package/dist/ui/banner.d.ts +1 -0
  112. package/dist/ui/banner.js +1 -0
  113. package/dist/ui/breadcrumb.d.ts +1 -0
  114. package/dist/ui/breadcrumb.js +1 -0
  115. package/dist/ui/button-group.d.ts +1 -0
  116. package/dist/ui/button-group.js +1 -0
  117. package/dist/ui/button.d.ts +1 -0
  118. package/dist/ui/button.js +1 -0
  119. package/dist/ui/card.d.ts +1 -0
  120. package/dist/ui/card.js +1 -0
  121. package/dist/ui/charts/_internal/animation.d.ts +1 -0
  122. package/dist/ui/charts/_internal/animation.js +1 -0
  123. package/dist/ui/charts/_internal/axes.d.ts +1 -0
  124. package/dist/ui/charts/_internal/axes.js +1 -0
  125. package/dist/ui/charts/_internal/colors.d.ts +1 -0
  126. package/dist/ui/charts/_internal/colors.js +1 -0
  127. package/dist/ui/charts/_internal/grid-lines.d.ts +1 -0
  128. package/dist/ui/charts/_internal/grid-lines.js +1 -0
  129. package/dist/ui/charts/_internal/legend.d.ts +1 -0
  130. package/dist/ui/charts/_internal/legend.js +1 -0
  131. package/dist/ui/charts/_internal/scales.d.ts +1 -0
  132. package/dist/ui/charts/_internal/tooltip.d.ts +1 -0
  133. package/dist/ui/charts/_internal/tooltip.js +1 -0
  134. package/dist/ui/charts/_internal/types.d.ts +1 -0
  135. package/dist/ui/charts/_internal/types.js +1 -0
  136. package/dist/ui/charts/area-chart.d.ts +1 -0
  137. package/dist/ui/charts/area-chart.js +1 -0
  138. package/dist/ui/charts/bar-chart.d.ts +1 -0
  139. package/dist/ui/charts/bar-chart.js +1 -0
  140. package/dist/ui/charts/chart-container.d.ts +1 -0
  141. package/dist/ui/charts/chart-container.js +1 -0
  142. package/dist/ui/charts/gauge-chart.d.ts +1 -0
  143. package/dist/ui/charts/gauge-chart.js +1 -0
  144. package/dist/ui/charts/index.d.ts +1 -0
  145. package/dist/ui/charts/line-chart.d.ts +1 -0
  146. package/dist/ui/charts/line-chart.js +1 -0
  147. package/dist/ui/charts/pie-chart.d.ts +1 -0
  148. package/dist/ui/charts/pie-chart.js +1 -0
  149. package/dist/ui/charts/radar-chart.d.ts +1 -0
  150. package/dist/ui/charts/radar-chart.js +1 -0
  151. package/dist/ui/charts/sparkline.d.ts +1 -0
  152. package/dist/ui/charts/sparkline.js +1 -0
  153. package/dist/ui/checkbox.d.ts +2 -1
  154. package/dist/ui/checkbox.js +1 -0
  155. package/dist/ui/chip.d.ts +1 -0
  156. package/dist/ui/chip.js +1 -0
  157. package/dist/ui/code.d.ts.map +1 -1
  158. package/dist/ui/collapsible.d.ts +2 -1
  159. package/dist/ui/collapsible.js +1 -0
  160. package/dist/ui/combobox.d.ts +1 -0
  161. package/dist/ui/combobox.js +1 -0
  162. package/dist/ui/container.d.ts.map +1 -1
  163. package/dist/ui/context-menu.d.ts +2 -1
  164. package/dist/ui/context-menu.js +1 -0
  165. package/dist/ui/data-table-toolbar.d.ts +1 -0
  166. package/dist/ui/data-table-toolbar.js +1 -0
  167. package/dist/ui/data-table.d.ts +1 -0
  168. package/dist/ui/data-table.js +1 -0
  169. package/dist/ui/dialog.d.ts +2 -1
  170. package/dist/ui/dialog.js +1 -0
  171. package/dist/ui/dropdown-menu.d.ts +2 -1
  172. package/dist/ui/dropdown-menu.js +1 -0
  173. package/dist/ui/file-upload.d.ts +1 -0
  174. package/dist/ui/file-upload.js +1 -0
  175. package/dist/ui/form.d.ts +1 -0
  176. package/dist/ui/form.js +1 -0
  177. package/dist/ui/hover-card.d.ts +2 -1
  178. package/dist/ui/hover-card.js +1 -0
  179. package/dist/ui/icon-button.d.ts +1 -0
  180. package/dist/ui/icon-button.js +1 -0
  181. package/dist/ui/index.d.ts +18 -0
  182. package/dist/ui/index.d.ts.map +1 -1
  183. package/dist/ui/index.js +1 -0
  184. package/dist/ui/input-otp.d.ts +1 -0
  185. package/dist/ui/input-otp.js +1 -0
  186. package/dist/ui/input.d.ts +2 -1
  187. package/dist/ui/input.js +1 -0
  188. package/dist/ui/label.d.ts +2 -1
  189. package/dist/ui/label.js +1 -0
  190. package/dist/ui/lib/slot.d.ts +1 -0
  191. package/dist/ui/lib/use-reduced-motion.d.ts +1 -0
  192. package/dist/ui/lib/use-reduced-motion.js +1 -0
  193. package/dist/ui/lib/use-ripple.d.ts +1 -0
  194. package/dist/ui/lib/use-ripple.js +1 -0
  195. package/dist/ui/link.d.ts +1 -0
  196. package/dist/ui/link.js +1 -0
  197. package/dist/ui/menubar.d.ts +2 -1
  198. package/dist/ui/menubar.js +1 -0
  199. package/dist/ui/navigation-menu.d.ts +2 -1
  200. package/dist/ui/navigation-menu.js +1 -0
  201. package/dist/ui/number-input.d.ts +1 -0
  202. package/dist/ui/number-input.js +1 -0
  203. package/dist/ui/pagination.d.ts +1 -0
  204. package/dist/ui/pagination.js +1 -0
  205. package/dist/ui/popover.d.ts +2 -1
  206. package/dist/ui/popover.js +1 -0
  207. package/dist/ui/progress.d.ts +2 -1
  208. package/dist/ui/progress.js +1 -0
  209. package/dist/ui/radio.d.ts +2 -1
  210. package/dist/ui/radio.js +1 -0
  211. package/dist/ui/search-input.d.ts +6 -5
  212. package/dist/ui/search-input.d.ts.map +1 -1
  213. package/dist/ui/search-input.js +2 -1
  214. package/dist/ui/segmented-control.d.ts +1 -0
  215. package/dist/ui/segmented-control.js +1 -0
  216. package/dist/ui/select.d.ts +2 -1
  217. package/dist/ui/select.js +1 -0
  218. package/dist/ui/separator.d.ts +2 -1
  219. package/dist/ui/separator.js +1 -0
  220. package/dist/ui/sheet.d.ts +2 -1
  221. package/dist/ui/sheet.js +1 -0
  222. package/dist/ui/sidebar.d.ts +1 -0
  223. package/dist/ui/sidebar.js +1 -0
  224. package/dist/ui/skeleton.d.ts.map +1 -1
  225. package/dist/ui/slider.d.ts +2 -1
  226. package/dist/ui/slider.js +1 -0
  227. package/dist/ui/spinner.d.ts.map +1 -1
  228. package/dist/ui/stack.d.ts +2 -2
  229. package/dist/ui/stack.d.ts.map +1 -1
  230. package/dist/ui/stack.js +21 -16
  231. package/dist/ui/stat-card.d.ts +4 -1
  232. package/dist/ui/stat-card.d.ts.map +1 -1
  233. package/dist/ui/stat-card.js +22 -21
  234. package/dist/ui/stepper.d.ts +1 -0
  235. package/dist/ui/stepper.js +1 -0
  236. package/dist/ui/switch.d.ts +2 -1
  237. package/dist/ui/switch.js +1 -0
  238. package/dist/ui/table.d.ts.map +1 -1
  239. package/dist/ui/tabs.d.ts +2 -1
  240. package/dist/ui/tabs.js +1 -0
  241. package/dist/ui/text.d.ts +1 -1
  242. package/dist/ui/text.d.ts.map +1 -1
  243. package/dist/ui/textarea.d.ts +1 -0
  244. package/dist/ui/textarea.js +1 -0
  245. package/dist/ui/toast.d.ts +2 -1
  246. package/dist/ui/toast.js +1 -0
  247. package/dist/ui/toaster.d.ts +1 -0
  248. package/dist/ui/toaster.js +1 -0
  249. package/dist/ui/toggle-group.d.ts +2 -1
  250. package/dist/ui/toggle-group.js +1 -0
  251. package/dist/ui/toggle.d.ts +2 -1
  252. package/dist/ui/toggle.js +1 -0
  253. package/dist/ui/tooltip.d.ts +2 -1
  254. package/dist/ui/tooltip.js +1 -0
  255. package/dist/ui/transitions.d.ts +1 -0
  256. package/dist/ui/transitions.js +1 -0
  257. package/dist/ui/tree-view/index.d.ts +1 -0
  258. package/dist/ui/tree-view/tree-item.d.ts +1 -0
  259. package/dist/ui/tree-view/tree-item.js +1 -0
  260. package/dist/ui/tree-view/tree-view.d.ts +1 -0
  261. package/dist/ui/tree-view/tree-view.js +1 -0
  262. package/dist/ui/tree-view/use-tree.d.ts +1 -0
  263. package/dist/ui/tree-view/use-tree.js +1 -0
  264. package/dist/ui/visually-hidden.d.ts.map +1 -1
  265. package/package.json +97 -22
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
4
  declare const avatarSizeVariants: (props?: ({
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
3
  import * as u from "react";
3
4
  import { cva as w } from "class-variance-authority";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Icon as TablerIcon } from '@tabler/icons-react';
2
3
  /**
3
4
  * CommandPalette -- Keyboard-driven command palette (Ctrl+K / Cmd+K).
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as s, jsxs as a } from "react/jsx-runtime";
2
3
  import * as r from "react";
3
4
  import { Dialog as E, DialogPortal as A, DialogOverlay as M, DialogContentRaw as R, DialogTitle as L, DialogDescription as S } from "../ui/dialog.js";
@@ -1 +1 @@
1
- {"version":3,"file":"content-card.d.ts","sourceRoot":"","sources":["../../src/composed/content-card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,mBAAmB;;;8EAwBxB,CAAA;AAkBD,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACzB;AAED,QAAA,MAAM,WAAW,yFAqEhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"content-card.d.ts","sourceRoot":"","sources":["../../src/composed/content-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,mBAAmB;;;8EAwBxB,CAAA;AAkBD,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CACzB;AAED,QAAA,MAAM,WAAW,yFAqEhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface CalendarGridProps {
3
4
  currentMonth: Date;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as w, jsx as i } from "react/jsx-runtime";
2
3
  import * as g from "react";
3
4
  import { startOfMonth as v, endOfMonth as S, startOfWeek as V, endOfWeek as X, addDays as f, subMonths as Z, format as m, addMonths as _, isSameMonth as D, isSameDay as y, lastDayOfMonth as H, isBefore as k, startOfDay as W, isAfter as M, isWithinInterval as T } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface DatePickerProps {
3
4
  value?: Date | null;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
3
  import * as o from "react";
3
4
  import { format as C, setMonth as N, setYear as F } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { PresetKey } from './presets';
2
3
  import * as React from 'react';
3
4
  export interface DateRangePickerProps {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as y, jsx as o } from "react/jsx-runtime";
2
3
  import * as s from "react";
3
4
  import { format as H, setMonth as z, setYear as J, addMonths as E, isBefore as K, isAfter as L } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface DateTimePickerProps {
3
4
  /** The currently selected date and time. */
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
3
  import * as m from "react";
3
4
  import { format as U, setHours as y, setMinutes as k, setMonth as W, setYear as X } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  export { CalendarGrid } from './calendar-grid';
2
3
  export type { CalendarGridProps } from './calendar-grid';
3
4
  export { DatePicker } from './date-picker';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface MonthPickerProps {
3
4
  currentYear: number;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
3
  import * as m from "react";
3
4
  import { cn as u } from "../../ui/lib/utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export type PresetKey = 'today' | 'yesterday' | 'last7days' | 'last30days' | 'thisMonth' | 'lastMonth' | 'thisYear';
3
4
  export interface PresetsProps {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as l } from "react/jsx-runtime";
2
3
  import * as b from "react";
3
4
  import { endOfDay as e, startOfYear as w, subMonths as h, endOfMonth as d, startOfMonth as i, startOfDay as s, subDays as r } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface TimePickerProps {
3
4
  /** The currently selected time (as a Date object). */
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as d, jsx as r } from "react/jsx-runtime";
2
3
  import * as P from "react";
3
4
  import { format as O, setHours as S, setMinutes as $, setSeconds as j } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  export declare function useCalendar(initialMonth?: Date): {
2
3
  currentMonth: Date;
3
4
  setCurrentMonth: import('react').Dispatch<import('react').SetStateAction<Date>>;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState as s } from "react";
2
3
  import { setYear as h, setMonth as M, addMonths as u, subMonths as a } from "date-fns";
3
4
  function f(e) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface YearPickerProps {
3
4
  currentYear: number;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
3
  import * as u from "react";
3
4
  import { cn as x } from "../../ui/lib/utils.js";
@@ -1 +1 @@
1
- {"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/composed/empty-state.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAG7D,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,UAAU,wFA+Df,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/composed/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAG7D,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,UAAU,wFA+Df,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface ErrorDisplayProps {
3
4
  error: unknown;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as s, jsxs as n } from "react/jsx-runtime";
2
3
  import * as g from "react";
3
4
  import { IconAlertTriangle as u, IconServerOff as p, IconBan as x, IconFileUnknown as h } from "@tabler/icons-react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface GlobalLoadingProps {
3
4
  isLoading: boolean;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as r } from "react/jsx-runtime";
2
3
  import * as i from "react";
3
4
  import { useRef as l, useState as f, useEffect as s } from "react";
@@ -1,3 +1,18 @@
1
+ "use client";
2
+ /**
3
+ * @module @devalok/shilp-sutra/composed
4
+ *
5
+ * Higher-level composed components built from UI primitives: page headers, date pickers,
6
+ * rich text editors, skeleton loaders, and domain-specific patterns.
7
+ *
8
+ * **Server-safe components** (import individually for Server Components):
9
+ * `ContentCard`, `EmptyState`, `PageHeader`, `LoadingSkeleton`, `PageSkeletons`,
10
+ * `PriorityIndicator`, `StatusBadge`
11
+ *
12
+ * @example
13
+ * import { PageHeader } from '@devalok/shilp-sutra/composed/page-header'
14
+ * import { DatePicker } from '@devalok/shilp-sutra/composed/date-picker'
15
+ */
1
16
  export { PageHeader } from './page-header';
2
17
  export type { PageHeaderProps, Breadcrumb } from './page-header';
3
18
  export { ContentCard, contentCardVariants } from './content-card';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composed/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAEhE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAA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js";
3
4
  import { StatusBadge as i, statusBadgeVariants as x } from "./status-badge.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  /**
2
3
  * Extract initials from a person's name.
3
4
  * "John Doe" -> "JD", "Alice" -> "AL"
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  function i(r) {
2
3
  const t = r.trim();
3
4
  if (!t) return "";
@@ -1 +1 @@
1
- {"version":3,"file":"loading-skeleton.d.ts","sourceRoot":"","sources":["../../src/composed/loading-skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,YAAY,0FA0BjB,CAAA;AAID,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,QAAA,MAAM,aAAa,2FAkDlB,CAAA;AAID,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,aAAa,2FA+ClB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,QAAA,MAAM,YAAY,0FA6BjB,CAAA;AAID,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"loading-skeleton.d.ts","sourceRoot":"","sources":["../../src/composed/loading-skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,QAAA,MAAM,YAAY,0FA0BjB,CAAA;AAID,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,QAAA,MAAM,aAAa,2FAkDlB,CAAA;AAID,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,aAAa,2FA+ClB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,QAAA,MAAM,YAAY,0FA6BjB,CAAA;AAID,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface MemberPickerMember {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
3
  import * as r from "react";
3
4
  import { cn as b } from "../ui/lib/utils.js";
@@ -1 +1 @@
1
- {"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../src/composed/page-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,UAAU,wFAwEf,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"page-header.d.ts","sourceRoot":"","sources":["../../src/composed/page-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,UAAU,wFAwEf,CAAA;AAGD,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"page-skeletons.d.ts","sourceRoot":"","sources":["../../src/composed/page-skeletons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,QAAA,MAAM,iBAAiB,sEAkDtB,CAAA;AAMD,QAAA,MAAM,mBAAmB,sEA2DxB,CAAA;AAMD,QAAA,MAAM,kBAAkB,sEA8CvB,CAAA;AAID,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
1
+ {"version":3,"file":"page-skeletons.d.ts","sourceRoot":"","sources":["../../src/composed/page-skeletons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,QAAA,MAAM,iBAAiB,sEAkDtB,CAAA;AAMD,QAAA,MAAM,mBAAmB,sEA2DxB,CAAA;AAMD,QAAA,MAAM,kBAAkB,sEA8CvB,CAAA;AAID,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"priority-indicator.d.ts","sourceRoot":"","sources":["../../src/composed/priority-indicator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAUjE,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;AAgC3D,QAAA,MAAM,gBAAgB;;8EAarB,CAAA;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAC5D,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAED,QAAA,MAAM,iBAAiB,+FA0CtB,CAAA;AAGD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"priority-indicator.d.ts","sourceRoot":"","sources":["../../src/composed/priority-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAUjE,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;AAgC3D,QAAA,MAAM,gBAAgB;;8EAarB,CAAA;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAC5D,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACvC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAED,QAAA,MAAM,iBAAiB,+FA0CtB,CAAA;AAGD,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface RichTextEditorProps {
3
4
  content?: string;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
3
  import * as n from "react";
3
4
  import { useEditor as x, EditorContent as h } from "@tiptap/react";
@@ -1 +1 @@
1
- {"version":3,"file":"status-badge.d.ts","sourceRoot":"","sources":["../../src/composed/status-badge.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,mBAAmB;;;8EAwBxB,CAAA;AAaD,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,EAC7D,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,WAAW,0FA0BhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"status-badge.d.ts","sourceRoot":"","sources":["../../src/composed/status-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,mBAAmB;;;8EAwBxB,CAAA;AAaD,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC,EAC7D,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,WAAW,0FA0BhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  export { useColorMode, type ColorMode } from './use-color-mode';
2
3
  export { useIsMobile } from './use-mobile';
3
4
  export { useToast, toast, type Toast } from './use-toast';
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import { useColorMode as r } from "./use-color-mode.js";
3
+ import { useIsMobile as t } from "./use-mobile.js";
4
+ import { toast as m, useToast as p } from "./use-toast.js";
5
+ export {
6
+ m as toast,
7
+ r as useColorMode,
8
+ t as useIsMobile,
9
+ p as useToast
10
+ };
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  export type ColorMode = 'light' | 'dark' | 'system';
2
3
  export declare function useColorMode(): {
3
4
  readonly colorMode: ColorMode;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState as d, useCallback as n, useEffect as m } from "react";
2
3
  function i(t) {
3
4
  return t === "system" ? typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
@@ -1,2 +1,3 @@
1
+ "use client";
1
2
  export declare function useIsMobile(): boolean;
2
3
  //# sourceMappingURL=use-mobile.d.ts.map
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as o from "react";
2
3
  const e = 768;
3
4
  function r() {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { ToastActionElement, ToastProps } from '../ui/toast';
2
3
  import * as React from 'react';
3
4
  type ToasterToast = ToastProps & {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as c from "react";
2
3
  const d = 2, p = 5e3;
3
4
  let u = 0;
@@ -0,0 +1,114 @@
1
+ import * as _radix_ui_react_context from './_internal/react-context';
2
+ import React from 'react';
3
+ import { Primitive } from './_internal/react-primitive';
4
+ import * as CollapsiblePrimitive from './react-collapsible';
5
+
6
+ type Direction = 'ltr' | 'rtl';
7
+ declare const createAccordionScope: _radix_ui_react_context.CreateScope;
8
+ interface AccordionSingleProps extends AccordionImplSingleProps {
9
+ type: 'single';
10
+ }
11
+ interface AccordionMultipleProps extends AccordionImplMultipleProps {
12
+ type: 'multiple';
13
+ }
14
+ declare const Accordion: React.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
15
+ interface AccordionImplSingleProps extends AccordionImplProps {
16
+ /**
17
+ * The controlled stateful value of the accordion item whose content is expanded.
18
+ */
19
+ value?: string;
20
+ /**
21
+ * The value of the item whose content is expanded when the accordion is initially rendered. Use
22
+ * `defaultValue` if you do not need to control the state of an accordion.
23
+ */
24
+ defaultValue?: string;
25
+ /**
26
+ * The callback that fires when the state of the accordion changes.
27
+ */
28
+ onValueChange?(value: string): void;
29
+ /**
30
+ * Whether an accordion item can be collapsed after it has been opened.
31
+ * @default false
32
+ */
33
+ collapsible?: boolean;
34
+ }
35
+ interface AccordionImplMultipleProps extends AccordionImplProps {
36
+ /**
37
+ * The controlled stateful value of the accordion items whose contents are expanded.
38
+ */
39
+ value?: string[];
40
+ /**
41
+ * The value of the items whose contents are expanded when the accordion is initially rendered. Use
42
+ * `defaultValue` if you do not need to control the state of an accordion.
43
+ */
44
+ defaultValue?: string[];
45
+ /**
46
+ * The callback that fires when the state of the accordion changes.
47
+ */
48
+ onValueChange?(value: string[]): void;
49
+ }
50
+ type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
51
+ interface AccordionImplProps extends PrimitiveDivProps {
52
+ /**
53
+ * Whether or not an accordion is disabled from user interaction.
54
+ *
55
+ * @defaultValue false
56
+ */
57
+ disabled?: boolean;
58
+ /**
59
+ * The layout in which the Accordion operates.
60
+ * @default vertical
61
+ */
62
+ orientation?: React.AriaAttributes['aria-orientation'];
63
+ /**
64
+ * The language read direction.
65
+ */
66
+ dir?: Direction;
67
+ }
68
+ type CollapsibleProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>;
69
+ interface AccordionItemProps extends Omit<CollapsibleProps, 'open' | 'defaultOpen' | 'onOpenChange'> {
70
+ /**
71
+ * Whether or not an accordion item is disabled from user interaction.
72
+ *
73
+ * @defaultValue false
74
+ */
75
+ disabled?: boolean;
76
+ /**
77
+ * A string value for the accordion item. All items within an accordion should use a unique value.
78
+ */
79
+ value: string;
80
+ }
81
+ /**
82
+ * `AccordionItem` contains all of the parts of a collapsible section inside of an `Accordion`.
83
+ */
84
+ declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemProps & React.RefAttributes<HTMLDivElement>>;
85
+ type PrimitiveHeading3Props = React.ComponentPropsWithoutRef<typeof Primitive.h3>;
86
+ interface AccordionHeaderProps extends PrimitiveHeading3Props {
87
+ }
88
+ /**
89
+ * `AccordionHeader` contains the content for the parts of an `AccordionItem` that will be visible
90
+ * whether or not its content is collapsed.
91
+ */
92
+ declare const AccordionHeader: React.ForwardRefExoticComponent<AccordionHeaderProps & React.RefAttributes<HTMLHeadingElement>>;
93
+ type CollapsibleTriggerProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Trigger>;
94
+ interface AccordionTriggerProps extends CollapsibleTriggerProps {
95
+ }
96
+ /**
97
+ * `AccordionTrigger` is the trigger that toggles the collapsed state of an `AccordionItem`. It
98
+ * should always be nested inside of an `AccordionHeader`.
99
+ */
100
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
101
+ type CollapsibleContentProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Content>;
102
+ interface AccordionContentProps extends CollapsibleContentProps {
103
+ }
104
+ /**
105
+ * `AccordionContent` contains the collapsible content for an `AccordionItem`.
106
+ */
107
+ declare const AccordionContent: React.ForwardRefExoticComponent<AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
108
+ declare const Root: React.ForwardRefExoticComponent<(AccordionSingleProps | AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
109
+ declare const Item: React.ForwardRefExoticComponent<AccordionItemProps & React.RefAttributes<HTMLDivElement>>;
110
+ declare const Header: React.ForwardRefExoticComponent<AccordionHeaderProps & React.RefAttributes<HTMLHeadingElement>>;
111
+ declare const Trigger: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
112
+ declare const Content: React.ForwardRefExoticComponent<AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
113
+
114
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemProps, type AccordionMultipleProps, type AccordionSingleProps, AccordionTrigger, type AccordionTriggerProps, Content, Header, Item, Root, Trigger, createAccordionScope };
@@ -0,0 +1,51 @@
1
+ import * as _radix_ui_react_context from './_internal/react-context';
2
+ import * as React from 'react';
3
+ import * as DialogPrimitive from './react-dialog';
4
+
5
+ declare const createAlertDialogScope: _radix_ui_react_context.CreateScope;
6
+ type DialogProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>;
7
+ interface AlertDialogProps extends Omit<DialogProps, 'modal'> {
8
+ }
9
+ declare const AlertDialog: React.FC<AlertDialogProps>;
10
+ type DialogTriggerProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Trigger>;
11
+ interface AlertDialogTriggerProps extends DialogTriggerProps {
12
+ }
13
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
14
+ type DialogPortalProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Portal>;
15
+ interface AlertDialogPortalProps extends DialogPortalProps {
16
+ }
17
+ declare const AlertDialogPortal: React.FC<AlertDialogPortalProps>;
18
+ type DialogOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
19
+ interface AlertDialogOverlayProps extends DialogOverlayProps {
20
+ }
21
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
22
+ type DialogContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>;
23
+ interface AlertDialogContentProps extends Omit<DialogContentProps, 'onPointerDownOutside' | 'onInteractOutside'> {
24
+ }
25
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
26
+ type DialogTitleProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>;
27
+ interface AlertDialogTitleProps extends DialogTitleProps {
28
+ }
29
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
30
+ type DialogDescriptionProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
31
+ interface AlertDialogDescriptionProps extends DialogDescriptionProps {
32
+ }
33
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
34
+ type DialogCloseProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Close>;
35
+ interface AlertDialogActionProps extends DialogCloseProps {
36
+ }
37
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
38
+ interface AlertDialogCancelProps extends DialogCloseProps {
39
+ }
40
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
41
+ declare const Root: React.FC<AlertDialogProps>;
42
+ declare const Trigger: React.ForwardRefExoticComponent<AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
43
+ declare const Portal: React.FC<AlertDialogPortalProps>;
44
+ declare const Overlay: React.ForwardRefExoticComponent<AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
45
+ declare const Content: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
46
+ declare const Action: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
47
+ declare const Cancel: React.ForwardRefExoticComponent<AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
48
+ declare const Title: React.ForwardRefExoticComponent<AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
49
+ declare const Description: React.ForwardRefExoticComponent<AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
50
+
51
+ export { Action, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, Cancel, Content, Description, Overlay, Portal, Root, Title, Trigger, createAlertDialogScope };
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { Primitive } from './_internal/react-primitive';
3
+
4
+ type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
5
+ interface AspectRatioProps extends PrimitiveDivProps {
6
+ ratio?: number;
7
+ }
8
+ declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const Root: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
10
+
11
+ export { AspectRatio, type AspectRatioProps, Root };
@@ -0,0 +1,24 @@
1
+ import * as _radix_ui_react_context from './_internal/react-context';
2
+ import * as React from 'react';
3
+ import { Primitive } from './_internal/react-primitive';
4
+
5
+ declare const createAvatarScope: _radix_ui_react_context.CreateScope;
6
+ type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
7
+ type PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>;
8
+ interface AvatarProps extends PrimitiveSpanProps {
9
+ }
10
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
11
+ type PrimitiveImageProps = React.ComponentPropsWithoutRef<typeof Primitive.img>;
12
+ interface AvatarImageProps extends PrimitiveImageProps {
13
+ onLoadingStatusChange?: (status: ImageLoadingStatus) => void;
14
+ }
15
+ declare const AvatarImage: React.ForwardRefExoticComponent<AvatarImageProps & React.RefAttributes<HTMLImageElement>>;
16
+ interface AvatarFallbackProps extends PrimitiveSpanProps {
17
+ delayMs?: number;
18
+ }
19
+ declare const AvatarFallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
20
+ declare const Root: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
21
+ declare const Image: React.ForwardRefExoticComponent<AvatarImageProps & React.RefAttributes<HTMLImageElement>>;
22
+ declare const Fallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
23
+
24
+ export { Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Fallback, Image, Root, createAvatarScope };
@@ -0,0 +1,50 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _radix_ui_react_context from './_internal/react-context';
3
+ import { Scope } from './_internal/react-context';
4
+ import * as React from 'react';
5
+ import { Primitive } from './_internal/react-primitive';
6
+
7
+ type ScopedProps<P> = P & {
8
+ __scopeCheckbox?: Scope;
9
+ };
10
+ declare const createCheckboxScope: _radix_ui_react_context.CreateScope;
11
+ type CheckedState = boolean | 'indeterminate';
12
+ interface CheckboxProviderProps<State extends CheckedState = CheckedState> {
13
+ checked?: State | boolean;
14
+ defaultChecked?: State | boolean;
15
+ required?: boolean;
16
+ onCheckedChange?(checked: State | boolean): void;
17
+ name?: string;
18
+ form?: string;
19
+ disabled?: boolean;
20
+ value?: string | number | readonly string[];
21
+ children?: React.ReactNode;
22
+ }
23
+ declare function CheckboxProvider<State extends CheckedState = CheckedState>(props: ScopedProps<CheckboxProviderProps<State>>): react_jsx_runtime.JSX.Element;
24
+ interface CheckboxTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Primitive.button>, keyof CheckboxProviderProps> {
25
+ children?: React.ReactNode;
26
+ }
27
+ declare const CheckboxTrigger: React.ForwardRefExoticComponent<CheckboxTriggerProps & React.RefAttributes<HTMLButtonElement>>;
28
+ type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
29
+ interface CheckboxProps extends Omit<PrimitiveButtonProps, 'checked' | 'defaultChecked'> {
30
+ checked?: CheckedState;
31
+ defaultChecked?: CheckedState;
32
+ required?: boolean;
33
+ onCheckedChange?(checked: CheckedState): void;
34
+ }
35
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
36
+ type PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>;
37
+ interface CheckboxIndicatorProps extends PrimitiveSpanProps {
38
+ /**
39
+ * Used to force mounting when more control is needed. Useful when
40
+ * controlling animation with React animation libraries.
41
+ */
42
+ forceMount?: true;
43
+ }
44
+ declare const CheckboxIndicator: React.ForwardRefExoticComponent<CheckboxIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
45
+ type InputProps = React.ComponentPropsWithoutRef<typeof Primitive.input>;
46
+ interface CheckboxBubbleInputProps extends Omit<InputProps, 'checked'> {
47
+ }
48
+ declare const CheckboxBubbleInput: React.ForwardRefExoticComponent<CheckboxBubbleInputProps & React.RefAttributes<HTMLInputElement>>;
49
+
50
+ export { Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, type CheckedState, CheckboxIndicator as Indicator, Checkbox as Root, createCheckboxScope, CheckboxBubbleInput as unstable_BubbleInput, CheckboxBubbleInput as unstable_CheckboxBubbleInput, type CheckboxBubbleInputProps as unstable_CheckboxBubbleInputProps, CheckboxProvider as unstable_CheckboxProvider, type CheckboxProviderProps as unstable_CheckboxProviderProps, CheckboxTrigger as unstable_CheckboxTrigger, type CheckboxTriggerProps as unstable_CheckboxTriggerProps, CheckboxProvider as unstable_Provider, CheckboxTrigger as unstable_Trigger };