@sprawlify/primitives 0.1.10 → 0.1.12

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 (107) hide show
  1. package/dist/{collection-BBgC8xCb.cjs → collection-D0Abtxc0.cjs} +68 -0
  2. package/dist/{collection-DgzidRvr.mjs → collection-GSpaYJ2f.mjs} +45 -1
  3. package/dist/collection.cjs +5 -1
  4. package/dist/collection.d.cts +49 -3
  5. package/dist/collection.d.mts +49 -3
  6. package/dist/collection.mjs +2 -2
  7. package/dist/{focus-trap-BewqTQFt.cjs → focus-trap-BbU9QXMe.cjs} +1 -1
  8. package/dist/{focus-trap-Do8IUXYh.mjs → focus-trap-CzhQ01j4.mjs} +1 -1
  9. package/dist/focus-trap.cjs +1 -1
  10. package/dist/focus-trap.mjs +1 -1
  11. package/dist/{list-collection-B_8BN0XB.d.cts → list-collection-Cjgbx_9l.d.cts} +1 -1
  12. package/dist/{list-collection-DkRA5LOq.d.mts → list-collection-IF510iNl.d.mts} +1 -1
  13. package/dist/machines/accordion/index.d.cts +1 -1
  14. package/dist/machines/accordion/index.d.mts +1 -1
  15. package/dist/machines/angle-slider/index.d.cts +1 -1
  16. package/dist/machines/angle-slider/index.d.mts +1 -1
  17. package/dist/machines/cascade-select/index.cjs +1 -1
  18. package/dist/machines/cascade-select/index.d.cts +2 -2
  19. package/dist/machines/cascade-select/index.d.mts +2 -2
  20. package/dist/machines/cascade-select/index.mjs +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/collapsible/index.d.cts +1 -1
  24. package/dist/machines/collapsible/index.d.mts +1 -1
  25. package/dist/machines/color-picker/index.d.cts +1 -1
  26. package/dist/machines/color-picker/index.d.mts +1 -1
  27. package/dist/machines/combobox/index.cjs +279 -355
  28. package/dist/machines/combobox/index.d.cts +5 -4
  29. package/dist/machines/combobox/index.d.mts +5 -4
  30. package/dist/machines/combobox/index.mjs +279 -355
  31. package/dist/machines/date-input/index.cjs +1830 -0
  32. package/dist/machines/date-input/index.d.cts +223 -0
  33. package/dist/machines/date-input/index.d.mts +223 -0
  34. package/dist/machines/date-input/index.mjs +1813 -0
  35. package/dist/machines/date-picker/index.d.cts +1 -1
  36. package/dist/machines/date-picker/index.d.mts +1 -1
  37. package/dist/machines/dialog/index.cjs +1 -1
  38. package/dist/machines/dialog/index.d.cts +1 -1
  39. package/dist/machines/dialog/index.d.mts +1 -1
  40. package/dist/machines/dialog/index.mjs +1 -1
  41. package/dist/machines/drawer/index.cjs +1 -1
  42. package/dist/machines/drawer/index.d.cts +1 -1
  43. package/dist/machines/drawer/index.d.mts +1 -1
  44. package/dist/machines/drawer/index.mjs +1 -1
  45. package/dist/machines/dropdown-menu/index.d.cts +1 -1
  46. package/dist/machines/dropdown-menu/index.d.mts +1 -1
  47. package/dist/machines/editable/index.d.cts +1 -1
  48. package/dist/machines/editable/index.d.mts +1 -1
  49. package/dist/machines/file-upload/index.d.cts +1 -1
  50. package/dist/machines/file-upload/index.d.mts +1 -1
  51. package/dist/machines/floating-panel/index.d.cts +1 -1
  52. package/dist/machines/floating-panel/index.d.mts +1 -1
  53. package/dist/machines/hover-card/index.d.cts +1 -1
  54. package/dist/machines/hover-card/index.d.mts +1 -1
  55. package/dist/machines/listbox/index.cjs +41 -16
  56. package/dist/machines/listbox/index.d.cts +5 -4
  57. package/dist/machines/listbox/index.d.mts +5 -4
  58. package/dist/machines/listbox/index.mjs +42 -17
  59. package/dist/machines/marquee/index.d.cts +2 -2
  60. package/dist/machines/marquee/index.d.mts +2 -2
  61. package/dist/machines/navigation-menu/index.d.cts +1 -1
  62. package/dist/machines/navigation-menu/index.d.mts +1 -1
  63. package/dist/machines/number-input/index.d.cts +1 -1
  64. package/dist/machines/number-input/index.d.mts +1 -1
  65. package/dist/machines/password-input/index.d.cts +1 -1
  66. package/dist/machines/password-input/index.d.mts +1 -1
  67. package/dist/machines/pin-input/index.d.cts +1 -1
  68. package/dist/machines/pin-input/index.d.mts +1 -1
  69. package/dist/machines/popover/index.cjs +1 -1
  70. package/dist/machines/popover/index.d.cts +1 -1
  71. package/dist/machines/popover/index.d.mts +1 -1
  72. package/dist/machines/popover/index.mjs +1 -1
  73. package/dist/machines/progress/index.d.cts +1 -1
  74. package/dist/machines/progress/index.d.mts +1 -1
  75. package/dist/machines/select/index.cjs +47 -18
  76. package/dist/machines/select/index.d.cts +4 -3
  77. package/dist/machines/select/index.d.mts +4 -3
  78. package/dist/machines/select/index.mjs +48 -19
  79. package/dist/machines/signature-pad/index.d.cts +1 -1
  80. package/dist/machines/signature-pad/index.d.mts +1 -1
  81. package/dist/machines/slider/index.d.cts +1 -1
  82. package/dist/machines/slider/index.d.mts +1 -1
  83. package/dist/machines/steps/index.d.cts +1 -1
  84. package/dist/machines/steps/index.d.mts +1 -1
  85. package/dist/machines/switch/index.d.cts +1 -1
  86. package/dist/machines/switch/index.d.mts +1 -1
  87. package/dist/machines/tabs/index.d.cts +1 -1
  88. package/dist/machines/tabs/index.d.mts +1 -1
  89. package/dist/machines/tags-input/index.d.cts +1 -1
  90. package/dist/machines/tags-input/index.d.mts +1 -1
  91. package/dist/machines/timer/index.d.cts +1 -1
  92. package/dist/machines/timer/index.d.mts +1 -1
  93. package/dist/machines/toast/index.d.cts +1 -1
  94. package/dist/machines/toast/index.d.mts +1 -1
  95. package/dist/machines/tooltip/index.d.cts +1 -1
  96. package/dist/machines/tooltip/index.d.mts +1 -1
  97. package/dist/machines/tour/index.cjs +1 -1
  98. package/dist/machines/tour/index.d.cts +1 -1
  99. package/dist/machines/tour/index.d.mts +1 -1
  100. package/dist/machines/tour/index.mjs +1 -1
  101. package/dist/machines/tree-view/index.cjs +1 -1
  102. package/dist/machines/tree-view/index.d.cts +1 -1
  103. package/dist/machines/tree-view/index.d.mts +1 -1
  104. package/dist/machines/tree-view/index.mjs +1 -1
  105. package/dist/{selection-DdNvrKbj.d.mts → selection-6urf-c8j.d.mts} +1 -1
  106. package/dist/{selection-Bb_ZSVxe.d.cts → selection-BmS2RDMq.d.cts} +1 -1
  107. package/package.json +13 -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-CZAtqGqH.cjs";
5
5
 
6
6
  //#region src/machines/tooltip/tooltip.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "arrow" | "arrowTip">;
7
+ declare const anatomy: AnatomyInstance<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">;
8
8
  //#endregion
9
9
  //#region src/machines/tooltip/tooltip.types.d.ts
10
10
  interface OpenChangeDetails {
@@ -4,7 +4,7 @@ import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as Comm
4
4
  import { p as PositioningOptions, u as Placement } from "../../index-fMh0VDkR.mjs";
5
5
 
6
6
  //#region src/machines/tooltip/tooltip.anatomy.d.ts
7
- declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "arrow" | "arrowTip">;
7
+ declare const anatomy: AnatomyInstance<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">;
8
8
  //#endregion
9
9
  //#region src/machines/tooltip/tooltip.types.d.ts
10
10
  interface OpenChangeDetails {
@@ -5,7 +5,7 @@ const require_utils = require("../../utils-ByNiZU8f.cjs");
5
5
  const require_core = require("../../core-Bw_czdwX.cjs");
6
6
  const require_interact_outside = require("../../interact-outside-Bg-QSXqp.cjs");
7
7
  const require_dismissable = require("../../dismissable-DxjbwsOf.cjs");
8
- const require_focus_trap = require("../../focus-trap-BewqTQFt.cjs");
8
+ const require_focus_trap = require("../../focus-trap-BbU9QXMe.cjs");
9
9
  const require_popper = require("../../popper-viCrafLC.cjs");
10
10
  const require_create_props = require("../../create-props-DP39rHnH.cjs");
11
11
  //#region src/machines/tour/tour.anatomy.ts
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { c as Placement } from "../../types-CZAtqGqH.cjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"content" | "progressText" | "title" | "positioner" | "arrow" | "description" | "actionTrigger" | "closeTrigger" | "arrowTip" | "backdrop" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"content" | "title" | "description" | "actionTrigger" | "closeTrigger" | "arrow" | "arrowTip" | "positioner" | "progressText" | "backdrop" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
6
6
  import { u as Placement } from "../../index-fMh0VDkR.mjs";
7
7
 
8
8
  //#region src/machines/tour/tour.anatomy.d.ts
9
- declare const anatomy: AnatomyInstance<"content" | "progressText" | "title" | "positioner" | "arrow" | "description" | "actionTrigger" | "closeTrigger" | "arrowTip" | "backdrop" | "spotlight">;
9
+ declare const anatomy: AnatomyInstance<"content" | "title" | "description" | "actionTrigger" | "closeTrigger" | "arrow" | "arrowTip" | "positioner" | "progressText" | "backdrop" | "spotlight">;
10
10
  //#endregion
11
11
  //#region src/machines/tour/utils/rect.d.ts
12
12
  interface Point {
@@ -4,7 +4,7 @@ import { Et as nextIndex, dt as isString, ft as isEqual, i as warn, kt as prevIn
4
4
  import { a as createMachine, g as mergeProps, i as createGuards } from "../../core-CTtbW9qh.mjs";
5
5
  import { t as trackInteractOutside } from "../../interact-outside-Ba50N1a5.mjs";
6
6
  import { t as trackDismissableBranch } from "../../dismissable-B9k5K6f9.mjs";
7
- import { t as trapFocus } from "../../focus-trap-Do8IUXYh.mjs";
7
+ import { t as trapFocus } from "../../focus-trap-CzhQ01j4.mjs";
8
8
  import { n as getPlacement, t as getPlacementStyles } from "../../popper-BlgbmdAn.mjs";
9
9
  import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
10
10
  //#region src/machines/tour/tour.anatomy.ts
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
3
3
  const require_dom_query = require("../../dom-query-BUO7rGsg.cjs");
4
4
  const require_utils = require("../../utils-ByNiZU8f.cjs");
5
- const require_collection = require("../../collection-BBgC8xCb.cjs");
5
+ const require_collection = require("../../collection-D0Abtxc0.cjs");
6
6
  const require_core = require("../../core-Bw_czdwX.cjs");
7
7
  const require_create_props = require("../../create-props-DP39rHnH.cjs");
8
8
  //#region src/machines/tree-view/tree-view.anatomy.ts
@@ -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" | "label" | "item" | "itemIndicator" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "itemText" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "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" | "label" | "item" | "itemIndicator" | "itemText" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
9
+ declare const anatomy: AnatomyInstance<"root" | "label" | "item" | "itemIndicator" | "itemText" | "tree" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput">;
10
10
  //#endregion
11
11
  //#region src/machines/tree-view/tree-view.collection.d.ts
12
12
  declare const collection: {
@@ -1,7 +1,7 @@
1
1
  import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
2
2
  import { Ct as isModifierKey, St as isLeftClick, W as raf, _t as isComposingEvent, bn as ariaAttr, cn as isAnchorElement, ct as setElementValue, ft as getEventKey, ht as getEventTarget, s as getByTypeahead, un as isEditableElement, xn as dataAttr } from "../../dom-query-BFuRs3l4.mjs";
3
3
  import { At as remove, Dt as partition, Mt as toArray, Nt as uniq, _t as diff, ft as isEqual, mt as addOrRemove, nt as isArray, pt as add, t as ensure, u as createSplitProps, vt as first, wt as last } from "../../utils-VVoZ_v29.mjs";
4
- import { n as filePathToTree, t as TreeCollection } from "../../collection-DgzidRvr.mjs";
4
+ import { n as filePathToTree, t as TreeCollection } from "../../collection-GSpaYJ2f.mjs";
5
5
  import { a as createMachine, i as createGuards } from "../../core-CTtbW9qh.mjs";
6
6
  import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
7
7
  //#region src/machines/tree-view/tree-view.anatomy.ts
@@ -1,5 +1,5 @@
1
1
  import { r as CollectionOptions, t as CollectionItem } from "./types-9uw8LHpE.mjs";
2
- import { t as ListCollection } from "./list-collection-DkRA5LOq.mjs";
2
+ import { t as ListCollection } from "./list-collection-IF510iNl.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-D-7AMgSE.cjs";
2
- import { t as ListCollection } from "./list-collection-B_8BN0XB.cjs";
2
+ import { t as ListCollection } from "./list-collection-Cjgbx_9l.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,9 +1,11 @@
1
1
  {
2
2
  "name": "@sprawlify/primitives",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "A set of primitive components for building user interfaces.",
5
+ "homepage": "https://ui.sprawlify.com",
5
6
  "license": "MIT",
6
7
  "author": "sprawlify <npm@sprawlify.com>",
8
+ "repository": "https://github.com/sprawlify/community",
7
9
  "files": [
8
10
  "dist"
9
11
  ],
@@ -322,6 +324,16 @@
322
324
  "default": "./dist/machines/combobox/index.cjs"
323
325
  }
324
326
  },
327
+ "./machines/date-input": {
328
+ "import": {
329
+ "types": "./dist/machines/date-input/index.d.mts",
330
+ "default": "./dist/machines/date-input/index.mjs"
331
+ },
332
+ "require": {
333
+ "types": "./dist/machines/date-input/index.d.cts",
334
+ "default": "./dist/machines/date-input/index.cjs"
335
+ }
336
+ },
325
337
  "./machines/date-picker": {
326
338
  "import": {
327
339
  "types": "./dist/machines/date-picker/index.d.mts",