@smui/slider
Advanced tools
Comparing version 2.0.0-beta.1 to 3.0.0-beta.0
import Slider from './Slider.svelte'; | ||
export default Slider; | ||
export default Slider; |
@@ -6,2 +6,31 @@ # 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)) | ||
* import ripple styles from slider ([86ed83b](https://github.com/hperrin/svelte-material-ui/commit/86ed83b59b879848bfc130ca0103c3eac9d19cbe)) | ||
* slider input now updates value ([0b16829](https://github.com/hperrin/svelte-material-ui/commit/0b16829007c3c832c5e94569257bf2c8ca604458)) | ||
* slider value attribute getter ([656fbc3](https://github.com/hperrin/svelte-material-ui/commit/656fbc3a7c1ab1d6247f50a33fb30c5cb05dc794)) | ||
* slider value setting and range demo ([4f7869b](https://github.com/hperrin/svelte-material-ui/commit/4f7869b16ccfa1bea5f96349a48f955532af1d92)) | ||
### Features | ||
* add getElement method to all components ([f293cf3](https://github.com/hperrin/svelte-material-ui/commit/f293cf365e30fa8d291b1428f5db683625572402)) | ||
* updated Data Tables for MDC v10 ([89cbd52](https://github.com/hperrin/svelte-material-ui/commit/89cbd52c9555a0df5d41f990fb6a985b545927ab)) | ||
* updated Dialog for MDC v10 ([2cc5c15](https://github.com/hperrin/svelte-material-ui/commit/2cc5c152dd328daa561aa2d84d96bfd169ad9cac)) | ||
* updated Slider for MDC v10 ([be1aab4](https://github.com/hperrin/svelte-material-ui/commit/be1aab401770e44db02549e9b6794cb46517a3f0)) | ||
* 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 +37,0 @@ |
import './_index.scss'; | ||
export * from './bare.js'; | ||
export {default} from './bare.js'; | ||
export { default } from './bare.js'; |
{ | ||
"name": "@smui/slider", | ||
"version": "2.0.0-beta.1", | ||
"version": "3.0.0-beta.0", | ||
"description": "Svelte Material UI - Slider", | ||
@@ -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,10 @@ }, | ||
"dependencies": { | ||
"@material/slider": "^4.0.0", | ||
"@smui/common": "^2.0.0-beta.1" | ||
"@material/slider": "^10.0.0", | ||
"@smui/common": "^3.0.0-beta.0", | ||
"@smui/ripple": "^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 - Slider | ||
See [MDC Slider](https://material.io/develop/web/components/input-controls/sliders/) 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-slider/_variables.scss) for styling variables. | ||
# Installation | ||
@@ -16,12 +12,16 @@ | ||
# 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 | ||
<Slider bind:value /> | ||
<script> | ||
import Slider from '@smui/slider' | ||
import Slider from '@smui/slider'; | ||
let value = 0; | ||
</script> | ||
<Slider bind:value /> | ||
``` | ||
@@ -31,8 +31,14 @@ | ||
*in action:* https://sveltematerialui.com/demo/slider | ||
_in action:_ https://sveltematerialui.com/demo/slider | ||
*demo code:* https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/slider.svelte | ||
_demo code:_ https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/slider.svelte | ||
# Exports | ||
todo... | ||
todo... | ||
# More Information | ||
See [Sliders](https://material.io/components/sliders) in the Material design spec. | ||
See [Slider](https://github.com/material-components/material-components-web/tree/v10.0.0/packages/mdc-slider) 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
54833
1
595
42
3
+ Added@smui/ripple@^3.0.0-beta.0
+ Added@material/animation@10.0.011.0.0(transitive)
+ Added@material/base@10.0.011.0.0(transitive)
+ Added@material/dom@10.0.011.0.0(transitive)
+ Added@material/elevation@10.0.0(transitive)
+ Added@material/feature-targeting@10.0.011.0.0(transitive)
+ Added@material/ripple@10.0.011.0.0(transitive)
+ Added@material/rtl@10.0.0(transitive)
+ Added@material/slider@10.0.0(transitive)
+ Added@material/theme@10.0.011.0.0(transitive)
+ Added@material/typography@10.0.0(transitive)
+ Added@smui/common@3.1.0(transitive)
+ Added@smui/ripple@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/dom@4.0.0(transitive)
- Removed@material/feature-targeting@4.0.0(transitive)
- Removed@material/rtl@4.0.0(transitive)
- Removed@material/slider@4.0.0(transitive)
- Removed@material/theme@4.0.0(transitive)
- Removed@material/typography@4.0.0(transitive)
- Removed@smui/common@2.0.0-beta.1(transitive)
Updated@material/slider@^10.0.0
Updated@smui/common@^3.0.0-beta.0