@arco-iconbox/vue-smartcode 0.1.12 → 0.1.13

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.
@@ -0,0 +1,35 @@
1
+ import { openBlock, createElementBlock, mergeProps, createElementVNode } from "vue";
2
+ import _export_sfc from "../_virtual/plugin-vue_export-helper.js";
3
+ const _sfc_main = {
4
+ name: "IconRequired",
5
+ props: {
6
+ prefix: {
7
+ type: String,
8
+ default: "sc"
9
+ },
10
+ useCurrentColor: {
11
+ type: Boolean,
12
+ default: false
13
+ }
14
+ }
15
+ };
16
+ const _hoisted_1 = ["fill"];
17
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18
+ return openBlock(), createElementBlock("svg", mergeProps({
19
+ viewBox: "0 0 8 8",
20
+ fill: "none",
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-required`],
23
+ width: "1em",
24
+ height: "1em"
25
+ }, _ctx.$attrs), [
26
+ createElementVNode("path", {
27
+ "fill-rule": "evenodd",
28
+ "clip-rule": "evenodd",
29
+ d: "M4.41817 1.10156C4.52862 1.10156 4.61812 1.19118 4.61812 1.30164L4.61726 3.34656L6.45369 2.75024C6.55874 2.71611 6.6715 2.77349 6.70564 2.87854L6.95296 3.6394C6.98709 3.74445 6.92959 3.85735 6.82454 3.89148L4.9742 4.49158L6.19942 6.17822C6.26434 6.26758 6.24459 6.3926 6.15523 6.45752L5.50801 6.92773C5.41865 6.99265 5.29351 6.97291 5.22859 6.88354L3.96223 5.13953L2.68904 6.8927C2.62412 6.98206 2.49898 7.00194 2.40962 6.93701L1.7624 6.4668C1.67304 6.40188 1.65329 6.27674 1.71821 6.18738L2.97322 4.45764L1.16853 3.87158C1.06348 3.83745 1.00598 3.72468 1.04011 3.61963L1.28731 2.85876C1.32144 2.75371 1.43421 2.69622 1.53926 2.73035L3.41719 3.3396L3.41817 1.30164C3.41817 1.19118 3.50766 1.10156 3.61812 1.10156H4.41817Z",
30
+ fill: $props.useCurrentColor ? "currentColor" : "#F53F3F"
31
+ }, null, 8, _hoisted_1)
32
+ ], 16);
33
+ }
34
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
35
+ export { index as default };
package/esm/index.js CHANGED
@@ -164,3 +164,4 @@ export { default as IconLineEye } from "./IconLineEye/index.js";
164
164
  export { default as IconLineSubtract } from "./IconLineSubtract/index.js";
165
165
  export { default as IconLineAdd } from "./IconLineAdd/index.js";
166
166
  export { default as IconLineGo } from "./IconLineGo/index.js";
167
+ export { default as IconRequired } from "./IconRequired/index.js";
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var vue = require("vue");
3
+ var pluginVue_exportHelper = require("../_virtual/plugin-vue_export-helper.js");
4
+ const _sfc_main = {
5
+ name: "IconRequired",
6
+ props: {
7
+ prefix: {
8
+ type: String,
9
+ default: "sc"
10
+ },
11
+ useCurrentColor: {
12
+ type: Boolean,
13
+ default: false
14
+ }
15
+ }
16
+ };
17
+ const _hoisted_1 = ["fill"];
18
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
19
+ return vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
20
+ viewBox: "0 0 8 8",
21
+ fill: "none",
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-required`],
24
+ width: "1em",
25
+ height: "1em"
26
+ }, _ctx.$attrs), [
27
+ vue.createElementVNode("path", {
28
+ "fill-rule": "evenodd",
29
+ "clip-rule": "evenodd",
30
+ d: "M4.41817 1.10156C4.52862 1.10156 4.61812 1.19118 4.61812 1.30164L4.61726 3.34656L6.45369 2.75024C6.55874 2.71611 6.6715 2.77349 6.70564 2.87854L6.95296 3.6394C6.98709 3.74445 6.92959 3.85735 6.82454 3.89148L4.9742 4.49158L6.19942 6.17822C6.26434 6.26758 6.24459 6.3926 6.15523 6.45752L5.50801 6.92773C5.41865 6.99265 5.29351 6.97291 5.22859 6.88354L3.96223 5.13953L2.68904 6.8927C2.62412 6.98206 2.49898 7.00194 2.40962 6.93701L1.7624 6.4668C1.67304 6.40188 1.65329 6.27674 1.71821 6.18738L2.97322 4.45764L1.16853 3.87158C1.06348 3.83745 1.00598 3.72468 1.04011 3.61963L1.28731 2.85876C1.32144 2.75371 1.43421 2.69622 1.53926 2.73035L3.41719 3.3396L3.41817 1.30164C3.41817 1.19118 3.50766 1.10156 3.61812 1.10156H4.41817Z",
31
+ fill: $props.useCurrentColor ? "currentColor" : "#F53F3F"
32
+ }, null, 8, _hoisted_1)
33
+ ], 16);
34
+ }
35
+ var index = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["render", _sfc_render]]);
36
+ module.exports = index;
package/lib/index.js CHANGED
@@ -166,6 +166,7 @@ var index$2y = require("./IconLineEye/index.js");
166
166
  var index$2z = require("./IconLineSubtract/index.js");
167
167
  var index$2A = require("./IconLineAdd/index.js");
168
168
  var index$2B = require("./IconLineGo/index.js");
169
+ var index$2C = require("./IconRequired/index.js");
169
170
  exports.IconFillHeart = index;
170
171
  exports.IconFillMute = index$1;
171
172
  exports.IconFillSound = index$2;
@@ -332,3 +333,4 @@ exports.IconLineEye = index$2y;
332
333
  exports.IconLineSubtract = index$2z;
333
334
  exports.IconLineAdd = index$2A;
334
335
  exports.IconLineGo = index$2B;
336
+ exports.IconRequired = index$2C;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arco-iconbox/vue-smartcode",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "main": "lib/index.js",
5
5
  "module": "esm/index.js",
6
6
  "license": "ISC",
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <svg viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-required`]" width="1em" height="1em" v-bind="$attrs"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.41817 1.10156C4.52862 1.10156 4.61812 1.19118 4.61812 1.30164L4.61726 3.34656L6.45369 2.75024C6.55874 2.71611 6.6715 2.77349 6.70564 2.87854L6.95296 3.6394C6.98709 3.74445 6.92959 3.85735 6.82454 3.89148L4.9742 4.49158L6.19942 6.17822C6.26434 6.26758 6.24459 6.3926 6.15523 6.45752L5.50801 6.92773C5.41865 6.99265 5.29351 6.97291 5.22859 6.88354L3.96223 5.13953L2.68904 6.8927C2.62412 6.98206 2.49898 7.00194 2.40962 6.93701L1.7624 6.4668C1.67304 6.40188 1.65329 6.27674 1.71821 6.18738L2.97322 4.45764L1.16853 3.87158C1.06348 3.83745 1.00598 3.72468 1.04011 3.61963L1.28731 2.85876C1.32144 2.75371 1.43421 2.69622 1.53926 2.73035L3.41719 3.3396L3.41817 1.30164C3.41817 1.19118 3.50766 1.10156 3.61812 1.10156H4.41817Z" :fill="useCurrentColor ? 'currentColor' : '#F53F3F'"/></svg>
3
+ </template>
4
+ <script>
5
+
6
+ export default {
7
+ name: 'IconRequired',
8
+ props: {
9
+ prefix: {
10
+ type: String,
11
+ default: 'sc',
12
+ },
13
+ useCurrentColor: {
14
+ type: Boolean,
15
+ default: false,
16
+ },
17
+ },
18
+ };
19
+ </script>
package/src/index.js CHANGED
@@ -163,4 +163,5 @@ export { default as IconFillBranch } from './IconFillBranch/index.vue';
163
163
  export { default as IconLineEye } from './IconLineEye/index.vue';
164
164
  export { default as IconLineSubtract } from './IconLineSubtract/index.vue';
165
165
  export { default as IconLineAdd } from './IconLineAdd/index.vue';
166
- export { default as IconLineGo } from './IconLineGo/index.vue';
166
+ export { default as IconLineGo } from './IconLineGo/index.vue';
167
+ export { default as IconRequired } from './IconRequired/index.vue';