@commercetools-uikit/icon-button 15.2.4 → 15.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.
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { TIconButtonProps } from './icon-button';
|
|
2
2
|
declare const getIconThemeColor: (props: Pick<TIconButtonProps, 'isToggleButton' | 'isToggled' | 'theme' | 'isDisabled' | 'icon'>) => any;
|
|
3
|
-
declare const getStateStyles: (isDisabled: TIconButtonProps['isDisabled'], isActive: boolean, theme: TIconButtonProps['theme']) => import("@emotion/utils").SerializedStyles | (false | import("@emotion/utils").SerializedStyles | undefined)[];
|
|
4
3
|
declare const getShapeStyles: (shape: TIconButtonProps['shape'], size: TIconButtonProps['size']) => import("@emotion/utils").SerializedStyles;
|
|
5
4
|
declare const getSizeStyles: (size: TIconButtonProps['size']) => import("@emotion/utils").SerializedStyles;
|
|
6
|
-
declare const
|
|
5
|
+
declare const getBaseStyles: (theme: TIconButtonProps['theme'], isDisabled: TIconButtonProps['isDisabled'], isActive: boolean) => import("@emotion/utils").SerializedStyles;
|
|
7
6
|
declare const getHoverStyles: (isDisabled: TIconButtonProps['isDisabled'], theme: TIconButtonProps['theme']) => import("@emotion/utils").SerializedStyles;
|
|
8
|
-
export {
|
|
7
|
+
export { getHoverStyles, getShapeStyles, getSizeStyles, getBaseStyles, getIconThemeColor, };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/icon-button",
|
|
3
3
|
"description": "Icon buttons are icon-only buttons. They trigger an action when clicked (`onClick` prop). You must also pass a label for accessibility reasons.",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.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.19.0",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.19.1",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "15.
|
|
25
|
-
"@commercetools-uikit/design-system": "15.
|
|
26
|
-
"@commercetools-uikit/spacings": "15.
|
|
27
|
-
"@commercetools-uikit/text": "15.
|
|
28
|
-
"@commercetools-uikit/utils": "15.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "15.4.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "15.4.0",
|
|
26
|
+
"@commercetools-uikit/spacings": "15.4.0",
|
|
27
|
+
"@commercetools-uikit/text": "15.4.0",
|
|
28
|
+
"@commercetools-uikit/utils": "15.4.0",
|
|
29
29
|
"@emotion/react": "^11.4.0",
|
|
30
30
|
"@emotion/styled": "^11.3.0",
|
|
31
31
|
"lodash": "4.17.21",
|