mediacube-ui-v2 0.0.289 → 0.0.291
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/dist/components/elements/McButton/McButton.vue2.js +25 -26
- package/dist/components/patterns/McChat/McChatForm/McChatForm.vue2.js +32 -31
- package/dist/composables/useTheme.js +11 -40
- package/dist/composables/useTheme2.js +10 -36
- package/dist/index.js +19 -27
- package/dist/types/composables/useTheme.d.ts +138 -6
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as V, defineAsyncComponent as F, inject as M, computed as
|
|
1
|
+
import { defineComponent as V, defineAsyncComponent as F, inject as M, computed as a, ref as h, onMounted as I, withDirectives as N, openBlock as s, createBlock as O, resolveDynamicComponent as P, mergeProps as D, withCtx as W, createElementBlock as c, renderSlot as p, createCommentVNode as u, createVNode as H, unref as k, getCurrentInstance as K } from "vue";
|
|
2
2
|
import { FontWeights as R } from "../../../types/styles/FontWeights.js";
|
|
3
3
|
import { useTooltip as j } from "../../../composables/useTooltip2.js";
|
|
4
4
|
import { TooltipPositions as E, TooltipSizes as q } from "../../../enums/Tooltip2.js";
|
|
@@ -218,14 +218,14 @@ const J = {
|
|
|
218
218
|
},
|
|
219
219
|
emits: ["blur", "click"],
|
|
220
220
|
setup(d, { emit: B }) {
|
|
221
|
-
const _ = F(() => import("../McSvgIcon/McSvgIcon.vue.js")), f = M("dsOptions", {}), C = j(), w =
|
|
221
|
+
const _ = F(() => import("../McSvgIcon/McSvgIcon.vue.js")), f = M("dsOptions", {}), C = j(), w = a(() => {
|
|
222
222
|
let e = {};
|
|
223
223
|
return t.tooltip && (e = {
|
|
224
224
|
content: t.tooltip,
|
|
225
225
|
size: q.M,
|
|
226
226
|
placement: t.tooltipPlacement || E.Top
|
|
227
227
|
}), e;
|
|
228
|
-
}), t = d,
|
|
228
|
+
}), t = d, l = G("button"), x = h(null), m = h(!1), b = B, S = a(() => ({
|
|
229
229
|
[`mc-button--variation-${t.variation}`]: !!t.variation,
|
|
230
230
|
[`mc-button--size-${t.size}`]: !!t.size,
|
|
231
231
|
[`mc-button--text-align-${t.textAlign}`]: !!t.textAlign,
|
|
@@ -243,10 +243,10 @@ const J = {
|
|
|
243
243
|
"mc-button--bg-flat": t.bgFlat,
|
|
244
244
|
[`mc-button--type-${i.value.type}`]: !!i.value.type,
|
|
245
245
|
"mc-button--inactive": t.inactive
|
|
246
|
-
})), y =
|
|
247
|
-
const e = y.value, o = e.split("-"),
|
|
248
|
-
let v = e.replace(`-${
|
|
249
|
-
switch (
|
|
246
|
+
})), y = a(() => t.variation || l.component.variation), i = a(() => {
|
|
247
|
+
const e = y.value, o = e.split("-"), r = o[o.length - 1];
|
|
248
|
+
let v = e.replace(`-${r}`, "");
|
|
249
|
+
switch (r) {
|
|
250
250
|
case n.Link:
|
|
251
251
|
case n.Flat:
|
|
252
252
|
case n.Outline:
|
|
@@ -259,10 +259,10 @@ const J = {
|
|
|
259
259
|
}
|
|
260
260
|
return {
|
|
261
261
|
color: v,
|
|
262
|
-
type:
|
|
262
|
+
type: r
|
|
263
263
|
};
|
|
264
|
-
}), T =
|
|
265
|
-
let e, o,
|
|
264
|
+
}), T = a(() => {
|
|
265
|
+
let e, o, r = t.activeTextColor || l.component.activeTextColor;
|
|
266
266
|
switch (i.value.type) {
|
|
267
267
|
case n.Link:
|
|
268
268
|
case n.Flat:
|
|
@@ -285,26 +285,25 @@ const J = {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
return {
|
|
288
|
-
"--mc-button-secondary-color": t.secondaryColor &&
|
|
289
|
-
"--mc-button-background-color": y.value &&
|
|
290
|
-
"--mc-button-active-text-color":
|
|
288
|
+
"--mc-button-secondary-color": t.secondaryColor && l.colors[t.secondaryColor],
|
|
289
|
+
"--mc-button-background-color": y.value && l.colors[i.value.color],
|
|
290
|
+
"--mc-button-active-text-color": r && l.colors[r],
|
|
291
291
|
"--mc-button-font-weight": t.weight && R[t.weight],
|
|
292
292
|
"--mc-button-hover-brightness": e,
|
|
293
|
-
"--mc-button-text-color": o &&
|
|
293
|
+
"--mc-button-text-color": o && l.colors[o]
|
|
294
294
|
};
|
|
295
|
-
}), $ =
|
|
295
|
+
}), $ = a(() => {
|
|
296
296
|
const e = "a";
|
|
297
297
|
return t.to || t.href ? e : t.defaultTag;
|
|
298
|
-
}), g =
|
|
298
|
+
}), g = a(() => i.value.type === n.Link), L = a(() => {
|
|
299
299
|
let e = {
|
|
300
|
-
|
|
301
|
-
href: t.href,
|
|
300
|
+
href: t.href || t.to,
|
|
302
301
|
disabled: !1,
|
|
303
|
-
rel: "",
|
|
302
|
+
rel: "noopener noreferrer",
|
|
304
303
|
type: t.type,
|
|
305
304
|
tabindex: t.tabindex
|
|
306
305
|
};
|
|
307
|
-
return
|
|
306
|
+
return (t.disabled || t.loading) && (e.disabled = !0), g.value && (e.rel = "noreferrer"), e;
|
|
308
307
|
}), z = (e) => {
|
|
309
308
|
b("blur", e);
|
|
310
309
|
}, A = (e) => {
|
|
@@ -316,7 +315,7 @@ const J = {
|
|
|
316
315
|
return I(() => {
|
|
317
316
|
const o = K()?.vnode;
|
|
318
317
|
m.value = !!o?.props?.onClick;
|
|
319
|
-
}), (e, o) => N((
|
|
318
|
+
}), (e, o) => N((s(), O(P($.value), D({ ref: x.value }, { ...L.value }, {
|
|
320
319
|
class: ["mc-button", S.value],
|
|
321
320
|
exact: d.exact,
|
|
322
321
|
style: T.value,
|
|
@@ -324,23 +323,23 @@ const J = {
|
|
|
324
323
|
onClick: A
|
|
325
324
|
}), {
|
|
326
325
|
default: W(() => [
|
|
327
|
-
e.$slots["icon-prepend"] ? (
|
|
326
|
+
e.$slots["icon-prepend"] ? (s(), c("span", J, [
|
|
328
327
|
p(e.$slots, "icon-prepend")
|
|
329
328
|
])) : u("", !0),
|
|
330
|
-
d.loading ? (
|
|
329
|
+
d.loading ? (s(), c("span", Q, [
|
|
331
330
|
H(k(_), {
|
|
332
331
|
class: "mc-button__loader-icon",
|
|
333
332
|
type: "div",
|
|
334
333
|
name: "loader"
|
|
335
334
|
})
|
|
336
335
|
])) : u("", !0),
|
|
337
|
-
e.$slots.default ? (
|
|
336
|
+
e.$slots.default ? (s(), c("span", U, [
|
|
338
337
|
p(e.$slots, "default")
|
|
339
338
|
])) : u("", !0),
|
|
340
|
-
e.$slots["icon-append"] ? (
|
|
339
|
+
e.$slots["icon-append"] ? (s(), c("span", X, [
|
|
341
340
|
p(e.$slots, "icon-append")
|
|
342
341
|
])) : u("", !0),
|
|
343
|
-
g.value ? u("", !0) : (
|
|
342
|
+
g.value ? u("", !0) : (s(), c("div", Y))
|
|
344
343
|
]),
|
|
345
344
|
_: 3
|
|
346
345
|
}, 16, ["class", "exact", "style"])), [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as g, defineAsyncComponent as o, ref as w, openBlock as M, createElementBlock as S, createElementVNode as V,
|
|
1
|
+
import { defineComponent as g, defineAsyncComponent as o, ref as w, openBlock as M, createElementBlock as S, createElementVNode as V, withKeys as m, withModifiers as n, createVNode as a, unref as e, withCtx as i } from "vue";
|
|
2
2
|
import { ButtonType as x, ButtonSize as b } from "../../../../enums/ui/Button2.js";
|
|
3
3
|
import { InputTypes as B } from "../../../../enums/Input2.js";
|
|
4
|
-
const C = { class: "mc-chat-form" },
|
|
4
|
+
const C = { class: "mc-chat-form" }, z = ["onKeydown"], N = /* @__PURE__ */ g({
|
|
5
5
|
__name: "McChatForm",
|
|
6
6
|
props: {
|
|
7
7
|
/**
|
|
@@ -35,68 +35,69 @@ const C = { class: "mc-chat-form" }, K = /* @__PURE__ */ g({
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
emits: ["update:modelValue", "submit"],
|
|
38
|
-
setup(
|
|
39
|
-
const
|
|
40
|
-
t.value = c,
|
|
41
|
-
},
|
|
42
|
-
t.value?.trim() !== "" && (t.value = "",
|
|
43
|
-
},
|
|
38
|
+
setup(r, { emit: p }) {
|
|
39
|
+
const u = o(() => import("../../../elements/McAvatar/McAvatar.vue.js")), f = o(() => import("../../McPreview/McPreview.vue.js")), h = o(() => import("../../../elements/McSvgIcon/McSvgIcon.vue.js")), v = o(() => import("../../../elements/McButton/McButton.vue.js")), _ = o(() => import("../../../elements/McFieldText/McFieldText.vue.js")), s = p, t = w(r.modelValue), y = (c) => {
|
|
40
|
+
t.value = c, s("update:modelValue", c);
|
|
41
|
+
}, l = () => {
|
|
42
|
+
t.value?.trim() !== "" && (t.value = "", s("submit"));
|
|
43
|
+
}, d = () => {
|
|
44
44
|
t.value += `
|
|
45
45
|
`;
|
|
46
46
|
};
|
|
47
|
-
return (c,
|
|
47
|
+
return (c, T) => (M(), S("div", C, [
|
|
48
48
|
V("form", {
|
|
49
|
-
onSubmit: l
|
|
49
|
+
onSubmit: n(l, ["prevent"]),
|
|
50
|
+
onKeydown: [
|
|
51
|
+
m(n(l, ["prevent", "exact"]), ["enter", "native"]),
|
|
52
|
+
m(n(d, ["ctrl"]), ["enter", "native"]),
|
|
53
|
+
m(n(d, ["shift"]), ["enter", "native"])
|
|
54
|
+
]
|
|
50
55
|
}, [
|
|
51
|
-
|
|
52
|
-
left:
|
|
53
|
-
|
|
56
|
+
a(e(f), { class: "mc-chat-form__inner" }, {
|
|
57
|
+
left: i(() => [
|
|
58
|
+
a(e(u), {
|
|
54
59
|
class: "mc-chat-form__avatar",
|
|
55
60
|
size: "400",
|
|
56
61
|
rounded: "",
|
|
57
|
-
src:
|
|
62
|
+
src: r.avatar
|
|
58
63
|
}, null, 8, ["src"])
|
|
59
64
|
]),
|
|
60
|
-
top:
|
|
61
|
-
|
|
65
|
+
top: i(() => [
|
|
66
|
+
a(e(_), {
|
|
62
67
|
name: "chat-field",
|
|
63
68
|
class: "mc-chat-form__input",
|
|
64
69
|
type: e(B).TextareaAutosize,
|
|
65
70
|
"min-height": 40,
|
|
66
71
|
"max-height": 250,
|
|
67
72
|
"model-value": t.value,
|
|
68
|
-
placeholder:
|
|
69
|
-
"onUpdate:modelValue": y
|
|
70
|
-
onKeydown: [
|
|
71
|
-
d(l(i, ["prevent", "exact"]), ["enter", "native"]),
|
|
72
|
-
d(l(_, ["ctrl"]), ["enter", "native"])
|
|
73
|
-
]
|
|
73
|
+
placeholder: r.placeholder,
|
|
74
|
+
"onUpdate:modelValue": y
|
|
74
75
|
}, {
|
|
75
|
-
append:
|
|
76
|
-
|
|
76
|
+
append: i(() => [
|
|
77
|
+
a(e(v), {
|
|
77
78
|
class: "mc-chat-form__btn",
|
|
78
79
|
variation: "main-link",
|
|
79
80
|
size: e(b).MCompact,
|
|
80
81
|
type: e(x).Submit,
|
|
81
82
|
rounded: "",
|
|
82
|
-
loading:
|
|
83
|
-
onClick: l
|
|
83
|
+
loading: r.loading,
|
|
84
|
+
onClick: n(l, ["prevent"])
|
|
84
85
|
}, {
|
|
85
|
-
"icon-append":
|
|
86
|
-
|
|
86
|
+
"icon-append": i(() => [
|
|
87
|
+
a(e(h), { name: "send_solid" })
|
|
87
88
|
]),
|
|
88
89
|
_: 1
|
|
89
90
|
}, 8, ["size", "type", "loading"])
|
|
90
91
|
]),
|
|
91
92
|
_: 1
|
|
92
|
-
}, 8, ["type", "model-value", "placeholder"
|
|
93
|
+
}, 8, ["type", "model-value", "placeholder"])
|
|
93
94
|
]),
|
|
94
95
|
_: 1
|
|
95
96
|
})
|
|
96
|
-
],
|
|
97
|
+
], 40, z)
|
|
97
98
|
]));
|
|
98
99
|
}
|
|
99
100
|
});
|
|
100
101
|
export {
|
|
101
|
-
|
|
102
|
+
N as default
|
|
102
103
|
};
|
|
@@ -1,43 +1,14 @@
|
|
|
1
|
-
import { inject as m } from "vue";
|
|
2
|
-
import { Colors as
|
|
3
|
-
import { UiThemes as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
get() {
|
|
12
|
-
return e?.colors?.value || c;
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
components: {
|
|
16
|
-
enumerable: !0,
|
|
17
|
-
get() {
|
|
18
|
-
return e.theme ? (
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
e?.themes?.value?.[e.theme]?.components ?? n.light.components
|
|
21
|
-
) : n.light.components;
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
component: {
|
|
25
|
-
enumerable: !0,
|
|
26
|
-
get() {
|
|
27
|
-
const t = e.theme ? (
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
e?.themes?.value?.[e.theme]?.components ?? n.light.components
|
|
30
|
-
) : n.light.components;
|
|
31
|
-
return o && t?.[o] ? t[o] : {};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
);
|
|
36
|
-
}
|
|
37
|
-
function i(o) {
|
|
38
|
-
const e = m("dsOptions", {}), t = o ?? "";
|
|
39
|
-
return r.has(t) || r.set(t, h(t, e)), r.get(t);
|
|
1
|
+
import { inject as s, reactive as m } from "vue";
|
|
2
|
+
import { Colors as r } from "../types/styles/Colors.js";
|
|
3
|
+
import { UiThemes as c } from "../types/styles/ColorTheme.js";
|
|
4
|
+
function f(t) {
|
|
5
|
+
const o = s("dsOptions", {}), e = o.theme ? o.themes?.[o.theme]?.components : c.light.components, n = t ? e[t] : {};
|
|
6
|
+
return m({
|
|
7
|
+
colors: o.colors || r,
|
|
8
|
+
components: e,
|
|
9
|
+
component: n
|
|
10
|
+
});
|
|
40
11
|
}
|
|
41
12
|
export {
|
|
42
|
-
|
|
13
|
+
f as useTheme
|
|
43
14
|
};
|
|
@@ -1,40 +1,14 @@
|
|
|
1
|
-
import { inject as m } from "vue";
|
|
2
|
-
import { Colors as
|
|
3
|
-
import { UiThemes as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return
|
|
7
|
-
colors:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return e?.colors?.value || c;
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
components: {
|
|
14
|
-
enumerable: !0,
|
|
15
|
-
get() {
|
|
16
|
-
return e.theme ? (
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
e?.themes?.value?.[e.theme]?.components ?? n.light.components
|
|
19
|
-
) : n.light.components;
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
component: {
|
|
23
|
-
enumerable: !0,
|
|
24
|
-
get() {
|
|
25
|
-
const t = e.theme ? (
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
e?.themes?.value?.[e.theme]?.components ?? n.light.components
|
|
28
|
-
) : n.light.components;
|
|
29
|
-
return o && t?.[o] ? t[o] : {};
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
import { inject as s, reactive as m } from "vue";
|
|
2
|
+
import { Colors as r } from "../types/styles/Colors.js";
|
|
3
|
+
import { UiThemes as c } from "../types/styles/ColorTheme.js";
|
|
4
|
+
function f(t) {
|
|
5
|
+
const o = s("dsOptions", {}), e = o.theme ? o.themes?.[o.theme]?.components : c.light.components, n = t ? e[t] : {};
|
|
6
|
+
return m({
|
|
7
|
+
colors: o.colors || r,
|
|
8
|
+
components: e,
|
|
9
|
+
component: n
|
|
32
10
|
});
|
|
33
11
|
}
|
|
34
|
-
function i(o) {
|
|
35
|
-
const e = m("dsOptions", {}), t = o ?? "";
|
|
36
|
-
return r.has(t) || r.set(t, h(t, e)), r.get(t);
|
|
37
|
-
}
|
|
38
12
|
export {
|
|
39
|
-
|
|
13
|
+
f as useTheme
|
|
40
14
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,42 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import d from "./
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const p = f();
|
|
9
|
-
function h(o, e) {
|
|
10
|
-
if (!e) return o;
|
|
11
|
-
const t = Object.entries(e).filter(([, r]) => r !== void 0);
|
|
12
|
-
return {
|
|
13
|
-
...o,
|
|
14
|
-
...Object.fromEntries(t)
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
const j = {
|
|
1
|
+
import { setStoredAppContext as s } from "./storedAppContext.js";
|
|
2
|
+
import { Themes as l } from "./enums/Themes2.js";
|
|
3
|
+
import { UiThemes as a, ThemesColors as h } from "./types/styles/ColorTheme.js";
|
|
4
|
+
import c from "./assets/img/no_user.png.js";
|
|
5
|
+
import { useHelper as d } from "./composables/useHelper2.js";
|
|
6
|
+
import { createProxy as r } from "./utils/proxy2.js";
|
|
7
|
+
const n = d(), C = {
|
|
18
8
|
install(o, e = {}) {
|
|
19
9
|
const t = {
|
|
20
10
|
drawerComponents: {},
|
|
21
11
|
modalComponents: {},
|
|
22
12
|
toasts: {},
|
|
23
|
-
defaultAvatar:
|
|
24
|
-
colors:
|
|
25
|
-
themes:
|
|
26
|
-
theme:
|
|
13
|
+
defaultAvatar: c,
|
|
14
|
+
colors: h,
|
|
15
|
+
themes: a,
|
|
16
|
+
theme: l.Light,
|
|
27
17
|
meta: {
|
|
28
18
|
router_push: null
|
|
29
19
|
}
|
|
30
|
-
}
|
|
20
|
+
};
|
|
21
|
+
n.deepMerge(t.themes, e.themes);
|
|
22
|
+
const m = {
|
|
31
23
|
...t,
|
|
32
24
|
...e,
|
|
33
|
-
colors:
|
|
34
|
-
themes:
|
|
35
|
-
meta: e.meta ?
|
|
25
|
+
colors: e.colors ? r(t.colors, e.colors) : t.colors,
|
|
26
|
+
themes: e.themes ? r(t.themes, e.themes) : t.themes,
|
|
27
|
+
meta: e.meta ? r(t.meta, e.meta) : t.meta
|
|
36
28
|
};
|
|
37
|
-
o.config.globalProperties.$dsOptions = m, o.provide("dsOptions", m),
|
|
29
|
+
o.config.globalProperties.$dsOptions = m, o.provide("dsOptions", m), s(o._context ?? null);
|
|
38
30
|
}
|
|
39
31
|
};
|
|
40
32
|
export {
|
|
41
|
-
|
|
33
|
+
C as default
|
|
42
34
|
};
|
|
@@ -1,7 +1,139 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare function useTheme(component?: string): {
|
|
2
|
+
colors: Record<string, string> | {
|
|
3
|
+
main: string;
|
|
4
|
+
purple: string;
|
|
5
|
+
"hover-purple": string;
|
|
6
|
+
"light-purple": string;
|
|
7
|
+
"bg-purple": string;
|
|
8
|
+
"lighter-purple": string;
|
|
9
|
+
black: string;
|
|
10
|
+
"outline-light": string;
|
|
11
|
+
"dark-gray": string;
|
|
12
|
+
gray: string;
|
|
13
|
+
"outline-gray": string;
|
|
14
|
+
"hover-gray": string;
|
|
15
|
+
"light-gray": string;
|
|
16
|
+
"bg-gray": string;
|
|
17
|
+
white: string;
|
|
18
|
+
"hover-blue": string;
|
|
19
|
+
blue: string;
|
|
20
|
+
"light-blue": string;
|
|
21
|
+
"lighter-blue": string;
|
|
22
|
+
"dark-orange": string;
|
|
23
|
+
orange: string;
|
|
24
|
+
yellow: string;
|
|
25
|
+
"dark-red": string;
|
|
26
|
+
red: string;
|
|
27
|
+
"bright-pink": string;
|
|
28
|
+
"pale-pink": string;
|
|
29
|
+
"dark-green": string;
|
|
30
|
+
green: string;
|
|
31
|
+
toxic: string;
|
|
32
|
+
ultraviolet: string;
|
|
33
|
+
pinkish: string;
|
|
34
|
+
azure: string;
|
|
35
|
+
turquoise: string;
|
|
36
|
+
"darken-turquoise": string;
|
|
37
|
+
transparent: string;
|
|
38
|
+
};
|
|
39
|
+
components: {
|
|
40
|
+
badge: {
|
|
41
|
+
variation: string;
|
|
42
|
+
};
|
|
43
|
+
button: {
|
|
44
|
+
variation: string;
|
|
45
|
+
};
|
|
46
|
+
chip: {
|
|
47
|
+
variation: string;
|
|
48
|
+
textColor: string;
|
|
49
|
+
};
|
|
50
|
+
cropper: {
|
|
51
|
+
color: string;
|
|
52
|
+
};
|
|
53
|
+
datepicker: {
|
|
54
|
+
color: string;
|
|
55
|
+
};
|
|
56
|
+
draggable: {
|
|
57
|
+
variation: string;
|
|
58
|
+
};
|
|
59
|
+
checkbox: {
|
|
60
|
+
color: string;
|
|
61
|
+
};
|
|
62
|
+
radio: {
|
|
63
|
+
color: string;
|
|
64
|
+
};
|
|
65
|
+
range: {
|
|
66
|
+
color: string;
|
|
67
|
+
};
|
|
68
|
+
select: {
|
|
69
|
+
color: string;
|
|
70
|
+
selected: string;
|
|
71
|
+
};
|
|
72
|
+
fieldText: {
|
|
73
|
+
color: string;
|
|
74
|
+
};
|
|
75
|
+
fieldToggle: {
|
|
76
|
+
color: string;
|
|
77
|
+
bg: string;
|
|
78
|
+
};
|
|
79
|
+
bottomLoader: {
|
|
80
|
+
border: string;
|
|
81
|
+
};
|
|
82
|
+
noData: {
|
|
83
|
+
link: string;
|
|
84
|
+
};
|
|
85
|
+
notification: {
|
|
86
|
+
variation: string;
|
|
87
|
+
};
|
|
88
|
+
progress: {
|
|
89
|
+
color: string;
|
|
90
|
+
helpText: string;
|
|
91
|
+
};
|
|
92
|
+
separator: {
|
|
93
|
+
color: string;
|
|
94
|
+
};
|
|
95
|
+
spinDigit: {
|
|
96
|
+
color: string;
|
|
97
|
+
};
|
|
98
|
+
spinNumber: {
|
|
99
|
+
color: string;
|
|
100
|
+
};
|
|
101
|
+
title: {
|
|
102
|
+
color: string;
|
|
103
|
+
};
|
|
104
|
+
tooltip: {
|
|
105
|
+
color: string;
|
|
106
|
+
textColor: string;
|
|
107
|
+
};
|
|
108
|
+
dropdown: {
|
|
109
|
+
itemColor: string;
|
|
110
|
+
};
|
|
111
|
+
filter: {
|
|
112
|
+
color: string;
|
|
113
|
+
chipColor: string;
|
|
114
|
+
button: string;
|
|
115
|
+
};
|
|
116
|
+
overlay: {
|
|
117
|
+
bg: string;
|
|
118
|
+
border: string;
|
|
119
|
+
};
|
|
120
|
+
sidebar: {
|
|
121
|
+
chip: string;
|
|
122
|
+
activeLink: string;
|
|
123
|
+
};
|
|
124
|
+
tab: {
|
|
125
|
+
count: string;
|
|
126
|
+
};
|
|
127
|
+
tabs: {
|
|
128
|
+
color: string;
|
|
129
|
+
accentColor: string;
|
|
130
|
+
};
|
|
131
|
+
tableCard: {
|
|
132
|
+
backLink: string;
|
|
133
|
+
};
|
|
134
|
+
toast: {
|
|
135
|
+
variation: string;
|
|
136
|
+
};
|
|
137
|
+
} | undefined;
|
|
138
|
+
component: any;
|
|
5
139
|
};
|
|
6
|
-
export declare function useTheme(component?: string): ThemeReactive;
|
|
7
|
-
export {};
|