@julseb-lib/react 1.1.28 → 1.1.30

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.
@@ -1446,7 +1446,7 @@ interface FooterVerticalWithChildren extends ILibFooterBase {
1446
1446
  type ILibFooterVertical = RequireAtLeastOne<FooterVerticalWithItems | FooterVerticalWithChildren, "items" | "children" | "logo">;
1447
1447
  type ILibFooter = ILibFooterHorizontal | ILibFooterVertical;
1448
1448
 
1449
- interface ILibMeta {
1449
+ interface ILibMetaBase {
1450
1450
  title: string;
1451
1451
  favicon?: string;
1452
1452
  description?: string;
@@ -1467,9 +1467,19 @@ interface ILibMeta {
1467
1467
  category?: string;
1468
1468
  twitterCard?: "app" | "player" | "summary" | "summary_large_image";
1469
1469
  appleTouchIcon?: string;
1470
- themeColor?: string;
1471
1470
  children?: ReactChildren;
1472
1471
  }
1472
+ interface MetaWithMultiThemeColor extends ILibMetaBase {
1473
+ themeColorLight?: string;
1474
+ themeColorDark?: string;
1475
+ themeColor?: never;
1476
+ }
1477
+ interface MetaWithSingleThemeColor extends ILibMetaBase {
1478
+ themeColorLight?: never;
1479
+ themeColorDark?: never;
1480
+ themeColor?: string;
1481
+ }
1482
+ type ILibMeta = MetaWithMultiThemeColor | MetaWithSingleThemeColor;
1473
1483
 
1474
1484
  interface ILibPageLayoutBase {
1475
1485
  children?: ReactChildren;
@@ -1446,7 +1446,7 @@ interface FooterVerticalWithChildren extends ILibFooterBase {
1446
1446
  type ILibFooterVertical = RequireAtLeastOne<FooterVerticalWithItems | FooterVerticalWithChildren, "items" | "children" | "logo">;
1447
1447
  type ILibFooter = ILibFooterHorizontal | ILibFooterVertical;
1448
1448
 
1449
- interface ILibMeta {
1449
+ interface ILibMetaBase {
1450
1450
  title: string;
1451
1451
  favicon?: string;
1452
1452
  description?: string;
@@ -1467,9 +1467,19 @@ interface ILibMeta {
1467
1467
  category?: string;
1468
1468
  twitterCard?: "app" | "player" | "summary" | "summary_large_image";
1469
1469
  appleTouchIcon?: string;
1470
- themeColor?: string;
1471
1470
  children?: ReactChildren;
1472
1471
  }
1472
+ interface MetaWithMultiThemeColor extends ILibMetaBase {
1473
+ themeColorLight?: string;
1474
+ themeColorDark?: string;
1475
+ themeColor?: never;
1476
+ }
1477
+ interface MetaWithSingleThemeColor extends ILibMetaBase {
1478
+ themeColorLight?: never;
1479
+ themeColorDark?: never;
1480
+ themeColor?: string;
1481
+ }
1482
+ type ILibMeta = MetaWithMultiThemeColor | MetaWithSingleThemeColor;
1473
1483
 
1474
1484
  interface ILibPageLayoutBase {
1475
1485
  children?: ReactChildren;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@julseb-lib/react",
3
- "version": "1.1.28",
3
+ "version": "1.1.30",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "files": [