@sprawlify/react 0.0.4 → 0.0.6
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/{collapsible-uHsTDy9p.mjs → collapsible-DYgHs1_i.mjs} +5 -14
- package/dist/{collapsible-ztcYulwp.cjs → collapsible-D_cXuaRy.cjs} +3 -18
- package/dist/components/accordion/index.cjs +7 -6
- package/dist/components/accordion/index.d.cts +9 -9
- package/dist/components/accordion/index.d.mts +9 -9
- package/dist/components/accordion/index.mjs +5 -4
- package/dist/components/angle-slider/index.cjs +203 -0
- package/dist/components/angle-slider/index.d.cts +72 -0
- package/dist/components/angle-slider/index.d.mts +72 -0
- package/dist/components/angle-slider/index.mjs +180 -0
- package/dist/components/avatar/index.cjs +125 -0
- package/dist/components/avatar/index.d.cts +47 -0
- package/dist/components/avatar/index.d.mts +47 -0
- package/dist/components/avatar/index.mjs +107 -0
- package/dist/components/collapsible/index.cjs +1 -1
- package/dist/components/collapsible/index.d.cts +8 -8
- package/dist/components/collapsible/index.d.mts +8 -8
- package/dist/components/collapsible/index.mjs +3 -3
- package/dist/create-split-props-BFscidWy.mjs +11 -0
- package/dist/create-split-props-CSaOnJRj.cjs +17 -0
- package/dist/{factory-BvslhNMh.mjs → factory-DN0EdT7u.mjs} +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/{render-strategy-CErLP5e-.d.cts → render-strategy-RT-KvAqO.d.cts} +1 -2
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +22 -2
- /package/dist/{chunk-Be3lCSWa.mjs → chunk-CYMnug_4.mjs} +0 -0
- /package/dist/{create-context-C0L0yhLQ.mjs → create-context-DGYD_HQt.mjs} +0 -0
- /package/dist/{factory-B3Fr36su.d.cts → factory-BZBSaT-0.d.cts} +0 -0
- /package/dist/{factory-BV5hc6hz.d.mts → factory-DaVMAttY.d.mts} +0 -0
- /package/dist/{index-Bk-VrHD9.d.cts → index-DiYk6N_L.d.cts} +0 -0
- /package/dist/{index-lntzaDM3.d.mts → index-OOf7QNG5.d.mts} +0 -0
- /package/dist/{render-strategy-BfNJW1Xz.d.mts → render-strategy--1FNKx5x.d.mts} +0 -0
- /package/dist/{utils-Q0vUJnHt.mjs → utils-nfWHwVIS.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createContext$1 } from "./create-context-
|
|
1
|
+
import { t as createContext$1 } from "./create-context-DGYD_HQt.mjs";
|
|
2
2
|
import { INIT_STATE, MachineStatus, createScope, mergeProps, mergeProps as mergeProps$1 } from "@sprawlify/primitives/core";
|
|
3
3
|
import { compact, ensure, identity, isFunction, isString, toArray, warn } from "@sprawlify/primitives/utils";
|
|
4
4
|
import * as React$1 from "react";
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as sprawlify, c as PropTypes, i as jsxFactory, l as normalizeProps, n as HTMLSprawlifyProps, o as Assign, r as PolymorphicProps, s as Optional, t as HTMLProps } from "./factory-
|
|
2
|
-
import { n as createContext } from "./index-
|
|
1
|
+
import { a as sprawlify, c as PropTypes, i as jsxFactory, l as normalizeProps, n as HTMLSprawlifyProps, o as Assign, r as PolymorphicProps, s as Optional, t as HTMLProps } from "./factory-BZBSaT-0.cjs";
|
|
2
|
+
import { n as createContext } from "./index-DiYk6N_L.cjs";
|
|
3
3
|
import { JSX, PropsWithChildren, ReactNode, RefObject } from "react";
|
|
4
4
|
import { Machine, MachineSchema, Service } from "@sprawlify/primitives/core";
|
|
5
5
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as sprawlify, c as Portal, d as normalizeProps, f as useMachine, i as jsxFactory, l as PortalProps, n as HTMLSprawlifyProps, o as Assign, r as PolymorphicProps, s as Optional, t as HTMLProps, u as PropTypes } from "./factory-
|
|
2
|
-
import { n as createContext } from "./index-
|
|
1
|
+
import { a as sprawlify, c as Portal, d as normalizeProps, f as useMachine, i as jsxFactory, l as PortalProps, n as HTMLSprawlifyProps, o as Assign, r as PolymorphicProps, s as Optional, t as HTMLProps, u as PropTypes } from "./factory-DaVMAttY.mjs";
|
|
2
|
+
import { n as createContext } from "./index-OOf7QNG5.mjs";
|
|
3
3
|
import { PropsWithChildren, ReactNode } from "react";
|
|
4
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
import { FilterOptions, FilterReturn, Locale } from "@sprawlify/primitives/i18n-utils";
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as LocaleProvider, c as useEnvironmentContext, d as normalizeProps, f as useMachine, i as useCollator, l as mergeProps, n as sprawlify, o as useLocaleContext, r as useFilter, s as EnvironmentProvider, t as jsxFactory, u as Portal } from "./factory-
|
|
2
|
-
import { t as createContext } from "./create-context-
|
|
3
|
-
import "./utils-
|
|
1
|
+
import { a as LocaleProvider, c as useEnvironmentContext, d as normalizeProps, f as useMachine, i as useCollator, l as mergeProps, n as sprawlify, o as useLocaleContext, r as useFilter, s as EnvironmentProvider, t as jsxFactory, u as Portal } from "./factory-DN0EdT7u.mjs";
|
|
2
|
+
import { t as createContext } from "./create-context-DGYD_HQt.mjs";
|
|
3
|
+
import "./utils-nfWHwVIS.mjs";
|
|
4
4
|
|
|
5
5
|
export { EnvironmentProvider, LocaleProvider, Portal, createContext, jsxFactory, normalizeProps, sprawlify, useCollator, useEnvironmentContext, useFilter, useLocaleContext, useMachine };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
//#endregion
|
|
2
1
|
//#region src/utils/render-strategy.d.ts
|
|
3
2
|
interface RenderStrategyProps {
|
|
4
3
|
lazyMount?: boolean | undefined;
|
|
5
4
|
unmountOnExit?: boolean | undefined;
|
|
6
5
|
}
|
|
7
6
|
//#endregion
|
|
8
|
-
export {
|
|
7
|
+
export { RenderStrategyProps as t };
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createContext, t as mergeProps } from "../index-
|
|
1
|
+
import { n as createContext, t as mergeProps } from "../index-DiYk6N_L.cjs";
|
|
2
2
|
export { createContext, mergeProps };
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createContext, t as mergeProps } from "../index-
|
|
1
|
+
import { n as createContext, t as mergeProps } from "../index-OOf7QNG5.mjs";
|
|
2
2
|
export { createContext, mergeProps };
|
package/dist/utils/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createContext } from "../create-context-
|
|
2
|
-
import { t as mergeProps } from "../utils-
|
|
1
|
+
import { t as createContext } from "../create-context-DGYD_HQt.mjs";
|
|
2
|
+
import { t as mergeProps } from "../utils-nfWHwVIS.mjs";
|
|
3
3
|
|
|
4
4
|
export { createContext, mergeProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprawlify/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React wrapper for primitives.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -28,6 +28,26 @@
|
|
|
28
28
|
"default": "./dist/components/accordion/index.cjs"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
+
"./angle-slider": {
|
|
32
|
+
"import": {
|
|
33
|
+
"types": "./dist/components/angle-slider/index.d.mts",
|
|
34
|
+
"default": "./dist/components/angle-slider/index.mjs"
|
|
35
|
+
},
|
|
36
|
+
"require": {
|
|
37
|
+
"types": "./dist/components/angle-slider/index.d.cts",
|
|
38
|
+
"default": "./dist/components/angle-slider/index.cjs"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"./avatar": {
|
|
42
|
+
"import": {
|
|
43
|
+
"types": "./dist/components/avatar/index.d.mts",
|
|
44
|
+
"default": "./dist/components/avatar/index.mjs"
|
|
45
|
+
},
|
|
46
|
+
"require": {
|
|
47
|
+
"types": "./dist/components/avatar/index.d.cts",
|
|
48
|
+
"default": "./dist/components/avatar/index.cjs"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
31
51
|
"./collapsible": {
|
|
32
52
|
"import": {
|
|
33
53
|
"types": "./dist/components/collapsible/index.d.mts",
|
|
@@ -46,7 +66,7 @@
|
|
|
46
66
|
"access": "public"
|
|
47
67
|
},
|
|
48
68
|
"dependencies": {
|
|
49
|
-
"@sprawlify/primitives": "0.0.
|
|
69
|
+
"@sprawlify/primitives": "0.0.6"
|
|
50
70
|
},
|
|
51
71
|
"peerDependencies": {
|
|
52
72
|
"react": ">=19.0.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|