@spark-ui/components 13.0.1-beta.0 → 13.0.2
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/docgen.json +2652 -2652
- package/dist/spinner/index.d.mts +1 -1
- package/dist/spinner/index.d.ts +1 -1
- package/dist/toast/index.js +2 -2
- package/dist/toast/index.js.map +1 -1
- package/dist/toast/index.mjs +2 -2
- package/dist/toast/index.mjs.map +1 -1
- package/package.json +5 -5
- package/dist/DialogTrigger-8oDlAJjU.d.mts +0 -142
- package/dist/DialogTrigger-8oDlAJjU.d.ts +0 -142
- package/dist/DialogTrigger-woU7vsJi.d.mts +0 -142
- package/dist/DialogTrigger-woU7vsJi.d.ts +0 -142
- package/dist/chunk-2BSBKLHG.mjs +0 -358
- package/dist/chunk-2BSBKLHG.mjs.map +0 -1
- package/dist/chunk-D7YBYT5H.mjs +0 -308
- package/dist/chunk-D7YBYT5H.mjs.map +0 -1
- package/dist/chunk-HEKSVWYW.mjs +0 -800
- package/dist/chunk-HEKSVWYW.mjs.map +0 -1
- package/dist/chunk-TKAU6SMC.mjs +0 -197
- package/dist/chunk-TKAU6SMC.mjs.map +0 -1
- package/dist/chunk-WA56YHV3.mjs +0 -358
- package/dist/chunk-WA56YHV3.mjs.map +0 -1
- package/dist/chunk-WLI4EPS6.mjs +0 -358
- package/dist/chunk-WLI4EPS6.mjs.map +0 -1
- package/dist/chunk-XYK6V3JF.mjs +0 -53
- package/dist/chunk-XYK6V3JF.mjs.map +0 -1
- package/dist/index-BRKaV3lI.d.mts +0 -93
- package/dist/index-BRKaV3lI.d.ts +0 -93
- package/dist/index-Cw_DIfiq.d.mts +0 -93
- package/dist/index-Cw_DIfiq.d.ts +0 -93
package/dist/index-BRKaV3lI.d.ts
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Popover as Popover$2 } from 'radix-ui';
|
|
3
|
-
import { Ref, ReactNode, ReactElement } from 'react';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
|
|
7
|
-
type PopoverIntent = 'surface' | 'main' | 'support' | 'accent' | 'basic' | 'success' | 'alert' | 'danger' | 'info' | 'neutral';
|
|
8
|
-
|
|
9
|
-
type PopoverProps = Popover$2.PopoverProps & {
|
|
10
|
-
intent?: PopoverIntent;
|
|
11
|
-
};
|
|
12
|
-
declare const Popover$1: {
|
|
13
|
-
({ children, intent, modal, ...rest }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
type AnchorProps = Popover$2.PopoverAnchorProps & {
|
|
18
|
-
ref?: Ref<HTMLDivElement>;
|
|
19
|
-
};
|
|
20
|
-
declare const Anchor: {
|
|
21
|
-
({ asChild, children, ref, ...rest }: AnchorProps): react_jsx_runtime.JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
type ArrowProps = Popover$2.PopoverArrowProps & {
|
|
26
|
-
ref?: Ref<SVGSVGElement>;
|
|
27
|
-
};
|
|
28
|
-
declare const Arrow: {
|
|
29
|
-
({ asChild, width, height, className, ref, ...rest }: ArrowProps): react_jsx_runtime.JSX.Element;
|
|
30
|
-
displayName: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
type CloseButtonProps = Popover$2.PopoverCloseProps & {
|
|
34
|
-
'aria-label': string;
|
|
35
|
-
ref?: Ref<HTMLButtonElement>;
|
|
36
|
-
};
|
|
37
|
-
declare const CloseButton: {
|
|
38
|
-
({ "aria-label": ariaLabel, className, ref, ...rest }: CloseButtonProps): react_jsx_runtime.JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
declare const styles: (props?: ({
|
|
43
|
-
intent?: "main" | "surface" | "support" | "accent" | "basic" | "success" | "alert" | "danger" | "info" | "neutral" | null | undefined;
|
|
44
|
-
matchTriggerWidth?: boolean | null | undefined;
|
|
45
|
-
enforceBoundaries?: boolean | null | undefined;
|
|
46
|
-
inset?: boolean | null | undefined;
|
|
47
|
-
elevation?: "popover" | "dropdown" | null | undefined;
|
|
48
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
49
|
-
type StylesProps = VariantProps<typeof styles>;
|
|
50
|
-
|
|
51
|
-
type ContentProps = Popover$2.PopoverContentProps & StylesProps & {
|
|
52
|
-
ref?: Ref<HTMLDivElement>;
|
|
53
|
-
};
|
|
54
|
-
declare const Content: {
|
|
55
|
-
({ className, children, matchTriggerWidth, align, arrowPadding, asChild, avoidCollisions, "aria-labelledby": ariaLabelledBy, collisionBoundary, collisionPadding, hideWhenDetached, side, sideOffset, sticky, inset, elevation, ref, ...rest }: ContentProps): react_jsx_runtime.JSX.Element;
|
|
56
|
-
displayName: string;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
interface HeaderProps {
|
|
60
|
-
children: ReactNode;
|
|
61
|
-
className?: string;
|
|
62
|
-
ref?: Ref<HTMLDivElement>;
|
|
63
|
-
}
|
|
64
|
-
declare const Header: {
|
|
65
|
-
({ children, className, ref, ...rest }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
66
|
-
displayName: string;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
type PortalProps = Popover$2.PopoverPortalProps;
|
|
70
|
-
declare const Portal: {
|
|
71
|
-
({ children, ...rest }: PortalProps): ReactElement;
|
|
72
|
-
displayName: string;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
type TriggerProps = Popover$2.PopoverTriggerProps & {
|
|
76
|
-
ref?: Ref<HTMLButtonElement>;
|
|
77
|
-
};
|
|
78
|
-
declare const Trigger: {
|
|
79
|
-
({ asChild, children, ref, ...rest }: TriggerProps): react_jsx_runtime.JSX.Element;
|
|
80
|
-
displayName: string;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
declare const Popover: typeof Popover$1 & {
|
|
84
|
-
Anchor: typeof Anchor;
|
|
85
|
-
Arrow: typeof Arrow;
|
|
86
|
-
CloseButton: typeof CloseButton;
|
|
87
|
-
Content: typeof Content;
|
|
88
|
-
Header: typeof Header;
|
|
89
|
-
Portal: typeof Portal;
|
|
90
|
-
Trigger: typeof Trigger;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export { type ContentProps as C, Popover as P };
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Popover as Popover$2 } from 'radix-ui';
|
|
3
|
-
import { Ref, ReactNode, ReactElement } from 'react';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
|
|
7
|
-
type PopoverIntent = 'surface' | 'main' | 'support' | 'accent' | 'basic' | 'success' | 'alert' | 'danger' | 'info' | 'neutral';
|
|
8
|
-
|
|
9
|
-
type PopoverProps = Popover$2.PopoverProps & {
|
|
10
|
-
intent?: PopoverIntent;
|
|
11
|
-
};
|
|
12
|
-
declare const Popover$1: {
|
|
13
|
-
({ children, intent, modal, ...rest }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
type AnchorProps = Popover$2.PopoverAnchorProps & {
|
|
18
|
-
ref?: Ref<HTMLDivElement>;
|
|
19
|
-
};
|
|
20
|
-
declare const Anchor: {
|
|
21
|
-
({ asChild, children, ref, ...rest }: AnchorProps): react_jsx_runtime.JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
type ArrowProps = Popover$2.PopoverArrowProps & {
|
|
26
|
-
ref?: Ref<SVGSVGElement>;
|
|
27
|
-
};
|
|
28
|
-
declare const Arrow: {
|
|
29
|
-
({ asChild, width, height, className, ref, ...rest }: ArrowProps): react_jsx_runtime.JSX.Element;
|
|
30
|
-
displayName: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
type CloseButtonProps = Popover$2.PopoverCloseProps & {
|
|
34
|
-
'aria-label': string;
|
|
35
|
-
ref?: Ref<HTMLButtonElement>;
|
|
36
|
-
};
|
|
37
|
-
declare const CloseButton: {
|
|
38
|
-
({ "aria-label": ariaLabel, className, ref, ...rest }: CloseButtonProps): react_jsx_runtime.JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
declare const styles: (props?: ({
|
|
43
|
-
intent?: "surface" | "main" | "support" | "accent" | "basic" | "success" | "alert" | "danger" | "info" | "neutral" | null | undefined;
|
|
44
|
-
matchTriggerWidth?: boolean | null | undefined;
|
|
45
|
-
enforceBoundaries?: boolean | null | undefined;
|
|
46
|
-
inset?: boolean | null | undefined;
|
|
47
|
-
elevation?: "popover" | "dropdown" | null | undefined;
|
|
48
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
49
|
-
type StylesProps = VariantProps<typeof styles>;
|
|
50
|
-
|
|
51
|
-
type ContentProps = Popover$2.PopoverContentProps & StylesProps & {
|
|
52
|
-
ref?: Ref<HTMLDivElement>;
|
|
53
|
-
};
|
|
54
|
-
declare const Content: {
|
|
55
|
-
({ className, children, matchTriggerWidth, align, arrowPadding, asChild, avoidCollisions, "aria-labelledby": ariaLabelledBy, collisionBoundary, collisionPadding, hideWhenDetached, side, sideOffset, sticky, inset, elevation, ref, ...rest }: ContentProps): react_jsx_runtime.JSX.Element;
|
|
56
|
-
displayName: string;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
interface HeaderProps {
|
|
60
|
-
children: ReactNode;
|
|
61
|
-
className?: string;
|
|
62
|
-
ref?: Ref<HTMLDivElement>;
|
|
63
|
-
}
|
|
64
|
-
declare const Header: {
|
|
65
|
-
({ children, className, ref, ...rest }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
66
|
-
displayName: string;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
type PortalProps = Popover$2.PopoverPortalProps;
|
|
70
|
-
declare const Portal: {
|
|
71
|
-
({ children, ...rest }: PortalProps): ReactElement;
|
|
72
|
-
displayName: string;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
type TriggerProps = Popover$2.PopoverTriggerProps & {
|
|
76
|
-
ref?: Ref<HTMLButtonElement>;
|
|
77
|
-
};
|
|
78
|
-
declare const Trigger: {
|
|
79
|
-
({ asChild, children, ref, ...rest }: TriggerProps): react_jsx_runtime.JSX.Element;
|
|
80
|
-
displayName: string;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
declare const Popover: typeof Popover$1 & {
|
|
84
|
-
Anchor: typeof Anchor;
|
|
85
|
-
Arrow: typeof Arrow;
|
|
86
|
-
CloseButton: typeof CloseButton;
|
|
87
|
-
Content: typeof Content;
|
|
88
|
-
Header: typeof Header;
|
|
89
|
-
Portal: typeof Portal;
|
|
90
|
-
Trigger: typeof Trigger;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export { type ContentProps as C, type PopoverProps as P, type TriggerProps as T, Popover as a };
|
package/dist/index-Cw_DIfiq.d.ts
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Popover as Popover$2 } from 'radix-ui';
|
|
3
|
-
import { Ref, ReactNode, ReactElement } from 'react';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
|
|
7
|
-
type PopoverIntent = 'surface' | 'main' | 'support' | 'accent' | 'basic' | 'success' | 'alert' | 'danger' | 'info' | 'neutral';
|
|
8
|
-
|
|
9
|
-
type PopoverProps = Popover$2.PopoverProps & {
|
|
10
|
-
intent?: PopoverIntent;
|
|
11
|
-
};
|
|
12
|
-
declare const Popover$1: {
|
|
13
|
-
({ children, intent, modal, ...rest }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
type AnchorProps = Popover$2.PopoverAnchorProps & {
|
|
18
|
-
ref?: Ref<HTMLDivElement>;
|
|
19
|
-
};
|
|
20
|
-
declare const Anchor: {
|
|
21
|
-
({ asChild, children, ref, ...rest }: AnchorProps): react_jsx_runtime.JSX.Element;
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
type ArrowProps = Popover$2.PopoverArrowProps & {
|
|
26
|
-
ref?: Ref<SVGSVGElement>;
|
|
27
|
-
};
|
|
28
|
-
declare const Arrow: {
|
|
29
|
-
({ asChild, width, height, className, ref, ...rest }: ArrowProps): react_jsx_runtime.JSX.Element;
|
|
30
|
-
displayName: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
type CloseButtonProps = Popover$2.PopoverCloseProps & {
|
|
34
|
-
'aria-label': string;
|
|
35
|
-
ref?: Ref<HTMLButtonElement>;
|
|
36
|
-
};
|
|
37
|
-
declare const CloseButton: {
|
|
38
|
-
({ "aria-label": ariaLabel, className, ref, ...rest }: CloseButtonProps): react_jsx_runtime.JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
declare const styles: (props?: ({
|
|
43
|
-
intent?: "surface" | "main" | "support" | "accent" | "basic" | "success" | "alert" | "danger" | "info" | "neutral" | null | undefined;
|
|
44
|
-
matchTriggerWidth?: boolean | null | undefined;
|
|
45
|
-
enforceBoundaries?: boolean | null | undefined;
|
|
46
|
-
inset?: boolean | null | undefined;
|
|
47
|
-
elevation?: "popover" | "dropdown" | null | undefined;
|
|
48
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
49
|
-
type StylesProps = VariantProps<typeof styles>;
|
|
50
|
-
|
|
51
|
-
type ContentProps = Popover$2.PopoverContentProps & StylesProps & {
|
|
52
|
-
ref?: Ref<HTMLDivElement>;
|
|
53
|
-
};
|
|
54
|
-
declare const Content: {
|
|
55
|
-
({ className, children, matchTriggerWidth, align, arrowPadding, asChild, avoidCollisions, "aria-labelledby": ariaLabelledBy, collisionBoundary, collisionPadding, hideWhenDetached, side, sideOffset, sticky, inset, elevation, ref, ...rest }: ContentProps): react_jsx_runtime.JSX.Element;
|
|
56
|
-
displayName: string;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
interface HeaderProps {
|
|
60
|
-
children: ReactNode;
|
|
61
|
-
className?: string;
|
|
62
|
-
ref?: Ref<HTMLDivElement>;
|
|
63
|
-
}
|
|
64
|
-
declare const Header: {
|
|
65
|
-
({ children, className, ref, ...rest }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
66
|
-
displayName: string;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
type PortalProps = Popover$2.PopoverPortalProps;
|
|
70
|
-
declare const Portal: {
|
|
71
|
-
({ children, ...rest }: PortalProps): ReactElement;
|
|
72
|
-
displayName: string;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
type TriggerProps = Popover$2.PopoverTriggerProps & {
|
|
76
|
-
ref?: Ref<HTMLButtonElement>;
|
|
77
|
-
};
|
|
78
|
-
declare const Trigger: {
|
|
79
|
-
({ asChild, children, ref, ...rest }: TriggerProps): react_jsx_runtime.JSX.Element;
|
|
80
|
-
displayName: string;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
declare const Popover: typeof Popover$1 & {
|
|
84
|
-
Anchor: typeof Anchor;
|
|
85
|
-
Arrow: typeof Arrow;
|
|
86
|
-
CloseButton: typeof CloseButton;
|
|
87
|
-
Content: typeof Content;
|
|
88
|
-
Header: typeof Header;
|
|
89
|
-
Portal: typeof Portal;
|
|
90
|
-
Trigger: typeof Trigger;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export { type ContentProps as C, type PopoverProps as P, type TriggerProps as T, Popover as a };
|