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.
@@ -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: "14px",
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 e } from "@mui/material";
2
- import { jsx as i } from "react/jsx-runtime";
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 a = {
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: "12px",
14
- lineHeight: "16px",
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 = (p) => {
19
- const { slotProps: o, ...t } = p;
20
- return /* @__PURE__ */ i(e, {
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: a })
31
+ tooltip: r(o?.tooltip, { sx: s })
32
32
  }
33
33
  });
34
34
  };
@@ -1,14 +1,14 @@
1
- var _ = "_container_147nx_1", e = "_header_147nx_13", r = "_title_147nx_19", a = "_message_147nx_28", n = "_info_147nx_36", s = "_error_147nx_41", t = "_success_147nx_46", i = "_warning_147nx_51", v = "_title_info_147nx_57", x = "_title_error_147nx_61", g = "_title_success_147nx_65", o = "_title_warning_147nx_69", c = "_message_info_147nx_74", l = "_message_error_147nx_78", m = "_message_success_147nx_82", u = "_message_warning_147nx_86", f = {
2
- container: _,
3
- header: e,
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: n,
6
+ info: t,
7
7
  error: s,
8
- success: t,
9
- warning: i,
10
- title_info: v,
11
- title_error: x,
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 _ = "_contained_1cv9m_6", t = "_common_1cv9m_6", a = "_medium_1cv9m_45", e = "_small_1cv9m_50", m = "_large_1cv9m_55", r = "_error_1cv9m_65", v = "_outlined_1cv9m_124", c = "_text_1cv9m_242", o = "_textGray_1cv9m_358", l = "_textWhite_1cv9m_416", u = {
2
- "asma-ui-core-button": "_asma-ui-core-button_1cv9m_1",
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: m,
8
- error: r,
9
- outlined: v,
10
- text: c,
11
- textGray: o,
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 b, useState as re } from "react";
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 ge = 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, m = y.length < 11, c = (e) => typeof e == "object" ? e?.[W]?.toString() ?? "" : e?.toString() ?? "", p = b((e) => typeof e == "object" ? e?.[A] : e, [A]), f = b((e, t) => typeof t == "string" ? !1 : p(e) === p(t), [p]), v = (e) => {
15
- const t = p(e);
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 = b((e) => {
17
+ }, P = g((e) => {
18
18
  T(!0), n?.onOpen?.(e);
19
- }, [n]), M = b((e, t) => {
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), g = t.length - 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))), g > 0 && /* @__PURE__ */ l(D, {
69
+ }, v(o))), b > 0 && /* @__PURE__ */ l(D, {
70
70
  dataTest: "remaining-count-tag-chip",
71
- label: `+${g}`,
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-sm text-delta-700",
104
+ className: "h-fit py-[10px] text-base text-delta-700",
105
105
  children: c(t)
106
106
  })] })
107
107
  }));
108
108
  }
109
- const g = i != null && f(i, t);
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: g && /* @__PURE__ */ l(U, {
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-sm text-delta-700",
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: m ? (t) => t.preventDefault() : void 0,
143
- autoComplete: m ? "off" : "on",
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: m ? { caretColor: "transparent" } : {}
149
+ style: p ? { caretColor: "transparent" } : {}
150
150
  },
151
151
  htmlInput: {
152
152
  ...e.slotProps?.htmlInput ?? {},
153
- style: m ? { caretColor: "transparent" } : {}
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
- ge as DynamicSelectAutocomplete
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 c = (e) => /* @__PURE__ */ n(o, {
4
+ var s = (e) => /* @__PURE__ */ n(o, {
5
5
  ...e,
6
6
  sx: {
7
7
  "&.MuiMenuItem-root": {
8
- fontSize: "14px !important",
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
- c as StyledSelectItem
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: a, errorText: d, helperText: o, ...r }) => {
7
- const s = (a ?? !1) || (o ?? !1), m = a ? d ?? "Required" : o;
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
- ...r,
9
+ ...a,
10
10
  "data-testid": i,
11
11
  slotProps: {
12
- ...r.slotProps,
12
+ ...a.slotProps,
13
13
  thumb: {
14
- className: e("h-4 w-4", "before:shadow-none", 'after:h-8 after:w-8 after:content-[""]', r.orientation === "vertical" ? "mb-1 ml-0" : "ml-1", r.disabled ? "bg-delta-200" : "bg-gama-500"),
15
- ...r.slotProps?.thumb
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
- ...r.slotProps?.rail
19
+ ...a.slotProps?.rail
20
20
  },
21
21
  markLabel: {
22
- className: e("ml-1 text-sm font-semibold text-delta-600", r.orientation === "vertical" && "mb-1"),
23
- ...r.slotProps?.markLabel
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
- ...r.sx,
27
+ ...a.sx,
28
28
  "& .MuiSlider-track": {
29
- backgroundColor: r.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)",
30
- borderColor: r.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)"
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: r.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)",
39
+ backgroundColor: a.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)",
40
40
  border: "1px solid",
41
- borderColor: r.disabled ? "var(--colors-gray-200)" : "var(--colors-gama-500)",
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-sm", a ? "text-error-500" : "text-delta-600"),
48
- children: [a && /* @__PURE__ */ t(c, {
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 r } from "@mui/material";
1
+ import { FormControlLabel as l } from "@mui/material";
2
2
  import { jsx as e } from "react/jsx-runtime";
3
- var i = ({ sx: o, ...l }) => /* @__PURE__ */ e(r, {
4
- ...l,
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: "14px",
10
- lineHeight: "20px"
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 m = (e) => /* @__PURE__ */ r(t, {
4
+ var n = (e) => /* @__PURE__ */ r(t, {
5
5
  ...e,
6
6
  classes: {
7
7
  selected: "bg-gama-50",
8
- root: o("px-3 py-2.5 hover:bg-delta-50", e.classes?.root),
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
- m as StyledMenuItem
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(r) {
5
- return Array.isArray(r);
4
+ function n(o) {
5
+ return Array.isArray(o);
6
6
  }
7
- function d(r) {
8
- return r != null && !Array.isArray(r);
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
- }, f = ({ className: r, size: i = "default", sx: o, ...t }) => {
49
- const a = [c];
50
- return i === "small" && a.push(p), n(o) ? a.push(...o) : d(o) && a.push(o), /* @__PURE__ */ l(e, {
51
- ...t,
52
- className: s("relative rounded-t-lg bg-white px-4", r),
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
- ...t.slotProps,
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
- ...t.slotProps?.indicator ?? {}
62
+ ...a.slotProps?.indicator ?? {}
61
63
  }
62
64
  },
63
- sx: a
65
+ sx: t
64
66
  });
65
67
  };
66
68
  export {
67
- f as StyledTabs
69
+ m as StyledTabs
68
70
  };
@@ -1,58 +1,58 @@
1
- var e = "_tbody_1u0xz_124", _ = "_expanded_row_1u0xz_187", l = "_selected_1u0xz_205", t = "_shadowed_1u0xz_234", a = "_resizer_1u0xz_288", o = "_isResizing_1u0xz_300", r = {
2
- "asma-ui-table-styled-table": "_asma-ui-table-styled-table_1u0xz_1",
3
- "table-wrapper": "_table-wrapper_1u0xz_26",
4
- "table-shell": "_table-shell_1u0xz_33",
5
- "table-wrapper--no-rows": "_table-wrapper--no-rows_1u0xz_39",
6
- "table-wrapper--proxy": "_table-wrapper--proxy_1u0xz_42",
7
- "table-wrapper--proxy-bottom": "_table-wrapper--proxy-bottom_1u0xz_43",
8
- "table-wrapper-fetching": "_table-wrapper-fetching_1u0xz_53",
9
- "table-scroll": "_table-scroll_1u0xz_56",
10
- "table-x--fill-height": "_table-x--fill-height_1u0xz_65",
11
- "table-x": "_table-x_1u0xz_65",
12
- "table-content": "_table-content_1u0xz_80",
13
- "table-header--sticky": "_table-header--sticky_1u0xz_85",
14
- "table-hscroll": "_table-hscroll_1u0xz_90",
15
- "table-hscroll__content": "_table-hscroll__content_1u0xz_100",
16
- "no-rows-overlay-container": "_no-rows-overlay-container_1u0xz_103",
17
- "no-rows-overlay-content": "_no-rows-overlay-content_1u0xz_111",
18
- "styled-table": "_styled-table_1u0xz_115",
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-icon_1u0xz_129",
21
- "t-row": "_t-row_1u0xz_136",
22
- "t-cell": "_t-cell_1u0xz_136",
23
- "action-cell": "_action-cell_1u0xz_146",
24
- "fixed-cell": "_fixed-cell_1u0xz_150",
25
- "fixed-right-cell": "_fixed-right-cell_1u0xz_153",
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-selection_1u0xz_208",
29
- "action-cell--no-shadow": "_action-cell--no-shadow_1u0xz_225",
30
- "action-cell--not-fixed": "_action-cell--not-fixed_1u0xz_228",
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-right_1u0xz_268",
33
- "is-loading": "_is-loading_1u0xz_272",
34
- "action-cell-default-background": "_action-cell-default-background_1u0xz_275",
35
- "fixed-cell-default-background": "_fixed-cell-default-background_1u0xz_278",
36
- "fixed-right-cell-default-background": "_fixed-right-cell-default-background_1u0xz_281",
37
- "sortable-column": "_sortable-column_1u0xz_284",
38
- resizer: a,
39
- isResizing: o,
40
- "hide-table-header": "_hide-table-header_1u0xz_312",
41
- "show-table-header": "_show-table-header_1u0xz_316",
42
- "table-header": "_table-header_1u0xz_85",
43
- "hide-header": "_hide-header_1u0xz_341",
44
- "t-cell__actions": "_t-cell__actions_1u0xz_344",
45
- "t-cell__actions--no-shadow": "_t-cell__actions--no-shadow_1u0xz_352",
46
- "t-cell__actions--not-fixed": "_t-cell__actions--not-fixed_1u0xz_355",
47
- "t-cell__fixed": "_t-cell__fixed_1u0xz_362",
48
- "t-cell__fixed-right": "_t-cell__fixed-right_1u0xz_369",
49
- "sort-icon": "_sort-icon_1u0xz_376",
50
- "table-footer--sticky": "_table-footer--sticky_1u0xz_379",
51
- "table-footer--inline": "_table-footer--inline_1u0xz_390",
52
- "table-bottom": "_table-bottom_1u0xz_401",
53
- "table-bottom--sticky": "_table-bottom--sticky_1u0xz_415",
54
- "cursor-not-allowed": "_cursor-not-allowed_1u0xz_419"
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
- r as default
57
+ o as default
58
58
  };
@@ -1,16 +1,16 @@
1
- var _ = "_contained_17pcg_6", t = "_common_17pcg_6", a = "_medium_17pcg_48", e = "_small_17pcg_53", r = "_large_17pcg_58", c = "_error_17pcg_68", o = "_outlined_17pcg_130", g = "_text_17pcg_254", m = "_textGray_17pcg_378", l = "_textWhite_17pcg_440", p = {
2
- "asma-core-ui-button": "_asma-core-ui-button_17pcg_1",
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: c,
9
- outlined: o,
10
- text: g,
11
- textGray: m,
12
- textWhite: l
8
+ error: l,
9
+ outlined: v,
10
+ text: o,
11
+ textGray: s,
12
+ textWhite: f
13
13
  };
14
14
  export {
15
- p as default
15
+ m as default
16
16
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.42.1",
6
+ "version": "3.43.0",
7
7
  "type": "module",
8
8
  "sideEffects": [
9
9
  "**/*.css",
@@ -3,6 +3,7 @@
3
3
  @import 'color-variables/defaultTokens.css';
4
4
  @import 'color-variables/fretexTokens.css';
5
5
  @import 'color-variables/jadeTokens.css';
6
+ @import 'typographyTokens.css';
6
7
 
7
8
  @tailwind base;
8
9
  @tailwind components;
@@ -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
+ }