@app-studio/web 0.7.12 → 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.
@@ -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 = ["wrap", "justifyContent", "isReversed"];
2941
+ var _excluded$j = ["justifyContent", "isReversed"];
2942
2942
  var VerticalView = function VerticalView(_ref) {
2943
- var _ref$wrap = _ref.wrap,
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));