@douyinfe/semi-ui 2.24.0-alpha.0 → 2.24.0-alpha.1

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 (41) hide show
  1. package/dist/umd/semi-ui.js +13 -7
  2. package/dist/umd/semi-ui.js.map +1 -1
  3. package/dist/umd/semi-ui.min.js +1 -1
  4. package/dist/umd/semi-ui.min.js.map +1 -1
  5. package/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
  6. package/lib/cjs/carousel/index.d.ts +1 -1
  7. package/lib/cjs/datePicker/dateInput.d.ts +1 -1
  8. package/lib/cjs/datePicker/datePicker.d.ts +1 -1
  9. package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
  10. package/lib/cjs/form/baseForm.d.ts +1 -1
  11. package/lib/cjs/form/field.d.ts +1 -1
  12. package/lib/cjs/image/index.d.ts +1 -1
  13. package/lib/cjs/navigation/Item.d.ts +1 -1
  14. package/lib/cjs/navigation/Item.js +9 -0
  15. package/lib/cjs/navigation/index.d.ts +7 -1
  16. package/lib/cjs/navigation/index.js +4 -2
  17. package/lib/cjs/navigation/nav-context.d.ts +1 -0
  18. package/lib/cjs/radio/radio.d.ts +1 -1
  19. package/lib/cjs/radio/radioGroup.d.ts +1 -1
  20. package/lib/cjs/typography/numeral.d.ts +1 -1
  21. package/lib/cjs/typography/title.d.ts +1 -1
  22. package/lib/cjs/upload/index.d.ts +3 -3
  23. package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
  24. package/lib/es/carousel/index.d.ts +1 -1
  25. package/lib/es/datePicker/dateInput.d.ts +1 -1
  26. package/lib/es/datePicker/datePicker.d.ts +1 -1
  27. package/lib/es/datePicker/monthsGrid.d.ts +1 -1
  28. package/lib/es/form/baseForm.d.ts +1 -1
  29. package/lib/es/form/field.d.ts +1 -1
  30. package/lib/es/image/index.d.ts +1 -1
  31. package/lib/es/navigation/Item.d.ts +1 -1
  32. package/lib/es/navigation/Item.js +9 -0
  33. package/lib/es/navigation/index.d.ts +7 -1
  34. package/lib/es/navigation/index.js +4 -2
  35. package/lib/es/navigation/nav-context.d.ts +1 -0
  36. package/lib/es/radio/radio.d.ts +1 -1
  37. package/lib/es/radio/radioGroup.d.ts +1 -1
  38. package/lib/es/typography/numeral.d.ts +1 -1
  39. package/lib/es/typography/title.d.ts +1 -1
  40. package/lib/es/upload/index.d.ts +3 -3
  41. package/package.json +3 -3
@@ -64982,6 +64982,15 @@ class Item_NavItem extends baseComponent_BaseComponent {
64982
64982
  itemDom = this.wrapTooltip(itemDom);
64983
64983
  }
64984
64984
 
64985
+ if (typeof this.context.renderWrapper === 'function') {
64986
+ return this.context.renderWrapper({
64987
+ itemElement: itemDom,
64988
+ isSubNav: isSubNav,
64989
+ isInSubNav: isInSubNav,
64990
+ props: this.props
64991
+ });
64992
+ }
64993
+
64985
64994
  return itemDom;
64986
64995
  }
64987
64996
 
@@ -65830,7 +65839,8 @@ class navigation_Nav extends baseComponent_BaseComponent {
65830
65839
  footer,
65831
65840
  header,
65832
65841
  toggleIconPosition,
65833
- limitIndent
65842
+ limitIndent,
65843
+ renderWrapper
65834
65844
  } = this.props;
65835
65845
  const {
65836
65846
  selectedKeys,
@@ -65935,7 +65945,8 @@ class navigation_Nav extends baseComponent_BaseComponent {
65935
65945
  locale,
65936
65946
  prefixCls,
65937
65947
  toggleIconPosition,
65938
- limitIndent
65948
+ limitIndent,
65949
+ renderWrapper
65939
65950
  }
65940
65951
  }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
65941
65952
  className: finalCls,
@@ -96150,10 +96161,8 @@ var upload = __webpack_require__("/t7F");
96150
96161
 
96151
96162
 
96152
96163
 
96153
-
96154
96164
  const upload_prefixCls = upload_constants_cssClasses.PREFIX;
96155
96165
 
96156
-
96157
96166
  class upload_Upload extends baseComponent_BaseComponent {
96158
96167
  constructor(props) {
96159
96168
  super(props);
@@ -98067,8 +98076,6 @@ function bothEmptyArray(val, otherVal) {
98067
98076
 
98068
98077
 
98069
98078
 
98070
-
98071
-
98072
98079
  class foundation_FormFoundation extends foundation {
98073
98080
  constructor(adapter) {
98074
98081
  super(Object.assign({}, adapter));
@@ -102743,7 +102750,6 @@ image_Image.defaultProps = {
102743
102750
 
102744
102751
  /* harmony default export */ var image_0 = (image_Image);
102745
102752
 
102746
-
102747
102753
  // CONCATENATED MODULE: ../semi-foundation/image/previewFoundation.ts
102748
102754
 
102749
102755
  class previewFoundation_PreviewFoundation extends foundation {