@ankhorage/zora 2.5.2 → 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 (489) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +3089 -137
  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-group/ButtonGroup.d.ts +5 -0
  32. package/dist/components/button-group/ButtonGroup.d.ts.map +1 -1
  33. package/dist/components/button-group/ButtonGroup.js +5 -0
  34. package/dist/components/button-group/ButtonGroup.js.map +1 -1
  35. package/dist/components/checkbox/Checkbox.d.ts +5 -0
  36. package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
  37. package/dist/components/checkbox/Checkbox.js +5 -0
  38. package/dist/components/checkbox/Checkbox.js.map +1 -1
  39. package/dist/components/checkbox/CheckboxGroup.d.ts +5 -0
  40. package/dist/components/checkbox/CheckboxGroup.d.ts.map +1 -1
  41. package/dist/components/checkbox/CheckboxGroup.js +5 -0
  42. package/dist/components/checkbox/CheckboxGroup.js.map +1 -1
  43. package/dist/components/chip/Chip.d.ts +5 -0
  44. package/dist/components/chip/Chip.d.ts.map +1 -1
  45. package/dist/components/chip/Chip.js +5 -0
  46. package/dist/components/chip/Chip.js.map +1 -1
  47. package/dist/components/chip-group/ChipGroup.d.ts +5 -0
  48. package/dist/components/chip-group/ChipGroup.d.ts.map +1 -1
  49. package/dist/components/chip-group/ChipGroup.js +5 -0
  50. package/dist/components/chip-group/ChipGroup.js.map +1 -1
  51. package/dist/components/data-table/DataTable.d.ts +5 -0
  52. package/dist/components/data-table/DataTable.d.ts.map +1 -1
  53. package/dist/components/data-table/DataTable.js +5 -0
  54. package/dist/components/data-table/DataTable.js.map +1 -1
  55. package/dist/components/date-picker/DatePicker.d.ts +5 -0
  56. package/dist/components/date-picker/DatePicker.d.ts.map +1 -1
  57. package/dist/components/date-picker/DatePicker.js +5 -0
  58. package/dist/components/date-picker/DatePicker.js.map +1 -1
  59. package/dist/components/drawer/Drawer.d.ts +5 -0
  60. package/dist/components/drawer/Drawer.d.ts.map +1 -1
  61. package/dist/components/drawer/Drawer.js +5 -0
  62. package/dist/components/drawer/Drawer.js.map +1 -1
  63. package/dist/components/form/Form.d.ts +5 -0
  64. package/dist/components/form/Form.d.ts.map +1 -1
  65. package/dist/components/form/Form.js +5 -0
  66. package/dist/components/form/Form.js.map +1 -1
  67. package/dist/components/form/FormActions.d.ts +5 -0
  68. package/dist/components/form/FormActions.d.ts.map +1 -1
  69. package/dist/components/form/FormActions.js +5 -0
  70. package/dist/components/form/FormActions.js.map +1 -1
  71. package/dist/components/form/FormError.d.ts +5 -0
  72. package/dist/components/form/FormError.d.ts.map +1 -1
  73. package/dist/components/form/FormError.js +5 -0
  74. package/dist/components/form/FormError.js.map +1 -1
  75. package/dist/components/form/FormField.d.ts +5 -0
  76. package/dist/components/form/FormField.d.ts.map +1 -1
  77. package/dist/components/form/FormField.js +5 -0
  78. package/dist/components/form/FormField.js.map +1 -1
  79. package/dist/components/form/index.d.ts +1 -1
  80. package/dist/components/form/index.d.ts.map +1 -1
  81. package/dist/components/form/index.js.map +1 -1
  82. package/dist/components/form/useFormController.d.ts.map +1 -1
  83. package/dist/components/form/useFormController.js.map +1 -1
  84. package/dist/components/icon/Icon.d.ts +5 -0
  85. package/dist/components/icon/Icon.d.ts.map +1 -1
  86. package/dist/components/icon/Icon.js +5 -0
  87. package/dist/components/icon/Icon.js.map +1 -1
  88. package/dist/components/icon-button/IconButton.d.ts +5 -0
  89. package/dist/components/icon-button/IconButton.d.ts.map +1 -1
  90. package/dist/components/icon-button/IconButton.js +5 -0
  91. package/dist/components/icon-button/IconButton.js.map +1 -1
  92. package/dist/components/image/Image.d.ts +5 -0
  93. package/dist/components/image/Image.d.ts.map +1 -1
  94. package/dist/components/image/Image.js +5 -0
  95. package/dist/components/image/Image.js.map +1 -1
  96. package/dist/components/media-card/MediaCard.d.ts +5 -0
  97. package/dist/components/media-card/MediaCard.d.ts.map +1 -1
  98. package/dist/components/media-card/MediaCard.js +5 -0
  99. package/dist/components/media-card/MediaCard.js.map +1 -1
  100. package/dist/components/menu/DropdownMenu.d.ts +5 -0
  101. package/dist/components/menu/DropdownMenu.d.ts.map +1 -1
  102. package/dist/components/menu/DropdownMenu.js +5 -0
  103. package/dist/components/menu/DropdownMenu.js.map +1 -1
  104. package/dist/components/menu/Menu.d.ts +5 -0
  105. package/dist/components/menu/Menu.d.ts.map +1 -1
  106. package/dist/components/menu/Menu.js +5 -0
  107. package/dist/components/menu/Menu.js.map +1 -1
  108. package/dist/components/metric-card/MetricCard.d.ts +5 -0
  109. package/dist/components/metric-card/MetricCard.d.ts.map +1 -1
  110. package/dist/components/metric-card/MetricCard.js +5 -0
  111. package/dist/components/metric-card/MetricCard.js.map +1 -1
  112. package/dist/components/modal/Modal.d.ts +5 -0
  113. package/dist/components/modal/Modal.d.ts.map +1 -1
  114. package/dist/components/modal/Modal.js +5 -0
  115. package/dist/components/modal/Modal.js.map +1 -1
  116. package/dist/components/navigation-item/NavigationItem.d.ts +5 -0
  117. package/dist/components/navigation-item/NavigationItem.d.ts.map +1 -1
  118. package/dist/components/navigation-item/NavigationItem.js +5 -0
  119. package/dist/components/navigation-item/NavigationItem.js.map +1 -1
  120. package/dist/components/navigation-list/NavigationList.d.ts +5 -0
  121. package/dist/components/navigation-list/NavigationList.d.ts.map +1 -1
  122. package/dist/components/navigation-list/NavigationList.js +5 -0
  123. package/dist/components/navigation-list/NavigationList.js.map +1 -1
  124. package/dist/components/pagination/Pagination.d.ts +5 -0
  125. package/dist/components/pagination/Pagination.d.ts.map +1 -1
  126. package/dist/components/pagination/Pagination.js +5 -0
  127. package/dist/components/pagination/Pagination.js.map +1 -1
  128. package/dist/components/progress/Progress.d.ts +5 -0
  129. package/dist/components/progress/Progress.d.ts.map +1 -1
  130. package/dist/components/progress/Progress.js +5 -0
  131. package/dist/components/progress/Progress.js.map +1 -1
  132. package/dist/components/radio/Radio.d.ts +5 -0
  133. package/dist/components/radio/Radio.d.ts.map +1 -1
  134. package/dist/components/radio/Radio.js +5 -0
  135. package/dist/components/radio/Radio.js.map +1 -1
  136. package/dist/components/radio/RadioGroup.d.ts +5 -0
  137. package/dist/components/radio/RadioGroup.d.ts.map +1 -1
  138. package/dist/components/radio/RadioGroup.js +5 -0
  139. package/dist/components/radio/RadioGroup.js.map +1 -1
  140. package/dist/components/rating/Rating.d.ts +5 -0
  141. package/dist/components/rating/Rating.d.ts.map +1 -1
  142. package/dist/components/rating/Rating.js +5 -0
  143. package/dist/components/rating/Rating.js.map +1 -1
  144. package/dist/components/search-bar/SearchBar.d.ts +5 -0
  145. package/dist/components/search-bar/SearchBar.d.ts.map +1 -1
  146. package/dist/components/search-bar/SearchBar.js +5 -0
  147. package/dist/components/search-bar/SearchBar.js.map +1 -1
  148. package/dist/components/select/Select.d.ts +5 -0
  149. package/dist/components/select/Select.d.ts.map +1 -1
  150. package/dist/components/select/Select.js +5 -0
  151. package/dist/components/select/Select.js.map +1 -1
  152. package/dist/components/skeleton/Skeleton.d.ts +5 -0
  153. package/dist/components/skeleton/Skeleton.d.ts.map +1 -1
  154. package/dist/components/skeleton/Skeleton.js +5 -0
  155. package/dist/components/skeleton/Skeleton.js.map +1 -1
  156. package/dist/components/skeleton/SkeletonCard.d.ts +5 -0
  157. package/dist/components/skeleton/SkeletonCard.d.ts.map +1 -1
  158. package/dist/components/skeleton/SkeletonCard.js +5 -0
  159. package/dist/components/skeleton/SkeletonCard.js.map +1 -1
  160. package/dist/components/skeleton/SkeletonList.d.ts +5 -0
  161. package/dist/components/skeleton/SkeletonList.d.ts.map +1 -1
  162. package/dist/components/skeleton/SkeletonList.js +5 -0
  163. package/dist/components/skeleton/SkeletonList.js.map +1 -1
  164. package/dist/components/skeleton/SkeletonText.d.ts +5 -0
  165. package/dist/components/skeleton/SkeletonText.d.ts.map +1 -1
  166. package/dist/components/skeleton/SkeletonText.js +5 -0
  167. package/dist/components/skeleton/SkeletonText.js.map +1 -1
  168. package/dist/components/tabs/Tabs.d.ts +5 -0
  169. package/dist/components/tabs/Tabs.d.ts.map +1 -1
  170. package/dist/components/tabs/Tabs.js +5 -0
  171. package/dist/components/tabs/Tabs.js.map +1 -1
  172. package/dist/components/textarea/Textarea.d.ts +5 -0
  173. package/dist/components/textarea/Textarea.d.ts.map +1 -1
  174. package/dist/components/textarea/Textarea.js +5 -0
  175. package/dist/components/textarea/Textarea.js.map +1 -1
  176. package/dist/components/time-picker/TimePicker.d.ts +5 -0
  177. package/dist/components/time-picker/TimePicker.d.ts.map +1 -1
  178. package/dist/components/time-picker/TimePicker.js +5 -0
  179. package/dist/components/time-picker/TimePicker.js.map +1 -1
  180. package/dist/components/toast/Toast.d.ts +5 -0
  181. package/dist/components/toast/Toast.d.ts.map +1 -1
  182. package/dist/components/toast/Toast.js +5 -0
  183. package/dist/components/toast/Toast.js.map +1 -1
  184. package/dist/components/toast/ToastProvider.d.ts +5 -0
  185. package/dist/components/toast/ToastProvider.d.ts.map +1 -1
  186. package/dist/components/toast/ToastProvider.js +5 -0
  187. package/dist/components/toast/ToastProvider.js.map +1 -1
  188. package/dist/components/toolbar/Toolbar.d.ts +5 -0
  189. package/dist/components/toolbar/Toolbar.d.ts.map +1 -1
  190. package/dist/components/toolbar/Toolbar.js +5 -0
  191. package/dist/components/toolbar/Toolbar.js.map +1 -1
  192. package/dist/components/toolbar/ToolbarAction.d.ts +5 -0
  193. package/dist/components/toolbar/ToolbarAction.d.ts.map +1 -1
  194. package/dist/components/toolbar/ToolbarAction.js +5 -0
  195. package/dist/components/toolbar/ToolbarAction.js.map +1 -1
  196. package/dist/foundation/Box.d.ts +5 -0
  197. package/dist/foundation/Box.d.ts.map +1 -1
  198. package/dist/foundation/Box.js +5 -0
  199. package/dist/foundation/Box.js.map +1 -1
  200. package/dist/foundation/Center.d.ts +5 -0
  201. package/dist/foundation/Center.d.ts.map +1 -1
  202. package/dist/foundation/Center.js +5 -0
  203. package/dist/foundation/Center.js.map +1 -1
  204. package/dist/foundation/Container.d.ts +5 -0
  205. package/dist/foundation/Container.d.ts.map +1 -1
  206. package/dist/foundation/Container.js +5 -0
  207. package/dist/foundation/Container.js.map +1 -1
  208. package/dist/foundation/Divider.d.ts +5 -0
  209. package/dist/foundation/Divider.d.ts.map +1 -1
  210. package/dist/foundation/Divider.js +5 -0
  211. package/dist/foundation/Divider.js.map +1 -1
  212. package/dist/foundation/Grid.d.ts +5 -0
  213. package/dist/foundation/Grid.d.ts.map +1 -1
  214. package/dist/foundation/Grid.js +5 -0
  215. package/dist/foundation/Grid.js.map +1 -1
  216. package/dist/foundation/Inline.d.ts +5 -0
  217. package/dist/foundation/Inline.d.ts.map +1 -1
  218. package/dist/foundation/Inline.js +5 -0
  219. package/dist/foundation/Inline.js.map +1 -1
  220. package/dist/foundation/Show.d.ts +5 -0
  221. package/dist/foundation/Show.d.ts.map +1 -1
  222. package/dist/foundation/Show.js +5 -0
  223. package/dist/foundation/Show.js.map +1 -1
  224. package/dist/foundation/Spacer.d.ts +5 -0
  225. package/dist/foundation/Spacer.d.ts.map +1 -1
  226. package/dist/foundation/Spacer.js +5 -0
  227. package/dist/foundation/Spacer.js.map +1 -1
  228. package/dist/foundation/Stack.d.ts +5 -0
  229. package/dist/foundation/Stack.d.ts.map +1 -1
  230. package/dist/foundation/Stack.js +5 -0
  231. package/dist/foundation/Stack.js.map +1 -1
  232. package/dist/foundation/Surface.d.ts +5 -0
  233. package/dist/foundation/Surface.d.ts.map +1 -1
  234. package/dist/foundation/Surface.js +5 -0
  235. package/dist/foundation/Surface.js.map +1 -1
  236. package/dist/index.d.ts +1 -1
  237. package/dist/index.d.ts.map +1 -1
  238. package/dist/index.js.map +1 -1
  239. package/dist/layout/screen/Screen.d.ts +5 -0
  240. package/dist/layout/screen/Screen.d.ts.map +1 -1
  241. package/dist/layout/screen/Screen.js +5 -0
  242. package/dist/layout/screen/Screen.js.map +1 -1
  243. package/dist/layout/screen-section/ScreenSection.d.ts +5 -0
  244. package/dist/layout/screen-section/ScreenSection.d.ts.map +1 -1
  245. package/dist/layout/screen-section/ScreenSection.js +5 -0
  246. package/dist/layout/screen-section/ScreenSection.js.map +1 -1
  247. package/dist/layout/settings-layout/SettingsLayout.d.ts +5 -0
  248. package/dist/layout/settings-layout/SettingsLayout.d.ts.map +1 -1
  249. package/dist/layout/settings-layout/SettingsLayout.js +5 -0
  250. package/dist/layout/settings-layout/SettingsLayout.js.map +1 -1
  251. package/dist/layout/sidebar-layout/SidebarLayout.d.ts +5 -0
  252. package/dist/layout/sidebar-layout/SidebarLayout.d.ts.map +1 -1
  253. package/dist/layout/sidebar-layout/SidebarLayout.js +5 -0
  254. package/dist/layout/sidebar-layout/SidebarLayout.js.map +1 -1
  255. package/dist/layout/topbar-layout/TopbarLayout.d.ts +5 -0
  256. package/dist/layout/topbar-layout/TopbarLayout.d.ts.map +1 -1
  257. package/dist/layout/topbar-layout/TopbarLayout.js +5 -0
  258. package/dist/layout/topbar-layout/TopbarLayout.js.map +1 -1
  259. package/dist/patterns/auth/ForgotPasswordForm.d.ts +5 -0
  260. package/dist/patterns/auth/ForgotPasswordForm.d.ts.map +1 -1
  261. package/dist/patterns/auth/ForgotPasswordForm.js +5 -0
  262. package/dist/patterns/auth/ForgotPasswordForm.js.map +1 -1
  263. package/dist/patterns/auth/OtpForm.d.ts +5 -0
  264. package/dist/patterns/auth/OtpForm.d.ts.map +1 -1
  265. package/dist/patterns/auth/OtpForm.js +5 -0
  266. package/dist/patterns/auth/OtpForm.js.map +1 -1
  267. package/dist/patterns/auth/SignInForm.d.ts +5 -0
  268. package/dist/patterns/auth/SignInForm.d.ts.map +1 -1
  269. package/dist/patterns/auth/SignInForm.js +5 -0
  270. package/dist/patterns/auth/SignInForm.js.map +1 -1
  271. package/dist/patterns/auth/SignUpForm.d.ts +5 -0
  272. package/dist/patterns/auth/SignUpForm.d.ts.map +1 -1
  273. package/dist/patterns/auth/SignUpForm.js +5 -0
  274. package/dist/patterns/auth/SignUpForm.js.map +1 -1
  275. package/dist/patterns/chat-list-item/ChatListItem.d.ts +5 -0
  276. package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +1 -1
  277. package/dist/patterns/chat-list-item/ChatListItem.js +5 -0
  278. package/dist/patterns/chat-list-item/ChatListItem.js.map +1 -1
  279. package/dist/patterns/collection-editor/CollectionEditor.d.ts +5 -0
  280. package/dist/patterns/collection-editor/CollectionEditor.d.ts.map +1 -1
  281. package/dist/patterns/collection-editor/CollectionEditor.js +5 -0
  282. package/dist/patterns/collection-editor/CollectionEditor.js.map +1 -1
  283. package/dist/patterns/confirm-dialog/ConfirmDialog.d.ts +5 -0
  284. package/dist/patterns/confirm-dialog/ConfirmDialog.d.ts.map +1 -1
  285. package/dist/patterns/confirm-dialog/ConfirmDialog.js +5 -0
  286. package/dist/patterns/confirm-dialog/ConfirmDialog.js.map +1 -1
  287. package/dist/patterns/disclosure-section/DisclosureSection.d.ts +5 -0
  288. package/dist/patterns/disclosure-section/DisclosureSection.d.ts.map +1 -1
  289. package/dist/patterns/disclosure-section/DisclosureSection.js +5 -0
  290. package/dist/patterns/disclosure-section/DisclosureSection.js.map +1 -1
  291. package/dist/patterns/filter-bar/FilterBar.d.ts +5 -0
  292. package/dist/patterns/filter-bar/FilterBar.d.ts.map +1 -1
  293. package/dist/patterns/filter-bar/FilterBar.js +5 -0
  294. package/dist/patterns/filter-bar/FilterBar.js.map +1 -1
  295. package/dist/patterns/hero/Hero.d.ts +5 -0
  296. package/dist/patterns/hero/Hero.d.ts.map +1 -1
  297. package/dist/patterns/hero/Hero.js +5 -0
  298. package/dist/patterns/hero/Hero.js.map +1 -1
  299. package/dist/patterns/image-preview/ImagePreview.d.ts +5 -0
  300. package/dist/patterns/image-preview/ImagePreview.d.ts.map +1 -1
  301. package/dist/patterns/image-preview/ImagePreview.js +5 -0
  302. package/dist/patterns/image-preview/ImagePreview.js.map +1 -1
  303. package/dist/patterns/image-upload-field/ImageUploadField.d.ts +5 -0
  304. package/dist/patterns/image-upload-field/ImageUploadField.d.ts.map +1 -1
  305. package/dist/patterns/image-upload-field/ImageUploadField.js +5 -0
  306. package/dist/patterns/image-upload-field/ImageUploadField.js.map +1 -1
  307. package/dist/patterns/inspector-field/InspectorField.d.ts +5 -0
  308. package/dist/patterns/inspector-field/InspectorField.d.ts.map +1 -1
  309. package/dist/patterns/inspector-field/InspectorField.js +5 -0
  310. package/dist/patterns/inspector-field/InspectorField.js.map +1 -1
  311. package/dist/patterns/list/List.d.ts +5 -0
  312. package/dist/patterns/list/List.d.ts.map +1 -1
  313. package/dist/patterns/list/List.js +5 -0
  314. package/dist/patterns/list/List.js.map +1 -1
  315. package/dist/patterns/list/ListRow.d.ts +5 -0
  316. package/dist/patterns/list/ListRow.d.ts.map +1 -1
  317. package/dist/patterns/list/ListRow.js +5 -0
  318. package/dist/patterns/list/ListRow.js.map +1 -1
  319. package/dist/patterns/list/ListSection.d.ts +5 -0
  320. package/dist/patterns/list/ListSection.d.ts.map +1 -1
  321. package/dist/patterns/list/ListSection.js +5 -0
  322. package/dist/patterns/list/ListSection.js.map +1 -1
  323. package/dist/patterns/message-bubble/MessageBubble.d.ts +5 -0
  324. package/dist/patterns/message-bubble/MessageBubble.d.ts.map +1 -1
  325. package/dist/patterns/message-bubble/MessageBubble.js +5 -0
  326. package/dist/patterns/message-bubble/MessageBubble.js.map +1 -1
  327. package/dist/patterns/notice/Notice.d.ts +5 -0
  328. package/dist/patterns/notice/Notice.d.ts.map +1 -1
  329. package/dist/patterns/notice/Notice.js +5 -0
  330. package/dist/patterns/notice/Notice.js.map +1 -1
  331. package/dist/patterns/panel/Panel.d.ts +5 -0
  332. package/dist/patterns/panel/Panel.d.ts.map +1 -1
  333. package/dist/patterns/panel/Panel.js +5 -0
  334. package/dist/patterns/panel/Panel.js.map +1 -1
  335. package/dist/patterns/post-card/PostCard.d.ts +5 -0
  336. package/dist/patterns/post-card/PostCard.d.ts.map +1 -1
  337. package/dist/patterns/post-card/PostCard.js +5 -0
  338. package/dist/patterns/post-card/PostCard.js.map +1 -1
  339. package/dist/patterns/section-header/SectionHeader.d.ts +5 -0
  340. package/dist/patterns/section-header/SectionHeader.d.ts.map +1 -1
  341. package/dist/patterns/section-header/SectionHeader.js +5 -0
  342. package/dist/patterns/section-header/SectionHeader.js.map +1 -1
  343. package/dist/patterns/selection/SelectableItem.d.ts +5 -0
  344. package/dist/patterns/selection/SelectableItem.d.ts.map +1 -1
  345. package/dist/patterns/selection/SelectableItem.js +5 -0
  346. package/dist/patterns/selection/SelectableItem.js.map +1 -1
  347. package/dist/patterns/selection/SelectionProvider.d.ts +10 -0
  348. package/dist/patterns/selection/SelectionProvider.d.ts.map +1 -1
  349. package/dist/patterns/selection/SelectionProvider.js +10 -0
  350. package/dist/patterns/selection/SelectionProvider.js.map +1 -1
  351. package/dist/patterns/settings-row/SettingsRow.d.ts +5 -0
  352. package/dist/patterns/settings-row/SettingsRow.d.ts.map +1 -1
  353. package/dist/patterns/settings-row/SettingsRow.js +5 -0
  354. package/dist/patterns/settings-row/SettingsRow.js.map +1 -1
  355. package/dist/patterns/switch-field/SwitchField.d.ts +5 -0
  356. package/dist/patterns/switch-field/SwitchField.d.ts.map +1 -1
  357. package/dist/patterns/switch-field/SwitchField.js +5 -0
  358. package/dist/patterns/switch-field/SwitchField.js.map +1 -1
  359. package/dist/patterns/theme-composer/ThemeComposer.d.ts +5 -0
  360. package/dist/patterns/theme-composer/ThemeComposer.d.ts.map +1 -1
  361. package/dist/patterns/theme-composer/ThemeComposer.js +5 -0
  362. package/dist/patterns/theme-composer/ThemeComposer.js.map +1 -1
  363. package/dist/patterns/tile-grid/PaletteItem.d.ts +5 -0
  364. package/dist/patterns/tile-grid/PaletteItem.d.ts.map +1 -1
  365. package/dist/patterns/tile-grid/PaletteItem.js +5 -0
  366. package/dist/patterns/tile-grid/PaletteItem.js.map +1 -1
  367. package/dist/patterns/tile-grid/TileGrid.d.ts +5 -0
  368. package/dist/patterns/tile-grid/TileGrid.d.ts.map +1 -1
  369. package/dist/patterns/tile-grid/TileGrid.js +5 -0
  370. package/dist/patterns/tile-grid/TileGrid.js.map +1 -1
  371. package/dist/patterns/timeline/Timeline.d.ts +5 -0
  372. package/dist/patterns/timeline/Timeline.d.ts.map +1 -1
  373. package/dist/patterns/timeline/Timeline.js +5 -0
  374. package/dist/patterns/timeline/Timeline.js.map +1 -1
  375. package/dist/patterns/tree-view/TreeItem.d.ts +5 -0
  376. package/dist/patterns/tree-view/TreeItem.d.ts.map +1 -1
  377. package/dist/patterns/tree-view/TreeItem.js +5 -0
  378. package/dist/patterns/tree-view/TreeItem.js.map +1 -1
  379. package/dist/patterns/tree-view/TreeView.d.ts +5 -0
  380. package/dist/patterns/tree-view/TreeView.d.ts.map +1 -1
  381. package/dist/patterns/tree-view/TreeView.js +5 -0
  382. package/dist/patterns/tree-view/TreeView.js.map +1 -1
  383. package/dist/patterns/zora-drawer-content/ZoraDrawerContent.d.ts +5 -0
  384. package/dist/patterns/zora-drawer-content/ZoraDrawerContent.d.ts.map +1 -1
  385. package/dist/patterns/zora-drawer-content/ZoraDrawerContent.js +5 -0
  386. package/dist/patterns/zora-drawer-content/ZoraDrawerContent.js.map +1 -1
  387. package/dist/patterns/zora-tab-bar/ZoraTabBar.d.ts +5 -0
  388. package/dist/patterns/zora-tab-bar/ZoraTabBar.d.ts.map +1 -1
  389. package/dist/patterns/zora-tab-bar/ZoraTabBar.js +5 -0
  390. package/dist/patterns/zora-tab-bar/ZoraTabBar.js.map +1 -1
  391. package/package.json +1 -1
  392. package/src/components/action-sheet/ActionSheet.tsx +5 -0
  393. package/src/components/action-sheet/ActionSheetItem.tsx +5 -0
  394. package/src/components/app-bar/AppBar.tsx +5 -0
  395. package/src/components/avatar/Avatar.tsx +5 -0
  396. package/src/components/avatar-group/AvatarGroup.tsx +5 -0
  397. package/src/components/badge/Badge.tsx +5 -0
  398. package/src/components/breadcrumbs/Breadcrumbs.tsx +5 -0
  399. package/src/components/button-group/ButtonGroup.tsx +5 -0
  400. package/src/components/checkbox/Checkbox.tsx +5 -0
  401. package/src/components/checkbox/CheckboxGroup.tsx +5 -0
  402. package/src/components/chip/Chip.tsx +5 -0
  403. package/src/components/chip-group/ChipGroup.tsx +5 -0
  404. package/src/components/data-table/DataTable.tsx +5 -0
  405. package/src/components/date-picker/DatePicker.tsx +5 -0
  406. package/src/components/drawer/Drawer.tsx +5 -0
  407. package/src/components/form/Form.tsx +5 -0
  408. package/src/components/form/FormActions.tsx +5 -0
  409. package/src/components/form/FormError.tsx +5 -0
  410. package/src/components/form/FormField.tsx +5 -0
  411. package/src/components/form/index.ts +0 -1
  412. package/src/components/form/useFormController.ts +3 -2
  413. package/src/components/icon/Icon.tsx +5 -0
  414. package/src/components/icon-button/IconButton.tsx +5 -0
  415. package/src/components/image/Image.tsx +5 -0
  416. package/src/components/media-card/MediaCard.tsx +5 -0
  417. package/src/components/menu/DropdownMenu.tsx +5 -0
  418. package/src/components/menu/Menu.tsx +5 -0
  419. package/src/components/metric-card/MetricCard.tsx +5 -0
  420. package/src/components/modal/Modal.tsx +5 -0
  421. package/src/components/navigation-item/NavigationItem.tsx +5 -0
  422. package/src/components/navigation-list/NavigationList.tsx +5 -0
  423. package/src/components/pagination/Pagination.tsx +5 -0
  424. package/src/components/progress/Progress.tsx +5 -0
  425. package/src/components/radio/Radio.tsx +5 -0
  426. package/src/components/radio/RadioGroup.tsx +5 -0
  427. package/src/components/rating/Rating.tsx +5 -0
  428. package/src/components/search-bar/SearchBar.tsx +5 -0
  429. package/src/components/select/Select.tsx +5 -0
  430. package/src/components/skeleton/Skeleton.tsx +5 -0
  431. package/src/components/skeleton/SkeletonCard.tsx +5 -0
  432. package/src/components/skeleton/SkeletonList.tsx +5 -0
  433. package/src/components/skeleton/SkeletonText.tsx +5 -0
  434. package/src/components/tabs/Tabs.tsx +5 -0
  435. package/src/components/textarea/Textarea.tsx +5 -0
  436. package/src/components/time-picker/TimePicker.tsx +5 -0
  437. package/src/components/toast/Toast.tsx +5 -0
  438. package/src/components/toast/ToastProvider.tsx +5 -0
  439. package/src/components/toolbar/Toolbar.tsx +5 -0
  440. package/src/components/toolbar/ToolbarAction.tsx +5 -0
  441. package/src/foundation/Box.tsx +5 -0
  442. package/src/foundation/Center.tsx +5 -0
  443. package/src/foundation/Container.tsx +5 -0
  444. package/src/foundation/Divider.tsx +5 -0
  445. package/src/foundation/Grid.tsx +5 -0
  446. package/src/foundation/Inline.tsx +5 -0
  447. package/src/foundation/Show.tsx +5 -0
  448. package/src/foundation/Spacer.tsx +5 -0
  449. package/src/foundation/Stack.tsx +5 -0
  450. package/src/foundation/Surface.tsx +5 -0
  451. package/src/index.ts +0 -1
  452. package/src/layout/screen/Screen.tsx +5 -0
  453. package/src/layout/screen-section/ScreenSection.tsx +5 -0
  454. package/src/layout/settings-layout/SettingsLayout.tsx +5 -0
  455. package/src/layout/sidebar-layout/SidebarLayout.tsx +5 -0
  456. package/src/layout/topbar-layout/TopbarLayout.tsx +5 -0
  457. package/src/patterns/auth/ForgotPasswordForm.tsx +5 -0
  458. package/src/patterns/auth/OtpForm.tsx +5 -0
  459. package/src/patterns/auth/SignInForm.tsx +5 -0
  460. package/src/patterns/auth/SignUpForm.tsx +5 -0
  461. package/src/patterns/chat-list-item/ChatListItem.tsx +5 -0
  462. package/src/patterns/collection-editor/CollectionEditor.tsx +5 -0
  463. package/src/patterns/confirm-dialog/ConfirmDialog.tsx +5 -0
  464. package/src/patterns/disclosure-section/DisclosureSection.tsx +5 -0
  465. package/src/patterns/filter-bar/FilterBar.tsx +5 -0
  466. package/src/patterns/hero/Hero.tsx +5 -0
  467. package/src/patterns/image-preview/ImagePreview.tsx +5 -0
  468. package/src/patterns/image-upload-field/ImageUploadField.tsx +5 -0
  469. package/src/patterns/inspector-field/InspectorField.tsx +5 -0
  470. package/src/patterns/list/List.tsx +5 -0
  471. package/src/patterns/list/ListRow.tsx +5 -0
  472. package/src/patterns/list/ListSection.tsx +5 -0
  473. package/src/patterns/message-bubble/MessageBubble.tsx +5 -0
  474. package/src/patterns/notice/Notice.tsx +5 -0
  475. package/src/patterns/panel/Panel.tsx +5 -0
  476. package/src/patterns/post-card/PostCard.tsx +5 -0
  477. package/src/patterns/section-header/SectionHeader.tsx +5 -0
  478. package/src/patterns/selection/SelectableItem.tsx +5 -0
  479. package/src/patterns/selection/SelectionProvider.tsx +10 -0
  480. package/src/patterns/settings-row/SettingsRow.tsx +5 -0
  481. package/src/patterns/switch-field/SwitchField.tsx +5 -0
  482. package/src/patterns/theme-composer/ThemeComposer.tsx +5 -0
  483. package/src/patterns/tile-grid/PaletteItem.tsx +5 -0
  484. package/src/patterns/tile-grid/TileGrid.tsx +5 -0
  485. package/src/patterns/timeline/Timeline.tsx +5 -0
  486. package/src/patterns/tree-view/TreeItem.tsx +5 -0
  487. package/src/patterns/tree-view/TreeView.tsx +5 -0
  488. package/src/patterns/zora-drawer-content/ZoraDrawerContent.tsx +5 -0
  489. package/src/patterns/zora-tab-bar/ZoraTabBar.tsx +5 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA0C7C,eAAO,MAAM,QAAQ,qDAAoC,CAAC"}
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA0C7C;;;;GAIG;AACH,eAAO,MAAM,QAAQ,qDAAoC,CAAC"}
@@ -9,5 +9,10 @@ function TextareaInner({ themeId: _themeId, mode: _mode, size = 'l', leadingIcon
9
9
  const iconColor = theme.semantics.content.muted;
10
10
  return (<Surface.Textarea {...props} leadingAccessory={leadingIcon ? (<Surface.Icon color={iconColor} name={leadingIcon.name} provider={leadingIcon.provider} size={iconSize}/>) : undefined} size={size} trailingAccessory={trailingIcon ? (<Surface.Icon color={iconColor} name={trailingIcon.name} provider={trailingIcon.provider} size={iconSize}/>) : undefined}/>);
11
11
  }
12
+ /***
13
+ * Multi-line text input with consistent ZORA field styling.
14
+ *
15
+ * @readme
16
+ */
12
17
  export const Textarea = withZoraThemeScope(TextareaInner);
13
18
  //# sourceMappingURL=Textarea.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../../src/components/textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,aAAa,CAAC,EACrB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,IAAI,GAAG,GAAG,EACV,WAAW,EACX,YAAY,EACZ,GAAG,KAAK,EACM;IACd,MAAM,EAAE,KAAK,EAAE,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IACvC,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC;IAEhD,OAAO,CACL,CAAC,OAAO,CAAC,QAAQ,CACf,IAAI,KAAK,CAAC,CACV,gBAAgB,CAAC,CACf,WAAW,CAAC,CAAC,CAAC,CACZ,CAAC,OAAO,CAAC,IAAI,CACX,KAAK,CAAC,CAAC,SAAS,CAAC,CACjB,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CACvB,QAAQ,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAC/B,IAAI,CAAC,CAAC,QAAQ,CAAC,EACf,CACH,CAAC,CAAC,CAAC,SACN,CAAC,CACD,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,iBAAiB,CAAC,CAChB,YAAY,CAAC,CAAC,CAAC,CACb,CAAC,OAAO,CAAC,IAAI,CACX,KAAK,CAAC,CAAC,SAAS,CAAC,CACjB,IAAI,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CACxB,QAAQ,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,CAChC,IAAI,CAAC,CAAC,QAAQ,CAAC,EACf,CACH,CAAC,CAAC,CAAC,SACN,CAAC,EACD,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import * as Surface from '@ankhorage/surface';\nimport React from 'react';\n\nimport { resolveIconSize } from '../../internal/recipes';\nimport { useZoraTheme } from '../../theme/useZoraTheme';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { TextareaProps } from './types';\n\nfunction TextareaInner({\n themeId: _themeId,\n mode: _mode,\n size = 'l',\n leadingIcon,\n trailingIcon,\n ...props\n}: TextareaProps) {\n const { theme } = useZoraTheme();\n const iconSize = resolveIconSize(size);\n const iconColor = theme.semantics.content.muted;\n\n return (\n <Surface.Textarea\n {...props}\n leadingAccessory={\n leadingIcon ? (\n <Surface.Icon\n color={iconColor}\n name={leadingIcon.name}\n provider={leadingIcon.provider}\n size={iconSize}\n />\n ) : undefined\n }\n size={size}\n trailingAccessory={\n trailingIcon ? (\n <Surface.Icon\n color={iconColor}\n name={trailingIcon.name}\n provider={trailingIcon.provider}\n size={iconSize}\n />\n ) : undefined\n }\n />\n );\n}\n\nexport const Textarea = withZoraThemeScope(TextareaInner);\n"]}
1
+ {"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../../src/components/textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,aAAa,CAAC,EACrB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,IAAI,GAAG,GAAG,EACV,WAAW,EACX,YAAY,EACZ,GAAG,KAAK,EACM;IACd,MAAM,EAAE,KAAK,EAAE,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IACvC,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC;IAEhD,OAAO,CACL,CAAC,OAAO,CAAC,QAAQ,CACf,IAAI,KAAK,CAAC,CACV,gBAAgB,CAAC,CACf,WAAW,CAAC,CAAC,CAAC,CACZ,CAAC,OAAO,CAAC,IAAI,CACX,KAAK,CAAC,CAAC,SAAS,CAAC,CACjB,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CACvB,QAAQ,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAC/B,IAAI,CAAC,CAAC,QAAQ,CAAC,EACf,CACH,CAAC,CAAC,CAAC,SACN,CAAC,CACD,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,iBAAiB,CAAC,CAChB,YAAY,CAAC,CAAC,CAAC,CACb,CAAC,OAAO,CAAC,IAAI,CACX,KAAK,CAAC,CAAC,SAAS,CAAC,CACjB,IAAI,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CACxB,QAAQ,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,CAChC,IAAI,CAAC,CAAC,QAAQ,CAAC,EACf,CACH,CAAC,CAAC,CAAC,SACN,CAAC,EACD,CACH,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import * as Surface from '@ankhorage/surface';\nimport React from 'react';\n\nimport { resolveIconSize } from '../../internal/recipes';\nimport { useZoraTheme } from '../../theme/useZoraTheme';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { TextareaProps } from './types';\n\nfunction TextareaInner({\n themeId: _themeId,\n mode: _mode,\n size = 'l',\n leadingIcon,\n trailingIcon,\n ...props\n}: TextareaProps) {\n const { theme } = useZoraTheme();\n const iconSize = resolveIconSize(size);\n const iconColor = theme.semantics.content.muted;\n\n return (\n <Surface.Textarea\n {...props}\n leadingAccessory={\n leadingIcon ? (\n <Surface.Icon\n color={iconColor}\n name={leadingIcon.name}\n provider={leadingIcon.provider}\n size={iconSize}\n />\n ) : undefined\n }\n size={size}\n trailingAccessory={\n trailingIcon ? (\n <Surface.Icon\n color={iconColor}\n name={trailingIcon.name}\n provider={trailingIcon.provider}\n size={iconSize}\n />\n ) : undefined\n }\n />\n );\n}\n\n/***\n * Multi-line text input with consistent ZORA field styling.\n *\n * @readme\n */\nexport const Textarea = withZoraThemeScope(TextareaInner);\n"]}
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { TimePickerProps } from './types';
3
+ /***
4
+ * Time input control with wheel selection and formatted display value.
5
+ *
6
+ * @readme
7
+ */
3
8
  export declare const TimePicker: (props: TimePickerProps) => React.ReactElement | null;
4
9
  //# sourceMappingURL=TimePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/time-picker/TimePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA8I/C,eAAO,MAAM,UAAU,uDAAsC,CAAC"}
1
+ {"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/time-picker/TimePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA8I/C;;;;GAIG;AACH,eAAO,MAAM,UAAU,uDAAsC,CAAC"}
@@ -76,5 +76,10 @@ function TimePickerInner({ themeId: _themeId, mode: _mode, value, onValueChange,
76
76
  </ActionSheet>
77
77
  </Field>);
78
78
  }
79
+ /***
80
+ * Time input control with wheel selection and formatted display value.
81
+ *
82
+ * @readme
83
+ */
79
84
  export const TimePicker = withZoraThemeScope(TimePickerInner);
80
85
  //# sourceMappingURL=TimePicker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimePicker.js","sourceRoot":"","sources":["../../../src/components/time-picker/TimePicker.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Field } from '@ankhorage/surface';\nimport React from 'react';\nimport { ScrollView } from 'react-native';\n\nimport { Stack } from '../../foundation';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { ActionSheet, ActionSheetItem } from '../action-sheet';\nimport { Button } from '../button';\nimport { Text } from '../text';\nimport type { TimePickerProps } from './types';\n\nconst MINUTES_PER_DAY = 24 * 60;\nconst DEFAULT_STEP_MINUTES = 30;\n\nfunction renderLabel(label: React.ReactNode, description: React.ReactNode | undefined) {\n return (\n <Stack gap=\"xs\">\n <Text variant=\"label\" weight=\"semiBold\">\n {label}\n </Text>\n {description ? (\n <Text emphasis=\"muted\" variant=\"bodySmall\">\n {description}\n </Text>\n ) : null}\n </Stack>\n );\n}\n\nfunction parseTimeToMinutes(value: string | undefined): number | undefined {\n if (!value) {\n return undefined;\n }\n\n const match = /^(\\d{2}):(\\d{2})$/.exec(value);\n if (!match) {\n return undefined;\n }\n\n const hours = Number(match[1]);\n const minutes = Number(match[2]);\n if (hours < 0 || hours > 23 || minutes < 0 || minutes > 59) {\n return undefined;\n }\n\n return hours * 60 + minutes;\n}\n\nfunction formatMinutes(value: number): string {\n const hours = Math.floor(value / 60);\n const minutes = value % 60;\n return `${String(hours).padStart(2, '0')}:${String(minutes).padStart(2, '0')}`;\n}\n\nfunction resolveStepMinutes(stepMinutes: number | undefined): number {\n if (stepMinutes === undefined || !Number.isFinite(stepMinutes) || stepMinutes <= 0) {\n return DEFAULT_STEP_MINUTES;\n }\n\n return Math.max(1, Math.floor(stepMinutes));\n}\n\nfunction generateTimeOptions({\n minTime,\n maxTime,\n stepMinutes,\n}: Pick<TimePickerProps, 'maxTime' | 'minTime' | 'stepMinutes'>): string[] {\n const step = resolveStepMinutes(stepMinutes);\n const min = parseTimeToMinutes(minTime) ?? 0;\n const max = parseTimeToMinutes(maxTime) ?? MINUTES_PER_DAY - 1;\n const options: string[] = [];\n\n for (let minute = 0; minute < MINUTES_PER_DAY; minute += step) {\n if (minute >= min && minute <= max) {\n options.push(formatMinutes(minute));\n }\n }\n\n return options;\n}\n\nfunction TimePickerInner({\n themeId: _themeId,\n mode: _mode,\n value,\n onValueChange,\n label,\n description,\n error,\n placeholder = 'Choose time',\n minTime,\n maxTime,\n stepMinutes,\n disabled = false,\n required = false,\n formatTime,\n testID,\n}: TimePickerProps) {\n const [visible, setVisible] = React.useState(false);\n const options = React.useMemo(\n () => generateTimeOptions({ maxTime, minTime, stepMinutes }),\n [maxTime, minTime, stepMinutes],\n );\n const displayValue = value ? (formatTime ? formatTime(value) : value) : placeholder;\n\n return (\n <Field\n disabled={disabled}\n errorText={error}\n invalid={Boolean(error)}\n label={label ? renderLabel(label, description) : undefined}\n required={required}\n testID={testID}\n >\n <Button\n disabled={disabled}\n onPress={() => setVisible(true)}\n testID={testID ? `${testID}-trigger` : undefined}\n trailingIcon={{ name: 'chevron-down-outline' }}\n variant=\"outline\"\n >\n {displayValue}\n </Button>\n <ActionSheet\n description={description}\n onDismiss={() => setVisible(false)}\n testID={testID ? `${testID}-sheet` : undefined}\n title={label ?? 'Choose time'}\n visible={visible}\n >\n <ScrollView style={{ maxHeight: 360 }}>\n <Stack gap=\"xxs\">\n {options.map((option) => (\n <ActionSheetItem\n key={option}\n label={formatTime ? formatTime(option) : option}\n onPress={() => {\n onValueChange?.(option);\n setVisible(false);\n }}\n selected={option === value}\n testID={testID ? `${testID}-option-${option}` : undefined}\n />\n ))}\n </Stack>\n </ScrollView>\n </ActionSheet>\n </Field>\n );\n}\n\nexport const TimePicker = withZoraThemeScope(TimePickerInner);\n"]}
1
+ {"version":3,"file":"TimePicker.js","sourceRoot":"","sources":["../../../src/components/time-picker/TimePicker.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Field } from '@ankhorage/surface';\nimport React from 'react';\nimport { ScrollView } from 'react-native';\n\nimport { Stack } from '../../foundation';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { ActionSheet, ActionSheetItem } from '../action-sheet';\nimport { Button } from '../button';\nimport { Text } from '../text';\nimport type { TimePickerProps } from './types';\n\nconst MINUTES_PER_DAY = 24 * 60;\nconst DEFAULT_STEP_MINUTES = 30;\n\nfunction renderLabel(label: React.ReactNode, description: React.ReactNode | undefined) {\n return (\n <Stack gap=\"xs\">\n <Text variant=\"label\" weight=\"semiBold\">\n {label}\n </Text>\n {description ? (\n <Text emphasis=\"muted\" variant=\"bodySmall\">\n {description}\n </Text>\n ) : null}\n </Stack>\n );\n}\n\nfunction parseTimeToMinutes(value: string | undefined): number | undefined {\n if (!value) {\n return undefined;\n }\n\n const match = /^(\\d{2}):(\\d{2})$/.exec(value);\n if (!match) {\n return undefined;\n }\n\n const hours = Number(match[1]);\n const minutes = Number(match[2]);\n if (hours < 0 || hours > 23 || minutes < 0 || minutes > 59) {\n return undefined;\n }\n\n return hours * 60 + minutes;\n}\n\nfunction formatMinutes(value: number): string {\n const hours = Math.floor(value / 60);\n const minutes = value % 60;\n return `${String(hours).padStart(2, '0')}:${String(minutes).padStart(2, '0')}`;\n}\n\nfunction resolveStepMinutes(stepMinutes: number | undefined): number {\n if (stepMinutes === undefined || !Number.isFinite(stepMinutes) || stepMinutes <= 0) {\n return DEFAULT_STEP_MINUTES;\n }\n\n return Math.max(1, Math.floor(stepMinutes));\n}\n\nfunction generateTimeOptions({\n minTime,\n maxTime,\n stepMinutes,\n}: Pick<TimePickerProps, 'maxTime' | 'minTime' | 'stepMinutes'>): string[] {\n const step = resolveStepMinutes(stepMinutes);\n const min = parseTimeToMinutes(minTime) ?? 0;\n const max = parseTimeToMinutes(maxTime) ?? MINUTES_PER_DAY - 1;\n const options: string[] = [];\n\n for (let minute = 0; minute < MINUTES_PER_DAY; minute += step) {\n if (minute >= min && minute <= max) {\n options.push(formatMinutes(minute));\n }\n }\n\n return options;\n}\n\nfunction TimePickerInner({\n themeId: _themeId,\n mode: _mode,\n value,\n onValueChange,\n label,\n description,\n error,\n placeholder = 'Choose time',\n minTime,\n maxTime,\n stepMinutes,\n disabled = false,\n required = false,\n formatTime,\n testID,\n}: TimePickerProps) {\n const [visible, setVisible] = React.useState(false);\n const options = React.useMemo(\n () => generateTimeOptions({ maxTime, minTime, stepMinutes }),\n [maxTime, minTime, stepMinutes],\n );\n const displayValue = value ? (formatTime ? formatTime(value) : value) : placeholder;\n\n return (\n <Field\n disabled={disabled}\n errorText={error}\n invalid={Boolean(error)}\n label={label ? renderLabel(label, description) : undefined}\n required={required}\n testID={testID}\n >\n <Button\n disabled={disabled}\n onPress={() => setVisible(true)}\n testID={testID ? `${testID}-trigger` : undefined}\n trailingIcon={{ name: 'chevron-down-outline' }}\n variant=\"outline\"\n >\n {displayValue}\n </Button>\n <ActionSheet\n description={description}\n onDismiss={() => setVisible(false)}\n testID={testID ? `${testID}-sheet` : undefined}\n title={label ?? 'Choose time'}\n visible={visible}\n >\n <ScrollView style={{ maxHeight: 360 }}>\n <Stack gap=\"xxs\">\n {options.map((option) => (\n <ActionSheetItem\n key={option}\n label={formatTime ? formatTime(option) : option}\n onPress={() => {\n onValueChange?.(option);\n setVisible(false);\n }}\n selected={option === value}\n testID={testID ? `${testID}-option-${option}` : undefined}\n />\n ))}\n </Stack>\n </ScrollView>\n </ActionSheet>\n </Field>\n );\n}\n\n/***\n * Time input control with wheel selection and formatted display value.\n *\n * @readme\n */\nexport const TimePicker = withZoraThemeScope(TimePickerInner);\n"]}
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { ToastProps } from './types';
3
+ /***
4
+ * Renders a toast notification message.
5
+ *
6
+ * @readme
7
+ */
3
8
  export declare const Toast: (props: ToastProps) => React.ReactElement | null;
4
9
  //# sourceMappingURL=Toast.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/toast/Toast.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAM1C,eAAO,MAAM,KAAK,kDAAiC,CAAC"}
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/toast/Toast.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAM1C;;;;GAIG;AACH,eAAO,MAAM,KAAK,kDAAiC,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
4
4
  function ToastInner({ mode: _mode, themeId: _themeId, ...props }) {
5
5
  return <SurfaceToast {...props}/>;
6
6
  }
7
+ /***
8
+ * Renders a toast notification message.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Toast = withZoraThemeScope(ToastInner);
8
13
  //# sourceMappingURL=Toast.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../../src/components/toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAc;IAC1E,OAAO,CAAC,YAAY,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACrC,CAAC;AAED,MAAM,CAAC,MAAM,KAAK,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC","sourcesContent":["import { Toast as SurfaceToast } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { ToastProps } from './types';\n\nfunction ToastInner({ mode: _mode, themeId: _themeId, ...props }: ToastProps) {\n return <SurfaceToast {...props} />;\n}\n\nexport const Toast = withZoraThemeScope(ToastInner);\n"]}
1
+ {"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../../src/components/toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAc;IAC1E,OAAO,CAAC,YAAY,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACrC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC","sourcesContent":["import { Toast as SurfaceToast } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { ToastProps } from './types';\n\nfunction ToastInner({ mode: _mode, themeId: _themeId, ...props }: ToastProps) {\n return <SurfaceToast {...props} />;\n}\n\n/***\n * Renders a toast notification message.\n *\n * @readme\n */\nexport const Toast = withZoraThemeScope(ToastInner);\n"]}
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { ToastProviderProps } from './types';
3
+ /***
4
+ * Provides toast state and rendering context for `useToast` and `Toast`.
5
+ *
6
+ * @readme
7
+ */
3
8
  export declare function ToastProvider({ children, defaultDuration }: ToastProviderProps): React.JSX.Element;
4
9
  //# sourceMappingURL=ToastProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToastProvider.d.ts","sourceRoot":"","sources":["../../../src/components/toast/ToastProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,kBAAkB,qBAM9E"}
1
+ {"version":3,"file":"ToastProvider.d.ts","sourceRoot":"","sources":["../../../src/components/toast/ToastProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,kBAAkB,qBAM9E"}
@@ -1,5 +1,10 @@
1
1
  import { ToastProvider as SurfaceToastProvider } from '@ankhorage/surface';
2
2
  import React from 'react';
3
+ /***
4
+ * Provides toast state and rendering context for `useToast` and `Toast`.
5
+ *
6
+ * @readme
7
+ */
3
8
  export function ToastProvider({ children, defaultDuration }) {
4
9
  if (defaultDuration === undefined) {
5
10
  return <SurfaceToastProvider>{children}</SurfaceToastProvider>;
@@ -1 +1 @@
1
- {"version":3,"file":"ToastProvider.js","sourceRoot":"","sources":["../../../src/components/toast/ToastProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,UAAU,aAAa,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAsB;IAC7E,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;QAClC,OAAO,CAAC,oBAAoB,CAAC,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAC,CAAC;AACnG,CAAC","sourcesContent":["import { ToastProvider as SurfaceToastProvider } from '@ankhorage/surface';\nimport React from 'react';\n\nimport type { ToastProviderProps } from './types';\n\nexport function ToastProvider({ children, defaultDuration }: ToastProviderProps) {\n if (defaultDuration === undefined) {\n return <SurfaceToastProvider>{children}</SurfaceToastProvider>;\n }\n\n return <SurfaceToastProvider defaultDuration={defaultDuration}>{children}</SurfaceToastProvider>;\n}\n"]}
1
+ {"version":3,"file":"ToastProvider.js","sourceRoot":"","sources":["../../../src/components/toast/ToastProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAsB;IAC7E,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;QAClC,OAAO,CAAC,oBAAoB,CAAC,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAC,CAAC;AACnG,CAAC","sourcesContent":["import { ToastProvider as SurfaceToastProvider } from '@ankhorage/surface';\nimport React from 'react';\n\nimport type { ToastProviderProps } from './types';\n\n/***\n * Provides toast state and rendering context for `useToast` and `Toast`.\n *\n * @readme\n */\nexport function ToastProvider({ children, defaultDuration }: ToastProviderProps) {\n if (defaultDuration === undefined) {\n return <SurfaceToastProvider>{children}</SurfaceToastProvider>;\n }\n\n return <SurfaceToastProvider defaultDuration={defaultDuration}>{children}</SurfaceToastProvider>;\n}\n"]}
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { ToolbarProps } from './types';
3
+ /***
4
+ * Horizontal toolbar surface for grouping actions and controls.
5
+ *
6
+ * @readme
7
+ */
3
8
  export declare const Toolbar: (props: ToolbarProps) => React.ReactElement | null;
4
9
  //# sourceMappingURL=Toolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAoC5C,eAAO,MAAM,OAAO,oDAAmC,CAAC"}
1
+ {"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAoC5C;;;;GAIG;AACH,eAAO,MAAM,OAAO,oDAAmC,CAAC"}
@@ -17,5 +17,10 @@ function ToolbarInner({ themeId: _themeId, mode: _mode, children, position = 'in
17
17
  </Stack>
18
18
  </Card>);
19
19
  }
20
+ /***
21
+ * Horizontal toolbar surface for grouping actions and controls.
22
+ *
23
+ * @readme
24
+ */
20
25
  export const Toolbar = withZoraThemeScope(ToolbarInner);
21
26
  //# sourceMappingURL=Toolbar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbar.js","sourceRoot":"","sources":["../../../src/components/toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,SAAS,YAAY,CAAC,EACpB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,QAAQ,EACR,QAAQ,GAAG,QAAQ,EACnB,QAAQ,GAAG,KAAK,EAChB,OAAO,GAAG,IAAI,EACd,MAAM,GACO;IACb,MAAM,OAAO,GAAG,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,QAAQ,CAAC;IAE5D,OAAO,CACL,CAAC,IAAI,CACH,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CACtC,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,KAAK,CAAC,CACJ,OAAO;YACL,CAAC,CAAC;gBACE,QAAQ,EAAE,UAAU;gBACpB,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACb,MAAM,EAAE,EAAE;gBACV,SAAS,EAAE,QAAQ;aACpB;YACH,CAAC,CAAC,SACN,CAAC,CAED;MAAA,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAC3C;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,KAAK,CACT;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Stack } from '../../foundation';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { Card } from '../card';\nimport type { ToolbarProps } from './types';\n\nfunction ToolbarInner({\n themeId: _themeId,\n mode: _mode,\n children,\n position = 'inline',\n floating = false,\n compact = true,\n testID,\n}: ToolbarProps) {\n const isFixed = position === 'top' || position === 'bottom';\n\n return (\n <Card\n compact={compact}\n tone={floating ? 'default' : 'subtle'}\n testID={testID}\n style={\n isFixed\n ? {\n position: 'absolute',\n [position]: 0,\n zIndex: 10,\n alignSelf: 'center',\n }\n : undefined\n }\n >\n <Stack direction=\"row\" gap=\"s\" align=\"center\">\n {children}\n </Stack>\n </Card>\n );\n}\n\nexport const Toolbar = withZoraThemeScope(ToolbarInner);\n"]}
1
+ {"version":3,"file":"Toolbar.js","sourceRoot":"","sources":["../../../src/components/toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,SAAS,YAAY,CAAC,EACpB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,QAAQ,EACR,QAAQ,GAAG,QAAQ,EACnB,QAAQ,GAAG,KAAK,EAChB,OAAO,GAAG,IAAI,EACd,MAAM,GACO;IACb,MAAM,OAAO,GAAG,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,QAAQ,CAAC;IAE5D,OAAO,CACL,CAAC,IAAI,CACH,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CACtC,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,KAAK,CAAC,CACJ,OAAO;YACL,CAAC,CAAC;gBACE,QAAQ,EAAE,UAAU;gBACpB,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACb,MAAM,EAAE,EAAE;gBACV,SAAS,EAAE,QAAQ;aACpB;YACH,CAAC,CAAC,SACN,CAAC,CAED;MAAA,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAC3C;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,KAAK,CACT;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Stack } from '../../foundation';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { Card } from '../card';\nimport type { ToolbarProps } from './types';\n\nfunction ToolbarInner({\n themeId: _themeId,\n mode: _mode,\n children,\n position = 'inline',\n floating = false,\n compact = true,\n testID,\n}: ToolbarProps) {\n const isFixed = position === 'top' || position === 'bottom';\n\n return (\n <Card\n compact={compact}\n tone={floating ? 'default' : 'subtle'}\n testID={testID}\n style={\n isFixed\n ? {\n position: 'absolute',\n [position]: 0,\n zIndex: 10,\n alignSelf: 'center',\n }\n : undefined\n }\n >\n <Stack direction=\"row\" gap=\"s\" align=\"center\">\n {children}\n </Stack>\n </Card>\n );\n}\n\n/***\n * Horizontal toolbar surface for grouping actions and controls.\n *\n * @readme\n */\nexport const Toolbar = withZoraThemeScope(ToolbarInner);\n"]}
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { ToolbarActionProps } from './types';
3
+ /***
4
+ * Convenience icon action for toolbars with active state styling.
5
+ *
6
+ * @readme
7
+ */
3
8
  export declare const ToolbarAction: (props: ToolbarActionProps) => React.ReactElement | null;
4
9
  //# sourceMappingURL=ToolbarAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolbarAction.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/ToolbarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAkBlD,eAAO,MAAM,aAAa,0DAAyC,CAAC"}
1
+ {"version":3,"file":"ToolbarAction.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/ToolbarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAkBlD;;;;GAIG;AACH,eAAO,MAAM,aAAa,0DAAyC,CAAC"}
@@ -4,5 +4,10 @@ import { IconButton } from '../icon-button';
4
4
  function ToolbarActionInner({ themeId: _themeId, mode: _mode, active, ...props }) {
5
5
  return (<IconButton {...props} variant={active ? 'soft' : 'ghost'} color={active ? 'primary' : 'neutral'} size="m"/>);
6
6
  }
7
+ /***
8
+ * Convenience icon action for toolbars with active state styling.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const ToolbarAction = withZoraThemeScope(ToolbarActionInner);
8
13
  //# sourceMappingURL=ToolbarAction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolbarAction.js","sourceRoot":"","sources":["../../../src/components/toolbar/ToolbarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,SAAS,kBAAkB,CAAC,EAC1B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,MAAM,EACN,GAAG,KAAK,EACW;IACnB,OAAO,CACL,CAAC,UAAU,CACT,IAAI,KAAK,CAAC,CACV,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CACnC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CACtC,IAAI,CAAC,GAAG,EACR,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { IconButton } from '../icon-button';\nimport type { ToolbarActionProps } from './types';\n\nfunction ToolbarActionInner({\n themeId: _themeId,\n mode: _mode,\n active,\n ...props\n}: ToolbarActionProps) {\n return (\n <IconButton\n {...props}\n variant={active ? 'soft' : 'ghost'}\n color={active ? 'primary' : 'neutral'}\n size=\"m\"\n />\n );\n}\n\nexport const ToolbarAction = withZoraThemeScope(ToolbarActionInner);\n"]}
1
+ {"version":3,"file":"ToolbarAction.js","sourceRoot":"","sources":["../../../src/components/toolbar/ToolbarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,SAAS,kBAAkB,CAAC,EAC1B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,MAAM,EACN,GAAG,KAAK,EACW;IACnB,OAAO,CACL,CAAC,UAAU,CACT,IAAI,KAAK,CAAC,CACV,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CACnC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CACtC,IAAI,CAAC,GAAG,EACR,CACH,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { IconButton } from '../icon-button';\nimport type { ToolbarActionProps } from './types';\n\nfunction ToolbarActionInner({\n themeId: _themeId,\n mode: _mode,\n active,\n ...props\n}: ToolbarActionProps) {\n return (\n <IconButton\n {...props}\n variant={active ? 'soft' : 'ghost'}\n color={active ? 'primary' : 'neutral'}\n size=\"m\"\n />\n );\n}\n\n/***\n * Convenience icon action for toolbars with active state styling.\n *\n * @readme\n */\nexport const ToolbarAction = withZoraThemeScope(ToolbarActionInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface BoxProps extends ZoraBaseProps, Omit<SurfaceBoxProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Base layout primitive for themed spacing, color, border, flex, and responsive props.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Box: (props: BoxProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../src/foundation/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,QAAS,SAAQ,aAAa,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAM7F,eAAO,MAAM,GAAG,gDAA+B,CAAC"}
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../src/foundation/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,QAAS,SAAQ,aAAa,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAM7F;;;;GAIG;AACH,eAAO,MAAM,GAAG,gDAA+B,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../theme/withZoraThemeScope';
4
4
  function BoxInner({ themeId: _themeId, mode: _mode, ...props }) {
5
5
  return <SurfaceBox {...props}/>;
6
6
  }
7
+ /***
8
+ * Base layout primitive for themed spacing, color, border, flex, and responsive props.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Box = withZoraThemeScope(BoxInner);
8
13
  //# sourceMappingURL=Box.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.js","sourceRoot":"","sources":["../../src/foundation/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAoC,MAAM,oBAAoB,CAAC;AACzF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,QAAQ,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAY;IACtE,OAAO,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACnC,CAAC;AAED,MAAM,CAAC,MAAM,GAAG,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC","sourcesContent":["import { Box as SurfaceBox, type BoxProps as SurfaceBoxProps } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface BoxProps extends ZoraBaseProps, Omit<SurfaceBoxProps, 'mode' | 'themeId'> {}\n\nfunction BoxInner({ themeId: _themeId, mode: _mode, ...props }: BoxProps) {\n return <SurfaceBox {...props} />;\n}\n\nexport const Box = withZoraThemeScope(BoxInner);\n"]}
1
+ {"version":3,"file":"Box.js","sourceRoot":"","sources":["../../src/foundation/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAoC,MAAM,oBAAoB,CAAC;AACzF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,QAAQ,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAY;IACtE,OAAO,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACnC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC","sourcesContent":["import { Box as SurfaceBox, type BoxProps as SurfaceBoxProps } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface BoxProps extends ZoraBaseProps, Omit<SurfaceBoxProps, 'mode' | 'themeId'> {}\n\nfunction BoxInner({ themeId: _themeId, mode: _mode, ...props }: BoxProps) {\n return <SurfaceBox {...props} />;\n}\n\n/***\n * Base layout primitive for themed spacing, color, border, flex, and responsive props.\n *\n * @readme\n */\nexport const Box = withZoraThemeScope(BoxInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface CenterProps extends ZoraBaseProps, Omit<SurfaceCenterProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Centers children horizontally and vertically within the available space.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Center: (props: CenterProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Center.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Center.d.ts","sourceRoot":"","sources":["../../src/foundation/Center.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,IAAI,kBAAkB,EACvC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAMnG,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
1
+ {"version":3,"file":"Center.d.ts","sourceRoot":"","sources":["../../src/foundation/Center.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,IAAI,kBAAkB,EACvC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAMnG;;;;GAIG;AACH,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../theme/withZoraThemeScope';
4
4
  function CenterInner({ themeId: _themeId, mode: _mode, ...props }) {
5
5
  return <SurfaceCenter {...props}/>;
6
6
  }
7
+ /***
8
+ * Centers children horizontally and vertically within the available space.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Center = withZoraThemeScope(CenterInner);
8
13
  //# sourceMappingURL=Center.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Center.js","sourceRoot":"","sources":["../../src/foundation/Center.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,aAAa,GAExB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAe;IAC5E,OAAO,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACtC,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import {\n Center as SurfaceCenter,\n type CenterProps as SurfaceCenterProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface CenterProps extends ZoraBaseProps, Omit<SurfaceCenterProps, 'mode' | 'themeId'> {}\n\nfunction CenterInner({ themeId: _themeId, mode: _mode, ...props }: CenterProps) {\n return <SurfaceCenter {...props} />;\n}\n\nexport const Center = withZoraThemeScope(CenterInner);\n"]}
1
+ {"version":3,"file":"Center.js","sourceRoot":"","sources":["../../src/foundation/Center.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,aAAa,GAExB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAe;IAC5E,OAAO,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACtC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import {\n Center as SurfaceCenter,\n type CenterProps as SurfaceCenterProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface CenterProps extends ZoraBaseProps, Omit<SurfaceCenterProps, 'mode' | 'themeId'> {}\n\nfunction CenterInner({ themeId: _themeId, mode: _mode, ...props }: CenterProps) {\n return <SurfaceCenter {...props} />;\n}\n\n/***\n * Centers children horizontally and vertically within the available space.\n *\n * @readme\n */\nexport const Center = withZoraThemeScope(CenterInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface ContainerProps extends ZoraBaseProps, Omit<SurfaceContainerProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Constrains page content to semantic widths with responsive padding.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Container: (props: ContainerProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Container.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/foundation/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,IAAI,qBAAqB,EAC7C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,cACf,SAAQ,aAAa,EAAE,IAAI,CAAC,qBAAqB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAM3E,eAAO,MAAM,SAAS,sDAAqC,CAAC"}
1
+ {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../src/foundation/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,IAAI,qBAAqB,EAC7C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,cACf,SAAQ,aAAa,EAAE,IAAI,CAAC,qBAAqB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAM3E;;;;GAIG;AACH,eAAO,MAAM,SAAS,sDAAqC,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../theme/withZoraThemeScope';
4
4
  function ContainerInner({ themeId: _themeId, mode: _mode, ...props }) {
5
5
  return <SurfaceContainer {...props}/>;
6
6
  }
7
+ /***
8
+ * Constrains page content to semantic widths with responsive padding.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Container = withZoraThemeScope(ContainerInner);
8
13
  //# sourceMappingURL=Container.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Container.js","sourceRoot":"","sources":["../../src/foundation/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,IAAI,gBAAgB,GAE9B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAMjE,SAAS,cAAc,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAkB;IAClF,OAAO,CAAC,gBAAgB,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACzC,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC","sourcesContent":["import {\n Container as SurfaceContainer,\n type ContainerProps as SurfaceContainerProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface ContainerProps\n extends ZoraBaseProps, Omit<SurfaceContainerProps, 'mode' | 'themeId'> {}\n\nfunction ContainerInner({ themeId: _themeId, mode: _mode, ...props }: ContainerProps) {\n return <SurfaceContainer {...props} />;\n}\n\nexport const Container = withZoraThemeScope(ContainerInner);\n"]}
1
+ {"version":3,"file":"Container.js","sourceRoot":"","sources":["../../src/foundation/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,IAAI,gBAAgB,GAE9B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAMjE,SAAS,cAAc,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAkB;IAClF,OAAO,CAAC,gBAAgB,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACzC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC","sourcesContent":["import {\n Container as SurfaceContainer,\n type ContainerProps as SurfaceContainerProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface ContainerProps\n extends ZoraBaseProps, Omit<SurfaceContainerProps, 'mode' | 'themeId'> {}\n\nfunction ContainerInner({ themeId: _themeId, mode: _mode, ...props }: ContainerProps) {\n return <SurfaceContainer {...props} />;\n}\n\n/***\n * Constrains page content to semantic widths with responsive padding.\n *\n * @readme\n */\nexport const Container = withZoraThemeScope(ContainerInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface DividerProps extends ZoraBaseProps, Omit<SurfaceDividerProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Renders a themed visual separator between content sections.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Divider: (props: DividerProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Divider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../src/foundation/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,IAAI,mBAAmB,EACzC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,YACf,SAAQ,aAAa,EAAE,IAAI,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAMzE,eAAO,MAAM,OAAO,oDAAmC,CAAC"}
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../src/foundation/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,IAAI,mBAAmB,EACzC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,YACf,SAAQ,aAAa,EAAE,IAAI,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAMzE;;;;GAIG;AACH,eAAO,MAAM,OAAO,oDAAmC,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../theme/withZoraThemeScope';
4
4
  function DividerInner({ themeId: _themeId, mode: _mode, ...props }) {
5
5
  return <SurfaceDivider {...props}/>;
6
6
  }
7
+ /***
8
+ * Renders a themed visual separator between content sections.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Divider = withZoraThemeScope(DividerInner);
8
13
  //# sourceMappingURL=Divider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.js","sourceRoot":"","sources":["../../src/foundation/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,cAAc,GAE1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAMjE,SAAS,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAgB;IAC9E,OAAO,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACvC,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC","sourcesContent":["import {\n Divider as SurfaceDivider,\n type DividerProps as SurfaceDividerProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface DividerProps\n extends ZoraBaseProps, Omit<SurfaceDividerProps, 'mode' | 'themeId'> {}\n\nfunction DividerInner({ themeId: _themeId, mode: _mode, ...props }: DividerProps) {\n return <SurfaceDivider {...props} />;\n}\n\nexport const Divider = withZoraThemeScope(DividerInner);\n"]}
1
+ {"version":3,"file":"Divider.js","sourceRoot":"","sources":["../../src/foundation/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,cAAc,GAE1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAMjE,SAAS,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAgB;IAC9E,OAAO,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACvC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC","sourcesContent":["import {\n Divider as SurfaceDivider,\n type DividerProps as SurfaceDividerProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface DividerProps\n extends ZoraBaseProps, Omit<SurfaceDividerProps, 'mode' | 'themeId'> {}\n\nfunction DividerInner({ themeId: _themeId, mode: _mode, ...props }: DividerProps) {\n return <SurfaceDivider {...props} />;\n}\n\n/***\n * Renders a themed visual separator between content sections.\n *\n * @readme\n */\nexport const Divider = withZoraThemeScope(DividerInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface GridProps extends ZoraBaseProps, Omit<SurfaceGridProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Creates responsive grid layouts for cards, tiles, and dashboard content.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Grid: (props: GridProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../src/foundation/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,SAAU,SAAQ,aAAa,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAM/F,eAAO,MAAM,IAAI,iDAAgC,CAAC"}
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../src/foundation/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,SAAU,SAAQ,aAAa,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAM/F;;;;GAIG;AACH,eAAO,MAAM,IAAI,iDAAgC,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../theme/withZoraThemeScope';
4
4
  function GridInner({ themeId: _themeId, mode: _mode, ...props }) {
5
5
  return <SurfaceGrid {...props}/>;
6
6
  }
7
+ /***
8
+ * Creates responsive grid layouts for cards, tiles, and dashboard content.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Grid = withZoraThemeScope(GridInner);
8
13
  //# sourceMappingURL=Grid.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../src/foundation/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAsC,MAAM,oBAAoB,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,SAAS,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAa;IACxE,OAAO,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACpC,CAAC;AAED,MAAM,CAAC,MAAM,IAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import { Grid as SurfaceGrid, type GridProps as SurfaceGridProps } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface GridProps extends ZoraBaseProps, Omit<SurfaceGridProps, 'mode' | 'themeId'> {}\n\nfunction GridInner({ themeId: _themeId, mode: _mode, ...props }: GridProps) {\n return <SurfaceGrid {...props} />;\n}\n\nexport const Grid = withZoraThemeScope(GridInner);\n"]}
1
+ {"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../src/foundation/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAsC,MAAM,oBAAoB,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,SAAS,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAa;IACxE,OAAO,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACpC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import { Grid as SurfaceGrid, type GridProps as SurfaceGridProps } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface GridProps extends ZoraBaseProps, Omit<SurfaceGridProps, 'mode' | 'themeId'> {}\n\nfunction GridInner({ themeId: _themeId, mode: _mode, ...props }: GridProps) {\n return <SurfaceGrid {...props} />;\n}\n\n/***\n * Creates responsive grid layouts for cards, tiles, and dashboard content.\n *\n * @readme\n */\nexport const Grid = withZoraThemeScope(GridInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface InlineProps extends ZoraBaseProps, Omit<SurfaceInlineProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Arranges children inline with spacing and wrapping behavior.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Inline: (props: InlineProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Inline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Inline.d.ts","sourceRoot":"","sources":["../../src/foundation/Inline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,IAAI,kBAAkB,EACvC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAMnG,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
1
+ {"version":3,"file":"Inline.d.ts","sourceRoot":"","sources":["../../src/foundation/Inline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,IAAI,kBAAkB,EACvC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAMnG;;;;GAIG;AACH,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../theme/withZoraThemeScope';
4
4
  function InlineInner({ themeId: _themeId, mode: _mode, ...props }) {
5
5
  return <SurfaceInline {...props}/>;
6
6
  }
7
+ /***
8
+ * Arranges children inline with spacing and wrapping behavior.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Inline = withZoraThemeScope(InlineInner);
8
13
  //# sourceMappingURL=Inline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Inline.js","sourceRoot":"","sources":["../../src/foundation/Inline.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,aAAa,GAExB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAe;IAC5E,OAAO,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACtC,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import {\n Inline as SurfaceInline,\n type InlineProps as SurfaceInlineProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface InlineProps extends ZoraBaseProps, Omit<SurfaceInlineProps, 'mode' | 'themeId'> {}\n\nfunction InlineInner({ themeId: _themeId, mode: _mode, ...props }: InlineProps) {\n return <SurfaceInline {...props} />;\n}\n\nexport const Inline = withZoraThemeScope(InlineInner);\n"]}
1
+ {"version":3,"file":"Inline.js","sourceRoot":"","sources":["../../src/foundation/Inline.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,aAAa,GAExB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAe;IAC5E,OAAO,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACtC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import {\n Inline as SurfaceInline,\n type InlineProps as SurfaceInlineProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface InlineProps extends ZoraBaseProps, Omit<SurfaceInlineProps, 'mode' | 'themeId'> {}\n\nfunction InlineInner({ themeId: _themeId, mode: _mode, ...props }: InlineProps) {\n return <SurfaceInline {...props} />;\n}\n\n/***\n * Arranges children inline with spacing and wrapping behavior.\n *\n * @readme\n */\nexport const Inline = withZoraThemeScope(InlineInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface ShowProps extends ZoraBaseProps, Omit<SurfaceShowProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Conditionally renders children for responsive display and breakpoint-based visibility.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Show: (props: ShowProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Show.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Show.d.ts","sourceRoot":"","sources":["../../src/foundation/Show.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,SAAU,SAAQ,aAAa,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAM/F,eAAO,MAAM,IAAI,iDAAgC,CAAC"}
1
+ {"version":3,"file":"Show.d.ts","sourceRoot":"","sources":["../../src/foundation/Show.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,SAAU,SAAQ,aAAa,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAM/F;;;;GAIG;AACH,eAAO,MAAM,IAAI,iDAAgC,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../theme/withZoraThemeScope';
4
4
  function ShowInner({ themeId: _themeId, mode: _mode, ...props }) {
5
5
  return <SurfaceShow {...props}/>;
6
6
  }
7
+ /***
8
+ * Conditionally renders children for responsive display and breakpoint-based visibility.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Show = withZoraThemeScope(ShowInner);
8
13
  //# sourceMappingURL=Show.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Show.js","sourceRoot":"","sources":["../../src/foundation/Show.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAsC,MAAM,oBAAoB,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,SAAS,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAa;IACxE,OAAO,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACpC,CAAC;AAED,MAAM,CAAC,MAAM,IAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import { Show as SurfaceShow, type ShowProps as SurfaceShowProps } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface ShowProps extends ZoraBaseProps, Omit<SurfaceShowProps, 'mode' | 'themeId'> {}\n\nfunction ShowInner({ themeId: _themeId, mode: _mode, ...props }: ShowProps) {\n return <SurfaceShow {...props} />;\n}\n\nexport const Show = withZoraThemeScope(ShowInner);\n"]}
1
+ {"version":3,"file":"Show.js","sourceRoot":"","sources":["../../src/foundation/Show.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAsC,MAAM,oBAAoB,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,SAAS,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAa;IACxE,OAAO,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACpC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import { Show as SurfaceShow, type ShowProps as SurfaceShowProps } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface ShowProps extends ZoraBaseProps, Omit<SurfaceShowProps, 'mode' | 'themeId'> {}\n\nfunction ShowInner({ themeId: _themeId, mode: _mode, ...props }: ShowProps) {\n return <SurfaceShow {...props} />;\n}\n\n/***\n * Conditionally renders children for responsive display and breakpoint-based visibility.\n *\n * @readme\n */\nexport const Show = withZoraThemeScope(ShowInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface SpacerProps extends ZoraBaseProps, Omit<SurfaceSpacerProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Adds flexible or fixed empty space in layout compositions.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Spacer: (props: SpacerProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Spacer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spacer.d.ts","sourceRoot":"","sources":["../../src/foundation/Spacer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,IAAI,kBAAkB,EACvC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAMnG,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
1
+ {"version":3,"file":"Spacer.d.ts","sourceRoot":"","sources":["../../src/foundation/Spacer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,IAAI,kBAAkB,EACvC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,WAAY,SAAQ,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAAG;AAMnG;;;;GAIG;AACH,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
@@ -4,5 +4,10 @@ import { withZoraThemeScope } from '../theme/withZoraThemeScope';
4
4
  function SpacerInner({ themeId: _themeId, mode: _mode, ...props }) {
5
5
  return <SurfaceSpacer {...props}/>;
6
6
  }
7
+ /***
8
+ * Adds flexible or fixed empty space in layout compositions.
9
+ *
10
+ * @readme
11
+ */
7
12
  export const Spacer = withZoraThemeScope(SpacerInner);
8
13
  //# sourceMappingURL=Spacer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spacer.js","sourceRoot":"","sources":["../../src/foundation/Spacer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,aAAa,GAExB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAe;IAC5E,OAAO,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACtC,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import {\n Spacer as SurfaceSpacer,\n type SpacerProps as SurfaceSpacerProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface SpacerProps extends ZoraBaseProps, Omit<SurfaceSpacerProps, 'mode' | 'themeId'> {}\n\nfunction SpacerInner({ themeId: _themeId, mode: _mode, ...props }: SpacerProps) {\n return <SurfaceSpacer {...props} />;\n}\n\nexport const Spacer = withZoraThemeScope(SpacerInner);\n"]}
1
+ {"version":3,"file":"Spacer.js","sourceRoot":"","sources":["../../src/foundation/Spacer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,aAAa,GAExB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAKjE,SAAS,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAe;IAC5E,OAAO,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACtC,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import {\n Spacer as SurfaceSpacer,\n type SpacerProps as SurfaceSpacerProps,\n} from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../theme/withZoraThemeScope';\nimport type { ZoraBaseProps } from '../theme/ZoraBaseProps';\n\nexport interface SpacerProps extends ZoraBaseProps, Omit<SurfaceSpacerProps, 'mode' | 'themeId'> {}\n\nfunction SpacerInner({ themeId: _themeId, mode: _mode, ...props }: SpacerProps) {\n return <SurfaceSpacer {...props} />;\n}\n\n/***\n * Adds flexible or fixed empty space in layout compositions.\n *\n * @readme\n */\nexport const Spacer = withZoraThemeScope(SpacerInner);\n"]}
@@ -3,5 +3,10 @@ import React from 'react';
3
3
  import type { ZoraBaseProps } from '../theme/ZoraBaseProps';
4
4
  export interface StackProps extends ZoraBaseProps, Omit<SurfaceStackProps, 'mode' | 'themeId'> {
5
5
  }
6
+ /***
7
+ * Arranges layout items in one direction with theme spacing.
8
+ *
9
+ * @readme
10
+ */
6
11
  export declare const Stack: (props: StackProps) => React.ReactElement | null;
7
12
  //# sourceMappingURL=Stack.d.ts.map