@aboutbits/react-ui
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -17,4 +17,4 @@ "use strict"; | ||
var action = ThemeContext_1.useTheme().action; | ||
return (jsx_runtime_1.jsx("div", tslib_1.__assign({ className: classnames_1.default(action.action.base, action.action.variant[variant], className) }, { children: children }), void 0)); | ||
return (jsx_runtime_1.jsx("div", tslib_1.__assign({ className: classnames_1.default(action.action.base, action.action.normal, action.action.variant[variant], className) }, { children: children }), void 0)); | ||
}; | ||
exports.Actions = Actions; |
@@ -124,2 +124,3 @@ export declare type Theme = typeof defaultTheme; | ||
base: string; | ||
normal: string; | ||
variant: { | ||
@@ -126,0 +127,0 @@ start: string; |
@@ -108,3 +108,4 @@ "use strict"; | ||
action: { | ||
base: 'flex flex-col lg:flex-row space-y-4 lg:space-y-0 lg:space-x-4 mx-0', | ||
base: 'flex flex-col lg:flex-row', | ||
normal: 'space-y-4 lg:space-y-0 lg:space-x-4 mx-4 lg:mx-0', | ||
variant: { | ||
@@ -223,3 +224,3 @@ start: 'lg:justify-start', | ||
normal: 'hover:text-gray-700 focus:text-gray-700', | ||
icon: { base: 'w-8 lg:w-10 h-8 lg:h-10 fill-current' }, | ||
icon: { base: 'w-7 lg:w-9 h-7 lg:h-9 fill-current' }, | ||
}, | ||
@@ -231,3 +232,3 @@ smallAction: { | ||
editAction: { | ||
base: 'w-6 lg:w-8 h-6 lg:h-8 fill-current', | ||
base: 'w-7 lg:w-9 h-7 lg:h-9 fill-current', | ||
normal: 'hover:text-gray-700 focus:text-gray-700', | ||
@@ -234,0 +235,0 @@ }, |
@@ -111,2 +111,3 @@ /// <reference types="react" /> | ||
base: string; | ||
normal: string; | ||
variant: { | ||
@@ -113,0 +114,0 @@ start: string; |
{ | ||
"name": "@aboutbits/react-ui", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
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
164456
3599