@lax-wp/design-system 0.8.2 → 0.8.4

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.
@@ -1,2 +1,2 @@
1
1
  import type { TabsProps } from './types';
2
- export declare const Tabs: <T extends string>({ variant, tabs, activeTab, onTabClick, suffixRecord, isLoading, size, className, draggable, showAllItems, copyLink, isDisabled, color, iconsOnly, tabIcons, height, fullWidth, fitContentWidth, disableAnimation, onEdit, onDelete, onCopyLink, allowPin, isFullWidth, rightSection, initialTabs: initialTabsProp, tabConfig: tabConfigProp, onTabConfigChange, onTabsChange, parentContainer, tabKey, linkConfig, }: TabsProps<T>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Tabs: <T extends string>({ variant, tabs, activeTab, onTabClick, suffixRecord, isLoading, size, className, draggable, showAllItems, copyLink, isDisabled, color, iconsOnly, tabIcons, height, fullWidth, fitContentWidth, disableAnimation, onEdit, onDelete, onCopyLink, allowPin, isFullWidth, rightSection, initialTabs: initialTabsProp, tabConfig: tabConfigProp, onTabConfigChange, onTabsChange, parentContainer, tabKey, linkConfig, showTabOptions, }: TabsProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -46,6 +46,8 @@ export type TabsProps<T extends string> = {
46
46
  isLoading?: boolean;
47
47
  /** Disable all tab clicks */
48
48
  isDisabled?: boolean;
49
+ /** Show tab options */
50
+ showTabOptions?: boolean;
49
51
  /** Icons to display inside tabs, keyed by tab name */
50
52
  tabIcons?: Record<string, ReactNode>;
51
53
  /** Suffix values (counts/badges) displayed next to tab names */