@opencxh/ui-kit 3.111.3 → 3.112.0
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +18 -12
- package/dist/index.js.map +1 -1
- package/dist/src/content/MessageBubble.d.ts +5 -2
- package/dist/src/feedback/Badge.d.ts +1 -1
- package/package.json +1 -1
|
@@ -7,8 +7,11 @@ export interface MessageBubbleProps {
|
|
|
7
7
|
* this to drop the repeated header and avatar.
|
|
8
8
|
*/
|
|
9
9
|
continued?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/**
|
|
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";
|
|
12
15
|
/**
|
|
13
16
|
* Layout only — width and padding. Those differ per surface (a chat bubble
|
|
14
17
|
* hugs its text, an email card fills the column and pads its own sections),
|
|
@@ -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
|
*/
|