Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@semantic-ui/component

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-ui/component - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

10

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc