@whatisboom/boom-ui 0.2.0 → 0.3.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/dist/components/Box/index.d.ts +1 -1
- package/dist/components/Box/index.d.ts.map +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/ErrorBoundary/DefaultErrorFallback.d.ts +7 -0
- package/dist/components/ErrorBoundary/DefaultErrorFallback.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +13 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.stories.d.ts +23 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.stories.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.test.d.ts +2 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.test.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.types.d.ts +57 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.types.d.ts.map +1 -0
- package/dist/components/ErrorBoundary/index.d.ts +4 -0
- package/dist/components/ErrorBoundary/index.d.ts.map +1 -0
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/Typography/index.d.ts.map +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2449 -2356
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FallbackProps } from './ErrorBoundary.types';
|
|
2
|
+
|
|
3
|
+
export declare const DefaultErrorFallback: {
|
|
4
|
+
({ error, errorInfo, resetError }: FallbackProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=DefaultErrorFallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/DefaultErrorFallback.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAmBtD,eAAO,MAAM,oBAAoB;uCAAsC,aAAa;;CAyCnF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component, ReactNode } from 'react';
|
|
2
|
+
import { ErrorBoundaryProps, ErrorBoundaryState } from './ErrorBoundary.types';
|
|
3
|
+
|
|
4
|
+
export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
5
|
+
static displayName: string;
|
|
6
|
+
constructor(props: ErrorBoundaryProps);
|
|
7
|
+
static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState>;
|
|
8
|
+
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
9
|
+
componentDidUpdate(prevProps: ErrorBoundaryProps): void;
|
|
10
|
+
reset: () => void;
|
|
11
|
+
render(): ReactNode;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=ErrorBoundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAiB,MAAM,uBAAuB,CAAC;AAI9F,qBAAa,aAAc,SAAQ,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAClF,MAAM,CAAC,WAAW,SAAmB;gBAEzB,KAAK,EAAE,kBAAkB;IASrC,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAO1E,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI;IAQjE,kBAAkB,CAAC,SAAS,EAAE,kBAAkB,GAAG,IAAI;IAUvD,KAAK,QAAO,IAAI,CAOd;IAEF,MAAM,IAAI,SAAS;CAkCpB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { ErrorBoundary } from './ErrorBoundary';
|
|
3
|
+
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof ErrorBoundary;
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
docs: {
|
|
10
|
+
description: {
|
|
11
|
+
component: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
19
|
+
export declare const CustomFallback: Story;
|
|
20
|
+
export declare const CustomFallbackRender: Story;
|
|
21
|
+
export declare const WithErrorLogging: Story;
|
|
22
|
+
export declare const WithAutoReset: Story;
|
|
23
|
+
//# sourceMappingURL=ErrorBoundary.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/ErrorBoundary.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAUhD,QAAA,MAAM,IAAI;;;;;;;;;;;CAY4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAiBrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAelC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAa9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAgB3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.test.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/ErrorBoundary.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface FallbackProps {
|
|
4
|
+
/**
|
|
5
|
+
* The error that was caught
|
|
6
|
+
*/
|
|
7
|
+
error: Error;
|
|
8
|
+
/**
|
|
9
|
+
* Error info with component stack
|
|
10
|
+
* May be null if accessed before componentDidCatch completes
|
|
11
|
+
*/
|
|
12
|
+
errorInfo: React.ErrorInfo | null;
|
|
13
|
+
/**
|
|
14
|
+
* Function to reset the error boundary and retry
|
|
15
|
+
*/
|
|
16
|
+
resetError: () => void;
|
|
17
|
+
}
|
|
18
|
+
export interface ErrorBoundaryProps {
|
|
19
|
+
/**
|
|
20
|
+
* The content to render when there's no error
|
|
21
|
+
*/
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Custom fallback UI as ReactNode
|
|
25
|
+
* Takes precedence over fallbackRender
|
|
26
|
+
*/
|
|
27
|
+
fallback?: ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* Custom fallback UI as render function
|
|
30
|
+
* Receives error, errorInfo, and resetError
|
|
31
|
+
*/
|
|
32
|
+
fallbackRender?: (props: FallbackProps) => ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* Callback fired when an error is caught
|
|
35
|
+
* Use for logging to external services (e.g., Sentry)
|
|
36
|
+
*/
|
|
37
|
+
onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Callback fired when error boundary is reset
|
|
40
|
+
*/
|
|
41
|
+
onReset?: () => void;
|
|
42
|
+
/**
|
|
43
|
+
* When this key changes, the error boundary will reset
|
|
44
|
+
* Useful for resetting on route changes or data changes
|
|
45
|
+
*/
|
|
46
|
+
resetKey?: string | number;
|
|
47
|
+
/**
|
|
48
|
+
* Additional CSS class name
|
|
49
|
+
*/
|
|
50
|
+
className?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface ErrorBoundaryState {
|
|
53
|
+
hasError: boolean;
|
|
54
|
+
error: Error | null;
|
|
55
|
+
errorInfo: React.ErrorInfo | null;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=ErrorBoundary.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.types.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/ErrorBoundary.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IAEb;;;OAGG;IACH,SAAS,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAElC;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,SAAS,CAAC;IAErD;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IAE7D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC"}
|
|
@@ -2,5 +2,5 @@ export { Tabs } from './Tabs';
|
|
|
2
2
|
export { TabList } from './TabList';
|
|
3
3
|
export { Tab } from './Tab';
|
|
4
4
|
export { TabPanel } from './TabPanel';
|
|
5
|
-
export type { TabsProps, TabListProps, TabProps, TabPanelProps } from './Tabs.types';
|
|
5
|
+
export type { TabsProps, TabListProps, TabProps, TabPanelProps, TabsContextValue, } from './Tabs.types';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,gBAAgB,GACjB,MAAM,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Toast } from './Toast';
|
|
2
2
|
export { ToastProvider } from './ToastProvider';
|
|
3
3
|
export { useToast } from './useToast';
|
|
4
|
-
export type { ToastProps, ToastVariant, ToastPosition, ToastOptions, ToastProviderProps, ToastContextValue, } from './Toast.types';
|
|
4
|
+
export type { Toast as ToastType, ToastProps, ToastVariant, ToastPosition, ToastOptions, ToastProviderProps, ToastContextValue, } from './Toast.types';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,KAAK,IAAI,SAAS,EAClB,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,eAAe,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Typography } from './Typography';
|
|
2
|
-
export type { TypographyProps, TypographyVariant } from './Typography.types';
|
|
2
|
+
export type { TypographyProps, TypographyVariant, TypographyAlign, TypographyWeight, TypographyBaseProps, } from './Typography.types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,oBAAoB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -17,18 +17,19 @@ export { Toast, ToastProvider, useToast } from './components/Toast';
|
|
|
17
17
|
export { Badge } from './components/Badge';
|
|
18
18
|
export { Tooltip } from './components/Tooltip';
|
|
19
19
|
export { ThemeProvider, useTheme } from './components/ThemeProvider';
|
|
20
|
+
export { ErrorBoundary } from './components/ErrorBoundary';
|
|
20
21
|
export { Popover } from './components/primitives/Popover';
|
|
21
22
|
export { Modal } from './components/primitives/Modal';
|
|
22
23
|
export { Drawer } from './components/primitives/Drawer';
|
|
23
24
|
export { Portal } from './components/primitives/Portal';
|
|
24
25
|
export { Overlay } from './components/primitives/Overlay';
|
|
25
26
|
export type { ButtonProps } from './components/Button';
|
|
26
|
-
export type { TypographyProps, TypographyVariant } from './components/Typography';
|
|
27
|
-
export type { BoxProps } from './components/Box';
|
|
27
|
+
export type { TypographyProps, TypographyVariant, TypographyAlign, TypographyWeight, TypographyBaseProps, } from './components/Typography';
|
|
28
|
+
export type { BoxProps, BoxBaseProps } from './components/Box';
|
|
28
29
|
export type { StackProps } from './components/Stack';
|
|
29
30
|
export type { InputProps } from './components/Input';
|
|
30
|
-
export type { CardProps, CardVariant } from './components/Card';
|
|
31
|
-
export type { SliderProps, SingleSliderProps, RangeSliderProps } from './components/Slider';
|
|
31
|
+
export type { CardProps, CardVariant, CardBaseProps } from './components/Card';
|
|
32
|
+
export type { SliderProps, SingleSliderProps, RangeSliderProps, BaseSliderProps, } from './components/Slider';
|
|
32
33
|
export type { CheckboxProps } from './components/Checkbox';
|
|
33
34
|
export type { SwitchProps } from './components/Switch';
|
|
34
35
|
export type { RadioGroupProps, RadioOption } from './components/RadioGroup';
|
|
@@ -36,14 +37,15 @@ export type { TextareaProps } from './components/Textarea';
|
|
|
36
37
|
export type { SelectProps, SelectOption } from './components/Select';
|
|
37
38
|
export type { AlertProps, AlertVariant } from './components/Alert';
|
|
38
39
|
export type { ProgressProps, ProgressVariant } from './components/Progress';
|
|
39
|
-
export type { ToastProps, ToastVariant, ToastPosition, ToastOptions, ToastProviderProps, ToastContextValue, } from './components/Toast';
|
|
40
|
+
export type { ToastType, ToastProps, ToastVariant, ToastPosition, ToastOptions, ToastProviderProps, ToastContextValue, } from './components/Toast';
|
|
40
41
|
export type { BadgeProps, BadgeVariant } from './components/Badge';
|
|
41
42
|
export type { TooltipProps, TooltipPlacement } from './components/Tooltip';
|
|
42
43
|
export { Tabs, TabList, Tab, TabPanel } from './components/Tabs';
|
|
43
|
-
export type { TabsProps, TabListProps, TabProps, TabPanelProps } from './components/Tabs';
|
|
44
|
+
export type { TabsProps, TabListProps, TabProps, TabPanelProps, TabsContextValue, } from './components/Tabs';
|
|
44
45
|
export { Avatar } from './components/Avatar';
|
|
45
46
|
export type { AvatarProps, AvatarSize, AvatarStatus } from './components/Avatar';
|
|
46
47
|
export type { Theme, ResolvedTheme, ThemeProviderProps, ThemeProviderContextValue, } from './components/ThemeProvider';
|
|
48
|
+
export type { ErrorBoundaryProps, FallbackProps } from './components/ErrorBoundary';
|
|
47
49
|
export type { PopoverProps, ModalProps, DrawerProps, OverlayProps } from './components/primitives/types';
|
|
48
50
|
export type { PortalProps } from './components/primitives/Portal';
|
|
49
51
|
export type { Size, Variant, PolymorphicProps } from './types';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,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