lintje 0.3.0 → 0.4.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/README.md +1 -1
- package/dist-elements/actions.js +1 -1
- package/dist-elements/chunks/{base-CbmWxUig.js → base-DRGvkF-r.js} +90 -87
- package/dist-elements/chunks/{controls-DxmnDSBr.js → controls-_4ac1Lpz.js} +1 -1
- package/dist-elements/chunks/{date-format-mHtZyBys.js → date-format-DxP9yfDp.js} +1 -1
- package/dist-elements/chunks/{dialog-DChINFxD.js → dialog-B7aRBtjy.js} +2 -2
- package/dist-elements/chunks/{disclosure-DLkXPUpV.js → disclosure-DirPLy2E.js} +1 -1
- package/dist-elements/chunks/download-C68kcwPj.js +206 -0
- package/dist-elements/chunks/{focus-trap-BwOxE5BX.js → focus-trap-Dv8zu64A.js} +1 -1
- package/dist-elements/chunks/input-BGMLam-O.js +195 -0
- package/dist-elements/chunks/input-lQTmOMOz.js +4 -0
- package/dist-elements/chunks/{player-B8QXJ0Z5.js → player-BApadXr8.js} +2 -2
- package/dist-elements/chunks/{sentence-B19AyZBS.js → sentence-0wO85ZdJ.js} +1 -1
- package/dist-elements/chunks/{stagger-BHoOgy0g.js → stagger-BB_gcxBI.js} +55 -47
- package/dist-elements/content.js +1 -0
- package/dist-elements/core.js +1 -1
- package/dist-elements/custom-elements.json +7635 -6802
- package/dist-elements/data-types.json +130 -28
- package/dist-elements/feedback.js +1 -1
- package/dist-elements/guides/loading.md +3 -3
- package/dist-elements/inputs.js +1 -0
- package/dist-elements/layout.js +1 -1
- package/dist-elements/lintje.js +6301 -5732
- package/dist-elements/overlays.js +1 -1
- package/dist-elements/tag/activity-log.js +1 -1
- package/dist-elements/tag/ai-label.js +1 -1
- package/dist-elements/tag/announcement.js +2 -2
- package/dist-elements/tag/app-search.js +2 -2
- package/dist-elements/tag/audio-player.js +2 -2
- package/dist-elements/tag/badge.d.ts +1 -1
- package/dist-elements/tag/badge.js +1 -1
- package/dist-elements/tag/breadcrumbs.js +1 -1
- package/dist-elements/tag/button.d.ts +1 -1
- package/dist-elements/tag/button.js +1 -1
- package/dist-elements/tag/card-list.js +1 -1
- package/dist-elements/tag/card.js +1 -1
- package/dist-elements/tag/chart.js +721 -406
- package/dist-elements/tag/chat-answer.js +2 -2
- package/dist-elements/tag/chat-composer.js +1 -1
- package/dist-elements/tag/chat-message.js +1 -1
- package/dist-elements/tag/chat-strip.js +1 -1
- package/dist-elements/tag/chat-suggestions.js +1 -1
- package/dist-elements/tag/chat.js +1 -1
- package/dist-elements/tag/checkbox-group.js +3 -2
- package/dist-elements/tag/checkbox.js +3 -2
- package/dist-elements/tag/code.js +1 -1
- package/dist-elements/tag/combobox.js +11 -10
- package/dist-elements/tag/conflict-alert.js +1 -1
- package/dist-elements/tag/copy-button.js +1 -1
- package/dist-elements/tag/data-table.js +137 -137
- package/dist-elements/tag/date-input.js +14 -13
- package/dist-elements/tag/date-range.js +5 -4
- package/dist-elements/tag/description-list.js +1 -1
- package/dist-elements/tag/dialog.js +4 -4
- package/dist-elements/tag/document-viewer.js +1 -1
- package/dist-elements/tag/drawer.js +3 -3
- package/dist-elements/tag/empty-state.js +1 -1
- package/dist-elements/tag/error-page.js +1 -1
- package/dist-elements/tag/error-summary.js +2 -2
- package/dist-elements/tag/expander.js +2 -2
- package/dist-elements/tag/explainer.js +2 -2
- package/dist-elements/tag/field.js +1 -1
- package/dist-elements/tag/file-upload.js +4 -3
- package/dist-elements/tag/filter-bar.js +2 -2
- package/dist-elements/tag/filter-sheet.js +3 -3
- package/dist-elements/tag/filter-zone.js +2 -2
- package/dist-elements/tag/find.d.ts +1 -0
- package/dist-elements/tag/find.js +128 -0
- package/dist-elements/tag/footer.js +1 -1
- package/dist-elements/tag/form-actions.js +2 -2
- package/dist-elements/tag/form-section.js +2 -2
- package/dist-elements/tag/form.js +2 -2
- package/dist-elements/tag/gallery.js +1 -1
- package/dist-elements/tag/grid-item.d.ts +1 -1
- package/dist-elements/tag/grid-item.js +1 -1
- package/dist-elements/tag/grid.d.ts +1 -1
- package/dist-elements/tag/grid.js +1 -1
- package/dist-elements/tag/hero.js +1 -1
- package/dist-elements/tag/highlight.js +1 -1
- package/dist-elements/tag/icon-button.d.ts +1 -1
- package/dist-elements/tag/icon-button.js +1 -1
- package/dist-elements/tag/icon.d.ts +1 -1
- package/dist-elements/tag/icon.js +1 -1
- package/dist-elements/tag/job-list.js +1 -1
- package/dist-elements/tag/kpi-row.js +1 -1
- package/dist-elements/tag/kpi.js +61 -61
- package/dist-elements/tag/level-meter.js +1 -1
- package/dist-elements/tag/list.js +2 -2
- package/dist-elements/tag/logo.js +1 -1
- package/dist-elements/tag/map.js +148 -142
- package/dist-elements/tag/menu-button.js +1 -1
- package/dist-elements/tag/modal.js +2 -2
- package/dist-elements/tag/multiselect.js +4 -3
- package/dist-elements/tag/note.js +1 -1
- package/dist-elements/tag/notifications.js +2 -2
- package/dist-elements/tag/number-input.js +3 -2
- package/dist-elements/tag/page-header.js +1 -1
- package/dist-elements/tag/pagination.js +32 -32
- package/dist-elements/tag/popover.d.ts +1 -1
- package/dist-elements/tag/popover.js +1 -1
- package/dist-elements/tag/progress-bar.d.ts +1 -1
- package/dist-elements/tag/progress-bar.js +1 -1
- package/dist-elements/tag/prose.js +1 -1
- package/dist-elements/tag/qr-code.js +1 -1
- package/dist-elements/tag/radio-group.js +3 -2
- package/dist-elements/tag/range.js +3 -2
- package/dist-elements/tag/recording-status.js +1 -1
- package/dist-elements/tag/repeater.js +1 -1
- package/dist-elements/tag/segmented.js +3 -2
- package/dist-elements/tag/select.js +3 -2
- package/dist-elements/tag/shell.js +3 -3
- package/dist-elements/tag/skeleton.d.ts +1 -1
- package/dist-elements/tag/skeleton.js +1 -1
- package/dist-elements/tag/slot-picker.js +4 -3
- package/dist-elements/tag/sortable-list.js +1 -1
- package/dist-elements/tag/spinner.d.ts +1 -1
- package/dist-elements/tag/spinner.js +1 -1
- package/dist-elements/tag/split-pane.js +1 -1
- package/dist-elements/tag/status-dot.d.ts +1 -1
- package/dist-elements/tag/status-dot.js +1 -1
- package/dist-elements/tag/stepper.js +1 -1
- package/dist-elements/tag/streaming-text.js +1 -1
- package/dist-elements/tag/sub-nav.js +1 -1
- package/dist-elements/tag/tabs.js +1 -1
- package/dist-elements/tag/tag-input.js +11 -10
- package/dist-elements/tag/text-editor.js +3 -2
- package/dist-elements/tag/text-input.js +3 -2
- package/dist-elements/tag/textarea.js +3 -2
- package/dist-elements/tag/tile.d.ts +1 -1
- package/dist-elements/tag/tile.js +1 -1
- package/dist-elements/tag/time-input.js +7 -6
- package/dist-elements/tag/toast.js +2 -2
- package/dist-elements/tag/toggle.js +3 -2
- package/dist-elements/tag/toggletip.js +2 -2
- package/dist-elements/tag/token-value.d.ts +1 -0
- package/dist-elements/tag/token-value.js +75 -0
- package/dist-elements/tag/tooltip.d.ts +1 -1
- package/dist-elements/tag/tooltip.js +1 -1
- package/dist-elements/tag/transcript.js +1 -1
- package/dist-elements/tag/translator.js +1 -1
- package/dist-elements/tag/tree-view.js +1 -1
- package/dist-elements/tag/user-menu.js +1 -1
- package/dist-elements/tag/video-player.js +2 -2
- package/dist-elements/tokens.json +1244 -0
- package/dist-elements/types/bundle/actions.d.ts +3 -3
- package/dist-elements/types/bundle/content.d.ts +1 -0
- package/dist-elements/types/bundle/feedback.d.ts +5 -5
- package/dist-elements/types/bundle/index.d.ts +0 -10
- package/dist-elements/types/bundle/inputs.d.ts +1 -0
- package/dist-elements/types/bundle/layout.d.ts +3 -3
- package/dist-elements/types/bundle/overlays.d.ts +2 -2
- package/dist-elements/types/categories.d.ts +4 -0
- package/dist-elements/types/{primitives → components/actions}/button/button.d.ts +1 -1
- package/dist-elements/types/components/actions/copy-button/copy-button.d.ts +2 -2
- package/dist-elements/types/{icons → components/actions}/icon/icon.d.ts +2 -2
- package/dist-elements/types/{primitives → components/actions}/icon-button/icon-button.d.ts +1 -1
- package/dist-elements/types/components/actions/menu-button/menu-button.d.ts +3 -3
- package/dist-elements/types/components/actions/qr-code/qr-code.d.ts +1 -1
- package/dist-elements/types/components/charts/chart/chart.d.ts +1 -1
- package/dist-elements/types/components/charts/explainer/explainer.d.ts +1 -1
- package/dist-elements/types/components/charts/kpi/kpi.d.ts +3 -3
- package/dist-elements/types/components/charts/kpi-row/kpi-row.d.ts +1 -1
- package/dist-elements/types/components/charts/note/note.d.ts +1 -1
- package/dist-elements/types/components/chat/chat/chat.d.ts +1 -1
- package/dist-elements/types/components/chat/chat-answer/chat-answer.d.ts +3 -3
- package/dist-elements/types/components/chat/chat-composer/chat-composer.d.ts +2 -2
- package/dist-elements/types/components/chat/chat-message/chat-message.d.ts +1 -1
- package/dist-elements/types/components/content/audio-player/audio-player.d.ts +5 -5
- package/dist-elements/types/components/content/code/code.d.ts +1 -1
- package/dist-elements/types/components/content/document-viewer/document-viewer.d.ts +2 -2
- package/dist-elements/types/components/content/highlight/highlight.d.ts +1 -1
- package/dist-elements/types/components/content/prose/prose.d.ts +1 -1
- package/dist-elements/types/components/content/token-value/token-value.d.ts +42 -0
- package/dist-elements/types/components/content/transcript/transcript.d.ts +3 -3
- package/dist-elements/types/components/content/translator/translator.d.ts +1 -1
- package/dist-elements/types/components/content/video-player/video-player.d.ts +1 -1
- package/dist-elements/types/components/feedback/announcement/announcement.d.ts +2 -2
- package/dist-elements/types/{primitives → components/feedback}/badge/badge.d.ts +2 -2
- package/dist-elements/types/components/feedback/conflict-alert/conflict-alert.d.ts +1 -1
- package/dist-elements/types/components/feedback/empty-state/empty-state.d.ts +2 -2
- package/dist-elements/types/components/feedback/job-list/job-list.d.ts +1 -1
- package/dist-elements/types/{primitives → components/feedback}/progress-bar/progress-bar.d.ts +2 -2
- package/dist-elements/types/{primitives → components/feedback}/skeleton/skeleton.d.ts +1 -1
- package/dist-elements/types/{primitives → components/feedback}/spinner/spinner.d.ts +1 -1
- package/dist-elements/types/{primitives → components/feedback}/status-dot/status-dot.d.ts +2 -2
- package/dist-elements/types/components/feedback/streaming-text/streaming-text.d.ts +2 -2
- package/dist-elements/types/components/filters/filter-sheet/filter-sheet.d.ts +2 -2
- package/dist-elements/types/components/forms/error-summary/error-summary.d.ts +1 -1
- package/dist-elements/types/components/forms/form-actions/form-actions.d.ts +1 -1
- package/dist-elements/types/components/forms/repeater/repeater.d.ts +2 -2
- package/dist-elements/types/components/forms/stepper/stepper.d.ts +1 -1
- package/dist-elements/types/components/frame/app-search/app-search.d.ts +1 -1
- package/dist-elements/types/components/frame/notifications/notifications.d.ts +2 -2
- package/dist-elements/types/components/frame/page-header/page-header.d.ts +1 -1
- package/dist-elements/types/components/frame/shell/shell.d.ts +1 -1
- package/dist-elements/types/components/frame/user-menu/user-menu.d.ts +2 -2
- package/dist-elements/types/components/index.d.ts +43 -3
- package/dist-elements/types/components/inputs/combobox/combobox.d.ts +2 -2
- package/dist-elements/types/components/inputs/date-input/date-input.d.ts +1 -1
- package/dist-elements/types/components/inputs/date-range/date-range.d.ts +2 -2
- package/dist-elements/types/components/inputs/file-upload/file-upload.d.ts +2 -2
- package/dist-elements/types/components/inputs/find/find.d.ts +51 -0
- package/dist-elements/types/components/inputs/segmented/segmented.d.ts +1 -1
- package/dist-elements/types/components/inputs/shared/input.d.ts +1 -1
- package/dist-elements/types/components/inputs/tag-input/tag-input.d.ts +1 -1
- package/dist-elements/types/components/inputs/text-editor/text-editor.d.ts +2 -2
- package/dist-elements/types/components/inputs/text-input/text-input.d.ts +1 -1
- package/dist-elements/types/components/inputs/time-input/time-input.d.ts +1 -1
- package/dist-elements/types/components/layout/expander/expander.d.ts +1 -1
- package/dist-elements/types/{primitives → components/layout}/grid/grid.d.ts +1 -1
- package/dist-elements/types/{primitives → components/layout}/grid-item/grid-item.d.ts +1 -1
- package/dist-elements/types/components/layout/tabs/tabs.d.ts +1 -1
- package/dist-elements/types/{primitives → components/layout}/tile/tile.d.ts +6 -6
- package/dist-elements/types/components/map/map/map.d.ts +2 -2
- package/dist-elements/types/components/overlays/modal/modal.d.ts +2 -2
- package/dist-elements/types/{primitives → components/overlays}/popover/popover.d.ts +2 -2
- package/dist-elements/types/components/overlays/toggletip/toggletip.d.ts +1 -1
- package/dist-elements/types/{primitives → components/overlays}/tooltip/tooltip.d.ts +2 -2
- package/dist-elements/types/components/shared/charts/index.d.ts +1 -0
- package/dist-elements/types/components/shared/charts/kinds.d.ts +6 -0
- package/dist-elements/types/components/shared/charts/map-chart/map-chart.d.ts +1 -1
- package/dist-elements/types/components/shared/charts/radar-chart/radar-chart.d.ts +31 -0
- package/dist-elements/types/components/shared/charts/shared/axes.d.ts +3 -1
- package/dist-elements/types/components/shared/charts/shared/controller.d.ts +5 -0
- package/dist-elements/types/components/shared/charts/shared/types.d.ts +33 -0
- package/dist-elements/types/components/shared/content-tile.d.ts +1 -1
- package/dist-elements/types/components/{forms/form → shared}/controls.d.ts +3 -2
- package/dist-elements/types/components/shared/overflow.d.ts +1 -1
- package/dist-elements/types/components/tables/activity-log/activity-log.d.ts +1 -1
- package/dist-elements/types/components/tables/card/card.d.ts +4 -4
- package/dist-elements/types/components/tables/data-table/actions.d.ts +1 -1
- package/dist-elements/types/components/tables/data-table/data-table.d.ts +3 -3
- package/dist-elements/types/components/tables/data-table/editing.d.ts +1 -1
- package/dist-elements/types/components/tables/data-table/filters.d.ts +3 -3
- package/dist-elements/types/components/tables/description-list/description-list.d.ts +2 -2
- package/dist-elements/types/components/tables/list/list.d.ts +4 -4
- package/dist-elements/types/components/tables/tree-view/tree-view.d.ts +1 -1
- package/dist-elements/types/core/focus.d.ts +1 -1
- package/dist-elements/types/types.d.ts +7 -7
- package/package.json +1 -1
- package/dist-elements/chunks/download-Ct9q2anY.js +0 -206
- package/dist-elements/chunks/input-CRW_exv_.js +0 -195
- package/dist-elements/types/primitives/index.d.ts +0 -35
- /package/dist-elements/types/components/content/{audio-player → shared}/playback.d.ts +0 -0
- /package/dist-elements/types/components/content/{audio-player → shared}/player.d.ts +0 -0
- /package/dist-elements/types/{primitives → components}/shared/announcement-block.d.ts +0 -0
- /package/dist-elements/types/components/{inputs/date-input → shared}/date-format.d.ts +0 -0
- /package/dist-elements/types/{primitives → components}/shared/empty-state-block.d.ts +0 -0
- /package/dist-elements/types/{primitives → components}/shared/grid-item-element.d.ts +0 -0
- /package/dist-elements/types/{primitives → components}/shared/length.d.ts +0 -0
- /package/dist-elements/types/{primitives → components}/shared/place.d.ts +0 -0
- /package/dist-elements/types/{primitives → components}/shared/tone.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** The actions category (Knoppen en iconen): importing it defines its tags. */
|
|
2
|
-
import '../
|
|
3
|
-
import '../
|
|
2
|
+
import '../components/actions/button/button.js';
|
|
3
|
+
import '../components/actions/icon-button/icon-button.js';
|
|
4
4
|
import '../components/actions/menu-button/menu-button.js';
|
|
5
5
|
import '../components/actions/copy-button/copy-button.js';
|
|
6
6
|
import '../components/actions/qr-code/qr-code.js';
|
|
7
|
-
import '../
|
|
7
|
+
import '../components/actions/icon/icon.js';
|
|
8
8
|
import '../components/actions/logo/logo.js';
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import '../components/content/prose/prose.js';
|
|
3
3
|
import '../components/content/code/code.js';
|
|
4
4
|
import '../components/content/highlight/highlight.js';
|
|
5
|
+
import '../components/content/token-value/token-value.js';
|
|
5
6
|
import '../components/content/translator/translator.js';
|
|
6
7
|
import '../components/content/audio-player/audio-player.js';
|
|
7
8
|
import '../components/content/video-player/video-player.js';
|
|
@@ -4,11 +4,11 @@ import '../components/feedback/toast/toast.js';
|
|
|
4
4
|
import '../components/feedback/conflict-alert/conflict-alert.js';
|
|
5
5
|
import '../components/feedback/empty-state/empty-state.js';
|
|
6
6
|
import '../components/feedback/error-page/error-page.js';
|
|
7
|
-
import '../
|
|
8
|
-
import '../
|
|
9
|
-
import '../
|
|
10
|
-
import '../
|
|
11
|
-
import '../
|
|
7
|
+
import '../components/feedback/badge/badge.js';
|
|
8
|
+
import '../components/feedback/status-dot/status-dot.js';
|
|
9
|
+
import '../components/feedback/spinner/spinner.js';
|
|
10
|
+
import '../components/feedback/skeleton/skeleton.js';
|
|
11
|
+
import '../components/feedback/progress-bar/progress-bar.js';
|
|
12
12
|
import '../components/feedback/job-list/job-list.js';
|
|
13
13
|
import '../components/feedback/streaming-text/streaming-text.js';
|
|
14
14
|
import '../components/feedback/ai-label/ai-label.js';
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The bundle: one module a plain HTML page includes; every `lintje-…` tag is registered.
|
|
3
|
-
* `define()` leaves a tag another copy already defined alone. `tokens.css` and `fonts.css` stay
|
|
4
|
-
* files: themes are document-level and a shadow root ignores `@font-face`. A page takes this
|
|
5
|
-
* module or the category/tag entries (`core.ts`, `forms.ts`, `tag/<name>.js`), never both: they
|
|
6
|
-
* do not share module state.
|
|
7
|
-
*/
|
|
8
|
-
import '../icons/icon/icon.js';
|
|
9
1
|
export * from './core.js';
|
|
10
|
-
export { LintjeIcon, ICON_NAMES } from '../icons/icon/icon.js';
|
|
11
|
-
export * from '../primitives/index.js';
|
|
12
2
|
export * from '../components/index.js';
|
|
13
3
|
export * from '../components/shared/charts/index.js';
|
|
14
4
|
export { CATEGORIES, SECTIONS, tagsOf } from '../categories.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** The inputs category (Invoervelden): importing it defines its tags. */
|
|
2
2
|
import '../components/inputs/field/field.js';
|
|
3
3
|
import '../components/inputs/text-input/text-input.js';
|
|
4
|
+
import '../components/inputs/find/find.js';
|
|
4
5
|
import '../components/inputs/textarea/textarea.js';
|
|
5
6
|
import '../components/inputs/number-input/number-input.js';
|
|
6
7
|
import '../components/inputs/select/select.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** The layout category (Indeling): importing it defines its tags. */
|
|
2
|
-
import '../
|
|
3
|
-
import '../
|
|
4
|
-
import '../
|
|
2
|
+
import '../components/layout/grid/grid.js';
|
|
3
|
+
import '../components/layout/grid-item/grid-item.js';
|
|
4
|
+
import '../components/layout/tile/tile.js';
|
|
5
5
|
import '../components/layout/tabs/tabs.js';
|
|
6
6
|
import '../components/layout/expander/expander.js';
|
|
7
7
|
import '../components/layout/split-pane/split-pane.js';
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import '../components/overlays/modal/modal.js';
|
|
3
3
|
import '../components/overlays/dialog/dialog.js';
|
|
4
4
|
import '../components/overlays/drawer/drawer.js';
|
|
5
|
-
import '../
|
|
6
|
-
import '../
|
|
5
|
+
import '../components/overlays/popover/popover.js';
|
|
6
|
+
import '../components/overlays/tooltip/tooltip.js';
|
|
7
7
|
import '../components/overlays/toggletip/toggletip.js';
|
|
@@ -9,9 +9,13 @@ export interface Category {
|
|
|
9
9
|
intro: string;
|
|
10
10
|
/** Tags without `lintje-`, or the id of a style guide section that shows no single tag. */
|
|
11
11
|
elements: readonly string[];
|
|
12
|
+
/** The composite tags among `elements`; every other tag is a building block. */
|
|
13
|
+
composite?: readonly string[];
|
|
12
14
|
}
|
|
13
15
|
export declare const CATEGORIES: readonly Category[];
|
|
14
16
|
/** The style guide's sections that show no single tag. */
|
|
15
17
|
export declare const SECTIONS: readonly string[];
|
|
18
|
+
/** Every composite tag, with its prefix. */
|
|
19
|
+
export declare const COMPOSITE: readonly string[];
|
|
16
20
|
/** A category's tags, with their prefix. */
|
|
17
21
|
export declare const tagsOf: (category: Category) => string[];
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* there is a property; focusing the host focuses the inner control.
|
|
7
7
|
*/
|
|
8
8
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
9
|
-
import { LintjeElement } from '
|
|
9
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
10
10
|
export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'link' | 'danger' | 'danger-secondary';
|
|
11
11
|
export type ButtonSize = 'regular' | 'compact' | 'chrome';
|
|
12
12
|
export declare class LintjeButton extends LintjeElement {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
11
11
|
import { LintjeElement } from '../../../core/element.js';
|
|
12
|
-
import '
|
|
13
|
-
import '
|
|
12
|
+
import '../button/button.js';
|
|
13
|
+
import '../icon-button/icon-button.js';
|
|
14
14
|
import '../../feedback/toast/toast.js';
|
|
15
15
|
export declare class LintjeCopyButton extends LintjeElement {
|
|
16
16
|
static styles: import("lit").CSSResult[];
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* through. It takes `src`, else the register, else a loaded file; without any it draws nothing.
|
|
6
6
|
*/
|
|
7
7
|
import { nothing, type TemplateResult } from 'lit';
|
|
8
|
-
import { LintjeElement } from '
|
|
9
|
-
import { ICONS, type IconGlyph, type IconName } from '
|
|
8
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
9
|
+
import { ICONS, type IconGlyph, type IconName } from '../../../icons/register.js';
|
|
10
10
|
export type { IconName, IconGlyph };
|
|
11
11
|
export { ICONS };
|
|
12
12
|
/** The names the bundle carries; every other name is fetched. */
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* `disabled` keeps it focusable but swallows the press: no listener on the host sees it.
|
|
6
6
|
*/
|
|
7
7
|
import { type TemplateResult } from 'lit';
|
|
8
|
-
import { LintjeElement } from '
|
|
8
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
9
9
|
export type IconButtonVariant = 'flat' | 'outlined' | 'tile';
|
|
10
10
|
export declare class LintjeIconButton extends LintjeElement {
|
|
11
11
|
static styles: import("lit").CSSResult[];
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
11
11
|
import { LintjeElement } from '../../../core/element.js';
|
|
12
|
-
import '
|
|
13
|
-
import '
|
|
14
|
-
import '
|
|
12
|
+
import '../../overlays/popover/popover.js';
|
|
13
|
+
import '../../feedback/spinner/spinner.js';
|
|
14
|
+
import '../../overlays/tooltip/tooltip.js';
|
|
15
15
|
export interface MenuItem {
|
|
16
16
|
/** What `lintje-action` carries. */
|
|
17
17
|
value: string;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
11
11
|
import { LintjeElement } from '../../../core/element.js';
|
|
12
|
-
import '
|
|
12
|
+
import '../button/button.js';
|
|
13
13
|
import '../../feedback/toast/toast.js';
|
|
14
14
|
/** The code of `text` as an SVG of its dark modules, one path of horizontal runs. */
|
|
15
15
|
export declare function codeImage(text: string, colour: string): string;
|
|
@@ -13,7 +13,7 @@ import { LintjeContentTileElement } from '../../shared/content-tile.js';
|
|
|
13
13
|
import '../../feedback/announcement/announcement.js';
|
|
14
14
|
import '../../tables/data-table/data-table.js';
|
|
15
15
|
import '../../inputs/segmented/segmented.js';
|
|
16
|
-
import '
|
|
16
|
+
import '../../layout/tile/tile.js';
|
|
17
17
|
import type { ChartData } from '../../../types.js';
|
|
18
18
|
type ChartView = 'chart' | 'table';
|
|
19
19
|
export declare class LintjeChart extends LintjeContentTileElement {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { nothing, type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
8
8
|
import { type FrameSettings } from '../../../core/element.js';
|
|
9
|
-
import { LintjeGridItemElement } from '
|
|
9
|
+
import { LintjeGridItemElement } from '../../shared/grid-item-element.js';
|
|
10
10
|
import type { ExplainerData } from '../../../types.js';
|
|
11
11
|
export declare class LintjeExplainer extends LintjeGridItemElement {
|
|
12
12
|
#private;
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* `prefers-reduced-motion` both stand at once.
|
|
6
6
|
*/
|
|
7
7
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
8
|
-
import { LintjeGridItemElement } from '
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
8
|
+
import { LintjeGridItemElement } from '../../shared/grid-item-element.js';
|
|
9
|
+
import '../../feedback/status-dot/status-dot.js';
|
|
10
|
+
import '../../feedback/skeleton/skeleton.js';
|
|
11
11
|
import type { KpiGauge, KpiItem, KpiSparkline, ContentStateKind, KpiTrend, KpiVariable } from '../../../types.js';
|
|
12
12
|
type Point = [number, number];
|
|
13
13
|
/** The points of each unbroken run of values: a `null` ends a run (rule 15). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** `<lintje-kpi-row>` — the KPI row: one grid, the KPIs staggered in from left to right. */
|
|
2
2
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
3
3
|
import { type FrameSettings } from '../../../core/element.js';
|
|
4
|
-
import { LintjeGridItemElement } from '
|
|
4
|
+
import { LintjeGridItemElement } from '../../shared/grid-item-element.js';
|
|
5
5
|
import '../kpi/kpi.js';
|
|
6
6
|
import type { KpiRowData } from '../../../types.js';
|
|
7
7
|
export declare class LintjeKpiRow extends LintjeGridItemElement {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** `<lintje-note>` — the analyst's note ("Toelichting analist"). */
|
|
2
2
|
import { nothing, type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
3
3
|
import { type FrameSettings } from '../../../core/element.js';
|
|
4
|
-
import { LintjeGridItemElement } from '
|
|
4
|
+
import { LintjeGridItemElement } from '../../shared/grid-item-element.js';
|
|
5
5
|
import type { NoteData } from '../../../types.js';
|
|
6
6
|
export declare class LintjeNote extends LintjeGridItemElement {
|
|
7
7
|
static styles: import("lit").CSSResult[];
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { nothing, type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
14
14
|
import { LintjeElement, type FrameSettings } from '../../../core/element.js';
|
|
15
|
-
import '
|
|
15
|
+
import '../../actions/button/button.js';
|
|
16
16
|
import '../chat-answer/chat-answer.js';
|
|
17
17
|
import '../chat-composer/chat-composer.js';
|
|
18
18
|
import '../chat-message/chat-message.js';
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
13
13
|
import { LintjeElement } from '../../../core/element.js';
|
|
14
|
-
import '
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
14
|
+
import '../../actions/button/button.js';
|
|
15
|
+
import '../../actions/icon-button/icon-button.js';
|
|
16
|
+
import '../../feedback/spinner/spinner.js';
|
|
17
17
|
import '../../feedback/announcement/announcement.js';
|
|
18
18
|
import '../../charts/chart/chart.js';
|
|
19
19
|
import '../chat-strip/chat-strip.js';
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
14
14
|
import { LintjeElement } from '../../../core/element.js';
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
15
|
+
import '../../actions/button/button.js';
|
|
16
|
+
import '../../actions/icon-button/icon-button.js';
|
|
17
17
|
import '../../inputs/multiselect/multiselect.js';
|
|
18
18
|
import '../../inputs/radio-group/radio-group.js';
|
|
19
19
|
import type { ChatAnswerForm, ChatDraftTerms, ChatSourceData, ChatTermData } from '../../../types.js';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
12
12
|
import { LintjeElement } from '../../../core/element.js';
|
|
13
|
-
import '
|
|
13
|
+
import '../../actions/icon-button/icon-button.js';
|
|
14
14
|
import '../chat-composer/chat-composer.js';
|
|
15
15
|
import type { ChatSourceData, ChatTermData, ChatTermRange } from '../../../types.js';
|
|
16
16
|
export declare class LintjeChatMessage extends LintjeElement {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
* `number` (seconds: the reader moved the position), `lintje-play`, `lintje-pause`.
|
|
9
9
|
*/
|
|
10
10
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
11
|
+
import '../../actions/button/button.js';
|
|
12
|
+
import '../../feedback/skeleton/skeleton.js';
|
|
13
13
|
import '../../feedback/announcement/announcement.js';
|
|
14
14
|
import '../../actions/menu-button/menu-button.js';
|
|
15
|
-
import { type SpeakerTurn } from '
|
|
16
|
-
import { LintjePlayerElement } from '
|
|
17
|
-
export type { SpeakerTurn } from '
|
|
15
|
+
import { type SpeakerTurn } from '../shared/playback.js';
|
|
16
|
+
import { LintjePlayerElement } from '../shared/player.js';
|
|
17
|
+
export type { SpeakerTurn } from '../shared/playback.js';
|
|
18
18
|
export declare class LintjeAudioPlayer extends LintjePlayerElement {
|
|
19
19
|
static styles: import("lit").CSSResult[];
|
|
20
20
|
static properties: PropertyDeclarations;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* It scrolls sideways by default, because a broken line is a changed line. No syntax colouring.
|
|
5
5
|
*/
|
|
6
6
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
7
|
-
import { LintjeGridItemElement } from '
|
|
7
|
+
import { LintjeGridItemElement } from '../../shared/grid-item-element.js';
|
|
8
8
|
export declare class LintjeCode extends LintjeGridItemElement {
|
|
9
9
|
static styles: import("lit").CSSResult;
|
|
10
10
|
static properties: PropertyDeclarations;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
13
13
|
import { LintjeElement } from '../../../core/element.js';
|
|
14
|
-
import '
|
|
15
|
-
import '
|
|
14
|
+
import '../../actions/button/button.js';
|
|
15
|
+
import '../../feedback/skeleton/skeleton.js';
|
|
16
16
|
import '../../feedback/empty-state/empty-state.js';
|
|
17
17
|
export type ZoomLevel = number | 'fit';
|
|
18
18
|
export declare const ZOOM_MIN = 50;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
9
9
|
import { LintjeElement } from '../../../core/element.js';
|
|
10
|
-
import '
|
|
10
|
+
import '../../overlays/tooltip/tooltip.js';
|
|
11
11
|
export type HighlightKind = 'uncertain' | 'term' | 'match' | 'added' | 'removed';
|
|
12
12
|
export declare class LintjeHighlight extends LintjeElement {
|
|
13
13
|
static styles: import("lit").CSSResult;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* stands.
|
|
6
6
|
*/
|
|
7
7
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
8
|
-
import { LintjeGridItemElement } from '
|
|
8
|
+
import { LintjeGridItemElement } from '../../shared/grid-item-element.js';
|
|
9
9
|
export type ProseTone = 'default' | 'muted';
|
|
10
10
|
export declare class LintjeProse extends LintjeGridItemElement {
|
|
11
11
|
static styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `<lintje-token-value>` — what a design token computes to, here and now: a colour as a swatch
|
|
3
|
+
* and hex, a length in rem also in px, a text style as weight, size and line height.
|
|
4
|
+
*
|
|
5
|
+
* The value is read from the computed style, since a token ends in a `color-mix()` or an
|
|
6
|
+
* `oklch()` of the theme's `--primary`. A change of mode redraws it like any element; a change
|
|
7
|
+
* of theme is watched on the document.
|
|
8
|
+
*/
|
|
9
|
+
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
10
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
11
|
+
export declare const NO_VALUE = "\u2014";
|
|
12
|
+
/**
|
|
13
|
+
* A computed sRGB colour as upper-case hex, with its alpha in percent when it is not opaque;
|
|
14
|
+
* `null` for anything else. Browsers compute to `rgb(14, 61, 110)` or `color(srgb 0.05 0.24 0.43)`.
|
|
15
|
+
*/
|
|
16
|
+
export declare function formatColour(computed: string): string | null;
|
|
17
|
+
export declare class LintjeTokenValue extends LintjeElement {
|
|
18
|
+
static styles: import("lit").CSSResult;
|
|
19
|
+
static properties: PropertyDeclarations;
|
|
20
|
+
/** The custom property to show, with its dashes: `--color-accent`. */
|
|
21
|
+
name?: string;
|
|
22
|
+
/** Without the swatch, where the colour already stands beside it, larger. */
|
|
23
|
+
noSwatch: boolean;
|
|
24
|
+
private observer?;
|
|
25
|
+
connectedCallback(): void;
|
|
26
|
+
disconnectedCallback(): void;
|
|
27
|
+
protected updated(): void;
|
|
28
|
+
/**
|
|
29
|
+
* Set on the nodes, not bound: the probe exists only after render, and a reactive property
|
|
30
|
+
* set from `updated()` would schedule a second render per reading.
|
|
31
|
+
*/
|
|
32
|
+
private reread;
|
|
33
|
+
/** The CSSOM keeps a valid declaration and drops the rest, so the probe tells what a value is. */
|
|
34
|
+
private colourOf;
|
|
35
|
+
private describe;
|
|
36
|
+
protected render(): TemplateResult;
|
|
37
|
+
}
|
|
38
|
+
declare global {
|
|
39
|
+
interface HTMLElementTagNameMap {
|
|
40
|
+
'lintje-token-value': LintjeTokenValue;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
15
15
|
import { LintjeElement } from '../../../core/element.js';
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
16
|
+
import '../../actions/button/button.js';
|
|
17
|
+
import '../../actions/icon-button/icon-button.js';
|
|
18
18
|
import '../highlight/highlight.js';
|
|
19
19
|
import '../../inputs/textarea/textarea.js';
|
|
20
20
|
import '../../actions/menu-button/menu-button.js';
|
|
21
21
|
import type { MenuEntry } from '../../actions/menu-button/menu-button.js';
|
|
22
|
-
import { type BadgeTone } from '
|
|
22
|
+
import { type BadgeTone } from '../../feedback/badge/badge.js';
|
|
23
23
|
export interface TranscriptSegment {
|
|
24
24
|
id: string;
|
|
25
25
|
/** When it starts, in seconds. */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
13
13
|
import { LintjeElement } from '../../../core/element.js';
|
|
14
14
|
import '../../inputs/textarea/textarea.js';
|
|
15
|
-
import '
|
|
15
|
+
import '../../actions/icon-button/icon-button.js';
|
|
16
16
|
export declare class LintjeTranslator extends LintjeElement {
|
|
17
17
|
#private;
|
|
18
18
|
static styles: import("lit").CSSResult;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
13
13
|
import '../../actions/menu-button/menu-button.js';
|
|
14
|
-
import { LintjePlayerElement } from '../
|
|
14
|
+
import { LintjePlayerElement } from '../shared/player.js';
|
|
15
15
|
export interface TimedText {
|
|
16
16
|
start: number;
|
|
17
17
|
text: string;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { nothing, type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
9
9
|
import { type FrameSettings } from '../../../core/element.js';
|
|
10
|
-
import { LintjeGridItemElement } from '
|
|
11
|
-
import '
|
|
10
|
+
import { LintjeGridItemElement } from '../../shared/grid-item-element.js';
|
|
11
|
+
import '../../layout/tile/tile.js';
|
|
12
12
|
import type { AnnouncementViewData } from '../../../types.js';
|
|
13
13
|
export declare class LintjeAnnouncement extends LintjeGridItemElement {
|
|
14
14
|
static styles: import("lit").CSSResult[];
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* as `renderIcon()` / `iconStyles` do.
|
|
7
7
|
*/
|
|
8
8
|
import { type CSSResult, type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
9
|
-
import { LintjeElement } from '
|
|
10
|
-
import type { Tone } from '
|
|
9
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
10
|
+
import type { Tone } from '../../shared/tone.js';
|
|
11
11
|
export type BadgeTone = Tone;
|
|
12
12
|
export type BadgeVariant = 'label' | 'count' | 'unread';
|
|
13
13
|
export declare const badgeStyles: CSSResult;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
11
11
|
import { LintjeElement } from '../../../core/element.js';
|
|
12
|
-
import '
|
|
12
|
+
import '../../actions/button/button.js';
|
|
13
13
|
import '../announcement/announcement.js';
|
|
14
14
|
import '../../content/highlight/highlight.js';
|
|
15
15
|
import type { AnnouncementViewData } from '../../../types.js';
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
8
8
|
import { LintjeElement } from '../../../core/element.js';
|
|
9
|
-
import { type HeadingLevel } from '
|
|
10
|
-
export type { HeadingLevel } from '
|
|
9
|
+
import { type HeadingLevel } from '../../shared/empty-state-block.js';
|
|
10
|
+
export type { HeadingLevel } from '../../shared/empty-state-block.js';
|
|
11
11
|
export declare class LintjeEmptyState extends LintjeElement {
|
|
12
12
|
#private;
|
|
13
13
|
static styles: import("lit").CSSResult[];
|
|
@@ -13,7 +13,7 @@ import { type PropertyDeclarations, type PropertyValues, type TemplateResult } f
|
|
|
13
13
|
import { LintjeElement } from '../../../core/element.js';
|
|
14
14
|
import '../../tables/list/list.js';
|
|
15
15
|
import type { ListItem } from '../../tables/list/list.js';
|
|
16
|
-
import { type WorkState } from '
|
|
16
|
+
import { type WorkState } from '../../shared/tone.js';
|
|
17
17
|
export type JobState = WorkState;
|
|
18
18
|
export interface Job {
|
|
19
19
|
id: string;
|
package/dist-elements/types/{primitives → components/feedback}/progress-bar/progress-bar.d.ts
RENAMED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* the value text and marked by a glyph.
|
|
6
6
|
*/
|
|
7
7
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
8
|
-
import { LintjeElement } from '
|
|
9
|
-
import { type WorkState } from '
|
|
8
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
9
|
+
import { type WorkState } from '../../shared/tone.js';
|
|
10
10
|
export type ProgressState = Extract<WorkState, 'busy' | 'done' | 'error' | 'paused'>;
|
|
11
11
|
export declare class LintjeProgressBar extends LintjeElement {
|
|
12
12
|
static styles: import("lit").CSSResult[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** `<lintje-skeleton>` — the shimmer that holds a box while its content loads. */
|
|
2
2
|
import { type PropertyValues, type TemplateResult } from 'lit';
|
|
3
|
-
import { LintjeElement } from '
|
|
3
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
4
4
|
export declare class LintjeSkeleton extends LintjeElement {
|
|
5
5
|
static styles: import("lit").CSSResult;
|
|
6
6
|
static properties: {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* use `<lintje-skeleton>`.
|
|
4
4
|
*/
|
|
5
5
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
6
|
-
import { LintjeElement } from '
|
|
6
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
7
7
|
export type SpinnerSize = 16 | 24 | 40;
|
|
8
8
|
export declare class LintjeSpinner extends LintjeElement {
|
|
9
9
|
#private;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** `<lintje-status-dot>` — a status as a dot with its word; colour is never the only carrier. */
|
|
2
2
|
import { type TemplateResult } from 'lit';
|
|
3
|
-
import { LintjeElement } from '
|
|
4
|
-
import { type Tone } from '
|
|
3
|
+
import { LintjeElement } from '../../../core/element.js';
|
|
4
|
+
import { type Tone } from '../../shared/tone.js';
|
|
5
5
|
/** A source's delivery status: the element's own words, each a tone. */
|
|
6
6
|
export type StatusTone = 'complete' | 'delayed' | 'outage' | 'no-data';
|
|
7
7
|
export declare const STATUS_LABEL: Record<StatusTone, string>;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
11
11
|
import { LintjeElement } from '../../../core/element.js';
|
|
12
|
-
import '
|
|
13
|
-
import '
|
|
12
|
+
import '../../actions/button/button.js';
|
|
13
|
+
import '../spinner/spinner.js';
|
|
14
14
|
import { sentenceEnd } from '../../shared/sentence-end.js';
|
|
15
15
|
export { sentenceEnd };
|
|
16
16
|
export type StreamState = 'waiting' | 'streaming' | 'done' | 'stopped' | 'error';
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { nothing, type PropertyDeclarations, type TemplateResult, type PropertyValues } from 'lit';
|
|
10
10
|
import { LintjeElement } from '../../../core/element.js';
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
11
|
+
import '../../actions/button/button.js';
|
|
12
|
+
import '../../actions/icon-button/icon-button.js';
|
|
13
13
|
import { type SentencePart } from '../shared/sentence.js';
|
|
14
14
|
export declare class LintjeFilterSheet extends LintjeElement {
|
|
15
15
|
#private;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { nothing, type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
11
11
|
import { LintjeElement } from '../../../core/element.js';
|
|
12
|
-
import '
|
|
12
|
+
import '../../actions/button/button.js';
|
|
13
13
|
/** `field` is the field's `name`; without it (a field not on the page) the line is plain text. */
|
|
14
14
|
export interface ErrorSummaryItem {
|
|
15
15
|
field?: string;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type PropertyDeclarations, type TemplateResult } from 'lit';
|
|
9
9
|
import { LintjeElement } from '../../../core/element.js';
|
|
10
|
-
import '
|
|
10
|
+
import '../../actions/button/button.js';
|
|
11
11
|
export type FormActionsState = '' | 'dirty' | 'busy' | 'saved' | 'draft';
|
|
12
12
|
/** "10:42" from "10:42", an ISO moment or a `Date`; `''` for what is not a time. */
|
|
13
13
|
export declare function clockTime(value: string | Date | null | undefined): string;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
13
13
|
import { LintjeElement } from '../../../core/element.js';
|
|
14
|
-
import '
|
|
15
|
-
import '
|
|
14
|
+
import '../../actions/button/button.js';
|
|
15
|
+
import '../../actions/icon-button/icon-button.js';
|
|
16
16
|
/** The first focusable control inside an element, through the shadow roots on the way. */
|
|
17
17
|
export declare function firstFocusable(root: Element): HTMLElement | null;
|
|
18
18
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
12
12
|
import { LintjeElement } from '../../../core/element.js';
|
|
13
|
-
import '
|
|
13
|
+
import '../../feedback/progress-bar/progress-bar.js';
|
|
14
14
|
export type StepState = 'done' | 'current' | 'next';
|
|
15
15
|
export interface Step {
|
|
16
16
|
label: string;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { nothing, type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
13
13
|
import { LintjeElement } from '../../../core/element.js';
|
|
14
|
-
import '
|
|
14
|
+
import '../../feedback/spinner/spinner.js';
|
|
15
15
|
export interface SearchResult {
|
|
16
16
|
/** What `lintje-action` carries. */
|
|
17
17
|
id: string;
|