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

@socketsupply/components

Package Overview
Dependencies
Maintainers
7
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketsupply/components - npm Package Compare versions

Comparing version 14.0.7 to 14.0.8

2

input/index.js

@@ -174,3 +174,3 @@ import { Tonic } from '@socketsupply/tonic'

width: fit-content;
transform: translateY(-10px);
transform: translate(-50%, -10px);
transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s ease 1s;

@@ -177,0 +177,0 @@ visibility: hidden;

{
"name": "@socketsupply/components",
"version": "14.0.7",
"version": "14.0.8",
"description": "Example components",

@@ -8,2 +8,3 @@ "type": "module",

"prepare": "npm run lint",
"prepublishOnly": "git push --follow-tags",
"lint": "standard -v",

@@ -10,0 +11,0 @@ "test": "standard && esbuild --format=esm --bundle _test/index.js | tape-run",

@@ -454,3 +454,6 @@ import { Tonic } from '@socketsupply/tonic'

if (typeof date === 'string') {
date = this.props.date = new Date(+this.props.date)
date = this.props.date =
/^\d+$/.test(this.props.date)
? new Date(+this.props.date)
: new Date(this.props.date)
}

@@ -457,0 +460,0 @@

@@ -47,3 +47,3 @@ import { Tonic } from '@socketsupply/tonic'

tonic-textarea textarea:invalid {
tonic-textarea[edited] textarea:invalid {
border-color: var(--tonic-danger, #f66);

@@ -91,3 +91,3 @@ }

tonic-textarea[label] .tonic--invalid {
margin-bottom: 13px;
margin-bottom: 0px;
}

@@ -103,3 +103,3 @@

width: fit-content;
transform: translateY(-10px);
transform: translate(-50%, -10px);
transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s ease 1s;

@@ -133,3 +133,2 @@ visibility: hidden;

}
`

@@ -221,2 +220,8 @@ }

keyup (e) {
const value = e.target.value.trim()
if (this.props.required && !value) {
return this.setInvalid('Value Required')
}
if (!this.props.pattern) {

@@ -230,4 +235,2 @@ return

const value = e.target.value.trim()
value.match(this.regex)

@@ -234,0 +237,0 @@ ? this.setValid()

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