@warp-ds/component-classes
Advanced tools
Comparing version 1.0.0-alpha.24 to 1.0.0-alpha.25
34
index.js
@@ -200,19 +200,2 @@ export const attention = { | ||
const prefixSuffixWrapperBase = | ||
'absolute top-0 bottom-0 hover:text-aqua-400 flex justify-center items-center focusable '; | ||
export const suffix = { | ||
wrapper: prefixSuffixWrapperBase + 'right-0', | ||
wrapperWithLabel: 'w-max pr-12', | ||
wrapperWithIcon: 'w-40', | ||
label: 'field-label pb-0 text-12', | ||
}; | ||
export const prefix = { | ||
wrapper: prefixSuffixWrapperBase + 'left-0', | ||
wrapperWithLabel: 'w-max pl-12', | ||
wrapperWithIcon: 'w-40', | ||
label: 'field-label pb-0 text-secondary text-12', | ||
}; | ||
/* | ||
@@ -283,1 +266,18 @@ This is an attempt to rewrite f-button into a component-class structure. Comment after each line shows what classes they were tied to before. The button component itself shows which of these classes were combined to do all the states etc... | ||
} | ||
const prefixSuffixWrapperBase = | ||
'absolute top-0 bottom-0 hover:text-aqua-400 flex justify-center items-center focusable '; | ||
export const suffix = { | ||
wrapper: prefixSuffixWrapperBase + 'right-0', | ||
wrapperWithLabel: 'w-max pr-12', | ||
wrapperWithIcon: 'w-40', | ||
label: `${input.label} pb-0 text-12`, | ||
}; | ||
export const prefix = { | ||
wrapper: prefixSuffixWrapperBase + 'left-0', | ||
wrapperWithLabel: 'w-max pl-12', | ||
wrapperWithIcon: 'w-40', | ||
label: `${input.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.24", | ||
"version": "1.0.0-alpha.25", | ||
"description": "WARP component classes", | ||
@@ -6,0 +6,0 @@ "type": "module", |
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
44822