@king-design/react 2.0.13 → 2.0.15

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @king-design v2.0.13
2
+ * @king-design v2.0.15
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.13';
62
+ export var version = '2.0.15';
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.13",
3
+ "version": "2.0.15",
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.13",
40
+ "intact-react": "3.0.15",
41
41
  "monaco-editor": "^0.26.1",
42
42
  "mxgraphx": "^4.0.7",
43
43
  "resize-observer-polyfill": "^1.5.1",
package/styles/global.js CHANGED
@@ -12,6 +12,6 @@ var slideDirections = {
12
12
  right: 'left center 0'
13
13
  }; // TODO: update global when theme changed
14
14
 
15
- injectGlobal("html{--var-wave-color:", theme.color.primary, ";box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,SF Pro SC,SF Pro Text,Helvetica Neue,Helvetica,PingFang SC,Segoe UI,Roboto,Hiragino Sans GB,arial,microsoft yahei ui,Microsoft YaHei,SimSun,sans-serif;}body{font-size:", theme.fontSize, ";line-height:", theme.lineHeight, ";margin:0;padding:0;color:", theme.color.text, ";}*,*:before,*:after{box-sizing:inherit;}", _mapInstanceProperty(_context = _Object$keys(slideDirections)).call(_context, function (direction) {
15
+ injectGlobal("html{--var-wave-color:", theme.color.primary, ";box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,SF Pro SC,SF Pro Text,Helvetica Neue,Helvetica,PingFang SC,Segoe UI,Roboto,Hiragino Sans GB,arial,microsoft yahei ui,Microsoft YaHei,sans-serif;}body{font-size:", theme.fontSize, ";line-height:", theme.lineHeight, ";margin:0;padding:0;color:", theme.color.text, ";}*,*:before,*:after{box-sizing:inherit;}", _mapInstanceProperty(_context = _Object$keys(slideDirections)).call(_context, function (direction) {
16
16
  return "\n .k-slide" + direction + "-enter-from,\n .k-slide" + direction + "-leave-to {\n transform-origin: " + slideDirections[direction] + ";\n opacity: 0;\n transform: " + (direction === 'down' || direction === 'up' ? "scaleY(.8)" : 'scaleX(.8)') + ";\n }\n .k-slide" + direction + "-enter-active,\n .k-slide" + direction + "-leave-active {\n transform-origin: " + slideDirections[direction] + ";\n transition: opacity " + theme.transition.large + ", transform " + theme.transition.large + " !important;\n pointer-events: none;\n }\n ";
17
17
  }).join(''), " .k-fade-enter-from,.k-fade-leave-to{opacity:0!important;}.k-fade-enter-active,.k-fade-leave-active{transition:opacity ", theme.transition.large, ";}.k-fade-leave-active:not(tr){position:absolute;}.k-fade-move{transition:transform ", theme.transition.large, ";}.k-scale-enter-from,.k-scale-leave-to{transform:scale(0);}.k-scale-enter-active,.k-scale-leave-active{transition:transform ", theme.transition.large, ";}.k-expand-enter-from,.k-expand-leave-to{opacity:0;overflow:hidden;}.k-expand-enter-active,.k-expand-leave-active{transition:all ", theme.transition.large, "!important;overflow:hidden;}.k-expand-move{transition:transform ", theme.transition.large, ";}.k-dropdown-enter-from,.k-dropdown-leave-to{opacity:0;transform:translateY(-20px);}.k-dropdown-enter-active,.k-dropdown-leave-active,.k-dropdown-move{transition:all ", theme.transition.large, ";}.k-dropdown-leave-active{position:absolute!important;}.k-dropdown-move{transition:transform ", theme.transition.large, ";}.k-fade-in-left-enter-from,.k-fade-in-left-leave-to{opacity:0;transform:translate3d(-15px, 0, 0);}.k-fade-in-left-enter-active,.k-fade-in-left-leave-active{transition:all ", theme.transition.large, ";td{background:", palette(theme.color.primary, -4), "!important;}}.k-fade-in-left-move{transition:transform ", theme.transition.large, ";}.k-fade-expand-enter-from,.k-fade-expand-leave-to{opacity:0;}.k-fade-expand-enter-active,.k-fade-expand-leave-active{transition:all ", theme.transition.large, ";background:", palette(theme.color.primary, -4), "!important;}.c-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.c-hidden{display:none;}.c-middle{display:inline-block;vertical-align:middle;}");
package/yarn-error.log CHANGED
@@ -1,25 +1,25 @@
1
1
  Arguments:
2
- /Users/javey/.nvm/versions/node/v14.17.3/bin/node /Users/javey/.node/corepack/yarn/1.22.15/bin/yarn.js
2
+ /home/javey/.nvm/versions/node/v14.21.3/bin/node /usr/share/yarn/bin/yarn.js
3
3
 
4
4
  PATH:
5
- /Users/javey/Workspaces/kpc/node_modules/.bin:/Users/javey/.nvm/versions/node/v14.17.3/bin:/Users/javey/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/javey/.nvm/versions/node/v14.17.3/bin:/Users/javey/.cargo/bin:/Users/javey/.bin:/Users/javey/.bin
5
+ /home/javey/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/javey/Workspaces/kpc/node_modules/.bin:/home/javey/.nvm/versions/node/v14.21.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
6
6
 
7
7
  Yarn version:
8
- 1.22.15
8
+ 1.22.19
9
9
 
10
10
  Node version:
11
- 14.17.3
11
+ 14.21.3
12
12
 
13
13
  Platform:
14
- darwin x64
14
+ linux x64
15
15
 
16
16
  Trace:
17
- Error: https://registry.yarnpkg.com/intact/-/intact-3.0.10.tgz: ENOENT: no such file or directory, open '/Users/javey/Library/Caches/Yarn/v6/npm-intact-3.0.10-eab07b631228e2cbeb1445fe2ad9ce0fbf6d45b3-integrity/node_modules/intact/.yarn-tarball.tgz'
17
+ Error: https://registry.npmmirror.com/dayjs/-/dayjs-1.10.7.tgz: ENOENT: no such file or directory, open '/home/javey/.cache/yarn/v6/npm-dayjs-1.10.7-2cf5f91add28116748440866a0a1d26f3a6ce468-integrity/node_modules/dayjs/.yarn-tarball.tgz'
18
18
 
19
19
  npm manifest:
20
20
  {
21
21
  "name": "@king-design/react",
22
- "version": "2.0.8",
22
+ "version": "2.0.13",
23
23
  "description": "King-Design UI components for React.",
24
24
  "keywords": [
25
25
  "component",
@@ -56,7 +56,7 @@ npm manifest:
56
56
  "dayjs": "^1.10.7",
57
57
  "downloadjs": "^1.4.7",
58
58
  "enquire.js": "^2.1.6",
59
- "intact-react": "3.0.10",
59
+ "intact-react": "3.0.14",
60
60
  "monaco-editor": "^0.26.1",
61
61
  "mxgraphx": "^4.0.7",
62
62
  "resize-observer-polyfill": "^1.5.1",
@@ -358,29 +358,29 @@ Lockfile:
358
358
  parent-module "^1.0.0"
359
359
  resolve-from "^4.0.0"
360
360
 
361
- intact-react@3.0.9:
362
- version "3.0.9"
363
- resolved "https://registry.yarnpkg.com/intact-react/-/intact-react-3.0.9.tgz#03c01b33ea05a0d8d09341c752897569325dfe44"
364
- integrity sha512-QSwmy13k7rXZz7T9qwqNtKEX2CdbPOCFJYje3WOrf9AWAG/NX6tzggLM1Br6Rf3kcuq7LrsOiW1LEcvgJrz3Rg==
361
+ intact-react@3.0.13:
362
+ version "3.0.13"
363
+ resolved "https://registry.yarnpkg.com/intact-react/-/intact-react-3.0.13.tgz#bbe9bb5afa2c67cfc058a4557ce28b7a52f30952"
364
+ integrity sha512-RegeLioJOCneDDgg2BfPt5Zuzn0RL+FuvVhyyakc5nPvMfxKOKXY7VbvYGCV3DeYwpPPn+AmY5ZHAyoqPQCiGQ==
365
365
  dependencies:
366
- intact "^3.0.9"
366
+ intact "^3.0.13"
367
367
  tslib "^2.3.1"
368
368
 
369
- intact-shared@^3.0.9:
370
- version "3.0.9"
371
- resolved "https://registry.yarnpkg.com/intact-shared/-/intact-shared-3.0.9.tgz#de7c67de2bfd5078a729d20c84182cd43610db48"
372
- integrity sha512-c/T+EyJeBCIh4XGphVOK7tH3t+J4FXoknzV/gSTiZYsLZDSGA2cBRD6z6NGWGDnj/XAXPbFaFIAFKXNhCaTjNQ==
369
+ intact-shared@^3.0.13:
370
+ version "3.0.13"
371
+ resolved "https://registry.yarnpkg.com/intact-shared/-/intact-shared-3.0.13.tgz#e8e6f36d95cded2d9d5a3e1302a3315e9d182cf6"
372
+ integrity sha512-DClf1YscE9RYOeYAY3BFv1UuFt5SvrO2kLL9QbZbWGDaroEVuX/2F2UcisjE3PNbDvVtZ8+pbRZ8P/kZy9YnNQ==
373
373
 
374
- intact@^3.0.9:
375
- version "3.0.9"
376
- resolved "https://registry.yarnpkg.com/intact/-/intact-3.0.9.tgz#a4c0b3574d97c77c62cd1a1e84d6e27742888e6f"
377
- integrity sha512-liBz/xo0XAKIuXBoBs0G6yvWHGJTb43ChF4AUJzQNr4CHX5YWZPgIKGvw34UScBmYWpu3SzwvMDLs7aoVDITxg==
374
+ intact@^3.0.13:
375
+ version "3.0.13"
376
+ resolved "https://registry.yarnpkg.com/intact/-/intact-3.0.13.tgz#19c7cb0424e532b68a4a3f5f43229ddd0d3f8709"
377
+ integrity sha512-RTZOY72BOXOcpb1BswmhDMtbOLo0EoiHFT/HBjpXUTRu2TRnNm5yFh0VIF7dL1ZREYxiKEpvPUFIoFhwjMRzRg==
378
378
  dependencies:
379
- intact-shared "^3.0.9"
380
- misstime "^3.0.9"
379
+ intact-shared "^3.0.13"
380
+ misstime "^3.0.13"
381
381
  tslib "^2.2.0"
382
- vdt "^3.0.9"
383
- vdt-compiler "^3.0.9"
382
+ vdt "^3.0.13"
383
+ vdt-compiler "^3.0.13"
384
384
 
385
385
  is-arrayish@^0.2.1:
386
386
  version "0.2.1"
@@ -409,12 +409,12 @@ Lockfile:
409
409
  resolved "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
410
410
  integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
411
411
 
412
- misstime@^3.0.9:
413
- version "3.0.9"
414
- resolved "https://registry.yarnpkg.com/misstime/-/misstime-3.0.9.tgz#0f6094109768c71c7fc4bdd47aba7e847c12f672"
415
- integrity sha512-LYgnqiU2eucjimJbjM5p4VHNR27mVAl8ISbolYUHQS9J0fk2JN00MPH7H4uEbCAFmSrVVHLAJgQ+qGRj+/GNeg==
412
+ misstime@^3.0.13:
413
+ version "3.0.13"
414
+ resolved "https://registry.yarnpkg.com/misstime/-/misstime-3.0.13.tgz#b9f614627eda9fe25b7db08768fa08858dce61e2"
415
+ integrity sha512-a5Md2dpyyT+0tRAHdIQi1NEWfFOPfPTvqpvqJ1CzT8zZDd/DesGjCt4+pAi88fBcDnmdw213PMe1lNwvSlmo0A==
416
416
  dependencies:
417
- intact-shared "^3.0.9"
417
+ intact-shared "^3.0.13"
418
418
 
419
419
  monaco-editor@^0.26.1:
420
420
  version "0.26.1"
@@ -519,22 +519,22 @@ Lockfile:
519
519
  resolved "https://registry.npmmirror.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
520
520
  integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
521
521
 
522
- vdt-compiler@^3.0.9:
523
- version "3.0.9"
524
- resolved "https://registry.yarnpkg.com/vdt-compiler/-/vdt-compiler-3.0.9.tgz#4d33cedd92bf622b553869480ef3f1c1e0490bea"
525
- integrity sha512-pK9aQUxcpXs6fho5bJ8jrlp/jfBJPomLUtSFexK6nDgShw4yTmXErZUV51tnSSXauO4QsF75OLFdvgcH+F1/Tg==
522
+ vdt-compiler@^3.0.13:
523
+ version "3.0.13"
524
+ resolved "https://registry.yarnpkg.com/vdt-compiler/-/vdt-compiler-3.0.13.tgz#bfbf4f58b60ee4ad9b571c43e50bd872f62c59ff"
525
+ integrity sha512-lNTsB9M4mGmcUr21hro1lOcVHFXQBsO14c3K6WUlOGQgJvjp4ELhjIIbaL525Q//O08geviNuvf1V2gK/4Xtmg==
526
526
  dependencies:
527
- intact-shared "^3.0.9"
528
- misstime "^3.0.9"
527
+ intact-shared "^3.0.13"
528
+ misstime "^3.0.13"
529
529
  tslib "^2.2.0"
530
530
 
531
- vdt@^3.0.9:
532
- version "3.0.9"
533
- resolved "https://registry.yarnpkg.com/vdt/-/vdt-3.0.9.tgz#de3b3259cb2dfd7934c0bb179c6de1b3b4ac025a"
534
- integrity sha512-TyKJxDaIDryxdseZW7UXN9lQMngTygFPazhQ+O2M+biH6QzP1yk7iTYH4BPKoyJGEfd3zm7z1n/ifRdMRXp7Tw==
531
+ vdt@^3.0.13:
532
+ version "3.0.13"
533
+ resolved "https://registry.yarnpkg.com/vdt/-/vdt-3.0.13.tgz#ca74d3469529468c997f0b7bf12c6a7c5ea81a59"
534
+ integrity sha512-AOzc0FInl4CfRod5p/dG5C54pocLOhr1W+e+vxeHpHs2RLAICyGXYEoUvQTwzEIJC4iXgD/unzsX+6BJTnintQ==
535
535
  dependencies:
536
- intact-shared "^3.0.9"
537
- misstime "^3.0.9"
536
+ intact-shared "^3.0.13"
537
+ misstime "^3.0.13"
538
538
  tslib "^2.2.0"
539
539
 
540
540
  yaml@^1.7.2: