@adecore/charts 0.57.0 → 0.59.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/dist/SeriesLegend.js +1 -1
- package/dist/timeline.js +1 -1
- package/package.json +3 -3
- package/src/SeriesLegend.tsx +1 -1
- package/src/timeline.tsx +1 -1
package/dist/SeriesLegend.js
CHANGED
|
@@ -170,7 +170,7 @@ export function SeriesLegend(t0) {
|
|
|
170
170
|
"aria-pressed": on,
|
|
171
171
|
"aria-describedby": item_2.status === undefined ? undefined : statusId,
|
|
172
172
|
disabled: item_2.disabled === true,
|
|
173
|
-
className: clsx("flex w-full items-center gap-2 rounded px-1 text-left text-xs enabled:hover:bg-surface-hover focus-visible:outline-2 focus-visible:outline-accent", size === "md" ? "min-h-9" : "min-h-7", on ? "text-text" : "text-text-faint"),
|
|
173
|
+
className: clsx("flex w-full items-center gap-2 rounded px-1 text-left text-xs enabled:hover:bg-surface-hover focus-visible:outline-2 focus-visible:outline-accent-on-surface", size === "md" ? "min-h-9" : "min-h-7", on ? "text-text" : "text-text-faint"),
|
|
174
174
|
onClick: () => toggle(item_2.key),
|
|
175
175
|
onPointerEnter: () => highlight(on ? item_2.key : null),
|
|
176
176
|
onPointerLeave: () => highlight(null),
|
package/dist/timeline.js
CHANGED
|
@@ -627,7 +627,7 @@ export function TimelineRows(t0) {
|
|
|
627
627
|
"aria-expanded": row_1.children > 0 ? open : undefined,
|
|
628
628
|
"aria-selected": selected,
|
|
629
629
|
"aria-describedby": shownDetail ? detailId : undefined,
|
|
630
|
-
className: clsx(COLUMNS, "cursor-default outline-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-solid focus-visible:outline-accent", selected ? "bg-surface-active" : "hover:bg-surface-hover"),
|
|
630
|
+
className: clsx(COLUMNS, "cursor-default outline-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-solid focus-visible:outline-accent-on-surface", selected ? "bg-surface-active" : "hover:bg-surface-hover"),
|
|
631
631
|
onFocus: e_0 => {
|
|
632
632
|
if (e_0.target === e_0.currentTarget) {
|
|
633
633
|
setFocusId(span.id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adecore/charts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0",
|
|
4
4
|
"description": "Series charts, scatters, heatmaps, trace timelines and sparklines in the theme of @adecore/ui, readable by keyboard and screen reader.",
|
|
5
5
|
"license": "FSL-1.1-MIT",
|
|
6
6
|
"author": "Bas Milius",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"lucide-react": "^1.65.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@adecore/ui": "^0.
|
|
46
|
+
"@adecore/ui": "^0.59.0",
|
|
47
47
|
"i18next": "^26.4.2",
|
|
48
48
|
"react": "^19.3.0",
|
|
49
49
|
"react-dom": "^19.3.0",
|
|
50
50
|
"react-i18next": "^17.0.15"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@adecore/ui": "0.
|
|
53
|
+
"@adecore/ui": "0.59.0",
|
|
54
54
|
"@types/bun": "^1.4.4",
|
|
55
55
|
"@types/react": "^19.3.0",
|
|
56
56
|
"@types/react-dom": "^19.3.0",
|
package/src/SeriesLegend.tsx
CHANGED
|
@@ -144,7 +144,7 @@ export function SeriesLegend<Item extends SeriesLegendItem>({
|
|
|
144
144
|
aria-describedby={item.status === undefined ? undefined : statusId}
|
|
145
145
|
disabled={item.disabled === true}
|
|
146
146
|
className={clsx(
|
|
147
|
-
'flex w-full items-center gap-2 rounded px-1 text-left text-xs enabled:hover:bg-surface-hover focus-visible:outline-2 focus-visible:outline-accent',
|
|
147
|
+
'flex w-full items-center gap-2 rounded px-1 text-left text-xs enabled:hover:bg-surface-hover focus-visible:outline-2 focus-visible:outline-accent-on-surface',
|
|
148
148
|
size === 'md' ? 'min-h-9' : 'min-h-7',
|
|
149
149
|
on ? 'text-text' : 'text-text-faint'
|
|
150
150
|
)}
|
package/src/timeline.tsx
CHANGED
|
@@ -398,7 +398,7 @@ export function TimelineRows<Span extends TimelineSpan>({ label, detail, classNa
|
|
|
398
398
|
aria-describedby={shownDetail ? detailId : undefined}
|
|
399
399
|
className={clsx(
|
|
400
400
|
COLUMNS,
|
|
401
|
-
'cursor-default outline-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-solid focus-visible:outline-accent',
|
|
401
|
+
'cursor-default outline-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-solid focus-visible:outline-accent-on-surface',
|
|
402
402
|
selected ? 'bg-surface-active' : 'hover:bg-surface-hover'
|
|
403
403
|
)}
|
|
404
404
|
onFocus={(e) => {
|