@apify/ui-library 1.146.10 → 1.147.1

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.146.10",
3
+ "version": "1.147.1",
4
4
  "description": "React UI library used by apify.com",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -61,7 +61,7 @@
61
61
  "styled-components": "^6.1.19"
62
62
  },
63
63
  "devDependencies": {
64
- "@apify-packages/types": "^3.375.2",
64
+ "@apify-packages/types": "^3.377.0",
65
65
  "@storybook/react-vite": "^10.3.5",
66
66
  "@testing-library/react": "^16.3.2",
67
67
  "@types/hast": "^3.0.4",
@@ -78,5 +78,5 @@
78
78
  "src",
79
79
  "style"
80
80
  ],
81
- "gitHead": "8adc73dba966deba0a27ea2254d8694c218c6926"
81
+ "gitHead": "e04ec22f2e78c273ad3e1abaf4031082aad4a46d"
82
82
  }
@@ -89,7 +89,12 @@ export const BrowserWindow = ({ title, url, children, className }: Props) => {
89
89
  <span className={classNames.DOT} />
90
90
  <span className={classNames.DOT} />
91
91
  </div>
92
- <Badge size="extra_small" variant="neutral_subtle" className={classNames.URL}>
92
+ <Badge
93
+ size="extra_small"
94
+ variant="neutral_subtle"
95
+ className={classNames.URL}
96
+ data-visual-test="transparent"
97
+ >
93
98
  {url}
94
99
  </Badge>
95
100
  </>
@@ -138,7 +138,7 @@ export type TrackingBundleDataObject = {
138
138
  trackingData?: Record<string, unknown>;
139
139
  };
140
140
 
141
- export type OneLineCodeTrackingBundle = Record<'secret' | 'copy' | 'action', TrackingBundleDataObject>;
141
+ export type OneLineCodeTrackingBundle = Partial<Record<'secret' | 'copy' | 'action', TrackingBundleDataObject>>;
142
142
 
143
143
  export type OneLineCodeProps = Omit<BoxProps, 'children'> & {
144
144
  children: string;
@@ -11,8 +11,7 @@ const handleDismissClick = () => {};
11
11
  const MESSAGE_TYPES = ['info', 'warning', 'danger', 'success'];
12
12
 
13
13
  export default {
14
- title: 'UI-Library/Message (aka Banner)',
15
- tags: ['deprecated'],
14
+ title: 'UI-Library/Message',
16
15
  component: Message,
17
16
  argTypes: {
18
17
  type: {
@@ -158,8 +158,6 @@ type MessageProps = BoxProps & {
158
158
 
159
159
  /**
160
160
  * Component used to display larger messages that are part of the content of the application.
161
- * @deprecated Use `Alert` instead once it is available.
162
- * @see https://www.notion.so/apify/Design-system-roadmap-2026-326f39950a2280d4b81bec00ebc9cf44
163
161
  */
164
162
  export const Message: React.FC<MessageProps> = ({
165
163
  className,