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

@semantic-ui/component

Package Overview
Dependencies
Maintainers
0
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.26 to 0.0.27

10

package.json

@@ -15,8 +15,8 @@ {

"dependencies": {
"@semantic-ui/query": "^0.0.26",
"@semantic-ui/reactivity": "^0.0.26",
"@semantic-ui/templating": "^0.0.26",
"@semantic-ui/utils": "^0.0.26"
"@semantic-ui/query": "^0.0.27",
"@semantic-ui/reactivity": "^0.0.27",
"@semantic-ui/templating": "^0.0.27",
"@semantic-ui/utils": "^0.0.27"
},
"version": "0.0.26"
"version": "0.0.27"
}

@@ -134,2 +134,3 @@ import { unsafeCSS } from 'lit';

}
// make this easier to access in dom
this.tpl = this.template.tpl;

@@ -136,0 +137,0 @@ }

@@ -5,3 +5,3 @@ import { nothing } from 'lit';

import { Reaction } from '@semantic-ui/reactivity';
import { each, isEqual } from '@semantic-ui/utils';
import { each } from '@semantic-ui/utils';

@@ -8,0 +8,0 @@ export class ReactiveConditionalDirective extends AsyncDirective {

@@ -7,9 +7,9 @@ import { nothing } from 'lit';

import { Reaction } from '@semantic-ui/reactivity';
import { inArray } from '@semantic-ui/utils';
import { isArray, isObject, inArray } from '@semantic-ui/utils';
import { ifDefined } from 'lit/directives/if-defined.js';
export class ReactiveDataDirective extends AsyncDirective {
constructor(partInfo) {
super(partInfo);
this.partInfo = partInfo;
this.reaction = null;

@@ -33,2 +33,6 @@ }

}
// we need to serialize arrays and objects that are rendered to html
if(isArray(reactiveValue) || isObject(reactiveValue)) {
reactiveValue = JSON.stringify(reactiveValue);
}
return reactiveValue;

@@ -35,0 +39,0 @@ };

@@ -37,3 +37,3 @@ import { directive } from 'lit/directive.js';

// clone if it has changed
this.template = template.clone({ data: unpackData(data) });
this.template = template.clone({ templateName: templateName, data: unpackData(data) });
return true;

@@ -40,0 +40,0 @@ };

@@ -183,3 +183,4 @@ import { LitElement } from 'lit';

// these are functions that can only be set on the DOM el but do not have attributes
// these are values that can only be set on the DOM el as properties
// but do not have attributes -- for instance functions
each(componentSpec.properties, (name) => {

@@ -320,2 +321,5 @@ const propertyType = componentSpec.propertyTypes[name];

});
if(property == 'activeFile') {
console.log('getting setting', settings, property, get(settings, property));
}
return get(settings, property);

@@ -322,0 +326,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