@solostylist/ui-kit 1.0.103 → 1.0.105

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 (35) hide show
  1. package/dist/hooks/use-scroll-animation.d.ts +52 -0
  2. package/dist/hooks/use-scroll-animation.js +57 -0
  3. package/dist/main.d.ts +8 -0
  4. package/dist/main.js +142 -134
  5. package/dist/s-action-overlay/index.d.ts +2 -0
  6. package/dist/s-action-overlay/index.js +4 -0
  7. package/dist/s-action-overlay/package.json +5 -0
  8. package/dist/s-action-overlay/s-action-overlay.d.ts +29 -0
  9. package/dist/s-action-overlay/s-action-overlay.js +112 -0
  10. package/dist/s-blur-text/index.d.ts +2 -0
  11. package/dist/s-blur-text/index.js +4 -0
  12. package/dist/s-blur-text/package.json +5 -0
  13. package/dist/s-blur-text/s-blur-text.d.ts +43 -0
  14. package/dist/s-blur-text/s-blur-text.js +80 -0
  15. package/dist/s-chat-message/s-chat-message.js +18 -18
  16. package/dist/s-flex-box/index.d.ts +2 -0
  17. package/dist/s-flex-box/index.js +4 -0
  18. package/dist/s-flex-box/package.json +5 -0
  19. package/dist/s-flex-box/s-flex-box.d.ts +5 -0
  20. package/dist/s-flex-box/s-flex-box.js +6 -0
  21. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +11 -11
  22. package/dist/s-scroll-reveal/index.d.ts +2 -0
  23. package/dist/s-scroll-reveal/index.js +4 -0
  24. package/dist/s-scroll-reveal/package.json +6 -0
  25. package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +56 -0
  26. package/dist/s-scroll-reveal/s-scroll-reveal.js +63 -0
  27. package/dist/s-typewriter-text/index.d.ts +2 -0
  28. package/dist/s-typewriter-text/index.js +4 -0
  29. package/dist/s-typewriter-text/package.json +6 -0
  30. package/dist/s-typewriter-text/s-typewriter-text.d.ts +12 -0
  31. package/dist/s-typewriter-text/s-typewriter-text.js +44 -0
  32. package/dist/theme/customizations/inputs.js +0 -1
  33. package/dist/theme/theme-primitives.d.ts +54 -0
  34. package/dist/theme/theme-primitives.js +105 -55
  35. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { a as n } from "../createTheme-YLBX8GSj.js";
2
- import { a as e } from "../colorManipulator-ep5lERxB.js";
3
- const t = n(), h = {
1
+ import { a as i } from "../createTheme-YLBX8GSj.js";
2
+ import { a as s } from "../colorManipulator-ep5lERxB.js";
3
+ const a = i(), r = {
4
4
  50: "hsl(210, 100%, 95%)",
5
5
  100: "hsl(210, 100%, 92%)",
6
6
  200: "hsl(210, 100%, 80%)",
@@ -11,7 +11,7 @@ const t = n(), h = {
11
11
  700: "hsl(210, 100%, 35%)",
12
12
  800: "hsl(210, 100%, 16%)",
13
13
  900: "hsl(210, 100%, 21%)"
14
- }, s = {
14
+ }, h = {
15
15
  50: "rgb(243, 246, 250)",
16
16
  // hsl(220, 35%, 97%)
17
17
  100: "rgb(235, 238, 244)",
@@ -32,7 +32,7 @@ const t = n(), h = {
32
32
  // hsl(220, 30%, 6%)
33
33
  900: "rgb(5, 7, 10)"
34
34
  // hsl(220, 35%, 3%)
35
- }, a = {
35
+ }, l = {
36
36
  50: "hsl(120, 80%, 98%)",
37
37
  100: "hsl(120, 75%, 94%)",
38
38
  200: "hsl(120, 75%, 87%)",
@@ -43,7 +43,7 @@ const t = n(), h = {
43
43
  700: "hsl(120, 75%, 16%)",
44
44
  800: "hsl(120, 84%, 10%)",
45
45
  900: "hsl(120, 87%, 6%)"
46
- }, r = {
46
+ }, o = {
47
47
  50: "hsl(45, 100%, 97%)",
48
48
  100: "hsl(45, 92%, 90%)",
49
49
  200: "hsl(45, 94%, 80%)",
@@ -65,7 +65,7 @@ const t = n(), h = {
65
65
  700: "hsl(210, 95%, 25%)",
66
66
  800: "hsl(210, 100%, 15%)",
67
67
  900: "hsl(210, 100%, 10%)"
68
- }, l = {
68
+ }, g = {
69
69
  50: "hsl(0, 100%, 97%)",
70
70
  100: "hsl(0, 92%, 90%)",
71
71
  200: "hsl(0, 94%, 80%)",
@@ -76,7 +76,7 @@ const t = n(), h = {
76
76
  700: "hsl(0, 94%, 18%)",
77
77
  800: "hsl(0, 95%, 12%)",
78
78
  900: "hsl(0, 93%, 6%)"
79
- }, c = {
79
+ }, y = {
80
80
  50: "hsl(270, 100%, 98%)",
81
81
  100: "hsl(270, 95%, 94%)",
82
82
  200: "hsl(270, 90%, 87%)",
@@ -87,7 +87,31 @@ const t = n(), h = {
87
87
  700: "hsl(270, 75%, 25%)",
88
88
  800: "hsl(270, 80%, 15%)",
89
89
  900: "hsl(270, 85%, 10%)"
90
- }, o = {
90
+ }, t = {
91
+ 0: "rgba(0,0,0,0)",
92
+ 10: "rgba(0,0,0,0.1)",
93
+ 20: "rgba(0,0,0,0.2)",
94
+ 30: "rgba(0,0,0,0.3)",
95
+ 40: "rgba(0,0,0,0.4)",
96
+ 50: "rgba(0,0,0,0.5)",
97
+ 60: "rgba(0,0,0,0.6)",
98
+ 70: "rgba(0,0,0,0.7)",
99
+ 80: "rgba(0,0,0,0.8)",
100
+ 90: "rgba(0,0,0,0.9)",
101
+ 100: "rgba(0,0,0,1)"
102
+ }, e = {
103
+ 0: "rgba(255,255,255,0)",
104
+ 10: "rgba(255,255,255,0.1)",
105
+ 20: "rgba(255,255,255,0.2)",
106
+ 30: "rgba(255,255,255,0.3)",
107
+ 40: "rgba(255,255,255,0.4)",
108
+ 50: "rgba(255,255,255,0.5)",
109
+ 60: "rgba(255,255,255,0.6)",
110
+ 70: "rgba(255,255,255,0.7)",
111
+ 80: "rgba(255,255,255,0.8)",
112
+ 90: "rgba(255,255,255,0.9)",
113
+ 100: "rgba(255,255,255,1)"
114
+ }, n = {
91
115
  palette: {
92
116
  gradient: {
93
117
  primary: "linear-gradient(90deg, #1469be 0%, #43ecff 100%);",
@@ -95,6 +119,30 @@ const t = n(), h = {
95
119
  indigo: "linear-gradient(to right, transparent, #6366f1, transparent)",
96
120
  sky: "linear-gradient(to right, transparent, #0ea5e9, transparent)"
97
121
  },
122
+ blackAlpha: {
123
+ zero: t[0],
124
+ // không có
125
+ light: t[10],
126
+ // nhẹ, subtle
127
+ medium: t[50],
128
+ // vừa, balanced
129
+ dark: t[80],
130
+ // đậm, mạnh
131
+ full: t[100]
132
+ // đầy đủ
133
+ },
134
+ whiteAlpha: {
135
+ zero: e[0],
136
+ // không có
137
+ light: e[10],
138
+ // nhẹ, subtle
139
+ medium: e[50],
140
+ // vừa, balanced
141
+ dark: e[80],
142
+ // đậm, mạnh
143
+ full: e[100]
144
+ // đầy đủ
145
+ },
98
146
  ui: {
99
147
  pulse: {
100
148
  shadowLight: "rgba(255, 255, 255, 0.3)",
@@ -105,111 +153,113 @@ const t = n(), h = {
105
153
  }
106
154
  },
107
155
  primary: {
108
- contrastText: h[50],
109
- light: h[300],
110
- main: h[400],
111
- dark: h[700],
156
+ contrastText: r[50],
157
+ light: r[300],
158
+ main: r[400],
159
+ dark: r[700],
112
160
  white: "#ffffff",
113
161
  black: "#000000"
114
162
  },
115
163
  info: {
116
- contrastText: h[300],
117
- light: h[500],
118
- main: h[700],
119
- dark: h[900]
164
+ contrastText: r[300],
165
+ light: r[500],
166
+ main: r[700],
167
+ dark: r[900]
120
168
  },
121
169
  warning: {
122
- light: r[400],
123
- main: r[500],
124
- dark: r[700]
170
+ light: o[400],
171
+ main: o[500],
172
+ dark: o[700]
125
173
  },
126
174
  error: {
175
+ light: g[400],
176
+ main: g[500],
177
+ dark: g[700]
178
+ },
179
+ success: {
127
180
  light: l[400],
128
181
  main: l[500],
129
182
  dark: l[700]
130
183
  },
131
- success: {
132
- light: a[400],
133
- main: a[500],
134
- dark: a[700]
135
- },
136
- grey: s,
137
- divider: e(s[700], 0.6),
184
+ grey: h,
185
+ divider: s(h[700], 0.6),
138
186
  background: {
139
- default: s[900],
187
+ default: h[900],
140
188
  paper: "hsl(220, 30%, 7%)"
141
189
  },
142
190
  text: {
143
191
  primary: "rgb(255, 255, 255)",
144
- secondary: s[400]
192
+ secondary: h[400]
145
193
  },
146
194
  action: {
147
- hover: e(s[600], 0.2),
148
- selected: e(s[600], 0.3)
195
+ hover: s(h[600], 0.2),
196
+ selected: s(h[600], 0.3)
149
197
  },
150
198
  baseShadow: "hsla(220, 30%, 5%, 0.7) 0px 4px 16px 0px, hsla(220, 25%, 10%, 0.8) 0px 8px 16px -5px"
151
199
  }
152
- }, i = o, y = { light: i, dark: o }, b = {
200
+ }, p = n, m = { light: p, dark: n }, x = {
153
201
  fontFamily: "Outfit, sans-serif",
154
202
  h1: {
155
- fontSize: t.typography.pxToRem(48),
203
+ fontSize: a.typography.pxToRem(48),
156
204
  fontWeight: 600,
157
205
  lineHeight: 1.2,
158
206
  letterSpacing: -0.5
159
207
  },
160
208
  h2: {
161
- fontSize: t.typography.pxToRem(36),
209
+ fontSize: a.typography.pxToRem(36),
162
210
  fontWeight: 600,
163
211
  lineHeight: 1.2
164
212
  },
165
213
  h3: {
166
- fontSize: t.typography.pxToRem(30),
214
+ fontSize: a.typography.pxToRem(30),
167
215
  lineHeight: 1.2
168
216
  },
169
217
  h4: {
170
- fontSize: t.typography.pxToRem(24),
218
+ fontSize: a.typography.pxToRem(24),
171
219
  fontWeight: 600,
172
220
  lineHeight: 1.5
173
221
  },
174
222
  h5: {
175
- fontSize: t.typography.pxToRem(20),
223
+ fontSize: a.typography.pxToRem(20),
176
224
  fontWeight: 600
177
225
  },
178
226
  h6: {
179
- fontSize: t.typography.pxToRem(18),
227
+ fontSize: a.typography.pxToRem(18),
180
228
  fontWeight: 600
181
229
  },
182
230
  subtitle1: {
183
- fontSize: t.typography.pxToRem(18)
231
+ fontSize: a.typography.pxToRem(18)
184
232
  },
185
233
  subtitle2: {
186
- fontSize: t.typography.pxToRem(14),
234
+ fontSize: a.typography.pxToRem(14),
187
235
  fontWeight: 500
188
236
  },
189
237
  body1: {
190
- fontSize: t.typography.pxToRem(14)
238
+ fontSize: a.typography.pxToRem(14)
191
239
  },
192
240
  body2: {
193
- fontSize: t.typography.pxToRem(14),
241
+ fontSize: a.typography.pxToRem(14),
194
242
  fontWeight: 400
195
243
  },
196
244
  caption: {
197
- fontSize: t.typography.pxToRem(12),
245
+ fontSize: a.typography.pxToRem(12),
198
246
  fontWeight: 400
199
247
  }
200
- }, m = {
248
+ }, u = {
201
249
  borderRadius: 8
202
- }, g = ["none", "var(--s-palette-baseShadow)", ...t.shadows.slice(2)], x = g;
250
+ }, b = ["none", "var(--s-palette-baseShadow)", ...a.shadows.slice(2)], S = b;
203
251
  export {
252
+ t as blackAlpha,
204
253
  f as blue,
205
- h as brand,
206
- y as colorSchemes,
207
- s as gray,
208
- a as green,
209
- r as orange,
210
- c as purple,
211
- l as red,
212
- x as shadows,
213
- m as shape,
214
- b as typography
254
+ r as brand,
255
+ m as colorSchemes,
256
+ h as gray,
257
+ l as green,
258
+ o as orange,
259
+ y as purple,
260
+ g as red,
261
+ S as shadows,
262
+ u as shape,
263
+ x as typography,
264
+ e as whiteAlpha
215
265
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.103",
6
+ "version": "1.0.105",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",