@getsoren/design-system 4.45.1 → 4.46.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.
@@ -5,6 +5,8 @@ export interface EmptyStateProps<RootComponent extends ElementType = "button"> {
5
5
  icon?: ReactNode;
6
6
  /** Main message explaining the empty state */
7
7
  description?: ReactNode;
8
+ /** Secondary message displayed below the description */
9
+ subtitle?: ReactNode;
8
10
  /** Label of the action button. The button is only rendered when provided. */
9
11
  actionLabel?: ReactNode;
10
12
  /**
@@ -20,5 +22,5 @@ export interface EmptyStateProps<RootComponent extends ElementType = "button"> {
20
22
  * The action button accepts any root component, so consumers can plug their router link
21
23
  * without coupling the design system to a routing library.
22
24
  */
23
- declare const EmptyState: <RootComponent extends ElementType = "button">({ icon, description, actionLabel, actionProps, children, }: EmptyStateProps<RootComponent>) => import("@emotion/react/jsx-runtime").JSX.Element;
25
+ declare const EmptyState: <RootComponent extends ElementType = "button">({ icon, description, subtitle, actionLabel, actionProps, children, }: EmptyStateProps<RootComponent>) => import("@emotion/react/jsx-runtime").JSX.Element;
24
26
  export default EmptyState;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getsoren/design-system",
3
3
  "description": "Design System React library",
4
4
  "sideEffects": false,
5
- "version": "4.45.1",
5
+ "version": "4.46.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",