@clidey/dory 0.22.0 → 0.24.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 (188) hide show
  1. package/bin/dist/dory.d.ts +3 -0
  2. package/bin/dist/dory.d.ts.map +1 -0
  3. package/bin/dist/dory.js +337 -0
  4. package/bin/dist/dory.js.map +1 -0
  5. package/bin/dory.ts +287 -121
  6. package/dist/dory.json +5 -0
  7. package/dist/favicon.svg +1 -1
  8. package/dist/index.html +6 -6
  9. package/dist/introduction.mdx +2 -2
  10. package/dist/llms.txt +2 -2
  11. package/docs/dory.json +5 -0
  12. package/docs/favicon.svg +1 -1
  13. package/docs/introduction.mdx +2 -2
  14. package/package.json +16 -11
  15. package/src/app.css +2 -0
  16. package/src/components/dropdown.tsx +30 -26
  17. package/src/components/loading.tsx +6 -8
  18. package/src/components/navigation.tsx +8 -6
  19. package/src/components/notification.tsx +9 -93
  20. package/src/components/routes.tsx +1 -1
  21. package/src/components/search.tsx +31 -104
  22. package/src/components/store.ts +4 -1
  23. package/src/main.tsx +9 -5
  24. package/src/mdx/accordion.tsx +21 -28
  25. package/src/mdx/api-playground.tsx +68 -83
  26. package/src/mdx/api.tsx +21 -21
  27. package/src/mdx/async-api.tsx +15 -31
  28. package/src/mdx/callout.tsx +27 -43
  29. package/src/mdx/card.tsx +20 -14
  30. package/src/mdx/code.tsx +26 -26
  31. package/src/mdx/expandable.tsx +21 -25
  32. package/src/mdx/fence.tsx +2 -2
  33. package/src/mdx/list.tsx +2 -2
  34. package/src/mdx/open-api.tsx +31 -45
  35. package/src/mdx/table.tsx +8 -3
  36. package/src/mdx/tag.tsx +27 -40
  37. package/src/mdx/text.tsx +3 -2
  38. package/src/mdx/websocket-playground.tsx +150 -81
  39. package/src/theme.scss +50 -106
  40. package/src/types/config.ts +47 -0
  41. package/src/ui/header.tsx +12 -9
  42. package/src/ui/layout.tsx +5 -4
  43. package/src/ui/mobile-navigation.tsx +36 -63
  44. package/src/ui/table-of-content.tsx +3 -3
  45. package/src/utils/colors.ts +54 -0
  46. package/src/utils/fonts.ts +4 -1
  47. package/tsconfig.app.json +2 -1
  48. package/tsconfig.bin.json +11 -7
  49. package/tsconfig.node.json +2 -1
  50. package/vite.config.ts +2 -0
  51. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  52. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  53. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  54. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  55. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  56. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  57. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  58. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  59. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  60. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  61. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  62. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  63. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  64. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  65. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  66. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  67. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  68. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  69. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  70. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  71. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  72. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  73. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  74. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  75. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  76. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  77. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  78. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  79. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  80. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  81. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  82. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  83. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  84. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  85. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  86. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  87. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  88. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  89. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  90. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  91. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  92. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  93. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  94. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  95. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  96. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  97. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  98. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  99. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  100. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  101. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  102. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  103. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  104. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  105. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  106. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  107. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  108. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  109. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  110. package/dist/assets/__vite-browser-external-BIHI7g3E.js +0 -1
  111. package/dist/assets/_basePickBy-CsnA5_xx.js +0 -1
  112. package/dist/assets/_baseUniq-COwFna6s.js +0 -1
  113. package/dist/assets/api-playground-demo-Ct5XK2u1.js +0 -45
  114. package/dist/assets/api-playground-demo-vBae5R-d.js +0 -119
  115. package/dist/assets/arc-Dy4kITED.js +0 -1
  116. package/dist/assets/architectureDiagram-IEHRJDOE-BiaWQpzt.js +0 -36
  117. package/dist/assets/blockDiagram-JOT3LUYC-7LfUOsM7.js +0 -121
  118. package/dist/assets/c4Diagram-VJAJSXHY-Ca-3deDF.js +0 -10
  119. package/dist/assets/channel-j6jMzwSu.js +0 -1
  120. package/dist/assets/chunk-4BMEZGHF-Cln31Q_z.js +0 -1
  121. package/dist/assets/chunk-A2AXSNBT-Cj4U7K4I.js +0 -164
  122. package/dist/assets/chunk-AEK57VVT-1kn9120k.js +0 -220
  123. package/dist/assets/chunk-D6G4REZN-DMgQaOLS.js +0 -1
  124. package/dist/assets/chunk-RZ5BOZE2-DDd-DrSb.js +0 -1
  125. package/dist/assets/chunk-XZIHB7SX-sVdgMrEr.js +0 -1
  126. package/dist/assets/classDiagram-GIVACNV2-B9ObtIrc.js +0 -1
  127. package/dist/assets/classDiagram-v2-COTLJTTW-B9ObtIrc.js +0 -1
  128. package/dist/assets/clone-UOttdbrS.js +0 -1
  129. package/dist/assets/create-D-Wjvs-T.js +0 -6
  130. package/dist/assets/create-DpzlgYHc.js +0 -4
  131. package/dist/assets/cytoscape.esm-BY7v1xhs.js +0 -331
  132. package/dist/assets/dagre-OKDRZEBW-C4q12sCc.js +0 -4
  133. package/dist/assets/delete-DwAmDeAN.js +0 -4
  134. package/dist/assets/delete-cbziNMWs.js +0 -5
  135. package/dist/assets/diagram-SSKATNLV-BxNC6sGs.js +0 -43
  136. package/dist/assets/diagram-VNBRO52H-CukGDk3b.js +0 -24
  137. package/dist/assets/dory.jpeg +0 -0
  138. package/dist/assets/erDiagram-Q7BY3M3F-TiiVq0dv.js +0 -60
  139. package/dist/assets/favicon-Z67lNtJu.svg +0 -75
  140. package/dist/assets/features-6EEoDloV.js +0 -269
  141. package/dist/assets/features-EZwrzTnN.js +0 -441
  142. package/dist/assets/flowDiagram-4HSFHLVR-DykkGbol.js +0 -161
  143. package/dist/assets/ganttDiagram-APWFNJXF-Bqp95-S3.js +0 -257
  144. package/dist/assets/get-BeAg4Qrr.js +0 -5
  145. package/dist/assets/get-Dj1eDs2i.js +0 -4
  146. package/dist/assets/gitGraphDiagram-7IBYFJ6S-BiYVs9VI.js +0 -65
  147. package/dist/assets/graph-LkKKMaDZ.js +0 -1
  148. package/dist/assets/index-CGd7uPvh.css +0 -1
  149. package/dist/assets/index-vOROtq-e.js +0 -9596
  150. package/dist/assets/infoDiagram-PH2N3AL5-EA7h3wZa.js +0 -2
  151. package/dist/assets/init-Gi6I4Gst.js +0 -1
  152. package/dist/assets/introduction-CzXlzjWa.js +0 -38
  153. package/dist/assets/introduction-ylYJcPz3.js +0 -45
  154. package/dist/assets/journeyDiagram-U35MCT3I-BZiVuCZu.js +0 -138
  155. package/dist/assets/kanban-definition-NDS4AKOZ-SCdQ8OjR.js +0 -88
  156. package/dist/assets/layout-C9-9-M2q.js +0 -1
  157. package/dist/assets/linear-CTbdhYd1.js +0 -1
  158. package/dist/assets/mermaid.core-DUFqLK_I.js +0 -213
  159. package/dist/assets/mindmap-definition-ALO5MXBD-BPbKEbjk.js +0 -95
  160. package/dist/assets/ordinal-Cboi1Yqb.js +0 -1
  161. package/dist/assets/pieDiagram-IB7DONF6-DPg1sNm8.js +0 -30
  162. package/dist/assets/quadrantDiagram-7GDLP6J5-DmtJM50d.js +0 -7
  163. package/dist/assets/radar-MK3ICKWK-DnO5LA4B.js +0 -128
  164. package/dist/assets/receive-chat-message-B2jsY1P6.js +0 -4
  165. package/dist/assets/receive-chat-message-BeaC4eqS.js +0 -5
  166. package/dist/assets/receive-notifications-BouRLPFj.js +0 -4
  167. package/dist/assets/receive-notifications-DYnXRRBz.js +0 -5
  168. package/dist/assets/receive-presence-update-CRgeSUpk.js +0 -5
  169. package/dist/assets/receive-presence-update-UEm47KAG.js +0 -4
  170. package/dist/assets/requirementDiagram-KVF5MWMF-iNwUJLq2.js +0 -64
  171. package/dist/assets/sankeyDiagram-QLVOVGJD-DWLyAD59.js +0 -10
  172. package/dist/assets/send-chat-message-Bvf2XJiv.js +0 -5
  173. package/dist/assets/send-chat-message-FDmVETeD.js +0 -4
  174. package/dist/assets/send-presence-update-26clGQ0z.js +0 -5
  175. package/dist/assets/send-presence-update-DeywSKYu.js +0 -4
  176. package/dist/assets/sequenceDiagram-X6HHIX6F-HyRN2_g-.js +0 -122
  177. package/dist/assets/stateDiagram-DGXRK772-DdMr0V93.js +0 -1
  178. package/dist/assets/stateDiagram-v2-YXO3MK2T-D6kpXRiR.js +0 -1
  179. package/dist/assets/timeline-definition-BDJGKUSR-CDf8nWgC.js +0 -61
  180. package/dist/assets/update-BEeNDeXY.js +0 -4
  181. package/dist/assets/update-CykJMYvN.js +0 -5
  182. package/dist/assets/websocket-playground-demo-4pj7mj19.js +0 -135
  183. package/dist/assets/websocket-playground-demo-F71LN60e.js +0 -61
  184. package/dist/assets/xychartDiagram-VJFVF3MP-BY_uTq9r.js +0 -7
  185. package/docs/assets/dory.jpeg +0 -0
  186. package/src/components/dark-mode-toggle.tsx +0 -25
  187. package/src/index.css +0 -24
  188. package/src/utils/hooks.ts +0 -46
@@ -1,269 +0,0 @@
1
- import{u as T,a as n,k as y}from"./index-vOROtq-e.js";function D(r){const e={code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",ol:"ol",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...T(),...r.components},{Accordion:a,AccordionGroup:d,Card:t,CardGroup:s,Check:h,CodeGroup:p,Col:m,Expandable:g,Icon:c,Info:u,Latex:f,Note:x,Row:l,Source:C,Step:o,Steps:N,Tip:b,Warning:S}=e;return a||i("Accordion"),d||i("AccordionGroup"),t||i("Card"),s||i("CardGroup"),h||i("Check"),p||i("CodeGroup"),m||i("Col"),g||i("Expandable"),c||i("Icon"),u||i("Info"),f||i("Latex"),x||i("Note"),l||i("Row"),C||i("Source"),o||i("Step"),N||i("Steps"),b||i("Tip"),S||i("Warning"),n(y,{children:[n(e.hr,{}),`
2
- `,n(e.h2,{children:`title: 'Features'
3
- description: 'Overview of available components and features'`}),`
4
- `,n(e.h2,{children:"Headings Examples"}),`
5
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`# Heading 1
6
- `})}),`
7
- `,n(e.h1,{children:"Heading 1"}),`
8
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`## Heading 2
9
- `})}),`
10
- `,n(e.h1,{children:"Heading 2"}),`
11
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`### Heading 3
12
- `})}),`
13
- `,n(e.h1,{children:"Heading 3"}),`
14
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`#### Heading 4
15
- `})}),`
16
- `,n(e.h1,{children:"Heading 4"}),`
17
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`##### Heading 5
18
- `})}),`
19
- `,n(e.h1,{children:"Heading 5"}),`
20
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`###### Heading 6
21
- `})}),`
22
- `,n(e.h1,{children:"Heading 6"}),`
23
- `,n("br",{}),`
24
- `,n(e.h2,{children:"Lists Examples"}),`
25
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`- List item 1
26
- - List item 2
27
- - List item 3
28
- `})}),`
29
- `,n(e.ul,{children:[`
30
- `,n(e.li,{children:"List item 1"}),`
31
- `,n(e.li,{children:"List item 2"}),`
32
- `,n(e.li,{children:"List item 3"}),`
33
- `]}),`
34
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`1. List item 1
35
- 2. List item 2
36
- 3. List item 3
37
- `})}),`
38
- `,n(e.ol,{children:[`
39
- `,n(e.li,{children:"List item 1"}),`
40
- `,n(e.li,{children:"List item 2"}),`
41
- `,n(e.li,{children:"List item 3"}),`
42
- `]}),`
43
- `,n("br",{}),`
44
- `,n(e.h3,{children:"Images"}),`
45
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<img src="./assets/dory.jpeg" alt="Example image" className="object-cover w-64 h-64" />
46
- `})}),`
47
- `,n("img",{src:"./assets/dory.jpeg",alt:"Example image",className:"object-cover w-64 h-64"}),`
48
- `,n("br",{}),`
49
- `,n("br",{}),`
50
- `,n("br",{}),`
51
- `,n(e.h2,{children:"Code Components"}),`
52
- `,n(e.h3,{children:"Code Block"}),`
53
- `,n(e.pre,{children:n(e.code,{className:"language-typescript",children:`function example() {
54
- return "Hello World";
55
- }
56
- `})}),`
57
- `,n(e.h3,{children:"Code Group Block"}),`
58
- `,n(p,{children:[n(e.pre,{children:n(e.code,{className:"language-typescript",children:`function example(): string {
59
- return "Hello World";
60
- }
61
- `})}),n(e.pre,{children:n(e.code,{className:"language-javascript",children:`function example() {
62
- return "Hello World";
63
- }
64
- `})})]}),`
65
- `,n("br",{}),`
66
- `,n("br",{}),`
67
- `,n("br",{}),`
68
- `,n(e.h2,{children:"Interactive Components"}),`
69
- `,n(e.h3,{children:"Mermaid"}),`
70
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`mermaid
71
- graph TD
72
-
73
- %% Main Start
74
- Start([Start Process]) --> Validate[Validate Input]
75
-
76
- %% Decision Point
77
- Validate -->|Valid| ProcessData{Is Data Clean?}
78
- Validate -->|Invalid| Error[Show Error Message]
79
-
80
- %% Clean Data Branch
81
- ProcessData -->|Yes| Clean[Clean Data]
82
- Clean --> Analyze[Analyze Data]
83
-
84
- %% Dirty Data Branch
85
- ProcessData -->|No| Notify[Notify User]
86
- Notify --> Wait[Wait for Input]
87
- Wait --> Validate
88
-
89
- %% Parallel Branches After Analysis
90
- Analyze --> Split1 & Split2
91
-
92
- subgraph Parallel Tasks
93
- Split1[Generate Report] --> Merge
94
- Split2[Update Dashboard] --> Merge
95
- end
96
-
97
- Merge --> Decision2{Is More Input Needed?}
98
- Decision2 -->|Yes| WaitMore[Wait for More Input]
99
- WaitMore --> Validate
100
- Decision2 -->|No| End([End Process])
101
-
102
- %% Style and Class Definitions
103
- classDef decision fill:#f9f,stroke:#333,stroke-width:2px;
104
- class ProcessData,Decision2 decision;
105
- `})}),`
106
- `,n("strong",{children:n("p",{children:'Note: Mermaid should be inside a code block with type "mermaid"'})}),`
107
- `,n(e.pre,{children:n(e.code,{className:"language-mermaid",children:`graph TD
108
-
109
- %% Main Start
110
- Start([Start Process]) --> Validate[Validate Input]
111
-
112
- %% Decision Point
113
- Validate -->|Valid| ProcessData{Is Data Clean?}
114
- Validate -->|Invalid| Error[Show Error Message]
115
-
116
- %% Clean Data Branch
117
- ProcessData -->|Yes| Clean[Clean Data]
118
- Clean --> Analyze[Analyze Data]
119
-
120
- %% Dirty Data Branch
121
- ProcessData -->|No| Notify[Notify User]
122
- Notify --> Wait[Wait for Input]
123
- Wait --> Validate
124
-
125
- %% Parallel Branches After Analysis
126
- Analyze --> Split1 & Split2
127
-
128
- subgraph Parallel Tasks
129
- Split1[Generate Report] --> Merge
130
- Split2[Update Dashboard] --> Merge
131
- end
132
-
133
- Merge --> Decision2{Is More Input Needed?}
134
- Decision2 -->|Yes| WaitMore[Wait for More Input]
135
- WaitMore --> Validate
136
- Decision2 -->|No| End([End Process])
137
-
138
- %% Style and Class Definitions
139
- classDef decision fill:#f9f,stroke:#333,stroke-width:2px;
140
- class ProcessData,Decision2 decision;
141
- `})}),`
142
- `,n(e.h3,{children:"Accordion"}),`
143
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<AccordionGroup>
144
- <Accordion title="First Section" icon="DocumentIcon">
145
- This is the content of the first accordion section.
146
- </Accordion>
147
- <Accordion title="Second Section" icon="CodeBracketIcon">
148
- This is the content of the second accordion section.
149
- </Accordion>
150
- </AccordionGroup>
151
- `})}),`
152
- `,n(d,{children:[n(a,{title:"First Section",icon:"DocumentIcon",children:n(e.p,{children:"This is the content of the first accordion section."})}),n(a,{title:"Second Section",icon:"CodeBracketIcon",children:n(e.p,{children:"This is the content of the second accordion section."})})]}),`
153
- `,n(e.h3,{children:"Callouts"}),`
154
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Note>
155
- This is a note callout with important information.
156
- </Note>
157
- `})}),`
158
- `,n(x,{children:n(e.p,{children:"This is a note callout with important information."})}),`
159
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Warning>
160
- This is a warning callout for critical information.
161
- </Warning>
162
- `})}),`
163
- `,n(S,{children:n(e.p,{children:"This is a warning callout for critical information."})}),`
164
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Info>
165
- This is an info callout for general information.
166
- </Info>
167
- `})}),`
168
- `,n(u,{children:n(e.p,{children:"This is an info callout for general information."})}),`
169
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Tip>
170
- This is a tip callout for helpful suggestions.
171
- </Tip>
172
- `})}),`
173
- `,n(b,{children:n(e.p,{children:"This is a tip callout for helpful suggestions."})}),`
174
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Check>
175
- This is a check callout for completed items.
176
- </Check>
177
- `})}),`
178
- `,n(h,{children:n(e.p,{children:"This is a check callout for completed items."})}),`
179
- `,n("br",{}),`
180
- `,n(e.h3,{children:"Cards"}),`
181
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<CardGroup cols={2}>
182
- <Card
183
- title="Example Card"
184
- description="This is an example card component with an icon and title."
185
- icon="FileText"
186
- href="#"
187
- />
188
- <Card
189
- title="Another Card"
190
- description="This is another example card with different content."
191
- icon="Code"
192
- href="#"
193
- />
194
- </CardGroup>
195
- `})}),`
196
- `,n(s,{cols:2,children:[n(t,{title:"Example Card",description:"This is an example card component with an icon and title.",icon:"FileText",href:"#"}),n(t,{title:"Another Card",description:"This is another example card with different content.",icon:"Code",href:"#"})]}),`
197
- `,n("br",{}),`
198
- `,n(e.h3,{children:"Expandable"}),`
199
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Expandable title="Click to Expand">
200
- This is an expandable section that can be toggled.
201
- </Expandable>
202
- `})}),`
203
- `,n(g,{title:"Click to Expand",children:n(e.p,{children:"This is an expandable section that can be toggled."})}),`
204
- `,n(e.h3,{children:"Source"}),`
205
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Source url="https://github.com/clidey/dory" paths={[
206
- { path: "src/mdx/source.tsx", range: "1-46" },
207
- { path: "docs/features.mdx", range: "318-322" },
208
- ]} />
209
- `})}),`
210
- `,n(C,{url:"https://github.com/clidey/dory",paths:[{path:"src/mdx/source.tsx",range:"1-46"},{path:"docs/features.mdx",range:"318-322"}]}),`
211
- `,n("br",{}),`
212
- `,n("br",{}),`
213
- `,n("br",{}),`
214
- `,n(e.h2,{children:"Special Components"}),`
215
- `,n(e.h3,{children:"Grids"}),`
216
- `,n(e.h4,{children:"Rows"}),`
217
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Row cols={2}>
218
- <Icon icon="FileText" />
219
- <Icon icon="CheckCircle" />
220
- </Row>
221
- `})}),`
222
- `,n(l,{cols:2,children:[n(c,{icon:"FileText"}),n(c,{icon:"CheckCircle"})]}),`
223
- `,n("br",{}),`
224
- `,n(e.h4,{children:"Columns"}),`
225
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Col>
226
- <Icon icon="FileText" />
227
- <Icon icon="FileText" />
228
- </Col>
229
- `})}),`
230
- `,n(m,{children:[n(c,{icon:"FileText"}),n(c,{icon:"FileText"})]}),`
231
- `,n("br",{}),`
232
- `,n("br",{}),`
233
- `,n("br",{}),`
234
- `,n(e.h3,{children:"Latex"}),`
235
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Latex>
236
- E = mc^2
237
- </Latex>
238
- `})}),`
239
- `,n(f,{children:n(e.p,{children:"E = mc^2"})}),`
240
- `,n("br",{}),`
241
- `,n("br",{}),`
242
- `,n("br",{}),`
243
- `,n(e.h3,{children:"Tables"}),`
244
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`| Property | Description |
245
- | -------- | ------------------------------------- |
246
- | Name | Full name of user |
247
- | Age | Reported age |
248
- | Joined | Whether the user joined the community |
249
- `})}),`
250
- `,n(e.table,{children:[n(e.thead,{children:n(e.tr,{children:[n(e.th,{children:"Property"}),n(e.th,{children:"Description"})]})}),n(e.tbody,{children:[n(e.tr,{children:[n(e.td,{children:"Name"}),n(e.td,{children:"Full name of user"})]}),n(e.tr,{children:[n(e.td,{children:"Age"}),n(e.td,{children:"Reported age"})]}),n(e.tr,{children:[n(e.td,{children:"Joined"}),n(e.td,{children:"Whether the user joined the community"})]})]})]}),`
251
- `,n(e.h3,{children:"Steps"}),`
252
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Steps>
253
- <Step title="First Step">
254
- This is the first step in the process.
255
- </Step>
256
- <Step title="Second Step">
257
- This is the second step in the process.
258
- </Step>
259
- </Steps>
260
- `})}),`
261
- `,n(N,{children:[n(o,{title:"First Step",children:n(e.p,{children:"This is the first step in the process."})}),n(o,{title:"Second Step",children:n(e.p,{children:"This is the second step in the process."})})]}),`
262
- `,n(e.h3,{children:"Icons"}),`
263
- `,n(e.pre,{children:n(e.code,{className:"language-mdx",children:`<Col rows={2}>
264
- <Icon icon="Code" />
265
- <Icon icon="FileText" />
266
- <Icon icon="CheckCircle" />
267
- </Col>
268
- `})}),`
269
- `,n(l,{cols:3,children:[n(c,{icon:"Code"}),n(c,{icon:"FileText"}),n(c,{icon:"CheckCircle"})]})]})}function k(r={}){const{wrapper:e}={...T(),...r.components};return e?n(e,{...r,children:n(D,{...r})}):D(r)}function i(r,e){throw new Error("Expected component `"+r+"` to be defined: you likely forgot to import, pass, or provide it.")}export{k as default};
@@ -1,441 +0,0 @@
1
- const n=`---
2
- title: 'Features'
3
- description: 'Overview of available components and features'
4
- ---
5
-
6
- ## Headings Examples
7
-
8
- \`\`\`mdx
9
- # Heading 1
10
- \`\`\`
11
- # Heading 1
12
-
13
- \`\`\`mdx
14
- ## Heading 2
15
- \`\`\`
16
- # Heading 2
17
-
18
- \`\`\`mdx
19
- ### Heading 3
20
- \`\`\`
21
- # Heading 3
22
- \`\`\`mdx
23
- #### Heading 4
24
- \`\`\`
25
- # Heading 4
26
- \`\`\`mdx
27
- ##### Heading 5
28
- \`\`\`
29
- # Heading 5
30
- \`\`\`mdx
31
- ###### Heading 6
32
- \`\`\`
33
- # Heading 6
34
-
35
- <br />
36
-
37
- ## Lists Examples
38
-
39
- \`\`\`mdx
40
- - List item 1
41
- - List item 2
42
- - List item 3
43
- \`\`\`
44
-
45
- - List item 1
46
- - List item 2
47
- - List item 3
48
-
49
- \`\`\`mdx
50
- 1. List item 1
51
- 2. List item 2
52
- 3. List item 3
53
- \`\`\`
54
-
55
- 1. List item 1
56
- 2. List item 2
57
- 3. List item 3
58
-
59
-
60
-
61
- <br />
62
-
63
- ### Images
64
-
65
- \`\`\`mdx
66
- <img src="./assets/dory.jpeg" alt="Example image" className="object-cover w-64 h-64" />
67
- \`\`\`
68
-
69
- <img src="./assets/dory.jpeg" alt="Example image" className="object-cover w-64 h-64" />
70
-
71
-
72
- <br />
73
- <br />
74
- <br />
75
-
76
- ## Code Components
77
-
78
- ### Code Block
79
- \`\`\`typescript
80
- function example() {
81
- return "Hello World";
82
- }
83
- \`\`\`
84
-
85
- ### Code Group Block
86
-
87
- <CodeGroup>
88
- \`\`\`typescript
89
- function example(): string {
90
- return "Hello World";
91
- }
92
- \`\`\`
93
- \`\`\`javascript
94
- function example() {
95
- return "Hello World";
96
- }
97
- \`\`\`
98
- </CodeGroup>
99
-
100
-
101
- <br />
102
- <br />
103
- <br />
104
-
105
-
106
- ## Interactive Components
107
-
108
- ### Mermaid
109
-
110
- \`\`\`mdx
111
- mermaid
112
- graph TD
113
-
114
- %% Main Start
115
- Start([Start Process]) --> Validate[Validate Input]
116
-
117
- %% Decision Point
118
- Validate -->|Valid| ProcessData{Is Data Clean?}
119
- Validate -->|Invalid| Error[Show Error Message]
120
-
121
- %% Clean Data Branch
122
- ProcessData -->|Yes| Clean[Clean Data]
123
- Clean --> Analyze[Analyze Data]
124
-
125
- %% Dirty Data Branch
126
- ProcessData -->|No| Notify[Notify User]
127
- Notify --> Wait[Wait for Input]
128
- Wait --> Validate
129
-
130
- %% Parallel Branches After Analysis
131
- Analyze --> Split1 & Split2
132
-
133
- subgraph Parallel Tasks
134
- Split1[Generate Report] --> Merge
135
- Split2[Update Dashboard] --> Merge
136
- end
137
-
138
- Merge --> Decision2{Is More Input Needed?}
139
- Decision2 -->|Yes| WaitMore[Wait for More Input]
140
- WaitMore --> Validate
141
- Decision2 -->|No| End([End Process])
142
-
143
- %% Style and Class Definitions
144
- classDef decision fill:#f9f,stroke:#333,stroke-width:2px;
145
- class ProcessData,Decision2 decision;
146
-
147
- \`\`\`
148
-
149
- <strong>
150
- <p>Note: Mermaid should be inside a code block with type "mermaid"</p>
151
- </strong>
152
-
153
- \`\`\`mermaid
154
- graph TD
155
-
156
- %% Main Start
157
- Start([Start Process]) --> Validate[Validate Input]
158
-
159
- %% Decision Point
160
- Validate -->|Valid| ProcessData{Is Data Clean?}
161
- Validate -->|Invalid| Error[Show Error Message]
162
-
163
- %% Clean Data Branch
164
- ProcessData -->|Yes| Clean[Clean Data]
165
- Clean --> Analyze[Analyze Data]
166
-
167
- %% Dirty Data Branch
168
- ProcessData -->|No| Notify[Notify User]
169
- Notify --> Wait[Wait for Input]
170
- Wait --> Validate
171
-
172
- %% Parallel Branches After Analysis
173
- Analyze --> Split1 & Split2
174
-
175
- subgraph Parallel Tasks
176
- Split1[Generate Report] --> Merge
177
- Split2[Update Dashboard] --> Merge
178
- end
179
-
180
- Merge --> Decision2{Is More Input Needed?}
181
- Decision2 -->|Yes| WaitMore[Wait for More Input]
182
- WaitMore --> Validate
183
- Decision2 -->|No| End([End Process])
184
-
185
- %% Style and Class Definitions
186
- classDef decision fill:#f9f,stroke:#333,stroke-width:2px;
187
- class ProcessData,Decision2 decision;
188
-
189
- \`\`\`
190
-
191
- ### Accordion
192
-
193
- \`\`\`mdx
194
- <AccordionGroup>
195
- <Accordion title="First Section" icon="DocumentIcon">
196
- This is the content of the first accordion section.
197
- </Accordion>
198
- <Accordion title="Second Section" icon="CodeBracketIcon">
199
- This is the content of the second accordion section.
200
- </Accordion>
201
- </AccordionGroup>
202
- \`\`\`
203
-
204
- <AccordionGroup>
205
- <Accordion title="First Section" icon="DocumentIcon">
206
- This is the content of the first accordion section.
207
- </Accordion>
208
- <Accordion title="Second Section" icon="CodeBracketIcon">
209
- This is the content of the second accordion section.
210
- </Accordion>
211
- </AccordionGroup>
212
-
213
- ### Callouts
214
-
215
- \`\`\`mdx
216
- <Note>
217
- This is a note callout with important information.
218
- </Note>
219
- \`\`\`
220
-
221
- <Note>
222
- This is a note callout with important information.
223
- </Note>
224
-
225
- \`\`\`mdx
226
- <Warning>
227
- This is a warning callout for critical information.
228
- </Warning>
229
- \`\`\`
230
-
231
- <Warning>
232
- This is a warning callout for critical information.
233
- </Warning>
234
-
235
- \`\`\`mdx
236
- <Info>
237
- This is an info callout for general information.
238
- </Info>
239
- \`\`\`
240
-
241
- <Info>
242
- This is an info callout for general information.
243
- </Info>
244
-
245
- \`\`\`mdx
246
- <Tip>
247
- This is a tip callout for helpful suggestions.
248
- </Tip>
249
- \`\`\`
250
-
251
- <Tip>
252
- This is a tip callout for helpful suggestions.
253
- </Tip>
254
-
255
- \`\`\`mdx
256
- <Check>
257
- This is a check callout for completed items.
258
- </Check>
259
- \`\`\`
260
-
261
- <Check>
262
- This is a check callout for completed items.
263
- </Check>
264
-
265
-
266
- <br />
267
-
268
- ### Cards
269
- \`\`\`mdx
270
- <CardGroup cols={2}>
271
- <Card
272
- title="Example Card"
273
- description="This is an example card component with an icon and title."
274
- icon="FileText"
275
- href="#"
276
- />
277
- <Card
278
- title="Another Card"
279
- description="This is another example card with different content."
280
- icon="Code"
281
- href="#"
282
- />
283
- </CardGroup>
284
- \`\`\`
285
-
286
- <CardGroup cols={2}>
287
- <Card
288
- title="Example Card"
289
- description="This is an example card component with an icon and title."
290
- icon="FileText"
291
- href="#"
292
- />
293
- <Card
294
- title="Another Card"
295
- description="This is another example card with different content."
296
- icon="Code"
297
- href="#"
298
- />
299
- </CardGroup>
300
-
301
- <br />
302
-
303
- ### Expandable
304
-
305
- \`\`\`mdx
306
- <Expandable title="Click to Expand">
307
- This is an expandable section that can be toggled.
308
- </Expandable>
309
- \`\`\`
310
-
311
- <Expandable title="Click to Expand">
312
- This is an expandable section that can be toggled.
313
- </Expandable>
314
-
315
- ### Source
316
-
317
- \`\`\`mdx
318
- <Source url="https://github.com/clidey/dory" paths={[
319
- { path: "src/mdx/source.tsx", range: "1-46" },
320
- { path: "docs/features.mdx", range: "318-322" },
321
- ]} />
322
- \`\`\`
323
-
324
- <Source url="https://github.com/clidey/dory" paths={[
325
- { path: "src/mdx/source.tsx", range: "1-46" },
326
- { path: "docs/features.mdx", range: "318-322" },
327
- ]} />
328
-
329
- <br />
330
- <br />
331
- <br />
332
-
333
-
334
- ## Special Components
335
-
336
- ### Grids
337
-
338
- #### Rows
339
- \`\`\`mdx
340
- <Row cols={2}>
341
- <Icon icon="FileText" />
342
- <Icon icon="CheckCircle" />
343
- </Row>
344
- \`\`\`
345
-
346
- <Row cols={2}>
347
- <Icon icon="FileText" />
348
- <Icon icon="CheckCircle" />
349
- </Row>
350
-
351
- <br />
352
-
353
- #### Columns
354
-
355
- \`\`\`mdx
356
- <Col>
357
- <Icon icon="FileText" />
358
- <Icon icon="FileText" />
359
- </Col>
360
- \`\`\`
361
-
362
- <Col>
363
- <Icon icon="FileText" />
364
- <Icon icon="FileText" />
365
- </Col>
366
-
367
- <br />
368
- <br />
369
- <br />
370
-
371
- ### Latex
372
-
373
- \`\`\`mdx
374
- <Latex>
375
- E = mc^2
376
- </Latex>
377
- \`\`\`
378
-
379
- <Latex>
380
- E = mc^2
381
- </Latex>
382
-
383
- <br />
384
- <br />
385
- <br />
386
-
387
- ### Tables
388
-
389
- \`\`\`mdx
390
- | Property | Description |
391
- | -------- | ------------------------------------- |
392
- | Name | Full name of user |
393
- | Age | Reported age |
394
- | Joined | Whether the user joined the community |
395
- \`\`\`
396
-
397
- | Property | Description |
398
- | -------- | ------------------------------------- |
399
- | Name | Full name of user |
400
- | Age | Reported age |
401
- | Joined | Whether the user joined the community |
402
-
403
-
404
- ### Steps
405
-
406
- \`\`\`mdx
407
- <Steps>
408
- <Step title="First Step">
409
- This is the first step in the process.
410
- </Step>
411
- <Step title="Second Step">
412
- This is the second step in the process.
413
- </Step>
414
- </Steps>
415
- \`\`\`
416
-
417
- <Steps>
418
- <Step title="First Step">
419
- This is the first step in the process.
420
- </Step>
421
- <Step title="Second Step">
422
- This is the second step in the process.
423
- </Step>
424
- </Steps>
425
-
426
- ### Icons
427
-
428
- \`\`\`mdx
429
- <Col rows={2}>
430
- <Icon icon="Code" />
431
- <Icon icon="FileText" />
432
- <Icon icon="CheckCircle" />
433
- </Col>
434
- \`\`\`
435
-
436
- <Row cols={3}>
437
- <Icon icon="Code" />
438
- <Icon icon="FileText" />
439
- <Icon icon="CheckCircle" />
440
- </Row>
441
- `;export{n as default};