@godxjp/ui 32.14.0 → 32.15.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.
@@ -165,3 +165,164 @@
165
165
  .ui-chart-canvas [tabindex="-1"]:focus:not(:focus-visible) {
166
166
  outline: none;
167
167
  }
168
+
169
+ .ui-chart-heatmap[data-size="xs"] {
170
+ --chart-heatmap-cell-size: var(--chart-heatmap-cell-size-xs);
171
+ }
172
+
173
+ .ui-chart-heatmap[data-size="sm"] {
174
+ --chart-heatmap-cell-size: var(--chart-heatmap-cell-size-sm);
175
+ }
176
+
177
+ .ui-chart-heatmap[data-size="md"] {
178
+ --chart-heatmap-cell-size: var(--chart-heatmap-cell-size-md);
179
+ }
180
+
181
+ .ui-chart-heatmap[data-size="lg"] {
182
+ --chart-heatmap-cell-size: var(--chart-heatmap-cell-size-lg);
183
+ }
184
+
185
+ .ui-chart-heatmap-scroll {
186
+ inline-size: 100%;
187
+ min-inline-size: 0;
188
+ overflow-x: auto;
189
+ overscroll-behavior-inline: contain;
190
+ }
191
+
192
+ .ui-chart-heatmap-grid {
193
+ inline-size: 100%;
194
+ border-collapse: separate;
195
+ border-spacing: var(--chart-heatmap-cell-gap);
196
+ font-size: var(--chart-heatmap-tick-font-size);
197
+ line-height: var(--line-height-normal);
198
+ }
199
+
200
+ .ui-chart-heatmap-column-header,
201
+ .ui-chart-heatmap-row-header {
202
+ padding: 0;
203
+ font-weight: var(--font-weight-normal);
204
+ color: hsl(var(--muted-foreground));
205
+ white-space: nowrap;
206
+ }
207
+
208
+ .ui-chart-heatmap-column-header {
209
+ text-align: center;
210
+ }
211
+
212
+ .ui-chart-heatmap-row-header {
213
+ position: sticky;
214
+ inset-inline-start: 0;
215
+ z-index: 1;
216
+ inline-size: 1%;
217
+ padding-inline-end: var(--space-2);
218
+ text-align: start;
219
+ background: var(--chart-heatmap-row-header-background, hsl(var(--card)));
220
+ }
221
+
222
+ .ui-chart-heatmap-corner {
223
+ padding: 0;
224
+ }
225
+
226
+ .ui-chart-heatmap-cell {
227
+ min-inline-size: var(--chart-heatmap-cell-size);
228
+ inline-size: var(--chart-heatmap-cell-size);
229
+ block-size: var(--chart-heatmap-cell-size);
230
+ padding: 0;
231
+
232
+ border: var(--stroke-hairline) solid transparent;
233
+ border-radius: var(
234
+ --chart-heatmap-cell-radius,
235
+ calc(var(--radius) / var(--radius-ratio) / var(--radius-ratio))
236
+ );
237
+ }
238
+
239
+ .ui-chart-heatmap-cell[data-step="1"],
240
+ .ui-chart-heatmap-legend-swatch[data-step="1"] {
241
+ background: var(--chart-heat-1);
242
+ }
243
+
244
+ .ui-chart-heatmap-cell[data-step="2"],
245
+ .ui-chart-heatmap-legend-swatch[data-step="2"] {
246
+ background: var(--chart-heat-2);
247
+ }
248
+
249
+ .ui-chart-heatmap-cell[data-step="3"],
250
+ .ui-chart-heatmap-legend-swatch[data-step="3"] {
251
+ background: var(--chart-heat-3);
252
+ }
253
+
254
+ .ui-chart-heatmap-cell[data-step="4"],
255
+ .ui-chart-heatmap-legend-swatch[data-step="4"] {
256
+ background: var(--chart-heat-4);
257
+ }
258
+
259
+ .ui-chart-heatmap-cell[data-step="5"],
260
+ .ui-chart-heatmap-legend-swatch[data-step="5"] {
261
+ background: var(--chart-heat-5);
262
+ }
263
+
264
+ .ui-chart-heatmap-cell[data-empty],
265
+ .ui-chart-heatmap-legend-swatch[data-empty] {
266
+ background: transparent;
267
+ border: var(
268
+ --chart-heatmap-empty-border,
269
+ var(--stroke-hairline) dashed hsl(var(--muted-foreground))
270
+ );
271
+ }
272
+
273
+ .ui-chart-heatmap-cell[data-emphasized],
274
+ .ui-chart-heatmap-legend-swatch[data-emphasized] {
275
+ box-shadow:
276
+ inset 0 0 0 var(--chart-heatmap-emphasis-width)
277
+ var(--chart-heatmap-emphasis-border, hsl(var(--foreground))),
278
+ inset 0 0 0 calc(var(--chart-heatmap-emphasis-width) * 2) hsl(var(--card));
279
+ }
280
+
281
+ .ui-chart-heatmap-tooltip {
282
+ display: flex;
283
+ flex-direction: column;
284
+ }
285
+
286
+ .ui-chart-heatmap-tooltip-title {
287
+ font-variant-numeric: tabular-nums;
288
+ }
289
+
290
+ .ui-chart-heatmap-legend {
291
+ display: flex;
292
+ flex-wrap: wrap;
293
+ align-items: center;
294
+ gap: var(--chart-heatmap-legend-gap) calc(var(--chart-heatmap-legend-gap) * 2);
295
+ font-size: var(--chart-heatmap-tick-font-size);
296
+ line-height: var(--line-height-normal);
297
+ color: hsl(var(--muted-foreground));
298
+ }
299
+
300
+ .ui-chart-heatmap-legend-scale,
301
+ .ui-chart-heatmap-legend-item {
302
+ display: inline-flex;
303
+ align-items: center;
304
+ gap: var(--chart-heatmap-legend-gap);
305
+ font-variant-numeric: tabular-nums;
306
+ }
307
+
308
+ .ui-chart-heatmap-legend-ramp {
309
+ display: flex;
310
+ margin: 0;
311
+ padding: 0;
312
+ list-style: none;
313
+ }
314
+
315
+ .ui-chart-heatmap-legend-swatch {
316
+ display: inline-block;
317
+ inline-size: calc(var(--chart-heatmap-legend-swatch-size) * 1.5);
318
+ block-size: var(--chart-heatmap-legend-swatch-size);
319
+ border: var(--stroke-hairline) solid transparent;
320
+ }
321
+
322
+ .ui-chart-heatmap-legend-item > .ui-chart-heatmap-legend-swatch {
323
+ inline-size: var(--chart-heatmap-legend-swatch-size);
324
+ border-radius: var(
325
+ --chart-heatmap-cell-radius,
326
+ calc(var(--radius) / var(--radius-ratio) / var(--radius-ratio))
327
+ );
328
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "32.14.0",
2
+ "version": "32.15.0",
3
3
  "generatedBy": "scripts/gen-style-layers.mjs — do not edit by hand; run `pnpm gen:style-layers`",
4
4
  "base": "base.css",
5
5
  "fonts": "fonts.css",
@@ -564,6 +564,13 @@
564
564
  "dialog-layout.css"
565
565
  ]
566
566
  },
567
+ "HeatmapChart": {
568
+ "layers": [
569
+ "layout.css",
570
+ "dialog-layout.css",
571
+ "chart-layout.css"
572
+ ]
573
+ },
567
574
  "Icon": {
568
575
  "layers": [
569
576
  "icon-layout.css"