@commercetools-uikit/secondary-button 20.3.1 → 20.4.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.
|
@@ -201,7 +201,7 @@ SecondaryButton.displayName = 'SecondaryButton';
|
|
|
201
201
|
var SecondaryButton$1 = SecondaryButton;
|
|
202
202
|
|
|
203
203
|
// NOTE: This string will be replaced on build time with the package version.
|
|
204
|
-
var version = "20.
|
|
204
|
+
var version = "20.4.0";
|
|
205
205
|
|
|
206
206
|
exports["default"] = SecondaryButton$1;
|
|
207
207
|
exports.version = version;
|
|
@@ -194,7 +194,7 @@ SecondaryButton.displayName = 'SecondaryButton';
|
|
|
194
194
|
var SecondaryButton$1 = SecondaryButton;
|
|
195
195
|
|
|
196
196
|
// NOTE: This string will be replaced on build time with the package version.
|
|
197
|
-
var version = "20.
|
|
197
|
+
var version = "20.4.0";
|
|
198
198
|
|
|
199
199
|
exports["default"] = SecondaryButton$1;
|
|
200
200
|
exports.version = version;
|
|
@@ -182,6 +182,6 @@ SecondaryButton.displayName = 'SecondaryButton';
|
|
|
182
182
|
var SecondaryButton$1 = SecondaryButton;
|
|
183
183
|
|
|
184
184
|
// NOTE: This string will be replaced on build time with the package version.
|
|
185
|
-
var version = "20.
|
|
185
|
+
var version = "20.4.0";
|
|
186
186
|
|
|
187
187
|
export { SecondaryButton$1 as default, version };
|
|
@@ -70,7 +70,7 @@ export type TSecondaryButtonProps<TStringOrComponent extends ElementType = 'butt
|
|
|
70
70
|
*/ ComponentPropsWithRef<TStringOrComponent>;
|
|
71
71
|
export declare const getIconColor: (props: Pick<TSecondaryButtonProps, "isToggleButton" | "isToggled" | "theme" | "isDisabled"> & {
|
|
72
72
|
isActive?: boolean;
|
|
73
|
-
}, icon: TSecondaryButtonProps["iconLeft"] | TSecondaryButtonProps["iconRight"]) => "solid" | "primary" | "info" | "neutral60" | "surface" | "primary40" | "
|
|
73
|
+
}, icon: TSecondaryButtonProps["iconLeft"] | TSecondaryButtonProps["iconRight"]) => "solid" | "warning" | "primary" | "info" | "neutral60" | "surface" | "primary40" | "error" | "success" | undefined;
|
|
74
74
|
export declare const SecondaryButton: {
|
|
75
75
|
<TStringOrComponent extends ElementType = "button">({ type, theme, tone, size, isToggleButton, ...props }: TSecondaryButtonProps<TStringOrComponent>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
76
76
|
displayName: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/secondary-button",
|
|
3
3
|
"description": "Secondary buttons are used in combination with a PrimaryButton and represent the secondary action.",
|
|
4
|
-
"version": "20.
|
|
4
|
+
"version": "20.4.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "20.
|
|
25
|
-
"@commercetools-uikit/design-system": "20.
|
|
26
|
-
"@commercetools-uikit/spacings-inline": "20.
|
|
27
|
-
"@commercetools-uikit/text": "20.
|
|
28
|
-
"@commercetools-uikit/utils": "20.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "20.4.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "20.4.0",
|
|
26
|
+
"@commercetools-uikit/spacings-inline": "20.4.0",
|
|
27
|
+
"@commercetools-uikit/text": "20.4.0",
|
|
28
|
+
"@commercetools-uikit/utils": "20.4.0",
|
|
29
29
|
"@emotion/react": "^11.10.5",
|
|
30
30
|
"@emotion/styled": "^11.10.5",
|
|
31
31
|
"lodash": "4.17.23"
|