@coolms/ui-react 0.1.0-alpha.10 → 0.1.0-alpha.12
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 +26 -5
- package/dist/components/Icon.d.ts +1 -1
- package/dist/components/PaneToolbar.d.ts +13 -6
- package/dist/index.js +842 -812
- package/package.json +1 -1
- package/src/kit.css +4 -4
package/package.json
CHANGED
package/src/kit.css
CHANGED
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
.cms-pane-toolbar__action { position: relative; display: inline-flex; flex: none; align-items: center; gap: var(--cms-space-2); height: var(--cms-row-height, 36px); padding: 0 var(--cms-space-3); border: 1px solid transparent; border-radius: var(--cms-radius-control); background: none; color: var(--cms-text); font: inherit; cursor: pointer; }
|
|
654
654
|
.cms-pane-toolbar__action:hover:not([aria-disabled='true']) { background: var(--cms-surface-hover); }
|
|
655
655
|
.cms-pane-toolbar__action:focus-visible { outline: 2px solid var(--cms-focus-ring); outline-offset: 1px; }
|
|
656
|
-
.cms-pane-toolbar__action--
|
|
656
|
+
.cms-pane-toolbar__action--bare { justify-content: center; width: var(--cms-row-height, 36px); padding: 0; }
|
|
657
657
|
.cms-pane-toolbar__action[hidden] { display: none; }
|
|
658
658
|
.cms-pane-toolbar__action[aria-disabled='true'] { color: var(--cms-text-muted); cursor: not-allowed; }
|
|
659
659
|
.cms-pane-toolbar__action.is-danger { color: var(--cms-danger-text); }
|
|
@@ -661,13 +661,13 @@
|
|
|
661
661
|
.cms-pane-toolbar__status { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: end; color: var(--cms-text-muted); font-size: var(--cms-font-size-meta); }
|
|
662
662
|
/* A label hidden: its tooltip on hover and on keyboard focus, never the action's only name. */
|
|
663
663
|
.cms-pane-toolbar__tip { position: absolute; top: calc(100% + var(--cms-space-1)); left: 50%; z-index: 20; display: none; padding: var(--cms-space-1) var(--cms-space-2); border-radius: var(--cms-radius-sm); background: var(--cms-text); color: var(--cms-bg-surface); font-size: var(--cms-font-size-meta); transform: translateX(-50%); pointer-events: none; }
|
|
664
|
-
.cms-pane-toolbar__action:hover > .cms-pane-toolbar__tip, .cms-pane-toolbar__action:focus-visible > .cms-pane-toolbar__tip { display: block; }
|
|
664
|
+
.cms-pane-toolbar__action:hover > .cms-pane-toolbar__tip, .cms-pane-toolbar__action:focus-visible > .cms-pane-toolbar__tip, .cms-pane-toolbar__action[data-reason-shown] > .cms-pane-toolbar__tip { display: block; }
|
|
665
665
|
/* The row's tooltips overflow the row: the row clips only its own line, so the tooltip is drawn by a row that lets it. */
|
|
666
|
-
.cms-pane-toolbar:has(.cms-pane-toolbar__action:hover > .cms-pane-toolbar__tip), .cms-pane-toolbar:has(.cms-pane-toolbar__action:focus-visible > .cms-pane-toolbar__tip) { overflow: visible; }
|
|
666
|
+
.cms-pane-toolbar:has(.cms-pane-toolbar__action:hover > .cms-pane-toolbar__tip), .cms-pane-toolbar:has(.cms-pane-toolbar__action:focus-visible > .cms-pane-toolbar__tip), .cms-pane-toolbar:has(.cms-pane-toolbar__action[data-reason-shown] > .cms-pane-toolbar__tip) { overflow: visible; }
|
|
667
667
|
.cms-pane-toolbar__measure { position: absolute; top: 0; left: 0; display: flex; visibility: hidden; pointer-events: none; }
|
|
668
668
|
.cms-pane-toolbar__measure > span, .cms-pane-toolbar__measure > div { flex: none; }
|
|
669
669
|
/* At tablet and phone widths each action is at least a touch target, in the same row. */
|
|
670
670
|
@media (max-width: 1199.98px) {
|
|
671
671
|
.cms-pane-toolbar__action { min-height: var(--cms-touch-target-min, 44px); }
|
|
672
|
-
.cms-pane-toolbar__action--
|
|
672
|
+
.cms-pane-toolbar__action--bare, .cms-pane-toolbar__more { min-width: var(--cms-touch-target-min, 44px); min-height: var(--cms-touch-target-min, 44px); }
|
|
673
673
|
}
|