@spectrum-css/textfield
Advanced tools
Comparing version 6.1.7-next.1 to 6.1.7-next.2
{ | ||
"name": "@spectrum-css/textfield", | ||
"version": "6.1.7-next.1", | ||
"version": "6.1.7-next.2", | ||
"description": "The Spectrum CSS textfield component", | ||
@@ -16,6 +16,6 @@ "license": "Apache-2.0", | ||
}, | ||
"main": "dist/index-vars.css", | ||
"main": "dist/index.css", | ||
"peerDependencies": { | ||
"@spectrum-css/helptext": ">=4", | ||
"@spectrum-css/tokens": ">=13" | ||
"@spectrum-css/tokens": "^14.0.0-next.3" | ||
}, | ||
@@ -27,9 +27,6 @@ "peerDependenciesMeta": { | ||
}, | ||
"devDependencies": { | ||
"@spectrum-css/component-builder-simple": "^5.0.6-next.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "2216cf58a18fb79d0cb987c485f7c4c177b7925f" | ||
"gitHead": "35c5f608be3785b57e7cdfd982378fff080accc2" | ||
} |
@@ -9,9 +9,9 @@ { | ||
"compare": {}, | ||
"format": {}, | ||
"lint": {}, | ||
"validate": {}, | ||
"test": { | ||
"defaultConfiguration": "scope" | ||
} | ||
}, | ||
"validate": {} | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { useArgs } from "@storybook/client-api"; | ||
import { useArgs } from "@storybook/preview-api"; | ||
import { html } from "lit"; | ||
@@ -8,5 +8,5 @@ import { classMap } from "lit/directives/class-map.js"; | ||
import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js"; | ||
import { Template as Icon } from "@spectrum-css/icon/stories/template.js"; | ||
import { Template as ProgressCircle } from "@spectrum-css/progresscircle/stories/template.js"; | ||
import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js"; | ||
@@ -55,3 +55,4 @@ import "../index.css"; | ||
else import(/* webpackPrefetch: true */ "../themes/express.css"); | ||
} catch (e) { | ||
} | ||
catch (e) { | ||
console.warn(e); | ||
@@ -63,3 +64,4 @@ } | ||
iconSet = "workflow"; | ||
} else if (isValid) { | ||
} | ||
else if (isValid) { | ||
iconName = "Checkmark"; | ||
@@ -115,3 +117,3 @@ iconSet = "ui"; | ||
customClasses: [ | ||
!!(isInvalid || isValid) | ||
isInvalid || isValid | ||
? `${rootClass}-validationIcon` | ||
@@ -118,0 +120,0 @@ : `${rootClass}-icon`, |
// Import the component markup template | ||
import { html } from "lit"; | ||
import { Template } from "./template"; | ||
import { html } from "lit"; | ||
@@ -193,5 +193,3 @@ export default { | ||
status: { | ||
type: process.env.MIGRATED_PACKAGES.includes("textfield") | ||
? "migrated" | ||
: undefined, | ||
type: "migrated", | ||
}, | ||
@@ -226,3 +224,3 @@ }, | ||
labelText: "Username", | ||
labelPosition: 'side', | ||
labelPosition: "side", | ||
isValid: true, | ||
@@ -267,3 +265,3 @@ value: "username@reallylongemail.com" | ||
labelText: "Username", | ||
labelPosition: 'side', | ||
labelPosition: "side", | ||
isValid: true, | ||
@@ -270,0 +268,0 @@ multiline: true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
405186
0
27
5605
0