@coolms/ui-react 0.1.0-alpha.38 → 0.1.0-alpha.39
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 +9 -0
- package/dist/components/Call.d.ts +3 -1
- package/dist/components/ScreenShell.d.ts +7 -1
- package/dist/components/Structure.d.ts +6 -1
- package/dist/components/Workspace.d.ts +6 -1
- package/dist/index.js +1318 -1298
- package/package.json +1 -1
- package/src/kit.css +9 -1
package/package.json
CHANGED
package/src/kit.css
CHANGED
|
@@ -335,6 +335,14 @@
|
|
|
335
335
|
.cms-icon-button.cms-screen__icon.cms-screen__icon--active { background: var(--cms-accent-light); color: var(--cms-accent-text); }
|
|
336
336
|
.cms-screen__content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; }
|
|
337
337
|
.cms-screen__primary { position: absolute; right: var(--cms-space-4); bottom: var(--cms-space-4); z-index: 2; width: calc(var(--cms-control-height-lg) + var(--cms-space-3)); height: calc(var(--cms-control-height-lg) + var(--cms-space-3)); min-height: 0; padding: 0; border-radius: 50%; justify-content: center; box-shadow: var(--cms-shadow-md); }
|
|
338
|
+
/* A refused primary stays, greyed as a whole, as the header's does: a wash of the surface over the button and its icon,
|
|
339
|
+
under the reason drawn above it, which keeps its full contrast (an opacity on the button would fade the reason too). */
|
|
340
|
+
.cms-screen__primary[aria-disabled="true"] { cursor: not-allowed; }
|
|
341
|
+
.cms-screen__primary[aria-disabled="true"]::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--cms-surface); opacity: .45; pointer-events: none; }
|
|
342
|
+
/* Its reason, above the button at its end, never wider than the screen: shown on keyboard focus and after a press (on
|
|
343
|
+
hover too, below), until Escape. */
|
|
344
|
+
.cms-screen__tip { position: absolute; bottom: calc(100% + var(--cms-space-2)); inset-inline-end: 0; z-index: 20; display: none; width: max-content; max-width: min(18rem, calc(100vw - 2 * var(--cms-space-4))); 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); font-weight: 400; line-height: 1.4; text-align: start; white-space: normal; pointer-events: none; }
|
|
345
|
+
.cms-screen__primary:not([data-tip-dismissed]):focus-visible > .cms-screen__tip, .cms-screen__primary:not([data-tip-dismissed])[data-reason-shown] > .cms-screen__tip { display: block; }
|
|
338
346
|
/* bar-hidden: the bar steps out of view, collapsed rather than removed, so focus can still reach it
|
|
339
347
|
(and brings it back). */
|
|
340
348
|
.cms-screen[data-bar-hidden] > .cms-screen__bar { height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; border-bottom-width: 0; overflow: hidden; }
|
|
@@ -584,7 +592,7 @@
|
|
|
584
592
|
.cms-pane-toolbar__action:hover:not([aria-disabled='true']) { background: var(--cms-btn-hover-bg); }
|
|
585
593
|
.cms-pane-toolbar__more:hover { background: var(--cms-btn-hover-bg); }
|
|
586
594
|
.cms-pane-toolbar__action:not([data-tip-dismissed]):hover > .cms-pane-toolbar__tip { display: block; }
|
|
587
|
-
.cms-section-header__secondary:not([data-tip-dismissed]):hover > .cms-section-header__tip, .cms-section-header__primary > .cms-button:not([data-tip-dismissed]):hover ~ .cms-section-header__tip { display: block; }
|
|
595
|
+
.cms-screen__primary:not([data-tip-dismissed]):hover > .cms-screen__tip, .cms-section-header__secondary:not([data-tip-dismissed]):hover > .cms-section-header__tip, .cms-section-header__primary > .cms-button:not([data-tip-dismissed]):hover ~ .cms-section-header__tip { display: block; }
|
|
588
596
|
.cms-pane-toolbar:has(.cms-pane-toolbar__action:hover > .cms-pane-toolbar__tip) { overflow: visible; }
|
|
589
597
|
}
|
|
590
598
|
.cms-mail-row.is-selected { background: var(--cms-row-selected); }
|