@smui/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 @@ |
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Span from '@smui/common/Span.svelte'; | ||
function Graphic(...args) { | ||
internals.class = 'mdc-list-item__graphic'; | ||
internals.component = Span; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
Graphic.prototype = ClassAdder; | ||
export default Graphic; | ||
export default classAdderBuilder({ | ||
class: 'mdc-list-item__graphic', | ||
component: Span, | ||
contexts: {} | ||
}); |
17
Group.js
@@ -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 Group(...args) { | ||
internals.class = 'mdc-list-group'; | ||
internals.component = Div; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
Group.prototype = ClassAdder; | ||
export default Group; | ||
export default classAdderBuilder({ | ||
class: 'mdc-list-group', | ||
component: Div, | ||
contexts: {} | ||
}); |
17
Meta.js
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Span from '@smui/common/Span.svelte'; | ||
function Meta(...args) { | ||
internals.class = 'mdc-list-item__meta'; | ||
internals.component = Span; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
Meta.prototype = ClassAdder; | ||
export default Meta; | ||
export default classAdderBuilder({ | ||
class: 'mdc-list-item__meta', | ||
component: Span, | ||
contexts: {} | ||
}); |
{ | ||
"name": "@smui/list", | ||
"version": "1.0.0-beta.14", | ||
"version": "1.0.0-beta.15", | ||
"description": "Svelte Material UI - List", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"@material/list": "^3.1.0", | ||
"@smui/common": "^1.0.0-beta.14", | ||
"@smui/common": "^1.0.0-beta.15", | ||
"@smui/ripple": "^1.0.0-beta.14" | ||
@@ -40,3 +40,3 @@ }, | ||
}, | ||
"gitHead": "e05df07e232ef51bd8d3356451840b01210e09b1" | ||
"gitHead": "0673c5e2b73f0b83f7c31b707e39ea11ab988983" | ||
} |
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Span from '@smui/common/Span.svelte'; | ||
function PrimaryText(...args) { | ||
internals.class = 'mdc-list-item__primary-text'; | ||
internals.component = Span; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
PrimaryText.prototype = ClassAdder; | ||
export default PrimaryText; | ||
export default classAdderBuilder({ | ||
class: 'mdc-list-item__primary-text', | ||
component: Span, | ||
contexts: {} | ||
}); |
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Span from '@smui/common/Span.svelte'; | ||
function SecondaryText(...args) { | ||
internals.class = 'mdc-list-item__secondary-text'; | ||
internals.component = Span; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
SecondaryText.prototype = ClassAdder; | ||
export default SecondaryText; | ||
export default classAdderBuilder({ | ||
class: 'mdc-list-item__secondary-text', | ||
component: Span, | ||
contexts: {} | ||
}); |
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import H3 from '@smui/common/H3.svelte'; | ||
function Subheader(...args) { | ||
internals.class = 'mdc-list-group__subheader'; | ||
internals.component = H3; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
Subheader.prototype = ClassAdder; | ||
export default Subheader; | ||
export default classAdderBuilder({ | ||
class: 'mdc-list-group__subheader', | ||
component: H3, | ||
contexts: {} | ||
}); |
17
Text.js
@@ -1,13 +0,8 @@ | ||
import ClassAdder, {internals} from '@smui/common/ClassAdder.svelte'; | ||
import {classAdderBuilder} from '@smui/common/classAdderBuilder.js'; | ||
import Span from '@smui/common/Span.svelte'; | ||
function Text(...args) { | ||
internals.class = 'mdc-list-item__text'; | ||
internals.component = Span; | ||
internals.contexts = {}; | ||
return new ClassAdder(...args); | ||
} | ||
Text.prototype = ClassAdder; | ||
export default Text; | ||
export default classAdderBuilder({ | ||
class: 'mdc-list-item__text', | ||
component: Span, | ||
contexts: {} | ||
}); |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
50200
759
Updated@smui/common@^1.0.0-beta.15