@app-studio/web 0.7.11 → 0.7.13
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/File/File.d.ts +5 -2
- package/dist/components/Form/DatePicker/DatePicker/DatePicker.props.d.ts +2 -6
- package/dist/components/Text/Text/Text.props.d.ts +0 -4
- package/dist/web.cjs.development.js +2 -5
- 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 +2 -5
- package/dist/web.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ViewProps, ImageProps } from 'app-studio';
|
|
2
3
|
export declare const FileSVG: ({ src, color, ...props }: {
|
|
3
4
|
src: string;
|
|
4
5
|
color?: string | undefined;
|
|
5
|
-
}) => React.JSX.Element;
|
|
6
|
-
export declare const FileImage: ({ path, ...props }:
|
|
6
|
+
} & ViewProps) => React.JSX.Element;
|
|
7
|
+
export declare const FileImage: ({ path, ...props }: {
|
|
8
|
+
path: string;
|
|
9
|
+
} & ImageProps) => React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { Elevation } from 'src/utils/elevation';
|
|
3
|
-
import { Shadow } from 'app-studio';
|
|
3
|
+
import { Shadow, ViewProps } from 'app-studio';
|
|
4
4
|
import { DatePickerStyles, Shape, Size, Variant } from './DatePicker.type';
|
|
5
|
-
export interface DatePickerProps {
|
|
5
|
+
export interface DatePickerProps extends Omit<ViewProps, 'size'> {
|
|
6
6
|
id?: string;
|
|
7
7
|
/**
|
|
8
8
|
* Custom icon to display when the DatePicker is checked.
|
|
@@ -64,10 +64,6 @@ export interface DatePickerProps {
|
|
|
64
64
|
* Adds a shadow effect to the DatePicker.
|
|
65
65
|
*/
|
|
66
66
|
shadow?: Shadow | Elevation | CSSProperties;
|
|
67
|
-
/**
|
|
68
|
-
* Other properties that can be passed to the component.
|
|
69
|
-
*/
|
|
70
|
-
[x: string]: any;
|
|
71
67
|
}
|
|
72
68
|
export interface DatePickerViewProps extends DatePickerProps {
|
|
73
69
|
/**
|
|
@@ -46,10 +46,6 @@ export interface TextProps extends Omit<TextAppProps, 'children' | 'style' | 'po
|
|
|
46
46
|
* Specifies the font weight of the text.
|
|
47
47
|
*/
|
|
48
48
|
weight?: TextWeights;
|
|
49
|
-
/**
|
|
50
|
-
* Additional properties for customization and extension.
|
|
51
|
-
*/
|
|
52
|
-
[x: string]: any;
|
|
53
49
|
}
|
|
54
50
|
export interface ContentProps {
|
|
55
51
|
/**
|
|
@@ -2938,18 +2938,15 @@ var HelperText = function HelperText(_ref) {
|
|
|
2938
2938
|
}, styles['helperText'], props), children);
|
|
2939
2939
|
};
|
|
2940
2940
|
|
|
2941
|
-
var _excluded$j = ["
|
|
2941
|
+
var _excluded$j = ["justifyContent", "isReversed"];
|
|
2942
2942
|
var VerticalView = function VerticalView(_ref) {
|
|
2943
|
-
var _ref$
|
|
2944
|
-
wrap = _ref$wrap === void 0 ? 'wrap' : _ref$wrap,
|
|
2945
|
-
_ref$justifyContent = _ref.justifyContent,
|
|
2943
|
+
var _ref$justifyContent = _ref.justifyContent,
|
|
2946
2944
|
justifyContent = _ref$justifyContent === void 0 ? 'flex-start' : _ref$justifyContent,
|
|
2947
2945
|
_ref$isReversed = _ref.isReversed,
|
|
2948
2946
|
isReversed = _ref$isReversed === void 0 ? false : _ref$isReversed,
|
|
2949
2947
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
|
2950
2948
|
return React__default.createElement(appStudio.View, Object.assign({
|
|
2951
2949
|
display: "flex",
|
|
2952
|
-
flexWrap: wrap,
|
|
2953
2950
|
justifyContent: justifyContent,
|
|
2954
2951
|
flexDirection: isReversed ? 'column-reverse' : 'column'
|
|
2955
2952
|
}, props));
|