@datum-cloud/datum-ui 0.8.1 → 0.10.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 (252) hide show
  1. package/dist/{adapter-context-NyGTDZYq.mjs → adapter-context-DemTWhel.mjs} +3 -3
  2. package/dist/alert/index.mjs +1 -1
  3. package/dist/{alert-BDj6od5I.mjs → alert-Cz56SqdN.mjs} +2 -2
  4. package/dist/app-navigation/index.mjs +2 -2
  5. package/dist/{app-navigation-rSOfo1KV.mjs → app-navigation-CG0A8Qjz.mjs} +12 -6
  6. package/dist/autocomplete/index.mjs +1 -1
  7. package/dist/{autocomplete-DdbTQe6u.mjs → autocomplete-ChuPNldi.mjs} +6 -6
  8. package/dist/autosearch/index.mjs +12 -12
  9. package/dist/avatar-stack/index.mjs +1 -1
  10. package/dist/{avatar-stack-CDhlA1Nm.mjs → avatar-stack-WqoQ3l06.mjs} +1 -1
  11. package/dist/{button-D3RrsMfQ.mjs → button-Rw1xI-k9.mjs} +2 -2
  12. package/dist/calendar/index.mjs +1 -1
  13. package/dist/calendar-D_DriVHT.mjs +77 -0
  14. package/dist/{calendar-C-Hbf74r.mjs → calendar-Dwvq3Vu_.mjs} +6 -6
  15. package/dist/calendar-date-picker-CchHKodM.mjs +52 -0
  16. package/dist/chart/index.mjs +1 -1
  17. package/dist/{chart-CUa21ynK.mjs → chart-DgcOwkOh.mjs} +5 -5
  18. package/dist/code-editor/index.mjs +1 -1
  19. package/dist/{col-DISdGlqY.mjs → col-Q6yazFwL.mjs} +2 -1
  20. package/dist/components/base/button/button.d.ts.map +1 -1
  21. package/dist/components/features/app-navigation/app-navigation.d.ts +5 -1
  22. package/dist/components/features/app-navigation/app-navigation.d.ts.map +1 -1
  23. package/dist/components/features/app-navigation/nav-menu.d.ts +4 -1
  24. package/dist/components/features/app-navigation/nav-menu.d.ts.map +1 -1
  25. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +6 -5
  26. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +1 -1
  27. package/dist/components/features/calendar-date-picker/types.d.ts +19 -0
  28. package/dist/components/features/calendar-date-picker/types.d.ts.map +1 -1
  29. package/dist/components/features/code-editor/code-editor.d.ts +1 -1
  30. package/dist/components/features/code-editor/code-editor.d.ts.map +1 -1
  31. package/dist/components/features/code-editor/index.d.ts +1 -1
  32. package/dist/components/features/code-editor/index.d.ts.map +1 -1
  33. package/dist/components/features/code-editor/types.d.ts +25 -2
  34. package/dist/components/features/code-editor/types.d.ts.map +1 -1
  35. package/dist/components/features/data-table/core/client-provider.d.ts.map +1 -1
  36. package/dist/components/features/date-time-picker/date-time-picker.d.ts +12 -4
  37. package/dist/components/features/date-time-picker/date-time-picker.d.ts.map +1 -1
  38. package/dist/components/features/date-time-picker/types.d.ts +9 -0
  39. package/dist/components/features/date-time-picker/types.d.ts.map +1 -1
  40. package/dist/components/features/grid/components/col.d.ts +1 -1
  41. package/dist/components/features/grid/components/col.d.ts.map +1 -1
  42. package/dist/components/features/grid/components/row.d.ts +1 -1
  43. package/dist/components/features/grid/components/row.d.ts.map +1 -1
  44. package/dist/components/features/index.d.ts +1 -0
  45. package/dist/components/features/index.d.ts.map +1 -1
  46. package/dist/components/features/logo/index.d.ts +7 -0
  47. package/dist/components/features/logo/index.d.ts.map +1 -0
  48. package/dist/components/features/logo/logo-flat.d.ts +28 -0
  49. package/dist/components/features/logo/logo-flat.d.ts.map +1 -0
  50. package/dist/components/features/logo/logo-icon.d.ts +27 -0
  51. package/dist/components/features/logo/logo-icon.d.ts.map +1 -0
  52. package/dist/components/features/logo/logo-stacked.d.ts +24 -0
  53. package/dist/components/features/logo/logo-stacked.d.ts.map +1 -0
  54. package/dist/components/features/logo/logo-text.d.ts +27 -0
  55. package/dist/components/features/logo/logo-text.d.ts.map +1 -0
  56. package/dist/components/features/logo/logo.d.ts +24 -0
  57. package/dist/components/features/logo/logo.d.ts.map +1 -0
  58. package/dist/components/features/logo/logo.styles.d.ts +28 -0
  59. package/dist/components/features/logo/logo.styles.d.ts.map +1 -0
  60. package/dist/components/features/logo/themed/index.d.ts +2 -0
  61. package/dist/components/features/logo/themed/index.d.ts.map +1 -0
  62. package/dist/components/features/logo/themed/logo-themed.d.ts +54 -0
  63. package/dist/components/features/logo/themed/logo-themed.d.ts.map +1 -0
  64. package/dist/components/features/picker/components/calendar.d.ts +14 -0
  65. package/dist/components/features/picker/components/calendar.d.ts.map +1 -0
  66. package/dist/components/features/picker/components/content.d.ts +18 -0
  67. package/dist/components/features/picker/components/content.d.ts.map +1 -0
  68. package/dist/components/features/picker/components/context.d.ts +57 -0
  69. package/dist/components/features/picker/components/context.d.ts.map +1 -0
  70. package/dist/components/features/picker/components/footer.d.ts +35 -0
  71. package/dist/components/features/picker/components/footer.d.ts.map +1 -0
  72. package/dist/components/features/picker/components/index.d.ts +36 -0
  73. package/dist/components/features/picker/components/index.d.ts.map +1 -0
  74. package/dist/components/features/picker/components/presets.d.ts +9 -0
  75. package/dist/components/features/picker/components/presets.d.ts.map +1 -0
  76. package/dist/components/features/picker/components/root.d.ts +40 -0
  77. package/dist/components/features/picker/components/root.d.ts.map +1 -0
  78. package/dist/components/features/picker/components/time-input-field.d.ts +13 -0
  79. package/dist/components/features/picker/components/time-input-field.d.ts.map +1 -0
  80. package/dist/components/features/picker/components/time-input.d.ts +13 -0
  81. package/dist/components/features/picker/components/time-input.d.ts.map +1 -0
  82. package/dist/components/features/picker/components/timezone-indicator.d.ts +14 -0
  83. package/dist/components/features/picker/components/timezone-indicator.d.ts.map +1 -0
  84. package/dist/components/features/picker/components/timezone-select.d.ts +16 -0
  85. package/dist/components/features/picker/components/timezone-select.d.ts.map +1 -0
  86. package/dist/components/features/picker/components/trigger.d.ts +23 -0
  87. package/dist/components/features/picker/components/trigger.d.ts.map +1 -0
  88. package/dist/components/features/picker/hooks/index.d.ts +5 -0
  89. package/dist/components/features/picker/hooks/index.d.ts.map +1 -0
  90. package/dist/components/features/picker/hooks/use-keyboard-shortcuts.d.ts +25 -0
  91. package/dist/components/features/picker/hooks/use-keyboard-shortcuts.d.ts.map +1 -0
  92. package/dist/components/features/picker/hooks/use-picker-state.d.ts +51 -0
  93. package/dist/components/features/picker/hooks/use-picker-state.d.ts.map +1 -0
  94. package/dist/components/features/picker/hooks/use-presets.d.ts +24 -0
  95. package/dist/components/features/picker/hooks/use-presets.d.ts.map +1 -0
  96. package/dist/components/features/picker/hooks/use-time-slots.d.ts +21 -0
  97. package/dist/components/features/picker/hooks/use-time-slots.d.ts.map +1 -0
  98. package/dist/components/features/picker/index.d.ts +8 -0
  99. package/dist/components/features/picker/index.d.ts.map +1 -0
  100. package/dist/components/features/picker/internal/use-deprecation-warning.d.ts +9 -0
  101. package/dist/components/features/picker/internal/use-deprecation-warning.d.ts.map +1 -0
  102. package/dist/components/features/picker/presets/defaults.d.ts +16 -0
  103. package/dist/components/features/picker/presets/defaults.d.ts.map +1 -0
  104. package/dist/components/features/picker/presets/index.d.ts +2 -0
  105. package/dist/components/features/picker/presets/index.d.ts.map +1 -0
  106. package/dist/components/features/picker/types.d.ts +70 -0
  107. package/dist/components/features/picker/types.d.ts.map +1 -0
  108. package/dist/components/features/picker/utils/commit.d.ts +16 -0
  109. package/dist/components/features/picker/utils/commit.d.ts.map +1 -0
  110. package/dist/components/features/picker/utils/compare.d.ts +12 -0
  111. package/dist/components/features/picker/utils/compare.d.ts.map +1 -0
  112. package/dist/components/features/picker/utils/format-value.d.ts +25 -0
  113. package/dist/components/features/picker/utils/format-value.d.ts.map +1 -0
  114. package/dist/components/features/picker/utils/format.d.ts +38 -0
  115. package/dist/components/features/picker/utils/format.d.ts.map +1 -0
  116. package/dist/components/features/picker/utils/index.d.ts +7 -0
  117. package/dist/components/features/picker/utils/index.d.ts.map +1 -0
  118. package/dist/components/features/picker/utils/range.d.ts +26 -0
  119. package/dist/components/features/picker/utils/range.d.ts.map +1 -0
  120. package/dist/components/features/picker/utils/timezone.d.ts +38 -0
  121. package/dist/components/features/picker/utils/timezone.d.ts.map +1 -0
  122. package/dist/components/features/picker/wrappers/date-picker.d.ts +10 -0
  123. package/dist/components/features/picker/wrappers/date-picker.d.ts.map +1 -0
  124. package/dist/components/features/picker/wrappers/date-range-picker.d.ts +16 -0
  125. package/dist/components/features/picker/wrappers/date-range-picker.d.ts.map +1 -0
  126. package/dist/components/features/picker/wrappers/date-range-time-picker.d.ts +16 -0
  127. package/dist/components/features/picker/wrappers/date-range-time-picker.d.ts.map +1 -0
  128. package/dist/components/features/picker/wrappers/date-time-picker.d.ts +20 -0
  129. package/dist/components/features/picker/wrappers/date-time-picker.d.ts.map +1 -0
  130. package/dist/components/features/picker/wrappers/date-time-range-picker.d.ts +16 -0
  131. package/dist/components/features/picker/wrappers/date-time-range-picker.d.ts.map +1 -0
  132. package/dist/components/features/picker/wrappers/index.d.ts +16 -0
  133. package/dist/components/features/picker/wrappers/index.d.ts.map +1 -0
  134. package/dist/components/features/picker/wrappers/internal/default-footer.d.ts +7 -0
  135. package/dist/components/features/picker/wrappers/internal/default-footer.d.ts.map +1 -0
  136. package/dist/components/features/picker/wrappers/time-picker.d.ts +14 -0
  137. package/dist/components/features/picker/wrappers/time-picker.d.ts.map +1 -0
  138. package/dist/components/features/picker/wrappers/time-range-picker.d.ts +16 -0
  139. package/dist/components/features/picker/wrappers/time-range-picker.d.ts.map +1 -0
  140. package/dist/components/features/picker/wrappers/types.d.ts +118 -0
  141. package/dist/components/features/picker/wrappers/types.d.ts.map +1 -0
  142. package/dist/components/features/tag-input/tag-input.d.ts +1 -1
  143. package/dist/components/features/tag-input/tag-input.d.ts.map +1 -1
  144. package/dist/components/features/time-picker/time-picker.d.ts +5 -0
  145. package/dist/components/features/time-picker/time-picker.d.ts.map +1 -1
  146. package/dist/components/features/time-picker/types.d.ts +5 -0
  147. package/dist/components/features/time-picker/types.d.ts.map +1 -1
  148. package/dist/components/features/time-range-picker/index.d.ts +5 -0
  149. package/dist/components/features/time-range-picker/index.d.ts.map +1 -1
  150. package/dist/components/features/time-range-picker/time-range-picker.d.ts +19 -14
  151. package/dist/components/features/time-range-picker/time-range-picker.d.ts.map +1 -1
  152. package/dist/components/features/time-range-picker/types.d.ts +20 -0
  153. package/dist/components/features/time-range-picker/types.d.ts.map +1 -1
  154. package/dist/data-table/index.mjs +22 -15
  155. package/dist/date-picker/index.mjs +2 -2
  156. package/dist/date-range-picker-DNZh06zo.mjs +77 -0
  157. package/dist/date-time-picker/index.mjs +1 -1
  158. package/dist/date-time-picker-BiobghTJ.mjs +43 -0
  159. package/dist/date-time-picker-C0fF7s_e.mjs +109 -0
  160. package/dist/date-time-range-picker-BAsH_Wv9.mjs +82 -0
  161. package/dist/default-footer-DbpemJVl.mjs +1037 -0
  162. package/dist/dropzone/index.mjs +1 -1
  163. package/dist/{dropzone-Bt0plEuw.mjs → dropzone-DXH0xHso.mjs} +1 -1
  164. package/dist/empty-content/index.mjs +1 -1
  165. package/dist/form/adapters/conform/index.mjs +19 -19
  166. package/dist/form/adapters/rhf/index.mjs +18 -18
  167. package/dist/form/index.mjs +2 -2
  168. package/dist/form/stepper/index.mjs +25 -23
  169. package/dist/{form-CCNN9VtJ.mjs → form-DvgKb4s4.mjs} +49 -42
  170. package/dist/{form-context-CeKyvO-A.mjs → form-context-0usxTumz.mjs} +3 -3
  171. package/dist/grid/index.mjs +1 -1
  172. package/dist/hooks/index.mjs +2 -2
  173. package/dist/index.mjs +44 -42
  174. package/dist/input-group/index.mjs +1 -1
  175. package/dist/{input-group-DDtz-RT7.mjs → input-group-CeMsDhOk.mjs} +1 -1
  176. package/dist/input-number/index.mjs +1 -1
  177. package/dist/{input-number-Diu-C6d5.mjs → input-number-BU4nno8J.mjs} +1 -1
  178. package/dist/loader-overlay/index.mjs +1 -1
  179. package/dist/logo/index.mjs +3 -0
  180. package/dist/logo/themed/index.mjs +106 -0
  181. package/dist/logo-BQVyMDDx.mjs +23 -0
  182. package/dist/logo-text-BW31T2dS.mjs +227 -0
  183. package/dist/map/index.mjs +1 -1
  184. package/dist/{map-qo7bY_g_.mjs → map-t6n7VaX1.mjs} +24 -27
  185. package/dist/more-actions/index.mjs +2 -2
  186. package/dist/{more-actions-Ca5qqd0H.mjs → more-actions-Bp0b_jek.mjs} +2 -2
  187. package/dist/multi-select/index.mjs +1 -1
  188. package/dist/{multi-select-DM_dxnSV.mjs → multi-select-7jly2Hcd.mjs} +6 -6
  189. package/dist/page-title/index.mjs +1 -1
  190. package/dist/picker/index.mjs +273 -0
  191. package/dist/rich-text-editor/index.mjs +1 -1
  192. package/dist/{rich-text-editor-CQH_U4T5.mjs → rich-text-editor-Ddqx_EiO.mjs} +1 -1
  193. package/dist/select/index.mjs +1 -1
  194. package/dist/select-By1ZqPgr.mjs +94 -0
  195. package/dist/select-Ck0szhAH.mjs +73 -0
  196. package/dist/sidebar/index.mjs +1 -1
  197. package/dist/{sidebar-B8LQJiNI.mjs → sidebar-CUnFkH7o.mjs} +32 -32
  198. package/dist/skeleton/index.mjs +1 -1
  199. package/dist/{skeleton-D4HOEiOZ.mjs → skeleton-CxAhQT6T.mjs} +1 -1
  200. package/dist/stepper/index.mjs +1 -1
  201. package/dist/{stepper-Beb-zbdL.mjs → stepper-BMC_QbJK.mjs} +7 -7
  202. package/dist/styles/root.css +4 -2
  203. package/dist/styles/shadcn/shadcn.css +212 -213
  204. package/dist/switch/index.mjs +1 -1
  205. package/dist/table/index.mjs +1 -1
  206. package/dist/tag-input/index.mjs +1 -1
  207. package/dist/{tag-input-Bf4GMptp.mjs → tag-input-CV1JbKTm.mjs} +1 -1
  208. package/dist/task-queue/index.mjs +1 -1
  209. package/dist/{task-queue-dropdown-D-LncEWm.mjs → task-queue-dropdown-J1FuQOSr.mjs} +3 -3
  210. package/dist/textarea/index.mjs +1 -1
  211. package/dist/theme/index.mjs +1 -1
  212. package/dist/{themes-CAiN4b6G.mjs → themes-08-znmBI.mjs} +16 -16
  213. package/dist/time-input-9LdNL0Us.mjs +196 -0
  214. package/dist/time-picker/index.mjs +1 -1
  215. package/dist/time-picker-B-vpUClR.mjs +45 -0
  216. package/dist/time-picker-C840fLl6.mjs +49 -0
  217. package/dist/timezone-indicator-COoeMKKs.mjs +27 -0
  218. package/dist/{to-api-format-CgKcC9SK.mjs → to-api-format-CmXTvYka.mjs} +58 -243
  219. package/dist/toast/index.mjs +2 -2
  220. package/dist/{toast-DDdLgY53.mjs → toast-Bd5Kk7BB.mjs} +1 -1
  221. package/dist/tooltip/index.mjs +1 -1
  222. package/dist/transfer/index.mjs +1 -1
  223. package/dist/{transfer-CoGPwOc6.mjs → transfer-CuJGL420.mjs} +6 -6
  224. package/dist/{types-CKIe2WlV.mjs → types-DvMIxilw.mjs} +9 -3
  225. package/dist/typography/index.mjs +1 -1
  226. package/dist/{typography-TRKP_CLT.mjs → typography-CBwfg-vz.mjs} +5 -5
  227. package/dist/{use-copy-to-clipboard-D7KyLIAt.mjs → use-copy-to-clipboard-ZHDvfV3W.mjs} +1 -1
  228. package/dist/use-deprecation-warning-Dy_DOyLu.mjs +20 -0
  229. package/dist/{use-display-touched-C-afz17j.mjs → use-display-touched-CiY6ajpy.mjs} +5 -5
  230. package/dist/{use-option-picker-BXQOfyrK.mjs → use-option-picker-DV5O68eV.mjs} +1 -1
  231. package/dist/utils/index.mjs +1 -1
  232. package/dist/visually-hidden/index.mjs +1 -1
  233. package/package.json +40 -25
  234. package/dist/calendar-date-picker-BaykEs6j.mjs +0 -749
  235. package/dist/date-time-picker-DKOxrhmc.mjs +0 -193
  236. package/dist/select-zxwykvQn.mjs +0 -163
  237. package/dist/time-picker-BZF5jbF6.mjs +0 -99
  238. package/dist/use-date-constraints-R3H4lIoT.mjs +0 -41
  239. /package/dist/{action-row-DnhBhMtt.mjs → action-row-DXw4UnHU.mjs} +0 -0
  240. /package/dist/{empty-content-CBh5bbtJ.mjs → empty-content-DTk_lwnh.mjs} +0 -0
  241. /package/dist/{hooks-DQXVwbrs.mjs → hooks-BPxgIHKV.mjs} +0 -0
  242. /package/dist/{loader-overlay-C2WDla6V.mjs → loader-overlay-B3YEoOFJ.mjs} +0 -0
  243. /package/dist/{map-leaflet-imports-yWwH4CHB.mjs → map-leaflet-imports-C8l0RTTP.mjs} +0 -0
  244. /package/dist/{page-title-ChLiv6gB.mjs → page-title-CGW3f4qH.mjs} +0 -0
  245. /package/dist/{skeleton-D2xuJdE1.mjs → skeleton-B1NOdZGM.mjs} +0 -0
  246. /package/dist/{switch-DcSF42Kc.mjs → switch-BcQaR1Bp.mjs} +0 -0
  247. /package/dist/{table-DWGT4cqh.mjs → table-ouGk4Vxe.mjs} +0 -0
  248. /package/dist/{textarea-BoChBcFz.mjs → textarea-q-k7DYwi.mjs} +0 -0
  249. /package/dist/{toast-D5XD7goD.mjs → toast-BWol1pyV.mjs} +0 -0
  250. /package/dist/{tooltip-a7NTDCWw.mjs → tooltip-CHuzXR_O.mjs} +0 -0
  251. /package/dist/{utils-BwB1mIdZ.mjs → utils-C07H7h7q.mjs} +0 -0
  252. /package/dist/{visuallyhidden-BHOPczmW.mjs → visuallyhidden-CoIJOJ9z.mjs} +0 -0
@@ -1,13 +1,13 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region src/components/features/form/adapter-context.tsx
4
- const AdapterContext = React$1.createContext(null);
4
+ const AdapterContext = React.createContext(null);
5
5
  /**
6
6
  * Read the current form adapter from context.
7
7
  * Throws with a helpful error if no adapter is found.
8
8
  */
9
9
  function useAdapter() {
10
- const adapter = React$1.use(AdapterContext);
10
+ const adapter = React.use(AdapterContext);
11
11
  if (!adapter) throw new Error("No form adapter found. Wrap your application with an adapter provider:\n\n import { ConformAdapter } from '@datum-cloud/datum-ui/form/adapters/conform'\n // or\n import { RHFAdapter } from '@datum-cloud/datum-ui/form/adapters/rhf'\n\n <ConformAdapter>\n <App />\n </ConformAdapter>");
12
12
  return adapter;
13
13
  }
@@ -1,2 +1,2 @@
1
- import { n as AlertDescription, r as AlertTitle, t as Alert } from "../alert-BDj6od5I.mjs";
1
+ import { n as AlertDescription, r as AlertTitle, t as Alert } from "../alert-Cz56SqdN.mjs";
2
2
  export { Alert, AlertDescription, AlertTitle };
@@ -1,7 +1,7 @@
1
1
  import { t as cn } from "./cn-D2KYQ917.mjs";
2
2
  import { cva } from "class-variance-authority";
3
3
  import { CircleXIcon } from "lucide-react";
4
- import * as React$1 from "react";
4
+ import * as React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/base/alert/alert.tsx
7
7
  /**
@@ -51,7 +51,7 @@ const alertVariants = cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7
51
51
  defaultVariants: { variant: "default" }
52
52
  });
53
53
  function Alert({ className, variant, closable = false, onClose, ...props }) {
54
- const [isVisible, setIsVisible] = React$1.useState(true);
54
+ const [isVisible, setIsVisible] = React.useState(true);
55
55
  const handleClose = () => {
56
56
  if (onClose) onClose();
57
57
  else setIsVisible(false);
@@ -1,4 +1,4 @@
1
- import { C as SidebarTrigger, S as SidebarSeparator, _ as SidebarMenuSub, a as SidebarGroupAction, b as SidebarProvider, c as SidebarHeader, d as SidebarMenu, f as SidebarMenuAction, g as SidebarMenuSkeleton, h as SidebarMenuItem, i as SidebarGroup, l as SidebarInput, m as SidebarMenuButton, n as SidebarContent, o as SidebarGroupContent, p as SidebarMenuBadge, r as SidebarFooter, s as SidebarGroupLabel, t as Sidebar, u as SidebarInset, v as SidebarMenuSubButton, w as useSidebar, x as SidebarRail, y as SidebarMenuSubItem } from "../sidebar-B8LQJiNI.mjs";
1
+ import { C as SidebarTrigger, S as SidebarSeparator, _ as SidebarMenuSub, a as SidebarGroupAction, b as SidebarProvider, c as SidebarHeader, d as SidebarMenu, f as SidebarMenuAction, g as SidebarMenuSkeleton, h as SidebarMenuItem, i as SidebarGroup, l as SidebarInput, m as SidebarMenuButton, n as SidebarContent, o as SidebarGroupContent, p as SidebarMenuBadge, r as SidebarFooter, s as SidebarGroupLabel, t as Sidebar, u as SidebarInset, v as SidebarMenuSubButton, w as useSidebar, x as SidebarRail, y as SidebarMenuSubItem } from "../sidebar-CUnFkH7o.mjs";
2
2
  import "../sidebar/index.mjs";
3
- import { n as NavMenu, t as AppNavigation } from "../app-navigation-rSOfo1KV.mjs";
3
+ import { n as NavMenu, t as AppNavigation } from "../app-navigation-CG0A8Qjz.mjs";
4
4
  export { AppNavigation, NavMenu, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
@@ -1,7 +1,7 @@
1
1
  import { t as cn } from "./cn-D2KYQ917.mjs";
2
2
  import { t as Icon } from "./icon-wrapper-DuLp3RM1.mjs";
3
3
  import { n as CollapsibleContent, r as CollapsibleTrigger, t as Collapsible } from "./collapsible-CUphkSBt.mjs";
4
- import { C as SidebarTrigger, S as SidebarSeparator, _ as SidebarMenuSub, c as SidebarHeader, d as SidebarMenu, g as SidebarMenuSkeleton, h as SidebarMenuItem, i as SidebarGroup, m as SidebarMenuButton, n as SidebarContent, o as SidebarGroupContent, r as SidebarFooter, s as SidebarGroupLabel, t as Sidebar, w as useSidebar } from "./sidebar-B8LQJiNI.mjs";
4
+ import { C as SidebarTrigger, S as SidebarSeparator, _ as SidebarMenuSub, c as SidebarHeader, d as SidebarMenu, g as SidebarMenuSkeleton, h as SidebarMenuItem, i as SidebarGroup, m as SidebarMenuButton, n as SidebarContent, o as SidebarGroupContent, r as SidebarFooter, s as SidebarGroupLabel, t as Sidebar, w as useSidebar } from "./sidebar-CUnFkH7o.mjs";
5
5
  import { ChevronRight, ExternalLinkIcon } from "lucide-react";
6
6
  import { Fragment, useCallback, useEffect, useRef, useState } from "react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -21,20 +21,20 @@ function NavIcon({ icon: IconComponent, className, size = "default" }) {
21
21
  });
22
22
  }
23
23
  NavIcon.displayName = "NavIcon";
24
- function NavSidebarMenuButton({ ref, item, isActive, disableTooltip, className, children, asChild, ...props }) {
24
+ function NavSidebarMenuButton({ ref, item, isActive, disableTooltip, className, activeClassName, children, asChild, ...props }) {
25
25
  return /* @__PURE__ */ jsx(SidebarMenuButton, {
26
26
  ref,
27
27
  tooltip: disableTooltip ? void 0 : item.title,
28
28
  isActive,
29
29
  disabled: item.disabled,
30
30
  asChild,
31
- className: cn(NAV_STYLES.menuButton, item.disabled && NAV_STYLES.disabled, className),
31
+ className: cn(NAV_STYLES.menuButton, item.disabled && NAV_STYLES.disabled, className, isActive && activeClassName),
32
32
  ...props,
33
33
  children: asChild ? children : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(NavIcon, { icon: item.icon }), children] })
34
34
  });
35
35
  }
36
36
  NavSidebarMenuButton.displayName = "NavSidebarMenuButton";
37
- function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp = "a", overrideState, itemClassName, disableTooltip, closeOnNavigation, ...props }) {
37
+ function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp = "a", overrideState, itemClassName, activeItemClassName, disableTooltip, closeOnNavigation, ...props }) {
38
38
  const pathname = currentPath;
39
39
  const { state: sidebarState, isMobile, closeForNavigation, setOpen } = useSidebar();
40
40
  const [openItems, setOpenItems] = useState({});
@@ -155,6 +155,7 @@ function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp =
155
155
  isActive,
156
156
  disableTooltip,
157
157
  className: itemClassName,
158
+ activeClassName: activeItemClassName,
158
159
  onClick: () => {
159
160
  setOpen(true);
160
161
  if (item.href) setOpenItems((prev) => ({
@@ -233,6 +234,7 @@ function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp =
233
234
  isActive,
234
235
  disableTooltip,
235
236
  className: itemClassName,
237
+ activeClassName: activeItemClassName,
236
238
  children: [/* @__PURE__ */ jsx("span", { children: item.title }), /* @__PURE__ */ jsx(Icon, {
237
239
  icon: ChevronRight,
238
240
  className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"
@@ -305,6 +307,7 @@ function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp =
305
307
  isActive: currentItemIsActive,
306
308
  disableTooltip,
307
309
  className: itemClassName,
310
+ activeClassName: activeItemClassName,
308
311
  children: [/* @__PURE__ */ jsx("span", { children: currentItem.title }), /* @__PURE__ */ jsx(Icon, {
309
312
  icon: ChevronRight,
310
313
  className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"
@@ -347,6 +350,7 @@ function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp =
347
350
  disableTooltip,
348
351
  onClick: () => hasChildren && toggleItem(item.href),
349
352
  className: cn(level >= 1 && "h-6", itemClassName),
353
+ activeClassName: activeItemClassName,
350
354
  children: item.type === "externalLink" ? /* @__PURE__ */ jsxs("a", {
351
355
  href: item.href || "",
352
356
  target: "_blank",
@@ -436,7 +440,7 @@ function NavSkeleton() {
436
440
  ]
437
441
  });
438
442
  }
439
- function AppNavigation({ navItems, title, closeOnNavigation, defaultOpen, currentPath, linkComponent, loading = false, ...props }) {
443
+ function AppNavigation({ navItems, title, closeOnNavigation, defaultOpen, currentPath, linkComponent, loading = false, itemClassName, activeItemClassName, ...props }) {
440
444
  const { setOpen } = useSidebar();
441
445
  useEffect(() => {
442
446
  if (defaultOpen === false) setOpen(false);
@@ -462,7 +466,9 @@ function AppNavigation({ navItems, title, closeOnNavigation, defaultOpen, curren
462
466
  items: navItems,
463
467
  currentPath,
464
468
  linkComponent,
465
- closeOnNavigation
469
+ closeOnNavigation,
470
+ itemClassName,
471
+ activeItemClassName
466
472
  }),
467
473
  props.collapsible !== "none" && /* @__PURE__ */ jsx(SidebarFooter, {
468
474
  className: "mt-auto p-2",
@@ -1,2 +1,2 @@
1
- import { t as Autocomplete } from "../autocomplete-DdbTQe6u.mjs";
1
+ import { t as Autocomplete } from "../autocomplete-ChuPNldi.mjs";
2
2
  export { Autocomplete };
@@ -1,9 +1,9 @@
1
1
  import { t as cn } from "./cn-D2KYQ917.mjs";
2
2
  import { t as ResponsivePopover } from "./responsive-popover-D-t9bxSN.mjs";
3
- import { t as LoaderOverlay } from "./loader-overlay-C2WDla6V.mjs";
4
- import { n as OptionList, t as useOptionPicker } from "./use-option-picker-BXQOfyrK.mjs";
3
+ import { t as LoaderOverlay } from "./loader-overlay-B3YEoOFJ.mjs";
4
+ import { n as OptionList, t as useOptionPicker } from "./use-option-picker-DV5O68eV.mjs";
5
5
  import { ChevronDown } from "lucide-react";
6
- import * as React$1 from "react";
6
+ import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/features/autocomplete/trigger.tsx
9
9
  function Trigger({ ref, selectedOption, renderValue, placeholder, loading, disabled, open, id, className, ...rest }) {
@@ -68,7 +68,7 @@ Trigger.displayName = "AutocompleteTrigger";
68
68
  * ```
69
69
  */
70
70
  function Autocomplete({ options, value, onValueChange, onSearchChange, searchPlaceholder = "Search...", disableSearch = false, renderOption, renderValue, placeholder = "Select...", emptyContent = "No results found", footer, creatable = false, creatableLabel, virtualize = false, itemSize = 36, loading = false, modal = false, responsive = true, sheetTitle, disabled = false, name, id, className, triggerClassName, contentClassName, listClassName }) {
71
- const [open, setOpen] = React$1.useState(false);
71
+ const [open, setOpen] = React.useState(false);
72
72
  const picker = useOptionPicker({
73
73
  multiple: false,
74
74
  options,
@@ -81,11 +81,11 @@ function Autocomplete({ options, value, onValueChange, onSearchChange, searchPla
81
81
  open,
82
82
  onOpenChange: setOpen
83
83
  });
84
- const flatOptions = React$1.useMemo(() => {
84
+ const flatOptions = React.useMemo(() => {
85
85
  if (Array.isArray(options) && options.length > 0 && "options" in options[0]) return options.flatMap((g) => g.options);
86
86
  return options;
87
87
  }, [options]);
88
- const displayOption = React$1.useMemo(() => {
88
+ const displayOption = React.useMemo(() => {
89
89
  const found = flatOptions.find((o) => o.value === value);
90
90
  if (found) return found;
91
91
  if (creatable && value) return {
@@ -2,10 +2,10 @@ import { t as cn } from "../cn-D2KYQ917.mjs";
2
2
  import { t as Button } from "../button-BllvE9Lm.mjs";
3
3
  import { t as Input } from "../input-FKGqZypx.mjs";
4
4
  import { t as ResponsivePopover } from "../responsive-popover-D-t9bxSN.mjs";
5
- import { t as Tooltip } from "../tooltip-a7NTDCWw.mjs";
6
- import { n as OptionList, t as useOptionPicker } from "../use-option-picker-BXQOfyrK.mjs";
5
+ import { t as Tooltip } from "../tooltip-CHuzXR_O.mjs";
6
+ import { n as OptionList, t as useOptionPicker } from "../use-option-picker-DV5O68eV.mjs";
7
7
  import { AlertCircle, Loader2, X } from "lucide-react";
8
- import * as React$1 from "react";
8
+ import * as React from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region src/components/features/autosearch/autosearch.tsx
11
11
  /**
@@ -38,11 +38,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
38
38
  * ```
39
39
  */
40
40
  function Autosearch({ options = [], value, onValueChange, onSearch, searchDebounceMs = 300, placeholder = "Search for an option", emptyMessage = "No results found.", emptyContent, loading = false, modal = false, responsive = true, sheetTitle, disabled = false, name, id, className, inputClassName, contentClassName, selectedClassName }) {
41
- const [open, setOpen] = React$1.useState(false);
42
- const [persistedOption, setPersistedOption] = React$1.useState(null);
43
- const [searchExecuted, setSearchExecuted] = React$1.useState(false);
44
- const searchDebounceRef = React$1.useRef(null);
45
- const onSearchChangeForEngine = React$1.useCallback((query) => {
41
+ const [open, setOpen] = React.useState(false);
42
+ const [persistedOption, setPersistedOption] = React.useState(null);
43
+ const [searchExecuted, setSearchExecuted] = React.useState(false);
44
+ const searchDebounceRef = React.useRef(null);
45
+ const onSearchChangeForEngine = React.useCallback((query) => {
46
46
  const normalized = query.trim();
47
47
  if (searchDebounceRef.current) {
48
48
  clearTimeout(searchDebounceRef.current);
@@ -59,7 +59,7 @@ function Autosearch({ options = [], value, onValueChange, onSearch, searchDeboun
59
59
  searchDebounceRef.current = null;
60
60
  }, searchDebounceMs);
61
61
  }, [onSearch, searchDebounceMs]);
62
- React$1.useEffect(() => {
62
+ React.useEffect(() => {
63
63
  return () => {
64
64
  if (searchDebounceRef.current) {
65
65
  clearTimeout(searchDebounceRef.current);
@@ -86,11 +86,11 @@ function Autosearch({ options = [], value, onValueChange, onSearch, searchDeboun
86
86
  const hasSearch = Boolean(picker.search.trim());
87
87
  const showResults = hasSearch && !value && options.length > 1;
88
88
  const showNoResults = hasSearch && !loading && options.length === 0 && searchExecuted;
89
- React$1.useEffect(() => {
89
+ React.useEffect(() => {
90
90
  if (hasSearch && !value) setOpen(true);
91
91
  else if (!hasSearch) setOpen(false);
92
92
  }, [hasSearch, value]);
93
- React$1.useEffect(() => {
93
+ React.useEffect(() => {
94
94
  if (value || !hasSearch) return;
95
95
  if (options.length === 1 && !options[0].disabled) {
96
96
  const option = options[0];
@@ -106,7 +106,7 @@ function Autosearch({ options = [], value, onValueChange, onSearch, searchDeboun
106
106
  value,
107
107
  hasSearch
108
108
  ]);
109
- const handleClear = React$1.useCallback(() => {
109
+ const handleClear = React.useCallback(() => {
110
110
  setPersistedOption(null);
111
111
  picker.setSearch("");
112
112
  onSearch?.("");
@@ -1,2 +1,2 @@
1
- import { n as avatarStackVariants, t as AvatarStack } from "../avatar-stack-CDhlA1Nm.mjs";
1
+ import { n as avatarStackVariants, t as AvatarStack } from "../avatar-stack-WqoQ3l06.mjs";
2
2
  export { AvatarStack, avatarStackVariants };
@@ -1,6 +1,6 @@
1
1
  import { t as cn } from "./cn-D2KYQ917.mjs";
2
2
  import { n as AvatarFallback, r as AvatarImage, t as Avatar } from "./avatar-BtKVcvO4.mjs";
3
- import { t as Tooltip } from "./tooltip-a7NTDCWw.mjs";
3
+ import { t as Tooltip } from "./tooltip-CHuzXR_O.mjs";
4
4
  import { cva } from "class-variance-authority";
5
5
  import "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as cn } from "./utils-C8KwMfT_.mjs";
2
2
  import { cva } from "class-variance-authority";
3
- import * as React$1 from "react";
3
+ import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { Slot } from "@radix-ui/react-slot";
6
6
  //#region ../shadcn/ui/button.tsx
@@ -31,7 +31,7 @@ const buttonVariants = cva("inline-flex items-center justify-center gap-2 whites
31
31
  size: "default"
32
32
  }
33
33
  });
34
- const Button = React$1.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
34
+ const Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
35
35
  return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
36
36
  className: cn(buttonVariants({
37
37
  variant,
@@ -1,2 +1,2 @@
1
- import { n as CalendarDayButton, t as Calendar } from "../calendar-C-Hbf74r.mjs";
1
+ import { n as CalendarDayButton, t as Calendar } from "../calendar-Dwvq3Vu_.mjs";
2
2
  export { Calendar, CalendarDayButton };
@@ -0,0 +1,77 @@
1
+ import { t as Calendar } from "./calendar-Dwvq3Vu_.mjs";
2
+ import { A as zonedDateToIso, F as isDateBearingMode, R as useDateConstraints, k as isoToZonedDate, w as usePickerContext } from "./default-footer-DbpemJVl.mjs";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/features/picker/components/calendar.tsx
5
+ /**
6
+ * Override the base Calendar's default `w-fit` root so the calendar fills the
7
+ * mobile sheet width (cells flex via the underlying day-picker) and reverts to
8
+ * intrinsic width on `md` and above.
9
+ */
10
+ const CALENDAR_RESPONSIVE_CLASSNAMES = { root: "w-full md:w-fit" };
11
+ function PickerCalendar({ numberOfMonths = 1, className, minDate, maxDate, disablePast, disableFuture }) {
12
+ const { mode, timezone, state, actions } = usePickerContext();
13
+ const { effectiveMinDate, effectiveMaxDate, isDateDisabled } = useDateConstraints({
14
+ minDate,
15
+ maxDate,
16
+ disablePast,
17
+ disableFuture
18
+ });
19
+ if (!isDateBearingMode(mode)) return null;
20
+ const month = state.monthFrom ?? (() => {
21
+ if (mode === "date" && state.pendingValue instanceof Date) return state.pendingValue;
22
+ if (mode === "datetime" && typeof state.pendingValue === "string") return isoToZonedDate(state.pendingValue, timezone);
23
+ })();
24
+ if (mode === "date-range" || mode === "date-range-time" || mode === "datetime-range") {
25
+ const v = state.pendingValue;
26
+ return /* @__PURE__ */ jsx(Calendar, {
27
+ mode: "range",
28
+ selected: v ? mode === "date-range" ? {
29
+ from: v.from,
30
+ to: v.to
31
+ } : {
32
+ from: isoToZonedDate(v.from, timezone),
33
+ to: isoToZonedDate(v.to, timezone)
34
+ } : void 0,
35
+ onSelect: (range) => {
36
+ if (!range?.from || !range?.to) return;
37
+ if (mode === "date-range") actions.setRange({
38
+ from: range.from,
39
+ to: range.to
40
+ });
41
+ else actions.setDatetimeRange({
42
+ from: zonedDateToIso(range.from, timezone),
43
+ to: zonedDateToIso(range.to, timezone)
44
+ });
45
+ },
46
+ defaultMonth: month,
47
+ month,
48
+ onMonthChange: actions.setMonthFrom,
49
+ numberOfMonths,
50
+ disabled: isDateDisabled,
51
+ fromDate: effectiveMinDate,
52
+ toDate: effectiveMaxDate,
53
+ className,
54
+ classNames: CALENDAR_RESPONSIVE_CLASSNAMES
55
+ });
56
+ }
57
+ return /* @__PURE__ */ jsx(Calendar, {
58
+ mode: "single",
59
+ selected: state.pendingValue instanceof Date ? state.pendingValue : mode === "datetime" && typeof state.pendingValue === "string" ? isoToZonedDate(state.pendingValue, timezone) : void 0,
60
+ onSelect: (d) => {
61
+ if (!d) return;
62
+ if (mode === "date") actions.setSingleDate(d);
63
+ else if (mode === "datetime") actions.setSingleDatetime(zonedDateToIso(d, timezone));
64
+ },
65
+ defaultMonth: month,
66
+ month,
67
+ onMonthChange: actions.setMonthFrom,
68
+ disabled: isDateDisabled,
69
+ fromDate: effectiveMinDate,
70
+ toDate: effectiveMaxDate,
71
+ className,
72
+ classNames: CALENDAR_RESPONSIVE_CLASSNAMES
73
+ });
74
+ }
75
+ PickerCalendar.displayName = "Picker.Calendar";
76
+ //#endregion
77
+ export { PickerCalendar as t };
@@ -1,8 +1,8 @@
1
1
  import { t as cn } from "./cn-D2KYQ917.mjs";
2
- import { n as buttonVariants, t as Button } from "./button-D3RrsMfQ.mjs";
2
+ import { n as buttonVariants, t as Button } from "./button-Rw1xI-k9.mjs";
3
3
  import { t as Icon } from "./icon-wrapper-DuLp3RM1.mjs";
4
4
  import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
5
- import * as React$1 from "react";
5
+ import * as React from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import { DayPicker, getDefaultClassNames } from "react-day-picker";
8
8
  //#region src/components/base/calendar/calendar.tsx
@@ -40,7 +40,7 @@ function CalendarWeekNumber({ children, ...props }) {
40
40
  })
41
41
  });
42
42
  }
43
- function Calendar$1({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, components, ...props }) {
43
+ function Calendar({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, components, ...props }) {
44
44
  const defaultClassNames = getDefaultClassNames();
45
45
  return /* @__PURE__ */ jsx(DayPicker, {
46
46
  showOutsideDays,
@@ -90,8 +90,8 @@ function Calendar$1({ className, classNames, showOutsideDays = true, captionLayo
90
90
  }
91
91
  function CalendarDayButton({ className, day, modifiers, ...props }) {
92
92
  const defaultClassNames = getDefaultClassNames();
93
- const ref = React$1.useRef(null);
94
- React$1.useEffect(() => {
93
+ const ref = React.useRef(null);
94
+ React.useEffect(() => {
95
95
  if (modifiers.focused) ref.current?.focus();
96
96
  }, [modifiers.focused]);
97
97
  return /* @__PURE__ */ jsx(Button, {
@@ -108,4 +108,4 @@ function CalendarDayButton({ className, day, modifiers, ...props }) {
108
108
  });
109
109
  }
110
110
  //#endregion
111
- export { CalendarDayButton as n, Calendar$1 as t };
111
+ export { CalendarDayButton as n, Calendar as t };
@@ -0,0 +1,52 @@
1
+ import { t as useDeprecationWarning } from "./use-deprecation-warning-Dy_DOyLu.mjs";
2
+ import { t as DateRangePicker } from "./date-range-picker-DNZh06zo.mjs";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/features/calendar-date-picker/calendar-date-picker.tsx
5
+ /**
6
+ * @deprecated Use `DateRangePicker` (or `DatePicker`) from
7
+ * `@datum-cloud/datum-ui/picker` instead. This adapter shim ships through
8
+ * 0.10.x and is removed in 1.0.0. See `picker-migration.mdx`.
9
+ */
10
+ function CalendarDatePicker({ date, onDateSelect, closeOnSelect, numberOfMonths = 2, placeholder, excludePresets, customPresets, minDate, maxDate, disableFuture, disablePast, className, triggerClassName, popoverClassName, disabled, modal, responsive = true, sheetTitle, id }) {
11
+ useDeprecationWarning("CalendarDatePicker", "DateRangePicker");
12
+ return /* @__PURE__ */ jsx(DateRangePicker, {
13
+ value: date && date.from && date.to ? {
14
+ from: date.from,
15
+ to: date.to
16
+ } : null,
17
+ onChange: (next) => {
18
+ if (next === null) onDateSelect(void 0);
19
+ else onDateSelect({
20
+ from: next.from,
21
+ to: next.to
22
+ });
23
+ },
24
+ placeholder: placeholder ?? "Pick a date",
25
+ sheetTitle: sheetTitle ?? placeholder ?? "Pick a date",
26
+ responsive,
27
+ modal,
28
+ disabled,
29
+ className,
30
+ triggerClassName,
31
+ popoverClassName,
32
+ id,
33
+ numberOfMonths,
34
+ excludePresets,
35
+ presets: customPresets?.map((p) => ({
36
+ key: p.key,
37
+ label: p.label,
38
+ getRange: () => ({
39
+ from: p.start,
40
+ to: p.end
41
+ })
42
+ })),
43
+ minDate,
44
+ maxDate,
45
+ disableFuture,
46
+ disablePast,
47
+ commit: closeOnSelect ? "immediate" : void 0
48
+ });
49
+ }
50
+ CalendarDatePicker.displayName = "CalendarDatePicker";
51
+ //#endregion
52
+ export { CalendarDatePicker as t };
@@ -1,2 +1,2 @@
1
- import { a as ChartTooltip, i as ChartStyle, n as ChartLegend, o as ChartTooltipContent, r as ChartLegendContent, t as ChartContainer } from "../chart-CUa21ynK.mjs";
1
+ import { a as ChartTooltip, i as ChartStyle, n as ChartLegend, o as ChartTooltipContent, r as ChartLegendContent, t as ChartContainer } from "../chart-DgcOwkOh.mjs";
2
2
  export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
@@ -1,5 +1,5 @@
1
1
  import { t as cn } from "./utils-C8KwMfT_.mjs";
2
- import * as React$1 from "react";
2
+ import * as React from "react";
3
3
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
4
4
  import * as RechartsPrimitive from "recharts";
5
5
  //#region ../shadcn/ui/chart.tsx
@@ -7,14 +7,14 @@ const THEMES = {
7
7
  light: "",
8
8
  dark: ".dark"
9
9
  };
10
- const ChartContext = React$1.createContext(null);
10
+ const ChartContext = React.createContext(null);
11
11
  function useChart() {
12
- const context = React$1.useContext(ChartContext);
12
+ const context = React.useContext(ChartContext);
13
13
  if (!context) throw new Error("useChart must be used within a <ChartContainer />");
14
14
  return context;
15
15
  }
16
16
  function ChartContainer({ id, className, children, config, ...props }) {
17
- const uniqueId = React$1.useId();
17
+ const uniqueId = React.useId();
18
18
  const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
19
19
  return /* @__PURE__ */ jsx(ChartContext.Provider, {
20
20
  value: { config },
@@ -45,7 +45,7 @@ const ChartStyle = ({ id, config }) => {
45
45
  const ChartTooltip = RechartsPrimitive.Tooltip;
46
46
  function ChartTooltipContent({ active, payload, label, className, indicator = "dot", hideLabel = false, hideIndicator = false, labelFormatter, formatter, labelClassName, color, nameKey, labelKey }) {
47
47
  const { config } = useChart();
48
- const tooltipLabel = React$1.useMemo(() => {
48
+ const tooltipLabel = React.useMemo(() => {
49
49
  if (hideLabel || !payload?.length) return null;
50
50
  const [item] = payload;
51
51
  const itemConfig = getPayloadConfigFromPayload(config, item, `${labelKey || item?.dataKey || item?.name || "value"}`);
@@ -1,2 +1,2 @@
1
- import { a as formatJson, c as isValidYaml, d as CodeEditor, i as CodeEditorTabs, l as jsonToYaml, n as jsonSchema, o as formatYaml, r as yamlSchema, s as isValidJson, t as createCodeEditorSchema, u as yamlToJson } from "../types-CKIe2WlV.mjs";
1
+ import { a as formatJson, c as isValidYaml, d as CodeEditor, i as CodeEditorTabs, l as jsonToYaml, n as jsonSchema, o as formatYaml, r as yamlSchema, s as isValidJson, t as createCodeEditorSchema, u as yamlToJson } from "../types-DvMIxilw.mjs";
2
2
  export { CodeEditor, CodeEditorTabs, createCodeEditorSchema, formatJson, formatYaml, isValidJson, isValidYaml, jsonSchema, jsonToYaml, yamlSchema, yamlToJson };
@@ -1,5 +1,6 @@
1
1
  import { t as cn } from "./cn-D2KYQ917.mjs";
2
- import React, { use, useEffect, useState } from "react";
2
+ import * as React from "react";
3
+ import { use, useEffect, useState } from "react";
3
4
  import { jsx } from "react/jsx-runtime";
4
5
  //#region src/components/features/grid/constants/grid.constants.ts
5
6
  const GRID_BREAKPOINTS = {
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/base/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,cAAc;;;;;8EAuPnB,CAAA;AAED,MAAM,WAAW,WACf,SACA,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,EAC3D,YAAY,CAAC,OAAO,cAAc,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC/B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;CACzC;AAED,iBAAS,MAAM,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAqB,EAAE,WAAW,EAAE,QAAmB,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;CAAE,2CA4D5O;kBA5DQ,MAAM;;;AAgEf,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/base/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,cAAc;;;;;8EAuPnB,CAAA;AAED,MAAM,WAAW,WACf,SACA,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,EAC3D,YAAY,CAAC,OAAO,cAAc,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC/B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;CACzC;AAED,iBAAS,MAAM,CAAC,EACd,GAAG,EACH,SAAS,EACT,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,KAAK,EACL,OAAe,EACf,QAAQ,EACR,IAAI,EACJ,YAAqB,EACrB,WAAW,EACX,QAAmB,EACnB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;CAAE,2CAuEnE;kBAtFQ,MAAM;;;AA0Ff,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { NavItem } from './nav-menu';
2
2
  import { Sidebar } from '../../base/sidebar/sidebar';
3
- export declare function AppNavigation({ navItems, title, closeOnNavigation, defaultOpen, currentPath, linkComponent, loading, ...props }: React.ComponentProps<typeof Sidebar> & {
3
+ export declare function AppNavigation({ navItems, title, closeOnNavigation, defaultOpen, currentPath, linkComponent, loading, itemClassName, activeItemClassName, ...props }: React.ComponentProps<typeof Sidebar> & {
4
4
  navItems: NavItem[];
5
5
  title?: string | React.ReactNode;
6
6
  closeOnNavigation?: boolean;
@@ -12,5 +12,9 @@ export declare function AppNavigation({ navItems, title, closeOnNavigation, defa
12
12
  linkComponent?: React.ElementType;
13
13
  /** Show skeleton instead of nav items while loading */
14
14
  loading?: boolean;
15
+ /** Class applied to every nav item button. */
16
+ itemClassName?: string;
17
+ /** Class applied only to the active nav item button (e.g. `'font-bold text-primary'`). */
18
+ activeItemClassName?: string;
15
19
  }): import("react/jsx-runtime").JSX.Element;
16
20
  //# sourceMappingURL=app-navigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-navigation.d.ts","sourceRoot":"","sources":["../../../../src/components/features/app-navigation/app-navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,EACL,OAAO,EAYR,MAAM,4BAA4B,CAAA;AA2CnC,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,aAAa,EACb,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,GAAG;IACxC,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAA;IACnB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACjC,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,2CA0CA"}
1
+ {"version":3,"file":"app-navigation.d.ts","sourceRoot":"","sources":["../../../../src/components/features/app-navigation/app-navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,EACL,OAAO,EAYR,MAAM,4BAA4B,CAAA;AA2CnC,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,aAAa,EACb,OAAe,EACf,aAAa,EACb,mBAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,GAAG;IACxC,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAA;IACnB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACjC,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,0FAA0F;IAC1F,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B,2CA4CA"}
@@ -17,14 +17,17 @@ export interface NavItem {
17
17
  /** Called when the user hovers over the link (e.g. to prefetch route data). */
18
18
  onPrefetch?: () => void;
19
19
  }
20
- export declare function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp, overrideState, itemClassName, disableTooltip, closeOnNavigation, ...props }: ComponentProps<'ul'> & {
20
+ export declare function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp, overrideState, itemClassName, activeItemClassName, disableTooltip, closeOnNavigation, ...props }: ComponentProps<'ul'> & {
21
21
  items: NavItem[];
22
22
  /** Current URL pathname — replaces internal useLocation() */
23
23
  currentPath: string;
24
24
  /** Link component to render navigation links (defaults to native `<a>`) */
25
25
  linkComponent?: ElementType;
26
26
  overrideState?: 'expanded' | 'collapsed';
27
+ /** Class applied to every nav item button. */
27
28
  itemClassName?: string;
29
+ /** Class applied only to the active nav item button. Use to bold the label, change colour, etc. */
30
+ activeItemClassName?: string;
28
31
  disableTooltip?: boolean;
29
32
  closeOnNavigation?: boolean;
30
33
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"nav-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/features/app-navigation/nav-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACZ,MAAM,OAAO,CAAA;AAyBd,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,CAAA;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAM5B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IAOvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IAExB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;CACxB;AAmED,wBAAgB,OAAO,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,QAAc,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG;IAC/L,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAA;IACnB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,WAAW,CAAA;IAC3B,aAAa,CAAC,EAAE,UAAU,GAAG,WAAW,CAAA;IACxC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAAE,2CAohBrD;yBA9hBe,OAAO"}
1
+ {"version":3,"file":"nav-menu.d.ts","sourceRoot":"","sources":["../../../../src/components/features/app-navigation/nav-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACZ,MAAM,OAAO,CAAA;AAyBd,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,CAAA;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAM5B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IAOvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IAExB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;CACxB;AA0ED,wBAAgB,OAAO,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,QAAc,EAAE,aAAa,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,iBAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG;IACpN,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAA;IACnB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,WAAW,CAAA;IAC3B,aAAa,CAAC,EAAE,UAAU,GAAG,WAAW,CAAA;IACxC,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,mGAAmG;IACnG,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAAE,2CAwhBrD;yBAriBe,OAAO"}
@@ -1,9 +1,10 @@
1
1
  import type { CalendarDatePickerProps } from './types';
2
- import * as React from 'react';
3
- export type { CalendarDatePickerProps };
4
- export declare function CalendarDatePicker({ ref, id, className, triggerClassName, date, closeOnSelect, numberOfMonths, yearsRange, onDateSelect, variant, placeholder, excludePresets, customPresets, minDate, maxDate, disableFuture, disablePast, maxRange, popoverClassName, disabled, modal, responsive, sheetTitle, ...props }: CalendarDatePickerProps & {
5
- ref?: React.RefObject<HTMLButtonElement | null>;
6
- }): import("react/jsx-runtime").JSX.Element;
2
+ /**
3
+ * @deprecated Use `DateRangePicker` (or `DatePicker`) from
4
+ * `@datum-cloud/datum-ui/picker` instead. This adapter shim ships through
5
+ * 0.10.x and is removed in 1.0.0. See `picker-migration.mdx`.
6
+ */
7
+ export declare function CalendarDatePicker({ date, onDateSelect, closeOnSelect, numberOfMonths, placeholder, excludePresets, customPresets, minDate, maxDate, disableFuture, disablePast, className, triggerClassName, popoverClassName, disabled, modal, responsive, sheetTitle, id, }: CalendarDatePickerProps): import("react/jsx-runtime").JSX.Element;
7
8
  export declare namespace CalendarDatePicker {
8
9
  var displayName: string;
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-date-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/features/calendar-date-picker/calendar-date-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAEtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,YAAY,EAAE,uBAAuB,EAAE,CAAA;AAEvC,wBAAgB,kBAAkB,CAAC,EACjC,GAAG,EACH,EAA2B,EAC3B,SAAS,EACT,gBAAgB,EAChB,IAAI,EACJ,aAAqB,EACrB,cAAkB,EAClB,UAAe,EACf,YAAY,EACZ,OAAO,EACP,WAAW,EACX,cAAc,EACd,aAAa,EACb,OAAO,EACP,OAAO,EACP,aAAqB,EACrB,WAAmB,EACnB,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,KAAa,EACb,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,uBAAuB,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;CAAE,2CAiI/E;yBA1Je,kBAAkB"}
1
+ {"version":3,"file":"calendar-date-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/features/calendar-date-picker/calendar-date-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAItD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,YAAY,EACZ,aAAa,EACb,cAAkB,EAClB,WAAW,EACX,cAAc,EACd,aAAa,EACb,OAAO,EACP,OAAO,EACP,aAAa,EACb,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,EACR,KAAK,EACL,UAAiB,EACjB,UAAU,EACV,EAAE,GACH,EAAE,uBAAuB,2CAyCzB;yBA7De,kBAAkB"}
@@ -1,16 +1,35 @@
1
1
  import type { VariantProps } from 'class-variance-authority';
2
2
  import type * as React from 'react';
3
3
  import type { DateRange } from 'react-day-picker';
4
+ /**
5
+ * @deprecated Internal constant for the legacy CalendarDatePicker shim.
6
+ * Removed in 1.0.0 alongside `@datum-cloud/datum-ui/calendar-date-picker`.
7
+ */
4
8
  export declare const months: string[];
9
+ /**
10
+ * @deprecated Internal cva for the legacy CalendarDatePicker trigger.
11
+ * Removed in 1.0.0 alongside `@datum-cloud/datum-ui/calendar-date-picker`.
12
+ */
5
13
  export declare const multiSelectVariants: (props?: ({
6
14
  variant?: "default" | "secondary" | "outline" | "destructive" | "link" | "ghost" | null | undefined;
7
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
+ /**
17
+ * @deprecated Use `PickerPreset` (with `getRange`) from
18
+ * `@datum-cloud/datum-ui/picker` instead. Kept for the legacy
19
+ * `customPresets` prop on CalendarDatePicker, removed in 1.0.0.
20
+ */
8
21
  export interface DateRangePreset {
9
22
  key: string;
10
23
  label: string;
11
24
  start: Date;
12
25
  end: Date;
13
26
  }
27
+ /**
28
+ * @deprecated Use `DateRangePickerProps` (or `DatePickerProps`) from
29
+ * `@datum-cloud/datum-ui/picker` instead. Kept for the legacy
30
+ * `@datum-cloud/datum-ui/calendar-date-picker` shim, which ships through
31
+ * 0.10.x and is removed in 1.0.0. See `picker-migration.mdx`.
32
+ */
14
33
  export interface CalendarDatePickerProps extends React.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof multiSelectVariants> {
15
34
  id?: string;
16
35
  className?: string;