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 1.1.6-next.1 to 1.1.6-next.2

dist/index-base.css.map

11

package.json
{
"name": "@spectrum-css/opacitycheckerboard",
"version": "1.1.6-next.1",
"version": "1.1.6-next.2",
"description": "The Spectrum CSS opacitycheckerboard component",

@@ -16,13 +16,10 @@ "license": "Apache-2.0",

},
"main": "dist/index-vars.css",
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/tokens": ">=13"
"@spectrum-css/tokens": "^14.0.0-next.3"
},
"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": {}
}
}

@@ -22,2 +22,12 @@ import { html } from "lit";

},
size: {
name: "Size",
type: { name: "string", required: true },
table: {
type: { summary: "string" },
category: "Component",
},
options: ["s", "m"],
control: "select",
},
},

@@ -33,5 +43,3 @@ args: {

status: {
type: process.env.MIGRATED_PACKAGES.includes("opacitycheckerboard")
? "migrated"
: undefined,
type: "migrated",
},

@@ -43,17 +51,37 @@ },

};
export const Default = Template.bind({});
Default.args = {
customStyles: {
"inline-size": "100%",
"block-size": "100%"
}
};
export const CheckerboardPosition = Template.bind({});
const CheckerboardDefault = (args) => html`
${window.isChromatic() ? html`
${Template({
...args,
customStyles: {
"inline-size": "100%",
"block-size": "100%"
}
})}
<br>
${Template({
...args,
customStyles: {
"inline-size": "100%",
"block-size": "100%"
},
size: "s",
})}
` : Template({
...args,
customStyles: {
"inline-size": "100%",
"block-size": "100%"
}
})}
`;
export const Default = CheckerboardDefault.bind({});
Default.args = {};
export const CheckerboardPosition = CheckerboardDefault.bind({});
CheckerboardPosition.args = {
backgroundPosition: 'center center',
customStyles: {
"inline-size": "100%",
"block-size": "100%"
}
backgroundPosition: "center center",
};

@@ -60,0 +88,0 @@ CheckerboardPosition.parameters = {

@@ -15,2 +15,3 @@ import { html } from "lit";

content = [],
size,
role,

@@ -22,2 +23,3 @@ }) => {

[rootClass]: true,
[`${rootClass}--size${size?.toUpperCase()}`]: typeof size !== "undefined",
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),

@@ -24,0 +26,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

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