myshell-react-lib 0.1.42 → 0.1.43
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/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1323,8 +1323,7 @@ interface ChipsProps extends VariantProps<typeof chipsVariants> {
|
|
|
1323
1323
|
declare function Chips(props: ChipsProps): react_jsx_runtime.JSX.Element;
|
|
1324
1324
|
|
|
1325
1325
|
type StateVariant = 'not-found' | 'no-page' | 'error' | 'network-error';
|
|
1326
|
-
interface
|
|
1327
|
-
variant: StateVariant;
|
|
1326
|
+
interface BaseStateProps {
|
|
1328
1327
|
title?: string;
|
|
1329
1328
|
description?: string;
|
|
1330
1329
|
className?: string;
|
|
@@ -1334,11 +1333,14 @@ interface StateProps {
|
|
|
1334
1333
|
icon?: React.ElementType;
|
|
1335
1334
|
onBack?: () => void;
|
|
1336
1335
|
}
|
|
1336
|
+
interface StateProps extends BaseStateProps {
|
|
1337
|
+
variant: StateVariant;
|
|
1338
|
+
}
|
|
1337
1339
|
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, hideLogo, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1338
|
-
declare const ErrorState: (args:
|
|
1339
|
-
declare const NetworkErrorState: (args:
|
|
1340
|
-
declare const NotFoundState: (args:
|
|
1341
|
-
declare const NoPageState: (args:
|
|
1340
|
+
declare const ErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1341
|
+
declare const NetworkErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1342
|
+
declare const NotFoundState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1343
|
+
declare const NoPageState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1342
1344
|
|
|
1343
1345
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
1344
1346
|
interface ToastViewportProps extends React$1.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport> {
|
package/dist/index.d.ts
CHANGED
|
@@ -1323,8 +1323,7 @@ interface ChipsProps extends VariantProps<typeof chipsVariants> {
|
|
|
1323
1323
|
declare function Chips(props: ChipsProps): react_jsx_runtime.JSX.Element;
|
|
1324
1324
|
|
|
1325
1325
|
type StateVariant = 'not-found' | 'no-page' | 'error' | 'network-error';
|
|
1326
|
-
interface
|
|
1327
|
-
variant: StateVariant;
|
|
1326
|
+
interface BaseStateProps {
|
|
1328
1327
|
title?: string;
|
|
1329
1328
|
description?: string;
|
|
1330
1329
|
className?: string;
|
|
@@ -1334,11 +1333,14 @@ interface StateProps {
|
|
|
1334
1333
|
icon?: React.ElementType;
|
|
1335
1334
|
onBack?: () => void;
|
|
1336
1335
|
}
|
|
1336
|
+
interface StateProps extends BaseStateProps {
|
|
1337
|
+
variant: StateVariant;
|
|
1338
|
+
}
|
|
1337
1339
|
declare const State$1: ({ variant, title, description, className, icon, logo, backBtnText, hideLogo, onBack, }: StateProps) => react_jsx_runtime.JSX.Element;
|
|
1338
|
-
declare const ErrorState: (args:
|
|
1339
|
-
declare const NetworkErrorState: (args:
|
|
1340
|
-
declare const NotFoundState: (args:
|
|
1341
|
-
declare const NoPageState: (args:
|
|
1340
|
+
declare const ErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1341
|
+
declare const NetworkErrorState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1342
|
+
declare const NotFoundState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1343
|
+
declare const NoPageState: (args: BaseStateProps) => react_jsx_runtime.JSX.Element;
|
|
1342
1344
|
|
|
1343
1345
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
1344
1346
|
interface ToastViewportProps extends React$1.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport> {
|