@warp-ds/component-classes
Advanced tools
Comparing version 1.0.0-alpha.25 to 1.0.0-alpha.26
24
index.js
@@ -255,13 +255,19 @@ export const attention = { | ||
optional: 'pl-8 font-normal text-14 i-text-$color-label-optional-text', | ||
disabled: 'i-bg-$color-input-background-disabled i-border-$color-input-border-disabled i-text-$color-input-text-disabled pointer-events-none', | ||
disabled: 'i-bg-$color-input-background-disabled i-border-$color-input-border-disabled hover:i-border-$color-input-border-disabled i-text-$color-input-text-disabled pointer-events-none', | ||
invalid: 'focusable i-border-$color-input-border-error i-text-$color-input-text-error!', | ||
readOnly: 'pl-0 bg-transparent border-0 pointer-events-none i-text-$color-input-text-read-only', | ||
label: 'antialiased block relative text-14 font-bold pb-4 cursor-pointer', | ||
labelValid: 'i-text-$color-label-text', | ||
labelInvalid: 'i-text-$color-label-text-negative', | ||
helpText: 'text-12 mt-4 block', | ||
helpTextValid: 'i-text-$color-helptext-text-positive', | ||
helpTextInvalid: 'i-text-$color-helptext-text-negative' | ||
} | ||
export const label = { | ||
label: 'antialiased block relative text-14 font-bold pb-4 cursor-pointer', | ||
labelValid: 'i-text-$color-label-text', | ||
labelInvalid: 'i-text-$color-label-text-negative', | ||
} | ||
export const helpText = { | ||
helpText: 'text-12 mt-4 block i-text-$color-helptext-text', | ||
helpTextValid: 'i-text-$color-helptext-text-positive', | ||
helpTextInvalid: 'i-text-$color-helptext-text-negative' | ||
} | ||
const prefixSuffixWrapperBase = | ||
@@ -274,3 +280,3 @@ 'absolute top-0 bottom-0 hover:text-aqua-400 flex justify-center items-center focusable '; | ||
wrapperWithIcon: 'w-40', | ||
label: `${input.label} pb-0 text-12`, | ||
label: `${label} pb-0 text-12`, | ||
}; | ||
@@ -282,3 +288,3 @@ | ||
wrapperWithIcon: 'w-40', | ||
label: `${input.label} pb-0 text-secondary text-12`, | ||
label: `${label} pb-0 text-secondary text-12`, | ||
}; |
{ | ||
"name": "@warp-ds/component-classes", | ||
"repository": "git@github.com:warp-ds/component-classes.git", | ||
"version": "1.0.0-alpha.25", | ||
"version": "1.0.0-alpha.26", | ||
"description": "WARP component classes", | ||
@@ -6,0 +6,0 @@ "type": "module", |
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
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
45069
337