Socket
Socket
Sign inDemoInstall

@spectrum-web-components/field-group

Package Overview
Dependencies
4
Maintainers
6
Versions
166
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.7-alpha.59 to 0.3.7

test/field-group.test-vrt.js

149

custom-elements.json
{
"version": "experimental",
"tags": [
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"name": "sp-field-group",
"path": "./sp-field-group.d.ts",
"attributes": [
"kind": "javascript-module",
"path": "src/FieldGroup.ts",
"declarations": [
{
"name": "horizontal",
"type": "boolean",
"default": "false"
},
"kind": "class",
"description": "",
"name": "FieldGroup",
"members": [
{
"kind": "field",
"name": "horizontal",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"attribute": "horizontal",
"reflects": true
},
{
"kind": "field",
"name": "vertical",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"attribute": "vertical",
"reflects": true
}
],
"attributes": [
{
"name": "horizontal",
"type": {
"text": "boolean"
},
"default": "false",
"fieldName": "horizontal"
},
{
"name": "vertical",
"type": {
"text": "boolean"
},
"default": "false",
"fieldName": "vertical"
}
],
"superclass": {
"name": "SpectrumElement",
"package": "@spectrum-web-components/base"
},
"tagName": "sp-field-group",
"customElement": true
}
],
"exports": [
{
"name": "vertical",
"type": "boolean",
"default": "false"
"kind": "js",
"name": "FieldGroup",
"declaration": {
"name": "FieldGroup",
"module": "src/FieldGroup.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/field-group.css.ts",
"declarations": [
{
"kind": "variable",
"name": "styles",
"default": "css`\n:host{--spectrum-fieldgroup-margin:var(--spectrum-global-dimension-size-200);display:flex;vertical-align:top;flex-wrap:wrap}:host([dir=ltr][horizontal]) .spectrum-FieldGroup-item:not(:last-child){margin-right:var(--spectrum-fieldgroup-margin)}:host([dir=rtl][horizontal]) .spectrum-FieldGroup-item:not(:last-child){margin-left:var(--spectrum-fieldgroup-margin)}:host([vertical]){display:inline-flex;flex-direction:column}:host([dir=rtl]:not([vertical])) ::slotted(:not(:last-child)),:host([horizontal][dir=rtl]) ::slotted(:not(:last-child)){margin:0 0 0 var(--spectrum-global-dimension-size-200)}:host([dir=ltr]:not([vertical])) ::slotted(:not(:last-child)),:host([horizontal][dir=ltr]) ::slotted(:not(:last-child)){margin:0 var(--spectrum-global-dimension-size-200) 0 0}\n`"
}
],
"properties": [
"exports": [
{
"name": "horizontal",
"attribute": "horizontal",
"type": "boolean",
"default": "false"
},
"kind": "js",
"name": "default",
"declaration": {
"name": "styles",
"module": "src/field-group.css.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/index.ts",
"declarations": [],
"exports": [
{
"name": "vertical",
"attribute": "vertical",
"type": "boolean",
"default": "false"
"kind": "js",
"name": "*",
"declaration": {
"name": "*",
"package": "./FieldGroup.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/spectrum-field-group.css.ts",
"declarations": [
{
"kind": "variable",
"name": "styles",
"default": "css`\n:host{--spectrum-fieldgroup-margin:var(--spectrum-global-dimension-size-200);display:flex;vertical-align:top;flex-wrap:wrap}:host([dir=ltr][horizontal]) .spectrum-FieldGroup-item:not(:last-child){margin-right:var(--spectrum-fieldgroup-margin)}:host([dir=rtl][horizontal]) .spectrum-FieldGroup-item:not(:last-child){margin-left:var(--spectrum-fieldgroup-margin)}:host([vertical]){display:inline-flex;flex-direction:column}\n`"
}
],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"name": "styles",
"module": "src/spectrum-field-group.css.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "test/field-group.test-vrt.ts",
"declarations": [],
"exports": []
}
]
}
}

8

package.json
{
"name": "@spectrum-web-components/field-group",
"version": "0.3.7-alpha.59+7b33b99a3",
"version": "0.3.7",
"publishConfig": {

@@ -47,3 +47,3 @@ "access": "public"

"dependencies": {
"@spectrum-web-components/base": "^0.4.5-alpha.59+7b33b99a3",
"@spectrum-web-components/base": "^0.4.5",
"tslib": "^2.0.0"

@@ -55,7 +55,7 @@ },

"types": "./src/index.d.ts",
"customElementsManifest": "custom-elements.json",
"customElements": "custom-elements.json",
"sideEffects": [
"./sp-*.js"
],
"gitHead": "7b33b99a3b1747fffb387f4e6696dcaa4a3618a4"
"gitHead": "fbd509e0f30f1da0dcb972fa9ac5492acc00d96e"
}

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

declare const styles: import("@spectrum-web-components/base").CSSResultGroup;
declare const styles: import("@spectrum-web-components/base").CSSResult;
export default styles;

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

declare const styles: import("@spectrum-web-components/base").CSSResultGroup;
declare const styles: import("@spectrum-web-components/base").CSSResult;
export default styles;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc