@apify/ui-library 1.171.1-uilibraryversion2candida-85b55e.71 → 1.171.1

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.
Files changed (114) hide show
  1. package/README.md +1 -1
  2. package/dist/components/banner/banner.d.ts +11 -0
  3. package/dist/components/banner/banner.d.ts.map +1 -0
  4. package/dist/components/banner/banner.js +76 -0
  5. package/dist/components/banner/index.d.ts +2 -0
  6. package/dist/components/banner/index.d.ts.map +1 -0
  7. package/dist/components/chip/chip.d.ts +55 -0
  8. package/dist/components/chip/chip.d.ts.map +1 -0
  9. package/dist/components/chip/chip.js +144 -0
  10. package/dist/components/chip/index.d.ts +2 -0
  11. package/dist/components/chip/index.d.ts.map +1 -0
  12. package/dist/components/code/code_block/code_block.d.ts +3 -1
  13. package/dist/components/code/code_block/code_block.d.ts.map +1 -1
  14. package/dist/components/code/code_block/code_block.js +7 -1
  15. package/dist/components/code/code_block/code_block.styled.d.ts +1 -0
  16. package/dist/components/code/code_block/code_block.styled.d.ts.map +1 -1
  17. package/dist/components/code/code_block/code_block.styled.js +10 -0
  18. package/dist/components/code/inline_code/inline_code.d.ts.map +1 -1
  19. package/dist/components/color_wheel_gradient/color_wheel_gradient.d.ts +9 -0
  20. package/dist/components/color_wheel_gradient/color_wheel_gradient.d.ts.map +1 -0
  21. package/dist/components/color_wheel_gradient/color_wheel_gradient.js +27 -0
  22. package/dist/components/color_wheel_gradient/index.d.ts +2 -0
  23. package/dist/components/color_wheel_gradient/index.d.ts.map +1 -0
  24. package/dist/components/index.d.ts +3 -0
  25. package/dist/components/index.d.ts.map +1 -1
  26. package/dist/components/simple_markdown/simple_markdown.d.ts.map +1 -1
  27. package/dist/components/simple_markdown/simple_markdown.js +1 -1
  28. package/dist/components/simple_markdown/simple_markdown_components.d.ts +2 -5
  29. package/dist/components/simple_markdown/simple_markdown_components.d.ts.map +1 -1
  30. package/dist/components/simple_markdown/simple_markdown_components.js +3 -2
  31. package/dist/components/tag/tag.d.ts +1 -1
  32. package/dist/components/tag/tag.d.ts.map +1 -1
  33. package/dist/components/text/index.d.ts +1 -0
  34. package/dist/components/text/index.d.ts.map +1 -1
  35. package/dist/components/text/text_content.d.ts +1 -1
  36. package/dist/components/text/text_content.js +1 -1
  37. package/dist/files_hash_at_build.txt +1 -1
  38. package/dist/index.js +5 -1
  39. package/dist/src/components/banner/banner.d.ts +11 -0
  40. package/dist/src/components/banner/banner.d.ts.map +1 -0
  41. package/dist/src/components/banner/banner.js +70 -0
  42. package/dist/src/components/banner/banner.js.map +1 -0
  43. package/dist/src/components/banner/index.d.ts +2 -0
  44. package/dist/src/components/banner/index.d.ts.map +1 -0
  45. package/dist/src/components/banner/index.js +2 -0
  46. package/dist/src/components/banner/index.js.map +1 -0
  47. package/dist/src/components/chip/chip.d.ts +56 -0
  48. package/dist/src/components/chip/chip.d.ts.map +1 -0
  49. package/dist/src/components/chip/chip.js +123 -0
  50. package/dist/src/components/chip/chip.js.map +1 -0
  51. package/dist/src/components/chip/index.d.ts +2 -0
  52. package/dist/src/components/chip/index.d.ts.map +1 -0
  53. package/dist/src/components/chip/index.js +2 -0
  54. package/dist/src/components/chip/index.js.map +1 -0
  55. package/dist/src/components/code/code_block/code_block.d.ts +3 -1
  56. package/dist/src/components/code/code_block/code_block.d.ts.map +1 -1
  57. package/dist/src/components/code/code_block/code_block.js +3 -2
  58. package/dist/src/components/code/code_block/code_block.js.map +1 -1
  59. package/dist/src/components/code/code_block/code_block.styled.d.ts +1 -0
  60. package/dist/src/components/code/code_block/code_block.styled.d.ts.map +1 -1
  61. package/dist/src/components/code/code_block/code_block.styled.js +10 -0
  62. package/dist/src/components/code/code_block/code_block.styled.js.map +1 -1
  63. package/dist/src/components/code/inline_code/inline_code.d.ts.map +1 -1
  64. package/dist/src/components/code/inline_code/inline_code.js +1 -0
  65. package/dist/src/components/code/inline_code/inline_code.js.map +1 -1
  66. package/dist/src/components/color_wheel_gradient/color_wheel_gradient.d.ts +9 -0
  67. package/dist/src/components/color_wheel_gradient/color_wheel_gradient.d.ts.map +1 -0
  68. package/dist/src/components/color_wheel_gradient/color_wheel_gradient.js +25 -0
  69. package/dist/src/components/color_wheel_gradient/color_wheel_gradient.js.map +1 -0
  70. package/dist/src/components/color_wheel_gradient/index.d.ts +2 -0
  71. package/dist/src/components/color_wheel_gradient/index.d.ts.map +1 -0
  72. package/dist/src/components/color_wheel_gradient/index.js +2 -0
  73. package/dist/src/components/color_wheel_gradient/index.js.map +1 -0
  74. package/dist/src/components/index.d.ts +3 -0
  75. package/dist/src/components/index.d.ts.map +1 -1
  76. package/dist/src/components/index.js +3 -0
  77. package/dist/src/components/index.js.map +1 -1
  78. package/dist/src/components/simple_markdown/simple_markdown.d.ts.map +1 -1
  79. package/dist/src/components/simple_markdown/simple_markdown.js +1 -2
  80. package/dist/src/components/simple_markdown/simple_markdown.js.map +1 -1
  81. package/dist/src/components/simple_markdown/simple_markdown_components.d.ts +4 -5
  82. package/dist/src/components/simple_markdown/simple_markdown_components.d.ts.map +1 -1
  83. package/dist/src/components/simple_markdown/simple_markdown_components.js +4 -4
  84. package/dist/src/components/simple_markdown/simple_markdown_components.js.map +1 -1
  85. package/dist/src/components/tag/tag.d.ts +1 -1
  86. package/dist/src/components/tag/tag.d.ts.map +1 -1
  87. package/dist/src/components/text/index.d.ts +1 -0
  88. package/dist/src/components/text/index.d.ts.map +1 -1
  89. package/dist/src/components/text/index.js +1 -0
  90. package/dist/src/components/text/index.js.map +1 -1
  91. package/dist/src/components/text/text_content.d.ts +1 -1
  92. package/dist/src/components/text/text_content.js +1 -1
  93. package/dist/tsconfig.build.tsbuildinfo +1 -1
  94. package/package.json +2 -2
  95. package/src/components/banner/banner.stories.tsx +238 -0
  96. package/src/components/banner/banner.tsx +91 -0
  97. package/src/components/banner/index.ts +1 -0
  98. package/src/components/chip/chip.stories.tsx +311 -0
  99. package/src/components/chip/chip.tsx +167 -0
  100. package/src/components/chip/index.ts +1 -0
  101. package/src/components/code/code_block/code_block.stories.jsx +13 -6
  102. package/src/components/code/code_block/code_block.styled.tsx +11 -0
  103. package/src/components/code/code_block/code_block.tsx +8 -0
  104. package/src/components/code/inline_code/inline_code.tsx +1 -0
  105. package/src/components/color_wheel_gradient/color_wheel_gradient.stories.tsx +152 -0
  106. package/src/components/color_wheel_gradient/color_wheel_gradient.tsx +33 -0
  107. package/src/components/color_wheel_gradient/index.ts +1 -0
  108. package/src/components/index.ts +3 -0
  109. package/src/components/simple_markdown/simple_markdown.tsx +1 -2
  110. package/src/components/simple_markdown/simple_markdown_components.tsx +14 -8
  111. package/src/components/tag/tag.tsx +1 -1
  112. package/src/components/text/index.ts +1 -0
  113. package/src/components/text/text_content.stories.tsx +194 -0
  114. package/src/components/text/text_content.tsx +1 -1
package/README.md CHANGED
@@ -40,7 +40,7 @@ export const SaveBar = ({ onSave }: { onSave: () => void }) => (
40
40
  - **Layout** — `Box` (utility-prop wrapper around any element)
41
41
  - **Typography** — `Text`, `Heading`, plus content / shared / marketing variants
42
42
  - **Forms** — `Button`, `IconButton`, `Checkbox`, `RadioButton`, `Switch`, `Select`
43
- - **Data** — `Table` + primitives (`TableHead`, `TableRow`, `TableCell`, …), `Badge`, `Tag`
43
+ - **Data** — `Table` + primitives (`TableHead`, `TableRow`, `TableCell`, …), `Badge`, `Chip`, `Tag`
44
44
  - **Feedback** — `Banner`, `Message`, `Spinner`
45
45
  - **Navigation** — `Tabs`, `Breadcrumb`, `Pagination`, `Link`
46
46
  - **Overlay** — `Floating` (menus, tooltips), `CollapsibleCard`
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ interface BannerProps {
3
+ background?: string;
4
+ useGradientBackground?: boolean;
5
+ width?: string;
6
+ className?: string;
7
+ children: React.ReactNode;
8
+ }
9
+ export declare const Banner: React.FC<BannerProps>;
10
+ export {};
11
+ //# sourceMappingURL=banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../src/components/banner/banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoD/B,UAAU,WAAW;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAuBD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CASxC,CAAC"}
@@ -0,0 +1,76 @@
1
+ import { theme } from "../../design_system/theme.js";
2
+ import styled, { css } from "styled-components";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/banner/banner.tsx
5
+ var BANNER_GRADIENT_BACKGROUND_SVG = `<svg width="1200" height="148" viewBox="0 0 1200 148" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <g clip-path="url(#clip0_2285_34756)">
7
+ <g filter="url(#filter0_f_2285_34756)">
8
+ <path d="M-39.7702 191.085C-55.0622 193.205 -68.8864 201.311 -78.2029 213.621C-87.5194 225.932 -91.5654 241.438 -89.4512 256.731L-55.0077 502.652L89.8852 173L-39.7702 191.085Z" fill="url(#paint0_linear_2285_34756)"/>
9
+ </g>
10
+ <g filter="url(#filter1_f_2285_34756)">
11
+ <path d="M1267.53 398.062L1253.99 209.002C1252.85 193.626 1245.67 179.327 1234.01 169.234C1222.36 159.14 1207.18 154.073 1191.8 155.14C1190.5 155.19 1189.2 155.331 1187.92 155.564L1132 163.289L1254.84 438.685C1264.05 427.236 1268.59 412.721 1267.53 398.062Z" fill="url(#paint1_linear_2285_34756)"/>
12
+ </g>
13
+ <g filter="url(#filter2_f_2285_34756)">
14
+ <path d="M561 29.7691C570.917 30.4746 580.956 29.5571 590.142 27.1057L801.075 -28.7862L700.682 -170L561 29.7691Z" fill="url(#paint2_linear_2285_34756)"/>
15
+ </g>
16
+ </g>
17
+ <defs>
18
+ <filter id="filter0_f_2285_34756" x="-170" y="93" width="339.885" height="489.652" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
19
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
20
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
21
+ <feGaussianBlur stdDeviation="40" result="effect1_foregroundBlur_2285_34756"/>
22
+ </filter>
23
+ <filter id="filter1_f_2285_34756" x="1052" y="75" width="295.683" height="443.686" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
24
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
25
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
26
+ <feGaussianBlur stdDeviation="40" result="effect1_foregroundBlur_2285_34756"/>
27
+ </filter>
28
+ <filter id="filter2_f_2285_34756" x="481" y="-250" width="400.074" height="360" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
29
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
30
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
31
+ <feGaussianBlur stdDeviation="40" result="effect1_foregroundBlur_2285_34756"/>
32
+ </filter>
33
+ <linearGradient id="paint0_linear_2285_34756" x1="-0.0574112" y1="173" x2="-0.0574112" y2="502.652" gradientUnits="userSpaceOnUse">
34
+ <stop stop-color="#00FF85"/>
35
+ <stop offset="1" stop-color="#00FF47" stop-opacity="0"/>
36
+ </linearGradient>
37
+ <linearGradient id="paint1_linear_2285_34756" x1="1146.02" y1="174.549" x2="1333.1" y2="293.915" gradientUnits="userSpaceOnUse">
38
+ <stop stop-color="#00FFF0"/>
39
+ <stop offset="1" stop-color="#1672EB"/>
40
+ </linearGradient>
41
+ <linearGradient id="paint2_linear_2285_34756" x1="681.037" y1="-170" x2="681.037" y2="30" gradientUnits="userSpaceOnUse">
42
+ <stop stop-color="#F5B315"/>
43
+ <stop offset="1" stop-color="#FF2CC4"/>
44
+ </linearGradient>
45
+ <clipPath id="clip0_2285_34756">
46
+ <rect width="1200" height="1791.08" rx="16" fill="white"/>
47
+ </clipPath>
48
+ </defs>
49
+ </svg>
50
+ `;
51
+ var getBannerBackground = (background, useGradientBackground) => {
52
+ return css`
53
+ background-color: ${background || theme.color.neutral.backgroundSubtle};
54
+ ${useGradientBackground && `
55
+ background-image: url("data:image/svg+xml,${encodeURIComponent(BANNER_GRADIENT_BACKGROUND_SVG)}");
56
+ background-position: center;
57
+ background-repeat: no-repeat;
58
+ background-size: cover;
59
+ `}
60
+ `;
61
+ };
62
+ var StyledBanner = styled.div`
63
+ width: ${(props) => props.width || "100%"};
64
+ padding: ${theme.space.space40} ${theme.space.space80};
65
+ border-radius: ${theme.radius.radius16};
66
+
67
+ ${({ $background, $useGradientBackground }) => getBannerBackground($background, $useGradientBackground)};
68
+ `;
69
+ var Banner = ({ useGradientBackground = true, background, children, ...otherProps }) => /* @__PURE__ */ jsx(StyledBanner, {
70
+ $background: background,
71
+ $useGradientBackground: useGradientBackground,
72
+ ...otherProps,
73
+ children
74
+ });
75
+ //#endregion
76
+ export { Banner };
@@ -0,0 +1,2 @@
1
+ export * from './banner';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/banner/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,55 @@
1
+ import { FC, default as React } from 'react';
2
+ import { ValueOf } from '../../internal_type_utils';
3
+ import { RegularBoxProps } from '../box';
4
+ export declare const CHIP_SIZES: {
5
+ readonly EXTRA_SMALL: "XS";
6
+ readonly SMALL: "S";
7
+ readonly MEDIUM: "M";
8
+ readonly LARGE: "L";
9
+ };
10
+ type CHIP_SIZES = ValueOf<typeof CHIP_SIZES>;
11
+ export declare const CHIP_TYPES: {
12
+ readonly DEFAULT: "DEFAULT";
13
+ readonly PRIMARY: "PRIMARY";
14
+ readonly SUCCESS: "SUCCESS";
15
+ readonly WARNING: "WARNING";
16
+ readonly DANGER: "DANGER";
17
+ };
18
+ export type CHIP_TYPES = ValueOf<typeof CHIP_TYPES>;
19
+ export declare const classNames: {
20
+ BODY: string;
21
+ };
22
+ export type ChipProps = RegularBoxProps & {
23
+ type?: CHIP_TYPES;
24
+ size?: CHIP_SIZES;
25
+ icon?: React.ReactNode;
26
+ clickable?: boolean;
27
+ };
28
+ /**
29
+ * Component for displaying status and for labelling other components.
30
+ * @deprecated Use Tag or Badge
31
+ */
32
+ export declare const Chip: React.ForwardRefExoticComponent<{
33
+ children?: React.ReactNode;
34
+ className?: string;
35
+ style?: React.CSSProperties;
36
+ onClick?: (e: React.MouseEvent) => void;
37
+ id?: string;
38
+ title?: string;
39
+ role?: React.AriaRole;
40
+ } & {
41
+ as?: React.ElementType;
42
+ } & {
43
+ type?: CHIP_TYPES;
44
+ size?: CHIP_SIZES;
45
+ icon?: React.ReactNode;
46
+ clickable?: boolean;
47
+ } & React.RefAttributes<unknown>>;
48
+ type SpecificChipProps = Omit<ChipProps, 'type'>;
49
+ export declare const PrimaryChip: FC<SpecificChipProps>;
50
+ export declare const NeutralChip: FC<SpecificChipProps>;
51
+ export declare const SuccessChip: FC<SpecificChipProps>;
52
+ export declare const DangerChip: FC<SpecificChipProps>;
53
+ export declare const WarningChip: FC<SpecificChipProps>;
54
+ export {};
55
+ //# sourceMappingURL=chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../../src/components/chip/chip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAE9C,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AACX,KAAK,UAAU,GAAG,OAAO,CAAC,OAAO,UAAU,CAAC,CAAC;AAE7C,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,UAAU;;CAEtB,CAAC;AA8FF,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG;IACtC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;WAVN,UAAU;WACV,UAAU;WACV,KAAK,CAAC,SAAS;gBACV,OAAO;iCA6BtB,CAAC;AAIF,KAAK,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;AAEjD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAA4D,CAAC;AAC3G,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAA4D,CAAC;AAC3G,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAA4D,CAAC;AAC3G,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,iBAAiB,CAA2D,CAAC;AACzG,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,iBAAiB,CAA4D,CAAC"}
@@ -0,0 +1,144 @@
1
+ import { theme } from "../../design_system/theme.js";
2
+ import styled, { css } from "styled-components";
3
+ import { forwardRef } from "react";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ import clsx$1 from "clsx";
6
+ //#region src/components/chip/chip.tsx
7
+ var CHIP_SIZES = {
8
+ EXTRA_SMALL: "XS",
9
+ SMALL: "S",
10
+ MEDIUM: "M",
11
+ LARGE: "L"
12
+ };
13
+ var CHIP_TYPES = {
14
+ DEFAULT: "DEFAULT",
15
+ PRIMARY: "PRIMARY",
16
+ SUCCESS: "SUCCESS",
17
+ WARNING: "WARNING",
18
+ DANGER: "DANGER"
19
+ };
20
+ var classNames = { BODY: "Chip-body" };
21
+ var chipSizeStyle = {
22
+ [CHIP_SIZES.EXTRA_SMALL]: css`
23
+ font-size: 12px;
24
+ line-height: 16px;
25
+ padding: 0 4px;
26
+ border-radius: 6px;
27
+ `,
28
+ [CHIP_SIZES.SMALL]: css`
29
+ font-size: 12px;
30
+ line-height: 16px;
31
+ padding: 2px 4px;
32
+ border-radius: 6px;
33
+ `,
34
+ [CHIP_SIZES.MEDIUM]: css`
35
+ font-size: 14px;
36
+ line-height: 20px;
37
+ padding: 2px 8px;
38
+ border-radius: 100px;
39
+ `,
40
+ [CHIP_SIZES.LARGE]: css`
41
+ /* TODO: (typography-mismatch) 16px/20px does not match any canonical typography token — needs designer input. Blocks migrating chipSizeStyle to typography token interpolations (XS/S match bodyS, M matches bodyM). */
42
+ font-size: 16px;
43
+ line-height: 20px;
44
+ padding: 2px 8px;
45
+ border-radius: 100px;
46
+ `
47
+ };
48
+ var chipTypeStyle = {
49
+ [CHIP_TYPES.DEFAULT]: css`
50
+ color: ${theme.color.neutral.text};
51
+ background: ${theme.color.neutral.chipBackground};
52
+ `,
53
+ [CHIP_TYPES.PRIMARY]: css`
54
+ color: ${theme.color.primary.chipText};
55
+ background: ${theme.color.primary.chipBackground};
56
+ `,
57
+ [CHIP_TYPES.SUCCESS]: css`
58
+ color: ${theme.color.success.chipText};
59
+ background: ${theme.color.success.chipBackground};
60
+ `,
61
+ [CHIP_TYPES.WARNING]: css`
62
+ color: ${theme.color.warning.chipText};
63
+ background: ${theme.color.warning.chipBackground};
64
+ `,
65
+ [CHIP_TYPES.DANGER]: css`
66
+ color: ${theme.color.danger.chipText};
67
+ background: ${theme.color.danger.chipBackground};
68
+ `
69
+ };
70
+ var chipTypeHoverStyle = {
71
+ [CHIP_TYPES.DEFAULT]: css`
72
+ background: ${theme.color.neutral.chipBackgroundHover};
73
+ `,
74
+ [CHIP_TYPES.PRIMARY]: css`
75
+ background: ${theme.color.primary.chipBackgroundHover};
76
+ `,
77
+ [CHIP_TYPES.SUCCESS]: css`
78
+ background: ${theme.color.success.chipBackgroundHover};
79
+ `,
80
+ [CHIP_TYPES.WARNING]: css`
81
+ background: ${theme.color.warning.chipBackgroundHover};
82
+ `,
83
+ [CHIP_TYPES.DANGER]: css`
84
+ background: ${theme.color.danger.chipBackgroundHover};
85
+ `
86
+ };
87
+ var StyledChip = styled.span`
88
+ ${({ size }) => chipSizeStyle[size]};
89
+ ${({ type }) => chipTypeStyle[type]};
90
+ ${({ type, clickable }) => clickable && css`
91
+ &:hover {
92
+ ${chipTypeHoverStyle[type]};
93
+ }
94
+ `};
95
+ /* Static styles */
96
+ width: fit-content;
97
+ display: flex;
98
+ flex-direction: row;
99
+ justify-content: center;
100
+ align-items: center;
101
+ /* TODO: (typography-keyword) 'normal' keyword used instead of numeric value (400) or typography token. */
102
+ font-weight: normal;
103
+ white-space: nowrap;
104
+ cursor: ${({ clickable }) => clickable ? "pointer" : "default"};
105
+ gap: ${theme.space.space4};
106
+ `;
107
+ /**
108
+ * Component for displaying status and for labelling other components.
109
+ * @deprecated Use Tag or Badge
110
+ */
111
+ var Chip = forwardRef(({ type = CHIP_TYPES.DEFAULT, size = CHIP_SIZES.MEDIUM, clickable = false, icon, children, className, ...passThroughProps }, ref) => {
112
+ return /* @__PURE__ */ jsxs(StyledChip, {
113
+ ref,
114
+ ...passThroughProps,
115
+ type,
116
+ size,
117
+ clickable,
118
+ className: clsx$1(className, classNames.BODY),
119
+ children: [children, icon]
120
+ });
121
+ });
122
+ Chip.displayName = "Chip";
123
+ var PrimaryChip = (props) => /* @__PURE__ */ jsx(Chip, {
124
+ type: CHIP_TYPES.PRIMARY,
125
+ ...props
126
+ });
127
+ var NeutralChip = (props) => /* @__PURE__ */ jsx(Chip, {
128
+ type: CHIP_TYPES.DEFAULT,
129
+ ...props
130
+ });
131
+ var SuccessChip = (props) => /* @__PURE__ */ jsx(Chip, {
132
+ type: CHIP_TYPES.SUCCESS,
133
+ ...props
134
+ });
135
+ var DangerChip = (props) => /* @__PURE__ */ jsx(Chip, {
136
+ type: CHIP_TYPES.DANGER,
137
+ ...props
138
+ });
139
+ var WarningChip = (props) => /* @__PURE__ */ jsx(Chip, {
140
+ type: CHIP_TYPES.WARNING,
141
+ ...props
142
+ });
143
+ //#endregion
144
+ export { CHIP_SIZES, CHIP_TYPES, Chip, DangerChip, NeutralChip, PrimaryChip, SuccessChip, WarningChip, classNames };
@@ -0,0 +1,2 @@
1
+ export * from './chip';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chip/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -18,6 +18,8 @@ export type CodeBlockProps = RegularBoxProps & {
18
18
  className?: string;
19
19
  hideBashHeader?: boolean;
20
20
  onTabChange?: (key: string, e: React.MouseEvent) => Promise<void> | void;
21
+ showGradient?: boolean;
22
+ gradientRotation?: number;
21
23
  highlightLines?: number[];
22
24
  showActionButton?: boolean;
23
25
  actionButtonLabel?: string;
@@ -31,6 +33,6 @@ export type CodeBlockProps = RegularBoxProps & {
31
33
  hideBashPromptPrefixes?: boolean;
32
34
  hideLineNumbers?: boolean | undefined;
33
35
  };
34
- export declare const CodeBlock: ({ content, size, language, highlightLines, onTabChange, defaultTabKey, hideBashHeader, showActionButton, fullWidth, actionButtonLabel, hideLineNumbers, fullHeight, title, hideCopyButton, bashCommandsStart, hideBashPromptPrefixes, onActionButtonClick, ...rest }: CodeBlockProps) => import("react/jsx-runtime").JSX.Element;
36
+ export declare const CodeBlock: ({ content, size, language, highlightLines, onTabChange, defaultTabKey, showGradient, hideBashHeader, showActionButton, fullWidth, actionButtonLabel, gradientRotation, hideLineNumbers, fullHeight, title, hideCopyButton, bashCommandsStart, hideBashPromptPrefixes, onActionButtonClick, ...rest }: CodeBlockProps) => import("react/jsx-runtime").JSX.Element;
35
37
  export {};
36
38
  //# sourceMappingURL=code_block.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"code_block.d.ts","sourceRoot":"","sources":["../../../../src/components/code/code_block/code_block.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAGjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAO7D,KAAK,OAAO,GAAG;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AA0EF,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG;IAC3C,OAAO,EAAE,MAAM,GAAG,OAAO,EAAE,CAAC;IAC5B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACzE,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,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AW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACzE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,sSAqBvB,cAAc,4CAqFhB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { TextShared } from "../../text/text_shared.js";
2
2
  import { Link } from "../../link/link.js";
3
+ import { ColorWheelGradient } from "../../color_wheel_gradient/color_wheel_gradient.js";
3
4
  import { ActionButton, CopyButton } from "../action_button.js";
4
5
  import { PrismSyntaxHighlighter } from "../prism_highlighter.js";
5
6
  import { CodeBlockWrapper } from "./code_block.styled.js";
@@ -71,7 +72,7 @@ var Header = ({ tabs, currentTab, showBashHeader, onTabChange, title }) => {
71
72
  ]
72
73
  });
73
74
  };
74
- var CodeBlock = ({ content, size, language, highlightLines, onTabChange, defaultTabKey, hideBashHeader, showActionButton, fullWidth, actionButtonLabel, hideLineNumbers, fullHeight, title, hideCopyButton, bashCommandsStart, hideBashPromptPrefixes, onActionButtonClick, ...rest }) => {
75
+ var CodeBlock = ({ content, size, language, highlightLines, onTabChange, defaultTabKey, showGradient, hideBashHeader, showActionButton, fullWidth, actionButtonLabel, gradientRotation = 340, hideLineNumbers, fullHeight, title, hideCopyButton, bashCommandsStart, hideBashPromptPrefixes, onActionButtonClick, ...rest }) => {
75
76
  const isMultiTab = content instanceof Array;
76
77
  const [currentTab, setCurrentTab] = useState(isMultiTab ? content.find((tab) => tab.key === defaultTabKey) ?? content[0] : null);
77
78
  const currentCode = (isMultiTab ? currentTab?.code : content)?.trim() ?? "";
@@ -105,6 +106,7 @@ var CodeBlock = ({ content, size, language, highlightLines, onTabChange, default
105
106
  ]);
106
107
  return /* @__PURE__ */ jsxs(CodeBlockWrapper, {
107
108
  $hasHeader: showHeader,
109
+ $gradientRotation: gradientRotation,
108
110
  $hasActionButton: showActionButton,
109
111
  $hasTabs: isMultiTab,
110
112
  $fullWidth: fullWidth,
@@ -135,6 +137,10 @@ var CodeBlock = ({ content, size, language, highlightLines, onTabChange, default
135
137
  onClick: onActionButtonClick,
136
138
  children: actionButtonLabel ?? "Run on Apify"
137
139
  }), !hideCopyButton && /* @__PURE__ */ jsx(CopyButton, { code: currentCode })]
140
+ }),
141
+ showGradient && /* @__PURE__ */ jsx(ColorWheelGradient, {
142
+ className: "CodeBlock-Gradient",
143
+ blurSize: 69
138
144
  })
139
145
  ]
140
146
  });
@@ -7,6 +7,7 @@ export type SyntaxHighlighterBaseStylesWrapperProps = SharedTextProps & {
7
7
  export declare const SyntaxHighlighterBaseStylesWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<(import('../..').BoxProps & import('react').RefAttributes<HTMLElement>) & import('styled-components/dist/types').BaseObject, SyntaxHighlighterBaseStylesWrapperProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('../..').BoxProps & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
8
8
  export declare const CodeBlockWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<(import('../..').BoxProps & import('react').RefAttributes<HTMLElement>) & import('styled-components/dist/types').BaseObject, SyntaxHighlighterBaseStylesWrapperProps> & import('styled-components/dist/types').BaseObject, {
9
9
  $hasHeader: boolean;
10
+ $gradientRotation?: number;
10
11
  $highlightLines?: number[];
11
12
  $hasActionButton?: boolean;
12
13
  $hasTabs?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"code_block.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/code/code_block/code_block.styled.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE9E,MAAM,MAAM,uCAAuC,GAAG,eAAe,GAAG;IACpE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,kCAAkC,8cAoB9C,CAAC;AAEF,eAAO,MAAM,gBAAgB;gBACb,OAAO;sBACD,MAAM,EAAE;uBACP,OAAO;eACf,OAAO;iBACL,OAAO;uBACD,OAAO;kBACZ,OAAO;WACd,cAAc;YAqIxB,CAAC"}
1
+ {"version":3,"file":"code_block.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/code/code_block/code_block.styled.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE9E,MAAM,MAAM,uCAAuC,GAAG,eAAe,GAAG;IACpE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,kCAAkC,8cAoB9C,CAAC;AAEF,eAAO,MAAM,gBAAgB;gBACb,OAAO;wBACC,MAAM;sBACR,MAAM,EAAE;uBACP,OAAO;eACf,OAAO;iBACL,OAAO;uBACD,OAAO;kBACZ,OAAO;WACd,cAAc;YA+IxB,CAAC"}
@@ -130,6 +130,16 @@ var CodeBlockWrapper = styled(SyntaxHighlighterBaseStylesWrapper)`
130
130
  `}
131
131
  }
132
132
 
133
+ .CodeBlock-Gradient {
134
+ right: 0px;
135
+ bottom: 0px;
136
+
137
+ aspect-ratio: 1/1;
138
+ height: 250%;
139
+
140
+ transform: translate(50%, 70%) rotate(${({ $gradientRotation }) => $gradientRotation ?? 0}deg) scaleX(-1);
141
+ }
142
+
133
143
  .CodeBlock-HederDotsWrapper {
134
144
  display: flex;
135
145
  padding: ${theme.space.space8};
@@ -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,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,eAAO,MAAM,gBAAgB,6CAM5B,CAAC;AAwBF,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAOhD,CAAC"}
1
+ {"version":3,"file":"inline_code.d.ts","sourceRoot":"","sources":["../../../../src/components/code/inline_code/inline_code.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,eAAO,MAAM,gBAAgB,6CAM5B,CAAC;AAwBF,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAOhD,CAAC"}
@@ -0,0 +1,9 @@
1
+ export interface ColorWheelGradientProps {
2
+ translateX?: number;
3
+ translateY?: number;
4
+ rotation?: number;
5
+ radius?: number;
6
+ blurSize?: number;
7
+ }
8
+ export declare const ColorWheelGradient: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ColorWheelGradientProps>> & string;
9
+ //# sourceMappingURL=color_wheel_gradient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color_wheel_gradient.d.ts","sourceRoot":"","sources":["../../../src/components/color_wheel_gradient/color_wheel_gradient.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,uBAAuB;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,4PAsB9B,CAAC"}
@@ -0,0 +1,27 @@
1
+ import styled from "styled-components";
2
+ //#region src/components/color_wheel_gradient/color_wheel_gradient.tsx
3
+ var ColorWheelGradient = styled.div`
4
+ ${({ radius, rotation = 0, blurSize = 40, translateX = 0, translateY = 0 }) => `
5
+ z-index: 1;
6
+ position: absolute;
7
+ width: ${radius ? `${radius}px` : "auto"};
8
+ height: ${radius ? `${radius}px` : "auto"};
9
+ transform-origin: center;
10
+ transform: translate(${translateX}px, ${translateY}px) rotate(${rotation}deg);
11
+
12
+ opacity: 0.30;
13
+ background: conic-gradient(
14
+ rgba(93, 133, 225, 0.99) 0deg,
15
+ rgba(106, 20, 222, 0.99) 69deg,
16
+ rgba(228, 68, 103, 0.99) 150deg,
17
+ rgba(250, 129, 54, 0.99) 221deg,
18
+ rgba(240, 178, 27, 0.99) 287deg,
19
+ rgba(18, 150, 111, 0.99) 360deg
20
+ );
21
+
22
+ border-radius: 50%;
23
+ filter: blur(${blurSize}px)
24
+ `}
25
+ `;
26
+ //#endregion
27
+ export { ColorWheelGradient };
@@ -0,0 +1,2 @@
1
+ export * from './color_wheel_gradient';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/color_wheel_gradient/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -10,6 +10,7 @@ export * from './link';
10
10
  export * from './action_link';
11
11
  export * from './simple_markdown';
12
12
  export * from './code';
13
+ export * from './color_wheel_gradient';
13
14
  export * from './readme_renderer';
14
15
  export * from './card';
15
16
  export * from './markdown';
@@ -17,7 +18,9 @@ export * from './pagination';
17
18
  export * from './tab_number_chip';
18
19
  export * from './tile';
19
20
  export * from './blog_article';
21
+ export * from './banner';
20
22
  export * from './actor_template_card';
23
+ export * from './chip';
21
24
  export * from './image';
22
25
  export * from './rating';
23
26
  export * from './badge';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,c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ACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"simple_markdown.d.ts","sourceRoot":"","sources":["../../../src/components/simple_markdown/simple_markdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,IAAI,oBAAoB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEhG,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,SAAS,MAAM,YAAY,CAAC;AAcnC,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC;AAElD,eAAO,MAAM,sBAAsB,UAgClC,CAAC;AAuEF,eAAO,MAAM,oBAAoB,sBAAc,CAAC;AAChD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,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,oBAAoB,EAAE,cAAc,GAAG,UAAU,CAAC,GAAG;IACxF;;OAEG;IACH,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC;;OAEG;IACH,iBAAiB,CAAC,EAAE,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,sBAAsB,cAIrB,MAAM,WAUnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAwDxD,CAAC"}
@@ -2,12 +2,12 @@ import { theme } from "../../design_system/theme.js";
2
2
  import { Box } from "../box/box.js";
3
3
  import { HeadingShared } from "../text/heading_shared.js";
4
4
  import { TextShared } from "../text/text_shared.js";
5
+ import { TextContent } from "../text/text_content.js";
5
6
  import { HeadingContent } from "../text/heading_content.js";
6
7
  import { useSharedUiDependencies } from "../../ui_dependency_provider.js";
7
8
  import { isUrlExternal } from "../link/link.js";
8
9
  import { Image } from "../image/image.js";
9
10
  import { cleanMarkdown } from "../readme_renderer/utils.js";
10
- import { TextContent } from "../text/text_content.js";
11
11
  import { MarkdownBlockQuote, MarkdownCode, MarkdownLink, MarkdownTable } from "./simple_markdown_components.js";
12
12
  import styled from "styled-components";
13
13
  import { useCallback, useMemo, useRef } from "react";
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  import { ExtraProps as MarkdownComponentExtraProps } from 'react-markdown';
3
3
  import { WithOptional } from '../../type_utils';
4
4
  import { LinkProps } from '../link';
5
- import { HeadingSharedProps, SharedTextSize } from '../text';
5
+ import { HeadingSharedProps, ContentTextProps, SharedTextSize } from '../text';
6
6
  export declare const MarkdownPlainHeading: React.FC<HeadingSharedProps>;
7
7
  /**
8
8
  * Default markdown heading that renders copy icon next to it.
@@ -18,9 +18,6 @@ export declare const MarkdownCode: React.FC<MarkdownCodeProps>;
18
18
  export declare const MarkdownLink: React.FC<WithOptional<LinkProps, 'to'>>;
19
19
  export declare const MarkdownBlockQuote: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<import('styled-components/dist/types').Substitute<(import('..').BoxProps & React.RefAttributes<HTMLElement>) & import('styled-components/dist/types').BaseObject, import('..').BoxProps & React.RefAttributes<HTMLElement>>, import('styled-components/dist/types').BaseObject>, import('styled-components/dist/types').BaseObject>> & string & Omit<React.ForwardRefExoticComponent<import('..').BoxProps & React.RefAttributes<HTMLElement>>, keyof React.Component<any, {}, any>>;
20
20
  export declare const MarkdownTable: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, never>> & string;
21
- type MarkdownParagraphContentProps = {
22
- children?: React.ReactNode;
23
- } & MarkdownComponentExtraProps;
24
- export declare function MarkdownParagraphContent({ children, node }: MarkdownParagraphContentProps): React.ReactNode;
21
+ export declare function MarkdownParagraphContent({ children, node, ...textProps }: ContentTextProps & MarkdownComponentExtraProps): React.ReactNode;
25
22
  export {};
26
23
  //# sourceMappingURL=simple_markdown_components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"simple_markdown_components.d.ts","sourceRoot":"","sources":["../../../src/components/simple_markdown/simple_markdown_components.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,IAAI,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAMhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,OAAO,EAAW,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAOhF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAQ7D,CAAC;AAuBF;;;GAGG;AAEH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuB/D,CAAC;AAoBF,KAAK,iBAAiB,GAAG;IACrB,IAAI,EAAE,cAAc,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,GAAG,2BAA2B,CAAC;AAEhC,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmCpD,CAAC;AA4EF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAchE,CAAC;AAEF,eAAO,MAAM,kBAAkB,6nBAa9B,CAAC;AAEF,eAAO,MAAM,aAAa,kNAmBzB,CAAC;AAwBF,KAAK,6BAA6B,GAAG;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,GAAG,2BAA2B,CAAC;AAEhC,wBAAgB,wBAAwB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,6BAA6B,GAAG,KAAK,CAAC,SAAS,CAQ3G"}
1
+ {"version":3,"file":"simple_markdown_components.d.ts","sourceRoot":"","sources":["../../../src/components/simple_markdown/simple_markdown_components.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,IAAI,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAMhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAO9C,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAQ7D,CAAC;AAuBF;;;GAGG;AAEH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuB/D,CAAC;AAoBF,KAAK,iBAAiB,GAAG;IACrB,IAAI,EAAE,cAAc,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,GAAG,2BAA2B,CAAC;AAEhC,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmCpD,CAAC;AA4EF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAchE,CAAC;AAEF,eAAO,MAAM,kBAAkB,6nBAa9B,CAAC;AAEF,eAAO,MAAM,aAAa,kNAmBzB,CAAC;AAwBF,wBAAgB,wBAAwB,CAAC,EACrC,QAAQ,EACR,IAAI,EACJ,GAAG,SAAS,EACf,EAAE,gBAAgB,GAAG,2BAA2B,GAAG,KAAK,CAAC,SAAS,CAYlE"}
@@ -1,13 +1,13 @@
1
1
  import { theme } from "../../design_system/theme.js";
2
2
  import { Box } from "../box/box.js";
3
3
  import { HeadingShared } from "../text/heading_shared.js";
4
+ import { TextContent } from "../text/text_content.js";
4
5
  import { Link } from "../link/link.js";
5
6
  import { slugifyHeadingChildren } from "../readme_renderer/utils.js";
6
7
  import { useCopyToClipboard } from "../../utils/copy_to_clipboard.js";
7
8
  import { CodeBlock } from "../code/code_block/code_block.js";
8
9
  import { OneLineCode } from "../code/one_line_code/one_line_code.js";
9
10
  import { InlineCode } from "../code/inline_code/inline_code.js";
10
- import { TextContent } from "../text/text_content.js";
11
11
  import styled from "styled-components";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  import { CheckIcon, LinkIcon } from "@apify/ui-icons";
@@ -229,12 +229,13 @@ var getMarkdownVideoSrc = (child) => {
229
229
  if (linkHref && typeof linkHref === "string") return getVideoSrc(linkHref);
230
230
  }
231
231
  };
232
- function MarkdownParagraphContent({ children, node }) {
232
+ function MarkdownParagraphContent({ children, node, ...textProps }) {
233
233
  const child = node?.children[0];
234
234
  const videoSrc = getMarkdownVideoSrc(child);
235
235
  if (videoSrc) return /* @__PURE__ */ jsx(MarkdownVideo, { src: videoSrc });
236
236
  return /* @__PURE__ */ jsx(TextContent, {
237
237
  my: "space16",
238
+ ...textProps,
238
239
  children
239
240
  });
240
241
  }
@@ -4,7 +4,7 @@ import { MarginSpacingProps, RegularBoxProps } from '../box';
4
4
  import { RegularButtonProps } from '../button';
5
5
  import { RegularLinkProps } from '../link';
6
6
  import { SharedTextSize, SharedTextType } from '../text';
7
- export type TagSize = SharedTextSize;
7
+ type TagSize = SharedTextSize;
8
8
  export declare const TAG_SIZES: TagSize[];
9
9
  export declare const TAG_VARIANTS: readonly ["primary", "secondary", "subtle", "accent", "success", "warning", "error"];
10
10
  export type TagVariant = (typeof TAG_VARIANTS)[number];
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/components/tag/tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,YAAY,EAAc,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,aAAa,EAAY,MAAM,iBAAiB,CAAC;AAK/D,OAAO,EAAO,KAAK,kBAAkB,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAQ,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,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-1,6 +1,7 @@
1
1
  import { HeadingShared } from './heading_shared';
2
2
  import { SharedTextProps, SHARED_TEXT_TYPES, TextShared } from './text_shared';
3
3
  export * from './text_base';
4
+ export * from './text_content';
4
5
  export * from './text_marketing';
5
6
  export * from './heading_content';
6
7
  export * from './heading_marketing';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE9D,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EACH,UAAU,IAAI,IAAI,EAAE,mCAAmC;AACvD,aAAa,IAAI,OAAO,EAAE,mCAAmC;AAC7D,iBAAiB,EACjB,UAAU,GACb,CAAC;AAEF,YAAY,EAAE,eAAe,EAAE,CAAC;AAChC,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpE,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE9D,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EACH,UAAU,IAAI,IAAI,EAAE,mCAAmC;AACvD,aAAa,IAAI,OAAO,EAAE,mCAAmC;AAC7D,iBAAiB,EACjB,UAAU,GACb,CAAC;AAEF,YAAY,EAAE,eAAe,EAAE,CAAC;AAChC,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpE,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}