@neoptocom/neopto-ui 1.4.0 → 1.4.1

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.
package/dist/index.cjs CHANGED
@@ -1300,7 +1300,8 @@ var AgentButton = ({
1300
1300
  className: `flex justify-end items-center fixed bottom-3 right-8 z-40 h-24 transition-all duration-1000 ease-in-out ${delayedHasNotification ? "w-[432px]" : "w-24"} ${isMounted ? "opacity-100" : "opacity-0"}`,
1301
1301
  style: {
1302
1302
  filter: disabled ? "grayscale(100%)" : "grayscale(0%)",
1303
- transition: "filter 1s ease-in-out"
1303
+ opacity: disabled ? 0.3 : 1,
1304
+ transition: "filter 1s ease-in-out, opacity 1s ease-in-out"
1304
1305
  },
1305
1306
  children: [
1306
1307
  circleAnimations.map((circle, index) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -1336,7 +1337,7 @@ var AgentButton = ({
1336
1337
  {
1337
1338
  onClick: onOpenChat,
1338
1339
  disabled,
1339
- className: `flex flex-row-reverse items-center gap-1.5 fixed p-3 rounded-full shadow-md h-16 mr-4 transition-all duration-600 ease-in-out border-2 border-[var(--border)] ${delayedHasNotification ? "w-[400px]" : "w-16"} ${disabled ? "cursor-not-allowed" : "cursor-pointer"}`,
1340
+ className: `flex flex-row-reverse items-center gap-1.5 fixed p-3 rounded-full shadow-md h-16 mr-4 transition-all duration-600 ease-in-out border-2 border-[var(--border)] ${delayedHasNotification ? "w-[400px]" : "w-16"} ${disabled ? "cursor-default" : "cursor-pointer"}`,
1340
1341
  style: {
1341
1342
  background: "var(--chat-button-gradient)"
1342
1343
  },
package/dist/index.js CHANGED
@@ -1279,7 +1279,8 @@ var AgentButton = ({
1279
1279
  className: `flex justify-end items-center fixed bottom-3 right-8 z-40 h-24 transition-all duration-1000 ease-in-out ${delayedHasNotification ? "w-[432px]" : "w-24"} ${isMounted ? "opacity-100" : "opacity-0"}`,
1280
1280
  style: {
1281
1281
  filter: disabled ? "grayscale(100%)" : "grayscale(0%)",
1282
- transition: "filter 1s ease-in-out"
1282
+ opacity: disabled ? 0.3 : 1,
1283
+ transition: "filter 1s ease-in-out, opacity 1s ease-in-out"
1283
1284
  },
1284
1285
  children: [
1285
1286
  circleAnimations.map((circle, index) => /* @__PURE__ */ jsx(
@@ -1315,7 +1316,7 @@ var AgentButton = ({
1315
1316
  {
1316
1317
  onClick: onOpenChat,
1317
1318
  disabled,
1318
- className: `flex flex-row-reverse items-center gap-1.5 fixed p-3 rounded-full shadow-md h-16 mr-4 transition-all duration-600 ease-in-out border-2 border-[var(--border)] ${delayedHasNotification ? "w-[400px]" : "w-16"} ${disabled ? "cursor-not-allowed" : "cursor-pointer"}`,
1319
+ className: `flex flex-row-reverse items-center gap-1.5 fixed p-3 rounded-full shadow-md h-16 mr-4 transition-all duration-600 ease-in-out border-2 border-[var(--border)] ${delayedHasNotification ? "w-[400px]" : "w-16"} ${disabled ? "cursor-default" : "cursor-pointer"}`,
1319
1320
  style: {
1320
1321
  background: "var(--chat-button-gradient)"
1321
1322
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neoptocom/neopto-ui",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "private": false,
5
5
  "description": "A modern React component library built with Tailwind CSS v4 and TypeScript. Features dark mode, design tokens, and comprehensive Storybook documentation. Requires Tailwind v4+.",
6
6
  "keywords": [
@@ -76,7 +76,8 @@ const AgentButton = ({
76
76
  } ${isMounted ? "opacity-100" : "opacity-0"}`}
77
77
  style={{
78
78
  filter: disabled ? "grayscale(100%)" : "grayscale(0%)",
79
- transition: "filter 1s ease-in-out",
79
+ opacity: disabled ? 0.3 : 1,
80
+ transition: "filter 1s ease-in-out, opacity 1s ease-in-out",
80
81
  }}
81
82
  >
82
83
  {circleAnimations.map((circle, index) => (
@@ -114,7 +115,7 @@ const AgentButton = ({
114
115
  disabled={disabled}
115
116
  className={`flex flex-row-reverse items-center gap-1.5 fixed p-3 rounded-full shadow-md h-16 mr-4 transition-all duration-600 ease-in-out border-2 border-[var(--border)] ${
116
117
  delayedHasNotification ? "w-[400px]" : "w-16"
117
- } ${disabled ? "cursor-not-allowed" : "cursor-pointer"}`}
118
+ } ${disabled ? "cursor-default" : "cursor-pointer"}`}
118
119
  style={{
119
120
  background: "var(--chat-button-gradient)",
120
121
  }}