rotion 0.0.8 → 0.0.9

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 (269) hide show
  1. package/README.md +20 -32
  2. package/dist/exporter/api.js +2 -2
  3. package/dist/exporter/api.js.map +1 -1
  4. package/dist/exporter/blocks.js +18 -3
  5. package/dist/exporter/blocks.js.map +1 -1
  6. package/dist/exporter/files.d.ts +4 -0
  7. package/dist/exporter/files.js +44 -1
  8. package/dist/exporter/files.js.map +1 -1
  9. package/dist/exporter/types.d.ts +24 -1
  10. package/dist/exporter/variables.d.ts +1 -0
  11. package/dist/exporter/variables.js +1 -0
  12. package/dist/exporter/variables.js.map +1 -1
  13. package/dist/ui/cjs/index.js +1 -20046
  14. package/dist/ui/cjs/index.js.map +1 -1
  15. package/dist/ui/cjs/style.css +331 -0
  16. package/dist/ui/cjs/types/exporter/files.d.ts +4 -0
  17. package/dist/ui/cjs/types/exporter/types.d.ts +24 -1
  18. package/dist/ui/cjs/types/exporter/variables.d.ts +1 -0
  19. package/dist/ui/cjs/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
  20. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
  21. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
  22. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
  23. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
  24. package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
  25. package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
  26. package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
  27. package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
  28. package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
  29. package/dist/ui/cjs/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
  30. package/dist/ui/cjs/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
  31. package/dist/ui/cjs/types/ui/components/List/Column.d.ts +4 -0
  32. package/dist/ui/cjs/types/ui/components/List/Column.types.d.ts +11 -0
  33. package/dist/ui/cjs/types/ui/components/List/List.d.ts +4 -1
  34. package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  35. package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  36. package/dist/ui/cjs/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
  37. package/dist/ui/cjs/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
  38. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
  39. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
  40. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
  41. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
  42. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
  43. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
  44. package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
  45. package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
  46. package/dist/ui/{umd/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts → cjs/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts} +1 -1
  47. package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
  48. package/dist/ui/cjs/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
  49. package/dist/ui/cjs/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
  50. package/dist/ui/cjs/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
  51. package/dist/ui/cjs/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
  52. package/dist/ui/cjs/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
  53. package/dist/ui/cjs/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
  54. package/dist/ui/cjs/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
  55. package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
  56. package/dist/ui/{esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts → cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.types.d.ts} +1 -1
  57. package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
  58. package/dist/ui/cjs/types/ui/components/Page/Page.d.ts +1 -1
  59. package/dist/ui/cjs/types/ui/components/Page/Page.types.d.ts +2 -2
  60. package/dist/ui/cjs/types/ui/components/Page/PageHandler.d.ts +1 -1
  61. package/dist/ui/cjs/types/ui/components/Page/PageHandler.types.d.ts +1 -2
  62. package/dist/ui/cjs/types/ui/components/Page/PageIcon/PageIcon.d.ts +4 -2
  63. package/dist/ui/cjs/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
  64. package/dist/ui/cjs/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
  65. package/dist/ui/cjs/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
  66. package/dist/ui/cjs/types/ui/components/Table/Column.d.ts +4 -0
  67. package/dist/ui/cjs/types/ui/components/Table/Column.types.d.ts +11 -0
  68. package/dist/ui/cjs/types/ui/components/Table/TableHandler.d.ts +1 -1
  69. package/dist/ui/cjs/types/ui/components/Table/TableHandler.types.d.ts +0 -1
  70. package/dist/ui/cjs/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
  71. package/dist/ui/cjs/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
  72. package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  73. package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  74. package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
  75. package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
  76. package/dist/ui/cjs/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
  77. package/dist/ui/cjs/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  78. package/dist/ui/cjs/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
  79. package/dist/ui/cjs/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
  80. package/dist/ui/cjs/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
  81. package/dist/ui/cjs/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
  82. package/dist/ui/cjs/types/ui/components/index.d.ts +1 -3
  83. package/dist/ui/cjs/types/ui/components/tokens.stylex.d.ts +9 -0
  84. package/dist/ui/cjs/types/ui/components/types.d.ts +0 -8
  85. package/dist/ui/esm/index.js +1 -19985
  86. package/dist/ui/esm/index.js.map +1 -1
  87. package/dist/ui/esm/style.css +331 -0
  88. package/dist/ui/esm/types/exporter/files.d.ts +4 -0
  89. package/dist/ui/esm/types/exporter/types.d.ts +24 -1
  90. package/dist/ui/esm/types/exporter/variables.d.ts +1 -0
  91. package/dist/ui/esm/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
  92. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
  93. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
  94. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
  95. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
  96. package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
  97. package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
  98. package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
  99. package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
  100. package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
  101. package/dist/ui/esm/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
  102. package/dist/ui/esm/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
  103. package/dist/ui/esm/types/ui/components/List/Column.d.ts +4 -0
  104. package/dist/ui/esm/types/ui/components/List/Column.types.d.ts +11 -0
  105. package/dist/ui/esm/types/ui/components/List/List.d.ts +4 -1
  106. package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  107. package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  108. package/dist/ui/esm/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
  109. package/dist/ui/esm/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
  110. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
  111. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
  112. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
  113. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
  114. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
  115. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
  116. package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
  117. package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
  118. package/dist/ui/{cjs/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts → esm/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts} +1 -1
  119. package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
  120. package/dist/ui/esm/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
  121. package/dist/ui/esm/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
  122. package/dist/ui/esm/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
  123. package/dist/ui/esm/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
  124. package/dist/ui/esm/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
  125. package/dist/ui/esm/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
  126. package/dist/ui/esm/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
  127. package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
  128. package/dist/ui/{umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts → esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.types.d.ts} +1 -1
  129. package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
  130. package/dist/ui/esm/types/ui/components/Page/Page.d.ts +1 -1
  131. package/dist/ui/esm/types/ui/components/Page/Page.types.d.ts +2 -2
  132. package/dist/ui/esm/types/ui/components/Page/PageHandler.d.ts +1 -1
  133. package/dist/ui/esm/types/ui/components/Page/PageHandler.types.d.ts +1 -2
  134. package/dist/ui/esm/types/ui/components/Page/PageIcon/PageIcon.d.ts +4 -2
  135. package/dist/ui/esm/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
  136. package/dist/ui/esm/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
  137. package/dist/ui/esm/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
  138. package/dist/ui/esm/types/ui/components/Table/Column.d.ts +4 -0
  139. package/dist/ui/esm/types/ui/components/Table/Column.types.d.ts +11 -0
  140. package/dist/ui/esm/types/ui/components/Table/TableHandler.d.ts +1 -1
  141. package/dist/ui/esm/types/ui/components/Table/TableHandler.types.d.ts +0 -1
  142. package/dist/ui/esm/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
  143. package/dist/ui/esm/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
  144. package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  145. package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  146. package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
  147. package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
  148. package/dist/ui/esm/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
  149. package/dist/ui/esm/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  150. package/dist/ui/esm/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
  151. package/dist/ui/esm/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
  152. package/dist/ui/esm/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
  153. package/dist/ui/esm/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
  154. package/dist/ui/esm/types/ui/components/index.d.ts +1 -3
  155. package/dist/ui/esm/types/ui/components/tokens.stylex.d.ts +9 -0
  156. package/dist/ui/esm/types/ui/components/types.d.ts +0 -8
  157. package/dist/ui/types.d.ts +64 -53
  158. package/dist/ui/umd/index.js +1 -20050
  159. package/dist/ui/umd/index.js.map +1 -1
  160. package/dist/ui/umd/style.css +331 -0
  161. package/dist/ui/umd/types/exporter/files.d.ts +4 -0
  162. package/dist/ui/umd/types/exporter/types.d.ts +24 -1
  163. package/dist/ui/umd/types/exporter/variables.d.ts +1 -0
  164. package/dist/ui/umd/types/ui/components/Gallery/Gallery.types.d.ts +2 -2
  165. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryCard.d.ts +1 -1
  166. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryCard.types.d.ts +2 -0
  167. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryHandler.d.ts +1 -1
  168. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +6 -0
  169. package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryPreview.d.ts +3 -1
  170. package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.d.ts +1 -1
  171. package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/GalleryMultiSelectField.types.d.ts +3 -0
  172. package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.d.ts +4 -0
  173. package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +10 -0
  174. package/dist/ui/umd/types/ui/components/Gallery/GalleryRichTextField/RichTextField.d.ts +1 -1
  175. package/dist/ui/umd/types/ui/components/Gallery/GalleryRichTextField/RichTextField.types.d.ts +1 -0
  176. package/dist/ui/umd/types/ui/components/List/Column.d.ts +4 -0
  177. package/dist/ui/umd/types/ui/components/List/Column.types.d.ts +11 -0
  178. package/dist/ui/umd/types/ui/components/List/List.d.ts +4 -1
  179. package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  180. package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  181. package/dist/ui/umd/types/ui/components/List/ListTitleField/LinkedTitle.d.ts +4 -0
  182. package/dist/ui/umd/types/ui/components/List/ListTitleField/LinkedTitle.types.d.ts +9 -0
  183. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.d.ts +1 -2
  184. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +1 -15
  185. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.d.ts +4 -0
  186. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +10 -0
  187. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.d.ts +4 -0
  188. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +12 -0
  189. package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/index.d.ts +2 -1
  190. package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/BulletedListBlock.d.ts +4 -0
  191. package/dist/ui/{esm/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.types.d.ts → umd/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts} +1 -1
  192. package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/index.d.ts +2 -0
  193. package/dist/ui/umd/types/ui/components/Page/CodeBlock/Code/Code.d.ts +1 -1
  194. package/dist/ui/umd/types/ui/components/Page/CodeBlock/Code/Code.types.d.ts +0 -2
  195. package/dist/ui/umd/types/ui/components/Page/CodeBlock/CodeBlock.d.ts +1 -1
  196. package/dist/ui/umd/types/ui/components/Page/CodeBlock/CodeBlock.types.d.ts +0 -2
  197. package/dist/ui/umd/types/ui/components/Page/ListBlocks/ListBlocks.d.ts +4 -0
  198. package/dist/ui/umd/types/ui/components/Page/{ListBlock/ListBlock.types.d.ts → ListBlocks/ListBlocks.types.d.ts} +1 -1
  199. package/dist/ui/umd/types/ui/components/Page/ListBlocks/index.d.ts +2 -0
  200. package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.d.ts +4 -0
  201. package/dist/ui/{cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.types.d.ts → umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlock.types.d.ts} +1 -1
  202. package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/index.d.ts +2 -2
  203. package/dist/ui/umd/types/ui/components/Page/Page.d.ts +1 -1
  204. package/dist/ui/umd/types/ui/components/Page/Page.types.d.ts +2 -2
  205. package/dist/ui/umd/types/ui/components/Page/PageHandler.d.ts +1 -1
  206. package/dist/ui/umd/types/ui/components/Page/PageHandler.types.d.ts +1 -2
  207. package/dist/ui/umd/types/ui/components/Page/PageIcon/PageIcon.d.ts +4 -2
  208. package/dist/ui/umd/types/ui/components/Page/PdfBlock/PdfBlock.types.d.ts +2 -2
  209. package/dist/ui/umd/types/ui/components/Page/SyncedBlock/SyncedBlock.types.d.ts +2 -2
  210. package/dist/ui/umd/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +2 -2
  211. package/dist/ui/umd/types/ui/components/Table/Column.d.ts +4 -0
  212. package/dist/ui/umd/types/ui/components/Table/Column.types.d.ts +11 -0
  213. package/dist/ui/umd/types/ui/components/Table/TableHandler.d.ts +1 -1
  214. package/dist/ui/umd/types/ui/components/Table/TableHandler.types.d.ts +0 -1
  215. package/dist/ui/umd/types/ui/components/Table/TableIcon/TableIcon.d.ts +1 -1
  216. package/dist/ui/umd/types/ui/components/Table/TableIcon/TableIcon.types.d.ts +1 -0
  217. package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.d.ts +4 -0
  218. package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  219. package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.d.ts +1 -1
  220. package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/TableMultiSelectField.types.d.ts +3 -0
  221. package/dist/ui/umd/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.d.ts +4 -0
  222. package/dist/ui/umd/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +11 -0
  223. package/dist/ui/umd/types/ui/components/Table/TableSelectField/TableSelectField.d.ts +1 -1
  224. package/dist/ui/umd/types/ui/components/Table/TableSelectField/TableSelectField.types.d.ts +3 -0
  225. package/dist/ui/umd/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.d.ts +4 -0
  226. package/dist/ui/umd/types/ui/components/Table/TableTitleField/LinkedTitleIfLinked.types.d.ts +11 -0
  227. package/dist/ui/umd/types/ui/components/index.d.ts +1 -3
  228. package/dist/ui/umd/types/ui/components/tokens.stylex.d.ts +9 -0
  229. package/dist/ui/umd/types/ui/components/types.d.ts +0 -8
  230. package/package.json +30 -33
  231. package/dist/ui/cjs/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
  232. package/dist/ui/cjs/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
  233. package/dist/ui/cjs/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
  234. package/dist/ui/cjs/types/ui/components/Page/ListBlock/index.d.ts +0 -2
  235. package/dist/ui/cjs/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
  236. package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
  237. package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
  238. package/dist/ui/cjs/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
  239. package/dist/ui/cjs/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
  240. package/dist/ui/cjs/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
  241. package/dist/ui/esm/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
  242. package/dist/ui/esm/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
  243. package/dist/ui/esm/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
  244. package/dist/ui/esm/types/ui/components/Page/ListBlock/index.d.ts +0 -2
  245. package/dist/ui/esm/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
  246. package/dist/ui/esm/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
  247. package/dist/ui/esm/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
  248. package/dist/ui/esm/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
  249. package/dist/ui/esm/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
  250. package/dist/ui/esm/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
  251. package/dist/ui/umd/types/ui/components/Page/BulletedListBlocks/BulletedListBlocks.d.ts +0 -4
  252. package/dist/ui/umd/types/ui/components/Page/BulletedListBlocks/index.d.ts +0 -2
  253. package/dist/ui/umd/types/ui/components/Page/ListBlock/ListBlock.d.ts +0 -4
  254. package/dist/ui/umd/types/ui/components/Page/ListBlock/index.d.ts +0 -2
  255. package/dist/ui/umd/types/ui/components/Page/NumberedListBlocks/NumberedListBlocks.d.ts +0 -4
  256. package/dist/ui/umd/types/ui/components/Page/TemplateBlock/TemplateBlock.d.ts +0 -4
  257. package/dist/ui/umd/types/ui/components/Page/TemplateBlock/TemplateBlock.types.d.ts +0 -4
  258. package/dist/ui/umd/types/ui/components/Page/TemplateBlock/index.d.ts +0 -2
  259. package/dist/ui/umd/types/ui/components/Table/TablePropertyNameAndIcon.d.ts +0 -4
  260. package/dist/ui/umd/types/ui/components/Table/TablePropertyNameAndIcon.types.d.ts +0 -5
  261. /package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.d.ts +0 -0
  262. /package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
  263. /package/dist/ui/cjs/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
  264. /package/dist/ui/esm/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.d.ts +0 -0
  265. /package/dist/ui/esm/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
  266. /package/dist/ui/esm/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
  267. /package/dist/ui/umd/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.d.ts +0 -0
  268. /package/dist/ui/umd/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/LinkPreviewMention.types.d.ts +0 -0
  269. /package/dist/ui/umd/types/ui/components/Page/RichText/Mention/{LinkPreviewMemtion → LinkPreviewMention}/index.d.ts +0 -0
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { BulletedListBlockProps } from './BulletedListBlock.types';
3
+ declare const BulletedListBlock: ({ block, href, link, query }: BulletedListBlockProps) => React.JSX.Element;
4
+ export default BulletedListBlock;
@@ -2,7 +2,7 @@
2
2
  import type { BulletedListItemBlockObjectResponseEx } from '../../../../exporter';
3
3
  import type { ParsedUrlQueryInput } from 'node:querystring';
4
4
  import type { Link } from '../../types';
5
- export interface BulletedListBlocksProps {
5
+ export interface BulletedListBlockProps {
6
6
  block: BulletedListItemBlockObjectResponseEx;
7
7
  href?: string;
8
8
  link?: Link;
@@ -0,0 +1,2 @@
1
+ import BulletedListBlock from './BulletedListBlock';
2
+ export { BulletedListBlock };
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { CodeProps } from './Code.types';
3
- declare const Code: ({ children, language, modules }: CodeProps) => React.JSX.Element;
3
+ declare const Code: ({ children, language }: CodeProps) => React.JSX.Element;
4
4
  export default Code;
@@ -1,7 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { ExternalModules } from '../../../types';
3
2
  export interface CodeProps {
4
3
  language: string;
5
- modules?: ExternalModules;
6
4
  children?: ReactNode;
7
5
  }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { CodeBlockProps } from './CodeBlock.types';
3
- declare const CodeBlock: ({ block, modules }: CodeBlockProps) => React.JSX.Element;
3
+ declare const CodeBlock: ({ block }: CodeBlockProps) => React.JSX.Element;
4
4
  export default CodeBlock;
@@ -1,6 +1,4 @@
1
1
  import type { CodeBlockObjectResponse } from '../../../../exporter';
2
- import type { ExternalModules } from '../../types';
3
2
  export interface CodeBlockProps {
4
3
  block: CodeBlockObjectResponse;
5
- modules?: ExternalModules;
6
4
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ListBlocksProps } from './ListBlocks.types';
3
+ export declare const ListBlocks: ({ tag, blocks, href, link, query }: ListBlocksProps) => React.JSX.Element;
4
+ export default ListBlocks;
@@ -3,7 +3,7 @@
3
3
  import type { Link } from '../../types';
4
4
  import type { BlockObjectResponse } from '../../../../exporter';
5
5
  import type { ParsedUrlQueryInput } from 'node:querystring';
6
- export interface ListBlockProps {
6
+ export interface ListBlocksProps {
7
7
  tag: keyof JSX.IntrinsicElements;
8
8
  blocks: BlockObjectResponse[];
9
9
  href?: string;
@@ -0,0 +1,2 @@
1
+ import ListBlocks from './ListBlocks';
2
+ export { ListBlocks };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { NumberedListBlockProps } from './NumberedListBlock.types';
3
+ declare const NumberedListBlock: ({ block, href, link, query }: NumberedListBlockProps) => React.JSX.Element;
4
+ export default NumberedListBlock;
@@ -2,7 +2,7 @@
2
2
  import type { NumberedListItemBlockObjectResponseEx } from '../../../../exporter';
3
3
  import type { ParsedUrlQueryInput } from 'node:querystring';
4
4
  import type { Link } from '../../types';
5
- export interface NumberedListBlocksProps {
5
+ export interface NumberedListBlockProps {
6
6
  block: NumberedListItemBlockObjectResponseEx;
7
7
  href?: string;
8
8
  link?: Link;
@@ -1,2 +1,2 @@
1
- import NumberedListBlocks from './NumberedListBlocks';
2
- export { NumberedListBlocks };
1
+ import NumberedListBlock from './NumberedListBlock';
2
+ export { NumberedListBlock };
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { PageProps } from './Page.types';
3
- export declare const Page: ({ blocks, href, link, query, modules, breadcrumb_hrefs }: PageProps) => React.JSX.Element;
3
+ export declare const Page: ({ blocks, href, link, query, breadcrumb_hrefs }: PageProps) => React.JSX.Element;
4
4
  export default Page;
@@ -1,15 +1,15 @@
1
1
  /// <reference types="node" />
2
2
  import type { ListBlockChildrenResponseEx } from '../../../exporter';
3
3
  import type { ParsedUrlQueryInput } from 'node:querystring';
4
- import type { Link, ExternalModules } from '../types';
4
+ import type { Link } from '../types';
5
5
  export interface PageProps {
6
6
  blocks: ListBlockChildrenResponseEx;
7
7
  href?: string;
8
8
  link?: Link;
9
9
  query?: ParsedUrlQueryInput;
10
- modules?: ExternalModules;
11
10
  breadcrumb_hrefs?: string[];
12
11
  }
13
12
  export interface ListType {
14
13
  [key: string]: string;
15
14
  }
15
+ export type ULOL = 'ul' | 'ol';
@@ -11,5 +11,5 @@ export declare const blockType: {
11
11
  code: string;
12
12
  quote: string;
13
13
  };
14
- export declare const PageHandler: ({ block, href, link, query, modules, breadcrumb_hrefs }: HandlerProps) => React.JSX.Element;
14
+ export declare const PageHandler: ({ block, href, link, query, breadcrumb_hrefs }: HandlerProps) => React.JSX.Element;
15
15
  export default PageHandler;
@@ -1,12 +1,11 @@
1
1
  /// <reference types="node" />
2
2
  import type { BlockObjectResponse } from '../../../exporter';
3
3
  import type { ParsedUrlQueryInput } from 'node:querystring';
4
- import type { Link, ExternalModules } from '../types';
4
+ import type { Link } from '../types';
5
5
  export interface HandlerProps {
6
6
  block: BlockObjectResponse;
7
7
  href?: string;
8
8
  link?: Link;
9
9
  query?: ParsedUrlQueryInput;
10
- modules?: ExternalModules;
11
10
  breadcrumb_hrefs?: string[];
12
11
  }
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  export interface PageIconProps {
3
- name: 'figma' | 'slack' | 'github' | 'link';
3
+ name: 'figma' | 'slack' | 'github' | 'file' | 'link';
4
+ width?: string;
5
+ height?: string;
4
6
  }
5
- declare const PageIcon: ({ name }: PageIconProps) => React.JSX.Element;
7
+ declare const PageIcon: ({ name, width, height }: PageIconProps) => React.JSX.Element;
6
8
  export default PageIcon;
@@ -1,4 +1,4 @@
1
- import type { PdfBlockObjectResponse } from '../../../../exporter';
1
+ import type { PdfBlockObjectResponseEx } from '../../../../exporter';
2
2
  export interface PdfBlockProps {
3
- block: PdfBlockObjectResponse;
3
+ block: PdfBlockObjectResponseEx;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { SyncedBlockBlockObjectResponse } from '../../../../exporter';
1
+ import { SyncedBlockBlockObjectResponseEx } from '../../../../exporter';
2
2
  export interface SyncedBlockProps {
3
- block: SyncedBlockBlockObjectResponse;
3
+ block: SyncedBlockBlockObjectResponseEx;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import type { RichTextItemResponse } from '../../../../exporter';
2
+ import type { ParagraphBlockObjectResponseEx, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, DividerBlockObjectResponse } from '../../../../exporter';
3
3
  export interface TextBlockProps {
4
4
  tag: keyof JSX.IntrinsicElements;
5
- block: RichTextItemResponse[] | undefined;
5
+ block: ParagraphBlockObjectResponseEx | Heading1BlockObjectResponse | Heading2BlockObjectResponse | Heading3BlockObjectResponse | QuoteBlockObjectResponse | DividerBlockObjectResponse;
6
6
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ColumnProps } from './Column.types';
3
+ declare const Column: ({ name, page, href, link, query }: ColumnProps) => React.JSX.Element;
4
+ export default Column;
@@ -0,0 +1,11 @@
1
+ /// <reference types="node" />
2
+ import type { ParsedUrlQueryInput } from 'node:querystring';
3
+ import type { PageObjectResponseEx } from '../../../exporter';
4
+ import type { Link } from '../types';
5
+ export interface ColumnProps {
6
+ name: string;
7
+ page: PageObjectResponseEx;
8
+ href?: string;
9
+ link?: Link;
10
+ query?: ParsedUrlQueryInput;
11
+ }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { TableHandlerProps } from './TableHandler.types';
3
- declare const TableHandler: ({ name, items, path, slug, link, query }: TableHandlerProps) => React.JSX.Element | undefined;
3
+ declare const TableHandler: ({ items, path, slug, link, query }: TableHandlerProps) => React.JSX.Element | undefined;
4
4
  export default TableHandler;
@@ -3,7 +3,6 @@ import type { GetPagePropertyResponse } from '../../../exporter';
3
3
  import type { ParsedUrlQueryInput } from 'node:querystring';
4
4
  import type { Link } from '../types';
5
5
  export interface TableHandlerProps {
6
- name: string;
7
6
  items: GetPagePropertyResponse | undefined;
8
7
  path?: string;
9
8
  slug?: string;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { TableIconProps } from './TableIcon.types';
3
- declare const TableIcon: ({ type }: TableIconProps) => React.JSX.Element;
3
+ declare const TableIcon: ({ type, className }: TableIconProps) => React.JSX.Element;
4
4
  export default TableIcon;
@@ -1,3 +1,4 @@
1
1
  export interface TableIconProps {
2
2
  type: string;
3
+ className?: string;
3
4
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { LinkedTagIfLinkedProps } from './LinkedTagIfLinked.types';
3
+ declare const LinkedTagIfLinked: ({ color, pathname, link, query, children }: LinkedTagIfLinkedProps) => React.JSX.Element;
4
+ export default LinkedTagIfLinked;
@@ -0,0 +1,11 @@
1
+ /// <reference types="node" />
2
+ import type { ReactNode } from 'react';
3
+ import type { ParsedUrlQueryInput } from 'node:querystring';
4
+ import type { Link } from '../../types';
5
+ export interface LinkedTagIfLinkedProps {
6
+ pathname: string;
7
+ color: string;
8
+ link?: Link;
9
+ query?: ParsedUrlQueryInput;
10
+ children?: ReactNode;
11
+ }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { TableMultiSelectFieldProps } from './TableMultiSelectField.types';
3
- declare const TableMultiSelectField: ({ payload, path, link }: TableMultiSelectFieldProps) => React.JSX.Element;
3
+ declare const TableMultiSelectField: ({ payload, path, link, query }: TableMultiSelectFieldProps) => React.JSX.Element;
4
4
  export default TableMultiSelectField;
@@ -1,7 +1,10 @@
1
+ /// <reference types="node" />
1
2
  import type { MultiSelectPropertyItemObjectResponse } from '../../../../exporter';
2
3
  import type { Link } from '../../types';
4
+ import type { ParsedUrlQueryInput } from 'node:querystring';
3
5
  export interface TableMultiSelectFieldProps {
4
6
  payload: MultiSelectPropertyItemObjectResponse;
5
7
  path?: string;
6
8
  link?: Link;
9
+ query?: ParsedUrlQueryInput;
7
10
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { LinkedTagIfLinkedProps } from './LinkedTagIfLinked.types';
3
+ declare const LinkedTagIfLinked: ({ pathname, color, link, query, children }: LinkedTagIfLinkedProps) => React.JSX.Element;
4
+ export default LinkedTagIfLinked;
@@ -0,0 +1,11 @@
1
+ /// <reference types="node" />
2
+ import type { ReactNode } from 'react';
3
+ import type { Link } from '../../types';
4
+ import type { ParsedUrlQueryInput } from 'node:querystring';
5
+ export interface LinkedTagIfLinkedProps {
6
+ pathname: string;
7
+ color: string;
8
+ link?: Link;
9
+ query?: ParsedUrlQueryInput;
10
+ children?: ReactNode;
11
+ }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { TableSelectFieldProps } from './TableSelectField.types';
3
- declare const TableSelectField: ({ payload, path, link }: TableSelectFieldProps) => React.JSX.Element;
3
+ declare const TableSelectField: ({ payload, path, link, query }: TableSelectFieldProps) => React.JSX.Element;
4
4
  export default TableSelectField;
@@ -1,7 +1,10 @@
1
+ /// <reference types="node" />
1
2
  import type { SelectPropertyItemObjectResponse } from '../../../../exporter';
2
3
  import type { Link } from '../../types';
4
+ import type { ParsedUrlQueryInput } from 'node:querystring';
3
5
  export interface TableSelectFieldProps {
4
6
  payload: SelectPropertyItemObjectResponse;
5
7
  path?: string;
6
8
  link?: Link;
9
+ query?: ParsedUrlQueryInput;
7
10
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { LinkedTitleIfLinkedProps } from './LinkedTitleIfLinked.types';
3
+ declare const LinkedTitleIfLinked: ({ path, slug, link, query, children }: LinkedTitleIfLinkedProps) => React.JSX.Element;
4
+ export default LinkedTitleIfLinked;
@@ -0,0 +1,11 @@
1
+ /// <reference types="node" />
2
+ import type { ReactNode } from 'react';
3
+ import type { ParsedUrlQueryInput } from 'node:querystring';
4
+ import type { Link } from '../../types';
5
+ export interface LinkedTitleIfLinkedProps {
6
+ path?: string;
7
+ slug?: string;
8
+ link?: Link;
9
+ query?: ParsedUrlQueryInput;
10
+ children?: ReactNode;
11
+ }
@@ -28,7 +28,7 @@ export * from './Table/TableUrlField';
28
28
  export * from './Page';
29
29
  export * from './Page/BookmarkBlock';
30
30
  export * from './Page/BreadcrumbBlock';
31
- export * from './Page/BulletedListBlocks';
31
+ export * from './Page/BulletedListBlock';
32
32
  export * from './Page/CalloutBlock';
33
33
  export * from './Page/ChildDatabaseBlock';
34
34
  export * from './Page/ChildPageBlock';
@@ -39,14 +39,12 @@ export * from './Page/EquationBlock';
39
39
  export * from './Page/FileBlock';
40
40
  export * from './Page/ImageBlock';
41
41
  export * from './Page/LinkPreviewBlock';
42
- export * from './Page/ListBlock';
43
42
  export * from './Page/NumberedListBlocks';
44
43
  export * from './Page/PageIcon';
45
44
  export * from './Page/PdfBlock';
46
45
  export * from './Page/SyncedBlock';
47
46
  export * from './Page/TableBlock';
48
47
  export * from './Page/TableOfContentsBlock';
49
- export * from './Page/TemplateBlock';
50
48
  export * from './Page/TextBlock';
51
49
  export * from './Page/RichText';
52
50
  export * from './Page/ToDoBlock';
@@ -0,0 +1,9 @@
1
+ export declare const fontFamily: import("@stylexjs/stylex").VarGroup<Readonly<{
2
+ sansserif: string;
3
+ }>, symbol>;
4
+ export declare const color: import("@stylexjs/stylex").VarGroup<Readonly<{
5
+ [x: string]: string;
6
+ }>, symbol>;
7
+ export declare const withDarkColor: import("@stylexjs/stylex").VarGroup<Readonly<{
8
+ [x: string]: string;
9
+ }>, symbol>;
@@ -7,11 +7,3 @@ export interface Link extends React.FC<{
7
7
  href: string | UrlObject;
8
8
  }> {
9
9
  }
10
- export interface ExternalModules {
11
- mermaid?: {
12
- init: (config?: {}, nodes?: string | HTMLElement, callback?: ((id: string) => unknown) | undefined) => Promise<void>;
13
- };
14
- prism?: {
15
- highlightElement: (element: Element, async?: boolean | undefined, callback?: (element: Element) => void | undefined) => void;
16
- };
17
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rotion",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "license": "MIT",
5
5
  "repository": "linyows/rotion",
6
6
  "description": "This is react components that uses the notion API to display the notion's database and page.",
@@ -15,6 +15,7 @@
15
15
  "import": "./dist/ui/esm/index.js",
16
16
  "require": "./dist/ui/cjs/index.js"
17
17
  },
18
+ "./style.css": "./dist/ui/esm/style.css",
18
19
  "./styles/*": "./dist/ui/styles/*",
19
20
  "./package.json": "./package.json",
20
21
  "./README.md": "./README.md",
@@ -41,20 +42,17 @@
41
42
  "scripts": {
42
43
  "build": "npm run exporter:build && npm run ui:build",
43
44
  "test": "npm run exporter:test && npm run ui:test",
44
-
45
45
  "exporter:build": "npm run exporter:clean && tsc -p tsconfig.exporter.json",
46
46
  "exporter:clean": "rm -rf dist/exporter/*",
47
47
  "exporter:test": "tsm node_modules/uvu/bin.js ./src/exporter",
48
-
49
48
  "ui:build": "npm run ui:lint && npm run ui:typecheck && npm run ui:rollup && npm run ui:styles",
50
49
  "ui:rollup": "rollup --config rollup.config.ts --configPlugin typescript",
51
50
  "ui:typecheck": "tsc -p src/ui/tsconfig.typecheck.json",
52
51
  "ui:styles": "cp -r ./src/ui/styles ./dist/ui/",
53
52
  "ui:lint": "eslint ./src/ui/components --ext .js,.jsx,.ts,.tsx -c ./src/ui/.eslintrc.json",
54
53
  "ui:test": "npm run ui:lint && npm run ui:typecheck",
55
- "ui:story": "storybook dev -p 6006",
56
- "ui:build-story": "storybook build",
57
-
54
+ "story": "storybook dev -p 6006",
55
+ "build-story": "storybook build",
58
56
  "prepublishOnly": "npm install && npm run exporter:build && npm run exporter:test && npm run ui:build"
59
57
  },
60
58
  "peerDependencies": {
@@ -66,42 +64,36 @@
66
64
  "file-type": "^18.7.0",
67
65
  "imagemin": "^8.0.1",
68
66
  "imagemin-webp": "^8.0.0",
69
- "replace-ext": "^2.0.0",
70
-
71
- "mermaid": "^10.6.1",
72
67
  "katex": "^0.16.9",
73
- "prismjs": "^1.25.0"
68
+ "mermaid": "^10.6.1",
69
+ "prismjs": "^1.25.0",
70
+ "replace-ext": "^2.0.0"
74
71
  },
75
72
  "devDependencies": {
76
- "@types/node": "^20.10.5",
77
- "@types/imagemin": "^8.0.5",
78
- "@types/imagemin-webp": "^7.0.3",
79
- "@types/replace-ext": "^2.0.2",
80
- "@tsconfig/node-lts-strictest-esm": "^18.12.1",
81
- "testdouble": "^3.20.1",
82
- "ts-node": "^10.9.2",
83
- "tslib": "^2.6.2",
84
- "tsm": "^2.3.0",
85
- "typescript": "^5.3.3",
86
- "uvu": "^0.5.6",
87
-
88
73
  "@rollup/plugin-commonjs": "^25.0.7",
89
74
  "@rollup/plugin-json": "^6.1.0",
90
75
  "@rollup/plugin-node-resolve": "^15.2.3",
91
76
  "@rollup/plugin-terser": "^0.4.4",
92
77
  "@rollup/plugin-typescript": "^11.1.5",
93
- "@storybook/addon-essentials": "^7.6.7",
94
- "@storybook/addon-interactions": "^7.6.7",
95
- "@storybook/addon-links": "^7.6.7",
96
- "@storybook/addon-onboarding": "^1.0.10",
97
- "@storybook/blocks": "^7.6.7",
98
- "@storybook/react": "^7.6.7",
99
- "@storybook/react-vite": "^7.6.7",
100
- "@storybook/test": "^7.6.7",
78
+ "@storybook/addon-essentials": "^7.6.12",
79
+ "@storybook/addon-interactions": "^7.6.12",
80
+ "@storybook/addon-links": "^7.6.12",
81
+ "@storybook/addon-onboarding": "^1.0.11",
82
+ "@storybook/blocks": "^7.6.12",
83
+ "@storybook/react": "^7.6.12",
84
+ "@storybook/react-vite": "^7.6.12",
85
+ "@storybook/test": "^7.6.12",
86
+ "@stylexjs/rollup-plugin": "^0.4.1",
87
+ "@stylexjs/stylex": "^0.4.1",
88
+ "@tsconfig/node-lts-strictest-esm": "^18.12.1",
89
+ "@types/imagemin": "^8.0.5",
90
+ "@types/imagemin-webp": "^7.0.3",
101
91
  "@types/katex": "^0.16.7",
92
+ "@types/node": "^20.10.5",
102
93
  "@types/prismjs": "^1.26.3",
103
94
  "@types/react": "^18.2.45",
104
95
  "@types/react-dom": "^18.2.18",
96
+ "@types/replace-ext": "^2.0.2",
105
97
  "@types/rollup-plugin-peer-deps-external": "^2.2.4",
106
98
  "@typescript-eslint/eslint-plugin": "^6.14.0",
107
99
  "@typescript-eslint/parser": "^6.14.0",
@@ -112,7 +104,6 @@
112
104
  "eslint-plugin-promise": "^6.0.0",
113
105
  "eslint-plugin-react": "^7.33.2",
114
106
  "eslint-plugin-storybook": "^0.6.15",
115
- "exporter": "file:../exporter",
116
107
  "http-cache-semantics": ">=4.1.1",
117
108
  "react": "^18.2.0",
118
109
  "react-dom": "^18.2.0",
@@ -121,8 +112,14 @@
121
112
  "rollup-plugin-dts": "^6.1.0",
122
113
  "rollup-plugin-import-css": "^3.3.5",
123
114
  "rollup-plugin-peer-deps-external": "^2.2.4",
124
- "storybook": "^7.6.7",
125
- "storybook-dark-mode": "^3.0.3"
115
+ "storybook": "^7.6.12",
116
+ "testdouble": "^3.20.1",
117
+ "ts-node": "^10.9.2",
118
+ "tslib": "^2.6.2",
119
+ "tsm": "^2.3.0",
120
+ "typescript": "^5.3.3",
121
+ "uvu": "^0.5.6",
122
+ "vite-plugin-stylex-dev": "^0.2.5"
126
123
  },
127
124
  "extends": "@tsconfig/node-lts-strictest-esm",
128
125
  "ts-node": {
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { BulletedListBlocksProps } from './BulletedListBlocks.types';
3
- declare const BulletedListBlocks: ({ block, href, link, query }: BulletedListBlocksProps) => React.JSX.Element;
4
- export default BulletedListBlocks;
@@ -1,2 +0,0 @@
1
- import BulletedListBlocks from './BulletedListBlocks';
2
- export { BulletedListBlocks };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { ListBlockProps } from './ListBlock.types';
3
- export declare const ListBlock: ({ tag, blocks, href, link, query }: ListBlockProps) => React.JSX.Element;
4
- export default ListBlock;
@@ -1,2 +0,0 @@
1
- import ListBlock from './ListBlock';
2
- export { ListBlock };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { NumberedListBlocksProps } from './NumberedListBlocks.types';
3
- declare const NumberedListBlocks: ({ block, href, link, query }: NumberedListBlocksProps) => React.JSX.Element;
4
- export default NumberedListBlocks;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { TemplateBlockProps } from './TemplateBlock.types';
3
- declare const TemplateBlock: ({ block }: TemplateBlockProps) => React.JSX.Element;
4
- export default TemplateBlock;
@@ -1,4 +0,0 @@
1
- import type { TemplateBlockObjectResponse } from '../../../../exporter';
2
- export interface TemplateBlockProps {
3
- block: TemplateBlockObjectResponse;
4
- }
@@ -1,2 +0,0 @@
1
- import TemplateBlock from './TemplateBlock';
2
- export { TemplateBlock };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { TablePropertyNameAndIconProps } from './TablePropertyNameAndIcon.types';
3
- declare const TablePropertyNameAndIcon: ({ name, db }: TablePropertyNameAndIconProps) => React.JSX.Element;
4
- export default TablePropertyNameAndIcon;
@@ -1,5 +0,0 @@
1
- import type { QueryDatabaseResponseEx } from '../../../exporter';
2
- export interface TablePropertyNameAndIconProps {
3
- name: string;
4
- db: QueryDatabaseResponseEx;
5
- }
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { BulletedListBlocksProps } from './BulletedListBlocks.types';
3
- declare const BulletedListBlocks: ({ block, href, link, query }: BulletedListBlocksProps) => React.JSX.Element;
4
- export default BulletedListBlocks;
@@ -1,2 +0,0 @@
1
- import BulletedListBlocks from './BulletedListBlocks';
2
- export { BulletedListBlocks };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { ListBlockProps } from './ListBlock.types';
3
- export declare const ListBlock: ({ tag, blocks, href, link, query }: ListBlockProps) => React.JSX.Element;
4
- export default ListBlock;
@@ -1,2 +0,0 @@
1
- import ListBlock from './ListBlock';
2
- export { ListBlock };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { NumberedListBlocksProps } from './NumberedListBlocks.types';
3
- declare const NumberedListBlocks: ({ block, href, link, query }: NumberedListBlocksProps) => React.JSX.Element;
4
- export default NumberedListBlocks;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { TemplateBlockProps } from './TemplateBlock.types';
3
- declare const TemplateBlock: ({ block }: TemplateBlockProps) => React.JSX.Element;
4
- export default TemplateBlock;
@@ -1,4 +0,0 @@
1
- import type { TemplateBlockObjectResponse } from '../../../../exporter';
2
- export interface TemplateBlockProps {
3
- block: TemplateBlockObjectResponse;
4
- }
@@ -1,2 +0,0 @@
1
- import TemplateBlock from './TemplateBlock';
2
- export { TemplateBlock };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { TablePropertyNameAndIconProps } from './TablePropertyNameAndIcon.types';
3
- declare const TablePropertyNameAndIcon: ({ name, db }: TablePropertyNameAndIconProps) => React.JSX.Element;
4
- export default TablePropertyNameAndIcon;
@@ -1,5 +0,0 @@
1
- import type { QueryDatabaseResponseEx } from '../../../exporter';
2
- export interface TablePropertyNameAndIconProps {
3
- name: string;
4
- db: QueryDatabaseResponseEx;
5
- }