react-native-terra-ui 0.5.0 → 0.6.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 (357) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/lib/module/components/avatar/Avatar.js +60 -60
  3. package/lib/module/components/avatar/Avatar.js.map +1 -1
  4. package/lib/module/components/box/Box.js +2 -2
  5. package/lib/module/components/box/Box.js.map +1 -1
  6. package/lib/module/components/box/utils.js +19 -19
  7. package/lib/module/components/box/utils.js.map +1 -1
  8. package/lib/module/components/button/Button.js +54 -48
  9. package/lib/module/components/button/Button.js.map +1 -1
  10. package/lib/module/components/chip/Chip.js +94 -94
  11. package/lib/module/components/chip/Chip.js.map +1 -1
  12. package/lib/module/components/chip/utils.js +3 -3
  13. package/lib/module/components/empty-state/EmptyState.js +40 -40
  14. package/lib/module/components/empty-state/EmptyState.js.map +1 -1
  15. package/lib/module/components/header/header-buttons.js +5 -5
  16. package/lib/module/components/header/header-buttons.js.map +1 -1
  17. package/lib/module/components/header/parts/HeaderGradientOverlay.js +2 -2
  18. package/lib/module/components/header/parts/HeaderGradientOverlay.js.map +1 -1
  19. package/lib/module/components/header/variants/LargeTitleHeader/index.js +58 -58
  20. package/lib/module/components/header/variants/LargeTitleHeader/index.js.map +1 -1
  21. package/lib/module/components/header/variants/TitleHeader/index.js +27 -27
  22. package/lib/module/components/header/variants/TitleHeader/index.js.map +1 -1
  23. package/lib/module/components/icon/Icon.js +6 -6
  24. package/lib/module/components/icon/Icon.js.map +1 -1
  25. package/lib/module/components/image/Image.js +11 -6
  26. package/lib/module/components/image/Image.js.map +1 -1
  27. package/lib/module/components/page-indicator/PageIndicator.js +1 -1
  28. package/lib/module/components/page-indicator/PageIndicatorRoot.js.map +1 -1
  29. package/lib/module/components/page-indicator/hooks/use-page-indicator-colors.js +8 -8
  30. package/lib/module/components/page-indicator/hooks/use-page-indicator-colors.js.map +1 -1
  31. package/lib/module/components/page-indicator/hooks/use-page-indicator-core.js.map +1 -1
  32. package/lib/module/components/page-indicator/hooks/use-page-indicator-progress.js +6 -6
  33. package/lib/module/components/page-indicator/hooks/use-page-indicator-progress.js.map +1 -1
  34. package/lib/module/components/page-indicator/utils.js +8 -8
  35. package/lib/module/components/page-indicator/utils.js.map +1 -1
  36. package/lib/module/components/page-indicator/variants/DotIndicator/InactiveDot.js +2 -2
  37. package/lib/module/components/page-indicator/variants/DotIndicator/InactiveDot.js.map +1 -1
  38. package/lib/module/components/page-indicator/variants/DotIndicator/LoadingOrbit.js +9 -9
  39. package/lib/module/components/page-indicator/variants/DotIndicator/LoadingOrbit.js.map +1 -1
  40. package/lib/module/components/page-indicator/variants/DotIndicator/TravelingPill.js +2 -2
  41. package/lib/module/components/page-indicator/variants/DotIndicator/TravelingPill.js.map +1 -1
  42. package/lib/module/components/page-indicator/variants/DotIndicator/index.js +3 -3
  43. package/lib/module/components/page-indicator/variants/DotIndicator/index.js.map +1 -1
  44. package/lib/module/components/page-indicator/variants/DotIndicator/utils.js +1 -1
  45. package/lib/module/components/page-indicator/variants/DotIndicator/utils.js.map +1 -1
  46. package/lib/module/components/page-indicator/variants/PillIndicator/PillIndicatorDot.js +1 -1
  47. package/lib/module/components/page-indicator/variants/PillIndicator/PillIndicatorDot.js.map +1 -1
  48. package/lib/module/components/page-indicator/variants/PillIndicator/index.js +5 -5
  49. package/lib/module/components/page-indicator/variants/PillIndicator/index.js.map +1 -1
  50. package/lib/module/components/page-indicator/variants/PillIndicator/utils.js +3 -3
  51. package/lib/module/components/portal/Portal.js +1 -1
  52. package/lib/module/components/portal/PortalContext.js +1 -1
  53. package/lib/module/components/portal/PortalHost.js +1 -1
  54. package/lib/module/components/portal/PortalProvider.js +1 -1
  55. package/lib/module/components/portal/PortalProvider.js.map +1 -1
  56. package/lib/module/components/screen/Screen.js +8 -8
  57. package/lib/module/components/screen/Screen.js.map +1 -1
  58. package/lib/module/components/screen/ScreenContext.js +6 -6
  59. package/lib/module/components/screen/ScreenContext.js.map +1 -1
  60. package/lib/module/components/screen/ScreenFlatList.js +3 -3
  61. package/lib/module/components/screen/ScreenFlatList.js.map +1 -1
  62. package/lib/module/components/screen/ScreenList.js +5 -5
  63. package/lib/module/components/screen/ScreenList.js.map +1 -1
  64. package/lib/module/components/screen/ScreenScrollView.js +6 -6
  65. package/lib/module/components/screen/ScreenScrollView.js.map +1 -1
  66. package/lib/module/components/screen/parts/BottomSafeArea.js +1 -1
  67. package/lib/module/components/screen/parts/BottomSafeArea.js.map +1 -1
  68. package/lib/module/components/screen/parts/ScreenPlaceholder.js +3 -3
  69. package/lib/module/components/screen/parts/ScreenPlaceholder.js.map +1 -1
  70. package/lib/module/components/screen/utils.js +3 -3
  71. package/lib/module/components/screen/utils.js.map +1 -1
  72. package/lib/module/components/slot/Slot.js +2 -2
  73. package/lib/module/components/slot/Slot.js.map +1 -1
  74. package/lib/module/components/slot/utils.js +3 -3
  75. package/lib/module/components/slot/utils.js.map +1 -1
  76. package/lib/module/components/spinner/Spinner.js +10 -10
  77. package/lib/module/components/spinner/Spinner.js.map +1 -1
  78. package/lib/module/components/surface/Surface.js +14 -14
  79. package/lib/module/components/surface/Surface.js.map +1 -1
  80. package/lib/module/components/text/Text.js +13 -13
  81. package/lib/module/components/text/Text.js.map +1 -1
  82. package/lib/module/components/toast/Toast.js +46 -46
  83. package/lib/module/components/toast/Toast.js.map +1 -1
  84. package/lib/module/components/toast/ToastProvider.js +32 -32
  85. package/lib/module/components/toast/ToastProvider.js.map +1 -1
  86. package/lib/module/components/toast/parts/ToastAnimatedItem.js +10 -10
  87. package/lib/module/components/toast/parts/ToastAnimatedItem.js.map +1 -1
  88. package/lib/module/components/toast/utils/controller.js +2 -2
  89. package/lib/module/components/toast/utils/controller.js.map +1 -1
  90. package/lib/module/components/toolbar/Toolbar.js +25 -25
  91. package/lib/module/components/toolbar/Toolbar.js.map +1 -1
  92. package/lib/module/context/ThemeProvider.js +5 -5
  93. package/lib/module/context/ThemeProvider.js.map +1 -1
  94. package/lib/module/theme/breakpoints.js.map +1 -1
  95. package/lib/module/theme/defaults/icons.js +11 -11
  96. package/lib/module/theme/defaults/icons.js.map +1 -1
  97. package/lib/module/theme/defaults/image.js +7 -7
  98. package/lib/module/theme/defaults/image.js.map +1 -1
  99. package/lib/module/theme/registry.js +11 -11
  100. package/lib/module/theme/registry.js.map +1 -1
  101. package/lib/module/theme/runtime.js +3 -3
  102. package/lib/module/theme/runtime.js.map +1 -1
  103. package/lib/module/theme/theme.js +9 -9
  104. package/lib/module/theme/theme.js.map +1 -1
  105. package/lib/module/theme/tokens/dark.js +67 -67
  106. package/lib/module/theme/tokens/light.js +67 -67
  107. package/lib/module/theme/tokens/primitives.js +417 -417
  108. package/lib/module/utils/accent-utils.js +16 -16
  109. package/lib/module/utils/accent-utils.js.map +1 -1
  110. package/lib/module/utils/color-utils.js +3 -3
  111. package/lib/module/utils/deep-merge.js +1 -1
  112. package/lib/module/utils/resolve-theme-color.js +2 -2
  113. package/lib/module/utils/resolve-theme-color.js.map +1 -1
  114. package/lib/module/utils/typography.js +5 -5
  115. package/lib/module/utils/typography.js.map +1 -1
  116. package/lib/module/utils/unflatten.js +2 -2
  117. package/lib/typescript/src/components/avatar/Avatar.d.ts +1 -1
  118. package/lib/typescript/src/components/avatar/Avatar.d.ts.map +1 -1
  119. package/lib/typescript/src/components/avatar/index.d.ts +2 -2
  120. package/lib/typescript/src/components/avatar/types.d.ts +7 -7
  121. package/lib/typescript/src/components/avatar/types.d.ts.map +1 -1
  122. package/lib/typescript/src/components/box/Box.d.ts +2 -2
  123. package/lib/typescript/src/components/box/Box.d.ts.map +1 -1
  124. package/lib/typescript/src/components/box/index.d.ts +3 -3
  125. package/lib/typescript/src/components/box/utils.d.ts +7 -7
  126. package/lib/typescript/src/components/box/utils.d.ts.map +1 -1
  127. package/lib/typescript/src/components/button/Button.d.ts +15 -8
  128. package/lib/typescript/src/components/button/Button.d.ts.map +1 -1
  129. package/lib/typescript/src/components/button/index.d.ts +2 -2
  130. package/lib/typescript/src/components/chip/Chip.d.ts +5 -5
  131. package/lib/typescript/src/components/chip/Chip.d.ts.map +1 -1
  132. package/lib/typescript/src/components/chip/index.d.ts +3 -3
  133. package/lib/typescript/src/components/chip/types.d.ts +3 -3
  134. package/lib/typescript/src/components/chip/utils.d.ts +1 -1
  135. package/lib/typescript/src/components/empty-state/EmptyState.d.ts +5 -5
  136. package/lib/typescript/src/components/empty-state/EmptyState.d.ts.map +1 -1
  137. package/lib/typescript/src/components/empty-state/index.d.ts +3 -3
  138. package/lib/typescript/src/components/empty-state/types.d.ts +1 -1
  139. package/lib/typescript/src/components/header/Header.d.ts +2 -2
  140. package/lib/typescript/src/components/header/header-buttons.d.ts +3 -3
  141. package/lib/typescript/src/components/header/header-buttons.d.ts.map +1 -1
  142. package/lib/typescript/src/components/header/index.d.ts +6 -6
  143. package/lib/typescript/src/components/header/parts/HeaderGradientOverlay.d.ts.map +1 -1
  144. package/lib/typescript/src/components/header/variants/LargeTitleHeader/index.d.ts +1 -1
  145. package/lib/typescript/src/components/header/variants/LargeTitleHeader/index.d.ts.map +1 -1
  146. package/lib/typescript/src/components/header/variants/TitleHeader/index.d.ts +4 -4
  147. package/lib/typescript/src/components/header/variants/TitleHeader/index.d.ts.map +1 -1
  148. package/lib/typescript/src/components/icon/Icon.d.ts +3 -3
  149. package/lib/typescript/src/components/icon/Icon.d.ts.map +1 -1
  150. package/lib/typescript/src/components/icon/index.d.ts +2 -2
  151. package/lib/typescript/src/components/image/Image.d.ts +2 -2
  152. package/lib/typescript/src/components/image/Image.d.ts.map +1 -1
  153. package/lib/typescript/src/components/image/index.d.ts +2 -2
  154. package/lib/typescript/src/components/image/types.d.ts +1 -1
  155. package/lib/typescript/src/components/index.d.ts +17 -17
  156. package/lib/typescript/src/components/page-indicator/PageIndicator.d.ts +10 -10
  157. package/lib/typescript/src/components/page-indicator/PageIndicatorRoot.d.ts +2 -2
  158. package/lib/typescript/src/components/page-indicator/PageIndicatorRoot.d.ts.map +1 -1
  159. package/lib/typescript/src/components/page-indicator/hooks/use-page-indicator-colors.d.ts +1 -1
  160. package/lib/typescript/src/components/page-indicator/hooks/use-page-indicator-colors.d.ts.map +1 -1
  161. package/lib/typescript/src/components/page-indicator/hooks/use-page-indicator-core.d.ts +3 -3
  162. package/lib/typescript/src/components/page-indicator/hooks/use-page-indicator-core.d.ts.map +1 -1
  163. package/lib/typescript/src/components/page-indicator/hooks/use-page-indicator-progress.d.ts +2 -2
  164. package/lib/typescript/src/components/page-indicator/hooks/use-page-indicator-progress.d.ts.map +1 -1
  165. package/lib/typescript/src/components/page-indicator/index.d.ts +3 -3
  166. package/lib/typescript/src/components/page-indicator/utils.d.ts +2 -2
  167. package/lib/typescript/src/components/page-indicator/utils.d.ts.map +1 -1
  168. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/InactiveDot.d.ts +1 -1
  169. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/InactiveDot.d.ts.map +1 -1
  170. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/LoadingOrbit.d.ts +2 -2
  171. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/LoadingOrbit.d.ts.map +1 -1
  172. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/TravelingPill.d.ts +2 -2
  173. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/TravelingPill.d.ts.map +1 -1
  174. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/index.d.ts +3 -3
  175. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/index.d.ts.map +1 -1
  176. package/lib/typescript/src/components/page-indicator/variants/DotIndicator/utils.d.ts.map +1 -1
  177. package/lib/typescript/src/components/page-indicator/variants/PillIndicator/PillIndicatorDot.d.ts +2 -2
  178. package/lib/typescript/src/components/page-indicator/variants/PillIndicator/PillIndicatorDot.d.ts.map +1 -1
  179. package/lib/typescript/src/components/page-indicator/variants/PillIndicator/index.d.ts +3 -3
  180. package/lib/typescript/src/components/page-indicator/variants/PillIndicator/index.d.ts.map +1 -1
  181. package/lib/typescript/src/components/page-indicator/variants/PillIndicator/utils.d.ts +1 -1
  182. package/lib/typescript/src/components/portal/Portal.d.ts +3 -3
  183. package/lib/typescript/src/components/portal/PortalContext.d.ts +1 -1
  184. package/lib/typescript/src/components/portal/PortalHost.d.ts +2 -2
  185. package/lib/typescript/src/components/portal/PortalProvider.d.ts +1 -1
  186. package/lib/typescript/src/components/portal/PortalProvider.d.ts.map +1 -1
  187. package/lib/typescript/src/components/portal/index.d.ts +7 -7
  188. package/lib/typescript/src/components/screen/Screen.d.ts +10 -10
  189. package/lib/typescript/src/components/screen/Screen.d.ts.map +1 -1
  190. package/lib/typescript/src/components/screen/ScreenContext.d.ts +3 -3
  191. package/lib/typescript/src/components/screen/ScreenContext.d.ts.map +1 -1
  192. package/lib/typescript/src/components/screen/ScreenFlatList.d.ts +3 -3
  193. package/lib/typescript/src/components/screen/ScreenFlatList.d.ts.map +1 -1
  194. package/lib/typescript/src/components/screen/ScreenList.d.ts +5 -5
  195. package/lib/typescript/src/components/screen/ScreenList.d.ts.map +1 -1
  196. package/lib/typescript/src/components/screen/ScreenScrollView.d.ts +5 -5
  197. package/lib/typescript/src/components/screen/ScreenScrollView.d.ts.map +1 -1
  198. package/lib/typescript/src/components/screen/index.d.ts +11 -11
  199. package/lib/typescript/src/components/screen/parts/BottomSafeArea.d.ts.map +1 -1
  200. package/lib/typescript/src/components/screen/parts/ScreenPlaceholder.d.ts +3 -3
  201. package/lib/typescript/src/components/screen/parts/ScreenPlaceholder.d.ts.map +1 -1
  202. package/lib/typescript/src/components/screen/types.d.ts +2 -2
  203. package/lib/typescript/src/components/screen/utils.d.ts +2 -2
  204. package/lib/typescript/src/components/screen/utils.d.ts.map +1 -1
  205. package/lib/typescript/src/components/slot/Slot.d.ts +2 -2
  206. package/lib/typescript/src/components/slot/Slot.d.ts.map +1 -1
  207. package/lib/typescript/src/components/slot/index.d.ts +3 -3
  208. package/lib/typescript/src/components/slot/utils.d.ts +1 -1
  209. package/lib/typescript/src/components/slot/utils.d.ts.map +1 -1
  210. package/lib/typescript/src/components/spinner/Spinner.d.ts +2 -2
  211. package/lib/typescript/src/components/spinner/Spinner.d.ts.map +1 -1
  212. package/lib/typescript/src/components/spinner/index.d.ts +2 -2
  213. package/lib/typescript/src/components/surface/Surface.d.ts +4 -4
  214. package/lib/typescript/src/components/surface/Surface.d.ts.map +1 -1
  215. package/lib/typescript/src/components/surface/index.d.ts +2 -2
  216. package/lib/typescript/src/components/text/Text.d.ts +4 -4
  217. package/lib/typescript/src/components/text/Text.d.ts.map +1 -1
  218. package/lib/typescript/src/components/text/index.d.ts +2 -2
  219. package/lib/typescript/src/components/toast/Toast.d.ts +18 -18
  220. package/lib/typescript/src/components/toast/Toast.d.ts.map +1 -1
  221. package/lib/typescript/src/components/toast/ToastProvider.d.ts +1 -1
  222. package/lib/typescript/src/components/toast/ToastProvider.d.ts.map +1 -1
  223. package/lib/typescript/src/components/toast/index.d.ts +4 -4
  224. package/lib/typescript/src/components/toast/parts/ToastAnimatedItem.d.ts +3 -3
  225. package/lib/typescript/src/components/toast/parts/ToastAnimatedItem.d.ts.map +1 -1
  226. package/lib/typescript/src/components/toast/types.d.ts +10 -10
  227. package/lib/typescript/src/components/toast/types.d.ts.map +1 -1
  228. package/lib/typescript/src/components/toast/utils/controller.d.ts +2 -2
  229. package/lib/typescript/src/components/toast/utils/controller.d.ts.map +1 -1
  230. package/lib/typescript/src/components/toolbar/Toolbar.d.ts +5 -5
  231. package/lib/typescript/src/components/toolbar/Toolbar.d.ts.map +1 -1
  232. package/lib/typescript/src/components/toolbar/index.d.ts +2 -2
  233. package/lib/typescript/src/context/ThemeProvider.d.ts +3 -3
  234. package/lib/typescript/src/context/ThemeProvider.d.ts.map +1 -1
  235. package/lib/typescript/src/context/index.d.ts +2 -2
  236. package/lib/typescript/src/index.d.ts +3 -3
  237. package/lib/typescript/src/theme/breakpoints.d.ts +2 -2
  238. package/lib/typescript/src/theme/breakpoints.d.ts.map +1 -1
  239. package/lib/typescript/src/theme/defaults/icons.d.ts +1 -1
  240. package/lib/typescript/src/theme/defaults/icons.d.ts.map +1 -1
  241. package/lib/typescript/src/theme/defaults/image.d.ts +1 -1
  242. package/lib/typescript/src/theme/defaults/image.d.ts.map +1 -1
  243. package/lib/typescript/src/theme/index.d.ts +14 -14
  244. package/lib/typescript/src/theme/registry.d.ts +2 -2
  245. package/lib/typescript/src/theme/registry.d.ts.map +1 -1
  246. package/lib/typescript/src/theme/runtime.d.ts +1 -1
  247. package/lib/typescript/src/theme/runtime.d.ts.map +1 -1
  248. package/lib/typescript/src/theme/screen-margin.d.ts +2 -2
  249. package/lib/typescript/src/theme/theme.d.ts +2 -2
  250. package/lib/typescript/src/theme/theme.d.ts.map +1 -1
  251. package/lib/typescript/src/theme/tokens/dark.d.ts +67 -67
  252. package/lib/typescript/src/theme/tokens/light.d.ts +67 -67
  253. package/lib/typescript/src/theme/tokens/primitives.d.ts +417 -417
  254. package/lib/typescript/src/theme/types.d.ts +99 -84
  255. package/lib/typescript/src/theme/types.d.ts.map +1 -1
  256. package/lib/typescript/src/utils/accent-utils.d.ts +1 -1
  257. package/lib/typescript/src/utils/accent-utils.d.ts.map +1 -1
  258. package/lib/typescript/src/utils/resolve-theme-color.d.ts +1 -1
  259. package/lib/typescript/src/utils/resolve-theme-color.d.ts.map +1 -1
  260. package/lib/typescript/src/utils/typography.d.ts +2 -2
  261. package/lib/typescript/src/utils/typography.d.ts.map +1 -1
  262. package/package.json +1 -1
  263. package/src/components/avatar/Avatar.tsx +66 -71
  264. package/src/components/avatar/index.ts +2 -2
  265. package/src/components/avatar/types.ts +7 -12
  266. package/src/components/box/Box.tsx +7 -18
  267. package/src/components/box/index.ts +3 -3
  268. package/src/components/box/utils.ts +59 -81
  269. package/src/components/button/Button.tsx +119 -144
  270. package/src/components/button/index.ts +2 -2
  271. package/src/components/chip/Chip.tsx +107 -143
  272. package/src/components/chip/index.ts +3 -3
  273. package/src/components/chip/types.ts +7 -7
  274. package/src/components/chip/utils.ts +5 -5
  275. package/src/components/empty-state/EmptyState.tsx +44 -60
  276. package/src/components/empty-state/index.ts +3 -3
  277. package/src/components/empty-state/types.ts +1 -1
  278. package/src/components/header/Header.ts +2 -2
  279. package/src/components/header/header-buttons.tsx +10 -18
  280. package/src/components/header/index.ts +6 -6
  281. package/src/components/header/parts/HeaderGradientOverlay.tsx +3 -7
  282. package/src/components/header/variants/LargeTitleHeader/index.tsx +75 -139
  283. package/src/components/header/variants/TitleHeader/index.tsx +40 -62
  284. package/src/components/icon/Icon.tsx +31 -39
  285. package/src/components/icon/index.ts +2 -2
  286. package/src/components/image/Image.tsx +22 -11
  287. package/src/components/image/index.ts +2 -2
  288. package/src/components/image/types.ts +1 -1
  289. package/src/components/index.ts +17 -17
  290. package/src/components/page-indicator/PageIndicator.tsx +14 -14
  291. package/src/components/page-indicator/PageIndicatorRoot.tsx +4 -12
  292. package/src/components/page-indicator/hooks/use-page-indicator-colors.ts +17 -35
  293. package/src/components/page-indicator/hooks/use-page-indicator-core.ts +6 -8
  294. package/src/components/page-indicator/hooks/use-page-indicator-progress.ts +10 -30
  295. package/src/components/page-indicator/index.ts +3 -3
  296. package/src/components/page-indicator/utils.ts +20 -48
  297. package/src/components/page-indicator/variants/DotIndicator/InactiveDot.tsx +5 -16
  298. package/src/components/page-indicator/variants/DotIndicator/LoadingOrbit.tsx +21 -63
  299. package/src/components/page-indicator/variants/DotIndicator/TravelingPill.tsx +6 -16
  300. package/src/components/page-indicator/variants/DotIndicator/index.tsx +20 -38
  301. package/src/components/page-indicator/variants/DotIndicator/utils.ts +2 -6
  302. package/src/components/page-indicator/variants/PillIndicator/PillIndicatorDot.tsx +12 -50
  303. package/src/components/page-indicator/variants/PillIndicator/index.tsx +19 -41
  304. package/src/components/page-indicator/variants/PillIndicator/utils.ts +4 -4
  305. package/src/components/portal/Portal.tsx +4 -4
  306. package/src/components/portal/PortalContext.tsx +1 -1
  307. package/src/components/portal/PortalHost.tsx +4 -4
  308. package/src/components/portal/PortalProvider.tsx +24 -35
  309. package/src/components/portal/index.ts +7 -7
  310. package/src/components/screen/Screen.tsx +45 -52
  311. package/src/components/screen/ScreenContext.tsx +8 -17
  312. package/src/components/screen/ScreenFlatList.tsx +17 -36
  313. package/src/components/screen/ScreenList.tsx +31 -63
  314. package/src/components/screen/ScreenScrollView.tsx +17 -30
  315. package/src/components/screen/index.ts +11 -11
  316. package/src/components/screen/parts/BottomSafeArea.tsx +5 -6
  317. package/src/components/screen/parts/ScreenPlaceholder.tsx +9 -14
  318. package/src/components/screen/types.ts +2 -2
  319. package/src/components/screen/utils.ts +6 -19
  320. package/src/components/slot/Slot.tsx +5 -20
  321. package/src/components/slot/index.ts +3 -3
  322. package/src/components/slot/utils.ts +5 -8
  323. package/src/components/spinner/Spinner.tsx +19 -52
  324. package/src/components/spinner/index.ts +2 -2
  325. package/src/components/surface/Surface.tsx +34 -43
  326. package/src/components/surface/index.ts +2 -2
  327. package/src/components/text/Text.tsx +75 -85
  328. package/src/components/text/index.ts +2 -2
  329. package/src/components/toast/Toast.tsx +195 -251
  330. package/src/components/toast/ToastProvider.tsx +61 -136
  331. package/src/components/toast/index.ts +4 -4
  332. package/src/components/toast/parts/ToastAnimatedItem.tsx +14 -22
  333. package/src/components/toast/types.ts +11 -14
  334. package/src/components/toast/utils/controller.ts +4 -6
  335. package/src/components/toolbar/Toolbar.tsx +42 -61
  336. package/src/components/toolbar/index.ts +2 -2
  337. package/src/context/ThemeProvider.tsx +13 -28
  338. package/src/context/index.ts +2 -2
  339. package/src/index.tsx +3 -3
  340. package/src/theme/breakpoints.ts +3 -5
  341. package/src/theme/defaults/icons.tsx +15 -30
  342. package/src/theme/defaults/image.tsx +9 -14
  343. package/src/theme/index.ts +14 -14
  344. package/src/theme/registry.ts +30 -49
  345. package/src/theme/runtime.ts +6 -7
  346. package/src/theme/screen-margin.ts +3 -3
  347. package/src/theme/theme.ts +39 -60
  348. package/src/theme/tokens/dark.ts +67 -67
  349. package/src/theme/tokens/light.ts +67 -67
  350. package/src/theme/tokens/primitives.ts +417 -417
  351. package/src/theme/types.ts +138 -135
  352. package/src/utils/accent-utils.ts +21 -30
  353. package/src/utils/color-utils.ts +3 -3
  354. package/src/utils/deep-merge.ts +1 -1
  355. package/src/utils/resolve-theme-color.ts +8 -11
  356. package/src/utils/typography.ts +7 -10
  357. package/src/utils/unflatten.ts +2 -2
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  import { readableOn, shade, withAlpha } from "./color-utils.js";
4
- const isShorthand = accent => typeof accent.light === 'string' || typeof accent.dark === 'string';
4
+ const isShorthand = accent => typeof accent.light === "string" || typeof accent.dark === "string";
5
5
 
6
6
  /**
7
7
  * Expands a single hue into a fuller per-scheme patch so primary AND subtle
@@ -14,22 +14,22 @@ const isShorthand = accent => typeof accent.light === 'string' || typeof accent.
14
14
  */
15
15
  function hueToPartial(hue, scheme) {
16
16
  if (!hue) return {};
17
- const dir = scheme === 'light' ? -1 : 1;
18
- const isLight = scheme === 'light';
17
+ const dir = scheme === "light" ? -1 : 1;
18
+ const isLight = scheme === "light";
19
19
  const fg = readableOn(hue);
20
20
  // Flat color keys to patch — deepMerge replaces string leaves directly.
21
21
  const color = {
22
- 'action.bg.primary': hue,
23
- 'action.fg.primary': fg,
24
- 'action.bg.primary.hover': shade(hue, dir * 0.12),
25
- 'action.bg.primary.active': shade(hue, dir * 0.24),
26
- 'action.bg.primary.subtle': withAlpha(hue, isLight ? 0.12 : 0.2),
27
- 'action.fg.primary.subtle': hue,
28
- 'action.bg.primary.subtle.hover': withAlpha(hue, isLight ? 0.18 : 0.28),
29
- 'action.bg.primary.subtle.active': withAlpha(hue, isLight ? 0.24 : 0.36),
30
- 'text.accent': hue,
31
- 'text.link': hue,
32
- 'text.on-accent': fg
22
+ "action.bg.primary": hue,
23
+ "action.fg.primary": fg,
24
+ "action.bg.primary.hover": shade(hue, dir * 0.12),
25
+ "action.bg.primary.active": shade(hue, dir * 0.24),
26
+ "action.bg.primary.subtle": withAlpha(hue, isLight ? 0.12 : 0.2),
27
+ "action.fg.primary.subtle": hue,
28
+ "action.bg.primary.subtle.hover": withAlpha(hue, isLight ? 0.18 : 0.28),
29
+ "action.bg.primary.subtle.active": withAlpha(hue, isLight ? 0.24 : 0.36),
30
+ "text.accent": hue,
31
+ "text.link": hue,
32
+ "text.on-accent": fg
33
33
  };
34
34
  return {
35
35
  color
@@ -40,8 +40,8 @@ function hueToPartial(hue, scheme) {
40
40
  export function normalizeAccent(accent) {
41
41
  if (isShorthand(accent)) {
42
42
  return {
43
- light: hueToPartial(accent.light, 'light'),
44
- dark: hueToPartial(accent.dark, 'dark')
43
+ light: hueToPartial(accent.light, "light"),
44
+ dark: hueToPartial(accent.dark, "dark")
45
45
  };
46
46
  }
47
47
  return {
@@ -1 +1 @@
1
- {"version":3,"names":["readableOn","shade","withAlpha","isShorthand","accent","light","dark","hueToPartial","hue","scheme","dir","isLight","fg","color","normalizeAccent"],"sourceRoot":"../../../src","sources":["utils/accent-utils.ts"],"mappings":";;AAOA,SAASA,UAAU,EAAEC,KAAK,EAAEC,SAAS;AAGrC,MAAMC,WAAW,GAAIC,MAAc,IACjC,OAAQA,MAAM,CAAqBC,KAAK,KAAK,QAAQ,IACrD,OAAQD,MAAM,CAAqBE,IAAI,KAAK,QAAQ;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,YAAYA,CACnBC,GAAuB,EACvBC,MAAwB,EACC;EACzB,IAAI,CAACD,GAAG,EAAE,OAAO,CAAC,CAAC;EACnB,MAAME,GAAG,GAAGD,MAAM,KAAK,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC;EACvC,MAAME,OAAO,GAAGF,MAAM,KAAK,OAAO;EAClC,MAAMG,EAAE,GAAGZ,UAAU,CAACQ,GAAG,CAAC;EAC1B;EACA,MAAMK,KAAK,GAAG;IACZ,mBAAmB,EAAEL,GAAG;IACxB,mBAAmB,EAAEI,EAAE;IACvB,yBAAyB,EAAEX,KAAK,CAACO,GAAG,EAAEE,GAAG,GAAG,IAAI,CAAC;IACjD,0BAA0B,EAAET,KAAK,CAACO,GAAG,EAAEE,GAAG,GAAG,IAAI,CAAC;IAClD,0BAA0B,EAAER,SAAS,CAACM,GAAG,EAAEG,OAAO,GAAG,IAAI,GAAG,GAAG,CAAC;IAChE,0BAA0B,EAAEH,GAAG;IAC/B,gCAAgC,EAAEN,SAAS,CAACM,GAAG,EAAEG,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC;IACvE,iCAAiC,EAAET,SAAS,CAACM,GAAG,EAAEG,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC;IACxE,aAAa,EAAEH,GAAG;IAClB,WAAW,EAAEA,GAAG;IAChB,gBAAgB,EAAEI;EACpB,CAAC;EACD,OAAO;IAAEC;EAAM,CAAC;AAClB;;AAEA;AACA,OAAO,SAASC,eAAeA,CAACV,MAAc,EAAoB;EAChE,IAAID,WAAW,CAACC,MAAM,CAAC,EAAE;IACvB,OAAO;MACLC,KAAK,EAAEE,YAAY,CAACH,MAAM,CAACC,KAAK,EAAE,OAAO,CAAC;MAC1CC,IAAI,EAAEC,YAAY,CAACH,MAAM,CAACE,IAAI,EAAE,MAAM;IACxC,CAAC;EACH;EACA,OAAO;IAAED,KAAK,EAAED,MAAM,CAACC,KAAK,IAAI,CAAC,CAAC;IAAEC,IAAI,EAAEF,MAAM,CAACE,IAAI,IAAI,CAAC;EAAE,CAAC;AAC/D","ignoreList":[]}
1
+ {"version":3,"names":["readableOn","shade","withAlpha","isShorthand","accent","light","dark","hueToPartial","hue","scheme","dir","isLight","fg","color","normalizeAccent"],"sourceRoot":"../../../src","sources":["utils/accent-utils.ts"],"mappings":";;AACA,SAASA,UAAU,EAAEC,KAAK,EAAEC,SAAS;AAGrC,MAAMC,WAAW,GAAIC,MAAc,IACjC,OAAQA,MAAM,CAAqBC,KAAK,KAAK,QAAQ,IACrD,OAAQD,MAAM,CAAqBE,IAAI,KAAK,Q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M,CAACC,KAAK,IAAI,CAAC,CAAC;IAAEC,IAAI,EAAEF,MAAM,CAACE,IAAI,IAAI,CAAC;EAAE,CAAC;AAC/D","ignoreList":[]}
@@ -17,7 +17,7 @@ const toHex = ({
17
17
  r,
18
18
  g,
19
19
  b
20
- }) => `#${[r, g, b].map(v => clamp(v).toString(16).padStart(2, '0')).join('')}`;
20
+ }) => `#${[r, g, b].map(v => clamp(v).toString(16).padStart(2, "0")).join("")}`;
21
21
 
22
22
  /**
23
23
  * Shifts a hex color toward black (negative `amount`) or white (positive),
@@ -45,9 +45,9 @@ export function withAlpha(hex, alpha) {
45
45
  /** Picks black or white for legible text/icons on top of `hex`. */
46
46
  export function readableOn(hex) {
47
47
  const c = parseHex(hex);
48
- if (!c) return '#ffffff';
48
+ if (!c) return "#ffffff";
49
49
  // Perceived luminance (0–1).
50
50
  const luminance = (0.299 * c.r + 0.587 * c.g + 0.114 * c.b) / 255;
51
- return luminance > 0.6 ? '#000000' : '#ffffff';
51
+ return luminance > 0.6 ? "#000000" : "#ffffff";
52
52
  }
53
53
  //# sourceMappingURL=color-utils.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  /** Recursively makes every property (and nested property) optional. */
4
4
 
5
- const isPlainObject = value => typeof value === 'object' && value !== null && !Array.isArray(value) && Object.getPrototypeOf(value) === Object.prototype;
5
+ const isPlainObject = value => typeof value === "object" && value !== null && !Array.isArray(value) && Object.getPrototypeOf(value) === Object.prototype;
6
6
 
7
7
  /**
8
8
  * Deep-merges `override` onto `base`, returning a new object.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- const isColorLiteral = value => value.startsWith('#') || value.startsWith('rgb') || value.startsWith('hsl') || value === 'transparent' || value === 'currentColor';
3
+ const isColorLiteral = value => value.startsWith("#") || value.startsWith("rgb") || value.startsWith("hsl") || value === "transparent" || value === "currentColor";
4
4
 
5
5
  /**
6
6
  * Resolves a {@link ColorToken} to a concrete color string using the theme.
@@ -15,6 +15,6 @@ export function resolveThemeColor(token, theme) {
15
15
  if (!token) return undefined;
16
16
  if (isColorLiteral(token)) return token;
17
17
  const value = theme.color[token];
18
- return typeof value === 'string' ? value : undefined;
18
+ return typeof value === "string" ? value : undefined;
19
19
  }
20
20
  //# sourceMappingURL=resolve-theme-color.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["isColorLiteral","value","startsWith","resolveThemeColor","token","theme","undefined","color"],"sourceRoot":"../../../src","sources":["utils/resolve-theme-color.ts"],"mappings":";;AAEA,MAAMA,cAAc,GAAIC,KAAa,IACnCA,KAAK,CAACC,UAAU,CAAC,GAAG,CAAC,IACrBD,KAAK,CAACC,UAAU,CAAC,KAAK,CAAC,IACvBD,KAAK,CAACC,UAAU,CAAC,KAAK,CAAC,IACvBD,KAAK,KAAK,aAAa,IACvBA,KAAK,KAAK,cAAc;;AAE1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,iBAAiBA,CAC/BC,KAA6B,EAC7BC,KAAiB,EACG;EACpB,IAAI,CAACD,KAAK,EAAE,OAAOE,SAAS;EAC5B,IAAIN,cAAc,CAACI,KAAK,CAAC,EAAE,OAAOA,KAAK;EACvC,MAAMH,KAAK,GAAII,KAAK,CAACE,KAAK,CAAwCH,KAAK,CAAC;EACxE,OAAO,OAAOH,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGK,SAAS;AACtD","ignoreList":[]}
1
+ {"version":3,"names":["isColorLiteral","value","startsWith","resolveThemeColor","token","theme","undefined","color"],"sourceRoot":"../../../src","sources":["utils/resolve-theme-color.ts"],"mappings":";;AAEA,MAAMA,cAAc,GAAIC,KAAa,IACnCA,KAAK,CAACC,UAAU,CAAC,GAAG,CAAC,IACrBD,KAAK,CAACC,UAAU,CAAC,KAAK,CAAC,IACvBD,KAAK,CAACC,UAAU,CAAC,KAAK,CAAC,IACvBD,KAAK,KAAK,aAAa,IACvBA,KAAK,KAAK,cAAc;;AAE1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,iBAAiBA,CAACC,KAA6B,EAAEC,KAAiB,EAAsB;EACtG,IAAI,CAACD,KAAK,EAAE,OAAOE,SAAS;EAC5B,IAAIN,cAAc,CAACI,KAAK,CAAC,EAAE,OAAOA,KAAK;EACvC,MAAMH,KAAK,GAAII,KAAK,CAACE,KAAK,CAAwCH,KAAK,CAAC;EACxE,OAAO,OAAOH,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGK,SAAS;AACtD","ignoreList":[]}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
 
3
3
  /** RN's sentinel for the platform default font (SF on iOS, Roboto on Android). */
4
- export const SYSTEM_FONT = 'System';
4
+ export const SYSTEM_FONT = "System";
5
5
 
6
6
  /** Numeric fontWeight applied when a weight token maps to the system font. */
7
7
  export const FONT_WEIGHT_VALUE = {
8
- regular: '400',
9
- medium: '500',
10
- semibold: '600',
11
- bold: '700'
8
+ regular: "400",
9
+ medium: "500",
10
+ semibold: "600",
11
+ bold: "700"
12
12
  };
13
13
  //# sourceMappingURL=typography.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["SYSTEM_FONT","FONT_WEIGHT_VALUE","regular","medium","semibold","bold"],"sourceRoot":"../../../src","sources":["utils/typography.ts"],"mappings":";;AAEA;AACA,OAAO,MAAMA,WAAW,GAAG,QAAQ;;AAEnC;AACA,OAAO,MAAMC,iBAGZ,GAAG;EACFC,OAAO,EAAE,KAAK;EACdC,MAAM,EAAE,KAAK;EACbC,QAAQ,EAAE,KAAK;EACfC,IAAI,EAAE;AACR,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["SYSTEM_FONT","FONT_WEIGHT_VALUE","regular","medium","semibold","bold"],"sourceRoot":"../../../src","sources":["utils/typography.ts"],"mappings":";;AAEA;AACA,OAAO,MAAMA,WAAW,GAAG,QAAQ;;AAEnC;AACA,OAAO,MAAMC,iBAAyE,GAAG;EACvFC,OAAO,EAAE,KAAK;EACdC,MAAM,EAAE,KAAK;EACbC,QAAQ,EAAE,KAAK;EACfC,IAAI,EAAE;AACR,CAAC","ignoreList":[]}
@@ -13,13 +13,13 @@
13
13
  export function unflatten(flat) {
14
14
  const root = {};
15
15
  for (const [path, value] of Object.entries(flat)) {
16
- const segments = path.split('.');
16
+ const segments = path.split(".");
17
17
  let node = root;
18
18
  for (let i = 0; i < segments.length - 1; i++) {
19
19
  const seg = segments[i];
20
20
  if (seg === undefined) continue;
21
21
  const next = node[seg];
22
- if (typeof next === 'object' && next !== null) {
22
+ if (typeof next === "object" && next !== null) {
23
23
  node = next;
24
24
  } else {
25
25
  const created = {};
@@ -1,3 +1,3 @@
1
- import type { AvatarProps } from './types.js';
1
+ import type { AvatarProps } from "./types.js";
2
2
  export declare function Avatar({ size, shape, source, name, fallback, contentFit, color, variant, style, ...rest }: AvatarProps): import("react").JSX.Element;
3
3
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/avatar/Avatar.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAA2B,MAAM,YAAS,CAAC;AA6CpE,wBAAgB,MAAM,CAAC,EACrB,IAAW,EACX,KAAgB,EAChB,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,UAAoB,EACpB,KAAmB,EACnB,OAAiB,EACjB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,WAAW,+BA6Db"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/avatar/Avatar.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAA2B,MAAM,YAAS,CAAC;AAyCpE,wBAAgB,MAAM,CAAC,EACrB,IAAW,EACX,KAAgB,EAChB,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,UAAoB,EACpB,KAAmB,EACnB,OAAiB,EACjB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,WAAW,+BA6Db"}
@@ -1,3 +1,3 @@
1
- export { Avatar } from './Avatar.js';
2
- export type { AvatarColor, AvatarProps, AvatarShape, AvatarSize, AvatarVariant, } from './types.js';
1
+ export { Avatar } from "./Avatar.js";
2
+ export type { AvatarColor, AvatarProps, AvatarShape, AvatarSize, AvatarVariant, } from "./types.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,12 +1,12 @@
1
- import type { ReactNode } from 'react';
2
- import type { ViewProps } from 'react-native';
3
- import type { TerraImageContentFit } from '../../theme/types';
4
- export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
- export type AvatarShape = 'circle' | 'rounded' | 'square';
1
+ import type { ReactNode } from "react";
2
+ import type { ViewProps } from "react-native";
3
+ import type { TerraImageContentFit } from "../../theme/types";
4
+ export type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
5
+ export type AvatarShape = "circle" | "rounded" | "square";
6
6
  /** Semantic color scheme for the fallback state (initials / placeholder icon). */
7
- export type AvatarColor = 'secondary' | 'primary' | 'success' | 'warning' | 'danger';
7
+ export type AvatarColor = "secondary" | "primary" | "success" | "warning" | "danger";
8
8
  /** Visual weight of the fallback background. */
9
- export type AvatarVariant = 'solid' | 'soft';
9
+ export type AvatarVariant = "solid" | "soft";
10
10
  export interface AvatarProps extends ViewProps {
11
11
  /** Predefined size token. Defaults to `'md'`. */
12
12
  size?: AvatarSize;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,QA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AAChD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7C,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,iDAAiD;IACjD,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,uFAAuF;IACvF,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC;IAClC,0EAA0E;IAC1E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gEAAgE;IAChE,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,uDAAuD;IACvD,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,mDAAmD;IACnD,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB"}
@@ -1,5 +1,5 @@
1
- import { type ViewProps } from 'react-native';
2
- import { type BoxStyleProps } from './utils.js';
1
+ import { type ViewProps } from "react-native";
2
+ import { type BoxStyleProps } from "./utils.js";
3
3
  export interface BoxProps extends ViewProps, BoxStyleProps {
4
4
  /** Merge Box's style/props onto a single child instead of rendering a View. */
5
5
  asChild?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/box/Box.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpD,OAAO,EAEL,KAAK,aAAa,EAEnB,MAAM,YAAS,CAAC;AAEjB,MAAM,WAAW,QAAS,SAAQ,SAAS,EAAE,aAAa;IACxD,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAID;;;GAGG;AACH,eAAO,MAAM,GAAG,sLAoCd,CAAC"}
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/box/Box.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpD,OAAO,EAAuB,KAAK,aAAa,EAAmB,MAAM,YAAS,CAAC;AAEnF,MAAM,WAAW,QAAS,SAAQ,SAAS,EAAE,aAAa;IACxD,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAID;;;GAGG;AACH,eAAO,MAAM,GAAG,sLA6Bd,CAAC"}
@@ -1,4 +1,4 @@
1
- export type { BoxProps } from './Box.js';
2
- export { Box } from './Box.js';
3
- export type { Align, BorderWidthInput, BoxStyleProps, Justify, } from './utils.js';
1
+ export type { BoxProps } from "./Box.js";
2
+ export { Box } from "./Box.js";
3
+ export type { Align, BorderWidthInput, BoxStyleProps, Justify, } from "./utils.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- import { type ViewStyle } from 'react-native';
2
- import type { ColorToken, ElevationKey, RadiusKey, SpacingKey, TerraTheme } from '../../theme/types';
3
- export type Align = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
4
- export type Justify = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
5
- export type BorderWidthInput = number | 'hairline';
1
+ import { type ViewStyle } from "react-native";
2
+ import type { ColorToken, ElevationKey, RadiusKey, SpacingKey, TerraTheme } from "../../theme/types";
3
+ export type Align = "start" | "center" | "end" | "stretch" | "baseline";
4
+ export type Justify = "start" | "center" | "end" | "between" | "around" | "evenly";
5
+ export type BorderWidthInput = number | "hairline";
6
6
  /** Token-driven style props accepted by `Box`. */
7
7
  export interface BoxStyleProps {
8
8
  p?: SpacingKey;
@@ -27,13 +27,13 @@ export interface BoxStyleProps {
27
27
  wrap?: boolean;
28
28
  flex?: number;
29
29
  alignSelf?: Align;
30
- bg?: ColorToken;
30
+ background?: ColorToken;
31
31
  radius?: RadiusKey;
32
32
  borderWidth?: BorderWidthInput;
33
33
  borderColor?: ColorToken;
34
34
  /**
35
35
  * Drop-shadow depth — platform-aware shadow plus Android elevation. A shadow
36
- * only renders over a non-transparent `bg`.
36
+ * only renders over a non-transparent `background`.
37
37
  */
38
38
  elevation?: ElevationKey;
39
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/box/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EACX,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,CAAC;AACxE,MAAM,MAAM,OAAO,GACf,OAAO,GACP,QAAQ,GACR,KAAK,GACL,SAAS,GACT,QAAQ,GACR,QAAQ,CAAC;AACb,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,UAAU,CAAC;AAKnD,kDAAkD;AAClD,MAAM,WAAW,aAAa;IAE5B,CAAC,CAAC,EAAE,UAAU,CAAC;IACf,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,CAAC,CAAC,EAAE,UAAU,CAAC;IACf,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,GAAG,CAAC,EAAE,UAAU,CAAC;IAEjB,sEAAsE;IACtE,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,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ChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,CAAC,CAAC,EAAE,UAAU,CAAC;IACf,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,GAAG,CAAC,EAAE,UAAU,CAAC;IAEjB,sEAAsE;IACtE,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,KAAK,CAAC;IAElB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B;AAsBD,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,SAAS,CAmElF;AAED,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,EAAE,SAAS,CAAC,MAAM,aAAa,CAAC,EA2B/D,CAAC"}
@@ -1,10 +1,10 @@
1
- import { type ReactNode } from 'react';
2
- import type { PressableProps } from 'react-native';
3
- import type { ColorToken, TerraIconName } from '../../theme/types';
4
- export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger';
5
- export type ButtonSize = 'sm' | 'md' | 'lg';
6
- export type ButtonRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
7
- export interface ButtonProps extends Omit<PressableProps, 'style' | 'children' | 'disabled'> {
1
+ import { type ReactNode } from "react";
2
+ import type { PressableProps } from "react-native";
3
+ import type { ColorToken, TerraIconName } from "../../theme/types";
4
+ export type ButtonVariant = "primary" | "secondary" | "outline" | "ghost" | "danger";
5
+ export type ButtonSize = "sm" | "md" | "lg";
6
+ export type ButtonRadius = "none" | "sm" | "md" | "lg" | "xl" | "full";
7
+ export interface ButtonProps extends Omit<PressableProps, "style" | "children" | "disabled"> {
8
8
  variant?: ButtonVariant;
9
9
  size?: ButtonSize;
10
10
  radius?: ButtonRadius;
@@ -19,6 +19,13 @@ export interface ButtonProps extends Omit<PressableProps, 'style' | 'children' |
19
19
  fullWidth?: boolean;
20
20
  /** Remove the button's built-in horizontal padding. */
21
21
  compact?: boolean;
22
+ /**
23
+ * Overrides the variant's resolved background color (theme token or raw
24
+ * CSS color). The label/icon/spinner foreground automatically switches to
25
+ * whichever of light or dark is legible against it. `border`/`borderWidth`
26
+ * still come from `variant`.
27
+ */
28
+ background?: ColorToken | (string & {});
22
29
  children?: ReactNode;
23
30
  }
24
31
  interface ButtonContextValue {
@@ -35,7 +42,7 @@ export interface ButtonIconProps {
35
42
  color?: ColorToken;
36
43
  strokeWidth?: number;
37
44
  }
38
- declare const ButtonIcon: ({ name, size: sizeProp, color: colorProp, strokeWidth, }: ButtonIconProps) => import("react").JSX.Element;
45
+ declare const ButtonIcon: ({ name, size: sizeProp, color: colorProp, strokeWidth }: ButtonIconProps) => import("react").JSX.Element;
39
46
  declare const ButtonRoot: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<import("react-native/types_generated/src/private/webapis/dom/nodes/ReactNativeElement").default>>;
40
47
  type ButtonComponent = typeof ButtonRoot & {
41
48
  Icon: typeof ButtonIcon;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/Button.tsx"],"names":[],"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,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAID,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,UAAU,CAAC;CAClB;AAOD,eAAO,MAAM,gBAAgB,QAAO,kBAA+C,CAAC;AAmEpF,QAAA,MAAM,WAAW,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAQzD,CAAC;AAUF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,GAAI,yDAAyD,eAAe,gCAW3F,CAAC;AAgBF,QAAA,MAAM,UAAU,yLAyDd,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,UAAU,GAAG;IACzC,IAAI,EAAE,OAAO,UAAU,CAAC;IACxB,KAAK,EAAE,OAAO,WAAW,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAiB,eAAe,CAAC"}
@@ -1,3 +1,3 @@
1
- export type { ButtonIconProps, ButtonProps, ButtonRadius, ButtonSize, ButtonVariant, } from './Button.js';
2
- export { Button, useButtonContext } from './Button.js';
1
+ export type { ButtonIconProps, ButtonProps, ButtonRadius, ButtonSize, ButtonVariant, } from "./Button.js";
2
+ export { Button, useButtonContext } from "./Button.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,14 +1,14 @@
1
- import { type ReactNode } from 'react';
2
- import { type ViewProps } from 'react-native';
3
- import type { ColorToken, TerraIconName } from '../../theme/types';
4
- import type { ChipColor, ChipSize, ChipVariant } from './types.js';
1
+ import { type ReactNode } from "react";
2
+ import { type ViewProps } from "react-native";
3
+ import type { ColorToken, TerraIconName } from "../../theme/types";
4
+ import type { ChipColor, ChipSize, ChipVariant } from "./types.js";
5
5
  export interface ChipProps extends ViewProps {
6
6
  size?: ChipSize;
7
7
  variant?: ChipVariant;
8
8
  color?: ChipColor;
9
9
  children?: ReactNode;
10
10
  }
11
- export interface ChipIconProps extends Omit<ViewProps, 'children'> {
11
+ export interface ChipIconProps extends Omit<ViewProps, "children"> {
12
12
  name: TerraIconName;
13
13
  size?: number;
14
14
  color?: ColorToken;
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/components/chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AACf,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQpE,OAAO,KAAK,EAAE,UAAU,EAAmB,aAAa,EAAE,MAAM,cAAc,CAAC;AAK/E,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAGhE,MAAM,WAAW,SAAU,SAAQ,SAAS;IAC1C,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAqID,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,GAAI,8DAOf,aAAa,gCAaf,CAAC;AAgBF,QAAA,MAAM,QAAQ,uLAyCZ,CAAC;AAEH,KAAK,aAAa,GAAG,OAAO,QAAQ,GAAG;IACrC,IAAI,EAAE,OAAO,QAAQ,CAAC;CACvB,CAAC;AAiBF,eAAO,MAAM,IAAI,EAA8B,aAAa,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/components/chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0D,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAC3G,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpE,OAAO,KAAK,EAAE,UAAU,EAAmB,aAAa,EAAE,MAAM,cAAc,CAAC;AAI/E,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAGhE,MAAM,WAAW,SAAU,SAAQ,SAAS;IAC1C,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA6HD,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,QAAQ,GAAI,8DAA8D,aAAa,gCAa5F,CAAC;AAgBF,QAAA,MAAM,QAAQ,uLAgCZ,CAAC;AAEH,KAAK,aAAa,GAAG,OAAO,QAAQ,GAAG;IACrC,IAAI,EAAE,OAAO,QAAQ,CAAC;CACvB,CAAC;AAiBF,eAAO,MAAM,IAAI,EAA8B,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- export type { ChipIconProps, ChipProps } from './Chip.js';
2
- export { Chip } from './Chip.js';
3
- export type { ChipColor, ChipSize, ChipVariant } from './types.js';
1
+ export type { ChipIconProps, ChipProps } from "./Chip.js";
2
+ export { Chip } from "./Chip.js";
3
+ export type { ChipColor, ChipSize, ChipVariant } from "./types.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- export type ChipSize = 'sm' | 'md' | 'lg';
2
- export type ChipVariant = 'solid' | 'soft' | 'outline' | 'ghost';
1
+ export type ChipSize = "sm" | "md" | "lg";
2
+ export type ChipVariant = "solid" | "soft" | "outline" | "ghost";
3
3
  /**
4
4
  * Semantic color scheme, or a raw CSS color literal (`#fff`, `rgb(...)`, `hsl(...)`).
5
5
  * Has no effect when `variant="ghost"` — ghost always renders `text.default`.
6
6
  */
7
- export type ChipColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | (string & {});
7
+ export type ChipColor = "primary" | "secondary" | "success" | "warning" | "danger" | (string & {});
8
8
  //# sourceMappingURL=types.d.ts.map
@@ -4,5 +4,5 @@ export interface CustomChipColors {
4
4
  borderWidth: number;
5
5
  fg: string;
6
6
  }
7
- export declare function getCustomColorColors(literal: string, variant: 'solid' | 'soft' | 'outline'): CustomChipColors;
7
+ export declare function getCustomColorColors(literal: string, variant: "solid" | "soft" | "outline"): CustomChipColors;
8
8
  //# sourceMappingURL=utils.d.ts.map
@@ -1,8 +1,8 @@
1
- import { type ReactNode } from 'react';
2
- import { type ViewProps } from 'react-native';
3
- import type { ColorToken, TerraIconName } from '../../theme/types';
4
- import type { EmptyStateSize } from './types.js';
5
- export interface EmptyStateProps extends Omit<ViewProps, 'children'> {
1
+ import { type ReactNode } from "react";
2
+ import { type ViewProps } from "react-native";
3
+ import type { ColorToken, TerraIconName } from "../../theme/types";
4
+ import type { EmptyStateSize } from "./types.js";
5
+ export interface EmptyStateProps extends Omit<ViewProps, "children"> {
6
6
  /** Icon rendered in the circular badge above the title. */
7
7
  icon?: TerraIconName;
8
8
  /** Icon tint. Defaults to `text.subtle`. */
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../../src/components/empty-state/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAe,MAAM,cAAc,CAAC;AAI3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAS,CAAC;AAE9C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAClE,2DAA2D;IAC3D,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,qEAAqE;IACrE,KAAK,EAAE,SAAS,CAAC;IACjB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mEAAmE;IACnE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAkCD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,6LAmDrB,CAAC"}
1
+ {"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../../src/components/empty-state/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAe,MAAM,cAAc,CAAC;AAG3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAS,CAAC;AAE9C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAClE,2DAA2D;IAC3D,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,qEAAqE;IACrE,KAAK,EAAE,SAAS,CAAC;IACjB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mEAAmE;IACnE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AA0BD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,6LA4CrB,CAAC"}
@@ -1,4 +1,4 @@
1
- export type { EmptyStateProps } from './EmptyState.js';
2
- export { EmptyState } from './EmptyState.js';
3
- export type { EmptyStateSize } from './types.js';
1
+ export type { EmptyStateProps } from "./EmptyState.js";
2
+ export { EmptyState } from "./EmptyState.js";
3
+ export type { EmptyStateSize } from "./types.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -2,5 +2,5 @@
2
2
  * Overall scale of an empty state — drives the icon size, the typography of the
3
3
  * title/description, and the spacing between them.
4
4
  */
5
- export type EmptyStateSize = 'sm' | 'md' | 'lg';
5
+ export type EmptyStateSize = "sm" | "md" | "lg";
6
6
  //# sourceMappingURL=types.d.ts.map
@@ -1,5 +1,5 @@
1
- import { LargeTitleHeader } from './variants/LargeTitleHeader/index.js';
2
- import { TitleHeader } from './variants/TitleHeader/index.js';
1
+ import { LargeTitleHeader } from "./variants/LargeTitleHeader/index.js";
2
+ import { TitleHeader } from "./variants/TitleHeader/index.js";
3
3
  /**
4
4
  * Composite header namespace.
5
5
  *
@@ -1,4 +1,4 @@
1
- import { type ToolbarButtonProps } from '../toolbar/index.js';
1
+ import { type ToolbarButtonProps } from "../toolbar/index.js";
2
2
  /**
3
3
  * @deprecated Use {@link Toolbar.Button}. `HeaderButton` is an alias kept for
4
4
  * compatibility and renders identically; `Toolbar.Button` additionally goes
@@ -25,7 +25,7 @@ export type HeaderButtonProps = ToolbarButtonProps;
25
25
  * ```
26
26
  */
27
27
  export declare const HeaderButton: typeof import("../toolbar/Toolbar.js").ToolbarButton;
28
- export type HeaderDismissAction = 'back' | 'close' | 'none';
28
+ export type HeaderDismissAction = "back" | "close" | "none";
29
29
  export interface HeaderDismissNavigation {
30
30
  canGoBack?: () => boolean;
31
31
  goBack?: () => void;
@@ -39,5 +39,5 @@ export interface HeaderDismissProps {
39
39
  /** Optional navigation object, usually from `useNavigation()`. */
40
40
  navigation?: HeaderDismissNavigation;
41
41
  }
42
- export declare function HeaderDismissButton({ dismissAction, navigation, onDismiss, }: HeaderDismissProps): import("react").JSX.Element | null;
42
+ export declare function HeaderDismissButton({ dismissAction, navigation, onDismiss }: HeaderDismissProps): import("react").JSX.Element | null;
43
43
  //# sourceMappingURL=header-buttons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"header-buttons.d.ts","sourceRoot":"","sources":["../../../../../src/components/header/header-buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,kBAAkB,EAAE,MAAM,qBAAY,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,YAAY,sDAAiB,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,kBAAkB;IACjC,0EAA0E;IAC1E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,kEAAkE;IAClE,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC;AAWD,wBAAgB,mBAAmB,CAAC,EAClC,aAAsB,EACtB,UAAU,EACV,SAAS,GACV,EAAE,kBAAkB,sCA4BpB"}
1
+ {"version":3,"file":"header-buttons.d.ts","sourceRoot":"","sources":["../../../../../src/components/header/header-buttons.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,kBAAkB,EAAE,MAAM,qBAAY,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,YAAY,sDAAiB,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,kBAAkB;IACjC,0EAA0E;IAC1E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,kEAAkE;IAClE,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC;AAQD,wBAAgB,mBAAmB,CAAC,EAAE,aAAsB,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,kBAAkB,sCA4BxG"}
@@ -1,7 +1,7 @@
1
- export { Header } from './Header.js';
2
- export { HeaderButton, type HeaderButtonProps, type HeaderDismissAction, HeaderDismissButton, type HeaderDismissNavigation, type HeaderDismissProps, } from './header-buttons.js';
3
- export type { LargeTitleHeaderProps } from './variants/LargeTitleHeader/index.js';
4
- export { LargeTitleHeader } from './variants/LargeTitleHeader/index.js';
5
- export type { TitleHeaderProps } from './variants/TitleHeader/index.js';
6
- export { TitleHeader } from './variants/TitleHeader/index.js';
1
+ export { Header } from "./Header.js";
2
+ export { HeaderButton, type HeaderButtonProps, type HeaderDismissAction, HeaderDismissButton, type HeaderDismissNavigation, type HeaderDismissProps, } from "./header-buttons.js";
3
+ export type { LargeTitleHeaderProps } from "./variants/LargeTitleHeader/index.js";
4
+ export { LargeTitleHeader } from "./variants/LargeTitleHeader/index.js";
5
+ export type { TitleHeaderProps } from "./variants/TitleHeader/index.js";
6
+ export { TitleHeader } from "./variants/TitleHeader/index.js";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderGradientOverlay.d.ts","sourceRoot":"","sources":["../../../../../../src/components/header/parts/HeaderGradientOverlay.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,0BAA0B;IACzC,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;CACf;AAED,kFAAkF;AAClF,wBAAgB,qBAAqB,CAAC,EAAE,KAAK,EAAE,EAAE,0BAA0B,+BAc1E"}
1
+ {"version":3,"file":"HeaderGradientOverlay.d.ts","sourceRoot":"","sources":["../../../../../../src/components/header/parts/HeaderGradientOverlay.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,0BAA0B;IACzC,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;CACf;AAED,kFAAkF;AAClF,wBAAgB,qBAAqB,CAAC,EAAE,KAAK,EAAE,EAAE,0BAA0B,+BAc1E"}
@@ -1,4 +1,4 @@
1
- import type { TitleHeaderProps } from '../TitleHeader/index.js';
1
+ import type { TitleHeaderProps } from "../TitleHeader/index.js";
2
2
  export interface LargeTitleHeaderProps extends TitleHeaderProps {
3
3
  /** Optional small line shown above the large title. */
4
4
  overline?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/header/variants/LargeTitleHeader/index.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAgB,CAAC;AASvD,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB;IAC7D,uDAAuD;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAwED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,aAAsB,EACtB,UAAU,EACV,SAAS,EACT,cAAyB,EACzB,kBAA0B,EAC1B,EAAsB,GACvB,EAAE,qBAAqB,+BAqIvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/header/variants/LargeTitleHeader/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAgB,CAAC;AASvD,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB;IAC7D,uDAAuD;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AA0DD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,aAAsB,EACtB,UAAU,EACV,SAAS,EACT,cAAyB,EACzB,kBAA0B,EAC1B,EAAsB,GACvB,EAAE,qBAAqB,+BA0GvB"}
@@ -1,6 +1,6 @@
1
- import type { ReactNode } from 'react';
2
- import type { ColorToken } from '../../../../theme/types';
3
- import { type HeaderDismissProps } from '../../header-buttons.js';
1
+ import type { ReactNode } from "react";
2
+ import type { ColorToken } from "../../../../theme/types";
3
+ import { type HeaderDismissProps } from "../../header-buttons.js";
4
4
  export interface TitleHeaderProps extends HeaderDismissProps {
5
5
  title?: string;
6
6
  /**
@@ -14,7 +14,7 @@ export interface TitleHeaderProps extends HeaderDismissProps {
14
14
  */
15
15
  RightToolbar?: ReactNode;
16
16
  /** Title placement within the bar. Defaults to `'center'`. */
17
- titleAlignment?: 'center' | 'left';
17
+ titleAlignment?: "center" | "left";
18
18
  /** Background color token. Defaults to `surface.default`. */
19
19
  bg?: ColorToken;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/header/variants/TitleHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK/C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,yBAAsB,CAAC;AAG9B,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,8DAA8D;IAC9D,cAAc,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACnC,6DAA6D;IAC7D,EAAE,CAAC,EAAE,UAAU,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,WAAW,EACX,YAAY,EACZ,aAAsB,EACtB,UAAU,EACV,SAAS,EACT,cAAyB,EACzB,EAAsB,GACvB,EAAE,gBAAgB,+BA2DlB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/header/variants/TitleHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI/C,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,yBAAsB,CAAC;AAGpF,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,8DAA8D;IAC9D,cAAc,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACnC,6DAA6D;IAC7D,EAAE,CAAC,EAAE,UAAU,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,WAAW,EACX,YAAY,EACZ,aAAsB,EACtB,UAAU,EACV,SAAS,EACT,cAAyB,EACzB,EAAsB,GACvB,EAAE,gBAAgB,+BA6ClB"}
@@ -1,6 +1,6 @@
1
- import { type ViewProps } from 'react-native';
2
- import type { ColorToken, TerraIconName } from '../../theme/types';
3
- export interface IconProps extends Omit<ViewProps, 'children'> {
1
+ import { type ViewProps } from "react-native";
2
+ import type { ColorToken, TerraIconName } from "../../theme/types";
3
+ export interface IconProps extends Omit<ViewProps, "children"> {
4
4
  /** Semantic or configured icon name from the theme registry. */
5
5
  name: TerraIconName;
6
6
  /** Icon size in density-independent pixels. Defaults to `20`. */
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/icon/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC5D,gEAAgE;IAChE,IAAI,EAAE,aAAa,CAAC;IACpB,iEAAiE;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI,uLAgChB,CAAC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/icon/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC5D,gEAAgE;IAChE,IAAI,EAAE,aAAa,CAAC;IACpB,iEAAiE;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI,uLAwBf,CAAC"}
@@ -1,3 +1,3 @@
1
- export type { IconProps } from './Icon.js';
2
- export { Icon } from './Icon.js';
1
+ export type { IconProps } from "./Icon.js";
2
+ export { Icon } from "./Icon.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ImageProps } from './types.js';
1
+ import type { ImageProps } from "./types.js";
2
2
  /**
3
3
  * Renders the image implementation configured via
4
4
  * `configureTerraUI({ image })` (defaults to React Native's `Image`).
@@ -12,5 +12,5 @@ import type { ImageProps } from './types.js';
12
12
  * />
13
13
  * ```
14
14
  */
15
- export declare function Image({ contentFit, width, height, radius, style, ...rest }: ImageProps): import("react").JSX.Element;
15
+ export declare function Image({ contentFit, width, height, radius, style, placeholderContentFit, ...rest }: ImageProps): import("react").JSX.Element;
16
16
  //# sourceMappingURL=Image.d.ts.map