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

sling-web-component-select

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sling-web-component-select - npm Package Compare versions

Comparing version 0.17.0 to 1.3.0

dist/cjs/es5/component/Select.js

17

package.json
{
"name": "sling-web-component-select",
"version": "0.17.0",
"description": "",
"main": "dist/cjs/index.js",
"jsnext:main": "dist/es/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "1.3.0",
"description": "Sling Web Component Select",
"module": "src/index.js",
"main": "dist/cjs/es6/index.js",
"jsnext:main": "dist/es/es6/index.js",
"browser": "dist/iife/es6/index.js",
"author": "Stone Pagamentos",
"dependencies": {
"sling-web-framework": "^0.17.0",
"sling-web-helpers": "^0.17.0"
"sling-framework": "^1.3.0",
"sling-helpers": "^1.3.0"
}
}

@@ -17,4 +17,4 @@ # sling-web-component-select

* **sling-web-framework**
* **sling-web-helpers**
* **sling-framework**
* **sling-helpers**

@@ -21,0 +21,0 @@ ## Attributes and properties

@@ -1,2 +0,2 @@

import { SlingElement, html } from '../../node_modules/sling-web-framework/src/index.js';
import { SlingElement, html } from 'sling-framework';

@@ -75,6 +75,6 @@ export class Select extends SlingElement {

<style>
@import url('../sling-web-component-select/src/index.css');
@import url('sling-web-component-select/src/index.css');
</style>
<label class="emd-select__label">${this.label}
<label class="emd-select__label">${this.label}
<select

@@ -90,3 +90,3 @@ class="emd-select"

<option value="" disabled hidden selected="${this.value == null}">
${this.placeholder || 'Selecione um valor'}
${this.placeholder || 'Select a value'}
</option>

@@ -93,0 +93,0 @@ ${srcoptions.map(option => html`

import sinon from 'sinon';
import { domHelper } from '../../node_modules/sling-web-helpers/src/index.js';
import { registerComponent } from 'sling-helpers';
import { Select } from '../component/Select.js';
domHelper.registerComponent('sling-select', Select);
registerComponent('sling-select', Select);

@@ -7,0 +7,0 @@ let $select;

@@ -1,4 +0,4 @@

import { domHelper } from '../node_modules/sling-web-helpers/src/index.js';
import { registerComponent } from 'sling-helpers';
import { Select } from './component/Select.js';
domHelper.registerComponent('sling-select', Select);
registerComponent('sling-select', Select);
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