@material/linear-progress
Advanced tools
Comparing version 2.3.0 to 3.0.0-alpha.0
{ | ||
"name": "@material/linear-progress", | ||
"description": "The Material Components for the web linear progress indicator component", | ||
"version": "2.3.0", | ||
"version": "3.0.0-alpha.0", | ||
"license": "MIT", | ||
@@ -22,3 +22,3 @@ "main": "dist/mdc.linearProgress.js", | ||
"@material/base": "^1.0.0", | ||
"@material/theme": "^1.1.0", | ||
"@material/theme": "^3.0.0-alpha.0", | ||
"tslib": "^1.9.3" | ||
@@ -28,3 +28,4 @@ }, | ||
"access": "public" | ||
} | ||
}, | ||
"gitHead": "094e507fcfb488303e5adec97f7f985b30e8567e" | ||
} |
@@ -39,4 +39,5 @@ <!--docs: | ||
## Usage | ||
## Basic Usage | ||
### HTML Structure | ||
```html | ||
@@ -55,2 +56,17 @@ <div role="progressbar" class="mdc-linear-progress"> | ||
### Styles | ||
```scss | ||
@import "@material/linear-progress/mdc-linear-progress"; | ||
``` | ||
### JavaScript Instantiation | ||
```js | ||
import { MDCLinearProgress } from '@material/linear-progress'; | ||
const linearProgress = new MDCLinearProgress(document.querySelector('.mdc-linear-progress')); | ||
``` | ||
> See [Importing the JS component](../../docs/importing-js.md) for more information on how to import JavaScript. | ||
### CSS Modifiers | ||
@@ -57,0 +73,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
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
286377
31
127
0
2
+ Added@material/feature-targeting@3.1.0(transitive)
+ Added@material/theme@3.1.0(transitive)
- Removed@material/feature-targeting@0.44.1(transitive)
- Removed@material/theme@1.1.0(transitive)