urfu-ui-kit-react 2.1.7-next.4 → 2.1.7-next.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.
Files changed (150) hide show
  1. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  2. package/dist/components/Accordion/Accordion.js +16 -15
  3. package/dist/components/BreadCrumbs/BreadCrumbs.d.ts.map +1 -1
  4. package/dist/components/BreadCrumbs/BreadCrumbs.js +23 -22
  5. package/dist/components/Button/Button.d.ts.map +1 -1
  6. package/dist/components/Button/Button.js +51 -50
  7. package/dist/components/Button/ButtonRefreshIcon.d.ts.map +1 -1
  8. package/dist/components/Button/ButtonRefreshIcon.js +9 -8
  9. package/dist/components/Calendar/Calendar.js +232 -232
  10. package/dist/components/Calendar/CalendarSelect.d.ts.map +1 -1
  11. package/dist/components/Calendar/CalendarSelect.js +41 -40
  12. package/dist/components/Card/Card.d.ts.map +1 -1
  13. package/dist/components/Card/Card.js +59 -58
  14. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  15. package/dist/components/Checkbox/Checkbox.js +20 -19
  16. package/dist/components/ColumnSettings/ColumnSettings.d.ts.map +1 -1
  17. package/dist/components/ColumnSettings/ColumnSettings.js +112 -111
  18. package/dist/components/ConfirmModal/ConfirmModal.d.ts.map +1 -1
  19. package/dist/components/ConfirmModal/ConfirmModal.js +30 -29
  20. package/dist/components/Drawer/Drawer.js +57 -57
  21. package/dist/components/ErrorScreen/ErrorScreen.d.ts.map +1 -1
  22. package/dist/components/ErrorScreen/ErrorScreen.js +151 -150
  23. package/dist/components/ErrorScreen/ErrorScreenIllustration.d.ts.map +1 -1
  24. package/dist/components/ErrorScreen/ErrorScreenIllustration.js +35 -34
  25. package/dist/components/FormField/FormField.d.ts.map +1 -1
  26. package/dist/components/FormField/FormField.js +30 -29
  27. package/dist/components/Icon/Icon.d.ts.map +1 -1
  28. package/dist/components/Icon/Icon.js +17 -16
  29. package/dist/components/InfiniteScroll/InfiniteScroll.d.ts.map +1 -1
  30. package/dist/components/InfiniteScroll/InfiniteScroll.js +23 -22
  31. package/dist/components/InputExpandTextarea/InputExpandTextarea.d.ts.map +1 -1
  32. package/dist/components/InputExpandTextarea/InputExpandTextarea.js +88 -87
  33. package/dist/components/InputFile/InputFile.d.ts.map +1 -1
  34. package/dist/components/InputFile/InputFile.js +99 -98
  35. package/dist/components/InputNumber/InputNumber.d.ts.map +1 -1
  36. package/dist/components/InputNumber/InputNumber.js +112 -111
  37. package/dist/components/InputText/InputAffix.d.ts.map +1 -1
  38. package/dist/components/InputText/InputAffix.js +69 -68
  39. package/dist/components/InputText/InputText.d.ts.map +1 -1
  40. package/dist/components/InputText/InputText.js +108 -107
  41. package/dist/components/InputTime/InputTime.d.ts.map +1 -1
  42. package/dist/components/InputTime/InputTime.js +202 -201
  43. package/dist/components/InputTime/InputTimeDropdown.d.ts.map +1 -1
  44. package/dist/components/InputTime/InputTimeDropdown.js +21 -20
  45. package/dist/components/Menu/Menu.d.ts.map +1 -1
  46. package/dist/components/Menu/Menu.js +58 -57
  47. package/dist/components/Message/Message.d.ts.map +1 -1
  48. package/dist/components/Message/Message.js +19 -18
  49. package/dist/components/Modal/Modal.js +66 -66
  50. package/dist/components/Modal/useModalTitleClearance.d.ts.map +1 -1
  51. package/dist/components/Modal/useModalTitleClearance.js +34 -33
  52. package/dist/components/Multiselect/Multiselect.js +222 -222
  53. package/dist/components/Notification/Notification.js +90 -90
  54. package/dist/components/OfflineBanner/OfflineBanner.d.ts.map +1 -1
  55. package/dist/components/OfflineBanner/OfflineBanner.js +40 -37
  56. package/dist/components/Pagination/Pagination.d.ts.map +1 -1
  57. package/dist/components/Pagination/Pagination.js +59 -58
  58. package/dist/components/Preloader/Preloader.d.ts.map +1 -1
  59. package/dist/components/Preloader/Preloader.js +28 -27
  60. package/dist/components/Radio/Radio.d.ts.map +1 -1
  61. package/dist/components/Radio/Radio.js +21 -20
  62. package/dist/components/Search/Search.d.ts.map +1 -1
  63. package/dist/components/Search/Search.js +33 -32
  64. package/dist/components/SearchSelect/SearchSelect.js +178 -178
  65. package/dist/components/SearchSelect/SearchSelectOption.d.ts.map +1 -1
  66. package/dist/components/SearchSelect/SearchSelectOption.js +21 -20
  67. package/dist/components/Select/MobileOptionSheet.d.ts.map +1 -1
  68. package/dist/components/Select/MobileOptionSheet.js +65 -64
  69. package/dist/components/Select/Select.js +184 -184
  70. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
  71. package/dist/components/Skeleton/Skeleton.js +26 -25
  72. package/dist/components/Status/Status.d.ts.map +1 -1
  73. package/dist/components/Status/Status.js +36 -35
  74. package/dist/components/StickyActionBar/StickyActionBar.d.ts.map +1 -1
  75. package/dist/components/StickyActionBar/StickyActionBar.js +36 -35
  76. package/dist/components/Switch/Switch.d.ts.map +1 -1
  77. package/dist/components/Switch/Switch.js +19 -18
  78. package/dist/components/Table/Filter/DefaultInput.d.ts.map +1 -1
  79. package/dist/components/Table/Filter/DefaultInput.js +12 -11
  80. package/dist/components/Table/Filter/Filter.d.ts.map +1 -1
  81. package/dist/components/Table/Filter/Filter.js +99 -98
  82. package/dist/components/Table/Filter/FilterBooleanBox.d.ts.map +1 -1
  83. package/dist/components/Table/Filter/FilterBooleanBox.js +7 -6
  84. package/dist/components/Table/Filter/FilterBoxShell.js +48 -48
  85. package/dist/components/Table/Filter/FilterDateBox.d.ts.map +1 -1
  86. package/dist/components/Table/Filter/FilterDateBox.js +65 -64
  87. package/dist/components/Table/Filter/FilterSortIndicator.d.ts.map +1 -1
  88. package/dist/components/Table/Filter/FilterSortIndicator.js +8 -7
  89. package/dist/components/Table/Filter/SelectFilter.js +53 -53
  90. package/dist/components/Table/Filter/TableFilterOptions.d.ts.map +1 -1
  91. package/dist/components/Table/Filter/TableFilterOptions.js +141 -140
  92. package/dist/components/Table/Filter/TableFilterSortButton.d.ts.map +1 -1
  93. package/dist/components/Table/Filter/TableFilterSortButton.js +10 -9
  94. package/dist/components/Table/Filter/useVirtualOptionWindow.d.ts.map +1 -1
  95. package/dist/components/Table/Filter/useVirtualOptionWindow.js +9 -8
  96. package/dist/components/Table/Skeleton/createSkeletonColumns.d.ts.map +1 -1
  97. package/dist/components/Table/Skeleton/createSkeletonColumns.js +9 -8
  98. package/dist/components/Table/Table.d.ts.map +1 -1
  99. package/dist/components/Table/Table.helpers.d.ts.map +1 -1
  100. package/dist/components/Table/Table.helpers.js +31 -30
  101. package/dist/components/Table/Table.js +253 -252
  102. package/dist/components/Table/TableHead.d.ts.map +1 -1
  103. package/dist/components/Table/TableHead.js +92 -91
  104. package/dist/components/Table/TableMobileCard.d.ts.map +1 -1
  105. package/dist/components/Table/TableMobileCard.js +121 -120
  106. package/dist/components/Table/TableMobileFilters.d.ts.map +1 -1
  107. package/dist/components/Table/TableMobileFilters.js +28 -27
  108. package/dist/components/Table/TableMobileView.d.ts.map +1 -1
  109. package/dist/components/Table/TableMobileView.js +178 -177
  110. package/dist/components/Table/TableRow.d.ts.map +1 -1
  111. package/dist/components/Table/TableRow.js +59 -58
  112. package/dist/components/Table/useTableColumnPinning.d.ts +2 -917
  113. package/dist/components/Table/useTableColumnPinning.d.ts.map +1 -1
  114. package/dist/components/Table/useTableColumnPinning.js +21 -20
  115. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  116. package/dist/components/Tabs/Tabs.js +102 -101
  117. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  118. package/dist/components/Textarea/Textarea.js +70 -69
  119. package/dist/components/Tooltip/Tooltip.js +106 -106
  120. package/dist/components/TreeView/TreeView.js +183 -183
  121. package/dist/components/VirtualList/VirtualList.d.ts.map +1 -1
  122. package/dist/components/VirtualList/VirtualList.js +42 -41
  123. package/dist/dev/index.js +1 -1
  124. package/dist/hooks/useAutoId.d.ts.map +1 -1
  125. package/dist/hooks/useAutoId.js +7 -6
  126. package/dist/hooks/useSelectEngine.d.ts.map +1 -1
  127. package/dist/hooks/useSelectEngine.js +31 -30
  128. package/dist/index.d.ts +2 -1
  129. package/dist/index.d.ts.map +1 -1
  130. package/dist/responsive/uiKitResponsive.d.ts +6 -0
  131. package/dist/responsive/uiKitResponsive.d.ts.map +1 -1
  132. package/dist/responsive/uiKitResponsive.js +27 -26
  133. package/dist/shared/kitCopy.js +1 -1
  134. package/dist/shared/optionStateColors.d.ts +3 -2
  135. package/dist/shared/optionStateColors.d.ts.map +1 -1
  136. package/dist/shared/optionStateColors.js +9 -4
  137. package/dist/shared/popupTransition.d.ts.map +1 -1
  138. package/dist/shared/popupTransition.js +7 -6
  139. package/dist/shared/sheetTitle.d.ts +2 -1
  140. package/dist/shared/sheetTitle.d.ts.map +1 -1
  141. package/dist/shared/size.d.ts.map +1 -1
  142. package/dist/shared/size.js +3 -2
  143. package/dist/shared/uiKitDefaults.d.ts +21 -0
  144. package/dist/shared/uiKitDefaults.d.ts.map +1 -1
  145. package/dist/shared/uiKitDefaults.js +32 -18
  146. package/dist/style.shell.lk.css +53 -0
  147. package/dist/urfu-ui-kit-react.js +27 -26
  148. package/dist/vanilla/core/describeError.js +1 -1
  149. package/dist/vanilla/core/sheetTitle.js +7 -7
  150. package/package.json +3 -1
@@ -1 +1 @@
1
- {"version":3,"file":"useTableColumnPinning.d.ts","sourceRoot":"","sources":["../../../src/components/Table/useTableColumnPinning.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAa5D,uEAAuE;AACvE,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,EAC3E,OAAO,EAAE,sBAAsB,CAAC,GAAG,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO;;;;;;;;;;;;;;;;;;;sBAyB3B,GAAG;6BAG9C,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAHwC,GAAG;8BAG9C,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiCf"}
1
+ {"version":3,"file":"useTableColumnPinning.d.ts","sourceRoot":"","sources":["../../../src/components/Table/useTableColumnPinning.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAc5D,uEAAuE;AACvE,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,EAC3E,OAAO,EAAE,sBAAsB,CAAC,GAAG,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO;;;;;;;;;;;;;;;;;;;sBAwB1D,GAAG;6BACU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoCxC"}
@@ -1,51 +1,52 @@
1
- import { useMemo as b, useState as L, useLayoutEffect as z } from "react";
1
+ import { useMemo as L, useState as $, useLayoutEffect as z } from "react";
2
+ import { getUiKitPrefix$u as g } from "../../shared/uiKitDefaults.js";
2
3
  const u = (i) => i.sticky === !0 || i.sticky === "left" ? "left" : i.sticky === "right" ? "right" : void 0;
3
- function q(i) {
4
+ function P(i) {
4
5
  return i.some((n) => typeof n.sticky == "string") ? [
5
6
  ...i.filter((n) => u(n) === "left"),
6
7
  ...i.filter((n) => !u(n)),
7
8
  ...i.filter((n) => u(n) === "right")
8
9
  ] : i;
9
10
  }
10
- function C(i, n, h, m) {
11
- const o = b(() => h ? q(n) : n, [n, h]), p = o.some((t) => !!u(t)), [y, E] = L({ overflow: !1, widths: [] });
11
+ function C(i, n, h, E) {
12
+ const o = L(() => h ? P(n) : n, [n, h]), v = o.some((t) => !!u(t)), [p, S] = $({ overflow: !1, widths: [] });
12
13
  z(() => {
13
- var v;
14
+ var k;
14
15
  const t = i.current, e = t == null ? void 0 : t.querySelector("table");
15
- if (!h || !p || !t || !e) return;
16
+ if (!h || !v || !t || !e) return;
16
17
  let s = !1;
17
18
  const f = Array.from(e.querySelectorAll("thead > tr:first-child > th"));
18
- f.length || f.push(...e.querySelectorAll("tbody > tr:not(.u-empty-table-row) > td"));
19
+ f.length || f.push(...e.querySelectorAll(`tbody > tr:not(.${g()}-empty-table-row) > td`));
19
20
  const c = () => {
20
21
  if (s) return;
21
- const l = f.slice(0, o.length).map((d) => d.getBoundingClientRect().width), k = t.clientWidth > 0 && t.scrollWidth > t.clientWidth + 1;
22
- E((d) => d.overflow === k && d.widths.length === l.length && d.widths.every((S, O) => S === l[O]) ? d : { overflow: k, widths: l });
22
+ const l = f.slice(0, o.length).map((d) => d.getBoundingClientRect().width), m = t.clientWidth > 0 && t.scrollWidth > t.clientWidth + 1;
23
+ S((d) => d.overflow === m && d.widths.length === l.length && d.widths.every((O, b) => O === l[b]) ? d : { overflow: m, widths: l });
23
24
  };
24
25
  c();
25
26
  const r = typeof ResizeObserver > "u" ? null : new ResizeObserver(c);
26
- return r == null || r.observe(t), r == null || r.observe(e), f.slice(0, o.length).forEach((l) => r == null ? void 0 : r.observe(l)), window.addEventListener("resize", c), (v = document.fonts) == null || v.addEventListener("loadingdone", c), () => {
27
+ return r == null || r.observe(t), r == null || r.observe(e), f.slice(0, o.length).forEach((l) => r == null ? void 0 : r.observe(l)), window.addEventListener("resize", c), (k = document.fonts) == null || k.addEventListener("loadingdone", c), () => {
27
28
  var l;
28
29
  s = !0, r == null || r.disconnect(), window.removeEventListener("resize", c), (l = document.fonts) == null || l.removeEventListener("loadingdone", c);
29
30
  };
30
- }, [i, o, h, p, m]);
31
- const a = o.map((t) => h && (!t.stickyOverflowOnly || y.overflow) ? u(t) : void 0), g = { left: 0, right: 0 }, w = [];
31
+ }, [i, o, h, v, E]);
32
+ const a = o.map((t) => h && (!t.stickyOverflowOnly || p.overflow) ? u(t) : void 0), w = { left: 0, right: 0 }, y = [];
32
33
  o.forEach((t, e) => {
33
- a[e] === "left" && (w[e] = g.left, g.left += y.widths[e] || t.width || 0);
34
+ a[e] === "left" && (y[e] = w.left, w.left += p.widths[e] || t.width || 0);
34
35
  });
35
36
  for (let t = o.length - 1; t >= 0; t--)
36
- a[t] === "right" && (w[t] = g.right, g.right += y.widths[t] || o[t].width || 0);
37
+ a[t] === "right" && (y[t] = w.right, w.right += p.widths[t] || o[t].width || 0);
37
38
  return o.map((t, e) => {
38
39
  const s = a[e];
39
40
  if (!s) return t.sticky ? { ...t, sticky: !1 } : t;
40
41
  const f = s === "left" ? a.lastIndexOf("left") === e : a.indexOf("right") === e;
41
42
  return { ...t, sticky: !0, cellStyle: {
42
43
  ...t.cellStyle,
43
- left: s === "left" ? w[e] : "auto",
44
- right: s === "right" ? w[e] : "auto",
45
- "--u-table-pin-shadow-left": s === "right" ? "calc(-4 * var(--u-unit, 1px))" : "auto",
46
- "--u-table-pin-shadow-right": s === "left" ? "calc(-4 * var(--u-unit, 1px))" : "auto",
47
- "--u-table-pin-shadow-transform": s === "right" ? "none" : "matrix(-1, 0, 0, 1, 0, 0)",
48
- "--u-table-pin-shadow-display": f ? "block" : "none"
44
+ left: s === "left" ? y[e] : "auto",
45
+ right: s === "right" ? y[e] : "auto",
46
+ [`--${g()}-table-pin-shadow-left`]: s === "right" ? "calc(-4 * var(--u-unit, 1px))" : "auto",
47
+ [`--${g()}-table-pin-shadow-right`]: s === "left" ? "calc(-4 * var(--u-unit, 1px))" : "auto",
48
+ [`--${g()}-table-pin-shadow-transform`]: s === "right" ? "none" : "matrix(-1, 0, 0, 1, 0, 0)",
49
+ [`--${g()}-table-pin-shadow-display`]: f ? "block" : "none"
49
50
  } };
50
51
  });
51
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,mDAAmD,CAAC;AAC3D,OAAO,aAAa,CAAC;AACrB,OAAO,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAsB,cAAc,EAAE,MAAM,cAAc,CAAC;AA2BvE,eAAO,MAAM,IAAI,GAAI,wHAWlB,cAAc,4CA8LhB,CAAC"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,mDAAmD,CAAC;AAC3D,OAAO,aAAa,CAAC;AACrB,OAAO,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAsB,cAAc,EAAE,MAAM,cAAc,CAAC;AA4BvE,eAAO,MAAM,IAAI,GAAI,wHAWlB,cAAc,4CA8LhB,CAAC"}
@@ -1,148 +1,149 @@
1
- import { jsxs as a, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as m, jsx as n } from "react/jsx-runtime";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- import { useState as D, useRef as p, useEffect as ee, Fragment as oe } from "react";
7
- import { Icon$u as b } from "../Icon/Icon.js";
8
- import { Tooltip$u as te } from "../Tooltip/Tooltip.js";
9
- import { useDismiss$u as re } from "../../hooks/useDismiss.js";
10
- import { useMountTransition$u as ne } from "../../hooks/useMountTransition.js";
11
- import { getPopupTransitionStyle$u as se, POPUP_TRANSITION_MS$u as ie } from "../../shared/popupTransition.js";
12
- import { useTabsOverflow$u as le } from "./useTabsOverflow.js";
13
- import { useTabsIndicator$u as ae } from "./useTabsIndicator.js";
14
- import { useTabsScroll$u as ce } from "./useTabsScroll.js";
15
- import { useAutoId$u as ue } from "../../hooks/useAutoId.js";
16
- import { isPlainLeftClick$u as me } from "../../vanilla/core/linkClick.js";
17
- const de = [], Se = ({
18
- onClick: h,
19
- tabsData: n = de,
20
- activeTab: m,
21
- className: w = "",
22
- variant: g = "line",
23
- fullWidth: y = !1,
24
- tooltipOn: U = !1,
25
- tooltipDisabled: _ = !1,
26
- LinkComponent: $,
27
- ariaLabel: B
6
+ import { useState as oe, useRef as h, useEffect as te, Fragment as re } from "react";
7
+ import { Icon$u as $ } from "../Icon/Icon.js";
8
+ import { Tooltip$u as ne } from "../Tooltip/Tooltip.js";
9
+ import { useDismiss$u as se } from "../../hooks/useDismiss.js";
10
+ import { useMountTransition$u as ie } from "../../hooks/useMountTransition.js";
11
+ import { getPopupTransitionStyle$u as le, POPUP_TRANSITION_MS$u as ae } from "../../shared/popupTransition.js";
12
+ import { useTabsOverflow$u as ce } from "./useTabsOverflow.js";
13
+ import { useTabsIndicator$u as me } from "./useTabsIndicator.js";
14
+ import { useTabsScroll$u as de } from "./useTabsScroll.js";
15
+ import { useAutoId$u as fe } from "../../hooks/useAutoId.js";
16
+ import { kitCls$u as r, getUiKitPrefix$u as l } from "../../shared/uiKitDefaults.js";
17
+ import { isPlainLeftClick$u as ue } from "../../vanilla/core/linkClick.js";
18
+ const pe = [], Ee = ({
19
+ onClick: g,
20
+ tabsData: s = pe,
21
+ activeTab: u,
22
+ className: k = "",
23
+ variant: y = "line",
24
+ fullWidth: N = !1,
25
+ tooltipOn: _ = !1,
26
+ tooltipDisabled: B = !1,
27
+ LinkComponent: R,
28
+ ariaLabel: j
28
29
  }) => {
29
- const { containerRef: K, measureRef: j, moreMeasureRef: q, visible: z, overflow: u, paddingOf: F, morePadding: L, promote: H } = le(n, m, y, g !== "segment"), [d, c] = D(!1), R = p(null), N = p(null), k = p(null), A = ue(void 0, "u-tabs-menu"), { shouldRender: J, status: Y, isAnimated: G } = ne({ isOpen: d, duration: ie }), O = p(u);
30
- d && (O.current = u);
31
- const f = g === "segment", T = n.some((e) => e.url), v = f ? "u-tab-segment" : "u-tab-line", Q = f ? "u-tab-segment-active" : "u-tab-active", { trackRef: I, indicatorRef: V } = ae(m, `${g}|${y}|${JSON.stringify(n.map((e) => e.id))}`);
32
- ce(I, !f, m), re({ refs: [R], enabled: d, onDismiss: () => c(!1) }), ee(() => {
33
- u.length || c(!1);
34
- }, [u.length]);
35
- const P = (e) => {
36
- var t, s;
37
- if ((t = n[e]) != null && t.disabled) return;
38
- const o = u.includes(e);
39
- H(e), c(!1), h == null || h(n[e]), o && ((s = N.current) == null || s.focus({ preventScroll: !0 }));
40
- }, S = () => {
30
+ const { containerRef: q, measureRef: z, moreMeasureRef: F, visible: L, overflow: f, paddingOf: H, morePadding: J, promote: Y } = ce(s, u, N, y !== "segment"), [p, d] = oe(!1), A = h(null), v = h(null), O = h(null), T = fe(void 0, r("tabs-menu")), { shouldRender: G, status: Q, isAnimated: V } = ie({ isOpen: p, duration: ae }), I = h(f);
31
+ p && (I.current = f);
32
+ const b = y === "segment", P = s.some((e) => e.url), w = b ? r("tab-segment") : r("tab-line"), X = b ? r("tab-segment-active") : r("tab-active"), { trackRef: S, indicatorRef: Z } = me(u, `${y}|${N}|${JSON.stringify(s.map((e) => e.id))}`);
33
+ de(S, !b, u), se({ refs: [A], enabled: p, onDismiss: () => d(!1) }), te(() => {
34
+ f.length || d(!1);
35
+ }, [f.length]);
36
+ const M = (e) => {
37
+ var t, i;
38
+ if ((t = s[e]) != null && t.disabled) return;
39
+ const o = f.includes(e);
40
+ Y(e), d(!1), g == null || g(s[e]), o && ((i = v.current) == null || i.focus({ preventScroll: !0 }));
41
+ }, C = () => {
41
42
  var e;
42
- return Array.from(((e = k.current) == null ? void 0 : e.querySelectorAll('[role="menuitem"]:not([aria-disabled="true"])')) || []);
43
- }, X = (e) => {
43
+ return Array.from(((e = O.current) == null ? void 0 : e.querySelectorAll('[role="menuitem"]:not([aria-disabled="true"])')) || []);
44
+ }, W = (e) => {
44
45
  var t;
45
- const o = S();
46
+ const o = C();
46
47
  (t = o[e < 0 ? o.length - 1 : e]) == null || t.focus();
47
- }, Z = (e) => {
48
- var i, l;
49
- const o = S(), t = o.indexOf(document.activeElement), s = e.key === "ArrowDown" ? (t + 1) % o.length : e.key === "ArrowUp" ? (t - 1 + o.length) % o.length : e.key === "Home" ? 0 : e.key === "End" ? o.length - 1 : -1;
50
- s >= 0 ? (e.preventDefault(), (i = o[s]) == null || i.focus()) : e.key === "Escape" && (e.preventDefault(), c(!1), (l = N.current) == null || l.focus());
51
- }, M = (e) => /* @__PURE__ */ r("span", { className: "u-tabs-title", "data-label": e.title, children: e.title }), W = (e) => {
52
- if (!e.icon) return M(e);
48
+ }, x = (e) => {
49
+ var a, c;
50
+ const o = C(), t = o.indexOf(document.activeElement), i = e.key === "ArrowDown" ? (t + 1) % o.length : e.key === "ArrowUp" ? (t - 1 + o.length) % o.length : e.key === "Home" ? 0 : e.key === "End" ? o.length - 1 : -1;
51
+ i >= 0 ? (e.preventDefault(), (a = o[i]) == null || a.focus()) : e.key === "Escape" && (e.preventDefault(), d(!1), (c = v.current) == null || c.focus());
52
+ }, E = (e) => /* @__PURE__ */ n("span", { className: r("tabs-title"), "data-label": e.title, children: e.title }), D = (e) => {
53
+ if (!e.icon) return E(e);
53
54
  const o = e.iconPosition === "right";
54
- return /* @__PURE__ */ a("span", { className: `u-tabs-content${o ? " u-tabs-content-reverse" : ""}`, children: [
55
- /* @__PURE__ */ r(b, { name: e.icon, className: "u-tabs-icon" }),
56
- !e.iconOnly && M(e)
55
+ return /* @__PURE__ */ m("span", { className: `${l()}-tabs-content${o ? ` ${l()}-tabs-content-reverse` : ""}`, children: [
56
+ /* @__PURE__ */ n($, { name: e.icon, className: r("tabs-icon") }),
57
+ !e.iconOnly && E(e)
57
58
  ] });
58
- }, C = (e, o, t, s = !1) => {
59
- const i = n[e];
60
- if (!i.url)
61
- return /* @__PURE__ */ r("button", { type: "button", ...o, onClick: s ? void 0 : () => P(e), children: t });
62
- if (s || i.disabled)
63
- return /* @__PURE__ */ r("a", { ...o, role: o.role ?? (s ? void 0 : "link"), children: t });
64
- const l = (x) => {
65
- me(x) && P(e);
59
+ }, U = (e, o, t, i = !1) => {
60
+ const a = s[e];
61
+ if (!a.url)
62
+ return /* @__PURE__ */ n("button", { type: "button", ...o, onClick: i ? void 0 : () => M(e), children: t });
63
+ if (i || a.disabled)
64
+ return /* @__PURE__ */ n("a", { ...o, role: o.role ?? (i ? void 0 : "link"), children: t });
65
+ const c = (ee) => {
66
+ ue(ee) && M(e);
66
67
  };
67
- return $ ? /* @__PURE__ */ r($, { to: i.url, ...o, onClick: l, children: t }) : /* @__PURE__ */ r("a", { href: i.url, ...o, onClick: l, children: t });
68
- }, E = (e, o = !1) => {
69
- const t = n[e], s = !!(t.icon && t.iconOnly), i = t.icon ? s ? " u-tab-icon-only" : ` u-tab-with-icon${t.iconPosition === "right" ? " u-tab-icon-right" : ""}` : "", l = C(e, {
70
- className: `${v}${i}${t.id === m ? ` ${Q}` : ""}${t.disabled ? " u-tab--disabled" : ""}`,
71
- "data-label": s ? void 0 : t.title,
72
- "aria-label": s ? t.title : void 0,
68
+ return R ? /* @__PURE__ */ n(R, { to: a.url, ...o, onClick: c, children: t }) : /* @__PURE__ */ n("a", { href: a.url, ...o, onClick: c, children: t });
69
+ }, K = (e, o = !1) => {
70
+ const t = s[e], i = !!(t.icon && t.iconOnly), a = t.icon ? i ? ` ${l()}-tab-icon-only` : ` ${l()}-tab-with-icon${t.iconPosition === "right" ? ` ${l()}-tab-icon-right` : ""}` : "", c = U(e, {
71
+ className: `${w}${a}${t.id === u ? ` ${X}` : ""}${t.disabled ? ` ${l()}-tab--disabled` : ""}`,
72
+ "data-label": i ? void 0 : t.title,
73
+ "aria-label": i ? t.title : void 0,
73
74
  "data-measure-tab": o ? "" : void 0,
74
75
  // Не хватает места — сначала ужимаются отступы вкладок, подпись остаётся целой.
75
- style: o ? void 0 : F(e),
76
+ style: o ? void 0 : H(e),
76
77
  // Отключённая вкладка не попадает в обход по Tab; нативный disabled не ставим —
77
78
  // он гасит события мыши, и подсказка с объяснением не показалась бы.
78
79
  tabIndex: o || t.disabled ? -1 : void 0,
79
- "aria-current": !o && t.id === m ? "page" : void 0,
80
+ "aria-current": !o && t.id === u ? "page" : void 0,
80
81
  "aria-disabled": !o && t.disabled ? "true" : void 0
81
- }, W(t), o);
82
- return /* @__PURE__ */ r("div", { className: "u-tabs-item", children: U && !_ && !o ? /* @__PURE__ */ r(te, { tooltipText: t.title, portalOn: !0, className: "u-tabs-tooltip", children: l }) : l }, e);
82
+ }, D(t), o);
83
+ return /* @__PURE__ */ n("div", { className: r("tabs-item"), children: _ && !B && !o ? /* @__PURE__ */ n(ne, { tooltipText: t.title, portalOn: !0, className: r("tabs-tooltip"), children: c }) : c }, e);
83
84
  };
84
- return /* @__PURE__ */ a(
85
- T ? "nav" : "div",
85
+ return /* @__PURE__ */ m(
86
+ P ? "nav" : "div",
86
87
  {
87
- ref: K,
88
- className: `u-tabs ${f ? "u-tabs-segment" : "u-tabs-line"}${y ? " u-tabs-full-width" : ""}${w ? ` ${w}` : ""}`,
89
- "aria-label": T ? B : void 0,
88
+ ref: q,
89
+ className: `${l()}-tabs ${b ? r("tabs-segment") : r("tabs-line")}${N ? ` ${l()}-tabs-full-width` : ""}${k ? ` ${k}` : ""}`,
90
+ "aria-label": P ? j : void 0,
90
91
  children: [
91
- /* @__PURE__ */ a("div", { className: "u-tabs-track", ref: I, children: [
92
- /* @__PURE__ */ r("span", { className: "u-tabs-indicator", ref: V, "aria-hidden": "true" }),
93
- z.map((e) => E(e)),
94
- u.length > 0 && /* @__PURE__ */ a(
92
+ /* @__PURE__ */ m("div", { className: r("tabs-track"), ref: S, children: [
93
+ /* @__PURE__ */ n("span", { className: r("tabs-indicator"), ref: Z, "aria-hidden": "true" }),
94
+ L.map((e) => K(e)),
95
+ f.length > 0 && /* @__PURE__ */ m(
95
96
  "div",
96
97
  {
97
- className: "u-tabs-more",
98
- ref: R,
99
- onKeyDown: Z,
98
+ className: r("tabs-more"),
99
+ ref: A,
100
+ onKeyDown: x,
100
101
  onBlur: (e) => {
101
102
  const o = e.relatedTarget;
102
- o && !e.currentTarget.contains(o) && c(!1);
103
+ o && !e.currentTarget.contains(o) && d(!1);
103
104
  },
104
105
  children: [
105
- /* @__PURE__ */ a(
106
+ /* @__PURE__ */ m(
106
107
  "button",
107
108
  {
108
109
  type: "button",
109
- ref: N,
110
- className: `${v} u-tabs-more-trigger`,
111
- style: L(),
112
- "aria-expanded": d,
110
+ ref: v,
111
+ className: `${w} ${l()}-tabs-more-trigger`,
112
+ style: J(),
113
+ "aria-expanded": p,
113
114
  "aria-haspopup": "menu",
114
- "aria-controls": A,
115
- onClick: () => c((e) => !e),
115
+ "aria-controls": T,
116
+ onClick: () => d((e) => !e),
116
117
  onKeyDown: (e) => {
117
- (e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), e.stopPropagation(), c(!0), requestAnimationFrame(() => X(e.key === "ArrowUp" ? -1 : 0)));
118
+ (e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), e.stopPropagation(), d(!0), requestAnimationFrame(() => W(e.key === "ArrowUp" ? -1 : 0)));
118
119
  },
119
120
  children: [
120
- /* @__PURE__ */ r("span", { children: "Ещё" }),
121
- /* @__PURE__ */ r(b, { name: "down", size: 14, rotate: d ? 180 : 0 })
121
+ /* @__PURE__ */ n("span", { children: "Ещё" }),
122
+ /* @__PURE__ */ n($, { name: "down", size: 14, rotate: p ? 180 : 0 })
122
123
  ]
123
124
  }
124
125
  ),
125
- J && /* @__PURE__ */ r("div", { className: "u-tabs-more-menu", role: "menu", id: A, ref: k, style: se(Y, G), children: O.current.filter((e) => n[e]).map((e) => /* @__PURE__ */ r(oe, { children: C(e, {
126
+ G && /* @__PURE__ */ n("div", { className: r("tabs-more-menu"), role: "menu", id: T, ref: O, style: le(Q, V), children: I.current.filter((e) => s[e]).map((e) => /* @__PURE__ */ n(re, { children: U(e, {
126
127
  role: "menuitem",
127
- "aria-disabled": n[e].disabled ? "true" : void 0,
128
- tabIndex: n[e].disabled ? -1 : void 0
129
- }, n[e].icon ? /* @__PURE__ */ a("span", { className: "u-tabs-content", children: [
130
- /* @__PURE__ */ r(b, { name: n[e].icon, className: "u-tabs-icon" }),
131
- /* @__PURE__ */ r("span", { children: n[e].title })
132
- ] }) : n[e].title) }, e)) })
128
+ "aria-disabled": s[e].disabled ? "true" : void 0,
129
+ tabIndex: s[e].disabled ? -1 : void 0
130
+ }, s[e].icon ? /* @__PURE__ */ m("span", { className: r("tabs-content"), children: [
131
+ /* @__PURE__ */ n($, { name: s[e].icon, className: r("tabs-icon") }),
132
+ /* @__PURE__ */ n("span", { children: s[e].title })
133
+ ] }) : s[e].title) }, e)) })
133
134
  ]
134
135
  }
135
136
  )
136
137
  ] }),
137
- /* @__PURE__ */ a("div", { ref: j, className: "u-tabs-measure", "aria-hidden": "true", children: [
138
- n.map((e, o) => E(o, !0)),
139
- f && /* @__PURE__ */ a("button", { ref: q, type: "button", tabIndex: -1, className: `${v} u-tabs-more-trigger u-tabs-more-measure`, children: [
140
- /* @__PURE__ */ r("span", { children: "Ещё" }),
141
- /* @__PURE__ */ r(b, { name: "down", size: 14 })
138
+ /* @__PURE__ */ m("div", { ref: z, className: r("tabs-measure"), "aria-hidden": "true", children: [
139
+ s.map((e, o) => K(o, !0)),
140
+ b && /* @__PURE__ */ m("button", { ref: F, type: "button", tabIndex: -1, className: `${w} ${l()}-tabs-more-trigger ${l()}-tabs-more-measure`, children: [
141
+ /* @__PURE__ */ n("span", { children: "Ещё" }),
142
+ /* @__PURE__ */ n($, { name: "down", size: 14 })
142
143
  ] })
143
144
  ] })
144
145
  ]
145
146
  }
146
147
  );
147
148
  };
148
- export { Se as Tabs$u };
149
+ export { Ee as Tabs$u };
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC;AAQ1C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;wDA+GnB,CAAC"}
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC;AAS1C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;wDA+GnB,CAAC"}
@@ -1,107 +1,108 @@
1
- import { jsxs as d, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as m, jsx as o } from "react/jsx-runtime";
2
2
  /* empty css */
3
- import { forwardRef as F } from "react";
4
- import { useAutoId$u as G } from "../../hooks/useAutoId.js";
5
- import { getFieldAccessibility$u as k } from "../../shared/fieldAccessibility.js";
6
- import { sizeClassName$u as q } from "../../shared/size.js";
7
- import { resolveValidation$u as D } from "../../vanilla/core/validation.js";
8
- const H = F(({
9
- "aria-label": u,
10
- "aria-labelledby": p,
11
- "aria-describedby": x,
12
- title: r = "",
13
- placeholder: m = "",
14
- defaultValue: b,
15
- value: f,
16
- id: h,
17
- name: v = "",
18
- onChange: y,
19
- onBlur: g,
20
- required: o = !1,
21
- disabled: $ = !1,
22
- lineUp: i = !1,
23
- rowGap: w = 4,
24
- columnGap: N = 20,
25
- styleInputContainer: T,
26
- styleTitle: j,
27
- styleInput: z,
28
- className: E = "",
29
- size: A,
30
- validationText: B = "Заполните поле",
31
- validationOn: O
32
- }, S) => {
33
- const a = G(h, "u-textarea"), s = q(A), e = D({ validationOn: O, validationText: B }), c = e.showText && !!e.text, C = k(a, r, o, { ...e, showText: c }, {
34
- "aria-label": u,
35
- "aria-labelledby": p,
36
- "aria-describedby": x
37
- }), n = (t) => typeof t == "number" ? `calc(${t} * var(--u-preset-unit, 1px))` : String(t);
38
- return /* @__PURE__ */ d(
3
+ import { forwardRef as G } from "react";
4
+ import { useAutoId$u as q } from "../../hooks/useAutoId.js";
5
+ import { getFieldAccessibility$u as D } from "../../shared/fieldAccessibility.js";
6
+ import { sizeClassName$u as H } from "../../shared/size.js";
7
+ import { getUiKitPrefix$u as e, kitCls$u as p } from "../../shared/uiKitDefaults.js";
8
+ import { resolveValidation$u as I } from "../../vanilla/core/validation.js";
9
+ const K = G(({
10
+ "aria-label": x,
11
+ "aria-labelledby": u,
12
+ "aria-describedby": f,
13
+ title: i = "",
14
+ placeholder: b = "",
15
+ defaultValue: $,
16
+ value: h,
17
+ id: v,
18
+ name: y = "",
19
+ onChange: g,
20
+ onBlur: w,
21
+ required: s = !1,
22
+ disabled: N = !1,
23
+ lineUp: t = !1,
24
+ rowGap: T = 4,
25
+ columnGap: j = 20,
26
+ styleInputContainer: z,
27
+ styleTitle: E,
28
+ styleInput: A,
29
+ className: B = "",
30
+ size: C,
31
+ validationText: O = "Заполните поле",
32
+ validationOn: S
33
+ }, k) => {
34
+ const r = q(v, p("textarea")), c = H(C), a = I({ validationOn: S, validationText: O }), n = a.showText && !!a.text, F = D(r, i, s, { ...a, showText: n }, {
35
+ "aria-label": x,
36
+ "aria-labelledby": u,
37
+ "aria-describedby": f
38
+ }), d = (l) => typeof l == "number" ? `calc(${l} * var(--${e()}-preset-unit, 1px))` : String(l);
39
+ return /* @__PURE__ */ m(
39
40
  "div",
40
41
  {
41
- className: `u-react-input-container${s ? ` ${s}` : ""} ${E}`,
42
+ className: `${e()}-react-input-container${c ? ` ${c}` : ""} ${B}`,
42
43
  children: [
43
- /* @__PURE__ */ d(
44
+ /* @__PURE__ */ m(
44
45
  "div",
45
46
  {
46
47
  style: Object.assign(
47
48
  {
48
49
  display: "flex",
49
- flexDirection: i ? "row" : "column",
50
- rowGap: i ? null : n(w),
51
- columnGap: i ? n(N) : null
50
+ flexDirection: t ? "row" : "column",
51
+ rowGap: t ? null : d(T),
52
+ columnGap: t ? d(j) : null
52
53
  },
53
- T
54
+ z
54
55
  ),
55
56
  children: [
56
- r && /* @__PURE__ */ l(
57
+ i && /* @__PURE__ */ o(
57
58
  "div",
58
59
  {
59
- id: `${a}-label`,
60
- className: `${o ? "u-required" : ""} u-react-input-title`,
60
+ id: `${r}-label`,
61
+ className: `${s ? p("required") : ""} ${e()}-react-input-title`,
61
62
  style: Object.assign(
62
63
  {
63
- color: "var(--u-field-title-color, #545454)",
64
- fontSize: "var(--u-field-label-size-main, calc(14 * var(--u-unit, 1px)))"
64
+ color: `var(--${e()}-field-title-color, #545454)`,
65
+ fontSize: `var(--${e()}-field-label-size-main, calc(14 * var(--u-unit, 1px)))`
65
66
  },
66
- j
67
+ E
67
68
  ),
68
- children: r
69
+ children: i
69
70
  }
70
71
  ),
71
- /* @__PURE__ */ l(
72
+ /* @__PURE__ */ o(
72
73
  "textarea",
73
74
  {
74
- ...C,
75
- ref: S,
76
- className: `u-textarea${e.hasError ? " u-textarea-required" : ""}`,
77
- id: a,
78
- name: v,
79
- placeholder: m,
80
- value: f,
81
- defaultValue: b,
82
- disabled: $,
83
- onChange: y,
84
- onBlur: g,
75
+ ...F,
76
+ ref: k,
77
+ className: `${e()}-textarea${a.hasError ? ` ${e()}-textarea-required` : ""}`,
78
+ id: r,
79
+ name: y,
80
+ placeholder: b,
81
+ value: h,
82
+ defaultValue: $,
83
+ disabled: N,
84
+ onChange: g,
85
+ onBlur: w,
85
86
  style: Object.assign(
86
87
  {
87
- minHeight: "max(var(--u-textarea-min-height, 48px), calc(20 * var(--u-unit, 1px) + 2px))",
88
+ minHeight: `max(var(--${e()}-textarea-min-height, 48px), calc(20 * var(--u-unit, 1px) + 2px))`,
88
89
  // Строка, рамка и отступы должны помещаться при минимальной высоте.
89
- paddingBlock: "clamp(0px, calc((var(--u-textarea-min-height, 48px) - 20 * var(--u-unit, 1px) - 2px) / 2), var(--u-input-padding-y, 14px))"
90
+ paddingBlock: `clamp(0px, calc((var(--${e()}-textarea-min-height, 48px) - 20 * var(--u-unit, 1px) - 2px) / 2), var(--${e()}-input-padding-y, 14px))`
90
91
  },
91
- e.hasError && { border: "1px solid var(--u-color-error, #EF302B)" },
92
+ a.hasError && { border: `1px solid var(--${e()}-color-error, #EF302B)` },
92
93
  // `styleInput` идёт последним: как и в остальных полях,
93
94
  // потребитель может перекрыть стили компонента.
94
- z
95
+ A
95
96
  )
96
97
  }
97
98
  )
98
99
  ]
99
100
  }
100
101
  ),
101
- c && /* @__PURE__ */ l("h5", { id: `${a}-error`, className: "h5 clr-red-main", style: { position: "relative", marginTop: "calc(4 * var(--u-unit, 1px))" }, children: e.text })
102
+ n && /* @__PURE__ */ o("h5", { id: `${r}-error`, className: "h5 clr-red-main", style: { position: "relative", marginTop: "calc(4 * var(--u-unit, 1px))" }, children: a.text })
102
103
  ]
103
104
  }
104
105
  );
105
106
  });
106
- H.displayName = "Textarea";
107
- export { H as Textarea$u };
107
+ K.displayName = "Textarea";
108
+ export { K as Textarea$u };