@oxy.so/bloom 23.8.1 → 23.9.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 (573) hide show
  1. package/docs/bloom-language-classnames.mdx +11 -11
  2. package/docs/bloom-language-codemod.mdx +30 -5
  3. package/docs/bloom-language-for-agents.mdx +1 -1
  4. package/docs/bloom-language-modifiers.mdx +222 -77
  5. package/docs/bloom-language-nodes.mdx +43 -21
  6. package/docs/bloom-language-tokens.mdx +69 -14
  7. package/docs/bloom-language.mdx +148 -46
  8. package/docs/design-tokens.mdx +12 -2
  9. package/docs/no-nativewind.mdx +5 -4
  10. package/docs/task-catalog.json +1 -1
  11. package/docs/task-catalog.mdx +1 -1
  12. package/docs/theme.mdx +22 -6
  13. package/lib/commonjs/accordion/Accordion.js +12 -12
  14. package/lib/commonjs/accordion/Accordion.js.map +1 -1
  15. package/lib/commonjs/accordion/Accordion.web.js +8 -8
  16. package/lib/commonjs/accordion/Accordion.web.js.map +1 -1
  17. package/lib/commonjs/agent-creator/AgentCreatorSection.js +8 -10
  18. package/lib/commonjs/agent-creator/AgentCreatorSection.js.map +1 -1
  19. package/lib/commonjs/agent-creator/EmotionPicker.js +3 -5
  20. package/lib/commonjs/agent-creator/EmotionPicker.js.map +1 -1
  21. package/lib/commonjs/agent-log/AgentLog.js +131 -174
  22. package/lib/commonjs/agent-log/AgentLog.js.map +1 -1
  23. package/lib/commonjs/agent-reply/AgentProfile.js +6 -9
  24. package/lib/commonjs/agent-reply/AgentProfile.js.map +1 -1
  25. package/lib/commonjs/agent-thinking/AgentThinking.js +8 -7
  26. package/lib/commonjs/agent-thinking/AgentThinking.js.map +1 -1
  27. package/lib/commonjs/agent-thinking/ThinkingReasoning.js +8 -8
  28. package/lib/commonjs/agent-thinking/ThinkingReasoning.js.map +1 -1
  29. package/lib/commonjs/app-shell/AppShell.js +5 -7
  30. package/lib/commonjs/app-shell/AppShell.js.map +1 -1
  31. package/lib/commonjs/app-shell/AppShellEngine.js +72 -28
  32. package/lib/commonjs/app-shell/AppShellEngine.js.map +1 -1
  33. package/lib/commonjs/app-shell/AppShellPanelLayout.js +3 -3
  34. package/lib/commonjs/app-shell/AppShellPanelLayout.js.map +1 -1
  35. package/lib/commonjs/app-shell/NotificationBell.js +9 -9
  36. package/lib/commonjs/app-shell/NotificationBell.js.map +1 -1
  37. package/lib/commonjs/app-shell/PanelReorderHandle.js +4 -6
  38. package/lib/commonjs/app-shell/PanelReorderHandle.js.map +1 -1
  39. package/lib/commonjs/avatar-group/AvatarGroupBase.js +7 -7
  40. package/lib/commonjs/avatar-group/AvatarGroupBase.js.map +1 -1
  41. package/lib/commonjs/chat-list/ChatSearchResultsBase.js +4 -4
  42. package/lib/commonjs/chat-list/ChatSearchResultsBase.js.map +1 -1
  43. package/lib/commonjs/choice-list/ChoiceList.js +5 -5
  44. package/lib/commonjs/choice-list/ChoiceList.js.map +1 -1
  45. package/lib/commonjs/color-swatch-picker/ColorSwatchPicker.js +7 -7
  46. package/lib/commonjs/color-swatch-picker/ColorSwatchPicker.js.map +1 -1
  47. package/lib/commonjs/connection-dots/ConnectionDots.js +4 -4
  48. package/lib/commonjs/connection-dots/ConnectionDots.js.map +1 -1
  49. package/lib/commonjs/connection-dots/ConnectionDots.web.js +4 -4
  50. package/lib/commonjs/connection-dots/ConnectionDots.web.js.map +1 -1
  51. package/lib/commonjs/cover-header/CoverHeader.js +3 -3
  52. package/lib/commonjs/cover-header/CoverHeader.js.map +1 -1
  53. package/lib/commonjs/data-table/DataTableSelect.js +8 -8
  54. package/lib/commonjs/data-table/DataTableSelect.js.map +1 -1
  55. package/lib/commonjs/design-tokens/theme.css +1 -0
  56. package/lib/commonjs/design-tokens/tokens.json +390 -0
  57. package/lib/commonjs/dialog/DialogContent.js +5 -4
  58. package/lib/commonjs/dialog/DialogContent.js.map +1 -1
  59. package/lib/commonjs/dialog/DialogHeader.js +6 -5
  60. package/lib/commonjs/dialog/DialogHeader.js.map +1 -1
  61. package/lib/commonjs/dialog/SheetShell.js +5 -4
  62. package/lib/commonjs/dialog/SheetShell.js.map +1 -1
  63. package/lib/commonjs/expandable-text/ExpandableText.js +3 -3
  64. package/lib/commonjs/expandable-text/ExpandableText.js.map +1 -1
  65. package/lib/commonjs/floating/lens/lens-cover.js +56 -0
  66. package/lib/commonjs/floating/lens/lens-cover.js.map +1 -0
  67. package/lib/commonjs/floating/lens/native-lens.js.map +1 -1
  68. package/lib/commonjs/grouped-section/GroupedSection.js +16 -15
  69. package/lib/commonjs/grouped-section/GroupedSection.js.map +1 -1
  70. package/lib/commonjs/home-search/BudgetPicker.js +8 -8
  71. package/lib/commonjs/home-search/BudgetPicker.js.map +1 -1
  72. package/lib/commonjs/home-search/MoveInPicker.js +7 -7
  73. package/lib/commonjs/home-search/MoveInPicker.js.map +1 -1
  74. package/lib/commonjs/icon-circle/IconCircle.js +14 -16
  75. package/lib/commonjs/icon-circle/IconCircle.js.map +1 -1
  76. package/lib/commonjs/icons/shared.js +3 -5
  77. package/lib/commonjs/icons/shared.js.map +1 -1
  78. package/lib/commonjs/kbd/Kbd.js +8 -8
  79. package/lib/commonjs/kbd/Kbd.js.map +1 -1
  80. package/lib/commonjs/layout/ResizeHandle.js +6 -5
  81. package/lib/commonjs/layout/ResizeHandle.js.map +1 -1
  82. package/lib/commonjs/link-preview/LinkPreviewCard.js +24 -26
  83. package/lib/commonjs/link-preview/LinkPreviewCard.js.map +1 -1
  84. package/lib/commonjs/list/ListBase.js +3 -3
  85. package/lib/commonjs/list/ListBase.js.map +1 -1
  86. package/lib/commonjs/list/ListPerson.js +3 -3
  87. package/lib/commonjs/list/ListPerson.js.map +1 -1
  88. package/lib/commonjs/listing-editor/ListingPreviewPane.js +30 -30
  89. package/lib/commonjs/listing-editor/ListingPreviewPane.js.map +1 -1
  90. package/lib/commonjs/markdown/InlineMarkdown.js +9 -11
  91. package/lib/commonjs/markdown/InlineMarkdown.js.map +1 -1
  92. package/lib/commonjs/markdown/MarkdownBlocks.js +35 -43
  93. package/lib/commonjs/markdown/MarkdownBlocks.js.map +1 -1
  94. package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js +5 -8
  95. package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js.map +1 -1
  96. package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js +9 -11
  97. package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js.map +1 -1
  98. package/lib/commonjs/notifications/NotificationPermissionSheet.js +3 -5
  99. package/lib/commonjs/notifications/NotificationPermissionSheet.js.map +1 -1
  100. package/lib/commonjs/notifications/NotificationsScreen.js +21 -27
  101. package/lib/commonjs/notifications/NotificationsScreen.js.map +1 -1
  102. package/lib/commonjs/overlay/OverlayInertBoundary.js +33 -12
  103. package/lib/commonjs/overlay/OverlayInertBoundary.js.map +1 -1
  104. package/lib/commonjs/page-header/PageHeaderTitleInput.js +20 -20
  105. package/lib/commonjs/page-header/PageHeaderTitleInput.js.map +1 -1
  106. package/lib/commonjs/panel-routing/expo-router/StackScene.js +42 -24
  107. package/lib/commonjs/panel-routing/expo-router/StackScene.js.map +1 -1
  108. package/lib/commonjs/phone-input/CountryCodeSelect.js +4 -4
  109. package/lib/commonjs/phone-input/CountryCodeSelect.js.map +1 -1
  110. package/lib/commonjs/project-board/MemberAvatars.js +7 -9
  111. package/lib/commonjs/project-board/MemberAvatars.js.map +1 -1
  112. package/lib/commonjs/project-board/ProjectBoardBase.js +3 -6
  113. package/lib/commonjs/project-board/ProjectBoardBase.js.map +1 -1
  114. package/lib/commonjs/project-board/ProjectBoardCanvas.js +2 -2
  115. package/lib/commonjs/project-board/ProjectBoardCanvas.js.map +1 -1
  116. package/lib/commonjs/project-board/styles.js +2 -5
  117. package/lib/commonjs/project-board/styles.js.map +1 -1
  118. package/lib/commonjs/radio/RadioSwatch.js +5 -5
  119. package/lib/commonjs/radio/RadioSwatch.js.map +1 -1
  120. package/lib/commonjs/rating/Rating.js +7 -7
  121. package/lib/commonjs/rating/Rating.js.map +1 -1
  122. package/lib/commonjs/rating/RatingBar.js +8 -8
  123. package/lib/commonjs/rating/RatingBar.js.map +1 -1
  124. package/lib/commonjs/rating/RatingBar.web.js +5 -5
  125. package/lib/commonjs/rating/RatingBar.web.js.map +1 -1
  126. package/lib/commonjs/rating/RatingInput.js +9 -9
  127. package/lib/commonjs/rating/RatingInput.js.map +1 -1
  128. package/lib/commonjs/rating/RatingSummary.js +6 -6
  129. package/lib/commonjs/rating/RatingSummary.js.map +1 -1
  130. package/lib/commonjs/row-actions/RowActions.js +5 -5
  131. package/lib/commonjs/row-actions/RowActions.js.map +1 -1
  132. package/lib/commonjs/select/Select.js +5 -5
  133. package/lib/commonjs/select/Select.js.map +1 -1
  134. package/lib/commonjs/skeleton/Skeleton.js +22 -30
  135. package/lib/commonjs/skeleton/Skeleton.js.map +1 -1
  136. package/lib/commonjs/stay-filters/AvailabilityFilter.js +3 -3
  137. package/lib/commonjs/stay-filters/AvailabilityFilter.js.map +1 -1
  138. package/lib/commonjs/stay-filters/CountFilter.js +3 -3
  139. package/lib/commonjs/stay-filters/CountFilter.js.map +1 -1
  140. package/lib/commonjs/stay-filters/FilterFooter.js +7 -7
  141. package/lib/commonjs/stay-filters/FilterFooter.js.map +1 -1
  142. package/lib/commonjs/stay-filters/FilterSection.js +12 -12
  143. package/lib/commonjs/stay-filters/FilterSection.js.map +1 -1
  144. package/lib/commonjs/stay-filters/SwitchFilterRow.js +9 -9
  145. package/lib/commonjs/stay-filters/SwitchFilterRow.js.map +1 -1
  146. package/lib/commonjs/stay-search/GuestPicker.js +5 -5
  147. package/lib/commonjs/stay-search/GuestPicker.js.map +1 -1
  148. package/lib/commonjs/stepper/Stepper.js +11 -10
  149. package/lib/commonjs/stepper/Stepper.js.map +1 -1
  150. package/lib/commonjs/stepper/StepperRow.js +12 -12
  151. package/lib/commonjs/stepper/StepperRow.js.map +1 -1
  152. package/lib/commonjs/subscription-plans/SubscriptionPlans.js +10 -10
  153. package/lib/commonjs/subscription-plans/SubscriptionPlans.js.map +1 -1
  154. package/lib/commonjs/subscription-plans/SubscriptionPrice.js +5 -5
  155. package/lib/commonjs/subscription-plans/SubscriptionPrice.js.map +1 -1
  156. package/lib/commonjs/task-list/TaskList.js +14 -15
  157. package/lib/commonjs/task-list/TaskList.js.map +1 -1
  158. package/lib/commonjs/theme/BloomThemeProvider.js +207 -223
  159. package/lib/commonjs/theme/BloomThemeProvider.js.map +1 -1
  160. package/lib/commonjs/theme/build-theme-from-seed.js +1 -1
  161. package/lib/commonjs/theme/build-theme.js +39 -9
  162. package/lib/commonjs/theme/build-theme.js.map +1 -1
  163. package/lib/commonjs/theme/canonical-tokens.js +40 -0
  164. package/lib/commonjs/theme/canonical-tokens.js.map +1 -0
  165. package/lib/commonjs/theme/color-policy.js +3 -0
  166. package/lib/commonjs/theme/color-policy.js.map +1 -1
  167. package/lib/commonjs/theme/color-scope/resolve-scope.js +48 -5
  168. package/lib/commonjs/theme/color-scope/resolve-scope.js.map +1 -1
  169. package/lib/commonjs/theme/color-scope/use-scope.js +1 -5
  170. package/lib/commonjs/theme/color-scope/use-scope.js.map +1 -1
  171. package/lib/commonjs/theme/color-tokens.js +32 -10
  172. package/lib/commonjs/theme/color-tokens.js.map +1 -1
  173. package/lib/commonjs/theme/color-utils.js +4 -0
  174. package/lib/commonjs/theme/color-utils.js.map +1 -1
  175. package/lib/commonjs/theme/default-token-vars.js +92 -0
  176. package/lib/commonjs/theme/default-token-vars.js.map +1 -0
  177. package/lib/commonjs/theme/index.js +6 -0
  178. package/lib/commonjs/theme/index.js.map +1 -1
  179. package/lib/commonjs/theme/index.web.js +6 -0
  180. package/lib/commonjs/theme/index.web.js.map +1 -1
  181. package/lib/commonjs/theme/prepaint-palettes.js +1 -5
  182. package/lib/commonjs/theme/prepaint-palettes.js.map +1 -1
  183. package/lib/commonjs/theme/token-registry.js +7 -28
  184. package/lib/commonjs/theme/token-registry.js.map +1 -1
  185. package/lib/commonjs/theme/use-theme-paint.js +28 -0
  186. package/lib/commonjs/theme/use-theme-paint.js.map +1 -1
  187. package/lib/commonjs/typography/Typography.js +27 -27
  188. package/lib/commonjs/typography/Typography.js.map +1 -1
  189. package/lib/commonjs/web-search/WebSearch.js +18 -19
  190. package/lib/commonjs/web-search/WebSearch.js.map +1 -1
  191. package/lib/commonjs/wizard/WizardFooterBase.js +10 -10
  192. package/lib/commonjs/wizard/WizardFooterBase.js.map +1 -1
  193. package/lib/commonjs/wizard/WizardProgress.js +5 -5
  194. package/lib/commonjs/wizard/WizardProgress.js.map +1 -1
  195. package/lib/module/accordion/Accordion.js +12 -12
  196. package/lib/module/accordion/Accordion.js.map +1 -1
  197. package/lib/module/accordion/Accordion.web.js +8 -8
  198. package/lib/module/accordion/Accordion.web.js.map +1 -1
  199. package/lib/module/agent-creator/AgentCreatorSection.js +8 -10
  200. package/lib/module/agent-creator/AgentCreatorSection.js.map +1 -1
  201. package/lib/module/agent-creator/EmotionPicker.js +3 -5
  202. package/lib/module/agent-creator/EmotionPicker.js.map +1 -1
  203. package/lib/module/agent-log/AgentLog.js +131 -174
  204. package/lib/module/agent-log/AgentLog.js.map +1 -1
  205. package/lib/module/agent-reply/AgentProfile.js +7 -10
  206. package/lib/module/agent-reply/AgentProfile.js.map +1 -1
  207. package/lib/module/agent-thinking/AgentThinking.js +8 -7
  208. package/lib/module/agent-thinking/AgentThinking.js.map +1 -1
  209. package/lib/module/agent-thinking/ThinkingReasoning.js +8 -8
  210. package/lib/module/agent-thinking/ThinkingReasoning.js.map +1 -1
  211. package/lib/module/app-shell/AppShell.js +5 -7
  212. package/lib/module/app-shell/AppShell.js.map +1 -1
  213. package/lib/module/app-shell/AppShellEngine.js +73 -29
  214. package/lib/module/app-shell/AppShellEngine.js.map +1 -1
  215. package/lib/module/app-shell/AppShellPanelLayout.js +3 -3
  216. package/lib/module/app-shell/AppShellPanelLayout.js.map +1 -1
  217. package/lib/module/app-shell/NotificationBell.js +9 -9
  218. package/lib/module/app-shell/NotificationBell.js.map +1 -1
  219. package/lib/module/app-shell/PanelReorderHandle.js +4 -6
  220. package/lib/module/app-shell/PanelReorderHandle.js.map +1 -1
  221. package/lib/module/avatar-group/AvatarGroupBase.js +7 -7
  222. package/lib/module/avatar-group/AvatarGroupBase.js.map +1 -1
  223. package/lib/module/chat-list/ChatSearchResultsBase.js +4 -4
  224. package/lib/module/chat-list/ChatSearchResultsBase.js.map +1 -1
  225. package/lib/module/choice-list/ChoiceList.js +5 -5
  226. package/lib/module/choice-list/ChoiceList.js.map +1 -1
  227. package/lib/module/color-swatch-picker/ColorSwatchPicker.js +7 -7
  228. package/lib/module/color-swatch-picker/ColorSwatchPicker.js.map +1 -1
  229. package/lib/module/connection-dots/ConnectionDots.js +4 -4
  230. package/lib/module/connection-dots/ConnectionDots.js.map +1 -1
  231. package/lib/module/connection-dots/ConnectionDots.web.js +4 -4
  232. package/lib/module/connection-dots/ConnectionDots.web.js.map +1 -1
  233. package/lib/module/cover-header/CoverHeader.js +3 -3
  234. package/lib/module/cover-header/CoverHeader.js.map +1 -1
  235. package/lib/module/data-table/DataTableSelect.js +8 -8
  236. package/lib/module/data-table/DataTableSelect.js.map +1 -1
  237. package/lib/module/design-tokens/theme.css +1 -0
  238. package/lib/module/design-tokens/tokens.json +390 -0
  239. package/lib/module/dialog/DialogContent.js +5 -4
  240. package/lib/module/dialog/DialogContent.js.map +1 -1
  241. package/lib/module/dialog/DialogHeader.js +6 -5
  242. package/lib/module/dialog/DialogHeader.js.map +1 -1
  243. package/lib/module/dialog/SheetShell.js +5 -4
  244. package/lib/module/dialog/SheetShell.js.map +1 -1
  245. package/lib/module/expandable-text/ExpandableText.js +3 -3
  246. package/lib/module/expandable-text/ExpandableText.js.map +1 -1
  247. package/lib/module/floating/lens/lens-cover.js +51 -0
  248. package/lib/module/floating/lens/lens-cover.js.map +1 -0
  249. package/lib/module/floating/lens/native-lens.js.map +1 -1
  250. package/lib/module/grouped-section/GroupedSection.js +16 -15
  251. package/lib/module/grouped-section/GroupedSection.js.map +1 -1
  252. package/lib/module/home-search/BudgetPicker.js +8 -8
  253. package/lib/module/home-search/BudgetPicker.js.map +1 -1
  254. package/lib/module/home-search/MoveInPicker.js +7 -7
  255. package/lib/module/home-search/MoveInPicker.js.map +1 -1
  256. package/lib/module/icon-circle/IconCircle.js +14 -16
  257. package/lib/module/icon-circle/IconCircle.js.map +1 -1
  258. package/lib/module/icons/shared.js +3 -5
  259. package/lib/module/icons/shared.js.map +1 -1
  260. package/lib/module/kbd/Kbd.js +8 -8
  261. package/lib/module/kbd/Kbd.js.map +1 -1
  262. package/lib/module/layout/ResizeHandle.js +6 -5
  263. package/lib/module/layout/ResizeHandle.js.map +1 -1
  264. package/lib/module/link-preview/LinkPreviewCard.js +24 -26
  265. package/lib/module/link-preview/LinkPreviewCard.js.map +1 -1
  266. package/lib/module/list/ListBase.js +3 -3
  267. package/lib/module/list/ListBase.js.map +1 -1
  268. package/lib/module/list/ListPerson.js +3 -3
  269. package/lib/module/list/ListPerson.js.map +1 -1
  270. package/lib/module/listing-editor/ListingPreviewPane.js +30 -30
  271. package/lib/module/listing-editor/ListingPreviewPane.js.map +1 -1
  272. package/lib/module/markdown/InlineMarkdown.js +9 -11
  273. package/lib/module/markdown/InlineMarkdown.js.map +1 -1
  274. package/lib/module/markdown/MarkdownBlocks.js +35 -43
  275. package/lib/module/markdown/MarkdownBlocks.js.map +1 -1
  276. package/lib/module/multi-agent-chat/MultiAgentChatBase.js +6 -9
  277. package/lib/module/multi-agent-chat/MultiAgentChatBase.js.map +1 -1
  278. package/lib/module/multi-agent-chat/SelectedAgentPreview.js +9 -11
  279. package/lib/module/multi-agent-chat/SelectedAgentPreview.js.map +1 -1
  280. package/lib/module/notifications/NotificationPermissionSheet.js +3 -5
  281. package/lib/module/notifications/NotificationPermissionSheet.js.map +1 -1
  282. package/lib/module/notifications/NotificationsScreen.js +21 -27
  283. package/lib/module/notifications/NotificationsScreen.js.map +1 -1
  284. package/lib/module/overlay/OverlayInertBoundary.js +33 -12
  285. package/lib/module/overlay/OverlayInertBoundary.js.map +1 -1
  286. package/lib/module/page-header/PageHeaderTitleInput.js +20 -20
  287. package/lib/module/page-header/PageHeaderTitleInput.js.map +1 -1
  288. package/lib/module/panel-routing/expo-router/StackScene.js +42 -24
  289. package/lib/module/panel-routing/expo-router/StackScene.js.map +1 -1
  290. package/lib/module/phone-input/CountryCodeSelect.js +4 -4
  291. package/lib/module/phone-input/CountryCodeSelect.js.map +1 -1
  292. package/lib/module/project-board/MemberAvatars.js +7 -9
  293. package/lib/module/project-board/MemberAvatars.js.map +1 -1
  294. package/lib/module/project-board/ProjectBoardBase.js +4 -7
  295. package/lib/module/project-board/ProjectBoardBase.js.map +1 -1
  296. package/lib/module/project-board/ProjectBoardCanvas.js +2 -2
  297. package/lib/module/project-board/ProjectBoardCanvas.js.map +1 -1
  298. package/lib/module/project-board/styles.js +3 -6
  299. package/lib/module/project-board/styles.js.map +1 -1
  300. package/lib/module/radio/RadioSwatch.js +5 -5
  301. package/lib/module/radio/RadioSwatch.js.map +1 -1
  302. package/lib/module/rating/Rating.js +7 -7
  303. package/lib/module/rating/Rating.js.map +1 -1
  304. package/lib/module/rating/RatingBar.js +8 -8
  305. package/lib/module/rating/RatingBar.js.map +1 -1
  306. package/lib/module/rating/RatingBar.web.js +5 -5
  307. package/lib/module/rating/RatingBar.web.js.map +1 -1
  308. package/lib/module/rating/RatingInput.js +9 -9
  309. package/lib/module/rating/RatingInput.js.map +1 -1
  310. package/lib/module/rating/RatingSummary.js +6 -6
  311. package/lib/module/rating/RatingSummary.js.map +1 -1
  312. package/lib/module/row-actions/RowActions.js +5 -5
  313. package/lib/module/row-actions/RowActions.js.map +1 -1
  314. package/lib/module/select/Select.js +5 -5
  315. package/lib/module/select/Select.js.map +1 -1
  316. package/lib/module/skeleton/Skeleton.js +22 -30
  317. package/lib/module/skeleton/Skeleton.js.map +1 -1
  318. package/lib/module/stay-filters/AvailabilityFilter.js +3 -3
  319. package/lib/module/stay-filters/AvailabilityFilter.js.map +1 -1
  320. package/lib/module/stay-filters/CountFilter.js +3 -3
  321. package/lib/module/stay-filters/CountFilter.js.map +1 -1
  322. package/lib/module/stay-filters/FilterFooter.js +7 -7
  323. package/lib/module/stay-filters/FilterFooter.js.map +1 -1
  324. package/lib/module/stay-filters/FilterSection.js +12 -12
  325. package/lib/module/stay-filters/FilterSection.js.map +1 -1
  326. package/lib/module/stay-filters/SwitchFilterRow.js +9 -9
  327. package/lib/module/stay-filters/SwitchFilterRow.js.map +1 -1
  328. package/lib/module/stay-search/GuestPicker.js +5 -5
  329. package/lib/module/stay-search/GuestPicker.js.map +1 -1
  330. package/lib/module/stepper/Stepper.js +11 -10
  331. package/lib/module/stepper/Stepper.js.map +1 -1
  332. package/lib/module/stepper/StepperRow.js +12 -12
  333. package/lib/module/stepper/StepperRow.js.map +1 -1
  334. package/lib/module/subscription-plans/SubscriptionPlans.js +10 -10
  335. package/lib/module/subscription-plans/SubscriptionPlans.js.map +1 -1
  336. package/lib/module/subscription-plans/SubscriptionPrice.js +5 -5
  337. package/lib/module/subscription-plans/SubscriptionPrice.js.map +1 -1
  338. package/lib/module/task-list/TaskList.js +14 -15
  339. package/lib/module/task-list/TaskList.js.map +1 -1
  340. package/lib/module/theme/BloomThemeProvider.js +208 -224
  341. package/lib/module/theme/BloomThemeProvider.js.map +1 -1
  342. package/lib/module/theme/build-theme-from-seed.js +1 -1
  343. package/lib/module/theme/build-theme.js +38 -9
  344. package/lib/module/theme/build-theme.js.map +1 -1
  345. package/lib/module/theme/canonical-tokens.js +36 -0
  346. package/lib/module/theme/canonical-tokens.js.map +1 -0
  347. package/lib/module/theme/color-policy.js +3 -0
  348. package/lib/module/theme/color-policy.js.map +1 -1
  349. package/lib/module/theme/color-scope/resolve-scope.js +46 -5
  350. package/lib/module/theme/color-scope/resolve-scope.js.map +1 -1
  351. package/lib/module/theme/color-scope/use-scope.js +2 -6
  352. package/lib/module/theme/color-scope/use-scope.js.map +1 -1
  353. package/lib/module/theme/color-tokens.js +30 -8
  354. package/lib/module/theme/color-tokens.js.map +1 -1
  355. package/lib/module/theme/color-utils.js +4 -0
  356. package/lib/module/theme/color-utils.js.map +1 -1
  357. package/lib/module/theme/default-token-vars.js +88 -0
  358. package/lib/module/theme/default-token-vars.js.map +1 -0
  359. package/lib/module/theme/index.js +1 -1
  360. package/lib/module/theme/index.js.map +1 -1
  361. package/lib/module/theme/index.web.js +1 -1
  362. package/lib/module/theme/index.web.js.map +1 -1
  363. package/lib/module/theme/prepaint-palettes.js +2 -6
  364. package/lib/module/theme/prepaint-palettes.js.map +1 -1
  365. package/lib/module/theme/token-registry.js +1 -27
  366. package/lib/module/theme/token-registry.js.map +1 -1
  367. package/lib/module/theme/use-theme-paint.js +30 -3
  368. package/lib/module/theme/use-theme-paint.js.map +1 -1
  369. package/lib/module/typography/Typography.js +27 -27
  370. package/lib/module/typography/Typography.js.map +1 -1
  371. package/lib/module/web-search/WebSearch.js +18 -19
  372. package/lib/module/web-search/WebSearch.js.map +1 -1
  373. package/lib/module/wizard/WizardFooterBase.js +10 -10
  374. package/lib/module/wizard/WizardFooterBase.js.map +1 -1
  375. package/lib/module/wizard/WizardProgress.js +5 -5
  376. package/lib/module/wizard/WizardProgress.js.map +1 -1
  377. package/lib/typescript/commonjs/agent-creator/AgentCreatorSection.d.ts.map +1 -1
  378. package/lib/typescript/commonjs/agent-log/AgentLog.d.ts.map +1 -1
  379. package/lib/typescript/commonjs/agent-reply/AgentProfile.d.ts.map +1 -1
  380. package/lib/typescript/commonjs/agent-thinking/AgentThinking.d.ts.map +1 -1
  381. package/lib/typescript/commonjs/app-shell/AppShellEngine.d.ts.map +1 -1
  382. package/lib/typescript/commonjs/dialog/DialogContent.d.ts.map +1 -1
  383. package/lib/typescript/commonjs/dialog/DialogHeader.d.ts.map +1 -1
  384. package/lib/typescript/commonjs/dialog/SheetShell.d.ts.map +1 -1
  385. package/lib/typescript/commonjs/floating/lens/lens-cover.d.ts +15 -0
  386. package/lib/typescript/commonjs/floating/lens/lens-cover.d.ts.map +1 -0
  387. package/lib/typescript/commonjs/floating/lens/native-lens.d.ts +6 -0
  388. package/lib/typescript/commonjs/floating/lens/native-lens.d.ts.map +1 -1
  389. package/lib/typescript/commonjs/grouped-section/GroupedSection.d.ts.map +1 -1
  390. package/lib/typescript/commonjs/layout/ResizeHandle.d.ts.map +1 -1
  391. package/lib/typescript/commonjs/list/ListBase.d.ts.map +1 -1
  392. package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -1
  393. package/lib/typescript/commonjs/overlay/OverlayInertBoundary.d.ts.map +1 -1
  394. package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts +3 -1
  395. package/lib/typescript/commonjs/panel-routing/expo-router/StackScene.d.ts.map +1 -1
  396. package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts.map +1 -1
  397. package/lib/typescript/commonjs/project-board/styles.d.ts.map +1 -1
  398. package/lib/typescript/commonjs/stay-search/GuestPicker.d.ts.map +1 -1
  399. package/lib/typescript/commonjs/stepper/Stepper.d.ts.map +1 -1
  400. package/lib/typescript/commonjs/task-list/TaskList.d.ts +3 -3
  401. package/lib/typescript/commonjs/task-list/TaskList.d.ts.map +1 -1
  402. package/lib/typescript/commonjs/theme/BloomThemeProvider.d.ts.map +1 -1
  403. package/lib/typescript/commonjs/theme/build-theme.d.ts +9 -0
  404. package/lib/typescript/commonjs/theme/build-theme.d.ts.map +1 -1
  405. package/lib/typescript/commonjs/theme/canonical-tokens.d.ts +20 -0
  406. package/lib/typescript/commonjs/theme/canonical-tokens.d.ts.map +1 -0
  407. package/lib/typescript/commonjs/theme/color-policy.d.ts.map +1 -1
  408. package/lib/typescript/commonjs/theme/color-scope/resolve-scope.d.ts +58 -0
  409. package/lib/typescript/commonjs/theme/color-scope/resolve-scope.d.ts.map +1 -1
  410. package/lib/typescript/commonjs/theme/color-scope/use-scope.d.ts.map +1 -1
  411. package/lib/typescript/commonjs/theme/color-tokens.d.ts +5 -2
  412. package/lib/typescript/commonjs/theme/color-tokens.d.ts.map +1 -1
  413. package/lib/typescript/commonjs/theme/color-utils.d.ts +3 -0
  414. package/lib/typescript/commonjs/theme/color-utils.d.ts.map +1 -1
  415. package/lib/typescript/commonjs/theme/default-token-vars.d.ts +11 -0
  416. package/lib/typescript/commonjs/theme/default-token-vars.d.ts.map +1 -0
  417. package/lib/typescript/commonjs/theme/index.d.ts +1 -1
  418. package/lib/typescript/commonjs/theme/index.d.ts.map +1 -1
  419. package/lib/typescript/commonjs/theme/index.web.d.ts +1 -1
  420. package/lib/typescript/commonjs/theme/index.web.d.ts.map +1 -1
  421. package/lib/typescript/commonjs/theme/prepaint-palettes.d.ts.map +1 -1
  422. package/lib/typescript/commonjs/theme/token-registry.d.ts +1 -16
  423. package/lib/typescript/commonjs/theme/token-registry.d.ts.map +1 -1
  424. package/lib/typescript/commonjs/theme/use-theme-paint.d.ts +11 -0
  425. package/lib/typescript/commonjs/theme/use-theme-paint.d.ts.map +1 -1
  426. package/lib/typescript/commonjs/web-search/WebSearch.d.ts +3 -3
  427. package/lib/typescript/commonjs/web-search/WebSearch.d.ts.map +1 -1
  428. package/lib/typescript/module/agent-creator/AgentCreatorSection.d.ts.map +1 -1
  429. package/lib/typescript/module/agent-log/AgentLog.d.ts.map +1 -1
  430. package/lib/typescript/module/agent-reply/AgentProfile.d.ts.map +1 -1
  431. package/lib/typescript/module/agent-thinking/AgentThinking.d.ts.map +1 -1
  432. package/lib/typescript/module/app-shell/AppShellEngine.d.ts.map +1 -1
  433. package/lib/typescript/module/dialog/DialogContent.d.ts.map +1 -1
  434. package/lib/typescript/module/dialog/DialogHeader.d.ts.map +1 -1
  435. package/lib/typescript/module/dialog/SheetShell.d.ts.map +1 -1
  436. package/lib/typescript/module/floating/lens/lens-cover.d.ts +15 -0
  437. package/lib/typescript/module/floating/lens/lens-cover.d.ts.map +1 -0
  438. package/lib/typescript/module/floating/lens/native-lens.d.ts +6 -0
  439. package/lib/typescript/module/floating/lens/native-lens.d.ts.map +1 -1
  440. package/lib/typescript/module/grouped-section/GroupedSection.d.ts.map +1 -1
  441. package/lib/typescript/module/layout/ResizeHandle.d.ts.map +1 -1
  442. package/lib/typescript/module/list/ListBase.d.ts.map +1 -1
  443. package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -1
  444. package/lib/typescript/module/overlay/OverlayInertBoundary.d.ts.map +1 -1
  445. package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts +3 -1
  446. package/lib/typescript/module/panel-routing/expo-router/StackScene.d.ts.map +1 -1
  447. package/lib/typescript/module/project-board/ProjectBoardBase.d.ts.map +1 -1
  448. package/lib/typescript/module/project-board/styles.d.ts.map +1 -1
  449. package/lib/typescript/module/stay-search/GuestPicker.d.ts.map +1 -1
  450. package/lib/typescript/module/stepper/Stepper.d.ts.map +1 -1
  451. package/lib/typescript/module/task-list/TaskList.d.ts +3 -3
  452. package/lib/typescript/module/task-list/TaskList.d.ts.map +1 -1
  453. package/lib/typescript/module/theme/BloomThemeProvider.d.ts.map +1 -1
  454. package/lib/typescript/module/theme/build-theme.d.ts +9 -0
  455. package/lib/typescript/module/theme/build-theme.d.ts.map +1 -1
  456. package/lib/typescript/module/theme/canonical-tokens.d.ts +20 -0
  457. package/lib/typescript/module/theme/canonical-tokens.d.ts.map +1 -0
  458. package/lib/typescript/module/theme/color-policy.d.ts.map +1 -1
  459. package/lib/typescript/module/theme/color-scope/resolve-scope.d.ts +58 -0
  460. package/lib/typescript/module/theme/color-scope/resolve-scope.d.ts.map +1 -1
  461. package/lib/typescript/module/theme/color-scope/use-scope.d.ts.map +1 -1
  462. package/lib/typescript/module/theme/color-tokens.d.ts +5 -2
  463. package/lib/typescript/module/theme/color-tokens.d.ts.map +1 -1
  464. package/lib/typescript/module/theme/color-utils.d.ts +3 -0
  465. package/lib/typescript/module/theme/color-utils.d.ts.map +1 -1
  466. package/lib/typescript/module/theme/default-token-vars.d.ts +11 -0
  467. package/lib/typescript/module/theme/default-token-vars.d.ts.map +1 -0
  468. package/lib/typescript/module/theme/index.d.ts +1 -1
  469. package/lib/typescript/module/theme/index.d.ts.map +1 -1
  470. package/lib/typescript/module/theme/index.web.d.ts +1 -1
  471. package/lib/typescript/module/theme/index.web.d.ts.map +1 -1
  472. package/lib/typescript/module/theme/prepaint-palettes.d.ts.map +1 -1
  473. package/lib/typescript/module/theme/token-registry.d.ts +1 -16
  474. package/lib/typescript/module/theme/token-registry.d.ts.map +1 -1
  475. package/lib/typescript/module/theme/use-theme-paint.d.ts +11 -0
  476. package/lib/typescript/module/theme/use-theme-paint.d.ts.map +1 -1
  477. package/lib/typescript/module/web-search/WebSearch.d.ts +3 -3
  478. package/lib/typescript/module/web-search/WebSearch.d.ts.map +1 -1
  479. package/package.json +2 -1
  480. package/src/accordion/Accordion.tsx +6 -6
  481. package/src/accordion/Accordion.web.tsx +6 -6
  482. package/src/agent-creator/AgentCreatorSection.tsx +4 -6
  483. package/src/agent-creator/EmotionPicker.tsx +3 -3
  484. package/src/agent-log/AgentLog.tsx +8 -21
  485. package/src/agent-reply/AgentProfile.tsx +4 -5
  486. package/src/agent-thinking/AgentThinking.tsx +4 -3
  487. package/src/agent-thinking/ThinkingReasoning.tsx +4 -4
  488. package/src/app-shell/AppShell.tsx +3 -3
  489. package/src/app-shell/AppShellEngine.tsx +67 -19
  490. package/src/app-shell/AppShellPanelLayout.tsx +3 -3
  491. package/src/app-shell/NotificationBell.tsx +6 -6
  492. package/src/app-shell/PanelReorderHandle.tsx +4 -4
  493. package/src/avatar-group/AvatarGroupBase.tsx +6 -6
  494. package/src/chat-list/ChatSearchResultsBase.tsx +4 -4
  495. package/src/choice-list/ChoiceList.tsx +3 -3
  496. package/src/color-swatch-picker/ColorSwatchPicker.tsx +4 -4
  497. package/src/connection-dots/ConnectionDots.tsx +4 -4
  498. package/src/connection-dots/ConnectionDots.web.tsx +4 -4
  499. package/src/cover-header/CoverHeader.tsx +3 -3
  500. package/src/data-table/DataTableSelect.tsx +4 -4
  501. package/src/design-tokens/theme.css +1 -0
  502. package/src/design-tokens/tokens.json +390 -0
  503. package/src/dialog/DialogContent.tsx +3 -2
  504. package/src/dialog/DialogHeader.tsx +6 -5
  505. package/src/dialog/SheetShell.tsx +3 -2
  506. package/src/expandable-text/ExpandableText.tsx +3 -3
  507. package/src/floating/lens/lens-cover.tsx +29 -0
  508. package/src/floating/lens/native-lens.ts +2 -0
  509. package/src/grouped-section/GroupedSection.tsx +7 -6
  510. package/src/home-search/BudgetPicker.tsx +4 -4
  511. package/src/home-search/MoveInPicker.tsx +3 -3
  512. package/src/icon-circle/IconCircle.tsx +5 -5
  513. package/src/icons/shared.tsx +3 -3
  514. package/src/kbd/Kbd.tsx +4 -4
  515. package/src/layout/ResizeHandle.tsx +7 -5
  516. package/src/link-preview/LinkPreviewCard.tsx +7 -7
  517. package/src/list/ListBase.tsx +3 -6
  518. package/src/list/ListPerson.tsx +3 -3
  519. package/src/listing-editor/ListingPreviewPane.tsx +13 -13
  520. package/src/markdown/InlineMarkdown.tsx +3 -3
  521. package/src/markdown/MarkdownBlocks.tsx +14 -14
  522. package/src/multi-agent-chat/MultiAgentChatBase.tsx +6 -9
  523. package/src/multi-agent-chat/SelectedAgentPreview.tsx +4 -4
  524. package/src/notifications/NotificationPermissionSheet.tsx +3 -3
  525. package/src/notifications/NotificationsScreen.tsx +9 -9
  526. package/src/overlay/OverlayInertBoundary.tsx +10 -1
  527. package/src/page-header/PageHeaderTitleInput.tsx +4 -4
  528. package/src/panel-routing/expo-router/StackScene.tsx +7 -2
  529. package/src/phone-input/CountryCodeSelect.tsx +4 -4
  530. package/src/project-board/MemberAvatars.tsx +3 -3
  531. package/src/project-board/ProjectBoardBase.tsx +4 -5
  532. package/src/project-board/ProjectBoardCanvas.tsx +2 -2
  533. package/src/project-board/styles.ts +3 -4
  534. package/src/radio/RadioSwatch.tsx +3 -3
  535. package/src/rating/Rating.tsx +5 -5
  536. package/src/rating/RatingBar.tsx +4 -4
  537. package/src/rating/RatingBar.web.tsx +3 -3
  538. package/src/rating/RatingInput.tsx +5 -5
  539. package/src/rating/RatingSummary.tsx +4 -4
  540. package/src/row-actions/RowActions.tsx +3 -3
  541. package/src/select/Select.tsx +3 -3
  542. package/src/skeleton/Skeleton.tsx +9 -9
  543. package/src/stay-filters/AvailabilityFilter.tsx +3 -3
  544. package/src/stay-filters/CountFilter.tsx +3 -3
  545. package/src/stay-filters/FilterFooter.tsx +4 -4
  546. package/src/stay-filters/FilterSection.tsx +5 -5
  547. package/src/stay-filters/SwitchFilterRow.tsx +4 -4
  548. package/src/stay-search/GuestPicker.tsx +3 -6
  549. package/src/stepper/Stepper.tsx +6 -5
  550. package/src/stepper/StepperRow.tsx +5 -5
  551. package/src/subscription-plans/SubscriptionPlans.tsx +6 -6
  552. package/src/subscription-plans/SubscriptionPrice.tsx +3 -3
  553. package/src/task-list/TaskList.tsx +14 -16
  554. package/src/theme/BloomThemeProvider.tsx +33 -33
  555. package/src/theme/__tests__/__fixtures__/golden-resolved-tokens.json +134 -0
  556. package/src/theme/build-theme-from-seed.ts +1 -1
  557. package/src/theme/build-theme.ts +52 -11
  558. package/src/theme/canonical-tokens.ts +108 -0
  559. package/src/theme/color-policy.ts +3 -0
  560. package/src/theme/color-scope/resolve-scope.ts +47 -8
  561. package/src/theme/color-scope/use-scope.ts +2 -6
  562. package/src/theme/color-tokens.ts +7 -7
  563. package/src/theme/color-utils.ts +4 -0
  564. package/src/theme/default-token-vars.ts +86 -0
  565. package/src/theme/index.ts +1 -1
  566. package/src/theme/index.web.ts +1 -1
  567. package/src/theme/prepaint-palettes.ts +2 -3
  568. package/src/theme/token-registry.ts +1 -101
  569. package/src/theme/use-theme-paint.ts +26 -3
  570. package/src/typography/Typography.tsx +12 -12
  571. package/src/web-search/WebSearch.tsx +16 -18
  572. package/src/wizard/WizardFooterBase.tsx +5 -5
  573. package/src/wizard/WizardProgress.tsx +5 -5
@@ -7,12 +7,11 @@ import { useControllableState } from "../hooks/use-controllable-state.js";
7
7
  import { FontLoader } from '../fonts/FontLoader';
8
8
  import { useAmbientThemeState } from "./ambient-store.js";
9
9
  import { applyDarkClass, applyDocumentTheme, applyReducedTransparency, applyIncreasedContrast, applyVarsToDocument } from "./apply-dark-class.js";
10
- import { buildTheme } from "./build-theme.js";
10
+ import { buildPresetPalette } from "./build-theme.js";
11
11
  import { ThemeScopeContext } from "./color-scope/context.js";
12
12
  import { buildThemeFromSeed } from "./build-theme-from-seed.js";
13
13
  import { buildSeedScopeVars } from "./color-scope/seed-scope.js";
14
14
  import { APP_COLOR_NAMES } from "./color-presets.js";
15
- import { buildScopeVars } from "./color-scope/style-builder.js";
16
15
  import { adoptStyleSheet } from "../styles/adopt-style-sheet.js";
17
16
  import { BASE_WEB_CSS, BASE_WEB_CSS_ID } from "../styles/base-web-css.js";
18
17
  import { readPersistedTheme, readPersistedThemeSync, removePersistedTheme, writePersistedTheme } from "./persistence.js";
@@ -171,7 +170,7 @@ function presetNamed(accent) {
171
170
  return accent && APP_COLOR_NAMES.includes(accent) ? accent : null;
172
171
  }
173
172
  export function BloomThemeProvider(t0) {
174
- const $ = _c(115);
173
+ const $ = _c(108);
175
174
  const {
176
175
  mode: controlledMode,
177
176
  colorPreset: controlledPreset,
@@ -287,46 +286,37 @@ export function BloomThemeProvider(t0) {
287
286
  const effectiveMode = isAdaptive ? "system" : mode;
288
287
  const resolved = effectiveMode === "system" ? !serverPaint && rnScheme === "dark" ? "dark" : "light" : effectiveMode;
289
288
  let t9;
290
- if ($[16] !== colorPreset || $[17] !== effectiveSecondary || $[18] !== effectiveSeed || $[19] !== effectiveTertiary || $[20] !== explicitAccents || $[21] !== resolved) {
291
- t9 = effectiveSeed ? buildSeedScopeVars({
292
- seed: effectiveSeed,
293
- mode: resolved,
294
- secondarySeed: effectiveSecondary,
295
- tertiarySeed: effectiveTertiary
296
- }) : buildScopeVars(colorPreset, resolved, explicitAccents);
289
+ if ($[16] !== colorPreset || $[17] !== effectiveSecondary || $[18] !== effectiveSeed || $[19] !== effectiveTertiary || $[20] !== explicitAccents || $[21] !== isAdaptive || $[22] !== resolved) {
290
+ t9 = effectiveSeed ? {
291
+ theme: buildThemeFromSeed(effectiveSeed, resolved, undefined, undefined, {
292
+ secondarySeed: effectiveSecondary,
293
+ tertiarySeed: effectiveTertiary
294
+ }),
295
+ vars: buildSeedScopeVars({
296
+ seed: effectiveSeed,
297
+ mode: resolved,
298
+ secondarySeed: effectiveSecondary,
299
+ tertiarySeed: effectiveTertiary
300
+ })
301
+ } : buildPresetPalette(colorPreset, resolved, isAdaptive, explicitAccents);
297
302
  $[16] = colorPreset;
298
303
  $[17] = effectiveSecondary;
299
304
  $[18] = effectiveSeed;
300
305
  $[19] = effectiveTertiary;
301
306
  $[20] = explicitAccents;
302
- $[21] = resolved;
303
- $[22] = t9;
304
- } else {
305
- t9 = $[22];
306
- }
307
- const themeVars = t9;
308
- let t10;
309
- if ($[23] !== colorPreset || $[24] !== effectiveSecondary || $[25] !== effectiveSeed || $[26] !== effectiveTertiary || $[27] !== explicitAccents || $[28] !== isAdaptive || $[29] !== resolved) {
310
- t10 = effectiveSeed ? buildThemeFromSeed(effectiveSeed, resolved, undefined, undefined, {
311
- secondarySeed: effectiveSecondary,
312
- tertiarySeed: effectiveTertiary
313
- }) : buildTheme(colorPreset, resolved, isAdaptive, explicitAccents);
314
- $[23] = colorPreset;
315
- $[24] = effectiveSecondary;
316
- $[25] = effectiveSeed;
317
- $[26] = effectiveTertiary;
318
- $[27] = explicitAccents;
319
- $[28] = isAdaptive;
320
- $[29] = resolved;
321
- $[30] = t10;
307
+ $[21] = isAdaptive;
308
+ $[22] = resolved;
309
+ $[23] = t9;
322
310
  } else {
323
- t10 = $[30];
311
+ t9 = $[23];
324
312
  }
325
- const themeColors = t10;
326
- const t11 = !serverPaint;
327
- let t12;
328
- if ($[31] !== effectiveSecondary || $[32] !== effectiveSeed || $[33] !== effectiveTertiary || $[34] !== explicitAccents || $[35] !== isAdaptive) {
329
- t12 = (nextPreset, nextMode) => effectiveSeed ? {
313
+ const palette = t9;
314
+ const themeVars = palette.vars;
315
+ const themeColors = palette.theme;
316
+ const t10 = !serverPaint;
317
+ let t11;
318
+ if ($[24] !== effectiveSecondary || $[25] !== effectiveSeed || $[26] !== effectiveTertiary || $[27] !== explicitAccents || $[28] !== isAdaptive || $[29] !== resolved) {
319
+ t11 = (nextPreset, nextMode) => effectiveSeed ? {
330
320
  theme: buildThemeFromSeed(effectiveSeed, nextMode, undefined, undefined, {
331
321
  secondarySeed: effectiveSecondary,
332
322
  tertiarySeed: effectiveTertiary
@@ -337,22 +327,20 @@ export function BloomThemeProvider(t0) {
337
327
  secondarySeed: effectiveSecondary,
338
328
  tertiarySeed: effectiveTertiary
339
329
  })
340
- } : !explicitAccents && !isAdaptive ? getPrepaintPalette(nextPreset, nextMode) : {
341
- theme: buildTheme(nextPreset, nextMode, isAdaptive, explicitAccents),
342
- vars: buildScopeVars(nextPreset, nextMode, explicitAccents)
343
- };
344
- $[31] = effectiveSecondary;
345
- $[32] = effectiveSeed;
346
- $[33] = effectiveTertiary;
347
- $[34] = explicitAccents;
348
- $[35] = isAdaptive;
349
- $[36] = t12;
330
+ } : !explicitAccents && !(isAdaptive && nextMode === resolved) ? getPrepaintPalette(nextPreset, nextMode) : buildPresetPalette(nextPreset, nextMode, isAdaptive && nextMode === resolved, explicitAccents);
331
+ $[24] = effectiveSecondary;
332
+ $[25] = effectiveSeed;
333
+ $[26] = effectiveTertiary;
334
+ $[27] = explicitAccents;
335
+ $[28] = isAdaptive;
336
+ $[29] = resolved;
337
+ $[30] = t11;
350
338
  } else {
351
- t12 = $[36];
339
+ t11 = $[30];
352
340
  }
353
- let t13;
354
- if ($[37] !== colorPreset || $[38] !== effectiveSecondary || $[39] !== effectiveSeed || $[40] !== effectiveTertiary || $[41] !== explicitAccents || $[42] !== isAdaptive || $[43] !== resolved || $[44] !== themeColors || $[45] !== themeVars) {
355
- t13 = nextMode_0 => nextMode_0 === resolved ? {
341
+ let t12;
342
+ if ($[31] !== colorPreset || $[32] !== effectiveSecondary || $[33] !== effectiveSeed || $[34] !== effectiveTertiary || $[35] !== explicitAccents || $[36] !== resolved || $[37] !== themeColors || $[38] !== themeVars) {
343
+ t12 = nextMode_0 => nextMode_0 === resolved ? {
356
344
  theme: themeColors,
357
345
  vars: themeVars
358
346
  } : effectiveSeed ? {
@@ -366,47 +354,43 @@ export function BloomThemeProvider(t0) {
366
354
  secondarySeed: effectiveSecondary,
367
355
  tertiarySeed: effectiveTertiary
368
356
  })
369
- } : {
370
- theme: buildTheme(colorPreset, nextMode_0, isAdaptive, explicitAccents),
371
- vars: buildScopeVars(colorPreset, nextMode_0, explicitAccents)
372
- };
373
- $[37] = colorPreset;
374
- $[38] = effectiveSecondary;
375
- $[39] = effectiveSeed;
376
- $[40] = effectiveTertiary;
377
- $[41] = explicitAccents;
378
- $[42] = isAdaptive;
379
- $[43] = resolved;
380
- $[44] = themeColors;
381
- $[45] = themeVars;
382
- $[46] = t13;
357
+ } : buildPresetPalette(colorPreset, nextMode_0, false, explicitAccents);
358
+ $[31] = colorPreset;
359
+ $[32] = effectiveSecondary;
360
+ $[33] = effectiveSeed;
361
+ $[34] = effectiveTertiary;
362
+ $[35] = explicitAccents;
363
+ $[36] = resolved;
364
+ $[37] = themeColors;
365
+ $[38] = themeVars;
366
+ $[39] = t12;
383
367
  } else {
384
- t13 = $[46];
368
+ t12 = $[39];
385
369
  }
386
- let t14;
387
- if ($[47] !== resolved || $[48] !== t11 || $[49] !== t12 || $[50] !== t13 || $[51] !== themeColors || $[52] !== themeVars) {
388
- t14 = {
370
+ let t13;
371
+ if ($[40] !== resolved || $[41] !== t10 || $[42] !== t11 || $[43] !== t12 || $[44] !== themeColors || $[45] !== themeVars) {
372
+ t13 = {
389
373
  theme: themeColors,
390
374
  vars: themeVars,
391
375
  rootMode: resolved,
392
- prepaintReady: t11,
393
- resolvePreset: t12,
394
- resolveMode: t13
376
+ prepaintReady: t10,
377
+ resolvePreset: t11,
378
+ resolveMode: t12
395
379
  };
396
- $[47] = resolved;
397
- $[48] = t11;
398
- $[49] = t12;
399
- $[50] = t13;
400
- $[51] = themeColors;
401
- $[52] = themeVars;
402
- $[53] = t14;
380
+ $[40] = resolved;
381
+ $[41] = t10;
382
+ $[42] = t11;
383
+ $[43] = t12;
384
+ $[44] = themeColors;
385
+ $[45] = themeVars;
386
+ $[46] = t13;
403
387
  } else {
404
- t14 = $[53];
388
+ t13 = $[46];
405
389
  }
406
- const scopeState = t14;
407
- let t15;
408
- if ($[54] !== colorPreset || $[55] !== effectiveMode || $[56] !== prepaint || $[57] !== prepaintTheme?.persistKey || $[58] !== resolved || $[59] !== serverPaint || $[60] !== themeColors || $[61] !== themeVars) {
409
- t15 = () => {
390
+ const scopeState = t13;
391
+ let t14;
392
+ if ($[47] !== colorPreset || $[48] !== effectiveMode || $[49] !== prepaint || $[50] !== prepaintTheme?.persistKey || $[51] !== resolved || $[52] !== serverPaint || $[53] !== themeColors || $[54] !== themeVars) {
393
+ t14 = () => {
410
394
  if (serverPaint) {
411
395
  return;
412
396
  }
@@ -426,63 +410,63 @@ export function BloomThemeProvider(t0) {
426
410
  }
427
411
  });
428
412
  };
429
- $[54] = colorPreset;
430
- $[55] = effectiveMode;
431
- $[56] = prepaint;
432
- $[57] = prepaintTheme?.persistKey;
433
- $[58] = resolved;
434
- $[59] = serverPaint;
435
- $[60] = themeColors;
436
- $[61] = themeVars;
437
- $[62] = t15;
413
+ $[47] = colorPreset;
414
+ $[48] = effectiveMode;
415
+ $[49] = prepaint;
416
+ $[50] = prepaintTheme?.persistKey;
417
+ $[51] = resolved;
418
+ $[52] = serverPaint;
419
+ $[53] = themeColors;
420
+ $[54] = themeVars;
421
+ $[55] = t14;
438
422
  } else {
439
- t15 = $[62];
423
+ t14 = $[55];
440
424
  }
441
- const t16 = prepaintTheme?.persistKey;
442
- let t17;
443
- if ($[63] !== colorPreset || $[64] !== effectiveMode || $[65] !== prepaint || $[66] !== resolved || $[67] !== serverPaint || $[68] !== t16 || $[69] !== themeColors || $[70] !== themeVars) {
444
- t17 = [effectiveMode, resolved, themeVars, themeColors, serverPaint, prepaint, t16, colorPreset];
445
- $[63] = colorPreset;
446
- $[64] = effectiveMode;
447
- $[65] = prepaint;
448
- $[66] = resolved;
449
- $[67] = serverPaint;
450
- $[68] = t16;
451
- $[69] = themeColors;
452
- $[70] = themeVars;
453
- $[71] = t17;
425
+ const t15 = prepaintTheme?.persistKey;
426
+ let t16;
427
+ if ($[56] !== colorPreset || $[57] !== effectiveMode || $[58] !== prepaint || $[59] !== resolved || $[60] !== serverPaint || $[61] !== t15 || $[62] !== themeColors || $[63] !== themeVars) {
428
+ t16 = [effectiveMode, resolved, themeVars, themeColors, serverPaint, prepaint, t15, colorPreset];
429
+ $[56] = colorPreset;
430
+ $[57] = effectiveMode;
431
+ $[58] = prepaint;
432
+ $[59] = resolved;
433
+ $[60] = serverPaint;
434
+ $[61] = t15;
435
+ $[62] = themeColors;
436
+ $[63] = themeVars;
437
+ $[64] = t16;
454
438
  } else {
455
- t17 = $[71];
439
+ t16 = $[64];
456
440
  }
457
- useIsomorphicLayoutEffect(t15, t17);
441
+ useIsomorphicLayoutEffect(t14, t16);
442
+ let t17;
458
443
  let t18;
459
- let t19;
460
- if ($[72] !== increasedContrast || $[73] !== reducedTransparency) {
461
- t18 = () => {
444
+ if ($[65] !== increasedContrast || $[66] !== reducedTransparency) {
445
+ t17 = () => {
462
446
  applyReducedTransparency(reducedTransparency);
463
447
  applyIncreasedContrast(increasedContrast);
464
448
  };
465
- t19 = [reducedTransparency, increasedContrast];
466
- $[72] = increasedContrast;
467
- $[73] = reducedTransparency;
468
- $[74] = t18;
469
- $[75] = t19;
449
+ t18 = [reducedTransparency, increasedContrast];
450
+ $[65] = increasedContrast;
451
+ $[66] = reducedTransparency;
452
+ $[67] = t17;
453
+ $[68] = t18;
470
454
  } else {
471
- t18 = $[74];
472
- t19 = $[75];
455
+ t17 = $[67];
456
+ t18 = $[68];
473
457
  }
474
- useIsomorphicLayoutEffect(t18, t19);
475
- let t20;
476
- if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
477
- t20 = [];
478
- $[76] = t20;
458
+ useIsomorphicLayoutEffect(t17, t18);
459
+ let t19;
460
+ if ($[69] === Symbol.for("react.memo_cache_sentinel")) {
461
+ t19 = [];
462
+ $[69] = t19;
479
463
  } else {
480
- t20 = $[76];
464
+ t19 = $[69];
481
465
  }
482
- useIsomorphicLayoutEffect(_temp, t20);
483
- let t21;
484
- if ($[77] !== colorPreset || $[78] !== mode || $[79] !== resetTheme || $[80] !== setColorPreset || $[81] !== setMode || $[82] !== themeColors) {
485
- t21 = {
466
+ useIsomorphicLayoutEffect(_temp, t19);
467
+ let t20;
468
+ if ($[70] !== colorPreset || $[71] !== mode || $[72] !== resetTheme || $[73] !== setColorPreset || $[74] !== setMode || $[75] !== themeColors) {
469
+ t20 = {
486
470
  theme: themeColors,
487
471
  mode,
488
472
  colorPreset,
@@ -490,153 +474,153 @@ export function BloomThemeProvider(t0) {
490
474
  setColorPreset,
491
475
  resetTheme
492
476
  };
493
- $[77] = colorPreset;
494
- $[78] = mode;
495
- $[79] = resetTheme;
496
- $[80] = setColorPreset;
497
- $[81] = setMode;
498
- $[82] = themeColors;
499
- $[83] = t21;
477
+ $[70] = colorPreset;
478
+ $[71] = mode;
479
+ $[72] = resetTheme;
480
+ $[73] = setColorPreset;
481
+ $[74] = setMode;
482
+ $[75] = themeColors;
483
+ $[76] = t20;
500
484
  } else {
501
- t21 = $[83];
485
+ t20 = $[76];
502
486
  }
503
- const contextValue = t21;
487
+ const contextValue = t20;
504
488
  const shouldAwait = awaitHydration ?? Boolean(persistKey && storage);
505
489
  const isGated = shouldAwait && !hydrated;
506
- const t22 = prepaint ? prepaintTheme : undefined;
507
- const t23 = isGated ? onHydrating ?? null : children;
508
- let t24;
509
- if ($[84] !== fonts || $[85] !== onFontsLoading || $[86] !== t23) {
510
- t24 = /*#__PURE__*/_jsx(FontLoader, {
490
+ const t21 = prepaint ? prepaintTheme : undefined;
491
+ const t22 = isGated ? onHydrating ?? null : children;
492
+ let t23;
493
+ if ($[77] !== fonts || $[78] !== onFontsLoading || $[79] !== t22) {
494
+ t23 = /*#__PURE__*/_jsx(FontLoader, {
511
495
  enabled: fonts,
512
496
  fallback: onFontsLoading,
497
+ children: t22
498
+ });
499
+ $[77] = fonts;
500
+ $[78] = onFontsLoading;
501
+ $[79] = t22;
502
+ $[80] = t23;
503
+ } else {
504
+ t23 = $[80];
505
+ }
506
+ let t24;
507
+ if ($[81] !== desktopPlatform || $[82] !== t23) {
508
+ t24 = /*#__PURE__*/_jsx(TypographyPlatformDefault, {
509
+ desktop: desktopPlatform,
513
510
  children: t23
514
511
  });
515
- $[84] = fonts;
516
- $[85] = onFontsLoading;
517
- $[86] = t23;
518
- $[87] = t24;
512
+ $[81] = desktopPlatform;
513
+ $[82] = t23;
514
+ $[83] = t24;
519
515
  } else {
520
- t24 = $[87];
516
+ t24 = $[83];
521
517
  }
522
518
  let t25;
523
- if ($[88] !== desktopPlatform || $[89] !== t24) {
524
- t25 = /*#__PURE__*/_jsx(TypographyPlatformDefault, {
525
- desktop: desktopPlatform,
519
+ if ($[84] !== increasedContrast || $[85] !== t24) {
520
+ t25 = /*#__PURE__*/_jsx(IncreasedContrastProvider, {
521
+ value: increasedContrast,
526
522
  children: t24
527
523
  });
528
- $[88] = desktopPlatform;
529
- $[89] = t24;
530
- $[90] = t25;
524
+ $[84] = increasedContrast;
525
+ $[85] = t24;
526
+ $[86] = t25;
531
527
  } else {
532
- t25 = $[90];
528
+ t25 = $[86];
533
529
  }
534
530
  let t26;
535
- if ($[91] !== increasedContrast || $[92] !== t25) {
536
- t26 = /*#__PURE__*/_jsx(IncreasedContrastProvider, {
537
- value: increasedContrast,
531
+ if ($[87] !== reducedTransparency || $[88] !== t25) {
532
+ t26 = /*#__PURE__*/_jsx(ReducedTransparencyProvider, {
533
+ value: reducedTransparency,
538
534
  children: t25
539
535
  });
540
- $[91] = increasedContrast;
541
- $[92] = t25;
542
- $[93] = t26;
536
+ $[87] = reducedTransparency;
537
+ $[88] = t25;
538
+ $[89] = t26;
543
539
  } else {
544
- t26 = $[93];
540
+ t26 = $[89];
545
541
  }
546
542
  let t27;
547
- if ($[94] !== reducedTransparency || $[95] !== t26) {
548
- t27 = /*#__PURE__*/_jsx(ReducedTransparencyProvider, {
549
- value: reducedTransparency,
543
+ if ($[90] !== scopeState || $[91] !== t26) {
544
+ t27 = /*#__PURE__*/_jsx(ThemeScopeContext.Provider, {
545
+ value: scopeState,
550
546
  children: t26
551
547
  });
552
- $[94] = reducedTransparency;
553
- $[95] = t26;
554
- $[96] = t27;
548
+ $[90] = scopeState;
549
+ $[91] = t26;
550
+ $[92] = t27;
555
551
  } else {
556
- t27 = $[96];
552
+ t27 = $[92];
557
553
  }
558
554
  let t28;
559
- if ($[97] !== scopeState || $[98] !== t27) {
560
- t28 = /*#__PURE__*/_jsx(ThemeScopeContext.Provider, {
561
- value: scopeState,
555
+ if ($[93] !== t21 || $[94] !== t27) {
556
+ t28 = /*#__PURE__*/_jsx(PrepaintThemeContext.Provider, {
557
+ value: t21,
562
558
  children: t27
563
559
  });
564
- $[97] = scopeState;
565
- $[98] = t27;
566
- $[99] = t28;
567
- } else {
568
- t28 = $[99];
569
- }
570
- let t29;
571
- if ($[100] !== t22 || $[101] !== t28) {
572
- t29 = /*#__PURE__*/_jsx(PrepaintThemeContext.Provider, {
573
- value: t22,
574
- children: t28
575
- });
576
- $[100] = t22;
577
- $[101] = t28;
578
- $[102] = t29;
560
+ $[93] = t21;
561
+ $[94] = t27;
562
+ $[95] = t28;
579
563
  } else {
580
- t29 = $[102];
564
+ t28 = $[95];
581
565
  }
582
- const content = t29;
566
+ const content = t28;
583
567
  if (Platform.OS === "web") {
584
- let t30;
585
- if ($[103] !== content || $[104] !== contextValue) {
586
- t30 = /*#__PURE__*/_jsx(BloomThemeContext.Provider, {
568
+ let t29;
569
+ if ($[96] !== content || $[97] !== contextValue) {
570
+ t29 = /*#__PURE__*/_jsx(BloomThemeContext.Provider, {
587
571
  value: contextValue,
588
572
  children: content
589
573
  });
590
- $[103] = content;
591
- $[104] = contextValue;
592
- $[105] = t30;
574
+ $[96] = content;
575
+ $[97] = contextValue;
576
+ $[98] = t29;
593
577
  } else {
594
- t30 = $[105];
578
+ t29 = $[98];
595
579
  }
596
- return t30;
580
+ return t29;
597
581
  }
598
- let t30;
599
- if ($[106] === Symbol.for("react.memo_cache_sentinel")) {
600
- t30 = {
582
+ let t29;
583
+ if ($[99] === Symbol.for("react.memo_cache_sentinel")) {
584
+ t29 = {
601
585
  flex: 1
602
586
  };
603
- $[106] = t30;
587
+ $[99] = t29;
604
588
  } else {
605
- t30 = $[106];
589
+ t29 = $[99];
606
590
  }
607
- let t31;
608
- if ($[107] !== nativeWrapperStyle) {
609
- t31 = [t30, nativeWrapperStyle];
610
- $[107] = nativeWrapperStyle;
611
- $[108] = t31;
591
+ let t30;
592
+ if ($[100] !== nativeWrapperStyle) {
593
+ t30 = [t29, nativeWrapperStyle];
594
+ $[100] = nativeWrapperStyle;
595
+ $[101] = t30;
612
596
  } else {
613
- t31 = $[108];
597
+ t30 = $[101];
614
598
  }
615
- let t32;
616
- if ($[109] !== content || $[110] !== t31) {
617
- t32 = /*#__PURE__*/_jsx(View, {
618
- style: t31,
599
+ let t31;
600
+ if ($[102] !== content || $[103] !== t30) {
601
+ t31 = /*#__PURE__*/_jsx(View, {
602
+ style: t30,
619
603
  children: content
620
604
  });
621
- $[109] = content;
622
- $[110] = t31;
623
- $[111] = t32;
605
+ $[102] = content;
606
+ $[103] = t30;
607
+ $[104] = t31;
624
608
  } else {
625
- t32 = $[111];
609
+ t31 = $[104];
626
610
  }
627
- let t33;
628
- if ($[112] !== contextValue || $[113] !== t32) {
629
- t33 = /*#__PURE__*/_jsx(BloomThemeContext.Provider, {
611
+ let t32;
612
+ if ($[105] !== contextValue || $[106] !== t31) {
613
+ t32 = /*#__PURE__*/_jsx(BloomThemeContext.Provider, {
630
614
  value: contextValue,
631
- children: t32
615
+ children: t31
632
616
  });
633
- $[112] = contextValue;
634
- $[113] = t32;
635
- $[114] = t33;
617
+ $[105] = contextValue;
618
+ $[106] = t31;
619
+ $[107] = t32;
636
620
  } else {
637
- t33 = $[114];
621
+ t32 = $[107];
638
622
  }
639
- return t33;
623
+ return t32;
640
624
  }
641
625
  function _temp() {
642
626
  if (Platform.OS === "web") {