@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.
Files changed (37) hide show
  1. package/dist/{collapsible-uHsTDy9p.mjs → collapsible-DYgHs1_i.mjs} +5 -14
  2. package/dist/{collapsible-ztcYulwp.cjs → collapsible-D_cXuaRy.cjs} +3 -18
  3. package/dist/components/accordion/index.cjs +7 -6
  4. package/dist/components/accordion/index.d.cts +9 -9
  5. package/dist/components/accordion/index.d.mts +9 -9
  6. package/dist/components/accordion/index.mjs +5 -4
  7. package/dist/components/angle-slider/index.cjs +203 -0
  8. package/dist/components/angle-slider/index.d.cts +72 -0
  9. package/dist/components/angle-slider/index.d.mts +72 -0
  10. package/dist/components/angle-slider/index.mjs +180 -0
  11. package/dist/components/avatar/index.cjs +125 -0
  12. package/dist/components/avatar/index.d.cts +47 -0
  13. package/dist/components/avatar/index.d.mts +47 -0
  14. package/dist/components/avatar/index.mjs +107 -0
  15. package/dist/components/collapsible/index.cjs +1 -1
  16. package/dist/components/collapsible/index.d.cts +8 -8
  17. package/dist/components/collapsible/index.d.mts +8 -8
  18. package/dist/components/collapsible/index.mjs +3 -3
  19. package/dist/create-split-props-BFscidWy.mjs +11 -0
  20. package/dist/create-split-props-CSaOnJRj.cjs +17 -0
  21. package/dist/{factory-BvslhNMh.mjs → factory-DN0EdT7u.mjs} +1 -1
  22. package/dist/index.d.cts +2 -2
  23. package/dist/index.d.mts +2 -2
  24. package/dist/index.mjs +3 -3
  25. package/dist/{render-strategy-CErLP5e-.d.cts → render-strategy-RT-KvAqO.d.cts} +1 -2
  26. package/dist/utils/index.d.cts +1 -1
  27. package/dist/utils/index.d.mts +1 -1
  28. package/dist/utils/index.mjs +2 -2
  29. package/package.json +22 -2
  30. /package/dist/{chunk-Be3lCSWa.mjs → chunk-CYMnug_4.mjs} +0 -0
  31. /package/dist/{create-context-C0L0yhLQ.mjs → create-context-DGYD_HQt.mjs} +0 -0
  32. /package/dist/{factory-B3Fr36su.d.cts → factory-BZBSaT-0.d.cts} +0 -0
  33. /package/dist/{factory-BV5hc6hz.d.mts → factory-DaVMAttY.d.mts} +0 -0
  34. /package/dist/{index-Bk-VrHD9.d.cts → index-DiYk6N_L.d.cts} +0 -0
  35. /package/dist/{index-lntzaDM3.d.mts → index-OOf7QNG5.d.mts} +0 -0
  36. /package/dist/{render-strategy-BfNJW1Xz.d.mts → render-strategy--1FNKx5x.d.mts} +0 -0
  37. /package/dist/{utils-Q0vUJnHt.mjs → utils-nfWHwVIS.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { t as createContext$1 } from "./create-context-C0L0yhLQ.mjs";
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-B3Fr36su.cjs";
2
- import { n as createContext } from "./index-Bk-VrHD9.cjs";
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-BV5hc6hz.mjs";
2
- import { n as createContext } from "./index-lntzaDM3.mjs";
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-BvslhNMh.mjs";
2
- import { t as createContext } from "./create-context-C0L0yhLQ.mjs";
3
- import "./utils-Q0vUJnHt.mjs";
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 { __export as n, RenderStrategyProps as t };
7
+ export { RenderStrategyProps as t };
@@ -1,2 +1,2 @@
1
- import { n as createContext, t as mergeProps } from "../index-Bk-VrHD9.cjs";
1
+ import { n as createContext, t as mergeProps } from "../index-DiYk6N_L.cjs";
2
2
  export { createContext, mergeProps };
@@ -1,2 +1,2 @@
1
- import { n as createContext, t as mergeProps } from "../index-lntzaDM3.mjs";
1
+ import { n as createContext, t as mergeProps } from "../index-OOf7QNG5.mjs";
2
2
  export { createContext, mergeProps };
@@ -1,4 +1,4 @@
1
- import { t as createContext } from "../create-context-C0L0yhLQ.mjs";
2
- import { t as mergeProps } from "../utils-Q0vUJnHt.mjs";
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.4",
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.4"
69
+ "@sprawlify/primitives": "0.0.6"
50
70
  },
51
71
  "peerDependencies": {
52
72
  "react": ">=19.0.0",
File without changes
File without changes