@apify/ui-library 1.170.2-uilibraryversion2candida-85b55e.17 → 1.171.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/README.md +1 -1
- package/dist/components/banner/banner.d.ts +11 -0
- package/dist/components/banner/banner.d.ts.map +1 -0
- package/dist/components/banner/banner.js +76 -0
- package/dist/components/banner/index.d.ts +2 -0
- package/dist/components/banner/index.d.ts.map +1 -0
- package/dist/components/chip/chip.d.ts +55 -0
- package/dist/components/chip/chip.d.ts.map +1 -0
- package/dist/components/chip/chip.js +144 -0
- package/dist/components/chip/index.d.ts +2 -0
- package/dist/components/chip/index.d.ts.map +1 -0
- package/dist/components/code/code_block/code_block.d.ts +3 -1
- package/dist/components/code/code_block/code_block.d.ts.map +1 -1
- package/dist/components/code/code_block/code_block.js +7 -1
- package/dist/components/code/code_block/code_block.styled.d.ts +1 -0
- package/dist/components/code/code_block/code_block.styled.d.ts.map +1 -1
- package/dist/components/code/code_block/code_block.styled.js +10 -0
- package/dist/components/code/inline_code/inline_code.d.ts.map +1 -1
- package/dist/components/color_wheel_gradient/color_wheel_gradient.d.ts +9 -0
- package/dist/components/color_wheel_gradient/color_wheel_gradient.d.ts.map +1 -0
- package/dist/components/color_wheel_gradient/color_wheel_gradient.js +27 -0
- package/dist/components/color_wheel_gradient/index.d.ts +2 -0
- package/dist/components/color_wheel_gradient/index.d.ts.map +1 -0
- package/dist/components/icon_button/icon_button.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/tag/tag.d.ts +1 -1
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/files_hash_at_build.txt +1 -1
- package/dist/index.js +4 -1
- package/dist/src/components/banner/banner.d.ts +11 -0
- package/dist/src/components/banner/banner.d.ts.map +1 -0
- package/dist/src/components/banner/banner.js +70 -0
- package/dist/src/components/banner/banner.js.map +1 -0
- package/dist/src/components/banner/index.d.ts +2 -0
- package/dist/src/components/banner/index.d.ts.map +1 -0
- package/dist/src/components/banner/index.js +2 -0
- package/dist/src/components/banner/index.js.map +1 -0
- package/dist/src/components/chip/chip.d.ts +56 -0
- package/dist/src/components/chip/chip.d.ts.map +1 -0
- package/dist/src/components/chip/chip.js +123 -0
- package/dist/src/components/chip/chip.js.map +1 -0
- package/dist/src/components/chip/index.d.ts +2 -0
- package/dist/src/components/chip/index.d.ts.map +1 -0
- package/dist/src/components/chip/index.js +2 -0
- package/dist/src/components/chip/index.js.map +1 -0
- package/dist/src/components/code/code_block/code_block.d.ts +3 -1
- package/dist/src/components/code/code_block/code_block.d.ts.map +1 -1
- package/dist/src/components/code/code_block/code_block.js +3 -2
- package/dist/src/components/code/code_block/code_block.js.map +1 -1
- package/dist/src/components/code/code_block/code_block.styled.d.ts +1 -0
- 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.js +10 -0
- package/dist/src/components/code/code_block/code_block.styled.js.map +1 -1
- package/dist/src/components/code/inline_code/inline_code.d.ts.map +1 -1
- package/dist/src/components/code/inline_code/inline_code.js +1 -0
- package/dist/src/components/code/inline_code/inline_code.js.map +1 -1
- package/dist/src/components/color_wheel_gradient/color_wheel_gradient.d.ts +9 -0
- package/dist/src/components/color_wheel_gradient/color_wheel_gradient.d.ts.map +1 -0
- package/dist/src/components/color_wheel_gradient/color_wheel_gradient.js +25 -0
- package/dist/src/components/color_wheel_gradient/color_wheel_gradient.js.map +1 -0
- package/dist/src/components/color_wheel_gradient/index.d.ts +2 -0
- package/dist/src/components/color_wheel_gradient/index.d.ts.map +1 -0
- package/dist/src/components/color_wheel_gradient/index.js +2 -0
- package/dist/src/components/color_wheel_gradient/index.js.map +1 -0
- package/dist/src/components/icon_button/icon_button.js +1 -1
- package/dist/src/components/index.d.ts +3 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +3 -0
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +1 -1
- package/dist/src/components/tag/tag.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/banner/banner.stories.tsx +238 -0
- package/src/components/banner/banner.tsx +91 -0
- package/src/components/banner/index.ts +1 -0
- package/src/components/chip/chip.stories.tsx +311 -0
- package/src/components/chip/chip.tsx +167 -0
- package/src/components/chip/index.ts +1 -0
- package/src/components/code/code_block/code_block.stories.jsx +13 -6
- package/src/components/code/code_block/code_block.styled.tsx +11 -0
- package/src/components/code/code_block/code_block.tsx +8 -0
- package/src/components/code/inline_code/inline_code.tsx +1 -0
- package/src/components/color_wheel_gradient/color_wheel_gradient.stories.tsx +152 -0
- package/src/components/color_wheel_gradient/color_wheel_gradient.tsx +33 -0
- package/src/components/color_wheel_gradient/index.ts +1 -0
- package/src/components/icon_button/icon_button.tsx +1 -1
- package/src/components/index.ts +3 -0
- package/src/components/tag/tag.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 @@
|
|
|
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 @@
|
|
|
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;
|
|
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;AAIjD,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,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;
|
|
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;
|
|
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 @@
|
|
|
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,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,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,uBAAuB,CAAC;AACtC,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
|
+
{"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,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,wBAAwB,CAAC;AACvC,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"}
|
|
@@ -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
|
-
|
|
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,CAAC;AAEnE,
|
|
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,CAAC;AAEnE,KAAK,OAAO,GAAG,cAAc,CAAC;AAC9B,eAAO,MAAM,SAAS,EAAE,OAAO,EAAgC,CAAC;AAQhE,eAAO,MAAM,YAAY,sFAAuF,CAAC;AACjH,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,KAAK,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,GAAG,GAAG,QAAQ,CAAC,CAAC;AAC9D,KAAK,eAAe,GAAG;IACnB,CAAC,EAAE;QACC,OAAO,EAAE,iBAAiB,CAAC;QAC3B,KAAK,EAAE,gBAAgB,CAAC;KAC3B,CAAC;IACF,MAAM,EAAE;QACJ,OAAO,EAAE,iBAAiB,CAAC;QAC3B,KAAK,EAAE,kBAAkB,CAAC;KAC7B,CAAC;CACL,CAAC;AAEF,KAAK,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,GAAG,kBAAkB,CAAC;AACvE,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,WAAW,IAAI,cAAc,GACxD,CAAC;IACG,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;AAmH5D;;GAEG;AACH,iBAAS,UAAU,CAAC,CAAC,SAAS,WAAW,EACrC,EACI,EAAE,EACF,IAAc,EACd,IAAa,EACb,OAAmB,EACnB,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,GAAG,KAAK,EACX,EAAE,QAAQ,CAAC,CAAC,CAAC,EACd,GAAG,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,2CAkBnD;kBA7BQ,UAAU;;;AAiCnB,eAAO,MAAM,GAAG,EAA6B,CAAC,CAAC,SAAS,WAAW,EAC/D,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAA;CAAE,KACzE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
81276504a8dbde2d8c6073c1bc0bc4707f87e7d3
|
package/dist/index.js
CHANGED
|
@@ -51,6 +51,7 @@ import { ActionBox, ActionLink, BackLink } from "./components/action_link/action
|
|
|
51
51
|
import { Image } from "./components/image/image.js";
|
|
52
52
|
import { cleanMarkdown, slugifyHeadingChildren, useActorTitleHeadingFilter } from "./components/readme_renderer/utils.js";
|
|
53
53
|
import { pythonizeValue } from "./components/readme_renderer/pythonize_value.js";
|
|
54
|
+
import { ColorWheelGradient } from "./components/color_wheel_gradient/color_wheel_gradient.js";
|
|
54
55
|
import { useCopyToClipboard } from "./utils/copy_to_clipboard.js";
|
|
55
56
|
import { sanitizeUrl } from "./utils/sanitization.js";
|
|
56
57
|
import { useResizeObserverSsr } from "./utils/resize_observer.js";
|
|
@@ -71,7 +72,9 @@ import { TabNumberChip } from "./components/tab_number_chip/tab_number_chip.js";
|
|
|
71
72
|
import { HorizontalTile } from "./components/tile/horizontal_tile.js";
|
|
72
73
|
import { VerticalTile } from "./components/tile/vertical_tile.js";
|
|
73
74
|
import { BlogArticle } from "./components/blog_article/blog_article.js";
|
|
75
|
+
import { Banner } from "./components/banner/banner.js";
|
|
74
76
|
import { ActorTemplateCard } from "./components/actor_template_card/actor_template_card.js";
|
|
77
|
+
import { CHIP_SIZES, CHIP_TYPES, Chip, DangerChip, NeutralChip, PrimaryChip, SuccessChip, WarningChip, classNames as classNames$1 } from "./components/chip/chip.js";
|
|
75
78
|
import { Rating, RatingStats, SingleStarRating } from "./components/rating/rating.js";
|
|
76
79
|
import { developerBadgeTestIds } from "./components/developer_badge/developer_badge.test_ids.js";
|
|
77
80
|
import { DEVELOPER_BADGE, DeveloperBadge } from "./components/developer_badge/developer_badge.js";
|
|
@@ -107,4 +110,4 @@ import { TableEmptyRow } from "./components/table/table_empty_row.js";
|
|
|
107
110
|
import { TableLoadingRow } from "./components/table/table_loading_row.js";
|
|
108
111
|
import { TableErrorRow } from "./components/table/table_error_row.js";
|
|
109
112
|
import { Breadcrumbs, breadcrumbClassNames } from "./components/breadcrumb/breadcrumb.js";
|
|
110
|
-
export { APIFY_HOSTNAMES, ActionBox, ActionLink, ActorAvatar, ActorAvatarInner, ActorTemplateCard, AnthropicBrandIcon, BADGE_SIZES, BADGE_VARIANTS, BUTTON_COLOR_VARIANTS_CSS, BUTTON_SIZE_VARIANTS_CSS, BackLink, Badge, BlockSpinner, BlogArticle, BorderedActorAvatar, Box, Breadcrumbs, BrowserWindow, Button, CODE_BLOCK_TAB_CATALOG, CODE_BLOCK_WITH_TABS_CLASSNAMES, Card, CardContainer, ChatGptBrandIcon, CheckboxPrimitive, ClaudeBrandIcon, CodeBlock, CodeBlockWithTabs, CodeHighlighterLineBashPrefix, CodeHighlighterLinePrefix, CollapsibleCard, CursorBrandIcon, DEVELOPER_BADGE, DROPDOWN_ELEMENT_CLASSES, DangerMessage, DeveloperBadge, DiscordBrandIcon, DiscordSolidBrandIcon, Dropdown, DropdownButton, DropdownMenuBaseComponent, DropdownMenuBaseComponentWithCount, DropdownShell, FLOATING_PLACEMENT, GithubBrandIcon, HeadingShared as Heading, HeadingContent, HeadingMarketing, HorizontalTile, HorizontallyScrollableTableWrapper, ICON_BUTTON_VARIANTS, IconButton, Image, IndeterminateCheckbox, InfoMessage, InlineCode, InlineSpinner, Link, LinkedinBrandIcon, LinkedinSolidBrandIcon, ListMenuComponent, ListMenuItemComponent, MakeBrandIcon, MemoizedMarkdown as Markdown, MarkdownBlockQuote, MarkdownCode, MarkdownHeadingWrapper, MarkdownLink, MarkdownParagraphContent, MarkdownPlainHeading, MarkdownTable, Menu, Message, N8nBrandIcon, OneLineCode, PaginationButtons, PerplexityBrandIcon, PlainMenuBaseComponent, PrismSyntaxHighlighter, RadioButtonPrimitive, Rating, RatingStats, SHARED_TEXT_TYPES, SelectMultiValueRemove, SelectPrimitive, Shortcut, SimpleMarkdown, SingleStarRating, Skeleton, SkeletonFadeIn, SkeletonGroup, Spinner, SplitButton, StoreActorHeader, StyledAsLink, StyledCardWrapper, SuccessMessage, SwitchPrimitive, TAB_CLASSNAMES, TAG_SIZES, TAG_VARIANTS, TOOLTIP_SIZES, TOOLTIP_TEXT_ALIGNS, Tab, TabNumberChip, Table, TableBody, TableCell, TableCellLink, TableEmptyRow, TableErrorRow, TableExpansionRow, TableFoot, TableHead, TableHeadCell, TableHeadRow, TableLoadingRow, TableOfContents, TableRow, Tabs, Tag, TextShared as Text, TextShared, TextBaseComponent, TextContent, TextMarketing, Tooltip, TwitterBrandIcon, UiDependencyProvider, UserAvatar, VerticalTile, WarningMessage, YoutubeBrandIcon, ZapierBrandIcon, actorAvatarClassnames, breadcrumbClassNames, classNames as browserWindowClassNames, cardClassNames, cardContainerClassNames, clampLines, cleanMarkdown, collapsibleCardClassNames, colorProperties, cssColorsVariablesBrandDark, tokens as cssColorsVariablesDark, tokens$1 as cssColorsVariablesLight, tokens$2 as cssColorsVariablesPaletteDark, tokens$3 as cssColorsVariablesPaletteLight, darkTheme, defaultAllowedElements, defaultRehypePlugins, defaultRemarkPlugins, developerBadgeTestIds, devices, getActorAvatarBorderRadius, getButtonColorStyles, getButtonDisabledStyles, getButtonSizeStyles, getResponsiveStyles, getResponsiveValueAtBreakpoint, gradients, hasUrlHttpProtocol, inlineCodeStyles, isResponsiveObject, isUrlEmail, isUrlExternal, layouts, lightTheme, menuClassNames, messageClassNames, omitDomainAndProtocol, oneLineCodeClassNames, pythonizeValue, radiuses, regularMarkdownSizeComponents, sanitizeUrl, selectDefaultGetIsSelected, shadows, skeletonClassNames, skeletonTestIds, slugifyHeadingChildren, smallMarkdownSizeComponents, spaces, spinnerClassNames, splitButtonClassNames, splitButtonMainActionTestId, splitButtonTriggerTestId, tableClassNames, tableTestIds, theme, transitions, useActorTitleHeadingFilter, useCopyToClipboard, useDefaultUrlTransform, useFloatingMenu, useImageColor, useResizeObserverSsr, useSharedUiDependencies, useShowTableOfContents, userAvatarBaseClassNames, withColor, withGradient, withReactSelectTheme, withSize, withTooltip };
|
|
113
|
+
export { APIFY_HOSTNAMES, ActionBox, ActionLink, ActorAvatar, ActorAvatarInner, ActorTemplateCard, AnthropicBrandIcon, BADGE_SIZES, BADGE_VARIANTS, BUTTON_COLOR_VARIANTS_CSS, BUTTON_SIZE_VARIANTS_CSS, BackLink, Badge, Banner, BlockSpinner, BlogArticle, BorderedActorAvatar, Box, Breadcrumbs, BrowserWindow, Button, CHIP_SIZES, CHIP_TYPES, CODE_BLOCK_TAB_CATALOG, CODE_BLOCK_WITH_TABS_CLASSNAMES, Card, CardContainer, ChatGptBrandIcon, CheckboxPrimitive, Chip, ClaudeBrandIcon, CodeBlock, CodeBlockWithTabs, CodeHighlighterLineBashPrefix, CodeHighlighterLinePrefix, CollapsibleCard, ColorWheelGradient, CursorBrandIcon, DEVELOPER_BADGE, DROPDOWN_ELEMENT_CLASSES, DangerChip, DangerMessage, DeveloperBadge, DiscordBrandIcon, DiscordSolidBrandIcon, Dropdown, DropdownButton, DropdownMenuBaseComponent, DropdownMenuBaseComponentWithCount, DropdownShell, FLOATING_PLACEMENT, GithubBrandIcon, HeadingShared as Heading, HeadingContent, HeadingMarketing, HorizontalTile, HorizontallyScrollableTableWrapper, ICON_BUTTON_VARIANTS, IconButton, Image, IndeterminateCheckbox, InfoMessage, InlineCode, InlineSpinner, Link, LinkedinBrandIcon, LinkedinSolidBrandIcon, ListMenuComponent, ListMenuItemComponent, MakeBrandIcon, MemoizedMarkdown as Markdown, MarkdownBlockQuote, MarkdownCode, MarkdownHeadingWrapper, MarkdownLink, MarkdownParagraphContent, MarkdownPlainHeading, MarkdownTable, Menu, Message, N8nBrandIcon, NeutralChip, OneLineCode, PaginationButtons, PerplexityBrandIcon, PlainMenuBaseComponent, PrimaryChip, PrismSyntaxHighlighter, RadioButtonPrimitive, Rating, RatingStats, SHARED_TEXT_TYPES, SelectMultiValueRemove, SelectPrimitive, Shortcut, SimpleMarkdown, SingleStarRating, Skeleton, SkeletonFadeIn, SkeletonGroup, Spinner, SplitButton, StoreActorHeader, StyledAsLink, StyledCardWrapper, SuccessChip, SuccessMessage, SwitchPrimitive, TAB_CLASSNAMES, TAG_SIZES, TAG_VARIANTS, TOOLTIP_SIZES, TOOLTIP_TEXT_ALIGNS, Tab, TabNumberChip, Table, TableBody, TableCell, TableCellLink, TableEmptyRow, TableErrorRow, TableExpansionRow, TableFoot, TableHead, TableHeadCell, TableHeadRow, TableLoadingRow, TableOfContents, TableRow, Tabs, Tag, TextShared as Text, TextShared, TextBaseComponent, TextContent, TextMarketing, Tooltip, TwitterBrandIcon, UiDependencyProvider, UserAvatar, VerticalTile, WarningChip, WarningMessage, YoutubeBrandIcon, ZapierBrandIcon, actorAvatarClassnames, breadcrumbClassNames, classNames as browserWindowClassNames, cardClassNames, cardContainerClassNames, clampLines, classNames$1 as classNames, cleanMarkdown, collapsibleCardClassNames, colorProperties, cssColorsVariablesBrandDark, tokens as cssColorsVariablesDark, tokens$1 as cssColorsVariablesLight, tokens$2 as cssColorsVariablesPaletteDark, tokens$3 as cssColorsVariablesPaletteLight, darkTheme, defaultAllowedElements, defaultRehypePlugins, defaultRemarkPlugins, developerBadgeTestIds, devices, getActorAvatarBorderRadius, getButtonColorStyles, getButtonDisabledStyles, getButtonSizeStyles, getResponsiveStyles, getResponsiveValueAtBreakpoint, gradients, hasUrlHttpProtocol, inlineCodeStyles, isResponsiveObject, isUrlEmail, isUrlExternal, layouts, lightTheme, menuClassNames, messageClassNames, omitDomainAndProtocol, oneLineCodeClassNames, pythonizeValue, radiuses, regularMarkdownSizeComponents, sanitizeUrl, selectDefaultGetIsSelected, shadows, skeletonClassNames, skeletonTestIds, slugifyHeadingChildren, smallMarkdownSizeComponents, spaces, spinnerClassNames, splitButtonClassNames, splitButtonMainActionTestId, splitButtonTriggerTestId, tableClassNames, tableTestIds, theme, transitions, useActorTitleHeadingFilter, useCopyToClipboard, useDefaultUrlTransform, useFloatingMenu, useImageColor, useResizeObserverSsr, useSharedUiDependencies, useShowTableOfContents, userAvatarBaseClassNames, withColor, withGradient, withReactSelectTheme, withSize, withTooltip };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type 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"}
|