@apify/ui-library 0.57.1 → 0.57.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/.eslintrc +1 -0
- package/CHANGELOG.md +19 -0
- package/dist/src/components/action_link.d.ts +1 -1
- package/dist/src/components/action_link.d.ts.map +1 -1
- package/dist/src/components/action_link.jsx +4 -4
- package/dist/src/components/action_link.jsx.map +1 -1
- package/dist/src/components/actor_template_card.jsx +3 -3
- package/dist/src/components/actor_template_card.jsx.map +1 -1
- package/dist/src/components/badge.d.ts +1 -1
- package/dist/src/components/badge.d.ts.map +1 -1
- package/dist/src/components/badge.jsx +2 -2
- package/dist/src/components/badge.jsx.map +1 -1
- package/dist/src/components/banner.jsx +1 -1
- package/dist/src/components/banner.jsx.map +1 -1
- package/dist/src/components/blog_article.jsx +1 -1
- package/dist/src/components/blog_article.jsx.map +1 -1
- package/dist/src/components/box.d.ts +1 -1
- package/dist/src/components/box.d.ts.map +1 -1
- package/dist/src/components/box.jsx +1 -1
- package/dist/src/components/box.jsx.map +1 -1
- package/dist/src/components/button.d.ts +3 -3
- package/dist/src/components/button.d.ts.map +1 -1
- package/dist/src/components/button.jsx +4 -4
- package/dist/src/components/button.jsx.map +1 -1
- package/dist/src/components/chip.d.ts +1 -1
- package/dist/src/components/chip.d.ts.map +1 -1
- package/dist/src/components/chip.jsx +1 -1
- package/dist/src/components/chip.jsx.map +1 -1
- package/dist/src/components/code/action_button.jsx +3 -3
- package/dist/src/components/code/action_button.jsx.map +1 -1
- package/dist/src/components/code/code_block/code_block.d.ts +2 -2
- package/dist/src/components/code/code_block/code_block.d.ts.map +1 -1
- package/dist/src/components/code/code_block/code_block.jsx +7 -7
- package/dist/src/components/code/code_block/code_block.jsx.map +1 -1
- package/dist/src/components/code/code_block/code_block.styled.d.ts +2 -2
- package/dist/src/components/code/code_block/code_block.styled.d.ts.map +1 -1
- package/dist/src/components/code/code_block/code_block.styled.jsx +2 -2
- package/dist/src/components/code/code_block/code_block.styled.jsx.map +1 -1
- package/dist/src/components/code/index.d.ts +3 -3
- package/dist/src/components/code/index.d.ts.map +1 -1
- package/dist/src/components/code/index.js +3 -3
- package/dist/src/components/code/index.js.map +1 -1
- package/dist/src/components/code/inline_code/inline_code.d.ts +2 -2
- package/dist/src/components/code/inline_code/inline_code.d.ts.map +1 -1
- package/dist/src/components/code/inline_code/inline_code.jsx +2 -2
- package/dist/src/components/code/inline_code/inline_code.jsx.map +1 -1
- package/dist/src/components/code/one_line_code/one_line_code.d.ts +2 -2
- package/dist/src/components/code/one_line_code/one_line_code.d.ts.map +1 -1
- package/dist/src/components/code/one_line_code/one_line_code.jsx +4 -4
- package/dist/src/components/code/one_line_code/one_line_code.jsx.map +1 -1
- package/dist/src/components/code/syntax_highlighter.d.ts +5 -5
- package/dist/src/components/code/syntax_highlighter.d.ts.map +1 -1
- package/dist/src/components/code/syntax_highlighter.jsx +30 -19
- package/dist/src/components/code/syntax_highlighter.jsx.map +1 -1
- package/dist/src/components/floating/index.d.ts +3 -3
- package/dist/src/components/floating/index.d.ts.map +1 -1
- package/dist/src/components/floating/index.js +3 -3
- package/dist/src/components/floating/index.js.map +1 -1
- package/dist/src/components/floating/menu.d.ts +1 -1
- package/dist/src/components/floating/menu.d.ts.map +1 -1
- package/dist/src/components/floating/menu.jsx +4 -4
- package/dist/src/components/floating/menu.jsx.map +1 -1
- package/dist/src/components/floating/menu_components.d.ts +3 -3
- package/dist/src/components/floating/menu_components.d.ts.map +1 -1
- package/dist/src/components/floating/menu_components.jsx +2 -2
- package/dist/src/components/floating/menu_components.jsx.map +1 -1
- package/dist/src/components/image.d.ts +1 -1
- package/dist/src/components/image.d.ts.map +1 -1
- package/dist/src/components/image.jsx +2 -2
- package/dist/src/components/image.jsx.map +1 -1
- package/dist/src/components/index.d.ts +21 -21
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +21 -21
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/link.d.ts +1 -1
- package/dist/src/components/link.d.ts.map +1 -1
- package/dist/src/components/link.jsx +3 -3
- package/dist/src/components/link.jsx.map +1 -1
- package/dist/src/components/message.d.ts +1 -1
- package/dist/src/components/message.d.ts.map +1 -1
- package/dist/src/components/message.jsx +4 -4
- package/dist/src/components/message.jsx.map +1 -1
- package/dist/src/components/rating.d.ts +1 -1
- package/dist/src/components/rating.d.ts.map +1 -1
- package/dist/src/components/rating.jsx +3 -3
- package/dist/src/components/rating.jsx.map +1 -1
- package/dist/src/components/readme_renderer/index.d.ts +3 -3
- package/dist/src/components/readme_renderer/index.d.ts.map +1 -1
- package/dist/src/components/readme_renderer/index.js +3 -3
- package/dist/src/components/readme_renderer/index.js.map +1 -1
- package/dist/src/components/readme_renderer/table_of_contents.jsx +5 -5
- package/dist/src/components/readme_renderer/table_of_contents.jsx.map +1 -1
- package/dist/src/components/simple_markdown/index.d.ts +2 -2
- package/dist/src/components/simple_markdown/index.d.ts.map +1 -1
- package/dist/src/components/simple_markdown/index.js +3 -0
- package/dist/src/components/simple_markdown/index.js.map +1 -0
- package/dist/src/components/simple_markdown/simple_markdown.jsx +9 -9
- package/dist/src/components/simple_markdown/simple_markdown.jsx.map +1 -1
- package/dist/src/components/simple_markdown/simple_markdown_components.d.ts +5 -5
- package/dist/src/components/simple_markdown/simple_markdown_components.d.ts.map +1 -1
- package/dist/src/components/simple_markdown/simple_markdown_components.jsx +8 -8
- package/dist/src/components/simple_markdown/simple_markdown_components.jsx.map +1 -1
- package/dist/src/components/tag.d.ts +2 -2
- package/dist/src/components/tag.d.ts.map +1 -1
- package/dist/src/components/tag.jsx +3 -3
- package/dist/src/components/tag.jsx.map +1 -1
- package/dist/src/components/text/heading_content.d.ts +1 -1
- package/dist/src/components/text/heading_content.d.ts.map +1 -1
- package/dist/src/components/text/heading_content.jsx +2 -2
- package/dist/src/components/text/heading_content.jsx.map +1 -1
- package/dist/src/components/text/heading_marketing.d.ts +1 -1
- package/dist/src/components/text/heading_marketing.d.ts.map +1 -1
- package/dist/src/components/text/heading_marketing.jsx +2 -2
- package/dist/src/components/text/heading_marketing.jsx.map +1 -1
- package/dist/src/components/text/heading_shared.d.ts +1 -1
- package/dist/src/components/text/heading_shared.d.ts.map +1 -1
- package/dist/src/components/text/heading_shared.jsx +2 -2
- package/dist/src/components/text/heading_shared.jsx.map +1 -1
- package/dist/src/components/text/index.d.ts +8 -8
- package/dist/src/components/text/index.d.ts.map +1 -1
- package/dist/src/components/text/index.js +7 -7
- package/dist/src/components/text/index.js.map +1 -1
- package/dist/src/components/text/text_base.d.ts +2 -2
- package/dist/src/components/text/text_base.d.ts.map +1 -1
- package/dist/src/components/text/text_base.jsx +1 -1
- package/dist/src/components/text/text_base.jsx.map +1 -1
- package/dist/src/components/text/text_content.d.ts +1 -1
- package/dist/src/components/text/text_content.d.ts.map +1 -1
- package/dist/src/components/text/text_content.jsx +2 -2
- package/dist/src/components/text/text_content.jsx.map +1 -1
- package/dist/src/components/text/text_marketing.d.ts +1 -1
- package/dist/src/components/text/text_marketing.d.ts.map +1 -1
- package/dist/src/components/text/text_marketing.jsx +2 -2
- package/dist/src/components/text/text_marketing.jsx.map +1 -1
- package/dist/src/components/text/text_shared.d.ts +1 -1
- package/dist/src/components/text/text_shared.d.ts.map +1 -1
- package/dist/src/components/text/text_shared.jsx +2 -2
- package/dist/src/components/text/text_shared.jsx.map +1 -1
- package/dist/src/components/tile/horizontal_tile.d.ts +1 -1
- package/dist/src/components/tile/horizontal_tile.d.ts.map +1 -1
- package/dist/src/components/tile/horizontal_tile.jsx +2 -2
- package/dist/src/components/tile/horizontal_tile.jsx.map +1 -1
- package/dist/src/components/tile/index.d.ts +2 -2
- package/dist/src/components/tile/index.d.ts.map +1 -1
- package/dist/src/components/tile/index.js +2 -2
- package/dist/src/components/tile/index.js.map +1 -1
- package/dist/src/components/tile/shared.js +1 -1
- package/dist/src/components/tile/shared.js.map +1 -1
- package/dist/src/components/tile/vertical_tile.d.ts +1 -1
- package/dist/src/components/tile/vertical_tile.d.ts.map +1 -1
- package/dist/src/components/tile/vertical_tile.jsx +2 -2
- package/dist/src/components/tile/vertical_tile.jsx.map +1 -1
- package/dist/src/components/to_consolidate/card.d.ts +2 -2
- package/dist/src/components/to_consolidate/card.d.ts.map +1 -1
- package/dist/src/components/to_consolidate/card.jsx +3 -3
- package/dist/src/components/to_consolidate/card.jsx.map +1 -1
- package/dist/src/components/to_consolidate/index.d.ts +4 -4
- package/dist/src/components/to_consolidate/index.d.ts.map +1 -1
- package/dist/src/components/to_consolidate/index.js +4 -4
- package/dist/src/components/to_consolidate/index.js.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.jsx +4 -4
- package/dist/src/components/to_consolidate/markdown.jsx.map +1 -1
- package/dist/src/components/to_consolidate/pagination.jsx +3 -3
- package/dist/src/components/to_consolidate/pagination.jsx.map +1 -1
- package/dist/src/components/to_consolidate/tab_number_chip.jsx +2 -2
- package/dist/src/components/to_consolidate/tab_number_chip.jsx.map +1 -1
- package/dist/src/design_system/theme.js +4 -4
- package/dist/src/design_system/theme.js.map +1 -1
- package/dist/src/design_system/tokens/index.d.ts +5 -5
- package/dist/src/design_system/tokens/index.d.ts.map +1 -1
- package/dist/src/design_system/tokens/index.js +5 -5
- package/dist/src/design_system/tokens/index.js.map +1 -1
- package/dist/src/index.d.ts +6 -6
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +6 -6
- package/dist/src/index.js.map +1 -1
- package/dist/src/ui_dependency_provider.d.ts +1 -1
- package/dist/src/ui_dependency_provider.d.ts.map +1 -1
- package/dist/src/utils/index.d.ts +3 -3
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/components/action_link.tsx +4 -4
- package/src/components/actor_template_card.tsx +3 -3
- package/src/components/badge.tsx +3 -3
- package/src/components/banner.tsx +1 -1
- package/src/components/blog_article.tsx +1 -1
- package/src/components/box.tsx +3 -3
- package/src/components/button.tsx +5 -5
- package/src/components/chip.tsx +2 -2
- package/src/components/code/action_button.tsx +3 -3
- package/src/components/code/code_block/code_block.styled.tsx +3 -3
- package/src/components/code/code_block/code_block.tsx +9 -9
- package/src/components/code/index.ts +3 -3
- package/src/components/code/inline_code/inline_code.tsx +4 -4
- package/src/components/code/one_line_code/one_line_code.tsx +7 -7
- package/src/components/code/syntax_highlighter.tsx +33 -22
- package/src/components/floating/index.ts +3 -3
- package/src/components/floating/menu.tsx +4 -4
- package/src/components/floating/menu_components.tsx +2 -2
- package/src/components/image.tsx +2 -2
- package/src/components/index.ts +21 -21
- package/src/components/link.tsx +3 -3
- package/src/components/message.tsx +4 -4
- package/src/components/rating.tsx +4 -4
- package/src/components/readme_renderer/index.ts +3 -3
- package/src/components/readme_renderer/table_of_contents.tsx +5 -5
- package/src/components/simple_markdown/index.ts +2 -0
- package/src/components/simple_markdown/simple_markdown.tsx +9 -9
- package/src/components/simple_markdown/simple_markdown_components.tsx +12 -12
- package/src/components/tag.tsx +4 -4
- package/src/components/text/heading_content.tsx +4 -4
- package/src/components/text/heading_marketing.tsx +4 -4
- package/src/components/text/heading_shared.tsx +4 -4
- package/src/components/text/index.ts +8 -8
- package/src/components/text/text_base.tsx +3 -3
- package/src/components/text/text_content.tsx +4 -4
- package/src/components/text/text_marketing.tsx +4 -4
- package/src/components/text/text_shared.tsx +4 -4
- package/src/components/tile/horizontal_tile.tsx +4 -3
- package/src/components/tile/index.ts +2 -2
- package/src/components/tile/shared.ts +1 -1
- package/src/components/tile/vertical_tile.tsx +4 -3
- package/src/components/to_consolidate/card.tsx +5 -5
- package/src/components/to_consolidate/index.ts +4 -4
- package/src/components/to_consolidate/markdown.tsx +5 -5
- package/src/components/to_consolidate/pagination.tsx +3 -3
- package/src/components/to_consolidate/tab_number_chip.tsx +2 -2
- package/src/design_system/theme.ts +4 -4
- package/src/design_system/tokens/index.ts +5 -5
- package/src/index.ts +6 -6
- package/src/ui_dependency_provider.tsx +1 -1
- package/src/utils/index.ts +3 -3
- package/dist/src/components/simple_markdown/index.jsx +0 -3
- package/dist/src/components/simple_markdown/index.jsx.map +0 -1
- package/src/components/simple_markdown/index.tsx +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useMemo, useState } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { EyeIcon, EyeOffIcon } from '@apify/ui-icons';
|
|
4
|
-
import { theme } from '../../../design_system/theme';
|
|
5
|
-
import { Text } from '../../text';
|
|
6
|
-
import { ActionButton, CopyButton } from '../action_button';
|
|
7
|
-
import SyntaxHighlighter, { SyntaxHighlighterBaseStylesWrapper } from '../syntax_highlighter';
|
|
4
|
+
import { theme } from '../../../design_system/theme.js';
|
|
5
|
+
import { Text } from '../../text/index.js';
|
|
6
|
+
import { ActionButton, CopyButton } from '../action_button.jsx';
|
|
7
|
+
import SyntaxHighlighter, { SyntaxHighlighterBaseStylesWrapper } from '../syntax_highlighter.jsx';
|
|
8
8
|
export const oneLineCodeClassNames = {
|
|
9
9
|
gradientWrapper: 'OneLineCode-GradientWrapper',
|
|
10
10
|
scrollableWrapper: 'OneLineCode-ScrollableWrapper',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one_line_code.jsx","sourceRoot":"","sources":["../../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"one_line_code.jsx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AAC,CACX,SAAS,CAET;wBAAA,CAAC,IAAI,CACT;oBAAA,EAAE,iBAAiB,CACvB;gBAAA,EAAE,GAAG,CACL;gBAAA,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EACnD;YAAA,EAAE,GAAG,CACL;YAAA,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAC1C;gBAAA,CAAC,SAAS,IAAI,CACV,CAAC,YAAY,CACT,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAC9C,SAAS,CAAC,0BAA0B,CAEpC;wBAAA,CAAC,UAAU,CAAC,CAAC,CAAC,CACV,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAG,CAC3B,CAAC,CAAC,CAAC,CACA,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAG,CACxB,CACL;oBAAA,EAAE,YAAY,CAAC,CAClB,CACD;gBAAA,CAAC,CAAC,cAAc,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,EAAG,CACxD;gBAAA,CAAC,CAAC,CAAC,mBAAmB,IAAI,CACtB,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,mBAAmB,CAAC,CACvC;wBAAA,CAAC,iBAAiB,CACtB;oBAAA,EAAE,YAAY,CAAC,CAClB,CACL;YAAA,EAAE,GAAG,CACT;QAAA,EAAE,kBAAkB,CAAE,CACzB,CAAC;AACN,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { SyntaxHighlighterProps as ReactSyntaxHighlighterProps } from 'react-syntax-highlighter';
|
|
3
|
-
import { type SharedTextProps } from '../text';
|
|
4
|
-
import type { SharedTextSize } from '../text/text_shared';
|
|
3
|
+
import { type SharedTextProps } from '../text/index.js';
|
|
4
|
+
import type { SharedTextSize } from '../text/text_shared.jsx';
|
|
5
5
|
type SyntaxHighlighterProps = ReactSyntaxHighlighterProps & {
|
|
6
6
|
size: SharedTextSize;
|
|
7
7
|
};
|
|
8
8
|
export declare const SyntaxHighlighter: React.ForwardRefExoticComponent<Omit<SyntaxHighlighterProps, "ref"> & React.RefAttributes<HTMLPreElement>>;
|
|
9
9
|
export type SyntaxHighlighterBaseStylesWrapperProps = SharedTextProps & {
|
|
10
10
|
$fullWidth?: boolean;
|
|
11
|
-
$fullHeight?:
|
|
12
|
-
$showLineNumbers?:
|
|
11
|
+
$fullHeight?: string;
|
|
12
|
+
$showLineNumbers?: any;
|
|
13
13
|
};
|
|
14
|
-
export declare const SyntaxHighlighterBaseStylesWrapper: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../box").BoxProps & React.RefAttributes<HTMLElement>>, any, SyntaxHighlighterBaseStylesWrapperProps, never>;
|
|
14
|
+
export declare const SyntaxHighlighterBaseStylesWrapper: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../box.jsx").BoxProps & React.RefAttributes<HTMLElement>>, any, SyntaxHighlighterBaseStylesWrapperProps, never>;
|
|
15
15
|
export default SyntaxHighlighter;
|
|
16
16
|
//# sourceMappingURL=syntax_highlighter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syntax_highlighter.d.ts","sourceRoot":"","sources":["../../../../src/components/code/syntax_highlighter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"syntax_highlighter.d.ts","sourceRoot":"","sources":["../../../../src/components/code/syntax_highlighter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,sBAAsB,IAAI,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAiCtG,OAAO,EAAQ,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAoD9D,KAAK,sBAAsB,GAAG,2BAA2B,GAAG;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC;AAErF,eAAO,MAAM,iBAAiB,4GAsB5B,CAAC;AAEH,MAAM,MAAM,uCAAuC,GAAG,eAAe,GAAG;IACpE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,GAAG,CAAC;CAC1B,CAAA;AAED,eAAO,MAAM,kCAAkC,qMAY9C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,26 +1,37 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
1
2
|
import React, { forwardRef } from 'react';
|
|
2
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3
3
|
// @ts-ignore The library is badly typed and does not export the type
|
|
4
|
-
import bash from 'react-syntax-highlighter/dist/esm/languages/prism/bash';
|
|
5
|
-
import dockerFile from 'react-syntax-highlighter/dist/esm/languages/prism/docker';
|
|
6
|
-
import http from 'react-syntax-highlighter/dist/esm/languages/prism/http';
|
|
7
|
-
import js from 'react-syntax-highlighter/dist/esm/languages/prism/javascript';
|
|
8
|
-
import json from 'react-syntax-highlighter/dist/esm/languages/prism/json';
|
|
9
|
-
import html from 'react-syntax-highlighter/dist/esm/languages/prism/markup';
|
|
10
|
-
import python from 'react-syntax-highlighter/dist/esm/languages/prism/python';
|
|
11
|
-
import ts from 'react-syntax-highlighter/dist/esm/languages/prism/typescript';
|
|
12
|
-
import xml from 'react-syntax-highlighter/dist/esm/languages/prism/xml-doc';
|
|
13
|
-
import yaml from 'react-syntax-highlighter/dist/esm/languages/prism/yaml';
|
|
14
|
-
import ReactSyntaxHighlighter from 'react-syntax-highlighter/dist/esm/prism-light';
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
4
|
+
import bash from 'react-syntax-highlighter/dist/esm/languages/prism/bash.js';
|
|
16
5
|
// @ts-ignore The library is badly typed and does not export the type
|
|
17
|
-
import
|
|
18
|
-
|
|
6
|
+
import dockerFile from 'react-syntax-highlighter/dist/esm/languages/prism/docker.js';
|
|
7
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
8
|
+
import http from 'react-syntax-highlighter/dist/esm/languages/prism/http.js';
|
|
9
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
10
|
+
import js from 'react-syntax-highlighter/dist/esm/languages/prism/javascript.js';
|
|
11
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
12
|
+
import json from 'react-syntax-highlighter/dist/esm/languages/prism/json.js';
|
|
13
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
14
|
+
import html from 'react-syntax-highlighter/dist/esm/languages/prism/markup.js';
|
|
15
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
16
|
+
import python from 'react-syntax-highlighter/dist/esm/languages/prism/python.js';
|
|
17
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
18
|
+
import ts from 'react-syntax-highlighter/dist/esm/languages/prism/typescript.js';
|
|
19
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
20
|
+
import xml from 'react-syntax-highlighter/dist/esm/languages/prism/xml-doc.js';
|
|
21
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
22
|
+
import yaml from 'react-syntax-highlighter/dist/esm/languages/prism/yaml.js';
|
|
23
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
24
|
+
import ReactSyntaxHighlighter from 'react-syntax-highlighter/dist/esm/prism-light.js';
|
|
25
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
26
|
+
import dark from 'react-syntax-highlighter/dist/esm/styles/prism/night-owl.js';
|
|
27
|
+
// @ts-ignore The library is badly typed and does not export the type
|
|
28
|
+
import light from 'react-syntax-highlighter/dist/esm/styles/prism/prism.js';
|
|
29
|
+
/* tslint:enable */
|
|
19
30
|
import styled, { css } from 'styled-components';
|
|
20
|
-
import { theme } from '../../design_system/theme';
|
|
21
|
-
import { useSharedUiDependencies } from '../../ui_dependency_provider';
|
|
22
|
-
import { Box } from '../box';
|
|
23
|
-
import { Text } from '../text';
|
|
31
|
+
import { theme } from '../../design_system/theme.js';
|
|
32
|
+
import { useSharedUiDependencies } from '../../ui_dependency_provider.jsx';
|
|
33
|
+
import { Box } from '../box.jsx';
|
|
34
|
+
import { Text } from '../text/index.js';
|
|
24
35
|
ReactSyntaxHighlighter.registerLanguage('typescript', ts);
|
|
25
36
|
ReactSyntaxHighlighter.registerLanguage('javascript', js);
|
|
26
37
|
ReactSyntaxHighlighter.registerLanguage('json', json);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syntax_highlighter.jsx","sourceRoot":"","sources":["../../../../src/components/code/syntax_highlighter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAG1C,
|
|
1
|
+
{"version":3,"file":"syntax_highlighter.jsx","sourceRoot":"","sources":["../../../../src/components/code/syntax_highlighter.tsx"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAG1C,qEAAqE;AACrE,OAAO,IAAI,MAAM,2DAA2D,CAAC;AAC7E,qEAAqE;AACrE,OAAO,UAAU,MAAM,6DAA6D,CAAC;AACrF,qEAAqE;AACrE,OAAO,IAAI,MAAM,2DAA2D,CAAC;AAC7E,qEAAqE;AACrE,OAAO,EAAE,MAAM,iEAAiE,CAAC;AACjF,qEAAqE;AACrE,OAAO,IAAI,MAAM,2DAA2D,CAAC;AAC7E,qEAAqE;AACrE,OAAO,IAAI,MAAM,6DAA6D,CAAC;AAC/E,qEAAqE;AACrE,OAAO,MAAM,MAAM,6DAA6D,CAAC;AACjF,qEAAqE;AACrE,OAAO,EAAE,MAAM,iEAAiE,CAAC;AACjF,qEAAqE;AACrE,OAAO,GAAG,MAAM,8DAA8D,CAAC;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H,MAAM,CAAC,MAAM,kCAAkC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAyC;wBAC9E,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe;wBACnC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM;qBAC7B,KAAK,CAAC,MAAM,CAAC,QAAQ;;;;MAIpC,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC,UAAU,IAAI,GAAG,CAAA,mBAAmB;MACzD,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC,WAAW,IAAI,GAAG,CAAA,oBAAoB;;;;CAIjE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './menu';
|
|
2
|
-
export * from './menu_components';
|
|
3
|
-
export * from './menu_common';
|
|
1
|
+
export * from './menu.jsx';
|
|
2
|
+
export * from './menu_components.jsx';
|
|
3
|
+
export * from './menu_common.jsx';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/floating/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/floating/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './menu';
|
|
2
|
-
export * from './menu_components';
|
|
3
|
-
export * from './menu_common';
|
|
1
|
+
export * from './menu.jsx';
|
|
2
|
+
export * from './menu_components.jsx';
|
|
3
|
+
export * from './menu_common.jsx';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/floating/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/floating/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../src/components/floating/menu.tsx"],"names":[],"mappings":"AAWA,OAAO,KAIN,MAAM,OAAO,CAAC;AAEf,OAAO,EAEH,KAAK,QAAQ,EAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../src/components/floating/menu.tsx"],"names":[],"mappings":"AAWA,OAAO,KAIN,MAAM,OAAO,CAAC;AAEf,OAAO,EAEH,KAAK,QAAQ,EAChB,MAAM,YAAY,CAAC;AASpB,eAAO,MAAM,cAAc;;;;;CAK1B,CAAC;AAEF,KAAK,gBAAgB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAI7D,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,SAAS,CAAC,CAAC,GAAG,UAAU;IACrC,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACnE,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IAC9C,UAAU,CAAC,EAAE;QACT,QAAQ,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;QAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;QACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;KAChC,CAAC;CACL;AAID;;;GAGG;AACH,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,UAAU,2GAUtC,SAAS,CAAC,CAAC,CAAC,GAAG,QAAQ,sBAiHzB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useRole, useListNavigation, useTypeahead, useClick, useDismiss, useInteractions, FloatingPortal, FloatingFocusManager, } from '@floating-ui/react';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import React, { useState, useRef, useMemo, } from 'react';
|
|
4
|
-
import { Box, } from '../box';
|
|
5
|
-
import { Text } from '../text';
|
|
6
|
-
import { useFloatingMenu } from './menu_common';
|
|
7
|
-
import { DropdownMenuBaseComponent, ListMenuComponent, ListMenuItemComponent, } from './menu_components';
|
|
4
|
+
import { Box, } from '../box.jsx';
|
|
5
|
+
import { Text } from '../text/index.js';
|
|
6
|
+
import { useFloatingMenu } from './menu_common.jsx';
|
|
7
|
+
import { DropdownMenuBaseComponent, ListMenuComponent, ListMenuItemComponent, } from './menu_components.jsx';
|
|
8
8
|
export const menuClassNames = {
|
|
9
9
|
WRAPPER: 'menu-wrapper',
|
|
10
10
|
BASE: 'menu-base',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.jsx","sourceRoot":"","sources":["../../../../src/components/floating/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,OAAO,EACP,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,eAAe,EACf,cAAc,EACd,oBAAoB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,EACV,QAAQ,EACR,MAAM,EACN,OAAO,GACV,MAAM,OAAO,CAAC;AAEf,OAAO,EACH,GAAG,GAEN,MAAM,
|
|
1
|
+
{"version":3,"file":"menu.jsx","sourceRoot":"","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EAAE,CAAC;wBACvB,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,sBAAsB;oBACpD,CAAC;oBAED,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;wBAC5C,KAAK,CAAC,cAAc,EAAE,CAAC;wBACvB,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;oBAC7B,CAAC;gBACL,CAAC;aACJ,CAAC,CAAC,CAEH;oCAAA,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAClC;gCAAA,EAAE,iBAAiB,CAAC,CACvB,CAAC,CACN;wBAAA,EAAE,aAAa,CACnB;oBAAA,EAAE,oBAAoB,CAC1B;gBAAA,EAAE,cAAc,CAAC,CACpB,CACL;QAAA,EAAE,GAAG,CAAC,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@ export type FloatingContext = Pick<UseFloatingReturn<ReferenceType>, 'context'>[
|
|
|
4
4
|
/**
|
|
5
5
|
* Menu wrapper component
|
|
6
6
|
*/
|
|
7
|
-
export declare const ListMenuComponent: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../box").BoxProps & React.RefAttributes<HTMLElement>>, any, {
|
|
7
|
+
export declare const ListMenuComponent: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../box.jsx").BoxProps & React.RefAttributes<HTMLElement>>, any, {
|
|
8
8
|
p: "space8";
|
|
9
9
|
}, "p">;
|
|
10
10
|
interface SelectableListMenuItemProps {
|
|
@@ -14,13 +14,13 @@ interface SelectableListMenuItemProps {
|
|
|
14
14
|
/**
|
|
15
15
|
* Menu item component
|
|
16
16
|
*/
|
|
17
|
-
export declare const ListMenuItemComponent: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../box").BoxProps & React.RefAttributes<HTMLElement>>, any, {
|
|
17
|
+
export declare const ListMenuItemComponent: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../box.jsx").BoxProps & React.RefAttributes<HTMLElement>>, any, {
|
|
18
18
|
px: "space8";
|
|
19
19
|
} & SelectableListMenuItemProps, "px">;
|
|
20
20
|
/**
|
|
21
21
|
* Menu base component WITHOUT dropdown icon
|
|
22
22
|
*/
|
|
23
|
-
export declare const PlainMenuBaseComponent: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../box").BoxProps & React.RefAttributes<HTMLElement>>, any, {}, never>;
|
|
23
|
+
export declare const PlainMenuBaseComponent: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../box.jsx").BoxProps & React.RefAttributes<HTMLElement>>, any, {}, never>;
|
|
24
24
|
/**
|
|
25
25
|
* Menu base component WITH dropdown icon
|
|
26
26
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu_components.d.ts","sourceRoot":"","sources":["../../../../src/components/floating/menu_components.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,aAAa,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAqB,MAAM,OAAO,CAAC;AAQ1C,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC;AAE3F;;GAEG;AACH,eAAO,MAAM,iBAAiB;;OAe7B,CAAC;AAEF,UAAU,2BAA2B;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB;;sCAgBjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"menu_components.d.ts","sourceRoot":"","sources":["../../../../src/components/floating/menu_components.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,aAAa,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAqB,MAAM,OAAO,CAAC;AAQ1C,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC;AAE3F;;GAEG;AACH,eAAO,MAAM,iBAAiB;;OAe7B,CAAC;AAEF,UAAU,2BAA2B;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB;;sCAgBjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,gKAelC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,sFAUpC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { ChevronDownIcon } from '@apify/ui-icons';
|
|
4
|
-
import { theme } from '../../design_system/theme';
|
|
5
|
-
import { Box } from '../box';
|
|
4
|
+
import { theme } from '../../design_system/theme.js';
|
|
5
|
+
import { Box } from '../box.jsx';
|
|
6
6
|
/**
|
|
7
7
|
* Menu wrapper component
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu_components.jsx","sourceRoot":"","sources":["../../../../src/components/floating/menu_components.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"menu_components.jsx","sourceRoot":"","sources":["../../../../src/components/floating/menu_components.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,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KAAK,CAAC,MAAM;eACd,KAAK,CAAC,KAAK,CAAC,MAAM;qBACZ,KAAK,CAAC,MAAM,CAAC,OAAO;wBACjB,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe;wBACnC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe;;;;;;4BAM/B,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB;;CAE/D,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAU,CAAmB,CAAC,EACnE,QAAQ,EACR,GAAG,KAAK,EACX,EAAE,GAAG,EAAE,EAAE;IACN,OAAO,CACH,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CACxC;YAAA,CAAC,QAAQ,CACT;YAAA,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAC/D;QAAA,EAAE,sBAAsB,CAAC,CAC5B,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE/C,KAAK,UAAU,GAAG;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;CAC1C,CAAA;AAED,eAAO,MAAM,KAAK,4GAShB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { useSharedUiDependencies } from '../ui_dependency_provider';
|
|
3
|
-
import { Box } from './box';
|
|
2
|
+
import { useSharedUiDependencies } from '../ui_dependency_provider.jsx';
|
|
3
|
+
import { Box } from './box.jsx';
|
|
4
4
|
export const Image = forwardRef((props, ref) => {
|
|
5
5
|
const { InternalImage } = useSharedUiDependencies();
|
|
6
6
|
return (<Box ref={ref} {...props} as={InternalImage}/>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.jsx","sourceRoot":"","sources":["../../../src/components/image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"image.jsx","sourceRoot":"","sources":["../../../src/components/image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,GAAG,EAAiB,MAAM,WAAW,CAAC;AAU/C,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,CAAsD,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAChG,MAAM,EAAE,aAAa,EAAE,GAAG,uBAAuB,EAAE,CAAC;IACpD,OAAO,CACH,CAAC,GAAG,CACA,GAAG,CAAC,CAAC,GAAG,CAAC,CACT,IAAI,KAAK,CAAC,CACV,EAAE,CAAC,CAAC,aAAa,CAAC,EACpB,CACL,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export * from './text';
|
|
2
|
-
export * from './box';
|
|
3
|
-
export * from './message';
|
|
4
|
-
export * from './floating';
|
|
5
|
-
export * from './button';
|
|
6
|
-
export * from './link';
|
|
7
|
-
export * from './action_link';
|
|
8
|
-
export * from './simple_markdown';
|
|
9
|
-
export * from './code';
|
|
10
|
-
export * from './color_wheel_gradient';
|
|
11
|
-
export * from './readme_renderer';
|
|
12
|
-
export * from './to_consolidate';
|
|
13
|
-
export * from './tile';
|
|
14
|
-
export * from './blog_article';
|
|
15
|
-
export * from './banner';
|
|
16
|
-
export * from './actor_template_card';
|
|
17
|
-
export * from './chip';
|
|
18
|
-
export * from './image';
|
|
19
|
-
export * from './rating';
|
|
20
|
-
export * from './badge';
|
|
21
|
-
export * from './tag';
|
|
1
|
+
export * from './text/index.js';
|
|
2
|
+
export * from './box.jsx';
|
|
3
|
+
export * from './message.jsx';
|
|
4
|
+
export * from './floating/index.js';
|
|
5
|
+
export * from './button.jsx';
|
|
6
|
+
export * from './link.jsx';
|
|
7
|
+
export * from './action_link.jsx';
|
|
8
|
+
export * from './simple_markdown/index.js';
|
|
9
|
+
export * from './code/index.js';
|
|
10
|
+
export * from './color_wheel_gradient.jsx';
|
|
11
|
+
export * from './readme_renderer/index.js';
|
|
12
|
+
export * from './to_consolidate/index.js';
|
|
13
|
+
export * from './tile/index.js';
|
|
14
|
+
export * from './blog_article.jsx';
|
|
15
|
+
export * from './banner.jsx';
|
|
16
|
+
export * from './actor_template_card.jsx';
|
|
17
|
+
export * from './chip.jsx';
|
|
18
|
+
export * from './image.jsx';
|
|
19
|
+
export * from './rating.jsx';
|
|
20
|
+
export * from './badge.jsx';
|
|
21
|
+
export * from './tag.jsx';
|
|
22
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export * from './text';
|
|
2
|
-
export * from './box';
|
|
3
|
-
export * from './message';
|
|
4
|
-
export * from './floating';
|
|
5
|
-
export * from './button';
|
|
6
|
-
export * from './link';
|
|
7
|
-
export * from './action_link';
|
|
8
|
-
export * from './simple_markdown';
|
|
9
|
-
export * from './code';
|
|
10
|
-
export * from './color_wheel_gradient';
|
|
11
|
-
export * from './readme_renderer';
|
|
12
|
-
export * from './to_consolidate';
|
|
13
|
-
export * from './tile';
|
|
14
|
-
export * from './blog_article';
|
|
15
|
-
export * from './banner';
|
|
16
|
-
export * from './actor_template_card';
|
|
17
|
-
export * from './chip';
|
|
18
|
-
export * from './image';
|
|
19
|
-
export * from './rating';
|
|
20
|
-
export * from './badge';
|
|
21
|
-
export * from './tag';
|
|
1
|
+
export * from './text/index.js';
|
|
2
|
+
export * from './box.jsx';
|
|
3
|
+
export * from './message.jsx';
|
|
4
|
+
export * from './floating/index.js';
|
|
5
|
+
export * from './button.jsx';
|
|
6
|
+
export * from './link.jsx';
|
|
7
|
+
export * from './action_link.jsx';
|
|
8
|
+
export * from './simple_markdown/index.js';
|
|
9
|
+
export * from './code/index.js';
|
|
10
|
+
export * from './color_wheel_gradient.jsx';
|
|
11
|
+
export * from './readme_renderer/index.js';
|
|
12
|
+
export * from './to_consolidate/index.js';
|
|
13
|
+
export * from './tile/index.js';
|
|
14
|
+
export * from './blog_article.jsx';
|
|
15
|
+
export * from './banner.jsx';
|
|
16
|
+
export * from './actor_template_card.jsx';
|
|
17
|
+
export * from './chip.jsx';
|
|
18
|
+
export * from './image.jsx';
|
|
19
|
+
export * from './rating.jsx';
|
|
20
|
+
export * from './badge.jsx';
|
|
21
|
+
export * from './tag.jsx';
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/link.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/link.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACxC,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,EAAE,CAAC;IACP,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAGD;;GAEG;AACH,eAAO,MAAM,aAAa,QAAS,EAAE,sBAAsB,MAAM,YAIhE,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,UAAU,QAAS,EAAE,YAGjC,CAAC;AAsBF,MAAM,MAAM,SAAS,GAAG,gBAAgB,GAAG,QAAQ,CAAC;AAEpD,eAAO,MAAM,IAAI,+EAkDf,CAAC"}
|
|
@@ -3,9 +3,9 @@ import { createPath } from 'history';
|
|
|
3
3
|
import React, { forwardRef } from 'react';
|
|
4
4
|
import styled from 'styled-components';
|
|
5
5
|
import { ExternalLinkIcon } from '@apify/ui-icons';
|
|
6
|
-
import { theme } from '../design_system/theme';
|
|
7
|
-
import { useSharedUiDependencies } from '../ui_dependency_provider';
|
|
8
|
-
import { Box } from './box';
|
|
6
|
+
import { theme } from '../design_system/theme.js';
|
|
7
|
+
import { useSharedUiDependencies } from '../ui_dependency_provider.jsx';
|
|
8
|
+
import { Box } from './box.jsx';
|
|
9
9
|
// TODO: This function is copied from tools.client.js. We can remove it from there once this is deployed
|
|
10
10
|
/**
|
|
11
11
|
* Checks if passed url is external
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.jsx","sourceRoot":"","sources":["../../../src/components/link.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAa,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"link.jsx","sourceRoot":"","sources":["../../../src/components/link.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAa,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,GAAG,EAAiB,MAAM,WAAW,CAAC;AAa/C,wGAAwG;AACxG;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,GAAO,EAAE,kBAA0B,EAAE,EAAE;IACjE,IAAI,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,QAAQ;QAAE,O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appings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/components/message.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,WAAW,CAAC;AAI/C,eAAO,MAAM,iBAAiB;;;;;;CAM7B,CAAC;AAiEF,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AASpE,KAAK,YAAY,GAAG,QAAQ,GAAG;IAC3B,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAwC1C,CAAC;AAEF,KAAK,oBAAoB,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAEvD,eAAO,MAAM,WAAW,UAAW,oBAAoB,sBAAyC,CAAC;AACjG,eAAO,MAAM,cAAc,UAAW,oBAAoB,sBAA4C,CAAC;AACvG,eAAO,MAAM,cAAc,UAAW,oBAAoB,sBAA4C,CAAC;AACvG,eAAO,MAAM,aAAa,UAAW,oBAAoB,sBAA2C,CAAC"}
|
|
@@ -2,10 +2,10 @@ import clsx from 'clsx';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { CheckCircleIcon, CrossIcon, InfoIcon, WarningTriangleIcon } from '@apify/ui-icons';
|
|
5
|
-
import { theme } from '../design_system/theme';
|
|
6
|
-
import { Box } from './box';
|
|
7
|
-
import { Button } from './button';
|
|
8
|
-
import { Heading } from './text';
|
|
5
|
+
import { theme } from '../design_system/theme.js';
|
|
6
|
+
import { Box } from './box.jsx';
|
|
7
|
+
import { Button } from './button.jsx';
|
|
8
|
+
import { Heading } from './text/index.js';
|
|
9
9
|
export const messageClassNames = {
|
|
10
10
|
main: 'Message',
|
|
11
11
|
icon: 'icon',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.jsx","sourceRoot":"","sources":["../../../src/components/message.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE5F,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"message.jsx","sourceRoot":"","sources":["../../../src/components/message.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE5F,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,GAAG,EAAiB,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,IAAI,EAAE,SAAS;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AAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"rating.d.ts","sourceRoot":"","sources":["../../../src/components/rating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAI1C,KAAK,gBAAgB,GAAG;IACpB,WAAW,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;CAC5C,CAAA;AA0CD,KAAK,WAAW,GAAG,QAAQ,GAAG;IAC1B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAmBlC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,GAAG,QAAQ,CAsBvD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { Fragment, useMemo } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { StarEmptyIcon, StarFullIcon, StarHalfIcon } from '@apify/ui-icons';
|
|
4
|
-
import { theme } from '../design_system/theme';
|
|
5
|
-
import { Box } from './box';
|
|
6
|
-
import { Text } from './text';
|
|
4
|
+
import { theme } from '../design_system/theme.js';
|
|
5
|
+
import { Box } from './box.jsx';
|
|
6
|
+
import { Text } from './text/index.js';
|
|
7
7
|
const StyledRating = styled(Box) `
|
|
8
8
|
display: flex;
|
|
9
9
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rating.jsx","sourceRoot":"","sources":["../../../src/components/rating.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,MAAM,MAAM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,kBAAkB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAC7E,MAAM,YAAY,GAAG,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAEnF,OAAO,CACH,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAChB;gBAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,CACzD;gBAAA,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC,YAAY,CAAC,EACjD;YAAA,EAAE,QAAQ,CAAC,CACd,CAAC;IACN,CAAC,CAAC,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;IAE/B,OAAO,CACH,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CACxB;YAAA,CAAC,kBAAkB,CACvB;QAAA,EAAE,iBAAiB,CAAC,CACvB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { useActorTitleHeadingFilter } from './utils';
|
|
2
|
-
export { default as pythonizeValue } from './pythonize_value';
|
|
3
|
-
export { default as TableOfContents } from './table_of_contents';
|
|
1
|
+
export { useActorTitleHeadingFilter } from './utils.jsx';
|
|
2
|
+
export { default as pythonizeValue } from './pythonize_value.js';
|
|
3
|
+
export { default as TableOfContents } from './table_of_contents.jsx';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/readme_renderer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/readme_renderer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC"}
|