@solostylist/ui-kit 1.0.117 → 1.0.119

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 (32) hide show
  1. package/dist/s-carousel/s-carousel.js +523 -523
  2. package/dist/s-date-picker/s-date-picker.js +20 -19
  3. package/dist/s-datetime-picker/s-datetime-picker.js +2 -1
  4. package/dist/s-image-modal/s-image-modal.js +44 -44
  5. package/dist/s-interactive-gallery/s-interactive-gallery.js +22 -22
  6. package/dist/s-lazy-image/s-lazy-image.js +10 -10
  7. package/dist/s-multi-select/s-multi-select.js +16 -22
  8. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +2 -2
  9. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +24 -19
  10. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +11 -11
  11. package/dist/s-select/s-select.js +31 -31
  12. package/dist/s-text-editor/s-text-editor-toolbar.js +10 -9
  13. package/dist/s-text-editor/s-text-editor.js +13 -12
  14. package/dist/s-text-shimmer/s-text-shimmer.js +6 -6
  15. package/dist/s-tip/s-tip.js +12 -14
  16. package/dist/theme/components/alert.d.ts +3846 -13
  17. package/dist/theme/components/alert.js +31 -14
  18. package/dist/theme/components/button.d.ts +96 -24
  19. package/dist/theme/components/button.js +42 -41
  20. package/dist/theme/components/chip.d.ts +6 -6
  21. package/dist/theme/components/chip.js +38 -160
  22. package/dist/theme/components/popover.d.ts +1 -0
  23. package/dist/theme/components/popover.js +4 -3
  24. package/dist/theme/components/tooltip.d.ts +16 -6
  25. package/dist/theme/components/tooltip.js +12 -11
  26. package/dist/theme/customizations/data-display.js +9 -9
  27. package/dist/theme/customizations/inputs.js +5 -12
  28. package/dist/theme/customizations/surfaces.js +6 -6
  29. package/dist/theme/theme-primitives.d.ts +20 -7
  30. package/dist/theme/theme-primitives.js +120 -176
  31. package/package.json +1 -1
  32. package/dist/theme/components/components.d.ts +0 -6114
@@ -1,6 +1,6 @@
1
- import { a as b } from "../createTheme-3Wd3hHrj.js";
2
- import { a as l } from "../colorManipulator-ep5lERxB.js";
3
- const h = b(), e = {
1
+ import { a as m } from "../createTheme-3Wd3hHrj.js";
2
+ import { a as r } from "../colorManipulator-ep5lERxB.js";
3
+ const l = m(), e = {
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 h = b(), e = {
11
11
  700: "hsl(210, 100%, 35%)",
12
12
  800: "hsl(210, 100%, 16%)",
13
13
  900: "hsl(210, 100%, 21%)"
14
- }, s = {
14
+ }, n = {
15
15
  50: "hsl(220, 60%, 98%)",
16
16
  100: "hsl(220, 55%, 95%)",
17
17
  200: "hsl(220, 50%, 88%)",
@@ -22,7 +22,7 @@ const h = b(), e = {
22
22
  700: "hsl(220, 95%, 31%)",
23
23
  800: "hsl(220, 100%, 24%)",
24
24
  900: "hsl(220, 100%, 18%)"
25
- }, r = {
25
+ }, t = {
26
26
  50: "hsl(220, 35%, 97%)",
27
27
  100: "hsl(220, 30%, 94%)",
28
28
  200: "hsl(220, 20%, 88%)",
@@ -33,7 +33,7 @@ const h = b(), e = {
33
33
  700: "hsl(220, 20%, 25%)",
34
34
  800: "hsl(220, 30%, 6%)",
35
35
  900: "hsl(220, 35%, 3%)"
36
- }, T = {
36
+ }, a = {
37
37
  50: "hsl(210, 20%, 98%)",
38
38
  100: "hsl(210, 15%, 95%)",
39
39
  200: "hsl(210, 12%, 89%)",
@@ -55,7 +55,7 @@ const h = b(), e = {
55
55
  700: "hsl(120, 75%, 16%)",
56
56
  800: "hsl(120, 84%, 10%)",
57
57
  900: "hsl(120, 87%, 6%)"
58
- }, n = {
58
+ }, o = {
59
59
  50: "hsl(151, 60%, 98%)",
60
60
  100: "hsl(151, 55%, 95%)",
61
61
  200: "hsl(151, 50%, 88%)",
@@ -66,7 +66,7 @@ const h = b(), e = {
66
66
  700: "hsl(151, 90%, 30%)",
67
67
  800: "hsl(151, 95%, 23%)",
68
68
  900: "hsl(151, 100%, 17%)"
69
- }, o = {
69
+ }, g = {
70
70
  50: "hsl(45, 100%, 97%)",
71
71
  100: "hsl(45, 92%, 90%)",
72
72
  200: "hsl(45, 94%, 80%)",
@@ -77,7 +77,7 @@ const h = b(), e = {
77
77
  700: "hsl(45, 94%, 20%)",
78
78
  800: "hsl(45, 95%, 16%)",
79
79
  900: "hsl(45, 93%, 12%)"
80
- }, g = {
80
+ }, p = {
81
81
  50: "hsl(48, 100%, 98%)",
82
82
  100: "hsl(48, 95%, 94%)",
83
83
  200: "hsl(48, 90%, 86%)",
@@ -88,7 +88,7 @@ const h = b(), e = {
88
88
  700: "hsl(48, 100%, 35%)",
89
89
  800: "hsl(48, 100%, 28%)",
90
90
  900: "hsl(48, 100%, 22%)"
91
- }, p = {
91
+ }, d = {
92
92
  50: "hsl(210, 100%, 98%)",
93
93
  100: "hsl(210, 95%, 94%)",
94
94
  200: "hsl(210, 90%, 87%)",
@@ -99,7 +99,7 @@ const h = b(), e = {
99
99
  700: "hsl(210, 95%, 25%)",
100
100
  800: "hsl(210, 100%, 15%)",
101
101
  900: "hsl(210, 100%, 10%)"
102
- }, d = {
102
+ }, c = {
103
103
  50: "hsl(204, 100%, 98%)",
104
104
  100: "hsl(204, 95%, 94%)",
105
105
  200: "hsl(204, 90%, 86%)",
@@ -110,7 +110,7 @@ const h = b(), e = {
110
110
  700: "hsl(204, 100%, 32%)",
111
111
  800: "hsl(204, 100%, 25%)",
112
112
  900: "hsl(204, 100%, 19%)"
113
- }, c = {
113
+ }, f = {
114
114
  50: "hsl(0, 100%, 97%)",
115
115
  100: "hsl(0, 92%, 90%)",
116
116
  200: "hsl(0, 94%, 80%)",
@@ -121,7 +121,7 @@ const h = b(), e = {
121
121
  700: "hsl(0, 94%, 18%)",
122
122
  800: "hsl(0, 95%, 12%)",
123
123
  900: "hsl(0, 93%, 6%)"
124
- }, f = {
124
+ }, b = {
125
125
  50: "hsl(356, 100%, 98%)",
126
126
  100: "hsl(356, 95%, 94%)",
127
127
  200: "hsl(356, 90%, 87%)",
@@ -154,7 +154,7 @@ const h = b(), e = {
154
154
  700: "hsl(280, 90%, 34%)",
155
155
  800: "hsl(280, 95%, 27%)",
156
156
  900: "hsl(280, 100%, 21%)"
157
- }, a = {
157
+ }, h = {
158
158
  0: "rgba(0,0,0,0)",
159
159
  10: "rgba(0,0,0,0.1)",
160
160
  20: "rgba(0,0,0,0.2)",
@@ -166,7 +166,7 @@ const h = b(), e = {
166
166
  80: "rgba(0,0,0,0.8)",
167
167
  90: "rgba(0,0,0,0.9)",
168
168
  100: "rgba(0,0,0,1)"
169
- }, t = {
169
+ }, s = {
170
170
  0: "rgba(255,255,255,0)",
171
171
  10: "rgba(255,255,255,0.1)",
172
172
  20: "rgba(255,255,255,0.2)",
@@ -178,7 +178,7 @@ const h = b(), e = {
178
178
  80: "rgba(255,255,255,0.8)",
179
179
  90: "rgba(255,255,255,0.9)",
180
180
  100: "rgba(255,255,255,1)"
181
- }, m = {
181
+ }, y = {
182
182
  palette: {
183
183
  gradient: {
184
184
  primary: "linear-gradient(90deg, #1469be 0%, #43ecff 100%);",
@@ -187,36 +187,26 @@ const h = b(), e = {
187
187
  sky: "linear-gradient(to right, transparent, #0ea5e9, transparent)"
188
188
  },
189
189
  blackAlpha: {
190
- zero: a[0],
191
- // không có
192
- light: a[10],
193
- // nhẹ, subtle
194
- medium: a[50],
195
- // vừa, balanced
196
- dark: a[80],
197
- // đậm, mạnh
198
- full: a[100]
199
- // đầy đủ
190
+ zero: h[0],
191
+ light: h[10],
192
+ medium: h[50],
193
+ dark: h[80],
194
+ full: h[100]
200
195
  },
201
196
  whiteAlpha: {
202
- zero: t[0],
203
- // không có
204
- light: t[10],
205
- // nhẹ, subtle
206
- medium: t[50],
207
- // vừa, balanced
208
- dark: t[80],
209
- // đậm, mạnh
210
- full: t[100]
211
- // đầy đủ
197
+ zero: s[0],
198
+ light: s[10],
199
+ medium: s[50],
200
+ dark: s[80],
201
+ full: s[100]
212
202
  },
213
203
  ui: {
214
204
  pulse: {
215
- shadowLight: "rgba(255, 255, 255, 0.3)",
216
- shadowMedium: "rgba(255, 255, 255, 0.6)",
217
- ring: "rgba(255, 255, 255, 0.8)",
218
- background: "rgba(255, 255, 255, 0.8)",
219
- radialGradient: "radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%)"
205
+ shadowLight: s[30],
206
+ shadowMedium: s[60],
207
+ ring: s[80],
208
+ background: s[80],
209
+ radialGradient: `radial-gradient(circle, ${s[30]} 0%, ${s[10]} 50%, transparent 100%)`
220
210
  }
221
211
  },
222
212
  primary: {
@@ -228,22 +218,22 @@ const h = b(), e = {
228
218
  black: "#000000"
229
219
  },
230
220
  info: {
231
- contrastText: p[50],
232
- light: p[400],
233
- main: p[500],
234
- dark: p[700]
221
+ contrastText: d[50],
222
+ light: d[400],
223
+ main: d[500],
224
+ dark: d[700]
235
225
  },
236
226
  warning: {
237
- contrastText: o[50],
238
- light: o[400],
239
- main: o[500],
240
- dark: o[700]
227
+ contrastText: g[50],
228
+ light: g[400],
229
+ main: g[500],
230
+ dark: g[700]
241
231
  },
242
232
  error: {
243
- contrastText: c[50],
244
- light: c[400],
245
- main: c[500],
246
- dark: c[700]
233
+ contrastText: f[50],
234
+ light: f[400],
235
+ main: f[500],
236
+ dark: f[700]
247
237
  },
248
238
  success: {
249
239
  contrastText: i[50],
@@ -251,23 +241,23 @@ const h = b(), e = {
251
241
  main: i[500],
252
242
  dark: i[700]
253
243
  },
254
- grey: r,
255
- divider: l(r[700], 0.6),
244
+ grey: t,
245
+ divider: r(t[700], 0.6),
256
246
  background: {
257
- default: r[900],
258
- paper: "hsl(220, 30%, 7%)"
247
+ default: t[900],
248
+ paper: t[800]
259
249
  },
260
250
  text: {
261
251
  primary: "rgb(255, 255, 255)",
262
- secondary: r[400]
252
+ secondary: t[400]
263
253
  },
264
254
  action: {
265
- hover: l(r[600], 0.2),
266
- selected: l(r[600], 0.3)
255
+ hover: r(t[600], 0.2),
256
+ selected: r(t[600], 0.3)
267
257
  },
268
258
  baseShadow: "hsla(220, 30%, 5%, 0.7) 0px 4px 16px 0px, hsla(220, 25%, 10%, 0.8) 0px 8px 16px -5px"
269
259
  }
270
- }, y = {
260
+ }, x = {
271
261
  palette: {
272
262
  gradient: {
273
263
  primary: "linear-gradient(90deg, #1469be 0%, #43ecff 100%);",
@@ -276,193 +266,147 @@ const h = b(), e = {
276
266
  sky: "linear-gradient(to right, transparent, #0ea5e9, transparent)"
277
267
  },
278
268
  blackAlpha: {
279
- zero: a[0],
280
- // transparent
281
- light: a[10],
282
- // very subtle overlay for light theme
283
- medium: a[50],
284
- // light overlay for light theme
285
- dark: a[80],
286
- // moderate overlay for light theme
287
- full: a[100]
288
- // opaque black
269
+ zero: h[0],
270
+ light: h[10],
271
+ medium: h[50],
272
+ dark: h[80],
273
+ full: h[100]
289
274
  },
290
275
  whiteAlpha: {
291
- zero: t[0],
292
- // transparent
293
- light: t[10],
294
- // strong white overlay for light theme
295
- medium: t[50],
296
- // stronger white overlay
297
- dark: t[80],
298
- // very strong white overlay
299
- full: t[100]
300
- // opaque white
276
+ zero: s[0],
277
+ light: s[10],
278
+ medium: s[50],
279
+ dark: s[80],
280
+ full: s[100]
301
281
  },
302
282
  ui: {
303
283
  pulse: {
304
- shadowLight: `${l(s[500], 0.12)}`,
305
- shadowMedium: `${l(s[500], 0.18)}`,
306
- ring: `${l(s[500], 0.3)}`,
307
- background: `${l(s[500], 0.05)}`,
308
- radialGradient: `radial-gradient(circle, ${l(s[500], 0.08)} 0%, ${l(s[500], 0.03)} 50%, transparent 100%)`
284
+ shadowLight: h[30],
285
+ shadowMedium: h[60],
286
+ ring: h[80],
287
+ background: h[80],
288
+ radialGradient: `radial-gradient(circle, ${h[30]} 0%, ${h[10]} 50%, transparent 100%)`
309
289
  }
310
290
  },
311
291
  primary: {
312
- contrastText: s[50],
313
- light: s[200],
314
- // Light brand color for light theme
315
- main: s[500],
316
- // Main brand color optimized for light backgrounds
317
- dark: s[700],
318
- // Dark brand color for strong contrast
292
+ contrastText: n[50],
293
+ light: n[200],
294
+ main: n[500],
295
+ dark: n[700],
319
296
  white: "#ffffff",
320
297
  black: "#000000"
321
298
  },
322
299
  info: {
323
- contrastText: d[50],
324
- light: d[200],
325
- // Light blue for light theme
326
- main: d[500],
327
- // Main blue for light theme
328
- dark: d[700]
329
- // Dark blue for light theme
300
+ contrastText: c[50],
301
+ light: c[200],
302
+ main: c[500],
303
+ dark: c[700]
330
304
  },
331
305
  warning: {
332
- contrastText: g[50],
333
- light: g[200],
334
- // Light orange for light theme
335
- main: g[500],
336
- // Main orange for light theme
337
- dark: g[700]
338
- // Dark orange for light theme
306
+ contrastText: p[50],
307
+ light: p[200],
308
+ main: p[500],
309
+ dark: p[700]
339
310
  },
340
311
  error: {
341
- contrastText: f[50],
342
- light: f[200],
343
- // Light red for light theme
344
- main: f[500],
345
- // Main red for light theme
346
- dark: f[700]
347
- // Dark red for light theme
312
+ contrastText: b[50],
313
+ light: b[200],
314
+ main: b[500],
315
+ dark: b[700]
348
316
  },
349
317
  success: {
350
- contrastText: n[50],
351
- light: n[200],
352
- // Light green for light theme
353
- main: n[500],
354
- // Main green for light theme
355
- dark: n[700]
356
- // Dark green for light theme
318
+ contrastText: o[50],
319
+ light: o[200],
320
+ main: o[500],
321
+ dark: o[700]
357
322
  },
358
- grey: r,
359
- divider: "hsl(214, 32%, 91%)",
360
- // Sophisticated light dividers
323
+ grey: a,
324
+ divider: r(a[200], 0.6),
361
325
  background: {
362
- default: "#f8fafc",
363
- // Premium light background (slate-inspired)
364
- paper: "#ffffff",
365
- // Pure white for elevated surfaces
366
- surface: s[50],
367
- // Subtle brand-tinted surface
368
- elevated: "#ffffff"
369
- // Elevated surfaces (modals, dropdowns)
326
+ default: a[50],
327
+ paper: a[100]
370
328
  },
371
329
  text: {
372
- primary: "hsl(222, 84%, 4.9%)",
373
- // Premium dark text (almost black with subtle hue)
374
- secondary: "hsl(215, 16%, 47%)",
375
- // Balanced secondary text
376
- tertiary: "hsl(215, 14%, 65%)",
377
- // Light secondary text
378
- disabled: "hsl(215, 14%, 75%)"
379
- // Disabled text
330
+ primary: "rgb(0, 0, 0)",
331
+ secondary: a[500]
380
332
  },
381
333
  action: {
382
- hover: l(s[500], 0.08),
383
- // Brand-tinted hover
384
- selected: l(s[500], 0.12),
385
- // Brand-tinted selection
386
- disabled: "hsl(215, 14%, 75%)",
387
- // Disabled state
388
- disabledBackground: "hsl(215, 20%, 95%)",
389
- // Disabled background
390
- focus: l(s[500], 0.16)
391
- // Prominent focus state
334
+ hover: r(a[300], 0.2),
335
+ selected: r(a[300], 0.3)
392
336
  },
393
337
  baseShadow: "rgba(15, 23, 42, 0.08) 0px 2px 8px 0px, rgba(15, 23, 42, 0.04) 0px 1px 2px -1px"
394
338
  // Premium shadows with subtle slate tint
395
339
  }
396
- }, z = { light: y, dark: m }, R = {
340
+ }, z = { light: x, dark: y }, R = {
397
341
  fontFamily: "Outfit, sans-serif",
398
342
  h1: {
399
- fontSize: h.typography.pxToRem(48),
343
+ fontSize: l.typography.pxToRem(48),
400
344
  fontWeight: 600,
401
345
  lineHeight: 1.2,
402
346
  letterSpacing: -0.5
403
347
  },
404
348
  h2: {
405
- fontSize: h.typography.pxToRem(36),
349
+ fontSize: l.typography.pxToRem(36),
406
350
  fontWeight: 600,
407
351
  lineHeight: 1.2
408
352
  },
409
353
  h3: {
410
- fontSize: h.typography.pxToRem(30),
354
+ fontSize: l.typography.pxToRem(30),
411
355
  lineHeight: 1.2
412
356
  },
413
357
  h4: {
414
- fontSize: h.typography.pxToRem(24),
358
+ fontSize: l.typography.pxToRem(24),
415
359
  fontWeight: 600,
416
360
  lineHeight: 1.5
417
361
  },
418
362
  h5: {
419
- fontSize: h.typography.pxToRem(20),
363
+ fontSize: l.typography.pxToRem(20),
420
364
  fontWeight: 600
421
365
  },
422
366
  h6: {
423
- fontSize: h.typography.pxToRem(18),
367
+ fontSize: l.typography.pxToRem(18),
424
368
  fontWeight: 600
425
369
  },
426
370
  subtitle1: {
427
- fontSize: h.typography.pxToRem(18)
371
+ fontSize: l.typography.pxToRem(18)
428
372
  },
429
373
  subtitle2: {
430
- fontSize: h.typography.pxToRem(14),
374
+ fontSize: l.typography.pxToRem(14),
431
375
  fontWeight: 500
432
376
  },
433
377
  body1: {
434
- fontSize: h.typography.pxToRem(14)
378
+ fontSize: l.typography.pxToRem(14)
435
379
  },
436
380
  body2: {
437
- fontSize: h.typography.pxToRem(14),
381
+ fontSize: l.typography.pxToRem(14),
438
382
  fontWeight: 400
439
383
  },
440
384
  caption: {
441
- fontSize: h.typography.pxToRem(12),
385
+ fontSize: l.typography.pxToRem(12),
442
386
  fontWeight: 400
443
387
  }
444
388
  }, W = {
445
389
  borderRadius: 8
446
- }, x = ["none", "var(--s-palette-baseShadow)", ...h.shadows.slice(2)], v = x;
390
+ }, u = ["none", "var(--s-palette-baseShadow)", ...l.shadows.slice(2)], A = u;
447
391
  export {
448
- a as blackAlpha,
449
- p as blue,
392
+ h as blackAlpha,
393
+ d as blue,
450
394
  e as brand,
451
395
  z as colorSchemes,
452
- r as gray,
396
+ t as gray,
453
397
  i as green,
454
- d as lightBlue,
455
- s as lightBrand,
456
- T as lightGray,
457
- n as lightGreen,
458
- g as lightOrange,
398
+ c as lightBlue,
399
+ n as lightBrand,
400
+ a as lightGray,
401
+ o as lightGreen,
402
+ p as lightOrange,
459
403
  S as lightPurple,
460
- f as lightRed,
461
- o as orange,
404
+ b as lightRed,
405
+ g as orange,
462
406
  w as purple,
463
- c as red,
464
- v as shadows,
407
+ f as red,
408
+ A as shadows,
465
409
  W as shape,
466
410
  R as typography,
467
- t as whiteAlpha
411
+ s as whiteAlpha
468
412
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.117",
6
+ "version": "1.0.119",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",