@apify/ui-library 0.57.0 → 0.57.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/.eslintrc +1 -0
- package/CHANGELOG.md +16 -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.jsx +2 -2
- package/dist/src/components/simple_markdown/index.jsx.map +1 -1
- 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 +3 -3
- 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.tsx +2 -2
- 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 +3 -3
- package/src/components/tile/index.ts +2 -2
- package/src/components/tile/shared.ts +1 -1
- package/src/components/tile/vertical_tile.tsx +3 -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
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import HeadingShared from './heading_shared';
|
|
2
|
-
import type { SharedTextProps } from './text_shared';
|
|
3
|
-
import TextShared from './text_shared';
|
|
1
|
+
import HeadingShared from './heading_shared.js';
|
|
2
|
+
import type { SharedTextProps } from './text_shared.js';
|
|
3
|
+
import TextShared from './text_shared.js';
|
|
4
4
|
|
|
5
|
-
export * from './text_base';
|
|
6
|
-
export * from './text_content';
|
|
7
|
-
export * from './text_marketing';
|
|
8
|
-
export * from './heading_content';
|
|
9
|
-
export * from './heading_marketing';
|
|
5
|
+
export * from './text_base.js';
|
|
6
|
+
export * from './text_content.js';
|
|
7
|
+
export * from './text_marketing.js';
|
|
8
|
+
export * from './heading_content.js';
|
|
9
|
+
export * from './heading_marketing.js';
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
12
|
TextShared as Text, // Shared typography is the default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
|
|
4
|
-
import type { WithTransientProps } from '../../type_utils';
|
|
5
|
-
import type { BoxProps } from '../box';
|
|
6
|
-
import { Box } from '../box';
|
|
4
|
+
import type { WithTransientProps } from '../../type_utils.js';
|
|
5
|
+
import type { BoxProps } from '../box.js';
|
|
6
|
+
import { Box } from '../box.js';
|
|
7
7
|
|
|
8
8
|
export interface TransientTextBaseProps {
|
|
9
9
|
italic?: boolean
|
|
@@ -2,10 +2,10 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import type { FlattenSimpleInterpolation } from 'styled-components';
|
|
3
3
|
import styled, { css } from 'styled-components';
|
|
4
4
|
|
|
5
|
-
import { theme } from '../../design_system/theme';
|
|
6
|
-
import type { WithTransientProps } from '../../type_utils';
|
|
7
|
-
import type { TextBaseProps } from './text_base';
|
|
8
|
-
import { TextBaseComponent } from './text_base';
|
|
5
|
+
import { theme } from '../../design_system/theme.js';
|
|
6
|
+
import type { WithTransientProps } from '../../type_utils.js';
|
|
7
|
+
import type { TextBaseProps } from './text_base.js';
|
|
8
|
+
import { TextBaseComponent } from './text_base.js';
|
|
9
9
|
|
|
10
10
|
export type ContentTextType = 'paragraph' | 'snippet';
|
|
11
11
|
export type ContentTextWeight = 'normal' | 'bold';
|
|
@@ -2,10 +2,10 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import type { FlattenSimpleInterpolation } from 'styled-components';
|
|
3
3
|
import styled, { css } from 'styled-components';
|
|
4
4
|
|
|
5
|
-
import { theme } from '../../design_system/theme';
|
|
6
|
-
import type { WithTransientProps } from '../../type_utils';
|
|
7
|
-
import type { TextBaseProps } from './text_base';
|
|
8
|
-
import { TextBaseComponent } from './text_base';
|
|
5
|
+
import { theme } from '../../design_system/theme.js';
|
|
6
|
+
import type { WithTransientProps } from '../../type_utils.js';
|
|
7
|
+
import type { TextBaseProps } from './text_base.js';
|
|
8
|
+
import { TextBaseComponent } from './text_base.js';
|
|
9
9
|
|
|
10
10
|
export type MarketingTextSize = 'large' | 'regular' | 'small' | 'extraSmall';
|
|
11
11
|
export type MarketingTextWeight = 'normal' | 'bold';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
|
|
4
|
-
import { theme } from '../../design_system/theme';
|
|
5
|
-
import type { WithTransientProps } from '../../type_utils';
|
|
6
|
-
import type { TextBaseProps } from './text_base';
|
|
7
|
-
import { TextBaseComponent } from './text_base';
|
|
4
|
+
import { theme } from '../../design_system/theme.js';
|
|
5
|
+
import type { WithTransientProps } from '../../type_utils.js';
|
|
6
|
+
import type { TextBaseProps } from './text_base.js';
|
|
7
|
+
import { TextBaseComponent } from './text_base.js';
|
|
8
8
|
|
|
9
9
|
export type SharedTextType = 'body' | 'code';
|
|
10
10
|
export type SharedTextSize = 'regular' | 'small' | 'big';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
|
|
4
|
-
import { theme } from '../../design_system/theme';
|
|
4
|
+
import { theme } from '../../design_system/theme.js';
|
|
5
5
|
import type {
|
|
6
6
|
TileSharedProps,
|
|
7
|
-
TileSizesType } from './shared';
|
|
7
|
+
TileSizesType } from './shared.js';
|
|
8
8
|
import {
|
|
9
9
|
TILE_SIZES,
|
|
10
10
|
tileStyle,
|
|
11
|
-
} from './shared';
|
|
11
|
+
} from './shared.js';
|
|
12
12
|
|
|
13
13
|
interface HorizontalTileProps extends TileSharedProps {
|
|
14
14
|
icon?: React.ReactNode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './horizontal_tile';
|
|
2
|
-
export * from './vertical_tile';
|
|
1
|
+
export * from './horizontal_tile.js';
|
|
2
|
+
export * from './vertical_tile.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
|
|
4
|
-
import { theme } from '../../design_system/theme';
|
|
4
|
+
import { theme } from '../../design_system/theme.js';
|
|
5
5
|
import type {
|
|
6
6
|
TileSharedProps,
|
|
7
|
-
TileSizesType } from './shared';
|
|
7
|
+
TileSizesType } from './shared.js';
|
|
8
8
|
import {
|
|
9
9
|
TILE_SIZES,
|
|
10
10
|
tileStyle,
|
|
11
|
-
} from './shared';
|
|
11
|
+
} from './shared.js';
|
|
12
12
|
|
|
13
13
|
interface HorizontalTileProps extends TileSharedProps {
|
|
14
14
|
content: React.ReactNode;
|
|
@@ -2,11 +2,11 @@ import clsx from 'clsx';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import styled, { css } from 'styled-components';
|
|
4
4
|
|
|
5
|
-
import { theme } from '../../design_system/theme';
|
|
6
|
-
import type { WithTransientProps } from '../../type_utils';
|
|
7
|
-
import type { BoxProps } from '../box';
|
|
8
|
-
import { Box } from '../box';
|
|
9
|
-
import { Text } from '../text';
|
|
5
|
+
import { theme } from '../../design_system/theme.js';
|
|
6
|
+
import type { WithTransientProps } from '../../type_utils.js';
|
|
7
|
+
import type { BoxProps } from '../box.js';
|
|
8
|
+
import { Box } from '../box.js';
|
|
9
|
+
import { Text } from '../text/index.js';
|
|
10
10
|
|
|
11
11
|
export const cardClassNames = {
|
|
12
12
|
WRAPPER: 'Card',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './card';
|
|
2
|
-
export * from './pagination';
|
|
3
|
-
export * from './markdown';
|
|
4
|
-
export * from './tab_number_chip';
|
|
1
|
+
export * from './card.js';
|
|
2
|
+
export * from './pagination.js';
|
|
3
|
+
export * from './markdown.js';
|
|
4
|
+
export * from './tab_number_chip.js';
|
|
@@ -11,11 +11,11 @@ import styled from 'styled-components';
|
|
|
11
11
|
|
|
12
12
|
import { LinkIcon } from '@apify/ui-icons';
|
|
13
13
|
|
|
14
|
-
import type { UiThemeOption } from '../../design_system/theme';
|
|
15
|
-
import { theme } from '../../design_system/theme';
|
|
16
|
-
import { useCopyToClipboard } from '../../utils';
|
|
17
|
-
import { CodeBlock, OneLineCode, inlineCodeStyles } from '../code';
|
|
18
|
-
import { cleanMarkdown, slugifyHeadingChildren } from '../readme_renderer/utils';
|
|
14
|
+
import type { UiThemeOption } from '../../design_system/theme.js';
|
|
15
|
+
import { theme } from '../../design_system/theme.js';
|
|
16
|
+
import { useCopyToClipboard } from '../../utils/index.js';
|
|
17
|
+
import { CodeBlock, OneLineCode, inlineCodeStyles } from '../code/index.js';
|
|
18
|
+
import { cleanMarkdown, slugifyHeadingChildren } from '../readme_renderer/utils.js';
|
|
19
19
|
|
|
20
20
|
interface StyledReadmeProps {
|
|
21
21
|
$scrollMarginTopPx: number;
|
|
@@ -4,9 +4,9 @@ import styled from 'styled-components';
|
|
|
4
4
|
|
|
5
5
|
import { ChevronLeftIcon, ChevronRightIcon } from '@apify/ui-icons';
|
|
6
6
|
|
|
7
|
-
import { theme } from '../../design_system/theme';
|
|
8
|
-
import { Box } from '../box';
|
|
9
|
-
import { Button } from '../button';
|
|
7
|
+
import { theme } from '../../design_system/theme.js';
|
|
8
|
+
import { Box } from '../box.js';
|
|
9
|
+
import { Button } from '../button.js';
|
|
10
10
|
|
|
11
11
|
const LEADING_THREE_DOTS_PAGE_KEY = -1;
|
|
12
12
|
const TRAILING_THREE_DOTS_PAGE_KEY = -2;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
|
|
4
|
-
import { theme } from '../../design_system/theme';
|
|
5
|
-
import { Text } from '../text';
|
|
4
|
+
import { theme } from '../../design_system/theme.js';
|
|
5
|
+
import { Text } from '../text/index.js';
|
|
6
6
|
|
|
7
7
|
const StyledChip = styled(Text)`
|
|
8
8
|
color: ${theme.color.neutral.text};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { darkTheme, lightTheme } from './colors_theme';
|
|
2
|
-
import { colorProperties } from './properties_theme';
|
|
1
|
+
import { darkTheme, lightTheme } from './colors_theme.js';
|
|
2
|
+
import { colorProperties } from './properties_theme.js';
|
|
3
3
|
import {
|
|
4
4
|
spaces,
|
|
5
5
|
radiuses,
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
devices,
|
|
8
8
|
transitions,
|
|
9
9
|
shadows,
|
|
10
|
-
} from './tokens';
|
|
11
|
-
import { typographyTokens } from './typography_theme';
|
|
10
|
+
} from './tokens/index.js';
|
|
11
|
+
import { typographyTokens } from './typography_theme.js';
|
|
12
12
|
|
|
13
13
|
export const theme = {
|
|
14
14
|
color: colorProperties,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './layouts';
|
|
2
|
-
export * from './spaces';
|
|
3
|
-
export * from './shadows';
|
|
4
|
-
export * from './radiuses';
|
|
5
|
-
export * from './transitions';
|
|
1
|
+
export * from './layouts.js';
|
|
2
|
+
export * from './spaces.js';
|
|
3
|
+
export * from './shadows.js';
|
|
4
|
+
export * from './radiuses.js';
|
|
5
|
+
export * from './transitions.js';
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './components';
|
|
2
|
-
export * from './utils';
|
|
3
|
-
export * from './design_system/tokens/index';
|
|
4
|
-
export * from './design_system/theme';
|
|
5
|
-
export * from './ui_dependency_provider';
|
|
1
|
+
export * from './components/index.js';
|
|
2
|
+
export * from './utils/index.js';
|
|
3
|
+
export * from './design_system/tokens/index.js';
|
|
4
|
+
export * from './design_system/theme.js';
|
|
5
|
+
export * from './ui_dependency_provider.js';
|
|
6
6
|
|
|
7
|
-
export * from './type_utils';
|
|
7
|
+
export * from './type_utils.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { createContext, useContext } from 'react';
|
|
2
2
|
|
|
3
|
-
import type { UiThemeOption } from './design_system/theme';
|
|
3
|
+
import type { UiThemeOption } from './design_system/theme.js';
|
|
4
4
|
|
|
5
5
|
export interface AgnosticInternalLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
6
6
|
// Here we should add special props that are supported by all Link implementation we use (react-router on console & next.js on web)
|
package/src/utils/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './copy_to_clipboard';
|
|
2
|
-
export * from './sanitization';
|
|
3
|
-
export * from './image_color';
|
|
1
|
+
export * from './copy_to_clipboard.js';
|
|
2
|
+
export * from './sanitization.js';
|
|
3
|
+
export * from './image_color.js';
|