@king-design/react 2.0.14 → 2.0.16
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.
- package/__tests__/__snapshots__/Dialog.md +8 -0
- package/__tests__/__snapshots__/React Demos.md +26 -14
- package/__tests__/components/dialog.spec.tsx +31 -0
- package/__tests__/components/drawer.spec.tsx +26 -2
- package/components/colorpicker/index.d.ts +1 -0
- package/components/colorpicker/index.js +2 -1
- package/components/colorpicker/index.vdt.js +5 -1
- package/components/dialog/alert.vdt.js +6 -4
- package/components/dialog/index.spec.js +61 -1
- package/components/dialog/staticMethods.d.ts +4 -2
- package/components/dialog/staticMethods.js +16 -0
- package/components/dialog/useFixBody.js +3 -1
- package/components/pagination/index.d.ts +2 -0
- package/components/pagination/index.js +12 -1
- package/components/pagination/index.spec.js +28 -0
- package/components/pagination/index.vdt.js +18 -3
- package/components/pagination/styles.js +1 -1
- package/components/portal.js +23 -11
- package/components/table/column.vdt.js +43 -7
- package/components/table/index.spec.js +2 -2
- package/components/table/styles.js +7 -1
- package/components/table/useGroup.d.ts +3 -0
- package/components/table/useGroup.js +24 -1
- package/components/table/useSortable.d.ts +3 -1
- package/components/table/useSortable.js +4 -1
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
- package/yarn-error.log +40 -37
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v2.0.
|
|
2
|
+
* @king-design v2.0.16
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -57,7 +57,7 @@ export * from './components/tree';
|
|
|
57
57
|
export * from './components/treeSelect';
|
|
58
58
|
export * from './components/upload';
|
|
59
59
|
export * from './components/wave';
|
|
60
|
-
export declare const version = "2.0.
|
|
60
|
+
export declare const version = "2.0.16";
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
export {normalize} from 'intact-react';
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v2.0.
|
|
2
|
+
* @king-design v2.0.16
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -59,7 +59,7 @@ export * from './components/tree';
|
|
|
59
59
|
export * from './components/treeSelect';
|
|
60
60
|
export * from './components/upload';
|
|
61
61
|
export * from './components/wave';
|
|
62
|
-
export var version = '2.0.
|
|
62
|
+
export var version = '2.0.16';
|
|
63
63
|
/* generate end */
|
|
64
64
|
|
|
65
65
|
export {normalize} from 'intact-react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@king-design/react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
4
4
|
"description": "King-Design UI components for React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"component",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dayjs": "^1.10.7",
|
|
38
38
|
"downloadjs": "^1.4.7",
|
|
39
39
|
"enquire.js": "^2.1.6",
|
|
40
|
-
"intact-react": "3.0.
|
|
40
|
+
"intact-react": "3.0.16",
|
|
41
41
|
"monaco-editor": "^0.26.1",
|
|
42
42
|
"mxgraphx": "^4.0.7",
|
|
43
43
|
"resize-observer-polyfill": "^1.5.1",
|
package/yarn-error.log
CHANGED
|
@@ -14,12 +14,15 @@ Platform:
|
|
|
14
14
|
linux x64
|
|
15
15
|
|
|
16
16
|
Trace:
|
|
17
|
-
Error: https://registry.
|
|
17
|
+
Error: https://registry.npmjs.org/intact-react: ETIMEDOUT
|
|
18
|
+
at Timeout._onTimeout (/usr/share/yarn/lib/cli.js:141550:19)
|
|
19
|
+
at listOnTimeout (internal/timers.js:557:17)
|
|
20
|
+
at processTimers (internal/timers.js:500:7)
|
|
18
21
|
|
|
19
22
|
npm manifest:
|
|
20
23
|
{
|
|
21
24
|
"name": "@king-design/react",
|
|
22
|
-
"version": "2.0.
|
|
25
|
+
"version": "2.0.15",
|
|
23
26
|
"description": "King-Design UI components for React.",
|
|
24
27
|
"keywords": [
|
|
25
28
|
"component",
|
|
@@ -56,7 +59,7 @@ npm manifest:
|
|
|
56
59
|
"dayjs": "^1.10.7",
|
|
57
60
|
"downloadjs": "^1.4.7",
|
|
58
61
|
"enquire.js": "^2.1.6",
|
|
59
|
-
"intact-react": "3.0.
|
|
62
|
+
"intact-react": "3.0.16",
|
|
60
63
|
"monaco-editor": "^0.26.1",
|
|
61
64
|
"mxgraphx": "^4.0.7",
|
|
62
65
|
"resize-observer-polyfill": "^1.5.1",
|
|
@@ -358,29 +361,29 @@ Lockfile:
|
|
|
358
361
|
parent-module "^1.0.0"
|
|
359
362
|
resolve-from "^4.0.0"
|
|
360
363
|
|
|
361
|
-
intact-react@3.0.
|
|
362
|
-
version "3.0.
|
|
363
|
-
resolved "https://registry.yarnpkg.com/intact-react/-/intact-react-3.0.
|
|
364
|
-
integrity sha512-
|
|
364
|
+
intact-react@3.0.15:
|
|
365
|
+
version "3.0.15"
|
|
366
|
+
resolved "https://registry.yarnpkg.com/intact-react/-/intact-react-3.0.15.tgz#d90d8171469807282555629b858083b2125c57cc"
|
|
367
|
+
integrity sha512-aCMFtThscRnqPao77MBUeDbFnQvJXkUFMoPfHHYuoMsmzZtvNc2wzzgw4WRwFMB9Dx8dQSFgs0MiyZERebQAJA==
|
|
365
368
|
dependencies:
|
|
366
|
-
intact "^3.0.
|
|
369
|
+
intact "^3.0.15"
|
|
367
370
|
tslib "^2.3.1"
|
|
368
371
|
|
|
369
|
-
intact-shared@^3.0.
|
|
370
|
-
version "3.0.
|
|
371
|
-
resolved "https://registry.yarnpkg.com/intact-shared/-/intact-shared-3.0.
|
|
372
|
-
integrity sha512-
|
|
372
|
+
intact-shared@^3.0.15:
|
|
373
|
+
version "3.0.15"
|
|
374
|
+
resolved "https://registry.yarnpkg.com/intact-shared/-/intact-shared-3.0.15.tgz#7d87c3632496a735d4873abffc3ec77004d23047"
|
|
375
|
+
integrity sha512-b8AavWEKACuQC9WrkIaQ9PatjuPvTbo8mw+1JZTM8P0/w3fzgbS5CF9qxjWp+BvB2D9Wlg+oQgQAO73yyyxU8A==
|
|
373
376
|
|
|
374
|
-
intact@^3.0.
|
|
375
|
-
version "3.0.
|
|
376
|
-
resolved "https://registry.yarnpkg.com/intact/-/intact-3.0.
|
|
377
|
-
integrity sha512-
|
|
377
|
+
intact@^3.0.15:
|
|
378
|
+
version "3.0.15"
|
|
379
|
+
resolved "https://registry.yarnpkg.com/intact/-/intact-3.0.15.tgz#3dede766b1cc95b4143842d5db520e900d548c76"
|
|
380
|
+
integrity sha512-dvQ6oUEIY0AUigKEw82k4u6KqTRK+C+7RNXr0E2puIytQG+VseUXj7JhbzH7eWELL7vKI/D9Pd7QexG0vKRbZA==
|
|
378
381
|
dependencies:
|
|
379
|
-
intact-shared "^3.0.
|
|
380
|
-
misstime "^3.0.
|
|
382
|
+
intact-shared "^3.0.15"
|
|
383
|
+
misstime "^3.0.15"
|
|
381
384
|
tslib "^2.2.0"
|
|
382
|
-
vdt "^3.0.
|
|
383
|
-
vdt-compiler "^3.0.
|
|
385
|
+
vdt "^3.0.15"
|
|
386
|
+
vdt-compiler "^3.0.15"
|
|
384
387
|
|
|
385
388
|
is-arrayish@^0.2.1:
|
|
386
389
|
version "0.2.1"
|
|
@@ -409,12 +412,12 @@ Lockfile:
|
|
|
409
412
|
resolved "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
|
|
410
413
|
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
|
|
411
414
|
|
|
412
|
-
misstime@^3.0.
|
|
413
|
-
version "3.0.
|
|
414
|
-
resolved "https://registry.yarnpkg.com/misstime/-/misstime-3.0.
|
|
415
|
-
integrity sha512-
|
|
415
|
+
misstime@^3.0.15:
|
|
416
|
+
version "3.0.15"
|
|
417
|
+
resolved "https://registry.yarnpkg.com/misstime/-/misstime-3.0.15.tgz#e530b432ca2156d0d4c6b4c26ddfd5edb3eb568b"
|
|
418
|
+
integrity sha512-1cJHhPXWud6BUtxHSspsFo+3NHB2m/sA3DY+bnI5bwad3MG9t8k8Gn/Kn6nEYcQ2WpTjP/OH1Alwo2pPlj2rvA==
|
|
416
419
|
dependencies:
|
|
417
|
-
intact-shared "^3.0.
|
|
420
|
+
intact-shared "^3.0.15"
|
|
418
421
|
|
|
419
422
|
monaco-editor@^0.26.1:
|
|
420
423
|
version "0.26.1"
|
|
@@ -519,22 +522,22 @@ Lockfile:
|
|
|
519
522
|
resolved "https://registry.npmmirror.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
|
|
520
523
|
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
|
|
521
524
|
|
|
522
|
-
vdt-compiler@^3.0.
|
|
523
|
-
version "3.0.
|
|
524
|
-
resolved "https://registry.yarnpkg.com/vdt-compiler/-/vdt-compiler-3.0.
|
|
525
|
-
integrity sha512-
|
|
525
|
+
vdt-compiler@^3.0.15:
|
|
526
|
+
version "3.0.15"
|
|
527
|
+
resolved "https://registry.yarnpkg.com/vdt-compiler/-/vdt-compiler-3.0.15.tgz#3c2c84d06821015fe68b6d2fc5b933924ac1a182"
|
|
528
|
+
integrity sha512-iXRSJ0UtFJuhIYtpvMXnfecyHpUjYST3P4H5+GH531G8GcX4RY+fRMmlC+HJvJR97eBA7o9ocatmG62g2WTUGg==
|
|
526
529
|
dependencies:
|
|
527
|
-
intact-shared "^3.0.
|
|
528
|
-
misstime "^3.0.
|
|
530
|
+
intact-shared "^3.0.15"
|
|
531
|
+
misstime "^3.0.15"
|
|
529
532
|
tslib "^2.2.0"
|
|
530
533
|
|
|
531
|
-
vdt@^3.0.
|
|
532
|
-
version "3.0.
|
|
533
|
-
resolved "https://registry.yarnpkg.com/vdt/-/vdt-3.0.
|
|
534
|
-
integrity sha512-
|
|
534
|
+
vdt@^3.0.15:
|
|
535
|
+
version "3.0.15"
|
|
536
|
+
resolved "https://registry.yarnpkg.com/vdt/-/vdt-3.0.15.tgz#80367a148eb8afdfd1a899ef0df94cba0caa7790"
|
|
537
|
+
integrity sha512-Fsl0wle7WxNh8z5mwDXqDrAUBdmnbtFFkIOa2ptnwRMqP2sIVzxurx6rh+S6Tat8FHnKkz79/s9+wHMg/Y/7zA==
|
|
535
538
|
dependencies:
|
|
536
|
-
intact-shared "^3.0.
|
|
537
|
-
misstime "^3.0.
|
|
539
|
+
intact-shared "^3.0.15"
|
|
540
|
+
misstime "^3.0.15"
|
|
538
541
|
tslib "^2.2.0"
|
|
539
542
|
|
|
540
543
|
yaml@^1.7.2:
|