next-helios-fe 1.9.13 → 1.9.14
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/package.json
CHANGED
@@ -62,10 +62,10 @@ export const Tab: TabComponent = ({
|
|
62
62
|
<div key={index} className="relative flex items-center">
|
63
63
|
<button
|
64
64
|
type="button"
|
65
|
-
className={`flex select-none items-center gap-2 whitespace-nowrap border-b-2 pb-1.5 pt-2 duration-300
|
65
|
+
className={`flex select-none items-center gap-2 whitespace-nowrap border-b-2 pb-1.5 pt-2 duration-300 ${
|
66
66
|
tempActiveTab === index
|
67
67
|
? "border-primary text-primary"
|
68
|
-
: "border-transparent hover:border-primary-transparent hover:text-primary"
|
68
|
+
: "border-transparent hover:border-primary-transparent hover:text-primary disabled:text-disabled"
|
69
69
|
} ${
|
70
70
|
onCloseTab && childrenList.length !== 1
|
71
71
|
? "pe-10 ps-6"
|
@@ -127,10 +127,10 @@ export const Tab: TabComponent = ({
|
|
127
127
|
<button
|
128
128
|
key={index}
|
129
129
|
type="button"
|
130
|
-
className={`flex select-none items-center gap-2 whitespace-nowrap border-b-2 border-r-0 px-6 pb-1.5 pt-2 text-left duration-300 lg:border-b-0 lg:border-r-2
|
130
|
+
className={`flex select-none items-center gap-2 whitespace-nowrap border-b-2 border-r-0 px-6 pb-1.5 pt-2 text-left duration-300 lg:border-b-0 lg:border-r-2 ${
|
131
131
|
tempActiveTab === index
|
132
132
|
? "border-primary text-primary"
|
133
|
-
: "border-transparent hover:border-primary-transparent hover:text-primary"
|
133
|
+
: "border-transparent hover:border-primary-transparent hover:text-primary disabled:text-disabled"
|
134
134
|
}`}
|
135
135
|
disabled={tab.disabled}
|
136
136
|
onClick={() => {
|