@smui/image-list
Advanced tools
Comparing version 1.0.0-beta.14 to 1.0.0-beta.15
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-beta.15](https://github.com/hperrin/svelte-material-ui/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2019-09-13) | ||
### Bug Fixes | ||
* fixed ClassAdder components to allow SSR ([de0daa1](https://github.com/hperrin/svelte-material-ui/commit/de0daa1)), closes [#29](https://github.com/hperrin/svelte-material-ui/issues/29) | ||
# [1.0.0-beta.14](https://github.com/hperrin/svelte-material-ui/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2019-09-07) | ||
@@ -8,0 +19,0 @@ |
17
Image.js
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Img from '@smui/common/Img.svelte'; | ||
function Image(...args) { | ||
internals.class = 'mdc-image-list__image'; | ||
internals.component = Img; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
Image.prototype = ClassAdder; | ||
export default Image; | ||
export default classAdderBuilder({ | ||
class: 'mdc-image-list__image', | ||
component: Img, | ||
contexts: {} | ||
}); |
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Div from '@smui/common/Div.svelte'; | ||
function ImageAspectContainer(...args) { | ||
internals.class = 'mdc-image-list__image-aspect-container'; | ||
internals.component = Div; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
ImageAspectContainer.prototype = ClassAdder; | ||
export default ImageAspectContainer; | ||
export default classAdderBuilder({ | ||
class: 'mdc-image-list__image-aspect-container', | ||
component: Div, | ||
contexts: {} | ||
}); |
17
Item.js
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Li from '@smui/common/Li.svelte'; | ||
function Item(...args) { | ||
internals.class = 'mdc-image-list__item'; | ||
internals.component = Li; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
Item.prototype = ClassAdder; | ||
export default Item; | ||
export default classAdderBuilder({ | ||
class: 'mdc-image-list__item', | ||
component: Li, | ||
contexts: {} | ||
}); |
{ | ||
"name": "@smui/image-list", | ||
"version": "1.0.0-beta.14", | ||
"version": "1.0.0-beta.15", | ||
"description": "Svelte Material UI - Image List", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"@material/image-list": "^3.1.0", | ||
"@smui/common": "^1.0.0-beta.14" | ||
"@smui/common": "^1.0.0-beta.15" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "e05df07e232ef51bd8d3356451840b01210e09b1" | ||
"gitHead": "0673c5e2b73f0b83f7c31b707e39ea11ab988983" | ||
} |
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Div from '@smui/common/Div.svelte'; | ||
function Supporting(...args) { | ||
internals.class = 'mdc-image-list__supporting'; | ||
internals.component = Div; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
Supporting.prototype = ClassAdder; | ||
export default Supporting; | ||
export default classAdderBuilder({ | ||
class: 'mdc-image-list__supporting', | ||
component: Div, | ||
contexts: {} | ||
}); |
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
19466
114
Updated@smui/common@^1.0.0-beta.15