@datum-cloud/datum-ui 1.6.1 → 1.7.1

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 (59) hide show
  1. package/dist/app-navigation/index.mjs +2 -2
  2. package/dist/{app-navigation--mry98XV.mjs → app-navigation-CNig4Maj.mjs} +32 -31
  3. package/dist/assistant/index.mjs +1 -1
  4. package/dist/autocomplete/index.mjs +1 -1
  5. package/dist/{autocomplete-G24AgvxU.mjs → autocomplete-DM6JYV4W.mjs} +1 -1
  6. package/dist/autosearch/index.mjs +8 -7
  7. package/dist/avatar-stack/index.mjs +1 -1
  8. package/dist/{avatar-stack-D1-BA7hA.mjs → avatar-stack-BZK6zUJr.mjs} +1 -1
  9. package/dist/{calendar-date-picker-C52Y05ZN.mjs → calendar-date-picker-AzvSqjeS.mjs} +6 -5
  10. package/dist/chart/index.mjs +1 -1
  11. package/dist/{chart-DeCrbcpY.mjs → chart-EgzTS28l.mjs} +6 -3
  12. package/dist/code-editor/index.mjs +1 -1
  13. package/dist/data-table/index.mjs +1 -1
  14. package/dist/{data-table-CfeovSJV.mjs → data-table-mByk373T.mjs} +11 -10
  15. package/dist/date-picker/index.mjs +3 -3
  16. package/dist/date-time-picker/index.mjs +1 -1
  17. package/dist/{date-time-picker-BbtA6JJJ.mjs → date-time-picker-D3-DeNo8.mjs} +1 -1
  18. package/dist/dropzone/index.mjs +1 -1
  19. package/dist/{dropzone-C_vA4q0u.mjs → dropzone-DrWVd7OI.mjs} +5 -3
  20. package/dist/empty-content/index.mjs +1 -1
  21. package/dist/{empty-content-BpS0PONb.mjs → empty-content-DvaelFpJ.mjs} +3 -2
  22. package/dist/form/adapters/rhf/index.mjs +6 -3
  23. package/dist/form/index.mjs +1 -1
  24. package/dist/form/stepper/index.mjs +23 -19
  25. package/dist/{form-2pTdgtYr.mjs → form-BUUNQfC9.mjs} +43 -34
  26. package/dist/grouped-table/index.mjs +1 -1
  27. package/dist/{grouped-table-CPF8Jijv.mjs → grouped-table-b2jDEPR6.mjs} +1 -1
  28. package/dist/index.mjs +26 -26
  29. package/dist/{layers-DJYz6fyE.mjs → layers-DWYdrGmC.mjs} +7 -3
  30. package/dist/logo/themed/index.mjs +1 -1
  31. package/dist/map/index.mjs +1 -1
  32. package/dist/more-actions/index.mjs +1 -1
  33. package/dist/{more-actions-G9hs0rpJ.mjs → more-actions-Bx443Ccx.mjs} +13 -12
  34. package/dist/multi-select/index.mjs +1 -1
  35. package/dist/{multi-select-DIWTdi0i.mjs → multi-select-PHaMEbY-.mjs} +1 -1
  36. package/dist/picker/index.mjs +1 -1
  37. package/dist/{picker-CRUSdzpo.mjs → picker-b5-x-EHs.mjs} +27 -22
  38. package/dist/rich-text-editor/index.mjs +1 -1
  39. package/dist/{rich-text-editor-DRIwcleW.mjs → rich-text-editor-CGuSn8xi.mjs} +1 -1
  40. package/dist/sidebar/index.mjs +1 -1
  41. package/dist/{sidebar-Df6Po0K8.mjs → sidebar-BRUNOqXi.mjs} +37 -36
  42. package/dist/stepper/index.mjs +1 -1
  43. package/dist/{stepper-DJkYcilu.mjs → stepper-dNvkipop.mjs} +2 -1
  44. package/dist/tag-input/index.mjs +1 -1
  45. package/dist/{tag-input-CSav22U5.mjs → tag-input-Ctxtcpwy.mjs} +37 -33
  46. package/dist/task-queue/index.mjs +1 -1
  47. package/dist/{task-queue-dropdown-DfdGiyfA.mjs → task-queue-dropdown-pqFd4rSf.mjs} +76 -75
  48. package/dist/theme/index.mjs +1 -1
  49. package/dist/{themes-BK5atywZ.mjs → themes-Ba2bajuF.mjs} +19 -17
  50. package/dist/time-picker/index.mjs +1 -1
  51. package/dist/{time-picker-Bgt6R1fU.mjs → time-picker-B_fN5vhO.mjs} +1 -1
  52. package/dist/{to-api-format-CgKtSuWO.mjs → to-api-format-43Boq7OR.mjs} +12 -8
  53. package/dist/tooltip/index.mjs +1 -1
  54. package/dist/{tooltip-BhatUaar.mjs → tooltip-C_SL1imw.mjs} +27 -23
  55. package/dist/{types-DrN0rei5.mjs → types-agDpVXBG.mjs} +5 -3
  56. package/dist/{use-option-picker-CV-9CyBV.mjs → use-option-picker-s2bUYwXC.mjs} +3 -2
  57. package/dist/utils/index.mjs +1 -1
  58. package/dist/{utils-U06Eu2KT.mjs → utils-CA4QEIJ8.mjs} +6 -2
  59. package/package.json +52 -52
@@ -16,7 +16,9 @@ import { endOfDay, startOfDay } from "date-fns";
16
16
  * @returns Unix timestamp in seconds (UTC).
17
17
  */
18
18
  function toUTCTimestampStartOfDay(date, timezone) {
19
- const utcDate = fromZonedTime(startOfDay(toZonedTime(date, timezone)), timezone);
19
+ const zonedDate = toZonedTime(date, timezone);
20
+ const startOfDayInTz = startOfDay(zonedDate);
21
+ const utcDate = fromZonedTime(startOfDayInTz, timezone);
20
22
  return Math.floor(utcDate.getTime() / 1e3);
21
23
  }
22
24
  /**
@@ -28,7 +30,9 @@ function toUTCTimestampStartOfDay(date, timezone) {
28
30
  * @returns Unix timestamp in seconds (UTC).
29
31
  */
30
32
  function toUTCTimestampEndOfDay(date, timezone) {
31
- const utcDate = fromZonedTime(endOfDay(toZonedTime(date, timezone)), timezone);
33
+ const zonedDate = toZonedTime(date, timezone);
34
+ const endOfDayInTz = endOfDay(zonedDate);
35
+ const utcDate = fromZonedTime(endOfDayInTz, timezone);
32
36
  return Math.floor(utcDate.getTime() / 1e3);
33
37
  }
34
38
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datum-cloud/datum-ui",
3
3
  "type": "module",
4
- "version": "1.6.1",
4
+ "version": "1.7.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "url": "https://github.com/datum-cloud/datum-ui"
@@ -429,7 +429,7 @@
429
429
  "ai": ">=7 <8",
430
430
  "date-fns": ">=4.1.0 <5",
431
431
  "date-fns-tz": ">=3 <4",
432
- "js-yaml": ">=5 <6",
432
+ "js-yaml": ">=5.2.2 <6",
433
433
  "leaflet": ">=1.9 <2",
434
434
  "leaflet-draw": ">=1 <2",
435
435
  "leaflet.fullscreen": ">=5 <6",
@@ -442,7 +442,7 @@
442
442
  "react": ">=19.2.7 <20",
443
443
  "react-day-picker": ">=10 <11",
444
444
  "react-dom": ">=19.2.7 <20",
445
- "react-dropzone": ">=15 <16",
445
+ "react-dropzone": ">=15 <21",
446
446
  "react-hook-form": ">=7.80.0 <8",
447
447
  "react-leaflet": ">=5 <6",
448
448
  "react-leaflet-markercluster": ">=5.0.0-rc.0 <6",
@@ -572,87 +572,87 @@
572
572
  }
573
573
  },
574
574
  "dependencies": {
575
- "@radix-ui/react-avatar": "^1.2.0",
576
- "@radix-ui/react-checkbox": "^1.3.5",
577
- "@radix-ui/react-collapsible": "^1.1.14",
578
- "@radix-ui/react-dialog": "^1.1.17",
579
- "@radix-ui/react-dropdown-menu": "^2.1.18",
580
- "@radix-ui/react-hover-card": "^1.1.17",
581
- "@radix-ui/react-label": "^2.1.10",
582
- "@radix-ui/react-popover": "^1.1.17",
583
- "@radix-ui/react-radio-group": "^1.4.1",
584
- "@radix-ui/react-select": "^2.3.1",
585
- "@radix-ui/react-separator": "^1.1.10",
586
- "@radix-ui/react-slot": "^1.3.0",
587
- "@radix-ui/react-switch": "^1.3.1",
588
- "@radix-ui/react-tabs": "^1.1.15",
589
- "@radix-ui/react-tooltip": "^1.2.10",
590
- "@radix-ui/react-visually-hidden": "^1.2.6",
575
+ "@radix-ui/react-avatar": "^1.2.6",
576
+ "@radix-ui/react-checkbox": "^1.3.11",
577
+ "@radix-ui/react-collapsible": "^1.1.20",
578
+ "@radix-ui/react-dialog": "^1.1.23",
579
+ "@radix-ui/react-dropdown-menu": "^2.1.24",
580
+ "@radix-ui/react-hover-card": "^1.1.23",
581
+ "@radix-ui/react-label": "^2.1.15",
582
+ "@radix-ui/react-popover": "^1.1.23",
583
+ "@radix-ui/react-radio-group": "^1.4.7",
584
+ "@radix-ui/react-select": "^2.3.7",
585
+ "@radix-ui/react-separator": "^1.1.15",
586
+ "@radix-ui/react-slot": "^1.3.3",
587
+ "@radix-ui/react-switch": "^1.3.7",
588
+ "@radix-ui/react-tabs": "^1.1.21",
589
+ "@radix-ui/react-tooltip": "^1.2.16",
590
+ "@radix-ui/react-visually-hidden": "^1.2.11",
591
591
  "class-variance-authority": "^0.7.1",
592
592
  "clsx": "^2.1.1",
593
593
  "cmdk": "^1.1.1",
594
- "isomorphic-dompurify": "^3.18.0",
594
+ "isomorphic-dompurify": "^3.21.0",
595
595
  "tailwind-merge": "^3.6.0",
596
596
  "tw-animate-css": "^1.4.0"
597
597
  },
598
598
  "devDependencies": {
599
- "@conform-to/react": "^1.19.4",
600
- "@conform-to/zod": "^1.19.4",
599
+ "@conform-to/react": "^1.20.2",
600
+ "@conform-to/zod": "^1.20.2",
601
601
  "@dnd-kit/core": "^6.3.1",
602
602
  "@dnd-kit/sortable": "^10.0.0",
603
- "@hookform/resolvers": "^5.4.0",
603
+ "@hookform/resolvers": "^5.7.1",
604
604
  "@monaco-editor/react": "^4.7.0",
605
605
  "@stepperize/react": "^7.0.0",
606
606
  "@streamdown/code": "^1.1.1",
607
607
  "@tanstack/react-table": "^8.21.3",
608
- "@tanstack/react-virtual": "^3.14.3",
609
- "@testing-library/jest-dom": "^6.9.1",
608
+ "@tanstack/react-virtual": "^3.14.9",
609
+ "@testing-library/jest-dom": "^7.0.0",
610
610
  "@testing-library/react": "^16.3.2",
611
611
  "@testing-library/user-event": "^14.6.1",
612
- "@tiptap/extension-character-count": "^3.27.1",
613
- "@tiptap/extension-link": "^3.27.1",
614
- "@tiptap/extension-placeholder": "^3.27.1",
615
- "@tiptap/extension-underline": "^3.27.1",
616
- "@tiptap/react": "^3.27.1",
617
- "@tiptap/starter-kit": "^3.27.1",
618
- "@types/leaflet": "^1.9.21",
612
+ "@tiptap/extension-character-count": "^3.29.2",
613
+ "@tiptap/extension-link": "^3.29.2",
614
+ "@tiptap/extension-placeholder": "^3.29.2",
615
+ "@tiptap/extension-underline": "^3.29.2",
616
+ "@tiptap/react": "^3.29.2",
617
+ "@tiptap/starter-kit": "^3.29.2",
618
+ "@types/leaflet": "^1.9.22",
619
619
  "@types/leaflet-draw": "^1.0.13",
620
620
  "@types/leaflet.fullscreen": "^5.2.0",
621
621
  "@types/leaflet.markercluster": "^1.5.6",
622
622
  "@types/nprogress": "^0.2.3",
623
- "@types/react": "^19.2.17",
624
- "@types/react-dom": "^19.2.3",
625
- "@vitest/coverage-v8": "^4.1.9",
626
- "ai": "^7.0.0",
623
+ "@types/react": "^19.2.18",
624
+ "@types/react-dom": "^19.2.4",
625
+ "@vitest/coverage-v8": "^4.1.10",
626
+ "ai": "^7.0.48",
627
627
  "date-fns": "^4.4.0",
628
628
  "date-fns-tz": "^3.2.0",
629
- "eslint": "^10.5.0",
630
- "js-yaml": "^5.0.0",
631
- "jsdom": "^29.1.1",
629
+ "eslint": "^10.8.0",
630
+ "js-yaml": "^5.2.3",
631
+ "jsdom": "^30.0.1",
632
632
  "leaflet": "^1.9.4",
633
633
  "leaflet-draw": "^1.0.4",
634
- "leaflet.fullscreen": "^5.3.1",
634
+ "leaflet.fullscreen": "^5.3.3",
635
635
  "leaflet.markercluster": "^1.5.3",
636
- "lucide-react": "^1.21.0",
637
- "monaco-editor": "^0.55.1",
638
- "motion": "^12.40.0",
636
+ "lucide-react": "^1.28.0",
637
+ "monaco-editor": "^0.56.0",
638
+ "motion": "^12.43.0",
639
639
  "nprogress": "^0.2.0",
640
- "nuqs": "^2.8.9",
641
- "react": "^19.2.7",
640
+ "nuqs": "^2.9.4",
641
+ "react": "^19.2.8",
642
642
  "react-day-picker": "^10.0.1",
643
- "react-dom": "^19.2.7",
644
- "react-dropzone": "^15.0.0",
645
- "react-hook-form": "^7.80.0",
643
+ "react-dom": "^19.2.8",
644
+ "react-dropzone": "^20.0.0",
645
+ "react-hook-form": "^7.84.0",
646
646
  "react-leaflet": "^5.0.0",
647
647
  "react-leaflet-markercluster": "5.0.0-rc.0",
648
648
  "react-number-format": "^5.4.5",
649
- "recharts": "^3.8.1",
649
+ "recharts": "^3.10.1",
650
650
  "sonner": "^2.0.7",
651
651
  "streamdown": "^2.5.0",
652
- "tailwindcss": "^4.3.1",
653
- "tsdown": "^0.22.3",
652
+ "tailwindcss": "^4.3.3",
653
+ "tsdown": "^0.22.14",
654
654
  "typescript": "^6.0.3",
655
- "vitest": "^4.1.9",
655
+ "vitest": "^4.1.10",
656
656
  "zod": "^4.4.3"
657
657
  },
658
658
  "publishConfig": {