@12-apps/ui 6.44.3 → 6.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/NATIVE.md +1 -1
  2. package/components-catalog.md +13 -4
  3. package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +4 -4
  4. package/dist/_internal/components/data-display/Avatar/Avatar.js +2 -2
  5. package/dist/_internal/components/data-display/Badge/Badge.js +2 -2
  6. package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +1 -1
  7. package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +1 -1
  8. package/dist/_internal/components/data-display/Carousel/Carousel.js +2 -2
  9. package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
  10. package/dist/_internal/components/data-display/Chart/SpecChart.js +6 -6
  11. package/dist/_internal/components/data-display/Chart/chart-context.js +2 -2
  12. package/dist/_internal/components/data-display/Chart/chart-renderers.js +3 -3
  13. package/dist/_internal/components/data-display/DataGrid/DataGrid.js +2 -2
  14. package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +37 -37
  15. package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +53 -53
  16. package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +4 -4
  17. package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +5 -5
  18. package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +11 -11
  19. package/dist/_internal/components/data-display/DataViews/base-card.js +5 -5
  20. package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +1 -1
  21. package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +3 -3
  22. package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +1 -1
  23. package/dist/_internal/components/data-display/DataViews/base-list-card.js +7 -7
  24. package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +8 -8
  25. package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +1 -1
  26. package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +15 -15
  27. package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +4 -4
  28. package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +33 -33
  29. package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +14 -14
  30. package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +12 -12
  31. package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +13 -13
  32. package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +3 -3
  33. package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +3 -3
  34. package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +6 -6
  35. package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +16 -16
  36. package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +5 -5
  37. package/dist/_internal/components/data-display/DataViews/list-card-rails.js +1 -1
  38. package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +3 -3
  39. package/dist/_internal/components/data-display/FleetMap/FleetBody.js +10 -10
  40. package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +6 -6
  41. package/dist/_internal/components/data-display/FleetMap/FleetMap.js +11 -11
  42. package/dist/_internal/components/data-display/FleetMap/FleetRoster.js +3 -3
  43. package/dist/_internal/components/data-display/HoverCard/HoverCard.js +3 -3
  44. package/dist/_internal/components/data-display/LazyImage/LazyImage.js +3 -3
  45. package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
  46. package/dist/_internal/components/data-display/LoadingState/LoadingState.js +3 -3
  47. package/dist/_internal/components/data-display/MapPreview/MapLayers.js +2 -2
  48. package/dist/_internal/components/data-display/MapPreview/MapPreview.js +5 -5
  49. package/dist/_internal/components/data-display/StatCard/StatCard.js +3 -3
  50. package/dist/_internal/components/data-display/index.js +35 -35
  51. package/dist/_internal/components/feedback/Dialog/Dialog.js +3 -3
  52. package/dist/_internal/components/feedback/StackedModal/StackedModal.js +6 -6
  53. package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.js +2 -2
  54. package/dist/_internal/components/feedback/index.js +14 -14
  55. package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.hooks.js +3 -3
  56. package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +5 -5
  57. package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +2 -2
  58. package/dist/_internal/components/form/Calendar/Calendar.js +4 -4
  59. package/dist/_internal/components/form/Calendar/CalendarDayCell.js +2 -2
  60. package/dist/_internal/components/form/Calendar/CalendarMonth.js +3 -3
  61. package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +2 -2
  62. package/dist/_internal/components/form/CategorySelect/CategorySelect.js +5 -5
  63. package/dist/_internal/components/form/CepField/CepField.js +3 -3
  64. package/dist/_internal/components/form/Checkbox/Checkbox.js +2 -2
  65. package/dist/_internal/components/form/CodeEditor/CodeEditor.js +2 -2
  66. package/dist/_internal/components/form/Command/Command.js +2 -2
  67. package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +7 -7
  68. package/dist/_internal/components/form/Input/Input.js +2 -2
  69. package/dist/_internal/components/form/Menubar/Menubar.js +2 -2
  70. package/dist/_internal/components/form/NumberField/NumberField.js +3 -3
  71. package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +2 -2
  72. package/dist/_internal/components/form/Switch/Switch.js +5 -5
  73. package/dist/_internal/components/form/Switch/Switch.parts.js +3 -3
  74. package/dist/_internal/components/form/Switch/Switch.styles.js +2 -2
  75. package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
  76. package/dist/_internal/components/form/index.js +35 -35
  77. package/dist/_internal/components/form/total-form/Fields/CategoryField.js +6 -6
  78. package/dist/_internal/components/form/total-form/Fields/CepField.js +4 -4
  79. package/dist/_internal/components/form/total-form/Fields/TextField.js +3 -3
  80. package/dist/_internal/components/form/total-form/Fields/index.js +12 -12
  81. package/dist/_internal/components/index.js +130 -112
  82. package/dist/_internal/components/layout/Card/Card.js +2 -2
  83. package/dist/_internal/components/layout/SettingCard/SettingGroup.js +7 -7
  84. package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +6 -6
  85. package/dist/_internal/components/layout/SettingCard/SettingToggle.js +7 -7
  86. package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +4 -4
  87. package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +3 -3
  88. package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.js +2 -2
  89. package/dist/_internal/components/layout/Skeleton/Skeleton.js +2 -2
  90. package/dist/_internal/components/layout/index.js +19 -19
  91. package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +4 -4
  92. package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +2 -2
  93. package/dist/_internal/components/navigation/Pagination/Pagination.js +2 -2
  94. package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +45 -0
  95. package/dist/_internal/components/navigation/SectionNav/SectionNav.helpers.js +14 -0
  96. package/dist/_internal/components/navigation/SectionNav/SectionNav.helpers.js.map +1 -0
  97. package/dist/_internal/components/navigation/SectionNav/SectionNav.js +45 -0
  98. package/dist/_internal/components/navigation/SectionNav/SectionNav.js.map +1 -0
  99. package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +46 -0
  100. package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js.map +1 -0
  101. package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +39 -0
  102. package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js.map +1 -0
  103. package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +39 -0
  104. package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js.map +1 -0
  105. package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +41 -0
  106. package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js.map +1 -0
  107. package/dist/_internal/components/navigation/SectionNav/SectionNav.types.js +1 -0
  108. package/dist/_internal/components/navigation/SectionNav/SectionNav.types.js.map +1 -0
  109. package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js +127 -0
  110. package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js.map +1 -0
  111. package/dist/_internal/components/navigation/index.js +39 -12
  112. package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.js +2 -2
  113. package/dist/_internal/components/utility/InstallPrompt/InstallPrompt.js +2 -2
  114. package/dist/_internal/components/utility/index.js +8 -8
  115. package/dist/_internal/en-US.navigation.js +5 -3
  116. package/dist/_internal/pt-BR.navigation.js +5 -3
  117. package/dist/_internal/social-login-button/social-login-button.js +3 -3
  118. package/dist/_internal/user-avatar/user-avatar.js +5 -5
  119. package/dist/charts.js +6 -6
  120. package/dist/{chunk-J6TIK47Z.js → chunk-2HPNN5XA.js} +2 -2
  121. package/dist/{chunk-BEGTLELZ.js → chunk-2K2B5QM2.js} +5 -5
  122. package/dist/chunk-2OP2FYB3.js +174 -0
  123. package/dist/chunk-2OP2FYB3.js.map +1 -0
  124. package/dist/chunk-3WCUGTRH.js +240 -0
  125. package/dist/chunk-3WCUGTRH.js.map +1 -0
  126. package/dist/{chunk-3I77A65F.js → chunk-442FSG7G.js} +4 -4
  127. package/dist/{chunk-ZOUWHGV3.js → chunk-4MGFUPQT.js} +4 -4
  128. package/dist/{chunk-26QYVCDK.js → chunk-525AOF6I.js} +2 -2
  129. package/dist/chunk-5AK2EZG5.js +1 -0
  130. package/dist/chunk-5AK2EZG5.js.map +1 -0
  131. package/dist/{chunk-5752357K.js → chunk-5KGABAQB.js} +4 -4
  132. package/dist/{chunk-SDKOOVEX.js → chunk-6GAZAJXB.js} +4 -4
  133. package/dist/{chunk-EO6LCGGQ.js → chunk-6J32H2RN.js} +2 -2
  134. package/dist/chunk-6OLJ2RAT.js +62 -0
  135. package/dist/chunk-6OLJ2RAT.js.map +1 -0
  136. package/dist/{chunk-7XDET7PL.js → chunk-6OQHZVK6.js} +4 -4
  137. package/dist/{chunk-F3AYISXT.js → chunk-6PU3JYVY.js} +4 -4
  138. package/dist/{chunk-RRAWJQIO.js → chunk-A64MQ7GW.js} +2 -2
  139. package/dist/{chunk-ADSA76T7.js → chunk-AG3DY5TH.js} +2 -2
  140. package/dist/{chunk-CIBTYBBN.js → chunk-AJ4MRDKM.js} +3 -3
  141. package/dist/{chunk-RJ35IXFD.js → chunk-B7HYM3QB.js} +2 -2
  142. package/dist/{chunk-X3C3VTYS.js → chunk-BEX3FLHB.js} +2 -2
  143. package/dist/{chunk-C5RTSOXD.js → chunk-BUAFRLSB.js} +2 -2
  144. package/dist/{chunk-DH6SL3SY.js → chunk-DSDNGTH6.js} +6 -6
  145. package/dist/{chunk-AUQRGZE7.js → chunk-EDZYPHZT.js} +7 -2
  146. package/dist/chunk-EDZYPHZT.js.map +1 -0
  147. package/dist/{chunk-JZ7ZRZTF.js → chunk-EJMSSDLM.js} +2 -2
  148. package/dist/{chunk-62OGPVCL.js → chunk-EPZ7B35I.js} +7 -2
  149. package/dist/chunk-EPZ7B35I.js.map +1 -0
  150. package/dist/{chunk-GP4BJI3F.js → chunk-ETCS6OBJ.js} +4 -4
  151. package/dist/{chunk-MVR4GURP.js → chunk-EU76OQGR.js} +2 -2
  152. package/dist/{chunk-DHW5UMUG.js → chunk-FNLD2KCQ.js} +4 -4
  153. package/dist/{chunk-XRUW7DMH.js → chunk-FPKVHR5L.js} +2 -2
  154. package/dist/{chunk-HKBJZX3C.js → chunk-FQ637IDM.js} +7 -7
  155. package/dist/{chunk-DDL6W7JS.js → chunk-FRD7U6QO.js} +5 -5
  156. package/dist/{chunk-YCHOWWRE.js → chunk-G6T7KRQ3.js} +2 -2
  157. package/dist/{chunk-EKBUM7HK.js → chunk-GYZUJ7HH.js} +4 -4
  158. package/dist/{chunk-ZQ7IESR7.js → chunk-H7HEB4UC.js} +5 -5
  159. package/dist/{chunk-JYLBVHG2.js → chunk-HAPELHNW.js} +7 -7
  160. package/dist/{chunk-HNFZLXZI.js → chunk-HBP2OU4Q.js} +5 -5
  161. package/dist/{chunk-K7FSTB2K.js → chunk-HSNOWYEE.js} +2 -2
  162. package/dist/chunk-HYEOKBFV.js +73 -0
  163. package/dist/chunk-HYEOKBFV.js.map +1 -0
  164. package/dist/{chunk-GI63FQEJ.js → chunk-HYNDC3FP.js} +4 -4
  165. package/dist/{chunk-ZBVU2YWV.js → chunk-IITZA6U2.js} +9 -9
  166. package/dist/{chunk-BZFRBG2H.js → chunk-IIXMTC65.js} +4 -4
  167. package/dist/{chunk-JFLFZLOA.js → chunk-IJAUHR3M.js} +4 -4
  168. package/dist/{chunk-K5CCQBNN.js → chunk-ILKNYENU.js} +4 -4
  169. package/dist/{chunk-DJIFXJ4C.js → chunk-IPI3OU2P.js} +4 -4
  170. package/dist/{chunk-6JGATEOF.js → chunk-IWYTOCCV.js} +3 -3
  171. package/dist/{chunk-5ZOJLYD2.js → chunk-JE6RZ5L6.js} +4 -4
  172. package/dist/{chunk-DE6A46AE.js → chunk-JFL5WT3S.js} +5 -5
  173. package/dist/{chunk-CYPBF3BI.js → chunk-JO4UMHWR.js} +3 -3
  174. package/dist/{chunk-LRFXCZB4.js → chunk-JWNOM5QT.js} +4 -4
  175. package/dist/{chunk-NU55QUMO.js → chunk-K45ML7M7.js} +2 -2
  176. package/dist/{chunk-OAVRXSAS.js → chunk-K7PWC44N.js} +2 -2
  177. package/dist/{chunk-ZGCPDA3F.js → chunk-KQS4ZJGS.js} +5 -5
  178. package/dist/{chunk-PAICZOL5.js → chunk-KTX7XME6.js} +4 -4
  179. package/dist/{chunk-KPZ53JY6.js → chunk-L3APNYI5.js} +3 -3
  180. package/dist/{chunk-GKNMKPR6.js → chunk-L6Q2A32O.js} +5 -5
  181. package/dist/{chunk-IG26N6J2.js → chunk-MD3ND6DT.js} +3 -3
  182. package/dist/{chunk-DTLKF4AX.js → chunk-MQ277OLB.js} +9 -9
  183. package/dist/{chunk-BA6Z52QN.js → chunk-NF4GHTZ4.js} +2 -2
  184. package/dist/{chunk-MSAAOQAD.js → chunk-NFA7STJA.js} +4 -4
  185. package/dist/{chunk-7HZTYK7U.js → chunk-NLYNRE7L.js} +4 -4
  186. package/dist/{chunk-HOIHO2YQ.js → chunk-NRI2TZDS.js} +2 -2
  187. package/dist/{chunk-VQUPB7F7.js → chunk-O25RFGPX.js} +4 -4
  188. package/dist/{chunk-Z3HSRNJT.js → chunk-OARM5RX4.js} +5 -5
  189. package/dist/{chunk-JDEKR77O.js → chunk-OERKNBKK.js} +2 -2
  190. package/dist/{chunk-WN5PNP6F.js → chunk-OP5JR5Q5.js} +4 -4
  191. package/dist/{chunk-XP522FFM.js → chunk-PARTZ7XI.js} +2 -2
  192. package/dist/{chunk-BHE44AQE.js → chunk-PCHUIDMT.js} +2 -2
  193. package/dist/{chunk-NYFGFELX.js → chunk-PGPPN63I.js} +6 -6
  194. package/dist/{chunk-Y2CMWGIU.js → chunk-PKXCQKPB.js} +2 -2
  195. package/dist/{chunk-6B3QXFF5.js → chunk-PNWGQAXQ.js} +2 -2
  196. package/dist/{chunk-IO2X6DVH.js → chunk-PSX7DAMV.js} +4 -4
  197. package/dist/{chunk-OL2BEJZR.js → chunk-Q2LQVYXY.js} +2 -2
  198. package/dist/{chunk-CMV6BRQ3.js → chunk-Q534UJ34.js} +4 -4
  199. package/dist/chunk-R26KYJHK.js +1 -0
  200. package/dist/chunk-R26KYJHK.js.map +1 -0
  201. package/dist/chunk-R73CRAAI.js +1 -0
  202. package/dist/chunk-R73CRAAI.js.map +1 -0
  203. package/dist/{chunk-VKFZQSQC.js → chunk-RPFQQP5S.js} +6 -6
  204. package/dist/chunk-SENCNTMV.js +55 -0
  205. package/dist/chunk-SENCNTMV.js.map +1 -0
  206. package/dist/{chunk-X4VWYWFK.js → chunk-SJY4DDG7.js} +4 -4
  207. package/dist/{chunk-DYCTIOER.js → chunk-SRZY6QG3.js} +5 -5
  208. package/dist/chunk-TCFBCTZD.js +168 -0
  209. package/dist/chunk-TCFBCTZD.js.map +1 -0
  210. package/dist/{chunk-44USLRMT.js → chunk-TPPFWETI.js} +6 -6
  211. package/dist/{chunk-XXL4PM4M.js → chunk-TWVRPT7J.js} +2 -2
  212. package/dist/{chunk-SM4MT4YC.js → chunk-U2UT2NDH.js} +3 -3
  213. package/dist/{chunk-5MW7OYBM.js → chunk-UJOFRJLX.js} +2 -2
  214. package/dist/{chunk-O6IF4BZT.js → chunk-UUJ7J7NE.js} +3 -3
  215. package/dist/{chunk-5JCGBCFJ.js → chunk-V2GHNHP6.js} +2 -2
  216. package/dist/{chunk-WQ3KTELX.js → chunk-V4R6Q5ED.js} +8 -8
  217. package/dist/{chunk-B3QWQG62.js → chunk-V54LG3QG.js} +2 -2
  218. package/dist/{chunk-6B4UTB4O.js → chunk-VDSQ5H4Y.js} +3 -3
  219. package/dist/chunk-VHVI3D4R.js +26 -0
  220. package/dist/chunk-VHVI3D4R.js.map +1 -0
  221. package/dist/{chunk-AEKHSORY.js → chunk-VOBVYVPN.js} +5 -5
  222. package/dist/{chunk-B2WBDMHE.js → chunk-VPH47OIV.js} +4 -4
  223. package/dist/{chunk-JSOJKHEI.js → chunk-WHYVVKRS.js} +2 -2
  224. package/dist/{chunk-KUKY5GEX.js → chunk-WU2KXA6I.js} +2 -2
  225. package/dist/{chunk-VNOXUWK7.js → chunk-X5F4FRH7.js} +4 -4
  226. package/dist/{chunk-EOEYOPOS.js → chunk-YKALXHCS.js} +11 -11
  227. package/dist/{chunk-BKBELIUR.js → chunk-YWQ7QCWR.js} +6 -6
  228. package/dist/data-display/AsyncStateContainer.js +4 -4
  229. package/dist/data-display/Avatar.js +2 -2
  230. package/dist/data-display/Badge.js +3 -2
  231. package/dist/data-display/CardKit.js +11 -11
  232. package/dist/data-display/Carousel.js +2 -2
  233. package/dist/data-display/Chart.js +6 -6
  234. package/dist/data-display/DataGrid.js +2 -2
  235. package/dist/data-display/DataViews.js +65 -65
  236. package/dist/data-display/FleetMap.js +11 -11
  237. package/dist/data-display/HoverCard.js +3 -3
  238. package/dist/data-display/LazyImage.js +3 -3
  239. package/dist/data-display/Lightbox.js +3 -3
  240. package/dist/data-display/LoadingState.js +3 -3
  241. package/dist/data-display/MapPreview.js +5 -5
  242. package/dist/data-display/StatCard.js +3 -3
  243. package/dist/en-US.js +8 -6
  244. package/dist/feedback/ConfirmAction.js +3 -3
  245. package/dist/feedback/Dialog.js +3 -3
  246. package/dist/feedback/StackedModal.js +6 -6
  247. package/dist/feedback/TutorialOverlay.js +2 -2
  248. package/dist/form/AddressAutocomplete.js +5 -5
  249. package/dist/form/Calendar.js +4 -4
  250. package/dist/form/CategorySelect.js +5 -5
  251. package/dist/form/CepField.js +3 -3
  252. package/dist/form/Checkbox.js +2 -2
  253. package/dist/form/CodeEditor.js +2 -2
  254. package/dist/form/Command.js +2 -2
  255. package/dist/form/DateRangePicker.js +9 -9
  256. package/dist/form/Input.js +2 -2
  257. package/dist/form/Menubar.js +2 -2
  258. package/dist/form/NumberField.js +3 -3
  259. package/dist/form/RichTextEditor.js +2 -2
  260. package/dist/form/Switch.js +5 -5
  261. package/dist/form/UploadButton.js +2 -2
  262. package/dist/form/total-form.js +18 -18
  263. package/dist/layout/Card.js +2 -2
  264. package/dist/layout/ContentToolbar.js +4 -4
  265. package/dist/layout/SettingCard.js +11 -11
  266. package/dist/layout/SettingsLayout.js +4 -4
  267. package/dist/layout/Skeleton.js +2 -2
  268. package/dist/locales.js +15 -8
  269. package/dist/locales.js.map +1 -1
  270. package/dist/navigation/AppHeader.js +6 -6
  271. package/dist/navigation/CommandPalette.js +2 -2
  272. package/dist/navigation/Pagination.js +2 -2
  273. package/dist/navigation/SectionNav.js +52 -0
  274. package/dist/navigation/SectionNav.js.map +1 -0
  275. package/dist/pt-BR.js +4 -2
  276. package/dist/social-login-button.js +3 -3
  277. package/dist/types/components/navigation/SectionNav/SectionNav.bar.d.ts +14 -0
  278. package/dist/types/components/navigation/SectionNav/SectionNav.bar.d.ts.map +1 -0
  279. package/dist/types/components/navigation/SectionNav/SectionNav.d.ts +16 -0
  280. package/dist/types/components/navigation/SectionNav/SectionNav.d.ts.map +1 -0
  281. package/dist/types/components/navigation/SectionNav/SectionNav.helpers.d.ts +32 -0
  282. package/dist/types/components/navigation/SectionNav/SectionNav.helpers.d.ts.map +1 -0
  283. package/dist/types/components/navigation/SectionNav/SectionNav.parts.d.ts +42 -0
  284. package/dist/types/components/navigation/SectionNav/SectionNav.parts.d.ts.map +1 -0
  285. package/dist/types/components/navigation/SectionNav/SectionNav.primary.d.ts +29 -0
  286. package/dist/types/components/navigation/SectionNav/SectionNav.primary.d.ts.map +1 -0
  287. package/dist/types/components/navigation/SectionNav/SectionNav.rail.d.ts +13 -0
  288. package/dist/types/components/navigation/SectionNav/SectionNav.rail.d.ts.map +1 -0
  289. package/dist/types/components/navigation/SectionNav/SectionNav.sheet.d.ts +20 -0
  290. package/dist/types/components/navigation/SectionNav/SectionNav.sheet.d.ts.map +1 -0
  291. package/dist/types/components/navigation/SectionNav/SectionNav.types.d.ts +102 -0
  292. package/dist/types/components/navigation/SectionNav/SectionNav.types.d.ts.map +1 -0
  293. package/dist/types/components/navigation/SectionNav/__stories__/fixtures.d.ts +20 -0
  294. package/dist/types/components/navigation/SectionNav/__stories__/fixtures.d.ts.map +1 -0
  295. package/dist/types/components/navigation/SectionNav/index.d.ts +7 -0
  296. package/dist/types/components/navigation/SectionNav/index.d.ts.map +1 -0
  297. package/dist/types/components/navigation/index.d.ts +1 -0
  298. package/dist/types/components/navigation/index.d.ts.map +1 -1
  299. package/dist/types/copy/navigation.d.ts +10 -0
  300. package/dist/types/copy/navigation.d.ts.map +1 -1
  301. package/dist/types/en-US.navigation.d.ts +2 -1
  302. package/dist/types/en-US.navigation.d.ts.map +1 -1
  303. package/dist/types/locales.d.ts +2 -1
  304. package/dist/types/locales.d.ts.map +1 -1
  305. package/dist/types/pt-BR.navigation.d.ts +2 -1
  306. package/dist/types/pt-BR.navigation.d.ts.map +1 -1
  307. package/dist/user-avatar.js +5 -5
  308. package/dist/utility/InfiniteScroll.js +2 -2
  309. package/dist/utility/InstallPrompt.js +2 -2
  310. package/package.json +5 -1
  311. package/src/components/navigation/SectionNav/SectionNav.bar.tsx +258 -0
  312. package/src/components/navigation/SectionNav/SectionNav.helpers.ts +51 -0
  313. package/src/components/navigation/SectionNav/SectionNav.md +91 -0
  314. package/src/components/navigation/SectionNav/SectionNav.parts.tsx +88 -0
  315. package/src/components/navigation/SectionNav/SectionNav.primary.tsx +81 -0
  316. package/src/components/navigation/SectionNav/SectionNav.rail.tsx +208 -0
  317. package/src/components/navigation/SectionNav/SectionNav.sheet.tsx +206 -0
  318. package/src/components/navigation/SectionNav/SectionNav.tsx +56 -0
  319. package/src/components/navigation/SectionNav/SectionNav.types.ts +108 -0
  320. package/src/components/navigation/SectionNav/__stories__/fixtures.tsx +111 -0
  321. package/src/components/navigation/SectionNav/index.ts +13 -0
  322. package/src/components/navigation/index.ts +1 -0
  323. package/src/copy/navigation.ts +11 -0
  324. package/src/en-US.navigation.ts +6 -0
  325. package/src/locales.ts +5 -0
  326. package/src/pt-BR.navigation.ts +6 -0
  327. package/dist/chunk-62OGPVCL.js.map +0 -1
  328. package/dist/chunk-AUQRGZE7.js.map +0 -1
  329. package/dist/chunk-OJSVHBQO.js +0 -1
  330. /package/dist/{chunk-OJSVHBQO.js.map → _internal/components/navigation/SectionNav/SectionNav.bar.js.map} +0 -0
  331. /package/dist/{chunk-J6TIK47Z.js.map → chunk-2HPNN5XA.js.map} +0 -0
  332. /package/dist/{chunk-BEGTLELZ.js.map → chunk-2K2B5QM2.js.map} +0 -0
  333. /package/dist/{chunk-3I77A65F.js.map → chunk-442FSG7G.js.map} +0 -0
  334. /package/dist/{chunk-ZOUWHGV3.js.map → chunk-4MGFUPQT.js.map} +0 -0
  335. /package/dist/{chunk-26QYVCDK.js.map → chunk-525AOF6I.js.map} +0 -0
  336. /package/dist/{chunk-5752357K.js.map → chunk-5KGABAQB.js.map} +0 -0
  337. /package/dist/{chunk-SDKOOVEX.js.map → chunk-6GAZAJXB.js.map} +0 -0
  338. /package/dist/{chunk-EO6LCGGQ.js.map → chunk-6J32H2RN.js.map} +0 -0
  339. /package/dist/{chunk-7XDET7PL.js.map → chunk-6OQHZVK6.js.map} +0 -0
  340. /package/dist/{chunk-F3AYISXT.js.map → chunk-6PU3JYVY.js.map} +0 -0
  341. /package/dist/{chunk-RRAWJQIO.js.map → chunk-A64MQ7GW.js.map} +0 -0
  342. /package/dist/{chunk-ADSA76T7.js.map → chunk-AG3DY5TH.js.map} +0 -0
  343. /package/dist/{chunk-CIBTYBBN.js.map → chunk-AJ4MRDKM.js.map} +0 -0
  344. /package/dist/{chunk-RJ35IXFD.js.map → chunk-B7HYM3QB.js.map} +0 -0
  345. /package/dist/{chunk-X3C3VTYS.js.map → chunk-BEX3FLHB.js.map} +0 -0
  346. /package/dist/{chunk-C5RTSOXD.js.map → chunk-BUAFRLSB.js.map} +0 -0
  347. /package/dist/{chunk-DH6SL3SY.js.map → chunk-DSDNGTH6.js.map} +0 -0
  348. /package/dist/{chunk-JZ7ZRZTF.js.map → chunk-EJMSSDLM.js.map} +0 -0
  349. /package/dist/{chunk-GP4BJI3F.js.map → chunk-ETCS6OBJ.js.map} +0 -0
  350. /package/dist/{chunk-MVR4GURP.js.map → chunk-EU76OQGR.js.map} +0 -0
  351. /package/dist/{chunk-DHW5UMUG.js.map → chunk-FNLD2KCQ.js.map} +0 -0
  352. /package/dist/{chunk-XRUW7DMH.js.map → chunk-FPKVHR5L.js.map} +0 -0
  353. /package/dist/{chunk-HKBJZX3C.js.map → chunk-FQ637IDM.js.map} +0 -0
  354. /package/dist/{chunk-DDL6W7JS.js.map → chunk-FRD7U6QO.js.map} +0 -0
  355. /package/dist/{chunk-YCHOWWRE.js.map → chunk-G6T7KRQ3.js.map} +0 -0
  356. /package/dist/{chunk-EKBUM7HK.js.map → chunk-GYZUJ7HH.js.map} +0 -0
  357. /package/dist/{chunk-ZQ7IESR7.js.map → chunk-H7HEB4UC.js.map} +0 -0
  358. /package/dist/{chunk-JYLBVHG2.js.map → chunk-HAPELHNW.js.map} +0 -0
  359. /package/dist/{chunk-HNFZLXZI.js.map → chunk-HBP2OU4Q.js.map} +0 -0
  360. /package/dist/{chunk-K7FSTB2K.js.map → chunk-HSNOWYEE.js.map} +0 -0
  361. /package/dist/{chunk-GI63FQEJ.js.map → chunk-HYNDC3FP.js.map} +0 -0
  362. /package/dist/{chunk-ZBVU2YWV.js.map → chunk-IITZA6U2.js.map} +0 -0
  363. /package/dist/{chunk-BZFRBG2H.js.map → chunk-IIXMTC65.js.map} +0 -0
  364. /package/dist/{chunk-JFLFZLOA.js.map → chunk-IJAUHR3M.js.map} +0 -0
  365. /package/dist/{chunk-K5CCQBNN.js.map → chunk-ILKNYENU.js.map} +0 -0
  366. /package/dist/{chunk-DJIFXJ4C.js.map → chunk-IPI3OU2P.js.map} +0 -0
  367. /package/dist/{chunk-6JGATEOF.js.map → chunk-IWYTOCCV.js.map} +0 -0
  368. /package/dist/{chunk-5ZOJLYD2.js.map → chunk-JE6RZ5L6.js.map} +0 -0
  369. /package/dist/{chunk-DE6A46AE.js.map → chunk-JFL5WT3S.js.map} +0 -0
  370. /package/dist/{chunk-CYPBF3BI.js.map → chunk-JO4UMHWR.js.map} +0 -0
  371. /package/dist/{chunk-LRFXCZB4.js.map → chunk-JWNOM5QT.js.map} +0 -0
  372. /package/dist/{chunk-NU55QUMO.js.map → chunk-K45ML7M7.js.map} +0 -0
  373. /package/dist/{chunk-OAVRXSAS.js.map → chunk-K7PWC44N.js.map} +0 -0
  374. /package/dist/{chunk-ZGCPDA3F.js.map → chunk-KQS4ZJGS.js.map} +0 -0
  375. /package/dist/{chunk-PAICZOL5.js.map → chunk-KTX7XME6.js.map} +0 -0
  376. /package/dist/{chunk-KPZ53JY6.js.map → chunk-L3APNYI5.js.map} +0 -0
  377. /package/dist/{chunk-GKNMKPR6.js.map → chunk-L6Q2A32O.js.map} +0 -0
  378. /package/dist/{chunk-IG26N6J2.js.map → chunk-MD3ND6DT.js.map} +0 -0
  379. /package/dist/{chunk-DTLKF4AX.js.map → chunk-MQ277OLB.js.map} +0 -0
  380. /package/dist/{chunk-BA6Z52QN.js.map → chunk-NF4GHTZ4.js.map} +0 -0
  381. /package/dist/{chunk-MSAAOQAD.js.map → chunk-NFA7STJA.js.map} +0 -0
  382. /package/dist/{chunk-7HZTYK7U.js.map → chunk-NLYNRE7L.js.map} +0 -0
  383. /package/dist/{chunk-HOIHO2YQ.js.map → chunk-NRI2TZDS.js.map} +0 -0
  384. /package/dist/{chunk-VQUPB7F7.js.map → chunk-O25RFGPX.js.map} +0 -0
  385. /package/dist/{chunk-Z3HSRNJT.js.map → chunk-OARM5RX4.js.map} +0 -0
  386. /package/dist/{chunk-JDEKR77O.js.map → chunk-OERKNBKK.js.map} +0 -0
  387. /package/dist/{chunk-WN5PNP6F.js.map → chunk-OP5JR5Q5.js.map} +0 -0
  388. /package/dist/{chunk-XP522FFM.js.map → chunk-PARTZ7XI.js.map} +0 -0
  389. /package/dist/{chunk-BHE44AQE.js.map → chunk-PCHUIDMT.js.map} +0 -0
  390. /package/dist/{chunk-NYFGFELX.js.map → chunk-PGPPN63I.js.map} +0 -0
  391. /package/dist/{chunk-Y2CMWGIU.js.map → chunk-PKXCQKPB.js.map} +0 -0
  392. /package/dist/{chunk-6B3QXFF5.js.map → chunk-PNWGQAXQ.js.map} +0 -0
  393. /package/dist/{chunk-IO2X6DVH.js.map → chunk-PSX7DAMV.js.map} +0 -0
  394. /package/dist/{chunk-OL2BEJZR.js.map → chunk-Q2LQVYXY.js.map} +0 -0
  395. /package/dist/{chunk-CMV6BRQ3.js.map → chunk-Q534UJ34.js.map} +0 -0
  396. /package/dist/{chunk-VKFZQSQC.js.map → chunk-RPFQQP5S.js.map} +0 -0
  397. /package/dist/{chunk-X4VWYWFK.js.map → chunk-SJY4DDG7.js.map} +0 -0
  398. /package/dist/{chunk-DYCTIOER.js.map → chunk-SRZY6QG3.js.map} +0 -0
  399. /package/dist/{chunk-44USLRMT.js.map → chunk-TPPFWETI.js.map} +0 -0
  400. /package/dist/{chunk-XXL4PM4M.js.map → chunk-TWVRPT7J.js.map} +0 -0
  401. /package/dist/{chunk-SM4MT4YC.js.map → chunk-U2UT2NDH.js.map} +0 -0
  402. /package/dist/{chunk-5MW7OYBM.js.map → chunk-UJOFRJLX.js.map} +0 -0
  403. /package/dist/{chunk-O6IF4BZT.js.map → chunk-UUJ7J7NE.js.map} +0 -0
  404. /package/dist/{chunk-5JCGBCFJ.js.map → chunk-V2GHNHP6.js.map} +0 -0
  405. /package/dist/{chunk-WQ3KTELX.js.map → chunk-V4R6Q5ED.js.map} +0 -0
  406. /package/dist/{chunk-B3QWQG62.js.map → chunk-V54LG3QG.js.map} +0 -0
  407. /package/dist/{chunk-6B4UTB4O.js.map → chunk-VDSQ5H4Y.js.map} +0 -0
  408. /package/dist/{chunk-AEKHSORY.js.map → chunk-VOBVYVPN.js.map} +0 -0
  409. /package/dist/{chunk-B2WBDMHE.js.map → chunk-VPH47OIV.js.map} +0 -0
  410. /package/dist/{chunk-JSOJKHEI.js.map → chunk-WHYVVKRS.js.map} +0 -0
  411. /package/dist/{chunk-KUKY5GEX.js.map → chunk-WU2KXA6I.js.map} +0 -0
  412. /package/dist/{chunk-VNOXUWK7.js.map → chunk-X5F4FRH7.js.map} +0 -0
  413. /package/dist/{chunk-EOEYOPOS.js.map → chunk-YKALXHCS.js.map} +0 -0
  414. /package/dist/{chunk-BKBELIUR.js.map → chunk-YWQ7QCWR.js.map} +0 -0
package/dist/pt-BR.js CHANGED
@@ -5,8 +5,9 @@ import {
5
5
  } from "./chunk-Z24VOTA7.js";
6
6
  import {
7
7
  PT_BR_BREADCRUMB_COPY,
8
- PT_BR_COMMAND_PALETTE_COPY
9
- } from "./chunk-62OGPVCL.js";
8
+ PT_BR_COMMAND_PALETTE_COPY,
9
+ PT_BR_SECTION_NAV_COPY
10
+ } from "./chunk-EPZ7B35I.js";
10
11
  import {
11
12
  PT_BR_ADDRESS_AUTOCOMPLETE_COPY,
12
13
  PT_BR_AUTOCOMPLETE_COPY,
@@ -66,6 +67,7 @@ export {
66
67
  PT_BR_PHONE_INPUT_COPY,
67
68
  PT_BR_RICH_EDITOR_TOOLBAR_COPY,
68
69
  PT_BR_SAVED_VIEWS_LABELS,
70
+ PT_BR_SECTION_NAV_COPY,
69
71
  PT_BR_SECTION_ONBOARDING_COPY,
70
72
  PT_BR_SETTING_CARD_COPY,
71
73
  PT_BR_SETTING_SWITCH_COPY,
@@ -4,7 +4,7 @@ import {
4
4
  GoogleIcon,
5
5
  SocialLoginButton,
6
6
  SocialLoginContainer
7
- } from "./chunk-JSOJKHEI.js";
7
+ } from "./chunk-WHYVVKRS.js";
8
8
  import "./chunk-INGPH3YQ.js";
9
9
  import "./chunk-6GP2DOOO.js";
10
10
  import "./chunk-C4QKXFZN.js";
@@ -15,9 +15,9 @@ import "./chunk-RWXYND4H.js";
15
15
  import "./chunk-JIRZ27RI.js";
16
16
  import "./chunk-VUHLNYAE.js";
17
17
  import "./chunk-2GSIEDGN.js";
18
- import "./chunk-WN5PNP6F.js";
19
- import "./chunk-FKUYRQSP.js";
18
+ import "./chunk-OP5JR5Q5.js";
20
19
  import "./chunk-76X6JRVI.js";
20
+ import "./chunk-FKUYRQSP.js";
21
21
  import "./chunk-JH7EEJEQ.js";
22
22
  import "./chunk-BA4RHQ3B.js";
23
23
  import "./chunk-K6LNHHSH.js";
@@ -0,0 +1,14 @@
1
+ import { type ElementType } from 'react';
2
+ import { rem } from '../../../tokens/scales';
3
+ import type { SectionNavProps } from './SectionNav.types';
4
+ /**
5
+ * The bar's full height on screen, the safe area included — where its sheets
6
+ * stop, and what a host reserves at the foot of its content so nothing it
7
+ * floats (a toast, a receipt) lands under the bar.
8
+ */
9
+ export declare function sectionNavBarInset(theme: Parameters<typeof rem>[0]): string;
10
+ /** The phone layout: a bottom bar, with its menus as bottom sheets. */
11
+ export declare function SectionNavBar({ label, destinations, primary, more, linkComponent, copy, dataTestId, }: Required<Pick<SectionNavProps, 'label' | 'destinations' | 'copy' | 'dataTestId'>> & Pick<SectionNavProps, 'primary' | 'more'> & {
12
+ linkComponent: ElementType | undefined;
13
+ }): React.JSX.Element;
14
+ //# sourceMappingURL=SectionNav.bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNav.bar.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/SectionNav.bar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,WAAW,EAAkB,MAAM,OAAO,CAAC;AAGnE,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAM7C,OAAO,KAAK,EAAkB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAQ1E;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAE3E;AAyJD,uEAAuE;AACvE,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,aAAa,EACb,IAAI,EACJ,UAAU,GACX,EAAE,QAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,YAAY,CAAC,CAAC,GAClF,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,MAAM,CAAC,GAAG;IAAE,aAAa,EAAE,WAAW,GAAG,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAoE3G"}
@@ -0,0 +1,16 @@
1
+ import type { SectionNavProps } from './SectionNav.types';
2
+ /**
3
+ * A section's own navigation — the handful of screens one kind of work moves
4
+ * between — as a bottom bar on a phone or a rail on a wide screen.
5
+ *
6
+ * It knows no product. The host decides every destination, label, icon,
7
+ * count and which one is current, and renders links through its own router
8
+ * (`linkComponent`). The nav decides only how they are drawn: the order of the
9
+ * bar's slots, the raised primary action, the sheets, the rail's sections.
10
+ *
11
+ * Which layout to use is the host's call too, because the host knows what
12
+ * else is on screen: a bar next to a sidebar is two navigations competing for
13
+ * one glance.
14
+ */
15
+ export declare function SectionNav({ layout, label, destinations, primary, more, back, heading, linkComponent, copy, dataTestId, }: SectionNavProps): React.JSX.Element;
16
+ //# sourceMappingURL=SectionNav.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNav.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/SectionNav.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAAK,EACL,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,aAAa,EACb,IAAI,EACJ,UAA0B,GAC3B,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA2BrC"}
@@ -0,0 +1,32 @@
1
+ import type { SectionNavDestination, SectionNavMenu } from './SectionNav.types';
2
+ /** A count worth drawing: positive and finite. Zero and "unknown" draw nothing. */
3
+ export declare function shownCount(count: number | undefined): number | undefined;
4
+ /**
5
+ * The "more" slot's badge: its entries' counts, rolled up.
6
+ *
7
+ * The same reason a folded sidebar parent shows its children's counts — the
8
+ * sheet starts closed, so a count only visible once it is opened is one nobody
9
+ * sees.
10
+ */
11
+ export declare function menuCount(menu: SectionNavMenu | undefined): number | undefined;
12
+ /** Is the viewer on one of this menu's entries? Then its slot reads as current. */
13
+ export declare function menuActive(menu: SectionNavMenu | undefined): boolean;
14
+ /** What one bar slot holds, in left-to-right order. */
15
+ export type BarSlot = {
16
+ kind: 'destination';
17
+ destination: SectionNavDestination;
18
+ } | {
19
+ kind: 'more';
20
+ } | {
21
+ kind: 'primary';
22
+ };
23
+ /**
24
+ * The bar's slots: the destinations, then `more`, with `primary` in the MIDDLE.
25
+ *
26
+ * The middle is where a thumb rests and where a raised button reads as the
27
+ * one thing this bar is for. With four slots it lands between the second and
28
+ * the third; with an odd count it takes the lower middle, so the heavier side
29
+ * is the right one, under the thumb of a right-handed phone.
30
+ */
31
+ export declare function barSlots(destinations: readonly SectionNavDestination[], hasMore: boolean, hasPrimary: boolean): BarSlot[];
32
+ //# sourceMappingURL=SectionNav.helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNav.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/SectionNav.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEhF,mFAAmF;AACnF,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAExE;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAM9E;AAED,mFAAmF;AACnF,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAEpE;AAED,uDAAuD;AACvD,MAAM,MAAM,OAAO,GACf;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,WAAW,EAAE,qBAAqB,CAAA;CAAE,GAC3D;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AAExB;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CACtB,YAAY,EAAE,SAAS,qBAAqB,EAAE,EAC9C,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,OAAO,GAClB,OAAO,EAAE,CAKX"}
@@ -0,0 +1,42 @@
1
+ import Box from '@mui/material/Box/index.js';
2
+ import type { SxProps, Theme } from '@mui/material/styles/index.js';
3
+ import type { ElementType, ReactNode } from 'react';
4
+ /**
5
+ * An icon with its count on the shoulder.
6
+ *
7
+ * Quiet to assistive tech on change: the count moves on a poll, and a control
8
+ * that announces itself every minute is noise. Its NAME carries the number,
9
+ * so it is read when the control is.
10
+ */
11
+ export declare function CountedIcon({ icon, count, label, testId, }: {
12
+ icon: ReactNode;
13
+ count: number | undefined;
14
+ label: (count: number) => string;
15
+ testId: string;
16
+ }): React.JSX.Element;
17
+ /** The keyboard ring every control in the nav draws, in the theme's own colour. */
18
+ export declare function focusRing(theme: Theme): SxProps<Theme>;
19
+ /**
20
+ * The element an entry or destination renders as: the host's link for an
21
+ * `href`, a button for an `onSelect`.
22
+ *
23
+ * Returned as props for a `Box`, so the control stays ONE interactive
24
+ * element — never a button wrapped around a link.
25
+ */
26
+ export declare function controlProps({ href, onClick, linkComponent, }: {
27
+ href: string | undefined;
28
+ onClick?: () => void;
29
+ linkComponent: ElementType | undefined;
30
+ }): Record<string, unknown>;
31
+ /** The base reset every clickable in the nav shares: no underline, no button chrome. */
32
+ export declare const CONTROL_RESET: {
33
+ readonly border: 0;
34
+ readonly background: "none";
35
+ readonly font: "inherit";
36
+ readonly color: "inherit";
37
+ readonly textDecoration: "none";
38
+ readonly cursor: "pointer";
39
+ readonly margin: 0;
40
+ };
41
+ export { Box };
42
+ //# sourceMappingURL=SectionNav.parts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNav.parts.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/SectionNav.parts.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,4BAA4B,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOpD;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAK,EACL,KAAK,EACL,MAAM,GACP,EAAE;IACD,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAkBpB;AAED,mFAAmF;AACnF,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,CAOtD;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,OAAO,EACP,aAAa,GACd,EAAE;IACD,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,EAAE,WAAW,GAAG,SAAS,CAAC;CACxC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAG1B;AAED,wFAAwF;AACxF,eAAO,MAAM,aAAa;;;;;;;;CAQhB,CAAC;AAEX,OAAO,EAAE,GAAG,EAAE,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface RaisedActionButtonProps {
3
+ /** The button's accessible name — it has no visible label. */
4
+ label: string;
5
+ icon: ReactNode;
6
+ onClick: () => void;
7
+ /**
8
+ * Whether what the button opens is open. Omit for a button that opens
9
+ * nothing (a plain action): it then carries no `aria-expanded` and its icon
10
+ * never turns.
11
+ */
12
+ open?: boolean;
13
+ /** The name it takes while `open` — the same control closes what it opened. REQUIRED with `open`. */
14
+ closeLabel?: string;
15
+ dataTestId?: string;
16
+ }
17
+ /**
18
+ * The raised round button in the middle of a bottom bar — the one control in
19
+ * the row that is an ACTION rather than a place.
20
+ *
21
+ * Lifted half out of the bar so it reads as different in kind from the tabs
22
+ * beside it, and unlabelled so it costs the row less width than a tab: that
23
+ * width is what lets a bar keep four labelled tabs AND this button at 320px.
24
+ *
25
+ * `SectionNav` draws it for its `primary` menu. It is exported on its own for
26
+ * a bar the host already draws — drop it between two tabs, in a flex row.
27
+ */
28
+ export declare function RaisedActionButton({ label, icon, onClick, open, closeLabel, dataTestId, }: RaisedActionButtonProps): React.JSX.Element;
29
+ //# sourceMappingURL=SectionNav.primary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNav.primary.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/SectionNav.primary.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,uBAAuB;IACtC,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,qGAAqG;IACrG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,UAAU,EACV,UAA4B,GAC7B,EAAE,uBAAuB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAuC7C"}
@@ -0,0 +1,13 @@
1
+ import type { ElementType } from 'react';
2
+ import type { SectionNavProps } from './SectionNav.types';
3
+ /**
4
+ * The wide-screen layout: a vertical rail — the way back, the destinations,
5
+ * then every menu's entries.
6
+ *
7
+ * It fills the column the host gives it and scrolls on its own, like the
8
+ * sidebar it stands in for.
9
+ */
10
+ export declare function SectionNavRail({ label, destinations, primary, more, back, heading, linkComponent, copy, dataTestId, }: Required<Pick<SectionNavProps, 'label' | 'destinations' | 'copy' | 'dataTestId'>> & Pick<SectionNavProps, 'primary' | 'more' | 'back' | 'heading'> & {
11
+ linkComponent: ElementType | undefined;
12
+ }): React.JSX.Element;
13
+ //# sourceMappingURL=SectionNav.rail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNav.rail.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/SectionNav.rail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,OAAO,CAAC;AAMpD,OAAO,KAAK,EAAkB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAqH1E;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,aAAa,EACb,IAAI,EACJ,UAAU,GACX,EAAE,QAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,YAAY,CAAC,CAAC,GAClF,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,GAAG;IAC/D,aAAa,EAAE,WAAW,GAAG,SAAS,CAAC;CACxC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA8DtB"}
@@ -0,0 +1,20 @@
1
+ import type { ElementType } from 'react';
2
+ import type { SectionNavMenu } from './SectionNav.types';
3
+ import type { SectionNavCopy } from '../../../copy';
4
+ /**
5
+ * A menu opened from the bar: a bottom sheet over the page.
6
+ *
7
+ * Choosing an entry closes it — a link has somewhere to go and an action has
8
+ * something to do, and neither wants the sheet still covering the screen.
9
+ */
10
+ export declare function SectionNavSheet({ menu, open, onClose, linkComponent, copy, testId, bottomOffset, }: {
11
+ menu: SectionNavMenu;
12
+ open: boolean;
13
+ onClose: () => void;
14
+ linkComponent: ElementType | undefined;
15
+ copy: SectionNavCopy;
16
+ testId: string;
17
+ /** How far above the viewport's foot the sheet stops — the bar's own height, so the bar stays visible. */
18
+ bottomOffset: string;
19
+ }): React.JSX.Element;
20
+ //# sourceMappingURL=SectionNav.sheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNav.sheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/SectionNav.sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAMzC,OAAO,KAAK,EAAoC,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAiIpD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,aAAa,EACb,IAAI,EACJ,MAAM,EACN,YAAY,GACb,EAAE;IACD,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,WAAW,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,0GAA0G;IAC1G,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4CpB"}
@@ -0,0 +1,102 @@
1
+ import type { ElementType, ReactNode } from 'react';
2
+ import type { SectionNavCopy } from '../../../copy';
3
+ /**
4
+ * One place the section leads to — a bar slot on a phone, a row in the rail.
5
+ */
6
+ export interface SectionNavDestination {
7
+ /** Stable key. Also the suffix of the slot's `data-testid`. */
8
+ id: string;
9
+ label: string;
10
+ icon: ReactNode;
11
+ href: string;
12
+ /**
13
+ * How many things behind this destination wait on the viewer. `0` and
14
+ * `undefined` render no badge — "nothing waiting" and "not known yet" are
15
+ * different claims and neither is a number.
16
+ */
17
+ badge?: number;
18
+ /** The destination the viewer is on. The host decides; the nav never reads the URL. */
19
+ active?: boolean;
20
+ }
21
+ /**
22
+ * One entry inside a menu — a sheet tile on a phone, a row in the rail.
23
+ *
24
+ * An entry either LEADS somewhere (`href`, rendered through `linkComponent`)
25
+ * or DOES something (`onSelect`). Give it one or the other.
26
+ */
27
+ export interface SectionNavEntry {
28
+ id: string;
29
+ label: string;
30
+ /** A second line under the label. Shown by `list` groups and in the rail. */
31
+ description?: string;
32
+ icon: ReactNode;
33
+ href?: string;
34
+ onSelect?: () => void;
35
+ badge?: number;
36
+ active?: boolean;
37
+ }
38
+ /** A titled run of entries inside a menu. */
39
+ export interface SectionNavGroup {
40
+ id: string;
41
+ /** Heading above the entries. Omit for a group that needs none. */
42
+ title?: string;
43
+ /**
44
+ * How the phone sheet draws the entries: `grid` is three tiles across,
45
+ * `list` one row each with its description. The rail always lists.
46
+ * Defaults to `list`.
47
+ */
48
+ layout?: 'grid' | 'list';
49
+ entries: SectionNavEntry[];
50
+ }
51
+ /**
52
+ * A menu the nav opens: the centred primary action, or the "more" slot.
53
+ *
54
+ * On a phone it opens as a bottom sheet over the page. In the rail there is
55
+ * room for everything, so its groups are listed under `title` instead of
56
+ * hiding behind a trigger.
57
+ */
58
+ export interface SectionNavMenu {
59
+ /** The trigger's accessible name, and the visible label of the "more" slot. */
60
+ label: string;
61
+ icon: ReactNode;
62
+ /** The sheet's heading, and the rail section's. */
63
+ title: string;
64
+ groups: SectionNavGroup[];
65
+ }
66
+ /** The way out of the section, drawn at the top of the rail. */
67
+ export interface SectionNavBack {
68
+ label: string;
69
+ href: string;
70
+ icon?: ReactNode;
71
+ }
72
+ export interface SectionNavProps {
73
+ /**
74
+ * `bar` — a bottom tab bar for a phone: the destinations, `more` as the last
75
+ * slot, and `primary` as a raised button in the middle.
76
+ *
77
+ * `rail` — a vertical list for a wide screen, with `back` and `heading` on
78
+ * top and every menu's entries listed rather than folded away.
79
+ */
80
+ layout: 'bar' | 'rail';
81
+ /** The navigation landmark's accessible name. */
82
+ label: string;
83
+ destinations: SectionNavDestination[];
84
+ /** The raised action in the middle of the bar. */
85
+ primary?: SectionNavMenu;
86
+ /** The last slot of the bar. Its badge is the sum of its entries' badges. */
87
+ more?: SectionNavMenu;
88
+ /** Rail only: the way back out of the section. */
89
+ back?: SectionNavBack;
90
+ /** Rail only: a heading above the destinations. */
91
+ heading?: string;
92
+ /**
93
+ * The component every `href` renders through — a router's link adapter that
94
+ * takes `href`. Omitted, a plain `<a>` is used and navigation reloads.
95
+ */
96
+ linkComponent?: ElementType;
97
+ /** The nav's own words. REQUIRED — the component carries none. */
98
+ copy: SectionNavCopy;
99
+ /** Prefix for every `data-testid`. Defaults to `"section-nav"`. */
100
+ dataTestId?: string;
101
+ }
102
+ //# sourceMappingURL=SectionNav.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNav.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/SectionNav.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,+DAA+D;IAC/D,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,6CAA6C;AAC7C,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,eAAe,EAAE,CAAC;CAC3B;AAED,gEAAgE;AAChE,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B;;;;;;OAMG;IACH,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC;IACvB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,qBAAqB,EAAE,CAAC;IACtC,kDAAkD;IAClD,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,kDAAkD;IAClD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,kEAAkE;IAClE,IAAI,EAAE,cAAc,CAAC;IACrB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import type { SectionNavDestination, SectionNavMenu } from '../SectionNav.types';
3
+ /**
4
+ * The stories' example section, shared by the showcase and the interaction
5
+ * tests. Kept out of the `*.stories.tsx` files because Storybook reads every
6
+ * named export there as a story.
7
+ */
8
+ /** A restaurant's shift, as the example section: the floor, the board, the waiter's round. */
9
+ export declare const DESTINATIONS: SectionNavDestination[];
10
+ export declare const PRIMARY: SectionNavMenu;
11
+ export declare const MORE: SectionNavMenu;
12
+ /** A phone-sized frame with the bar at its foot, the way a host docks it. */
13
+ export declare function PhoneFrame({ children }: {
14
+ children: React.ReactNode;
15
+ }): React.ReactElement;
16
+ /** A desktop-column-sized frame for the rail. */
17
+ export declare function RailFrame({ children }: {
18
+ children: React.ReactNode;
19
+ }): React.ReactElement;
20
+ //# sourceMappingURL=fixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../../src/components/navigation/SectionNav/__stories__/fixtures.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjF;;;;GAIG;AAEH,8FAA8F;AAC9F,eAAO,MAAM,YAAY,EAAE,qBAAqB,EAI/C,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,cA6BrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,cAiBlB,CAAC;AAEF,6EAA6E;AAC7E,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAoB1F;AAGD,iDAAiD;AACjD,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CAEzF"}
@@ -0,0 +1,7 @@
1
+ export { SectionNav } from './SectionNav';
2
+ export { sectionNavBarInset } from './SectionNav.bar';
3
+ export { RaisedActionButton } from './SectionNav.primary';
4
+ export type { RaisedActionButtonProps } from './SectionNav.primary';
5
+ export type { SectionNavBack, SectionNavDestination, SectionNavEntry, SectionNavGroup, SectionNavMenu, SectionNavProps, } from './SectionNav.types';
6
+ export type { SectionNavCopy } from '../../../copy';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation/SectionNav/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,YAAY,EACV,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC"}
@@ -5,5 +5,6 @@ export * from './ContextMenu';
5
5
  export * from './DropdownMenu';
6
6
  export * from './NavigationMenu';
7
7
  export * from './Pagination';
8
+ export * from './SectionNav';
8
9
  export * from './Tabs';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
@@ -16,6 +16,16 @@ export interface CommandPaletteCopy {
16
16
  recent: string;
17
17
  tryAnotherTerm: string;
18
18
  }
19
+ /**
20
+ * `SectionNav`'s own words — only the chrome it draws around the host's
21
+ * destinations. Every destination and menu label is the host's, per prop.
22
+ */
23
+ export interface SectionNavCopy {
24
+ /** The open primary trigger's accessible name, and the sheet's close button. */
25
+ close: string;
26
+ /** A badge's accessible name — "3 pending", for a count of 3. */
27
+ badge: (count: number) => string;
28
+ }
19
29
  /** The breadcrumb's overflow control, in its two spellings. */
20
30
  export interface BreadcrumbCopy {
21
31
  showMore: string;
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/copy/navigation.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,8DAA8D;AAC9D,MAAM,WAAW,kBAAkB;IACjC,2DAA2D;IAC3D,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,+DAA+D;AAC/D,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/copy/navigation.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,8DAA8D;AAC9D,MAAM,WAAW,kBAAkB;IACjC,2DAA2D;IAC3D,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAClC;AAED,+DAA+D;AAC/D,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -2,7 +2,8 @@
2
2
  * The en-US pack for the navigation family. Split the same way
3
3
  * `pt-BR.navigation.ts` is — see `en-US.ts` for why.
4
4
  */
5
- import type { BreadcrumbCopy, CommandPaletteCopy } from './copy';
5
+ import type { BreadcrumbCopy, CommandPaletteCopy, SectionNavCopy } from './copy';
6
6
  export declare const EN_US_COMMAND_PALETTE_COPY: CommandPaletteCopy;
7
7
  export declare const EN_US_BREADCRUMB_COPY: BreadcrumbCopy;
8
+ export declare const EN_US_SECTION_NAV_COPY: SectionNavCopy;
8
9
  //# sourceMappingURL=en-US.navigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"en-US.navigation.d.ts","sourceRoot":"","sources":["../../src/en-US.navigation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EACnB,MAAM,QAAQ,CAAC;AAEhB,eAAO,MAAM,0BAA0B,EAAE,kBAQxC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAGnC,CAAC"}
1
+ {"version":3,"file":"en-US.navigation.d.ts","sourceRoot":"","sources":["../../src/en-US.navigation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,cAAc,EACf,MAAM,QAAQ,CAAC;AAEhB,eAAO,MAAM,0BAA0B,EAAE,kBAQxC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAGnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,cAGpC,CAAC"}
@@ -19,7 +19,7 @@
19
19
  */
20
20
  import type { DataViewsCopy } from './components/data-display/DataViews/data-views-copy';
21
21
  import type { SavedViewsLabels } from './components/layout/ContentToolbar/ContentToolbar.types';
22
- import type { AddressAutocompleteCopy, AutocompleteCopy, BreadcrumbCopy, CarouselCopy, CategorySelectCopy, CepFieldCopy, ChromeCopy, CodeEditorCopy, CommandPaletteCopy, ConfirmActionCopy, DataGridCopy, DataStateCopy, InstallPromptCopy, LightboxCopy, MapPreviewCopy, PasswordStrengthCopy, PhoneInputCopy, RichEditorToolbarCopy, SectionOnboardingCopy, SettingCardCopy, SettingSwitchCopy, SocialLoginCopy, TableFilterCopy, TimingDiagramCopy, TutorialCopy, UploadButtonCopy, UserAvatarCopy } from "./copy";
22
+ import type { AddressAutocompleteCopy, AutocompleteCopy, BreadcrumbCopy, CarouselCopy, CategorySelectCopy, CepFieldCopy, ChromeCopy, CodeEditorCopy, CommandPaletteCopy, SectionNavCopy, ConfirmActionCopy, DataGridCopy, DataStateCopy, InstallPromptCopy, LightboxCopy, MapPreviewCopy, PasswordStrengthCopy, PhoneInputCopy, RichEditorToolbarCopy, SectionOnboardingCopy, SettingCardCopy, SettingSwitchCopy, SocialLoginCopy, TableFilterCopy, TimingDiagramCopy, TutorialCopy, UploadButtonCopy, UserAvatarCopy } from "./copy";
23
23
  type LocalePack<T> = {
24
24
  readonly 'pt-BR': T;
25
25
  readonly 'en-US': T;
@@ -45,6 +45,7 @@ export declare const TABLE_FILTER_COPY: LocalePack<TableFilterCopy>;
45
45
  export declare const SETTING_CARD_COPY: LocalePack<SettingCardCopy>;
46
46
  export declare const SETTING_SWITCH_COPY: LocalePack<SettingSwitchCopy>;
47
47
  export declare const COMMAND_PALETTE_COPY: LocalePack<CommandPaletteCopy>;
48
+ export declare const SECTION_NAV_COPY: LocalePack<SectionNavCopy>;
48
49
  export declare const BREADCRUMB_COPY: LocalePack<BreadcrumbCopy>;
49
50
  export declare const SECTION_ONBOARDING_COPY: LocalePack<SectionOnboardingCopy>;
50
51
  export declare const CONFIRM_ACTION_COPY: LocalePack<ConfirmActionCopy>;
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../src/locales.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACf,MAAM,QAAQ,CAAC;AAIhB,KAAK,UAAU,CAAC,CAAC,IAAI;IAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA;CAAE,CAAC;AAKlE,eAAO,MAAM,aAAa,0BAAqE,CAAC;AAChG,eAAO,MAAM,gBAAgB,4BAG5B,CAAC;AACF,eAAO,MAAM,aAAa,0BAAqE,CAAC;AAChG,eAAO,MAAM,mBAAmB,+BAG/B,CAAC;AACF,eAAO,MAAM,eAAe,2BAG3B,CAAC;AACF,eAAO,MAAM,cAAc,0BAAuE,CAAC;AACnG,eAAO,MAAM,eAAe,2BAG3B,CAAC;AAGF,eAAO,MAAM,aAAa,0BAAqE,CAAC;AAChG,eAAO,MAAM,WAAW,wBAA+D,CAAC;AAGxF,eAAO,MAAM,iBAAiB,6BAG7B,CAAC;AACF,eAAO,MAAM,yBAAyB,qCAGrC,CAAC;AACF,eAAO,MAAM,iBAAiB,8BAG7B,CAAC;AACF,eAAO,MAAM,gBAAgB,4BAG5B,CAAC;AACF,eAAO,MAAM,sBAAsB,kCAGlC,CAAC;AACF,eAAO,MAAM,wBAAwB,mCAGpC,CAAC;AACF,eAAO,MAAM,gBAAgB,4BAG5B,CAAC;AACF,eAAO,MAAM,kBAAkB,8BAG9B,CAAC;AAGF,eAAO,MAAM,iBAAiB,6BAG7B,CAAC;AACF,eAAO,MAAM,iBAAiB,6BAG7B,CAAC;AACF,eAAO,MAAM,mBAAmB,+BAG/B,CAAC;AAGF,eAAO,MAAM,oBAAoB,gCAGhC,CAAC;AACF,eAAO,MAAM,eAAe,4BAG3B,CAAC;AAGF,eAAO,MAAM,uBAAuB,mCAGnC,CAAC;AACF,eAAO,MAAM,mBAAmB,+BAG/B,CAAC;AACF,eAAO,MAAM,oBAAoB,gCAGhC,CAAC;AACF,eAAO,MAAM,cAAc,0BAAuE,CAAC;AACnG,eAAO,MAAM,kBAAkB,8BAG9B,CAAC;AAGF,eAAO,MAAM,mBAAmB,+BAG/B,CAAC;AACF,eAAO,MAAM,gBAAgB,4BAG5B,CAAC"}
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../src/locales.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,EACV,uBAAuB,EACvB,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACf,MAAM,QAAQ,CAAC;AAIhB,KAAK,UAAU,CAAC,CAAC,IAAI;IAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA;CAAE,CAAC;AAKlE,eAAO,MAAM,aAAa,0BAAqE,CAAC;AAChG,eAAO,MAAM,gBAAgB,4BAG5B,CAAC;AACF,eAAO,MAAM,aAAa,0BAAqE,CAAC;AAChG,eAAO,MAAM,mBAAmB,+BAG/B,CAAC;AACF,eAAO,MAAM,eAAe,2BAG3B,CAAC;AACF,eAAO,MAAM,cAAc,0BAAuE,CAAC;AACnG,eAAO,MAAM,eAAe,2BAG3B,CAAC;AAGF,eAAO,MAAM,aAAa,0BAAqE,CAAC;AAChG,eAAO,MAAM,WAAW,wBAA+D,CAAC;AAGxF,eAAO,MAAM,iBAAiB,6BAG7B,CAAC;AACF,eAAO,MAAM,yBAAyB,qCAGrC,CAAC;AACF,eAAO,MAAM,iBAAiB,8BAG7B,CAAC;AACF,eAAO,MAAM,gBAAgB,4BAG5B,CAAC;AACF,eAAO,MAAM,sBAAsB,kCAGlC,CAAC;AACF,eAAO,MAAM,wBAAwB,mCAGpC,CAAC;AACF,eAAO,MAAM,gBAAgB,4BAG5B,CAAC;AACF,eAAO,MAAM,kBAAkB,8BAG9B,CAAC;AAGF,eAAO,MAAM,iBAAiB,6BAG7B,CAAC;AACF,eAAO,MAAM,iBAAiB,6BAG7B,CAAC;AACF,eAAO,MAAM,mBAAmB,+BAG/B,CAAC;AAGF,eAAO,MAAM,oBAAoB,gCAGhC,CAAC;AACF,eAAO,MAAM,gBAAgB,4BAG5B,CAAC;AACF,eAAO,MAAM,eAAe,4BAG3B,CAAC;AAGF,eAAO,MAAM,uBAAuB,mCAGnC,CAAC;AACF,eAAO,MAAM,mBAAmB,+BAG/B,CAAC;AACF,eAAO,MAAM,oBAAoB,gCAGhC,CAAC;AACF,eAAO,MAAM,cAAc,0BAAuE,CAAC;AACnG,eAAO,MAAM,kBAAkB,8BAG9B,CAAC;AAGF,eAAO,MAAM,mBAAmB,+BAG/B,CAAC;AACF,eAAO,MAAM,gBAAgB,4BAG5B,CAAC"}
@@ -2,7 +2,8 @@
2
2
  * The pt-BR pack for the navigation family. Split out of `pt-BR.ts`, which is a
3
3
  * barrel over this folder — see that file for why.
4
4
  */
5
- import type { BreadcrumbCopy, CommandPaletteCopy } from './copy';
5
+ import type { BreadcrumbCopy, CommandPaletteCopy, SectionNavCopy } from './copy';
6
6
  export declare const PT_BR_COMMAND_PALETTE_COPY: CommandPaletteCopy;
7
7
  export declare const PT_BR_BREADCRUMB_COPY: BreadcrumbCopy;
8
+ export declare const PT_BR_SECTION_NAV_COPY: SectionNavCopy;
8
9
  //# sourceMappingURL=pt-BR.navigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pt-BR.navigation.d.ts","sourceRoot":"","sources":["../../src/pt-BR.navigation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EACnB,MAAM,QAAQ,CAAC;AAEhB,eAAO,MAAM,0BAA0B,EAAE,kBAMxC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAGnC,CAAC"}
1
+ {"version":3,"file":"pt-BR.navigation.d.ts","sourceRoot":"","sources":["../../src/pt-BR.navigation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,cAAc,EACf,MAAM,QAAQ,CAAC;AAEhB,eAAO,MAAM,0BAA0B,EAAE,kBAMxC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAGnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,cAGpC,CAAC"}
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  UserAvatar,
3
3
  UserMenu
4
- } from "./chunk-O6IF4BZT.js";
4
+ } from "./chunk-UUJ7J7NE.js";
5
5
  import "./chunk-UDQSIRAP.js";
6
- import "./chunk-NYFGFELX.js";
7
- import "./chunk-3ZVUNSFF.js";
6
+ import "./chunk-PGPPN63I.js";
8
7
  import "./chunk-TNQDSTIA.js";
9
8
  import "./chunk-6ZZGK5DT.js";
9
+ import "./chunk-3ZVUNSFF.js";
10
10
  import "./chunk-MTEQEPNY.js";
11
11
  import "./chunk-VUHLNYAE.js";
12
12
  import "./chunk-2GSIEDGN.js";
13
- import "./chunk-WN5PNP6F.js";
14
- import "./chunk-FKUYRQSP.js";
13
+ import "./chunk-OP5JR5Q5.js";
15
14
  import "./chunk-76X6JRVI.js";
15
+ import "./chunk-FKUYRQSP.js";
16
16
  import "./chunk-JH7EEJEQ.js";
17
17
  import "./chunk-BA4RHQ3B.js";
18
18
  import "./chunk-K6LNHHSH.js";
@@ -1,9 +1,9 @@
1
1
  import "../chunk-H7NA4TXY.js";
2
2
  import {
3
3
  InfiniteScroll
4
- } from "../chunk-HNFZLXZI.js";
5
- import "../chunk-Y2X7LYIN.js";
4
+ } from "../chunk-HBP2OU4Q.js";
6
5
  import "../chunk-5KNDAC24.js";
6
+ import "../chunk-Y2X7LYIN.js";
7
7
  import "../chunk-YKCAJ2TN.js";
8
8
  import "../chunk-PZ5AY32C.js";
9
9
  export {
@@ -1,11 +1,11 @@
1
1
  import "../chunk-3QQVEYOR.js";
2
2
  import {
3
3
  InstallPrompt
4
- } from "../chunk-5ZOJLYD2.js";
5
- import "../chunk-GY62N32G.js";
4
+ } from "../chunk-JE6RZ5L6.js";
6
5
  import {
7
6
  usePwaInstall
8
7
  } from "../chunk-5GMHJ7Y5.js";
8
+ import "../chunk-GY62N32G.js";
9
9
  import "../chunk-WXYLH3QZ.js";
10
10
  import {
11
11
  PWA_INSTALL_AVAILABLE_EVENT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@12-apps/ui",
3
- "version": "6.44.3",
3
+ "version": "6.45.0",
4
4
  "license": "MIT",
5
5
  "packageManager": "pnpm@10.34.5",
6
6
  "type": "module",
@@ -608,6 +608,10 @@
608
608
  "types": "./dist/types/components/navigation/Pagination/index.d.ts",
609
609
  "default": "./dist/navigation/Pagination.js"
610
610
  },
611
+ "./navigation/SectionNav": {
612
+ "types": "./dist/types/components/navigation/SectionNav/index.d.ts",
613
+ "default": "./dist/navigation/SectionNav.js"
614
+ },
611
615
  "./navigation/Tabs": {
612
616
  "types": "./dist/types/components/navigation/Tabs/index.d.ts",
613
617
  "default": "./dist/navigation/Tabs.js"