@reqquest/ui 1.5.0 → 1.6.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.
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
$: effectiveIntroAlignment = introTextAlignment ?? align
|
|
31
31
|
</script>
|
|
32
32
|
{#if $$slots.intro}
|
|
33
|
-
<div id="questionnaire-intro" class="prompt-intro flow max-w-screen-md px-6" class:mx-auto={align === 'center'} class:text-center={effectiveIntroAlignment === 'center'} class:text-right={effectiveIntroAlignment === 'right'} style:color="var(--cds-text-02)">
|
|
33
|
+
<div id="questionnaire-intro" class="prompt-intro flow max-w-screen-md px-px-3 sm:px-6" class:mx-auto={align === 'center'} class:text-center={effectiveIntroAlignment === 'center'} class:text-right={effectiveIntroAlignment === 'right'} style:color="var(--cds-text-02)">
|
|
34
34
|
<slot name="intro" />
|
|
35
35
|
</div>
|
|
36
36
|
{/if}
|
|
37
37
|
{#if externalLinks.length > 0}
|
|
38
|
-
<div class="prompt-intro-links flow max-w-screen-md px-6" class:mx-auto={align === 'center'}>
|
|
38
|
+
<div class="prompt-intro-links flow max-w-screen-md px-3 sm:px-6" class:mx-auto={align === 'center'}>
|
|
39
39
|
<ul class="flex gap-4 flex-wrap mb-4" class:justify-center={align === 'center'}>
|
|
40
40
|
{#each externalLinks.slice(0, 3) as link (link.url)}
|
|
41
41
|
<li><Button kind="ghost" icon={Launch} href={link.url} target={link.target ?? '_blank'} rel={link.rel ?? 'noopener noreferrer'}>{link.label}{#if (link.target ?? '_blank') === '_blank'}<span class="sr-only"> (opens in a new tab)</span>{/if}</Button></li>
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
</div>
|
|
45
45
|
{/if}
|
|
46
46
|
|
|
47
|
-
<div class="
|
|
47
|
+
<div class="prompt-form flow px-3 sm:px-6" class:max-w-screen-md={!fullWidth} class:w-full={fullWidth} class:mx-auto={align === 'center'}>
|
|
48
48
|
<slot />
|
|
49
49
|
</div>
|
|
@@ -1596,6 +1596,7 @@ export interface MutationGenqlSelection {
|
|
|
1596
1596
|
data: Scalars['JsonData'];
|
|
1597
1597
|
/** The data version of the app request at the time this prompt was loaded. If provided, the API will perform an optimistic concurrency check and fail the update if someone else has updated the data in the meantime. */
|
|
1598
1598
|
dataVersion?: (Scalars['Int'] | null);
|
|
1599
|
+
overrideInvalidated?: (Scalars['Boolean'] | null);
|
|
1599
1600
|
promptId: Scalars['ID'];
|
|
1600
1601
|
validateOnly?: (Scalars['Boolean'] | null);
|
|
1601
1602
|
};
|
|
@@ -1306,6 +1306,7 @@ type Mutation {
|
|
|
1306
1306
|
The data version of the app request at the time this prompt was loaded. If provided, the API will perform an optimistic concurrency check and fail the update if someone else has updated the data in the meantime.
|
|
1307
1307
|
"""
|
|
1308
1308
|
dataVersion: Int
|
|
1309
|
+
overrideInvalidated: Boolean
|
|
1309
1310
|
promptId: ID!
|
|
1310
1311
|
validateOnly: Boolean
|
|
1311
1312
|
): ValidatedAppRequestResponse!
|
package/dist/types.d.ts
CHANGED