banhaten 0.4.0 → 0.6.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.
Files changed (214) hide show
  1. package/CHANGELOG.md +78 -1
  2. package/CONTRIBUTING.md +6 -4
  3. package/README.md +4 -2
  4. package/docs/design-spacing.md +13 -0
  5. package/docs/design-system/README.md +2 -0
  6. package/docs/design-system/appearances/default.md +1 -1
  7. package/docs/design-system/appearances/rounded.md +1 -1
  8. package/docs/design-system/appearances/sharp.md +1 -1
  9. package/docs/design-system/component-showcase-consistency-report.md +5 -5
  10. package/docs/design-system/components/README.md +15 -0
  11. package/docs/design-system/components/accordion.md +1 -1
  12. package/docs/design-system/components/activity-feed.md +1 -1
  13. package/docs/design-system/components/activity-heatmap.md +1 -1
  14. package/docs/design-system/components/agent-input.md +85 -0
  15. package/docs/design-system/components/alert-dialog.md +1 -1
  16. package/docs/design-system/components/alert.md +10 -4
  17. package/docs/design-system/components/app-header.md +97 -0
  18. package/docs/design-system/components/approval-card.md +134 -0
  19. package/docs/design-system/components/attribute.md +14 -2
  20. package/docs/design-system/components/avatar.md +1 -1
  21. package/docs/design-system/components/badge.md +1 -1
  22. package/docs/design-system/components/banner.md +1 -1
  23. package/docs/design-system/components/breadcrumbs.md +8 -3
  24. package/docs/design-system/components/button-group.md +1 -1
  25. package/docs/design-system/components/button.md +8 -5
  26. package/docs/design-system/components/card.md +15 -1
  27. package/docs/design-system/components/catalog-components.md +1 -1
  28. package/docs/design-system/components/chart.md +95 -24
  29. package/docs/design-system/components/checkbox.md +1 -1
  30. package/docs/design-system/components/collapsible.md +20 -6
  31. package/docs/design-system/components/command.md +1 -1
  32. package/docs/design-system/components/context-menu.md +1 -1
  33. package/docs/design-system/components/date-picker.md +1 -1
  34. package/docs/design-system/components/file-upload.md +1 -1
  35. package/docs/design-system/components/hover-card.md +1 -1
  36. package/docs/design-system/components/inline-citations.md +93 -0
  37. package/docs/design-system/components/input-group.md +1 -1
  38. package/docs/design-system/components/input.md +59 -3
  39. package/docs/design-system/components/item.md +1 -1
  40. package/docs/design-system/components/kbd.md +6 -4
  41. package/docs/design-system/components/menu.md +35 -4
  42. package/docs/design-system/components/menubar.md +1 -1
  43. package/docs/design-system/components/modal.md +2 -2
  44. package/docs/design-system/components/native-select.md +1 -1
  45. package/docs/design-system/components/navigation-menu.md +1 -1
  46. package/docs/design-system/components/onboarding-step-list-item.md +1 -1
  47. package/docs/design-system/components/page-header.md +58 -17
  48. package/docs/design-system/components/pagination.md +2 -2
  49. package/docs/design-system/components/popover.md +1 -1
  50. package/docs/design-system/components/progress-slider.md +1 -1
  51. package/docs/design-system/components/radio-card.md +1 -1
  52. package/docs/design-system/components/radio-group.md +1 -1
  53. package/docs/design-system/components/resizable.md +1 -1
  54. package/docs/design-system/components/rolling-count.md +61 -0
  55. package/docs/design-system/components/scroll-area.md +1 -1
  56. package/docs/design-system/components/select.md +12 -2
  57. package/docs/design-system/components/sheet.md +1 -1
  58. package/docs/design-system/components/shimmer-text.md +67 -0
  59. package/docs/design-system/components/sidebar.md +75 -8
  60. package/docs/design-system/components/skeleton.md +2 -2
  61. package/docs/design-system/components/slideout.md +1 -1
  62. package/docs/design-system/components/slider.md +2 -2
  63. package/docs/design-system/components/social-button.md +2 -2
  64. package/docs/design-system/components/streaming-text.md +82 -0
  65. package/docs/design-system/components/table.md +103 -21
  66. package/docs/design-system/components/tabs.md +25 -6
  67. package/docs/design-system/components/tag.md +1 -1
  68. package/docs/design-system/components/task-list.md +95 -0
  69. package/docs/design-system/components/textarea.md +1 -1
  70. package/docs/design-system/components/thinking-reasoning.md +72 -0
  71. package/docs/design-system/components/thinking-state.md +67 -0
  72. package/docs/design-system/components/timeline.md +1 -1
  73. package/docs/design-system/components/toast.md +1 -1
  74. package/docs/design-system/components/toggle.md +2 -2
  75. package/docs/design-system/components/toolbar.md +11 -6
  76. package/docs/design-system/components/tooltip.md +6 -4
  77. package/docs/design-system/density-and-elevation.md +16 -16
  78. package/docs/design-system/design-system-test-missing-items.md +8 -8
  79. package/docs/design-system/installation.md +2 -0
  80. package/docs/design-system/tabs.md +2 -1
  81. package/docs/design-system/template-gap-audit.md +32 -0
  82. package/docs/design-system/templates.md +59 -0
  83. package/docs/design-system/token-governance.md +15 -2
  84. package/package.json +2 -2
  85. package/registry/components/accordion.tsx +2 -2
  86. package/registry/components/agent-input-parts.tsx +552 -0
  87. package/registry/components/agent-input-state.ts +156 -0
  88. package/registry/components/agent-input.css +307 -0
  89. package/registry/components/agent-input.tsx +382 -0
  90. package/registry/components/alert-dialog.tsx +2 -2
  91. package/registry/components/alert.tsx +23 -7
  92. package/registry/components/app-header.tsx +151 -0
  93. package/registry/components/approval-card.css +409 -0
  94. package/registry/components/approval-card.tsx +401 -0
  95. package/registry/components/approval-frame.tsx +108 -0
  96. package/registry/components/approval-questions.tsx +559 -0
  97. package/registry/components/attribute.tsx +48 -13
  98. package/registry/components/autocomplete.tsx +15 -68
  99. package/registry/components/avatar.tsx +2 -2
  100. package/registry/components/badge.tsx +8 -7
  101. package/registry/components/button-group.tsx +2 -2
  102. package/registry/components/button.tsx +19 -14
  103. package/registry/components/card.tsx +18 -5
  104. package/registry/components/chart-block-data.ts +177 -0
  105. package/registry/components/chart-block.css +171 -0
  106. package/registry/components/chart-block.tsx +260 -0
  107. package/registry/components/chart-interactions.ts +123 -0
  108. package/registry/components/chart-options.cartesian.ts +162 -0
  109. package/registry/components/chart-options.paint.ts +99 -0
  110. package/registry/components/chart-options.parts.ts +72 -0
  111. package/registry/components/chart-options.radial.ts +109 -0
  112. package/registry/components/chart-options.ts +44 -0
  113. package/registry/components/chart-options.types.ts +67 -0
  114. package/registry/components/chart.tsx +1 -1
  115. package/registry/components/checkbox.tsx +6 -6
  116. package/registry/components/collapsible.tsx +43 -3
  117. package/registry/components/command.tsx +1 -1
  118. package/registry/components/context-menu.tsx +1 -1
  119. package/registry/components/data-chart.tsx +40 -0
  120. package/registry/components/date-picker.tsx +9 -9
  121. package/registry/components/echart-theme.ts +246 -0
  122. package/registry/components/echart.css +49 -0
  123. package/registry/components/echart.tsx +178 -0
  124. package/registry/components/expanded/Breadcrumbs.tsx +5 -1
  125. package/registry/components/expanded/PageHeader.tsx +67 -24
  126. package/registry/components/expanded/Table.tsx +60 -22
  127. package/registry/components/expanded/activityFeed.css +2 -2
  128. package/registry/components/expanded/activityHeatmap.css +1 -1
  129. package/registry/components/expanded/banner.css +2 -2
  130. package/registry/components/expanded/breadcrumbs.css +19 -2
  131. package/registry/components/expanded/catalogComponentsShowcase.css +1 -1
  132. package/registry/components/expanded/fileUpload.css +7 -7
  133. package/registry/components/expanded/onboardingStepListItem.css +2 -2
  134. package/registry/components/expanded/pageHeader.css +38 -44
  135. package/registry/components/expanded/slideout.css +4 -4
  136. package/registry/components/expanded/table.css +58 -9
  137. package/registry/components/expanded/timeline.css +1 -1
  138. package/registry/components/hover-card.tsx +1 -1
  139. package/registry/components/inline-citations.css +126 -0
  140. package/registry/components/inline-citations.tsx +292 -0
  141. package/registry/components/input-group.tsx +4 -4
  142. package/registry/components/input.tsx +150 -137
  143. package/registry/components/item.tsx +1 -1
  144. package/registry/components/kbd.tsx +3 -2
  145. package/registry/components/menu.tsx +117 -12
  146. package/registry/components/menubar.tsx +2 -2
  147. package/registry/components/modal.tsx +3 -3
  148. package/registry/components/native-select.tsx +4 -4
  149. package/registry/components/navigation-menu.tsx +2 -2
  150. package/registry/components/pagination.tsx +4 -4
  151. package/registry/components/popover.tsx +3 -3
  152. package/registry/components/progress-slider.tsx +1 -1
  153. package/registry/components/radio-card.tsx +7 -7
  154. package/registry/components/radio-group.tsx +2 -2
  155. package/registry/components/resizable.tsx +2 -2
  156. package/registry/components/rolling-count.css +37 -0
  157. package/registry/components/rolling-count.tsx +110 -0
  158. package/registry/components/scroll-area.tsx +1 -1
  159. package/registry/components/select.tsx +15 -10
  160. package/registry/components/sheet.tsx +2 -2
  161. package/registry/components/shimmer-text.css +69 -0
  162. package/registry/components/shimmer-text.tsx +43 -0
  163. package/registry/components/sidebar.tsx +528 -223
  164. package/registry/components/skeleton.tsx +1 -1
  165. package/registry/components/slider.tsx +2 -2
  166. package/registry/components/social-button.tsx +1 -1
  167. package/registry/components/streaming-text.css +45 -0
  168. package/registry/components/streaming-text.tsx +165 -0
  169. package/registry/components/table-elements.tsx +164 -5
  170. package/registry/components/tabs.css +32 -4
  171. package/registry/components/tabs.tsx +5 -1
  172. package/registry/components/tag.tsx +1 -1
  173. package/registry/components/task-list.css +328 -0
  174. package/registry/components/task-list.tsx +429 -0
  175. package/registry/components/textarea.tsx +4 -4
  176. package/registry/components/thinking-reasoning.css +178 -0
  177. package/registry/components/thinking-reasoning.tsx +253 -0
  178. package/registry/components/thinking-state.css +8 -0
  179. package/registry/components/thinking-state.tsx +46 -0
  180. package/registry/components/toast.tsx +1 -1
  181. package/registry/components/toggle.tsx +2 -2
  182. package/registry/components/toolbar.tsx +6 -6
  183. package/registry/components/tooltip.tsx +6 -4
  184. package/registry/examples/agent-input-demo.tsx +90 -0
  185. package/registry/examples/app-header-demo.tsx +40 -0
  186. package/registry/examples/approval-card-demo.tsx +83 -0
  187. package/registry/examples/button-demo.tsx +3 -0
  188. package/registry/examples/chart-block-demo.tsx +5 -0
  189. package/registry/examples/chart-demo.tsx +6 -21
  190. package/registry/examples/collection-filter-bar-demo.tsx +1 -1
  191. package/registry/examples/control-density-contract-demo.tsx +5 -1
  192. package/registry/examples/inline-citations-demo.tsx +31 -0
  193. package/registry/examples/input-actions-demo.tsx +36 -0
  194. package/registry/examples/menu-demo.tsx +1 -1
  195. package/registry/examples/popover-demo.tsx +1 -0
  196. package/registry/examples/rolling-count-demo.tsx +39 -0
  197. package/registry/examples/shimmer-text-demo.tsx +20 -0
  198. package/registry/examples/streaming-text-demo.tsx +28 -0
  199. package/registry/examples/task-list-demo.tsx +74 -0
  200. package/registry/examples/thinking-reasoning-demo.tsx +74 -0
  201. package/registry/examples/thinking-state-demo.tsx +13 -0
  202. package/registry/guidance/charts.LICENSE.txt +24 -0
  203. package/registry/hooks/use-controllable-state.ts +33 -0
  204. package/registry/hooks/use-listbox-navigation.ts +73 -0
  205. package/registry/hooks/use-motion-end.ts +55 -0
  206. package/registry/hooks/use-reduced-motion.ts +28 -0
  207. package/registry/index.json +1808 -190
  208. package/registry/styles/globals.css +992 -1088
  209. package/registry.json +385 -10
  210. package/schema/registry.schema.json +5 -1
  211. package/schema/tokens.schema.json +8 -4
  212. package/src/cli/file-transaction.js +15 -8
  213. package/src/cli/index.js +22 -29
  214. package/tokens/banhaten.tokens.json +490 -192
@@ -0,0 +1,328 @@
1
+ [data-slot="task-list"] {
2
+ --task-list-check: var(--bh-content-success-default);
3
+ --task-list-icon-size: var(--bh-task-list-icon-size);
4
+ --task-list-muted: var(--bh-content-subtle);
5
+ --task-list-row-gap: calc(var(--bh-space-md-8) + var(--bh-space-xxxs-1));
6
+ --task-list-small-icon-size: calc(
7
+ var(--task-list-icon-size) - 3 * var(--bh-space-xxxs-1)
8
+ );
9
+ --task-list-strong: var(--bh-content-default);
10
+
11
+ color: var(--task-list-strong);
12
+ font-family: var(--bh-font-family);
13
+ font-size: var(--bh-text-body-xs-regular-font-size);
14
+ font-weight: var(--bh-text-body-xs-regular-font-weight);
15
+ letter-spacing: var(--bh-text-body-xs-regular-letter-spacing);
16
+ line-height: var(--bh-text-body-xs-regular-line-height);
17
+ }
18
+
19
+ [data-slot="task-list"][data-surface="card"] {
20
+ background-color: var(--bh-bg-raised);
21
+ border-radius: var(--bh-radius-2xl-12);
22
+ box-shadow: var(--elevation-02);
23
+ padding: var(--bh-space-sm-6) var(--bh-space-xl-12) var(--bh-space-xl-12);
24
+ }
25
+
26
+ [data-slot="task-list"][data-surface="well"] {
27
+ background-color: var(--bh-bg-subtle);
28
+ border-radius: var(--bh-radius-lg-8);
29
+ padding: var(--bh-space-md-8) var(--bh-space-xl-12) var(--bh-space-lg-10);
30
+ }
31
+
32
+ [data-slot="task-list-header"] {
33
+ align-items: center;
34
+ background: transparent;
35
+ border: 0;
36
+ border-radius: var(--bh-radius-sm-4);
37
+ color: inherit;
38
+ display: flex;
39
+ font: inherit;
40
+ gap: var(--bh-space-md-8);
41
+ inline-size: 100%;
42
+ letter-spacing: inherit;
43
+ margin: 0;
44
+ min-block-size: calc(var(--bh-space-4xl-20) + var(--bh-space-xxs-2));
45
+ outline: none;
46
+ padding: 0;
47
+ text-align: start;
48
+ }
49
+
50
+ button[data-slot="task-list-header"] {
51
+ cursor: pointer;
52
+ }
53
+
54
+ button[data-slot="task-list-header"]:focus-visible {
55
+ box-shadow: var(--elevation-component-focus-ring);
56
+ }
57
+
58
+ /* Header glyphs stack in one slot and crossfade between list, pie, and check. */
59
+ [data-slot="task-list-header-icon"] {
60
+ block-size: var(--task-list-icon-size);
61
+ color: var(--task-list-muted);
62
+ flex: none;
63
+ inline-size: var(--task-list-icon-size);
64
+ position: relative;
65
+ }
66
+
67
+ [data-slot="task-list-header-icon"] > * {
68
+ block-size: var(--task-list-small-icon-size);
69
+ inline-size: var(--task-list-small-icon-size);
70
+ inset: 0;
71
+ margin: auto;
72
+ opacity: var(--bh-opacity-0);
73
+ position: absolute;
74
+ transition: opacity var(--bh-duration-fast) var(--bh-easing-standard);
75
+ }
76
+
77
+ /* The ring and the check match the row icons below; only the list glyph and
78
+ the chevron sit smaller. */
79
+ [data-slot="task-list-header-icon"] > [data-icon="progress"],
80
+ [data-slot="task-list-header-icon"] > [data-icon="done"] {
81
+ block-size: var(--task-list-icon-size);
82
+ inline-size: var(--task-list-icon-size);
83
+ }
84
+
85
+ [data-slot="task-list-header-icon"] > [data-icon="done"] {
86
+ color: var(--task-list-check);
87
+ }
88
+
89
+ [data-slot="task-list-header-icon"][data-state="idle"] > [data-icon="list"],
90
+ [data-slot="task-list-header-icon"][data-state="running"]
91
+ > [data-icon="progress"],
92
+ [data-slot="task-list-header-icon"][data-state="done"] > [data-icon="done"] {
93
+ opacity: var(--bh-opacity-100);
94
+ }
95
+
96
+ [data-slot="task-list-header-icon"] > [data-icon="chevron"] {
97
+ transition: opacity var(--bh-duration-fast) var(--bh-easing-standard),
98
+ transform var(--bh-duration-default) var(--bh-easing-standard);
99
+ }
100
+
101
+ button[data-slot="task-list-header"]:hover
102
+ [data-slot="task-list-header-icon"]
103
+ > :not([data-icon="chevron"]) {
104
+ opacity: var(--bh-opacity-0);
105
+ }
106
+
107
+ button[data-slot="task-list-header"]:hover
108
+ [data-slot="task-list-header-icon"]
109
+ > [data-icon="chevron"] {
110
+ opacity: var(--bh-opacity-100);
111
+ }
112
+
113
+ [data-slot="task-list-header"][aria-expanded="false"] [data-icon="chevron"] {
114
+ transform: rotate(-90deg);
115
+ }
116
+
117
+ [dir="rtl"] [data-slot="task-list-header"][aria-expanded="false"] [data-icon="chevron"] {
118
+ transform: rotate(90deg);
119
+ }
120
+
121
+ /* Determinate pie: done / total, animated through a registered property. */
122
+ @property --task-list-progress {
123
+ syntax: "<percentage>";
124
+ inherits: true;
125
+ initial-value: 0%;
126
+ }
127
+
128
+ [data-slot="task-list-progress"] {
129
+ --task-list-progress: 0%;
130
+
131
+ border-radius: var(--bh-radius-full);
132
+ color: var(--task-list-strong);
133
+ transition: opacity var(--bh-duration-fast) var(--bh-easing-standard),
134
+ --task-list-progress var(--bh-duration-slow) var(--bh-easing-standard);
135
+ }
136
+
137
+ [data-slot="task-list-progress"]::after {
138
+ background: conic-gradient(currentColor var(--task-list-progress), transparent 0);
139
+ border-radius: var(--bh-radius-full);
140
+ content: "";
141
+ /* Leaves a clear gap inside the dashed ring. */
142
+ inset: var(--bh-space-xs-4);
143
+ position: absolute;
144
+ }
145
+
146
+ [data-slot="task-list-progress-ring"] {
147
+ block-size: 100%;
148
+ color: var(--task-list-muted);
149
+ inline-size: 100%;
150
+ inset: 0;
151
+ overflow: visible;
152
+ position: absolute;
153
+ }
154
+
155
+ [data-slot="task-list-title"] {
156
+ font-weight: var(--bh-text-body-xs-medium-font-weight);
157
+ min-inline-size: 0;
158
+ }
159
+
160
+ [data-slot="task-list-count"] {
161
+ color: var(--task-list-muted);
162
+ font-variant-numeric: tabular-nums;
163
+ margin-inline-start: auto;
164
+ }
165
+
166
+ /* The toggle's fold and the preview's fold are both Collapsible panels; this
167
+ tunes their shared motion. */
168
+ [data-slot="task-list-collapsible"] {
169
+ --collapsible-panel-duration: var(--bh-duration-moderate);
170
+ --collapsible-panel-easing: var(--bh-easing-standard);
171
+ }
172
+
173
+ [data-slot="task-list-items"] {
174
+ display: flex;
175
+ flex-direction: column;
176
+ gap: var(--bh-space-md-8);
177
+ list-style: none;
178
+ margin: 0;
179
+ padding: var(--bh-space-lg-10) 0 0;
180
+ }
181
+
182
+ [data-slot="task-list-items"][data-rest="true"] {
183
+ padding-block-start: var(--bh-space-md-8);
184
+ }
185
+
186
+ /* Rows that open a composed list, with no header above them, start flush. */
187
+ [data-slot="task-list"] > [data-slot="task-list-items"]:first-child,
188
+ [data-slot="task-list"]
189
+ > [data-slot="task-list-preview"]:first-child
190
+ > [data-slot="task-list-items"]:first-child {
191
+ padding-block-start: 0;
192
+ }
193
+
194
+ [data-slot="task-list-item"] {
195
+ align-items: flex-start;
196
+ animation: bh-task-list-item-in var(--bh-duration-slow)
197
+ var(--bh-easing-standard) backwards;
198
+ animation-delay: calc(var(--task-list-index, 0) * var(--bh-task-list-stagger));
199
+ color: var(--task-list-muted);
200
+ display: flex;
201
+ gap: var(--task-list-row-gap);
202
+ }
203
+
204
+ [data-slot="task-list-item-icon"] {
205
+ block-size: var(--task-list-icon-size);
206
+ flex: none;
207
+ inline-size: var(--task-list-icon-size);
208
+ margin-block-start: var(--bh-space-xxxs-1);
209
+ position: relative;
210
+ }
211
+
212
+ [data-slot="task-list-item-icon"] > svg {
213
+ block-size: 100%;
214
+ color: var(--task-list-muted);
215
+ inline-size: 100%;
216
+ inset: 0;
217
+ opacity: var(--bh-opacity-0);
218
+ position: absolute;
219
+ transition: opacity var(--bh-duration-slow) var(--bh-easing-standard);
220
+ }
221
+
222
+ [data-slot="task-list-item"][data-status="pending"] [data-icon="pending"],
223
+ [data-slot="task-list-item"][data-status="active"] [data-icon="active"],
224
+ [data-slot="task-list-item"][data-status="done"] [data-icon="done"] {
225
+ opacity: var(--bh-opacity-100);
226
+ }
227
+
228
+ [data-slot="task-list-item"] [data-icon="active"] {
229
+ color: var(--task-list-strong);
230
+ }
231
+
232
+ [dir="rtl"] [data-slot="task-list-item"] [data-icon="active"] {
233
+ transform: scaleX(-1);
234
+ }
235
+
236
+ [data-slot="task-list-label"] {
237
+ min-inline-size: 0;
238
+ position: relative;
239
+ }
240
+
241
+ [data-slot="task-list-label-text"] {
242
+ color: var(--task-list-muted);
243
+ transition: color var(--bh-duration-slow) var(--bh-easing-standard);
244
+ }
245
+
246
+ /* The active row crossfades its muted label into a shimmering strong one.
247
+ The base label stays opaque underneath so its contrast remains measurable;
248
+ the shine paints the same glyphs on top. */
249
+ [data-slot="task-list-label-shine"] {
250
+ inset: 0;
251
+ opacity: var(--bh-opacity-0);
252
+ pointer-events: none;
253
+ position: absolute;
254
+ transition: opacity var(--bh-duration-slow) var(--bh-easing-standard);
255
+ }
256
+
257
+ [data-slot="task-list-item"][data-status="active"] [data-slot="task-list-label-text"] {
258
+ color: var(--task-list-strong);
259
+ }
260
+
261
+ [data-slot="task-list-item"][data-status="active"] [data-slot="task-list-label-shine"] {
262
+ opacity: var(--bh-opacity-100);
263
+ }
264
+
265
+ [data-slot="task-list-item"][data-status="done"] [data-slot="task-list-label-text"] {
266
+ text-decoration: line-through;
267
+ }
268
+
269
+ [data-slot="task-list-more"] {
270
+ align-items: flex-start;
271
+ background: transparent;
272
+ border: 0;
273
+ border-radius: var(--bh-radius-sm-4);
274
+ color: var(--task-list-muted);
275
+ cursor: pointer;
276
+ display: flex;
277
+ font: inherit;
278
+ gap: var(--task-list-row-gap);
279
+ letter-spacing: inherit;
280
+ margin: var(--bh-space-md-8) 0 0;
281
+ outline: none;
282
+ padding: 0;
283
+ text-align: start;
284
+ transition: color var(--bh-duration-fast) var(--bh-easing-standard);
285
+ }
286
+
287
+ [data-slot="task-list-more"]:hover {
288
+ color: var(--task-list-strong);
289
+ }
290
+
291
+ [data-slot="task-list-more"]:focus-visible {
292
+ box-shadow: var(--elevation-component-focus-ring);
293
+ }
294
+
295
+ [data-slot="task-list-more-icon"] {
296
+ align-items: center;
297
+ block-size: var(--task-list-icon-size);
298
+ display: inline-flex;
299
+ flex: none;
300
+ inline-size: var(--task-list-icon-size);
301
+ justify-content: center;
302
+ margin-block-start: var(--bh-space-xxxs-1);
303
+ }
304
+
305
+ [data-slot="task-list-more-icon"] > svg {
306
+ block-size: 100%;
307
+ inline-size: 100%;
308
+ }
309
+
310
+ /* The stagger uses animation-delay, which the global reduced-motion rule does
311
+ not shorten, so rows must skip the entrance entirely. */
312
+ @media (prefers-reduced-motion: reduce) {
313
+ [data-slot="task-list-item"] {
314
+ animation: none;
315
+ }
316
+ }
317
+
318
+ /* Rows settle into place with a slide only. A fade would leave their text
319
+ partially transparent during the stagger, which reads as low contrast. */
320
+ @keyframes bh-task-list-item-in {
321
+ from {
322
+ transform: translateY(calc(-1 * var(--bh-space-sm-6)));
323
+ }
324
+
325
+ to {
326
+ transform: translateY(0);
327
+ }
328
+ }