fis-component 0.0.63 → 0.0.65
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/cjs/index.js +17 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/LinkButton/index.d.ts +4 -0
- package/dist/cjs/types/src/components/LinkButton/styles.d.ts +1 -0
- package/dist/esm/index.js +17 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/LinkButton/index.d.ts +4 -0
- package/dist/esm/types/src/components/LinkButton/styles.d.ts +1 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -18,6 +18,10 @@ export interface ButtonProps extends ComponentPropsWithoutRef<"button"> {
|
|
|
18
18
|
* Defines the type of the button.
|
|
19
19
|
*/
|
|
20
20
|
underline?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* If true, text will be truncated with ellipsis on single line
|
|
23
|
+
*/
|
|
24
|
+
singleLine?: boolean;
|
|
21
25
|
}
|
|
22
26
|
declare const FISLinkButton: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
23
27
|
export default FISLinkButton;
|
|
@@ -3,6 +3,7 @@ interface ButtonProps {
|
|
|
3
3
|
$variant?: ButtonVariant;
|
|
4
4
|
$size: ButtonSize;
|
|
5
5
|
$underline?: boolean;
|
|
6
|
+
$singleLine?: boolean;
|
|
6
7
|
}
|
|
7
8
|
export declare const LinkButtonStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonProps>> & string;
|
|
8
9
|
export declare const IconStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
package/dist/index.d.ts
CHANGED
|
@@ -3391,6 +3391,10 @@ interface ButtonProps$1 extends ComponentPropsWithoutRef<"button"> {
|
|
|
3391
3391
|
* Defines the type of the button.
|
|
3392
3392
|
*/
|
|
3393
3393
|
underline?: boolean;
|
|
3394
|
+
/**
|
|
3395
|
+
* If true, text will be truncated with ellipsis on single line
|
|
3396
|
+
*/
|
|
3397
|
+
singleLine?: boolean;
|
|
3394
3398
|
}
|
|
3395
3399
|
declare const FISLinkButton: React__default.ForwardRefExoticComponent<ButtonProps$1 & React__default.RefAttributes<HTMLButtonElement>>;
|
|
3396
3400
|
|