@lo-tek/interfaces 0.39.0 → 0.41.0
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 +178 -0
- package/README.md +1 -1
- package/agent/astro.md +16 -14
- package/agent/bundles.md +18 -16
- package/agent/datastar.md +70 -68
- package/agent/html.md +63 -61
- package/agent/kotlin.md +622 -0
- package/agent/react.md +18 -16
- package/agent/templates.md +72 -68
- package/core/lotek-core.wasm +0 -0
- package/core/lotek.wasm +0 -0
- package/dist/components/css/accordion/accordion.d.ts +1 -1
- package/dist/components/css/accordion/accordion.js +1 -1
- package/dist/components/css/alert/alert.d.ts +1 -1
- package/dist/components/css/alert/alert.js +1 -1
- package/dist/components/css/avatar/avatar.d.ts +1 -1
- package/dist/components/css/avatar/avatar.js +1 -1
- package/dist/components/css/badge/badge.d.ts +1 -1
- package/dist/components/css/badge/badge.js +1 -1
- package/dist/components/css/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/components/css/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/components/css/card/card.d.ts +1 -1
- package/dist/components/css/card/card.js +1 -1
- package/dist/components/css/file-upload/file-upload.d.ts +1 -1
- package/dist/components/css/file-upload/file-upload.js +1 -1
- package/dist/components/css/icon/icon.d.ts +1 -1
- package/dist/components/css/icon/icon.js +1 -1
- package/dist/components/css/label/label.d.ts +1 -1
- package/dist/components/css/label/label.js +1 -1
- package/dist/components/css/link/link.d.ts +1 -1
- package/dist/components/css/link/link.js +1 -1
- package/dist/components/css/spinner/spinner.d.ts +7 -5
- package/dist/components/css/spinner/spinner.d.ts.map +1 -1
- package/dist/components/css/spinner/spinner.js +7 -5
- package/dist/components/css/spinner/spinner.js.map +1 -1
- package/dist/components/css/steps/steps.d.ts +23 -0
- package/dist/components/css/steps/steps.d.ts.map +1 -0
- package/dist/components/css/steps/steps.js +21 -0
- package/dist/components/css/steps/steps.js.map +1 -0
- package/dist/components/css/tag/tag.d.ts +1 -1
- package/dist/components/css/tag/tag.js +1 -1
- package/dist/components/css/toggle-group/toggle-group.d.ts +1 -1
- package/dist/components/css/toggle-group/toggle-group.js +1 -1
- package/dist/components/css/tooltip/tooltip.d.ts +2 -2
- package/dist/components/css/tooltip/tooltip.js +2 -2
- package/dist/components/events.d.ts +3 -1
- package/dist/components/events.d.ts.map +1 -1
- package/dist/components/frame/dialog/dialog.d.ts +11 -6
- package/dist/components/frame/dialog/dialog.d.ts.map +1 -1
- package/dist/components/frame/dialog/dialog.js +4 -4
- package/dist/components/frame/dialog/dialog.js.map +1 -1
- package/dist/components/frame/dialog/lt-dialog.d.ts +1 -1
- package/dist/components/frame/dialog/lt-dialog.js +7 -7
- package/dist/components/frame/error-summary/error-summary.d.ts +6 -2
- package/dist/components/frame/error-summary/error-summary.d.ts.map +1 -1
- package/dist/components/frame/error-summary/error-summary.js +1 -1
- package/dist/components/frame/error-summary/error-summary.js.map +1 -1
- package/dist/components/frame/error-summary/lt-error-summary.d.ts +1 -1
- package/dist/components/frame/error-summary/lt-error-summary.js +6 -6
- package/dist/components/frame/field/field-core.d.ts +4 -2
- package/dist/components/frame/field/field-core.d.ts.map +1 -1
- package/dist/components/frame/field/field-core.js.map +1 -1
- package/dist/components/frame/field/lt-field.d.ts +5 -4
- package/dist/components/frame/field/lt-field.d.ts.map +1 -1
- package/dist/components/frame/field/lt-field.js +5 -4
- package/dist/components/frame/field/lt-field.js.map +1 -1
- package/dist/components/frame/popover/lt-popover.d.ts +3 -3
- package/dist/components/frame/popover/lt-popover.d.ts.map +1 -1
- package/dist/components/frame/popover/lt-popover.js +7 -22
- package/dist/components/frame/popover/lt-popover.js.map +1 -1
- package/dist/components/frame/popover/popover.d.ts +7 -3
- package/dist/components/frame/popover/popover.d.ts.map +1 -1
- package/dist/components/frame/popover/popover.js +2 -2
- package/dist/components/frame/popover/popover.js.map +1 -1
- package/dist/components/frame/session-timeout/lt-session-timeout.d.ts +8 -8
- package/dist/components/frame/session-timeout/lt-session-timeout.js +7 -7
- package/dist/components/frame/session-timeout/session-timeout.d.ts +10 -5
- package/dist/components/frame/session-timeout/session-timeout.d.ts.map +1 -1
- package/dist/components/frame/session-timeout/session-timeout.js +4 -4
- package/dist/components/frame/session-timeout/session-timeout.js.map +1 -1
- package/dist/components/frame/suggestion/lt-suggestion.d.ts +12 -11
- package/dist/components/frame/suggestion/lt-suggestion.d.ts.map +1 -1
- package/dist/components/frame/suggestion/lt-suggestion.js +11 -10
- package/dist/components/frame/suggestion/lt-suggestion.js.map +1 -1
- package/dist/components/frame/suggestion/suggestion.d.ts +3 -1
- package/dist/components/frame/suggestion/suggestion.d.ts.map +1 -1
- package/dist/components/frame/suggestion/suggestion.js.map +1 -1
- package/dist/components/frame/tabs/lt-tabs.d.ts +3 -3
- package/dist/components/frame/tabs/lt-tabs.js +5 -5
- package/dist/components/frame/tabs/lt-tabs.js.map +1 -1
- package/dist/components/frame/tabs/tabs.d.ts +8 -6
- package/dist/components/frame/tabs/tabs.d.ts.map +1 -1
- package/dist/components/frame/tabs/tabs.js +4 -4
- package/dist/components/frame/tabs/tabs.js.map +1 -1
- package/dist/components/frame/term/lt-term.d.ts +114 -0
- package/dist/components/frame/term/lt-term.d.ts.map +1 -0
- package/dist/components/frame/term/lt-term.js +530 -0
- package/dist/components/frame/term/lt-term.js.map +1 -0
- package/dist/components/frame/term/term.d.ts +55 -0
- package/dist/components/frame/term/term.d.ts.map +1 -0
- package/dist/components/frame/term/term.js +55 -0
- package/dist/components/frame/term/term.js.map +1 -0
- package/dist/components/host-element.d.ts +19 -0
- package/dist/components/host-element.d.ts.map +1 -1
- package/dist/components/host-element.js +37 -0
- package/dist/components/host-element.js.map +1 -1
- package/dist/components/standalone/connection-status/lt-connection-status.d.ts +1 -1
- package/dist/components/standalone/connection-status/lt-connection-status.js +1 -1
- package/dist/components/standalone/toast/lt-toast.d.ts +1 -1
- package/dist/components/standalone/toast/lt-toast.js +1 -1
- package/dist/diagnostics/index.d.ts +2 -2
- package/dist/diagnostics/index.js +2 -2
- package/dist/dom.d.ts +2 -1
- package/dist/dom.d.ts.map +1 -1
- package/dist/dom.js +2 -1
- package/dist/dom.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/jsx/react.d.ts +3 -1
- package/dist/jsx/react.d.ts.map +1 -1
- package/dist/lotek.css +370 -1
- package/dist/lt.d.ts +13 -6
- package/dist/lt.d.ts.map +1 -1
- package/dist/lt.js +14 -6
- package/dist/lt.js.map +1 -1
- package/dist/react.d.ts +19 -0
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +14 -0
- package/dist/react.js.map +1 -1
- package/dist/register.d.ts.map +1 -1
- package/dist/register.js +2 -0
- package/dist/register.js.map +1 -1
- package/dist/vocabulary/classes.d.ts.map +1 -1
- package/dist/vocabulary/classes.js +60 -6
- package/dist/vocabulary/classes.js.map +1 -1
- package/dist/vocabulary/elements.d.ts.map +1 -1
- package/dist/vocabulary/elements.js +16 -3
- package/dist/vocabulary/elements.js.map +1 -1
- package/dist/vocabulary/types.d.ts +28 -3
- package/dist/vocabulary/types.d.ts.map +1 -1
- package/live-templates-kotlin.xml +69 -0
- package/live-templates.xml +29 -23
- package/manifest/files.json +18 -0
- package/manifest/manifest.json +510 -87
- package/manifest/manifest.schema.json +54 -7
- package/package.json +16 -5
- package/src/components/css/accordion/accordion.ts +1 -1
- package/src/components/css/alert/alert.ts +1 -1
- package/src/components/css/avatar/avatar.ts +1 -1
- package/src/components/css/badge/badge.ts +1 -1
- package/src/components/css/breadcrumbs/breadcrumbs.ts +1 -1
- package/src/components/css/card/card.ts +1 -1
- package/src/components/css/file-upload/file-upload.ts +1 -1
- package/src/components/css/icon/icon.ts +1 -1
- package/src/components/css/input/input.css +21 -0
- package/src/components/css/label/label.ts +1 -1
- package/src/components/css/link/link.ts +1 -1
- package/src/components/css/spinner/spinner.ts +8 -5
- package/src/components/css/steps/steps.css +240 -0
- package/src/components/css/steps/steps.ts +26 -0
- package/src/components/css/tag/tag.ts +1 -1
- package/src/components/css/toggle-group/toggle-group.ts +1 -1
- package/src/components/css/tooltip/tooltip.ts +2 -2
- package/src/components/events.ts +3 -1
- package/src/components/frame/dialog/dialog.ts +11 -6
- package/src/components/frame/dialog/lt-dialog.ts +7 -7
- package/src/components/frame/error-summary/error-summary.ts +6 -2
- package/src/components/frame/error-summary/lt-error-summary.ts +6 -6
- package/src/components/frame/field/field-core.ts +4 -2
- package/src/components/frame/field/lt-field.ts +5 -4
- package/src/components/frame/popover/lt-popover.ts +7 -27
- package/src/components/frame/popover/popover.ts +7 -3
- package/src/components/frame/session-timeout/lt-session-timeout.ts +8 -8
- package/src/components/frame/session-timeout/session-timeout.ts +10 -5
- package/src/components/frame/suggestion/lt-suggestion.ts +13 -12
- package/src/components/frame/suggestion/suggestion.css +1 -1
- package/src/components/frame/suggestion/suggestion.ts +3 -1
- package/src/components/frame/tabs/lt-tabs.ts +5 -5
- package/src/components/frame/tabs/tabs.css +1 -1
- package/src/components/frame/tabs/tabs.ts +8 -6
- package/src/components/frame/term/lt-term.ts +573 -0
- package/src/components/frame/term/term.css +177 -0
- package/src/components/frame/term/term.ts +87 -0
- package/src/components/host-element.ts +46 -0
- package/src/components/standalone/connection-status/lt-connection-status.ts +1 -1
- package/src/components/standalone/toast/lt-toast.ts +1 -1
- package/src/diagnostics/index.ts +2 -2
- package/src/dom.ts +2 -1
- package/src/index.ts +4 -0
- package/src/jsx/react.ts +4 -0
- package/src/lt.ts +14 -6
- package/src/react.ts +15 -0
- package/src/register.ts +2 -0
- package/src/tokens/boundary.css +4 -0
- package/src/tokens/tokens.css +4 -0
- package/src/vocabulary/classes.ts +60 -6
- package/src/vocabulary/elements.ts +16 -3
- package/src/vocabulary/types.ts +25 -3
- package/web-types.json +32 -11
package/live-templates.xml
CHANGED
|
@@ -1,56 +1,62 @@
|
|
|
1
1
|
<!-- Generated by interfaces/scripts/generate-vocabulary.ts. Do not edit. -->
|
|
2
2
|
<templateSet group="LO-TEK">
|
|
3
|
-
<template name="lt-field" value="<!-- novalidate: otherwise the browser stops an empty required field before the submit event, and the error text below is never shown. --> <form id="$
|
|
4
|
-
<variable name="
|
|
5
|
-
<variable name="
|
|
3
|
+
<template name="lt-field" value="<!-- novalidate: otherwise the browser stops an empty required field before the submit event, and the error text below is never shown. --> <form id="$order_form$" action="/jobs" method="post" novalidate> <lt-field> <label class="lt-label" for="$codename$" data-required="symbol">Codename</label> <input class="lt-input" id="$codename$" type="text" name="codename" required /> <p class="lt-error-text" hidden>Enter a codename.</p> </lt-field> <button class="lt-button" type="submit">Order the job</button> </form>" description="Wires label, field, help text and error text together: sets `aria-describedby` and `aria-invalid` on the control and an id on the help text and the error text. Never writes an id on the control: the template writes `for` and `id`, or wraps the field in the label. The field is invalid when the error text is there without `hidden`. Exists for markup from code that cannot call a builder function. When it can, in TypeScript, Kotlin or Java, use `lt.field()` or `Lt.field()` instead." toReformat="false" toShortenFQNames="false">
|
|
4
|
+
<variable name="order_form" expression="" defaultValue="" alwaysStopAt="true" />
|
|
5
|
+
<variable name="codename" expression="" defaultValue="" alwaysStopAt="true" />
|
|
6
6
|
<context>
|
|
7
7
|
<option name="HTML" value="true" />
|
|
8
8
|
</context>
|
|
9
9
|
</template>
|
|
10
|
-
<template name="lt-tabs" value="<!-- The links point to the panels. The component writes the roles, the selection and `hidden`. Without JavaScript this is a table of contents. --> <lt-tabs id="$
|
|
11
|
-
<variable name="
|
|
12
|
-
<variable name="
|
|
13
|
-
<variable name="attachments" expression="" defaultValue="
|
|
10
|
+
<template name="lt-tabs" value="<!-- The links point to the panels. The component writes the roles, the selection and `hidden`. Without JavaScript this is a table of contents. --> <lt-tabs id="$claim_tabs$"> <ul class="lt-tabs__list" aria-label="Parts of the claim"> <li><a href="#$claim$">Claim</a></li> <li><a href="#$attachments$">Attachments</a></li> </ul> <section class="lt-tabs__panel" id="$claim$"> <h2>Claim</h2> <p>Claim AV-2079-0481 was filed on 4 March 2079.</p> </section> <section class="lt-tabs__panel" id="$attachments$"> <h2>Attachments</h2> <p>Three attachments have been received. The death certificate arrived on 6 March.</p> </section> </lt-tabs>" description="Tab list. The tabs are links to the panels in an `.lt-tabs__list`, so without JavaScript the list is a table of contents; `role="tab"` on anything other than a link is not a tab. The component adds keyboard and focus handling, sets roles and wiring, gives each panel its tab's name, makes only the selected panel a tab stop, and hides the rest with `hidden="until-found"`, so find in page and links into a panel reach them. Each selection is written to the URL. It never writes an id on a tab or a panel. When the page loads, the selected tab is the one with `aria-selected` from the server, otherwise the one the URL points to, otherwise the first one not hidden with `hidden`. Under `server-controlled` the URL never selects." toReformat="false" toShortenFQNames="false">
|
|
11
|
+
<variable name="claim_tabs" expression="" defaultValue="" alwaysStopAt="true" />
|
|
12
|
+
<variable name="claim" expression="" defaultValue="" alwaysStopAt="true" />
|
|
13
|
+
<variable name="attachments" expression="" defaultValue="" alwaysStopAt="true" />
|
|
14
14
|
<context>
|
|
15
15
|
<option name="HTML" value="true" />
|
|
16
16
|
</context>
|
|
17
17
|
</template>
|
|
18
|
-
<template name="lt-error-summary" value="<form novalidate> <!-- The component sets the class, role="alert" and tabindex="-1"; the id and aria-labelledby that name the box are the template's. --> <lt-error-summary id="$errors$" aria-labelledby="$errors_title$" hidden> <h2 id="$errors_title$"></h2> <ul class="lt-list"></ul> </lt-error-summary> <label class="lt-label" for="$
|
|
19
|
-
<variable name="errors" expression="" defaultValue="
|
|
20
|
-
<variable name="errors_title" expression="" defaultValue="
|
|
21
|
-
<variable name="
|
|
18
|
+
<template name="lt-error-summary" value="<form action="/jobs" method="post" novalidate> <!-- The component sets the class, role="alert" and tabindex="-1"; the id and aria-labelledby that name the box are the template's. --> <lt-error-summary id="$errors$" aria-labelledby="$errors_title$" hidden> <h2 id="$errors_title$"></h2> <ul class="lt-list"></ul> </lt-error-summary> <label class="lt-label" for="$fixer$">Fixer's address</label> <input class="lt-input" id="$fixer$" type="email" name="fixer" /> <button class="lt-button">Order the job</button> </form>" description="Error summary. Moves focus to the box when it appears, and to the control when a link in the list is followed." toReformat="false" toShortenFQNames="false">
|
|
19
|
+
<variable name="errors" expression="" defaultValue="" alwaysStopAt="true" />
|
|
20
|
+
<variable name="errors_title" expression="" defaultValue="" alwaysStopAt="true" />
|
|
21
|
+
<variable name="fixer" expression="" defaultValue="" alwaysStopAt="true" />
|
|
22
22
|
<context>
|
|
23
23
|
<option name="HTML" value="true" />
|
|
24
24
|
</context>
|
|
25
25
|
</template>
|
|
26
|
-
<template name="lt-popover" value="<!-- The component sets `popover` and `aria-controls`. You write the id on the panel: that is what the button points to. --> <lt-popover id="$menu$" placement="bottom-end"> <button class="lt-button" data-variant="secondary" type="button">Actions</button> <ul class="lt-popover" id="$actions$"> <li><button class="lt-button" data-variant="ghost"
|
|
27
|
-
<variable name="menu" expression="" defaultValue="
|
|
28
|
-
<variable name="actions" expression="" defaultValue="
|
|
26
|
+
<template name="lt-popover" value="<!-- The component sets `popover` and `aria-controls`. You write the id on the panel: that is what the button points to. --> <lt-popover id="$menu$" placement="bottom-end"> <button class="lt-button" data-variant="secondary" type="button">Actions</button> <!-- Each action posts to the server, so the menu closes when the next page arrives, and no script has to close it. --> <ul class="lt-popover" id="$actions$"> <li> <form action="/loans/LDG-117/return" method="post"> <button class="lt-button" data-variant="ghost">Mark LDG-117 returned</button> </form> </li> <li> <form action="/loans/LDG-117/late-fee" method="post"> <button class="lt-button" data-variant="ghost">Charge the late fee</button> </form> </li> </ul> </lt-popover>" description="A panel that hangs from a button and closes itself. A button and a panel with the class `lt-popover` and an id from the template; the component sets `popover` and `aria-controls` where the markup came without them, but never the id." toReformat="false" toShortenFQNames="false">
|
|
27
|
+
<variable name="menu" expression="" defaultValue="" alwaysStopAt="true" />
|
|
28
|
+
<variable name="actions" expression="" defaultValue="" alwaysStopAt="true" />
|
|
29
29
|
<context>
|
|
30
30
|
<option name="HTML" value="true" />
|
|
31
31
|
</context>
|
|
32
32
|
</template>
|
|
33
|
-
<template name="lt-
|
|
34
|
-
<variable name="
|
|
35
|
-
<variable name="airport" expression="" defaultValue=""airport"" alwaysStopAt="true" />
|
|
33
|
+
<template name="lt-term" value="<!-- The word links to the entry. The web component sets the class, aria-details and aria-expanded on the link. --> <p> A claim is paid out unless the death was an <lt-term><a href="#$term_act_of_god$">act of God</a></lt-term>. </p> <!-- The entry is a <div> in a <dl>, with the id the link points to. --> <h2>Glossary</h2> <dl> <div id="$term_act_of_god$"> <dt>Act of God</dt> <dd>A cause of death the policy does not cover. The insurer can add to the list without notice.</dd> </div> </dl>" description="A word in the text that shows its glossary entry in a card by the word. A link to the entry's id is enough; the component sets the class, `aria-details` and `aria-expanded` on the link, and shows the entry itself in the top layer while the card is open. Without JavaScript the word is a link to the glossary." toReformat="false" toShortenFQNames="false">
|
|
34
|
+
<variable name="term_act_of_god" expression="" defaultValue="" alwaysStopAt="true" />
|
|
36
35
|
<context>
|
|
37
36
|
<option name="HTML" value="true" />
|
|
38
37
|
</context>
|
|
39
38
|
</template>
|
|
40
|
-
<template name="lt-
|
|
39
|
+
<template name="lt-suggestion" value="<!-- You write for and id, so the field has a name without JavaScript. The component sets the roles and the wiring to the list. You write the status element: that is where the number of matches is announced. --> <lt-suggestion id="$breaker_search$"> <label class="lt-label" for="$breaker$">Breaker</label> <input class="lt-input" id="$breaker$" name="breaker" type="text"> <ul class="lt-suggestion__list"> <li>Crowbar</li> <li>Needle</li> </ul> <p class="lt-suggestion__empty">No matches</p> <span class="lt-sr-only" role="status"></span> </lt-suggestion>" description="Field with a suggestion list. A `<label for>`, an `<input id>`, an `.lt-suggestion__list` with `<li>` items and a `[role=status]` are enough; the component sets the roles and the wiring where the markup came without them, and gives the list and the options ids. The field never gets an id from the component. Filters as the user types, moves the highlight with the arrow keys and announces the number of matches." toReformat="false" toShortenFQNames="false">
|
|
40
|
+
<variable name="breaker_search" expression="" defaultValue="" alwaysStopAt="true" />
|
|
41
|
+
<variable name="breaker" expression="" defaultValue="" alwaysStopAt="true" />
|
|
41
42
|
<context>
|
|
42
43
|
<option name="HTML" value="true" />
|
|
43
44
|
</context>
|
|
44
45
|
</template>
|
|
45
|
-
<template name="lt-
|
|
46
|
-
<variable name="messages" expression="" defaultValue=""messages"" alwaysStopAt="true" />
|
|
47
|
-
<variable name="save" expression="" defaultValue=""save"" alwaysStopAt="true" />
|
|
46
|
+
<template name="lt-dialog" value="<lt-dialog open> <dialog class="lt-dialog" open> <h2>The order is placed</h2> <div class="lt-dialog__body"> <p>Job 222-0481 is open to crews.</p> </div> <form method="dialog" class="lt-dialog__footer"> <button class="lt-button" value="close">Close</button> </form> </dialog> </lt-dialog>" description="Makes a `<dialog class="lt-dialog">` the server sends open a real modal, with `showModal()`. The host around the dialog. Gives the dialog its name from the first heading outside `lt-dialog__body` when neither `aria-labelledby` nor `aria-label` is there." toReformat="false" toShortenFQNames="false">
|
|
48
47
|
<context>
|
|
49
48
|
<option name="HTML" value="true" />
|
|
50
49
|
</context>
|
|
51
50
|
</template>
|
|
52
|
-
<template name="lt-
|
|
53
|
-
<variable name="
|
|
51
|
+
<template name="lt-toast" value="<lt-toast id="$messages$" class="lt-toast" role="status" aria-live="polite" aria-atomic="false" aria-label="Messages" data-ignore-morph></lt-toast> <button class="lt-button" id="$restart$" type="button">Restart relay 14</button>" description="A queue of short messages in the corner of the screen. The messages are created from script with `show(text, { color, duration })`." toReformat="false" toShortenFQNames="false">
|
|
52
|
+
<variable name="messages" expression="" defaultValue="" alwaysStopAt="true" />
|
|
53
|
+
<variable name="restart" expression="" defaultValue="" alwaysStopAt="true" />
|
|
54
|
+
<context>
|
|
55
|
+
<option name="HTML" value="true" />
|
|
56
|
+
</context>
|
|
57
|
+
</template>
|
|
58
|
+
<template name="lt-session-timeout" value="<lt-session-timeout class="lt-session-timeout" warn-at="1500" expires-at="1800" data-ignore-morph> <dialog class="lt-session-timeout__dialog" role="alertdialog" aria-labelledby="$session_title$"> <h2 class="lt-session-timeout__title" id="$session_title$">Your session is ending</h2> <p class="lt-session-timeout__text"> Your session on the Lattice ends in <span class="lt-session-timeout__count" aria-hidden="true"></span>. Unsaved routes will be lost. </p> <span class="lt-sr-only" role="status"></span> <form method="dialog" class="lt-session-timeout__actions"> <button class="lt-button" value="extend">Stay connected</button> <button class="lt-button" data-variant="secondary" value="logout" formmethod="post" formaction="/log-out">Log out</button> </form> </dialog> </lt-session-timeout>" description="Warns before a signed-in session expires, and counts down. The renderer writes the dialog and the text inside the element: a `<dialog>` with `.lt-session-timeout__count` for the number, `[role=status]` for the announcement and the buttons in a `<form method="dialog">`. Dispatches `session-warn` when the dialog opens, `session-extend` when the user wants to continue, `session-logout` when the user logs out with a button that closes the dialog, `session-expired` when time is up, and `session-activity` at most once per `activity-interval` while the user is active, so the app can keep the server session alive." toReformat="false" toShortenFQNames="false">
|
|
59
|
+
<variable name="session_title" expression="" defaultValue="" alwaysStopAt="true" />
|
|
54
60
|
<context>
|
|
55
61
|
<option name="HTML" value="true" />
|
|
56
62
|
</context>
|
package/manifest/files.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"bundles",
|
|
5
5
|
"datastar",
|
|
6
6
|
"html",
|
|
7
|
+
"kotlin",
|
|
7
8
|
"react",
|
|
8
9
|
"templates"
|
|
9
10
|
],
|
|
@@ -240,6 +241,14 @@
|
|
|
240
241
|
"sr-only.ts"
|
|
241
242
|
]
|
|
242
243
|
},
|
|
244
|
+
{
|
|
245
|
+
"category": "css",
|
|
246
|
+
"name": "steps",
|
|
247
|
+
"files": [
|
|
248
|
+
"steps.css",
|
|
249
|
+
"steps.ts"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
243
252
|
{
|
|
244
253
|
"category": "css",
|
|
245
254
|
"name": "switch",
|
|
@@ -351,6 +360,15 @@
|
|
|
351
360
|
"tabs.ts"
|
|
352
361
|
]
|
|
353
362
|
},
|
|
363
|
+
{
|
|
364
|
+
"category": "frame",
|
|
365
|
+
"name": "term",
|
|
366
|
+
"files": [
|
|
367
|
+
"lt-term.ts",
|
|
368
|
+
"term.css",
|
|
369
|
+
"term.ts"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
354
372
|
{
|
|
355
373
|
"category": "standalone",
|
|
356
374
|
"name": "connection-status",
|