@apify/ui-library 0.57.3 → 0.58.0
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 +11 -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 → action_link.js} +6 -12
- package/dist/src/components/action_link.js.map +1 -0
- package/dist/src/components/{actor_template_card.jsx → actor_template_card.js} +5 -13
- package/dist/src/components/actor_template_card.js.map +1 -0
- 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 → badge.js} +5 -7
- package/dist/src/components/badge.js.map +1 -0
- package/dist/src/components/{banner.jsx → banner.js} +3 -5
- package/dist/src/components/banner.js.map +1 -0
- package/dist/src/components/blog_article.d.ts +1 -1
- package/dist/src/components/blog_article.d.ts.map +1 -1
- package/dist/src/components/{blog_article.jsx → blog_article.js} +3 -7
- package/dist/src/components/blog_article.js.map +1 -0
- package/dist/src/components/{box.jsx → box.js} +4 -3
- package/dist/src/components/box.js.map +1 -0
- package/dist/src/components/button.d.ts +2 -2
- package/dist/src/components/button.d.ts.map +1 -1
- package/dist/src/components/{button.jsx → button.js} +12 -19
- package/dist/src/components/button.js.map +1 -0
- 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 → chip.js} +9 -8
- package/dist/src/components/chip.js.map +1 -0
- package/dist/src/components/code/action_button.d.ts +2 -2
- package/dist/src/components/code/action_button.d.ts.map +1 -1
- package/dist/src/components/code/{action_button.jsx → action_button.js} +4 -8
- package/dist/src/components/code/action_button.js.map +1 -0
- 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.js +69 -0
- package/dist/src/components/code/code_block/code_block.js.map +1 -0
- 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 → code_block.styled.js} +2 -2
- package/dist/src/components/code/code_block/code_block.styled.js.map +1 -0
- 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 → inline_code.js} +3 -7
- package/dist/src/components/code/inline_code/inline_code.js.map +1 -0
- package/dist/src/components/code/one_line_code/one_line_code.d.ts +3 -4
- 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 → one_line_code.js} +6 -26
- package/dist/src/components/code/one_line_code/one_line_code.js.map +1 -0
- package/dist/src/components/code/syntax_highlighter.d.ts +3 -4
- package/dist/src/components/code/syntax_highlighter.d.ts.map +1 -1
- package/dist/src/components/code/{syntax_highlighter.jsx → syntax_highlighter.js} +7 -8
- package/dist/src/components/code/syntax_highlighter.js.map +1 -0
- package/dist/src/components/{color_wheel_gradient.jsx → color_wheel_gradient.js} +1 -1
- package/dist/src/components/color_wheel_gradient.js.map +1 -0
- 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 +2 -2
- package/dist/src/components/floating/menu.d.ts.map +1 -1
- package/dist/src/components/floating/{menu.jsx → menu.js} +22 -34
- package/dist/src/components/floating/menu.js.map +1 -0
- package/dist/src/components/floating/{menu_common.jsx → menu_common.js} +1 -1
- package/dist/src/components/floating/menu_common.js.map +1 -0
- package/dist/src/components/floating/menu_components.d.ts +4 -5
- package/dist/src/components/floating/menu_components.d.ts.map +1 -1
- package/dist/src/components/floating/{menu_components.jsx → menu_components.js} +5 -7
- package/dist/src/components/floating/menu_components.js.map +1 -0
- package/dist/src/components/image.d.ts +2 -3
- package/dist/src/components/image.d.ts.map +1 -1
- package/dist/src/components/image.js +9 -0
- package/dist/src/components/image.js.map +1 -0
- package/dist/src/components/index.d.ts +14 -14
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +14 -14
- 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 → link.js} +9 -9
- package/dist/src/components/link.js.map +1 -0
- package/dist/src/components/message.d.ts +5 -5
- package/dist/src/components/message.d.ts.map +1 -1
- package/dist/src/components/{message.jsx → message.js} +9 -19
- package/dist/src/components/message.js.map +1 -0
- 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 → rating.js} +10 -16
- package/dist/src/components/rating.js.map +1 -0
- package/dist/src/components/readme_renderer/index.d.ts +2 -2
- package/dist/src/components/readme_renderer/index.d.ts.map +1 -1
- package/dist/src/components/readme_renderer/index.js +2 -2
- package/dist/src/components/readme_renderer/index.js.map +1 -1
- package/dist/src/components/readme_renderer/table_of_contents.d.ts +1 -1
- package/dist/src/components/readme_renderer/{table_of_contents.jsx → table_of_contents.js} +44 -49
- package/dist/src/components/readme_renderer/{table_of_contents.jsx.map → table_of_contents.js.map} +1 -1
- package/dist/src/components/readme_renderer/{utils.jsx → utils.js} +1 -1
- package/dist/src/components/readme_renderer/utils.js.map +1 -0
- 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 +2 -2
- package/dist/src/components/simple_markdown/index.js.map +1 -1
- package/dist/src/components/simple_markdown/simple_markdown.js +136 -0
- package/dist/src/components/simple_markdown/simple_markdown.js.map +1 -0
- package/dist/src/components/simple_markdown/simple_markdown_components.d.ts +4 -4
- package/dist/src/components/simple_markdown/simple_markdown_components.d.ts.map +1 -1
- package/dist/src/components/simple_markdown/{simple_markdown_components.jsx → simple_markdown_components.js} +13 -26
- package/dist/src/components/simple_markdown/simple_markdown_components.js.map +1 -0
- package/dist/src/components/tag.d.ts +3 -3
- package/dist/src/components/tag.d.ts.map +1 -1
- package/dist/src/components/{tag.jsx → tag.js} +6 -9
- package/dist/src/components/tag.js.map +1 -0
- 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 → heading_content.js} +4 -4
- package/dist/src/components/text/heading_content.js.map +1 -0
- 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 → heading_marketing.js} +4 -4
- package/dist/src/components/text/heading_marketing.js.map +1 -0
- 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 → heading_shared.js} +4 -4
- package/dist/src/components/text/heading_shared.js.map +1 -0
- 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 +1 -1
- package/dist/src/components/text/text_base.d.ts.map +1 -1
- package/dist/src/components/text/{text_base.jsx → text_base.js} +4 -4
- package/dist/src/components/text/text_base.js.map +1 -0
- package/dist/src/components/text/text_content.d.ts +2 -3
- package/dist/src/components/text/text_content.d.ts.map +1 -1
- package/dist/src/components/text/{text_content.jsx → text_content.js} +10 -9
- package/dist/src/components/text/text_content.js.map +1 -0
- package/dist/src/components/text/text_marketing.d.ts +2 -3
- package/dist/src/components/text/text_marketing.d.ts.map +1 -1
- package/dist/src/components/text/{text_marketing.jsx → text_marketing.js} +10 -9
- package/dist/src/components/text/text_marketing.js.map +1 -0
- package/dist/src/components/text/text_shared.d.ts +2 -3
- package/dist/src/components/text/text_shared.d.ts.map +1 -1
- package/dist/src/components/text/{text_shared.jsx → text_shared.js} +10 -9
- package/dist/src/components/text/text_shared.js.map +1 -0
- package/dist/src/components/tile/{horizontal_tile.jsx → horizontal_tile.js} +3 -7
- package/dist/src/components/tile/horizontal_tile.js.map +1 -0
- 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/{vertical_tile.jsx → vertical_tile.js} +3 -5
- package/dist/src/components/tile/vertical_tile.js.map +1 -0
- package/dist/src/components/to_consolidate/card.d.ts +1 -1
- package/dist/src/components/to_consolidate/card.d.ts.map +1 -1
- package/dist/src/components/to_consolidate/{card.jsx → card.js} +5 -13
- package/dist/src/components/to_consolidate/card.js.map +1 -0
- 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 → markdown.js} +21 -33
- package/dist/src/components/to_consolidate/markdown.js.map +1 -0
- package/dist/src/components/to_consolidate/{pagination.jsx → pagination.js} +14 -27
- package/dist/src/components/to_consolidate/pagination.js.map +1 -0
- package/dist/src/components/to_consolidate/{tab_number_chip.jsx → tab_number_chip.js} +3 -5
- package/dist/src/components/to_consolidate/tab_number_chip.js.map +1 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/{ui_dependency_provider.jsx → ui_dependency_provider.js} +4 -5
- package/dist/src/ui_dependency_provider.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/components/action_link.tsx +2 -2
- package/src/components/actor_template_card.tsx +1 -1
- package/src/components/badge.tsx +1 -1
- package/src/components/button.tsx +3 -3
- package/src/components/chip.tsx +1 -1
- package/src/components/code/code_block/code_block.styled.tsx +2 -2
- package/src/components/code/code_block/code_block.tsx +6 -6
- package/src/components/code/index.ts +3 -3
- package/src/components/code/inline_code/inline_code.tsx +2 -2
- package/src/components/code/one_line_code/one_line_code.tsx +6 -6
- package/src/components/code/syntax_highlighter.tsx +4 -4
- package/src/components/floating/index.ts +3 -3
- package/src/components/floating/menu.tsx +3 -3
- package/src/components/floating/menu_components.tsx +2 -2
- package/src/components/image.tsx +3 -3
- package/src/components/index.ts +14 -14
- package/src/components/link.tsx +2 -2
- package/src/components/message.tsx +2 -2
- package/src/components/rating.tsx +3 -3
- package/src/components/readme_renderer/index.ts +2 -2
- package/src/components/readme_renderer/table_of_contents.tsx +2 -2
- package/src/components/simple_markdown/index.ts +2 -2
- package/src/components/simple_markdown/simple_markdown.tsx +7 -7
- package/src/components/simple_markdown/simple_markdown_components.tsx +6 -6
- package/src/components/tag.tsx +2 -2
- package/src/components/text/heading_content.tsx +2 -2
- package/src/components/text/heading_marketing.tsx +2 -2
- package/src/components/text/heading_shared.tsx +2 -2
- package/src/components/text/index.ts +8 -8
- package/src/components/text/text_base.tsx +2 -2
- package/src/components/text/text_content.tsx +3 -3
- package/src/components/text/text_marketing.tsx +3 -3
- package/src/components/text/text_shared.tsx +3 -3
- package/src/components/tile/index.ts +2 -2
- package/src/components/to_consolidate/card.tsx +2 -2
- package/src/components/to_consolidate/index.ts +4 -4
- package/src/components/to_consolidate/markdown.tsx +1 -1
- package/src/components/to_consolidate/pagination.tsx +3 -3
- package/src/index.ts +1 -1
- package/tsconfig.build.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/src/components/action_link.jsx.map +0 -1
- package/dist/src/components/actor_template_card.jsx.map +0 -1
- package/dist/src/components/badge.jsx.map +0 -1
- package/dist/src/components/banner.jsx.map +0 -1
- package/dist/src/components/blog_article.jsx.map +0 -1
- package/dist/src/components/box.jsx.map +0 -1
- package/dist/src/components/button.jsx.map +0 -1
- package/dist/src/components/chip.jsx.map +0 -1
- package/dist/src/components/code/action_button.jsx.map +0 -1
- package/dist/src/components/code/code_block/code_block.jsx +0 -99
- package/dist/src/components/code/code_block/code_block.jsx.map +0 -1
- package/dist/src/components/code/code_block/code_block.styled.jsx.map +0 -1
- package/dist/src/components/code/inline_code/inline_code.jsx.map +0 -1
- package/dist/src/components/code/one_line_code/one_line_code.jsx.map +0 -1
- package/dist/src/components/code/syntax_highlighter.jsx.map +0 -1
- package/dist/src/components/color_wheel_gradient.jsx.map +0 -1
- package/dist/src/components/floating/menu.jsx.map +0 -1
- package/dist/src/components/floating/menu_common.jsx.map +0 -1
- package/dist/src/components/floating/menu_components.jsx.map +0 -1
- package/dist/src/components/image.jsx +0 -8
- package/dist/src/components/image.jsx.map +0 -1
- package/dist/src/components/link.jsx.map +0 -1
- package/dist/src/components/message.jsx.map +0 -1
- package/dist/src/components/rating.jsx.map +0 -1
- package/dist/src/components/readme_renderer/utils.jsx.map +0 -1
- package/dist/src/components/simple_markdown/simple_markdown.jsx +0 -137
- package/dist/src/components/simple_markdown/simple_markdown.jsx.map +0 -1
- package/dist/src/components/simple_markdown/simple_markdown_components.jsx.map +0 -1
- package/dist/src/components/tag.jsx.map +0 -1
- package/dist/src/components/text/heading_content.jsx.map +0 -1
- package/dist/src/components/text/heading_marketing.jsx.map +0 -1
- package/dist/src/components/text/heading_shared.jsx.map +0 -1
- package/dist/src/components/text/text_base.jsx.map +0 -1
- package/dist/src/components/text/text_content.jsx.map +0 -1
- package/dist/src/components/text/text_marketing.jsx.map +0 -1
- package/dist/src/components/text/text_shared.jsx.map +0 -1
- package/dist/src/components/tile/horizontal_tile.jsx.map +0 -1
- package/dist/src/components/tile/vertical_tile.jsx.map +0 -1
- package/dist/src/components/to_consolidate/card.jsx.map +0 -1
- package/dist/src/components/to_consolidate/markdown.jsx.map +0 -1
- package/dist/src/components/to_consolidate/pagination.jsx.map +0 -1
- package/dist/src/components/to_consolidate/tab_number_chip.jsx.map +0 -1
- package/dist/src/ui_dependency_provider.jsx.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
2
|
import { theme } from '../../../design_system/theme.js';
|
|
3
|
-
import { SyntaxHighlighterBaseStylesWrapper } from '../syntax_highlighter.
|
|
3
|
+
import { SyntaxHighlighterBaseStylesWrapper } from '../syntax_highlighter.js';
|
|
4
4
|
const HIGHLIGHT_BACKGROUND_COLOR = 'rgba(22, 114, 235, 0.05)';
|
|
5
5
|
export const CodeBlockWrapper = styled(SyntaxHighlighterBaseStylesWrapper) `
|
|
6
6
|
position: relative;
|
|
@@ -212,4 +212,4 @@ export const CodeBlockWrapper = styled(SyntaxHighlighterBaseStylesWrapper) `
|
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
`;
|
|
215
|
-
//# sourceMappingURL=code_block.styled.
|
|
215
|
+
//# sourceMappingURL=code_block.styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code_block.styled.js","sourceRoot":"","sources":["../../../../../src/components/code/code_block/code_block.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAExD,OAAO,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAE9E,MAAM,0BAA0B,GAAG,0BAA0B,CAAC;AAE9D,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,kCAAkC,CAAC,CAUxE;;;;;;;;eAQa,KAAK,CAAC,KAAK,CAAC,MAAM;4BACL,KAAK,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UmC,CAAC,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC,iBAAiB,IAAI,CAAC;;;;;mBAK9E,KAAK,CAAC,KAAK,CAAC,MAAM;;eAEtB,KAAK,CAAC,KAAK,CAAC,MAAM;;uBAEV,KAAK,CAAC,KAAK,CAAC,MAAM;;;;;;;gCAOT,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU;;;CAG7D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './code_block/code_block.
|
|
2
|
-
export * from './one_line_code/one_line_code.
|
|
3
|
-
export * from './inline_code/inline_code.
|
|
1
|
+
export * from './code_block/code_block.js';
|
|
2
|
+
export * from './one_line_code/one_line_code.js';
|
|
3
|
+
export * from './inline_code/inline_code.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/code/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/code/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './code_block/code_block.
|
|
2
|
-
export * from './one_line_code/one_line_code.
|
|
3
|
-
export * from './inline_code/inline_code.
|
|
1
|
+
export * from './code_block/code_block.js';
|
|
2
|
+
export * from './one_line_code/one_line_code.js';
|
|
3
|
+
export * from './inline_code/inline_code.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/code/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/code/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { RegularBoxProps } from '../../box.
|
|
3
|
-
import type { SharedTextSize } from '../../text/text_shared.
|
|
2
|
+
import type { RegularBoxProps } from '../../box.js';
|
|
3
|
+
import type { SharedTextSize } from '../../text/text_shared.js';
|
|
4
4
|
export declare const inlineCodeStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
5
5
|
type InlineCodeProps = RegularBoxProps & {
|
|
6
6
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline_code.d.ts","sourceRoot":"","sources":["../../../../../src/components/code/inline_code/inline_code.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"inline_code.d.ts","sourceRoot":"","sources":["../../../../../src/components/code/inline_code/inline_code.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGhE,eAAO,MAAM,gBAAgB,wDAM5B,CAAC;AAQF,KAAK,eAAe,GAAG,eAAe,GAAG;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,cAAc,CAAC;CACzB,CAAA;AAGD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAchD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { theme } from '../../../design_system/theme.js';
|
|
4
4
|
import { Text } from '../../text/index.js';
|
|
@@ -16,9 +16,5 @@ const Wrapper = styled.span `
|
|
|
16
16
|
}
|
|
17
17
|
`;
|
|
18
18
|
// This might be just a Chip component
|
|
19
|
-
export const InlineCode = ({ children, size, ...props }) => (
|
|
20
|
-
|
|
21
|
-
{children}
|
|
22
|
-
</Text>
|
|
23
|
-
</Wrapper>);
|
|
24
|
-
//# sourceMappingURL=inline_code.jsx.map
|
|
19
|
+
export const InlineCode = ({ children, size, ...props }) => (_jsx(Wrapper, { ...props, children: _jsx(Text, { type: "code", as: "code", size: size, children: children }) }));
|
|
20
|
+
//# sourceMappingURL=inline_code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline_code.js","sourceRoot":"","sources":["../../../../../src/components/code/inline_code/inline_code.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAExD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAG3C,wEAAwE;AACxE,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;eAEpB,KAAK,CAAC,KAAK,CAAC,MAAM;wBACT,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe;qBACtC,KAAK,CAAC,MAAM,CAAC,OAAO;wBACjB,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM;CACjD,CAAC;AAEF,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAA;;UAEjB,gBAAgB;;CAEzB,CAAC;AAOF,sCAAsC;AACtC,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,EAClD,QAAQ,EACR,IAAI,EACJ,GAAG,KAAK,EACX,EAAE,EAAE,CAAC,CACF,KAAC,OAAO,OAAK,KAAK,YACd,KAAC,IAAI,IACD,IAAI,EAAC,MAAM,EACX,EAAE,EAAC,MAAM,EACT,IAAI,EAAE,IAAI,YAET,QAAQ,GACN,GACD,CACb,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type {
|
|
3
|
-
import type { SharedTextSize } from '../../text/text_shared.jsx';
|
|
1
|
+
import type { BoxProps } from '../../box.js';
|
|
2
|
+
import type { SharedTextSize } from '../../text/text_shared.js';
|
|
4
3
|
export declare const oneLineCodeClassNames: {
|
|
5
4
|
gradientWrapper: string;
|
|
6
5
|
scrollableWrapper: string;
|
|
@@ -22,6 +21,6 @@ export type OneLineCodeProps = BoxProps & {
|
|
|
22
21
|
disabled?: boolean;
|
|
23
22
|
hideCopyButton?: boolean;
|
|
24
23
|
};
|
|
25
|
-
export declare function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder, secret, disabled, hideCopyButton, ...rest }: OneLineCodeProps):
|
|
24
|
+
export declare function OneLineCode({ children, language, size, httpMethod, actionButtonLabel, onActionButtonClick, fullWidth, secretPlaceholder, secret, disabled, hideCopyButton, ...rest }: OneLineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
26
25
|
export {};
|
|
27
26
|
//# sourceMappingURL=one_line_code.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one_line_code.d.ts","sourceRoot":"","sources":["../../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"one_line_code.d.ts","sourceRoot":"","sources":["../../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAKhE,eAAO,MAAM,qBAAqB;;;;;;CAMjC,CAAC;AAEF,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AA6HvE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAA;AAED,wBAAgB,WAAW,CAAC,EACxB,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,SAAS,EACT,iBAAyB,EACzB,MAAM,EACN,QAAQ,EACR,cAAc,EACd,GAAG,IAAI,EACV,EAAE,gBAAgB,2CA0DlB"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo, useState } from 'react';
|
|
2
3
|
import styled, { css } from 'styled-components';
|
|
3
4
|
import { EyeIcon, EyeOffIcon } from '@apify/ui-icons';
|
|
4
5
|
import { theme } from '../../../design_system/theme.js';
|
|
5
6
|
import { Text } from '../../text/index.js';
|
|
6
|
-
import { ActionButton, CopyButton } from '../action_button.
|
|
7
|
-
import SyntaxHighlighter, { SyntaxHighlighterBaseStylesWrapper } from '../syntax_highlighter.
|
|
7
|
+
import { ActionButton, CopyButton } from '../action_button.js';
|
|
8
|
+
import SyntaxHighlighter, { SyntaxHighlighterBaseStylesWrapper } from '../syntax_highlighter.js';
|
|
8
9
|
export const oneLineCodeClassNames = {
|
|
9
10
|
gradientWrapper: 'OneLineCode-GradientWrapper',
|
|
10
11
|
scrollableWrapper: 'OneLineCode-ScrollableWrapper',
|
|
@@ -131,27 +132,6 @@ export function OneLineCode({ children, language, size, httpMethod, actionButton
|
|
|
131
132
|
}, [children, secret, hasSecret, secretPlaceholder]);
|
|
132
133
|
const code = showSecret ? codeWithSecret : children;
|
|
133
134
|
const showBashPrefixes = language === 'bash';
|
|
134
|
-
return (
|
|
135
|
-
<div className={oneLineCodeClassNames.gradientWrapper}>
|
|
136
|
-
<div className={oneLineCodeClassNames.scrollableWrapper}>
|
|
137
|
-
{httpMethod && (<Text className={oneLineCodeClassNames.methodChip} as='div'>
|
|
138
|
-
{httpMethod}
|
|
139
|
-
</Text>)}
|
|
140
|
-
<SyntaxHighlighter language={language} size={size} wrapLines>
|
|
141
|
-
{code}
|
|
142
|
-
</SyntaxHighlighter>
|
|
143
|
-
</div>
|
|
144
|
-
<div className={oneLineCodeClassNames.gradient}/>
|
|
145
|
-
</div>
|
|
146
|
-
<div className={oneLineCodeClassNames.buttons}>
|
|
147
|
-
{hasSecret && (<ActionButton onClick={() => setShowSecret((prev) => !prev)} data-test='toggle-visibility-button'>
|
|
148
|
-
{showSecret ? (<EyeOffIcon size="16"/>) : (<EyeIcon size="16"/>)}
|
|
149
|
-
</ActionButton>)}
|
|
150
|
-
{!hideCopyButton && <CopyButton code={codeWithSecret}/>}
|
|
151
|
-
{!!onActionButtonClick && (<ActionButton onClick={onActionButtonClick}>
|
|
152
|
-
{actionButtonLabel}
|
|
153
|
-
</ActionButton>)}
|
|
154
|
-
</div>
|
|
155
|
-
</OneLineCodeWrapper>);
|
|
135
|
+
return (_jsxs(OneLineCodeWrapper, { "$httpMethod": httpMethod, "$fullWidth": fullWidth, "$showBashPrefixes": showBashPrefixes, "$disabled": disabled, ...rest, children: [_jsxs("div", { className: oneLineCodeClassNames.gradientWrapper, children: [_jsxs("div", { className: oneLineCodeClassNames.scrollableWrapper, children: [httpMethod && (_jsx(Text, { className: oneLineCodeClassNames.methodChip, as: 'div', children: httpMethod })), _jsx(SyntaxHighlighter, { language: language, size: size, wrapLines: true, children: code })] }), _jsx("div", { className: oneLineCodeClassNames.gradient })] }), _jsxs("div", { className: oneLineCodeClassNames.buttons, children: [hasSecret && (_jsx(ActionButton, { onClick: () => setShowSecret((prev) => !prev), "data-test": 'toggle-visibility-button', children: showSecret ? (_jsx(EyeOffIcon, { size: "16" })) : (_jsx(EyeIcon, { size: "16" })) })), !hideCopyButton && _jsx(CopyButton, { code: codeWithSecret }), !!onActionButtonClick && (_jsx(ActionButton, { onClick: onActionButtonClick, children: actionButtonLabel }))] })] }));
|
|
156
136
|
}
|
|
157
|
-
//# sourceMappingURL=one_line_code.
|
|
137
|
+
//# sourceMappingURL=one_line_code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one_line_code.js","sourceRoot":"","sources":["../../../../../src/components/code/one_line_code/one_line_code.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1C,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,iCAAiC,CAAC;AAExD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,iBAAiB,EAAE,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AAGjG,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,eAAe,EAAE,6BAA6B;IAC9C,iBAAiB,EAAE,+BAA+B;IAClD,UAAU,EAAE,wBAAwB;IACpC,QAAQ,EAAE,sBAAsB;IAChC,OAAO,EAAE,qBAAqB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,QAAQ,KACf,IAAI,aAER,eAAK,SAAS,EAAE,qBAAqB,CAAC,eAAe,aACjD,eAAK,SAAS,EAAE,qBAAqB,CAAC,iBAAiB,aAClD,UAAU,IAAI,CACX,KAAC,IAAI,IAAC,SAAS,EAAE,qBAAqB,CAAC,UAAU,EAAE,EAAE,EAAC,KAAK,YACtD,UAAU,GACR,CACV,EACD,KAAC,iBAAiB,IACd,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,SAAS,kBAER,IAAI,GACW,IAClB,EACN,cAAK,SAAS,EAAE,qBAAqB,CAAC,QAAQ,GAAI,IAChD,EACN,eAAK,SAAS,EAAE,qBAAqB,CAAC,OAAO,aACxC,SAAS,IAAI,CACV,KAAC,YAAY,IACT,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,eACnC,0BAA0B,YAEnC,UAAU,CAAC,CAAC,CAAC,CACV,KAAC,UAAU,IAAC,IAAI,EAAC,IAAI,GAAG,CAC3B,CAAC,CAAC,CAAC,CACA,KAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CACxB,GACU,CAClB,EACA,CAAC,cAAc,IAAI,KAAC,UAAU,IAAC,IAAI,EAAE,cAAc,GAAI,EACvD,CAAC,CAAC,mBAAmB,IAAI,CACtB,KAAC,YAAY,IAAC,OAAO,EAAE,mBAAmB,YACrC,iBAAiB,GACP,CAClB,IACC,IACY,CACzB,CAAC;AACN,CAAC"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { SyntaxHighlighterProps as ReactSyntaxHighlighterProps } from 'react-syntax-highlighter';
|
|
3
2
|
import { type SharedTextProps } from '../text/index.js';
|
|
4
|
-
import type { SharedTextSize } from '../text/text_shared.
|
|
3
|
+
import type { SharedTextSize } from '../text/text_shared.js';
|
|
5
4
|
type SyntaxHighlighterProps = ReactSyntaxHighlighterProps & {
|
|
6
5
|
size: SharedTextSize;
|
|
7
6
|
};
|
|
8
|
-
export declare const SyntaxHighlighter:
|
|
7
|
+
export declare const SyntaxHighlighter: import("react").ForwardRefExoticComponent<Omit<SyntaxHighlighterProps, "ref"> & import("react").RefAttributes<HTMLPreElement>>;
|
|
9
8
|
export type SyntaxHighlighterBaseStylesWrapperProps = SharedTextProps & {
|
|
10
9
|
$fullWidth?: boolean;
|
|
11
10
|
$fullHeight?: string;
|
|
12
11
|
$showLineNumbers?: any;
|
|
13
12
|
};
|
|
14
|
-
export declare const SyntaxHighlighterBaseStylesWrapper: import("styled-components").StyledComponent<
|
|
13
|
+
export declare const SyntaxHighlighterBaseStylesWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../box.js").BoxProps & import("react").RefAttributes<HTMLElement>>, any, SyntaxHighlighterBaseStylesWrapperProps, never>;
|
|
15
14
|
export default SyntaxHighlighter;
|
|
16
15
|
//# 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":"AAGA,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,wBAAwB,CAAC;AAoD7D,KAAK,sBAAsB,GAAG,2BAA2B,GAAG;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC;AAErF,eAAO,MAAM,iBAAiB,gIAsB5B,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,wNAY9C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
2
|
-
import
|
|
3
|
+
import { forwardRef } from 'react';
|
|
3
4
|
// @ts-ignore The library is badly typed and does not export the type
|
|
4
5
|
import bash from 'react-syntax-highlighter/dist/esm/languages/prism/bash.js';
|
|
5
6
|
// @ts-ignore The library is badly typed and does not export the type
|
|
@@ -29,8 +30,8 @@ import light from 'react-syntax-highlighter/dist/esm/styles/prism/prism.js';
|
|
|
29
30
|
/* tslint:enable */
|
|
30
31
|
import styled, { css } from 'styled-components';
|
|
31
32
|
import { theme } from '../../design_system/theme.js';
|
|
32
|
-
import { useSharedUiDependencies } from '../../ui_dependency_provider.
|
|
33
|
-
import { Box } from '../box.
|
|
33
|
+
import { useSharedUiDependencies } from '../../ui_dependency_provider.js';
|
|
34
|
+
import { Box } from '../box.js';
|
|
34
35
|
import { Text } from '../text/index.js';
|
|
35
36
|
ReactSyntaxHighlighter.registerLanguage('typescript', ts);
|
|
36
37
|
ReactSyntaxHighlighter.registerLanguage('javascript', js);
|
|
@@ -82,11 +83,9 @@ const inlineCssReset = {
|
|
|
82
83
|
export const SyntaxHighlighter = forwardRef(({ size, children, ...rest }, ref) => {
|
|
83
84
|
const { uiTheme } = useSharedUiDependencies();
|
|
84
85
|
const PreTag = (preProps) => {
|
|
85
|
-
return
|
|
86
|
+
return _jsx(StyledPre, { ...preProps, size: size, forwardedAs: 'pre', type: 'code', ref: ref });
|
|
86
87
|
};
|
|
87
|
-
return (
|
|
88
|
-
{children}
|
|
89
|
-
</ReactSyntaxHighlighter>);
|
|
88
|
+
return (_jsx(ReactSyntaxHighlighter, { PreTag: PreTag, customStyle: inlineCssReset, className: "CodePre", style: uiTheme === 'DARK' ? dark : light, ...rest, children: children }));
|
|
90
89
|
});
|
|
91
90
|
export const SyntaxHighlighterBaseStylesWrapper = styled(Box) `
|
|
92
91
|
background-color: ${theme.color.neutral.backgroundMuted} !important;
|
|
@@ -102,4 +101,4 @@ export const SyntaxHighlighterBaseStylesWrapper = styled(Box) `
|
|
|
102
101
|
position: relative;
|
|
103
102
|
`;
|
|
104
103
|
export default SyntaxHighlighter;
|
|
105
|
-
//# sourceMappingURL=syntax_highlighter.
|
|
104
|
+
//# sourceMappingURL=syntax_highlighter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syntax_highlighter.js","sourceRoot":"","sources":["../../../../src/components/code/syntax_highlighter.tsx"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGnC,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;AAC/E,qEAAqE;AACrE,OAAO,IAAI,MAAM,2DAA2D,CAAC;AAC7E,qEAAqE;AACrE,OAAO,sBAAsB,MAAM,kDAAkD,CAAC;AACtF,qEAAqE;AACrE,OAAO,IAAI,MAAM,6DAA6D,CAAC;AAC/E,qEAAqE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zD,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC,WAAW,IAAI,GAAG,CAAA,oBAAoB;;;;CAIjE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color_wheel_gradient.js","sourceRoot":"","sources":["../../../src/components/color_wheel_gradient.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAUvC,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAyB,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,EAAE,EAAE,UAAU,GAAG,CAAC,EAAE,UAAU,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC;;;aAGxI,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;cAC9B,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;;2BAElB,UAAU,OAAO,UAAU,cAAc,QAAQ;;;;;;;;;;;;;mBAazD,QAAQ;CAC1B,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './menu.
|
|
2
|
-
export * from './menu_components.
|
|
3
|
-
export * from './menu_common.
|
|
1
|
+
export * from './menu.js';
|
|
2
|
+
export * from './menu_components.js';
|
|
3
|
+
export * from './menu_common.js';
|
|
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,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './menu.
|
|
2
|
-
export * from './menu_components.
|
|
3
|
-
export * from './menu_common.
|
|
1
|
+
export * from './menu.js';
|
|
2
|
+
export * from './menu_components.js';
|
|
3
|
+
export * from './menu_common.js';
|
|
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,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type BoxProps } from '../box.
|
|
2
|
+
import { type BoxProps } from '../box.js';
|
|
3
3
|
export declare const menuClassNames: {
|
|
4
4
|
WRAPPER: string;
|
|
5
5
|
BASE: string;
|
|
@@ -28,6 +28,6 @@ export interface MenuProps<T = MenuOption> {
|
|
|
28
28
|
* This example is a Select taken from https://floating-ui.com/docs/react-examples
|
|
29
29
|
* It tries to mimic API of react-select as closely as possible
|
|
30
30
|
*/
|
|
31
|
-
export declare const Menu: <T extends MenuOption>({ options, value, onSelect, closeOnSelect, defaultLabel, components, renderOption, className, ...rest }: MenuProps<T> & BoxProps) =>
|
|
31
|
+
export declare const Menu: <T extends MenuOption>({ options, value, onSelect, closeOnSelect, defaultLabel, components, renderOption, className, ...rest }: MenuProps<T> & BoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
export {};
|
|
33
33
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -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,WAAW,CAAC;AASnB,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,4CAiHzB,CAAC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
import { useRole, useListNavigation, useTypeahead, useClick, useDismiss, useInteractions, FloatingPortal, FloatingFocusManager, } from '@floating-ui/react';
|
|
2
3
|
import clsx from 'clsx';
|
|
3
|
-
import
|
|
4
|
-
import { Box, } from '../box.
|
|
4
|
+
import { useState, useRef, useMemo, } from 'react';
|
|
5
|
+
import { Box, } from '../box.js';
|
|
5
6
|
import { Text } from '../text/index.js';
|
|
6
|
-
import { useFloatingMenu } from './menu_common.
|
|
7
|
-
import { DropdownMenuBaseComponent, ListMenuComponent, ListMenuItemComponent, } from './menu_components.
|
|
7
|
+
import { useFloatingMenu } from './menu_common.js';
|
|
8
|
+
import { DropdownMenuBaseComponent, ListMenuComponent, ListMenuItemComponent, } from './menu_components.js';
|
|
8
9
|
export const menuClassNames = {
|
|
9
10
|
WRAPPER: 'menu-wrapper',
|
|
10
11
|
BASE: 'menu-base',
|
|
11
12
|
LIST: 'menu-list',
|
|
12
13
|
ITEM: 'menu-item',
|
|
13
14
|
};
|
|
14
|
-
const defaultRenderOption = ({ label }) => (
|
|
15
|
+
const defaultRenderOption = ({ label }) => (_jsx(Text, { as: 'span', children: label }));
|
|
15
16
|
/**
|
|
16
17
|
* This example is a Select taken from https://floating-ui.com/docs/react-examples
|
|
17
18
|
* It tries to mimic API of react-select as closely as possible
|
|
@@ -59,33 +60,20 @@ export const Menu = ({ options, value, onSelect, closeOnSelect = true, defaultLa
|
|
|
59
60
|
const MenuComponent = components?.Menu || ListMenuComponent;
|
|
60
61
|
const MenuItemComponent = components?.MenuItem || ListMenuItemComponent;
|
|
61
62
|
const effectiveRenderOption = renderOption || defaultRenderOption;
|
|
62
|
-
return (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
if (event.key === ' ' && !isTypingRef.current) {
|
|
79
|
-
event.preventDefault();
|
|
80
|
-
handleSelect(i, 'space');
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
})}>
|
|
84
|
-
{effectiveRenderOption(option)}
|
|
85
|
-
</MenuItemComponent>))}
|
|
86
|
-
</MenuComponent>
|
|
87
|
-
</FloatingFocusManager>
|
|
88
|
-
</FloatingPortal>)}
|
|
89
|
-
</Box>);
|
|
63
|
+
return (_jsxs(Box, { className: clsx(className, menuClassNames.WRAPPER), ...rest, children: [_jsx(MenuBaseComponent, { "aria-labelledby": "select-label", "aria-autocomplete": "none", ref: refs.setReference, ...getReferenceProps(), className: menuClassNames.BASE, tabindex: "0", children: selectedIndex !== null ? options[selectedIndex].label : defaultLabel }), isOpen && (_jsx(FloatingPortal, { children: _jsx(FloatingFocusManager, { context: context, modal: false, children: _jsx(MenuComponent, { ref: refs.setFloating, style: floatingStyles, ...getFloatingProps(), className: menuClassNames.LIST, children: options.map((option, i) => (_jsx(MenuItemComponent, { "$isSelected": i === selectedIndex, "$isActive": i === activeIndex, ref: (node) => {
|
|
64
|
+
listRef.current[i] = node;
|
|
65
|
+
}, role: "option", tabIndex: i === activeIndex ? 0 : -1, className: menuClassNames.ITEM, "aria-selected": i === selectedIndex && i === activeIndex, ...getItemProps({
|
|
66
|
+
onClick: () => handleSelect(i, 'click'), // Handles mouse click
|
|
67
|
+
onKeyDown: (event) => {
|
|
68
|
+
if (event.key === 'Enter') {
|
|
69
|
+
event.preventDefault();
|
|
70
|
+
handleSelect(i, 'enter'); // Handles enter press
|
|
71
|
+
}
|
|
72
|
+
if (event.key === ' ' && !isTypingRef.current) {
|
|
73
|
+
event.preventDefault();
|
|
74
|
+
handleSelect(i, 'space');
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
}), children: effectiveRenderOption(option) }, option.value))) }) }) }))] }));
|
|
90
78
|
};
|
|
91
|
-
//# sourceMappingURL=menu.
|
|
79
|
+
//# sourceMappingURL=menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3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AC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu_common.js","sourceRoot":"","sources":["../../../../src/components/floating/menu_common.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,MAAM,EACN,IAAI,EACJ,UAAU,GACb,MAAM,oBAAoB,CAAC;AAE5B,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC5B,MAAM,EACN,SAAS,GAIZ,EAAE,EAAE,CAAC,WAAW,CAAU;IACvB,SAAS,EAAE,cAAc;IACzB,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,SAAS;IACvB,oBAAoB,EAAE,UAAU;IAChC,UAAU,EAAE;QACR,MAAM,CAAC,CAAC,CAAC;QACT,IAAI,CAAC;YACD,KAAK,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE;gBAC/B,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE;oBACnC,SAAS,EAAE,GAAG,eAAe,IAAI;oBACjC,SAAS,EAAE,MAAM;iBACpB,CAAC,CAAC;YACP,CAAC;YACD,OAAO,EAAE,EAAE;SACd,CAAC;KACL;CACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { type UseFloatingReturn, type ReferenceType } from '@floating-ui/react';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export type FloatingContext = Pick<UseFloatingReturn<ReferenceType>, 'context'>['context'];
|
|
4
3
|
/**
|
|
5
4
|
* Menu wrapper component
|
|
6
5
|
*/
|
|
7
|
-
export declare const ListMenuComponent: import("styled-components").StyledComponent<
|
|
6
|
+
export declare const ListMenuComponent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../box.js").BoxProps & import("react").RefAttributes<HTMLElement>>, any, {
|
|
8
7
|
p: "space8";
|
|
9
8
|
}, "p">;
|
|
10
9
|
interface SelectableListMenuItemProps {
|
|
@@ -14,16 +13,16 @@ interface SelectableListMenuItemProps {
|
|
|
14
13
|
/**
|
|
15
14
|
* Menu item component
|
|
16
15
|
*/
|
|
17
|
-
export declare const ListMenuItemComponent: import("styled-components").StyledComponent<
|
|
16
|
+
export declare const ListMenuItemComponent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../box.js").BoxProps & import("react").RefAttributes<HTMLElement>>, any, {
|
|
18
17
|
px: "space8";
|
|
19
18
|
} & SelectableListMenuItemProps, "px">;
|
|
20
19
|
/**
|
|
21
20
|
* Menu base component WITHOUT dropdown icon
|
|
22
21
|
*/
|
|
23
|
-
export declare const PlainMenuBaseComponent: import("styled-components").StyledComponent<
|
|
22
|
+
export declare const PlainMenuBaseComponent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../box.js").BoxProps & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
24
23
|
/**
|
|
25
24
|
* Menu base component WITH dropdown icon
|
|
26
25
|
*/
|
|
27
|
-
export declare const DropdownMenuBaseComponent:
|
|
26
|
+
export declare const DropdownMenuBaseComponent: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
28
27
|
export {};
|
|
29
28
|
//# sourceMappingURL=menu_components.d.ts.map
|
|
@@ -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;
|
|
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;AAS5B,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,mLAelC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,0GAUpC,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from 'react';
|
|
2
3
|
import styled, { css } from 'styled-components';
|
|
3
4
|
import { ChevronDownIcon } from '@apify/ui-icons';
|
|
4
5
|
import { theme } from '../../design_system/theme.js';
|
|
5
|
-
import { Box } from '../box.
|
|
6
|
+
import { Box } from '../box.js';
|
|
6
7
|
/**
|
|
7
8
|
* Menu wrapper component
|
|
8
9
|
*/
|
|
@@ -65,9 +66,6 @@ export const PlainMenuBaseComponent = styled(Box) `
|
|
|
65
66
|
* Menu base component WITH dropdown icon
|
|
66
67
|
*/
|
|
67
68
|
export const DropdownMenuBaseComponent = forwardRef(({ children, ...props }, ref) => {
|
|
68
|
-
return (
|
|
69
|
-
{children}
|
|
70
|
-
<ChevronDownIcon size="16" color={theme.color.neutral.icon}/>
|
|
71
|
-
</PlainMenuBaseComponent>);
|
|
69
|
+
return (_jsxs(PlainMenuBaseComponent, { ...props, ref: ref, children: [children, _jsx(ChevronDownIcon, { size: "16", color: theme.color.neutral.icon })] }));
|
|
72
70
|
});
|
|
73
|
-
//# sourceMappingURL=menu_components.
|
|
71
|
+
//# sourceMappingURL=menu_components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu_components.js","sourceRoot":"","sources":["../../../../src/components/floating/menu_components.tsx"],"names":[],"mappings":";AAIA,OAAO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AM,CAAC,GAAG,CAAC,CAAA;;;WAGtC,KAAK,CAAC,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,MAAC,sBAAsB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,aACtC,QAAQ,EACT,KAAC,eAAe,IAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,GAAI,IACzC,CAC5B,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { type BoxProps } from './box.jsx';
|
|
1
|
+
import { type BoxProps } from './box.js';
|
|
3
2
|
type ImageProps = {
|
|
4
3
|
src: string;
|
|
5
4
|
alt?: string;
|
|
@@ -7,6 +6,6 @@ type ImageProps = {
|
|
|
7
6
|
height?: number;
|
|
8
7
|
loading?: 'eager' | 'lazy' | undefined;
|
|
9
8
|
};
|
|
10
|
-
export declare const Image:
|
|
9
|
+
export declare const Image: import("react").ForwardRefExoticComponent<ImageProps & Omit<BoxProps, "as"> & import("react").RefAttributes<HTMLImageElement>>;
|
|
11
10
|
export {};
|
|
12
11
|
//# sourceMappingURL=image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/image.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/image.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE9C,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,gIAShB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { useSharedUiDependencies } from '../ui_dependency_provider.js';
|
|
4
|
+
import { Box } from './box.js';
|
|
5
|
+
export const Image = forwardRef((props, ref) => {
|
|
6
|
+
const { InternalImage } = useSharedUiDependencies();
|
|
7
|
+
return (_jsx(Box, { ref: ref, ...props, as: InternalImage }));
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../../src/components/image.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,GAAG,EAAiB,MAAM,UAAU,CAAC;AAU9C,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,KAAC,GAAG,IACA,GAAG,EAAE,GAAG,KACJ,KAAK,EACT,EAAE,EAAE,aAAa,GACnB,CACL,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export * from './text/index.js';
|
|
2
|
-
export * from './box.
|
|
3
|
-
export * from './message.
|
|
2
|
+
export * from './box.js';
|
|
3
|
+
export * from './message.js';
|
|
4
4
|
export * from './floating/index.js';
|
|
5
|
-
export * from './button.
|
|
6
|
-
export * from './link.
|
|
7
|
-
export * from './action_link.
|
|
5
|
+
export * from './button.js';
|
|
6
|
+
export * from './link.js';
|
|
7
|
+
export * from './action_link.js';
|
|
8
8
|
export * from './simple_markdown/index.js';
|
|
9
9
|
export * from './code/index.js';
|
|
10
|
-
export * from './color_wheel_gradient.
|
|
10
|
+
export * from './color_wheel_gradient.js';
|
|
11
11
|
export * from './readme_renderer/index.js';
|
|
12
12
|
export * from './to_consolidate/index.js';
|
|
13
13
|
export * from './tile/index.js';
|
|
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.
|
|
14
|
+
export * from './blog_article.js';
|
|
15
|
+
export * from './banner.js';
|
|
16
|
+
export * from './actor_template_card.js';
|
|
17
|
+
export * from './chip.js';
|
|
18
|
+
export * from './image.js';
|
|
19
|
+
export * from './rating.js';
|
|
20
|
+
export * from './badge.js';
|
|
21
|
+
export * from './tag.js';
|
|
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,iBAAiB,CAAC;AAChC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC"}
|