@sanity/icons
Advanced tools
Comparing version 3.2.1-canary.0 to 3.3.0
@@ -1,3 +0,1 @@ | ||
/// <reference types="react" /> | ||
import {ForwardRefExoticComponent} from 'react' | ||
@@ -591,2 +589,9 @@ import {RefAttributes} from 'react' | ||
*/ | ||
export declare const EmptyIcon: ForwardRefExoticComponent< | ||
Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> | ||
> | ||
/** | ||
* @public | ||
*/ | ||
export declare const EnterIcon: ForwardRefExoticComponent< | ||
@@ -830,2 +835,3 @@ Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> | ||
'ellipsis-vertical': IconComponent | ||
empty: IconComponent | ||
enter: IconComponent | ||
@@ -888,2 +894,4 @@ 'enter-right': IconComponent | ||
presentation: IconComponent | ||
'progress-50': IconComponent | ||
'progress-75': IconComponent | ||
projects: IconComponent | ||
@@ -916,2 +924,3 @@ publish: IconComponent | ||
stack: IconComponent | ||
'star-filled': IconComponent | ||
star: IconComponent | ||
@@ -943,2 +952,3 @@ stop: IconComponent | ||
ulist: IconComponent | ||
unarchive: IconComponent | ||
underline: IconComponent | ||
@@ -1057,2 +1067,3 @@ undo: IconComponent | ||
| 'ellipsis-vertical' | ||
| 'empty' | ||
| 'enter' | ||
@@ -1115,2 +1126,4 @@ | 'enter-right' | ||
| 'presentation' | ||
| 'progress-50' | ||
| 'progress-75' | ||
| 'projects' | ||
@@ -1143,2 +1156,3 @@ | 'publish' | ||
| 'stack' | ||
| 'star-filled' | ||
| 'star' | ||
@@ -1170,2 +1184,3 @@ | 'stop' | ||
| 'ulist' | ||
| 'unarchive' | ||
| 'underline' | ||
@@ -1446,2 +1461,16 @@ | 'undo' | ||
*/ | ||
export declare const Progress50Icon: ForwardRefExoticComponent< | ||
Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> | ||
> | ||
/** | ||
* @public | ||
*/ | ||
export declare const Progress75Icon: ForwardRefExoticComponent< | ||
Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> | ||
> | ||
/** | ||
* @public | ||
*/ | ||
export declare const ProjectsIcon: ForwardRefExoticComponent< | ||
@@ -1636,2 +1665,9 @@ Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> | ||
*/ | ||
export declare const StarFilledIcon: ForwardRefExoticComponent< | ||
Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> | ||
> | ||
/** | ||
* @public | ||
*/ | ||
export declare const StarIcon: ForwardRefExoticComponent< | ||
@@ -1819,2 +1855,9 @@ Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> | ||
*/ | ||
export declare const UnarchiveIcon: ForwardRefExoticComponent< | ||
Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> | ||
> | ||
/** | ||
* @public | ||
*/ | ||
export declare const UnderlineIcon: ForwardRefExoticComponent< | ||
@@ -1821,0 +1864,0 @@ Omit<SVGProps<SVGSVGElement>, 'ref'> & RefAttributes<SVGSVGElement> |
{ | ||
"name": "@sanity/icons", | ||
"version": "3.2.1-canary.0", | ||
"version": "3.3.0", | ||
"description": "The Sanity icons.", | ||
@@ -25,6 +25,2 @@ "keywords": [ | ||
"source": "./src/index.ts", | ||
"react-compiler": { | ||
"source": "./src/index.ts", | ||
"default": "./dist/index.compiled.js" | ||
}, | ||
"import": "./dist/index.js", | ||
@@ -43,2 +39,21 @@ "require": "./dist/index.cjs", | ||
], | ||
"scripts": { | ||
"build": "run-s clean generate pkg:build pkg:check", | ||
"clean": "rimraf .workshop dist", | ||
"commit": "cz", | ||
"dev": "run-p workshop:dev", | ||
"format": "prettier --write --cache --ignore-unknown .", | ||
"generate": "rimraf src/icons && node -r esbuild-register scripts/generate.ts", | ||
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx --quiet", | ||
"pkg:build": "pkg build --strict", | ||
"pkg:check": "pkg --strict", | ||
"pkg:watch": "pkg watch --strict", | ||
"prepare": "husky install", | ||
"prepublishOnly": "pnpm build", | ||
"release": "semantic-release", | ||
"test": "jest", | ||
"ts:check": "tsc", | ||
"workshop:build": "workshop build", | ||
"workshop:dev": "workshop dev" | ||
}, | ||
"commitlint": { | ||
@@ -71,14 +86,14 @@ "extends": [ | ||
"devDependencies": { | ||
"@babel/core": "^7.24.6", | ||
"@babel/preset-env": "^7.24.6", | ||
"@babel/preset-react": "^7.24.6", | ||
"@babel/preset-typescript": "^7.24.6", | ||
"@babel/core": "^7.24.7", | ||
"@babel/preset-env": "^7.24.7", | ||
"@babel/preset-react": "^7.24.7", | ||
"@babel/preset-typescript": "^7.24.7", | ||
"@commitlint/cli": "^19.3.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@sanity/pkg-utils": "6.9.4-canary.0", | ||
"@sanity/semantic-release-preset": "^4.1.7", | ||
"@sanity/ui": "^2.1.14", | ||
"@sanity/pkg-utils": "^6.10.1", | ||
"@sanity/semantic-release-preset": "^4.1.8", | ||
"@sanity/ui": "^2.6.1", | ||
"@sanity/ui-workshop": "^2.0.15", | ||
"@svgr/core": "^8.1.0", | ||
"@testing-library/jest-dom": "^6.4.5", | ||
"@testing-library/jest-dom": "^6.4.6", | ||
"@testing-library/react": "^14.3.1", | ||
@@ -90,8 +105,8 @@ "@types/jest": "^29.5.12", | ||
"@types/styled-components": "^5.1.34", | ||
"@typescript-eslint/eslint-plugin": "^7.11.0", | ||
"@typescript-eslint/parser": "^7.11.0", | ||
"@typescript-eslint/eslint-plugin": "^7.15.0", | ||
"@typescript-eslint/parser": "^7.15.0", | ||
"camelcase": "^8.0.0", | ||
"commitizen": "^4.3.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"esbuild": "^0.21.4", | ||
"esbuild": "^0.23.0", | ||
"esbuild-register": "^3.5.0", | ||
@@ -101,5 +116,5 @@ "eslint": "^8.57.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsx-a11y": "^6.8.0", | ||
"eslint-plugin-jsx-a11y": "^6.9.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-react": "^7.34.2", | ||
"eslint-plugin-react": "^7.34.3", | ||
"eslint-plugin-react-hooks": "^4.6.2", | ||
@@ -115,3 +130,3 @@ "globby": "^14.0.0", | ||
"npm-run-all2": "^5.0.2", | ||
"prettier": "^3.2.5", | ||
"prettier": "^3.3.2", | ||
"prettier-plugin-packagejson": "^2.5.0", | ||
@@ -124,3 +139,3 @@ "react": "^18.3.1", | ||
"styled-components": "^6.1.11", | ||
"typescript": "5.4.5" | ||
"typescript": "5.5.3" | ||
}, | ||
@@ -130,3 +145,3 @@ "peerDependencies": { | ||
}, | ||
"packageManager": "pnpm@8.15.8", | ||
"packageManager": "pnpm@9.4.0", | ||
"engines": { | ||
@@ -140,20 +155,3 @@ "node": ">=14.0.0" | ||
"bundle": false | ||
}, | ||
"scripts": { | ||
"build": "run-s clean generate pkg:build pkg:check", | ||
"clean": "rimraf .workshop dist", | ||
"commit": "cz", | ||
"dev": "run-p workshop:dev", | ||
"format": "prettier --write --cache --ignore-unknown .", | ||
"generate": "rimraf src/icons && node -r esbuild-register scripts/generate.ts", | ||
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx --quiet", | ||
"pkg:build": "pkg build --strict", | ||
"pkg:check": "pkg --strict", | ||
"pkg:watch": "pkg watch --strict", | ||
"release": "semantic-release", | ||
"test": "jest", | ||
"ts:check": "tsc", | ||
"workshop:build": "workshop build", | ||
"workshop:dev": "workshop dev" | ||
} | ||
} | ||
} |
@@ -90,2 +90,3 @@ /* THIS FILE IS AUTO-GENERATED – DO NOT EDIT */ | ||
import {EllipsisVerticalIcon} from './ellipsisVerticalIcon' | ||
import {EmptyIcon} from './emptyIcon' | ||
import {EnterIcon} from './enterIcon' | ||
@@ -148,2 +149,4 @@ import {EnterRightIcon} from './enterRightIcon' | ||
import {PresentationIcon} from './presentationIcon' | ||
import {Progress50Icon} from './progress50Icon' | ||
import {Progress75Icon} from './progress75Icon' | ||
import {ProjectsIcon} from './projectsIcon' | ||
@@ -176,2 +179,3 @@ import {PublishIcon} from './publishIcon' | ||
import {StackIcon} from './stackIcon' | ||
import {StarFilledIcon} from './starFilledIcon' | ||
import {StarIcon} from './starIcon' | ||
@@ -203,2 +207,3 @@ import {StopIcon} from './stopIcon' | ||
import {UlistIcon} from './ulistIcon' | ||
import {UnarchiveIcon} from './unarchiveIcon' | ||
import {UnderlineIcon} from './underlineIcon' | ||
@@ -304,2 +309,3 @@ import {UndoIcon} from './undoIcon' | ||
| 'ellipsis-vertical' | ||
| 'empty' | ||
| 'enter' | ||
@@ -362,2 +368,4 @@ | 'enter-right' | ||
| 'presentation' | ||
| 'progress-50' | ||
| 'progress-75' | ||
| 'projects' | ||
@@ -390,2 +398,3 @@ | 'publish' | ||
| 'stack' | ||
| 'star-filled' | ||
| 'star' | ||
@@ -417,2 +426,3 @@ | 'stop' | ||
| 'ulist' | ||
| 'unarchive' | ||
| 'underline' | ||
@@ -515,2 +525,3 @@ | 'undo' | ||
EllipsisVerticalIcon, | ||
EmptyIcon, | ||
EnterIcon, | ||
@@ -573,2 +584,4 @@ EnterRightIcon, | ||
PresentationIcon, | ||
Progress50Icon, | ||
Progress75Icon, | ||
ProjectsIcon, | ||
@@ -601,2 +614,3 @@ PublishIcon, | ||
StackIcon, | ||
StarFilledIcon, | ||
StarIcon, | ||
@@ -628,2 +642,3 @@ StopIcon, | ||
UlistIcon, | ||
UnarchiveIcon, | ||
UnderlineIcon, | ||
@@ -730,2 +745,3 @@ UndoIcon, | ||
'ellipsis-vertical': IconComponent | ||
empty: IconComponent | ||
enter: IconComponent | ||
@@ -788,2 +804,4 @@ 'enter-right': IconComponent | ||
presentation: IconComponent | ||
'progress-50': IconComponent | ||
'progress-75': IconComponent | ||
projects: IconComponent | ||
@@ -816,2 +834,3 @@ publish: IconComponent | ||
stack: IconComponent | ||
'star-filled': IconComponent | ||
star: IconComponent | ||
@@ -843,2 +862,3 @@ stop: IconComponent | ||
ulist: IconComponent | ||
unarchive: IconComponent | ||
underline: IconComponent | ||
@@ -945,2 +965,3 @@ undo: IconComponent | ||
'ellipsis-vertical': EllipsisVerticalIcon, | ||
empty: EmptyIcon, | ||
enter: EnterIcon, | ||
@@ -1003,2 +1024,4 @@ 'enter-right': EnterRightIcon, | ||
presentation: PresentationIcon, | ||
'progress-50': Progress50Icon, | ||
'progress-75': Progress75Icon, | ||
projects: ProjectsIcon, | ||
@@ -1031,2 +1054,3 @@ publish: PublishIcon, | ||
stack: StackIcon, | ||
'star-filled': StarFilledIcon, | ||
star: StarIcon, | ||
@@ -1058,2 +1082,3 @@ stop: StopIcon, | ||
ulist: UlistIcon, | ||
unarchive: UnarchiveIcon, | ||
underline: UnderlineIcon, | ||
@@ -1060,0 +1085,0 @@ undo: UndoIcon, |
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 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
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 not supported yet
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 not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
227
0
10
1304270
21365