@apify/ui-library 1.159.5 → 1.160.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/ui-library",
3
- "version": "1.159.5",
3
+ "version": "1.160.0",
4
4
  "description": "React UI library used by apify.com",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -75,7 +75,7 @@
75
75
  "styled-components": "^6.1.19"
76
76
  },
77
77
  "devDependencies": {
78
- "@apify-packages/types": "^3.413.0",
78
+ "@apify-packages/types": "^3.413.1",
79
79
  "@storybook/react-vite": "^10.3.5",
80
80
  "@testing-library/react": "^16.3.2",
81
81
  "@types/hast": "^3.0.4",
@@ -95,5 +95,5 @@
95
95
  "src",
96
96
  "style"
97
97
  ],
98
- "gitHead": "4073c1559245e3403937efd90a057f7b9c80d210"
98
+ "gitHead": "b7ea6dee09e4d18a793c9222cda868628afc1153"
99
99
  }
@@ -8,7 +8,7 @@ import { CheckIcon, CrossIcon, InfoIcon, WarningTriangleIcon, XCircleIcon } from
8
8
 
9
9
  import { theme } from '../../design_system/theme';
10
10
  import { Box, type BoxProps } from '../box';
11
- import type { ButtonProps } from '../button';
11
+ import type { AnchorButtonProps, ButtonProps } from '../button';
12
12
  import { Button } from '../button';
13
13
  import { Text } from '../text';
14
14
 
@@ -160,7 +160,7 @@ const typeToIcon: { [key in MessageType]: React.ElementType } = {
160
160
  danger: XCircleIcon,
161
161
  };
162
162
 
163
- type ActionButtonProps = Omit<ButtonProps, 'children'> & {
163
+ type ActionButtonProps = (Omit<ButtonProps, 'children'> | Omit<AnchorButtonProps, 'children'>) & {
164
164
  label: ReactNode;
165
165
  };
166
166