@psnext/design-system 2.0.0 → 2.1.0

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 (219) hide show
  1. package/DESIGN.md +1 -1
  2. package/dist/Header.cjs +7 -4
  3. package/dist/Header.cjs.map +1 -1
  4. package/dist/Header.js +7 -4
  5. package/dist/Header.js.map +1 -1
  6. package/dist/index.d.cts +5 -5
  7. package/dist/index.d.cts.map +1 -1
  8. package/dist/index.d.ts +5 -5
  9. package/dist/index10.d.cts +7 -7
  10. package/dist/index10.d.cts.map +1 -1
  11. package/dist/index10.d.ts +6 -6
  12. package/dist/index11.d.cts +3 -3
  13. package/dist/index11.d.cts.map +1 -1
  14. package/dist/index11.d.ts +3 -3
  15. package/dist/index12.d.cts +12 -12
  16. package/dist/index12.d.ts +11 -11
  17. package/dist/index13.d.cts +6 -6
  18. package/dist/index13.d.ts +6 -6
  19. package/dist/index14.d.cts +5 -5
  20. package/dist/index14.d.ts +5 -5
  21. package/dist/index15.d.cts +3 -3
  22. package/dist/index15.d.ts +3 -3
  23. package/dist/index16.d.cts +2 -2
  24. package/dist/index16.d.ts +2 -2
  25. package/dist/index17.d.cts +4 -4
  26. package/dist/index17.d.ts +4 -4
  27. package/dist/index18.d.cts +11 -11
  28. package/dist/index18.d.ts +11 -11
  29. package/dist/index19.d.cts +10 -10
  30. package/dist/index19.d.ts +10 -10
  31. package/dist/index2.d.cts +8 -8
  32. package/dist/index2.d.ts +6 -6
  33. package/dist/index20.d.cts +16 -16
  34. package/dist/index20.d.ts +16 -16
  35. package/dist/index21.d.cts +4 -4
  36. package/dist/index21.d.ts +4 -4
  37. package/dist/index22.d.cts +11 -11
  38. package/dist/index22.d.ts +11 -11
  39. package/dist/index23.d.cts +16 -16
  40. package/dist/index23.d.cts.map +1 -1
  41. package/dist/index23.d.ts +16 -16
  42. package/dist/index24.d.cts +10 -10
  43. package/dist/index24.d.cts.map +1 -1
  44. package/dist/index24.d.ts +10 -10
  45. package/dist/index25.d.cts +2 -2
  46. package/dist/index25.d.ts +2 -2
  47. package/dist/index25.d.ts.map +1 -1
  48. package/dist/index26.d.cts +14 -14
  49. package/dist/index26.d.cts.map +1 -1
  50. package/dist/index26.d.ts +13 -13
  51. package/dist/index27.d.cts +7 -7
  52. package/dist/index27.d.cts.map +1 -1
  53. package/dist/index27.d.ts +7 -7
  54. package/dist/index28.d.cts +5 -5
  55. package/dist/index28.d.ts +4 -4
  56. package/dist/index29.d.cts +4 -4
  57. package/dist/index29.d.ts +4 -4
  58. package/dist/index3.d.cts +13 -13
  59. package/dist/index3.d.ts +13 -13
  60. package/dist/index30.d.cts +6 -6
  61. package/dist/index30.d.ts +5 -5
  62. package/dist/index31.d.cts +5 -5
  63. package/dist/index31.d.ts +5 -5
  64. package/dist/index31.d.ts.map +1 -1
  65. package/dist/index32.d.cts +4 -4
  66. package/dist/index32.d.ts +5 -5
  67. package/dist/index32.d.ts.map +1 -1
  68. package/dist/index33.d.cts +10 -10
  69. package/dist/index33.d.ts +11 -11
  70. package/dist/index34.d.cts +5 -5
  71. package/dist/index34.d.ts +5 -5
  72. package/dist/index34.d.ts.map +1 -1
  73. package/dist/index35.d.cts +14 -14
  74. package/dist/index35.d.ts +16 -16
  75. package/dist/index35.d.ts.map +1 -1
  76. package/dist/index36.d.cts +3 -3
  77. package/dist/index36.d.ts +3 -3
  78. package/dist/index36.d.ts.map +1 -1
  79. package/dist/index37.d.cts +4 -4
  80. package/dist/index37.d.cts.map +1 -1
  81. package/dist/index37.d.ts +4 -4
  82. package/dist/index37.d.ts.map +1 -1
  83. package/dist/index38.d.cts +2 -2
  84. package/dist/index38.d.ts +2 -2
  85. package/dist/index39.d.cts +17 -17
  86. package/dist/index39.d.ts +17 -17
  87. package/dist/index4.d.cts +2 -2
  88. package/dist/index4.d.cts.map +1 -1
  89. package/dist/index4.d.ts +2 -2
  90. package/dist/index40.d.cts +4 -4
  91. package/dist/index40.d.cts.map +1 -1
  92. package/dist/index40.d.ts +5 -5
  93. package/dist/index41.d.cts +11 -11
  94. package/dist/index41.d.cts.map +1 -1
  95. package/dist/index41.d.ts +11 -11
  96. package/dist/index41.d.ts.map +1 -1
  97. package/dist/index42.d.cts +8 -8
  98. package/dist/index42.d.cts.map +1 -1
  99. package/dist/index42.d.ts +8 -8
  100. package/dist/index42.d.ts.map +1 -1
  101. package/dist/index43.d.cts +9 -9
  102. package/dist/index43.d.cts.map +1 -1
  103. package/dist/index43.d.ts +9 -9
  104. package/dist/index43.d.ts.map +1 -1
  105. package/dist/index45.d.cts +8 -8
  106. package/dist/index45.d.cts.map +1 -1
  107. package/dist/index45.d.ts +8 -8
  108. package/dist/index45.d.ts.map +1 -1
  109. package/dist/index46.d.cts +2 -2
  110. package/dist/index46.d.cts.map +1 -1
  111. package/dist/index46.d.ts +2 -2
  112. package/dist/index46.d.ts.map +1 -1
  113. package/dist/index47.d.cts +4 -4
  114. package/dist/index47.d.cts.map +1 -1
  115. package/dist/index47.d.ts +4 -4
  116. package/dist/index47.d.ts.map +1 -1
  117. package/dist/index48.d.cts +4 -4
  118. package/dist/index48.d.ts +4 -4
  119. package/dist/index48.d.ts.map +1 -1
  120. package/dist/index49.d.cts +3 -3
  121. package/dist/index49.d.cts.map +1 -1
  122. package/dist/index49.d.ts +3 -3
  123. package/dist/index5.d.cts +7 -7
  124. package/dist/index5.d.ts +7 -7
  125. package/dist/index50.d.cts +11 -11
  126. package/dist/index50.d.cts.map +1 -1
  127. package/dist/index50.d.ts +11 -11
  128. package/dist/index50.d.ts.map +1 -1
  129. package/dist/index51.d.cts +9 -9
  130. package/dist/index51.d.cts.map +1 -1
  131. package/dist/index51.d.ts +9 -9
  132. package/dist/index52.d.cts +5 -5
  133. package/dist/index52.d.cts.map +1 -1
  134. package/dist/index52.d.ts +5 -5
  135. package/dist/index52.d.ts.map +1 -1
  136. package/dist/index53.d.cts +26 -26
  137. package/dist/index53.d.cts.map +1 -1
  138. package/dist/index53.d.ts +27 -27
  139. package/dist/index53.d.ts.map +1 -1
  140. package/dist/index54.d.cts +5 -5
  141. package/dist/index54.d.cts.map +1 -1
  142. package/dist/index54.d.ts +5 -5
  143. package/dist/index55.d.cts +2 -2
  144. package/dist/index55.d.cts.map +1 -1
  145. package/dist/index55.d.ts +2 -2
  146. package/dist/index56.d.cts +2 -2
  147. package/dist/index56.d.ts +2 -2
  148. package/dist/index57.d.cts +2 -2
  149. package/dist/index57.d.ts +2 -2
  150. package/dist/index58.d.cts +4 -4
  151. package/dist/index58.d.ts +4 -4
  152. package/dist/index59.d.cts +9 -9
  153. package/dist/index59.d.ts +9 -9
  154. package/dist/index6.d.cts +3 -3
  155. package/dist/index6.d.ts +5 -5
  156. package/dist/index6.d.ts.map +1 -1
  157. package/dist/index60.d.cts +11 -11
  158. package/dist/index60.d.cts.map +1 -1
  159. package/dist/index60.d.ts +9 -9
  160. package/dist/index61.d.cts +7 -7
  161. package/dist/index61.d.cts.map +1 -1
  162. package/dist/index61.d.ts +5 -5
  163. package/dist/index62.d.cts +4 -4
  164. package/dist/index62.d.cts.map +1 -1
  165. package/dist/index62.d.ts +4 -4
  166. package/dist/index62.d.ts.map +1 -1
  167. package/dist/index63.d.cts +2 -2
  168. package/dist/index63.d.cts.map +1 -1
  169. package/dist/index63.d.ts +2 -2
  170. package/dist/index63.d.ts.map +1 -1
  171. package/dist/index64.d.cts +4 -4
  172. package/dist/index64.d.ts +6 -6
  173. package/dist/index64.d.ts.map +1 -1
  174. package/dist/index65.d.cts +3 -3
  175. package/dist/index65.d.ts +3 -3
  176. package/dist/index66.d.cts +4 -4
  177. package/dist/index66.d.ts +4 -4
  178. package/dist/index66.d.ts.map +1 -1
  179. package/dist/index67.d.cts +2 -2
  180. package/dist/index67.d.cts.map +1 -1
  181. package/dist/index67.d.ts +2 -2
  182. package/dist/index67.d.ts.map +1 -1
  183. package/dist/index68.d.cts +8 -8
  184. package/dist/index68.d.cts.map +1 -1
  185. package/dist/index68.d.ts +5 -5
  186. package/dist/index68.d.ts.map +1 -1
  187. package/dist/index69.d.cts +7 -7
  188. package/dist/index69.d.ts +6 -6
  189. package/dist/index69.d.ts.map +1 -1
  190. package/dist/index7.d.cts +8 -8
  191. package/dist/index7.d.ts +8 -8
  192. package/dist/index71.d.cts +16 -9
  193. package/dist/index71.d.cts.map +1 -1
  194. package/dist/index71.d.ts +16 -9
  195. package/dist/index71.d.ts.map +1 -1
  196. package/dist/index8.d.cts +4 -4
  197. package/dist/index8.d.cts.map +1 -1
  198. package/dist/index8.d.ts +4 -4
  199. package/dist/index9.d.cts +2 -2
  200. package/dist/index9.d.cts.map +1 -1
  201. package/dist/index9.d.ts +2 -2
  202. package/dist/patterns/DataTable/index.d.cts +3 -3
  203. package/dist/patterns/DataTable/index.d.cts.map +1 -1
  204. package/dist/patterns/DataTable/index.d.ts +3 -3
  205. package/dist/patterns/DataTable/index.d.ts.map +1 -1
  206. package/dist/patterns/Footer/index.d.cts +7 -7
  207. package/dist/patterns/Footer/index.d.ts +7 -7
  208. package/dist/patterns/Footer/index.d.ts.map +1 -1
  209. package/dist/patterns/MediaObject/index.d.cts +12 -12
  210. package/dist/patterns/MediaObject/index.d.ts +12 -12
  211. package/dist/patterns/MediaObject/index.d.ts.map +1 -1
  212. package/dist/patterns/SectionCard/index.d.cts +2 -2
  213. package/dist/patterns/SectionCard/index.d.cts.map +1 -1
  214. package/dist/patterns/SectionCard/index.d.ts +2 -2
  215. package/dist/patterns/SectionCard/index.d.ts.map +1 -1
  216. package/dist/patterns/SectionHeading/index.d.cts +2 -2
  217. package/dist/patterns/SectionHeading/index.d.ts +2 -2
  218. package/dist/patterns/SectionHeading/index.d.ts.map +1 -1
  219. package/package.json +1 -1
package/dist/index19.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Dialog } from "./index18.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime138 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime275 from "react/jsx-runtime";
4
4
  import { Command } from "cmdk";
5
5
 
6
6
  //#region src/primitives/Command/Command.d.ts
@@ -8,7 +8,7 @@ import { Command } from "cmdk";
8
8
  declare function Command$1({
9
9
  className,
10
10
  ...props
11
- }: React.ComponentProps<typeof Command>): react_jsx_runtime138.JSX.Element;
11
+ }: React.ComponentProps<typeof Command>): react_jsx_runtime275.JSX.Element;
12
12
  /** A `Command` rendered inside a centered, modal `Dialog` — the classic ⌘K palette. */
13
13
  declare function CommandDialog({
14
14
  title,
@@ -26,41 +26,41 @@ declare function CommandDialog({
26
26
  className?: string;
27
27
  /** Whether to render the dialog's top-right close button. */
28
28
  showCloseButton?: boolean;
29
- }): react_jsx_runtime138.JSX.Element;
29
+ }): react_jsx_runtime275.JSX.Element;
30
30
  /** The search field that filters the command list, with a leading search icon. */
31
31
  declare function CommandInput({
32
32
  className,
33
33
  ...props
34
- }: React.ComponentProps<typeof Command.Input>): react_jsx_runtime138.JSX.Element;
34
+ }: React.ComponentProps<typeof Command.Input>): react_jsx_runtime275.JSX.Element;
35
35
  /** Scrollable container for command groups, items, and the empty state. */
36
36
  declare function CommandList({
37
37
  className,
38
38
  ...props
39
- }: React.ComponentProps<typeof Command.List>): react_jsx_runtime138.JSX.Element;
39
+ }: React.ComponentProps<typeof Command.List>): react_jsx_runtime275.JSX.Element;
40
40
  /** Placeholder shown when the search query matches no items. */
41
41
  declare function CommandEmpty({
42
42
  ...props
43
- }: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime138.JSX.Element;
43
+ }: React.ComponentProps<typeof Command.Empty>): react_jsx_runtime275.JSX.Element;
44
44
  /** A labelled group of related command items, with an optional `heading`. */
45
45
  declare function CommandGroup({
46
46
  className,
47
47
  ...props
48
- }: React.ComponentProps<typeof Command.Group>): react_jsx_runtime138.JSX.Element;
48
+ }: React.ComponentProps<typeof Command.Group>): react_jsx_runtime275.JSX.Element;
49
49
  /** A thin divider line between command groups. */
50
50
  declare function CommandSeparator({
51
51
  className,
52
52
  ...props
53
- }: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime138.JSX.Element;
53
+ }: React.ComponentProps<typeof Command.Separator>): react_jsx_runtime275.JSX.Element;
54
54
  /** A selectable command row supporting keyboard navigation and a disabled state. */
55
55
  declare function CommandItem({
56
56
  className,
57
57
  ...props
58
- }: React.ComponentProps<typeof Command.Item>): react_jsx_runtime138.JSX.Element;
58
+ }: React.ComponentProps<typeof Command.Item>): react_jsx_runtime275.JSX.Element;
59
59
  /** Right-aligned keyboard-shortcut hint shown inside a `CommandItem`. */
60
60
  declare function CommandShortcut({
61
61
  className,
62
62
  ...props
63
- }: React.ComponentProps<"span">): react_jsx_runtime138.JSX.Element;
63
+ }: React.ComponentProps<"span">): react_jsx_runtime275.JSX.Element;
64
64
  //#endregion
65
65
  export { CommandInput as a, CommandSeparator as c, CommandGroup as i, CommandShortcut as l, CommandDialog as n, CommandItem as o, CommandEmpty as r, CommandList as s, Command$1 as t };
66
66
  //# sourceMappingURL=index19.d.ts.map
package/dist/index2.d.cts CHANGED
@@ -1,12 +1,12 @@
1
- import * as react_jsx_runtime272 from "react/jsx-runtime";
2
- import * as class_variance_authority_types25 from "class-variance-authority/types";
1
+ import * as react_jsx_runtime333 from "react/jsx-runtime";
2
+ import * as class_variance_authority_types28 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as React from "react";
5
5
 
6
6
  //#region src/primitives/Alert/Alert.d.ts
7
7
  declare const alertVariants: (props?: ({
8
8
  variant?: "default" | "destructive" | null | undefined;
9
- } & class_variance_authority_types25.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types28.ClassProp) | undefined) => string;
10
10
  /** Callout banner for surfacing contextual messages, statuses, and errors. */
11
11
  declare function Alert({
12
12
  className,
@@ -18,27 +18,27 @@ declare function Alert({
18
18
  variant?: VariantProps<typeof alertVariants>["variant"];
19
19
  /** Moves the leading icon to the trailing edge (Figma "Flip Icon"). */
20
20
  flipIcon?: boolean;
21
- }): react_jsx_runtime272.JSX.Element;
21
+ }): react_jsx_runtime333.JSX.Element;
22
22
  /** Wraps the title + description so the icon and action can sit beside them. */
23
23
  declare function AlertContent({
24
24
  className,
25
25
  ...props
26
- }: React.ComponentProps<"div">): react_jsx_runtime272.JSX.Element;
26
+ }: React.ComponentProps<"div">): react_jsx_runtime333.JSX.Element;
27
27
  /** Primary heading line of the alert. */
28
28
  declare function AlertTitle({
29
29
  className,
30
30
  ...props
31
- }: React.ComponentProps<"h5">): react_jsx_runtime272.JSX.Element;
31
+ }: React.ComponentProps<"h5">): react_jsx_runtime333.JSX.Element;
32
32
  /** Secondary supporting text shown beneath the title. */
33
33
  declare function AlertDescription({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<"div">): react_jsx_runtime272.JSX.Element;
36
+ }: React.ComponentProps<"div">): react_jsx_runtime333.JSX.Element;
37
37
  /** Trailing action slot (Figma "Show Button"); always sits at the trailing edge. */
38
38
  declare function AlertAction({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">): react_jsx_runtime272.JSX.Element;
41
+ }: React.ComponentProps<"div">): react_jsx_runtime333.JSX.Element;
42
42
  //#endregion
43
43
  export { AlertTitle as a, AlertDescription as i, AlertAction as n, AlertContent as r, Alert as t };
44
44
  //# sourceMappingURL=index2.d.cts.map
package/dist/index2.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime333 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime317 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types28 from "class-variance-authority/types";
5
5
 
@@ -18,27 +18,27 @@ declare function Alert({
18
18
  variant?: VariantProps<typeof alertVariants>["variant"];
19
19
  /** Moves the leading icon to the trailing edge (Figma "Flip Icon"). */
20
20
  flipIcon?: boolean;
21
- }): react_jsx_runtime333.JSX.Element;
21
+ }): react_jsx_runtime317.JSX.Element;
22
22
  /** Wraps the title + description so the icon and action can sit beside them. */
23
23
  declare function AlertContent({
24
24
  className,
25
25
  ...props
26
- }: React.ComponentProps<"div">): react_jsx_runtime333.JSX.Element;
26
+ }: React.ComponentProps<"div">): react_jsx_runtime317.JSX.Element;
27
27
  /** Primary heading line of the alert. */
28
28
  declare function AlertTitle({
29
29
  className,
30
30
  ...props
31
- }: React.ComponentProps<"h5">): react_jsx_runtime333.JSX.Element;
31
+ }: React.ComponentProps<"h5">): react_jsx_runtime317.JSX.Element;
32
32
  /** Secondary supporting text shown beneath the title. */
33
33
  declare function AlertDescription({
34
34
  className,
35
35
  ...props
36
- }: React.ComponentProps<"div">): react_jsx_runtime333.JSX.Element;
36
+ }: React.ComponentProps<"div">): react_jsx_runtime317.JSX.Element;
37
37
  /** Trailing action slot (Figma "Show Button"); always sits at the trailing edge. */
38
38
  declare function AlertAction({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">): react_jsx_runtime333.JSX.Element;
41
+ }: React.ComponentProps<"div">): react_jsx_runtime317.JSX.Element;
42
42
  //#endregion
43
43
  export { AlertTitle as a, AlertDescription as i, AlertAction as n, AlertContent as r, Alert as t };
44
44
  //# sourceMappingURL=index2.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime167 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime270 from "react/jsx-runtime";
2
2
  import { ContextMenu } from "radix-ui";
3
3
  import * as React from "react";
4
4
 
@@ -6,27 +6,27 @@ import * as React from "react";
6
6
  /** Root provider for a right-click context menu; wires the trigger to its portalled content. */
7
7
  declare function ContextMenu$1({
8
8
  ...props
9
- }: React.ComponentProps<typeof ContextMenu.Root>): react_jsx_runtime167.JSX.Element;
9
+ }: React.ComponentProps<typeof ContextMenu.Root>): react_jsx_runtime270.JSX.Element;
10
10
  /** The target region that opens the menu on right-click (context menu). */
11
11
  declare function ContextMenuTrigger({
12
12
  ...props
13
- }: React.ComponentProps<typeof ContextMenu.Trigger>): react_jsx_runtime167.JSX.Element;
13
+ }: React.ComponentProps<typeof ContextMenu.Trigger>): react_jsx_runtime270.JSX.Element;
14
14
  /** Groups related items together for labelling and accessibility. */
15
15
  declare function ContextMenuGroup({
16
16
  ...props
17
- }: React.ComponentProps<typeof ContextMenu.Group>): react_jsx_runtime167.JSX.Element;
17
+ }: React.ComponentProps<typeof ContextMenu.Group>): react_jsx_runtime270.JSX.Element;
18
18
  /** Portals the menu content into the document body. */
19
19
  declare function ContextMenuPortal({
20
20
  ...props
21
- }: React.ComponentProps<typeof ContextMenu.Portal>): react_jsx_runtime167.JSX.Element;
21
+ }: React.ComponentProps<typeof ContextMenu.Portal>): react_jsx_runtime270.JSX.Element;
22
22
  /** Wraps a nested submenu (pair with `ContextMenuSubTrigger` and `ContextMenuSubContent`). */
23
23
  declare function ContextMenuSub({
24
24
  ...props
25
- }: React.ComponentProps<typeof ContextMenu.Sub>): react_jsx_runtime167.JSX.Element;
25
+ }: React.ComponentProps<typeof ContextMenu.Sub>): react_jsx_runtime270.JSX.Element;
26
26
  /** Groups `ContextMenuRadioItem`s into a single-select set. */
27
27
  declare function ContextMenuRadioGroup({
28
28
  ...props
29
- }: React.ComponentProps<typeof ContextMenu.RadioGroup>): react_jsx_runtime167.JSX.Element;
29
+ }: React.ComponentProps<typeof ContextMenu.RadioGroup>): react_jsx_runtime270.JSX.Element;
30
30
  /** Item that opens a nested submenu; renders a trailing chevron. */
31
31
  declare function ContextMenuSubTrigger({
32
32
  className,
@@ -36,17 +36,17 @@ declare function ContextMenuSubTrigger({
36
36
  }: React.ComponentProps<typeof ContextMenu.SubTrigger> & {
37
37
  /** Adds left padding so the label aligns with items that have a leading icon. */
38
38
  inset?: boolean;
39
- }): react_jsx_runtime167.JSX.Element;
39
+ }): react_jsx_runtime270.JSX.Element;
40
40
  /** The popover surface for a nested submenu. */
41
41
  declare function ContextMenuSubContent({
42
42
  className,
43
43
  ...props
44
- }: React.ComponentProps<typeof ContextMenu.SubContent>): react_jsx_runtime167.JSX.Element;
44
+ }: React.ComponentProps<typeof ContextMenu.SubContent>): react_jsx_runtime270.JSX.Element;
45
45
  /** The portalled popover surface that holds the menu items. */
46
46
  declare function ContextMenuContent({
47
47
  className,
48
48
  ...props
49
- }: React.ComponentProps<typeof ContextMenu.Content>): react_jsx_runtime167.JSX.Element;
49
+ }: React.ComponentProps<typeof ContextMenu.Content>): react_jsx_runtime270.JSX.Element;
50
50
  /** A selectable menu item; supports a `destructive` variant and `inset` alignment. */
51
51
  declare function ContextMenuItem({
52
52
  className,
@@ -58,20 +58,20 @@ declare function ContextMenuItem({
58
58
  inset?: boolean;
59
59
  /** Visual intent; `destructive` colours the item with the danger palette. */
60
60
  variant?: "default" | "destructive";
61
- }): react_jsx_runtime167.JSX.Element;
61
+ }): react_jsx_runtime270.JSX.Element;
62
62
  /** A menu item with a toggleable checkmark indicator. */
63
63
  declare function ContextMenuCheckboxItem({
64
64
  className,
65
65
  children,
66
66
  checked,
67
67
  ...props
68
- }: React.ComponentProps<typeof ContextMenu.CheckboxItem>): react_jsx_runtime167.JSX.Element;
68
+ }: React.ComponentProps<typeof ContextMenu.CheckboxItem>): react_jsx_runtime270.JSX.Element;
69
69
  /** A menu item with a radio indicator; use inside `ContextMenuRadioGroup`. */
70
70
  declare function ContextMenuRadioItem({
71
71
  className,
72
72
  children,
73
73
  ...props
74
- }: React.ComponentProps<typeof ContextMenu.RadioItem>): react_jsx_runtime167.JSX.Element;
74
+ }: React.ComponentProps<typeof ContextMenu.RadioItem>): react_jsx_runtime270.JSX.Element;
75
75
  /** A non-interactive heading that labels a group of items. */
76
76
  declare function ContextMenuLabel({
77
77
  className,
@@ -80,17 +80,17 @@ declare function ContextMenuLabel({
80
80
  }: React.ComponentProps<typeof ContextMenu.Label> & {
81
81
  /** Adds left padding so the label aligns with items that have a leading icon. */
82
82
  inset?: boolean;
83
- }): react_jsx_runtime167.JSX.Element;
83
+ }): react_jsx_runtime270.JSX.Element;
84
84
  /** A horizontal divider between groups of items. */
85
85
  declare function ContextMenuSeparator({
86
86
  className,
87
87
  ...props
88
- }: React.ComponentProps<typeof ContextMenu.Separator>): react_jsx_runtime167.JSX.Element;
88
+ }: React.ComponentProps<typeof ContextMenu.Separator>): react_jsx_runtime270.JSX.Element;
89
89
  /** Right-aligned text for a keyboard shortcut hint inside an item. */
90
90
  declare function ContextMenuShortcut({
91
91
  className,
92
92
  ...props
93
- }: React.ComponentProps<"span">): react_jsx_runtime167.JSX.Element;
93
+ }: React.ComponentProps<"span">): react_jsx_runtime270.JSX.Element;
94
94
  //#endregion
95
95
  export { ContextMenuItem as a, ContextMenuRadioGroup as c, ContextMenuShortcut as d, ContextMenuSub as f, ContextMenuTrigger as h, ContextMenuGroup as i, ContextMenuRadioItem as l, ContextMenuSubTrigger as m, ContextMenuCheckboxItem as n, ContextMenuLabel as o, ContextMenuSubContent as p, ContextMenuContent as r, ContextMenuPortal as s, ContextMenu$1 as t, ContextMenuSeparator as u };
96
96
  //# sourceMappingURL=index20.d.cts.map
package/dist/index20.d.ts CHANGED
@@ -1,32 +1,32 @@
1
1
  import * as React from "react";
2
2
  import { ContextMenu } from "radix-ui";
3
- import * as react_jsx_runtime318 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime251 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/primitives/ContextMenu/ContextMenu.d.ts
6
6
  /** Root provider for a right-click context menu; wires the trigger to its portalled content. */
7
7
  declare function ContextMenu$1({
8
8
  ...props
9
- }: React.ComponentProps<typeof ContextMenu.Root>): react_jsx_runtime318.JSX.Element;
9
+ }: React.ComponentProps<typeof ContextMenu.Root>): react_jsx_runtime251.JSX.Element;
10
10
  /** The target region that opens the menu on right-click (context menu). */
11
11
  declare function ContextMenuTrigger({
12
12
  ...props
13
- }: React.ComponentProps<typeof ContextMenu.Trigger>): react_jsx_runtime318.JSX.Element;
13
+ }: React.ComponentProps<typeof ContextMenu.Trigger>): react_jsx_runtime251.JSX.Element;
14
14
  /** Groups related items together for labelling and accessibility. */
15
15
  declare function ContextMenuGroup({
16
16
  ...props
17
- }: React.ComponentProps<typeof ContextMenu.Group>): react_jsx_runtime318.JSX.Element;
17
+ }: React.ComponentProps<typeof ContextMenu.Group>): react_jsx_runtime251.JSX.Element;
18
18
  /** Portals the menu content into the document body. */
19
19
  declare function ContextMenuPortal({
20
20
  ...props
21
- }: React.ComponentProps<typeof ContextMenu.Portal>): react_jsx_runtime318.JSX.Element;
21
+ }: React.ComponentProps<typeof ContextMenu.Portal>): react_jsx_runtime251.JSX.Element;
22
22
  /** Wraps a nested submenu (pair with `ContextMenuSubTrigger` and `ContextMenuSubContent`). */
23
23
  declare function ContextMenuSub({
24
24
  ...props
25
- }: React.ComponentProps<typeof ContextMenu.Sub>): react_jsx_runtime318.JSX.Element;
25
+ }: React.ComponentProps<typeof ContextMenu.Sub>): react_jsx_runtime251.JSX.Element;
26
26
  /** Groups `ContextMenuRadioItem`s into a single-select set. */
27
27
  declare function ContextMenuRadioGroup({
28
28
  ...props
29
- }: React.ComponentProps<typeof ContextMenu.RadioGroup>): react_jsx_runtime318.JSX.Element;
29
+ }: React.ComponentProps<typeof ContextMenu.RadioGroup>): react_jsx_runtime251.JSX.Element;
30
30
  /** Item that opens a nested submenu; renders a trailing chevron. */
31
31
  declare function ContextMenuSubTrigger({
32
32
  className,
@@ -36,17 +36,17 @@ declare function ContextMenuSubTrigger({
36
36
  }: React.ComponentProps<typeof ContextMenu.SubTrigger> & {
37
37
  /** Adds left padding so the label aligns with items that have a leading icon. */
38
38
  inset?: boolean;
39
- }): react_jsx_runtime318.JSX.Element;
39
+ }): react_jsx_runtime251.JSX.Element;
40
40
  /** The popover surface for a nested submenu. */
41
41
  declare function ContextMenuSubContent({
42
42
  className,
43
43
  ...props
44
- }: React.ComponentProps<typeof ContextMenu.SubContent>): react_jsx_runtime318.JSX.Element;
44
+ }: React.ComponentProps<typeof ContextMenu.SubContent>): react_jsx_runtime251.JSX.Element;
45
45
  /** The portalled popover surface that holds the menu items. */
46
46
  declare function ContextMenuContent({
47
47
  className,
48
48
  ...props
49
- }: React.ComponentProps<typeof ContextMenu.Content>): react_jsx_runtime318.JSX.Element;
49
+ }: React.ComponentProps<typeof ContextMenu.Content>): react_jsx_runtime251.JSX.Element;
50
50
  /** A selectable menu item; supports a `destructive` variant and `inset` alignment. */
51
51
  declare function ContextMenuItem({
52
52
  className,
@@ -58,20 +58,20 @@ declare function ContextMenuItem({
58
58
  inset?: boolean;
59
59
  /** Visual intent; `destructive` colours the item with the danger palette. */
60
60
  variant?: "default" | "destructive";
61
- }): react_jsx_runtime318.JSX.Element;
61
+ }): react_jsx_runtime251.JSX.Element;
62
62
  /** A menu item with a toggleable checkmark indicator. */
63
63
  declare function ContextMenuCheckboxItem({
64
64
  className,
65
65
  children,
66
66
  checked,
67
67
  ...props
68
- }: React.ComponentProps<typeof ContextMenu.CheckboxItem>): react_jsx_runtime318.JSX.Element;
68
+ }: React.ComponentProps<typeof ContextMenu.CheckboxItem>): react_jsx_runtime251.JSX.Element;
69
69
  /** A menu item with a radio indicator; use inside `ContextMenuRadioGroup`. */
70
70
  declare function ContextMenuRadioItem({
71
71
  className,
72
72
  children,
73
73
  ...props
74
- }: React.ComponentProps<typeof ContextMenu.RadioItem>): react_jsx_runtime318.JSX.Element;
74
+ }: React.ComponentProps<typeof ContextMenu.RadioItem>): react_jsx_runtime251.JSX.Element;
75
75
  /** A non-interactive heading that labels a group of items. */
76
76
  declare function ContextMenuLabel({
77
77
  className,
@@ -80,17 +80,17 @@ declare function ContextMenuLabel({
80
80
  }: React.ComponentProps<typeof ContextMenu.Label> & {
81
81
  /** Adds left padding so the label aligns with items that have a leading icon. */
82
82
  inset?: boolean;
83
- }): react_jsx_runtime318.JSX.Element;
83
+ }): react_jsx_runtime251.JSX.Element;
84
84
  /** A horizontal divider between groups of items. */
85
85
  declare function ContextMenuSeparator({
86
86
  className,
87
87
  ...props
88
- }: React.ComponentProps<typeof ContextMenu.Separator>): react_jsx_runtime318.JSX.Element;
88
+ }: React.ComponentProps<typeof ContextMenu.Separator>): react_jsx_runtime251.JSX.Element;
89
89
  /** Right-aligned text for a keyboard shortcut hint inside an item. */
90
90
  declare function ContextMenuShortcut({
91
91
  className,
92
92
  ...props
93
- }: React.ComponentProps<"span">): react_jsx_runtime318.JSX.Element;
93
+ }: React.ComponentProps<"span">): react_jsx_runtime251.JSX.Element;
94
94
  //#endregion
95
95
  export { ContextMenuItem as a, ContextMenuRadioGroup as c, ContextMenuShortcut as d, ContextMenuSub as f, ContextMenuTrigger as h, ContextMenuGroup as i, ContextMenuRadioItem as l, ContextMenuSubTrigger as m, ContextMenuCheckboxItem as n, ContextMenuLabel as o, ContextMenuSubContent as p, ContextMenuContent as r, ContextMenuPortal as s, ContextMenu$1 as t, ContextMenuSeparator as u };
96
96
  //# sourceMappingURL=index20.d.ts.map
@@ -1,12 +1,12 @@
1
- import * as react_jsx_runtime165 from "react/jsx-runtime";
2
- import * as class_variance_authority_types12 from "class-variance-authority/types";
1
+ import * as react_jsx_runtime260 from "react/jsx-runtime";
2
+ import * as class_variance_authority_types26 from "class-variance-authority/types";
3
3
  import * as React from "react";
4
4
 
5
5
  //#region src/primitives/Credits/Credits.d.ts
6
6
  type CreditsVariant = "default" | "warning" | "critical";
7
7
  declare const creditsVariants: (props?: ({
8
8
  variant?: "default" | "warning" | "critical" | null | undefined;
9
- } & class_variance_authority_types12.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types26.ClassProp) | undefined) => string;
10
10
  type CreditsProps = Omit<React.ComponentProps<"span">, "children"> & {
11
11
  /** The numeric balance to display. */
12
12
  value: number;
@@ -28,7 +28,7 @@ declare function Credits({
28
28
  icon,
29
29
  format,
30
30
  ...props
31
- }: CreditsProps): react_jsx_runtime165.JSX.Element;
31
+ }: CreditsProps): react_jsx_runtime260.JSX.Element;
32
32
  //#endregion
33
33
  export { creditsVariants as i, CreditsProps as n, CreditsVariant as r, Credits as t };
34
34
  //# sourceMappingURL=index21.d.cts.map
package/dist/index21.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime114 from "react/jsx-runtime";
3
- import * as class_variance_authority_types12 from "class-variance-authority/types";
2
+ import * as react_jsx_runtime230 from "react/jsx-runtime";
3
+ import * as class_variance_authority_types23 from "class-variance-authority/types";
4
4
 
5
5
  //#region src/primitives/Credits/Credits.d.ts
6
6
  type CreditsVariant = "default" | "warning" | "critical";
7
7
  declare const creditsVariants: (props?: ({
8
8
  variant?: "default" | "warning" | "critical" | null | undefined;
9
- } & class_variance_authority_types12.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types23.ClassProp) | undefined) => string;
10
10
  type CreditsProps = Omit<React.ComponentProps<"span">, "children"> & {
11
11
  /** The numeric balance to display. */
12
12
  value: number;
@@ -28,7 +28,7 @@ declare function Credits({
28
28
  icon,
29
29
  format,
30
30
  ...props
31
- }: CreditsProps): react_jsx_runtime114.JSX.Element;
31
+ }: CreditsProps): react_jsx_runtime230.JSX.Element;
32
32
  //#endregion
33
33
  export { creditsVariants as i, CreditsProps as n, CreditsVariant as r, Credits as t };
34
34
  //# sourceMappingURL=index21.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime140 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime250 from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import { Drawer } from "vaul";
4
4
 
@@ -6,25 +6,25 @@ import { Drawer } from "vaul";
6
6
  /** Root provider for a vaul-backed sliding drawer; controls open state and slide `direction`. */
7
7
  declare function Drawer$1({
8
8
  ...props
9
- }: React.ComponentProps<typeof Drawer.Root>): react_jsx_runtime140.JSX.Element;
9
+ }: React.ComponentProps<typeof Drawer.Root>): react_jsx_runtime250.JSX.Element;
10
10
  /** Element that toggles the drawer open when interacted with. */
11
11
  declare function DrawerTrigger({
12
12
  ...props
13
- }: React.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime140.JSX.Element;
13
+ }: React.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime250.JSX.Element;
14
14
  /** Portals the overlay and content out to the document body. */
15
15
  declare function DrawerPortal({
16
16
  ...props
17
- }: React.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime140.JSX.Element;
17
+ }: React.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime250.JSX.Element;
18
18
  /** Element that closes the drawer when interacted with. */
19
19
  declare function DrawerClose({
20
20
  ...props
21
- }: React.ComponentProps<typeof Drawer.Close>): react_jsx_runtime140.JSX.Element;
21
+ }: React.ComponentProps<typeof Drawer.Close>): react_jsx_runtime250.JSX.Element;
22
22
  /** Dimmed backdrop rendered behind the drawer content. */
23
23
  declare function DrawerOverlay({
24
24
  /** Extra classes merged onto the overlay surface. */
25
25
  className,
26
26
  ...props
27
- }: React.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime140.JSX.Element;
27
+ }: React.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime250.JSX.Element;
28
28
  /** Sliding panel that holds the drawer's content; auto-portals and renders the overlay. */
29
29
  declare function DrawerContent({
30
30
  /** Extra classes merged onto the content panel. */
@@ -32,31 +32,31 @@ declare function DrawerContent({
32
32
  /** Body of the drawer, typically header/footer plus content. */
33
33
  children,
34
34
  ...props
35
- }: React.ComponentProps<typeof Drawer.Content>): react_jsx_runtime140.JSX.Element;
35
+ }: React.ComponentProps<typeof Drawer.Content>): react_jsx_runtime250.JSX.Element;
36
36
  /** Top region of the drawer; groups the title and description. */
37
37
  declare function DrawerHeader({
38
38
  /** Extra classes merged onto the header wrapper. */
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
41
+ }: React.ComponentProps<"div">): react_jsx_runtime250.JSX.Element;
42
42
  /** Bottom region of the drawer; typically holds actions, pinned to the panel base. */
43
43
  declare function DrawerFooter({
44
44
  /** Extra classes merged onto the footer wrapper. */
45
45
  className,
46
46
  ...props
47
- }: React.ComponentProps<"div">): react_jsx_runtime140.JSX.Element;
47
+ }: React.ComponentProps<"div">): react_jsx_runtime250.JSX.Element;
48
48
  /** Accessible title for the drawer, announced to assistive tech. */
49
49
  declare function DrawerTitle({
50
50
  /** Extra classes merged onto the title. */
51
51
  className,
52
52
  ...props
53
- }: React.ComponentProps<typeof Drawer.Title>): react_jsx_runtime140.JSX.Element;
53
+ }: React.ComponentProps<typeof Drawer.Title>): react_jsx_runtime250.JSX.Element;
54
54
  /** Supporting description text shown beneath the drawer title. */
55
55
  declare function DrawerDescription({
56
56
  /** Extra classes merged onto the description. */
57
57
  className,
58
58
  ...props
59
- }: React.ComponentProps<typeof Drawer.Description>): react_jsx_runtime140.JSX.Element;
59
+ }: React.ComponentProps<typeof Drawer.Description>): react_jsx_runtime250.JSX.Element;
60
60
  //#endregion
61
61
  export { DrawerFooter as a, DrawerPortal as c, DrawerDescription as i, DrawerTitle as l, DrawerClose as n, DrawerHeader as o, DrawerContent as r, DrawerOverlay as s, Drawer$1 as t, DrawerTrigger as u };
62
62
  //# sourceMappingURL=index22.d.cts.map
package/dist/index22.d.ts CHANGED
@@ -1,30 +1,30 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime125 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime231 from "react/jsx-runtime";
3
3
  import { Drawer } from "vaul";
4
4
 
5
5
  //#region src/primitives/Drawer/Drawer.d.ts
6
6
  /** Root provider for a vaul-backed sliding drawer; controls open state and slide `direction`. */
7
7
  declare function Drawer$1({
8
8
  ...props
9
- }: React.ComponentProps<typeof Drawer.Root>): react_jsx_runtime125.JSX.Element;
9
+ }: React.ComponentProps<typeof Drawer.Root>): react_jsx_runtime231.JSX.Element;
10
10
  /** Element that toggles the drawer open when interacted with. */
11
11
  declare function DrawerTrigger({
12
12
  ...props
13
- }: React.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime125.JSX.Element;
13
+ }: React.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime231.JSX.Element;
14
14
  /** Portals the overlay and content out to the document body. */
15
15
  declare function DrawerPortal({
16
16
  ...props
17
- }: React.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime125.JSX.Element;
17
+ }: React.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime231.JSX.Element;
18
18
  /** Element that closes the drawer when interacted with. */
19
19
  declare function DrawerClose({
20
20
  ...props
21
- }: React.ComponentProps<typeof Drawer.Close>): react_jsx_runtime125.JSX.Element;
21
+ }: React.ComponentProps<typeof Drawer.Close>): react_jsx_runtime231.JSX.Element;
22
22
  /** Dimmed backdrop rendered behind the drawer content. */
23
23
  declare function DrawerOverlay({
24
24
  /** Extra classes merged onto the overlay surface. */
25
25
  className,
26
26
  ...props
27
- }: React.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime125.JSX.Element;
27
+ }: React.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime231.JSX.Element;
28
28
  /** Sliding panel that holds the drawer's content; auto-portals and renders the overlay. */
29
29
  declare function DrawerContent({
30
30
  /** Extra classes merged onto the content panel. */
@@ -32,31 +32,31 @@ declare function DrawerContent({
32
32
  /** Body of the drawer, typically header/footer plus content. */
33
33
  children,
34
34
  ...props
35
- }: React.ComponentProps<typeof Drawer.Content>): react_jsx_runtime125.JSX.Element;
35
+ }: React.ComponentProps<typeof Drawer.Content>): react_jsx_runtime231.JSX.Element;
36
36
  /** Top region of the drawer; groups the title and description. */
37
37
  declare function DrawerHeader({
38
38
  /** Extra classes merged onto the header wrapper. */
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">): react_jsx_runtime125.JSX.Element;
41
+ }: React.ComponentProps<"div">): react_jsx_runtime231.JSX.Element;
42
42
  /** Bottom region of the drawer; typically holds actions, pinned to the panel base. */
43
43
  declare function DrawerFooter({
44
44
  /** Extra classes merged onto the footer wrapper. */
45
45
  className,
46
46
  ...props
47
- }: React.ComponentProps<"div">): react_jsx_runtime125.JSX.Element;
47
+ }: React.ComponentProps<"div">): react_jsx_runtime231.JSX.Element;
48
48
  /** Accessible title for the drawer, announced to assistive tech. */
49
49
  declare function DrawerTitle({
50
50
  /** Extra classes merged onto the title. */
51
51
  className,
52
52
  ...props
53
- }: React.ComponentProps<typeof Drawer.Title>): react_jsx_runtime125.JSX.Element;
53
+ }: React.ComponentProps<typeof Drawer.Title>): react_jsx_runtime231.JSX.Element;
54
54
  /** Supporting description text shown beneath the drawer title. */
55
55
  declare function DrawerDescription({
56
56
  /** Extra classes merged onto the description. */
57
57
  className,
58
58
  ...props
59
- }: React.ComponentProps<typeof Drawer.Description>): react_jsx_runtime125.JSX.Element;
59
+ }: React.ComponentProps<typeof Drawer.Description>): react_jsx_runtime231.JSX.Element;
60
60
  //#endregion
61
61
  export { DrawerFooter as a, DrawerPortal as c, DrawerDescription as i, DrawerTitle as l, DrawerClose as n, DrawerHeader as o, DrawerContent as r, DrawerOverlay as s, Drawer$1 as t, DrawerTrigger as u };
62
62
  //# sourceMappingURL=index22.d.ts.map