@openwarelabs/blocks 0.8.0 → 0.10.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 (303) hide show
  1. package/README.md +36 -12
  2. package/dist/app-shells/Shell01/Shell01.d.cts +6 -0
  3. package/dist/app-shells/Shell01/Shell01.d.ts +6 -0
  4. package/dist/app-shells/Shell01/Shell01.types.d.cts +48 -0
  5. package/dist/app-shells/Shell01/Shell01.types.d.ts +48 -0
  6. package/dist/app-shells/Shell02/Shell02.d.cts +7 -0
  7. package/dist/app-shells/Shell02/Shell02.d.ts +7 -0
  8. package/dist/app-shells/Shell02/Shell02.types.d.cts +50 -0
  9. package/dist/app-shells/Shell02/Shell02.types.d.ts +50 -0
  10. package/dist/app-shells/Shell03/Shell03.d.cts +6 -0
  11. package/dist/app-shells/Shell03/Shell03.d.ts +6 -0
  12. package/dist/app-shells/Shell03/Shell03.types.d.cts +73 -0
  13. package/dist/app-shells/Shell03/Shell03.types.d.ts +73 -0
  14. package/dist/app-shells/Shell04/Shell04.d.cts +6 -0
  15. package/dist/app-shells/Shell04/Shell04.d.ts +6 -0
  16. package/dist/app-shells/Shell04/Shell04.types.d.cts +68 -0
  17. package/dist/app-shells/Shell04/Shell04.types.d.ts +68 -0
  18. package/dist/blog/Blog01/Blog01.d.cts +3 -0
  19. package/dist/blog/Blog01/Blog01.d.ts +3 -0
  20. package/dist/blog/Blog01/Blog01.types.d.cts +55 -0
  21. package/dist/blog/Blog01/Blog01.types.d.ts +55 -0
  22. package/dist/blog/Blog02/Blog02.d.cts +3 -0
  23. package/dist/blog/Blog02/Blog02.d.ts +3 -0
  24. package/dist/blog/Blog02/Blog02.types.d.cts +51 -0
  25. package/dist/blog/Blog02/Blog02.types.d.ts +51 -0
  26. package/dist/blog/Blog03/Blog03.d.cts +3 -0
  27. package/dist/blog/Blog03/Blog03.d.ts +3 -0
  28. package/dist/blog/Blog03/Blog03.types.d.cts +66 -0
  29. package/dist/blog/Blog03/Blog03.types.d.ts +66 -0
  30. package/dist/blog/Blog04/Blog04.d.cts +3 -0
  31. package/dist/blog/Blog04/Blog04.d.ts +3 -0
  32. package/dist/blog/Blog04/Blog04.types.d.cts +64 -0
  33. package/dist/blog/Blog04/Blog04.types.d.ts +64 -0
  34. package/dist/calls-to-action/Cta01/Cta01.d.cts +3 -0
  35. package/dist/calls-to-action/Cta01/Cta01.d.ts +3 -0
  36. package/dist/calls-to-action/Cta01/Cta01.types.d.cts +14 -0
  37. package/dist/calls-to-action/Cta01/Cta01.types.d.ts +14 -0
  38. package/dist/calls-to-action/Cta02/Cta02.d.cts +3 -0
  39. package/dist/calls-to-action/Cta02/Cta02.d.ts +3 -0
  40. package/dist/calls-to-action/Cta02/Cta02.types.d.cts +16 -0
  41. package/dist/calls-to-action/Cta02/Cta02.types.d.ts +16 -0
  42. package/dist/calls-to-action/Cta03/Cta03.d.cts +3 -0
  43. package/dist/calls-to-action/Cta03/Cta03.d.ts +3 -0
  44. package/dist/calls-to-action/Cta03/Cta03.types.d.cts +18 -0
  45. package/dist/calls-to-action/Cta03/Cta03.types.d.ts +18 -0
  46. package/dist/chat/Chat01/Chat01.d.cts +6 -0
  47. package/dist/chat/Chat01/Chat01.d.ts +6 -0
  48. package/dist/chat/Chat01/Chat01.types.d.cts +95 -0
  49. package/dist/chat/Chat01/Chat01.types.d.ts +95 -0
  50. package/dist/chat/Chat02/Chat02.d.cts +6 -0
  51. package/dist/chat/Chat02/Chat02.d.ts +6 -0
  52. package/dist/chat/Chat02/Chat02.types.d.cts +70 -0
  53. package/dist/chat/Chat02/Chat02.types.d.ts +70 -0
  54. package/dist/chat/Chat03/Chat03.d.cts +6 -0
  55. package/dist/chat/Chat03/Chat03.d.ts +6 -0
  56. package/dist/chat/Chat03/Chat03.types.d.cts +96 -0
  57. package/dist/chat/Chat03/Chat03.types.d.ts +96 -0
  58. package/dist/contact/Contact01/Contact01.d.cts +3 -0
  59. package/dist/contact/Contact01/Contact01.d.ts +3 -0
  60. package/dist/contact/Contact01/Contact01.types.d.cts +103 -0
  61. package/dist/contact/Contact01/Contact01.types.d.ts +103 -0
  62. package/dist/contact/Contact02/Contact02.d.cts +3 -0
  63. package/dist/contact/Contact02/Contact02.d.ts +3 -0
  64. package/dist/contact/Contact02/Contact02.types.d.cts +56 -0
  65. package/dist/contact/Contact02/Contact02.types.d.ts +56 -0
  66. package/dist/dashboards/Dashboard01/Dashboard01.d.cts +3 -0
  67. package/dist/dashboards/Dashboard01/Dashboard01.d.ts +3 -0
  68. package/dist/dashboards/Dashboard01/Dashboard01.types.d.cts +53 -0
  69. package/dist/dashboards/Dashboard01/Dashboard01.types.d.ts +53 -0
  70. package/dist/dashboards/Dashboard02/Dashboard02.d.cts +3 -0
  71. package/dist/dashboards/Dashboard02/Dashboard02.d.ts +3 -0
  72. package/dist/dashboards/Dashboard02/Dashboard02.types.d.cts +74 -0
  73. package/dist/dashboards/Dashboard02/Dashboard02.types.d.ts +74 -0
  74. package/dist/dashboards/Dashboard03/Dashboard03.d.cts +6 -0
  75. package/dist/dashboards/Dashboard03/Dashboard03.d.ts +6 -0
  76. package/dist/dashboards/Dashboard03/Dashboard03.types.d.cts +131 -0
  77. package/dist/dashboards/Dashboard03/Dashboard03.types.d.ts +131 -0
  78. package/dist/empty-states/Empty01/Empty01.d.cts +3 -0
  79. package/dist/empty-states/Empty01/Empty01.d.ts +3 -0
  80. package/dist/empty-states/Empty01/Empty01.types.d.cts +94 -0
  81. package/dist/empty-states/Empty01/Empty01.types.d.ts +94 -0
  82. package/dist/empty-states/Empty02/Empty02.d.cts +3 -0
  83. package/dist/empty-states/Empty02/Empty02.d.ts +3 -0
  84. package/dist/empty-states/Empty02/Empty02.types.d.cts +72 -0
  85. package/dist/empty-states/Empty02/Empty02.types.d.ts +72 -0
  86. package/dist/empty-states/Empty03/Empty03.d.cts +3 -0
  87. package/dist/empty-states/Empty03/Empty03.d.ts +3 -0
  88. package/dist/empty-states/Empty03/Empty03.types.d.cts +72 -0
  89. package/dist/empty-states/Empty03/Empty03.types.d.ts +72 -0
  90. package/dist/error-pages/ErrorPage01/ErrorPage01.d.cts +3 -0
  91. package/dist/error-pages/ErrorPage01/ErrorPage01.d.ts +3 -0
  92. package/dist/error-pages/ErrorPage01/ErrorPage01.types.d.cts +48 -0
  93. package/dist/error-pages/ErrorPage01/ErrorPage01.types.d.ts +48 -0
  94. package/dist/error-pages/ErrorPage02/ErrorPage02.d.cts +3 -0
  95. package/dist/error-pages/ErrorPage02/ErrorPage02.d.ts +3 -0
  96. package/dist/error-pages/ErrorPage02/ErrorPage02.types.d.cts +45 -0
  97. package/dist/error-pages/ErrorPage02/ErrorPage02.types.d.ts +45 -0
  98. package/dist/error-pages/ErrorPage03/ErrorPage03.d.cts +3 -0
  99. package/dist/error-pages/ErrorPage03/ErrorPage03.d.ts +3 -0
  100. package/dist/error-pages/ErrorPage03/ErrorPage03.types.d.cts +45 -0
  101. package/dist/error-pages/ErrorPage03/ErrorPage03.types.d.ts +45 -0
  102. package/dist/faq/Faq01/Faq01.d.cts +3 -0
  103. package/dist/faq/Faq01/Faq01.d.ts +3 -0
  104. package/dist/faq/Faq01/Faq01.types.d.cts +23 -0
  105. package/dist/faq/Faq01/Faq01.types.d.ts +23 -0
  106. package/dist/faq/Faq02/Faq02.d.cts +3 -0
  107. package/dist/faq/Faq02/Faq02.d.ts +3 -0
  108. package/dist/faq/Faq02/Faq02.types.d.cts +24 -0
  109. package/dist/faq/Faq02/Faq02.types.d.ts +24 -0
  110. package/dist/faq/Faq03/Faq03.d.cts +3 -0
  111. package/dist/faq/Faq03/Faq03.d.ts +3 -0
  112. package/dist/faq/Faq03/Faq03.types.d.cts +42 -0
  113. package/dist/faq/Faq03/Faq03.types.d.ts +42 -0
  114. package/dist/forms/Form01/Form01.d.cts +3 -0
  115. package/dist/forms/Form01/Form01.d.ts +3 -0
  116. package/dist/forms/Form01/Form01.types.d.cts +20 -0
  117. package/dist/forms/Form01/Form01.types.d.ts +20 -0
  118. package/dist/forms/Form02/Form02.d.cts +3 -0
  119. package/dist/forms/Form02/Form02.d.ts +3 -0
  120. package/dist/forms/Form02/Form02.types.d.cts +38 -0
  121. package/dist/forms/Form02/Form02.types.d.ts +38 -0
  122. package/dist/forms/Form03/Form03.d.cts +3 -0
  123. package/dist/forms/Form03/Form03.d.ts +3 -0
  124. package/dist/forms/Form03/Form03.types.d.cts +55 -0
  125. package/dist/forms/Form03/Form03.types.d.ts +55 -0
  126. package/dist/index.cjs +6244 -22
  127. package/dist/index.cjs.map +4 -4
  128. package/dist/index.d.cts +141 -1
  129. package/dist/index.d.ts +141 -1
  130. package/dist/index.js +6274 -19
  131. package/dist/index.js.map +4 -4
  132. package/dist/lists-and-tables/List01/List01.d.cts +6 -0
  133. package/dist/lists-and-tables/List01/List01.d.ts +6 -0
  134. package/dist/lists-and-tables/List01/List01.types.d.cts +60 -0
  135. package/dist/lists-and-tables/List01/List01.types.d.ts +60 -0
  136. package/dist/lists-and-tables/List02/List02.d.cts +3 -0
  137. package/dist/lists-and-tables/List02/List02.d.ts +3 -0
  138. package/dist/lists-and-tables/List02/List02.types.d.cts +54 -0
  139. package/dist/lists-and-tables/List02/List02.types.d.ts +54 -0
  140. package/dist/lists-and-tables/List03/List03.d.cts +3 -0
  141. package/dist/lists-and-tables/List03/List03.d.ts +3 -0
  142. package/dist/lists-and-tables/List03/List03.types.d.cts +41 -0
  143. package/dist/lists-and-tables/List03/List03.types.d.ts +41 -0
  144. package/dist/lists-and-tables/List04/List04.d.cts +3 -0
  145. package/dist/lists-and-tables/List04/List04.d.ts +3 -0
  146. package/dist/lists-and-tables/List04/List04.types.d.cts +67 -0
  147. package/dist/lists-and-tables/List04/List04.types.d.ts +67 -0
  148. package/dist/logo-clouds/Logos01/Logos01.d.cts +3 -0
  149. package/dist/logo-clouds/Logos01/Logos01.d.ts +3 -0
  150. package/dist/logo-clouds/Logos01/Logos01.types.d.cts +13 -0
  151. package/dist/logo-clouds/Logos01/Logos01.types.d.ts +13 -0
  152. package/dist/logo-clouds/Logos02/Logos02.d.cts +3 -0
  153. package/dist/logo-clouds/Logos02/Logos02.d.ts +3 -0
  154. package/dist/logo-clouds/Logos02/Logos02.types.d.cts +28 -0
  155. package/dist/logo-clouds/Logos02/Logos02.types.d.ts +28 -0
  156. package/dist/logo-clouds/Logos03/Logos03.d.cts +3 -0
  157. package/dist/logo-clouds/Logos03/Logos03.d.ts +3 -0
  158. package/dist/logo-clouds/Logos03/Logos03.types.d.cts +23 -0
  159. package/dist/logo-clouds/Logos03/Logos03.types.d.ts +23 -0
  160. package/dist/newsletter/Newsletter01/Newsletter01.d.cts +3 -0
  161. package/dist/newsletter/Newsletter01/Newsletter01.d.ts +3 -0
  162. package/dist/newsletter/Newsletter01/Newsletter01.types.d.cts +39 -0
  163. package/dist/newsletter/Newsletter01/Newsletter01.types.d.ts +39 -0
  164. package/dist/newsletter/Newsletter02/Newsletter02.d.cts +3 -0
  165. package/dist/newsletter/Newsletter02/Newsletter02.d.ts +3 -0
  166. package/dist/newsletter/Newsletter02/Newsletter02.types.d.cts +42 -0
  167. package/dist/newsletter/Newsletter02/Newsletter02.types.d.ts +42 -0
  168. package/dist/notifications/Notifications01/Notifications01.d.cts +3 -0
  169. package/dist/notifications/Notifications01/Notifications01.d.ts +3 -0
  170. package/dist/notifications/Notifications01/Notifications01.types.d.cts +74 -0
  171. package/dist/notifications/Notifications01/Notifications01.types.d.ts +74 -0
  172. package/dist/notifications/Notifications02/Notifications02.d.cts +3 -0
  173. package/dist/notifications/Notifications02/Notifications02.d.ts +3 -0
  174. package/dist/notifications/Notifications02/Notifications02.types.d.cts +65 -0
  175. package/dist/notifications/Notifications02/Notifications02.types.d.ts +65 -0
  176. package/dist/notifications/Notifications03/Notifications03.d.cts +3 -0
  177. package/dist/notifications/Notifications03/Notifications03.d.ts +3 -0
  178. package/dist/notifications/Notifications03/Notifications03.types.d.cts +87 -0
  179. package/dist/notifications/Notifications03/Notifications03.types.d.ts +87 -0
  180. package/dist/onboarding/Onboarding01/Onboarding01.d.cts +3 -0
  181. package/dist/onboarding/Onboarding01/Onboarding01.d.ts +3 -0
  182. package/dist/onboarding/Onboarding01/Onboarding01.types.d.cts +46 -0
  183. package/dist/onboarding/Onboarding01/Onboarding01.types.d.ts +46 -0
  184. package/dist/onboarding/Onboarding02/Onboarding02.d.cts +3 -0
  185. package/dist/onboarding/Onboarding02/Onboarding02.d.ts +3 -0
  186. package/dist/onboarding/Onboarding02/Onboarding02.types.d.cts +68 -0
  187. package/dist/onboarding/Onboarding02/Onboarding02.types.d.ts +68 -0
  188. package/dist/onboarding/Onboarding03/Onboarding03.d.cts +3 -0
  189. package/dist/onboarding/Onboarding03/Onboarding03.d.ts +3 -0
  190. package/dist/onboarding/Onboarding03/Onboarding03.types.d.cts +38 -0
  191. package/dist/onboarding/Onboarding03/Onboarding03.types.d.ts +38 -0
  192. package/dist/page-headings/PageHeading01/PageHeading01.d.cts +6 -0
  193. package/dist/page-headings/PageHeading01/PageHeading01.d.ts +6 -0
  194. package/dist/page-headings/PageHeading01/PageHeading01.types.d.cts +35 -0
  195. package/dist/page-headings/PageHeading01/PageHeading01.types.d.ts +35 -0
  196. package/dist/page-headings/PageHeading02/PageHeading02.d.cts +3 -0
  197. package/dist/page-headings/PageHeading02/PageHeading02.d.ts +3 -0
  198. package/dist/page-headings/PageHeading02/PageHeading02.types.d.cts +49 -0
  199. package/dist/page-headings/PageHeading02/PageHeading02.types.d.ts +49 -0
  200. package/dist/page-headings/PageHeading03/PageHeading03.d.cts +6 -0
  201. package/dist/page-headings/PageHeading03/PageHeading03.d.ts +6 -0
  202. package/dist/page-headings/PageHeading03/PageHeading03.types.d.cts +83 -0
  203. package/dist/page-headings/PageHeading03/PageHeading03.types.d.ts +83 -0
  204. package/dist/section-headings/SectionHeading01/SectionHeading01.d.cts +3 -0
  205. package/dist/section-headings/SectionHeading01/SectionHeading01.d.ts +3 -0
  206. package/dist/section-headings/SectionHeading01/SectionHeading01.types.d.cts +9 -0
  207. package/dist/section-headings/SectionHeading01/SectionHeading01.types.d.ts +9 -0
  208. package/dist/section-headings/SectionHeading02/SectionHeading02.d.cts +3 -0
  209. package/dist/section-headings/SectionHeading02/SectionHeading02.d.ts +3 -0
  210. package/dist/section-headings/SectionHeading02/SectionHeading02.types.d.cts +12 -0
  211. package/dist/section-headings/SectionHeading02/SectionHeading02.types.d.ts +12 -0
  212. package/dist/section-headings/SectionHeading03/SectionHeading03.d.cts +3 -0
  213. package/dist/section-headings/SectionHeading03/SectionHeading03.d.ts +3 -0
  214. package/dist/section-headings/SectionHeading03/SectionHeading03.types.d.cts +12 -0
  215. package/dist/section-headings/SectionHeading03/SectionHeading03.types.d.ts +12 -0
  216. package/dist/settings/Settings01/Settings01.d.cts +3 -0
  217. package/dist/settings/Settings01/Settings01.d.ts +3 -0
  218. package/dist/settings/Settings01/Settings01.types.d.cts +46 -0
  219. package/dist/settings/Settings01/Settings01.types.d.ts +46 -0
  220. package/dist/settings/Settings02/Settings02.d.cts +3 -0
  221. package/dist/settings/Settings02/Settings02.d.ts +3 -0
  222. package/dist/settings/Settings02/Settings02.types.d.cts +45 -0
  223. package/dist/settings/Settings02/Settings02.types.d.ts +45 -0
  224. package/dist/settings/Settings03/Settings03.d.cts +3 -0
  225. package/dist/settings/Settings03/Settings03.d.ts +3 -0
  226. package/dist/settings/Settings03/Settings03.types.d.cts +132 -0
  227. package/dist/settings/Settings03/Settings03.types.d.ts +132 -0
  228. package/dist/settings/Settings04/Settings04.d.cts +3 -0
  229. package/dist/settings/Settings04/Settings04.d.ts +3 -0
  230. package/dist/settings/Settings04/Settings04.types.d.cts +124 -0
  231. package/dist/settings/Settings04/Settings04.types.d.ts +124 -0
  232. package/dist/settings/Settings05/Settings05.d.cts +3 -0
  233. package/dist/settings/Settings05/Settings05.d.ts +3 -0
  234. package/dist/settings/Settings05/Settings05.types.d.cts +94 -0
  235. package/dist/settings/Settings05/Settings05.types.d.ts +94 -0
  236. package/dist/shared/AppWorkspaceItems.d.cts +3 -0
  237. package/dist/shared/AppWorkspaceItems.d.ts +3 -0
  238. package/dist/shared/BlockActions.d.cts +1 -1
  239. package/dist/shared/BlockActions.d.ts +1 -1
  240. package/dist/shared/BlockMenuItems.d.cts +3 -0
  241. package/dist/shared/BlockMenuItems.d.ts +3 -0
  242. package/dist/shared/appShell.d.cts +19 -0
  243. package/dist/shared/appShell.d.ts +19 -0
  244. package/dist/shared/icons.d.cts +59 -13
  245. package/dist/shared/icons.d.ts +59 -13
  246. package/dist/shared/shared.types.d.cts +128 -0
  247. package/dist/shared/shared.types.d.ts +128 -0
  248. package/dist/shared/tableColumns.d.cts +10 -0
  249. package/dist/shared/tableColumns.d.ts +10 -0
  250. package/dist/sign-in/SignIn01/SignIn01.d.cts +3 -0
  251. package/dist/sign-in/SignIn01/SignIn01.d.ts +3 -0
  252. package/dist/sign-in/SignIn01/SignIn01.types.d.cts +52 -0
  253. package/dist/sign-in/SignIn01/SignIn01.types.d.ts +52 -0
  254. package/dist/sign-in/SignIn02/SignIn02.d.cts +3 -0
  255. package/dist/sign-in/SignIn02/SignIn02.d.ts +3 -0
  256. package/dist/sign-in/SignIn02/SignIn02.types.d.cts +79 -0
  257. package/dist/sign-in/SignIn02/SignIn02.types.d.ts +79 -0
  258. package/dist/sign-in/SignIn03/SignIn03.d.cts +3 -0
  259. package/dist/sign-in/SignIn03/SignIn03.d.ts +3 -0
  260. package/dist/sign-in/SignIn03/SignIn03.types.d.cts +51 -0
  261. package/dist/sign-in/SignIn03/SignIn03.types.d.ts +51 -0
  262. package/dist/sign-in/SignIn04/SignIn04.d.cts +3 -0
  263. package/dist/sign-in/SignIn04/SignIn04.d.ts +3 -0
  264. package/dist/sign-in/SignIn04/SignIn04.types.d.cts +56 -0
  265. package/dist/sign-in/SignIn04/SignIn04.types.d.ts +56 -0
  266. package/dist/sign-in/SignIn05/SignIn05.d.cts +3 -0
  267. package/dist/sign-in/SignIn05/SignIn05.d.ts +3 -0
  268. package/dist/sign-in/SignIn05/SignIn05.types.d.cts +86 -0
  269. package/dist/sign-in/SignIn05/SignIn05.types.d.ts +86 -0
  270. package/dist/stats/Stats01/Stats01.d.cts +3 -0
  271. package/dist/stats/Stats01/Stats01.d.ts +3 -0
  272. package/dist/stats/Stats01/Stats01.types.d.cts +19 -0
  273. package/dist/stats/Stats01/Stats01.types.d.ts +19 -0
  274. package/dist/stats/Stats02/Stats02.d.cts +3 -0
  275. package/dist/stats/Stats02/Stats02.d.ts +3 -0
  276. package/dist/stats/Stats02/Stats02.types.d.cts +30 -0
  277. package/dist/stats/Stats02/Stats02.types.d.ts +30 -0
  278. package/dist/stats/Stats03/Stats03.d.cts +3 -0
  279. package/dist/stats/Stats03/Stats03.d.ts +3 -0
  280. package/dist/stats/Stats03/Stats03.types.d.cts +24 -0
  281. package/dist/stats/Stats03/Stats03.types.d.ts +24 -0
  282. package/dist/styles.css +12065 -2457
  283. package/dist/team/Team01/Team01.d.cts +3 -0
  284. package/dist/team/Team01/Team01.d.ts +3 -0
  285. package/dist/team/Team01/Team01.types.d.cts +25 -0
  286. package/dist/team/Team01/Team01.types.d.ts +25 -0
  287. package/dist/team/Team02/Team02.d.cts +3 -0
  288. package/dist/team/Team02/Team02.d.ts +3 -0
  289. package/dist/team/Team02/Team02.types.d.cts +37 -0
  290. package/dist/team/Team02/Team02.types.d.ts +37 -0
  291. package/dist/testimonials/Testimonial01/Testimonial01.d.cts +3 -0
  292. package/dist/testimonials/Testimonial01/Testimonial01.d.ts +3 -0
  293. package/dist/testimonials/Testimonial01/Testimonial01.types.d.cts +21 -0
  294. package/dist/testimonials/Testimonial01/Testimonial01.types.d.ts +21 -0
  295. package/dist/testimonials/Testimonial02/Testimonial02.d.cts +3 -0
  296. package/dist/testimonials/Testimonial02/Testimonial02.d.ts +3 -0
  297. package/dist/testimonials/Testimonial02/Testimonial02.types.d.cts +25 -0
  298. package/dist/testimonials/Testimonial02/Testimonial02.types.d.ts +25 -0
  299. package/dist/testimonials/Testimonial03/Testimonial03.d.cts +3 -0
  300. package/dist/testimonials/Testimonial03/Testimonial03.d.ts +3 -0
  301. package/dist/testimonials/Testimonial03/Testimonial03.types.d.cts +45 -0
  302. package/dist/testimonials/Testimonial03/Testimonial03.types.d.ts +45 -0
  303. package/package.json +2 -2
@@ -0,0 +1,72 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BadgeVariant } from "@openwarelabs/ui";
3
+ import type { BlockAction } from "../../shared/shared.types.cjs";
4
+ /** Whether the list loaded: the error, the spinner while trying again, or the list. */
5
+ export type Empty03Status = "failed" | "loading" | "loaded";
6
+ /** One row of the list, once it loads. */
7
+ export interface Empty03Item {
8
+ /** Tells the rows apart. Defaults to the row's place in the list. */
9
+ id?: string;
10
+ /** A 15px icon in a circle at the start of the row. */
11
+ icon?: ReactNode;
12
+ /** The row's main line. */
13
+ title: ReactNode;
14
+ /** A caption under it: "billing-api · for Tomás Reyes". */
15
+ meta?: ReactNode;
16
+ /** A short figure on the right, such as how long it took. Hidden on phones. */
17
+ time?: ReactNode;
18
+ /** A badge at the end of the row. */
19
+ status?: {
20
+ label: ReactNode;
21
+ tone?: BadgeVariant;
22
+ };
23
+ }
24
+ /** A view of the list in the card's segmented control. */
25
+ export interface Empty03View {
26
+ value: string;
27
+ label: string;
28
+ /** Which rows it shows. Leave it out for all of them. */
29
+ match?(item: Empty03Item): boolean;
30
+ }
31
+ /** The words that aren't content, in English unless you pass your own. */
32
+ export interface Empty03Labels {
33
+ /** @default "Try again" */
34
+ retry?: string;
35
+ /** Beside the spinner. @default "Loading…" */
36
+ loading?: string;
37
+ /** The views' name for screen readers. @default "Show" */
38
+ views?: string;
39
+ /** The list's name for screen readers. Defaults to the card's title. */
40
+ list?: string;
41
+ }
42
+ export interface Empty03Props extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "children"> {
43
+ /** The page's heading: "Agent runs". */
44
+ title: ReactNode;
45
+ /** A sentence under it. */
46
+ description?: ReactNode;
47
+ /** The card's heading: "Today". */
48
+ cardTitle: ReactNode;
49
+ /** Views of the list, as a segmented control in the card's corner. Off until the list loads. */
50
+ views?: Empty03View[];
51
+ /** The rows, once the list loads. */
52
+ items: Empty03Item[];
53
+ /** Whether the list loaded, for controlled use. */
54
+ status?: Empty03Status;
55
+ /** Where it starts, when it isn't controlled.
56
+ * @default "failed" */
57
+ defaultStatus?: Empty03Status;
58
+ /** Runs on Try again: fetch the list again. While its promise is pending the card shows a spinner; once it resolves
59
+ * the list shows, and if it throws the error comes back. */
60
+ onRetry?(): void | Promise<void>;
61
+ /** The error's 20px icon. @default a cloud with a line through it */
62
+ errorIcon?: ReactNode;
63
+ /** What didn't load: "Couldn't load agent runs". */
64
+ errorTitle: ReactNode;
65
+ /** What went wrong, and what still works. */
66
+ errorDescription?: ReactNode;
67
+ /** A status and request ID for support, in code under the description: "504 · req_8f2c41d9". */
68
+ errorDetail?: ReactNode;
69
+ /** A second button beside Try again, such as "Check status". */
70
+ secondaryAction?: BlockAction;
71
+ labels?: Empty03Labels;
72
+ }
@@ -0,0 +1,72 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BadgeVariant } from "@openwarelabs/ui";
3
+ import type { BlockAction } from "../../shared/shared.types.js";
4
+ /** Whether the list loaded: the error, the spinner while trying again, or the list. */
5
+ export type Empty03Status = "failed" | "loading" | "loaded";
6
+ /** One row of the list, once it loads. */
7
+ export interface Empty03Item {
8
+ /** Tells the rows apart. Defaults to the row's place in the list. */
9
+ id?: string;
10
+ /** A 15px icon in a circle at the start of the row. */
11
+ icon?: ReactNode;
12
+ /** The row's main line. */
13
+ title: ReactNode;
14
+ /** A caption under it: "billing-api · for Tomás Reyes". */
15
+ meta?: ReactNode;
16
+ /** A short figure on the right, such as how long it took. Hidden on phones. */
17
+ time?: ReactNode;
18
+ /** A badge at the end of the row. */
19
+ status?: {
20
+ label: ReactNode;
21
+ tone?: BadgeVariant;
22
+ };
23
+ }
24
+ /** A view of the list in the card's segmented control. */
25
+ export interface Empty03View {
26
+ value: string;
27
+ label: string;
28
+ /** Which rows it shows. Leave it out for all of them. */
29
+ match?(item: Empty03Item): boolean;
30
+ }
31
+ /** The words that aren't content, in English unless you pass your own. */
32
+ export interface Empty03Labels {
33
+ /** @default "Try again" */
34
+ retry?: string;
35
+ /** Beside the spinner. @default "Loading…" */
36
+ loading?: string;
37
+ /** The views' name for screen readers. @default "Show" */
38
+ views?: string;
39
+ /** The list's name for screen readers. Defaults to the card's title. */
40
+ list?: string;
41
+ }
42
+ export interface Empty03Props extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "children"> {
43
+ /** The page's heading: "Agent runs". */
44
+ title: ReactNode;
45
+ /** A sentence under it. */
46
+ description?: ReactNode;
47
+ /** The card's heading: "Today". */
48
+ cardTitle: ReactNode;
49
+ /** Views of the list, as a segmented control in the card's corner. Off until the list loads. */
50
+ views?: Empty03View[];
51
+ /** The rows, once the list loads. */
52
+ items: Empty03Item[];
53
+ /** Whether the list loaded, for controlled use. */
54
+ status?: Empty03Status;
55
+ /** Where it starts, when it isn't controlled.
56
+ * @default "failed" */
57
+ defaultStatus?: Empty03Status;
58
+ /** Runs on Try again: fetch the list again. While its promise is pending the card shows a spinner; once it resolves
59
+ * the list shows, and if it throws the error comes back. */
60
+ onRetry?(): void | Promise<void>;
61
+ /** The error's 20px icon. @default a cloud with a line through it */
62
+ errorIcon?: ReactNode;
63
+ /** What didn't load: "Couldn't load agent runs". */
64
+ errorTitle: ReactNode;
65
+ /** What went wrong, and what still works. */
66
+ errorDescription?: ReactNode;
67
+ /** A status and request ID for support, in code under the description: "504 · req_8f2c41d9". */
68
+ errorDetail?: ReactNode;
69
+ /** A second button beside Try again, such as "Check status". */
70
+ secondaryAction?: BlockAction;
71
+ labels?: Empty03Labels;
72
+ }
@@ -0,0 +1,3 @@
1
+ import type { ErrorPage01Props } from "./ErrorPage01.types.cjs";
2
+ /** A 404 on the dot grid: the zero drawn as an empty orbit, a search field, and links to the main places. */
3
+ export declare function ErrorPage01({ brand, helpLink, title, description, places, maxPlaces, onSearch, labels, className, ...props }: ErrorPage01Props): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ErrorPage01Props } from "./ErrorPage01.types.js";
2
+ /** A 404 on the dot grid: the zero drawn as an empty orbit, a search field, and links to the main places. */
3
+ export declare function ErrorPage01({ brand, helpLink, title, description, places, maxPlaces, onSearch, labels, className, ...props }: ErrorPage01Props): import("react").JSX.Element;
@@ -0,0 +1,48 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BlockBrand, BlockLink } from "../../shared/shared.types.cjs";
3
+ /** One of the main places, offered as a way out. */
4
+ export interface ErrorPage01Place {
5
+ /** Its name: "Projects". */
6
+ name: string;
7
+ /** A line under it, hidden on phones: "Every project and its tasks". */
8
+ description?: string;
9
+ /** A 16px icon on a tile, usually from lucide-react. */
10
+ icon?: ReactNode;
11
+ /** Where it goes. */
12
+ href: string;
13
+ /** More words the search finds it by: "tasks issues repositories". */
14
+ keywords?: string;
15
+ }
16
+ /** The words that aren't content, in English unless you pass your own. */
17
+ export interface ErrorPage01Labels {
18
+ /** What the drawn 404 is read out as. @default "Error 404" */
19
+ code?: string;
20
+ /** The logo link's name, when the brand's name alone isn't clear: "Acme overview". */
21
+ home?: string;
22
+ /** The search field's name. @default "Search" */
23
+ search?: string;
24
+ /** @default "Search" */
25
+ placeholder?: string;
26
+ /** The places' name for screen readers. @default "Places to go" */
27
+ places?: string;
28
+ /** Shown when no place matches the search. @default (query) => `Nothing here matches “${query}”. Press Enter to search.` */
29
+ noMatches?(query: string): ReactNode;
30
+ }
31
+ export interface ErrorPage01Props extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "children"> {
32
+ /** The logo and name at the top left, linking home. */
33
+ brand: BlockBrand;
34
+ /** A link at the top right, such as "Help centre". */
35
+ helpLink?: BlockLink;
36
+ /** The page's h1: "This page isn't here". */
37
+ title: ReactNode;
38
+ /** A sentence under it: why, and what to do. */
39
+ description?: ReactNode;
40
+ /** The main places, which the search narrows as you type. */
41
+ places: ErrorPage01Place[];
42
+ /** How many places show at once.
43
+ * @default 4 */
44
+ maxPlaces?: number;
45
+ /** Runs on Enter in the search: search the whole product. */
46
+ onSearch?(query: string): void;
47
+ labels?: ErrorPage01Labels;
48
+ }
@@ -0,0 +1,48 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BlockBrand, BlockLink } from "../../shared/shared.types.js";
3
+ /** One of the main places, offered as a way out. */
4
+ export interface ErrorPage01Place {
5
+ /** Its name: "Projects". */
6
+ name: string;
7
+ /** A line under it, hidden on phones: "Every project and its tasks". */
8
+ description?: string;
9
+ /** A 16px icon on a tile, usually from lucide-react. */
10
+ icon?: ReactNode;
11
+ /** Where it goes. */
12
+ href: string;
13
+ /** More words the search finds it by: "tasks issues repositories". */
14
+ keywords?: string;
15
+ }
16
+ /** The words that aren't content, in English unless you pass your own. */
17
+ export interface ErrorPage01Labels {
18
+ /** What the drawn 404 is read out as. @default "Error 404" */
19
+ code?: string;
20
+ /** The logo link's name, when the brand's name alone isn't clear: "Acme overview". */
21
+ home?: string;
22
+ /** The search field's name. @default "Search" */
23
+ search?: string;
24
+ /** @default "Search" */
25
+ placeholder?: string;
26
+ /** The places' name for screen readers. @default "Places to go" */
27
+ places?: string;
28
+ /** Shown when no place matches the search. @default (query) => `Nothing here matches “${query}”. Press Enter to search.` */
29
+ noMatches?(query: string): ReactNode;
30
+ }
31
+ export interface ErrorPage01Props extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "children"> {
32
+ /** The logo and name at the top left, linking home. */
33
+ brand: BlockBrand;
34
+ /** A link at the top right, such as "Help centre". */
35
+ helpLink?: BlockLink;
36
+ /** The page's h1: "This page isn't here". */
37
+ title: ReactNode;
38
+ /** A sentence under it: why, and what to do. */
39
+ description?: ReactNode;
40
+ /** The main places, which the search narrows as you type. */
41
+ places: ErrorPage01Place[];
42
+ /** How many places show at once.
43
+ * @default 4 */
44
+ maxPlaces?: number;
45
+ /** Runs on Enter in the search: search the whole product. */
46
+ onSearch?(query: string): void;
47
+ labels?: ErrorPage01Labels;
48
+ }
@@ -0,0 +1,3 @@
1
+ import type { ErrorPage02Props } from "./ErrorPage02.types.cjs";
2
+ /** A 500: that it isn't their fault, a button to try again, and an error ID to send to support. */
3
+ export declare function ErrorPage02({ brand, statusLink, badge, title, description, onRetry, homeAction, report, errorId, visual, labels, className, ...props }: ErrorPage02Props): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ErrorPage02Props } from "./ErrorPage02.types.js";
2
+ /** A 500: that it isn't their fault, a button to try again, and an error ID to send to support. */
3
+ export declare function ErrorPage02({ brand, statusLink, badge, title, description, onRetry, homeAction, report, errorId, visual, labels, className, ...props }: ErrorPage02Props): import("react").JSX.Element;
@@ -0,0 +1,45 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BlockAction, BlockBrand, BlockLink } from "../../shared/shared.types.cjs";
3
+ /** The words that aren't content, in English unless you pass your own. */
4
+ export interface ErrorPage02Labels {
5
+ /** The logo link's name, when the brand's name alone isn't clear: "Acme overview". */
6
+ home?: string;
7
+ /** @default "Try again" */
8
+ retry?: string;
9
+ /** The button while it tries. @default "Trying again…" */
10
+ retrying?: string;
11
+ /** The heading over how to report it. @default "If it keeps happening" */
12
+ reportTitle?: string;
13
+ /** @default "Error ID" */
14
+ errorId?: string;
15
+ /** The copy button's name. @default "Copy ID" */
16
+ copy?: string;
17
+ /** Added after `report` once someone has tried more than once. @default (count) => `You've tried ${count} times.` */
18
+ tries?(count: number): string;
19
+ }
20
+ export interface ErrorPage02Props extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "children"> {
21
+ /** The logo and name at the top left, linking home. */
22
+ brand: BlockBrand;
23
+ /** A link to the status page at the top right, with an amber dot: "Some systems slow". */
24
+ statusLink?: BlockLink;
25
+ /** A small red badge above the title: "Error 500". */
26
+ badge?: ReactNode;
27
+ /** The page's h1: "Something went wrong on our side". */
28
+ title: ReactNode;
29
+ /** A sentence or two under it: that it isn't their fault, and that nothing is lost. */
30
+ description?: ReactNode;
31
+ /**
32
+ * Runs on Try again: load the page again. While its promise is pending the button shows a spinner.
33
+ * @default () => window.location.reload()
34
+ */
35
+ onRetry?(): void | Promise<void>;
36
+ /** A second button beside Try again, such as "Go to overview". */
37
+ homeAction?: BlockAction;
38
+ /** How to report it, under the buttons: "Send this error ID to support@example.com…". */
39
+ report?: ReactNode;
40
+ /** The ID to quote to support, in a field with a copy button. */
41
+ errorId?: string;
42
+ /** A drawn picture beside the words, such as the request's path to the step that failed. Hidden below 880px. */
43
+ visual?: ReactNode;
44
+ labels?: ErrorPage02Labels;
45
+ }
@@ -0,0 +1,45 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BlockAction, BlockBrand, BlockLink } from "../../shared/shared.types.js";
3
+ /** The words that aren't content, in English unless you pass your own. */
4
+ export interface ErrorPage02Labels {
5
+ /** The logo link's name, when the brand's name alone isn't clear: "Acme overview". */
6
+ home?: string;
7
+ /** @default "Try again" */
8
+ retry?: string;
9
+ /** The button while it tries. @default "Trying again…" */
10
+ retrying?: string;
11
+ /** The heading over how to report it. @default "If it keeps happening" */
12
+ reportTitle?: string;
13
+ /** @default "Error ID" */
14
+ errorId?: string;
15
+ /** The copy button's name. @default "Copy ID" */
16
+ copy?: string;
17
+ /** Added after `report` once someone has tried more than once. @default (count) => `You've tried ${count} times.` */
18
+ tries?(count: number): string;
19
+ }
20
+ export interface ErrorPage02Props extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "children"> {
21
+ /** The logo and name at the top left, linking home. */
22
+ brand: BlockBrand;
23
+ /** A link to the status page at the top right, with an amber dot: "Some systems slow". */
24
+ statusLink?: BlockLink;
25
+ /** A small red badge above the title: "Error 500". */
26
+ badge?: ReactNode;
27
+ /** The page's h1: "Something went wrong on our side". */
28
+ title: ReactNode;
29
+ /** A sentence or two under it: that it isn't their fault, and that nothing is lost. */
30
+ description?: ReactNode;
31
+ /**
32
+ * Runs on Try again: load the page again. While its promise is pending the button shows a spinner.
33
+ * @default () => window.location.reload()
34
+ */
35
+ onRetry?(): void | Promise<void>;
36
+ /** A second button beside Try again, such as "Go to overview". */
37
+ homeAction?: BlockAction;
38
+ /** How to report it, under the buttons: "Send this error ID to support@example.com…". */
39
+ report?: ReactNode;
40
+ /** The ID to quote to support, in a field with a copy button. */
41
+ errorId?: string;
42
+ /** A drawn picture beside the words, such as the request's path to the step that failed. Hidden below 880px. */
43
+ visual?: ReactNode;
44
+ labels?: ErrorPage02Labels;
45
+ }
@@ -0,0 +1,3 @@
1
+ import type { ErrorPage03Props } from "./ErrorPage03.types.cjs";
2
+ /** A maintenance page: when it'll be back, how the work is going, and a way to hear when it's done. */
3
+ export declare function ErrorPage03({ brand, statusLink, badge, title, description, backTime, backDetail, onCheckAgain, onNotify, steps, currentStep, labels, className, ...props }: ErrorPage03Props): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ErrorPage03Props } from "./ErrorPage03.types.js";
2
+ /** A maintenance page: when it'll be back, how the work is going, and a way to hear when it's done. */
3
+ export declare function ErrorPage03({ brand, statusLink, badge, title, description, backTime, backDetail, onCheckAgain, onNotify, steps, currentStep, labels, className, ...props }: ErrorPage03Props): import("react").JSX.Element;
@@ -0,0 +1,45 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { StepItem } from "@openwarelabs/ui";
3
+ import type { BlockBrand, BlockLink } from "../../shared/shared.types.cjs";
4
+ /** The words that aren't content, in English unless you pass your own. */
5
+ export interface ErrorPage03Labels {
6
+ /** The logo link's name, when the brand's name alone isn't clear: "Acme home". */
7
+ home?: string;
8
+ /** @default "Check again" */
9
+ checkAgain?: string;
10
+ /** The button that asks to hear when it's back. @default "Email me when it's back" */
11
+ notify?: string;
12
+ /** The same button once asked. @default "We'll email you" */
13
+ notified?: string;
14
+ /** The steps' heading. @default "Maintenance plan" */
15
+ steps?: string;
16
+ }
17
+ export interface ErrorPage03Props extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "children"> {
18
+ /** The logo and name at the top left, linking home. */
19
+ brand: BlockBrand;
20
+ /** A link to the status page at the top right, with an arrow: "Status page". */
21
+ statusLink?: BlockLink;
22
+ /** A small amber badge above the title: "Planned maintenance". */
23
+ badge?: ReactNode;
24
+ /** The page's h1: "Acme is down for maintenance". */
25
+ title: ReactNode;
26
+ /** A sentence or two under it: what's happening, and that nothing is lost. */
27
+ description?: ReactNode;
28
+ /** When it'll be back, large beside a clock: "Back by 07:00 CET". */
29
+ backTime?: ReactNode;
30
+ /** A line under it: "Tuesday 14 Oct, about 40 minutes from now". */
31
+ backDetail?: ReactNode;
32
+ /**
33
+ * Runs on Check again: load the page again. While its promise is pending the button shows a spinner.
34
+ * @default () => window.location.reload()
35
+ */
36
+ onCheckAgain?(): void | Promise<void>;
37
+ /** Signs them up to hear when it's back. Without it there's no button for that. */
38
+ onNotify?(): void;
39
+ /** The work, in order, as a list of steps beside the words. */
40
+ steps?: StepItem[];
41
+ /** The index of the step under way; the ones before it are done.
42
+ * @default 0 */
43
+ currentStep?: number;
44
+ labels?: ErrorPage03Labels;
45
+ }
@@ -0,0 +1,45 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { StepItem } from "@openwarelabs/ui";
3
+ import type { BlockBrand, BlockLink } from "../../shared/shared.types.js";
4
+ /** The words that aren't content, in English unless you pass your own. */
5
+ export interface ErrorPage03Labels {
6
+ /** The logo link's name, when the brand's name alone isn't clear: "Acme home". */
7
+ home?: string;
8
+ /** @default "Check again" */
9
+ checkAgain?: string;
10
+ /** The button that asks to hear when it's back. @default "Email me when it's back" */
11
+ notify?: string;
12
+ /** The same button once asked. @default "We'll email you" */
13
+ notified?: string;
14
+ /** The steps' heading. @default "Maintenance plan" */
15
+ steps?: string;
16
+ }
17
+ export interface ErrorPage03Props extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "children"> {
18
+ /** The logo and name at the top left, linking home. */
19
+ brand: BlockBrand;
20
+ /** A link to the status page at the top right, with an arrow: "Status page". */
21
+ statusLink?: BlockLink;
22
+ /** A small amber badge above the title: "Planned maintenance". */
23
+ badge?: ReactNode;
24
+ /** The page's h1: "Acme is down for maintenance". */
25
+ title: ReactNode;
26
+ /** A sentence or two under it: what's happening, and that nothing is lost. */
27
+ description?: ReactNode;
28
+ /** When it'll be back, large beside a clock: "Back by 07:00 CET". */
29
+ backTime?: ReactNode;
30
+ /** A line under it: "Tuesday 14 Oct, about 40 minutes from now". */
31
+ backDetail?: ReactNode;
32
+ /**
33
+ * Runs on Check again: load the page again. While its promise is pending the button shows a spinner.
34
+ * @default () => window.location.reload()
35
+ */
36
+ onCheckAgain?(): void | Promise<void>;
37
+ /** Signs them up to hear when it's back. Without it there's no button for that. */
38
+ onNotify?(): void;
39
+ /** The work, in order, as a list of steps beside the words. */
40
+ steps?: StepItem[];
41
+ /** The index of the step under way; the ones before it are done.
42
+ * @default 0 */
43
+ currentStep?: number;
44
+ labels?: ErrorPage03Labels;
45
+ }
@@ -0,0 +1,3 @@
1
+ import type { Faq01Props } from "./Faq01.types.cjs";
2
+ /** Questions in an accordion that opens one at a time, under a centred heading. */
3
+ export declare function Faq01({ eyebrow, title, description, questions, defaultOpen, note, className, ...props }: Faq01Props): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { Faq01Props } from "./Faq01.types.js";
2
+ /** Questions in an accordion that opens one at a time, under a centred heading. */
3
+ export declare function Faq01({ eyebrow, title, description, questions, defaultOpen, note, className, ...props }: Faq01Props): import("react").JSX.Element;
@@ -0,0 +1,23 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface Faq01Question {
3
+ /** Names it for `defaultOpen`. @default its index, as a string */
4
+ id?: string;
5
+ /** The question, as the row's title. */
6
+ question: ReactNode;
7
+ /** The answer, shown when the row is open. */
8
+ answer: ReactNode;
9
+ }
10
+ export interface Faq01Props extends Omit<HTMLAttributes<HTMLElement>, "title" | "children"> {
11
+ /** A small line in a Chip above the title, such as "FAQ". */
12
+ eyebrow?: ReactNode;
13
+ /** The section's heading, centred. */
14
+ title: ReactNode;
15
+ /** A sentence under the title. */
16
+ description?: ReactNode;
17
+ /** The questions, in an accordion that opens one at a time. */
18
+ questions: Faq01Question[];
19
+ /** The question open at first, by id (or index). @default the first */
20
+ defaultOpen?: string[];
21
+ /** A line under the questions, such as where to ask one that isn't there, with links. */
22
+ note?: ReactNode;
23
+ }
@@ -0,0 +1,23 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface Faq01Question {
3
+ /** Names it for `defaultOpen`. @default its index, as a string */
4
+ id?: string;
5
+ /** The question, as the row's title. */
6
+ question: ReactNode;
7
+ /** The answer, shown when the row is open. */
8
+ answer: ReactNode;
9
+ }
10
+ export interface Faq01Props extends Omit<HTMLAttributes<HTMLElement>, "title" | "children"> {
11
+ /** A small line in a Chip above the title, such as "FAQ". */
12
+ eyebrow?: ReactNode;
13
+ /** The section's heading, centred. */
14
+ title: ReactNode;
15
+ /** A sentence under the title. */
16
+ description?: ReactNode;
17
+ /** The questions, in an accordion that opens one at a time. */
18
+ questions: Faq01Question[];
19
+ /** The question open at first, by id (or index). @default the first */
20
+ defaultOpen?: string[];
21
+ /** A line under the questions, such as where to ask one that isn't there, with links. */
22
+ note?: ReactNode;
23
+ }
@@ -0,0 +1,3 @@
1
+ import type { Faq02Props } from "./Faq02.types.cjs";
2
+ /** A heading on the left, the questions on the right. */
3
+ export declare function Faq02({ eyebrow, title, description, links, questions, defaultOpen, className, ...props }: Faq02Props): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { Faq02Props } from "./Faq02.types.js";
2
+ /** A heading on the left, the questions on the right. */
3
+ export declare function Faq02({ eyebrow, title, description, links, questions, defaultOpen, className, ...props }: Faq02Props): import("react").JSX.Element;
@@ -0,0 +1,24 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BlockLink } from "../../shared/shared.types.cjs";
3
+ export interface Faq02Question {
4
+ /** Names it for `defaultOpen`. @default its index, as a string */
5
+ id?: string;
6
+ /** The question, as the row's title. */
7
+ question: ReactNode;
8
+ /** The answer, shown when the row is open. */
9
+ answer: ReactNode;
10
+ }
11
+ export interface Faq02Props extends Omit<HTMLAttributes<HTMLElement>, "title" | "children"> {
12
+ /** A small line in a Chip above the title, such as "FAQ". */
13
+ eyebrow?: ReactNode;
14
+ /** The section's heading, on the left, staying in view while the questions scroll past. */
15
+ title: ReactNode;
16
+ /** A sentence or two under the title. */
17
+ description?: ReactNode;
18
+ /** Links under the heading, each with an arrow: "Contact support", "Read the docs". */
19
+ links?: BlockLink[];
20
+ /** The questions, on the right, between hairlines; several can be open at once. */
21
+ questions: Faq02Question[];
22
+ /** The questions open at first, by id (or index). @default the first */
23
+ defaultOpen?: string[];
24
+ }
@@ -0,0 +1,24 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BlockLink } from "../../shared/shared.types.js";
3
+ export interface Faq02Question {
4
+ /** Names it for `defaultOpen`. @default its index, as a string */
5
+ id?: string;
6
+ /** The question, as the row's title. */
7
+ question: ReactNode;
8
+ /** The answer, shown when the row is open. */
9
+ answer: ReactNode;
10
+ }
11
+ export interface Faq02Props extends Omit<HTMLAttributes<HTMLElement>, "title" | "children"> {
12
+ /** A small line in a Chip above the title, such as "FAQ". */
13
+ eyebrow?: ReactNode;
14
+ /** The section's heading, on the left, staying in view while the questions scroll past. */
15
+ title: ReactNode;
16
+ /** A sentence or two under the title. */
17
+ description?: ReactNode;
18
+ /** Links under the heading, each with an arrow: "Contact support", "Read the docs". */
19
+ links?: BlockLink[];
20
+ /** The questions, on the right, between hairlines; several can be open at once. */
21
+ questions: Faq02Question[];
22
+ /** The questions open at first, by id (or index). @default the first */
23
+ defaultOpen?: string[];
24
+ }
@@ -0,0 +1,3 @@
1
+ import type { Faq03Props } from "./Faq03.types.cjs";
2
+ /** Every question answered in two columns, and a card for anything they don't cover. */
3
+ export declare function Faq03({ eyebrow, title, description, questions, contact, className, ...props }: Faq03Props): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { Faq03Props } from "./Faq03.types.js";
2
+ /** Every question answered in two columns, and a card for anything they don't cover. */
3
+ export declare function Faq03({ eyebrow, title, description, questions, contact, className, ...props }: Faq03Props): import("react").JSX.Element;
@@ -0,0 +1,42 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { BlockAction } from "../../shared/shared.types.cjs";
3
+ export interface Faq03Question {
4
+ /** The question, as a small title. */
5
+ question: ReactNode;
6
+ /** The answer, always on show under it. */
7
+ answer: ReactNode;
8
+ }
9
+ export interface Faq03Person {
10
+ /** Their name, for their avatar's initials. */
11
+ name: string;
12
+ /** A photo of them, as an image URL. */
13
+ avatar?: string;
14
+ }
15
+ export interface Faq03Contact {
16
+ /** The card's title: "Still have a question?". */
17
+ title: ReactNode;
18
+ /** A sentence on who answers and how. */
19
+ description?: ReactNode;
20
+ /** A small line after a green dot, such as how quickly they reply. */
21
+ status?: ReactNode;
22
+ /** The people who answer, as overlapping avatars on the left. */
23
+ people?: Faq03Person[];
24
+ /** Names the avatars for screen readers: "Lena, Omar and Aiko from support". */
25
+ peopleLabel?: string;
26
+ /** The main way to get in touch, as a primary pill button. */
27
+ primaryAction: BlockAction;
28
+ /** A second way, beside it. */
29
+ secondaryAction?: BlockAction;
30
+ }
31
+ export interface Faq03Props extends Omit<HTMLAttributes<HTMLElement>, "title" | "children"> {
32
+ /** A small line in a Chip above the title, such as "FAQ". */
33
+ eyebrow?: ReactNode;
34
+ /** The section's heading. */
35
+ title: ReactNode;
36
+ /** A sentence or two under the title. */
37
+ description?: ReactNode;
38
+ /** The questions, every answer on show, two to a row (one on phones). */
39
+ questions: Faq03Question[];
40
+ /** A card under the questions for anything they don't cover. */
41
+ contact?: Faq03Contact;
42
+ }