@spectrum-css/swatch
Advanced tools
Comparing version 5.1.6-next.2 to 6.0.0
@@ -6,2 +6,17 @@ # Change Log | ||
<a name="6.0.0"></a> | ||
#6.0.0 | ||
🗓 | ||
2024-04-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/swatch@5.1.5...@spectrum-css/swatch@6.0.0) | ||
\*feat!: postcss config build and script; remove gulp (#2466)([b0f337b](https://github.com/adobe/spectrum-css/commit/b0f337b)), closes[#2466](https://github.com/adobe/spectrum-css/issues/2466) | ||
### | ||
🛑 BREAKING CHANGES | ||
* | ||
- Removes component-builder & component-builder-simple for script leveraging postcss | ||
- Imports added to index.css and themes/express.css | ||
<a name="5.1.5"></a> | ||
@@ -8,0 +23,0 @@ ##5.1.5 |
@@ -68,3 +68,3 @@ { | ||
"--spectrum-focus-indicator-thickness", | ||
"--spectrum-gray-25", | ||
"--spectrum-gray-50", | ||
"--spectrum-gray-800", | ||
@@ -71,0 +71,0 @@ "--spectrum-gray-900", |
{ | ||
"name": "@spectrum-css/swatch", | ||
"version": "5.1.6-next.2", | ||
"description": "The Spectrum CSS Color swatch component", | ||
"license": "Apache-2.0", | ||
"author": "Adobe", | ||
"homepage": "https://opensource.adobe.com/spectrum-css/swatch", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/adobe/spectrum-css.git", | ||
"directory": "components/swatch" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/adobe/spectrum-css/issues" | ||
}, | ||
"main": "dist/index.css", | ||
"peerDependencies": { | ||
"@spectrum-css/opacitycheckerboard": ">=1", | ||
"@spectrum-css/tokens": "^14.0.0-next.3" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "35c5f608be3785b57e7cdfd982378fff080accc2" | ||
"name": "@spectrum-css/swatch", | ||
"version": "6.0.0", | ||
"description": "The Spectrum CSS Color swatch component", | ||
"license": "Apache-2.0", | ||
"author": "Adobe", | ||
"homepage": "https://opensource.adobe.com/spectrum-css/swatch", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/adobe/spectrum-css.git", | ||
"directory": "components/swatch" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/adobe/spectrum-css/issues" | ||
}, | ||
"main": "dist/index.css", | ||
"peerDependencies": { | ||
"@spectrum-css/opacitycheckerboard": ">=1", | ||
"@spectrum-css/tokens": ">=13" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "ee96fec864d2f60be456b50964dacfa8d562d9b8" | ||
} |
@@ -7,2 +7,3 @@ import { html } from "lit"; | ||
import { useArgs } from "@storybook/preview-api"; | ||
@@ -24,2 +25,4 @@ import { Template as OpacityCheckerboard } from "@spectrum-css/opacitycheckerboard/stories/template.js"; | ||
}) => { | ||
const [, updateArgs] = useArgs(); | ||
return html` | ||
@@ -34,4 +37,4 @@ <div | ||
)}`]: typeof rounding !== "undefined" && rounding !== "regular", | ||
'is-selected': !isDisabled && isSelected, | ||
'is-disabled': isDisabled, | ||
"is-selected": !isDisabled && isSelected, | ||
"is-disabled": isDisabled, | ||
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}), | ||
@@ -51,3 +54,3 @@ })} | ||
@keypress=${(e) => { | ||
if (e.key !== 'Enter' && e.key !== ' ') return; | ||
if (e.key !== "Enter" && e.key !== " ") return; | ||
updateArgs({ isSelected: !isSelected }); | ||
@@ -54,0 +57,0 @@ }} |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
163258
1322
1