@spark-ui/components 13.0.3-beta.0 → 13.0.4

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 (68) hide show
  1. package/dist/accordion/index.d.mts +2 -2
  2. package/dist/accordion/index.d.ts +2 -2
  3. package/dist/accordion/index.js +5 -5
  4. package/dist/accordion/index.js.map +1 -1
  5. package/dist/accordion/index.mjs +5 -5
  6. package/dist/accordion/index.mjs.map +1 -1
  7. package/dist/alert-dialog/index.d.mts +1 -1
  8. package/dist/alert-dialog/index.d.ts +1 -1
  9. package/dist/alert-dialog/index.js +15 -10
  10. package/dist/alert-dialog/index.js.map +1 -1
  11. package/dist/alert-dialog/index.mjs +15 -10
  12. package/dist/alert-dialog/index.mjs.map +1 -1
  13. package/dist/avatar/index.mjs +2 -2
  14. package/dist/carousel/index.mjs +2 -2
  15. package/dist/collapsible/index.d.mts +1 -1
  16. package/dist/collapsible/index.d.ts +1 -1
  17. package/dist/collapsible/index.js +3 -3
  18. package/dist/collapsible/index.js.map +1 -1
  19. package/dist/collapsible/index.mjs +3 -3
  20. package/dist/collapsible/index.mjs.map +1 -1
  21. package/dist/combobox/index.mjs +3 -3
  22. package/dist/dialog/index.mjs +2 -2
  23. package/dist/docgen.json +3098 -3129
  24. package/dist/drawer/index.d.mts +29 -37
  25. package/dist/drawer/index.d.ts +29 -37
  26. package/dist/drawer/index.js +89 -125
  27. package/dist/drawer/index.js.map +1 -1
  28. package/dist/drawer/index.mjs +89 -127
  29. package/dist/drawer/index.mjs.map +1 -1
  30. package/dist/dropdown/index.mjs +2 -2
  31. package/dist/file-upload/index.mjs +3 -3
  32. package/dist/pagination/index.mjs +3 -3
  33. package/dist/popover/index.mjs +1 -1
  34. package/dist/scrolling-list/index.mjs +3 -3
  35. package/dist/snackbar/index.mjs +3 -3
  36. package/dist/spinner/index.d.mts +1 -1
  37. package/dist/spinner/index.d.ts +1 -1
  38. package/dist/stepper/index.mjs +2 -2
  39. package/dist/tabs/index.mjs +3 -3
  40. package/dist/toast/index.d.mts +1 -1
  41. package/dist/toast/index.d.ts +1 -1
  42. package/dist/toast/index.js +3 -3
  43. package/dist/toast/index.js.map +1 -1
  44. package/dist/toast/index.mjs +6 -6
  45. package/dist/toast/index.mjs.map +1 -1
  46. package/package.json +6 -6
  47. package/dist/DialogTrigger-8oDlAJjU.d.mts +0 -142
  48. package/dist/DialogTrigger-8oDlAJjU.d.ts +0 -142
  49. package/dist/DialogTrigger-woU7vsJi.d.mts +0 -142
  50. package/dist/DialogTrigger-woU7vsJi.d.ts +0 -142
  51. package/dist/chunk-2BSBKLHG.mjs +0 -358
  52. package/dist/chunk-2BSBKLHG.mjs.map +0 -1
  53. package/dist/chunk-D7YBYT5H.mjs +0 -308
  54. package/dist/chunk-D7YBYT5H.mjs.map +0 -1
  55. package/dist/chunk-HEKSVWYW.mjs +0 -800
  56. package/dist/chunk-HEKSVWYW.mjs.map +0 -1
  57. package/dist/chunk-TKAU6SMC.mjs +0 -197
  58. package/dist/chunk-TKAU6SMC.mjs.map +0 -1
  59. package/dist/chunk-WA56YHV3.mjs +0 -358
  60. package/dist/chunk-WA56YHV3.mjs.map +0 -1
  61. package/dist/chunk-WLI4EPS6.mjs +0 -358
  62. package/dist/chunk-WLI4EPS6.mjs.map +0 -1
  63. package/dist/chunk-XYK6V3JF.mjs +0 -53
  64. package/dist/chunk-XYK6V3JF.mjs.map +0 -1
  65. package/dist/index-BRKaV3lI.d.mts +0 -93
  66. package/dist/index-BRKaV3lI.d.ts +0 -93
  67. package/dist/index-Cw_DIfiq.d.mts +0 -93
  68. package/dist/index-Cw_DIfiq.d.ts +0 -93
@@ -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 };
@@ -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 };