@carto/meridian-ds 1.3.0-alpha.1 → 1.3.0-alpha.3
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.
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
1
|
import { ButtonProps as MUIButtonProps } from '@mui/material';
|
|
3
2
|
export type ButtonProps = MUIButtonProps<React.ElementType, {
|
|
4
3
|
target?: string;
|
|
5
4
|
loading?: boolean;
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Controls where the spinner appears:
|
|
7
|
+
* - undefined (default): Shows a centered spinner and hides all icons
|
|
8
|
+
* - 'start': Shows spinner at the start position, replacing the startIcon
|
|
9
|
+
* - 'end': Shows spinner at the end position, replacing the endIcon
|
|
10
|
+
*/
|
|
7
11
|
loadingPosition?: 'start' | 'end';
|
|
8
12
|
}>;
|
|
9
13
|
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Button.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,IAAI,cAAc,EAK9B,MAAM,eAAe,CAAA;AAmBtB,MAAM,MAAM,WAAW,GAAG,cAAc,CACtC,KAAK,CAAC,WAAW,EACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CAClC,CACF,CAAA;AAmED,QAAA,MAAM,MAAM,wHAAsB,CAAA;AAClC,eAAe,MAAM,CAAA"}
|