asma-ui-core 3.105.0 → 3.107.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.
Files changed (72) hide show
  1. package/dist/asma-ui-core.css +1 -1
  2. package/dist/components/custom/module/header-layout/DynamicToolbar.js +99 -97
  3. package/dist/components/custom/module/header-layout/ToolbarActionGroup.js +60 -41
  4. package/dist/components/custom/module/header-layout/ToolbarRows.js +51 -47
  5. package/dist/components/custom/module/header-layout/useTranslations.js +12 -10
  6. package/dist/components/custom/page/page-header/PageHeader.js +41 -40
  7. package/dist/components/custom/widget/widget/StyledWidget.js +21 -20
  8. package/dist/components/data-display/chip/StyledChip.js +70 -53
  9. package/dist/components/data-display/tooltip/StyledTooltip.js +116 -73
  10. package/dist/components/feedback/dialog/DialogBusyContext.js +32 -0
  11. package/dist/components/feedback/dialog/StyledDialog.js +81 -72
  12. package/dist/components/feedback/dialog/dialog-footer/StyledDialogFooter.js +76 -71
  13. package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +133 -137
  14. package/dist/components/feedback/minimizable-dialog/components/CloseBtn.js +11 -8
  15. package/dist/components/feedback/minimizable-dialog/components/FullscreenBtn.js +6 -6
  16. package/dist/components/feedback/minimizable-dialog/components/MinimizeBtn.js +1 -1
  17. package/dist/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js +108 -88
  18. package/dist/components/feedback/minimizable-dialog/v2/useTranslations.js +6 -4
  19. package/dist/components/inputs/button/StyledButton.js +83 -33
  20. package/dist/components/inputs/button/StyledButton.module.js +13 -13
  21. package/dist/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.js +32 -32
  22. package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +6 -6
  23. package/dist/components/inputs/select/StyledSelect.js +8 -8
  24. package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +14 -14
  25. package/dist/components/navigation/link/StyledLink.js +53 -26
  26. package/dist/components/navigation/link/StyledLink.module.js +6 -6
  27. package/dist/components/navigation/menu/StyledMenuItem.js +35 -30
  28. package/dist/components/navigation/tabs/StyledTab.js +23 -25
  29. package/dist/components/utils/bottom-sheet/StyledBottomSheet.js +6 -6
  30. package/dist/components/utils/copy-wrapper/CopyButton.js +4 -4
  31. package/dist/components/utils/copy-wrapper/CopyWrapper.js +4 -4
  32. package/dist/datetime/components/date-picker/components/BaseDatePickerInput.js +66 -56
  33. package/dist/datetime/components/date-picker/components/DatePickerInputSingle.js +13 -12
  34. package/dist/datetime/components/time-picker/TimePickerInput.js +47 -39
  35. package/dist/datetime/helpers/getTitleLabelling.js +10 -0
  36. package/dist/datetime/shared-components/button/StyledButton.module.js +11 -11
  37. package/dist/helpers/focusable.js +2 -2
  38. package/dist/index.js +589 -585
  39. package/dist/src/components/custom/module/header-layout/ToolbarActionGroup.d.ts +13 -2
  40. package/dist/src/components/custom/module/header-layout/ToolbarRows.d.ts +2 -1
  41. package/dist/src/components/custom/module/header-layout/planToolbarActions.d.ts +18 -1
  42. package/dist/src/components/custom/module/header-layout/useTranslations.d.ts +2 -0
  43. package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +5 -0
  44. package/dist/src/components/data-display/chip/StyledChip.d.ts +6 -0
  45. package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +7 -1
  46. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +16 -2
  47. package/dist/src/components/feedback/dialog/DialogBusy.test.d.ts +1 -0
  48. package/dist/src/components/feedback/dialog/DialogBusyContext.d.ts +28 -0
  49. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +5 -0
  50. package/dist/src/components/feedback/dialog/dialog-footer/StyledDialogFooter.d.ts +9 -8
  51. package/dist/src/components/feedback/dialog/index.d.ts +1 -0
  52. package/dist/src/components/feedback/minimizable-dialog/components/CloseBtn.d.ts +2 -0
  53. package/dist/src/components/feedback/minimizable-dialog/types.d.ts +11 -0
  54. package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +2 -0
  55. package/dist/src/components/feedback/minimizable-dialog/v2/useTranslations.d.ts +2 -0
  56. package/dist/src/components/inputs/button/StyledButton.d.ts +25 -1
  57. package/dist/src/components/inputs/button/StyledButtonBusy.test.d.ts +1 -0
  58. package/dist/src/components/navigation/link/StyledLink.d.ts +6 -0
  59. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +8 -1
  60. package/dist/src/components/navigation/tabs/StyledTab.d.ts +6 -0
  61. package/dist/src/datetime/components/date-picker/components/BaseDatePickerInput.d.ts +2 -0
  62. package/dist/src/datetime/components/date-picker/types.d.ts +6 -0
  63. package/dist/src/datetime/components/time-picker/types.d.ts +6 -1
  64. package/dist/src/datetime/helpers/getTitleLabelling.d.ts +12 -0
  65. package/dist/src/forms/submitChanged.d.ts +3 -0
  66. package/dist/src/helpers/focusable.d.ts +8 -0
  67. package/dist/src/helpers/index.d.ts +1 -0
  68. package/dist/src/helpers/uiCoreLocale.d.ts +1 -0
  69. package/dist/src/table/shared-components/StyledMenuItem.d.ts +5 -1
  70. package/dist/table/components/columns/action-column/components/RowActionMenu.js +63 -69
  71. package/dist/table/shared-components/StyledMenuItem.js +28 -16
  72. package/package.json +1 -1
@@ -1,29 +1,30 @@
1
- import { StyledInputField as G } from "../../../../components/inputs/input-field/StyledInputField.js";
2
- import { getValue as f } from "../helpers.js";
3
- import { DatePickerButton as J } from "./DatePickerButton.js";
4
- import { DATE_INPUT_FONT_FAMILY as K } from "../../../../helpers/inputMask.js";
5
- import { useDatePickerMask as Q } from "../hooks/useDatePickerMask.js";
6
- import { defaultDatePickerValidationMessages as X, useDatePickerValidation as Z } from "../hooks/useDatePickerValidation.js";
7
- import { useEffect as b, useState as k } from "react";
8
- import { jsx as m, jsxs as N } from "react/jsx-runtime";
9
- import { isValid as $, parse as ee } from "date-fns";
10
- var ce = (V) => {
11
- const { onClick: F, inputClassName: w, dateFormat: r, selected: e, error: I, helperText: H, errorText: Y, onInputChange: h, hideCalendar: B, locale: o, disabledDays: l, label: E, title: v, readOnly: t, disallowPast: i, disallowFuture: s, validateOnCalendarClose: D, onValidatedOnce: g, hideDefaultHelperText: O, required: d, minDate: n, ...u } = V, { validationError: A, handleValidation: c, errHelperText: R, clearValidation: x } = Z(X), { maskRef: S } = Q(), [a, y] = k(e ? f(e, r) : ""), [C, _] = k({
1
+ import { StyledInputField as K } from "../../../../components/inputs/input-field/StyledInputField.js";
2
+ import { getValue as h } from "../helpers.js";
3
+ import { DatePickerButton as Q } from "./DatePickerButton.js";
4
+ import { getTitleLabelling as X } from "../../../helpers/getTitleLabelling.js";
5
+ import { DATE_INPUT_FONT_FAMILY as Z } from "../../../../helpers/inputMask.js";
6
+ import { useDatePickerMask as $ } from "../hooks/useDatePickerMask.js";
7
+ import { defaultDatePickerValidationMessages as ee, useDatePickerValidation as te } from "../hooks/useDatePickerValidation.js";
8
+ import { useEffect as I, useId as ae, useState as N } from "react";
9
+ import { jsx as p, jsxs as V } from "react/jsx-runtime";
10
+ import { isValid as re, parse as oe } from "date-fns";
11
+ var he = (F) => {
12
+ const { onClick: w, inputClassName: H, dateFormat: r, selected: e, error: Y, helperText: A, errorText: B, onInputChange: v, hideCalendar: E, locale: o, disabledDays: l, label: g, title: u, inputAriaProps: O, readOnly: t, disallowPast: i, disallowFuture: s, validateOnCalendarClose: D, onValidatedOnce: x, hideDefaultHelperText: L, required: d, minDate: n, ...f } = F, { validationError: R, handleValidation: c, errHelperText: S, clearValidation: y } = te(ee), { maskRef: _ } = $(), T = ae(), [a, C] = N(e ? h(e, r) : ""), [P, j] = N({
12
13
  selected: e,
13
14
  dateFormat: r
14
15
  });
15
- (e !== C.selected || r !== C.dateFormat) && (_({
16
+ (e !== P.selected || r !== P.dateFormat) && (j({
16
17
  selected: e,
17
18
  dateFormat: r
18
- }), y(e ? f(e, r) : ""));
19
- const j = o?.code?.startsWith("nb") ? "DD/MM/ÅÅÅÅ" : "DD/MM/YYYY", L = O ? void 0 : j, T = !!(A || I), q = T ? Y ?? R : H ?? L;
20
- b(() => {
19
+ }), C(e ? h(e, r) : ""));
20
+ const q = o?.code?.startsWith("nb") ? "DD/MM/ÅÅÅÅ" : "DD/MM/YYYY", z = L ? void 0 : q, M = !!(R || Y), U = M ? B ?? S : A ?? z;
21
+ I(() => {
21
22
  if (!e) {
22
- x();
23
+ y();
23
24
  return;
24
25
  }
25
26
  c({
26
- value: f(e, r),
27
+ value: h(e, r),
27
28
  disabledDays: l,
28
29
  localeCode: o?.code,
29
30
  disallowPast: i,
@@ -41,13 +42,13 @@ var ce = (V) => {
41
42
  d,
42
43
  n,
43
44
  c,
44
- x
45
+ y
45
46
  ]);
46
- const z = /\d/.test(a), U = (p) => {
47
- const P = p.target.value;
48
- y(P.replace(/\D/g, "").length ? P : "");
47
+ const W = /\d/.test(a), G = (m) => {
48
+ const k = m.target.value;
49
+ C(k.replace(/\D/g, "").length ? k : "");
49
50
  };
50
- b(() => {
51
+ I(() => {
51
52
  D && (c({
52
53
  value: a,
53
54
  disabledDays: l,
@@ -56,7 +57,7 @@ var ce = (V) => {
56
57
  disallowFuture: s,
57
58
  required: d,
58
59
  minDate: n
59
- }), g?.());
60
+ }), x?.());
60
61
  }, [
61
62
  D,
62
63
  a,
@@ -66,10 +67,10 @@ var ce = (V) => {
66
67
  s,
67
68
  d,
68
69
  n,
69
- g,
70
+ x,
70
71
  c
71
72
  ]);
72
- const W = () => {
73
+ const J = () => {
73
74
  if (c({
74
75
  value: a,
75
76
  disabledDays: l,
@@ -80,61 +81,70 @@ var ce = (V) => {
80
81
  minDate: n
81
82
  })) return;
82
83
  if (!a.replace(/\D/g, "").length) {
83
- h?.(void 0);
84
+ v?.(void 0);
84
85
  return;
85
86
  }
86
- const p = ee(a, "dd/MM/yyyy", /* @__PURE__ */ new Date());
87
- h?.($(p) ? p : void 0);
88
- }, M = t ? 120 : 156;
89
- return /* @__PURE__ */ N("div", {
87
+ const m = oe(a, "dd/MM/yyyy", /* @__PURE__ */ new Date());
88
+ v?.(re(m) ? m : void 0);
89
+ }, b = t ? 120 : 156;
90
+ return /* @__PURE__ */ V("div", {
90
91
  className: "cursor-default",
91
- children: [v && /* @__PURE__ */ m("div", {
92
+ children: [u && /* @__PURE__ */ p("div", {
93
+ id: T,
92
94
  className: "pb-1 font-roboto font-semibold text-delta-800",
93
- children: v
94
- }), /* @__PURE__ */ N("div", {
95
+ children: u
96
+ }), /* @__PURE__ */ V("div", {
95
97
  className: "flex gap-1",
96
98
  style: { height: t ? 40 : 75 },
97
- children: [/* @__PURE__ */ m("div", {
98
- style: { width: M },
99
- children: /* @__PURE__ */ m("div", {
99
+ children: [/* @__PURE__ */ p("div", {
100
+ style: { width: b },
101
+ children: /* @__PURE__ */ p("div", {
100
102
  className: "relative",
101
- children: /* @__PURE__ */ m(G, {
102
- ...u,
103
- label: E,
103
+ children: /* @__PURE__ */ p(K, {
104
+ ...f,
105
+ label: g,
104
106
  readOnly: t,
105
- "data-testid": u.dataTest,
107
+ "data-testid": f.dataTest,
106
108
  autoComplete: "off",
107
- inputRef: t ? void 0 : S,
108
- placeholder: !t && !z ? " / / " : void 0,
109
+ inputRef: t ? void 0 : _,
110
+ placeholder: !t && !W ? " / / " : void 0,
109
111
  size: "small",
110
112
  value: t ? a.replaceAll("/", ".") : a,
111
- className: w,
112
- style: { width: M },
113
- error: T,
114
- onBlur: t ? void 0 : W,
115
- helperText: q,
113
+ className: H,
114
+ style: { width: b },
115
+ error: M,
116
+ onBlur: t ? void 0 : J,
117
+ helperText: U,
116
118
  slotProps: {
117
119
  formHelperText: { sx: {
118
120
  marginTop: "4px",
119
121
  marginLeft: 0,
120
122
  marginRight: 0
121
123
  } },
122
- htmlInput: { ...t ? {} : {
123
- inputMode: "numeric",
124
- style: { fontFamily: K }
125
- } }
124
+ htmlInput: {
125
+ ...X({
126
+ title: u,
127
+ titleId: T,
128
+ label: g,
129
+ inputAriaProps: O
130
+ }),
131
+ ...t ? {} : {
132
+ inputMode: "numeric",
133
+ style: { fontFamily: Z }
134
+ }
135
+ }
126
136
  },
127
- onChange: U
137
+ onChange: G
128
138
  })
129
139
  })
130
- }), !B && !t && /* @__PURE__ */ m(J, {
131
- onClick: F,
132
- disabled: !!u.disabled,
140
+ }), !E && !t && /* @__PURE__ */ p(Q, {
141
+ onClick: w,
142
+ disabled: !!f.disabled,
133
143
  localeCode: o?.code
134
144
  })]
135
145
  })]
136
146
  });
137
147
  };
138
148
  export {
139
- ce as BaseDatePickerInput
149
+ he as BaseDatePickerInput
140
150
  };
@@ -1,18 +1,18 @@
1
- import { BaseDatePickerInput as k } from "./BaseDatePickerInput.js";
2
- import { jsx as v } from "react/jsx-runtime";
3
- var F = ({ datePickerProps: e, onClick: a }) => {
4
- const { inputClassName: r, disabled: t, helperText: l, label: d, error: n, locale: i, hideCalendar: o, dateFormat: s, disabledDays: p, dataTest: u, readOnly: m, errorText: c, disallowFuture: C, disallowPast: h, required: x, minDate: D, validateOnCalendarClose: b, onValidatedOnce: I, onInputChange: T, selected: f, title: g, hideDefaultHelperText: O } = e;
5
- return /* @__PURE__ */ v(k, {
1
+ import { BaseDatePickerInput as v } from "./BaseDatePickerInput.js";
2
+ import { jsx as w } from "react/jsx-runtime";
3
+ var j = ({ datePickerProps: e, onClick: a }) => {
4
+ const { inputClassName: r, disabled: t, helperText: l, label: d, error: i, locale: n, hideCalendar: o, dateFormat: s, disabledDays: p, dataTest: u, readOnly: m, errorText: c, disallowFuture: C, disallowPast: h, required: x, minDate: D, validateOnCalendarClose: b, onValidatedOnce: I, onInputChange: P, selected: T, title: f, hideDefaultHelperText: g, inputAriaProps: O } = e;
5
+ return /* @__PURE__ */ w(v, {
6
6
  dataTest: u,
7
7
  inputClassName: r,
8
8
  readOnly: m,
9
9
  disabled: !!t,
10
10
  helperText: l,
11
11
  onClick: a,
12
- onInputChange: (P) => T?.(P),
13
- selected: f,
14
- error: !!n,
15
- locale: i,
12
+ onInputChange: (k) => P?.(k),
13
+ selected: T,
14
+ error: !!i,
15
+ locale: n,
16
16
  hideCalendar: o,
17
17
  dateFormat: s,
18
18
  disabledDays: p,
@@ -24,10 +24,11 @@ var F = ({ datePickerProps: e, onClick: a }) => {
24
24
  minDate: D,
25
25
  validateOnCalendarClose: b,
26
26
  onValidatedOnce: I,
27
- title: g,
28
- hideDefaultHelperText: O
27
+ title: f,
28
+ hideDefaultHelperText: g,
29
+ inputAriaProps: O
29
30
  });
30
31
  };
31
32
  export {
32
- F as DatePickerInputSingle
33
+ j as DatePickerInputSingle
33
34
  };
@@ -1,74 +1,82 @@
1
- import { ClockOutlineIcon as I } from "../../../components/icons/clock-outline-icon/ClockOutlineIcon.js";
2
- import { StyledInputField as N } from "../../../components/inputs/input-field/StyledInputField.js";
3
- import { useInputMask as y } from "../../../helpers/inputMask.js";
4
- import { HelperText as P, defaultTimePickerHelperMessages as R } from "./components/HelperText.js";
5
- import { useEffect as v, useRef as w } from "react";
6
- import { jsx as o, jsxs as H } from "react/jsx-runtime";
7
- var O = (c) => {
8
- const { placeholder: x, disabled: e, inputClassName: u, dataTest: n, width: l, error: f, helperText: h, label: g, locale: k = "en", popupState: a, handleChange: T, handleBlur: C, isValidTime: p, isValidEndTime: m, localValue: b, title: d, readOnly: t } = c, E = y({
1
+ import { ClockOutlineIcon as P } from "../../../components/icons/clock-outline-icon/ClockOutlineIcon.js";
2
+ import { StyledInputField as y } from "../../../components/inputs/input-field/StyledInputField.js";
3
+ import { getTitleLabelling as R } from "../../helpers/getTitleLabelling.js";
4
+ import { useInputMask as v } from "../../../helpers/inputMask.js";
5
+ import { HelperText as w, defaultTimePickerHelperMessages as A } from "./components/HelperText.js";
6
+ import { useEffect as H, useId as M, useRef as V } from "react";
7
+ import { jsx as l, jsxs as j } from "react/jsx-runtime";
8
+ var q = (x) => {
9
+ const { placeholder: f, disabled: e, inputClassName: h, dataTest: p, width: o, error: g, helperText: T, label: m, locale: k = "en", popupState: i, handleChange: C, handleBlur: I, isValidTime: d, isValidEndTime: c, localValue: b, title: a, readOnly: t, inputAriaProps: E } = x, N = v({
9
10
  mask: "xx:xx",
10
11
  maskChar: "x",
11
12
  showMask: !1
12
- }), i = !p || !m || !!f, s = w(null);
13
- return v(() => {
14
- s.current && a.setAnchorEl(s.current);
15
- }, []), /* @__PURE__ */ H("div", {
13
+ }), s = !d || !c || !!g, n = V(null), u = M();
14
+ return H(() => {
15
+ n.current && i.setAnchorEl(n.current);
16
+ }, []), /* @__PURE__ */ j("div", {
16
17
  style: { height: t ? "40px" : "75px" },
17
- children: [d && /* @__PURE__ */ o("div", {
18
+ children: [a && /* @__PURE__ */ l("div", {
19
+ id: u,
18
20
  className: "pb-1 font-roboto font-semibold text-delta-800",
19
- children: d
20
- }), /* @__PURE__ */ o(N, {
21
- inputRef: E,
21
+ children: a
22
+ }), /* @__PURE__ */ l(y, {
23
+ inputRef: N,
22
24
  autoComplete: "off",
23
25
  type: "text",
24
- dataTest: n,
25
- "data-testid": n,
26
- placeholder: x,
26
+ dataTest: p,
27
+ "data-testid": p,
28
+ placeholder: f,
27
29
  size: "small",
28
- error: i,
29
- helperText: /* @__PURE__ */ o(P, {
30
- isValidTime: p,
31
- isValidEndTime: m,
32
- error: i,
30
+ error: s,
31
+ helperText: /* @__PURE__ */ l(w, {
32
+ isValidTime: d,
33
+ isValidEndTime: c,
34
+ error: s,
33
35
  localization: k,
34
- helperText: h,
35
- messages: R
36
+ helperText: T,
37
+ messages: A
36
38
  }),
37
- onChange: T,
38
- onBlur: C,
39
+ onChange: C,
40
+ onBlur: I,
39
41
  slotProps: {
42
+ htmlInput: R({
43
+ title: a,
44
+ titleId: u,
45
+ label: m,
46
+ inputAriaProps: E
47
+ }),
40
48
  input: {
41
- ref: s,
49
+ ref: n,
42
50
  onClick: (r) => {
43
- !e && !t && a.open(r);
51
+ !e && !t && i.open(r);
44
52
  },
45
- endAdornment: /* @__PURE__ */ o(I, {
53
+ endAdornment: /* @__PURE__ */ l(P, {
46
54
  width: 24,
47
55
  height: 24,
48
56
  className: e ? "text-delta-300" : "text-delta-700",
49
57
  onClick: (r) => {
50
- r.stopPropagation(), !e && !t && a.open(r);
58
+ r.stopPropagation(), !e && !t && i.open(r);
51
59
  }
52
60
  })
53
61
  },
54
62
  formHelperText: {
55
- className: i ? "ml-0 mr-[14px] mt-1 leading-[23.24px]" : "mx-[14px] mt-1 leading-[23.24px]",
63
+ className: s ? "ml-0 mr-[14px] mt-1 leading-[23.24px]" : "mx-[14px] mt-1 leading-[23.24px]",
56
64
  hideErrorIcon: !0
57
65
  }
58
66
  },
59
67
  value: b,
60
68
  sx: {
61
- maxWidth: l ?? 130,
62
- width: l,
63
- minWidth: l
69
+ maxWidth: o ?? 130,
70
+ width: o,
71
+ minWidth: o
64
72
  },
65
73
  disabled: e,
66
74
  readOnly: t,
67
- className: u,
68
- label: g
75
+ className: h,
76
+ label: m
69
77
  })]
70
78
  });
71
79
  };
72
80
  export {
73
- O as TimePickerInput
81
+ q as TimePickerInput
74
82
  };
@@ -0,0 +1,10 @@
1
+ var t = ({ title: e, titleId: l, label: b, inputAriaProps: a }) => {
2
+ const r = !!b || !!a?.["aria-label"] || !!a?.["aria-labelledby"];
3
+ return {
4
+ ...e && !r ? { "aria-labelledby": l } : {},
5
+ ...a
6
+ };
7
+ };
8
+ export {
9
+ t as getTitleLabelling
10
+ };
@@ -1,16 +1,16 @@
1
- var e = "_contained_efhli_6", _ = "_common_efhli_6", t = "_medium_efhli_56", a = "_small_efhli_61", r = "_large_efhli_66", l = "_error_efhli_76", i = "_outlined_efhli_146", o = "_text_efhli_286", f = "_textGray_efhli_426", h = "_textWhite_efhli_496", m = {
2
- "asma-core-ui-button": "_asma-core-ui-button_efhli_1",
3
- contained: e,
4
- common: _,
1
+ var _ = "_contained_11nol_6", o = "_common_11nol_6", t = "_medium_11nol_56", a = "_small_11nol_61", e = "_large_11nol_66", r = "_error_11nol_76", l = "_outlined_11nol_146", n = "_text_11nol_286", m = "_textGray_11nol_426", u = "_textWhite_11nol_496", v = {
2
+ "asma-core-ui-button": "_asma-core-ui-button_11nol_1",
3
+ contained: _,
4
+ common: o,
5
5
  medium: t,
6
6
  small: a,
7
- large: r,
8
- error: l,
9
- outlined: i,
10
- text: o,
11
- textGray: f,
12
- textWhite: h
7
+ large: e,
8
+ error: r,
9
+ outlined: l,
10
+ text: n,
11
+ textGray: m,
12
+ textWhite: u
13
13
  };
14
14
  export {
15
- m as default
15
+ v as default
16
16
  };
@@ -1,6 +1,6 @@
1
- var a = (r) => r.tabIndex >= 0 && !r.matches(":disabled") && !r.closest("[inert]") && (r.checkVisibility?.() ?? !0), b = (r) => Array.from(r.querySelectorAll("*")).filter(a), l = (r) => a(r) ? r : Array.from(r.querySelectorAll("*")).find(a) ?? null, i = (r) => (r.tabIndex >= 0 || r.hasAttribute("tabindex")) && !r.matches(":disabled") && !r.closest("[inert]") && (r.checkVisibility?.() ?? !0), s = (r) => i(r) ? r : Array.from(r.querySelectorAll("*")).find(i) ?? null;
1
+ var r = (a) => a.tabIndex >= 0 && !a.matches(":disabled") && !a.closest("[inert]") && (a.checkVisibility?.() ?? !0), b = (a) => (a.tabIndex >= 0 || a.hasAttribute("tabindex")) && !a.matches(":disabled"), i = (a) => Array.from(a.querySelectorAll("*")).filter(r), l = (a) => r(a) ? a : Array.from(a.querySelectorAll("*")).find(r) ?? null, s = (a) => b(a) ? a : Array.from(a.querySelectorAll("*")).find(b) ?? null;
2
2
  export {
3
3
  s as firstFocusable,
4
4
  l as firstTabbable,
5
- b as tabbableWithin
5
+ i as tabbableWithin
6
6
  };