@versaur/react 1.0.14 → 1.0.16

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/blocks.d.ts CHANGED
@@ -960,6 +960,35 @@ declare interface OverlayTitleProps extends HTMLAttributes<HTMLHeadingElement> {
960
960
  as?: ElementType;
961
961
  }
962
962
 
963
+ export declare const PageHeader: PageHeaderComponent;
964
+
965
+ export declare interface PageHeaderComponent extends ForwardRefExoticComponent<PageHeaderRootProps & RefAttributes<HTMLElement>> {
966
+ Title: ForwardRefExoticComponent<PageHeaderTitleProps & RefAttributes<HTMLDivElement>>;
967
+ Subtitle: ForwardRefExoticComponent<PageHeaderSubtitleProps & RefAttributes<HTMLElement>>;
968
+ }
969
+
970
+ export declare interface PageHeaderRootProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
971
+ title?: ReactNode;
972
+ subtitle?: ReactNode;
973
+ supplementary?: ReactNode;
974
+ }
975
+
976
+ /** Alias for Text — all TextProps forwarded to the internal <Text> */
977
+ export declare interface PageHeaderSubtitleProps extends HTMLAttributes<HTMLParagraphElement> {
978
+ /** Content rendered to the right of the subtitle text */
979
+ additionalInfo?: ReactNode;
980
+ children?: ReactNode;
981
+ }
982
+
983
+ /** Exposes Heading visual props — all forwarded to the internal <Heading> */
984
+ export declare interface PageHeaderTitleProps extends Pick<HTMLAttributes<HTMLDivElement>, "className" | "style"> {
985
+ /** Icon/button rendered to the right of the heading text. Activates sub-grid layout. */
986
+ action?: ReactNode;
987
+ /** Content rendered below the heading row (badges, status chips, etc.) */
988
+ additionalInfo?: ReactNode;
989
+ children?: ReactNode;
990
+ }
991
+
963
992
  /**
964
993
  * Compound Sidebar component with sub-components
965
994
  */
@@ -1295,6 +1324,14 @@ export declare interface TabsItemProps extends Omit<React.HTMLAttributes<HTMLDiv
1295
1324
  * Whether the item is disabled
1296
1325
  */
1297
1326
  disabled?: boolean;
1327
+ /**
1328
+ * Icon element to display on the left side
1329
+ */
1330
+ leftIcon?: ReactNode;
1331
+ /**
1332
+ * Icon element to display on the right side
1333
+ */
1334
+ rightIcon?: ReactNode;
1298
1335
  /**
1299
1336
  * The content of the item
1300
1337
  */