@sprawlify/primitives 0.0.96 → 0.0.97

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 (88) hide show
  1. package/dist/date-utils.d.cts +20 -20
  2. package/dist/date-utils.d.mts +2 -2
  3. package/dist/{index-8xpMF4wX.d.mts → index-ClVRyKIt.d.mts} +33 -32
  4. package/dist/{index-CwA19fjG.d.mts → index-DHp3-EkH.d.mts} +1 -1
  5. package/dist/machines/accordion/index.d.cts +1 -1
  6. package/dist/machines/accordion/index.d.mts +1 -1
  7. package/dist/machines/angle-slider/index.d.cts +1 -1
  8. package/dist/machines/angle-slider/index.d.mts +1 -1
  9. package/dist/machines/bottom-sheet/index.d.cts +1 -1
  10. package/dist/machines/bottom-sheet/index.d.mts +1 -1
  11. package/dist/machines/carousel/index.d.cts +1 -1
  12. package/dist/machines/carousel/index.d.mts +1 -1
  13. package/dist/machines/checkbox/index.d.cts +1 -1
  14. package/dist/machines/checkbox/index.d.mts +1 -1
  15. package/dist/machines/clipboard/index.d.cts +1 -1
  16. package/dist/machines/clipboard/index.d.mts +1 -1
  17. package/dist/machines/collapsible/index.d.cts +1 -1
  18. package/dist/machines/collapsible/index.d.mts +1 -1
  19. package/dist/machines/color-picker/index.d.cts +1 -1
  20. package/dist/machines/color-picker/index.d.mts +2 -2
  21. package/dist/machines/combobox/index.d.cts +1 -1
  22. package/dist/machines/combobox/index.d.mts +2 -2
  23. package/dist/machines/date-picker/index.d.cts +5 -5
  24. package/dist/machines/date-picker/index.d.mts +6 -6
  25. package/dist/machines/dialog/index.d.cts +1 -1
  26. package/dist/machines/dialog/index.d.mts +1 -1
  27. package/dist/machines/dropdown-menu/index.d.cts +1 -1
  28. package/dist/machines/dropdown-menu/index.d.mts +2 -2
  29. package/dist/machines/editable/index.d.cts +1 -1
  30. package/dist/machines/editable/index.d.mts +1 -1
  31. package/dist/machines/file-upload/index.d.cts +1 -1
  32. package/dist/machines/file-upload/index.d.mts +1 -1
  33. package/dist/machines/floating-panel/index.d.cts +1 -1
  34. package/dist/machines/floating-panel/index.d.mts +1 -1
  35. package/dist/machines/hover-card/index.d.cts +1 -1
  36. package/dist/machines/hover-card/index.d.mts +2 -2
  37. package/dist/machines/listbox/index.d.cts +1 -1
  38. package/dist/machines/listbox/index.d.mts +1 -1
  39. package/dist/machines/marquee/index.d.cts +3 -3
  40. package/dist/machines/marquee/index.d.mts +3 -3
  41. package/dist/machines/navigation-menu/index.d.cts +1 -1
  42. package/dist/machines/navigation-menu/index.d.mts +1 -1
  43. package/dist/machines/number-input/index.cjs +1 -1
  44. package/dist/machines/number-input/index.d.cts +1 -1
  45. package/dist/machines/number-input/index.d.mts +1 -1
  46. package/dist/machines/number-input/index.mjs +1 -1
  47. package/dist/machines/password-input/index.d.cts +1 -1
  48. package/dist/machines/password-input/index.d.mts +1 -1
  49. package/dist/machines/pin-input/index.d.cts +1 -1
  50. package/dist/machines/pin-input/index.d.mts +1 -1
  51. package/dist/machines/popover/index.d.cts +1 -1
  52. package/dist/machines/popover/index.d.mts +2 -2
  53. package/dist/machines/progress/index.d.cts +1 -1
  54. package/dist/machines/progress/index.d.mts +1 -1
  55. package/dist/machines/radio-group/index.d.cts +1 -1
  56. package/dist/machines/radio-group/index.d.mts +1 -1
  57. package/dist/machines/rating-group/index.d.cts +1 -1
  58. package/dist/machines/rating-group/index.d.mts +1 -1
  59. package/dist/machines/scroll-area/index.d.cts +1 -1
  60. package/dist/machines/scroll-area/index.d.mts +1 -1
  61. package/dist/machines/select/index.d.cts +1 -1
  62. package/dist/machines/select/index.d.mts +2 -2
  63. package/dist/machines/signature-pad/index.d.cts +1 -1
  64. package/dist/machines/signature-pad/index.d.mts +1 -1
  65. package/dist/machines/slider/index.d.cts +1 -1
  66. package/dist/machines/slider/index.d.mts +1 -1
  67. package/dist/machines/steps/index.d.cts +1 -1
  68. package/dist/machines/steps/index.d.mts +1 -1
  69. package/dist/machines/switch/index.d.cts +1 -1
  70. package/dist/machines/switch/index.d.mts +1 -1
  71. package/dist/machines/tabs/index.d.cts +1 -1
  72. package/dist/machines/tabs/index.d.mts +1 -1
  73. package/dist/machines/tags-input/index.d.cts +1 -1
  74. package/dist/machines/tags-input/index.d.mts +1 -1
  75. package/dist/machines/timer/index.d.cts +1 -1
  76. package/dist/machines/timer/index.d.mts +1 -1
  77. package/dist/machines/toast/index.d.cts +1 -1
  78. package/dist/machines/toast/index.d.mts +1 -1
  79. package/dist/machines/tooltip/index.d.cts +1 -1
  80. package/dist/machines/tooltip/index.d.mts +2 -2
  81. package/dist/machines/tour/index.d.cts +1 -1
  82. package/dist/machines/tour/index.d.mts +2 -2
  83. package/dist/machines/tree-view/index.d.cts +1 -1
  84. package/dist/machines/tree-view/index.d.mts +1 -1
  85. package/dist/popper.d.cts +1 -1
  86. package/dist/popper.d.mts +1 -1
  87. package/dist/{types-BQMZ4iuP.d.cts → types-MFO-RQR7.d.cts} +9 -8
  88. package/package.json +1 -1
@@ -3,10 +3,10 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rz
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
4
4
  import { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-CV7JYddH.mjs";
5
5
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
6
- import { u as Placement } from "../../index-CwA19fjG.mjs";
6
+ import { u as Placement } from "../../index-DHp3-EkH.mjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"actionTrigger" | "title" | "description" | "closeTrigger" | "content" | "arrow" | "progressText" | "positioner" | "backdrop" | "arrowTip" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"content" | "backdrop" | "positioner" | "title" | "description" | "closeTrigger" | "actionTrigger" | "progressText" | "arrow" | "arrowTip" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
6
6
  import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemText" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput">;
10
10
  //#endregion
11
11
  //#region src/machines/tree-view/tree-view.collection.d.ts
12
12
  declare const collection: {
@@ -6,7 +6,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
6
6
  import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "itemText" | "itemIndicator" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemText" | "nodeCheckbox" | "nodeRenameInput">;
10
10
  //#endregion
11
11
  //#region src/machines/tree-view/tree-view.collection.d.ts
12
12
  declare const collection: {
package/dist/popper.d.cts CHANGED
@@ -53,7 +53,7 @@ declare function getPlacementStyles(options?: Pick<PositioningOptions, "placemen
53
53
  readonly zIndex: "inherit";
54
54
  };
55
55
  floating: {
56
- readonly position: "fixed" | "absolute";
56
+ readonly position: "absolute" | "fixed";
57
57
  readonly isolation: "isolate";
58
58
  readonly minWidth: "max-content" | undefined;
59
59
  readonly width: "var(--reference-width)" | undefined;
package/dist/popper.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as getPlacement, c as Boundary, d as PlacementAlign, f as PlacementSide, i as getPlacementStyles, l as ComputePositionReturn, n as isValidPlacement, o as AnchorRect, p as PositioningOptions, r as GetPlacementStylesOptions, s as AutoUpdateOptions, t as getPlacementSide, u as Placement } from "./index-CwA19fjG.mjs";
1
+ import { a as getPlacement, c as Boundary, d as PlacementAlign, f as PlacementSide, i as getPlacementStyles, l as ComputePositionReturn, n as isValidPlacement, o as AnchorRect, p as PositioningOptions, r as GetPlacementStylesOptions, s as AutoUpdateOptions, t as getPlacementSide, u as Placement } from "./index-DHp3-EkH.mjs";
2
2
  export { AnchorRect, AutoUpdateOptions, Boundary, ComputePositionReturn, GetPlacementStylesOptions, Placement, PlacementAlign, PlacementSide, PositioningOptions, getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
@@ -1,17 +1,18 @@
1
- import { DateFormatter, DateValue } from "@internationalized/date";
1
+ import { CalendarDate, CalendarDateTime, DateFormatter, ZonedDateTime } from "@internationalized/date";
2
2
 
3
3
  //#region src/shared/date-utils/types.d.ts
4
+ type DateValue$1 = CalendarDate | CalendarDateTime | ZonedDateTime;
4
5
  type DateGranularity = "day" | "hour" | "minute" | "second" | "year" | "month";
5
6
  type DateAlignment = "start" | "end" | "center";
6
- type DateAvailableFn = (date: DateValue, locale: string) => boolean;
7
+ type DateAvailableFn = (date: DateValue$1, locale: string) => boolean;
7
8
  type DateAdjustFn = (options: {
8
- startDate: DateValue;
9
- focusedDate: DateValue;
9
+ startDate: DateValue$1;
10
+ focusedDate: DateValue$1;
10
11
  }) => {
11
- startDate: DateValue;
12
- focusedDate: DateValue;
13
- endDate: DateValue;
12
+ startDate: DateValue$1;
13
+ focusedDate: DateValue$1;
14
+ endDate: DateValue$1;
14
15
  };
15
16
  type DateRangePreset = "thisWeek" | "lastWeek" | "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisYear" | "lastYear" | "last3Days" | "last7Days" | "last14Days" | "last30Days" | "last90Days";
16
17
  //#endregion
17
- export { DateRangePreset as a, DateGranularity as i, DateAlignment as n, DateAvailableFn as r, DateAdjustFn as t };
18
+ export { DateRangePreset as a, DateGranularity as i, DateAlignment as n, DateValue$1 as o, DateAvailableFn as r, DateAdjustFn as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprawlify/primitives",
3
- "version": "0.0.96",
3
+ "version": "0.0.97",
4
4
  "type": "module",
5
5
  "description": "A set of primitive components for building user interfaces.",
6
6
  "author": "sprawlify <npm@sprawlify.com>",