mayak-common-library 0.1.98 → 0.2.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.
package/dist/index.d.cts CHANGED
@@ -15,6 +15,7 @@ import * as _emotion_styled from '@emotion/styled';
15
15
  import * as _mui_system from '@mui/system';
16
16
 
17
17
  type SelectChildrenProps = {
18
+ label?: string;
18
19
  ref?: any;
19
20
  onClick?: any;
20
21
  onClose?: any;
@@ -1361,13 +1362,12 @@ declare const ToggleButtonsWithLabel: FC<ToggleButtonsMultipleProps>;
1361
1362
 
1362
1363
  declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
1363
1364
 
1364
- interface ButtonBadgeProps {
1365
+ interface ButtonBadgeProps extends SelectChildrenProps {
1365
1366
  icon?: ReactNode;
1366
1367
  badgeCount?: number;
1367
- label?: string;
1368
1368
  className?: string;
1369
1369
  }
1370
- declare const ButtonBadge: FC<SelectChildrenProps & ButtonBadgeProps>;
1370
+ declare const ButtonBadge: FC<ButtonBadgeProps>;
1371
1371
 
1372
1372
  interface ErrorMessageProps {
1373
1373
  errorMessage?: string;
package/dist/index.d.ts CHANGED
@@ -15,6 +15,7 @@ import * as _emotion_styled from '@emotion/styled';
15
15
  import * as _mui_system from '@mui/system';
16
16
 
17
17
  type SelectChildrenProps = {
18
+ label?: string;
18
19
  ref?: any;
19
20
  onClick?: any;
20
21
  onClose?: any;
@@ -1361,13 +1362,12 @@ declare const ToggleButtonsWithLabel: FC<ToggleButtonsMultipleProps>;
1361
1362
 
1362
1363
  declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
1363
1364
 
1364
- interface ButtonBadgeProps {
1365
+ interface ButtonBadgeProps extends SelectChildrenProps {
1365
1366
  icon?: ReactNode;
1366
1367
  badgeCount?: number;
1367
- label?: string;
1368
1368
  className?: string;
1369
1369
  }
1370
- declare const ButtonBadge: FC<SelectChildrenProps & ButtonBadgeProps>;
1370
+ declare const ButtonBadge: FC<ButtonBadgeProps>;
1371
1371
 
1372
1372
  interface ErrorMessageProps {
1373
1373
  errorMessage?: string;