@arco-iconbox/vue-smartcode 0.2.16 → 0.2.17

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.
@@ -9,32 +9,24 @@ const _sfc_main = {
9
9
  },
10
10
  useCurrentColor: {
11
11
  type: Boolean,
12
- default: false
12
+ default: true
13
13
  }
14
14
  }
15
15
  };
16
16
  const _hoisted_1 = ["fill"];
17
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("g", { "clip-path": "url(#svg_37a3235c38__clip0_271_29166)" }, [
18
- /* @__PURE__ */ createElementVNode("path", { d: "M6.74517 1.27946C7.31584 0.33645 8.68413 0.336619 9.25494 1.27946L9.61431 1.87321C12.1218 2.77278 13.8036 5.15159 13.8038 7.82633C13.8038 8.88299 14.1487 9.9114 14.7862 10.7541L15.501 11.6984C15.6537 11.9001 15.679 12.1711 15.5665 12.3976C15.4538 12.6241 15.2227 12.7677 14.9698 12.7677H10.7774C10.7131 14.2477 9.49585 15.4278 8.00005 15.4279C6.50427 15.4278 5.28701 14.2477 5.22271 12.7677H1.03033C0.777414 12.7676 0.546281 12.6241 0.433648 12.3976C0.3212 12.1712 0.346506 11.9001 0.499078 11.6984L1.21392 10.7541C1.85149 9.91137 2.19634 8.88304 2.19634 7.82633C2.19655 5.15191 3.87784 2.77302 6.38482 1.87321L6.74517 1.27946ZM6.55767 12.7677C6.62 13.5108 7.24086 14.0938 8.00005 14.0939C8.75926 14.0939 9.38101 13.5108 9.44341 12.7677H6.55767ZM8.11431 1.96989C8.06234 1.88441 7.93763 1.88424 7.8858 1.96989L7.40142 2.76969L7.27447 2.97965L7.04107 3.05778L6.9483 3.08805C4.90731 3.76625 3.52957 5.67562 3.52935 7.82633C3.52935 9.12257 3.12114 10.3841 2.36627 11.4347H13.6329C12.8783 10.3843 12.4708 9.12232 12.4708 7.82633C12.4706 5.67561 11.0928 3.76624 9.05181 3.08805L8.95904 3.05778L8.72564 2.97965L8.59869 2.76969L8.11431 1.96989Z" })
19
- ], -1);
20
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("defs", null, [
21
- /* @__PURE__ */ createElementVNode("clipPath", { id: "svg_37a3235c38__clip0_271_29166" }, [
22
- /* @__PURE__ */ createElementVNode("path", { d: "M0 0H16V16H0z" })
23
- ])
24
- ], -1);
25
- const _hoisted_4 = [
26
- _hoisted_2,
27
- _hoisted_3
17
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", { d: "M8.99931 0.53125C9.95645 0.53125 10.7458 1.24327 10.8714 2.16602C13.2131 2.85862 15.0433 4.81929 15.4935 7.3252L16.6683 13.8711C16.7073 14.0891 16.6482 14.3135 16.5062 14.4834C16.364 14.6532 16.1533 14.7509 15.9319 14.751H12.2679C11.9779 16.2932 10.6238 17.46 8.99736 17.46C7.37119 17.4597 6.01859 16.293 5.72881 14.751H2.06865C1.8472 14.751 1.63657 14.6532 1.49443 14.4834C1.35239 14.3136 1.29329 14.089 1.33232 13.8711L2.50713 7.32617C2.95694 4.82007 4.78658 2.85888 7.12822 2.16602C7.25371 1.24343 8.04242 0.53153 8.99931 0.53125ZM7.27568 14.751C7.5294 15.4576 8.20345 15.9636 8.99736 15.9639C9.79156 15.9639 10.4663 15.4578 10.72 14.751H7.27568ZM9.00029 3.39062C6.53068 3.39062 4.41597 5.16003 3.97978 7.59082L2.96318 13.2549H15.0374L14.0208 7.58984C13.5843 5.15953 11.4695 3.39077 9.00029 3.39062Z" }, null, -1);
18
+ const _hoisted_3 = [
19
+ _hoisted_2
28
20
  ];
29
21
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
30
22
  return openBlock(), createElementBlock("svg", mergeProps({
31
- viewBox: "0 0 16 16",
32
- fill: $props.useCurrentColor ? "currentColor" : "currentColor",
23
+ viewBox: "0 0 18 18",
24
+ fill: $props.useCurrentColor ? "currentColor" : "#000",
33
25
  xmlns: "http://www.w3.org/2000/svg",
34
26
  class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-line-notice`],
35
27
  width: "1em",
36
28
  height: "1em"
37
- }, _ctx.$attrs), _hoisted_4, 16, _hoisted_1);
29
+ }, _ctx.$attrs), _hoisted_3, 16, _hoisted_1);
38
30
  }
39
31
  var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
40
32
  export { index as default };
@@ -10,32 +10,24 @@ const _sfc_main = {
10
10
  },
11
11
  useCurrentColor: {
12
12
  type: Boolean,
13
- default: false
13
+ default: true
14
14
  }
15
15
  }
16
16
  };
17
17
  const _hoisted_1 = ["fill"];
18
- const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("g", { "clip-path": "url(#svg_37a3235c38__clip0_271_29166)" }, [
19
- /* @__PURE__ */ vue.createElementVNode("path", { d: "M6.74517 1.27946C7.31584 0.33645 8.68413 0.336619 9.25494 1.27946L9.61431 1.87321C12.1218 2.77278 13.8036 5.15159 13.8038 7.82633C13.8038 8.88299 14.1487 9.9114 14.7862 10.7541L15.501 11.6984C15.6537 11.9001 15.679 12.1711 15.5665 12.3976C15.4538 12.6241 15.2227 12.7677 14.9698 12.7677H10.7774C10.7131 14.2477 9.49585 15.4278 8.00005 15.4279C6.50427 15.4278 5.28701 14.2477 5.22271 12.7677H1.03033C0.777414 12.7676 0.546281 12.6241 0.433648 12.3976C0.3212 12.1712 0.346506 11.9001 0.499078 11.6984L1.21392 10.7541C1.85149 9.91137 2.19634 8.88304 2.19634 7.82633C2.19655 5.15191 3.87784 2.77302 6.38482 1.87321L6.74517 1.27946ZM6.55767 12.7677C6.62 13.5108 7.24086 14.0938 8.00005 14.0939C8.75926 14.0939 9.38101 13.5108 9.44341 12.7677H6.55767ZM8.11431 1.96989C8.06234 1.88441 7.93763 1.88424 7.8858 1.96989L7.40142 2.76969L7.27447 2.97965L7.04107 3.05778L6.9483 3.08805C4.90731 3.76625 3.52957 5.67562 3.52935 7.82633C3.52935 9.12257 3.12114 10.3841 2.36627 11.4347H13.6329C12.8783 10.3843 12.4708 9.12232 12.4708 7.82633C12.4706 5.67561 11.0928 3.76624 9.05181 3.08805L8.95904 3.05778L8.72564 2.97965L8.59869 2.76969L8.11431 1.96989Z" })
20
- ], -1);
21
- const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("defs", null, [
22
- /* @__PURE__ */ vue.createElementVNode("clipPath", { id: "svg_37a3235c38__clip0_271_29166" }, [
23
- /* @__PURE__ */ vue.createElementVNode("path", { d: "M0 0H16V16H0z" })
24
- ])
25
- ], -1);
26
- const _hoisted_4 = [
27
- _hoisted_2,
28
- _hoisted_3
18
+ const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", { d: "M8.99931 0.53125C9.95645 0.53125 10.7458 1.24327 10.8714 2.16602C13.2131 2.85862 15.0433 4.81929 15.4935 7.3252L16.6683 13.8711C16.7073 14.0891 16.6482 14.3135 16.5062 14.4834C16.364 14.6532 16.1533 14.7509 15.9319 14.751H12.2679C11.9779 16.2932 10.6238 17.46 8.99736 17.46C7.37119 17.4597 6.01859 16.293 5.72881 14.751H2.06865C1.8472 14.751 1.63657 14.6532 1.49443 14.4834C1.35239 14.3136 1.29329 14.089 1.33232 13.8711L2.50713 7.32617C2.95694 4.82007 4.78658 2.85888 7.12822 2.16602C7.25371 1.24343 8.04242 0.53153 8.99931 0.53125ZM7.27568 14.751C7.5294 15.4576 8.20345 15.9636 8.99736 15.9639C9.79156 15.9639 10.4663 15.4578 10.72 14.751H7.27568ZM9.00029 3.39062C6.53068 3.39062 4.41597 5.16003 3.97978 7.59082L2.96318 13.2549H15.0374L14.0208 7.58984C13.5843 5.15953 11.4695 3.39077 9.00029 3.39062Z" }, null, -1);
19
+ const _hoisted_3 = [
20
+ _hoisted_2
29
21
  ];
30
22
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
31
23
  return vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
32
- viewBox: "0 0 16 16",
33
- fill: $props.useCurrentColor ? "currentColor" : "currentColor",
24
+ viewBox: "0 0 18 18",
25
+ fill: $props.useCurrentColor ? "currentColor" : "#000",
34
26
  xmlns: "http://www.w3.org/2000/svg",
35
27
  class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-line-notice`],
36
28
  width: "1em",
37
29
  height: "1em"
38
- }, _ctx.$attrs), _hoisted_4, 16, _hoisted_1);
30
+ }, _ctx.$attrs), _hoisted_3, 16, _hoisted_1);
39
31
  }
40
32
  var index = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["render", _sfc_render]]);
41
33
  module.exports = index;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arco-iconbox/vue-smartcode",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "main": "lib/index.js",
5
5
  "module": "esm/index.js",
6
6
  "license": "ISC",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <svg viewBox="0 0 16 16" :fill="useCurrentColor ? 'currentColor' : 'currentColor'" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-line-notice`]" width="1em" height="1em" v-bind="$attrs"><g clip-path="url(#svg_37a3235c38__clip0_271_29166)"><path d="M6.74517 1.27946C7.31584 0.33645 8.68413 0.336619 9.25494 1.27946L9.61431 1.87321C12.1218 2.77278 13.8036 5.15159 13.8038 7.82633C13.8038 8.88299 14.1487 9.9114 14.7862 10.7541L15.501 11.6984C15.6537 11.9001 15.679 12.1711 15.5665 12.3976C15.4538 12.6241 15.2227 12.7677 14.9698 12.7677H10.7774C10.7131 14.2477 9.49585 15.4278 8.00005 15.4279C6.50427 15.4278 5.28701 14.2477 5.22271 12.7677H1.03033C0.777414 12.7676 0.546281 12.6241 0.433648 12.3976C0.3212 12.1712 0.346506 11.9001 0.499078 11.6984L1.21392 10.7541C1.85149 9.91137 2.19634 8.88304 2.19634 7.82633C2.19655 5.15191 3.87784 2.77302 6.38482 1.87321L6.74517 1.27946ZM6.55767 12.7677C6.62 13.5108 7.24086 14.0938 8.00005 14.0939C8.75926 14.0939 9.38101 13.5108 9.44341 12.7677H6.55767ZM8.11431 1.96989C8.06234 1.88441 7.93763 1.88424 7.8858 1.96989L7.40142 2.76969L7.27447 2.97965L7.04107 3.05778L6.9483 3.08805C4.90731 3.76625 3.52957 5.67562 3.52935 7.82633C3.52935 9.12257 3.12114 10.3841 2.36627 11.4347H13.6329C12.8783 10.3843 12.4708 9.12232 12.4708 7.82633C12.4706 5.67561 11.0928 3.76624 9.05181 3.08805L8.95904 3.05778L8.72564 2.97965L8.59869 2.76969L8.11431 1.96989Z"/></g><defs><clipPath id="svg_37a3235c38__clip0_271_29166"><path d="M0 0H16V16H0z"/></clipPath></defs></svg>
2
+ <svg viewBox="0 0 18 18" :fill="useCurrentColor ? 'currentColor' : '#000'" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-line-notice`]" width="1em" height="1em" v-bind="$attrs"><path d="M8.99931 0.53125C9.95645 0.53125 10.7458 1.24327 10.8714 2.16602C13.2131 2.85862 15.0433 4.81929 15.4935 7.3252L16.6683 13.8711C16.7073 14.0891 16.6482 14.3135 16.5062 14.4834C16.364 14.6532 16.1533 14.7509 15.9319 14.751H12.2679C11.9779 16.2932 10.6238 17.46 8.99736 17.46C7.37119 17.4597 6.01859 16.293 5.72881 14.751H2.06865C1.8472 14.751 1.63657 14.6532 1.49443 14.4834C1.35239 14.3136 1.29329 14.089 1.33232 13.8711L2.50713 7.32617C2.95694 4.82007 4.78658 2.85888 7.12822 2.16602C7.25371 1.24343 8.04242 0.53153 8.99931 0.53125ZM7.27568 14.751C7.5294 15.4576 8.20345 15.9636 8.99736 15.9639C9.79156 15.9639 10.4663 15.4578 10.72 14.751H7.27568ZM9.00029 3.39062C6.53068 3.39062 4.41597 5.16003 3.97978 7.59082L2.96318 13.2549H15.0374L14.0208 7.58984C13.5843 5.15953 11.4695 3.39077 9.00029 3.39062Z"/></svg>
3
3
  </template>
4
4
  <script>
5
5
 
@@ -12,7 +12,7 @@ export default {
12
12
  },
13
13
  useCurrentColor: {
14
14
  type: Boolean,
15
- default: false,
15
+ default: true,
16
16
  },
17
17
  },
18
18
  };