@cyclone-ui/state 0.0.72 → 0.0.74
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 +12 -0
- package/dist/theme/hooks/use-theme-store.d.cts +0 -10
- package/dist/theme/hooks/use-theme-store.d.cts.map +1 -1
- package/dist/theme/hooks/use-theme-store.d.mts +0 -10
- package/dist/theme/types.d.cts +1 -1
- package/dist/theme/types.d.cts.map +1 -1
- package/dist/theme/types.d.mts +1 -1
- package/dist/theme/utilities/theme-helpers.cjs +1 -1
- package/dist/theme/utilities/theme-helpers.d.cts +0 -6
- package/dist/theme/utilities/theme-helpers.d.cts.map +1 -1
- package/dist/theme/utilities/theme-helpers.d.mts +0 -6
- package/dist/theme/utilities/theme-helpers.mjs +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Cyclone UI - State
|
|
4
4
|
|
|
5
|
+
## [0.0.73](https://github.com/storm-software/cyclone-ui/releases/tag/state%400.0.73) (11/13/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **helpers** to **v0.3.71**
|
|
10
|
+
|
|
11
|
+
## [0.0.72](https://github.com/storm-software/cyclone-ui/releases/tag/state%400.0.72) (11/12/2026)
|
|
12
|
+
|
|
13
|
+
### Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated **helpers** to **v0.3.70**
|
|
16
|
+
|
|
5
17
|
## [0.0.71](https://github.com/storm-software/cyclone-ui/releases/tag/state%400.0.71) (11/12/2026)
|
|
6
18
|
|
|
7
19
|
### Updated Dependencies
|
|
@@ -7,16 +7,11 @@ import { ColorThemeName } from "../types.cjs";
|
|
|
7
7
|
* The following color roles are checked:
|
|
8
8
|
* - base
|
|
9
9
|
* - brand
|
|
10
|
-
* - alternate
|
|
11
|
-
* - accent
|
|
12
|
-
* - link
|
|
13
10
|
* - discovery
|
|
14
11
|
* - info
|
|
15
12
|
* - warning
|
|
16
13
|
* - danger
|
|
17
14
|
* - success
|
|
18
|
-
* - positive
|
|
19
|
-
* - negative
|
|
20
15
|
*
|
|
21
16
|
* @returns The color role scheme for the theme name or undefined
|
|
22
17
|
*/
|
|
@@ -28,16 +23,11 @@ declare const useColorThemeName: () => ColorThemeName | undefined;
|
|
|
28
23
|
* The following color roles are checked:
|
|
29
24
|
* - base
|
|
30
25
|
* - brand
|
|
31
|
-
* - alternate
|
|
32
|
-
* - accent
|
|
33
|
-
* - link
|
|
34
26
|
* - discovery
|
|
35
27
|
* - info
|
|
36
28
|
* - warning
|
|
37
29
|
* - danger
|
|
38
30
|
* - success
|
|
39
|
-
* - positive
|
|
40
|
-
* - negative
|
|
41
31
|
*
|
|
42
32
|
* @returns An indication if a theme color scheme is set
|
|
43
33
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-theme-store.d.cts","names":[],"sources":["../../../src/theme/hooks/use-theme-store.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-theme-store.d.cts","names":[],"sources":["../../../src/theme/hooks/use-theme-store.ts"],"mappings":";;;;;;;;;;;;;;;;;cA0Ca,yBAAwB;;;;;;;;;;;;;;;;cAqBxB;cAMA,eAAgB,UAAU"}
|
|
@@ -7,16 +7,11 @@ import { ColorThemeName } from "../types.mjs";
|
|
|
7
7
|
* The following color roles are checked:
|
|
8
8
|
* - base
|
|
9
9
|
* - brand
|
|
10
|
-
* - alternate
|
|
11
|
-
* - accent
|
|
12
|
-
* - link
|
|
13
10
|
* - discovery
|
|
14
11
|
* - info
|
|
15
12
|
* - warning
|
|
16
13
|
* - danger
|
|
17
14
|
* - success
|
|
18
|
-
* - positive
|
|
19
|
-
* - negative
|
|
20
15
|
*
|
|
21
16
|
* @returns The color role scheme for the theme name or undefined
|
|
22
17
|
*/
|
|
@@ -28,16 +23,11 @@ declare const useColorThemeName: () => ColorThemeName | undefined;
|
|
|
28
23
|
* The following color roles are checked:
|
|
29
24
|
* - base
|
|
30
25
|
* - brand
|
|
31
|
-
* - alternate
|
|
32
|
-
* - accent
|
|
33
|
-
* - link
|
|
34
26
|
* - discovery
|
|
35
27
|
* - info
|
|
36
28
|
* - warning
|
|
37
29
|
* - danger
|
|
38
30
|
* - success
|
|
39
|
-
* - positive
|
|
40
|
-
* - negative
|
|
41
31
|
*
|
|
42
32
|
* @returns An indication if a theme color scheme is set
|
|
43
33
|
*/
|
package/dist/theme/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type ColorThemeMode = "light" | "dark";
|
|
2
|
-
type ColorThemeName = "base" | "brand" | "discovery" | "info" | "warning" | "danger" | "success"
|
|
2
|
+
type ColorThemeName = "base" | "brand" | "discovery" | "info" | "warning" | "danger" | "success";
|
|
3
3
|
interface ThemeOptions {
|
|
4
4
|
/**
|
|
5
5
|
* The theme mode options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/theme/types.ts"],"mappings":"A,KAkBY;KAEA;
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/theme/types.ts"],"mappings":"A,KAkBY;KAEA;UASK;;;;;;EAMf,OAAO;;;;;;EAOP,aAAa;;UAGE;;;;EAIf,SAAS;;;;EAKT,MAAM"}
|
package/dist/theme/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type ColorThemeMode = "light" | "dark";
|
|
2
|
-
type ColorThemeName = "base" | "brand" | "discovery" | "info" | "warning" | "danger" | "success"
|
|
2
|
+
type ColorThemeName = "base" | "brand" | "discovery" | "info" | "warning" | "danger" | "success";
|
|
3
3
|
interface ThemeOptions {
|
|
4
4
|
/**
|
|
5
5
|
* The theme mode options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=e=>{if(e){if(e.includes(`base`))return`base`;if(e.includes(`brand`))return`brand`;if(e.includes(`discovery`))return`discovery`;if(e.includes(`info`))return`info`;if(e.includes(`warning`))return`warning`;if(e.includes(`danger`))return`danger`;if(e.includes(`success`))return`success
|
|
1
|
+
const e=e=>{if(e){if(e.includes(`base`))return`base`;if(e.includes(`brand`))return`brand`;if(e.includes(`discovery`))return`discovery`;if(e.includes(`info`))return`info`;if(e.includes(`warning`))return`warning`;if(e.includes(`danger`))return`danger`;if(e.includes(`success`))return`success`}},t=t=>!!e(t);exports.getThemeColorThemeName=e,exports.themeColorThemeNameExists=t;
|
|
@@ -11,15 +11,12 @@ import { ColorThemeName } from "../types.cjs";
|
|
|
11
11
|
* @remarks
|
|
12
12
|
* The following color roles are checked:
|
|
13
13
|
* - base
|
|
14
|
-
* - secondary
|
|
15
14
|
* - brand
|
|
16
15
|
* - discovery
|
|
17
16
|
* - info
|
|
18
17
|
* - warning
|
|
19
18
|
* - danger
|
|
20
19
|
* - success
|
|
21
|
-
* - positive
|
|
22
|
-
* - negative
|
|
23
20
|
*
|
|
24
21
|
* @param theme - The theme name
|
|
25
22
|
* @returns The color role scheme for the theme name or undefined
|
|
@@ -37,15 +34,12 @@ declare const getThemeColorThemeName: (theme?: string) => ColorThemeName | undef
|
|
|
37
34
|
* @remarks
|
|
38
35
|
* The following color roles are checked:
|
|
39
36
|
* - base
|
|
40
|
-
* - secondary
|
|
41
37
|
* - brand
|
|
42
38
|
* - discovery
|
|
43
39
|
* - info
|
|
44
40
|
* - warning
|
|
45
41
|
* - danger
|
|
46
42
|
* - success
|
|
47
|
-
* - positive
|
|
48
|
-
* - negative
|
|
49
43
|
*
|
|
50
44
|
* @param theme - The theme name
|
|
51
45
|
* @returns An indication if a theme color scheme is set
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-helpers.d.cts","names":[],"sources":["../../../src/theme/utilities/theme-helpers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme-helpers.d.cts","names":[],"sources":["../../../src/theme/utilities/theme-helpers.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;cA0Ca,yBACX,mBACC;;;;;;;;;;;;;;;;;;;;;;;cA4CU,4BAA6B"}
|
|
@@ -11,15 +11,12 @@ import { ColorThemeName } from "../types.mjs";
|
|
|
11
11
|
* @remarks
|
|
12
12
|
* The following color roles are checked:
|
|
13
13
|
* - base
|
|
14
|
-
* - secondary
|
|
15
14
|
* - brand
|
|
16
15
|
* - discovery
|
|
17
16
|
* - info
|
|
18
17
|
* - warning
|
|
19
18
|
* - danger
|
|
20
19
|
* - success
|
|
21
|
-
* - positive
|
|
22
|
-
* - negative
|
|
23
20
|
*
|
|
24
21
|
* @param theme - The theme name
|
|
25
22
|
* @returns The color role scheme for the theme name or undefined
|
|
@@ -37,15 +34,12 @@ declare const getThemeColorThemeName: (theme?: string) => ColorThemeName | undef
|
|
|
37
34
|
* @remarks
|
|
38
35
|
* The following color roles are checked:
|
|
39
36
|
* - base
|
|
40
|
-
* - secondary
|
|
41
37
|
* - brand
|
|
42
38
|
* - discovery
|
|
43
39
|
* - info
|
|
44
40
|
* - warning
|
|
45
41
|
* - danger
|
|
46
42
|
* - success
|
|
47
|
-
* - positive
|
|
48
|
-
* - negative
|
|
49
43
|
*
|
|
50
44
|
* @param theme - The theme name
|
|
51
45
|
* @returns An indication if a theme color scheme is set
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=e=>{if(e){if(e.includes(`base`))return`base`;if(e.includes(`brand`))return`brand`;if(e.includes(`discovery`))return`discovery`;if(e.includes(`info`))return`info`;if(e.includes(`warning`))return`warning`;if(e.includes(`danger`))return`danger`;if(e.includes(`success`))return`success
|
|
1
|
+
const e=e=>{if(e){if(e.includes(`base`))return`base`;if(e.includes(`brand`))return`brand`;if(e.includes(`discovery`))return`discovery`;if(e.includes(`info`))return`info`;if(e.includes(`warning`))return`warning`;if(e.includes(`danger`))return`danger`;if(e.includes(`success`))return`success`}},t=t=>!!e(t);export{e as getThemeColorThemeName,t as themeColorThemeNameExists};
|
|
2
2
|
//# sourceMappingURL=theme-helpers.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyclone-ui/state",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.74",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A state management package used to handle state in Storm Software applications.",
|
|
6
6
|
"repository": {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"react-native": { "optional": true }
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@cyclone-ui/helpers": "0.3.
|
|
101
|
+
"@cyclone-ui/helpers": "0.3.72",
|
|
102
102
|
"@maskito/core": "^3.11.1",
|
|
103
103
|
"@maskito/react": "^3.11.1",
|
|
104
104
|
"@stryke/async": "^0.1.45",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
},
|
|
124
124
|
"publishConfig": { "access": "public" },
|
|
125
125
|
"module": "./dist/index.mjs",
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "cf4be6fe7a08a27b62faf378ec7c570bee7ffd2d"
|
|
127
127
|
}
|