@solar-taro/ui-sun 1.1.2 → 1.1.3
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/circular-progress/index.scss +1 -1
- package/circular-progress/index.vue.d.ts +2 -2
- package/index19.js +1 -1
- package/index20.js +1 -1
- package/index21.js +1 -1
- package/index22.js +1 -1
- package/index23.js +7 -2
- package/index24.js +1 -1
- package/index25.js +1 -1
- package/index27.js +1 -1
- package/index28.js +1 -1
- package/index29.js +1 -1
- package/index30.js +2 -7
- package/index31.js +1 -1
- package/index32.js +1 -1
- package/index33.js +1 -1
- package/index34.js +1 -1
- package/index35.js +1 -1
- package/index36.js +1 -1
- package/index37.js +1 -1
- package/index5.js +13 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.1.2 (2025-04-08)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **ui-sun:** some adjustments for circular-progress component
|
|
6
|
+
- **ui-sun:** add Color type
|
|
7
|
+
- **ui-sun:** add circular progress component
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- HyperLife1119
|
|
12
|
+
|
|
1
13
|
## 1.1.1 (2025-04-07)
|
|
2
14
|
|
|
3
15
|
### 🚀 Features
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
background:
|
|
12
12
|
/* 内圆遮罩 */
|
|
13
13
|
radial-gradient(circle closest-side, #fff calc(var(--size) / 2 - var(--stroke-width)), transparent 0),
|
|
14
|
-
/* 外层环形进度 */ conic-gradient(var(--color) calc(var(--
|
|
14
|
+
/* 外层环形进度 */ conic-gradient(var(--color) calc(var(--value) * 100 * 3.6deg), #f4f5f8 0);
|
|
15
15
|
|
|
16
16
|
&-primary {
|
|
17
17
|
--color: var(--color-primary);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Color } from '../typing';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
|
|
4
|
+
value: number;
|
|
5
5
|
size: string;
|
|
6
6
|
strokeWidth: string;
|
|
7
7
|
color?: Color;
|
|
8
8
|
}>, {
|
|
9
9
|
color: string;
|
|
10
10
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
|
|
11
|
+
value: number;
|
|
12
12
|
size: string;
|
|
13
13
|
strokeWidth: string;
|
|
14
14
|
color?: Color;
|
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 "./
|
|
2
|
+
import c from "./index23.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 "./
|
|
2
|
+
import n from "./index23.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
package/index22.js
CHANGED
package/index23.js
CHANGED
package/index24.js
CHANGED
package/index25.js
CHANGED
package/index27.js
CHANGED
package/index28.js
CHANGED
package/index29.js
CHANGED
package/index30.js
CHANGED
package/index31.js
CHANGED
package/index32.js
CHANGED
package/index33.js
CHANGED
package/index34.js
CHANGED
package/index35.js
CHANGED
package/index36.js
CHANGED
package/index37.js
CHANGED
package/index5.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const m =
|
|
1
|
+
import { defineComponent as a, computed as o, toDisplayString as n, normalizeClass as c, normalizeStyle as i, openBlock as u, createElementBlock as p } from "vue";
|
|
2
|
+
const m = n, _ = c, d = i, v = u, k = p, g = /* @__PURE__ */ a({
|
|
3
3
|
__name: "index",
|
|
4
4
|
props: {
|
|
5
|
-
|
|
5
|
+
value: {},
|
|
6
6
|
size: {},
|
|
7
7
|
strokeWidth: {},
|
|
8
8
|
color: { default: "primary" }
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const e =
|
|
12
|
-
"--
|
|
10
|
+
setup(s) {
|
|
11
|
+
const e = s, t = o(() => ({
|
|
12
|
+
"--value": e.value,
|
|
13
13
|
"--size": e.size,
|
|
14
14
|
"--stroke-width": e.strokeWidth
|
|
15
|
-
})),
|
|
15
|
+
})), l = o(() => [
|
|
16
16
|
`sun-circular-progress-${e.color}`
|
|
17
|
-
]),
|
|
18
|
-
return (y, z) => (
|
|
19
|
-
class: _(["sun-circular-progress",
|
|
20
|
-
style: d(
|
|
21
|
-
}, m(
|
|
17
|
+
]), r = o(() => +(e.value * 100).toFixed(1));
|
|
18
|
+
return (y, z) => (v(), k("view", {
|
|
19
|
+
class: _(["sun-circular-progress", l.value]),
|
|
20
|
+
style: d(t.value)
|
|
21
|
+
}, m(r.value) + "%", 7));
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
g as default
|
|
26
26
|
};
|