@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/web.esm.js CHANGED
@@ -9,11 +9,9 @@ import { Link as Link$1 } from 'react-router-dom';
9
9
  import 'core-js/modules/es.array.includes.js';
10
10
  import 'core-js/modules/es.string.includes.js';
11
11
  import 'core-js/modules/es.string.starts-with.js';
12
- import { ChevronIcon as ChevronIcon$1, SearchIcon as SearchIcon$1, TickIcon as TickIcon$1 } from 'src/components/Icon/Icon';
13
12
  import format from 'date-fns/format';
14
13
  import { useFormikContext, getIn } from 'formik';
15
14
  import { create } from 'zustand';
16
- import { Vertical as Vertical$1 } from 'src/components/Layout';
17
15
 
18
16
  var Top = props => (/*#__PURE__*/React.createElement(View$1, Object.assign({
19
17
  marginBottom: "auto"
@@ -1203,6 +1201,60 @@ var CloudIcon = _ref51 => {
1203
1201
  })));
1204
1202
  };
1205
1203
 
1204
+ var Icon = {
1205
+ __proto__: null,
1206
+ ChevronIcon: ChevronIcon,
1207
+ CheckIcon: CheckIcon,
1208
+ CloseIcon: CloseIcon,
1209
+ CloseEyeIcon: CloseEyeIcon,
1210
+ DustBinIcon: DustBinIcon,
1211
+ EditIcon: EditIcon,
1212
+ ExternalLinkIcon: ExternalLinkIcon,
1213
+ MinusIcon: MinusIcon,
1214
+ InfoIcon: InfoIcon,
1215
+ OpenEyeIcon: OpenEyeIcon,
1216
+ PlusIcon: PlusIcon,
1217
+ SpinnerIcon: SpinnerIcon,
1218
+ ProfileIcon: ProfileIcon,
1219
+ ArrowIcon: ArrowIcon,
1220
+ SearchIcon: SearchIcon,
1221
+ SuccessIcon: SuccessIcon,
1222
+ TickIcon: TickIcon,
1223
+ NotificationIcon: NotificationIcon,
1224
+ SettingsIcon: SettingsIcon,
1225
+ CalendarIcon: CalendarIcon,
1226
+ AddIcon: AddIcon,
1227
+ DownloadIcon: DownloadIcon,
1228
+ UploadIcon: UploadIcon,
1229
+ BookmarkIcon: BookmarkIcon,
1230
+ HomeIcon: HomeIcon,
1231
+ MenuIcon: MenuIcon,
1232
+ ShareIcon: ShareIcon,
1233
+ FilterIcon: FilterIcon,
1234
+ RefreshIcon: RefreshIcon,
1235
+ CopyIcon: CopyIcon,
1236
+ SaveIcon: SaveIcon,
1237
+ PrintIcon: PrintIcon,
1238
+ LockIcon: LockIcon,
1239
+ UnlockIcon: UnlockIcon,
1240
+ StarIcon: StarIcon,
1241
+ HeartIcon: HeartIcon,
1242
+ ThumbUpIcon: ThumbUpIcon,
1243
+ ThumbDownIcon: ThumbDownIcon,
1244
+ LocationIcon: LocationIcon,
1245
+ ClockIcon: ClockIcon,
1246
+ CameraIcon: CameraIcon,
1247
+ MicrophoneIcon: MicrophoneIcon,
1248
+ WifiIcon: WifiIcon,
1249
+ BluetoothIcon: BluetoothIcon,
1250
+ BatteryIcon: BatteryIcon,
1251
+ SunIcon: SunIcon,
1252
+ MoonIcon: MoonIcon,
1253
+ ErrorIcon: ErrorIcon,
1254
+ WarningIcon: WarningIcon,
1255
+ CloudIcon: CloudIcon
1256
+ };
1257
+
1206
1258
  // Define a constant object 'Themes' exporting various theme styles.
1207
1259
  var Themes = {
1208
1260
  // Start of the 'default' theme definition with style properties.
@@ -5236,12 +5288,12 @@ var CountryPickerView = _ref5 => {
5236
5288
  }, fieldStyles, props, {
5237
5289
  value: value,
5238
5290
  onChange: handleChange
5239
- }))), /*#__PURE__*/React.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React.createElement(ChevronIcon$1, {
5291
+ }))), /*#__PURE__*/React.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React.createElement(ChevronIcon, {
5240
5292
  orientation: "down",
5241
5293
  size: IconSizes$4[size],
5242
5294
  color: IconColor,
5243
5295
  style: styles['icon']
5244
- })) : (/*#__PURE__*/React.createElement(ChevronIcon$1, {
5296
+ })) : (/*#__PURE__*/React.createElement(ChevronIcon, {
5245
5297
  orientation: "up",
5246
5298
  size: IconSizes$4[size],
5247
5299
  color: IconColor,
@@ -5574,7 +5626,7 @@ var ComboBoxView = _ref => {
5574
5626
  onChange: value => handleSearch(value),
5575
5627
  hint: placeholder,
5576
5628
  isClearable: false,
5577
- leftChild: /*#__PURE__*/React.createElement(SearchIcon$1, {
5629
+ leftChild: /*#__PURE__*/React.createElement(SearchIcon, {
5578
5630
  size: 12
5579
5631
  }),
5580
5632
  styles: {
@@ -5596,7 +5648,7 @@ var ComboBoxView = _ref => {
5596
5648
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
5597
5649
  onMouseEnter: () => setHighlightedIndex(index),
5598
5650
  onClick: () => handleSelect(item)
5599
- }, styles == null ? void 0 : styles.item), /*#__PURE__*/React.createElement(Text, null, item.label), /*#__PURE__*/React.createElement(React.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React.createElement(TickIcon$1, {
5651
+ }, styles == null ? void 0 : styles.item), /*#__PURE__*/React.createElement(Text, null, item.label), /*#__PURE__*/React.createElement(React.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React.createElement(TickIcon, {
5600
5652
  size: 20
5601
5653
  }))))))))))));
5602
5654
  };
@@ -6606,7 +6658,7 @@ var TabsView = props => {
6606
6658
  // Returns a boolean indicating if the given tab is identical to the first tab in 'tabsState'.
6607
6659
  return tab.value === tabsState[0].value;
6608
6660
  };
6609
- return /*#__PURE__*/React.createElement(Vertical$1, Object.assign({
6661
+ return /*#__PURE__*/React.createElement(Vertical, Object.assign({
6610
6662
  width: "100w",
6611
6663
  height: '100%'
6612
6664
  }, styles == null ? void 0 : styles.container), /*#__PURE__*/React.createElement(Horizontal, Object.assign({
@@ -6855,5 +6907,5 @@ var ToggleGroupComponent = _ref => {
6855
6907
  // Expose the ToggleGroupComponent for import into other modules
6856
6908
  var ToggleGroup = ToggleGroupComponent;
6857
6909
 
6858
- export { AddIcon, Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BookmarkIcon, Bottom, Button, CalendarIcon, CameraIcon, Center, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, CopyIcon, CountryPicker, DatePicker, DownloadIcon, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikPassword, FormikSelect, FormikSwitch, FormikTextArea, FormikTextField, HeartIcon, HomeIcon, Horizontal, InfoIcon, Inline, Left, Link, Loader, LocationIcon, LockIcon, MenuIcon, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NotificationIcon, OpenEyeIcon, Password, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Right, SaveIcon, SearchIcon, Select, SettingsIcon, ShareIcon, SpinnerIcon, StarIcon, SuccessIcon, SunIcon, Switch, Table, Tabs, Text, TextArea, TextField, ThumbDownIcon, ThumbUpIcon, TickIcon, Toggle, ToggleGroup, Top, UnlockIcon, UploadIcon, Vertical, View, WarningIcon, WifiIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore };
6910
+ export { AddIcon, Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BookmarkIcon, Bottom, Button, CalendarIcon, CameraIcon, Center, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, CopyIcon, CountryPicker, DatePicker, DownloadIcon, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikPassword, FormikSelect, FormikSwitch, FormikTextArea, FormikTextField, HeartIcon, HomeIcon, Horizontal, Icon, InfoIcon, Inline, Left, Link, Loader, LocationIcon, LockIcon, MenuIcon, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NotificationIcon, OpenEyeIcon, Password, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Right, SaveIcon, SearchIcon, Select, SettingsIcon, ShareIcon, SpinnerIcon, StarIcon, SuccessIcon, SunIcon, Switch, Table, Tabs, Text, TextArea, TextField, ThumbDownIcon, ThumbUpIcon, TickIcon, Toggle, ToggleGroup, Top, UnlockIcon, UploadIcon, Vertical, View, WarningIcon, WifiIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore };
6859
6911
  //# sourceMappingURL=web.esm.js.map