@zeyos/zx 5.5.0 → 5.7.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 +210 -0
- package/README.md +73 -7
- package/bin/zx-css.js +328 -0
- package/dist/types/components/account-menu/account-menu.d.ts +4 -2
- package/dist/types/components/activity-list/activity-list.d.ts +14 -8
- package/dist/types/components/agent-thread/ag-ui.d.ts +340 -0
- package/dist/types/components/agent-thread/agent-thread.d.ts +711 -0
- package/dist/types/components/agent-thread/ui-message-stream.d.ts +401 -0
- package/dist/types/components/app-sidebar/app-sidebar.d.ts +14 -8
- package/dist/types/components/approval-card/approval-card.d.ts +596 -0
- package/dist/types/components/avatar/avatar.d.ts +91 -4
- package/dist/types/components/block-view/block-view.d.ts +205 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +3 -3
- package/dist/types/components/calendar/calendar-model.d.ts +9 -2
- package/dist/types/components/calendar/calendar.d.ts +12 -4
- package/dist/types/components/chart/chart.d.ts +25 -13
- package/dist/types/components/code-editor/code-editor.d.ts +7 -2
- package/dist/types/components/composer/composer.d.ts +938 -0
- package/dist/types/components/composer/queue.d.ts +76 -0
- package/dist/types/components/copy/copy-button.d.ts +6 -4
- package/dist/types/components/copy/copy-input.d.ts +10 -6
- package/dist/types/components/datebox/date-range-box.d.ts +33 -0
- package/dist/types/components/datebox/placeholder.d.ts +7 -0
- package/dist/types/components/dock/dock.d.ts +12 -3
- package/dist/types/components/entity-ref/entity-ref.d.ts +5 -3
- package/dist/types/components/field-upload/field-upload.d.ts +3 -2
- package/dist/types/components/file-item/file-item.d.ts +3 -2
- package/dist/types/components/file-list/file-list.d.ts +14 -8
- package/dist/types/components/filter/filter-model.d.ts +31 -1
- package/dist/types/components/filter/filter.d.ts +20 -2
- package/dist/types/components/finder/finder.d.ts +14 -6
- package/dist/types/components/flag/flag.d.ts +99 -0
- package/dist/types/components/grid/grid.d.ts +1 -1
- package/dist/types/components/kanban-view/kanban-view.d.ts +8 -66
- package/dist/types/components/launcher/launcher.d.ts +2 -0
- package/dist/types/components/multi-value-editor/multi-value-editor.d.ts +3 -2
- package/dist/types/components/number-field/number-field.d.ts +17 -6
- package/dist/types/components/prompt-starters/prompt-starters.d.ts +107 -0
- package/dist/types/components/prose/prose.d.ts +9 -6
- package/dist/types/components/questionnaire/conditions.d.ts +270 -0
- package/dist/types/components/questionnaire/items.d.ts +52 -30
- package/dist/types/components/questionnaire/questionnaire.d.ts +44 -4
- package/dist/types/components/rating/rating.d.ts +5 -3
- package/dist/types/components/run-status/run-status.d.ts +393 -0
- package/dist/types/components/run-trace/run-trace.d.ts +624 -0
- package/dist/types/components/select/country.d.ts +106 -0
- package/dist/types/components/select/field-adapter.d.ts +2 -1
- package/dist/types/components/select/locale.d.ts +102 -0
- package/dist/types/components/select/select.d.ts +41 -2
- package/dist/types/components/slider/slider.d.ts +1 -0
- package/dist/types/components/sort-control/sort-control.d.ts +7 -3
- package/dist/types/components/source-list/source-list.d.ts +179 -0
- package/dist/types/components/split-view/split-view.d.ts +5 -3
- package/dist/types/components/surface/catalog.d.ts +260 -0
- package/dist/types/components/surface/elicit.d.ts +81 -0
- package/dist/types/components/surface/mcp.d.ts +165 -0
- package/dist/types/components/surface/schema.d.ts +314 -0
- package/dist/types/components/surface/stream.d.ts +118 -0
- package/dist/types/components/surface/surface.d.ts +718 -0
- package/dist/types/components/surface/text.d.ts +277 -0
- package/dist/types/components/surface/validate.d.ts +339 -0
- package/dist/types/components/table/table.d.ts +55 -3
- package/dist/types/components/table/window.d.ts +203 -0
- package/dist/types/components/toolbar/toolbar.d.ts +10 -6
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components/tree/tree.d.ts +20 -13
- package/dist/types/core/component.d.ts +10 -0
- package/dist/types/core/date.d.ts +8 -1
- package/dist/types/core/dom.d.ts +1 -0
- package/dist/types/core/http.d.ts +10 -0
- package/dist/types/core/i18n.d.ts +38 -0
- package/dist/types/core/messages.d.ts +479 -1
- package/dist/types/core/storage.d.ts +7 -2
- package/dist/types/elements/define.d.ts +21 -46
- package/dist/types/elements/definitions.d.ts +147 -0
- package/dist/types/elements/kit.d.ts +7 -0
- package/dist/types/elements/reflect.d.ts +6 -3
- package/dist/types/index.d.ts +18 -1
- package/dist/types/internal/agent-model.d.ts +587 -0
- package/dist/types/internal/date-locale.d.ts +7 -0
- package/dist/types/internal/highlight.d.ts +24 -0
- package/dist/types/internal/json-patch.d.ts +146 -0
- package/dist/types/internal/presence-loop.d.ts +148 -0
- package/dist/types/locales/de.d.ts +13 -0
- package/dist/types/locales/en.d.ts +2 -0
- package/dist/types/locales/index.d.ts +823 -0
- package/dist/types/zeyos/view.d.ts +8 -1
- package/dist/zx-zeyos.esm.js +20505 -18748
- package/dist/zx-zeyos.esm.min.js +5 -5
- package/dist/zx.core.css +1276 -0
- package/dist/zx.core.min.css +1 -0
- package/dist/zx.css +2424 -134
- package/dist/zx.esm.js +46167 -28468
- package/dist/zx.esm.min.js +40 -8
- package/dist/zx.global.js +46167 -28468
- package/dist/zx.global.min.js +40 -8
- package/dist/zx.layered.css +17302 -0
- package/dist/zx.layered.min.css +1 -0
- package/dist/zx.min.css +1 -1
- package/docs/agent-catalog.json +12501 -0
- package/docs/agent-surfaces.md +340 -0
- package/docs/api.json +2057 -166
- package/docs/llms.md +1458 -58
- package/docs/llms.txt +38 -8
- package/package.json +29 -6
- package/src/components/account-menu/account-menu.js +6 -3
- package/src/components/activity-item/activity-item.js +2 -1
- package/src/components/activity-list/activity-list.js +16 -10
- package/src/components/agent-thread/ag-ui.js +1439 -0
- package/src/components/agent-thread/agent-thread.css +417 -0
- package/src/components/agent-thread/agent-thread.js +1670 -0
- package/src/components/agent-thread/ui-message-stream.js +1281 -0
- package/src/components/app-sidebar/app-sidebar.js +18 -8
- package/src/components/approval-card/approval-card.css +289 -0
- package/src/components/approval-card/approval-card.js +1378 -0
- package/src/components/avatar/avatar.css +56 -1
- package/src/components/avatar/avatar.js +148 -26
- package/src/components/block-view/block-view.css +300 -0
- package/src/components/block-view/block-view.js +524 -0
- package/src/components/breadcrumb/breadcrumb.js +8 -5
- package/src/components/calendar/calendar-model.js +8 -2
- package/src/components/calendar/calendar.js +53 -18
- package/src/components/chart/chart.js +54 -23
- package/src/components/code-editor/code-editor.js +45 -8
- package/src/components/code-editor/field-adapter.js +1 -1
- package/src/components/composer/composer.css +482 -0
- package/src/components/composer/composer.js +1815 -0
- package/src/components/composer/queue.js +78 -0
- package/src/components/context-menu/context-menu.js +12 -1
- package/src/components/copy/copy-button.js +9 -7
- package/src/components/copy/copy-input.js +10 -6
- package/src/components/date-picker/date-picker.js +2 -1
- package/src/components/date-picker/date-range-picker.js +8 -7
- package/src/components/datebox/date-range-box.js +3 -9
- package/src/components/datebox/datebox.js +18 -21
- package/src/components/datebox/placeholder.js +18 -0
- package/src/components/dialog/dialog.js +1 -1
- package/src/components/dock/dock.js +34 -13
- package/src/components/entity-ref/entity-ref.js +16 -5
- package/src/components/field-upload/field-upload.js +81 -38
- package/src/components/file-item/file-item.js +70 -40
- package/src/components/file-list/file-list.js +15 -9
- package/src/components/filter/filter-model.js +46 -8
- package/src/components/filter/filter.css +3 -3
- package/src/components/filter/filter.js +29 -10
- package/src/components/filter-panel/filter-panel.js +13 -5
- package/src/components/finder/finder.js +50 -26
- package/src/components/flag/flag.css +40 -0
- package/src/components/flag/flag.js +177 -0
- package/src/components/form/form.js +1 -1
- package/src/components/grid/grid.js +22 -8
- package/src/components/kanban-view/kanban-view.js +51 -81
- package/src/components/launcher/launcher.js +17 -2
- package/src/components/list-toolbar/list-toolbar.js +2 -1
- package/src/components/master-panel/master-panel.js +1 -1
- package/src/components/menu-button/menu-button.js +4 -0
- package/src/components/message/message.js +3 -0
- package/src/components/multi-value-editor/multi-value-editor.js +10 -9
- package/src/components/navigation-bar/navigation-bar.js +3 -3
- package/src/components/number-field/number-field.js +29 -13
- package/src/components/prompt-starters/prompt-starters.css +91 -0
- package/src/components/prompt-starters/prompt-starters.js +206 -0
- package/src/components/prose/prose.js +14 -10
- package/src/components/questionnaire/conditions.js +666 -0
- package/src/components/questionnaire/items.js +150 -41
- package/src/components/questionnaire/questionnaire.js +126 -32
- package/src/components/rating/rating.js +5 -4
- package/src/components/run-status/run-status.css +208 -0
- package/src/components/run-status/run-status.js +782 -0
- package/src/components/run-trace/run-trace.css +443 -0
- package/src/components/run-trace/run-trace.js +1209 -0
- package/src/components/select/country.js +136 -0
- package/src/components/select/field-adapter.js +7 -2
- package/src/components/select/locale.js +219 -0
- package/src/components/select/select.css +20 -22
- package/src/components/select/select.js +94 -12
- package/src/components/sheet/sheet-stack.js +10 -1
- package/src/components/slider/slider.js +7 -2
- package/src/components/sort-control/sort-control.js +15 -5
- package/src/components/source-list/source-list.css +208 -0
- package/src/components/source-list/source-list.js +358 -0
- package/src/components/split-view/split-view.js +5 -3
- package/src/components/surface/catalog.js +1334 -0
- package/src/components/surface/elicit.js +107 -0
- package/src/components/surface/mcp.js +243 -0
- package/src/components/surface/schema.js +644 -0
- package/src/components/surface/stream.js +245 -0
- package/src/components/surface/surface.css +308 -0
- package/src/components/surface/surface.js +2291 -0
- package/src/components/surface/text.js +513 -0
- package/src/components/surface/validate.js +2218 -0
- package/src/components/tabbox/tabbox.js +9 -0
- package/src/components/table/table.css +63 -3
- package/src/components/table/table.js +167 -28
- package/src/components/table/window.js +317 -0
- package/src/components/toolbar/toolbar.js +12 -7
- package/src/components/tooltip/tooltip.css +2 -3
- package/src/components/tooltip/tooltip.js +32 -5
- package/src/components/tree/tree.js +53 -23
- package/src/core/component.js +25 -1
- package/src/core/date.js +62 -16
- package/src/core/dom.js +22 -2
- package/src/core/format.js +15 -13
- package/src/core/http.js +29 -20
- package/src/core/i18n.js +83 -10
- package/src/core/keyboard.js +79 -8
- package/src/core/messages.js +519 -2
- package/src/core/overlay-host.js +1 -0
- package/src/core/storage.js +59 -6
- package/src/elements/define.js +178 -130
- package/src/elements/definitions.js +229 -0
- package/src/elements/kit.js +444 -0
- package/src/elements/reflect.js +8 -3
- package/src/index.js +18 -1
- package/src/internal/agent-model.js +488 -0
- package/src/internal/date-locale.js +11 -0
- package/src/internal/highlight.js +104 -0
- package/src/internal/json-patch.js +405 -0
- package/src/internal/presence-loop.js +343 -0
- package/src/locales/de.js +911 -0
- package/src/locales/en.js +2 -0
- package/src/locales/index.js +7 -0
- package/src/zeyos/calendar.js +2 -1
- package/src/zeyos/form.js +2 -1
- package/src/zeyos/launcher.js +7 -6
- package/src/zeyos/module-bar.js +2 -1
- package/src/zeyos/schema.js +37 -23
- package/src/zeyos/select.js +4 -3
- package/src/zeyos/table.js +2 -13
- package/src/zeyos/view.js +57 -17
- package/styles/core.css +11 -0
- package/styles/tokens/semantic.css +1 -0
- package/styles/zeyos.css +2 -0
- package/styles/zx.css +11 -8
- package/styles/zx.layered.css +1 -0
|
@@ -12,7 +12,8 @@ import { uid } from '../../core/util.js';
|
|
|
12
12
|
* @property {boolean} [clearable=true] Whether re-selecting the current value clears it.
|
|
13
13
|
* @property {boolean} [readonly=false] Whether the rating is display-only.
|
|
14
14
|
* @property {boolean} [disabled=false] Whether interaction is disabled.
|
|
15
|
-
* @property {string} [label=
|
|
15
|
+
* @property {string|null} [label=null] Accessible name of the group; null reads the `rating.label`
|
|
16
|
+
* message ("Rating").
|
|
16
17
|
* @property {string} [icon='star'] Icon name used for each symbol.
|
|
17
18
|
* @property {string[]|null} [labels=null] Per-step accessible names, lowest first.
|
|
18
19
|
* @property {boolean} [showValue=false] Whether to render the numeric value beside the symbols.
|
|
@@ -43,7 +44,7 @@ export class Rating extends Component {
|
|
|
43
44
|
clearable: true,
|
|
44
45
|
readonly: false,
|
|
45
46
|
disabled: false,
|
|
46
|
-
label:
|
|
47
|
+
label: null,
|
|
47
48
|
icon: 'star',
|
|
48
49
|
labels: null,
|
|
49
50
|
showValue: false,
|
|
@@ -75,7 +76,7 @@ export class Rating extends Component {
|
|
|
75
76
|
ref: 'symbols',
|
|
76
77
|
class: 'zx-rating__symbols',
|
|
77
78
|
role: 'radiogroup',
|
|
78
|
-
ariaLabel: String(this.options.label ?? '
|
|
79
|
+
ariaLabel: String(this.options.label ?? this.msg('rating.label'))
|
|
79
80
|
});
|
|
80
81
|
|
|
81
82
|
for (let index = 1; index <= this._max; index += 1) {
|
|
@@ -350,7 +351,7 @@ export class Rating extends Component {
|
|
|
350
351
|
const parts = [];
|
|
351
352
|
if (this.options.showValue) parts.push(formatValue(this._value, this._step));
|
|
352
353
|
if (count !== null && count !== undefined) {
|
|
353
|
-
parts.push(this.
|
|
354
|
+
parts.push(this.msgPlural('rating.count', Number(count), count));
|
|
354
355
|
}
|
|
355
356
|
readout.textContent = parts.join(' · ');
|
|
356
357
|
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* RunStatus — where an agent's run stands. The state is a glyph and a word; the steps and the cost
|
|
3
|
+
* are thin bars whose words sit beside or above them; the facts are a two-column property list
|
|
4
|
+
* with tabular figures. `data-compact` draws the state alone, as a pill for a narrow header, and
|
|
5
|
+
* `data-compact="icon"` as its glyph alone.
|
|
6
|
+
*/
|
|
7
|
+
.zx-run-status {
|
|
8
|
+
display: grid;
|
|
9
|
+
gap: var(--zx-space-2);
|
|
10
|
+
min-inline-size: 0;
|
|
11
|
+
color: var(--zx-color-text);
|
|
12
|
+
font-size: var(--zx-text-sm);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* The panel holds focus itself only when an update took away the control that had it. */
|
|
16
|
+
.zx-run-status:focus-visible {
|
|
17
|
+
border-radius: var(--zx-radius-md);
|
|
18
|
+
outline-color: transparent;
|
|
19
|
+
box-shadow: var(--zx-focus-ring);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* ------------------------------------------------------------------ state -- */
|
|
23
|
+
|
|
24
|
+
.zx-run-status__state {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: var(--zx-space-2);
|
|
28
|
+
margin: 0;
|
|
29
|
+
font-size: var(--zx-text-lg);
|
|
30
|
+
font-weight: var(--zx-weight-semibold);
|
|
31
|
+
letter-spacing: var(--zx-tracking-tight);
|
|
32
|
+
line-height: 1.3;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.zx-run-status__summary {
|
|
36
|
+
margin: 0;
|
|
37
|
+
color: var(--zx-color-text-muted);
|
|
38
|
+
overflow-wrap: anywhere;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* ------------------------------------------------------------------ bars -- */
|
|
42
|
+
|
|
43
|
+
.zx-run-status__steps {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
gap: var(--zx-space-3);
|
|
47
|
+
margin-block: var(--zx-space-1);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.zx-run-status__bar,
|
|
51
|
+
.zx-run-status__meter {
|
|
52
|
+
position: relative;
|
|
53
|
+
display: block;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
flex: 1 1 auto;
|
|
56
|
+
block-size: 4px;
|
|
57
|
+
border-radius: var(--zx-radius-full);
|
|
58
|
+
background: var(--zx-color-border-subtle);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.zx-run-status__bar-fill,
|
|
62
|
+
.zx-run-status__meter-fill {
|
|
63
|
+
display: block;
|
|
64
|
+
block-size: 100%;
|
|
65
|
+
border-radius: inherit;
|
|
66
|
+
background: var(--zx-color-accent);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.zx-run-status:is([data-state="failed"], [data-state="blocked"]) .zx-run-status__bar-fill {
|
|
70
|
+
background: var(--zx-color-danger);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.zx-run-status:is([data-state="stopped"], [data-state="skipped"], [data-state="paused"]) .zx-run-status__bar-fill {
|
|
74
|
+
background: var(--zx-color-text-muted);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.zx-run-status__steps-text {
|
|
78
|
+
flex: none;
|
|
79
|
+
color: var(--zx-color-text-muted);
|
|
80
|
+
font-size: var(--zx-text-xs);
|
|
81
|
+
font-variant-numeric: tabular-nums;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.zx-run-status__meter[data-level="warning"] .zx-run-status__meter-fill {
|
|
85
|
+
background: var(--zx-color-warning);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.zx-run-status__meter[data-level="danger"] .zx-run-status__meter-fill {
|
|
89
|
+
background: var(--zx-color-danger);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* ---------------------------------------------------------------- actions -- */
|
|
93
|
+
|
|
94
|
+
.zx-run-status__actions {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-wrap: wrap;
|
|
97
|
+
gap: var(--zx-space-2);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* ------------------------------------------------------------------ facts -- */
|
|
101
|
+
|
|
102
|
+
.zx-run-status__props {
|
|
103
|
+
display: grid;
|
|
104
|
+
grid-template-columns: fit-content(9rem) minmax(0, 1fr);
|
|
105
|
+
gap: var(--zx-space-1) var(--zx-space-3);
|
|
106
|
+
margin: 0;
|
|
107
|
+
margin-block-start: var(--zx-space-1);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.zx-run-status__prop {
|
|
111
|
+
display: grid;
|
|
112
|
+
grid-column: 1 / -1;
|
|
113
|
+
grid-template-columns: subgrid;
|
|
114
|
+
align-items: baseline;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.zx-run-status__label {
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
color: var(--zx-color-text-muted);
|
|
120
|
+
text-overflow: ellipsis;
|
|
121
|
+
white-space: nowrap;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.zx-run-status__value {
|
|
125
|
+
display: grid;
|
|
126
|
+
gap: var(--zx-space-1);
|
|
127
|
+
min-inline-size: 0;
|
|
128
|
+
margin: 0;
|
|
129
|
+
font-variant-numeric: tabular-nums;
|
|
130
|
+
overflow-wrap: anywhere;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.zx-run-status__value > .zx-run-status__meter {
|
|
134
|
+
margin-block-end: var(--zx-space-1);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* ---------------------------------------------------------------- compact -- */
|
|
138
|
+
|
|
139
|
+
.zx-run-status[data-compact] {
|
|
140
|
+
display: inline-flex;
|
|
141
|
+
vertical-align: middle;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.zx-run-status__pill {
|
|
145
|
+
position: relative;
|
|
146
|
+
display: inline-flex;
|
|
147
|
+
align-items: center;
|
|
148
|
+
gap: var(--zx-space-1);
|
|
149
|
+
color: var(--zx-color-text-muted);
|
|
150
|
+
font-size: var(--zx-text-sm);
|
|
151
|
+
white-space: nowrap;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.zx-run-status:is([data-state="waiting"], [data-state="blocked"], [data-state="failed"]) .zx-run-status__pill {
|
|
155
|
+
color: var(--zx-color-text);
|
|
156
|
+
font-weight: var(--zx-weight-medium);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* The glyph alone: the word stays the accessible text, and the pill's tooltip. */
|
|
160
|
+
.zx-run-status[data-compact="icon"] .zx-run-status__word {
|
|
161
|
+
position: absolute;
|
|
162
|
+
inline-size: 1px;
|
|
163
|
+
block-size: 1px;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
clip-path: inset(50%);
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* ----------------------------------------------------------------- motion -- */
|
|
170
|
+
|
|
171
|
+
/* While the agent works, a soft shine runs along the steps bar. The state says it in words too. */
|
|
172
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
173
|
+
.zx-run-status[data-state="running"] .zx-run-status__bar::after {
|
|
174
|
+
content: "";
|
|
175
|
+
position: absolute;
|
|
176
|
+
inset: 0;
|
|
177
|
+
background: linear-gradient(90deg, transparent, var(--zx-color-bg-surface), transparent);
|
|
178
|
+
opacity: 0.7;
|
|
179
|
+
translate: -100% 0;
|
|
180
|
+
animation: zx-run-status-sweep 1.6s var(--zx-ease) infinite;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.zx-run-status[data-state="running"] .zx-run-status__bar:dir(rtl)::after {
|
|
184
|
+
animation-direction: reverse;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.zx-run-status__bar-fill,
|
|
188
|
+
.zx-run-status__meter-fill {
|
|
189
|
+
transition: inline-size var(--zx-dur-base) var(--zx-ease);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@keyframes zx-run-status-sweep {
|
|
193
|
+
to {
|
|
194
|
+
translate: 100% 0;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@media (forced-colors: active) {
|
|
200
|
+
.zx-run-status__bar,
|
|
201
|
+
.zx-run-status__meter {
|
|
202
|
+
border: 1px solid CanvasText;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.zx-run-status[data-state] :is(.zx-run-status__bar-fill, .zx-run-status__meter-fill) {
|
|
206
|
+
background: CanvasText;
|
|
207
|
+
}
|
|
208
|
+
}
|