@asphalt-react/loader
Advanced tools
| interface SpinnerProps extends React.HTMLAttributes<HTMLElement> { | ||
| /** | ||
| * Size of the Spinner. | ||
| * Accepts "xs", "s", "m", "l", "xl", "xxl". | ||
| */ | ||
| size?: "xs" | "s" | "m" | "l" | "xl" | "xxl" | ||
| /** | ||
| * Applies neutral intent. | ||
| */ | ||
| neutral?: boolean | ||
| /** | ||
| * Applies brand intent. | ||
| */ | ||
| brand?: boolean | ||
| /** | ||
| * Applies inverse intent. | ||
| */ | ||
| inverse?: boolean | ||
| } | ||
| declare function Spinner(props: SpinnerProps): JSX.Element | ||
| interface LoaderProps extends React.HTMLAttributes<HTMLElement> { | ||
| /** | ||
| * Size of the Loader. | ||
| * Accepts "s", "m" and "l" for small, medium & large respectively | ||
| */ | ||
| size?: "s" | "m" | "l" | ||
| } | ||
| declare function Loader(props: LoaderProps): JSX.Element | ||
| export { Loader, type LoaderProps, Spinner, type SpinnerProps }; |
+6
-4
| { | ||
| "name": "@asphalt-react/loader", | ||
| "version": "2.0.0-rc.11", | ||
| "version": "2.0.0", | ||
| "description": "Loader", | ||
@@ -23,2 +23,3 @@ "keywords": [ | ||
| "exports": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/index.js", | ||
@@ -41,7 +42,8 @@ "require": "./dist/index.cjs", | ||
| "devDependencies": { | ||
| "@asphalt-react/build": "^2.0.0-rc.11", | ||
| "@asphalt-react/build": "^2.0.0", | ||
| "@testing-library/react": "^11.2.7" | ||
| }, | ||
| "dependencies": { | ||
| "@asphalt-react/context": "^2.0.0-rc.11", | ||
| "@asphalt-react/context": "^2.0.0", | ||
| "@asphalt-react/helper": "^2.0.0", | ||
| "classnames": "^2.5.1", | ||
@@ -51,3 +53,3 @@ "prop-types": "^15.8.1" | ||
| "license": "UNLICENSED", | ||
| "gitHead": "5f9823f7793020d3dbeb89829f9cba467236e7ca" | ||
| "gitHead": "670cc440d262dac252453b7479d82a8b6e3cf9f2" | ||
| } |
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
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
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
34649
2.42%5
25%227
14.65%1
-50%0
-100%5
25%+ Added
+ Added
+ Added
+ Added