@cleen/ui 0.1.272 → 0.1.273

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.d.ts CHANGED
@@ -4516,10 +4516,14 @@ interface TabsStyles {
4516
4516
  type Direction = 'horizontal' | 'vertical';
4517
4517
  type Variant = 'underlined' | 'padded' | 'stretched';
4518
4518
 
4519
- type TabsProps = ComponentProps<'div'> & {
4519
+ type TabsProps = Omit<ComponentProps<'div'>, 'onChange'> & {
4520
4520
  tabs?: Tab[];
4521
4521
  currentTabIndex?: number;
4522
4522
  onTabChange?: (index: number, tab?: Tab) => void;
4523
+ multiple?: boolean;
4524
+ activeTabIds?: string[];
4525
+ defaultActiveTabIds?: string[];
4526
+ onChange?: (activeTabIds: string[]) => void;
4523
4527
  variant?: Variant;
4524
4528
  direction?: Direction;
4525
4529
  classNames?: TabsClassNames;
@@ -4528,6 +4532,7 @@ type TabsProps = ComponentProps<'div'> & {
4528
4532
  /**
4529
4533
  * The `Tabs` component displays a set of selectable tabs, allowing users to switch between different views or content sections within an application.
4530
4534
  * It supports controlled and uncontrolled modes, custom styling, and optional tab counts.
4535
+ * With `multiple` enabled, several tabs can be active at once and `onChange` receives the array of active tab IDs.
4531
4536
  */
4532
4537
  declare const Tabs: react.ForwardRefExoticComponent<Omit<TabsProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
4533
4538