@app-studio/web 0.8.19 → 0.8.21
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/index.d.ts +1 -0
- package/dist/web.cjs.development.js +60 -7
- 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 +60 -8
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +64 -9
- 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
|
@@ -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 = 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"
|
|
@@ -1210,6 +1208,60 @@ var CloudIcon = _ref51 => {
|
|
|
1210
1208
|
})));
|
|
1211
1209
|
};
|
|
1212
1210
|
|
|
1211
|
+
var Icon = {
|
|
1212
|
+
__proto__: null,
|
|
1213
|
+
ChevronIcon: ChevronIcon,
|
|
1214
|
+
CheckIcon: CheckIcon,
|
|
1215
|
+
CloseIcon: CloseIcon,
|
|
1216
|
+
CloseEyeIcon: CloseEyeIcon,
|
|
1217
|
+
DustBinIcon: DustBinIcon,
|
|
1218
|
+
EditIcon: EditIcon,
|
|
1219
|
+
ExternalLinkIcon: ExternalLinkIcon,
|
|
1220
|
+
MinusIcon: MinusIcon,
|
|
1221
|
+
InfoIcon: InfoIcon,
|
|
1222
|
+
OpenEyeIcon: OpenEyeIcon,
|
|
1223
|
+
PlusIcon: PlusIcon,
|
|
1224
|
+
SpinnerIcon: SpinnerIcon,
|
|
1225
|
+
ProfileIcon: ProfileIcon,
|
|
1226
|
+
ArrowIcon: ArrowIcon,
|
|
1227
|
+
SearchIcon: SearchIcon,
|
|
1228
|
+
SuccessIcon: SuccessIcon,
|
|
1229
|
+
TickIcon: TickIcon,
|
|
1230
|
+
NotificationIcon: NotificationIcon,
|
|
1231
|
+
SettingsIcon: SettingsIcon,
|
|
1232
|
+
CalendarIcon: CalendarIcon,
|
|
1233
|
+
AddIcon: AddIcon,
|
|
1234
|
+
DownloadIcon: DownloadIcon,
|
|
1235
|
+
UploadIcon: UploadIcon,
|
|
1236
|
+
BookmarkIcon: BookmarkIcon,
|
|
1237
|
+
HomeIcon: HomeIcon,
|
|
1238
|
+
MenuIcon: MenuIcon,
|
|
1239
|
+
ShareIcon: ShareIcon,
|
|
1240
|
+
FilterIcon: FilterIcon,
|
|
1241
|
+
RefreshIcon: RefreshIcon,
|
|
1242
|
+
CopyIcon: CopyIcon,
|
|
1243
|
+
SaveIcon: SaveIcon,
|
|
1244
|
+
PrintIcon: PrintIcon,
|
|
1245
|
+
LockIcon: LockIcon,
|
|
1246
|
+
UnlockIcon: UnlockIcon,
|
|
1247
|
+
StarIcon: StarIcon,
|
|
1248
|
+
HeartIcon: HeartIcon,
|
|
1249
|
+
ThumbUpIcon: ThumbUpIcon,
|
|
1250
|
+
ThumbDownIcon: ThumbDownIcon,
|
|
1251
|
+
LocationIcon: LocationIcon,
|
|
1252
|
+
ClockIcon: ClockIcon,
|
|
1253
|
+
CameraIcon: CameraIcon,
|
|
1254
|
+
MicrophoneIcon: MicrophoneIcon,
|
|
1255
|
+
WifiIcon: WifiIcon,
|
|
1256
|
+
BluetoothIcon: BluetoothIcon,
|
|
1257
|
+
BatteryIcon: BatteryIcon,
|
|
1258
|
+
SunIcon: SunIcon,
|
|
1259
|
+
MoonIcon: MoonIcon,
|
|
1260
|
+
ErrorIcon: ErrorIcon,
|
|
1261
|
+
WarningIcon: WarningIcon,
|
|
1262
|
+
CloudIcon: CloudIcon
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1213
1265
|
// Define a constant object 'Themes' exporting various theme styles.
|
|
1214
1266
|
var Themes = {
|
|
1215
1267
|
// Start of the 'default' theme definition with style properties.
|
|
@@ -5243,12 +5295,12 @@ var CountryPickerView = _ref5 => {
|
|
|
5243
5295
|
}, fieldStyles, props, {
|
|
5244
5296
|
value: value,
|
|
5245
5297
|
onChange: handleChange
|
|
5246
|
-
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(
|
|
5298
|
+
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
5247
5299
|
orientation: "down",
|
|
5248
5300
|
size: IconSizes$4[size],
|
|
5249
5301
|
color: IconColor,
|
|
5250
5302
|
style: styles['icon']
|
|
5251
|
-
})) : (/*#__PURE__*/React__default.createElement(
|
|
5303
|
+
})) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
5252
5304
|
orientation: "up",
|
|
5253
5305
|
size: IconSizes$4[size],
|
|
5254
5306
|
color: IconColor,
|
|
@@ -5581,7 +5633,7 @@ var ComboBoxView = _ref => {
|
|
|
5581
5633
|
onChange: value => handleSearch(value),
|
|
5582
5634
|
hint: placeholder,
|
|
5583
5635
|
isClearable: false,
|
|
5584
|
-
leftChild: /*#__PURE__*/React__default.createElement(
|
|
5636
|
+
leftChild: /*#__PURE__*/React__default.createElement(SearchIcon, {
|
|
5585
5637
|
size: 12
|
|
5586
5638
|
}),
|
|
5587
5639
|
styles: {
|
|
@@ -5603,7 +5655,7 @@ var ComboBoxView = _ref => {
|
|
|
5603
5655
|
backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
|
|
5604
5656
|
onMouseEnter: () => setHighlightedIndex(index),
|
|
5605
5657
|
onClick: () => handleSelect(item)
|
|
5606
|
-
}, 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(
|
|
5658
|
+
}, 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, {
|
|
5607
5659
|
size: 20
|
|
5608
5660
|
}))))))))))));
|
|
5609
5661
|
};
|
|
@@ -6613,7 +6665,7 @@ var TabsView = props => {
|
|
|
6613
6665
|
// Returns a boolean indicating if the given tab is identical to the first tab in 'tabsState'.
|
|
6614
6666
|
return tab.value === tabsState[0].value;
|
|
6615
6667
|
};
|
|
6616
|
-
return /*#__PURE__*/React__default.createElement(
|
|
6668
|
+
return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
|
|
6617
6669
|
width: "100w",
|
|
6618
6670
|
height: '100%'
|
|
6619
6671
|
}, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
@@ -6908,6 +6960,7 @@ exports.FormikTextField = FormikTextField;
|
|
|
6908
6960
|
exports.HeartIcon = HeartIcon;
|
|
6909
6961
|
exports.HomeIcon = HomeIcon;
|
|
6910
6962
|
exports.Horizontal = Horizontal;
|
|
6963
|
+
exports.Icon = Icon;
|
|
6911
6964
|
exports.InfoIcon = InfoIcon;
|
|
6912
6965
|
exports.Inline = Inline;
|
|
6913
6966
|
exports.Left = Left;
|