@arco-iconbox/vue-smartcode 0.1.27 → 0.1.28

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,32 @@
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: "IconColorKey",
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 1024 1024",
20
+ xmlns: "http://www.w3.org/2000/svg",
21
+ class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-color-key`],
22
+ width: "1em",
23
+ height: "1em"
24
+ }, _ctx.$attrs), [
25
+ createElementVNode("path", {
26
+ d: "M330.924671 486.843986L4.974452 814.32998v204.770163h204.770162v-116.938389h116.938389v-117.011522h117.011522l93.097291-92.146573a358.347784 358.347784 0 1 0-205.867145-206.232806zM665.577622 477.921857a119.424884 119.424884 0 1 1 0-238.849768 119.424884 119.424884 0 0 1 0 238.849768z",
27
+ fill: $props.useCurrentColor ? "currentColor" : "#FFA000"
28
+ }, null, 8, _hoisted_1)
29
+ ], 16);
30
+ }
31
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
32
+ export { index as default };
package/esm/index.js CHANGED
@@ -218,3 +218,4 @@ export { default as IconFillDataFilter } from "./IconFillDataFilter/index.js";
218
218
  export { default as IconFillLink } from "./IconFillLink/index.js";
219
219
  export { default as IconFillRow2col } from "./IconFillRow2col/index.js";
220
220
  export { default as IconColorDataFilter } from "./IconColorDataFilter/index.js";
221
+ export { default as IconColorKey } from "./IconColorKey/index.js";
@@ -0,0 +1,33 @@
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: "IconColorKey",
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 1024 1024",
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-color-key`],
23
+ width: "1em",
24
+ height: "1em"
25
+ }, _ctx.$attrs), [
26
+ vue.createElementVNode("path", {
27
+ d: "M330.924671 486.843986L4.974452 814.32998v204.770163h204.770162v-116.938389h116.938389v-117.011522h117.011522l93.097291-92.146573a358.347784 358.347784 0 1 0-205.867145-206.232806zM665.577622 477.921857a119.424884 119.424884 0 1 1 0-238.849768 119.424884 119.424884 0 0 1 0 238.849768z",
28
+ fill: $props.useCurrentColor ? "currentColor" : "#FFA000"
29
+ }, null, 8, _hoisted_1)
30
+ ], 16);
31
+ }
32
+ var index = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["render", _sfc_render]]);
33
+ module.exports = index;
package/lib/index.js CHANGED
@@ -220,6 +220,7 @@ var index$3o = require("./IconFillDataFilter/index.js");
220
220
  var index$3p = require("./IconFillLink/index.js");
221
221
  var index$3q = require("./IconFillRow2col/index.js");
222
222
  var index$3r = require("./IconColorDataFilter/index.js");
223
+ var index$3s = require("./IconColorKey/index.js");
223
224
  exports.IconFillHeart = index;
224
225
  exports.IconFillMute = index$1;
225
226
  exports.IconFillSound = index$2;
@@ -440,3 +441,4 @@ exports.IconFillDataFilter = index$3o;
440
441
  exports.IconFillLink = index$3p;
441
442
  exports.IconFillRow2col = index$3q;
442
443
  exports.IconColorDataFilter = index$3r;
444
+ exports.IconColorKey = index$3s;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arco-iconbox/vue-smartcode",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
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 1024 1024" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-color-key`]" width="1em" height="1em" v-bind="$attrs"><path d="M330.924671 486.843986L4.974452 814.32998v204.770163h204.770162v-116.938389h116.938389v-117.011522h117.011522l93.097291-92.146573a358.347784 358.347784 0 1 0-205.867145-206.232806zM665.577622 477.921857a119.424884 119.424884 0 1 1 0-238.849768 119.424884 119.424884 0 0 1 0 238.849768z" :fill="useCurrentColor ? 'currentColor' : '#FFA000'"/></svg>
3
+ </template>
4
+ <script>
5
+
6
+ export default {
7
+ name: 'IconColorKey',
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
@@ -217,4 +217,5 @@ export { default as IconFillFiled } from './IconFillFiled/index.vue';
217
217
  export { default as IconFillDataFilter } from './IconFillDataFilter/index.vue';
218
218
  export { default as IconFillLink } from './IconFillLink/index.vue';
219
219
  export { default as IconFillRow2col } from './IconFillRow2col/index.vue';
220
- export { default as IconColorDataFilter } from './IconColorDataFilter/index.vue';
220
+ export { default as IconColorDataFilter } from './IconColorDataFilter/index.vue';
221
+ export { default as IconColorKey } from './IconColorKey/index.vue';