rgm-design-system 0.7.0 → 0.9.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 +20 -0
- package/dist/components/chatbot-input.d.ts +1 -5
- package/dist/components/chatbot-input.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts +6 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1248 -1306
- 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
|
+
## 0.9.0 - 2026-07-08
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added `textSize` to `Textarea` so consumers can opt into stable small textarea typography.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Fixed `ChatbotInput` textarea and placeholder typography so it stays at the small composer size across responsive breakpoints.
|
|
14
|
+
|
|
15
|
+
## 0.8.0 - 2026-07-08
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Simplified `ChatbotInput` to a single composer layout with native textarea placeholder rendering.
|
|
20
|
+
|
|
21
|
+
### Removed
|
|
22
|
+
|
|
23
|
+
- Removed `ChatbotInput` props for `expandDirection`, `placeholderRows`, `size`, and `textareaClassName`.
|
|
24
|
+
|
|
5
25
|
## 0.7.0 - 2026-07-08
|
|
6
26
|
|
|
7
27
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Textarea } from './ui/textarea';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
type ChatbotInputProps = Omit<React.ComponentProps<typeof Textarea>, "defaultValue" | "onChange" | "onSubmit" | "value"> & {
|
|
3
|
+
type ChatbotInputProps = Omit<React.ComponentProps<typeof Textarea>, "defaultValue" | "onChange" | "onSubmit" | "textSize" | "value"> & {
|
|
4
4
|
action?: {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
icon: React.ReactNode;
|
|
@@ -8,19 +8,15 @@ type ChatbotInputProps = Omit<React.ComponentProps<typeof Textarea>, "defaultVal
|
|
|
8
8
|
onClick: () => void;
|
|
9
9
|
};
|
|
10
10
|
actionClassName?: string;
|
|
11
|
-
expandDirection?: "down" | "up";
|
|
12
11
|
value?: string;
|
|
13
12
|
defaultValue?: string;
|
|
14
13
|
onValueChange?: (value: string) => void;
|
|
15
14
|
onSubmit?: (value: string) => void;
|
|
16
15
|
minRows?: number;
|
|
17
16
|
maxRows?: number;
|
|
18
|
-
placeholderRows?: number;
|
|
19
|
-
size?: "default" | "large";
|
|
20
17
|
submitLabel?: string;
|
|
21
18
|
submitIcon?: React.ReactNode;
|
|
22
19
|
submitOnEnter?: boolean;
|
|
23
|
-
textareaClassName?: string;
|
|
24
20
|
};
|
|
25
21
|
declare const ChatbotInput: React.ForwardRefExoticComponent<Omit<ChatbotInputProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
26
22
|
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;AAI/B,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,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;AAI/B,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGpD,KAAK,iBAAiB,GAAG,IAAI,CAC3B,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EACrC,cAAc,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAChE,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,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;CACzB,CAAC;AA8BF,QAAA,MAAM,YAAY,4GAmHjB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
2
|
+
type TextareaTextSize = "responsive" | "sm";
|
|
3
|
+
type TextareaProps = React.ComponentProps<"textarea"> & {
|
|
4
|
+
textSize?: TextareaTextSize;
|
|
5
|
+
};
|
|
6
|
+
declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
3
7
|
export { Textarea };
|
|
8
|
+
export type { TextareaProps, TextareaTextSize };
|
|
4
9
|
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/ui/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/ui/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,KAAK,gBAAgB,GAAG,YAAY,GAAG,IAAI,CAAA;AAE3C,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG;IACtD,QAAQ,CAAC,EAAE,gBAAgB,CAAA;CAC5B,CAAA;AAOD,QAAA,MAAM,QAAQ,wGAcZ,CAAA;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAA;AACnB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAA"}
|