@icen.ai/ui 0.9.0 → 0.11.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/AGENTS.md +82 -254
- package/LICENSE +21 -0
- package/README.md +60 -96
- package/dist/base.css +258 -188
- package/dist/behaviors/accordion.mjs +8 -8
- package/dist/behaviors/ai-branch.d.mts +1 -1
- package/dist/behaviors/ai-branch.mjs +1011 -94
- package/dist/behaviors/ai-chat.d.mts +9 -9
- package/dist/behaviors/ai-chat.mjs +1122 -169
- package/dist/behaviors/ai-composer.d.mts +47 -15
- package/dist/behaviors/ai-composer.mjs +2018 -534
- package/dist/behaviors/ai-core.d.mts +1 -1
- package/dist/behaviors/ai-core.mjs +1017 -107
- package/dist/behaviors/ai-diff.mjs +1020 -127
- package/dist/behaviors/ai-feedback.d.mts +1 -1
- package/dist/behaviors/ai-feedback.mjs +1036 -126
- package/dist/behaviors/ai-panel.d.mts +10 -10
- package/dist/behaviors/ai-panel.mjs +1285 -266
- package/dist/behaviors/ai-provider.d.mts +1 -1
- package/dist/behaviors/ai-provider.mjs +1004 -101
- package/dist/behaviors/ai-threads.d.mts +1 -1
- package/dist/behaviors/ai-threads.mjs +1069 -154
- package/dist/behaviors/ai-tool.d.mts +3 -3
- package/dist/behaviors/ai-tool.mjs +2087 -413
- package/dist/behaviors/ai-tools.d.mts +89 -16
- package/dist/behaviors/ai-tools.mjs +5365 -380
- package/dist/behaviors/autocomplete.d.mts +53 -0
- package/dist/behaviors/autocomplete.mjs +1601 -0
- package/dist/behaviors/back-top.d.mts +1 -1
- package/dist/behaviors/back-top.mjs +952 -14
- package/dist/behaviors/carousel.d.mts +1 -1
- package/dist/behaviors/carousel.mjs +914 -12
- package/dist/behaviors/cascader.d.mts +48 -0
- package/dist/behaviors/cascader.mjs +1867 -0
- package/dist/behaviors/charts.d.mts +72 -8
- package/dist/behaviors/charts.mjs +1953 -272
- package/dist/behaviors/code-block.d.mts +36 -0
- package/dist/behaviors/code-block.mjs +1619 -0
- package/dist/behaviors/command-palette.d.mts +9 -6
- package/dist/behaviors/command-palette.mjs +164 -62
- package/dist/behaviors/context-menu.d.mts +10 -9
- package/dist/behaviors/context-menu.mjs +1113 -44
- package/dist/behaviors/controls.d.mts +21 -21
- package/dist/behaviors/controls.mjs +1024 -134
- package/dist/behaviors/copy.d.mts +21 -2
- package/dist/behaviors/copy.mjs +1207 -42
- package/dist/behaviors/datatable.d.mts +55 -5
- package/dist/behaviors/datatable.mjs +2033 -212
- package/dist/behaviors/date-picker.d.mts +0 -1
- package/dist/behaviors/date-picker.mjs +1341 -293
- package/dist/behaviors/design.d.mts +54 -0
- package/dist/behaviors/design.mjs +109 -0
- package/dist/behaviors/dropdown.d.mts +5 -6
- package/dist/behaviors/dropdown.mjs +262 -110
- package/dist/behaviors/events.d.mts +127 -10
- package/dist/behaviors/events.mjs +58 -3
- package/dist/behaviors/feedback.d.mts +30 -0
- package/dist/behaviors/feedback.mjs +296 -0
- package/dist/behaviors/focus.d.mts +8 -0
- package/dist/behaviors/focus.mjs +24 -0
- package/dist/behaviors/form-validate.d.mts +111 -0
- package/dist/behaviors/form-validate.mjs +1746 -0
- package/dist/behaviors/i18n.d.mts +790 -0
- package/dist/behaviors/i18n.mjs +1713 -0
- package/dist/behaviors/icons.d.mts +93 -0
- package/dist/behaviors/icons.mjs +113 -0
- package/dist/behaviors/input.d.mts +9 -1
- package/dist/behaviors/input.mjs +1059 -60
- package/dist/behaviors/kb-access.d.mts +3 -3
- package/dist/behaviors/kb-access.mjs +2135 -239
- package/dist/behaviors/kb-acl.d.mts +8 -8
- package/dist/behaviors/kb-acl.mjs +1120 -179
- package/dist/behaviors/kb-answer.d.mts +2 -2
- package/dist/behaviors/kb-answer.mjs +2120 -435
- package/dist/behaviors/kb-audit.d.mts +3 -3
- package/dist/behaviors/kb-audit.mjs +1077 -154
- package/dist/behaviors/kb-canvas.d.mts +3 -3
- package/dist/behaviors/kb-canvas.mjs +1101 -177
- package/dist/behaviors/kb-chain.d.mts +2 -2
- package/dist/behaviors/kb-chain.mjs +1023 -100
- package/dist/behaviors/kb-checkpoint.d.mts +3 -3
- package/dist/behaviors/kb-checkpoint.mjs +1320 -169
- package/dist/behaviors/kb-chunks.d.mts +2 -2
- package/dist/behaviors/kb-chunks.mjs +1153 -213
- package/dist/behaviors/kb-citation.d.mts +3 -3
- package/dist/behaviors/kb-citation.mjs +1221 -185
- package/dist/behaviors/kb-clarify.d.mts +2 -2
- package/dist/behaviors/kb-clarify.mjs +1059 -130
- package/dist/behaviors/kb-conflict.d.mts +2 -2
- package/dist/behaviors/kb-conflict.mjs +1042 -119
- package/dist/behaviors/kb-connector.d.mts +2 -2
- package/dist/behaviors/kb-connector.mjs +1105 -176
- package/dist/behaviors/kb-core.d.mts +7 -2
- package/dist/behaviors/kb-core.mjs +1078 -162
- package/dist/behaviors/kb-eval.d.mts +2 -2
- package/dist/behaviors/kb-eval.mjs +1977 -144
- package/dist/behaviors/kb-explain.d.mts +3 -3
- package/dist/behaviors/kb-explain.mjs +1037 -104
- package/dist/behaviors/kb-filter.d.mts +2 -2
- package/dist/behaviors/kb-filter.mjs +2014 -178
- package/dist/behaviors/kb-gap.d.mts +3 -3
- package/dist/behaviors/kb-gap.mjs +1044 -121
- package/dist/behaviors/kb-hittest.d.mts +3 -3
- package/dist/behaviors/kb-hittest.mjs +1095 -151
- package/dist/behaviors/kb-metadata.mjs +1058 -130
- package/dist/behaviors/kb-passage.d.mts +4 -4
- package/dist/behaviors/kb-passage.mjs +1102 -161
- package/dist/behaviors/kb-pipeline.d.mts +4 -4
- package/dist/behaviors/kb-pipeline.mjs +1083 -162
- package/dist/behaviors/kb-qa.mjs +1089 -160
- package/dist/behaviors/kb-rerank.d.mts +2 -2
- package/dist/behaviors/kb-rerank.mjs +1048 -114
- package/dist/behaviors/kb-retrieval.d.mts +2 -2
- package/dist/behaviors/kb-retrieval.mjs +2079 -226
- package/dist/behaviors/kb-review.d.mts +2 -2
- package/dist/behaviors/kb-review.mjs +1996 -159
- package/dist/behaviors/kb-sandbox.d.mts +3 -3
- package/dist/behaviors/kb-sandbox.mjs +1033 -105
- package/dist/behaviors/kb-segment.d.mts +2 -2
- package/dist/behaviors/kb-segment.mjs +1112 -179
- package/dist/behaviors/kb-select.d.mts +24 -0
- package/dist/behaviors/kb-select.mjs +1995 -0
- package/dist/behaviors/kb-sources.d.mts +3 -3
- package/dist/behaviors/kb-sources.mjs +1085 -170
- package/dist/behaviors/kb-sql.d.mts +3 -3
- package/dist/behaviors/kb-sql.mjs +1144 -226
- package/dist/behaviors/kb-trace.d.mts +3 -3
- package/dist/behaviors/kb-trace.mjs +1051 -131
- package/dist/behaviors/kb-visibility.d.mts +2 -2
- package/dist/behaviors/kb-visibility.mjs +1087 -158
- package/dist/behaviors/kb-who-can.d.mts +2 -2
- package/dist/behaviors/kb-who-can.mjs +1980 -137
- package/dist/behaviors/mentions.d.mts +93 -0
- package/dist/behaviors/mentions.mjs +2153 -0
- package/dist/behaviors/modal.d.mts +4 -3
- package/dist/behaviors/modal.mjs +1056 -33
- package/dist/behaviors/nav.d.mts +1 -1
- package/dist/behaviors/nav.mjs +6 -6
- package/dist/behaviors/notification.d.mts +16 -8
- package/dist/behaviors/notification.mjs +1629 -268
- package/dist/behaviors/panel.d.mts +4 -0
- package/dist/behaviors/panel.mjs +995 -0
- package/dist/behaviors/popover.d.mts +28 -5
- package/dist/behaviors/popover.mjs +225 -24
- package/dist/behaviors/scroll-area.d.mts +17 -0
- package/dist/behaviors/scroll-area.mjs +59 -0
- package/dist/behaviors/select.d.mts +5 -2
- package/dist/behaviors/select.mjs +1416 -117
- package/dist/behaviors/sidebar.d.mts +1 -1
- package/dist/behaviors/sidebar.mjs +13 -13
- package/dist/behaviors/slider.d.mts +1 -1
- package/dist/behaviors/slider.mjs +12 -12
- package/dist/behaviors/split-pane.d.mts +1 -1
- package/dist/behaviors/split-pane.mjs +9 -7
- package/dist/behaviors/suggestions.d.mts +27 -0
- package/dist/behaviors/suggestions.mjs +1090 -0
- package/dist/behaviors/svg-parse.d.mts +14 -0
- package/dist/behaviors/svg-parse.mjs +37 -0
- package/dist/behaviors/tabs.d.mts +2 -2
- package/dist/behaviors/tabs.mjs +35 -25
- package/dist/behaviors/tag-input.d.mts +23 -5
- package/dist/behaviors/tag-input.mjs +1360 -104
- package/dist/behaviors/theme-switcher.d.mts +24 -0
- package/dist/behaviors/theme-switcher.mjs +1996 -0
- package/dist/behaviors/theme.d.mts +15 -8
- package/dist/behaviors/theme.mjs +406 -30
- package/dist/behaviors/toast.d.mts +24 -25
- package/dist/behaviors/toast.mjs +1267 -88
- package/dist/behaviors/tooltip.d.mts +4 -0
- package/dist/behaviors/tooltip.mjs +378 -0
- package/dist/behaviors/tree-select.d.mts +69 -0
- package/dist/behaviors/tree-select.mjs +1921 -0
- package/dist/behaviors/tree.d.mts +1 -1
- package/dist/behaviors/tree.mjs +18 -18
- package/dist/behaviors/upload.d.mts +3 -2
- package/dist/behaviors/upload.mjs +1077 -66
- package/dist/behaviors/url-safety.d.mts +8 -0
- package/dist/behaviors/url-safety.mjs +11 -0
- package/dist/cli.mjs +5 -6
- package/dist/components/accordion.d.mts +2 -0
- package/dist/components/ai-branch.d.mts +2 -0
- package/dist/components/ai-chat.css +682 -582
- 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 +153 -132
- 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 +353 -343
- 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 +397 -242
- package/dist/components/ai-usage.d.mts +2 -0
- package/dist/components/alert.d.mts +2 -0
- package/dist/components/autocomplete.css +61 -0
- package/dist/components/autocomplete.d.mts +2 -0
- package/dist/components/autocomplete.mjs +3 -0
- package/dist/components/avatar.d.mts +2 -0
- package/dist/components/back-top.css +74 -40
- package/dist/components/back-top.d.mts +2 -0
- package/dist/components/badge.css +44 -41
- package/dist/components/badge.d.mts +2 -0
- package/dist/components/breadcrumb.css +85 -46
- package/dist/components/breadcrumb.d.mts +2 -0
- package/dist/components/btn.css +105 -94
- package/dist/components/btn.d.mts +2 -0
- package/dist/components/card.css +124 -113
- package/dist/components/card.d.mts +2 -0
- package/dist/components/carousel.d.mts +2 -0
- package/dist/components/cascader.css +332 -0
- package/dist/components/cascader.d.mts +2 -0
- package/dist/components/cascader.mjs +3 -0
- package/dist/components/chart-area.css +54 -2
- package/dist/components/chart-area.d.mts +2 -0
- package/dist/components/chart-bar.css +147 -38
- package/dist/components/chart-bar.d.mts +2 -0
- package/dist/components/chart-calendar.d.mts +2 -0
- package/dist/components/chart-gauge.css +36 -13
- package/dist/components/chart-gauge.d.mts +2 -0
- package/dist/components/chart-graph.css +35 -20
- package/dist/components/chart-graph.d.mts +2 -0
- package/dist/components/chart-heatmap.css +67 -39
- package/dist/components/chart-heatmap.d.mts +2 -0
- package/dist/components/chart-line.css +62 -3
- package/dist/components/chart-line.d.mts +2 -0
- package/dist/components/chart-map.d.mts +2 -0
- package/dist/components/chart-pie.css +38 -6
- package/dist/components/chart-pie.d.mts +2 -0
- package/dist/components/chart-radar.css +57 -5
- package/dist/components/chart-radar.d.mts +2 -0
- package/dist/components/chart-scatter.css +47 -7
- package/dist/components/chart-scatter.d.mts +2 -0
- package/dist/components/chart-sparkline.css +25 -2
- package/dist/components/chart-sparkline.d.mts +2 -0
- package/dist/components/chart-stack.css +27 -13
- package/dist/components/chart-stack.d.mts +2 -0
- package/dist/components/charts.css +220 -84
- package/dist/components/charts.d.mts +2 -0
- package/dist/components/code-block.css +420 -0
- package/dist/components/code-block.d.mts +2 -0
- package/dist/components/code-block.mjs +4 -0
- package/dist/components/command-palette.css +150 -122
- package/dist/components/command-palette.d.mts +2 -0
- package/dist/components/content.css +274 -263
- package/dist/components/context-menu.d.mts +2 -0
- package/dist/components/copy.css +73 -45
- package/dist/components/copy.d.mts +2 -0
- package/dist/components/datatable.css +457 -202
- package/dist/components/datatable.d.mts +2 -0
- package/dist/components/date-picker.css +136 -105
- 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 +72 -69
- package/dist/components/empty.d.mts +2 -0
- package/dist/components/feedback.css +211 -191
- package/dist/components/form-validate.css +134 -0
- package/dist/components/form-validate.d.mts +2 -0
- package/dist/components/form-validate.mjs +3 -0
- package/dist/components/form.css +157 -131
- package/dist/components/form.d.mts +2 -0
- package/dist/components/icon.css +113 -0
- package/dist/components/icon.d.mts +2 -0
- package/dist/components/icon.mjs +3 -0
- package/dist/components/input.css +163 -108
- 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 +300 -206
- 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 +431 -315
- 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 +333 -229
- package/dist/components/kb-hittest.d.mts +2 -0
- package/dist/components/kb-ingest.css +613 -434
- package/dist/components/kb-metadata.d.mts +2 -0
- package/dist/components/kb-ops.css +422 -302
- package/dist/components/kb-passage.d.mts +2 -0
- package/dist/components/kb-perm.css +374 -314
- 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 +653 -459
- 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 +170 -135
- package/dist/components/kb.d.mts +2 -0
- package/dist/components/kbd.d.mts +2 -0
- package/dist/components/layout.css +86 -83
- package/dist/components/layout.d.mts +2 -0
- package/dist/components/list.d.mts +2 -0
- package/dist/components/material-chinese.css +83 -0
- package/dist/components/material-soviet.css +86 -0
- package/dist/components/material.css +318 -0
- package/dist/components/media-card.d.mts +2 -0
- package/dist/components/media.css +225 -176
- package/dist/components/mentions.css +190 -0
- package/dist/components/mentions.d.mts +2 -0
- package/dist/components/mentions.mjs +3 -0
- package/dist/components/menu.css +121 -109
- package/dist/components/modal.css +116 -118
- package/dist/components/modal.d.mts +2 -0
- package/dist/components/nav.css +136 -129
- package/dist/components/nav.d.mts +2 -0
- package/dist/components/notification.css +247 -177
- package/dist/components/notification.d.mts +2 -0
- package/dist/components/pagination.css +62 -57
- package/dist/components/pagination.d.mts +2 -0
- package/dist/components/panel.css +70 -68
- package/dist/components/panel.d.mts +2 -0
- package/dist/components/panel.mjs +1 -0
- package/dist/components/pill.css +83 -72
- package/dist/components/pill.d.mts +2 -0
- package/dist/components/popover.css +80 -57
- 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 +29 -54
- package/dist/components/scroll-area.d.mts +2 -0
- package/dist/components/scroll-area.mjs +1 -0
- package/dist/components/segmented.css +167 -146
- package/dist/components/segmented.d.mts +2 -0
- package/dist/components/select.css +250 -191
- package/dist/components/select.d.mts +2 -0
- package/dist/components/sidebar.css +157 -143
- package/dist/components/sidebar.d.mts +2 -0
- package/dist/components/skeleton.d.mts +2 -0
- package/dist/components/slider.css +135 -128
- package/dist/components/slider.d.mts +2 -0
- package/dist/components/spinner.d.mts +2 -0
- package/dist/components/split-pane.css +120 -108
- package/dist/components/split-pane.d.mts +2 -0
- package/dist/components/stat.css +116 -109
- package/dist/components/stat.d.mts +2 -0
- package/dist/components/steps.css +114 -108
- package/dist/components/steps.d.mts +2 -0
- package/dist/components/switch.css +192 -149
- package/dist/components/switch.d.mts +2 -0
- package/dist/components/table.css +158 -112
- package/dist/components/table.d.mts +2 -0
- package/dist/components/tabs.css +143 -116
- package/dist/components/tabs.d.mts +2 -0
- package/dist/components/tag-input.css +52 -133
- package/dist/components/tag-input.d.mts +2 -0
- package/dist/components/tag.css +90 -72
- package/dist/components/tag.d.mts +2 -0
- package/dist/components/theme-switcher.css +105 -0
- package/dist/components/theme-switcher.d.mts +2 -0
- package/dist/components/theme-switcher.mjs +3 -0
- package/dist/components/timeline.d.mts +2 -0
- package/dist/components/toast.css +115 -97
- package/dist/components/toast.d.mts +2 -0
- package/dist/components/toolbar.css +47 -43
- package/dist/components/toolbar.d.mts +2 -0
- package/dist/components/tooltip.css +103 -43
- package/dist/components/tooltip.d.mts +2 -0
- package/dist/components/tooltip.mjs +1 -0
- package/dist/components/tree-select.css +439 -0
- package/dist/components/tree-select.d.mts +2 -0
- package/dist/components/tree-select.mjs +3 -0
- package/dist/components/tree.d.mts +2 -0
- package/dist/components/upload.css +138 -97
- package/dist/components/upload.d.mts +2 -0
- package/dist/fonts/LICENSES/ark-pixel/OFL.txt +96 -0
- package/dist/fonts/LICENSES/cubic-11/OFL.txt +108 -0
- package/dist/fonts/LICENSES/galmuri/LICENSE.txt +93 -0
- package/dist/fonts/OFL.txt +96 -0
- package/dist/fonts/README.md +14 -0
- package/dist/fonts/fusion-pixel-12px-zh-hans.woff2 +0 -0
- package/dist/index.d.mts +85 -70
- package/dist/index.mjs +17330 -5773
- package/dist/react.d.mts +91 -0
- package/dist/react.mjs +8307 -0
- package/dist/registry.json +918 -70
- package/dist/tokens/chinese.css +44 -0
- package/dist/tokens/colors.css +371 -1222
- package/dist/tokens/design.css +209 -0
- package/dist/tokens/dtcg.json +15926 -0
- package/dist/tokens/figma.variables.json +10779 -0
- package/dist/tokens/icon-masks.css +78 -0
- package/dist/tokens/pixel.css +53 -0
- package/dist/tokens/scrollbars.css +40 -0
- package/dist/tokens/soviet.css +44 -0
- package/dist/tokens/style-profiles.css +36 -547
- package/dist/tokens/themes.json +308 -0
- package/dist/tokens/tokens-studio.json +11648 -0
- package/dist/tokens/typography.css +21 -18
- package/dist/tokens.css +1783 -1806
- package/dist/ui.css +14796 -10750
- package/dist/vue.d.mts +344 -0
- package/dist/vue.mjs +7876 -0
- package/docs/spec/ai-input-experience.md +75 -0
- package/docs/spec/ai-native.md +238 -147
- package/docs/spec/design-philosophy.md +189 -0
- package/docs/spec/design-primitives.md +196 -0
- package/docs/spec/kb-family.md +147 -115
- package/docs/spec/scrollbars.md +46 -0
- package/package.json +56 -8
- package/dist/retro-effects.css +0 -255
- package/dist/tokens/retro-effects.css +0 -255
- package/docs/research/2026-10-03-ai-kb-components.md +0 -392
- package/docs/research/2026-10-03-kb-permissions.md +0 -992
package/dist/components/tag.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@layer icen.components {
|
|
1
2
|
/*
|
|
2
3
|
* @icen.ai/ui — Component: tag(展示标签 / Chip)
|
|
3
4
|
*
|
|
@@ -7,30 +8,30 @@
|
|
|
7
8
|
* 常用于:分类、筛选条件、属性标记、邮件标签、文件 tag
|
|
8
9
|
*
|
|
9
10
|
* 完整契约:
|
|
10
|
-
* <span class="tag [.tag--sm|.tag--lg] [.is-selected] [.is-disabled]
|
|
11
|
-
* [.tag--accent|.tag--success|.tag--warning|.tag--error|.tag--info]">
|
|
12
|
-
* <span class="tag-icon">…svg…</span> <!-- 可选左图标 -->
|
|
13
|
-
* <span class="tag-label">标签文本</span>
|
|
14
|
-
* <button class="tag-close" type="button" aria-label="移除">×</button> <!-- 可选 -->
|
|
11
|
+
* <span class="icen-tag [.icen-tag--sm|.icen-tag--lg] [.is-selected] [.is-disabled]
|
|
12
|
+
* [.icen-tag--accent|.icen-tag--success|.icen-tag--warning|.icen-tag--error|.icen-tag--info]">
|
|
13
|
+
* <span class="icen-tag-icon">…svg…</span> <!-- 可选左图标 -->
|
|
14
|
+
* <span class="icen-tag-label">标签文本</span>
|
|
15
|
+
* <button class="icen-tag-close" type="button" aria-label="移除">×</button> <!-- 可选 -->
|
|
15
16
|
* </span>
|
|
16
17
|
*
|
|
17
18
|
* 选中态 .is-selected 由消费方驱动(用于筛选条件等);
|
|
18
|
-
* .tag-close 点击后消费方决定是否从 DOM 移除本节点(本组件不自动删除)。
|
|
19
|
+
* .icen-tag-close 点击后消费方决定是否从 DOM 移除本节点(本组件不自动删除)。
|
|
19
20
|
*/
|
|
20
21
|
|
|
21
|
-
.tag {
|
|
22
|
+
.icen-tag {
|
|
22
23
|
display: inline-flex;
|
|
23
24
|
align-items: center;
|
|
24
25
|
gap: 4px;
|
|
25
|
-
padding: 0 var(--density-space-sm);
|
|
26
|
+
padding: 0 var(--icen-density-space-sm);
|
|
26
27
|
height: 24px;
|
|
27
|
-
background: var(--token-fill-
|
|
28
|
-
color: var(--token-text-muted);
|
|
29
|
-
border: 1px solid var(--token-
|
|
30
|
-
border-radius: var(--radius-sm);
|
|
28
|
+
background: var(--icen-token-fill-hover);
|
|
29
|
+
color: var(--icen-token-text-muted);
|
|
30
|
+
border: 1px solid var(--icen-token-control-border);
|
|
31
|
+
border-radius: var(--icen-control-radius-sm);
|
|
31
32
|
font: inherit;
|
|
32
|
-
font-size: var(--
|
|
33
|
-
letter-spacing:
|
|
33
|
+
font-size: var(--icen-font-size-caption);
|
|
34
|
+
letter-spacing: .01em;
|
|
34
35
|
white-space: nowrap;
|
|
35
36
|
vertical-align: middle;
|
|
36
37
|
transition:
|
|
@@ -38,54 +39,54 @@
|
|
|
38
39
|
border-color var(--icen-tx-fast),
|
|
39
40
|
color var(--icen-tx-fast);
|
|
40
41
|
}
|
|
41
|
-
.tag:hover {
|
|
42
|
-
background: var(--token-
|
|
43
|
-
color: var(--token-text);
|
|
42
|
+
.icen-tag:hover {
|
|
43
|
+
background: var(--icen-token-surface-pressed);
|
|
44
|
+
color: var(--icen-token-text);
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
/* 尺寸变体 */
|
|
47
|
-
.tag--sm {
|
|
48
|
+
.icen-tag--sm {
|
|
48
49
|
height: 20px;
|
|
49
50
|
padding: 0 6px;
|
|
50
|
-
font-size: var(--density-font-size-xs);
|
|
51
|
+
font-size: var(--icen-density-font-size-xs);
|
|
51
52
|
gap: 3px;
|
|
52
53
|
}
|
|
53
|
-
.tag--lg {
|
|
54
|
+
.icen-tag--lg {
|
|
54
55
|
height: 28px;
|
|
55
56
|
padding: 0 10px;
|
|
56
|
-
font-size: var(--density-font-size-md);
|
|
57
|
+
font-size: var(--icen-density-font-size-md);
|
|
57
58
|
gap: 6px;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
/* ── 图标 ── */
|
|
61
|
-
.tag-icon {
|
|
62
|
+
.icen-tag-icon {
|
|
62
63
|
display: inline-flex;
|
|
63
64
|
align-items: center;
|
|
64
65
|
justify-content: center;
|
|
65
66
|
flex-shrink: 0;
|
|
66
|
-
color: var(--token-text-faint);
|
|
67
|
+
color: var(--icen-token-text-faint);
|
|
67
68
|
}
|
|
68
|
-
.tag-icon svg { width: 12px; height: 12px; }
|
|
69
|
-
.tag--sm .tag-icon svg { width: 10px; height: 10px; }
|
|
70
|
-
.tag--lg .tag-icon svg { width: 14px; height: 14px; }
|
|
71
|
-
.tag-label {
|
|
69
|
+
.icen-tag-icon svg { width: 12px; height: 12px; }
|
|
70
|
+
.icen-tag--sm .icen-tag-icon svg { width: 10px; height: 10px; }
|
|
71
|
+
.icen-tag--lg .icen-tag-icon svg { width: 14px; height: 14px; }
|
|
72
|
+
.icen-tag-label {
|
|
72
73
|
overflow: hidden;
|
|
73
74
|
text-overflow: ellipsis;
|
|
74
75
|
max-width: 240px;
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
/* ── 关闭按钮(消费方点击后自行决定是否从 DOM 移除) ── */
|
|
78
|
-
.tag-close {
|
|
79
|
+
.icen-tag-close {
|
|
79
80
|
display: inline-flex;
|
|
80
81
|
align-items: center;
|
|
81
82
|
justify-content: center;
|
|
82
83
|
width: 16px;
|
|
83
84
|
height: 16px;
|
|
84
85
|
padding: 0;
|
|
85
|
-
margin-
|
|
86
|
-
margin-
|
|
86
|
+
margin-inline-end: -4px;
|
|
87
|
+
margin-inline-start: 2px;
|
|
87
88
|
border: 0;
|
|
88
|
-
border-radius: var(--radius-xs);
|
|
89
|
+
border-radius: var(--icen-radius-xs);
|
|
89
90
|
background: transparent;
|
|
90
91
|
color: inherit;
|
|
91
92
|
opacity: 0.6;
|
|
@@ -93,72 +94,89 @@
|
|
|
93
94
|
-webkit-tap-highlight-color: transparent;
|
|
94
95
|
transition: opacity var(--icen-tx-fast), background-color var(--icen-tx-fast);
|
|
95
96
|
}
|
|
96
|
-
.tag-close:hover {
|
|
97
|
+
.icen-tag-close:hover {
|
|
97
98
|
opacity: 1;
|
|
98
|
-
background: color-mix(in srgb, var(--token-text-faint) 22%, transparent);
|
|
99
|
+
background: color-mix(in srgb, var(--icen-token-text-faint) 22%, transparent);
|
|
99
100
|
}
|
|
100
|
-
.tag-close:focus-visible {
|
|
101
|
+
.icen-tag-close:focus-visible {
|
|
101
102
|
outline: none;
|
|
102
103
|
box-shadow: var(--icen-ring);
|
|
103
104
|
}
|
|
104
|
-
.
|
|
105
|
-
|
|
106
|
-
.tag
|
|
105
|
+
/* 触屏抬触达面(镜像 pill.css 的 .icen-pill-close 口径;桌面保持 16px 紧凑视觉) */
|
|
106
|
+
@media (pointer: coarse) {
|
|
107
|
+
.icen-tag-close {
|
|
108
|
+
min-inline-size: 28px;
|
|
109
|
+
min-block-size: 28px;
|
|
110
|
+
opacity: 1;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
.icen-tag-close svg { width: 10px; height: 10px; }
|
|
114
|
+
.icen-tag--sm .icen-tag-close { width: 14px; height: 14px; margin-inline-end: -2px; }
|
|
115
|
+
.icen-tag--lg .icen-tag-close { width: 18px; height: 18px; margin-inline-end: -6px; }
|
|
107
116
|
|
|
108
117
|
/* ── 选中态(用于筛选条件等)── */
|
|
109
|
-
.tag.is-selected {
|
|
110
|
-
background: var(--token-
|
|
111
|
-
color: var(--
|
|
112
|
-
border-color: color-mix(in srgb, var(--token-accent)
|
|
118
|
+
.icen-tag.is-selected {
|
|
119
|
+
background: var(--icen-token-fill-selected);
|
|
120
|
+
color: var(--icen-token-text);
|
|
121
|
+
border-color: color-mix(in srgb, var(--icen-token-accent) 30%, transparent);
|
|
113
122
|
}
|
|
114
|
-
.tag.is-selected .tag-icon { color: var(--token-accent); }
|
|
123
|
+
.icen-tag.is-selected .icen-tag-icon { color: var(--icen-token-accent-strong); }
|
|
115
124
|
|
|
116
125
|
/* ── 语义色变体(与 pill 对齐,但底色更淡,作分类着色用)── */
|
|
117
|
-
.tag--accent {
|
|
118
|
-
background:
|
|
119
|
-
color: var(--token-accent-
|
|
120
|
-
border-color: color-mix(in srgb, var(--token-accent) 30%, transparent);
|
|
121
|
-
}
|
|
122
|
-
.tag--success {
|
|
123
|
-
background: color-mix(in srgb, var(--token-success) 10%, transparent);
|
|
124
|
-
color: var(--token-success);
|
|
125
|
-
border-color: color-mix(in srgb, var(--token-success) 30%, transparent);
|
|
126
|
-
}
|
|
127
|
-
.tag--warning {
|
|
128
|
-
background: color-mix(in srgb, var(--token-warning) 10%, transparent);
|
|
129
|
-
color: var(--token-warning);
|
|
130
|
-
border-color: color-mix(in srgb, var(--token-warning) 30%, transparent);
|
|
131
|
-
}
|
|
132
|
-
.tag--error {
|
|
133
|
-
background: color-mix(in srgb, var(--token-error) 10%, transparent);
|
|
134
|
-
color: var(--token-error);
|
|
135
|
-
border-color: color-mix(in srgb, var(--token-error) 30%, transparent);
|
|
136
|
-
}
|
|
137
|
-
.tag--info {
|
|
138
|
-
background: color-mix(in srgb, var(--token-info) 10%, transparent);
|
|
139
|
-
color: var(--token-info);
|
|
140
|
-
border-color: color-mix(in srgb, var(--token-info) 30%, transparent);
|
|
126
|
+
.icen-tag--accent {
|
|
127
|
+
background: var(--icen-token-accent-subtle);
|
|
128
|
+
color: var(--icen-token-accent-text);
|
|
129
|
+
border-color: color-mix(in srgb, var(--icen-token-accent) 30%, transparent);
|
|
130
|
+
}
|
|
131
|
+
.icen-tag--success {
|
|
132
|
+
background: color-mix(in srgb, var(--icen-token-success) 10%, transparent);
|
|
133
|
+
color: var(--icen-token-success);
|
|
134
|
+
border-color: color-mix(in srgb, var(--icen-token-success) 30%, transparent);
|
|
135
|
+
}
|
|
136
|
+
.icen-tag--warning {
|
|
137
|
+
background: color-mix(in srgb, var(--icen-token-warning) 10%, transparent);
|
|
138
|
+
color: var(--icen-token-warning);
|
|
139
|
+
border-color: color-mix(in srgb, var(--icen-token-warning) 30%, transparent);
|
|
140
|
+
}
|
|
141
|
+
.icen-tag--error {
|
|
142
|
+
background: color-mix(in srgb, var(--icen-token-error) 10%, transparent);
|
|
143
|
+
color: var(--icen-token-error);
|
|
144
|
+
border-color: color-mix(in srgb, var(--icen-token-error) 30%, transparent);
|
|
145
|
+
}
|
|
146
|
+
.icen-tag--info {
|
|
147
|
+
background: color-mix(in srgb, var(--icen-token-info) 10%, transparent);
|
|
148
|
+
color: var(--icen-token-info);
|
|
149
|
+
border-color: color-mix(in srgb, var(--icen-token-info) 30%, transparent);
|
|
141
150
|
}
|
|
142
151
|
|
|
143
152
|
/* ── 禁用态 ── */
|
|
144
|
-
.tag.is-disabled,
|
|
145
|
-
.tag[aria-disabled='true'] {
|
|
153
|
+
.icen-tag.is-disabled,
|
|
154
|
+
.icen-tag[aria-disabled='true'] {
|
|
146
155
|
opacity: var(--icen-disabled-opacity);
|
|
147
156
|
cursor: not-allowed;
|
|
148
157
|
pointer-events: none;
|
|
149
158
|
}
|
|
150
159
|
|
|
151
160
|
/* ── 可点击(用于可筛选 tag) ── */
|
|
152
|
-
button.tag,
|
|
153
|
-
.tag[role='button'] {
|
|
161
|
+
button.icen-tag,
|
|
162
|
+
.icen-tag[role='button'] {
|
|
154
163
|
cursor: pointer;
|
|
155
164
|
-webkit-tap-highlight-color: transparent;
|
|
156
165
|
}
|
|
157
|
-
.tag:where(button, [role='button']):focus-visible {
|
|
166
|
+
.icen-tag:where(button, [role='button']):focus-visible {
|
|
158
167
|
outline: none;
|
|
159
168
|
box-shadow: var(--icen-ring);
|
|
160
169
|
}
|
|
161
170
|
|
|
162
171
|
@media (prefers-reduced-motion: reduce) {
|
|
163
|
-
.tag, .tag-close { transition: none; }
|
|
172
|
+
.icen-tag, .icen-tag-close { transition: none; }
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Reveal only the secondary action; its fixed slot keeps the label still. */
|
|
176
|
+
@media (hover: hover) and (pointer: fine) {
|
|
177
|
+
.icen-tag-close { opacity: 0; transform: scale(.88); transition: opacity var(--icen-tx-fast), transform var(--icen-tx-fast), background-color var(--icen-tx-fast); }
|
|
178
|
+
.icen-tag:is(:hover,:focus-within) .icen-tag-close { opacity: 1; transform: none; }
|
|
179
|
+
}
|
|
180
|
+
@media (prefers-reduced-motion: reduce) { .icen-tag-close { transition: none; transform: none; } }
|
|
181
|
+
|
|
164
182
|
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@layer icen.components {
|
|
2
|
+
/* Appearance control: .icen-theme-switcher; --xs/--sm/default/--lg sizes.
|
|
3
|
+
* data-icen-display=icon|color|color-name|name|swatch|swatch-name.
|
|
4
|
+
* data-icen-layout=inline exposes the same choices as a settings panel.
|
|
5
|
+
* All rendering is owned by theme-switcher.ts; CSS has no behavior dependency. */
|
|
6
|
+
.icen-theme-switcher {
|
|
7
|
+
--switcher-height: var(--icen-density-input-height-md);
|
|
8
|
+
--switcher-font: var(--icen-density-font-size-md);
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
max-inline-size: 100%;
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
font-family: var(--icen-font-body);
|
|
13
|
+
font-size: var(--switcher-font);
|
|
14
|
+
color: var(--icen-token-text);
|
|
15
|
+
}
|
|
16
|
+
.icen-theme-switcher--xs { --switcher-height: calc(var(--icen-density-input-height-sm) - 4px); --switcher-font: var(--icen-density-font-size-sm); }
|
|
17
|
+
.icen-theme-switcher--sm { --switcher-height: var(--icen-density-input-height-sm); --switcher-font: var(--icen-density-font-size-sm); }
|
|
18
|
+
.icen-theme-switcher--lg { --switcher-height: var(--icen-density-input-height-lg); }
|
|
19
|
+
.icen-theme-switcher-trigger,
|
|
20
|
+
.icen-theme-switcher-option {
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
gap: var(--icen-density-space-sm);
|
|
25
|
+
border: 1px solid var(--icen-token-line-soft);
|
|
26
|
+
border-radius: var(--icen-radius-md);
|
|
27
|
+
background: var(--icen-token-surface);
|
|
28
|
+
color: var(--icen-token-text);
|
|
29
|
+
font: inherit;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
transition: background-color var(--icen-tx-fast), border-color var(--icen-tx-fast);
|
|
33
|
+
}
|
|
34
|
+
.icen-theme-switcher-trigger { min-block-size: var(--switcher-height); padding: 0 var(--icen-density-space-sm); white-space: nowrap; }
|
|
35
|
+
.icen-theme-switcher-trigger:hover,
|
|
36
|
+
.icen-theme-switcher-option:hover { background: var(--icen-token-surface-hover); border-color: var(--icen-token-line); }
|
|
37
|
+
.icen-theme-switcher-trigger:focus-visible,
|
|
38
|
+
.icen-theme-switcher-option:focus-visible { outline: 2px solid var(--icen-token-accent); outline-offset: 2px; /* 与全局 a:focus-visible / material 系 2px 口径对齐 */ }
|
|
39
|
+
.icen-theme-switcher-trigger[aria-expanded="true"] { border-color: var(--icen-token-accent); }
|
|
40
|
+
.icen-theme-switcher-sample { display: inline-flex; flex: 0 0 auto; inline-size: 40px; block-size: 20px; overflow: hidden; border: 1px solid var(--icen-token-line); border-radius: var(--icen-radius-sm); }
|
|
41
|
+
.icen-theme-switcher-sample i { display: block; flex: 1; }
|
|
42
|
+
.icen-theme-switcher-symbol { display: inline-flex; align-items: center; justify-content: center; inline-size: 20px; font-size: 20px; line-height: 1; }
|
|
43
|
+
.icen-theme-switcher[data-icen-display="icon"] .icen-theme-switcher-trigger,
|
|
44
|
+
.icen-theme-switcher[data-icen-display="color"] .icen-theme-switcher-trigger { inline-size: var(--switcher-height); padding: 0; }
|
|
45
|
+
.icen-theme-switcher[data-icen-display="icon"] .icen-theme-switcher-name,
|
|
46
|
+
.icen-theme-switcher[data-icen-display="color"] .icen-theme-switcher-name,
|
|
47
|
+
.icen-theme-switcher[data-icen-display="swatch"] .icen-theme-switcher-name { display: none; }
|
|
48
|
+
.icen-theme-switcher[data-icen-display="name"] .icen-theme-switcher-trigger > .icen-theme-switcher-sample,
|
|
49
|
+
.icen-theme-switcher[data-icen-display="name"] .icen-theme-switcher-trigger > .icen-theme-switcher-symbol { display: none; }
|
|
50
|
+
.icen-theme-switcher:is([data-icen-display="icon"],[data-icen-display="color"],[data-icen-display="color-name"]) .icen-theme-switcher-trigger .icen-theme-switcher-sample { inline-size: 18px; block-size: 18px; border-radius: var(--icen-radius-full); transform: rotate(-35deg); }
|
|
51
|
+
.icen-theme-switcher:is([data-icen-display="icon"],[data-icen-display="color"],[data-icen-display="color-name"]) .icen-theme-switcher-trigger .icen-theme-switcher-sample i:last-child { display: none; }
|
|
52
|
+
.icen-theme-switcher-panel {
|
|
53
|
+
position: fixed;
|
|
54
|
+
z-index: var(--icen-z-popover);
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
padding: var(--icen-density-space-md);
|
|
57
|
+
overflow: auto;
|
|
58
|
+
border: 1px solid var(--icen-token-material-edge);
|
|
59
|
+
border-radius: var(--icen-radius-lg);
|
|
60
|
+
background: var(--icen-token-surface);
|
|
61
|
+
color: var(--icen-token-text);
|
|
62
|
+
box-shadow: var(--icen-token-material-light), var(--icen-token-shadow-elevated);
|
|
63
|
+
font: var(--icen-density-font-size-sm)/1.5 var(--icen-font-body);
|
|
64
|
+
}
|
|
65
|
+
.icen-theme-switcher-panel[hidden] { display: none; }
|
|
66
|
+
.icen-theme-switcher-section + .icen-theme-switcher-section { margin-block-start: var(--icen-density-space-md); padding-block-start: var(--icen-density-space-md); border-block-start: 1px solid var(--icen-token-separator-soft); }
|
|
67
|
+
.icen-theme-switcher-heading { margin: 0 0 var(--icen-density-space-sm); font-size: var(--icen-font-size-caption); font-weight: 600; letter-spacing: var(--icen-letter-spacing-caption); color: var(--icen-token-text-muted); }
|
|
68
|
+
.icen-theme-switcher-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--icen-density-space-sm); }
|
|
69
|
+
.icen-theme-switcher-option { position: relative; min-block-size: var(--icen-control-height-sm); padding: var(--icen-density-space-sm); }
|
|
70
|
+
.icen-theme-switcher-options--theme .icen-theme-switcher-option { flex-direction: column; align-items: stretch; gap: var(--icen-density-space-sm); text-align: start; }
|
|
71
|
+
.icen-theme-switcher-options--theme .icen-theme-switcher-sample { inline-size: 100%; block-size: 28px; }
|
|
72
|
+
.icen-theme-switcher-option[aria-pressed="true"] { border-color: color-mix(in srgb, var(--icen-token-accent) 32%, var(--icen-token-separator)); background: var(--icen-token-fill-selected); color: var(--icen-token-text); }
|
|
73
|
+
.icen-theme-switcher[data-icen-layout="inline"] { display: block; inline-size: 100%; container: icen-appearance / inline-size; }
|
|
74
|
+
.icen-theme-switcher[data-icen-layout="inline"] > .icen-theme-switcher-panel { position: static; inline-size: 100%; box-shadow: none; background: var(--icen-token-surface); }
|
|
75
|
+
/* Six built-ins form complete rows. Query the host, so sidebars and embedded
|
|
76
|
+
* settings do not inherit the viewport's column count. */
|
|
77
|
+
@container icen-appearance (min-width: 420px) {
|
|
78
|
+
.icen-theme-switcher-options--theme { grid-template-columns: repeat(3,minmax(0,1fr)); }
|
|
79
|
+
}
|
|
80
|
+
@container icen-appearance (min-width: 840px) {
|
|
81
|
+
.icen-theme-switcher-options--theme { grid-template-columns: repeat(6,minmax(0,1fr)); }
|
|
82
|
+
}
|
|
83
|
+
@media (pointer: coarse) {
|
|
84
|
+
.icen-theme-switcher-trigger { min-block-size: 44px; min-inline-size: 44px; }
|
|
85
|
+
.icen-theme-switcher-option { min-block-size: 44px; }
|
|
86
|
+
}
|
|
87
|
+
@media (forced-colors: active) {
|
|
88
|
+
.icen-theme-switcher-option[aria-pressed="true"] { outline: 2px solid Highlight; }
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (prefers-reduced-motion: reduce) {
|
|
92
|
+
.icen-theme-switcher-chevron, .icen-theme-switcher-check, .icen-theme-switcher-trigger, .icen-theme-switcher-option { transition: none; }
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Compact menu cards keep all three axes visible in ordinary desktop viewports. */
|
|
96
|
+
.icen-theme-switcher-panel[role="dialog"] .icen-theme-switcher-section + .icen-theme-switcher-section { margin-block-start: var(--icen-density-space-sm); padding-block-start: var(--icen-density-space-sm); }
|
|
97
|
+
.icen-theme-switcher-panel[role="dialog"] .icen-theme-switcher-options--theme .icen-theme-switcher-option { gap: var(--icen-density-space-xs); }
|
|
98
|
+
.icen-theme-switcher-panel[role="dialog"] .icen-theme-switcher-options--theme .icen-theme-switcher-sample { block-size: 24px; }
|
|
99
|
+
|
|
100
|
+
.icen-theme-switcher-panel[role="dialog"] .icen-theme-switcher-section:has(.icen-theme-switcher-options--mode) .icen-theme-switcher-heading { display: none; }
|
|
101
|
+
|
|
102
|
+
/* Compatibility with previously authored markup; new renderers omit these slots. */
|
|
103
|
+
.icen-theme-switcher-chevron, .icen-theme-switcher-check { display: none; }
|
|
104
|
+
|
|
105
|
+
}
|