@ankhorage/zora 2.5.1 → 2.5.3

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 (534) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +3545 -1
  3. package/dist/components/action-sheet/ActionSheet.d.ts +5 -0
  4. package/dist/components/action-sheet/ActionSheet.d.ts.map +1 -1
  5. package/dist/components/action-sheet/ActionSheet.js +5 -0
  6. package/dist/components/action-sheet/ActionSheet.js.map +1 -1
  7. package/dist/components/action-sheet/ActionSheetItem.d.ts +5 -0
  8. package/dist/components/action-sheet/ActionSheetItem.d.ts.map +1 -1
  9. package/dist/components/action-sheet/ActionSheetItem.js +5 -0
  10. package/dist/components/action-sheet/ActionSheetItem.js.map +1 -1
  11. package/dist/components/app-bar/AppBar.d.ts +5 -0
  12. package/dist/components/app-bar/AppBar.d.ts.map +1 -1
  13. package/dist/components/app-bar/AppBar.js +5 -0
  14. package/dist/components/app-bar/AppBar.js.map +1 -1
  15. package/dist/components/avatar/Avatar.d.ts +5 -0
  16. package/dist/components/avatar/Avatar.d.ts.map +1 -1
  17. package/dist/components/avatar/Avatar.js +5 -0
  18. package/dist/components/avatar/Avatar.js.map +1 -1
  19. package/dist/components/avatar-group/AvatarGroup.d.ts +5 -0
  20. package/dist/components/avatar-group/AvatarGroup.d.ts.map +1 -1
  21. package/dist/components/avatar-group/AvatarGroup.js +5 -0
  22. package/dist/components/avatar-group/AvatarGroup.js.map +1 -1
  23. package/dist/components/badge/Badge.d.ts +5 -0
  24. package/dist/components/badge/Badge.d.ts.map +1 -1
  25. package/dist/components/badge/Badge.js +5 -0
  26. package/dist/components/badge/Badge.js.map +1 -1
  27. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +5 -0
  28. package/dist/components/breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  29. package/dist/components/breadcrumbs/Breadcrumbs.js +5 -0
  30. package/dist/components/breadcrumbs/Breadcrumbs.js.map +1 -1
  31. package/dist/components/button/Button.d.ts +12 -0
  32. package/dist/components/button/Button.d.ts.map +1 -1
  33. package/dist/components/button/Button.js +12 -0
  34. package/dist/components/button/Button.js.map +1 -1
  35. package/dist/components/button-group/ButtonGroup.d.ts +5 -0
  36. package/dist/components/button-group/ButtonGroup.d.ts.map +1 -1
  37. package/dist/components/button-group/ButtonGroup.js +5 -0
  38. package/dist/components/button-group/ButtonGroup.js.map +1 -1
  39. package/dist/components/card/Card.d.ts +12 -0
  40. package/dist/components/card/Card.d.ts.map +1 -1
  41. package/dist/components/card/Card.js +12 -0
  42. package/dist/components/card/Card.js.map +1 -1
  43. package/dist/components/checkbox/Checkbox.d.ts +5 -0
  44. package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
  45. package/dist/components/checkbox/Checkbox.js +5 -0
  46. package/dist/components/checkbox/Checkbox.js.map +1 -1
  47. package/dist/components/checkbox/CheckboxGroup.d.ts +5 -0
  48. package/dist/components/checkbox/CheckboxGroup.d.ts.map +1 -1
  49. package/dist/components/checkbox/CheckboxGroup.js +5 -0
  50. package/dist/components/checkbox/CheckboxGroup.js.map +1 -1
  51. package/dist/components/chip/Chip.d.ts +5 -0
  52. package/dist/components/chip/Chip.d.ts.map +1 -1
  53. package/dist/components/chip/Chip.js +5 -0
  54. package/dist/components/chip/Chip.js.map +1 -1
  55. package/dist/components/chip-group/ChipGroup.d.ts +5 -0
  56. package/dist/components/chip-group/ChipGroup.d.ts.map +1 -1
  57. package/dist/components/chip-group/ChipGroup.js +5 -0
  58. package/dist/components/chip-group/ChipGroup.js.map +1 -1
  59. package/dist/components/data-table/DataTable.d.ts +5 -0
  60. package/dist/components/data-table/DataTable.d.ts.map +1 -1
  61. package/dist/components/data-table/DataTable.js +5 -0
  62. package/dist/components/data-table/DataTable.js.map +1 -1
  63. package/dist/components/date-picker/DatePicker.d.ts +5 -0
  64. package/dist/components/date-picker/DatePicker.d.ts.map +1 -1
  65. package/dist/components/date-picker/DatePicker.js +5 -0
  66. package/dist/components/date-picker/DatePicker.js.map +1 -1
  67. package/dist/components/drawer/Drawer.d.ts +5 -0
  68. package/dist/components/drawer/Drawer.d.ts.map +1 -1
  69. package/dist/components/drawer/Drawer.js +5 -0
  70. package/dist/components/drawer/Drawer.js.map +1 -1
  71. package/dist/components/form/Form.d.ts +5 -0
  72. package/dist/components/form/Form.d.ts.map +1 -1
  73. package/dist/components/form/Form.js +5 -0
  74. package/dist/components/form/Form.js.map +1 -1
  75. package/dist/components/form/FormActions.d.ts +5 -0
  76. package/dist/components/form/FormActions.d.ts.map +1 -1
  77. package/dist/components/form/FormActions.js +5 -0
  78. package/dist/components/form/FormActions.js.map +1 -1
  79. package/dist/components/form/FormError.d.ts +5 -0
  80. package/dist/components/form/FormError.d.ts.map +1 -1
  81. package/dist/components/form/FormError.js +5 -0
  82. package/dist/components/form/FormError.js.map +1 -1
  83. package/dist/components/form/FormField.d.ts +5 -0
  84. package/dist/components/form/FormField.d.ts.map +1 -1
  85. package/dist/components/form/FormField.js +5 -0
  86. package/dist/components/form/FormField.js.map +1 -1
  87. package/dist/components/form/index.d.ts +1 -1
  88. package/dist/components/form/index.d.ts.map +1 -1
  89. package/dist/components/form/index.js.map +1 -1
  90. package/dist/components/form/useFormController.d.ts.map +1 -1
  91. package/dist/components/form/useFormController.js.map +1 -1
  92. package/dist/components/heading/Heading.d.ts +12 -0
  93. package/dist/components/heading/Heading.d.ts.map +1 -1
  94. package/dist/components/heading/Heading.js +12 -0
  95. package/dist/components/heading/Heading.js.map +1 -1
  96. package/dist/components/icon/Icon.d.ts +5 -0
  97. package/dist/components/icon/Icon.d.ts.map +1 -1
  98. package/dist/components/icon/Icon.js +5 -0
  99. package/dist/components/icon/Icon.js.map +1 -1
  100. package/dist/components/icon-button/IconButton.d.ts +5 -0
  101. package/dist/components/icon-button/IconButton.d.ts.map +1 -1
  102. package/dist/components/icon-button/IconButton.js +5 -0
  103. package/dist/components/icon-button/IconButton.js.map +1 -1
  104. package/dist/components/image/Image.d.ts +5 -0
  105. package/dist/components/image/Image.d.ts.map +1 -1
  106. package/dist/components/image/Image.js +5 -0
  107. package/dist/components/image/Image.js.map +1 -1
  108. package/dist/components/input/Input.d.ts +12 -0
  109. package/dist/components/input/Input.d.ts.map +1 -1
  110. package/dist/components/input/Input.js +12 -0
  111. package/dist/components/input/Input.js.map +1 -1
  112. package/dist/components/media-card/MediaCard.d.ts +5 -0
  113. package/dist/components/media-card/MediaCard.d.ts.map +1 -1
  114. package/dist/components/media-card/MediaCard.js +5 -0
  115. package/dist/components/media-card/MediaCard.js.map +1 -1
  116. package/dist/components/menu/DropdownMenu.d.ts +5 -0
  117. package/dist/components/menu/DropdownMenu.d.ts.map +1 -1
  118. package/dist/components/menu/DropdownMenu.js +5 -0
  119. package/dist/components/menu/DropdownMenu.js.map +1 -1
  120. package/dist/components/menu/Menu.d.ts +5 -0
  121. package/dist/components/menu/Menu.d.ts.map +1 -1
  122. package/dist/components/menu/Menu.js +5 -0
  123. package/dist/components/menu/Menu.js.map +1 -1
  124. package/dist/components/metric-card/MetricCard.d.ts +5 -0
  125. package/dist/components/metric-card/MetricCard.d.ts.map +1 -1
  126. package/dist/components/metric-card/MetricCard.js +5 -0
  127. package/dist/components/metric-card/MetricCard.js.map +1 -1
  128. package/dist/components/modal/Modal.d.ts +5 -0
  129. package/dist/components/modal/Modal.d.ts.map +1 -1
  130. package/dist/components/modal/Modal.js +5 -0
  131. package/dist/components/modal/Modal.js.map +1 -1
  132. package/dist/components/navigation-item/NavigationItem.d.ts +5 -0
  133. package/dist/components/navigation-item/NavigationItem.d.ts.map +1 -1
  134. package/dist/components/navigation-item/NavigationItem.js +5 -0
  135. package/dist/components/navigation-item/NavigationItem.js.map +1 -1
  136. package/dist/components/navigation-list/NavigationList.d.ts +5 -0
  137. package/dist/components/navigation-list/NavigationList.d.ts.map +1 -1
  138. package/dist/components/navigation-list/NavigationList.js +5 -0
  139. package/dist/components/navigation-list/NavigationList.js.map +1 -1
  140. package/dist/components/pagination/Pagination.d.ts +5 -0
  141. package/dist/components/pagination/Pagination.d.ts.map +1 -1
  142. package/dist/components/pagination/Pagination.js +5 -0
  143. package/dist/components/pagination/Pagination.js.map +1 -1
  144. package/dist/components/progress/Progress.d.ts +5 -0
  145. package/dist/components/progress/Progress.d.ts.map +1 -1
  146. package/dist/components/progress/Progress.js +5 -0
  147. package/dist/components/progress/Progress.js.map +1 -1
  148. package/dist/components/radio/Radio.d.ts +5 -0
  149. package/dist/components/radio/Radio.d.ts.map +1 -1
  150. package/dist/components/radio/Radio.js +5 -0
  151. package/dist/components/radio/Radio.js.map +1 -1
  152. package/dist/components/radio/RadioGroup.d.ts +5 -0
  153. package/dist/components/radio/RadioGroup.d.ts.map +1 -1
  154. package/dist/components/radio/RadioGroup.js +5 -0
  155. package/dist/components/radio/RadioGroup.js.map +1 -1
  156. package/dist/components/rating/Rating.d.ts +5 -0
  157. package/dist/components/rating/Rating.d.ts.map +1 -1
  158. package/dist/components/rating/Rating.js +5 -0
  159. package/dist/components/rating/Rating.js.map +1 -1
  160. package/dist/components/search-bar/SearchBar.d.ts +5 -0
  161. package/dist/components/search-bar/SearchBar.d.ts.map +1 -1
  162. package/dist/components/search-bar/SearchBar.js +5 -0
  163. package/dist/components/search-bar/SearchBar.js.map +1 -1
  164. package/dist/components/select/Select.d.ts +5 -0
  165. package/dist/components/select/Select.d.ts.map +1 -1
  166. package/dist/components/select/Select.js +5 -0
  167. package/dist/components/select/Select.js.map +1 -1
  168. package/dist/components/skeleton/Skeleton.d.ts +5 -0
  169. package/dist/components/skeleton/Skeleton.d.ts.map +1 -1
  170. package/dist/components/skeleton/Skeleton.js +5 -0
  171. package/dist/components/skeleton/Skeleton.js.map +1 -1
  172. package/dist/components/skeleton/SkeletonCard.d.ts +5 -0
  173. package/dist/components/skeleton/SkeletonCard.d.ts.map +1 -1
  174. package/dist/components/skeleton/SkeletonCard.js +5 -0
  175. package/dist/components/skeleton/SkeletonCard.js.map +1 -1
  176. package/dist/components/skeleton/SkeletonList.d.ts +5 -0
  177. package/dist/components/skeleton/SkeletonList.d.ts.map +1 -1
  178. package/dist/components/skeleton/SkeletonList.js +5 -0
  179. package/dist/components/skeleton/SkeletonList.js.map +1 -1
  180. package/dist/components/skeleton/SkeletonText.d.ts +5 -0
  181. package/dist/components/skeleton/SkeletonText.d.ts.map +1 -1
  182. package/dist/components/skeleton/SkeletonText.js +5 -0
  183. package/dist/components/skeleton/SkeletonText.js.map +1 -1
  184. package/dist/components/tabs/Tabs.d.ts +5 -0
  185. package/dist/components/tabs/Tabs.d.ts.map +1 -1
  186. package/dist/components/tabs/Tabs.js +5 -0
  187. package/dist/components/tabs/Tabs.js.map +1 -1
  188. package/dist/components/text/Text.d.ts +12 -0
  189. package/dist/components/text/Text.d.ts.map +1 -1
  190. package/dist/components/text/Text.js +12 -0
  191. package/dist/components/text/Text.js.map +1 -1
  192. package/dist/components/textarea/Textarea.d.ts +5 -0
  193. package/dist/components/textarea/Textarea.d.ts.map +1 -1
  194. package/dist/components/textarea/Textarea.js +5 -0
  195. package/dist/components/textarea/Textarea.js.map +1 -1
  196. package/dist/components/time-picker/TimePicker.d.ts +5 -0
  197. package/dist/components/time-picker/TimePicker.d.ts.map +1 -1
  198. package/dist/components/time-picker/TimePicker.js +5 -0
  199. package/dist/components/time-picker/TimePicker.js.map +1 -1
  200. package/dist/components/toast/Toast.d.ts +5 -0
  201. package/dist/components/toast/Toast.d.ts.map +1 -1
  202. package/dist/components/toast/Toast.js +5 -0
  203. package/dist/components/toast/Toast.js.map +1 -1
  204. package/dist/components/toast/ToastProvider.d.ts +5 -0
  205. package/dist/components/toast/ToastProvider.d.ts.map +1 -1
  206. package/dist/components/toast/ToastProvider.js +5 -0
  207. package/dist/components/toast/ToastProvider.js.map +1 -1
  208. package/dist/components/toolbar/Toolbar.d.ts +5 -0
  209. package/dist/components/toolbar/Toolbar.d.ts.map +1 -1
  210. package/dist/components/toolbar/Toolbar.js +5 -0
  211. package/dist/components/toolbar/Toolbar.js.map +1 -1
  212. package/dist/components/toolbar/ToolbarAction.d.ts +5 -0
  213. package/dist/components/toolbar/ToolbarAction.d.ts.map +1 -1
  214. package/dist/components/toolbar/ToolbarAction.js +5 -0
  215. package/dist/components/toolbar/ToolbarAction.js.map +1 -1
  216. package/dist/foundation/Box.d.ts +5 -0
  217. package/dist/foundation/Box.d.ts.map +1 -1
  218. package/dist/foundation/Box.js +5 -0
  219. package/dist/foundation/Box.js.map +1 -1
  220. package/dist/foundation/Center.d.ts +5 -0
  221. package/dist/foundation/Center.d.ts.map +1 -1
  222. package/dist/foundation/Center.js +5 -0
  223. package/dist/foundation/Center.js.map +1 -1
  224. package/dist/foundation/Container.d.ts +5 -0
  225. package/dist/foundation/Container.d.ts.map +1 -1
  226. package/dist/foundation/Container.js +5 -0
  227. package/dist/foundation/Container.js.map +1 -1
  228. package/dist/foundation/Divider.d.ts +5 -0
  229. package/dist/foundation/Divider.d.ts.map +1 -1
  230. package/dist/foundation/Divider.js +5 -0
  231. package/dist/foundation/Divider.js.map +1 -1
  232. package/dist/foundation/Grid.d.ts +5 -0
  233. package/dist/foundation/Grid.d.ts.map +1 -1
  234. package/dist/foundation/Grid.js +5 -0
  235. package/dist/foundation/Grid.js.map +1 -1
  236. package/dist/foundation/Inline.d.ts +5 -0
  237. package/dist/foundation/Inline.d.ts.map +1 -1
  238. package/dist/foundation/Inline.js +5 -0
  239. package/dist/foundation/Inline.js.map +1 -1
  240. package/dist/foundation/Show.d.ts +5 -0
  241. package/dist/foundation/Show.d.ts.map +1 -1
  242. package/dist/foundation/Show.js +5 -0
  243. package/dist/foundation/Show.js.map +1 -1
  244. package/dist/foundation/Spacer.d.ts +5 -0
  245. package/dist/foundation/Spacer.d.ts.map +1 -1
  246. package/dist/foundation/Spacer.js +5 -0
  247. package/dist/foundation/Spacer.js.map +1 -1
  248. package/dist/foundation/Stack.d.ts +5 -0
  249. package/dist/foundation/Stack.d.ts.map +1 -1
  250. package/dist/foundation/Stack.js +5 -0
  251. package/dist/foundation/Stack.js.map +1 -1
  252. package/dist/foundation/Surface.d.ts +5 -0
  253. package/dist/foundation/Surface.d.ts.map +1 -1
  254. package/dist/foundation/Surface.js +5 -0
  255. package/dist/foundation/Surface.js.map +1 -1
  256. package/dist/index.d.ts +1 -1
  257. package/dist/index.d.ts.map +1 -1
  258. package/dist/index.js.map +1 -1
  259. package/dist/layout/app-shell/AppShell.d.ts +12 -0
  260. package/dist/layout/app-shell/AppShell.d.ts.map +1 -1
  261. package/dist/layout/app-shell/AppShell.js +12 -0
  262. package/dist/layout/app-shell/AppShell.js.map +1 -1
  263. package/dist/layout/screen/Screen.d.ts +5 -0
  264. package/dist/layout/screen/Screen.d.ts.map +1 -1
  265. package/dist/layout/screen/Screen.js +5 -0
  266. package/dist/layout/screen/Screen.js.map +1 -1
  267. package/dist/layout/screen-section/ScreenSection.d.ts +5 -0
  268. package/dist/layout/screen-section/ScreenSection.d.ts.map +1 -1
  269. package/dist/layout/screen-section/ScreenSection.js +5 -0
  270. package/dist/layout/screen-section/ScreenSection.js.map +1 -1
  271. package/dist/layout/settings-layout/SettingsLayout.d.ts +5 -0
  272. package/dist/layout/settings-layout/SettingsLayout.d.ts.map +1 -1
  273. package/dist/layout/settings-layout/SettingsLayout.js +5 -0
  274. package/dist/layout/settings-layout/SettingsLayout.js.map +1 -1
  275. package/dist/layout/sidebar-layout/SidebarLayout.d.ts +5 -0
  276. package/dist/layout/sidebar-layout/SidebarLayout.d.ts.map +1 -1
  277. package/dist/layout/sidebar-layout/SidebarLayout.js +5 -0
  278. package/dist/layout/sidebar-layout/SidebarLayout.js.map +1 -1
  279. package/dist/layout/topbar-layout/TopbarLayout.d.ts +5 -0
  280. package/dist/layout/topbar-layout/TopbarLayout.d.ts.map +1 -1
  281. package/dist/layout/topbar-layout/TopbarLayout.js +5 -0
  282. package/dist/layout/topbar-layout/TopbarLayout.js.map +1 -1
  283. package/dist/patterns/auth/ForgotPasswordForm.d.ts +5 -0
  284. package/dist/patterns/auth/ForgotPasswordForm.d.ts.map +1 -1
  285. package/dist/patterns/auth/ForgotPasswordForm.js +5 -0
  286. package/dist/patterns/auth/ForgotPasswordForm.js.map +1 -1
  287. package/dist/patterns/auth/OtpForm.d.ts +5 -0
  288. package/dist/patterns/auth/OtpForm.d.ts.map +1 -1
  289. package/dist/patterns/auth/OtpForm.js +5 -0
  290. package/dist/patterns/auth/OtpForm.js.map +1 -1
  291. package/dist/patterns/auth/SignInForm.d.ts +5 -0
  292. package/dist/patterns/auth/SignInForm.d.ts.map +1 -1
  293. package/dist/patterns/auth/SignInForm.js +5 -0
  294. package/dist/patterns/auth/SignInForm.js.map +1 -1
  295. package/dist/patterns/auth/SignUpForm.d.ts +5 -0
  296. package/dist/patterns/auth/SignUpForm.d.ts.map +1 -1
  297. package/dist/patterns/auth/SignUpForm.js +5 -0
  298. package/dist/patterns/auth/SignUpForm.js.map +1 -1
  299. package/dist/patterns/chat-list-item/ChatListItem.d.ts +5 -0
  300. package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +1 -1
  301. package/dist/patterns/chat-list-item/ChatListItem.js +5 -0
  302. package/dist/patterns/chat-list-item/ChatListItem.js.map +1 -1
  303. package/dist/patterns/collection-editor/CollectionEditor.d.ts +5 -0
  304. package/dist/patterns/collection-editor/CollectionEditor.d.ts.map +1 -1
  305. package/dist/patterns/collection-editor/CollectionEditor.js +5 -0
  306. package/dist/patterns/collection-editor/CollectionEditor.js.map +1 -1
  307. package/dist/patterns/confirm-dialog/ConfirmDialog.d.ts +5 -0
  308. package/dist/patterns/confirm-dialog/ConfirmDialog.d.ts.map +1 -1
  309. package/dist/patterns/confirm-dialog/ConfirmDialog.js +5 -0
  310. package/dist/patterns/confirm-dialog/ConfirmDialog.js.map +1 -1
  311. package/dist/patterns/disclosure-section/DisclosureSection.d.ts +5 -0
  312. package/dist/patterns/disclosure-section/DisclosureSection.d.ts.map +1 -1
  313. package/dist/patterns/disclosure-section/DisclosureSection.js +5 -0
  314. package/dist/patterns/disclosure-section/DisclosureSection.js.map +1 -1
  315. package/dist/patterns/empty-state/EmptyState.d.ts +12 -0
  316. package/dist/patterns/empty-state/EmptyState.d.ts.map +1 -1
  317. package/dist/patterns/empty-state/EmptyState.js +12 -0
  318. package/dist/patterns/empty-state/EmptyState.js.map +1 -1
  319. package/dist/patterns/filter-bar/FilterBar.d.ts +5 -0
  320. package/dist/patterns/filter-bar/FilterBar.d.ts.map +1 -1
  321. package/dist/patterns/filter-bar/FilterBar.js +5 -0
  322. package/dist/patterns/filter-bar/FilterBar.js.map +1 -1
  323. package/dist/patterns/hero/Hero.d.ts +5 -0
  324. package/dist/patterns/hero/Hero.d.ts.map +1 -1
  325. package/dist/patterns/hero/Hero.js +5 -0
  326. package/dist/patterns/hero/Hero.js.map +1 -1
  327. package/dist/patterns/image-preview/ImagePreview.d.ts +5 -0
  328. package/dist/patterns/image-preview/ImagePreview.d.ts.map +1 -1
  329. package/dist/patterns/image-preview/ImagePreview.js +5 -0
  330. package/dist/patterns/image-preview/ImagePreview.js.map +1 -1
  331. package/dist/patterns/image-upload-field/ImageUploadField.d.ts +5 -0
  332. package/dist/patterns/image-upload-field/ImageUploadField.d.ts.map +1 -1
  333. package/dist/patterns/image-upload-field/ImageUploadField.js +5 -0
  334. package/dist/patterns/image-upload-field/ImageUploadField.js.map +1 -1
  335. package/dist/patterns/inspector-field/InspectorField.d.ts +5 -0
  336. package/dist/patterns/inspector-field/InspectorField.d.ts.map +1 -1
  337. package/dist/patterns/inspector-field/InspectorField.js +5 -0
  338. package/dist/patterns/inspector-field/InspectorField.js.map +1 -1
  339. package/dist/patterns/list/List.d.ts +5 -0
  340. package/dist/patterns/list/List.d.ts.map +1 -1
  341. package/dist/patterns/list/List.js +5 -0
  342. package/dist/patterns/list/List.js.map +1 -1
  343. package/dist/patterns/list/ListRow.d.ts +5 -0
  344. package/dist/patterns/list/ListRow.d.ts.map +1 -1
  345. package/dist/patterns/list/ListRow.js +5 -0
  346. package/dist/patterns/list/ListRow.js.map +1 -1
  347. package/dist/patterns/list/ListSection.d.ts +5 -0
  348. package/dist/patterns/list/ListSection.d.ts.map +1 -1
  349. package/dist/patterns/list/ListSection.js +5 -0
  350. package/dist/patterns/list/ListSection.js.map +1 -1
  351. package/dist/patterns/message-bubble/MessageBubble.d.ts +5 -0
  352. package/dist/patterns/message-bubble/MessageBubble.d.ts.map +1 -1
  353. package/dist/patterns/message-bubble/MessageBubble.js +5 -0
  354. package/dist/patterns/message-bubble/MessageBubble.js.map +1 -1
  355. package/dist/patterns/notice/Notice.d.ts +5 -0
  356. package/dist/patterns/notice/Notice.d.ts.map +1 -1
  357. package/dist/patterns/notice/Notice.js +5 -0
  358. package/dist/patterns/notice/Notice.js.map +1 -1
  359. package/dist/patterns/panel/Panel.d.ts +5 -0
  360. package/dist/patterns/panel/Panel.d.ts.map +1 -1
  361. package/dist/patterns/panel/Panel.js +5 -0
  362. package/dist/patterns/panel/Panel.js.map +1 -1
  363. package/dist/patterns/post-card/PostCard.d.ts +5 -0
  364. package/dist/patterns/post-card/PostCard.d.ts.map +1 -1
  365. package/dist/patterns/post-card/PostCard.js +5 -0
  366. package/dist/patterns/post-card/PostCard.js.map +1 -1
  367. package/dist/patterns/responsive-panel/ResponsivePanel.d.ts +12 -0
  368. package/dist/patterns/responsive-panel/ResponsivePanel.d.ts.map +1 -1
  369. package/dist/patterns/responsive-panel/ResponsivePanel.js +12 -0
  370. package/dist/patterns/responsive-panel/ResponsivePanel.js.map +1 -1
  371. package/dist/patterns/section-header/SectionHeader.d.ts +5 -0
  372. package/dist/patterns/section-header/SectionHeader.d.ts.map +1 -1
  373. package/dist/patterns/section-header/SectionHeader.js +5 -0
  374. package/dist/patterns/section-header/SectionHeader.js.map +1 -1
  375. package/dist/patterns/selection/SelectableItem.d.ts +5 -0
  376. package/dist/patterns/selection/SelectableItem.d.ts.map +1 -1
  377. package/dist/patterns/selection/SelectableItem.js +5 -0
  378. package/dist/patterns/selection/SelectableItem.js.map +1 -1
  379. package/dist/patterns/selection/SelectionProvider.d.ts +10 -0
  380. package/dist/patterns/selection/SelectionProvider.d.ts.map +1 -1
  381. package/dist/patterns/selection/SelectionProvider.js +10 -0
  382. package/dist/patterns/selection/SelectionProvider.js.map +1 -1
  383. package/dist/patterns/settings-row/SettingsRow.d.ts +5 -0
  384. package/dist/patterns/settings-row/SettingsRow.d.ts.map +1 -1
  385. package/dist/patterns/settings-row/SettingsRow.js +5 -0
  386. package/dist/patterns/settings-row/SettingsRow.js.map +1 -1
  387. package/dist/patterns/switch-field/SwitchField.d.ts +5 -0
  388. package/dist/patterns/switch-field/SwitchField.d.ts.map +1 -1
  389. package/dist/patterns/switch-field/SwitchField.js +5 -0
  390. package/dist/patterns/switch-field/SwitchField.js.map +1 -1
  391. package/dist/patterns/theme-composer/ThemeComposer.d.ts +5 -0
  392. package/dist/patterns/theme-composer/ThemeComposer.d.ts.map +1 -1
  393. package/dist/patterns/theme-composer/ThemeComposer.js +5 -0
  394. package/dist/patterns/theme-composer/ThemeComposer.js.map +1 -1
  395. package/dist/patterns/tile-grid/PaletteItem.d.ts +5 -0
  396. package/dist/patterns/tile-grid/PaletteItem.d.ts.map +1 -1
  397. package/dist/patterns/tile-grid/PaletteItem.js +5 -0
  398. package/dist/patterns/tile-grid/PaletteItem.js.map +1 -1
  399. package/dist/patterns/tile-grid/TileGrid.d.ts +5 -0
  400. package/dist/patterns/tile-grid/TileGrid.d.ts.map +1 -1
  401. package/dist/patterns/tile-grid/TileGrid.js +5 -0
  402. package/dist/patterns/tile-grid/TileGrid.js.map +1 -1
  403. package/dist/patterns/timeline/Timeline.d.ts +5 -0
  404. package/dist/patterns/timeline/Timeline.d.ts.map +1 -1
  405. package/dist/patterns/timeline/Timeline.js +5 -0
  406. package/dist/patterns/timeline/Timeline.js.map +1 -1
  407. package/dist/patterns/tree-view/TreeItem.d.ts +5 -0
  408. package/dist/patterns/tree-view/TreeItem.d.ts.map +1 -1
  409. package/dist/patterns/tree-view/TreeItem.js +5 -0
  410. package/dist/patterns/tree-view/TreeItem.js.map +1 -1
  411. package/dist/patterns/tree-view/TreeView.d.ts +5 -0
  412. package/dist/patterns/tree-view/TreeView.d.ts.map +1 -1
  413. package/dist/patterns/tree-view/TreeView.js +5 -0
  414. package/dist/patterns/tree-view/TreeView.js.map +1 -1
  415. package/dist/patterns/zora-drawer-content/ZoraDrawerContent.d.ts +5 -0
  416. package/dist/patterns/zora-drawer-content/ZoraDrawerContent.d.ts.map +1 -1
  417. package/dist/patterns/zora-drawer-content/ZoraDrawerContent.js +5 -0
  418. package/dist/patterns/zora-drawer-content/ZoraDrawerContent.js.map +1 -1
  419. package/dist/patterns/zora-tab-bar/ZoraTabBar.d.ts +5 -0
  420. package/dist/patterns/zora-tab-bar/ZoraTabBar.d.ts.map +1 -1
  421. package/dist/patterns/zora-tab-bar/ZoraTabBar.js +5 -0
  422. package/dist/patterns/zora-tab-bar/ZoraTabBar.js.map +1 -1
  423. package/dist/theme/ZoraProvider.d.ts +12 -0
  424. package/dist/theme/ZoraProvider.d.ts.map +1 -1
  425. package/dist/theme/ZoraProvider.js +12 -0
  426. package/dist/theme/ZoraProvider.js.map +1 -1
  427. package/package.json +1 -1
  428. package/src/components/action-sheet/ActionSheet.tsx +5 -0
  429. package/src/components/action-sheet/ActionSheetItem.tsx +5 -0
  430. package/src/components/app-bar/AppBar.tsx +5 -0
  431. package/src/components/avatar/Avatar.tsx +5 -0
  432. package/src/components/avatar-group/AvatarGroup.tsx +5 -0
  433. package/src/components/badge/Badge.tsx +5 -0
  434. package/src/components/breadcrumbs/Breadcrumbs.tsx +5 -0
  435. package/src/components/button/Button.tsx +12 -0
  436. package/src/components/button-group/ButtonGroup.tsx +5 -0
  437. package/src/components/card/Card.tsx +12 -0
  438. package/src/components/checkbox/Checkbox.tsx +5 -0
  439. package/src/components/checkbox/CheckboxGroup.tsx +5 -0
  440. package/src/components/chip/Chip.tsx +5 -0
  441. package/src/components/chip-group/ChipGroup.tsx +5 -0
  442. package/src/components/data-table/DataTable.tsx +5 -0
  443. package/src/components/date-picker/DatePicker.tsx +5 -0
  444. package/src/components/drawer/Drawer.tsx +5 -0
  445. package/src/components/form/Form.tsx +5 -0
  446. package/src/components/form/FormActions.tsx +5 -0
  447. package/src/components/form/FormError.tsx +5 -0
  448. package/src/components/form/FormField.tsx +5 -0
  449. package/src/components/form/index.ts +0 -1
  450. package/src/components/form/useFormController.ts +3 -2
  451. package/src/components/heading/Heading.tsx +12 -0
  452. package/src/components/icon/Icon.tsx +5 -0
  453. package/src/components/icon-button/IconButton.tsx +5 -0
  454. package/src/components/image/Image.tsx +5 -0
  455. package/src/components/input/Input.tsx +12 -0
  456. package/src/components/media-card/MediaCard.tsx +5 -0
  457. package/src/components/menu/DropdownMenu.tsx +5 -0
  458. package/src/components/menu/Menu.tsx +5 -0
  459. package/src/components/metric-card/MetricCard.tsx +5 -0
  460. package/src/components/modal/Modal.tsx +5 -0
  461. package/src/components/navigation-item/NavigationItem.tsx +5 -0
  462. package/src/components/navigation-list/NavigationList.tsx +5 -0
  463. package/src/components/pagination/Pagination.tsx +5 -0
  464. package/src/components/progress/Progress.tsx +5 -0
  465. package/src/components/radio/Radio.tsx +5 -0
  466. package/src/components/radio/RadioGroup.tsx +5 -0
  467. package/src/components/rating/Rating.tsx +5 -0
  468. package/src/components/search-bar/SearchBar.tsx +5 -0
  469. package/src/components/select/Select.tsx +5 -0
  470. package/src/components/skeleton/Skeleton.tsx +5 -0
  471. package/src/components/skeleton/SkeletonCard.tsx +5 -0
  472. package/src/components/skeleton/SkeletonList.tsx +5 -0
  473. package/src/components/skeleton/SkeletonText.tsx +5 -0
  474. package/src/components/tabs/Tabs.tsx +5 -0
  475. package/src/components/text/Text.tsx +12 -0
  476. package/src/components/textarea/Textarea.tsx +5 -0
  477. package/src/components/time-picker/TimePicker.tsx +5 -0
  478. package/src/components/toast/Toast.tsx +5 -0
  479. package/src/components/toast/ToastProvider.tsx +5 -0
  480. package/src/components/toolbar/Toolbar.tsx +5 -0
  481. package/src/components/toolbar/ToolbarAction.tsx +5 -0
  482. package/src/foundation/Box.tsx +5 -0
  483. package/src/foundation/Center.tsx +5 -0
  484. package/src/foundation/Container.tsx +5 -0
  485. package/src/foundation/Divider.tsx +5 -0
  486. package/src/foundation/Grid.tsx +5 -0
  487. package/src/foundation/Inline.tsx +5 -0
  488. package/src/foundation/Show.tsx +5 -0
  489. package/src/foundation/Spacer.tsx +5 -0
  490. package/src/foundation/Stack.tsx +5 -0
  491. package/src/foundation/Surface.tsx +5 -0
  492. package/src/index.ts +0 -1
  493. package/src/layout/app-shell/AppShell.tsx +12 -0
  494. package/src/layout/screen/Screen.tsx +5 -0
  495. package/src/layout/screen-section/ScreenSection.tsx +5 -0
  496. package/src/layout/settings-layout/SettingsLayout.tsx +5 -0
  497. package/src/layout/sidebar-layout/SidebarLayout.tsx +5 -0
  498. package/src/layout/topbar-layout/TopbarLayout.tsx +5 -0
  499. package/src/patterns/auth/ForgotPasswordForm.tsx +5 -0
  500. package/src/patterns/auth/OtpForm.tsx +5 -0
  501. package/src/patterns/auth/SignInForm.tsx +5 -0
  502. package/src/patterns/auth/SignUpForm.tsx +5 -0
  503. package/src/patterns/chat-list-item/ChatListItem.tsx +5 -0
  504. package/src/patterns/collection-editor/CollectionEditor.tsx +5 -0
  505. package/src/patterns/confirm-dialog/ConfirmDialog.tsx +5 -0
  506. package/src/patterns/disclosure-section/DisclosureSection.tsx +5 -0
  507. package/src/patterns/empty-state/EmptyState.tsx +12 -0
  508. package/src/patterns/filter-bar/FilterBar.tsx +5 -0
  509. package/src/patterns/hero/Hero.tsx +5 -0
  510. package/src/patterns/image-preview/ImagePreview.tsx +5 -0
  511. package/src/patterns/image-upload-field/ImageUploadField.tsx +5 -0
  512. package/src/patterns/inspector-field/InspectorField.tsx +5 -0
  513. package/src/patterns/list/List.tsx +5 -0
  514. package/src/patterns/list/ListRow.tsx +5 -0
  515. package/src/patterns/list/ListSection.tsx +5 -0
  516. package/src/patterns/message-bubble/MessageBubble.tsx +5 -0
  517. package/src/patterns/notice/Notice.tsx +5 -0
  518. package/src/patterns/panel/Panel.tsx +5 -0
  519. package/src/patterns/post-card/PostCard.tsx +5 -0
  520. package/src/patterns/responsive-panel/ResponsivePanel.tsx +12 -0
  521. package/src/patterns/section-header/SectionHeader.tsx +5 -0
  522. package/src/patterns/selection/SelectableItem.tsx +5 -0
  523. package/src/patterns/selection/SelectionProvider.tsx +10 -0
  524. package/src/patterns/settings-row/SettingsRow.tsx +5 -0
  525. package/src/patterns/switch-field/SwitchField.tsx +5 -0
  526. package/src/patterns/theme-composer/ThemeComposer.tsx +5 -0
  527. package/src/patterns/tile-grid/PaletteItem.tsx +5 -0
  528. package/src/patterns/tile-grid/TileGrid.tsx +5 -0
  529. package/src/patterns/timeline/Timeline.tsx +5 -0
  530. package/src/patterns/tree-view/TreeItem.tsx +5 -0
  531. package/src/patterns/tree-view/TreeView.tsx +5 -0
  532. package/src/patterns/zora-drawer-content/ZoraDrawerContent.tsx +5 -0
  533. package/src/patterns/zora-tab-bar/ZoraTabBar.tsx +5 -0
  534. package/src/theme/ZoraProvider.tsx +12 -0
@@ -5,5 +5,17 @@ export interface ZoraProviderProps {
5
5
  theme?: ZoraTheme;
6
6
  initialMode?: ZoraThemeMode;
7
7
  }
8
+ /***
9
+ * Installs the ZORA theme runtime and underlying Surface theme provider.
10
+ *
11
+ * Wrap an app with `ZoraProvider` once near the root so components, patterns,
12
+ * layouts, and theme hooks resolve the same design tokens and color mode.
13
+ *
14
+ * @readme
15
+ * @example App provider
16
+ * ```tsx
17
+ * <ZoraProvider initialMode="light"><App /></ZoraProvider>
18
+ * ```
19
+ */
8
20
  export declare function ZoraProvider({ children, theme, initialMode, }: ZoraProviderProps): React.JSX.Element;
9
21
  //# sourceMappingURL=ZoraProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZoraProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAIxD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,KAAwB,EACxB,WAAqB,GACtB,EAAE,iBAAiB,qBAUnB"}
1
+ {"version":3,"file":"ZoraProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ZoraProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAIxD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,KAAwB,EACxB,WAAqB,GACtB,EAAE,iBAAiB,qBAUnB"}
@@ -3,6 +3,18 @@ import React from 'react';
3
3
  import { createZoraThemeConfig } from './createZoraThemeConfig';
4
4
  import { zoraDefaultTheme } from './zoraDefaultTheme';
5
5
  import { ZoraThemeRuntimeContext } from './ZoraThemeRuntimeContext';
6
+ /***
7
+ * Installs the ZORA theme runtime and underlying Surface theme provider.
8
+ *
9
+ * Wrap an app with `ZoraProvider` once near the root so components, patterns,
10
+ * layouts, and theme hooks resolve the same design tokens and color mode.
11
+ *
12
+ * @readme
13
+ * @example App provider
14
+ * ```tsx
15
+ * <ZoraProvider initialMode="light"><App /></ZoraProvider>
16
+ * ```
17
+ */
6
18
  export function ZoraProvider({ children, theme = zoraDefaultTheme, initialMode = 'light', }) {
7
19
  const runtimeValue = React.useMemo(() => ({ sourceTheme: theme, themeId: theme.id }), [theme]);
8
20
  return (<ZoraThemeRuntimeContext.Provider value={runtimeValue}>
@@ -1 +1 @@
1
- {"version":3,"file":"ZoraProvider.js","sourceRoot":"","sources":["../../src/theme/ZoraProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQpE,MAAM,UAAU,YAAY,CAAC,EAC3B,QAAQ,EACR,KAAK,GAAG,gBAAgB,EACxB,WAAW,GAAG,OAAO,GACH;IAClB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAE/F,OAAO,CACL,CAAC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CACpD;MAAA,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CACnF;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,aAAa,CACjB;IAAA,EAAE,uBAAuB,CAAC,QAAQ,CAAC,CACpC,CAAC;AACJ,CAAC","sourcesContent":["import { ThemeProvider } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { createZoraThemeConfig } from './createZoraThemeConfig';\nimport type { ZoraTheme, ZoraThemeMode } from './types';\nimport { zoraDefaultTheme } from './zoraDefaultTheme';\nimport { ZoraThemeRuntimeContext } from './ZoraThemeRuntimeContext';\n\nexport interface ZoraProviderProps {\n children: React.ReactNode;\n theme?: ZoraTheme;\n initialMode?: ZoraThemeMode;\n}\n\nexport function ZoraProvider({\n children,\n theme = zoraDefaultTheme,\n initialMode = 'light',\n}: ZoraProviderProps) {\n const runtimeValue = React.useMemo(() => ({ sourceTheme: theme, themeId: theme.id }), [theme]);\n\n return (\n <ZoraThemeRuntimeContext.Provider value={runtimeValue}>\n <ThemeProvider initialConfig={createZoraThemeConfig(theme)} initialMode={initialMode}>\n {children}\n </ThemeProvider>\n </ZoraThemeRuntimeContext.Provider>\n );\n}\n"]}
1
+ {"version":3,"file":"ZoraProvider.js","sourceRoot":"","sources":["../../src/theme/ZoraProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQpE;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,YAAY,CAAC,EAC3B,QAAQ,EACR,KAAK,GAAG,gBAAgB,EACxB,WAAW,GAAG,OAAO,GACH;IAClB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAE/F,OAAO,CACL,CAAC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CACpD;MAAA,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CACnF;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,aAAa,CACjB;IAAA,EAAE,uBAAuB,CAAC,QAAQ,CAAC,CACpC,CAAC;AACJ,CAAC","sourcesContent":["import { ThemeProvider } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { createZoraThemeConfig } from './createZoraThemeConfig';\nimport type { ZoraTheme, ZoraThemeMode } from './types';\nimport { zoraDefaultTheme } from './zoraDefaultTheme';\nimport { ZoraThemeRuntimeContext } from './ZoraThemeRuntimeContext';\n\nexport interface ZoraProviderProps {\n children: React.ReactNode;\n theme?: ZoraTheme;\n initialMode?: ZoraThemeMode;\n}\n\n/***\n * Installs the ZORA theme runtime and underlying Surface theme provider.\n *\n * Wrap an app with `ZoraProvider` once near the root so components, patterns,\n * layouts, and theme hooks resolve the same design tokens and color mode.\n *\n * @readme\n * @example App provider\n * ```tsx\n * <ZoraProvider initialMode=\"light\"><App /></ZoraProvider>\n * ```\n */\nexport function ZoraProvider({\n children,\n theme = zoraDefaultTheme,\n initialMode = 'light',\n}: ZoraProviderProps) {\n const runtimeValue = React.useMemo(() => ({ sourceTheme: theme, themeId: theme.id }), [theme]);\n\n return (\n <ZoraThemeRuntimeContext.Provider value={runtimeValue}>\n <ThemeProvider initialConfig={createZoraThemeConfig(theme)} initialMode={initialMode}>\n {children}\n </ThemeProvider>\n </ZoraThemeRuntimeContext.Provider>\n );\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "2.5.1",
4
+ "version": "2.5.3",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -8,4 +8,9 @@ function ActionSheetInner({ mode: _mode, themeId: _themeId, ...props }: ActionSh
8
8
  return <SurfaceActionSheet {...props} />;
9
9
  }
10
10
 
11
+ /***
12
+ * Presents a modal bottom sheet with a list of actions.
13
+ *
14
+ * @readme
15
+ */
11
16
  export const ActionSheet = withZoraThemeScope(ActionSheetInner);
@@ -29,4 +29,9 @@ function ActionSheetItemInner({
29
29
  return <SurfaceActionSheetItem {...props} leading={resolvedLeading} />;
30
30
  }
31
31
 
32
+ /***
33
+ * Renders a single selectable action row within an `ActionSheet`.
34
+ *
35
+ * @readme
36
+ */
32
37
  export const ActionSheetItem = withZoraThemeScope(ActionSheetItemInner);
@@ -130,4 +130,9 @@ function AppBarInner({
130
130
  );
131
131
  }
132
132
 
133
+ /***
134
+ * Renders a top app bar with title/subtitle and optional leading/trailing actions.
135
+ *
136
+ * @readme
137
+ */
133
138
  export const AppBar = withZoraThemeScope(AppBarInner);
@@ -140,4 +140,9 @@ function AvatarInner({
140
140
  );
141
141
  }
142
142
 
143
+ /***
144
+ * Displays a user or entity avatar with image support and initials fallback.
145
+ *
146
+ * @readme
147
+ */
143
148
  export const Avatar = withZoraThemeScope(AvatarInner);
@@ -71,4 +71,9 @@ function AvatarGroupInner({
71
71
  );
72
72
  }
73
73
 
74
+ /***
75
+ * Renders a compact group of avatars with optional overflow handling.
76
+ *
77
+ * @readme
78
+ */
74
79
  export const AvatarGroup = withZoraThemeScope(AvatarGroupInner);
@@ -27,4 +27,9 @@ function BadgeInner({
27
27
  );
28
28
  }
29
29
 
30
+ /***
31
+ * Shows a small status, label, or count indicator.
32
+ *
33
+ * @readme
34
+ */
30
35
  export const Badge = withZoraThemeScope(BadgeInner);
@@ -140,4 +140,9 @@ function BreadcrumbsInner({
140
140
  );
141
141
  }
142
142
 
143
+ /***
144
+ * Renders a breadcrumb trail for hierarchical navigation.
145
+ *
146
+ * @readme
147
+ */
143
148
  export const Breadcrumbs = withZoraThemeScope(BreadcrumbsInner);
@@ -20,4 +20,16 @@ function ButtonInner({
20
20
  );
21
21
  }
22
22
 
23
+ /***
24
+ * Theme-aware action control for primary, secondary, destructive, and neutral actions.
25
+ *
26
+ * Use `Button` for explicit user actions that should follow ZORA's semantic color,
27
+ * variant, and size recipes across React Native and React Native Web.
28
+ *
29
+ * @readme
30
+ * @example Basic action
31
+ * ```tsx
32
+ * <Button color="primary" variant="solid" onPress={save}>Save</Button>
33
+ * ```
34
+ */
23
35
  export const Button = withZoraThemeScope(ButtonInner);
@@ -102,4 +102,9 @@ function ButtonGroupInner({
102
102
  );
103
103
  }
104
104
 
105
+ /***
106
+ * Groups multiple `Button` elements with consistent spacing and alignment.
107
+ *
108
+ * @readme
109
+ */
105
110
  export const ButtonGroup = withZoraThemeScope(ButtonGroupInner);
@@ -70,4 +70,16 @@ function CardInner({
70
70
  );
71
71
  }
72
72
 
73
+ /***
74
+ * Structured content container with built-in heading, description, actions, and footer slots.
75
+ *
76
+ * Use `Card` for reusable content blocks that should inherit ZORA spacing,
77
+ * radius, tone, and responsive header layout without hand-assembling primitives.
78
+ *
79
+ * @readme
80
+ * @example Content card
81
+ * ```tsx
82
+ * <Card title="Project" description="Latest activity">...</Card>
83
+ * ```
84
+ */
73
85
  export const Card = withZoraThemeScope(CardInner);
@@ -8,4 +8,9 @@ function CheckboxInner({ themeId: _themeId, mode: _mode, ...props }: CheckboxPro
8
8
  return <SurfaceCheckbox {...props} />;
9
9
  }
10
10
 
11
+ /***
12
+ * Binary selection control for toggling a value on or off.
13
+ *
14
+ * @readme
15
+ */
11
16
  export const Checkbox = withZoraThemeScope(CheckboxInner);
@@ -57,6 +57,11 @@ function CheckboxGroupInner<TValue extends string>({
57
57
  );
58
58
  }
59
59
 
60
+ /***
61
+ * Renders a group of checkboxes for multi-select values.
62
+ *
63
+ * @readme
64
+ */
60
65
  export const CheckboxGroup = withZoraThemeScope(CheckboxGroupInner);
61
66
 
62
67
  function CheckboxGroupItem<TValue extends string>({
@@ -91,4 +91,9 @@ function ChipInner({
91
91
  );
92
92
  }
93
93
 
94
+ /***
95
+ * Compact pill-like control for filters, tags, and quick selections.
96
+ *
97
+ * @readme
98
+ */
94
99
  export const Chip = withZoraThemeScope(ChipInner);
@@ -63,4 +63,9 @@ function ChipGroupInner<TValue extends string = string>({
63
63
  );
64
64
  }
65
65
 
66
+ /***
67
+ * Renders a row or wrap layout of `Chip` items.
68
+ *
69
+ * @readme
70
+ */
66
71
  export const ChipGroup = withZoraThemeScope(ChipGroupInner);
@@ -385,4 +385,9 @@ function DataTableInner<TRow extends object>({
385
385
  );
386
386
  }
387
387
 
388
+ /***
389
+ * Displays structured tabular data with responsive desktop/mobile layouts.
390
+ *
391
+ * @readme
392
+ */
388
393
  export const DataTable = withZoraThemeScope(DataTableInner);
@@ -239,4 +239,9 @@ function DatePickerInner({
239
239
  );
240
240
  }
241
241
 
242
+ /***
243
+ * Date input control with calendar selection and formatted display value.
244
+ *
245
+ * @readme
246
+ */
242
247
  export const DatePicker = withZoraThemeScope(DatePickerInner);
@@ -52,4 +52,9 @@ function DrawerInner({
52
52
  );
53
53
  }
54
54
 
55
+ /***
56
+ * Side panel overlay for navigation, settings, and secondary content.
57
+ *
58
+ * @readme
59
+ */
55
60
  export const Drawer = withZoraThemeScope(DrawerInner);
@@ -63,4 +63,9 @@ function FormInner<TName extends string = string>({
63
63
  );
64
64
  }
65
65
 
66
+ /***
67
+ * Composes fields and actions into a validated form layout.
68
+ *
69
+ * @readme
70
+ */
66
71
  export const Form = withZoraThemeScope(FormInner);
@@ -25,4 +25,9 @@ function FormActionsInner({
25
25
  );
26
26
  }
27
27
 
28
+ /***
29
+ * Standard submit/action area for forms.
30
+ *
31
+ * @readme
32
+ */
28
33
  export const FormActions = withZoraThemeScope(FormActionsInner);
@@ -22,4 +22,9 @@ function FormErrorInner({ themeId: _themeId, mode: _mode, error, testID }: FormE
22
22
  );
23
23
  }
24
24
 
25
+ /***
26
+ * Displays a form-level validation or submission error message.
27
+ *
28
+ * @readme
29
+ */
25
30
  export const FormError = withZoraThemeScope(FormErrorInner);
@@ -148,4 +148,9 @@ function FormFieldInner<TName extends string = string>(props: FormFieldProps<TNa
148
148
  );
149
149
  }
150
150
 
151
+ /***
152
+ * Connects a controlled form value to a labeled input field with error handling.
153
+ *
154
+ * @readme
155
+ */
151
156
  export const FormField = withZoraThemeScope(FormFieldInner);
@@ -10,7 +10,6 @@ export type {
10
10
  FormFieldControlProps,
11
11
  FormFieldInputType,
12
12
  FormFieldProps,
13
- FormFieldValue,
14
13
  FormProps,
15
14
  FormValidationErrors,
16
15
  FormValidationResult,
@@ -2,6 +2,7 @@ import React from 'react';
2
2
 
3
3
  import type {
4
4
  FormErrors,
5
+ FormFieldValue,
5
6
  FormValues,
6
7
  UseFormControllerOptions,
7
8
  UseFormControllerResult,
@@ -12,7 +13,7 @@ function createInitialValues<TName extends string>(
12
13
  fields: readonly { name: TName }[],
13
14
  initialValues: Partial<FormValues<TName>> | undefined,
14
15
  ): FormValues<TName> {
15
- const values = fields.reduce<Record<string, string>>((nextValues, field) => {
16
+ const values = fields.reduce<Record<string, FormFieldValue>>((nextValues, field) => {
16
17
  nextValues[field.name] = initialValues?.[field.name] ?? '';
17
18
  return nextValues;
18
19
  }, {});
@@ -62,7 +63,7 @@ export function useFormController<TName extends string = string>({
62
63
  }, [fields, values]);
63
64
 
64
65
  const setFieldValue = React.useCallback(
65
- (name: TName, value: string) => {
66
+ (name: TName, value: FormFieldValue) => {
66
67
  const nextValues = {
67
68
  ...values,
68
69
  [name]: value,
@@ -91,4 +91,16 @@ function HeadingInner({
91
91
  );
92
92
  }
93
93
 
94
+ /***
95
+ * Structured title primitive for accessible page, section, and card headings.
96
+ *
97
+ * `Heading` gives consumers a ZORA-owned title API with semantic levels,
98
+ * responsive sizes, and theme-aware emphasis while preserving header semantics.
99
+ *
100
+ * @readme
101
+ * @example Section title
102
+ * ```tsx
103
+ * <Heading level={2} size="xl">Account settings</Heading>
104
+ * ```
105
+ */
94
106
  export const Heading = withZoraThemeScope(HeadingInner);
@@ -10,4 +10,9 @@ function IconInner({ themeId: _themeId, mode: _mode, ...props }: IconProps) {
10
10
  return <SurfaceIcon {...props} />;
11
11
  }
12
12
 
13
+ /***
14
+ * Renders an icon from a configured icon provider with theme-aware defaults.
15
+ *
16
+ * @readme
17
+ */
13
18
  export const Icon = withZoraThemeScope(IconInner);
@@ -29,4 +29,9 @@ function IconButtonInner({
29
29
  );
30
30
  }
31
31
 
32
+ /***
33
+ * Icon-only button for compact actions; requires an accessible `label`.
34
+ *
35
+ * @readme
36
+ */
32
37
  export const IconButton = withZoraThemeScope(IconButtonInner);
@@ -8,4 +8,9 @@ function ImageInner({ themeId: _themeId, mode: _mode, ...props }: ImageProps) {
8
8
  return <SurfaceImage {...props} />;
9
9
  }
10
10
 
11
+ /***
12
+ * Displays an image with cross-platform source and fit handling.
13
+ *
14
+ * @readme
15
+ */
11
16
  export const Image = withZoraThemeScope(ImageInner);
@@ -62,4 +62,16 @@ function InputInner({
62
62
  );
63
63
  }
64
64
 
65
+ /***
66
+ * Theme-aware text input with semantic sizing and optional leading/trailing icon slots.
67
+ *
68
+ * Use `Input` for single-line form controls that need ZORA styling, disabled/read-only
69
+ * handling, and accessible trailing actions without dropping into Surface directly.
70
+ *
71
+ * @readme
72
+ * @example Search input
73
+ * ```tsx
74
+ * <Input placeholder="Search" leadingIcon={{ name: 'search-outline' }} />
75
+ * ```
76
+ */
65
77
  export const Input = withZoraThemeScope(InputInner);
@@ -117,4 +117,9 @@ function MediaCardInner({
117
117
  );
118
118
  }
119
119
 
120
+ /***
121
+ * Card layout with an optional media/header region and structured content slots.
122
+ *
123
+ * @readme
124
+ */
120
125
  export const MediaCard = withZoraThemeScope(MediaCardInner);
@@ -3,6 +3,11 @@ import React from 'react';
3
3
  import { Menu } from './Menu';
4
4
  import type { DropdownMenuProps } from './types';
5
5
 
6
+ /***
7
+ * Convenience wrapper for rendering a `Menu` as a dropdown.
8
+ *
9
+ * @readme
10
+ */
6
11
  export function DropdownMenu(props: DropdownMenuProps) {
7
12
  return <Menu {...props} />;
8
13
  }
@@ -60,4 +60,9 @@ function MenuInner({ themeId: _themeId, mode: _mode, actions, onDismiss, ...prop
60
60
  return <SurfaceMenu {...props} actions={surfaceActions} dismiss={onDismiss} />;
61
61
  }
62
62
 
63
+ /***
64
+ * Presents a list of actions as a menu with optional icons and intent styling.
65
+ *
66
+ * @readme
67
+ */
63
68
  export const Menu = withZoraThemeScope(MenuInner);
@@ -81,4 +81,9 @@ function MetricCardInner({
81
81
  );
82
82
  }
83
83
 
84
+ /***
85
+ * Highlights a key metric with label, value, and optional trend/actions.
86
+ *
87
+ * @readme
88
+ */
84
89
  export const MetricCard = withZoraThemeScope(MetricCardInner);
@@ -56,4 +56,9 @@ function ModalInner({
56
56
  );
57
57
  }
58
58
 
59
+ /***
60
+ * Modal dialog surface with header/content/footer slots.
61
+ *
62
+ * @readme
63
+ */
59
64
  export const Modal = withZoraThemeScope(ModalInner);
@@ -33,4 +33,9 @@ function NavigationItemInner({
33
33
  );
34
34
  }
35
35
 
36
+ /***
37
+ * Renders a single navigation entry with active/disabled state support.
38
+ *
39
+ * @readme
40
+ */
36
41
  export const NavigationItem = withZoraThemeScope(NavigationItemInner);
@@ -59,4 +59,9 @@ function NavigationListInner({
59
59
  );
60
60
  }
61
61
 
62
+ /***
63
+ * Renders a navigation list from route metadata with active state mapping.
64
+ *
65
+ * @readme
66
+ */
62
67
  export const NavigationList = withZoraThemeScope(NavigationListInner);
@@ -186,4 +186,9 @@ function PaginationInner({
186
186
  );
187
187
  }
188
188
 
189
+ /***
190
+ * Pagination control for navigating between pages of results.
191
+ *
192
+ * @readme
193
+ */
189
194
  export const Pagination = withZoraThemeScope(PaginationInner);
@@ -47,4 +47,9 @@ function ProgressInner({
47
47
  );
48
48
  }
49
49
 
50
+ /***
51
+ * Progress indicator for determinate and indeterminate loading states.
52
+ *
53
+ * @readme
54
+ */
50
55
  export const Progress = withZoraThemeScope(ProgressInner);
@@ -8,4 +8,9 @@ function RadioInner({ themeId: _themeId, mode: _mode, ...props }: RadioProps) {
8
8
  return <SurfaceRadio {...props} />;
9
9
  }
10
10
 
11
+ /***
12
+ * Single-choice selection control used within a radio group.
13
+ *
14
+ * @readme
15
+ */
11
16
  export const Radio = withZoraThemeScope(RadioInner);
@@ -56,6 +56,11 @@ function RadioGroupInner<TValue extends string>({
56
56
  );
57
57
  }
58
58
 
59
+ /***
60
+ * Renders a group of radio options for selecting a single value.
61
+ *
62
+ * @readme
63
+ */
59
64
  export const RadioGroup = withZoraThemeScope(RadioGroupInner);
60
65
 
61
66
  function RadioGroupItem<TValue extends string>({
@@ -35,4 +35,9 @@ function RatingInner({
35
35
  );
36
36
  }
37
37
 
38
+ /***
39
+ * Displays a star-based rating value with optional half steps.
40
+ *
41
+ * @readme
42
+ */
38
43
  export const Rating = withZoraThemeScope(RatingInner);
@@ -47,4 +47,9 @@ function SearchBarInner({
47
47
  );
48
48
  }
49
49
 
50
+ /***
51
+ * Search input with leading icon and optional trailing action.
52
+ *
53
+ * @readme
54
+ */
50
55
  export const SearchBar = withZoraThemeScope(SearchBarInner);
@@ -52,4 +52,9 @@ function SelectInner<TValue extends string = string>({
52
52
  );
53
53
  }
54
54
 
55
+ /***
56
+ * Select control for choosing a value from a list of options.
57
+ *
58
+ * @readme
59
+ */
55
60
  export const Select = withZoraThemeScope(SelectInner);
@@ -29,4 +29,9 @@ function SkeletonInner({
29
29
  );
30
30
  }
31
31
 
32
+ /***
33
+ * Generic skeleton placeholder for loading states.
34
+ *
35
+ * @readme
36
+ */
32
37
  export const Skeleton = withZoraThemeScope(SkeletonInner);
@@ -36,4 +36,9 @@ function SkeletonCardInner({
36
36
  );
37
37
  }
38
38
 
39
+ /***
40
+ * Skeleton placeholder that matches the structure of a `Card`.
41
+ *
42
+ * @readme
43
+ */
39
44
  export const SkeletonCard = withZoraThemeScope(SkeletonCardInner);
@@ -49,4 +49,9 @@ function SkeletonListInner({
49
49
  return <List compact={compact} items={items} rowVariant={variant} testID={testID} />;
50
50
  }
51
51
 
52
+ /***
53
+ * Skeleton placeholder list for loading states in list views.
54
+ *
55
+ * @readme
56
+ */
52
57
  export const SkeletonList = withZoraThemeScope(SkeletonListInner);
@@ -42,4 +42,9 @@ function SkeletonTextInner({
42
42
  );
43
43
  }
44
44
 
45
+ /***
46
+ * Multi-line skeleton placeholder for text content.
47
+ *
48
+ * @readme
49
+ */
45
50
  export const SkeletonText = withZoraThemeScope(SkeletonTextInner);
@@ -107,4 +107,9 @@ function TabsInner<TValue extends string = string>({
107
107
  );
108
108
  }
109
109
 
110
+ /***
111
+ * Tab navigation for switching between views or content sections.
112
+ *
113
+ * @readme
114
+ */
110
115
  export const Tabs = withZoraThemeScope(TabsInner);
@@ -88,4 +88,16 @@ function TextInner({
88
88
  );
89
89
  }
90
90
 
91
+ /***
92
+ * Structured copy primitive for theme-aware app text.
93
+ *
94
+ * `Text` owns normal body, caption, label, code, and supporting-copy variants so
95
+ * consumers do not need to import lower-level Surface typography directly.
96
+ *
97
+ * @readme
98
+ * @example Muted supporting copy
99
+ * ```tsx
100
+ * <Text variant="bodySmall" emphasis="muted">Updated just now</Text>
101
+ * ```
102
+ */
91
103
  export const Text = withZoraThemeScope(TextInner);