New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@spectrum-css/opacitycheckerboard

Package Overview
Dependencies
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-css/opacitycheckerboard - npm Package Compare versions

Comparing version 3.0.0-s2-foundations.10 to 3.0.0-s2-foundations.11

15

CHANGELOG.md
# Change Log
## 3.0.0-s2-foundations.11
### Major Changes
- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`8e772ef`](https://github.com/adobe/spectrum-css/commit/8e772efd757f5e88fd4048a5c0229472f9bf90cf) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
### Patch Changes
- Updated dependencies [[`8e772ef`](https://github.com/adobe/spectrum-css/commit/8e772efd757f5e88fd4048a5c0229472f9bf90cf)]:
- @spectrum-css/tokens@15.0.0-s2-foundations.12
## 3.0.0-s2-foundations.10

@@ -7,7 +18,7 @@

- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`54c5625`](https://github.com/adobe/spectrum-css/commit/54c56257bcca5872567a2bf0c5737e35b8190b05) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
### Patch Changes
- Updated dependencies [[`54c5625`](https://github.com/adobe/spectrum-css/commit/54c56257bcca5872567a2bf0c5737e35b8190b05)]:
- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
- @spectrum-css/tokens@15.0.0-s2-foundations.10

@@ -14,0 +25,0 @@

2

package.json
{
"name": "@spectrum-css/opacitycheckerboard",
"version": "3.0.0-s2-foundations.10",
"version": "3.0.0-s2-foundations.11",
"description": "The Spectrum CSS opacitycheckerboard component",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -1,2 +0,1 @@

import { getRandomId, renderContent } from "@spectrum-css/preview/decorators/utilities.js";
import { html } from "lit";

@@ -8,4 +7,2 @@ import { classMap } from "lit/directives/class-map.js";

import "../index.css";
import "../themes/express.css";
import "../themes/spectrum.css";

@@ -17,22 +14,19 @@ export const Template = ({

customStyles = {},
id = getRandomId("opacity-checkerboard"),
id,
content = [],
role,
} = {}, context = {}) => {
return html`
<div
class=${classMap({
[rootClass]: true,
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
style=${ifDefined(styleMap({
"--mod-opacity-checkerboard-position": backgroundPosition,
...customStyles,
}))}
role=${ifDefined(role)}
id=${ifDefined(id)}
>
${renderContent(content, { context })}
</div>
`;
};
}) => html`
<div
class=${classMap({
[rootClass]: true,
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
style=${ifDefined(styleMap({
"--mod-opacity-checkerboard-position": backgroundPosition,
...customStyles,
}))}
role=${ifDefined(role)}
id=${ifDefined(id)}
>
${content}
</div>`;
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