@icen.ai/ui 0.10.0 → 0.11.1
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/AGENTS.md +79 -309
- package/LICENSE +21 -0
- package/README.md +43 -54
- package/dist/base.css +68 -22
- package/dist/behaviors/accordion.mjs +1 -1
- package/dist/behaviors/ai-branch.mjs +14 -0
- package/dist/behaviors/ai-chat.d.mts +2 -2
- package/dist/behaviors/ai-chat.mjs +66 -10
- package/dist/behaviors/ai-composer.d.mts +5 -5
- package/dist/behaviors/ai-composer.mjs +34 -10
- package/dist/behaviors/ai-core.mjs +14 -0
- package/dist/behaviors/ai-diff.mjs +14 -0
- package/dist/behaviors/ai-feedback.mjs +14 -0
- package/dist/behaviors/ai-panel.d.mts +2 -2
- package/dist/behaviors/ai-panel.mjs +14 -0
- package/dist/behaviors/ai-provider.d.mts +1 -1
- package/dist/behaviors/ai-provider.mjs +14 -0
- package/dist/behaviors/ai-threads.mjs +14 -0
- package/dist/behaviors/ai-tool.d.mts +1 -1
- package/dist/behaviors/ai-tool.mjs +299 -24
- package/dist/behaviors/ai-tools.mjs +1179 -28
- package/dist/behaviors/autocomplete.d.mts +1 -1
- package/dist/behaviors/autocomplete.mjs +14 -0
- package/dist/behaviors/back-top.mjs +14 -0
- package/dist/behaviors/carousel.mjs +21 -1
- package/dist/behaviors/cascader.mjs +27 -0
- package/dist/behaviors/charts.d.mts +12 -1
- package/dist/behaviors/charts.mjs +298 -20
- package/dist/behaviors/code-block.mjs +22 -1
- package/dist/behaviors/command-palette.mjs +3 -3
- package/dist/behaviors/context-menu.d.mts +2 -2
- package/dist/behaviors/context-menu.mjs +14 -0
- package/dist/behaviors/controls.d.mts +8 -8
- package/dist/behaviors/controls.mjs +50 -6
- package/dist/behaviors/copy.mjs +14 -0
- package/dist/behaviors/datatable.d.mts +3 -3
- package/dist/behaviors/datatable.mjs +89 -11
- package/dist/behaviors/date-picker.mjs +14 -0
- package/dist/behaviors/events.d.mts +10 -10
- package/dist/behaviors/events.mjs +11 -1
- package/dist/behaviors/form-validate.d.mts +10 -1
- package/dist/behaviors/form-validate.mjs +279 -4611
- package/dist/behaviors/i18n.d.mts +14 -0
- package/dist/behaviors/i18n.mjs +28 -0
- package/dist/behaviors/input.mjs +16 -0
- package/dist/behaviors/kb-access.d.mts +2 -2
- package/dist/behaviors/kb-access.mjs +21 -2
- package/dist/behaviors/kb-acl.d.mts +2 -2
- package/dist/behaviors/kb-acl.mjs +14 -0
- package/dist/behaviors/kb-answer.d.mts +2 -2
- package/dist/behaviors/kb-answer.mjs +298 -23
- package/dist/behaviors/kb-audit.d.mts +2 -2
- package/dist/behaviors/kb-audit.mjs +14 -0
- package/dist/behaviors/kb-canvas.d.mts +3 -3
- package/dist/behaviors/kb-canvas.mjs +14 -0
- package/dist/behaviors/kb-chain.d.mts +2 -2
- package/dist/behaviors/kb-chain.mjs +14 -0
- package/dist/behaviors/kb-checkpoint.d.mts +2 -2
- package/dist/behaviors/kb-checkpoint.mjs +14 -0
- package/dist/behaviors/kb-chunks.d.mts +2 -2
- package/dist/behaviors/kb-chunks.mjs +14 -0
- package/dist/behaviors/kb-citation.d.mts +2 -2
- package/dist/behaviors/kb-citation.mjs +33 -6
- package/dist/behaviors/kb-clarify.d.mts +2 -2
- package/dist/behaviors/kb-clarify.mjs +14 -0
- package/dist/behaviors/kb-conflict.d.mts +2 -2
- package/dist/behaviors/kb-conflict.mjs +14 -0
- package/dist/behaviors/kb-connector.d.mts +2 -2
- package/dist/behaviors/kb-connector.mjs +14 -0
- package/dist/behaviors/kb-core.d.mts +1 -1
- package/dist/behaviors/kb-core.mjs +14 -0
- package/dist/behaviors/kb-eval.d.mts +2 -2
- package/dist/behaviors/kb-eval.mjs +21 -2
- package/dist/behaviors/kb-explain.d.mts +2 -2
- package/dist/behaviors/kb-explain.mjs +26 -2
- package/dist/behaviors/kb-filter.d.mts +2 -2
- package/dist/behaviors/kb-filter.mjs +21 -2
- package/dist/behaviors/kb-gap.d.mts +2 -2
- package/dist/behaviors/kb-gap.mjs +14 -0
- package/dist/behaviors/kb-hittest.d.mts +2 -2
- package/dist/behaviors/kb-hittest.mjs +15 -1
- package/dist/behaviors/kb-metadata.mjs +19 -0
- package/dist/behaviors/kb-passage.d.mts +2 -2
- package/dist/behaviors/kb-passage.mjs +14 -0
- package/dist/behaviors/kb-pipeline.d.mts +2 -2
- package/dist/behaviors/kb-pipeline.mjs +14 -0
- package/dist/behaviors/kb-qa.mjs +14 -0
- package/dist/behaviors/kb-rerank.d.mts +2 -2
- package/dist/behaviors/kb-rerank.mjs +14 -0
- package/dist/behaviors/kb-retrieval.d.mts +2 -2
- package/dist/behaviors/kb-retrieval.mjs +31 -4
- package/dist/behaviors/kb-review.d.mts +2 -2
- package/dist/behaviors/kb-review.mjs +21 -2
- package/dist/behaviors/kb-sandbox.d.mts +2 -2
- package/dist/behaviors/kb-sandbox.mjs +20 -1
- package/dist/behaviors/kb-segment.d.mts +2 -2
- package/dist/behaviors/kb-segment.mjs +15 -1
- package/dist/behaviors/kb-select.mjs +21 -2
- package/dist/behaviors/kb-sources.d.mts +2 -2
- package/dist/behaviors/kb-sources.mjs +14 -0
- package/dist/behaviors/kb-sql.d.mts +2 -2
- package/dist/behaviors/kb-sql.mjs +14 -0
- package/dist/behaviors/kb-trace.d.mts +2 -2
- package/dist/behaviors/kb-trace.mjs +22 -3
- package/dist/behaviors/kb-visibility.d.mts +2 -2
- package/dist/behaviors/kb-visibility.mjs +14 -0
- package/dist/behaviors/kb-who-can.d.mts +2 -2
- package/dist/behaviors/kb-who-can.mjs +21 -2
- package/dist/behaviors/mentions.d.mts +1 -1
- package/dist/behaviors/mentions.mjs +14 -0
- package/dist/behaviors/modal.d.mts +1 -1
- package/dist/behaviors/modal.mjs +14 -0
- package/dist/behaviors/motion.d.mts +16 -0
- package/dist/behaviors/motion.mjs +39 -0
- package/dist/behaviors/notification.d.mts +2 -2
- package/dist/behaviors/notification.mjs +27 -3
- package/dist/behaviors/panel.mjs +14 -0
- package/dist/behaviors/scroll-area.d.mts +17 -0
- package/dist/behaviors/scroll-area.mjs +59 -0
- package/dist/behaviors/select.mjs +21 -2
- package/dist/behaviors/slider.mjs +3 -3
- package/dist/behaviors/split-pane.mjs +2 -0
- package/dist/behaviors/suggestions.mjs +14 -0
- package/dist/behaviors/tabs.mjs +10 -0
- package/dist/behaviors/tag-input.mjs +14 -0
- package/dist/behaviors/theme-switcher.d.mts +2 -2
- package/dist/behaviors/theme-switcher.mjs +30 -2
- package/dist/behaviors/theme.mjs +16 -2
- package/dist/behaviors/toast.d.mts +2 -2
- package/dist/behaviors/toast.mjs +14 -0
- package/dist/behaviors/tree-select.mjs +27 -0
- package/dist/behaviors/tree.mjs +4 -4
- package/dist/behaviors/upload.mjs +14 -0
- package/dist/behaviors/url-safety.d.mts +8 -0
- package/dist/behaviors/url-safety.mjs +11 -0
- package/dist/components/accordion.d.mts +2 -0
- package/dist/components/ai-branch.d.mts +2 -0
- package/dist/components/ai-chat.css +40 -33
- package/dist/components/ai-chat.d.mts +2 -0
- package/dist/components/ai-composer.d.mts +2 -0
- package/dist/components/ai-context.d.mts +2 -0
- package/dist/components/ai-context.mjs +1 -0
- package/dist/components/ai-diff.css +6 -6
- package/dist/components/ai-diff.d.mts +2 -0
- package/dist/components/ai-feedback.d.mts +2 -0
- package/dist/components/ai-files.d.mts +2 -0
- package/dist/components/ai-message.d.mts +2 -0
- package/dist/components/ai-panel.css +12 -10
- package/dist/components/ai-reasoning.d.mts +2 -0
- package/dist/components/ai-subagent.d.mts +2 -0
- package/dist/components/ai-subagent.mjs +1 -0
- package/dist/components/ai-threads.d.mts +2 -0
- package/dist/components/ai-todo.d.mts +2 -0
- package/dist/components/ai-todo.mjs +1 -0
- package/dist/components/ai-tool-call.d.mts +2 -0
- package/dist/components/ai-tool-call.mjs +1 -0
- package/dist/components/ai-tool.css +16 -16
- package/dist/components/ai-usage.d.mts +2 -0
- package/dist/components/alert.d.mts +2 -0
- package/dist/components/autocomplete.css +12 -12
- package/dist/components/autocomplete.d.mts +2 -0
- package/dist/components/avatar.d.mts +2 -0
- package/dist/components/back-top.css +47 -16
- package/dist/components/back-top.d.mts +2 -0
- package/dist/components/badge.css +1 -1
- package/dist/components/badge.d.mts +2 -0
- package/dist/components/breadcrumb.css +26 -8
- package/dist/components/breadcrumb.d.mts +2 -0
- package/dist/components/btn.css +67 -62
- package/dist/components/btn.d.mts +2 -0
- package/dist/components/card.css +22 -22
- package/dist/components/card.d.mts +2 -0
- package/dist/components/carousel.d.mts +2 -0
- package/dist/components/cascader.css +56 -35
- package/dist/components/cascader.d.mts +2 -0
- package/dist/components/chart-area.css +46 -0
- package/dist/components/chart-area.d.mts +2 -0
- package/dist/components/chart-bar.css +66 -19
- package/dist/components/chart-bar.d.mts +2 -0
- package/dist/components/chart-calendar.d.mts +2 -0
- package/dist/components/chart-gauge.css +23 -3
- package/dist/components/chart-gauge.d.mts +2 -0
- package/dist/components/chart-graph.css +15 -3
- package/dist/components/chart-graph.d.mts +2 -0
- package/dist/components/chart-heatmap.css +117 -95
- package/dist/components/chart-heatmap.d.mts +2 -0
- package/dist/components/chart-line.css +54 -0
- package/dist/components/chart-line.d.mts +2 -0
- package/dist/components/chart-map.d.mts +2 -0
- package/dist/components/chart-pie.css +29 -0
- package/dist/components/chart-pie.d.mts +2 -0
- package/dist/components/chart-radar.css +50 -1
- package/dist/components/chart-radar.d.mts +2 -0
- package/dist/components/chart-scatter.css +39 -2
- package/dist/components/chart-scatter.d.mts +2 -0
- package/dist/components/chart-sparkline.css +20 -0
- package/dist/components/chart-sparkline.d.mts +2 -0
- package/dist/components/chart-stack.css +16 -5
- package/dist/components/chart-stack.d.mts +2 -0
- package/dist/components/charts.css +109 -35
- package/dist/components/charts.d.mts +2 -0
- package/dist/components/code-block.css +10 -8
- package/dist/components/code-block.d.mts +2 -0
- package/dist/components/command-palette.css +45 -38
- package/dist/components/command-palette.d.mts +2 -0
- package/dist/components/content.css +62 -57
- package/dist/components/context-menu.d.mts +2 -0
- package/dist/components/copy.css +10 -10
- package/dist/components/copy.d.mts +2 -0
- package/dist/components/datatable.css +72 -59
- package/dist/components/datatable.d.mts +2 -0
- package/dist/components/date-picker.css +26 -26
- package/dist/components/date-picker.d.mts +2 -0
- package/dist/components/desc.d.mts +2 -0
- package/dist/components/dropdown.d.mts +2 -0
- package/dist/components/empty.css +16 -16
- package/dist/components/empty.d.mts +2 -0
- package/dist/components/feedback.css +31 -29
- package/dist/components/form-validate.css +20 -6
- package/dist/components/form-validate.d.mts +2 -0
- package/dist/components/form.css +17 -14
- package/dist/components/form.d.mts +2 -0
- package/dist/components/icon.css +21 -10
- package/dist/components/icon.d.mts +2 -0
- package/dist/components/input.css +22 -22
- package/dist/components/input.d.mts +2 -0
- package/dist/components/kb-access.d.mts +2 -0
- package/dist/components/kb-acl.d.mts +2 -0
- package/dist/components/kb-agent.css +134 -55
- package/dist/components/kb-answer.d.mts +2 -0
- package/dist/components/kb-audit.d.mts +2 -0
- package/dist/components/kb-canvas.d.mts +2 -0
- package/dist/components/kb-chain.d.mts +2 -0
- package/dist/components/kb-checkpoint.d.mts +2 -0
- package/dist/components/kb-chunks.d.mts +2 -0
- package/dist/components/kb-citation.d.mts +2 -0
- package/dist/components/kb-clarify.d.mts +2 -0
- package/dist/components/kb-conflict.d.mts +2 -0
- package/dist/components/kb-connector.d.mts +2 -0
- package/dist/components/kb-data.css +192 -80
- package/dist/components/kb-eval.d.mts +2 -0
- package/dist/components/kb-explain.d.mts +2 -0
- package/dist/components/kb-filter.d.mts +2 -0
- package/dist/components/kb-gap.d.mts +2 -0
- package/dist/components/kb-ground.css +165 -73
- package/dist/components/kb-hittest.d.mts +2 -0
- package/dist/components/kb-ingest.css +308 -113
- package/dist/components/kb-metadata.d.mts +2 -0
- package/dist/components/kb-ops.css +189 -75
- package/dist/components/kb-passage.d.mts +2 -0
- package/dist/components/kb-perm.css +158 -87
- package/dist/components/kb-pipeline.d.mts +2 -0
- package/dist/components/kb-qa.d.mts +2 -0
- package/dist/components/kb-rerank.d.mts +2 -0
- package/dist/components/kb-retrieval.d.mts +2 -0
- package/dist/components/kb-review.d.mts +2 -0
- package/dist/components/kb-sandbox.d.mts +2 -0
- package/dist/components/kb-search.css +353 -116
- package/dist/components/kb-segment.d.mts +2 -0
- package/dist/components/kb-sources.d.mts +2 -0
- package/dist/components/kb-sql.d.mts +2 -0
- package/dist/components/kb-trace.d.mts +2 -0
- package/dist/components/kb-visibility.d.mts +2 -0
- package/dist/components/kb-who-can.d.mts +2 -0
- package/dist/components/kb.css +60 -36
- package/dist/components/kb.d.mts +2 -0
- package/dist/components/kbd.d.mts +2 -0
- package/dist/components/layout.css +10 -10
- package/dist/components/layout.d.mts +2 -0
- package/dist/components/list.d.mts +2 -0
- package/dist/components/material-chinese.css +10 -0
- package/dist/components/material-soviet.css +10 -0
- package/dist/components/material.css +61 -18
- package/dist/components/media-card.d.mts +2 -0
- package/dist/components/media.css +22 -27
- package/dist/components/mentions.css +18 -17
- package/dist/components/mentions.d.mts +2 -0
- package/dist/components/menu.css +32 -28
- package/dist/components/modal.css +30 -27
- package/dist/components/modal.d.mts +2 -0
- package/dist/components/nav.css +48 -44
- package/dist/components/nav.d.mts +2 -0
- package/dist/components/notification.css +31 -25
- package/dist/components/notification.d.mts +2 -0
- package/dist/components/pagination.css +15 -13
- package/dist/components/pagination.d.mts +2 -0
- package/dist/components/panel.css +19 -20
- package/dist/components/panel.d.mts +2 -0
- package/dist/components/pill.css +8 -7
- package/dist/components/pill.d.mts +2 -0
- package/dist/components/popover.css +32 -23
- package/dist/components/popover.d.mts +2 -0
- package/dist/components/progress.d.mts +2 -0
- package/dist/components/rating.d.mts +2 -0
- package/dist/components/result.d.mts +2 -0
- package/dist/components/scroll-area.css +84 -112
- package/dist/components/scroll-area.d.mts +2 -0
- package/dist/components/scroll-area.mjs +1 -0
- package/dist/components/segmented.css +47 -29
- package/dist/components/segmented.d.mts +2 -0
- package/dist/components/select.css +80 -41
- package/dist/components/select.d.mts +2 -0
- package/dist/components/sidebar.css +42 -38
- package/dist/components/sidebar.d.mts +2 -0
- package/dist/components/skeleton.d.mts +2 -0
- package/dist/components/slider.css +26 -22
- package/dist/components/slider.d.mts +2 -0
- package/dist/components/spinner.d.mts +2 -0
- package/dist/components/split-pane.css +16 -7
- package/dist/components/split-pane.d.mts +2 -0
- package/dist/components/stat.css +17 -16
- package/dist/components/stat.d.mts +2 -0
- package/dist/components/steps.css +26 -26
- package/dist/components/steps.d.mts +2 -0
- package/dist/components/switch.css +78 -39
- package/dist/components/switch.d.mts +2 -0
- package/dist/components/table.css +54 -32
- package/dist/components/table.d.mts +2 -0
- package/dist/components/tabs.css +53 -32
- package/dist/components/tabs.d.mts +2 -0
- package/dist/components/tag-input.css +12 -8
- package/dist/components/tag-input.d.mts +2 -0
- package/dist/components/tag.css +20 -12
- package/dist/components/tag.d.mts +2 -0
- package/dist/components/theme-switcher.css +7 -7
- package/dist/components/theme-switcher.d.mts +2 -0
- package/dist/components/timeline.d.mts +2 -0
- package/dist/components/toast.css +34 -30
- package/dist/components/toast.d.mts +2 -0
- package/dist/components/toolbar.css +19 -18
- package/dist/components/toolbar.d.mts +2 -0
- package/dist/components/tooltip.css +9 -8
- package/dist/components/tooltip.d.mts +2 -0
- package/dist/components/tree-select.css +63 -40
- package/dist/components/tree-select.d.mts +2 -0
- package/dist/components/tree.d.mts +2 -0
- package/dist/components/upload.css +9 -11
- package/dist/components/upload.d.mts +2 -0
- package/dist/index.d.mts +85 -84
- package/dist/index.mjs +14644 -13935
- package/dist/react.d.mts +18 -18
- package/dist/react.mjs +377 -36
- package/dist/registry.json +797 -64
- package/dist/tokens/colors.css +6 -0
- package/dist/tokens/design.css +137 -31
- package/dist/tokens/dtcg.json +9592 -2008
- package/dist/tokens/figma.variables.json +7451 -2141
- package/dist/tokens/motion.css +51 -0
- package/dist/tokens/pixel.css +10 -0
- package/dist/tokens/scrollbars.css +40 -0
- package/dist/tokens/tokens-studio.json +8390 -1142
- package/dist/tokens/typography.css +33 -0
- package/dist/tokens.css +402 -82
- package/dist/ui.css +4196 -2163
- package/dist/vue.d.mts +17 -17
- package/dist/vue.mjs +371 -34
- package/docs/spec/charts-scale-a11y.md +115 -0
- package/docs/spec/design-philosophy.md +5 -5
- package/docs/spec/design-primitives.md +10 -10
- package/docs/spec/motion-typography.md +105 -0
- package/docs/spec/scrollbars.md +46 -0
- package/package.json +17 -3
|
@@ -60,25 +60,26 @@
|
|
|
60
60
|
position: relative;
|
|
61
61
|
display: flex;
|
|
62
62
|
align-items: center;
|
|
63
|
-
gap: var(--icen-
|
|
63
|
+
gap: var(--icen-control-gap-sm);
|
|
64
64
|
inline-size: 100%;
|
|
65
|
-
height: var(--icen-
|
|
66
|
-
padding: 0 var(--icen-
|
|
67
|
-
font-
|
|
65
|
+
height: var(--icen-control-height-md);
|
|
66
|
+
padding: 0 var(--icen-field-padding-inline);
|
|
67
|
+
font-family: var(--icen-font-body);
|
|
68
|
+
font-size: var(--icen-font-size-control);
|
|
68
69
|
text-align: start;
|
|
69
70
|
background: var(--icen-token-control);
|
|
70
71
|
color: var(--icen-token-text);
|
|
71
|
-
border:
|
|
72
|
-
border-radius: var(--icen-radius
|
|
73
|
-
box-shadow: var(--icen-token-shadow-
|
|
72
|
+
border: var(--icen-control-border-width) solid var(--icen-token-control-border);
|
|
73
|
+
border-radius: var(--icen-control-radius);
|
|
74
|
+
box-shadow: var(--icen-token-shadow-field);
|
|
74
75
|
cursor: pointer;
|
|
75
76
|
transition:
|
|
76
77
|
border-color var(--icen-tx-fast),
|
|
77
78
|
box-shadow var(--icen-tx-fast);
|
|
78
|
-
padding-inline-end: var(--icen-
|
|
79
|
+
padding-inline-end: calc(var(--icen-field-padding-inline) + 18px);
|
|
79
80
|
}
|
|
80
81
|
.icen-cascader-trigger:hover:not(:disabled) {
|
|
81
|
-
border-color: var(--icen-
|
|
82
|
+
border-color: var(--icen-token-control-border-hover);
|
|
82
83
|
}
|
|
83
84
|
.icen-cascader-trigger:focus-visible {
|
|
84
85
|
outline: none;
|
|
@@ -106,15 +107,16 @@
|
|
|
106
107
|
|
|
107
108
|
.icen-cascader-chevron {
|
|
108
109
|
position: absolute;
|
|
109
|
-
inset-inline-end: var(--icen-
|
|
110
|
+
inset-inline-end: var(--icen-field-padding-inline);
|
|
110
111
|
inset-block-start: 50%;
|
|
111
112
|
translate: 0 -50%;
|
|
112
|
-
inline-size:
|
|
113
|
-
block-size:
|
|
113
|
+
inline-size: 12px;
|
|
114
|
+
block-size: 12px;
|
|
114
115
|
flex: none;
|
|
115
116
|
color: var(--icen-token-text-muted);
|
|
117
|
+
opacity: .82;
|
|
116
118
|
pointer-events: none;
|
|
117
|
-
transition: transform var(--icen-tx-fast);
|
|
119
|
+
transition: transform var(--icen-tx-fast), opacity var(--icen-tx-fast);
|
|
118
120
|
}
|
|
119
121
|
.icen-cascader.is-open .icen-cascader-chevron { transform: rotate(180deg); }
|
|
120
122
|
|
|
@@ -139,10 +141,10 @@
|
|
|
139
141
|
}
|
|
140
142
|
.icen-cascader-clear:hover {
|
|
141
143
|
color: var(--icen-token-text);
|
|
142
|
-
background: var(--icen-token-fill-
|
|
144
|
+
background: var(--icen-token-fill-hover);
|
|
143
145
|
}
|
|
144
146
|
/* 有清除钮时 trigger 行内末端侧让位(clear 18px + chevron 14px + 间距) */
|
|
145
|
-
.icen-cascader:has(.icen-cascader-clear:not([hidden])) .icen-cascader-trigger { padding-inline-end: calc(var(--icen-density-space-sm) + var(--icen-
|
|
147
|
+
.icen-cascader:has(.icen-cascader-clear:not([hidden])) .icen-cascader-trigger { padding-inline-end: calc(var(--icen-density-space-sm) + var(--icen-control-height-sm) + var(--icen-density-space-xs)); }
|
|
146
148
|
|
|
147
149
|
/* 面板由 behavior portal 到 body:left/top/width/max-height 由 JS 按 trigger rect inline 写入;
|
|
148
150
|
data-icen-side="top|bottom" 标记翻侧方向。 */
|
|
@@ -151,11 +153,11 @@
|
|
|
151
153
|
z-index: var(--icen-z-popover);
|
|
152
154
|
overflow-y: auto;
|
|
153
155
|
overscroll-behavior: contain;
|
|
154
|
-
padding: var(--icen-density-space-
|
|
155
|
-
background: var(--icen-token-
|
|
156
|
-
border: 1px solid var(--icen-token-
|
|
156
|
+
padding: var(--icen-density-space-xs);
|
|
157
|
+
background: var(--icen-token-surface);
|
|
158
|
+
border: 1px solid var(--icen-token-material-edge);
|
|
157
159
|
border-radius: var(--icen-radius-lg);
|
|
158
|
-
box-shadow: var(--icen-token-shadow-
|
|
160
|
+
box-shadow: var(--icen-token-material-light), var(--icen-token-shadow-elevated);
|
|
159
161
|
transform-origin: top center;
|
|
160
162
|
animation: icen-pop-in var(--icen-tx-fast);
|
|
161
163
|
}
|
|
@@ -164,11 +166,11 @@
|
|
|
164
166
|
/* ── 搜索框(opts.searchable 时 behavior 渲染)── */
|
|
165
167
|
.icen-cascader-search {
|
|
166
168
|
padding: var(--icen-density-space-xs);
|
|
167
|
-
border-bottom: 1px solid var(--icen-token-
|
|
168
|
-
margin-bottom:
|
|
169
|
+
border-bottom: 1px solid var(--icen-token-separator-soft);
|
|
170
|
+
margin-bottom: var(--icen-density-space-xs);
|
|
169
171
|
position: sticky;
|
|
170
172
|
top: 0;
|
|
171
|
-
background: var(--icen-token-
|
|
173
|
+
background: var(--icen-token-surface);
|
|
172
174
|
z-index: 1;
|
|
173
175
|
}
|
|
174
176
|
.icen-cascader-search-input { min-inline-size: 0; }
|
|
@@ -195,25 +197,41 @@
|
|
|
195
197
|
.icen-cascader-item {
|
|
196
198
|
display: flex;
|
|
197
199
|
align-items: center;
|
|
198
|
-
gap: var(--icen-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
gap: var(--icen-control-gap-sm);
|
|
201
|
+
min-block-size: var(--icen-control-height-sm);
|
|
202
|
+
padding: 4px var(--icen-density-space-sm);
|
|
203
|
+
font-size: var(--icen-font-size-control);
|
|
204
|
+
border-radius: var(--icen-radius-xs);
|
|
202
205
|
color: var(--icen-token-text);
|
|
203
206
|
cursor: pointer;
|
|
204
207
|
transition:
|
|
205
208
|
background-color var(--icen-tx-fast),
|
|
206
209
|
color var(--icen-tx-fast);
|
|
207
210
|
}
|
|
208
|
-
.icen-cascader-item:hover:not(.is-disabled) { background: var(--icen-token-fill-
|
|
211
|
+
.icen-cascader-item:hover:not(.is-disabled) { background: var(--icen-token-fill-hover); }
|
|
209
212
|
.icen-cascader-item.is-focused {
|
|
210
|
-
background: var(--icen-token-fill-
|
|
213
|
+
background: var(--icen-token-fill-selected);
|
|
211
214
|
}
|
|
212
215
|
.icen-cascader-item.is-active {
|
|
213
216
|
color: var(--icen-token-accent-text);
|
|
214
217
|
font-weight: 500;
|
|
215
218
|
background: var(--icen-token-accent-subtle);
|
|
216
219
|
}
|
|
220
|
+
.icen-cascader-item.is-selected {
|
|
221
|
+
background: var(--icen-token-fill-selected);
|
|
222
|
+
color: var(--icen-token-text);
|
|
223
|
+
font-weight: var(--icen-font-weight-control);
|
|
224
|
+
}
|
|
225
|
+
.icen-cascader-item.is-selected::after {
|
|
226
|
+
content: '';
|
|
227
|
+
inline-size: 12px;
|
|
228
|
+
block-size: 12px;
|
|
229
|
+
flex: none;
|
|
230
|
+
margin-inline-start: auto;
|
|
231
|
+
background: currentColor;
|
|
232
|
+
mask: var(--icen-token-icon-check) center / contain no-repeat;
|
|
233
|
+
-webkit-mask: var(--icen-token-icon-check) center / contain no-repeat;
|
|
234
|
+
}
|
|
217
235
|
.icen-cascader-item.is-disabled {
|
|
218
236
|
opacity: 0.4;
|
|
219
237
|
cursor: not-allowed;
|
|
@@ -254,8 +272,8 @@
|
|
|
254
272
|
cursor: pointer;
|
|
255
273
|
transition: background-color var(--icen-tx-fast);
|
|
256
274
|
}
|
|
257
|
-
.icen-cascader-result:hover:not(.is-disabled) { background: var(--icen-token-fill-
|
|
258
|
-
.icen-cascader-result.is-focused { background: var(--icen-token-fill-
|
|
275
|
+
.icen-cascader-result:hover:not(.is-disabled) { background: var(--icen-token-fill-hover); }
|
|
276
|
+
.icen-cascader-result.is-focused { background: var(--icen-token-fill-selected); }
|
|
259
277
|
.icen-cascader-result.is-disabled {
|
|
260
278
|
opacity: 0.4;
|
|
261
279
|
cursor: not-allowed;
|
|
@@ -297,15 +315,18 @@
|
|
|
297
315
|
}
|
|
298
316
|
@media (pointer: coarse) {
|
|
299
317
|
.icen-cascader-clear { min-inline-size: 44px; min-block-size: 44px; inset-inline-end: var(--icen-density-space-sm); }
|
|
300
|
-
.icen-cascader:has(.icen-cascader-clear:not([hidden])) .icen-cascader-trigger { padding-inline-end: calc(var(--icen-
|
|
318
|
+
.icen-cascader:has(.icen-cascader-clear:not([hidden])) .icen-cascader-trigger { padding-inline-end: calc(var(--icen-control-height-sm) + var(--icen-density-space-sm) + var(--icen-density-space-xs)); }
|
|
301
319
|
}
|
|
302
320
|
|
|
303
|
-
.icen-cascader--sm .icen-cascader-trigger { block-size: var(--icen-
|
|
304
|
-
.icen-cascader--lg .icen-cascader-trigger { block-size: var(--icen-
|
|
321
|
+
.icen-cascader--sm .icen-cascader-trigger { block-size: var(--icen-control-height-sm); font-size: var(--icen-density-font-size-sm); }
|
|
322
|
+
.icen-cascader--lg .icen-cascader-trigger { block-size: var(--icen-control-height-lg); font-size: var(--icen-density-font-size-lg); }
|
|
305
323
|
|
|
306
|
-
.icen-cascader-panel:has(> .icen-cascader-search) { scroll-padding-block-start: calc(var(--icen-
|
|
324
|
+
.icen-cascader-panel:has(> .icen-cascader-search) { scroll-padding-block-start: calc(var(--icen-control-height-sm) + 3 * var(--icen-density-space-xs) + var(--icen-density-space-sm) + 1px); }
|
|
307
325
|
|
|
308
326
|
/* Popup affordance is carried by the control surface, not a direction glyph. */
|
|
309
|
-
|
|
327
|
+
/* Clear affordance replaces the popup glyph in the trailing slot. */
|
|
328
|
+
.icen-cascader:has(.icen-cascader-clear:not([hidden])) .icen-cascader-chevron { display: none; }
|
|
329
|
+
|
|
330
|
+
|
|
310
331
|
|
|
311
332
|
}
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
* 同样追加进 svg(样式属性直出,挡指针事件在基座 charts.css)。
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
.icen-chart-area {
|
|
15
|
+
position: relative;
|
|
16
|
+
min-width: 0;
|
|
17
|
+
}
|
|
14
18
|
.icen-chart-area > svg {
|
|
15
19
|
display: block;
|
|
16
20
|
width: 100%;
|
|
@@ -18,4 +22,46 @@
|
|
|
18
22
|
overflow: visible;
|
|
19
23
|
}
|
|
20
24
|
|
|
25
|
+
.icen-chart-area svg .icen-chart-grid {
|
|
26
|
+
stroke: var(--icen-token-line-soft);
|
|
27
|
+
opacity: 0.9;
|
|
28
|
+
}
|
|
29
|
+
.icen-chart-area svg .icen-chart-baseline {
|
|
30
|
+
stroke: var(--icen-token-line);
|
|
31
|
+
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* 面积是主体:渐变略浓于折线(.3 → 0),但描边收细到 1.75 */
|
|
35
|
+
.icen-chart-area svg > path[fill='none'] {
|
|
36
|
+
stroke-width: 1.75;
|
|
37
|
+
}
|
|
38
|
+
.icen-chart-area svg stop:first-child { stop-opacity: 0.3; }
|
|
39
|
+
.icen-chart-area svg stop:last-child { stop-opacity: 0; }
|
|
40
|
+
|
|
41
|
+
/* 数据点:小一号的白芯色环,hover 放大到 1.5×(与折线同一套手感) */
|
|
42
|
+
.icen-chart-area svg circle[data-icen-chart-mark]:not([data-icen-chart-hit]) {
|
|
43
|
+
transform-box: fill-box;
|
|
44
|
+
transform-origin: center;
|
|
45
|
+
transition: transform var(--icen-duration-fast) var(--icen-ease-out), opacity var(--icen-tx-fast);
|
|
46
|
+
}
|
|
47
|
+
.icen-chart-area svg circle[data-icen-chart-mark]:not([data-icen-chart-hit]):has(+ .is-hover) {
|
|
48
|
+
transform: scale(1.5);
|
|
49
|
+
}
|
|
50
|
+
.icen-chart-area svg circle[data-icen-chart-hit].is-hover {
|
|
51
|
+
fill: color-mix(in srgb, var(--icen-token-accent) 9%, transparent);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.icen-chart-area .icen-chart-labels {
|
|
55
|
+
margin-top: 5px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media (prefers-reduced-motion: reduce) {
|
|
59
|
+
.icen-chart-area svg circle[data-icen-chart-mark] { transition: none; }
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@media (forced-colors: active) {
|
|
63
|
+
.icen-chart-area svg .icen-chart-grid,
|
|
64
|
+
.icen-chart-area svg .icen-chart-baseline { stroke: GrayText; }
|
|
65
|
+
}
|
|
66
|
+
|
|
21
67
|
}
|
|
@@ -22,26 +22,35 @@
|
|
|
22
22
|
position: relative;
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: flex-end;
|
|
25
|
-
gap:
|
|
25
|
+
gap: 4px;
|
|
26
26
|
height: 112px;
|
|
27
27
|
}
|
|
28
|
+
/* 轨道同时承担两件事:极淡的槽 + 四档横向网格(柱体覆盖网格,空白区仍可读数) */
|
|
28
29
|
.icen-chart-vbar-track {
|
|
29
30
|
flex: 1;
|
|
30
|
-
height: 100%;
|
|
31
31
|
min-width: 0;
|
|
32
|
+
height: 100%;
|
|
32
33
|
display: flex;
|
|
33
34
|
align-items: flex-end;
|
|
34
|
-
background: color-mix(in srgb, var(--icen-token-fill-2) 45%, transparent);
|
|
35
|
-
border-radius: var(--icen-radius-sm);
|
|
36
35
|
overflow: hidden;
|
|
36
|
+
border-radius: var(--icen-radius-xs);
|
|
37
|
+
background:
|
|
38
|
+
repeating-linear-gradient(
|
|
39
|
+
to top,
|
|
40
|
+
color-mix(in srgb, var(--icen-token-line-soft) 90%, transparent) 0 1px,
|
|
41
|
+
transparent 1px 25%
|
|
42
|
+
),
|
|
43
|
+
color-mix(in srgb, var(--icen-token-fill-2) 34%, transparent);
|
|
37
44
|
}
|
|
38
45
|
.icen-chart-vbar-bar {
|
|
39
46
|
width: 100%;
|
|
40
|
-
border-radius: var(--icen-radius-
|
|
47
|
+
border-radius: var(--icen-radius-xs);
|
|
41
48
|
background: var(--chart-tone, var(--icen-token-accent));
|
|
42
|
-
|
|
49
|
+
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--icen-token-top-highlight) 55%, transparent);
|
|
50
|
+
transition: height var(--icen-duration-slow) var(--icen-ease-out), filter var(--icen-tx-fast);
|
|
43
51
|
}
|
|
44
|
-
.icen-chart-vbar-bar:hover
|
|
52
|
+
.icen-chart-vbar-bar:hover,
|
|
53
|
+
.icen-chart-vbar-bar.is-hover {
|
|
45
54
|
filter: brightness(1.08);
|
|
46
55
|
}
|
|
47
56
|
|
|
@@ -49,14 +58,22 @@
|
|
|
49
58
|
.icen-chart-hbar {
|
|
50
59
|
display: flex;
|
|
51
60
|
flex-direction: column;
|
|
52
|
-
gap:
|
|
61
|
+
gap: 2px;
|
|
53
62
|
}
|
|
54
63
|
.icen-chart-hbar-row {
|
|
55
64
|
display: grid;
|
|
56
|
-
grid-template-columns: minmax(72px, 1fr) minmax(90px, 2fr) 52px;
|
|
65
|
+
grid-template-columns: minmax(72px, 1fr) minmax(90px, 2fr) minmax(52px, auto); /* 数值列可长:定宽 52px 遇 "1234567.89" 会换行撑高整行错位 */
|
|
57
66
|
gap: var(--icen-density-space-xs);
|
|
58
67
|
align-items: center;
|
|
59
|
-
|
|
68
|
+
min-height: 26px;
|
|
69
|
+
padding: 0 4px;
|
|
70
|
+
margin: 0 -4px;
|
|
71
|
+
border-radius: var(--icen-radius-xs);
|
|
72
|
+
font-size: 12px;
|
|
73
|
+
transition: background-color var(--icen-tx-fast);
|
|
74
|
+
}
|
|
75
|
+
.icen-chart-hbar-row:hover {
|
|
76
|
+
background: var(--icen-token-fill-hover);
|
|
60
77
|
}
|
|
61
78
|
.icen-chart-hbar-label {
|
|
62
79
|
overflow: hidden;
|
|
@@ -65,24 +82,28 @@
|
|
|
65
82
|
color: var(--icen-token-text-muted);
|
|
66
83
|
}
|
|
67
84
|
.icen-chart-hbar-track {
|
|
68
|
-
height:
|
|
85
|
+
height: 8px;
|
|
69
86
|
overflow: hidden;
|
|
70
87
|
border-radius: var(--icen-radius-full);
|
|
71
|
-
background: var(--icen-token-fill-2);
|
|
88
|
+
background: color-mix(in srgb, var(--icen-token-fill-2) 70%, transparent);
|
|
72
89
|
}
|
|
73
90
|
.icen-chart-hbar-bar {
|
|
74
91
|
height: 100%;
|
|
75
92
|
border-radius: var(--icen-radius-full);
|
|
76
93
|
background: var(--chart-tone, var(--icen-token-accent));
|
|
77
|
-
transition: width var(--icen-
|
|
94
|
+
transition: width var(--icen-duration-slow) var(--icen-ease-out), filter var(--icen-tx-fast);
|
|
78
95
|
}
|
|
79
|
-
.icen-chart-hbar-bar:hover
|
|
96
|
+
.icen-chart-hbar-bar:hover,
|
|
97
|
+
.icen-chart-hbar-bar.is-hover {
|
|
80
98
|
filter: brightness(1.08);
|
|
81
99
|
}
|
|
82
100
|
.icen-chart-hbar-value {
|
|
83
101
|
text-align: right;
|
|
102
|
+
font-family: var(--icen-font-mono);
|
|
103
|
+
font-size: 11px;
|
|
84
104
|
font-variant-numeric: tabular-nums;
|
|
85
|
-
|
|
105
|
+
white-space: nowrap; /* 配合 minmax(52px, auto):长数值单行右对齐,不换行 */
|
|
106
|
+
color: var(--icen-token-text-muted);
|
|
86
107
|
}
|
|
87
108
|
|
|
88
109
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -96,11 +117,29 @@
|
|
|
96
117
|
flex-direction: column;
|
|
97
118
|
justify-content: flex-end;
|
|
98
119
|
gap: 0;
|
|
120
|
+
background: color-mix(in srgb, var(--icen-token-fill-2) 26%, transparent);
|
|
121
|
+
}
|
|
122
|
+
.icen-chart-vbar-track--multi.icen-chart-vbar-track--stacked > .icen-chart-vbar-bar {
|
|
123
|
+
flex: none;
|
|
124
|
+
width: 100%;
|
|
125
|
+
border-radius: 0;
|
|
126
|
+
box-shadow: none;
|
|
127
|
+
}
|
|
128
|
+
/* 堆叠两端保留外轮廓圆角,段与段之间用 2px 面色缝分界(同色相邻也辨得清) */
|
|
129
|
+
.icen-chart-vbar-track--stacked > .icen-chart-vbar-bar:first-child {
|
|
130
|
+
border-end-start-radius: var(--icen-radius-xs);
|
|
131
|
+
border-end-end-radius: var(--icen-radius-xs);
|
|
132
|
+
}
|
|
133
|
+
.icen-chart-vbar-track--stacked > .icen-chart-vbar-bar:last-child {
|
|
134
|
+
border-start-start-radius: var(--icen-radius-xs);
|
|
135
|
+
border-start-end-radius: var(--icen-radius-xs);
|
|
136
|
+
}
|
|
137
|
+
.icen-chart-vbar-track--stacked > .icen-chart-vbar-bar + .icen-chart-vbar-bar {
|
|
138
|
+
box-shadow: inset 0 2px 0 var(--icen-token-card);
|
|
99
139
|
}
|
|
100
|
-
.icen-chart-vbar-track--multi.icen-chart-vbar-track--stacked > .icen-chart-vbar-bar { flex: none; width: 100%; }
|
|
101
140
|
|
|
102
141
|
/* ── 标记线/标记点(spec.marks 的 vbar DOM 变体;--chart-mark-tone 注入标记色;
|
|
103
|
-
|
|
142
|
+
绝对定位元素无 z-index 也高于同容器内的静态条/轨,保持 DOM 顺序即叠放正确)── */
|
|
104
143
|
.icen-chart-vbar .icen-chart-mark-line {
|
|
105
144
|
position: absolute;
|
|
106
145
|
pointer-events: none;
|
|
@@ -118,8 +157,8 @@
|
|
|
118
157
|
}
|
|
119
158
|
.icen-chart-vbar .icen-chart-mark-label {
|
|
120
159
|
position: absolute;
|
|
121
|
-
font-size:
|
|
122
|
-
line-height: 1.
|
|
160
|
+
font-size: 11px;
|
|
161
|
+
line-height: 1.25;
|
|
123
162
|
color: var(--chart-mark-tone, var(--icen-token-text-muted));
|
|
124
163
|
white-space: nowrap;
|
|
125
164
|
}
|
|
@@ -148,4 +187,12 @@
|
|
|
148
187
|
transform: translateX(-50%);
|
|
149
188
|
}
|
|
150
189
|
|
|
190
|
+
@media (forced-colors: active) {
|
|
191
|
+
.icen-chart-vbar-track {
|
|
192
|
+
background: Canvas;
|
|
193
|
+
border: 1px solid CanvasText;
|
|
194
|
+
}
|
|
195
|
+
.icen-chart-hbar-track { border: 1px solid CanvasText; }
|
|
196
|
+
}
|
|
197
|
+
|
|
151
198
|
}
|
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
display: block;
|
|
18
18
|
width: 132px;
|
|
19
19
|
height: 132px;
|
|
20
|
+
overflow: visible;
|
|
21
|
+
}
|
|
22
|
+
/* 轨道与进度同宽(10);轨道压到 6 成,进度弧圆头收口 */
|
|
23
|
+
.icen-chart-gauge svg circle {
|
|
24
|
+
stroke-width: 10;
|
|
25
|
+
}
|
|
26
|
+
.icen-chart-gauge svg circle:first-of-type {
|
|
27
|
+
opacity: 0.7;
|
|
20
28
|
}
|
|
21
29
|
.icen-chart-gauge-center {
|
|
22
30
|
position: absolute;
|
|
@@ -25,17 +33,29 @@
|
|
|
25
33
|
flex-direction: column;
|
|
26
34
|
align-items: center;
|
|
27
35
|
justify-content: center;
|
|
28
|
-
gap:
|
|
36
|
+
gap: 2px;
|
|
37
|
+
text-align: center;
|
|
29
38
|
}
|
|
30
39
|
.icen-chart-gauge-value {
|
|
31
40
|
font-size: var(--icen-density-font-size-2xl);
|
|
32
|
-
font-weight:
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
line-height: 1.05;
|
|
43
|
+
letter-spacing: -0.02em;
|
|
33
44
|
font-variant-numeric: tabular-nums;
|
|
34
45
|
color: var(--icen-token-text);
|
|
35
46
|
}
|
|
36
47
|
.icen-chart-gauge-label {
|
|
37
|
-
|
|
48
|
+
max-width: 88px;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
font-size: 11px;
|
|
53
|
+
letter-spacing: 0.01em;
|
|
38
54
|
color: var(--icen-token-text-faint);
|
|
39
55
|
}
|
|
40
56
|
|
|
57
|
+
@media (forced-colors: active) {
|
|
58
|
+
.icen-chart-gauge svg circle:first-of-type { stroke: CanvasText; }
|
|
59
|
+
}
|
|
60
|
+
|
|
41
61
|
}
|
|
@@ -17,15 +17,18 @@
|
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: auto;
|
|
19
19
|
display: block;
|
|
20
|
+
overflow: visible;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
/*
|
|
23
|
+
/* 边:不参与命中(交互只留节点),任一端簇隐藏时淡化;权重宽度由行为直出 */
|
|
23
24
|
.icen-chart-graph-edge {
|
|
24
25
|
pointer-events: none;
|
|
26
|
+
stroke: var(--icen-token-line);
|
|
27
|
+
opacity: 0.9;
|
|
25
28
|
transition: opacity var(--icen-tx-fast);
|
|
26
29
|
}
|
|
27
30
|
.icen-chart-graph-edge.is-off {
|
|
28
|
-
opacity: 0.
|
|
31
|
+
opacity: 0.08;
|
|
29
32
|
}
|
|
30
33
|
|
|
31
34
|
/* 节点:拖拽抓手(触屏禁默认手势,pointer 拖拽不滚动页面) */
|
|
@@ -37,18 +40,22 @@
|
|
|
37
40
|
cursor: grabbing;
|
|
38
41
|
}
|
|
39
42
|
.icen-chart-graph-dot {
|
|
40
|
-
transition: stroke var(--icen-tx-fast), stroke-width var(--icen-tx-fast);
|
|
43
|
+
transition: stroke var(--icen-tx-fast), stroke-width var(--icen-tx-fast), filter var(--icen-tx-fast);
|
|
41
44
|
}
|
|
42
45
|
/* hover:描边换前景色(bindDatumEvents 挂 .is-hover) */
|
|
43
46
|
.icen-chart-graph-node.is-hover .icen-chart-graph-dot {
|
|
44
47
|
stroke: var(--icen-token-text);
|
|
45
48
|
stroke-width: 2;
|
|
49
|
+
filter: brightness(1.05);
|
|
46
50
|
}
|
|
47
51
|
/* 拖拽态:accent 描边 */
|
|
48
52
|
.icen-chart-graph-node.is-drag .icen-chart-graph-dot {
|
|
49
53
|
stroke: var(--icen-token-accent);
|
|
50
54
|
stroke-width: 2.5;
|
|
51
55
|
}
|
|
56
|
+
.icen-chart-graph-node.is-off {
|
|
57
|
+
opacity: 0.16;
|
|
58
|
+
}
|
|
52
59
|
|
|
53
60
|
@media (prefers-reduced-motion: reduce) {
|
|
54
61
|
.icen-chart-graph-edge,
|
|
@@ -57,4 +64,9 @@
|
|
|
57
64
|
}
|
|
58
65
|
}
|
|
59
66
|
|
|
67
|
+
@media (forced-colors: active) {
|
|
68
|
+
.icen-chart-graph-edge { stroke: GrayText; }
|
|
69
|
+
.icen-chart-graph-dot { stroke: CanvasText; }
|
|
70
|
+
}
|
|
71
|
+
|
|
60
72
|
}
|