@net-advantage/nabs-ui-tab 0.35.0 → 0.36.0

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/Tab.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { TabProps } from './Tab.types';
2
+ export declare const Tab: import('react').ForwardRefExoticComponent<TabProps & import('react').RefAttributes<HTMLElement>>;
3
+ export default Tab;
@@ -0,0 +1,8 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ export interface TabProps extends ComponentPropsWithoutRef<"section"> {
3
+ label?: string;
4
+ showHeader?: boolean;
5
+ headerClassName?: string;
6
+ contentClassName?: string;
7
+ labelClassName?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { Tab } from './Tab';
2
+ export type { TabProps } from './Tab.types';
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@net-advantage/nabs-ui-tab",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "description": "Reusable tab container control for the Nabs UI library.",
5
5
  "type": "module",
6
6
  "main": "./dist/nabs-ui-tab.cjs",
7
7
  "module": "./dist/nabs-ui-tab.js",
8
+ "types": "./dist/index.d.ts",
8
9
  "exports": {
9
10
  ".": {
10
11
  "import": "./dist/nabs-ui-tab.js",