fis-component 0.0.64 → 0.0.66
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 +39 -7
- 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/cjs/types/src/components/SelectItem/index.d.ts +2 -0
- package/dist/esm/index.js +39 -7
- 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/esm/types/src/components/SelectItem/index.d.ts +2 -0
- package/dist/index.d.ts +6 -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;
|
|
@@ -11,6 +11,8 @@ export interface SelectFieldProps extends Omit<ComponentPropsWithoutRef<"input">
|
|
|
11
11
|
actived?: boolean;
|
|
12
12
|
/**active-dropdown for current field*/
|
|
13
13
|
activeDropdown?: boolean;
|
|
14
|
+
/**negative for current field*/
|
|
15
|
+
negative?: boolean;
|
|
14
16
|
}
|
|
15
17
|
declare const FISSelectItem: import("react").ForwardRefExoticComponent<SelectFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
18
|
export default FISSelectItem;
|
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
|
|
|
@@ -4227,6 +4231,8 @@ interface SelectFieldProps extends Omit<ComponentPropsWithoutRef<"input">, "onCl
|
|
|
4227
4231
|
actived?: boolean;
|
|
4228
4232
|
/**active-dropdown for current field*/
|
|
4229
4233
|
activeDropdown?: boolean;
|
|
4234
|
+
/**negative for current field*/
|
|
4235
|
+
negative?: boolean;
|
|
4230
4236
|
}
|
|
4231
4237
|
declare const FISSelectItem: React$1.ForwardRefExoticComponent<SelectFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
4232
4238
|
|