@opencxh/ui-kit 3.111.4 → 3.112.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.
@@ -7,12 +7,18 @@ export interface MessageBubbleProps {
7
7
  * this to drop the repeated header and avatar.
8
8
  */
9
9
  continued?: boolean;
10
- /** Border emphasis for a message that is not settled yet, e.g. a pending draft. */
11
- tone?: "default" | "warning";
12
10
  /**
13
- * Layout only width and padding. Those differ per surface (a chat bubble
14
- * hugs its text, an email card fills the column and pads its own sections),
15
- * so the component owns the shape and the caller owns the box.
11
+ * `warning` for a message that is not settled yet, e.g. a pending draft.
12
+ * `note` is the internal-note surface amber, never customer-visible.
13
+ */
14
+ tone?: "default" | "warning" | "note";
15
+ /**
16
+ * Layout only — padding, flex behaviour, margins.
17
+ *
18
+ * Not width: the bubble caps its own, because `cn` is plain clsx with no
19
+ * tailwind-merge, so a `max-w-*` passed here would not reliably beat the
20
+ * default — both land in the class list and CSS order decides. A message
21
+ * that runs the full width of the thread stops reading as a message.
16
22
  */
17
23
  className?: string;
18
24
  children: React.ReactNode;
@@ -3,7 +3,7 @@ export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
3
3
  /**
4
4
  * The visual variant of the badge
5
5
  */
6
- variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
6
+ variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'note';
7
7
  /**
8
8
  * The size of the badge
9
9
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/ui-kit",
3
- "version": "3.111.4",
3
+ "version": "3.112.1",
4
4
  "description": "Theme-aware UI component library for OpenCXH platform",
5
5
  "type": "module",
6
6
  "exports": {