@chaoswise/ui 2.5.1 → 2.5.2

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.
@@ -2,7 +2,8 @@ import { useContext } from 'react';
2
2
  import { intlContext } from './ConfigProvider';
3
3
  var useLocale = function useLocale() {
4
4
  var _useContext = useContext(intlContext),
5
- locale = _useContext.locale,
5
+ _useContext$locale = _useContext.locale,
6
+ locale = _useContext$locale === void 0 ? "zh_CN" : _useContext$locale,
6
7
  setLocale = _useContext.setLocale,
7
8
  locales = _useContext.locales;
8
9
  return {
@@ -1,3 +1,3 @@
1
- import "antd/es/mentions/style";
2
- import _Mentions from "antd/es/mentions";
3
- export default _Mentions;
1
+ import "antd/es/mention/style";
2
+ import _Mention from "antd/es/mention";
3
+ export default _Mention;
package/lib/Menu/index.js CHANGED
@@ -1,12 +1,4 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- /*
3
- * @Author: andrew.qiao andrew.qiao@cloudwise.com
4
- * @Date: 2022-05-19 18:52:13
5
- * @LastEditors: andrew.qiao andrew.qiao@cloudwise.com
6
- * @LastEditTime: 2023-02-28 16:26:57
7
- * @FilePath: /change_01/aops_web_commons/packages/ui/components/Menu/index.js
8
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
9
- */
10
2
  import React, { forwardRef } from "react";
11
3
  import Menu from "./menu";
12
4
  import 'antd/es/menu/style/index.less';
@@ -1,4 +1,3 @@
1
- import "antd/es/tree-select/style";
2
- import _TreeSelect from "antd/es/tree-select";
3
- import './TreeSelect.less';
4
- export default _TreeSelect;
1
+ import "antd/es/select/style";
2
+ import _Select from "antd/es/select";
3
+ export default _Select;
package/lib/Tree/index.js CHANGED
@@ -1,4 +1,3 @@
1
- import "antd/es/tree-select/style";
2
- import _TreeSelect from "antd/es/tree-select";
3
- import './TreeSelect.less';
4
- export default _TreeSelect;
1
+ import "antd/es/tree/style";
2
+ import _Tree from "antd/es/tree";
3
+ export default _Tree;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chaoswise/ui",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "公共UI库",
5
5
  "keywords": [
6
6
  "ui",
@@ -146,5 +146,5 @@
146
146
  "access": "public"
147
147
  },
148
148
  "license": "MIT",
149
- "gitHead": "b52b5ea8738191c4df4dcbee8350cc769ea79259"
149
+ "gitHead": "646f9c71e2d0f20bfdb4c6ce430ccad0562d5304"
150
150
  }