@sprawlify/primitives 0.0.73 → 0.0.75
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.
- package/dist/collection.d.cts +2 -2
- package/dist/collection.d.mts +2 -2
- package/dist/{list-collection-DwMgPYoA.d.cts → list-collection-frYcaWR1.d.cts} +1 -1
- package/dist/{list-collection-C9XUe75n.d.mts → list-collection-opFV146F.d.mts} +1 -1
- package/dist/machines/accordion/index.d.cts +1 -1
- package/dist/machines/accordion/index.d.mts +1 -1
- package/dist/machines/angle-slider/index.d.cts +1 -1
- package/dist/machines/angle-slider/index.d.mts +1 -1
- package/dist/machines/bottom-sheet/index.d.cts +1 -1
- package/dist/machines/bottom-sheet/index.d.mts +1 -1
- package/dist/machines/carousel/index.d.cts +1 -1
- package/dist/machines/carousel/index.d.mts +1 -1
- package/dist/machines/checkbox/index.d.cts +1 -1
- package/dist/machines/checkbox/index.d.mts +1 -1
- package/dist/machines/clipboard/index.d.cts +1 -1
- package/dist/machines/clipboard/index.d.mts +1 -1
- package/dist/machines/collapsible/index.d.cts +1 -1
- package/dist/machines/collapsible/index.d.mts +1 -1
- package/dist/machines/color-picker/index.d.cts +1 -1
- package/dist/machines/color-picker/index.d.mts +1 -1
- package/dist/machines/combobox/index.d.cts +2 -2
- package/dist/machines/combobox/index.d.mts +2 -2
- package/dist/machines/date-picker/index.d.cts +1 -1
- package/dist/machines/date-picker/index.d.mts +1 -1
- package/dist/machines/dialog/index.d.cts +1 -1
- package/dist/machines/dialog/index.d.mts +1 -1
- package/dist/machines/editable/index.d.cts +1 -1
- package/dist/machines/editable/index.d.mts +1 -1
- package/dist/machines/file-upload/index.d.cts +1 -1
- package/dist/machines/file-upload/index.d.mts +1 -1
- package/dist/machines/floating-panel/index.d.cts +1 -1
- package/dist/machines/floating-panel/index.d.mts +1 -1
- package/dist/machines/hover-card/index.d.cts +1 -1
- package/dist/machines/hover-card/index.d.mts +1 -1
- package/dist/machines/image-cropper/index.d.cts +1 -1
- package/dist/machines/image-cropper/index.d.mts +1 -1
- package/dist/machines/listbox/index.d.cts +3 -3
- package/dist/machines/listbox/index.d.mts +3 -3
- package/dist/machines/marquee/index.d.cts +3 -3
- package/dist/machines/marquee/index.d.mts +3 -3
- package/dist/machines/menu/index.d.cts +1 -1
- package/dist/machines/menu/index.d.mts +1 -1
- package/dist/machines/navigation-menu/index.d.cts +1 -1
- package/dist/machines/navigation-menu/index.d.mts +1 -1
- package/dist/machines/number-input/index.d.cts +1 -1
- package/dist/machines/number-input/index.d.mts +1 -1
- package/dist/machines/pagination/index.d.cts +1 -1
- package/dist/machines/pagination/index.d.mts +1 -1
- package/dist/machines/password-input/index.d.cts +1 -1
- package/dist/machines/password-input/index.d.mts +1 -1
- package/dist/machines/pin-input/index.d.cts +1 -1
- package/dist/machines/pin-input/index.d.mts +1 -1
- package/dist/machines/popover/index.d.cts +1 -1
- package/dist/machines/popover/index.d.mts +1 -1
- package/dist/machines/progress/index.d.cts +1 -1
- package/dist/machines/progress/index.d.mts +1 -1
- package/dist/machines/qr-code/index.d.cts +1 -1
- package/dist/machines/qr-code/index.d.mts +1 -1
- package/dist/machines/radio-group/index.d.cts +1 -1
- package/dist/machines/radio-group/index.d.mts +1 -1
- package/dist/machines/rating-group/index.d.cts +1 -1
- package/dist/machines/rating-group/index.d.mts +1 -1
- package/dist/machines/scroll-area/index.d.cts +1 -1
- package/dist/machines/scroll-area/index.d.mts +1 -1
- package/dist/machines/select/index.d.cts +2 -2
- package/dist/machines/select/index.d.mts +2 -2
- package/dist/machines/separator/index.cjs +72 -0
- package/dist/machines/separator/index.d.cts +40 -0
- package/dist/machines/separator/index.d.mts +40 -0
- package/dist/machines/separator/index.mjs +68 -0
- package/dist/machines/signature-pad/index.d.cts +1 -1
- package/dist/machines/signature-pad/index.d.mts +1 -1
- package/dist/machines/slider/index.d.cts +1 -1
- package/dist/machines/slider/index.d.mts +1 -1
- package/dist/machines/steps/index.d.cts +1 -1
- package/dist/machines/steps/index.d.mts +1 -1
- package/dist/machines/switch/index.d.cts +1 -1
- package/dist/machines/switch/index.d.mts +1 -1
- package/dist/machines/tabs/index.d.cts +1 -1
- package/dist/machines/tabs/index.d.mts +1 -1
- package/dist/machines/tags-input/index.d.cts +1 -1
- package/dist/machines/tags-input/index.d.mts +1 -1
- package/dist/machines/timer/index.d.cts +1 -1
- package/dist/machines/timer/index.d.mts +1 -1
- package/dist/machines/toast/index.d.cts +1 -1
- package/dist/machines/toast/index.d.mts +1 -1
- package/dist/machines/toggle/index.d.cts +1 -1
- package/dist/machines/toggle/index.d.mts +1 -1
- package/dist/machines/toggle-group/index.d.cts +1 -1
- package/dist/machines/toggle-group/index.d.mts +1 -1
- package/dist/machines/tooltip/index.d.cts +1 -1
- package/dist/machines/tooltip/index.d.mts +1 -1
- package/dist/machines/tour/index.d.cts +1 -1
- package/dist/machines/tour/index.d.mts +1 -1
- package/dist/machines/tree-view/index.d.cts +1 -1
- package/dist/machines/tree-view/index.d.mts +1 -1
- package/dist/{selection-wfybIxD3.d.cts → selection-RpcIyN7s.d.cts} +1 -1
- package/dist/{selection-CPTdpru8.d.mts → selection-k5_1gmv5.d.mts} +1 -1
- package/package.json +11 -1
|
@@ -175,7 +175,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
175
175
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/machines/toast/toast.anatomy.d.ts
|
|
178
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
178
|
+
declare const anatomy: AnatomyInstance<"root" | "actionTrigger" | "closeTrigger" | "title" | "description" | "group">;
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region src/machines/toast/toast.connect.d.ts
|
|
181
181
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7B
|
|
|
3
3
|
import { b as NormalizeProps, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/toggle/toggle.anatomy.d.ts
|
|
6
|
-
declare const anatomy: Anatomy<"
|
|
6
|
+
declare const anatomy: Anatomy<"indicator" | "root">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/toggle/toggle.types.d.ts
|
|
9
9
|
interface ToggleProps {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVv
|
|
|
3
3
|
import { b as NormalizeProps, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/toggle/toggle.anatomy.d.ts
|
|
6
|
-
declare const anatomy: Anatomy<"
|
|
6
|
+
declare const anatomy: Anatomy<"indicator" | "root">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/toggle/toggle.types.d.ts
|
|
9
9
|
interface ToggleProps {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-fB7F7B
|
|
|
3
3
|
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-D1U_WMQ9.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/toggle-group/toggle-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"item" | "root">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/toggle-group/toggle-group.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -3,7 +3,7 @@ import { p as Machine, u as EventObject, y as Service } from "../../types-BM4oVv
|
|
|
3
3
|
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CafmAesU.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/toggle-group/toggle-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"item" | "root">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/toggle-group/toggle-group.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -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-B--gFZVP.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"arrow" | "arrowTip" | "content" | "positioner" | "trigger">;
|
|
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-DJ1MHM3z.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"arrow" | "arrowTip" | "content" | "positioner" | "trigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|
|
@@ -6,7 +6,7 @@ import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusO
|
|
|
6
6
|
import { c as Placement } from "../../types-B--gFZVP.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"arrow" | "arrowTip" | "content" | "positioner" | "actionTrigger" | "closeTrigger" | "progressText" | "title" | "description" | "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-DJ1MHM3z.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tour/tour.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"arrow" | "arrowTip" | "content" | "positioner" | "actionTrigger" | "closeTrigger" | "progressText" | "title" | "description" | "backdrop" | "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-BhNtyjQC.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"item" | "itemIndicator" | "itemText" | "root" | "label" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "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-D4TUCBly.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/tree-view/tree-view.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"
|
|
9
|
+
declare const anatomy: AnatomyInstance<"item" | "itemIndicator" | "itemText" | "root" | "label" | "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "nodeCheckbox" | "nodeRenameInput" | "tree">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/tree-view/tree-view.collection.d.ts
|
|
12
12
|
declare const collection: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as CollectionOptions, t as CollectionItem } from "./types-CBWaEVU4.cjs";
|
|
2
|
-
import { t as ListCollection } from "./list-collection-
|
|
2
|
+
import { t as ListCollection } from "./list-collection-frYcaWR1.cjs";
|
|
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-D0tsc4Jo.mjs";
|
|
2
|
-
import { t as ListCollection } from "./list-collection-
|
|
2
|
+
import { t as ListCollection } from "./list-collection-opFV146F.mjs";
|
|
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.
|
|
3
|
+
"version": "0.0.75",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of primitive components for building user interfaces.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -538,6 +538,16 @@
|
|
|
538
538
|
"default": "./dist/machines/select/index.cjs"
|
|
539
539
|
}
|
|
540
540
|
},
|
|
541
|
+
"./machines/separator": {
|
|
542
|
+
"import": {
|
|
543
|
+
"types": "./dist/machines/separator/index.d.mts",
|
|
544
|
+
"default": "./dist/machines/separator/index.mjs"
|
|
545
|
+
},
|
|
546
|
+
"require": {
|
|
547
|
+
"types": "./dist/machines/separator/index.d.cts",
|
|
548
|
+
"default": "./dist/machines/separator/index.cjs"
|
|
549
|
+
}
|
|
550
|
+
},
|
|
541
551
|
"./machines/signature-pad": {
|
|
542
552
|
"import": {
|
|
543
553
|
"types": "./dist/machines/signature-pad/index.d.mts",
|