@splenddev/kreativ-ui 0.3.18 → 0.3.19
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/{chunk-3SX7MFC4.js → chunk-3QVHDUG2.js} +158 -37
- package/dist/chunk-3QVHDUG2.js.map +1 -0
- package/dist/{chunk-4KNQFZZT.cjs → chunk-5GGCRNXA.cjs} +2 -10
- package/dist/chunk-5GGCRNXA.cjs.map +1 -0
- package/dist/chunk-6MO73J54.js +12 -0
- package/dist/chunk-6MO73J54.js.map +1 -0
- package/dist/{chunk-HHSP6YJA.cjs → chunk-C2JEK4T5.cjs} +29 -7
- package/dist/{chunk-HHSP6YJA.cjs.map → chunk-C2JEK4T5.cjs.map} +1 -1
- package/dist/{chunk-TGYV2M2L.js → chunk-C4PCJAAL.js} +3 -10
- package/dist/chunk-C4PCJAAL.js.map +1 -0
- package/dist/{chunk-L3YGJX72.cjs → chunk-KJ2CWKTU.cjs} +274 -153
- package/dist/chunk-KJ2CWKTU.cjs.map +1 -0
- package/dist/chunk-POSRGA6G.cjs +14 -0
- package/dist/chunk-POSRGA6G.cjs.map +1 -0
- package/dist/{chunk-6GN2Y3X4.js → chunk-X7373GJO.js} +29 -7
- package/dist/{chunk-6GN2Y3X4.js.map → chunk-X7373GJO.js.map} +1 -1
- package/dist/cn-Cbsgs0XP.d.cts +5 -0
- package/dist/cn-Cbsgs0XP.d.ts +5 -0
- package/dist/components.cjs +91 -90
- package/dist/components.d.cts +10 -2
- package/dist/components.d.ts +10 -2
- package/dist/components.js +3 -2
- package/dist/core.cjs +22 -17
- package/dist/core.d.cts +2 -0
- package/dist/core.d.ts +2 -0
- package/dist/core.js +2 -1
- package/dist/index.cjs +9 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/utils.cjs +40 -39
- package/dist/utils.d.cts +3 -4
- package/dist/utils.d.ts +3 -4
- package/dist/utils.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-3SX7MFC4.js.map +0 -1
- package/dist/chunk-4KNQFZZT.cjs.map +0 -1
- package/dist/chunk-L3YGJX72.cjs.map +0 -1
- package/dist/chunk-TGYV2M2L.js.map +0 -1
package/dist/utils.cjs
CHANGED
|
@@ -1,149 +1,150 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5GGCRNXA_cjs = require('./chunk-5GGCRNXA.cjs');
|
|
4
|
+
var chunkPOSRGA6G_cjs = require('./chunk-POSRGA6G.cjs');
|
|
4
5
|
require('./chunk-MAUKS2DZ.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
Object.defineProperty(exports, "cn", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunk4KNQFZZT_cjs.cn; }
|
|
11
|
-
});
|
|
12
9
|
Object.defineProperty(exports, "composeRefs", {
|
|
13
10
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk5GGCRNXA_cjs.composeRefs; }
|
|
15
12
|
});
|
|
16
13
|
Object.defineProperty(exports, "createComponent", {
|
|
17
14
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk5GGCRNXA_cjs.createComponent; }
|
|
19
16
|
});
|
|
20
17
|
Object.defineProperty(exports, "createFromProps", {
|
|
21
18
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk5GGCRNXA_cjs.createFromProps; }
|
|
23
20
|
});
|
|
24
21
|
Object.defineProperty(exports, "cssToClass", {
|
|
25
22
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk5GGCRNXA_cjs.cssToClass; }
|
|
27
24
|
});
|
|
28
25
|
Object.defineProperty(exports, "deepMerge", {
|
|
29
26
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk5GGCRNXA_cjs.deepMerge; }
|
|
31
28
|
});
|
|
32
29
|
Object.defineProperty(exports, "hasKuiMeta", {
|
|
33
30
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk5GGCRNXA_cjs.hasKuiMeta; }
|
|
35
32
|
});
|
|
36
33
|
Object.defineProperty(exports, "hashStyle", {
|
|
37
34
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk5GGCRNXA_cjs.hashStyle; }
|
|
39
36
|
});
|
|
40
37
|
Object.defineProperty(exports, "hexToRgbString", {
|
|
41
38
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk5GGCRNXA_cjs.hexToRgbString; }
|
|
43
40
|
});
|
|
44
41
|
Object.defineProperty(exports, "injectStyle", {
|
|
45
42
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk5GGCRNXA_cjs.injectStyle; }
|
|
47
44
|
});
|
|
48
45
|
Object.defineProperty(exports, "isMotionGated", {
|
|
49
46
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk5GGCRNXA_cjs.isMotionGated; }
|
|
51
48
|
});
|
|
52
49
|
Object.defineProperty(exports, "isResponsiveValue", {
|
|
53
50
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk5GGCRNXA_cjs.isResponsiveValue; }
|
|
55
52
|
});
|
|
56
53
|
Object.defineProperty(exports, "kebabCase", {
|
|
57
54
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk5GGCRNXA_cjs.kebabCase; }
|
|
59
56
|
});
|
|
60
57
|
Object.defineProperty(exports, "mergeResponsiveValue", {
|
|
61
58
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk5GGCRNXA_cjs.mergeResponsiveValue; }
|
|
63
60
|
});
|
|
64
61
|
Object.defineProperty(exports, "registerStyle", {
|
|
65
62
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk5GGCRNXA_cjs.registerStyle; }
|
|
67
64
|
});
|
|
68
65
|
Object.defineProperty(exports, "requireProvider", {
|
|
69
66
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk5GGCRNXA_cjs.requireProvider; }
|
|
71
68
|
});
|
|
72
69
|
Object.defineProperty(exports, "resolveColor", {
|
|
73
70
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveColor; }
|
|
75
72
|
});
|
|
76
73
|
Object.defineProperty(exports, "resolveFontSize", {
|
|
77
74
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveFontSize; }
|
|
79
76
|
});
|
|
80
77
|
Object.defineProperty(exports, "resolveRadius", {
|
|
81
78
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveRadius; }
|
|
83
80
|
});
|
|
84
81
|
Object.defineProperty(exports, "resolveResponsiveValue", {
|
|
85
82
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveResponsiveValue; }
|
|
87
84
|
});
|
|
88
85
|
Object.defineProperty(exports, "resolveSemanticTokenReferences", {
|
|
89
86
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveSemanticTokenReferences; }
|
|
91
88
|
});
|
|
92
89
|
Object.defineProperty(exports, "resolveSpace", {
|
|
93
90
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveSpace; }
|
|
95
92
|
});
|
|
96
93
|
Object.defineProperty(exports, "resolveStyle", {
|
|
97
94
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveStyle; }
|
|
99
96
|
});
|
|
100
97
|
Object.defineProperty(exports, "resolveToken", {
|
|
101
98
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveToken; }
|
|
103
100
|
});
|
|
104
101
|
Object.defineProperty(exports, "resolveTokenReference", {
|
|
105
102
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveTokenReference; }
|
|
107
104
|
});
|
|
108
105
|
Object.defineProperty(exports, "resolveTokens", {
|
|
109
106
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveTokens; }
|
|
111
108
|
});
|
|
112
109
|
Object.defineProperty(exports, "resolveTypography", {
|
|
113
110
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk5GGCRNXA_cjs.resolveTypography; }
|
|
115
112
|
});
|
|
116
113
|
Object.defineProperty(exports, "rgbToHex", {
|
|
117
114
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk5GGCRNXA_cjs.rgbToHex; }
|
|
119
116
|
});
|
|
120
117
|
Object.defineProperty(exports, "serializeStyle", {
|
|
121
118
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk5GGCRNXA_cjs.serializeStyle; }
|
|
123
120
|
});
|
|
124
121
|
Object.defineProperty(exports, "styleRegistry", {
|
|
125
122
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk5GGCRNXA_cjs.styleRegistry; }
|
|
127
124
|
});
|
|
128
125
|
Object.defineProperty(exports, "toKebabCase", {
|
|
129
126
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk5GGCRNXA_cjs.toKebabCase; }
|
|
131
128
|
});
|
|
132
129
|
Object.defineProperty(exports, "toResponsiveClasses", {
|
|
133
130
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk5GGCRNXA_cjs.toResponsiveClasses; }
|
|
135
132
|
});
|
|
136
133
|
Object.defineProperty(exports, "tokensToCssVars", {
|
|
137
134
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk5GGCRNXA_cjs.tokensToCssVars; }
|
|
139
136
|
});
|
|
140
137
|
Object.defineProperty(exports, "useValidateChildren", {
|
|
141
138
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk5GGCRNXA_cjs.useValidateChildren; }
|
|
143
140
|
});
|
|
144
141
|
Object.defineProperty(exports, "warnOnFlatCompoundConflict", {
|
|
145
142
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk5GGCRNXA_cjs.warnOnFlatCompoundConflict; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "cn", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunkPOSRGA6G_cjs.cn; }
|
|
147
148
|
});
|
|
148
149
|
//# sourceMappingURL=utils.cjs.map
|
|
149
150
|
//# sourceMappingURL=utils.cjs.map
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
export { c as cn } from './cn-Cbsgs0XP.cjs';
|
|
2
2
|
import { BaseColor, ColorProps, Size } from '@splenddev/kreativ-core/types';
|
|
3
3
|
import { SpaceValue } from './types.cjs';
|
|
4
4
|
export { composeRefs, createComponent, createFromProps, cssToClass, deepMerge, hasKuiMeta, hashStyle, injectStyle, isMotionGated, isResponsiveValue, kebabCase, mergeResponsiveValue, registerStyle, requireProvider, resolveFontSize, resolveResponsiveValue, resolveSemanticTokenReferences, resolveStyle, resolveToken, resolveTokenReference, resolveTokens, resolveTypography, serializeStyle, styleRegistry, toKebabCase, toResponsiveClasses, tokensToCssVars, useValidateChildren, warnOnFlatCompoundConflict } from '@splenddev/kreativ-core/utils';
|
|
5
|
+
import 'clsx';
|
|
5
6
|
import '@splenddev/kreativ-core';
|
|
6
7
|
|
|
7
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
8
|
-
|
|
9
8
|
/**
|
|
10
9
|
* Converts an RGB colour string to a 6‑digit uppercase hex string.
|
|
11
10
|
* Supports the following input formats:
|
|
@@ -36,4 +35,4 @@ declare function resolveRadius(value: Size | number | string): string;
|
|
|
36
35
|
|
|
37
36
|
declare function resolveSpace(value: SpaceValue | undefined): string | undefined;
|
|
38
37
|
|
|
39
|
-
export {
|
|
38
|
+
export { hexToRgbString, resolveColor, resolveRadius, resolveSpace, rgbToHex };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
export { c as cn } from './cn-Cbsgs0XP.js';
|
|
2
2
|
import { BaseColor, ColorProps, Size } from '@splenddev/kreativ-core/types';
|
|
3
3
|
import { SpaceValue } from './types.js';
|
|
4
4
|
export { composeRefs, createComponent, createFromProps, cssToClass, deepMerge, hasKuiMeta, hashStyle, injectStyle, isMotionGated, isResponsiveValue, kebabCase, mergeResponsiveValue, registerStyle, requireProvider, resolveFontSize, resolveResponsiveValue, resolveSemanticTokenReferences, resolveStyle, resolveToken, resolveTokenReference, resolveTokens, resolveTypography, serializeStyle, styleRegistry, toKebabCase, toResponsiveClasses, tokensToCssVars, useValidateChildren, warnOnFlatCompoundConflict } from '@splenddev/kreativ-core/utils';
|
|
5
|
+
import 'clsx';
|
|
5
6
|
import '@splenddev/kreativ-core';
|
|
6
7
|
|
|
7
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
8
|
-
|
|
9
8
|
/**
|
|
10
9
|
* Converts an RGB colour string to a 6‑digit uppercase hex string.
|
|
11
10
|
* Supports the following input formats:
|
|
@@ -36,4 +35,4 @@ declare function resolveRadius(value: Size | number | string): string;
|
|
|
36
35
|
|
|
37
36
|
declare function resolveSpace(value: SpaceValue | undefined): string | undefined;
|
|
38
37
|
|
|
39
|
-
export {
|
|
38
|
+
export { hexToRgbString, resolveColor, resolveRadius, resolveSpace, rgbToHex };
|
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { composeRefs, createComponent, createFromProps, cssToClass, deepMerge, hasKuiMeta, hashStyle, hexToRgbString, injectStyle, isMotionGated, isResponsiveValue, kebabCase, mergeResponsiveValue, registerStyle, requireProvider, resolveColor, resolveFontSize, resolveRadius, resolveResponsiveValue, resolveSemanticTokenReferences, resolveSpace, resolveStyle, resolveToken, resolveTokenReference, resolveTokens, resolveTypography, rgbToHex, serializeStyle, styleRegistry, toKebabCase, toResponsiveClasses, tokensToCssVars, useValidateChildren, warnOnFlatCompoundConflict } from './chunk-C4PCJAAL.js';
|
|
2
|
+
export { cn } from './chunk-6MO73J54.js';
|
|
2
3
|
import './chunk-CXR2HHQQ.js';
|
|
3
4
|
//# sourceMappingURL=utils.js.map
|
|
4
5
|
//# sourceMappingURL=utils.js.map
|
package/package.json
CHANGED