@julseb-lib/react 1.1.27 → 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.
- package/dist/index.cjs +22 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +22 -4
- package/dist/index.js.map +1 -1
- package/dist/types/components-props.d.cts +12 -2
- package/dist/types/components-props.d.ts +12 -2
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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;
|