@coolms/ui-react 0.1.0-alpha.11 → 0.1.0-alpha.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolms/ui-react",
3
- "version": "0.1.0-alpha.11",
3
+ "version": "0.1.0-alpha.13",
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
@@ -522,9 +522,10 @@
522
522
  .cms-viewer__body { display: flex; min-height: 0; }
523
523
  .cms-viewer__thumbnails { flex: none; width: 124px; padding: var(--cms-space-3); overflow: auto; border-right: 1px solid #2a2f38; }
524
524
  .cms-viewer__content { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; }
525
+ /* The next arrow stands clear of the content's own vertical scrollbar (at most 20px), down the content's right edge. */
525
526
  .cms-viewer__side { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: #262b34; color: inherit; cursor: pointer; }
526
527
  .cms-viewer__side--previous { left: var(--cms-space-3); }
527
- .cms-viewer__side--next { right: var(--cms-space-3); }
528
+ .cms-viewer__side--next { right: calc(var(--cms-space-3) + 20px); }
528
529
  .cms-viewer__side--next svg { transform: scaleX(-1); }
529
530
  .cms-viewer__strip { display: flex; justify-content: center; gap: var(--cms-space-2); min-width: 0; padding: var(--cms-space-2) var(--cms-space-3); overflow-x: auto; border-top: 1px solid #2a2f38; }
530
531
  .cms-viewer__dots { display: none; position: absolute; left: 0; right: 0; bottom: var(--cms-space-2); z-index: 2; justify-content: center; gap: 6px; }
@@ -661,9 +662,9 @@
661
662
  .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
663
  /* A label hidden: its tooltip on hover and on keyboard focus, never the action's only name. */
663
664
  .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; }
665
+ .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
666
  /* 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; }
667
+ .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
668
  .cms-pane-toolbar__measure { position: absolute; top: 0; left: 0; display: flex; visibility: hidden; pointer-events: none; }
668
669
  .cms-pane-toolbar__measure > span, .cms-pane-toolbar__measure > div { flex: none; }
669
670
  /* At tablet and phone widths each action is at least a touch target, in the same row. */