@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.
- package/dist/components/index.d.ts +1 -0
- package/dist/web.cjs.development.js +60 -5
- 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 +55 -1
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +61 -6
- 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, 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';
|
|
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$1, 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$1, 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,6 +1195,60 @@
|
|
|
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
|
+
|
|
1198
1252
|
// Define a constant object 'Themes' exporting various theme styles.
|
|
1199
1253
|
var Themes = {
|
|
1200
1254
|
// Start of the 'default' theme definition with style properties.
|
|
@@ -5228,12 +5282,12 @@
|
|
|
5228
5282
|
}, fieldStyles, props, {
|
|
5229
5283
|
value: value,
|
|
5230
5284
|
onChange: handleChange
|
|
5231
|
-
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(Icon.ChevronIcon, {
|
|
5285
|
+
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(Icon$1.ChevronIcon, {
|
|
5232
5286
|
orientation: "down",
|
|
5233
5287
|
size: IconSizes$4[size],
|
|
5234
5288
|
color: IconColor,
|
|
5235
5289
|
style: styles['icon']
|
|
5236
|
-
})) : (/*#__PURE__*/React__default.createElement(Icon.ChevronIcon, {
|
|
5290
|
+
})) : (/*#__PURE__*/React__default.createElement(Icon$1.ChevronIcon, {
|
|
5237
5291
|
orientation: "up",
|
|
5238
5292
|
size: IconSizes$4[size],
|
|
5239
5293
|
color: IconColor,
|
|
@@ -5566,7 +5620,7 @@
|
|
|
5566
5620
|
onChange: value => handleSearch(value),
|
|
5567
5621
|
hint: placeholder,
|
|
5568
5622
|
isClearable: false,
|
|
5569
|
-
leftChild: /*#__PURE__*/React__default.createElement(Icon.SearchIcon, {
|
|
5623
|
+
leftChild: /*#__PURE__*/React__default.createElement(Icon$1.SearchIcon, {
|
|
5570
5624
|
size: 12
|
|
5571
5625
|
}),
|
|
5572
5626
|
styles: {
|
|
@@ -5588,7 +5642,7 @@
|
|
|
5588
5642
|
backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
|
|
5589
5643
|
onMouseEnter: () => setHighlightedIndex(index),
|
|
5590
5644
|
onClick: () => handleSelect(item)
|
|
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, {
|
|
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$1.TickIcon, {
|
|
5592
5646
|
size: 20
|
|
5593
5647
|
}))))))))))));
|
|
5594
5648
|
};
|
|
@@ -6893,6 +6947,7 @@
|
|
|
6893
6947
|
exports.HeartIcon = HeartIcon;
|
|
6894
6948
|
exports.HomeIcon = HomeIcon;
|
|
6895
6949
|
exports.Horizontal = Horizontal;
|
|
6950
|
+
exports.Icon = Icon;
|
|
6896
6951
|
exports.InfoIcon = InfoIcon;
|
|
6897
6952
|
exports.Inline = Inline;
|
|
6898
6953
|
exports.Left = Left;
|