bonprix-design-system 0.42.0 → 0.43.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.ts +3 -5
- package/dist/index.js +312 -310
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -41,12 +41,15 @@ declare interface AsButton extends BaseProps {
|
|
|
41
41
|
link?: false;
|
|
42
42
|
disabled?: boolean;
|
|
43
43
|
loading?: boolean;
|
|
44
|
+
form?: string;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
declare interface AsButton_2 extends BaseProps_2 {
|
|
48
|
+
type?: "button" | "submit" | "reset";
|
|
47
49
|
link?: false;
|
|
48
50
|
disabled?: boolean;
|
|
49
51
|
loading?: boolean;
|
|
52
|
+
form?: string;
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
declare interface AsButton_3 extends BaseProps_3 {
|
|
@@ -89,9 +92,7 @@ declare interface BaseProps {
|
|
|
89
92
|
icon?: Icon_2;
|
|
90
93
|
iconPosition?: "start" | "end";
|
|
91
94
|
contentWidth?: boolean;
|
|
92
|
-
loading?: boolean;
|
|
93
95
|
id?: string;
|
|
94
|
-
disabled?: boolean;
|
|
95
96
|
variant?: "primary" | "secondary" | "tertiary";
|
|
96
97
|
tabIndex?: number;
|
|
97
98
|
}
|
|
@@ -99,14 +100,11 @@ declare interface BaseProps {
|
|
|
99
100
|
declare interface BaseProps_2 {
|
|
100
101
|
icon: Icon_2;
|
|
101
102
|
label: string;
|
|
102
|
-
loading?: boolean;
|
|
103
103
|
id?: string;
|
|
104
104
|
small?: boolean;
|
|
105
|
-
disabled?: boolean;
|
|
106
105
|
variant?: "primary" | "secondary" | "tertiary";
|
|
107
106
|
tabIndex?: number;
|
|
108
107
|
onClick?: (event: default_2.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
109
|
-
type?: "button" | "submit" | "reset";
|
|
110
108
|
}
|
|
111
109
|
|
|
112
110
|
declare interface BaseProps_3 {
|