assui 2.1.17 → 2.1.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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare type LocaleType = 'en-US' | 'zh-CN';
3
- interface ConfigProviderProps {
3
+ export interface ConfigProviderProps {
4
4
  children?: React.ReactNode;
5
5
  locale: LocaleType;
6
6
  }
package/es/index.d.ts CHANGED
@@ -4,6 +4,8 @@ export type { ButtonModalProps } from './button-modal';
4
4
  export { default as ButtonModal } from './button-modal';
5
5
  export type { ConditionInputProps } from './condition-input';
6
6
  export { default as ConditionInput } from './condition-input';
7
+ export type { ConfigProviderProps } from './config-provider';
8
+ export { default as ConfigProvider } from './config-provider';
7
9
  export type { CopyToClipboardProps } from './copy-to-clipboard';
8
10
  export { default as CopyToClipboard } from './copy-to-clipboard';
9
11
  export type { HighlightTextareaProps } from './highlight-textarea';
package/es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export { default as ButtonDrawer } from './button-drawer';
2
2
  export { default as ButtonModal } from './button-modal';
3
3
  export { default as ConditionInput } from './condition-input';
4
+ export { default as ConfigProvider } from './config-provider';
4
5
  export { default as CopyToClipboard } from './copy-to-clipboard';
5
6
  export { default as HighlightTextarea } from './highlight-textarea';
6
7
  export { default as HighlightWords } from './highlight-words';
@@ -1845,17 +1845,17 @@ html {
1845
1845
  align-items: center;
1846
1846
  height: 100%;
1847
1847
  }
1848
- .as-img-upload-upload-progress {
1848
+ .as-img-upload .as-img-upload-upload-progress {
1849
1849
  position: absolute;
1850
1850
  top: 50%;
1851
1851
  left: 0;
1852
1852
  z-index: 2;
1853
1853
  transform: translateY(-34%);
1854
1854
  }
1855
- .as-img-upload-upload-progress .ant-progress-outer {
1855
+ .as-img-upload .as-img-upload-upload-progress .ant-progress-outer {
1856
1856
  padding: 0 20px;
1857
1857
  }
1858
- .as-img-upload-upload-progress .ant-progress-text {
1858
+ .as-img-upload .as-img-upload-upload-progress .ant-progress-text {
1859
1859
  display: block;
1860
1860
  width: 100%;
1861
1861
  color: #fff;
@@ -70,7 +70,7 @@
70
70
  height: 100%;
71
71
  }
72
72
 
73
- &-upload-progress {
73
+ & &-upload-progress {
74
74
  position: absolute;
75
75
  top: 50%;
76
76
  left: 0;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare type LocaleType = 'en-US' | 'zh-CN';
3
- interface ConfigProviderProps {
3
+ export interface ConfigProviderProps {
4
4
  children?: React.ReactNode;
5
5
  locale: LocaleType;
6
6
  }
package/lib/index.d.ts CHANGED
@@ -4,6 +4,8 @@ export type { ButtonModalProps } from './button-modal';
4
4
  export { default as ButtonModal } from './button-modal';
5
5
  export type { ConditionInputProps } from './condition-input';
6
6
  export { default as ConditionInput } from './condition-input';
7
+ export type { ConfigProviderProps } from './config-provider';
8
+ export { default as ConfigProvider } from './config-provider';
7
9
  export type { CopyToClipboardProps } from './copy-to-clipboard';
8
10
  export { default as CopyToClipboard } from './copy-to-clipboard';
9
11
  export type { HighlightTextareaProps } from './highlight-textarea';
package/lib/index.js CHANGED
@@ -9,7 +9,7 @@ var __importDefault = this && this.__importDefault || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", {
10
10
  value: true
11
11
  });
12
- exports.beautifulDnd = exports.RichTextEditor = exports.LabelCustomizeRangePicker = exports.LabelTreeSelect = exports.LabelConditionInput = exports.LabelNumberInput = exports.LabelAutoComplete = exports.LabelDatePicker = exports.LabelRangePicker = exports.LabelTextArea = exports.LabelSelect = exports.LabelInput = exports.TextInput = exports.TextArea = exports.SplitPane = exports.sortableHoc = exports.SingleImgUpload = exports.RcTransitionGroup = exports.RcQRcode = exports.RcEcharts = exports.StepNumberInput = exports.NumberInput = exports.RcMotion = exports.KeepTab = exports.ImgCrop = exports.HighlightWords = exports.HighlightTextarea = exports.CopyToClipboard = exports.ConditionInput = exports.ButtonModal = exports.ButtonDrawer = void 0;
12
+ exports.beautifulDnd = exports.RichTextEditor = exports.LabelCustomizeRangePicker = exports.LabelTreeSelect = exports.LabelConditionInput = exports.LabelNumberInput = exports.LabelAutoComplete = exports.LabelDatePicker = exports.LabelRangePicker = exports.LabelTextArea = exports.LabelSelect = exports.LabelInput = exports.TextInput = exports.TextArea = exports.SplitPane = exports.sortableHoc = exports.SingleImgUpload = exports.RcTransitionGroup = exports.RcQRcode = exports.RcEcharts = exports.StepNumberInput = exports.NumberInput = exports.RcMotion = exports.KeepTab = exports.ImgCrop = exports.HighlightWords = exports.HighlightTextarea = exports.CopyToClipboard = exports.ConfigProvider = exports.ConditionInput = exports.ButtonModal = exports.ButtonDrawer = void 0;
13
13
 
14
14
  var button_drawer_1 = require("./button-drawer");
15
15
 
@@ -38,6 +38,15 @@ Object.defineProperty(exports, "ConditionInput", {
38
38
  }
39
39
  });
40
40
 
41
+ var config_provider_1 = require("./config-provider");
42
+
43
+ Object.defineProperty(exports, "ConfigProvider", {
44
+ enumerable: true,
45
+ get: function get() {
46
+ return __importDefault(config_provider_1)["default"];
47
+ }
48
+ });
49
+
41
50
  var copy_to_clipboard_1 = require("./copy-to-clipboard");
42
51
 
43
52
  Object.defineProperty(exports, "CopyToClipboard", {
@@ -1845,17 +1845,17 @@ html {
1845
1845
  align-items: center;
1846
1846
  height: 100%;
1847
1847
  }
1848
- .as-img-upload-upload-progress {
1848
+ .as-img-upload .as-img-upload-upload-progress {
1849
1849
  position: absolute;
1850
1850
  top: 50%;
1851
1851
  left: 0;
1852
1852
  z-index: 2;
1853
1853
  transform: translateY(-34%);
1854
1854
  }
1855
- .as-img-upload-upload-progress .ant-progress-outer {
1855
+ .as-img-upload .as-img-upload-upload-progress .ant-progress-outer {
1856
1856
  padding: 0 20px;
1857
1857
  }
1858
- .as-img-upload-upload-progress .ant-progress-text {
1858
+ .as-img-upload .as-img-upload-upload-progress .ant-progress-text {
1859
1859
  display: block;
1860
1860
  width: 100%;
1861
1861
  color: #fff;
@@ -70,7 +70,7 @@
70
70
  height: 100%;
71
71
  }
72
72
 
73
- &-upload-progress {
73
+ & &-upload-progress {
74
74
  position: absolute;
75
75
  top: 50%;
76
76
  left: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "2.1.17",
3
+ "version": "2.1.20",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -33,8 +33,8 @@
33
33
  "@ahooksjs/use-url-state": "^2.5.8",
34
34
  "@tinymce/tinymce-react": "^4.0.0",
35
35
  "@types/react-beautiful-dnd": "^13.1.2",
36
- "a-icons": "^1.0.69",
37
- "aa-utils": "^2.0.24",
36
+ "a-icons": "^1.0.71",
37
+ "aa-utils": "^2.0.25",
38
38
  "ahooks": "^3.0.8",
39
39
  "bignumber.js": "^9.0.1",
40
40
  "copy-to-clipboard": "^3.3.1",
@@ -70,5 +70,5 @@
70
70
  "node": ">=10.0.0"
71
71
  },
72
72
  "license": "MIT",
73
- "gitHead": "8805c1501d651a20878ebad5d4cd7cddabb7c7a4"
73
+ "gitHead": "e6dce84e6b67b27443312db98c59c80af8b63203"
74
74
  }