@almadar/ui 5.26.0 → 5.26.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.
- package/dist/avl/index.cjs +209 -117
- package/dist/avl/index.js +209 -117
- package/dist/components/core/atoms/svg/SvgBranch.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgConnection.d.ts +8 -4
- package/dist/components/core/atoms/svg/SvgFlow.d.ts +5 -1
- package/dist/components/core/atoms/svg/SvgGrid.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgLobe.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgMesh.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgMorph.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgNode.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgPulse.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgRing.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgShield.d.ts +6 -2
- package/dist/components/core/atoms/svg/SvgStack.d.ts +6 -2
- package/dist/components/core/molecules/markdown/MarkdownContent.d.ts +2 -2
- package/dist/components/index.cjs +209 -117
- package/dist/components/index.js +209 -117
- package/dist/docs/index.cjs +9 -2
- package/dist/docs/index.js +9 -2
- package/dist/hooks/index.cjs +9 -2
- package/dist/hooks/index.js +9 -2
- package/dist/providers/index.cjs +209 -117
- package/dist/providers/index.js +209 -117
- package/dist/runtime/index.cjs +209 -117
- package/dist/runtime/index.js +209 -117
- package/package.json +1 -1
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgFlowProps {
|
|
3
|
-
points
|
|
3
|
+
points?: Array<[number, number]>;
|
|
4
4
|
color?: string;
|
|
5
5
|
strokeWidth?: number;
|
|
6
6
|
animated?: boolean;
|
|
7
7
|
opacity?: number;
|
|
8
8
|
className?: string;
|
|
9
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
10
|
+
asRoot?: boolean;
|
|
11
|
+
width?: number;
|
|
12
|
+
height?: number;
|
|
9
13
|
}
|
|
10
14
|
export declare const SvgFlow: React.FC<SvgFlowProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgGridProps {
|
|
3
|
-
x
|
|
4
|
-
y
|
|
3
|
+
x?: number;
|
|
4
|
+
y?: number;
|
|
5
5
|
cols?: number;
|
|
6
6
|
rows?: number;
|
|
7
7
|
spacing?: number;
|
|
@@ -10,5 +10,9 @@ export interface SvgGridProps {
|
|
|
10
10
|
opacity?: number;
|
|
11
11
|
className?: string;
|
|
12
12
|
highlights?: number[];
|
|
13
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
14
|
+
asRoot?: boolean;
|
|
15
|
+
width?: number;
|
|
16
|
+
height?: number;
|
|
13
17
|
}
|
|
14
18
|
export declare const SvgGrid: React.FC<SvgGridProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgLobeProps {
|
|
3
|
-
cx
|
|
4
|
-
cy
|
|
3
|
+
cx?: number;
|
|
4
|
+
cy?: number;
|
|
5
5
|
rx?: number;
|
|
6
6
|
ry?: number;
|
|
7
7
|
rotation?: number;
|
|
@@ -9,5 +9,9 @@ export interface SvgLobeProps {
|
|
|
9
9
|
color?: string;
|
|
10
10
|
opacity?: number;
|
|
11
11
|
className?: string;
|
|
12
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
13
|
+
asRoot?: boolean;
|
|
14
|
+
width?: number;
|
|
15
|
+
height?: number;
|
|
12
16
|
}
|
|
13
17
|
export declare const SvgLobe: React.FC<SvgLobeProps>;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgMeshProps {
|
|
3
|
-
cx
|
|
4
|
-
cy
|
|
3
|
+
cx?: number;
|
|
4
|
+
cy?: number;
|
|
5
5
|
nodes?: number;
|
|
6
6
|
radius?: number;
|
|
7
7
|
color?: string;
|
|
8
8
|
connectionDensity?: number;
|
|
9
9
|
opacity?: number;
|
|
10
10
|
className?: string;
|
|
11
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
12
|
+
asRoot?: boolean;
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
11
15
|
}
|
|
12
16
|
export declare const SvgMesh: React.FC<SvgMeshProps>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgMorphProps {
|
|
3
|
-
x
|
|
4
|
-
y
|
|
3
|
+
x?: number;
|
|
4
|
+
y?: number;
|
|
5
5
|
size?: number;
|
|
6
6
|
variant?: 'text-to-code' | 'code-to-app' | 'generic';
|
|
7
7
|
color?: string;
|
|
8
8
|
opacity?: number;
|
|
9
9
|
className?: string;
|
|
10
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
11
|
+
asRoot?: boolean;
|
|
12
|
+
width?: number;
|
|
13
|
+
height?: number;
|
|
10
14
|
}
|
|
11
15
|
export declare const SvgMorph: React.FC<SvgMorphProps>;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgNodeProps {
|
|
3
|
-
x
|
|
4
|
-
y
|
|
3
|
+
x?: number;
|
|
4
|
+
y?: number;
|
|
5
5
|
r?: number;
|
|
6
6
|
variant?: 'filled' | 'stroked' | 'pulse';
|
|
7
7
|
color?: string;
|
|
8
8
|
opacity?: number;
|
|
9
9
|
className?: string;
|
|
10
10
|
label?: string;
|
|
11
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
12
|
+
asRoot?: boolean;
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
11
15
|
}
|
|
12
16
|
export declare const SvgNode: React.FC<SvgNodeProps>;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgPulseProps {
|
|
3
|
-
cx
|
|
4
|
-
cy
|
|
3
|
+
cx?: number;
|
|
4
|
+
cy?: number;
|
|
5
5
|
rings?: number;
|
|
6
6
|
maxRadius?: number;
|
|
7
7
|
color?: string;
|
|
8
8
|
animated?: boolean;
|
|
9
9
|
opacity?: number;
|
|
10
10
|
className?: string;
|
|
11
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
12
|
+
asRoot?: boolean;
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
11
15
|
}
|
|
12
16
|
export declare const SvgPulse: React.FC<SvgPulseProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgRingProps {
|
|
3
|
-
cx
|
|
4
|
-
cy
|
|
3
|
+
cx?: number;
|
|
4
|
+
cy?: number;
|
|
5
5
|
r?: number;
|
|
6
6
|
variant?: 'solid' | 'dashed' | 'glow';
|
|
7
7
|
color?: string;
|
|
@@ -9,5 +9,9 @@ export interface SvgRingProps {
|
|
|
9
9
|
opacity?: number;
|
|
10
10
|
className?: string;
|
|
11
11
|
label?: string;
|
|
12
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
13
|
+
asRoot?: boolean;
|
|
14
|
+
width?: number;
|
|
15
|
+
height?: number;
|
|
12
16
|
}
|
|
13
17
|
export declare const SvgRing: React.FC<SvgRingProps>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgShieldProps {
|
|
3
|
-
x
|
|
4
|
-
y
|
|
3
|
+
x?: number;
|
|
4
|
+
y?: number;
|
|
5
5
|
size?: number;
|
|
6
6
|
variant?: 'outline' | 'filled' | 'check';
|
|
7
7
|
color?: string;
|
|
8
8
|
opacity?: number;
|
|
9
9
|
className?: string;
|
|
10
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
11
|
+
asRoot?: boolean;
|
|
12
|
+
width?: number;
|
|
13
|
+
height?: number;
|
|
10
14
|
}
|
|
11
15
|
export declare const SvgShield: React.FC<SvgShieldProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface SvgStackProps {
|
|
3
|
-
x
|
|
4
|
-
y
|
|
3
|
+
x?: number;
|
|
4
|
+
y?: number;
|
|
5
5
|
layers?: number;
|
|
6
6
|
width?: number;
|
|
7
7
|
height?: number;
|
|
@@ -9,5 +9,9 @@ export interface SvgStackProps {
|
|
|
9
9
|
opacity?: number;
|
|
10
10
|
className?: string;
|
|
11
11
|
labels?: string[];
|
|
12
|
+
/** When true (default), wraps in a standalone <svg> so the shape is visible without a parent SVG context. */
|
|
13
|
+
asRoot?: boolean;
|
|
14
|
+
svgWidth?: number;
|
|
15
|
+
svgHeight?: number;
|
|
12
16
|
}
|
|
13
17
|
export declare const SvgStack: React.FC<SvgStackProps>;
|
|
@@ -18,8 +18,8 @@ import 'katex/dist/katex.min.css';
|
|
|
18
18
|
export interface MarkdownContentProps {
|
|
19
19
|
/** The markdown content to render */
|
|
20
20
|
content: string;
|
|
21
|
-
/** Text direction */
|
|
22
|
-
direction?: '
|
|
21
|
+
/** Text direction (defaults to ltr; `ltr` is first so the generated config seeds it) */
|
|
22
|
+
direction?: 'ltr' | 'rtl';
|
|
23
23
|
/** Additional CSS classes */
|
|
24
24
|
className?: string;
|
|
25
25
|
}
|