@smui/linear-progress
Advanced tools
Comparing version 2.0.0-beta.1 to 3.0.0-beta.0
import LinearProgress from './LinearProgress.svelte'; | ||
export default LinearProgress; | ||
export default LinearProgress; |
@@ -6,2 +6,26 @@ # Change Log | ||
# [3.0.0-beta.0](https://github.com/hperrin/svelte-material-ui/compare/v2.0.0-beta.1...v3.0.0-beta.0) (2021-04-11) | ||
### Bug Fixes | ||
* class and attr removal ([b3ca6f1](https://github.com/hperrin/svelte-material-ui/commit/b3ca6f16b2adda7cead2ef2c54ce3c446eeb6179)) | ||
### Features | ||
* add getElement method to all components ([f293cf3](https://github.com/hperrin/svelte-material-ui/commit/f293cf365e30fa8d291b1428f5db683625572402)) | ||
* updated Chips for MDC v10 ([5ca1c05](https://github.com/hperrin/svelte-material-ui/commit/5ca1c05853f3a526450e1f4d3c41fbfeaeab0946)) | ||
* updated Linear Progress for MDC v10 ([86c7766](https://github.com/hperrin/svelte-material-ui/commit/86c7766e9b3287ff4214a6f890b464ed4dd2c5c0)) | ||
* upgrade upstream MDC components to v10 ([d47c59a](https://github.com/hperrin/svelte-material-ui/commit/d47c59af50bbec2b7de810261b3cb7a2ffe59180)) | ||
### BREAKING CHANGES | ||
* Upgrading to v10 of upstream components. Their APIs will change. View the component READMEs. | ||
# [2.0.0-beta.1](https://github.com/hperrin/svelte-material-ui/compare/v2.0.0-beta.0...v2.0.0-beta.1) (2021-03-27) | ||
@@ -8,0 +32,0 @@ |
import './_index.scss'; | ||
export * from './bare.js'; | ||
export {default} from './bare.js'; | ||
export { default } from './bare.js'; |
{ | ||
"name": "@smui/linear-progress", | ||
"version": "2.0.0-beta.1", | ||
"version": "3.0.0-beta.0", | ||
"description": "Svelte Material UI - Linear Progress", | ||
@@ -15,3 +15,3 @@ "keywords": [ | ||
"scripts": { | ||
"prepare": "echo \"$(npx glob '**/*' | sed 's/^/-I /' | paste -s -d ' ' -) --no-source-map _style.scss bare.css\" | xargs sass", | ||
"prepare": "sass --no-source-map -I node_modules _style.scss bare.css", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -32,10 +32,9 @@ }, | ||
"dependencies": { | ||
"@material/linear-progress": "^4.0.0", | ||
"@smui/common": "^2.0.0-beta.1" | ||
"@material/linear-progress": "^10.0.0", | ||
"@smui/common": "^3.0.0-beta.0" | ||
}, | ||
"devDependencies": { | ||
"glob-cmd": "0.0.7", | ||
"sass": "^1.30.0" | ||
"sass": "^1.32.8" | ||
}, | ||
"gitHead": "5e48c98403f409cad9f6b9c96f2a320fe7b3b5c6" | ||
"gitHead": "df924bdae36977405f6184097c456f2a8d4d3db6" | ||
} |
@@ -5,6 +5,2 @@ # Svelte Material UI - Linear Progress | ||
See [MDC Linear Progress](https://material.io/develop/web/components/linear-progress/) for more information on API and Sass mixins. | ||
See [the Sass variable file](https://github.com/material-components/material-components-web/blob/v3.1.1/packages/mdc-linear-progress/_variables.scss) for styling variables. | ||
# Installation | ||
@@ -16,5 +12,11 @@ | ||
# Whoa There, These Docs are Outdated | ||
The latest SMUI v3 beta had a lot of changes, and these docs haven't been caught up yet. You should check out the demo page's code to see the latest usage. | ||
# Basic Usage | ||
```html | ||
```svelte | ||
<LinearProgress indeterminate {closed} /> | ||
<script> | ||
@@ -30,4 +32,2 @@ import LinearProgress from '@smui/linear-progress'; | ||
</script> | ||
<LinearProgress indeterminate {closed} /> | ||
``` | ||
@@ -37,5 +37,5 @@ | ||
*in action:* https://sveltematerialui.com/demo/linear-progress | ||
_in action:_ https://sveltematerialui.com/demo/linear-progress | ||
*demo code:* https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/linear-progress.svelte and https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/linear-progress.scss | ||
_demo code:_ https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/linear-progress.svelte and https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/linear-progress.scss | ||
@@ -50,9 +50,9 @@ # Exports | ||
* `use`: `[]` - An array of actions and/or action/property arrays. | ||
* `class`: `''` - A CSS class string. | ||
* `indeterminate`: `false` - Whether the progress value is unknown. This causes the indicator to display a cyclical animation. | ||
* `reversed`: `false` - Whether to reverse the indicator. | ||
* `closed`: `false` - Whether the indicator should be hidden. Using this instead of an `#if` block is recommended, because the height of the container will not change when it is shown/hidden. | ||
* `progress`: `0` - The progress to indicate. (float between 0 and 1, inclusive) | ||
* `buffer`: `null` - The buffer progress to indicate. (`null` or float between 0 and 1, inclusive) | ||
- `use`: `[]` - An array of actions and/or action/property arrays. | ||
- `class`: `''` - A CSS class string. | ||
- `indeterminate`: `false` - Whether the progress value is unknown. This causes the indicator to display a cyclical animation. | ||
- `reversed`: `false` - Whether to reverse the indicator. | ||
- `closed`: `false` - Whether the indicator should be hidden. Using this instead of an `#if` block is recommended, because the height of the container will not change when it is shown/hidden. | ||
- `progress`: `0` - The progress to indicate. (float between 0 and 1, inclusive) | ||
- `buffer`: `null` - The buffer progress to indicate. (`null` or float between 0 and 1, inclusive) | ||
@@ -62,1 +62,7 @@ ### Events | ||
All standard UI events are forwarded. | ||
# More Information | ||
See [Progress indicators](https://material.io/components/progress-indicators) in the Material design spec. | ||
See [Linear Progress](https://github.com/material-components/material-components-web/tree/v10.0.0/packages/mdc-linear-progress) in MDC-Web for information about the upstream library's architecture. |
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
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
33095
1
253
63
+ Added@material/animation@10.0.0(transitive)
+ Added@material/base@10.0.0(transitive)
+ Added@material/dom@11.0.0(transitive)
+ Added@material/feature-targeting@10.0.011.0.0(transitive)
+ Added@material/linear-progress@10.0.0(transitive)
+ Added@material/progress-indicator@10.0.0(transitive)
+ Added@material/rtl@10.0.0(transitive)
+ Added@material/theme@10.0.0(transitive)
+ Added@smui/common@3.1.0(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@material/animation@4.0.0(transitive)
- Removed@material/base@4.0.0(transitive)
- Removed@material/feature-targeting@4.0.0(transitive)
- Removed@material/linear-progress@4.0.0(transitive)
- Removed@material/theme@4.0.0(transitive)
- Removed@smui/common@2.0.0-beta.1(transitive)
Updated@smui/common@^3.0.0-beta.0