@apify/ui-library 1.93.1 → 1.93.3

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.93.1",
3
+ "version": "1.93.3",
4
4
  "description": "React UI library used by apify.com",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "It's not nice, but helps us to get around the problem of multiple react instances."
27
27
  ],
28
28
  "dependencies": {
29
- "@apify/ui-icons": "^1.16.0",
29
+ "@apify/ui-icons": "^1.17.0",
30
30
  "@floating-ui/react": "^0.26.2",
31
31
  "@react-hook/resize-observer": "^2.0.2",
32
32
  "clsx": "^2.0.0",
@@ -66,5 +66,5 @@
66
66
  "src",
67
67
  "style"
68
68
  ],
69
- "gitHead": "4a36a7ae2e2c91028aca30dc76fb62e87197b2f6"
69
+ "gitHead": "96bde6763474332a3915e24dc96edec94341ad7e"
70
70
  }
@@ -217,7 +217,7 @@ export const getButtonSizeStyles = (size: ButtonSize = 'medium') => {
217
217
  `;
218
218
  };
219
219
 
220
- const StyledButton = styled(Box)<WithTransientProps<TransientButtonProps>>`
220
+ const StyledButton = styled(Box)<WithTransientProps<Required<TransientButtonProps>>>`
221
221
  /* Basic positioning */
222
222
  display: inline-flex;
223
223
  align-items: center;
@@ -250,8 +250,8 @@ export const Button = forwardRef<HTMLElement, ButtonProps | AnchorButtonProps>((
250
250
  as,
251
251
  children,
252
252
  size = 'medium',
253
- color,
254
- variant,
253
+ color = 'default',
254
+ variant = 'primary',
255
255
  LeftIcon,
256
256
  RightIcon,
257
257
  onClick,