@oxyhq/bloom 0.6.24 → 0.7.1

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 (423) hide show
  1. package/lib/commonjs/alert-dialog/AlertDialog.js +109 -0
  2. package/lib/commonjs/alert-dialog/AlertDialog.js.map +1 -0
  3. package/lib/commonjs/alert-dialog/AlertDialogHost.js +50 -0
  4. package/lib/commonjs/alert-dialog/AlertDialogHost.js.map +1 -0
  5. package/lib/commonjs/alert-dialog/confirm-store.js +80 -0
  6. package/lib/commonjs/alert-dialog/confirm-store.js.map +1 -0
  7. package/lib/commonjs/alert-dialog/index.js +19 -0
  8. package/lib/commonjs/alert-dialog/index.js.map +1 -0
  9. package/lib/commonjs/alert-dialog/index.web.js +19 -0
  10. package/lib/commonjs/alert-dialog/index.web.js.map +1 -0
  11. package/lib/commonjs/alert-dialog/types.js +6 -0
  12. package/lib/commonjs/alert-dialog/types.js.map +1 -0
  13. package/lib/commonjs/combobox/Combobox.js +227 -0
  14. package/lib/commonjs/combobox/Combobox.js.map +1 -0
  15. package/lib/commonjs/combobox/index.js +11 -0
  16. package/lib/commonjs/combobox/index.js.map +1 -0
  17. package/lib/commonjs/combobox/index.web.js +11 -0
  18. package/lib/commonjs/combobox/index.web.js.map +1 -0
  19. package/lib/commonjs/combobox/types.js +6 -0
  20. package/lib/commonjs/combobox/types.js.map +1 -0
  21. package/lib/commonjs/command/Command.js +256 -0
  22. package/lib/commonjs/command/Command.js.map +1 -0
  23. package/lib/commonjs/command/index.js +10 -0
  24. package/lib/commonjs/command/index.js.map +1 -0
  25. package/lib/commonjs/command/index.web.js +10 -0
  26. package/lib/commonjs/command/index.web.js.map +1 -0
  27. package/lib/commonjs/command/types.js +6 -0
  28. package/lib/commonjs/command/types.js.map +1 -0
  29. package/lib/commonjs/field/Field.js +68 -0
  30. package/lib/commonjs/field/Field.js.map +1 -0
  31. package/lib/commonjs/field/index.js +13 -0
  32. package/lib/commonjs/field/index.js.map +1 -0
  33. package/lib/commonjs/field/types.js +6 -0
  34. package/lib/commonjs/field/types.js.map +1 -0
  35. package/lib/commonjs/index.js +117 -25
  36. package/lib/commonjs/index.js.map +1 -1
  37. package/lib/commonjs/index.web.js +117 -25
  38. package/lib/commonjs/index.web.js.map +1 -1
  39. package/lib/commonjs/input-group/InputGroup.js +172 -0
  40. package/lib/commonjs/input-group/InputGroup.js.map +1 -0
  41. package/lib/commonjs/input-group/index.js +19 -0
  42. package/lib/commonjs/input-group/index.js.map +1 -0
  43. package/lib/commonjs/input-group/types.js +6 -0
  44. package/lib/commonjs/input-group/types.js.map +1 -0
  45. package/lib/commonjs/item/Item.js +172 -0
  46. package/lib/commonjs/item/Item.js.map +1 -0
  47. package/lib/commonjs/item/index.js +13 -0
  48. package/lib/commonjs/item/index.js.map +1 -0
  49. package/lib/commonjs/item/types.js +6 -0
  50. package/lib/commonjs/item/types.js.map +1 -0
  51. package/lib/commonjs/kbd/Kbd.js +79 -0
  52. package/lib/commonjs/kbd/Kbd.js.map +1 -0
  53. package/lib/commonjs/kbd/index.js +13 -0
  54. package/lib/commonjs/kbd/index.js.map +1 -0
  55. package/lib/commonjs/kbd/types.js +6 -0
  56. package/lib/commonjs/kbd/types.js.map +1 -0
  57. package/lib/commonjs/label/Label.js +60 -0
  58. package/lib/commonjs/label/Label.js.map +1 -0
  59. package/lib/commonjs/label/index.js +13 -0
  60. package/lib/commonjs/label/index.js.map +1 -0
  61. package/lib/commonjs/label/types.js +6 -0
  62. package/lib/commonjs/label/types.js.map +1 -0
  63. package/lib/commonjs/popover/context.js +18 -0
  64. package/lib/commonjs/popover/context.js.map +1 -0
  65. package/lib/commonjs/popover/index.js +111 -0
  66. package/lib/commonjs/popover/index.js.map +1 -0
  67. package/lib/commonjs/popover/index.web.js +286 -0
  68. package/lib/commonjs/popover/index.web.js.map +1 -0
  69. package/lib/commonjs/popover/types.js +6 -0
  70. package/lib/commonjs/popover/types.js.map +1 -0
  71. package/lib/commonjs/react-native-css.d.js +2 -0
  72. package/lib/commonjs/react-native-css.d.js.map +1 -0
  73. package/lib/commonjs/slider/Slider.js +255 -0
  74. package/lib/commonjs/slider/Slider.js.map +1 -0
  75. package/lib/commonjs/slider/index.js +13 -0
  76. package/lib/commonjs/slider/index.js.map +1 -0
  77. package/lib/commonjs/slider/types.js +6 -0
  78. package/lib/commonjs/slider/types.js.map +1 -0
  79. package/lib/commonjs/theme/BloomThemeProvider.js +39 -7
  80. package/lib/commonjs/theme/BloomThemeProvider.js.map +1 -1
  81. package/lib/commonjs/theme/color-presets.js +118 -118
  82. package/lib/commonjs/theme/color-presets.js.map +1 -1
  83. package/lib/commonjs/theme/color-scope/index.js +28 -6
  84. package/lib/commonjs/theme/color-scope/index.js.map +1 -1
  85. package/lib/commonjs/theme/color-scope/style-builder.js +35 -0
  86. package/lib/commonjs/theme/color-scope/style-builder.js.map +1 -1
  87. package/lib/commonjs/theme/native-root-vars.js +105 -0
  88. package/lib/commonjs/theme/native-root-vars.js.map +1 -0
  89. package/lib/commonjs/theme/native-root-vars.web.js +27 -0
  90. package/lib/commonjs/theme/native-root-vars.web.js.map +1 -0
  91. package/lib/commonjs/theme/preset-vars.js +4 -1
  92. package/lib/commonjs/theme/preset-vars.js.map +1 -1
  93. package/lib/module/alert-dialog/AlertDialog.js +104 -0
  94. package/lib/module/alert-dialog/AlertDialog.js.map +1 -0
  95. package/lib/module/alert-dialog/AlertDialogHost.js +45 -0
  96. package/lib/module/alert-dialog/AlertDialogHost.js.map +1 -0
  97. package/lib/module/alert-dialog/confirm-store.js +73 -0
  98. package/lib/module/alert-dialog/confirm-store.js.map +1 -0
  99. package/lib/module/alert-dialog/index.js +9 -0
  100. package/lib/module/alert-dialog/index.js.map +1 -0
  101. package/lib/module/alert-dialog/index.web.js +9 -0
  102. package/lib/module/alert-dialog/index.web.js.map +1 -0
  103. package/lib/module/alert-dialog/types.js +4 -0
  104. package/lib/module/alert-dialog/types.js.map +1 -0
  105. package/lib/module/combobox/Combobox.js +222 -0
  106. package/lib/module/combobox/Combobox.js.map +1 -0
  107. package/lib/module/combobox/index.js +6 -0
  108. package/lib/module/combobox/index.js.map +1 -0
  109. package/lib/module/combobox/index.web.js +6 -0
  110. package/lib/module/combobox/index.web.js.map +1 -0
  111. package/lib/module/combobox/types.js +4 -0
  112. package/lib/module/combobox/types.js.map +1 -0
  113. package/lib/module/command/Command.js +251 -0
  114. package/lib/module/command/Command.js.map +1 -0
  115. package/lib/module/command/index.js +6 -0
  116. package/lib/module/command/index.js.map +1 -0
  117. package/lib/module/command/index.web.js +6 -0
  118. package/lib/module/command/index.web.js.map +1 -0
  119. package/lib/module/command/types.js +4 -0
  120. package/lib/module/command/types.js.map +1 -0
  121. package/lib/module/field/Field.js +63 -0
  122. package/lib/module/field/Field.js.map +1 -0
  123. package/lib/module/field/index.js +4 -0
  124. package/lib/module/field/index.js.map +1 -0
  125. package/lib/module/field/types.js +4 -0
  126. package/lib/module/field/types.js.map +1 -0
  127. package/lib/module/index.js +10 -3
  128. package/lib/module/index.js.map +1 -1
  129. package/lib/module/index.web.js +10 -3
  130. package/lib/module/index.web.js.map +1 -1
  131. package/lib/module/input-group/InputGroup.js +167 -0
  132. package/lib/module/input-group/InputGroup.js.map +1 -0
  133. package/lib/module/input-group/index.js +4 -0
  134. package/lib/module/input-group/index.js.map +1 -0
  135. package/lib/module/input-group/types.js +4 -0
  136. package/lib/module/input-group/types.js.map +1 -0
  137. package/lib/module/item/Item.js +167 -0
  138. package/lib/module/item/Item.js.map +1 -0
  139. package/lib/module/item/index.js +4 -0
  140. package/lib/module/item/index.js.map +1 -0
  141. package/lib/module/item/types.js +4 -0
  142. package/lib/module/item/types.js.map +1 -0
  143. package/lib/module/kbd/Kbd.js +74 -0
  144. package/lib/module/kbd/Kbd.js.map +1 -0
  145. package/lib/module/kbd/index.js +4 -0
  146. package/lib/module/kbd/index.js.map +1 -0
  147. package/lib/module/kbd/types.js +4 -0
  148. package/lib/module/kbd/types.js.map +1 -0
  149. package/lib/module/label/Label.js +55 -0
  150. package/lib/module/label/Label.js.map +1 -0
  151. package/lib/module/label/index.js +4 -0
  152. package/lib/module/label/index.js.map +1 -0
  153. package/lib/module/label/types.js +4 -0
  154. package/lib/module/label/types.js.map +1 -0
  155. package/lib/module/popover/context.js +13 -0
  156. package/lib/module/popover/context.js.map +1 -0
  157. package/lib/module/popover/index.js +95 -0
  158. package/lib/module/popover/index.js.map +1 -0
  159. package/lib/module/popover/index.web.js +274 -0
  160. package/lib/module/popover/index.web.js.map +1 -0
  161. package/lib/module/popover/types.js +4 -0
  162. package/lib/module/popover/types.js.map +1 -0
  163. package/lib/module/react-native-css.d.js +2 -0
  164. package/lib/module/react-native-css.d.js.map +1 -0
  165. package/lib/module/slider/Slider.js +250 -0
  166. package/lib/module/slider/Slider.js.map +1 -0
  167. package/lib/module/slider/index.js +4 -0
  168. package/lib/module/slider/index.js.map +1 -0
  169. package/lib/module/slider/types.js +4 -0
  170. package/lib/module/slider/types.js.map +1 -0
  171. package/lib/module/theme/BloomThemeProvider.js +40 -8
  172. package/lib/module/theme/BloomThemeProvider.js.map +1 -1
  173. package/lib/module/theme/color-presets.js +118 -118
  174. package/lib/module/theme/color-presets.js.map +1 -1
  175. package/lib/module/theme/color-scope/index.js +29 -7
  176. package/lib/module/theme/color-scope/index.js.map +1 -1
  177. package/lib/module/theme/color-scope/style-builder.js +35 -0
  178. package/lib/module/theme/color-scope/style-builder.js.map +1 -1
  179. package/lib/module/theme/native-root-vars.js +101 -0
  180. package/lib/module/theme/native-root-vars.js.map +1 -0
  181. package/lib/module/theme/native-root-vars.web.js +23 -0
  182. package/lib/module/theme/native-root-vars.web.js.map +1 -0
  183. package/lib/module/theme/preset-vars.js +4 -1
  184. package/lib/module/theme/preset-vars.js.map +1 -1
  185. package/lib/typescript/commonjs/alert-dialog/AlertDialog.d.ts +21 -0
  186. package/lib/typescript/commonjs/alert-dialog/AlertDialog.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/alert-dialog/AlertDialogHost.d.ts +15 -0
  188. package/lib/typescript/commonjs/alert-dialog/AlertDialogHost.d.ts.map +1 -0
  189. package/lib/typescript/commonjs/alert-dialog/confirm-store.d.ts +31 -0
  190. package/lib/typescript/commonjs/alert-dialog/confirm-store.d.ts.map +1 -0
  191. package/lib/typescript/commonjs/alert-dialog/index.d.ts +8 -0
  192. package/lib/typescript/commonjs/alert-dialog/index.d.ts.map +1 -0
  193. package/lib/typescript/commonjs/alert-dialog/index.web.d.ts +8 -0
  194. package/lib/typescript/commonjs/alert-dialog/index.web.d.ts.map +1 -0
  195. package/lib/typescript/commonjs/alert-dialog/types.d.ts +44 -0
  196. package/lib/typescript/commonjs/alert-dialog/types.d.ts.map +1 -0
  197. package/lib/typescript/commonjs/combobox/Combobox.d.ts +33 -0
  198. package/lib/typescript/commonjs/combobox/Combobox.d.ts.map +1 -0
  199. package/lib/typescript/commonjs/combobox/index.d.ts +6 -0
  200. package/lib/typescript/commonjs/combobox/index.d.ts.map +1 -0
  201. package/lib/typescript/commonjs/combobox/index.web.d.ts +6 -0
  202. package/lib/typescript/commonjs/combobox/index.web.d.ts.map +1 -0
  203. package/lib/typescript/commonjs/combobox/types.d.ts +40 -0
  204. package/lib/typescript/commonjs/combobox/types.d.ts.map +1 -0
  205. package/lib/typescript/commonjs/command/Command.d.ts +22 -0
  206. package/lib/typescript/commonjs/command/Command.d.ts.map +1 -0
  207. package/lib/typescript/commonjs/command/index.d.ts +6 -0
  208. package/lib/typescript/commonjs/command/index.d.ts.map +1 -0
  209. package/lib/typescript/commonjs/command/index.web.d.ts +6 -0
  210. package/lib/typescript/commonjs/command/index.web.d.ts.map +1 -0
  211. package/lib/typescript/commonjs/command/types.d.ts +46 -0
  212. package/lib/typescript/commonjs/command/types.d.ts.map +1 -0
  213. package/lib/typescript/commonjs/field/Field.d.ts +4 -0
  214. package/lib/typescript/commonjs/field/Field.d.ts.map +1 -0
  215. package/lib/typescript/commonjs/field/index.d.ts +3 -0
  216. package/lib/typescript/commonjs/field/index.d.ts.map +1 -0
  217. package/lib/typescript/commonjs/field/types.d.ts +26 -0
  218. package/lib/typescript/commonjs/field/types.d.ts.map +1 -0
  219. package/lib/typescript/commonjs/icons/common.d.ts +8 -8
  220. package/lib/typescript/commonjs/index.d.ts +19 -0
  221. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/index.web.d.ts +19 -0
  223. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/input-group/InputGroup.d.ts +9 -0
  225. package/lib/typescript/commonjs/input-group/InputGroup.d.ts.map +1 -0
  226. package/lib/typescript/commonjs/input-group/index.d.ts +3 -0
  227. package/lib/typescript/commonjs/input-group/index.d.ts.map +1 -0
  228. package/lib/typescript/commonjs/input-group/types.d.ts +35 -0
  229. package/lib/typescript/commonjs/input-group/types.d.ts.map +1 -0
  230. package/lib/typescript/commonjs/item/Item.d.ts +4 -0
  231. package/lib/typescript/commonjs/item/Item.d.ts.map +1 -0
  232. package/lib/typescript/commonjs/item/index.d.ts +3 -0
  233. package/lib/typescript/commonjs/item/index.d.ts.map +1 -0
  234. package/lib/typescript/commonjs/item/types.d.ts +45 -0
  235. package/lib/typescript/commonjs/item/types.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/kbd/Kbd.d.ts +4 -0
  237. package/lib/typescript/commonjs/kbd/Kbd.d.ts.map +1 -0
  238. package/lib/typescript/commonjs/kbd/index.d.ts +3 -0
  239. package/lib/typescript/commonjs/kbd/index.d.ts.map +1 -0
  240. package/lib/typescript/commonjs/kbd/types.d.ts +13 -0
  241. package/lib/typescript/commonjs/kbd/types.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/label/Label.d.ts +4 -0
  243. package/lib/typescript/commonjs/label/Label.d.ts.map +1 -0
  244. package/lib/typescript/commonjs/label/index.d.ts +3 -0
  245. package/lib/typescript/commonjs/label/index.d.ts.map +1 -0
  246. package/lib/typescript/commonjs/label/types.d.ts +27 -0
  247. package/lib/typescript/commonjs/label/types.d.ts.map +1 -0
  248. package/lib/typescript/commonjs/popover/context.d.ts +15 -0
  249. package/lib/typescript/commonjs/popover/context.d.ts.map +1 -0
  250. package/lib/typescript/commonjs/popover/index.d.ts +14 -0
  251. package/lib/typescript/commonjs/popover/index.d.ts.map +1 -0
  252. package/lib/typescript/commonjs/popover/index.web.d.ts +14 -0
  253. package/lib/typescript/commonjs/popover/index.web.d.ts.map +1 -0
  254. package/lib/typescript/commonjs/popover/types.d.ts +54 -0
  255. package/lib/typescript/commonjs/popover/types.d.ts.map +1 -0
  256. package/lib/typescript/commonjs/slider/Slider.d.ts +4 -0
  257. package/lib/typescript/commonjs/slider/Slider.d.ts.map +1 -0
  258. package/lib/typescript/commonjs/slider/index.d.ts +3 -0
  259. package/lib/typescript/commonjs/slider/index.d.ts.map +1 -0
  260. package/lib/typescript/commonjs/slider/types.d.ts +30 -0
  261. package/lib/typescript/commonjs/slider/types.d.ts.map +1 -0
  262. package/lib/typescript/commonjs/theme/BloomThemeProvider.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/theme/color-scope/index.d.ts +9 -2
  264. package/lib/typescript/commonjs/theme/color-scope/index.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/theme/color-scope/style-builder.d.ts +32 -0
  266. package/lib/typescript/commonjs/theme/color-scope/style-builder.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/theme/native-root-vars.d.ts +89 -0
  268. package/lib/typescript/commonjs/theme/native-root-vars.d.ts.map +1 -0
  269. package/lib/typescript/commonjs/theme/native-root-vars.web.d.ts +20 -0
  270. package/lib/typescript/commonjs/theme/native-root-vars.web.d.ts.map +1 -0
  271. package/lib/typescript/commonjs/theme/preset-vars.d.ts.map +1 -1
  272. package/lib/typescript/module/alert-dialog/AlertDialog.d.ts +21 -0
  273. package/lib/typescript/module/alert-dialog/AlertDialog.d.ts.map +1 -0
  274. package/lib/typescript/module/alert-dialog/AlertDialogHost.d.ts +15 -0
  275. package/lib/typescript/module/alert-dialog/AlertDialogHost.d.ts.map +1 -0
  276. package/lib/typescript/module/alert-dialog/confirm-store.d.ts +31 -0
  277. package/lib/typescript/module/alert-dialog/confirm-store.d.ts.map +1 -0
  278. package/lib/typescript/module/alert-dialog/index.d.ts +8 -0
  279. package/lib/typescript/module/alert-dialog/index.d.ts.map +1 -0
  280. package/lib/typescript/module/alert-dialog/index.web.d.ts +8 -0
  281. package/lib/typescript/module/alert-dialog/index.web.d.ts.map +1 -0
  282. package/lib/typescript/module/alert-dialog/types.d.ts +44 -0
  283. package/lib/typescript/module/alert-dialog/types.d.ts.map +1 -0
  284. package/lib/typescript/module/combobox/Combobox.d.ts +33 -0
  285. package/lib/typescript/module/combobox/Combobox.d.ts.map +1 -0
  286. package/lib/typescript/module/combobox/index.d.ts +6 -0
  287. package/lib/typescript/module/combobox/index.d.ts.map +1 -0
  288. package/lib/typescript/module/combobox/index.web.d.ts +6 -0
  289. package/lib/typescript/module/combobox/index.web.d.ts.map +1 -0
  290. package/lib/typescript/module/combobox/types.d.ts +40 -0
  291. package/lib/typescript/module/combobox/types.d.ts.map +1 -0
  292. package/lib/typescript/module/command/Command.d.ts +22 -0
  293. package/lib/typescript/module/command/Command.d.ts.map +1 -0
  294. package/lib/typescript/module/command/index.d.ts +6 -0
  295. package/lib/typescript/module/command/index.d.ts.map +1 -0
  296. package/lib/typescript/module/command/index.web.d.ts +6 -0
  297. package/lib/typescript/module/command/index.web.d.ts.map +1 -0
  298. package/lib/typescript/module/command/types.d.ts +46 -0
  299. package/lib/typescript/module/command/types.d.ts.map +1 -0
  300. package/lib/typescript/module/field/Field.d.ts +4 -0
  301. package/lib/typescript/module/field/Field.d.ts.map +1 -0
  302. package/lib/typescript/module/field/index.d.ts +3 -0
  303. package/lib/typescript/module/field/index.d.ts.map +1 -0
  304. package/lib/typescript/module/field/types.d.ts +26 -0
  305. package/lib/typescript/module/field/types.d.ts.map +1 -0
  306. package/lib/typescript/module/icons/common.d.ts +8 -8
  307. package/lib/typescript/module/index.d.ts +19 -0
  308. package/lib/typescript/module/index.d.ts.map +1 -1
  309. package/lib/typescript/module/index.web.d.ts +19 -0
  310. package/lib/typescript/module/index.web.d.ts.map +1 -1
  311. package/lib/typescript/module/input-group/InputGroup.d.ts +9 -0
  312. package/lib/typescript/module/input-group/InputGroup.d.ts.map +1 -0
  313. package/lib/typescript/module/input-group/index.d.ts +3 -0
  314. package/lib/typescript/module/input-group/index.d.ts.map +1 -0
  315. package/lib/typescript/module/input-group/types.d.ts +35 -0
  316. package/lib/typescript/module/input-group/types.d.ts.map +1 -0
  317. package/lib/typescript/module/item/Item.d.ts +4 -0
  318. package/lib/typescript/module/item/Item.d.ts.map +1 -0
  319. package/lib/typescript/module/item/index.d.ts +3 -0
  320. package/lib/typescript/module/item/index.d.ts.map +1 -0
  321. package/lib/typescript/module/item/types.d.ts +45 -0
  322. package/lib/typescript/module/item/types.d.ts.map +1 -0
  323. package/lib/typescript/module/kbd/Kbd.d.ts +4 -0
  324. package/lib/typescript/module/kbd/Kbd.d.ts.map +1 -0
  325. package/lib/typescript/module/kbd/index.d.ts +3 -0
  326. package/lib/typescript/module/kbd/index.d.ts.map +1 -0
  327. package/lib/typescript/module/kbd/types.d.ts +13 -0
  328. package/lib/typescript/module/kbd/types.d.ts.map +1 -0
  329. package/lib/typescript/module/label/Label.d.ts +4 -0
  330. package/lib/typescript/module/label/Label.d.ts.map +1 -0
  331. package/lib/typescript/module/label/index.d.ts +3 -0
  332. package/lib/typescript/module/label/index.d.ts.map +1 -0
  333. package/lib/typescript/module/label/types.d.ts +27 -0
  334. package/lib/typescript/module/label/types.d.ts.map +1 -0
  335. package/lib/typescript/module/popover/context.d.ts +15 -0
  336. package/lib/typescript/module/popover/context.d.ts.map +1 -0
  337. package/lib/typescript/module/popover/index.d.ts +14 -0
  338. package/lib/typescript/module/popover/index.d.ts.map +1 -0
  339. package/lib/typescript/module/popover/index.web.d.ts +14 -0
  340. package/lib/typescript/module/popover/index.web.d.ts.map +1 -0
  341. package/lib/typescript/module/popover/types.d.ts +54 -0
  342. package/lib/typescript/module/popover/types.d.ts.map +1 -0
  343. package/lib/typescript/module/slider/Slider.d.ts +4 -0
  344. package/lib/typescript/module/slider/Slider.d.ts.map +1 -0
  345. package/lib/typescript/module/slider/index.d.ts +3 -0
  346. package/lib/typescript/module/slider/index.d.ts.map +1 -0
  347. package/lib/typescript/module/slider/types.d.ts +30 -0
  348. package/lib/typescript/module/slider/types.d.ts.map +1 -0
  349. package/lib/typescript/module/theme/BloomThemeProvider.d.ts.map +1 -1
  350. package/lib/typescript/module/theme/color-scope/index.d.ts +9 -2
  351. package/lib/typescript/module/theme/color-scope/index.d.ts.map +1 -1
  352. package/lib/typescript/module/theme/color-scope/style-builder.d.ts +32 -0
  353. package/lib/typescript/module/theme/color-scope/style-builder.d.ts.map +1 -1
  354. package/lib/typescript/module/theme/native-root-vars.d.ts +89 -0
  355. package/lib/typescript/module/theme/native-root-vars.d.ts.map +1 -0
  356. package/lib/typescript/module/theme/native-root-vars.web.d.ts +20 -0
  357. package/lib/typescript/module/theme/native-root-vars.web.d.ts.map +1 -0
  358. package/lib/typescript/module/theme/preset-vars.d.ts.map +1 -1
  359. package/package.json +141 -1
  360. package/src/__tests__/Field.test.tsx +55 -0
  361. package/src/__tests__/InputGroup.test.tsx +44 -0
  362. package/src/__tests__/Item.test.tsx +73 -0
  363. package/src/__tests__/Kbd.test.tsx +27 -0
  364. package/src/__tests__/Label.test.tsx +30 -0
  365. package/src/__tests__/Slider.test.tsx +38 -0
  366. package/src/__tests__/confirm-store.test.ts +58 -0
  367. package/src/__tests__/native-root-vars.test.ts +125 -0
  368. package/src/alert-dialog/AlertDialog.stories.tsx +61 -0
  369. package/src/alert-dialog/AlertDialog.tsx +120 -0
  370. package/src/alert-dialog/AlertDialogHost.tsx +51 -0
  371. package/src/alert-dialog/confirm-store.ts +77 -0
  372. package/src/alert-dialog/index.ts +13 -0
  373. package/src/alert-dialog/index.web.ts +13 -0
  374. package/src/alert-dialog/types.ts +46 -0
  375. package/src/combobox/Combobox.stories.tsx +40 -0
  376. package/src/combobox/Combobox.tsx +274 -0
  377. package/src/combobox/index.ts +6 -0
  378. package/src/combobox/index.web.ts +6 -0
  379. package/src/combobox/types.ts +41 -0
  380. package/src/command/Command.stories.tsx +60 -0
  381. package/src/command/Command.tsx +276 -0
  382. package/src/command/index.ts +6 -0
  383. package/src/command/index.web.ts +6 -0
  384. package/src/command/types.ts +47 -0
  385. package/src/field/Field.stories.tsx +54 -0
  386. package/src/field/Field.tsx +77 -0
  387. package/src/field/index.ts +2 -0
  388. package/src/field/types.ts +26 -0
  389. package/src/index.ts +23 -0
  390. package/src/index.web.ts +23 -0
  391. package/src/input-group/InputGroup.stories.tsx +65 -0
  392. package/src/input-group/InputGroup.tsx +184 -0
  393. package/src/input-group/index.ts +2 -0
  394. package/src/input-group/types.ts +36 -0
  395. package/src/item/Item.stories.tsx +43 -0
  396. package/src/item/Item.tsx +180 -0
  397. package/src/item/index.ts +2 -0
  398. package/src/item/types.ts +45 -0
  399. package/src/kbd/Kbd.stories.tsx +36 -0
  400. package/src/kbd/Kbd.tsx +76 -0
  401. package/src/kbd/index.ts +2 -0
  402. package/src/kbd/types.ts +13 -0
  403. package/src/label/Label.stories.tsx +32 -0
  404. package/src/label/Label.tsx +64 -0
  405. package/src/label/index.ts +2 -0
  406. package/src/label/types.ts +27 -0
  407. package/src/popover/Popover.stories.tsx +61 -0
  408. package/src/popover/context.ts +26 -0
  409. package/src/popover/index.tsx +104 -0
  410. package/src/popover/index.web.tsx +325 -0
  411. package/src/popover/types.ts +60 -0
  412. package/src/react-native-css.d.ts +69 -0
  413. package/src/slider/Slider.stories.tsx +46 -0
  414. package/src/slider/Slider.tsx +275 -0
  415. package/src/slider/index.ts +2 -0
  416. package/src/slider/types.ts +30 -0
  417. package/src/theme/BloomThemeProvider.tsx +32 -6
  418. package/src/theme/color-presets.ts +118 -118
  419. package/src/theme/color-scope/index.tsx +30 -8
  420. package/src/theme/color-scope/style-builder.ts +40 -0
  421. package/src/theme/native-root-vars.ts +102 -0
  422. package/src/theme/native-root-vars.web.ts +22 -0
  423. package/src/theme/preset-vars.ts +4 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { StyleProp, ViewStyle } from 'react-native';
2
+ export interface FieldProps {
3
+ /** The input/control this field wraps. */
4
+ children: React.ReactNode;
5
+ /** Field label, rendered above the control via Bloom's `Label`. */
6
+ label?: React.ReactNode;
7
+ /** Helper/description text rendered below the control. */
8
+ description?: React.ReactNode;
9
+ /**
10
+ * Error message. When a non-empty string is provided the field renders in
11
+ * its invalid state (error-colored message, replaces the description).
12
+ */
13
+ error?: string | null;
14
+ /** Mark the field's label with a required asterisk. */
15
+ required?: boolean;
16
+ /** Disabled styling for the label/description. */
17
+ disabled?: boolean;
18
+ /**
19
+ * `nativeID` wired to the label's `htmlFor` (web) so a label click focuses
20
+ * the control. Set the same id on the child control's `nativeID`.
21
+ */
22
+ nativeID?: string;
23
+ style?: StyleProp<ViewStyle>;
24
+ testID?: string;
25
+ }
26
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,mEAAmE;IACnE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,0DAA0D;IAC1D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -37,14 +37,6 @@ export declare function useCommonSVGProps(props: Props): {
37
37
  title?: string | undefined;
38
38
  children?: React.ReactNode;
39
39
  filter?: string | undefined;
40
- color?: ColorValue | undefined;
41
- scale?: import("react-native-svg").NumberArray | undefined;
42
- scaleX?: import("react-native-svg").NumberProp | undefined;
43
- scaleY?: import("react-native-svg").NumberProp | undefined;
44
- translateX?: import("react-native-svg").NumberProp | undefined;
45
- translateY?: import("react-native-svg").NumberProp | undefined;
46
- skewX?: import("react-native-svg").NumberProp | undefined;
47
- skewY?: import("react-native-svg").NumberProp | undefined;
48
40
  hitSlop?: number | import("react-native").Insets | undefined;
49
41
  id?: string | undefined;
50
42
  needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
@@ -136,6 +128,14 @@ export declare function useCommonSVGProps(props: Props): {
136
128
  accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
137
129
  accessibilityLargeContentTitle?: string | undefined | undefined;
138
130
  accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
131
+ color?: ColorValue | undefined;
132
+ scale?: import("react-native-svg").NumberArray | undefined;
133
+ scaleX?: import("react-native-svg").NumberProp | undefined;
134
+ scaleY?: import("react-native-svg").NumberProp | undefined;
135
+ translateX?: import("react-native-svg").NumberProp | undefined;
136
+ translateY?: import("react-native-svg").NumberProp | undefined;
137
+ skewX?: import("react-native-svg").NumberProp | undefined;
138
+ skewY?: import("react-native-svg").NumberProp | undefined;
139
139
  fontSize?: import("react-native-svg").NumberProp | undefined;
140
140
  fontWeight?: import("react-native-svg").FontWeight | undefined;
141
141
  fontStyle?: import("react-native-svg").FontStyle | undefined;
@@ -31,6 +31,16 @@ export { IconCircle } from './icon-circle';
31
31
  export * as TextField from './text-field';
32
32
  export * as SegmentedControl from './segmented-control';
33
33
  export { SearchInput } from './search-input';
34
+ export { Label } from './label';
35
+ export type { LabelProps } from './label';
36
+ export { Field } from './field';
37
+ export type { FieldProps } from './field';
38
+ export { InputGroup } from './input-group';
39
+ export type { InputGroupProps, InputGroupAddonProps } from './input-group';
40
+ export { Slider } from './slider';
41
+ export type { SliderProps } from './slider';
42
+ export { Combobox } from './combobox';
43
+ export type { ComboboxProps, ComboboxOption } from './combobox';
34
44
  export { BottomSheet } from './bottom-sheet';
35
45
  export type { BottomSheetRef, BottomSheetProps } from './bottom-sheet';
36
46
  export * from './card';
@@ -40,11 +50,20 @@ export * as Tabs from './tabs';
40
50
  export * from './checkbox';
41
51
  export * as Accordion from './accordion';
42
52
  export * from './settings-list';
53
+ export { Item } from './item';
54
+ export type { ItemProps } from './item';
55
+ export { Kbd } from './kbd';
56
+ export type { KbdProps } from './kbd';
43
57
  export * as Admonition from './admonition';
44
58
  export * as Menu from './menu';
45
59
  export * as Tooltip from './tooltip';
46
60
  export * as Select from './select';
47
61
  export * as ContextMenu from './context-menu';
62
+ export * as Popover from './popover';
63
+ export { AlertDialog, AlertDialogHost, confirm } from './alert-dialog';
64
+ export type { AlertDialogProps, AlertDialogActionStyle, ConfirmOptions, } from './alert-dialog';
65
+ export { Command } from './command';
66
+ export type { CommandProps, CommandItem } from './command';
48
67
  export * as Code from './code';
49
68
  export * as Fonts from './fonts';
50
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,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O,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACvE,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,cAAc,GACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG3D,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAG/B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}
@@ -31,6 +31,16 @@ export { IconCircle } from './icon-circle';
31
31
  export * as TextField from './text-field';
32
32
  export * as SegmentedControl from './segmented-control';
33
33
  export { SearchInput } from './search-input';
34
+ export { Label } from './label';
35
+ export type { LabelProps } from './label';
36
+ export { Field } from './field';
37
+ export type { FieldProps } from './field';
38
+ export { InputGroup } from './input-group';
39
+ export type { InputGroupProps, InputGroupAddonProps } from './input-group';
40
+ export { Slider } from './slider';
41
+ export type { SliderProps } from './slider';
42
+ export { Combobox } from './combobox/index.web';
43
+ export type { ComboboxProps, ComboboxOption } from './combobox/index.web';
34
44
  export { BottomSheet } from './bottom-sheet';
35
45
  export type { BottomSheetRef, BottomSheetProps } from './bottom-sheet';
36
46
  export * from './card';
@@ -40,11 +50,20 @@ export * as Tabs from './tabs';
40
50
  export * from './checkbox';
41
51
  export * as Accordion from './accordion';
42
52
  export * from './settings-list';
53
+ export { Item } from './item';
54
+ export type { ItemProps } from './item';
55
+ export { Kbd } from './kbd';
56
+ export type { KbdProps } from './kbd';
43
57
  export * as Admonition from './admonition';
44
58
  export * as Menu from './menu/index.web';
45
59
  export * as Tooltip from './tooltip/index.web';
46
60
  export * as Select from './select/index.web';
47
61
  export * as ContextMenu from './context-menu/index.web';
62
+ export * as Popover from './popover/index.web';
63
+ export { AlertDialog, AlertDialogHost, confirm } from './alert-dialog/index.web';
64
+ export type { AlertDialogProps, AlertDialogActionStyle, ConfirmOptions, } from './alert-dialog/index.web';
65
+ export { Command } from './command/index.web';
66
+ export type { CommandProps, CommandItem } from './command/index.web';
48
67
  export * as Code from './code';
49
68
  export * as Fonts from './fonts/index.web';
50
69
  //# sourceMappingURL=index.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AAMA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,KAAK,KAAK,IAAI,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BAA0B,CAAC;AACxD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACjF,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGrE,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAG/B,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { InputGroupAddonProps, InputGroupProps } from './types';
3
+ export declare const Addon: React.MemoExoticComponent<({ children, divider, noPadding, style, testID, }: InputGroupAddonProps) => import("react/jsx-runtime").JSX.Element>;
4
+ export declare const InputGroup: React.NamedExoticComponent<InputGroupProps> & {
5
+ readonly type: ({ children, isInvalid, disabled, size, style, testID, }: InputGroupProps) => import("react/jsx-runtime").JSX.Element;
6
+ } & {
7
+ Addon: React.MemoExoticComponent<({ children, divider, noPadding, style, testID, }: InputGroupAddonProps) => import("react/jsx-runtime").JSX.Element>;
8
+ };
9
+ //# sourceMappingURL=InputGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../../src/input-group/InputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAOf,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAyDrE,eAAO,MAAM,KAAK,+EApCf,oBAAoB,6CAoCkB,CAAC;AAkH1C,eAAO,MAAM,UAAU;6EAxFpB,eAAe;;wFA9Df,oBAAoB;CAsJ2C,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { InputGroup, Addon } from './InputGroup';
2
+ export type { InputGroupProps, InputGroupAddonProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/input-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACjD,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { StyleProp, ViewStyle } from 'react-native';
2
+ export interface InputGroupAddonProps {
3
+ /** Addon content (icon, text, `Button`, `Kbd`, etc.). */
4
+ children: React.ReactNode;
5
+ /**
6
+ * Visually separate the addon from the input with a hairline divider on the
7
+ * inner edge. Defaults to `false` (addons that are buttons usually want
8
+ * this `true`; plain text/icons usually don't).
9
+ */
10
+ divider?: boolean;
11
+ /**
12
+ * Remove the default horizontal padding (useful when the addon is an
13
+ * interactive control that brings its own hit area / padding).
14
+ */
15
+ noPadding?: boolean;
16
+ style?: StyleProp<ViewStyle>;
17
+ testID?: string;
18
+ }
19
+ export interface InputGroupProps {
20
+ /**
21
+ * Group children. Place `InputGroup.Addon` elements before/after the input
22
+ * (a Bloom `TextField.Input`, a `SearchInput`, or any control). The middle
23
+ * child stretches to fill.
24
+ */
25
+ children: React.ReactNode;
26
+ /** Invalid state — renders the error-colored border. */
27
+ isInvalid?: boolean;
28
+ /** Disabled styling. */
29
+ disabled?: boolean;
30
+ /** Size affects height + horizontal padding. Defaults to `'md'`. */
31
+ size?: 'sm' | 'md' | 'lg';
32
+ style?: StyleProp<ViewStyle>;
33
+ testID?: string;
34
+ }
35
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/input-group/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,oBAAoB;IACnC,yDAAyD;IACzD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wDAAwD;IACxD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ItemProps } from './types';
3
+ export declare const Item: React.MemoExoticComponent<({ title, subtitle, children, leading, trailing, onPress, onLongPress, disabled, destructive, selected, active, density, style, titleStyle, subtitleStyle, accessibilityLabel, accessibilityHint, accessibilityRole, role, testID, }: ItemProps) => import("react/jsx-runtime").JSX.Element>;
4
+ //# sourceMappingURL=Item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../src/item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAO7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA2KzC,eAAO,MAAM,IAAI,kQAzId,SAAS,6CAyI2B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Item } from './Item';
2
+ export type { ItemProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/item/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,45 @@
1
+ import type { AccessibilityRole, StyleProp, TextStyle, ViewStyle } from 'react-native';
2
+ export interface ItemProps {
3
+ /** Primary title text. */
4
+ title?: React.ReactNode;
5
+ /** Secondary text rendered below the title. */
6
+ subtitle?: React.ReactNode;
7
+ /**
8
+ * Arbitrary body content. When provided it replaces the
9
+ * `title`/`subtitle` text column — use it for fully custom rows.
10
+ */
11
+ children?: React.ReactNode;
12
+ /** Leading slot (icon, avatar, radio, etc.). */
13
+ leading?: React.ReactNode;
14
+ /** Trailing slot (chevron, switch, badge, value text, etc.). */
15
+ trailing?: React.ReactNode;
16
+ /** Makes the row pressable. */
17
+ onPress?: () => void;
18
+ /** Long-press handler. Only honored when the row is pressable. */
19
+ onLongPress?: () => void;
20
+ disabled?: boolean;
21
+ /** Render the title in the theme's negative/error color. */
22
+ destructive?: boolean;
23
+ /**
24
+ * Selected state — applies a subtle highlighted background. Useful when
25
+ * `Item` is used as an option inside an overlay (combobox, command, menu).
26
+ */
27
+ selected?: boolean;
28
+ /** Highlighted (keyboard-focused) state for overlay lists. */
29
+ active?: boolean;
30
+ /** Vertical density. Defaults to `'comfortable'`. */
31
+ density?: 'comfortable' | 'compact';
32
+ style?: StyleProp<ViewStyle>;
33
+ titleStyle?: StyleProp<TextStyle>;
34
+ subtitleStyle?: StyleProp<TextStyle>;
35
+ accessibilityLabel?: string;
36
+ accessibilityHint?: string;
37
+ accessibilityRole?: AccessibilityRole;
38
+ /**
39
+ * Web ARIA role override. Use `'option'` for combobox/listbox items (RN's
40
+ * `accessibilityRole` has no `'option'`); ignored on native.
41
+ */
42
+ role?: 'option' | 'menuitem' | 'listitem';
43
+ testID?: string;
44
+ }
45
+ //# sourceMappingURL=types.d.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AG,UAAU,GAAG,UAAU,CAAC;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { KbdProps } from './types';
3
+ export declare const Kbd: React.MemoExoticComponent<({ children, size, style, textStyle, testID, }: KbdProps) => import("react/jsx-runtime").JSX.Element>;
4
+ //# sourceMappingURL=Kbd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Kbd.d.ts","sourceRoot":"","sources":["../../../../src/kbd/Kbd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAMpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAoExC,eAAO,MAAM,GAAG,4EAlDb,QAAQ,6CAkD0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Kbd } from './Kbd';
2
+ export type { KbdProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/kbd/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
2
+ export interface KbdProps {
3
+ /** Key label, e.g. `⌘`, `K`, `Esc`, `Ctrl`. */
4
+ children: React.ReactNode;
5
+ /** Visual size. Defaults to `'md'`. */
6
+ size?: 'sm' | 'md';
7
+ /** Container style override. */
8
+ style?: StyleProp<ViewStyle>;
9
+ /** Text style override. */
10
+ textStyle?: StyleProp<TextStyle>;
11
+ testID?: string;
12
+ }
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/kbd/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,WAAW,QAAQ;IACvB,+CAA+C;IAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,uCAAuC;IACvC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { LabelProps } from './types';
3
+ export declare const Label: React.MemoExoticComponent<({ children, nativeID, htmlFor, required, disabled, size, style, testID, }: LabelProps) => import("react/jsx-runtime").JSX.Element>;
4
+ //# sourceMappingURL=Label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAOpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAuD1C,eAAO,MAAM,KAAK,wGAhCf,UAAU,6CAgC4B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Label } from './Label';
2
+ export type { LabelProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { StyleProp, TextStyle } from 'react-native';
2
+ export interface LabelProps {
3
+ /** Label text. */
4
+ children: React.ReactNode;
5
+ /**
6
+ * Native ID of the control this label describes. On web, also wires up
7
+ * `htmlFor` so clicking the label focuses the associated input.
8
+ */
9
+ nativeID?: string;
10
+ /**
11
+ * Web-only convenience: the `id` of the form control this label is for.
12
+ * Defaults to `nativeID` when omitted. Ignored on native.
13
+ */
14
+ htmlFor?: string;
15
+ /**
16
+ * Render a required marker (an asterisk in the theme's negative color)
17
+ * after the label text. Defaults to `false`.
18
+ */
19
+ required?: boolean;
20
+ /** Visually subdued label (e.g. for optional fields). Defaults to `false`. */
21
+ disabled?: boolean;
22
+ /** Typography size token. Defaults to `'sm'`. */
23
+ size?: 'xs' | 'sm' | 'md';
24
+ style?: StyleProp<TextStyle>;
25
+ testID?: string;
26
+ }
27
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/label/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,UAAU;IACzB,kBAAkB;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,15 @@
1
+ import type { View } from 'react-native';
2
+ import type { PopoverControlProps } from './types';
3
+ export interface PopoverContextValue {
4
+ control: PopoverControlProps;
5
+ /** Whether the popover is currently open. Drives web rendering. */
6
+ isOpen: boolean;
7
+ /**
8
+ * Ref to the trigger wrapper. Web uses it to anchor the floating panel.
9
+ * Native ignores it (it presents a bottom sheet).
10
+ */
11
+ triggerRef: React.RefObject<View | null>;
12
+ }
13
+ export declare const PopoverContext: import("react").Context<PopoverContextValue | null>;
14
+ export declare function usePopoverContext(): PopoverContextValue;
15
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/popover/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,mEAAmE;IACnE,MAAM,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;CAC1C;AAED,eAAO,MAAM,cAAc,qDAAkD,CAAC;AAG9E,wBAAgB,iBAAiB,IAAI,mBAAmB,CAMvD"}
@@ -0,0 +1,14 @@
1
+ import { usePopoverContext } from './context';
2
+ import type { PopoverContentProps, PopoverRootProps, PopoverTriggerProps } from './types';
3
+ export type { PopoverControlProps, PopoverContentProps, PopoverTriggerProps, PopoverRootProps, PopoverPlacement, PopoverTriggerRenderProps, PopoverTriggerState, } from './types';
4
+ export { useDialogControl as usePopoverControl } from '../dialog/context';
5
+ export { usePopoverContext };
6
+ /**
7
+ * Native `Popover` — presents its content in a bottom sheet (Bloom's
8
+ * established native-overlay convention, shared with `Menu`/`Select`). The
9
+ * web fork (`index.web.tsx`) anchors a floating panel to the trigger.
10
+ */
11
+ export declare function Root({ children, control }: PopoverRootProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function Trigger({ children, label }: PopoverTriggerProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function Content({ children, label, style, }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/popover/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,KAAK,EACV,mBAAmB,EAEnB,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,IAAI,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAiC3D;AAED,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,mBAAmB,2CAuB/D;AAED,wBAAgB,OAAO,CAAC,EACtB,QAAQ,EACR,KAAiB,EACjB,KAAK,GACN,EAAE,mBAAmB,2CAQrB"}
@@ -0,0 +1,14 @@
1
+ import { usePopoverContext } from './context';
2
+ import type { PopoverContentProps, PopoverControlProps, PopoverRootProps, PopoverTriggerProps } from './types';
3
+ export type { PopoverControlProps, PopoverContentProps, PopoverTriggerProps, PopoverRootProps, PopoverPlacement, PopoverTriggerRenderProps, PopoverTriggerState, } from './types';
4
+ export { usePopoverContext };
5
+ /**
6
+ * Web self-contained control. Unlike native (which proxies a `BottomSheet`
7
+ * via `useDialogControl`), the web popover owns its own open state and
8
+ * exposes a `DialogControlProps`-shaped handle for API parity.
9
+ */
10
+ export declare function usePopoverControl(): PopoverControlProps;
11
+ export declare function Root({ children, control }: PopoverRootProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function Trigger({ children, label }: PopoverTriggerProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function Content({ children, label, placement, offset, minWidth, maxWidth, dismissible, style, testID, }: PopoverContentProps): import("react/jsx-runtime").JSX.Element | null;
14
+ //# sourceMappingURL=index.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/popover/index.web.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EAEnB,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,mBAAmB,CAoBvD;AASD,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAkD3D;AAED,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,mBAAmB,2CA+B/D;AAuCD,wBAAgB,OAAO,CAAC,EACtB,QAAQ,EACR,KAAiB,EACjB,SAA0B,EAC1B,MAAU,EACV,QAAQ,EACR,QAAc,EACd,WAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,mBAAmB,kDAiGrB"}
@@ -0,0 +1,54 @@
1
+ import type { StyleProp, ViewStyle } from 'react-native';
2
+ import type { DialogControlProps } from '../dialog/types';
3
+ export type PopoverPlacement = 'bottom' | 'top' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
4
+ export type PopoverControlProps = DialogControlProps;
5
+ export interface PopoverTriggerState {
6
+ hovered: boolean;
7
+ focused: boolean;
8
+ pressed: boolean;
9
+ }
10
+ export interface PopoverTriggerRenderProps {
11
+ control: PopoverControlProps;
12
+ state: PopoverTriggerState;
13
+ props: {
14
+ onPress: () => void;
15
+ onFocus: () => void;
16
+ onBlur: () => void;
17
+ accessibilityLabel?: string;
18
+ accessibilityRole?: 'button';
19
+ 'aria-expanded'?: boolean;
20
+ 'aria-haspopup'?: 'dialog';
21
+ };
22
+ }
23
+ export interface PopoverTriggerProps {
24
+ /** Render-prop receiving the control + interaction state + a11y props. */
25
+ children: (renderProps: PopoverTriggerRenderProps) => React.ReactElement;
26
+ /** Accessibility label for the trigger. */
27
+ label?: string;
28
+ }
29
+ export interface PopoverContentProps {
30
+ children: React.ReactNode;
31
+ /** Accessibility label for the floating panel. */
32
+ label?: string;
33
+ /**
34
+ * Preferred placement relative to the trigger (web only — native presents a
35
+ * bottom sheet). Defaults to `'bottom-start'`.
36
+ */
37
+ placement?: PopoverPlacement;
38
+ /** Gap in px between the trigger and the panel (web). Defaults to `6`. */
39
+ offset?: number;
40
+ /** Minimum panel width in px (web). Defaults to the trigger width. */
41
+ minWidth?: number;
42
+ /** Max panel width in px (web). Defaults to `360`. */
43
+ maxWidth?: number;
44
+ /** Dismiss on outside press / Escape. Defaults to `true`. */
45
+ dismissible?: boolean;
46
+ style?: StyleProp<ViewStyle>;
47
+ testID?: string;
48
+ }
49
+ export interface PopoverRootProps {
50
+ children: React.ReactNode;
51
+ /** Optionally supply your own control (from `usePopoverControl`). */
52
+ control?: PopoverControlProps;
53
+ }
54
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,KAAK,GAAG,cAAc,GAAG,YAAY,GAAG,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ACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qEAAqE;IACrE,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { SliderProps } from './types';
3
+ export declare const Slider: React.MemoExoticComponent<({ value, onValueChange, onSlidingComplete, min, max, step, disabled, trackHeight, thumbSize, minimumTrackTintColor, maximumTrackTintColor, thumbTintColor, style, accessibilityLabel, testID, }: SliderProps) => import("react/jsx-runtime").JSX.Element>;
4
+ //# sourceMappingURL=Slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../src/slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAc5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmQ3C,eAAO,MAAM,MAAM,8NA3NhB,WAAW,6CA2N6B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Slider } from './Slider';
2
+ export type { SliderProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,30 @@
1
+ import type { StyleProp, ViewStyle } from 'react-native';
2
+ export interface SliderProps {
3
+ /** Current value (controlled). */
4
+ value: number;
5
+ /** Fired continuously as the user drags / steps the thumb. */
6
+ onValueChange: (value: number) => void;
7
+ /** Fired once when the drag gesture ends. */
8
+ onSlidingComplete?: (value: number) => void;
9
+ /** Minimum value. Defaults to `0`. */
10
+ min?: number;
11
+ /** Maximum value. Defaults to `100`. */
12
+ max?: number;
13
+ /** Step granularity. Defaults to `1`. Use a fractional step for fine control. */
14
+ step?: number;
15
+ disabled?: boolean;
16
+ /** Track thickness in px. Defaults to `4`. */
17
+ trackHeight?: number;
18
+ /** Thumb diameter in px. Defaults to `20`. */
19
+ thumbSize?: number;
20
+ /** Override the filled-track color. Defaults to the theme primary. */
21
+ minimumTrackTintColor?: string;
22
+ /** Override the unfilled-track color. Defaults to the theme border. */
23
+ maximumTrackTintColor?: string;
24
+ /** Override the thumb color. Defaults to the theme primary. */
25
+ thumbTintColor?: string;
26
+ style?: StyleProp<ViewStyle>;
27
+ accessibilityLabel?: string;
28
+ testID?: string;
29
+ }
30
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/slider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,WAAW;IAC1B,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,6CAA6C;IAC7C,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sEAAsE;IACtE,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,uEAAuE;IACvE,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAA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BAAmB,EACnB,UAAU,EACV,OAAO,EACP,cAAc,EACd,WAAW,EACX,KAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,QAAQ,GACT,EAAE,uBAAuB,2CAwFzB"}
@@ -19,8 +19,15 @@ export interface BloomColorScopeProps {
19
19
  export declare function BloomColorScope({ colorPreset, asChild, style, children, }: BloomColorScopeProps): import("react/jsx-runtime").JSX.Element;
20
20
  /**
21
21
  * Escape hatch for advanced cases where the wrapping element is owned by the
22
- * caller. Returns a stable native style object carrying the preset's CSS vars.
23
- * Returns `undefined` on web or when `nativewind` is not installed.
22
+ * caller. Returns a stable native style object carrying the preset's CSS vars
23
+ * via NativeWind's `vars()`. Returns `undefined` on web or when `nativewind`
24
+ * is not installed.
25
+ *
26
+ * NOTE: subject to the react-native-css@3 limitation — the returned style only
27
+ * propagates vars to descendants when applied to an interop className component
28
+ * (the runtime gates propagation on matched className style rules). It is a
29
+ * no-op on a plain `<View>` with no `className`. For the common case prefer
30
+ * `<BloomColorScope>`, which wraps children in `VariableContextProvider`.
24
31
  */
25
32
  export declare function useColorScopeStyle(colorPreset: AppColorName): StyleProp<ViewStyle>;
26
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/theme/color-scope/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsE,MAAM,OAAO,CAAC;AAC3F,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,WAAW,EAAE,YAAY,GAAG,SAAS,CAAC;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0GAA0G;IAC1G,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,EAAE,KAAK,C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