@iqworksai/consentiq-react 0.1.0 → 0.1.2

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
@@ -490,6 +490,8 @@ function CookieBanner({ className, position, theme, style }) {
490
490
  const themeStyles = {
491
491
  backgroundColor: effectiveTheme === "dark" ? "#1e293b" : "#ffffff",
492
492
  color: effectiveTheme === "dark" ? "#f1f5f9" : "#1e293b",
493
+ borderWidth: "1px",
494
+ borderStyle: "solid",
493
495
  borderColor: effectiveTheme === "dark" ? "#334155" : "#e2e8f0"
494
496
  };
495
497
  const buttonPrimaryStyle = {
@@ -541,7 +543,6 @@ function CookieBanner({ className, position, theme, style }) {
541
543
  ...themeStyles,
542
544
  padding: "1rem",
543
545
  borderRadius: resolvedPosition === "bottom" || resolvedPosition === "top" ? 0 : "0.75rem",
544
- border: "1px solid",
545
546
  boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
546
547
  fontFamily: "system-ui, -apple-system, sans-serif",
547
548
  ...style
@@ -863,7 +864,30 @@ function PreferenceCenter({ className, theme, style }) {
863
864
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: footerStyle, children: [
864
865
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("button", { onClick: hidePreferenceCenter, style: buttonSecondaryStyle, type: "button", children: "Cancel" }),
865
866
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("button", { onClick: handleSave, style: buttonPrimaryStyle, type: "button", children: translations.savePreferencesText || "Save Preferences" })
866
- ] })
867
+ ] }),
868
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { style: {
869
+ padding: "0.5rem 1.5rem 0.75rem",
870
+ textAlign: "center"
871
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
872
+ "a",
873
+ {
874
+ href: "https://consent.iqworks.ai",
875
+ target: "_blank",
876
+ rel: "noopener noreferrer",
877
+ style: {
878
+ display: "inline-flex",
879
+ alignItems: "center",
880
+ gap: "0.35rem",
881
+ fontSize: "0.7rem",
882
+ color: isDark ? "#64748b" : "#94a3b8",
883
+ textDecoration: "none"
884
+ },
885
+ children: [
886
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }) }),
887
+ "Powered by ConsentIQ"
888
+ ]
889
+ }
890
+ ) })
867
891
  ] })
868
892
  ] });
869
893
  }
package/dist/index.mjs CHANGED
@@ -452,6 +452,8 @@ function CookieBanner({ className, position, theme, style }) {
452
452
  const themeStyles = {
453
453
  backgroundColor: effectiveTheme === "dark" ? "#1e293b" : "#ffffff",
454
454
  color: effectiveTheme === "dark" ? "#f1f5f9" : "#1e293b",
455
+ borderWidth: "1px",
456
+ borderStyle: "solid",
455
457
  borderColor: effectiveTheme === "dark" ? "#334155" : "#e2e8f0"
456
458
  };
457
459
  const buttonPrimaryStyle = {
@@ -503,7 +505,6 @@ function CookieBanner({ className, position, theme, style }) {
503
505
  ...themeStyles,
504
506
  padding: "1rem",
505
507
  borderRadius: resolvedPosition === "bottom" || resolvedPosition === "top" ? 0 : "0.75rem",
506
- border: "1px solid",
507
508
  boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
508
509
  fontFamily: "system-ui, -apple-system, sans-serif",
509
510
  ...style
@@ -825,7 +826,30 @@ function PreferenceCenter({ className, theme, style }) {
825
826
  /* @__PURE__ */ jsxs2("div", { style: footerStyle, children: [
826
827
  /* @__PURE__ */ jsx3("button", { onClick: hidePreferenceCenter, style: buttonSecondaryStyle, type: "button", children: "Cancel" }),
827
828
  /* @__PURE__ */ jsx3("button", { onClick: handleSave, style: buttonPrimaryStyle, type: "button", children: translations.savePreferencesText || "Save Preferences" })
828
- ] })
829
+ ] }),
830
+ /* @__PURE__ */ jsx3("div", { style: {
831
+ padding: "0.5rem 1.5rem 0.75rem",
832
+ textAlign: "center"
833
+ }, children: /* @__PURE__ */ jsxs2(
834
+ "a",
835
+ {
836
+ href: "https://consent.iqworks.ai",
837
+ target: "_blank",
838
+ rel: "noopener noreferrer",
839
+ style: {
840
+ display: "inline-flex",
841
+ alignItems: "center",
842
+ gap: "0.35rem",
843
+ fontSize: "0.7rem",
844
+ color: isDark ? "#64748b" : "#94a3b8",
845
+ textDecoration: "none"
846
+ },
847
+ children: [
848
+ /* @__PURE__ */ jsx3("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx3("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }) }),
849
+ "Powered by ConsentIQ"
850
+ ]
851
+ }
852
+ ) })
829
853
  ] })
830
854
  ] });
831
855
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iqworksai/consentiq-react",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "React SDK for ConsentIQ consent management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",