asma-ui-core 3.42.1 → 3.43.0
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/asma-ui-core.css +1 -1
- package/dist/components/data-display/chip/StyledChip.js +1 -1
- package/dist/components/data-display/tooltip/StyledTooltip.js +9 -9
- package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.module.js +8 -8
- package/dist/components/inputs/button/StyledButton.module.js +7 -7
- package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +18 -18
- package/dist/components/inputs/select/StyledSelectItem.js +3 -3
- package/dist/components/inputs/slider/StyledSlider.js +16 -16
- package/dist/components/miscellaneous/StyledFormControlLabel.js +5 -5
- package/dist/components/navigation/menu/StyledMenuItem.js +4 -3
- package/dist/components/navigation/tabs/StyledTabs.js +15 -13
- package/dist/table/components/StyledTable.module.js +51 -51
- package/dist/table/shared-components/button/StyledButton.module.js +8 -8
- package/package.json +1 -1
- package/src/styles/index.css +1 -0
- package/src/styles/typographyTokens.css +12 -0
|
@@ -18,7 +18,7 @@ var m = c(({ dataTest: r, readOnly: o, onDelete: l, ...a }, d) => /* @__PURE__ *
|
|
|
18
18
|
backgroundColor: "white",
|
|
19
19
|
borderColor: "var(--colors-delta-300)",
|
|
20
20
|
color: "var(--colors-delta-800)",
|
|
21
|
-
fontSize: "
|
|
21
|
+
fontSize: "var(--font-size-body-base)",
|
|
22
22
|
...o ? {
|
|
23
23
|
pointerEvents: "none",
|
|
24
24
|
"&:hover": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Tooltip as
|
|
2
|
-
import { jsx as
|
|
1
|
+
import { Tooltip as i } from "@mui/material";
|
|
2
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
3
3
|
import { mergeSlotProps as r } from "@mui/material/utils";
|
|
4
4
|
import l from "@mui/material/Fade";
|
|
5
|
-
var
|
|
5
|
+
var s = {
|
|
6
6
|
borderRadius: "3px",
|
|
7
7
|
"& .MuiTooltip-arrow": { color: "#363E4A" },
|
|
8
8
|
color: "white",
|
|
@@ -10,14 +10,14 @@ var a = {
|
|
|
10
10
|
display: "flex",
|
|
11
11
|
padding: "4px 8px",
|
|
12
12
|
alignItems: "center",
|
|
13
|
-
fontSize: "
|
|
14
|
-
lineHeight: "
|
|
13
|
+
fontSize: "var(--font-size-body-sm)",
|
|
14
|
+
lineHeight: "var(--line-height-body-sm)",
|
|
15
15
|
letterSpacing: "0.24px",
|
|
16
16
|
bgcolor: "#363E4A",
|
|
17
17
|
wordBreak: "break-word"
|
|
18
|
-
}, d = (
|
|
19
|
-
const { slotProps: o, ...t } =
|
|
20
|
-
return /* @__PURE__ */ i
|
|
18
|
+
}, d = (e) => {
|
|
19
|
+
const { slotProps: o, ...t } = e;
|
|
20
|
+
return /* @__PURE__ */ p(i, {
|
|
21
21
|
enterDelay: 500,
|
|
22
22
|
placement: "top",
|
|
23
23
|
...t,
|
|
@@ -28,7 +28,7 @@ var a = {
|
|
|
28
28
|
slotProps: {
|
|
29
29
|
...o,
|
|
30
30
|
transition: r(o?.transition, { timeout: 300 }),
|
|
31
|
-
tooltip: r(o?.tooltip, { sx:
|
|
31
|
+
tooltip: r(o?.tooltip, { sx: s })
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
container:
|
|
3
|
-
header:
|
|
1
|
+
var e = "_container_1e4wt_1", _ = "_header_1e4wt_13", r = "_title_1e4wt_19", a = "_message_1e4wt_28", t = "_info_1e4wt_36", s = "_error_1e4wt_41", i = "_success_1e4wt_46", n = "_warning_1e4wt_51", w = "_title_info_1e4wt_57", v = "_title_error_1e4wt_61", g = "_title_success_1e4wt_65", o = "_title_warning_1e4wt_69", c = "_message_info_1e4wt_74", l = "_message_error_1e4wt_78", m = "_message_success_1e4wt_82", u = "_message_warning_1e4wt_86", f = {
|
|
2
|
+
container: e,
|
|
3
|
+
header: _,
|
|
4
4
|
title: r,
|
|
5
5
|
message: a,
|
|
6
|
-
info:
|
|
6
|
+
info: t,
|
|
7
7
|
error: s,
|
|
8
|
-
success:
|
|
9
|
-
warning:
|
|
10
|
-
title_info:
|
|
11
|
-
title_error:
|
|
8
|
+
success: i,
|
|
9
|
+
warning: n,
|
|
10
|
+
title_info: w,
|
|
11
|
+
title_error: v,
|
|
12
12
|
title_success: g,
|
|
13
13
|
title_warning: o,
|
|
14
14
|
message_info: c,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var _ = "
|
|
2
|
-
"asma-ui-core-button": "_asma-ui-core-
|
|
1
|
+
var _ = "_contained_654yh_6", t = "_common_654yh_6", a = "_medium_654yh_45", e = "_small_654yh_50", r = "_large_654yh_55", o = "_error_654yh_65", y = "_outlined_654yh_124", h = "_text_654yh_242", m = "_textGray_654yh_358", l = "_textWhite_654yh_416", u = {
|
|
2
|
+
"asma-ui-core-button": "_asma-ui-core-button_654yh_1",
|
|
3
3
|
contained: _,
|
|
4
4
|
common: t,
|
|
5
5
|
medium: a,
|
|
6
6
|
small: e,
|
|
7
|
-
large:
|
|
8
|
-
error:
|
|
9
|
-
outlined:
|
|
10
|
-
text:
|
|
11
|
-
textGray:
|
|
7
|
+
large: r,
|
|
8
|
+
error: o,
|
|
9
|
+
outlined: y,
|
|
10
|
+
text: h,
|
|
11
|
+
textGray: m,
|
|
12
12
|
textWhite: l
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
@@ -8,15 +8,15 @@ import { StyledCheckbox as Y } from "../../checkbox/base-ui/StyledCheckbox.js";
|
|
|
8
8
|
import { StyledInputField as Z } from "../../input-field/StyledInputField.js";
|
|
9
9
|
import { StyledSelectAutocomplete as ee } from "../../select-autocomplete/StyledSelectAutocomplete.js";
|
|
10
10
|
import { DynamicInteractiveChipGroup as te } from "./DynamicInteractiveChipGroup.js";
|
|
11
|
-
import { createElement as L, forwardRef as le, useCallback as
|
|
11
|
+
import { createElement as L, forwardRef as le, useCallback as g, useState as re } from "react";
|
|
12
12
|
import { Fragment as $, jsx as l, jsxs as x } from "react/jsx-runtime";
|
|
13
|
-
var
|
|
14
|
-
const [B, T] = re(!1), { options: y, dataTest: S, value: i, readOnly: d, multiple: a, required: E, onChange: C, size: z, title: k, noOptionsText: F, placeholder: K, disabled: N, helperText: H, disableHelperText: R, error: G, valueKey: A = "value", labelKey: W = "label", renderLabel: s, getOptionTooltip: I, startAdornment: _, autocompleteProps: n, loading: u, maxTags: J } = O,
|
|
15
|
-
const t =
|
|
13
|
+
var be = le((O, q) => {
|
|
14
|
+
const [B, T] = re(!1), { options: y, dataTest: S, value: i, readOnly: d, multiple: a, required: E, onChange: C, size: z, title: k, noOptionsText: F, placeholder: K, disabled: N, helperText: H, disableHelperText: R, error: G, valueKey: A = "value", labelKey: W = "label", renderLabel: s, getOptionTooltip: I, startAdornment: _, autocompleteProps: n, loading: u, maxTags: J } = O, p = y.length < 11, c = (e) => typeof e == "object" ? e?.[W]?.toString() ?? "" : e?.toString() ?? "", m = g((e) => typeof e == "object" ? e?.[A] : e, [A]), f = g((e, t) => typeof t == "string" ? !1 : m(e) === m(t), [m]), v = (e) => {
|
|
15
|
+
const t = m(e);
|
|
16
16
|
return t == null ? "" : typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? String(t) : e == null ? "" : c(e);
|
|
17
|
-
}, P =
|
|
17
|
+
}, P = g((e) => {
|
|
18
18
|
T(!0), n?.onOpen?.(e);
|
|
19
|
-
}, [n]), M =
|
|
19
|
+
}, [n]), M = g((e, t) => {
|
|
20
20
|
T(!1), n?.onClose?.(e, t);
|
|
21
21
|
}, [n]);
|
|
22
22
|
return a && d ? /* @__PURE__ */ l(te, { ...O }) : /* @__PURE__ */ x("div", {
|
|
@@ -50,7 +50,7 @@ var ge = le((O, q) => {
|
|
|
50
50
|
multiple: a,
|
|
51
51
|
renderValue: a ? (e) => {
|
|
52
52
|
if (!Array.isArray(e)) return null;
|
|
53
|
-
const t = e, r = J ?? y.length, h = t.slice(0, r),
|
|
53
|
+
const t = e, r = J ?? y.length, h = t.slice(0, r), b = t.length - r;
|
|
54
54
|
return /* @__PURE__ */ x("div", {
|
|
55
55
|
className: "flex flex-wrap gap-2",
|
|
56
56
|
children: [h.map((o) => /* @__PURE__ */ l(D, {
|
|
@@ -66,9 +66,9 @@ var ge = le((O, q) => {
|
|
|
66
66
|
onDelete: () => {
|
|
67
67
|
Array.isArray(i) && C(i.filter((w) => !f(w, o)));
|
|
68
68
|
}
|
|
69
|
-
}, v(o))),
|
|
69
|
+
}, v(o))), b > 0 && /* @__PURE__ */ l(D, {
|
|
70
70
|
dataTest: "remaining-count-tag-chip",
|
|
71
|
-
label: `+${
|
|
71
|
+
label: `+${b}`,
|
|
72
72
|
variant: "outlined",
|
|
73
73
|
onClick: P
|
|
74
74
|
})]
|
|
@@ -101,12 +101,12 @@ var ge = le((O, q) => {
|
|
|
101
101
|
className: "min-w-[36px]",
|
|
102
102
|
checked: o
|
|
103
103
|
}), s ? s(t) : /* @__PURE__ */ l("span", {
|
|
104
|
-
className: "h-fit py-[10px] text-
|
|
104
|
+
className: "h-fit py-[10px] text-base text-delta-700",
|
|
105
105
|
children: c(t)
|
|
106
106
|
})] })
|
|
107
107
|
}));
|
|
108
108
|
}
|
|
109
|
-
const
|
|
109
|
+
const b = i != null && f(i, t);
|
|
110
110
|
return /* @__PURE__ */ L("li", {
|
|
111
111
|
...e,
|
|
112
112
|
key: e.id,
|
|
@@ -118,13 +118,13 @@ var ge = le((O, q) => {
|
|
|
118
118
|
title: h,
|
|
119
119
|
children: /* @__PURE__ */ x($, { children: [/* @__PURE__ */ l("span", {
|
|
120
120
|
className: "h-full w-5 min-w-5 py-[10px]",
|
|
121
|
-
children:
|
|
121
|
+
children: b && /* @__PURE__ */ l(U, {
|
|
122
122
|
className: "size-5 min-h-5 min-w-5 text-gama-500",
|
|
123
123
|
height: 20,
|
|
124
124
|
width: 20
|
|
125
125
|
})
|
|
126
126
|
}), s ? s(t) : /* @__PURE__ */ l("span", {
|
|
127
|
-
className: "py-[10px] text-
|
|
127
|
+
className: "py-[10px] text-base text-delta-700",
|
|
128
128
|
children: c(t)
|
|
129
129
|
})] })
|
|
130
130
|
}));
|
|
@@ -139,18 +139,18 @@ var ge = le((O, q) => {
|
|
|
139
139
|
label: "",
|
|
140
140
|
placeholder: K,
|
|
141
141
|
readOnly: d,
|
|
142
|
-
onKeyDown:
|
|
143
|
-
autoComplete:
|
|
142
|
+
onKeyDown: p ? (t) => t.preventDefault() : void 0,
|
|
143
|
+
autoComplete: p ? "off" : "on",
|
|
144
144
|
slotProps: {
|
|
145
145
|
...e.slotProps,
|
|
146
146
|
input: {
|
|
147
147
|
...e.slotProps?.input ?? {},
|
|
148
148
|
startAdornment: _ ?? e.slotProps?.input?.startAdornment,
|
|
149
|
-
style:
|
|
149
|
+
style: p ? { caretColor: "transparent" } : {}
|
|
150
150
|
},
|
|
151
151
|
htmlInput: {
|
|
152
152
|
...e.slotProps?.htmlInput ?? {},
|
|
153
|
-
style:
|
|
153
|
+
style: p ? { caretColor: "transparent" } : {}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}),
|
|
@@ -159,5 +159,5 @@ var ge = le((O, q) => {
|
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
export {
|
|
162
|
-
|
|
162
|
+
be as DynamicSelectAutocomplete
|
|
163
163
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CheckIcon as t } from "../../icons/check-icon/CheckIcon.js";
|
|
2
2
|
import { MenuItem as o } from "@mui/material";
|
|
3
3
|
import { jsx as r, jsxs as n } from "react/jsx-runtime";
|
|
4
|
-
var
|
|
4
|
+
var s = (e) => /* @__PURE__ */ n(o, {
|
|
5
5
|
...e,
|
|
6
6
|
sx: {
|
|
7
7
|
"&.MuiMenuItem-root": {
|
|
8
|
-
fontSize: "
|
|
8
|
+
fontSize: "var(--font-size-body-base) !important",
|
|
9
9
|
gap: "4px",
|
|
10
10
|
px: 1
|
|
11
11
|
},
|
|
@@ -25,5 +25,5 @@ var c = (e) => /* @__PURE__ */ n(o, {
|
|
|
25
25
|
}), /* @__PURE__ */ r("span", { children: e.children })]
|
|
26
26
|
});
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
s as StyledSelectItem
|
|
29
29
|
};
|
|
@@ -3,31 +3,31 @@ import { StyledFormHelperText as b } from "../../miscellaneous/StyledFormHelperT
|
|
|
3
3
|
import e from "clsx";
|
|
4
4
|
import { Slider as n } from "@mui/material";
|
|
5
5
|
import { Fragment as g, jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
6
|
-
var k = ({ dataTest: i, error:
|
|
7
|
-
const s = (
|
|
6
|
+
var k = ({ dataTest: i, error: r, errorText: d, helperText: o, ...a }) => {
|
|
7
|
+
const s = (r ?? !1) || (o ?? !1), m = r ? d ?? "Required" : o;
|
|
8
8
|
return /* @__PURE__ */ l(g, { children: [/* @__PURE__ */ t(n, {
|
|
9
|
-
...
|
|
9
|
+
...a,
|
|
10
10
|
"data-testid": i,
|
|
11
11
|
slotProps: {
|
|
12
|
-
...
|
|
12
|
+
...a.slotProps,
|
|
13
13
|
thumb: {
|
|
14
|
-
className: e("h-4 w-4", "before:shadow-none", 'after:h-8 after:w-8 after:content-[""]',
|
|
15
|
-
...
|
|
14
|
+
className: e("h-4 w-4", "before:shadow-none", 'after:h-8 after:w-8 after:content-[""]', a.orientation === "vertical" ? "mb-1 ml-0" : "ml-1", a.disabled ? "bg-delta-200" : "bg-gama-500"),
|
|
15
|
+
...a.slotProps?.thumb
|
|
16
16
|
},
|
|
17
17
|
rail: {
|
|
18
18
|
className: "bg-delta-200",
|
|
19
|
-
...
|
|
19
|
+
...a.slotProps?.rail
|
|
20
20
|
},
|
|
21
21
|
markLabel: {
|
|
22
|
-
className: e("ml-1 text-
|
|
23
|
-
...
|
|
22
|
+
className: e("ml-1 text-base font-semibold text-delta-600", a.orientation === "vertical" && "mb-1"),
|
|
23
|
+
...a.slotProps?.markLabel
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
sx: {
|
|
27
|
-
...
|
|
27
|
+
...a.sx,
|
|
28
28
|
"& .MuiSlider-track": {
|
|
29
|
-
backgroundColor:
|
|
30
|
-
borderColor:
|
|
29
|
+
backgroundColor: a.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)",
|
|
30
|
+
borderColor: a.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)"
|
|
31
31
|
},
|
|
32
32
|
"& .MuiSlider-mark": {
|
|
33
33
|
backgroundColor: "white",
|
|
@@ -36,16 +36,16 @@ var k = ({ dataTest: i, error: a, errorText: d, helperText: o, ...r }) => {
|
|
|
36
36
|
height: "8px",
|
|
37
37
|
width: "8px",
|
|
38
38
|
"&.MuiSlider-markActive": {
|
|
39
|
-
backgroundColor:
|
|
39
|
+
backgroundColor: a.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)",
|
|
40
40
|
border: "1px solid",
|
|
41
|
-
borderColor:
|
|
41
|
+
borderColor: a.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)",
|
|
42
42
|
opacity: 1
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}), s && /* @__PURE__ */ l(b, {
|
|
47
|
-
className: e("m-0 flex items-center gap-1 pt-1 text-
|
|
48
|
-
children: [
|
|
47
|
+
className: e("m-0 flex items-center gap-1 pt-1 text-base", r ? "text-error-500" : "text-delta-600"),
|
|
48
|
+
children: [r && /* @__PURE__ */ t(c, {
|
|
49
49
|
width: 20,
|
|
50
50
|
height: 20
|
|
51
51
|
}), m]
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { FormControlLabel as
|
|
1
|
+
import { FormControlLabel as l } from "@mui/material";
|
|
2
2
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
-
var i = ({ sx: o, ...
|
|
4
|
-
...
|
|
3
|
+
var i = ({ sx: o, ...r }) => /* @__PURE__ */ e(l, {
|
|
4
|
+
...r,
|
|
5
5
|
sx: {
|
|
6
6
|
color: "var(--colors-delta-800)",
|
|
7
7
|
margin: 0,
|
|
8
8
|
"& .MuiFormControlLabel-label": {
|
|
9
|
-
fontSize: "
|
|
10
|
-
lineHeight: "
|
|
9
|
+
fontSize: "var(--font-size-body-base)",
|
|
10
|
+
lineHeight: "var(--line-height-body-base)"
|
|
11
11
|
},
|
|
12
12
|
"&.Mui-disabled .MuiFormControlLabel-label": { color: "var(--colors-delta-300)" },
|
|
13
13
|
...o
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import o from "clsx";
|
|
2
2
|
import { MenuItem as t } from "@mui/material";
|
|
3
3
|
import { jsx as r } from "react/jsx-runtime";
|
|
4
|
-
var
|
|
4
|
+
var n = (e) => /* @__PURE__ */ r(t, {
|
|
5
5
|
...e,
|
|
6
6
|
classes: {
|
|
7
7
|
selected: "bg-gama-50",
|
|
8
|
-
root: o("
|
|
8
|
+
root: o("h-10 pl-4 pr-2 hover:bg-delta-50", e.classes?.root),
|
|
9
9
|
...e.classes
|
|
10
10
|
},
|
|
11
11
|
sx: {
|
|
12
|
+
fontSize: "var(--font-size-body-base)",
|
|
12
13
|
"&.Mui-disabled": {
|
|
13
14
|
pointerEvents: "auto",
|
|
14
15
|
cursor: "not-allowed",
|
|
@@ -18,5 +19,5 @@ var m = (e) => /* @__PURE__ */ r(t, {
|
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
n as StyledMenuItem
|
|
22
23
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { cn as s } from "../../../helpers/cn.js";
|
|
2
2
|
import { Tabs as e } from "@mui/material";
|
|
3
3
|
import { jsx as l } from "react/jsx-runtime";
|
|
4
|
-
function n(
|
|
5
|
-
return Array.isArray(
|
|
4
|
+
function n(o) {
|
|
5
|
+
return Array.isArray(o);
|
|
6
6
|
}
|
|
7
|
-
function d(
|
|
8
|
-
return
|
|
7
|
+
function d(o) {
|
|
8
|
+
return o != null && !Array.isArray(o);
|
|
9
9
|
}
|
|
10
10
|
var c = {
|
|
11
|
+
"& .MuiTab-root": { fontSize: "var(--font-size-body-lg)" },
|
|
11
12
|
"& .MuiTabs-scroller": { borderBottom: "1px solid var(--colors-delta-200)" },
|
|
12
13
|
"& .MuiTabs-scrollButtons": {
|
|
13
14
|
border: "1px solid var(--colors-delta-500)",
|
|
@@ -38,6 +39,7 @@ var c = {
|
|
|
38
39
|
}, p = {
|
|
39
40
|
minHeight: 36,
|
|
40
41
|
"& .MuiTab-root": {
|
|
42
|
+
fontSize: "var(--font-size-body-base)",
|
|
41
43
|
height: 36,
|
|
42
44
|
minHeight: 36,
|
|
43
45
|
paddingLeft: "12px",
|
|
@@ -45,24 +47,24 @@ var c = {
|
|
|
45
47
|
paddingTop: "8px",
|
|
46
48
|
paddingBottom: "8px"
|
|
47
49
|
}
|
|
48
|
-
},
|
|
49
|
-
const
|
|
50
|
-
return i === "small" &&
|
|
51
|
-
...
|
|
52
|
-
className: s("relative rounded-t-lg bg-white px-4",
|
|
50
|
+
}, m = ({ className: o, size: i = "default", sx: r, ...a }) => {
|
|
51
|
+
const t = [c];
|
|
52
|
+
return i === "small" && t.push(p), n(r) ? t.push(...r) : d(r) && t.push(r), /* @__PURE__ */ l(e, {
|
|
53
|
+
...a,
|
|
54
|
+
className: s("relative rounded-t-lg bg-white px-4", o),
|
|
53
55
|
slotProps: {
|
|
54
|
-
...
|
|
56
|
+
...a.slotProps,
|
|
55
57
|
indicator: {
|
|
56
58
|
style: {
|
|
57
59
|
background: "var(--colors-gama-500)",
|
|
58
60
|
color: "var(--colors-gama-500)"
|
|
59
61
|
},
|
|
60
|
-
...
|
|
62
|
+
...a.slotProps?.indicator ?? {}
|
|
61
63
|
}
|
|
62
64
|
},
|
|
63
|
-
sx:
|
|
65
|
+
sx: t
|
|
64
66
|
});
|
|
65
67
|
};
|
|
66
68
|
export {
|
|
67
|
-
|
|
69
|
+
m as StyledTabs
|
|
68
70
|
};
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
var e = "
|
|
2
|
-
"asma-ui-table-styled-table": "_asma-ui-table-styled-
|
|
3
|
-
"table-wrapper": "_table-
|
|
4
|
-
"table-shell": "_table-
|
|
5
|
-
"table-wrapper--no-rows": "_table-wrapper--no-
|
|
6
|
-
"table-wrapper--proxy": "_table-wrapper--
|
|
7
|
-
"table-wrapper--proxy-bottom": "_table-wrapper--proxy-
|
|
8
|
-
"table-wrapper-fetching": "_table-wrapper-
|
|
9
|
-
"table-scroll": "_table-
|
|
10
|
-
"table-x--fill-height": "_table-x--fill-
|
|
11
|
-
"table-x": "_table-
|
|
12
|
-
"table-content": "_table-
|
|
13
|
-
"table-header--sticky": "_table-header--
|
|
14
|
-
"table-hscroll": "_table-
|
|
15
|
-
"table-hscroll__content": "_table-
|
|
16
|
-
"no-rows-overlay-container": "_no-rows-overlay-
|
|
17
|
-
"no-rows-overlay-content": "_no-rows-overlay-
|
|
18
|
-
"styled-table": "_styled-
|
|
1
|
+
var e = "_tbody_k8yi5_124", _ = "_expanded_row_k8yi5_187", l = "_selected_k8yi5_205", t = "_shadowed_k8yi5_234", i = "_resizer_k8yi5_288", a = "_isResizing_k8yi5_300", o = {
|
|
2
|
+
"asma-ui-table-styled-table": "_asma-ui-table-styled-table_k8yi5_1",
|
|
3
|
+
"table-wrapper": "_table-wrapper_k8yi5_26",
|
|
4
|
+
"table-shell": "_table-shell_k8yi5_33",
|
|
5
|
+
"table-wrapper--no-rows": "_table-wrapper--no-rows_k8yi5_39",
|
|
6
|
+
"table-wrapper--proxy": "_table-wrapper--proxy_k8yi5_42",
|
|
7
|
+
"table-wrapper--proxy-bottom": "_table-wrapper--proxy-bottom_k8yi5_43",
|
|
8
|
+
"table-wrapper-fetching": "_table-wrapper-fetching_k8yi5_53",
|
|
9
|
+
"table-scroll": "_table-scroll_k8yi5_56",
|
|
10
|
+
"table-x--fill-height": "_table-x--fill-height_k8yi5_65",
|
|
11
|
+
"table-x": "_table-x_k8yi5_65",
|
|
12
|
+
"table-content": "_table-content_k8yi5_80",
|
|
13
|
+
"table-header--sticky": "_table-header--sticky_k8yi5_85",
|
|
14
|
+
"table-hscroll": "_table-hscroll_k8yi5_90",
|
|
15
|
+
"table-hscroll__content": "_table-hscroll__content_k8yi5_100",
|
|
16
|
+
"no-rows-overlay-container": "_no-rows-overlay-container_k8yi5_103",
|
|
17
|
+
"no-rows-overlay-content": "_no-rows-overlay-content_k8yi5_111",
|
|
18
|
+
"styled-table": "_styled-table_k8yi5_115",
|
|
19
19
|
tbody: e,
|
|
20
|
-
"loading-icon": "_loading-
|
|
21
|
-
"t-row": "_t-
|
|
22
|
-
"t-cell": "_t-
|
|
23
|
-
"action-cell": "_action-
|
|
24
|
-
"fixed-cell": "_fixed-
|
|
25
|
-
"fixed-right-cell": "_fixed-right-
|
|
20
|
+
"loading-icon": "_loading-icon_k8yi5_129",
|
|
21
|
+
"t-row": "_t-row_k8yi5_136",
|
|
22
|
+
"t-cell": "_t-cell_k8yi5_136",
|
|
23
|
+
"action-cell": "_action-cell_k8yi5_146",
|
|
24
|
+
"fixed-cell": "_fixed-cell_k8yi5_150",
|
|
25
|
+
"fixed-right-cell": "_fixed-right-cell_k8yi5_153",
|
|
26
26
|
expanded_row: _,
|
|
27
27
|
selected: l,
|
|
28
|
-
"single-selection": "_single-
|
|
29
|
-
"action-cell--no-shadow": "_action-cell--no-
|
|
30
|
-
"action-cell--not-fixed": "_action-cell--not-
|
|
28
|
+
"single-selection": "_single-selection_k8yi5_208",
|
|
29
|
+
"action-cell--no-shadow": "_action-cell--no-shadow_k8yi5_225",
|
|
30
|
+
"action-cell--not-fixed": "_action-cell--not-fixed_k8yi5_228",
|
|
31
31
|
shadowed: t,
|
|
32
|
-
"shadowed-right": "_shadowed-
|
|
33
|
-
"is-loading": "_is-
|
|
34
|
-
"action-cell-default-background": "_action-cell-default-
|
|
35
|
-
"fixed-cell-default-background": "_fixed-cell-default-
|
|
36
|
-
"fixed-right-cell-default-background": "_fixed-right-cell-default-
|
|
37
|
-
"sortable-column": "_sortable-
|
|
38
|
-
resizer:
|
|
39
|
-
isResizing:
|
|
40
|
-
"hide-table-header": "_hide-table-
|
|
41
|
-
"show-table-header": "_show-table-
|
|
42
|
-
"table-header": "_table-
|
|
43
|
-
"hide-header": "_hide-
|
|
44
|
-
"t-cell__actions": "_t-
|
|
45
|
-
"t-cell__actions--no-shadow": "_t-cell__actions--no-
|
|
46
|
-
"t-cell__actions--not-fixed": "_t-cell__actions--not-
|
|
47
|
-
"t-cell__fixed": "_t-
|
|
48
|
-
"t-cell__fixed-right": "_t-cell__fixed-
|
|
49
|
-
"sort-icon": "_sort-
|
|
50
|
-
"table-footer--sticky": "_table-footer--
|
|
51
|
-
"table-footer--inline": "_table-footer--
|
|
52
|
-
"table-bottom": "_table-
|
|
53
|
-
"table-bottom--sticky": "_table-bottom--
|
|
54
|
-
"cursor-not-allowed": "_cursor-not-
|
|
32
|
+
"shadowed-right": "_shadowed-right_k8yi5_268",
|
|
33
|
+
"is-loading": "_is-loading_k8yi5_272",
|
|
34
|
+
"action-cell-default-background": "_action-cell-default-background_k8yi5_275",
|
|
35
|
+
"fixed-cell-default-background": "_fixed-cell-default-background_k8yi5_278",
|
|
36
|
+
"fixed-right-cell-default-background": "_fixed-right-cell-default-background_k8yi5_281",
|
|
37
|
+
"sortable-column": "_sortable-column_k8yi5_284",
|
|
38
|
+
resizer: i,
|
|
39
|
+
isResizing: a,
|
|
40
|
+
"hide-table-header": "_hide-table-header_k8yi5_312",
|
|
41
|
+
"show-table-header": "_show-table-header_k8yi5_316",
|
|
42
|
+
"table-header": "_table-header_k8yi5_85",
|
|
43
|
+
"hide-header": "_hide-header_k8yi5_341",
|
|
44
|
+
"t-cell__actions": "_t-cell__actions_k8yi5_344",
|
|
45
|
+
"t-cell__actions--no-shadow": "_t-cell__actions--no-shadow_k8yi5_352",
|
|
46
|
+
"t-cell__actions--not-fixed": "_t-cell__actions--not-fixed_k8yi5_355",
|
|
47
|
+
"t-cell__fixed": "_t-cell__fixed_k8yi5_362",
|
|
48
|
+
"t-cell__fixed-right": "_t-cell__fixed-right_k8yi5_369",
|
|
49
|
+
"sort-icon": "_sort-icon_k8yi5_376",
|
|
50
|
+
"table-footer--sticky": "_table-footer--sticky_k8yi5_379",
|
|
51
|
+
"table-footer--inline": "_table-footer--inline_k8yi5_390",
|
|
52
|
+
"table-bottom": "_table-bottom_k8yi5_401",
|
|
53
|
+
"table-bottom--sticky": "_table-bottom--sticky_k8yi5_415",
|
|
54
|
+
"cursor-not-allowed": "_cursor-not-allowed_k8yi5_419"
|
|
55
55
|
};
|
|
56
56
|
export {
|
|
57
|
-
|
|
57
|
+
o as default
|
|
58
58
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var _ = "
|
|
2
|
-
"asma-core-ui-button": "_asma-core-ui-
|
|
1
|
+
var _ = "_contained_ls0vf_6", t = "_common_ls0vf_6", a = "_medium_ls0vf_48", e = "_small_ls0vf_53", r = "_large_ls0vf_58", l = "_error_ls0vf_68", v = "_outlined_ls0vf_130", o = "_text_ls0vf_254", s = "_textGray_ls0vf_378", f = "_textWhite_ls0vf_440", m = {
|
|
2
|
+
"asma-core-ui-button": "_asma-core-ui-button_ls0vf_1",
|
|
3
3
|
contained: _,
|
|
4
4
|
common: t,
|
|
5
5
|
medium: a,
|
|
6
6
|
small: e,
|
|
7
7
|
large: r,
|
|
8
|
-
error:
|
|
9
|
-
outlined:
|
|
10
|
-
text:
|
|
11
|
-
textGray:
|
|
12
|
-
textWhite:
|
|
8
|
+
error: l,
|
|
9
|
+
outlined: v,
|
|
10
|
+
text: o,
|
|
11
|
+
textGray: s,
|
|
12
|
+
textWhite: f
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
m as default
|
|
16
16
|
};
|
package/package.json
CHANGED
package/src/styles/index.css
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Typography scale — single source of truth.
|
|
3
|
+
Body base bumped 14px -> 16px for readability/accessibility (WCAG). */
|
|
4
|
+
--font-size-body-base: 16px; /* body/base: buttons, labels, chips, cells, menus, toasts */
|
|
5
|
+
--font-size-body-sm: 14px; /* small: tooltips, timestamps, captions (was 12px) */
|
|
6
|
+
--font-size-body-lg: 18px; /* large: default tabs */
|
|
7
|
+
--font-size-label-caps: 12px; /* uppercase micro labels: table header (was 10px) */
|
|
8
|
+
|
|
9
|
+
--line-height-body-base: 24px;
|
|
10
|
+
--line-height-body-sm: 20px;
|
|
11
|
+
--line-height-body-lg: 24px;
|
|
12
|
+
}
|