@douyinfe/semi-ui 2.38.3-alpha.2-patch-table-datepicker-aria → 2.38.3-alpha.2-spin

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 (73) hide show
  1. package/dist/css/semi.css +45 -2
  2. package/dist/css/semi.min.css +1 -1
  3. package/dist/umd/semi-ui.js +18 -52
  4. package/dist/umd/semi-ui.js.map +1 -1
  5. package/dist/umd/semi-ui.min.js +1 -1
  6. package/dist/umd/semi-ui.min.js.map +1 -1
  7. package/lib/cjs/anchor/index.d.ts +2 -2
  8. package/lib/cjs/autoComplete/index.d.ts +2 -2
  9. package/lib/cjs/button/Button.d.ts +2 -2
  10. package/lib/cjs/button/buttonGroup.d.ts +2 -2
  11. package/lib/cjs/button/index.d.ts +1 -1
  12. package/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
  13. package/lib/cjs/carousel/index.d.ts +2 -2
  14. package/lib/cjs/datePicker/datePicker.d.ts +3 -3
  15. package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
  16. package/lib/cjs/datePicker/quickControl.d.ts +1 -1
  17. package/lib/cjs/datePicker/yearAndMonth.d.ts +1 -1
  18. package/lib/cjs/dropdown/index.d.ts +1 -1
  19. package/lib/cjs/form/baseForm.d.ts +4 -4
  20. package/lib/cjs/form/field.d.ts +4 -4
  21. package/lib/cjs/input/index.d.ts +1 -1
  22. package/lib/cjs/input/inputGroup.d.ts +1 -1
  23. package/lib/cjs/modal/confirm.d.ts +34 -34
  24. package/lib/cjs/popover/index.d.ts +1 -1
  25. package/lib/cjs/radio/radio.d.ts +1 -1
  26. package/lib/cjs/radio/radioGroup.d.ts +1 -1
  27. package/lib/cjs/rating/index.d.ts +1 -1
  28. package/lib/cjs/rating/item.d.ts +1 -1
  29. package/lib/cjs/select/index.d.ts +1 -1
  30. package/lib/cjs/spin/icon.js +14 -51
  31. package/lib/cjs/switch/index.d.ts +1 -1
  32. package/lib/cjs/table/Table.d.ts +3 -3
  33. package/lib/cjs/table/index.d.ts +1 -1
  34. package/lib/cjs/tagInput/index.d.ts +1 -1
  35. package/lib/cjs/timePicker/TimePicker.d.ts +1 -1
  36. package/lib/cjs/timePicker/index.d.ts +1 -1
  37. package/lib/cjs/tooltip/index.d.ts +1 -1
  38. package/lib/cjs/typography/numeral.d.ts +1 -1
  39. package/lib/cjs/typography/title.d.ts +1 -1
  40. package/lib/es/anchor/index.d.ts +2 -2
  41. package/lib/es/autoComplete/index.d.ts +2 -2
  42. package/lib/es/button/Button.d.ts +2 -2
  43. package/lib/es/button/buttonGroup.d.ts +2 -2
  44. package/lib/es/button/index.d.ts +1 -1
  45. package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
  46. package/lib/es/carousel/index.d.ts +2 -2
  47. package/lib/es/datePicker/datePicker.d.ts +3 -3
  48. package/lib/es/datePicker/monthsGrid.d.ts +1 -1
  49. package/lib/es/datePicker/quickControl.d.ts +1 -1
  50. package/lib/es/datePicker/yearAndMonth.d.ts +1 -1
  51. package/lib/es/dropdown/index.d.ts +1 -1
  52. package/lib/es/form/baseForm.d.ts +4 -4
  53. package/lib/es/form/field.d.ts +4 -4
  54. package/lib/es/input/index.d.ts +1 -1
  55. package/lib/es/input/inputGroup.d.ts +1 -1
  56. package/lib/es/modal/confirm.d.ts +34 -34
  57. package/lib/es/popover/index.d.ts +1 -1
  58. package/lib/es/radio/radio.d.ts +1 -1
  59. package/lib/es/radio/radioGroup.d.ts +1 -1
  60. package/lib/es/rating/index.d.ts +1 -1
  61. package/lib/es/rating/item.d.ts +1 -1
  62. package/lib/es/select/index.d.ts +1 -1
  63. package/lib/es/spin/icon.js +14 -51
  64. package/lib/es/switch/index.d.ts +1 -1
  65. package/lib/es/table/Table.d.ts +3 -3
  66. package/lib/es/table/index.d.ts +1 -1
  67. package/lib/es/tagInput/index.d.ts +1 -1
  68. package/lib/es/timePicker/TimePicker.d.ts +1 -1
  69. package/lib/es/timePicker/index.d.ts +1 -1
  70. package/lib/es/tooltip/index.d.ts +1 -1
  71. package/lib/es/typography/numeral.d.ts +1 -1
  72. package/lib/es/typography/title.d.ts +1 -1
  73. package/package.json +8 -8
@@ -18533,6 +18533,7 @@ class foundation_Tooltip extends foundation {
18533
18533
  this._adapter.unregisterClickOutsideHandler();
18534
18534
  this.unBindResizeEvent();
18535
18535
  this.unBindScrollEvent();
18536
+ clearTimeout(this._timer);
18536
18537
  }
18537
18538
  _bindTriggerEvent(triggerEventSet) {
18538
18539
  this._adapter.registerTriggerEvent(triggerEventSet);
@@ -27094,65 +27095,28 @@ var icon_rest = undefined && undefined.__rest || function (s, e) {
27094
27095
  };
27095
27096
  /* eslint-disable no-unused-vars */
27096
27097
 
27097
-
27098
- let _id = -1;
27099
27098
  function icon_Icon() {
27100
27099
  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
27101
27100
  const {
27102
- id: propsId,
27101
+ id,
27103
27102
  className
27104
27103
  } = props,
27105
27104
  rest = icon_rest(props, ["id", "className"]);
27106
- let _propsId = propsId;
27107
- if (isNullOrUndefined(_propsId)) {
27108
- _id++;
27109
- _propsId = _id;
27110
- }
27111
- const id = `linearGradient-${_propsId}`;
27112
27105
  return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("svg", Object.assign({}, rest, {
27113
27106
  className: className,
27114
- width: "48",
27115
- height: "48",
27116
- viewBox: "0 0 36 36",
27117
- version: "1.1",
27118
- xmlns: "http://www.w3.org/2000/svg",
27119
- "aria-hidden": true,
27120
- "data-icon": "spin"
27121
- }), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("defs", null, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("linearGradient", {
27122
- x1: "0%",
27123
- y1: "100%",
27124
- x2: "100%",
27125
- y2: "100%",
27126
- id: id
27127
- }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("stop", {
27128
- stopColor: "currentColor",
27129
- stopOpacity: "0",
27130
- offset: "0%"
27131
- }), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("stop", {
27132
- stopColor: "currentColor",
27133
- stopOpacity: "0.50",
27134
- offset: "39.9430698%"
27135
- }), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("stop", {
27136
- stopColor: "currentColor",
27137
- offset: "100%"
27138
- }))), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("g", {
27139
- stroke: "none",
27140
- strokeWidth: "1",
27141
- fill: "none",
27142
- fillRule: "evenodd"
27143
- }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("rect", {
27144
- fillOpacity: "0.01",
27145
- fill: "none",
27146
- x: "0",
27147
- y: "0",
27148
- width: "36",
27149
- height: "36"
27150
- }), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("path", {
27151
- d: "M34,18 C34,9.163444 26.836556,2 18,2 C11.6597233,2 6.18078805,5.68784135 3.59122325,11.0354951",
27152
- stroke: `url(#${id})`,
27153
- strokeWidth: "4",
27154
- strokeLinecap: "round"
27155
- })));
27107
+ width: "100%",
27108
+ height: "100%",
27109
+ viewBox: "0 0 100 100"
27110
+ }), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("circle", {
27111
+ cx: "50",
27112
+ cy: "50",
27113
+ r: "35",
27114
+ stroke: "currentColor",
27115
+ strokeWidth: "11",
27116
+ strokeLinecap: "round",
27117
+ strokeMiterlimit: "10",
27118
+ fill: "none"
27119
+ }));
27156
27120
  }
27157
27121
  /* harmony default export */ const spin_icon = (icon_Icon);
27158
27122
  // EXTERNAL MODULE: ../semi-foundation/spin/spin.scss
@@ -61500,7 +61464,9 @@ class SubNavFoundation extends foundation {
61500
61464
  // this.log('invoke SubNavFoundation init()');
61501
61465
  this._timer = null;
61502
61466
  }
61503
- destroy() {} // eslint-disable-line
61467
+ destroy() {
61468
+ this.clearDelayTimer();
61469
+ }
61504
61470
  clearDelayTimer() {
61505
61471
  if (this._timer) {
61506
61472
  clearTimeout(this._timer);