@douyinfe/semi-icons-lab 2.61.0 → 2.62.0-beta.0

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.
Files changed (84) hide show
  1. package/dist/umd/semi-icons-lab.js +130 -113
  2. package/dist/umd/semi-icons-lab.js.map +1 -1
  3. package/dist/umd/semi-icons-lab.min.js +1 -1
  4. package/dist/umd/semi-icons-lab.min.js.map +1 -1
  5. package/lib/cjs/components/Icon.js +2 -3
  6. package/lib/cjs/env.js +1 -2
  7. package/lib/cjs/icons/IconAccessibility.js +3 -4
  8. package/lib/cjs/icons/IconAnchor.js +3 -4
  9. package/lib/cjs/icons/IconAutocomplete.js +3 -4
  10. package/lib/cjs/icons/IconAvatar.js +3 -4
  11. package/lib/cjs/icons/IconBackTop.js +3 -4
  12. package/lib/cjs/icons/IconBadge.js +3 -4
  13. package/lib/cjs/icons/IconBadgeStar.js +3 -4
  14. package/lib/cjs/icons/IconBanner.js +3 -4
  15. package/lib/cjs/icons/IconBreadcrumb.js +3 -4
  16. package/lib/cjs/icons/IconButton.js +3 -4
  17. package/lib/cjs/icons/IconCalendar.js +3 -4
  18. package/lib/cjs/icons/IconCard.js +3 -4
  19. package/lib/cjs/icons/IconCarousel.js +3 -4
  20. package/lib/cjs/icons/IconCascader.js +3 -4
  21. package/lib/cjs/icons/IconChangelog.js +3 -4
  22. package/lib/cjs/icons/IconCheckbox.js +3 -4
  23. package/lib/cjs/icons/IconCollapse.js +3 -4
  24. package/lib/cjs/icons/IconCollapsible.js +3 -4
  25. package/lib/cjs/icons/IconColorPlatte.js +3 -4
  26. package/lib/cjs/icons/IconColorPlatteNew.js +3 -4
  27. package/lib/cjs/icons/IconConfig.js +3 -4
  28. package/lib/cjs/icons/IconDarkMode.js +3 -4
  29. package/lib/cjs/icons/IconDatePicker.js +3 -4
  30. package/lib/cjs/icons/IconDescriptions.js +3 -4
  31. package/lib/cjs/icons/IconDivider.js +3 -4
  32. package/lib/cjs/icons/IconDropdown.js +3 -4
  33. package/lib/cjs/icons/IconEmpty.js +3 -4
  34. package/lib/cjs/icons/IconFaq.js +3 -4
  35. package/lib/cjs/icons/IconForm.js +3 -4
  36. package/lib/cjs/icons/IconGettingStarted.js +3 -4
  37. package/lib/cjs/icons/IconGrid.js +3 -4
  38. package/lib/cjs/icons/IconHeart.js +3 -4
  39. package/lib/cjs/icons/IconHighlight.js +3 -4
  40. package/lib/cjs/icons/IconImage.js +3 -4
  41. package/lib/cjs/icons/IconInput.js +3 -4
  42. package/lib/cjs/icons/IconInputNumber.js +3 -4
  43. package/lib/cjs/icons/IconIntro.js +3 -4
  44. package/lib/cjs/icons/IconLayout.js +3 -4
  45. package/lib/cjs/icons/IconList.js +3 -4
  46. package/lib/cjs/icons/IconLocaleProvider.js +3 -4
  47. package/lib/cjs/icons/IconModal.js +3 -4
  48. package/lib/cjs/icons/IconNavigation.js +3 -4
  49. package/lib/cjs/icons/IconNotification.js +3 -4
  50. package/lib/cjs/icons/IconOverflow.js +3 -4
  51. package/lib/cjs/icons/IconPagination.js +3 -4
  52. package/lib/cjs/icons/IconPopconfirm.js +3 -4
  53. package/lib/cjs/icons/IconPopover.js +3 -4
  54. package/lib/cjs/icons/IconProgress.js +3 -4
  55. package/lib/cjs/icons/IconRadio.js +3 -4
  56. package/lib/cjs/icons/IconRating.js +3 -4
  57. package/lib/cjs/icons/IconScrollList.js +3 -4
  58. package/lib/cjs/icons/IconSelect.js +3 -4
  59. package/lib/cjs/icons/IconSideSheet.js +3 -4
  60. package/lib/cjs/icons/IconSkeleton.js +3 -4
  61. package/lib/cjs/icons/IconSlider.js +3 -4
  62. package/lib/cjs/icons/IconSpace.js +3 -4
  63. package/lib/cjs/icons/IconSpin.js +3 -4
  64. package/lib/cjs/icons/IconSteps.js +3 -4
  65. package/lib/cjs/icons/IconSwitch.js +3 -4
  66. package/lib/cjs/icons/IconTable.js +3 -4
  67. package/lib/cjs/icons/IconTabs.js +3 -4
  68. package/lib/cjs/icons/IconTag.js +3 -4
  69. package/lib/cjs/icons/IconTagInput.js +3 -4
  70. package/lib/cjs/icons/IconTimePicker.js +3 -4
  71. package/lib/cjs/icons/IconTimeline.js +3 -4
  72. package/lib/cjs/icons/IconToast.js +3 -4
  73. package/lib/cjs/icons/IconToken.js +3 -4
  74. package/lib/cjs/icons/IconTooltip.js +3 -4
  75. package/lib/cjs/icons/IconTransfer.js +3 -4
  76. package/lib/cjs/icons/IconTree.js +3 -4
  77. package/lib/cjs/icons/IconTreeSelect.js +3 -4
  78. package/lib/cjs/icons/IconTypography.js +3 -4
  79. package/lib/cjs/icons/IconUpload.js +3 -4
  80. package/lib/cjs/icons/IconVersionTwo.js +3 -4
  81. package/lib/cjs/icons/IconWheelChair.js +3 -4
  82. package/lib/cjs/icons/index.js +1 -1
  83. package/lib/cjs/index.js +2 -3
  84. package/package.json +2 -2
@@ -11,7 +11,15 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ "O94r":
14
+ /***/ "neV8":
15
+ /***/ ((module) => {
16
+
17
+ "use strict";
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE_neV8__;
19
+
20
+ /***/ }),
21
+
22
+ /***/ "IpAo":
15
23
  /***/ ((module, exports) => {
16
24
 
17
25
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -25,41 +33,58 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
25
33
  'use strict';
26
34
 
27
35
  var hasOwn = {}.hasOwnProperty;
28
- var nativeCodeString = '[native code]';
29
36
 
30
- function classNames() {
31
- var classes = [];
37
+ function classNames () {
38
+ var classes = '';
32
39
 
33
40
  for (var i = 0; i < arguments.length; i++) {
34
41
  var arg = arguments[i];
35
- if (!arg) continue;
36
-
37
- var argType = typeof arg;
38
-
39
- if (argType === 'string' || argType === 'number') {
40
- classes.push(arg);
41
- } else if (Array.isArray(arg)) {
42
- if (arg.length) {
43
- var inner = classNames.apply(null, arg);
44
- if (inner) {
45
- classes.push(inner);
46
- }
47
- }
48
- } else if (argType === 'object') {
49
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
50
- classes.push(arg.toString());
51
- continue;
52
- }
53
-
54
- for (var key in arg) {
55
- if (hasOwn.call(arg, key) && arg[key]) {
56
- classes.push(key);
57
- }
58
- }
42
+ if (arg) {
43
+ classes = appendClass(classes, parseValue(arg));
44
+ }
45
+ }
46
+
47
+ return classes;
48
+ }
49
+
50
+ function parseValue (arg) {
51
+ if (typeof arg === 'string' || typeof arg === 'number') {
52
+ return arg;
53
+ }
54
+
55
+ if (typeof arg !== 'object') {
56
+ return '';
57
+ }
58
+
59
+ if (Array.isArray(arg)) {
60
+ return classNames.apply(null, arg);
61
+ }
62
+
63
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
64
+ return arg.toString();
65
+ }
66
+
67
+ var classes = '';
68
+
69
+ for (var key in arg) {
70
+ if (hasOwn.call(arg, key) && arg[key]) {
71
+ classes = appendClass(classes, key);
59
72
  }
60
73
  }
61
74
 
62
- return classes.join(' ');
75
+ return classes;
76
+ }
77
+
78
+ function appendClass (value, newClass) {
79
+ if (!newClass) {
80
+ return value;
81
+ }
82
+
83
+ if (value) {
84
+ return value + ' ' + newClass;
85
+ }
86
+
87
+ return value + newClass;
63
88
  }
64
89
 
65
90
  if ( true && module.exports) {
@@ -75,14 +100,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
75
100
  }());
76
101
 
77
102
 
78
- /***/ }),
79
-
80
- /***/ "neV8":
81
- /***/ ((module) => {
82
-
83
- "use strict";
84
- module.exports = __WEBPACK_EXTERNAL_MODULE_neV8__;
85
-
86
103
  /***/ })
87
104
 
88
105
  /******/ });
@@ -162,81 +179,81 @@ __webpack_require__.r(__webpack_exports__);
162
179
 
163
180
  // EXPORTS
164
181
  __webpack_require__.d(__webpack_exports__, {
165
- "IconAccessibility": () => (/* reexport */ IconAccessibility),
166
- "IconAnchor": () => (/* reexport */ IconAnchor),
167
- "IconAutocomplete": () => (/* reexport */ IconAutocomplete),
168
- "IconAvatar": () => (/* reexport */ IconAvatar),
169
- "IconBackTop": () => (/* reexport */ IconBackTop),
170
- "IconBadge": () => (/* reexport */ IconBadge),
171
- "IconBadgeStar": () => (/* reexport */ IconBadgeStar),
172
- "IconBanner": () => (/* reexport */ IconBanner),
173
- "IconBreadcrumb": () => (/* reexport */ IconBreadcrumb),
174
- "IconButton": () => (/* reexport */ IconButton),
175
- "IconCalendar": () => (/* reexport */ IconCalendar),
176
- "IconCard": () => (/* reexport */ IconCard),
177
- "IconCarousel": () => (/* reexport */ IconCarousel),
178
- "IconCascader": () => (/* reexport */ IconCascader),
179
- "IconChangelog": () => (/* reexport */ IconChangelog),
180
- "IconCheckbox": () => (/* reexport */ IconCheckbox),
181
- "IconCollapse": () => (/* reexport */ IconCollapse),
182
- "IconCollapsible": () => (/* reexport */ IconCollapsible),
183
- "IconColorPlatte": () => (/* reexport */ IconColorPlatte),
184
- "IconColorPlatteNew": () => (/* reexport */ IconColorPlatteNew),
185
- "IconConfig": () => (/* reexport */ IconConfig),
186
- "IconDarkMode": () => (/* reexport */ IconDarkMode),
187
- "IconDatePicker": () => (/* reexport */ IconDatePicker),
188
- "IconDescriptions": () => (/* reexport */ IconDescriptions),
189
- "IconDivider": () => (/* reexport */ IconDivider),
190
- "IconDropdown": () => (/* reexport */ IconDropdown),
191
- "IconEmpty": () => (/* reexport */ IconEmpty),
192
- "IconFaq": () => (/* reexport */ IconFaq),
193
- "IconForm": () => (/* reexport */ IconForm),
194
- "IconGettingStarted": () => (/* reexport */ IconGettingStarted),
195
- "IconGrid": () => (/* reexport */ IconGrid),
196
- "IconHeart": () => (/* reexport */ IconHeart),
197
- "IconHighlight": () => (/* reexport */ IconHighlight),
198
- "IconImage": () => (/* reexport */ IconImage),
199
- "IconInput": () => (/* reexport */ IconInput),
200
- "IconInputNumber": () => (/* reexport */ IconInputNumber),
201
- "IconIntro": () => (/* reexport */ IconIntro),
202
- "IconLayout": () => (/* reexport */ IconLayout),
203
- "IconList": () => (/* reexport */ IconList),
204
- "IconLocaleProvider": () => (/* reexport */ IconLocaleProvider),
205
- "IconModal": () => (/* reexport */ IconModal),
206
- "IconNavigation": () => (/* reexport */ IconNavigation),
207
- "IconNotification": () => (/* reexport */ IconNotification),
208
- "IconOverflow": () => (/* reexport */ IconOverflow),
209
- "IconPagination": () => (/* reexport */ IconPagination),
210
- "IconPopconfirm": () => (/* reexport */ IconPopconfirm),
211
- "IconPopover": () => (/* reexport */ IconPopover),
212
- "IconProgress": () => (/* reexport */ IconProgress),
213
- "IconRadio": () => (/* reexport */ IconRadio),
214
- "IconRating": () => (/* reexport */ IconRating),
215
- "IconScrollList": () => (/* reexport */ IconScrollList),
216
- "IconSelect": () => (/* reexport */ IconSelect),
217
- "IconSideSheet": () => (/* reexport */ IconSideSheet),
218
- "IconSkeleton": () => (/* reexport */ IconSkeleton),
219
- "IconSlider": () => (/* reexport */ IconSlider),
220
- "IconSpace": () => (/* reexport */ IconSpace),
221
- "IconSpin": () => (/* reexport */ IconSpin),
222
- "IconSteps": () => (/* reexport */ IconSteps),
223
- "IconSwitch": () => (/* reexport */ IconSwitch),
224
- "IconTable": () => (/* reexport */ IconTable),
225
- "IconTabs": () => (/* reexport */ IconTabs),
226
- "IconTag": () => (/* reexport */ IconTag),
227
- "IconTagInput": () => (/* reexport */ IconTagInput),
228
- "IconTimePicker": () => (/* reexport */ IconTimePicker),
229
- "IconTimeline": () => (/* reexport */ IconTimeline),
230
- "IconToast": () => (/* reexport */ IconToast),
231
- "IconToken": () => (/* reexport */ IconToken),
232
- "IconTooltip": () => (/* reexport */ IconTooltip),
233
- "IconTransfer": () => (/* reexport */ IconTransfer),
234
- "IconTree": () => (/* reexport */ IconTree),
235
- "IconTreeSelect": () => (/* reexport */ IconTreeSelect),
236
- "IconTypography": () => (/* reexport */ IconTypography),
237
- "IconUpload": () => (/* reexport */ IconUpload),
238
- "IconVersionTwo": () => (/* reexport */ IconVersionTwo),
239
- "IconWheelChair": () => (/* reexport */ IconWheelChair),
182
+ IconAccessibility: () => (/* reexport */ IconAccessibility),
183
+ IconAnchor: () => (/* reexport */ IconAnchor),
184
+ IconAutocomplete: () => (/* reexport */ IconAutocomplete),
185
+ IconAvatar: () => (/* reexport */ IconAvatar),
186
+ IconBackTop: () => (/* reexport */ IconBackTop),
187
+ IconBadge: () => (/* reexport */ IconBadge),
188
+ IconBadgeStar: () => (/* reexport */ IconBadgeStar),
189
+ IconBanner: () => (/* reexport */ IconBanner),
190
+ IconBreadcrumb: () => (/* reexport */ IconBreadcrumb),
191
+ IconButton: () => (/* reexport */ IconButton),
192
+ IconCalendar: () => (/* reexport */ IconCalendar),
193
+ IconCard: () => (/* reexport */ IconCard),
194
+ IconCarousel: () => (/* reexport */ IconCarousel),
195
+ IconCascader: () => (/* reexport */ IconCascader),
196
+ IconChangelog: () => (/* reexport */ IconChangelog),
197
+ IconCheckbox: () => (/* reexport */ IconCheckbox),
198
+ IconCollapse: () => (/* reexport */ IconCollapse),
199
+ IconCollapsible: () => (/* reexport */ IconCollapsible),
200
+ IconColorPlatte: () => (/* reexport */ IconColorPlatte),
201
+ IconColorPlatteNew: () => (/* reexport */ IconColorPlatteNew),
202
+ IconConfig: () => (/* reexport */ IconConfig),
203
+ IconDarkMode: () => (/* reexport */ IconDarkMode),
204
+ IconDatePicker: () => (/* reexport */ IconDatePicker),
205
+ IconDescriptions: () => (/* reexport */ IconDescriptions),
206
+ IconDivider: () => (/* reexport */ IconDivider),
207
+ IconDropdown: () => (/* reexport */ IconDropdown),
208
+ IconEmpty: () => (/* reexport */ IconEmpty),
209
+ IconFaq: () => (/* reexport */ IconFaq),
210
+ IconForm: () => (/* reexport */ IconForm),
211
+ IconGettingStarted: () => (/* reexport */ IconGettingStarted),
212
+ IconGrid: () => (/* reexport */ IconGrid),
213
+ IconHeart: () => (/* reexport */ IconHeart),
214
+ IconHighlight: () => (/* reexport */ IconHighlight),
215
+ IconImage: () => (/* reexport */ IconImage),
216
+ IconInput: () => (/* reexport */ IconInput),
217
+ IconInputNumber: () => (/* reexport */ IconInputNumber),
218
+ IconIntro: () => (/* reexport */ IconIntro),
219
+ IconLayout: () => (/* reexport */ IconLayout),
220
+ IconList: () => (/* reexport */ IconList),
221
+ IconLocaleProvider: () => (/* reexport */ IconLocaleProvider),
222
+ IconModal: () => (/* reexport */ IconModal),
223
+ IconNavigation: () => (/* reexport */ IconNavigation),
224
+ IconNotification: () => (/* reexport */ IconNotification),
225
+ IconOverflow: () => (/* reexport */ IconOverflow),
226
+ IconPagination: () => (/* reexport */ IconPagination),
227
+ IconPopconfirm: () => (/* reexport */ IconPopconfirm),
228
+ IconPopover: () => (/* reexport */ IconPopover),
229
+ IconProgress: () => (/* reexport */ IconProgress),
230
+ IconRadio: () => (/* reexport */ IconRadio),
231
+ IconRating: () => (/* reexport */ IconRating),
232
+ IconScrollList: () => (/* reexport */ IconScrollList),
233
+ IconSelect: () => (/* reexport */ IconSelect),
234
+ IconSideSheet: () => (/* reexport */ IconSideSheet),
235
+ IconSkeleton: () => (/* reexport */ IconSkeleton),
236
+ IconSlider: () => (/* reexport */ IconSlider),
237
+ IconSpace: () => (/* reexport */ IconSpace),
238
+ IconSpin: () => (/* reexport */ IconSpin),
239
+ IconSteps: () => (/* reexport */ IconSteps),
240
+ IconSwitch: () => (/* reexport */ IconSwitch),
241
+ IconTable: () => (/* reexport */ IconTable),
242
+ IconTabs: () => (/* reexport */ IconTabs),
243
+ IconTag: () => (/* reexport */ IconTag),
244
+ IconTagInput: () => (/* reexport */ IconTagInput),
245
+ IconTimePicker: () => (/* reexport */ IconTimePicker),
246
+ IconTimeline: () => (/* reexport */ IconTimeline),
247
+ IconToast: () => (/* reexport */ IconToast),
248
+ IconToken: () => (/* reexport */ IconToken),
249
+ IconTooltip: () => (/* reexport */ IconTooltip),
250
+ IconTransfer: () => (/* reexport */ IconTransfer),
251
+ IconTree: () => (/* reexport */ IconTree),
252
+ IconTreeSelect: () => (/* reexport */ IconTreeSelect),
253
+ IconTypography: () => (/* reexport */ IconTypography),
254
+ IconUpload: () => (/* reexport */ IconUpload),
255
+ IconVersionTwo: () => (/* reexport */ IconVersionTwo),
256
+ IconWheelChair: () => (/* reexport */ IconWheelChair),
240
257
  "default": () => (/* binding */ es)
241
258
  });
242
259
 
@@ -246,7 +263,7 @@ var external_root_React_commonjs2_react_commonjs_react_amd_react_default = /*#__
246
263
  ;// CONCATENATED MODULE: ./lib/es/env.js
247
264
  const BASE_CLASS_PREFIX = 'semi';
248
265
  // EXTERNAL MODULE: ../../node_modules/classnames/index.js
249
- var classnames = __webpack_require__("O94r");
266
+ var classnames = __webpack_require__("IpAo");
250
267
  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
251
268
  ;// CONCATENATED MODULE: ./lib/es/styles/icons.css
252
269
  // extracted by mini-css-extract-plugin