@app-studio/web 0.9.63 → 0.9.65

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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ButtonProps as $ButtonProps, Shadow, ViewProps } from 'app-studio';
3
3
  import { Elevation } from '../../../utils/elevation';
4
- import { IconPosition, Shape, Size, Variant, LoaderPosition } from './Button.type';
4
+ import { IconPosition, Shape, Size, Variant, Animation, LoaderPosition } from './Button.type';
5
5
  import { LoaderProps } from '../../Loader/Loader/Loader.props';
6
6
  export interface ButtonProps extends Omit<$ButtonProps, 'size'> {
7
7
  children?: React.ReactNode;
@@ -21,7 +21,10 @@ export interface ButtonProps extends Omit<$ButtonProps, 'size'> {
21
21
  shape?: Shape;
22
22
  ariaLabel?: string;
23
23
  variant?: Variant;
24
+ animation?: Animation;
24
25
  color?: string;
26
+ scheme?: string;
27
+ reversed?: boolean;
25
28
  borderMovingDuration?: number;
26
29
  borderMovingGradientColors?: string[];
27
30
  animatedStrokeAccentColor?: string;
@@ -21,7 +21,7 @@ export declare const ButtonShapes: Record<Shape, number | string>;
21
21
  * Icon sizes for different button sizes
22
22
  */
23
23
  export declare const IconSizes: Record<Size, ViewProps>;
24
- export declare const getButtonVariants: (color: string, isLight: boolean, isThemeLight?: boolean) => Record<Variant, ViewProps>;
24
+ export declare const getButtonVariants: (color: string, isLight: boolean, reversed?: boolean) => Record<Variant, ViewProps>;
25
25
  /**
26
26
  * Generate offset path for border animation
27
27
  */
@@ -9,6 +9,7 @@ interface SlideEffectProps {
9
9
  as?: React.ElementType;
10
10
  wordProps?: any;
11
11
  bgColor?: string;
12
+ textComponent?: any;
12
13
  [key: string]: any;
13
14
  }
14
15
  export declare const SlideEffect: React.FC<SlideEffectProps>;
@@ -116,4 +116,9 @@ export interface TitleProps extends ViewProps {
116
116
  * @default 3000
117
117
  */
118
118
  alternateDuration?: number;
119
+ /**
120
+ * Component to use for rendering text content
121
+ * Defaults to Text from app-studio
122
+ */
123
+ textComponent?: any;
119
124
  }
@@ -8,6 +8,7 @@ interface TypewriterEffectProps {
8
8
  cursorColor?: string;
9
9
  textStyle?: React.CSSProperties;
10
10
  as?: React.ElementType;
11
+ textComponent?: any;
11
12
  [key: string]: any;
12
13
  }
13
14
  /**