@app-studio/web 0.9.79 → 0.9.81
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/components/Accordion/Accordion/Accordion.type.d.ts +1 -1
- package/dist/components/Accordion/Accordion/Accordion.view.d.ts +1 -1
- package/dist/components/Badge/Badge/Badge.type.d.ts +1 -1
- package/dist/components/Card/Card/Card.style.d.ts +0 -4
- package/dist/components/Card/Card/Card.type.d.ts +1 -1
- package/dist/components/ChatInput/ChatInput/ChatInput.type.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker/ColorPicker.type.d.ts +1 -1
- package/dist/components/EmojiPicker/EmojiPicker/EmojiPicker.type.d.ts +1 -1
- package/dist/components/Form/ColorInput/ColorInput/ColorInput.type.d.ts +1 -1
- package/dist/components/Form/Switch/Switch/Switch.style.d.ts +3 -6
- package/dist/components/Form/TagInput/TagInput/TagInput.type.d.ts +1 -1
- package/dist/components/Form/TextArea/TextArea/TextArea.type.d.ts +1 -1
- package/dist/components/Input/Input.type.d.ts +1 -1
- package/dist/components/Message/Message/Message.type.d.ts +1 -1
- package/dist/components/Modal/Modal/Modal.props.d.ts +2 -2
- package/dist/components/Slider/Slider/Slider.type.d.ts +1 -1
- package/dist/components/Title/Title/Title.props.d.ts +0 -5
- package/dist/components/Toggle/Toggle/Toggle.type.d.ts +1 -1
- package/dist/components/ToggleGroup/ToggleGroup/ToggleGroup.type.d.ts +1 -1
- package/dist/pages/tabs.page.d.ts +1 -1
- package/dist/providers/index.d.ts +5 -0
- package/dist/web.cjs.development.js +170 -155
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +170 -155
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +170 -155
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/docs/components/Background.mdx +133 -134
- package/docs/components/Button.mdx +154 -131
- package/docs/components/Chart.mdx +93 -368
- package/docs/components/ProgressBar.mdx +77 -394
- package/docs/components/Title.mdx +102 -290
- package/package.json +1 -1
- package/docs/components/ChatInput.mdx +0 -1039
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
|
-
export declare type Shape = '
|
|
2
|
+
export declare type Shape = 'square' | 'rounded';
|
|
3
3
|
export declare type Variant = 'default' | 'outline' | 'filled';
|
|
4
4
|
export declare type AccordionType = 'single' | 'multiple';
|
|
5
5
|
export interface AccordionContextType {
|
|
@@ -23,7 +23,7 @@ export declare const AccordionContent: React.FC<AccordionContentProps & {
|
|
|
23
23
|
}>;
|
|
24
24
|
export declare const AccordionView: React.FC<{
|
|
25
25
|
children: React.ReactNode;
|
|
26
|
-
shape?: '
|
|
26
|
+
shape?: 'square' | 'rounded';
|
|
27
27
|
variant?: 'default' | 'outline' | 'filled';
|
|
28
28
|
views?: any;
|
|
29
29
|
baseId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
|
-
export declare type Shape = '
|
|
2
|
+
export declare type Shape = 'square' | 'rounded' | 'pill';
|
|
3
3
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
4
|
export declare type Variant = 'filled' | 'outline' | 'link' | 'ghost';
|
|
5
5
|
export declare type Position = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
@@ -22,10 +22,6 @@ export declare const CardShapes: Record<Shape, number | string>;
|
|
|
22
22
|
* Get card variants with consistent styling based on theme mode
|
|
23
23
|
*/
|
|
24
24
|
export declare const getCardVariants: (themeMode: string) => Record<Variant, ViewProps>;
|
|
25
|
-
/**
|
|
26
|
-
* Default card variants (for backward compatibility)
|
|
27
|
-
*/
|
|
28
|
-
export declare const CardVariants: Record<Variant, ViewProps>;
|
|
29
25
|
/**
|
|
30
26
|
* Function to get default styles for Card components
|
|
31
27
|
* @param theme - Theme object from useTheme hook
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
2
|
export declare type Variant = 'default' | 'outlined' | 'elevated';
|
|
3
3
|
export declare type Size = 'sm' | 'md' | 'lg';
|
|
4
|
-
export declare type Shape = '
|
|
4
|
+
export declare type Shape = 'square' | 'rounded' | 'pill';
|
|
5
5
|
export interface CardStyles {
|
|
6
6
|
container?: ViewProps;
|
|
7
7
|
header?: ViewProps;
|
|
@@ -6,7 +6,7 @@ export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
6
6
|
/**
|
|
7
7
|
* Shape options for the ChatInput component
|
|
8
8
|
*/
|
|
9
|
-
export declare type Shape = 'default' | '
|
|
9
|
+
export declare type Shape = 'default' | 'square' | 'rounded';
|
|
10
10
|
/**
|
|
11
11
|
* Variant options for the ChatInput component
|
|
12
12
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
2
|
export declare type Variant = 'outline' | 'default' | 'filled';
|
|
3
|
-
export declare type Shape = 'default' | '
|
|
3
|
+
export declare type Shape = 'default' | 'square' | 'rounded' | 'pill';
|
|
4
4
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
export declare type ColorPickerStyles = {
|
|
6
6
|
container?: ViewProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
2
|
export declare type Variant = 'outline' | 'default' | 'filled';
|
|
3
|
-
export declare type Shape = 'default' | '
|
|
3
|
+
export declare type Shape = 'default' | 'square' | 'rounded' | 'pill';
|
|
4
4
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
export declare type EmojiPickerStyles = {
|
|
6
6
|
container?: ViewProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
2
|
export declare type Variant = 'outline' | 'default' | 'none';
|
|
3
|
-
export declare type Shape = 'default' | '
|
|
3
|
+
export declare type Shape = 'default' | 'square' | 'rounded' | 'pill';
|
|
4
4
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
export declare type ColorInputStyles = {
|
|
6
6
|
text?: ViewProps;
|
|
@@ -37,12 +37,9 @@ export declare const ColorSchemes: {
|
|
|
37
37
|
};
|
|
38
38
|
states: {
|
|
39
39
|
hover: {
|
|
40
|
-
active:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
inactive: {
|
|
44
|
-
backgroundColor: string;
|
|
45
|
-
};
|
|
40
|
+
active: string;
|
|
41
|
+
inactive: string;
|
|
42
|
+
activeOpacity: number;
|
|
46
43
|
};
|
|
47
44
|
focus: {
|
|
48
45
|
active: {
|
|
@@ -6,7 +6,7 @@ export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
6
6
|
/**
|
|
7
7
|
* Shape options for the TagInput component
|
|
8
8
|
*/
|
|
9
|
-
export declare type Shape = 'default' | '
|
|
9
|
+
export declare type Shape = 'default' | 'square' | 'rounded' | 'pill';
|
|
10
10
|
/**
|
|
11
11
|
* Variant options for the TagInput component
|
|
12
12
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
2
|
export declare type Variant = 'outline' | 'default' | 'none';
|
|
3
|
-
export declare type Shape = 'default' | '
|
|
3
|
+
export declare type Shape = 'default' | 'square' | 'rounded';
|
|
4
4
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
export declare type TextAreaStyles = {
|
|
6
6
|
warper?: ViewProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
2
|
export declare type Variant = 'outline' | 'default' | 'none';
|
|
3
|
-
export declare type Shape = 'default' | '
|
|
3
|
+
export declare type Shape = 'default' | 'square' | 'rounded' | 'pill';
|
|
4
4
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
5
|
export declare type TextFieldStyles = {
|
|
6
6
|
text?: ViewProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
2
|
export declare type Position = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
3
|
-
export declare type Shape = '
|
|
3
|
+
export declare type Shape = 'square' | 'rounded';
|
|
4
4
|
export declare type CloseButtonPosition = 'left' | 'right' | 'none';
|
|
5
5
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
6
|
export declare type MessageType = 'info' | 'warning' | 'error' | 'success';
|
|
@@ -12,7 +12,7 @@ export interface ModalProps extends Omit<ViewProps, 'size'> {
|
|
|
12
12
|
*/
|
|
13
13
|
iconSize?: Size;
|
|
14
14
|
/**
|
|
15
|
-
* Determines whether the modal should have
|
|
15
|
+
* Determines whether the modal should have square or rounded edges.
|
|
16
16
|
*/
|
|
17
17
|
shape?: Shape;
|
|
18
18
|
/**
|
|
@@ -142,7 +142,7 @@ export interface ContainerProps extends Omit<ViewProps, 'size'> {
|
|
|
142
142
|
*/
|
|
143
143
|
children: React.ReactNode;
|
|
144
144
|
/**
|
|
145
|
-
* To give a
|
|
145
|
+
* To give a square or rounded edges to the modal
|
|
146
146
|
*/
|
|
147
147
|
shape?: Shape;
|
|
148
148
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewProps, TextProps } from 'app-studio';
|
|
2
|
-
export declare type Shape = '
|
|
2
|
+
export declare type Shape = 'square' | 'rounded' | 'pill';
|
|
3
3
|
export declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
4
|
export declare type Variant = 'default' | 'outline';
|
|
5
5
|
export declare type Orientation = 'horizontal' | 'vertical';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare type Shape = '
|
|
1
|
+
export declare type Shape = 'square' | 'rounded' | 'pill';
|
|
2
2
|
export declare type Variant = 'outline' | 'link' | 'ghost';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare type Shape = '
|
|
2
|
+
export declare type Shape = 'square' | 'rounded' | 'pill';
|
|
3
3
|
export declare type Variant = 'outline' | 'link' | 'ghost';
|
|
4
4
|
export declare type ToggleItem = {
|
|
5
5
|
id: string;
|