opus-toolkit-components 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3809,7 +3809,7 @@ function Button(_ref) {
|
|
|
3809
3809
|
const iconClassNames = "inline-block \n transition-transform \n ease-in-out \n duration-200\n h-5 w-5\n ".concat(iconPosition === 'right' ? 'ml-2' : 'mr-2', "\n ").concat(isIconAnimated && !isSaving ? 'group-hover:translate-x-1' : '', "\n ").concat(isSaving ? 'animate-spin' : '', " // Add spinning animation\n ");
|
|
3810
3810
|
|
|
3811
3811
|
// Main button class names
|
|
3812
|
-
const classNames = " \n ".concat(state === 'disabled' || isSaving ? disabledStyles : rankStyles[rank] || rankStyles.primary, "\n group \n transition \n ease-in-out \n duration-700 \n rounded-
|
|
3812
|
+
const classNames = " \n ".concat(state === 'disabled' || isSaving ? disabledStyles : rankStyles[rank] || rankStyles.primary, "\n group \n transition \n ease-in-out \n duration-700 \n rounded-md\n hover:shadow-lg\n px-5 \n py-1.5 \n text-").concat(size, " \n flex \n items-center \n justify-center \n whitespace-nowrap // Prevents text wrapping\n ").concat(isFullWidth ? 'w-full' : '', "\n ").concat(className, "\n ");
|
|
3813
3813
|
return /*#__PURE__*/external_react_default().createElement("button", {
|
|
3814
3814
|
type: type,
|
|
3815
3815
|
title: title,
|
|
@@ -13152,7 +13152,7 @@ const CookieBanner = _ref => {
|
|
|
13152
13152
|
isVisible = true,
|
|
13153
13153
|
onAccept = () => {},
|
|
13154
13154
|
onLearnMore = () => {},
|
|
13155
|
-
intent = 'brandSecondary'
|
|
13155
|
+
intent = 'brandSecondary'
|
|
13156
13156
|
} = _ref;
|
|
13157
13157
|
const [show, setShow] = (0,external_react_.useState)(false);
|
|
13158
13158
|
const [render, setRender] = (0,external_react_.useState)(isVisible);
|
|
@@ -13177,7 +13177,7 @@ const CookieBanner = _ref => {
|
|
|
13177
13177
|
if (!render) return null;
|
|
13178
13178
|
return /*#__PURE__*/external_react_default().createElement(Card, {
|
|
13179
13179
|
intent: intent,
|
|
13180
|
-
className: "md:flex items-center justify-between p-4 space-x-4 transition-all duration-300 ease-in-out ".concat(show ? 'opacity-100 translate-y-0' : 'opacity-0 translate-y-3')
|
|
13180
|
+
className: "\n md:flex \n items-center \n justify-between \n p-4 space-x-4 \n transition-all duration-300 ease-in-out \n ".concat(show ? 'opacity-100 translate-y-0' : 'opacity-0 translate-y-3', "\n ")
|
|
13181
13181
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
13182
13182
|
className: "md:flex items-center"
|
|
13183
13183
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|