Socket
Socket
Sign inDemoInstall

@lion/switch

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/switch - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

8

CHANGELOG.md
# Change Log
## 0.13.1
### Patch Changes
- deb95d13: Add data-tag-name manually to scoped child slottables as the ScopedElementsMixin only does this transform for elements inside render templates.
- Updated dependencies [deb95d13]
- @lion/form-core@0.8.1
## 0.13.0

@@ -4,0 +12,0 @@

4

package.json
{
"name": "@lion/switch",
"version": "0.13.0",
"version": "0.13.1",
"description": "A Switch is used for switching a property or feature on and off",

@@ -40,3 +40,3 @@ "license": "MIT",

"@lion/core": "0.14.0",
"@lion/form-core": "0.8.0",
"@lion/form-core": "0.8.1",
"@lion/helpers": "0.6.0"

@@ -43,0 +43,0 @@ },

@@ -42,8 +42,11 @@ import { css, html, ScopedElementsMixin } from '@lion/core';

...super.slots,
input: () =>
document.createElement(
input: () => {
const btnEl = document.createElement(
/** @type {typeof LionSwitch} */ (this.constructor).getScopedTagName(
'lion-switch-button',
),
),
);
btnEl.setAttribute('data-tag-name', 'lion-switch-button');
return btnEl;
},
};

@@ -50,0 +53,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