@coolms/ui-react 0.1.0-alpha.46 → 0.1.0-alpha.47

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 CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to `@coolms/ui-react` are listed here. Versions follow [semantic versioning](https://semver.org/).
4
4
 
5
+ ## 0.1.0-alpha.47 (2026-12-06)
6
+
7
+ A phone toast sits above a floating primary as well as the section bar.
8
+
9
+ - At phone width a toast also sits above a screen's floating primary when one is shown, so it never covers that button. A host with a floating button of its own lifts the toast by setting `--toast-lift`.
10
+
5
11
  ## 0.1.0-alpha.46 (2026-12-06)
6
12
 
7
13
  A menu says a reason its refused items share once, at its top; labels keep one line; a phone toast sits above the section bar.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolms/ui-react",
3
- "version": "0.1.0-alpha.46",
3
+ "version": "0.1.0-alpha.47",
4
4
  "description": "The CoolMS UI kit for React: the components of the CoolMS UI contract, styled by the CoolMS design tokens",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/kit.css CHANGED
@@ -789,8 +789,11 @@
789
789
 
790
790
  /* Phone: a bottom tab bar instead of the rail, one pane at a time with Back, sign-in alone. */
791
791
  @media (max-width: 599.98px) {
792
- /* A toast sits above the bottom section bar, never over it, wherever the shell draws that bar. */
793
- :root:has(.cms-shell) .cms-toast-region { bottom: calc(var(--cms-tabbar-height) + env(safe-area-inset-bottom, 0px) + 8px); }
792
+ /* A toast sits above the bottom section bar, never over it, wherever the shell draws that bar; and above a screen's
793
+ floating primary when one is shown (its height and its gap), so it never covers that button either. A host with
794
+ a floating button of its own lifts the toast by setting --toast-lift. */
795
+ :root:has(.cms-shell) .cms-toast-region { bottom: calc(var(--cms-tabbar-height) + env(safe-area-inset-bottom, 0px) + 8px + var(--toast-lift, 0px)); }
796
+ :root:has(.cms-shell .cms-screen__primary) { --toast-lift: calc(var(--cms-control-height-lg) + var(--cms-space-3) + var(--cms-space-4)); }
794
797
  .cms-shell {
795
798
  grid-template-columns: minmax(0, 1fr);
796
799
  grid-template-rows: var(--cms-topbar-height) minmax(0, 1fr) calc(var(--cms-tabbar-height) + env(safe-area-inset-bottom, 0px));