@als-tp/als-react-ts-ui 0.9.0 → 0.10.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.
@@ -0,0 +1,136 @@
1
+ import React from "react";
2
+ export type ALSCardVariant = "default" | "elevated" | "outlined" | "glassmorphism";
3
+ export type ALSCardSize = "sm" | "md" | "lg";
4
+ export interface ALSCardRootProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ /**
6
+ * Visual style variant
7
+ * @default 'default'
8
+ */
9
+ variant?: ALSCardVariant;
10
+ /**
11
+ * Card size
12
+ * @default 'md'
13
+ */
14
+ size?: ALSCardSize;
15
+ /**
16
+ * Whether the card is interactive (hoverable, clickable)
17
+ * @default false
18
+ */
19
+ interactive?: boolean;
20
+ /**
21
+ * Whether the card is disabled
22
+ * @default false
23
+ */
24
+ disabled?: boolean;
25
+ /**
26
+ * Additional CSS class name
27
+ */
28
+ className?: string;
29
+ /**
30
+ * Card content
31
+ */
32
+ children?: React.ReactNode;
33
+ }
34
+ export interface ALSCardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
35
+ /**
36
+ * Additional CSS class name
37
+ */
38
+ className?: string;
39
+ /**
40
+ * Header content
41
+ */
42
+ children?: React.ReactNode;
43
+ }
44
+ export interface ALSCardBodyProps extends React.HTMLAttributes<HTMLDivElement> {
45
+ /**
46
+ * Additional CSS class name
47
+ */
48
+ className?: string;
49
+ /**
50
+ * Body content
51
+ */
52
+ children?: React.ReactNode;
53
+ }
54
+ export interface ALSCardFooterProps extends React.HTMLAttributes<HTMLDivElement> {
55
+ /**
56
+ * Additional CSS class name
57
+ */
58
+ className?: string;
59
+ /**
60
+ * Footer content
61
+ */
62
+ children?: React.ReactNode;
63
+ }
64
+ export interface ALSCardMediaProps extends React.ImgHTMLAttributes<HTMLImageElement> {
65
+ /**
66
+ * Image source URL
67
+ */
68
+ src: string;
69
+ /**
70
+ * Image alt text
71
+ */
72
+ alt: string;
73
+ /**
74
+ * Additional CSS class name
75
+ */
76
+ className?: string;
77
+ /**
78
+ * Media aspect ratio
79
+ * @default '16/9'
80
+ */
81
+ aspectRatio?: string;
82
+ }
83
+ export interface ALSCardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
84
+ /**
85
+ * Title element level
86
+ * @default 'h3'
87
+ */
88
+ as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
89
+ /**
90
+ * Additional CSS class name
91
+ */
92
+ className?: string;
93
+ /**
94
+ * Title content
95
+ */
96
+ children?: React.ReactNode;
97
+ }
98
+ export interface ALSCardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
99
+ /**
100
+ * Additional CSS class name
101
+ */
102
+ className?: string;
103
+ /**
104
+ * Description content
105
+ */
106
+ children?: React.ReactNode;
107
+ }
108
+ /**
109
+ * Root card container component
110
+ */
111
+ export declare const ALSCardRoot: React.ForwardRefExoticComponent<ALSCardRootProps & React.RefAttributes<HTMLDivElement>>;
112
+ /**
113
+ * Card header component
114
+ */
115
+ export declare const ALSCardHeader: React.ForwardRefExoticComponent<ALSCardHeaderProps & React.RefAttributes<HTMLDivElement>>;
116
+ /**
117
+ * Card body component
118
+ */
119
+ export declare const ALSCardBody: React.ForwardRefExoticComponent<ALSCardBodyProps & React.RefAttributes<HTMLDivElement>>;
120
+ /**
121
+ * Card footer component
122
+ */
123
+ export declare const ALSCardFooter: React.ForwardRefExoticComponent<ALSCardFooterProps & React.RefAttributes<HTMLDivElement>>;
124
+ /**
125
+ * Card media/image component
126
+ */
127
+ export declare const ALSCardMedia: React.ForwardRefExoticComponent<ALSCardMediaProps & React.RefAttributes<HTMLImageElement>>;
128
+ /**
129
+ * Card title component
130
+ */
131
+ export declare const ALSCardTitle: React.ForwardRefExoticComponent<ALSCardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
132
+ /**
133
+ * Card description component
134
+ */
135
+ export declare const ALSCardDescription: React.ForwardRefExoticComponent<ALSCardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>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ALSCardMediaProps, ALSCardTitleProps, ALSCardDescriptionProps, ALSCardVariant, ALSCardSize } from "./ALSCard";
2
+ export declare const ALSCard: {
3
+ Root: import("react").ForwardRefExoticComponent<ALSCardRootProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ Header: import("react").ForwardRefExoticComponent<ALSCardHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ Body: import("react").ForwardRefExoticComponent<ALSCardBodyProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ Footer: import("react").ForwardRefExoticComponent<ALSCardFooterProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ Media: import("react").ForwardRefExoticComponent<ALSCardMediaProps & import("react").RefAttributes<HTMLImageElement>>;
8
+ Title: import("react").ForwardRefExoticComponent<ALSCardTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
9
+ Description: import("react").ForwardRefExoticComponent<ALSCardDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
10
+ };
11
+ export type { ALSCardRootProps, ALSCardHeaderProps, ALSCardBodyProps, ALSCardFooterProps, ALSCardMediaProps, ALSCardTitleProps, ALSCardDescriptionProps, ALSCardVariant, ALSCardSize, };
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSCard/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACR,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,WAAW,EACd,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,YAAY,EACR,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,WAAW,GACd,CAAC"}
@@ -0,0 +1,114 @@
1
+ import React from "react";
2
+ import { type TooltipProps } from "recharts";
3
+ import type { Props as LegendProps } from "recharts/types/component/DefaultLegendContent";
4
+ import type { NameType, Payload, ValueType } from "recharts/types/component/DefaultTooltipContent";
5
+ export type ChartType = "line" | "bar" | "area" | "pie" | "radar" | "scatter" | "composed" | "radialBar";
6
+ export type ChartSize = "sm" | "md" | "lg" | "full";
7
+ export type ChartVariant = "default" | "gradient" | "minimal";
8
+ export interface ChartDataPoint {
9
+ [key: string]: string | number | undefined;
10
+ }
11
+ export interface ChartSeries {
12
+ dataKey: string;
13
+ name?: string;
14
+ color?: string;
15
+ type?: "line" | "bar" | "area";
16
+ strokeWidth?: number;
17
+ strokeDasharray?: string;
18
+ fill?: string;
19
+ fillOpacity?: number;
20
+ }
21
+ export type CartesianChartType = "line" | "bar" | "area" | "scatter";
22
+ export interface CustomTooltipProps extends TooltipProps<ValueType, NameType> {
23
+ active?: boolean;
24
+ payload?: readonly Payload<ValueType, NameType>[];
25
+ label?: string | number;
26
+ }
27
+ export type CustomLegendProps = LegendProps;
28
+ export interface CustomLabelProps {
29
+ x?: number | string;
30
+ y?: number | string;
31
+ width?: number | string;
32
+ height?: number | string;
33
+ value?: number | string | boolean | null;
34
+ index?: number;
35
+ }
36
+ export interface ALSLegendPayload {
37
+ value?: string;
38
+ id?: string;
39
+ type?: string;
40
+ color?: string;
41
+ payload?: unknown;
42
+ }
43
+ export type CustomTooltipRenderer = (props: CustomTooltipProps) => React.ReactNode;
44
+ export type CustomLegendRenderer = (props: CustomLegendProps) => React.ReactNode;
45
+ export type CustomLabelRenderer = (props: CustomLabelProps) => React.ReactElement | string | number | boolean | null | undefined;
46
+ export interface ALSChartRootProps {
47
+ data: ChartDataPoint[];
48
+ type?: ChartType;
49
+ variant?: ChartVariant;
50
+ size?: ChartSize;
51
+ series?: ChartSeries[];
52
+ colors?: string[];
53
+ showGrid?: boolean;
54
+ showLegend?: boolean;
55
+ showTooltip?: boolean;
56
+ animate?: boolean;
57
+ transformable?: boolean;
58
+ onTypeChange?: (type: ChartType) => void;
59
+ customTooltip?: CustomTooltipRenderer;
60
+ customLegend?: CustomLegendRenderer;
61
+ customLabel?: CustomLabelRenderer;
62
+ xAxisLabel?: string;
63
+ yAxisLabel?: string;
64
+ gridColor?: string;
65
+ axisColor?: string;
66
+ tooltipStyle?: React.CSSProperties;
67
+ legendStyle?: React.CSSProperties;
68
+ className?: string;
69
+ style?: React.CSSProperties;
70
+ children?: React.ReactNode;
71
+ }
72
+ export declare const ALSChartRoot: React.ForwardRefExoticComponent<ALSChartRootProps & React.RefAttributes<HTMLDivElement>>;
73
+ export interface ALSChartTitleProps {
74
+ className?: string;
75
+ style?: React.CSSProperties;
76
+ children?: React.ReactNode;
77
+ }
78
+ export declare const ALSChartTitle: React.ForwardRefExoticComponent<ALSChartTitleProps & React.RefAttributes<HTMLHeadingElement>>;
79
+ export interface ALSChartDescriptionProps {
80
+ className?: string;
81
+ style?: React.CSSProperties;
82
+ children?: React.ReactNode;
83
+ }
84
+ export declare const ALSChartDescription: React.ForwardRefExoticComponent<ALSChartDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
85
+ export interface ALSChartContainerProps {
86
+ width?: number | `${number}%`;
87
+ height?: number | `${number}%`;
88
+ className?: string;
89
+ style?: React.CSSProperties;
90
+ }
91
+ export declare const ALSChartContainer: React.ForwardRefExoticComponent<ALSChartContainerProps & React.RefAttributes<HTMLDivElement>>;
92
+ export interface ALSChartEmptyProps {
93
+ message?: string;
94
+ className?: string;
95
+ style?: React.CSSProperties;
96
+ children?: React.ReactNode;
97
+ }
98
+ export declare const ALSChartEmpty: React.ForwardRefExoticComponent<ALSChartEmptyProps & React.RefAttributes<HTMLDivElement>>;
99
+ export interface ALSChartTransformerProps {
100
+ position?: "top" | "bottom";
101
+ layout?: "horizontal" | "vertical";
102
+ showLabels?: boolean;
103
+ className?: string;
104
+ style?: React.CSSProperties;
105
+ }
106
+ export declare const ALSChartTransformer: React.ForwardRefExoticComponent<ALSChartTransformerProps & React.RefAttributes<HTMLDivElement>>;
107
+ export interface ALSChartLoadingProps {
108
+ message?: string;
109
+ className?: string;
110
+ style?: React.CSSProperties;
111
+ children?: React.ReactNode;
112
+ }
113
+ export declare const ALSChartLoading: React.ForwardRefExoticComponent<ALSChartLoadingProps & React.RefAttributes<HTMLDivElement>>;
114
+ //# sourceMappingURL=ALSChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ALSChart.d.ts","sourceRoot":"","sources":["../../../src/components/ALSChart/ALSChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAuBH,KAAK,YAAY,EAEpB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAI1F,OAAO,KAAK,EACR,QAAQ,EACR,OAAO,EACP,SAAS,EACZ,MAAM,gDAAgD,CAAC;AAGxD,MAAM,MAAM,SAAS,GACf,MAAM,GACN,KAAK,GACL,MAAM,GACN,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,WAAW,CAAC;AAClB,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAEpD,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAE9D,MAAM,WAAW,cAAc;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CAC9C;AAED,MAAM,WAAW,WAAW;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MA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,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,eAAe,6FAoB3B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ALSChartRootProps, ALSChartTitleProps, ALSChartDescriptionProps, ALSChartContainerProps, ALSChartEmptyProps, ALSChartTransformerProps, ALSChartLoadingProps, ChartType, ChartSize, ChartVariant, ChartDataPoint, ChartSeries, CustomTooltipProps, CustomLegendProps, CustomLabelProps, CustomTooltipRenderer, CustomLegendRenderer, CustomLabelRenderer, CartesianChartType, ALSLegendPayload } from "./ALSChart";
2
+ export declare const ALSChart: {
3
+ Root: import("react").ForwardRefExoticComponent<ALSChartRootProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ Title: import("react").ForwardRefExoticComponent<ALSChartTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
5
+ Description: import("react").ForwardRefExoticComponent<ALSChartDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
6
+ Container: import("react").ForwardRefExoticComponent<ALSChartContainerProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ Empty: import("react").ForwardRefExoticComponent<ALSChartEmptyProps & import("react").RefAttributes<HTMLDivElement>>;
8
+ Transformer: import("react").ForwardRefExoticComponent<ALSChartTransformerProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ Loading: import("react").ForwardRefExoticComponent<ALSChartLoadingProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ };
11
+ export type { ALSChartRootProps, ALSChartTitleProps, ALSChartDescriptionProps, ALSChartContainerProps, ALSChartEmptyProps, ALSChartTransformerProps, ALSChartLoadingProps, ChartType, CartesianChartType, ChartSize, ChartVariant, ChartDataPoint, ChartSeries, CustomTooltipProps, CustomLegendProps, CustomLabelProps, CustomTooltipRenderer, CustomLegendRenderer, CustomLabelRenderer, ALSLegendPayload, };
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSChart/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACR,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,wBAAwB,EACxB,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EACnB,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAC;AAEF,YAAY,EACR,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,wBAAwB,EACxB,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,GACnB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { CartesianChartType, ChartType } from "./ALSChart";
2
+ type TransformMatrix = Record<ChartType, ChartType[]>;
3
+ export declare const TRANSFORM_COMPATIBILITY: TransformMatrix;
4
+ export declare function canTransform(from: ChartType, to: ChartType): boolean;
5
+ export declare function isCartesianChart(type: ChartType): type is CartesianChartType;
6
+ export {};
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/ALSChart/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEhE,KAAK,eAAe,GAAG,MAAM,CAAC,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;AAEtD,eAAO,MAAM,uBAAuB,EAAE,eASrC,CAAC;AAGF,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,GAAG,OAAO,CAEpE;AAGD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,IAAI,kBAAkB,CAE5E"}
@@ -0,0 +1,120 @@
1
+ import React from "react";
2
+ import { Infographic } from "@antv/infographic";
3
+ import type { InfographicOptions } from "@antv/infographic";
4
+ export type ALSInfographicSize = "sm" | "md" | "lg" | "full";
5
+ export type ALSInfographicVariant = "default" | "bordered" | "elevated";
6
+ export type ALSInfographicStatus = "idle" | "streaming" | "complete" | "error";
7
+ /** SVG export options */
8
+ export interface SVGExportOptions {
9
+ type: "svg";
10
+ /** Whether to embed remote resources into the SVG (default: true) */
11
+ embedResources?: boolean;
12
+ }
13
+ /** PNG export options */
14
+ export interface PNGExportOptions {
15
+ type: "png";
16
+ /** Device pixel ratio (default: window.devicePixelRatio || 2) */
17
+ dpr?: number;
18
+ }
19
+ /** Export options for toDataURL method */
20
+ export type ExportOptions = SVGExportOptions | PNGExportOptions;
21
+ export type { InfographicOptions };
22
+ export interface ALSInfographicContextValue {
23
+ infographicRef: React.MutableRefObject<Infographic | null>;
24
+ status: ALSInfographicStatus;
25
+ setStatus: React.Dispatch<React.SetStateAction<ALSInfographicStatus>>;
26
+ streamingBuffer: string;
27
+ setStreamingBuffer: React.Dispatch<React.SetStateAction<string>>;
28
+ error: Error | null;
29
+ setError: React.Dispatch<React.SetStateAction<Error | null>>;
30
+ }
31
+ export interface ALSInfographicRootProps {
32
+ children: React.ReactNode;
33
+ className?: string;
34
+ style?: React.CSSProperties;
35
+ size?: ALSInfographicSize;
36
+ variant?: ALSInfographicVariant;
37
+ onStatusChange?: (status: ALSInfographicStatus) => void;
38
+ onError?: (error: Error) => void;
39
+ onRendered?: (options: Partial<InfographicOptions>) => void;
40
+ }
41
+ export interface ALSInfographicContainerProps {
42
+ className?: string;
43
+ style?: React.CSSProperties;
44
+ width?: string | number;
45
+ height?: string | number;
46
+ padding?: number | [number, number, number, number];
47
+ editable?: boolean;
48
+ syntax?: string;
49
+ options?: Partial<InfographicOptions>;
50
+ onLoad?: () => void;
51
+ onError?: (error: Error) => void;
52
+ onWarning?: (warnings: unknown[]) => void;
53
+ }
54
+ export interface ALSInfographicStreamingProps {
55
+ chunks: string[] | AsyncIterable<string>;
56
+ className?: string;
57
+ style?: React.CSSProperties;
58
+ width?: string | number;
59
+ height?: string | number;
60
+ padding?: number | [number, number, number, number];
61
+ editable?: boolean;
62
+ chunkDelay?: number;
63
+ autoStart?: boolean;
64
+ onChunk?: (chunk: string, buffer: string) => void;
65
+ onComplete?: (finalSyntax: string) => void;
66
+ onError?: (error: Error) => void;
67
+ }
68
+ export interface ALSInfographicControlsProps {
69
+ children?: React.ReactNode;
70
+ className?: string;
71
+ style?: React.CSSProperties;
72
+ }
73
+ export interface ALSInfographicExportButtonProps {
74
+ children?: React.ReactNode;
75
+ className?: string;
76
+ style?: React.CSSProperties;
77
+ format?: "svg" | "png";
78
+ filename?: string;
79
+ embedResources?: boolean;
80
+ dpr?: number;
81
+ onClick?: () => void;
82
+ }
83
+ export interface ALSInfographicStatusProps {
84
+ className?: string;
85
+ style?: React.CSSProperties;
86
+ showLabel?: boolean;
87
+ labels?: {
88
+ idle?: string;
89
+ streaming?: string;
90
+ complete?: string;
91
+ error?: string;
92
+ };
93
+ }
94
+ export interface ALSInfographicHandle {
95
+ getInstance: () => Infographic | null;
96
+ render: (syntax: string) => void;
97
+ update: (options: string | Partial<InfographicOptions>) => void;
98
+ getOptions: () => Partial<InfographicOptions> | undefined;
99
+ exportAs: (format: "svg" | "png", options?: Partial<ExportOptions>) => Promise<string | null>;
100
+ startStreaming: (chunks: string[] | AsyncIterable<string>, chunkDelay?: number) => Promise<void>;
101
+ stopStreaming: () => void;
102
+ destroy: () => void;
103
+ }
104
+ export declare const ALSInfographicRoot: React.ForwardRefExoticComponent<ALSInfographicRootProps & React.RefAttributes<ALSInfographicHandle>>;
105
+ export declare const ALSInfographicContainer: React.ForwardRefExoticComponent<ALSInfographicContainerProps & React.RefAttributes<HTMLDivElement>>;
106
+ export declare const ALSInfographicStreaming: React.FC<ALSInfographicStreamingProps>;
107
+ export declare const ALSInfographicControls: React.FC<ALSInfographicControlsProps>;
108
+ export declare const ALSInfographicExportButton: React.ForwardRefExoticComponent<ALSInfographicExportButtonProps & React.RefAttributes<HTMLButtonElement>>;
109
+ export declare const ALSInfographicStatus: React.FC<ALSInfographicStatusProps>;
110
+ export declare const ALSInfographicError: React.FC<{
111
+ className?: string;
112
+ style?: React.CSSProperties;
113
+ children?: React.ReactNode;
114
+ }>;
115
+ export declare const ALSInfographicLoading: React.FC<{
116
+ className?: string;
117
+ style?: React.CSSProperties;
118
+ children?: React.ReactNode;
119
+ }>;
120
+ //# sourceMappingURL=ALSInfographic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ALSInfographic.d.ts","sourceRoot":"","sources":["../../../src/components/ALSInfographic/ALSInfographic.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAQ5D,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAC7D,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;AAE/E,yBAAyB;AACzB,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,KAAK,CAAC;IACZ,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,yBAAyB;AACzB,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,KAA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rB,OAAO,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,KAC/B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CACZ,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC,MAAM,CAAC,EACxC,UAAU,CAAC,EAAE,MAAM,KAClB,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAwBD,eAAO,MAAM,kBAAkB,sGAwJ7B,CAAC;AAEH,eAAO,MAAM,uBAAuB,qGAkGlC,CAAC;AAEH,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAC1C,4BAA4B,CAwI/B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAUxE,CAAC;AAEF,eAAO,MAAM,0BAA0B,2GAgErC,CAAC;AAEH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAmCpE,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAUA,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAWA,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { ALSInfographicSize, ALSInfographicVariant, ALSInfographicStatus as ALSInfographicStatusType, ALSInfographicContextValue, ALSInfographicRootProps, ALSInfographicContainerProps, ALSInfographicStreamingProps, ALSInfographicControlsProps, ALSInfographicExportButtonProps, ALSInfographicStatusProps, ALSInfographicHandle, InfographicOptions, ExportOptions, SVGExportOptions, PNGExportOptions } from "./ALSInfographic";
2
+ export declare const ALSInfographic: {
3
+ Root: import("react").ForwardRefExoticComponent<ALSInfographicRootProps & import("react").RefAttributes<ALSInfographicHandle>>;
4
+ Container: import("react").ForwardRefExoticComponent<ALSInfographicContainerProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ Streaming: import("react").FC<ALSInfographicStreamingProps>;
6
+ Controls: import("react").FC<ALSInfographicControlsProps>;
7
+ ExportButton: import("react").ForwardRefExoticComponent<ALSInfographicExportButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
8
+ Status: import("react").FC<ALSInfographicStatusProps>;
9
+ Error: import("react").FC<{
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ children?: React.ReactNode;
13
+ }>;
14
+ Loading: import("react").FC<{
15
+ className?: string;
16
+ style?: React.CSSProperties;
17
+ children?: React.ReactNode;
18
+ }>;
19
+ };
20
+ export type { ALSInfographicSize, ALSInfographicVariant, ALSInfographicStatusType, ALSInfographicContextValue, ALSInfographicRootProps, ALSInfographicContainerProps, ALSInfographicStreamingProps, ALSInfographicControlsProps, ALSInfographicExportButtonProps, ALSInfographicStatusProps, ALSInfographicHandle, InfographicOptions, ExportOptions, SVGExportOptions, PNGExportOptions, };
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ALSInfographic/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACR,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,IAAI,wBAAwB,EAChD,0BAA0B,EAC1B,uBAAuB,EACvB,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,EAC3B,+BAA+B,EAC/B,yBAAyB,EACzB,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EACnB,MAAM,kBAAkB,CAAC;AAE1B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;CAS1B,CAAC;AAEF,YAAY,EACR,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,EACxB,0BAA0B,EAC1B,uBAAuB,EACvB,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,EAC3B,+BAA+B,EAC/B,yBAAyB,EACzB,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,GACnB,CAAC"}