@purple/phoenix-components 4.33.0 → 4.34.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/index.d.ts CHANGED
@@ -657,10 +657,16 @@ interface SpinnerProps extends MarginProps, GenericComponentProps {
657
657
  }
658
658
  declare const Spinner: React__default.FC<SpinnerProps>;
659
659
 
660
- interface TabProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'tabIndex'>, GenericComponentProps {
660
+ interface TabListCommonProps {
661
661
  animate?: boolean;
662
+ size?: ComponentSizeSmallMediumLarge;
663
+ }
664
+ interface TabCommonProps extends TabListCommonProps {
662
665
  selected?: boolean;
663
666
  disabled?: boolean;
667
+ }
668
+
669
+ interface TabProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'tabIndex'>, GenericComponentProps, TabCommonProps {
664
670
  disabledClassName?: string;
665
671
  selectedClassName?: string;
666
672
  tabIndex?: string;
@@ -671,9 +677,7 @@ declare type TabFunctionProps = React__default.ForwardRefExoticComponent<TabProp
671
677
  } & React__default.RefAttributes<HTMLAnchorElement>;
672
678
  declare const Tab: TabFunctionProps;
673
679
 
674
- interface TabListProps extends GenericComponentProps {
675
- animate?: boolean;
676
- }
680
+ declare type TabListProps = GenericComponentProps & TabListCommonProps;
677
681
  declare const TabList: React__default.FC<TabListProps> & {
678
682
  tabsRole: 'TabList';
679
683
  };
@@ -945,6 +949,13 @@ declare const prefixedTheme: {
945
949
  large: number;
946
950
  };
947
951
  };
952
+ tabs: {
953
+ size: {
954
+ small: number;
955
+ medium: number;
956
+ large: number;
957
+ };
958
+ };
948
959
  tag: {
949
960
  padding: {
950
961
  small: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purple/phoenix-components",
3
- "version": "4.33.0",
3
+ "version": "4.34.0",
4
4
  "description": "",
5
5
  "main": "dist/bundle.umd.js",
6
6
  "module": "dist/bundle.esm.js",