@spectrum-css/textfield
Advanced tools
Comparing version 8.0.0-s2-foundations.1 to 8.0.0-s2-foundations.2
# Change Log | ||
## 8.0.0-s2-foundations.2 | ||
### Major Changes | ||
- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption | ||
### Patch Changes | ||
- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]: | ||
- @spectrum-css/helptext@6.0.0-s2-foundations.2 | ||
- @spectrum-css/tokens@15.0.0-s2-foundations.2 | ||
## 8.0.0-s2-foundations.1 | ||
@@ -4,0 +16,0 @@ |
{ | ||
"name": "@spectrum-css/textfield", | ||
"version": "8.0.0-s2-foundations.1", | ||
"version": "8.0.0-s2-foundations.2", | ||
"description": "The Spectrum CSS textfield component", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -45,4 +45,3 @@ import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js"; | ||
customStyles = {}, | ||
...globals | ||
}, context) => { | ||
} = {}, context = {}) => { | ||
const [, updateArgs] = useArgs(); | ||
@@ -94,3 +93,2 @@ | ||
${when(displayLabel, () => FieldLabel({ | ||
...globals, | ||
size, | ||
@@ -100,3 +98,2 @@ label: labelText, | ||
${when(iconName, () => Icon({ | ||
...globals, | ||
size, | ||
@@ -117,7 +114,7 @@ iconName, | ||
id=${ifDefined(id ? `${id}-input` : undefined)} | ||
.value=${ifDefined(value)} | ||
autocomplete=${autocomplete ? undefined : "off"} | ||
.value=${value} | ||
autocomplete=${ifDefined(autocomplete ? undefined : "off")} | ||
?required=${isRequired} | ||
?disabled=${isDisabled} | ||
?readonly=${ifDefined(isReadOnly)} | ||
?readonly=${isReadOnly} | ||
pattern=${ifDefined(pattern)} | ||
@@ -134,7 +131,7 @@ class=${classMap({ | ||
id=${ifDefined(id ? `${id}-input` : undefined)} | ||
.value=${ifDefined(value)} | ||
autocomplete=${autocomplete ? undefined : "off"} | ||
.value=${value} | ||
autocomplete=${ifDefined(autocomplete ? undefined : "off")} | ||
?required=${isRequired} | ||
?disabled=${isDisabled} | ||
?readonly=${ifDefined(isReadOnly)} | ||
?readonly=${isReadOnly} | ||
pattern=${ifDefined(pattern)} | ||
@@ -141,0 +138,0 @@ class=${classMap({ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
195255
12
1986