@ai-matrx/canvas 0.7.1 → 0.7.3
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/CHANGELOG.md +21 -0
- package/README.md +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +24 -5
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +24 -5
- package/dist/react.js.map +1 -1
- package/dist/styles.css +14 -9
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -583,11 +583,17 @@
|
|
|
583
583
|
text-overflow: ellipsis;
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
/*
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
586
|
+
/*
|
|
587
|
+
* A background tab's close shows on hover / focus, and while it shows the name
|
|
588
|
+
* ends (ellipsis) before it: the room is reserved then, never overlaid. Touch
|
|
589
|
+
* screens have no hover, so a background tab shows no close there at all (only
|
|
590
|
+
* the active tab does) and its name keeps the room.
|
|
591
|
+
*/
|
|
592
|
+
@media (hover: hover) {
|
|
593
|
+
.mxc-tab:not([data-active]):hover:has(> .mxc-tab-close),
|
|
594
|
+
.mxc-tab:not([data-active]):focus-within:has(> .mxc-tab-close) {
|
|
595
|
+
padding-right: 1.25rem;
|
|
596
|
+
}
|
|
591
597
|
}
|
|
592
598
|
|
|
593
599
|
.mxc-tab-note {
|
|
@@ -638,11 +644,10 @@
|
|
|
638
644
|
box-shadow: 0 0 0 2px var(--mxc-ring);
|
|
639
645
|
}
|
|
640
646
|
|
|
641
|
-
/* Touch screens have no hover:
|
|
647
|
+
/* Touch screens have no hover: only the active tab shows a close, so names get the room. */
|
|
642
648
|
@media (pointer: coarse) {
|
|
643
|
-
.mxc-tab .mxc-tab-close {
|
|
644
|
-
|
|
645
|
-
pointer-events: auto;
|
|
649
|
+
.mxc-tab:not([data-active]) .mxc-tab-close {
|
|
650
|
+
display: none;
|
|
646
651
|
}
|
|
647
652
|
}
|
|
648
653
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/canvas",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "The AI Matrx canvas: a docked right-hand column with split panes, tabs, full screen, a kind registry, Redux-compatible state and persistence.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|