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

@infinitoui/infinito-button

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infinitoui/infinito-button - npm Package Compare versions

Comparing version 1.0.0 to 1.4.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.4.0](http://git.infinitynewtab.com/Starlab/infinitoui/compare/v1.3.0...v1.4.0) (2020-12-30)
### Features
* **button:** truncate ([eb44aaf](http://git.infinitynewtab.com/Starlab/infinitoui/commits/eb44aaf17f42dc9c5404d757e5d213a8c49d7f8f))
# [1.0.0](http://git.infinitynewtab.com/Starlab/infinitoui/compare/v0.2.0...v1.0.0) (2020-10-19)

@@ -8,0 +19,0 @@

1

lib/infinito-button-css.js
import { css } from 'lit-element';
export default css `:host{--button-color: #fff;--button-padding: 0 8px;--border-color: #333;--border-raduis: 6px;--font-color: #333;--font-size: 14px;--hover-color: #333;--hover-font-color: #fff;display:inline-block;font-size:14px}:host([primary]){--button-color: #333;--font-color: #fff}:host([disabled]) button{opacity:0.5;cursor:not-allowed}button{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;min-height:32px;padding:var(--button-padding);color:var(--font-color);font-size:var(--font-size);text-align:center;border:1px solid var(--border-color);background:var(--button-color);border-radius:var(--border-raduis);outline:none;overflow:hidden;cursor:pointer;transition:all .3s}button:hover{color:var(--hover-font-color);background:var(--hover-color)}
`;
//# sourceMappingURL=infinito-button-css.js.map

@@ -65,2 +65,1 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

export { InfinitoButton };
//# sourceMappingURL=infinito-button.js.map
{
"name": "@infinitoui/infinito-button",
"version": "1.0.0",
"version": "1.4.0",
"description": "button",

@@ -26,3 +26,3 @@ "main": "lib/infinito-button.js",

},
"gitHead": "996cca27eab7d660c72bf39a5b1b7822675d755e"
"gitHead": "d8f3a8b2577fab74e7a1c63e046dca0506ddcfa7"
}

@@ -31,14 +31,6 @@ import { customElement, LitElement, html, property, TemplateResult } from 'lit-element'

/**
* 按钮文字
* @type {string}
* @attr label
*/
@property({ type: String }) label = ''
render(): TemplateResult {
return html`
<button ?disabled="${this.disabled}" >
<span>${this.label}</span>
<slot></slot>
<span><slot></slot></span>
</button>

@@ -45,0 +37,0 @@ `

Sorry, the diff of this file is not supported yet

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