infinity-ui-elements 1.6.9 → 1.6.11

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 CHANGED
@@ -3033,7 +3033,7 @@ const Tabs = React__namespace.forwardRef(({ tabs, selectedTabId, defaultSelected
3033
3033
  "w-full": isFullWidth,
3034
3034
  "border-b border-b-[1.5px] border-surface-outline-neutral-muted": variant === "bordered",
3035
3035
  "bg-surface-layer-2 rounded-medium p-1 gap-1": variant === "filled",
3036
- }, tabListClassName), children: tabs.map((tab) => (jsxRuntime.jsx(TabItem, { leadingComponent: tab.leadingComponent, title: tab.title, trailingComponent: tab.trailingComponent, isSelected: tab.id === activeTabId, isDisabled: tab.isDisabled, variant: variant, size: size, isFullWidth: isFullWidth, onClick: () => !tab.isDisabled && handleTabClick(tab.id) }, tab.id))) }), renderContent && activeTab?.content && (jsxRuntime.jsx("div", { role: "tabpanel", className: cn("mt-4", contentClassName), "aria-labelledby": activeTabId, children: activeTab.content }))] }));
3036
+ }, tabListClassName), children: tabs.map((tab) => (jsxRuntime.jsx(TabItem, { id: String(tab.id), leadingComponent: tab.leadingComponent, title: tab.title, trailingComponent: tab.trailingComponent, isSelected: tab.id === activeTabId, isDisabled: tab.isDisabled, variant: variant, size: size, isFullWidth: isFullWidth, onClick: () => !tab.isDisabled && handleTabClick(tab.id) }, tab.id))) }), renderContent && activeTab?.content && (jsxRuntime.jsx("div", { role: "tabpanel", className: cn("mt-4", contentClassName), "aria-labelledby": String(activeTabId), children: activeTab.content }))] }));
3037
3037
  });
3038
3038
  Tabs.displayName = "Tabs";
3039
3039