@botiverse/raft-ui 0.9.1 → 0.9.2

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
@@ -1,3 +1,9 @@
1
+ ## [0.9.2](https://github.com/botiverse/raft-design/compare/v0.9.1...v0.9.2) (2026-10-19)
2
+
3
+ ### Fixed
4
+
5
+ - On an `InboxItem` card row, `InboxItemTrailing` (the timestamp, and on a touch screen the room for `reveal="hover"` actions) takes width only beside the first two content lines; the body, message and chips below run the full width. Before, every line was narrowed, so phone cards wrapped more and grew taller. Compact rows and rows without a trailing column are unchanged. ([#586](https://github.com/botiverse/raft-design/pull/586))
6
+
1
7
  ## [0.9.1](https://github.com/botiverse/raft-design/compare/v0.9.0...v0.9.1) (2026-10-19)
2
8
 
3
9
  ### Added
package/dist/index.mjs CHANGED
@@ -15914,23 +15914,34 @@ const inboxItem = tv({
15914
15914
  "hover:bg-fill-pressed",
15915
15915
  "data-[active=true]:bg-info-soft data-[active=true]:hover:bg-info-soft",
15916
15916
  "data-disabled:pointer-events-none data-disabled:hover:bg-transparent",
15917
- "has-[[data-slot=inbox-item-open]:focus-visible]:inset-ring-2 has-[[data-slot=inbox-item-open]:focus-visible]:inset-ring-foreground"
15917
+ "has-[[data-slot=inbox-item-open]:focus-visible]:inset-ring-2 has-[[data-slot=inbox-item-open]:focus-visible]:inset-ring-foreground",
15918
+ "not-data-[density=compact]:has-data-[slot=inbox-item-trailing]:[--inbox-item-content-display:grid] not-data-[density=compact]:has-data-[slot=inbox-item-trailing]:[--inbox-item-content-end:-1]"
15918
15919
  ],
15919
15920
  itemTrigger: ["absolute inset-0 z-0 outline-none"],
15920
15921
  itemLeading: ["pointer-events-none relative z-10 flex size-9 shrink-0 items-center justify-center"],
15921
15922
  itemSelection: ["relative z-10 mt-0.5 flex size-4 shrink-0 items-center justify-center"],
15922
- itemContent: ["pointer-events-none relative z-10 min-w-0 flex-1 text-left"],
15923
+ itemContent: [
15924
+ "pointer-events-none relative z-10 min-w-0 flex-1 text-left",
15925
+ "-col-start-3 col-end-(--inbox-item-content-end) row-start-1",
15926
+ "[display:var(--inbox-item-content-display,block)] grid-cols-subgrid"
15927
+ ],
15923
15928
  itemContext: [
15929
+ "col-span-full nth-[-n+2]:col-[1/2]",
15924
15930
  "flex min-w-0 items-center",
15925
15931
  "mb-0.5 gap-1.5 py-0",
15926
15932
  "text-caption text-foreground-hint"
15927
15933
  ],
15928
15934
  itemSubtitle: [
15935
+ "col-span-full nth-[-n+2]:col-[1/2]",
15929
15936
  "min-w-0",
15930
15937
  "mt-0.5 mb-0 py-0",
15931
15938
  "text-caption text-foreground-hint"
15932
15939
  ],
15933
- itemHeading: ["flex min-w-0 items-start gap-2", "mb-0"],
15940
+ itemHeading: [
15941
+ "col-span-full nth-[-n+2]:col-[1/2]",
15942
+ "flex min-w-0 items-start gap-2",
15943
+ "mb-0"
15944
+ ],
15934
15945
  itemTitle: [
15935
15946
  "relative line-clamp-2 min-w-0 flex-1 pl-[18px]",
15936
15947
  "[&>svg]:absolute [&>svg]:top-[3px] [&>svg]:left-0 [&>svg]:size-3.5",
@@ -15939,7 +15950,7 @@ const inboxItem = tv({
15939
15950
  "[&>svg]:text-foreground-hint"
15940
15951
  ],
15941
15952
  itemTrailing: [
15942
- "pointer-events-none relative z-10",
15953
+ "pointer-events-none relative z-10 col-[-2/-1] row-start-1",
15943
15954
  "flex shrink-0",
15944
15955
  "mt-0 flex-col items-end gap-2 pt-px",
15945
15956
  "max-md:flex-col max-md:items-end max-md:gap-2",
@@ -15957,10 +15968,22 @@ const inboxItem = tv({
15957
15968
  itemMarks: ["flex h-5 shrink-0 items-center justify-end gap-1.5", "text-foreground-hint"],
15958
15969
  itemHoverTarget: ["pointer-events-auto"],
15959
15970
  itemTimestamp: ["shrink-0 whitespace-nowrap text-right tabular-nums", "font-mono text-mono-meta text-foreground-hint"],
15960
- itemBody: ["line-clamp-2", "mt-0.5 text-callout text-foreground-muted"],
15961
- itemMessage: ["min-w-0", "mt-0.5 line-clamp-2 text-callout text-foreground-muted"],
15971
+ itemBody: [
15972
+ "col-span-full nth-[-n+2]:col-[1/2]",
15973
+ "line-clamp-2",
15974
+ "mt-0.5 text-callout text-foreground-muted"
15975
+ ],
15976
+ itemMessage: [
15977
+ "col-span-full nth-[-n+2]:col-[1/2]",
15978
+ "min-w-0",
15979
+ "mt-0.5 line-clamp-2 text-callout text-foreground-muted"
15980
+ ],
15962
15981
  itemSender: ["font-semibold text-foreground"],
15963
- itemMetadata: ["flex min-h-5 flex-wrap items-center gap-1.5", "mt-2"],
15982
+ itemMetadata: [
15983
+ "col-span-full nth-[-n+2]:col-[1/2]",
15984
+ "flex min-h-5 flex-wrap items-center gap-1.5",
15985
+ "mt-2"
15986
+ ],
15964
15987
  itemActions: [
15965
15988
  "pointer-events-auto flex shrink-0 items-center",
15966
15989
  "order-last gap-0.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botiverse/raft-ui",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "React components and CSS foundations for the Raft Design System.",
5
5
  "keywords": [
6
6
  "agent-skills",