@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.cjs CHANGED
@@ -70987,6 +70987,8 @@ var Meta = ({
70987
70987
  twitterCard = "summary",
70988
70988
  appleTouchIcon,
70989
70989
  themeColor,
70990
+ themeColorLight = themeColor,
70991
+ themeColorDark = themeColor,
70990
70992
  appName
70991
70993
  }) => {
70992
70994
  return /* @__PURE__ */ (0, import_jsx_runtime375.jsxs)(import_jsx_runtime375.Fragment, { children: [
@@ -71014,7 +71016,8 @@ var Meta = ({
71014
71016
  ] }),
71015
71017
  author && /* @__PURE__ */ (0, import_jsx_runtime375.jsxs)(import_jsx_runtime375.Fragment, { children: [
71016
71018
  /* @__PURE__ */ (0, import_jsx_runtime375.jsx)("meta", { name: "author", content: author }),
71017
- /* @__PURE__ */ (0, import_jsx_runtime375.jsx)("meta", { name: "twitter:creator", content: author })
71019
+ /* @__PURE__ */ (0, import_jsx_runtime375.jsx)("meta", { name: "twitter:creator", content: author }),
71020
+ /* @__PURE__ */ (0, import_jsx_runtime375.jsx)("meta", { name: "publisher", content: author })
71018
71021
  ] }),
71019
71022
  url && /* @__PURE__ */ (0, import_jsx_runtime375.jsxs)(import_jsx_runtime375.Fragment, { children: [
71020
71023
  /* @__PURE__ */ (0, import_jsx_runtime375.jsx)("meta", { property: "og:url", content: url }),
@@ -71039,6 +71042,22 @@ var Meta = ({
71039
71042
  favicon && /* @__PURE__ */ (0, import_jsx_runtime375.jsx)("link", { rel: "icon", href: favicon }),
71040
71043
  appleTouchIcon && /* @__PURE__ */ (0, import_jsx_runtime375.jsx)("link", { rel: "apple-touch-icon", href: appleTouchIcon }),
71041
71044
  themeColor && /* @__PURE__ */ (0, import_jsx_runtime375.jsx)("meta", { name: "theme-color", content: themeColor }),
71045
+ themeColorLight && /* @__PURE__ */ (0, import_jsx_runtime375.jsx)(
71046
+ "meta",
71047
+ {
71048
+ name: "theme-color",
71049
+ media: "(prefers-color-scheme: light)",
71050
+ content: themeColorLight
71051
+ }
71052
+ ),
71053
+ themeColorDark && /* @__PURE__ */ (0, import_jsx_runtime375.jsx)(
71054
+ "meta",
71055
+ {
71056
+ name: "theme-color",
71057
+ media: "(prefers-color-scheme: dark)",
71058
+ content: themeColorDark
71059
+ }
71060
+ ),
71042
71061
  children
71043
71062
  ] });
71044
71063
  };