@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.
package/dist/index.js CHANGED
@@ -67978,6 +67978,8 @@ var Meta = ({
67978
67978
  twitterCard = "summary",
67979
67979
  appleTouchIcon,
67980
67980
  themeColor,
67981
+ themeColorLight = themeColor,
67982
+ themeColorDark = themeColor,
67981
67983
  appName
67982
67984
  }) => {
67983
67985
  return /* @__PURE__ */ jsxs293(Fragment14, { children: [
@@ -68005,7 +68007,8 @@ var Meta = ({
68005
68007
  ] }),
68006
68008
  author && /* @__PURE__ */ jsxs293(Fragment14, { children: [
68007
68009
  /* @__PURE__ */ jsx353("meta", { name: "author", content: author }),
68008
- /* @__PURE__ */ jsx353("meta", { name: "twitter:creator", content: author })
68010
+ /* @__PURE__ */ jsx353("meta", { name: "twitter:creator", content: author }),
68011
+ /* @__PURE__ */ jsx353("meta", { name: "publisher", content: author })
68009
68012
  ] }),
68010
68013
  url && /* @__PURE__ */ jsxs293(Fragment14, { children: [
68011
68014
  /* @__PURE__ */ jsx353("meta", { property: "og:url", content: url }),
@@ -68030,6 +68033,22 @@ var Meta = ({
68030
68033
  favicon && /* @__PURE__ */ jsx353("link", { rel: "icon", href: favicon }),
68031
68034
  appleTouchIcon && /* @__PURE__ */ jsx353("link", { rel: "apple-touch-icon", href: appleTouchIcon }),
68032
68035
  themeColor && /* @__PURE__ */ jsx353("meta", { name: "theme-color", content: themeColor }),
68036
+ themeColorLight && /* @__PURE__ */ jsx353(
68037
+ "meta",
68038
+ {
68039
+ name: "theme-color",
68040
+ media: "(prefers-color-scheme: light)",
68041
+ content: themeColorLight
68042
+ }
68043
+ ),
68044
+ themeColorDark && /* @__PURE__ */ jsx353(
68045
+ "meta",
68046
+ {
68047
+ name: "theme-color",
68048
+ media: "(prefers-color-scheme: dark)",
68049
+ content: themeColorDark
68050
+ }
68051
+ ),
68033
68052
  children
68034
68053
  ] });
68035
68054
  };