@cyclone-ui/nextjs 0.0.60 → 0.0.62
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/CHANGELOG.md +56 -0
- package/dist/provider.cjs +1 -1
- package/dist/provider.d.cts.map +1 -1
- package/dist/provider.mjs +1 -1
- package/dist/provider.mjs.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,62 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Cyclone UI - Nextjs
|
|
4
4
|
|
|
5
|
+
## [0.0.61](https://github.com/storm-software/cyclone-ui/releases/tag/nextjs%400.0.61) (11/16/2026)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **illustrations:** Added the missing illustration component ([0ef9ee38a](https://github.com/storm-software/cyclone-ui/commit/0ef9ee38a))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **bar-chart** to **v0.0.54**
|
|
14
|
+
- Updated **body-text** to **v0.5.82**
|
|
15
|
+
- Updated **calendar** to **v0.0.75**
|
|
16
|
+
- Updated **chart** to **v0.0.54**
|
|
17
|
+
- Updated **checkbox** to **v0.5.91**
|
|
18
|
+
- Updated **composed-chart** to **v0.0.54**
|
|
19
|
+
- Updated **drawer** to **v0.1.91**
|
|
20
|
+
- Updated **field** to **v0.5.91**
|
|
21
|
+
- Updated **footer** to **v0.0.89**
|
|
22
|
+
- Updated **form** to **v0.9.85**
|
|
23
|
+
- Updated **input** to **v0.6.91**
|
|
24
|
+
- Updated **link** to **v0.5.90**
|
|
25
|
+
- Updated **page** to **v0.0.85**
|
|
26
|
+
- Updated **password-input** to **v0.0.90**
|
|
27
|
+
- Updated **radio-group** to **v0.5.92**
|
|
28
|
+
- Updated **select** to **v0.6.93**
|
|
29
|
+
- Updated **state** to **v0.0.86**
|
|
30
|
+
- Updated **switch** to **v0.5.91**
|
|
31
|
+
- Updated **text-area** to **v0.1.92**
|
|
32
|
+
- Updated **theme-builder** to **v0.0.72**
|
|
33
|
+
- Updated **tokens** to **v0.3.71**
|
|
34
|
+
|
|
35
|
+
## [0.0.60](https://github.com/storm-software/cyclone-ui/releases/tag/nextjs%400.0.60) (11/16/2026)
|
|
36
|
+
|
|
37
|
+
### Updated Dependencies
|
|
38
|
+
|
|
39
|
+
- Updated **bar-chart** to **v0.0.53**
|
|
40
|
+
- Updated **body-text** to **v0.5.81**
|
|
41
|
+
- Updated **calendar** to **v0.0.74**
|
|
42
|
+
- Updated **chart** to **v0.0.53**
|
|
43
|
+
- Updated **checkbox** to **v0.5.90**
|
|
44
|
+
- Updated **composed-chart** to **v0.0.53**
|
|
45
|
+
- Updated **drawer** to **v0.1.90**
|
|
46
|
+
- Updated **field** to **v0.5.90**
|
|
47
|
+
- Updated **footer** to **v0.0.88**
|
|
48
|
+
- Updated **form** to **v0.9.84**
|
|
49
|
+
- Updated **input** to **v0.6.90**
|
|
50
|
+
- Updated **link** to **v0.5.89**
|
|
51
|
+
- Updated **page** to **v0.0.84**
|
|
52
|
+
- Updated **password-input** to **v0.0.89**
|
|
53
|
+
- Updated **radio-group** to **v0.5.91**
|
|
54
|
+
- Updated **select** to **v0.6.92**
|
|
55
|
+
- Updated **state** to **v0.0.85**
|
|
56
|
+
- Updated **switch** to **v0.5.90**
|
|
57
|
+
- Updated **text-area** to **v0.1.91**
|
|
58
|
+
- Updated **theme-builder** to **v0.0.71**
|
|
59
|
+
- Updated **tokens** to **v0.3.70**
|
|
60
|
+
|
|
5
61
|
## [0.0.59](https://github.com/storm-software/cyclone-ui/releases/tag/nextjs%400.0.59) (11/15/2026)
|
|
6
62
|
|
|
7
63
|
### Updated Dependencies
|
package/dist/provider.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@cyclone-ui/state/theme"),t=require("@cyclone-ui/tokens/tamagui"),n=require("@tamagui/core"),r=require("@tamagui/next-theme"),i=require("next/navigation.js"),a=require("react"),o=require("react-native"),s=require("react/jsx-runtime");const c=[`light`,`dark`],l=process.env.TAMAGUI_CSS_LAYER,u=({mode:t,onChangeMode:n,enableColorScheme:i})=>{let{forcedTheme:o,resolvedTheme:s}=(0,r.useThemeSetting)(),c=o??s,{changeMode:l}=(0,e.useThemeActions)();return(0,a.useLayoutEffect)(()=>{(c===`light`||c===`dark`)&&(n(c),i&&(document.documentElement.style.colorScheme=c))},[c,i,n]),(0,a.useEffect)(()=>{l(t)},[l,t]),null};function d({children:d,config:f=t.config,disableInjectCSS:p=!1,skipNextHead:m=!0,onChangeTheme:h,mode:g=`light`,modeCookie:_,...v}){let[y,b]=(0,a.useState)(g);return(0,a.useEffect)(()=>{_&&(document.cookie=`${_}=${y}; path=/; max-age=31536000; samesite=lax`)},[y,_]),(0,i.useServerInsertedHTML)(()=>{let e=o.StyleSheet.getSheet();return/* @__PURE__ */ (0,s.jsx)(`style`,{id:e.id,dangerouslySetInnerHTML:{__html:e.textContent}})}),/* @__PURE__ */ (0,s.jsx)(r.NextThemeProvider,{...v,skipNextHead:m,onChangeTheme:e=>{(e===`light`||e===`dark`)&&b(e),h?.(e)},children:/* @__PURE__ */ (0,s.jsxs)(e.ThemeApi.Provider,{scope:`theme`,initialState:{mode:y,items:c},children:[/* @__PURE__ */ (0,s.jsx)(u,{mode:y,onChangeMode:b,enableColorScheme:v.enableColorScheme??!0}),l&&/* @__PURE__ */ (0,s.jsx)(`style`,{href:`cyclone-ui-layer-order`,precedence:`default`,children:`@layer theme, base, ${l}, components, utilities;`}),/* @__PURE__ */ (0,s.
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@cyclone-ui/state/theme"),t=require("@cyclone-ui/tokens/tamagui"),n=require("@tamagui/core"),r=require("@tamagui/next-theme"),i=require("next/navigation.js"),a=require("react"),o=require("react-native"),s=require("react/jsx-runtime");const c=[`light`,`dark`],l=process.env.TAMAGUI_CSS_LAYER,u=({mode:t,onChangeMode:n,enableColorScheme:i})=>{let{forcedTheme:o,resolvedTheme:s}=(0,r.useThemeSetting)(),c=o??s,{changeMode:l}=(0,e.useThemeActions)();return(0,a.useLayoutEffect)(()=>{(c===`light`||c===`dark`)&&(n(c),i&&(document.documentElement.style.colorScheme=c))},[c,i,n]),(0,a.useEffect)(()=>{l(t)},[l,t]),null};function d({children:d,config:f=t.config,disableInjectCSS:p=!1,skipNextHead:m=!0,onChangeTheme:h,mode:g=`light`,modeCookie:_,...v}){let[y,b]=(0,a.useState)(g);return(0,a.useEffect)(()=>{_&&(document.cookie=`${_}=${y}; path=/; max-age=31536000; samesite=lax`)},[y,_]),(0,i.useServerInsertedHTML)(()=>{let e=o.StyleSheet.getSheet();return/* @__PURE__ */ (0,s.jsx)(`style`,{id:e.id,dangerouslySetInnerHTML:{__html:e.textContent}})}),/* @__PURE__ */ (0,s.jsx)(r.NextThemeProvider,{...v,skipNextHead:m,onChangeTheme:e=>{(e===`light`||e===`dark`)&&b(e),h?.(e)},children:/* @__PURE__ */ (0,s.jsxs)(e.ThemeApi.Provider,{scope:`theme`,initialState:{mode:y,items:c},children:[/* @__PURE__ */ (0,s.jsx)(u,{mode:y,onChangeMode:b,enableColorScheme:v.enableColorScheme??!0}),l&&/* @__PURE__ */ (0,s.jsx)(`style`,{href:`cyclone-ui-layer-order`,precedence:`default`,children:`@layer theme, base, ${l}, components, utilities;`}),/* @__PURE__ */ (0,s.jsxs)(n.TamaguiProvider,{config:f,defaultTheme:y,disableInjectCSS:p,children:[/* @__PURE__ */ (0,s.jsx)(e.SelectionStyle,{}),/* @__PURE__ */ (0,s.jsx)(n.Theme,{name:`base`,children:d})]})]})})}exports.CycloneUIProvider=d,Object.defineProperty(exports,"useRootTheme",{enumerable:!0,get:function(){return r.useRootTheme}}),Object.defineProperty(exports,"useThemeSetting",{enumerable:!0,get:function(){return r.useThemeSetting}});
|
package/dist/provider.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.cts","names":["ThemeProviderProps"],"sources":["../src/provider.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"provider.d.cts","names":["ThemeProviderProps"],"sources":["../src/provider.tsx"],"mappings":";;;;KA2CY,yBAAyB,kBACnC,KAAKA;;;;;;EAMH,SAAS;;;;;;;EAQT;;;;;;;;EASA,OAAO;;;;;;EAOP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0EY,oBACd,UACA,QACA,kBACA,cACA,eACA,MAAM,YACN,eACG,SACF,yCAAsB,IAAA"}
|
package/dist/provider.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{SelectionStyle as e,ThemeApi as t,useThemeActions as n}from"@cyclone-ui/state/theme";import{config as r}from"@cyclone-ui/tokens/tamagui";import{TamaguiProvider as i,Theme as a}from"@tamagui/core";import{NextThemeProvider as o,useRootTheme as s,useThemeSetting as c,useThemeSetting as l}from"@tamagui/next-theme";import{useServerInsertedHTML as u}from"next/navigation.js";import{useEffect as d,useLayoutEffect as f,useState as p}from"react";import{StyleSheet as m}from"react-native";import{jsx as h,jsxs as g}from"react/jsx-runtime";const _=[`light`,`dark`],v=process.env.TAMAGUI_CSS_LAYER,y=({mode:e,onChangeMode:t,enableColorScheme:r})=>{let{forcedTheme:i,resolvedTheme:a}=l(),o=i??a,{changeMode:s}=n();return f(()=>{(o===`light`||o===`dark`)&&(t(o),r&&(document.documentElement.style.colorScheme=o))},[o,r,t]),d(()=>{s(e)},[s,e]),null};function b({children:n,config:s=r,disableInjectCSS:c=!1,skipNextHead:l=!0,onChangeTheme:f,mode:b=`light`,modeCookie:x,...S}){let[C,w]=p(b);return d(()=>{x&&(document.cookie=`${x}=${C}; path=/; max-age=31536000; samesite=lax`)},[C,x]),u(()=>{let e=m.getSheet();return/* @__PURE__ */ h(`style`,{id:e.id,dangerouslySetInnerHTML:{__html:e.textContent}})}),/* @__PURE__ */ h(o,{...S,skipNextHead:l,onChangeTheme:e=>{(e===`light`||e===`dark`)&&w(e),f?.(e)},children:/* @__PURE__ */ g(t.Provider,{scope:`theme`,initialState:{mode:C,items:_},children:[/* @__PURE__ */ h(y,{mode:C,onChangeMode:w,enableColorScheme:S.enableColorScheme??!0}),v&&/* @__PURE__ */ h(`style`,{href:`cyclone-ui-layer-order`,precedence:`default`,children:`@layer theme, base, ${v}, components, utilities;`}),/* @__PURE__ */ g(i,{config:s,defaultTheme:C,disableInjectCSS:c,children:[/* @__PURE__ */ h(e,{}),/* @__PURE__ */ h(a,{name:`base`,children:n})]})]})})}export{b as CycloneUIProvider,s as useRootTheme,c as useThemeSetting};
|
|
2
2
|
//# sourceMappingURL=provider.mjs.map
|
package/dist/provider.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.mjs","names":["useThemeSetting$1","ITEMS","CSS_LAYER","SyncColorMode","activeMode","forcedTheme","resolvedTheme","useThemeActions","useLayoutEffect","onChangeMode","enableColorScheme","useEffect","changeMode","mode","CycloneUIProvider","config$1","config","serverMode","props","setMode","useState","modeCookie","useServerInsertedHTML","sheet","StyleSheet","NextThemeProvider","name","onChangeTheme","ThemeApi","TamaguiProvider","Theme","useRootTheme","useThemeSetting"],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"provider.mjs","names":["useThemeSetting$1","ITEMS","CSS_LAYER","SyncColorMode","activeMode","forcedTheme","resolvedTheme","useThemeActions","useLayoutEffect","onChangeMode","enableColorScheme","useEffect","changeMode","mode","CycloneUIProvider","config$1","config","serverMode","props","setMode","useState","modeCookie","useServerInsertedHTML","sheet","StyleSheet","NextThemeProvider","name","onChangeTheme","ThemeApi","TamaguiProvider","SelectionStyle","Theme","useRootTheme","useThemeSetting"],"sources":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyclone-ui/nextjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.62",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Next.js config wrapper and root provider that set up Tamagui and Cyclone UI components in Next.js applications.",
|
|
6
6
|
"repository": {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"module": "./dist/index.mjs",
|
|
46
46
|
"types": "./dist/index.d.cts",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@cyclone-ui/theme-builder": "0.0.
|
|
48
|
+
"@cyclone-ui/theme-builder": "0.0.73",
|
|
49
49
|
"@tamagui/next-theme": "3.3.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@cyclone-ui/state": "0.0.
|
|
53
|
-
"@cyclone-ui/tokens": "0.3.
|
|
52
|
+
"@cyclone-ui/state": "0.0.87",
|
|
53
|
+
"@cyclone-ui/tokens": "0.3.72",
|
|
54
54
|
"@tamagui/core": "3.3.2",
|
|
55
55
|
"@tamagui/next-plugin": "3.3.2",
|
|
56
56
|
"@tamagui/react-native-svg": "3.3.2",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"react-native": { "optional": true }
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@cyclone-ui/state": "0.0.
|
|
69
|
-
"@cyclone-ui/tokens": "0.3.
|
|
68
|
+
"@cyclone-ui/state": "0.0.87",
|
|
69
|
+
"@cyclone-ui/tokens": "0.3.72",
|
|
70
70
|
"@next/playwright": "16.4.4",
|
|
71
71
|
"@playwright/test": "1.64.1",
|
|
72
72
|
"@powerlines/plugin-tsdown": "^0.1.620",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"tailwindcss": "4.3.0"
|
|
83
83
|
},
|
|
84
84
|
"publishConfig": { "access": "public" },
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "d1db729a8cbb9045ee5302c27466b8eadc479171"
|
|
86
86
|
}
|