@bodhan-ai/react 0.0.0-stage → 0.2.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 (391) hide show
  1. package/LICENSE +5 -0
  2. package/README.md +73 -2
  3. package/dist/components/Accordion/Accordion.d.ts +56 -0
  4. package/dist/components/Accordion/Accordion.js +91 -0
  5. package/dist/components/Accordion/Accordion.js.map +1 -0
  6. package/dist/components/Account/Account.d.ts +20 -0
  7. package/dist/components/Account/Account.js +39 -0
  8. package/dist/components/Account/Account.js.map +1 -0
  9. package/dist/components/ActionSheet/ActionSheet.d.ts +36 -0
  10. package/dist/components/ActionSheet/ActionSheet.js +93 -0
  11. package/dist/components/ActionSheet/ActionSheet.js.map +1 -0
  12. package/dist/components/ActivityPill/ActivityPill.d.ts +27 -0
  13. package/dist/components/ActivityPill/ActivityPill.js +75 -0
  14. package/dist/components/ActivityPill/ActivityPill.js.map +1 -0
  15. package/dist/components/AgentStatus/AgentStatus.d.ts +23 -0
  16. package/dist/components/AgentStatus/AgentStatus.js +83 -0
  17. package/dist/components/AgentStatus/AgentStatus.js.map +1 -0
  18. package/dist/components/AgentTask/AgentTask.d.ts +41 -0
  19. package/dist/components/AgentTask/AgentTask.js +159 -0
  20. package/dist/components/AgentTask/AgentTask.js.map +1 -0
  21. package/dist/components/Alert/Alert.d.ts +34 -0
  22. package/dist/components/Alert/Alert.js +83 -0
  23. package/dist/components/Alert/Alert.js.map +1 -0
  24. package/dist/components/AnswerOption/AnswerOption.d.ts +26 -0
  25. package/dist/components/AnswerOption/AnswerOption.js +57 -0
  26. package/dist/components/AnswerOption/AnswerOption.js.map +1 -0
  27. package/dist/components/AudioPlayer/AudioPlayer.d.ts +39 -0
  28. package/dist/components/AudioPlayer/AudioPlayer.js +172 -0
  29. package/dist/components/AudioPlayer/AudioPlayer.js.map +1 -0
  30. package/dist/components/Avatar/Avatar.d.ts +34 -0
  31. package/dist/components/Avatar/Avatar.js +133 -0
  32. package/dist/components/Avatar/Avatar.js.map +1 -0
  33. package/dist/components/AvatarGroup/AvatarGroup.d.ts +24 -0
  34. package/dist/components/AvatarGroup/AvatarGroup.js +40 -0
  35. package/dist/components/AvatarGroup/AvatarGroup.js.map +1 -0
  36. package/dist/components/Badge/Badge.d.ts +22 -0
  37. package/dist/components/Badge/Badge.js +23 -0
  38. package/dist/components/Badge/Badge.js.map +1 -0
  39. package/dist/components/Banner/Banner.d.ts +36 -0
  40. package/dist/components/Banner/Banner.js +81 -0
  41. package/dist/components/Banner/Banner.js.map +1 -0
  42. package/dist/components/BarChart/BarChart.d.ts +42 -0
  43. package/dist/components/BarChart/BarChart.js +221 -0
  44. package/dist/components/BarChart/BarChart.js.map +1 -0
  45. package/dist/components/BodhanLogo/BodhanLogo.d.ts +17 -0
  46. package/dist/components/BodhanLogo/BodhanLogo.js +32 -0
  47. package/dist/components/BodhanLogo/BodhanLogo.js.map +1 -0
  48. package/dist/components/BodhanLogo/logos.d.ts +5 -0
  49. package/dist/components/BodhanLogo/logos.js +31 -0
  50. package/dist/components/BodhanLogo/logos.js.map +1 -0
  51. package/dist/components/BottomAppBar/BottomAppBar.d.ts +33 -0
  52. package/dist/components/BottomAppBar/BottomAppBar.js +86 -0
  53. package/dist/components/BottomAppBar/BottomAppBar.js.map +1 -0
  54. package/dist/components/BottomSheet/BottomSheet.d.ts +66 -0
  55. package/dist/components/BottomSheet/BottomSheet.js +165 -0
  56. package/dist/components/BottomSheet/BottomSheet.js.map +1 -0
  57. package/dist/components/Breadcrumb/Breadcrumb.d.ts +47 -0
  58. package/dist/components/Breadcrumb/Breadcrumb.js +102 -0
  59. package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -0
  60. package/dist/components/Button/Button.d.ts +30 -0
  61. package/dist/components/Button/Button.js +40 -0
  62. package/dist/components/Button/Button.js.map +1 -0
  63. package/dist/components/ButtonGroup/ButtonGroup.d.ts +34 -0
  64. package/dist/components/ButtonGroup/ButtonGroup.js +47 -0
  65. package/dist/components/ButtonGroup/ButtonGroup.js.map +1 -0
  66. package/dist/components/Calendar/Calendar.d.ts +111 -0
  67. package/dist/components/Calendar/Calendar.js +338 -0
  68. package/dist/components/Calendar/Calendar.js.map +1 -0
  69. package/dist/components/CameraCapture/CameraCapture.d.ts +22 -0
  70. package/dist/components/CameraCapture/CameraCapture.js +155 -0
  71. package/dist/components/CameraCapture/CameraCapture.js.map +1 -0
  72. package/dist/components/Card/Card.d.ts +50 -0
  73. package/dist/components/Card/Card.js +120 -0
  74. package/dist/components/Card/Card.js.map +1 -0
  75. package/dist/components/Carousel/Carousel.d.ts +51 -0
  76. package/dist/components/Carousel/Carousel.js +152 -0
  77. package/dist/components/Carousel/Carousel.js.map +1 -0
  78. package/dist/components/Celebration/Celebration.d.ts +23 -0
  79. package/dist/components/Celebration/Celebration.js +93 -0
  80. package/dist/components/Celebration/Celebration.js.map +1 -0
  81. package/dist/components/ChartStatus/ChartStatus.d.ts +54 -0
  82. package/dist/components/ChartStatus/ChartStatus.js +144 -0
  83. package/dist/components/ChartStatus/ChartStatus.js.map +1 -0
  84. package/dist/components/ChatArtifact/ChatArtifact.d.ts +23 -0
  85. package/dist/components/ChatArtifact/ChatArtifact.js +91 -0
  86. package/dist/components/ChatArtifact/ChatArtifact.js.map +1 -0
  87. package/dist/components/ChatBubble/ChatBubble.d.ts +26 -0
  88. package/dist/components/ChatBubble/ChatBubble.js +57 -0
  89. package/dist/components/ChatBubble/ChatBubble.js.map +1 -0
  90. package/dist/components/ChatContent/ChatContent.d.ts +23 -0
  91. package/dist/components/ChatContent/ChatContent.js +333 -0
  92. package/dist/components/ChatContent/ChatContent.js.map +1 -0
  93. package/dist/components/Checkbox/Checkbox.d.ts +29 -0
  94. package/dist/components/Checkbox/Checkbox.js +58 -0
  95. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  96. package/dist/components/Chip/Chip.d.ts +28 -0
  97. package/dist/components/Chip/Chip.js +48 -0
  98. package/dist/components/Chip/Chip.js.map +1 -0
  99. package/dist/components/CircularLoader/CircularLoader.d.ts +12 -0
  100. package/dist/components/CircularLoader/CircularLoader.js +36 -0
  101. package/dist/components/CircularLoader/CircularLoader.js.map +1 -0
  102. package/dist/components/ColorSwatch/ColorSwatch.d.ts +14 -0
  103. package/dist/components/ColorSwatch/ColorSwatch.js +30 -0
  104. package/dist/components/ColorSwatch/ColorSwatch.js.map +1 -0
  105. package/dist/components/Combobox/Combobox.d.ts +40 -0
  106. package/dist/components/Combobox/Combobox.js +167 -0
  107. package/dist/components/Combobox/Combobox.js.map +1 -0
  108. package/dist/components/CommandPalette/CommandPalette.d.ts +48 -0
  109. package/dist/components/CommandPalette/CommandPalette.js +235 -0
  110. package/dist/components/CommandPalette/CommandPalette.js.map +1 -0
  111. package/dist/components/ContextMenu/ContextMenu.d.ts +31 -0
  112. package/dist/components/ContextMenu/ContextMenu.js +138 -0
  113. package/dist/components/ContextMenu/ContextMenu.js.map +1 -0
  114. package/dist/components/DateField/DateField.d.ts +28 -0
  115. package/dist/components/DateField/DateField.js +134 -0
  116. package/dist/components/DateField/DateField.js.map +1 -0
  117. package/dist/components/DigitField/DigitField.d.ts +16 -0
  118. package/dist/components/DigitField/DigitField.js +27 -0
  119. package/dist/components/DigitField/DigitField.js.map +1 -0
  120. package/dist/components/Divider/Divider.d.ts +19 -0
  121. package/dist/components/Divider/Divider.js +22 -0
  122. package/dist/components/Divider/Divider.js.map +1 -0
  123. package/dist/components/DottedLoader/DottedLoader.d.ts +15 -0
  124. package/dist/components/DottedLoader/DottedLoader.js +36 -0
  125. package/dist/components/DottedLoader/DottedLoader.js.map +1 -0
  126. package/dist/components/DoughnutChart/DoughnutChart.d.ts +16 -0
  127. package/dist/components/DoughnutChart/DoughnutChart.js +31 -0
  128. package/dist/components/DoughnutChart/DoughnutChart.js.map +1 -0
  129. package/dist/components/Drawer/Drawer.d.ts +39 -0
  130. package/dist/components/Drawer/Drawer.js +109 -0
  131. package/dist/components/Drawer/Drawer.js.map +1 -0
  132. package/dist/components/DropdownMenu/DropdownMenu.d.ts +79 -0
  133. package/dist/components/DropdownMenu/DropdownMenu.js +262 -0
  134. package/dist/components/DropdownMenu/DropdownMenu.js.map +1 -0
  135. package/dist/components/DropdownMenuCheckbox/DropdownMenuCheckbox.d.ts +46 -0
  136. package/dist/components/DropdownMenuCheckbox/DropdownMenuCheckbox.js +75 -0
  137. package/dist/components/DropdownMenuCheckbox/DropdownMenuCheckbox.js.map +1 -0
  138. package/dist/components/EmptyState/EmptyState.d.ts +34 -0
  139. package/dist/components/EmptyState/EmptyState.js +53 -0
  140. package/dist/components/EmptyState/EmptyState.js.map +1 -0
  141. package/dist/components/FAB/FAB.d.ts +19 -0
  142. package/dist/components/FAB/FAB.js +27 -0
  143. package/dist/components/FAB/FAB.js.map +1 -0
  144. package/dist/components/FABMenu/FABMenu.d.ts +25 -0
  145. package/dist/components/FABMenu/FABMenu.js +95 -0
  146. package/dist/components/FABMenu/FABMenu.js.map +1 -0
  147. package/dist/components/FeedbackReasons/FeedbackReasons.d.ts +19 -0
  148. package/dist/components/FeedbackReasons/FeedbackReasons.js +62 -0
  149. package/dist/components/FeedbackReasons/FeedbackReasons.js.map +1 -0
  150. package/dist/components/FileUpload/FileUpload.d.ts +88 -0
  151. package/dist/components/FileUpload/FileUpload.js +199 -0
  152. package/dist/components/FileUpload/FileUpload.js.map +1 -0
  153. package/dist/components/FlashcardStack/FlashcardStack.d.ts +37 -0
  154. package/dist/components/FlashcardStack/FlashcardStack.js +237 -0
  155. package/dist/components/FlashcardStack/FlashcardStack.js.map +1 -0
  156. package/dist/components/HandoffCard/HandoffCard.d.ts +25 -0
  157. package/dist/components/HandoffCard/HandoffCard.js +80 -0
  158. package/dist/components/HandoffCard/HandoffCard.js.map +1 -0
  159. package/dist/components/HomeIndicator/HomeIndicator.d.ts +12 -0
  160. package/dist/components/HomeIndicator/HomeIndicator.js +20 -0
  161. package/dist/components/HomeIndicator/HomeIndicator.js.map +1 -0
  162. package/dist/components/Icon/Icon.d.ts +15 -0
  163. package/dist/components/Icon/Icon.js +24 -0
  164. package/dist/components/Icon/Icon.js.map +1 -0
  165. package/dist/components/IconButton/IconButton.d.ts +29 -0
  166. package/dist/components/IconButton/IconButton.js +33 -0
  167. package/dist/components/IconButton/IconButton.js.map +1 -0
  168. package/dist/components/Illustration/Illustration.d.ts +22 -0
  169. package/dist/components/Illustration/Illustration.js +37 -0
  170. package/dist/components/Illustration/Illustration.js.map +1 -0
  171. package/dist/components/Illustration/illustrations.d.ts +5 -0
  172. package/dist/components/Illustration/illustrations.js +266 -0
  173. package/dist/components/Illustration/illustrations.js.map +1 -0
  174. package/dist/components/ImageViewer/ImageViewer.d.ts +31 -0
  175. package/dist/components/ImageViewer/ImageViewer.js +132 -0
  176. package/dist/components/ImageViewer/ImageViewer.js.map +1 -0
  177. package/dist/components/InkPad/InkPad.d.ts +27 -0
  178. package/dist/components/InkPad/InkPad.js +205 -0
  179. package/dist/components/InkPad/InkPad.js.map +1 -0
  180. package/dist/components/Input/Input.d.ts +42 -0
  181. package/dist/components/Input/Input.js +104 -0
  182. package/dist/components/Input/Input.js.map +1 -0
  183. package/dist/components/LearningCard/LearningCard.d.ts +32 -0
  184. package/dist/components/LearningCard/LearningCard.js +116 -0
  185. package/dist/components/LearningCard/LearningCard.js.map +1 -0
  186. package/dist/components/Legend/Legend.d.ts +30 -0
  187. package/dist/components/Legend/Legend.js +48 -0
  188. package/dist/components/Legend/Legend.js.map +1 -0
  189. package/dist/components/LineChart/LineChart.d.ts +33 -0
  190. package/dist/components/LineChart/LineChart.js +139 -0
  191. package/dist/components/LineChart/LineChart.js.map +1 -0
  192. package/dist/components/Link/Link.d.ts +16 -0
  193. package/dist/components/Link/Link.js +30 -0
  194. package/dist/components/Link/Link.js.map +1 -0
  195. package/dist/components/ListGroup/ListGroup.d.ts +18 -0
  196. package/dist/components/ListGroup/ListGroup.js +42 -0
  197. package/dist/components/ListGroup/ListGroup.js.map +1 -0
  198. package/dist/components/ListItem/ListItem.d.ts +40 -0
  199. package/dist/components/ListItem/ListItem.js +132 -0
  200. package/dist/components/ListItem/ListItem.js.map +1 -0
  201. package/dist/components/MascotBodhanBird/MascotBodhanBird.d.ts +14 -0
  202. package/dist/components/MascotBodhanBird/MascotBodhanBird.js +124 -0
  203. package/dist/components/MascotBodhanBird/MascotBodhanBird.js.map +1 -0
  204. package/dist/components/Message/Message.d.ts +15 -0
  205. package/dist/components/Message/Message.js +52 -0
  206. package/dist/components/Message/Message.js.map +1 -0
  207. package/dist/components/Modal/Modal.d.ts +54 -0
  208. package/dist/components/Modal/Modal.js +152 -0
  209. package/dist/components/Modal/Modal.js.map +1 -0
  210. package/dist/components/MultiSelect/MultiSelect.d.ts +62 -0
  211. package/dist/components/MultiSelect/MultiSelect.js +282 -0
  212. package/dist/components/MultiSelect/MultiSelect.js.map +1 -0
  213. package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +35 -0
  214. package/dist/components/NavigationDrawer/NavigationDrawer.js +107 -0
  215. package/dist/components/NavigationDrawer/NavigationDrawer.js.map +1 -0
  216. package/dist/components/NavigationItem/NavigationItem.d.ts +16 -0
  217. package/dist/components/NavigationItem/NavigationItem.js +34 -0
  218. package/dist/components/NavigationItem/NavigationItem.js.map +1 -0
  219. package/dist/components/NavigationRail/NavigationRail.d.ts +39 -0
  220. package/dist/components/NavigationRail/NavigationRail.js +100 -0
  221. package/dist/components/NavigationRail/NavigationRail.js.map +1 -0
  222. package/dist/components/NumberStepper/NumberStepper.d.ts +23 -0
  223. package/dist/components/NumberStepper/NumberStepper.js +84 -0
  224. package/dist/components/NumberStepper/NumberStepper.js.map +1 -0
  225. package/dist/components/OTPInput/OTPInput.d.ts +42 -0
  226. package/dist/components/OTPInput/OTPInput.js +122 -0
  227. package/dist/components/OTPInput/OTPInput.js.map +1 -0
  228. package/dist/components/Pagination/Pagination.d.ts +50 -0
  229. package/dist/components/Pagination/Pagination.js +122 -0
  230. package/dist/components/Pagination/Pagination.js.map +1 -0
  231. package/dist/components/PermissionSheet/PermissionSheet.d.ts +31 -0
  232. package/dist/components/PermissionSheet/PermissionSheet.js +113 -0
  233. package/dist/components/PermissionSheet/PermissionSheet.js.map +1 -0
  234. package/dist/components/PieChart/PieChart.d.ts +9 -0
  235. package/dist/components/PieChart/PieChart.js +19 -0
  236. package/dist/components/PieChart/PieChart.js.map +1 -0
  237. package/dist/components/PieChart/PieCore.d.ts +35 -0
  238. package/dist/components/PieChart/PieCore.js +128 -0
  239. package/dist/components/PieChart/PieCore.js.map +1 -0
  240. package/dist/components/Popover/Popover.d.ts +94 -0
  241. package/dist/components/Popover/Popover.js +324 -0
  242. package/dist/components/Popover/Popover.js.map +1 -0
  243. package/dist/components/Progress/Progress.d.ts +27 -0
  244. package/dist/components/Progress/Progress.js +77 -0
  245. package/dist/components/Progress/Progress.js.map +1 -0
  246. package/dist/components/PromptStarter/PromptStarter.d.ts +16 -0
  247. package/dist/components/PromptStarter/PromptStarter.js +33 -0
  248. package/dist/components/PromptStarter/PromptStarter.js.map +1 -0
  249. package/dist/components/Promptbox/Promptbox.d.ts +109 -0
  250. package/dist/components/Promptbox/Promptbox.js +469 -0
  251. package/dist/components/Promptbox/Promptbox.js.map +1 -0
  252. package/dist/components/Question/Question.d.ts +55 -0
  253. package/dist/components/Question/Question.js +161 -0
  254. package/dist/components/Question/Question.js.map +1 -0
  255. package/dist/components/RadioButton/RadioButton.d.ts +28 -0
  256. package/dist/components/RadioButton/RadioButton.js +43 -0
  257. package/dist/components/RadioButton/RadioButton.js.map +1 -0
  258. package/dist/components/Rating/Rating.d.ts +25 -0
  259. package/dist/components/Rating/Rating.js +79 -0
  260. package/dist/components/Rating/Rating.js.map +1 -0
  261. package/dist/components/ReadAloud/ReadAloud.d.ts +24 -0
  262. package/dist/components/ReadAloud/ReadAloud.js +76 -0
  263. package/dist/components/ReadAloud/ReadAloud.js.map +1 -0
  264. package/dist/components/RecommendationCard/RecommendationCard.d.ts +28 -0
  265. package/dist/components/RecommendationCard/RecommendationCard.js +78 -0
  266. package/dist/components/RecommendationCard/RecommendationCard.js.map +1 -0
  267. package/dist/components/ResizablePanel/ResizablePanel.d.ts +32 -0
  268. package/dist/components/ResizablePanel/ResizablePanel.js +102 -0
  269. package/dist/components/ResizablePanel/ResizablePanel.js.map +1 -0
  270. package/dist/components/ResizeHandle/ResizeHandle.d.ts +32 -0
  271. package/dist/components/ResizeHandle/ResizeHandle.js +61 -0
  272. package/dist/components/ResizeHandle/ResizeHandle.js.map +1 -0
  273. package/dist/components/ResultsSummary/ResultsSummary.d.ts +37 -0
  274. package/dist/components/ResultsSummary/ResultsSummary.js +121 -0
  275. package/dist/components/ResultsSummary/ResultsSummary.js.map +1 -0
  276. package/dist/components/ScoreCounter/ScoreCounter.d.ts +18 -0
  277. package/dist/components/ScoreCounter/ScoreCounter.js +78 -0
  278. package/dist/components/ScoreCounter/ScoreCounter.js.map +1 -0
  279. package/dist/components/ScreenTemplate/ScreenTemplate.d.ts +30 -0
  280. package/dist/components/ScreenTemplate/ScreenTemplate.js +88 -0
  281. package/dist/components/ScreenTemplate/ScreenTemplate.js.map +1 -0
  282. package/dist/components/ScrollEdgeEffect/ScrollEdgeEffect.d.ts +15 -0
  283. package/dist/components/ScrollEdgeEffect/ScrollEdgeEffect.js +20 -0
  284. package/dist/components/ScrollEdgeEffect/ScrollEdgeEffect.js.map +1 -0
  285. package/dist/components/Search/Search.d.ts +33 -0
  286. package/dist/components/Search/Search.js +74 -0
  287. package/dist/components/Search/Search.js.map +1 -0
  288. package/dist/components/SearchView/SearchView.d.ts +36 -0
  289. package/dist/components/SearchView/SearchView.js +124 -0
  290. package/dist/components/SearchView/SearchView.js.map +1 -0
  291. package/dist/components/SegmentedControl/SegmentedControl.d.ts +63 -0
  292. package/dist/components/SegmentedControl/SegmentedControl.js +164 -0
  293. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -0
  294. package/dist/components/Select/Select.d.ts +49 -0
  295. package/dist/components/Select/Select.js +143 -0
  296. package/dist/components/Select/Select.js.map +1 -0
  297. package/dist/components/Sidebar/Sidebar.d.ts +78 -0
  298. package/dist/components/Sidebar/Sidebar.js +167 -0
  299. package/dist/components/Sidebar/Sidebar.js.map +1 -0
  300. package/dist/components/Skeleton/Skeleton.d.ts +25 -0
  301. package/dist/components/Skeleton/Skeleton.js +26 -0
  302. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  303. package/dist/components/Slider/Slider.d.ts +39 -0
  304. package/dist/components/Slider/Slider.js +83 -0
  305. package/dist/components/Slider/Slider.js.map +1 -0
  306. package/dist/components/Snackbar/Snackbar.d.ts +38 -0
  307. package/dist/components/Snackbar/Snackbar.js +103 -0
  308. package/dist/components/Snackbar/Snackbar.js.map +1 -0
  309. package/dist/components/SourcePanel/SourcePanel.d.ts +20 -0
  310. package/dist/components/SourcePanel/SourcePanel.js +82 -0
  311. package/dist/components/SourcePanel/SourcePanel.js.map +1 -0
  312. package/dist/components/StatTile/StatTile.d.ts +22 -0
  313. package/dist/components/StatTile/StatTile.js +71 -0
  314. package/dist/components/StatTile/StatTile.js.map +1 -0
  315. package/dist/components/StatusBar/StatusBar.d.ts +18 -0
  316. package/dist/components/StatusBar/StatusBar.js +131 -0
  317. package/dist/components/StatusBar/StatusBar.js.map +1 -0
  318. package/dist/components/Stepper/Stepper.d.ts +50 -0
  319. package/dist/components/Stepper/Stepper.js +99 -0
  320. package/dist/components/Stepper/Stepper.js.map +1 -0
  321. package/dist/components/SuggestionCard/SuggestionCard.d.ts +22 -0
  322. package/dist/components/SuggestionCard/SuggestionCard.js +74 -0
  323. package/dist/components/SuggestionCard/SuggestionCard.js.map +1 -0
  324. package/dist/components/Switch/Switch.d.ts +35 -0
  325. package/dist/components/Switch/Switch.js +54 -0
  326. package/dist/components/Switch/Switch.js.map +1 -0
  327. package/dist/components/SystemNavigationBar/SystemNavigationBar.d.ts +16 -0
  328. package/dist/components/SystemNavigationBar/SystemNavigationBar.js +54 -0
  329. package/dist/components/SystemNavigationBar/SystemNavigationBar.js.map +1 -0
  330. package/dist/components/TabBar/TabBar.d.ts +101 -0
  331. package/dist/components/TabBar/TabBar.js +287 -0
  332. package/dist/components/TabBar/TabBar.js.map +1 -0
  333. package/dist/components/Table/Table.d.ts +135 -0
  334. package/dist/components/Table/Table.js +323 -0
  335. package/dist/components/Table/Table.js.map +1 -0
  336. package/dist/components/Tabs/Tabs.d.ts +61 -0
  337. package/dist/components/Tabs/Tabs.js +179 -0
  338. package/dist/components/Tabs/Tabs.js.map +1 -0
  339. package/dist/components/Tag/Tag.d.ts +37 -0
  340. package/dist/components/Tag/Tag.js +56 -0
  341. package/dist/components/Tag/Tag.js.map +1 -0
  342. package/dist/components/Textarea/Textarea.d.ts +37 -0
  343. package/dist/components/Textarea/Textarea.js +77 -0
  344. package/dist/components/Textarea/Textarea.js.map +1 -0
  345. package/dist/components/Tile/Tile.d.ts +31 -0
  346. package/dist/components/Tile/Tile.js +70 -0
  347. package/dist/components/Tile/Tile.js.map +1 -0
  348. package/dist/components/TimePicker/TimePicker.d.ts +43 -0
  349. package/dist/components/TimePicker/TimePicker.js +186 -0
  350. package/dist/components/TimePicker/TimePicker.js.map +1 -0
  351. package/dist/components/Toast/Toast.d.ts +42 -0
  352. package/dist/components/Toast/Toast.js +115 -0
  353. package/dist/components/Toast/Toast.js.map +1 -0
  354. package/dist/components/Toolbar/Toolbar.d.ts +22 -0
  355. package/dist/components/Toolbar/Toolbar.js +52 -0
  356. package/dist/components/Toolbar/Toolbar.js.map +1 -0
  357. package/dist/components/Tooltip/Tooltip.d.ts +28 -0
  358. package/dist/components/Tooltip/Tooltip.js +101 -0
  359. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  360. package/dist/components/TopAppBar/TopAppBar.d.ts +36 -0
  361. package/dist/components/TopAppBar/TopAppBar.js +70 -0
  362. package/dist/components/TopAppBar/TopAppBar.js.map +1 -0
  363. package/dist/components/Topbar/Topbar.d.ts +28 -0
  364. package/dist/components/Topbar/Topbar.js +63 -0
  365. package/dist/components/Topbar/Topbar.js.map +1 -0
  366. package/dist/components/Topbar/TopbarLogo.d.ts +2 -0
  367. package/dist/components/Topbar/TopbarLogo.js +98 -0
  368. package/dist/components/Topbar/TopbarLogo.js.map +1 -0
  369. package/dist/components/TreeItem/TreeItem.d.ts +38 -0
  370. package/dist/components/TreeItem/TreeItem.js +126 -0
  371. package/dist/components/TreeItem/TreeItem.js.map +1 -0
  372. package/dist/components/VersionSwitcher/VersionSwitcher.d.ts +13 -0
  373. package/dist/components/VersionSwitcher/VersionSwitcher.js +43 -0
  374. package/dist/components/VersionSwitcher/VersionSwitcher.js.map +1 -0
  375. package/dist/components/VideoPlayer/VideoPlayer.d.ts +28 -0
  376. package/dist/components/VideoPlayer/VideoPlayer.js +160 -0
  377. package/dist/components/VideoPlayer/VideoPlayer.js.map +1 -0
  378. package/dist/components/VoiceMode/VoiceMode.d.ts +27 -0
  379. package/dist/components/VoiceMode/VoiceMode.js +123 -0
  380. package/dist/components/VoiceMode/VoiceMode.js.map +1 -0
  381. package/dist/components/WebScreenTemplate/WebScreenTemplate.d.ts +36 -0
  382. package/dist/components/WebScreenTemplate/WebScreenTemplate.js +66 -0
  383. package/dist/components/WebScreenTemplate/WebScreenTemplate.js.map +1 -0
  384. package/dist/components/WhyThisSheet/WhyThisSheet.d.ts +23 -0
  385. package/dist/components/WhyThisSheet/WhyThisSheet.js +73 -0
  386. package/dist/components/WhyThisSheet/WhyThisSheet.js.map +1 -0
  387. package/dist/index.d.ts +124 -0
  388. package/dist/index.js +125 -0
  389. package/dist/styles.css +5637 -0
  390. package/dist/tokens.css +2338 -0
  391. package/package.json +50 -4
@@ -0,0 +1,98 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ // src/components/Topbar/TopbarLogo.tsx
3
+ var TopbarLogoFull = () => /* @__PURE__ */ jsx("svg", {
4
+ className: "bodhan-topbar__logo-svg",
5
+ viewBox: "0 0 518 70",
6
+ "aria-hidden": "true",
7
+ focusable: "false",
8
+ children: /* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsxs("g", { children: [
9
+ /* @__PURE__ */ jsx("path", {
10
+ d: "M22.7573 37.6657C21.9345 38.3928 8.61201 58.1774 8.11296 58.7484L8.1132 58.7489C8.30522 58.7373 11.4567 58.4267 15.9387 57.9975C27.1922 56.8258 46.6181 55.2082 47.4547 54.8764C47.4607 54.8741 47.4649 54.8685 47.4658 54.862C47.527 54.36 47.7828 53.8548 48.2032 53.5424C48.288 53.4743 48.3979 53.4043 48.4818 53.3487C48.5198 53.3237 48.5457 53.3056 48.5601 53.2917C48.5745 53.2778 48.5782 53.269 48.5749 53.2542C48.5499 53.1874 48.4813 53.0155 48.3789 52.754C46.5676 48.1743 43.4023 40.1014 42.0483 36.6881C42.0179 36.6115 41.9998 36.5638 41.991 36.5439C41.9816 36.5241 41.9678 36.5201 41.9452 36.5104C41.1383 36.1615 31.3629 31.8932 28.06 30.458C28.0434 30.4515 28.0342 30.4501 28.021 30.4615C28.0127 30.4688 28.0024 30.4816 27.9881 30.5014C27.6107 31.0315 25.5845 33.9183 25.1548 34.5229C25.1207 34.5701 25.0999 34.6148 25.1216 34.6722C25.1421 34.7309 25.2026 34.8107 25.2733 34.9188C25.5109 35.2664 25.6282 35.7037 25.5813 36.1267C25.4956 36.9687 24.8144 37.6552 23.9347 37.793C23.5459 37.8597 23.1394 37.7934 22.777 37.6622C22.7702 37.6596 22.7626 37.661 22.7573 37.6657ZM22.7573 37.6657C22.7741 37.6393 22.4768 37.6545 22.4392 37.6208C22.4383 37.6204 22.4378 37.62 22.4373 37.6195C22.0425 37.3435 21.7151 36.9862 21.5802 36.5222C21.5596 36.4533 21.5365 36.3746 21.5227 36.3109C21.5022 36.2252 21.4913 36.1766 21.4785 36.1591C21.4764 36.1563 21.4746 36.1545 21.4727 36.1528C20.2025 36.1145 4.81893 35.4844 0.802262 35.3996C0.731681 35.3983 0.681114 35.4639 0.703886 35.5273L0.858604 35.7329C3.34158 38.8018 12.8426 50.4346 13.3013 50.996C13.3091 51.0058 13.3246 51.0053 13.3317 50.9951C13.477 50.7925 13.6076 50.5909 13.8847 50.1922C15.7394 47.5051 21.5183 39.4516 22.7573 37.6657ZM49.5404 57.0488C48.2009 57.1132 47.1979 55.8539 47.6211 54.6488C47.876 53.8845 48.6903 53.3459 49.5348 53.3904C50.6236 53.4192 51.4991 54.3767 51.3707 55.4108C51.2794 56.2988 50.4855 57.0121 49.5446 57.0488H49.5404ZM29.1765 63.87C28.753 63.0691 27.8337 62.6394 26.9039 62.9087C26.6982 62.9671 26.4962 63.0714 26.3279 63.1868C26.2385 63.2457 26.1894 63.286 26.1317 63.3041C26.087 63.3161 26.0678 63.2823 26.0281 63.2341C26.0183 63.2216 26.0084 63.21 25.9982 63.197C24.8539 61.7852 22.4942 58.8749 21.6291 57.8052C21.6204 57.7945 21.6269 57.7788 21.641 57.7769C22.7929 57.6008 46.581 55.364 47.4301 55.2588C47.4398 55.2583 47.4463 55.2629 47.4524 55.2847C47.4635 55.3172 47.4644 55.3556 47.4723 55.3899C47.4922 55.5146 47.5279 55.6815 47.5604 55.8015C47.5673 55.8372 47.6044 55.9276 47.5678 55.9406C43.1004 57.8909 33.5394 62.0647 29.2487 63.9376C29.2431 63.9395 29.2379 63.9404 29.2325 63.939C29.2197 63.9358 29.2044 63.9154 29.1774 63.8718L29.1765 63.87ZM29.2673 64.5193C29.3307 65.7096 28.0901 66.6004 26.9029 66.2241C26.1486 65.9965 25.618 65.2693 25.665 64.5179C25.6965 63.5543 26.6384 62.7803 27.6532 62.8939C28.5283 62.974 29.2312 63.6795 29.2672 64.5156L29.2673 64.5193ZM33.5969 14.8096C33.8599 14.6575 34.1383 14.4271 34.2996 14.1658C34.3088 14.1518 34.3178 14.1376 34.3265 14.1234C34.6844 13.5397 34.6367 12.8024 34.2437 12.2439C34.1959 12.1669 34.1635 12.1098 34.1613 12.0623C34.1609 12.0544 34.1613 12.0465 34.1621 12.0389C34.1695 11.9838 34.2243 11.9355 34.2976 11.8566C34.6389 11.5042 35.1778 10.9173 35.581 10.4967C36.1858 9.86786 36.5899 9.40706 36.9313 9.07598C36.9396 9.06797 36.9532 9.06889 36.9601 9.07798C40.9995 14.3487 56.6731 34.2381 57.3549 35.4044C57.3577 35.4091 57.3581 35.4145 57.3558 35.4194C55.7776 39.4175 51.4282 50.24 50.1592 53.4099C50.1564 53.4164 50.1503 53.421 50.1434 53.4215C50.1216 53.4238 50.0818 53.4164 50.0155 53.4034C49.9784 53.396 49.933 53.3872 49.8815 53.3779C49.8352 53.37 49.7842 53.3617 49.73 53.3552C49.5047 53.3255 49.2697 53.3339 49.0477 53.3765C48.9346 53.4015 48.8414 53.4192 48.7413 53.4493C48.7182 53.4558 48.6477 53.4762 48.6496 53.4627C48.4201 52.8801 40.9694 33.881 36.6069 22.7583C34.8644 18.3158 33.6148 15.1297 33.5151 14.8752C33.5119 14.8626 33.5188 14.8609 33.5351 14.8481C33.5508 14.838 33.5762 14.8213 33.5932 14.8116L33.5969 14.8096ZM32.8116 14.9484C31.5739 15.0079 30.6482 13.8434 31.0414 12.7303C31.2897 12.0272 32.0347 11.5273 32.8155 11.5724C33.8167 11.603 34.6195 12.4863 34.5009 13.4369C34.4169 14.2565 33.684 14.9148 32.8157 14.9483L32.8116 14.9484ZM41.4487 5.63247C42.6092 6.68549 43.7229 7.78685 44.867 8.85685C44.972 8.9571 45.0792 9.05897 45.1685 9.17156C45.278 9.30745 45.3522 9.46342 45.3735 9.63162C45.3933 9.79203 45.3857 9.88561 45.3553 10.0064C45.1522 10.7197 44.2356 13.9536 43.8462 15.3232C43.804 15.4911 43.7063 15.65 43.5793 15.7791C43.1676 16.1854 42.5269 16.089 42.1783 15.6773C41.6538 15.002 38.7148 11.231 37.5013 9.67051C37.3537 9.49758 37.2694 9.27626 37.2657 9.05142C37.2607 8.77485 37.4244 8.53055 37.6121 8.32888C38.4061 7.48417 39.2018 6.64164 40.0007 5.8011C40.062 5.73918 40.1256 5.67895 40.1936 5.62475C40.5666 5.31189 41.0719 5.32254 41.4455 5.63L41.4487 5.63247ZM51.348 6.7732C52.2574 9.31505 54.0173 14.4464 55.0147 17.2981C55.2794 18.0694 55.4365 18.5013 55.544 18.8242C55.55 18.8421 55.5264 18.8557 55.5125 18.8424C54.4789 17.87 41.7777 5.82611 41.1689 5.25211C41.1565 5.24084 41.1442 5.2237 41.1464 5.20316C41.1487 5.17521 41.158 5.14788 41.1721 5.12301C41.2207 5.03684 41.2695 5.03483 41.3624 5.04997C43.5308 5.31018 48.2292 5.81592 50.4938 6.10731C50.4947 6.10747 50.4952 6.10762 50.4961 6.1078C50.8799 6.20555 51.17 6.43085 51.3475 6.77136L51.348 6.7732ZM50.3339 53.5114C50.2843 53.4808 50.2588 53.4623 50.2523 53.446C50.2491 53.4382 50.25 53.4307 50.2523 53.4229C51.8453 49.284 57.2599 36.1844 57.4378 35.2777C57.4388 35.2727 57.4374 35.2679 57.4346 35.2639C54.0307 30.869 45.0369 19.3466 44.1289 18.1435C43.7252 17.5573 43.5714 16.825 43.7141 16.1409C44.1426 14.5232 44.8065 12.279 45.2893 10.5449C45.4202 10.0839 45.5161 9.74466 45.552 9.61864C45.5581 9.59885 45.5631 9.58036 45.5703 9.56506C45.581 9.54453 45.5893 9.55222 45.6078 9.56798C46.1442 10.0763 53.1848 16.7702 55.6094 19.0583C55.6112 19.0601 55.6131 19.0609 55.6149 19.0618C55.6733 19.0896 56.0474 19.5206 56.0223 19.4505C55.4958 17.899 51.5719 7.09019 51.2609 6.17136C51.2535 6.15222 51.2456 6.13662 51.2377 6.12395C51.2173 6.09261 51.1941 6.07948 51.1367 6.06713C51.1274 6.06511 51.1177 6.06328 51.107 6.06157C51.1065 6.06157 51.1061 6.06157 51.1056 6.06141C50.2648 5.97216 49.469 5.8673 48.2899 5.73759C46.3029 5.50379 42.2418 5.04715 41.1366 4.9162C41.0215 4.90338 40.9353 4.89226 40.8808 4.88748C40.8444 4.88577 40.8001 4.88437 40.7769 4.89798C40.7755 4.8989 40.7741 4.89999 40.7727 4.90122C39.848 5.85988 35.9814 9.95815 34.4835 11.5483C34.3508 11.6947 34.2621 11.779 34.1748 11.8757C34.1232 11.9257 34.0897 11.9861 34.0261 11.9557C33.9842 11.9406 33.9234 11.8999 33.8378 11.846C33.7764 11.8071 33.7024 11.7618 33.6214 11.7197C32.6058 11.1724 31.2532 11.7092 30.9575 12.782C30.682 13.669 31.2558 14.6618 32.1794 14.9181C32.5474 15.0332 32.9554 15.0098 33.3234 14.9223C33.3256 14.9218 33.3275 14.9215 33.3293 14.921C33.3307 14.9208 33.3349 14.9198 33.333 14.9202C33.3386 14.919 33.3382 14.9192 33.3407 14.9187C33.3416 14.9184 33.3434 14.9181 33.3444 14.9179C33.3595 14.9147 33.3769 14.9116 33.391 14.9094C33.4314 14.9034 33.4452 14.9081 33.452 14.9216C33.7925 15.787 41.6209 35.7484 41.8904 36.435C41.8985 36.4565 41.8962 36.4578 41.8774 36.4506C41.771 36.4049 40.9159 36.0296 39.6743 35.4862C35.8734 33.8311 28.6937 30.6597 27.9444 30.3596C27.9421 30.3588 27.9403 30.3583 27.938 30.3579C27.9043 30.357 27.8747 30.3728 27.8223 30.4334C27.822 30.4337 27.8219 30.4343 27.8214 30.4347C27.3526 31.0731 25.4666 33.7985 24.9656 34.4967C24.9028 34.5782 24.8519 34.5687 24.7443 34.5099C24.7438 34.5096 24.7429 34.509 24.7425 34.509C23.4549 33.6137 21.6911 34.2843 21.493 35.8181C21.4694 35.9313 21.4788 36.0758 21.42 36.0726C19.9329 36.0389 5.19329 35.7462 0.843304 35.6564C0.829474 35.6561 0.820027 35.6694 0.825418 35.6813C1.27958 36.6884 12.7382 50.2872 13.2416 51.0832C13.2453 51.0887 13.2453 51.0957 13.2416 51.1012C13.0194 51.4618 12.843 51.6848 12.3746 52.3791C11.0191 54.361 9.1002 57.1442 7.85415 58.9667C7.84831 58.976 7.84363 58.9843 7.83955 58.9926C7.80752 59.0603 8.002 59.0789 8.08084 59.0821C8.08849 59.0821 8.09586 59.0821 8.10332 59.0816C9.71164 58.9634 20.4744 57.8145 21.5214 57.8149C21.5273 57.8149 21.5326 57.8177 21.5361 57.8223C22.3652 58.8698 24.9363 61.9914 25.8236 63.1066C25.895 63.1951 25.9523 63.2642 25.9902 63.3129C26.0059 63.3337 26.0192 63.356 26.0209 63.3819C26.0251 63.4273 25.9923 63.4862 25.9362 63.5761C25.8988 63.6368 25.852 63.711 25.8071 63.7949C25.2378 64.8039 25.8874 66.1295 27.0868 66.3446C28.4463 66.6018 29.5686 65.4547 29.2876 64.1953C29.2803 64.1513 29.2712 64.1013 29.2691 64.0595C29.2682 64.0285 29.2761 64.0169 29.2913 64.009C30.2232 63.6549 46.5286 56.3772 47.6317 56.0699C47.6396 56.068 47.6484 56.0708 47.6531 56.0777C48.0475 56.6919 48.6667 57.1354 49.4964 57.1187C50.0544 57.115 50.5786 56.8481 50.9434 56.4532C51.5723 55.8066 51.615 54.8138 51.0653 54.1107C50.8938 53.8734 50.58 53.649 50.3353 53.5123L50.3339 53.5114Z",
11
+ className: "bodhan-topbar__logo-line",
12
+ strokeWidth: "1.5",
13
+ strokeMiterlimit: "10"
14
+ }),
15
+ /* @__PURE__ */ jsx("path", {
16
+ d: "M36.2845 13.9015C36.2845 15.7359 34.7974 17.2229 32.9631 17.2229C31.1287 17.2229 29.6417 15.7359 29.6417 13.9015C29.6417 12.0672 31.1287 10.5801 32.9631 10.5801C34.7974 10.5801 36.2845 12.0672 36.2845 13.9015Z",
17
+ className: "bodhan-topbar__logo-mark"
18
+ }),
19
+ /* @__PURE__ */ jsx("path", {
20
+ d: "M26.3206 36.2022C26.3206 38.0365 24.8335 39.5236 22.9992 39.5236C21.1649 39.5236 19.6778 38.0365 19.6778 36.2022C19.6778 34.3679 21.1649 32.8808 22.9992 32.8808C24.8335 32.8808 26.3206 34.3679 26.3206 36.2022Z",
21
+ "data-fill": "paper",
22
+ "data-stroke": "mark",
23
+ strokeWidth: "0.926984",
24
+ strokeMiterlimit: "10"
25
+ }),
26
+ /* @__PURE__ */ jsx("path", {
27
+ d: "M31.5399 65.1459C31.5399 66.9799 30.0528 68.4673 28.2185 68.4673C26.3842 68.4673 24.8971 66.9799 24.8971 65.1459C24.8971 63.3114 26.3842 61.8245 28.2185 61.8245C30.0528 61.8245 31.5399 63.3114 31.5399 65.1459Z",
28
+ "data-fill": "paper",
29
+ "data-stroke": "mark",
30
+ strokeWidth: "0.926984",
31
+ strokeMiterlimit: "10"
32
+ }),
33
+ /* @__PURE__ */ jsx("path", {
34
+ d: "M52.8915 55.1818C52.8915 57.0158 51.4046 58.5032 49.5701 58.5032C47.7361 58.5032 46.2488 57.0158 46.2488 55.1818C46.2488 53.3473 47.7361 51.8604 49.5701 51.8604C51.4046 51.8604 52.8915 53.3473 52.8915 55.1818Z",
35
+ "data-fill": "paper",
36
+ "data-stroke": "mark",
37
+ strokeWidth: "0.926984",
38
+ strokeMiterlimit: "10"
39
+ })
40
+ ] }), /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsxs("g", { children: [
41
+ /* @__PURE__ */ jsx("path", {
42
+ d: "M103.592 35.052C105.923 35.42 108.039 36.3707 109.94 37.904C111.903 39.4373 113.436 41.3387 114.54 43.608C115.705 45.8773 116.288 48.3 116.288 50.876C116.288 54.1267 115.46 57.0707 113.804 59.708C112.148 62.284 109.725 64.3387 106.536 65.872C103.408 67.344 99.6974 68.08 95.404 68.08H71.484V3.956H94.484C98.8387 3.956 102.549 4.692 105.616 6.164C108.683 7.57467 110.983 9.50667 112.516 11.96C114.049 14.4133 114.816 17.1733 114.816 20.24C114.816 24.0427 113.773 27.2013 111.688 29.716C109.664 32.1693 106.965 33.948 103.592 35.052ZM79.856 31.648H93.932C97.8574 31.648 100.893 30.728 103.04 28.888C105.187 27.048 106.26 24.5027 106.26 21.252C106.26 18.0013 105.187 15.456 103.04 13.616C100.893 11.776 97.796 10.856 93.748 10.856H79.856V31.648ZM94.668 61.18C98.8387 61.18 102.089 60.1987 104.42 58.236C106.751 56.2733 107.916 53.544 107.916 50.048C107.916 46.4907 106.689 43.7 104.236 41.676C101.783 39.5907 98.5014 38.548 94.392 38.548H79.856V61.18H94.668ZM149.894 68.908C145.171 68.908 140.878 67.8347 137.014 65.688C133.211 63.5413 130.206 60.5053 127.998 56.58C125.851 52.5933 124.778 47.9933 124.778 42.78C124.778 37.628 125.882 33.0893 128.09 29.164C130.359 25.1773 133.426 22.1413 137.29 20.056C141.154 17.9093 145.478 16.836 150.262 16.836C155.046 16.836 159.37 17.9093 163.234 20.056C167.098 22.1413 170.134 25.1467 172.342 29.072C174.611 32.9973 175.746 37.5667 175.746 42.78C175.746 47.9933 174.581 52.5933 172.25 56.58C169.981 60.5053 166.883 63.5413 162.958 65.688C159.033 67.8347 154.678 68.908 149.894 68.908ZM149.894 61.548C152.899 61.548 155.721 60.8427 158.358 59.432C160.995 58.0213 163.111 55.9053 164.706 53.084C166.362 50.2627 167.19 46.828 167.19 42.78C167.19 38.732 166.393 35.2973 164.798 32.476C163.203 29.6547 161.118 27.5693 158.542 26.22C155.966 24.8093 153.175 24.104 150.17 24.104C147.103 24.104 144.282 24.8093 141.706 26.22C139.191 27.5693 137.167 29.6547 135.634 32.476C134.101 35.2973 133.334 38.732 133.334 42.78C133.334 46.8893 134.07 50.3547 135.542 53.176C137.075 55.9973 139.099 58.1133 141.614 59.524C144.129 60.8733 146.889 61.548 149.894 61.548ZM183.626 42.688C183.626 37.536 184.668 33.028 186.754 29.164C188.839 25.2387 191.691 22.2027 195.31 20.056C198.99 17.9093 203.099 16.836 207.638 16.836C211.563 16.836 215.212 17.756 218.586 19.596C221.959 21.3747 224.535 23.736 226.314 26.68V9.53674e-07H234.778V68.08H226.314V58.604C224.658 61.6093 222.204 64.0933 218.954 66.056C215.703 67.9573 211.9 68.908 207.546 68.908C203.068 68.908 198.99 67.804 195.31 65.596C191.691 63.388 188.839 60.2907 186.754 56.304C184.668 52.3173 183.626 47.7787 183.626 42.688ZM226.314 42.78C226.314 38.9773 225.547 35.6653 224.014 32.844C222.48 30.0227 220.395 27.876 217.758 26.404C215.182 24.8707 212.33 24.104 209.202 24.104C206.074 24.104 203.222 24.84 200.646 26.312C198.07 27.784 196.015 29.9307 194.482 32.752C192.948 35.5733 192.182 38.8853 192.182 42.688C192.182 46.552 192.948 49.9253 194.482 52.808C196.015 55.6293 198.07 57.8067 200.646 59.34C203.222 60.812 206.074 61.548 209.202 61.548C212.33 61.548 215.182 60.812 217.758 59.34C220.395 57.8067 222.48 55.6293 224.014 52.808C225.547 49.9253 226.314 46.5827 226.314 42.78ZM273.949 16.744C277.752 16.744 281.187 17.572 284.253 19.228C287.32 20.8227 289.712 23.2453 291.429 26.496C293.208 29.7467 294.097 33.7027 294.097 38.364V68.08H285.817V39.56C285.817 34.5307 284.56 30.6973 282.045 28.06C279.531 25.3613 276.096 24.012 271.741 24.012C267.325 24.012 263.799 25.392 261.161 28.152C258.585 30.912 257.297 34.9293 257.297 40.204V68.08H248.925V9.53674e-07H257.297V24.84C258.953 22.264 261.223 20.2707 264.105 18.86C267.049 17.4493 270.331 16.744 273.949 16.744ZM304.645 42.688C304.645 37.536 305.688 33.028 307.773 29.164C309.858 25.2387 312.71 22.2027 316.329 20.056C320.009 17.9093 324.088 16.836 328.565 16.836C332.981 16.836 336.814 17.7867 340.065 19.688C343.316 21.5893 345.738 23.9813 347.333 26.864V17.664H355.797V68.08H347.333V58.696C345.677 61.64 343.193 64.0933 339.881 66.056C336.63 67.9573 332.828 68.908 328.473 68.908C323.996 68.908 319.948 67.804 316.329 65.596C312.71 63.388 309.858 60.2907 307.773 56.304C305.688 52.3173 304.645 47.7787 304.645 42.688ZM347.333 42.78C347.333 38.9773 346.566 35.6653 345.033 32.844C343.5 30.0227 341.414 27.876 338.777 26.404C336.201 24.8707 333.349 24.104 330.221 24.104C327.093 24.104 324.241 24.84 321.665 26.312C319.089 27.784 317.034 29.9307 315.501 32.752C313.968 35.5733 313.201 38.8853 313.201 42.688C313.201 46.552 313.968 49.9253 315.501 52.808C317.034 55.6293 319.089 57.8067 321.665 59.34C324.241 60.812 327.093 61.548 330.221 61.548C333.349 61.548 336.201 60.812 338.777 59.34C341.414 57.8067 343.5 55.6293 345.033 52.808C346.566 49.9253 347.333 46.5827 347.333 42.78ZM394.509 16.744C400.642 16.744 405.61 18.6147 409.413 22.356C413.216 26.036 415.117 31.372 415.117 38.364V68.08H406.837V39.56C406.837 34.5307 405.58 30.6973 403.065 28.06C400.55 25.3613 397.116 24.012 392.761 24.012C388.345 24.012 384.818 25.392 382.181 28.152C379.605 30.912 378.317 34.9293 378.317 40.204V68.08H369.945V17.664H378.317V24.84C379.973 22.264 382.212 20.2707 385.033 18.86C387.916 17.4493 391.074 16.744 394.509 16.744Z",
43
+ className: "bodhan-topbar__logo-word"
44
+ }),
45
+ /* @__PURE__ */ jsx("path", {
46
+ d: "M484.56 51.52H453.924L447.76 68.08H443.252L466.988 4.968H471.588L495.232 68.08H490.724L484.56 51.52ZM483.272 48.024L469.288 10.396L455.212 48.024H483.272ZM509.764 3.496V68.08H505.624V3.496H509.764Z",
47
+ className: "bodhan-topbar__logo-mark"
48
+ }),
49
+ /* @__PURE__ */ jsx("circle", {
50
+ cx: "431.4",
51
+ cy: "63.08",
52
+ r: "6",
53
+ className: "bodhan-topbar__logo-mark"
54
+ })
55
+ ] }) }) })] })
56
+ });
57
+ var TopbarLogoMark = () => /* @__PURE__ */ jsx("svg", {
58
+ className: "bodhan-topbar__logo-svg",
59
+ viewBox: "0 0 59 65",
60
+ "aria-hidden": "true",
61
+ focusable: "false",
62
+ children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsxs("g", { children: [
63
+ /* @__PURE__ */ jsx("path", {
64
+ d: "M22.7573 33.4746C21.9345 34.2017 8.61201 53.9863 8.11296 54.5573L8.1132 54.5577C8.30522 54.5462 11.4567 54.2356 15.9387 53.8064C27.1922 52.6347 46.6181 51.0171 47.4547 50.6853C47.4607 50.683 47.4649 50.6774 47.4658 50.6709C47.527 50.1689 47.7828 49.6637 48.2032 49.3513C48.288 49.2832 48.3979 49.2132 48.4818 49.1576C48.5198 49.1326 48.5457 49.1145 48.5601 49.1006C48.5745 49.0867 48.5782 49.0779 48.5749 49.0631C48.5499 48.9963 48.4813 48.8244 48.3789 48.5629C46.5676 43.9832 43.4023 35.9103 42.0483 32.497C42.0179 32.4204 41.9998 32.3727 41.991 32.3528C41.9816 32.333 41.9678 32.329 41.9452 32.3193C41.1383 31.9704 31.3629 27.7021 28.06 26.2669C28.0434 26.2604 28.0342 26.259 28.021 26.2704C28.0127 26.2777 28.0024 26.2905 27.9881 26.3103C27.6107 26.8404 25.5845 29.7272 25.1548 30.3318C25.1207 30.379 25.0999 30.4237 25.1216 30.4811C25.1421 30.5398 25.2026 30.6196 25.2733 30.7277C25.5109 31.0753 25.6282 31.5126 25.5813 31.9356C25.4956 32.7776 24.8144 33.4641 23.9347 33.6019C23.5459 33.6686 23.1394 33.6023 22.777 33.4711C22.7702 33.4685 22.7626 33.4699 22.7573 33.4746ZM22.7573 33.4746C22.7741 33.4482 22.4768 33.4634 22.4392 33.4297C22.4383 33.4293 22.4378 33.4289 22.4373 33.4284C22.0425 33.1524 21.7151 32.7951 21.5802 32.3311C21.5596 32.2622 21.5365 32.1835 21.5227 32.1198C21.5022 32.0341 21.4913 31.9855 21.4785 31.968C21.4764 31.9652 21.4746 31.9634 21.4727 31.9617C20.2025 31.9234 4.81893 31.2933 0.802262 31.2085C0.731681 31.2072 0.681114 31.2728 0.703886 31.3362L0.858604 31.5418C3.34158 34.6107 12.8426 46.2435 13.3013 46.8049C13.3091 46.8147 13.3246 46.8142 13.3317 46.804C13.477 46.6014 13.6076 46.3998 13.8847 46.0011C15.7394 43.314 21.5183 35.2605 22.7573 33.4746ZM49.5404 52.8577C48.2009 52.9221 47.1979 51.6628 47.6211 50.4577C47.876 49.6934 48.6903 49.1548 49.5348 49.1993C50.6236 49.2281 51.4991 50.1856 51.3707 51.2197C51.2794 52.1077 50.4855 52.821 49.5446 52.8577H49.5404ZM29.1765 59.6789C28.753 58.878 27.8337 58.4483 26.9039 58.7176C26.6982 58.776 26.4962 58.8803 26.3279 58.9957C26.2385 59.0546 26.1894 59.0949 26.1317 59.113C26.087 59.125 26.0678 59.0912 26.0281 59.043C26.0183 59.0304 26.0084 59.0189 25.9982 59.0059C24.8539 57.5941 22.4942 54.6838 21.6291 53.6141C21.6204 53.6034 21.6269 53.5877 21.641 53.5858C22.7929 53.4097 46.581 51.1729 47.4301 51.0677C47.4398 51.0672 47.4463 51.0718 47.4524 51.0936C47.4635 51.1261 47.4644 51.1645 47.4723 51.1988C47.4922 51.3235 47.5279 51.4904 47.5604 51.6104C47.5673 51.6461 47.6044 51.7365 47.5678 51.7495C43.1004 53.6998 33.5394 57.8736 29.2487 59.7465C29.2431 59.7484 29.2379 59.7493 29.2325 59.7479C29.2197 59.7447 29.2044 59.7243 29.1774 59.6807L29.1765 59.6789ZM29.2673 60.3282C29.3307 61.5185 28.0901 62.4093 26.9029 62.0329C26.1486 61.8054 25.618 61.0782 25.665 60.3268C25.6965 59.3632 26.6384 58.5892 27.6532 58.7028C28.5283 58.7829 29.2312 59.4884 29.2672 60.3245L29.2673 60.3282ZM33.5969 10.6185C33.8599 10.4664 34.1383 10.236 34.2996 9.97472C34.3088 9.96068 34.3178 9.94654 34.3265 9.93231C34.6844 9.34864 34.6367 8.61127 34.2437 8.05276C34.1959 7.97582 34.1635 7.91872 34.1613 7.87116C34.1609 7.86328 34.1613 7.8554 34.1621 7.8478C34.1695 7.79269 34.2243 7.74435 34.2976 7.66547C34.6389 7.31307 35.1778 6.72624 35.581 6.30558C36.1858 5.67676 36.5899 5.21596 36.9313 4.88488C36.9396 4.87687 36.9532 4.87779 36.9601 4.88688C40.9995 10.1576 56.6731 30.047 57.3549 31.2133C57.3577 31.218 57.3581 31.2234 57.3558 31.2283C55.7776 35.2264 51.4282 46.0489 50.1592 49.2188C50.1564 49.2253 50.1503 49.2299 50.1434 49.2304C50.1216 49.2327 50.0818 49.2253 50.0155 49.2123C49.9784 49.2049 49.933 49.1961 49.8815 49.1868C49.8352 49.1789 49.7842 49.1706 49.73 49.1641C49.5047 49.1344 49.2697 49.1428 49.0477 49.1854C48.9346 49.2104 48.8414 49.2281 48.7413 49.2582C48.7182 49.2647 48.6477 49.2851 48.6496 49.2716C48.4201 48.689 40.9694 29.6899 36.6069 18.5672C34.8644 14.1247 33.6148 10.9386 33.5151 10.6841C33.5119 10.6715 33.5188 10.6698 33.5351 10.657C33.5508 10.6469 33.5762 10.6302 33.5932 10.6205L33.5969 10.6185ZM32.8116 10.7573C31.5739 10.8168 30.6482 9.65227 31.0414 8.53919C31.2897 7.83608 32.0347 7.3362 32.8155 7.3813C33.8167 7.41189 34.6195 8.29521 34.5009 9.24583C34.4169 10.0654 33.684 10.7237 32.8157 10.7572L32.8116 10.7573ZM41.4487 1.44137C42.6092 2.49439 43.7229 3.59575 44.867 4.66574C44.972 4.766 45.0792 4.86787 45.1685 4.98046C45.278 5.11635 45.3522 5.27232 45.3735 5.44052C45.3933 5.60093 45.3857 5.69451 45.3553 5.8153C45.1522 6.52857 44.2356 9.76254 43.8462 11.1321C43.804 11.3 43.7063 11.4589 43.5793 11.588C43.1676 11.9943 42.5269 11.8979 42.1783 11.4862C41.6538 10.8109 38.7148 7.03989 37.5013 5.47941C37.3537 5.30648 37.2694 5.08516 37.2657 4.86032C37.2607 4.58375 37.4244 4.33945 37.6121 4.13778C38.4061 3.29307 39.2018 2.45054 40.0007 1.61C40.062 1.54808 40.1256 1.48785 40.1936 1.43365C40.5666 1.12079 41.0719 1.13144 41.4455 1.4389L41.4487 1.44137ZM51.348 2.5821C52.2574 5.12395 54.0173 10.2553 55.0147 13.107C55.2794 13.8783 55.4365 14.3102 55.544 14.6331C55.55 14.651 55.5264 14.6646 55.5125 14.6513C54.4789 13.6789 41.7777 1.63501 41.1689 1.06101C41.1565 1.04974 41.1442 1.0326 41.1464 1.01206C41.1487 0.984106 41.158 0.956774 41.1721 0.931913C41.2207 0.84574 41.2695 0.843733 41.3624 0.858866C43.5308 1.11908 48.2292 1.62481 50.4938 1.91621C50.4947 1.91637 50.4952 1.91652 50.4961 1.91669C50.8799 2.01444 51.17 2.23975 51.3475 2.58026L51.348 2.5821ZM50.3339 49.3203C50.2843 49.2897 50.2588 49.2712 50.2523 49.2549C50.2491 49.2471 50.25 49.2396 50.2523 49.2318C51.8453 45.0929 57.2599 31.9933 57.4378 31.0866C57.4388 31.0816 57.4374 31.0768 57.4346 31.0728C54.0307 26.6779 45.0369 15.1555 44.1289 13.9524C43.7252 13.3662 43.5714 12.6339 43.7141 11.9498C44.1426 10.3321 44.8065 8.08794 45.2893 6.35378C45.4202 5.89279 45.5161 5.55356 45.552 5.42754C45.5581 5.40775 45.5631 5.38926 45.5703 5.37396C45.581 5.35343 45.5893 5.36112 45.6078 5.37688C46.1442 5.88524 53.1848 12.5791 55.6094 14.8672C55.6112 14.869 55.6131 14.8698 55.6149 14.8707C55.6733 14.8985 56.0474 15.3295 56.0223 15.2594C55.4958 13.7079 51.5719 2.89909 51.2609 1.98026C51.2535 1.96112 51.2456 1.94552 51.2377 1.93285C51.2173 1.90151 51.1941 1.88838 51.1367 1.87603C51.1274 1.87401 51.1177 1.87218 51.107 1.87047C51.1065 1.87047 51.1061 1.87047 51.1056 1.87031C50.2648 1.78106 49.469 1.6762 48.2899 1.54648C46.3029 1.31269 42.2418 0.856053 41.1366 0.725102C41.0215 0.712282 40.9353 0.701163 40.8808 0.696375C40.8444 0.69467 40.8001 0.693265 40.7769 0.706878C40.7755 0.707796 40.7741 0.708889 40.7727 0.710118C39.848 1.66878 35.9814 5.76705 34.4835 7.35715C34.3508 7.50357 34.2621 7.58788 34.1748 7.68456C34.1232 7.73457 34.0897 7.79497 34.0261 7.76456C33.9842 7.74954 33.9234 7.7088 33.8378 7.6549C33.7764 7.61596 33.7024 7.57073 33.6214 7.5286C32.6058 6.9813 31.2532 7.51807 30.9575 8.59087C30.682 9.47786 31.2558 10.4707 32.1794 10.727C32.5474 10.8421 32.9554 10.8187 33.3234 10.7312C33.3256 10.7307 33.3275 10.7304 33.3293 10.7299C33.3307 10.7297 33.3349 10.7287 33.333 10.7291C33.3386 10.7279 33.3382 10.7281 33.3407 10.7276C33.3416 10.7273 33.3434 10.727 33.3444 10.7268C33.3595 10.7236 33.3769 10.7205 33.391 10.7183C33.4314 10.7123 33.4452 10.717 33.452 10.7305C33.7925 11.5959 41.6209 31.5573 41.8904 32.2439C41.8985 32.2654 41.8962 32.2667 41.8774 32.2595C41.771 32.2138 40.9159 31.8385 39.6743 31.2951C35.8734 29.6399 28.6937 26.4686 27.9444 26.1685C27.9421 26.1677 27.9403 26.1672 27.938 26.1668C27.9043 26.1659 27.8747 26.1817 27.8223 26.2423C27.822 26.2426 27.8219 26.2432 27.8214 26.2436C27.3526 26.882 25.4666 29.6074 24.9656 30.3056C24.9028 30.3871 24.8519 30.3775 24.7443 30.3188C24.7438 30.3185 24.7429 30.3179 24.7425 30.3179C23.4549 29.4226 21.6911 30.0932 21.493 31.627C21.4694 31.7402 21.4788 31.8847 21.42 31.8815C19.9329 31.8478 5.19329 31.5551 0.843304 31.4653C0.829474 31.465 0.820027 31.4783 0.825418 31.4902C1.27958 32.4973 12.7382 46.0961 13.2416 46.8921C13.2453 46.8976 13.2453 46.9046 13.2416 46.9101C13.0194 47.2707 12.843 47.4937 12.3746 48.188C11.0191 50.1699 9.1002 52.9531 7.85415 54.7756C7.84831 54.7849 7.84363 54.7932 7.83955 54.8015C7.80752 54.8692 8.002 54.8878 8.08084 54.891C8.08849 54.891 8.09586 54.891 8.10332 54.8905C9.71164 54.7723 20.4744 53.6233 21.5214 53.6238C21.5273 53.6238 21.5326 53.6266 21.5361 53.6312C22.3652 54.6787 24.9363 57.8003 25.8236 58.9155C25.895 59.004 25.9523 59.0731 25.9902 59.1218C26.0059 59.1426 26.0192 59.1649 26.0209 59.1908C26.0251 59.2362 25.9923 59.2951 25.9362 59.385C25.8988 59.4457 25.852 59.5199 25.8071 59.6038C25.2378 60.6128 25.8874 61.9384 27.0868 62.1535C28.4463 62.4107 29.5686 61.2636 29.2876 60.0042C29.2803 59.9602 29.2712 59.9102 29.2691 59.8684C29.2682 59.8374 29.2761 59.8258 29.2913 59.8179C30.2232 59.4638 46.5286 52.1861 47.6317 51.8788C47.6396 51.8769 47.6484 51.8797 47.6531 51.8866C48.0475 52.5008 48.6667 52.9443 49.4964 52.9276C50.0544 52.9239 50.5786 52.657 50.9434 52.2621C51.5723 51.6155 51.615 50.6227 51.0653 49.9196C50.8938 49.6823 50.58 49.4579 50.3353 49.3212L50.3339 49.3203Z",
65
+ className: "bodhan-topbar__logo-line",
66
+ strokeWidth: "1.5",
67
+ strokeMiterlimit: "10"
68
+ }),
69
+ /* @__PURE__ */ jsx("path", {
70
+ d: "M36.2845 9.71039C36.2845 11.5448 34.7974 13.0318 32.9631 13.0318C31.1287 13.0318 29.6417 11.5448 29.6417 9.71039C29.6417 7.87608 31.1287 6.38901 32.9631 6.38901C34.7974 6.38901 36.2845 7.87608 36.2845 9.71039Z",
71
+ className: "bodhan-topbar__logo-mark"
72
+ }),
73
+ /* @__PURE__ */ jsx("path", {
74
+ d: "M26.3206 32.0111C26.3206 33.8454 24.8335 35.3325 22.9992 35.3325C21.1649 35.3325 19.6778 33.8454 19.6778 32.0111C19.6778 30.1767 21.1649 28.6897 22.9992 28.6897C24.8335 28.6897 26.3206 30.1767 26.3206 32.0111Z",
75
+ "data-fill": "paper",
76
+ "data-stroke": "mark",
77
+ strokeWidth: "0.926984",
78
+ strokeMiterlimit: "10"
79
+ }),
80
+ /* @__PURE__ */ jsx("path", {
81
+ d: "M31.5399 60.9548C31.5399 62.7888 30.0528 64.2762 28.2185 64.2762C26.3842 64.2762 24.8971 62.7888 24.8971 60.9548C24.8971 59.1203 26.3842 57.6334 28.2185 57.6334C30.0528 57.6334 31.5399 59.1203 31.5399 60.9548Z",
82
+ "data-fill": "paper",
83
+ "data-stroke": "mark",
84
+ strokeWidth: "0.926984",
85
+ strokeMiterlimit: "10"
86
+ }),
87
+ /* @__PURE__ */ jsx("path", {
88
+ d: "M52.8915 50.9907C52.8915 52.8247 51.4046 54.312 49.5701 54.312C47.7361 54.312 46.2488 52.8247 46.2488 50.9907C46.2488 49.1562 47.7361 47.6693 49.5701 47.6693C51.4046 47.6693 52.8915 49.1562 52.8915 50.9907Z",
89
+ "data-fill": "paper",
90
+ "data-stroke": "mark",
91
+ strokeWidth: "0.926984",
92
+ strokeMiterlimit: "10"
93
+ })
94
+ ] }) })
95
+ });
96
+ export { TopbarLogoFull, TopbarLogoMark };
97
+
98
+ //# sourceMappingURL=TopbarLogo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TopbarLogo.js","names":[],"sources":["../../../src/components/Topbar/TopbarLogo.tsx"],"sourcesContent":["// Bodhan logo artwork (from source/ds-assets/Logos), colours bound to the 07 Logo tokens in Topbar.css.\nexport const TopbarLogoFull = () => (\n <svg className=\"bodhan-topbar__logo-svg\" viewBox=\"0 0 518 70\" aria-hidden=\"true\" focusable=\"false\">\n<g>\n<g>\n<path d=\"M22.7573 37.6657C21.9345 38.3928 8.61201 58.1774 8.11296 58.7484L8.1132 58.7489C8.30522 58.7373 11.4567 58.4267 15.9387 57.9975C27.1922 56.8258 46.6181 55.2082 47.4547 54.8764C47.4607 54.8741 47.4649 54.8685 47.4658 54.862C47.527 54.36 47.7828 53.8548 48.2032 53.5424C48.288 53.4743 48.3979 53.4043 48.4818 53.3487C48.5198 53.3237 48.5457 53.3056 48.5601 53.2917C48.5745 53.2778 48.5782 53.269 48.5749 53.2542C48.5499 53.1874 48.4813 53.0155 48.3789 52.754C46.5676 48.1743 43.4023 40.1014 42.0483 36.6881C42.0179 36.6115 41.9998 36.5638 41.991 36.5439C41.9816 36.5241 41.9678 36.5201 41.9452 36.5104C41.1383 36.1615 31.3629 31.8932 28.06 30.458C28.0434 30.4515 28.0342 30.4501 28.021 30.4615C28.0127 30.4688 28.0024 30.4816 27.9881 30.5014C27.6107 31.0315 25.5845 33.9183 25.1548 34.5229C25.1207 34.5701 25.0999 34.6148 25.1216 34.6722C25.1421 34.7309 25.2026 34.8107 25.2733 34.9188C25.5109 35.2664 25.6282 35.7037 25.5813 36.1267C25.4956 36.9687 24.8144 37.6552 23.9347 37.793C23.5459 37.8597 23.1394 37.7934 22.777 37.6622C22.7702 37.6596 22.7626 37.661 22.7573 37.6657ZM22.7573 37.6657C22.7741 37.6393 22.4768 37.6545 22.4392 37.6208C22.4383 37.6204 22.4378 37.62 22.4373 37.6195C22.0425 37.3435 21.7151 36.9862 21.5802 36.5222C21.5596 36.4533 21.5365 36.3746 21.5227 36.3109C21.5022 36.2252 21.4913 36.1766 21.4785 36.1591C21.4764 36.1563 21.4746 36.1545 21.4727 36.1528C20.2025 36.1145 4.81893 35.4844 0.802262 35.3996C0.731681 35.3983 0.681114 35.4639 0.703886 35.5273L0.858604 35.7329C3.34158 38.8018 12.8426 50.4346 13.3013 50.996C13.3091 51.0058 13.3246 51.0053 13.3317 50.9951C13.477 50.7925 13.6076 50.5909 13.8847 50.1922C15.7394 47.5051 21.5183 39.4516 22.7573 37.6657ZM49.5404 57.0488C48.2009 57.1132 47.1979 55.8539 47.6211 54.6488C47.876 53.8845 48.6903 53.3459 49.5348 53.3904C50.6236 53.4192 51.4991 54.3767 51.3707 55.4108C51.2794 56.2988 50.4855 57.0121 49.5446 57.0488H49.5404ZM29.1765 63.87C28.753 63.0691 27.8337 62.6394 26.9039 62.9087C26.6982 62.9671 26.4962 63.0714 26.3279 63.1868C26.2385 63.2457 26.1894 63.286 26.1317 63.3041C26.087 63.3161 26.0678 63.2823 26.0281 63.2341C26.0183 63.2216 26.0084 63.21 25.9982 63.197C24.8539 61.7852 22.4942 58.8749 21.6291 57.8052C21.6204 57.7945 21.6269 57.7788 21.641 57.7769C22.7929 57.6008 46.581 55.364 47.4301 55.2588C47.4398 55.2583 47.4463 55.2629 47.4524 55.2847C47.4635 55.3172 47.4644 55.3556 47.4723 55.3899C47.4922 55.5146 47.5279 55.6815 47.5604 55.8015C47.5673 55.8372 47.6044 55.9276 47.5678 55.9406C43.1004 57.8909 33.5394 62.0647 29.2487 63.9376C29.2431 63.9395 29.2379 63.9404 29.2325 63.939C29.2197 63.9358 29.2044 63.9154 29.1774 63.8718L29.1765 63.87ZM29.2673 64.5193C29.3307 65.7096 28.0901 66.6004 26.9029 66.2241C26.1486 65.9965 25.618 65.2693 25.665 64.5179C25.6965 63.5543 26.6384 62.7803 27.6532 62.8939C28.5283 62.974 29.2312 63.6795 29.2672 64.5156L29.2673 64.5193ZM33.5969 14.8096C33.8599 14.6575 34.1383 14.4271 34.2996 14.1658C34.3088 14.1518 34.3178 14.1376 34.3265 14.1234C34.6844 13.5397 34.6367 12.8024 34.2437 12.2439C34.1959 12.1669 34.1635 12.1098 34.1613 12.0623C34.1609 12.0544 34.1613 12.0465 34.1621 12.0389C34.1695 11.9838 34.2243 11.9355 34.2976 11.8566C34.6389 11.5042 35.1778 10.9173 35.581 10.4967C36.1858 9.86786 36.5899 9.40706 36.9313 9.07598C36.9396 9.06797 36.9532 9.06889 36.9601 9.07798C40.9995 14.3487 56.6731 34.2381 57.3549 35.4044C57.3577 35.4091 57.3581 35.4145 57.3558 35.4194C55.7776 39.4175 51.4282 50.24 50.1592 53.4099C50.1564 53.4164 50.1503 53.421 50.1434 53.4215C50.1216 53.4238 50.0818 53.4164 50.0155 53.4034C49.9784 53.396 49.933 53.3872 49.8815 53.3779C49.8352 53.37 49.7842 53.3617 49.73 53.3552C49.5047 53.3255 49.2697 53.3339 49.0477 53.3765C48.9346 53.4015 48.8414 53.4192 48.7413 53.4493C48.7182 53.4558 48.6477 53.4762 48.6496 53.4627C48.4201 52.8801 40.9694 33.881 36.6069 22.7583C34.8644 18.3158 33.6148 15.1297 33.5151 14.8752C33.5119 14.8626 33.5188 14.8609 33.5351 14.8481C33.5508 14.838 33.5762 14.8213 33.5932 14.8116L33.5969 14.8096ZM32.8116 14.9484C31.5739 15.0079 30.6482 13.8434 31.0414 12.7303C31.2897 12.0272 32.0347 11.5273 32.8155 11.5724C33.8167 11.603 34.6195 12.4863 34.5009 13.4369C34.4169 14.2565 33.684 14.9148 32.8157 14.9483L32.8116 14.9484ZM41.4487 5.63247C42.6092 6.68549 43.7229 7.78685 44.867 8.85685C44.972 8.9571 45.0792 9.05897 45.1685 9.17156C45.278 9.30745 45.3522 9.46342 45.3735 9.63162C45.3933 9.79203 45.3857 9.88561 45.3553 10.0064C45.1522 10.7197 44.2356 13.9536 43.8462 15.3232C43.804 15.4911 43.7063 15.65 43.5793 15.7791C43.1676 16.1854 42.5269 16.089 42.1783 15.6773C41.6538 15.002 38.7148 11.231 37.5013 9.67051C37.3537 9.49758 37.2694 9.27626 37.2657 9.05142C37.2607 8.77485 37.4244 8.53055 37.6121 8.32888C38.4061 7.48417 39.2018 6.64164 40.0007 5.8011C40.062 5.73918 40.1256 5.67895 40.1936 5.62475C40.5666 5.31189 41.0719 5.32254 41.4455 5.63L41.4487 5.63247ZM51.348 6.7732C52.2574 9.31505 54.0173 14.4464 55.0147 17.2981C55.2794 18.0694 55.4365 18.5013 55.544 18.8242C55.55 18.8421 55.5264 18.8557 55.5125 18.8424C54.4789 17.87 41.7777 5.82611 41.1689 5.25211C41.1565 5.24084 41.1442 5.2237 41.1464 5.20316C41.1487 5.17521 41.158 5.14788 41.1721 5.12301C41.2207 5.03684 41.2695 5.03483 41.3624 5.04997C43.5308 5.31018 48.2292 5.81592 50.4938 6.10731C50.4947 6.10747 50.4952 6.10762 50.4961 6.1078C50.8799 6.20555 51.17 6.43085 51.3475 6.77136L51.348 6.7732ZM50.3339 53.5114C50.2843 53.4808 50.2588 53.4623 50.2523 53.446C50.2491 53.4382 50.25 53.4307 50.2523 53.4229C51.8453 49.284 57.2599 36.1844 57.4378 35.2777C57.4388 35.2727 57.4374 35.2679 57.4346 35.2639C54.0307 30.869 45.0369 19.3466 44.1289 18.1435C43.7252 17.5573 43.5714 16.825 43.7141 16.1409C44.1426 14.5232 44.8065 12.279 45.2893 10.5449C45.4202 10.0839 45.5161 9.74466 45.552 9.61864C45.5581 9.59885 45.5631 9.58036 45.5703 9.56506C45.581 9.54453 45.5893 9.55222 45.6078 9.56798C46.1442 10.0763 53.1848 16.7702 55.6094 19.0583C55.6112 19.0601 55.6131 19.0609 55.6149 19.0618C55.6733 19.0896 56.0474 19.5206 56.0223 19.4505C55.4958 17.899 51.5719 7.09019 51.2609 6.17136C51.2535 6.15222 51.2456 6.13662 51.2377 6.12395C51.2173 6.09261 51.1941 6.07948 51.1367 6.06713C51.1274 6.06511 51.1177 6.06328 51.107 6.06157C51.1065 6.06157 51.1061 6.06157 51.1056 6.06141C50.2648 5.97216 49.469 5.8673 48.2899 5.73759C46.3029 5.50379 42.2418 5.04715 41.1366 4.9162C41.0215 4.90338 40.9353 4.89226 40.8808 4.88748C40.8444 4.88577 40.8001 4.88437 40.7769 4.89798C40.7755 4.8989 40.7741 4.89999 40.7727 4.90122C39.848 5.85988 35.9814 9.95815 34.4835 11.5483C34.3508 11.6947 34.2621 11.779 34.1748 11.8757C34.1232 11.9257 34.0897 11.9861 34.0261 11.9557C33.9842 11.9406 33.9234 11.8999 33.8378 11.846C33.7764 11.8071 33.7024 11.7618 33.6214 11.7197C32.6058 11.1724 31.2532 11.7092 30.9575 12.782C30.682 13.669 31.2558 14.6618 32.1794 14.9181C32.5474 15.0332 32.9554 15.0098 33.3234 14.9223C33.3256 14.9218 33.3275 14.9215 33.3293 14.921C33.3307 14.9208 33.3349 14.9198 33.333 14.9202C33.3386 14.919 33.3382 14.9192 33.3407 14.9187C33.3416 14.9184 33.3434 14.9181 33.3444 14.9179C33.3595 14.9147 33.3769 14.9116 33.391 14.9094C33.4314 14.9034 33.4452 14.9081 33.452 14.9216C33.7925 15.787 41.6209 35.7484 41.8904 36.435C41.8985 36.4565 41.8962 36.4578 41.8774 36.4506C41.771 36.4049 40.9159 36.0296 39.6743 35.4862C35.8734 33.8311 28.6937 30.6597 27.9444 30.3596C27.9421 30.3588 27.9403 30.3583 27.938 30.3579C27.9043 30.357 27.8747 30.3728 27.8223 30.4334C27.822 30.4337 27.8219 30.4343 27.8214 30.4347C27.3526 31.0731 25.4666 33.7985 24.9656 34.4967C24.9028 34.5782 24.8519 34.5687 24.7443 34.5099C24.7438 34.5096 24.7429 34.509 24.7425 34.509C23.4549 33.6137 21.6911 34.2843 21.493 35.8181C21.4694 35.9313 21.4788 36.0758 21.42 36.0726C19.9329 36.0389 5.19329 35.7462 0.843304 35.6564C0.829474 35.6561 0.820027 35.6694 0.825418 35.6813C1.27958 36.6884 12.7382 50.2872 13.2416 51.0832C13.2453 51.0887 13.2453 51.0957 13.2416 51.1012C13.0194 51.4618 12.843 51.6848 12.3746 52.3791C11.0191 54.361 9.1002 57.1442 7.85415 58.9667C7.84831 58.976 7.84363 58.9843 7.83955 58.9926C7.80752 59.0603 8.002 59.0789 8.08084 59.0821C8.08849 59.0821 8.09586 59.0821 8.10332 59.0816C9.71164 58.9634 20.4744 57.8145 21.5214 57.8149C21.5273 57.8149 21.5326 57.8177 21.5361 57.8223C22.3652 58.8698 24.9363 61.9914 25.8236 63.1066C25.895 63.1951 25.9523 63.2642 25.9902 63.3129C26.0059 63.3337 26.0192 63.356 26.0209 63.3819C26.0251 63.4273 25.9923 63.4862 25.9362 63.5761C25.8988 63.6368 25.852 63.711 25.8071 63.7949C25.2378 64.8039 25.8874 66.1295 27.0868 66.3446C28.4463 66.6018 29.5686 65.4547 29.2876 64.1953C29.2803 64.1513 29.2712 64.1013 29.2691 64.0595C29.2682 64.0285 29.2761 64.0169 29.2913 64.009C30.2232 63.6549 46.5286 56.3772 47.6317 56.0699C47.6396 56.068 47.6484 56.0708 47.6531 56.0777C48.0475 56.6919 48.6667 57.1354 49.4964 57.1187C50.0544 57.115 50.5786 56.8481 50.9434 56.4532C51.5723 55.8066 51.615 54.8138 51.0653 54.1107C50.8938 53.8734 50.58 53.649 50.3353 53.5123L50.3339 53.5114Z\" className=\"bodhan-topbar__logo-line\" strokeWidth=\"1.5\" strokeMiterlimit=\"10\" />\n<path d=\"M36.2845 13.9015C36.2845 15.7359 34.7974 17.2229 32.9631 17.2229C31.1287 17.2229 29.6417 15.7359 29.6417 13.9015C29.6417 12.0672 31.1287 10.5801 32.9631 10.5801C34.7974 10.5801 36.2845 12.0672 36.2845 13.9015Z\" className=\"bodhan-topbar__logo-mark\" />\n<path d=\"M26.3206 36.2022C26.3206 38.0365 24.8335 39.5236 22.9992 39.5236C21.1649 39.5236 19.6778 38.0365 19.6778 36.2022C19.6778 34.3679 21.1649 32.8808 22.9992 32.8808C24.8335 32.8808 26.3206 34.3679 26.3206 36.2022Z\" data-fill=\"paper\" data-stroke=\"mark\" strokeWidth=\"0.926984\" strokeMiterlimit=\"10\" />\n<path d=\"M31.5399 65.1459C31.5399 66.9799 30.0528 68.4673 28.2185 68.4673C26.3842 68.4673 24.8971 66.9799 24.8971 65.1459C24.8971 63.3114 26.3842 61.8245 28.2185 61.8245C30.0528 61.8245 31.5399 63.3114 31.5399 65.1459Z\" data-fill=\"paper\" data-stroke=\"mark\" strokeWidth=\"0.926984\" strokeMiterlimit=\"10\" />\n<path d=\"M52.8915 55.1818C52.8915 57.0158 51.4046 58.5032 49.5701 58.5032C47.7361 58.5032 46.2488 57.0158 46.2488 55.1818C46.2488 53.3473 47.7361 51.8604 49.5701 51.8604C51.4046 51.8604 52.8915 53.3473 52.8915 55.1818Z\" data-fill=\"paper\" data-stroke=\"mark\" strokeWidth=\"0.926984\" strokeMiterlimit=\"10\" />\n</g>\n<g>\n<g>\n<g>\n<path d=\"M103.592 35.052C105.923 35.42 108.039 36.3707 109.94 37.904C111.903 39.4373 113.436 41.3387 114.54 43.608C115.705 45.8773 116.288 48.3 116.288 50.876C116.288 54.1267 115.46 57.0707 113.804 59.708C112.148 62.284 109.725 64.3387 106.536 65.872C103.408 67.344 99.6974 68.08 95.404 68.08H71.484V3.956H94.484C98.8387 3.956 102.549 4.692 105.616 6.164C108.683 7.57467 110.983 9.50667 112.516 11.96C114.049 14.4133 114.816 17.1733 114.816 20.24C114.816 24.0427 113.773 27.2013 111.688 29.716C109.664 32.1693 106.965 33.948 103.592 35.052ZM79.856 31.648H93.932C97.8574 31.648 100.893 30.728 103.04 28.888C105.187 27.048 106.26 24.5027 106.26 21.252C106.26 18.0013 105.187 15.456 103.04 13.616C100.893 11.776 97.796 10.856 93.748 10.856H79.856V31.648ZM94.668 61.18C98.8387 61.18 102.089 60.1987 104.42 58.236C106.751 56.2733 107.916 53.544 107.916 50.048C107.916 46.4907 106.689 43.7 104.236 41.676C101.783 39.5907 98.5014 38.548 94.392 38.548H79.856V61.18H94.668ZM149.894 68.908C145.171 68.908 140.878 67.8347 137.014 65.688C133.211 63.5413 130.206 60.5053 127.998 56.58C125.851 52.5933 124.778 47.9933 124.778 42.78C124.778 37.628 125.882 33.0893 128.09 29.164C130.359 25.1773 133.426 22.1413 137.29 20.056C141.154 17.9093 145.478 16.836 150.262 16.836C155.046 16.836 159.37 17.9093 163.234 20.056C167.098 22.1413 170.134 25.1467 172.342 29.072C174.611 32.9973 175.746 37.5667 175.746 42.78C175.746 47.9933 174.581 52.5933 172.25 56.58C169.981 60.5053 166.883 63.5413 162.958 65.688C159.033 67.8347 154.678 68.908 149.894 68.908ZM149.894 61.548C152.899 61.548 155.721 60.8427 158.358 59.432C160.995 58.0213 163.111 55.9053 164.706 53.084C166.362 50.2627 167.19 46.828 167.19 42.78C167.19 38.732 166.393 35.2973 164.798 32.476C163.203 29.6547 161.118 27.5693 158.542 26.22C155.966 24.8093 153.175 24.104 150.17 24.104C147.103 24.104 144.282 24.8093 141.706 26.22C139.191 27.5693 137.167 29.6547 135.634 32.476C134.101 35.2973 133.334 38.732 133.334 42.78C133.334 46.8893 134.07 50.3547 135.542 53.176C137.075 55.9973 139.099 58.1133 141.614 59.524C144.129 60.8733 146.889 61.548 149.894 61.548ZM183.626 42.688C183.626 37.536 184.668 33.028 186.754 29.164C188.839 25.2387 191.691 22.2027 195.31 20.056C198.99 17.9093 203.099 16.836 207.638 16.836C211.563 16.836 215.212 17.756 218.586 19.596C221.959 21.3747 224.535 23.736 226.314 26.68V9.53674e-07H234.778V68.08H226.314V58.604C224.658 61.6093 222.204 64.0933 218.954 66.056C215.703 67.9573 211.9 68.908 207.546 68.908C203.068 68.908 198.99 67.804 195.31 65.596C191.691 63.388 188.839 60.2907 186.754 56.304C184.668 52.3173 183.626 47.7787 183.626 42.688ZM226.314 42.78C226.314 38.9773 225.547 35.6653 224.014 32.844C222.48 30.0227 220.395 27.876 217.758 26.404C215.182 24.8707 212.33 24.104 209.202 24.104C206.074 24.104 203.222 24.84 200.646 26.312C198.07 27.784 196.015 29.9307 194.482 32.752C192.948 35.5733 192.182 38.8853 192.182 42.688C192.182 46.552 192.948 49.9253 194.482 52.808C196.015 55.6293 198.07 57.8067 200.646 59.34C203.222 60.812 206.074 61.548 209.202 61.548C212.33 61.548 215.182 60.812 217.758 59.34C220.395 57.8067 222.48 55.6293 224.014 52.808C225.547 49.9253 226.314 46.5827 226.314 42.78ZM273.949 16.744C277.752 16.744 281.187 17.572 284.253 19.228C287.32 20.8227 289.712 23.2453 291.429 26.496C293.208 29.7467 294.097 33.7027 294.097 38.364V68.08H285.817V39.56C285.817 34.5307 284.56 30.6973 282.045 28.06C279.531 25.3613 276.096 24.012 271.741 24.012C267.325 24.012 263.799 25.392 261.161 28.152C258.585 30.912 257.297 34.9293 257.297 40.204V68.08H248.925V9.53674e-07H257.297V24.84C258.953 22.264 261.223 20.2707 264.105 18.86C267.049 17.4493 270.331 16.744 273.949 16.744ZM304.645 42.688C304.645 37.536 305.688 33.028 307.773 29.164C309.858 25.2387 312.71 22.2027 316.329 20.056C320.009 17.9093 324.088 16.836 328.565 16.836C332.981 16.836 336.814 17.7867 340.065 19.688C343.316 21.5893 345.738 23.9813 347.333 26.864V17.664H355.797V68.08H347.333V58.696C345.677 61.64 343.193 64.0933 339.881 66.056C336.63 67.9573 332.828 68.908 328.473 68.908C323.996 68.908 319.948 67.804 316.329 65.596C312.71 63.388 309.858 60.2907 307.773 56.304C305.688 52.3173 304.645 47.7787 304.645 42.688ZM347.333 42.78C347.333 38.9773 346.566 35.6653 345.033 32.844C343.5 30.0227 341.414 27.876 338.777 26.404C336.201 24.8707 333.349 24.104 330.221 24.104C327.093 24.104 324.241 24.84 321.665 26.312C319.089 27.784 317.034 29.9307 315.501 32.752C313.968 35.5733 313.201 38.8853 313.201 42.688C313.201 46.552 313.968 49.9253 315.501 52.808C317.034 55.6293 319.089 57.8067 321.665 59.34C324.241 60.812 327.093 61.548 330.221 61.548C333.349 61.548 336.201 60.812 338.777 59.34C341.414 57.8067 343.5 55.6293 345.033 52.808C346.566 49.9253 347.333 46.5827 347.333 42.78ZM394.509 16.744C400.642 16.744 405.61 18.6147 409.413 22.356C413.216 26.036 415.117 31.372 415.117 38.364V68.08H406.837V39.56C406.837 34.5307 405.58 30.6973 403.065 28.06C400.55 25.3613 397.116 24.012 392.761 24.012C388.345 24.012 384.818 25.392 382.181 28.152C379.605 30.912 378.317 34.9293 378.317 40.204V68.08H369.945V17.664H378.317V24.84C379.973 22.264 382.212 20.2707 385.033 18.86C387.916 17.4493 391.074 16.744 394.509 16.744Z\" className=\"bodhan-topbar__logo-word\" />\n<path d=\"M484.56 51.52H453.924L447.76 68.08H443.252L466.988 4.968H471.588L495.232 68.08H490.724L484.56 51.52ZM483.272 48.024L469.288 10.396L455.212 48.024H483.272ZM509.764 3.496V68.08H505.624V3.496H509.764Z\" className=\"bodhan-topbar__logo-mark\" />\n<circle cx=\"431.4\" cy=\"63.08\" r=\"6\" className=\"bodhan-topbar__logo-mark\" />\n</g>\n</g>\n</g>\n</g>\n </svg>\n);\nexport const TopbarLogoMark = () => (\n <svg className=\"bodhan-topbar__logo-svg\" viewBox=\"0 0 59 65\" aria-hidden=\"true\" focusable=\"false\">\n<g>\n<g>\n<path d=\"M22.7573 33.4746C21.9345 34.2017 8.61201 53.9863 8.11296 54.5573L8.1132 54.5577C8.30522 54.5462 11.4567 54.2356 15.9387 53.8064C27.1922 52.6347 46.6181 51.0171 47.4547 50.6853C47.4607 50.683 47.4649 50.6774 47.4658 50.6709C47.527 50.1689 47.7828 49.6637 48.2032 49.3513C48.288 49.2832 48.3979 49.2132 48.4818 49.1576C48.5198 49.1326 48.5457 49.1145 48.5601 49.1006C48.5745 49.0867 48.5782 49.0779 48.5749 49.0631C48.5499 48.9963 48.4813 48.8244 48.3789 48.5629C46.5676 43.9832 43.4023 35.9103 42.0483 32.497C42.0179 32.4204 41.9998 32.3727 41.991 32.3528C41.9816 32.333 41.9678 32.329 41.9452 32.3193C41.1383 31.9704 31.3629 27.7021 28.06 26.2669C28.0434 26.2604 28.0342 26.259 28.021 26.2704C28.0127 26.2777 28.0024 26.2905 27.9881 26.3103C27.6107 26.8404 25.5845 29.7272 25.1548 30.3318C25.1207 30.379 25.0999 30.4237 25.1216 30.4811C25.1421 30.5398 25.2026 30.6196 25.2733 30.7277C25.5109 31.0753 25.6282 31.5126 25.5813 31.9356C25.4956 32.7776 24.8144 33.4641 23.9347 33.6019C23.5459 33.6686 23.1394 33.6023 22.777 33.4711C22.7702 33.4685 22.7626 33.4699 22.7573 33.4746ZM22.7573 33.4746C22.7741 33.4482 22.4768 33.4634 22.4392 33.4297C22.4383 33.4293 22.4378 33.4289 22.4373 33.4284C22.0425 33.1524 21.7151 32.7951 21.5802 32.3311C21.5596 32.2622 21.5365 32.1835 21.5227 32.1198C21.5022 32.0341 21.4913 31.9855 21.4785 31.968C21.4764 31.9652 21.4746 31.9634 21.4727 31.9617C20.2025 31.9234 4.81893 31.2933 0.802262 31.2085C0.731681 31.2072 0.681114 31.2728 0.703886 31.3362L0.858604 31.5418C3.34158 34.6107 12.8426 46.2435 13.3013 46.8049C13.3091 46.8147 13.3246 46.8142 13.3317 46.804C13.477 46.6014 13.6076 46.3998 13.8847 46.0011C15.7394 43.314 21.5183 35.2605 22.7573 33.4746ZM49.5404 52.8577C48.2009 52.9221 47.1979 51.6628 47.6211 50.4577C47.876 49.6934 48.6903 49.1548 49.5348 49.1993C50.6236 49.2281 51.4991 50.1856 51.3707 51.2197C51.2794 52.1077 50.4855 52.821 49.5446 52.8577H49.5404ZM29.1765 59.6789C28.753 58.878 27.8337 58.4483 26.9039 58.7176C26.6982 58.776 26.4962 58.8803 26.3279 58.9957C26.2385 59.0546 26.1894 59.0949 26.1317 59.113C26.087 59.125 26.0678 59.0912 26.0281 59.043C26.0183 59.0304 26.0084 59.0189 25.9982 59.0059C24.8539 57.5941 22.4942 54.6838 21.6291 53.6141C21.6204 53.6034 21.6269 53.5877 21.641 53.5858C22.7929 53.4097 46.581 51.1729 47.4301 51.0677C47.4398 51.0672 47.4463 51.0718 47.4524 51.0936C47.4635 51.1261 47.4644 51.1645 47.4723 51.1988C47.4922 51.3235 47.5279 51.4904 47.5604 51.6104C47.5673 51.6461 47.6044 51.7365 47.5678 51.7495C43.1004 53.6998 33.5394 57.8736 29.2487 59.7465C29.2431 59.7484 29.2379 59.7493 29.2325 59.7479C29.2197 59.7447 29.2044 59.7243 29.1774 59.6807L29.1765 59.6789ZM29.2673 60.3282C29.3307 61.5185 28.0901 62.4093 26.9029 62.0329C26.1486 61.8054 25.618 61.0782 25.665 60.3268C25.6965 59.3632 26.6384 58.5892 27.6532 58.7028C28.5283 58.7829 29.2312 59.4884 29.2672 60.3245L29.2673 60.3282ZM33.5969 10.6185C33.8599 10.4664 34.1383 10.236 34.2996 9.97472C34.3088 9.96068 34.3178 9.94654 34.3265 9.93231C34.6844 9.34864 34.6367 8.61127 34.2437 8.05276C34.1959 7.97582 34.1635 7.91872 34.1613 7.87116C34.1609 7.86328 34.1613 7.8554 34.1621 7.8478C34.1695 7.79269 34.2243 7.74435 34.2976 7.66547C34.6389 7.31307 35.1778 6.72624 35.581 6.30558C36.1858 5.67676 36.5899 5.21596 36.9313 4.88488C36.9396 4.87687 36.9532 4.87779 36.9601 4.88688C40.9995 10.1576 56.6731 30.047 57.3549 31.2133C57.3577 31.218 57.3581 31.2234 57.3558 31.2283C55.7776 35.2264 51.4282 46.0489 50.1592 49.2188C50.1564 49.2253 50.1503 49.2299 50.1434 49.2304C50.1216 49.2327 50.0818 49.2253 50.0155 49.2123C49.9784 49.2049 49.933 49.1961 49.8815 49.1868C49.8352 49.1789 49.7842 49.1706 49.73 49.1641C49.5047 49.1344 49.2697 49.1428 49.0477 49.1854C48.9346 49.2104 48.8414 49.2281 48.7413 49.2582C48.7182 49.2647 48.6477 49.2851 48.6496 49.2716C48.4201 48.689 40.9694 29.6899 36.6069 18.5672C34.8644 14.1247 33.6148 10.9386 33.5151 10.6841C33.5119 10.6715 33.5188 10.6698 33.5351 10.657C33.5508 10.6469 33.5762 10.6302 33.5932 10.6205L33.5969 10.6185ZM32.8116 10.7573C31.5739 10.8168 30.6482 9.65227 31.0414 8.53919C31.2897 7.83608 32.0347 7.3362 32.8155 7.3813C33.8167 7.41189 34.6195 8.29521 34.5009 9.24583C34.4169 10.0654 33.684 10.7237 32.8157 10.7572L32.8116 10.7573ZM41.4487 1.44137C42.6092 2.49439 43.7229 3.59575 44.867 4.66574C44.972 4.766 45.0792 4.86787 45.1685 4.98046C45.278 5.11635 45.3522 5.27232 45.3735 5.44052C45.3933 5.60093 45.3857 5.69451 45.3553 5.8153C45.1522 6.52857 44.2356 9.76254 43.8462 11.1321C43.804 11.3 43.7063 11.4589 43.5793 11.588C43.1676 11.9943 42.5269 11.8979 42.1783 11.4862C41.6538 10.8109 38.7148 7.03989 37.5013 5.47941C37.3537 5.30648 37.2694 5.08516 37.2657 4.86032C37.2607 4.58375 37.4244 4.33945 37.6121 4.13778C38.4061 3.29307 39.2018 2.45054 40.0007 1.61C40.062 1.54808 40.1256 1.48785 40.1936 1.43365C40.5666 1.12079 41.0719 1.13144 41.4455 1.4389L41.4487 1.44137ZM51.348 2.5821C52.2574 5.12395 54.0173 10.2553 55.0147 13.107C55.2794 13.8783 55.4365 14.3102 55.544 14.6331C55.55 14.651 55.5264 14.6646 55.5125 14.6513C54.4789 13.6789 41.7777 1.63501 41.1689 1.06101C41.1565 1.04974 41.1442 1.0326 41.1464 1.01206C41.1487 0.984106 41.158 0.956774 41.1721 0.931913C41.2207 0.84574 41.2695 0.843733 41.3624 0.858866C43.5308 1.11908 48.2292 1.62481 50.4938 1.91621C50.4947 1.91637 50.4952 1.91652 50.4961 1.91669C50.8799 2.01444 51.17 2.23975 51.3475 2.58026L51.348 2.5821ZM50.3339 49.3203C50.2843 49.2897 50.2588 49.2712 50.2523 49.2549C50.2491 49.2471 50.25 49.2396 50.2523 49.2318C51.8453 45.0929 57.2599 31.9933 57.4378 31.0866C57.4388 31.0816 57.4374 31.0768 57.4346 31.0728C54.0307 26.6779 45.0369 15.1555 44.1289 13.9524C43.7252 13.3662 43.5714 12.6339 43.7141 11.9498C44.1426 10.3321 44.8065 8.08794 45.2893 6.35378C45.4202 5.89279 45.5161 5.55356 45.552 5.42754C45.5581 5.40775 45.5631 5.38926 45.5703 5.37396C45.581 5.35343 45.5893 5.36112 45.6078 5.37688C46.1442 5.88524 53.1848 12.5791 55.6094 14.8672C55.6112 14.869 55.6131 14.8698 55.6149 14.8707C55.6733 14.8985 56.0474 15.3295 56.0223 15.2594C55.4958 13.7079 51.5719 2.89909 51.2609 1.98026C51.2535 1.96112 51.2456 1.94552 51.2377 1.93285C51.2173 1.90151 51.1941 1.88838 51.1367 1.87603C51.1274 1.87401 51.1177 1.87218 51.107 1.87047C51.1065 1.87047 51.1061 1.87047 51.1056 1.87031C50.2648 1.78106 49.469 1.6762 48.2899 1.54648C46.3029 1.31269 42.2418 0.856053 41.1366 0.725102C41.0215 0.712282 40.9353 0.701163 40.8808 0.696375C40.8444 0.69467 40.8001 0.693265 40.7769 0.706878C40.7755 0.707796 40.7741 0.708889 40.7727 0.710118C39.848 1.66878 35.9814 5.76705 34.4835 7.35715C34.3508 7.50357 34.2621 7.58788 34.1748 7.68456C34.1232 7.73457 34.0897 7.79497 34.0261 7.76456C33.9842 7.74954 33.9234 7.7088 33.8378 7.6549C33.7764 7.61596 33.7024 7.57073 33.6214 7.5286C32.6058 6.9813 31.2532 7.51807 30.9575 8.59087C30.682 9.47786 31.2558 10.4707 32.1794 10.727C32.5474 10.8421 32.9554 10.8187 33.3234 10.7312C33.3256 10.7307 33.3275 10.7304 33.3293 10.7299C33.3307 10.7297 33.3349 10.7287 33.333 10.7291C33.3386 10.7279 33.3382 10.7281 33.3407 10.7276C33.3416 10.7273 33.3434 10.727 33.3444 10.7268C33.3595 10.7236 33.3769 10.7205 33.391 10.7183C33.4314 10.7123 33.4452 10.717 33.452 10.7305C33.7925 11.5959 41.6209 31.5573 41.8904 32.2439C41.8985 32.2654 41.8962 32.2667 41.8774 32.2595C41.771 32.2138 40.9159 31.8385 39.6743 31.2951C35.8734 29.6399 28.6937 26.4686 27.9444 26.1685C27.9421 26.1677 27.9403 26.1672 27.938 26.1668C27.9043 26.1659 27.8747 26.1817 27.8223 26.2423C27.822 26.2426 27.8219 26.2432 27.8214 26.2436C27.3526 26.882 25.4666 29.6074 24.9656 30.3056C24.9028 30.3871 24.8519 30.3775 24.7443 30.3188C24.7438 30.3185 24.7429 30.3179 24.7425 30.3179C23.4549 29.4226 21.6911 30.0932 21.493 31.627C21.4694 31.7402 21.4788 31.8847 21.42 31.8815C19.9329 31.8478 5.19329 31.5551 0.843304 31.4653C0.829474 31.465 0.820027 31.4783 0.825418 31.4902C1.27958 32.4973 12.7382 46.0961 13.2416 46.8921C13.2453 46.8976 13.2453 46.9046 13.2416 46.9101C13.0194 47.2707 12.843 47.4937 12.3746 48.188C11.0191 50.1699 9.1002 52.9531 7.85415 54.7756C7.84831 54.7849 7.84363 54.7932 7.83955 54.8015C7.80752 54.8692 8.002 54.8878 8.08084 54.891C8.08849 54.891 8.09586 54.891 8.10332 54.8905C9.71164 54.7723 20.4744 53.6233 21.5214 53.6238C21.5273 53.6238 21.5326 53.6266 21.5361 53.6312C22.3652 54.6787 24.9363 57.8003 25.8236 58.9155C25.895 59.004 25.9523 59.0731 25.9902 59.1218C26.0059 59.1426 26.0192 59.1649 26.0209 59.1908C26.0251 59.2362 25.9923 59.2951 25.9362 59.385C25.8988 59.4457 25.852 59.5199 25.8071 59.6038C25.2378 60.6128 25.8874 61.9384 27.0868 62.1535C28.4463 62.4107 29.5686 61.2636 29.2876 60.0042C29.2803 59.9602 29.2712 59.9102 29.2691 59.8684C29.2682 59.8374 29.2761 59.8258 29.2913 59.8179C30.2232 59.4638 46.5286 52.1861 47.6317 51.8788C47.6396 51.8769 47.6484 51.8797 47.6531 51.8866C48.0475 52.5008 48.6667 52.9443 49.4964 52.9276C50.0544 52.9239 50.5786 52.657 50.9434 52.2621C51.5723 51.6155 51.615 50.6227 51.0653 49.9196C50.8938 49.6823 50.58 49.4579 50.3353 49.3212L50.3339 49.3203Z\" className=\"bodhan-topbar__logo-line\" strokeWidth=\"1.5\" strokeMiterlimit=\"10\" />\n<path d=\"M36.2845 9.71039C36.2845 11.5448 34.7974 13.0318 32.9631 13.0318C31.1287 13.0318 29.6417 11.5448 29.6417 9.71039C29.6417 7.87608 31.1287 6.38901 32.9631 6.38901C34.7974 6.38901 36.2845 7.87608 36.2845 9.71039Z\" className=\"bodhan-topbar__logo-mark\" />\n<path d=\"M26.3206 32.0111C26.3206 33.8454 24.8335 35.3325 22.9992 35.3325C21.1649 35.3325 19.6778 33.8454 19.6778 32.0111C19.6778 30.1767 21.1649 28.6897 22.9992 28.6897C24.8335 28.6897 26.3206 30.1767 26.3206 32.0111Z\" data-fill=\"paper\" data-stroke=\"mark\" strokeWidth=\"0.926984\" strokeMiterlimit=\"10\" />\n<path d=\"M31.5399 60.9548C31.5399 62.7888 30.0528 64.2762 28.2185 64.2762C26.3842 64.2762 24.8971 62.7888 24.8971 60.9548C24.8971 59.1203 26.3842 57.6334 28.2185 57.6334C30.0528 57.6334 31.5399 59.1203 31.5399 60.9548Z\" data-fill=\"paper\" data-stroke=\"mark\" strokeWidth=\"0.926984\" strokeMiterlimit=\"10\" />\n<path d=\"M52.8915 50.9907C52.8915 52.8247 51.4046 54.312 49.5701 54.312C47.7361 54.312 46.2488 52.8247 46.2488 50.9907C46.2488 49.1562 47.7361 47.6693 49.5701 47.6693C51.4046 47.6693 52.8915 49.1562 52.8915 50.9907Z\" data-fill=\"paper\" data-stroke=\"mark\" strokeWidth=\"0.926984\" strokeMiterlimit=\"10\" />\n</g>\n</g>\n </svg>\n);\n"],"mappings":";;AACA,IAAa,uBACX,oBAAC,OAAD;CAAK,WAAU;CAA0B,SAAQ;CAAa,eAAY;CAAO,WAAU;CAC7F,UAAA,qBAAC,KAAD,EAAA,UAAA,CACA,qBAAC,KAAD,EAAA,UAAA;EACA,oBAAC,QAAD;GAAM,GAAE;GAAuuR,WAAU;GAA2B,aAAY;GAAM,kBAAiB;EAAM,CAAA;EAC7zR,oBAAC,QAAD;GAAM,GAAE;GAAoN,WAAU;EAA4B,CAAA;EAClQ,oBAAC,QAAD;GAAM,GAAE;GAAoN,aAAU;GAAQ,eAAY;GAAO,aAAY;GAAW,kBAAiB;EAAM,CAAA;EAC/S,oBAAC,QAAD;GAAM,GAAE;GAAoN,aAAU;GAAQ,eAAY;GAAO,aAAY;GAAW,kBAAiB;EAAM,CAAA;EAC/S,oBAAC,QAAD;GAAM,GAAE;GAAoN,aAAU;GAAQ,eAAY;GAAO,aAAY;GAAW,kBAAiB;EAAM,CAAA;CAC5S,EAAA,CAAA,GACH,oBAAC,KAAD,EAAA,UACA,oBAAC,KAAD,EAAA,UACA,qBAAC,KAAD,EAAA,UAAA;EACA,oBAAC,QAAD;GAAM,GAAE;GAA4hK,WAAU;EAA4B,CAAA;EAC1kK,oBAAC,QAAD;GAAM,GAAE;GAAwM,WAAU;EAA4B,CAAA;EACtP,oBAAC,UAAD;GAAQ,IAAG;GAAQ,IAAG;GAAQ,GAAE;GAAI,WAAU;EAA4B,CAAA;CACvE,EAAA,CAAA,EACA,CAAA,EACA,CAAA,CACA,EAAA,CAAA;AACI,CAAA;AAEP,IAAa,uBACX,oBAAC,OAAD;CAAK,WAAU;CAA0B,SAAQ;CAAY,eAAY;CAAO,WAAU;CAC5F,UAAA,oBAAC,KAAD,EAAA,UACA,qBAAC,KAAD,EAAA,UAAA;EACA,oBAAC,QAAD;GAAM,GAAE;GAAswR,WAAU;GAA2B,aAAY;GAAM,kBAAiB;EAAM,CAAA;EAC51R,oBAAC,QAAD;GAAM,GAAE;GAAoN,WAAU;EAA4B,CAAA;EAClQ,oBAAC,QAAD;GAAM,GAAE;GAAoN,aAAU;GAAQ,eAAY;GAAO,aAAY;GAAW,kBAAiB;EAAM,CAAA;EAC/S,oBAAC,QAAD;GAAM,GAAE;GAAoN,aAAU;GAAQ,eAAY;GAAO,aAAY;GAAW,kBAAiB;EAAM,CAAA;EAC/S,oBAAC,QAAD;GAAM,GAAE;GAAiN,aAAU;GAAQ,eAAY;GAAO,aAAY;GAAW,kBAAiB;EAAM,CAAA;CACzS,EAAA,CAAA,EACA,CAAA;AACI,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export type TreeItemNodeType = 'parent' | 'leaf';
3
+ export interface TreeItemProps extends Omit<HTMLAttributes<HTMLLIElement>, 'onSelect'> {
4
+ /** Figma `Label`. */
5
+ label?: ReactNode;
6
+ /** Figma `Node Type`. Parent shows the expand chevron and owns `children` (nested TreeItems). */
7
+ nodeType?: TreeItemNodeType;
8
+ /** Figma `Expanded`. Controlled. */
9
+ expanded?: boolean;
10
+ defaultExpanded?: boolean;
11
+ onExpandedChange?: (expanded: boolean) => void;
12
+ /** Figma `State=Selected` (sets aria-selected). */
13
+ selected?: boolean;
14
+ onSelect?: () => void;
15
+ /** Figma `State=Disabled`. */
16
+ disabled?: boolean;
17
+ /** Figma `Show Checkbox`: a checkbox for multi-select (checked state is yours). */
18
+ showCheckbox?: boolean;
19
+ checked?: boolean;
20
+ indeterminate?: boolean;
21
+ onCheckedChange?: (checked: boolean) => void;
22
+ /** Figma `Leading Icon` (`Show Leading Icon` = set / unset). */
23
+ leadingIcon?: string;
24
+ /** Figma `Trailing Content`: a string / number renders the soft neutral count pill; a node renders as is. */
25
+ trailingContent?: ReactNode;
26
+ /** Depth (1 = root); sets aria-level and the indent (Tree/Item/Indent per level). */
27
+ level?: number;
28
+ /** Force `State=Hover|Focus` for documentation. Leave unset in product code. */
29
+ forceState?: 'hover' | 'focus';
30
+ /** Nested TreeItems (shown when expanded). */
31
+ children?: ReactNode;
32
+ }
33
+ /**
34
+ * Bodhan Tree Item (Web) — `<li role="treeitem">` inside a `role="tree"` list. One focus stop per row:
35
+ * ↑/↓ move between visible rows, → expands (or moves into the first child), ← collapses (or moves to the parent),
36
+ * Enter / Space selects, Home / End jump. Expand / collapse animates the chevron (Motion/Duration/Standard).
37
+ */
38
+ export declare function TreeItem({ label, nodeType, expanded, defaultExpanded, onExpandedChange, selected, onSelect, disabled, showCheckbox, checked, indeterminate, onCheckedChange, leadingIcon, trailingContent, level, forceState, children, className, style, onKeyDown, ...rest }: TreeItemProps): import("react").JSX.Element;
@@ -0,0 +1,126 @@
1
+ import { Icon } from "../Icon/Icon.js";
2
+ import { Checkbox } from "../Checkbox/Checkbox.js";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ import { useState } from "react";
5
+ // src/components/TreeItem/TreeItem.tsx
6
+ /** Move focus to the previous / next visible treeitem in the same tree. */
7
+ function moveFocus(from, dir) {
8
+ const tree = from.closest("[role=\"tree\"]") ?? from.parentElement;
9
+ if (!tree) return;
10
+ const items = Array.from(tree.querySelectorAll("[role=\"treeitem\"]")).filter((el) => el.offsetParent !== null);
11
+ const i = items.indexOf(from);
12
+ (dir === "first" ? items[0] : dir === "last" ? items[items.length - 1] : items[i + dir])?.focus();
13
+ }
14
+ /**
15
+ * Bodhan Tree Item (Web) — `<li role="treeitem">` inside a `role="tree"` list. One focus stop per row:
16
+ * ↑/↓ move between visible rows, → expands (or moves into the first child), ← collapses (or moves to the parent),
17
+ * Enter / Space selects, Home / End jump. Expand / collapse animates the chevron (Motion/Duration/Standard).
18
+ */
19
+ function TreeItem({ label = "Motion", nodeType = "parent", expanded, defaultExpanded = true, onExpandedChange, selected, onSelect, disabled, showCheckbox = true, checked, indeterminate, onCheckedChange, leadingIcon, trailingContent = "6", level = 1, forceState, children, className, style, onKeyDown, ...rest }) {
20
+ const [inner, setInner] = useState(defaultExpanded);
21
+ const isParent = nodeType === "parent";
22
+ const open = isParent && (expanded ?? inner);
23
+ const setOpen = (o) => {
24
+ if (!isParent || disabled) return;
25
+ if (expanded === void 0) setInner(o);
26
+ onExpandedChange?.(o);
27
+ };
28
+ const key = (e) => {
29
+ onKeyDown?.(e);
30
+ if (e.defaultPrevented || e.target !== e.currentTarget) return;
31
+ const el = e.currentTarget;
32
+ const k = e.key;
33
+ if (k === "ArrowDown" || k === "ArrowUp") {
34
+ e.preventDefault();
35
+ moveFocus(el, k === "ArrowDown" ? 1 : -1);
36
+ } else if (k === "Home" || k === "End") {
37
+ e.preventDefault();
38
+ moveFocus(el, k === "Home" ? "first" : "last");
39
+ } else if (k === "ArrowRight" && isParent) {
40
+ e.preventDefault();
41
+ if (!open) setOpen(true);
42
+ else el.querySelector("[role=\"treeitem\"]")?.focus();
43
+ } else if (k === "ArrowLeft") {
44
+ e.preventDefault();
45
+ if (open) setOpen(false);
46
+ else el.parentElement?.closest("[role=\"treeitem\"]")?.focus();
47
+ } else if ((k === "Enter" || k === " ") && !disabled) {
48
+ e.preventDefault();
49
+ onSelect?.();
50
+ }
51
+ };
52
+ const rowClick = (e) => {
53
+ e.stopPropagation();
54
+ if (!disabled) onSelect?.();
55
+ };
56
+ const pill = typeof trailingContent === "string" || typeof trailingContent === "number";
57
+ const state = disabled ? "disabled" : selected ? "selected" : forceState;
58
+ return /* @__PURE__ */ jsxs("li", {
59
+ role: "treeitem",
60
+ tabIndex: disabled ? -1 : 0,
61
+ "aria-level": level,
62
+ "aria-expanded": isParent ? open : void 0,
63
+ "aria-selected": selected ?? false,
64
+ "aria-disabled": disabled || void 0,
65
+ className: ["bodhan-tree-item", className].filter(Boolean).join(" "),
66
+ "data-state": state,
67
+ "data-node-type": nodeType,
68
+ style: {
69
+ ["--_level"]: level - 1,
70
+ ...style
71
+ },
72
+ onKeyDown: key,
73
+ ...rest,
74
+ children: [/* @__PURE__ */ jsxs("div", {
75
+ className: "bodhan-tree-item__row",
76
+ onClick: rowClick,
77
+ children: [
78
+ isParent ? /* @__PURE__ */ jsx("span", {
79
+ className: "bodhan-tree-item__expand",
80
+ "aria-hidden": "true",
81
+ "data-open": open || void 0,
82
+ onClick: (e) => {
83
+ e.stopPropagation();
84
+ setOpen(!open);
85
+ },
86
+ children: /* @__PURE__ */ jsx(Icon, { name: "chevron_right" })
87
+ }) : /* @__PURE__ */ jsx("span", {
88
+ className: "bodhan-tree-item__expand",
89
+ "aria-hidden": "true"
90
+ }),
91
+ showCheckbox && /* @__PURE__ */ jsx("span", {
92
+ className: "bodhan-tree-item__check",
93
+ onClick: (e) => e.stopPropagation(),
94
+ children: /* @__PURE__ */ jsx(Checkbox, {
95
+ label: null,
96
+ "aria-label": typeof label === "string" ? `Select ${label}` : "Select",
97
+ tabIndex: -1,
98
+ disabled,
99
+ checked: checked ?? false,
100
+ indeterminate,
101
+ onChange: (e) => onCheckedChange?.(e.target.checked)
102
+ })
103
+ }),
104
+ leadingIcon && /* @__PURE__ */ jsx(Icon, {
105
+ name: leadingIcon,
106
+ className: "bodhan-tree-item__icon"
107
+ }),
108
+ /* @__PURE__ */ jsx("span", {
109
+ className: "bodhan-tree-item__label",
110
+ children: label
111
+ }),
112
+ trailingContent != null && trailingContent !== "" && (pill ? /* @__PURE__ */ jsx("span", {
113
+ className: "bodhan-tree-item__count",
114
+ children: trailingContent
115
+ }) : trailingContent)
116
+ ]
117
+ }), isParent && open && children && /* @__PURE__ */ jsx("ul", {
118
+ role: "group",
119
+ className: "bodhan-tree-item__group",
120
+ children
121
+ })]
122
+ });
123
+ }
124
+ export { TreeItem };
125
+
126
+ //# sourceMappingURL=TreeItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreeItem.js","names":[],"sources":["../../../src/components/TreeItem/TreeItem.tsx"],"sourcesContent":["import { useState, type HTMLAttributes, type KeyboardEvent, type MouseEvent, type ReactNode } from 'react';\nimport { Icon } from '../Icon/Icon';\nimport { Checkbox } from '../Checkbox/Checkbox';\n\nexport type TreeItemNodeType = 'parent' | 'leaf';\n\nexport interface TreeItemProps extends Omit<HTMLAttributes<HTMLLIElement>, 'onSelect'> {\n /** Figma `Label`. */\n label?: ReactNode;\n /** Figma `Node Type`. Parent shows the expand chevron and owns `children` (nested TreeItems). */\n nodeType?: TreeItemNodeType;\n /** Figma `Expanded`. Controlled. */\n expanded?: boolean;\n defaultExpanded?: boolean;\n onExpandedChange?: (expanded: boolean) => void;\n /** Figma `State=Selected` (sets aria-selected). */\n selected?: boolean;\n onSelect?: () => void;\n /** Figma `State=Disabled`. */\n disabled?: boolean;\n /** Figma `Show Checkbox`: a checkbox for multi-select (checked state is yours). */\n showCheckbox?: boolean;\n checked?: boolean;\n indeterminate?: boolean;\n onCheckedChange?: (checked: boolean) => void;\n /** Figma `Leading Icon` (`Show Leading Icon` = set / unset). */\n leadingIcon?: string;\n /** Figma `Trailing Content`: a string / number renders the soft neutral count pill; a node renders as is. */\n trailingContent?: ReactNode;\n /** Depth (1 = root); sets aria-level and the indent (Tree/Item/Indent per level). */\n level?: number;\n /** Force `State=Hover|Focus` for documentation. Leave unset in product code. */\n forceState?: 'hover' | 'focus';\n /** Nested TreeItems (shown when expanded). */\n children?: ReactNode;\n}\n\n/** Move focus to the previous / next visible treeitem in the same tree. */\nfunction moveFocus(from: HTMLElement, dir: 1 | -1 | 'first' | 'last') {\n const tree = from.closest('[role=\"tree\"]') ?? from.parentElement;\n if (!tree) return;\n const items = Array.from(tree.querySelectorAll<HTMLElement>('[role=\"treeitem\"]')).filter((el) => el.offsetParent !== null);\n const i = items.indexOf(from);\n const next = dir === 'first' ? items[0] : dir === 'last' ? items[items.length - 1] : items[i + dir];\n next?.focus();\n}\n\n/**\n * Bodhan Tree Item (Web) — `<li role=\"treeitem\">` inside a `role=\"tree\"` list. One focus stop per row:\n * ↑/↓ move between visible rows, → expands (or moves into the first child), ← collapses (or moves to the parent),\n * Enter / Space selects, Home / End jump. Expand / collapse animates the chevron (Motion/Duration/Standard).\n */\nexport function TreeItem({\n label = 'Motion', nodeType = 'parent', expanded, defaultExpanded = true, onExpandedChange, selected, onSelect, disabled,\n showCheckbox = true, checked, indeterminate, onCheckedChange, leadingIcon, trailingContent = '6', level = 1, forceState,\n children, className, style, onKeyDown, ...rest\n}: TreeItemProps) {\n const [inner, setInner] = useState(defaultExpanded);\n const isParent = nodeType === 'parent';\n const open = isParent && (expanded ?? inner);\n const setOpen = (o: boolean) => { if (!isParent || disabled) return; if (expanded === undefined) setInner(o); onExpandedChange?.(o); };\n\n const key = (e: KeyboardEvent<HTMLLIElement>) => {\n onKeyDown?.(e);\n if (e.defaultPrevented || e.target !== e.currentTarget) return;\n const el = e.currentTarget;\n const k = e.key;\n if (k === 'ArrowDown' || k === 'ArrowUp') { e.preventDefault(); moveFocus(el, k === 'ArrowDown' ? 1 : -1); }\n else if (k === 'Home' || k === 'End') { e.preventDefault(); moveFocus(el, k === 'Home' ? 'first' : 'last'); }\n else if (k === 'ArrowRight' && isParent) { e.preventDefault(); if (!open) setOpen(true); else el.querySelector<HTMLElement>('[role=\"treeitem\"]')?.focus(); }\n else if (k === 'ArrowLeft') {\n e.preventDefault();\n if (open) setOpen(false); else el.parentElement?.closest<HTMLElement>('[role=\"treeitem\"]')?.focus();\n } else if ((k === 'Enter' || k === ' ') && !disabled) { e.preventDefault(); onSelect?.(); }\n };\n const rowClick = (e: MouseEvent) => { e.stopPropagation(); if (!disabled) onSelect?.(); };\n const pill = typeof trailingContent === 'string' || typeof trailingContent === 'number';\n const state = disabled ? 'disabled' : selected ? 'selected' : forceState;\n\n return (\n <li\n role=\"treeitem\" tabIndex={disabled ? -1 : 0} aria-level={level} aria-expanded={isParent ? open : undefined}\n aria-selected={selected ?? false} aria-disabled={disabled || undefined}\n className={['bodhan-tree-item', className].filter(Boolean).join(' ')} data-state={state} data-node-type={nodeType}\n style={{ ['--_level' as string]: level - 1, ...style }} onKeyDown={key} {...rest}\n >\n <div className=\"bodhan-tree-item__row\" onClick={rowClick}>\n {isParent ? (\n <span className=\"bodhan-tree-item__expand\" aria-hidden=\"true\" data-open={open || undefined}\n onClick={(e) => { e.stopPropagation(); setOpen(!open); }}>\n <Icon name=\"chevron_right\" />\n </span>\n ) : <span className=\"bodhan-tree-item__expand\" aria-hidden=\"true\" />}\n {showCheckbox && (\n <span className=\"bodhan-tree-item__check\" onClick={(e) => e.stopPropagation()}>\n <Checkbox label={null} aria-label={typeof label === 'string' ? `Select ${label}` : 'Select'} tabIndex={-1} disabled={disabled}\n checked={checked ?? false} indeterminate={indeterminate} onChange={(e) => onCheckedChange?.(e.target.checked)} />\n </span>\n )}\n {leadingIcon && <Icon name={leadingIcon} className=\"bodhan-tree-item__icon\" />}\n <span className=\"bodhan-tree-item__label\">{label}</span>\n {trailingContent != null && trailingContent !== '' && (pill ? <span className=\"bodhan-tree-item__count\">{trailingContent}</span> : trailingContent)}\n </div>\n {isParent && open && children && <ul role=\"group\" className=\"bodhan-tree-item__group\">{children}</ul>}\n </li>\n );\n}\n"],"mappings":";;;;;;AAsCA,SAAS,UAAU,MAAmB,KAAgC;CACpE,MAAM,OAAO,KAAK,QAAQ,iBAAe,KAAK,KAAK;CACnD,IAAI,CAAC,MAAM;CACX,MAAM,QAAQ,MAAM,KAAK,KAAK,iBAA8B,qBAAmB,CAAC,CAAC,CAAC,QAAQ,OAAO,GAAG,iBAAiB,IAAI;CACzH,MAAM,IAAI,MAAM,QAAQ,IAAI;CAE5B,CADa,QAAQ,UAAU,MAAM,KAAK,QAAQ,SAAS,MAAM,MAAM,SAAS,KAAK,MAAM,IAAI,KAAA,EACzF,MAAM;AACd;;;;;;AAOA,SAAgB,SAAS,EACvB,QAAQ,UAAU,WAAW,UAAU,UAAU,kBAAkB,MAAM,kBAAkB,UAAU,UAAU,UAC/G,eAAe,MAAM,SAAS,eAAe,iBAAiB,aAAa,kBAAkB,KAAK,QAAQ,GAAG,YAC7G,UAAU,WAAW,OAAO,WAAW,GAAG,QAC1B;CAChB,MAAM,CAAC,OAAO,YAAY,SAAS,eAAe;CAClD,MAAM,WAAW,aAAa;CAC9B,MAAM,OAAO,aAAa,YAAY;CACtC,MAAM,WAAW,MAAe;EAAE,IAAI,CAAC,YAAY,UAAU;EAAQ,IAAI,aAAa,KAAA,GAAW,SAAS,CAAC;EAAG,mBAAmB,CAAC;CAAG;CAErI,MAAM,OAAO,MAAoC;EAC/C,YAAY,CAAC;EACb,IAAI,EAAE,oBAAoB,EAAE,WAAW,EAAE,eAAe;EACxD,MAAM,KAAK,EAAE;EACb,MAAM,IAAI,EAAE;EACZ,IAAI,MAAM,eAAe,MAAM,WAAW;GAAE,EAAE,eAAe;GAAG,UAAU,IAAI,MAAM,cAAc,IAAI,EAAE;EAAG,OACtG,IAAI,MAAM,UAAU,MAAM,OAAO;GAAE,EAAE,eAAe;GAAG,UAAU,IAAI,MAAM,SAAS,UAAU,MAAM;EAAG,OACvG,IAAI,MAAM,gBAAgB,UAAU;GAAE,EAAE,eAAe;GAAG,IAAI,CAAC,MAAM,QAAQ,IAAI;QAAQ,GAAG,cAA2B,qBAAmB,CAAC,EAAE,MAAM;EAAG,OACtJ,IAAI,MAAM,aAAa;GAC1B,EAAE,eAAe;GACjB,IAAI,MAAM,QAAQ,KAAK;QAAQ,GAAG,eAAe,QAAqB,qBAAmB,CAAC,EAAE,MAAM;EACpG,OAAO,KAAK,MAAM,WAAW,MAAM,QAAQ,CAAC,UAAU;GAAE,EAAE,eAAe;GAAG,WAAW;EAAG;CAC5F;CACA,MAAM,YAAY,MAAkB;EAAE,EAAE,gBAAgB;EAAG,IAAI,CAAC,UAAU,WAAW;CAAG;CACxF,MAAM,OAAO,OAAO,oBAAoB,YAAY,OAAO,oBAAoB;CAC/E,MAAM,QAAQ,WAAW,aAAa,WAAW,aAAa;CAE9D,OACE,qBAAC,MAAD;EACE,MAAK;EAAW,UAAU,WAAW,KAAK;EAAG,cAAY;EAAO,iBAAe,WAAW,OAAO,KAAA;EACjG,iBAAe,YAAY;EAAO,iBAAe,YAAY,KAAA;EAC7D,WAAW,CAAC,oBAAoB,SAAS,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG;EAAG,cAAY;EAAO,kBAAgB;EACzG,OAAO;IAAG,aAAuB,QAAQ;GAAG,GAAG;EAAM;EAAG,WAAW;EAAK,GAAI;EAJ9E,UAAA,CAME,qBAAC,OAAD;GAAK,WAAU;GAAwB,SAAS;GAAhD,UAAA;IACG,WACC,oBAAC,QAAD;KAAM,WAAU;KAA2B,eAAY;KAAO,aAAW,QAAQ,KAAA;KAC/E,UAAU,MAAM;MAAE,EAAE,gBAAgB;MAAG,QAAQ,CAAC,IAAI;KAAG;KACvD,UAAA,oBAAC,MAAD,EAAM,MAAK,gBAAiB,CAAA;IACxB,CAAA,IACJ,oBAAC,QAAD;KAAM,WAAU;KAA2B,eAAY;IAAQ,CAAA;IAClE,gBACC,oBAAC,QAAD;KAAM,WAAU;KAA0B,UAAU,MAAM,EAAE,gBAAgB;KAC1E,UAAA,oBAAC,UAAD;MAAU,OAAO;MAAM,cAAY,OAAO,UAAU,WAAW,UAAU,UAAU;MAAU,UAAU;MAAc;MACnH,SAAS,WAAW;MAAsB;MAAe,WAAW,MAAM,kBAAkB,EAAE,OAAO,OAAO;KAAI,CAAA;IAC9G,CAAA;IAEP,eAAe,oBAAC,MAAD;KAAM,MAAM;KAAa,WAAU;IAA0B,CAAA;IAC7E,oBAAC,QAAD;KAAM,WAAU;KAA2B,UAAA;IAAY,CAAA;IACtD,mBAAmB,QAAQ,oBAAoB,OAAO,OAAO,oBAAC,QAAD;KAAM,WAAU;KAA2B,UAAA;IAAsB,CAAA,IAAI;GAChI;EACJ,CAAA,GAAA,YAAY,QAAQ,YAAY,oBAAC,MAAD;GAAI,MAAK;GAAQ,WAAU;GAA2B;EAAa,CAAA,CAClG;;AAER"}
@@ -0,0 +1,13 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ export interface VersionSwitcherProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
3
+ /** Current version, 1-based. */
4
+ value?: number;
5
+ /** Number of versions (answers regenerated after edits or retries). */
6
+ count?: number;
7
+ onChange?: (value: number) => void;
8
+ }
9
+ /**
10
+ * Bodhan Version Switcher — "‹ 2 of 3 ›" under an answer that was regenerated, to compare versions. Ghost Icon Buttons
11
+ * (platform size and touch target from 06 Platform); the count is a polite live region. Shared on every platform.
12
+ */
13
+ export declare function VersionSwitcher({ value, count, onChange, className, ...rest }: VersionSwitcherProps): import("react").JSX.Element;
@@ -0,0 +1,43 @@
1
+ import { IconButton } from "../IconButton/IconButton.js";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ // src/components/VersionSwitcher/VersionSwitcher.tsx
4
+ /**
5
+ * Bodhan Version Switcher — "‹ 2 of 3 ›" under an answer that was regenerated, to compare versions. Ghost Icon Buttons
6
+ * (platform size and touch target from 06 Platform); the count is a polite live region. Shared on every platform.
7
+ */
8
+ function VersionSwitcher({ value = 2, count = 3, onChange, className, ...rest }) {
9
+ return /* @__PURE__ */ jsxs("div", {
10
+ className: ["bodhan-version-switcher", className].filter(Boolean).join(" "),
11
+ role: "group",
12
+ "aria-label": "Answer versions",
13
+ ...rest,
14
+ children: [
15
+ /* @__PURE__ */ jsx(IconButton, {
16
+ variant: "ghost",
17
+ icon: "chevron_left",
18
+ label: "Previous version",
19
+ disabled: value <= 1,
20
+ onClick: () => onChange?.(value - 1)
21
+ }),
22
+ /* @__PURE__ */ jsxs("span", {
23
+ className: "bodhan-version-switcher__count",
24
+ "aria-live": "polite",
25
+ children: [
26
+ value,
27
+ " of ",
28
+ count
29
+ ]
30
+ }),
31
+ /* @__PURE__ */ jsx(IconButton, {
32
+ variant: "ghost",
33
+ icon: "chevron_right",
34
+ label: "Next version",
35
+ disabled: value >= count,
36
+ onClick: () => onChange?.(value + 1)
37
+ })
38
+ ]
39
+ });
40
+ }
41
+ export { VersionSwitcher };
42
+
43
+ //# sourceMappingURL=VersionSwitcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VersionSwitcher.js","names":[],"sources":["../../../src/components/VersionSwitcher/VersionSwitcher.tsx"],"sourcesContent":["import type { HTMLAttributes } from 'react';\nimport { IconButton } from '../IconButton/IconButton';\n\nexport interface VersionSwitcherProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {\n /** Current version, 1-based. */\n value?: number;\n /** Number of versions (answers regenerated after edits or retries). */\n count?: number;\n onChange?: (value: number) => void;\n}\n\n/**\n * Bodhan Version Switcher — \"‹ 2 of 3 ›\" under an answer that was regenerated, to compare versions. Ghost Icon Buttons\n * (platform size and touch target from 06 Platform); the count is a polite live region. Shared on every platform.\n */\nexport function VersionSwitcher({ value = 2, count = 3, onChange, className, ...rest }: VersionSwitcherProps) {\n return (\n <div className={['bodhan-version-switcher', className].filter(Boolean).join(' ')} role=\"group\" aria-label=\"Answer versions\" {...rest}>\n <IconButton variant=\"ghost\" icon=\"chevron_left\" label=\"Previous version\" disabled={value <= 1} onClick={() => onChange?.(value - 1)} />\n <span className=\"bodhan-version-switcher__count\" aria-live=\"polite\">{value} of {count}</span>\n <IconButton variant=\"ghost\" icon=\"chevron_right\" label=\"Next version\" disabled={value >= count} onClick={() => onChange?.(value + 1)} />\n </div>\n );\n}\n"],"mappings":";;;;;;;AAeA,SAAgB,gBAAgB,EAAE,QAAQ,GAAG,QAAQ,GAAG,UAAU,WAAW,GAAG,QAA8B;CAC5G,OACE,qBAAC,OAAD;EAAK,WAAW,CAAC,2BAA2B,SAAS,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG;EAAG,MAAK;EAAQ,cAAW;EAAkB,GAAI;EAAhI,UAAA;GACE,oBAAC,YAAD;IAAY,SAAQ;IAAQ,MAAK;IAAe,OAAM;IAAmB,UAAU,SAAS;IAAG,eAAe,WAAW,QAAQ,CAAC;GAAI,CAAA;GACtI,qBAAC,QAAD;IAAM,WAAU;IAAiC,aAAU;IAA3D,UAAA;KAAqE;KAAM;KAAK;IAAY;;GAC5F,oBAAC,YAAD;IAAY,SAAQ;IAAQ,MAAK;IAAgB,OAAM;IAAe,UAAU,SAAS;IAAO,eAAe,WAAW,QAAQ,CAAC;GAAI,CAAA;EACpI;;AAET"}
@@ -0,0 +1,28 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export interface VideoPlayerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
3
+ /** Accessible name of the video (lesson title). */
4
+ title?: string;
5
+ /** Video source. Without it the player shows the controls on a dark frame and runs a silent clock (previews). */
6
+ src?: string;
7
+ poster?: string;
8
+ /** WebVTT captions track. */
9
+ captionsSrc?: string;
10
+ captionsLang?: string;
11
+ /** Duration in seconds when there is no `src` (default 8:30). */
12
+ duration?: number;
13
+ defaultTime?: number;
14
+ /** Figma `State` for docs: force Playing / Paused (leave unset for real interaction). */
15
+ playing?: boolean;
16
+ /** Captions on at start (respect the user's preference). */
17
+ defaultCaptions?: boolean;
18
+ /** Keep the control bar visible while playing (docs). Otherwise it hides after 3 s without input. */
19
+ keepControls?: boolean;
20
+ }
21
+ /**
22
+ * Bodhan Video Player — 16:9 lesson video, radius Card/Radius. Paused: big centred play button + control bar.
23
+ * Playing: control bar only, auto-hides after 3 s (shown again on pointer move / focus). Controls: play/pause,
24
+ * scrubber (native range), time, captions (aria-pressed), fullscreen. Keyboard on the player: Space/K play, ←/→ seek 5 s,
25
+ * C captions, F fullscreen. Always on a dark frame (03 Alias pinned Light, like the system player).
26
+ * Android: Media3 ExoPlayer + Bodhan controller · iOS: AVKit VideoPlayer (keep system controls) · Web: <video> + these controls.
27
+ */
28
+ export declare function VideoPlayer({ title, src, poster, captionsSrc, captionsLang, duration, defaultTime, playing: forced, defaultCaptions, keepControls, className, ...rest }: VideoPlayerProps): import("react").JSX.Element;