@plitzi/sdk-authoring 0.38.6 → 0.38.8
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 +381 -0
- package/dist/index-src.js +26687 -0
- package/dist/index.d.ts +1174 -367
- package/dist/index.js +2 -24803
- package/dist/node.d.ts +2820 -0
- package/dist/node.js +610 -13
- package/package.json +7 -7
- package/skills/plitzi-authoring/CHEATSHEET.md +2 -2
- package/skills/plitzi-authoring/SKILL.md +34 -148
- package/skills/plitzi-authoring/recipes/plugin.ts +1 -1
- package/skills/plitzi-authoring/reference/accessibility.md +3 -4
- package/skills/plitzi-authoring/reference/auth.md +75 -0
- package/skills/plitzi-authoring/reference/authoring-errors.md +19 -4
- package/skills/plitzi-authoring/reference/colours-and-motion.md +3 -2
- package/skills/plitzi-authoring/reference/drawing.md +1 -1
- 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 +15 -8
- package/skills/plitzi-authoring/reference/index.md +33 -0
- package/skills/plitzi-authoring/reference/layouts.md +15 -18
- package/skills/plitzi-authoring/reference/plugins.md +3 -3
- package/skills/plitzi-authoring/reference/recipes.md +25 -0
- package/skills/plitzi-authoring/reference/review-checklist.md +2 -1
- package/skills/plitzi-authoring/reference/rules.md +61 -0
- package/skills/plitzi-authoring/reference/snippets-and-export.md +2 -2
- package/skills/plitzi-authoring/reference/structure.md +4 -3
- package/skills/plitzi-authoring/reference/testing.md +1 -1
- package/skills/plitzi-authoring/reference/validation.md +1 -1
- 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";
|
|
@@ -1256,6 +1311,11 @@ export declare const AUTHORING_CODES: {
|
|
|
1256
1311
|
readonly means: "a prop whose name a template cannot read as `props.x`";
|
|
1257
1312
|
readonly fix: "letters, digits and `_`";
|
|
1258
1313
|
};
|
|
1314
|
+
readonly 'prop-type-unknown': {
|
|
1315
|
+
readonly kind: "refused";
|
|
1316
|
+
readonly means: "a prop declared with a type no editor offers and nothing checks a value against";
|
|
1317
|
+
readonly fix: "one of text, textarea, select, boolean, number, scalar, json, elementIds — words are `text`";
|
|
1318
|
+
};
|
|
1259
1319
|
readonly 'prop-unknown': {
|
|
1260
1320
|
readonly kind: "refused";
|
|
1261
1321
|
readonly means: "a prop the component does not declare, handed in or read";
|
|
@@ -1298,7 +1358,7 @@ export declare const AUTHORING_CODES: {
|
|
|
1298
1358
|
};
|
|
1299
1359
|
readonly 'flag-unknown': {
|
|
1300
1360
|
readonly kind: "refused";
|
|
1301
|
-
readonly means: "a template reading a flag the space does not declare";
|
|
1361
|
+
readonly means: "a template, a binding or a `when` reading a flag the space does not declare";
|
|
1302
1362
|
readonly fix: "the declared name it suggests, or declare it";
|
|
1303
1363
|
};
|
|
1304
1364
|
readonly 'flag-name': {
|
|
@@ -1356,6 +1416,11 @@ export declare const AUTHORING_CODES: {
|
|
|
1356
1416
|
readonly means: "a step param that does not exist, or a value outside its options";
|
|
1357
1417
|
readonly fix: "the params and values it lists";
|
|
1358
1418
|
};
|
|
1419
|
+
readonly 'element-ids-target': {
|
|
1420
|
+
readonly kind: "refused";
|
|
1421
|
+
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`";
|
|
1422
|
+
readonly fix: "the id of the `apiContainer` whose data the step changes: `invalidateElements: ['posts']`";
|
|
1423
|
+
};
|
|
1359
1424
|
readonly 'trigger-never-fired': {
|
|
1360
1425
|
readonly kind: "refused";
|
|
1361
1426
|
readonly means: "a flow on an event the element never fires";
|
|
@@ -1426,6 +1491,11 @@ export declare const AUTHORING_CODES: {
|
|
|
1426
1491
|
readonly means: "a `when` comparing a submitted field to `\"\"` — a field nobody typed in is not sent";
|
|
1427
1492
|
readonly fix: "`operator: 'empty'` / `'notEmpty'`";
|
|
1428
1493
|
};
|
|
1494
|
+
readonly 'condition-field-unpublished': {
|
|
1495
|
+
readonly kind: "refused";
|
|
1496
|
+
readonly means: "a `when` asking a step of its flow for a key it never publishes — `whenSucceeded` / `whenFailed` on anything but `runServerAction`";
|
|
1497
|
+
readonly fix: "a key the step publishes (`explain <step>`): after `authLogin`, `when({ field: 'signedIn.ok', operator: '=', value: true }, …)`";
|
|
1498
|
+
};
|
|
1429
1499
|
readonly 'action-without-entry': {
|
|
1430
1500
|
readonly kind: "refused";
|
|
1431
1501
|
readonly means: "an action with no way in, so nothing can start it";
|
|
@@ -1521,10 +1591,15 @@ export declare const AUTHORING_CODES: {
|
|
|
1521
1591
|
readonly means: "`customCss` repeating what the SDK already does for every space — less motion when asked, the theme toggle showing one icon";
|
|
1522
1592
|
readonly fix: "nothing: remove it";
|
|
1523
1593
|
};
|
|
1594
|
+
readonly 'custom-css-slot': {
|
|
1595
|
+
readonly kind: "suggested";
|
|
1596
|
+
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";
|
|
1597
|
+
readonly fix: "a class on the slot of that part — `slots: { field: input }`, `elements.<type>.slots` — with its states";
|
|
1598
|
+
};
|
|
1524
1599
|
readonly 'custom-css-notifications': {
|
|
1525
1600
|
readonly kind: "suggested";
|
|
1526
|
-
readonly means: "the toasts dressed with `.
|
|
1527
|
-
readonly fix: "`notifications: { font, fontSize,
|
|
1601
|
+
readonly means: "the toasts or their icon, close button or progress bar dressed with `.Toastify__*` rules in `customCss`";
|
|
1602
|
+
readonly fix: "`notifications: { font, fontSize, fontWeight, minHeight, iconSize, closeColor, progressHeight, … }`";
|
|
1528
1603
|
};
|
|
1529
1604
|
readonly 'heavy-animation': {
|
|
1530
1605
|
readonly kind: "suggested";
|
|
@@ -1551,6 +1626,11 @@ export declare const AUTHORING_CODES: {
|
|
|
1551
1626
|
readonly means: "a component no page, layout or other component places";
|
|
1552
1627
|
readonly fix: "remove it from `components`, or place it where it was meant to go";
|
|
1553
1628
|
};
|
|
1629
|
+
readonly 'class-overrides-class': {
|
|
1630
|
+
readonly kind: "suggested";
|
|
1631
|
+
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";
|
|
1632
|
+
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";
|
|
1633
|
+
};
|
|
1554
1634
|
};
|
|
1555
1635
|
|
|
1556
1636
|
export declare type AuthoringCode = keyof Codes;
|
|
@@ -1937,6 +2017,8 @@ export declare const BUILTIN_ELEMENT_CALLBACKS: Record<string, BuiltinElementCal
|
|
|
1937
2017
|
*/
|
|
1938
2018
|
export declare const BUILTIN_GLOBAL_CALLBACKS: Record<string, BuiltinGlobalCallback>;
|
|
1939
2019
|
|
|
2020
|
+
export declare const BUILTIN_PARAM_TYPES: readonly ["text", "textarea", "select", "boolean", "number", "scalar", "json", "elementIds"];
|
|
2021
|
+
|
|
1940
2022
|
export declare const BUILTIN_TRANSFORMERS: Record<string, BuiltinTransformer>;
|
|
1941
2023
|
|
|
1942
2024
|
export declare const BUILTIN_UTILITIES: Record<string, BuiltinUtility>;
|
|
@@ -1997,7 +2079,7 @@ export declare interface BuiltinParam {
|
|
|
1997
2079
|
elementType?: string;
|
|
1998
2080
|
}
|
|
1999
2081
|
|
|
2000
|
-
export declare type BuiltinParamType =
|
|
2082
|
+
export declare type BuiltinParamType = (typeof BUILTIN_PARAM_TYPES)[number];
|
|
2001
2083
|
|
|
2002
2084
|
export declare interface BuiltinTransformer {
|
|
2003
2085
|
title: string;
|
|
@@ -2200,6 +2282,8 @@ export declare const closeDialog: (target: string) => StepSpec;
|
|
|
2200
2282
|
/** Closes a `modalContainer`, by id — from a button inside it or anywhere else. */
|
|
2201
2283
|
export declare const closeModal: (target: string) => StepSpec;
|
|
2202
2284
|
|
|
2285
|
+
export declare const closest: (name: string, candidates: Iterable<string>) => string | undefined;
|
|
2286
|
+
|
|
2203
2287
|
declare type Codes = typeof AUTHORING_CODES;
|
|
2204
2288
|
|
|
2205
2289
|
/**
|
|
@@ -2324,6 +2408,18 @@ export declare interface ComponentSpec {
|
|
|
2324
2408
|
root: ElementSpec;
|
|
2325
2409
|
}
|
|
2326
2410
|
|
|
2411
|
+
/** A condition's rules in the object form: the selector's own under it, its states' and its pseudo-elements'. */
|
|
2412
|
+
export declare interface ConditionRulesSpec extends PseudoRulesSpec {
|
|
2413
|
+
pseudos?: PseudosSpec;
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* A selector's rules under a condition of the page rather than of the element: `motion-reduce` (the visitor asked for
|
|
2418
|
+
* less motion), `motion-safe`, or a container's width — `container (max-width: 30rem)`, `container card (min-width:
|
|
2419
|
+
* 480px)` — asked of the nearest ancestor whose class sets `container-type` (and `container-name` to name it).
|
|
2420
|
+
*/
|
|
2421
|
+
export declare type ConditionSpec = CssSpec | ConditionRulesSpec;
|
|
2422
|
+
|
|
2327
2423
|
export declare const container: {
|
|
2328
2424
|
(children: ElementSpec[], props?: ElementProps<Partial<{
|
|
2329
2425
|
label?: string | undefined;
|
|
@@ -2345,6 +2441,13 @@ declare type ContentShorthand<A> = 'content' extends keyof A ? {
|
|
|
2345
2441
|
(content: string, props?: ElementProps<A>): ElementSpec;
|
|
2346
2442
|
} : unknown;
|
|
2347
2443
|
|
|
2444
|
+
/**
|
|
2445
|
+
* Copies `text` to the visitor's clipboard — a template like any param: `copyToClipboard('{{ navigation.href }}')` copies
|
|
2446
|
+
* the page's address. Where the browser offers no clipboard the step fails, so a flow's `onFailure` says so and its
|
|
2447
|
+
* "Copied" never shows for nothing.
|
|
2448
|
+
*/
|
|
2449
|
+
export declare const copyToClipboard: (text: string) => StepSpec;
|
|
2450
|
+
|
|
2348
2451
|
/**
|
|
2349
2452
|
* A `tw()` with colours of its own: `createTw({ colors: tokens(variables) })` makes `bg-surface` the space's token.
|
|
2350
2453
|
*
|
|
@@ -2457,7 +2560,7 @@ export declare interface DataIssue {
|
|
|
2457
2560
|
* — `landing.data.plans` where the answer is `{ plans }` — was "36 elements on screen, nothing wrong". Read here, with
|
|
2458
2561
|
* the provider's answer in hand, it is the binding, the path it reads and the keys that ARE there.
|
|
2459
2562
|
*
|
|
2460
|
-
* Pure: the sources come from the page's dev tools (`window.__plitzi.sources()`), so a suite or `plitzi check` reads
|
|
2563
|
+
* Pure: the sources come from the page's dev tools (`window.__plitzi.sources()`), so a suite or `plitzi page check` reads
|
|
2461
2564
|
* them however it reaches the page.
|
|
2462
2565
|
*/
|
|
2463
2566
|
export declare type DataIssueCode = 'binding-reads-nothing' | 'provider-failed';
|
|
@@ -2465,14 +2568,26 @@ export declare type DataIssueCode = 'binding-reads-nothing' | 'provider-failed';
|
|
|
2465
2568
|
/**
|
|
2466
2569
|
* Every binding of the page onto a provider that has answered, read against that answer: a path that stops before its
|
|
2467
2570
|
* 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
|
-
*
|
|
2571
|
+
* provider that failed is one too. A provider still on its way, or not on this page, is passed over — its answer is not
|
|
2572
|
+
* in yet, or not this page's to judge — and so is what is inside an element the page is not showing (`hidden`).
|
|
2470
2573
|
*/
|
|
2471
|
-
export declare const dataIssues: (schema: Schema, pageId: string, sources: Record<string, unknown
|
|
2574
|
+
export declare const dataIssues: (schema: Schema, pageId: string, sources: Record<string, unknown>, { hidden }?: DataIssuesOptions) => DataReport;
|
|
2575
|
+
|
|
2576
|
+
export declare interface DataIssuesOptions {
|
|
2577
|
+
/**
|
|
2578
|
+
* Elements with a visibility condition of their own that the page is not showing. Nothing inside one is mounted —
|
|
2579
|
+
* its bindings read nothing because nothing reads them — so only its own condition is held against the answer.
|
|
2580
|
+
*/
|
|
2581
|
+
hidden?: ReadonlySet<string>;
|
|
2582
|
+
}
|
|
2472
2583
|
|
|
2473
2584
|
export declare interface DataReport {
|
|
2474
2585
|
issues: DataIssue[];
|
|
2475
|
-
/**
|
|
2586
|
+
/**
|
|
2587
|
+
* Every list of the page whose rows come from a provider: how many rows its source holds, `null` when it reads
|
|
2588
|
+
* nothing. The source, before the binding's transformers: a list that filters or slices them draws fewer — what is
|
|
2589
|
+
* drawn is the page's to count (`plitzi page check` does).
|
|
2590
|
+
*/
|
|
2476
2591
|
lists: Record<string, number | null>;
|
|
2477
2592
|
}
|
|
2478
2593
|
|
|
@@ -2707,11 +2822,11 @@ export declare const elementAttributeNames: {
|
|
|
2707
2822
|
readonly heading: readonly ["content", "subType"];
|
|
2708
2823
|
readonly image: readonly ["alt", "decorative", "fetchPriority", "height", "loadMode", "resize", "sizes", "src", "width"];
|
|
2709
2824
|
readonly layoutContainer: readonly ["layout", "layoutContainer", "subType"];
|
|
2710
|
-
readonly link: readonly ["content", "contentPlacement", "hash", "href", "icon", "iconPlacement", "label", "mode", "target"];
|
|
2825
|
+
readonly link: readonly ["content", "contentPlacement", "current", "hash", "href", "icon", "iconPlacement", "label", "mode", "target"];
|
|
2711
2826
|
readonly list: readonly ["itemKey", "items", "source", "subType"];
|
|
2712
2827
|
readonly listItem: readonly [];
|
|
2713
2828
|
readonly loading: readonly [];
|
|
2714
|
-
readonly markdown: readonly ["content"];
|
|
2829
|
+
readonly markdown: readonly ["content", "headingLinks"];
|
|
2715
2830
|
readonly modalContainer: readonly ["autoHideAfterClick", "title"];
|
|
2716
2831
|
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
2832
|
readonly notFound: readonly [];
|
|
@@ -2829,7 +2944,7 @@ export declare interface ElementDeclarationData {
|
|
|
2829
2944
|
/**
|
|
2830
2945
|
* Whether the element is behaviour rather than content — a clock that fires a flow, a listener — and draws nothing on
|
|
2831
2946
|
* a page (at most a tag in the builder, to have something to select). Read by the page checks (`inspectPage`,
|
|
2832
|
-
* `plitzi check`), which would otherwise wait for it to be on screen and report it hidden.
|
|
2947
|
+
* `plitzi page check`), which would otherwise wait for it to be on screen and report it hidden.
|
|
2833
2948
|
*/
|
|
2834
2949
|
drawsNothing?: boolean;
|
|
2835
2950
|
content?: {
|
|
@@ -3188,7 +3303,19 @@ declare const elementDeclarations: {
|
|
|
3188
3303
|
readonly displayMode: "desktop";
|
|
3189
3304
|
readonly style: {
|
|
3190
3305
|
readonly base: {
|
|
3191
|
-
readonly default: {
|
|
3306
|
+
readonly default: {
|
|
3307
|
+
'padding-top': string;
|
|
3308
|
+
'padding-left': string;
|
|
3309
|
+
'padding-right': string;
|
|
3310
|
+
'padding-bottom': string;
|
|
3311
|
+
cursor: string;
|
|
3312
|
+
'font-size': string;
|
|
3313
|
+
'line-height': string;
|
|
3314
|
+
'border-top-left-radius': string;
|
|
3315
|
+
'border-top-right-radius': string;
|
|
3316
|
+
'border-bottom-left-radius': string;
|
|
3317
|
+
'border-bottom-right-radius': string;
|
|
3318
|
+
};
|
|
3192
3319
|
};
|
|
3193
3320
|
};
|
|
3194
3321
|
readonly subTypes: {
|
|
@@ -3198,17 +3325,17 @@ declare const elementDeclarations: {
|
|
|
3198
3325
|
readonly style: {
|
|
3199
3326
|
readonly base: {
|
|
3200
3327
|
readonly default: {
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3328
|
+
'padding-top': string;
|
|
3329
|
+
'padding-left': string;
|
|
3330
|
+
'padding-right': string;
|
|
3331
|
+
'padding-bottom': string;
|
|
3332
|
+
cursor: string;
|
|
3333
|
+
'font-size': string;
|
|
3334
|
+
'line-height': string;
|
|
3335
|
+
'border-top-left-radius': string;
|
|
3336
|
+
'border-top-right-radius': string;
|
|
3337
|
+
'border-bottom-left-radius': string;
|
|
3338
|
+
'border-bottom-right-radius': string;
|
|
3212
3339
|
};
|
|
3213
3340
|
};
|
|
3214
3341
|
};
|
|
@@ -3219,17 +3346,17 @@ declare const elementDeclarations: {
|
|
|
3219
3346
|
readonly style: {
|
|
3220
3347
|
readonly base: {
|
|
3221
3348
|
readonly default: {
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3349
|
+
'padding-top': string;
|
|
3350
|
+
'padding-left': string;
|
|
3351
|
+
'padding-right': string;
|
|
3352
|
+
'padding-bottom': string;
|
|
3353
|
+
cursor: string;
|
|
3354
|
+
'font-size': string;
|
|
3355
|
+
'line-height': string;
|
|
3356
|
+
'border-top-left-radius': string;
|
|
3357
|
+
'border-top-right-radius': string;
|
|
3358
|
+
'border-bottom-left-radius': string;
|
|
3359
|
+
'border-bottom-right-radius': string;
|
|
3233
3360
|
};
|
|
3234
3361
|
};
|
|
3235
3362
|
};
|
|
@@ -3240,17 +3367,17 @@ declare const elementDeclarations: {
|
|
|
3240
3367
|
readonly style: {
|
|
3241
3368
|
readonly base: {
|
|
3242
3369
|
readonly default: {
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3370
|
+
'padding-top': string;
|
|
3371
|
+
'padding-left': string;
|
|
3372
|
+
'padding-right': string;
|
|
3373
|
+
'padding-bottom': string;
|
|
3374
|
+
cursor: string;
|
|
3375
|
+
'font-size': string;
|
|
3376
|
+
'line-height': string;
|
|
3377
|
+
'border-top-left-radius': string;
|
|
3378
|
+
'border-top-right-radius': string;
|
|
3379
|
+
'border-bottom-left-radius': string;
|
|
3380
|
+
'border-bottom-right-radius': string;
|
|
3254
3381
|
};
|
|
3255
3382
|
};
|
|
3256
3383
|
};
|
|
@@ -3439,7 +3566,10 @@ declare const elementDeclarations: {
|
|
|
3439
3566
|
readonly displayMode: "desktop";
|
|
3440
3567
|
readonly style: {
|
|
3441
3568
|
readonly base: {
|
|
3442
|
-
readonly default: {
|
|
3569
|
+
readonly default: {
|
|
3570
|
+
readonly position: "relative";
|
|
3571
|
+
readonly overflow: "hidden";
|
|
3572
|
+
};
|
|
3443
3573
|
};
|
|
3444
3574
|
};
|
|
3445
3575
|
};
|
|
@@ -3684,7 +3814,11 @@ declare const elementDeclarations: {
|
|
|
3684
3814
|
readonly displayMode: "desktop";
|
|
3685
3815
|
readonly style: {
|
|
3686
3816
|
readonly base: {
|
|
3687
|
-
readonly default: {
|
|
3817
|
+
readonly default: {
|
|
3818
|
+
readonly display: "flex";
|
|
3819
|
+
readonly 'justify-content': "center";
|
|
3820
|
+
readonly 'align-items': "center";
|
|
3821
|
+
};
|
|
3688
3822
|
};
|
|
3689
3823
|
};
|
|
3690
3824
|
};
|
|
@@ -3829,11 +3963,12 @@ declare const elementDeclarations: {
|
|
|
3829
3963
|
readonly style: {
|
|
3830
3964
|
readonly base: {
|
|
3831
3965
|
readonly default: {
|
|
3832
|
-
readonly position: "
|
|
3966
|
+
readonly position: "fixed";
|
|
3833
3967
|
readonly top: "0";
|
|
3834
3968
|
readonly bottom: "0";
|
|
3835
3969
|
readonly left: "0";
|
|
3836
3970
|
readonly right: "0";
|
|
3971
|
+
readonly 'z-index': "200";
|
|
3837
3972
|
};
|
|
3838
3973
|
};
|
|
3839
3974
|
readonly backgroundContainer: {
|
|
@@ -3843,6 +3978,7 @@ declare const elementDeclarations: {
|
|
|
3843
3978
|
readonly left: "0";
|
|
3844
3979
|
readonly top: "0";
|
|
3845
3980
|
readonly position: "absolute";
|
|
3981
|
+
readonly 'z-index': "210";
|
|
3846
3982
|
readonly 'background-color': "black";
|
|
3847
3983
|
readonly opacity: "0.5";
|
|
3848
3984
|
};
|
|
@@ -3854,8 +3990,11 @@ declare const elementDeclarations: {
|
|
|
3854
3990
|
readonly position: "absolute";
|
|
3855
3991
|
readonly top: "50%";
|
|
3856
3992
|
readonly left: "50%";
|
|
3993
|
+
readonly 'z-index': "250";
|
|
3857
3994
|
readonly width: "500px";
|
|
3858
|
-
readonly
|
|
3995
|
+
readonly 'max-width': "calc(100vw - 32px)";
|
|
3996
|
+
readonly 'max-height': "calc(100dvh - 32px)";
|
|
3997
|
+
readonly overflow: "auto";
|
|
3859
3998
|
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
3860
3999
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
3861
4000
|
readonly 'padding-top': "20px";
|
|
@@ -3880,18 +4019,32 @@ declare const elementDeclarations: {
|
|
|
3880
4019
|
readonly 'font-size': "20px";
|
|
3881
4020
|
readonly 'font-weight': "500";
|
|
3882
4021
|
readonly 'line-height': "1.2";
|
|
3883
|
-
readonly color: "#333";
|
|
3884
4022
|
};
|
|
3885
4023
|
};
|
|
3886
4024
|
readonly headerCloseButton: {
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
4025
|
+
default: {
|
|
4026
|
+
height: string;
|
|
4027
|
+
width: string;
|
|
4028
|
+
'padding-top': string;
|
|
4029
|
+
'padding-bottom': string;
|
|
4030
|
+
'padding-left': string;
|
|
4031
|
+
'padding-right': string;
|
|
4032
|
+
display: string;
|
|
4033
|
+
'justify-content': string;
|
|
4034
|
+
'align-items': string;
|
|
4035
|
+
'flex-shrink': string;
|
|
4036
|
+
'border-top-left-radius': string;
|
|
4037
|
+
'border-top-right-radius': string;
|
|
4038
|
+
'border-bottom-left-radius': string;
|
|
4039
|
+
'border-bottom-right-radius': string;
|
|
4040
|
+
'background-color': string;
|
|
4041
|
+
color: string;
|
|
4042
|
+
'font-style': string;
|
|
4043
|
+
'font-weight': string;
|
|
4044
|
+
'line-height': string;
|
|
4045
|
+
'font-family': string;
|
|
4046
|
+
'font-size': string;
|
|
4047
|
+
cursor: string;
|
|
3895
4048
|
};
|
|
3896
4049
|
};
|
|
3897
4050
|
readonly bodyContainer: {
|
|
@@ -3899,7 +4052,7 @@ declare const elementDeclarations: {
|
|
|
3899
4052
|
readonly display: "flex";
|
|
3900
4053
|
readonly 'flex-direction': "column";
|
|
3901
4054
|
readonly 'flex-grow': "1";
|
|
3902
|
-
readonly 'flex-basis': "
|
|
4055
|
+
readonly 'flex-basis': "auto";
|
|
3903
4056
|
};
|
|
3904
4057
|
};
|
|
3905
4058
|
readonly footerContainer: {
|
|
@@ -3909,6 +4062,47 @@ declare const elementDeclarations: {
|
|
|
3909
4062
|
readonly 'margin-top': "8px";
|
|
3910
4063
|
};
|
|
3911
4064
|
};
|
|
4065
|
+
readonly acceptButton: {
|
|
4066
|
+
readonly default: {
|
|
4067
|
+
'min-height': string;
|
|
4068
|
+
'min-width': string;
|
|
4069
|
+
'padding-top': string;
|
|
4070
|
+
'padding-bottom': string;
|
|
4071
|
+
'padding-left': string;
|
|
4072
|
+
'padding-right': string;
|
|
4073
|
+
'border-top-left-radius': string;
|
|
4074
|
+
'border-top-right-radius': string;
|
|
4075
|
+
'border-bottom-left-radius': string;
|
|
4076
|
+
'border-bottom-right-radius': string;
|
|
4077
|
+
'background-color': string;
|
|
4078
|
+
color: string;
|
|
4079
|
+
'line-height': string;
|
|
4080
|
+
'font-size': string;
|
|
4081
|
+
outline: string;
|
|
4082
|
+
cursor: string;
|
|
4083
|
+
};
|
|
4084
|
+
};
|
|
4085
|
+
readonly cancelButton: {
|
|
4086
|
+
readonly default: {
|
|
4087
|
+
readonly 'margin-left': "12px";
|
|
4088
|
+
readonly 'min-height': string;
|
|
4089
|
+
readonly 'min-width': string;
|
|
4090
|
+
readonly 'padding-top': string;
|
|
4091
|
+
readonly 'padding-bottom': string;
|
|
4092
|
+
readonly 'padding-left': string;
|
|
4093
|
+
readonly 'padding-right': string;
|
|
4094
|
+
readonly 'border-top-left-radius': string;
|
|
4095
|
+
readonly 'border-top-right-radius': string;
|
|
4096
|
+
readonly 'border-bottom-left-radius': string;
|
|
4097
|
+
readonly 'border-bottom-right-radius': string;
|
|
4098
|
+
readonly 'background-color': string;
|
|
4099
|
+
readonly color: string;
|
|
4100
|
+
readonly 'line-height': string;
|
|
4101
|
+
readonly 'font-size': string;
|
|
4102
|
+
readonly outline: string;
|
|
4103
|
+
readonly cursor: string;
|
|
4104
|
+
};
|
|
4105
|
+
};
|
|
3912
4106
|
};
|
|
3913
4107
|
readonly subTypes: {};
|
|
3914
4108
|
};
|
|
@@ -4047,6 +4241,8 @@ declare const elementDeclarations: {
|
|
|
4047
4241
|
readonly base: {
|
|
4048
4242
|
readonly default: {
|
|
4049
4243
|
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
4244
|
+
readonly 'min-height': "24px";
|
|
4245
|
+
readonly 'min-width': "24px";
|
|
4050
4246
|
readonly 'padding-right': "4px";
|
|
4051
4247
|
readonly 'padding-bottom': "4px";
|
|
4052
4248
|
readonly 'padding-left': "4px";
|
|
@@ -4364,7 +4560,10 @@ declare const elementDeclarations: {
|
|
|
4364
4560
|
readonly styleSelectors: {
|
|
4365
4561
|
readonly base: "";
|
|
4366
4562
|
readonly label: "";
|
|
4563
|
+
readonly requiredMark: "";
|
|
4367
4564
|
readonly input: "";
|
|
4565
|
+
readonly field: "";
|
|
4566
|
+
readonly icon: "";
|
|
4368
4567
|
readonly error: "";
|
|
4369
4568
|
};
|
|
4370
4569
|
readonly initialState: {
|
|
@@ -4399,15 +4598,11 @@ declare const elementDeclarations: {
|
|
|
4399
4598
|
};
|
|
4400
4599
|
readonly subTypes: {
|
|
4401
4600
|
readonly hidden: {
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
readonly default: {};
|
|
4408
|
-
};
|
|
4409
|
-
readonly label: {
|
|
4410
|
-
readonly default: {
|
|
4601
|
+
name: string;
|
|
4602
|
+
displayMode: "desktop";
|
|
4603
|
+
style: {
|
|
4604
|
+
label: {
|
|
4605
|
+
default: {
|
|
4411
4606
|
'margin-bottom': string;
|
|
4412
4607
|
display: string;
|
|
4413
4608
|
cursor: string;
|
|
@@ -4418,56 +4613,125 @@ declare const elementDeclarations: {
|
|
|
4418
4613
|
'user-select': string;
|
|
4419
4614
|
};
|
|
4420
4615
|
};
|
|
4421
|
-
|
|
4422
|
-
|
|
4616
|
+
requiredMark: {
|
|
4617
|
+
default: {
|
|
4618
|
+
color: string;
|
|
4619
|
+
'margin-left': string;
|
|
4620
|
+
};
|
|
4621
|
+
};
|
|
4622
|
+
error: {
|
|
4623
|
+
default: {
|
|
4423
4624
|
display: string;
|
|
4424
4625
|
color: string;
|
|
4425
4626
|
'margin-top': string;
|
|
4426
4627
|
};
|
|
4427
4628
|
};
|
|
4629
|
+
icon?: {
|
|
4630
|
+
default: Record<string, string>;
|
|
4631
|
+
} | undefined;
|
|
4632
|
+
field?: {
|
|
4633
|
+
default: Record<string, string>;
|
|
4634
|
+
} | undefined;
|
|
4635
|
+
base: {
|
|
4636
|
+
default: {};
|
|
4637
|
+
};
|
|
4638
|
+
input: {
|
|
4639
|
+
default: Record<string, string>;
|
|
4640
|
+
};
|
|
4428
4641
|
};
|
|
4429
4642
|
};
|
|
4430
4643
|
readonly text: {
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
readonly input: {
|
|
4438
|
-
readonly default: {
|
|
4439
|
-
width: string;
|
|
4644
|
+
name: string;
|
|
4645
|
+
displayMode: "desktop";
|
|
4646
|
+
style: {
|
|
4647
|
+
label: {
|
|
4648
|
+
default: {
|
|
4649
|
+
'margin-bottom': string;
|
|
4440
4650
|
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;
|
|
4651
|
+
cursor: string;
|
|
4652
|
+
'font-weight': string;
|
|
4653
|
+
'font-size': string;
|
|
4654
|
+
'line-height': string;
|
|
4655
|
+
color: string;
|
|
4458
4656
|
'user-select': string;
|
|
4657
|
+
};
|
|
4658
|
+
};
|
|
4659
|
+
requiredMark: {
|
|
4660
|
+
default: {
|
|
4661
|
+
color: string;
|
|
4662
|
+
'margin-left': string;
|
|
4663
|
+
};
|
|
4664
|
+
};
|
|
4665
|
+
error: {
|
|
4666
|
+
default: {
|
|
4667
|
+
display: string;
|
|
4668
|
+
color: string;
|
|
4669
|
+
'margin-top': string;
|
|
4670
|
+
};
|
|
4671
|
+
};
|
|
4672
|
+
icon?: {
|
|
4673
|
+
default: Record<string, string>;
|
|
4674
|
+
} | undefined;
|
|
4675
|
+
field?: {
|
|
4676
|
+
default: Record<string, string>;
|
|
4677
|
+
} | undefined;
|
|
4678
|
+
base: {
|
|
4679
|
+
default: {};
|
|
4680
|
+
};
|
|
4681
|
+
input: {
|
|
4682
|
+
default: Record<string, string>;
|
|
4683
|
+
};
|
|
4684
|
+
};
|
|
4685
|
+
};
|
|
4686
|
+
readonly number: {
|
|
4687
|
+
name: string;
|
|
4688
|
+
displayMode: "desktop";
|
|
4689
|
+
style: {
|
|
4690
|
+
label: {
|
|
4691
|
+
default: {
|
|
4692
|
+
'margin-bottom': string;
|
|
4693
|
+
display: string;
|
|
4694
|
+
cursor: string;
|
|
4695
|
+
'font-weight': string;
|
|
4459
4696
|
'font-size': string;
|
|
4460
|
-
'padding-left': string;
|
|
4461
|
-
'padding-right': string;
|
|
4462
|
-
'padding-top': string;
|
|
4463
|
-
'padding-bottom': string;
|
|
4464
4697
|
'line-height': string;
|
|
4465
|
-
|
|
4466
|
-
|
|
4698
|
+
color: string;
|
|
4699
|
+
'user-select': string;
|
|
4467
4700
|
};
|
|
4468
4701
|
};
|
|
4469
|
-
|
|
4470
|
-
|
|
4702
|
+
requiredMark: {
|
|
4703
|
+
default: {
|
|
4704
|
+
color: string;
|
|
4705
|
+
'margin-left': string;
|
|
4706
|
+
};
|
|
4707
|
+
};
|
|
4708
|
+
error: {
|
|
4709
|
+
default: {
|
|
4710
|
+
display: string;
|
|
4711
|
+
color: string;
|
|
4712
|
+
'margin-top': string;
|
|
4713
|
+
};
|
|
4714
|
+
};
|
|
4715
|
+
icon?: {
|
|
4716
|
+
default: Record<string, string>;
|
|
4717
|
+
} | undefined;
|
|
4718
|
+
field?: {
|
|
4719
|
+
default: Record<string, string>;
|
|
4720
|
+
} | undefined;
|
|
4721
|
+
base: {
|
|
4722
|
+
default: {};
|
|
4723
|
+
};
|
|
4724
|
+
input: {
|
|
4725
|
+
default: Record<string, string>;
|
|
4726
|
+
};
|
|
4727
|
+
};
|
|
4728
|
+
};
|
|
4729
|
+
readonly email: {
|
|
4730
|
+
name: string;
|
|
4731
|
+
displayMode: "desktop";
|
|
4732
|
+
style: {
|
|
4733
|
+
label: {
|
|
4734
|
+
default: {
|
|
4471
4735
|
'margin-bottom': string;
|
|
4472
4736
|
display: string;
|
|
4473
4737
|
cursor: string;
|
|
@@ -4478,56 +4742,82 @@ declare const elementDeclarations: {
|
|
|
4478
4742
|
'user-select': string;
|
|
4479
4743
|
};
|
|
4480
4744
|
};
|
|
4481
|
-
|
|
4482
|
-
|
|
4745
|
+
requiredMark: {
|
|
4746
|
+
default: {
|
|
4747
|
+
color: string;
|
|
4748
|
+
'margin-left': string;
|
|
4749
|
+
};
|
|
4750
|
+
};
|
|
4751
|
+
error: {
|
|
4752
|
+
default: {
|
|
4483
4753
|
display: string;
|
|
4484
4754
|
color: string;
|
|
4485
4755
|
'margin-top': string;
|
|
4486
4756
|
};
|
|
4487
4757
|
};
|
|
4758
|
+
icon?: {
|
|
4759
|
+
default: Record<string, string>;
|
|
4760
|
+
} | undefined;
|
|
4761
|
+
field?: {
|
|
4762
|
+
default: Record<string, string>;
|
|
4763
|
+
} | undefined;
|
|
4764
|
+
base: {
|
|
4765
|
+
default: {};
|
|
4766
|
+
};
|
|
4767
|
+
input: {
|
|
4768
|
+
default: Record<string, string>;
|
|
4769
|
+
};
|
|
4488
4770
|
};
|
|
4489
4771
|
};
|
|
4490
4772
|
readonly password: {
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
readonly input: {
|
|
4498
|
-
readonly default: {
|
|
4499
|
-
width: string;
|
|
4773
|
+
name: string;
|
|
4774
|
+
displayMode: "desktop";
|
|
4775
|
+
style: {
|
|
4776
|
+
label: {
|
|
4777
|
+
default: {
|
|
4778
|
+
'margin-bottom': string;
|
|
4500
4779
|
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;
|
|
4780
|
+
cursor: string;
|
|
4781
|
+
'font-weight': string;
|
|
4519
4782
|
'font-size': string;
|
|
4520
|
-
'padding-left': string;
|
|
4521
|
-
'padding-right': string;
|
|
4522
|
-
'padding-top': string;
|
|
4523
|
-
'padding-bottom': string;
|
|
4524
4783
|
'line-height': string;
|
|
4525
|
-
|
|
4526
|
-
|
|
4784
|
+
color: string;
|
|
4785
|
+
'user-select': string;
|
|
4527
4786
|
};
|
|
4528
4787
|
};
|
|
4529
|
-
|
|
4530
|
-
|
|
4788
|
+
requiredMark: {
|
|
4789
|
+
default: {
|
|
4790
|
+
color: string;
|
|
4791
|
+
'margin-left': string;
|
|
4792
|
+
};
|
|
4793
|
+
};
|
|
4794
|
+
error: {
|
|
4795
|
+
default: {
|
|
4796
|
+
display: string;
|
|
4797
|
+
color: string;
|
|
4798
|
+
'margin-top': string;
|
|
4799
|
+
};
|
|
4800
|
+
};
|
|
4801
|
+
icon?: {
|
|
4802
|
+
default: Record<string, string>;
|
|
4803
|
+
} | undefined;
|
|
4804
|
+
field?: {
|
|
4805
|
+
default: Record<string, string>;
|
|
4806
|
+
} | undefined;
|
|
4807
|
+
base: {
|
|
4808
|
+
default: {};
|
|
4809
|
+
};
|
|
4810
|
+
input: {
|
|
4811
|
+
default: Record<string, string>;
|
|
4812
|
+
};
|
|
4813
|
+
};
|
|
4814
|
+
};
|
|
4815
|
+
readonly search: {
|
|
4816
|
+
name: string;
|
|
4817
|
+
displayMode: "desktop";
|
|
4818
|
+
style: {
|
|
4819
|
+
label: {
|
|
4820
|
+
default: {
|
|
4531
4821
|
'margin-bottom': string;
|
|
4532
4822
|
display: string;
|
|
4533
4823
|
cursor: string;
|
|
@@ -4538,56 +4828,82 @@ declare const elementDeclarations: {
|
|
|
4538
4828
|
'user-select': string;
|
|
4539
4829
|
};
|
|
4540
4830
|
};
|
|
4541
|
-
|
|
4542
|
-
|
|
4831
|
+
requiredMark: {
|
|
4832
|
+
default: {
|
|
4833
|
+
color: string;
|
|
4834
|
+
'margin-left': string;
|
|
4835
|
+
};
|
|
4836
|
+
};
|
|
4837
|
+
error: {
|
|
4838
|
+
default: {
|
|
4543
4839
|
display: string;
|
|
4544
4840
|
color: string;
|
|
4545
4841
|
'margin-top': string;
|
|
4546
4842
|
};
|
|
4547
4843
|
};
|
|
4844
|
+
icon?: {
|
|
4845
|
+
default: Record<string, string>;
|
|
4846
|
+
} | undefined;
|
|
4847
|
+
field?: {
|
|
4848
|
+
default: Record<string, string>;
|
|
4849
|
+
} | undefined;
|
|
4850
|
+
base: {
|
|
4851
|
+
default: {};
|
|
4852
|
+
};
|
|
4853
|
+
input: {
|
|
4854
|
+
default: Record<string, string>;
|
|
4855
|
+
};
|
|
4548
4856
|
};
|
|
4549
4857
|
};
|
|
4550
|
-
readonly
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
readonly input: {
|
|
4558
|
-
readonly default: {
|
|
4559
|
-
width: string;
|
|
4858
|
+
readonly url: {
|
|
4859
|
+
name: string;
|
|
4860
|
+
displayMode: "desktop";
|
|
4861
|
+
style: {
|
|
4862
|
+
label: {
|
|
4863
|
+
default: {
|
|
4864
|
+
'margin-bottom': string;
|
|
4560
4865
|
display: string;
|
|
4561
|
-
|
|
4562
|
-
'
|
|
4563
|
-
'border-right-style': string;
|
|
4564
|
-
'border-right-width': string;
|
|
4565
|
-
'border-top-right-radius': string;
|
|
4566
|
-
'border-bottom-color': string;
|
|
4567
|
-
'border-bottom-style': string;
|
|
4568
|
-
'border-bottom-width': string;
|
|
4569
|
-
'border-bottom-right-radius': string;
|
|
4570
|
-
'border-bottom-left-radius': string;
|
|
4571
|
-
'border-top-left-radius': string;
|
|
4572
|
-
'border-left-color': string;
|
|
4573
|
-
'border-left-style': string;
|
|
4574
|
-
'border-left-width': string;
|
|
4575
|
-
'border-top-color': string;
|
|
4576
|
-
'border-top-style': string;
|
|
4577
|
-
'border-top-width': string;
|
|
4578
|
-
'user-select': string;
|
|
4866
|
+
cursor: string;
|
|
4867
|
+
'font-weight': string;
|
|
4579
4868
|
'font-size': string;
|
|
4580
|
-
'padding-left': string;
|
|
4581
|
-
'padding-right': string;
|
|
4582
|
-
'padding-top': string;
|
|
4583
|
-
'padding-bottom': string;
|
|
4584
4869
|
'line-height': string;
|
|
4585
|
-
|
|
4586
|
-
|
|
4870
|
+
color: string;
|
|
4871
|
+
'user-select': string;
|
|
4587
4872
|
};
|
|
4588
4873
|
};
|
|
4589
|
-
|
|
4590
|
-
|
|
4874
|
+
requiredMark: {
|
|
4875
|
+
default: {
|
|
4876
|
+
color: string;
|
|
4877
|
+
'margin-left': string;
|
|
4878
|
+
};
|
|
4879
|
+
};
|
|
4880
|
+
error: {
|
|
4881
|
+
default: {
|
|
4882
|
+
display: string;
|
|
4883
|
+
color: string;
|
|
4884
|
+
'margin-top': string;
|
|
4885
|
+
};
|
|
4886
|
+
};
|
|
4887
|
+
icon?: {
|
|
4888
|
+
default: Record<string, string>;
|
|
4889
|
+
} | undefined;
|
|
4890
|
+
field?: {
|
|
4891
|
+
default: Record<string, string>;
|
|
4892
|
+
} | undefined;
|
|
4893
|
+
base: {
|
|
4894
|
+
default: {};
|
|
4895
|
+
};
|
|
4896
|
+
input: {
|
|
4897
|
+
default: Record<string, string>;
|
|
4898
|
+
};
|
|
4899
|
+
};
|
|
4900
|
+
};
|
|
4901
|
+
readonly tel: {
|
|
4902
|
+
name: string;
|
|
4903
|
+
displayMode: "desktop";
|
|
4904
|
+
style: {
|
|
4905
|
+
label: {
|
|
4906
|
+
default: {
|
|
4591
4907
|
'margin-bottom': string;
|
|
4592
4908
|
display: string;
|
|
4593
4909
|
cursor: string;
|
|
@@ -4598,56 +4914,125 @@ declare const elementDeclarations: {
|
|
|
4598
4914
|
'user-select': string;
|
|
4599
4915
|
};
|
|
4600
4916
|
};
|
|
4601
|
-
|
|
4602
|
-
|
|
4917
|
+
requiredMark: {
|
|
4918
|
+
default: {
|
|
4919
|
+
color: string;
|
|
4920
|
+
'margin-left': string;
|
|
4921
|
+
};
|
|
4922
|
+
};
|
|
4923
|
+
error: {
|
|
4924
|
+
default: {
|
|
4603
4925
|
display: string;
|
|
4604
4926
|
color: string;
|
|
4605
4927
|
'margin-top': string;
|
|
4606
4928
|
};
|
|
4607
4929
|
};
|
|
4930
|
+
icon?: {
|
|
4931
|
+
default: Record<string, string>;
|
|
4932
|
+
} | undefined;
|
|
4933
|
+
field?: {
|
|
4934
|
+
default: Record<string, string>;
|
|
4935
|
+
} | undefined;
|
|
4936
|
+
base: {
|
|
4937
|
+
default: {};
|
|
4938
|
+
};
|
|
4939
|
+
input: {
|
|
4940
|
+
default: Record<string, string>;
|
|
4941
|
+
};
|
|
4608
4942
|
};
|
|
4609
4943
|
};
|
|
4610
|
-
readonly
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
readonly input: {
|
|
4618
|
-
readonly default: {
|
|
4619
|
-
width: string;
|
|
4944
|
+
readonly date: {
|
|
4945
|
+
name: string;
|
|
4946
|
+
displayMode: "desktop";
|
|
4947
|
+
style: {
|
|
4948
|
+
label: {
|
|
4949
|
+
default: {
|
|
4950
|
+
'margin-bottom': string;
|
|
4620
4951
|
display: string;
|
|
4621
|
-
|
|
4622
|
-
'
|
|
4623
|
-
'
|
|
4624
|
-
'
|
|
4625
|
-
|
|
4626
|
-
'
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
'
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4952
|
+
cursor: string;
|
|
4953
|
+
'font-weight': string;
|
|
4954
|
+
'font-size': string;
|
|
4955
|
+
'line-height': string;
|
|
4956
|
+
color: string;
|
|
4957
|
+
'user-select': string;
|
|
4958
|
+
};
|
|
4959
|
+
};
|
|
4960
|
+
requiredMark: {
|
|
4961
|
+
default: {
|
|
4962
|
+
color: string;
|
|
4963
|
+
'margin-left': string;
|
|
4964
|
+
};
|
|
4965
|
+
};
|
|
4966
|
+
error: {
|
|
4967
|
+
default: {
|
|
4968
|
+
display: string;
|
|
4969
|
+
color: string;
|
|
4970
|
+
'margin-top': string;
|
|
4971
|
+
};
|
|
4972
|
+
};
|
|
4973
|
+
icon?: {
|
|
4974
|
+
default: Record<string, string>;
|
|
4975
|
+
} | undefined;
|
|
4976
|
+
field?: {
|
|
4977
|
+
default: Record<string, string>;
|
|
4978
|
+
} | undefined;
|
|
4979
|
+
base: {
|
|
4980
|
+
default: {};
|
|
4981
|
+
};
|
|
4982
|
+
input: {
|
|
4983
|
+
default: Record<string, string>;
|
|
4984
|
+
};
|
|
4985
|
+
};
|
|
4986
|
+
};
|
|
4987
|
+
readonly time: {
|
|
4988
|
+
name: string;
|
|
4989
|
+
displayMode: "desktop";
|
|
4990
|
+
style: {
|
|
4991
|
+
label: {
|
|
4992
|
+
default: {
|
|
4993
|
+
'margin-bottom': string;
|
|
4994
|
+
display: string;
|
|
4995
|
+
cursor: string;
|
|
4996
|
+
'font-weight': string;
|
|
4639
4997
|
'font-size': string;
|
|
4640
|
-
'padding-left': string;
|
|
4641
|
-
'padding-right': string;
|
|
4642
|
-
'padding-top': string;
|
|
4643
|
-
'padding-bottom': string;
|
|
4644
4998
|
'line-height': string;
|
|
4645
|
-
|
|
4646
|
-
|
|
4999
|
+
color: string;
|
|
5000
|
+
'user-select': string;
|
|
4647
5001
|
};
|
|
4648
5002
|
};
|
|
4649
|
-
|
|
4650
|
-
|
|
5003
|
+
requiredMark: {
|
|
5004
|
+
default: {
|
|
5005
|
+
color: string;
|
|
5006
|
+
'margin-left': string;
|
|
5007
|
+
};
|
|
5008
|
+
};
|
|
5009
|
+
error: {
|
|
5010
|
+
default: {
|
|
5011
|
+
display: string;
|
|
5012
|
+
color: string;
|
|
5013
|
+
'margin-top': string;
|
|
5014
|
+
};
|
|
5015
|
+
};
|
|
5016
|
+
icon?: {
|
|
5017
|
+
default: Record<string, string>;
|
|
5018
|
+
} | undefined;
|
|
5019
|
+
field?: {
|
|
5020
|
+
default: Record<string, string>;
|
|
5021
|
+
} | undefined;
|
|
5022
|
+
base: {
|
|
5023
|
+
default: {};
|
|
5024
|
+
};
|
|
5025
|
+
input: {
|
|
5026
|
+
default: Record<string, string>;
|
|
5027
|
+
};
|
|
5028
|
+
};
|
|
5029
|
+
};
|
|
5030
|
+
readonly color: {
|
|
5031
|
+
name: string;
|
|
5032
|
+
displayMode: "desktop";
|
|
5033
|
+
style: {
|
|
5034
|
+
label: {
|
|
5035
|
+
default: {
|
|
4651
5036
|
'margin-bottom': string;
|
|
4652
5037
|
display: string;
|
|
4653
5038
|
cursor: string;
|
|
@@ -4658,56 +5043,82 @@ declare const elementDeclarations: {
|
|
|
4658
5043
|
'user-select': string;
|
|
4659
5044
|
};
|
|
4660
5045
|
};
|
|
4661
|
-
|
|
4662
|
-
|
|
5046
|
+
requiredMark: {
|
|
5047
|
+
default: {
|
|
5048
|
+
color: string;
|
|
5049
|
+
'margin-left': string;
|
|
5050
|
+
};
|
|
5051
|
+
};
|
|
5052
|
+
error: {
|
|
5053
|
+
default: {
|
|
4663
5054
|
display: string;
|
|
4664
5055
|
color: string;
|
|
4665
5056
|
'margin-top': string;
|
|
4666
5057
|
};
|
|
4667
5058
|
};
|
|
5059
|
+
icon?: {
|
|
5060
|
+
default: Record<string, string>;
|
|
5061
|
+
} | undefined;
|
|
5062
|
+
field?: {
|
|
5063
|
+
default: Record<string, string>;
|
|
5064
|
+
} | undefined;
|
|
5065
|
+
base: {
|
|
5066
|
+
default: {};
|
|
5067
|
+
};
|
|
5068
|
+
input: {
|
|
5069
|
+
default: Record<string, string>;
|
|
5070
|
+
};
|
|
4668
5071
|
};
|
|
4669
5072
|
};
|
|
4670
5073
|
readonly textarea: {
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
readonly input: {
|
|
4678
|
-
readonly default: {
|
|
4679
|
-
width: string;
|
|
5074
|
+
name: string;
|
|
5075
|
+
displayMode: "desktop";
|
|
5076
|
+
style: {
|
|
5077
|
+
label: {
|
|
5078
|
+
default: {
|
|
5079
|
+
'margin-bottom': string;
|
|
4680
5080
|
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;
|
|
5081
|
+
cursor: string;
|
|
5082
|
+
'font-weight': string;
|
|
4699
5083
|
'font-size': string;
|
|
4700
|
-
'padding-left': string;
|
|
4701
|
-
'padding-right': string;
|
|
4702
|
-
'padding-top': string;
|
|
4703
|
-
'padding-bottom': string;
|
|
4704
5084
|
'line-height': string;
|
|
4705
|
-
|
|
4706
|
-
|
|
5085
|
+
color: string;
|
|
5086
|
+
'user-select': string;
|
|
4707
5087
|
};
|
|
4708
5088
|
};
|
|
4709
|
-
|
|
4710
|
-
|
|
5089
|
+
requiredMark: {
|
|
5090
|
+
default: {
|
|
5091
|
+
color: string;
|
|
5092
|
+
'margin-left': string;
|
|
5093
|
+
};
|
|
5094
|
+
};
|
|
5095
|
+
error: {
|
|
5096
|
+
default: {
|
|
5097
|
+
display: string;
|
|
5098
|
+
color: string;
|
|
5099
|
+
'margin-top': string;
|
|
5100
|
+
};
|
|
5101
|
+
};
|
|
5102
|
+
icon?: {
|
|
5103
|
+
default: Record<string, string>;
|
|
5104
|
+
} | undefined;
|
|
5105
|
+
field?: {
|
|
5106
|
+
default: Record<string, string>;
|
|
5107
|
+
} | undefined;
|
|
5108
|
+
base: {
|
|
5109
|
+
default: {};
|
|
5110
|
+
};
|
|
5111
|
+
input: {
|
|
5112
|
+
default: Record<string, string>;
|
|
5113
|
+
};
|
|
5114
|
+
};
|
|
5115
|
+
};
|
|
5116
|
+
readonly select: {
|
|
5117
|
+
name: string;
|
|
5118
|
+
displayMode: "desktop";
|
|
5119
|
+
style: {
|
|
5120
|
+
label: {
|
|
5121
|
+
default: {
|
|
4711
5122
|
'margin-bottom': string;
|
|
4712
5123
|
display: string;
|
|
4713
5124
|
cursor: string;
|
|
@@ -4718,13 +5129,31 @@ declare const elementDeclarations: {
|
|
|
4718
5129
|
'user-select': string;
|
|
4719
5130
|
};
|
|
4720
5131
|
};
|
|
4721
|
-
|
|
4722
|
-
|
|
5132
|
+
requiredMark: {
|
|
5133
|
+
default: {
|
|
5134
|
+
color: string;
|
|
5135
|
+
'margin-left': string;
|
|
5136
|
+
};
|
|
5137
|
+
};
|
|
5138
|
+
error: {
|
|
5139
|
+
default: {
|
|
4723
5140
|
display: string;
|
|
4724
5141
|
color: string;
|
|
4725
5142
|
'margin-top': string;
|
|
4726
5143
|
};
|
|
4727
5144
|
};
|
|
5145
|
+
icon?: {
|
|
5146
|
+
default: Record<string, string>;
|
|
5147
|
+
} | undefined;
|
|
5148
|
+
field?: {
|
|
5149
|
+
default: Record<string, string>;
|
|
5150
|
+
} | undefined;
|
|
5151
|
+
base: {
|
|
5152
|
+
default: {};
|
|
5153
|
+
};
|
|
5154
|
+
input: {
|
|
5155
|
+
default: Record<string, string>;
|
|
5156
|
+
};
|
|
4728
5157
|
};
|
|
4729
5158
|
};
|
|
4730
5159
|
readonly checkbox: {
|
|
@@ -4753,6 +5182,12 @@ declare const elementDeclarations: {
|
|
|
4753
5182
|
'user-select': string;
|
|
4754
5183
|
};
|
|
4755
5184
|
};
|
|
5185
|
+
readonly requiredMark: {
|
|
5186
|
+
readonly default: {
|
|
5187
|
+
color: string;
|
|
5188
|
+
'margin-left': string;
|
|
5189
|
+
};
|
|
5190
|
+
};
|
|
4756
5191
|
readonly error: {
|
|
4757
5192
|
readonly default: {
|
|
4758
5193
|
display: string;
|
|
@@ -4762,8 +5197,8 @@ declare const elementDeclarations: {
|
|
|
4762
5197
|
};
|
|
4763
5198
|
};
|
|
4764
5199
|
};
|
|
4765
|
-
readonly
|
|
4766
|
-
readonly name: "Form Control
|
|
5200
|
+
readonly switch: {
|
|
5201
|
+
readonly name: "Form Control Switch";
|
|
4767
5202
|
readonly displayMode: "desktop";
|
|
4768
5203
|
readonly style: {
|
|
4769
5204
|
readonly base: {
|
|
@@ -4771,46 +5206,53 @@ declare const elementDeclarations: {
|
|
|
4771
5206
|
};
|
|
4772
5207
|
readonly input: {
|
|
4773
5208
|
readonly default: {
|
|
4774
|
-
|
|
4775
|
-
|
|
5209
|
+
height: string;
|
|
5210
|
+
width: string;
|
|
5211
|
+
'margin-top': string;
|
|
5212
|
+
'margin-bottom': string;
|
|
5213
|
+
'margin-left': string;
|
|
5214
|
+
'margin-right': string;
|
|
5215
|
+
position: string;
|
|
5216
|
+
'flex-shrink': string;
|
|
5217
|
+
'border-top-color': string;
|
|
5218
|
+
'border-top-style': string;
|
|
5219
|
+
'border-top-width': string;
|
|
5220
|
+
'border-right-color': string;
|
|
5221
|
+
'border-right-style': string;
|
|
5222
|
+
'border-right-width': string;
|
|
5223
|
+
'border-bottom-color': string;
|
|
5224
|
+
'border-bottom-style': string;
|
|
5225
|
+
'border-bottom-width': string;
|
|
5226
|
+
'border-left-color': string;
|
|
5227
|
+
'border-left-style': string;
|
|
5228
|
+
'border-left-width': string;
|
|
5229
|
+
'border-top-left-radius': string;
|
|
5230
|
+
'border-top-right-radius': string;
|
|
5231
|
+
'border-bottom-left-radius': string;
|
|
5232
|
+
'border-bottom-right-radius': string;
|
|
5233
|
+
'background-color': string;
|
|
5234
|
+
transition: string;
|
|
5235
|
+
appearance: string;
|
|
5236
|
+
cursor: string;
|
|
5237
|
+
};
|
|
5238
|
+
};
|
|
5239
|
+
readonly label: {
|
|
5240
|
+
readonly default: {
|
|
5241
|
+
readonly 'align-items': "center";
|
|
4776
5242
|
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;
|
|
5243
|
+
readonly cursor: string;
|
|
5244
|
+
readonly 'font-weight': string;
|
|
4795
5245
|
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
5246
|
readonly 'line-height': string;
|
|
4801
|
-
readonly
|
|
4802
|
-
readonly
|
|
5247
|
+
readonly color: string;
|
|
5248
|
+
readonly 'user-select': string;
|
|
4803
5249
|
};
|
|
4804
5250
|
};
|
|
4805
|
-
readonly
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
'font-size': string;
|
|
4811
|
-
'line-height': string;
|
|
4812
|
-
color: string;
|
|
4813
|
-
'user-select': string;
|
|
5251
|
+
readonly requiredMark: {
|
|
5252
|
+
readonly default: {
|
|
5253
|
+
color: string;
|
|
5254
|
+
'margin-left': string;
|
|
5255
|
+
};
|
|
4814
5256
|
};
|
|
4815
5257
|
readonly error: {
|
|
4816
5258
|
readonly default: {
|
|
@@ -4871,7 +5313,11 @@ declare const elementDeclarations: {
|
|
|
4871
5313
|
readonly displayMode: "desktop";
|
|
4872
5314
|
readonly style: {
|
|
4873
5315
|
readonly base: {
|
|
4874
|
-
readonly default: {
|
|
5316
|
+
readonly default: {
|
|
5317
|
+
readonly 'margin-top': "25px";
|
|
5318
|
+
readonly 'margin-bottom': "25px";
|
|
5319
|
+
readonly 'font-weight': 700;
|
|
5320
|
+
};
|
|
4875
5321
|
};
|
|
4876
5322
|
};
|
|
4877
5323
|
readonly subTypes: {
|
|
@@ -4990,7 +5436,7 @@ declare const elementDeclarations: {
|
|
|
4990
5436
|
readonly definition: {
|
|
4991
5437
|
readonly label: "Image";
|
|
4992
5438
|
readonly type: "image";
|
|
4993
|
-
readonly description:
|
|
5439
|
+
readonly description: string;
|
|
4994
5440
|
readonly bindings: {};
|
|
4995
5441
|
readonly styleSelectors: {
|
|
4996
5442
|
readonly base: "";
|
|
@@ -5025,7 +5471,8 @@ declare const elementDeclarations: {
|
|
|
5025
5471
|
readonly default: {
|
|
5026
5472
|
readonly display: "block";
|
|
5027
5473
|
readonly width: "140px";
|
|
5028
|
-
readonly height: "
|
|
5474
|
+
readonly height: "auto";
|
|
5475
|
+
readonly 'max-width': "100%";
|
|
5029
5476
|
};
|
|
5030
5477
|
};
|
|
5031
5478
|
};
|
|
@@ -5107,6 +5554,7 @@ declare const elementDeclarations: {
|
|
|
5107
5554
|
readonly target: readonly string[];
|
|
5108
5555
|
readonly contentPlacement: readonly string[];
|
|
5109
5556
|
readonly iconPlacement: readonly string[];
|
|
5557
|
+
readonly current: readonly string[];
|
|
5110
5558
|
};
|
|
5111
5559
|
readonly content: {
|
|
5112
5560
|
readonly attributes: {
|
|
@@ -5119,6 +5567,7 @@ declare const elementDeclarations: {
|
|
|
5119
5567
|
readonly contentPlacement: "after";
|
|
5120
5568
|
readonly icon: "";
|
|
5121
5569
|
readonly iconPlacement: "before";
|
|
5570
|
+
readonly current: "page";
|
|
5122
5571
|
};
|
|
5123
5572
|
readonly definition: {
|
|
5124
5573
|
readonly label: "Link";
|
|
@@ -5159,7 +5608,8 @@ declare const elementDeclarations: {
|
|
|
5159
5608
|
readonly base: {
|
|
5160
5609
|
readonly default: {
|
|
5161
5610
|
readonly display: "inline-block";
|
|
5162
|
-
readonly color: "#333";
|
|
5611
|
+
readonly color: "light-dark(#333, oklch(0.92 0.004 286.32))";
|
|
5612
|
+
readonly 'text-decoration': "none";
|
|
5163
5613
|
readonly cursor: "pointer";
|
|
5164
5614
|
};
|
|
5165
5615
|
};
|
|
@@ -5174,6 +5624,7 @@ declare const elementDeclarations: {
|
|
|
5174
5624
|
target?: "self" | "blank" | "parent" | "top" | undefined;
|
|
5175
5625
|
content?: string | undefined;
|
|
5176
5626
|
icon?: string | undefined;
|
|
5627
|
+
current?: "page" | "section" | undefined;
|
|
5177
5628
|
iconPlacement?: IconPlacement | undefined;
|
|
5178
5629
|
contentPlacement?: "before" | "after" | undefined;
|
|
5179
5630
|
hash?: string | undefined;
|
|
@@ -5227,7 +5678,11 @@ declare const elementDeclarations: {
|
|
|
5227
5678
|
readonly displayMode: "desktop";
|
|
5228
5679
|
readonly style: {
|
|
5229
5680
|
readonly base: {
|
|
5230
|
-
readonly default: {
|
|
5681
|
+
readonly default: {
|
|
5682
|
+
readonly 'margin-top': "0px";
|
|
5683
|
+
readonly 'margin-bottom': "10px";
|
|
5684
|
+
readonly 'padding-left': "40px";
|
|
5685
|
+
};
|
|
5231
5686
|
};
|
|
5232
5687
|
};
|
|
5233
5688
|
readonly subTypes: {
|
|
@@ -5366,14 +5821,43 @@ declare const elementDeclarations: {
|
|
|
5366
5821
|
readonly content: {
|
|
5367
5822
|
readonly attributes: {
|
|
5368
5823
|
readonly content: "Markdown";
|
|
5824
|
+
readonly headingLinks: true;
|
|
5369
5825
|
};
|
|
5370
5826
|
readonly definition: {
|
|
5371
5827
|
readonly label: "Markdown";
|
|
5372
5828
|
readonly type: "markdown";
|
|
5373
|
-
readonly description:
|
|
5829
|
+
readonly description: string;
|
|
5374
5830
|
readonly bindings: {};
|
|
5375
5831
|
readonly styleSelectors: {
|
|
5376
5832
|
readonly base: "";
|
|
5833
|
+
readonly heading: "";
|
|
5834
|
+
readonly heading1: "";
|
|
5835
|
+
readonly heading2: "";
|
|
5836
|
+
readonly heading3: "";
|
|
5837
|
+
readonly heading4: "";
|
|
5838
|
+
readonly heading5: "";
|
|
5839
|
+
readonly heading6: "";
|
|
5840
|
+
readonly paragraph: "";
|
|
5841
|
+
readonly link: "";
|
|
5842
|
+
readonly strong: "";
|
|
5843
|
+
readonly emphasis: "";
|
|
5844
|
+
readonly list: "";
|
|
5845
|
+
readonly listItem: "";
|
|
5846
|
+
readonly quote: "";
|
|
5847
|
+
readonly divider: "";
|
|
5848
|
+
readonly code: "";
|
|
5849
|
+
readonly codeBlock: "";
|
|
5850
|
+
readonly codeBlockFrame: "";
|
|
5851
|
+
readonly codeBlockHeader: "";
|
|
5852
|
+
readonly codeBlockLanguage: "";
|
|
5853
|
+
readonly codeBlockCopy: "";
|
|
5854
|
+
readonly image: "";
|
|
5855
|
+
readonly table: "";
|
|
5856
|
+
readonly tableHead: "";
|
|
5857
|
+
readonly tableRow: "";
|
|
5858
|
+
readonly tableHeaderCell: "";
|
|
5859
|
+
readonly tableCell: "";
|
|
5860
|
+
readonly anchor: "";
|
|
5377
5861
|
};
|
|
5378
5862
|
readonly initialState: {
|
|
5379
5863
|
readonly visibility: true;
|
|
@@ -5402,10 +5886,7 @@ declare const elementDeclarations: {
|
|
|
5402
5886
|
readonly displayMode: "desktop";
|
|
5403
5887
|
readonly style: {
|
|
5404
5888
|
readonly base: {
|
|
5405
|
-
readonly default: {
|
|
5406
|
-
readonly 'font-size': "14px";
|
|
5407
|
-
readonly 'line-height': "1.714";
|
|
5408
|
-
};
|
|
5889
|
+
readonly default: {};
|
|
5409
5890
|
};
|
|
5410
5891
|
};
|
|
5411
5892
|
};
|
|
@@ -5413,6 +5894,7 @@ declare const elementDeclarations: {
|
|
|
5413
5894
|
};
|
|
5414
5895
|
} & ElementAttributesBrand<Partial<{
|
|
5415
5896
|
content?: string | undefined;
|
|
5897
|
+
headingLinks?: boolean | undefined;
|
|
5416
5898
|
}>>;
|
|
5417
5899
|
readonly ModalContainer: {
|
|
5418
5900
|
readonly type: "modalContainer";
|
|
@@ -5512,11 +5994,12 @@ declare const elementDeclarations: {
|
|
|
5512
5994
|
readonly style: {
|
|
5513
5995
|
readonly base: {
|
|
5514
5996
|
readonly default: {
|
|
5515
|
-
readonly position: "
|
|
5997
|
+
readonly position: "fixed";
|
|
5516
5998
|
readonly top: "0";
|
|
5517
5999
|
readonly bottom: "0";
|
|
5518
6000
|
readonly left: "0";
|
|
5519
6001
|
readonly right: "0";
|
|
6002
|
+
readonly 'z-index': "200";
|
|
5520
6003
|
};
|
|
5521
6004
|
};
|
|
5522
6005
|
readonly backgroundContainer: {
|
|
@@ -5526,6 +6009,7 @@ declare const elementDeclarations: {
|
|
|
5526
6009
|
readonly left: "0";
|
|
5527
6010
|
readonly top: "0";
|
|
5528
6011
|
readonly position: "absolute";
|
|
6012
|
+
readonly 'z-index': "210";
|
|
5529
6013
|
readonly 'background-color': "black";
|
|
5530
6014
|
readonly opacity: "0.5";
|
|
5531
6015
|
};
|
|
@@ -5537,8 +6021,11 @@ declare const elementDeclarations: {
|
|
|
5537
6021
|
readonly position: "absolute";
|
|
5538
6022
|
readonly top: "50%";
|
|
5539
6023
|
readonly left: "50%";
|
|
6024
|
+
readonly 'z-index': "250";
|
|
5540
6025
|
readonly width: "500px";
|
|
5541
|
-
readonly
|
|
6026
|
+
readonly 'max-width': "calc(100vw - 32px)";
|
|
6027
|
+
readonly 'max-height': "calc(100dvh - 32px)";
|
|
6028
|
+
readonly overflow: "auto";
|
|
5542
6029
|
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
5543
6030
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
5544
6031
|
readonly 'border-top-left-radius': "8px";
|
|
@@ -5570,25 +6057,40 @@ declare const elementDeclarations: {
|
|
|
5570
6057
|
};
|
|
5571
6058
|
readonly headerCloseButton: {
|
|
5572
6059
|
readonly default: {
|
|
5573
|
-
readonly height: "
|
|
5574
|
-
readonly width: "
|
|
5575
|
-
readonly padding: "4px";
|
|
6060
|
+
readonly height: "28px";
|
|
6061
|
+
readonly width: "28px";
|
|
6062
|
+
readonly 'padding-top': "4px";
|
|
6063
|
+
readonly 'padding-bottom': "4px";
|
|
6064
|
+
readonly 'padding-left': "4px";
|
|
6065
|
+
readonly 'padding-right': "4px";
|
|
5576
6066
|
readonly display: "flex";
|
|
5577
6067
|
readonly 'justify-content': "center";
|
|
5578
6068
|
readonly 'align-items': "center";
|
|
6069
|
+
readonly 'flex-shrink': "0";
|
|
6070
|
+
readonly 'border-top-left-radius': "4px";
|
|
6071
|
+
readonly 'border-top-right-radius': "4px";
|
|
6072
|
+
readonly 'border-bottom-left-radius': "4px";
|
|
6073
|
+
readonly 'border-bottom-right-radius': "4px";
|
|
6074
|
+
readonly 'background-color': "transparent";
|
|
6075
|
+
readonly color: "inherit";
|
|
6076
|
+
readonly 'font-style': "inherit";
|
|
6077
|
+
readonly 'font-weight': "inherit";
|
|
6078
|
+
readonly 'line-height': "inherit";
|
|
6079
|
+
readonly 'font-family': "inherit";
|
|
6080
|
+
readonly 'font-size': "inherit";
|
|
5579
6081
|
readonly cursor: "pointer";
|
|
5580
6082
|
};
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
6083
|
+
};
|
|
6084
|
+
readonly bodyContainer: {
|
|
6085
|
+
readonly default: {
|
|
6086
|
+
readonly display: "flex";
|
|
6087
|
+
readonly 'flex-direction': "column";
|
|
6088
|
+
readonly 'flex-grow': "1";
|
|
6089
|
+
readonly 'flex-basis': "auto";
|
|
6090
|
+
readonly 'padding-top': "20px";
|
|
6091
|
+
readonly 'padding-bottom': "20px";
|
|
6092
|
+
readonly 'padding-left': "20px";
|
|
6093
|
+
readonly 'padding-right': "20px";
|
|
5592
6094
|
};
|
|
5593
6095
|
};
|
|
5594
6096
|
};
|
|
@@ -5981,7 +6483,11 @@ declare const elementDeclarations: {
|
|
|
5981
6483
|
readonly displayMode: "desktop";
|
|
5982
6484
|
readonly style: {
|
|
5983
6485
|
readonly base: {
|
|
5984
|
-
readonly default: {
|
|
6486
|
+
readonly default: {
|
|
6487
|
+
readonly display: "flex";
|
|
6488
|
+
readonly 'justify-content': "center";
|
|
6489
|
+
readonly 'align-items': "center";
|
|
6490
|
+
};
|
|
5985
6491
|
};
|
|
5986
6492
|
};
|
|
5987
6493
|
};
|
|
@@ -6057,12 +6563,11 @@ declare const elementDeclarations: {
|
|
|
6057
6563
|
readonly 'min-height': "100%";
|
|
6058
6564
|
readonly 'min-width': "100%";
|
|
6059
6565
|
readonly 'font-family': "Arial";
|
|
6060
|
-
readonly color: "#333";
|
|
6566
|
+
readonly color: "light-dark(#333, oklch(0.92 0.004 286.32))";
|
|
6061
6567
|
readonly 'font-size': "14px";
|
|
6062
6568
|
readonly 'font-weight': 400;
|
|
6063
6569
|
readonly 'line-height': "16px";
|
|
6064
6570
|
readonly 'text-align': "left";
|
|
6065
|
-
readonly 'background-color': "#ffffff";
|
|
6066
6571
|
};
|
|
6067
6572
|
};
|
|
6068
6573
|
};
|
|
@@ -6107,11 +6612,15 @@ declare const elementDeclarations: {
|
|
|
6107
6612
|
readonly definition: {
|
|
6108
6613
|
readonly label: "Pagination";
|
|
6109
6614
|
readonly type: "pagination";
|
|
6110
|
-
readonly description:
|
|
6615
|
+
readonly description: string;
|
|
6111
6616
|
readonly items: readonly [];
|
|
6112
6617
|
readonly bindings: {};
|
|
6113
6618
|
readonly styleSelectors: {
|
|
6114
6619
|
readonly base: "";
|
|
6620
|
+
readonly previous: "";
|
|
6621
|
+
readonly page: "";
|
|
6622
|
+
readonly next: "";
|
|
6623
|
+
readonly loadMore: "";
|
|
6115
6624
|
};
|
|
6116
6625
|
readonly initialState: {
|
|
6117
6626
|
readonly visibility: true;
|
|
@@ -6283,11 +6792,38 @@ declare const elementDeclarations: {
|
|
|
6283
6792
|
readonly definition: {
|
|
6284
6793
|
readonly label: "Rich Text";
|
|
6285
6794
|
readonly type: "richText";
|
|
6286
|
-
readonly description:
|
|
6795
|
+
readonly description: string;
|
|
6287
6796
|
readonly items: readonly [];
|
|
6288
6797
|
readonly bindings: {};
|
|
6289
6798
|
readonly styleSelectors: {
|
|
6290
6799
|
readonly base: "";
|
|
6800
|
+
readonly heading: "";
|
|
6801
|
+
readonly heading1: "";
|
|
6802
|
+
readonly heading2: "";
|
|
6803
|
+
readonly heading3: "";
|
|
6804
|
+
readonly heading4: "";
|
|
6805
|
+
readonly heading5: "";
|
|
6806
|
+
readonly heading6: "";
|
|
6807
|
+
readonly paragraph: "";
|
|
6808
|
+
readonly link: "";
|
|
6809
|
+
readonly strong: "";
|
|
6810
|
+
readonly emphasis: "";
|
|
6811
|
+
readonly list: "";
|
|
6812
|
+
readonly listItem: "";
|
|
6813
|
+
readonly quote: "";
|
|
6814
|
+
readonly divider: "";
|
|
6815
|
+
readonly code: "";
|
|
6816
|
+
readonly codeBlock: "";
|
|
6817
|
+
readonly codeBlockFrame: "";
|
|
6818
|
+
readonly codeBlockHeader: "";
|
|
6819
|
+
readonly codeBlockLanguage: "";
|
|
6820
|
+
readonly codeBlockCopy: "";
|
|
6821
|
+
readonly image: "";
|
|
6822
|
+
readonly table: "";
|
|
6823
|
+
readonly tableHead: "";
|
|
6824
|
+
readonly tableRow: "";
|
|
6825
|
+
readonly tableHeaderCell: "";
|
|
6826
|
+
readonly tableCell: "";
|
|
6291
6827
|
};
|
|
6292
6828
|
readonly initialState: {
|
|
6293
6829
|
readonly visibility: true;
|
|
@@ -6623,8 +7159,6 @@ declare const elementDeclarations: {
|
|
|
6623
7159
|
readonly style: {
|
|
6624
7160
|
readonly base: {
|
|
6625
7161
|
readonly default: {
|
|
6626
|
-
readonly 'font-size': "14px";
|
|
6627
|
-
readonly 'line-height': "1.714";
|
|
6628
7162
|
readonly display: "inline";
|
|
6629
7163
|
};
|
|
6630
7164
|
};
|
|
@@ -6663,7 +7197,7 @@ declare const elementDeclarations: {
|
|
|
6663
7197
|
readonly definition: {
|
|
6664
7198
|
readonly label: "Theme Toggle";
|
|
6665
7199
|
readonly type: "themeToggle";
|
|
6666
|
-
readonly description:
|
|
7200
|
+
readonly description: string;
|
|
6667
7201
|
readonly items: readonly [];
|
|
6668
7202
|
readonly bindings: {};
|
|
6669
7203
|
readonly styleSelectors: {
|
|
@@ -6699,9 +7233,53 @@ declare const elementDeclarations: {
|
|
|
6699
7233
|
readonly style: {
|
|
6700
7234
|
readonly base: {
|
|
6701
7235
|
readonly default: {
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
7236
|
+
'margin-top': string;
|
|
7237
|
+
'margin-right': string;
|
|
7238
|
+
'margin-bottom': string;
|
|
7239
|
+
'margin-left': string;
|
|
7240
|
+
'padding-top': string;
|
|
7241
|
+
'padding-right': string;
|
|
7242
|
+
'padding-bottom': string;
|
|
7243
|
+
'padding-left': string;
|
|
7244
|
+
display: string;
|
|
7245
|
+
'align-items': string;
|
|
7246
|
+
'background-color': string;
|
|
7247
|
+
color: string;
|
|
7248
|
+
'font-family': string;
|
|
7249
|
+
'font-size': string;
|
|
7250
|
+
'font-style': string;
|
|
7251
|
+
'font-weight': string;
|
|
7252
|
+
'line-height': string;
|
|
7253
|
+
'letter-spacing': string;
|
|
7254
|
+
cursor: string;
|
|
7255
|
+
};
|
|
7256
|
+
};
|
|
7257
|
+
readonly icon: {
|
|
7258
|
+
readonly default: {};
|
|
7259
|
+
};
|
|
7260
|
+
readonly option: {
|
|
7261
|
+
readonly default: {
|
|
7262
|
+
readonly 'row-gap': "4px";
|
|
7263
|
+
readonly 'column-gap': "4px";
|
|
7264
|
+
readonly 'margin-top': string;
|
|
7265
|
+
readonly 'margin-right': string;
|
|
7266
|
+
readonly 'margin-bottom': string;
|
|
7267
|
+
readonly 'margin-left': string;
|
|
7268
|
+
readonly 'padding-top': string;
|
|
7269
|
+
readonly 'padding-right': string;
|
|
7270
|
+
readonly 'padding-bottom': string;
|
|
7271
|
+
readonly 'padding-left': string;
|
|
7272
|
+
readonly display: string;
|
|
7273
|
+
readonly 'align-items': string;
|
|
7274
|
+
readonly 'background-color': string;
|
|
7275
|
+
readonly color: string;
|
|
7276
|
+
readonly 'font-family': string;
|
|
7277
|
+
readonly 'font-size': string;
|
|
7278
|
+
readonly 'font-style': string;
|
|
7279
|
+
readonly 'font-weight': string;
|
|
7280
|
+
readonly 'line-height': string;
|
|
7281
|
+
readonly 'letter-spacing': string;
|
|
7282
|
+
readonly cursor: string;
|
|
6705
7283
|
};
|
|
6706
7284
|
};
|
|
6707
7285
|
};
|
|
@@ -7195,6 +7773,8 @@ export declare interface ElementStyleSpec {
|
|
|
7195
7773
|
states?: StatesSpec;
|
|
7196
7774
|
variants?: Record<string, CssSpec | VariantSpec>;
|
|
7197
7775
|
ancestors?: Record<string, AncestorSpec>;
|
|
7776
|
+
pseudos?: PseudosSpec;
|
|
7777
|
+
conditions?: Record<string, ConditionSpec>;
|
|
7198
7778
|
slots?: Record<string, StyleSpec>;
|
|
7199
7779
|
}
|
|
7200
7780
|
|
|
@@ -7267,6 +7847,15 @@ export declare const expandShorthand: (css: CssProps) => CssProps;
|
|
|
7267
7847
|
* `{ padding: null }` clears all four sides rather than a `padding` key that was never stored. */
|
|
7268
7848
|
export declare const expandShorthandPatch: (css: CssPatch) => CssPatch;
|
|
7269
7849
|
|
|
7850
|
+
/**
|
|
7851
|
+
* {@link expandShorthand}, and which shorthand wrote each longhand it holds — `padding-top` → `padding` — for a longhand
|
|
7852
|
+
* the shorthand set and nothing after it overrode. A longhand written out is in `rules` and not in `from`.
|
|
7853
|
+
*/
|
|
7854
|
+
export declare const expandShorthandTraced: (css: CssProps) => {
|
|
7855
|
+
rules: CssProps;
|
|
7856
|
+
from: Map<string, string>;
|
|
7857
|
+
};
|
|
7858
|
+
|
|
7270
7859
|
/** Everything a name is — an action can be both a global and an element callback (`setState`), and is said as both. */
|
|
7271
7860
|
export declare const explain: (name: string) => Explanation[];
|
|
7272
7861
|
|
|
@@ -7314,6 +7903,8 @@ export declare type Explanation = {
|
|
|
7314
7903
|
/** The element types that answer to it, for an element callback. */
|
|
7315
7904
|
answeredBy?: string[];
|
|
7316
7905
|
params: ParamInfo[];
|
|
7906
|
+
/** What a later step reads of it, named: `{{ <step>.field }}` — and the only fields a `when` can ask it about. */
|
|
7907
|
+
reads: string[];
|
|
7317
7908
|
} | {
|
|
7318
7909
|
kind: 'trigger';
|
|
7319
7910
|
name: string;
|
|
@@ -7362,14 +7953,17 @@ export declare interface FixChange {
|
|
|
7362
7953
|
on: 'attribute' | 'field' | 'binding' | {
|
|
7363
7954
|
step: string;
|
|
7364
7955
|
};
|
|
7365
|
-
/**
|
|
7366
|
-
|
|
7956
|
+
/**
|
|
7957
|
+
* `replace` swaps one literal text for another anywhere under the key — a transformer's action in a binding.
|
|
7958
|
+
* `unwrap` puts what the key holds — an object — in its place, one level up: `attributes: { value: 5 }` → `value: 5`.
|
|
7959
|
+
*/
|
|
7960
|
+
op: 'remove' | 'rename' | 'set' | 'replace' | 'unwrap';
|
|
7367
7961
|
/** The attribute, field or param; a binding's target; the text `replace` looks for. */
|
|
7368
7962
|
key: string;
|
|
7369
7963
|
/** What `rename` renames to, and what `replace` writes. */
|
|
7370
7964
|
to?: string;
|
|
7371
7965
|
/** What `set` writes. */
|
|
7372
|
-
value?: string | boolean;
|
|
7966
|
+
value?: string | number | boolean;
|
|
7373
7967
|
}
|
|
7374
7968
|
|
|
7375
7969
|
/** What is wrong with a declaration, and what of it has one fix. */
|
|
@@ -7556,6 +8150,13 @@ export declare const getTransformer: (action: string) => BuiltinTransformer | un
|
|
|
7556
8150
|
/** The built-in utility for an action, or undefined when the action is not a known built-in utility. */
|
|
7557
8151
|
export declare const getUtility: (action: string) => BuiltinUtility | undefined;
|
|
7558
8152
|
|
|
8153
|
+
/**
|
|
8154
|
+
* The builder of a global callback not named after its action. Apart from {@link BUILDER_NAMES} because that table is
|
|
8155
|
+
* the element callbacks': `setState` the global callback is written `setState(…)`, the element one `updateElement(…)`.
|
|
8156
|
+
* The auth builders keep a prefix the actions do not have — a bare `login` would be too vague at an import.
|
|
8157
|
+
*/
|
|
8158
|
+
export declare const GLOBAL_CALLBACK_BUILDERS: Record<string, string>;
|
|
8159
|
+
|
|
7559
8160
|
/**
|
|
7560
8161
|
* The sources that belong to nobody, registered once for the whole space — the runtime's own list.
|
|
7561
8162
|
*
|
|
@@ -7778,7 +8379,7 @@ export declare interface ImportProbeInput {
|
|
|
7778
8379
|
|
|
7779
8380
|
export declare const importSlug: (text: string) => string;
|
|
7780
8381
|
|
|
7781
|
-
/** What an import found, counted — the few lines `plitzi import` answers with. */
|
|
8382
|
+
/** What an import found, counted — the few lines `plitzi page import` answers with. */
|
|
7782
8383
|
export declare interface ImportSummary {
|
|
7783
8384
|
url: string;
|
|
7784
8385
|
widths: number[];
|
|
@@ -7968,10 +8569,12 @@ export declare type InteractionParamType = 'boolean' | 'select' | 'text' | 'numb
|
|
|
7968
8569
|
export declare type InteractionPostCallback<T extends Record<string, unknown> = Record<string, unknown>> = (params: InteractionCallbackParamValues<T>, callbackResult?: unknown) => unknown;
|
|
7969
8570
|
|
|
7970
8571
|
/**
|
|
7971
|
-
* Tells the page's
|
|
8572
|
+
* Tells the page's providers the data behind them changed, so the api containers showing it ask again — a browser
|
|
8573
|
+
* request, or a server-driven provider (`runtime: 'server'`) asking the page server for its slice.
|
|
7972
8574
|
*
|
|
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.
|
|
8575
|
+
* `elements` names the containers by id — the way to reach one whose URL is a template, or a server provider fed by
|
|
8576
|
+
* a connector or an action — and `url` the requests whose URL starts with it; given both, a request must match both.
|
|
8577
|
+
* With neither, every provider on the page.
|
|
7975
8578
|
*/
|
|
7976
8579
|
export declare const invalidateQueries: (params?: {
|
|
7977
8580
|
elements?: string[];
|
|
@@ -8012,8 +8615,8 @@ export declare const isCustomProperty: (key: string) => boolean;
|
|
|
8012
8615
|
/**
|
|
8013
8616
|
* Whether a style is the object form rather than plain CSS.
|
|
8014
8617
|
*
|
|
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.
|
|
8618
|
+
* Told apart by the keys, like the per-breakpoint shape: `css`, `states`, `variants`, `ancestors`, `pseudos` and
|
|
8619
|
+
* `conditions` are not CSS properties, so an object naming only those is a rule set and anything else is CSS.
|
|
8017
8620
|
*/
|
|
8018
8621
|
export declare const isRuleSetSpec: (spec: StyleSpec) => spec is RuleSetSpec;
|
|
8019
8622
|
|
|
@@ -8042,6 +8645,18 @@ export declare interface KeyboardDriver {
|
|
|
8042
8645
|
};
|
|
8043
8646
|
}
|
|
8044
8647
|
|
|
8648
|
+
/**
|
|
8649
|
+
* A space's keyframes as an author writes them: by name, each frame keyed by its offset — `from`, `to`, `'50%'`,
|
|
8650
|
+
* `'0%, 100%'` — and its rules as any other CSS is written, shorthands allowed:
|
|
8651
|
+
*
|
|
8652
|
+
* ```ts
|
|
8653
|
+
* keyframes: { 'caret-blink': { '0%, 100%': { opacity: 1 }, '50%': { opacity: 0 } } }
|
|
8654
|
+
* ```
|
|
8655
|
+
*
|
|
8656
|
+
* A class plays them with `animation-name` (`animation: 'caret-blink 1s steps(1) infinite'`).
|
|
8657
|
+
*/
|
|
8658
|
+
declare type KeyframesSpec = Record<string, Record<string, CssProps>>;
|
|
8659
|
+
|
|
8045
8660
|
/** A layout shell: what pages render inside, so its elements are on screen wherever a page names it. */
|
|
8046
8661
|
export declare interface LayoutHandle extends ElementHandle {
|
|
8047
8662
|
/** Everything in the shell, by id — the header and the navigation a test reaches for on any page. */
|
|
@@ -8098,6 +8713,7 @@ export declare const link: ElementFactory<Partial<{
|
|
|
8098
8713
|
target?: "self" | "blank" | "parent" | "top" | undefined;
|
|
8099
8714
|
content?: string | undefined;
|
|
8100
8715
|
icon?: string | undefined;
|
|
8716
|
+
current?: "page" | "section" | undefined;
|
|
8101
8717
|
iconPlacement?: IconPlacement | undefined;
|
|
8102
8718
|
contentPlacement?: "before" | "after" | undefined;
|
|
8103
8719
|
hash?: string | undefined;
|
|
@@ -8188,6 +8804,15 @@ export declare const loadImages: (budgetMs: number) => Promise<LoadedImages>;
|
|
|
8188
8804
|
*/
|
|
8189
8805
|
export declare const locate: <L>(source: LocatorSource<L>, handles: SpaceHandles) => (id: string) => L;
|
|
8190
8806
|
|
|
8807
|
+
/** `locateClasses`, holding the same catalogs: every class the space declares, with the `styles()` call that wrote it. */
|
|
8808
|
+
export declare const locateClasses: (spec: SpaceSpec, options?: AuthorSpaceOptions) => WrittenClass[];
|
|
8809
|
+
|
|
8810
|
+
/**
|
|
8811
|
+
* `locateElements`, holding the same catalogs: every element the space authors to, with the call in the author's code
|
|
8812
|
+
* that wrote it — what `plitzi element where` answers and `plitzi element edit` edits at.
|
|
8813
|
+
*/
|
|
8814
|
+
export declare const locateElements: (spec: SpaceSpec, options?: AuthorSpaceOptions) => WrittenElement[];
|
|
8815
|
+
|
|
8191
8816
|
/**
|
|
8192
8817
|
* The shape this borrows from a browser driver, declared structurally so the package still installs nothing.
|
|
8193
8818
|
*
|
|
@@ -8209,6 +8834,7 @@ export declare type ManifestAsset = {
|
|
|
8209
8834
|
|
|
8210
8835
|
export declare const markdown: ElementFactory<Partial<{
|
|
8211
8836
|
content?: string | undefined;
|
|
8837
|
+
headingLinks?: boolean | undefined;
|
|
8212
8838
|
}>>;
|
|
8213
8839
|
|
|
8214
8840
|
/** Declared params marked `required` that the agent did NOT supply, and whose `when` guard holds against the
|
|
@@ -8568,17 +9194,19 @@ export declare const nodeHtml: ElementFactory<Partial<{
|
|
|
8568
9194
|
subType?: "span" | undefined;
|
|
8569
9195
|
}>>;
|
|
8570
9196
|
|
|
8571
|
-
/** Every field `notifications` takes — what an editor of the setting (the MCP server's `patchSettings`) offers. */
|
|
9197
|
+
/** Every field `notifications` takes — what an editor of the setting (the builder, the MCP server's `patchSettings`) offers. */
|
|
8572
9198
|
export declare const NOTIFICATIONS_FIELDS: readonly (keyof NotificationsSpec)[];
|
|
8573
9199
|
|
|
8574
|
-
/** The
|
|
9200
|
+
/** The rules that style the toasts, or `''` when there is nothing to say; refuses a spec that is not sound. */
|
|
8575
9201
|
export declare const notificationsCss: (spec: NotificationsSpec | undefined) => string;
|
|
8576
9202
|
|
|
8577
9203
|
/**
|
|
8578
|
-
* How a space's notifications look — the toasts an `addNotification` step shows
|
|
9204
|
+
* How a space's notifications look — the toasts an `addNotification` step shows: the toast, and the parts inside it
|
|
9205
|
+
* (its icon, its close button, its progress bar).
|
|
8579
9206
|
*
|
|
8580
|
-
* Every value is
|
|
8581
|
-
* follows the light/dark toggle, which the notifications already do. Left out, a value keeps
|
|
9207
|
+
* Every value is one CSS value — a colour, a length, a weight — and a token is the right answer wherever there is one
|
|
9208
|
+
* (`'var(--card)'`): a token follows the light/dark toggle, which the notifications already do. Left out, a value keeps
|
|
9209
|
+
* the library's own.
|
|
8582
9210
|
*/
|
|
8583
9211
|
export declare interface NotificationsSpec {
|
|
8584
9212
|
/** The toast's surface. */
|
|
@@ -8602,6 +9230,22 @@ export declare interface NotificationsSpec {
|
|
|
8602
9230
|
shadow?: string;
|
|
8603
9231
|
/** The room inside it, e.g. `'12px 14px'`. */
|
|
8604
9232
|
padding?: string;
|
|
9233
|
+
/** The least it is tall — `'0px'` lets a one-line message be one line high. */
|
|
9234
|
+
minHeight?: string;
|
|
9235
|
+
/** Its text's weight, e.g. `'500'`. */
|
|
9236
|
+
fontWeight?: string;
|
|
9237
|
+
/** Its text's leading, e.g. `'1.45'`. */
|
|
9238
|
+
lineHeight?: string;
|
|
9239
|
+
/** The icon's width, e.g. `'18px'`. */
|
|
9240
|
+
iconSize?: string;
|
|
9241
|
+
/** The room between the icon and the message, e.g. `'10px'`. */
|
|
9242
|
+
iconGap?: string;
|
|
9243
|
+
/** The close button's colour, e.g. `'var(--muted)'`. */
|
|
9244
|
+
closeColor?: string;
|
|
9245
|
+
/** How opaque the close button is at rest, e.g. `'0.8'`; hovered or focused it is opaque. */
|
|
9246
|
+
closeOpacity?: string;
|
|
9247
|
+
/** How tall the progress bar is, e.g. `'2px'`. */
|
|
9248
|
+
progressHeight?: string;
|
|
8605
9249
|
}
|
|
8606
9250
|
|
|
8607
9251
|
export declare const on: (trigger: ElementTriggerName | (string & {}), params?: Record<string, unknown>) => StepSpec;
|
|
@@ -8719,6 +9363,13 @@ export declare interface OpenPageOptions {
|
|
|
8719
9363
|
|
|
8720
9364
|
declare type Operator = '' | '=' | '!=' | '<' | '>' | '<=' | '>=' | 'contains' | 'doesNotContain' | 'beginsWith' | 'doesNotBeginWith' | 'endsWith' | 'doesNotEndWith' | 'empty' | 'notEmpty' | 'in' | 'notIn' | 'between' | 'notBetween';
|
|
8721
9365
|
|
|
9366
|
+
/**
|
|
9367
|
+
* A page's attributes that are one field of its `PageSpec` each, by attribute name: the page writes `seoTitle` and the
|
|
9368
|
+
* document reads `seoPageTitle`. What an edit of a page's attribute writes in the code. Its layout is not here — two
|
|
9369
|
+
* attributes from one field (`layout: { id, slot }`) — nor `seoEnabled`, which follows from the other two.
|
|
9370
|
+
*/
|
|
9371
|
+
export declare const PAGE_SPEC_FIELDS: Readonly<Record<string, keyof PageSpec>>;
|
|
9372
|
+
|
|
8722
9373
|
/** How many texts a page is read for: enough for a long page, few enough to stay quick. */
|
|
8723
9374
|
export declare const PAGE_TEXT_LIMIT = 2000;
|
|
8724
9375
|
|
|
@@ -9070,7 +9721,7 @@ export declare interface PictureRegion {
|
|
|
9070
9721
|
|
|
9071
9722
|
/**
|
|
9072
9723
|
* `planFixes`, holding the same catalogs: every fix `fixSpace` would make in this declaration, each with the place in
|
|
9073
|
-
* the author's code that wrote the element and the edit that makes the fix there — what `plitzi fix` shows and writes.
|
|
9724
|
+
* the author's code that wrote the element and the edit that makes the fix there — what `plitzi space fix` shows and writes.
|
|
9074
9725
|
*/
|
|
9075
9726
|
export declare const planFixes: (spec: SpaceSpec, options?: AuthorSpaceOptions) => FixPlan;
|
|
9076
9727
|
|
|
@@ -9323,6 +9974,24 @@ export declare interface ProviderState {
|
|
|
9323
9974
|
isStale: boolean;
|
|
9324
9975
|
}
|
|
9325
9976
|
|
|
9977
|
+
/** A pseudo-element's rules in the object form: its own, and the selector's states that change them. */
|
|
9978
|
+
export declare interface PseudoRulesSpec {
|
|
9979
|
+
css?: CssSpec;
|
|
9980
|
+
states?: StatesSpec;
|
|
9981
|
+
}
|
|
9982
|
+
|
|
9983
|
+
/**
|
|
9984
|
+
* A pseudo-element's rules: plain CSS, or CSS with the states of the selector that show it —
|
|
9985
|
+
* `after: { css: { content: '"→"' }, states: { hover: { 'margin-left': '4px' } } }` is `.x::after` and `.x:hover::after`.
|
|
9986
|
+
*/
|
|
9987
|
+
export declare type PseudoSpec = CssSpec | PseudoRulesSpec;
|
|
9988
|
+
|
|
9989
|
+
/**
|
|
9990
|
+
* What a selector draws or dresses besides the element — `before`, `after`, `marker`, `placeholder`, `first-letter`,
|
|
9991
|
+
* `first-line`, `selection` (`STYLE_PSEUDOS`). `content` is written as CSS reads it, quotes included: `'"→"'`.
|
|
9992
|
+
*/
|
|
9993
|
+
export declare type PseudosSpec = Partial<Record<StylePseudo, PseudoSpec>>;
|
|
9994
|
+
|
|
9326
9995
|
/**
|
|
9327
9996
|
* Says something on a `channel`, by id: every page on its topic hears it — `onMessage`, and the channel's source.
|
|
9328
9997
|
*
|
|
@@ -9530,8 +10199,13 @@ export declare interface RuleSetSpec extends VariantSpec {
|
|
|
9530
10199
|
* class by its declaration — `[card.name]: { states: { hover: … } }` — so a rename reaches it.
|
|
9531
10200
|
*
|
|
9532
10201
|
* The selector's own states and variants win over these where both set a property.
|
|
10202
|
+
*
|
|
10203
|
+
* `'>'` is the element's parent, whatever class it wears — what a closed component's part reacts to without naming
|
|
10204
|
+
* the class of the element around it: `ancestors: { '>': { states: { expanded: { transform: 'rotate(180deg)' } } } }`.
|
|
9533
10205
|
*/
|
|
9534
10206
|
ancestors?: Record<string, AncestorSpec>;
|
|
10207
|
+
/** Rules under a condition of the page — reduced motion, a container's width — by condition. */
|
|
10208
|
+
conditions?: Record<string, ConditionSpec>;
|
|
9535
10209
|
}
|
|
9536
10210
|
|
|
9537
10211
|
declare type RuleValue = Date | string | number | boolean | undefined | null | object;
|
|
@@ -9557,8 +10231,9 @@ export declare const runServerAction: (params: {
|
|
|
9557
10231
|
mode?: "await" | "detached" | "stream";
|
|
9558
10232
|
idempotencyKey?: string;
|
|
9559
10233
|
/**
|
|
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
|
|
10234
|
+
* What a completed run refreshes among the page's providers, browser and server-driven alike: `all` (the default —
|
|
10235
|
+
* only the server knows what an action wrote), the containers named in `invalidateElements`, or `none` for an
|
|
10236
|
+
* action that only reads.
|
|
9562
10237
|
*/
|
|
9563
10238
|
invalidateQueries?: "all" | "elements" | "none";
|
|
9564
10239
|
/** Api container ids — with `invalidateQueries: 'elements'`. */
|
|
@@ -9716,6 +10391,10 @@ export declare type SchemaValidationError = {
|
|
|
9716
10391
|
elementId?: string;
|
|
9717
10392
|
/** The component whose tree the error is in; absent for the pages' tree. */
|
|
9718
10393
|
componentId?: string;
|
|
10394
|
+
/** The name an element points at that no element answers to — what a suggestion of the nearest one is made from. */
|
|
10395
|
+
missing?: string;
|
|
10396
|
+
/** The step the missing element was to answer (`openModal`): a suggestion is drawn from the elements that do. */
|
|
10397
|
+
wantedBy?: string;
|
|
9719
10398
|
details?: unknown;
|
|
9720
10399
|
};
|
|
9721
10400
|
|
|
@@ -10050,7 +10729,7 @@ export declare interface SourceRow<Item> {
|
|
|
10050
10729
|
export declare type SourceTypes = Record<string, string>;
|
|
10051
10730
|
|
|
10052
10731
|
/** 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"];
|
|
10732
|
+
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
10733
|
|
|
10055
10734
|
/**
|
|
10056
10735
|
* The `space` source, which the SDK application registers rather than this package.
|
|
@@ -10183,6 +10862,13 @@ export declare interface SpaceSpec {
|
|
|
10183
10862
|
elements?: Record<string, ElementStyleSpec>;
|
|
10184
10863
|
schemaVariables?: SchemaVariable[];
|
|
10185
10864
|
customCss?: string;
|
|
10865
|
+
/**
|
|
10866
|
+
* The space's own `@keyframes`, by name — what a class plays with `animation-name`:
|
|
10867
|
+
* `{ 'caret-blink': { '0%, 100%': { opacity: 1 }, '50%': { opacity: 0 } } }`. For how an element arrives or the loop it
|
|
10868
|
+
* keeps, declared `motion` says it better; these are for the rest (a caret, a drifting gradient, a panel sliding in).
|
|
10869
|
+
* Written at the top of `customCss`, where the style editor reads them back.
|
|
10870
|
+
*/
|
|
10871
|
+
keyframes?: KeyframesSpec;
|
|
10186
10872
|
/**
|
|
10187
10873
|
* How the notifications an `addNotification` step shows look: `{ background: 'var(--card)', text: 'var(--foreground)',
|
|
10188
10874
|
* success: 'var(--accent)', radius: '12px' }`. They follow the light/dark theme and the page's font already.
|
|
@@ -10402,7 +11088,7 @@ export declare const splitClassList: (value: ElementClassList) => {
|
|
|
10402
11088
|
};
|
|
10403
11089
|
|
|
10404
11090
|
/**
|
|
10405
|
-
* A space's custom CSS read apart: the notifications'
|
|
11091
|
+
* A space's custom CSS read apart: the notifications' rules {@link notificationsCss} wrote, back as the spec, and the
|
|
10406
11092
|
* space's own CSS without it — so an editor shows and changes each on its own, and writes them together again with
|
|
10407
11093
|
* {@link withNotificationsCss}. A rule someone edited into something else (a declaration that is no field's) is left
|
|
10408
11094
|
* where it is, as the space's own CSS: read back, it would lose what was added to it.
|
|
@@ -10473,16 +11159,21 @@ export declare const stepState: (params: {
|
|
|
10473
11159
|
* makes the fragment usable on documents whose vocabulary nobody here knows.
|
|
10474
11160
|
*/
|
|
10475
11161
|
export declare interface StepVocabulary {
|
|
10476
|
-
/**
|
|
11162
|
+
/**
|
|
11163
|
+
* Global callbacks by action name, each naming the module id it is registered on, the params it takes and, when it
|
|
11164
|
+
* says, the keys it puts in the flow scope (`preview`) — what a later step's `when` can ask it about.
|
|
11165
|
+
*/
|
|
10477
11166
|
globalCallbacks: Record<string, {
|
|
10478
11167
|
source: string;
|
|
10479
11168
|
strictParams?: boolean;
|
|
10480
11169
|
params?: ParamSpec;
|
|
11170
|
+
preview?: InteractionCallbackPreviews;
|
|
10481
11171
|
}>;
|
|
10482
|
-
/** Utility actions
|
|
11172
|
+
/** Utility actions, their params and what they put in the flow scope. A utility runs on no module at all. */
|
|
10483
11173
|
utilities: Record<string, {
|
|
10484
11174
|
strictParams?: boolean;
|
|
10485
11175
|
params?: ParamSpec;
|
|
11176
|
+
preview?: InteractionCallbackPreviews;
|
|
10486
11177
|
}>;
|
|
10487
11178
|
/**
|
|
10488
11179
|
* Element type → every trigger it fires, the ones all elements share included. A type that is not listed is a
|
|
@@ -10517,6 +11208,16 @@ export declare type Style = {
|
|
|
10517
11208
|
cache: string;
|
|
10518
11209
|
};
|
|
10519
11210
|
|
|
11211
|
+
/**
|
|
11212
|
+
* The pseudo-elements a class can dress — parts of an element the page has no node for: the box drawn before or after
|
|
11213
|
+
* its content, a list item's bullet, an empty field's hint, the first letter or line of a paragraph, the text a visitor
|
|
11214
|
+
* selects. One list, read by the type, the compiler, the style editor and authoring.
|
|
11215
|
+
*
|
|
11216
|
+
* Each is written last in its selector (`.card:hover::after`), which is the only place CSS allows it: a state, a
|
|
11217
|
+
* variant or a condition of the class chooses WHEN, the pseudo-element WHAT.
|
|
11218
|
+
*/
|
|
11219
|
+
declare const STYLE_PSEUDOS: readonly ["before", "after", "marker", "placeholder", "first-letter", "first-line", "selection"];
|
|
11220
|
+
|
|
10520
11221
|
/** The states a selector can react to — the closed list the style editor offers, read from where it is declared. */
|
|
10521
11222
|
export declare const STYLE_STATES: readonly StyleState[];
|
|
10522
11223
|
|
|
@@ -10529,20 +11230,27 @@ export declare const STYLE_STATES: readonly StyleState[];
|
|
|
10529
11230
|
* `focus-visible` is the focus ring a keyboard user needs and a mouse user does not; `focus-within` dresses a
|
|
10530
11231
|
* container while anything inside it has focus — a field wrapper around its input.
|
|
10531
11232
|
*
|
|
10532
|
-
* `current` is the link to the page being shown
|
|
10533
|
-
* (`aria-
|
|
10534
|
-
* on every page,
|
|
11233
|
+
* `current` is the chosen one of a set: the link to the page being shown (`aria-current`), the option pressed in a group
|
|
11234
|
+
* of toggles (`aria-pressed`), the selected tab (`aria-selected`). The element says so itself — what a screen reader
|
|
11235
|
+
* announces too — so a header written once in a layout marks the right item on every page, and a theme switch its
|
|
11236
|
+
* chosen scheme, which a class chosen per page could not.
|
|
11237
|
+
*
|
|
11238
|
+
* `expanded` is the control that opens a panel while the panel is open — a dropdown's trigger, an accordion's header, a
|
|
11239
|
+
* menu button (`aria-expanded`). The control says so itself, as the chosen one of a set does.
|
|
10535
11240
|
*
|
|
10536
11241
|
* `hidden` is not a pseudo-class: it is how an element looks while its `visible` says no — where it goes as it hides,
|
|
10537
11242
|
* and where it comes from as it shows. With a transition on the class (`display` among what it transitions, and
|
|
10538
11243
|
* `transition-behavior: allow-discrete`), a panel fades or slides in and out instead of blinking.
|
|
11244
|
+
*
|
|
11245
|
+
* `first`, `last`, `odd` and `even` are where the element sits among its siblings — the row of a list that has no
|
|
11246
|
+
* divider above it, the alternate rows of a table. They count every sibling, as `:nth-child` does.
|
|
10539
11247
|
*/
|
|
10540
|
-
declare const STYLE_STATES_2: readonly ["hover", "focus", "focus-visible", "focus-within", "active", "disabled", "checked", "visited", "current", "hidden"];
|
|
11248
|
+
declare const STYLE_STATES_2: readonly ["hover", "focus", "focus-visible", "focus-within", "active", "disabled", "checked", "visited", "current", "expanded", "hidden", "first", "last", "odd", "even"];
|
|
10541
11249
|
|
|
10542
11250
|
export declare type StyleAncestor = {
|
|
10543
11251
|
default?: StyleObject;
|
|
10544
11252
|
states?: StyleStates;
|
|
10545
|
-
variants?:
|
|
11253
|
+
variants?: Record<string, StyleStateBlock>;
|
|
10546
11254
|
};
|
|
10547
11255
|
|
|
10548
11256
|
export declare type StyleAncestors = Record<string, StyleAncestor>;
|
|
@@ -10554,10 +11262,18 @@ export declare type StyleBlock = {
|
|
|
10554
11262
|
states?: StyleStates;
|
|
10555
11263
|
variants?: StyleVariants;
|
|
10556
11264
|
ancestors?: StyleAncestors;
|
|
11265
|
+
pseudos?: StylePseudos;
|
|
11266
|
+
conditions?: StyleConditions;
|
|
10557
11267
|
};
|
|
10558
11268
|
|
|
10559
11269
|
export declare type StyleCategory = (typeof styleConstants)[keyof typeof styleConstants];
|
|
10560
11270
|
|
|
11271
|
+
declare type StyleCondition = StyleStateBlock & {
|
|
11272
|
+
pseudos?: StylePseudos;
|
|
11273
|
+
};
|
|
11274
|
+
|
|
11275
|
+
declare type StyleConditions = Record<string, StyleCondition>;
|
|
11276
|
+
|
|
10561
11277
|
declare const styleConstants: {
|
|
10562
11278
|
readonly DISPLAY: "display";
|
|
10563
11279
|
readonly FLEX_WRAP: "flex-wrap";
|
|
@@ -10679,6 +11395,7 @@ declare const styleConstants: {
|
|
|
10679
11395
|
readonly ACCENT_COLOR: "accent-color";
|
|
10680
11396
|
readonly CARET_COLOR: "caret-color";
|
|
10681
11397
|
readonly COLOR_SCHEME: "color-scheme";
|
|
11398
|
+
readonly CONTENT: "content";
|
|
10682
11399
|
readonly POSITION: "position";
|
|
10683
11400
|
readonly FLOAT: "float";
|
|
10684
11401
|
readonly CLEAR: "clear";
|
|
@@ -10782,6 +11499,10 @@ export declare type StyleMode = 'mobile-first' | 'desktop-first';
|
|
|
10782
11499
|
|
|
10783
11500
|
export declare type StyleObject = Partial<Record<StyleCategory, StyleValue>>;
|
|
10784
11501
|
|
|
11502
|
+
declare type StylePseudo = (typeof STYLE_PSEUDOS)[number];
|
|
11503
|
+
|
|
11504
|
+
declare type StylePseudos = Partial<Record<StylePseudo, StyleStateBlock>>;
|
|
11505
|
+
|
|
10785
11506
|
/** What reaches the document: expanded longhands, in the vocabulary the style editor understands. */
|
|
10786
11507
|
export declare type StyleRules = StyleObject;
|
|
10787
11508
|
|
|
@@ -10811,6 +11532,11 @@ export declare type StyleSpec = CssSpec | RuleSetSpec;
|
|
|
10811
11532
|
|
|
10812
11533
|
export declare type StyleState = (typeof STYLE_STATES_2)[number];
|
|
10813
11534
|
|
|
11535
|
+
declare type StyleStateBlock = {
|
|
11536
|
+
default?: StyleObject;
|
|
11537
|
+
states?: StyleStates;
|
|
11538
|
+
};
|
|
11539
|
+
|
|
10814
11540
|
export declare type StyleStates = Partial<Record<StyleState, StyleObject>>;
|
|
10815
11541
|
|
|
10816
11542
|
export declare type StyleThemeValue = Partial<Record<ColorScheme | 'default', string>>;
|
|
@@ -10830,7 +11556,19 @@ export declare type StyleVariables = Record<StyleVariableCategory, StyleVariable
|
|
|
10830
11556
|
|
|
10831
11557
|
export declare type StyleVariableValue = string | number | StyleThemeValue;
|
|
10832
11558
|
|
|
10833
|
-
|
|
11559
|
+
declare type StyleVariant = StyleStateBlock & {
|
|
11560
|
+
pseudos?: StylePseudos;
|
|
11561
|
+
};
|
|
11562
|
+
|
|
11563
|
+
export declare type StyleVariants = Record<string, StyleVariant>;
|
|
11564
|
+
|
|
11565
|
+
/**
|
|
11566
|
+
* One class's shorthand silently erasing a longhand another class of the same node writes out: `card`'s `padding`
|
|
11567
|
+
* beating `tight`'s `padding-top` because the stylesheet writes `card` later, or `card`'s mobile `padding` beating it
|
|
11568
|
+
* on a phone. Read while the space is authored: the document keeps only longhands, so which were a shorthand is known
|
|
11569
|
+
* here alone. One suggestion per pair of classes, with every element wearing both.
|
|
11570
|
+
*/
|
|
11571
|
+
export declare const suggestClassOverrides: (lists: readonly WornList[], mode: StyleMode) => Suggestion[];
|
|
10834
11572
|
|
|
10835
11573
|
/** If a camelCase key maps to a known kebab-case property, return it — used to name the correct key in an error. */
|
|
10836
11574
|
export declare const suggestCssProperty: (key: string) => string | undefined;
|
|
@@ -11247,6 +11985,7 @@ export declare interface VariantFromOptions {
|
|
|
11247
11985
|
export declare interface VariantSpec {
|
|
11248
11986
|
css?: CssSpec;
|
|
11249
11987
|
states?: StatesSpec;
|
|
11988
|
+
pseudos?: PseudosSpec;
|
|
11250
11989
|
}
|
|
11251
11990
|
|
|
11252
11991
|
export declare const video: {
|
|
@@ -11387,7 +12126,8 @@ export declare const whenFailed: (stepId: string, step: StepSpec) => StepSpec;
|
|
|
11387
12126
|
* Runs a step only if the named server action completed.
|
|
11388
12127
|
*
|
|
11389
12128
|
* `<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.
|
|
12129
|
+
* was {@link named} — the same two conditions that make `{{<id>.output.*}}` readable. Only `runServerAction` publishes
|
|
12130
|
+
* a `status`: any other step is asked about what it publishes (`authLogin`'s `ok`), with {@link when}.
|
|
11391
12131
|
*/
|
|
11392
12132
|
export declare const whenSucceeded: (stepId: string, step: StepSpec) => StepSpec;
|
|
11393
12133
|
|
|
@@ -11445,9 +12185,12 @@ export declare const withNamedIds: (schema: Schema) => {
|
|
|
11445
12185
|
renames: ElementRename[];
|
|
11446
12186
|
};
|
|
11447
12187
|
|
|
11448
|
-
/** The space's custom CSS with its notifications'
|
|
12188
|
+
/** The space's custom CSS with its notifications' rules after it; refuses a spec that is not sound. */
|
|
11449
12189
|
export declare const withNotificationsCss: (customCss: string, spec: NotificationsSpec | undefined) => string;
|
|
11450
12190
|
|
|
12191
|
+
/** The suggestions no element they are about quiets — for those read beside the documents, too (authoring's own). */
|
|
12192
|
+
export declare const withoutQuieted: (schema: Schema, suggestions: Suggestion[]) => Suggestion[];
|
|
12193
|
+
|
|
11451
12194
|
/**
|
|
11452
12195
|
* The catalogs `authorSpace` holds a space to, with each declared plugin in them as if it were built in.
|
|
11453
12196
|
*
|
|
@@ -11463,6 +12206,70 @@ export declare const withVisibility: (spec: {
|
|
|
11463
12206
|
visible?: string | false | VisibleCondition;
|
|
11464
12207
|
}) => BindingSpec[] | undefined;
|
|
11465
12208
|
|
|
12209
|
+
/** A class one node wears, as authoring declared it — with the shorthands its rules were written with. */
|
|
12210
|
+
export declare interface WornClass {
|
|
12211
|
+
name: string;
|
|
12212
|
+
blocks: ResponsiveBlock;
|
|
12213
|
+
/** Its place in the stylesheet: of two rules for one width, the later one wins. */
|
|
12214
|
+
order: number;
|
|
12215
|
+
/** Where its rules were written, in words: `styles('card') at src/space/styles.ts:4` — asked only to be said. */
|
|
12216
|
+
written: () => string;
|
|
12217
|
+
}
|
|
12218
|
+
|
|
12219
|
+
/** The classes one node of an element wears, in the order its class list names them. */
|
|
12220
|
+
export declare interface WornList {
|
|
12221
|
+
elementId: string;
|
|
12222
|
+
classes: WornClass[];
|
|
12223
|
+
}
|
|
12224
|
+
|
|
12225
|
+
/** One class of the space, and where the author's code declares it. */
|
|
12226
|
+
export declare interface WrittenClass {
|
|
12227
|
+
name: string;
|
|
12228
|
+
/** Where it was declared: `src/space/styles.ts:118`. Absent for one no `styles()` call wrote (a space-wide object). */
|
|
12229
|
+
at?: string;
|
|
12230
|
+
position?: WrittenPosition;
|
|
12231
|
+
}
|
|
12232
|
+
|
|
12233
|
+
/** One element of the space, and the call in the author's code that wrote it. */
|
|
12234
|
+
export declare interface WrittenElement {
|
|
12235
|
+
elementId: string;
|
|
12236
|
+
type: string;
|
|
12237
|
+
/** The page, layout or component it is in. */
|
|
12238
|
+
rootId: string;
|
|
12239
|
+
/** The classes it wears, by name. */
|
|
12240
|
+
classes: string[];
|
|
12241
|
+
/** Its own words, when it has some. */
|
|
12242
|
+
content?: string;
|
|
12243
|
+
/** The templates its bindings compute an attribute with — where the words it shows live when they are not its own. */
|
|
12244
|
+
templates: string[];
|
|
12245
|
+
/**
|
|
12246
|
+
* Every word it says to a person, read or heard: its `content`, `label`, `title`, `alt` and `placeholder`, the
|
|
12247
|
+
* templates its bindings write, and — an instance of a component — the words it hands the component. What
|
|
12248
|
+
* `plitzi element where` finds an element by when it is asked for words.
|
|
12249
|
+
*/
|
|
12250
|
+
words: string[];
|
|
12251
|
+
/** Its attributes as authored. */
|
|
12252
|
+
attributes: Record<string, unknown>;
|
|
12253
|
+
/** The elements it holds, in their order. */
|
|
12254
|
+
children: string[];
|
|
12255
|
+
/** The other elements its flows act on, each with the step that does: what taking one of them away would break. */
|
|
12256
|
+
targets: {
|
|
12257
|
+
elementId: string;
|
|
12258
|
+
step: string;
|
|
12259
|
+
}[];
|
|
12260
|
+
/** The attributes its bindings compute: what the page shows of them is the binding's, never the value written. */
|
|
12261
|
+
bound: string[];
|
|
12262
|
+
/** Where it was written: `src/space/pages/home.ts:42`. Absent for an element no call of the author's code wrote. */
|
|
12263
|
+
at?: string;
|
|
12264
|
+
/** The same place exactly — the factory's name, at its line and column — which is what an edit is made at. */
|
|
12265
|
+
position?: WrittenPosition;
|
|
12266
|
+
/**
|
|
12267
|
+
* The calls of the author's code that led to `position`, the nearest first: a helper written once and called for
|
|
12268
|
+
* each element (`pageHead('about-head', …)`) is told apart by them.
|
|
12269
|
+
*/
|
|
12270
|
+
through: WrittenPosition[];
|
|
12271
|
+
}
|
|
12272
|
+
|
|
11466
12273
|
/** Where a call is, exactly: the file, its line and the column its function's name starts at, from 1. */
|
|
11467
12274
|
export declare interface WrittenPosition {
|
|
11468
12275
|
/** Relative to the working directory when it is under it. */
|