@iqworksai/consentiq-react 0.1.0 → 0.1.1
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
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
|
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
|