@redacto.io/consent-sdk-react 8.0.0 → 9.0.0
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/CHANGELOG.md
CHANGED
package/dist/privacy-center.js
CHANGED
|
@@ -12353,9 +12353,11 @@ function UserMenu({ onBack }) {
|
|
|
12353
12353
|
letterSpacing: "-0.01em",
|
|
12354
12354
|
color: getVar("--pc-text-primary"),
|
|
12355
12355
|
lineHeight: 1.25,
|
|
12356
|
+
display: "-webkit-box",
|
|
12357
|
+
WebkitBoxOrient: "vertical",
|
|
12358
|
+
WebkitLineClamp: 3,
|
|
12356
12359
|
overflow: "hidden",
|
|
12357
|
-
|
|
12358
|
-
whiteSpace: "nowrap"
|
|
12360
|
+
wordBreak: "break-word"
|
|
12359
12361
|
},
|
|
12360
12362
|
children: displayName || "\u2014"
|
|
12361
12363
|
}
|
|
@@ -19180,7 +19182,7 @@ function Form({
|
|
|
19180
19182
|
},
|
|
19181
19183
|
className: "pc-flex-responsive pc-spacing-responsive",
|
|
19182
19184
|
children: [
|
|
19183
|
-
isPopup
|
|
19185
|
+
isPopup && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(PCButton, { variant: "secondary", onClick: onClose, style: { flexShrink: 0 }, children: (_b = t("cancel")) != null ? _b : "Cancel" }),
|
|
19184
19186
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
19185
19187
|
PCButton,
|
|
19186
19188
|
{
|
package/dist/privacy-center.mjs
CHANGED
|
@@ -12274,9 +12274,11 @@ function UserMenu({ onBack }) {
|
|
|
12274
12274
|
letterSpacing: "-0.01em",
|
|
12275
12275
|
color: getVar("--pc-text-primary"),
|
|
12276
12276
|
lineHeight: 1.25,
|
|
12277
|
+
display: "-webkit-box",
|
|
12278
|
+
WebkitBoxOrient: "vertical",
|
|
12279
|
+
WebkitLineClamp: 3,
|
|
12277
12280
|
overflow: "hidden",
|
|
12278
|
-
|
|
12279
|
-
whiteSpace: "nowrap"
|
|
12281
|
+
wordBreak: "break-word"
|
|
12280
12282
|
},
|
|
12281
12283
|
children: displayName || "\u2014"
|
|
12282
12284
|
}
|
|
@@ -19121,7 +19123,7 @@ function Form({
|
|
|
19121
19123
|
},
|
|
19122
19124
|
className: "pc-flex-responsive pc-spacing-responsive",
|
|
19123
19125
|
children: [
|
|
19124
|
-
isPopup
|
|
19126
|
+
isPopup && /* @__PURE__ */ jsx59(PCButton, { variant: "secondary", onClick: onClose, style: { flexShrink: 0 }, children: (_b = t("cancel")) != null ? _b : "Cancel" }),
|
|
19125
19127
|
/* @__PURE__ */ jsx59(
|
|
19126
19128
|
PCButton,
|
|
19127
19129
|
{
|
package/package.json
CHANGED
|
@@ -130,9 +130,11 @@ export function UserMenu({ onBack }: UserMenuProps) {
|
|
|
130
130
|
letterSpacing: '-0.01em',
|
|
131
131
|
color: getVar('--pc-text-primary'),
|
|
132
132
|
lineHeight: 1.25,
|
|
133
|
+
display: '-webkit-box',
|
|
134
|
+
WebkitBoxOrient: 'vertical',
|
|
135
|
+
WebkitLineClamp: 3,
|
|
133
136
|
overflow: 'hidden',
|
|
134
|
-
|
|
135
|
-
whiteSpace: 'nowrap',
|
|
137
|
+
wordBreak: 'break-word',
|
|
136
138
|
}}
|
|
137
139
|
>
|
|
138
140
|
{displayName || '—'}
|
|
@@ -1482,14 +1482,10 @@ export default function Form({
|
|
|
1482
1482
|
}}
|
|
1483
1483
|
className="pc-flex-responsive pc-spacing-responsive"
|
|
1484
1484
|
>
|
|
1485
|
-
{isPopup
|
|
1485
|
+
{isPopup && (
|
|
1486
1486
|
<PCButton variant="secondary" onClick={onClose} style={{ flexShrink: 0 }}>
|
|
1487
1487
|
{t('cancel') ?? 'Cancel'}
|
|
1488
1488
|
</PCButton>
|
|
1489
|
-
) : (
|
|
1490
|
-
<PCButton variant="secondary" style={{ flexShrink: 0 }}>
|
|
1491
|
-
{t('saveDraft')}
|
|
1492
|
-
</PCButton>
|
|
1493
1489
|
)}
|
|
1494
1490
|
<PCButton
|
|
1495
1491
|
variant="primary"
|