@coreui/icons-vue
Advanced tools
Comparing version 2.0.0-rc.1 to 2.0.0
import { CIcon } from './CIcon'; | ||
export { CIcon }; | ||
export default CIcon; |
@@ -129,3 +129,3 @@ import { defineComponent, inject, computed, h } from 'vue'; | ||
export { CIcon }; | ||
export { CIcon, CIcon as default }; | ||
//# sourceMappingURL=index.es.js.map |
@@ -134,2 +134,3 @@ 'use strict'; | ||
exports.CIcon = CIcon; | ||
exports["default"] = CIcon; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@coreui/icons-vue", | ||
"version": "2.0.0-rc.1", | ||
"version": "2.0.0", | ||
"description": "Official Vue component for CoreUI Icons", | ||
@@ -25,14 +25,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"author": { | ||
"name": "CoreUI", | ||
"url": "https://coreui.io", | ||
"github": "https://github.com/coreui", | ||
"twitter": "https://twitter.com/core_ui" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "CoreUI Team", | ||
"url": "https://github.com/orgs/coreui/people" | ||
} | ||
], | ||
"author": "The CoreUI Team (https://github.com/orgs/coreui/people)", | ||
"main": "dist/index.js", | ||
@@ -49,26 +38,6 @@ "module": "dist/index.es.js", | ||
"lint": "eslint 'src/**/*.{js,ts,tsx}'", | ||
"test": "jest", | ||
"test": "jest --coverage", | ||
"test:clear": "jest --clearCache", | ||
"test:coverage": "jest --coverage", | ||
"test:u": "jest -u" | ||
"test:update": "jest --coverage --updateSnapshot" | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 8" | ||
], | ||
"jest": { | ||
"moduleFileExtensions": [ | ||
"tsx", | ||
"js", | ||
"ts", | ||
"json", | ||
"vue" | ||
], | ||
"preset": "ts-jest", | ||
"testEnvironment": "jsdom", | ||
"transform": { | ||
".*\\.(ts)$": "ts-jest" | ||
} | ||
}, | ||
"devDependencies": { | ||
@@ -75,0 +44,0 @@ "@rollup/plugin-commonjs": "^21.0.0", |
@@ -17,4 +17,2 @@ <p align="center"> | ||
· | ||
<a href="https://community.coreui.io/">Community</a> | ||
· | ||
<a href="https://blog.coreui.io/">Blog</a> | ||
@@ -38,3 +36,3 @@ </p> | ||
npm install @coreui/icons | ||
npm install @coreui/icons-vue@next | ||
npm install @coreui/icons-vue | ||
``` | ||
@@ -46,3 +44,3 @@ | ||
yarn add @coreui/icons | ||
yarn add @coreui/icons-vue@next | ||
yarn add @coreui/icons-vue | ||
``` | ||
@@ -49,0 +47,0 @@ |
@@ -17,3 +17,3 @@ import { mount } from '@vue/test-utils' | ||
it('renders svg with size', () => { | ||
const container = mount(CIcon, { props: { size: 'xl' }}) | ||
const container = mount(CIcon, { props: { size: 'xl' } }) | ||
expect(container.find('svg').classes('icon-xl')).toBe(true) | ||
@@ -23,3 +23,3 @@ }) | ||
it('renders svg with custom size', () => { | ||
const container = mount(CIcon, { props: { height: 20 }}) | ||
const container = mount(CIcon, { props: { height: 20 } }) | ||
expect(container.find('svg').classes('icon-custom-size')).toBe(true) | ||
@@ -29,3 +29,3 @@ }) | ||
it('renders svg with className', () => { | ||
const container = mount(CIcon, { props: { class: 'icon-test' }}) | ||
const container = mount(CIcon, { props: { class: 'icon-test' } }) | ||
expect(container.find('svg').classes('icon-test')).toBe(true) | ||
@@ -32,0 +32,0 @@ }) |
import { CIcon } from './CIcon' | ||
export { CIcon } | ||
export default CIcon |
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
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
521
0
27245
80