rgm-design-system 0.2.1 → 0.4.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/CHANGELOG.md +18 -0
- package/dist/components/chatbot-prompt-category.d.ts +2 -1
- package/dist/components/chatbot-prompt-category.d.ts.map +1 -1
- package/dist/components/chatbot-welcome-hero.d.ts +1 -1
- package/dist/components/chatbot-welcome-hero.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +606 -562
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `rgm-design-system` are documented in this file.
|
|
4
4
|
|
|
5
|
+
## 0.4.0 - 2026-06-25
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added `size="sm" | "md" | "lg"` to `ChatbotPromptCategory`.
|
|
10
|
+
- Added Storybook controls and examples for prompt category sizes and long-content truncation.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Truncated long `ChatbotPromptCategory` titles and descriptions so oversized prompt copy remains contained.
|
|
15
|
+
|
|
16
|
+
## 0.3.0 - 2026-06-25
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Added `size="xs"` to `ChatbotWelcomeHero` for extra-compact chatbot welcome surfaces.
|
|
21
|
+
- Added the extra-small variant to the `ChatbotWelcomeHero` Storybook sizes example.
|
|
22
|
+
|
|
5
23
|
## 0.2.1 - 2026-06-25
|
|
6
24
|
|
|
7
25
|
### Fixed
|
|
@@ -3,9 +3,10 @@ type ChatbotPromptCategoryProps = Omit<React.ComponentProps<"button">, "children
|
|
|
3
3
|
title: string;
|
|
4
4
|
description: string;
|
|
5
5
|
icon?: React.ReactNode;
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
6
7
|
selected?: boolean;
|
|
7
8
|
};
|
|
8
|
-
declare function ChatbotPromptCategory({ className, title, description, icon, selected, disabled, ...props }: ChatbotPromptCategoryProps): React.JSX.Element;
|
|
9
|
+
declare function ChatbotPromptCategory({ className, title, description, icon, size, selected, disabled, ...props }: ChatbotPromptCategoryProps): React.JSX.Element;
|
|
9
10
|
export { ChatbotPromptCategory };
|
|
10
11
|
export type { ChatbotPromptCategoryProps };
|
|
11
12
|
//# sourceMappingURL=chatbot-prompt-category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatbot-prompt-category.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-prompt-category.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,KAAK,0BAA0B,GAAG,IAAI,CACpC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAC9B,UAAU,CACX,GAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"chatbot-prompt-category.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-prompt-category.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,KAAK,0BAA0B,GAAG,IAAI,CACpC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAC9B,UAAU,CACX,GAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA6BF,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,KAAK,EACL,WAAW,EACX,IAAyB,EACzB,IAAW,EACX,QAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,0BAA0B,qBAwC5B;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC;AACjC,YAAY,EAAE,0BAA0B,EAAE,CAAC"}
|
|
@@ -4,7 +4,7 @@ type ChatbotWelcomeHeroProps = Omit<React.ComponentProps<"section">, "children">
|
|
|
4
4
|
icon?: React.ReactNode;
|
|
5
5
|
name?: string;
|
|
6
6
|
prompt?: string;
|
|
7
|
-
size?: "sm" | "md" | "lg";
|
|
7
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
8
8
|
};
|
|
9
9
|
declare function ChatbotWelcomeHero({ className, greeting, icon, name, prompt, size, ...props }: ChatbotWelcomeHeroProps): React.JSX.Element;
|
|
10
10
|
export { ChatbotWelcomeHero };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatbot-welcome-hero.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-welcome-hero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,KAAK,uBAAuB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,GAAG;IACjF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"chatbot-welcome-hero.d.ts","sourceRoot":"","sources":["../../src/components/chatbot-welcome-hero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,KAAK,uBAAuB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,GAAG;IACjF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAClC,CAAC;AAyCF,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,QAAyB,EACzB,IAAI,EACJ,IAAa,EACb,MAAoC,EACpC,IAAW,EACX,GAAG,KAAK,EACT,EAAE,uBAAuB,qBAoDzB;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
|