@botiverse/raft-ui 0.9.1 → 0.9.3

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,16 @@
1
+ ## [0.9.3](https://github.com/botiverse/raft-design/compare/v0.9.2...v0.9.3) (2026-10-20)
2
+
3
+ ### Fixed
4
+
5
+ - Message reference chips sit on the sentence's baseline. Chips with a leading icon (task, joint channel, thread, link) sat 3px high and text-only chips like `#general` 1px high, which also pushed lines apart (26px instead of 24px). Height, colors and padding are unchanged. ([#583](https://github.com/botiverse/raft-design/pull/583))
6
+ - `InlineCode` in a message centres its letters in the fill (they sat about 0.6px low). ([#583](https://github.com/botiverse/raft-design/pull/583))
7
+
8
+ ## [0.9.2](https://github.com/botiverse/raft-design/compare/v0.9.1...v0.9.2) (2026-10-19)
9
+
10
+ ### Fixed
11
+
12
+ - 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))
13
+
1
14
  ## [0.9.1](https://github.com/botiverse/raft-design/compare/v0.9.0...v0.9.1) (2026-10-19)
2
15
 
3
16
  ### Added
package/dist/index.mjs CHANGED
@@ -6473,7 +6473,7 @@ const inlineCode = tv({
6473
6473
  "inline border-0 px-1 align-baseline",
6474
6474
  "[font-size:0.875em] leading-[1.3em] font-normal",
6475
6475
  "wrap-anywhere",
6476
- "rounded-sticker bg-fill-muted py-px text-foreground"
6476
+ "rounded-sticker bg-fill-muted pt-[calc(1px-0.0275em)] pb-[calc(1px+0.0275em)] text-foreground"
6477
6477
  ] }
6478
6478
  } },
6479
6479
  defaultVariants: { appearance: "default" }
@@ -7352,7 +7352,7 @@ function MessageReactionTooltipMeta({ className, render, ...props }) {
7352
7352
  //#endregion
7353
7353
  //#region src/components/message-item/message-reference.recipe.ts
7354
7354
  const chip = (fill) => [
7355
- "h-[22px] items-center gap-0.5 rounded-sticker px-1.5 has-[>svg]:pl-[3px] align-[1px]",
7355
+ "items-baseline gap-0.5 rounded-sticker px-1.5 py-px has-[>svg]:pl-[3px]",
7356
7356
  "[font-size:0.875em] leading-5 font-semibold",
7357
7357
  "[&_svg]:size-3.5 [&_svg]:text-foreground-muted",
7358
7358
  fill
@@ -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.3",
4
4
  "description": "React components and CSS foundations for the Raft Design System.",
5
5
  "keywords": [
6
6
  "agent-skills",