@cboxdk/cbox-ui 0.18.0 → 0.19.1

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": "@cboxdk/cbox-ui",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "private": false,
5
5
  "description": "Cbox shared UI — layout primitives, design tokens, and brand assets used across every Cbox-family app (id, cortex, atlas, track, …).",
6
6
  "repository": {
@@ -269,6 +269,19 @@
269
269
  .cbx-ui-date-chip:hover { background: var(--secondary); border-color: var(--border-strong); }
270
270
  .cbx-ui-date-chip:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
271
271
  .cbx-ui-date-clear { margin-left: auto; color: var(--muted-foreground); }
272
+ /* TimePicker: a field to type in and the times to pick from; DateTimePicker: the two side by side. */
273
+ .cbx-ui-time-trigger { min-width: 7.5rem; }
274
+ .cbx-ui-time-panel { min-width: 12rem; }
275
+ .cbx-ui-time-list { position: relative; max-height: 15rem; font-variant-numeric: tabular-nums; }
276
+ .cbx-ui-time-typed {
277
+ display: flex; flex: none; align-items: center; justify-content: space-between; gap: 8px; margin: 4px; padding: 8px;
278
+ border: 0; border-radius: 6px; background: var(--accent-soft); color: var(--foreground); font: inherit; font-weight: 500; text-align: left; cursor: pointer;
279
+ }
280
+ .cbx-ui-time-typed + .cbx-ui-time-list { border-top: 1px solid var(--border); }
281
+ .cbx-ui-time-typed kbd { font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; color: var(--muted-foreground); }
282
+ .cbx-ui-datetime { display: flex; flex-wrap: wrap; gap: 8px; }
283
+ .cbx-ui-datetime > .cbx-ui-combo:first-child { flex: 1 1 9.5rem; }
284
+ .cbx-ui-datetime > .cbx-ui-combo:first-child .cbx-ui-combo-trigger { width: 100%; }
272
285
  @media (pointer: coarse) {
273
286
  .cbx-ui-date-grid th { width: 42px; }
274
287
  .cbx-ui-date-day { width: 42px; height: 42px; font-size: 14px; }