@app-studio/web 0.8.18 → 0.8.19
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 -1
- package/dist/web.cjs.development.js +55 -60
- 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 +1 -55
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +56 -61
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.symbol.description.js'), require('react'), require('core-js/modules/es.object.assign.js'), require('app-studio'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('react-router-dom'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/es.string.starts-with.js'), require('src/components/Icon/Icon'), require('date-fns/format'), require('formik'), require('zustand'), require('src/components/Layout')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.symbol.description.js', 'react', 'core-js/modules/es.object.assign.js', 'app-studio', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/web.dom-collections.iterator.js', 'react-router-dom', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/es.string.starts-with.js', 'src/components/Icon/Icon', 'date-fns/format', 'formik', 'zustand', 'src/components/Layout'], factory) :
|
|
4
|
-
(global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, global.appStudio, null, null, null, global.reactRouterDom, null, null, null, global.Icon
|
|
5
|
-
}(this, (function (exports, es_symbol_description_js, React, es_object_assign_js, appStudio, es_array_iterator_js, es_parseFloat_js, web_domCollections_iterator_js, reactRouterDom, es_array_includes_js, es_string_includes_js, es_string_startsWith_js, Icon
|
|
4
|
+
(global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, global.appStudio, null, null, null, global.reactRouterDom, null, null, null, global.Icon, global.format, global.formik, global.zustand, global.Layout));
|
|
5
|
+
}(this, (function (exports, es_symbol_description_js, React, es_object_assign_js, appStudio, es_array_iterator_js, es_parseFloat_js, web_domCollections_iterator_js, reactRouterDom, es_array_includes_js, es_string_includes_js, es_string_startsWith_js, Icon, format, formik, zustand, Layout) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var React__default = 'default' in React ? React['default'] : React;
|
|
8
8
|
format = format && Object.prototype.hasOwnProperty.call(format, 'default') ? format['default'] : format;
|
|
@@ -1195,60 +1195,6 @@
|
|
|
1195
1195
|
})));
|
|
1196
1196
|
};
|
|
1197
1197
|
|
|
1198
|
-
var Icon = {
|
|
1199
|
-
__proto__: null,
|
|
1200
|
-
ChevronIcon: ChevronIcon,
|
|
1201
|
-
CheckIcon: CheckIcon,
|
|
1202
|
-
CloseIcon: CloseIcon,
|
|
1203
|
-
CloseEyeIcon: CloseEyeIcon,
|
|
1204
|
-
DustBinIcon: DustBinIcon,
|
|
1205
|
-
EditIcon: EditIcon,
|
|
1206
|
-
ExternalLinkIcon: ExternalLinkIcon,
|
|
1207
|
-
MinusIcon: MinusIcon,
|
|
1208
|
-
InfoIcon: InfoIcon,
|
|
1209
|
-
OpenEyeIcon: OpenEyeIcon,
|
|
1210
|
-
PlusIcon: PlusIcon,
|
|
1211
|
-
SpinnerIcon: SpinnerIcon,
|
|
1212
|
-
ProfileIcon: ProfileIcon,
|
|
1213
|
-
ArrowIcon: ArrowIcon,
|
|
1214
|
-
SearchIcon: SearchIcon,
|
|
1215
|
-
SuccessIcon: SuccessIcon,
|
|
1216
|
-
TickIcon: TickIcon,
|
|
1217
|
-
NotificationIcon: NotificationIcon,
|
|
1218
|
-
SettingsIcon: SettingsIcon,
|
|
1219
|
-
CalendarIcon: CalendarIcon,
|
|
1220
|
-
AddIcon: AddIcon,
|
|
1221
|
-
DownloadIcon: DownloadIcon,
|
|
1222
|
-
UploadIcon: UploadIcon,
|
|
1223
|
-
BookmarkIcon: BookmarkIcon,
|
|
1224
|
-
HomeIcon: HomeIcon,
|
|
1225
|
-
MenuIcon: MenuIcon,
|
|
1226
|
-
ShareIcon: ShareIcon,
|
|
1227
|
-
FilterIcon: FilterIcon,
|
|
1228
|
-
RefreshIcon: RefreshIcon,
|
|
1229
|
-
CopyIcon: CopyIcon,
|
|
1230
|
-
SaveIcon: SaveIcon,
|
|
1231
|
-
PrintIcon: PrintIcon,
|
|
1232
|
-
LockIcon: LockIcon,
|
|
1233
|
-
UnlockIcon: UnlockIcon,
|
|
1234
|
-
StarIcon: StarIcon,
|
|
1235
|
-
HeartIcon: HeartIcon,
|
|
1236
|
-
ThumbUpIcon: ThumbUpIcon,
|
|
1237
|
-
ThumbDownIcon: ThumbDownIcon,
|
|
1238
|
-
LocationIcon: LocationIcon,
|
|
1239
|
-
ClockIcon: ClockIcon,
|
|
1240
|
-
CameraIcon: CameraIcon,
|
|
1241
|
-
MicrophoneIcon: MicrophoneIcon,
|
|
1242
|
-
WifiIcon: WifiIcon,
|
|
1243
|
-
BluetoothIcon: BluetoothIcon,
|
|
1244
|
-
BatteryIcon: BatteryIcon,
|
|
1245
|
-
SunIcon: SunIcon,
|
|
1246
|
-
MoonIcon: MoonIcon,
|
|
1247
|
-
ErrorIcon: ErrorIcon,
|
|
1248
|
-
WarningIcon: WarningIcon,
|
|
1249
|
-
CloudIcon: CloudIcon
|
|
1250
|
-
};
|
|
1251
|
-
|
|
1252
1198
|
// Define a constant object 'Themes' exporting various theme styles.
|
|
1253
1199
|
var Themes = {
|
|
1254
1200
|
// Start of the 'default' theme definition with style properties.
|
|
@@ -5282,12 +5228,12 @@
|
|
|
5282
5228
|
}, fieldStyles, props, {
|
|
5283
5229
|
value: value,
|
|
5284
5230
|
onChange: handleChange
|
|
5285
|
-
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(Icon
|
|
5231
|
+
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(Icon.ChevronIcon, {
|
|
5286
5232
|
orientation: "down",
|
|
5287
5233
|
size: IconSizes$4[size],
|
|
5288
5234
|
color: IconColor,
|
|
5289
5235
|
style: styles['icon']
|
|
5290
|
-
})) : (/*#__PURE__*/React__default.createElement(Icon
|
|
5236
|
+
})) : (/*#__PURE__*/React__default.createElement(Icon.ChevronIcon, {
|
|
5291
5237
|
orientation: "up",
|
|
5292
5238
|
size: IconSizes$4[size],
|
|
5293
5239
|
color: IconColor,
|
|
@@ -5620,7 +5566,7 @@
|
|
|
5620
5566
|
onChange: value => handleSearch(value),
|
|
5621
5567
|
hint: placeholder,
|
|
5622
5568
|
isClearable: false,
|
|
5623
|
-
leftChild: /*#__PURE__*/React__default.createElement(Icon
|
|
5569
|
+
leftChild: /*#__PURE__*/React__default.createElement(Icon.SearchIcon, {
|
|
5624
5570
|
size: 12
|
|
5625
5571
|
}),
|
|
5626
5572
|
styles: {
|
|
@@ -5642,7 +5588,7 @@
|
|
|
5642
5588
|
backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
|
|
5643
5589
|
onMouseEnter: () => setHighlightedIndex(index),
|
|
5644
5590
|
onClick: () => handleSelect(item)
|
|
5645
|
-
}, 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
|
|
5591
|
+
}, 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, {
|
|
5646
5592
|
size: 20
|
|
5647
5593
|
}))))))))))));
|
|
5648
5594
|
};
|
|
@@ -6901,19 +6847,39 @@
|
|
|
6901
6847
|
// Expose the ToggleGroupComponent for import into other modules
|
|
6902
6848
|
var ToggleGroup = ToggleGroupComponent;
|
|
6903
6849
|
|
|
6850
|
+
exports.AddIcon = AddIcon;
|
|
6904
6851
|
exports.Alert = Alert;
|
|
6852
|
+
exports.ArrowIcon = ArrowIcon;
|
|
6905
6853
|
exports.AspectRatio = AspectRatio;
|
|
6906
6854
|
exports.Avatar = Avatar;
|
|
6907
6855
|
exports.Badge = Badge;
|
|
6856
|
+
exports.BatteryIcon = BatteryIcon;
|
|
6857
|
+
exports.BluetoothIcon = BluetoothIcon;
|
|
6858
|
+
exports.BookmarkIcon = BookmarkIcon;
|
|
6908
6859
|
exports.Bottom = Bottom;
|
|
6909
6860
|
exports.Button = Button;
|
|
6861
|
+
exports.CalendarIcon = CalendarIcon;
|
|
6862
|
+
exports.CameraIcon = CameraIcon;
|
|
6910
6863
|
exports.Center = Center;
|
|
6864
|
+
exports.CheckIcon = CheckIcon;
|
|
6911
6865
|
exports.Checkbox = Checkbox;
|
|
6866
|
+
exports.ChevronIcon = ChevronIcon;
|
|
6867
|
+
exports.ClockIcon = ClockIcon;
|
|
6868
|
+
exports.CloseEyeIcon = CloseEyeIcon;
|
|
6869
|
+
exports.CloseIcon = CloseIcon;
|
|
6870
|
+
exports.CloudIcon = CloudIcon;
|
|
6912
6871
|
exports.ComboBox = ComboBox;
|
|
6872
|
+
exports.CopyIcon = CopyIcon;
|
|
6913
6873
|
exports.CountryPicker = CountryPicker;
|
|
6914
6874
|
exports.DatePicker = DatePicker;
|
|
6875
|
+
exports.DownloadIcon = DownloadIcon;
|
|
6876
|
+
exports.DustBinIcon = DustBinIcon;
|
|
6877
|
+
exports.EditIcon = EditIcon;
|
|
6878
|
+
exports.ErrorIcon = ErrorIcon;
|
|
6879
|
+
exports.ExternalLinkIcon = ExternalLinkIcon;
|
|
6915
6880
|
exports.FileImage = FileImage;
|
|
6916
6881
|
exports.FileSVG = FileSVG;
|
|
6882
|
+
exports.FilterIcon = FilterIcon;
|
|
6917
6883
|
exports.FormikCheckbox = FormikCheckbox;
|
|
6918
6884
|
exports.FormikComboBox = FormikComboBox;
|
|
6919
6885
|
exports.FormikCountryPicker = FormikCountryPicker;
|
|
@@ -6924,29 +6890,58 @@
|
|
|
6924
6890
|
exports.FormikSwitch = FormikSwitch;
|
|
6925
6891
|
exports.FormikTextArea = FormikTextArea;
|
|
6926
6892
|
exports.FormikTextField = FormikTextField;
|
|
6893
|
+
exports.HeartIcon = HeartIcon;
|
|
6894
|
+
exports.HomeIcon = HomeIcon;
|
|
6927
6895
|
exports.Horizontal = Horizontal;
|
|
6928
|
-
exports.
|
|
6896
|
+
exports.InfoIcon = InfoIcon;
|
|
6929
6897
|
exports.Inline = Inline;
|
|
6930
6898
|
exports.Left = Left;
|
|
6931
6899
|
exports.Link = Link;
|
|
6932
6900
|
exports.Loader = Loader;
|
|
6901
|
+
exports.LocationIcon = LocationIcon;
|
|
6902
|
+
exports.LockIcon = LockIcon;
|
|
6903
|
+
exports.MenuIcon = MenuIcon;
|
|
6933
6904
|
exports.MessageLayout = MessageLayout;
|
|
6934
6905
|
exports.MessageView = MessageView;
|
|
6906
|
+
exports.MicrophoneIcon = MicrophoneIcon;
|
|
6907
|
+
exports.MinusIcon = MinusIcon;
|
|
6935
6908
|
exports.Modal = Modal;
|
|
6909
|
+
exports.MoonIcon = MoonIcon;
|
|
6910
|
+
exports.NotificationIcon = NotificationIcon;
|
|
6911
|
+
exports.OpenEyeIcon = OpenEyeIcon;
|
|
6936
6912
|
exports.Password = Password;
|
|
6913
|
+
exports.PlusIcon = PlusIcon;
|
|
6914
|
+
exports.PrintIcon = PrintIcon;
|
|
6915
|
+
exports.ProfileIcon = ProfileIcon;
|
|
6916
|
+
exports.RefreshIcon = RefreshIcon;
|
|
6937
6917
|
exports.Right = Right;
|
|
6918
|
+
exports.SaveIcon = SaveIcon;
|
|
6919
|
+
exports.SearchIcon = SearchIcon;
|
|
6938
6920
|
exports.Select = Select;
|
|
6921
|
+
exports.SettingsIcon = SettingsIcon;
|
|
6922
|
+
exports.ShareIcon = ShareIcon;
|
|
6923
|
+
exports.SpinnerIcon = SpinnerIcon;
|
|
6924
|
+
exports.StarIcon = StarIcon;
|
|
6925
|
+
exports.SuccessIcon = SuccessIcon;
|
|
6926
|
+
exports.SunIcon = SunIcon;
|
|
6939
6927
|
exports.Switch = Switch;
|
|
6940
6928
|
exports.Table = Table;
|
|
6941
6929
|
exports.Tabs = Tabs;
|
|
6942
6930
|
exports.Text = Text;
|
|
6943
6931
|
exports.TextArea = TextArea;
|
|
6944
6932
|
exports.TextField = TextField;
|
|
6933
|
+
exports.ThumbDownIcon = ThumbDownIcon;
|
|
6934
|
+
exports.ThumbUpIcon = ThumbUpIcon;
|
|
6935
|
+
exports.TickIcon = TickIcon;
|
|
6945
6936
|
exports.Toggle = Toggle;
|
|
6946
6937
|
exports.ToggleGroup = ToggleGroup;
|
|
6947
6938
|
exports.Top = Top;
|
|
6939
|
+
exports.UnlockIcon = UnlockIcon;
|
|
6940
|
+
exports.UploadIcon = UploadIcon;
|
|
6948
6941
|
exports.Vertical = Vertical;
|
|
6949
6942
|
exports.View = View;
|
|
6943
|
+
exports.WarningIcon = WarningIcon;
|
|
6944
|
+
exports.WifiIcon = WifiIcon;
|
|
6950
6945
|
exports.hideMessage = hideMessage;
|
|
6951
6946
|
exports.hideModal = hideModal;
|
|
6952
6947
|
exports.showMessage = showMessage;
|