@app-studio/web 0.8.66 → 0.8.67
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/Alert/Alert/Alert.type.d.ts +5 -5
- package/dist/components/AspectRatio/AspectRatio/AspectRatio.props.d.ts +5 -0
- package/dist/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +1 -1
- package/dist/components/Avatar/Avatar/Avatar.type.d.ts +4 -4
- package/dist/components/Badge/Badge/Badge.style.d.ts +3 -2
- package/dist/components/Badge/Badge/Badge.type.d.ts +3 -3
- package/dist/components/Button/Button/Button.props.d.ts +2 -2
- package/dist/components/Button/Button/Button.style.d.ts +3 -3
- package/dist/components/Button/Button/Button.view.d.ts +9 -1
- package/dist/components/DragAndDrop/DragAndDrop/DragAndDrop.props.d.ts +10 -0
- package/dist/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +1 -8
- package/dist/components/File/File.d.ts +7 -3
- package/dist/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +3 -2
- package/dist/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +2 -2
- package/dist/components/Form/CountryPicker/CountryPicker/CountryPicker.props.d.ts +5 -6
- package/dist/components/Form/DatePicker/DatePicker/DatePicker.props.d.ts +2 -2
- package/dist/components/Form/Select/Select/Select.props.d.ts +2 -3
- package/dist/components/Form/Select/Select/Select.style.d.ts +2 -2
- package/dist/components/Form/Switch/Switch/Switch.props.d.ts +3 -3
- package/dist/components/Form/Switch/Switch/Switch.style.d.ts +3 -3
- package/dist/components/Form/TextArea/TextArea/TextArea.props.d.ts +2 -3
- package/dist/components/Form/TextArea/TextArea/TextArea.type.d.ts +6 -6
- package/dist/components/Form/TextField/TextField/TextField.props.d.ts +3 -3
- package/dist/components/Icon/Icon.d.ts +1 -3
- package/dist/components/Layout/Center/Center.props.d.ts +1 -1
- package/dist/components/Layout/Input/FieldContent/FieldContent/FieldContent.props.d.ts +2 -2
- package/dist/components/Layout/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
- package/dist/components/Layout/View/View.d.ts +0 -1
- package/dist/components/Layout/configs/Input.style.d.ts +3 -3
- package/dist/components/Layout/configs/Input.type.d.ts +5 -5
- package/dist/components/Loader/Loader/Loader.view.d.ts +8 -1
- package/dist/components/Message/Message/Message.style.d.ts +2 -2
- package/dist/components/Message/Message/Message.type.d.ts +8 -7
- package/dist/components/Modal/Modal/Modal.props.d.ts +19 -6
- package/dist/components/Modal/Modal/Modal.style.d.ts +4 -4
- package/dist/components/Modal/Modal/Modal.view.d.ts +16 -2
- package/dist/components/Table/Table/Table.context.d.ts +16 -13
- package/dist/components/Table/Table/Table.view.d.ts +9 -8
- package/dist/components/Text/Text/Text.props.d.ts +2 -2
- package/dist/components/Text/Text/Text.view.d.ts +7 -1
- package/dist/components/Text/Text.d.ts +1 -2
- package/dist/components/Toggle/Toggle/Toggle.view.d.ts +7 -1
- package/dist/components/ToggleGroup/ToggleGroup/ToggleGroup.props.d.ts +5 -1
- package/dist/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +1 -1
- package/dist/components/Uploader/Uploader/Uploader.props.d.ts +7 -0
- package/dist/web.cjs.development.js +318 -312
- 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 +319 -313
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +321 -316
- 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/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
2
3
|
import { TableViewProps } from './Table.props';
|
|
3
|
-
export declare const TableContainer: React.FC<
|
|
4
|
-
export declare const TableHead: React.FC<
|
|
5
|
-
export declare const TableHeadCell: React.FC<
|
|
6
|
-
export declare const TableRow: React.FC<
|
|
7
|
-
export declare const TableCell: React.FC<
|
|
8
|
-
export declare const TableBody: React.FC<
|
|
9
|
-
export declare const TableFooter: React.FC<
|
|
10
|
-
export declare const TableCaption: React.FC<
|
|
4
|
+
export declare const TableContainer: React.FC<ViewProps>;
|
|
5
|
+
export declare const TableHead: React.FC<ViewProps>;
|
|
6
|
+
export declare const TableHeadCell: React.FC<ViewProps>;
|
|
7
|
+
export declare const TableRow: React.FC<ViewProps>;
|
|
8
|
+
export declare const TableCell: React.FC<ViewProps>;
|
|
9
|
+
export declare const TableBody: React.FC<ViewProps>;
|
|
10
|
+
export declare const TableFooter: React.FC<ViewProps>;
|
|
11
|
+
export declare const TableCaption: React.FC<ViewProps>;
|
|
11
12
|
export declare const TableView: React.FC<TableViewProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { TextProps as TextAppProps } from 'app-studio';
|
|
3
3
|
import { Headings, Size, TextWeights } from './Text.type';
|
|
4
|
-
export interface TextProps extends Omit<TextAppProps, 'children' | 'style' | 'pointerEvents'
|
|
4
|
+
export interface TextProps extends Omit<TextAppProps, 'children' | 'style' | 'pointerEvents'> {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
heading?: Headings;
|
|
7
7
|
isItalic?: boolean;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
2
3
|
import { TextProps } from './Text.props';
|
|
3
|
-
|
|
4
|
+
interface Props extends TextProps {
|
|
5
|
+
views?: {
|
|
6
|
+
container?: ViewProps;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const TextView: React.FC<Props>;
|
|
4
10
|
export default TextView;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TextProps } from './Text/Text.props';
|
|
3
2
|
/**
|
|
4
3
|
* The Text component is a simple component that renders a text string or paragraphs as a DOM element in the UI. It is a <p> tag by default.
|
|
5
4
|
*/
|
|
6
|
-
export declare const Text: React.FC<
|
|
5
|
+
export declare const Text: React.FC<any>;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
2
3
|
import { ToggleViewProps } from './Toggle.props';
|
|
3
|
-
|
|
4
|
+
interface Props extends ToggleViewProps {
|
|
5
|
+
views?: {
|
|
6
|
+
container?: ViewProps;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const ToggleView: React.FC<Props>;
|
|
4
10
|
export default ToggleView;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface ToggleGroupProps {
|
|
3
3
|
}
|
|
4
|
-
import { InputProps } from 'app-studio';
|
|
4
|
+
import { InputProps, ViewProps } from 'app-studio';
|
|
5
5
|
import { Shape, ToggleItem, Variant } from './ToggleGroup.type';
|
|
6
6
|
export interface ToggleGroupProps extends Omit<InputProps, 'size'> {
|
|
7
7
|
shape?: Shape;
|
|
@@ -12,4 +12,8 @@ export interface ToggleGroupProps extends Omit<InputProps, 'size'> {
|
|
|
12
12
|
export interface ToggleGroupViewProps extends Omit<ToggleGroupProps, ''> {
|
|
13
13
|
activeToggles: string[];
|
|
14
14
|
setActiveToggles: React.Dispatch<React.SetStateAction<string[]>>;
|
|
15
|
+
views?: {
|
|
16
|
+
container?: ViewProps;
|
|
17
|
+
toggle?: ViewProps;
|
|
18
|
+
};
|
|
15
19
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ToggleGroupViewProps } from './ToggleGroup.props';
|
|
3
|
-
export declare const ToggleGroupView: ({ items, onToggleChange, activeToggles, setActiveToggles, shape, variant, }: ToggleGroupViewProps) => React.JSX.Element;
|
|
3
|
+
export declare const ToggleGroupView: ({ items, onToggleChange, activeToggles, setActiveToggles, shape, variant, views, }: ToggleGroupViewProps) => React.JSX.Element;
|
|
@@ -45,6 +45,13 @@ export interface UploadViewProps {
|
|
|
45
45
|
handleClick?: () => void;
|
|
46
46
|
onFileSelect?: (file: File) => void;
|
|
47
47
|
validateFile?: (file: File) => string | null;
|
|
48
|
+
views?: {
|
|
49
|
+
container?: ViewProps;
|
|
50
|
+
view?: ViewProps;
|
|
51
|
+
image?: ImageProps;
|
|
52
|
+
horizontal?: ViewProps;
|
|
53
|
+
text?: ViewProps;
|
|
54
|
+
};
|
|
48
55
|
}
|
|
49
56
|
export interface UploadProps extends UseUploadProps, UploadViewProps {
|
|
50
57
|
}
|