rgm-design-system 0.8.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 +10 -0
- package/dist/components/chatbot-input.d.ts +1 -1
- 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 +734 -729
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
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
|
+
|
|
5
15
|
## 0.8.0 - 2026-07-08
|
|
6
16
|
|
|
7
17
|
### Changed
|
|
@@ -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;
|
|
@@ -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;A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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"}
|