@sequencing/design-system 1.0.60 → 1.0.61

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.
@@ -2,6 +2,8 @@ import React, { ReactNode } from "react";
2
2
  export interface TabProps {
3
3
  /** Custom css class to customize the stylings */
4
4
  customClass?: string;
5
+ /** Custom css class that is only applied to active Tab */
6
+ customActiveClass?: string;
5
7
  /** This prop determines tab's 'value' for purposes of switching tabs */
6
8
  tabId: number;
7
9
  /** Determines whether the tab is currently active or not */
@@ -18,5 +20,5 @@ export interface TabProps {
18
20
  * Every Tab should have a unique tabId.
19
21
  *
20
22
  */
21
- declare const Tab: ({ customClass, tabId, active, chip, children, onClick }: TabProps) => React.JSX.Element;
23
+ declare const Tab: ({ customClass, customActiveClass, tabId, active, chip, children, onClick }: TabProps) => React.JSX.Element;
22
24
  export default Tab;
@@ -14,6 +14,10 @@ export interface TabMenuProps {
14
14
  * property individually on the `tabs` array
15
15
  */
16
16
  tabCustomClass?: string;
17
+ /** Custom css class to apply to any active tab */
18
+ tabCustomActiveClass?: string;
19
+ /** Custom css class to apply to any active tab */
20
+ verticalOnDesktop?: boolean;
17
21
  /** This prop determines tab's 'value' for purposes of switching tabs */
18
22
  tabs: Tab[];
19
23
  /** Determines which tab is currently active */
@@ -25,5 +29,5 @@ export interface TabMenuProps {
25
29
  * The TabMenu component provides a panel with multiple Tabs to switch displayed content.
26
30
  *
27
31
  */
28
- declare const TabMenu: ({ customClass, tabCustomClass, tabs, activeTab, onClick }: TabMenuProps) => React.JSX.Element;
32
+ declare const TabMenu: ({ customClass, tabCustomClass, tabCustomActiveClass, verticalOnDesktop, tabs, activeTab, onClick }: TabMenuProps) => React.JSX.Element;
29
33
  export default TabMenu;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencing/design-system",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "Sequencing Design System",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\"",