@app-studio/web 0.8.25 → 0.8.26
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/Layout/Center/Center.d.ts +1 -0
- package/dist/components/Layout/Horizontal/Horizontal.d.ts +1 -0
- package/dist/components/Layout/Vertical/Vertical.d.ts +2 -1
- package/dist/web.cjs.development.js +6 -6
- 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 +6 -6
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +6 -6
- 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
|
@@ -2,3 +2,4 @@ import React from 'react';
|
|
|
2
2
|
import { HorizontalProps } from './Horizontal.props';
|
|
3
3
|
declare const Horizontal: React.ForwardRefExoticComponent<Pick<HorizontalProps, string | number> & React.RefAttributes<HTMLElement>>;
|
|
4
4
|
export { Horizontal };
|
|
5
|
+
export type { HorizontalProps };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { VerticalProps } from './Vertical.props';
|
|
3
|
-
declare const Vertical: React.ForwardRefExoticComponent<Pick<VerticalProps, string | number> & React.RefAttributes<
|
|
3
|
+
declare const Vertical: React.ForwardRefExoticComponent<Pick<VerticalProps, string | number> & React.RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export { Vertical };
|
|
5
|
+
export type { VerticalProps };
|
|
@@ -173,16 +173,16 @@ var Text = TextComponent;
|
|
|
173
173
|
var _excluded$1 = ["justifyContent", "isReversed"];
|
|
174
174
|
var Vertical = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
175
175
|
var {
|
|
176
|
-
// Sets a default alignment for content within the Vertical container to 'flex-start'
|
|
177
176
|
justifyContent = 'flex-start',
|
|
178
|
-
// Determines the direction in which the Vertical elements are stacked, default not reversed
|
|
179
177
|
isReversed = false
|
|
180
178
|
} = _ref,
|
|
181
179
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
182
|
-
return /*#__PURE__*/React__default.createElement(
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
180
|
+
return /*#__PURE__*/React__default.createElement("div", Object.assign({
|
|
181
|
+
style: {
|
|
182
|
+
display: 'flex',
|
|
183
|
+
justifyContent: justifyContent,
|
|
184
|
+
flexDirection: isReversed ? 'column-reverse' : 'column'
|
|
185
|
+
}
|
|
186
186
|
}, props, {
|
|
187
187
|
ref: ref
|
|
188
188
|
}));
|