rappel-ui 1.0.3 → 1.0.5
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/cjs/components/button/index.d.ts +2 -4
- package/cjs/components/button/index.js +1 -1
- package/cjs/components/colors/index.d.ts +3 -4
- package/cjs/components/colors/index.js +1 -1
- package/cjs/components/colors/src/colors.vue.js +1 -1
- package/cjs/components/colors/src/neutral-color.vue.js +1 -1
- package/cjs/components/colors/src/neutral-color.vue2.js +1 -1
- package/cjs/components/colors/src/primary-color.vue.js +1 -1
- package/cjs/components/colors/src/primary-color.vue2.js +1 -1
- package/cjs/components/colors/src/secondary-color.vue.js +1 -1
- package/cjs/components/colors/src/secondary-color.vue2.js +1 -1
- package/cjs/components/colors/style/css.d.ts +0 -0
- package/cjs/components/colors/style/index.d.ts +0 -0
- package/cjs/components/index.js +1 -1
- package/cjs/components/input/index.d.ts +2 -4
- package/cjs/components/input/index.js +1 -1
- package/cjs/components/tabs/index.d.ts +2 -4
- package/cjs/components/tabs/index.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/theme-chalk/src/colors.css +1 -0
- package/es/components/button/index.d.ts +2 -4
- package/es/components/button/index.mjs +3 -2
- package/es/components/colors/index.d.ts +3 -4
- package/es/components/colors/index.mjs +12 -11
- package/es/components/colors/src/colors.vue.mjs +8 -8
- package/es/components/colors/src/neutral-color.vue.mjs +197 -5
- package/es/components/colors/src/neutral-color.vue2.mjs +2 -193
- package/es/components/colors/src/primary-color.vue.mjs +36 -5
- package/es/components/colors/src/primary-color.vue2.mjs +2 -31
- package/es/components/colors/src/secondary-color.vue.mjs +59 -5
- package/es/components/colors/src/secondary-color.vue2.mjs +2 -52
- package/es/components/colors/style/css.d.ts +0 -0
- package/es/components/colors/style/index.d.ts +0 -0
- package/es/components/index.mjs +14 -18
- package/es/components/input/index.d.ts +2 -4
- package/es/components/input/index.mjs +4 -3
- package/es/components/tabs/index.d.ts +2 -4
- package/es/components/tabs/index.mjs +3 -2
- package/es/index.mjs +16 -17
- package/es/theme-chalk/src/colors.css +1 -0
- package/package.json +1 -1
- package/theme-chalk/index.css +66 -0
- package/theme-chalk/re-colors.css +100 -0
- package/theme-chalk/src/colors.scss +77 -0
- package/theme-chalk/src/index.scss +1 -0
- package/umd/index.js +11 -11
- package/cjs/components/colors/src/neutral-color.css +0 -1
- package/cjs/components/colors/src/primary-color.css +0 -1
- package/cjs/components/colors/src/secondary-color.css +0 -1
- package/es/components/colors/src/neutral-color.css +0 -1
- package/es/components/colors/src/primary-color.css +0 -1
- package/es/components/colors/src/secondary-color.css +0 -1
|
@@ -1,195 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getEqualOpacityColor as r } from "../../../utils/util.mjs";
|
|
3
|
-
const b = { class: "text-colors" }, B = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "content"
|
|
6
|
-
}, F = /* @__PURE__ */ x({
|
|
7
|
-
name: "ReNeutralColor",
|
|
8
|
-
__name: "neutral-color",
|
|
9
|
-
setup(h) {
|
|
10
|
-
const s = [
|
|
11
|
-
{
|
|
12
|
-
shades: [
|
|
13
|
-
{
|
|
14
|
-
color: "#000000",
|
|
15
|
-
text: "Darkest Text",
|
|
16
|
-
textcolor: "#fff"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
color: "#303131",
|
|
20
|
-
text: "Base Text",
|
|
21
|
-
textcolor: "#fff"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
color: "#606062",
|
|
25
|
-
text: "Secondary Text",
|
|
26
|
-
textcolor: "#fff"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
color: "#909093",
|
|
30
|
-
text: "Neutral Text",
|
|
31
|
-
textcolor: "#fff"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
color: "#b2b2b6",
|
|
35
|
-
text: "Placeholder Text",
|
|
36
|
-
textcolor: "#fff"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
color: "#cdcdd1",
|
|
40
|
-
text: "Disabled Text",
|
|
41
|
-
textcolor: "#fff"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
shades: [
|
|
47
|
-
{
|
|
48
|
-
color: "#c3c3cb",
|
|
49
|
-
text: "Darker Border",
|
|
50
|
-
extraclass: "border-blocks"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
color: "#d0d0d8",
|
|
54
|
-
text: "Dark Border",
|
|
55
|
-
extraclass: "border-blocks"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
color: "#dbdbe0",
|
|
59
|
-
text: "Base Border",
|
|
60
|
-
extraclass: "border-blocks"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
color: "#e4e4e8",
|
|
64
|
-
text: "Light Border",
|
|
65
|
-
extraclass: "border-blocks"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
color: "#ededef",
|
|
69
|
-
text: "Lighter Border",
|
|
70
|
-
extraclass: "border-blocks"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
color: "#efeff3",
|
|
74
|
-
text: "Extra-Light Border",
|
|
75
|
-
extraclass: "border-blocks"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
color: r("#937bff", 0.4),
|
|
79
|
-
text: "Primary Alpha 40% Border",
|
|
80
|
-
extraclass: "border-blocks"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
shades: [
|
|
86
|
-
{
|
|
87
|
-
color: "#d7d7dc",
|
|
88
|
-
text: "Darker Fill Background"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
color: "#e8e8ec",
|
|
92
|
-
text: "Dark Fill Background"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
color: "#ededf0",
|
|
96
|
-
text: "Base Fill Background"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
color: "#f1f1f4",
|
|
100
|
-
text: "Light Fill Background"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
color: "#f6f6f7",
|
|
104
|
-
text: "Lighter Fill Background"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
color: "#f8f8f9",
|
|
108
|
-
text: "Extra-light Fill Background"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
color: "#f7f7fb",
|
|
112
|
-
text: "Theme Fill Background"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
color: "#ffffff",
|
|
116
|
-
text: "Blank Fill Background",
|
|
117
|
-
bordercolor: r("#937bff", 0.4)
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
color: "transparent",
|
|
121
|
-
text: "Transparent Fill Background",
|
|
122
|
-
extraclass: "checkerboard-bg"
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
shades: [
|
|
128
|
-
{
|
|
129
|
-
color: r("#937bff", 0.9),
|
|
130
|
-
textcolor: "#fff",
|
|
131
|
-
text: "Primary Alpha 90% Fill Background"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
color: r("#937bff", 0.8),
|
|
135
|
-
textcolor: "#fff",
|
|
136
|
-
text: "Primary Alpha 80% Fill Background"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
color: r("#937bff", 0.7),
|
|
140
|
-
text: "Primary Alpha 70% Fill Background"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
color: r("#937bff", 0.6),
|
|
144
|
-
text: "Primary Alpha 60% Fill Background"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
color: r("#937bff", 0.5),
|
|
148
|
-
text: "Primary Alpha 50% Fill Background"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
color: r("#937bff", 0.4),
|
|
152
|
-
text: "Primary Alpha 40% Fill Background"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
color: r("#937bff", 0.3),
|
|
156
|
-
text: "Primary Alpha 30% Fill Background"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
color: r("#937bff", 0.2),
|
|
160
|
-
text: "Primary Alpha 20% Fill Background"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
color: r("#937bff", 0.1),
|
|
164
|
-
text: "Primary Alpha 10% Fill Background"
|
|
165
|
-
}
|
|
166
|
-
]
|
|
167
|
-
}
|
|
168
|
-
];
|
|
169
|
-
return (g, u) => (t(), e("div", b, [
|
|
170
|
-
(t(), e(a, null, d(s, (c) => l("div", {
|
|
171
|
-
class: "panel",
|
|
172
|
-
key: c.shades[0].color
|
|
173
|
-
}, [
|
|
174
|
-
(t(!0), e(a, null, d(c.shades, (o) => (t(), e("div", {
|
|
175
|
-
class: i(["shade", [o?.extraclass]]),
|
|
176
|
-
style: n({
|
|
177
|
-
"background-color": o.color,
|
|
178
|
-
color: o?.textcolor,
|
|
179
|
-
border: o?.bordercolor ? "1px solid " + o.bordercolor : "none"
|
|
180
|
-
}),
|
|
181
|
-
key: o.text
|
|
182
|
-
}, [
|
|
183
|
-
l("div", null, [
|
|
184
|
-
l("div", null, f(o.text), 1),
|
|
185
|
-
l("div", null, f(o.color.toUpperCase()), 1)
|
|
186
|
-
]),
|
|
187
|
-
o.extraclass ? (t(), e("div", B, "#FFFFFF")) : k("", !0)
|
|
188
|
-
], 6))), 128))
|
|
189
|
-
])), 64))
|
|
190
|
-
]));
|
|
191
|
-
}
|
|
192
|
-
});
|
|
1
|
+
import f from "./neutral-color.vue.mjs";
|
|
193
2
|
export {
|
|
194
|
-
|
|
3
|
+
f as default
|
|
195
4
|
};
|
|
@@ -1,7 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { defineComponent as u, createElementBlock as a, openBlock as t, Fragment as m, renderList as c, createElementVNode as n, normalizeClass as r, unref as s, normalizeStyle as i, toDisplayString as f } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { createColors as y } from "../../../utils/util.mjs";
|
|
5
|
+
import { useNamespace as b } from "../../../composables/use-namespace/index.mjs";
|
|
6
|
+
const B = /* @__PURE__ */ u({
|
|
7
|
+
name: "RePrimaryColor",
|
|
8
|
+
__name: "primary-color",
|
|
9
|
+
setup(_) {
|
|
10
|
+
const { nm: p, ns: o } = b("colors"), d = [
|
|
11
|
+
{
|
|
12
|
+
base: "#937bff",
|
|
13
|
+
shades: y("#937bff")
|
|
14
|
+
}
|
|
15
|
+
];
|
|
16
|
+
return (h, k) => (t(), a(m, null, c(d, (e) => n("div", {
|
|
17
|
+
class: r([s(p)("", "primary")]),
|
|
18
|
+
key: e.base
|
|
19
|
+
}, [
|
|
20
|
+
n("div", {
|
|
21
|
+
class: r([s(o)("", "base")]),
|
|
22
|
+
style: i({ "background-color": e.base })
|
|
23
|
+
}, f(e.base.toUpperCase()), 7),
|
|
24
|
+
n("div", {
|
|
25
|
+
class: r([s(o)("", "shades")])
|
|
26
|
+
}, [
|
|
27
|
+
(t(!0), a(m, null, c(e.shades, (l) => (t(), a("div", {
|
|
28
|
+
class: r([s(o)("", "shade")]),
|
|
29
|
+
style: i({ "background-color": l }),
|
|
30
|
+
key: l
|
|
31
|
+
}, null, 6))), 128))
|
|
32
|
+
], 2)
|
|
33
|
+
], 2)), 64));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
5
36
|
export {
|
|
6
|
-
|
|
37
|
+
B as default
|
|
7
38
|
};
|
|
@@ -1,33 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createColors as i } from "../../../utils/util.mjs";
|
|
3
|
-
const p = { class: "shades" }, y = /* @__PURE__ */ m({
|
|
4
|
-
name: "RePrimaryColor",
|
|
5
|
-
__name: "primary-color",
|
|
6
|
-
setup(u) {
|
|
7
|
-
const c = [
|
|
8
|
-
{
|
|
9
|
-
base: "#937bff",
|
|
10
|
-
shades: i("#937bff")
|
|
11
|
-
}
|
|
12
|
-
];
|
|
13
|
-
return (_, f) => (s(), r(a, null, l(c, (e) => o("div", {
|
|
14
|
-
class: "theme-colors",
|
|
15
|
-
key: e.base
|
|
16
|
-
}, [
|
|
17
|
-
o("div", {
|
|
18
|
-
class: "base",
|
|
19
|
-
style: n({ "background-color": e.base })
|
|
20
|
-
}, d(e.base.toUpperCase()), 5),
|
|
21
|
-
o("div", p, [
|
|
22
|
-
(s(!0), r(a, null, l(e.shades, (t) => (s(), r("div", {
|
|
23
|
-
class: "shade",
|
|
24
|
-
style: n({ "background-color": t }),
|
|
25
|
-
key: t
|
|
26
|
-
}, null, 4))), 128))
|
|
27
|
-
])
|
|
28
|
-
])), 64));
|
|
29
|
-
}
|
|
30
|
-
});
|
|
1
|
+
import f from "./primary-color.vue.mjs";
|
|
31
2
|
export {
|
|
32
|
-
|
|
3
|
+
f as default
|
|
33
4
|
};
|
|
@@ -1,7 +1,61 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
/* empty css
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { defineComponent as y, createElementBlock as o, openBlock as n, normalizeClass as s, unref as a, Fragment as d, renderList as i, createElementVNode as r, normalizeStyle as m, toDisplayString as u } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { createColors as l } from "../../../utils/util.mjs";
|
|
5
|
+
import { useNamespace as f } from "../../../composables/use-namespace/index.mjs";
|
|
6
|
+
const E = /* @__PURE__ */ y({
|
|
7
|
+
name: "ReSecondaryColor",
|
|
8
|
+
__name: "secondary-color",
|
|
9
|
+
setup(h) {
|
|
10
|
+
const { nm: p, ns: t } = f("colors"), b = [
|
|
11
|
+
{
|
|
12
|
+
base: "#06b56d",
|
|
13
|
+
text: "Success",
|
|
14
|
+
shades: l("#06b56d")
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
base: "#ee6979",
|
|
18
|
+
text: "Danger/Error ",
|
|
19
|
+
shades: l("#ee6979")
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
base: "#cd9a0a",
|
|
23
|
+
text: "Warning",
|
|
24
|
+
shades: l("#cd9a0a")
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
base: "#8e8e91",
|
|
28
|
+
text: "Info",
|
|
29
|
+
shades: l("#8e8e91")
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
return (_, v) => (n(), o("div", {
|
|
33
|
+
class: s([a(p)("", "secondary")])
|
|
34
|
+
}, [
|
|
35
|
+
(n(), o(d, null, i(b, (e) => r("div", {
|
|
36
|
+
class: s([a(t)("", "panel")]),
|
|
37
|
+
key: e.base
|
|
38
|
+
}, [
|
|
39
|
+
r("div", {
|
|
40
|
+
class: s([a(t)("", "base")]),
|
|
41
|
+
style: m({ "background-color": e.base })
|
|
42
|
+
}, [
|
|
43
|
+
r("div", null, u(e.text), 1),
|
|
44
|
+
r("div", null, u(e.base.toUpperCase()), 1)
|
|
45
|
+
], 6),
|
|
46
|
+
r("div", {
|
|
47
|
+
class: s([a(t)("", "shades")])
|
|
48
|
+
}, [
|
|
49
|
+
(n(!0), o(d, null, i(e.shades, (c) => (n(), o("div", {
|
|
50
|
+
class: s([a(t)("", "shade")]),
|
|
51
|
+
style: m({ "background-color": c }),
|
|
52
|
+
key: c
|
|
53
|
+
}, null, 6))), 128))
|
|
54
|
+
], 2)
|
|
55
|
+
], 2)), 64))
|
|
56
|
+
], 2));
|
|
57
|
+
}
|
|
58
|
+
});
|
|
5
59
|
export {
|
|
6
|
-
|
|
60
|
+
E as default
|
|
7
61
|
};
|
|
@@ -1,54 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createColors as o } from "../../../utils/util.mjs";
|
|
3
|
-
const m = { class: "status-colors" }, p = { class: "shades" }, x = /* @__PURE__ */ u({
|
|
4
|
-
name: "ReSecondaryColor",
|
|
5
|
-
__name: "secondary-color",
|
|
6
|
-
setup(_) {
|
|
7
|
-
const i = [
|
|
8
|
-
{
|
|
9
|
-
base: "#06b56d",
|
|
10
|
-
text: "Success",
|
|
11
|
-
shades: o("#06b56d")
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
base: "#ee6979",
|
|
15
|
-
text: "Danger/Error ",
|
|
16
|
-
shades: o("#ee6979")
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
base: "#cd9a0a",
|
|
20
|
-
text: "Warning",
|
|
21
|
-
shades: o("#cd9a0a")
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
base: "#8e8e91",
|
|
25
|
-
text: "Info",
|
|
26
|
-
shades: o("#8e8e91")
|
|
27
|
-
}
|
|
28
|
-
];
|
|
29
|
-
return (b, h) => (t(), a("div", m, [
|
|
30
|
-
(t(), a(n, null, l(i, (e) => s("div", {
|
|
31
|
-
class: "panel",
|
|
32
|
-
key: e.base
|
|
33
|
-
}, [
|
|
34
|
-
s("div", {
|
|
35
|
-
class: "base",
|
|
36
|
-
style: d({ "background-color": e.base })
|
|
37
|
-
}, [
|
|
38
|
-
s("div", null, c(e.text), 1),
|
|
39
|
-
s("div", null, c(e.base.toUpperCase()), 1)
|
|
40
|
-
], 4),
|
|
41
|
-
s("div", p, [
|
|
42
|
-
(t(!0), a(n, null, l(e.shades, (r) => (t(), a("div", {
|
|
43
|
-
class: "shade",
|
|
44
|
-
style: d({ "background-color": r }),
|
|
45
|
-
key: r
|
|
46
|
-
}, null, 4))), 128))
|
|
47
|
-
])
|
|
48
|
-
])), 64))
|
|
49
|
-
]));
|
|
50
|
-
}
|
|
51
|
-
});
|
|
1
|
+
import f from "./secondary-color.vue.mjs";
|
|
52
2
|
export {
|
|
53
|
-
|
|
3
|
+
f as default
|
|
54
4
|
};
|
|
File without changes
|
|
File without changes
|
package/es/components/index.mjs
CHANGED
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
import "./button/index.mjs";
|
|
2
|
-
import "./input/index.mjs";
|
|
3
|
-
import "./tabs/index.mjs";
|
|
4
|
-
import "./colors/index.mjs";
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as x } from "./tabs/src/tabs.vue.mjs";
|
|
9
|
-
import { default as i } from "./colors/src/primary-color.vue.mjs";
|
|
10
|
-
import { default as n } from "./colors/src/secondary-color.vue.mjs";
|
|
11
|
-
import { default as b } from "./colors/src/neutral-color.vue.mjs";
|
|
1
|
+
import { ReButton as e } from "./button/index.mjs";
|
|
2
|
+
import { ReInput as a } from "./input/index.mjs";
|
|
3
|
+
import { ReTabs as l } from "./tabs/index.mjs";
|
|
4
|
+
import { ReColors as p } from "./colors/index.mjs";
|
|
5
|
+
import { default as R } from "./colors/src/primary-color.vue.mjs";
|
|
6
|
+
import { default as s } from "./colors/src/secondary-color.vue.mjs";
|
|
7
|
+
import { default as C } from "./colors/src/neutral-color.vue.mjs";
|
|
12
8
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
e as ReButton,
|
|
10
|
+
p as ReColors,
|
|
11
|
+
a as ReInput,
|
|
12
|
+
C as ReNeutralColor,
|
|
13
|
+
R as RePrimaryColor,
|
|
14
|
+
s as ReSecondaryColor,
|
|
15
|
+
l as ReTabs
|
|
20
16
|
};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export { Input as ReInput };
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1
|
+
export declare const ReInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
2
|
type: {
|
|
5
3
|
type: StringConstructor;
|
|
6
4
|
default: string;
|
|
@@ -22,4 +20,4 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
20
|
size: string;
|
|
23
21
|
type: string;
|
|
24
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLInputElement>;
|
|
25
|
-
export default
|
|
23
|
+
export default ReInput;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export { tabs as ReTabs };
|
|
3
|
-
declare const _default: {
|
|
1
|
+
export declare const ReTabs: {
|
|
4
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
5
3
|
P: {};
|
|
6
4
|
B: {};
|
|
@@ -17,4 +15,4 @@ declare const _default: {
|
|
|
17
15
|
'prev-button'?(_: {}): any;
|
|
18
16
|
};
|
|
19
17
|
});
|
|
20
|
-
export default
|
|
18
|
+
export default ReTabs;
|
package/es/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "./components/index.mjs";
|
|
2
2
|
import { svgLoadingContent as n } from "./constants/svgLoading.mjs";
|
|
3
|
-
import { vDraggable as
|
|
3
|
+
import { vDraggable as f } from "./directives/vDraggable.mjs";
|
|
4
4
|
import { applyResizable as u, vResizable as d } from "./directives/vResizable.mjs";
|
|
5
5
|
import { vSvgLoading as R } from "./directives/vSvgLoading.mjs";
|
|
6
6
|
import { useDraggable as g } from "./composables/useDraggable.mjs";
|
|
@@ -12,15 +12,14 @@ import { useNamespace as E } from "./composables/use-namespace/index.mjs";
|
|
|
12
12
|
import { createGlobalInstaller as r } from "./utils/vue/index.mjs";
|
|
13
13
|
import { INSTALLED_KEY as h, toLowerCase as w, withInstall as N, withMultiInstall as P } from "./utils/vue/index.mjs";
|
|
14
14
|
import { autoCalcFileSize as z, buildTree as B, createColors as K, createOverload as U, darkenColor as k, deepClone as A, deleteKeys as q, flatArr as G, getEqualOpacityColor as M, hasOwnProperty as W, isPlainObject as Y, joinURLs as _, lineBreakToComma as $, omitEmptyKeys as H, paramsToFormData as J, readTxtByEncodes as Q, readTxtFile as V, setURLSearchParams as X, singleton as Z } from "./utils/util.mjs";
|
|
15
|
-
import { default as oe } from "./components/
|
|
16
|
-
import { default as te } from "./components/
|
|
17
|
-
import { default as le } from "./components/colors/src/
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
15
|
+
import { default as oe } from "./components/colors/src/primary-color.vue.mjs";
|
|
16
|
+
import { default as te } from "./components/colors/src/secondary-color.vue.mjs";
|
|
17
|
+
import { default as le } from "./components/colors/src/neutral-color.vue.mjs";
|
|
18
|
+
import { ReButton as me } from "./components/button/index.mjs";
|
|
19
|
+
import { ReInput as ne } from "./components/input/index.mjs";
|
|
20
|
+
import { ReTabs as fe } from "./components/tabs/index.mjs";
|
|
21
|
+
import { ReColors as ue } from "./components/colors/index.mjs";
|
|
22
22
|
import { RappelUIResolver as ce } from "./rappel-ui/resolver.mjs";
|
|
23
|
-
console.log(e);
|
|
24
23
|
const o = r(Object.values(e)), t = o.install, a = o.version, s = {
|
|
25
24
|
install: t,
|
|
26
25
|
version: a,
|
|
@@ -29,13 +28,13 @@ const o = r(Object.values(e)), t = o.install, a = o.version, s = {
|
|
|
29
28
|
export {
|
|
30
29
|
h as INSTALLED_KEY,
|
|
31
30
|
ce as RappelUIResolver,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
me as ReButton,
|
|
32
|
+
ue as ReColors,
|
|
33
|
+
ne as ReInput,
|
|
34
|
+
le as ReNeutralColor,
|
|
35
|
+
oe as RePrimaryColor,
|
|
36
|
+
te as ReSecondaryColor,
|
|
37
|
+
fe as ReTabs,
|
|
39
38
|
u as applyResizable,
|
|
40
39
|
z as autoCalcFileSize,
|
|
41
40
|
B as buildTree,
|
|
@@ -67,7 +66,7 @@ export {
|
|
|
67
66
|
L as useOnceFn,
|
|
68
67
|
F as useTimeNodes,
|
|
69
68
|
O as useWaterFallLayout,
|
|
70
|
-
|
|
69
|
+
f as vDraggable,
|
|
71
70
|
d as vResizable,
|
|
72
71
|
R as vSvgLoading,
|
|
73
72
|
a as version,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.re-colors--primary{width:60rem;border-radius:4px;overflow:hidden;color:#fff}.re-colors--secondary{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.re-colors--neutral{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.re-colors__panel{border-radius:4px;overflow:hidden;color:#fff}.re-colors__base{color:#fff;height:6rem;box-shadow:10px 10px;padding:1rem}.re-colors__shades{display:flex;align-items:center;flex-wrap:nowrap}.re-colors__shade{flex:1;height:3.2rem;padding:.2rem}.re-colors__collects{border-radius:4px;overflow:hidden;margin-bottom:1rem;height:7rem;padding:1rem}.re-colors__borders{display:flex;justify-content:space-between}.re-colors__border-content{border-radius:50%;margin-left:1rem;background-color:#fff;height:5rem;width:5rem;display:flex;justify-content:center;align-items:center;flex-shrink:0}.re-colors__grids{background-color:#fff;background-image:linear-gradient(45deg,#ededf0 25%,transparent 25%),linear-gradient(-45deg,#ededf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ededf0 75%),linear-gradient(-45deg,transparent 75%,#ededf0 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0px}
|
package/package.json
CHANGED
package/theme-chalk/index.css
CHANGED
|
@@ -557,4 +557,70 @@ body {
|
|
|
557
557
|
}
|
|
558
558
|
.re-button--mini {
|
|
559
559
|
padding: 4px 8px;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.re-colors--primary {
|
|
563
|
+
width: 60rem;
|
|
564
|
+
border-radius: 4px;
|
|
565
|
+
overflow: hidden;
|
|
566
|
+
color: #ffffff;
|
|
567
|
+
}
|
|
568
|
+
.re-colors--secondary {
|
|
569
|
+
display: grid;
|
|
570
|
+
grid-template-columns: repeat(2, 1fr);
|
|
571
|
+
gap: 1rem;
|
|
572
|
+
}
|
|
573
|
+
.re-colors--neutral {
|
|
574
|
+
display: grid;
|
|
575
|
+
grid-template-columns: repeat(4, 1fr);
|
|
576
|
+
gap: 1rem;
|
|
577
|
+
}
|
|
578
|
+
.re-colors__panel {
|
|
579
|
+
border-radius: 4px;
|
|
580
|
+
overflow: hidden;
|
|
581
|
+
color: #ffffff;
|
|
582
|
+
}
|
|
583
|
+
.re-colors__base {
|
|
584
|
+
color: #ffffff;
|
|
585
|
+
height: 6rem;
|
|
586
|
+
box-shadow: 10px 10px;
|
|
587
|
+
padding: 1rem;
|
|
588
|
+
}
|
|
589
|
+
.re-colors__shades {
|
|
590
|
+
display: flex;
|
|
591
|
+
align-items: center;
|
|
592
|
+
flex-wrap: nowrap;
|
|
593
|
+
}
|
|
594
|
+
.re-colors__shade {
|
|
595
|
+
flex: 1;
|
|
596
|
+
height: 3.2rem;
|
|
597
|
+
padding: 0.2rem;
|
|
598
|
+
}
|
|
599
|
+
.re-colors__collects {
|
|
600
|
+
border-radius: 4px;
|
|
601
|
+
overflow: hidden;
|
|
602
|
+
margin-bottom: 1rem;
|
|
603
|
+
height: 7rem;
|
|
604
|
+
padding: 1rem;
|
|
605
|
+
}
|
|
606
|
+
.re-colors__borders {
|
|
607
|
+
display: flex;
|
|
608
|
+
justify-content: space-between;
|
|
609
|
+
}
|
|
610
|
+
.re-colors__border-content {
|
|
611
|
+
border-radius: 50%;
|
|
612
|
+
margin-left: 1rem;
|
|
613
|
+
background-color: #fff;
|
|
614
|
+
height: 5rem;
|
|
615
|
+
width: 5rem;
|
|
616
|
+
display: flex;
|
|
617
|
+
justify-content: center;
|
|
618
|
+
align-items: center;
|
|
619
|
+
flex-shrink: 0;
|
|
620
|
+
}
|
|
621
|
+
.re-colors__grids {
|
|
622
|
+
background-color: #ffffff; /* 轻灰色背景 */
|
|
623
|
+
background-image: linear-gradient(45deg, #ededf0 25%, transparent 25%), linear-gradient(-45deg, #ededf0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ededf0 75%), linear-gradient(-45deg, transparent 75%, #ededf0 75%);
|
|
624
|
+
background-size: 22px 22px;
|
|
625
|
+
background-position: 0 0, 0 11px, 11px -11px, -11px 0px;
|
|
560
626
|
}
|