@app-studio/web 0.8.19 → 0.8.20

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.
@@ -27,5 +27,6 @@ export * from './Table/Table';
27
27
  export * from './Tabs/Tabs';
28
28
  export * from './Text/Text';
29
29
  export * from './Icon/Icon';
30
+ export * as Icon from './Icon/Icon';
30
31
  export * from './Toggle/Toggle';
31
32
  export * from './ToggleGroup/ToggleGroup';
@@ -16,7 +16,7 @@ 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');
19
+ var Icon$1 = require('src/components/Icon/Icon');
20
20
  var format = _interopDefault(require('date-fns/format'));
21
21
  var formik = require('formik');
22
22
  var zustand = require('zustand');
@@ -1210,6 +1210,60 @@ var CloudIcon = _ref51 => {
1210
1210
  })));
1211
1211
  };
1212
1212
 
1213
+ var Icon = {
1214
+ __proto__: null,
1215
+ ChevronIcon: ChevronIcon,
1216
+ CheckIcon: CheckIcon,
1217
+ CloseIcon: CloseIcon,
1218
+ CloseEyeIcon: CloseEyeIcon,
1219
+ DustBinIcon: DustBinIcon,
1220
+ EditIcon: EditIcon,
1221
+ ExternalLinkIcon: ExternalLinkIcon,
1222
+ MinusIcon: MinusIcon,
1223
+ InfoIcon: InfoIcon,
1224
+ OpenEyeIcon: OpenEyeIcon,
1225
+ PlusIcon: PlusIcon,
1226
+ SpinnerIcon: SpinnerIcon,
1227
+ ProfileIcon: ProfileIcon,
1228
+ ArrowIcon: ArrowIcon,
1229
+ SearchIcon: SearchIcon,
1230
+ SuccessIcon: SuccessIcon,
1231
+ TickIcon: TickIcon,
1232
+ NotificationIcon: NotificationIcon,
1233
+ SettingsIcon: SettingsIcon,
1234
+ CalendarIcon: CalendarIcon,
1235
+ AddIcon: AddIcon,
1236
+ DownloadIcon: DownloadIcon,
1237
+ UploadIcon: UploadIcon,
1238
+ BookmarkIcon: BookmarkIcon,
1239
+ HomeIcon: HomeIcon,
1240
+ MenuIcon: MenuIcon,
1241
+ ShareIcon: ShareIcon,
1242
+ FilterIcon: FilterIcon,
1243
+ RefreshIcon: RefreshIcon,
1244
+ CopyIcon: CopyIcon,
1245
+ SaveIcon: SaveIcon,
1246
+ PrintIcon: PrintIcon,
1247
+ LockIcon: LockIcon,
1248
+ UnlockIcon: UnlockIcon,
1249
+ StarIcon: StarIcon,
1250
+ HeartIcon: HeartIcon,
1251
+ ThumbUpIcon: ThumbUpIcon,
1252
+ ThumbDownIcon: ThumbDownIcon,
1253
+ LocationIcon: LocationIcon,
1254
+ ClockIcon: ClockIcon,
1255
+ CameraIcon: CameraIcon,
1256
+ MicrophoneIcon: MicrophoneIcon,
1257
+ WifiIcon: WifiIcon,
1258
+ BluetoothIcon: BluetoothIcon,
1259
+ BatteryIcon: BatteryIcon,
1260
+ SunIcon: SunIcon,
1261
+ MoonIcon: MoonIcon,
1262
+ ErrorIcon: ErrorIcon,
1263
+ WarningIcon: WarningIcon,
1264
+ CloudIcon: CloudIcon
1265
+ };
1266
+
1213
1267
  // Define a constant object 'Themes' exporting various theme styles.
1214
1268
  var Themes = {
1215
1269
  // Start of the 'default' theme definition with style properties.
@@ -5243,12 +5297,12 @@ var CountryPickerView = _ref5 => {
5243
5297
  }, fieldStyles, props, {
5244
5298
  value: value,
5245
5299
  onChange: handleChange
5246
- }))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(Icon.ChevronIcon, {
5300
+ }))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(Icon$1.ChevronIcon, {
5247
5301
  orientation: "down",
5248
5302
  size: IconSizes$4[size],
5249
5303
  color: IconColor,
5250
5304
  style: styles['icon']
5251
- })) : (/*#__PURE__*/React__default.createElement(Icon.ChevronIcon, {
5305
+ })) : (/*#__PURE__*/React__default.createElement(Icon$1.ChevronIcon, {
5252
5306
  orientation: "up",
5253
5307
  size: IconSizes$4[size],
5254
5308
  color: IconColor,
@@ -5581,7 +5635,7 @@ var ComboBoxView = _ref => {
5581
5635
  onChange: value => handleSearch(value),
5582
5636
  hint: placeholder,
5583
5637
  isClearable: false,
5584
- leftChild: /*#__PURE__*/React__default.createElement(Icon.SearchIcon, {
5638
+ leftChild: /*#__PURE__*/React__default.createElement(Icon$1.SearchIcon, {
5585
5639
  size: 12
5586
5640
  }),
5587
5641
  styles: {
@@ -5603,7 +5657,7 @@ var ComboBoxView = _ref => {
5603
5657
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
5604
5658
  onMouseEnter: () => setHighlightedIndex(index),
5605
5659
  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(Icon.TickIcon, {
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(Icon$1.TickIcon, {
5607
5661
  size: 20
5608
5662
  }))))))))))));
5609
5663
  };
@@ -6908,6 +6962,7 @@ exports.FormikTextField = FormikTextField;
6908
6962
  exports.HeartIcon = HeartIcon;
6909
6963
  exports.HomeIcon = HomeIcon;
6910
6964
  exports.Horizontal = Horizontal;
6965
+ exports.Icon = Icon;
6911
6966
  exports.InfoIcon = InfoIcon;
6912
6967
  exports.Inline = Inline;
6913
6968
  exports.Left = Left;