@spectrum-web-components/base
Advanced tools
Comparing version 0.5.1 to 0.5.2-express.41
{ | ||
"name": "@spectrum-web-components/base", | ||
"version": "0.5.1", | ||
"version": "0.5.2-express.41+5d9e2a2ca", | ||
"publishConfig": { | ||
@@ -59,3 +59,3 @@ "access": "public" | ||
"sideEffects": false, | ||
"gitHead": "df3f333ee26a45f9fc247716b6e8ef051dca630b" | ||
"gitHead": "5d9e2a2ca93deff51e4b2c7b8354f1127009a4e3" | ||
} |
@@ -7,2 +7,3 @@ import { ReactiveElement } from 'lit'; | ||
export declare type ElementSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'; | ||
export declare const ElementSizes: Record<string, ElementSize>; | ||
export declare type DefaultElementSize = Exclude<ElementSize, 'xxs' | 'xs' | 'xxl'>; | ||
@@ -9,0 +10,0 @@ export interface SizedElementInterface { |
import { __decorate } from "tslib"; | ||
import { property } from 'lit/decorators.js'; | ||
export const ElementSizes = { | ||
xxs: 'xxs', | ||
xs: 'xs', | ||
s: 's', | ||
m: 'm', | ||
l: 'l', | ||
xl: 'xl', | ||
xxl: 'xxl', | ||
}; | ||
export function SizedMixin(constructor, { validSizes = ['s', 'm', 'l', 'xl'], noDefaultSize, defaultSize = 'm', } = {}) { | ||
@@ -4,0 +13,0 @@ class SizedElement extends constructor { |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
60600
428
1