@vinyasa/feedback 1.0.21

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.
Files changed (111) hide show
  1. package/README.md +134 -0
  2. package/dist/cjs/alert.cjs +286 -0
  3. package/dist/cjs/alert.css +51 -0
  4. package/dist/cjs/banner.cjs +270 -0
  5. package/dist/cjs/banner.css +37 -0
  6. package/dist/cjs/circular-progress.cjs +286 -0
  7. package/dist/cjs/circular-progress.css +30 -0
  8. package/dist/cjs/empty-state.cjs +165 -0
  9. package/dist/cjs/empty-state.css +7 -0
  10. package/dist/cjs/error-boundary.cjs +234 -0
  11. package/dist/cjs/error-boundary.css +7 -0
  12. package/dist/cjs/index.cjs +1763 -0
  13. package/dist/cjs/index.css +448 -0
  14. package/dist/cjs/inline-message.cjs +366 -0
  15. package/dist/cjs/inline-message.css +29 -0
  16. package/dist/cjs/loading-overlay.cjs +451 -0
  17. package/dist/cjs/loading-overlay.css +61 -0
  18. package/dist/cjs/progress-bar.cjs +163 -0
  19. package/dist/cjs/progress-bar.css +15 -0
  20. package/dist/cjs/skeleton.cjs +282 -0
  21. package/dist/cjs/skeleton.css +42 -0
  22. package/dist/cjs/spinner.cjs +329 -0
  23. package/dist/cjs/spinner.css +34 -0
  24. package/dist/cjs/toaster.cjs +377 -0
  25. package/dist/cjs/toaster.css +176 -0
  26. package/dist/esm/147.css +176 -0
  27. package/dist/esm/147.js +164 -0
  28. package/dist/esm/158.css +21 -0
  29. package/dist/esm/158.js +31 -0
  30. package/dist/esm/266.css +30 -0
  31. package/dist/esm/266.js +75 -0
  32. package/dist/esm/277.js +8 -0
  33. package/dist/esm/288.css +7 -0
  34. package/dist/esm/288.js +38 -0
  35. package/dist/esm/474.js +76 -0
  36. package/dist/esm/495.css +39 -0
  37. package/dist/esm/495.js +61 -0
  38. package/dist/esm/516.css +29 -0
  39. package/dist/esm/516.js +66 -0
  40. package/dist/esm/703.css +34 -0
  41. package/dist/esm/703.js +56 -0
  42. package/dist/esm/872.css +15 -0
  43. package/dist/esm/872.js +29 -0
  44. package/dist/esm/880.js +47 -0
  45. package/dist/esm/903.css +51 -0
  46. package/dist/esm/903.js +61 -0
  47. package/dist/esm/953.js +87 -0
  48. package/dist/esm/989.css +37 -0
  49. package/dist/esm/989.js +46 -0
  50. package/dist/esm/alert.d.ts +2 -0
  51. package/dist/esm/alert.js +1 -0
  52. package/dist/esm/banner.d.ts +2 -0
  53. package/dist/esm/banner.js +1 -0
  54. package/dist/esm/circular-progress.d.ts +2 -0
  55. package/dist/esm/circular-progress.js +1 -0
  56. package/dist/esm/components/alert/Alert.css.d.ts +24 -0
  57. package/dist/esm/components/alert/Alert.d.ts +14 -0
  58. package/dist/esm/components/alert/index.d.ts +1 -0
  59. package/dist/esm/components/banner/Banner.css.d.ts +21 -0
  60. package/dist/esm/components/banner/Banner.d.ts +12 -0
  61. package/dist/esm/components/banner/index.d.ts +1 -0
  62. package/dist/esm/components/circular-progress/CircularProgress.css.d.ts +4 -0
  63. package/dist/esm/components/circular-progress/CircularProgress.d.ts +17 -0
  64. package/dist/esm/components/circular-progress/index.d.ts +1 -0
  65. package/dist/esm/components/empty-state/EmptyState.css.d.ts +1 -0
  66. package/dist/esm/components/empty-state/EmptyState.d.ts +15 -0
  67. package/dist/esm/components/empty-state/index.d.ts +1 -0
  68. package/dist/esm/components/error-boundary/ErrorBoundary.d.ts +32 -0
  69. package/dist/esm/components/error-boundary/index.d.ts +1 -0
  70. package/dist/esm/components/inline-message/InlineMessage.css.d.ts +17 -0
  71. package/dist/esm/components/inline-message/InlineMessage.d.ts +10 -0
  72. package/dist/esm/components/inline-message/index.d.ts +1 -0
  73. package/dist/esm/components/loading-overlay/LoadingOverlay.css.d.ts +3 -0
  74. package/dist/esm/components/loading-overlay/LoadingOverlay.d.ts +11 -0
  75. package/dist/esm/components/loading-overlay/index.d.ts +1 -0
  76. package/dist/esm/components/progress-bar/ProgressBar.css.d.ts +2 -0
  77. package/dist/esm/components/progress-bar/ProgressBar.d.ts +12 -0
  78. package/dist/esm/components/progress-bar/index.d.ts +1 -0
  79. package/dist/esm/components/skeleton/Skeleton.css.d.ts +15 -0
  80. package/dist/esm/components/skeleton/Skeleton.d.ts +35 -0
  81. package/dist/esm/components/skeleton/index.d.ts +1 -0
  82. package/dist/esm/components/spinner/Spinner.css.d.ts +16 -0
  83. package/dist/esm/components/spinner/Spinner.d.ts +10 -0
  84. package/dist/esm/components/spinner/index.d.ts +1 -0
  85. package/dist/esm/components/toaster/ToastItemView.d.ts +7 -0
  86. package/dist/esm/components/toaster/Toaster.css.d.ts +59 -0
  87. package/dist/esm/components/toaster/Toaster.d.ts +10 -0
  88. package/dist/esm/components/toaster/index.d.ts +2 -0
  89. package/dist/esm/components/toaster/toastStore.d.ts +25 -0
  90. package/dist/esm/empty-state.d.ts +2 -0
  91. package/dist/esm/empty-state.js +1 -0
  92. package/dist/esm/error-boundary.d.ts +2 -0
  93. package/dist/esm/error-boundary.js +1 -0
  94. package/dist/esm/index.d.ts +12 -0
  95. package/dist/esm/index.js +11 -0
  96. package/dist/esm/inline-message.d.ts +2 -0
  97. package/dist/esm/inline-message.js +1 -0
  98. package/dist/esm/loading-overlay.d.ts +2 -0
  99. package/dist/esm/loading-overlay.js +1 -0
  100. package/dist/esm/polymorphic.d.ts +5 -0
  101. package/dist/esm/progress-bar.d.ts +2 -0
  102. package/dist/esm/progress-bar.js +1 -0
  103. package/dist/esm/skeleton.d.ts +2 -0
  104. package/dist/esm/skeleton.js +1 -0
  105. package/dist/esm/spacing.d.ts +19 -0
  106. package/dist/esm/spinner.d.ts +2 -0
  107. package/dist/esm/spinner.js +1 -0
  108. package/dist/esm/status.d.ts +4 -0
  109. package/dist/esm/toaster.d.ts +2 -0
  110. package/dist/esm/toaster.js +1 -0
  111. package/package.json +147 -0
@@ -0,0 +1,11 @@
1
+ import { type BoxProps } from '@vinyasa/layout/box';
2
+ import { type ReactNode } from 'react';
3
+ export type LoadingOverlayProps = Omit<BoxProps, 'children'> & {
4
+ visible: boolean;
5
+ children?: ReactNode;
6
+ };
7
+ declare const LoadingOverlay: import("react").ForwardRefExoticComponent<Omit<BoxProps, "children"> & {
8
+ visible: boolean;
9
+ children?: ReactNode;
10
+ } & import("react").RefAttributes<HTMLElement>>;
11
+ export default LoadingOverlay;
@@ -0,0 +1 @@
1
+ export { default, type LoadingOverlayProps } from './LoadingOverlay';
@@ -0,0 +1,2 @@
1
+ export declare const track: string;
2
+ export declare const fill: string;
@@ -0,0 +1,12 @@
1
+ import { type BoxProps } from '@vinyasa/layout/box';
2
+ export type ProgressBarProps = Omit<BoxProps, 'children'> & {
3
+ /** Current progress, 0-max. */
4
+ value: number;
5
+ max?: number;
6
+ };
7
+ declare const ProgressBar: import("react").ForwardRefExoticComponent<Omit<BoxProps, "children"> & {
8
+ /** Current progress, 0-max. */
9
+ value: number;
10
+ max?: number;
11
+ } & import("react").RefAttributes<HTMLElement>>;
12
+ export default ProgressBar;
@@ -0,0 +1 @@
1
+ export { default, type ProgressBarProps } from './ProgressBar';
@@ -0,0 +1,15 @@
1
+ export declare const skeleton: import("@vanilla-extract/recipes").RuntimeFn<{
2
+ circle: {
3
+ true: {
4
+ borderRadius: `var(--${string})`;
5
+ };
6
+ };
7
+ animate: {
8
+ true: {
9
+ animation: `${string} 1.5s ease-in-out infinite`;
10
+ };
11
+ };
12
+ }>;
13
+ export declare const wrapper: string;
14
+ export declare const overlay: string;
15
+ export declare const hiddenContent: string;
@@ -0,0 +1,35 @@
1
+ import type { RecipeVariants } from '@vanilla-extract/recipes';
2
+ import { type BoxProps } from '@vinyasa/layout/box';
3
+ import { type ReactNode } from 'react';
4
+ import { skeleton } from './Skeleton.css';
5
+ type SkeletonVariants = RecipeVariants<typeof skeleton>;
6
+ export type SkeletonProps = Omit<BoxProps, 'children'> & SkeletonVariants & {
7
+ width?: string | number;
8
+ height?: string | number;
9
+ /**
10
+ * Wrap real content instead of standing in for a fixed-size rectangle —
11
+ * the skeleton overlays it at its natural size until `visible` is
12
+ * false, so the same markup works for both the loading and loaded
13
+ * state (same pattern as Mantine's Skeleton).
14
+ */
15
+ children?: ReactNode;
16
+ /** Only meaningful with `children`. Defaults to true — pass false once loaded. */
17
+ visible?: boolean;
18
+ };
19
+ declare const Skeleton: import("react").ForwardRefExoticComponent<Omit<BoxProps, "children"> & {
20
+ circle?: boolean | undefined;
21
+ animate?: boolean | undefined;
22
+ } & {
23
+ width?: string | number;
24
+ height?: string | number;
25
+ /**
26
+ * Wrap real content instead of standing in for a fixed-size rectangle —
27
+ * the skeleton overlays it at its natural size until `visible` is
28
+ * false, so the same markup works for both the loading and loaded
29
+ * state (same pattern as Mantine's Skeleton).
30
+ */
31
+ children?: ReactNode;
32
+ /** Only meaningful with `children`. Defaults to true — pass false once loaded. */
33
+ visible?: boolean;
34
+ } & import("react").RefAttributes<HTMLElement>>;
35
+ export default Skeleton;
@@ -0,0 +1 @@
1
+ export { default, type SkeletonProps } from './Skeleton';
@@ -0,0 +1,16 @@
1
+ export declare const spinner: import("@vanilla-extract/recipes").RuntimeFn<{
2
+ size: {
3
+ sm: {
4
+ width: "1rem";
5
+ height: "1rem";
6
+ };
7
+ md: {
8
+ width: "1.5rem";
9
+ height: "1.5rem";
10
+ };
11
+ lg: {
12
+ width: "2rem";
13
+ height: "2rem";
14
+ };
15
+ };
16
+ }>;
@@ -0,0 +1,10 @@
1
+ import type { RecipeVariants } from '@vanilla-extract/recipes';
2
+ import { type ComponentPropsWithoutRef } from 'react';
3
+ import { type SpacingProps } from '../../spacing';
4
+ import { spinner } from './Spinner.css';
5
+ type SpinnerVariants = RecipeVariants<typeof spinner>;
6
+ export type SpinnerProps = Omit<ComponentPropsWithoutRef<'span'>, 'children'> & SpinnerVariants & SpacingProps;
7
+ declare const Spinner: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children"> & {
8
+ size?: "lg" | "sm" | "md" | undefined;
9
+ } & SpacingProps & import("react").RefAttributes<HTMLSpanElement>>;
10
+ export default Spinner;
@@ -0,0 +1 @@
1
+ export { default, type SpinnerProps } from './Spinner';
@@ -0,0 +1,7 @@
1
+ import { type ToastItem } from './toastStore';
2
+ export interface ToastItemViewProps extends ToastItem {
3
+ /** Which edge the stack is anchored to — decides which way this animates. */
4
+ edge: 'top' | 'bottom';
5
+ }
6
+ declare const ToastItemView: ({ id, status, title: itemTitle, description: itemDescription, duration, exiting, edge, }: ToastItemViewProps) => import("react").JSX.Element;
7
+ export default ToastItemView;
@@ -0,0 +1,59 @@
1
+ export declare const stack: import("@vanilla-extract/recipes").RuntimeFn<{
2
+ position: {
3
+ 'top-left': {
4
+ top: `var(--${string})`;
5
+ left: `var(--${string})`;
6
+ };
7
+ 'top-center': {
8
+ top: `var(--${string})`;
9
+ left: "50%";
10
+ transform: "translateX(-50%)";
11
+ };
12
+ 'top-right': {
13
+ top: `var(--${string})`;
14
+ right: `var(--${string})`;
15
+ };
16
+ 'bottom-left': {
17
+ bottom: `var(--${string})`;
18
+ left: `var(--${string})`;
19
+ };
20
+ 'bottom-center': {
21
+ bottom: `var(--${string})`;
22
+ left: "50%";
23
+ transform: "translateX(-50%)";
24
+ };
25
+ 'bottom-right': {
26
+ bottom: `var(--${string})`;
27
+ right: `var(--${string})`;
28
+ };
29
+ };
30
+ }>;
31
+ export declare const toastCard: import("@vanilla-extract/recipes").RuntimeFn<{
32
+ status: {
33
+ info: {
34
+ backgroundColor: `var(--${string})`;
35
+ color: `var(--${string})`;
36
+ };
37
+ success: {
38
+ backgroundColor: `var(--${string})`;
39
+ color: `var(--${string})`;
40
+ };
41
+ warning: {
42
+ backgroundColor: `var(--${string})`;
43
+ color: `var(--${string})`;
44
+ };
45
+ error: {
46
+ backgroundColor: `var(--${string})`;
47
+ color: `var(--${string})`;
48
+ };
49
+ };
50
+ }>;
51
+ export declare const enterFromTop: string;
52
+ export declare const enterFromBottom: string;
53
+ export declare const exitToTop: string;
54
+ export declare const exitToBottom: string;
55
+ export declare const icon: string;
56
+ export declare const body: string;
57
+ export declare const title: string;
58
+ export declare const description: string;
59
+ export declare const closeButton: string;
@@ -0,0 +1,10 @@
1
+ export type ToasterPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
2
+ export interface ToasterProps {
3
+ /** Defaults to 'bottom-right'. */
4
+ position?: ToasterPosition;
5
+ }
6
+ declare const Toaster: {
7
+ ({ position }: ToasterProps): import("react").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export default Toaster;
@@ -0,0 +1,2 @@
1
+ export { default, type ToasterPosition, type ToasterProps } from './Toaster';
2
+ export { toast, type ToastItem, type ToastOptions } from './toastStore';
@@ -0,0 +1,25 @@
1
+ import type { Status } from '../../status';
2
+ export interface ToastOptions {
3
+ status?: Status;
4
+ title: string;
5
+ description?: string;
6
+ /** Milliseconds before auto-dismiss. 0 disables auto-dismiss. Defaults to 4000. */
7
+ duration?: number;
8
+ }
9
+ export interface ToastItem {
10
+ id: string;
11
+ status: Status;
12
+ title: string;
13
+ description?: string;
14
+ duration: number;
15
+ /** True while playing its exit animation, just before actual removal. */
16
+ exiting: boolean;
17
+ }
18
+ export declare const TOAST_EXIT_DURATION_MS = 150;
19
+ export declare const subscribe: (listener: () => void) => (() => void);
20
+ export declare const getSnapshot: () => ToastItem[];
21
+ export declare const dismiss: (id: string) => void;
22
+ export declare const toast: {
23
+ show: (options: ToastOptions) => string;
24
+ dismiss: (id: string) => void;
25
+ };
@@ -0,0 +1,2 @@
1
+ export * from './components/empty-state/index';
2
+ export { default } from './components/empty-state/index';
@@ -0,0 +1 @@
1
+ export { EmptyState as default } from "./288.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/error-boundary/index';
2
+ export { default } from './components/error-boundary/index';
@@ -0,0 +1 @@
1
+ export { ErrorBoundary as default } from "./880.js";
@@ -0,0 +1,12 @@
1
+ export { default as Alert, type AlertProps } from './components/alert';
2
+ export { default as Banner, type BannerProps } from './components/banner';
3
+ export { default as CircularProgress, type CircularProgressProps, } from './components/circular-progress';
4
+ export { default as EmptyState, type EmptyStateProps } from './components/empty-state';
5
+ export { default as ErrorBoundary, type ErrorBoundaryFallbackProps, type ErrorBoundaryProps, } from './components/error-boundary';
6
+ export { default as InlineMessage, type InlineMessageProps } from './components/inline-message';
7
+ export { default as LoadingOverlay, type LoadingOverlayProps } from './components/loading-overlay';
8
+ export { default as ProgressBar, type ProgressBarProps } from './components/progress-bar';
9
+ export { default as Skeleton, type SkeletonProps } from './components/skeleton';
10
+ export { default as Spinner, type SpinnerProps } from './components/spinner';
11
+ export { default as Toaster, toast, type ToasterPosition, type ToasterProps, type ToastItem, type ToastOptions, } from './components/toaster';
12
+ export type { Status } from './status';
@@ -0,0 +1,11 @@
1
+ export { Alert } from "./903.js";
2
+ export { Banner } from "./989.js";
3
+ export { CircularProgress } from "./266.js";
4
+ export { EmptyState } from "./288.js";
5
+ export { ErrorBoundary } from "./880.js";
6
+ export { InlineMessage } from "./516.js";
7
+ export { LoadingOverlay } from "./158.js";
8
+ export { ProgressBar } from "./872.js";
9
+ export { Skeleton } from "./495.js";
10
+ export { Spinner } from "./703.js";
11
+ export { Toaster, toast } from "./147.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/inline-message/index';
2
+ export { default } from './components/inline-message/index';
@@ -0,0 +1 @@
1
+ export { InlineMessage as default } from "./516.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/loading-overlay/index';
2
+ export { default } from './components/loading-overlay/index';
@@ -0,0 +1 @@
1
+ export { LoadingOverlay as default } from "./158.js";
@@ -0,0 +1,5 @@
1
+ import type { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
2
+ export interface PolymorphicProps extends ComponentPropsWithoutRef<'div'> {
3
+ as?: ElementType;
4
+ children?: ReactNode;
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './components/progress-bar/index';
2
+ export { default } from './components/progress-bar/index';
@@ -0,0 +1 @@
1
+ export { ProgressBar as default } from "./872.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/skeleton/index';
2
+ export { default } from './components/skeleton/index';
@@ -0,0 +1 @@
1
+ export { Skeleton as default } from "./495.js";
@@ -0,0 +1,19 @@
1
+ import type { CSSProperties } from 'react';
2
+ export type SpaceScale = 1 | 2 | 3 | 4 | 5 | 6;
3
+ export interface SpacingProps {
4
+ m?: SpaceScale;
5
+ mt?: SpaceScale;
6
+ mr?: SpaceScale;
7
+ mb?: SpaceScale;
8
+ ml?: SpaceScale;
9
+ mx?: SpaceScale;
10
+ my?: SpaceScale;
11
+ p?: SpaceScale;
12
+ pt?: SpaceScale;
13
+ pr?: SpaceScale;
14
+ pb?: SpaceScale;
15
+ pl?: SpaceScale;
16
+ px?: SpaceScale;
17
+ py?: SpaceScale;
18
+ }
19
+ export declare const resolveSpacingStyle: (props: SpacingProps) => CSSProperties;
@@ -0,0 +1,2 @@
1
+ export * from './components/spinner/index';
2
+ export { default } from './components/spinner/index';
@@ -0,0 +1 @@
1
+ export { Spinner as default } from "./703.js";
@@ -0,0 +1,4 @@
1
+ import { type IconProps } from '@vinyasa/icons';
2
+ import type { ComponentType } from 'react';
3
+ export type Status = 'info' | 'success' | 'warning' | 'error';
4
+ export declare const statusIcons: Record<Status, ComponentType<IconProps>>;
@@ -0,0 +1,2 @@
1
+ export * from './components/toaster/index';
2
+ export { default } from './components/toaster/index';
@@ -0,0 +1 @@
1
+ export { Toaster as default, toast } from "./147.js";
package/package.json ADDED
@@ -0,0 +1,147 @@
1
+ {
2
+ "name": "@vinyasa/feedback",
3
+ "version": "1.0.21",
4
+ "private": false,
5
+ "type": "module",
6
+ "sideEffects": [
7
+ "**/*.css"
8
+ ],
9
+ "files": [
10
+ "dist",
11
+ "!dist/**/*.map",
12
+ "!dist/**/__story__/**",
13
+ "!dist/**/__test__/**",
14
+ "!dist/**/*.stories.d.ts",
15
+ "!dist/**/*.test.d.ts"
16
+ ],
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "main": "./dist/cjs/index.cjs",
21
+ "module": "./dist/esm/index.js",
22
+ "style": "./dist/esm/index.css",
23
+ "types": "./dist/esm/index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/esm/index.d.ts",
27
+ "import": "./dist/esm/index.js",
28
+ "require": "./dist/cjs/index.cjs",
29
+ "default": "./dist/esm/index.js"
30
+ },
31
+ "./spinner": {
32
+ "types": "./dist/esm/spinner.d.ts",
33
+ "import": "./dist/esm/spinner.js",
34
+ "require": "./dist/cjs/spinner.cjs",
35
+ "default": "./dist/esm/spinner.js"
36
+ },
37
+ "./spinner/style.css": "./dist/esm/spinner.css",
38
+ "./progress-bar": {
39
+ "types": "./dist/esm/progress-bar.d.ts",
40
+ "import": "./dist/esm/progress-bar.js",
41
+ "require": "./dist/cjs/progress-bar.cjs",
42
+ "default": "./dist/esm/progress-bar.js"
43
+ },
44
+ "./progress-bar/style.css": "./dist/esm/progress-bar.css",
45
+ "./circular-progress": {
46
+ "types": "./dist/esm/circular-progress.d.ts",
47
+ "import": "./dist/esm/circular-progress.js",
48
+ "require": "./dist/cjs/circular-progress.cjs",
49
+ "default": "./dist/esm/circular-progress.js"
50
+ },
51
+ "./circular-progress/style.css": "./dist/esm/circular-progress.css",
52
+ "./alert": {
53
+ "types": "./dist/esm/alert.d.ts",
54
+ "import": "./dist/esm/alert.js",
55
+ "require": "./dist/cjs/alert.cjs",
56
+ "default": "./dist/esm/alert.js"
57
+ },
58
+ "./alert/style.css": "./dist/esm/alert.css",
59
+ "./banner": {
60
+ "types": "./dist/esm/banner.d.ts",
61
+ "import": "./dist/esm/banner.js",
62
+ "require": "./dist/cjs/banner.cjs",
63
+ "default": "./dist/esm/banner.js"
64
+ },
65
+ "./banner/style.css": "./dist/esm/banner.css",
66
+ "./inline-message": {
67
+ "types": "./dist/esm/inline-message.d.ts",
68
+ "import": "./dist/esm/inline-message.js",
69
+ "require": "./dist/cjs/inline-message.cjs",
70
+ "default": "./dist/esm/inline-message.js"
71
+ },
72
+ "./inline-message/style.css": "./dist/esm/inline-message.css",
73
+ "./skeleton": {
74
+ "types": "./dist/esm/skeleton.d.ts",
75
+ "import": "./dist/esm/skeleton.js",
76
+ "require": "./dist/cjs/skeleton.cjs",
77
+ "default": "./dist/esm/skeleton.js"
78
+ },
79
+ "./skeleton/style.css": "./dist/esm/skeleton.css",
80
+ "./loading-overlay": {
81
+ "types": "./dist/esm/loading-overlay.d.ts",
82
+ "import": "./dist/esm/loading-overlay.js",
83
+ "require": "./dist/cjs/loading-overlay.cjs",
84
+ "default": "./dist/esm/loading-overlay.js"
85
+ },
86
+ "./loading-overlay/style.css": "./dist/esm/loading-overlay.css",
87
+ "./empty-state": {
88
+ "types": "./dist/esm/empty-state.d.ts",
89
+ "import": "./dist/esm/empty-state.js",
90
+ "require": "./dist/cjs/empty-state.cjs",
91
+ "default": "./dist/esm/empty-state.js"
92
+ },
93
+ "./error-boundary": {
94
+ "types": "./dist/esm/error-boundary.d.ts",
95
+ "import": "./dist/esm/error-boundary.js",
96
+ "require": "./dist/cjs/error-boundary.cjs",
97
+ "default": "./dist/esm/error-boundary.js"
98
+ },
99
+ "./toaster": {
100
+ "types": "./dist/esm/toaster.d.ts",
101
+ "import": "./dist/esm/toaster.js",
102
+ "require": "./dist/cjs/toaster.cjs",
103
+ "default": "./dist/esm/toaster.js"
104
+ },
105
+ "./toaster/style.css": "./dist/esm/toaster.css",
106
+ "./style.css": "./dist/esm/index.css",
107
+ "./package.json": "./package.json"
108
+ },
109
+ "peerDependencies": {
110
+ "react": "^18.0.0 || ^19.0.0",
111
+ "react-dom": "^18.0.0 || ^19.0.0",
112
+ "@vinyasa/icons": "^1.0.21",
113
+ "@vinyasa/layout": "^1.0.21",
114
+ "@vinyasa/button": "^1.0.21",
115
+ "@vinyasa/tokens": "^1.0.21",
116
+ "@vinyasa/typography": "^1.0.21"
117
+ },
118
+ "devDependencies": {
119
+ "@rsbuild/plugin-react": "^2.1.0",
120
+ "@rslib/core": "^0.23.1",
121
+ "@storybook/react-vite": "^10.4.6",
122
+ "@types/node": "^26.0.1",
123
+ "@types/react": "^19.0.0",
124
+ "@vanilla-extract/css": "^1.21.0",
125
+ "@vanilla-extract/recipes": "^0.5.7",
126
+ "@vanilla-extract/vite-plugin": "^5.2.3",
127
+ "@vanilla-extract/webpack-plugin": "^2.3.27",
128
+ "typescript": "^5.7.3",
129
+ "@vinyasa/button": "1.0.21",
130
+ "@vinyasa/typography": "1.0.21",
131
+ "@vinyasa/tokens": "1.0.21",
132
+ "@vinyasa/icons": "1.0.21",
133
+ "@vinyasa/layout": "1.0.21"
134
+ },
135
+ "scripts": {
136
+ "build": "rslib build && node ../../scripts/postbuild-package.mjs",
137
+ "typecheck": "tsc --noEmit -p tsconfig.json",
138
+ "lint": "eslint --config ../../configs/eslint.config.mjs src/**/*.{ts,tsx} --ignore-pattern src/**/__story__/** --ignore-pattern src/**/__test__/**",
139
+ "lint:fix": "eslint --config ../../configs/eslint.config.mjs src/**/*.{ts,tsx} --ignore-pattern src/**/__story__/** --ignore-pattern src/**/__test__/** --fix",
140
+ "format": "prettier . --config ../../configs/prettier.config.json --ignore-path ../../configs/.prettierignore --write",
141
+ "format:check": "prettier . --config ../../configs/prettier.config.json --ignore-path ../../configs/.prettierignore --check",
142
+ "test": "vitest run --config vitest.config.ts",
143
+ "test:watch": "vitest --config vitest.config.ts",
144
+ "test:coverage": "vitest run --config vitest.config.ts --coverage",
145
+ "pack:check": "npm pack --dry-run"
146
+ }
147
+ }