@blueprintjs/icons
Advanced tools
Comparing version 2.0.0-beta.3 to 2.0.0-rc.1
@@ -1,3 +0,5 @@ | ||
export { IconClasses } from "./generated/iconClasses"; | ||
export { IconName } from "./generated/iconName"; | ||
export { IconContents } from "./generated/iconStrings"; | ||
import * as IconContents from "./generated/iconContents"; | ||
import * as IconNames from "./generated/iconNames"; | ||
export { IconContents, IconNames }; | ||
export { IconSvgPaths16, IconSvgPaths20 } from "./generated/iconSvgPaths"; | ||
export { IconName } from "./iconName"; |
@@ -8,5 +8,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var iconClasses_1 = require("./generated/iconClasses"); | ||
exports.IconClasses = iconClasses_1.IconClasses; | ||
var iconStrings_1 = require("./generated/iconStrings"); | ||
exports.IconContents = iconStrings_1.IconContents; | ||
var IconContents = require("./generated/iconContents"); | ||
exports.IconContents = IconContents; | ||
var IconNames = require("./generated/iconNames"); | ||
exports.IconNames = IconNames; | ||
var iconSvgPaths_1 = require("./generated/iconSvgPaths"); | ||
exports.IconSvgPaths16 = iconSvgPaths_1.IconSvgPaths16; | ||
exports.IconSvgPaths20 = iconSvgPaths_1.IconSvgPaths20; |
@@ -1,3 +0,5 @@ | ||
export { IconClasses } from "./generated/iconClasses"; | ||
export { IconName } from "./generated/iconName"; | ||
export { IconContents } from "./generated/iconStrings"; | ||
import * as IconContents from "./generated/iconContents"; | ||
import * as IconNames from "./generated/iconNames"; | ||
export { IconContents, IconNames }; | ||
export { IconSvgPaths16, IconSvgPaths20 } from "./generated/iconSvgPaths"; | ||
export { IconName } from "./iconName"; |
@@ -6,3 +6,5 @@ /* | ||
*/ | ||
export { IconClasses } from "./generated/iconClasses"; | ||
export { IconContents } from "./generated/iconStrings"; | ||
import * as IconContents from "./generated/iconContents"; | ||
import * as IconNames from "./generated/iconNames"; | ||
export { IconContents, IconNames }; | ||
export { IconSvgPaths16, IconSvgPaths20 } from "./generated/iconSvgPaths"; |
{ | ||
"name": "@blueprintjs/icons", | ||
"version": "2.0.0-beta.3", | ||
"version": "2.0.0-rc.1", | ||
"description": "Components, fonts, icons, and css files for creating and displaying icons.", | ||
@@ -10,2 +10,3 @@ "main": "lib/cjs/index.js", | ||
"unpkg": "dist/icons.bundle.js", | ||
"sideEffects": false, | ||
"scripts": { | ||
@@ -17,3 +18,3 @@ "compile": "npm-run-all -s 'compile:pre' -p 'compile:*'", | ||
"compile:css": "sass-compile ./src", | ||
"clean": "rm -rf dist/* && rm -rf lib/*", | ||
"clean": "rm -rf dist/* && rm -rf lib/* && rm -rf src/generated/*", | ||
"dev": "npm-run-all -p 'compile:esm -- --watch' 'compile:css -- --watch'", | ||
@@ -38,7 +39,5 @@ "dist": "npm-run-all -s 'dist:*'", | ||
"devDependencies": { | ||
"@blueprintjs/node-build-scripts": "^0.4.0", | ||
"@blueprintjs/test-commons": "^0.4.0", | ||
"@blueprintjs/node-build-scripts": "^0.5.0", | ||
"@blueprintjs/test-commons": "^0.5.0", | ||
"enzyme": "^3.3.0", | ||
"enzyme-adapter-react-16": "^1.1.1", | ||
"es6-shim": "^0.35.3", | ||
"mocha": "^4.1.0", | ||
@@ -45,0 +44,0 @@ "npm-run-all": "^4.1.2", |
@@ -7,15 +7,13 @@ --- | ||
Blueprint provides over 300 UI icons in an icon font. They come in two sizes, 16px and 20px, and can | ||
be used anywhere text is used. It's easy to change their color or apply effects like text shadows | ||
via standard CSS properties. | ||
Blueprint provides over 300 vector UI icons in two sizes (16px and 20px) and two formats (SVG and fonts). | ||
It's easy to change their color or apply effects like text shadows via standard SVG or CSS properties. | ||
There are two ways of using Blueprint UI icons, described in more detail in the | ||
[**Icon component documentation**](#core/components/icon): | ||
1. React component: `<Icon iconName="more" />` | ||
2. CSS classes: `<span className="pt-icon-standard pt-icon-more" />` | ||
1. React component renders SVG paths: `<Icon iconName="more" />` | ||
2. CSS classes use icon fonts: `<span className="pt-icon-standard pt-icon-more" />` | ||
Many Blueprint [components](#core/components) provide an `iconName` prop, which supports both the | ||
full name `pt-icon-projects` and the short name `projects`. | ||
Many Blueprint [components](#core/components) support an `iconName` prop to control a React `<Icon>` component, which accepts both the full name `pt-icon-projects` and the short name `projects`. | ||
@reactDocs Icons | ||
@@ -7,4 +7,7 @@ /* | ||
export { IconClasses } from "./generated/iconClasses"; | ||
export { IconName } from "./generated/iconName"; | ||
export { IconContents } from "./generated/iconStrings"; | ||
import * as IconContents from "./generated/iconContents"; | ||
import * as IconNames from "./generated/iconNames"; | ||
export { IconContents, IconNames }; | ||
export { IconSvgPaths16, IconSvgPaths20 } from "./generated/iconSvgPaths"; | ||
export { IconName } from "./iconName"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
2224927
12
49
12277
7