@xyd-js/components 0.1.0-build.168

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 (314) hide show
  1. package/.idea/git_toolbox_blame.xml +6 -0
  2. package/.idea/modules.xml +8 -0
  3. package/.idea/vcs.xml +6 -0
  4. package/.idea/xyd-components.iml +12 -0
  5. package/CHANGELOG.md +1369 -0
  6. package/LICENSE +21 -0
  7. package/README.md +3 -0
  8. package/TODO.md +1 -0
  9. package/coder.ts +1 -0
  10. package/content.ts +1 -0
  11. package/dist/Button-BLA2ghHZ.js +2 -0
  12. package/dist/Button-BLA2ghHZ.js.map +1 -0
  13. package/dist/Button-BTJ2hIal.js +2 -0
  14. package/dist/Button-BTJ2hIal.js.map +1 -0
  15. package/dist/Button-r4BCrEjy.js +2 -0
  16. package/dist/Button-r4BCrEjy.js.map +1 -0
  17. package/dist/CodeSample-BZ5tvyWY.js +2 -0
  18. package/dist/CodeSample-BZ5tvyWY.js.map +1 -0
  19. package/dist/CodeSample-BqXDbWdi.js +2 -0
  20. package/dist/CodeSample-BqXDbWdi.js.map +1 -0
  21. package/dist/CodeSample-Cqv86IdN.js +2 -0
  22. package/dist/CodeSample-Cqv86IdN.js.map +1 -0
  23. package/dist/Icon--77MqplU.js +2 -0
  24. package/dist/Icon--77MqplU.js.map +1 -0
  25. package/dist/Icon-DbNmvK_Q.js +2 -0
  26. package/dist/Icon-DbNmvK_Q.js.map +1 -0
  27. package/dist/Icon-uVIU1LW6.js +2 -0
  28. package/dist/Icon-uVIU1LW6.js.map +1 -0
  29. package/dist/PageFirstSlide-BDNmCTiJ.js +2 -0
  30. package/dist/PageFirstSlide-BDNmCTiJ.js.map +1 -0
  31. package/dist/PageFirstSlide-BpZ42bEU.js +2 -0
  32. package/dist/PageFirstSlide-BpZ42bEU.js.map +1 -0
  33. package/dist/PageFirstSlide-CqxiyK57.js +2 -0
  34. package/dist/PageFirstSlide-CqxiyK57.js.map +1 -0
  35. package/dist/TabsAnalytics-B_JYpawG.js +2 -0
  36. package/dist/TabsAnalytics-B_JYpawG.js.map +1 -0
  37. package/dist/TabsAnalytics-DAOfTZgv.js +2 -0
  38. package/dist/TabsAnalytics-DAOfTZgv.js.map +1 -0
  39. package/dist/TabsAnalytics-Dhyadlbu.js +2 -0
  40. package/dist/TabsAnalytics-Dhyadlbu.js.map +1 -0
  41. package/dist/Update-53fEhmjh.js +2 -0
  42. package/dist/Update-53fEhmjh.js.map +1 -0
  43. package/dist/Update-CFi6uapq.js +2 -0
  44. package/dist/Update-CFi6uapq.js.map +1 -0
  45. package/dist/Update-CiMIOgZi.js +2 -0
  46. package/dist/Update-CiMIOgZi.js.map +1 -0
  47. package/dist/VideoGuide-C0K9fFar.js +2 -0
  48. package/dist/VideoGuide-C0K9fFar.js.map +1 -0
  49. package/dist/VideoGuide-CJYkuLst.js +2 -0
  50. package/dist/VideoGuide-CJYkuLst.js.map +1 -0
  51. package/dist/VideoGuide-DBY-EyxG.js +2 -0
  52. package/dist/VideoGuide-DBY-EyxG.js.map +1 -0
  53. package/dist/_rollupPluginBabelHelpers-CvhQFv1t.js +4 -0
  54. package/dist/_rollupPluginBabelHelpers-CvhQFv1t.js.map +1 -0
  55. package/dist/_rollupPluginBabelHelpers-DSwDY1Dm.js +4 -0
  56. package/dist/_rollupPluginBabelHelpers-DSwDY1Dm.js.map +1 -0
  57. package/dist/_rollupPluginBabelHelpers-Dc-ocx4G.js +4 -0
  58. package/dist/_rollupPluginBabelHelpers-Dc-ocx4G.js.map +1 -0
  59. package/dist/coder/themes/classic.css +57 -0
  60. package/dist/coder/themes/classic.d.ts +96 -0
  61. package/dist/coder/themes/classic.js +2 -0
  62. package/dist/coder/themes/classic.js.map +1 -0
  63. package/dist/coder/themes/cosmo.css +64 -0
  64. package/dist/coder/themes/cosmo.d.ts +96 -0
  65. package/dist/coder/themes/cosmo.js +2 -0
  66. package/dist/coder/themes/cosmo.js.map +1 -0
  67. package/dist/coder.d.ts +94 -0
  68. package/dist/coder.js +2 -0
  69. package/dist/coder.js.map +1 -0
  70. package/dist/content.d.ts +411 -0
  71. package/dist/content.js +2 -0
  72. package/dist/content.js.map +1 -0
  73. package/dist/index.css +282 -0
  74. package/dist/index.d.ts +2 -0
  75. package/dist/index.js +2 -0
  76. package/dist/index.js.map +1 -0
  77. package/dist/layouts.d.ts +33 -0
  78. package/dist/layouts.js +2 -0
  79. package/dist/layouts.js.map +1 -0
  80. package/dist/pages.d.ts +176 -0
  81. package/dist/pages.js +2 -0
  82. package/dist/pages.js.map +1 -0
  83. package/dist/system.d.ts +45 -0
  84. package/dist/system.js +2 -0
  85. package/dist/system.js.map +1 -0
  86. package/dist/useUXClick-DK3cTAMR.js +2 -0
  87. package/dist/useUXClick-DK3cTAMR.js.map +1 -0
  88. package/dist/useUXClick-DO6qBcRy.js +2 -0
  89. package/dist/useUXClick-DO6qBcRy.js.map +1 -0
  90. package/dist/useUXClick-NwpsiuK9.js +2 -0
  91. package/dist/useUXClick-NwpsiuK9.js.map +1 -0
  92. package/dist/useUXEvents-CJtgGV4R.js +2 -0
  93. package/dist/useUXEvents-CJtgGV4R.js.map +1 -0
  94. package/dist/useUXEvents-Cxgl7xb-.js +2 -0
  95. package/dist/useUXEvents-Cxgl7xb-.js.map +1 -0
  96. package/dist/useUXEvents-XqAGxoEj.js +2 -0
  97. package/dist/useUXEvents-XqAGxoEj.js.map +1 -0
  98. package/dist/useUXScrollDepth-3rk3Z95r.js +2 -0
  99. package/dist/useUXScrollDepth-3rk3Z95r.js.map +1 -0
  100. package/dist/useUXScrollDepth-BwK-XOBg.js +2 -0
  101. package/dist/useUXScrollDepth-BwK-XOBg.js.map +1 -0
  102. package/dist/useUXScrollDepth-DKre7PBz.js +2 -0
  103. package/dist/useUXScrollDepth-DKre7PBz.js.map +1 -0
  104. package/dist/uxsdk.d.ts +53 -0
  105. package/dist/uxsdk.js +2 -0
  106. package/dist/uxsdk.js.map +1 -0
  107. package/dist/views.d.ts +18 -0
  108. package/dist/views.js +2 -0
  109. package/dist/views.js.map +1 -0
  110. package/dist/writer.d.ts +580 -0
  111. package/dist/writer.js +2 -0
  112. package/dist/writer.js.map +1 -0
  113. package/docs/.nojekyll +1 -0
  114. package/docs/assets/hierarchy.js +1 -0
  115. package/docs/assets/highlight.css +22 -0
  116. package/docs/assets/icons.js +18 -0
  117. package/docs/assets/icons.svg +1 -0
  118. package/docs/assets/main.js +60 -0
  119. package/docs/assets/navigation.js +1 -0
  120. package/docs/assets/search.js +1 -0
  121. package/docs/assets/style.css +1640 -0
  122. package/docs/functions/GuideCard.html +6 -0
  123. package/docs/hierarchy.html +1 -0
  124. package/docs/index.html +2 -0
  125. package/docs/interfaces/GuideCardProps.html +18 -0
  126. package/docs/modules.html +1 -0
  127. package/index.ts +0 -0
  128. package/layouts.ts +1 -0
  129. package/output.txt +13 -0
  130. package/package.json +81 -0
  131. package/pages.ts +1 -0
  132. package/postcss.config.cjs +5 -0
  133. package/rollup.config.js +195 -0
  134. package/src/coder/Code/Code.styles.tsx +151 -0
  135. package/src/coder/Code/Code.tsx +171 -0
  136. package/src/coder/Code/CodeLoader.tsx +10 -0
  137. package/src/coder/Code/annotations.tsx +51 -0
  138. package/src/coder/Code/highlight.ts +208 -0
  139. package/src/coder/Code/index.ts +16 -0
  140. package/src/coder/CodeCopy/CodeCopy.styles.tsx +21 -0
  141. package/src/coder/CodeCopy/CodeCopy.tsx +36 -0
  142. package/src/coder/CodeCopy/index.ts +7 -0
  143. package/src/coder/CodeSample/CodeSample.tsx +118 -0
  144. package/src/coder/CodeSample/CodeSampleAnalytics.tsx +112 -0
  145. package/src/coder/CodeSample/index.ts +11 -0
  146. package/src/coder/CodeSample/withLocalStored.tsx +50 -0
  147. package/src/coder/CodeTabs/CodeTabs.styles.tsx +126 -0
  148. package/src/coder/CodeTabs/CodeTabs.tsx +128 -0
  149. package/src/coder/CodeTabs/index.ts +6 -0
  150. package/src/coder/CodeTheme/CodeTheme.tsx +126 -0
  151. package/src/coder/CodeTheme/index.ts +7 -0
  152. package/src/coder/CoderProvider.tsx +26 -0
  153. package/src/coder/README.md +1 -0
  154. package/src/coder/hooks/highlight.ts +182 -0
  155. package/src/coder/index.ts +37 -0
  156. package/src/coder/themes/classic.css +57 -0
  157. package/src/coder/themes/classic.ts +270 -0
  158. package/src/coder/themes/cosmo.css +64 -0
  159. package/src/coder/themes/cosmo.ts +264 -0
  160. package/src/content/AppearanceDecorator.styles.tsx +11 -0
  161. package/src/content/ContentDecoator.styles.tsx +180 -0
  162. package/src/content/ContentDecorator.tsx +17 -0
  163. package/src/content/GridDecorator.styles.tsx +86 -0
  164. package/src/content/GridDecorator.tsx +23 -0
  165. package/src/content/ReactContent.tsx +671 -0
  166. package/src/content/TODO.md +1 -0
  167. package/src/content/index.ts +13 -0
  168. package/src/kit/Loader/Loader.styles.tsx +53 -0
  169. package/src/kit/Loader/Loader.tsx +22 -0
  170. package/src/kit/TODO.md +2 -0
  171. package/src/kit/index.ts +1 -0
  172. package/src/layouts/LayoutPrimary/LayoutPrimary.styles.tsx +325 -0
  173. package/src/layouts/LayoutPrimary/LayoutPrimary.tsx +252 -0
  174. package/src/layouts/LayoutPrimary/index.ts +3 -0
  175. package/src/layouts/index.ts +6 -0
  176. package/src/pages/PageBlogHome/PageBlogHome.styles.tsx +67 -0
  177. package/src/pages/PageBlogHome/PageBlogHome.tsx +64 -0
  178. package/src/pages/PageBlogHome/index.ts +3 -0
  179. package/src/pages/PageBlogHome/types.ts +35 -0
  180. package/src/pages/PageBlogPost/PageBlogPost.styles.tsx +4 -0
  181. package/src/pages/PageBlogPost/PageBlogPost.tsx +9 -0
  182. package/src/pages/PageBlogPost/index.ts +3 -0
  183. package/src/pages/PageFirstSlide/PageFirstSlide.styles.tsx +134 -0
  184. package/src/pages/PageFirstSlide/PageFirstSlide.tsx +56 -0
  185. package/src/pages/PageFirstSlide/index.ts +1 -0
  186. package/src/pages/PageFirstSlide/types.ts +67 -0
  187. package/src/pages/PageHome/PageHome.styles.tsx +51 -0
  188. package/src/pages/PageHome/PageHome.tsx +62 -0
  189. package/src/pages/PageHome/index.ts +3 -0
  190. package/src/pages/PageHome/types.ts +79 -0
  191. package/src/pages/index.ts +7 -0
  192. package/src/system/Baseline/Baseline.styles.tsx +128 -0
  193. package/src/system/Baseline/Baseline.tsx +40 -0
  194. package/src/system/Baseline/bun.svg +1 -0
  195. package/src/system/Baseline/check.svg +1 -0
  196. package/src/system/Baseline/index.ts +1 -0
  197. package/src/system/Baseline/logo.svg +1 -0
  198. package/src/system/Baseline/node.svg +7 -0
  199. package/src/system/Baseline/npm.svg +5 -0
  200. package/src/system/Baseline/pnpm.svg +1 -0
  201. package/src/system/Footer/Footer.styles.tsx +213 -0
  202. package/src/system/Footer/Footer.tsx +105 -0
  203. package/src/system/Footer/index.ts +1 -0
  204. package/src/system/SearchButton/SearchButton.styles.tsx +89 -0
  205. package/src/system/SearchButton/SearchButton.tsx +118 -0
  206. package/src/system/SearchButton/index.ts +1 -0
  207. package/src/system/index.ts +3 -0
  208. package/src/utils/useStyle.ts +19 -0
  209. package/src/uxsdk/const.ts +1 -0
  210. package/src/uxsdk/index.ts +21 -0
  211. package/src/uxsdk/useUXClick.ts +21 -0
  212. package/src/uxsdk/useUXEvents.ts +105 -0
  213. package/src/uxsdk/useUXScrollDepth.ts +49 -0
  214. package/src/uxsdk/useUXUnreachableElementTracker.ts +100 -0
  215. package/src/views/HomeView/HomeView.styles.tsx +37 -0
  216. package/src/views/HomeView/HomeView.tsx +34 -0
  217. package/src/views/HomeView/index.ts +3 -0
  218. package/src/writer/Anchor/Anchor.styles.tsx +26 -0
  219. package/src/writer/Anchor/Anchor.tsx +51 -0
  220. package/src/writer/Anchor/index.tsx +1 -0
  221. package/src/writer/Badge/Badge.styles.tsx +44 -0
  222. package/src/writer/Badge/Badge.tsx +47 -0
  223. package/src/writer/Badge/index.ts +7 -0
  224. package/src/writer/Banner/Banner.styles.tsx +111 -0
  225. package/src/writer/Banner/Banner.tsx +151 -0
  226. package/src/writer/Banner/index.ts +1 -0
  227. package/src/writer/Blockquote/Blockquote.styles.tsx +20 -0
  228. package/src/writer/Blockquote/Blockquote.tsx +38 -0
  229. package/src/writer/Blockquote/index.ts +7 -0
  230. package/src/writer/BlogCard/BlogCard.styles.tsx +4 -0
  231. package/src/writer/BlogCard/BlogCard.tsx +9 -0
  232. package/src/writer/BlogCard/index.ts +3 -0
  233. package/src/writer/Breadcrumbs/Breadcrumbs.styles.ts +24 -0
  234. package/src/writer/Breadcrumbs/Breadcrumbs.tsx +57 -0
  235. package/src/writer/Breadcrumbs/index.ts +7 -0
  236. package/src/writer/Button/Button.styles.tsx +149 -0
  237. package/src/writer/Button/Button.tsx +82 -0
  238. package/src/writer/Button/index.ts +2 -0
  239. package/src/writer/Callout/Callout.styles.tsx +102 -0
  240. package/src/writer/Callout/Callout.tsx +166 -0
  241. package/src/writer/Callout/index.tsx +3 -0
  242. package/src/writer/Card/Card.styles.tsx +110 -0
  243. package/src/writer/Card/Card.tsx +94 -0
  244. package/src/writer/Card/index.ts +1 -0
  245. package/src/writer/Code/Code.styles.tsx +16 -0
  246. package/src/writer/Code/Code.tsx +16 -0
  247. package/src/writer/Code/index.ts +3 -0
  248. package/src/writer/ColorSchemeButton/ColorSchemeButton.tsx +191 -0
  249. package/src/writer/ColorSchemeButton/index.ts +1 -0
  250. package/src/writer/Details/Details.styles.tsx +101 -0
  251. package/src/writer/Details/Details.tsx +168 -0
  252. package/src/writer/Details/DetailsProps.tsx +34 -0
  253. package/src/writer/Details/index.ts +6 -0
  254. package/src/writer/GuideCard/GuideCard.styles.tsx +129 -0
  255. package/src/writer/GuideCard/GuideCard.tsx +123 -0
  256. package/src/writer/GuideCard/index.ts +1 -0
  257. package/src/writer/Heading/Heading.styles.tsx +93 -0
  258. package/src/writer/Heading/Heading.tsx +123 -0
  259. package/src/writer/Heading/index.ts +7 -0
  260. package/src/writer/Hr/Hr.styles.tsx +7 -0
  261. package/src/writer/Hr/Hr.tsx +10 -0
  262. package/src/writer/Hr/index.ts +3 -0
  263. package/src/writer/Icon/Icon.styles.tsx +15 -0
  264. package/src/writer/Icon/Icon.tsx +99 -0
  265. package/src/writer/Icon/index.ts +1 -0
  266. package/src/writer/IconSocial/IconSocial.tsx +107 -0
  267. package/src/writer/IconSocial/index.ts +1 -0
  268. package/src/writer/Image/Image.styles.tsx +9 -0
  269. package/src/writer/Image/Image.tsx +35 -0
  270. package/src/writer/Image/index.ts +1 -0
  271. package/src/writer/List/List.styles.tsx +47 -0
  272. package/src/writer/List/List.tsx +29 -0
  273. package/src/writer/List/index.ts +4 -0
  274. package/src/writer/NavLinks/NavLinks.styles.ts +32 -0
  275. package/src/writer/NavLinks/NavLinks.tsx +95 -0
  276. package/src/writer/NavLinks/index.ts +7 -0
  277. package/src/writer/Pre/Pre.styles.tsx +13 -0
  278. package/src/writer/Pre/Pre.tsx +14 -0
  279. package/src/writer/Pre/index.ts +3 -0
  280. package/src/writer/README.md +1 -0
  281. package/src/writer/Steps/Steps.styles.tsx +91 -0
  282. package/src/writer/Steps/Steps.tsx +75 -0
  283. package/src/writer/Steps/index.ts +5 -0
  284. package/src/writer/Table/Table.styles.tsx +100 -0
  285. package/src/writer/Table/Table.tsx +158 -0
  286. package/src/writer/Table/index.ts +3 -0
  287. package/src/writer/Tabs/Tabs.tsx +67 -0
  288. package/src/writer/Tabs/TabsAnalytics.tsx +25 -0
  289. package/src/writer/Tabs/TabsPrimary.styles.tsx +187 -0
  290. package/src/writer/Tabs/TabsPrimary.tsx +215 -0
  291. package/src/writer/Tabs/TabsProps.tsx +13 -0
  292. package/src/writer/Tabs/TabsSecondary.styles.tsx +78 -0
  293. package/src/writer/Tabs/TabsSecondary.tsx +176 -0
  294. package/src/writer/Tabs/index.ts +2 -0
  295. package/src/writer/Tabs/useValueChange.ts +84 -0
  296. package/src/writer/Text/Text.styles.tsx +66 -0
  297. package/src/writer/Text/Text.tsx +79 -0
  298. package/src/writer/Text/index.ts +3 -0
  299. package/src/writer/TocCard/TocCard.module.css +44 -0
  300. package/src/writer/TocCard/TocCard.tsx +42 -0
  301. package/src/writer/TocCard/index.ts +3 -0
  302. package/src/writer/Update/Update.styles.tsx +33 -0
  303. package/src/writer/Update/Update.tsx +37 -0
  304. package/src/writer/Update/index.ts +1 -0
  305. package/src/writer/VideoGuide/VideoGuide.module.css +105 -0
  306. package/src/writer/VideoGuide/VideoGuide.tsx +75 -0
  307. package/src/writer/VideoGuide/index.ts +1 -0
  308. package/src/writer/index.ts +53 -0
  309. package/system.ts +1 -0
  310. package/tsconfig.json +46 -0
  311. package/types.d.ts +52 -0
  312. package/uxsdk.ts +1 -0
  313. package/views.ts +2 -0
  314. package/writer.ts +1 -0
@@ -0,0 +1,580 @@
1
+ import React$1, { ReactElement } from 'react';
2
+ import { Social } from '@xyd-js/core';
3
+
4
+ declare const Anchor: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
5
+ newWindow?: boolean;
6
+ as?: React$1.ElementType;
7
+ } & React$1.RefAttributes<HTMLAnchorElement>>;
8
+
9
+ interface BadgeProps {
10
+ /**
11
+ * The class name of the badge.
12
+ */
13
+ className?: string;
14
+ /**
15
+ * The children of the badge.
16
+ */
17
+ children?: React$1.ReactNode;
18
+ /**
19
+ * The size of the badge.
20
+ */
21
+ size?: "sm" | "xs";
22
+ /**
23
+ * The kind of the badge.
24
+ */
25
+ kind?: "warning" | "info" | "default";
26
+ }
27
+ /**
28
+ * Badge component is used to display a badge.
29
+ *
30
+ * @group Components
31
+ */
32
+ declare function Badge({ className, children, size, kind }: BadgeProps): React$1.JSX.Element;
33
+
34
+ interface BannerProps {
35
+ children: React$1.ReactNode;
36
+ kind?: "secondary";
37
+ label?: string;
38
+ href?: string;
39
+ icon?: React$1.ReactNode | string;
40
+ store?: number;
41
+ }
42
+ declare function Banner(props: BannerProps): React$1.JSX.Element | null;
43
+ declare namespace Banner {
44
+ var Secondary: (props: BannerProps & {
45
+ onClose?: () => void;
46
+ }) => React$1.JSX.Element | null;
47
+ }
48
+
49
+ interface BlockquoteProps {
50
+ className?: string;
51
+ children: React$1.ReactNode;
52
+ }
53
+ declare function Blockquote({ className, children }: BlockquoteProps): React$1.JSX.Element;
54
+
55
+ interface BreadcrumbsProps {
56
+ className?: string;
57
+ items: {
58
+ title: string;
59
+ href?: string;
60
+ }[];
61
+ as?: React$1.ElementType;
62
+ }
63
+ declare function Breadcrumbs({ className, items, as }: BreadcrumbsProps): ReactElement;
64
+
65
+ interface ButtonProps {
66
+ children?: React$1.ReactNode;
67
+ kind?: "primary" | "secondary" | "tertiary" | undefined;
68
+ theme?: "ghost";
69
+ size?: "xs" | "sm" | "md" | "lg";
70
+ className?: string;
71
+ onClick?: () => void;
72
+ disabled?: boolean;
73
+ icon?: React$1.ReactElement | string;
74
+ iconPosition?: "left" | "right";
75
+ href?: string;
76
+ }
77
+ declare function Button({ children, kind, theme, size, className, onClick, disabled, icon, iconPosition, href }: ButtonProps): React$1.JSX.Element;
78
+
79
+ /**
80
+ * Props for the Callout component
81
+ */
82
+ interface CalloutProps {
83
+ /** Additional CSS class name to be applied to the callout */
84
+ className?: string;
85
+ /** Content to be displayed inside the callout */
86
+ children: React$1.ReactNode;
87
+ kind?: "warning" | "note" | "tip" | "check" | "danger";
88
+ }
89
+ /**
90
+ * A Callout component that displays important information or notices in a visually distinct way.
91
+ * It includes an info icon and a message area for content.
92
+ *
93
+ * @category Component
94
+ */
95
+ declare function Callout({ className, children, kind }: CalloutProps): React$1.JSX.Element;
96
+
97
+ interface CardProps {
98
+ title: string;
99
+ href?: string;
100
+ link?: React$1.ElementType;
101
+ description?: string;
102
+ btnText?: string;
103
+ imgSrc?: string;
104
+ imgAlt?: string;
105
+ logoSrc?: string;
106
+ logoAlt?: string;
107
+ shadow?: "md";
108
+ }
109
+ declare function Card(props: CardProps): React$1.JSX.Element;
110
+
111
+ interface CodeProps {
112
+ className?: string;
113
+ children: React$1.ReactNode;
114
+ }
115
+ declare function Code({ className, children }: CodeProps): React$1.JSX.Element;
116
+
117
+ declare function ColorSchemeButton(): React$1.JSX.Element;
118
+ declare function useColorScheme(): ["dark" | "light" | null, () => void];
119
+
120
+ /**
121
+ * Base interface for all Details component variants
122
+ */
123
+ interface BaseDetailsProps {
124
+ /** Content to be displayed inside the details element */
125
+ children: React$1.ReactNode;
126
+ /** Label text displayed in the summary */
127
+ label: string;
128
+ /** Optional icon element to be displayed in the summary */
129
+ icon?: React$1.ReactElement;
130
+ /** Optional CSS class name for custom styling */
131
+ className?: string;
132
+ }
133
+ /**
134
+ * Props for the tertiary variant of the Details component
135
+ */
136
+ interface TertiaryDetailsProps extends BaseDetailsProps {
137
+ /** Specifies the tertiary variant */
138
+ kind: "tertiary";
139
+ /** Title text or element displayed in the summary */
140
+ title: string | React$1.ReactNode;
141
+ }
142
+ /**
143
+ * Props for the secondary variant of the Details component
144
+ */
145
+ interface SecondaryDetailsProps extends BaseDetailsProps {
146
+ /** Specifies the secondary variant */
147
+ kind: "secondary";
148
+ /** Title text or element displayed in the summary */
149
+ title: string | React$1.ReactNode;
150
+ }
151
+ /**
152
+ * Props for the primary variant of the Details component
153
+ */
154
+ interface PrimaryDetailsProps extends BaseDetailsProps {
155
+ /** Specifies the primary variant (default) */
156
+ kind?: "primary";
157
+ }
158
+ /** Union type of all possible Details component variants */
159
+ type DetailsProps$1 = PrimaryDetailsProps | SecondaryDetailsProps | TertiaryDetailsProps;
160
+ /**
161
+ * A collapsible details component that supports three variants: primary, secondary, and tertiary.
162
+ * Each variant has a different visual style and structure.
163
+ *
164
+ * @param props - The component props
165
+ * @returns A details element with collapsible content
166
+ *
167
+ * @category Component
168
+ */
169
+ declare function Details(props: DetailsProps$1): React$1.ReactElement;
170
+
171
+ interface DetailsProps {
172
+ /** Content to be displayed inside the details element */
173
+ children: React.ReactNode;
174
+ /** Label text displayed in the summary */
175
+ label: string;
176
+ /** Optional icon element to be displayed in the summary */
177
+ icon?: React.ReactElement;
178
+ /** Optional CSS class name for custom styling */
179
+ className?: string;
180
+ /**
181
+ * Which visual style to use.
182
+ * @default 'primary'
183
+ */
184
+ kind?: 'primary' | 'secondary' | 'tertiary';
185
+ /**
186
+ * Title text or element displayed in the summary.
187
+ * Required when `kind` is 'secondary' or 'tertiary'.
188
+ */
189
+ title?: React.ReactNode;
190
+ }
191
+ /**
192
+ * Props for the Details component
193
+ *
194
+ * @category Component
195
+ */
196
+ declare function DetailsProps(props: DetailsProps): DetailsProps;
197
+
198
+ /**
199
+ * Props for the GuideCard component
200
+ */
201
+ interface GuideCardProps {
202
+ /** Content to be displayed in the card body */
203
+ children: React$1.ReactNode;
204
+ /** URL the card links to */
205
+ href: string;
206
+ /** Title displayed at the top of the card */
207
+ title?: string;
208
+ /** Optional icon displayed to the left of the content */
209
+ icon?: React$1.ReactNode | string;
210
+ /** Visual style variant of the card */
211
+ kind?: "secondary";
212
+ /** Size variant of the card */
213
+ size?: "sm" | "md";
214
+ /** Additional CSS class names to apply to the card */
215
+ className?: string;
216
+ /** Additional props to pass to the link element */
217
+ as?: React$1.ElementType;
218
+ }
219
+ /**
220
+ * A card component that displays content with a title and optional icon.
221
+ * The entire card is clickable and links to the specified URL.
222
+ *
223
+ * @category Component
224
+ */
225
+ declare function GuideCard({ children, href, icon, title, kind, size, className, as, }: GuideCardProps): React$1.JSX.Element;
226
+ declare namespace GuideCard {
227
+ var Title: ({ children }: {
228
+ children: React$1.ReactNode;
229
+ }) => React$1.JSX.Element;
230
+ var List: ({ children }: {
231
+ children: React$1.ReactNode;
232
+ }) => React$1.JSX.Element;
233
+ }
234
+
235
+ /**
236
+ * Props for the Heading component
237
+ * @interface HeadingProps
238
+ */
239
+ interface HeadingProps {
240
+ /** Content to be rendered inside the heading */
241
+ children: React$1.ReactNode;
242
+ /** The size of the heading (1-6, corresponding to h1-h6) */
243
+ size: 1 | 2 | 3 | 4 | 5 | 6;
244
+ /** Optional HTML element to render as (div or span) */
245
+ as?: "div" | "span";
246
+ /** Optional ID for the heading element */
247
+ id?: string;
248
+ /** Optional visual style variant */
249
+ kind?: "muted";
250
+ /** Optional click handler */
251
+ onClick?: () => void;
252
+ /** Optional additional CSS class name */
253
+ className?: string;
254
+ /** Optional active state */
255
+ active?: boolean;
256
+ /** Optional label for the heading */
257
+ label?: string;
258
+ /** Optional subtitle for the heading */
259
+ subtitle?: string;
260
+ /** Optional to hide the anchor icon */
261
+ noanchor?: boolean;
262
+ /** Optional ref for the heading element */
263
+ ref?: React$1.RefObject<HTMLHeadingElement>;
264
+ style?: React$1.CSSProperties;
265
+ }
266
+ /**
267
+ * A flexible heading component that can render as any heading level (h1-h6) or as a div/span
268
+ *
269
+ * @category Component
270
+ */
271
+ declare function Heading(props: HeadingProps): React$1.JSX.Element;
272
+
273
+ interface HrProps {
274
+ }
275
+ declare function Hr(): React$1.JSX.Element;
276
+
277
+ declare const IconProvider: React$1.Context<{
278
+ iconSet: {};
279
+ }>;
280
+ interface IconProps {
281
+ name: string;
282
+ size?: number;
283
+ color?: string;
284
+ }
285
+ declare function Icon(props: IconProps): ReactElement | null;
286
+ declare namespace Icon {
287
+ var ExternalArrow: () => React$1.JSX.Element;
288
+ }
289
+
290
+ interface IconSocialProps extends React$1.SVGProps<SVGSVGElement> {
291
+ kind: Social;
292
+ }
293
+ declare function IconSocial({ kind, ...props }: IconSocialProps): React$1.JSX.Element | null;
294
+ declare namespace IconSocial {
295
+ var Twitter: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
296
+ var Facebook: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
297
+ var Youtube: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
298
+ var Discord: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
299
+ var Slack: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
300
+ var Github: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
301
+ var Linkedin: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
302
+ var Intagram: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
303
+ var HackerNews: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
304
+ var Medium: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
305
+ var Telegram: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
306
+ var Bluesky: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
307
+ var Reddit: (props: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
308
+ }
309
+
310
+ interface ImageProps extends React$1.ImgHTMLAttributes<HTMLImageElement> {
311
+ src: string;
312
+ alt: string;
313
+ style?: React$1.CSSProperties;
314
+ caption?: string;
315
+ }
316
+ declare function Image(props: ImageProps): React$1.JSX.Element;
317
+
318
+ interface ListProps {
319
+ children: React$1.ReactNode;
320
+ }
321
+ declare function List({ children }: ListProps): React$1.JSX.Element;
322
+ declare namespace List {
323
+ var Item: typeof ListItem;
324
+ }
325
+ declare function ListOl({ children }: ListProps): React$1.JSX.Element;
326
+ interface ListItemProps {
327
+ children: React$1.ReactNode;
328
+ }
329
+ declare function ListItem({ children }: ListItemProps): React$1.JSX.Element;
330
+
331
+ interface NavLinksProps {
332
+ prev?: {
333
+ title: string;
334
+ href: string;
335
+ };
336
+ next?: {
337
+ title: string;
338
+ href: string;
339
+ };
340
+ as?: React$1.ElementType;
341
+ className?: string;
342
+ }
343
+ declare function NavLinks(props: NavLinksProps): React$1.JSX.Element;
344
+
345
+ interface PreProps {
346
+ children: React$1.ReactNode;
347
+ className?: string;
348
+ }
349
+ declare function Pre({ children, className }: PreProps): React$1.JSX.Element;
350
+
351
+ /**
352
+ * Props for the Steps component
353
+ */
354
+ interface StepsProps {
355
+ /** Content to be rendered inside the steps list */
356
+ children: React$1.ReactNode;
357
+ /** Optional CSS class name to be applied to the steps container */
358
+ className?: string;
359
+ /** Optional kind of steps to be rendered */
360
+ kind?: "secondary" | undefined;
361
+ }
362
+ /**
363
+ * Steps component that renders a numbered list of steps or stages.
364
+ * Use this component to display a sequence of steps in a process or workflow.
365
+ *
366
+ * @category Component
367
+ */
368
+ declare function Steps({ children, className, kind }: StepsProps): React$1.JSX.Element;
369
+ declare namespace Steps {
370
+ var Item: ({ children, icon, title, className }: StepsItemProps) => React$1.JSX.Element;
371
+ }
372
+ /**
373
+ * Props for the Steps.Item component
374
+ */
375
+ interface StepsItemProps {
376
+ /** Content to be rendered inside the step item */
377
+ children: React$1.ReactNode;
378
+ /** Optional icon to be displayed in the step item */
379
+ icon?: string | React$1.ReactNode;
380
+ /** Optional title to be displayed in the step item */
381
+ title?: string;
382
+ /** Optional CSS class name to be applied to the step item */
383
+ className?: string;
384
+ }
385
+
386
+ /**
387
+ * Props for the Table component
388
+ */
389
+ interface TableProps {
390
+ /** The content to be rendered inside the table */
391
+ children: React$1.ReactNode;
392
+ /** Optional kind of the table, can be used for styling purposes */
393
+ kind?: "secondary";
394
+ /** Optional CSS class name to be applied to the table */
395
+ className?: string;
396
+ }
397
+ /**
398
+ * A table component that provides a structured way to display tabular data.
399
+ * It supports custom styling through className prop and can contain various table elements.
400
+ *
401
+ * @category Component
402
+ */
403
+ declare function Table({ children, kind, className }: TableProps): React$1.JSX.Element;
404
+ declare namespace Table {
405
+ var Head: ({ children }: TableHeadProps) => React$1.JSX.Element;
406
+ var Th: ({ children, numeric }: TableThProps) => React$1.JSX.Element;
407
+ var Tr: ({ children }: TableTrProps) => React$1.JSX.Element;
408
+ var Body: ({ children }: TableBodyProps) => React$1.JSX.Element;
409
+ var Td: ({ children, numeric, muted }: TableTdProps) => React$1.JSX.Element;
410
+ var Cell: ({ children }: TableCellProps) => React$1.JSX.Element;
411
+ }
412
+ /**
413
+ * Props for the TableHead component
414
+ */
415
+ interface TableHeadProps {
416
+ /** The content to be rendered inside the table header */
417
+ children: React$1.ReactNode;
418
+ }
419
+ /**
420
+ * Props for the TableTh component
421
+ */
422
+ interface TableThProps {
423
+ /** The content to be rendered inside the table header cell */
424
+ children: React$1.ReactNode;
425
+ /** Whether the cell content should be right-aligned (for numeric values) */
426
+ numeric?: boolean;
427
+ }
428
+ /**
429
+ * Props for the TableTr component
430
+ */
431
+ interface TableTrProps {
432
+ /** The content to be rendered inside the table row */
433
+ children: React$1.ReactNode;
434
+ }
435
+ /**
436
+ * Props for the TableBody component
437
+ */
438
+ interface TableBodyProps {
439
+ /** The content to be rendered inside the table body */
440
+ children: React$1.ReactNode;
441
+ }
442
+ /**
443
+ * Props for the TableTd component
444
+ */
445
+ interface TableTdProps {
446
+ /** The content to be rendered inside the table cell */
447
+ children: React$1.ReactNode;
448
+ /** Whether the cell content should be right-aligned (for numeric values) */
449
+ numeric?: boolean;
450
+ /** Whether the cell should have a muted appearance */
451
+ muted?: boolean;
452
+ }
453
+ /**
454
+ * Props for the TableCell component
455
+ */
456
+ interface TableCellProps {
457
+ /** The content to be rendered inside the table cell */
458
+ children: React$1.ReactNode;
459
+ }
460
+
461
+ /**
462
+ * Props for the TabsPrimary component
463
+ */
464
+ interface TabsPrimaryProps {
465
+ /** Child elements to be rendered within the navigation */
466
+ children: React$1.ReactNode;
467
+ /** The currently selected tab value */
468
+ value?: string;
469
+ /** Callback function triggered when a tab is selected */
470
+ onChange?: (value: string) => void;
471
+ /** Whether to enable sliding animation between tabs */
472
+ slide?: boolean;
473
+ /** Additional CSS class name for the component */
474
+ className?: string;
475
+ }
476
+
477
+ interface TabsSecondaryProps {
478
+ /** The currently selected tab value */
479
+ value?: string;
480
+ children: React$1.ReactNode;
481
+ className?: string;
482
+ onChange?: (value: string) => void;
483
+ }
484
+
485
+ interface TabsPropsCommon {
486
+ /** The kind of tabs to render. If not provided, the component will render the primary tabs. */
487
+ kind?: 'secondary' | null;
488
+ }
489
+ type TabsProps$1<T> = T & TabsPropsCommon;
490
+ /**
491
+ * A component that renders a tabs component.
492
+ *
493
+ * @category Component
494
+ */
495
+ declare function Tabs(props: TabsProps$1<TabsSecondaryProps | TabsPrimaryProps>): React$1.JSX.Element;
496
+ declare namespace Tabs {
497
+ var Item: (props: any) => React$1.JSX.Element;
498
+ var Content: (props: any) => React$1.JSX.Element;
499
+ }
500
+
501
+ interface TabsProps {
502
+ /** The kind of tabs to render. If not provided, the component will render the primary tabs. */
503
+ kind?: 'secondary' | null;
504
+ }
505
+ /**
506
+ * Props for the Tabs component
507
+ *
508
+ * @category Component
509
+ */
510
+ declare function TabsProps(props: TabsProps): TabsProps;
511
+
512
+ /**
513
+ * Available font sizes for the Text component
514
+ */
515
+ type TextFontSizes = "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge";
516
+ /**
517
+ * Available text styles/kinds for the Text component
518
+ */
519
+ type TextKindTypes = "default" | "ghost" | "success" | "warn" | "error" | "primary" | "secondary";
520
+ /**
521
+ * Available font weights for the Text component
522
+ */
523
+ type TextFontWeights = "normal" | "bold" | "extra-bold";
524
+ /**
525
+ * Props for the Text component
526
+ */
527
+ interface TextProps {
528
+ /** Font size of the text */
529
+ size?: TextFontSizes;
530
+ /** Visual style/kind of the text */
531
+ kind?: TextKindTypes;
532
+ /** Font weight of the text */
533
+ weight?: TextFontWeights;
534
+ /** Content to be rendered inside the text component */
535
+ children?: React$1.ReactNode;
536
+ /** Additional CSS class name */
537
+ className?: string;
538
+ /** HTML id attribute */
539
+ id?: string;
540
+ /** Click event handler */
541
+ onClick?: () => void;
542
+ /** HTML tag to render the text as */
543
+ as?: "span" | "p";
544
+ }
545
+ /**
546
+ * A flexible text component that supports different sizes, styles, and weights.
547
+ *
548
+ * @category Component
549
+ */
550
+ declare function Text({ size, kind, weight, children, className, id, onClick, as }: TextProps): React$1.JSX.Element;
551
+
552
+ interface TocCardProps {
553
+ title: string;
554
+ description: string;
555
+ href: string;
556
+ className?: string;
557
+ icon?: string;
558
+ as?: React$1.ElementType;
559
+ }
560
+ declare function TocCard({ title, description, href, className, icon, as }: TocCardProps): React$1.JSX.Element;
561
+
562
+ interface UpdateProps {
563
+ children: React$1.ReactNode;
564
+ version: string;
565
+ date?: string;
566
+ }
567
+ declare function Update(props: UpdateProps): React$1.JSX.Element;
568
+
569
+ declare function VideoGuide(): null;
570
+ declare namespace VideoGuide {
571
+ var Miniature: (props: VideoGuideMiniatureProps) => React$1.JSX.Element;
572
+ }
573
+ interface VideoGuideMiniatureProps {
574
+ videoSrc?: string;
575
+ description?: string;
576
+ className?: string;
577
+ }
578
+
579
+ export { Anchor, Badge, Banner, Blockquote, Breadcrumbs, Button, Callout, Card, Code, ColorSchemeButton, Details, DetailsProps as DetailsPropsProps, GuideCard, Heading, Hr, Icon, IconProvider, IconSocial, Image, List, ListOl, NavLinks, Pre, Steps, Table, Tabs, TabsProps, Text, TocCard, Update, VideoGuide, useColorScheme };
580
+ export type { BadgeProps, BannerProps, BlockquoteProps, BreadcrumbsProps, ButtonProps, CalloutProps, CodeProps, DetailsProps$1 as DetailsProps, HeadingProps, HrProps, IconSocialProps, NavLinksProps, PreProps, StepsProps };
package/dist/writer.js ADDED
@@ -0,0 +1,2 @@
1
+ export{A as Anchor,B as Badge,c as Banner,G as GuideCard,H as Heading,I as IconSocial,L as List,a as ListOl,N as NavLinks,S as Steps,T as Table,b as Tabs,V as VideoGuide}from"./VideoGuide-DBY-EyxG.js";export{B as Blockquote,c as Breadcrumbs,a as Callout,d as Card,b as Code,C as ColorSchemeButton,D as Details,H as Hr,I as Image,U as Update,u as useColorScheme}from"./Update-CiMIOgZi.js";export{B as Button}from"./Button-BLA2ghHZ.js";import{I as e,a as r}from"./Icon--77MqplU.js";export{b as IconProvider}from"./Icon--77MqplU.js";import t from"react";export{T as Text}from"./TabsAnalytics-B_JYpawG.js";import"./useUXEvents-CJtgGV4R.js";import"./_rollupPluginBabelHelpers-CvhQFv1t.js";import"radix-ui";import"lucide-react";import"./useUXClick-NwpsiuK9.js";import"openux-js";function s(e){return e}function o(e){var a=e.children,r=e.className;return t.createElement("pre",{className:"".concat("p1vb39qj"," ").concat(r||"")},a)}function n(e){return e}var i="TocCard-module_TocCardHost__pT0XJ";function l(a){var r=a.title,s=a.description,o=a.href,n=a.className,c=a.icon,l=a.as||m;return t.createElement("xyd-toccard",{className:"".concat(i," ").concat(n||"")},t.createElement("div",{part:"container"},t.createElement(l,{part:"link",href:o,target:"_blank",rel:"noreferrer"},t.createElement("div",{part:"title-container"},t.createElement("div",{part:"title"},r),c&&t.createElement(e,{name:c,size:16})),t.createElement("div",{part:"description"},s))))}function m(e){var a=e.children,s=e.href,o=r(e,["children","href"]);return t.createElement("a",Object.assign({href:s},o),a)}export{s as DetailsPropsProps,e as Icon,o as Pre,n as TabsProps,l as TocCard};
2
+ //# sourceMappingURL=writer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writer.js","sources":["../src/writer/Details/DetailsProps.tsx","../src/writer/Pre/Pre.tsx","../src/writer/Pre/Pre.styles.tsx","../src/writer/Tabs/TabsProps.tsx","../src/writer/TocCard/TocCard.tsx"],"sourcesContent":["export interface DetailsProps {\n /** Content to be displayed inside the details element */\n children: React.ReactNode;\n\n /** Label text displayed in the summary */\n label: string;\n\n /** Optional icon element to be displayed in the summary */\n icon?: React.ReactElement;\n\n /** Optional CSS class name for custom styling */\n className?: string;\n\n /**\n * Which visual style to use.\n * @default 'primary'\n */\n kind?: 'primary' | 'secondary' | 'tertiary';\n\n /**\n * Title text or element displayed in the summary.\n * Required when `kind` is 'secondary' or 'tertiary'.\n */\n title?: React.ReactNode;\n}\n\n/**\n * Props for the Details component\n * \n * @category Component\n */\nexport function DetailsProps(props: DetailsProps) {\n return props\n}","import React from \"react\"\n\nimport * as cn from \"./Pre.styles\"\n\nexport interface PreProps {\n children: React.ReactNode\n className?: string\n}\n\nexport function Pre({ children, className }: PreProps) {\n return <pre className={`${cn.PreHost} ${className || \"\"}`}>\n {children}\n </pre>\n}","import {css} from \"@linaria/core\";\n\nexport const PreHost = css`\n @layer defaults {\n margin-top: 0;\n border-radius: 6px;\n padding: 16px;\n border: 0;\n\n background-color: var(--xyd-pre-bgcolor);\n overflow: auto;\n }\n`;","export interface TabsProps {\n /** The kind of tabs to render. If not provided, the component will render the primary tabs. */\n kind?: 'secondary' | null\n}\n\n/**\n * Props for the Tabs component\n * \n * @category Component\n */\nexport function TabsProps(props: TabsProps) {\n return props\n}","import React from \"react\";\n\nimport cn from \"./TocCard.module.css\";\nimport { Icon } from \"../../../writer\";\n\ninterface TocCardProps {\n title: string;\n description: string;\n href: string;\n className?: string;\n icon?: string;\n as?: React.ElementType;\n}\n\nexport function TocCard({ title, description, href, className, icon, as }: TocCardProps) {\n const Link = as || $Link;\n\n return <xyd-toccard\n className={`${cn.TocCardHost} ${className || \"\"}`}\n >\n <div part=\"container\">\n <Link\n part=\"link\"\n href={href}\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n <div part=\"title-container\">\n <div part=\"title\">{title}</div>\n {icon && <Icon name={icon} size={16} />}\n </div>\n <div part=\"description\">\n {description}\n </div>\n </Link>\n </div>\n </xyd-toccard>\n}\n\nfunction $Link({ children, href, ...props }: React.ComponentProps<'a'>) {\n return <a href={href} {...props}>{children}</a>\n}"],"names":["DetailsProps","props","Pre","_ref","children","className","React","createElement","concat","TabsProps","TocCard","title","description","href","icon","Link","as","$Link","cn","part","target","rel","Icon","name","size","_a","__rest","Object","assign"],"mappings":"qwBA+BM,SAAUA,EAAaC,GACzB,OAAOA,CACX,UCxBgBC,EAAGC,GAAkC,IAA/BC,EAAQD,EAARC,SAAUC,EAASF,EAATE,UAC5B,OAAOC,EAAAC,cAAA,MAAA,CAAKF,UAAS,GAAAG,OCRL,WDQoB,KAAAA,OAAIH,GAAa,KAChDD,EAET,CEHM,SAAUK,EAAUR,GACtB,OAAOA,CACX,2CCEM,SAAUS,EAAOP,GAAgE,IAA7DQ,EAAKR,EAALQ,MAAOC,EAAWT,EAAXS,YAAaC,EAAIV,EAAJU,KAAMR,EAASF,EAATE,UAAWS,EAAIX,EAAJW,KACrDC,EAD6DZ,EAAFa,IAC9CC,EAEnB,OAAOX,EAAAC,cAAA,cAAA,CACHF,UAAS,GAAAG,OAAKU,EAAc,KAAAV,OAAIH,GAAa,KAE7CC,EAAAC,cAAA,MAAA,CAAKY,KAAK,aACNb,EAAAC,cAACQ,EAAI,CACDI,KAAK,OACLN,KAAMA,EACNO,OAAO,SACPC,IAAI,cAEJf,EAAAC,cAAA,MAAA,CAAKY,KAAK,mBACNb,EAAAC,cAAA,MAAA,CAAKY,KAAK,SAASR,GAClBG,GAAQR,EAAAC,cAACe,EAAI,CAACC,KAAMT,EAAMU,KAAM,MAErClB,EAAAC,cAAA,MAAA,CAAKY,KAAK,eACLP,KAKrB,CAEA,SAASK,EAAMQ,OAAErB,EAAcqB,EAAdrB,SAAUS,EAAIY,EAAJZ,KAASZ,EAAKyB,EAAAD,EAA1B,qBACX,OAAOnB,EAAAC,cAAA,IAAAoB,OAAAC,OAAA,CAAGf,KAAMA,GAAUZ,GAAQG,EACtC"}
package/docs/.nojekyll ADDED
@@ -0,0 +1 @@
1
+ TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -0,0 +1 @@
1
+ window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg=="
@@ -0,0 +1,22 @@
1
+ :root {
2
+ --light-code-background: #FFFFFF;
3
+ --dark-code-background: #1E1E1E;
4
+ }
5
+
6
+ @media (prefers-color-scheme: light) { :root {
7
+ --code-background: var(--light-code-background);
8
+ } }
9
+
10
+ @media (prefers-color-scheme: dark) { :root {
11
+ --code-background: var(--dark-code-background);
12
+ } }
13
+
14
+ :root[data-theme='light'] {
15
+ --code-background: var(--light-code-background);
16
+ }
17
+
18
+ :root[data-theme='dark'] {
19
+ --code-background: var(--dark-code-background);
20
+ }
21
+
22
+ pre, code { background: var(--code-background); }
@@ -0,0 +1,18 @@
1
+ (function() {
2
+ addIcons();
3
+ function addIcons() {
4
+ if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons);
5
+ const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg"));
6
+ svg.innerHTML = `<g id="icon-1" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-2" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">N</text></g><g id="icon-8" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">E</text></g><g id="icon-16" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-32" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">V</text></g><g id="icon-64" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-128" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-256" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">I</text></g><g id="icon-512" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-1024" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-2048" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4096" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-8192" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-16384" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-32768" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-65536" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-131072" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-262144" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-524288" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-1048576" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-2097152" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-4194304" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">R</text></g><g id="icon-8388608" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-folder" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></g><g id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></g><g id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></g><g id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></g><g id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></g><g id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g><g id="icon-alertNote" class="tsd-no-select"><path fill="var(--color-alert-note)" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g><g id="icon-alertTip" class="tsd-no-select"><path fill="var(--color-alert-tip)" d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></g><g id="icon-alertImportant" class="tsd-no-select"><path fill="var(--color-alert-important)" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertWarning" class="tsd-no-select"><path fill="var(--color-alert-warning)" d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertCaution" class="tsd-no-select"><path fill="var(--color-alert-caution)" d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g>`;
7
+ svg.style.display = "none";
8
+ if (location.protocol === "file:") updateUseElements();
9
+ }
10
+
11
+ function updateUseElements() {
12
+ document.querySelectorAll("use").forEach(el => {
13
+ if (el.getAttribute("href").includes("#icon-")) {
14
+ el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#"));
15
+ }
16
+ });
17
+ }
18
+ })()