@semantic-ui/component
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@semantic-ui/component", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"type": "module", | ||
@@ -16,7 +16,7 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@semantic-ui/query": "^0.0.6", | ||
"@semantic-ui/reactivity": "^0.0.6", | ||
"@semantic-ui/templating": "^0.0.6", | ||
"@semantic-ui/utils": "^0.0.6" | ||
"@semantic-ui/query": "^0.0.7", | ||
"@semantic-ui/reactivity": "^0.0.7", | ||
"@semantic-ui/templating": "^0.0.7", | ||
"@semantic-ui/utils": "^0.0.7" | ||
} | ||
} |
import { unsafeCSS } from 'lit'; | ||
import { each, noop, isServer, kebabToCamel } from '@semantic-ui/utils'; | ||
import { each, noop, isServer, kebabToCamel, proxyObject } from '@semantic-ui/utils'; | ||
import { TemplateCompiler, Template } from '@semantic-ui/templating'; | ||
@@ -93,2 +93,4 @@ | ||
settings = proxyObject(() => this.getSettings({componentSpec, properties: webComponent.properties })); | ||
constructor() { | ||
@@ -177,4 +179,5 @@ super(); | ||
getData() { | ||
let settings = this.getSettings({componentSpec, properties: webComponent.properties }); | ||
let data = { | ||
...this.getSettings({componentSpec, properties: webComponent.properties }), | ||
...settings, | ||
...this.getContent({componentSpec}), | ||
@@ -181,0 +184,0 @@ plural |
import { scopeStyles } from './scope-styles.js'; | ||
import { isServer, hashCode } from '@semantic-ui/utils'; | ||
export const adoptStylesheet = (css, { adoptedElement, scopeSelector } = {}) => { | ||
export const adoptStylesheet = (css, adoptedElement, { scopeSelector } = {}) => { | ||
if(isServer) { | ||
@@ -6,0 +6,0 @@ return; |
@@ -186,3 +186,6 @@ import { LitElement } from 'lit'; | ||
each(componentSpec.reverseAttributes, (attributeValues, attribute) => { | ||
properties[attribute] = { type: String, reflect: false }; | ||
const reservedWords = ['settings']; | ||
if(!inArray(attribute, reservedWords)) { | ||
properties[attribute] = { type: String, reflect: false }; | ||
} | ||
}); | ||
@@ -189,0 +192,0 @@ } |
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
47675
1448
+ Added@semantic-ui/query@0.0.7(transitive)
+ Added@semantic-ui/reactivity@0.0.7(transitive)
+ Added@semantic-ui/templating@0.0.7(transitive)
+ Added@semantic-ui/utils@0.0.7(transitive)
- Removed@semantic-ui/query@0.0.6(transitive)
- Removed@semantic-ui/reactivity@0.0.6(transitive)
- Removed@semantic-ui/templating@0.0.6(transitive)
- Removed@semantic-ui/utils@0.0.6(transitive)
Updated@semantic-ui/query@^0.0.7
Updated@semantic-ui/utils@^0.0.7