@sprawlify/primitives 0.0.56 → 0.0.57

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 (91) hide show
  1. package/dist/collection.d.cts +2 -2
  2. package/dist/collection.d.mts +2 -2
  3. package/dist/{color-CIaXnwJx.d.mts → color-Bcy-SLQ1.d.mts} +2 -2
  4. package/dist/{color-_pKYh-E2.d.cts → color-Bj20c2qw.d.cts} +2 -2
  5. package/dist/{color-utils-CLAICiIG.cjs → color-utils-BVq_rh8L.cjs} +3 -3
  6. package/dist/{color-utils-BUIU6o8a.mjs → color-utils-BekVyYIJ.mjs} +3 -3
  7. package/dist/color-utils.cjs +1 -1
  8. package/dist/color-utils.d.cts +1 -1
  9. package/dist/color-utils.d.mts +1 -1
  10. package/dist/color-utils.mjs +1 -1
  11. package/dist/date-utils.d.cts +5 -5
  12. package/dist/date-utils.d.mts +1 -1
  13. package/dist/{index-BTi1wETB.d.mts → index-60_Ru8qp.d.mts} +1 -1
  14. package/dist/{index-BqhWpjZh.d.mts → index-HnPpYuSl.d.mts} +5 -5
  15. package/dist/{list-collection-DettiQL3.d.cts → list-collection-BslnP0r-.d.cts} +1 -1
  16. package/dist/{list-collection-BbgocToA.d.mts → list-collection-swuCMCIS.d.mts} +1 -1
  17. package/dist/machines/angle-slider/index.d.cts +1 -1
  18. package/dist/machines/angle-slider/index.d.mts +1 -1
  19. package/dist/machines/carousel/index.d.cts +1 -1
  20. package/dist/machines/carousel/index.d.mts +1 -1
  21. package/dist/machines/clipboard/index.d.cts +1 -1
  22. package/dist/machines/clipboard/index.d.mts +1 -1
  23. package/dist/machines/color-picker/index.cjs +20 -9
  24. package/dist/machines/color-picker/index.d.cts +2 -2
  25. package/dist/machines/color-picker/index.d.mts +3 -3
  26. package/dist/machines/color-picker/index.mjs +20 -9
  27. package/dist/machines/combobox/index.d.cts +2 -2
  28. package/dist/machines/combobox/index.d.mts +3 -3
  29. package/dist/machines/date-picker/index.d.cts +1 -1
  30. package/dist/machines/date-picker/index.d.mts +3 -3
  31. package/dist/machines/dialog/index.d.cts +1 -1
  32. package/dist/machines/dialog/index.d.mts +1 -1
  33. package/dist/machines/editable/index.d.cts +1 -1
  34. package/dist/machines/editable/index.d.mts +1 -1
  35. package/dist/machines/file-upload/index.d.cts +1 -1
  36. package/dist/machines/file-upload/index.d.mts +1 -1
  37. package/dist/machines/floating-panel/index.d.cts +1 -1
  38. package/dist/machines/floating-panel/index.d.mts +1 -1
  39. package/dist/machines/hover-card/index.d.cts +1 -1
  40. package/dist/machines/hover-card/index.d.mts +2 -2
  41. package/dist/machines/listbox/index.d.cts +3 -3
  42. package/dist/machines/listbox/index.d.mts +3 -3
  43. package/dist/machines/marquee/index.d.cts +3 -3
  44. package/dist/machines/marquee/index.d.mts +3 -3
  45. package/dist/machines/menu/index.d.cts +1 -1
  46. package/dist/machines/menu/index.d.mts +2 -2
  47. package/dist/machines/navigation-menu/index.d.cts +1 -1
  48. package/dist/machines/navigation-menu/index.d.mts +1 -1
  49. package/dist/machines/number-input/index.d.cts +1 -1
  50. package/dist/machines/number-input/index.d.mts +1 -1
  51. package/dist/machines/password-input/index.d.cts +1 -1
  52. package/dist/machines/password-input/index.d.mts +1 -1
  53. package/dist/machines/pin-input/index.d.cts +1 -1
  54. package/dist/machines/pin-input/index.d.mts +1 -1
  55. package/dist/machines/popover/index.d.cts +1 -1
  56. package/dist/machines/popover/index.d.mts +2 -2
  57. package/dist/machines/progress/index.d.cts +1 -1
  58. package/dist/machines/progress/index.d.mts +1 -1
  59. package/dist/machines/radio-group/index.d.cts +1 -1
  60. package/dist/machines/radio-group/index.d.mts +1 -1
  61. package/dist/machines/rating-group/index.d.cts +1 -1
  62. package/dist/machines/rating-group/index.d.mts +1 -1
  63. package/dist/machines/scroll-area/index.d.cts +1 -1
  64. package/dist/machines/scroll-area/index.d.mts +1 -1
  65. package/dist/machines/select/index.d.cts +2 -2
  66. package/dist/machines/select/index.d.mts +3 -3
  67. package/dist/machines/slider/index.d.cts +1 -1
  68. package/dist/machines/slider/index.d.mts +1 -1
  69. package/dist/machines/splitter/index.d.cts +1 -1
  70. package/dist/machines/splitter/index.d.mts +1 -1
  71. package/dist/machines/steps/index.d.cts +1 -1
  72. package/dist/machines/steps/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.cjs +2 -2
  82. package/dist/machines/tour/index.d.cts +1 -1
  83. package/dist/machines/tour/index.d.mts +2 -2
  84. package/dist/machines/tour/index.mjs +2 -2
  85. package/dist/machines/tree-view/index.d.cts +1 -1
  86. package/dist/machines/tree-view/index.d.mts +1 -1
  87. package/dist/popper.d.cts +1 -1
  88. package/dist/popper.d.mts +1 -1
  89. package/dist/{selection-CTaapzrB.d.mts → selection-CIoBu9mp.d.mts} +1 -1
  90. package/dist/{selection-D3b3yV_x.d.cts → selection-DTpiPgq8.d.cts} +1 -1
  91. package/package.json +1 -1
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { c as Placement, d as PositioningOptions } from "../../types-D5ziaMrd.cjs";
5
5
 
6
6
  //#region src/machines/tooltip/tooltip.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
7
+ declare const anatomy: AnatomyInstance<"trigger" | "positioner" | "content" | "arrow" | "arrowTip">;
8
8
  //#endregion
9
9
  //#region src/machines/tooltip/tooltip.types.d.ts
10
10
  interface OpenChangeDetails {
@@ -1,10 +1,10 @@
1
1
  import { n as AnatomyInstance } from "../../create-anatomy-DHVOqZET.mjs";
2
2
  import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQk5.mjs";
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
- import { p as PositioningOptions, u as Placement } from "../../index-BTi1wETB.mjs";
4
+ import { p as PositioningOptions, u as Placement } from "../../index-60_Ru8qp.mjs";
5
5
 
6
6
  //#region src/machines/tooltip/tooltip.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "arrow" | "arrowTip" | "positioner">;
7
+ declare const anatomy: AnatomyInstance<"trigger" | "positioner" | "content" | "arrow" | "arrowTip">;
8
8
  //#endregion
9
9
  //#region src/machines/tooltip/tooltip.types.d.ts
10
10
  interface OpenChangeDetails {
@@ -673,8 +673,8 @@ const machine = require_core.createMachine({
673
673
  scrollToTarget({ context }) {
674
674
  context.get("resolvedTarget")?.scrollIntoView({
675
675
  behavior: "instant",
676
- block: "center",
677
- inline: "center"
676
+ block: "nearest",
677
+ inline: "nearest"
678
678
  });
679
679
  },
680
680
  setSteps(params) {
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { c as Placement } from "../../types-D5ziaMrd.cjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"actionTrigger" | "content" | "title" | "arrow" | "arrowTip" | "positioner" | "description" | "closeTrigger" | "progressText" | "backdrop" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"positioner" | "content" | "title" | "closeTrigger" | "description" | "actionTrigger" | "arrow" | "arrowTip" | "progressText" | "backdrop" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -3,10 +3,10 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-DL5AIQ
3
3
  import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BuUzJjaP.mjs";
4
4
  import { i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn } from "../../wait-for-DxY1szJ6.mjs";
5
5
  import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-Bvn6ocEE.mjs";
6
- import { u as Placement } from "../../index-BTi1wETB.mjs";
6
+ import { u as Placement } from "../../index-60_Ru8qp.mjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"actionTrigger" | "content" | "title" | "arrow" | "arrowTip" | "positioner" | "description" | "closeTrigger" | "progressText" | "backdrop" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"positioner" | "content" | "title" | "closeTrigger" | "description" | "actionTrigger" | "arrow" | "arrowTip" | "progressText" | "backdrop" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -673,8 +673,8 @@ const machine = createMachine({
673
673
  scrollToTarget({ context }) {
674
674
  context.get("resolvedTarget")?.scrollIntoView({
675
675
  behavior: "instant",
676
- block: "center",
677
- inline: "center"
676
+ block: "nearest",
677
+ inline: "nearest"
678
678
  });
679
679
  },
680
680
  setSteps(params) {
@@ -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-BdNwVP09.cjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemIndicator" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "item" | "itemIndicator" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
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-DMSwLv1e.mjs";
7
7
 
8
8
  //#region src/machines/tree-view/tree-view.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "itemIndicator" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "item" | "itemIndicator" | "itemText" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
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: "absolute" | "fixed";
56
+ readonly position: "fixed" | "absolute";
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-BTi1wETB.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-60_Ru8qp.mjs";
2
2
  export { AnchorRect, AutoUpdateOptions, Boundary, ComputePositionReturn, GetPlacementStylesOptions, Placement, PlacementAlign, PlacementSide, PositioningOptions, getPlacement, getPlacementSide, getPlacementStyles, isValidPlacement };
@@ -1,5 +1,5 @@
1
1
  import { r as CollectionOptions, t as CollectionItem } from "./types-Df8ZhdY-.mjs";
2
- import { t as ListCollection } from "./list-collection-BbgocToA.mjs";
2
+ import { t as ListCollection } from "./list-collection-swuCMCIS.mjs";
3
3
 
4
4
  //#region src/shared/collection/grid-collection.d.ts
5
5
  interface GridCollectionOptions<T> extends CollectionOptions<T> {
@@ -1,5 +1,5 @@
1
1
  import { r as CollectionOptions, t as CollectionItem } from "./types-CADkcKtr.cjs";
2
- import { t as ListCollection } from "./list-collection-DettiQL3.cjs";
2
+ import { t as ListCollection } from "./list-collection-BslnP0r-.cjs";
3
3
 
4
4
  //#region src/shared/collection/grid-collection.d.ts
5
5
  interface GridCollectionOptions<T> extends CollectionOptions<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprawlify/primitives",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "type": "module",
5
5
  "description": "A set of primitive components for building user interfaces.",
6
6
  "author": "sprawlify <npm@sprawlify.com>",