mayak-common-library 0.1.99 → 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,7 +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
- title: string;
18
+ label?: string;
19
19
  ref?: any;
20
20
  onClick?: any;
21
21
  onClose?: any;
@@ -1362,13 +1362,12 @@ declare const ToggleButtonsWithLabel: FC<ToggleButtonsMultipleProps>;
1362
1362
 
1363
1363
  declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
1364
1364
 
1365
- interface ButtonBadgeProps {
1365
+ interface ButtonBadgeProps extends SelectChildrenProps {
1366
1366
  icon?: ReactNode;
1367
1367
  badgeCount?: number;
1368
- label?: string;
1369
1368
  className?: string;
1370
1369
  }
1371
- declare const ButtonBadge: FC<SelectChildrenProps & ButtonBadgeProps>;
1370
+ declare const ButtonBadge: FC<ButtonBadgeProps>;
1372
1371
 
1373
1372
  interface ErrorMessageProps {
1374
1373
  errorMessage?: string;
package/dist/index.d.ts CHANGED
@@ -15,7 +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
- title: string;
18
+ label?: string;
19
19
  ref?: any;
20
20
  onClick?: any;
21
21
  onClose?: any;
@@ -1362,13 +1362,12 @@ declare const ToggleButtonsWithLabel: FC<ToggleButtonsMultipleProps>;
1362
1362
 
1363
1363
  declare const ScrollButton: () => react_jsx_runtime.JSX.Element;
1364
1364
 
1365
- interface ButtonBadgeProps {
1365
+ interface ButtonBadgeProps extends SelectChildrenProps {
1366
1366
  icon?: ReactNode;
1367
1367
  badgeCount?: number;
1368
- label?: string;
1369
1368
  className?: string;
1370
1369
  }
1371
- declare const ButtonBadge: FC<SelectChildrenProps & ButtonBadgeProps>;
1370
+ declare const ButtonBadge: FC<ButtonBadgeProps>;
1372
1371
 
1373
1372
  interface ErrorMessageProps {
1374
1373
  errorMessage?: string;