karsten-design-system 1.1.65 → 1.1.66
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4467,7 +4467,7 @@ function Tabs({ tabs, activeIndex = 0, onTabChange, className, }) {
|
|
|
4467
4467
|
return (jsx("button", { onClick: () => setIndex(index), disabled: tab.disabled, className: clsx('px-4 py-2 -mb-[1px] border-b-2 text-md transition-all duration-200 hover:bg-stoneBackground cursor-pointer text-base text-primary', tab.disabled ? 'disabled:text-stoneDark' : '', isActive
|
|
4468
4468
|
? 'border-primary font-semibold'
|
|
4469
4469
|
: 'border-transparent hover:text-primary hover:border-grayDark font-normal', !isActive && !tab.disabled && 'hover:font-semibold'), children: tab.label }, index));
|
|
4470
|
-
}) }), jsx("div", { className: "py-
|
|
4470
|
+
}) }), jsx("div", { className: "py-1 px-3", children: tabs.map((tab, index) => (jsx("div", { className: clsx(index !== currentIndex && 'hidden'), children: tab.content }, index))) })] }));
|
|
4471
4471
|
}
|
|
4472
4472
|
|
|
4473
4473
|
const colorMap = {
|