@datum-cloud/datum-ui 0.2.1 → 0.3.0-alpha.1a6419a

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 (134) hide show
  1. package/dist/autocomplete/index.mjs +2 -2
  2. package/dist/{autocomplete-DZtI97HP.mjs → autocomplete-B9bCkXtz.mjs} +2 -2
  3. package/dist/avatar-stack/index.mjs +2 -2
  4. package/dist/{avatar-stack-JCfBlPB9.mjs → avatar-stack-Bh-tLz0X.mjs} +1 -1
  5. package/dist/calendar-date-picker-mlbzp3xR.mjs +665 -0
  6. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +2 -1
  7. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +1 -1
  8. package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts +46 -0
  9. package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts.map +1 -0
  10. package/dist/components/features/data-table/columns/selection-column.d.ts +6 -0
  11. package/dist/components/features/data-table/columns/selection-column.d.ts.map +1 -0
  12. package/dist/components/features/data-table/components/active-filters.d.ts +5 -0
  13. package/dist/components/features/data-table/components/active-filters.d.ts.map +1 -0
  14. package/dist/components/features/data-table/components/bulk-actions.d.ts +3 -0
  15. package/dist/components/features/data-table/components/bulk-actions.d.ts.map +1 -0
  16. package/dist/components/features/data-table/components/column-header.d.ts +3 -0
  17. package/dist/components/features/data-table/components/column-header.d.ts.map +1 -0
  18. package/dist/components/features/data-table/components/content.d.ts +3 -0
  19. package/dist/components/features/data-table/components/content.d.ts.map +1 -0
  20. package/dist/components/features/data-table/components/inline-content.d.ts +3 -0
  21. package/dist/components/features/data-table/components/inline-content.d.ts.map +1 -0
  22. package/dist/components/features/data-table/components/loading.d.ts +3 -0
  23. package/dist/components/features/data-table/components/loading.d.ts.map +1 -0
  24. package/dist/components/features/data-table/components/pagination.d.ts +3 -0
  25. package/dist/components/features/data-table/components/pagination.d.ts.map +1 -0
  26. package/dist/components/features/data-table/components/row-actions.d.ts +3 -0
  27. package/dist/components/features/data-table/components/row-actions.d.ts.map +1 -0
  28. package/dist/components/features/data-table/components/search.d.ts +3 -0
  29. package/dist/components/features/data-table/components/search.d.ts.map +1 -0
  30. package/dist/components/features/data-table/constants.d.ts +5 -0
  31. package/dist/components/features/data-table/constants.d.ts.map +1 -0
  32. package/dist/components/features/data-table/core/client-provider.d.ts +11 -0
  33. package/dist/components/features/data-table/core/client-provider.d.ts.map +1 -0
  34. package/dist/components/features/data-table/core/data-table-context.d.ts +10 -0
  35. package/dist/components/features/data-table/core/data-table-context.d.ts.map +1 -0
  36. package/dist/components/features/data-table/core/filter-engine.d.ts +16 -0
  37. package/dist/components/features/data-table/core/filter-engine.d.ts.map +1 -0
  38. package/dist/components/features/data-table/core/server-provider.d.ts +11 -0
  39. package/dist/components/features/data-table/core/server-provider.d.ts.map +1 -0
  40. package/dist/components/features/data-table/core/store.d.ts +3 -0
  41. package/dist/components/features/data-table/core/store.d.ts.map +1 -0
  42. package/dist/components/features/data-table/data-table.d.ts +30 -0
  43. package/dist/components/features/data-table/data-table.d.ts.map +1 -0
  44. package/dist/components/features/data-table/filters/checkbox-filter.d.ts +3 -0
  45. package/dist/components/features/data-table/filters/checkbox-filter.d.ts.map +1 -0
  46. package/dist/components/features/data-table/filters/date-picker-filter.d.ts +3 -0
  47. package/dist/components/features/data-table/filters/date-picker-filter.d.ts.map +1 -0
  48. package/dist/components/features/data-table/filters/select-filter.d.ts +3 -0
  49. package/dist/components/features/data-table/filters/select-filter.d.ts.map +1 -0
  50. package/dist/components/features/data-table/hooks/index.d.ts +4 -0
  51. package/dist/components/features/data-table/hooks/index.d.ts.map +1 -0
  52. package/dist/components/features/data-table/hooks/use-data-table-client.d.ts +20 -0
  53. package/dist/components/features/data-table/hooks/use-data-table-client.d.ts.map +1 -0
  54. package/dist/components/features/data-table/hooks/use-data-table-context.d.ts +2 -0
  55. package/dist/components/features/data-table/hooks/use-data-table-context.d.ts.map +1 -0
  56. package/dist/components/features/data-table/hooks/use-data-table-server.d.ts +30 -0
  57. package/dist/components/features/data-table/hooks/use-data-table-server.d.ts.map +1 -0
  58. package/dist/components/features/data-table/hooks/use-selectors.d.ts +81 -0
  59. package/dist/components/features/data-table/hooks/use-selectors.d.ts.map +1 -0
  60. package/dist/components/features/data-table/index.d.ts +11 -0
  61. package/dist/components/features/data-table/index.d.ts.map +1 -0
  62. package/dist/components/features/data-table/types.d.ts +324 -0
  63. package/dist/components/features/data-table/types.d.ts.map +1 -0
  64. package/dist/data-table/index.mjs +1629 -0
  65. package/dist/date-picker/index.mjs +4 -3
  66. package/dist/dropdown/index.mjs +1 -1
  67. package/dist/dropdown-menu-DAFyO-qD.mjs +87 -0
  68. package/dist/dropzone/index.mjs +1 -1
  69. package/dist/empty-content/index.mjs +1 -1
  70. package/dist/form/index.mjs +6 -6
  71. package/dist/grid/index.mjs +1 -1
  72. package/dist/hooks/index.mjs +2 -2
  73. package/dist/index.mjs +38 -36
  74. package/dist/input-number/index.mjs +1 -1
  75. package/dist/input-with-addons/index.mjs +1 -1
  76. package/dist/loader-overlay/index.mjs +1 -1
  77. package/dist/map/index.mjs +3 -2
  78. package/dist/{map-WL6jhkSM.mjs → map-ClJD-qxm.mjs} +4 -84
  79. package/dist/more-actions/index.mjs +2 -2
  80. package/dist/{more-actions-Ch1f6Mh3.mjs → more-actions-DbC8dyed.mjs} +2 -2
  81. package/dist/page-title/index.mjs +1 -1
  82. package/dist/popover/index.mjs +1 -1
  83. package/dist/radio-group/index.mjs +1 -1
  84. package/dist/select/index.mjs +1 -1
  85. package/dist/sheet/index.mjs +2 -2
  86. package/dist/{sheet-BKiCwtNO.mjs → sheet-mx5XjyEY.mjs} +1 -1
  87. package/dist/sidebar/index.mjs +4 -4
  88. package/dist/{sidebar-DfqezV8t.mjs → sidebar-C4NqSr4r.mjs} +3 -3
  89. package/dist/skeleton/index.mjs +1 -1
  90. package/dist/spinner/index.mjs +1 -1
  91. package/dist/stepper/index.mjs +1 -1
  92. package/dist/switch/index.mjs +1 -1
  93. package/dist/table/index.mjs +1 -1
  94. package/dist/tabs/index.mjs +1 -1
  95. package/dist/tag-input/index.mjs +1 -1
  96. package/dist/task-queue/index.mjs +3 -3
  97. package/dist/{task-queue-dropdown-DW72ikDH.mjs → task-queue-dropdown-fo3TX58Q.mjs} +3 -3
  98. package/dist/textarea/index.mjs +1 -1
  99. package/dist/theme/index.mjs +1 -1
  100. package/dist/{to-api-format-C2xjQUcI.mjs → to-api-format-zI26rEBI.mjs} +6 -661
  101. package/dist/toast/index.mjs +1 -1
  102. package/dist/tooltip/index.mjs +1 -1
  103. package/dist/typography/index.mjs +1 -1
  104. package/dist/{use-copy-to-clipboard-ki-WoTml.mjs → use-copy-to-clipboard-C7xqNxBX.mjs} +1 -1
  105. package/dist/{use-stepper-BaToCYMs.mjs → use-stepper-CB1injte.mjs} +10 -10
  106. package/dist/visually-hidden/index.mjs +1 -1
  107. package/package.json +15 -1
  108. /package/dist/{col-lrLMZaTJ.mjs → col-RfO7d6AR.mjs} +0 -0
  109. /package/dist/{dropdown-DtSa_lqc.mjs → dropdown-Cs7Xr8w7.mjs} +0 -0
  110. /package/dist/{dropzone-BkOnwrS4.mjs → dropzone-BT5fEDEF.mjs} +0 -0
  111. /package/dist/{empty-content-BM9rzI13.mjs → empty-content-iDu3NUqG.mjs} +0 -0
  112. /package/dist/{input-number-9o62JHRl.mjs → input-number-D9ydFith.mjs} +0 -0
  113. /package/dist/{input-with-addons-BQn7KCTU.mjs → input-with-addons-CdgiUQce.mjs} +0 -0
  114. /package/dist/{loader-overlay-DUaQSZQP.mjs → loader-overlay-D83QeQNj.mjs} +0 -0
  115. /package/dist/{map-leaflet-imports-C4JYls8q.mjs → map-leaflet-imports-CdzvEnzY.mjs} +0 -0
  116. /package/dist/{page-title-BJuo81rT.mjs → page-title-SGchAF6Y.mjs} +0 -0
  117. /package/dist/{popover-SQlKSz6L.mjs → popover-Ds9624qY.mjs} +0 -0
  118. /package/dist/{radio-group-Oshv0b-U.mjs → radio-group-B9Hm77LQ.mjs} +0 -0
  119. /package/dist/{select-DVlEzD2W.mjs → select-CwVIFWFO.mjs} +0 -0
  120. /package/dist/{sheet-CtnP6gTD.mjs → sheet-Cemwh78x.mjs} +0 -0
  121. /package/dist/{skeleton-vzbxA-DQ.mjs → skeleton-Cs6Q5GQc.mjs} +0 -0
  122. /package/dist/{spinner-BE7k2bAD.mjs → spinner-earfjpJs.mjs} +0 -0
  123. /package/dist/{stepper-SWB-u_nM.mjs → stepper-BG9DIzN5.mjs} +0 -0
  124. /package/dist/{switch-Calk7Gyw.mjs → switch-B2VVauH6.mjs} +0 -0
  125. /package/dist/{table-CsXBcQLI.mjs → table-Dc3HfbM4.mjs} +0 -0
  126. /package/dist/{tabs-D8n-dqnw.mjs → tabs-Ccb4uqbe.mjs} +0 -0
  127. /package/dist/{tag-input-Di7SDNbK.mjs → tag-input-BfHaKoMF.mjs} +0 -0
  128. /package/dist/{textarea-CxE3YbC7.mjs → textarea-X4OjkqLJ.mjs} +0 -0
  129. /package/dist/{theme.provider-CzCxEFFh.mjs → theme.provider-Nun_O9-O.mjs} +0 -0
  130. /package/dist/{tooltip-Dd3ActSS.mjs → tooltip-DZFG1iMs.mjs} +0 -0
  131. /package/dist/{typography-UA7ZZvgJ.mjs → typography-T7WgvO77.mjs} +0 -0
  132. /package/dist/{use-debounce-B6wPrZV8.mjs → use-debounce-Ctljs3MB.mjs} +0 -0
  133. /package/dist/{use-toast-mdn_CqRY.mjs → use-toast-DN-fZBzJ.mjs} +0 -0
  134. /package/dist/{visuallyhidden-aaTUk4Yo.mjs → visuallyhidden-CgkVhApW.mjs} +0 -0
@@ -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-UA7ZZvgJ.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-mdn_CqRY.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
@@ -5,16 +5,16 @@ import { t as Checkbox } from "./checkbox-LG1OKTpG.mjs";
5
5
  import { t as Dialog } from "./dialog-bnMMf9GD.mjs";
6
6
  import { t as Input } from "./input-fzXBheCN.mjs";
7
7
  import { t as Label } from "./label-_ste_Re3.mjs";
8
- import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-Oshv0b-U.mjs";
9
- import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-DVlEzD2W.mjs";
10
- import { t as Switch } from "./switch-Calk7Gyw.mjs";
11
- import { t as Textarea } from "./textarea-CxE3YbC7.mjs";
12
- import { t as Tooltip } from "./tooltip-Dd3ActSS.mjs";
13
- import { t as Autocomplete } from "./autocomplete-DZtI97HP.mjs";
14
- import { r as toast } from "./use-toast-mdn_CqRY.mjs";
15
- import { t as useCopyToClipboard } from "./use-copy-to-clipboard-ki-WoTml.mjs";
16
- import { t as defineStepper } from "./stepper-SWB-u_nM.mjs";
17
- import { t as InputWithAddons } from "./input-with-addons-BQn7KCTU.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,3 +1,3 @@
1
- import { t as VisuallyHidden } from "../visuallyhidden-aaTUk4Yo.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.2.1",
4
+ "version": "0.3.0-alpha.1a6419a",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "url": "https://github.com/datum-cloud/datum-ui"
@@ -235,6 +235,10 @@
235
235
  "./toast": {
236
236
  "types": "./dist/components/features/toast/index.d.ts",
237
237
  "default": "./dist/toast/index.mjs"
238
+ },
239
+ "./data-table": {
240
+ "types": "./dist/components/features/data-table/index.d.ts",
241
+ "default": "./dist/data-table/index.mjs"
238
242
  }
239
243
  },
240
244
  "main": "./dist/index.mjs",
@@ -265,6 +269,7 @@
265
269
  "@radix-ui/react-tooltip": ">=1",
266
270
  "@radix-ui/react-visually-hidden": ">=1",
267
271
  "@stepperize/react": ">=4",
272
+ "@tanstack/react-table": ">=8",
268
273
  "@tanstack/react-virtual": ">=3",
269
274
  "cmdk": ">=1",
270
275
  "date-fns": ">=4",
@@ -275,6 +280,7 @@
275
280
  "leaflet.markercluster": ">=1.5",
276
281
  "motion": ">=11",
277
282
  "nprogress": ">=0.2",
283
+ "nuqs": ">=2",
278
284
  "react": ">=19",
279
285
  "react-day-picker": ">=9",
280
286
  "react-dom": ">=19",
@@ -344,6 +350,9 @@
344
350
  "@stepperize/react": {
345
351
  "optional": true
346
352
  },
353
+ "@tanstack/react-table": {
354
+ "optional": true
355
+ },
347
356
  "@tanstack/react-virtual": {
348
357
  "optional": true
349
358
  },
@@ -374,6 +383,9 @@
374
383
  "nprogress": {
375
384
  "optional": true
376
385
  },
386
+ "nuqs": {
387
+ "optional": true
388
+ },
377
389
  "react-day-picker": {
378
390
  "optional": true
379
391
  },
@@ -414,6 +426,7 @@
414
426
  "@radix-ui/react-tabs": "^1.1.13",
415
427
  "@radix-ui/react-tooltip": "^1.2.8",
416
428
  "@stepperize/react": "^6.1.0",
429
+ "@tanstack/react-table": "^8.21.3",
417
430
  "@tanstack/react-virtual": "^3.13.19",
418
431
  "@testing-library/jest-dom": "^6",
419
432
  "@testing-library/react": "^16",
@@ -435,6 +448,7 @@
435
448
  "leaflet.markercluster": "^1.5.3",
436
449
  "motion": "^12.34.4",
437
450
  "nprogress": "^0.2.0",
451
+ "nuqs": "^2.8.9",
438
452
  "react": "^19",
439
453
  "react-day-picker": "^9.14.0",
440
454
  "react-dom": "^19",
File without changes
File without changes
File without changes
File without changes