@apify/ui-library 0.82.0 → 1.83.1-fixactorissuescomponentsoncl-2f1509.30
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/dist/src/components/code/code_block/code_block_with_tabs.d.ts.map +1 -1
- package/dist/src/components/code/code_block/code_block_with_tabs.js +3 -2
- package/dist/src/components/code/code_block/code_block_with_tabs.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/code/code_block/code_block_with_tabs.tsx +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apify/ui-library",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.83.1-fixactorissuescomponentsoncl-2f1509.30+0e820ff104f",
|
|
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": "^
|
|
29
|
+
"@apify/ui-icons": "^1.14.0",
|
|
30
30
|
"@floating-ui/react": "^0.26.2",
|
|
31
31
|
"@react-hook/resize-observer": "^2.0.2",
|
|
32
32
|
"clsx": "^2.0.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"src",
|
|
70
70
|
"style"
|
|
71
71
|
],
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "0e820ff104ff485cdd673e00c77a960be005d5b9"
|
|
73
73
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import clsx from 'clsx';
|
|
2
|
+
import _ from 'lodash';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import styled from 'styled-components';
|
|
4
5
|
|
|
@@ -206,7 +207,7 @@ export const CodeBlockWithTabs = ({ className, codeBlockProps, currentTabKey, ta
|
|
|
206
207
|
const commonProps = {
|
|
207
208
|
className: clsx(CODE_BLOCK_WITH_TABS_CLASSNAMES.TAB, { selected }),
|
|
208
209
|
'data-test': `code-block-tab-${tab.key}`,
|
|
209
|
-
|
|
210
|
+
..._.omit(tab, ['bashCommandsStart', 'content', 'languageOverride']),
|
|
210
211
|
};
|
|
211
212
|
const children = (
|
|
212
213
|
<>
|
|
@@ -223,10 +224,8 @@ export const CodeBlockWithTabs = ({ className, codeBlockProps, currentTabKey, ta
|
|
|
223
224
|
return (
|
|
224
225
|
<Link
|
|
225
226
|
{...commonProps}
|
|
226
|
-
to={tab.to}
|
|
227
|
-
rel={tab.rel}
|
|
228
|
-
target={tab.target}
|
|
229
227
|
key={tab.key}
|
|
228
|
+
to={tab.to}
|
|
230
229
|
>
|
|
231
230
|
{children}
|
|
232
231
|
</Link>
|