@solar-taro/ui-sun 1.3.1 → 1.3.2

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 CHANGED
@@ -1,3 +1,14 @@
1
+ ## 1.3.1 (2025-09-18)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **ui-sun/chip:** support more colors
6
+ - **ui-sun:** new color system
7
+
8
+ ### ❤️ Thank You
9
+
10
+ - HyperLife1119
11
+
1
12
  ## 1.3.0 (2025-09-18)
2
13
 
3
14
  ### 🩹 Fixes
package/chip/index.scss CHANGED
@@ -83,13 +83,13 @@
83
83
  --color-contrast: var(--color-dark-contrast);
84
84
  }
85
85
 
86
- &-white {
87
- --color-rgb: var(--color-white-rgb);
88
- --color-contrast: var(--color-white-contrast);
86
+ &-medium {
87
+ --color-rgb: var(--color-medium-rgb);
88
+ --color-contrast: var(--color-medium-contrast);
89
89
  }
90
90
 
91
- &-black {
92
- --color-rgb: var(--color-black-rgb);
93
- --color-contrast: var(--color-black-contrast);
91
+ &-white {
92
+ --color-rgb: 255, 255, 255;
93
+ --color-contrast: var(--color-dark);
94
94
  }
95
95
  }
package/index19.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { renderSlot as r, mergeProps as o, openBlock as t, createElementBlock as n } from "vue";
2
- import c from "./index22.js";
2
+ import c from "./index35.js";
3
3
  const s = {}, l = r, a = o, f = t, _ = n;
4
4
  function m(e, p) {
5
5
  return f(), _("view", a(e.$attrs, { class: "sun-fab" }), [
package/index20.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { renderSlot as o, mergeProps as r, openBlock as t, createElementBlock as s } from "vue";
2
- import n from "./index22.js";
2
+ import n from "./index35.js";
3
3
  const c = {}, l = o, m = r, _ = t, a = s;
4
4
  function u(e, d) {
5
5
  return _(), a("view", m(e.$attrs, { class: "sun-sudoku-item" }), [
package/index21.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index6.js";
1
+ import f from "./index3.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index22.js CHANGED
@@ -1,9 +1,4 @@
1
- const s = (t, e) => {
2
- const o = t.__vccOpts || t;
3
- for (const [r, c] of e)
4
- o[r] = c;
5
- return o;
6
- };
1
+ import f from "./index4.js";
7
2
  export {
8
- s as default
3
+ f as default
9
4
  };
package/index23.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index5.js";
1
+ import f from "./index7.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index25.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index7.js";
1
+ import f from "./index8.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index26.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index3.js";
1
+ import f from "./index11.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index27.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index11.js";
1
+ import f from "./index12.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index28.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index12.js";
1
+ import f from "./index10.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index29.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index13.js";
1
+ import f from "./index18.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index30.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index4.js";
1
+ import f from "./index15.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index31.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index10.js";
1
+ import f from "./index16.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index32.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index8.js";
1
+ import f from "./index17.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index33.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index18.js";
1
+ import f from "./index5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index34.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index15.js";
1
+ import f from "./index13.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index35.js CHANGED
@@ -1,4 +1,9 @@
1
- import f from "./index16.js";
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
2
7
  export {
3
- f as default
8
+ s as default
4
9
  };
package/index36.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index17.js";
1
+ import f from "./index14.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/index37.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index14.js";
1
+ import f from "./index6.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar-taro/ui-sun",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
package/tailwind.js CHANGED
@@ -47,18 +47,6 @@ module.exports = {
47
47
  contrast: 'var(--color-dark-contrast)',
48
48
  tint: 'var(--color-dark-tint)',
49
49
  shade: 'var(--color-dark-shade)',
50
- },
51
- white: {
52
- DEFAULT: 'var(--color-white)',
53
- contrast: 'var(--color-white-contrast)',
54
- tint: 'var(--color-white-tint)',
55
- shade: 'var(--color-white-shade)',
56
- },
57
- black: {
58
- DEFAULT: 'var(--color-black)',
59
- contrast: 'var(--color-black-contrast)',
60
- tint: 'var(--color-black-tint)',
61
- shade: 'var(--color-black-shade)',
62
- },
50
+ }
63
51
  }
64
52
  }
package/typing.d.ts CHANGED
@@ -1 +1 @@
1
- export type Color = 'primary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'secondary' | 'white' | 'black';
1
+ export type Color = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'medium' | 'white' | 'black';