rgm-design-system 2.0.0 → 2.1.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/CHANGELOG.md +20 -0
- package/dist/components/chatbot-agent-tool-accordion.d.ts.map +1 -1
- package/dist/components/chatbot-input.d.ts +5 -0
- package/dist/components/chatbot-input.d.ts.map +1 -1
- package/dist/components/chatbot-queued-messages.d.ts +16 -0
- package/dist/components/chatbot-queued-messages.d.ts.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1699 -1548
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `rgm-design-system` are documented in this file.
|
|
4
4
|
|
|
5
|
+
## 2.1.1 - 2026-07-20
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Refined chatbot composer footer, user-bubble action sizing, welcome-heading line height, and user-action tooltip placement.
|
|
10
|
+
- Restored the standard tooltip delay in sidebars and removed the tooltip arrow for a cleaner shared tooltip surface.
|
|
11
|
+
|
|
12
|
+
## 2.1.0 - 2026-07-19
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Added `ChatbotQueuedMessages`, a token-aware queued-message list with optional edit, remove, and drag-to-reorder actions.
|
|
17
|
+
- Added queued-message rendering and callbacks to `ChatbotInput`, including moving an edited queued message back into the composer.
|
|
18
|
+
- Added focused Storybook examples for standalone queued messages and queued messages integrated with the chatbot input.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Refined chatbot typography defaults for history, saved prompts, markdown, user bubbles, and agent tool accordion rows.
|
|
23
|
+
- Tightened chatbot user-bubble action sizing and spacing.
|
|
24
|
+
|
|
5
25
|
## 2.0.0 - 2026-07-17
|
|
6
26
|
|
|
7
27
|
### Added
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatbot-agent-tool-accordion.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-agent-tool-accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,KAAK,6BAA6B,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,8BAA8B,GAAG,IAAI,CACxC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAC3B,UAAU,CACX,GAAG;IACF,KAAK,EAAE,6BAA6B,EAAE,CAAC;IACvC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,iBAAS,yBAAyB,CAAC,EACjC,SAAS,EACT,KAAK,EACL,cAAc,EACd,OAAO,EACP,eAAe,EACf,GAAG,KAAK,EACT,EAAE,8BAA8B,
|
|
1
|
+
{"version":3,"file":"chatbot-agent-tool-accordion.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-agent-tool-accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,KAAK,6BAA6B,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,8BAA8B,GAAG,IAAI,CACxC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAC3B,UAAU,CACX,GAAG;IACF,KAAK,EAAE,6BAA6B,EAAE,CAAC;IACvC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,iBAAS,yBAAyB,CAAC,EACjC,SAAS,EACT,KAAK,EACL,cAAc,EACd,OAAO,EACP,eAAe,EACf,GAAG,KAAK,EACT,EAAE,8BAA8B,qBAoDhC;AAED,OAAO,EAAE,yBAAyB,EAAE,CAAC;AACrC,YAAY,EACV,6BAA6B,EAC7B,8BAA8B,GAC/B,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChatbotQueuedMessage, ChatbotQueuedMessageDropPlacement } from './chatbot-queued-messages';
|
|
1
2
|
import { Textarea } from './ui/textarea';
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
type ChatbotInputProps = Omit<React.ComponentProps<typeof Textarea>, "defaultValue" | "onChange" | "onSubmit" | "value"> & {
|
|
@@ -18,6 +19,10 @@ type ChatbotInputProps = Omit<React.ComponentProps<typeof Textarea>, "defaultVal
|
|
|
18
19
|
submitLabel?: string;
|
|
19
20
|
submitIcon?: React.ReactNode;
|
|
20
21
|
submitOnEnter?: boolean;
|
|
22
|
+
queuedMessages?: readonly ChatbotQueuedMessage[];
|
|
23
|
+
onQueuedMessageEdit?: (message: ChatbotQueuedMessage) => void;
|
|
24
|
+
onQueuedMessageRemove?: (messageId: string) => void;
|
|
25
|
+
onQueuedMessageReorder?: (draggedMessageId: string, targetMessageId: string, placement: ChatbotQueuedMessageDropPlacement) => void;
|
|
21
26
|
};
|
|
22
27
|
declare const ChatbotInput: React.ForwardRefExoticComponent<Omit<ChatbotInputProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
23
28
|
export { ChatbotInput };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatbot-input.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"chatbot-input.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,EACvC,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIpD,KAAK,iBAAiB,GAAG,IAAI,CAC3B,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EACrC,cAAc,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CACnD,GAAG;IACF,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACjD,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC9D,qBAAqB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,sBAAsB,CAAC,EAAE,CACvB,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,iCAAiC,KACzC,IAAI,CAAC;CACX,CAAC;AA8BF,QAAA,MAAM,YAAY,4GA+JjB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
type ChatbotQueuedMessage = {
|
|
3
|
+
id: string;
|
|
4
|
+
content: string;
|
|
5
|
+
};
|
|
6
|
+
type ChatbotQueuedMessageDropPlacement = "before" | "after";
|
|
7
|
+
type ChatbotQueuedMessagesProps = Omit<React.ComponentProps<"div">, "children"> & {
|
|
8
|
+
messages: readonly ChatbotQueuedMessage[];
|
|
9
|
+
onEditMessage?: (message: ChatbotQueuedMessage) => void;
|
|
10
|
+
onRemoveMessage?: (messageId: string) => void;
|
|
11
|
+
onReorderMessage?: (draggedMessageId: string, targetMessageId: string, placement: ChatbotQueuedMessageDropPlacement) => void;
|
|
12
|
+
};
|
|
13
|
+
declare function ChatbotQueuedMessages({ className, messages, onEditMessage, onRemoveMessage, onReorderMessage, ...props }: ChatbotQueuedMessagesProps): React.JSX.Element | null;
|
|
14
|
+
export { ChatbotQueuedMessages };
|
|
15
|
+
export type { ChatbotQueuedMessage, ChatbotQueuedMessageDropPlacement, ChatbotQueuedMessagesProps, };
|
|
16
|
+
//# sourceMappingURL=chatbot-queued-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatbot-queued-messages.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-queued-messages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,KAAK,oBAAoB,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,iCAAiC,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE5D,KAAK,0BAA0B,GAAG,IAAI,CACpC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAC3B,UAAU,CACX,GAAG;IACF,QAAQ,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACxD,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,CACjB,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,iCAAiC,KACzC,IAAI,CAAC;CACX,CAAC;AAeF,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,QAAQ,EACR,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,0BAA0B,4BAiJ5B;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC;AACjC,YAAY,EACV,oBAAoB,EACpB,iCAAiC,EACjC,0BAA0B,GAC3B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './aurora-text';
|
|
2
2
|
export * from './chatbot-markdown';
|
|
3
3
|
export * from './chatbot-input';
|
|
4
|
+
export * from './chatbot-queued-messages';
|
|
4
5
|
export * from './chatbot-agent-tool-accordion';
|
|
5
6
|
export * from './chatbot-prompt-category';
|
|
6
7
|
export * from './chatbot-prompts-menu';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAItD,iBAAS,eAAe,CAAC,EACvB,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAItD,iBAAS,eAAe,CAAC,EACvB,aAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,qBAQxD;AAED,iBAAS,OAAO,CAAC,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,qBAEpD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,qBAQvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,qBAgBvD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|