@apify/ui-library 1.84.0 → 1.84.2
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/readme_renderer/table_of_contents.d.ts +1 -1
- package/dist/src/components/readme_renderer/table_of_contents.d.ts.map +1 -1
- package/dist/src/components/readme_renderer/utils.d.ts +1 -1
- package/dist/src/components/readme_renderer/utils.d.ts.map +1 -1
- package/dist/src/components/simple_markdown/simple_markdown.d.ts +1 -1
- package/dist/src/components/simple_markdown/simple_markdown.d.ts.map +1 -1
- package/dist/src/components/simple_markdown/simple_markdown_components.d.ts +1 -1
- package/dist/src/components/simple_markdown/simple_markdown_components.d.ts.map +1 -1
- package/dist/src/components/to_consolidate/markdown.d.ts +1 -1
- package/dist/src/components/to_consolidate/markdown.d.ts.map +1 -1
- package/dist/src/components/to_consolidate/markdown.js +2 -2
- package/dist/src/utils/image_color.d.ts.map +1 -1
- package/dist/src/utils/image_color.js +1 -0
- package/dist/src/utils/image_color.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -7
- package/src/components/readme_renderer/table_of_contents.tsx +1 -1
- package/src/components/readme_renderer/utils.tsx +1 -1
- package/src/components/simple_markdown/simple_markdown.tsx +1 -1
- package/src/components/simple_markdown/simple_markdown_components.tsx +1 -1
- package/src/components/tag.tsx +1 -1
- package/src/components/to_consolidate/markdown.tsx +3 -3
- package/src/utils/image_color.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apify/ui-library",
|
|
3
|
-
"version": "1.84.
|
|
3
|
+
"version": "1.84.2",
|
|
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.14.
|
|
29
|
+
"@apify/ui-icons": "^1.14.2",
|
|
30
30
|
"@floating-ui/react": "^0.26.2",
|
|
31
31
|
"@react-hook/resize-observer": "^2.0.2",
|
|
32
32
|
"clsx": "^2.0.0",
|
|
@@ -52,14 +52,10 @@
|
|
|
52
52
|
"styled-components": "^5.3.3"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@apify/eslint-config": "^1.0.0",
|
|
56
55
|
"@types/lodash": "^4.14.200",
|
|
57
56
|
"@types/node": "^22.10.5",
|
|
58
57
|
"@types/react": "^18.2.74",
|
|
59
58
|
"@types/styled-components": "^5.1.34",
|
|
60
|
-
"eslint-plugin-react": "^7.32.2",
|
|
61
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
62
|
-
"eslint-plugin-sonarjs": "^1.0.3",
|
|
63
59
|
"recast": "^0.23.9",
|
|
64
60
|
"style-dictionary": "^4.4.0",
|
|
65
61
|
"typescript": "^5.1.6"
|
|
@@ -69,5 +65,5 @@
|
|
|
69
65
|
"src",
|
|
70
66
|
"style"
|
|
71
67
|
],
|
|
72
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "8af6f13b96c6c52389c7fad5b58dc67bc42b0cc1"
|
|
73
69
|
}
|
|
@@ -4,7 +4,7 @@ import React, {
|
|
|
4
4
|
useMemo,
|
|
5
5
|
} from 'react';
|
|
6
6
|
import ReactMarkdown from 'react-markdown';
|
|
7
|
-
import type { AllowElement } from 'react-markdown/lib/rehype-filter';
|
|
7
|
+
import type { AllowElement } from 'react-markdown/lib/rehype-filter.js';
|
|
8
8
|
import remarkToc from 'remark-toc';
|
|
9
9
|
import styled from 'styled-components';
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@ import type { Element, Root, Text as TextNode } from 'hast';
|
|
|
2
2
|
import React, { useCallback, useMemo, useRef } from 'react';
|
|
3
3
|
import type { Components } from 'react-markdown';
|
|
4
4
|
import ReactMarkdown, { uriTransformer } from 'react-markdown';
|
|
5
|
-
import type { ReactMarkdownOptions } from 'react-markdown/lib/react-markdown';
|
|
5
|
+
import type { ReactMarkdownOptions } from 'react-markdown/lib/react-markdown.js';
|
|
6
6
|
import rehypeRaw from 'rehype-raw';
|
|
7
7
|
import rehypeSanitize from 'rehype-sanitize';
|
|
8
8
|
import remarkGfm from 'remark-gfm';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import qs from 'query-string';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import type { CodeProps, ReactMarkdownProps } from 'react-markdown/lib/ast-to-react';
|
|
3
|
+
import type { CodeProps, ReactMarkdownProps } from 'react-markdown/lib/ast-to-react.js';
|
|
4
4
|
import styled from 'styled-components';
|
|
5
5
|
|
|
6
6
|
import { CheckIcon, LinkIcon } from '@apify/ui-icons';
|
package/src/components/tag.tsx
CHANGED
|
@@ -196,6 +196,6 @@ TagWrapper.displayName = 'Tag';
|
|
|
196
196
|
|
|
197
197
|
// `forwardRef` can't handle generic types, should be fixable with React 19
|
|
198
198
|
export const Tag = forwardRef(TagWrapper) as <T extends TagNodeType>(
|
|
199
|
-
|
|
199
|
+
|
|
200
200
|
props: TagProps<T> & { ref?: ForwardedRef<TagNodePropsMap[T]['element']> },
|
|
201
201
|
) => ReturnType<typeof TagWrapper>;
|
|
@@ -4,7 +4,7 @@ import qs from 'query-string';
|
|
|
4
4
|
import React, { useMemo } from 'react';
|
|
5
5
|
import type { Components } from 'react-markdown';
|
|
6
6
|
import ReactMarkdown, { uriTransformer } from 'react-markdown';
|
|
7
|
-
import type { AllowElement, Node } from 'react-markdown/lib/rehype-filter';
|
|
7
|
+
import type { AllowElement, Node } from 'react-markdown/lib/rehype-filter.js';
|
|
8
8
|
import rehypeRaw from 'rehype-raw';
|
|
9
9
|
import remarkGfm from 'remark-gfm';
|
|
10
10
|
import styled from 'styled-components';
|
|
@@ -266,11 +266,11 @@ const StyledMarkdown = styled(ReactMarkdown) <StyledReadmeProps>`
|
|
|
266
266
|
@media (min-width: ${theme.layout.tablet}) {
|
|
267
267
|
${theme.typography.content.tablet.snippet}
|
|
268
268
|
}
|
|
269
|
-
|
|
269
|
+
|
|
270
270
|
@media (min-width: ${theme.layout.desktop}) {
|
|
271
271
|
${theme.typography.content.desktop.snippet}
|
|
272
272
|
}
|
|
273
|
-
|
|
273
|
+
|
|
274
274
|
b, strong{
|
|
275
275
|
font-size: inherit !important;
|
|
276
276
|
line-height: inherit !important;
|
package/src/utils/image_color.ts
CHANGED