rgm-design-system 0.1.1 → 0.2.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 CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  All notable changes to `rgm-design-system` are documented in this file.
4
4
 
5
+ ## 0.2.1 - 2026-06-25
6
+
7
+ ### Fixed
8
+
9
+ - Made `ChatbotWelcomeHero` transparent by default so consuming app surfaces control the background.
10
+
11
+ ## 0.2.0 - 2026-06-25
12
+
13
+ ### Added
14
+
15
+ - Added `AuroraText`, a preset-aware animated gradient text component derived from shadcn CSS variables.
16
+ - Added `icon` support to `ChatbotWelcomeHero` for app-provided assistant marks.
17
+ - Added `size="sm" | "md" | "lg"` to `ChatbotWelcomeHero`.
18
+ - Added `MotionPresence` with an `enter-up` preset matching the chatbot welcome entrance motion used in `nvcwebapp`.
19
+
20
+ ### Changed
21
+
22
+ - Updated `ChatbotWelcomeHero` to always render its prompt with the preset-aware aurora text treatment.
23
+ - Simplified Storybook font controls so one font selector updates body and heading font variables together.
24
+ - Improved `ChatbotWelcomeHero` heading line height so descenders are not clipped at larger sizes.
25
+
5
26
  ## 0.1.1 - 2026-06-25
6
27
 
7
28
  ### Changed
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ type AuroraTextProps = React.ComponentProps<"span">;
3
+ declare function AuroraText({ children, className, ...props }: AuroraTextProps): React.JSX.Element;
4
+ export { AuroraText };
5
+ export type { AuroraTextProps };
6
+ //# sourceMappingURL=aurora-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aurora-text.d.ts","sourceRoot":"","sources":["../../src/components/aurora-text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;AAEpD,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,qBAgBrE;AAED,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import * as React from "react";
2
2
  type ChatbotWelcomeHeroProps = Omit<React.ComponentProps<"section">, "children"> & {
3
3
  greeting?: string;
4
+ icon?: React.ReactNode;
4
5
  name?: string;
5
6
  prompt?: string;
6
- markLabel?: string;
7
+ size?: "sm" | "md" | "lg";
7
8
  };
8
- declare function ChatbotWelcomeHero({ className, greeting, name, prompt, markLabel, ...props }: ChatbotWelcomeHeroProps): React.JSX.Element;
9
+ declare function ChatbotWelcomeHero({ className, greeting, icon, name, prompt, size, ...props }: ChatbotWelcomeHeroProps): React.JSX.Element;
9
10
  export { ChatbotWelcomeHero };
10
11
  export type { ChatbotWelcomeHeroProps };
11
12
  //# sourceMappingURL=chatbot-welcome-hero.d.ts.map
@@ -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;AAI/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,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,QAAyB,EACzB,IAAa,EACb,MAAoC,EACpC,SAAuB,EACvB,GAAG,KAAK,EACT,EAAE,uBAAuB,qBA4BzB;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,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,CAAC;CAC3B,CAAC;AAgCF,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"}
@@ -1,3 +1,4 @@
1
+ export * from './aurora-text';
1
2
  export * from './chatbot-input';
2
3
  export * from './chatbot-agent-tool-accordion';
3
4
  export * from './chatbot-prompt-category';
@@ -6,5 +7,6 @@ export * from './chatbot-drawer-header';
6
7
  export * from './chatbot-history-item';
7
8
  export * from './chatbot-user-bubble';
8
9
  export * from './chatbot-welcome-hero';
10
+ export * from './motion-presence';
9
11
  export * from './ui';
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,MAAM,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { HTMLMotionProps } from 'motion/react';
2
+ type MotionPresencePreset = "enter-up";
3
+ type MotionPresenceReducedMotion = "user" | "always" | "never";
4
+ type MotionPresenceProps = Omit<HTMLMotionProps<"div">, "initial" | "animate" | "transition"> & {
5
+ animate?: HTMLMotionProps<"div">["animate"];
6
+ disabled?: boolean;
7
+ initial?: HTMLMotionProps<"div">["initial"];
8
+ preset?: MotionPresencePreset;
9
+ reducedMotion?: MotionPresenceReducedMotion;
10
+ transition?: HTMLMotionProps<"div">["transition"];
11
+ };
12
+ declare const motionPresencePresets: {
13
+ "enter-up": {
14
+ initial: {
15
+ opacity: number;
16
+ y: number;
17
+ };
18
+ animate: {
19
+ opacity: number;
20
+ y: number;
21
+ };
22
+ transition: {
23
+ delay: number;
24
+ duration: number;
25
+ };
26
+ };
27
+ };
28
+ declare function MotionPresence({ animate, disabled, initial, preset, reducedMotion, transition, ...props }: MotionPresenceProps): import("react").JSX.Element;
29
+ export { MotionPresence, motionPresencePresets };
30
+ export type { MotionPresencePreset, MotionPresenceProps, MotionPresenceReducedMotion, };
31
+ //# sourceMappingURL=motion-presence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"motion-presence.d.ts","sourceRoot":"","sources":["../../src/components/motion-presence.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAE9E,KAAK,oBAAoB,GAAG,UAAU,CAAC;AACvC,KAAK,2BAA2B,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/D,KAAK,mBAAmB,GAAG,IAAI,CAC7B,eAAe,CAAC,KAAK,CAAC,EACtB,SAAS,GAAG,SAAS,GAAG,YAAY,CACrC,GAAG;IACF,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,aAAa,CAAC,EAAE,2BAA2B,CAAC;IAC5C,UAAU,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC;CACnD,CAAC;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;CAS1B,CAAC;AAEF,iBAAS,cAAc,CAAC,EACtB,OAAO,EACP,QAAgB,EAChB,OAAO,EACP,MAAmB,EACnB,aAAsB,EACtB,UAAU,EACV,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAgBrB;AAED,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,CAAC;AACjD,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,2BAA2B,GAC5B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from "react";
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
7
7
  asChild?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from "react";
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
@@ -11,7 +11,7 @@ declare function Item({ className, variant, size, asChild, ...props }: React.Com
11
11
  asChild?: boolean;
12
12
  }): React.JSX.Element;
13
13
  declare const itemMediaVariants: (props?: ({
14
- variant?: "default" | "icon" | "image" | null | undefined;
14
+ variant?: "image" | "default" | "icon" | null | undefined;
15
15
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
16
16
  declare function ItemMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React.JSX.Element;
17
17
  declare function ItemContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
@@ -3,7 +3,7 @@ import { Tabs as TabsPrimitive } from 'radix-ui';
3
3
  import * as React from "react";
4
4
  declare function Tabs({ className, orientation, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): React.JSX.Element;
5
5
  declare const tabsListVariants: (props?: ({
6
- variant?: "default" | "line" | null | undefined;
6
+ variant?: "line" | "default" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  declare function TabsList({ className, variant, ...props }: React.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): React.JSX.Element;
9
9
  declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): React.JSX.Element;