globalfy-design-system 0.14.0 → 0.15.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.
@@ -0,0 +1,2 @@
1
+ import { SnackbarProps } from "./Snackbar.types";
2
+ export declare const Snackbar: ({ message, actions, inlineActions }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { Meta } from "@storybook/react";
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare const Default: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ export type SnackbarAction = {
2
+ label: string;
3
+ onClick: () => void;
4
+ };
5
+ export type SnackbarProps = {
6
+ message: string;
7
+ inlineActions?: boolean;
8
+ actions?: SnackbarAction[];
9
+ };
@@ -0,0 +1 @@
1
+ export declare const SnackbarContainer: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from "./SnackbarContainer";
2
+ export * from "./Snackbar";
3
+ export * from "./useSnackbar";
@@ -0,0 +1,7 @@
1
+ import { SnackbarAction } from "./Snackbar.types";
2
+ export declare const useSnackbar: () => {
3
+ snackbar: (message: string, options?: {
4
+ actions?: SnackbarAction[];
5
+ inlineActions?: boolean;
6
+ }) => void;
7
+ };
@@ -9,3 +9,5 @@ export * from "./Avatar";
9
9
  export * from "./RadioGroup";
10
10
  export * from "./Button";
11
11
  export * from "./Chip";
12
+ export * from "./SegmentedControl";
13
+ export * from "./Snackbar";