@vectoriox/iox-ui 5.130.0 → 5.130.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.
|
@@ -6706,7 +6706,10 @@ function buildConsentRecipe(create, options = {}) {
|
|
|
6706
6706
|
recipePart(create, 'consent-title', 'Heading', ConsentRole.Title, Style.Title, { content: t.title, level: 'h2' }, 'Title', WORDS),
|
|
6707
6707
|
recipeText(create, 'consent-body', ConsentRole.Body, Style.Body, t.body, 'Words', { ...WORDS, maxWidth: '560px' }),
|
|
6708
6708
|
...(options.privacyRoute
|
|
6709
|
-
? [recipePart(create, 'consent-privacy', 'Link', ConsentRole.Privacy, Style.Link,
|
|
6709
|
+
? [recipePart(create, 'consent-privacy', 'Link', ConsentRole.Privacy, Style.Link,
|
|
6710
|
+
// Hugs its words: the words column stretches its children, and a stretched link draws its underline the
|
|
6711
|
+
// column's whole width (AW1 Rule 0, 2026-11-21). `flex-start` is logical — the start side in Hebrew too.
|
|
6712
|
+
{ label: options.privacyLabel || 'Privacy policy', linkType: 'page', pageRoute: options.privacyRoute }, 'Privacy policy', { ...WORDS, alignSelf: 'flex-start' })]
|
|
6710
6713
|
: []),
|
|
6711
6714
|
];
|
|
6712
6715
|
const accept = button(create, 'consent-accept', ConsentRole.Accept, Style.Primary, t.accept, 'Accept all');
|