xrk-components 0.5.6 → 0.5.8

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/lib/index.css CHANGED
@@ -18581,6 +18581,9 @@
18581
18581
  ._base-dialog.hide-footer .xrk-dialog__footer {
18582
18582
  display: none !important;
18583
18583
  }
18584
+ .base-upload[data-v-75b461d5] {
18585
+ line-height: 1.4;
18586
+ }
18584
18587
  .xrk-upload__list[data-v-75b461d5] {
18585
18588
  margin-top: 6px;
18586
18589
  }
@@ -18593,6 +18596,12 @@
18593
18596
  -ms-flex-wrap: wrap;
18594
18597
  flex-wrap: wrap;
18595
18598
  }
18599
+ .xrk-upload__text--right[data-v-75b461d5] {
18600
+ display: inline-block;
18601
+ }
18602
+ .xrk-upload__text--right[data-v-75b461d5]:empty {
18603
+ display: none;
18604
+ }
18596
18605
  .xrk-upload__item[data-v-75b461d5] {
18597
18606
  display: -webkit-box;
18598
18607
  display: -webkit-flex;
package/lib/index.esm.js CHANGED
@@ -44251,7 +44251,8 @@ var script$l = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$l
44251
44251
  label: __props.label,
44252
44252
  disabled: __props.disabled,
44253
44253
  border: __props.border,
44254
- onChange: handleChange
44254
+ onChange: handleChange,
44255
+ onClick: _cache[0] || (_cache[0] = function () { return handleChange(__props.label); })
44255
44256
  }, {
44256
44257
  default: withCtx(function () { return [
44257
44258
  renderSlot(_ctx.$slots, "default")
@@ -46002,7 +46003,7 @@ var createDialog = function (config) {
46002
46003
  var customDialogCount = document.querySelectorAll('._xrk_create_dialog').length;
46003
46004
  container.classList.add('_xrk_create_dialog');
46004
46005
  container.style.position = 'relative';
46005
- container.style.zIndex = "".concat(200 + customDialogCount);
46006
+ container.style.zIndex = "".concat(3000 + customDialogCount);
46006
46007
  var _instance = null;
46007
46008
  var close = function () { return __awaiter(void 0, void 0, void 0, function () {
46008
46009
  var _a, _b;
@@ -46428,10 +46429,7 @@ var _hoisted_3 = /*#__PURE__*/ _withScopeId(function () { return createElementV
46428
46429
  /*#__PURE__*/ createElementVNode("em", null, "点击上传")
46429
46430
  ], -1 /* HOISTED */); });
46430
46431
  var _hoisted_4 = /*#__PURE__*/ createTextVNode("选择文件");
46431
- var _hoisted_5 = {
46432
- class: "xrk-upload__text--right",
46433
- style: { "display": "inline-block" }
46434
- };
46432
+ var _hoisted_5 = { class: "xrk-upload__text--right" };
46435
46433
  var _hoisted_6 = { class: "xrk-upload__tip" };
46436
46434
  var _hoisted_7 = { class: "xrk-upload__item_icon" };
46437
46435
  var _hoisted_8 = { class: "xrk-upload__item_name" };
package/lib/index.umd.js CHANGED
@@ -44254,7 +44254,8 @@ usage: app.provide(ID_INJECTION_KEY, {
44254
44254
  label: __props.label,
44255
44255
  disabled: __props.disabled,
44256
44256
  border: __props.border,
44257
- onChange: handleChange
44257
+ onChange: handleChange,
44258
+ onClick: _cache[0] || (_cache[0] = function () { return handleChange(__props.label); })
44258
44259
  }, {
44259
44260
  default: vue.withCtx(function () { return [
44260
44261
  vue.renderSlot(_ctx.$slots, "default")
@@ -46005,7 +46006,7 @@ usage: app.provide(ID_INJECTION_KEY, {
46005
46006
  var customDialogCount = document.querySelectorAll('._xrk_create_dialog').length;
46006
46007
  container.classList.add('_xrk_create_dialog');
46007
46008
  container.style.position = 'relative';
46008
- container.style.zIndex = "".concat(200 + customDialogCount);
46009
+ container.style.zIndex = "".concat(3000 + customDialogCount);
46009
46010
  var _instance = null;
46010
46011
  var close = function () { return __awaiter(void 0, void 0, void 0, function () {
46011
46012
  var _a, _b;
@@ -46431,10 +46432,7 @@ usage: app.provide(ID_INJECTION_KEY, {
46431
46432
  /*#__PURE__*/ vue.createElementVNode("em", null, "点击上传")
46432
46433
  ], -1 /* HOISTED */); });
46433
46434
  var _hoisted_4 = /*#__PURE__*/ vue.createTextVNode("选择文件");
46434
- var _hoisted_5 = {
46435
- class: "xrk-upload__text--right",
46436
- style: { "display": "inline-block" }
46437
- };
46435
+ var _hoisted_5 = { class: "xrk-upload__text--right" };
46438
46436
  var _hoisted_6 = { class: "xrk-upload__tip" };
46439
46437
  var _hoisted_7 = { class: "xrk-upload__item_icon" };
46440
46438
  var _hoisted_8 = { class: "xrk-upload__item_name" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xrk-components",
3
- "version": "0.5.6",
3
+ "version": "0.5.8",
4
4
  "description": "",
5
5
  "main": "lib/index.esm.js",
6
6
  "typings": "lib/packages/index.d.ts",