@situaction/traq-ui-ste 1.1.3 → 1.1.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/dist/components/button/Button.js +34 -34
- package/dist/components/calendar/Calendar.d.ts +17 -0
- package/dist/components/calendar/Calendar.js +1403 -0
- package/dist/components/icon-button/IconButton.js +31 -31
- package/dist/components/input/Input.js +35 -35
- package/dist/components/tag/Tag.js +33 -33
- package/dist/components/theme/ThemeContext.d.ts +1 -0
- package/dist/components/theme/ThemeContext.js +39 -35
- package/dist/components/theme/variables_dark.d.ts +2 -2
- package/dist/components/theme/variables_dark.js +29 -29
- package/dist/components/theme/variables_light.d.ts +2 -2
- package/dist/components/theme/variables_light.js +31 -31
- package/dist/main.d.ts +1 -0
- package/dist/main.js +17 -15
- package/dist/styles/Button.css +1 -1
- package/dist/styles/Calendar.css +1 -0
- package/dist/styles/IconButton.css +1 -1
- package/dist/styles/Input.css +1 -1
- package/dist/styles/Tag.css +1 -1
- package/package.json +4 -2
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import '../../styles/IconButton.css';const c = "
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import '../../styles/IconButton.css';const c = "_button_guiy8_23", g = "_flexHorizontalCenter_guiy8_177", t = {
|
|
3
3
|
button: c,
|
|
4
|
-
"button-round": "_button-
|
|
5
|
-
"button-primary": "_button-
|
|
6
|
-
"button-secondary": "_button-
|
|
7
|
-
"button-tertiary": "_button-
|
|
8
|
-
"button-ghost": "_button-
|
|
9
|
-
"button-icon": "_button-
|
|
10
|
-
"button-icon-selected": "_button-icon-
|
|
11
|
-
"button-error": "_button-
|
|
12
|
-
"button-size-xl": "_button-size-
|
|
13
|
-
"button-size-l": "_button-size-
|
|
14
|
-
"button-size-m": "_button-size-
|
|
15
|
-
"button-size-s": "_button-size-
|
|
16
|
-
"button-size-menu": "_button-size-
|
|
17
|
-
flexHorizontalCenter:
|
|
4
|
+
"button-round": "_button-round_guiy8_51",
|
|
5
|
+
"button-primary": "_button-primary_guiy8_54",
|
|
6
|
+
"button-secondary": "_button-secondary_guiy8_68",
|
|
7
|
+
"button-tertiary": "_button-tertiary_guiy8_84",
|
|
8
|
+
"button-ghost": "_button-ghost_guiy8_100",
|
|
9
|
+
"button-icon": "_button-icon_guiy8_116",
|
|
10
|
+
"button-icon-selected": "_button-icon-selected_guiy8_128",
|
|
11
|
+
"button-error": "_button-error_guiy8_137",
|
|
12
|
+
"button-size-xl": "_button-size-xl_guiy8_150",
|
|
13
|
+
"button-size-l": "_button-size-l_guiy8_155",
|
|
14
|
+
"button-size-m": "_button-size-m_guiy8_160",
|
|
15
|
+
"button-size-s": "_button-size-s_guiy8_165",
|
|
16
|
+
"button-size-menu": "_button-size-menu_guiy8_170",
|
|
17
|
+
flexHorizontalCenter: g
|
|
18
18
|
}, z = ({
|
|
19
19
|
mode: o = "primary",
|
|
20
20
|
size: n = "m",
|
|
21
|
-
error:
|
|
22
|
-
selected:
|
|
23
|
-
round:
|
|
24
|
-
disabled:
|
|
25
|
-
children:
|
|
26
|
-
onClick:
|
|
21
|
+
error: u,
|
|
22
|
+
selected: e,
|
|
23
|
+
round: _,
|
|
24
|
+
disabled: i,
|
|
25
|
+
children: r,
|
|
26
|
+
onClick: b
|
|
27
27
|
}) => {
|
|
28
|
-
const
|
|
28
|
+
const s = () => u ? "error" : o, y = [
|
|
29
29
|
t.button,
|
|
30
|
-
t[`button-${
|
|
31
|
-
|
|
30
|
+
t[`button-${s()}`],
|
|
31
|
+
_ && t["button-round"],
|
|
32
32
|
t[`button-size-${n}`],
|
|
33
|
-
|
|
33
|
+
e && o === "icon" && t["button-icon-selected"],
|
|
34
34
|
t.flexHorizontalCenter
|
|
35
35
|
].filter(Boolean).join(" ");
|
|
36
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ l(
|
|
37
37
|
"button",
|
|
38
38
|
{
|
|
39
|
-
className:
|
|
40
|
-
onClick:
|
|
41
|
-
disabled:
|
|
42
|
-
children:
|
|
39
|
+
className: y,
|
|
40
|
+
onClick: b,
|
|
41
|
+
disabled: i,
|
|
42
|
+
children: r
|
|
43
43
|
}
|
|
44
44
|
);
|
|
45
45
|
};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t, Fragment as c } from "react/jsx-runtime";
|
|
2
2
|
import { useState as p, useRef as _ } from "react";
|
|
3
|
-
import '../../styles/Input.css';const
|
|
4
|
-
"input-style": "_input-
|
|
5
|
-
"input-style-disabled": "_input-style-
|
|
6
|
-
"input-style-focused": "_input-style-
|
|
7
|
-
"input-style-secondary": "_input-style-
|
|
8
|
-
"input-style-ghost": "_input-style-
|
|
9
|
-
"input-style-error": "_input-style-
|
|
10
|
-
"input-container": "_input-
|
|
11
|
-
"input-style-size-xl": "_input-style-size-
|
|
12
|
-
"input-style-size-l": "_input-style-size-
|
|
13
|
-
"input-style-size-m": "_input-style-size-
|
|
14
|
-
"input-style-size-s": "_input-style-size-
|
|
15
|
-
"input-style-radius": "_input-style-
|
|
16
|
-
flexHorizontalBetween:
|
|
3
|
+
import '../../styles/Input.css';const F = "_flexHorizontalBetween_ez84j_145", N = "_flexHorizontal_ez84j_145", e = {
|
|
4
|
+
"input-style": "_input-style_ez84j_40",
|
|
5
|
+
"input-style-disabled": "_input-style-disabled_ez84j_52",
|
|
6
|
+
"input-style-focused": "_input-style-focused_ez84j_63",
|
|
7
|
+
"input-style-secondary": "_input-style-secondary_ez84j_70",
|
|
8
|
+
"input-style-ghost": "_input-style-ghost_ez84j_84",
|
|
9
|
+
"input-style-error": "_input-style-error_ez84j_87",
|
|
10
|
+
"input-container": "_input-container_ez84j_97",
|
|
11
|
+
"input-style-size-xl": "_input-style-size-xl_ez84j_101",
|
|
12
|
+
"input-style-size-l": "_input-style-size-l_ez84j_111",
|
|
13
|
+
"input-style-size-m": "_input-style-size-m_ez84j_121",
|
|
14
|
+
"input-style-size-s": "_input-style-size-s_ez84j_131",
|
|
15
|
+
"input-style-radius": "_input-style-radius_ez84j_141",
|
|
16
|
+
flexHorizontalBetween: F,
|
|
17
17
|
flexHorizontal: N
|
|
18
18
|
}, R = ({
|
|
19
19
|
sizeStyle: y = "m",
|
|
20
20
|
labelUnit: l,
|
|
21
21
|
status: n = "default",
|
|
22
|
-
childrenLeft:
|
|
23
|
-
childrenRight:
|
|
24
|
-
round:
|
|
22
|
+
childrenLeft: i,
|
|
23
|
+
childrenRight: o,
|
|
24
|
+
round: z,
|
|
25
25
|
disabled: u,
|
|
26
|
-
defaultValue:
|
|
27
|
-
...
|
|
26
|
+
defaultValue: d,
|
|
27
|
+
...f
|
|
28
28
|
}) => {
|
|
29
|
-
const [
|
|
30
|
-
x(
|
|
31
|
-
},
|
|
29
|
+
const [j, r] = p(!1), [h, x] = p(d || ""), m = _(null), s = _(null), g = () => r(!0), B = () => r(!1), C = (w) => {
|
|
30
|
+
x(w.target.value);
|
|
31
|
+
}, H = () => {
|
|
32
32
|
s.current && s.current.focus();
|
|
33
|
-
},
|
|
33
|
+
}, S = [
|
|
34
34
|
e["input-style"],
|
|
35
35
|
e[`input-style-size-${y}`],
|
|
36
|
-
|
|
36
|
+
z && e["input-style-radius"],
|
|
37
37
|
e.flexHorizontalBetween
|
|
38
|
-
].filter(Boolean).join(" "),
|
|
39
|
-
|
|
38
|
+
].filter(Boolean).join(" "), v = [
|
|
39
|
+
j && e["input-style-focused"],
|
|
40
40
|
u && e["input-style-disabled"],
|
|
41
41
|
n === "secondary" && e["input-style-secondary"],
|
|
42
42
|
n === "ghost" && e["input-style-ghost"]
|
|
@@ -45,33 +45,33 @@ import '../../styles/Input.css';const j = "_flexHorizontalBetween_1og0n_145", N
|
|
|
45
45
|
"div",
|
|
46
46
|
{
|
|
47
47
|
ref: m,
|
|
48
|
-
className: `input-style ${
|
|
48
|
+
className: `input-style ${S} ${(() => {
|
|
49
49
|
switch (n) {
|
|
50
50
|
case "error":
|
|
51
51
|
return e["input-style-error"];
|
|
52
52
|
default:
|
|
53
|
-
return
|
|
53
|
+
return v;
|
|
54
54
|
}
|
|
55
55
|
})()}`,
|
|
56
|
-
onFocus:
|
|
57
|
-
onBlur:
|
|
58
|
-
onClick:
|
|
56
|
+
onFocus: g,
|
|
57
|
+
onBlur: B,
|
|
58
|
+
onClick: H,
|
|
59
59
|
children: [
|
|
60
|
-
|
|
60
|
+
i && /* @__PURE__ */ t(c, { children: i }),
|
|
61
61
|
/* @__PURE__ */ t("div", { className: e["input-container"], children: /* @__PURE__ */ t(
|
|
62
62
|
"input",
|
|
63
63
|
{
|
|
64
64
|
autoCorrect: "false",
|
|
65
65
|
disabled: u,
|
|
66
66
|
value: h,
|
|
67
|
-
onChange:
|
|
67
|
+
onChange: C,
|
|
68
68
|
ref: s,
|
|
69
|
-
...
|
|
69
|
+
...f
|
|
70
70
|
}
|
|
71
71
|
) }),
|
|
72
72
|
/* @__PURE__ */ a(c, { children: [
|
|
73
73
|
l && /* @__PURE__ */ t("div", { children: l }),
|
|
74
|
-
|
|
74
|
+
o && /* @__PURE__ */ t("span", { className: e.flexHorizontal, children: o })
|
|
75
75
|
] })
|
|
76
76
|
]
|
|
77
77
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { jsxs as c, jsx as
|
|
1
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as d } from "react";
|
|
3
|
-
import { IconButton as
|
|
4
|
-
import '../../styles/Tag.css';const
|
|
5
|
-
tag:
|
|
6
|
-
"tag-children": "_tag-
|
|
7
|
-
"tag-size-xl": "_tag-size-
|
|
8
|
-
"tag-size-xl-round": "_tag-size-xl-
|
|
9
|
-
"tag-size-l": "_tag-size-
|
|
10
|
-
"tag-size-l-round": "_tag-size-l-
|
|
11
|
-
"tag-size-m": "_tag-size-
|
|
12
|
-
"tag-size-m-round": "_tag-size-m-
|
|
13
|
-
"tag-size-s": "_tag-size-
|
|
14
|
-
"tag-size-s-round": "_tag-size-s-
|
|
15
|
-
flexHorizontalCenter:
|
|
16
|
-
flexHorizontal:
|
|
17
|
-
},
|
|
18
|
-
label:
|
|
19
|
-
color:
|
|
3
|
+
import { IconButton as u } from "../icon-button/IconButton.js";
|
|
4
|
+
import '../../styles/Tag.css';const m = "_tag_ez0so_6", x = "_flexHorizontalCenter_ez0so_64", f = "_flexHorizontal_ez0so_64", t = {
|
|
5
|
+
tag: m,
|
|
6
|
+
"tag-children": "_tag-children_ez0so_16",
|
|
7
|
+
"tag-size-xl": "_tag-size-xl_ez0so_23",
|
|
8
|
+
"tag-size-xl-round": "_tag-size-xl-round_ez0so_27",
|
|
9
|
+
"tag-size-l": "_tag-size-l_ez0so_33",
|
|
10
|
+
"tag-size-l-round": "_tag-size-l-round_ez0so_37",
|
|
11
|
+
"tag-size-m": "_tag-size-m_ez0so_43",
|
|
12
|
+
"tag-size-m-round": "_tag-size-m-round_ez0so_47",
|
|
13
|
+
"tag-size-s": "_tag-size-s_ez0so_53",
|
|
14
|
+
"tag-size-s-round": "_tag-size-s-round_ez0so_57",
|
|
15
|
+
flexHorizontalCenter: x,
|
|
16
|
+
flexHorizontal: f
|
|
17
|
+
}, s = ["light", "dark", "grey", "blue-grey", "blue", "blue-situaction", "purple", "pink", "gold", "brown", "emerald"], y = ({
|
|
18
|
+
label: a,
|
|
19
|
+
color: e,
|
|
20
20
|
deletable: l = !1,
|
|
21
|
-
size:
|
|
21
|
+
size: n = "m",
|
|
22
22
|
children: i,
|
|
23
23
|
onClick: r
|
|
24
24
|
}) => {
|
|
25
25
|
d(() => {
|
|
26
|
-
|
|
27
|
-
}, [
|
|
26
|
+
e && !s.includes(e) && console.warn(`Warning: The color "${e}" is not a valid option. Expected one of: ${s.join(", ")}.`);
|
|
27
|
+
}, [e]);
|
|
28
28
|
const z = [
|
|
29
|
-
|
|
30
|
-
i && !
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
t.tag,
|
|
30
|
+
i && !a && t[`tag-size-${n}-round`],
|
|
31
|
+
t[`tag-size-${n}`],
|
|
32
|
+
t.flexHorizontalCenter
|
|
33
33
|
].join(" "), g = {
|
|
34
|
-
"--dynamic-background":
|
|
35
|
-
"--dynamic-color-text":
|
|
34
|
+
"--dynamic-background": e && s.includes(e) ? `var(--color-${e}-200)` : "var(--color-blue-situaction-200)",
|
|
35
|
+
"--dynamic-color-text": e && s.includes(e) ? `var(--color-${e}-950)` : "var(--color-blue-situaction-950)"
|
|
36
36
|
}, _ = {
|
|
37
|
-
color:
|
|
37
|
+
color: e ? `var(--color${e}-950)` : "var(--color-blue-situaction-950)"
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ c(
|
|
40
40
|
"div",
|
|
@@ -42,9 +42,9 @@ import '../../styles/Tag.css';const u = "_tag_nyjfz_6", m = "_flexHorizontalCent
|
|
|
42
42
|
className: z,
|
|
43
43
|
style: g,
|
|
44
44
|
children: [
|
|
45
|
-
i && /* @__PURE__ */
|
|
46
|
-
|
|
47
|
-
l && /* @__PURE__ */
|
|
45
|
+
i && /* @__PURE__ */ o("div", { className: `${t.flexHorizontalCenter} ${t["tag-children"]}`, children: i }),
|
|
46
|
+
a && /* @__PURE__ */ o("label", { className: t.flexHorizontal, children: a }),
|
|
47
|
+
l && /* @__PURE__ */ o(u, { mode: "ghost", size: "s", onClick: () => r, children: /* @__PURE__ */ o(
|
|
48
48
|
"svg",
|
|
49
49
|
{
|
|
50
50
|
style: _,
|
|
@@ -53,7 +53,7 @@ import '../../styles/Tag.css';const u = "_tag_nyjfz_6", m = "_flexHorizontalCent
|
|
|
53
53
|
height: "9",
|
|
54
54
|
fill: "currentColor",
|
|
55
55
|
viewBox: "0 0 256 256",
|
|
56
|
-
children: /* @__PURE__ */
|
|
56
|
+
children: /* @__PURE__ */ o(
|
|
57
57
|
"path",
|
|
58
58
|
{
|
|
59
59
|
d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"
|
|
@@ -66,5 +66,5 @@ import '../../styles/Tag.css';const u = "_tag_nyjfz_6", m = "_flexHorizontalCent
|
|
|
66
66
|
);
|
|
67
67
|
};
|
|
68
68
|
export {
|
|
69
|
-
|
|
69
|
+
y as Tag
|
|
70
70
|
};
|
|
@@ -17,6 +17,7 @@ interface ThemeContextType {
|
|
|
17
17
|
toggleMode: () => void;
|
|
18
18
|
setMode: Dispatch<SetStateAction<Mode>>;
|
|
19
19
|
customVariables: Record<string, string>[] | undefined;
|
|
20
|
+
setCustomVariables: Dispatch<SetStateAction<Record<string, string>[]>>;
|
|
20
21
|
changeCustomVariables: (customVariables: Record<string, string>[]) => void;
|
|
21
22
|
}
|
|
22
23
|
interface ThemeProviderProps {
|
|
@@ -1,41 +1,45 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { createContext as
|
|
3
|
-
import { baseTheme as
|
|
4
|
-
import { variables_dark as
|
|
5
|
-
import { variables_light as
|
|
2
|
+
import { createContext as M, useState as s, useEffect as c, useContext as w } from "react";
|
|
3
|
+
import { baseTheme as l } from "./createTheme.js";
|
|
4
|
+
import { variables_dark as E } from "./variables_dark.js";
|
|
5
|
+
import { variables_light as f } from "./variables_light.js";
|
|
6
6
|
import { primary as p } from "./primary.js";
|
|
7
|
-
import '../../styles/ThemeContext.css';const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
7
|
+
import '../../styles/ThemeContext.css';const g = M(void 0), O = ({ children: n, theme: C, mode: b, customVariables: y }) => {
|
|
8
|
+
const [e] = s(C ?? l), [a, d] = s(b ?? "light"), [i, m] = s(y ?? [p, f]), [v, x] = s();
|
|
9
|
+
c(() => {
|
|
10
|
+
y || m([p, a === "light" ? f : E]);
|
|
11
|
+
}, [a]);
|
|
12
|
+
const S = () => {
|
|
13
|
+
d((t) => t === "light" ? "dark" : "light");
|
|
14
|
+
}, V = (t) => {
|
|
15
|
+
m(t);
|
|
16
|
+
}, F = (t) => t.length ? t.reduce((o, r) => (Object.keys(r).forEach((h) => {
|
|
17
|
+
o[h] = r[h];
|
|
18
|
+
}), o), {}) : t;
|
|
19
|
+
return c(() => {
|
|
20
|
+
var o, r;
|
|
21
|
+
const t = {
|
|
22
|
+
"--font-family": ((o = e == null ? void 0 : e.typography) == null ? void 0 : o.fontFamily) ?? l.typography.fontFamily,
|
|
23
|
+
"--font-family-secondary": ((r = e == null ? void 0 : e.typography) == null ? void 0 : r.fontFamilySecondary) ?? l.typography.fontFamilySecondary,
|
|
24
|
+
...F(i)
|
|
25
|
+
};
|
|
26
|
+
x(t);
|
|
27
|
+
}, [i]), /* @__PURE__ */ u(g.Provider, { value: {
|
|
28
|
+
theme: e,
|
|
29
|
+
mode: a,
|
|
30
|
+
toggleMode: S,
|
|
31
|
+
setMode: d,
|
|
32
|
+
customVariables: i,
|
|
33
|
+
setCustomVariables: m,
|
|
34
|
+
changeCustomVariables: V
|
|
35
|
+
}, children: /* @__PURE__ */ u("div", { style: { ...v, height: "100%" }, children: n }) });
|
|
36
|
+
}, q = () => {
|
|
37
|
+
const n = w(g);
|
|
38
|
+
if (n === void 0)
|
|
35
39
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
36
|
-
return
|
|
40
|
+
return n;
|
|
37
41
|
};
|
|
38
42
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
O as ThemeProvider,
|
|
44
|
+
q as useTheme
|
|
41
45
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const variables_dark: {
|
|
2
2
|
'--breadcrumb-icon-step': string;
|
|
3
|
-
'--button-focus-mode': string;
|
|
4
3
|
'--button-primary-default-text': string;
|
|
4
|
+
'--button-focus-mode': string;
|
|
5
5
|
'--button-primary-default-icon': string;
|
|
6
6
|
'--button-primary-default-background': string;
|
|
7
7
|
'--button-secondary-default-text': string;
|
|
@@ -84,8 +84,8 @@ export declare const variables_dark: {
|
|
|
84
84
|
'--table-header-cell-border': string;
|
|
85
85
|
'--table-base-cell-text': string;
|
|
86
86
|
'--table-base-cell-icons': string;
|
|
87
|
-
'--table-base-cell-border': string;
|
|
88
87
|
'--tags-nb-equip-text': string;
|
|
88
|
+
'--table-base-cell-border': string;
|
|
89
89
|
'--tags-nb-equip-background-primary': string;
|
|
90
90
|
'--tags-nb-equip-background-secondary': string;
|
|
91
91
|
'--tags-hors-stock-background': string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const r = {
|
|
2
|
-
"--breadcrumb-icon-step": "var(--color-
|
|
3
|
-
"--button-focus-mode": "var(--color-light-100)",
|
|
2
|
+
"--breadcrumb-icon-step": "var(--color-light-60)",
|
|
4
3
|
"--button-primary-default-text": "var(--color-light-100)",
|
|
4
|
+
"--button-focus-mode": "var(--color-light-100)",
|
|
5
5
|
"--button-primary-default-icon": "var(--color-light-100)",
|
|
6
6
|
"--button-primary-default-background": "var(--color-purple-trans-50)",
|
|
7
7
|
"--button-secondary-default-text": "var(--color-light-100)",
|
|
@@ -12,8 +12,8 @@ const r = {
|
|
|
12
12
|
"--button-primary-pressed-icon": "var(--color-light-100)",
|
|
13
13
|
"--button-primary-pressed-background": "var(--color-purple-trans-30)",
|
|
14
14
|
"--button-primary-hover-background": "var(--color-purple-trans-40)",
|
|
15
|
-
"--button-primary-disabled-text": "var(--color-light-
|
|
16
|
-
"--button-primary-disabled-icon": "var(--color-light-
|
|
15
|
+
"--button-primary-disabled-text": "var(--color-light-60)",
|
|
16
|
+
"--button-primary-disabled-icon": "var(--color-light-60)",
|
|
17
17
|
"--button-primary-disabled-background": "var(--color-light-5)",
|
|
18
18
|
"--button-primary-disabled-border": "var(--color-light-10)",
|
|
19
19
|
"--button-primary-hover-text": "var(--color-light-100)",
|
|
@@ -27,8 +27,8 @@ const r = {
|
|
|
27
27
|
"--button-secondary-pressed-icon": "var(--color-light-100)",
|
|
28
28
|
"--button-secondary-pressed-border": "var(--color-purple-trans-50)",
|
|
29
29
|
"--button-secondary-disabled-background": "var(--color-light-5)",
|
|
30
|
-
"--button-secondary-disabled-text": "var(--color-light-
|
|
31
|
-
"--button-secondary-disabled-icon": "var(--color-light-
|
|
30
|
+
"--button-secondary-disabled-text": "var(--color-light-60)",
|
|
31
|
+
"--button-secondary-disabled-icon": "var(--color-light-60)",
|
|
32
32
|
"--button-secondary-disabled-border": "var(--color-light-10)",
|
|
33
33
|
"--button-tertiary-default-text": "var(--color-light-100)",
|
|
34
34
|
"--button-tertiary-default-icon": "var(--color-light-100)",
|
|
@@ -42,8 +42,8 @@ const r = {
|
|
|
42
42
|
"--button-tertiary-pressed-icon": "var(--color-light-100)",
|
|
43
43
|
"--button-tertiary-pressed-border": "var(--color-purple-trans-50)",
|
|
44
44
|
"--button-tertiary-disabled-background": "var(--color-light-5)",
|
|
45
|
-
"--button-tertiary-disabled-text": "var(--color-light-
|
|
46
|
-
"--button-tertiary-disabled-icon": "var(--color-light-
|
|
45
|
+
"--button-tertiary-disabled-text": "var(--color-light-60)",
|
|
46
|
+
"--button-tertiary-disabled-icon": "var(--color-light-60)",
|
|
47
47
|
"--button-tertiary-disabled-border": "var(--color-light-10)",
|
|
48
48
|
"--button-ghost-default-text": "var(--color-light-100)",
|
|
49
49
|
"--button-ghost-default-icon": "var(--color-light-100)",
|
|
@@ -53,8 +53,8 @@ const r = {
|
|
|
53
53
|
"--button-ghost-pressed-background": "var(--color-purple-trans-40)",
|
|
54
54
|
"--button-ghost-pressed-text": "var(--color-light-100)",
|
|
55
55
|
"--button-ghost-pressed-icon": "var(--color-light-100)",
|
|
56
|
-
"--button-ghost-disabled-text": "var(--color-light-
|
|
57
|
-
"--button-ghost-disabled-icon": "var(--color-light-
|
|
56
|
+
"--button-ghost-disabled-text": "var(--color-light-60)",
|
|
57
|
+
"--button-ghost-disabled-icon": "var(--color-light-60)",
|
|
58
58
|
"--button-destructive-default-text": "var(--color-light-100)",
|
|
59
59
|
"--button-destructive-default-icon": "var(--color-light-100)",
|
|
60
60
|
"--button-destructive-default-background": "var(--color-error-500)",
|
|
@@ -65,27 +65,27 @@ const r = {
|
|
|
65
65
|
"--button-destructive-pressed-text": "var(--color-light-100)",
|
|
66
66
|
"--button-destructive-pressed-icon": "var(--color-light-100)",
|
|
67
67
|
"--button-destructive-disabled-background": "var(--color-light-5)",
|
|
68
|
-
"--button-destructive-disabled-text": "var(--color-light-
|
|
68
|
+
"--button-destructive-disabled-text": "var(--color-light-60)",
|
|
69
69
|
"--button-destructive-disabled-icon": "var(--color-light-40)",
|
|
70
70
|
"--button-destructive-disabled-border": "var(--color-light-10)",
|
|
71
71
|
"--checkbox-default-uncoched-default-stroke": "var(--color-light-100)",
|
|
72
72
|
"--checkbox-default-uncoched-hover-stroke": "var(--color-light-100)",
|
|
73
|
-
"--checkbox-default-uncoched-hover-background": "var(--color-light-
|
|
73
|
+
"--checkbox-default-uncoched-hover-background": "var(--color-light-40)",
|
|
74
74
|
"--checkbox-default-coched-default-coche": "var(--color-purple-dark-950)",
|
|
75
75
|
"--checkbox-default-coched-default-background": "var(--color-light-100)",
|
|
76
76
|
"--checkbox-default-coched-hover-background": "var(--color-light-100)",
|
|
77
77
|
"--checkbox-default-coched-hover-coche": "var(--color-purple-dark-950)",
|
|
78
|
-
"--checkbox-disabled-uncoched-default-hover-stroke": "var(--color-light-
|
|
79
|
-
"--checkbox-disabled-coched-default-hover-background": "var(--color-light-
|
|
78
|
+
"--checkbox-disabled-uncoched-default-hover-stroke": "var(--color-light-40)",
|
|
79
|
+
"--checkbox-disabled-coched-default-hover-background": "var(--color-light-40)",
|
|
80
80
|
"--checkbox-disabled-coched-default-hover-coche": "var(--color-light-50)",
|
|
81
81
|
"--table-header-cell-text": "var(--color-light-100)",
|
|
82
82
|
"--table-header-cell-icons": "var(--color-light-100)",
|
|
83
|
-
"--table-header-cell-background": "
|
|
83
|
+
"--table-header-cell-background": "rgb(61, 57, 75)",
|
|
84
84
|
"--table-header-cell-border": "var(--color-purple-trans-50)",
|
|
85
85
|
"--table-base-cell-text": "var(--color-light-100)",
|
|
86
86
|
"--table-base-cell-icons": "var(--color-light-100)",
|
|
87
|
-
"--table-base-cell-border": "var(--color-purple-trans-50)",
|
|
88
87
|
"--tags-nb-equip-text": "var(--color-light-100)",
|
|
88
|
+
"--table-base-cell-border": "var(--color-purple-trans-50)",
|
|
89
89
|
"--tags-nb-equip-background-primary": "var(--color-purple-trans-50)",
|
|
90
90
|
"--tags-nb-equip-background-secondary": "var(--color-purple-trans-50)",
|
|
91
91
|
"--tags-hors-stock-background": "var(--color-error-200)",
|
|
@@ -102,12 +102,12 @@ const r = {
|
|
|
102
102
|
"--pagination-text": "var(--color-light-100)",
|
|
103
103
|
"--tags-filter-disabled-background": "var(--color-light-20)",
|
|
104
104
|
"--tags-filter-disabled-text": "var(--color-light-50)",
|
|
105
|
-
"--text-button-disabled-icons": "var(--color-
|
|
106
|
-
"--text-button-disabled-text": "var(--color-
|
|
107
|
-
"--text-button-inactive-icons": "var(--color-
|
|
108
|
-
"--text-button-inactive-text": "var(--color-
|
|
109
|
-
"--text-button-inactive-hover-icons": "var(--color-light-
|
|
110
|
-
"--text-button-inactive-hover-text": "var(--color-light-
|
|
105
|
+
"--text-button-disabled-icons": "var(--color-light-40)",
|
|
106
|
+
"--text-button-disabled-text": "var(--color-light-40)",
|
|
107
|
+
"--text-button-inactive-icons": "var(--color-light-60)",
|
|
108
|
+
"--text-button-inactive-text": "var(--color-light-60)",
|
|
109
|
+
"--text-button-inactive-hover-icons": "var(--color-light-100)",
|
|
110
|
+
"--text-button-inactive-hover-text": "var(--color-light-100)",
|
|
111
111
|
"--text-button-active-icons": "var(--color-light-100)",
|
|
112
112
|
"--text-button-active-text": "var(--color-light-100)",
|
|
113
113
|
"--tabs-line-border": "var(--color-purple-trans-50)",
|
|
@@ -124,11 +124,11 @@ const r = {
|
|
|
124
124
|
"--input-primary-error-text": "var(--color-light-100)",
|
|
125
125
|
"--input-primary-actived-icons": "var(--color-light-100)",
|
|
126
126
|
"--input-primary-actived-text": "var(--color-light-100)",
|
|
127
|
-
"--input-primary-disabled-icons": "var(--color-light-
|
|
127
|
+
"--input-primary-disabled-icons": "var(--color-light-60)",
|
|
128
128
|
"--input-primary-disabled-text": "var(--color-light-40)",
|
|
129
|
-
"--input-primary-disabled-background": "var(--color-dark-
|
|
130
|
-
"--input-primary-default-icons": "var(--color-
|
|
131
|
-
"--input-primary-default-text": "var(--color-
|
|
129
|
+
"--input-primary-disabled-background": "var(--color-dark-20)",
|
|
130
|
+
"--input-primary-default-icons": "var(--color-light-60)",
|
|
131
|
+
"--input-primary-default-text": "var(--color-light-60)",
|
|
132
132
|
"--icon-selector-button-default-icon": "var(--color-light-100)",
|
|
133
133
|
"--icon-selector-button-hover-icon": "var(--color-light-100)",
|
|
134
134
|
"--icon-selector-button-hover-background": "var(--color-purple-trans-20)",
|
|
@@ -144,9 +144,9 @@ const r = {
|
|
|
144
144
|
"--input-secondary-active-icons": "var(--color-light-100)",
|
|
145
145
|
"--input-secondary-active-text": "var(--color-light-100)",
|
|
146
146
|
"--input-secondary-default-border": "var(--color-purple-trans-50)",
|
|
147
|
-
"--input-secondary-default-icons": "var(--color-
|
|
148
|
-
"--input-secondary-default-text": "var(--color-
|
|
149
|
-
"--input-secondary-default-background": "var(--color-purple-trans-
|
|
147
|
+
"--input-secondary-default-icons": "var(--color-light-60)",
|
|
148
|
+
"--input-secondary-default-text": "var(--color-light-60)",
|
|
149
|
+
"--input-secondary-default-background": "var(--color-purple-trans-10)",
|
|
150
150
|
"--button-drawer-default-background": "var(--color-blue-gray-800)",
|
|
151
151
|
"--button-drawer-default-icon": "var(--color-light-100)",
|
|
152
152
|
"--button-drawer-hover-background": "var(--color-blue-gray-700)",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const variables_light: {
|
|
2
2
|
'--breadcrumb-icon-step': string;
|
|
3
|
-
'--button-focus-mode': string;
|
|
4
3
|
'--button-primary-default-text': string;
|
|
4
|
+
'--button-focus-mode': string;
|
|
5
5
|
'--button-primary-default-icon': string;
|
|
6
6
|
'--button-primary-default-background': string;
|
|
7
7
|
'--button-secondary-default-text': string;
|
|
@@ -84,8 +84,8 @@ export declare const variables_light: {
|
|
|
84
84
|
'--table-header-cell-border': string;
|
|
85
85
|
'--table-base-cell-text': string;
|
|
86
86
|
'--table-base-cell-icons': string;
|
|
87
|
-
'--table-base-cell-border': string;
|
|
88
87
|
'--tags-nb-equip-text': string;
|
|
88
|
+
'--table-base-cell-border': string;
|
|
89
89
|
'--tags-nb-equip-background-primary': string;
|
|
90
90
|
'--tags-nb-equip-background-secondary': string;
|
|
91
91
|
'--tags-hors-stock-background': string;
|