@cosxai/ui 0.4.10 → 0.4.11

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": "@cosxai/ui",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "COSX design system — React 19 component primitives shared across product-meta and other consumers",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -76,6 +76,7 @@ export function ActionBarButton({
76
76
  </span>
77
77
  {hint && (
78
78
  <span
79
+ className="ck-actionbar-hint"
79
80
  style={{
80
81
  color: isPrimary ? "rgba(255,255,255,0.7)" : "var(--ck-text-tertiary)",
81
82
  font: "500 11px/1 var(--ck-font-mono)",
@@ -229,10 +229,13 @@ html[data-ck-chrome="seamless"] .ck-card__foot {
229
229
  transform: translateY(-1px);
230
230
  }
231
231
 
232
- /* Hide labels below 768 px (the standard md breakpoint).
233
- Icons + tooltips remain — the bar's still informative on phones. */
232
+ /* Hide labels + keyboard-shortcut hints below 768 px (the standard
233
+ md breakpoint). Icons + tooltips remain — the bar's still
234
+ informative on phones, and there's no physical keyboard so the
235
+ shortcut badge has nothing to advertise. */
234
236
  @media (max-width: 767px) {
235
- .ck-actionbar-label {
237
+ .ck-actionbar-label,
238
+ .ck-actionbar-hint {
236
239
  display: none;
237
240
  }
238
241
  }