@apify/ui-library 0.72.1 → 0.73.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": "0.72.1",
3
+ "version": "0.73.0",
4
4
  "description": "React UI library used by apify.com",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -66,5 +66,5 @@
66
66
  "typescript": "^5.1.6",
67
67
  "typescript-eslint": "^8.24.0"
68
68
  },
69
- "gitHead": "3b8676bf95fd2d1e66744792e082b93ed3de9831"
69
+ "gitHead": "7903abd6e4c4a66e2568e45ee76aa35a33cc15b7"
70
70
  }
@@ -115,6 +115,10 @@ const StyledBadge = styled(Box)<StyledBadgeProps>`
115
115
  align-items: center;
116
116
  white-space: nowrap;
117
117
  gap: ${theme.space.space4};
118
+
119
+ svg {
120
+ flex-shrink: 0;
121
+ }
118
122
  `;
119
123
 
120
124
  /**
@@ -266,7 +266,6 @@ export const Button = forwardRef<HTMLElement, ButtonProps | AnchorButtonProps>((
266
266
  };
267
267
 
268
268
  const iconSize = size === 'medium' ? '16' : '12';
269
- console.log('variant', variant);
270
269
 
271
270
  if (isAnchorButton(props)) {
272
271
  const isExternal = isUrlExternal(props.to, windowLocationHost);
@@ -154,6 +154,10 @@ const StyledTag = styled(Box)<StyledTagProps>`
154
154
  gap: ${theme.space.space4};
155
155
  cursor: pointer;
156
156
  transition: background ${theme.transition.fastEaseOut};
157
+
158
+ svg {
159
+ flex-shrink: 0;
160
+ }
157
161
  `;
158
162
 
159
163
  /**