willa 0.0.1 → 0.0.3-alpha.6e8a429

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 (165) hide show
  1. package/README.md +3 -0
  2. package/dist/es/AudioEmbed/index.d.ts +5 -0
  3. package/dist/es/AudioEmbed/index.js +2 -0
  4. package/dist/es/AudioEmbed/style/index.css +1 -0
  5. package/dist/es/AudioLink/index.d.ts +5 -0
  6. package/dist/es/AudioLink/index.js +2 -0
  7. package/dist/es/AudioLink/style/index.css +1 -0
  8. package/dist/es/Callout/index.d.ts +6 -0
  9. package/dist/es/Callout/index.js +2 -0
  10. package/dist/es/Callout/style/index.css +1 -0
  11. package/dist/es/ChatThread/index.d.ts +5 -0
  12. package/dist/es/ChatThread/index.js +2 -0
  13. package/dist/es/ChatThread/style/index.css +1 -0
  14. package/dist/es/CodeBlock/index.d.ts +2 -0
  15. package/dist/es/CodeBlock/index.js +2 -0
  16. package/dist/es/CodeBlock/style/index.css +1 -0
  17. package/dist/es/DetailsBlock/index.d.ts +5 -0
  18. package/dist/es/DetailsBlock/index.js +2 -0
  19. package/dist/es/DetailsBlock/style/index.css +1 -0
  20. package/dist/es/EnglishCards/index.d.ts +5 -0
  21. package/dist/es/EnglishCards/index.js +2 -0
  22. package/dist/es/EnglishCards/style/index.css +1 -0
  23. package/dist/es/FancyList/index.d.ts +6 -0
  24. package/dist/es/FancyList/index.js +2 -0
  25. package/dist/es/FancyList/style/index.css +1 -0
  26. package/dist/es/GitHubMention/index.d.ts +5 -0
  27. package/dist/es/GitHubMention/index.js +2 -0
  28. package/dist/es/GitHubMention/style/index.css +1 -0
  29. package/dist/es/GitHubRepo/index.d.ts +5 -0
  30. package/dist/es/GitHubRepo/index.js +2 -0
  31. package/dist/es/GitHubRepo/style/index.css +1 -0
  32. package/dist/es/Image/index.d.ts +2 -0
  33. package/dist/es/Image/index.js +2 -0
  34. package/dist/es/Image/style/index.css +1 -0
  35. package/dist/es/ImageGallery/index.d.ts +6 -0
  36. package/dist/es/ImageGallery/index.js +2 -0
  37. package/dist/es/ImageGallery/style/index.css +1 -0
  38. package/dist/es/Lightbox/index.d.ts +14 -0
  39. package/dist/es/Lightbox/index.js +5 -0
  40. package/dist/es/Lightbox/style/index.css +1 -0
  41. package/dist/es/Mdx/index.d.ts +2 -0
  42. package/dist/es/Mdx/index.js +2 -0
  43. package/dist/es/Mdx/style/index.css +1 -0
  44. package/dist/es/Poem/index.d.ts +2 -0
  45. package/dist/es/Poem/index.js +2 -0
  46. package/dist/es/Poem/style/index.css +1 -0
  47. package/dist/es/Skeleton/index.d.ts +2 -0
  48. package/dist/es/Skeleton/index.js +2 -0
  49. package/dist/es/Skeleton/style/index.css +1 -0
  50. package/dist/es/Step/index.d.ts +2 -0
  51. package/dist/es/Step/index.js +2 -0
  52. package/dist/es/Step/style/index.css +1 -0
  53. package/dist/es/Steps/index.d.ts +2 -0
  54. package/dist/es/Steps/index.js +2 -0
  55. package/dist/es/Steps/style/index.css +1 -0
  56. package/dist/es/SummaryCards/index.d.ts +5 -0
  57. package/dist/es/SummaryCards/index.js +2 -0
  58. package/dist/es/SummaryCards/style/index.css +1 -0
  59. package/dist/es/UrlLink/index.d.ts +2 -0
  60. package/dist/es/UrlLink/index.js +2 -0
  61. package/dist/es/UrlLink/style/index.css +1 -0
  62. package/dist/es/VideoEmbed/index.d.ts +5 -0
  63. package/dist/es/VideoEmbed/index.js +2 -0
  64. package/dist/es/VideoEmbed/style/index.css +1 -0
  65. package/dist/es/VideoLink/index.d.ts +5 -0
  66. package/dist/es/VideoLink/index.js +2 -0
  67. package/dist/es/VideoLink/style/index.css +1 -0
  68. package/dist/es/WebEmbed/index.d.ts +2 -0
  69. package/dist/es/WebEmbed/index.js +2 -0
  70. package/dist/es/WebEmbed/style/index.css +1 -0
  71. package/dist/es/XPostEmbed/index.d.ts +5 -0
  72. package/dist/es/XPostEmbed/index.js +2 -0
  73. package/dist/es/XPostEmbed/style/index.css +1 -0
  74. package/dist/es/index.d.ts +2 -0
  75. package/dist/es/index.js +2 -0
  76. package/dist/es/style/external.css +2 -0
  77. package/dist/es/style/index.css +2 -0
  78. package/dist/es/themes/dark.css +2 -0
  79. package/dist/es/themes/light.css +2 -0
  80. package/dist/index.cjs +22 -0
  81. package/dist/index.css +3731 -0
  82. package/dist/index.d.cts +6 -0
  83. package/dist/index.global.js +54920 -0
  84. package/dist/index.js +6 -0
  85. package/dist/index.mjs +6 -0
  86. package/dist/lib/AudioEmbed/index.d.ts +5 -0
  87. package/dist/lib/AudioEmbed/index.js +8 -0
  88. package/dist/lib/AudioEmbed/style/index.css +1 -0
  89. package/dist/lib/AudioLink/index.d.ts +5 -0
  90. package/dist/lib/AudioLink/index.js +8 -0
  91. package/dist/lib/AudioLink/style/index.css +1 -0
  92. package/dist/lib/Callout/index.d.ts +6 -0
  93. package/dist/lib/Callout/index.js +8 -0
  94. package/dist/lib/Callout/style/index.css +1 -0
  95. package/dist/lib/ChatThread/index.d.ts +5 -0
  96. package/dist/lib/ChatThread/index.js +8 -0
  97. package/dist/lib/ChatThread/style/index.css +1 -0
  98. package/dist/lib/CodeBlock/index.d.ts +2 -0
  99. package/dist/lib/CodeBlock/index.js +8 -0
  100. package/dist/lib/CodeBlock/style/index.css +1 -0
  101. package/dist/lib/DetailsBlock/index.d.ts +5 -0
  102. package/dist/lib/DetailsBlock/index.js +8 -0
  103. package/dist/lib/DetailsBlock/style/index.css +1 -0
  104. package/dist/lib/EnglishCards/index.d.ts +5 -0
  105. package/dist/lib/EnglishCards/index.js +8 -0
  106. package/dist/lib/EnglishCards/style/index.css +1 -0
  107. package/dist/lib/FancyList/index.d.ts +6 -0
  108. package/dist/lib/FancyList/index.js +8 -0
  109. package/dist/lib/FancyList/style/index.css +1 -0
  110. package/dist/lib/GitHubMention/index.d.ts +5 -0
  111. package/dist/lib/GitHubMention/index.js +8 -0
  112. package/dist/lib/GitHubMention/style/index.css +1 -0
  113. package/dist/lib/GitHubRepo/index.d.ts +5 -0
  114. package/dist/lib/GitHubRepo/index.js +8 -0
  115. package/dist/lib/GitHubRepo/style/index.css +1 -0
  116. package/dist/lib/Image/index.d.ts +2 -0
  117. package/dist/lib/Image/index.js +8 -0
  118. package/dist/lib/Image/style/index.css +1 -0
  119. package/dist/lib/ImageGallery/index.d.ts +6 -0
  120. package/dist/lib/ImageGallery/index.js +8 -0
  121. package/dist/lib/ImageGallery/style/index.css +1 -0
  122. package/dist/lib/Lightbox/index.d.ts +14 -0
  123. package/dist/lib/Lightbox/index.js +14 -0
  124. package/dist/lib/Lightbox/style/index.css +1 -0
  125. package/dist/lib/Mdx/index.d.ts +2 -0
  126. package/dist/lib/Mdx/index.js +8 -0
  127. package/dist/lib/Mdx/style/index.css +1 -0
  128. package/dist/lib/Poem/index.d.ts +2 -0
  129. package/dist/lib/Poem/index.js +8 -0
  130. package/dist/lib/Poem/style/index.css +1 -0
  131. package/dist/lib/Skeleton/index.d.ts +2 -0
  132. package/dist/lib/Skeleton/index.js +8 -0
  133. package/dist/lib/Skeleton/style/index.css +1 -0
  134. package/dist/lib/Step/index.d.ts +2 -0
  135. package/dist/lib/Step/index.js +8 -0
  136. package/dist/lib/Step/style/index.css +1 -0
  137. package/dist/lib/Steps/index.d.ts +2 -0
  138. package/dist/lib/Steps/index.js +8 -0
  139. package/dist/lib/Steps/style/index.css +1 -0
  140. package/dist/lib/SummaryCards/index.d.ts +5 -0
  141. package/dist/lib/SummaryCards/index.js +8 -0
  142. package/dist/lib/SummaryCards/style/index.css +1 -0
  143. package/dist/lib/UrlLink/index.d.ts +2 -0
  144. package/dist/lib/UrlLink/index.js +8 -0
  145. package/dist/lib/UrlLink/style/index.css +1 -0
  146. package/dist/lib/VideoEmbed/index.d.ts +5 -0
  147. package/dist/lib/VideoEmbed/index.js +8 -0
  148. package/dist/lib/VideoEmbed/style/index.css +1 -0
  149. package/dist/lib/VideoLink/index.d.ts +5 -0
  150. package/dist/lib/VideoLink/index.js +8 -0
  151. package/dist/lib/VideoLink/style/index.css +1 -0
  152. package/dist/lib/WebEmbed/index.d.ts +2 -0
  153. package/dist/lib/WebEmbed/index.js +8 -0
  154. package/dist/lib/WebEmbed/style/index.css +1 -0
  155. package/dist/lib/XPostEmbed/index.d.ts +5 -0
  156. package/dist/lib/XPostEmbed/index.js +8 -0
  157. package/dist/lib/XPostEmbed/style/index.css +1 -0
  158. package/dist/lib/index.d.ts +2 -0
  159. package/dist/lib/index.js +20 -0
  160. package/dist/lib/style/external.css +2 -0
  161. package/dist/lib/style/index.css +2 -0
  162. package/dist/lib/themes/dark.css +2 -0
  163. package/dist/lib/themes/light.css +2 -0
  164. package/package.json +76 -7
  165. package/index.js +0 -1
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # willa
2
+
3
+ Main entry package for Willa UI.
@@ -0,0 +1,5 @@
1
+ import {
2
+ AudioEmbed,
3
+ AudioEmbedProps,
4
+ } from "@willa-ui/content/components/AudioEmbed";
5
+ export { AudioEmbed, type AudioEmbedProps };
@@ -0,0 +1,2 @@
1
+ import { AudioEmbed } from "@willa-ui/content/components/AudioEmbed";
2
+ export { AudioEmbed };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/AudioEmbed.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ AudioLink,
3
+ AudioLinkProps,
4
+ } from "@willa-ui/content/components/AudioLink";
5
+ export { AudioLink, type AudioLinkProps };
@@ -0,0 +1,2 @@
1
+ import { AudioLink } from "@willa-ui/content/components/AudioLink";
2
+ export { AudioLink };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/AudioLink.css";
@@ -0,0 +1,6 @@
1
+ import {
2
+ Callout,
3
+ CalloutProps,
4
+ CalloutTone,
5
+ } from "@willa-ui/content/components/Callout";
6
+ export { Callout, type CalloutProps, type CalloutTone };
@@ -0,0 +1,2 @@
1
+ import { Callout } from "@willa-ui/content/components/Callout";
2
+ export { Callout };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/Callout.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ ChatThread,
3
+ ChatThreadProps,
4
+ } from "@willa-ui/content/components/ChatThread";
5
+ export { ChatThread, type ChatThreadProps };
@@ -0,0 +1,2 @@
1
+ import { ChatThread } from "@willa-ui/content/components/ChatThread";
2
+ export { ChatThread };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/ChatThread.css";
@@ -0,0 +1,2 @@
1
+ import { CodeBlock } from "@willa-ui/content/components/CodeBlock";
2
+ export { CodeBlock };
@@ -0,0 +1,2 @@
1
+ import { CodeBlock } from "@willa-ui/content/components/CodeBlock";
2
+ export { CodeBlock };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/CodeBlock.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ DetailsBlock,
3
+ DetailsBlockProps,
4
+ } from "@willa-ui/content/components/DetailsBlock";
5
+ export { DetailsBlock, type DetailsBlockProps };
@@ -0,0 +1,2 @@
1
+ import { DetailsBlock } from "@willa-ui/content/components/DetailsBlock";
2
+ export { DetailsBlock };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/DetailsBlock.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ EnglishCards,
3
+ EnglishCardsProps,
4
+ } from "@willa-ui/widgets/components/EnglishCards";
5
+ export { EnglishCards, type EnglishCardsProps };
@@ -0,0 +1,2 @@
1
+ import { EnglishCards } from "@willa-ui/widgets/components/EnglishCards";
2
+ export { EnglishCards };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/widgets/components/EnglishCards.css";
@@ -0,0 +1,6 @@
1
+ import {
2
+ FancyList,
3
+ FancyListItem,
4
+ FancyListProps,
5
+ } from "@willa-ui/content/components/FancyList";
6
+ export { FancyList, type FancyListItem, type FancyListProps };
@@ -0,0 +1,2 @@
1
+ import { FancyList } from "@willa-ui/content/components/FancyList";
2
+ export { FancyList };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/FancyList.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ GitHubMention,
3
+ GitHubMentionProps,
4
+ } from "@willa-ui/widgets/components/GitHubMention";
5
+ export { GitHubMention, type GitHubMentionProps };
@@ -0,0 +1,2 @@
1
+ import { GitHubMention } from "@willa-ui/widgets/components/GitHubMention";
2
+ export { GitHubMention };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/widgets/components/GitHubMention.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ GitHubRepo,
3
+ GitHubRepoProps,
4
+ } from "@willa-ui/widgets/components/GitHubRepo";
5
+ export { GitHubRepo, type GitHubRepoProps };
@@ -0,0 +1,2 @@
1
+ import { GitHubRepo } from "@willa-ui/widgets/components/GitHubRepo";
2
+ export { GitHubRepo };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/widgets/components/GitHubRepo.css";
@@ -0,0 +1,2 @@
1
+ import { Image, ImageProps } from "@willa-ui/content/components/Image";
2
+ export { Image, type ImageProps };
@@ -0,0 +1,2 @@
1
+ import { Image } from "@willa-ui/content/components/Image";
2
+ export { Image };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/Image.css";
@@ -0,0 +1,6 @@
1
+ import {
2
+ ImageGallery,
3
+ ImageGalleryItem,
4
+ ImageGalleryProps,
5
+ } from "@willa-ui/content/components/ImageGallery";
6
+ export { ImageGallery, type ImageGalleryItem, type ImageGalleryProps };
@@ -0,0 +1,2 @@
1
+ import { ImageGallery } from "@willa-ui/content/components/ImageGallery";
2
+ export { ImageGallery };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/ImageGallery.css";
@@ -0,0 +1,14 @@
1
+ import {
2
+ Lightbox,
3
+ LightboxImage,
4
+ LightboxProps,
5
+ LightboxState,
6
+ normalizeLightboxImage,
7
+ } from "@willa-ui/content/components/Lightbox";
8
+ export {
9
+ Lightbox,
10
+ type LightboxImage,
11
+ type LightboxProps,
12
+ type LightboxState,
13
+ normalizeLightboxImage,
14
+ };
@@ -0,0 +1,5 @@
1
+ import {
2
+ Lightbox,
3
+ normalizeLightboxImage,
4
+ } from "@willa-ui/content/components/Lightbox";
5
+ export { Lightbox, normalizeLightboxImage };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/Lightbox.css";
@@ -0,0 +1,2 @@
1
+ import { Mdx, MdxProps } from "@willa-ui/widgets/components/Mdx";
2
+ export { Mdx, type MdxProps };
@@ -0,0 +1,2 @@
1
+ import { Mdx } from "@willa-ui/widgets/components/Mdx";
2
+ export { Mdx };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/widgets/components/Mdx.css";
@@ -0,0 +1,2 @@
1
+ import { Poem, PoemProps } from "@willa-ui/content/components/Poem";
2
+ export { Poem, type PoemProps };
@@ -0,0 +1,2 @@
1
+ import { Poem } from "@willa-ui/content/components/Poem";
2
+ export { Poem };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/Poem.css";
@@ -0,0 +1,2 @@
1
+ import { Skeleton, SkeletonProps } from "@willa-ui/content/components/Skeleton";
2
+ export { Skeleton, type SkeletonProps };
@@ -0,0 +1,2 @@
1
+ import { Skeleton } from "@willa-ui/content/components/Skeleton";
2
+ export { Skeleton };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/Skeleton.css";
@@ -0,0 +1,2 @@
1
+ import { Step, StepProps } from "@willa-ui/content/components/Steps";
2
+ export { Step, type StepProps };
@@ -0,0 +1,2 @@
1
+ import { Step } from "@willa-ui/content/components/Steps";
2
+ export { Step };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/Steps.css";
@@ -0,0 +1,2 @@
1
+ import { Steps, StepsProps } from "@willa-ui/content/components/Steps";
2
+ export { Steps, type StepsProps };
@@ -0,0 +1,2 @@
1
+ import { Steps } from "@willa-ui/content/components/Steps";
2
+ export { Steps };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/Steps.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ SummaryCards,
3
+ SummaryCardsProps,
4
+ } from "@willa-ui/content/components/SummaryCards";
5
+ export { SummaryCards, type SummaryCardsProps };
@@ -0,0 +1,2 @@
1
+ import { SummaryCards } from "@willa-ui/content/components/SummaryCards";
2
+ export { SummaryCards };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/SummaryCards.css";
@@ -0,0 +1,2 @@
1
+ import { UrlLink, UrlLinkProps } from "@willa-ui/content/components/UrlLink";
2
+ export { UrlLink, type UrlLinkProps };
@@ -0,0 +1,2 @@
1
+ import { UrlLink } from "@willa-ui/content/components/UrlLink";
2
+ export { UrlLink };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/UrlLink.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ VideoEmbed,
3
+ VideoEmbedProps,
4
+ } from "@willa-ui/content/components/VideoEmbed";
5
+ export { VideoEmbed, type VideoEmbedProps };
@@ -0,0 +1,2 @@
1
+ import { VideoEmbed } from "@willa-ui/content/components/VideoEmbed";
2
+ export { VideoEmbed };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/VideoEmbed.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ VideoLink,
3
+ VideoLinkProps,
4
+ } from "@willa-ui/content/components/VideoLink";
5
+ export { VideoLink, type VideoLinkProps };
@@ -0,0 +1,2 @@
1
+ import { VideoLink } from "@willa-ui/content/components/VideoLink";
2
+ export { VideoLink };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/content/components/VideoLink.css";
@@ -0,0 +1,2 @@
1
+ import { WebEmbed, WebEmbedProps } from "@willa-ui/widgets/components/WebEmbed";
2
+ export { WebEmbed, type WebEmbedProps };
@@ -0,0 +1,2 @@
1
+ import { WebEmbed } from "@willa-ui/widgets/components/WebEmbed";
2
+ export { WebEmbed };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/widgets/components/WebEmbed.css";
@@ -0,0 +1,5 @@
1
+ import {
2
+ XPostEmbed,
3
+ XPostEmbedProps,
4
+ } from "@willa-ui/widgets/components/XPostEmbed";
5
+ export { XPostEmbed, type XPostEmbedProps };
@@ -0,0 +1,2 @@
1
+ import { XPostEmbed } from "@willa-ui/widgets/components/XPostEmbed";
2
+ export { XPostEmbed };
@@ -0,0 +1 @@
1
+ @import "@willa-ui/widgets/components/XPostEmbed.css";
@@ -0,0 +1,2 @@
1
+ export * from "@willa-ui/content";
2
+ export * from "@willa-ui/widgets";
@@ -0,0 +1,2 @@
1
+ export * from "@willa-ui/content";
2
+ export * from "@willa-ui/widgets";
@@ -0,0 +1,2 @@
1
+ @import "@willa-ui/content/external.css";
2
+ @import "@willa-ui/widgets/external.css";
@@ -0,0 +1,2 @@
1
+ @import "@willa-ui/content/style.css";
2
+ @import "@willa-ui/widgets/style.css";
@@ -0,0 +1,2 @@
1
+ @import "@willa-ui/content/themes/dark.css";
2
+ @import "@willa-ui/widgets/themes/dark.css";
@@ -0,0 +1,2 @@
1
+ @import "@willa-ui/content/themes/light.css";
2
+ @import "@willa-ui/widgets/themes/light.css";
package/dist/index.cjs ADDED
@@ -0,0 +1,22 @@
1
+ /*!
2
+ * willa.js v0.0.3-alpha.6e8a429
3
+ * (c) 2026 chentao.arthur
4
+ */
5
+ var _willa_ui_content = require("@willa-ui/content");
6
+ Object.keys(_willa_ui_content).forEach(function(k) {
7
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
8
+ enumerable: true,
9
+ get: function() {
10
+ return _willa_ui_content[k];
11
+ }
12
+ });
13
+ });
14
+ var _willa_ui_widgets = require("@willa-ui/widgets");
15
+ Object.keys(_willa_ui_widgets).forEach(function(k) {
16
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
17
+ enumerable: true,
18
+ get: function() {
19
+ return _willa_ui_widgets[k];
20
+ }
21
+ });
22
+ });