@chakra-ui/c-icon
Advanced tools
Comparing version 2.0.0-beta.0 to 2.0.0-beta.1
@@ -14,3 +14,2 @@ 'use strict'; | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
@@ -22,3 +21,2 @@ if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
} | ||
return target; | ||
@@ -32,3 +30,2 @@ }; | ||
} | ||
var fallbackIcon = { | ||
@@ -52,3 +49,3 @@ path: "\n <g stroke=\"currentColor\" strokeWidth=\"1.5\">\n <path\n strokeLinecap=\"round\"\n fill=\"none\"\n d=\"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25\"\n />\n <path\n fill=\"currentColor\"\n strokeLinecap=\"round\"\n d=\"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0\"\n />\n <circle fill=\"none\" strokeMiterlimit=\"10\" cx=\"12\" cy=\"12\" r=\"11.25\" />\n </g>\n ", | ||
var slots = _ref.slots, | ||
attrs = _ref.attrs; | ||
attrs = _ref.attrs; | ||
var props = vue.computed(function () { | ||
@@ -60,3 +57,2 @@ return utils.mergeWith({}, iconProps, _props); | ||
var _props$value; | ||
return (icons == null ? void 0 : icons[(_props$value = props.value) == null ? void 0 : _props$value.name]) || fallbackIcon; | ||
@@ -66,3 +62,2 @@ }); | ||
var _slots$default; | ||
return slots == null ? void 0 : slots["default"] == null ? void 0 : (_slots$default = slots["default"]()) == null ? void 0 : _slots$default.length; | ||
@@ -101,3 +96,3 @@ }); | ||
var slots = _ref2.slots, | ||
attrs = _ref2.attrs; | ||
attrs = _ref2.attrs; | ||
return function () { | ||
@@ -104,0 +99,0 @@ return vue.createVNode(CIcon, vue.mergeProps({ |
@@ -14,3 +14,2 @@ 'use strict'; | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
@@ -22,3 +21,2 @@ if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
} | ||
return target; | ||
@@ -32,3 +30,2 @@ }; | ||
} | ||
var fallbackIcon = { | ||
@@ -52,3 +49,3 @@ path: "\n <g stroke=\"currentColor\" strokeWidth=\"1.5\">\n <path\n strokeLinecap=\"round\"\n fill=\"none\"\n d=\"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25\"\n />\n <path\n fill=\"currentColor\"\n strokeLinecap=\"round\"\n d=\"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0\"\n />\n <circle fill=\"none\" strokeMiterlimit=\"10\" cx=\"12\" cy=\"12\" r=\"11.25\" />\n </g>\n ", | ||
var slots = _ref.slots, | ||
attrs = _ref.attrs; | ||
attrs = _ref.attrs; | ||
var props = vue.computed(function () { | ||
@@ -60,3 +57,2 @@ return utils.mergeWith({}, iconProps, _props); | ||
var _props$value; | ||
return (icons == null ? void 0 : icons[(_props$value = props.value) == null ? void 0 : _props$value.name]) || fallbackIcon; | ||
@@ -66,3 +62,2 @@ }); | ||
var _slots$default; | ||
return slots == null ? void 0 : slots["default"] == null ? void 0 : (_slots$default = slots["default"]()) == null ? void 0 : _slots$default.length; | ||
@@ -101,3 +96,3 @@ }); | ||
var slots = _ref2.slots, | ||
attrs = _ref2.attrs; | ||
attrs = _ref2.attrs; | ||
return function () { | ||
@@ -104,0 +99,0 @@ return vue.createVNode(CIcon, vue.mergeProps({ |
@@ -10,3 +10,2 @@ import { defineComponent, computed, inject, createVNode, mergeProps, isVNode } from 'vue'; | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
@@ -18,3 +17,2 @@ if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
} | ||
return target; | ||
@@ -28,3 +26,2 @@ }; | ||
} | ||
var fallbackIcon = { | ||
@@ -48,3 +45,3 @@ path: "\n <g stroke=\"currentColor\" strokeWidth=\"1.5\">\n <path\n strokeLinecap=\"round\"\n fill=\"none\"\n d=\"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25\"\n />\n <path\n fill=\"currentColor\"\n strokeLinecap=\"round\"\n d=\"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0\"\n />\n <circle fill=\"none\" strokeMiterlimit=\"10\" cx=\"12\" cy=\"12\" r=\"11.25\" />\n </g>\n ", | ||
var slots = _ref.slots, | ||
attrs = _ref.attrs; | ||
attrs = _ref.attrs; | ||
var props = computed(function () { | ||
@@ -56,3 +53,2 @@ return mergeWith({}, iconProps, _props); | ||
var _props$value; | ||
return (icons == null ? void 0 : icons[(_props$value = props.value) == null ? void 0 : _props$value.name]) || fallbackIcon; | ||
@@ -62,3 +58,2 @@ }); | ||
var _slots$default; | ||
return slots == null ? void 0 : slots["default"] == null ? void 0 : (_slots$default = slots["default"]()) == null ? void 0 : _slots$default.length; | ||
@@ -97,3 +92,3 @@ }); | ||
var slots = _ref2.slots, | ||
attrs = _ref2.attrs; | ||
attrs = _ref2.attrs; | ||
return function () { | ||
@@ -100,0 +95,0 @@ return createVNode(CIcon, mergeProps({ |
{ | ||
"name": "@chakra-ui/c-icon", | ||
"description": "Chakra UI Vue | A component to display icons in the browser component", | ||
"version": "2.0.0-beta.0", | ||
"version": "2.0.0-beta.1", | ||
"main": "dist/chakra-ui-c-icon.cjs.js", | ||
@@ -19,13 +19,10 @@ "module": "dist/chakra-ui-c-icon.esm.js", | ||
}, | ||
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-icon", | ||
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/main/packages/c-icon", | ||
"bugs": { | ||
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf dist" | ||
}, | ||
"dependencies": { | ||
"@chakra-ui/utils": "2.0.12", | ||
"@chakra-ui/vue-system": "2.0.0-beta.0", | ||
"@chakra-ui/vue-utils": "2.0.0-beta.0" | ||
"@chakra-ui/utils": "2.0.14", | ||
"@chakra-ui/vue-system": "2.0.0-beta.1", | ||
"@chakra-ui/vue-utils": "2.0.0-beta.1" | ||
}, | ||
@@ -40,3 +37,6 @@ "devDependencies": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf dist" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
496431
2973
+ Added@chakra-ui/c-color-mode@2.0.0-beta.1(transitive)
+ Added@chakra-ui/shared-utils@2.0.4(transitive)
+ Added@chakra-ui/styled-system@2.5.1(transitive)
+ Added@chakra-ui/utils@2.0.14(transitive)
+ Added@chakra-ui/vue-styled@1.0.0-beta.1(transitive)
+ Added@chakra-ui/vue-system@2.0.0-beta.1(transitive)
+ Added@chakra-ui/vue-utils@2.0.0-beta.1(transitive)
+ Addedframesync@6.1.2(transitive)
+ Addedtslib@2.4.0(transitive)
- Removed@chakra-ui/c-color-mode@2.0.0-beta.0(transitive)
- Removed@chakra-ui/styled-system@2.12.1(transitive)
- Removed@chakra-ui/utils@2.0.122.2.3(transitive)
- Removed@chakra-ui/vue-styled@1.0.0-beta.0(transitive)
- Removed@chakra-ui/vue-system@2.0.0-beta.0(transitive)
- Removed@chakra-ui/vue-utils@2.0.0-beta.0(transitive)
- Removed@types/lodash.mergewith@4.6.9(transitive)
- Removedframesync@5.3.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedreact@18.3.1(transitive)
- Removedtslib@2.8.1(transitive)
Updated@chakra-ui/utils@2.0.14