@plitzi/sdk-authoring 0.39.12 → 0.39.13
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 +7 -0
- package/dist/index-src.js +4387 -3660
- package/dist/index.d.ts +711 -10
- package/dist/index.js +2 -2
- package/dist/node.d.ts +35 -0
- package/dist/node.js +2 -2
- package/package.json +6 -6
- package/skills/plitzi-authoring/recipes/accordion.ts +39 -42
- package/skills/plitzi-authoring/reference/accessibility.md +7 -4
- package/skills/plitzi-authoring/reference/auth.md +15 -0
- package/skills/plitzi-authoring/reference/authoring-errors.md +7 -0
- package/skills/plitzi-authoring/reference/feature-flags.md +7 -1
- package/skills/plitzi-authoring/reference/flows.md +4 -1
- package/skills/plitzi-authoring/reference/templates.md +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,25 @@ import { WheelEventHandler } from 'react';
|
|
|
29
29
|
*/
|
|
30
30
|
export declare type AccessSpec = ActionAccess | 'public' | 'session';
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Who is signed in, in a top bar: `account({ signInHref: '/sign-in', children: [link({ href: '/profile', content:
|
|
34
|
+
* 'Profile' })] })` — "Sign in" for a guest, a menu for somebody signed in.
|
|
35
|
+
*/
|
|
36
|
+
export declare const account: {
|
|
37
|
+
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
38
|
+
signInHref?: string | undefined;
|
|
39
|
+
signInLabel?: string | undefined;
|
|
40
|
+
signOutLabel?: string | undefined;
|
|
41
|
+
signOutHref?: string | undefined;
|
|
42
|
+
}>> | undefined): ElementSpec;
|
|
43
|
+
(props?: ElementProps<Partial<{
|
|
44
|
+
signInHref?: string | undefined;
|
|
45
|
+
signInLabel?: string | undefined;
|
|
46
|
+
signOutLabel?: string | undefined;
|
|
47
|
+
signOutHref?: string | undefined;
|
|
48
|
+
}>> | undefined): ElementSpec;
|
|
49
|
+
};
|
|
50
|
+
|
|
32
51
|
/**
|
|
33
52
|
* Who may start a run through ONE way in. Resolved against the auth kernel — never re-implemented here.
|
|
34
53
|
*
|
|
@@ -1113,6 +1132,41 @@ export declare const AUTHORING_CODES: {
|
|
|
1113
1132
|
readonly means: "a `when` asking a step of its flow for a key it never publishes — `whenSucceeded` / `whenFailed` on anything but `runServerAction`";
|
|
1114
1133
|
readonly fix: "a key the step publishes (`explain <step>`): after `authLogin`, `when({ field: 'signedIn.ok', operator: '=', value: true }, …)`";
|
|
1115
1134
|
};
|
|
1135
|
+
readonly 'account-sign-in-unreachable': {
|
|
1136
|
+
readonly kind: "warned";
|
|
1137
|
+
readonly means: "an `account` with no `signInHref` in a space that signs in with its own provider (`userProvider: \"basic\"`) — a sign-in there needs a form, so its \"Sign in\" leads nowhere";
|
|
1138
|
+
readonly fix: "`signInHref: '/sign-in'`, the page with the space's `signInForm`";
|
|
1139
|
+
};
|
|
1140
|
+
readonly 'countdown-to': {
|
|
1141
|
+
readonly kind: "refused";
|
|
1142
|
+
readonly means: "a `countdown`'s `to` that is not an instant with its offset — never read, so it counts to nothing";
|
|
1143
|
+
readonly fix: "`to: '2026-12-01T09:00:00Z'` (or `+01:00`); empty inside a `timeWindow` to count to its `endsAt`";
|
|
1144
|
+
};
|
|
1145
|
+
readonly 'countdown-without-end': {
|
|
1146
|
+
readonly kind: "warned";
|
|
1147
|
+
readonly means: "a `countdown` with no `to` and no `timeWindow` around it with an `endsAt` — it shows zeros";
|
|
1148
|
+
readonly fix: "`to: '2026-12-01T09:00:00Z'`, or the countdown inside the `timeWindow` whose end it counts to";
|
|
1149
|
+
};
|
|
1150
|
+
readonly 'countdown-units': {
|
|
1151
|
+
readonly kind: "warned";
|
|
1152
|
+
readonly means: "a `countdown` whose `smallest` unit is larger than its `largest` — it says the `largest` alone";
|
|
1153
|
+
readonly fix: "`largest` the larger: `largest: 'days', smallest: 'minutes'`";
|
|
1154
|
+
};
|
|
1155
|
+
readonly 'disclosure-summary-first': {
|
|
1156
|
+
readonly kind: "refused";
|
|
1157
|
+
readonly means: "a `disclosure` whose first child is not its `disclosureSummary` — the browser opens it by its first `<summary>` alone, and draws \"Details\" of its own otherwise";
|
|
1158
|
+
readonly fix: "`disclosure({ children: [disclosureSummary([…]), …what it shows] })`: one summary, first";
|
|
1159
|
+
};
|
|
1160
|
+
readonly 'disclosure-summary-control': {
|
|
1161
|
+
readonly kind: "refused";
|
|
1162
|
+
readonly means: "a button, a link or a field inside a `disclosureSummary` — the summary is the control: one inside it is a control within a control, which a keyboard and a screen reader cannot tell apart, and pressing it opens the disclosure too";
|
|
1163
|
+
readonly fix: "words in the summary (a text, a heading); the button or the link in what the disclosure shows, or beside it";
|
|
1164
|
+
};
|
|
1165
|
+
readonly 'disclosure-summary-unnamed': {
|
|
1166
|
+
readonly kind: "warned";
|
|
1167
|
+
readonly means: "a `disclosureSummary` with nothing in it — a screen reader announces a control with no name";
|
|
1168
|
+
readonly fix: "a text or a heading inside it: what opening it shows";
|
|
1169
|
+
};
|
|
1116
1170
|
readonly 'time-window-bound': {
|
|
1117
1171
|
readonly kind: "refused";
|
|
1118
1172
|
readonly means: "a `timeWindow`'s `startsAt` or `endsAt` that is not an instant with its offset — never read, so no bound";
|
|
@@ -2404,6 +2458,20 @@ declare const AUTOFILL_FIELDS: readonly ["username", "current-password", "new-pa
|
|
|
2404
2458
|
|
|
2405
2459
|
declare type AutofillField = (typeof AUTOFILL_FIELDS)[number];
|
|
2406
2460
|
|
|
2461
|
+
/** A person: `avatar({ name: '{{ auth.details.username }}' })` — their picture, or their initials on a colour of their own. */
|
|
2462
|
+
export declare const avatar: {
|
|
2463
|
+
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
2464
|
+
name?: string | undefined;
|
|
2465
|
+
src?: string | undefined;
|
|
2466
|
+
decorative?: boolean | undefined;
|
|
2467
|
+
}>> | undefined): ElementSpec;
|
|
2468
|
+
(props?: ElementProps<Partial<{
|
|
2469
|
+
name?: string | undefined;
|
|
2470
|
+
src?: string | undefined;
|
|
2471
|
+
decorative?: boolean | undefined;
|
|
2472
|
+
}>> | undefined): ElementSpec;
|
|
2473
|
+
};
|
|
2474
|
+
|
|
2407
2475
|
/**
|
|
2408
2476
|
* Waits for the space on the page to take its markup over (`data-hydrated`, put on its root by the SDK) — or says it did
|
|
2409
2477
|
* not: a press before then does nothing, and what is read is the server's HTML. A page with no space has nothing to
|
|
@@ -3117,16 +3185,14 @@ export declare const container: {
|
|
|
3117
3185
|
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
3118
3186
|
title?: string | undefined;
|
|
3119
3187
|
label?: string | undefined;
|
|
3120
|
-
|
|
3121
|
-
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "details" | "summary" | undefined;
|
|
3188
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
|
|
3122
3189
|
live?: "polite" | "assertive" | "" | undefined;
|
|
3123
3190
|
decorative?: boolean | undefined;
|
|
3124
3191
|
}>> | undefined): ElementSpec;
|
|
3125
3192
|
(props?: ElementProps<Partial<{
|
|
3126
3193
|
title?: string | undefined;
|
|
3127
3194
|
label?: string | undefined;
|
|
3128
|
-
|
|
3129
|
-
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "details" | "summary" | undefined;
|
|
3195
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
|
|
3130
3196
|
live?: "polite" | "assertive" | "" | undefined;
|
|
3131
3197
|
decorative?: boolean | undefined;
|
|
3132
3198
|
}>> | undefined): ElementSpec;
|
|
@@ -3151,6 +3217,37 @@ export declare type Copy = number | 'last' | undefined;
|
|
|
3151
3217
|
*/
|
|
3152
3218
|
export declare const copyToClipboard: (text: string) => StepSpec;
|
|
3153
3219
|
|
|
3220
|
+
/**
|
|
3221
|
+
* How long is left until an instant: `countdown({ to: '2026-12-01T09:00:00Z' })`, or `countdown()` inside a `timeWindow`
|
|
3222
|
+
* to count to its end. `onCountdownEnd` runs a flow at zero.
|
|
3223
|
+
*/
|
|
3224
|
+
export declare const countdown: {
|
|
3225
|
+
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
3226
|
+
to?: string | undefined;
|
|
3227
|
+
largest?: CountdownUnit | undefined;
|
|
3228
|
+
smallest?: CountdownUnit | undefined;
|
|
3229
|
+
labels?: CountdownLabels | undefined;
|
|
3230
|
+
locale?: string | undefined;
|
|
3231
|
+
}>> | undefined): ElementSpec;
|
|
3232
|
+
(props?: ElementProps<Partial<{
|
|
3233
|
+
to?: string | undefined;
|
|
3234
|
+
largest?: CountdownUnit | undefined;
|
|
3235
|
+
smallest?: CountdownUnit | undefined;
|
|
3236
|
+
labels?: CountdownLabels | undefined;
|
|
3237
|
+
locale?: string | undefined;
|
|
3238
|
+
}>> | undefined): ElementSpec;
|
|
3239
|
+
};
|
|
3240
|
+
|
|
3241
|
+
/** How a countdown names its units: in words (`days`), short (`d`, `hr`), or not at all. */
|
|
3242
|
+
declare const COUNTDOWN_LABELS: readonly ["long", "short", "none"];
|
|
3243
|
+
|
|
3244
|
+
/** The units a countdown says what is left in, largest first. */
|
|
3245
|
+
declare const COUNTDOWN_UNITS: readonly ["days", "hours", "minutes", "seconds"];
|
|
3246
|
+
|
|
3247
|
+
declare type CountdownLabels = (typeof COUNTDOWN_LABELS)[number];
|
|
3248
|
+
|
|
3249
|
+
declare type CountdownUnit = (typeof COUNTDOWN_UNITS)[number];
|
|
3250
|
+
|
|
3154
3251
|
/**
|
|
3155
3252
|
* A `tw()` with colours of its own: `createTw({ colors: tokens(variables) })` makes `bg-surface` the space's token.
|
|
3156
3253
|
*
|
|
@@ -3525,6 +3622,34 @@ export declare const diffPictures: ({ a, b, regions, tolerance, rowShift }: Pict
|
|
|
3525
3622
|
*/
|
|
3526
3623
|
export declare const digest: (value: string, length: number) => string;
|
|
3527
3624
|
|
|
3625
|
+
/**
|
|
3626
|
+
* What a summary shows or hides — a question and its answer, a menu, "show more": `disclosure({ name: 'faq', children:
|
|
3627
|
+
* [disclosureSummary([text({ content: 'Question?' })]), paragraph({ content: 'Answer.' })] })`. The summary comes first.
|
|
3628
|
+
*/
|
|
3629
|
+
export declare const disclosure: {
|
|
3630
|
+
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
3631
|
+
name?: string | undefined;
|
|
3632
|
+
open?: boolean | undefined;
|
|
3633
|
+
closeOnClickOutside?: boolean | undefined;
|
|
3634
|
+
closeOnNavigate?: boolean | undefined;
|
|
3635
|
+
}>> | undefined): ElementSpec;
|
|
3636
|
+
(props?: ElementProps<Partial<{
|
|
3637
|
+
name?: string | undefined;
|
|
3638
|
+
open?: boolean | undefined;
|
|
3639
|
+
closeOnClickOutside?: boolean | undefined;
|
|
3640
|
+
closeOnNavigate?: boolean | undefined;
|
|
3641
|
+
}>> | undefined): ElementSpec;
|
|
3642
|
+
};
|
|
3643
|
+
|
|
3644
|
+
export declare const disclosureSummary: {
|
|
3645
|
+
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
3646
|
+
marker?: boolean | undefined;
|
|
3647
|
+
}>> | undefined): ElementSpec;
|
|
3648
|
+
(props?: ElementProps<Partial<{
|
|
3649
|
+
marker?: boolean | undefined;
|
|
3650
|
+
}>> | undefined): ElementSpec;
|
|
3651
|
+
};
|
|
3652
|
+
|
|
3528
3653
|
export declare type DisplayMode = 'desktop' | 'tablet' | 'mobile';
|
|
3529
3654
|
|
|
3530
3655
|
/**
|
|
@@ -4048,7 +4173,9 @@ export declare const elementAncestorTypes: Record<string, string>;
|
|
|
4048
4173
|
* a builder that has since moved on, and nothing renders it.
|
|
4049
4174
|
*/
|
|
4050
4175
|
export declare const elementAttributeNames: {
|
|
4176
|
+
readonly account: readonly ["signInHref", "signInLabel", "signOutHref", "signOutLabel"];
|
|
4051
4177
|
readonly apiContainer: readonly ["accessToken", "action", "cache", "connector", "credentials", "endpoint", "filters", "gcTime", "headers", "input", "limit", "loadingSlot", "method", "mockData", "notFound", "pageParam", "pagination", "query", "refreshSeconds", "renderWhileLoading", "resource", "singleRecord", "staleTime", "subType", "when"];
|
|
4178
|
+
readonly avatar: readonly ["decorative", "name", "src"];
|
|
4052
4179
|
readonly blockHtml: readonly ["content"];
|
|
4053
4180
|
readonly blockJsx: readonly ["allowEmptyRender", "content", "contentCache", "props"];
|
|
4054
4181
|
readonly button: readonly ["ariaExpanded", "ariaPressed", "content", "contentPlacement", "controls", "controlsInRow", "disabled", "icon", "iconPlacement", "label", "subType", "title"];
|
|
@@ -4056,9 +4183,12 @@ export declare const elementAttributeNames: {
|
|
|
4056
4183
|
readonly carouselTrack: readonly [];
|
|
4057
4184
|
readonly channel: readonly ["grant", "keep", "presence", "subType", "topic"];
|
|
4058
4185
|
readonly chart: readonly ["emptyText", "format", "height", "items", "kind", "label", "labelField", "max", "series", "showValues", "sync", "titleField", "valueField"];
|
|
4059
|
-
readonly container: readonly ["decorative", "label", "live", "
|
|
4186
|
+
readonly container: readonly ["decorative", "label", "live", "subType", "title"];
|
|
4187
|
+
readonly countdown: readonly ["labels", "largest", "locale", "smallest", "to"];
|
|
4060
4188
|
readonly custom: null;
|
|
4061
4189
|
readonly dialogContainer: readonly ["acceptButtonLabel", "acceptButtonLabelLoading", "autoHideAfterClick", "headerLabel", "rejectButtonLabel"];
|
|
4190
|
+
readonly disclosure: readonly ["closeOnClickOutside", "closeOnNavigate", "name", "open"];
|
|
4191
|
+
readonly disclosureSummary: readonly ["marker"];
|
|
4062
4192
|
readonly dropdown: readonly ["backgroundDisabled", "closeOnClickBackground", "closeOnClickPopup", "containerLeftOffset", "containerTopOffset", "disabled", "openPopup", "popupPlacement", "popupWidth"];
|
|
4063
4193
|
readonly dropdownPopup: readonly [];
|
|
4064
4194
|
readonly embed: readonly ["allow", "loading", "referrerPolicy", "sandbox", "src", "title"];
|
|
@@ -4067,7 +4197,7 @@ export declare const elementAttributeNames: {
|
|
|
4067
4197
|
readonly form: readonly ["actionUrl", "errors", "managedByInteractions", "method", "noValidate", "values"];
|
|
4068
4198
|
readonly formControl: readonly ["accept", "autoComplete", "autoFocus", "defaultValue", "disabled", "formatMessage", "hideLabel", "label", "matches", "matchesMessage", "max", "maxLength", "maxLengthMessage", "maxMessage", "min", "minLength", "minLengthMessage", "minMessage", "name", "options", "pattern", "patternMessage", "placeholder", "previewError", "readOnly", "required", "requiredMessage", "step", "subType"];
|
|
4069
4199
|
readonly heading: readonly ["content", "subType"];
|
|
4070
|
-
readonly image: readonly ["alt", "decorative", "fetchPriority", "height", "loadMode", "resize", "sizes", "src", "width"];
|
|
4200
|
+
readonly image: readonly ["alt", "decorative", "fallbackSrc", "fetchPriority", "height", "loadMode", "resize", "sizes", "src", "width"];
|
|
4071
4201
|
readonly layoutContainer: readonly ["layout", "layoutContainer", "subType"];
|
|
4072
4202
|
readonly link: readonly ["content", "contentPlacement", "current", "hash", "href", "icon", "iconPlacement", "label", "mode", "target"];
|
|
4073
4203
|
readonly list: readonly ["itemKey", "items", "label", "source", "subType"];
|
|
@@ -4083,6 +4213,7 @@ export declare const elementAttributeNames: {
|
|
|
4083
4213
|
readonly plitziSdk: readonly ["environment", "offlineData", "spaceKey"];
|
|
4084
4214
|
readonly reference: readonly ["referenceId", "referenceType"];
|
|
4085
4215
|
readonly richText: readonly ["content", "format", "mediaBaseUrl"];
|
|
4216
|
+
readonly signInForm: readonly ["blockedMessage", "codeLabel", "networkMessage", "passwordLabel", "redirectTo", "ssoMessage", "submitLabel", "unverifiedMessage", "usernameLabel", "wrongMessage"];
|
|
4086
4217
|
readonly svg: readonly ["content", "label"];
|
|
4087
4218
|
readonly tabContainer: readonly [];
|
|
4088
4219
|
readonly tabContainerBody: readonly [];
|
|
@@ -4680,6 +4811,72 @@ declare const elementDeclarations: {
|
|
|
4680
4811
|
ariaPressed?: boolean | undefined;
|
|
4681
4812
|
controlsInRow?: boolean | undefined;
|
|
4682
4813
|
}>>;
|
|
4814
|
+
readonly Countdown: DeclaredElement< {
|
|
4815
|
+
readonly type: "countdown";
|
|
4816
|
+
readonly attributeValues: {
|
|
4817
|
+
readonly largest: readonly string[];
|
|
4818
|
+
readonly smallest: readonly string[];
|
|
4819
|
+
readonly labels: readonly string[];
|
|
4820
|
+
};
|
|
4821
|
+
readonly triggers: {
|
|
4822
|
+
readonly onCountdownEnd: {
|
|
4823
|
+
readonly action: "onCountdownEnd";
|
|
4824
|
+
readonly title: "On Countdown End";
|
|
4825
|
+
readonly type: "trigger";
|
|
4826
|
+
readonly params: {};
|
|
4827
|
+
readonly preview: {};
|
|
4828
|
+
};
|
|
4829
|
+
};
|
|
4830
|
+
readonly content: {
|
|
4831
|
+
readonly attributes: {
|
|
4832
|
+
readonly to: "";
|
|
4833
|
+
readonly largest: "days";
|
|
4834
|
+
readonly smallest: "seconds";
|
|
4835
|
+
readonly labels: "long";
|
|
4836
|
+
readonly locale: "";
|
|
4837
|
+
};
|
|
4838
|
+
readonly definition: {
|
|
4839
|
+
readonly label: "Countdown";
|
|
4840
|
+
readonly description: string;
|
|
4841
|
+
readonly items: [];
|
|
4842
|
+
readonly styleSelectors: {
|
|
4843
|
+
readonly unit: "";
|
|
4844
|
+
readonly value: "";
|
|
4845
|
+
readonly label: "";
|
|
4846
|
+
};
|
|
4847
|
+
};
|
|
4848
|
+
readonly market: {
|
|
4849
|
+
readonly category: "basic";
|
|
4850
|
+
readonly icon: "fa-solid fa-hourglass-half";
|
|
4851
|
+
};
|
|
4852
|
+
readonly defaultStyle: {
|
|
4853
|
+
readonly style: {
|
|
4854
|
+
readonly base: {
|
|
4855
|
+
readonly default: {
|
|
4856
|
+
readonly display: "inline-flex";
|
|
4857
|
+
readonly 'flex-wrap': "wrap";
|
|
4858
|
+
readonly gap: "0.5em";
|
|
4859
|
+
readonly 'font-variant-numeric': "tabular-nums";
|
|
4860
|
+
};
|
|
4861
|
+
};
|
|
4862
|
+
readonly unit: {
|
|
4863
|
+
readonly default: {
|
|
4864
|
+
readonly display: "inline-flex";
|
|
4865
|
+
readonly 'align-items': "baseline";
|
|
4866
|
+
readonly gap: "0.25em";
|
|
4867
|
+
};
|
|
4868
|
+
};
|
|
4869
|
+
};
|
|
4870
|
+
readonly subTypes: {};
|
|
4871
|
+
};
|
|
4872
|
+
};
|
|
4873
|
+
}, Partial<{
|
|
4874
|
+
to?: string | undefined;
|
|
4875
|
+
largest?: CountdownUnit | undefined;
|
|
4876
|
+
smallest?: CountdownUnit | undefined;
|
|
4877
|
+
labels?: CountdownLabels | undefined;
|
|
4878
|
+
locale?: string | undefined;
|
|
4879
|
+
}>>;
|
|
4683
4880
|
readonly Carousel: DeclaredElement< {
|
|
4684
4881
|
readonly type: "carousel";
|
|
4685
4882
|
readonly contentAttributes: readonly ["label"];
|
|
@@ -5011,8 +5208,7 @@ declare const elementDeclarations: {
|
|
|
5011
5208
|
}, Partial<{
|
|
5012
5209
|
title?: string | undefined;
|
|
5013
5210
|
label?: string | undefined;
|
|
5014
|
-
|
|
5015
|
-
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "details" | "summary" | undefined;
|
|
5211
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
|
|
5016
5212
|
live?: "polite" | "assertive" | "" | undefined;
|
|
5017
5213
|
decorative?: boolean | undefined;
|
|
5018
5214
|
}>>;
|
|
@@ -5316,6 +5512,121 @@ declare const elementDeclarations: {
|
|
|
5316
5512
|
acceptButtonLabelLoading?: string | undefined;
|
|
5317
5513
|
rejectButtonLabel?: string | undefined;
|
|
5318
5514
|
}>>;
|
|
5515
|
+
readonly Disclosure: DeclaredElement< {
|
|
5516
|
+
readonly type: "disclosure";
|
|
5517
|
+
readonly callbacks: {
|
|
5518
|
+
readonly openDisclosure: {
|
|
5519
|
+
readonly action: "openDisclosure";
|
|
5520
|
+
readonly title: "Open Disclosure";
|
|
5521
|
+
readonly type: "callback";
|
|
5522
|
+
readonly params: {};
|
|
5523
|
+
readonly preview: {};
|
|
5524
|
+
};
|
|
5525
|
+
readonly closeDisclosure: {
|
|
5526
|
+
readonly action: "closeDisclosure";
|
|
5527
|
+
readonly title: "Close Disclosure";
|
|
5528
|
+
readonly type: "callback";
|
|
5529
|
+
readonly params: {};
|
|
5530
|
+
readonly preview: {};
|
|
5531
|
+
};
|
|
5532
|
+
readonly toggleDisclosure: {
|
|
5533
|
+
readonly action: "toggleDisclosure";
|
|
5534
|
+
readonly title: "Toggle Disclosure";
|
|
5535
|
+
readonly type: "callback";
|
|
5536
|
+
readonly params: {};
|
|
5537
|
+
readonly preview: {};
|
|
5538
|
+
};
|
|
5539
|
+
};
|
|
5540
|
+
readonly marks: {
|
|
5541
|
+
readonly '[open]': "on the disclosure while what it holds is shown";
|
|
5542
|
+
readonly 'its summary': "lights a class’s `expanded` state while the disclosure is open — a sign inside it turns with the parent’s (`ancestors: { \">\": { states: { expanded: … } } }`)";
|
|
5543
|
+
};
|
|
5544
|
+
readonly content: {
|
|
5545
|
+
readonly attributes: {
|
|
5546
|
+
readonly open: false;
|
|
5547
|
+
readonly name: "";
|
|
5548
|
+
readonly closeOnClickOutside: false;
|
|
5549
|
+
readonly closeOnNavigate: true;
|
|
5550
|
+
};
|
|
5551
|
+
readonly definition: {
|
|
5552
|
+
readonly label: "Disclosure";
|
|
5553
|
+
readonly description: string;
|
|
5554
|
+
readonly items: [];
|
|
5555
|
+
};
|
|
5556
|
+
readonly market: {
|
|
5557
|
+
readonly category: "structure";
|
|
5558
|
+
readonly icon: "fa-solid fa-caret-down";
|
|
5559
|
+
};
|
|
5560
|
+
readonly defaultStyle: {
|
|
5561
|
+
readonly style: {
|
|
5562
|
+
readonly base: {
|
|
5563
|
+
readonly default: {};
|
|
5564
|
+
};
|
|
5565
|
+
};
|
|
5566
|
+
readonly subTypes: {};
|
|
5567
|
+
};
|
|
5568
|
+
};
|
|
5569
|
+
readonly initialItems: readonly ["disclosureSummary"];
|
|
5570
|
+
}, Partial<{
|
|
5571
|
+
name?: string | undefined;
|
|
5572
|
+
open?: boolean | undefined;
|
|
5573
|
+
closeOnClickOutside?: boolean | undefined;
|
|
5574
|
+
closeOnNavigate?: boolean | undefined;
|
|
5575
|
+
}>>;
|
|
5576
|
+
readonly DisclosureSummary: DeclaredElement< {
|
|
5577
|
+
readonly type: "disclosureSummary";
|
|
5578
|
+
readonly ancestorType: "disclosure";
|
|
5579
|
+
readonly content: {
|
|
5580
|
+
readonly attributes: {
|
|
5581
|
+
readonly marker: true;
|
|
5582
|
+
};
|
|
5583
|
+
readonly definition: {
|
|
5584
|
+
readonly label: "Disclosure Summary";
|
|
5585
|
+
readonly description: string;
|
|
5586
|
+
readonly items: [];
|
|
5587
|
+
readonly styleSelectors: {
|
|
5588
|
+
readonly marker: "";
|
|
5589
|
+
};
|
|
5590
|
+
};
|
|
5591
|
+
readonly builder: {
|
|
5592
|
+
readonly canDelete: false;
|
|
5593
|
+
readonly canDragDrop: false;
|
|
5594
|
+
readonly canMove: false;
|
|
5595
|
+
readonly canSnippet: false;
|
|
5596
|
+
};
|
|
5597
|
+
readonly market: {
|
|
5598
|
+
readonly category: "structure";
|
|
5599
|
+
readonly icon: "fa-solid fa-heading";
|
|
5600
|
+
};
|
|
5601
|
+
readonly defaultStyle: {
|
|
5602
|
+
readonly style: {
|
|
5603
|
+
readonly base: {
|
|
5604
|
+
readonly default: {
|
|
5605
|
+
readonly display: "flex";
|
|
5606
|
+
readonly 'align-items': "center";
|
|
5607
|
+
readonly gap: "8px";
|
|
5608
|
+
readonly cursor: "pointer";
|
|
5609
|
+
readonly 'list-style': "none";
|
|
5610
|
+
};
|
|
5611
|
+
};
|
|
5612
|
+
readonly marker: {
|
|
5613
|
+
readonly default: {
|
|
5614
|
+
readonly 'flex-shrink': 0;
|
|
5615
|
+
readonly 'margin-left': "auto";
|
|
5616
|
+
readonly width: "0.45em";
|
|
5617
|
+
readonly height: "0.45em";
|
|
5618
|
+
readonly 'border-right': "2px solid currentColor";
|
|
5619
|
+
readonly 'border-bottom': "2px solid currentColor";
|
|
5620
|
+
readonly transform: "rotate(45deg)";
|
|
5621
|
+
};
|
|
5622
|
+
};
|
|
5623
|
+
};
|
|
5624
|
+
readonly subTypes: {};
|
|
5625
|
+
};
|
|
5626
|
+
};
|
|
5627
|
+
}, Partial<{
|
|
5628
|
+
marker?: boolean | undefined;
|
|
5629
|
+
}>>;
|
|
5319
5630
|
readonly FocusGroup: DeclaredElement< {
|
|
5320
5631
|
readonly type: "focusGroup";
|
|
5321
5632
|
readonly attributeValues: {
|
|
@@ -6602,6 +6913,7 @@ declare const elementDeclarations: {
|
|
|
6602
6913
|
readonly content: {
|
|
6603
6914
|
readonly attributes: {
|
|
6604
6915
|
readonly src: "";
|
|
6916
|
+
readonly fallbackSrc: "";
|
|
6605
6917
|
readonly alt: "";
|
|
6606
6918
|
readonly decorative: false;
|
|
6607
6919
|
readonly fetchPriority: "auto";
|
|
@@ -6637,6 +6949,7 @@ declare const elementDeclarations: {
|
|
|
6637
6949
|
alt?: string | undefined;
|
|
6638
6950
|
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
6639
6951
|
decorative?: boolean | undefined;
|
|
6952
|
+
fallbackSrc?: string | undefined;
|
|
6640
6953
|
loadMode?: "auto" | "eager" | "lazy" | undefined;
|
|
6641
6954
|
}>>;
|
|
6642
6955
|
readonly LayoutContainer: DeclaredElement< {
|
|
@@ -8235,7 +8548,7 @@ declare const elementDeclarations: {
|
|
|
8235
8548
|
readonly itemsAllowed: ["variantItem"];
|
|
8236
8549
|
};
|
|
8237
8550
|
readonly market: {
|
|
8238
|
-
readonly category: "
|
|
8551
|
+
readonly category: "structure";
|
|
8239
8552
|
readonly icon: "fa-solid fa-shuffle";
|
|
8240
8553
|
};
|
|
8241
8554
|
readonly defaultStyle: {
|
|
@@ -8270,7 +8583,7 @@ declare const elementDeclarations: {
|
|
|
8270
8583
|
readonly itemsNotAllowed: ["variantItem"];
|
|
8271
8584
|
};
|
|
8272
8585
|
readonly market: {
|
|
8273
|
-
readonly category: "
|
|
8586
|
+
readonly category: "structure";
|
|
8274
8587
|
readonly icon: "fa-solid fa-code-branch";
|
|
8275
8588
|
};
|
|
8276
8589
|
readonly defaultStyle: {
|
|
@@ -8286,6 +8599,319 @@ declare const elementDeclarations: {
|
|
|
8286
8599
|
when?: RuleGroup_2 | undefined;
|
|
8287
8600
|
weight?: number | undefined;
|
|
8288
8601
|
}>>;
|
|
8602
|
+
readonly Account: DeclaredElement< {
|
|
8603
|
+
readonly type: "account";
|
|
8604
|
+
readonly contentAttributes: readonly ["signInLabel", "signOutLabel"];
|
|
8605
|
+
readonly content: {
|
|
8606
|
+
readonly attributes: {
|
|
8607
|
+
readonly signInHref: "";
|
|
8608
|
+
readonly signInLabel: "Sign in";
|
|
8609
|
+
readonly signOutLabel: "Sign out";
|
|
8610
|
+
readonly signOutHref: "";
|
|
8611
|
+
};
|
|
8612
|
+
readonly definition: {
|
|
8613
|
+
readonly label: "Account";
|
|
8614
|
+
readonly description: string;
|
|
8615
|
+
readonly items: [];
|
|
8616
|
+
readonly styleSelectors: {
|
|
8617
|
+
readonly signIn: "";
|
|
8618
|
+
readonly trigger: "";
|
|
8619
|
+
readonly panel: "";
|
|
8620
|
+
readonly identity: "";
|
|
8621
|
+
readonly signOut: "";
|
|
8622
|
+
};
|
|
8623
|
+
};
|
|
8624
|
+
readonly market: {
|
|
8625
|
+
readonly category: "user";
|
|
8626
|
+
readonly icon: "fa-solid fa-user-gear";
|
|
8627
|
+
};
|
|
8628
|
+
readonly defaultStyle: {
|
|
8629
|
+
readonly style: {
|
|
8630
|
+
readonly base: {
|
|
8631
|
+
readonly default: {
|
|
8632
|
+
readonly position: "relative";
|
|
8633
|
+
readonly display: "inline-flex";
|
|
8634
|
+
readonly 'align-items': "center";
|
|
8635
|
+
};
|
|
8636
|
+
};
|
|
8637
|
+
readonly signIn: {
|
|
8638
|
+
readonly default: {
|
|
8639
|
+
readonly display: "inline-flex";
|
|
8640
|
+
readonly 'align-items': "center";
|
|
8641
|
+
readonly 'padding-top': "8px";
|
|
8642
|
+
readonly 'padding-right': "14px";
|
|
8643
|
+
readonly 'padding-bottom': "8px";
|
|
8644
|
+
readonly 'padding-left': "14px";
|
|
8645
|
+
readonly 'border-top-width': "0px";
|
|
8646
|
+
readonly 'border-right-width': "0px";
|
|
8647
|
+
readonly 'border-bottom-width': "0px";
|
|
8648
|
+
readonly 'border-left-width': "0px";
|
|
8649
|
+
readonly 'border-top-left-radius': "8px";
|
|
8650
|
+
readonly 'border-top-right-radius': "8px";
|
|
8651
|
+
readonly 'border-bottom-left-radius': "8px";
|
|
8652
|
+
readonly 'border-bottom-right-radius': "8px";
|
|
8653
|
+
readonly 'background-color': "light-dark(oklch(0.21 0.006 285.885), oklch(0.985 0 0))";
|
|
8654
|
+
readonly color: "light-dark(oklch(0.985 0 0), oklch(0.21 0.006 285.885))";
|
|
8655
|
+
readonly font: "inherit";
|
|
8656
|
+
readonly 'font-weight': 600;
|
|
8657
|
+
readonly 'text-decoration': "none";
|
|
8658
|
+
readonly cursor: "pointer";
|
|
8659
|
+
};
|
|
8660
|
+
};
|
|
8661
|
+
readonly trigger: {
|
|
8662
|
+
readonly default: {
|
|
8663
|
+
readonly display: "flex";
|
|
8664
|
+
readonly 'border-top-left-radius': "50%";
|
|
8665
|
+
readonly 'border-top-right-radius': "50%";
|
|
8666
|
+
readonly 'border-bottom-left-radius': "50%";
|
|
8667
|
+
readonly 'border-bottom-right-radius': "50%";
|
|
8668
|
+
readonly cursor: "pointer";
|
|
8669
|
+
readonly 'list-style': "none";
|
|
8670
|
+
};
|
|
8671
|
+
};
|
|
8672
|
+
readonly panel: {
|
|
8673
|
+
readonly default: {
|
|
8674
|
+
readonly position: "absolute";
|
|
8675
|
+
readonly top: "calc(100% + 8px)";
|
|
8676
|
+
readonly right: "0px";
|
|
8677
|
+
readonly 'z-index': 50;
|
|
8678
|
+
readonly display: "flex";
|
|
8679
|
+
readonly 'flex-direction': "column";
|
|
8680
|
+
readonly gap: "2px";
|
|
8681
|
+
readonly 'min-width': "220px";
|
|
8682
|
+
readonly 'padding-top': "8px";
|
|
8683
|
+
readonly 'padding-right': "8px";
|
|
8684
|
+
readonly 'padding-bottom': "8px";
|
|
8685
|
+
readonly 'padding-left': "8px";
|
|
8686
|
+
readonly 'border-top-left-radius': "12px";
|
|
8687
|
+
readonly 'border-top-right-radius': "12px";
|
|
8688
|
+
readonly 'border-bottom-left-radius': "12px";
|
|
8689
|
+
readonly 'border-bottom-right-radius': "12px";
|
|
8690
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
8691
|
+
readonly 'box-shadow': "rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.12) 0px 8px 24px";
|
|
8692
|
+
};
|
|
8693
|
+
};
|
|
8694
|
+
readonly identity: {
|
|
8695
|
+
readonly default: {
|
|
8696
|
+
readonly display: "flex";
|
|
8697
|
+
readonly 'flex-direction': "column";
|
|
8698
|
+
readonly gap: "2px";
|
|
8699
|
+
readonly 'padding-top': "8px";
|
|
8700
|
+
readonly 'padding-right': "10px";
|
|
8701
|
+
readonly 'padding-bottom': "10px";
|
|
8702
|
+
readonly 'padding-left': "10px";
|
|
8703
|
+
readonly 'margin-bottom': "4px";
|
|
8704
|
+
readonly 'border-bottom': "1px solid light-dark(oklch(0.92 0.004 286.32), oklch(0.32 0.006 285.885))";
|
|
8705
|
+
};
|
|
8706
|
+
};
|
|
8707
|
+
readonly signOut: {
|
|
8708
|
+
readonly default: {
|
|
8709
|
+
readonly display: "flex";
|
|
8710
|
+
readonly width: "100%";
|
|
8711
|
+
readonly 'padding-top': "8px";
|
|
8712
|
+
readonly 'padding-right': "10px";
|
|
8713
|
+
readonly 'padding-bottom': "8px";
|
|
8714
|
+
readonly 'padding-left': "10px";
|
|
8715
|
+
readonly 'border-top-width': "0px";
|
|
8716
|
+
readonly 'border-right-width': "0px";
|
|
8717
|
+
readonly 'border-bottom-width': "0px";
|
|
8718
|
+
readonly 'border-left-width': "0px";
|
|
8719
|
+
readonly 'border-top-left-radius': "8px";
|
|
8720
|
+
readonly 'border-top-right-radius': "8px";
|
|
8721
|
+
readonly 'border-bottom-left-radius': "8px";
|
|
8722
|
+
readonly 'border-bottom-right-radius': "8px";
|
|
8723
|
+
readonly 'background-color': "transparent";
|
|
8724
|
+
readonly color: "inherit";
|
|
8725
|
+
readonly font: "inherit";
|
|
8726
|
+
readonly 'text-align': "left";
|
|
8727
|
+
readonly cursor: "pointer";
|
|
8728
|
+
};
|
|
8729
|
+
};
|
|
8730
|
+
};
|
|
8731
|
+
readonly subTypes: {};
|
|
8732
|
+
};
|
|
8733
|
+
};
|
|
8734
|
+
}, Partial<{
|
|
8735
|
+
signInHref?: string | undefined;
|
|
8736
|
+
signInLabel?: string | undefined;
|
|
8737
|
+
signOutLabel?: string | undefined;
|
|
8738
|
+
signOutHref?: string | undefined;
|
|
8739
|
+
}>>;
|
|
8740
|
+
readonly Avatar: DeclaredElement< {
|
|
8741
|
+
readonly type: "avatar";
|
|
8742
|
+
readonly contentAttributes: readonly ["src", "name"];
|
|
8743
|
+
readonly content: {
|
|
8744
|
+
readonly attributes: {
|
|
8745
|
+
readonly src: "";
|
|
8746
|
+
readonly name: "";
|
|
8747
|
+
readonly decorative: false;
|
|
8748
|
+
};
|
|
8749
|
+
readonly definition: {
|
|
8750
|
+
readonly label: "Avatar";
|
|
8751
|
+
readonly description: string;
|
|
8752
|
+
readonly items: [];
|
|
8753
|
+
readonly styleSelectors: {
|
|
8754
|
+
readonly image: "";
|
|
8755
|
+
};
|
|
8756
|
+
};
|
|
8757
|
+
readonly market: {
|
|
8758
|
+
readonly category: "user";
|
|
8759
|
+
readonly icon: "fa-solid fa-circle-user";
|
|
8760
|
+
};
|
|
8761
|
+
readonly defaultStyle: {
|
|
8762
|
+
readonly style: {
|
|
8763
|
+
readonly base: {
|
|
8764
|
+
readonly default: {
|
|
8765
|
+
readonly display: "inline-flex";
|
|
8766
|
+
readonly 'align-items': "center";
|
|
8767
|
+
readonly 'justify-content': "center";
|
|
8768
|
+
readonly 'flex-shrink': 0;
|
|
8769
|
+
readonly width: "40px";
|
|
8770
|
+
readonly height: "40px";
|
|
8771
|
+
readonly overflow: "hidden";
|
|
8772
|
+
readonly 'border-top-left-radius': "50%";
|
|
8773
|
+
readonly 'border-top-right-radius': "50%";
|
|
8774
|
+
readonly 'border-bottom-left-radius': "50%";
|
|
8775
|
+
readonly 'border-bottom-right-radius': "50%";
|
|
8776
|
+
readonly 'font-size': "15px";
|
|
8777
|
+
readonly 'font-weight': 600;
|
|
8778
|
+
readonly 'line-height': 1;
|
|
8779
|
+
readonly 'user-select': "none";
|
|
8780
|
+
readonly 'background-color': "light-dark(oklch(0.9 0.06 var(--plitzi-avatar-hue, 260)), oklch(0.38 0.07 var(--plitzi-avatar-hue, 260)))";
|
|
8781
|
+
readonly color: "light-dark(oklch(0.36 0.09 var(--plitzi-avatar-hue, 260)), oklch(0.93 0.04 var(--plitzi-avatar-hue, 260)))";
|
|
8782
|
+
};
|
|
8783
|
+
};
|
|
8784
|
+
readonly image: {
|
|
8785
|
+
readonly default: {
|
|
8786
|
+
readonly width: "100%";
|
|
8787
|
+
readonly height: "100%";
|
|
8788
|
+
readonly 'object-fit': "cover";
|
|
8789
|
+
};
|
|
8790
|
+
};
|
|
8791
|
+
};
|
|
8792
|
+
readonly subTypes: {};
|
|
8793
|
+
};
|
|
8794
|
+
};
|
|
8795
|
+
}, Partial<{
|
|
8796
|
+
name?: string | undefined;
|
|
8797
|
+
src?: string | undefined;
|
|
8798
|
+
decorative?: boolean | undefined;
|
|
8799
|
+
}>>;
|
|
8800
|
+
readonly SignInForm: DeclaredElement< {
|
|
8801
|
+
readonly type: "signInForm";
|
|
8802
|
+
readonly contentAttributes: readonly ["usernameLabel", "passwordLabel", "codeLabel", "submitLabel"];
|
|
8803
|
+
readonly content: {
|
|
8804
|
+
readonly attributes: {
|
|
8805
|
+
readonly usernameLabel: "Email";
|
|
8806
|
+
readonly passwordLabel: "Password";
|
|
8807
|
+
readonly codeLabel: "Code";
|
|
8808
|
+
readonly submitLabel: "Sign in";
|
|
8809
|
+
readonly redirectTo: "";
|
|
8810
|
+
readonly wrongMessage: "That email or password is not right.";
|
|
8811
|
+
readonly unverifiedMessage: "Confirm your email first: the link is in your inbox.";
|
|
8812
|
+
readonly blockedMessage: "This account cannot sign in.";
|
|
8813
|
+
readonly ssoMessage: "Your organization signs you in with its own single sign-on.";
|
|
8814
|
+
readonly networkMessage: "Signing in could not be reached. Try again in a moment.";
|
|
8815
|
+
};
|
|
8816
|
+
readonly definition: {
|
|
8817
|
+
readonly label: "Sign-in Form";
|
|
8818
|
+
readonly description: string;
|
|
8819
|
+
readonly items: [];
|
|
8820
|
+
readonly styleSelectors: {
|
|
8821
|
+
readonly field: "";
|
|
8822
|
+
readonly label: "";
|
|
8823
|
+
readonly input: "";
|
|
8824
|
+
readonly submit: "";
|
|
8825
|
+
readonly problem: "";
|
|
8826
|
+
};
|
|
8827
|
+
};
|
|
8828
|
+
readonly market: {
|
|
8829
|
+
readonly category: "user";
|
|
8830
|
+
readonly icon: "fa-solid fa-right-to-bracket";
|
|
8831
|
+
};
|
|
8832
|
+
readonly defaultStyle: {
|
|
8833
|
+
readonly style: {
|
|
8834
|
+
readonly base: {
|
|
8835
|
+
readonly default: {
|
|
8836
|
+
readonly display: "flex";
|
|
8837
|
+
readonly 'flex-direction': "column";
|
|
8838
|
+
readonly gap: "12px";
|
|
8839
|
+
readonly 'max-width': "360px";
|
|
8840
|
+
};
|
|
8841
|
+
};
|
|
8842
|
+
readonly field: {
|
|
8843
|
+
readonly default: {
|
|
8844
|
+
readonly display: "flex";
|
|
8845
|
+
readonly 'flex-direction': "column";
|
|
8846
|
+
readonly gap: "4px";
|
|
8847
|
+
};
|
|
8848
|
+
};
|
|
8849
|
+
readonly label: {
|
|
8850
|
+
readonly default: {
|
|
8851
|
+
readonly 'font-size': "0.875em";
|
|
8852
|
+
readonly 'font-weight': 500;
|
|
8853
|
+
};
|
|
8854
|
+
};
|
|
8855
|
+
readonly input: {
|
|
8856
|
+
readonly default: {
|
|
8857
|
+
readonly 'padding-top': "8px";
|
|
8858
|
+
readonly 'padding-right': "10px";
|
|
8859
|
+
readonly 'padding-bottom': "8px";
|
|
8860
|
+
readonly 'padding-left': "10px";
|
|
8861
|
+
readonly border: "1px solid light-dark(oklch(0.871 0.006 286.286), oklch(0.37 0.013 285.805))";
|
|
8862
|
+
readonly 'border-top-left-radius': "8px";
|
|
8863
|
+
readonly 'border-top-right-radius': "8px";
|
|
8864
|
+
readonly 'border-bottom-left-radius': "8px";
|
|
8865
|
+
readonly 'border-bottom-right-radius': "8px";
|
|
8866
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
8867
|
+
readonly color: "inherit";
|
|
8868
|
+
readonly font: "inherit";
|
|
8869
|
+
};
|
|
8870
|
+
};
|
|
8871
|
+
readonly submit: {
|
|
8872
|
+
readonly default: {
|
|
8873
|
+
readonly 'padding-top': "10px";
|
|
8874
|
+
readonly 'padding-right': "14px";
|
|
8875
|
+
readonly 'padding-bottom': "10px";
|
|
8876
|
+
readonly 'padding-left': "14px";
|
|
8877
|
+
readonly 'border-top-width': "0px";
|
|
8878
|
+
readonly 'border-right-width': "0px";
|
|
8879
|
+
readonly 'border-bottom-width': "0px";
|
|
8880
|
+
readonly 'border-left-width': "0px";
|
|
8881
|
+
readonly 'border-top-left-radius': "8px";
|
|
8882
|
+
readonly 'border-top-right-radius': "8px";
|
|
8883
|
+
readonly 'border-bottom-left-radius': "8px";
|
|
8884
|
+
readonly 'border-bottom-right-radius': "8px";
|
|
8885
|
+
readonly 'background-color': "light-dark(oklch(0.21 0.006 285.885), oklch(0.985 0 0))";
|
|
8886
|
+
readonly color: "light-dark(oklch(0.985 0 0), oklch(0.21 0.006 285.885))";
|
|
8887
|
+
readonly font: "inherit";
|
|
8888
|
+
readonly 'font-weight': 600;
|
|
8889
|
+
readonly cursor: "pointer";
|
|
8890
|
+
};
|
|
8891
|
+
};
|
|
8892
|
+
readonly problem: {
|
|
8893
|
+
readonly default: {
|
|
8894
|
+
readonly margin: "0px";
|
|
8895
|
+
readonly color: "light-dark(oklch(0.505 0.213 27.518), oklch(0.704 0.191 22.216))";
|
|
8896
|
+
readonly 'font-size': "0.875em";
|
|
8897
|
+
};
|
|
8898
|
+
};
|
|
8899
|
+
};
|
|
8900
|
+
readonly subTypes: {};
|
|
8901
|
+
};
|
|
8902
|
+
};
|
|
8903
|
+
}, Partial<{
|
|
8904
|
+
wrongMessage?: string | undefined;
|
|
8905
|
+
unverifiedMessage?: string | undefined;
|
|
8906
|
+
blockedMessage?: string | undefined;
|
|
8907
|
+
ssoMessage?: string | undefined;
|
|
8908
|
+
networkMessage?: string | undefined;
|
|
8909
|
+
usernameLabel?: string | undefined;
|
|
8910
|
+
passwordLabel?: string | undefined;
|
|
8911
|
+
codeLabel?: string | undefined;
|
|
8912
|
+
submitLabel?: string | undefined;
|
|
8913
|
+
redirectTo?: string | undefined;
|
|
8914
|
+
}>>;
|
|
8289
8915
|
readonly Video: DeclaredElement< {
|
|
8290
8916
|
readonly type: "video";
|
|
8291
8917
|
readonly contentAttributes: readonly ["src"];
|
|
@@ -9253,6 +9879,37 @@ declare type FormControlProps = {
|
|
|
9253
9879
|
|
|
9254
9880
|
declare type FormControlSubType = (typeof FORM_CONTROL_SUBTYPES)[number];
|
|
9255
9881
|
|
|
9882
|
+
/**
|
|
9883
|
+
* Shows an element on the whole screen — a map, a board, a gallery — and back: `fullscreen('map')` toggles it,
|
|
9884
|
+
* `fullscreen('map', 'exit')` leaves. Where the browser cannot, the step fails and the flow's `onFailure` runs.
|
|
9885
|
+
*/
|
|
9886
|
+
export declare const fullscreen: (target: string, mode?: FullscreenMode) => StepSpec;
|
|
9887
|
+
|
|
9888
|
+
/**
|
|
9889
|
+
* An element shown on the whole screen — a map, a board, a gallery, a video — and back. Its node names the element; a
|
|
9890
|
+
* browser that cannot (an iPhone shows only a video so) fails the step, and the flow's `onFailure` says so.
|
|
9891
|
+
*/
|
|
9892
|
+
export declare const FULLSCREEN_CALLBACKS: {
|
|
9893
|
+
fullscreen: {
|
|
9894
|
+
title: string;
|
|
9895
|
+
type: "callback";
|
|
9896
|
+
strictParams: true;
|
|
9897
|
+
params: {
|
|
9898
|
+
mode: {
|
|
9899
|
+
type: "select";
|
|
9900
|
+
description: string;
|
|
9901
|
+
default: string;
|
|
9902
|
+
options: ("enter" | "toggle" | "exit")[];
|
|
9903
|
+
};
|
|
9904
|
+
};
|
|
9905
|
+
};
|
|
9906
|
+
};
|
|
9907
|
+
|
|
9908
|
+
/** How a `fullscreen` step moves: in or out as it is (`toggle`), or one way. */
|
|
9909
|
+
export declare const FULLSCREEN_MODES: readonly ["toggle", "enter", "exit"];
|
|
9910
|
+
|
|
9911
|
+
export declare type FullscreenMode = (typeof FULLSCREEN_MODES)[number];
|
|
9912
|
+
|
|
9256
9913
|
/** The built-in element callback for an action, or undefined when the action is not a known built-in (an
|
|
9257
9914
|
* element-type-specific/plugin callback whose schema is not knowable here). */
|
|
9258
9915
|
export declare const getElementCallback: (action: string) => BuiltinElementCallback | undefined;
|
|
@@ -9377,6 +10034,7 @@ export declare const image: {
|
|
|
9377
10034
|
alt?: string | undefined;
|
|
9378
10035
|
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
9379
10036
|
decorative?: boolean | undefined;
|
|
10037
|
+
fallbackSrc?: string | undefined;
|
|
9380
10038
|
loadMode?: "auto" | "eager" | "lazy" | undefined;
|
|
9381
10039
|
}>> | undefined): ElementSpec;
|
|
9382
10040
|
(props?: ElementProps<Partial<{
|
|
@@ -9388,6 +10046,7 @@ export declare const image: {
|
|
|
9388
10046
|
alt?: string | undefined;
|
|
9389
10047
|
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
9390
10048
|
decorative?: boolean | undefined;
|
|
10049
|
+
fallbackSrc?: string | undefined;
|
|
9391
10050
|
loadMode?: "auto" | "eager" | "lazy" | undefined;
|
|
9392
10051
|
}>> | undefined): ElementSpec;
|
|
9393
10052
|
};
|
|
@@ -10584,6 +11243,9 @@ export declare const onClick: (params?: {
|
|
|
10584
11243
|
propagateEvent?: boolean;
|
|
10585
11244
|
}) => StepSpec;
|
|
10586
11245
|
|
|
11246
|
+
/** A countdown reached zero — while somebody watched, or before the page opened: once per page. */
|
|
11247
|
+
export declare const onCountdownEnd: () => StepSpec;
|
|
11248
|
+
|
|
10587
11249
|
export declare const onDialogAccept: () => StepSpec;
|
|
10588
11250
|
|
|
10589
11251
|
export declare const onDialogClose: () => StepSpec;
|
|
@@ -12651,6 +13313,17 @@ export declare interface SettlingRequest {
|
|
|
12651
13313
|
headers(): Record<string, string>;
|
|
12652
13314
|
}
|
|
12653
13315
|
|
|
13316
|
+
/**
|
|
13317
|
+
* Shares an address — this page's when none is given — through the device's own sheet, or copies it where the browser
|
|
13318
|
+
* has none. Named, it answers `{{ <id>.copied }}` and `{{ <id>.shared }}`: `named('sent', share({ title: '{{ page.title
|
|
13319
|
+
* }}' }))`, then a toast on `sent.copied` says "Link copied" only when it was.
|
|
13320
|
+
*/
|
|
13321
|
+
export declare const share: (what?: {
|
|
13322
|
+
url?: string;
|
|
13323
|
+
title?: string;
|
|
13324
|
+
text?: string;
|
|
13325
|
+
}) => StepSpec;
|
|
13326
|
+
|
|
12654
13327
|
/** A shortcut as `onKey` writes it, as the key a driver presses. Refuses anything `onKey` would. */
|
|
12655
13328
|
export declare const shortcutKey: (shortcut: string, isMac: boolean) => string;
|
|
12656
13329
|
|
|
@@ -12683,6 +13356,34 @@ declare interface SignedInTestAccount extends E2eAccount {
|
|
|
12683
13356
|
permissions: string[];
|
|
12684
13357
|
}
|
|
12685
13358
|
|
|
13359
|
+
/** The space's sign-in: `signInForm({ redirectTo: '/dashboard' })` — one button through Plitzi, a form for `basic`. */
|
|
13360
|
+
export declare const signInForm: {
|
|
13361
|
+
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
13362
|
+
wrongMessage?: string | undefined;
|
|
13363
|
+
unverifiedMessage?: string | undefined;
|
|
13364
|
+
blockedMessage?: string | undefined;
|
|
13365
|
+
ssoMessage?: string | undefined;
|
|
13366
|
+
networkMessage?: string | undefined;
|
|
13367
|
+
usernameLabel?: string | undefined;
|
|
13368
|
+
passwordLabel?: string | undefined;
|
|
13369
|
+
codeLabel?: string | undefined;
|
|
13370
|
+
submitLabel?: string | undefined;
|
|
13371
|
+
redirectTo?: string | undefined;
|
|
13372
|
+
}>> | undefined): ElementSpec;
|
|
13373
|
+
(props?: ElementProps<Partial<{
|
|
13374
|
+
wrongMessage?: string | undefined;
|
|
13375
|
+
unverifiedMessage?: string | undefined;
|
|
13376
|
+
blockedMessage?: string | undefined;
|
|
13377
|
+
ssoMessage?: string | undefined;
|
|
13378
|
+
networkMessage?: string | undefined;
|
|
13379
|
+
usernameLabel?: string | undefined;
|
|
13380
|
+
passwordLabel?: string | undefined;
|
|
13381
|
+
codeLabel?: string | undefined;
|
|
13382
|
+
submitLabel?: string | undefined;
|
|
13383
|
+
redirectTo?: string | undefined;
|
|
13384
|
+
}>> | undefined): ElementSpec;
|
|
13385
|
+
};
|
|
13386
|
+
|
|
12686
13387
|
/**
|
|
12687
13388
|
* A space with nothing but one page, for a test that is about what is ON it.
|
|
12688
13389
|
*
|