@gentleduck/docs 0.2.0 → 0.2.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.
Files changed (158) hide show
  1. package/dist/arrow-CU5T6t_D-BA13FgoC.js.map +1 -1
  2. package/dist/{callout-0BtCINKk.d.ts → callout-DkH7UtrQ.d.ts} +3 -3
  3. package/dist/{callout-0BtCINKk.d.ts.map → callout-DkH7UtrQ.d.ts.map} +1 -1
  4. package/dist/client.d.ts +34 -34
  5. package/dist/client.js +1 -1
  6. package/dist/{code-block-B0w93vdH.d.ts → code-block-Dgcnn3Px.d.ts} +3 -3
  7. package/dist/{code-block-B0w93vdH.d.ts.map → code-block-Dgcnn3Px.d.ts.map} +1 -1
  8. package/dist/{code-block-wrapper-CtCPXtO_.d.ts → code-block-wrapper-CNcV_wdW.d.ts} +3 -3
  9. package/dist/{code-block-wrapper-CtCPXtO_.d.ts.map → code-block-wrapper-CNcV_wdW.d.ts.map} +1 -1
  10. package/dist/{code-preview-D6FrTX1A.d.ts → code-preview-C4M4NuJ-.d.ts} +3 -3
  11. package/dist/{code-preview-D6FrTX1A.d.ts.map → code-preview-C4M4NuJ-.d.ts.map} +1 -1
  12. package/dist/command-menu-BAD7s_Xg.js +2 -0
  13. package/dist/command-menu-BAD7s_Xg.js.map +1 -0
  14. package/dist/command-menu-D0jdcvaZ.d.ts +7 -0
  15. package/dist/{command-menu-BvEJcMbM.d.ts.map → command-menu-D0jdcvaZ.d.ts.map} +1 -1
  16. package/dist/{component-preview-CHng68hR.d.ts → component-preview-B-gSgXOF.d.ts} +4 -4
  17. package/dist/{component-preview-CHng68hR.d.ts.map → component-preview-B-gSgXOF.d.ts.map} +1 -1
  18. package/dist/{component-source-CWOUfnWY.d.ts → component-source-BS8Rq18Y.d.ts} +3 -3
  19. package/dist/{component-source-CWOUfnWY.d.ts.map → component-source-BS8Rq18Y.d.ts.map} +1 -1
  20. package/dist/components/copy-button.d.ts +1 -1
  21. package/dist/components/docs/docs-copy-page.d.ts +1 -1
  22. package/dist/components/docs/docs-pager.d.ts +2 -2
  23. package/dist/components/docs/docs-sidebar.d.ts +2 -2
  24. package/dist/components/docs/docs-toc.d.ts +2 -2
  25. package/dist/components/docs/index.d.ts +5 -5
  26. package/dist/components/icons.d.ts +1 -1
  27. package/dist/components/index.d.ts +32 -32
  28. package/dist/components/index.js +1 -1
  29. package/dist/components/layouts/command-menu.d.ts +1 -1
  30. package/dist/components/layouts/command-menu.js +1 -1
  31. package/dist/components/layouts/header-shell.d.ts +1 -1
  32. package/dist/components/layouts/index.d.ts +5 -5
  33. package/dist/components/layouts/index.js +1 -1
  34. package/dist/components/layouts/site-footer.d.ts +1 -1
  35. package/dist/components/layouts/site-header.d.ts +2 -2
  36. package/dist/components/layouts/tailwind-indicator.d.ts +1 -1
  37. package/dist/components/main-nav.d.ts +1 -1
  38. package/dist/components/mdx/mdx-components/callout.d.ts +1 -1
  39. package/dist/components/mdx/mdx-components/code/code-block-wrapper.d.ts +1 -1
  40. package/dist/components/mdx/mdx-components/code/code-block.d.ts +1 -1
  41. package/dist/components/mdx/mdx-components/code/code-preview.d.ts +1 -1
  42. package/dist/components/mdx/mdx-components/code/component-preview.d.ts +1 -1
  43. package/dist/components/mdx/mdx-components/code/component-source.d.ts +1 -1
  44. package/dist/components/mdx/mdx-components/code/figcaption-block.d.ts +1 -1
  45. package/dist/components/mdx/mdx-components/code/index.d.ts +8 -8
  46. package/dist/components/mdx/mdx-components/code/mermaid-block.d.ts +1 -1
  47. package/dist/components/mdx/mdx-components/code/pre-block/index.d.ts +1 -1
  48. package/dist/components/mdx/mdx-components/code/pre-block/pre-block.d.ts +1 -1
  49. package/dist/components/mdx/mdx-components/code/pre-block/shell-command.d.ts +2 -2
  50. package/dist/components/mdx/mdx-components/code/span-block.d.ts +2 -2
  51. package/dist/components/mdx/mdx-components/components-list.d.ts +2 -2
  52. package/dist/components/mdx/mdx-components/exalidraw.d.ts +2 -2
  53. package/dist/components/mdx/mdx-components/index.d.ts +14 -14
  54. package/dist/components/mdx/mdx-components/table.d.ts +1 -1
  55. package/dist/components/mdx/mdx-components/tabs.d.ts +1 -1
  56. package/dist/components/mdx/mdx-components/typepography.d.ts +1 -1
  57. package/dist/components/mdx/mdx-components/typography.d.ts +1 -1
  58. package/dist/components/mdx/mdx-components-base.d.ts +24 -24
  59. package/dist/components/mdx/mdx-components-registry.d.ts +50 -50
  60. package/dist/components/mdx/mdx-components-ui.d.ts +17 -17
  61. package/dist/components/mdx/mdx.d.ts +1 -1
  62. package/dist/components/mobile-nav.d.ts +1 -1
  63. package/dist/components/mode-toggle.d.ts +1 -1
  64. package/dist/components/page-header.d.ts +1 -1
  65. package/dist/components/providers.d.ts +1 -1
  66. package/dist/components/style-switcher.d.ts +1 -1
  67. package/dist/{components-list-DNtDa4DQ.d.ts → components-list-B0CzvoXJ.d.ts} +3 -3
  68. package/dist/{components-list-DNtDa4DQ.d.ts.map → components-list-B0CzvoXJ.d.ts.map} +1 -1
  69. package/dist/context/context.d.ts +1 -1
  70. package/dist/context/index.d.ts +1 -1
  71. package/dist/{context-DdAZ5e6e.d.ts → context-CewYP6fx.d.ts} +3 -3
  72. package/dist/{context-DdAZ5e6e.d.ts.map → context-CewYP6fx.d.ts.map} +1 -1
  73. package/dist/{copy-button-DJt9b314.d.ts → copy-button-Dba6NMr7.d.ts} +3 -3
  74. package/dist/{copy-button-DJt9b314.d.ts.map → copy-button-Dba6NMr7.d.ts.map} +1 -1
  75. package/dist/create-collection-S3CvffX1-DA20ZU15.js.map +1 -1
  76. package/dist/dialog-WKxDI8AJ.js.map +1 -1
  77. package/dist/direction-B-anGbxM-BdqxtlGV.js.map +1 -1
  78. package/dist/dist-BEBzXlAF.js.map +1 -1
  79. package/dist/docs-copy-page-BjCHLC98.js.map +1 -1
  80. package/dist/{docs-copy-page-BP_9SFiu.d.ts → docs-copy-page-Da2aH8ZU.d.ts} +3 -3
  81. package/dist/{docs-copy-page-BP_9SFiu.d.ts.map → docs-copy-page-Da2aH8ZU.d.ts.map} +1 -1
  82. package/dist/{docs-pager-Cj_ihb89.d.ts → docs-pager-CtmhHIR1.d.ts} +4 -4
  83. package/dist/{docs-pager-Cj_ihb89.d.ts.map → docs-pager-CtmhHIR1.d.ts.map} +1 -1
  84. package/dist/{docs-sidebar-Dm8CCbmk.d.ts → docs-sidebar-GPy4H7_S.d.ts} +5 -5
  85. package/dist/{docs-sidebar-Dm8CCbmk.d.ts.map → docs-sidebar-GPy4H7_S.d.ts.map} +1 -1
  86. package/dist/{docs-toc-COvBB3xw.d.ts → docs-toc-Ds6VYQP-.d.ts} +3 -3
  87. package/dist/{docs-toc-COvBB3xw.d.ts.map → docs-toc-Ds6VYQP-.d.ts.map} +1 -1
  88. package/dist/dropdown-menu-DYiM8COh.js.map +1 -1
  89. package/dist/{figcaption-block-lr2ii6n2.d.ts → figcaption-block-Cq91p_fK.d.ts} +3 -3
  90. package/dist/{figcaption-block-lr2ii6n2.d.ts.map → figcaption-block-Cq91p_fK.d.ts.map} +1 -1
  91. package/dist/{header-shell-CPl-YeJY.d.ts → header-shell-06sqvoB4.d.ts} +6 -6
  92. package/dist/{header-shell-CPl-YeJY.d.ts.map → header-shell-06sqvoB4.d.ts.map} +1 -1
  93. package/dist/hooks/index.d.ts +2 -2
  94. package/dist/hooks/use-colors.d.ts +1 -1
  95. package/dist/hooks/use-config.d.ts +1 -1
  96. package/dist/icons-DinS-ytj.d.ts +33 -0
  97. package/dist/{icons-DOc-gx0p.d.ts.map → icons-DinS-ytj.d.ts.map} +1 -1
  98. package/dist/list-navigation-LJg-1TD2-DsfZPowW.js.map +1 -1
  99. package/dist/main-nav-CLHU2qeN.d.ts +7 -0
  100. package/dist/main-nav-CLHU2qeN.d.ts.map +1 -0
  101. package/dist/mdx-D5ge0Tle.d.ts +12 -0
  102. package/dist/{mdx-BWQi54_m.d.ts.map → mdx-D5ge0Tle.d.ts.map} +1 -1
  103. package/dist/mermaid-block-CrmASB4s.js.map +1 -1
  104. package/dist/{mermaid-block-C6-6cv5f.d.ts → mermaid-block-DCchUyg8.d.ts} +3 -3
  105. package/dist/{mermaid-block-C6-6cv5f.d.ts.map → mermaid-block-DCchUyg8.d.ts.map} +1 -1
  106. package/dist/mobile-nav-B1YJYAwN.d.ts +7 -0
  107. package/dist/mobile-nav-B1YJYAwN.d.ts.map +1 -0
  108. package/dist/mode-toggle-CbZCMzxt.d.ts +7 -0
  109. package/dist/mode-toggle-CbZCMzxt.d.ts.map +1 -0
  110. package/dist/mount-uG4K6qTf.js.map +1 -1
  111. package/dist/{page-header-CS5XM1q2.d.ts → page-header-B_OFmaDG.d.ts} +6 -6
  112. package/dist/{page-header-CS5XM1q2.d.ts.map → page-header-B_OFmaDG.d.ts.map} +1 -1
  113. package/dist/portal-BNuCvTAR-DDrsnIMA.js.map +1 -1
  114. package/dist/{pre-block-Pa2SlBev.d.ts → pre-block-BbGgUhah.d.ts} +3 -3
  115. package/dist/{pre-block-Pa2SlBev.d.ts.map → pre-block-BbGgUhah.d.ts.map} +1 -1
  116. package/dist/{providers-6rBUIHJN.d.ts → providers-Oi1jKtkx.d.ts} +3 -3
  117. package/dist/providers-Oi1jKtkx.d.ts.map +1 -0
  118. package/dist/shared-utils-DqLwMUcj-Cs7um3C7.js.map +1 -1
  119. package/dist/site-footer-nL3CR80X.d.ts +8 -0
  120. package/dist/{site-footer-BigIDuKM.d.ts.map → site-footer-nL3CR80X.d.ts.map} +1 -1
  121. package/dist/site-header-BE3MHLlX.d.ts +8 -0
  122. package/dist/{site-header-m-AqO8bm.d.ts.map → site-header-BE3MHLlX.d.ts.map} +1 -1
  123. package/dist/slot-B-X2-pKU-DOhFF3E_.js.map +1 -1
  124. package/dist/{style-switcher-e8-d3sUq.d.ts → style-switcher-BMyNkGaU.d.ts} +3 -3
  125. package/dist/{style-switcher-e8-d3sUq.d.ts.map → style-switcher-BMyNkGaU.d.ts.map} +1 -1
  126. package/dist/style-switcher-Cvax_0P0.js.map +1 -1
  127. package/dist/{table-DOSBqDDt.d.ts → table-CIk47-yL.d.ts} +6 -6
  128. package/dist/{table-DOSBqDDt.d.ts.map → table-CIk47-yL.d.ts.map} +1 -1
  129. package/dist/{tabs-_OKB-QwX.d.ts → tabs-B_50-l6V.d.ts} +6 -6
  130. package/dist/{tabs-_OKB-QwX.d.ts.map → tabs-B_50-l6V.d.ts.map} +1 -1
  131. package/dist/tailwind-indicator-Cw3XS1Ir.d.ts +7 -0
  132. package/dist/{tailwind-indicator-pbpZIrz8.d.ts.map → tailwind-indicator-Cw3XS1Ir.d.ts.map} +1 -1
  133. package/dist/{typepography-1RFDvJqo.d.ts → typepography-DOEGn7mg.d.ts} +13 -13
  134. package/dist/{typepography-1RFDvJqo.d.ts.map → typepography-DOEGn7mg.d.ts.map} +1 -1
  135. package/dist/{use-colors-CCxJ3J6E.d.ts → use-colors-C2-6OWMC.d.ts} +2 -2
  136. package/dist/use-colors-C2-6OWMC.d.ts.map +1 -0
  137. package/dist/{use-config-CVGpN_gD.d.ts → use-config-CT2CHDom.d.ts} +2 -2
  138. package/dist/use-config-CT2CHDom.d.ts.map +1 -0
  139. package/dist/visibility-hidden-CAHx9RLp-DoPUpniv.js.map +1 -1
  140. package/package.json +1 -1
  141. package/src/components/layouts/command-menu.tsx +12 -3
  142. package/dist/command-menu-BvEJcMbM.d.ts +0 -7
  143. package/dist/command-menu-C5eCuJ1p.js +0 -2
  144. package/dist/command-menu-C5eCuJ1p.js.map +0 -1
  145. package/dist/icons-DOc-gx0p.d.ts +0 -33
  146. package/dist/main-nav-DVKLErQu.d.ts +0 -7
  147. package/dist/main-nav-DVKLErQu.d.ts.map +0 -1
  148. package/dist/mdx-BWQi54_m.d.ts +0 -12
  149. package/dist/mobile-nav-CFTIm8WK.d.ts +0 -7
  150. package/dist/mobile-nav-CFTIm8WK.d.ts.map +0 -1
  151. package/dist/mode-toggle-DazD3zuF.d.ts +0 -7
  152. package/dist/mode-toggle-DazD3zuF.d.ts.map +0 -1
  153. package/dist/providers-6rBUIHJN.d.ts.map +0 -1
  154. package/dist/site-footer-BigIDuKM.d.ts +0 -8
  155. package/dist/site-header-m-AqO8bm.d.ts +0 -8
  156. package/dist/tailwind-indicator-pbpZIrz8.d.ts +0 -7
  157. package/dist/use-colors-CCxJ3J6E.d.ts.map +0 -1
  158. package/dist/use-config-CVGpN_gD.d.ts.map +0 -1
@@ -1,41 +1,41 @@
1
1
  import { t as ButtonProps } from "../../index-Bk_7h9-s.js";
2
2
  import { t as Event } from "../../events-fu3vNJdd.js";
3
- import "../../context-DdAZ5e6e.js";
3
+ import "../../context-CewYP6fx.js";
4
4
  import "../../index-DKjTz6WE.js";
5
- import { t as Callout } from "../../callout-0BtCINKk.js";
6
- import { t as CodeBlock } from "../../code-block-B0w93vdH.js";
7
- import { t as CodeBlockWrapper } from "../../code-block-wrapper-CtCPXtO_.js";
8
- import "../../code-preview-D6FrTX1A.js";
9
- import { n as ComponentPreview } from "../../component-preview-CHng68hR.js";
10
- import { t as ComponentSource } from "../../component-source-CWOUfnWY.js";
11
- import { t as FigcaptionBlock } from "../../figcaption-block-lr2ii6n2.js";
12
- import { t as MermaidBlock } from "../../mermaid-block-C6-6cv5f.js";
5
+ import { t as Callout } from "../../callout-DkH7UtrQ.js";
6
+ import { t as CodeBlock } from "../../code-block-Dgcnn3Px.js";
7
+ import { t as CodeBlockWrapper } from "../../code-block-wrapper-CNcV_wdW.js";
8
+ import "../../code-preview-C4M4NuJ-.js";
9
+ import { n as ComponentPreview } from "../../component-preview-B-gSgXOF.js";
10
+ import { t as ComponentSource } from "../../component-source-BS8Rq18Y.js";
11
+ import { t as FigcaptionBlock } from "../../figcaption-block-Cq91p_fK.js";
12
+ import { t as MermaidBlock } from "../../mermaid-block-DCchUyg8.js";
13
13
  import { r as NpmCommands, t as MdxCodeNodeProperties } from "../../mdx-runtime-DLAfMyJY.js";
14
14
  import "../../unist-C-gDxuYf.js";
15
15
  import "../../index-COTJSnad.js";
16
16
  import "../../types-Cso0EjCR.js";
17
- import "../../pre-block-Pa2SlBev.js";
17
+ import "../../pre-block-BbGgUhah.js";
18
18
  import "../../index-BCvK1fdV.js";
19
19
  import "../../index-BqJL0rSj.js";
20
- import { t as ComponentsList } from "../../components-list-DNtDa4DQ.js";
21
- import { i as TableRow, n as TableCell, r as TableHeader, t as Table } from "../../table-DOSBqDDt.js";
22
- import { i as TabTrigger, n as TabContent, r as TabList, t as Tab } from "../../tabs-_OKB-QwX.js";
23
- import { a as H4, c as Hr, d as P, i as H3, l as LinkBlock, n as H1, o as H5, r as H2, s as H6, t as A, u as LinkedCard } from "../../typepography-1RFDvJqo.js";
20
+ import { t as ComponentsList } from "../../components-list-B0CzvoXJ.js";
21
+ import { i as TableRow, n as TableCell, r as TableHeader, t as Table } from "../../table-CIk47-yL.js";
22
+ import { i as TabTrigger, n as TabContent, r as TabList, t as Tab } from "../../tabs-B_50-l6V.js";
23
+ import { a as H4, c as Hr, d as P, i as H3, l as LinkBlock, n as H1, o as H5, r as H2, s as H6, t as A, u as LinkedCard } from "../../typepography-DOEGn7mg.js";
24
24
  import "../../typography-C040ELJU.js";
25
25
  import "../../index-C3sUSN9A.js";
26
26
  import "../../colors-BFoVQHcV.js";
27
27
  import { t as AspectRatio } from "../../index-CKCoJ9mr.js";
28
28
  import "../../index-DU9NHLk5.js";
29
29
  import "../../index.js";
30
- import * as react0 from "react";
31
- import * as react_jsx_runtime36 from "react/jsx-runtime";
30
+ import * as react29 from "react";
31
+ import * as react_jsx_runtime44 from "react/jsx-runtime";
32
32
  import * as lucide_react6 from "lucide-react";
33
33
  import * as next_image0 from "next/image";
34
34
  import * as next_dist_shared_lib_get_img_props2 from "next/dist/shared/lib/get-img-props";
35
35
 
36
36
  //#region src/components/mdx/mdx-components-registry.d.ts
37
37
  declare const mdxComponents: {
38
- Accordion: react0.ForwardRefExoticComponent<(Omit<react0.HTMLProps<HTMLDivElement>, "ref" | "type" | "value"> & ({
38
+ Accordion: react29.ForwardRefExoticComponent<(Omit<react29.HTMLProps<HTMLDivElement>, "value" | "type" | "ref"> & ({
39
39
  renderOnce?: boolean;
40
40
  } & ({
41
41
  type?: "single";
@@ -49,37 +49,37 @@ declare const mdxComponents: {
49
49
  onValueChange?: (value: string[]) => void;
50
50
  value?: string[];
51
51
  collapsible?: never;
52
- }))) & react0.RefAttributes<HTMLDivElement>>;
53
- AccordionContent: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLDivElement> & {
52
+ }))) & react29.RefAttributes<HTMLDivElement>>;
53
+ AccordionContent: react29.ForwardRefExoticComponent<Omit<react29.HTMLProps<HTMLDivElement> & {
54
54
  rerender?: boolean;
55
- }, "ref"> & react0.RefAttributes<HTMLDivElement>>;
56
- AccordionItem: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLDetailsElement>, "ref" | "value"> & {
55
+ }, "ref"> & react29.RefAttributes<HTMLDivElement>>;
56
+ AccordionItem: react29.ForwardRefExoticComponent<Omit<react29.HTMLProps<HTMLDetailsElement>, "value" | "ref"> & {
57
57
  value?: string;
58
- } & react0.RefAttributes<HTMLDetailsElement>>;
59
- AccordionTrigger: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLElement> & {
58
+ } & react29.RefAttributes<HTMLDetailsElement>>;
59
+ AccordionTrigger: react29.ForwardRefExoticComponent<Omit<react29.HTMLProps<HTMLElement> & {
60
60
  icon?: React.ReactNode;
61
61
  value?: string;
62
- }, "ref"> & react0.RefAttributes<HTMLElement>>;
63
- Alert: react0.ForwardRefExoticComponent<react0.HTMLAttributes<HTMLDivElement> & {
62
+ }, "ref"> & react29.RefAttributes<HTMLElement>>;
63
+ Alert: react29.ForwardRefExoticComponent<react29.HTMLAttributes<HTMLDivElement> & {
64
64
  variant?: "default" | "destructive" | undefined;
65
- } & react0.RefAttributes<HTMLDivElement>>;
66
- AlertDescription: react0.ForwardRefExoticComponent<react0.HTMLAttributes<HTMLDivElement> & react0.RefAttributes<HTMLDivElement>>;
67
- AlertTitle: react0.ForwardRefExoticComponent<react0.HTMLAttributes<HTMLDivElement> & react0.RefAttributes<HTMLDivElement>>;
65
+ } & react29.RefAttributes<HTMLDivElement>>;
66
+ AlertDescription: react29.ForwardRefExoticComponent<react29.HTMLAttributes<HTMLDivElement> & react29.RefAttributes<HTMLDivElement>>;
67
+ AlertTitle: react29.ForwardRefExoticComponent<react29.HTMLAttributes<HTMLDivElement> & react29.RefAttributes<HTMLDivElement>>;
68
68
  AspectRatio: typeof AspectRatio;
69
- Badge: react0.ForwardRefExoticComponent<Omit<Omit<react0.HTMLProps<HTMLDivElement>, "size"> & {
69
+ Badge: react29.ForwardRefExoticComponent<Omit<Omit<react29.HTMLProps<HTMLDivElement>, "size"> & {
70
70
  border?: "default" | "destructive" | "primary" | "secondary" | "warning" | undefined;
71
71
  size?: "default" | "icon" | "lg" | "sm" | undefined;
72
72
  variant?: "default" | "destructive" | "secondary" | "warning" | "nothing" | "dashed" | "outline" | undefined;
73
73
  } & {
74
74
  asChild?: boolean;
75
- }, "ref"> & react0.RefAttributes<HTMLDivElement>>;
76
- Button: react0.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react0.RefAttributes<HTMLButtonElement>>;
77
- Kbd: react0.ForwardRefExoticComponent<Omit<react0.DetailedHTMLProps<react0.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react0.RefAttributes<HTMLElement>>;
75
+ }, "ref"> & react29.RefAttributes<HTMLDivElement>>;
76
+ Button: react29.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react29.RefAttributes<HTMLButtonElement>>;
77
+ Kbd: react29.ForwardRefExoticComponent<Omit<react29.DetailedHTMLProps<react29.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react29.RefAttributes<HTMLElement>>;
78
78
  a: typeof A;
79
79
  blockquote: ({
80
80
  className,
81
81
  ...props
82
- }: React.HTMLAttributes<HTMLElement>) => react_jsx_runtime36.JSX.Element;
82
+ }: React.HTMLAttributes<HTMLElement>) => react_jsx_runtime44.JSX.Element;
83
83
  Callout: typeof Callout;
84
84
  CodeBlockWrapper: typeof CodeBlockWrapper;
85
85
  ComponentPreview: typeof ComponentPreview;
@@ -94,7 +94,7 @@ declare const mdxComponents: {
94
94
  h5: typeof H5;
95
95
  h6: typeof H6;
96
96
  hr: typeof Hr;
97
- Image: react0.ForwardRefExoticComponent<Omit<react0.DetailedHTMLProps<react0.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "height" | "width" | "loading" | "alt" | "src" | "srcSet"> & {
97
+ Image: react29.ForwardRefExoticComponent<Omit<react29.DetailedHTMLProps<react29.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "alt" | "height" | "src" | "srcSet" | "width" | "loading"> & {
98
98
  src: string | next_dist_shared_lib_get_img_props2.StaticImport;
99
99
  alt: string;
100
100
  width?: number | `${number}`;
@@ -115,22 +115,22 @@ declare const mdxComponents: {
115
115
  objectPosition?: string;
116
116
  lazyBoundary?: string;
117
117
  lazyRoot?: string;
118
- } & react0.RefAttributes<HTMLImageElement | null>>;
118
+ } & react29.RefAttributes<HTMLImageElement | null>>;
119
119
  img: ({
120
120
  className,
121
121
  alt,
122
122
  ...props
123
- }: React.ImgHTMLAttributes<HTMLImageElement>) => react_jsx_runtime36.JSX.Element;
123
+ }: React.ImgHTMLAttributes<HTMLImageElement>) => react_jsx_runtime44.JSX.Element;
124
124
  Link: typeof LinkBlock;
125
125
  LinkedCard: typeof LinkedCard;
126
- li: (props: React.HTMLAttributes<HTMLElement>) => react_jsx_runtime36.JSX.Element;
126
+ li: (props: React.HTMLAttributes<HTMLElement>) => react_jsx_runtime44.JSX.Element;
127
127
  MermaidDiagram: typeof MermaidBlock;
128
128
  ol: ({
129
129
  className,
130
130
  ...props
131
- }: React.HTMLAttributes<HTMLOListElement>) => react_jsx_runtime36.JSX.Element;
131
+ }: React.HTMLAttributes<HTMLOListElement>) => react_jsx_runtime44.JSX.Element;
132
132
  p: typeof P;
133
- pre: (props: react0.HTMLAttributes<HTMLPreElement> & {
133
+ pre: (props: react29.HTMLAttributes<HTMLPreElement> & {
134
134
  'data-theme'?: string;
135
135
  __rawString__?: MdxCodeNodeProperties["__rawString__"];
136
136
  __withMeta__?: boolean;
@@ -138,14 +138,14 @@ declare const mdxComponents: {
138
138
  __event__?: Event["name"];
139
139
  } & NpmCommands & {
140
140
  __isMermaid__?: boolean;
141
- }) => react_jsx_runtime36.JSX.Element;
141
+ }) => react_jsx_runtime44.JSX.Element;
142
142
  Step: ({
143
143
  className,
144
144
  ...props
145
- }: React.ComponentProps<"h3">) => react_jsx_runtime36.JSX.Element;
145
+ }: React.ComponentProps<"h3">) => react_jsx_runtime44.JSX.Element;
146
146
  Steps: ({
147
147
  ...props
148
- }: React.ComponentProps<"div">) => react_jsx_runtime36.JSX.Element;
148
+ }: React.ComponentProps<"div">) => react_jsx_runtime44.JSX.Element;
149
149
  table: typeof Table;
150
150
  Tabs: typeof Tab;
151
151
  TabsContent: typeof TabContent;
@@ -157,14 +157,14 @@ declare const mdxComponents: {
157
157
  ul: ({
158
158
  className,
159
159
  ...props
160
- }: React.HTMLAttributes<HTMLUListElement>) => react_jsx_runtime36.JSX.Element;
161
- Lightbulb: react0.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react0.RefAttributes<SVGSVGElement>>;
162
- LinkIcon: react0.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react0.RefAttributes<SVGSVGElement>>;
163
- MapIcon: react0.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react0.RefAttributes<SVGSVGElement>>;
164
- Search: react0.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react0.RefAttributes<SVGSVGElement>>;
165
- Target: react0.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react0.RefAttributes<SVGSVGElement>>;
166
- TriangleAlert: react0.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react0.RefAttributes<SVGSVGElement>>;
167
- Zap: react0.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react0.RefAttributes<SVGSVGElement>>;
160
+ }: React.HTMLAttributes<HTMLUListElement>) => react_jsx_runtime44.JSX.Element;
161
+ Lightbulb: react29.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react29.RefAttributes<SVGSVGElement>>;
162
+ LinkIcon: react29.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react29.RefAttributes<SVGSVGElement>>;
163
+ MapIcon: react29.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react29.RefAttributes<SVGSVGElement>>;
164
+ Search: react29.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react29.RefAttributes<SVGSVGElement>>;
165
+ Target: react29.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react29.RefAttributes<SVGSVGElement>>;
166
+ TriangleAlert: react29.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react29.RefAttributes<SVGSVGElement>>;
167
+ Zap: react29.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react29.RefAttributes<SVGSVGElement>>;
168
168
  };
169
169
  //#endregion
170
170
  export { mdxComponents };
@@ -1,10 +1,10 @@
1
1
  import { t as ButtonProps } from "../../index-Bk_7h9-s.js";
2
2
  import { t as AspectRatio } from "../../index-CKCoJ9mr.js";
3
- import * as react48 from "react";
3
+ import * as react0 from "react";
4
4
 
5
5
  //#region src/components/mdx/mdx-components-ui.d.ts
6
6
  declare const mdxUiComponents: {
7
- Accordion: react48.ForwardRefExoticComponent<(Omit<react48.HTMLProps<HTMLDivElement>, "ref" | "type" | "value"> & ({
7
+ Accordion: react0.ForwardRefExoticComponent<(Omit<react0.HTMLProps<HTMLDivElement>, "value" | "type" | "ref"> & ({
8
8
  renderOnce?: boolean;
9
9
  } & ({
10
10
  type?: "single";
@@ -18,32 +18,32 @@ declare const mdxUiComponents: {
18
18
  onValueChange?: (value: string[]) => void;
19
19
  value?: string[];
20
20
  collapsible?: never;
21
- }))) & react48.RefAttributes<HTMLDivElement>>;
22
- AccordionContent: react48.ForwardRefExoticComponent<Omit<react48.HTMLProps<HTMLDivElement> & {
21
+ }))) & react0.RefAttributes<HTMLDivElement>>;
22
+ AccordionContent: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLDivElement> & {
23
23
  rerender?: boolean;
24
- }, "ref"> & react48.RefAttributes<HTMLDivElement>>;
25
- AccordionItem: react48.ForwardRefExoticComponent<Omit<react48.HTMLProps<HTMLDetailsElement>, "ref" | "value"> & {
24
+ }, "ref"> & react0.RefAttributes<HTMLDivElement>>;
25
+ AccordionItem: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLDetailsElement>, "value" | "ref"> & {
26
26
  value?: string;
27
- } & react48.RefAttributes<HTMLDetailsElement>>;
28
- AccordionTrigger: react48.ForwardRefExoticComponent<Omit<react48.HTMLProps<HTMLElement> & {
27
+ } & react0.RefAttributes<HTMLDetailsElement>>;
28
+ AccordionTrigger: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLElement> & {
29
29
  icon?: React.ReactNode;
30
30
  value?: string;
31
- }, "ref"> & react48.RefAttributes<HTMLElement>>;
32
- Alert: react48.ForwardRefExoticComponent<react48.HTMLAttributes<HTMLDivElement> & {
31
+ }, "ref"> & react0.RefAttributes<HTMLElement>>;
32
+ Alert: react0.ForwardRefExoticComponent<react0.HTMLAttributes<HTMLDivElement> & {
33
33
  variant?: "default" | "destructive" | undefined;
34
- } & react48.RefAttributes<HTMLDivElement>>;
35
- AlertDescription: react48.ForwardRefExoticComponent<react48.HTMLAttributes<HTMLDivElement> & react48.RefAttributes<HTMLDivElement>>;
36
- AlertTitle: react48.ForwardRefExoticComponent<react48.HTMLAttributes<HTMLDivElement> & react48.RefAttributes<HTMLDivElement>>;
34
+ } & react0.RefAttributes<HTMLDivElement>>;
35
+ AlertDescription: react0.ForwardRefExoticComponent<react0.HTMLAttributes<HTMLDivElement> & react0.RefAttributes<HTMLDivElement>>;
36
+ AlertTitle: react0.ForwardRefExoticComponent<react0.HTMLAttributes<HTMLDivElement> & react0.RefAttributes<HTMLDivElement>>;
37
37
  AspectRatio: typeof AspectRatio;
38
- Badge: react48.ForwardRefExoticComponent<Omit<Omit<react48.HTMLProps<HTMLDivElement>, "size"> & {
38
+ Badge: react0.ForwardRefExoticComponent<Omit<Omit<react0.HTMLProps<HTMLDivElement>, "size"> & {
39
39
  border?: "default" | "destructive" | "primary" | "secondary" | "warning" | undefined;
40
40
  size?: "default" | "icon" | "lg" | "sm" | undefined;
41
41
  variant?: "default" | "destructive" | "secondary" | "warning" | "nothing" | "dashed" | "outline" | undefined;
42
42
  } & {
43
43
  asChild?: boolean;
44
- }, "ref"> & react48.RefAttributes<HTMLDivElement>>;
45
- Button: react48.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react48.RefAttributes<HTMLButtonElement>>;
46
- Kbd: react48.ForwardRefExoticComponent<Omit<react48.DetailedHTMLProps<react48.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react48.RefAttributes<HTMLElement>>;
44
+ }, "ref"> & react0.RefAttributes<HTMLDivElement>>;
45
+ Button: react0.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react0.RefAttributes<HTMLButtonElement>>;
46
+ Kbd: react0.ForwardRefExoticComponent<Omit<react0.DetailedHTMLProps<react0.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react0.RefAttributes<HTMLElement>>;
47
47
  };
48
48
  //#endregion
49
49
  export { mdxUiComponents };
@@ -1,2 +1,2 @@
1
- import { t as Mdx } from "../../mdx-BWQi54_m.js";
1
+ import { t as Mdx } from "../../mdx-D5ge0Tle.js";
2
2
  export { Mdx };
@@ -1,2 +1,2 @@
1
- import { t as MobileNav } from "../mobile-nav-CFTIm8WK.js";
1
+ import { t as MobileNav } from "../mobile-nav-B1YJYAwN.js";
2
2
  export { MobileNav };
@@ -1,2 +1,2 @@
1
- import { t as ModeSwitcher } from "../mode-toggle-DazD3zuF.js";
1
+ import { t as ModeSwitcher } from "../mode-toggle-CbZCMzxt.js";
2
2
  export { ModeSwitcher };
@@ -1,2 +1,2 @@
1
- import { i as PageHeaderHeading, n as PageHeader, r as PageHeaderDescription, t as PageActions } from "../page-header-CS5XM1q2.js";
1
+ import { i as PageHeaderHeading, n as PageHeader, r as PageHeaderDescription, t as PageActions } from "../page-header-B_OFmaDG.js";
2
2
  export { PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading };
@@ -1,2 +1,2 @@
1
- import { t as ThemeProvider } from "../providers-6rBUIHJN.js";
1
+ import { t as ThemeProvider } from "../providers-Oi1jKtkx.js";
2
2
  export { ThemeProvider };
@@ -1,2 +1,2 @@
1
- import { t as StyleSwitcher } from "../style-switcher-e8-d3sUq.js";
1
+ import { t as StyleSwitcher } from "../style-switcher-BMyNkGaU.js";
2
2
  export { StyleSwitcher };
@@ -1,12 +1,12 @@
1
1
  import { r as DocsEntry } from "./context.types-Bfz_W9_Q.js";
2
- import * as react_jsx_runtime90 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime70 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/mdx/mdx-components/components-list.d.ts
5
5
  declare function ComponentsList({
6
6
  components
7
7
  }: {
8
8
  components?: DocsEntry[];
9
- }): react_jsx_runtime90.JSX.Element;
9
+ }): react_jsx_runtime70.JSX.Element;
10
10
  //#endregion
11
11
  export { ComponentsList as t };
12
- //# sourceMappingURL=components-list-DNtDa4DQ.d.ts.map
12
+ //# sourceMappingURL=components-list-B0CzvoXJ.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components-list-DNtDa4DQ.d.ts","names":[],"sources":["../src/components/mdx/mdx-components/components-list.tsx"],"sourcesContent":[],"mappings":";;;;iBAKgB,cAAA;;;eAA8C;IAAa,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"components-list-B0CzvoXJ.d.ts","names":[],"sources":["../src/components/mdx/mdx-components/components-list.tsx"],"sourcesContent":[],"mappings":";;;;iBAKgB,cAAA;;;eAA8C;IAAa,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,2 +1,2 @@
1
- import { a as useRegistryIndex, i as useDocsEntries, n as useDocsConfig, o as useSiteConfig, r as useDocsContext, t as DocsProvider } from "../context-DdAZ5e6e.js";
1
+ import { a as useRegistryIndex, i as useDocsEntries, n as useDocsConfig, o as useSiteConfig, r as useDocsContext, t as DocsProvider } from "../context-CewYP6fx.js";
2
2
  export { DocsProvider, useDocsConfig, useDocsContext, useDocsEntries, useRegistryIndex, useSiteConfig };
@@ -1,4 +1,4 @@
1
1
  import { a as RegistryIndex, i as DocsSiteConfig, n as DocsContextValue, o as TocEntry, r as DocsEntry, t as DocsConfig } from "../context.types-Bfz_W9_Q.js";
2
- import { a as useRegistryIndex, i as useDocsEntries, n as useDocsConfig, o as useSiteConfig, r as useDocsContext, t as DocsProvider } from "../context-DdAZ5e6e.js";
2
+ import { a as useRegistryIndex, i as useDocsEntries, n as useDocsConfig, o as useSiteConfig, r as useDocsContext, t as DocsProvider } from "../context-CewYP6fx.js";
3
3
  import "../index-DKjTz6WE.js";
4
4
  export { DocsConfig, DocsContextValue, DocsEntry, DocsProvider, DocsSiteConfig, RegistryIndex, TocEntry, useDocsConfig, useDocsContext, useDocsEntries, useRegistryIndex, useSiteConfig };
@@ -1,6 +1,6 @@
1
1
  import { a as RegistryIndex, i as DocsSiteConfig, n as DocsContextValue, r as DocsEntry, t as DocsConfig } from "./context.types-Bfz_W9_Q.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/context/context.d.ts
6
6
  declare function DocsProvider({
@@ -15,7 +15,7 @@ declare function DocsProvider({
15
15
  docsConfig: DocsConfig;
16
16
  registryIndex?: RegistryIndex;
17
17
  siteConfig: DocsSiteConfig;
18
- }): react_jsx_runtime0.JSX.Element;
18
+ }): react_jsx_runtime25.JSX.Element;
19
19
  declare function useDocsContext(): DocsContextValue;
20
20
  declare function useDocsConfig(): DocsConfig;
21
21
  declare function useSiteConfig(): DocsSiteConfig;
@@ -23,4 +23,4 @@ declare function useDocsEntries(): DocsEntry[] | undefined;
23
23
  declare function useRegistryIndex(): RegistryIndex | undefined;
24
24
  //#endregion
25
25
  export { useRegistryIndex as a, useDocsEntries as i, useDocsConfig as n, useSiteConfig as o, useDocsContext as r, DocsProvider as t };
26
- //# sourceMappingURL=context-DdAZ5e6e.d.ts.map
26
+ //# sourceMappingURL=context-CewYP6fx.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-DdAZ5e6e.d.ts","names":[],"sources":["../src/context/context.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOgB,YAAA;;;;;;;YAOJ,OAAA,CAAM;SACT;EARO,UAAA,EASF,UATc;EAC1B,aAAA,CAAA,EASgB,aAThB;EACA,UAAA,EASY,cATZ;CACA,CAAA,EASD,kBAAA,CAAA,GAAA,CAAA,OATC;AACA,iBAsBc,cAAA,CAAA,CAtBd,EAsB4B,gBAtB5B;AACA,iBA+Bc,aAAA,CAAA,CA/Bd,EA+B2B,UA/B3B;AAEU,iBAqCI,aAAA,CAAA,CArCE,EAqCW,cArCX;AACT,iBA4CO,cAAA,CAAA,CA5CP,EA4CqB,SA5CrB,EAAA,GAAA,SAAA;AACK,iBA+CE,gBAAA,CAAA,CA/CF,EA+CkB,aA/ClB,GAAA,SAAA"}
1
+ {"version":3,"file":"context-CewYP6fx.d.ts","names":[],"sources":["../src/context/context.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOgB,YAAA;;;;;;;YAOJ,OAAA,CAAM;SACT;EARO,UAAA,EASF,UATc;EAC1B,aAAA,CAAA,EASgB,aAThB;EACA,UAAA,EASY,cATZ;CACA,CAAA,EASD,mBAAA,CAAA,GAAA,CAAA,OATC;AACA,iBAsBc,cAAA,CAAA,CAtBd,EAsB4B,gBAtB5B;AACA,iBA+Bc,aAAA,CAAA,CA/Bd,EA+B2B,UA/B3B;AAEU,iBAqCI,aAAA,CAAA,CArCE,EAqCW,cArCX;AACT,iBA4CO,cAAA,CAAA,CA5CP,EA4CqB,SA5CrB,EAAA,GAAA,SAAA;AACK,iBA+CE,gBAAA,CAAA,CA/CF,EA+CkB,aA/ClB,GAAA,SAAA"}
@@ -1,6 +1,6 @@
1
1
  import { t as ButtonProps } from "./index-Bk_7h9-s.js";
2
2
  import { t as Event } from "./events-fu3vNJdd.js";
3
- import * as react_jsx_runtime1 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/copy-button.d.ts
6
6
  declare function copyToClipboardWithMeta(value: string, event?: Event): Promise<void>;
@@ -14,7 +14,7 @@ declare function CopyButton({
14
14
  variant,
15
15
  event,
16
16
  ...props
17
- }: CopyButtonProps): react_jsx_runtime1.JSX.Element;
17
+ }: CopyButtonProps): react_jsx_runtime0.JSX.Element;
18
18
  //#endregion
19
19
  export { CopyButtonProps as n, copyToClipboardWithMeta as r, CopyButton as t };
20
- //# sourceMappingURL=copy-button-DJt9b314.d.ts.map
20
+ //# sourceMappingURL=copy-button-Dba6NMr7.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-button-DJt9b314.d.ts","names":[],"sources":["../src/components/copy-button.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQsB,uBAAA,wBAA+C,QAAK;KAO9D,eAAA,GAAe,WAAA;;UAEjB;AATV,CAAA;AAOY,iBAKI,UAAA,CALW;EAAA,KAAA;EAAA,SAEZ;EAAA,OAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAGsE,eAHtE,CAAA,EAGqF,kBAAA,CAAA,GAAA,CAAA,OAHrF"}
1
+ {"version":3,"file":"copy-button-Dba6NMr7.d.ts","names":[],"sources":["../src/components/copy-button.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQsB,uBAAA,wBAA+C,QAAK;KAO9D,eAAA,GAAe,WAAA;;UAEjB;AATV,CAAA;AAOY,iBAKI,UAAA,CALW;EAAA,KAAA;EAAA,SAEZ;EAAA,OAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAGsE,eAHtE,CAAA,EAGqF,kBAAA,CAAA,GAAA,CAAA,OAHrF"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-collection-S3CvffX1-DA20ZU15.js","names":["a","n","r","o","i","t","e","s","c","l","d"],"sources":["../../duck-primitives/dist/create-collection-S3CvffX1.js"],"sourcesContent":["import{n as e}from\"./compose-ref-qJpEeJiW.js\";import{r as t}from\"./slot-B-X2-pKU.js\";import{n}from\"./create-context-DVtxYIR4.js\";import r from\"react\";import{jsx as i}from\"react/jsx-runtime\";function a(a){let o=a+`CollectionProvider`,[s,c]=n(o),[l,u]=s(o,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,a=r.useRef(null),o=r.useRef(new Map).current;return i(l,{scope:t,itemMap:o,collectionRef:a,children:n})};d.displayName=o;let f=a+`CollectionSlot`,p=t(f),m=r.forwardRef((t,n)=>{let{scope:r,children:a}=t;return i(p,{ref:e(n,u(f,r).collectionRef),children:a})});m.displayName=f;let h=a+`CollectionItemSlot`,g=`data-collection-item`,_=t(h),v=r.forwardRef((t,n)=>{let{scope:a,children:o,...s}=t,c=r.useRef(null),l=e(n,c),d=u(h,a);return r.useEffect(()=>(d.itemMap.set(c,{ref:c,...s}),()=>void d.itemMap.delete(c))),i(_,{[g]:``,ref:l,children:o})});v.displayName=h;function y(e){let t=u(a+`CollectionConsumer`,e);return r.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let n=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(t.itemMap.values()).sort((e,t)=>n.indexOf(e.ref.current)-n.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])}return[{Provider:d,Slot:m,ItemSlot:v},y,c]}export{a as t};"],"mappings":"sKAA8L,SAAS,EAAE,EAAE,CAA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AOE,EAAE,gBAAgB,CAAC,IAAII,EAAE,EAAE,cAAc,QAAQ,GAAG,CAACA,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAKA,EAAE,iBAAiB,IAAI,EAAE,GAAG,CAAC,CAAC,OAAO,MAAM,KAAK,EAAE,QAAQ,QAAQ,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQA,EAAE,IAAI,QAAQ,CAAC,EAAE,QAAQD,EAAE,IAAI,QAAQ,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE"}
1
+ {"version":3,"file":"create-collection-S3CvffX1-DA20ZU15.js","names":["a","n","r","o","i","t","e","s","c","l","d"],"sources":["../../duck-primitives/dist/create-collection-S3CvffX1.js"],"sourcesContent":["import{n as e}from\"./compose-ref-qJpEeJiW.js\";import{r as t}from\"./slot-B-X2-pKU.js\";import{n}from\"./create-context-DVtxYIR4.js\";import r from\"react\";import{jsx as i}from\"react/jsx-runtime\";function a(a){let o=a+`CollectionProvider`,[s,c]=n(o),[l,u]=s(o,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,a=r.useRef(null),o=r.useRef(new Map).current;return i(l,{scope:t,itemMap:o,collectionRef:a,children:n})};d.displayName=o;let f=a+`CollectionSlot`,p=t(f),m=r.forwardRef((t,n)=>{let{scope:r,children:a}=t;return i(p,{ref:e(n,u(f,r).collectionRef),children:a})});m.displayName=f;let h=a+`CollectionItemSlot`,g=`data-collection-item`,_=t(h),v=r.forwardRef((t,n)=>{let{scope:a,children:o,...s}=t,c=r.useRef(null),l=e(n,c),d=u(h,a);return r.useEffect(()=>(d.itemMap.set(c,{ref:c,...s}),()=>void d.itemMap.delete(c))),i(_,{[g]:``,ref:l,children:o})});v.displayName=h;function y(e){let t=u(a+`CollectionConsumer`,e);return r.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let n=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(t.itemMap.values()).sort((e,t)=>n.indexOf(e.ref.current)-n.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])}return[{Provider:d,Slot:m,ItemSlot:v},y,c]}export{a as t};\n//# sourceMappingURL=create-collection-S3CvffX1.js.map"],"mappings":"sKAA8L,SAAS,EAAE,EAAE,CAAC,IAAI,EAAEA,EAAE,qBAAqB,CAAC,EAAE,GAAGC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,cAAc,CAAC,QAAQ,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,MAAM,EAAE,SAAS,GAAG,EAAED,EAAEE,EAAE,OAAO,KAAK,CAACC,EAAED,EAAE,OAAO,IAAI,IAAI,CAAC,QAAQ,OAAOE,EAAE,EAAE,CAAC,MAAM,EAAE,QAAQD,EAAE,cAAcH,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,YAAY,EAAE,IAAI,EAAEA,EAAE,iBAAiB,EAAEK,EAAE,EAAE,CAAC,EAAEH,EAAE,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,MAAMA,EAAE,SAASF,GAAG,EAAE,OAAOI,EAAE,EAAE,CAAC,IAAIE,EAAE,EAAE,EAAE,EAAEJ,EAAE,CAAC,cAAc,CAAC,SAASF,EAAE,CAAC,EAAE,CAAC,EAAE,YAAY,EAAE,IAAI,EAAEA,EAAE,qBAAqB,EAAE,uBAAuB,EAAEK,EAAE,EAAE,CAAC,EAAEH,EAAE,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,MAAMF,EAAE,SAASG,EAAE,GAAGI,GAAG,EAAEC,EAAEN,EAAE,OAAO,KAAK,CAACO,EAAEH,EAAE,EAAEE,EAAE,CAACE,EAAE,EAAE,EAAEV,EAAE,CAAC,OAAOE,EAAE,eAAeQ,EAAE,QAAQ,IAAIF,EAAE,CAAC,IAAIA,EAAE,GAAGD,EAAE,CAAC,KAAK,KAAKG,EAAE,QAAQ,OAAOF,EAAE,EAAE,CAACJ,EAAE,EAAE,EAAE,GAAG,GAAG,IAAIK,EAAE,SAASN,EAAE,CAAC,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,CAAC,IAAI,EAAE,EAAEH,EAAE,qBAAqB,EAAE,CAAC,OAAOE,EAAE,gBAAgB,CAAC,IAAII,EAAE,EAAE,cAAc,QAAQ,GAAG,CAACA,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAKA,EAAE,iBAAiB,IAAI,EAAE,GAAG,CAAC,CAAC,OAAO,MAAM,KAAK,EAAE,QAAQ,QAAQ,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQA,EAAE,IAAI,QAAQ,CAAC,EAAE,QAAQD,EAAE,IAAI,QAAQ,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-WKxDI8AJ.js","names":["s","c","l","r","u","d","f","i","p","m","h","a","g","_","e","v","y","t","o","n","a","o","r","s","c","l","n","i","t","s","c","e","l","u","d","f","t","a","i","n","r","n","r","e","i","t","d","n","c","e","i","a","o","r","p","s","t","h","_","v","y","b","m","f","l","u","i","a","n","o","s","c","t","r","e","o","n","a","e","c","u","r","s","i","t","n","o","s","c","t","r","e","a","a","l","u","d","i","f","t","c","o","n","r","DialogPrimitive.Root","DialogPrimitive.Trigger","DialogPrimitive.Portal","DialogPrimitive.Close","React","DialogPrimitive.Overlay","DialogPrimitive.Content","DialogPrimitive.Title","DialogPrimitive.Description"],"sources":["../../duck-primitives/dist/dialog-eVmmzoNa.js","../../duck-primitives/dist/close-BnuQn5zt.js","../../duck-primitives/dist/portal-D-8siEkQ.js","../../duck-primitives/dist/warnings-CnWKD-J1.js","../../duck-primitives/dist/content-C8xXmjhT.js","../../duck-primitives/dist/description-CVkksaX8.js","../../duck-primitives/dist/overlay-ClFK6iKd.js","../../duck-primitives/dist/title-BCGaRVEX.js","../../duck-primitives/dist/trigger-fmItGxNT.js","../../registry-ui/src/dialog/dialog.tsx"],"sourcesContent":["import{a as e}from\"./direction-B-anGbxM.js\";import{t}from\"./use-controllable-state-BZ2dV8Ma.js\";import{t as n}from\"./use-id-B-hswbEL.js\";import{n as r,t as i}from\"./create-context-DVtxYIR4.js\";import*as a from\"react\";import{jsx as o}from\"react/jsx-runtime\";const s=`Dialog`,[c,l]=r(s),[u,d]=c(s),f=r=>{let{__scopeDialog:i,children:c,open:l,defaultOpen:d,onOpenChange:f,dir:p,modal:m=!0}=r,h=a.useRef(null),g=a.useRef(null),_=e(p),[v,y]=t({prop:l,defaultProp:d??!1,onChange:f,caller:s});return o(u,{scope:i,triggerRef:h,contentRef:g,contentId:n(),titleId:n(),descriptionId:n(),open:v,onOpenChange:y,onOpenToggle:a.useCallback(()=>y(e=>!e),[y]),modal:m,dir:_,children:c})};f.displayName=s;function p(e){return e?`open`:`closed`}const[m,h]=i(`DialogTitleWarning`,{contentName:`DialogContent`,titleName:`DialogTitle`,docsSlug:`dialog`});export{l as a,h as c,c as i,u as n,p as o,m as r,d as s,f as t};","import{t as e}from\"./compose-event-handler-DeOCM8_f.js\";import{t}from\"./primitive-elements-Ds9SbVBa.js\";import{s as n}from\"./dialog-eVmmzoNa.js\";import*as r from\"react\";import{jsx as i}from\"react/jsx-runtime\";const a=`DialogClose`,o=r.forwardRef((r,o)=>{let{__scopeDialog:s,...c}=r,l=n(a,s);return i(t.button,{\"data-slot\":`dialog-close`,type:`button`,dir:l.dir,...c,ref:o,onClick:e(r.onClick,()=>l.onOpenChange(!1))})});o.displayName=a;export{o as t};","import{i as e,s as t}from\"./dialog-eVmmzoNa.js\";import{t as n}from\"./presence-Cky0bbMt.js\";import{t as r}from\"./portal-BNuCvTAR.js\";import*as i from\"react\";import{jsx as a}from\"react/jsx-runtime\";const o=`DialogPortal`,[s,c]=e(o,{forceMount:void 0}),l=e=>{let{__scopeDialog:c,forceMount:l,children:u,container:d}=e,f=t(o,c);return a(s,{scope:c,forceMount:l,children:i.Children.map(u,e=>a(n,{present:l||f.open,children:a(r,{asChild:!0,container:d,children:e})}))})};l.displayName=o;export{s as n,c as r,l as t};","import{c as e}from\"./dialog-eVmmzoNa.js\";import*as t from\"react\";const n=({titleId:n})=>{let r=e(`DialogTitleWarning`),i=`\\`${r.contentName}\\` requires a \\`${r.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${r.titleName}\\`, you can wrap it with our VisuallyHidden component.`;return t.useEffect(()=>{n&&(document.getElementById(n)||console.error(i))},[i,n]),null},r=({contentRef:n,descriptionId:r})=>{let i=`Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${e(`DialogDescriptionWarning`).contentName}}.`;return t.useEffect(()=>{let e=n.current?.getAttribute(`aria-describedby`);r&&e&&(document.getElementById(r)||console.warn(i))},[i,n,r]),null};export{n,r as t};","import{t as e}from\"./compose-event-handler-DeOCM8_f.js\";import{n as t}from\"./compose-ref-qJpEeJiW.js\";import{o as n,s as r}from\"./dialog-eVmmzoNa.js\";import{t as i}from\"./dismissable-layer-HqAWph8n.js\";import{t as a}from\"./focus-scope-Cg84UXRu.js\";import{n as o}from\"./use-focus-guard-Bgln4wZn.js\";import{t as s}from\"./presence-Cky0bbMt.js\";import{r as c}from\"./portal-D-8siEkQ.js\";import{n as l,t as u}from\"./warnings-CnWKD-J1.js\";import*as d from\"react\";import{Fragment as f,jsx as p,jsxs as m}from\"react/jsx-runtime\";import{hideOthers as h}from\"aria-hidden\";const g=`DialogContent`,_=d.forwardRef((e,t)=>{let n=c(g,e.__scopeDialog),{forceMount:i=n.forceMount,...a}=e,o=r(g,e.__scopeDialog);return p(s,{present:i||o.open,children:o.modal?p(v,{...a,ref:t}):p(y,{...a,ref:t})})});_.displayName=g;const v=d.forwardRef((n,i)=>{let a=r(g,n.__scopeDialog),o=d.useRef(null),s=t(i,a.contentRef,o);return d.useEffect(()=>{let e=o.current;if(e)return h(e)},[]),p(b,{...n,ref:s,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:e(n.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:e(n.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:e(n.onFocusOutside,e=>e.preventDefault())})}),y=d.forwardRef((e,t)=>{let n=r(g,e.__scopeDialog),i=d.useRef(!1),a=d.useRef(!1);return p(b,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,t.detail.originalEvent.type===`pointerdown`&&(a.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&a.current&&t.preventDefault()}})}),b=d.forwardRef((e,s)=>{let{__scopeDialog:c,trapFocus:h,onOpenAutoFocus:_,onCloseAutoFocus:v,...y}=e,b=r(g,c),x=d.useRef(null),S=t(s,x);return o(),m(f,{children:[p(a,{asChild:!0,loop:!0,trapped:h,onMountAutoFocus:_,onUnmountAutoFocus:v,children:p(i,{\"data-slot\":`dialog-content`,role:`dialog`,id:b.contentId,\"aria-describedby\":b.descriptionId,\"aria-labelledby\":b.titleId,\"data-state\":n(b.open),dir:b.dir,...y,ref:S,onDismiss:()=>b.onOpenChange(!1)})}),process.env.NODE_ENV!==`production`&&m(f,{children:[p(l,{titleId:b.titleId}),p(u,{contentRef:x,descriptionId:b.descriptionId})]})]})});export{_ as t};","import{t as e}from\"./primitive-elements-Ds9SbVBa.js\";import{s as t}from\"./dialog-eVmmzoNa.js\";import*as n from\"react\";import{jsx as r}from\"react/jsx-runtime\";const i=`DialogDescription`,a=n.forwardRef((n,a)=>{let{__scopeDialog:o,...s}=n,c=t(i,o);return r(e.p,{\"data-slot\":`dialog-description`,id:c.descriptionId,dir:c.dir,...s,ref:a})});a.displayName=i;export{a as t};","import{r as e}from\"./slot-B-X2-pKU.js\";import{t}from\"./primitive-elements-Ds9SbVBa.js\";import{o as n,s as r}from\"./dialog-eVmmzoNa.js\";import{t as i}from\"./presence-Cky0bbMt.js\";import{r as a}from\"./portal-D-8siEkQ.js\";import*as o from\"react\";import{jsx as s}from\"react/jsx-runtime\";import{RemoveScroll as c}from\"react-remove-scroll\";const l=`DialogOverlay`,u=o.forwardRef((e,t)=>{let n=a(l,e.__scopeDialog),{forceMount:o=n.forceMount,...c}=e,u=r(l,e.__scopeDialog);return u.modal?s(i,{present:o||u.open,children:s(f,{...c,ref:t})}):null});u.displayName=l;const d=e(`DialogOverlay.RemoveScroll`),f=o.forwardRef((e,i)=>{let{__scopeDialog:a,...o}=e,u=r(l,a);return s(c,{as:d,allowPinchZoom:!0,shards:[u.contentRef],children:s(t.div,{\"data-slot\":`dialog-overlay`,\"data-state\":n(u.open),dir:u.dir,...o,ref:i,style:{pointerEvents:`auto`,...o.style}})})});export{u as t};","import{t as e}from\"./primitive-elements-Ds9SbVBa.js\";import{s as t}from\"./dialog-eVmmzoNa.js\";import*as n from\"react\";import{jsx as r}from\"react/jsx-runtime\";const i=`DialogTitle`,a=n.forwardRef((n,a)=>{let{__scopeDialog:o,...s}=n,c=t(i,o);return r(e.h2,{\"data-slot\":`dialog-title`,id:c.titleId,dir:c.dir,...s,ref:a})});a.displayName=i;export{a as t};","import{t as e}from\"./compose-event-handler-DeOCM8_f.js\";import{n as t}from\"./compose-ref-qJpEeJiW.js\";import{t as n}from\"./primitive-elements-Ds9SbVBa.js\";import{o as r,s as i}from\"./dialog-eVmmzoNa.js\";import*as a from\"react\";import{jsx as o}from\"react/jsx-runtime\";const s=`DialogTrigger`,c=a.forwardRef((a,c)=>{let{__scopeDialog:l,...u}=a,d=i(s,l),f=t(c,d.triggerRef);return o(n.button,{\"data-slot\":`dialog-trigger`,type:`button`,\"aria-haspopup\":`dialog`,\"aria-expanded\":d.open,\"aria-controls\":d.contentId,\"data-state\":r(d.open),dir:d.dir,...u,ref:f,onClick:e(a.onClick,d.onOpenToggle)})});c.displayName=s;export{c as t};","'use client'\n\nimport { cn } from '@gentleduck/libs/cn'\nimport * as DialogPrimitive from '@gentleduck/primitives/dialog'\nimport { X } from 'lucide-react'\nimport * as React from 'react'\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80 data-[state=closed]:animate-out data-[state=open]:animate-in',\n 'transition-all transition-discrete duration-[200ms,150ms] ease-(--duck-motion-ease)',\n className,\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & { closeText?: string }\n>(({ className, children, closeText = 'Close', ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-1/2 left-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg data-[state=closed]:animate-out data-[state=open]:animate-in sm:rounded-lg',\n 'transition-all transition-discrete duration-[200ms,150ms] ease-(--duck-motion-ease)',\n className,\n )}\n {...props}>\n {children}\n <DialogPrimitive.Close className=\"absolute end-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X aria-hidden=\"true\" className=\"h-4 w-4\" />\n <span className=\"sr-only\">{closeText}</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col space-y-1.5 text-center sm:text-start', className)} {...props} />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-2', className)} {...props} />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn('font-semibold text-lg leading-none tracking-tight', className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description ref={ref} className={cn('text-muted-foreground text-sm', className)} {...props} />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n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,GAAiB,CAAA,EACtB,CAAA,EACA,CAAA,CAAA,CACb,CACf,CACF,EAAc,YAAA,EAAsC,YAEpD,MAAM,IAAgB,CAAE,YAAW,GAAG,KACpC,EAAC,MAAA,CAAI,UAAW,EAAG,sDAAuD,EAAU,CAAE,GAAI,GAAS,CAErG,GAAa,YAAc,eAE3B,MAAM,IAAgB,CAAE,YAAW,GAAG,KACpC,EAAC,MAAA,CAAI,UAAW,EAAG,4DAA6D,EAAU,CAAE,GAAI,GAAS,CAE3G,GAAa,YAAc,eAE3B,MAAM,EAAcC,EAAM,YAGvB,CAAE,YAAW,GAAG,GAAS,IAC1B,EAACG,EAAAA,CACM,MACL,UAAW,EAAG,oDAAqD,EAAU,CAC7E,GAAI,GACJ,CACF,CACF,EAAY,YAAA,EAAoC,YAEhD,MAAM,EAAoBH,EAAM,YAG7B,CAAE,YAAW,GAAG,GAAS,IAC1B,EAACI,EAAAA,CAAiC,MAAK,UAAW,EAAG,gCAAiC,EAAU,CAAE,GAAI,GAAS,CAC/G,CACF,EAAkB,YAAA,EAA0C"}
1
+ {"version":3,"file":"dialog-WKxDI8AJ.js","names":["s","c","l","r","u","d","f","i","p","m","h","a","g","_","e","v","y","t","o","n","a","o","r","s","c","l","n","i","t","s","c","e","l","u","d","f","t","a","i","n","r","n","r","e","i","t","d","n","c","e","i","a","o","r","p","s","t","h","_","v","y","b","m","f","l","u","i","a","n","o","s","c","t","r","e","o","n","a","e","c","u","r","s","i","t","n","o","s","c","t","r","e","a","a","l","u","d","i","f","t","c","o","n","r","DialogPrimitive.Root","DialogPrimitive.Trigger","DialogPrimitive.Portal","DialogPrimitive.Close","React","DialogPrimitive.Overlay","DialogPrimitive.Content","DialogPrimitive.Title","DialogPrimitive.Description"],"sources":["../../duck-primitives/dist/dialog-eVmmzoNa.js","../../duck-primitives/dist/close-BnuQn5zt.js","../../duck-primitives/dist/portal-D-8siEkQ.js","../../duck-primitives/dist/warnings-CnWKD-J1.js","../../duck-primitives/dist/content-C8xXmjhT.js","../../duck-primitives/dist/description-CVkksaX8.js","../../duck-primitives/dist/overlay-ClFK6iKd.js","../../duck-primitives/dist/title-BCGaRVEX.js","../../duck-primitives/dist/trigger-fmItGxNT.js","../../registry-ui/src/dialog/dialog.tsx"],"sourcesContent":["import{a as e}from\"./direction-B-anGbxM.js\";import{t}from\"./use-controllable-state-BZ2dV8Ma.js\";import{t as n}from\"./use-id-B-hswbEL.js\";import{n as r,t as i}from\"./create-context-DVtxYIR4.js\";import*as a from\"react\";import{jsx as o}from\"react/jsx-runtime\";const s=`Dialog`,[c,l]=r(s),[u,d]=c(s),f=r=>{let{__scopeDialog:i,children:c,open:l,defaultOpen:d,onOpenChange:f,dir:p,modal:m=!0}=r,h=a.useRef(null),g=a.useRef(null),_=e(p),[v,y]=t({prop:l,defaultProp:d??!1,onChange:f,caller:s});return o(u,{scope:i,triggerRef:h,contentRef:g,contentId:n(),titleId:n(),descriptionId:n(),open:v,onOpenChange:y,onOpenToggle:a.useCallback(()=>y(e=>!e),[y]),modal:m,dir:_,children:c})};f.displayName=s;function p(e){return e?`open`:`closed`}const[m,h]=i(`DialogTitleWarning`,{contentName:`DialogContent`,titleName:`DialogTitle`,docsSlug:`dialog`});export{l as a,h as c,c as i,u as n,p as o,m as r,d as s,f as t};\n//# sourceMappingURL=dialog-eVmmzoNa.js.map","import{t as e}from\"./compose-event-handler-DeOCM8_f.js\";import{t}from\"./primitive-elements-Ds9SbVBa.js\";import{s as n}from\"./dialog-eVmmzoNa.js\";import*as r from\"react\";import{jsx as i}from\"react/jsx-runtime\";const a=`DialogClose`,o=r.forwardRef((r,o)=>{let{__scopeDialog:s,...c}=r,l=n(a,s);return i(t.button,{\"data-slot\":`dialog-close`,type:`button`,dir:l.dir,...c,ref:o,onClick:e(r.onClick,()=>l.onOpenChange(!1))})});o.displayName=a;export{o as t};\n//# sourceMappingURL=close-BnuQn5zt.js.map","import{i as e,s as t}from\"./dialog-eVmmzoNa.js\";import{t as n}from\"./presence-Cky0bbMt.js\";import{t as r}from\"./portal-BNuCvTAR.js\";import*as i from\"react\";import{jsx as a}from\"react/jsx-runtime\";const o=`DialogPortal`,[s,c]=e(o,{forceMount:void 0}),l=e=>{let{__scopeDialog:c,forceMount:l,children:u,container:d}=e,f=t(o,c);return a(s,{scope:c,forceMount:l,children:i.Children.map(u,e=>a(n,{present:l||f.open,children:a(r,{asChild:!0,container:d,children:e})}))})};l.displayName=o;export{s as n,c as r,l as t};\n//# sourceMappingURL=portal-D-8siEkQ.js.map","import{c as e}from\"./dialog-eVmmzoNa.js\";import*as t from\"react\";const n=({titleId:n})=>{let r=e(`DialogTitleWarning`),i=`\\`${r.contentName}\\` requires a \\`${r.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${r.titleName}\\`, you can wrap it with our VisuallyHidden component.`;return t.useEffect(()=>{n&&(document.getElementById(n)||console.error(i))},[i,n]),null},r=({contentRef:n,descriptionId:r})=>{let i=`Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${e(`DialogDescriptionWarning`).contentName}}.`;return t.useEffect(()=>{let e=n.current?.getAttribute(`aria-describedby`);r&&e&&(document.getElementById(r)||console.warn(i))},[i,n,r]),null};export{n,r as t};\n//# sourceMappingURL=warnings-CnWKD-J1.js.map","import{t as e}from\"./compose-event-handler-DeOCM8_f.js\";import{n as t}from\"./compose-ref-qJpEeJiW.js\";import{o as n,s as r}from\"./dialog-eVmmzoNa.js\";import{t as i}from\"./dismissable-layer-HqAWph8n.js\";import{t as a}from\"./focus-scope-Cg84UXRu.js\";import{n as o}from\"./use-focus-guard-Bgln4wZn.js\";import{t as s}from\"./presence-Cky0bbMt.js\";import{r as c}from\"./portal-D-8siEkQ.js\";import{n as l,t as u}from\"./warnings-CnWKD-J1.js\";import*as d from\"react\";import{Fragment as f,jsx as p,jsxs as m}from\"react/jsx-runtime\";import{hideOthers as h}from\"aria-hidden\";const g=`DialogContent`,_=d.forwardRef((e,t)=>{let n=c(g,e.__scopeDialog),{forceMount:i=n.forceMount,...a}=e,o=r(g,e.__scopeDialog);return p(s,{present:i||o.open,children:o.modal?p(v,{...a,ref:t}):p(y,{...a,ref:t})})});_.displayName=g;const v=d.forwardRef((n,i)=>{let a=r(g,n.__scopeDialog),o=d.useRef(null),s=t(i,a.contentRef,o);return d.useEffect(()=>{let e=o.current;if(e)return h(e)},[]),p(b,{...n,ref:s,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:e(n.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:e(n.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:e(n.onFocusOutside,e=>e.preventDefault())})}),y=d.forwardRef((e,t)=>{let n=r(g,e.__scopeDialog),i=d.useRef(!1),a=d.useRef(!1);return p(b,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,t.detail.originalEvent.type===`pointerdown`&&(a.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&a.current&&t.preventDefault()}})}),b=d.forwardRef((e,s)=>{let{__scopeDialog:c,trapFocus:h,onOpenAutoFocus:_,onCloseAutoFocus:v,...y}=e,b=r(g,c),x=d.useRef(null),S=t(s,x);return o(),m(f,{children:[p(a,{asChild:!0,loop:!0,trapped:h,onMountAutoFocus:_,onUnmountAutoFocus:v,children:p(i,{\"data-slot\":`dialog-content`,role:`dialog`,id:b.contentId,\"aria-describedby\":b.descriptionId,\"aria-labelledby\":b.titleId,\"data-state\":n(b.open),dir:b.dir,...y,ref:S,onDismiss:()=>b.onOpenChange(!1)})}),process.env.NODE_ENV!==`production`&&m(f,{children:[p(l,{titleId:b.titleId}),p(u,{contentRef:x,descriptionId:b.descriptionId})]})]})});export{_ as t};\n//# sourceMappingURL=content-C8xXmjhT.js.map","import{t as e}from\"./primitive-elements-Ds9SbVBa.js\";import{s as t}from\"./dialog-eVmmzoNa.js\";import*as n from\"react\";import{jsx as r}from\"react/jsx-runtime\";const i=`DialogDescription`,a=n.forwardRef((n,a)=>{let{__scopeDialog:o,...s}=n,c=t(i,o);return r(e.p,{\"data-slot\":`dialog-description`,id:c.descriptionId,dir:c.dir,...s,ref:a})});a.displayName=i;export{a as t};\n//# sourceMappingURL=description-CVkksaX8.js.map","import{r as e}from\"./slot-B-X2-pKU.js\";import{t}from\"./primitive-elements-Ds9SbVBa.js\";import{o as n,s as r}from\"./dialog-eVmmzoNa.js\";import{t as i}from\"./presence-Cky0bbMt.js\";import{r as a}from\"./portal-D-8siEkQ.js\";import*as o from\"react\";import{jsx as s}from\"react/jsx-runtime\";import{RemoveScroll as c}from\"react-remove-scroll\";const l=`DialogOverlay`,u=o.forwardRef((e,t)=>{let n=a(l,e.__scopeDialog),{forceMount:o=n.forceMount,...c}=e,u=r(l,e.__scopeDialog);return u.modal?s(i,{present:o||u.open,children:s(f,{...c,ref:t})}):null});u.displayName=l;const d=e(`DialogOverlay.RemoveScroll`),f=o.forwardRef((e,i)=>{let{__scopeDialog:a,...o}=e,u=r(l,a);return s(c,{as:d,allowPinchZoom:!0,shards:[u.contentRef],children:s(t.div,{\"data-slot\":`dialog-overlay`,\"data-state\":n(u.open),dir:u.dir,...o,ref:i,style:{pointerEvents:`auto`,...o.style}})})});export{u as t};\n//# sourceMappingURL=overlay-ClFK6iKd.js.map","import{t as e}from\"./primitive-elements-Ds9SbVBa.js\";import{s as t}from\"./dialog-eVmmzoNa.js\";import*as n from\"react\";import{jsx as r}from\"react/jsx-runtime\";const i=`DialogTitle`,a=n.forwardRef((n,a)=>{let{__scopeDialog:o,...s}=n,c=t(i,o);return r(e.h2,{\"data-slot\":`dialog-title`,id:c.titleId,dir:c.dir,...s,ref:a})});a.displayName=i;export{a as t};\n//# sourceMappingURL=title-BCGaRVEX.js.map","import{t as e}from\"./compose-event-handler-DeOCM8_f.js\";import{n as t}from\"./compose-ref-qJpEeJiW.js\";import{t as n}from\"./primitive-elements-Ds9SbVBa.js\";import{o as r,s as i}from\"./dialog-eVmmzoNa.js\";import*as a from\"react\";import{jsx as o}from\"react/jsx-runtime\";const s=`DialogTrigger`,c=a.forwardRef((a,c)=>{let{__scopeDialog:l,...u}=a,d=i(s,l),f=t(c,d.triggerRef);return o(n.button,{\"data-slot\":`dialog-trigger`,type:`button`,\"aria-haspopup\":`dialog`,\"aria-expanded\":d.open,\"aria-controls\":d.contentId,\"data-state\":r(d.open),dir:d.dir,...u,ref:f,onClick:e(a.onClick,d.onOpenToggle)})});c.displayName=s;export{c as t};\n//# sourceMappingURL=trigger-fmItGxNT.js.map","'use client'\n\nimport { cn } from '@gentleduck/libs/cn'\nimport * as DialogPrimitive from '@gentleduck/primitives/dialog'\nimport { X } from 'lucide-react'\nimport * as React from 'react'\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80 data-[state=closed]:animate-out data-[state=open]:animate-in',\n 'transition-all transition-discrete duration-[200ms,150ms] ease-(--duck-motion-ease)',\n className,\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & { closeText?: string }\n>(({ className, children, closeText = 'Close', ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-1/2 left-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg data-[state=closed]:animate-out data-[state=open]:animate-in sm:rounded-lg',\n 'transition-all transition-discrete duration-[200ms,150ms] ease-(--duck-motion-ease)',\n className,\n )}\n {...props}>\n {children}\n <DialogPrimitive.Close className=\"absolute end-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X aria-hidden=\"true\" className=\"h-4 w-4\" />\n <span className=\"sr-only\">{closeText}</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col space-y-1.5 text-center sm:text-start', className)} {...props} />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-2', className)} {...props} />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn('font-semibold text-lg leading-none tracking-tight', className)}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ComponentRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description ref={ref} className={cn('text-muted-foreground text-sm', className)} {...props} />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n"],"mappings":"4gBAAiQ,MAAMA,EAAE,SAAS,CAACC,EAAEC,IAAGC,EAAEH,EAAE,CAAC,CAACI,EAAEC,GAAGJ,EAAED,EAAE,CAACM,EAAE,GAAG,CAAC,GAAG,CAAC,cAAcC,EAAE,SAASN,EAAE,KAAKC,EAAE,YAAYG,EAAE,aAAaC,EAAE,IAAIE,EAAE,MAAMC,EAAE,CAAC,GAAGN,EAAEO,EAAEC,EAAE,OAAO,KAAK,CAACC,EAAED,EAAE,OAAO,KAAK,CAACE,EAAEC,EAAEN,EAAE,CAAC,CAACO,EAAEC,GAAGC,EAAE,CAAC,KAAKf,EAAE,YAAYG,GAAG,CAAC,EAAE,SAASC,EAAE,OAAON,EAAE,CAAC,CAAC,OAAOkB,EAAEd,EAAE,CAAC,MAAMG,EAAE,WAAWG,EAAE,WAAWE,EAAE,UAAUO,GAAG,CAAC,QAAQA,GAAG,CAAC,cAAcA,GAAG,CAAC,KAAKJ,EAAE,aAAaC,EAAE,aAAaL,EAAE,gBAAgBK,EAAE,GAAG,CAACF,EAAE,CAAC,CAACE,EAAE,CAAC,CAAC,MAAMP,EAAE,IAAII,EAAE,SAASZ,EAAE,CAAC,EAAE,EAAE,YAAYD,EAAE,SAAS,EAAE,EAAE,CAAC,OAAOc,EAAE,OAAO,SAAS,KAAK,CAAC,GAAE,GAAGP,EAAE,qBAAqB,CAAC,YAAY,gBAAgB,UAAU,cAAc,SAAS,SAAS,CAAC,CCAzmBa,EA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AAS,GAAG,GAAS,IACzD,EAAC,GAAA,CAAA,SAAA,CACC,EAAC,EAAA,EAAA,CAAgB,CACjB,EAACE,EAAAA,CACM,MACL,UAAW,EACT,iUACA,sFACA,EACD,CACD,GAAI,YACH,EACD,EAACH,EAAAA,CAAsB,UAAU,wRAC/B,EAAC,EAAA,CAAE,cAAY,OAAO,UAAU,WAAY,CAC5C,EAAC,OAAA,CAAK,UAAU,mBAAW,GAAiB,CAAA,EACtB,CAAA,EACA,CAAA,CAAA,CACb,CACf,CACF,EAAc,YAAA,EAAsC,YAEpD,MAAM,IAAgB,CAAE,YAAW,GAAG,KACpC,EAAC,MAAA,CAAI,UAAW,EAAG,sDAAuD,EAAU,CAAE,GAAI,GAAS,CAErG,GAAa,YAAc,eAE3B,MAAM,IAAgB,CAAE,YAAW,GAAG,KACpC,EAAC,MAAA,CAAI,UAAW,EAAG,4DAA6D,EAAU,CAAE,GAAI,GAAS,CAE3G,GAAa,YAAc,eAE3B,MAAM,EAAcC,EAAM,YAGvB,CAAE,YAAW,GAAG,GAAS,IAC1B,EAACG,EAAAA,CACM,MACL,UAAW,EAAG,oDAAqD,EAAU,CAC7E,GAAI,GACJ,CACF,CACF,EAAY,YAAA,EAAoC,YAEhD,MAAM,EAAoBH,EAAM,YAG7B,CAAE,YAAW,GAAG,GAAS,IAC1B,EAACI,EAAAA,CAAiC,MAAK,UAAW,EAAG,gCAAiC,EAAU,CAAE,GAAI,GAAS,CAC/G,CACF,EAAkB,YAAA,EAA0C"}
@@ -1 +1 @@
1
- {"version":3,"file":"direction-B-anGbxM-BdqxtlGV.js","names":["n","i","e","t"],"sources":["../../duck-primitives/dist/direction-B-anGbxM.js"],"sourcesContent":["import*as e from\"react\";import{jsx as t}from\"react/jsx-runtime\";const n={ltr:`ltr`,rtl:`rtl`},r=e.createContext(void 0),i=e=>{let{dir:n,children:i}=e;return t(r.Provider,{value:n,children:t(`div`,{dir:n,style:{direction:n},children:i})})};function a(t){let n=e.useContext(r);return t||n||`ltr`}const o=i;export{a,o as i,r as n,i as r,n as t};"],"mappings":"gEAAgE,MAA8B,EAAE,EAAE,cAAc,IAAK,GAAE,CAAwH,SAAS,EAAE,EAAE,CAAC,IAAIA,EAAE,EAAE,WAAW,EAAE,CAAC,OAAO,GAAGA,GAAG"}
1
+ {"version":3,"file":"direction-B-anGbxM-BdqxtlGV.js","names":["n","i","e","t"],"sources":["../../duck-primitives/dist/direction-B-anGbxM.js"],"sourcesContent":["import*as e from\"react\";import{jsx as t}from\"react/jsx-runtime\";const n={ltr:`ltr`,rtl:`rtl`},r=e.createContext(void 0),i=e=>{let{dir:n,children:i}=e;return t(r.Provider,{value:n,children:t(`div`,{dir:n,style:{direction:n},children:i})})};function a(t){let n=e.useContext(r);return t||n||`ltr`}const o=i;export{a,o as i,r as n,i as r,n as t};\n//# sourceMappingURL=direction-B-anGbxM.js.map"],"mappings":"gEAAgE,MAA8B,EAAE,EAAE,cAAc,IAAK,GAAE,CAAwH,SAAS,EAAE,EAAE,CAAC,IAAIA,EAAE,EAAE,WAAW,EAAE,CAAC,OAAO,GAAGA,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"dist-BEBzXlAF.js","names":["t","e","n","r","i"],"sources":["../../duck-variants/dist/index.js"],"sourcesContent":["function e(e){let t=Object.entries(e),n=``;for(let e=0;e<t.length;e++){let[r,i]=t[e];Array.isArray(i)?n+=`${r}:[${i.map(String).join(`,`)}]`:n+=`${r}:${String(i)}`,e<t.length-1&&(n+=`|`)}return n}function t(e,n){if(e!=null){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`){let t=String(e).split(/\\s+/);for(let e=0;e<t.length;e++){let r=t[e];r&&n.push(r)}return}if(Array.isArray(e)){for(let r=0;r<e.length;r++)t(e[r],n);return}for(let t in e)Object.hasOwn(e,t)&&e[t]&&n.push(t)}}function n(n,r){let{base:i=``,variants:a,defaultVariants:o={},compoundVariants:s=[]}=typeof n==`string`?{base:n,...r}:n,c=new Map;return(n={})=>{let r=e(n),l=c.get(r);if(l)return l;let u=[],d=new Set;t(i,u);let f={...o,...n};for(let e in a){let n=f[e];if(n==null||n===`unset`)continue;let r=a[e][String(n)];t(r,u)}for(let e=0;e<s.length;e++){let n=s[e],r=!0;for(let e in n){if(e===`class`||e===`className`)continue;let t=n[e],i=f[e];if(Array.isArray(t)&&i){if(!t.includes(i.toString())){r=!1;break}}else if(i!==t){r=!1;break}}r&&(t(n.class,u),t(n.className,u))}t(n.className,u),t(n.class,u);for(let e=0;e<u.length;e++)d.add(u[e]);let p=Array.from(d).join(` `);return c.set(r,p),p}}export{n as cva};"],"mappings":"AAAA,SAAS,EAAE,EAAE,CAAC,IAAIA,EAAE,OAAO,QAAQC,EAAE,CAACC,EAAE,GAAG,IAAI,IAAID,EAAE,EAAEA,EAAED,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC,EAAE,GAAGA,EAAEC,GAAG,MAAM,QAAQ,EAAE,CAAC,GAAG,GAAG,EAAE,IAAI,EAAE,IAAI,OAAO,CAAC,KAAK,IAAI,CAAC,GAAG,GAAG,GAAG,EAAE,GAAG,OAAO,EAAE,GAAGA,EAAED,EAAE,OAAO,IAAI,GAAG,KAAK,OAAOE,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,GAAGD,GAAG,KAAK,CAAC,GAAG,OAAOA,GAAG,UAAU,OAAOA,GAAG,UAAU,OAAOA,GAAG,UAAU,CAAC,IAAID,EAAE,OAAOC,EAAE,CAAC,MAAM,MAAM,CAAC,IAAI,IAAIA,EAAE,EAAEA,EAAED,EAAE,OAAO,IAAI,CAAC,IAAI,EAAEA,EAAEC,GAAG,GAAGC,EAAE,KAAK,EAAE,CAAC,OAAO,GAAG,MAAM,QAAQD,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE,EAAE,EAAEA,EAAE,OAAO,IAAI,EAAEA,EAAE,GAAGC,EAAE,CAAC,OAAO,IAAI,IAAIF,KAAKC,EAAE,OAAO,OAAOA,EAAED,EAAE,EAAEC,EAAED,IAAIE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M,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC,OAAO,EAAE,IAAIE,EAAE,EAAE,CAAC"}
1
+ {"version":3,"file":"dist-BEBzXlAF.js","names":["t","e","n","r","i"],"sources":["../../duck-variants/dist/index.js"],"sourcesContent":["function e(e){let t=Object.entries(e),n=``;for(let e=0;e<t.length;e++){let[r,i]=t[e];Array.isArray(i)?n+=`${r}:[${i.map(String).join(`,`)}]`:n+=`${r}:${String(i)}`,e<t.length-1&&(n+=`|`)}return n}function t(e,n){if(e!=null){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`){let t=String(e).split(/\\s+/);for(let e=0;e<t.length;e++){let r=t[e];r&&n.push(r)}return}if(Array.isArray(e)){for(let r=0;r<e.length;r++)t(e[r],n);return}for(let t in e)Object.hasOwn(e,t)&&e[t]&&n.push(t)}}function n(n,r){let{base:i=``,variants:a,defaultVariants:o={},compoundVariants:s=[]}=typeof n==`string`?{base:n,...r}:n,c=new Map;return(n={})=>{let r=e(n),l=c.get(r);if(l)return l;let u=[],d=new Set;t(i,u);let f={...o,...n};for(let e in a){let n=f[e];if(n==null||n===`unset`)continue;let r=a[e][String(n)];t(r,u)}for(let e=0;e<s.length;e++){let n=s[e],r=!0;for(let e in n){if(e===`class`||e===`className`)continue;let t=n[e],i=f[e];if(Array.isArray(t)&&i){if(!t.includes(i.toString())){r=!1;break}}else if(i!==t){r=!1;break}}r&&(t(n.class,u),t(n.className,u))}t(n.className,u),t(n.class,u);for(let e=0;e<u.length;e++)d.add(u[e]);let p=Array.from(d).join(` `);return c.set(r,p),p}}export{n as cva};\n//# sourceMappingURL=index.js.map"],"mappings":"AAAA,SAAS,EAAE,EAAE,CAAC,IAAIA,EAAE,OAAO,QAAQC,EAAE,CAACC,EAAE,GAAG,IAAI,IAAID,EAAE,EAAEA,EAAED,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC,EAAE,GAAGA,EAAEC,GAAG,MAAM,QAAQ,EAAE,CAAC,GAAG,GAAG,EAAE,IA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