@plitzi/sdk-authoring 0.38.6 → 0.38.7
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 +197 -0
- package/dist/index-src.js +26451 -0
- package/dist/index.d.ts +1082 -362
- package/dist/index.js +2 -24803
- package/dist/node.d.ts +2797 -0
- package/dist/node.js +578 -12
- package/package.json +7 -7
- package/skills/plitzi-authoring/CHEATSHEET.md +2 -2
- package/skills/plitzi-authoring/SKILL.md +3 -2
- package/skills/plitzi-authoring/reference/accessibility.md +2 -2
- package/skills/plitzi-authoring/reference/auth.md +75 -0
- package/skills/plitzi-authoring/reference/authoring-errors.md +18 -4
- package/skills/plitzi-authoring/reference/colours-and-motion.md +3 -2
- package/skills/plitzi-authoring/reference/efficiency.md +5 -2
- package/skills/plitzi-authoring/reference/elements-and-styles.md +23 -23
- package/skills/plitzi-authoring/reference/flows.md +11 -6
- package/skills/plitzi-authoring/reference/layouts.md +15 -18
- package/skills/plitzi-authoring/reference/plugins.md +1 -1
- package/skills/plitzi-authoring/reference/review-checklist.md +2 -1
- package/skills/plitzi-authoring/reference/structure.md +3 -2
- package/dist/index-compactSvg.js +0 -16
package/dist/index.d.ts
CHANGED
|
@@ -278,12 +278,14 @@ export declare type ActionTriggerSpec = (TriggerCommon & {
|
|
|
278
278
|
*
|
|
279
279
|
* The page being shown is \`navigation.currentPageId\`, so an entry lights up when that is one of its pages — one
|
|
280
280
|
* binding, the same on every entry of a menu that lives in a layout, instead of a copy of the menu per page with the
|
|
281
|
-
* right entry styled by hand. Several ids for one entry: a section and
|
|
282
|
-
* 'space-record']\`). Every other page wears \`idle\`, a name the class need not
|
|
281
|
+
* right entry styled by hand. Several ids for one entry: a section and pages of it that are not under its path
|
|
282
|
+
* (\`['spaces', 'space-record']\`, a record at \`/s/:id\`). Every other page wears \`idle\`, a name the class need not
|
|
283
|
+
* declare. A link needs none of this for its own page, nor for the pages under its path: it marks itself current there
|
|
284
|
+
* (\`current: 'section'\`), dressed by its class's \`current\` state.
|
|
283
285
|
*
|
|
284
286
|
* \`\`\`ts
|
|
285
287
|
* const navLink = styles('nav-link', { css: { … }, variants: { active: { color: 'var(--accent)' } } });
|
|
286
|
-
* link({ href: '
|
|
288
|
+
* link({ href: 'spaces', class: navLink, bind: [activeOn(navLink, ['spaces', 'space-record'])] });
|
|
287
289
|
* \`\`\`
|
|
288
290
|
*/
|
|
289
291
|
export declare const activeOn: (cls: ClassRef, pages: string | readonly string[], options?: ActiveOnOptions) => BindingSpec;
|
|
@@ -555,9 +557,12 @@ export declare type AttributesOf<D> = D extends ElementAttributesBrand<infer A>
|
|
|
555
557
|
* The action is `login` and not `authLogin`: the module is already `auth`, and the runtime registers these three
|
|
556
558
|
* under the bare names. The function keeps its prefix only because this surface is exported flat, where a `login`
|
|
557
559
|
* would be too vague to read at an import.
|
|
560
|
+
*
|
|
561
|
+
* What it answered is `ok` and `reason`, not a server action's `status`: named, a later step asks
|
|
562
|
+
* `when({ field: 'signedIn.ok', operator: '=', value: true }, …)` — `whenSucceeded` / `whenFailed` never hold for it.
|
|
558
563
|
*/
|
|
559
564
|
export declare const authLogin: (params: {
|
|
560
|
-
mode
|
|
565
|
+
mode?: "normal";
|
|
561
566
|
username: string;
|
|
562
567
|
password: string;
|
|
563
568
|
} | {
|
|
@@ -684,7 +689,7 @@ export declare const AUTHORING_CODES: {
|
|
|
684
689
|
readonly 'notifications-shape': {
|
|
685
690
|
readonly kind: "refused";
|
|
686
691
|
readonly means: "`notifications` with a field it does not have, or a value that is not one CSS value";
|
|
687
|
-
readonly fix: "the
|
|
692
|
+
readonly fix: "the field it suggests, or one it lists; one CSS value, like 'var(--card)', '12px' or '500'";
|
|
688
693
|
};
|
|
689
694
|
readonly 'unknown-field': {
|
|
690
695
|
readonly kind: "refused";
|
|
@@ -781,6 +786,11 @@ export declare const AUTHORING_CODES: {
|
|
|
781
786
|
readonly means: "a link whose `hash` no element on the page it goes to carries — it would land at the top";
|
|
782
787
|
readonly fix: "the anchor the message lists, or give the section that `anchor`";
|
|
783
788
|
};
|
|
789
|
+
readonly 'link-current-section': {
|
|
790
|
+
readonly kind: "warned";
|
|
791
|
+
readonly means: "`current: 'section'` on a link that is never current (an external one) or current everywhere (to `/`)";
|
|
792
|
+
readonly fix: "leave `current` out — `'section'` is for a link to a section's own page, `/automations/runs`";
|
|
793
|
+
};
|
|
784
794
|
readonly 'id-invalid': {
|
|
785
795
|
readonly kind: "refused";
|
|
786
796
|
readonly means: "an id a binding, a template or a test cannot name";
|
|
@@ -816,6 +826,11 @@ export declare const AUTHORING_CODES: {
|
|
|
816
826
|
readonly means: "a class name the space does not declare";
|
|
817
827
|
readonly fix: "declare it in `classes`, hand the `styles()` declaration itself, or write the rules with `css`";
|
|
818
828
|
};
|
|
829
|
+
readonly 'element-slot-unknown': {
|
|
830
|
+
readonly kind: "refused";
|
|
831
|
+
readonly means: "a `slots` key the element type does not have — its class would dress nothing";
|
|
832
|
+
readonly fix: "one of the slots `plitzi explain <type>` lists; the element itself takes `class`";
|
|
833
|
+
};
|
|
819
834
|
readonly 'class-conflict': {
|
|
820
835
|
readonly kind: "refused";
|
|
821
836
|
readonly means: "two different declarations for one class name";
|
|
@@ -888,8 +903,43 @@ export declare const AUTHORING_CODES: {
|
|
|
888
903
|
};
|
|
889
904
|
readonly 'ancestor-not-class': {
|
|
890
905
|
readonly kind: "refused";
|
|
891
|
-
readonly means: "an ancestor condition keyed by something that is
|
|
892
|
-
readonly fix: "`[card.name]` for a `styles()` declaration";
|
|
906
|
+
readonly means: "an ancestor condition keyed by something that is neither a class name nor `'>'` (the parent)";
|
|
907
|
+
readonly fix: "`[card.name]` for a `styles()` declaration, or `'>'` for the parent whatever it wears";
|
|
908
|
+
};
|
|
909
|
+
readonly 'heading-level-overridden': {
|
|
910
|
+
readonly kind: "warned";
|
|
911
|
+
readonly means: "a markdown's or richText's `heading` slot and a level's (`heading3`) both setting one property, the general class written later in the stylesheet — the level's value is lost";
|
|
912
|
+
readonly fix: "set the property on one of the two: the level slot for that level alone, `heading` for every heading";
|
|
913
|
+
};
|
|
914
|
+
readonly 'style-pseudo-unknown': {
|
|
915
|
+
readonly kind: "refused";
|
|
916
|
+
readonly means: "a pseudo-element a class cannot dress";
|
|
917
|
+
readonly fix: "one of `before`, `after`, `marker`, `placeholder`, `first-letter`, `first-line`, `selection` — without the `::`";
|
|
918
|
+
};
|
|
919
|
+
readonly 'style-pseudo-property': {
|
|
920
|
+
readonly kind: "refused";
|
|
921
|
+
readonly means: "a property the pseudo-element ignores — the browser drops it without a word";
|
|
922
|
+
readonly fix: "one it honours (`::selection` paints, `::marker` and `::placeholder` take text and font), or style the element";
|
|
923
|
+
};
|
|
924
|
+
readonly 'style-pseudo-content': {
|
|
925
|
+
readonly kind: "refused";
|
|
926
|
+
readonly means: "a `content` CSS cannot read — text without its quotes draws nothing — or a `before`/`after` with no `content`, which is not there at all";
|
|
927
|
+
readonly fix: "the text in quotes inside the string — `content: '\"→\"'`, `'\"\"'` for an empty box — or a function such as `counter(step)`";
|
|
928
|
+
};
|
|
929
|
+
readonly 'style-condition-unknown': {
|
|
930
|
+
readonly kind: "refused";
|
|
931
|
+
readonly means: "a condition a class's rules cannot hold under";
|
|
932
|
+
readonly fix: "`motion-reduce`, `motion-safe`, or a container width — `container (max-width: 30rem)`, `container card (min-width: 480px)`";
|
|
933
|
+
};
|
|
934
|
+
readonly 'keyframes-shape': {
|
|
935
|
+
readonly kind: "refused";
|
|
936
|
+
readonly means: "keyframes with a name CSS does not accept or the SDK keeps for itself, or a frame that is not an offset";
|
|
937
|
+
readonly fix: "a plain name (`slide-in`), frames keyed `from`, `to` or a percentage (`'50%'`, `'0%, 100%'`)";
|
|
938
|
+
};
|
|
939
|
+
readonly 'animation-name-unknown': {
|
|
940
|
+
readonly kind: "warned";
|
|
941
|
+
readonly means: "`animation-name` naming keyframes the space does not declare — nothing plays";
|
|
942
|
+
readonly fix: "declare them in the space's `keyframes`, or name one it has";
|
|
893
943
|
};
|
|
894
944
|
readonly 'tablet-rule-skips-mobile': {
|
|
895
945
|
readonly kind: "warned";
|
|
@@ -1236,6 +1286,11 @@ export declare const AUTHORING_CODES: {
|
|
|
1236
1286
|
readonly means: "a computed value read before it is declared, or never declared";
|
|
1237
1287
|
readonly fix: "declare it in `computed`, above the one that reads it";
|
|
1238
1288
|
};
|
|
1289
|
+
readonly 'global-field-unknown': {
|
|
1290
|
+
readonly kind: "refused";
|
|
1291
|
+
readonly means: "a binding, a template or a `when` reading a field `navigation`, `auth` or `theme` never has — `auth.authenticated`";
|
|
1292
|
+
readonly fix: "the field it suggests: `auth.isAuthenticated`, `auth.details.username`, `navigation.queryParams.next`, `theme.resolved`";
|
|
1293
|
+
};
|
|
1239
1294
|
readonly 'component-id': {
|
|
1240
1295
|
readonly kind: "refused";
|
|
1241
1296
|
readonly means: "a component whose `id` is not a name it can be placed by";
|
|
@@ -1298,7 +1353,7 @@ export declare const AUTHORING_CODES: {
|
|
|
1298
1353
|
};
|
|
1299
1354
|
readonly 'flag-unknown': {
|
|
1300
1355
|
readonly kind: "refused";
|
|
1301
|
-
readonly means: "a template reading a flag the space does not declare";
|
|
1356
|
+
readonly means: "a template, a binding or a `when` reading a flag the space does not declare";
|
|
1302
1357
|
readonly fix: "the declared name it suggests, or declare it";
|
|
1303
1358
|
};
|
|
1304
1359
|
readonly 'flag-name': {
|
|
@@ -1356,6 +1411,11 @@ export declare const AUTHORING_CODES: {
|
|
|
1356
1411
|
readonly means: "a step param that does not exist, or a value outside its options";
|
|
1357
1412
|
readonly fix: "the params and values it lists";
|
|
1358
1413
|
};
|
|
1414
|
+
readonly 'element-ids-target': {
|
|
1415
|
+
readonly kind: "refused";
|
|
1416
|
+
readonly means: "a step refreshing containers by id (`invalidateElements`, `invalidateQueries({ elements })`) naming one the space does not have, or one that is not an `apiContainer`";
|
|
1417
|
+
readonly fix: "the id of the `apiContainer` whose data the step changes: `invalidateElements: ['posts']`";
|
|
1418
|
+
};
|
|
1359
1419
|
readonly 'trigger-never-fired': {
|
|
1360
1420
|
readonly kind: "refused";
|
|
1361
1421
|
readonly means: "a flow on an event the element never fires";
|
|
@@ -1426,6 +1486,11 @@ export declare const AUTHORING_CODES: {
|
|
|
1426
1486
|
readonly means: "a `when` comparing a submitted field to `\"\"` — a field nobody typed in is not sent";
|
|
1427
1487
|
readonly fix: "`operator: 'empty'` / `'notEmpty'`";
|
|
1428
1488
|
};
|
|
1489
|
+
readonly 'condition-field-unpublished': {
|
|
1490
|
+
readonly kind: "refused";
|
|
1491
|
+
readonly means: "a `when` asking a step of its flow for a key it never publishes — `whenSucceeded` / `whenFailed` on anything but `runServerAction`";
|
|
1492
|
+
readonly fix: "a key the step publishes (`explain <step>`): after `authLogin`, `when({ field: 'signedIn.ok', operator: '=', value: true }, …)`";
|
|
1493
|
+
};
|
|
1429
1494
|
readonly 'action-without-entry': {
|
|
1430
1495
|
readonly kind: "refused";
|
|
1431
1496
|
readonly means: "an action with no way in, so nothing can start it";
|
|
@@ -1521,10 +1586,15 @@ export declare const AUTHORING_CODES: {
|
|
|
1521
1586
|
readonly means: "`customCss` repeating what the SDK already does for every space — less motion when asked, the theme toggle showing one icon";
|
|
1522
1587
|
readonly fix: "nothing: remove it";
|
|
1523
1588
|
};
|
|
1589
|
+
readonly 'custom-css-slot': {
|
|
1590
|
+
readonly kind: "suggested";
|
|
1591
|
+
readonly means: "a part of a built-in element dressed in `customCss` by the SDK's markup — a form control's `<input>`, a pager's buttons, a heading inside a markdown";
|
|
1592
|
+
readonly fix: "a class on the slot of that part — `slots: { field: input }`, `elements.<type>.slots` — with its states";
|
|
1593
|
+
};
|
|
1524
1594
|
readonly 'custom-css-notifications': {
|
|
1525
1595
|
readonly kind: "suggested";
|
|
1526
|
-
readonly means: "the toasts dressed with `.
|
|
1527
|
-
readonly fix: "`notifications: { font, fontSize,
|
|
1596
|
+
readonly means: "the toasts or their icon, close button or progress bar dressed with `.Toastify__*` rules in `customCss`";
|
|
1597
|
+
readonly fix: "`notifications: { font, fontSize, fontWeight, minHeight, iconSize, closeColor, progressHeight, … }`";
|
|
1528
1598
|
};
|
|
1529
1599
|
readonly 'heavy-animation': {
|
|
1530
1600
|
readonly kind: "suggested";
|
|
@@ -1551,6 +1621,11 @@ export declare const AUTHORING_CODES: {
|
|
|
1551
1621
|
readonly means: "a component no page, layout or other component places";
|
|
1552
1622
|
readonly fix: "remove it from `components`, or place it where it was meant to go";
|
|
1553
1623
|
};
|
|
1624
|
+
readonly 'class-overrides-class': {
|
|
1625
|
+
readonly kind: "suggested";
|
|
1626
|
+
readonly means: "one class's shorthand erasing the longhand another class on the same element writes out — `padding` over `padding-top` — because the stylesheet writes it later: classes in the order they are first met, a breakpoint's rules after the base, never the order of a class list";
|
|
1627
|
+
readonly fix: "the longhands the shorthand means instead of it (`padding-left`, `padding-right`), so it leaves the other class's alone — or `quiet: ['class-overrides-class']` when the shorthand is meant to win";
|
|
1628
|
+
};
|
|
1554
1629
|
};
|
|
1555
1630
|
|
|
1556
1631
|
export declare type AuthoringCode = keyof Codes;
|
|
@@ -2324,6 +2399,18 @@ export declare interface ComponentSpec {
|
|
|
2324
2399
|
root: ElementSpec;
|
|
2325
2400
|
}
|
|
2326
2401
|
|
|
2402
|
+
/** A condition's rules in the object form: the selector's own under it, its states' and its pseudo-elements'. */
|
|
2403
|
+
export declare interface ConditionRulesSpec extends PseudoRulesSpec {
|
|
2404
|
+
pseudos?: PseudosSpec;
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
/**
|
|
2408
|
+
* A selector's rules under a condition of the page rather than of the element: `motion-reduce` (the visitor asked for
|
|
2409
|
+
* less motion), `motion-safe`, or a container's width — `container (max-width: 30rem)`, `container card (min-width:
|
|
2410
|
+
* 480px)` — asked of the nearest ancestor whose class sets `container-type` (and `container-name` to name it).
|
|
2411
|
+
*/
|
|
2412
|
+
export declare type ConditionSpec = CssSpec | ConditionRulesSpec;
|
|
2413
|
+
|
|
2327
2414
|
export declare const container: {
|
|
2328
2415
|
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
2329
2416
|
label?: string | undefined;
|
|
@@ -2465,14 +2552,26 @@ export declare type DataIssueCode = 'binding-reads-nothing' | 'provider-failed';
|
|
|
2465
2552
|
/**
|
|
2466
2553
|
* Every binding of the page onto a provider that has answered, read against that answer: a path that stops before its
|
|
2467
2554
|
* last step — or a list's rows that are not there — is an issue that says where it stopped and what was there; a
|
|
2468
|
-
* provider that failed is one too. A provider still on
|
|
2469
|
-
*
|
|
2555
|
+
* provider that failed is one too. A provider still on its way, or not on this page, is passed over — its answer is not
|
|
2556
|
+
* in yet, or not this page's to judge — and so is what is inside an element the page is not showing (`hidden`).
|
|
2470
2557
|
*/
|
|
2471
|
-
export declare const dataIssues: (schema: Schema, pageId: string, sources: Record<string, unknown
|
|
2558
|
+
export declare const dataIssues: (schema: Schema, pageId: string, sources: Record<string, unknown>, { hidden }?: DataIssuesOptions) => DataReport;
|
|
2559
|
+
|
|
2560
|
+
export declare interface DataIssuesOptions {
|
|
2561
|
+
/**
|
|
2562
|
+
* Elements with a visibility condition of their own that the page is not showing. Nothing inside one is mounted —
|
|
2563
|
+
* its bindings read nothing because nothing reads them — so only its own condition is held against the answer.
|
|
2564
|
+
*/
|
|
2565
|
+
hidden?: ReadonlySet<string>;
|
|
2566
|
+
}
|
|
2472
2567
|
|
|
2473
2568
|
export declare interface DataReport {
|
|
2474
2569
|
issues: DataIssue[];
|
|
2475
|
-
/**
|
|
2570
|
+
/**
|
|
2571
|
+
* Every list of the page whose rows come from a provider: how many rows its source holds, `null` when it reads
|
|
2572
|
+
* nothing. The source, before the binding's transformers: a list that filters or slices them draws fewer — what is
|
|
2573
|
+
* drawn is the page's to count (`plitzi check` does).
|
|
2574
|
+
*/
|
|
2476
2575
|
lists: Record<string, number | null>;
|
|
2477
2576
|
}
|
|
2478
2577
|
|
|
@@ -2707,11 +2806,11 @@ export declare const elementAttributeNames: {
|
|
|
2707
2806
|
readonly heading: readonly ["content", "subType"];
|
|
2708
2807
|
readonly image: readonly ["alt", "decorative", "fetchPriority", "height", "loadMode", "resize", "sizes", "src", "width"];
|
|
2709
2808
|
readonly layoutContainer: readonly ["layout", "layoutContainer", "subType"];
|
|
2710
|
-
readonly link: readonly ["content", "contentPlacement", "hash", "href", "icon", "iconPlacement", "label", "mode", "target"];
|
|
2809
|
+
readonly link: readonly ["content", "contentPlacement", "current", "hash", "href", "icon", "iconPlacement", "label", "mode", "target"];
|
|
2711
2810
|
readonly list: readonly ["itemKey", "items", "source", "subType"];
|
|
2712
2811
|
readonly listItem: readonly [];
|
|
2713
2812
|
readonly loading: readonly [];
|
|
2714
|
-
readonly markdown: readonly ["content"];
|
|
2813
|
+
readonly markdown: readonly ["content", "headingLinks"];
|
|
2715
2814
|
readonly modalContainer: readonly ["autoHideAfterClick", "title"];
|
|
2716
2815
|
readonly nodeHtml: readonly ["about", "accessKey", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-braillelabel", "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoCorrect", "autoFocus", "autoSave", "color", "content", "contentEditable", "contextMenu", "dangerouslySetInnerHTML", "datatype", "defaultChecked", "defaultValue", "dir", "draggable", "enterKeyHint", "exportparts", "hidden", "inert", "inlist", "inputMode", "is", "itemID", "itemProp", "itemRef", "itemScope", "itemType", "lang", "nonce", "onAbort", "onAbortCapture", "onAnimationEnd", "onAnimationEndCapture", "onAnimationIteration", "onAnimationIterationCapture", "onAnimationStart", "onAnimationStartCapture", "onAuxClick", "onAuxClickCapture", "onBeforeInput", "onBeforeInputCapture", "onBeforeToggle", "onBlur", "onBlurCapture", "onCanPlay", "onCanPlayCapture", "onCanPlayThrough", "onCanPlayThroughCapture", "onChange", "onChangeCapture", "onClick", "onClickCapture", "onCompositionEnd", "onCompositionEndCapture", "onCompositionStart", "onCompositionStartCapture", "onCompositionUpdate", "onCompositionUpdateCapture", "onContextMenu", "onContextMenuCapture", "onCopy", "onCopyCapture", "onCut", "onCutCapture", "onDoubleClick", "onDoubleClickCapture", "onDrag", "onDragCapture", "onDragEnd", "onDragEndCapture", "onDragEnter", "onDragEnterCapture", "onDragExit", "onDragExitCapture", "onDragLeave", "onDragLeaveCapture", "onDragOver", "onDragOverCapture", "onDragStart", "onDragStartCapture", "onDrop", "onDropCapture", "onDurationChange", "onDurationChangeCapture", "onEmptied", "onEmptiedCapture", "onEncrypted", "onEncryptedCapture", "onEnded", "onEndedCapture", "onError", "onErrorCapture", "onFocus", "onFocusCapture", "onGotPointerCapture", "onGotPointerCaptureCapture", "onInput", "onInputCapture", "onInvalid", "onInvalidCapture", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyPressCapture", "onKeyUp", "onKeyUpCapture", "onLoad", "onLoadCapture", "onLoadedData", "onLoadedDataCapture", "onLoadedMetadata", "onLoadedMetadataCapture", "onLoadStart", "onLoadStartCapture", "onLostPointerCapture", "onLostPointerCaptureCapture", "onMouseDown", "onMouseDownCapture", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseMoveCapture", "onMouseOut", "onMouseOutCapture", "onMouseOver", "onMouseOverCapture", "onMouseUp", "onMouseUpCapture", "onPaste", "onPasteCapture", "onPause", "onPauseCapture", "onPlay", "onPlayCapture", "onPlaying", "onPlayingCapture", "onPointerCancel", "onPointerCancelCapture", "onPointerDown", "onPointerDownCapture", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerMoveCapture", "onPointerOut", "onPointerOutCapture", "onPointerOver", "onPointerOverCapture", "onPointerUp", "onPointerUpCapture", "onProgress", "onProgressCapture", "onRateChange", "onRateChangeCapture", "onReset", "onResetCapture", "onScroll", "onScrollCapture", "onScrollEnd", "onScrollEndCapture", "onSeeked", "onSeekedCapture", "onSeeking", "onSeekingCapture", "onSelect", "onSelectCapture", "onStalled", "onStalledCapture", "onSubmit", "onSubmitCapture", "onSuspend", "onSuspendCapture", "onTimeUpdate", "onTimeUpdateCapture", "onToggle", "onTouchCancel", "onTouchCancelCapture", "onTouchEnd", "onTouchEndCapture", "onTouchMove", "onTouchMoveCapture", "onTouchStart", "onTouchStartCapture", "onTransitionCancel", "onTransitionCancelCapture", "onTransitionEnd", "onTransitionEndCapture", "onTransitionRun", "onTransitionRunCapture", "onTransitionStart", "onTransitionStartCapture", "onVolumeChange", "onVolumeChangeCapture", "onWaiting", "onWaitingCapture", "onWheel", "onWheelCapture", "part", "popover", "popoverTarget", "popoverTargetAction", "prefix", "property", "radioGroup", "rel", "resource", "results", "rev", "role", "security", "slot", "spellCheck", "style", "subType", "suppressContentEditableWarning", "suppressHydrationWarning", "tabIndex", "title", "translate", "typeof", "unselectable", "vocab"];
|
|
2717
2816
|
readonly notFound: readonly [];
|
|
@@ -3188,7 +3287,19 @@ declare const elementDeclarations: {
|
|
|
3188
3287
|
readonly displayMode: "desktop";
|
|
3189
3288
|
readonly style: {
|
|
3190
3289
|
readonly base: {
|
|
3191
|
-
readonly default: {
|
|
3290
|
+
readonly default: {
|
|
3291
|
+
'padding-top': string;
|
|
3292
|
+
'padding-left': string;
|
|
3293
|
+
'padding-right': string;
|
|
3294
|
+
'padding-bottom': string;
|
|
3295
|
+
cursor: string;
|
|
3296
|
+
'font-size': string;
|
|
3297
|
+
'line-height': string;
|
|
3298
|
+
'border-top-left-radius': string;
|
|
3299
|
+
'border-top-right-radius': string;
|
|
3300
|
+
'border-bottom-left-radius': string;
|
|
3301
|
+
'border-bottom-right-radius': string;
|
|
3302
|
+
};
|
|
3192
3303
|
};
|
|
3193
3304
|
};
|
|
3194
3305
|
readonly subTypes: {
|
|
@@ -3198,17 +3309,17 @@ declare const elementDeclarations: {
|
|
|
3198
3309
|
readonly style: {
|
|
3199
3310
|
readonly base: {
|
|
3200
3311
|
readonly default: {
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3312
|
+
'padding-top': string;
|
|
3313
|
+
'padding-left': string;
|
|
3314
|
+
'padding-right': string;
|
|
3315
|
+
'padding-bottom': string;
|
|
3316
|
+
cursor: string;
|
|
3317
|
+
'font-size': string;
|
|
3318
|
+
'line-height': string;
|
|
3319
|
+
'border-top-left-radius': string;
|
|
3320
|
+
'border-top-right-radius': string;
|
|
3321
|
+
'border-bottom-left-radius': string;
|
|
3322
|
+
'border-bottom-right-radius': string;
|
|
3212
3323
|
};
|
|
3213
3324
|
};
|
|
3214
3325
|
};
|
|
@@ -3219,17 +3330,17 @@ declare const elementDeclarations: {
|
|
|
3219
3330
|
readonly style: {
|
|
3220
3331
|
readonly base: {
|
|
3221
3332
|
readonly default: {
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3333
|
+
'padding-top': string;
|
|
3334
|
+
'padding-left': string;
|
|
3335
|
+
'padding-right': string;
|
|
3336
|
+
'padding-bottom': string;
|
|
3337
|
+
cursor: string;
|
|
3338
|
+
'font-size': string;
|
|
3339
|
+
'line-height': string;
|
|
3340
|
+
'border-top-left-radius': string;
|
|
3341
|
+
'border-top-right-radius': string;
|
|
3342
|
+
'border-bottom-left-radius': string;
|
|
3343
|
+
'border-bottom-right-radius': string;
|
|
3233
3344
|
};
|
|
3234
3345
|
};
|
|
3235
3346
|
};
|
|
@@ -3240,17 +3351,17 @@ declare const elementDeclarations: {
|
|
|
3240
3351
|
readonly style: {
|
|
3241
3352
|
readonly base: {
|
|
3242
3353
|
readonly default: {
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3354
|
+
'padding-top': string;
|
|
3355
|
+
'padding-left': string;
|
|
3356
|
+
'padding-right': string;
|
|
3357
|
+
'padding-bottom': string;
|
|
3358
|
+
cursor: string;
|
|
3359
|
+
'font-size': string;
|
|
3360
|
+
'line-height': string;
|
|
3361
|
+
'border-top-left-radius': string;
|
|
3362
|
+
'border-top-right-radius': string;
|
|
3363
|
+
'border-bottom-left-radius': string;
|
|
3364
|
+
'border-bottom-right-radius': string;
|
|
3254
3365
|
};
|
|
3255
3366
|
};
|
|
3256
3367
|
};
|
|
@@ -3439,7 +3550,10 @@ declare const elementDeclarations: {
|
|
|
3439
3550
|
readonly displayMode: "desktop";
|
|
3440
3551
|
readonly style: {
|
|
3441
3552
|
readonly base: {
|
|
3442
|
-
readonly default: {
|
|
3553
|
+
readonly default: {
|
|
3554
|
+
readonly position: "relative";
|
|
3555
|
+
readonly overflow: "hidden";
|
|
3556
|
+
};
|
|
3443
3557
|
};
|
|
3444
3558
|
};
|
|
3445
3559
|
};
|
|
@@ -3684,7 +3798,11 @@ declare const elementDeclarations: {
|
|
|
3684
3798
|
readonly displayMode: "desktop";
|
|
3685
3799
|
readonly style: {
|
|
3686
3800
|
readonly base: {
|
|
3687
|
-
readonly default: {
|
|
3801
|
+
readonly default: {
|
|
3802
|
+
readonly display: "flex";
|
|
3803
|
+
readonly 'justify-content': "center";
|
|
3804
|
+
readonly 'align-items': "center";
|
|
3805
|
+
};
|
|
3688
3806
|
};
|
|
3689
3807
|
};
|
|
3690
3808
|
};
|
|
@@ -3829,11 +3947,12 @@ declare const elementDeclarations: {
|
|
|
3829
3947
|
readonly style: {
|
|
3830
3948
|
readonly base: {
|
|
3831
3949
|
readonly default: {
|
|
3832
|
-
readonly position: "
|
|
3950
|
+
readonly position: "fixed";
|
|
3833
3951
|
readonly top: "0";
|
|
3834
3952
|
readonly bottom: "0";
|
|
3835
3953
|
readonly left: "0";
|
|
3836
3954
|
readonly right: "0";
|
|
3955
|
+
readonly 'z-index': "200";
|
|
3837
3956
|
};
|
|
3838
3957
|
};
|
|
3839
3958
|
readonly backgroundContainer: {
|
|
@@ -3843,6 +3962,7 @@ declare const elementDeclarations: {
|
|
|
3843
3962
|
readonly left: "0";
|
|
3844
3963
|
readonly top: "0";
|
|
3845
3964
|
readonly position: "absolute";
|
|
3965
|
+
readonly 'z-index': "210";
|
|
3846
3966
|
readonly 'background-color': "black";
|
|
3847
3967
|
readonly opacity: "0.5";
|
|
3848
3968
|
};
|
|
@@ -3854,8 +3974,11 @@ declare const elementDeclarations: {
|
|
|
3854
3974
|
readonly position: "absolute";
|
|
3855
3975
|
readonly top: "50%";
|
|
3856
3976
|
readonly left: "50%";
|
|
3977
|
+
readonly 'z-index': "250";
|
|
3857
3978
|
readonly width: "500px";
|
|
3858
|
-
readonly
|
|
3979
|
+
readonly 'max-width': "calc(100vw - 32px)";
|
|
3980
|
+
readonly 'max-height': "calc(100dvh - 32px)";
|
|
3981
|
+
readonly overflow: "auto";
|
|
3859
3982
|
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
3860
3983
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
3861
3984
|
readonly 'padding-top': "20px";
|
|
@@ -3880,18 +4003,32 @@ declare const elementDeclarations: {
|
|
|
3880
4003
|
readonly 'font-size': "20px";
|
|
3881
4004
|
readonly 'font-weight': "500";
|
|
3882
4005
|
readonly 'line-height': "1.2";
|
|
3883
|
-
readonly color: "#333";
|
|
3884
4006
|
};
|
|
3885
4007
|
};
|
|
3886
4008
|
readonly headerCloseButton: {
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
4009
|
+
default: {
|
|
4010
|
+
height: string;
|
|
4011
|
+
width: string;
|
|
4012
|
+
'padding-top': string;
|
|
4013
|
+
'padding-bottom': string;
|
|
4014
|
+
'padding-left': string;
|
|
4015
|
+
'padding-right': string;
|
|
4016
|
+
display: string;
|
|
4017
|
+
'justify-content': string;
|
|
4018
|
+
'align-items': string;
|
|
4019
|
+
'flex-shrink': string;
|
|
4020
|
+
'border-top-left-radius': string;
|
|
4021
|
+
'border-top-right-radius': string;
|
|
4022
|
+
'border-bottom-left-radius': string;
|
|
4023
|
+
'border-bottom-right-radius': string;
|
|
4024
|
+
'background-color': string;
|
|
4025
|
+
color: string;
|
|
4026
|
+
'font-style': string;
|
|
4027
|
+
'font-weight': string;
|
|
4028
|
+
'line-height': string;
|
|
4029
|
+
'font-family': string;
|
|
4030
|
+
'font-size': string;
|
|
4031
|
+
cursor: string;
|
|
3895
4032
|
};
|
|
3896
4033
|
};
|
|
3897
4034
|
readonly bodyContainer: {
|
|
@@ -3899,7 +4036,7 @@ declare const elementDeclarations: {
|
|
|
3899
4036
|
readonly display: "flex";
|
|
3900
4037
|
readonly 'flex-direction': "column";
|
|
3901
4038
|
readonly 'flex-grow': "1";
|
|
3902
|
-
readonly 'flex-basis': "
|
|
4039
|
+
readonly 'flex-basis': "auto";
|
|
3903
4040
|
};
|
|
3904
4041
|
};
|
|
3905
4042
|
readonly footerContainer: {
|
|
@@ -3909,6 +4046,47 @@ declare const elementDeclarations: {
|
|
|
3909
4046
|
readonly 'margin-top': "8px";
|
|
3910
4047
|
};
|
|
3911
4048
|
};
|
|
4049
|
+
readonly acceptButton: {
|
|
4050
|
+
readonly default: {
|
|
4051
|
+
'min-height': string;
|
|
4052
|
+
'min-width': string;
|
|
4053
|
+
'padding-top': string;
|
|
4054
|
+
'padding-bottom': string;
|
|
4055
|
+
'padding-left': string;
|
|
4056
|
+
'padding-right': string;
|
|
4057
|
+
'border-top-left-radius': string;
|
|
4058
|
+
'border-top-right-radius': string;
|
|
4059
|
+
'border-bottom-left-radius': string;
|
|
4060
|
+
'border-bottom-right-radius': string;
|
|
4061
|
+
'background-color': string;
|
|
4062
|
+
color: string;
|
|
4063
|
+
'line-height': string;
|
|
4064
|
+
'font-size': string;
|
|
4065
|
+
outline: string;
|
|
4066
|
+
cursor: string;
|
|
4067
|
+
};
|
|
4068
|
+
};
|
|
4069
|
+
readonly cancelButton: {
|
|
4070
|
+
readonly default: {
|
|
4071
|
+
readonly 'margin-left': "12px";
|
|
4072
|
+
readonly 'min-height': string;
|
|
4073
|
+
readonly 'min-width': string;
|
|
4074
|
+
readonly 'padding-top': string;
|
|
4075
|
+
readonly 'padding-bottom': string;
|
|
4076
|
+
readonly 'padding-left': string;
|
|
4077
|
+
readonly 'padding-right': string;
|
|
4078
|
+
readonly 'border-top-left-radius': string;
|
|
4079
|
+
readonly 'border-top-right-radius': string;
|
|
4080
|
+
readonly 'border-bottom-left-radius': string;
|
|
4081
|
+
readonly 'border-bottom-right-radius': string;
|
|
4082
|
+
readonly 'background-color': string;
|
|
4083
|
+
readonly color: string;
|
|
4084
|
+
readonly 'line-height': string;
|
|
4085
|
+
readonly 'font-size': string;
|
|
4086
|
+
readonly outline: string;
|
|
4087
|
+
readonly cursor: string;
|
|
4088
|
+
};
|
|
4089
|
+
};
|
|
3912
4090
|
};
|
|
3913
4091
|
readonly subTypes: {};
|
|
3914
4092
|
};
|
|
@@ -4047,6 +4225,8 @@ declare const elementDeclarations: {
|
|
|
4047
4225
|
readonly base: {
|
|
4048
4226
|
readonly default: {
|
|
4049
4227
|
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
4228
|
+
readonly 'min-height': "24px";
|
|
4229
|
+
readonly 'min-width': "24px";
|
|
4050
4230
|
readonly 'padding-right': "4px";
|
|
4051
4231
|
readonly 'padding-bottom': "4px";
|
|
4052
4232
|
readonly 'padding-left': "4px";
|
|
@@ -4364,7 +4544,10 @@ declare const elementDeclarations: {
|
|
|
4364
4544
|
readonly styleSelectors: {
|
|
4365
4545
|
readonly base: "";
|
|
4366
4546
|
readonly label: "";
|
|
4547
|
+
readonly requiredMark: "";
|
|
4367
4548
|
readonly input: "";
|
|
4549
|
+
readonly field: "";
|
|
4550
|
+
readonly icon: "";
|
|
4368
4551
|
readonly error: "";
|
|
4369
4552
|
};
|
|
4370
4553
|
readonly initialState: {
|
|
@@ -4399,15 +4582,11 @@ declare const elementDeclarations: {
|
|
|
4399
4582
|
};
|
|
4400
4583
|
readonly subTypes: {
|
|
4401
4584
|
readonly hidden: {
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
readonly default: {};
|
|
4408
|
-
};
|
|
4409
|
-
readonly label: {
|
|
4410
|
-
readonly default: {
|
|
4585
|
+
name: string;
|
|
4586
|
+
displayMode: "desktop";
|
|
4587
|
+
style: {
|
|
4588
|
+
label: {
|
|
4589
|
+
default: {
|
|
4411
4590
|
'margin-bottom': string;
|
|
4412
4591
|
display: string;
|
|
4413
4592
|
cursor: string;
|
|
@@ -4418,56 +4597,125 @@ declare const elementDeclarations: {
|
|
|
4418
4597
|
'user-select': string;
|
|
4419
4598
|
};
|
|
4420
4599
|
};
|
|
4421
|
-
|
|
4422
|
-
|
|
4600
|
+
requiredMark: {
|
|
4601
|
+
default: {
|
|
4602
|
+
color: string;
|
|
4603
|
+
'margin-left': string;
|
|
4604
|
+
};
|
|
4605
|
+
};
|
|
4606
|
+
error: {
|
|
4607
|
+
default: {
|
|
4423
4608
|
display: string;
|
|
4424
4609
|
color: string;
|
|
4425
4610
|
'margin-top': string;
|
|
4426
4611
|
};
|
|
4427
4612
|
};
|
|
4613
|
+
icon?: {
|
|
4614
|
+
default: Record<string, string>;
|
|
4615
|
+
} | undefined;
|
|
4616
|
+
field?: {
|
|
4617
|
+
default: Record<string, string>;
|
|
4618
|
+
} | undefined;
|
|
4619
|
+
base: {
|
|
4620
|
+
default: {};
|
|
4621
|
+
};
|
|
4622
|
+
input: {
|
|
4623
|
+
default: Record<string, string>;
|
|
4624
|
+
};
|
|
4428
4625
|
};
|
|
4429
4626
|
};
|
|
4430
4627
|
readonly text: {
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
readonly input: {
|
|
4438
|
-
readonly default: {
|
|
4439
|
-
width: string;
|
|
4628
|
+
name: string;
|
|
4629
|
+
displayMode: "desktop";
|
|
4630
|
+
style: {
|
|
4631
|
+
label: {
|
|
4632
|
+
default: {
|
|
4633
|
+
'margin-bottom': string;
|
|
4440
4634
|
display: string;
|
|
4441
|
-
|
|
4442
|
-
'
|
|
4443
|
-
'
|
|
4444
|
-
'
|
|
4445
|
-
|
|
4446
|
-
'border-bottom-color': string;
|
|
4447
|
-
'border-bottom-style': string;
|
|
4448
|
-
'border-bottom-width': string;
|
|
4449
|
-
'border-bottom-right-radius': string;
|
|
4450
|
-
'border-bottom-left-radius': string;
|
|
4451
|
-
'border-top-left-radius': string;
|
|
4452
|
-
'border-left-color': string;
|
|
4453
|
-
'border-left-style': string;
|
|
4454
|
-
'border-left-width': string;
|
|
4455
|
-
'border-top-color': string;
|
|
4456
|
-
'border-top-style': string;
|
|
4457
|
-
'border-top-width': string;
|
|
4635
|
+
cursor: string;
|
|
4636
|
+
'font-weight': string;
|
|
4637
|
+
'font-size': string;
|
|
4638
|
+
'line-height': string;
|
|
4639
|
+
color: string;
|
|
4458
4640
|
'user-select': string;
|
|
4641
|
+
};
|
|
4642
|
+
};
|
|
4643
|
+
requiredMark: {
|
|
4644
|
+
default: {
|
|
4645
|
+
color: string;
|
|
4646
|
+
'margin-left': string;
|
|
4647
|
+
};
|
|
4648
|
+
};
|
|
4649
|
+
error: {
|
|
4650
|
+
default: {
|
|
4651
|
+
display: string;
|
|
4652
|
+
color: string;
|
|
4653
|
+
'margin-top': string;
|
|
4654
|
+
};
|
|
4655
|
+
};
|
|
4656
|
+
icon?: {
|
|
4657
|
+
default: Record<string, string>;
|
|
4658
|
+
} | undefined;
|
|
4659
|
+
field?: {
|
|
4660
|
+
default: Record<string, string>;
|
|
4661
|
+
} | undefined;
|
|
4662
|
+
base: {
|
|
4663
|
+
default: {};
|
|
4664
|
+
};
|
|
4665
|
+
input: {
|
|
4666
|
+
default: Record<string, string>;
|
|
4667
|
+
};
|
|
4668
|
+
};
|
|
4669
|
+
};
|
|
4670
|
+
readonly number: {
|
|
4671
|
+
name: string;
|
|
4672
|
+
displayMode: "desktop";
|
|
4673
|
+
style: {
|
|
4674
|
+
label: {
|
|
4675
|
+
default: {
|
|
4676
|
+
'margin-bottom': string;
|
|
4677
|
+
display: string;
|
|
4678
|
+
cursor: string;
|
|
4679
|
+
'font-weight': string;
|
|
4459
4680
|
'font-size': string;
|
|
4460
|
-
'padding-left': string;
|
|
4461
|
-
'padding-right': string;
|
|
4462
|
-
'padding-top': string;
|
|
4463
|
-
'padding-bottom': string;
|
|
4464
4681
|
'line-height': string;
|
|
4465
|
-
|
|
4466
|
-
|
|
4682
|
+
color: string;
|
|
4683
|
+
'user-select': string;
|
|
4467
4684
|
};
|
|
4468
4685
|
};
|
|
4469
|
-
|
|
4470
|
-
|
|
4686
|
+
requiredMark: {
|
|
4687
|
+
default: {
|
|
4688
|
+
color: string;
|
|
4689
|
+
'margin-left': string;
|
|
4690
|
+
};
|
|
4691
|
+
};
|
|
4692
|
+
error: {
|
|
4693
|
+
default: {
|
|
4694
|
+
display: string;
|
|
4695
|
+
color: string;
|
|
4696
|
+
'margin-top': string;
|
|
4697
|
+
};
|
|
4698
|
+
};
|
|
4699
|
+
icon?: {
|
|
4700
|
+
default: Record<string, string>;
|
|
4701
|
+
} | undefined;
|
|
4702
|
+
field?: {
|
|
4703
|
+
default: Record<string, string>;
|
|
4704
|
+
} | undefined;
|
|
4705
|
+
base: {
|
|
4706
|
+
default: {};
|
|
4707
|
+
};
|
|
4708
|
+
input: {
|
|
4709
|
+
default: Record<string, string>;
|
|
4710
|
+
};
|
|
4711
|
+
};
|
|
4712
|
+
};
|
|
4713
|
+
readonly email: {
|
|
4714
|
+
name: string;
|
|
4715
|
+
displayMode: "desktop";
|
|
4716
|
+
style: {
|
|
4717
|
+
label: {
|
|
4718
|
+
default: {
|
|
4471
4719
|
'margin-bottom': string;
|
|
4472
4720
|
display: string;
|
|
4473
4721
|
cursor: string;
|
|
@@ -4478,56 +4726,82 @@ declare const elementDeclarations: {
|
|
|
4478
4726
|
'user-select': string;
|
|
4479
4727
|
};
|
|
4480
4728
|
};
|
|
4481
|
-
|
|
4482
|
-
|
|
4729
|
+
requiredMark: {
|
|
4730
|
+
default: {
|
|
4731
|
+
color: string;
|
|
4732
|
+
'margin-left': string;
|
|
4733
|
+
};
|
|
4734
|
+
};
|
|
4735
|
+
error: {
|
|
4736
|
+
default: {
|
|
4483
4737
|
display: string;
|
|
4484
4738
|
color: string;
|
|
4485
4739
|
'margin-top': string;
|
|
4486
4740
|
};
|
|
4487
4741
|
};
|
|
4742
|
+
icon?: {
|
|
4743
|
+
default: Record<string, string>;
|
|
4744
|
+
} | undefined;
|
|
4745
|
+
field?: {
|
|
4746
|
+
default: Record<string, string>;
|
|
4747
|
+
} | undefined;
|
|
4748
|
+
base: {
|
|
4749
|
+
default: {};
|
|
4750
|
+
};
|
|
4751
|
+
input: {
|
|
4752
|
+
default: Record<string, string>;
|
|
4753
|
+
};
|
|
4488
4754
|
};
|
|
4489
4755
|
};
|
|
4490
4756
|
readonly password: {
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
readonly input: {
|
|
4498
|
-
readonly default: {
|
|
4499
|
-
width: string;
|
|
4757
|
+
name: string;
|
|
4758
|
+
displayMode: "desktop";
|
|
4759
|
+
style: {
|
|
4760
|
+
label: {
|
|
4761
|
+
default: {
|
|
4762
|
+
'margin-bottom': string;
|
|
4500
4763
|
display: string;
|
|
4501
|
-
|
|
4502
|
-
'
|
|
4503
|
-
'border-right-style': string;
|
|
4504
|
-
'border-right-width': string;
|
|
4505
|
-
'border-top-right-radius': string;
|
|
4506
|
-
'border-bottom-color': string;
|
|
4507
|
-
'border-bottom-style': string;
|
|
4508
|
-
'border-bottom-width': string;
|
|
4509
|
-
'border-bottom-right-radius': string;
|
|
4510
|
-
'border-bottom-left-radius': string;
|
|
4511
|
-
'border-top-left-radius': string;
|
|
4512
|
-
'border-left-color': string;
|
|
4513
|
-
'border-left-style': string;
|
|
4514
|
-
'border-left-width': string;
|
|
4515
|
-
'border-top-color': string;
|
|
4516
|
-
'border-top-style': string;
|
|
4517
|
-
'border-top-width': string;
|
|
4518
|
-
'user-select': string;
|
|
4764
|
+
cursor: string;
|
|
4765
|
+
'font-weight': string;
|
|
4519
4766
|
'font-size': string;
|
|
4520
|
-
'padding-left': string;
|
|
4521
|
-
'padding-right': string;
|
|
4522
|
-
'padding-top': string;
|
|
4523
|
-
'padding-bottom': string;
|
|
4524
4767
|
'line-height': string;
|
|
4525
|
-
|
|
4526
|
-
|
|
4768
|
+
color: string;
|
|
4769
|
+
'user-select': string;
|
|
4527
4770
|
};
|
|
4528
4771
|
};
|
|
4529
|
-
|
|
4530
|
-
|
|
4772
|
+
requiredMark: {
|
|
4773
|
+
default: {
|
|
4774
|
+
color: string;
|
|
4775
|
+
'margin-left': string;
|
|
4776
|
+
};
|
|
4777
|
+
};
|
|
4778
|
+
error: {
|
|
4779
|
+
default: {
|
|
4780
|
+
display: string;
|
|
4781
|
+
color: string;
|
|
4782
|
+
'margin-top': string;
|
|
4783
|
+
};
|
|
4784
|
+
};
|
|
4785
|
+
icon?: {
|
|
4786
|
+
default: Record<string, string>;
|
|
4787
|
+
} | undefined;
|
|
4788
|
+
field?: {
|
|
4789
|
+
default: Record<string, string>;
|
|
4790
|
+
} | undefined;
|
|
4791
|
+
base: {
|
|
4792
|
+
default: {};
|
|
4793
|
+
};
|
|
4794
|
+
input: {
|
|
4795
|
+
default: Record<string, string>;
|
|
4796
|
+
};
|
|
4797
|
+
};
|
|
4798
|
+
};
|
|
4799
|
+
readonly search: {
|
|
4800
|
+
name: string;
|
|
4801
|
+
displayMode: "desktop";
|
|
4802
|
+
style: {
|
|
4803
|
+
label: {
|
|
4804
|
+
default: {
|
|
4531
4805
|
'margin-bottom': string;
|
|
4532
4806
|
display: string;
|
|
4533
4807
|
cursor: string;
|
|
@@ -4538,56 +4812,168 @@ declare const elementDeclarations: {
|
|
|
4538
4812
|
'user-select': string;
|
|
4539
4813
|
};
|
|
4540
4814
|
};
|
|
4541
|
-
|
|
4542
|
-
|
|
4815
|
+
requiredMark: {
|
|
4816
|
+
default: {
|
|
4817
|
+
color: string;
|
|
4818
|
+
'margin-left': string;
|
|
4819
|
+
};
|
|
4820
|
+
};
|
|
4821
|
+
error: {
|
|
4822
|
+
default: {
|
|
4543
4823
|
display: string;
|
|
4544
4824
|
color: string;
|
|
4545
4825
|
'margin-top': string;
|
|
4546
4826
|
};
|
|
4547
4827
|
};
|
|
4828
|
+
icon?: {
|
|
4829
|
+
default: Record<string, string>;
|
|
4830
|
+
} | undefined;
|
|
4831
|
+
field?: {
|
|
4832
|
+
default: Record<string, string>;
|
|
4833
|
+
} | undefined;
|
|
4834
|
+
base: {
|
|
4835
|
+
default: {};
|
|
4836
|
+
};
|
|
4837
|
+
input: {
|
|
4838
|
+
default: Record<string, string>;
|
|
4839
|
+
};
|
|
4548
4840
|
};
|
|
4549
4841
|
};
|
|
4550
|
-
readonly
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4842
|
+
readonly url: {
|
|
4843
|
+
name: string;
|
|
4844
|
+
displayMode: "desktop";
|
|
4845
|
+
style: {
|
|
4846
|
+
label: {
|
|
4847
|
+
default: {
|
|
4848
|
+
'margin-bottom': string;
|
|
4849
|
+
display: string;
|
|
4850
|
+
cursor: string;
|
|
4851
|
+
'font-weight': string;
|
|
4852
|
+
'font-size': string;
|
|
4853
|
+
'line-height': string;
|
|
4854
|
+
color: string;
|
|
4855
|
+
'user-select': string;
|
|
4856
|
+
};
|
|
4556
4857
|
};
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4858
|
+
requiredMark: {
|
|
4859
|
+
default: {
|
|
4860
|
+
color: string;
|
|
4861
|
+
'margin-left': string;
|
|
4862
|
+
};
|
|
4863
|
+
};
|
|
4864
|
+
error: {
|
|
4865
|
+
default: {
|
|
4560
4866
|
display: string;
|
|
4561
|
-
|
|
4562
|
-
'
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4867
|
+
color: string;
|
|
4868
|
+
'margin-top': string;
|
|
4869
|
+
};
|
|
4870
|
+
};
|
|
4871
|
+
icon?: {
|
|
4872
|
+
default: Record<string, string>;
|
|
4873
|
+
} | undefined;
|
|
4874
|
+
field?: {
|
|
4875
|
+
default: Record<string, string>;
|
|
4876
|
+
} | undefined;
|
|
4877
|
+
base: {
|
|
4878
|
+
default: {};
|
|
4879
|
+
};
|
|
4880
|
+
input: {
|
|
4881
|
+
default: Record<string, string>;
|
|
4882
|
+
};
|
|
4883
|
+
};
|
|
4884
|
+
};
|
|
4885
|
+
readonly tel: {
|
|
4886
|
+
name: string;
|
|
4887
|
+
displayMode: "desktop";
|
|
4888
|
+
style: {
|
|
4889
|
+
label: {
|
|
4890
|
+
default: {
|
|
4891
|
+
'margin-bottom': string;
|
|
4892
|
+
display: string;
|
|
4893
|
+
cursor: string;
|
|
4894
|
+
'font-weight': string;
|
|
4895
|
+
'font-size': string;
|
|
4896
|
+
'line-height': string;
|
|
4897
|
+
color: string;
|
|
4578
4898
|
'user-select': string;
|
|
4899
|
+
};
|
|
4900
|
+
};
|
|
4901
|
+
requiredMark: {
|
|
4902
|
+
default: {
|
|
4903
|
+
color: string;
|
|
4904
|
+
'margin-left': string;
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
error: {
|
|
4908
|
+
default: {
|
|
4909
|
+
display: string;
|
|
4910
|
+
color: string;
|
|
4911
|
+
'margin-top': string;
|
|
4912
|
+
};
|
|
4913
|
+
};
|
|
4914
|
+
icon?: {
|
|
4915
|
+
default: Record<string, string>;
|
|
4916
|
+
} | undefined;
|
|
4917
|
+
field?: {
|
|
4918
|
+
default: Record<string, string>;
|
|
4919
|
+
} | undefined;
|
|
4920
|
+
base: {
|
|
4921
|
+
default: {};
|
|
4922
|
+
};
|
|
4923
|
+
input: {
|
|
4924
|
+
default: Record<string, string>;
|
|
4925
|
+
};
|
|
4926
|
+
};
|
|
4927
|
+
};
|
|
4928
|
+
readonly date: {
|
|
4929
|
+
name: string;
|
|
4930
|
+
displayMode: "desktop";
|
|
4931
|
+
style: {
|
|
4932
|
+
label: {
|
|
4933
|
+
default: {
|
|
4934
|
+
'margin-bottom': string;
|
|
4935
|
+
display: string;
|
|
4936
|
+
cursor: string;
|
|
4937
|
+
'font-weight': string;
|
|
4579
4938
|
'font-size': string;
|
|
4580
|
-
'padding-left': string;
|
|
4581
|
-
'padding-right': string;
|
|
4582
|
-
'padding-top': string;
|
|
4583
|
-
'padding-bottom': string;
|
|
4584
4939
|
'line-height': string;
|
|
4585
|
-
|
|
4586
|
-
|
|
4940
|
+
color: string;
|
|
4941
|
+
'user-select': string;
|
|
4587
4942
|
};
|
|
4588
4943
|
};
|
|
4589
|
-
|
|
4590
|
-
|
|
4944
|
+
requiredMark: {
|
|
4945
|
+
default: {
|
|
4946
|
+
color: string;
|
|
4947
|
+
'margin-left': string;
|
|
4948
|
+
};
|
|
4949
|
+
};
|
|
4950
|
+
error: {
|
|
4951
|
+
default: {
|
|
4952
|
+
display: string;
|
|
4953
|
+
color: string;
|
|
4954
|
+
'margin-top': string;
|
|
4955
|
+
};
|
|
4956
|
+
};
|
|
4957
|
+
icon?: {
|
|
4958
|
+
default: Record<string, string>;
|
|
4959
|
+
} | undefined;
|
|
4960
|
+
field?: {
|
|
4961
|
+
default: Record<string, string>;
|
|
4962
|
+
} | undefined;
|
|
4963
|
+
base: {
|
|
4964
|
+
default: {};
|
|
4965
|
+
};
|
|
4966
|
+
input: {
|
|
4967
|
+
default: Record<string, string>;
|
|
4968
|
+
};
|
|
4969
|
+
};
|
|
4970
|
+
};
|
|
4971
|
+
readonly time: {
|
|
4972
|
+
name: string;
|
|
4973
|
+
displayMode: "desktop";
|
|
4974
|
+
style: {
|
|
4975
|
+
label: {
|
|
4976
|
+
default: {
|
|
4591
4977
|
'margin-bottom': string;
|
|
4592
4978
|
display: string;
|
|
4593
4979
|
cursor: string;
|
|
@@ -4598,56 +4984,39 @@ declare const elementDeclarations: {
|
|
|
4598
4984
|
'user-select': string;
|
|
4599
4985
|
};
|
|
4600
4986
|
};
|
|
4601
|
-
|
|
4602
|
-
|
|
4987
|
+
requiredMark: {
|
|
4988
|
+
default: {
|
|
4989
|
+
color: string;
|
|
4990
|
+
'margin-left': string;
|
|
4991
|
+
};
|
|
4992
|
+
};
|
|
4993
|
+
error: {
|
|
4994
|
+
default: {
|
|
4603
4995
|
display: string;
|
|
4604
4996
|
color: string;
|
|
4605
4997
|
'margin-top': string;
|
|
4606
4998
|
};
|
|
4607
4999
|
};
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
5000
|
+
icon?: {
|
|
5001
|
+
default: Record<string, string>;
|
|
5002
|
+
} | undefined;
|
|
5003
|
+
field?: {
|
|
5004
|
+
default: Record<string, string>;
|
|
5005
|
+
} | undefined;
|
|
5006
|
+
base: {
|
|
5007
|
+
default: {};
|
|
4616
5008
|
};
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
width: string;
|
|
4620
|
-
display: string;
|
|
4621
|
-
'align-items': string;
|
|
4622
|
-
'border-right-color': string;
|
|
4623
|
-
'border-right-style': string;
|
|
4624
|
-
'border-right-width': string;
|
|
4625
|
-
'border-top-right-radius': string;
|
|
4626
|
-
'border-bottom-color': string;
|
|
4627
|
-
'border-bottom-style': string;
|
|
4628
|
-
'border-bottom-width': string;
|
|
4629
|
-
'border-bottom-right-radius': string;
|
|
4630
|
-
'border-bottom-left-radius': string;
|
|
4631
|
-
'border-top-left-radius': string;
|
|
4632
|
-
'border-left-color': string;
|
|
4633
|
-
'border-left-style': string;
|
|
4634
|
-
'border-left-width': string;
|
|
4635
|
-
'border-top-color': string;
|
|
4636
|
-
'border-top-style': string;
|
|
4637
|
-
'border-top-width': string;
|
|
4638
|
-
'user-select': string;
|
|
4639
|
-
'font-size': string;
|
|
4640
|
-
'padding-left': string;
|
|
4641
|
-
'padding-right': string;
|
|
4642
|
-
'padding-top': string;
|
|
4643
|
-
'padding-bottom': string;
|
|
4644
|
-
'line-height': string;
|
|
4645
|
-
outline: string;
|
|
4646
|
-
position: string;
|
|
4647
|
-
};
|
|
5009
|
+
input: {
|
|
5010
|
+
default: Record<string, string>;
|
|
4648
5011
|
};
|
|
4649
|
-
|
|
4650
|
-
|
|
5012
|
+
};
|
|
5013
|
+
};
|
|
5014
|
+
readonly color: {
|
|
5015
|
+
name: string;
|
|
5016
|
+
displayMode: "desktop";
|
|
5017
|
+
style: {
|
|
5018
|
+
label: {
|
|
5019
|
+
default: {
|
|
4651
5020
|
'margin-bottom': string;
|
|
4652
5021
|
display: string;
|
|
4653
5022
|
cursor: string;
|
|
@@ -4658,56 +5027,82 @@ declare const elementDeclarations: {
|
|
|
4658
5027
|
'user-select': string;
|
|
4659
5028
|
};
|
|
4660
5029
|
};
|
|
4661
|
-
|
|
4662
|
-
|
|
5030
|
+
requiredMark: {
|
|
5031
|
+
default: {
|
|
5032
|
+
color: string;
|
|
5033
|
+
'margin-left': string;
|
|
5034
|
+
};
|
|
5035
|
+
};
|
|
5036
|
+
error: {
|
|
5037
|
+
default: {
|
|
4663
5038
|
display: string;
|
|
4664
5039
|
color: string;
|
|
4665
5040
|
'margin-top': string;
|
|
4666
5041
|
};
|
|
4667
5042
|
};
|
|
5043
|
+
icon?: {
|
|
5044
|
+
default: Record<string, string>;
|
|
5045
|
+
} | undefined;
|
|
5046
|
+
field?: {
|
|
5047
|
+
default: Record<string, string>;
|
|
5048
|
+
} | undefined;
|
|
5049
|
+
base: {
|
|
5050
|
+
default: {};
|
|
5051
|
+
};
|
|
5052
|
+
input: {
|
|
5053
|
+
default: Record<string, string>;
|
|
5054
|
+
};
|
|
4668
5055
|
};
|
|
4669
5056
|
};
|
|
4670
5057
|
readonly textarea: {
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
readonly input: {
|
|
4678
|
-
readonly default: {
|
|
4679
|
-
width: string;
|
|
5058
|
+
name: string;
|
|
5059
|
+
displayMode: "desktop";
|
|
5060
|
+
style: {
|
|
5061
|
+
label: {
|
|
5062
|
+
default: {
|
|
5063
|
+
'margin-bottom': string;
|
|
4680
5064
|
display: string;
|
|
4681
|
-
|
|
4682
|
-
'
|
|
4683
|
-
'border-right-style': string;
|
|
4684
|
-
'border-right-width': string;
|
|
4685
|
-
'border-top-right-radius': string;
|
|
4686
|
-
'border-bottom-color': string;
|
|
4687
|
-
'border-bottom-style': string;
|
|
4688
|
-
'border-bottom-width': string;
|
|
4689
|
-
'border-bottom-right-radius': string;
|
|
4690
|
-
'border-bottom-left-radius': string;
|
|
4691
|
-
'border-top-left-radius': string;
|
|
4692
|
-
'border-left-color': string;
|
|
4693
|
-
'border-left-style': string;
|
|
4694
|
-
'border-left-width': string;
|
|
4695
|
-
'border-top-color': string;
|
|
4696
|
-
'border-top-style': string;
|
|
4697
|
-
'border-top-width': string;
|
|
4698
|
-
'user-select': string;
|
|
5065
|
+
cursor: string;
|
|
5066
|
+
'font-weight': string;
|
|
4699
5067
|
'font-size': string;
|
|
4700
|
-
'padding-left': string;
|
|
4701
|
-
'padding-right': string;
|
|
4702
|
-
'padding-top': string;
|
|
4703
|
-
'padding-bottom': string;
|
|
4704
5068
|
'line-height': string;
|
|
4705
|
-
|
|
4706
|
-
|
|
5069
|
+
color: string;
|
|
5070
|
+
'user-select': string;
|
|
4707
5071
|
};
|
|
4708
5072
|
};
|
|
4709
|
-
|
|
4710
|
-
|
|
5073
|
+
requiredMark: {
|
|
5074
|
+
default: {
|
|
5075
|
+
color: string;
|
|
5076
|
+
'margin-left': string;
|
|
5077
|
+
};
|
|
5078
|
+
};
|
|
5079
|
+
error: {
|
|
5080
|
+
default: {
|
|
5081
|
+
display: string;
|
|
5082
|
+
color: string;
|
|
5083
|
+
'margin-top': string;
|
|
5084
|
+
};
|
|
5085
|
+
};
|
|
5086
|
+
icon?: {
|
|
5087
|
+
default: Record<string, string>;
|
|
5088
|
+
} | undefined;
|
|
5089
|
+
field?: {
|
|
5090
|
+
default: Record<string, string>;
|
|
5091
|
+
} | undefined;
|
|
5092
|
+
base: {
|
|
5093
|
+
default: {};
|
|
5094
|
+
};
|
|
5095
|
+
input: {
|
|
5096
|
+
default: Record<string, string>;
|
|
5097
|
+
};
|
|
5098
|
+
};
|
|
5099
|
+
};
|
|
5100
|
+
readonly select: {
|
|
5101
|
+
name: string;
|
|
5102
|
+
displayMode: "desktop";
|
|
5103
|
+
style: {
|
|
5104
|
+
label: {
|
|
5105
|
+
default: {
|
|
4711
5106
|
'margin-bottom': string;
|
|
4712
5107
|
display: string;
|
|
4713
5108
|
cursor: string;
|
|
@@ -4718,13 +5113,31 @@ declare const elementDeclarations: {
|
|
|
4718
5113
|
'user-select': string;
|
|
4719
5114
|
};
|
|
4720
5115
|
};
|
|
4721
|
-
|
|
4722
|
-
|
|
5116
|
+
requiredMark: {
|
|
5117
|
+
default: {
|
|
5118
|
+
color: string;
|
|
5119
|
+
'margin-left': string;
|
|
5120
|
+
};
|
|
5121
|
+
};
|
|
5122
|
+
error: {
|
|
5123
|
+
default: {
|
|
4723
5124
|
display: string;
|
|
4724
5125
|
color: string;
|
|
4725
5126
|
'margin-top': string;
|
|
4726
5127
|
};
|
|
4727
5128
|
};
|
|
5129
|
+
icon?: {
|
|
5130
|
+
default: Record<string, string>;
|
|
5131
|
+
} | undefined;
|
|
5132
|
+
field?: {
|
|
5133
|
+
default: Record<string, string>;
|
|
5134
|
+
} | undefined;
|
|
5135
|
+
base: {
|
|
5136
|
+
default: {};
|
|
5137
|
+
};
|
|
5138
|
+
input: {
|
|
5139
|
+
default: Record<string, string>;
|
|
5140
|
+
};
|
|
4728
5141
|
};
|
|
4729
5142
|
};
|
|
4730
5143
|
readonly checkbox: {
|
|
@@ -4753,6 +5166,12 @@ declare const elementDeclarations: {
|
|
|
4753
5166
|
'user-select': string;
|
|
4754
5167
|
};
|
|
4755
5168
|
};
|
|
5169
|
+
readonly requiredMark: {
|
|
5170
|
+
readonly default: {
|
|
5171
|
+
color: string;
|
|
5172
|
+
'margin-left': string;
|
|
5173
|
+
};
|
|
5174
|
+
};
|
|
4756
5175
|
readonly error: {
|
|
4757
5176
|
readonly default: {
|
|
4758
5177
|
display: string;
|
|
@@ -4762,8 +5181,8 @@ declare const elementDeclarations: {
|
|
|
4762
5181
|
};
|
|
4763
5182
|
};
|
|
4764
5183
|
};
|
|
4765
|
-
readonly
|
|
4766
|
-
readonly name: "Form Control
|
|
5184
|
+
readonly switch: {
|
|
5185
|
+
readonly name: "Form Control Switch";
|
|
4767
5186
|
readonly displayMode: "desktop";
|
|
4768
5187
|
readonly style: {
|
|
4769
5188
|
readonly base: {
|
|
@@ -4771,46 +5190,53 @@ declare const elementDeclarations: {
|
|
|
4771
5190
|
};
|
|
4772
5191
|
readonly input: {
|
|
4773
5192
|
readonly default: {
|
|
4774
|
-
|
|
4775
|
-
|
|
5193
|
+
height: string;
|
|
5194
|
+
width: string;
|
|
5195
|
+
'margin-top': string;
|
|
5196
|
+
'margin-bottom': string;
|
|
5197
|
+
'margin-left': string;
|
|
5198
|
+
'margin-right': string;
|
|
5199
|
+
position: string;
|
|
5200
|
+
'flex-shrink': string;
|
|
5201
|
+
'border-top-color': string;
|
|
5202
|
+
'border-top-style': string;
|
|
5203
|
+
'border-top-width': string;
|
|
5204
|
+
'border-right-color': string;
|
|
5205
|
+
'border-right-style': string;
|
|
5206
|
+
'border-right-width': string;
|
|
5207
|
+
'border-bottom-color': string;
|
|
5208
|
+
'border-bottom-style': string;
|
|
5209
|
+
'border-bottom-width': string;
|
|
5210
|
+
'border-left-color': string;
|
|
5211
|
+
'border-left-style': string;
|
|
5212
|
+
'border-left-width': string;
|
|
5213
|
+
'border-top-left-radius': string;
|
|
5214
|
+
'border-top-right-radius': string;
|
|
5215
|
+
'border-bottom-left-radius': string;
|
|
5216
|
+
'border-bottom-right-radius': string;
|
|
5217
|
+
'background-color': string;
|
|
5218
|
+
transition: string;
|
|
5219
|
+
appearance: string;
|
|
5220
|
+
cursor: string;
|
|
5221
|
+
};
|
|
5222
|
+
};
|
|
5223
|
+
readonly label: {
|
|
5224
|
+
readonly default: {
|
|
5225
|
+
readonly 'align-items': "center";
|
|
4776
5226
|
readonly display: string;
|
|
4777
|
-
readonly
|
|
4778
|
-
readonly '
|
|
4779
|
-
readonly 'border-right-style': string;
|
|
4780
|
-
readonly 'border-right-width': string;
|
|
4781
|
-
readonly 'border-top-right-radius': string;
|
|
4782
|
-
readonly 'border-bottom-color': string;
|
|
4783
|
-
readonly 'border-bottom-style': string;
|
|
4784
|
-
readonly 'border-bottom-width': string;
|
|
4785
|
-
readonly 'border-bottom-right-radius': string;
|
|
4786
|
-
readonly 'border-bottom-left-radius': string;
|
|
4787
|
-
readonly 'border-top-left-radius': string;
|
|
4788
|
-
readonly 'border-left-color': string;
|
|
4789
|
-
readonly 'border-left-style': string;
|
|
4790
|
-
readonly 'border-left-width': string;
|
|
4791
|
-
readonly 'border-top-color': string;
|
|
4792
|
-
readonly 'border-top-style': string;
|
|
4793
|
-
readonly 'border-top-width': string;
|
|
4794
|
-
readonly 'user-select': string;
|
|
5227
|
+
readonly cursor: string;
|
|
5228
|
+
readonly 'font-weight': string;
|
|
4795
5229
|
readonly 'font-size': string;
|
|
4796
|
-
readonly 'padding-left': string;
|
|
4797
|
-
readonly 'padding-right': string;
|
|
4798
|
-
readonly 'padding-top': string;
|
|
4799
|
-
readonly 'padding-bottom': string;
|
|
4800
5230
|
readonly 'line-height': string;
|
|
4801
|
-
readonly
|
|
4802
|
-
readonly
|
|
5231
|
+
readonly color: string;
|
|
5232
|
+
readonly 'user-select': string;
|
|
4803
5233
|
};
|
|
4804
5234
|
};
|
|
4805
|
-
readonly
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
'font-size': string;
|
|
4811
|
-
'line-height': string;
|
|
4812
|
-
color: string;
|
|
4813
|
-
'user-select': string;
|
|
5235
|
+
readonly requiredMark: {
|
|
5236
|
+
readonly default: {
|
|
5237
|
+
color: string;
|
|
5238
|
+
'margin-left': string;
|
|
5239
|
+
};
|
|
4814
5240
|
};
|
|
4815
5241
|
readonly error: {
|
|
4816
5242
|
readonly default: {
|
|
@@ -4871,7 +5297,11 @@ declare const elementDeclarations: {
|
|
|
4871
5297
|
readonly displayMode: "desktop";
|
|
4872
5298
|
readonly style: {
|
|
4873
5299
|
readonly base: {
|
|
4874
|
-
readonly default: {
|
|
5300
|
+
readonly default: {
|
|
5301
|
+
readonly 'margin-top': "25px";
|
|
5302
|
+
readonly 'margin-bottom': "25px";
|
|
5303
|
+
readonly 'font-weight': 700;
|
|
5304
|
+
};
|
|
4875
5305
|
};
|
|
4876
5306
|
};
|
|
4877
5307
|
readonly subTypes: {
|
|
@@ -4990,7 +5420,7 @@ declare const elementDeclarations: {
|
|
|
4990
5420
|
readonly definition: {
|
|
4991
5421
|
readonly label: "Image";
|
|
4992
5422
|
readonly type: "image";
|
|
4993
|
-
readonly description:
|
|
5423
|
+
readonly description: string;
|
|
4994
5424
|
readonly bindings: {};
|
|
4995
5425
|
readonly styleSelectors: {
|
|
4996
5426
|
readonly base: "";
|
|
@@ -5025,7 +5455,8 @@ declare const elementDeclarations: {
|
|
|
5025
5455
|
readonly default: {
|
|
5026
5456
|
readonly display: "block";
|
|
5027
5457
|
readonly width: "140px";
|
|
5028
|
-
readonly height: "
|
|
5458
|
+
readonly height: "auto";
|
|
5459
|
+
readonly 'max-width': "100%";
|
|
5029
5460
|
};
|
|
5030
5461
|
};
|
|
5031
5462
|
};
|
|
@@ -5107,6 +5538,7 @@ declare const elementDeclarations: {
|
|
|
5107
5538
|
readonly target: readonly string[];
|
|
5108
5539
|
readonly contentPlacement: readonly string[];
|
|
5109
5540
|
readonly iconPlacement: readonly string[];
|
|
5541
|
+
readonly current: readonly string[];
|
|
5110
5542
|
};
|
|
5111
5543
|
readonly content: {
|
|
5112
5544
|
readonly attributes: {
|
|
@@ -5119,6 +5551,7 @@ declare const elementDeclarations: {
|
|
|
5119
5551
|
readonly contentPlacement: "after";
|
|
5120
5552
|
readonly icon: "";
|
|
5121
5553
|
readonly iconPlacement: "before";
|
|
5554
|
+
readonly current: "page";
|
|
5122
5555
|
};
|
|
5123
5556
|
readonly definition: {
|
|
5124
5557
|
readonly label: "Link";
|
|
@@ -5159,7 +5592,8 @@ declare const elementDeclarations: {
|
|
|
5159
5592
|
readonly base: {
|
|
5160
5593
|
readonly default: {
|
|
5161
5594
|
readonly display: "inline-block";
|
|
5162
|
-
readonly color: "#333";
|
|
5595
|
+
readonly color: "light-dark(#333, oklch(0.92 0.004 286.32))";
|
|
5596
|
+
readonly 'text-decoration': "none";
|
|
5163
5597
|
readonly cursor: "pointer";
|
|
5164
5598
|
};
|
|
5165
5599
|
};
|
|
@@ -5174,6 +5608,7 @@ declare const elementDeclarations: {
|
|
|
5174
5608
|
target?: "self" | "blank" | "parent" | "top" | undefined;
|
|
5175
5609
|
content?: string | undefined;
|
|
5176
5610
|
icon?: string | undefined;
|
|
5611
|
+
current?: "page" | "section" | undefined;
|
|
5177
5612
|
iconPlacement?: IconPlacement | undefined;
|
|
5178
5613
|
contentPlacement?: "before" | "after" | undefined;
|
|
5179
5614
|
hash?: string | undefined;
|
|
@@ -5227,7 +5662,11 @@ declare const elementDeclarations: {
|
|
|
5227
5662
|
readonly displayMode: "desktop";
|
|
5228
5663
|
readonly style: {
|
|
5229
5664
|
readonly base: {
|
|
5230
|
-
readonly default: {
|
|
5665
|
+
readonly default: {
|
|
5666
|
+
readonly 'margin-top': "0px";
|
|
5667
|
+
readonly 'margin-bottom': "10px";
|
|
5668
|
+
readonly 'padding-left': "40px";
|
|
5669
|
+
};
|
|
5231
5670
|
};
|
|
5232
5671
|
};
|
|
5233
5672
|
readonly subTypes: {
|
|
@@ -5366,14 +5805,43 @@ declare const elementDeclarations: {
|
|
|
5366
5805
|
readonly content: {
|
|
5367
5806
|
readonly attributes: {
|
|
5368
5807
|
readonly content: "Markdown";
|
|
5808
|
+
readonly headingLinks: true;
|
|
5369
5809
|
};
|
|
5370
5810
|
readonly definition: {
|
|
5371
5811
|
readonly label: "Markdown";
|
|
5372
5812
|
readonly type: "markdown";
|
|
5373
|
-
readonly description:
|
|
5813
|
+
readonly description: string;
|
|
5374
5814
|
readonly bindings: {};
|
|
5375
5815
|
readonly styleSelectors: {
|
|
5376
5816
|
readonly base: "";
|
|
5817
|
+
readonly heading: "";
|
|
5818
|
+
readonly heading1: "";
|
|
5819
|
+
readonly heading2: "";
|
|
5820
|
+
readonly heading3: "";
|
|
5821
|
+
readonly heading4: "";
|
|
5822
|
+
readonly heading5: "";
|
|
5823
|
+
readonly heading6: "";
|
|
5824
|
+
readonly paragraph: "";
|
|
5825
|
+
readonly link: "";
|
|
5826
|
+
readonly strong: "";
|
|
5827
|
+
readonly emphasis: "";
|
|
5828
|
+
readonly list: "";
|
|
5829
|
+
readonly listItem: "";
|
|
5830
|
+
readonly quote: "";
|
|
5831
|
+
readonly divider: "";
|
|
5832
|
+
readonly code: "";
|
|
5833
|
+
readonly codeBlock: "";
|
|
5834
|
+
readonly codeBlockFrame: "";
|
|
5835
|
+
readonly codeBlockHeader: "";
|
|
5836
|
+
readonly codeBlockLanguage: "";
|
|
5837
|
+
readonly codeBlockCopy: "";
|
|
5838
|
+
readonly image: "";
|
|
5839
|
+
readonly table: "";
|
|
5840
|
+
readonly tableHead: "";
|
|
5841
|
+
readonly tableRow: "";
|
|
5842
|
+
readonly tableHeaderCell: "";
|
|
5843
|
+
readonly tableCell: "";
|
|
5844
|
+
readonly anchor: "";
|
|
5377
5845
|
};
|
|
5378
5846
|
readonly initialState: {
|
|
5379
5847
|
readonly visibility: true;
|
|
@@ -5402,10 +5870,7 @@ declare const elementDeclarations: {
|
|
|
5402
5870
|
readonly displayMode: "desktop";
|
|
5403
5871
|
readonly style: {
|
|
5404
5872
|
readonly base: {
|
|
5405
|
-
readonly default: {
|
|
5406
|
-
readonly 'font-size': "14px";
|
|
5407
|
-
readonly 'line-height': "1.714";
|
|
5408
|
-
};
|
|
5873
|
+
readonly default: {};
|
|
5409
5874
|
};
|
|
5410
5875
|
};
|
|
5411
5876
|
};
|
|
@@ -5413,6 +5878,7 @@ declare const elementDeclarations: {
|
|
|
5413
5878
|
};
|
|
5414
5879
|
} & ElementAttributesBrand<Partial<{
|
|
5415
5880
|
content?: string | undefined;
|
|
5881
|
+
headingLinks?: boolean | undefined;
|
|
5416
5882
|
}>>;
|
|
5417
5883
|
readonly ModalContainer: {
|
|
5418
5884
|
readonly type: "modalContainer";
|
|
@@ -5512,11 +5978,12 @@ declare const elementDeclarations: {
|
|
|
5512
5978
|
readonly style: {
|
|
5513
5979
|
readonly base: {
|
|
5514
5980
|
readonly default: {
|
|
5515
|
-
readonly position: "
|
|
5981
|
+
readonly position: "fixed";
|
|
5516
5982
|
readonly top: "0";
|
|
5517
5983
|
readonly bottom: "0";
|
|
5518
5984
|
readonly left: "0";
|
|
5519
5985
|
readonly right: "0";
|
|
5986
|
+
readonly 'z-index': "200";
|
|
5520
5987
|
};
|
|
5521
5988
|
};
|
|
5522
5989
|
readonly backgroundContainer: {
|
|
@@ -5526,6 +5993,7 @@ declare const elementDeclarations: {
|
|
|
5526
5993
|
readonly left: "0";
|
|
5527
5994
|
readonly top: "0";
|
|
5528
5995
|
readonly position: "absolute";
|
|
5996
|
+
readonly 'z-index': "210";
|
|
5529
5997
|
readonly 'background-color': "black";
|
|
5530
5998
|
readonly opacity: "0.5";
|
|
5531
5999
|
};
|
|
@@ -5537,8 +6005,11 @@ declare const elementDeclarations: {
|
|
|
5537
6005
|
readonly position: "absolute";
|
|
5538
6006
|
readonly top: "50%";
|
|
5539
6007
|
readonly left: "50%";
|
|
6008
|
+
readonly 'z-index': "250";
|
|
5540
6009
|
readonly width: "500px";
|
|
5541
|
-
readonly
|
|
6010
|
+
readonly 'max-width': "calc(100vw - 32px)";
|
|
6011
|
+
readonly 'max-height': "calc(100dvh - 32px)";
|
|
6012
|
+
readonly overflow: "auto";
|
|
5542
6013
|
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
5543
6014
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
5544
6015
|
readonly 'border-top-left-radius': "8px";
|
|
@@ -5570,25 +6041,40 @@ declare const elementDeclarations: {
|
|
|
5570
6041
|
};
|
|
5571
6042
|
readonly headerCloseButton: {
|
|
5572
6043
|
readonly default: {
|
|
5573
|
-
readonly height: "
|
|
5574
|
-
readonly width: "
|
|
5575
|
-
readonly padding: "4px";
|
|
6044
|
+
readonly height: "28px";
|
|
6045
|
+
readonly width: "28px";
|
|
6046
|
+
readonly 'padding-top': "4px";
|
|
6047
|
+
readonly 'padding-bottom': "4px";
|
|
6048
|
+
readonly 'padding-left': "4px";
|
|
6049
|
+
readonly 'padding-right': "4px";
|
|
5576
6050
|
readonly display: "flex";
|
|
5577
6051
|
readonly 'justify-content': "center";
|
|
5578
6052
|
readonly 'align-items': "center";
|
|
6053
|
+
readonly 'flex-shrink': "0";
|
|
6054
|
+
readonly 'border-top-left-radius': "4px";
|
|
6055
|
+
readonly 'border-top-right-radius': "4px";
|
|
6056
|
+
readonly 'border-bottom-left-radius': "4px";
|
|
6057
|
+
readonly 'border-bottom-right-radius': "4px";
|
|
6058
|
+
readonly 'background-color': "transparent";
|
|
6059
|
+
readonly color: "inherit";
|
|
6060
|
+
readonly 'font-style': "inherit";
|
|
6061
|
+
readonly 'font-weight': "inherit";
|
|
6062
|
+
readonly 'line-height': "inherit";
|
|
6063
|
+
readonly 'font-family': "inherit";
|
|
6064
|
+
readonly 'font-size': "inherit";
|
|
5579
6065
|
readonly cursor: "pointer";
|
|
5580
6066
|
};
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
6067
|
+
};
|
|
6068
|
+
readonly bodyContainer: {
|
|
6069
|
+
readonly default: {
|
|
6070
|
+
readonly display: "flex";
|
|
6071
|
+
readonly 'flex-direction': "column";
|
|
6072
|
+
readonly 'flex-grow': "1";
|
|
6073
|
+
readonly 'flex-basis': "auto";
|
|
6074
|
+
readonly 'padding-top': "20px";
|
|
6075
|
+
readonly 'padding-bottom': "20px";
|
|
6076
|
+
readonly 'padding-left': "20px";
|
|
6077
|
+
readonly 'padding-right': "20px";
|
|
5592
6078
|
};
|
|
5593
6079
|
};
|
|
5594
6080
|
};
|
|
@@ -5981,7 +6467,11 @@ declare const elementDeclarations: {
|
|
|
5981
6467
|
readonly displayMode: "desktop";
|
|
5982
6468
|
readonly style: {
|
|
5983
6469
|
readonly base: {
|
|
5984
|
-
readonly default: {
|
|
6470
|
+
readonly default: {
|
|
6471
|
+
readonly display: "flex";
|
|
6472
|
+
readonly 'justify-content': "center";
|
|
6473
|
+
readonly 'align-items': "center";
|
|
6474
|
+
};
|
|
5985
6475
|
};
|
|
5986
6476
|
};
|
|
5987
6477
|
};
|
|
@@ -6057,12 +6547,11 @@ declare const elementDeclarations: {
|
|
|
6057
6547
|
readonly 'min-height': "100%";
|
|
6058
6548
|
readonly 'min-width': "100%";
|
|
6059
6549
|
readonly 'font-family': "Arial";
|
|
6060
|
-
readonly color: "#333";
|
|
6550
|
+
readonly color: "light-dark(#333, oklch(0.92 0.004 286.32))";
|
|
6061
6551
|
readonly 'font-size': "14px";
|
|
6062
6552
|
readonly 'font-weight': 400;
|
|
6063
6553
|
readonly 'line-height': "16px";
|
|
6064
6554
|
readonly 'text-align': "left";
|
|
6065
|
-
readonly 'background-color': "#ffffff";
|
|
6066
6555
|
};
|
|
6067
6556
|
};
|
|
6068
6557
|
};
|
|
@@ -6107,11 +6596,15 @@ declare const elementDeclarations: {
|
|
|
6107
6596
|
readonly definition: {
|
|
6108
6597
|
readonly label: "Pagination";
|
|
6109
6598
|
readonly type: "pagination";
|
|
6110
|
-
readonly description:
|
|
6599
|
+
readonly description: string;
|
|
6111
6600
|
readonly items: readonly [];
|
|
6112
6601
|
readonly bindings: {};
|
|
6113
6602
|
readonly styleSelectors: {
|
|
6114
6603
|
readonly base: "";
|
|
6604
|
+
readonly previous: "";
|
|
6605
|
+
readonly page: "";
|
|
6606
|
+
readonly next: "";
|
|
6607
|
+
readonly loadMore: "";
|
|
6115
6608
|
};
|
|
6116
6609
|
readonly initialState: {
|
|
6117
6610
|
readonly visibility: true;
|
|
@@ -6283,11 +6776,38 @@ declare const elementDeclarations: {
|
|
|
6283
6776
|
readonly definition: {
|
|
6284
6777
|
readonly label: "Rich Text";
|
|
6285
6778
|
readonly type: "richText";
|
|
6286
|
-
readonly description:
|
|
6779
|
+
readonly description: string;
|
|
6287
6780
|
readonly items: readonly [];
|
|
6288
6781
|
readonly bindings: {};
|
|
6289
6782
|
readonly styleSelectors: {
|
|
6290
6783
|
readonly base: "";
|
|
6784
|
+
readonly heading: "";
|
|
6785
|
+
readonly heading1: "";
|
|
6786
|
+
readonly heading2: "";
|
|
6787
|
+
readonly heading3: "";
|
|
6788
|
+
readonly heading4: "";
|
|
6789
|
+
readonly heading5: "";
|
|
6790
|
+
readonly heading6: "";
|
|
6791
|
+
readonly paragraph: "";
|
|
6792
|
+
readonly link: "";
|
|
6793
|
+
readonly strong: "";
|
|
6794
|
+
readonly emphasis: "";
|
|
6795
|
+
readonly list: "";
|
|
6796
|
+
readonly listItem: "";
|
|
6797
|
+
readonly quote: "";
|
|
6798
|
+
readonly divider: "";
|
|
6799
|
+
readonly code: "";
|
|
6800
|
+
readonly codeBlock: "";
|
|
6801
|
+
readonly codeBlockFrame: "";
|
|
6802
|
+
readonly codeBlockHeader: "";
|
|
6803
|
+
readonly codeBlockLanguage: "";
|
|
6804
|
+
readonly codeBlockCopy: "";
|
|
6805
|
+
readonly image: "";
|
|
6806
|
+
readonly table: "";
|
|
6807
|
+
readonly tableHead: "";
|
|
6808
|
+
readonly tableRow: "";
|
|
6809
|
+
readonly tableHeaderCell: "";
|
|
6810
|
+
readonly tableCell: "";
|
|
6291
6811
|
};
|
|
6292
6812
|
readonly initialState: {
|
|
6293
6813
|
readonly visibility: true;
|
|
@@ -6623,8 +7143,6 @@ declare const elementDeclarations: {
|
|
|
6623
7143
|
readonly style: {
|
|
6624
7144
|
readonly base: {
|
|
6625
7145
|
readonly default: {
|
|
6626
|
-
readonly 'font-size': "14px";
|
|
6627
|
-
readonly 'line-height': "1.714";
|
|
6628
7146
|
readonly display: "inline";
|
|
6629
7147
|
};
|
|
6630
7148
|
};
|
|
@@ -6663,7 +7181,7 @@ declare const elementDeclarations: {
|
|
|
6663
7181
|
readonly definition: {
|
|
6664
7182
|
readonly label: "Theme Toggle";
|
|
6665
7183
|
readonly type: "themeToggle";
|
|
6666
|
-
readonly description:
|
|
7184
|
+
readonly description: string;
|
|
6667
7185
|
readonly items: readonly [];
|
|
6668
7186
|
readonly bindings: {};
|
|
6669
7187
|
readonly styleSelectors: {
|
|
@@ -6699,9 +7217,53 @@ declare const elementDeclarations: {
|
|
|
6699
7217
|
readonly style: {
|
|
6700
7218
|
readonly base: {
|
|
6701
7219
|
readonly default: {
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
7220
|
+
'margin-top': string;
|
|
7221
|
+
'margin-right': string;
|
|
7222
|
+
'margin-bottom': string;
|
|
7223
|
+
'margin-left': string;
|
|
7224
|
+
'padding-top': string;
|
|
7225
|
+
'padding-right': string;
|
|
7226
|
+
'padding-bottom': string;
|
|
7227
|
+
'padding-left': string;
|
|
7228
|
+
display: string;
|
|
7229
|
+
'align-items': string;
|
|
7230
|
+
'background-color': string;
|
|
7231
|
+
color: string;
|
|
7232
|
+
'font-family': string;
|
|
7233
|
+
'font-size': string;
|
|
7234
|
+
'font-style': string;
|
|
7235
|
+
'font-weight': string;
|
|
7236
|
+
'line-height': string;
|
|
7237
|
+
'letter-spacing': string;
|
|
7238
|
+
cursor: string;
|
|
7239
|
+
};
|
|
7240
|
+
};
|
|
7241
|
+
readonly icon: {
|
|
7242
|
+
readonly default: {};
|
|
7243
|
+
};
|
|
7244
|
+
readonly option: {
|
|
7245
|
+
readonly default: {
|
|
7246
|
+
readonly 'row-gap': "4px";
|
|
7247
|
+
readonly 'column-gap': "4px";
|
|
7248
|
+
readonly 'margin-top': string;
|
|
7249
|
+
readonly 'margin-right': string;
|
|
7250
|
+
readonly 'margin-bottom': string;
|
|
7251
|
+
readonly 'margin-left': string;
|
|
7252
|
+
readonly 'padding-top': string;
|
|
7253
|
+
readonly 'padding-right': string;
|
|
7254
|
+
readonly 'padding-bottom': string;
|
|
7255
|
+
readonly 'padding-left': string;
|
|
7256
|
+
readonly display: string;
|
|
7257
|
+
readonly 'align-items': string;
|
|
7258
|
+
readonly 'background-color': string;
|
|
7259
|
+
readonly color: string;
|
|
7260
|
+
readonly 'font-family': string;
|
|
7261
|
+
readonly 'font-size': string;
|
|
7262
|
+
readonly 'font-style': string;
|
|
7263
|
+
readonly 'font-weight': string;
|
|
7264
|
+
readonly 'line-height': string;
|
|
7265
|
+
readonly 'letter-spacing': string;
|
|
7266
|
+
readonly cursor: string;
|
|
6705
7267
|
};
|
|
6706
7268
|
};
|
|
6707
7269
|
};
|
|
@@ -7195,6 +7757,8 @@ export declare interface ElementStyleSpec {
|
|
|
7195
7757
|
states?: StatesSpec;
|
|
7196
7758
|
variants?: Record<string, CssSpec | VariantSpec>;
|
|
7197
7759
|
ancestors?: Record<string, AncestorSpec>;
|
|
7760
|
+
pseudos?: PseudosSpec;
|
|
7761
|
+
conditions?: Record<string, ConditionSpec>;
|
|
7198
7762
|
slots?: Record<string, StyleSpec>;
|
|
7199
7763
|
}
|
|
7200
7764
|
|
|
@@ -7267,6 +7831,15 @@ export declare const expandShorthand: (css: CssProps) => CssProps;
|
|
|
7267
7831
|
* `{ padding: null }` clears all four sides rather than a `padding` key that was never stored. */
|
|
7268
7832
|
export declare const expandShorthandPatch: (css: CssPatch) => CssPatch;
|
|
7269
7833
|
|
|
7834
|
+
/**
|
|
7835
|
+
* {@link expandShorthand}, and which shorthand wrote each longhand it holds — `padding-top` → `padding` — for a longhand
|
|
7836
|
+
* the shorthand set and nothing after it overrode. A longhand written out is in `rules` and not in `from`.
|
|
7837
|
+
*/
|
|
7838
|
+
export declare const expandShorthandTraced: (css: CssProps) => {
|
|
7839
|
+
rules: CssProps;
|
|
7840
|
+
from: Map<string, string>;
|
|
7841
|
+
};
|
|
7842
|
+
|
|
7270
7843
|
/** Everything a name is — an action can be both a global and an element callback (`setState`), and is said as both. */
|
|
7271
7844
|
export declare const explain: (name: string) => Explanation[];
|
|
7272
7845
|
|
|
@@ -7314,6 +7887,8 @@ export declare type Explanation = {
|
|
|
7314
7887
|
/** The element types that answer to it, for an element callback. */
|
|
7315
7888
|
answeredBy?: string[];
|
|
7316
7889
|
params: ParamInfo[];
|
|
7890
|
+
/** What a later step reads of it, named: `{{ <step>.field }}` — and the only fields a `when` can ask it about. */
|
|
7891
|
+
reads: string[];
|
|
7317
7892
|
} | {
|
|
7318
7893
|
kind: 'trigger';
|
|
7319
7894
|
name: string;
|
|
@@ -7556,6 +8131,13 @@ export declare const getTransformer: (action: string) => BuiltinTransformer | un
|
|
|
7556
8131
|
/** The built-in utility for an action, or undefined when the action is not a known built-in utility. */
|
|
7557
8132
|
export declare const getUtility: (action: string) => BuiltinUtility | undefined;
|
|
7558
8133
|
|
|
8134
|
+
/**
|
|
8135
|
+
* The builder of a global callback not named after its action. Apart from {@link BUILDER_NAMES} because that table is
|
|
8136
|
+
* the element callbacks': `setState` the global callback is written `setState(…)`, the element one `updateElement(…)`.
|
|
8137
|
+
* The auth builders keep a prefix the actions do not have — a bare `login` would be too vague at an import.
|
|
8138
|
+
*/
|
|
8139
|
+
export declare const GLOBAL_CALLBACK_BUILDERS: Record<string, string>;
|
|
8140
|
+
|
|
7559
8141
|
/**
|
|
7560
8142
|
* The sources that belong to nobody, registered once for the whole space — the runtime's own list.
|
|
7561
8143
|
*
|
|
@@ -7968,10 +8550,12 @@ export declare type InteractionParamType = 'boolean' | 'select' | 'text' | 'numb
|
|
|
7968
8550
|
export declare type InteractionPostCallback<T extends Record<string, unknown> = Record<string, unknown>> = (params: InteractionCallbackParamValues<T>, callbackResult?: unknown) => unknown;
|
|
7969
8551
|
|
|
7970
8552
|
/**
|
|
7971
|
-
* Tells the page's
|
|
8553
|
+
* Tells the page's providers the data behind them changed, so the api containers showing it ask again — a browser
|
|
8554
|
+
* request, or a server-driven provider (`runtime: 'server'`) asking the page server for its slice.
|
|
7972
8555
|
*
|
|
7973
|
-
* `elements` names the containers by id — the way to reach one whose URL is a template
|
|
7974
|
-
* whose URL starts with it; given both, a request must match both.
|
|
8556
|
+
* `elements` names the containers by id — the way to reach one whose URL is a template, or a server provider fed by
|
|
8557
|
+
* a connector or an action — and `url` the requests whose URL starts with it; given both, a request must match both.
|
|
8558
|
+
* With neither, every provider on the page.
|
|
7975
8559
|
*/
|
|
7976
8560
|
export declare const invalidateQueries: (params?: {
|
|
7977
8561
|
elements?: string[];
|
|
@@ -8012,8 +8596,8 @@ export declare const isCustomProperty: (key: string) => boolean;
|
|
|
8012
8596
|
/**
|
|
8013
8597
|
* Whether a style is the object form rather than plain CSS.
|
|
8014
8598
|
*
|
|
8015
|
-
* Told apart by the keys, like the per-breakpoint shape: `css`, `states`, `variants
|
|
8016
|
-
* an object naming only those is a rule set and anything else is CSS.
|
|
8599
|
+
* Told apart by the keys, like the per-breakpoint shape: `css`, `states`, `variants`, `ancestors`, `pseudos` and
|
|
8600
|
+
* `conditions` are not CSS properties, so an object naming only those is a rule set and anything else is CSS.
|
|
8017
8601
|
*/
|
|
8018
8602
|
export declare const isRuleSetSpec: (spec: StyleSpec) => spec is RuleSetSpec;
|
|
8019
8603
|
|
|
@@ -8042,6 +8626,18 @@ export declare interface KeyboardDriver {
|
|
|
8042
8626
|
};
|
|
8043
8627
|
}
|
|
8044
8628
|
|
|
8629
|
+
/**
|
|
8630
|
+
* A space's keyframes as an author writes them: by name, each frame keyed by its offset — `from`, `to`, `'50%'`,
|
|
8631
|
+
* `'0%, 100%'` — and its rules as any other CSS is written, shorthands allowed:
|
|
8632
|
+
*
|
|
8633
|
+
* ```ts
|
|
8634
|
+
* keyframes: { 'caret-blink': { '0%, 100%': { opacity: 1 }, '50%': { opacity: 0 } } }
|
|
8635
|
+
* ```
|
|
8636
|
+
*
|
|
8637
|
+
* A class plays them with `animation-name` (`animation: 'caret-blink 1s steps(1) infinite'`).
|
|
8638
|
+
*/
|
|
8639
|
+
declare type KeyframesSpec = Record<string, Record<string, CssProps>>;
|
|
8640
|
+
|
|
8045
8641
|
/** A layout shell: what pages render inside, so its elements are on screen wherever a page names it. */
|
|
8046
8642
|
export declare interface LayoutHandle extends ElementHandle {
|
|
8047
8643
|
/** Everything in the shell, by id — the header and the navigation a test reaches for on any page. */
|
|
@@ -8098,6 +8694,7 @@ export declare const link: ElementFactory<Partial<{
|
|
|
8098
8694
|
target?: "self" | "blank" | "parent" | "top" | undefined;
|
|
8099
8695
|
content?: string | undefined;
|
|
8100
8696
|
icon?: string | undefined;
|
|
8697
|
+
current?: "page" | "section" | undefined;
|
|
8101
8698
|
iconPlacement?: IconPlacement | undefined;
|
|
8102
8699
|
contentPlacement?: "before" | "after" | undefined;
|
|
8103
8700
|
hash?: string | undefined;
|
|
@@ -8209,6 +8806,7 @@ export declare type ManifestAsset = {
|
|
|
8209
8806
|
|
|
8210
8807
|
export declare const markdown: ElementFactory<Partial<{
|
|
8211
8808
|
content?: string | undefined;
|
|
8809
|
+
headingLinks?: boolean | undefined;
|
|
8212
8810
|
}>>;
|
|
8213
8811
|
|
|
8214
8812
|
/** Declared params marked `required` that the agent did NOT supply, and whose `when` guard holds against the
|
|
@@ -8568,17 +9166,19 @@ export declare const nodeHtml: ElementFactory<Partial<{
|
|
|
8568
9166
|
subType?: "span" | undefined;
|
|
8569
9167
|
}>>;
|
|
8570
9168
|
|
|
8571
|
-
/** Every field `notifications` takes — what an editor of the setting (the MCP server's `patchSettings`) offers. */
|
|
9169
|
+
/** Every field `notifications` takes — what an editor of the setting (the builder, the MCP server's `patchSettings`) offers. */
|
|
8572
9170
|
export declare const NOTIFICATIONS_FIELDS: readonly (keyof NotificationsSpec)[];
|
|
8573
9171
|
|
|
8574
|
-
/** The
|
|
9172
|
+
/** The rules that style the toasts, or `''` when there is nothing to say; refuses a spec that is not sound. */
|
|
8575
9173
|
export declare const notificationsCss: (spec: NotificationsSpec | undefined) => string;
|
|
8576
9174
|
|
|
8577
9175
|
/**
|
|
8578
|
-
* How a space's notifications look — the toasts an `addNotification` step shows
|
|
9176
|
+
* How a space's notifications look — the toasts an `addNotification` step shows: the toast, and the parts inside it
|
|
9177
|
+
* (its icon, its close button, its progress bar).
|
|
8579
9178
|
*
|
|
8580
|
-
* Every value is
|
|
8581
|
-
* follows the light/dark toggle, which the notifications already do. Left out, a value keeps
|
|
9179
|
+
* Every value is one CSS value — a colour, a length, a weight — and a token is the right answer wherever there is one
|
|
9180
|
+
* (`'var(--card)'`): a token follows the light/dark toggle, which the notifications already do. Left out, a value keeps
|
|
9181
|
+
* the library's own.
|
|
8582
9182
|
*/
|
|
8583
9183
|
export declare interface NotificationsSpec {
|
|
8584
9184
|
/** The toast's surface. */
|
|
@@ -8602,6 +9202,22 @@ export declare interface NotificationsSpec {
|
|
|
8602
9202
|
shadow?: string;
|
|
8603
9203
|
/** The room inside it, e.g. `'12px 14px'`. */
|
|
8604
9204
|
padding?: string;
|
|
9205
|
+
/** The least it is tall — `'0px'` lets a one-line message be one line high. */
|
|
9206
|
+
minHeight?: string;
|
|
9207
|
+
/** Its text's weight, e.g. `'500'`. */
|
|
9208
|
+
fontWeight?: string;
|
|
9209
|
+
/** Its text's leading, e.g. `'1.45'`. */
|
|
9210
|
+
lineHeight?: string;
|
|
9211
|
+
/** The icon's width, e.g. `'18px'`. */
|
|
9212
|
+
iconSize?: string;
|
|
9213
|
+
/** The room between the icon and the message, e.g. `'10px'`. */
|
|
9214
|
+
iconGap?: string;
|
|
9215
|
+
/** The close button's colour, e.g. `'var(--muted)'`. */
|
|
9216
|
+
closeColor?: string;
|
|
9217
|
+
/** How opaque the close button is at rest, e.g. `'0.8'`; hovered or focused it is opaque. */
|
|
9218
|
+
closeOpacity?: string;
|
|
9219
|
+
/** How tall the progress bar is, e.g. `'2px'`. */
|
|
9220
|
+
progressHeight?: string;
|
|
8605
9221
|
}
|
|
8606
9222
|
|
|
8607
9223
|
export declare const on: (trigger: ElementTriggerName | (string & {}), params?: Record<string, unknown>) => StepSpec;
|
|
@@ -9323,6 +9939,24 @@ export declare interface ProviderState {
|
|
|
9323
9939
|
isStale: boolean;
|
|
9324
9940
|
}
|
|
9325
9941
|
|
|
9942
|
+
/** A pseudo-element's rules in the object form: its own, and the selector's states that change them. */
|
|
9943
|
+
export declare interface PseudoRulesSpec {
|
|
9944
|
+
css?: CssSpec;
|
|
9945
|
+
states?: StatesSpec;
|
|
9946
|
+
}
|
|
9947
|
+
|
|
9948
|
+
/**
|
|
9949
|
+
* A pseudo-element's rules: plain CSS, or CSS with the states of the selector that show it —
|
|
9950
|
+
* `after: { css: { content: '"→"' }, states: { hover: { 'margin-left': '4px' } } }` is `.x::after` and `.x:hover::after`.
|
|
9951
|
+
*/
|
|
9952
|
+
export declare type PseudoSpec = CssSpec | PseudoRulesSpec;
|
|
9953
|
+
|
|
9954
|
+
/**
|
|
9955
|
+
* What a selector draws or dresses besides the element — `before`, `after`, `marker`, `placeholder`, `first-letter`,
|
|
9956
|
+
* `first-line`, `selection` (`STYLE_PSEUDOS`). `content` is written as CSS reads it, quotes included: `'"→"'`.
|
|
9957
|
+
*/
|
|
9958
|
+
export declare type PseudosSpec = Partial<Record<StylePseudo, PseudoSpec>>;
|
|
9959
|
+
|
|
9326
9960
|
/**
|
|
9327
9961
|
* Says something on a `channel`, by id: every page on its topic hears it — `onMessage`, and the channel's source.
|
|
9328
9962
|
*
|
|
@@ -9530,8 +10164,13 @@ export declare interface RuleSetSpec extends VariantSpec {
|
|
|
9530
10164
|
* class by its declaration — `[card.name]: { states: { hover: … } }` — so a rename reaches it.
|
|
9531
10165
|
*
|
|
9532
10166
|
* The selector's own states and variants win over these where both set a property.
|
|
10167
|
+
*
|
|
10168
|
+
* `'>'` is the element's parent, whatever class it wears — what a closed component's part reacts to without naming
|
|
10169
|
+
* the class of the element around it: `ancestors: { '>': { states: { expanded: { transform: 'rotate(180deg)' } } } }`.
|
|
9533
10170
|
*/
|
|
9534
10171
|
ancestors?: Record<string, AncestorSpec>;
|
|
10172
|
+
/** Rules under a condition of the page — reduced motion, a container's width — by condition. */
|
|
10173
|
+
conditions?: Record<string, ConditionSpec>;
|
|
9535
10174
|
}
|
|
9536
10175
|
|
|
9537
10176
|
declare type RuleValue = Date | string | number | boolean | undefined | null | object;
|
|
@@ -9557,8 +10196,9 @@ export declare const runServerAction: (params: {
|
|
|
9557
10196
|
mode?: "await" | "detached" | "stream";
|
|
9558
10197
|
idempotencyKey?: string;
|
|
9559
10198
|
/**
|
|
9560
|
-
* What a completed run refreshes among the page's browser
|
|
9561
|
-
* what an action wrote), the containers named in `invalidateElements`, or `none` for an
|
|
10199
|
+
* What a completed run refreshes among the page's providers, browser and server-driven alike: `all` (the default —
|
|
10200
|
+
* only the server knows what an action wrote), the containers named in `invalidateElements`, or `none` for an
|
|
10201
|
+
* action that only reads.
|
|
9562
10202
|
*/
|
|
9563
10203
|
invalidateQueries?: "all" | "elements" | "none";
|
|
9564
10204
|
/** Api container ids — with `invalidateQueries: 'elements'`. */
|
|
@@ -10050,7 +10690,7 @@ export declare interface SourceRow<Item> {
|
|
|
10050
10690
|
export declare type SourceTypes = Record<string, string>;
|
|
10051
10691
|
|
|
10052
10692
|
/** The same guarantee for the space itself, in the order its fields are written. */
|
|
10053
|
-
export declare const SPACE_FIELDS: readonly ["name", "permanentUrl", "mode", "theme", "variables", "fonts", "elements", "classes", "schemaVariables", "settings", "computed", "formats", "flags", "channels", "customCss", "notifications", "rsc", "pageFolders", "layouts", "components", "pages"];
|
|
10693
|
+
export declare const SPACE_FIELDS: readonly ["name", "permanentUrl", "mode", "theme", "variables", "fonts", "elements", "classes", "schemaVariables", "settings", "computed", "formats", "flags", "channels", "customCss", "keyframes", "notifications", "rsc", "pageFolders", "layouts", "components", "pages"];
|
|
10054
10694
|
|
|
10055
10695
|
/**
|
|
10056
10696
|
* The `space` source, which the SDK application registers rather than this package.
|
|
@@ -10183,6 +10823,13 @@ export declare interface SpaceSpec {
|
|
|
10183
10823
|
elements?: Record<string, ElementStyleSpec>;
|
|
10184
10824
|
schemaVariables?: SchemaVariable[];
|
|
10185
10825
|
customCss?: string;
|
|
10826
|
+
/**
|
|
10827
|
+
* The space's own `@keyframes`, by name — what a class plays with `animation-name`:
|
|
10828
|
+
* `{ 'caret-blink': { '0%, 100%': { opacity: 1 }, '50%': { opacity: 0 } } }`. For how an element arrives or the loop it
|
|
10829
|
+
* keeps, declared `motion` says it better; these are for the rest (a caret, a drifting gradient, a panel sliding in).
|
|
10830
|
+
* Written at the top of `customCss`, where the style editor reads them back.
|
|
10831
|
+
*/
|
|
10832
|
+
keyframes?: KeyframesSpec;
|
|
10186
10833
|
/**
|
|
10187
10834
|
* How the notifications an `addNotification` step shows look: `{ background: 'var(--card)', text: 'var(--foreground)',
|
|
10188
10835
|
* success: 'var(--accent)', radius: '12px' }`. They follow the light/dark theme and the page's font already.
|
|
@@ -10402,7 +11049,7 @@ export declare const splitClassList: (value: ElementClassList) => {
|
|
|
10402
11049
|
};
|
|
10403
11050
|
|
|
10404
11051
|
/**
|
|
10405
|
-
* A space's custom CSS read apart: the notifications'
|
|
11052
|
+
* A space's custom CSS read apart: the notifications' rules {@link notificationsCss} wrote, back as the spec, and the
|
|
10406
11053
|
* space's own CSS without it — so an editor shows and changes each on its own, and writes them together again with
|
|
10407
11054
|
* {@link withNotificationsCss}. A rule someone edited into something else (a declaration that is no field's) is left
|
|
10408
11055
|
* where it is, as the space's own CSS: read back, it would lose what was added to it.
|
|
@@ -10473,16 +11120,21 @@ export declare const stepState: (params: {
|
|
|
10473
11120
|
* makes the fragment usable on documents whose vocabulary nobody here knows.
|
|
10474
11121
|
*/
|
|
10475
11122
|
export declare interface StepVocabulary {
|
|
10476
|
-
/**
|
|
11123
|
+
/**
|
|
11124
|
+
* Global callbacks by action name, each naming the module id it is registered on, the params it takes and, when it
|
|
11125
|
+
* says, the keys it puts in the flow scope (`preview`) — what a later step's `when` can ask it about.
|
|
11126
|
+
*/
|
|
10477
11127
|
globalCallbacks: Record<string, {
|
|
10478
11128
|
source: string;
|
|
10479
11129
|
strictParams?: boolean;
|
|
10480
11130
|
params?: ParamSpec;
|
|
11131
|
+
preview?: InteractionCallbackPreviews;
|
|
10481
11132
|
}>;
|
|
10482
|
-
/** Utility actions
|
|
11133
|
+
/** Utility actions, their params and what they put in the flow scope. A utility runs on no module at all. */
|
|
10483
11134
|
utilities: Record<string, {
|
|
10484
11135
|
strictParams?: boolean;
|
|
10485
11136
|
params?: ParamSpec;
|
|
11137
|
+
preview?: InteractionCallbackPreviews;
|
|
10486
11138
|
}>;
|
|
10487
11139
|
/**
|
|
10488
11140
|
* Element type → every trigger it fires, the ones all elements share included. A type that is not listed is a
|
|
@@ -10517,6 +11169,16 @@ export declare type Style = {
|
|
|
10517
11169
|
cache: string;
|
|
10518
11170
|
};
|
|
10519
11171
|
|
|
11172
|
+
/**
|
|
11173
|
+
* The pseudo-elements a class can dress — parts of an element the page has no node for: the box drawn before or after
|
|
11174
|
+
* its content, a list item's bullet, an empty field's hint, the first letter or line of a paragraph, the text a visitor
|
|
11175
|
+
* selects. One list, read by the type, the compiler, the style editor and authoring.
|
|
11176
|
+
*
|
|
11177
|
+
* Each is written last in its selector (`.card:hover::after`), which is the only place CSS allows it: a state, a
|
|
11178
|
+
* variant or a condition of the class chooses WHEN, the pseudo-element WHAT.
|
|
11179
|
+
*/
|
|
11180
|
+
declare const STYLE_PSEUDOS: readonly ["before", "after", "marker", "placeholder", "first-letter", "first-line", "selection"];
|
|
11181
|
+
|
|
10520
11182
|
/** The states a selector can react to — the closed list the style editor offers, read from where it is declared. */
|
|
10521
11183
|
export declare const STYLE_STATES: readonly StyleState[];
|
|
10522
11184
|
|
|
@@ -10529,20 +11191,27 @@ export declare const STYLE_STATES: readonly StyleState[];
|
|
|
10529
11191
|
* `focus-visible` is the focus ring a keyboard user needs and a mouse user does not; `focus-within` dresses a
|
|
10530
11192
|
* container while anything inside it has focus — a field wrapper around its input.
|
|
10531
11193
|
*
|
|
10532
|
-
* `current` is the link to the page being shown
|
|
10533
|
-
* (`aria-
|
|
10534
|
-
* on every page,
|
|
11194
|
+
* `current` is the chosen one of a set: the link to the page being shown (`aria-current`), the option pressed in a group
|
|
11195
|
+
* of toggles (`aria-pressed`), the selected tab (`aria-selected`). The element says so itself — what a screen reader
|
|
11196
|
+
* announces too — so a header written once in a layout marks the right item on every page, and a theme switch its
|
|
11197
|
+
* chosen scheme, which a class chosen per page could not.
|
|
11198
|
+
*
|
|
11199
|
+
* `expanded` is the control that opens a panel while the panel is open — a dropdown's trigger, an accordion's header, a
|
|
11200
|
+
* menu button (`aria-expanded`). The control says so itself, as the chosen one of a set does.
|
|
10535
11201
|
*
|
|
10536
11202
|
* `hidden` is not a pseudo-class: it is how an element looks while its `visible` says no — where it goes as it hides,
|
|
10537
11203
|
* and where it comes from as it shows. With a transition on the class (`display` among what it transitions, and
|
|
10538
11204
|
* `transition-behavior: allow-discrete`), a panel fades or slides in and out instead of blinking.
|
|
11205
|
+
*
|
|
11206
|
+
* `first`, `last`, `odd` and `even` are where the element sits among its siblings — the row of a list that has no
|
|
11207
|
+
* divider above it, the alternate rows of a table. They count every sibling, as `:nth-child` does.
|
|
10539
11208
|
*/
|
|
10540
|
-
declare const STYLE_STATES_2: readonly ["hover", "focus", "focus-visible", "focus-within", "active", "disabled", "checked", "visited", "current", "hidden"];
|
|
11209
|
+
declare const STYLE_STATES_2: readonly ["hover", "focus", "focus-visible", "focus-within", "active", "disabled", "checked", "visited", "current", "expanded", "hidden", "first", "last", "odd", "even"];
|
|
10541
11210
|
|
|
10542
11211
|
export declare type StyleAncestor = {
|
|
10543
11212
|
default?: StyleObject;
|
|
10544
11213
|
states?: StyleStates;
|
|
10545
|
-
variants?:
|
|
11214
|
+
variants?: Record<string, StyleStateBlock>;
|
|
10546
11215
|
};
|
|
10547
11216
|
|
|
10548
11217
|
export declare type StyleAncestors = Record<string, StyleAncestor>;
|
|
@@ -10554,10 +11223,18 @@ export declare type StyleBlock = {
|
|
|
10554
11223
|
states?: StyleStates;
|
|
10555
11224
|
variants?: StyleVariants;
|
|
10556
11225
|
ancestors?: StyleAncestors;
|
|
11226
|
+
pseudos?: StylePseudos;
|
|
11227
|
+
conditions?: StyleConditions;
|
|
10557
11228
|
};
|
|
10558
11229
|
|
|
10559
11230
|
export declare type StyleCategory = (typeof styleConstants)[keyof typeof styleConstants];
|
|
10560
11231
|
|
|
11232
|
+
declare type StyleCondition = StyleStateBlock & {
|
|
11233
|
+
pseudos?: StylePseudos;
|
|
11234
|
+
};
|
|
11235
|
+
|
|
11236
|
+
declare type StyleConditions = Record<string, StyleCondition>;
|
|
11237
|
+
|
|
10561
11238
|
declare const styleConstants: {
|
|
10562
11239
|
readonly DISPLAY: "display";
|
|
10563
11240
|
readonly FLEX_WRAP: "flex-wrap";
|
|
@@ -10679,6 +11356,7 @@ declare const styleConstants: {
|
|
|
10679
11356
|
readonly ACCENT_COLOR: "accent-color";
|
|
10680
11357
|
readonly CARET_COLOR: "caret-color";
|
|
10681
11358
|
readonly COLOR_SCHEME: "color-scheme";
|
|
11359
|
+
readonly CONTENT: "content";
|
|
10682
11360
|
readonly POSITION: "position";
|
|
10683
11361
|
readonly FLOAT: "float";
|
|
10684
11362
|
readonly CLEAR: "clear";
|
|
@@ -10782,6 +11460,10 @@ export declare type StyleMode = 'mobile-first' | 'desktop-first';
|
|
|
10782
11460
|
|
|
10783
11461
|
export declare type StyleObject = Partial<Record<StyleCategory, StyleValue>>;
|
|
10784
11462
|
|
|
11463
|
+
declare type StylePseudo = (typeof STYLE_PSEUDOS)[number];
|
|
11464
|
+
|
|
11465
|
+
declare type StylePseudos = Partial<Record<StylePseudo, StyleStateBlock>>;
|
|
11466
|
+
|
|
10785
11467
|
/** What reaches the document: expanded longhands, in the vocabulary the style editor understands. */
|
|
10786
11468
|
export declare type StyleRules = StyleObject;
|
|
10787
11469
|
|
|
@@ -10811,6 +11493,11 @@ export declare type StyleSpec = CssSpec | RuleSetSpec;
|
|
|
10811
11493
|
|
|
10812
11494
|
export declare type StyleState = (typeof STYLE_STATES_2)[number];
|
|
10813
11495
|
|
|
11496
|
+
declare type StyleStateBlock = {
|
|
11497
|
+
default?: StyleObject;
|
|
11498
|
+
states?: StyleStates;
|
|
11499
|
+
};
|
|
11500
|
+
|
|
10814
11501
|
export declare type StyleStates = Partial<Record<StyleState, StyleObject>>;
|
|
10815
11502
|
|
|
10816
11503
|
export declare type StyleThemeValue = Partial<Record<ColorScheme | 'default', string>>;
|
|
@@ -10830,7 +11517,19 @@ export declare type StyleVariables = Record<StyleVariableCategory, StyleVariable
|
|
|
10830
11517
|
|
|
10831
11518
|
export declare type StyleVariableValue = string | number | StyleThemeValue;
|
|
10832
11519
|
|
|
10833
|
-
|
|
11520
|
+
declare type StyleVariant = StyleStateBlock & {
|
|
11521
|
+
pseudos?: StylePseudos;
|
|
11522
|
+
};
|
|
11523
|
+
|
|
11524
|
+
export declare type StyleVariants = Record<string, StyleVariant>;
|
|
11525
|
+
|
|
11526
|
+
/**
|
|
11527
|
+
* One class's shorthand silently erasing a longhand another class of the same node writes out: `card`'s `padding`
|
|
11528
|
+
* beating `tight`'s `padding-top` because the stylesheet writes `card` later, or `card`'s mobile `padding` beating it
|
|
11529
|
+
* on a phone. Read while the space is authored: the document keeps only longhands, so which were a shorthand is known
|
|
11530
|
+
* here alone. One suggestion per pair of classes, with every element wearing both.
|
|
11531
|
+
*/
|
|
11532
|
+
export declare const suggestClassOverrides: (lists: readonly WornList[], mode: StyleMode) => Suggestion[];
|
|
10834
11533
|
|
|
10835
11534
|
/** If a camelCase key maps to a known kebab-case property, return it — used to name the correct key in an error. */
|
|
10836
11535
|
export declare const suggestCssProperty: (key: string) => string | undefined;
|
|
@@ -11247,6 +11946,7 @@ export declare interface VariantFromOptions {
|
|
|
11247
11946
|
export declare interface VariantSpec {
|
|
11248
11947
|
css?: CssSpec;
|
|
11249
11948
|
states?: StatesSpec;
|
|
11949
|
+
pseudos?: PseudosSpec;
|
|
11250
11950
|
}
|
|
11251
11951
|
|
|
11252
11952
|
export declare const video: {
|
|
@@ -11387,7 +12087,8 @@ export declare const whenFailed: (stepId: string, step: StepSpec) => StepSpec;
|
|
|
11387
12087
|
* Runs a step only if the named server action completed.
|
|
11388
12088
|
*
|
|
11389
12089
|
* `<id>.status` is the field, and it is only in the flow scope at all when that step ran with `mode: 'await'` and
|
|
11390
|
-
* was {@link named} — the same two conditions that make `{{<id>.output.*}}` readable.
|
|
12090
|
+
* was {@link named} — the same two conditions that make `{{<id>.output.*}}` readable. Only `runServerAction` publishes
|
|
12091
|
+
* a `status`: any other step is asked about what it publishes (`authLogin`'s `ok`), with {@link when}.
|
|
11391
12092
|
*/
|
|
11392
12093
|
export declare const whenSucceeded: (stepId: string, step: StepSpec) => StepSpec;
|
|
11393
12094
|
|
|
@@ -11445,9 +12146,12 @@ export declare const withNamedIds: (schema: Schema) => {
|
|
|
11445
12146
|
renames: ElementRename[];
|
|
11446
12147
|
};
|
|
11447
12148
|
|
|
11448
|
-
/** The space's custom CSS with its notifications'
|
|
12149
|
+
/** The space's custom CSS with its notifications' rules after it; refuses a spec that is not sound. */
|
|
11449
12150
|
export declare const withNotificationsCss: (customCss: string, spec: NotificationsSpec | undefined) => string;
|
|
11450
12151
|
|
|
12152
|
+
/** The suggestions no element they are about quiets — for those read beside the documents, too (authoring's own). */
|
|
12153
|
+
export declare const withoutQuieted: (schema: Schema, suggestions: Suggestion[]) => Suggestion[];
|
|
12154
|
+
|
|
11451
12155
|
/**
|
|
11452
12156
|
* The catalogs `authorSpace` holds a space to, with each declared plugin in them as if it were built in.
|
|
11453
12157
|
*
|
|
@@ -11463,6 +12167,22 @@ export declare const withVisibility: (spec: {
|
|
|
11463
12167
|
visible?: string | false | VisibleCondition;
|
|
11464
12168
|
}) => BindingSpec[] | undefined;
|
|
11465
12169
|
|
|
12170
|
+
/** A class one node wears, as authoring declared it — with the shorthands its rules were written with. */
|
|
12171
|
+
export declare interface WornClass {
|
|
12172
|
+
name: string;
|
|
12173
|
+
blocks: ResponsiveBlock;
|
|
12174
|
+
/** Its place in the stylesheet: of two rules for one width, the later one wins. */
|
|
12175
|
+
order: number;
|
|
12176
|
+
/** Where its rules were written, in words: `styles('card') at src/space/styles.ts:4` — asked only to be said. */
|
|
12177
|
+
written: () => string;
|
|
12178
|
+
}
|
|
12179
|
+
|
|
12180
|
+
/** The classes one node of an element wears, in the order its class list names them. */
|
|
12181
|
+
export declare interface WornList {
|
|
12182
|
+
elementId: string;
|
|
12183
|
+
classes: WornClass[];
|
|
12184
|
+
}
|
|
12185
|
+
|
|
11466
12186
|
/** Where a call is, exactly: the file, its line and the column its function's name starts at, from 1. */
|
|
11467
12187
|
export declare interface WrittenPosition {
|
|
11468
12188
|
/** Relative to the working directory when it is under it. */
|