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

@spectrum-css/swatch

Package Overview
Dependencies
Maintainers
4
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-css/swatch - npm Package Compare versions

Comparing version 5.1.6-next.2 to 6.0.0

15

CHANGELOG.md

@@ -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

2

dist/metadata.json

@@ -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

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