@datum-cloud/datum-ui 0.3.0-alpha.9d90881 → 0.3.0-alpha.f23341e

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 (142) hide show
  1. package/dist/autocomplete/index.mjs +4 -4
  2. package/dist/{autocomplete-e33EmvBu.mjs → autocomplete-B9bCkXtz.mjs} +3 -3
  3. package/dist/avatar-stack/index.mjs +2 -2
  4. package/dist/{avatar-stack-Ci0cnjxv.mjs → avatar-stack-Bh-tLz0X.mjs} +1 -1
  5. package/dist/{calendar-date-picker-BBAg78Lg.mjs → calendar-date-picker-mlbzp3xR.mjs} +2 -2
  6. package/dist/checkbox/index.mjs +1 -2
  7. package/dist/checkbox-LG1OKTpG.mjs +34 -0
  8. package/dist/collapsible/index.mjs +1 -1
  9. package/dist/command/index.mjs +2 -2
  10. package/dist/{command-DQlO6uTL.mjs → command-s0Yv3abE.mjs} +1 -1
  11. package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts +13 -12
  12. package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts.map +1 -1
  13. package/dist/components/features/data-table/components/active-filters.d.ts +5 -0
  14. package/dist/components/features/data-table/components/active-filters.d.ts.map +1 -0
  15. package/dist/components/features/data-table/components/bulk-actions.d.ts.map +1 -1
  16. package/dist/components/features/data-table/components/column-header.d.ts.map +1 -1
  17. package/dist/components/features/data-table/components/content.d.ts.map +1 -1
  18. package/dist/components/features/data-table/components/pagination.d.ts.map +1 -1
  19. package/dist/components/features/data-table/components/search.d.ts.map +1 -1
  20. package/dist/components/features/data-table/core/client-provider.d.ts +9 -2
  21. package/dist/components/features/data-table/core/client-provider.d.ts.map +1 -1
  22. package/dist/components/features/data-table/core/data-table-context.d.ts +22 -3
  23. package/dist/components/features/data-table/core/data-table-context.d.ts.map +1 -1
  24. package/dist/components/features/data-table/core/filter-engine.d.ts +16 -0
  25. package/dist/components/features/data-table/core/filter-engine.d.ts.map +1 -0
  26. package/dist/components/features/data-table/core/server-provider.d.ts +9 -2
  27. package/dist/components/features/data-table/core/server-provider.d.ts.map +1 -1
  28. package/dist/components/features/data-table/core/store.d.ts +3 -0
  29. package/dist/components/features/data-table/core/store.d.ts.map +1 -0
  30. package/dist/components/features/data-table/data-table.d.ts +1 -0
  31. package/dist/components/features/data-table/data-table.d.ts.map +1 -1
  32. package/dist/components/features/data-table/filters/checkbox-filter.d.ts.map +1 -1
  33. package/dist/components/features/data-table/filters/date-picker-filter.d.ts.map +1 -1
  34. package/dist/components/features/data-table/filters/select-filter.d.ts.map +1 -1
  35. package/dist/components/features/data-table/hooks/index.d.ts +1 -1
  36. package/dist/components/features/data-table/hooks/index.d.ts.map +1 -1
  37. package/dist/components/features/data-table/hooks/use-data-table-client.d.ts +4 -20
  38. package/dist/components/features/data-table/hooks/use-data-table-client.d.ts.map +1 -1
  39. package/dist/components/features/data-table/hooks/use-data-table-server.d.ts +4 -19
  40. package/dist/components/features/data-table/hooks/use-data-table-server.d.ts.map +1 -1
  41. package/dist/components/features/data-table/hooks/use-is-client.d.ts +8 -0
  42. package/dist/components/features/data-table/hooks/use-is-client.d.ts.map +1 -0
  43. package/dist/components/features/data-table/hooks/use-selectors.d.ts +50 -0
  44. package/dist/components/features/data-table/hooks/use-selectors.d.ts.map +1 -0
  45. package/dist/components/features/data-table/index.d.ts +3 -4
  46. package/dist/components/features/data-table/index.d.ts.map +1 -1
  47. package/dist/components/features/data-table/types.d.ts +69 -0
  48. package/dist/components/features/data-table/types.d.ts.map +1 -1
  49. package/dist/data-table/index.mjs +1039 -550
  50. package/dist/date-picker/index.mjs +5 -5
  51. package/dist/dialog/index.mjs +2 -2
  52. package/dist/{dialog-B2EZJW-q.mjs → dialog-bnMMf9GD.mjs} +2 -2
  53. package/dist/dropdown/index.mjs +1 -1
  54. package/dist/dropzone/index.mjs +1 -1
  55. package/dist/empty-content/index.mjs +1 -1
  56. package/dist/form/index.mjs +12 -12
  57. package/dist/grid/index.mjs +1 -1
  58. package/dist/hooks/index.mjs +2 -2
  59. package/dist/hover-card/index.mjs +1 -1
  60. package/dist/icons/index.mjs +1 -1
  61. package/dist/index.mjs +50 -52
  62. package/dist/input/index.mjs +2 -2
  63. package/dist/{input-D241oNEm.mjs → input-fzXBheCN.mjs} +1 -1
  64. package/dist/input-group/index.mjs +3 -3
  65. package/dist/{input-group-uobp64zr.mjs → input-group-CPaFSTEV.mjs} +2 -2
  66. package/dist/input-number/index.mjs +2 -2
  67. package/dist/{input-number-CEMgBk8-.mjs → input-number-D9ydFith.mjs} +1 -1
  68. package/dist/input-with-addons/index.mjs +1 -1
  69. package/dist/label/index.mjs +1 -2
  70. package/dist/{label-byipFGok.mjs → label-_ste_Re3.mjs} +12 -1
  71. package/dist/loader-overlay/index.mjs +1 -1
  72. package/dist/map/index.mjs +8 -8
  73. package/dist/{map-DupFPkJT.mjs → map-ClJD-qxm.mjs} +5 -5
  74. package/dist/more-actions/index.mjs +2 -2
  75. package/dist/{more-actions-D6OyqZQS.mjs → more-actions-DbC8dyed.mjs} +2 -2
  76. package/dist/page-title/index.mjs +1 -1
  77. package/dist/popover/index.mjs +1 -1
  78. package/dist/radio-group/index.mjs +1 -1
  79. package/dist/select/index.mjs +1 -1
  80. package/dist/{select-BznmyqBr.mjs → select-CwVIFWFO.mjs} +1 -1
  81. package/dist/sheet/index.mjs +2 -2
  82. package/dist/{sheet-Bmayi68h.mjs → sheet-mx5XjyEY.mjs} +2 -2
  83. package/dist/sidebar/index.mjs +6 -6
  84. package/dist/{sidebar-D2zE7rPy.mjs → sidebar-C4NqSr4r.mjs} +5 -5
  85. package/dist/skeleton/index.mjs +1 -1
  86. package/dist/spinner/index.mjs +1 -1
  87. package/dist/stepper/index.mjs +1 -1
  88. package/dist/switch/index.mjs +1 -1
  89. package/dist/table/index.mjs +1 -1
  90. package/dist/tabs/index.mjs +1 -1
  91. package/dist/tag-input/index.mjs +2 -2
  92. package/dist/{tag-input-BI8IRBDH.mjs → tag-input-BfHaKoMF.mjs} +1 -1
  93. package/dist/task-queue/index.mjs +4 -4
  94. package/dist/{task-queue-dropdown-D6k067_W.mjs → task-queue-dropdown-fo3TX58Q.mjs} +4 -4
  95. package/dist/textarea/index.mjs +2 -2
  96. package/dist/{textarea-BZ85VFsJ.mjs → textarea-X4OjkqLJ.mjs} +1 -1
  97. package/dist/theme/index.mjs +1 -1
  98. package/dist/{to-api-format-CXQ7knV4.mjs → to-api-format-zI26rEBI.mjs} +3 -3
  99. package/dist/toast/index.mjs +1 -1
  100. package/dist/tooltip/index.mjs +1 -1
  101. package/dist/typography/index.mjs +1 -1
  102. package/dist/{use-copy-to-clipboard-CC2hhyYI.mjs → use-copy-to-clipboard-C7xqNxBX.mjs} +1 -1
  103. package/dist/{use-stepper-CU75TdjZ.mjs → use-stepper-CB1injte.mjs} +14 -14
  104. package/dist/{use-toast-BLBGnOC3.mjs → use-toast-DN-fZBzJ.mjs} +1 -1
  105. package/dist/visually-hidden/index.mjs +1 -1
  106. package/package.json +57 -3
  107. package/dist/checkbox-DB5_3E_l.mjs +0 -22
  108. package/dist/checkbox-DMC1Mhaw.mjs +0 -17
  109. package/dist/components/features/data-table/hooks/use-data-table-context.d.ts +0 -2
  110. package/dist/components/features/data-table/hooks/use-data-table-context.d.ts.map +0 -1
  111. package/dist/components/features/data-table/hooks/use-inline-contents.d.ts +0 -7
  112. package/dist/components/features/data-table/hooks/use-inline-contents.d.ts.map +0 -1
  113. package/dist/label-ClzLBWRT.mjs +0 -16
  114. /package/dist/{close.icon-D2r5q3bj.mjs → close.icon-CMNMoXM_.mjs} +0 -0
  115. /package/dist/{col-Cg_2sTDA.mjs → col-RfO7d6AR.mjs} +0 -0
  116. /package/dist/{collapsible-Dw71o2um.mjs → collapsible-Bt9UYfv3.mjs} +0 -0
  117. /package/dist/{dialog-Bm4trnic.mjs → dialog-DXBaT9gA.mjs} +0 -0
  118. /package/dist/{dropdown-DLZXinlT.mjs → dropdown-Cs7Xr8w7.mjs} +0 -0
  119. /package/dist/{dropdown-menu-Xahj42Gr.mjs → dropdown-menu-DAFyO-qD.mjs} +0 -0
  120. /package/dist/{dropzone-CGyjGnER.mjs → dropzone-BT5fEDEF.mjs} +0 -0
  121. /package/dist/{empty-content-ByvwjHUs.mjs → empty-content-iDu3NUqG.mjs} +0 -0
  122. /package/dist/{hover-card-BNrHtWy6.mjs → hover-card-CUPfFUqE.mjs} +0 -0
  123. /package/dist/{input-C-ZmsHkk.mjs → input-DuyjEKEW.mjs} +0 -0
  124. /package/dist/{input-with-addons-DzuyGa6G.mjs → input-with-addons-CdgiUQce.mjs} +0 -0
  125. /package/dist/{loader-overlay-CbxcjyHV.mjs → loader-overlay-D83QeQNj.mjs} +0 -0
  126. /package/dist/{map-leaflet-imports-CgEyVRnp.mjs → map-leaflet-imports-CdzvEnzY.mjs} +0 -0
  127. /package/dist/{page-title-CrYQ091u.mjs → page-title-SGchAF6Y.mjs} +0 -0
  128. /package/dist/{popover-CYzXdp9q.mjs → popover-Ds9624qY.mjs} +0 -0
  129. /package/dist/{radio-group-WZCIDQCH.mjs → radio-group-B9Hm77LQ.mjs} +0 -0
  130. /package/dist/{sheet-b9V9soz8.mjs → sheet-Cemwh78x.mjs} +0 -0
  131. /package/dist/{skeleton-D3qW_KvG.mjs → skeleton-Cs6Q5GQc.mjs} +0 -0
  132. /package/dist/{spinner-CKTGKv5n.mjs → spinner-earfjpJs.mjs} +0 -0
  133. /package/dist/{stepper-B07hPGG7.mjs → stepper-BG9DIzN5.mjs} +0 -0
  134. /package/dist/{switch-CujyyOi6.mjs → switch-B2VVauH6.mjs} +0 -0
  135. /package/dist/{table-fZEvpdD-.mjs → table-Dc3HfbM4.mjs} +0 -0
  136. /package/dist/{tabs-B7cW59gB.mjs → tabs-Ccb4uqbe.mjs} +0 -0
  137. /package/dist/{textarea-BSkDKiej.mjs → textarea-QYRcDEpK.mjs} +0 -0
  138. /package/dist/{theme.provider-BG3cS9xe.mjs → theme.provider-Nun_O9-O.mjs} +0 -0
  139. /package/dist/{tooltip-CbCWKEzu.mjs → tooltip-DZFG1iMs.mjs} +0 -0
  140. /package/dist/{typography-DdrxIJMd.mjs → typography-T7WgvO77.mjs} +0 -0
  141. /package/dist/{use-debounce-Dc95PFRX.mjs → use-debounce-Ctljs3MB.mjs} +0 -0
  142. /package/dist/{visuallyhidden-CfBnXfvh.mjs → visuallyhidden-CgkVhApW.mjs} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { t as cn } from "./cn-DWCc1QRE.mjs";
2
2
  import { t as Badge } from "./badge-bFgeYceE.mjs";
3
3
  import { t as Icon } from "./icon-wrapper-9ticVbRL.mjs";
4
- import { t as Input } from "./input-D241oNEm.mjs";
4
+ import { t as Input } from "./input-fzXBheCN.mjs";
5
5
  import { X } from "lucide-react";
6
6
  import React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import "../utils-Bfgoe-Gm.mjs";
2
- import "../dialog-Bm4trnic.mjs";
3
- import "../table-fZEvpdD-.mjs";
4
- import "../tooltip-CbCWKEzu.mjs";
5
- import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "../task-queue-dropdown-D6k067_W.mjs";
2
+ import "../dialog-DXBaT9gA.mjs";
3
+ import "../table-Dc3HfbM4.mjs";
4
+ import "../tooltip-DZFG1iMs.mjs";
5
+ import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "../task-queue-dropdown-fo3TX58Q.mjs";
6
6
 
7
7
  export { LocalTaskStorage, RedisTaskStorage, TaskPanel, TaskPanelActions, TaskPanelCounter, TaskPanelHeader, TaskPanelItem, TaskQueue, TaskQueueDropdown, TaskQueueProvider, TaskQueueTrigger, TaskSummaryDialog, createOrgMetadata, createProjectMetadata, createUserMetadata, detectStorage, getContextLabel, matchesCurrentScope, useCurrentScope, useTaskQueue, useTasksWithLabels };
@@ -3,10 +3,10 @@ import { t as Badge } from "./badge-bFgeYceE.mjs";
3
3
  import { t as SpinnerIcon } from "./spinner.icon-Bg8zgGh0.mjs";
4
4
  import { t as Button } from "./button-C1wRfGtT.mjs";
5
5
  import { t as Icon } from "./icon-wrapper-9ticVbRL.mjs";
6
- import { t as Dialog } from "./dialog-B2EZJW-q.mjs";
7
- import { c as TableRow, i as TableCell, n as TableBody, o as TableHead, s as TableHeader, t as Table } from "./table-fZEvpdD-.mjs";
8
- import { a as TooltipTrigger, n as Tooltip, r as TooltipContent, t as Tooltip$1 } from "./tooltip-CbCWKEzu.mjs";
9
- import { h as DropdownMenuTrigger, r as DropdownMenuContent, t as DropdownMenu } from "./dropdown-DLZXinlT.mjs";
6
+ import { t as Dialog } from "./dialog-bnMMf9GD.mjs";
7
+ import { c as TableRow, i as TableCell, n as TableBody, o as TableHead, s as TableHeader, t as Table } from "./table-Dc3HfbM4.mjs";
8
+ import { a as TooltipTrigger, n as Tooltip, r as TooltipContent, t as Tooltip$1 } from "./tooltip-DZFG1iMs.mjs";
9
+ import { h as DropdownMenuTrigger, r as DropdownMenuContent, t as DropdownMenu } from "./dropdown-Cs7Xr8w7.mjs";
10
10
  import { Ban, CheckCircle2, CircleAlert, CircleCheck, CornerDownRightIcon, FileIcon, ListTodo, X, XCircle } from "lucide-react";
11
11
  import { createContext, use, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
12
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import "../utils-Bfgoe-Gm.mjs";
2
- import "../textarea-BSkDKiej.mjs";
3
- import { t as Textarea } from "../textarea-BZ85VFsJ.mjs";
2
+ import "../textarea-QYRcDEpK.mjs";
3
+ import { t as Textarea } from "../textarea-X4OjkqLJ.mjs";
4
4
 
5
5
  export { Textarea };
@@ -1,5 +1,5 @@
1
1
  import { t as cn } from "./cn-DWCc1QRE.mjs";
2
- import { t as Textarea$1 } from "./textarea-BSkDKiej.mjs";
2
+ import { t as Textarea$1 } from "./textarea-QYRcDEpK.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,3 +1,3 @@
1
- import { i as ClientOnly, n as useTheme, r as ThemeScript, t as ThemeProvider } from "../theme.provider-BG3cS9xe.mjs";
1
+ import { i as ClientOnly, n as useTheme, r as ThemeScript, t as ThemeProvider } from "../theme.provider-Nun_O9-O.mjs";
2
2
 
3
3
  export { ClientOnly, ThemeProvider, ThemeScript, useTheme };
@@ -3,9 +3,9 @@ import { t as Button } from "./button-C1wRfGtT.mjs";
3
3
  import { t as Separator } from "./separator-T2ppyD-8.mjs";
4
4
  import { t as Icon } from "./icon-wrapper-9ticVbRL.mjs";
5
5
  import { t as Calendar$1 } from "./calendar-DlIHeWb0.mjs";
6
- import { t as Input } from "./input-D241oNEm.mjs";
7
- import { i as PopoverTrigger, r as PopoverContent, t as Popover } from "./popover-CYzXdp9q.mjs";
8
- import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-BznmyqBr.mjs";
6
+ import { t as Input } from "./input-fzXBheCN.mjs";
7
+ import { i as PopoverTrigger, r as PopoverContent, t as Popover } from "./popover-Ds9624qY.mjs";
8
+ import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-CwVIFWFO.mjs";
9
9
  import { Calendar, CalendarIcon, Globe, X } from "lucide-react";
10
10
  import { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,3 +1,3 @@
1
- import { n as Toaster, r as toast, t as useToast } from "../use-toast-BLBGnOC3.mjs";
1
+ import { n as Toaster, r as toast, t as useToast } from "../use-toast-DN-fZBzJ.mjs";
2
2
 
3
3
  export { Toaster, toast, useToast };
@@ -1,4 +1,4 @@
1
1
  import "../utils-Bfgoe-Gm.mjs";
2
- import { t as Tooltip } from "../tooltip-CbCWKEzu.mjs";
2
+ import { t as Tooltip } from "../tooltip-DZFG1iMs.mjs";
3
3
 
4
4
  export { Tooltip };
@@ -1,3 +1,3 @@
1
- import { a as ListItem, c as Title, d as titleVariants, i as List, l as paragraphVariants, n as Code, o as Paragraph, r as Link, s as Text, t as Blockquote, u as textVariants } from "../typography-DdrxIJMd.mjs";
1
+ import { a as ListItem, c as Title, d as titleVariants, i as List, l as paragraphVariants, n as Code, o as Paragraph, r as Link, s as Text, t as Blockquote, u as textVariants } from "../typography-T7WgvO77.mjs";
2
2
 
3
3
  export { Blockquote, Code, Link, List, ListItem, Paragraph, Text, Title, paragraphVariants, textVariants, titleVariants };
@@ -1,4 +1,4 @@
1
- import { r as toast } from "./use-toast-BLBGnOC3.mjs";
1
+ import { r as toast } from "./use-toast-DN-fZBzJ.mjs";
2
2
  import { useCallback, useEffect, useRef, useState } from "react";
3
3
 
4
4
  //#region src/hooks/use-copy-to-clipboard.ts
@@ -1,20 +1,20 @@
1
1
  import { t as cn } from "./cn-DWCc1QRE.mjs";
2
2
  import { t as Button } from "./button-C1wRfGtT.mjs";
3
3
  import { t as Icon } from "./icon-wrapper-9ticVbRL.mjs";
4
- import { t as Checkbox } from "./checkbox-DMC1Mhaw.mjs";
5
- import { t as Dialog } from "./dialog-B2EZJW-q.mjs";
6
- import { t as Input } from "./input-D241oNEm.mjs";
7
- import { t as Label } from "./label-byipFGok.mjs";
8
- import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-WZCIDQCH.mjs";
9
- import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-BznmyqBr.mjs";
10
- import { t as Switch } from "./switch-CujyyOi6.mjs";
11
- import { t as Textarea } from "./textarea-BZ85VFsJ.mjs";
12
- import { t as Tooltip } from "./tooltip-CbCWKEzu.mjs";
13
- import { t as Autocomplete } from "./autocomplete-e33EmvBu.mjs";
14
- import { r as toast } from "./use-toast-BLBGnOC3.mjs";
15
- import { t as useCopyToClipboard } from "./use-copy-to-clipboard-CC2hhyYI.mjs";
16
- import { t as defineStepper } from "./stepper-B07hPGG7.mjs";
17
- import { t as InputWithAddons } from "./input-with-addons-DzuyGa6G.mjs";
4
+ import { t as Checkbox } from "./checkbox-LG1OKTpG.mjs";
5
+ import { t as Dialog } from "./dialog-bnMMf9GD.mjs";
6
+ import { t as Input } from "./input-fzXBheCN.mjs";
7
+ import { t as Label } from "./label-_ste_Re3.mjs";
8
+ import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-B9Hm77LQ.mjs";
9
+ import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-CwVIFWFO.mjs";
10
+ import { t as Switch } from "./switch-B2VVauH6.mjs";
11
+ import { t as Textarea } from "./textarea-X4OjkqLJ.mjs";
12
+ import { t as Tooltip } from "./tooltip-DZFG1iMs.mjs";
13
+ import { t as Autocomplete } from "./autocomplete-B9bCkXtz.mjs";
14
+ import { r as toast } from "./use-toast-DN-fZBzJ.mjs";
15
+ import { t as useCopyToClipboard } from "./use-copy-to-clipboard-C7xqNxBX.mjs";
16
+ import { t as defineStepper } from "./stepper-BG9DIzN5.mjs";
17
+ import { t as InputWithAddons } from "./input-with-addons-CdgiUQce.mjs";
18
18
  import { Form } from "./form/index.mjs";
19
19
  import { CheckIcon, CircleHelp, CopyIcon } from "lucide-react";
20
20
  import * as React$1 from "react";
@@ -1,5 +1,5 @@
1
1
  import { t as cn } from "./cn-DWCc1QRE.mjs";
2
- import { t as CloseIcon } from "./close.icon-D2r5q3bj.mjs";
2
+ import { t as CloseIcon } from "./close.icon-CMNMoXM_.mjs";
3
3
  import { createElement, useEffect } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Toaster, toast } from "sonner";
@@ -1,3 +1,3 @@
1
- import { t as VisuallyHidden } from "../visuallyhidden-CfBnXfvh.mjs";
1
+ import { t as VisuallyHidden } from "../visuallyhidden-CgkVhApW.mjs";
2
2
 
3
3
  export { VisuallyHidden };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datum-cloud/datum-ui",
3
3
  "type": "module",
4
- "version": "0.3.0-alpha.9d90881",
4
+ "version": "0.3.0-alpha.f23341e",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "url": "https://github.com/datum-cloud/datum-ui"
@@ -11,6 +11,7 @@
11
11
  ],
12
12
  "exports": {
13
13
  ".": {
14
+ "source": "./src/index.ts",
14
15
  "types": "./dist/index.d.ts",
15
16
  "default": "./dist/index.mjs"
16
17
  },
@@ -19,166 +20,207 @@
19
20
  "default": "./dist/styles/root.css"
20
21
  },
21
22
  "./theme": {
23
+ "source": "./src/components/themes/index.ts",
22
24
  "types": "./dist/components/themes/index.d.ts",
23
25
  "default": "./dist/theme/index.mjs"
24
26
  },
25
27
  "./hooks": {
28
+ "source": "./src/hooks/index.ts",
26
29
  "types": "./dist/hooks/index.d.ts",
27
30
  "default": "./dist/hooks/index.mjs"
28
31
  },
29
32
  "./icons": {
33
+ "source": "./src/components/icons/index.ts",
30
34
  "types": "./dist/components/icons/index.d.ts",
31
35
  "default": "./dist/icons/index.mjs"
32
36
  },
33
37
  "./utils": {
38
+ "source": "./src/utils/index.ts",
34
39
  "types": "./dist/utils/index.d.ts",
35
40
  "default": "./dist/utils/index.mjs"
36
41
  },
37
42
  "./alert": {
43
+ "source": "./src/components/base/alert/index.ts",
38
44
  "types": "./dist/components/base/alert/index.d.ts",
39
45
  "default": "./dist/alert/index.mjs"
40
46
  },
41
47
  "./badge": {
48
+ "source": "./src/components/base/badge/index.ts",
42
49
  "types": "./dist/components/base/badge/index.d.ts",
43
50
  "default": "./dist/badge/index.mjs"
44
51
  },
45
52
  "./breadcrumb": {
53
+ "source": "./src/components/base/breadcrumb/index.ts",
46
54
  "types": "./dist/components/base/breadcrumb/index.d.ts",
47
55
  "default": "./dist/breadcrumb/index.mjs"
48
56
  },
49
57
  "./button": {
58
+ "source": "./src/components/base/button/index.tsx",
50
59
  "types": "./dist/components/base/button/index.d.ts",
51
60
  "default": "./dist/button/index.mjs"
52
61
  },
53
62
  "./button-group": {
63
+ "source": "./src/components/base/button-group/index.ts",
54
64
  "types": "./dist/components/base/button-group/index.d.ts",
55
65
  "default": "./dist/button-group/index.mjs"
56
66
  },
57
67
  "./calendar": {
68
+ "source": "./src/components/base/calendar/index.ts",
58
69
  "types": "./dist/components/base/calendar/index.d.ts",
59
70
  "default": "./dist/calendar/index.mjs"
60
71
  },
61
72
  "./card": {
73
+ "source": "./src/components/base/card/index.ts",
62
74
  "types": "./dist/components/base/card/index.d.ts",
63
75
  "default": "./dist/card/index.mjs"
64
76
  },
65
77
  "./chart": {
78
+ "source": "./src/components/base/chart/index.ts",
66
79
  "types": "./dist/components/base/chart/index.d.ts",
67
80
  "default": "./dist/chart/index.mjs"
68
81
  },
69
82
  "./checkbox": {
83
+ "source": "./src/components/base/checkbox/index.ts",
70
84
  "types": "./dist/components/base/checkbox/index.d.ts",
71
85
  "default": "./dist/checkbox/index.mjs"
72
86
  },
73
87
  "./collapsible": {
88
+ "source": "./src/components/base/collapsible/index.ts",
74
89
  "types": "./dist/components/base/collapsible/index.d.ts",
75
90
  "default": "./dist/collapsible/index.mjs"
76
91
  },
77
92
  "./command": {
93
+ "source": "./src/components/base/command/index.ts",
78
94
  "types": "./dist/components/base/command/index.d.ts",
79
95
  "default": "./dist/command/index.mjs"
80
96
  },
81
97
  "./dialog": {
98
+ "source": "./src/components/base/dialog/index.ts",
82
99
  "types": "./dist/components/base/dialog/index.d.ts",
83
100
  "default": "./dist/dialog/index.mjs"
84
101
  },
85
102
  "./hover-card": {
103
+ "source": "./src/components/base/hover-card/index.ts",
86
104
  "types": "./dist/components/base/hover-card/index.d.ts",
87
105
  "default": "./dist/hover-card/index.mjs"
88
106
  },
89
107
  "./input": {
108
+ "source": "./src/components/base/input/index.ts",
90
109
  "types": "./dist/components/base/input/index.d.ts",
91
110
  "default": "./dist/input/index.mjs"
92
111
  },
93
112
  "./input-group": {
113
+ "source": "./src/components/base/input-group/index.ts",
94
114
  "types": "./dist/components/base/input-group/index.d.ts",
95
115
  "default": "./dist/input-group/index.mjs"
96
116
  },
97
117
  "./label": {
118
+ "source": "./src/components/base/label/index.ts",
98
119
  "types": "./dist/components/base/label/index.d.ts",
99
120
  "default": "./dist/label/index.mjs"
100
121
  },
101
122
  "./popover": {
123
+ "source": "./src/components/base/popover/index.ts",
102
124
  "types": "./dist/components/base/popover/index.d.ts",
103
125
  "default": "./dist/popover/index.mjs"
104
126
  },
105
127
  "./radio-group": {
128
+ "source": "./src/components/base/radio-group/index.ts",
106
129
  "types": "./dist/components/base/radio-group/index.d.ts",
107
130
  "default": "./dist/radio-group/index.mjs"
108
131
  },
109
132
  "./select": {
133
+ "source": "./src/components/base/select/index.ts",
110
134
  "types": "./dist/components/base/select/index.d.ts",
111
135
  "default": "./dist/select/index.mjs"
112
136
  },
113
137
  "./separator": {
138
+ "source": "./src/components/base/separator/index.ts",
114
139
  "types": "./dist/components/base/separator/index.d.ts",
115
140
  "default": "./dist/separator/index.mjs"
116
141
  },
117
142
  "./sheet": {
143
+ "source": "./src/components/base/sheet/index.ts",
118
144
  "types": "./dist/components/base/sheet/index.d.ts",
119
145
  "default": "./dist/sheet/index.mjs"
120
146
  },
121
147
  "./skeleton": {
148
+ "source": "./src/components/base/skeleton/index.ts",
122
149
  "types": "./dist/components/base/skeleton/index.d.ts",
123
150
  "default": "./dist/skeleton/index.mjs"
124
151
  },
125
152
  "./spinner": {
153
+ "source": "./src/components/base/spinner/index.ts",
126
154
  "types": "./dist/components/base/spinner/index.d.ts",
127
155
  "default": "./dist/spinner/index.mjs"
128
156
  },
129
157
  "./switch": {
158
+ "source": "./src/components/base/switch/index.ts",
130
159
  "types": "./dist/components/base/switch/index.d.ts",
131
160
  "default": "./dist/switch/index.mjs"
132
161
  },
133
162
  "./table": {
163
+ "source": "./src/components/base/table/index.ts",
134
164
  "types": "./dist/components/base/table/index.d.ts",
135
165
  "default": "./dist/table/index.mjs"
136
166
  },
137
167
  "./tabs": {
168
+ "source": "./src/components/base/tabs/index.ts",
138
169
  "types": "./dist/components/base/tabs/index.d.ts",
139
170
  "default": "./dist/tabs/index.mjs"
140
171
  },
141
172
  "./textarea": {
173
+ "source": "./src/components/base/textarea/index.ts",
142
174
  "types": "./dist/components/base/textarea/index.d.ts",
143
175
  "default": "./dist/textarea/index.mjs"
144
176
  },
145
177
  "./tooltip": {
178
+ "source": "./src/components/base/tooltip/index.ts",
146
179
  "types": "./dist/components/base/tooltip/index.d.ts",
147
180
  "default": "./dist/tooltip/index.mjs"
148
181
  },
149
182
  "./typography": {
183
+ "source": "./src/components/base/typography/index.ts",
150
184
  "types": "./dist/components/base/typography/index.d.ts",
151
185
  "default": "./dist/typography/index.mjs"
152
186
  },
153
187
  "./visually-hidden": {
188
+ "source": "./src/components/base/visuallyhidden/index.ts",
154
189
  "types": "./dist/components/base/visuallyhidden/index.d.ts",
155
190
  "default": "./dist/visually-hidden/index.mjs"
156
191
  },
157
192
  "./autocomplete": {
193
+ "source": "./src/components/features/autocomplete/index.ts",
158
194
  "types": "./dist/components/features/autocomplete/index.d.ts",
159
195
  "default": "./dist/autocomplete/index.mjs"
160
196
  },
161
197
  "./avatar-stack": {
198
+ "source": "./src/components/features/avatar-stack/index.ts",
162
199
  "types": "./dist/components/features/avatar-stack/index.d.ts",
163
200
  "default": "./dist/avatar-stack/index.mjs"
164
201
  },
165
202
  "./date-picker": {
203
+ "source": "./src/components/features/date-picker/index.ts",
166
204
  "types": "./dist/components/features/date-picker/index.d.ts",
167
205
  "default": "./dist/date-picker/index.mjs"
168
206
  },
169
207
  "./dropdown": {
208
+ "source": "./src/components/features/dropdown/index.ts",
170
209
  "types": "./dist/components/features/dropdown/index.d.ts",
171
210
  "default": "./dist/dropdown/index.mjs"
172
211
  },
173
212
  "./dropzone": {
213
+ "source": "./src/components/features/dropzone/index.ts",
174
214
  "types": "./dist/components/features/dropzone/index.d.ts",
175
215
  "default": "./dist/dropzone/index.mjs"
176
216
  },
177
217
  "./empty-content": {
218
+ "source": "./src/components/features/empty-content/index.ts",
178
219
  "types": "./dist/components/features/empty-content/index.d.ts",
179
220
  "default": "./dist/empty-content/index.mjs"
180
221
  },
181
222
  "./form": {
223
+ "source": "./src/components/features/form/index.ts",
182
224
  "types": "./dist/components/features/form/index.d.ts",
183
225
  "default": "./dist/form/index.mjs"
184
226
  },
@@ -188,22 +230,27 @@
188
230
  "default": "./dist/grid/index.mjs"
189
231
  },
190
232
  "./input-number": {
233
+ "source": "./src/components/features/input-number/index.ts",
191
234
  "types": "./dist/components/features/input-number/index.d.ts",
192
235
  "default": "./dist/input-number/index.mjs"
193
236
  },
194
237
  "./input-with-addons": {
238
+ "source": "./src/components/features/input-with-addons/index.ts",
195
239
  "types": "./dist/components/features/input-with-addons/index.d.ts",
196
240
  "default": "./dist/input-with-addons/index.mjs"
197
241
  },
198
242
  "./loader-overlay": {
243
+ "source": "./src/components/features/loader-overlay/index.ts",
199
244
  "types": "./dist/components/features/loader-overlay/index.d.ts",
200
245
  "default": "./dist/loader-overlay/index.mjs"
201
246
  },
202
247
  "./map": {
248
+ "source": "./src/exports/map.ts",
203
249
  "types": "./dist/exports/map.d.ts",
204
250
  "default": "./dist/map/index.mjs"
205
251
  },
206
252
  "./more-actions": {
253
+ "source": "./src/components/features/more-actions/index.ts",
207
254
  "types": "./dist/components/features/more-actions/index.d.ts",
208
255
  "default": "./dist/more-actions/index.mjs"
209
256
  },
@@ -213,30 +260,37 @@
213
260
  "default": "./dist/nprogress/index.mjs"
214
261
  },
215
262
  "./page-title": {
263
+ "source": "./src/components/features/page-title/index.ts",
216
264
  "types": "./dist/components/features/page-title/index.d.ts",
217
265
  "default": "./dist/page-title/index.mjs"
218
266
  },
219
267
  "./sidebar": {
268
+ "source": "./src/components/features/sidebar/index.ts",
220
269
  "types": "./dist/components/features/sidebar/index.d.ts",
221
270
  "default": "./dist/sidebar/index.mjs"
222
271
  },
223
272
  "./stepper": {
273
+ "source": "./src/components/features/stepper/index.ts",
224
274
  "types": "./dist/components/features/stepper/index.d.ts",
225
275
  "default": "./dist/stepper/index.mjs"
226
276
  },
227
277
  "./tag-input": {
278
+ "source": "./src/components/features/tag-input/index.ts",
228
279
  "types": "./dist/components/features/tag-input/index.d.ts",
229
280
  "default": "./dist/tag-input/index.mjs"
230
281
  },
231
282
  "./task-queue": {
283
+ "source": "./src/components/features/task-queue/index.ts",
232
284
  "types": "./dist/components/features/task-queue/index.d.ts",
233
285
  "default": "./dist/task-queue/index.mjs"
234
286
  },
235
287
  "./toast": {
288
+ "source": "./src/components/features/toast/index.ts",
236
289
  "types": "./dist/components/features/toast/index.d.ts",
237
290
  "default": "./dist/toast/index.mjs"
238
291
  },
239
292
  "./data-table": {
293
+ "source": "./src/components/features/data-table/index.ts",
240
294
  "types": "./dist/components/features/data-table/index.d.ts",
241
295
  "default": "./dist/data-table/index.mjs"
242
296
  }
@@ -462,8 +516,8 @@
462
516
  "typescript": "^5.9",
463
517
  "vitest": "^3",
464
518
  "zod": "^4.3.6",
465
- "@repo/shadcn": "0.0.0",
466
- "@repo/config": "0.0.0"
519
+ "@repo/config": "0.0.0",
520
+ "@repo/shadcn": "0.0.0"
467
521
  },
468
522
  "publishConfig": {
469
523
  "access": "public"
@@ -1,22 +0,0 @@
1
- import { t as cn } from "./utils-Bfgoe-Gm.mjs";
2
- import { CheckIcon } from "lucide-react";
3
- import "react";
4
- import { jsx } from "react/jsx-runtime";
5
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
6
-
7
- //#region ../shadcn/ui/checkbox.tsx
8
- function Checkbox({ className, ...props }) {
9
- return /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
10
- "data-slot": "checkbox",
11
- className: cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
12
- ...props,
13
- children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
14
- "data-slot": "checkbox-indicator",
15
- className: "flex items-center justify-center text-current transition-none",
16
- children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5" })
17
- })
18
- });
19
- }
20
-
21
- //#endregion
22
- export { Checkbox as t };
@@ -1,17 +0,0 @@
1
- import { t as cn } from "./cn-DWCc1QRE.mjs";
2
- import { t as Checkbox$1 } from "./checkbox-DB5_3E_l.mjs";
3
- import "react";
4
- import { jsx } from "react/jsx-runtime";
5
-
6
- //#region src/components/base/checkbox/checkbox.tsx
7
- function Checkbox({ ref, className, ...props }) {
8
- return /* @__PURE__ */ jsx(Checkbox$1, {
9
- ref,
10
- className: cn(className),
11
- ...props
12
- });
13
- }
14
- Checkbox.displayName = "Checkbox";
15
-
16
- //#endregion
17
- export { Checkbox as t };
@@ -1,2 +0,0 @@
1
- export { useDataTableContext } from '../core/data-table-context';
2
- //# sourceMappingURL=use-data-table-context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-data-table-context.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/data-table/hooks/use-data-table-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA"}
@@ -1,7 +0,0 @@
1
- import type { InlineContentEntry } from '../types';
2
- export declare function useInlineContents<TData>(): {
3
- inlineContents: InlineContentEntry<TData>[];
4
- registerInlineContent: (entry: InlineContentEntry<TData>) => void;
5
- unregisterInlineContent: (id: string) => void;
6
- };
7
- //# sourceMappingURL=use-inline-contents.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-inline-contents.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/data-table/hooks/use-inline-contents.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAGlD,wBAAgB,iBAAiB,CAAC,KAAK;;mCAGa,kBAAkB,CAAC,KAAK,CAAC;kCAY1B,MAAM;EAKxD"}
@@ -1,16 +0,0 @@
1
- import { t as cn } from "./utils-Bfgoe-Gm.mjs";
2
- import "react";
3
- import { jsx } from "react/jsx-runtime";
4
- import * as LabelPrimitive from "@radix-ui/react-label";
5
-
6
- //#region ../shadcn/ui/label.tsx
7
- const Label = ({ className, ...props }) => {
8
- return /* @__PURE__ */ jsx(LabelPrimitive.Root, {
9
- "data-slot": "label",
10
- className: cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className),
11
- ...props
12
- });
13
- };
14
-
15
- //#endregion
16
- export { Label as t };
File without changes
File without changes
File without changes
File without changes
File without changes