@app-studio/web 0.8.20 → 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.
- package/dist/components/Layout/Center/Center.d.ts +3 -2
- package/dist/components/Layout/Center/{Center/Center.props.d.ts → Center.props.d.ts} +1 -1
- package/dist/components/Layout/Horizontal/Horizontal.d.ts +3 -2
- package/dist/components/Layout/Vertical/Vertical.d.ts +3 -2
- package/dist/web.cjs.development.js +11 -19
- 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 +11 -19
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +15 -21
- 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
- package/dist/components/Layout/Center/Center/Center.view.d.ts +0 -4
- package/dist/components/Layout/Horizontal/Horizontal/Horizontal.view.d.ts +0 -4
- package/dist/components/Layout/Vertical/Vertical/Vertical.view.d.ts +0 -4
- /package/dist/components/Layout/Horizontal/{Horizontal/Horizontal.props.d.ts → Horizontal.props.d.ts} +0 -0
- /package/dist/components/Layout/Vertical/{Vertical/Vertical.props.d.ts → Vertical.props.d.ts} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CenterProps } from './Center
|
|
3
|
-
|
|
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,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { HorizontalProps } from './Horizontal
|
|
3
|
-
|
|
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
|
|
3
|
-
|
|
2
|
+
import { VerticalProps } from './Vertical.props';
|
|
3
|
+
declare const Vertical: React.ForwardRefExoticComponent<Pick<VerticalProps, string | number> & React.RefAttributes<HTMLElement>>;
|
|
4
|
+
export { Vertical };
|
|
@@ -16,11 +16,9 @@ var reactRouterDom = require('react-router-dom');
|
|
|
16
16
|
require('core-js/modules/es.array.includes.js');
|
|
17
17
|
require('core-js/modules/es.string.includes.js');
|
|
18
18
|
require('core-js/modules/es.string.starts-with.js');
|
|
19
|
-
var Icon$1 = require('src/components/Icon/Icon');
|
|
20
19
|
var format = _interopDefault(require('date-fns/format'));
|
|
21
20
|
var formik = require('formik');
|
|
22
21
|
var zustand = require('zustand');
|
|
23
|
-
var Layout = require('src/components/Layout');
|
|
24
22
|
|
|
25
23
|
var Top = props => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
26
24
|
marginBottom: "auto"
|
|
@@ -173,7 +171,7 @@ var TextComponent = props => {
|
|
|
173
171
|
var Text = TextComponent;
|
|
174
172
|
|
|
175
173
|
var _excluded$1 = ["justifyContent", "isReversed"];
|
|
176
|
-
var
|
|
174
|
+
var Vertical = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
177
175
|
var {
|
|
178
176
|
// Sets a default alignment for content within the Vertical container to 'flex-start'
|
|
179
177
|
justifyContent = 'flex-start',
|
|
@@ -189,12 +187,10 @@ var VerticalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
189
187
|
ref: ref
|
|
190
188
|
}));
|
|
191
189
|
});
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
var Vertical = props => (/*#__PURE__*/React__default.createElement(VerticalView, Object.assign({}, props)));
|
|
190
|
+
Vertical.displayName = 'Vertical';
|
|
195
191
|
|
|
196
192
|
var _excluded$2 = ["justifyContent", "isReversed"];
|
|
197
|
-
var
|
|
193
|
+
var Horizontal = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
198
194
|
var {
|
|
199
195
|
// Sets a default alignment for content within the Horizontal container to 'flex-start'
|
|
200
196
|
justifyContent = 'flex-start',
|
|
@@ -210,12 +206,10 @@ var HorizontalView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
210
206
|
ref: ref
|
|
211
207
|
}));
|
|
212
208
|
});
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
var Horizontal = props => (/*#__PURE__*/React__default.createElement(HorizontalView, Object.assign({}, props)));
|
|
209
|
+
Horizontal.displayName = 'Horizontal';
|
|
216
210
|
|
|
217
211
|
var _excluded$3 = ["isReversed"];
|
|
218
|
-
var
|
|
212
|
+
var Center = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
219
213
|
var props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
220
214
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
221
215
|
display: "flex",
|
|
@@ -225,9 +219,7 @@ var CenterView = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
225
219
|
ref: ref
|
|
226
220
|
}));
|
|
227
221
|
});
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
var Center = props => (/*#__PURE__*/React__default.createElement(CenterView, Object.assign({}, props)));
|
|
222
|
+
Center.displayName = 'Center';
|
|
231
223
|
|
|
232
224
|
var _excluded$4 = ["size", "color"],
|
|
233
225
|
_excluded2 = ["size", "color"],
|
|
@@ -5297,12 +5289,12 @@ var CountryPickerView = _ref5 => {
|
|
|
5297
5289
|
}, fieldStyles, props, {
|
|
5298
5290
|
value: value,
|
|
5299
5291
|
onChange: handleChange
|
|
5300
|
-
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(
|
|
5292
|
+
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
5301
5293
|
orientation: "down",
|
|
5302
5294
|
size: IconSizes$4[size],
|
|
5303
5295
|
color: IconColor,
|
|
5304
5296
|
style: styles['icon']
|
|
5305
|
-
})) : (/*#__PURE__*/React__default.createElement(
|
|
5297
|
+
})) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
5306
5298
|
orientation: "up",
|
|
5307
5299
|
size: IconSizes$4[size],
|
|
5308
5300
|
color: IconColor,
|
|
@@ -5635,7 +5627,7 @@ var ComboBoxView = _ref => {
|
|
|
5635
5627
|
onChange: value => handleSearch(value),
|
|
5636
5628
|
hint: placeholder,
|
|
5637
5629
|
isClearable: false,
|
|
5638
|
-
leftChild: /*#__PURE__*/React__default.createElement(
|
|
5630
|
+
leftChild: /*#__PURE__*/React__default.createElement(SearchIcon, {
|
|
5639
5631
|
size: 12
|
|
5640
5632
|
}),
|
|
5641
5633
|
styles: {
|
|
@@ -5657,7 +5649,7 @@ var ComboBoxView = _ref => {
|
|
|
5657
5649
|
backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
|
|
5658
5650
|
onMouseEnter: () => setHighlightedIndex(index),
|
|
5659
5651
|
onClick: () => handleSelect(item)
|
|
5660
|
-
}, styles == null ? void 0 : styles.item), /*#__PURE__*/React__default.createElement(Text, null, item.label), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React__default.createElement(
|
|
5652
|
+
}, styles == null ? void 0 : styles.item), /*#__PURE__*/React__default.createElement(Text, null, item.label), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React__default.createElement(TickIcon, {
|
|
5661
5653
|
size: 20
|
|
5662
5654
|
}))))))))))));
|
|
5663
5655
|
};
|
|
@@ -6667,7 +6659,7 @@ var TabsView = props => {
|
|
|
6667
6659
|
// Returns a boolean indicating if the given tab is identical to the first tab in 'tabsState'.
|
|
6668
6660
|
return tab.value === tabsState[0].value;
|
|
6669
6661
|
};
|
|
6670
|
-
return /*#__PURE__*/React__default.createElement(
|
|
6662
|
+
return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
|
|
6671
6663
|
width: "100w",
|
|
6672
6664
|
height: '100%'
|
|
6673
6665
|
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|