@hanzo/docs 16.3.0 → 16.4.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 (189) hide show
  1. package/.turbo/turbo-build.log +199 -0
  2. package/LICENSE +21 -0
  3. package/dist/cli/build.d.ts +28 -53
  4. package/dist/mdx/vite.d.ts +0 -1
  5. package/dist/mdx/vite.js +0 -4
  6. package/dist/ui/components/accordion.d.ts +1 -1
  7. package/dist/ui/components/accordion.js +1 -1
  8. package/dist/ui/components/banner.d.ts +1 -1
  9. package/dist/ui/components/banner.js +1 -1
  10. package/dist/ui/components/callout.d.ts +1 -1
  11. package/dist/ui/components/callout.js +1 -1
  12. package/dist/ui/components/card.d.ts +1 -1
  13. package/dist/ui/components/card.js +1 -1
  14. package/dist/ui/components/codeblock.d.ts +1 -1
  15. package/dist/ui/components/codeblock.js +1 -1
  16. package/dist/ui/components/dialog/search.d.ts +1 -1
  17. package/dist/ui/components/dialog/search.js +1 -1
  18. package/dist/ui/components/dynamic-codeblock.d.ts +1 -1
  19. package/dist/ui/components/dynamic-codeblock.js +1 -1
  20. package/dist/ui/components/files.d.ts +1 -1
  21. package/dist/ui/components/files.js +1 -1
  22. package/dist/ui/components/github-info.d.ts +1 -1
  23. package/dist/ui/components/github-info.js +1 -1
  24. package/dist/ui/components/heading.d.ts +1 -1
  25. package/dist/ui/components/heading.js +1 -1
  26. package/dist/ui/components/image-zoom.d.ts +1 -1
  27. package/dist/ui/components/image-zoom.js +1 -1
  28. package/dist/ui/components/inline-toc.d.ts +1 -1
  29. package/dist/ui/components/inline-toc.js +1 -1
  30. package/dist/ui/components/steps.d.ts +1 -1
  31. package/dist/ui/components/steps.js +1 -1
  32. package/dist/ui/components/tabs.d.ts +1 -1
  33. package/dist/ui/components/tabs.js +1 -1
  34. package/dist/ui/components/type-table.d.ts +1 -1
  35. package/dist/ui/components/type-table.js +1 -1
  36. package/dist/ui/components/ui/button.d.ts +1 -1
  37. package/dist/ui/components/ui/button.js +1 -1
  38. package/dist/ui/contexts/i18n.d.ts +1 -1
  39. package/dist/ui/contexts/i18n.js +1 -1
  40. package/dist/ui/contexts/tree.d.ts +1 -1
  41. package/dist/ui/contexts/tree.js +1 -1
  42. package/dist/ui/i18n.d.ts +1 -1
  43. package/dist/ui/i18n.js +1 -1
  44. package/dist/ui/index.d.ts +2 -0
  45. package/dist/ui/index.js +0 -0
  46. package/dist/ui/layouts/docs.d.ts +1 -1
  47. package/dist/ui/layouts/docs.js +1 -1
  48. package/dist/ui/layouts/home/navbar.d.ts +1 -1
  49. package/dist/ui/layouts/home/navbar.js +1 -1
  50. package/dist/ui/layouts/home.d.ts +1 -1
  51. package/dist/ui/layouts/home.js +1 -1
  52. package/dist/ui/layouts/shared.d.ts +1 -1
  53. package/dist/ui/layouts/shared.js +1 -1
  54. package/dist/ui/mdx.d.ts +2 -2
  55. package/dist/ui/mdx.js +2 -2
  56. package/dist/ui/og.d.ts +1 -1
  57. package/dist/ui/og.js +1 -1
  58. package/dist/ui/page.d.ts +1 -1
  59. package/dist/ui/page.js +1 -1
  60. package/dist/ui/provider/base.d.ts +1 -1
  61. package/dist/ui/provider/base.js +1 -1
  62. package/dist/ui/utils/use-copy-button.d.ts +1 -1
  63. package/dist/ui/utils/use-copy-button.js +1 -1
  64. package/package.json +411 -109
  65. package/scripts/copy-css.js +8 -28
  66. package/src/mdx/vite.ts +0 -1
  67. package/src/ui/components/accordion.ts +1 -1
  68. package/src/ui/components/banner.ts +1 -1
  69. package/src/ui/components/callout.ts +1 -1
  70. package/src/ui/components/card.ts +1 -1
  71. package/src/ui/components/codeblock.ts +1 -1
  72. package/src/ui/components/dialog/search.ts +1 -1
  73. package/src/ui/components/dynamic-codeblock.ts +1 -1
  74. package/src/ui/components/files.ts +1 -1
  75. package/src/ui/components/github-info.ts +1 -1
  76. package/src/ui/components/heading.ts +1 -1
  77. package/src/ui/components/image-zoom.ts +1 -1
  78. package/src/ui/components/inline-toc.ts +1 -1
  79. package/src/ui/components/steps.ts +1 -1
  80. package/src/ui/components/tabs.ts +1 -1
  81. package/src/ui/components/type-table.ts +1 -1
  82. package/src/ui/components/ui/button.ts +1 -1
  83. package/src/ui/contexts/i18n.ts +1 -1
  84. package/src/ui/contexts/tree.ts +1 -1
  85. package/src/ui/i18n.ts +1 -1
  86. package/src/ui/index.ts +2 -0
  87. package/src/ui/layouts/docs.ts +1 -1
  88. package/src/ui/layouts/home/navbar.ts +1 -1
  89. package/src/ui/layouts/home.ts +1 -1
  90. package/src/ui/layouts/shared.ts +1 -1
  91. package/src/ui/mdx.ts +2 -2
  92. package/src/ui/og.ts +1 -1
  93. package/src/ui/page.ts +1 -1
  94. package/src/ui/provider/base.ts +1 -1
  95. package/src/ui/utils/use-copy-button.ts +1 -1
  96. package/tsup.config.ts +23 -7
  97. package/dist/mdx/plugins/index-file.d.ts +0 -1
  98. package/dist/mdx/plugins/index-file.js +0 -2
  99. package/dist/mdx/plugins/json-schema.d.ts +0 -2
  100. package/dist/mdx/plugins/json-schema.js +0 -6
  101. package/dist/mdx/plugins/last-modified.d.ts +0 -2
  102. package/dist/mdx/plugins/last-modified.js +0 -6
  103. package/dist/openapi/css/preset.css +0 -1
  104. package/dist/twoslash/twoslash.css +0 -225
  105. package/dist/ui/components/dialog/search-algolia.d.ts +0 -1
  106. package/dist/ui/components/dialog/search-algolia.js +0 -2
  107. package/dist/ui/components/dialog/search-default.d.ts +0 -1
  108. package/dist/ui/components/dialog/search-default.js +0 -2
  109. package/dist/ui/components/dialog/search-orama.d.ts +0 -1
  110. package/dist/ui/components/dialog/search-orama.js +0 -2
  111. package/dist/ui/components/sidebar/base.d.ts +0 -1
  112. package/dist/ui/components/sidebar/base.js +0 -2
  113. package/dist/ui/components/sidebar/link-item.d.ts +0 -1
  114. package/dist/ui/components/sidebar/link-item.js +0 -2
  115. package/dist/ui/components/sidebar/page-tree.d.ts +0 -1
  116. package/dist/ui/components/sidebar/page-tree.js +0 -2
  117. package/dist/ui/components/toc/clerk.d.ts +0 -1
  118. package/dist/ui/components/toc/clerk.js +0 -2
  119. package/dist/ui/components/toc/default.d.ts +0 -1
  120. package/dist/ui/components/toc/default.js +0 -2
  121. package/dist/ui/components/toc/index.d.ts +0 -1
  122. package/dist/ui/components/toc/index.js +0 -2
  123. package/dist/ui/components/ui/accordion.d.ts +0 -1
  124. package/dist/ui/components/ui/accordion.js +0 -2
  125. package/dist/ui/components/ui/collapsible.d.ts +0 -1
  126. package/dist/ui/components/ui/collapsible.js +0 -2
  127. package/dist/ui/components/ui/navigation-menu.d.ts +0 -1
  128. package/dist/ui/components/ui/navigation-menu.js +0 -2
  129. package/dist/ui/components/ui/popover.d.ts +0 -1
  130. package/dist/ui/components/ui/popover.js +0 -2
  131. package/dist/ui/components/ui/scroll-area.d.ts +0 -1
  132. package/dist/ui/components/ui/scroll-area.js +0 -2
  133. package/dist/ui/components/ui/tabs.d.ts +0 -1
  134. package/dist/ui/components/ui/tabs.js +0 -2
  135. package/dist/ui/css/black.css +0 -1
  136. package/dist/ui/css/catppuccin.css +0 -1
  137. package/dist/ui/css/dusk.css +0 -1
  138. package/dist/ui/css/layouts/docs.css +0 -1
  139. package/dist/ui/css/layouts/home.css +0 -1
  140. package/dist/ui/css/layouts/notebook.css +0 -1
  141. package/dist/ui/css/neutral.css +0 -1
  142. package/dist/ui/css/ocean.css +0 -1
  143. package/dist/ui/css/preset.css +0 -10
  144. package/dist/ui/css/purple.css +0 -1
  145. package/dist/ui/css/shadcn.css +0 -1
  146. package/dist/ui/css/solar.css +0 -1
  147. package/dist/ui/css/style.css +0 -9
  148. package/dist/ui/css/vitepress.css +0 -1
  149. package/dist/ui/image-zoom.css +0 -77
  150. package/dist/ui/layouts/docs/page.d.ts +0 -1
  151. package/dist/ui/layouts/docs/page.js +0 -2
  152. package/dist/ui/layouts/notebook/page.d.ts +0 -1
  153. package/dist/ui/layouts/notebook/page.js +0 -2
  154. package/dist/ui/layouts/notebook.d.ts +0 -1
  155. package/dist/ui/layouts/notebook.js +0 -2
  156. package/dist/ui/provider/next.d.ts +0 -1
  157. package/dist/ui/provider/next.js +0 -2
  158. package/dist/ui/provider/react-router.d.ts +0 -1
  159. package/dist/ui/provider/react-router.js +0 -2
  160. package/dist/ui/provider/tanstack.d.ts +0 -1
  161. package/dist/ui/provider/tanstack.js +0 -2
  162. package/dist/ui/provider/waku.d.ts +0 -1
  163. package/dist/ui/provider/waku.js +0 -2
  164. package/dist/ui/style.css +0 -3180
  165. package/src/mdx/plugins/index-file.ts +0 -1
  166. package/src/mdx/plugins/json-schema.ts +0 -2
  167. package/src/mdx/plugins/last-modified.ts +0 -2
  168. package/src/ui/components/dialog/search-algolia.ts +0 -1
  169. package/src/ui/components/dialog/search-default.ts +0 -1
  170. package/src/ui/components/dialog/search-orama.ts +0 -1
  171. package/src/ui/components/sidebar/base.ts +0 -1
  172. package/src/ui/components/sidebar/link-item.ts +0 -1
  173. package/src/ui/components/sidebar/page-tree.ts +0 -1
  174. package/src/ui/components/toc/clerk.ts +0 -1
  175. package/src/ui/components/toc/default.ts +0 -1
  176. package/src/ui/components/toc/index.ts +0 -1
  177. package/src/ui/components/ui/accordion.ts +0 -1
  178. package/src/ui/components/ui/collapsible.ts +0 -1
  179. package/src/ui/components/ui/navigation-menu.ts +0 -1
  180. package/src/ui/components/ui/popover.ts +0 -1
  181. package/src/ui/components/ui/scroll-area.ts +0 -1
  182. package/src/ui/components/ui/tabs.ts +0 -1
  183. package/src/ui/layouts/docs/page.ts +0 -1
  184. package/src/ui/layouts/notebook/page.ts +0 -1
  185. package/src/ui/layouts/notebook.ts +0 -1
  186. package/src/ui/provider/next.ts +0 -1
  187. package/src/ui/provider/react-router.ts +0 -1
  188. package/src/ui/provider/tanstack.ts +0 -1
  189. package/src/ui/provider/waku.ts +0 -1
@@ -1 +0,0 @@
1
- @source '../../dist/layouts/home/**/*.js';
@@ -1 +0,0 @@
1
- @source '../../dist/layouts/notebook/**/*.js';
@@ -1 +0,0 @@
1
- @import '@hanzo/docs-ui/css/colors/neutral.css';
@@ -1 +0,0 @@
1
- @import '@hanzo/docs-ui/css/colors/ocean.css';
@@ -1,10 +0,0 @@
1
- @import '@hanzo/docs-ui/css/base.css';
2
-
3
- /* TODO: remove them on next major */
4
- @import './layouts/docs.css';
5
- @import './layouts/home.css';
6
- @import './layouts/notebook.css';
7
-
8
- @source '../dist/*.js';
9
- @source '../dist/{components,contexts,provider,utils}/**/*.js';
10
- @source '../dist/layouts/shared/**/*.js';
@@ -1 +0,0 @@
1
- @import '@hanzo/docs-ui/css/colors/purple.css';
@@ -1 +0,0 @@
1
- @import '@hanzo/docs-ui/css/colors/shadcn.css';
@@ -1 +0,0 @@
1
- @import '@hanzo/docs-ui/css/colors/solar.css';
@@ -1,9 +0,0 @@
1
- @import 'tailwindcss';
2
- @import './neutral.css';
3
- @import './preset.css';
4
-
5
- @layer base {
6
- body {
7
- @apply flex flex-col min-h-screen;
8
- }
9
- }
@@ -1 +0,0 @@
1
- @import '@hanzo/docs-ui/css/colors/vitepress.css';
@@ -1,77 +0,0 @@
1
- [data-rmiz] {
2
- display: block;
3
- position: relative;
4
- }
5
-
6
- [data-rmiz-ghost] {
7
- pointer-events: none;
8
- position: absolute;
9
- }
10
-
11
- [data-rmiz-btn-zoom],
12
- [data-rmiz-btn-unzoom] {
13
- display: none;
14
- }
15
-
16
- [data-rmiz-content='found'] img {
17
- cursor: zoom-in;
18
- }
19
-
20
- [data-rmiz-modal][open] {
21
- width: 100vw /* fallback */;
22
- width: 100dvw;
23
-
24
- height: 100vh /* fallback */;
25
- height: 100dvh;
26
-
27
- background-color: transparent;
28
- max-width: none;
29
- max-height: none;
30
- margin: 0;
31
- padding: 0;
32
- position: fixed;
33
- overflow: hidden;
34
- }
35
-
36
- [data-rmiz-modal]:focus-visible {
37
- outline: none;
38
- }
39
-
40
- [data-rmiz-modal-overlay] {
41
- transition: background-color 0.3s;
42
- position: absolute;
43
- inset: 0;
44
- }
45
-
46
- [data-rmiz-modal-overlay='visible'] {
47
- background-color: var(--color-fd-background);
48
- }
49
-
50
- [data-rmiz-modal-overlay='hidden'] {
51
- background-color: transparent;
52
- }
53
-
54
- [data-rmiz-modal-content] {
55
- width: 100%;
56
- height: 100%;
57
- position: relative;
58
- }
59
-
60
- [data-rmiz-modal]::backdrop {
61
- display: none;
62
- }
63
-
64
- [data-rmiz-modal-img] {
65
- cursor: zoom-out;
66
- image-rendering: high-quality;
67
- transform-origin: 0 0;
68
- transition: transform 0.3s;
69
- position: absolute;
70
- }
71
-
72
- @media (prefers-reduced-motion: reduce) {
73
- [data-rmiz-modal-overlay],
74
- [data-rmiz-modal-img] {
75
- transition-duration: 0.01ms !important;
76
- }
77
- }
@@ -1 +0,0 @@
1
- export * from '@hanzo/docs-base-ui/layouts/docs/page';
@@ -1,2 +0,0 @@
1
- // src/ui/layouts/docs/page.ts
2
- export * from "@hanzo/docs-base-ui/layouts/docs/page";
@@ -1 +0,0 @@
1
- export * from '@hanzo/docs-base-ui/layouts/notebook/page';
@@ -1,2 +0,0 @@
1
- // src/ui/layouts/notebook/page.ts
2
- export * from "@hanzo/docs-base-ui/layouts/notebook/page";
@@ -1 +0,0 @@
1
- export * from '@hanzo/docs-base-ui/layouts/notebook';
@@ -1,2 +0,0 @@
1
- // src/ui/layouts/notebook.ts
2
- export * from "@hanzo/docs-base-ui/layouts/notebook";
@@ -1 +0,0 @@
1
- export * from '@hanzo/docs-base-ui/provider/next';
@@ -1,2 +0,0 @@
1
- // src/ui/provider/next.ts
2
- export * from "@hanzo/docs-base-ui/provider/next";
@@ -1 +0,0 @@
1
- export * from '@hanzo/docs-base-ui/provider/react-router';
@@ -1,2 +0,0 @@
1
- // src/ui/provider/react-router.ts
2
- export * from "@hanzo/docs-base-ui/provider/react-router";
@@ -1 +0,0 @@
1
- export * from '@hanzo/docs-base-ui/provider/tanstack';
@@ -1,2 +0,0 @@
1
- // src/ui/provider/tanstack.ts
2
- export * from "@hanzo/docs-base-ui/provider/tanstack";
@@ -1 +0,0 @@
1
- export * from '@hanzo/docs-base-ui/provider/waku';
@@ -1,2 +0,0 @@
1
- // src/ui/provider/waku.ts
2
- export * from "@hanzo/docs-base-ui/provider/waku";