@conectate/ct-button
Advanced tools
Comparing version 3.10.0 to 3.11.0
@@ -16,3 +16,17 @@ import { __decorate } from "tslib"; | ||
let CtButtonMenu = class CtButtonMenu extends LitElement { | ||
static styles = [ | ||
constructor() { | ||
super(...arguments); | ||
this.anim_selector = 'ct-list-item'; | ||
this.title = 'Open for more actions'; | ||
this.tabindex = -1; | ||
this.rotate = false; | ||
/** Location from opened */ | ||
this.from = 'bottom-left'; | ||
this.use_slot = false; | ||
/** keep popup after click, you must close programmatically */ | ||
this.keep = false; | ||
/** Dropdown icon */ | ||
this.icon = 'expand_more'; | ||
} | ||
static { this.styles = [ | ||
css ` | ||
@@ -102,17 +116,3 @@ :host { | ||
` | ||
]; | ||
anim_selector = 'ct-list-item'; | ||
title = 'Open for more actions'; | ||
tabindex = -1; | ||
rotate = false; | ||
/** Location from opened */ | ||
from = 'bottom-left'; | ||
/** Template Result of Trigger */ | ||
dropDownTrigger; | ||
use_slot = false; | ||
/** keep popup after click, you must close programmatically */ | ||
keep = false; | ||
/** Dropdown icon */ | ||
icon = 'expand_more'; | ||
popup; | ||
]; } | ||
render() { | ||
@@ -119,0 +119,0 @@ return html ` <span class="dropdown-trigger center"> |
@@ -9,3 +9,10 @@ import { __decorate } from "tslib"; | ||
let CtButtonSplit = class CtButtonSplit extends LitElement { | ||
static CtButtonStyle = css ` | ||
constructor() { | ||
super(...arguments); | ||
this.raised = false; | ||
this.shadow = false; | ||
this.flat = false; | ||
this.light = false; | ||
} | ||
static { this.CtButtonStyle = css ` | ||
ct-button-split ct-button { | ||
@@ -21,4 +28,4 @@ border: none; | ||
} | ||
`; | ||
static styles = [ | ||
`; } | ||
static { this.styles = [ | ||
CtButton.styles, | ||
@@ -44,7 +51,3 @@ css ` | ||
` | ||
]; | ||
raised = false; | ||
shadow = false; | ||
flat = false; | ||
light = false; | ||
]; } | ||
render() { | ||
@@ -51,0 +54,0 @@ return html `<slot></slot>`; |
@@ -87,3 +87,13 @@ /** | ||
let CtButton = class CtButton extends LitElement { | ||
static styles = [ | ||
constructor() { | ||
super(...arguments); | ||
this.raised = false; | ||
this.shadow = false; | ||
this.flat = false; | ||
this.light = false; | ||
this.role = 'button'; | ||
this.disabled = false; | ||
this.gap = false; | ||
} | ||
static { this.styles = [ | ||
css ` | ||
@@ -190,10 +200,3 @@ :host { | ||
` | ||
]; | ||
raised = false; | ||
shadow = false; | ||
flat = false; | ||
light = false; | ||
role = 'button'; | ||
disabled = false; | ||
gap = false; | ||
]; } | ||
render() { | ||
@@ -200,0 +203,0 @@ return html ` <button ?disabled=${this.disabled} @click=${() => this.dispatchEvent(new CustomEvent('btnclick'))}> |
{ | ||
"name": "@conectate/ct-button", | ||
"version": "3.10.0", | ||
"version": "3.11.0", | ||
"description": "HTML Button made with Web Components and Lit", | ||
@@ -17,3 +17,3 @@ "main": "ct-button.js", | ||
"dependencies": { | ||
"@conectate/ct-icon": "^3.10.0", | ||
"@conectate/ct-icon": "^3.11.0", | ||
"lit": "^2.8.0", | ||
@@ -49,3 +49,3 @@ "tslib": "^2.6.1" | ||
}, | ||
"gitHead": "d8992206d4f6ca934be0088596735b5414f3c984" | ||
"gitHead": "ca7e7cb60689482aac2289b4bf04310c3d4e188c" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31033
744
Updated@conectate/ct-icon@^3.11.0