@selfdecode/sd-component-library 4.0.7 → 4.0.8

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.
@@ -56,4 +56,9 @@ export interface TabBarProps<T> extends Pick<TabProps<T>, "labelSx" | "secondary
56
56
  */
57
57
  scrollable?: boolean;
58
58
  containerSx?: SxProps["sx"];
59
+ tabSx?: SxProps["sx"];
60
+ /**
61
+ * Whether to disable automatic translation of tab bar content.
62
+ */
63
+ dontTranslate?: boolean;
59
64
  }
@@ -75,4 +75,5 @@ export interface TabProps<T> {
75
75
  * Tab container max width.
76
76
  */
77
77
  maxWidth?: string | string[];
78
+ containerSx?: SxProps["sx"];
78
79
  }
@@ -5,4 +5,4 @@ export declare const Ribbon: ({ active, activeColor, color, }: {
5
5
  activeColor?: string | undefined;
6
6
  color?: string | undefined;
7
7
  }) => JSX.Element;
8
- export declare function Tab<T>({ width, height, label, secondaryText, icon, id, onClick, selected, activeColor, color, tabPadding, bg, activeBg, activeRibbonColor, borderRadius, tabHeaderComponent, elementId, maxWidth, labelSx, secondaryTextSx, }: TabProps<T>): JSX.Element;
8
+ export declare function Tab<T>({ width, height, label, secondaryText, icon, id, onClick, selected, activeColor, color, tabPadding, bg, activeBg, activeRibbonColor, borderRadius, tabHeaderComponent, elementId, maxWidth, labelSx, secondaryTextSx, containerSx, }: TabProps<T>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { TabBarProps } from "./interfaces";
3
- export declare function TabBar<T>({ tabs, selectedTabId, onTabSelect, activeColor, color, displayBorder, tabPadding, tabWidth, tabHeight, tabMaxWidth, labelSx, secondaryTextSx, scrollable, containerSx, }: TabBarProps<T>): JSX.Element;
3
+ export declare function TabBar<T>({ tabs, selectedTabId, onTabSelect, activeColor, color, displayBorder, tabPadding, tabWidth, tabHeight, tabMaxWidth, labelSx, secondaryTextSx, scrollable, containerSx, dontTranslate, tabSx, }: TabBarProps<T>): JSX.Element;