bkui-vue 0.0.2-beta.144 → 0.0.2-beta.145

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,4 +1,3 @@
1
- @import 'diff2html/bundles/css/diff2html.min.css';
2
1
  /* stylelint-disable declaration-no-important */
3
2
  .bk-code-diff {
4
3
  position: relative;
@@ -1,5 +1,6 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
2
  import { ElementType } from '../shared';
3
+ import 'diff2html/bundles/css/diff2html.min.css';
3
4
  declare const diffFormats: readonly ["side-by-side", "line-by-line"];
4
5
  export type DiffFormatType = ElementType<typeof diffFormats>;
5
6
  export declare const LANGUAGES: readonly ["css", "java", "javascript", "json", "scss", "less", "stylus", "shell", "bash", "cpp", "go", "xml", "python", "typescript", "sql", "ruby", "vim", "php", "perl", "powershell", "makefile"];
@@ -1,5 +1,5 @@
1
1
  @import '../styles/themes/themes.less';
2
- @import 'diff2html/bundles/css/diff2html.min.css';
2
+ // @import 'diff2html/bundles/css/diff2html.min.css';
3
3
 
4
4
  // TODO: theme var
5
5
 
@@ -1,4 +1,3 @@
1
- @import 'diff2html/bundles/css/diff2html.min.css';
2
1
  :root {
3
2
  --bk-prefix: bk;
4
3
  --popover-max-height: 216px;
@@ -5,6 +5,13 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
6
6
  /******/ var __webpack_modules__ = ({
7
7
 
8
+ /***/ 4798:
9
+ /***/ (function(module, exports) {
10
+
11
+ .d2h-wrapper{text-align:left}.d2h-file-header{background-color:#f7f7f7;border-bottom:1px solid #d8d8d8;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;height:35px;padding:5px 10px}.d2h-file-header.d2h-sticky-header{position:sticky;top:0;z-index:1}.d2h-file-stats{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:14px;margin-left:auto}.d2h-lines-added{border:1px solid #b4e2b4;border-radius:5px 0 0 5px;color:#399839;padding:2px;text-align:right;vertical-align:middle}.d2h-lines-deleted{border:1px solid #e9aeae;border-radius:0 5px 5px 0;color:#c33;margin-left:1px;padding:2px;text-align:left;vertical-align:middle}.d2h-file-name-wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;width:100%}.d2h-file-name{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.d2h-file-wrapper{border:1px solid #ddd;border-radius:3px;margin-bottom:1em}.d2h-file-collapse{-webkit-box-pack:end;-ms-flex-pack:end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #ddd;border-radius:3px;cursor:pointer;display:none;font-size:12px;justify-content:flex-end;padding:4px 8px}.d2h-file-collapse.d2h-selected{background-color:#c8e1ff}.d2h-file-collapse-input{margin:0 4px 0 0}.d2h-diff-table{border-collapse:collapse;font-family:Menlo,Consolas,monospace;font-size:13px;width:100%}.d2h-files-diff{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.d2h-file-diff{overflow-y:hidden}.d2h-file-diff.d2h-d-none,.d2h-files-diff.d2h-d-none{display:none}.d2h-file-side-diff{display:inline-block;overflow-x:scroll;overflow-y:hidden;width:50%}.d2h-code-line{padding:0 8em;width:calc(100% - 16em)}.d2h-code-line,.d2h-code-side-line{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.d2h-code-side-line{padding:0 4.5em;width:calc(100% - 9em)}.d2h-code-line-ctn{word-wrap:normal;background:none;display:inline-block;padding:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle;white-space:pre;width:100%}.d2h-code-line del,.d2h-code-side-line del{background-color:#ffb6ba;border-radius:.2em;display:inline-block;margin-top:-1px;text-decoration:none}.d2h-code-line ins,.d2h-code-side-line ins{background-color:#97f295;border-radius:.2em;display:inline-block;margin-top:-1px;text-align:left;text-decoration:none}.d2h-code-line-prefix{word-wrap:normal;background:none;display:inline;padding:0;white-space:pre}.line-num1{float:left}.line-num1,.line-num2{-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;padding:0 .5em;text-overflow:ellipsis;width:3.5em}.line-num2{float:right}.d2h-code-linenumber{background-color:#fff;border:solid #eee;border-width:0 1px;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.3);cursor:pointer;display:inline-block;position:absolute;text-align:right;width:7.5em}.d2h-code-linenumber:after{content:"\200b"}.d2h-code-side-linenumber{background-color:#fff;border:solid #eee;border-width:0 1px;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.3);cursor:pointer;display:inline-block;overflow:hidden;padding:0 .5em;position:absolute;text-align:right;text-overflow:ellipsis;width:4em}.d2h-code-side-linenumber:after{content:"\200b"}.d2h-code-side-emptyplaceholder,.d2h-emptyplaceholder{background-color:#f1f1f1;border-color:#e1e1e1}.d2h-code-line-prefix,.d2h-code-linenumber,.d2h-code-side-linenumber,.d2h-emptyplaceholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.d2h-code-linenumber,.d2h-code-side-linenumber{direction:rtl}.d2h-del{background-color:#fee8e9;border-color:#e9aeae}.d2h-ins{background-color:#dfd;border-color:#b4e2b4}.d2h-info{background-color:#f8fafd;border-color:#d5e4f2;color:rgba(0,0,0,.3)}.d2h-file-diff .d2h-del.d2h-change{background-color:#fdf2d0}.d2h-file-diff .d2h-ins.d2h-change{background-color:#ded}.d2h-file-list-wrapper{margin-bottom:10px}.d2h-file-list-wrapper a{color:#3572b0;text-decoration:none}.d2h-file-list-wrapper a:visited{color:#3572b0}.d2h-file-list-header{text-align:left}.d2h-file-list-title{font-weight:700}.d2h-file-list-line{display:-webkit-box;display:-ms-flexbox;display:flex;text-align:left}.d2h-file-list{display:block;list-style:none;margin:0;padding:0}.d2h-file-list>li{border-bottom:1px solid #ddd;margin:0;padding:5px 10px}.d2h-file-list>li:last-child{border-bottom:none}.d2h-file-switch{cursor:pointer;display:none;font-size:10px}.d2h-icon{fill:currentColor;margin-right:10px;vertical-align:middle}.d2h-deleted{color:#c33}.d2h-added{color:#399839}.d2h-changed{color:#d0b44c}.d2h-moved{color:#3572b0}.d2h-tag{background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:10px;margin-left:5px;padding:0 2px}.d2h-deleted-tag{border:1px solid #c33}.d2h-added-tag{border:1px solid #399839}.d2h-changed-tag{border:1px solid #d0b44c}.d2h-moved-tag{border:1px solid #3572b0}
12
+
13
+ /***/ }),
14
+
8
15
  /***/ 2148:
9
16
  /***/ ((__unused_webpack_module, exports) => {
10
17
 
@@ -831,7 +838,7 @@ var Hogan = {};
831
838
  /******/ };
832
839
  /******/
833
840
  /******/ // Execute the module function
834
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
841
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
835
842
  /******/
836
843
  /******/ // Return the exports of the module
837
844
  /******/ return module.exports;
@@ -5349,6 +5356,8 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["number"]: ()
5349
5356
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
5350
5357
  var config_provider_y = x => () => x
5351
5358
  const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
5359
+ // EXTERNAL MODULE: ../../node_modules/diff2html/bundles/css/diff2html.min.css
5360
+ var diff2html_min = __webpack_require__(4798);
5352
5361
  ;// CONCATENATED MODULE: ../../packages/code-diff/src/code-diff.tsx
5353
5362
 
5354
5363
 
@@ -5383,6 +5392,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
5383
5392
 
5384
5393
 
5385
5394
 
5395
+
5386
5396
  var diffFormats = ['side-by-side', 'line-by-line'];
5387
5397
  var CodeDiffFormat = (0,shared_namespaceObject.stringEnum)([].concat(diffFormats));
5388
5398
  var LANGUAGES = (/* unused pure expression or super */ null && (['css', 'java', 'javascript', 'json', 'scss', 'less', 'stylus', 'shell', 'bash', 'cpp', 'go', 'xml', 'python', 'typescript', 'sql', 'ruby', 'vim', 'php', 'perl', 'powershell', 'makefile']));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.2-beta.144",
3
+ "version": "0.0.2-beta.145",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",
@@ -12,6 +12,7 @@
12
12
  "dist"
13
13
  ],
14
14
  "packageManager": "yarn@1.22.10",
15
+ "sideEffects": false,
15
16
  "engines": {
16
17
  "node": ">=14.0.0"
17
18
  },
@@ -126,7 +127,6 @@
126
127
  "highlight.js": "~11.5.0",
127
128
  "vue": "^3.2.0"
128
129
  },
129
- "main": "dist/index.esm.js",
130
130
  "module": "lib/index.js",
131
131
  "typings": "lib/index.d.ts",
132
132
  "lint-staged": {