@huyooo/ui 0.4.68 → 0.4.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huyooo/ui",
3
- "version": "0.4.68",
3
+ "version": "0.4.70",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -1,128 +0,0 @@
1
- import { defineComponent as d, createElementBlock as n, openBlock as r, createElementVNode as c, createCommentVNode as _, toDisplayString as l, computed as a, normalizeStyle as p, renderSlot as f } from "vue";
2
- import { _ as i } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const g = {
4
- class: "ContentHead"
5
- }, h = {
6
- class: "title"
7
- }, m = {
8
- key: 0,
9
- class: "description"
10
- }, S = /* @__PURE__ */ d({
11
- __name: "ContentHead",
12
- props: {
13
- title: {
14
- type: String,
15
- required: !0,
16
- default: () => ""
17
- },
18
- description: {
19
- type: String,
20
- required: !0,
21
- default: () => ""
22
- }
23
- },
24
- setup(t) {
25
- const e = t;
26
- return (s, o) => (r(), n("div", g, [c("h1", h, l(e.title), 1), e.description ? (r(), n("p", m, l(e.description), 1)) : _("", !0)]));
27
- }
28
- }), z = /* @__PURE__ */ i(S, [["__scopeId", "data-v-209a7bef"]]), y = /* @__PURE__ */ d({
29
- __name: "Gradientbackground",
30
- props: {
31
- width: {
32
- type: String,
33
- default: "100%"
34
- },
35
- height: {
36
- type: String,
37
- default: "100%"
38
- },
39
- zIndex: {
40
- type: String,
41
- default: "-1"
42
- },
43
- top: {
44
- type: String,
45
- default: "10%"
46
- },
47
- left: {
48
- type: String,
49
- default: "0%"
50
- },
51
- right: {
52
- type: String,
53
- default: "auto"
54
- },
55
- blur: {
56
- type: String,
57
- default: "0px"
58
- },
59
- background: {
60
- type: String,
61
- required: !1,
62
- default: () => "linear-gradient(180deg, rgb(0 225 10 / 10%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)"
63
- }
64
- },
65
- setup(t) {
66
- const e = t, s = a(() => ({
67
- pointerEvents: "none",
68
- position: "absolute",
69
- zIndex: e.zIndex,
70
- width: e.width,
71
- height: e.height,
72
- filter: `blur(${e.blur})`
73
- })), o = a(() => ({
74
- width: "100%",
75
- height: "100%",
76
- background: e.background
77
- // background: `linear-gradient(180deg, #D5D1FF 0.31%, #EAEDFF 74.99%, rgba(240, 246, 255, 0) 99.69%)`,
78
- // background: `linear-gradient(180deg, rgb(0 225 10 / 63%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)`,
79
- // background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
80
- }));
81
- return (u, C) => (r(), n("div", {
82
- class: "ellipsis",
83
- style: p(s.value)
84
- }, [c("div", {
85
- class: "ellipsis-item",
86
- style: p(o.value)
87
- }, null, 4)], 4));
88
- }
89
- }), E = /* @__PURE__ */ i(y, [["__scopeId", "data-v-b6461ac4"]]), v = {
90
- class: "SvgIcon"
91
- }, b = ["href", "fill"], I = /* @__PURE__ */ d({
92
- __name: "SvgIcon",
93
- props: {
94
- prefix: {
95
- type: String,
96
- required: !1,
97
- default: "icon"
98
- },
99
- name: {
100
- type: String,
101
- required: !0
102
- },
103
- color: {
104
- type: String,
105
- required: !1,
106
- default: "#333"
107
- }
108
- },
109
- setup(t) {
110
- const e = t, s = a(() => `#${e.prefix ?? "icon"}-${e.name}`);
111
- return (o, u) => (r(), n("svg", v, [c("use", {
112
- href: s.value,
113
- fill: e.color
114
- }, null, 8, b)]));
115
- }
116
- }), G = /* @__PURE__ */ i(I, [["__scopeId", "data-v-0a9de94e"]]), x = {}, $ = {
117
- class: "WidthContainer"
118
- };
119
- function k(t, e) {
120
- return r(), n("div", $, [f(t.$slots, "default", {}, void 0, !0)]);
121
- }
122
- const H = /* @__PURE__ */ i(x, [["render", k], ["__scopeId", "data-v-d06aac1f"]]);
123
- export {
124
- z as C,
125
- E as G,
126
- G as S,
127
- H as W
128
- };