@astral/ui 4.69.0 → 4.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +3 -2
  2. package/components/ActionGroup/MainActions/styles.d.ts +2 -1
  3. package/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +2 -1
  4. package/components/Alert/styles.d.ts +2 -1
  5. package/components/AutoSaveIndicator/ErrorState/styles.d.ts +2 -1
  6. package/components/AutoSaveIndicator/styles.d.ts +2 -1
  7. package/components/Button/Button.d.ts +2 -1
  8. package/components/Button/types.d.ts +4 -3
  9. package/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +2 -1
  10. package/components/CheckableTag/CheckableTag.d.ts +0 -1
  11. package/components/CheckableTag/CheckableTag.js +0 -1
  12. package/components/CollapsibleTypography/styles.d.ts +2 -1
  13. package/components/ConfirmDialog/styles.d.ts +2 -1
  14. package/components/DashboardAlert/styles.d.ts +2 -1
  15. package/components/DashboardLayout/Container/styles.js +1 -1
  16. package/components/DashboardLayout/DashboardLayout.d.ts +1 -1
  17. package/components/DashboardLayout/DashboardLayout.js +1 -1
  18. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.js +5 -5
  19. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.js +1 -1
  20. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.js +1 -1
  21. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.d.ts +6 -6
  22. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.js +8 -8
  23. package/{node/components → components/DashboardLayout}/DashboardSidebar/types.d.ts +1 -1
  24. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.js +3 -3
  25. package/{node/components → components/DashboardLayout}/DashboardSidebar/useLogic/useLogic.d.ts +2 -2
  26. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/useLogic.js +7 -7
  27. package/components/DashboardLayout/Header/styles.d.ts +2 -1
  28. package/components/DashboardLayout/Header/styles.js +1 -1
  29. package/components/DashboardLayout/index.d.ts +1 -0
  30. package/components/DashboardLayout/public.d.ts +1 -1
  31. package/components/DashboardSidebarButton/styles.d.ts +2 -1
  32. package/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +1 -1
  33. package/components/DataGrid/Row/NestedChildren/styles.d.ts +2 -1
  34. package/components/DataGrid/Row/styles.d.ts +2 -1
  35. package/components/DataGridActionCell/DataGridMainActions/Action/MainIconButton/styles.d.ts +2 -1
  36. package/components/DataGridActionCell/DataGridMainActions/Action/MobileMainButton/styles.d.ts +2 -1
  37. package/components/DataGridActionCell/SecondaryActionsButton/styles.d.ts +2 -1
  38. package/components/DatePicker/styles.d.ts +2 -1
  39. package/components/FlowButton/styles.d.ts +2 -1
  40. package/components/IconButton/IconButton.d.ts +2 -1
  41. package/components/IconButton/styles.d.ts +2 -1
  42. package/components/LegacyNotification/NotificationTemplate/styles.d.ts +2 -1
  43. package/components/MenuOrganization/OrganizationButton/styles.d.ts +2 -1
  44. package/components/MenuOrganization/OrganizationItem/styles.d.ts +2 -1
  45. package/components/NewStepper/Step/styles.d.ts +2 -1
  46. package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
  47. package/components/Notification/NotificationStackContainer/styles.d.ts +2 -1
  48. package/components/Notification/NotificationTemplate/styles.d.ts +2 -1
  49. package/components/NotificationList/ListItem/ListItem.js +1 -1
  50. package/components/PageHeader/MobilePageActions/styles.d.ts +1 -1
  51. package/components/PageHeader/PageActions/PageActions.d.ts +1 -1
  52. package/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +2 -1
  53. package/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +2 -1
  54. package/components/PageHeader/PageActions/styles.d.ts +2 -1
  55. package/components/PageHeader/Title/styles.d.ts +2 -1
  56. package/components/Pagination/PaginationItem/PaginationItem.js +1 -1
  57. package/components/Pagination/PaginationItem/styles.d.ts +2 -1
  58. package/components/PinButton/styles.d.ts +2 -1
  59. package/components/Product/styles.d.ts +2 -1
  60. package/components/Profile/styles.d.ts +2 -1
  61. package/components/SearchField/styles.d.ts +2 -1
  62. package/components/StaticCalendar/StaticCalendarButton/styles.d.ts +2 -1
  63. package/components/Tag/styles.d.ts +2 -1
  64. package/components/Tree/TreeItem/styles.d.ts +2 -1
  65. package/components/index.d.ts +1 -1
  66. package/hook-form/EditableText/EditingForm/styles.d.ts +2 -1
  67. package/hook-form/FormFilters/FormFiltersDialog/ResetButton/styles.d.ts +2 -1
  68. package/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +4 -2
  69. package/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +2 -1
  70. package/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +2 -1
  71. package/hook-form/FormWizard/Footer/styles.d.ts +2 -1
  72. package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +2 -1
  73. package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +3 -2
  74. package/node/components/ActionGroup/MainActions/styles.d.ts +2 -1
  75. package/node/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +2 -1
  76. package/node/components/Alert/styles.d.ts +2 -1
  77. package/node/components/AutoSaveIndicator/ErrorState/styles.d.ts +2 -1
  78. package/node/components/AutoSaveIndicator/styles.d.ts +2 -1
  79. package/node/components/Button/Button.d.ts +2 -1
  80. package/node/components/Button/types.d.ts +4 -3
  81. package/node/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +2 -1
  82. package/node/components/CheckableTag/CheckableTag.d.ts +0 -1
  83. package/node/components/CheckableTag/CheckableTag.js +0 -1
  84. package/node/components/CollapsibleTypography/styles.d.ts +2 -1
  85. package/node/components/ConfirmDialog/styles.d.ts +2 -1
  86. package/node/components/DashboardAlert/styles.d.ts +2 -1
  87. package/node/components/DashboardLayout/Container/styles.js +6 -6
  88. package/node/components/DashboardLayout/DashboardLayout.d.ts +1 -1
  89. package/node/components/DashboardLayout/DashboardLayout.js +1 -1
  90. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.js +5 -5
  91. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.js +1 -1
  92. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.js +1 -1
  93. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.d.ts +1 -1
  94. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.js +12 -12
  95. package/{components → node/components/DashboardLayout}/DashboardSidebar/types.d.ts +1 -1
  96. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.js +3 -3
  97. package/{components → node/components/DashboardLayout}/DashboardSidebar/useLogic/useLogic.d.ts +2 -2
  98. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/useLogic.js +7 -7
  99. package/node/components/DashboardLayout/Header/styles.d.ts +2 -1
  100. package/node/components/DashboardLayout/Header/styles.js +20 -20
  101. package/node/components/DashboardLayout/index.d.ts +1 -0
  102. package/node/components/DashboardLayout/public.d.ts +1 -1
  103. package/node/components/DashboardSidebarButton/styles.d.ts +2 -1
  104. package/node/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +1 -1
  105. package/node/components/DataGrid/Row/NestedChildren/styles.d.ts +2 -1
  106. package/node/components/DataGrid/Row/styles.d.ts +2 -1
  107. package/node/components/DataGridActionCell/DataGridMainActions/Action/MainIconButton/styles.d.ts +2 -1
  108. package/node/components/DataGridActionCell/DataGridMainActions/Action/MobileMainButton/styles.d.ts +2 -1
  109. package/node/components/DataGridActionCell/SecondaryActionsButton/styles.d.ts +2 -1
  110. package/node/components/DatePicker/styles.d.ts +2 -1
  111. package/node/components/FlowButton/styles.d.ts +2 -1
  112. package/node/components/IconButton/IconButton.d.ts +2 -1
  113. package/node/components/IconButton/styles.d.ts +2 -1
  114. package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +2 -1
  115. package/node/components/MenuOrganization/OrganizationButton/styles.d.ts +2 -1
  116. package/node/components/MenuOrganization/OrganizationItem/styles.d.ts +2 -1
  117. package/node/components/NewStepper/Step/styles.d.ts +2 -1
  118. package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
  119. package/node/components/Notification/NotificationStackContainer/styles.d.ts +2 -1
  120. package/node/components/Notification/NotificationTemplate/styles.d.ts +2 -1
  121. package/node/components/NotificationList/ListItem/ListItem.js +1 -1
  122. package/node/components/PageHeader/MobilePageActions/styles.d.ts +1 -1
  123. package/node/components/PageHeader/PageActions/PageActions.d.ts +1 -1
  124. package/node/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +2 -1
  125. package/node/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +2 -1
  126. package/node/components/PageHeader/PageActions/styles.d.ts +2 -1
  127. package/node/components/PageHeader/Title/styles.d.ts +2 -1
  128. package/node/components/Pagination/PaginationItem/PaginationItem.js +1 -1
  129. package/node/components/Pagination/PaginationItem/styles.d.ts +2 -1
  130. package/node/components/PinButton/styles.d.ts +2 -1
  131. package/node/components/Product/styles.d.ts +2 -1
  132. package/node/components/Profile/styles.d.ts +2 -1
  133. package/node/components/SearchField/styles.d.ts +2 -1
  134. package/node/components/StaticCalendar/StaticCalendarButton/styles.d.ts +2 -1
  135. package/node/components/Tag/styles.d.ts +2 -1
  136. package/node/components/Tree/TreeItem/styles.d.ts +2 -1
  137. package/node/components/index.d.ts +1 -1
  138. package/node/hook-form/EditableText/EditingForm/styles.d.ts +2 -1
  139. package/node/hook-form/FormFilters/FormFiltersDialog/ResetButton/styles.d.ts +2 -1
  140. package/node/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +4 -2
  141. package/node/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +2 -1
  142. package/node/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +2 -1
  143. package/node/hook-form/FormWizard/Footer/styles.d.ts +2 -1
  144. package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +2 -1
  145. package/package.json +1 -1
  146. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.d.ts +0 -0
  147. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.d.ts +0 -0
  148. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.js +0 -0
  149. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.d.ts +0 -0
  150. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.d.ts +0 -0
  151. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.js +0 -0
  152. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.d.ts +0 -0
  153. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.d.ts +0 -0
  154. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.js +0 -0
  155. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/types.js +0 -0
  156. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.d.ts +0 -0
  157. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.js +0 -0
  158. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.d.ts +0 -0
  159. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.js +0 -0
  160. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.d.ts +0 -0
  161. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.d.ts +0 -0
  162. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.js +0 -0
  163. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.d.ts +0 -0
  164. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.d.ts +0 -0
  165. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.js +0 -0
  166. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.d.ts +0 -0
  167. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.d.ts +0 -0
  168. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.js +0 -0
  169. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.d.ts +0 -0
  170. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.d.ts +0 -0
  171. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.js +0 -0
  172. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/types.js +0 -0
  173. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.d.ts +0 -0
  174. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.js +0 -0
  175. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.d.ts +0 -0
  176. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.js +0 -0
  177. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.d.ts +0 -0
  178. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.d.ts +0 -0
  179. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.js +0 -0
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -2,12 +2,13 @@
2
2
  export declare const StyledGrid: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  } & import("../Grid/styles").StyledGridProps, {}, {}>;
5
- export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
5
+ export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
6
6
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
7
7
  loading?: boolean | undefined;
8
8
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
9
9
  component?: import("react").ElementType | undefined;
10
10
  selected?: boolean | undefined;
11
+ size?: "large" | "medium" | undefined;
11
12
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
12
13
  theme?: import("@emotion/react").Theme | undefined;
13
14
  }, {}, {}>;
@@ -3,12 +3,13 @@ export declare const ErrorWrapper: import("@emotion/styled/dist/declarations/src
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
6
+ export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
7
7
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
8
8
  loading?: boolean | undefined;
9
9
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
10
10
  component?: import("react").ElementType | undefined;
11
11
  selected?: boolean | undefined;
12
+ size?: "large" | "medium" | undefined;
12
13
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
13
14
  theme?: import("@emotion/react").Theme | undefined;
14
15
  }, {}, {}>;
@@ -17,12 +17,13 @@ export declare const StyledTypography: import("@emotion/styled/dist/declarations
17
17
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
18
18
  theme?: import("@emotion/react").Theme | undefined;
19
19
  }, {}, {}>;
20
- export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
20
+ export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
21
21
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
22
22
  loading?: boolean | undefined;
23
23
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
24
24
  component?: import("react").ElementType | undefined;
25
25
  selected?: boolean | undefined;
26
+ size?: "large" | "medium" | undefined;
26
27
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
27
28
  theme?: import("@emotion/react").Theme | undefined;
28
29
  }, {}, {}>;
@@ -1,9 +1,10 @@
1
1
  import { type ElementType } from 'react';
2
- export declare const Button: <TComponent extends ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const Button: <TComponent extends ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: TComponent | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").ComponentPropsWithRef<ElementType extends TComponent ? "button" : TComponent>, ""> & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
9
10
  export default Button;
@@ -1,7 +1,7 @@
1
1
  import type { ButtonProps as MuiButtonProps } from '@mui/material/Button';
2
2
  import { type ComponentPropsWithRef, type ElementType } from 'react';
3
3
  import type { WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
4
- import { type ButtonColors, type ButtonSizes, type ButtonStates, type ButtonVariants } from './enums';
4
+ import { type ButtonColors, type ButtonStates, type ButtonVariants } from './enums';
5
5
  declare module '@mui/material/Button' {
6
6
  interface ButtonPropsVariantOverrides {
7
7
  contained: true;
@@ -20,9 +20,9 @@ declare module '@mui/material/Button' {
20
20
  }
21
21
  export type ButtonColor = `${ButtonColors}`;
22
22
  export type ButtonVariant = `${ButtonVariants}`;
23
- export type ButtonSize = `${ButtonSizes}`;
23
+ export type ButtonSize = 'medium' | 'large';
24
24
  export type ButtonState = `${ButtonStates}`;
25
- export type ButtonProps<TComponent extends ElementType = ElementType> = Omit<WithoutEmotionSpecific<MuiButtonProps>, 'variant' | 'color' | 'centerRipple' | 'disableRipple' | 'TouchRippleProps' | 'disableTouchRipple' | 'disableFocusRipple' | 'focusRipple' | 'touchRippleRef' | 'component'> & {
25
+ export type ButtonProps<TComponent extends ElementType = ElementType> = Omit<WithoutEmotionSpecific<MuiButtonProps>, 'variant' | 'color' | 'centerRipple' | 'disableRipple' | 'TouchRippleProps' | 'disableTouchRipple' | 'disableFocusRipple' | 'focusRipple' | 'touchRippleRef' | 'component' | 'size'> & {
26
26
  /**
27
27
  * Тип кнопки
28
28
  */
@@ -43,4 +43,5 @@ export type ButtonProps<TComponent extends ElementType = ElementType> = Omit<Wit
43
43
  * Состояние кнопки - selected
44
44
  */
45
45
  selected?: boolean;
46
+ size?: 'medium' | 'large';
46
47
  } & Omit<ComponentPropsWithRef<ElementType extends TComponent ? 'button' : TComponent>, ''>;
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -38,7 +38,6 @@ export type CheckableTagProps = Omit<TagProps, 'onChange' | 'startAddon' | 'endA
38
38
  * onChange={handleChecked}
39
39
  * endAddon={(props: TagBadgeProps) => (<TagBadge {...props} badgeContent={'12'} />)}
40
40
  * />
41
- * @deprecated Используйте компонент Chip
42
41
  */
43
42
  export declare const CheckableTag: import("react").ForwardRefExoticComponent<Omit<TagProps, "onChange" | "variant" | "startAddon" | "endAddon"> & {
44
43
  /**
@@ -15,7 +15,6 @@ const styles_1 = require("./styles");
15
15
  * onChange={handleChecked}
16
16
  * endAddon={(props: TagBadgeProps) => (<TagBadge {...props} badgeContent={'12'} />)}
17
17
  * />
18
- * @deprecated Используйте компонент Chip
19
18
  */
20
19
  exports.CheckableTag = (0, react_1.forwardRef)(({ checked, variant = 'light', color = 'grey', onChange, disabled, startAddon: StartAddon, endAddon: EndAddon, ...tagProps }, ref) => {
21
20
  const checkableStartAddon = StartAddon
@@ -18,12 +18,13 @@ export declare const Wrapper: import("@emotion/styled/dist/declarations/src/type
18
18
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
19
19
  theme?: import("@emotion/react").Theme | undefined;
20
20
  } & CollapsibleTypographyWrapperProps, {}, {}>;
21
- export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
21
+ export declare const StyledButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
22
22
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
23
23
  loading?: boolean | undefined;
24
24
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
25
25
  component?: import("react").ElementType | undefined;
26
26
  selected?: boolean | undefined;
27
+ size?: "large" | "medium" | undefined;
27
28
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
28
29
  theme?: import("@emotion/react").Theme | undefined;
29
30
  } & {
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const CancelButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const CancelButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -2,10 +2,11 @@
2
2
  export declare const StyledAlert: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("../Alert").AlertProps & import("react").RefAttributes<HTMLDivElement> & {
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  }, {}, {}>;
5
- export declare const StyledButton: <TComponent extends import("react").ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
5
+ export declare const StyledButton: <TComponent extends import("react").ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
6
6
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
7
7
  loading?: boolean | undefined;
8
8
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
9
9
  component?: TComponent | undefined;
10
10
  selected?: boolean | undefined;
11
+ size?: "large" | "medium" | undefined;
11
12
  } & Omit<import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "button" : TComponent>, ""> & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Root = void 0;
4
- const constants_1 = require("../../DashboardSidebar/constants");
5
4
  const styled_1 = require("../../styled");
6
- const constants_2 = require("./constants");
5
+ const DashboardSidebar_1 = require("../DashboardSidebar");
6
+ const constants_1 = require("./constants");
7
7
  exports.Root = styled_1.styled.div `
8
8
  display: grid;
9
9
  grid-template-columns: auto 1fr;
@@ -21,7 +21,7 @@ exports.Root = styled_1.styled.div `
21
21
 
22
22
  /* Причина игнора: Не критично для отображения */
23
23
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
24
- &:has(.${constants_1.dashboardSidebarClassnames.root}) {
24
+ &:has(.${DashboardSidebar_1.dashboardSidebarClassnames.root}) {
25
25
  column-gap: ${({ theme }) => theme.spacing(4)};
26
26
 
27
27
  ${({ theme }) => theme.breakpoints.down('sm')} {
@@ -44,15 +44,15 @@ exports.Root = styled_1.styled.div `
44
44
  padding: 0;
45
45
  }
46
46
 
47
- &.${constants_2.containerClassnames.compact} {
47
+ &.${constants_1.containerClassnames.compact} {
48
48
  max-width: 1572px;
49
49
  }
50
50
 
51
- &.${constants_2.containerClassnames.wide} {
51
+ &.${constants_1.containerClassnames.wide} {
52
52
  max-width: 1920px;
53
53
  }
54
54
 
55
- &.${constants_2.containerClassnames.focusedMode} {
55
+ &.${constants_1.containerClassnames.focusedMode} {
56
56
  max-width: 100%;
57
57
  }
58
58
  `;
@@ -6,6 +6,6 @@ import { type DashboardLayoutProps } from './types';
6
6
  export declare const DashboardLayout: {
7
7
  ({ children, isFocusedMode, isLoading, mobileHeaderPriorityFeature, desktopViewMode, }: DashboardLayoutProps): import("react/jsx-runtime").JSX.Element;
8
8
  Header: import("react").ForwardRefExoticComponent<import("./Header").HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
9
- Sidebar: import("react").ForwardRefExoticComponent<import("../DashboardSidebar").DashboardSidebarProps & import("react").RefAttributes<HTMLBaseElement>>;
9
+ Sidebar: import("react").ForwardRefExoticComponent<import("./DashboardSidebar").DashboardSidebarProps & import("react").RefAttributes<HTMLBaseElement>>;
10
10
  Main: import("react").ForwardRefExoticComponent<import("./Main").MainProps & import("react").RefAttributes<HTMLDivElement>>;
11
11
  };
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DashboardLayout = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const DashboardContext_1 = require("../DashboardContext");
6
- const DashboardSidebar_1 = require("../DashboardSidebar");
6
+ const DashboardSidebar_1 = require("./DashboardSidebar");
7
7
  const DashboardWrapper_1 = require("./DashboardWrapper");
8
8
  const Header_1 = require("./Header");
9
9
  const Main_1 = require("./Main");
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DashboardSidebar = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
- const DashboardSidebarSkeleton_1 = require("../DashboardSidebarSkeleton");
7
- const NavMenu_1 = require("../NavMenu");
8
- const PinButton_1 = require("../PinButton");
9
- const cva_1 = require("../utils/cva");
10
- const getInertProps_1 = require("../utils/getInertProps");
6
+ const DashboardSidebarSkeleton_1 = require("../../DashboardSidebarSkeleton");
7
+ const NavMenu_1 = require("../../NavMenu");
8
+ const PinButton_1 = require("../../PinButton");
9
+ const cva_1 = require("../../utils/cva");
10
+ const getInertProps_1 = require("../../utils/getInertProps");
11
11
  const constants_1 = require("./constants");
12
12
  const SidebarNav_1 = require("./SidebarNav");
13
13
  const styles_1 = require("./styles");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sidebarNavClassnames = void 0;
4
- const createUIKitClassname_1 = require("../../utils/createUIKitClassname");
4
+ const createUIKitClassname_1 = require("../../../utils/createUIKitClassname");
5
5
  exports.sidebarNavClassnames = {
6
6
  root: (0, createUIKitClassname_1.createUIKitClassname)('dashboard-layout-sidebar__navigation'),
7
7
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LABEL_WIDTH = exports.dashboardSidebarClassnames = void 0;
4
- const createUIKitClassname_1 = require("../utils/createUIKitClassname");
4
+ const createUIKitClassname_1 = require("../../utils/createUIKitClassname");
5
5
  exports.dashboardSidebarClassnames = {
6
6
  root: (0, createUIKitClassname_1.createUIKitClassname)('dashboard-layout-sidebar'),
7
7
  hasProfile: (0, createUIKitClassname_1.createUIKitClassname)('dashboard-layout-sidebar_has-profile'),
@@ -6,7 +6,7 @@ export declare const Wrapper: import("@emotion/styled/dist/declarations/src/type
6
6
  $isPinned: boolean;
7
7
  $alertHeight: number;
8
8
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const StyledPaper: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../Paper").PaperProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
9
+ export declare const StyledPaper: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../Paper").PaperProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
10
10
  theme?: import("@emotion/react").Theme | undefined;
11
11
  }, {}, {}>;
12
12
  export declare const SidebarRoot: import("@emotion/styled/dist/declarations/src/types").StyledComponent<{
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Footer = exports.SidebarContent = exports.SidebarHeader = exports.SidebarRoot = exports.StyledPaper = exports.Wrapper = void 0;
4
- const constants_1 = require("../constants");
5
- const constants_2 = require("../DashboardLayout/constants");
6
- const constants_3 = require("../MenuOrganization/constants");
7
- const OrganizationButton_1 = require("../MenuOrganization/OrganizationButton");
8
- const Item_1 = require("../NavMenu/Item");
9
- const Paper_1 = require("../Paper");
10
- const PinButton_1 = require("../PinButton");
11
- const styled_1 = require("../styled");
4
+ const constants_1 = require("../../constants");
5
+ const constants_2 = require("../../MenuOrganization/constants");
6
+ const OrganizationButton_1 = require("../../MenuOrganization/OrganizationButton");
7
+ const Item_1 = require("../../NavMenu/Item");
8
+ const Paper_1 = require("../../Paper");
9
+ const PinButton_1 = require("../../PinButton");
10
+ const styled_1 = require("../../styled");
11
+ const constants_3 = require("../constants");
12
12
  const constants_4 = require("./constants");
13
13
  exports.Wrapper = (0, styled_1.styled)('div', {
14
14
  shouldForwardProp: (prop) => !['$isPinned', '$alertHeight'].includes(prop),
@@ -23,7 +23,7 @@ exports.Wrapper = (0, styled_1.styled)('div', {
23
23
  ${({ theme }) => theme.breakpoints.down('sm')} {
24
24
  position: absolute;
25
25
  z-index: ${({ theme }) => theme.zIndex.appBar - 1};
26
- top: ${({ $alertHeight }) => `calc(${$alertHeight}px + ${constants_2.HEADER_HEIGHT_MOBILE}) `};
26
+ top: ${({ $alertHeight }) => `calc(${$alertHeight}px + ${constants_3.HEADER_HEIGHT_MOBILE}) `};
27
27
  bottom: 0;
28
28
  transform: ${({ $isPinned }) => $isPinned ? 'translateX(0px)' : 'translateX(-100vw)'};
29
29
 
@@ -39,7 +39,7 @@ exports.Wrapper = (0, styled_1.styled)('div', {
39
39
  }};
40
40
 
41
41
  &.${constants_4.dashboardSidebarClassnames.hasMenuOrganization}, &.${constants_4.dashboardSidebarClassnames.hasProfile} {
42
- top: ${({ $alertHeight }) => `calc(${$alertHeight}px + ${constants_2.HEADER_HEIGHT_MOBILE} + ${OrganizationButton_1.MOBILE_BUTTON_HEIGHT}) `};
42
+ top: ${({ $alertHeight }) => `calc(${$alertHeight}px + ${constants_3.HEADER_HEIGHT_MOBILE} + ${OrganizationButton_1.MOBILE_BUTTON_HEIGHT}) `};
43
43
  }
44
44
  }
45
45
  `;
@@ -92,11 +92,11 @@ exports.SidebarHeader = styled_1.styled.header `
92
92
 
93
93
  /* Причина игнора: Не критично для отображения */
94
94
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
95
- &:has(.${constants_3.menuOrganizationClassnames.button}) {
95
+ &:has(.${constants_2.menuOrganizationClassnames.button}) {
96
96
  padding: 0;
97
97
  }
98
98
 
99
- & .${constants_3.menuOrganizationClassnames.button} {
99
+ & .${constants_2.menuOrganizationClassnames.button} {
100
100
  height: ${OrganizationButton_1.MOBILE_BUTTON_HEIGHT};
101
101
  padding: ${({ theme }) => theme.spacing(3, 4)};
102
102
  }
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { NavMenuProps } from '../NavMenu';
2
+ import type { NavMenuProps } from '../../NavMenu';
3
3
  export type DashboardSidebarProps = {
4
4
  /**
5
5
  * Название класса, применяется к корневому компоненту
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useCloseSidebarOnMobile = void 0;
4
4
  const react_1 = require("react");
5
- const DashboardSidebarProvider_1 = require("../../../../DashboardSidebarProvider");
6
- const NavMenu_1 = require("../../../../NavMenu");
7
- const useViewportType_1 = require("../../../../useViewportType");
5
+ const DashboardSidebarProvider_1 = require("../../../../../DashboardSidebarProvider");
6
+ const NavMenu_1 = require("../../../../../NavMenu");
7
+ const useViewportType_1 = require("../../../../../useViewportType");
8
8
  const SidebarNav_1 = require("../../../SidebarNav");
9
9
  const useCloseSidebarOnMobile = () => {
10
10
  const { isMobile } = (0, useViewportType_1.useViewportType)();
@@ -12,13 +12,13 @@ export declare const useLogic: (props: DashboardSidebarProps) => {
12
12
  items: [key: string, value: {
13
13
  icon: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
14
14
  text: import("react").ReactNode;
15
- counter?: import("../../NavMenu/Item").CounterProps | undefined;
15
+ counter?: import("../../../NavMenu/Item").CounterProps | undefined;
16
16
  active?: boolean | undefined;
17
17
  items?: [key: string, value: {
18
18
  text: import("react").ReactNode;
19
19
  active: boolean;
20
20
  component: import("react").ElementType;
21
- counter?: import("../../NavMenu/Item").CounterProps | undefined;
21
+ counter?: import("../../../NavMenu/Item").CounterProps | undefined;
22
22
  }][] | undefined;
23
23
  component?: import("react").ElementType | undefined;
24
24
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & {
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useLogic = void 0;
4
4
  const react_1 = require("react");
5
- const DashboardContext_1 = require("../../DashboardContext");
6
- const Header_1 = require("../../DashboardLayout/Header");
7
- const Main_1 = require("../../DashboardLayout/Main");
8
- const DashboardSidebarProvider_1 = require("../../DashboardSidebarProvider");
9
- const useTheme_1 = require("../../theme/hooks/useTheme");
10
- const useViewportType_1 = require("../../useViewportType");
11
- const classNames_1 = require("../../utils/classNames");
5
+ const DashboardContext_1 = require("../../../DashboardContext");
6
+ const DashboardSidebarProvider_1 = require("../../../DashboardSidebarProvider");
7
+ const useTheme_1 = require("../../../theme/hooks/useTheme");
8
+ const useViewportType_1 = require("../../../useViewportType");
9
+ const classNames_1 = require("../../../utils/classNames");
10
+ const Header_1 = require("../../Header");
11
+ const Main_1 = require("../../Main");
12
12
  const constants_1 = require("../constants");
13
13
  const hooks_1 = require("./hooks");
14
14
  const useLogic = (props) => {
@@ -29,12 +29,13 @@ export declare const ProfileWrapper: import("@emotion/styled/dist/declarations/s
29
29
  } & {
30
30
  $isShow: boolean;
31
31
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
32
- export declare const ExitButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material/Button").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
32
+ export declare const ExitButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material/Button").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
33
33
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
34
34
  loading?: boolean | undefined;
35
35
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
36
36
  component?: import("react").ElementType | undefined;
37
37
  selected?: boolean | undefined;
38
+ size?: "large" | "medium" | undefined;
38
39
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
39
40
  theme?: import("@emotion/react").Theme | undefined;
40
41
  } & {
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MobileNotificationListWrapper = exports.PriorityFeatureWrapper = exports.HeaderContent = exports.ExitButton = exports.ProfileWrapper = exports.ProductSwitcherWrapper = exports.HeaderContentSection = exports.HeaderSection = exports.MobileSidebarTogglerWrapper = exports.HeaderRoot = void 0;
4
4
  const Button_1 = require("@mui/material/Button");
5
5
  const DashboardLayoutNotificationList_1 = require("../../DashboardLayoutNotificationList");
6
- const constants_1 = require("../../DashboardSidebar/constants");
7
6
  const IconButton_1 = require("../../IconButton");
8
- const constants_2 = require("../../MenuOrganization/constants");
9
- const constants_3 = require("../../MenuOrganization/OrganizationButton/constants");
10
- const constants_4 = require("../../Profile/constants");
7
+ const constants_1 = require("../../MenuOrganization/constants");
8
+ const constants_2 = require("../../MenuOrganization/OrganizationButton/constants");
9
+ const constants_3 = require("../../Profile/constants");
11
10
  const styled_1 = require("../../styled");
12
- const constants_5 = require("../constants");
11
+ const constants_4 = require("../constants");
12
+ const constants_5 = require("../DashboardSidebar/constants");
13
13
  const constants_6 = require("./constants");
14
14
  exports.HeaderRoot = (0, styled_1.styled)('header', {
15
15
  shouldForwardProp: (prop) => !['$isFocusedMode'].includes(prop),
@@ -23,8 +23,8 @@ exports.HeaderRoot = (0, styled_1.styled)('header', {
23
23
  justify-content: space-between;
24
24
 
25
25
  width: 100%;
26
- height: ${constants_5.HEADER_HEIGHT_DESKTOP};
27
- margin-top: ${({ $isFocusedMode }) => $isFocusedMode ? `-${constants_5.HEADER_HEIGHT_DESKTOP}` : 0};
26
+ height: ${constants_4.HEADER_HEIGHT_DESKTOP};
27
+ margin-top: ${({ $isFocusedMode }) => $isFocusedMode ? `-${constants_4.HEADER_HEIGHT_DESKTOP}` : 0};
28
28
  margin-bottom: ${({ theme }) => theme.spacing(4)};
29
29
 
30
30
  transition: ${({ theme }) => {
@@ -34,14 +34,14 @@ exports.HeaderRoot = (0, styled_1.styled)('header', {
34
34
  }};
35
35
 
36
36
  ${({ theme }) => theme.breakpoints.down('laptop')} {
37
- height: ${constants_5.HEADER_HEIGHT_LAPTOP};
37
+ height: ${constants_4.HEADER_HEIGHT_LAPTOP};
38
38
  }
39
39
 
40
40
  ${({ theme }) => theme.breakpoints.down('sm')} {
41
41
  grid-row: 2;
42
42
  justify-content: flex-start;
43
43
 
44
- height: ${constants_5.HEADER_HEIGHT_MOBILE};
44
+ height: ${constants_4.HEADER_HEIGHT_MOBILE};
45
45
  margin-bottom: 0;
46
46
  padding: ${({ theme }) => theme.spacing(0, 2, 0, 1)};
47
47
 
@@ -62,7 +62,7 @@ exports.MobileSidebarTogglerWrapper = styled_1.styled.div `
62
62
 
63
63
  /* Причина игнора: Не критично для отображения */
64
64
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
65
- .${constants_5.dashboardLayoutClassnames.root}:not(:has(.${constants_1.dashboardSidebarClassnames.root}))
65
+ .${constants_4.dashboardLayoutClassnames.root}:not(:has(.${constants_5.dashboardSidebarClassnames.root}))
66
66
  & {
67
67
  display: none;
68
68
  }
@@ -84,10 +84,10 @@ exports.HeaderContentSection = (0, styled_1.styled)(exports.HeaderSection) `
84
84
  gap: ${({ theme }) => theme.spacing(2)};
85
85
 
86
86
  &.${constants_6.dashboardLayoutHeaderClassnames.priorityFeatureMenuOrg} {
87
- & .${constants_2.menuOrganizationClassnames.organizationData} {
87
+ & .${constants_1.menuOrganizationClassnames.organizationData} {
88
88
  display: none;
89
89
  }
90
- & .${constants_2.menuOrganizationClassnames.button} {
90
+ & .${constants_1.menuOrganizationClassnames.button} {
91
91
  border-radius: ${({ theme }) => theme.shape.medium};
92
92
  }
93
93
  }
@@ -133,7 +133,7 @@ exports.PriorityFeatureWrapper = styled_1.styled.div `
133
133
  &.${constants_6.dashboardLayoutHeaderClassnames.featureInSidebar} {
134
134
  position: absolute;
135
135
  z-index: ${({ theme }) => theme.zIndex.appBar - 1};
136
- top: calc(var(--alert-height, 0px) + ${constants_5.HEADER_HEIGHT_MOBILE});
136
+ top: calc(var(--alert-height, 0px) + ${constants_4.HEADER_HEIGHT_MOBILE});
137
137
  left: 0;
138
138
 
139
139
  /* Необходимо для анимации компонента вместе с sidebar */
@@ -157,8 +157,8 @@ exports.PriorityFeatureWrapper = styled_1.styled.div `
157
157
  transform: translateX(0);
158
158
  }
159
159
 
160
- & .${constants_2.menuOrganizationClassnames.button}, & .${constants_4.profileClassnames.button} {
161
- height: ${constants_3.MOBILE_BUTTON_HEIGHT};
160
+ & .${constants_1.menuOrganizationClassnames.button}, & .${constants_3.profileClassnames.button} {
161
+ height: ${constants_2.MOBILE_BUTTON_HEIGHT};
162
162
  padding: ${({ theme }) => theme.spacing(3, 4)};
163
163
 
164
164
  border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
@@ -175,12 +175,12 @@ exports.PriorityFeatureWrapper = styled_1.styled.div `
175
175
  &.${constants_6.dashboardLayoutHeaderClassnames.hasNotificationList} {
176
176
  gap: ${({ theme }) => theme.spacing(4)};
177
177
 
178
- height: ${constants_3.MOBILE_BUTTON_HEIGHT};
178
+ height: ${constants_2.MOBILE_BUTTON_HEIGHT};
179
179
  padding: ${({ theme }) => theme.spacing(2, 3)};
180
180
 
181
181
  border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
182
182
 
183
- & .${constants_2.menuOrganizationClassnames.button}, & .${constants_4.profileClassnames.button} {
183
+ & .${constants_1.menuOrganizationClassnames.button}, & .${constants_3.profileClassnames.button} {
184
184
  flex-grow: 1;
185
185
 
186
186
  height: unset;
@@ -197,18 +197,18 @@ exports.PriorityFeatureWrapper = styled_1.styled.div `
197
197
  }
198
198
 
199
199
 
200
- & .${constants_4.profileClassnames.button} {
200
+ & .${constants_3.profileClassnames.button} {
201
201
  width: 100%;
202
202
  max-width: unset;
203
203
 
204
204
  border-radius: 0;
205
205
  }
206
206
 
207
- & .${constants_4.profileClassnames.avatar} {
207
+ & .${constants_3.profileClassnames.avatar} {
208
208
  display: none;
209
209
  }
210
210
 
211
- & .${constants_4.profileClassnames.user} {
211
+ & .${constants_3.profileClassnames.user} {
212
212
  display: flex;
213
213
  align-items: center;
214
214
  justify-content: space-between;
@@ -1,5 +1,6 @@
1
1
  export { DashboardLayout } from './DashboardLayout';
2
2
  export type { DashboardLayoutProps } from './types';
3
+ export type { DashboardSidebarProps } from './DashboardSidebar';
3
4
  export { dashboardLayoutHeaderClassnames } from './Header';
4
5
  export { dashboardLayoutMainClassnames } from './Main';
5
6
  export { dashboardLayoutClassnames } from './constants';
@@ -1,3 +1,3 @@
1
- export type { DashboardSidebarProps } from '../DashboardSidebar';
2
1
  export { DashboardLayout } from './DashboardLayout';
2
+ export type { DashboardSidebarProps } from './DashboardSidebar';
3
3
  export type { DashboardLayoutProps } from './types';