@astral/ui 4.91.2 → 4.92.1

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 (187) hide show
  1. package/components/Alert/Alert.js +2 -2
  2. package/components/Autocomplete/Autocomplete.js +2 -2
  3. package/components/Autocomplete/useLogic/useLogic.js +2 -2
  4. package/components/Badge/Badge.js +2 -2
  5. package/components/BulletList/BulletList.js +2 -2
  6. package/components/BulletListItem/BulletListItem.js +2 -2
  7. package/components/Button/useLogic/useLogic.js +2 -2
  8. package/components/Checkbox/Icon/Icon.js +2 -2
  9. package/components/Checkbox/useLogic/useLogic.js +2 -2
  10. package/components/Chip/ChipStatusIcon/ChipStatusIcon.js +2 -2
  11. package/components/Chip/useLogic/useLogic.js +2 -2
  12. package/components/ConfirmDialog/ConfirmDialog.js +2 -2
  13. package/components/CopyTypography/CopyTypography.js +3 -3
  14. package/components/DashboardAlert/DashboardAlert.js +2 -2
  15. package/components/DashboardLayout/DashboardSidebar/useLogic/useLogic.js +2 -2
  16. package/components/DashboardLayout/Header/styles.js +8 -0
  17. package/components/DashboardLayout/Main/styles.js +8 -0
  18. package/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +2 -2
  19. package/components/DataGrid/Body/Body.js +2 -2
  20. package/components/DataGrid/Cell/Cell.js +2 -2
  21. package/components/DataGrid/DataGrid.js +2 -2
  22. package/components/DataGrid/HeadCell/HeadCell.js +2 -2
  23. package/components/DataGrid/PinnedSections/Section/useLogic/useLogic.js +2 -2
  24. package/components/DataGrid/Row/Row.js +3 -3
  25. package/components/DataGrid/RowBase/RowBase.js +2 -2
  26. package/components/DataGridInfinite/DataGridInfinite.js +2 -2
  27. package/components/DataGridPaginationContainer/DataGridPaginationContainer.js +2 -2
  28. package/components/DescriptionCell/useLogic/useLogic.js +2 -2
  29. package/components/Dialog/Dialog.js +2 -2
  30. package/components/Dialog/useLogic/useLogic.js +2 -2
  31. package/components/DialogActions/DialogActions.js +2 -2
  32. package/components/DialogContent/DialogContent.js +2 -2
  33. package/components/DonutChart/DonutChart.js +2 -2
  34. package/components/EmailField/EmailField.js +2 -2
  35. package/components/EmailOrPhoneField/EmailOrPhoneField.js +2 -2
  36. package/components/Filename/Filename.js +2 -2
  37. package/components/GuidTypography/GuidTypography.js +5 -5
  38. package/components/HintPopover/HintPopover.js +2 -2
  39. package/components/IconButton/IconButton.js +2 -2
  40. package/components/Loader/Loader.js +2 -2
  41. package/components/MenuItem/MenuItem.js +2 -2
  42. package/components/MinimalisticPagination/MinimalisticPagination.js +2 -2
  43. package/components/NewPopover/NewPopover.js +2 -2
  44. package/components/NewStepper/NewStepper.js +2 -2
  45. package/components/NewStepper/Step/Step.js +3 -3
  46. package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +3 -3
  47. package/components/PageAside/PageAside.js +2 -2
  48. package/components/PageAsideNavigation/PageAsideNavigation.js +2 -2
  49. package/components/PageContent/PageContent.js +2 -2
  50. package/components/PageContent/styles.js +1 -1
  51. package/components/PageHeader/HeaderContent/HeaderContent.js +2 -2
  52. package/components/PageHeader/HeaderContent/styles.js +12 -0
  53. package/components/PageHeader/PageActions/useLogic/useLogic.js +3 -3
  54. package/components/PageHeader/PageHeader.js +3 -3
  55. package/components/PageHeader/styles.js +16 -4
  56. package/components/PageLayout/PageLayout.js +2 -2
  57. package/components/PageLayout/styles.js +14 -2
  58. package/components/PageLayoutContainer/PageLayoutContainer.js +2 -2
  59. package/components/PageLayoutSection/PageLayoutSection.js +2 -2
  60. package/components/PageLayoutSection/PageLayoutSectionContainer/PageLayoutSectionContainer.js +2 -2
  61. package/components/PagePinnableAside/PagePinnableAside.js +2 -2
  62. package/components/PasswordField/PasswordField.js +2 -2
  63. package/components/PdfViewer/PdfDocument/PdfDocument.js +2 -2
  64. package/components/PinButton/PinButton.js +2 -2
  65. package/components/Radio/useLogic/useLogic.js +2 -2
  66. package/components/RadioCard/RadioCard.js +2 -2
  67. package/components/SearchField/SearchField.js +2 -2
  68. package/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.js +2 -2
  69. package/components/SvgIcon/SvgIcon.js +2 -2
  70. package/components/Tabs/Tabs.js +2 -2
  71. package/components/Tag/useLogic/useLogic.js +2 -2
  72. package/components/TagBadge/TagBadge.js +2 -2
  73. package/components/TextField/TextField.js +2 -2
  74. package/components/Tooltip/Tooltip.js +2 -2
  75. package/components/Tooltip/useLogic/useLogic.js +2 -2
  76. package/components/Tree/TreeList/TreeList.js +2 -2
  77. package/components/TreeLikeList/TreeLikeList.js +2 -2
  78. package/components/Typography/Typography.js +2 -2
  79. package/components/placeholders/LoadingPlaceholder/LoadingPlaceholder.js +4 -4
  80. package/components/utils/classNames/classNames.d.ts +1 -1
  81. package/components/utils/classNames/classNames.js +1 -1
  82. package/components/utils/cn/cn.d.ts +1 -0
  83. package/components/utils/cn/cn.js +1 -0
  84. package/components/utils/cn/index.d.ts +1 -0
  85. package/components/utils/cn/index.js +1 -0
  86. package/components/utils/cn/public.d.ts +1 -0
  87. package/components/utils/cn/public.js +1 -0
  88. package/hook-form/EditableText/EditableText.js +2 -2
  89. package/hook-form/FormFilters/AllFiltersButton/useLogic/useLogic.js +2 -2
  90. package/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +2 -2
  91. package/hook-form/FormPageLayout/FormPageLayout.js +2 -2
  92. package/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +2 -2
  93. package/hook-form/FormWizardPageLayout/FormWizardPageLayout.js +2 -2
  94. package/node/components/Alert/Alert.js +2 -2
  95. package/node/components/Autocomplete/Autocomplete.js +2 -2
  96. package/node/components/Autocomplete/useLogic/useLogic.js +2 -2
  97. package/node/components/Badge/Badge.js +2 -2
  98. package/node/components/BulletList/BulletList.js +2 -2
  99. package/node/components/BulletListItem/BulletListItem.js +2 -2
  100. package/node/components/Button/useLogic/useLogic.js +2 -2
  101. package/node/components/Checkbox/Icon/Icon.js +2 -2
  102. package/node/components/Checkbox/useLogic/useLogic.js +2 -2
  103. package/node/components/Chip/ChipStatusIcon/ChipStatusIcon.js +2 -2
  104. package/node/components/Chip/useLogic/useLogic.js +2 -2
  105. package/node/components/ConfirmDialog/ConfirmDialog.js +2 -2
  106. package/node/components/CopyTypography/CopyTypography.js +3 -3
  107. package/node/components/DashboardAlert/DashboardAlert.js +2 -2
  108. package/node/components/DashboardLayout/DashboardSidebar/useLogic/useLogic.js +2 -2
  109. package/node/components/DashboardLayout/Header/styles.js +8 -0
  110. package/node/components/DashboardLayout/Main/styles.js +8 -0
  111. package/node/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +2 -2
  112. package/node/components/DataGrid/Body/Body.js +2 -2
  113. package/node/components/DataGrid/Cell/Cell.js +2 -2
  114. package/node/components/DataGrid/DataGrid.js +2 -2
  115. package/node/components/DataGrid/HeadCell/HeadCell.js +2 -2
  116. package/node/components/DataGrid/PinnedSections/Section/useLogic/useLogic.js +2 -2
  117. package/node/components/DataGrid/Row/Row.js +3 -3
  118. package/node/components/DataGrid/RowBase/RowBase.js +2 -2
  119. package/node/components/DataGridInfinite/DataGridInfinite.js +2 -2
  120. package/node/components/DataGridPaginationContainer/DataGridPaginationContainer.js +2 -2
  121. package/node/components/DescriptionCell/useLogic/useLogic.js +2 -2
  122. package/node/components/Dialog/Dialog.js +2 -2
  123. package/node/components/Dialog/useLogic/useLogic.js +2 -2
  124. package/node/components/DialogActions/DialogActions.js +2 -2
  125. package/node/components/DialogContent/DialogContent.js +2 -2
  126. package/node/components/DonutChart/DonutChart.js +2 -2
  127. package/node/components/EmailField/EmailField.js +2 -2
  128. package/node/components/EmailOrPhoneField/EmailOrPhoneField.js +2 -2
  129. package/node/components/Filename/Filename.js +2 -2
  130. package/node/components/GuidTypography/GuidTypography.js +5 -5
  131. package/node/components/HintPopover/HintPopover.js +2 -2
  132. package/node/components/IconButton/IconButton.js +2 -2
  133. package/node/components/Loader/Loader.js +2 -2
  134. package/node/components/MenuItem/MenuItem.js +2 -2
  135. package/node/components/MinimalisticPagination/MinimalisticPagination.js +2 -2
  136. package/node/components/NewPopover/NewPopover.js +2 -2
  137. package/node/components/NewStepper/NewStepper.js +2 -2
  138. package/node/components/NewStepper/Step/Step.js +3 -3
  139. package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +3 -3
  140. package/node/components/PageAside/PageAside.js +2 -2
  141. package/node/components/PageAsideNavigation/PageAsideNavigation.js +2 -2
  142. package/node/components/PageContent/PageContent.js +2 -2
  143. package/node/components/PageContent/styles.js +11 -11
  144. package/node/components/PageHeader/HeaderContent/HeaderContent.js +2 -2
  145. package/node/components/PageHeader/HeaderContent/styles.js +12 -0
  146. package/node/components/PageHeader/PageActions/useLogic/useLogic.js +3 -3
  147. package/node/components/PageHeader/PageHeader.js +3 -3
  148. package/node/components/PageHeader/styles.js +16 -4
  149. package/node/components/PageLayout/PageLayout.js +2 -2
  150. package/node/components/PageLayout/styles.js +14 -2
  151. package/node/components/PageLayoutContainer/PageLayoutContainer.js +2 -2
  152. package/node/components/PageLayoutSection/PageLayoutSection.js +2 -2
  153. package/node/components/PageLayoutSection/PageLayoutSectionContainer/PageLayoutSectionContainer.js +2 -2
  154. package/node/components/PagePinnableAside/PagePinnableAside.js +2 -2
  155. package/node/components/PasswordField/PasswordField.js +2 -2
  156. package/node/components/PdfViewer/PdfDocument/PdfDocument.js +2 -2
  157. package/node/components/PinButton/PinButton.js +2 -2
  158. package/node/components/Radio/useLogic/useLogic.js +2 -2
  159. package/node/components/RadioCard/RadioCard.js +2 -2
  160. package/node/components/SearchField/SearchField.js +2 -2
  161. package/node/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.js +2 -2
  162. package/node/components/SvgIcon/SvgIcon.js +2 -2
  163. package/node/components/Tabs/Tabs.js +2 -2
  164. package/node/components/Tag/useLogic/useLogic.js +2 -2
  165. package/node/components/TagBadge/TagBadge.js +2 -2
  166. package/node/components/TextField/TextField.js +2 -2
  167. package/node/components/Tooltip/Tooltip.js +2 -2
  168. package/node/components/Tooltip/useLogic/useLogic.js +2 -2
  169. package/node/components/Tree/TreeList/TreeList.js +2 -2
  170. package/node/components/TreeLikeList/TreeLikeList.js +2 -2
  171. package/node/components/Typography/Typography.js +2 -2
  172. package/node/components/placeholders/LoadingPlaceholder/LoadingPlaceholder.js +4 -4
  173. package/node/components/utils/classNames/classNames.d.ts +1 -1
  174. package/node/components/utils/classNames/classNames.js +2 -2
  175. package/node/components/utils/cn/cn.d.ts +1 -0
  176. package/node/components/utils/cn/cn.js +8 -0
  177. package/node/components/utils/cn/index.d.ts +1 -0
  178. package/node/components/utils/cn/index.js +17 -0
  179. package/node/components/utils/cn/public.d.ts +1 -0
  180. package/node/components/utils/cn/public.js +17 -0
  181. package/node/hook-form/EditableText/EditableText.js +2 -2
  182. package/node/hook-form/FormFilters/AllFiltersButton/useLogic/useLogic.js +2 -2
  183. package/node/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +2 -2
  184. package/node/hook-form/FormPageLayout/FormPageLayout.js +2 -2
  185. package/node/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +2 -2
  186. package/node/hook-form/FormWizardPageLayout/FormWizardPageLayout.js +2 -2
  187. package/package.json +2 -2
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DashboardAlert = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const Typography_1 = require("../Typography");
6
- const classNames_1 = require("../utils/classNames");
6
+ const cn_1 = require("../utils/cn");
7
7
  const constants_1 = require("./constants");
8
8
  const styles_1 = require("./styles");
9
9
  /**
@@ -16,6 +16,6 @@ const styles_1 = require("./styles");
16
16
  const DashboardAlert = (props) => {
17
17
  const { linkButtonProps, children, isShow, className, ...restProps } = props;
18
18
  const { name, color: linkButtonColor, ...restButtonProps } = linkButtonProps || {};
19
- return ((0, jsx_runtime_1.jsx)(styles_1.StyledAlert, { className: (0, classNames_1.classNames)(constants_1.dashboardAlertClassnames.root, className), isShow: isShow, ...restProps, children: (0, jsx_runtime_1.jsxs)(Typography_1.Typography, { variant: "body1", children: [children, "\u00A0", linkButtonProps && ((0, jsx_runtime_1.jsx)(styles_1.StyledButton, { variant: "link", ...restButtonProps, children: name }))] }) }));
19
+ return ((0, jsx_runtime_1.jsx)(styles_1.StyledAlert, { className: (0, cn_1.cn)(constants_1.dashboardAlertClassnames.root, className), isShow: isShow, ...restProps, children: (0, jsx_runtime_1.jsxs)(Typography_1.Typography, { variant: "body1", children: [children, "\u00A0", linkButtonProps && ((0, jsx_runtime_1.jsx)(styles_1.StyledButton, { variant: "link", ...restButtonProps, children: name }))] }) }));
20
20
  };
21
21
  exports.DashboardAlert = DashboardAlert;
@@ -6,7 +6,7 @@ const DashboardContext_1 = require("../../../DashboardContext");
6
6
  const DashboardSidebarProvider_1 = require("../../../DashboardSidebarProvider");
7
7
  const useTheme_1 = require("../../../theme/hooks/useTheme");
8
8
  const useViewportType_1 = require("../../../useViewportType");
9
- const classNames_1 = require("../../../utils/classNames");
9
+ const cn_1 = require("../../../utils/cn");
10
10
  const Header_1 = require("../../Header");
11
11
  const Main_1 = require("../../Main");
12
12
  const constants_1 = require("../constants");
@@ -85,7 +85,7 @@ const useLogic = (props) => {
85
85
  }
86
86
  };
87
87
  }, [collapsedIn, isPinned]);
88
- const classnames = (0, classNames_1.classNames)(className, constants_1.dashboardSidebarClassnames.root);
88
+ const classnames = (0, cn_1.cn)(className, constants_1.dashboardSidebarClassnames.root);
89
89
  return {
90
90
  isPinned,
91
91
  isMobile,
@@ -98,6 +98,10 @@ exports.HeaderContentSection = (0, styled_1.styled)(exports.HeaderSection) `
98
98
  }
99
99
  `;
100
100
  exports.ProductSwitcherWrapper = styled_1.styled.div `
101
+ &:empty {
102
+ display: none;
103
+ }
104
+
101
105
  ${({ theme }) => theme.breakpoints.down('sm')} {
102
106
  display: none;
103
107
  }
@@ -134,6 +138,10 @@ exports.HeaderContent = styled_1.styled.div `
134
138
  * Обертка для элементов которые должны быть в мобильном хедере или помещены в sidebar.
135
139
  */
136
140
  exports.PriorityFeatureWrapper = styled_1.styled.div `
141
+ &&:empty {
142
+ display: none;
143
+ }
144
+
137
145
  ${({ theme }) => theme.breakpoints.down('sm')} {
138
146
  display: flex;
139
147
  justify-content: flex-end;
@@ -24,8 +24,16 @@ exports.AlertWrapper = styled_1.styled.div `
24
24
  }
25
25
  `;
26
26
  exports.AlertContainer = styled_1.styled.div `
27
+ display: flex;
28
+ flex-direction: column;
29
+ gap: ${({ theme }) => theme.spacing(2)};
30
+
27
31
  margin-bottom: ${({ theme }) => theme.spacing(4)};
28
32
 
33
+ &:empty {
34
+ display: none;
35
+ }
36
+
29
37
  ${({ theme }) => theme.breakpoints.down('sm')} {
30
38
  margin: ${({ theme }) => theme.spacing(3, 4, 1)};
31
39
  }
@@ -4,11 +4,11 @@ exports.DashboardSidebarSkeleton = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const constants_1 = require("../DashboardLayout/DashboardSidebar/constants");
6
6
  const Skeleton_1 = require("../Skeleton");
7
- const classNames_1 = require("../utils/classNames");
7
+ const cn_1 = require("../utils/cn");
8
8
  const styles_1 = require("./styles");
9
9
  const useLogic_1 = require("./useLogic");
10
10
  const DashboardSidebarSkeleton = () => {
11
11
  const { isPinned } = (0, useLogic_1.useLogic)();
12
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { "$isPinned": isPinned, className: (0, classNames_1.classNames)(constants_1.dashboardSidebarClassnames.root), children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { shapeSize: isPinned ? 'medium' : 'small', height: 40, variant: "rounded" }), (0, jsx_runtime_1.jsxs)(styles_1.ListWrapper, { "$isPinned": isPinned, children: [(0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { height: 20, width: 20, variant: "rounded", shapeSize: "small" }), (0, jsx_runtime_1.jsx)(styles_1.SkeletonDescription, { height: 14, width: 174, variant: "rounded", "$isPinned": isPinned })] }), (0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { height: 20, width: 20, variant: "rounded", shapeSize: "small" }), (0, jsx_runtime_1.jsx)(styles_1.SkeletonDescription, { height: 14, width: 174, variant: "rounded", "$isPinned": isPinned })] }), (0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { height: 20, width: 20, variant: "rounded", shapeSize: "small" }), (0, jsx_runtime_1.jsx)(styles_1.SkeletonDescription, { height: 14, width: 174, variant: "rounded", "$isPinned": isPinned })] }), isPinned && ((0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { height: 20, width: 20, variant: "rounded", shapeSize: "small" }), (0, jsx_runtime_1.jsx)(styles_1.SkeletonDescription, { height: 14, width: 174, variant: "rounded", "$isPinned": isPinned })] }))] })] }));
12
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { "$isPinned": isPinned, className: (0, cn_1.cn)(constants_1.dashboardSidebarClassnames.root), children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { shapeSize: isPinned ? 'medium' : 'small', height: 40, variant: "rounded" }), (0, jsx_runtime_1.jsxs)(styles_1.ListWrapper, { "$isPinned": isPinned, children: [(0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { height: 20, width: 20, variant: "rounded", shapeSize: "small" }), (0, jsx_runtime_1.jsx)(styles_1.SkeletonDescription, { height: 14, width: 174, variant: "rounded", "$isPinned": isPinned })] }), (0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { height: 20, width: 20, variant: "rounded", shapeSize: "small" }), (0, jsx_runtime_1.jsx)(styles_1.SkeletonDescription, { height: 14, width: 174, variant: "rounded", "$isPinned": isPinned })] }), (0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { height: 20, width: 20, variant: "rounded", shapeSize: "small" }), (0, jsx_runtime_1.jsx)(styles_1.SkeletonDescription, { height: 14, width: 174, variant: "rounded", "$isPinned": isPinned })] }), isPinned && ((0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { height: 20, width: 20, variant: "rounded", shapeSize: "small" }), (0, jsx_runtime_1.jsx)(styles_1.SkeletonDescription, { height: 14, width: 174, variant: "rounded", "$isPinned": isPinned })] }))] })] }));
13
13
  };
14
14
  exports.DashboardSidebarSkeleton = DashboardSidebarSkeleton;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Body = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const classNames_1 = require("../../utils/classNames");
5
+ const cn_1 = require("../../utils/cn");
6
6
  const cva_1 = require("../../utils/cva");
7
7
  const CustomRowWrapper_1 = require("../CustomRowWrapper");
8
8
  const Row_1 = require("../Row");
@@ -26,6 +26,6 @@ const Body = ({ rows, selectedRows = [], minDisplayRows, keyId, noDataPlaceholde
26
26
  const { children, options } = row;
27
27
  return ((0, jsx_runtime_1.jsx)(RowContext_1.RowContextProvider, { row: row, onSelectRow: onSelectRow, onRowEnter: onRowEnter, onRowLeave: onRowLeave, registerRowElement: registerRowElement, unregisterRowElement: unregisterRowElement, isSelectable: isSelectable, isSelected: isSelected, children: renderRow ? ((0, jsx_runtime_1.jsx)(CustomRowWrapper_1.CustomRowWrapper, { index: index, renderRow: renderRow, row: row })) : ((0, jsx_runtime_1.jsx)(Row_1.Row, { row: row, options: options, keyId: keyId, level: INITIAL_LEVEL, nestedChildren: children, isSelected: isSelected, columns: columns, isSelectable: isSelectable, onSelectRow: onSelectRow, onRowEnter: onRowEnter, onRowLeave: onRowLeave, registerRowElement: registerRowElement, unregisterRowElement: unregisterRowElement, ...rowProps }, rowId)) }, rowId));
28
28
  });
29
- return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { className: (0, classNames_1.classNames)(className, bodyCva({ disableMinHeight })), style: bodyCssVars, children: rows.length ? renderedRows : noDataPlaceholder }));
29
+ return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { className: (0, cn_1.cn)(className, bodyCva({ disableMinHeight })), style: bodyCssVars, children: rows.length ? renderedRows : noDataPlaceholder }));
30
30
  };
31
31
  exports.Body = Body;
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_dom_1 = require("react-dom");
6
6
  const personalDataSecurity_1 = require("../../personalDataSecurity");
7
7
  const useViewportType_1 = require("../../useViewportType");
8
- const classNames_1 = require("../../utils/classNames");
8
+ const cn_1 = require("../../utils/cn");
9
9
  const cva_1 = require("../../utils/cva");
10
10
  const getInertProps_1 = require("../../utils/getInertProps");
11
11
  const CellInner_1 = require("./CellInner");
@@ -41,7 +41,7 @@ const Cell = (props) => {
41
41
  const hidePersonalDataClassname = (0, personalDataSecurity_1.useHidePersonalData)({
42
42
  isEnabled: isHidePersonalData === true,
43
43
  });
44
- const cellNode = ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { className: (0, classNames_1.classNames)(className, hidePersonalDataClassname, cellCva({
44
+ const cellNode = ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { className: (0, cn_1.cn)(className, hidePersonalDataClassname, cellCva({
45
45
  isHideOnMobile: cell.isHideOnMobile || isHideOnMobile,
46
46
  isDisabled,
47
47
  withStartAdornment: hasStartAdornment,
@@ -6,7 +6,7 @@ const react_1 = require("react");
6
6
  const ConfigProvider_1 = require("../ConfigProvider");
7
7
  const ContentState_1 = require("../ContentState");
8
8
  const constants_1 = require("../constants");
9
- const classNames_1 = require("../utils/classNames");
9
+ const cn_1 = require("../utils/cn");
10
10
  const cva_1 = require("../utils/cva");
11
11
  const getInertProps_1 = require("../utils/getInertProps");
12
12
  const Body_1 = require("./Body");
@@ -101,7 +101,7 @@ const DataGrid = (props) => {
101
101
  isDisabled: isDataGridDisabled,
102
102
  }), isDisabled: isDataGridDisabled, headProps: headProps, gridColumns: gridColumns, bodyProps: commonBodyProps, isNoData: isNoData }) }));
103
103
  };
104
- return ((0, jsx_runtime_1.jsx)(DataGridContext_1.DataGridContextProvider, { isLoading: isLoading, isTabularNums: isTabularNums, gridColumns: gridColumns, emptyCellValue: emptyCellValue, activeRowId: activeRowId, keyId: keyId, columns: columns, onRowClick: onRowClick, mobileDisplayVariant: mobileDisplayVariant, children: (0, jsx_runtime_1.jsxs)(styles_1.Container, { ref: containerRef, style: containerCssVars, className: (0, classNames_1.classNames)(dataGridClassName, dataGridCva({
104
+ return ((0, jsx_runtime_1.jsx)(DataGridContext_1.DataGridContextProvider, { isLoading: isLoading, isTabularNums: isTabularNums, gridColumns: gridColumns, emptyCellValue: emptyCellValue, activeRowId: activeRowId, keyId: keyId, columns: columns, onRowClick: onRowClick, mobileDisplayVariant: mobileDisplayVariant, children: (0, jsx_runtime_1.jsxs)(styles_1.Container, { ref: containerRef, style: containerCssVars, className: (0, cn_1.cn)(dataGridClassName, dataGridCva({
105
105
  isAllowHorizontalScroll,
106
106
  hasPinnedColumns,
107
107
  gridViewMode,
@@ -7,7 +7,7 @@ const SortDownFillSm_1 = require("../../../icons/SortDownFillSm");
7
7
  const SortFillSm_1 = require("../../../icons/SortFillSm");
8
8
  const SortUpFillSm_1 = require("../../../icons/SortUpFillSm");
9
9
  const OverflowTypography_1 = require("../../OverflowTypography");
10
- const classNames_1 = require("../../utils/classNames");
10
+ const cn_1 = require("../../utils/cn");
11
11
  const cva_1 = require("../../utils/cva");
12
12
  const constants_1 = require("./constants");
13
13
  const styles_1 = require("./styles");
@@ -46,6 +46,6 @@ const HeadCell = (props) => {
46
46
  return (0, jsx_runtime_1.jsx)(SortFillSm_1.SortFillSm, {});
47
47
  }
48
48
  }, [sorting, isSortable, field]);
49
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { onClick: handleSortClick, className: (0, classNames_1.classNames)(className, headCellCva({ isSortable, align, hasStartAdornment })), style: headCellCssVars, children: [startAdornment && startAdornment, (0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, { rowsCount: 2, variant: "pointer", component: "p", children: label }), sortIcon] }));
49
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { onClick: handleSortClick, className: (0, cn_1.cn)(className, headCellCva({ isSortable, align, hasStartAdornment })), style: headCellCssVars, children: [startAdornment && startAdornment, (0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, { rowsCount: 2, variant: "pointer", component: "p", children: label }), sortIcon] }));
50
50
  };
51
51
  exports.HeadCell = HeadCell;
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useLogic = void 0;
4
4
  const react_1 = require("react");
5
- const classNames_1 = require("../../../../utils/classNames");
5
+ const cn_1 = require("../../../../utils/cn");
6
6
  const constants_1 = require("../../../constants");
7
7
  const utils_1 = require("../../../utils");
8
8
  const useLogic = ({ position, isNoData, columns, }) => {
9
- const classnames = (0, react_1.useMemo)(() => (0, classNames_1.classNames)({
9
+ const classnames = (0, react_1.useMemo)(() => (0, cn_1.cn)({
10
10
  [constants_1.dataGridClassnames.leftPinnedSection]: position === 'left',
11
11
  [constants_1.dataGridClassnames.rightPinnedSection]: position === 'right',
12
12
  [constants_1.dataGridClassnames.pinnedSectionNoData]: isNoData && position === 'center',
@@ -6,7 +6,7 @@ const react_1 = require("react");
6
6
  const BottomDrawer_1 = require("../../BottomDrawer");
7
7
  const Checkbox_1 = require("../../Checkbox");
8
8
  const Tooltip_1 = require("../../Tooltip");
9
- const classNames_1 = require("../../utils/classNames");
9
+ const cn_1 = require("../../utils/cn");
10
10
  const cva_1 = require("../../utils/cva");
11
11
  const getInertProps_1 = require("../../utils/getInertProps");
12
12
  const Cell_1 = require("../Cell");
@@ -89,7 +89,7 @@ const RowInner = (props) => {
89
89
  }), children: label }), children.map((child, childIndex) => {
90
90
  const childCellId = `${cellId}-${childIndex}`;
91
91
  const shouldRenderStartAdornment = isFirstCell && childIndex === 0;
92
- return ((0, jsx_runtime_1.jsx)(styles_1.CellStyled, { row: row, cell: child, isHideOnMobile: isHideOnMobile, emptyCellValue: emptyCellValue, isDisabled: isDisabledCell, startAdornment: shouldRenderStartAdornment && renderStartAdornment(), isHidePersonalData: child.isHidePersonalData, hasNestedChildren: Boolean(nestedChildren?.length), className: (0, classNames_1.classNames)(Cell_1.dataGridCellClassnames.grouped), rootRowElement: rootRowElement, href: href, target: target }, childCellId));
92
+ return ((0, jsx_runtime_1.jsx)(styles_1.CellStyled, { row: row, cell: child, isHideOnMobile: isHideOnMobile, emptyCellValue: emptyCellValue, isDisabled: isDisabledCell, startAdornment: shouldRenderStartAdornment && renderStartAdornment(), isHidePersonalData: child.isHidePersonalData, hasNestedChildren: Boolean(nestedChildren?.length), className: (0, cn_1.cn)(Cell_1.dataGridCellClassnames.grouped), rootRowElement: rootRowElement, href: href, target: target }, childCellId));
93
93
  })] }, cellId));
94
94
  }
95
95
  return ((0, jsx_runtime_1.jsx)(styles_1.CellStyled, { className: singleCellCva({ isFirstCell }), row: row, cell: cell, emptyCellValue: emptyCellValue, startAdornment: isFirstCell && renderStartAdornment(), isDisabled: isDisabledCell, isHidePersonalData: cell.isHidePersonalData, hasNestedChildren: Boolean(nestedChildren?.length), rootRowElement: rootRowElement, href: href, target: target }, cellId));
@@ -124,7 +124,7 @@ const RowInner = (props) => {
124
124
  onRowEnter,
125
125
  onRowLeave,
126
126
  ]);
127
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: (0, classNames_1.classNames)(className, rootCva({
127
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: (0, cn_1.cn)(className, rootCva({
128
128
  isShowConnector,
129
129
  mobileDisplayVariant,
130
130
  hasNestedChildren: Boolean(nestedChildren?.length),
@@ -6,7 +6,7 @@ const react_1 = require("react");
6
6
  const BottomDrawer_1 = require("../../BottomDrawer");
7
7
  const Checkbox_1 = require("../../Checkbox");
8
8
  const Tooltip_1 = require("../../Tooltip");
9
- const classNames_1 = require("../../utils/classNames");
9
+ const cn_1 = require("../../utils/cn");
10
10
  const cva_1 = require("../../utils/cva");
11
11
  const getInertProps_1 = require("../../utils/getInertProps");
12
12
  const Cell_1 = require("../Cell");
@@ -68,5 +68,5 @@ exports.RowBase = (0, react_1.memo)((props) => {
68
68
  renderStartAdornment,
69
69
  checkboxProps.checked,
70
70
  ]);
71
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: (0, classNames_1.classNames)(className, rootCva({ mobileDisplayVariant })), style: rowBaseVars, ...dataGridInfiniteItemProps, children: [(0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { ...tooltipProps, children: (0, jsx_runtime_1.jsx)(styles_1.ContentWrapper, { ref: rowRef, onPointerEnter: () => onRowEnter?.(rowId), onPointerLeave: (event) => onRowLeave?.(rowId, event.nativeEvent), className: contentWrapperCva({ isHovered, isActive }), [constants_1.DISABLE_ROW_ATTR]: isDisabled, onClick: handleRowClick, children: renderCells() }) }), customContent, (0, jsx_runtime_1.jsx)(BottomDrawer_1.BottomDrawer, { ...drawerProps, children: (0, jsx_runtime_1.jsx)(styles_1.BottomDrawerContent, { children: drawerContent }) })] }, `row-base-${rowId}`));
71
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: (0, cn_1.cn)(className, rootCva({ mobileDisplayVariant })), style: rowBaseVars, ...dataGridInfiniteItemProps, children: [(0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { ...tooltipProps, children: (0, jsx_runtime_1.jsx)(styles_1.ContentWrapper, { ref: rowRef, onPointerEnter: () => onRowEnter?.(rowId), onPointerLeave: (event) => onRowLeave?.(rowId, event.nativeEvent), className: contentWrapperCva({ isHovered, isActive }), [constants_1.DISABLE_ROW_ATTR]: isDisabled, onClick: handleRowClick, children: renderCells() }) }), customContent, (0, jsx_runtime_1.jsx)(BottomDrawer_1.BottomDrawer, { ...drawerProps, children: (0, jsx_runtime_1.jsx)(styles_1.BottomDrawerContent, { children: drawerContent }) })] }, `row-base-${rowId}`));
72
72
  });
@@ -13,7 +13,7 @@ const DataGridContext_1 = require("../DataGrid/DataGridContext");
13
13
  const enums_1 = require("../DataGrid/enums");
14
14
  const Head_1 = require("../DataGrid/Head");
15
15
  const Loader_1 = require("../Loader");
16
- const classNames_1 = require("../utils/classNames");
16
+ const cn_1 = require("../utils/cn");
17
17
  const cva_1 = require("../utils/cva");
18
18
  const getInertProps_1 = require("../utils/getInertProps");
19
19
  const constants_3 = require("./constants");
@@ -51,7 +51,7 @@ const DataGridInfinite = (props) => {
51
51
  const { isInitialExpanded = false, expandedLevel = constants_2.EXPANDED_LEVEL_BY_DEFAULT, initialVisibleChildrenCount = constants_2.INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT, } = treeRenderConfig || {};
52
52
  const { isSelectable } = rowProps;
53
53
  const TableContainer = isDisabled ? styles_1.DisabledDataGridWrapper : styles_1.DataGridWrapper;
54
- return ((0, jsx_runtime_1.jsx)(DataGridInfiniteContext_1.DataGridInfiniteContextProvider, { renderRow: renderRow, onSelectRow: handleSelectRow, variant: variant, isInitialExpanded: isInitialExpanded, expandedLevel: expandedLevel, initialVisibleChildrenCount: initialVisibleChildrenCount, isSelectable: isSelectable, selectedRows: selectedRows, moreButtonColumnPosition: moreButtonColumnPosition, isVisibleCollapseButton: isVisibleCollapseButton, children: (0, jsx_runtime_1.jsx)(DataGridContext_1.DataGridContextProvider, { gridColumns: gridColumns, emptyCellValue: emptyCellValue, activeRowId: activeRowId, columns: columns, keyId: keyId, isTabularNums: isTabularNums, onRowClick: onRowClick, mobileDisplayVariant: mobileDisplayVariant, children: (0, jsx_runtime_1.jsxs)(styles_1.StyledContainer, { style: containerCssVars, className: (0, classNames_1.classNames)(dataGridInfiniteCva({
54
+ return ((0, jsx_runtime_1.jsx)(DataGridInfiniteContext_1.DataGridInfiniteContextProvider, { renderRow: renderRow, onSelectRow: handleSelectRow, variant: variant, isInitialExpanded: isInitialExpanded, expandedLevel: expandedLevel, initialVisibleChildrenCount: initialVisibleChildrenCount, isSelectable: isSelectable, selectedRows: selectedRows, moreButtonColumnPosition: moreButtonColumnPosition, isVisibleCollapseButton: isVisibleCollapseButton, children: (0, jsx_runtime_1.jsx)(DataGridContext_1.DataGridContextProvider, { gridColumns: gridColumns, emptyCellValue: emptyCellValue, activeRowId: activeRowId, columns: columns, keyId: keyId, isTabularNums: isTabularNums, onRowClick: onRowClick, mobileDisplayVariant: mobileDisplayVariant, children: (0, jsx_runtime_1.jsxs)(styles_1.StyledContainer, { style: containerCssVars, className: (0, cn_1.cn)(dataGridInfiniteCva({
55
55
  hasGroupedColumns,
56
56
  gridViewMode,
57
57
  mobileDisplayVariant,
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const MenuItem_1 = require("../MenuItem");
6
6
  const Select_1 = require("../Select");
7
7
  const Typography_1 = require("../Typography");
8
- const classNames_1 = require("../utils/classNames");
8
+ const cn_1 = require("../utils/cn");
9
9
  const cva_1 = require("../utils/cva");
10
10
  const constants_1 = require("./constants");
11
11
  const styles_1 = require("./styles");
@@ -19,7 +19,7 @@ const rootCva = (0, cva_1.cva)(constants_1.paginationClassnames.root, {
19
19
  });
20
20
  const DataGridPaginationContainer = ({ pagination, className, formattedRange, rowsPerPageOptions = constants_1.DEFAULT_ROWS_PER_PAGE_OPTION, onSetCountPerPage, rowsPerPage = constants_1.DEFAULT_ROWS_PER_PAGE, isDisabled, }) => {
21
21
  const { handleChangeRowsPerPage } = (0, useLogic_1.useLogic)({ onSetCountPerPage });
22
- return ((0, jsx_runtime_1.jsxs)(styles_1.PaginationWrapper, { className: (0, classNames_1.classNames)(className, rootCva({
22
+ return ((0, jsx_runtime_1.jsxs)(styles_1.PaginationWrapper, { className: (0, cn_1.cn)(className, rootCva({
23
23
  leadingContent: Boolean(onSetCountPerPage || formattedRange),
24
24
  })), children: [(onSetCountPerPage || formattedRange) && ((0, jsx_runtime_1.jsxs)(styles_1.RangeWrapper, { children: [onSetCountPerPage && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "body1", children: "\u0421\u0442\u0440\u043E\u043A \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435:" }), (0, jsx_runtime_1.jsx)(Select_1.Select, { size: "small", value: rowsPerPage, disabled: isDisabled, isShowClearButton: false, onChange: handleChangeRowsPerPage, children: rowsPerPageOptions.map((option) => ((0, jsx_runtime_1.jsx)(MenuItem_1.MenuItem, { value: option, children: option }, option))) })] })), formattedRange && (0, jsx_runtime_1.jsx)(styles_1.Range, { variant: "body1", children: formattedRange() })] })), pagination && pagination] }));
25
25
  };
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useLogic = void 0;
4
4
  const react_1 = require("react");
5
- const classNames_1 = require("../../utils/classNames");
5
+ const cn_1 = require("../../utils/cn");
6
6
  const constants_1 = require("../constants");
7
7
  const useLogic = ({ icon, iconPosition = 'left' }) => {
8
- const classnames = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(constants_1.descriptionCellClassnames.root, {
8
+ const classnames = (0, react_1.useMemo)(() => (0, cn_1.cn)(constants_1.descriptionCellClassnames.root, {
9
9
  [constants_1.descriptionCellClassnames.hasIcon]: Boolean(icon),
10
10
  [constants_1.descriptionCellClassnames.iconRight]: Boolean(icon) && iconPosition === 'right',
11
11
  }), [icon, iconPosition]);
@@ -4,7 +4,7 @@ exports.Dialog = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const BottomDrawer_1 = require("../BottomDrawer");
6
6
  const DialogTitle_1 = require("../DialogTitle");
7
- const classNames_1 = require("../utils/classNames");
7
+ const cn_1 = require("../utils/cn");
8
8
  const cva_1 = require("../utils/cva");
9
9
  const constants_1 = require("./constants");
10
10
  const styles_1 = require("./styles");
@@ -25,6 +25,6 @@ const Dialog = ({ children, title, disableBackdropClick, onClose, size = 'md', h
25
25
  if (isMobile) {
26
26
  return ((0, jsx_runtime_1.jsx)(BottomDrawer_1.BottomDrawer, { onClose: handleClose, title: title, headerContent: headerContent, ...props, children: children }));
27
27
  }
28
- return ((0, jsx_runtime_1.jsxs)(styles_1.StyledDialog, { "$size": size, onClose: handleClose, className: (0, classNames_1.classNames)(dialogCva({ withoutTitle: !title }), className), classes: dialogClasses, ...props, children: [title && ((0, jsx_runtime_1.jsx)(DialogTitle_1.DialogTitle, { onClose: onClose, headerContent: headerContent, children: title })), children] }));
28
+ return ((0, jsx_runtime_1.jsxs)(styles_1.StyledDialog, { "$size": size, onClose: handleClose, className: (0, cn_1.cn)(dialogCva({ withoutTitle: !title }), className), classes: dialogClasses, ...props, children: [title && ((0, jsx_runtime_1.jsx)(DialogTitle_1.DialogTitle, { onClose: onClose, headerContent: headerContent, children: title })), children] }));
29
29
  };
30
30
  exports.Dialog = Dialog;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useLogic = void 0;
4
4
  const useViewportType_1 = require("../../useViewportType");
5
- const classNames_1 = require("../../utils/classNames");
5
+ const cn_1 = require("../../utils/cn");
6
6
  const constants_1 = require("../constants");
7
7
  const useLogic = ({ onClose, disableBackdropClick, classes, }) => {
8
8
  const { isMobile } = (0, useViewportType_1.useViewportType)();
@@ -15,7 +15,7 @@ const useLogic = ({ onClose, disableBackdropClick, classes, }) => {
15
15
  });
16
16
  const { paper, ...restClasses } = classes || {};
17
17
  const dialogClasses = {
18
- paper: (0, classNames_1.classNames)(constants_1.dialogClassnames.paper, paper),
18
+ paper: (0, cn_1.cn)(constants_1.dialogClassnames.paper, paper),
19
19
  ...restClasses,
20
20
  };
21
21
  return { handleClose, isMobile, dialogClasses };
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DialogActions = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const classNames_1 = require("../utils/classNames");
5
+ const cn_1 = require("../utils/cn");
6
6
  const constants_1 = require("./constants");
7
7
  const styles_1 = require("./styles");
8
8
  const DialogActions = ({ children, className, disableSpacing, ...props }) => {
9
- return ((0, jsx_runtime_1.jsx)(styles_1.StyledDialogActions, { className: (0, classNames_1.classNames)(className, constants_1.dialogActionsClassnames.root), ...props, children: (0, jsx_runtime_1.jsx)(styles_1.StyledGrid, { spacing: disableSpacing ? 0 : 3, children: children }) }));
9
+ return ((0, jsx_runtime_1.jsx)(styles_1.StyledDialogActions, { className: (0, cn_1.cn)(className, constants_1.dialogActionsClassnames.root), ...props, children: (0, jsx_runtime_1.jsx)(styles_1.StyledGrid, { spacing: disableSpacing ? 0 : 3, children: children }) }));
10
10
  };
11
11
  exports.DialogActions = DialogActions;
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DialogContent = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const classNames_1 = require("../utils/classNames");
5
+ const cn_1 = require("../utils/cn");
6
6
  const constants_1 = require("./constants");
7
7
  const styles_1 = require("./styles");
8
- const DialogContent = ({ className, ...restProps }) => ((0, jsx_runtime_1.jsx)(styles_1.StyledDialogContent, { className: (0, classNames_1.classNames)(className, constants_1.dialogContentClassnames.root), ...restProps }));
8
+ const DialogContent = ({ className, ...restProps }) => ((0, jsx_runtime_1.jsx)(styles_1.StyledDialogContent, { className: (0, cn_1.cn)(className, constants_1.dialogContentClassnames.root), ...restProps }));
9
9
  exports.DialogContent = DialogContent;
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DonutChart = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const classNames_1 = require("../utils/classNames");
5
+ const cn_1 = require("../utils/cn");
6
6
  const constants_1 = require("./constants");
7
7
  const styles_1 = require("./styles");
8
8
  const useLogic_1 = require("./useLogic");
9
9
  const DonutChart = ({ value, maxValue, children, color = 'primary', colorIntensity = '700', className, style, }) => {
10
10
  const { rootRef, svgViewBox, arcCx, arcCy, donutParams, meterAriaValue } = (0, useLogic_1.useLogic)({ value, maxValue, color, colorIntensity });
11
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { ref: rootRef, className: (0, classNames_1.classNames)(constants_1.donutChartClassnames.root, className), role: "meter", "aria-label": meterAriaValue.label, "aria-valuemin": meterAriaValue.min, "aria-valuemax": meterAriaValue.max, "aria-valuenow": meterAriaValue.now, style: { ...donutParams?.cssVars, ...style }, children: [donutParams && ((0, jsx_runtime_1.jsxs)(styles_1.Svg, { className: constants_1.donutChartClassnames.svg, viewBox: svgViewBox, "aria-hidden": true, children: [(0, jsx_runtime_1.jsx)(styles_1.TrackArc, { className: constants_1.donutChartClassnames.track, cx: arcCx, cy: arcCy, r: donutParams.arcR }), (0, jsx_runtime_1.jsx)(styles_1.ProgressArc, { className: constants_1.donutChartClassnames.progress, d: donutParams.arcPath, pathLength: 1, strokeDasharray: 1, strokeDashoffset: donutParams.progressOffset })] })), children && ((0, jsx_runtime_1.jsx)(styles_1.Content, { className: constants_1.donutChartClassnames.content, children: children }))] }));
11
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { ref: rootRef, className: (0, cn_1.cn)(constants_1.donutChartClassnames.root, className), role: "meter", "aria-label": meterAriaValue.label, "aria-valuemin": meterAriaValue.min, "aria-valuemax": meterAriaValue.max, "aria-valuenow": meterAriaValue.now, style: { ...donutParams?.cssVars, ...style }, children: [donutParams && ((0, jsx_runtime_1.jsxs)(styles_1.Svg, { className: constants_1.donutChartClassnames.svg, viewBox: svgViewBox, "aria-hidden": true, children: [(0, jsx_runtime_1.jsx)(styles_1.TrackArc, { className: constants_1.donutChartClassnames.track, cx: arcCx, cy: arcCy, r: donutParams.arcR }), (0, jsx_runtime_1.jsx)(styles_1.ProgressArc, { className: constants_1.donutChartClassnames.progress, d: donutParams.arcPath, pathLength: 1, strokeDasharray: 1, strokeDashoffset: donutParams.progressOffset })] })), children && ((0, jsx_runtime_1.jsx)(styles_1.Content, { className: constants_1.donutChartClassnames.content, children: children }))] }));
12
12
  };
13
13
  exports.DonutChart = DonutChart;
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const personalDataSecurity_1 = require("../personalDataSecurity");
7
7
  const TextField_1 = require("../TextField");
8
- const classNames_1 = require("../utils/classNames");
8
+ const cn_1 = require("../utils/cn");
9
9
  exports.EmailField = (0, react_1.forwardRef)(({ isHidePersonalData, inputProps, ...props }, ref) => {
10
10
  const hidePersonalDataClassname = (0, personalDataSecurity_1.useHidePersonalData)({
11
11
  isEnabled: isHidePersonalData,
@@ -13,6 +13,6 @@ exports.EmailField = (0, react_1.forwardRef)(({ isHidePersonalData, inputProps,
13
13
  });
14
14
  return ((0, jsx_runtime_1.jsx)(TextField_1.TextField, { ref: ref, type: "email", inputProps: {
15
15
  ...inputProps,
16
- className: (0, classNames_1.classNames)(inputProps?.className, hidePersonalDataClassname),
16
+ className: (0, cn_1.cn)(inputProps?.className, hidePersonalDataClassname),
17
17
  }, ...props }));
18
18
  });
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const personalDataSecurity_1 = require("../personalDataSecurity");
7
7
  const TextField_1 = require("../TextField");
8
- const classNames_1 = require("../utils/classNames");
8
+ const cn_1 = require("../utils/cn");
9
9
  const useLogic_1 = require("./useLogic");
10
10
  /**
11
11
  * Поле для ввода email или мобильного номера телефона
@@ -22,6 +22,6 @@ exports.EmailOrPhoneField = (0, react_1.forwardRef)((props, ref) => {
22
22
  });
23
23
  return ((0, jsx_runtime_1.jsx)(TextField_1.TextField, { ref: ref, type: "text", onBlur: onBlur, value: inputValue, onChange: onChange, inputProps: {
24
24
  ...inputProps,
25
- className: (0, classNames_1.classNames)(inputProps?.className, hidePersonalDataClassname),
25
+ className: (0, cn_1.cn)(inputProps?.className, hidePersonalDataClassname),
26
26
  }, ...restProps }));
27
27
  });
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const personalDataSecurity_1 = require("../personalDataSecurity");
7
7
  const Tooltip_1 = require("../Tooltip");
8
- const classNames_1 = require("../utils/classNames");
8
+ const cn_1 = require("../utils/cn");
9
9
  const styles_1 = require("./styles");
10
10
  const useLogic_1 = require("./useLogic");
11
11
  exports.Filename = (0, react_1.forwardRef)((props, forwardedRef) => {
@@ -17,5 +17,5 @@ exports.Filename = (0, react_1.forwardRef)((props, forwardedRef) => {
17
17
  const hidePersonalDataClassname = (0, personalDataSecurity_1.useHidePersonalData)({
18
18
  isEnabled: isHidePersonalData,
19
19
  });
20
- return ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: isOverflowed && children, disableInteractive: true, ...tooltipProps, className: (0, classNames_1.classNames)(tooltipProps?.className, hidePersonalDataClassname), children: (0, jsx_runtime_1.jsxs)(styles_1.StyledTypography, { "$align": align, variant: variant, className: (0, classNames_1.classNames)(className, hidePersonalDataClassname), ...restProps, children: [(0, jsx_runtime_1.jsx)(styles_1.FileBaseName, { ...baseNameProps }), (0, jsx_runtime_1.jsx)(styles_1.FileSuffix, { children: suffixWithExtension })] }) }));
20
+ return ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: isOverflowed && children, disableInteractive: true, ...tooltipProps, className: (0, cn_1.cn)(tooltipProps?.className, hidePersonalDataClassname), children: (0, jsx_runtime_1.jsxs)(styles_1.StyledTypography, { "$align": align, variant: variant, className: (0, cn_1.cn)(className, hidePersonalDataClassname), ...restProps, children: [(0, jsx_runtime_1.jsx)(styles_1.FileBaseName, { ...baseNameProps }), (0, jsx_runtime_1.jsx)(styles_1.FileSuffix, { children: suffixWithExtension })] }) }));
21
21
  });
@@ -4,19 +4,19 @@ exports.GuidTypography = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const CopyTypography_1 = require("../CopyTypography");
6
6
  const OverflowTypography_1 = require("../OverflowTypography");
7
- const classNames_1 = require("../utils/classNames");
7
+ const cn_1 = require("../utils/cn");
8
8
  const useLogic_1 = require("./useLogic");
9
9
  const GuidTypography = (props) => {
10
10
  const { className, tooltipProps, canCopy, copyParams, restProps, resolvedCopyText, hidePersonalDataClassname, } = (0, useLogic_1.useLogic)(props);
11
11
  if (canCopy) {
12
12
  return ((0, jsx_runtime_1.jsx)(CopyTypography_1.CopyTypography, { isShowCopyText: true, copyText: resolvedCopyText, tooltipProps: {
13
13
  ...tooltipProps,
14
- className: (0, classNames_1.classNames)(tooltipProps?.className, hidePersonalDataClassname),
15
- }, ...copyParams, children: (0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, { visibleLastSymbolsCount: 4, className: (0, classNames_1.classNames)(className, hidePersonalDataClassname), tooltipProps: { title: undefined }, ...restProps }) }));
14
+ className: (0, cn_1.cn)(tooltipProps?.className, hidePersonalDataClassname),
15
+ }, ...copyParams, children: (0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, { visibleLastSymbolsCount: 4, className: (0, cn_1.cn)(className, hidePersonalDataClassname), tooltipProps: { title: undefined }, ...restProps }) }));
16
16
  }
17
- return ((0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, { visibleLastSymbolsCount: 4, className: (0, classNames_1.classNames)(className, hidePersonalDataClassname), tooltipProps: {
17
+ return ((0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, { visibleLastSymbolsCount: 4, className: (0, cn_1.cn)(className, hidePersonalDataClassname), tooltipProps: {
18
18
  ...tooltipProps,
19
- className: (0, classNames_1.classNames)(tooltipProps?.className, hidePersonalDataClassname),
19
+ className: (0, cn_1.cn)(tooltipProps?.className, hidePersonalDataClassname),
20
20
  }, ...restProps }));
21
21
  };
22
22
  exports.GuidTypography = GuidTypography;
@@ -4,7 +4,7 @@ exports.HintPopover = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const CrossOutlineMd_1 = require("../../icons/CrossOutlineMd");
6
6
  const useViewportType_1 = require("../useViewportType");
7
- const classNames_1 = require("../utils/classNames");
7
+ const cn_1 = require("../utils/cn");
8
8
  const cva_1 = require("../utils/cva");
9
9
  const constants_1 = require("./constants");
10
10
  const styles_1 = require("./styles");
@@ -22,6 +22,6 @@ const hintPopoverCva = (0, cva_1.cva)(constants_1.hintPopoverClassnames.root, {
22
22
  */
23
23
  const HintPopover = ({ variant = 'dark', title, action, onClose, contentRef, children, className, ...restProps }) => {
24
24
  const { isMobile } = (0, useViewportType_1.useViewportType)();
25
- return ((0, jsx_runtime_1.jsx)(styles_1.StyledHintPopover, { ...restProps, className: (0, classNames_1.classNames)(className, hintPopoverCva({ variant })), hasArrow: true, disableMobileDrawer: true, onClose: onClose, children: (0, jsx_runtime_1.jsxs)(styles_1.Body, { ref: contentRef, tabIndex: -1, children: [(0, jsx_runtime_1.jsx)(styles_1.CloseButton, { variant: "text", onClick: onClose, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }), title && ((0, jsx_runtime_1.jsx)(styles_1.Title, { component: "div", variant: isMobile ? 'h5' : 'h4', children: title })), children, action && (0, jsx_runtime_1.jsx)(styles_1.ActionRow, { children: action })] }) }));
25
+ return ((0, jsx_runtime_1.jsx)(styles_1.StyledHintPopover, { ...restProps, className: (0, cn_1.cn)(className, hintPopoverCva({ variant })), hasArrow: true, disableMobileDrawer: true, onClose: onClose, children: (0, jsx_runtime_1.jsxs)(styles_1.Body, { ref: contentRef, tabIndex: -1, children: [(0, jsx_runtime_1.jsx)(styles_1.CloseButton, { variant: "text", onClick: onClose, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }), title && ((0, jsx_runtime_1.jsx)(styles_1.Title, { component: "div", variant: isMobile ? 'h5' : 'h4', children: title })), children, action && (0, jsx_runtime_1.jsx)(styles_1.ActionRow, { children: action })] }) }));
26
26
  };
27
27
  exports.HintPopover = HintPopover;
@@ -4,11 +4,11 @@ exports.IconButton = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const Button_1 = require("../Button");
6
6
  const forwardRefWithGeneric_1 = require("../forwardRefWithGeneric");
7
- const classNames_1 = require("../utils/classNames");
7
+ const cn_1 = require("../utils/cn");
8
8
  const constants_1 = require("./constants");
9
9
  const styles_1 = require("./styles");
10
10
  const UnwrappedIconButton = (props, ref) => {
11
11
  const { variant = Button_1.ButtonVariants.Contained, children, className, ...restProps } = props;
12
- return ((0, jsx_runtime_1.jsx)(styles_1.StyledButton, { variant: variant, className: (0, classNames_1.classNames)(constants_1.iconButtonClassnames.root, className), ...restProps, ref: ref, children: children }));
12
+ return ((0, jsx_runtime_1.jsx)(styles_1.StyledButton, { variant: variant, className: (0, cn_1.cn)(constants_1.iconButtonClassnames.root, className), ...restProps, ref: ref, children: children }));
13
13
  };
14
14
  exports.IconButton = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(UnwrappedIconButton);
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Loader = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const classNames_1 = require("../utils/classNames");
5
+ const cn_1 = require("../utils/cn");
6
6
  const constants_1 = require("./constants");
7
7
  const styles_1 = require("./styles");
8
8
  const Loader = ({ size = 'medium', color = 'primary', className, style, }) => {
9
- return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { className: (0, classNames_1.classNames)(className, constants_1.loaderClassnames.root), "$size": size, "$color": color, "data-color": color, role: "progressbar", style: style, children: (0, jsx_runtime_1.jsx)(styles_1.StyledSvgIcon, { viewBox: "22 22 44 44", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", children: (0, jsx_runtime_1.jsx)("circle", { cx: "44", cy: "44", r: "20.2", fill: "none", stroke: "currentColor", strokeWidth: "3.6", strokeDasharray: "80, 200", strokeDashoffset: "0" }) }) }));
9
+ return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { className: (0, cn_1.cn)(className, constants_1.loaderClassnames.root), "$size": size, "$color": color, "data-color": color, role: "progressbar", style: style, children: (0, jsx_runtime_1.jsx)(styles_1.StyledSvgIcon, { viewBox: "22 22 44 44", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", children: (0, jsx_runtime_1.jsx)("circle", { cx: "44", cy: "44", r: "20.2", fill: "none", stroke: "currentColor", strokeWidth: "3.6", strokeDasharray: "80, 200", strokeDashoffset: "0" }) }) }));
10
10
  };
11
11
  exports.Loader = Loader;
@@ -8,10 +8,10 @@ const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const MenuItem_1 = __importDefault(require("@mui/material/MenuItem"));
9
9
  const forwardRefWithGeneric_1 = require("../forwardRefWithGeneric");
10
10
  const Tooltip_1 = require("../Tooltip");
11
- const classNames_1 = require("../utils/classNames");
11
+ const cn_1 = require("../utils/cn");
12
12
  const constants_1 = require("./constants");
13
13
  const InnerMenuItem = (props, ref) => {
14
14
  const { disabledReason, disabled, component = 'div', title, tooltipPlacement = 'left', note, className, ...rest } = props;
15
- return ((0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: disabled ? disabledReason : note, placement: tooltipPlacement, withoutContainer: !disabled, children: (0, jsx_runtime_1.jsx)(MenuItem_1.default, { className: (0, classNames_1.classNames)(constants_1.menuItemClassnames.root, className), ...rest, disabled: disabled, title: title, ref: ref, component: component }) }, title) }));
15
+ return ((0, jsx_runtime_1.jsx)("li", { children: (0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: disabled ? disabledReason : note, placement: tooltipPlacement, withoutContainer: !disabled, children: (0, jsx_runtime_1.jsx)(MenuItem_1.default, { className: (0, cn_1.cn)(constants_1.menuItemClassnames.root, className), ...rest, disabled: disabled, title: title, ref: ref, component: component }) }, title) }));
16
16
  };
17
17
  exports.MenuItem = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(InnerMenuItem);
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const NextOutlineMd_1 = require("../../icons/NextOutlineMd");
6
6
  const PreviousOutlineMd_1 = require("../../icons/PreviousOutlineMd");
7
7
  const IconButton_1 = require("../IconButton");
8
- const classNames_1 = require("../utils/classNames");
8
+ const cn_1 = require("../utils/cn");
9
9
  const cva_1 = require("../utils/cva");
10
10
  const constants_1 = require("./constants");
11
11
  const styles_1 = require("./styles");
@@ -20,6 +20,6 @@ const rootCva = (0, cva_1.cva)(constants_1.minimalisticPaginationClassnames.root
20
20
  const MinimalisticPagination = (props) => {
21
21
  const { previousButtonProps, nextButtonProps } = (0, useLogic_1.useLogic)(props);
22
22
  const { page, className, isDisabled } = props;
23
- return ((0, jsx_runtime_1.jsxs)(styles_1.PaginationWrapper, { className: (0, classNames_1.classNames)(className, rootCva({ isDisabled })), "aria-label": "\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F", children: [(0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { "aria-label": "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0443\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443", variant: "text", ...previousButtonProps, children: (0, jsx_runtime_1.jsx)(PreviousOutlineMd_1.PreviousOutlineMd, {}) }), (0, jsx_runtime_1.jsx)(styles_1.PageItem, { component: "span", children: page }), (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { "aria-label": "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443", variant: "text", ...nextButtonProps, children: (0, jsx_runtime_1.jsx)(NextOutlineMd_1.NextOutlineMd, {}) })] }));
23
+ return ((0, jsx_runtime_1.jsxs)(styles_1.PaginationWrapper, { className: (0, cn_1.cn)(className, rootCva({ isDisabled })), "aria-label": "\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F", children: [(0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { "aria-label": "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0443\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443", variant: "text", ...previousButtonProps, children: (0, jsx_runtime_1.jsx)(PreviousOutlineMd_1.PreviousOutlineMd, {}) }), (0, jsx_runtime_1.jsx)(styles_1.PageItem, { component: "span", children: page }), (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { "aria-label": "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443", variant: "text", ...nextButtonProps, children: (0, jsx_runtime_1.jsx)(NextOutlineMd_1.NextOutlineMd, {}) })] }));
24
24
  };
25
25
  exports.MinimalisticPagination = MinimalisticPagination;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NewPopover = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const BottomDrawer_1 = require("../BottomDrawer");
6
- const classNames_1 = require("../utils/classNames");
6
+ const cn_1 = require("../utils/cn");
7
7
  const cva_1 = require("../utils/cva");
8
8
  const constants_1 = require("./constants");
9
9
  const styles_1 = require("./styles");
@@ -32,6 +32,6 @@ const NewPopover = ({ children, onClose, isOpen, title, className, style, placem
32
32
  disableAutoFocus,
33
33
  }, children: children }));
34
34
  }
35
- return ((0, jsx_runtime_1.jsx)(styles_1.StyledMuiPopper, { className: (0, classNames_1.classNames)(constants_1.popoverClassnames.root, className), style: style, open: shouldRender, placement: placement, anchorEl: anchorEl, disablePortal: disablePortal, modifiers: mergedModifiers, children: (0, jsx_runtime_1.jsxs)(styles_1.AnimatedWrapper, { className: animatedWrapperCva({ isOpen: isOpened, hasArrow }), style: animatedWrapperStyle, onAnimationEnd: handleAnimationEnd, children: [hasArrow && ((0, jsx_runtime_1.jsx)(styles_1.PopoverArrow, { ref: setArrowElement, className: constants_1.popoverClassnames.arrow })), (0, jsx_runtime_1.jsx)(styles_1.InnerContainer, { ref: setContainerRef, tabIndex: -1, className: constants_1.popoverClassnames.innerContainer, children: children })] }) }));
35
+ return ((0, jsx_runtime_1.jsx)(styles_1.StyledMuiPopper, { className: (0, cn_1.cn)(constants_1.popoverClassnames.root, className), style: style, open: shouldRender, placement: placement, anchorEl: anchorEl, disablePortal: disablePortal, modifiers: mergedModifiers, children: (0, jsx_runtime_1.jsxs)(styles_1.AnimatedWrapper, { className: animatedWrapperCva({ isOpen: isOpened, hasArrow }), style: animatedWrapperStyle, onAnimationEnd: handleAnimationEnd, children: [hasArrow && ((0, jsx_runtime_1.jsx)(styles_1.PopoverArrow, { ref: setArrowElement, className: constants_1.popoverClassnames.arrow })), (0, jsx_runtime_1.jsx)(styles_1.InnerContainer, { ref: setContainerRef, tabIndex: -1, className: constants_1.popoverClassnames.innerContainer, children: children })] }) }));
36
36
  };
37
37
  exports.NewPopover = NewPopover;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NewStepper = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const classNames_1 = require("../utils/classNames");
5
+ const cn_1 = require("../utils/cn");
6
6
  const cva_1 = require("../utils/cva");
7
7
  const constants_1 = require("./constants");
8
8
  const StepperContext_1 = require("./StepperContext");
@@ -25,7 +25,7 @@ const stepper = (0, cva_1.cva)(constants_1.stepperClassnames.root, {
25
25
  });
26
26
  const NewStepper = (props) => {
27
27
  const { containerRef, stepperConnector, stepperAlternativeLabel, activeStep, onClickPrevStep, onClickStep, orientation, className, children, } = (0, useLogic_1.useLogic)(props);
28
- return ((0, jsx_runtime_1.jsx)(StepperContext_1.StepperContextProvider, { orientation: orientation, activeStep: activeStep, connector: stepperConnector, alternativeLabel: stepperAlternativeLabel, onClickPrevStep: onClickPrevStep, onClickStep: onClickStep, children: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { ref: containerRef, role: "group", className: (0, classNames_1.classNames)(stepper({
28
+ return ((0, jsx_runtime_1.jsx)(StepperContext_1.StepperContextProvider, { orientation: orientation, activeStep: activeStep, connector: stepperConnector, alternativeLabel: stepperAlternativeLabel, onClickPrevStep: onClickPrevStep, onClickStep: onClickStep, children: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { ref: containerRef, role: "group", className: (0, cn_1.cn)(stepper({
29
29
  alternativeLabel: stepperAlternativeLabel,
30
30
  connector: stepperConnector,
31
31
  orientation,