New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@umbraco-ui/uui-boolean-input

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umbraco-ui/uui-boolean-input - npm Package Compare versions

Comparing version 1.9.0-rc.1 to 1.9.0

12

lib/index.js

@@ -35,2 +35,3 @@ import { UUIFormControlMixin, LabelMixin } from '@umbraco-ui/uui-base/lib/mixins';

this._checked = false;
this.indeterminate = false;
this.disabled = false;

@@ -119,2 +120,3 @@ this.readonly = false;

this.checked = this._input.checked;
this.indeterminate = this._input.indeterminate;
this.dispatchEvent(new UUIBooleanInputEvent(UUIBooleanInputEvent.CHANGE));

@@ -131,2 +133,3 @@ }

.checked=${this.checked}
.indeterminate=${this.indeterminate}
aria-checked="${this.checked ? "true" : "false"}"

@@ -158,4 +161,3 @@ aria-label=${this.label}

:host([readonly]) label {
cursor: text;
user-select: auto;
cursor: default;
}

@@ -184,3 +186,4 @@

:host([disabled]) .label {
:host([disabled]) label {
cursor: not-allowed;
opacity: 0.5;

@@ -198,2 +201,5 @@ }

property({ type: Boolean, reflect: true })
], UUIBooleanInputElement.prototype, "indeterminate", 2);
__decorateClass([
property({ type: Boolean, reflect: true })
], UUIBooleanInputElement.prototype, "disabled", 2);

@@ -200,0 +206,0 @@ __decorateClass([

@@ -33,2 +33,9 @@ import { LitElement, TemplateResult } from 'lit';

/**
* Indeterminate state for the input.
* @type {boolean}
* @attr
* @default false
*/
indeterminate: boolean;
/**
* Disables the input.

@@ -35,0 +42,0 @@ * @type {boolean}

{
"name": "@umbraco-ui/uui-boolean-input",
"version": "1.9.0-rc.1",
"version": "1.9.0",
"license": "MIT",

@@ -33,3 +33,3 @@ "keywords": [

"dependencies": {
"@umbraco-ui/uui-base": "1.9.0-rc.1"
"@umbraco-ui/uui-base": "1.9.0"
},

@@ -45,3 +45,3 @@ "scripts": {

"homepage": "https://uui.umbraco.com/?path=/story/uui-boolean-input",
"gitHead": "7092b4717d8b9d4825b15e087508b8f75bf81a92"
"gitHead": "37111ea2cebb5883dcef0e682916f1e101013123"
}
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