@ivao/atmosphere-react 2.0.0-next.4 → 2.0.0-next.5
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.
|
@@ -129,6 +129,7 @@ import { TabsTriggerProps } from '@radix-ui/react-tabs';
|
|
|
129
129
|
import { TdHTMLAttributes } from 'react';
|
|
130
130
|
import { TextareaHTMLAttributes } from 'react';
|
|
131
131
|
import { ThHTMLAttributes } from 'react';
|
|
132
|
+
import { ToastProps as ToastProps_2 } from '@radix-ui/react-toast';
|
|
132
133
|
import { ToggleGroupItemProps as ToggleGroupItemProps_2 } from '@radix-ui/react-toggle-group';
|
|
133
134
|
import { ToggleProps } from '@radix-ui/react-toggle';
|
|
134
135
|
import { TooltipContentProps } from '@radix-ui/react-tooltip';
|
|
@@ -1194,7 +1195,7 @@ declare interface ToastProps {
|
|
|
1194
1195
|
title: string;
|
|
1195
1196
|
description?: string;
|
|
1196
1197
|
duration?: number;
|
|
1197
|
-
toastProps?:
|
|
1198
|
+
toastProps?: ComponentProps<typeof ToastRoot>;
|
|
1198
1199
|
actionAltText: string;
|
|
1199
1200
|
action?: ReactNode;
|
|
1200
1201
|
}
|
|
@@ -1205,6 +1206,10 @@ declare interface ToastProviderProps {
|
|
|
1205
1206
|
swipeDirection?: ComponentPropsWithoutRef<typeof Provider>['swipeDirection'];
|
|
1206
1207
|
}
|
|
1207
1208
|
|
|
1209
|
+
declare const ToastRoot: ForwardRefExoticComponent<Omit<ToastProps_2 & RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
1210
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
1211
|
+
} & ClassProp) | undefined) => string> & RefAttributes<HTMLLIElement>>;
|
|
1212
|
+
|
|
1208
1213
|
export declare const Toggle: ForwardRefExoticComponent<Omit<ToggleProps & RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1209
1214
|
variant?: "default" | "outline" | null | undefined;
|
|
1210
1215
|
size?: "default" | "sm" | "lg" | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ivao/atmosphere-react",
|
|
3
3
|
"description": "React component library for the IVAO Atmosphere design system.",
|
|
4
|
-
"version": "2.0.0-next.
|
|
4
|
+
"version": "2.0.0-next.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/atmosphere-react.js",
|
|
7
7
|
"types": "./dist/react-components.d.ts",
|