@almadar/ui 5.25.0 → 5.25.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 +1376 -1987
- package/dist/avl/index.js +310 -921
- package/dist/components/core/atoms/Typography.d.ts +0 -18
- package/dist/components/core/atoms/index.d.ts +1 -1
- package/dist/components/core/organisms/ComponentPatterns.d.ts +0 -3
- package/dist/components/game/atoms/DialogueBubble.d.ts +2 -1
- package/dist/components/game/atoms/Sprite.d.ts +2 -2
- package/dist/components/index.cjs +1409 -1458
- package/dist/components/index.js +507 -556
- package/dist/docs/index.cjs +2 -2
- package/dist/docs/index.js +2 -2
- package/dist/marketing/index.cjs +4 -4
- package/dist/marketing/index.js +4 -4
- package/dist/providers/index.cjs +1196 -1807
- package/dist/providers/index.js +281 -892
- package/dist/runtime/index.cjs +1236 -1847
- package/dist/runtime/index.js +285 -896
- package/package.json +1 -1
|
@@ -37,21 +37,3 @@ export interface TypographyProps {
|
|
|
37
37
|
children?: React.ReactNode;
|
|
38
38
|
}
|
|
39
39
|
export declare const Typography: React.FC<TypographyProps>;
|
|
40
|
-
/**
|
|
41
|
-
* Heading component - convenience wrapper for Typography heading variants
|
|
42
|
-
*/
|
|
43
|
-
export interface HeadingProps extends Omit<TypographyProps, "variant"> {
|
|
44
|
-
/** Heading level (1-6) */
|
|
45
|
-
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
46
|
-
/** Override font size */
|
|
47
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
48
|
-
}
|
|
49
|
-
export declare const Heading: React.FC<HeadingProps>;
|
|
50
|
-
/**
|
|
51
|
-
* Text component - convenience wrapper for Typography body/caption variants
|
|
52
|
-
*/
|
|
53
|
-
export interface TextProps extends Omit<TypographyProps, "level"> {
|
|
54
|
-
/** Text variant */
|
|
55
|
-
variant?: "body" | "body1" | "body2" | "caption" | "small" | "large" | "label" | "overline";
|
|
56
|
-
}
|
|
57
|
-
export declare const Text: React.FC<TextProps>;
|
|
@@ -21,7 +21,7 @@ export { Switch, type SwitchProps } from "./Switch";
|
|
|
21
21
|
export { Spacer, type SpacerProps, type SpacerSize } from "./Spacer";
|
|
22
22
|
export { Stack, VStack, HStack, type StackProps, type VStackProps, type HStackProps, type StackDirection, type StackGap, type StackAlign, type StackJustify, } from "./Stack";
|
|
23
23
|
export { TextHighlight, type TextHighlightProps, type HighlightType, } from "./TextHighlight";
|
|
24
|
-
export { Typography,
|
|
24
|
+
export { Typography, type TypographyProps, type TypographyVariant, } from "./Typography";
|
|
25
25
|
export { ThemeToggle, type ThemeToggleProps } from "./ThemeToggle";
|
|
26
26
|
export { ThemeSelector } from "./ThemeSelector";
|
|
27
27
|
export { Overlay, type OverlayProps } from "./Overlay";
|
|
@@ -122,9 +122,6 @@ export interface HeadingPatternProps extends ClosedCircuitProps {
|
|
|
122
122
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
123
123
|
className?: string;
|
|
124
124
|
}
|
|
125
|
-
/**
|
|
126
|
-
* Heading pattern.
|
|
127
|
-
*/
|
|
128
125
|
export declare function HeadingPattern({ content, level, size, className, }: HeadingPatternProps): React.ReactElement;
|
|
129
126
|
export declare namespace HeadingPattern {
|
|
130
127
|
var displayName: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { AssetUrl } from '@almadar/core';
|
|
1
2
|
export interface DialogueBubbleProps {
|
|
2
3
|
/** Speaker name displayed at the top */
|
|
3
4
|
speaker?: string;
|
|
4
5
|
/** Dialogue text content */
|
|
5
6
|
text: string;
|
|
6
7
|
/** URL for the speaker portrait image */
|
|
7
|
-
portrait?:
|
|
8
|
+
portrait?: AssetUrl;
|
|
8
9
|
/** Position of the bubble on screen */
|
|
9
10
|
position?: 'top' | 'bottom';
|
|
10
11
|
/** Additional CSS classes */
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Renders a single frame from a spritesheet with transform support.
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import type { EventKey } from "@almadar/core";
|
|
7
|
+
import type { EventKey, AssetUrl } from "@almadar/core";
|
|
8
8
|
export interface SpriteProps {
|
|
9
9
|
/** Spritesheet image URL */
|
|
10
|
-
spritesheet:
|
|
10
|
+
spritesheet: AssetUrl;
|
|
11
11
|
/** Width of each frame in pixels */
|
|
12
12
|
frameWidth: number;
|
|
13
13
|
/** Height of each frame in pixels */
|