@app-studio/web 0.8.21 → 0.8.22

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,3 +1,4 @@
1
1
  import React from 'react';
2
- import { CenterProps } from './Center/Center.props';
3
- export declare const Center: React.FC<CenterProps>;
2
+ import { CenterProps } from './Center.props';
3
+ declare const Center: React.ForwardRefExoticComponent<Pick<CenterProps, string | number> & React.RefAttributes<HTMLElement>>;
4
+ export { Center };
@@ -1,3 +1,3 @@
1
- import { ViewProps } from '../../View/View';
1
+ import { ViewProps } from '../View/View';
2
2
  export interface CenterProps extends ViewProps {
3
3
  }
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
- import { HorizontalProps } from './Horizontal/Horizontal.props';
3
- export declare const Horizontal: React.FC<HorizontalProps>;
2
+ import { HorizontalProps } from './Horizontal.props';
3
+ declare const Horizontal: React.ForwardRefExoticComponent<Pick<HorizontalProps, string | number> & React.RefAttributes<HTMLElement>>;
4
+ export { Horizontal };
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
- import { VerticalProps } from './Vertical/Vertical.props';
3
- export declare const Vertical: React.FC<VerticalProps>;
2
+ import { VerticalProps } from './Vertical.props';
3
+ declare const Vertical: React.ForwardRefExoticComponent<Pick<VerticalProps, string | number> & React.RefAttributes<HTMLElement>>;
4
+ export { Vertical };
@@ -171,7 +171,7 @@ var TextComponent = props => {
171
171
  var Text = TextComponent;
172
172
 
173
173
  var _excluded$1 = ["justifyContent", "isReversed"];
174
- var VerticalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
174
+ var Vertical = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
175
175
  var {
176
176
  // Sets a default alignment for content within the Vertical container to 'flex-start'
177
177
  justifyContent = 'flex-start',
@@ -187,12 +187,10 @@ var VerticalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
187
187
  ref: ref
188
188
  }));
189
189
  });
190
- VerticalView.displayName = 'VerticalView';
191
-
192
- var Vertical = props => (/*#__PURE__*/React__default.createElement(VerticalView, Object.assign({}, props)));
190
+ Vertical.displayName = 'Vertical';
193
191
 
194
192
  var _excluded$2 = ["justifyContent", "isReversed"];
195
- var HorizontalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
193
+ var Horizontal = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
196
194
  var {
197
195
  // Sets a default alignment for content within the Horizontal container to 'flex-start'
198
196
  justifyContent = 'flex-start',
@@ -208,12 +206,10 @@ var HorizontalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
208
206
  ref: ref
209
207
  }));
210
208
  });
211
- HorizontalView.displayName = 'Horizontal';
212
-
213
- var Horizontal = props => (/*#__PURE__*/React__default.createElement(HorizontalView, Object.assign({}, props)));
209
+ Horizontal.displayName = 'Horizontal';
214
210
 
215
211
  var _excluded$3 = ["isReversed"];
216
- var CenterView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
212
+ var Center = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
217
213
  var props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
218
214
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
219
215
  display: "flex",
@@ -223,9 +219,7 @@ var CenterView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
223
219
  ref: ref
224
220
  }));
225
221
  });
226
- CenterView.displayName = 'Center';
227
-
228
- var Center = props => (/*#__PURE__*/React__default.createElement(CenterView, Object.assign({}, props)));
222
+ Center.displayName = 'Center';
229
223
 
230
224
  var _excluded$4 = ["size", "color"],
231
225
  _excluded2 = ["size", "color"],