@lo-tek/interfaces 0.0.0 → 0.37.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 +3254 -0
- package/LICENSE +21 -0
- package/README.md +128 -1
- package/agent/astro.md +400 -0
- package/agent/bundles.md +429 -0
- package/agent/datastar.md +409 -0
- package/agent/html.md +388 -0
- package/agent/react.md +440 -0
- package/agent/templates.md +472 -0
- package/core/lotek-core.wasm +0 -0
- package/core/lotek.wasm +0 -0
- package/dist/cli.d.ts +12 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +14 -0
- package/dist/cli.js.map +1 -0
- package/dist/components/css/accordion/accordion.d.ts +37 -0
- package/dist/components/css/accordion/accordion.d.ts.map +1 -0
- package/dist/components/css/accordion/accordion.js +31 -0
- package/dist/components/css/accordion/accordion.js.map +1 -0
- package/dist/components/css/alert/alert.d.ts +35 -0
- package/dist/components/css/alert/alert.d.ts.map +1 -0
- package/dist/components/css/alert/alert.js +29 -0
- package/dist/components/css/alert/alert.js.map +1 -0
- package/dist/components/css/avatar/avatar.d.ts +40 -0
- package/dist/components/css/avatar/avatar.d.ts.map +1 -0
- package/dist/components/css/avatar/avatar.js +30 -0
- package/dist/components/css/avatar/avatar.js.map +1 -0
- package/dist/components/css/badge/badge.d.ts +24 -0
- package/dist/components/css/badge/badge.d.ts.map +1 -0
- package/dist/components/css/badge/badge.js +24 -0
- package/dist/components/css/badge/badge.js.map +1 -0
- package/dist/components/css/breadcrumbs/breadcrumbs.d.ts +26 -0
- package/dist/components/css/breadcrumbs/breadcrumbs.d.ts.map +1 -0
- package/dist/components/css/breadcrumbs/breadcrumbs.js +24 -0
- package/dist/components/css/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/components/css/button/button.d.ts +26 -0
- package/dist/components/css/button/button.d.ts.map +1 -0
- package/dist/components/css/button/button.js +25 -0
- package/dist/components/css/button/button.js.map +1 -0
- package/dist/components/css/card/card.d.ts +36 -0
- package/dist/components/css/card/card.d.ts.map +1 -0
- package/dist/components/css/card/card.js +28 -0
- package/dist/components/css/card/card.js.map +1 -0
- package/dist/components/css/checkbox/checkbox.d.ts +32 -0
- package/dist/components/css/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/css/checkbox/checkbox.js +27 -0
- package/dist/components/css/checkbox/checkbox.js.map +1 -0
- package/dist/components/css/divider/divider.d.ts +29 -0
- package/dist/components/css/divider/divider.d.ts.map +1 -0
- package/dist/components/css/divider/divider.js +23 -0
- package/dist/components/css/divider/divider.js.map +1 -0
- package/dist/components/css/error-text/error-text.d.ts +24 -0
- package/dist/components/css/error-text/error-text.d.ts.map +1 -0
- package/dist/components/css/error-text/error-text.js +18 -0
- package/dist/components/css/error-text/error-text.js.map +1 -0
- package/dist/components/css/fieldset/fieldset.d.ts +55 -0
- package/dist/components/css/fieldset/fieldset.d.ts.map +1 -0
- package/dist/components/css/fieldset/fieldset.js +39 -0
- package/dist/components/css/fieldset/fieldset.js.map +1 -0
- package/dist/components/css/file-upload/file-upload.d.ts +41 -0
- package/dist/components/css/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/css/file-upload/file-upload.js +32 -0
- package/dist/components/css/file-upload/file-upload.js.map +1 -0
- package/dist/components/css/heading/heading.d.ts +29 -0
- package/dist/components/css/heading/heading.d.ts.map +1 -0
- package/dist/components/css/heading/heading.js +23 -0
- package/dist/components/css/heading/heading.js.map +1 -0
- package/dist/components/css/help-text/help-text.d.ts +24 -0
- package/dist/components/css/help-text/help-text.d.ts.map +1 -0
- package/dist/components/css/help-text/help-text.js +23 -0
- package/dist/components/css/help-text/help-text.js.map +1 -0
- package/dist/components/css/icon/icon.d.ts +34 -0
- package/dist/components/css/icon/icon.d.ts.map +1 -0
- package/dist/components/css/icon/icon.js +25 -0
- package/dist/components/css/icon/icon.js.map +1 -0
- package/dist/components/css/input/input.d.ts +40 -0
- package/dist/components/css/input/input.d.ts.map +1 -0
- package/dist/components/css/input/input.js +45 -0
- package/dist/components/css/input/input.js.map +1 -0
- package/dist/components/css/label/label.d.ts +33 -0
- package/dist/components/css/label/label.d.ts.map +1 -0
- package/dist/components/css/label/label.js +23 -0
- package/dist/components/css/label/label.js.map +1 -0
- package/dist/components/css/link/link.d.ts +28 -0
- package/dist/components/css/link/link.d.ts.map +1 -0
- package/dist/components/css/link/link.js +20 -0
- package/dist/components/css/link/link.js.map +1 -0
- package/dist/components/css/list/list.d.ts +31 -0
- package/dist/components/css/list/list.d.ts.map +1 -0
- package/dist/components/css/list/list.js +25 -0
- package/dist/components/css/list/list.js.map +1 -0
- package/dist/components/css/pagination/pagination.d.ts +27 -0
- package/dist/components/css/pagination/pagination.d.ts.map +1 -0
- package/dist/components/css/pagination/pagination.js +25 -0
- package/dist/components/css/pagination/pagination.js.map +1 -0
- package/dist/components/css/paragraph/paragraph.d.ts +36 -0
- package/dist/components/css/paragraph/paragraph.d.ts.map +1 -0
- package/dist/components/css/paragraph/paragraph.js +26 -0
- package/dist/components/css/paragraph/paragraph.js.map +1 -0
- package/dist/components/css/progress/progress.d.ts +53 -0
- package/dist/components/css/progress/progress.d.ts.map +1 -0
- package/dist/components/css/progress/progress.js +38 -0
- package/dist/components/css/progress/progress.js.map +1 -0
- package/dist/components/css/radio/radio.d.ts +32 -0
- package/dist/components/css/radio/radio.d.ts.map +1 -0
- package/dist/components/css/radio/radio.js +27 -0
- package/dist/components/css/radio/radio.js.map +1 -0
- package/dist/components/css/search/search.d.ts +34 -0
- package/dist/components/css/search/search.d.ts.map +1 -0
- package/dist/components/css/search/search.js +32 -0
- package/dist/components/css/search/search.js.map +1 -0
- package/dist/components/css/select/select.d.ts +40 -0
- package/dist/components/css/select/select.d.ts.map +1 -0
- package/dist/components/css/select/select.js +31 -0
- package/dist/components/css/select/select.js.map +1 -0
- package/dist/components/css/shared.d.ts +90 -0
- package/dist/components/css/shared.d.ts.map +1 -0
- package/dist/components/css/shared.js +167 -0
- package/dist/components/css/shared.js.map +1 -0
- package/dist/components/css/skeleton/skeleton.d.ts +29 -0
- package/dist/components/css/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/css/skeleton/skeleton.js +23 -0
- package/dist/components/css/skeleton/skeleton.js.map +1 -0
- package/dist/components/css/skip-link/skip-link.d.ts +18 -0
- package/dist/components/css/skip-link/skip-link.d.ts.map +1 -0
- package/dist/components/css/skip-link/skip-link.js +16 -0
- package/dist/components/css/skip-link/skip-link.js.map +1 -0
- package/dist/components/css/spinner/spinner.d.ts +33 -0
- package/dist/components/css/spinner/spinner.d.ts.map +1 -0
- package/dist/components/css/spinner/spinner.js +25 -0
- package/dist/components/css/spinner/spinner.js.map +1 -0
- package/dist/components/css/sr-only/sr-only.d.ts +17 -0
- package/dist/components/css/sr-only/sr-only.d.ts.map +1 -0
- package/dist/components/css/sr-only/sr-only.js +15 -0
- package/dist/components/css/sr-only/sr-only.js.map +1 -0
- package/dist/components/css/switch/switch.d.ts +37 -0
- package/dist/components/css/switch/switch.d.ts.map +1 -0
- package/dist/components/css/switch/switch.js +29 -0
- package/dist/components/css/switch/switch.js.map +1 -0
- package/dist/components/css/table/table.d.ts +76 -0
- package/dist/components/css/table/table.d.ts.map +1 -0
- package/dist/components/css/table/table.js +59 -0
- package/dist/components/css/table/table.js.map +1 -0
- package/dist/components/css/tag/tag.d.ts +35 -0
- package/dist/components/css/tag/tag.d.ts.map +1 -0
- package/dist/components/css/tag/tag.js +27 -0
- package/dist/components/css/tag/tag.js.map +1 -0
- package/dist/components/css/textarea/textarea.d.ts +23 -0
- package/dist/components/css/textarea/textarea.d.ts.map +1 -0
- package/dist/components/css/textarea/textarea.js +18 -0
- package/dist/components/css/textarea/textarea.js.map +1 -0
- package/dist/components/css/toggle-group/toggle-group.d.ts +31 -0
- package/dist/components/css/toggle-group/toggle-group.d.ts.map +1 -0
- package/dist/components/css/toggle-group/toggle-group.js +29 -0
- package/dist/components/css/toggle-group/toggle-group.js.map +1 -0
- package/dist/components/css/tooltip/tooltip.d.ts +31 -0
- package/dist/components/css/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/css/tooltip/tooltip.js +29 -0
- package/dist/components/css/tooltip/tooltip.js.map +1 -0
- package/dist/components/default-texts.d.ts +35 -0
- package/dist/components/default-texts.d.ts.map +1 -0
- package/dist/components/default-texts.js +35 -0
- package/dist/components/default-texts.js.map +1 -0
- package/dist/components/events.d.ts +77 -0
- package/dist/components/events.d.ts.map +1 -0
- package/dist/components/events.js +3 -0
- package/dist/components/events.js.map +1 -0
- package/dist/components/frame/dialog/dialog.d.ts +122 -0
- package/dist/components/frame/dialog/dialog.d.ts.map +1 -0
- package/dist/components/frame/dialog/dialog.js +112 -0
- package/dist/components/frame/dialog/dialog.js.map +1 -0
- package/dist/components/frame/dialog/lt-dialog.d.ts +104 -0
- package/dist/components/frame/dialog/lt-dialog.d.ts.map +1 -0
- package/dist/components/frame/dialog/lt-dialog.js +431 -0
- package/dist/components/frame/dialog/lt-dialog.js.map +1 -0
- package/dist/components/frame/error-summary/error-summary.d.ts +40 -0
- package/dist/components/frame/error-summary/error-summary.d.ts.map +1 -0
- package/dist/components/frame/error-summary/error-summary.js +32 -0
- package/dist/components/frame/error-summary/error-summary.js.map +1 -0
- package/dist/components/frame/error-summary/lt-error-summary.d.ts +82 -0
- package/dist/components/frame/error-summary/lt-error-summary.d.ts.map +1 -0
- package/dist/components/frame/error-summary/lt-error-summary.js +302 -0
- package/dist/components/frame/error-summary/lt-error-summary.js.map +1 -0
- package/dist/components/frame/field/field-core.d.ts +92 -0
- package/dist/components/frame/field/field-core.d.ts.map +1 -0
- package/dist/components/frame/field/field-core.js +63 -0
- package/dist/components/frame/field/field-core.js.map +1 -0
- package/dist/components/frame/field/lt-field.d.ts +173 -0
- package/dist/components/frame/field/lt-field.d.ts.map +1 -0
- package/dist/components/frame/field/lt-field.js +580 -0
- package/dist/components/frame/field/lt-field.js.map +1 -0
- package/dist/components/frame/popover/lt-popover.d.ts +132 -0
- package/dist/components/frame/popover/lt-popover.d.ts.map +1 -0
- package/dist/components/frame/popover/lt-popover.js +490 -0
- package/dist/components/frame/popover/lt-popover.js.map +1 -0
- package/dist/components/frame/popover/popover.d.ts +49 -0
- package/dist/components/frame/popover/popover.d.ts.map +1 -0
- package/dist/components/frame/popover/popover.js +64 -0
- package/dist/components/frame/popover/popover.js.map +1 -0
- package/dist/components/frame/session-timeout/lt-session-timeout.d.ts +198 -0
- package/dist/components/frame/session-timeout/lt-session-timeout.d.ts.map +1 -0
- package/dist/components/frame/session-timeout/lt-session-timeout.js +573 -0
- package/dist/components/frame/session-timeout/lt-session-timeout.js.map +1 -0
- package/dist/components/frame/session-timeout/session-timeout.d.ts +113 -0
- package/dist/components/frame/session-timeout/session-timeout.d.ts.map +1 -0
- package/dist/components/frame/session-timeout/session-timeout.js +101 -0
- package/dist/components/frame/session-timeout/session-timeout.js.map +1 -0
- package/dist/components/frame/suggestion/lt-suggestion.d.ts +361 -0
- package/dist/components/frame/suggestion/lt-suggestion.d.ts.map +1 -0
- package/dist/components/frame/suggestion/lt-suggestion.js +1152 -0
- package/dist/components/frame/suggestion/lt-suggestion.js.map +1 -0
- package/dist/components/frame/suggestion/suggestion.d.ts +143 -0
- package/dist/components/frame/suggestion/suggestion.d.ts.map +1 -0
- package/dist/components/frame/suggestion/suggestion.js +127 -0
- package/dist/components/frame/suggestion/suggestion.js.map +1 -0
- package/dist/components/frame/tabs/lt-tabs.d.ts +404 -0
- package/dist/components/frame/tabs/lt-tabs.d.ts.map +1 -0
- package/dist/components/frame/tabs/lt-tabs.js +1201 -0
- package/dist/components/frame/tabs/lt-tabs.js.map +1 -0
- package/dist/components/frame/tabs/tabs.d.ts +112 -0
- package/dist/components/frame/tabs/tabs.d.ts.map +1 -0
- package/dist/components/frame/tabs/tabs.js +107 -0
- package/dist/components/frame/tabs/tabs.js.map +1 -0
- package/dist/components/host-element.d.ts +135 -0
- package/dist/components/host-element.d.ts.map +1 -0
- package/dist/components/host-element.js +366 -0
- package/dist/components/host-element.js.map +1 -0
- package/dist/components/standalone/connection-status/connection-status.d.ts +28 -0
- package/dist/components/standalone/connection-status/connection-status.d.ts.map +1 -0
- package/dist/components/standalone/connection-status/connection-status.js +22 -0
- package/dist/components/standalone/connection-status/connection-status.js.map +1 -0
- package/dist/components/standalone/connection-status/lt-connection-status.d.ts +81 -0
- package/dist/components/standalone/connection-status/lt-connection-status.d.ts.map +1 -0
- package/dist/components/standalone/connection-status/lt-connection-status.js +216 -0
- package/dist/components/standalone/connection-status/lt-connection-status.js.map +1 -0
- package/dist/components/standalone/toast/lt-toast.d.ts +109 -0
- package/dist/components/standalone/toast/lt-toast.d.ts.map +1 -0
- package/dist/components/standalone/toast/lt-toast.js +256 -0
- package/dist/components/standalone/toast/lt-toast.js.map +1 -0
- package/dist/components/standalone/toast/toast.d.ts +52 -0
- package/dist/components/standalone/toast/toast.d.ts.map +1 -0
- package/dist/components/standalone/toast/toast.js +42 -0
- package/dist/components/standalone/toast/toast.js.map +1 -0
- package/dist/diagnostics/core.d.ts +137 -0
- package/dist/diagnostics/core.d.ts.map +1 -0
- package/dist/diagnostics/core.js +72 -0
- package/dist/diagnostics/core.js.map +1 -0
- package/dist/diagnostics/default-core.d.ts +10 -0
- package/dist/diagnostics/default-core.d.ts.map +1 -0
- package/dist/diagnostics/default-core.js +72 -0
- package/dist/diagnostics/default-core.js.map +1 -0
- package/dist/diagnostics/index.d.ts +84 -0
- package/dist/diagnostics/index.d.ts.map +1 -0
- package/dist/diagnostics/index.js +106 -0
- package/dist/diagnostics/index.js.map +1 -0
- package/dist/dom.d.ts +55 -0
- package/dist/dom.d.ts.map +1 -0
- package/dist/dom.js +162 -0
- package/dist/dom.js.map +1 -0
- package/dist/index.d.ts +97 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +58 -0
- package/dist/index.js.map +1 -0
- package/dist/jsx/react.d.ts +180 -0
- package/dist/jsx/react.d.ts.map +1 -0
- package/dist/jsx/react.js +2 -0
- package/dist/jsx/react.js.map +1 -0
- package/dist/lotek.css +3617 -0
- package/dist/lt.d.ts +325 -0
- package/dist/lt.d.ts.map +1 -0
- package/dist/lt.js +183 -0
- package/dist/lt.js.map +1 -0
- package/dist/react.d.ts +492 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +296 -0
- package/dist/react.js.map +1 -0
- package/dist/register.d.ts +17 -0
- package/dist/register.d.ts.map +1 -0
- package/dist/register.js +35 -0
- package/dist/register.js.map +1 -0
- package/dist/tokens/color.d.ts +43 -0
- package/dist/tokens/color.d.ts.map +1 -0
- package/dist/tokens/color.js +123 -0
- package/dist/tokens/color.js.map +1 -0
- package/dist/tokens/contract.d.ts +18 -0
- package/dist/tokens/contract.d.ts.map +1 -0
- package/dist/tokens/contract.js +18 -0
- package/dist/tokens/contract.js.map +1 -0
- package/dist/tokens/matrix-cells.d.ts +30 -0
- package/dist/tokens/matrix-cells.d.ts.map +1 -0
- package/dist/tokens/matrix-cells.js +273 -0
- package/dist/tokens/matrix-cells.js.map +1 -0
- package/dist/tokens/matrix.d.ts +18 -0
- package/dist/tokens/matrix.d.ts.map +1 -0
- package/dist/tokens/matrix.js +21 -0
- package/dist/tokens/matrix.js.map +1 -0
- package/dist/tokens/theme-check.d.ts +42 -0
- package/dist/tokens/theme-check.d.ts.map +1 -0
- package/dist/tokens/theme-check.js +10 -0
- package/dist/tokens/theme-check.js.map +1 -0
- package/dist/tokens/theme.d.ts +94 -0
- package/dist/tokens/theme.d.ts.map +1 -0
- package/dist/tokens/theme.js +14 -0
- package/dist/tokens/theme.js.map +1 -0
- package/dist/tokens/tokens.d.ts +122 -0
- package/dist/tokens/tokens.d.ts.map +1 -0
- package/dist/tokens/tokens.js +158 -0
- package/dist/tokens/tokens.js.map +1 -0
- package/dist/vocabulary/classes.d.ts +3 -0
- package/dist/vocabulary/classes.d.ts.map +1 -0
- package/dist/vocabulary/classes.js +1320 -0
- package/dist/vocabulary/classes.js.map +1 -0
- package/dist/vocabulary/elements.d.ts +3 -0
- package/dist/vocabulary/elements.d.ts.map +1 -0
- package/dist/vocabulary/elements.js +410 -0
- package/dist/vocabulary/elements.js.map +1 -0
- package/dist/vocabulary/types.d.ts +175 -0
- package/dist/vocabulary/types.d.ts.map +1 -0
- package/dist/vocabulary/types.js +11 -0
- package/dist/vocabulary/types.js.map +1 -0
- package/dist/wasi-host.d.ts +24 -0
- package/dist/wasi-host.d.ts.map +1 -0
- package/dist/wasi-host.js +140 -0
- package/dist/wasi-host.js.map +1 -0
- package/live-templates.xml +62 -0
- package/manifest/files.json +373 -0
- package/manifest/manifest.json +4965 -0
- package/manifest/manifest.schema.json +513 -0
- package/package.json +398 -5
- package/src/cli.ts +21 -0
- package/src/components/css/accordion/accordion.css +102 -0
- package/src/components/css/accordion/accordion.ts +50 -0
- package/src/components/css/alert/alert.css +53 -0
- package/src/components/css/alert/alert.ts +48 -0
- package/src/components/css/avatar/avatar.css +96 -0
- package/src/components/css/avatar/avatar.ts +57 -0
- package/src/components/css/badge/badge.css +42 -0
- package/src/components/css/badge/badge.ts +43 -0
- package/src/components/css/breadcrumbs/breadcrumbs.css +62 -0
- package/src/components/css/breadcrumbs/breadcrumbs.ts +30 -0
- package/src/components/css/button/button.css +128 -0
- package/src/components/css/button/button.ts +44 -0
- package/src/components/css/card/card.css +65 -0
- package/src/components/css/card/card.ts +50 -0
- package/src/components/css/checkbox/checkbox.css +114 -0
- package/src/components/css/checkbox/checkbox.ts +50 -0
- package/src/components/css/divider/divider.css +38 -0
- package/src/components/css/divider/divider.ts +42 -0
- package/src/components/css/error-text/error-text.css +21 -0
- package/src/components/css/error-text/error-text.ts +37 -0
- package/src/components/css/fieldset/fieldset.css +72 -0
- package/src/components/css/fieldset/fieldset.ts +87 -0
- package/src/components/css/file-upload/file-upload.css +102 -0
- package/src/components/css/file-upload/file-upload.ts +65 -0
- package/src/components/css/heading/heading.css +33 -0
- package/src/components/css/heading/heading.ts +42 -0
- package/src/components/css/help-text/help-text.css +24 -0
- package/src/components/css/help-text/help-text.ts +42 -0
- package/src/components/css/icon/icon.css +20 -0
- package/src/components/css/icon/icon.ts +44 -0
- package/src/components/css/input/input.css +145 -0
- package/src/components/css/input/input.ts +77 -0
- package/src/components/css/label/label.css +42 -0
- package/src/components/css/label/label.ts +51 -0
- package/src/components/css/link/link.css +38 -0
- package/src/components/css/link/link.ts +38 -0
- package/src/components/css/list/list.css +53 -0
- package/src/components/css/list/list.ts +44 -0
- package/src/components/css/pagination/pagination.css +95 -0
- package/src/components/css/pagination/pagination.ts +33 -0
- package/src/components/css/paragraph/paragraph.css +31 -0
- package/src/components/css/paragraph/paragraph.ts +53 -0
- package/src/components/css/progress/progress.css +161 -0
- package/src/components/css/progress/progress.ts +78 -0
- package/src/components/css/radio/radio.css +94 -0
- package/src/components/css/radio/radio.ts +50 -0
- package/src/components/css/search/search.css +50 -0
- package/src/components/css/search/search.ts +56 -0
- package/src/components/css/select/select.css +321 -0
- package/src/components/css/select/select.ts +63 -0
- package/src/components/css/shared.ts +199 -0
- package/src/components/css/skeleton/skeleton.css +62 -0
- package/src/components/css/skeleton/skeleton.ts +43 -0
- package/src/components/css/skip-link/skip-link.css +41 -0
- package/src/components/css/skip-link/skip-link.ts +22 -0
- package/src/components/css/spinner/spinner.css +48 -0
- package/src/components/css/spinner/spinner.ts +48 -0
- package/src/components/css/sr-only/sr-only.css +16 -0
- package/src/components/css/sr-only/sr-only.ts +21 -0
- package/src/components/css/switch/switch.css +105 -0
- package/src/components/css/switch/switch.ts +50 -0
- package/src/components/css/table/table.css +159 -0
- package/src/components/css/table/table.ts +107 -0
- package/src/components/css/tag/tag.css +58 -0
- package/src/components/css/tag/tag.ts +49 -0
- package/src/components/css/textarea/textarea.css +83 -0
- package/src/components/css/textarea/textarea.ts +40 -0
- package/src/components/css/toggle-group/toggle-group.css +92 -0
- package/src/components/css/toggle-group/toggle-group.ts +37 -0
- package/src/components/css/tooltip/tooltip.css +89 -0
- package/src/components/css/tooltip/tooltip.ts +37 -0
- package/src/components/default-texts.ts +34 -0
- package/src/components/events.ts +68 -0
- package/src/components/frame/dialog/dialog.css +306 -0
- package/src/components/frame/dialog/dialog.ts +166 -0
- package/src/components/frame/dialog/lt-dialog.ts +510 -0
- package/src/components/frame/error-summary/error-summary.css +47 -0
- package/src/components/frame/error-summary/error-summary.ts +56 -0
- package/src/components/frame/error-summary/lt-error-summary.ts +344 -0
- package/src/components/frame/field/field-core.ts +152 -0
- package/src/components/frame/field/field.css +17 -0
- package/src/components/frame/field/lt-field.ts +753 -0
- package/src/components/frame/popover/lt-popover.ts +555 -0
- package/src/components/frame/popover/popover.css +50 -0
- package/src/components/frame/popover/popover.ts +102 -0
- package/src/components/frame/session-timeout/lt-session-timeout.ts +681 -0
- package/src/components/frame/session-timeout/session-timeout.css +50 -0
- package/src/components/frame/session-timeout/session-timeout.ts +156 -0
- package/src/components/frame/suggestion/lt-suggestion.ts +1358 -0
- package/src/components/frame/suggestion/suggestion.css +132 -0
- package/src/components/frame/suggestion/suggestion.ts +172 -0
- package/src/components/frame/tabs/lt-tabs.ts +1319 -0
- package/src/components/frame/tabs/tabs.css +128 -0
- package/src/components/frame/tabs/tabs.ts +188 -0
- package/src/components/host-element.ts +400 -0
- package/src/components/standalone/connection-status/connection-status.css +41 -0
- package/src/components/standalone/connection-status/connection-status.ts +41 -0
- package/src/components/standalone/connection-status/lt-connection-status.ts +242 -0
- package/src/components/standalone/toast/lt-toast.ts +300 -0
- package/src/components/standalone/toast/toast.css +78 -0
- package/src/components/standalone/toast/toast.ts +70 -0
- package/src/diagnostics/core.ts +210 -0
- package/src/diagnostics/default-core.ts +81 -0
- package/src/diagnostics/index.ts +150 -0
- package/src/dom.ts +185 -0
- package/src/index.ts +218 -0
- package/src/jsx/react.ts +212 -0
- package/src/lt.ts +192 -0
- package/src/react.ts +411 -0
- package/src/register.ts +43 -0
- package/src/tailwind/tailwind.css +169 -0
- package/src/tokens/boundary.css +104 -0
- package/src/tokens/color-contract.json +231 -0
- package/src/tokens/color.ts +150 -0
- package/src/tokens/contract.ts +24 -0
- package/src/tokens/matrix-cells.ts +375 -0
- package/src/tokens/matrix.ts +32 -0
- package/src/tokens/theme-check.ts +51 -0
- package/src/tokens/theme.ts +104 -0
- package/src/tokens/tokens.css +569 -0
- package/src/tokens/tokens.ts +223 -0
- package/src/vocabulary/classes.ts +1322 -0
- package/src/vocabulary/elements.ts +412 -0
- package/src/vocabulary/types.ts +178 -0
- package/src/wasi-host.ts +155 -0
- package/web-types.json +800 -0
|
@@ -0,0 +1,4965 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./manifest.schema.json",
|
|
3
|
+
"schemaVersion": 1,
|
|
4
|
+
"version": "0.37.0",
|
|
5
|
+
"elements": {
|
|
6
|
+
"lt-field": {
|
|
7
|
+
"link": "https://lo-tek.sobernetics.no/components/field/",
|
|
8
|
+
"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 produced without JavaScript. When the markup is produced with JavaScript, use `lt.field()` instead.",
|
|
9
|
+
"attributes": {
|
|
10
|
+
"disabled": {
|
|
11
|
+
"type": "flag",
|
|
12
|
+
"description": "The control is disabled."
|
|
13
|
+
},
|
|
14
|
+
"optional": {
|
|
15
|
+
"type": "flag",
|
|
16
|
+
"description": "The field is optional, and the label says so."
|
|
17
|
+
},
|
|
18
|
+
"described-by": {
|
|
19
|
+
"type": "text",
|
|
20
|
+
"description": "Extra ids to include in `aria-describedby`, separated by spaces."
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"parts": {
|
|
24
|
+
"label": {
|
|
25
|
+
"selector": "label",
|
|
26
|
+
"description": "The label. When it is outside the element, it is wired with `for` to the control's id.",
|
|
27
|
+
"content": "text"
|
|
28
|
+
},
|
|
29
|
+
"control": {
|
|
30
|
+
"selector": "input:not([type='hidden']), textarea, select",
|
|
31
|
+
"description": "The control the field wires: an `<input>`, `<textarea>` or `<select>` with its `<option>`s. `type=\"hidden\"` does not count, and only the first one is wired. The template writes `for` on the label and `id` on the control, or wraps the control in the label.",
|
|
32
|
+
"content": "none",
|
|
33
|
+
"unique": true,
|
|
34
|
+
"stableId": true
|
|
35
|
+
},
|
|
36
|
+
"help": {
|
|
37
|
+
"selector": ".lt-help-text",
|
|
38
|
+
"description": "The help text, which is read out together with the control.",
|
|
39
|
+
"content": "text",
|
|
40
|
+
"unique": true,
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
"error": {
|
|
44
|
+
"selector": ".lt-error-text",
|
|
45
|
+
"description": "The error text, which is shown and read out when the field is invalid.",
|
|
46
|
+
"content": "text",
|
|
47
|
+
"unique": true,
|
|
48
|
+
"optional": true
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"removed": {
|
|
52
|
+
"invalid": "The field is invalid when the error text, `.lt-error-text`, is visible, or when the server has written `aria-invalid` on the control. In Datastar: `data-attr:hidden=\"!$invalid\"` on the error text.",
|
|
53
|
+
"required-marker": "The required marker is `data-required` on `<label>`, and then shows without JavaScript too.",
|
|
54
|
+
"control-id": "Write `id` on the control and `for` on the label in the template. The component never writes an id on the control."
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"lt-tabs": {
|
|
58
|
+
"link": "https://lo-tek.sobernetics.no/components/tabs/",
|
|
59
|
+
"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.",
|
|
60
|
+
"attributes": {
|
|
61
|
+
"server-controlled": {
|
|
62
|
+
"type": "flag",
|
|
63
|
+
"description": "The server decides which tab is selected. The component does not put the user's selection back after an update from the server, and the URL selects no tab. A click and find in page select the tab until the server responds."
|
|
64
|
+
},
|
|
65
|
+
"activation": {
|
|
66
|
+
"type": "values",
|
|
67
|
+
"values": [
|
|
68
|
+
"manual",
|
|
69
|
+
"automatic"
|
|
70
|
+
],
|
|
71
|
+
"description": "What the arrow keys do. By default they select the tab at once."
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"parts": {
|
|
75
|
+
"list": {
|
|
76
|
+
"selector": "[role='tablist'], .lt-tabs__list",
|
|
77
|
+
"description": "The tab list, a `<ul>` where each `<li>` gets `role=\"presentation\"`. It needs a name, such as `aria-label`. When the server has written `role=\"tab\"` on the links, the list can also hold other links.",
|
|
78
|
+
"content": "free",
|
|
79
|
+
"unique": true
|
|
80
|
+
},
|
|
81
|
+
"tab": {
|
|
82
|
+
"selector": "a[role='tab'][href^='#'], .lt-tabs__list a[href^='#']:not([role])",
|
|
83
|
+
"description": "A tab: a link to its panel, `<a href=\"#attachments\">`. The component writes `aria-controls` from `href`. `role=\"tab\"` on something that is not a link is not a tab.",
|
|
84
|
+
"content": "text",
|
|
85
|
+
"multiple": true
|
|
86
|
+
},
|
|
87
|
+
"panel": {
|
|
88
|
+
"selector": "[role='tabpanel'], .lt-tabs__panel:not([role])",
|
|
89
|
+
"description": "The content of one tab, with the id the link points to. The panel has the same name as the tab: the heading at the top of the panel is the name when it says the same as the tab.",
|
|
90
|
+
"content": "free",
|
|
91
|
+
"multiple": true
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"events": {
|
|
95
|
+
"tab-select": {
|
|
96
|
+
"detail": {
|
|
97
|
+
"index": "number"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"lt-error-summary": {
|
|
103
|
+
"link": "https://lo-tek.sobernetics.no/components/error-summary/",
|
|
104
|
+
"description": "Error summary. Moves focus to the box when it appears, and to the control when a link in the list is followed.",
|
|
105
|
+
"attributes": {
|
|
106
|
+
"data-autofocus": {
|
|
107
|
+
"type": "values",
|
|
108
|
+
"values": [
|
|
109
|
+
"false",
|
|
110
|
+
"true"
|
|
111
|
+
],
|
|
112
|
+
"description": "Whether focus moves to the box when it appears. On by default."
|
|
113
|
+
},
|
|
114
|
+
"hidden": {
|
|
115
|
+
"type": "flag",
|
|
116
|
+
"description": "The box is hidden. The server removes the attribute when the form fails, and the component then moves focus."
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"parts": {
|
|
120
|
+
"title": {
|
|
121
|
+
"selector": "h1, h2, h3, h4, h5, h6",
|
|
122
|
+
"description": "The heading in the box. The component gives it the title class.",
|
|
123
|
+
"content": "text"
|
|
124
|
+
},
|
|
125
|
+
"link": {
|
|
126
|
+
"selector": "li a[href^='#']",
|
|
127
|
+
"description": "A link to a field with an error, in a list item. `href` is `#` and the field's id.",
|
|
128
|
+
"content": "text",
|
|
129
|
+
"multiple": true
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"lt-popover": {
|
|
134
|
+
"link": "https://lo-tek.sobernetics.no/components/popover/",
|
|
135
|
+
"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.",
|
|
136
|
+
"attributes": {
|
|
137
|
+
"open": {
|
|
138
|
+
"type": "flag",
|
|
139
|
+
"description": "The panel is open. The server can send the attribute to open the panel."
|
|
140
|
+
},
|
|
141
|
+
"placement": {
|
|
142
|
+
"type": "values",
|
|
143
|
+
"values": [
|
|
144
|
+
"bottom-start",
|
|
145
|
+
"bottom-end",
|
|
146
|
+
"top-start",
|
|
147
|
+
"top-end"
|
|
148
|
+
],
|
|
149
|
+
"description": "Which edge of the button the panel hangs from."
|
|
150
|
+
},
|
|
151
|
+
"server-controlled": {
|
|
152
|
+
"type": "flag",
|
|
153
|
+
"description": "The server decides whether the panel is open. The component does not put `open` back when an update from the server removes it."
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"parts": {
|
|
157
|
+
"trigger": {
|
|
158
|
+
"selector": "button, [role='button']",
|
|
159
|
+
"description": "The button that opens and closes the panel: the one with `aria-controls` pointing at the panel's id, otherwise the first button outside the panel.",
|
|
160
|
+
"content": "text"
|
|
161
|
+
},
|
|
162
|
+
"panel": {
|
|
163
|
+
"selector": "[popover], .lt-popover",
|
|
164
|
+
"description": "The panel that opens: the element with `popover`, or the class. It needs an id from the server, which `aria-controls` on the button points to. The component never creates one, and without it the button cannot be wired to the panel.",
|
|
165
|
+
"content": "free",
|
|
166
|
+
"stableId": true
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"events": {
|
|
170
|
+
"popover-toggle": {
|
|
171
|
+
"detail": {
|
|
172
|
+
"open": "boolean"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"lt-suggestion": {
|
|
178
|
+
"link": "https://lo-tek.sobernetics.no/components/suggestion/",
|
|
179
|
+
"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.",
|
|
180
|
+
"attributes": {
|
|
181
|
+
"prefiltered": {
|
|
182
|
+
"type": "flag",
|
|
183
|
+
"description": "The app has already filtered the list, so the component leaves it as it is. Needed when the app's filter is something other than \"the text contains the search term\"."
|
|
184
|
+
},
|
|
185
|
+
"count-none": {
|
|
186
|
+
"type": "text",
|
|
187
|
+
"description": "The announcement for no matches. The default is \"No matches\"."
|
|
188
|
+
},
|
|
189
|
+
"count-zero": {
|
|
190
|
+
"type": "text",
|
|
191
|
+
"description": "The announcement in the plural form `zero`, for languages that have it. `{n}` is the number."
|
|
192
|
+
},
|
|
193
|
+
"count-one": {
|
|
194
|
+
"type": "text",
|
|
195
|
+
"description": "The announcement for one match. `{n}` is the number."
|
|
196
|
+
},
|
|
197
|
+
"count-two": {
|
|
198
|
+
"type": "text",
|
|
199
|
+
"description": "The announcement in the plural form `two`, for languages that have it. `{n}` is the number."
|
|
200
|
+
},
|
|
201
|
+
"count-few": {
|
|
202
|
+
"type": "text",
|
|
203
|
+
"description": "The announcement in the plural form `few`, for languages that have it. `{n}` is the number."
|
|
204
|
+
},
|
|
205
|
+
"count-many": {
|
|
206
|
+
"type": "text",
|
|
207
|
+
"description": "The announcement in the plural form `many`, for languages that have it. `{n}` is the number."
|
|
208
|
+
},
|
|
209
|
+
"count-other": {
|
|
210
|
+
"type": "text",
|
|
211
|
+
"description": "The announcement for every other count, and the fallback when a form is missing. `{n}` is the number."
|
|
212
|
+
},
|
|
213
|
+
"server-controlled": {
|
|
214
|
+
"type": "flag",
|
|
215
|
+
"description": "The server decides whether the list is expanded and which option is highlighted. The component does not put them back after an update from the server."
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"parts": {
|
|
219
|
+
"control": {
|
|
220
|
+
"selector": "[role='combobox'], input:not([type='hidden'])",
|
|
221
|
+
"description": "The field the user types in: `role=\"combobox\"`, otherwise the first `<input>`. The template writes `for` on the label and `id` on the field, or wraps the field in the label.",
|
|
222
|
+
"content": "none",
|
|
223
|
+
"unique": true,
|
|
224
|
+
"stableId": true
|
|
225
|
+
},
|
|
226
|
+
"list": {
|
|
227
|
+
"selector": "[role='listbox'], .lt-suggestion__list",
|
|
228
|
+
"description": "The list of suggestions. It sits in the top layer when it is open, `popover=\"manual\"`, and has the label as its name.",
|
|
229
|
+
"content": "parts",
|
|
230
|
+
"unique": true
|
|
231
|
+
},
|
|
232
|
+
"option": {
|
|
233
|
+
"selector": "[role='option'], .lt-suggestion__list > li:not([role])",
|
|
234
|
+
"description": "One suggestion in the list: `role=\"option\"`, or an `<li>` without a role.",
|
|
235
|
+
"content": "text",
|
|
236
|
+
"multiple": true
|
|
237
|
+
},
|
|
238
|
+
"empty": {
|
|
239
|
+
"selector": ".lt-suggestion__empty",
|
|
240
|
+
"description": "The message shown when nothing matches.",
|
|
241
|
+
"content": "text",
|
|
242
|
+
"unique": true,
|
|
243
|
+
"optional": true
|
|
244
|
+
},
|
|
245
|
+
"status": {
|
|
246
|
+
"selector": "[role='status']",
|
|
247
|
+
"description": "The announcement of the number of matches. The element is left empty, and the component fills it.",
|
|
248
|
+
"content": "none"
|
|
249
|
+
},
|
|
250
|
+
"value": {
|
|
251
|
+
"selector": "input.lt-suggestion__value",
|
|
252
|
+
"description": "A hidden `<input>` that gets the `data-value` of the option the user chose. Without it, only the text in the field is submitted.",
|
|
253
|
+
"content": "none",
|
|
254
|
+
"unique": true,
|
|
255
|
+
"optional": true
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"events": {
|
|
259
|
+
"suggestion-select": {
|
|
260
|
+
"detail": {
|
|
261
|
+
"value": "string",
|
|
262
|
+
"label": "string"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"lt-dialog": {
|
|
268
|
+
"link": "https://lo-tek.sobernetics.no/components/dialog/",
|
|
269
|
+
"description": "Makes a `<dialog class=\"lt-dialog\">` modal with `showModal()`, for servers that cannot call it themselves. 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.",
|
|
270
|
+
"attributes": {
|
|
271
|
+
"open": {
|
|
272
|
+
"type": "flag",
|
|
273
|
+
"description": "The dialog is open. For the server to show it, `open` must be on `<dialog>` too."
|
|
274
|
+
},
|
|
275
|
+
"server-controlled": {
|
|
276
|
+
"type": "flag",
|
|
277
|
+
"description": "When an update from the server removes `open` from `<dialog>` while the dialog is open, the component closes it and dispatches `dialog-toggle`, instead of putting `open` back."
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"parts": {
|
|
281
|
+
"dialog": {
|
|
282
|
+
"selector": ":scope > dialog",
|
|
283
|
+
"description": "The `<dialog>` element, as a direct child of the host.",
|
|
284
|
+
"content": "free",
|
|
285
|
+
"unique": true
|
|
286
|
+
},
|
|
287
|
+
"title": {
|
|
288
|
+
"selector": "h1, h2, h3, h4, h5, h6",
|
|
289
|
+
"description": "The title: what `aria-labelledby` points to, otherwise the first heading outside the body. With `aria-label` on `<dialog>` it is not needed.",
|
|
290
|
+
"content": "text",
|
|
291
|
+
"optional": true
|
|
292
|
+
},
|
|
293
|
+
"body": {
|
|
294
|
+
"selector": ".lt-dialog__body",
|
|
295
|
+
"description": "The body, which scrolls when the dialog gets too tall. A heading here does not become the title.",
|
|
296
|
+
"content": "free",
|
|
297
|
+
"unique": true,
|
|
298
|
+
"optional": true
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"events": {
|
|
302
|
+
"dialog-toggle": {
|
|
303
|
+
"detail": {
|
|
304
|
+
"open": "boolean",
|
|
305
|
+
"returnValue": "string"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"lt-toast": {
|
|
311
|
+
"link": "https://lo-tek.sobernetics.no/components/toast/",
|
|
312
|
+
"description": "A queue of short messages in the corner of the screen. The messages are created from script with `show(text, { color, duration })`.",
|
|
313
|
+
"attributes": {
|
|
314
|
+
"duration": {
|
|
315
|
+
"type": "number",
|
|
316
|
+
"description": "Milliseconds before a message disappears. The default is 6000, and 0 keeps the messages."
|
|
317
|
+
},
|
|
318
|
+
"label": {
|
|
319
|
+
"type": "text",
|
|
320
|
+
"description": "Text that tells screen readers what the region is for."
|
|
321
|
+
},
|
|
322
|
+
"close-label": {
|
|
323
|
+
"type": "text",
|
|
324
|
+
"description": "What the close button in each message is called for screen readers. The default is \"Close message\"."
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"parts": {},
|
|
328
|
+
"events": {
|
|
329
|
+
"toast-dismiss": {}
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"lt-session-timeout": {
|
|
333
|
+
"link": "https://lo-tek.sobernetics.no/components/session-timeout/",
|
|
334
|
+
"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, `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.",
|
|
335
|
+
"attributes": {
|
|
336
|
+
"warn-at": {
|
|
337
|
+
"type": "number",
|
|
338
|
+
"description": "Seconds without activity before the warning appears."
|
|
339
|
+
},
|
|
340
|
+
"expires-at": {
|
|
341
|
+
"type": "number",
|
|
342
|
+
"description": "Seconds without activity before the session expires."
|
|
343
|
+
},
|
|
344
|
+
"activity-interval": {
|
|
345
|
+
"type": "number",
|
|
346
|
+
"description": "Seconds between each `session-activity` while the user is active. Default 60."
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"parts": {
|
|
350
|
+
"dialog": {
|
|
351
|
+
"selector": "dialog",
|
|
352
|
+
"description": "The `<dialog>` element with the warning.",
|
|
353
|
+
"content": "free",
|
|
354
|
+
"unique": true
|
|
355
|
+
},
|
|
356
|
+
"title": {
|
|
357
|
+
"selector": "h1, h2, h3, h4, h5, h6",
|
|
358
|
+
"description": "The heading in the dialog, which becomes its name when neither `aria-labelledby` nor `aria-label` is on `<dialog>`.",
|
|
359
|
+
"content": "text",
|
|
360
|
+
"optional": true
|
|
361
|
+
},
|
|
362
|
+
"text": {
|
|
363
|
+
"selector": ".lt-session-timeout__text",
|
|
364
|
+
"description": "The paragraph with the time remaining. The announcement is this paragraph with the number replaced.",
|
|
365
|
+
"content": "text",
|
|
366
|
+
"unique": true
|
|
367
|
+
},
|
|
368
|
+
"count": {
|
|
369
|
+
"selector": ".lt-session-timeout__count",
|
|
370
|
+
"description": "The number that counts down, inside the paragraph. The component fills it.",
|
|
371
|
+
"content": "none",
|
|
372
|
+
"unique": true
|
|
373
|
+
},
|
|
374
|
+
"status": {
|
|
375
|
+
"selector": "[role='status']",
|
|
376
|
+
"description": "The announcement. The element is left empty, and the component fills it.",
|
|
377
|
+
"content": "none"
|
|
378
|
+
},
|
|
379
|
+
"button": {
|
|
380
|
+
"selector": "form[method=\"dialog\" i] button",
|
|
381
|
+
"description": "The buttons in `<form method=\"dialog\">`, which extend the session or log out.",
|
|
382
|
+
"content": "text",
|
|
383
|
+
"multiple": true
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"events": {
|
|
387
|
+
"session-warn": {},
|
|
388
|
+
"session-extend": {},
|
|
389
|
+
"session-logout": {},
|
|
390
|
+
"session-expired": {},
|
|
391
|
+
"session-activity": {}
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"lt-connection-status": {
|
|
395
|
+
"link": "https://lo-tek.sobernetics.no/components/connection-status/",
|
|
396
|
+
"description": "Tells the user when the connection to the server is lost. The app reports with `reportFailure()` and `reportSuccess()`.",
|
|
397
|
+
"attributes": {
|
|
398
|
+
"offline-text": {
|
|
399
|
+
"type": "text",
|
|
400
|
+
"description": "The text when the connection is lost."
|
|
401
|
+
},
|
|
402
|
+
"online-text": {
|
|
403
|
+
"type": "text",
|
|
404
|
+
"description": "The text when it comes back."
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"parts": {},
|
|
408
|
+
"events": {
|
|
409
|
+
"connection-lost": {},
|
|
410
|
+
"connection-restored": {}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"classes": {
|
|
415
|
+
"lt-accordion": {
|
|
416
|
+
"component": "accordion",
|
|
417
|
+
"title": "Accordion",
|
|
418
|
+
"description": "A panel that can be expanded, built on details and summary. CSS component with two classes and no JavaScript.",
|
|
419
|
+
"link": "https://lo-tek.sobernetics.no/components/accordion/",
|
|
420
|
+
"content": "parts",
|
|
421
|
+
"parts": {
|
|
422
|
+
"summary": {
|
|
423
|
+
"selector": "summary",
|
|
424
|
+
"description": "The heading the user presses to open and close. An `<h2>` to `<h6>` inside gives it a level in the document.",
|
|
425
|
+
"content": "free"
|
|
426
|
+
},
|
|
427
|
+
"content": {
|
|
428
|
+
"selector": ".lt-accordion__content",
|
|
429
|
+
"description": "The content shown when the panel is open.",
|
|
430
|
+
"content": "free"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"attributes": {
|
|
434
|
+
"data-variant": {
|
|
435
|
+
"values": [
|
|
436
|
+
"plain"
|
|
437
|
+
],
|
|
438
|
+
"default": "default",
|
|
439
|
+
"description": "Its own frame, or just a line between the panels. Default: `default`."
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"lt-accordion__content": {
|
|
444
|
+
"component": "accordion",
|
|
445
|
+
"title": "Accordion",
|
|
446
|
+
"description": "A panel that can be expanded, built on details and summary. CSS component with two classes and no JavaScript.",
|
|
447
|
+
"link": "https://lo-tek.sobernetics.no/components/accordion/",
|
|
448
|
+
"content": "free",
|
|
449
|
+
"partOf": "lt-accordion",
|
|
450
|
+
"attributes": {}
|
|
451
|
+
},
|
|
452
|
+
"lt-alert": {
|
|
453
|
+
"component": "alert",
|
|
454
|
+
"title": "Alert",
|
|
455
|
+
"description": "A message about the whole page or the whole form. CSS component with two classes and no JavaScript.",
|
|
456
|
+
"link": "https://lo-tek.sobernetics.no/components/alert/",
|
|
457
|
+
"content": "free",
|
|
458
|
+
"parts": {
|
|
459
|
+
"title": {
|
|
460
|
+
"selector": ".lt-alert__title",
|
|
461
|
+
"description": "The heading in the message.",
|
|
462
|
+
"content": "text",
|
|
463
|
+
"optional": true
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"attributes": {
|
|
467
|
+
"data-color": {
|
|
468
|
+
"values": [
|
|
469
|
+
"info",
|
|
470
|
+
"success",
|
|
471
|
+
"warning",
|
|
472
|
+
"danger"
|
|
473
|
+
],
|
|
474
|
+
"description": "What the message means. Left out, it is the neutral one."
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"lt-alert__title": {
|
|
479
|
+
"component": "alert",
|
|
480
|
+
"title": "Alert",
|
|
481
|
+
"description": "A message about the whole page or the whole form. CSS component with two classes and no JavaScript.",
|
|
482
|
+
"link": "https://lo-tek.sobernetics.no/components/alert/",
|
|
483
|
+
"content": "text",
|
|
484
|
+
"partOf": "lt-alert",
|
|
485
|
+
"attributes": {}
|
|
486
|
+
},
|
|
487
|
+
"lt-avatar": {
|
|
488
|
+
"component": "avatar",
|
|
489
|
+
"title": "Avatar",
|
|
490
|
+
"description": "Profile picture or initials. A CSS component with two classes and no JavaScript.",
|
|
491
|
+
"link": "https://lo-tek.sobernetics.no/components/avatar/",
|
|
492
|
+
"content": "free",
|
|
493
|
+
"parts": {
|
|
494
|
+
"image": {
|
|
495
|
+
"selector": "img",
|
|
496
|
+
"description": "The image, with the name in `alt`. Without an image the initials are text, and the element has `aria-hidden` when the name is next to it.",
|
|
497
|
+
"content": "none",
|
|
498
|
+
"optional": true
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"attributes": {
|
|
502
|
+
"data-variant": {
|
|
503
|
+
"values": [
|
|
504
|
+
"square"
|
|
505
|
+
],
|
|
506
|
+
"default": "circle",
|
|
507
|
+
"description": "Round or rounded square. Default: `circle`."
|
|
508
|
+
},
|
|
509
|
+
"data-size": {
|
|
510
|
+
"values": [
|
|
511
|
+
"small",
|
|
512
|
+
"large"
|
|
513
|
+
],
|
|
514
|
+
"default": "medium",
|
|
515
|
+
"description": "Size. Default: `medium`."
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"lt-avatar-stack": {
|
|
520
|
+
"component": "avatar",
|
|
521
|
+
"title": "Avatar",
|
|
522
|
+
"description": "Profile picture or initials. A CSS component with two classes and no JavaScript.",
|
|
523
|
+
"link": "https://lo-tek.sobernetics.no/components/avatar/",
|
|
524
|
+
"content": "parts",
|
|
525
|
+
"parts": {
|
|
526
|
+
"item": {
|
|
527
|
+
"selector": "li",
|
|
528
|
+
"description": "One list item per person.",
|
|
529
|
+
"content": "parts",
|
|
530
|
+
"multiple": true
|
|
531
|
+
},
|
|
532
|
+
"avatar": {
|
|
533
|
+
"selector": "li > .lt-avatar",
|
|
534
|
+
"description": "The avatar in each list item.",
|
|
535
|
+
"content": "free",
|
|
536
|
+
"multiple": true
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"attributes": {}
|
|
540
|
+
},
|
|
541
|
+
"lt-badge": {
|
|
542
|
+
"component": "badge",
|
|
543
|
+
"title": "Badge",
|
|
544
|
+
"description": "Compact status badge. A CSS component with one class and no JavaScript.",
|
|
545
|
+
"link": "https://lo-tek.sobernetics.no/components/badge/",
|
|
546
|
+
"content": "text",
|
|
547
|
+
"attributes": {
|
|
548
|
+
"data-color": {
|
|
549
|
+
"values": [
|
|
550
|
+
"success",
|
|
551
|
+
"warning",
|
|
552
|
+
"danger",
|
|
553
|
+
"neutral"
|
|
554
|
+
],
|
|
555
|
+
"default": "info",
|
|
556
|
+
"description": "What the status means. Default: `info`."
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
"lt-breadcrumbs": {
|
|
561
|
+
"component": "breadcrumbs",
|
|
562
|
+
"title": "Breadcrumbs",
|
|
563
|
+
"description": "A breadcrumb trail that shows where on the site the user is. A CSS component with one class and no JavaScript.",
|
|
564
|
+
"link": "https://lo-tek.sobernetics.no/components/breadcrumbs/",
|
|
565
|
+
"content": "parts",
|
|
566
|
+
"parts": {
|
|
567
|
+
"item": {
|
|
568
|
+
"selector": "li",
|
|
569
|
+
"description": "One step in the trail.",
|
|
570
|
+
"content": "parts",
|
|
571
|
+
"multiple": true
|
|
572
|
+
},
|
|
573
|
+
"link": {
|
|
574
|
+
"selector": "li > a",
|
|
575
|
+
"description": "The link to the step. The last one, the page the reader is on, has `aria-current=\"page\"`.",
|
|
576
|
+
"content": "text",
|
|
577
|
+
"multiple": true
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"attributes": {}
|
|
581
|
+
},
|
|
582
|
+
"lt-button": {
|
|
583
|
+
"component": "button",
|
|
584
|
+
"title": "Button",
|
|
585
|
+
"description": "A button for actions. CSS component with one class and no JavaScript.",
|
|
586
|
+
"link": "https://lo-tek.sobernetics.no/components/button/",
|
|
587
|
+
"content": "text",
|
|
588
|
+
"attributes": {
|
|
589
|
+
"data-variant": {
|
|
590
|
+
"values": [
|
|
591
|
+
"secondary",
|
|
592
|
+
"ghost",
|
|
593
|
+
"danger"
|
|
594
|
+
],
|
|
595
|
+
"default": "primary",
|
|
596
|
+
"description": "How weighty the action is. Default: `primary`."
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"lt-card": {
|
|
601
|
+
"component": "card",
|
|
602
|
+
"title": "Card",
|
|
603
|
+
"description": "A box that groups content that belongs together. A CSS component with two classes and no JavaScript.",
|
|
604
|
+
"link": "https://lo-tek.sobernetics.no/components/card/",
|
|
605
|
+
"content": "free",
|
|
606
|
+
"parts": {
|
|
607
|
+
"title": {
|
|
608
|
+
"selector": ".lt-card__title",
|
|
609
|
+
"description": "The heading in the card.",
|
|
610
|
+
"content": "text",
|
|
611
|
+
"optional": true
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"attributes": {
|
|
615
|
+
"data-variant": {
|
|
616
|
+
"values": [
|
|
617
|
+
"filled"
|
|
618
|
+
],
|
|
619
|
+
"default": "outline",
|
|
620
|
+
"description": "Surface or outline. Default: `outline`."
|
|
621
|
+
},
|
|
622
|
+
"data-interactive": {
|
|
623
|
+
"flag": true,
|
|
624
|
+
"description": "The whole card is clickable. Use only on `<a>` or `<button>`."
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"lt-card__title": {
|
|
629
|
+
"component": "card",
|
|
630
|
+
"title": "Card",
|
|
631
|
+
"description": "A box that groups content that belongs together. A CSS component with two classes and no JavaScript.",
|
|
632
|
+
"link": "https://lo-tek.sobernetics.no/components/card/",
|
|
633
|
+
"content": "text",
|
|
634
|
+
"partOf": "lt-card",
|
|
635
|
+
"attributes": {}
|
|
636
|
+
},
|
|
637
|
+
"lt-checkbox": {
|
|
638
|
+
"component": "checkbox",
|
|
639
|
+
"title": "Checkbox",
|
|
640
|
+
"description": "A checkbox for a choice that stands on its own. CSS component with two classes and no JavaScript.",
|
|
641
|
+
"link": "https://lo-tek.sobernetics.no/components/checkbox/",
|
|
642
|
+
"content": "none",
|
|
643
|
+
"attributes": {
|
|
644
|
+
"data-state": {
|
|
645
|
+
"values": [
|
|
646
|
+
"invalid",
|
|
647
|
+
"success"
|
|
648
|
+
],
|
|
649
|
+
"default": "default",
|
|
650
|
+
"description": "Validation state. Default: `default`."
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"lt-checkbox-row": {
|
|
655
|
+
"component": "checkbox",
|
|
656
|
+
"title": "Checkbox",
|
|
657
|
+
"description": "A checkbox for a choice that stands on its own. CSS component with two classes and no JavaScript.",
|
|
658
|
+
"link": "https://lo-tek.sobernetics.no/components/checkbox/",
|
|
659
|
+
"content": "parts",
|
|
660
|
+
"parts": {
|
|
661
|
+
"control": {
|
|
662
|
+
"selector": "input[type='checkbox']",
|
|
663
|
+
"description": "The checkbox, with its class.",
|
|
664
|
+
"content": "none",
|
|
665
|
+
"unique": true
|
|
666
|
+
},
|
|
667
|
+
"label": {
|
|
668
|
+
"selector": "label",
|
|
669
|
+
"description": "The label, wired to the control with `for`.",
|
|
670
|
+
"content": "text"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"attributes": {}
|
|
674
|
+
},
|
|
675
|
+
"lt-divider": {
|
|
676
|
+
"component": "divider",
|
|
677
|
+
"title": "Divider",
|
|
678
|
+
"description": "A line between parts of the content. A CSS component with one class and no JavaScript.",
|
|
679
|
+
"link": "https://lo-tek.sobernetics.no/components/divider/",
|
|
680
|
+
"content": "none",
|
|
681
|
+
"attributes": {
|
|
682
|
+
"data-variant": {
|
|
683
|
+
"values": [
|
|
684
|
+
"subtle",
|
|
685
|
+
"strong"
|
|
686
|
+
],
|
|
687
|
+
"default": "default",
|
|
688
|
+
"description": "How visible the line is. Default: `default`."
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"lt-error-text": {
|
|
693
|
+
"component": "error-text",
|
|
694
|
+
"title": "Error Text",
|
|
695
|
+
"description": "Error message below a form field. A CSS component with one class and no JavaScript.",
|
|
696
|
+
"link": "https://lo-tek.sobernetics.no/components/error-text/",
|
|
697
|
+
"content": "text",
|
|
698
|
+
"attributes": {
|
|
699
|
+
"data-variant": {
|
|
700
|
+
"values": [
|
|
701
|
+
"warning"
|
|
702
|
+
],
|
|
703
|
+
"default": "error",
|
|
704
|
+
"description": "Whether the error stops submission or only warns. Default: `error`."
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
"lt-fieldset": {
|
|
709
|
+
"component": "fieldset",
|
|
710
|
+
"title": "Fieldset",
|
|
711
|
+
"description": "A group of controls with a shared label. CSS component with two classes and no JavaScript.",
|
|
712
|
+
"link": "https://lo-tek.sobernetics.no/components/fieldset/",
|
|
713
|
+
"content": "free",
|
|
714
|
+
"parts": {
|
|
715
|
+
"legend": {
|
|
716
|
+
"selector": "> .lt-legend",
|
|
717
|
+
"description": "The label of the group, a `<legend>` with the class.",
|
|
718
|
+
"content": "text",
|
|
719
|
+
"unique": true
|
|
720
|
+
},
|
|
721
|
+
"help": {
|
|
722
|
+
"selector": ".lt-help-text",
|
|
723
|
+
"description": "The help text of the group, wired with `aria-describedby` on the fieldset.",
|
|
724
|
+
"content": "text",
|
|
725
|
+
"optional": true
|
|
726
|
+
},
|
|
727
|
+
"error": {
|
|
728
|
+
"selector": ".lt-error-text",
|
|
729
|
+
"description": "The error text of the group, wired with `aria-describedby` on the fieldset.",
|
|
730
|
+
"content": "text",
|
|
731
|
+
"optional": true
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"attributes": {
|
|
735
|
+
"data-state": {
|
|
736
|
+
"values": [
|
|
737
|
+
"invalid",
|
|
738
|
+
"success"
|
|
739
|
+
],
|
|
740
|
+
"default": "default",
|
|
741
|
+
"description": "Validation state for the whole group. Default: `default`."
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
"lt-legend": {
|
|
746
|
+
"component": "fieldset",
|
|
747
|
+
"title": "Fieldset",
|
|
748
|
+
"description": "A group of controls with a shared label. CSS component with two classes and no JavaScript.",
|
|
749
|
+
"link": "https://lo-tek.sobernetics.no/components/fieldset/",
|
|
750
|
+
"content": "text",
|
|
751
|
+
"partOf": "lt-fieldset",
|
|
752
|
+
"attributes": {
|
|
753
|
+
"data-required": {
|
|
754
|
+
"values": [
|
|
755
|
+
"symbol",
|
|
756
|
+
"text"
|
|
757
|
+
],
|
|
758
|
+
"description": "Marks the group as required, with an asterisk or with the word \"(required)\"."
|
|
759
|
+
},
|
|
760
|
+
"data-optional": {
|
|
761
|
+
"flag": true,
|
|
762
|
+
"description": "Marks the group as optional. Choose one of `required` and `optional`."
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"lt-file-upload": {
|
|
767
|
+
"component": "file-upload",
|
|
768
|
+
"title": "File Upload",
|
|
769
|
+
"description": "A field for uploading files. A CSS component with two classes and no JavaScript.",
|
|
770
|
+
"link": "https://lo-tek.sobernetics.no/components/file-upload/",
|
|
771
|
+
"content": "none",
|
|
772
|
+
"attributes": {
|
|
773
|
+
"data-state": {
|
|
774
|
+
"values": [
|
|
775
|
+
"invalid",
|
|
776
|
+
"success"
|
|
777
|
+
],
|
|
778
|
+
"default": "default",
|
|
779
|
+
"description": "Validation state. Default: `default`."
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"lt-file-upload-list": {
|
|
784
|
+
"component": "file-upload",
|
|
785
|
+
"title": "File Upload",
|
|
786
|
+
"description": "A field for uploading files. A CSS component with two classes and no JavaScript.",
|
|
787
|
+
"link": "https://lo-tek.sobernetics.no/components/file-upload/",
|
|
788
|
+
"content": "parts",
|
|
789
|
+
"parts": {
|
|
790
|
+
"item": {
|
|
791
|
+
"selector": "li",
|
|
792
|
+
"description": "One chosen file, with its name.",
|
|
793
|
+
"content": "free",
|
|
794
|
+
"multiple": true
|
|
795
|
+
},
|
|
796
|
+
"remove": {
|
|
797
|
+
"selector": "li > button",
|
|
798
|
+
"description": "The button that removes the file, with the file name in its text.",
|
|
799
|
+
"content": "text",
|
|
800
|
+
"multiple": true,
|
|
801
|
+
"optional": true
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
"attributes": {}
|
|
805
|
+
},
|
|
806
|
+
"lt-heading": {
|
|
807
|
+
"component": "heading",
|
|
808
|
+
"title": "Heading",
|
|
809
|
+
"description": "Headings in six sizes, independent of level. A CSS component with one class and no JavaScript.",
|
|
810
|
+
"link": "https://lo-tek.sobernetics.no/components/heading/",
|
|
811
|
+
"content": "text",
|
|
812
|
+
"attributes": {
|
|
813
|
+
"data-size": {
|
|
814
|
+
"values": [
|
|
815
|
+
"xs",
|
|
816
|
+
"s",
|
|
817
|
+
"m",
|
|
818
|
+
"xl",
|
|
819
|
+
"mega"
|
|
820
|
+
],
|
|
821
|
+
"default": "l",
|
|
822
|
+
"description": "Visual size. Default: `l`."
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"lt-help-text": {
|
|
827
|
+
"component": "help-text",
|
|
828
|
+
"title": "Help Text",
|
|
829
|
+
"description": "Explanatory text below a form field. A CSS component with one class and no JavaScript.",
|
|
830
|
+
"link": "https://lo-tek.sobernetics.no/components/help-text/",
|
|
831
|
+
"content": "text",
|
|
832
|
+
"attributes": {
|
|
833
|
+
"data-variant": {
|
|
834
|
+
"values": [
|
|
835
|
+
"strong",
|
|
836
|
+
"success",
|
|
837
|
+
"warning"
|
|
838
|
+
],
|
|
839
|
+
"default": "muted",
|
|
840
|
+
"description": "How loudly the text should speak. Default: `muted`."
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"lt-icon": {
|
|
845
|
+
"component": "icon",
|
|
846
|
+
"title": "Icon",
|
|
847
|
+
"description": "An icon from the app's own set, as large as the text around it. A CSS component with one class and no JavaScript.",
|
|
848
|
+
"link": "https://lo-tek.sobernetics.no/components/icon/",
|
|
849
|
+
"content": "none",
|
|
850
|
+
"attributes": {}
|
|
851
|
+
},
|
|
852
|
+
"lt-input": {
|
|
853
|
+
"component": "input",
|
|
854
|
+
"title": "Input",
|
|
855
|
+
"description": "A text field for forms, with states for valid and invalid. CSS component.",
|
|
856
|
+
"link": "https://lo-tek.sobernetics.no/components/input/",
|
|
857
|
+
"content": "none",
|
|
858
|
+
"attributes": {
|
|
859
|
+
"data-state": {
|
|
860
|
+
"values": [
|
|
861
|
+
"invalid",
|
|
862
|
+
"success"
|
|
863
|
+
],
|
|
864
|
+
"default": "default",
|
|
865
|
+
"description": "Validation state. Default: `default`."
|
|
866
|
+
},
|
|
867
|
+
"data-variant": {
|
|
868
|
+
"values": [
|
|
869
|
+
"date",
|
|
870
|
+
"datetime-local",
|
|
871
|
+
"time"
|
|
872
|
+
]
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"lt-label": {
|
|
877
|
+
"component": "label",
|
|
878
|
+
"title": "Label",
|
|
879
|
+
"description": "A label for form fields, with marking of required and optional. A CSS component.",
|
|
880
|
+
"link": "https://lo-tek.sobernetics.no/components/label/",
|
|
881
|
+
"content": "text",
|
|
882
|
+
"attributes": {
|
|
883
|
+
"data-required": {
|
|
884
|
+
"values": [
|
|
885
|
+
"symbol",
|
|
886
|
+
"text"
|
|
887
|
+
],
|
|
888
|
+
"description": "Marks the label as required."
|
|
889
|
+
},
|
|
890
|
+
"data-optional": {
|
|
891
|
+
"flag": true,
|
|
892
|
+
"description": "Marks the label as optional."
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"lt-link": {
|
|
897
|
+
"component": "link",
|
|
898
|
+
"title": "Link",
|
|
899
|
+
"description": "Link style for navigation in running text. A CSS component with one class and no JavaScript.",
|
|
900
|
+
"link": "https://lo-tek.sobernetics.no/components/link/",
|
|
901
|
+
"content": "text",
|
|
902
|
+
"attributes": {}
|
|
903
|
+
},
|
|
904
|
+
"lt-list": {
|
|
905
|
+
"component": "list",
|
|
906
|
+
"title": "List",
|
|
907
|
+
"description": "Bulleted lists, numbered lists and lists without bullets. A CSS component with one class and no JavaScript.",
|
|
908
|
+
"link": "https://lo-tek.sobernetics.no/components/list/",
|
|
909
|
+
"content": "parts",
|
|
910
|
+
"parts": {
|
|
911
|
+
"item": {
|
|
912
|
+
"selector": "li",
|
|
913
|
+
"description": "One item in the list.",
|
|
914
|
+
"content": "free",
|
|
915
|
+
"multiple": true
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"attributes": {
|
|
919
|
+
"data-variant": {
|
|
920
|
+
"values": [
|
|
921
|
+
"plain",
|
|
922
|
+
"divided"
|
|
923
|
+
],
|
|
924
|
+
"default": "default",
|
|
925
|
+
"description": "Bullets, plain rows, or rows with a line between them. Default: `default`."
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
"lt-pagination": {
|
|
930
|
+
"component": "pagination",
|
|
931
|
+
"title": "Pagination",
|
|
932
|
+
"description": "Page navigation for long lists. A CSS component with two classes and no JavaScript.",
|
|
933
|
+
"link": "https://lo-tek.sobernetics.no/components/pagination/",
|
|
934
|
+
"content": "parts",
|
|
935
|
+
"parts": {
|
|
936
|
+
"item": {
|
|
937
|
+
"selector": "li",
|
|
938
|
+
"description": "One list item per page, arrow and gap.",
|
|
939
|
+
"content": "parts",
|
|
940
|
+
"multiple": true
|
|
941
|
+
},
|
|
942
|
+
"link": {
|
|
943
|
+
"selector": "li > a, li > button",
|
|
944
|
+
"description": "The link or button to a page, with the page number as text and an `aria-label` that says what it is. The current one has `aria-current=\"page\"`.",
|
|
945
|
+
"content": "text",
|
|
946
|
+
"multiple": true
|
|
947
|
+
},
|
|
948
|
+
"gap": {
|
|
949
|
+
"selector": ".lt-pagination__gap",
|
|
950
|
+
"description": "The gap where pages are left out.",
|
|
951
|
+
"content": "text",
|
|
952
|
+
"multiple": true,
|
|
953
|
+
"optional": true
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
"attributes": {}
|
|
957
|
+
},
|
|
958
|
+
"lt-pagination__gap": {
|
|
959
|
+
"component": "pagination",
|
|
960
|
+
"title": "Pagination",
|
|
961
|
+
"description": "Page navigation for long lists. A CSS component with two classes and no JavaScript.",
|
|
962
|
+
"link": "https://lo-tek.sobernetics.no/components/pagination/",
|
|
963
|
+
"content": "text",
|
|
964
|
+
"partOf": "lt-pagination",
|
|
965
|
+
"attributes": {}
|
|
966
|
+
},
|
|
967
|
+
"lt-paragraph": {
|
|
968
|
+
"component": "paragraph",
|
|
969
|
+
"title": "Paragraph",
|
|
970
|
+
"description": "Body text and lead paragraphs with a limited line length. A CSS component with one class and no JavaScript.",
|
|
971
|
+
"link": "https://lo-tek.sobernetics.no/components/paragraph/",
|
|
972
|
+
"content": "text",
|
|
973
|
+
"attributes": {
|
|
974
|
+
"data-variant": {
|
|
975
|
+
"values": [
|
|
976
|
+
"lead"
|
|
977
|
+
],
|
|
978
|
+
"default": "default",
|
|
979
|
+
"description": "`lead` is the introduction right below the heading. Default: `default`."
|
|
980
|
+
},
|
|
981
|
+
"data-size": {
|
|
982
|
+
"values": [
|
|
983
|
+
"small",
|
|
984
|
+
"large"
|
|
985
|
+
],
|
|
986
|
+
"default": "medium",
|
|
987
|
+
"description": "Text size. Default: `medium`."
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"lt-progress": {
|
|
992
|
+
"component": "progress",
|
|
993
|
+
"title": "Progress",
|
|
994
|
+
"description": "A progress bar for something that has an end. CSS component with one class and no JavaScript.",
|
|
995
|
+
"link": "https://lo-tek.sobernetics.no/components/progress/",
|
|
996
|
+
"content": "none",
|
|
997
|
+
"attributes": {
|
|
998
|
+
"data-color": {
|
|
999
|
+
"values": [
|
|
1000
|
+
"success",
|
|
1001
|
+
"warning",
|
|
1002
|
+
"danger"
|
|
1003
|
+
],
|
|
1004
|
+
"description": "What the number means. The default is the accent colour, meaning \"this is in progress\"."
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
"lt-radio": {
|
|
1009
|
+
"component": "radio",
|
|
1010
|
+
"title": "Radio",
|
|
1011
|
+
"description": "Radio buttons for one choice among several. A CSS component with two classes and no JavaScript.",
|
|
1012
|
+
"link": "https://lo-tek.sobernetics.no/components/radio/",
|
|
1013
|
+
"content": "none",
|
|
1014
|
+
"attributes": {
|
|
1015
|
+
"data-state": {
|
|
1016
|
+
"values": [
|
|
1017
|
+
"invalid",
|
|
1018
|
+
"success"
|
|
1019
|
+
],
|
|
1020
|
+
"default": "default",
|
|
1021
|
+
"description": "Validation state. Default: `default`."
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"lt-radio-row": {
|
|
1026
|
+
"component": "radio",
|
|
1027
|
+
"title": "Radio",
|
|
1028
|
+
"description": "Radio buttons for one choice among several. A CSS component with two classes and no JavaScript.",
|
|
1029
|
+
"link": "https://lo-tek.sobernetics.no/components/radio/",
|
|
1030
|
+
"content": "parts",
|
|
1031
|
+
"parts": {
|
|
1032
|
+
"control": {
|
|
1033
|
+
"selector": "input[type='radio']",
|
|
1034
|
+
"description": "The radio button, with its class.",
|
|
1035
|
+
"content": "none",
|
|
1036
|
+
"unique": true
|
|
1037
|
+
},
|
|
1038
|
+
"label": {
|
|
1039
|
+
"selector": "label",
|
|
1040
|
+
"description": "The label, wired to the control with `for`.",
|
|
1041
|
+
"content": "text"
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"attributes": {}
|
|
1045
|
+
},
|
|
1046
|
+
"lt-search": {
|
|
1047
|
+
"component": "search",
|
|
1048
|
+
"title": "Search",
|
|
1049
|
+
"description": "A search field with a magnifying glass. A CSS component with two classes and no JavaScript.",
|
|
1050
|
+
"link": "https://lo-tek.sobernetics.no/components/search/",
|
|
1051
|
+
"content": "none",
|
|
1052
|
+
"attributes": {
|
|
1053
|
+
"data-state": {
|
|
1054
|
+
"values": [
|
|
1055
|
+
"invalid",
|
|
1056
|
+
"success"
|
|
1057
|
+
],
|
|
1058
|
+
"default": "default",
|
|
1059
|
+
"description": "Validation state. Default: `default`."
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"lt-search-row": {
|
|
1064
|
+
"component": "search",
|
|
1065
|
+
"title": "Search",
|
|
1066
|
+
"description": "A search field with a magnifying glass. A CSS component with two classes and no JavaScript.",
|
|
1067
|
+
"link": "https://lo-tek.sobernetics.no/components/search/",
|
|
1068
|
+
"content": "parts",
|
|
1069
|
+
"parts": {
|
|
1070
|
+
"label": {
|
|
1071
|
+
"selector": "label",
|
|
1072
|
+
"description": "The label, wired with `for`. Often hidden with `lt-sr-only`.",
|
|
1073
|
+
"content": "text"
|
|
1074
|
+
},
|
|
1075
|
+
"control": {
|
|
1076
|
+
"selector": "input[type='search']",
|
|
1077
|
+
"description": "The search field, with the classes `lt-input lt-search`.",
|
|
1078
|
+
"content": "none",
|
|
1079
|
+
"unique": true
|
|
1080
|
+
},
|
|
1081
|
+
"button": {
|
|
1082
|
+
"selector": "button",
|
|
1083
|
+
"description": "The search button.",
|
|
1084
|
+
"content": "text",
|
|
1085
|
+
"optional": true
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"attributes": {}
|
|
1089
|
+
},
|
|
1090
|
+
"lt-select": {
|
|
1091
|
+
"component": "select",
|
|
1092
|
+
"title": "Select",
|
|
1093
|
+
"description": "A dropdown list. CSS component with one class and no JavaScript.",
|
|
1094
|
+
"link": "https://lo-tek.sobernetics.no/components/select/",
|
|
1095
|
+
"content": "none",
|
|
1096
|
+
"attributes": {
|
|
1097
|
+
"data-state": {
|
|
1098
|
+
"values": [
|
|
1099
|
+
"invalid",
|
|
1100
|
+
"success"
|
|
1101
|
+
],
|
|
1102
|
+
"default": "default",
|
|
1103
|
+
"description": "Validation state. Default: `default`."
|
|
1104
|
+
},
|
|
1105
|
+
"data-picker": {
|
|
1106
|
+
"values": [
|
|
1107
|
+
"styled"
|
|
1108
|
+
],
|
|
1109
|
+
"default": "auto",
|
|
1110
|
+
"description": "Who draws the dropdown list. Default: `auto`."
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
"lt-skeleton": {
|
|
1115
|
+
"component": "skeleton",
|
|
1116
|
+
"title": "Skeleton",
|
|
1117
|
+
"description": "A placeholder that shows the shape of content being loaded. A CSS component with one class and no JavaScript.",
|
|
1118
|
+
"link": "https://lo-tek.sobernetics.no/components/skeleton/",
|
|
1119
|
+
"content": "none",
|
|
1120
|
+
"attributes": {
|
|
1121
|
+
"data-variant": {
|
|
1122
|
+
"values": [
|
|
1123
|
+
"text",
|
|
1124
|
+
"circle"
|
|
1125
|
+
],
|
|
1126
|
+
"default": "block",
|
|
1127
|
+
"description": "Shape. Default: `block`."
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
},
|
|
1131
|
+
"lt-skip-link": {
|
|
1132
|
+
"component": "skip-link",
|
|
1133
|
+
"title": "Skip Link",
|
|
1134
|
+
"description": "A link that skips past the menu to the main content. A CSS component with one class and no JavaScript.",
|
|
1135
|
+
"link": "https://lo-tek.sobernetics.no/components/skip-link/",
|
|
1136
|
+
"content": "text",
|
|
1137
|
+
"attributes": {}
|
|
1138
|
+
},
|
|
1139
|
+
"lt-spinner": {
|
|
1140
|
+
"component": "spinner",
|
|
1141
|
+
"title": "Spinner",
|
|
1142
|
+
"description": "A wait indicator for something in progress. CSS component with one class and no JavaScript.",
|
|
1143
|
+
"link": "https://lo-tek.sobernetics.no/components/spinner/",
|
|
1144
|
+
"content": "none",
|
|
1145
|
+
"attributes": {
|
|
1146
|
+
"data-size": {
|
|
1147
|
+
"values": [
|
|
1148
|
+
"small",
|
|
1149
|
+
"large"
|
|
1150
|
+
],
|
|
1151
|
+
"default": "medium",
|
|
1152
|
+
"description": "Size. Default: `medium`."
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"lt-sr-only": {
|
|
1157
|
+
"component": "sr-only",
|
|
1158
|
+
"title": "Sr Only",
|
|
1159
|
+
"description": "Text only screen readers get. A CSS component with one class and no JavaScript.",
|
|
1160
|
+
"link": "https://lo-tek.sobernetics.no/components/sr-only/",
|
|
1161
|
+
"content": "text",
|
|
1162
|
+
"attributes": {}
|
|
1163
|
+
},
|
|
1164
|
+
"lt-switch": {
|
|
1165
|
+
"component": "switch",
|
|
1166
|
+
"title": "Switch",
|
|
1167
|
+
"description": "A switch for a setting that takes effect immediately. CSS component with two classes and no JavaScript.",
|
|
1168
|
+
"link": "https://lo-tek.sobernetics.no/components/switch/",
|
|
1169
|
+
"content": "none",
|
|
1170
|
+
"attributes": {}
|
|
1171
|
+
},
|
|
1172
|
+
"lt-switch-row": {
|
|
1173
|
+
"component": "switch",
|
|
1174
|
+
"title": "Switch",
|
|
1175
|
+
"description": "A switch for a setting that takes effect immediately. CSS component with two classes and no JavaScript.",
|
|
1176
|
+
"link": "https://lo-tek.sobernetics.no/components/switch/",
|
|
1177
|
+
"content": "parts",
|
|
1178
|
+
"parts": {
|
|
1179
|
+
"control": {
|
|
1180
|
+
"selector": "input[role='switch']",
|
|
1181
|
+
"description": "The switch, with its class.",
|
|
1182
|
+
"content": "none",
|
|
1183
|
+
"unique": true
|
|
1184
|
+
},
|
|
1185
|
+
"label": {
|
|
1186
|
+
"selector": "label",
|
|
1187
|
+
"description": "The label, wired to the control with `for`.",
|
|
1188
|
+
"content": "text"
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
"attributes": {}
|
|
1192
|
+
},
|
|
1193
|
+
"lt-table": {
|
|
1194
|
+
"component": "table",
|
|
1195
|
+
"title": "Table",
|
|
1196
|
+
"description": "A table for data in rows and columns. CSS component with two classes and no JavaScript.",
|
|
1197
|
+
"link": "https://lo-tek.sobernetics.no/components/table/",
|
|
1198
|
+
"content": "parts",
|
|
1199
|
+
"parts": {
|
|
1200
|
+
"caption": {
|
|
1201
|
+
"selector": "> caption",
|
|
1202
|
+
"description": "The name of the table.",
|
|
1203
|
+
"content": "text",
|
|
1204
|
+
"unique": true,
|
|
1205
|
+
"optional": true
|
|
1206
|
+
},
|
|
1207
|
+
"head": {
|
|
1208
|
+
"selector": "> thead",
|
|
1209
|
+
"description": "The header row, with a `<th scope=\"col\">` per column.",
|
|
1210
|
+
"content": "free",
|
|
1211
|
+
"unique": true
|
|
1212
|
+
},
|
|
1213
|
+
"body": {
|
|
1214
|
+
"selector": "tbody",
|
|
1215
|
+
"description": "The rows, in one or more groups. A `<th scope=\"row\">` first in the row gives the row a name.",
|
|
1216
|
+
"content": "free",
|
|
1217
|
+
"multiple": true
|
|
1218
|
+
},
|
|
1219
|
+
"sort": {
|
|
1220
|
+
"selector": "th > .lt-table__sort",
|
|
1221
|
+
"description": "The button in a sortable header. `aria-sort` on the cell says which way.",
|
|
1222
|
+
"content": "text",
|
|
1223
|
+
"multiple": true,
|
|
1224
|
+
"optional": true
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
"attributes": {
|
|
1228
|
+
"data-variant": {
|
|
1229
|
+
"values": [
|
|
1230
|
+
"striped"
|
|
1231
|
+
],
|
|
1232
|
+
"default": "default",
|
|
1233
|
+
"description": "Every other row on a muted surface. Default: `default`."
|
|
1234
|
+
},
|
|
1235
|
+
"data-hoverable": {
|
|
1236
|
+
"flag": true,
|
|
1237
|
+
"description": "Highlights the row under the mouse. Use only when rows can be pressed."
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
},
|
|
1241
|
+
"lt-table__sort": {
|
|
1242
|
+
"component": "table",
|
|
1243
|
+
"title": "Table",
|
|
1244
|
+
"description": "A table for data in rows and columns. CSS component with two classes and no JavaScript.",
|
|
1245
|
+
"link": "https://lo-tek.sobernetics.no/components/table/",
|
|
1246
|
+
"content": "text",
|
|
1247
|
+
"partOf": "lt-table",
|
|
1248
|
+
"attributes": {}
|
|
1249
|
+
},
|
|
1250
|
+
"lt-table-scroll": {
|
|
1251
|
+
"component": "table",
|
|
1252
|
+
"title": "Table",
|
|
1253
|
+
"description": "A table for data in rows and columns. CSS component with two classes and no JavaScript.",
|
|
1254
|
+
"link": "https://lo-tek.sobernetics.no/components/table/",
|
|
1255
|
+
"content": "parts",
|
|
1256
|
+
"parts": {
|
|
1257
|
+
"table": {
|
|
1258
|
+
"selector": ".lt-table",
|
|
1259
|
+
"description": "The table that can be scrolled sideways.",
|
|
1260
|
+
"content": "free"
|
|
1261
|
+
}
|
|
1262
|
+
},
|
|
1263
|
+
"attributes": {}
|
|
1264
|
+
},
|
|
1265
|
+
"lt-tag": {
|
|
1266
|
+
"component": "tag",
|
|
1267
|
+
"title": "Tag",
|
|
1268
|
+
"description": "A tag for topics and filters. A CSS component with one class and no JavaScript.",
|
|
1269
|
+
"link": "https://lo-tek.sobernetics.no/components/tag/",
|
|
1270
|
+
"content": "text",
|
|
1271
|
+
"attributes": {
|
|
1272
|
+
"data-variant": {
|
|
1273
|
+
"values": [
|
|
1274
|
+
"filled"
|
|
1275
|
+
],
|
|
1276
|
+
"default": "outline",
|
|
1277
|
+
"description": "Outline or muted surface. Default: `outline`."
|
|
1278
|
+
},
|
|
1279
|
+
"data-selectable": {
|
|
1280
|
+
"flag": true,
|
|
1281
|
+
"description": "The tag can be toggled on and off. Use only on a `<button>`."
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
"lt-textarea": {
|
|
1286
|
+
"component": "textarea",
|
|
1287
|
+
"title": "Textarea",
|
|
1288
|
+
"description": "A multi-line text field. A CSS component with one class and no JavaScript.",
|
|
1289
|
+
"link": "https://lo-tek.sobernetics.no/components/textarea/",
|
|
1290
|
+
"content": "none",
|
|
1291
|
+
"attributes": {
|
|
1292
|
+
"data-state": {
|
|
1293
|
+
"values": [
|
|
1294
|
+
"invalid",
|
|
1295
|
+
"success"
|
|
1296
|
+
],
|
|
1297
|
+
"default": "default",
|
|
1298
|
+
"description": "Validation state. Default: `default`."
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
"lt-toggle-group": {
|
|
1303
|
+
"component": "toggle-group",
|
|
1304
|
+
"title": "Toggle Group",
|
|
1305
|
+
"description": "A group where one option is selected at a time. A CSS component with two classes and no JavaScript.",
|
|
1306
|
+
"link": "https://lo-tek.sobernetics.no/components/toggle-group/",
|
|
1307
|
+
"content": "parts",
|
|
1308
|
+
"parts": {
|
|
1309
|
+
"legend": {
|
|
1310
|
+
"selector": "> legend",
|
|
1311
|
+
"description": "What the options choose between. Can be hidden with `lt-sr-only`, but must be there.",
|
|
1312
|
+
"content": "text",
|
|
1313
|
+
"unique": true
|
|
1314
|
+
},
|
|
1315
|
+
"option": {
|
|
1316
|
+
"selector": ".lt-toggle-group__option",
|
|
1317
|
+
"description": "One option: a `<label>` with the radio button and the text.",
|
|
1318
|
+
"content": "free",
|
|
1319
|
+
"multiple": true
|
|
1320
|
+
},
|
|
1321
|
+
"radio": {
|
|
1322
|
+
"selector": ".lt-toggle-group__option > input[type='radio']",
|
|
1323
|
+
"description": "The radio button in each option, with the same `name`.",
|
|
1324
|
+
"content": "none",
|
|
1325
|
+
"multiple": true
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
"attributes": {}
|
|
1329
|
+
},
|
|
1330
|
+
"lt-toggle-group__option": {
|
|
1331
|
+
"component": "toggle-group",
|
|
1332
|
+
"title": "Toggle Group",
|
|
1333
|
+
"description": "A group where one option is selected at a time. A CSS component with two classes and no JavaScript.",
|
|
1334
|
+
"link": "https://lo-tek.sobernetics.no/components/toggle-group/",
|
|
1335
|
+
"content": "free",
|
|
1336
|
+
"partOf": "lt-toggle-group",
|
|
1337
|
+
"attributes": {}
|
|
1338
|
+
},
|
|
1339
|
+
"lt-tooltip": {
|
|
1340
|
+
"component": "tooltip",
|
|
1341
|
+
"title": "Tooltip",
|
|
1342
|
+
"description": "A small help text shown on hover and focus. CSS component with two classes and no JavaScript.",
|
|
1343
|
+
"link": "https://lo-tek.sobernetics.no/components/tooltip/",
|
|
1344
|
+
"content": "parts",
|
|
1345
|
+
"parts": {
|
|
1346
|
+
"trigger": {
|
|
1347
|
+
"selector": "[aria-describedby]",
|
|
1348
|
+
"description": "The element the bubble describes, with `aria-describedby` pointing at the bubble's id.",
|
|
1349
|
+
"content": "text"
|
|
1350
|
+
},
|
|
1351
|
+
"bubble": {
|
|
1352
|
+
"selector": ".lt-tooltip__bubble",
|
|
1353
|
+
"description": "The bubble, with `role=\"tooltip\"` and the id.",
|
|
1354
|
+
"content": "text"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"attributes": {}
|
|
1358
|
+
},
|
|
1359
|
+
"lt-tooltip__bubble": {
|
|
1360
|
+
"component": "tooltip",
|
|
1361
|
+
"title": "Tooltip",
|
|
1362
|
+
"description": "A small help text shown on hover and focus. CSS component with two classes and no JavaScript.",
|
|
1363
|
+
"link": "https://lo-tek.sobernetics.no/components/tooltip/",
|
|
1364
|
+
"content": "text",
|
|
1365
|
+
"partOf": "lt-tooltip",
|
|
1366
|
+
"attributes": {}
|
|
1367
|
+
},
|
|
1368
|
+
"lt-dialog": {
|
|
1369
|
+
"component": "dialog",
|
|
1370
|
+
"title": "Dialog",
|
|
1371
|
+
"description": "Modal dialog built on the native dialog element. Six classes and no JavaScript, with an optional component for servers that cannot call showModal().",
|
|
1372
|
+
"link": "https://lo-tek.sobernetics.no/components/dialog/",
|
|
1373
|
+
"content": "free",
|
|
1374
|
+
"parts": {
|
|
1375
|
+
"header": {
|
|
1376
|
+
"selector": ".lt-dialog__header",
|
|
1377
|
+
"description": "The header, with the heading and the subtitle. `data-color` on the dialog colours it.",
|
|
1378
|
+
"content": "parts",
|
|
1379
|
+
"optional": true
|
|
1380
|
+
},
|
|
1381
|
+
"title": {
|
|
1382
|
+
"selector": ".lt-dialog__title",
|
|
1383
|
+
"description": "The heading, which `aria-labelledby` points to.",
|
|
1384
|
+
"content": "text",
|
|
1385
|
+
"optional": true
|
|
1386
|
+
},
|
|
1387
|
+
"subtitle": {
|
|
1388
|
+
"selector": ".lt-dialog__subtitle",
|
|
1389
|
+
"description": "The line below the heading, inside the header.",
|
|
1390
|
+
"content": "text",
|
|
1391
|
+
"optional": true
|
|
1392
|
+
},
|
|
1393
|
+
"body": {
|
|
1394
|
+
"selector": ".lt-dialog__body",
|
|
1395
|
+
"description": "The content, which scrolls when the dialog gets too tall. Must be a direct child.",
|
|
1396
|
+
"content": "free",
|
|
1397
|
+
"optional": true
|
|
1398
|
+
},
|
|
1399
|
+
"footer": {
|
|
1400
|
+
"selector": ".lt-dialog__footer",
|
|
1401
|
+
"description": "The row of buttons at the bottom, often a `<form method=\"dialog\">`.",
|
|
1402
|
+
"content": "free",
|
|
1403
|
+
"optional": true
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
"attributes": {
|
|
1407
|
+
"data-color": {
|
|
1408
|
+
"values": [
|
|
1409
|
+
"brand",
|
|
1410
|
+
"info",
|
|
1411
|
+
"success",
|
|
1412
|
+
"warning",
|
|
1413
|
+
"danger"
|
|
1414
|
+
],
|
|
1415
|
+
"default": "neutral",
|
|
1416
|
+
"description": "Colour of the header. Default: none."
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
"lt-dialog__body": {
|
|
1421
|
+
"component": "dialog",
|
|
1422
|
+
"title": "Dialog",
|
|
1423
|
+
"description": "Modal dialog built on the native dialog element. Six classes and no JavaScript, with an optional component for servers that cannot call showModal().",
|
|
1424
|
+
"link": "https://lo-tek.sobernetics.no/components/dialog/",
|
|
1425
|
+
"content": "free",
|
|
1426
|
+
"partOf": "lt-dialog",
|
|
1427
|
+
"attributes": {}
|
|
1428
|
+
},
|
|
1429
|
+
"lt-dialog__title": {
|
|
1430
|
+
"component": "dialog",
|
|
1431
|
+
"title": "Dialog",
|
|
1432
|
+
"description": "Modal dialog built on the native dialog element. Six classes and no JavaScript, with an optional component for servers that cannot call showModal().",
|
|
1433
|
+
"link": "https://lo-tek.sobernetics.no/components/dialog/",
|
|
1434
|
+
"content": "text",
|
|
1435
|
+
"partOf": "lt-dialog",
|
|
1436
|
+
"attributes": {}
|
|
1437
|
+
},
|
|
1438
|
+
"lt-dialog__footer": {
|
|
1439
|
+
"component": "dialog",
|
|
1440
|
+
"title": "Dialog",
|
|
1441
|
+
"description": "Modal dialog built on the native dialog element. Six classes and no JavaScript, with an optional component for servers that cannot call showModal().",
|
|
1442
|
+
"link": "https://lo-tek.sobernetics.no/components/dialog/",
|
|
1443
|
+
"content": "free",
|
|
1444
|
+
"partOf": "lt-dialog",
|
|
1445
|
+
"attributes": {}
|
|
1446
|
+
},
|
|
1447
|
+
"lt-dialog__header": {
|
|
1448
|
+
"component": "dialog",
|
|
1449
|
+
"title": "Dialog",
|
|
1450
|
+
"description": "Modal dialog built on the native dialog element. Six classes and no JavaScript, with an optional component for servers that cannot call showModal().",
|
|
1451
|
+
"link": "https://lo-tek.sobernetics.no/components/dialog/",
|
|
1452
|
+
"content": "parts",
|
|
1453
|
+
"partOf": "lt-dialog",
|
|
1454
|
+
"parts": {
|
|
1455
|
+
"title": {
|
|
1456
|
+
"selector": ".lt-dialog__title",
|
|
1457
|
+
"description": "The heading.",
|
|
1458
|
+
"content": "text"
|
|
1459
|
+
},
|
|
1460
|
+
"subtitle": {
|
|
1461
|
+
"selector": ".lt-dialog__subtitle",
|
|
1462
|
+
"description": "The line below the heading.",
|
|
1463
|
+
"content": "text",
|
|
1464
|
+
"optional": true
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
"attributes": {}
|
|
1468
|
+
},
|
|
1469
|
+
"lt-dialog__subtitle": {
|
|
1470
|
+
"component": "dialog",
|
|
1471
|
+
"title": "Dialog",
|
|
1472
|
+
"description": "Modal dialog built on the native dialog element. Six classes and no JavaScript, with an optional component for servers that cannot call showModal().",
|
|
1473
|
+
"link": "https://lo-tek.sobernetics.no/components/dialog/",
|
|
1474
|
+
"content": "text",
|
|
1475
|
+
"partOf": "lt-dialog",
|
|
1476
|
+
"attributes": {}
|
|
1477
|
+
},
|
|
1478
|
+
"lt-error-summary": {
|
|
1479
|
+
"component": "error-summary",
|
|
1480
|
+
"title": "Error Summary",
|
|
1481
|
+
"description": "Collects the errors in a form and takes the user to the field that failed. Frame component.",
|
|
1482
|
+
"link": "https://lo-tek.sobernetics.no/components/error-summary/",
|
|
1483
|
+
"content": "parts",
|
|
1484
|
+
"parts": {
|
|
1485
|
+
"title": {
|
|
1486
|
+
"selector": ".lt-error-summary__title",
|
|
1487
|
+
"description": "The heading, which says how many errors the form has.",
|
|
1488
|
+
"content": "text"
|
|
1489
|
+
},
|
|
1490
|
+
"list": {
|
|
1491
|
+
"selector": "ul",
|
|
1492
|
+
"description": "The list with one link per error.",
|
|
1493
|
+
"content": "parts"
|
|
1494
|
+
},
|
|
1495
|
+
"link": {
|
|
1496
|
+
"selector": "li a[href^='#']",
|
|
1497
|
+
"description": "The link to a field with an error, with the error message as text and the field's id after `#`.",
|
|
1498
|
+
"content": "text",
|
|
1499
|
+
"multiple": true
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
"attributes": {}
|
|
1503
|
+
},
|
|
1504
|
+
"lt-error-summary__title": {
|
|
1505
|
+
"component": "error-summary",
|
|
1506
|
+
"title": "Error Summary",
|
|
1507
|
+
"description": "Collects the errors in a form and takes the user to the field that failed. Frame component.",
|
|
1508
|
+
"link": "https://lo-tek.sobernetics.no/components/error-summary/",
|
|
1509
|
+
"content": "text",
|
|
1510
|
+
"partOf": "lt-error-summary",
|
|
1511
|
+
"attributes": {}
|
|
1512
|
+
},
|
|
1513
|
+
"lt-popover": {
|
|
1514
|
+
"component": "popover",
|
|
1515
|
+
"title": "Popover",
|
|
1516
|
+
"description": "Panel that hangs below a button and closes itself. Frame component.",
|
|
1517
|
+
"link": "https://lo-tek.sobernetics.no/components/popover/",
|
|
1518
|
+
"content": "free",
|
|
1519
|
+
"attributes": {}
|
|
1520
|
+
},
|
|
1521
|
+
"lt-session-timeout": {
|
|
1522
|
+
"component": "session-timeout",
|
|
1523
|
+
"title": "Session Timeout",
|
|
1524
|
+
"description": "Warns before a logged-in session expires, and counts down. You write the dialog, the component keeps the time.",
|
|
1525
|
+
"link": "https://lo-tek.sobernetics.no/components/session-timeout/",
|
|
1526
|
+
"content": "parts",
|
|
1527
|
+
"parts": {
|
|
1528
|
+
"dialog": {
|
|
1529
|
+
"selector": ".lt-session-timeout__dialog",
|
|
1530
|
+
"description": "The dialog with the warning, with `role=\"alertdialog\"`.",
|
|
1531
|
+
"content": "parts"
|
|
1532
|
+
},
|
|
1533
|
+
"title": {
|
|
1534
|
+
"selector": ".lt-session-timeout__title",
|
|
1535
|
+
"description": "The heading in the dialog.",
|
|
1536
|
+
"content": "text",
|
|
1537
|
+
"optional": true
|
|
1538
|
+
},
|
|
1539
|
+
"text": {
|
|
1540
|
+
"selector": ".lt-session-timeout__text",
|
|
1541
|
+
"description": "The paragraph with the time remaining.",
|
|
1542
|
+
"content": "text"
|
|
1543
|
+
},
|
|
1544
|
+
"count": {
|
|
1545
|
+
"selector": ".lt-session-timeout__count",
|
|
1546
|
+
"description": "The number that counts down, inside the paragraph. The component fills it.",
|
|
1547
|
+
"content": "none"
|
|
1548
|
+
},
|
|
1549
|
+
"status": {
|
|
1550
|
+
"selector": "[role='status']",
|
|
1551
|
+
"description": "The announcement. Left empty, and the component fills it.",
|
|
1552
|
+
"content": "none"
|
|
1553
|
+
},
|
|
1554
|
+
"actions": {
|
|
1555
|
+
"selector": ".lt-session-timeout__actions",
|
|
1556
|
+
"description": "The button row, a `<form method=\"dialog\">`.",
|
|
1557
|
+
"content": "parts"
|
|
1558
|
+
},
|
|
1559
|
+
"button": {
|
|
1560
|
+
"selector": ".lt-session-timeout__actions button",
|
|
1561
|
+
"description": "The buttons that extend the session or log out.",
|
|
1562
|
+
"content": "text",
|
|
1563
|
+
"multiple": true
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
"attributes": {}
|
|
1567
|
+
},
|
|
1568
|
+
"lt-session-timeout__dialog": {
|
|
1569
|
+
"component": "session-timeout",
|
|
1570
|
+
"title": "Session Timeout",
|
|
1571
|
+
"description": "Warns before a logged-in session expires, and counts down. You write the dialog, the component keeps the time.",
|
|
1572
|
+
"link": "https://lo-tek.sobernetics.no/components/session-timeout/",
|
|
1573
|
+
"content": "parts",
|
|
1574
|
+
"partOf": "lt-session-timeout",
|
|
1575
|
+
"parts": {
|
|
1576
|
+
"title": {
|
|
1577
|
+
"selector": ".lt-session-timeout__title",
|
|
1578
|
+
"description": "The heading.",
|
|
1579
|
+
"content": "text",
|
|
1580
|
+
"optional": true
|
|
1581
|
+
},
|
|
1582
|
+
"text": {
|
|
1583
|
+
"selector": ".lt-session-timeout__text",
|
|
1584
|
+
"description": "The paragraph with the time remaining.",
|
|
1585
|
+
"content": "text"
|
|
1586
|
+
},
|
|
1587
|
+
"count": {
|
|
1588
|
+
"selector": ".lt-session-timeout__count",
|
|
1589
|
+
"description": "The number that counts down, inside the paragraph.",
|
|
1590
|
+
"content": "none"
|
|
1591
|
+
},
|
|
1592
|
+
"status": {
|
|
1593
|
+
"selector": "[role='status']",
|
|
1594
|
+
"description": "The announcement, which the component fills.",
|
|
1595
|
+
"content": "none"
|
|
1596
|
+
},
|
|
1597
|
+
"actions": {
|
|
1598
|
+
"selector": ".lt-session-timeout__actions",
|
|
1599
|
+
"description": "The button row, a `<form method=\"dialog\">`.",
|
|
1600
|
+
"content": "parts"
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
"attributes": {}
|
|
1604
|
+
},
|
|
1605
|
+
"lt-session-timeout__title": {
|
|
1606
|
+
"component": "session-timeout",
|
|
1607
|
+
"title": "Session Timeout",
|
|
1608
|
+
"description": "Warns before a logged-in session expires, and counts down. You write the dialog, the component keeps the time.",
|
|
1609
|
+
"link": "https://lo-tek.sobernetics.no/components/session-timeout/",
|
|
1610
|
+
"content": "text",
|
|
1611
|
+
"partOf": "lt-session-timeout",
|
|
1612
|
+
"attributes": {}
|
|
1613
|
+
},
|
|
1614
|
+
"lt-session-timeout__text": {
|
|
1615
|
+
"component": "session-timeout",
|
|
1616
|
+
"title": "Session Timeout",
|
|
1617
|
+
"description": "Warns before a logged-in session expires, and counts down. You write the dialog, the component keeps the time.",
|
|
1618
|
+
"link": "https://lo-tek.sobernetics.no/components/session-timeout/",
|
|
1619
|
+
"content": "text",
|
|
1620
|
+
"partOf": "lt-session-timeout",
|
|
1621
|
+
"attributes": {}
|
|
1622
|
+
},
|
|
1623
|
+
"lt-session-timeout__count": {
|
|
1624
|
+
"component": "session-timeout",
|
|
1625
|
+
"title": "Session Timeout",
|
|
1626
|
+
"description": "Warns before a logged-in session expires, and counts down. You write the dialog, the component keeps the time.",
|
|
1627
|
+
"link": "https://lo-tek.sobernetics.no/components/session-timeout/",
|
|
1628
|
+
"content": "none",
|
|
1629
|
+
"partOf": "lt-session-timeout",
|
|
1630
|
+
"attributes": {}
|
|
1631
|
+
},
|
|
1632
|
+
"lt-session-timeout__actions": {
|
|
1633
|
+
"component": "session-timeout",
|
|
1634
|
+
"title": "Session Timeout",
|
|
1635
|
+
"description": "Warns before a logged-in session expires, and counts down. You write the dialog, the component keeps the time.",
|
|
1636
|
+
"link": "https://lo-tek.sobernetics.no/components/session-timeout/",
|
|
1637
|
+
"content": "parts",
|
|
1638
|
+
"partOf": "lt-session-timeout",
|
|
1639
|
+
"parts": {
|
|
1640
|
+
"button": {
|
|
1641
|
+
"selector": "button",
|
|
1642
|
+
"description": "The buttons that extend the session or log out.",
|
|
1643
|
+
"content": "text",
|
|
1644
|
+
"multiple": true
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
"attributes": {}
|
|
1648
|
+
},
|
|
1649
|
+
"lt-suggestion__list": {
|
|
1650
|
+
"component": "suggestion",
|
|
1651
|
+
"title": "Suggestion",
|
|
1652
|
+
"description": "Field with a suggestion list that narrows as the user types. Frame component.",
|
|
1653
|
+
"link": "https://lo-tek.sobernetics.no/components/suggestion/",
|
|
1654
|
+
"content": "parts",
|
|
1655
|
+
"parts": {
|
|
1656
|
+
"option": {
|
|
1657
|
+
"selector": "[role='option'], .lt-suggestion__option, > li:not([role])",
|
|
1658
|
+
"description": "One suggestion: the role or the class when they are there, otherwise an `<li>` without a role, which the component gives the class and the role. The list can be empty until the server fills it.",
|
|
1659
|
+
"content": "text",
|
|
1660
|
+
"multiple": true,
|
|
1661
|
+
"optional": true
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
"attributes": {}
|
|
1665
|
+
},
|
|
1666
|
+
"lt-suggestion__option": {
|
|
1667
|
+
"component": "suggestion",
|
|
1668
|
+
"title": "Suggestion",
|
|
1669
|
+
"description": "Field with a suggestion list that narrows as the user types. Frame component.",
|
|
1670
|
+
"link": "https://lo-tek.sobernetics.no/components/suggestion/",
|
|
1671
|
+
"content": "text",
|
|
1672
|
+
"partOf": "lt-suggestion__list",
|
|
1673
|
+
"attributes": {}
|
|
1674
|
+
},
|
|
1675
|
+
"lt-suggestion__value": {
|
|
1676
|
+
"component": "suggestion",
|
|
1677
|
+
"title": "Suggestion",
|
|
1678
|
+
"description": "Field with a suggestion list that narrows as the user types. Frame component.",
|
|
1679
|
+
"link": "https://lo-tek.sobernetics.no/components/suggestion/",
|
|
1680
|
+
"content": "none",
|
|
1681
|
+
"attributes": {}
|
|
1682
|
+
},
|
|
1683
|
+
"lt-suggestion__empty": {
|
|
1684
|
+
"component": "suggestion",
|
|
1685
|
+
"title": "Suggestion",
|
|
1686
|
+
"description": "Field with a suggestion list that narrows as the user types. Frame component.",
|
|
1687
|
+
"link": "https://lo-tek.sobernetics.no/components/suggestion/",
|
|
1688
|
+
"content": "text",
|
|
1689
|
+
"attributes": {}
|
|
1690
|
+
},
|
|
1691
|
+
"lt-tabs__list": {
|
|
1692
|
+
"component": "tabs",
|
|
1693
|
+
"title": "Tabs",
|
|
1694
|
+
"description": "Tab list of links to their panels. Frame component.",
|
|
1695
|
+
"link": "https://lo-tek.sobernetics.no/components/tabs/",
|
|
1696
|
+
"content": "free",
|
|
1697
|
+
"parts": {
|
|
1698
|
+
"tab": {
|
|
1699
|
+
"selector": "a[role='tab'][href^='#'], a[href^='#']:not([role])",
|
|
1700
|
+
"description": "A tab: a link to its panel, such as `<a href=\"#attachments\">`. When the server has written `role=\"tab\"`, only the links with the role are tabs, and the list can hold other links. `role=\"tab\"` on something that is not a link is not a tab.",
|
|
1701
|
+
"content": "text",
|
|
1702
|
+
"multiple": true
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
"attributes": {}
|
|
1706
|
+
},
|
|
1707
|
+
"lt-tabs__panel": {
|
|
1708
|
+
"component": "tabs",
|
|
1709
|
+
"title": "Tabs",
|
|
1710
|
+
"description": "Tab list of links to their panels. Frame component.",
|
|
1711
|
+
"link": "https://lo-tek.sobernetics.no/components/tabs/",
|
|
1712
|
+
"content": "free",
|
|
1713
|
+
"attributes": {}
|
|
1714
|
+
},
|
|
1715
|
+
"lt-connection-status": {
|
|
1716
|
+
"component": "connection-status",
|
|
1717
|
+
"title": "Connection Status",
|
|
1718
|
+
"description": "Tells the user when the connection to the server is gone. Standalone component.",
|
|
1719
|
+
"link": "https://lo-tek.sobernetics.no/components/connection-status/",
|
|
1720
|
+
"content": "none",
|
|
1721
|
+
"attributes": {}
|
|
1722
|
+
},
|
|
1723
|
+
"lt-connection-status__bar": {
|
|
1724
|
+
"component": "connection-status",
|
|
1725
|
+
"title": "Connection Status",
|
|
1726
|
+
"description": "Tells the user when the connection to the server is gone. Standalone component.",
|
|
1727
|
+
"link": "https://lo-tek.sobernetics.no/components/connection-status/",
|
|
1728
|
+
"content": "text",
|
|
1729
|
+
"attributes": {}
|
|
1730
|
+
},
|
|
1731
|
+
"lt-toast": {
|
|
1732
|
+
"component": "toast",
|
|
1733
|
+
"title": "Toast",
|
|
1734
|
+
"description": "A queue of short messages in the corner of the screen. Standalone component.",
|
|
1735
|
+
"link": "https://lo-tek.sobernetics.no/components/toast/",
|
|
1736
|
+
"content": "none",
|
|
1737
|
+
"attributes": {}
|
|
1738
|
+
},
|
|
1739
|
+
"lt-toast__message": {
|
|
1740
|
+
"component": "toast",
|
|
1741
|
+
"title": "Toast",
|
|
1742
|
+
"description": "A queue of short messages in the corner of the screen. Standalone component.",
|
|
1743
|
+
"link": "https://lo-tek.sobernetics.no/components/toast/",
|
|
1744
|
+
"content": "free",
|
|
1745
|
+
"attributes": {}
|
|
1746
|
+
},
|
|
1747
|
+
"lt-toast__close": {
|
|
1748
|
+
"component": "toast",
|
|
1749
|
+
"title": "Toast",
|
|
1750
|
+
"description": "A queue of short messages in the corner of the screen. Standalone component.",
|
|
1751
|
+
"link": "https://lo-tek.sobernetics.no/components/toast/",
|
|
1752
|
+
"content": "text",
|
|
1753
|
+
"attributes": {}
|
|
1754
|
+
},
|
|
1755
|
+
"lt-theme-control": {
|
|
1756
|
+
"component": "customising",
|
|
1757
|
+
"title": "Customising",
|
|
1758
|
+
"description": "Change colours, shape and size in LO-TEK without losing the changes on the next upgrade.",
|
|
1759
|
+
"link": "https://lo-tek.sobernetics.no/customising/",
|
|
1760
|
+
"content": "none",
|
|
1761
|
+
"attributes": {}
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
"builders": [
|
|
1765
|
+
{
|
|
1766
|
+
"name": "accordion",
|
|
1767
|
+
"options": [
|
|
1768
|
+
{
|
|
1769
|
+
"name": "variant",
|
|
1770
|
+
"required": false,
|
|
1771
|
+
"type": {
|
|
1772
|
+
"kind": "values",
|
|
1773
|
+
"values": [
|
|
1774
|
+
"default",
|
|
1775
|
+
"plain"
|
|
1776
|
+
]
|
|
1777
|
+
},
|
|
1778
|
+
"description": "Its own frame, or just a line between the panels. Default: `default`."
|
|
1779
|
+
}
|
|
1780
|
+
],
|
|
1781
|
+
"returns": {
|
|
1782
|
+
"kind": "attributes"
|
|
1783
|
+
},
|
|
1784
|
+
"table": {
|
|
1785
|
+
"kind": "attributes",
|
|
1786
|
+
"table": {
|
|
1787
|
+
"base": {
|
|
1788
|
+
"class": "lt-accordion"
|
|
1789
|
+
},
|
|
1790
|
+
"options": {
|
|
1791
|
+
"variant": {
|
|
1792
|
+
"cases": {
|
|
1793
|
+
"default": {},
|
|
1794
|
+
"plain": {
|
|
1795
|
+
"data-variant": "plain"
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"name": "alert",
|
|
1805
|
+
"options": [
|
|
1806
|
+
{
|
|
1807
|
+
"name": "color",
|
|
1808
|
+
"required": false,
|
|
1809
|
+
"type": {
|
|
1810
|
+
"kind": "values",
|
|
1811
|
+
"values": [
|
|
1812
|
+
"info",
|
|
1813
|
+
"success",
|
|
1814
|
+
"warning",
|
|
1815
|
+
"danger"
|
|
1816
|
+
]
|
|
1817
|
+
},
|
|
1818
|
+
"description": "What the message means. Left out, it is the neutral one."
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"returns": {
|
|
1822
|
+
"kind": "attributes"
|
|
1823
|
+
},
|
|
1824
|
+
"table": {
|
|
1825
|
+
"kind": "attributes",
|
|
1826
|
+
"table": {
|
|
1827
|
+
"base": {
|
|
1828
|
+
"class": "lt-alert"
|
|
1829
|
+
},
|
|
1830
|
+
"options": {
|
|
1831
|
+
"color": {
|
|
1832
|
+
"cases": {
|
|
1833
|
+
"info": {
|
|
1834
|
+
"data-color": "info"
|
|
1835
|
+
},
|
|
1836
|
+
"success": {
|
|
1837
|
+
"data-color": "success"
|
|
1838
|
+
},
|
|
1839
|
+
"warning": {
|
|
1840
|
+
"data-color": "warning"
|
|
1841
|
+
},
|
|
1842
|
+
"danger": {
|
|
1843
|
+
"data-color": "danger"
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"name": "avatar",
|
|
1853
|
+
"options": [
|
|
1854
|
+
{
|
|
1855
|
+
"name": "size",
|
|
1856
|
+
"required": false,
|
|
1857
|
+
"type": {
|
|
1858
|
+
"kind": "values",
|
|
1859
|
+
"values": [
|
|
1860
|
+
"small",
|
|
1861
|
+
"medium",
|
|
1862
|
+
"large"
|
|
1863
|
+
]
|
|
1864
|
+
},
|
|
1865
|
+
"description": "Size. Default: `medium`."
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"name": "variant",
|
|
1869
|
+
"required": false,
|
|
1870
|
+
"type": {
|
|
1871
|
+
"kind": "values",
|
|
1872
|
+
"values": [
|
|
1873
|
+
"circle",
|
|
1874
|
+
"square"
|
|
1875
|
+
]
|
|
1876
|
+
},
|
|
1877
|
+
"description": "Round or rounded square. Default: `circle`."
|
|
1878
|
+
}
|
|
1879
|
+
],
|
|
1880
|
+
"returns": {
|
|
1881
|
+
"kind": "attributes"
|
|
1882
|
+
},
|
|
1883
|
+
"table": {
|
|
1884
|
+
"kind": "attributes",
|
|
1885
|
+
"table": {
|
|
1886
|
+
"base": {
|
|
1887
|
+
"class": "lt-avatar"
|
|
1888
|
+
},
|
|
1889
|
+
"options": {
|
|
1890
|
+
"size": {
|
|
1891
|
+
"cases": {
|
|
1892
|
+
"small": {
|
|
1893
|
+
"data-size": "small"
|
|
1894
|
+
},
|
|
1895
|
+
"medium": {},
|
|
1896
|
+
"large": {
|
|
1897
|
+
"data-size": "large"
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
},
|
|
1901
|
+
"variant": {
|
|
1902
|
+
"cases": {
|
|
1903
|
+
"circle": {},
|
|
1904
|
+
"square": {
|
|
1905
|
+
"data-variant": "square"
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"name": "badge",
|
|
1915
|
+
"options": [
|
|
1916
|
+
{
|
|
1917
|
+
"name": "color",
|
|
1918
|
+
"required": false,
|
|
1919
|
+
"type": {
|
|
1920
|
+
"kind": "values",
|
|
1921
|
+
"values": [
|
|
1922
|
+
"info",
|
|
1923
|
+
"success",
|
|
1924
|
+
"warning",
|
|
1925
|
+
"danger",
|
|
1926
|
+
"neutral"
|
|
1927
|
+
]
|
|
1928
|
+
},
|
|
1929
|
+
"description": "What the status means. Default: `info`."
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
"returns": {
|
|
1933
|
+
"kind": "attributes"
|
|
1934
|
+
},
|
|
1935
|
+
"table": {
|
|
1936
|
+
"kind": "attributes",
|
|
1937
|
+
"table": {
|
|
1938
|
+
"base": {
|
|
1939
|
+
"class": "lt-badge"
|
|
1940
|
+
},
|
|
1941
|
+
"options": {
|
|
1942
|
+
"color": {
|
|
1943
|
+
"cases": {
|
|
1944
|
+
"info": {},
|
|
1945
|
+
"success": {
|
|
1946
|
+
"data-color": "success"
|
|
1947
|
+
},
|
|
1948
|
+
"warning": {
|
|
1949
|
+
"data-color": "warning"
|
|
1950
|
+
},
|
|
1951
|
+
"danger": {
|
|
1952
|
+
"data-color": "danger"
|
|
1953
|
+
},
|
|
1954
|
+
"neutral": {
|
|
1955
|
+
"data-color": "neutral"
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"name": "breadcrumbs",
|
|
1965
|
+
"options": [],
|
|
1966
|
+
"returns": {
|
|
1967
|
+
"kind": "attributes"
|
|
1968
|
+
},
|
|
1969
|
+
"table": {
|
|
1970
|
+
"kind": "attributes",
|
|
1971
|
+
"table": {
|
|
1972
|
+
"base": {
|
|
1973
|
+
"class": "lt-breadcrumbs"
|
|
1974
|
+
},
|
|
1975
|
+
"options": {}
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "button",
|
|
1981
|
+
"options": [
|
|
1982
|
+
{
|
|
1983
|
+
"name": "variant",
|
|
1984
|
+
"required": false,
|
|
1985
|
+
"type": {
|
|
1986
|
+
"kind": "values",
|
|
1987
|
+
"values": [
|
|
1988
|
+
"primary",
|
|
1989
|
+
"secondary",
|
|
1990
|
+
"ghost",
|
|
1991
|
+
"danger"
|
|
1992
|
+
]
|
|
1993
|
+
},
|
|
1994
|
+
"description": "How weighty the action is. Default: `primary`."
|
|
1995
|
+
}
|
|
1996
|
+
],
|
|
1997
|
+
"returns": {
|
|
1998
|
+
"kind": "attributes"
|
|
1999
|
+
},
|
|
2000
|
+
"table": {
|
|
2001
|
+
"kind": "attributes",
|
|
2002
|
+
"table": {
|
|
2003
|
+
"base": {
|
|
2004
|
+
"class": "lt-button"
|
|
2005
|
+
},
|
|
2006
|
+
"options": {
|
|
2007
|
+
"variant": {
|
|
2008
|
+
"cases": {
|
|
2009
|
+
"primary": {},
|
|
2010
|
+
"secondary": {
|
|
2011
|
+
"data-variant": "secondary"
|
|
2012
|
+
},
|
|
2013
|
+
"ghost": {
|
|
2014
|
+
"data-variant": "ghost"
|
|
2015
|
+
},
|
|
2016
|
+
"danger": {
|
|
2017
|
+
"data-variant": "danger"
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"name": "card",
|
|
2027
|
+
"options": [
|
|
2028
|
+
{
|
|
2029
|
+
"name": "variant",
|
|
2030
|
+
"required": false,
|
|
2031
|
+
"type": {
|
|
2032
|
+
"kind": "values",
|
|
2033
|
+
"values": [
|
|
2034
|
+
"outline",
|
|
2035
|
+
"filled"
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2038
|
+
"description": "Surface or outline. Default: `outline`."
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"name": "interactive",
|
|
2042
|
+
"required": false,
|
|
2043
|
+
"type": {
|
|
2044
|
+
"kind": "flag"
|
|
2045
|
+
},
|
|
2046
|
+
"description": "The whole card is clickable. Use only on `<a>` or `<button>`."
|
|
2047
|
+
}
|
|
2048
|
+
],
|
|
2049
|
+
"returns": {
|
|
2050
|
+
"kind": "attributes"
|
|
2051
|
+
},
|
|
2052
|
+
"table": {
|
|
2053
|
+
"kind": "attributes",
|
|
2054
|
+
"table": {
|
|
2055
|
+
"base": {
|
|
2056
|
+
"class": "lt-card"
|
|
2057
|
+
},
|
|
2058
|
+
"options": {
|
|
2059
|
+
"variant": {
|
|
2060
|
+
"cases": {
|
|
2061
|
+
"outline": {},
|
|
2062
|
+
"filled": {
|
|
2063
|
+
"data-variant": "filled"
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
},
|
|
2067
|
+
"interactive": {
|
|
2068
|
+
"cases": {
|
|
2069
|
+
"false": {},
|
|
2070
|
+
"true": {
|
|
2071
|
+
"data-interactive": ""
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"name": "checkbox",
|
|
2081
|
+
"options": [
|
|
2082
|
+
{
|
|
2083
|
+
"name": "state",
|
|
2084
|
+
"required": false,
|
|
2085
|
+
"type": {
|
|
2086
|
+
"kind": "values",
|
|
2087
|
+
"values": [
|
|
2088
|
+
"default",
|
|
2089
|
+
"invalid",
|
|
2090
|
+
"success"
|
|
2091
|
+
]
|
|
2092
|
+
},
|
|
2093
|
+
"description": "Validation state. Default: `default`."
|
|
2094
|
+
}
|
|
2095
|
+
],
|
|
2096
|
+
"returns": {
|
|
2097
|
+
"kind": "attributes"
|
|
2098
|
+
},
|
|
2099
|
+
"table": {
|
|
2100
|
+
"kind": "attributes",
|
|
2101
|
+
"table": {
|
|
2102
|
+
"base": {
|
|
2103
|
+
"class": "lt-checkbox",
|
|
2104
|
+
"type": "checkbox"
|
|
2105
|
+
},
|
|
2106
|
+
"options": {
|
|
2107
|
+
"state": {
|
|
2108
|
+
"cases": {
|
|
2109
|
+
"default": {},
|
|
2110
|
+
"invalid": {
|
|
2111
|
+
"data-state": "invalid",
|
|
2112
|
+
"aria-invalid": "true"
|
|
2113
|
+
},
|
|
2114
|
+
"success": {
|
|
2115
|
+
"data-state": "success"
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"name": "connectionStatus",
|
|
2125
|
+
"options": [
|
|
2126
|
+
{
|
|
2127
|
+
"name": "offlineText",
|
|
2128
|
+
"required": false,
|
|
2129
|
+
"type": {
|
|
2130
|
+
"kind": "text"
|
|
2131
|
+
},
|
|
2132
|
+
"description": "The text when the connection is lost."
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"name": "onlineText",
|
|
2136
|
+
"required": false,
|
|
2137
|
+
"type": {
|
|
2138
|
+
"kind": "text"
|
|
2139
|
+
},
|
|
2140
|
+
"description": "The text when it comes back. Shown for a short while."
|
|
2141
|
+
}
|
|
2142
|
+
],
|
|
2143
|
+
"returns": {
|
|
2144
|
+
"kind": "attributes"
|
|
2145
|
+
},
|
|
2146
|
+
"table": {
|
|
2147
|
+
"kind": "attributes",
|
|
2148
|
+
"table": {
|
|
2149
|
+
"base": {
|
|
2150
|
+
"class": "lt-connection-status",
|
|
2151
|
+
"data-ignore-morph": ""
|
|
2152
|
+
},
|
|
2153
|
+
"options": {
|
|
2154
|
+
"offlineText": {
|
|
2155
|
+
"cases": {},
|
|
2156
|
+
"template": {
|
|
2157
|
+
"offline-text": "{offlineText}"
|
|
2158
|
+
},
|
|
2159
|
+
"empty": {
|
|
2160
|
+
"offline-text": ""
|
|
2161
|
+
}
|
|
2162
|
+
},
|
|
2163
|
+
"onlineText": {
|
|
2164
|
+
"cases": {},
|
|
2165
|
+
"template": {
|
|
2166
|
+
"online-text": "{onlineText}"
|
|
2167
|
+
},
|
|
2168
|
+
"empty": {
|
|
2169
|
+
"online-text": ""
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
"name": "dialog",
|
|
2178
|
+
"options": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "titleId",
|
|
2181
|
+
"required": true,
|
|
2182
|
+
"type": {
|
|
2183
|
+
"kind": "text"
|
|
2184
|
+
},
|
|
2185
|
+
"description": "Id of the heading. The dialog takes its name from it with `aria-labelledby`."
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"name": "open",
|
|
2189
|
+
"required": false,
|
|
2190
|
+
"type": {
|
|
2191
|
+
"kind": "flag"
|
|
2192
|
+
},
|
|
2193
|
+
"description": "The dialog is open. Default: closed."
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"name": "color",
|
|
2197
|
+
"required": false,
|
|
2198
|
+
"type": {
|
|
2199
|
+
"kind": "values",
|
|
2200
|
+
"values": [
|
|
2201
|
+
"neutral",
|
|
2202
|
+
"brand",
|
|
2203
|
+
"info",
|
|
2204
|
+
"success",
|
|
2205
|
+
"warning",
|
|
2206
|
+
"danger"
|
|
2207
|
+
]
|
|
2208
|
+
},
|
|
2209
|
+
"description": "Colour of the header. Default: none."
|
|
2210
|
+
}
|
|
2211
|
+
],
|
|
2212
|
+
"returns": {
|
|
2213
|
+
"kind": "group",
|
|
2214
|
+
"fields": {
|
|
2215
|
+
"host": {
|
|
2216
|
+
"kind": "attributes"
|
|
2217
|
+
},
|
|
2218
|
+
"dialog": {
|
|
2219
|
+
"kind": "attributes"
|
|
2220
|
+
},
|
|
2221
|
+
"header": {
|
|
2222
|
+
"kind": "attributes"
|
|
2223
|
+
},
|
|
2224
|
+
"title": {
|
|
2225
|
+
"kind": "attributes"
|
|
2226
|
+
},
|
|
2227
|
+
"subtitle": {
|
|
2228
|
+
"kind": "attributes"
|
|
2229
|
+
},
|
|
2230
|
+
"body": {
|
|
2231
|
+
"kind": "attributes"
|
|
2232
|
+
},
|
|
2233
|
+
"footer": {
|
|
2234
|
+
"kind": "attributes"
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
"table": {
|
|
2239
|
+
"kind": "group",
|
|
2240
|
+
"fields": {
|
|
2241
|
+
"host": {
|
|
2242
|
+
"base": {},
|
|
2243
|
+
"options": {
|
|
2244
|
+
"open": {
|
|
2245
|
+
"cases": {
|
|
2246
|
+
"false": {},
|
|
2247
|
+
"true": {
|
|
2248
|
+
"open": ""
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
"color": {
|
|
2253
|
+
"cases": {
|
|
2254
|
+
"neutral": {},
|
|
2255
|
+
"brand": {},
|
|
2256
|
+
"info": {},
|
|
2257
|
+
"success": {},
|
|
2258
|
+
"warning": {},
|
|
2259
|
+
"danger": {}
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
},
|
|
2264
|
+
"dialog": {
|
|
2265
|
+
"base": {
|
|
2266
|
+
"class": "lt-dialog",
|
|
2267
|
+
"aria-labelledby": "{titleId}"
|
|
2268
|
+
},
|
|
2269
|
+
"options": {
|
|
2270
|
+
"open": {
|
|
2271
|
+
"cases": {
|
|
2272
|
+
"false": {},
|
|
2273
|
+
"true": {
|
|
2274
|
+
"open": ""
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
},
|
|
2278
|
+
"color": {
|
|
2279
|
+
"cases": {
|
|
2280
|
+
"neutral": {},
|
|
2281
|
+
"brand": {
|
|
2282
|
+
"data-color": "brand"
|
|
2283
|
+
},
|
|
2284
|
+
"info": {
|
|
2285
|
+
"data-color": "info"
|
|
2286
|
+
},
|
|
2287
|
+
"success": {
|
|
2288
|
+
"data-color": "success"
|
|
2289
|
+
},
|
|
2290
|
+
"warning": {
|
|
2291
|
+
"data-color": "warning"
|
|
2292
|
+
},
|
|
2293
|
+
"danger": {
|
|
2294
|
+
"data-color": "danger"
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
},
|
|
2300
|
+
"header": {
|
|
2301
|
+
"base": {
|
|
2302
|
+
"class": "lt-dialog__header"
|
|
2303
|
+
},
|
|
2304
|
+
"options": {
|
|
2305
|
+
"open": {
|
|
2306
|
+
"cases": {
|
|
2307
|
+
"false": {},
|
|
2308
|
+
"true": {}
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2311
|
+
"color": {
|
|
2312
|
+
"cases": {
|
|
2313
|
+
"neutral": {},
|
|
2314
|
+
"brand": {},
|
|
2315
|
+
"info": {},
|
|
2316
|
+
"success": {},
|
|
2317
|
+
"warning": {},
|
|
2318
|
+
"danger": {}
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2323
|
+
"title": {
|
|
2324
|
+
"base": {
|
|
2325
|
+
"class": "lt-dialog__title",
|
|
2326
|
+
"id": "{titleId}"
|
|
2327
|
+
},
|
|
2328
|
+
"options": {
|
|
2329
|
+
"open": {
|
|
2330
|
+
"cases": {
|
|
2331
|
+
"false": {},
|
|
2332
|
+
"true": {}
|
|
2333
|
+
}
|
|
2334
|
+
},
|
|
2335
|
+
"color": {
|
|
2336
|
+
"cases": {
|
|
2337
|
+
"neutral": {},
|
|
2338
|
+
"brand": {},
|
|
2339
|
+
"info": {},
|
|
2340
|
+
"success": {},
|
|
2341
|
+
"warning": {},
|
|
2342
|
+
"danger": {}
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
},
|
|
2347
|
+
"subtitle": {
|
|
2348
|
+
"base": {
|
|
2349
|
+
"class": "lt-dialog__subtitle"
|
|
2350
|
+
},
|
|
2351
|
+
"options": {
|
|
2352
|
+
"open": {
|
|
2353
|
+
"cases": {
|
|
2354
|
+
"false": {},
|
|
2355
|
+
"true": {}
|
|
2356
|
+
}
|
|
2357
|
+
},
|
|
2358
|
+
"color": {
|
|
2359
|
+
"cases": {
|
|
2360
|
+
"neutral": {},
|
|
2361
|
+
"brand": {},
|
|
2362
|
+
"info": {},
|
|
2363
|
+
"success": {},
|
|
2364
|
+
"warning": {},
|
|
2365
|
+
"danger": {}
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
},
|
|
2370
|
+
"body": {
|
|
2371
|
+
"base": {
|
|
2372
|
+
"class": "lt-dialog__body"
|
|
2373
|
+
},
|
|
2374
|
+
"options": {
|
|
2375
|
+
"open": {
|
|
2376
|
+
"cases": {
|
|
2377
|
+
"false": {},
|
|
2378
|
+
"true": {}
|
|
2379
|
+
}
|
|
2380
|
+
},
|
|
2381
|
+
"color": {
|
|
2382
|
+
"cases": {
|
|
2383
|
+
"neutral": {},
|
|
2384
|
+
"brand": {},
|
|
2385
|
+
"info": {},
|
|
2386
|
+
"success": {},
|
|
2387
|
+
"warning": {},
|
|
2388
|
+
"danger": {}
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
},
|
|
2393
|
+
"footer": {
|
|
2394
|
+
"base": {
|
|
2395
|
+
"class": "lt-dialog__footer"
|
|
2396
|
+
},
|
|
2397
|
+
"options": {
|
|
2398
|
+
"open": {
|
|
2399
|
+
"cases": {
|
|
2400
|
+
"false": {},
|
|
2401
|
+
"true": {}
|
|
2402
|
+
}
|
|
2403
|
+
},
|
|
2404
|
+
"color": {
|
|
2405
|
+
"cases": {
|
|
2406
|
+
"neutral": {},
|
|
2407
|
+
"brand": {},
|
|
2408
|
+
"info": {},
|
|
2409
|
+
"success": {},
|
|
2410
|
+
"warning": {},
|
|
2411
|
+
"danger": {}
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "divider",
|
|
2421
|
+
"options": [
|
|
2422
|
+
{
|
|
2423
|
+
"name": "variant",
|
|
2424
|
+
"required": false,
|
|
2425
|
+
"type": {
|
|
2426
|
+
"kind": "values",
|
|
2427
|
+
"values": [
|
|
2428
|
+
"default",
|
|
2429
|
+
"subtle",
|
|
2430
|
+
"strong"
|
|
2431
|
+
]
|
|
2432
|
+
},
|
|
2433
|
+
"description": "How visible the line is. Default: `default`."
|
|
2434
|
+
}
|
|
2435
|
+
],
|
|
2436
|
+
"returns": {
|
|
2437
|
+
"kind": "attributes"
|
|
2438
|
+
},
|
|
2439
|
+
"table": {
|
|
2440
|
+
"kind": "attributes",
|
|
2441
|
+
"table": {
|
|
2442
|
+
"base": {
|
|
2443
|
+
"class": "lt-divider"
|
|
2444
|
+
},
|
|
2445
|
+
"options": {
|
|
2446
|
+
"variant": {
|
|
2447
|
+
"cases": {
|
|
2448
|
+
"default": {},
|
|
2449
|
+
"subtle": {
|
|
2450
|
+
"data-variant": "subtle"
|
|
2451
|
+
},
|
|
2452
|
+
"strong": {
|
|
2453
|
+
"data-variant": "strong"
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
"name": "errorSummary",
|
|
2463
|
+
"options": [
|
|
2464
|
+
{
|
|
2465
|
+
"name": "count",
|
|
2466
|
+
"required": false,
|
|
2467
|
+
"type": {
|
|
2468
|
+
"kind": "number"
|
|
2469
|
+
},
|
|
2470
|
+
"description": "The number of errors the server found. When it is zero, the box is hidden."
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
"name": "id",
|
|
2474
|
+
"required": false,
|
|
2475
|
+
"type": {
|
|
2476
|
+
"kind": "text"
|
|
2477
|
+
},
|
|
2478
|
+
"description": "The id of the box, so the form can move focus here after submission."
|
|
2479
|
+
}
|
|
2480
|
+
],
|
|
2481
|
+
"returns": {
|
|
2482
|
+
"kind": "group",
|
|
2483
|
+
"fields": {
|
|
2484
|
+
"host": {
|
|
2485
|
+
"kind": "attributes"
|
|
2486
|
+
},
|
|
2487
|
+
"title": {
|
|
2488
|
+
"kind": "attributes"
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"name": "errorText",
|
|
2495
|
+
"options": [
|
|
2496
|
+
{
|
|
2497
|
+
"name": "variant",
|
|
2498
|
+
"required": false,
|
|
2499
|
+
"type": {
|
|
2500
|
+
"kind": "values",
|
|
2501
|
+
"values": [
|
|
2502
|
+
"error",
|
|
2503
|
+
"warning"
|
|
2504
|
+
]
|
|
2505
|
+
},
|
|
2506
|
+
"description": "Whether the error stops submission or only warns. Default: `error`."
|
|
2507
|
+
}
|
|
2508
|
+
],
|
|
2509
|
+
"returns": {
|
|
2510
|
+
"kind": "attributes"
|
|
2511
|
+
},
|
|
2512
|
+
"table": {
|
|
2513
|
+
"kind": "attributes",
|
|
2514
|
+
"table": {
|
|
2515
|
+
"base": {
|
|
2516
|
+
"class": "lt-error-text"
|
|
2517
|
+
},
|
|
2518
|
+
"options": {
|
|
2519
|
+
"variant": {
|
|
2520
|
+
"cases": {
|
|
2521
|
+
"error": {},
|
|
2522
|
+
"warning": {
|
|
2523
|
+
"data-variant": "warning"
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"name": "field",
|
|
2533
|
+
"options": [
|
|
2534
|
+
{
|
|
2535
|
+
"name": "id",
|
|
2536
|
+
"required": true,
|
|
2537
|
+
"type": {
|
|
2538
|
+
"kind": "text"
|
|
2539
|
+
},
|
|
2540
|
+
"description": "The id of the control. Required."
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"name": "help",
|
|
2544
|
+
"required": false,
|
|
2545
|
+
"type": {
|
|
2546
|
+
"kind": "flag"
|
|
2547
|
+
},
|
|
2548
|
+
"description": "The field has a help text to connect with `aria-describedby`."
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
"name": "error",
|
|
2552
|
+
"required": false,
|
|
2553
|
+
"type": {
|
|
2554
|
+
"kind": "flag"
|
|
2555
|
+
},
|
|
2556
|
+
"description": "The field has an error text. It is hidden until the field is invalid."
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"name": "helpId",
|
|
2560
|
+
"required": false,
|
|
2561
|
+
"type": {
|
|
2562
|
+
"kind": "text"
|
|
2563
|
+
},
|
|
2564
|
+
"description": "A separate id for the help text. Derived from `id` if left out."
|
|
2565
|
+
},
|
|
2566
|
+
{
|
|
2567
|
+
"name": "errorId",
|
|
2568
|
+
"required": false,
|
|
2569
|
+
"type": {
|
|
2570
|
+
"kind": "text"
|
|
2571
|
+
},
|
|
2572
|
+
"description": "A separate id for the error text. Derived from `id` if left out."
|
|
2573
|
+
},
|
|
2574
|
+
{
|
|
2575
|
+
"name": "required",
|
|
2576
|
+
"required": false,
|
|
2577
|
+
"type": {
|
|
2578
|
+
"kind": "values",
|
|
2579
|
+
"values": [
|
|
2580
|
+
"symbol",
|
|
2581
|
+
"text"
|
|
2582
|
+
]
|
|
2583
|
+
},
|
|
2584
|
+
"description": "Marks the label as required."
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"name": "optional",
|
|
2588
|
+
"required": false,
|
|
2589
|
+
"type": {
|
|
2590
|
+
"kind": "flag"
|
|
2591
|
+
},
|
|
2592
|
+
"description": "Marks the label as optional."
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
"name": "invalid",
|
|
2596
|
+
"required": false,
|
|
2597
|
+
"type": {
|
|
2598
|
+
"kind": "flag"
|
|
2599
|
+
},
|
|
2600
|
+
"description": "The field is invalid: shows the error text and sets `aria-invalid`."
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"name": "disabled",
|
|
2604
|
+
"required": false,
|
|
2605
|
+
"type": {
|
|
2606
|
+
"kind": "flag"
|
|
2607
|
+
},
|
|
2608
|
+
"description": "The control is disabled."
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"name": "describedBy",
|
|
2612
|
+
"required": false,
|
|
2613
|
+
"type": {
|
|
2614
|
+
"kind": "textList"
|
|
2615
|
+
},
|
|
2616
|
+
"description": "Extra ids to include in `aria-describedby`."
|
|
2617
|
+
}
|
|
2618
|
+
],
|
|
2619
|
+
"returns": {
|
|
2620
|
+
"kind": "group",
|
|
2621
|
+
"fields": {
|
|
2622
|
+
"label": {
|
|
2623
|
+
"kind": "attributes"
|
|
2624
|
+
},
|
|
2625
|
+
"control": {
|
|
2626
|
+
"kind": "attributes"
|
|
2627
|
+
},
|
|
2628
|
+
"help": {
|
|
2629
|
+
"kind": "attributes"
|
|
2630
|
+
},
|
|
2631
|
+
"error": {
|
|
2632
|
+
"kind": "attributes"
|
|
2633
|
+
},
|
|
2634
|
+
"state": {
|
|
2635
|
+
"kind": "values",
|
|
2636
|
+
"values": [
|
|
2637
|
+
"default",
|
|
2638
|
+
"invalid",
|
|
2639
|
+
"success"
|
|
2640
|
+
]
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
},
|
|
2645
|
+
{
|
|
2646
|
+
"name": "fieldset",
|
|
2647
|
+
"options": [
|
|
2648
|
+
{
|
|
2649
|
+
"name": "state",
|
|
2650
|
+
"required": false,
|
|
2651
|
+
"type": {
|
|
2652
|
+
"kind": "values",
|
|
2653
|
+
"values": [
|
|
2654
|
+
"default",
|
|
2655
|
+
"invalid",
|
|
2656
|
+
"success"
|
|
2657
|
+
]
|
|
2658
|
+
},
|
|
2659
|
+
"description": "Validation state for the whole group. Default: `default`."
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
"name": "disabled",
|
|
2663
|
+
"required": false,
|
|
2664
|
+
"type": {
|
|
2665
|
+
"kind": "flag"
|
|
2666
|
+
},
|
|
2667
|
+
"description": "Disables all the controls in the group."
|
|
2668
|
+
}
|
|
2669
|
+
],
|
|
2670
|
+
"returns": {
|
|
2671
|
+
"kind": "attributes"
|
|
2672
|
+
},
|
|
2673
|
+
"table": {
|
|
2674
|
+
"kind": "attributes",
|
|
2675
|
+
"table": {
|
|
2676
|
+
"base": {
|
|
2677
|
+
"class": "lt-fieldset"
|
|
2678
|
+
},
|
|
2679
|
+
"options": {
|
|
2680
|
+
"state": {
|
|
2681
|
+
"cases": {
|
|
2682
|
+
"default": {},
|
|
2683
|
+
"invalid": {
|
|
2684
|
+
"data-state": "invalid"
|
|
2685
|
+
},
|
|
2686
|
+
"success": {
|
|
2687
|
+
"data-state": "success"
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
},
|
|
2691
|
+
"disabled": {
|
|
2692
|
+
"cases": {
|
|
2693
|
+
"false": {},
|
|
2694
|
+
"true": {
|
|
2695
|
+
"disabled": ""
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"name": "fileUpload",
|
|
2705
|
+
"options": [
|
|
2706
|
+
{
|
|
2707
|
+
"name": "state",
|
|
2708
|
+
"required": false,
|
|
2709
|
+
"type": {
|
|
2710
|
+
"kind": "values",
|
|
2711
|
+
"values": [
|
|
2712
|
+
"default",
|
|
2713
|
+
"invalid",
|
|
2714
|
+
"success"
|
|
2715
|
+
]
|
|
2716
|
+
},
|
|
2717
|
+
"description": "Validation state. Default: `default`."
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"name": "multiple",
|
|
2721
|
+
"required": false,
|
|
2722
|
+
"type": {
|
|
2723
|
+
"kind": "flag"
|
|
2724
|
+
},
|
|
2725
|
+
"description": "Allow several files."
|
|
2726
|
+
},
|
|
2727
|
+
{
|
|
2728
|
+
"name": "accept",
|
|
2729
|
+
"required": false,
|
|
2730
|
+
"type": {
|
|
2731
|
+
"kind": "text"
|
|
2732
|
+
},
|
|
2733
|
+
"description": "The file types the field accepts, such as `.pdf,image/*`."
|
|
2734
|
+
}
|
|
2735
|
+
],
|
|
2736
|
+
"returns": {
|
|
2737
|
+
"kind": "attributes"
|
|
2738
|
+
},
|
|
2739
|
+
"table": {
|
|
2740
|
+
"kind": "attributes",
|
|
2741
|
+
"table": {
|
|
2742
|
+
"base": {
|
|
2743
|
+
"class": "lt-file-upload",
|
|
2744
|
+
"type": "file"
|
|
2745
|
+
},
|
|
2746
|
+
"options": {
|
|
2747
|
+
"state": {
|
|
2748
|
+
"cases": {
|
|
2749
|
+
"default": {},
|
|
2750
|
+
"invalid": {
|
|
2751
|
+
"data-state": "invalid",
|
|
2752
|
+
"aria-invalid": "true"
|
|
2753
|
+
},
|
|
2754
|
+
"success": {
|
|
2755
|
+
"data-state": "success"
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
},
|
|
2759
|
+
"multiple": {
|
|
2760
|
+
"cases": {
|
|
2761
|
+
"false": {},
|
|
2762
|
+
"true": {
|
|
2763
|
+
"multiple": ""
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
"accept": {
|
|
2768
|
+
"cases": {},
|
|
2769
|
+
"template": {
|
|
2770
|
+
"accept": "{accept}"
|
|
2771
|
+
},
|
|
2772
|
+
"empty": {
|
|
2773
|
+
"accept": ""
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
"name": "heading",
|
|
2782
|
+
"options": [
|
|
2783
|
+
{
|
|
2784
|
+
"name": "size",
|
|
2785
|
+
"required": false,
|
|
2786
|
+
"type": {
|
|
2787
|
+
"kind": "values",
|
|
2788
|
+
"values": [
|
|
2789
|
+
"xs",
|
|
2790
|
+
"s",
|
|
2791
|
+
"m",
|
|
2792
|
+
"l",
|
|
2793
|
+
"xl",
|
|
2794
|
+
"mega"
|
|
2795
|
+
]
|
|
2796
|
+
},
|
|
2797
|
+
"description": "Visual size. Default: `l`."
|
|
2798
|
+
}
|
|
2799
|
+
],
|
|
2800
|
+
"returns": {
|
|
2801
|
+
"kind": "attributes"
|
|
2802
|
+
},
|
|
2803
|
+
"table": {
|
|
2804
|
+
"kind": "attributes",
|
|
2805
|
+
"table": {
|
|
2806
|
+
"base": {
|
|
2807
|
+
"class": "lt-heading"
|
|
2808
|
+
},
|
|
2809
|
+
"options": {
|
|
2810
|
+
"size": {
|
|
2811
|
+
"cases": {
|
|
2812
|
+
"xs": {
|
|
2813
|
+
"data-size": "xs"
|
|
2814
|
+
},
|
|
2815
|
+
"s": {
|
|
2816
|
+
"data-size": "s"
|
|
2817
|
+
},
|
|
2818
|
+
"m": {
|
|
2819
|
+
"data-size": "m"
|
|
2820
|
+
},
|
|
2821
|
+
"l": {},
|
|
2822
|
+
"xl": {
|
|
2823
|
+
"data-size": "xl"
|
|
2824
|
+
},
|
|
2825
|
+
"mega": {
|
|
2826
|
+
"data-size": "mega"
|
|
2827
|
+
}
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
},
|
|
2834
|
+
{
|
|
2835
|
+
"name": "helpText",
|
|
2836
|
+
"options": [
|
|
2837
|
+
{
|
|
2838
|
+
"name": "variant",
|
|
2839
|
+
"required": false,
|
|
2840
|
+
"type": {
|
|
2841
|
+
"kind": "values",
|
|
2842
|
+
"values": [
|
|
2843
|
+
"muted",
|
|
2844
|
+
"strong",
|
|
2845
|
+
"success",
|
|
2846
|
+
"warning"
|
|
2847
|
+
]
|
|
2848
|
+
},
|
|
2849
|
+
"description": "How loudly the text should speak. Default: `muted`."
|
|
2850
|
+
}
|
|
2851
|
+
],
|
|
2852
|
+
"returns": {
|
|
2853
|
+
"kind": "attributes"
|
|
2854
|
+
},
|
|
2855
|
+
"table": {
|
|
2856
|
+
"kind": "attributes",
|
|
2857
|
+
"table": {
|
|
2858
|
+
"base": {
|
|
2859
|
+
"class": "lt-help-text"
|
|
2860
|
+
},
|
|
2861
|
+
"options": {
|
|
2862
|
+
"variant": {
|
|
2863
|
+
"cases": {
|
|
2864
|
+
"muted": {},
|
|
2865
|
+
"strong": {
|
|
2866
|
+
"data-variant": "strong"
|
|
2867
|
+
},
|
|
2868
|
+
"success": {
|
|
2869
|
+
"data-variant": "success"
|
|
2870
|
+
},
|
|
2871
|
+
"warning": {
|
|
2872
|
+
"data-variant": "warning"
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
}
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"name": "icon",
|
|
2882
|
+
"options": [
|
|
2883
|
+
{
|
|
2884
|
+
"name": "label",
|
|
2885
|
+
"required": false,
|
|
2886
|
+
"type": {
|
|
2887
|
+
"kind": "text"
|
|
2888
|
+
},
|
|
2889
|
+
"description": "What the icon means, when it stands alone and means something, such as a warning sign with no text next to it. Becomes `aria-label` with `role=\"img\"`. Without it the icon is decoration, and is hidden from screen readers."
|
|
2890
|
+
}
|
|
2891
|
+
],
|
|
2892
|
+
"returns": {
|
|
2893
|
+
"kind": "attributes"
|
|
2894
|
+
},
|
|
2895
|
+
"table": {
|
|
2896
|
+
"kind": "attributes",
|
|
2897
|
+
"table": {
|
|
2898
|
+
"base": {
|
|
2899
|
+
"class": "lt-icon",
|
|
2900
|
+
"aria-hidden": "true"
|
|
2901
|
+
},
|
|
2902
|
+
"options": {
|
|
2903
|
+
"label": {
|
|
2904
|
+
"cases": {},
|
|
2905
|
+
"template": {
|
|
2906
|
+
"aria-hidden": null,
|
|
2907
|
+
"role": "img",
|
|
2908
|
+
"aria-label": "{label}"
|
|
2909
|
+
},
|
|
2910
|
+
"empty": {}
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
"name": "input",
|
|
2918
|
+
"options": [
|
|
2919
|
+
{
|
|
2920
|
+
"name": "type",
|
|
2921
|
+
"required": false,
|
|
2922
|
+
"type": {
|
|
2923
|
+
"kind": "values",
|
|
2924
|
+
"values": [
|
|
2925
|
+
"text",
|
|
2926
|
+
"password",
|
|
2927
|
+
"email",
|
|
2928
|
+
"number",
|
|
2929
|
+
"date",
|
|
2930
|
+
"datetime-local",
|
|
2931
|
+
"week",
|
|
2932
|
+
"month",
|
|
2933
|
+
"tel",
|
|
2934
|
+
"url",
|
|
2935
|
+
"search",
|
|
2936
|
+
"time"
|
|
2937
|
+
]
|
|
2938
|
+
},
|
|
2939
|
+
"description": "The HTML type. Set as `type`, and decides the icon. Default: `text`."
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
"name": "state",
|
|
2943
|
+
"required": false,
|
|
2944
|
+
"type": {
|
|
2945
|
+
"kind": "values",
|
|
2946
|
+
"values": [
|
|
2947
|
+
"default",
|
|
2948
|
+
"invalid",
|
|
2949
|
+
"success"
|
|
2950
|
+
]
|
|
2951
|
+
},
|
|
2952
|
+
"description": "Validation state. Default: `default`."
|
|
2953
|
+
}
|
|
2954
|
+
],
|
|
2955
|
+
"returns": {
|
|
2956
|
+
"kind": "attributes"
|
|
2957
|
+
},
|
|
2958
|
+
"table": {
|
|
2959
|
+
"kind": "attributes",
|
|
2960
|
+
"table": {
|
|
2961
|
+
"base": {
|
|
2962
|
+
"class": "lt-input",
|
|
2963
|
+
"type": "text"
|
|
2964
|
+
},
|
|
2965
|
+
"options": {
|
|
2966
|
+
"type": {
|
|
2967
|
+
"cases": {
|
|
2968
|
+
"text": {},
|
|
2969
|
+
"password": {
|
|
2970
|
+
"type": "password"
|
|
2971
|
+
},
|
|
2972
|
+
"email": {
|
|
2973
|
+
"type": "email"
|
|
2974
|
+
},
|
|
2975
|
+
"number": {
|
|
2976
|
+
"type": "number"
|
|
2977
|
+
},
|
|
2978
|
+
"date": {
|
|
2979
|
+
"type": "date",
|
|
2980
|
+
"data-variant": "date"
|
|
2981
|
+
},
|
|
2982
|
+
"datetime-local": {
|
|
2983
|
+
"type": "datetime-local",
|
|
2984
|
+
"data-variant": "datetime-local"
|
|
2985
|
+
},
|
|
2986
|
+
"week": {
|
|
2987
|
+
"type": "week"
|
|
2988
|
+
},
|
|
2989
|
+
"month": {
|
|
2990
|
+
"type": "month"
|
|
2991
|
+
},
|
|
2992
|
+
"tel": {
|
|
2993
|
+
"type": "tel"
|
|
2994
|
+
},
|
|
2995
|
+
"url": {
|
|
2996
|
+
"type": "url"
|
|
2997
|
+
},
|
|
2998
|
+
"search": {
|
|
2999
|
+
"type": "search"
|
|
3000
|
+
},
|
|
3001
|
+
"time": {
|
|
3002
|
+
"type": "time",
|
|
3003
|
+
"data-variant": "time"
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
},
|
|
3007
|
+
"state": {
|
|
3008
|
+
"cases": {
|
|
3009
|
+
"default": {},
|
|
3010
|
+
"invalid": {
|
|
3011
|
+
"data-state": "invalid",
|
|
3012
|
+
"aria-invalid": "true"
|
|
3013
|
+
},
|
|
3014
|
+
"success": {
|
|
3015
|
+
"data-state": "success"
|
|
3016
|
+
}
|
|
3017
|
+
}
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"name": "label",
|
|
3025
|
+
"options": [
|
|
3026
|
+
{
|
|
3027
|
+
"name": "required",
|
|
3028
|
+
"required": false,
|
|
3029
|
+
"type": {
|
|
3030
|
+
"kind": "values",
|
|
3031
|
+
"values": [
|
|
3032
|
+
"symbol",
|
|
3033
|
+
"text"
|
|
3034
|
+
]
|
|
3035
|
+
},
|
|
3036
|
+
"description": "Marks the field as required, with an asterisk or with the word \"(required)\"."
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
"name": "optional",
|
|
3040
|
+
"required": false,
|
|
3041
|
+
"type": {
|
|
3042
|
+
"kind": "flag"
|
|
3043
|
+
},
|
|
3044
|
+
"description": "Marks the field as optional. Choose one of `required` and `optional`."
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
"name": "disabled",
|
|
3048
|
+
"required": false,
|
|
3049
|
+
"type": {
|
|
3050
|
+
"kind": "flag"
|
|
3051
|
+
},
|
|
3052
|
+
"description": "Mutes the text when the control is disabled."
|
|
3053
|
+
}
|
|
3054
|
+
],
|
|
3055
|
+
"returns": {
|
|
3056
|
+
"kind": "attributes"
|
|
3057
|
+
}
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"name": "legend",
|
|
3061
|
+
"options": [
|
|
3062
|
+
{
|
|
3063
|
+
"name": "required",
|
|
3064
|
+
"required": false,
|
|
3065
|
+
"type": {
|
|
3066
|
+
"kind": "values",
|
|
3067
|
+
"values": [
|
|
3068
|
+
"symbol",
|
|
3069
|
+
"text"
|
|
3070
|
+
]
|
|
3071
|
+
},
|
|
3072
|
+
"description": "Marks the group as required, with an asterisk or with the word \"(required)\"."
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"name": "optional",
|
|
3076
|
+
"required": false,
|
|
3077
|
+
"type": {
|
|
3078
|
+
"kind": "flag"
|
|
3079
|
+
},
|
|
3080
|
+
"description": "Marks the group as optional. Choose one of `required` and `optional`."
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"name": "disabled",
|
|
3084
|
+
"required": false,
|
|
3085
|
+
"type": {
|
|
3086
|
+
"kind": "flag"
|
|
3087
|
+
},
|
|
3088
|
+
"description": "Mutes the text when the group is disabled."
|
|
3089
|
+
}
|
|
3090
|
+
],
|
|
3091
|
+
"returns": {
|
|
3092
|
+
"kind": "attributes"
|
|
3093
|
+
}
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"name": "link",
|
|
3097
|
+
"options": [
|
|
3098
|
+
{
|
|
3099
|
+
"name": "disabled",
|
|
3100
|
+
"required": false,
|
|
3101
|
+
"type": {
|
|
3102
|
+
"kind": "flag"
|
|
3103
|
+
},
|
|
3104
|
+
"description": "The link cannot be clicked yet. Gives `aria-disabled`, `role=\"link\"` and `tabindex=\"0\"`, so screen readers still find it as a link and can say so. Remove `href` as well: otherwise Enter follows it."
|
|
3105
|
+
}
|
|
3106
|
+
],
|
|
3107
|
+
"returns": {
|
|
3108
|
+
"kind": "attributes"
|
|
3109
|
+
},
|
|
3110
|
+
"table": {
|
|
3111
|
+
"kind": "attributes",
|
|
3112
|
+
"table": {
|
|
3113
|
+
"base": {
|
|
3114
|
+
"class": "lt-link"
|
|
3115
|
+
},
|
|
3116
|
+
"options": {
|
|
3117
|
+
"disabled": {
|
|
3118
|
+
"cases": {
|
|
3119
|
+
"false": {},
|
|
3120
|
+
"true": {
|
|
3121
|
+
"role": "link",
|
|
3122
|
+
"tabindex": "0",
|
|
3123
|
+
"aria-disabled": "true"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
}
|
|
3127
|
+
}
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"name": "list",
|
|
3133
|
+
"options": [
|
|
3134
|
+
{
|
|
3135
|
+
"name": "variant",
|
|
3136
|
+
"required": false,
|
|
3137
|
+
"type": {
|
|
3138
|
+
"kind": "values",
|
|
3139
|
+
"values": [
|
|
3140
|
+
"default",
|
|
3141
|
+
"plain",
|
|
3142
|
+
"divided"
|
|
3143
|
+
]
|
|
3144
|
+
},
|
|
3145
|
+
"description": "Bullets, plain rows, or rows with a line between them. Default: `default`."
|
|
3146
|
+
}
|
|
3147
|
+
],
|
|
3148
|
+
"returns": {
|
|
3149
|
+
"kind": "attributes"
|
|
3150
|
+
},
|
|
3151
|
+
"table": {
|
|
3152
|
+
"kind": "attributes",
|
|
3153
|
+
"table": {
|
|
3154
|
+
"base": {
|
|
3155
|
+
"class": "lt-list"
|
|
3156
|
+
},
|
|
3157
|
+
"options": {
|
|
3158
|
+
"variant": {
|
|
3159
|
+
"cases": {
|
|
3160
|
+
"default": {},
|
|
3161
|
+
"plain": {
|
|
3162
|
+
"data-variant": "plain"
|
|
3163
|
+
},
|
|
3164
|
+
"divided": {
|
|
3165
|
+
"data-variant": "divided"
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"name": "pagination",
|
|
3175
|
+
"options": [],
|
|
3176
|
+
"returns": {
|
|
3177
|
+
"kind": "attributes"
|
|
3178
|
+
},
|
|
3179
|
+
"table": {
|
|
3180
|
+
"kind": "attributes",
|
|
3181
|
+
"table": {
|
|
3182
|
+
"base": {
|
|
3183
|
+
"class": "lt-pagination"
|
|
3184
|
+
},
|
|
3185
|
+
"options": {}
|
|
3186
|
+
}
|
|
3187
|
+
}
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
"name": "paragraph",
|
|
3191
|
+
"options": [
|
|
3192
|
+
{
|
|
3193
|
+
"name": "size",
|
|
3194
|
+
"required": false,
|
|
3195
|
+
"type": {
|
|
3196
|
+
"kind": "values",
|
|
3197
|
+
"values": [
|
|
3198
|
+
"small",
|
|
3199
|
+
"medium",
|
|
3200
|
+
"large"
|
|
3201
|
+
]
|
|
3202
|
+
},
|
|
3203
|
+
"description": "Text size. Default: `medium`."
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"name": "variant",
|
|
3207
|
+
"required": false,
|
|
3208
|
+
"type": {
|
|
3209
|
+
"kind": "values",
|
|
3210
|
+
"values": [
|
|
3211
|
+
"default",
|
|
3212
|
+
"lead"
|
|
3213
|
+
]
|
|
3214
|
+
},
|
|
3215
|
+
"description": "`lead` is the introduction right below the heading. Default: `default`."
|
|
3216
|
+
}
|
|
3217
|
+
],
|
|
3218
|
+
"returns": {
|
|
3219
|
+
"kind": "attributes"
|
|
3220
|
+
},
|
|
3221
|
+
"table": {
|
|
3222
|
+
"kind": "attributes",
|
|
3223
|
+
"table": {
|
|
3224
|
+
"base": {
|
|
3225
|
+
"class": "lt-paragraph"
|
|
3226
|
+
},
|
|
3227
|
+
"options": {
|
|
3228
|
+
"size": {
|
|
3229
|
+
"cases": {
|
|
3230
|
+
"small": {
|
|
3231
|
+
"data-size": "small"
|
|
3232
|
+
},
|
|
3233
|
+
"medium": {},
|
|
3234
|
+
"large": {
|
|
3235
|
+
"data-size": "large"
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
},
|
|
3239
|
+
"variant": {
|
|
3240
|
+
"cases": {
|
|
3241
|
+
"default": {},
|
|
3242
|
+
"lead": {
|
|
3243
|
+
"data-variant": "lead"
|
|
3244
|
+
}
|
|
3245
|
+
}
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"name": "popover",
|
|
3253
|
+
"options": [
|
|
3254
|
+
{
|
|
3255
|
+
"name": "id",
|
|
3256
|
+
"required": true,
|
|
3257
|
+
"type": {
|
|
3258
|
+
"kind": "text"
|
|
3259
|
+
},
|
|
3260
|
+
"description": "Id of the panel. Connects the button to the panel with `aria-controls`."
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
"name": "open",
|
|
3264
|
+
"required": false,
|
|
3265
|
+
"type": {
|
|
3266
|
+
"kind": "flag"
|
|
3267
|
+
},
|
|
3268
|
+
"description": "The panel is open. Default: closed."
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"name": "placement",
|
|
3272
|
+
"required": false,
|
|
3273
|
+
"type": {
|
|
3274
|
+
"kind": "values",
|
|
3275
|
+
"values": [
|
|
3276
|
+
"bottom-start",
|
|
3277
|
+
"bottom-end",
|
|
3278
|
+
"top-start",
|
|
3279
|
+
"top-end"
|
|
3280
|
+
]
|
|
3281
|
+
},
|
|
3282
|
+
"description": "Which edge the panel hangs from. Default: `bottom-start`."
|
|
3283
|
+
}
|
|
3284
|
+
],
|
|
3285
|
+
"returns": {
|
|
3286
|
+
"kind": "group",
|
|
3287
|
+
"fields": {
|
|
3288
|
+
"host": {
|
|
3289
|
+
"kind": "attributes"
|
|
3290
|
+
},
|
|
3291
|
+
"trigger": {
|
|
3292
|
+
"kind": "attributes"
|
|
3293
|
+
},
|
|
3294
|
+
"panel": {
|
|
3295
|
+
"kind": "attributes"
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
},
|
|
3299
|
+
"table": {
|
|
3300
|
+
"kind": "group",
|
|
3301
|
+
"fields": {
|
|
3302
|
+
"host": {
|
|
3303
|
+
"base": {},
|
|
3304
|
+
"options": {
|
|
3305
|
+
"open": {
|
|
3306
|
+
"cases": {
|
|
3307
|
+
"false": {},
|
|
3308
|
+
"true": {
|
|
3309
|
+
"open": ""
|
|
3310
|
+
}
|
|
3311
|
+
}
|
|
3312
|
+
},
|
|
3313
|
+
"placement": {
|
|
3314
|
+
"cases": {
|
|
3315
|
+
"bottom-start": {},
|
|
3316
|
+
"bottom-end": {
|
|
3317
|
+
"placement": "bottom-end"
|
|
3318
|
+
},
|
|
3319
|
+
"top-start": {
|
|
3320
|
+
"placement": "top-start"
|
|
3321
|
+
},
|
|
3322
|
+
"top-end": {
|
|
3323
|
+
"placement": "top-end"
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
"trigger": {
|
|
3330
|
+
"base": {
|
|
3331
|
+
"type": "button",
|
|
3332
|
+
"aria-expanded": "false",
|
|
3333
|
+
"aria-controls": "{id}"
|
|
3334
|
+
},
|
|
3335
|
+
"options": {
|
|
3336
|
+
"open": {
|
|
3337
|
+
"cases": {
|
|
3338
|
+
"false": {},
|
|
3339
|
+
"true": {
|
|
3340
|
+
"aria-expanded": "true"
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
},
|
|
3344
|
+
"placement": {
|
|
3345
|
+
"cases": {
|
|
3346
|
+
"bottom-start": {},
|
|
3347
|
+
"bottom-end": {},
|
|
3348
|
+
"top-start": {},
|
|
3349
|
+
"top-end": {}
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3354
|
+
"panel": {
|
|
3355
|
+
"base": {
|
|
3356
|
+
"class": "lt-popover",
|
|
3357
|
+
"id": "{id}",
|
|
3358
|
+
"popover": "manual"
|
|
3359
|
+
},
|
|
3360
|
+
"options": {
|
|
3361
|
+
"open": {
|
|
3362
|
+
"cases": {
|
|
3363
|
+
"false": {},
|
|
3364
|
+
"true": {}
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
"placement": {
|
|
3368
|
+
"cases": {
|
|
3369
|
+
"bottom-start": {},
|
|
3370
|
+
"bottom-end": {},
|
|
3371
|
+
"top-start": {},
|
|
3372
|
+
"top-end": {}
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
}
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
"name": "progress",
|
|
3382
|
+
"options": [
|
|
3383
|
+
{
|
|
3384
|
+
"name": "value",
|
|
3385
|
+
"required": false,
|
|
3386
|
+
"type": {
|
|
3387
|
+
"kind": "number"
|
|
3388
|
+
},
|
|
3389
|
+
"description": "How far it has come. Leave it out, and the bar is indeterminate."
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"name": "max",
|
|
3393
|
+
"required": false,
|
|
3394
|
+
"type": {
|
|
3395
|
+
"kind": "number"
|
|
3396
|
+
},
|
|
3397
|
+
"description": "What counts as full. Default: `100`."
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"name": "color",
|
|
3401
|
+
"required": false,
|
|
3402
|
+
"type": {
|
|
3403
|
+
"kind": "values",
|
|
3404
|
+
"values": [
|
|
3405
|
+
"success",
|
|
3406
|
+
"warning",
|
|
3407
|
+
"danger"
|
|
3408
|
+
]
|
|
3409
|
+
},
|
|
3410
|
+
"description": "What the number means. The default is the accent colour, meaning \"this is in progress\"."
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"name": "label",
|
|
3414
|
+
"required": false,
|
|
3415
|
+
"type": {
|
|
3416
|
+
"kind": "text"
|
|
3417
|
+
},
|
|
3418
|
+
"description": "What is in progress. Becomes `aria-label`, so the bar has a name."
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"name": "valueText",
|
|
3422
|
+
"required": false,
|
|
3423
|
+
"type": {
|
|
3424
|
+
"kind": "text"
|
|
3425
|
+
},
|
|
3426
|
+
"description": "How far it has come, in words. Becomes `aria-valuetext`, which the screen reader reads instead of the percentage: \"Step 3 of 7\" says more than \"43 percent\", and `max` is rarely announced."
|
|
3427
|
+
}
|
|
3428
|
+
],
|
|
3429
|
+
"returns": {
|
|
3430
|
+
"kind": "attributes"
|
|
3431
|
+
},
|
|
3432
|
+
"table": {
|
|
3433
|
+
"kind": "attributes",
|
|
3434
|
+
"table": {
|
|
3435
|
+
"base": {
|
|
3436
|
+
"class": "lt-progress",
|
|
3437
|
+
"max": "100"
|
|
3438
|
+
},
|
|
3439
|
+
"options": {
|
|
3440
|
+
"value": {
|
|
3441
|
+
"cases": {},
|
|
3442
|
+
"template": {
|
|
3443
|
+
"value": "{value}"
|
|
3444
|
+
}
|
|
3445
|
+
},
|
|
3446
|
+
"max": {
|
|
3447
|
+
"cases": {},
|
|
3448
|
+
"template": {
|
|
3449
|
+
"max": "{max}"
|
|
3450
|
+
}
|
|
3451
|
+
},
|
|
3452
|
+
"color": {
|
|
3453
|
+
"cases": {
|
|
3454
|
+
"success": {
|
|
3455
|
+
"data-color": "success"
|
|
3456
|
+
},
|
|
3457
|
+
"warning": {
|
|
3458
|
+
"data-color": "warning"
|
|
3459
|
+
},
|
|
3460
|
+
"danger": {
|
|
3461
|
+
"data-color": "danger"
|
|
3462
|
+
}
|
|
3463
|
+
}
|
|
3464
|
+
},
|
|
3465
|
+
"label": {
|
|
3466
|
+
"cases": {},
|
|
3467
|
+
"template": {
|
|
3468
|
+
"aria-label": "{label}"
|
|
3469
|
+
},
|
|
3470
|
+
"empty": {
|
|
3471
|
+
"aria-label": ""
|
|
3472
|
+
}
|
|
3473
|
+
},
|
|
3474
|
+
"valueText": {
|
|
3475
|
+
"cases": {},
|
|
3476
|
+
"template": {
|
|
3477
|
+
"aria-valuetext": "{valueText}"
|
|
3478
|
+
},
|
|
3479
|
+
"empty": {
|
|
3480
|
+
"aria-valuetext": ""
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"name": "radio",
|
|
3489
|
+
"options": [
|
|
3490
|
+
{
|
|
3491
|
+
"name": "state",
|
|
3492
|
+
"required": false,
|
|
3493
|
+
"type": {
|
|
3494
|
+
"kind": "values",
|
|
3495
|
+
"values": [
|
|
3496
|
+
"default",
|
|
3497
|
+
"invalid",
|
|
3498
|
+
"success"
|
|
3499
|
+
]
|
|
3500
|
+
},
|
|
3501
|
+
"description": "Validation state. Default: `default`."
|
|
3502
|
+
}
|
|
3503
|
+
],
|
|
3504
|
+
"returns": {
|
|
3505
|
+
"kind": "attributes"
|
|
3506
|
+
},
|
|
3507
|
+
"table": {
|
|
3508
|
+
"kind": "attributes",
|
|
3509
|
+
"table": {
|
|
3510
|
+
"base": {
|
|
3511
|
+
"class": "lt-radio",
|
|
3512
|
+
"type": "radio"
|
|
3513
|
+
},
|
|
3514
|
+
"options": {
|
|
3515
|
+
"state": {
|
|
3516
|
+
"cases": {
|
|
3517
|
+
"default": {},
|
|
3518
|
+
"invalid": {
|
|
3519
|
+
"data-state": "invalid",
|
|
3520
|
+
"aria-invalid": "true"
|
|
3521
|
+
},
|
|
3522
|
+
"success": {
|
|
3523
|
+
"data-state": "success"
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3526
|
+
}
|
|
3527
|
+
}
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"name": "search",
|
|
3533
|
+
"options": [
|
|
3534
|
+
{
|
|
3535
|
+
"name": "state",
|
|
3536
|
+
"required": false,
|
|
3537
|
+
"type": {
|
|
3538
|
+
"kind": "values",
|
|
3539
|
+
"values": [
|
|
3540
|
+
"default",
|
|
3541
|
+
"invalid",
|
|
3542
|
+
"success"
|
|
3543
|
+
]
|
|
3544
|
+
},
|
|
3545
|
+
"description": "Validation state. Default: `default`."
|
|
3546
|
+
}
|
|
3547
|
+
],
|
|
3548
|
+
"returns": {
|
|
3549
|
+
"kind": "attributes"
|
|
3550
|
+
},
|
|
3551
|
+
"table": {
|
|
3552
|
+
"kind": "attributes",
|
|
3553
|
+
"table": {
|
|
3554
|
+
"base": {
|
|
3555
|
+
"class": "lt-input lt-search",
|
|
3556
|
+
"type": "search"
|
|
3557
|
+
},
|
|
3558
|
+
"options": {
|
|
3559
|
+
"state": {
|
|
3560
|
+
"cases": {
|
|
3561
|
+
"default": {},
|
|
3562
|
+
"invalid": {
|
|
3563
|
+
"data-state": "invalid",
|
|
3564
|
+
"aria-invalid": "true"
|
|
3565
|
+
},
|
|
3566
|
+
"success": {
|
|
3567
|
+
"data-state": "success"
|
|
3568
|
+
}
|
|
3569
|
+
}
|
|
3570
|
+
}
|
|
3571
|
+
}
|
|
3572
|
+
}
|
|
3573
|
+
}
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"name": "select",
|
|
3577
|
+
"options": [
|
|
3578
|
+
{
|
|
3579
|
+
"name": "state",
|
|
3580
|
+
"required": false,
|
|
3581
|
+
"type": {
|
|
3582
|
+
"kind": "values",
|
|
3583
|
+
"values": [
|
|
3584
|
+
"default",
|
|
3585
|
+
"invalid",
|
|
3586
|
+
"success"
|
|
3587
|
+
]
|
|
3588
|
+
},
|
|
3589
|
+
"description": "Validation state. Default: `default`."
|
|
3590
|
+
},
|
|
3591
|
+
{
|
|
3592
|
+
"name": "picker",
|
|
3593
|
+
"required": false,
|
|
3594
|
+
"type": {
|
|
3595
|
+
"kind": "values",
|
|
3596
|
+
"values": [
|
|
3597
|
+
"auto",
|
|
3598
|
+
"styled"
|
|
3599
|
+
]
|
|
3600
|
+
},
|
|
3601
|
+
"description": "Who draws the dropdown list. Default: `auto`."
|
|
3602
|
+
}
|
|
3603
|
+
],
|
|
3604
|
+
"returns": {
|
|
3605
|
+
"kind": "attributes"
|
|
3606
|
+
},
|
|
3607
|
+
"table": {
|
|
3608
|
+
"kind": "attributes",
|
|
3609
|
+
"table": {
|
|
3610
|
+
"base": {
|
|
3611
|
+
"class": "lt-select"
|
|
3612
|
+
},
|
|
3613
|
+
"options": {
|
|
3614
|
+
"state": {
|
|
3615
|
+
"cases": {
|
|
3616
|
+
"default": {},
|
|
3617
|
+
"invalid": {
|
|
3618
|
+
"data-state": "invalid",
|
|
3619
|
+
"aria-invalid": "true"
|
|
3620
|
+
},
|
|
3621
|
+
"success": {
|
|
3622
|
+
"data-state": "success"
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
},
|
|
3626
|
+
"picker": {
|
|
3627
|
+
"cases": {
|
|
3628
|
+
"auto": {},
|
|
3629
|
+
"styled": {
|
|
3630
|
+
"data-picker": "styled"
|
|
3631
|
+
}
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3634
|
+
}
|
|
3635
|
+
}
|
|
3636
|
+
}
|
|
3637
|
+
},
|
|
3638
|
+
{
|
|
3639
|
+
"name": "sessionTimeout",
|
|
3640
|
+
"options": [
|
|
3641
|
+
{
|
|
3642
|
+
"name": "titleId",
|
|
3643
|
+
"required": true,
|
|
3644
|
+
"type": {
|
|
3645
|
+
"kind": "text"
|
|
3646
|
+
},
|
|
3647
|
+
"description": "Id of the heading. The dialog takes its name from it with `aria-labelledby`."
|
|
3648
|
+
},
|
|
3649
|
+
{
|
|
3650
|
+
"name": "warnAt",
|
|
3651
|
+
"required": false,
|
|
3652
|
+
"type": {
|
|
3653
|
+
"kind": "number"
|
|
3654
|
+
},
|
|
3655
|
+
"description": "Seconds without activity before the warning appears. Default: 25 minutes."
|
|
3656
|
+
},
|
|
3657
|
+
{
|
|
3658
|
+
"name": "expiresAt",
|
|
3659
|
+
"required": false,
|
|
3660
|
+
"type": {
|
|
3661
|
+
"kind": "number"
|
|
3662
|
+
},
|
|
3663
|
+
"description": "Seconds without activity before the session expires. Default: 30 minutes."
|
|
3664
|
+
},
|
|
3665
|
+
{
|
|
3666
|
+
"name": "activityInterval",
|
|
3667
|
+
"required": false,
|
|
3668
|
+
"type": {
|
|
3669
|
+
"kind": "number"
|
|
3670
|
+
},
|
|
3671
|
+
"description": "Seconds between each `session-activity` while the user is active. Default: 60."
|
|
3672
|
+
}
|
|
3673
|
+
],
|
|
3674
|
+
"returns": {
|
|
3675
|
+
"kind": "group",
|
|
3676
|
+
"fields": {
|
|
3677
|
+
"host": {
|
|
3678
|
+
"kind": "attributes"
|
|
3679
|
+
},
|
|
3680
|
+
"dialog": {
|
|
3681
|
+
"kind": "attributes"
|
|
3682
|
+
},
|
|
3683
|
+
"title": {
|
|
3684
|
+
"kind": "attributes"
|
|
3685
|
+
},
|
|
3686
|
+
"text": {
|
|
3687
|
+
"kind": "attributes"
|
|
3688
|
+
},
|
|
3689
|
+
"count": {
|
|
3690
|
+
"kind": "attributes"
|
|
3691
|
+
},
|
|
3692
|
+
"live": {
|
|
3693
|
+
"kind": "attributes"
|
|
3694
|
+
},
|
|
3695
|
+
"actions": {
|
|
3696
|
+
"kind": "attributes"
|
|
3697
|
+
},
|
|
3698
|
+
"extend": {
|
|
3699
|
+
"kind": "attributes"
|
|
3700
|
+
},
|
|
3701
|
+
"logout": {
|
|
3702
|
+
"kind": "attributes"
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
},
|
|
3706
|
+
"table": {
|
|
3707
|
+
"kind": "group",
|
|
3708
|
+
"fields": {
|
|
3709
|
+
"host": {
|
|
3710
|
+
"base": {
|
|
3711
|
+
"class": "lt-session-timeout",
|
|
3712
|
+
"data-ignore-morph": ""
|
|
3713
|
+
},
|
|
3714
|
+
"options": {
|
|
3715
|
+
"warnAt": {
|
|
3716
|
+
"cases": {},
|
|
3717
|
+
"template": {
|
|
3718
|
+
"warn-at": "{warnAt}"
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3721
|
+
"expiresAt": {
|
|
3722
|
+
"cases": {},
|
|
3723
|
+
"template": {
|
|
3724
|
+
"expires-at": "{expiresAt}"
|
|
3725
|
+
}
|
|
3726
|
+
},
|
|
3727
|
+
"activityInterval": {
|
|
3728
|
+
"cases": {},
|
|
3729
|
+
"template": {
|
|
3730
|
+
"activity-interval": "{activityInterval}"
|
|
3731
|
+
}
|
|
3732
|
+
}
|
|
3733
|
+
}
|
|
3734
|
+
},
|
|
3735
|
+
"dialog": {
|
|
3736
|
+
"base": {
|
|
3737
|
+
"class": "lt-session-timeout__dialog",
|
|
3738
|
+
"role": "alertdialog",
|
|
3739
|
+
"aria-labelledby": "{titleId}"
|
|
3740
|
+
},
|
|
3741
|
+
"options": {
|
|
3742
|
+
"warnAt": {
|
|
3743
|
+
"cases": {},
|
|
3744
|
+
"template": {}
|
|
3745
|
+
},
|
|
3746
|
+
"expiresAt": {
|
|
3747
|
+
"cases": {},
|
|
3748
|
+
"template": {}
|
|
3749
|
+
},
|
|
3750
|
+
"activityInterval": {
|
|
3751
|
+
"cases": {},
|
|
3752
|
+
"template": {}
|
|
3753
|
+
}
|
|
3754
|
+
}
|
|
3755
|
+
},
|
|
3756
|
+
"title": {
|
|
3757
|
+
"base": {
|
|
3758
|
+
"class": "lt-session-timeout__title",
|
|
3759
|
+
"id": "{titleId}"
|
|
3760
|
+
},
|
|
3761
|
+
"options": {
|
|
3762
|
+
"warnAt": {
|
|
3763
|
+
"cases": {},
|
|
3764
|
+
"template": {}
|
|
3765
|
+
},
|
|
3766
|
+
"expiresAt": {
|
|
3767
|
+
"cases": {},
|
|
3768
|
+
"template": {}
|
|
3769
|
+
},
|
|
3770
|
+
"activityInterval": {
|
|
3771
|
+
"cases": {},
|
|
3772
|
+
"template": {}
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3775
|
+
},
|
|
3776
|
+
"text": {
|
|
3777
|
+
"base": {
|
|
3778
|
+
"class": "lt-session-timeout__text"
|
|
3779
|
+
},
|
|
3780
|
+
"options": {
|
|
3781
|
+
"warnAt": {
|
|
3782
|
+
"cases": {},
|
|
3783
|
+
"template": {}
|
|
3784
|
+
},
|
|
3785
|
+
"expiresAt": {
|
|
3786
|
+
"cases": {},
|
|
3787
|
+
"template": {}
|
|
3788
|
+
},
|
|
3789
|
+
"activityInterval": {
|
|
3790
|
+
"cases": {},
|
|
3791
|
+
"template": {}
|
|
3792
|
+
}
|
|
3793
|
+
}
|
|
3794
|
+
},
|
|
3795
|
+
"count": {
|
|
3796
|
+
"base": {
|
|
3797
|
+
"class": "lt-session-timeout__count",
|
|
3798
|
+
"aria-hidden": "true"
|
|
3799
|
+
},
|
|
3800
|
+
"options": {
|
|
3801
|
+
"warnAt": {
|
|
3802
|
+
"cases": {},
|
|
3803
|
+
"template": {}
|
|
3804
|
+
},
|
|
3805
|
+
"expiresAt": {
|
|
3806
|
+
"cases": {},
|
|
3807
|
+
"template": {}
|
|
3808
|
+
},
|
|
3809
|
+
"activityInterval": {
|
|
3810
|
+
"cases": {},
|
|
3811
|
+
"template": {}
|
|
3812
|
+
}
|
|
3813
|
+
}
|
|
3814
|
+
},
|
|
3815
|
+
"live": {
|
|
3816
|
+
"base": {
|
|
3817
|
+
"class": "lt-sr-only",
|
|
3818
|
+
"role": "status"
|
|
3819
|
+
},
|
|
3820
|
+
"options": {
|
|
3821
|
+
"warnAt": {
|
|
3822
|
+
"cases": {},
|
|
3823
|
+
"template": {}
|
|
3824
|
+
},
|
|
3825
|
+
"expiresAt": {
|
|
3826
|
+
"cases": {},
|
|
3827
|
+
"template": {}
|
|
3828
|
+
},
|
|
3829
|
+
"activityInterval": {
|
|
3830
|
+
"cases": {},
|
|
3831
|
+
"template": {}
|
|
3832
|
+
}
|
|
3833
|
+
}
|
|
3834
|
+
},
|
|
3835
|
+
"actions": {
|
|
3836
|
+
"base": {
|
|
3837
|
+
"class": "lt-session-timeout__actions",
|
|
3838
|
+
"method": "dialog"
|
|
3839
|
+
},
|
|
3840
|
+
"options": {
|
|
3841
|
+
"warnAt": {
|
|
3842
|
+
"cases": {},
|
|
3843
|
+
"template": {}
|
|
3844
|
+
},
|
|
3845
|
+
"expiresAt": {
|
|
3846
|
+
"cases": {},
|
|
3847
|
+
"template": {}
|
|
3848
|
+
},
|
|
3849
|
+
"activityInterval": {
|
|
3850
|
+
"cases": {},
|
|
3851
|
+
"template": {}
|
|
3852
|
+
}
|
|
3853
|
+
}
|
|
3854
|
+
},
|
|
3855
|
+
"extend": {
|
|
3856
|
+
"base": {
|
|
3857
|
+
"class": "lt-button",
|
|
3858
|
+
"value": "extend"
|
|
3859
|
+
},
|
|
3860
|
+
"options": {
|
|
3861
|
+
"warnAt": {
|
|
3862
|
+
"cases": {},
|
|
3863
|
+
"template": {}
|
|
3864
|
+
},
|
|
3865
|
+
"expiresAt": {
|
|
3866
|
+
"cases": {},
|
|
3867
|
+
"template": {}
|
|
3868
|
+
},
|
|
3869
|
+
"activityInterval": {
|
|
3870
|
+
"cases": {},
|
|
3871
|
+
"template": {}
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
},
|
|
3875
|
+
"logout": {
|
|
3876
|
+
"base": {
|
|
3877
|
+
"class": "lt-button",
|
|
3878
|
+
"data-variant": "secondary",
|
|
3879
|
+
"value": "logout"
|
|
3880
|
+
},
|
|
3881
|
+
"options": {
|
|
3882
|
+
"warnAt": {
|
|
3883
|
+
"cases": {},
|
|
3884
|
+
"template": {}
|
|
3885
|
+
},
|
|
3886
|
+
"expiresAt": {
|
|
3887
|
+
"cases": {},
|
|
3888
|
+
"template": {}
|
|
3889
|
+
},
|
|
3890
|
+
"activityInterval": {
|
|
3891
|
+
"cases": {},
|
|
3892
|
+
"template": {}
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
}
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"name": "skeleton",
|
|
3901
|
+
"options": [
|
|
3902
|
+
{
|
|
3903
|
+
"name": "variant",
|
|
3904
|
+
"required": false,
|
|
3905
|
+
"type": {
|
|
3906
|
+
"kind": "values",
|
|
3907
|
+
"values": [
|
|
3908
|
+
"block",
|
|
3909
|
+
"text",
|
|
3910
|
+
"circle"
|
|
3911
|
+
]
|
|
3912
|
+
},
|
|
3913
|
+
"description": "Shape. Default: `block`."
|
|
3914
|
+
}
|
|
3915
|
+
],
|
|
3916
|
+
"returns": {
|
|
3917
|
+
"kind": "attributes"
|
|
3918
|
+
},
|
|
3919
|
+
"table": {
|
|
3920
|
+
"kind": "attributes",
|
|
3921
|
+
"table": {
|
|
3922
|
+
"base": {
|
|
3923
|
+
"class": "lt-skeleton",
|
|
3924
|
+
"aria-hidden": "true"
|
|
3925
|
+
},
|
|
3926
|
+
"options": {
|
|
3927
|
+
"variant": {
|
|
3928
|
+
"cases": {
|
|
3929
|
+
"block": {},
|
|
3930
|
+
"text": {
|
|
3931
|
+
"data-variant": "text"
|
|
3932
|
+
},
|
|
3933
|
+
"circle": {
|
|
3934
|
+
"data-variant": "circle"
|
|
3935
|
+
}
|
|
3936
|
+
}
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3939
|
+
}
|
|
3940
|
+
}
|
|
3941
|
+
},
|
|
3942
|
+
{
|
|
3943
|
+
"name": "skipLink",
|
|
3944
|
+
"options": [],
|
|
3945
|
+
"returns": {
|
|
3946
|
+
"kind": "attributes"
|
|
3947
|
+
},
|
|
3948
|
+
"table": {
|
|
3949
|
+
"kind": "attributes",
|
|
3950
|
+
"table": {
|
|
3951
|
+
"base": {
|
|
3952
|
+
"class": "lt-skip-link"
|
|
3953
|
+
},
|
|
3954
|
+
"options": {}
|
|
3955
|
+
}
|
|
3956
|
+
}
|
|
3957
|
+
},
|
|
3958
|
+
{
|
|
3959
|
+
"name": "spinner",
|
|
3960
|
+
"options": [
|
|
3961
|
+
{
|
|
3962
|
+
"name": "size",
|
|
3963
|
+
"required": false,
|
|
3964
|
+
"type": {
|
|
3965
|
+
"kind": "values",
|
|
3966
|
+
"values": [
|
|
3967
|
+
"small",
|
|
3968
|
+
"medium",
|
|
3969
|
+
"large"
|
|
3970
|
+
]
|
|
3971
|
+
},
|
|
3972
|
+
"description": "Size. Default: `medium`."
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"name": "label",
|
|
3976
|
+
"required": false,
|
|
3977
|
+
"type": {
|
|
3978
|
+
"kind": "text"
|
|
3979
|
+
},
|
|
3980
|
+
"description": "What is loading. Becomes `aria-label`, so the ring has a name for screen readers."
|
|
3981
|
+
}
|
|
3982
|
+
],
|
|
3983
|
+
"returns": {
|
|
3984
|
+
"kind": "attributes"
|
|
3985
|
+
},
|
|
3986
|
+
"table": {
|
|
3987
|
+
"kind": "attributes",
|
|
3988
|
+
"table": {
|
|
3989
|
+
"base": {
|
|
3990
|
+
"class": "lt-spinner"
|
|
3991
|
+
},
|
|
3992
|
+
"options": {
|
|
3993
|
+
"size": {
|
|
3994
|
+
"cases": {
|
|
3995
|
+
"small": {
|
|
3996
|
+
"data-size": "small"
|
|
3997
|
+
},
|
|
3998
|
+
"medium": {},
|
|
3999
|
+
"large": {
|
|
4000
|
+
"data-size": "large"
|
|
4001
|
+
}
|
|
4002
|
+
}
|
|
4003
|
+
},
|
|
4004
|
+
"label": {
|
|
4005
|
+
"cases": {},
|
|
4006
|
+
"template": {
|
|
4007
|
+
"role": "status",
|
|
4008
|
+
"aria-label": "{label}"
|
|
4009
|
+
},
|
|
4010
|
+
"empty": {
|
|
4011
|
+
"aria-label": ""
|
|
4012
|
+
}
|
|
4013
|
+
}
|
|
4014
|
+
}
|
|
4015
|
+
}
|
|
4016
|
+
}
|
|
4017
|
+
},
|
|
4018
|
+
{
|
|
4019
|
+
"name": "srOnly",
|
|
4020
|
+
"options": [],
|
|
4021
|
+
"returns": {
|
|
4022
|
+
"kind": "attributes"
|
|
4023
|
+
},
|
|
4024
|
+
"table": {
|
|
4025
|
+
"kind": "attributes",
|
|
4026
|
+
"table": {
|
|
4027
|
+
"base": {
|
|
4028
|
+
"class": "lt-sr-only"
|
|
4029
|
+
},
|
|
4030
|
+
"options": {}
|
|
4031
|
+
}
|
|
4032
|
+
}
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"name": "suggestion",
|
|
4036
|
+
"options": [
|
|
4037
|
+
{
|
|
4038
|
+
"name": "invalid",
|
|
4039
|
+
"required": false,
|
|
4040
|
+
"type": {
|
|
4041
|
+
"kind": "flag"
|
|
4042
|
+
},
|
|
4043
|
+
"description": "The field is invalid: shows the error text and sets `aria-invalid`."
|
|
4044
|
+
},
|
|
4045
|
+
{
|
|
4046
|
+
"name": "error",
|
|
4047
|
+
"required": false,
|
|
4048
|
+
"type": {
|
|
4049
|
+
"kind": "flag"
|
|
4050
|
+
},
|
|
4051
|
+
"description": "The field has an error text. It is hidden until the field is invalid."
|
|
4052
|
+
},
|
|
4053
|
+
{
|
|
4054
|
+
"name": "disabled",
|
|
4055
|
+
"required": false,
|
|
4056
|
+
"type": {
|
|
4057
|
+
"kind": "flag"
|
|
4058
|
+
},
|
|
4059
|
+
"description": "The control is disabled."
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
"name": "required",
|
|
4063
|
+
"required": false,
|
|
4064
|
+
"type": {
|
|
4065
|
+
"kind": "values",
|
|
4066
|
+
"values": [
|
|
4067
|
+
"symbol",
|
|
4068
|
+
"text"
|
|
4069
|
+
]
|
|
4070
|
+
},
|
|
4071
|
+
"description": "Marks the label as required."
|
|
4072
|
+
},
|
|
4073
|
+
{
|
|
4074
|
+
"name": "optional",
|
|
4075
|
+
"required": false,
|
|
4076
|
+
"type": {
|
|
4077
|
+
"kind": "flag"
|
|
4078
|
+
},
|
|
4079
|
+
"description": "Marks the label as optional."
|
|
4080
|
+
},
|
|
4081
|
+
{
|
|
4082
|
+
"name": "help",
|
|
4083
|
+
"required": false,
|
|
4084
|
+
"type": {
|
|
4085
|
+
"kind": "flag"
|
|
4086
|
+
},
|
|
4087
|
+
"description": "The field has a help text to connect with `aria-describedby`."
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
"name": "helpId",
|
|
4091
|
+
"required": false,
|
|
4092
|
+
"type": {
|
|
4093
|
+
"kind": "text"
|
|
4094
|
+
},
|
|
4095
|
+
"description": "A separate id for the help text. Derived from `id` if left out."
|
|
4096
|
+
},
|
|
4097
|
+
{
|
|
4098
|
+
"name": "errorId",
|
|
4099
|
+
"required": false,
|
|
4100
|
+
"type": {
|
|
4101
|
+
"kind": "text"
|
|
4102
|
+
},
|
|
4103
|
+
"description": "A separate id for the error text. Derived from `id` if left out."
|
|
4104
|
+
},
|
|
4105
|
+
{
|
|
4106
|
+
"name": "describedBy",
|
|
4107
|
+
"required": false,
|
|
4108
|
+
"type": {
|
|
4109
|
+
"kind": "textList"
|
|
4110
|
+
},
|
|
4111
|
+
"description": "Extra ids to include in `aria-describedby`."
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"name": "id",
|
|
4115
|
+
"required": true,
|
|
4116
|
+
"type": {
|
|
4117
|
+
"kind": "text"
|
|
4118
|
+
},
|
|
4119
|
+
"description": "Shared id stem. The control becomes `${id}`, the list `${id}-list`, and the options `${id}-option-${key}`."
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"name": "keys",
|
|
4123
|
+
"required": false,
|
|
4124
|
+
"type": {
|
|
4125
|
+
"kind": "textList"
|
|
4126
|
+
},
|
|
4127
|
+
"description": "One key per option the server sends, taken from the data, such as a record id. The key gives the option its id, so an update that sends the list again recognises the options. An empty key, whitespace or two identical keys throw. Default: no options."
|
|
4128
|
+
},
|
|
4129
|
+
{
|
|
4130
|
+
"name": "activeIndex",
|
|
4131
|
+
"required": false,
|
|
4132
|
+
"type": {
|
|
4133
|
+
"kind": "number"
|
|
4134
|
+
},
|
|
4135
|
+
"description": "The option highlighted with the arrow keys. Default: none."
|
|
4136
|
+
},
|
|
4137
|
+
{
|
|
4138
|
+
"name": "open",
|
|
4139
|
+
"required": false,
|
|
4140
|
+
"type": {
|
|
4141
|
+
"kind": "flag"
|
|
4142
|
+
},
|
|
4143
|
+
"description": "The list is open. Default: closed."
|
|
4144
|
+
},
|
|
4145
|
+
{
|
|
4146
|
+
"name": "pending",
|
|
4147
|
+
"required": false,
|
|
4148
|
+
"type": {
|
|
4149
|
+
"kind": "flag"
|
|
4150
|
+
},
|
|
4151
|
+
"description": "The answer to the search has not arrived yet. The list gets `aria-busy`, and the empty message stays hidden, so an asynchronous search does not say \"No matches\" in the gap between the keystroke and the answer."
|
|
4152
|
+
}
|
|
4153
|
+
],
|
|
4154
|
+
"returns": {
|
|
4155
|
+
"kind": "group",
|
|
4156
|
+
"fields": {
|
|
4157
|
+
"label": {
|
|
4158
|
+
"kind": "attributes"
|
|
4159
|
+
},
|
|
4160
|
+
"control": {
|
|
4161
|
+
"kind": "attributes"
|
|
4162
|
+
},
|
|
4163
|
+
"list": {
|
|
4164
|
+
"kind": "attributes"
|
|
4165
|
+
},
|
|
4166
|
+
"options": {
|
|
4167
|
+
"kind": "list",
|
|
4168
|
+
"of": {
|
|
4169
|
+
"kind": "attributes"
|
|
4170
|
+
}
|
|
4171
|
+
},
|
|
4172
|
+
"empty": {
|
|
4173
|
+
"kind": "attributes"
|
|
4174
|
+
},
|
|
4175
|
+
"status": {
|
|
4176
|
+
"kind": "attributes"
|
|
4177
|
+
},
|
|
4178
|
+
"value": {
|
|
4179
|
+
"kind": "attributes"
|
|
4180
|
+
},
|
|
4181
|
+
"help": {
|
|
4182
|
+
"kind": "attributes"
|
|
4183
|
+
},
|
|
4184
|
+
"error": {
|
|
4185
|
+
"kind": "attributes"
|
|
4186
|
+
},
|
|
4187
|
+
"state": {
|
|
4188
|
+
"kind": "values",
|
|
4189
|
+
"values": [
|
|
4190
|
+
"default",
|
|
4191
|
+
"invalid",
|
|
4192
|
+
"success"
|
|
4193
|
+
]
|
|
4194
|
+
}
|
|
4195
|
+
}
|
|
4196
|
+
}
|
|
4197
|
+
},
|
|
4198
|
+
{
|
|
4199
|
+
"name": "switch",
|
|
4200
|
+
"options": [
|
|
4201
|
+
{
|
|
4202
|
+
"name": "disabled",
|
|
4203
|
+
"required": false,
|
|
4204
|
+
"type": {
|
|
4205
|
+
"kind": "flag"
|
|
4206
|
+
},
|
|
4207
|
+
"description": "The control is disabled. Do not use it to lock the switch while a save is in progress: `disabled` takes focus away from it, and focus does not come back."
|
|
4208
|
+
}
|
|
4209
|
+
],
|
|
4210
|
+
"returns": {
|
|
4211
|
+
"kind": "attributes"
|
|
4212
|
+
},
|
|
4213
|
+
"table": {
|
|
4214
|
+
"kind": "attributes",
|
|
4215
|
+
"table": {
|
|
4216
|
+
"base": {
|
|
4217
|
+
"class": "lt-switch",
|
|
4218
|
+
"type": "checkbox",
|
|
4219
|
+
"role": "switch"
|
|
4220
|
+
},
|
|
4221
|
+
"options": {
|
|
4222
|
+
"disabled": {
|
|
4223
|
+
"cases": {
|
|
4224
|
+
"false": {},
|
|
4225
|
+
"true": {
|
|
4226
|
+
"disabled": ""
|
|
4227
|
+
}
|
|
4228
|
+
}
|
|
4229
|
+
}
|
|
4230
|
+
}
|
|
4231
|
+
}
|
|
4232
|
+
}
|
|
4233
|
+
},
|
|
4234
|
+
{
|
|
4235
|
+
"name": "table",
|
|
4236
|
+
"options": [
|
|
4237
|
+
{
|
|
4238
|
+
"name": "variant",
|
|
4239
|
+
"required": false,
|
|
4240
|
+
"type": {
|
|
4241
|
+
"kind": "values",
|
|
4242
|
+
"values": [
|
|
4243
|
+
"default",
|
|
4244
|
+
"striped"
|
|
4245
|
+
]
|
|
4246
|
+
},
|
|
4247
|
+
"description": "Every other row on a muted surface. Default: `default`."
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"name": "hoverable",
|
|
4251
|
+
"required": false,
|
|
4252
|
+
"type": {
|
|
4253
|
+
"kind": "flag"
|
|
4254
|
+
},
|
|
4255
|
+
"description": "Highlights the row under the mouse. Use only when rows can be pressed."
|
|
4256
|
+
}
|
|
4257
|
+
],
|
|
4258
|
+
"returns": {
|
|
4259
|
+
"kind": "attributes"
|
|
4260
|
+
},
|
|
4261
|
+
"table": {
|
|
4262
|
+
"kind": "attributes",
|
|
4263
|
+
"table": {
|
|
4264
|
+
"base": {
|
|
4265
|
+
"class": "lt-table"
|
|
4266
|
+
},
|
|
4267
|
+
"options": {
|
|
4268
|
+
"variant": {
|
|
4269
|
+
"cases": {
|
|
4270
|
+
"default": {},
|
|
4271
|
+
"striped": {
|
|
4272
|
+
"data-variant": "striped"
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4275
|
+
},
|
|
4276
|
+
"hoverable": {
|
|
4277
|
+
"cases": {
|
|
4278
|
+
"false": {},
|
|
4279
|
+
"true": {
|
|
4280
|
+
"data-hoverable": ""
|
|
4281
|
+
}
|
|
4282
|
+
}
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
}
|
|
4286
|
+
}
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
"name": "tableSort",
|
|
4290
|
+
"options": [
|
|
4291
|
+
{
|
|
4292
|
+
"name": "direction",
|
|
4293
|
+
"required": false,
|
|
4294
|
+
"type": {
|
|
4295
|
+
"kind": "values",
|
|
4296
|
+
"values": [
|
|
4297
|
+
"ascending",
|
|
4298
|
+
"descending"
|
|
4299
|
+
]
|
|
4300
|
+
},
|
|
4301
|
+
"description": "The direction the column is sorted in. Left out, it means the table is not sorted by this column, and the header gets no `aria-sort`."
|
|
4302
|
+
}
|
|
4303
|
+
],
|
|
4304
|
+
"returns": {
|
|
4305
|
+
"kind": "group",
|
|
4306
|
+
"fields": {
|
|
4307
|
+
"header": {
|
|
4308
|
+
"kind": "attributes"
|
|
4309
|
+
},
|
|
4310
|
+
"button": {
|
|
4311
|
+
"kind": "attributes"
|
|
4312
|
+
}
|
|
4313
|
+
}
|
|
4314
|
+
},
|
|
4315
|
+
"table": {
|
|
4316
|
+
"kind": "group",
|
|
4317
|
+
"fields": {
|
|
4318
|
+
"header": {
|
|
4319
|
+
"base": {},
|
|
4320
|
+
"options": {
|
|
4321
|
+
"direction": {
|
|
4322
|
+
"cases": {
|
|
4323
|
+
"ascending": {
|
|
4324
|
+
"aria-sort": "ascending"
|
|
4325
|
+
},
|
|
4326
|
+
"descending": {
|
|
4327
|
+
"aria-sort": "descending"
|
|
4328
|
+
}
|
|
4329
|
+
}
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
},
|
|
4333
|
+
"button": {
|
|
4334
|
+
"base": {
|
|
4335
|
+
"class": "lt-table__sort",
|
|
4336
|
+
"type": "button"
|
|
4337
|
+
},
|
|
4338
|
+
"options": {
|
|
4339
|
+
"direction": {
|
|
4340
|
+
"cases": {
|
|
4341
|
+
"ascending": {},
|
|
4342
|
+
"descending": {}
|
|
4343
|
+
}
|
|
4344
|
+
}
|
|
4345
|
+
}
|
|
4346
|
+
}
|
|
4347
|
+
}
|
|
4348
|
+
}
|
|
4349
|
+
},
|
|
4350
|
+
{
|
|
4351
|
+
"name": "tabs",
|
|
4352
|
+
"options": [
|
|
4353
|
+
{
|
|
4354
|
+
"name": "id",
|
|
4355
|
+
"required": true,
|
|
4356
|
+
"type": {
|
|
4357
|
+
"kind": "text"
|
|
4358
|
+
},
|
|
4359
|
+
"description": "The shared id stem. The panels become `${id}-${key}`, and the headings in them `${id}-${key}-heading`."
|
|
4360
|
+
},
|
|
4361
|
+
{
|
|
4362
|
+
"name": "keys",
|
|
4363
|
+
"required": true,
|
|
4364
|
+
"type": {
|
|
4365
|
+
"kind": "textList"
|
|
4366
|
+
},
|
|
4367
|
+
"description": "One key per tab, from the data, such as `[\"application\", \"attachments\"]`. The key gives the panel its id, and the link points to it. An index is not a key: if the server inserts a tab first, the same index points to another panel. An empty key, whitespace and two identical keys throw."
|
|
4368
|
+
},
|
|
4369
|
+
{
|
|
4370
|
+
"name": "label",
|
|
4371
|
+
"required": true,
|
|
4372
|
+
"type": {
|
|
4373
|
+
"kind": "text"
|
|
4374
|
+
},
|
|
4375
|
+
"description": "What the tabs choose between. Becomes `aria-label` on the tab list, which must have a name. Empty, or only whitespace, throws."
|
|
4376
|
+
}
|
|
4377
|
+
],
|
|
4378
|
+
"returns": {
|
|
4379
|
+
"kind": "group",
|
|
4380
|
+
"fields": {
|
|
4381
|
+
"list": {
|
|
4382
|
+
"kind": "attributes"
|
|
4383
|
+
},
|
|
4384
|
+
"tabs": {
|
|
4385
|
+
"kind": "list",
|
|
4386
|
+
"of": {
|
|
4387
|
+
"kind": "attributes"
|
|
4388
|
+
}
|
|
4389
|
+
},
|
|
4390
|
+
"panels": {
|
|
4391
|
+
"kind": "list",
|
|
4392
|
+
"of": {
|
|
4393
|
+
"kind": "attributes"
|
|
4394
|
+
}
|
|
4395
|
+
},
|
|
4396
|
+
"headings": {
|
|
4397
|
+
"kind": "list",
|
|
4398
|
+
"of": {
|
|
4399
|
+
"kind": "attributes"
|
|
4400
|
+
}
|
|
4401
|
+
}
|
|
4402
|
+
}
|
|
4403
|
+
}
|
|
4404
|
+
},
|
|
4405
|
+
{
|
|
4406
|
+
"name": "tag",
|
|
4407
|
+
"options": [
|
|
4408
|
+
{
|
|
4409
|
+
"name": "variant",
|
|
4410
|
+
"required": false,
|
|
4411
|
+
"type": {
|
|
4412
|
+
"kind": "values",
|
|
4413
|
+
"values": [
|
|
4414
|
+
"outline",
|
|
4415
|
+
"filled"
|
|
4416
|
+
]
|
|
4417
|
+
},
|
|
4418
|
+
"description": "Outline or muted surface. Default: `outline`."
|
|
4419
|
+
},
|
|
4420
|
+
{
|
|
4421
|
+
"name": "selectable",
|
|
4422
|
+
"required": false,
|
|
4423
|
+
"type": {
|
|
4424
|
+
"kind": "flag"
|
|
4425
|
+
},
|
|
4426
|
+
"description": "The tag can be toggled on and off. Use only on a `<button>`."
|
|
4427
|
+
}
|
|
4428
|
+
],
|
|
4429
|
+
"returns": {
|
|
4430
|
+
"kind": "attributes"
|
|
4431
|
+
},
|
|
4432
|
+
"table": {
|
|
4433
|
+
"kind": "attributes",
|
|
4434
|
+
"table": {
|
|
4435
|
+
"base": {
|
|
4436
|
+
"class": "lt-tag"
|
|
4437
|
+
},
|
|
4438
|
+
"options": {
|
|
4439
|
+
"variant": {
|
|
4440
|
+
"cases": {
|
|
4441
|
+
"outline": {},
|
|
4442
|
+
"filled": {
|
|
4443
|
+
"data-variant": "filled"
|
|
4444
|
+
}
|
|
4445
|
+
}
|
|
4446
|
+
},
|
|
4447
|
+
"selectable": {
|
|
4448
|
+
"cases": {
|
|
4449
|
+
"false": {},
|
|
4450
|
+
"true": {
|
|
4451
|
+
"data-selectable": ""
|
|
4452
|
+
}
|
|
4453
|
+
}
|
|
4454
|
+
}
|
|
4455
|
+
}
|
|
4456
|
+
}
|
|
4457
|
+
}
|
|
4458
|
+
},
|
|
4459
|
+
{
|
|
4460
|
+
"name": "textarea",
|
|
4461
|
+
"options": [
|
|
4462
|
+
{
|
|
4463
|
+
"name": "state",
|
|
4464
|
+
"required": false,
|
|
4465
|
+
"type": {
|
|
4466
|
+
"kind": "values",
|
|
4467
|
+
"values": [
|
|
4468
|
+
"default",
|
|
4469
|
+
"invalid",
|
|
4470
|
+
"success"
|
|
4471
|
+
]
|
|
4472
|
+
},
|
|
4473
|
+
"description": "Validation state. Default: `default`."
|
|
4474
|
+
}
|
|
4475
|
+
],
|
|
4476
|
+
"returns": {
|
|
4477
|
+
"kind": "attributes"
|
|
4478
|
+
},
|
|
4479
|
+
"table": {
|
|
4480
|
+
"kind": "attributes",
|
|
4481
|
+
"table": {
|
|
4482
|
+
"base": {
|
|
4483
|
+
"class": "lt-textarea"
|
|
4484
|
+
},
|
|
4485
|
+
"options": {
|
|
4486
|
+
"state": {
|
|
4487
|
+
"cases": {
|
|
4488
|
+
"default": {},
|
|
4489
|
+
"invalid": {
|
|
4490
|
+
"data-state": "invalid",
|
|
4491
|
+
"aria-invalid": "true"
|
|
4492
|
+
},
|
|
4493
|
+
"success": {
|
|
4494
|
+
"data-state": "success"
|
|
4495
|
+
}
|
|
4496
|
+
}
|
|
4497
|
+
}
|
|
4498
|
+
}
|
|
4499
|
+
}
|
|
4500
|
+
}
|
|
4501
|
+
},
|
|
4502
|
+
{
|
|
4503
|
+
"name": "toast",
|
|
4504
|
+
"options": [
|
|
4505
|
+
{
|
|
4506
|
+
"name": "label",
|
|
4507
|
+
"required": false,
|
|
4508
|
+
"type": {
|
|
4509
|
+
"kind": "text"
|
|
4510
|
+
},
|
|
4511
|
+
"description": "Text that says what the region is. Becomes `aria-label`."
|
|
4512
|
+
},
|
|
4513
|
+
{
|
|
4514
|
+
"name": "closeLabel",
|
|
4515
|
+
"required": false,
|
|
4516
|
+
"type": {
|
|
4517
|
+
"kind": "text"
|
|
4518
|
+
},
|
|
4519
|
+
"description": "The screen reader name of the close button in each message. Default: \"Close message\". `closeLabel` in `show()` overrides it for one message."
|
|
4520
|
+
}
|
|
4521
|
+
],
|
|
4522
|
+
"returns": {
|
|
4523
|
+
"kind": "group",
|
|
4524
|
+
"fields": {
|
|
4525
|
+
"host": {
|
|
4526
|
+
"kind": "attributes"
|
|
4527
|
+
},
|
|
4528
|
+
"message": {
|
|
4529
|
+
"kind": "attributes"
|
|
4530
|
+
},
|
|
4531
|
+
"close": {
|
|
4532
|
+
"kind": "attributes"
|
|
4533
|
+
}
|
|
4534
|
+
}
|
|
4535
|
+
},
|
|
4536
|
+
"table": {
|
|
4537
|
+
"kind": "group",
|
|
4538
|
+
"fields": {
|
|
4539
|
+
"host": {
|
|
4540
|
+
"base": {
|
|
4541
|
+
"class": "lt-toast",
|
|
4542
|
+
"role": "status",
|
|
4543
|
+
"aria-live": "polite",
|
|
4544
|
+
"aria-atomic": "false",
|
|
4545
|
+
"aria-label": "Notifications",
|
|
4546
|
+
"data-ignore-morph": ""
|
|
4547
|
+
},
|
|
4548
|
+
"options": {
|
|
4549
|
+
"label": {
|
|
4550
|
+
"cases": {},
|
|
4551
|
+
"template": {
|
|
4552
|
+
"aria-label": "{label}"
|
|
4553
|
+
},
|
|
4554
|
+
"empty": {
|
|
4555
|
+
"aria-label": ""
|
|
4556
|
+
}
|
|
4557
|
+
},
|
|
4558
|
+
"closeLabel": {
|
|
4559
|
+
"cases": {},
|
|
4560
|
+
"template": {
|
|
4561
|
+
"close-label": "{closeLabel}"
|
|
4562
|
+
},
|
|
4563
|
+
"empty": {
|
|
4564
|
+
"close-label": ""
|
|
4565
|
+
}
|
|
4566
|
+
}
|
|
4567
|
+
}
|
|
4568
|
+
},
|
|
4569
|
+
"message": {
|
|
4570
|
+
"base": {
|
|
4571
|
+
"class": "lt-toast__message"
|
|
4572
|
+
},
|
|
4573
|
+
"options": {
|
|
4574
|
+
"label": {
|
|
4575
|
+
"cases": {},
|
|
4576
|
+
"template": {},
|
|
4577
|
+
"empty": {}
|
|
4578
|
+
},
|
|
4579
|
+
"closeLabel": {
|
|
4580
|
+
"cases": {},
|
|
4581
|
+
"template": {},
|
|
4582
|
+
"empty": {}
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4585
|
+
},
|
|
4586
|
+
"close": {
|
|
4587
|
+
"base": {
|
|
4588
|
+
"class": "lt-toast__close"
|
|
4589
|
+
},
|
|
4590
|
+
"options": {
|
|
4591
|
+
"label": {
|
|
4592
|
+
"cases": {},
|
|
4593
|
+
"template": {},
|
|
4594
|
+
"empty": {}
|
|
4595
|
+
},
|
|
4596
|
+
"closeLabel": {
|
|
4597
|
+
"cases": {},
|
|
4598
|
+
"template": {},
|
|
4599
|
+
"empty": {}
|
|
4600
|
+
}
|
|
4601
|
+
}
|
|
4602
|
+
}
|
|
4603
|
+
}
|
|
4604
|
+
}
|
|
4605
|
+
},
|
|
4606
|
+
{
|
|
4607
|
+
"name": "toggleGroup",
|
|
4608
|
+
"options": [],
|
|
4609
|
+
"returns": {
|
|
4610
|
+
"kind": "attributes"
|
|
4611
|
+
},
|
|
4612
|
+
"table": {
|
|
4613
|
+
"kind": "attributes",
|
|
4614
|
+
"table": {
|
|
4615
|
+
"base": {
|
|
4616
|
+
"class": "lt-toggle-group"
|
|
4617
|
+
},
|
|
4618
|
+
"options": {}
|
|
4619
|
+
}
|
|
4620
|
+
}
|
|
4621
|
+
},
|
|
4622
|
+
{
|
|
4623
|
+
"name": "tooltip",
|
|
4624
|
+
"options": [],
|
|
4625
|
+
"returns": {
|
|
4626
|
+
"kind": "attributes"
|
|
4627
|
+
},
|
|
4628
|
+
"table": {
|
|
4629
|
+
"kind": "attributes",
|
|
4630
|
+
"table": {
|
|
4631
|
+
"base": {
|
|
4632
|
+
"class": "lt-tooltip"
|
|
4633
|
+
},
|
|
4634
|
+
"options": {}
|
|
4635
|
+
}
|
|
4636
|
+
}
|
|
4637
|
+
}
|
|
4638
|
+
],
|
|
4639
|
+
"tokens": {
|
|
4640
|
+
"spacing": {
|
|
4641
|
+
"--lt-spacing-px": "1px",
|
|
4642
|
+
"--lt-spacing-0-5": "0.125rem",
|
|
4643
|
+
"--lt-spacing-1": "0.25rem",
|
|
4644
|
+
"--lt-spacing-2": "0.5rem",
|
|
4645
|
+
"--lt-spacing-3": "0.75rem",
|
|
4646
|
+
"--lt-spacing-4": "1rem",
|
|
4647
|
+
"--lt-spacing-5": "1.25rem",
|
|
4648
|
+
"--lt-spacing-6": "1.5rem",
|
|
4649
|
+
"--lt-spacing-7": "1.75rem",
|
|
4650
|
+
"--lt-spacing-8": "2rem",
|
|
4651
|
+
"--lt-spacing-10": "2.5rem",
|
|
4652
|
+
"--lt-spacing-12": "3rem",
|
|
4653
|
+
"--lt-spacing-16": "4rem"
|
|
4654
|
+
},
|
|
4655
|
+
"breakpoints": {
|
|
4656
|
+
"sm": "640px",
|
|
4657
|
+
"md": "768px",
|
|
4658
|
+
"lg": "1024px",
|
|
4659
|
+
"xl": "1280px",
|
|
4660
|
+
"2xl": "1536px"
|
|
4661
|
+
},
|
|
4662
|
+
"containers": {
|
|
4663
|
+
"xs": "100%",
|
|
4664
|
+
"sm": "576px",
|
|
4665
|
+
"md": "960px",
|
|
4666
|
+
"lg": "1152px",
|
|
4667
|
+
"xl": "1536px",
|
|
4668
|
+
"aside": "384px",
|
|
4669
|
+
"asideNarrow": "288px",
|
|
4670
|
+
"wideContent": "768px"
|
|
4671
|
+
},
|
|
4672
|
+
"colors": {
|
|
4673
|
+
"families": {
|
|
4674
|
+
"accent": "Links, primary button, focus, selected state",
|
|
4675
|
+
"visited": "Visited links",
|
|
4676
|
+
"brand1": "First brand colour: surfaces, sections and categories. Carries no meaning of its own",
|
|
4677
|
+
"brand2": "Second brand colour: surfaces, sections and categories. Carries no meaning of its own",
|
|
4678
|
+
"brand3": "Third brand colour: surfaces, sections and categories. Carries no meaning of its own",
|
|
4679
|
+
"neutral": "The page, body text, borders",
|
|
4680
|
+
"danger": "Errors, deletion, rejection",
|
|
4681
|
+
"warning": "Needs attention",
|
|
4682
|
+
"success": "Completed, approved"
|
|
4683
|
+
},
|
|
4684
|
+
"roles": {
|
|
4685
|
+
"surface": "Tinted surface: a badge, an alert, a section",
|
|
4686
|
+
"border-subtle": "Decorative line, such as between two rows",
|
|
4687
|
+
"border": "The border around a field or a surface",
|
|
4688
|
+
"border-strong": "The field border on hover, and a table line",
|
|
4689
|
+
"fill": "Filled surface: a button, a checked checkbox",
|
|
4690
|
+
"text": "The family's colour as text, and the button on hover",
|
|
4691
|
+
"text-strong": "Body text, headings and the link on hover",
|
|
4692
|
+
"text-subtle": "Muted text: help text, placeholders",
|
|
4693
|
+
"content": "The text on top of fill, and on top of text on a button on hover"
|
|
4694
|
+
},
|
|
4695
|
+
"layers": {
|
|
4696
|
+
"canvas": "The page",
|
|
4697
|
+
"raised": "A surface that lies above a card"
|
|
4698
|
+
},
|
|
4699
|
+
"tokens": [
|
|
4700
|
+
"--lt-color-accent-surface",
|
|
4701
|
+
"--lt-color-accent-border-subtle",
|
|
4702
|
+
"--lt-color-accent-border",
|
|
4703
|
+
"--lt-color-accent-border-strong",
|
|
4704
|
+
"--lt-color-accent-fill",
|
|
4705
|
+
"--lt-color-accent-text",
|
|
4706
|
+
"--lt-color-accent-text-strong",
|
|
4707
|
+
"--lt-color-accent-text-subtle",
|
|
4708
|
+
"--lt-color-accent-content",
|
|
4709
|
+
"--lt-color-visited-surface",
|
|
4710
|
+
"--lt-color-visited-border-subtle",
|
|
4711
|
+
"--lt-color-visited-border",
|
|
4712
|
+
"--lt-color-visited-border-strong",
|
|
4713
|
+
"--lt-color-visited-fill",
|
|
4714
|
+
"--lt-color-visited-text",
|
|
4715
|
+
"--lt-color-visited-text-strong",
|
|
4716
|
+
"--lt-color-visited-text-subtle",
|
|
4717
|
+
"--lt-color-visited-content",
|
|
4718
|
+
"--lt-color-brand1-surface",
|
|
4719
|
+
"--lt-color-brand1-border-subtle",
|
|
4720
|
+
"--lt-color-brand1-border",
|
|
4721
|
+
"--lt-color-brand1-border-strong",
|
|
4722
|
+
"--lt-color-brand1-fill",
|
|
4723
|
+
"--lt-color-brand1-text",
|
|
4724
|
+
"--lt-color-brand1-text-strong",
|
|
4725
|
+
"--lt-color-brand1-text-subtle",
|
|
4726
|
+
"--lt-color-brand1-content",
|
|
4727
|
+
"--lt-color-brand2-surface",
|
|
4728
|
+
"--lt-color-brand2-border-subtle",
|
|
4729
|
+
"--lt-color-brand2-border",
|
|
4730
|
+
"--lt-color-brand2-border-strong",
|
|
4731
|
+
"--lt-color-brand2-fill",
|
|
4732
|
+
"--lt-color-brand2-text",
|
|
4733
|
+
"--lt-color-brand2-text-strong",
|
|
4734
|
+
"--lt-color-brand2-text-subtle",
|
|
4735
|
+
"--lt-color-brand2-content",
|
|
4736
|
+
"--lt-color-brand3-surface",
|
|
4737
|
+
"--lt-color-brand3-border-subtle",
|
|
4738
|
+
"--lt-color-brand3-border",
|
|
4739
|
+
"--lt-color-brand3-border-strong",
|
|
4740
|
+
"--lt-color-brand3-fill",
|
|
4741
|
+
"--lt-color-brand3-text",
|
|
4742
|
+
"--lt-color-brand3-text-strong",
|
|
4743
|
+
"--lt-color-brand3-text-subtle",
|
|
4744
|
+
"--lt-color-brand3-content",
|
|
4745
|
+
"--lt-color-neutral-surface",
|
|
4746
|
+
"--lt-color-neutral-border-subtle",
|
|
4747
|
+
"--lt-color-neutral-border",
|
|
4748
|
+
"--lt-color-neutral-border-strong",
|
|
4749
|
+
"--lt-color-neutral-fill",
|
|
4750
|
+
"--lt-color-neutral-text",
|
|
4751
|
+
"--lt-color-neutral-text-strong",
|
|
4752
|
+
"--lt-color-neutral-text-subtle",
|
|
4753
|
+
"--lt-color-neutral-content",
|
|
4754
|
+
"--lt-color-danger-surface",
|
|
4755
|
+
"--lt-color-danger-border-subtle",
|
|
4756
|
+
"--lt-color-danger-border",
|
|
4757
|
+
"--lt-color-danger-border-strong",
|
|
4758
|
+
"--lt-color-danger-fill",
|
|
4759
|
+
"--lt-color-danger-text",
|
|
4760
|
+
"--lt-color-danger-text-strong",
|
|
4761
|
+
"--lt-color-danger-text-subtle",
|
|
4762
|
+
"--lt-color-danger-content",
|
|
4763
|
+
"--lt-color-warning-surface",
|
|
4764
|
+
"--lt-color-warning-border-subtle",
|
|
4765
|
+
"--lt-color-warning-border",
|
|
4766
|
+
"--lt-color-warning-border-strong",
|
|
4767
|
+
"--lt-color-warning-fill",
|
|
4768
|
+
"--lt-color-warning-text",
|
|
4769
|
+
"--lt-color-warning-text-strong",
|
|
4770
|
+
"--lt-color-warning-text-subtle",
|
|
4771
|
+
"--lt-color-warning-content",
|
|
4772
|
+
"--lt-color-success-surface",
|
|
4773
|
+
"--lt-color-success-border-subtle",
|
|
4774
|
+
"--lt-color-success-border",
|
|
4775
|
+
"--lt-color-success-border-strong",
|
|
4776
|
+
"--lt-color-success-fill",
|
|
4777
|
+
"--lt-color-success-text",
|
|
4778
|
+
"--lt-color-success-text-strong",
|
|
4779
|
+
"--lt-color-success-text-subtle",
|
|
4780
|
+
"--lt-color-success-content",
|
|
4781
|
+
"--lt-color-neutral-canvas",
|
|
4782
|
+
"--lt-color-neutral-raised",
|
|
4783
|
+
"--lt-color-disabled-surface",
|
|
4784
|
+
"--lt-color-disabled-text",
|
|
4785
|
+
"--lt-color-overlay"
|
|
4786
|
+
]
|
|
4787
|
+
},
|
|
4788
|
+
"components": {
|
|
4789
|
+
"accordion": {
|
|
4790
|
+
"--lt-accordion-radius": "var(--lt-spacing-1)",
|
|
4791
|
+
"--lt-accordion-padding": "var(--lt-spacing-3) var(--lt-accordion-padding-inline, var(--lt-spacing-4))",
|
|
4792
|
+
"--lt-accordion-padding-inline": "var(--lt-spacing-4)"
|
|
4793
|
+
},
|
|
4794
|
+
"alert": {
|
|
4795
|
+
"--lt-alert-padding": "var(--lt-spacing-3) var(--lt-spacing-4)",
|
|
4796
|
+
"--lt-alert-radius": "var(--lt-spacing-1)",
|
|
4797
|
+
"--lt-alert-accent": "var(--lt-spacing-1)"
|
|
4798
|
+
},
|
|
4799
|
+
"avatar": {
|
|
4800
|
+
"--lt-avatar-size": "var(--lt-spacing-10)",
|
|
4801
|
+
"--lt-avatar-radius": "var(--lt-spacing-1)",
|
|
4802
|
+
"--lt-avatar-stack-overlap": "calc(var(--lt-spacing-2) * -1)"
|
|
4803
|
+
},
|
|
4804
|
+
"badge": {
|
|
4805
|
+
"--lt-badge-padding": "var(--lt-spacing-0-5) var(--lt-spacing-2)",
|
|
4806
|
+
"--lt-badge-radius": "var(--lt-spacing-4)"
|
|
4807
|
+
},
|
|
4808
|
+
"breadcrumbs": {
|
|
4809
|
+
"--lt-breadcrumbs-gap": "var(--lt-spacing-2)"
|
|
4810
|
+
},
|
|
4811
|
+
"button": {
|
|
4812
|
+
"--lt-button-padding": "var(--lt-spacing-2) var(--lt-spacing-4)",
|
|
4813
|
+
"--lt-button-font-weight": "var(--lt-font-weight-medium)",
|
|
4814
|
+
"--lt-button-line-height": "var(--lt-line-height-default)",
|
|
4815
|
+
"--lt-button-border-width": "1px",
|
|
4816
|
+
"--lt-button-radius": "var(--lt-spacing-1)"
|
|
4817
|
+
},
|
|
4818
|
+
"card": {
|
|
4819
|
+
"--lt-card-padding": "var(--lt-spacing-4)",
|
|
4820
|
+
"--lt-card-radius": "var(--lt-spacing-2)"
|
|
4821
|
+
},
|
|
4822
|
+
"checkbox": {
|
|
4823
|
+
"--lt-checkbox-size": "var(--lt-spacing-5)",
|
|
4824
|
+
"--lt-checkbox-radius": "var(--lt-spacing-1)"
|
|
4825
|
+
},
|
|
4826
|
+
"connection-status": {
|
|
4827
|
+
"--lt-connection-status-layer": "1000",
|
|
4828
|
+
"--lt-connection-status-padding": "var(--lt-spacing-2) var(--lt-spacing-4)"
|
|
4829
|
+
},
|
|
4830
|
+
"dialog": {
|
|
4831
|
+
"--lt-dialog-width": "min(32rem, 100%, calc(100vw - var(--lt-spacing-8)))",
|
|
4832
|
+
"--lt-dialog-padding": "var(--lt-spacing-5)",
|
|
4833
|
+
"--lt-dialog-radius": "var(--lt-spacing-2)",
|
|
4834
|
+
"--lt-dialog-layer": "40"
|
|
4835
|
+
},
|
|
4836
|
+
"divider": {
|
|
4837
|
+
"--lt-divider-space": "var(--lt-spacing-4)"
|
|
4838
|
+
},
|
|
4839
|
+
"error-summary": {
|
|
4840
|
+
"--lt-error-summary-padding": "var(--lt-spacing-4)",
|
|
4841
|
+
"--lt-error-summary-radius": "var(--lt-spacing-1)"
|
|
4842
|
+
},
|
|
4843
|
+
"fieldset": {
|
|
4844
|
+
"--lt-fieldset-gap": "var(--lt-spacing-2)"
|
|
4845
|
+
},
|
|
4846
|
+
"file-upload": {
|
|
4847
|
+
"--lt-file-upload-padding": "var(--lt-spacing-2)",
|
|
4848
|
+
"--lt-file-upload-radius": "var(--lt-spacing-1)"
|
|
4849
|
+
},
|
|
4850
|
+
"heading": {
|
|
4851
|
+
"--lt-heading-font-weight": "var(--lt-font-weight-bold)",
|
|
4852
|
+
"--lt-heading-line-height": "var(--lt-line-height-heading)"
|
|
4853
|
+
},
|
|
4854
|
+
"input": {
|
|
4855
|
+
"--lt-input-width": "100%",
|
|
4856
|
+
"--lt-input-padding": "var(--lt-spacing-2) var(--lt-spacing-3)",
|
|
4857
|
+
"--lt-input-radius": "var(--lt-spacing-1)"
|
|
4858
|
+
},
|
|
4859
|
+
"label": {
|
|
4860
|
+
"--lt-label-required-symbol": "\" *\"",
|
|
4861
|
+
"--lt-label-required-text": "\" (required)\"",
|
|
4862
|
+
"--lt-label-optional-text": "\" (optional)\""
|
|
4863
|
+
},
|
|
4864
|
+
"list": {
|
|
4865
|
+
"--lt-list-gap": "var(--lt-spacing-1)"
|
|
4866
|
+
},
|
|
4867
|
+
"pagination": {
|
|
4868
|
+
"--lt-pagination-gap": "var(--lt-spacing-1)",
|
|
4869
|
+
"--lt-pagination-size": "var(--lt-spacing-10)",
|
|
4870
|
+
"--lt-pagination-radius": "var(--lt-spacing-1)"
|
|
4871
|
+
},
|
|
4872
|
+
"paragraph": {
|
|
4873
|
+
"--lt-paragraph-line-height": "var(--lt-line-height-article)",
|
|
4874
|
+
"--lt-paragraph-width": "70ch",
|
|
4875
|
+
"--lt-paragraph-gap": "var(--lt-spacing-3)"
|
|
4876
|
+
},
|
|
4877
|
+
"popover": {
|
|
4878
|
+
"--lt-popover-width": "min(20rem, calc(100vw - var(--lt-spacing-8)))",
|
|
4879
|
+
"--lt-popover-padding": "var(--lt-spacing-3)",
|
|
4880
|
+
"--lt-popover-radius": "var(--lt-spacing-1)"
|
|
4881
|
+
},
|
|
4882
|
+
"progress": {
|
|
4883
|
+
"--lt-progress-height": "var(--lt-spacing-2)",
|
|
4884
|
+
"--lt-progress-border": "var(--lt-color-neutral-border)",
|
|
4885
|
+
"--lt-progress-radius": "var(--lt-spacing-1)",
|
|
4886
|
+
"--lt-progress-track": "var(--lt-color-neutral-surface)",
|
|
4887
|
+
"--lt-progress-fill": "var(--lt-color-accent-fill)"
|
|
4888
|
+
},
|
|
4889
|
+
"radio": {
|
|
4890
|
+
"--lt-radio-size": "var(--lt-spacing-5)"
|
|
4891
|
+
},
|
|
4892
|
+
"search": {
|
|
4893
|
+
"--lt-search-icon-space": "var(--lt-spacing-10)",
|
|
4894
|
+
"--lt-search-icon-size": "var(--lt-spacing-5)"
|
|
4895
|
+
},
|
|
4896
|
+
"select": {
|
|
4897
|
+
"--lt-select-width": "100%",
|
|
4898
|
+
"--lt-select-padding": "var(--lt-spacing-2) var(--lt-spacing-3)",
|
|
4899
|
+
"--lt-select-radius": "var(--lt-spacing-1)",
|
|
4900
|
+
"--lt-select-viewport-margin": "var(--lt-spacing-2)",
|
|
4901
|
+
"--lt-select-option-padding": "var(--lt-spacing-2) var(--lt-spacing-3)"
|
|
4902
|
+
},
|
|
4903
|
+
"session-timeout": {
|
|
4904
|
+
"--lt-session-timeout-width": "26rem",
|
|
4905
|
+
"--lt-session-timeout-padding": "var(--lt-spacing-5)",
|
|
4906
|
+
"--lt-session-timeout-radius": "var(--lt-spacing-1)"
|
|
4907
|
+
},
|
|
4908
|
+
"skeleton": {
|
|
4909
|
+
"--lt-skeleton-height": "var(--lt-spacing-4)",
|
|
4910
|
+
"--lt-skeleton-radius": "var(--lt-spacing-1)"
|
|
4911
|
+
},
|
|
4912
|
+
"skip-link": {
|
|
4913
|
+
"--lt-skip-link-padding": "var(--lt-spacing-2) var(--lt-spacing-4)",
|
|
4914
|
+
"--lt-skip-link-radius": "var(--lt-spacing-1)"
|
|
4915
|
+
},
|
|
4916
|
+
"spinner": {
|
|
4917
|
+
"--lt-spinner-size": "var(--lt-spacing-6)",
|
|
4918
|
+
"--lt-spinner-thickness": "2px"
|
|
4919
|
+
},
|
|
4920
|
+
"suggestion": {
|
|
4921
|
+
"--lt-suggestion-max-height": "calc(var(--lt-spacing-10) * 4)",
|
|
4922
|
+
"--lt-suggestion-radius": "var(--lt-spacing-1)",
|
|
4923
|
+
"--lt-suggestion-option-padding": "var(--lt-spacing-2) var(--lt-spacing-3)"
|
|
4924
|
+
},
|
|
4925
|
+
"switch": {
|
|
4926
|
+
"--lt-switch-width": "var(--lt-spacing-10)",
|
|
4927
|
+
"--lt-switch-height": "var(--lt-spacing-6)"
|
|
4928
|
+
},
|
|
4929
|
+
"table": {
|
|
4930
|
+
"--lt-table-cell-padding": "var(--lt-spacing-2) var(--lt-spacing-3)"
|
|
4931
|
+
},
|
|
4932
|
+
"tabs": {
|
|
4933
|
+
"--lt-tabs-gap": "var(--lt-spacing-1)",
|
|
4934
|
+
"--lt-tabs-padding": "var(--lt-spacing-2) var(--lt-spacing-4)",
|
|
4935
|
+
"--lt-tabs-panel-space": "var(--lt-spacing-4)"
|
|
4936
|
+
},
|
|
4937
|
+
"tag": {
|
|
4938
|
+
"--lt-tag-padding": "var(--lt-spacing-0-5) var(--lt-spacing-2)",
|
|
4939
|
+
"--lt-tag-radius": "var(--lt-spacing-1)"
|
|
4940
|
+
},
|
|
4941
|
+
"textarea": {
|
|
4942
|
+
"--lt-textarea-min-height": "calc(var(--lt-spacing-4) * 5)",
|
|
4943
|
+
"--lt-textarea-padding": "var(--lt-spacing-2) var(--lt-spacing-3)",
|
|
4944
|
+
"--lt-textarea-radius": "var(--lt-spacing-1)"
|
|
4945
|
+
},
|
|
4946
|
+
"toast": {
|
|
4947
|
+
"--lt-toast-space": "var(--lt-spacing-4)",
|
|
4948
|
+
"--lt-toast-layer": "60",
|
|
4949
|
+
"--lt-toast-width": "min(24rem, calc(100vw - var(--lt-spacing-8)))",
|
|
4950
|
+
"--lt-toast-padding": "var(--lt-spacing-3) var(--lt-spacing-4)",
|
|
4951
|
+
"--lt-toast-radius": "var(--lt-spacing-1)"
|
|
4952
|
+
},
|
|
4953
|
+
"toggle-group": {
|
|
4954
|
+
"--lt-toggle-group-radius": "var(--lt-spacing-1)",
|
|
4955
|
+
"--lt-toggle-group-height": "var(--lt-spacing-10)",
|
|
4956
|
+
"--lt-toggle-group-padding": "0 var(--lt-spacing-4)"
|
|
4957
|
+
},
|
|
4958
|
+
"tooltip": {
|
|
4959
|
+
"--lt-tooltip-width": "16rem",
|
|
4960
|
+
"--lt-tooltip-padding": "var(--lt-spacing-1) var(--lt-spacing-2)",
|
|
4961
|
+
"--lt-tooltip-radius": "var(--lt-spacing-1)"
|
|
4962
|
+
}
|
|
4963
|
+
}
|
|
4964
|
+
}
|
|
4965
|
+
}
|