@xyo-network/react-appbar 2.63.1 → 2.64.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (451) hide show
  1. package/dist/components/AppBar/Application.d.mts.map +1 -0
  2. package/dist/components/AppBar/Application.d.ts +10 -0
  3. package/dist/components/AppBar/Application.d.ts.map +1 -0
  4. package/dist/components/AppBar/Application.stories.d.mts +7 -0
  5. package/dist/components/AppBar/Application.stories.d.mts.map +1 -0
  6. package/dist/components/AppBar/Application.stories.d.ts +7 -0
  7. package/dist/components/AppBar/Application.stories.d.ts.map +1 -0
  8. package/dist/components/AppBar/index.d.mts.map +1 -0
  9. package/dist/components/AppBar/index.d.ts +2 -0
  10. package/dist/components/AppBar/index.d.ts.map +1 -0
  11. package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.mts +10 -0
  12. package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.mts.map +1 -0
  13. package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.ts +10 -0
  14. package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.ts.map +1 -0
  15. package/dist/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -0
  16. package/dist/components/CollapsibleDrawer/CollapseToggle.d.ts +4 -0
  17. package/dist/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -0
  18. package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.mts.map +1 -0
  19. package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.ts +5 -0
  20. package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +1 -0
  21. package/dist/components/CollapsibleDrawer/index.d.mts.map +1 -0
  22. package/dist/{esm/components/CollapsibleDrawer/index.js → components/CollapsibleDrawer/index.d.ts} +1 -1
  23. package/dist/components/CollapsibleDrawer/index.d.ts.map +1 -0
  24. package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -0
  25. package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.ts +4 -0
  26. package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -0
  27. package/dist/components/MobileSystemControls/SystemControls.d.mts.map +1 -0
  28. package/dist/components/MobileSystemControls/SystemControls.d.ts +5 -0
  29. package/dist/components/MobileSystemControls/SystemControls.d.ts.map +1 -0
  30. package/dist/components/MobileSystemControls/SystemControls.stories.d.mts +7 -0
  31. package/dist/components/MobileSystemControls/SystemControls.stories.d.mts.map +1 -0
  32. package/dist/components/MobileSystemControls/SystemControls.stories.d.ts +7 -0
  33. package/dist/components/MobileSystemControls/SystemControls.stories.d.ts.map +1 -0
  34. package/dist/components/MobileSystemControls/SystemControlsRoot.d.mts.map +1 -0
  35. package/dist/components/MobileSystemControls/SystemControlsRoot.d.ts +4 -0
  36. package/dist/components/MobileSystemControls/SystemControlsRoot.d.ts.map +1 -0
  37. package/dist/components/MobileSystemControls/SystemControlsType.d.mts.map +1 -0
  38. package/dist/components/MobileSystemControls/SystemControlsType.d.ts +6 -0
  39. package/dist/components/MobileSystemControls/SystemControlsType.d.ts.map +1 -0
  40. package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.mts.map +1 -0
  41. package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.ts +11 -0
  42. package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map +1 -0
  43. package/dist/components/MobileSystemControls/controls/SystemControl.d.mts.map +1 -0
  44. package/dist/components/MobileSystemControls/controls/SystemControl.d.ts +11 -0
  45. package/dist/components/MobileSystemControls/controls/SystemControl.d.ts.map +1 -0
  46. package/dist/components/MobileSystemControls/controls/SystemControlText.d.mts.map +1 -0
  47. package/dist/components/MobileSystemControls/controls/SystemControlText.d.ts +8 -0
  48. package/dist/components/MobileSystemControls/controls/SystemControlText.d.ts.map +1 -0
  49. package/dist/components/MobileSystemControls/controls/index.d.mts.map +1 -0
  50. package/dist/{esm/components/MobileSystemControls/controls/index.js → components/MobileSystemControls/controls/index.d.ts} +1 -1
  51. package/dist/components/MobileSystemControls/controls/index.d.ts.map +1 -0
  52. package/dist/components/MobileSystemControls/index.d.mts.map +1 -0
  53. package/dist/{esm/components/MobileSystemControls/index.js → components/MobileSystemControls/index.d.ts} +1 -1
  54. package/dist/components/MobileSystemControls/index.d.ts.map +1 -0
  55. package/dist/components/SearchBar/SearchBar.d.mts.map +1 -0
  56. package/dist/components/SearchBar/SearchBar.d.ts +7 -0
  57. package/dist/components/SearchBar/SearchBar.d.ts.map +1 -0
  58. package/dist/components/SearchBar/index.d.mts.map +1 -0
  59. package/dist/components/SearchBar/index.d.ts +2 -0
  60. package/dist/components/SearchBar/index.d.ts.map +1 -0
  61. package/dist/components/SiteMenu/Menu.d.mts.map +1 -0
  62. package/dist/components/SiteMenu/Menu.d.ts +9 -0
  63. package/dist/components/SiteMenu/Menu.d.ts.map +1 -0
  64. package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.mts.map +1 -0
  65. package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts +11 -0
  66. package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts.map +1 -0
  67. package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.mts +7 -0
  68. package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.mts.map +1 -0
  69. package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.ts +7 -0
  70. package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.ts.map +1 -0
  71. package/dist/components/SiteMenu/MenuListItem/index.d.mts.map +1 -0
  72. package/dist/{esm/components/SiteMenu/MenuListItem/index.js → components/SiteMenu/MenuListItem/index.d.ts} +1 -1
  73. package/dist/components/SiteMenu/MenuListItem/index.d.ts.map +1 -0
  74. package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -0
  75. package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts +7 -0
  76. package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -0
  77. package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.mts.map +1 -0
  78. package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts +7 -0
  79. package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts.map +1 -0
  80. package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.mts.map +1 -0
  81. package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts +7 -0
  82. package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts.map +1 -0
  83. package/dist/components/SiteMenu/MenuListItem/list-item-components/index.d.mts.map +1 -0
  84. package/dist/{esm/components/SiteMenu/MenuListItem/list-item-components/index.js → components/SiteMenu/MenuListItem/list-item-components/index.d.ts} +1 -1
  85. package/dist/components/SiteMenu/MenuListItem/list-item-components/index.d.ts.map +1 -0
  86. package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.mts.map +1 -0
  87. package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts +11 -0
  88. package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts.map +1 -0
  89. package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -0
  90. package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts +8 -0
  91. package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -0
  92. package/dist/components/SiteMenu/MenuListItem/sub-nav/index.d.mts.map +1 -0
  93. package/dist/{esm/components/SiteMenu/MenuListItem/sub-nav/index.js → components/SiteMenu/MenuListItem/sub-nav/index.d.ts} +1 -1
  94. package/dist/components/SiteMenu/MenuListItem/sub-nav/index.d.ts.map +1 -0
  95. package/dist/components/SiteMenu/MenuSection.d.mts.map +1 -0
  96. package/dist/components/SiteMenu/MenuSection.d.ts +11 -0
  97. package/dist/components/SiteMenu/MenuSection.d.ts.map +1 -0
  98. package/dist/components/SiteMenu/hooks/index.d.mts.map +1 -0
  99. package/dist/{esm/components/SiteMenu/hooks/index.js → components/SiteMenu/hooks/index.d.ts} +1 -1
  100. package/dist/components/SiteMenu/hooks/index.d.ts.map +1 -0
  101. package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.mts.map +1 -0
  102. package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.ts +7 -0
  103. package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.ts.map +1 -0
  104. package/dist/components/SiteMenu/index.d.mts.map +1 -0
  105. package/dist/{esm/components/SiteMenu/index.js → components/SiteMenu/index.d.ts} +1 -1
  106. package/dist/components/SiteMenu/index.d.ts.map +1 -0
  107. package/dist/components/SiteMenu/lib/MenuListItemBase.d.mts.map +1 -0
  108. package/dist/components/SiteMenu/lib/MenuListItemBase.d.ts +5 -0
  109. package/dist/components/SiteMenu/lib/MenuListItemBase.d.ts.map +1 -0
  110. package/dist/components/SiteMenu/lib/NavListItemProps.d.mts.map +1 -0
  111. package/dist/components/SiteMenu/lib/NavListItemProps.d.ts +12 -0
  112. package/dist/components/SiteMenu/lib/NavListItemProps.d.ts.map +1 -0
  113. package/dist/components/SiteMenu/lib/index.d.mts.map +1 -0
  114. package/dist/{esm/components/SiteMenu/lib/index.js → components/SiteMenu/lib/index.d.ts} +1 -1
  115. package/dist/components/SiteMenu/lib/index.d.ts.map +1 -0
  116. package/dist/components/Toolbar/Context/ContextToolbar.d.mts.map +1 -0
  117. package/dist/components/Toolbar/Context/ContextToolbar.d.ts +9 -0
  118. package/dist/components/Toolbar/Context/ContextToolbar.d.ts.map +1 -0
  119. package/dist/components/Toolbar/Context/ContextToolbar.stories.d.mts +6 -0
  120. package/dist/components/Toolbar/Context/ContextToolbar.stories.d.mts.map +1 -0
  121. package/dist/components/Toolbar/Context/ContextToolbar.stories.d.ts +6 -0
  122. package/dist/components/Toolbar/Context/ContextToolbar.stories.d.ts.map +1 -0
  123. package/dist/components/Toolbar/Context/Logo.d.mts.map +1 -0
  124. package/dist/components/Toolbar/Context/Logo.d.ts +3 -0
  125. package/dist/components/Toolbar/Context/Logo.d.ts.map +1 -0
  126. package/dist/components/Toolbar/Context/LogoLinkEx.d.mts.map +1 -0
  127. package/dist/components/Toolbar/Context/LogoLinkEx.d.ts +7 -0
  128. package/dist/components/Toolbar/Context/LogoLinkEx.d.ts.map +1 -0
  129. package/dist/components/Toolbar/Context/index.d.mts.map +1 -0
  130. package/dist/components/Toolbar/Context/index.d.ts +2 -0
  131. package/dist/components/Toolbar/Context/index.d.ts.map +1 -0
  132. package/dist/components/Toolbar/System/SystemToolbar.d.mts.map +1 -0
  133. package/dist/components/Toolbar/System/SystemToolbar.d.ts +15 -0
  134. package/dist/components/Toolbar/System/SystemToolbar.d.ts.map +1 -0
  135. package/dist/components/Toolbar/System/SystemToolbar.stories.d.mts +8 -0
  136. package/dist/components/Toolbar/System/SystemToolbar.stories.d.mts.map +1 -0
  137. package/dist/components/Toolbar/System/SystemToolbar.stories.d.ts +8 -0
  138. package/dist/components/Toolbar/System/SystemToolbar.stories.d.ts.map +1 -0
  139. package/dist/components/Toolbar/System/index.d.mts.map +1 -0
  140. package/dist/components/Toolbar/System/index.d.ts +2 -0
  141. package/dist/components/Toolbar/System/index.d.ts.map +1 -0
  142. package/dist/components/Toolbar/index.d.mts.map +1 -0
  143. package/dist/{esm/components/Toolbar/index.js → components/Toolbar/index.d.ts} +1 -1
  144. package/dist/components/Toolbar/index.d.ts.map +1 -0
  145. package/dist/components/index.d.mts.map +1 -0
  146. package/dist/{esm/components/index.js → components/index.d.ts} +1 -1
  147. package/dist/components/index.d.ts.map +1 -0
  148. package/dist/contexts/Collapsible/State.d.mts.map +1 -0
  149. package/dist/contexts/Collapsible/State.d.ts +9 -0
  150. package/dist/contexts/Collapsible/State.d.ts.map +1 -0
  151. package/dist/contexts/Collapsible/context.d.mts.map +1 -0
  152. package/dist/contexts/Collapsible/context.d.ts +4 -0
  153. package/dist/contexts/Collapsible/context.d.ts.map +1 -0
  154. package/dist/contexts/Collapsible/index.d.mts.map +1 -0
  155. package/dist/{esm/contexts/Collapsible/index.js → contexts/Collapsible/index.d.ts} +1 -1
  156. package/dist/contexts/Collapsible/index.d.ts.map +1 -0
  157. package/dist/contexts/Collapsible/provider.d.mts.map +1 -0
  158. package/dist/contexts/Collapsible/provider.d.ts +8 -0
  159. package/dist/contexts/Collapsible/provider.d.ts.map +1 -0
  160. package/dist/contexts/Collapsible/use.d.mts.map +1 -0
  161. package/dist/contexts/Collapsible/use.d.ts +2 -0
  162. package/dist/contexts/Collapsible/use.d.ts.map +1 -0
  163. package/dist/contexts/index.d.mts.map +1 -0
  164. package/dist/contexts/index.d.ts +2 -0
  165. package/dist/contexts/index.d.ts.map +1 -0
  166. package/dist/index.d.mts.map +1 -0
  167. package/dist/{esm/index.js → index.d.ts} +1 -1
  168. package/dist/index.d.ts.map +1 -0
  169. package/dist/index.js +587 -0
  170. package/dist/index.js.map +1 -0
  171. package/dist/index.mjs +546 -0
  172. package/dist/index.mjs.map +1 -0
  173. package/package.json +34 -25
  174. package/src/components/SearchBar/SearchBar.tsx +1 -1
  175. package/src/components/SiteMenu/Menu.tsx +1 -2
  176. package/dist/cjs/components/AppBar/Application.js +0 -13
  177. package/dist/cjs/components/AppBar/Application.js.map +0 -1
  178. package/dist/cjs/components/AppBar/index.js +0 -5
  179. package/dist/cjs/components/AppBar/index.js.map +0 -1
  180. package/dist/cjs/components/CollapsibleDrawer/CollapseToggle.js +0 -21
  181. package/dist/cjs/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
  182. package/dist/cjs/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -23
  183. package/dist/cjs/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
  184. package/dist/cjs/components/CollapsibleDrawer/index.js +0 -6
  185. package/dist/cjs/components/CollapsibleDrawer/index.js.map +0 -1
  186. package/dist/cjs/components/CollapsibleDrawer/storyExampleMenuData.js +0 -69
  187. package/dist/cjs/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
  188. package/dist/cjs/components/MobileSystemControls/SystemControls.js +0 -11
  189. package/dist/cjs/components/MobileSystemControls/SystemControls.js.map +0 -1
  190. package/dist/cjs/components/MobileSystemControls/SystemControlsRoot.js +0 -62
  191. package/dist/cjs/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
  192. package/dist/cjs/components/MobileSystemControls/SystemControlsType.js +0 -10
  193. package/dist/cjs/components/MobileSystemControls/SystemControlsType.js.map +0 -1
  194. package/dist/cjs/components/MobileSystemControls/SystemControlsUnstyled.js +0 -22
  195. package/dist/cjs/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
  196. package/dist/cjs/components/MobileSystemControls/controls/SystemControl.js +0 -23
  197. package/dist/cjs/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
  198. package/dist/cjs/components/MobileSystemControls/controls/SystemControlText.js +0 -13
  199. package/dist/cjs/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
  200. package/dist/cjs/components/MobileSystemControls/controls/index.js +0 -6
  201. package/dist/cjs/components/MobileSystemControls/controls/index.js.map +0 -1
  202. package/dist/cjs/components/MobileSystemControls/index.js +0 -7
  203. package/dist/cjs/components/MobileSystemControls/index.js.map +0 -1
  204. package/dist/cjs/components/SearchBar/SearchBar.js +0 -20
  205. package/dist/cjs/components/SearchBar/SearchBar.js.map +0 -1
  206. package/dist/cjs/components/SearchBar/index.js +0 -5
  207. package/dist/cjs/components/SearchBar/index.js.map +0 -1
  208. package/dist/cjs/components/SiteMenu/Menu.js +0 -23
  209. package/dist/cjs/components/SiteMenu/Menu.js.map +0 -1
  210. package/dist/cjs/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -29
  211. package/dist/cjs/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
  212. package/dist/cjs/components/SiteMenu/MenuListItem/index.js +0 -5
  213. package/dist/cjs/components/SiteMenu/MenuListItem/index.js.map +0 -1
  214. package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -14
  215. package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
  216. package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -12
  217. package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
  218. package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -17
  219. package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
  220. package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/index.js +0 -7
  221. package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
  222. package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -12
  223. package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
  224. package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -15
  225. package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
  226. package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/index.js +0 -6
  227. package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
  228. package/dist/cjs/components/SiteMenu/MenuSection.js +0 -14
  229. package/dist/cjs/components/SiteMenu/MenuSection.js.map +0 -1
  230. package/dist/cjs/components/SiteMenu/hooks/index.js +0 -5
  231. package/dist/cjs/components/SiteMenu/hooks/index.js.map +0 -1
  232. package/dist/cjs/components/SiteMenu/hooks/useMenuItemsShared.js +0 -23
  233. package/dist/cjs/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
  234. package/dist/cjs/components/SiteMenu/index.js +0 -9
  235. package/dist/cjs/components/SiteMenu/index.js.map +0 -1
  236. package/dist/cjs/components/SiteMenu/lib/MenuListItemBase.js +0 -3
  237. package/dist/cjs/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
  238. package/dist/cjs/components/SiteMenu/lib/NavListItemProps.js +0 -3
  239. package/dist/cjs/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
  240. package/dist/cjs/components/SiteMenu/lib/index.js +0 -6
  241. package/dist/cjs/components/SiteMenu/lib/index.js.map +0 -1
  242. package/dist/cjs/components/Toolbar/Context/ContextToolbar.js +0 -13
  243. package/dist/cjs/components/Toolbar/Context/ContextToolbar.js.map +0 -1
  244. package/dist/cjs/components/Toolbar/Context/Logo.js +0 -14
  245. package/dist/cjs/components/Toolbar/Context/Logo.js.map +0 -1
  246. package/dist/cjs/components/Toolbar/Context/LogoLinkEx.js +0 -16
  247. package/dist/cjs/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
  248. package/dist/cjs/components/Toolbar/Context/index.js +0 -5
  249. package/dist/cjs/components/Toolbar/Context/index.js.map +0 -1
  250. package/dist/cjs/components/Toolbar/System/SystemToolbar.js +0 -16
  251. package/dist/cjs/components/Toolbar/System/SystemToolbar.js.map +0 -1
  252. package/dist/cjs/components/Toolbar/System/index.js +0 -5
  253. package/dist/cjs/components/Toolbar/System/index.js.map +0 -1
  254. package/dist/cjs/components/Toolbar/index.js +0 -6
  255. package/dist/cjs/components/Toolbar/index.js.map +0 -1
  256. package/dist/cjs/components/index.js +0 -10
  257. package/dist/cjs/components/index.js.map +0 -1
  258. package/dist/cjs/contexts/Collapsible/State.js +0 -3
  259. package/dist/cjs/contexts/Collapsible/State.js.map +0 -1
  260. package/dist/cjs/contexts/Collapsible/context.js +0 -6
  261. package/dist/cjs/contexts/Collapsible/context.js.map +0 -1
  262. package/dist/cjs/contexts/Collapsible/index.js +0 -7
  263. package/dist/cjs/contexts/Collapsible/index.js.map +0 -1
  264. package/dist/cjs/contexts/Collapsible/provider.js +0 -19
  265. package/dist/cjs/contexts/Collapsible/provider.js.map +0 -1
  266. package/dist/cjs/contexts/Collapsible/use.js +0 -8
  267. package/dist/cjs/contexts/Collapsible/use.js.map +0 -1
  268. package/dist/cjs/contexts/index.js +0 -5
  269. package/dist/cjs/contexts/index.js.map +0 -1
  270. package/dist/cjs/index.js +0 -6
  271. package/dist/cjs/index.js.map +0 -1
  272. package/dist/docs.json +0 -96215
  273. package/dist/esm/components/AppBar/Application.js +0 -7
  274. package/dist/esm/components/AppBar/Application.js.map +0 -1
  275. package/dist/esm/components/AppBar/index.js +0 -2
  276. package/dist/esm/components/AppBar/index.js.map +0 -1
  277. package/dist/esm/components/CollapsibleDrawer/CollapseToggle.js +0 -17
  278. package/dist/esm/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
  279. package/dist/esm/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -21
  280. package/dist/esm/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
  281. package/dist/esm/components/CollapsibleDrawer/index.js.map +0 -1
  282. package/dist/esm/components/CollapsibleDrawer/storyExampleMenuData.js +0 -66
  283. package/dist/esm/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
  284. package/dist/esm/components/MobileSystemControls/SystemControls.js +0 -8
  285. package/dist/esm/components/MobileSystemControls/SystemControls.js.map +0 -1
  286. package/dist/esm/components/MobileSystemControls/SystemControlsRoot.js +0 -59
  287. package/dist/esm/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
  288. package/dist/esm/components/MobileSystemControls/SystemControlsType.js +0 -7
  289. package/dist/esm/components/MobileSystemControls/SystemControlsType.js.map +0 -1
  290. package/dist/esm/components/MobileSystemControls/SystemControlsUnstyled.js +0 -17
  291. package/dist/esm/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
  292. package/dist/esm/components/MobileSystemControls/controls/SystemControl.js +0 -18
  293. package/dist/esm/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
  294. package/dist/esm/components/MobileSystemControls/controls/SystemControlText.js +0 -8
  295. package/dist/esm/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
  296. package/dist/esm/components/MobileSystemControls/controls/index.js.map +0 -1
  297. package/dist/esm/components/MobileSystemControls/index.js.map +0 -1
  298. package/dist/esm/components/SearchBar/SearchBar.js +0 -14
  299. package/dist/esm/components/SearchBar/SearchBar.js.map +0 -1
  300. package/dist/esm/components/SearchBar/index.js +0 -2
  301. package/dist/esm/components/SearchBar/index.js.map +0 -1
  302. package/dist/esm/components/SiteMenu/Menu.js +0 -17
  303. package/dist/esm/components/SiteMenu/Menu.js.map +0 -1
  304. package/dist/esm/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -23
  305. package/dist/esm/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
  306. package/dist/esm/components/SiteMenu/MenuListItem/index.js.map +0 -1
  307. package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -8
  308. package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
  309. package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -6
  310. package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
  311. package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -11
  312. package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
  313. package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
  314. package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -6
  315. package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
  316. package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -11
  317. package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
  318. package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
  319. package/dist/esm/components/SiteMenu/MenuSection.js +0 -8
  320. package/dist/esm/components/SiteMenu/MenuSection.js.map +0 -1
  321. package/dist/esm/components/SiteMenu/hooks/index.js.map +0 -1
  322. package/dist/esm/components/SiteMenu/hooks/useMenuItemsShared.js +0 -19
  323. package/dist/esm/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
  324. package/dist/esm/components/SiteMenu/index.js.map +0 -1
  325. package/dist/esm/components/SiteMenu/lib/MenuListItemBase.js +0 -2
  326. package/dist/esm/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
  327. package/dist/esm/components/SiteMenu/lib/NavListItemProps.js +0 -2
  328. package/dist/esm/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
  329. package/dist/esm/components/SiteMenu/lib/index.js.map +0 -1
  330. package/dist/esm/components/Toolbar/Context/ContextToolbar.js +0 -7
  331. package/dist/esm/components/Toolbar/Context/ContextToolbar.js.map +0 -1
  332. package/dist/esm/components/Toolbar/Context/Logo.js +0 -10
  333. package/dist/esm/components/Toolbar/Context/Logo.js.map +0 -1
  334. package/dist/esm/components/Toolbar/Context/LogoLinkEx.js +0 -10
  335. package/dist/esm/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
  336. package/dist/esm/components/Toolbar/Context/index.js +0 -2
  337. package/dist/esm/components/Toolbar/Context/index.js.map +0 -1
  338. package/dist/esm/components/Toolbar/System/SystemToolbar.js +0 -10
  339. package/dist/esm/components/Toolbar/System/SystemToolbar.js.map +0 -1
  340. package/dist/esm/components/Toolbar/System/index.js +0 -2
  341. package/dist/esm/components/Toolbar/System/index.js.map +0 -1
  342. package/dist/esm/components/Toolbar/index.js.map +0 -1
  343. package/dist/esm/components/index.js.map +0 -1
  344. package/dist/esm/contexts/Collapsible/State.js +0 -2
  345. package/dist/esm/contexts/Collapsible/State.js.map +0 -1
  346. package/dist/esm/contexts/Collapsible/context.js +0 -3
  347. package/dist/esm/contexts/Collapsible/context.js.map +0 -1
  348. package/dist/esm/contexts/Collapsible/index.js.map +0 -1
  349. package/dist/esm/contexts/Collapsible/provider.js +0 -15
  350. package/dist/esm/contexts/Collapsible/provider.js.map +0 -1
  351. package/dist/esm/contexts/Collapsible/use.js +0 -4
  352. package/dist/esm/contexts/Collapsible/use.js.map +0 -1
  353. package/dist/esm/contexts/index.js +0 -2
  354. package/dist/esm/contexts/index.js.map +0 -1
  355. package/dist/esm/index.js.map +0 -1
  356. package/dist/types/components/AppBar/Application.d.ts.map +0 -1
  357. package/dist/types/components/AppBar/index.d.ts.map +0 -1
  358. package/dist/types/components/CollapsibleDrawer/CollapseToggle.d.ts.map +0 -1
  359. package/dist/types/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +0 -1
  360. package/dist/types/components/CollapsibleDrawer/index.d.ts.map +0 -1
  361. package/dist/types/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +0 -1
  362. package/dist/types/components/MobileSystemControls/SystemControls.d.ts.map +0 -1
  363. package/dist/types/components/MobileSystemControls/SystemControlsRoot.d.ts.map +0 -1
  364. package/dist/types/components/MobileSystemControls/SystemControlsType.d.ts.map +0 -1
  365. package/dist/types/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map +0 -1
  366. package/dist/types/components/MobileSystemControls/controls/SystemControl.d.ts.map +0 -1
  367. package/dist/types/components/MobileSystemControls/controls/SystemControlText.d.ts.map +0 -1
  368. package/dist/types/components/MobileSystemControls/controls/index.d.ts.map +0 -1
  369. package/dist/types/components/MobileSystemControls/index.d.ts.map +0 -1
  370. package/dist/types/components/SearchBar/SearchBar.d.ts.map +0 -1
  371. package/dist/types/components/SearchBar/index.d.ts.map +0 -1
  372. package/dist/types/components/SiteMenu/Menu.d.ts.map +0 -1
  373. package/dist/types/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts.map +0 -1
  374. package/dist/types/components/SiteMenu/MenuListItem/index.d.ts.map +0 -1
  375. package/dist/types/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +0 -1
  376. package/dist/types/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts.map +0 -1
  377. package/dist/types/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts.map +0 -1
  378. package/dist/types/components/SiteMenu/MenuListItem/list-item-components/index.d.ts.map +0 -1
  379. package/dist/types/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts.map +0 -1
  380. package/dist/types/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +0 -1
  381. package/dist/types/components/SiteMenu/MenuListItem/sub-nav/index.d.ts.map +0 -1
  382. package/dist/types/components/SiteMenu/MenuSection.d.ts.map +0 -1
  383. package/dist/types/components/SiteMenu/hooks/index.d.ts.map +0 -1
  384. package/dist/types/components/SiteMenu/hooks/useMenuItemsShared.d.ts.map +0 -1
  385. package/dist/types/components/SiteMenu/index.d.ts.map +0 -1
  386. package/dist/types/components/SiteMenu/lib/MenuListItemBase.d.ts.map +0 -1
  387. package/dist/types/components/SiteMenu/lib/NavListItemProps.d.ts.map +0 -1
  388. package/dist/types/components/SiteMenu/lib/index.d.ts.map +0 -1
  389. package/dist/types/components/Toolbar/Context/ContextToolbar.d.ts.map +0 -1
  390. package/dist/types/components/Toolbar/Context/Logo.d.ts.map +0 -1
  391. package/dist/types/components/Toolbar/Context/LogoLinkEx.d.ts.map +0 -1
  392. package/dist/types/components/Toolbar/Context/index.d.ts.map +0 -1
  393. package/dist/types/components/Toolbar/System/SystemToolbar.d.ts.map +0 -1
  394. package/dist/types/components/Toolbar/System/index.d.ts.map +0 -1
  395. package/dist/types/components/Toolbar/index.d.ts.map +0 -1
  396. package/dist/types/components/index.d.ts.map +0 -1
  397. package/dist/types/contexts/Collapsible/State.d.ts.map +0 -1
  398. package/dist/types/contexts/Collapsible/context.d.ts.map +0 -1
  399. package/dist/types/contexts/Collapsible/index.d.ts.map +0 -1
  400. package/dist/types/contexts/Collapsible/provider.d.ts.map +0 -1
  401. package/dist/types/contexts/Collapsible/use.d.ts.map +0 -1
  402. package/dist/types/contexts/index.d.ts.map +0 -1
  403. package/dist/types/index.d.ts.map +0 -1
  404. /package/dist/{types/components/AppBar/Application.d.ts → components/AppBar/Application.d.mts} +0 -0
  405. /package/dist/{types/components/AppBar/index.d.ts → components/AppBar/index.d.mts} +0 -0
  406. /package/dist/{types/components/CollapsibleDrawer/CollapseToggle.d.ts → components/CollapsibleDrawer/CollapseToggle.d.mts} +0 -0
  407. /package/dist/{types/components/CollapsibleDrawer/CollapsibleDrawer.d.ts → components/CollapsibleDrawer/CollapsibleDrawer.d.mts} +0 -0
  408. /package/dist/{types/components/CollapsibleDrawer/index.d.ts → components/CollapsibleDrawer/index.d.mts} +0 -0
  409. /package/dist/{types/components/CollapsibleDrawer/storyExampleMenuData.d.ts → components/CollapsibleDrawer/storyExampleMenuData.d.mts} +0 -0
  410. /package/dist/{types/components/MobileSystemControls/SystemControls.d.ts → components/MobileSystemControls/SystemControls.d.mts} +0 -0
  411. /package/dist/{types/components/MobileSystemControls/SystemControlsRoot.d.ts → components/MobileSystemControls/SystemControlsRoot.d.mts} +0 -0
  412. /package/dist/{types/components/MobileSystemControls/SystemControlsType.d.ts → components/MobileSystemControls/SystemControlsType.d.mts} +0 -0
  413. /package/dist/{types/components/MobileSystemControls/SystemControlsUnstyled.d.ts → components/MobileSystemControls/SystemControlsUnstyled.d.mts} +0 -0
  414. /package/dist/{types/components/MobileSystemControls/controls/SystemControl.d.ts → components/MobileSystemControls/controls/SystemControl.d.mts} +0 -0
  415. /package/dist/{types/components/MobileSystemControls/controls/SystemControlText.d.ts → components/MobileSystemControls/controls/SystemControlText.d.mts} +0 -0
  416. /package/dist/{types/components/MobileSystemControls/controls/index.d.ts → components/MobileSystemControls/controls/index.d.mts} +0 -0
  417. /package/dist/{types/components/MobileSystemControls/index.d.ts → components/MobileSystemControls/index.d.mts} +0 -0
  418. /package/dist/{types/components/SearchBar/SearchBar.d.ts → components/SearchBar/SearchBar.d.mts} +0 -0
  419. /package/dist/{types/components/SearchBar/index.d.ts → components/SearchBar/index.d.mts} +0 -0
  420. /package/dist/{types/components/SiteMenu/Menu.d.ts → components/SiteMenu/Menu.d.mts} +0 -0
  421. /package/dist/{types/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts → components/SiteMenu/MenuListItem/MenuListItemContainer.d.mts} +0 -0
  422. /package/dist/{types/components/SiteMenu/MenuListItem/index.d.ts → components/SiteMenu/MenuListItem/index.d.mts} +0 -0
  423. /package/dist/{types/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts → components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts} +0 -0
  424. /package/dist/{types/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts → components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.mts} +0 -0
  425. /package/dist/{types/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts → components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.mts} +0 -0
  426. /package/dist/{types/components/SiteMenu/MenuListItem/list-item-components/index.d.ts → components/SiteMenu/MenuListItem/list-item-components/index.d.mts} +0 -0
  427. /package/dist/{types/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts → components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.mts} +0 -0
  428. /package/dist/{types/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts → components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts} +0 -0
  429. /package/dist/{types/components/SiteMenu/MenuListItem/sub-nav/index.d.ts → components/SiteMenu/MenuListItem/sub-nav/index.d.mts} +0 -0
  430. /package/dist/{types/components/SiteMenu/MenuSection.d.ts → components/SiteMenu/MenuSection.d.mts} +0 -0
  431. /package/dist/{types/components/SiteMenu/hooks/index.d.ts → components/SiteMenu/hooks/index.d.mts} +0 -0
  432. /package/dist/{types/components/SiteMenu/hooks/useMenuItemsShared.d.ts → components/SiteMenu/hooks/useMenuItemsShared.d.mts} +0 -0
  433. /package/dist/{types/components/SiteMenu/index.d.ts → components/SiteMenu/index.d.mts} +0 -0
  434. /package/dist/{types/components/SiteMenu/lib/MenuListItemBase.d.ts → components/SiteMenu/lib/MenuListItemBase.d.mts} +0 -0
  435. /package/dist/{types/components/SiteMenu/lib/NavListItemProps.d.ts → components/SiteMenu/lib/NavListItemProps.d.mts} +0 -0
  436. /package/dist/{types/components/SiteMenu/lib/index.d.ts → components/SiteMenu/lib/index.d.mts} +0 -0
  437. /package/dist/{types/components/Toolbar/Context/ContextToolbar.d.ts → components/Toolbar/Context/ContextToolbar.d.mts} +0 -0
  438. /package/dist/{types/components/Toolbar/Context/Logo.d.ts → components/Toolbar/Context/Logo.d.mts} +0 -0
  439. /package/dist/{types/components/Toolbar/Context/LogoLinkEx.d.ts → components/Toolbar/Context/LogoLinkEx.d.mts} +0 -0
  440. /package/dist/{types/components/Toolbar/Context/index.d.ts → components/Toolbar/Context/index.d.mts} +0 -0
  441. /package/dist/{types/components/Toolbar/System/SystemToolbar.d.ts → components/Toolbar/System/SystemToolbar.d.mts} +0 -0
  442. /package/dist/{types/components/Toolbar/System/index.d.ts → components/Toolbar/System/index.d.mts} +0 -0
  443. /package/dist/{types/components/Toolbar/index.d.ts → components/Toolbar/index.d.mts} +0 -0
  444. /package/dist/{types/components/index.d.ts → components/index.d.mts} +0 -0
  445. /package/dist/{types/contexts/Collapsible/State.d.ts → contexts/Collapsible/State.d.mts} +0 -0
  446. /package/dist/{types/contexts/Collapsible/context.d.ts → contexts/Collapsible/context.d.mts} +0 -0
  447. /package/dist/{types/contexts/Collapsible/index.d.ts → contexts/Collapsible/index.d.mts} +0 -0
  448. /package/dist/{types/contexts/Collapsible/provider.d.ts → contexts/Collapsible/provider.d.mts} +0 -0
  449. /package/dist/{types/contexts/Collapsible/use.d.ts → contexts/Collapsible/use.d.mts} +0 -0
  450. /package/dist/{types/contexts/index.d.ts → contexts/index.d.mts} +0 -0
  451. /package/dist/{types/index.d.ts → index.d.mts} +0 -0
package/dist/index.js ADDED
@@ -0,0 +1,587 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ ApplicationAppBar: () => ApplicationAppBar,
24
+ CollapseToggleFlex: () => CollapseToggleFlex,
25
+ CollapsibleDrawer: () => CollapsibleDrawer,
26
+ CollapsibleProvider: () => CollapsibleProvider,
27
+ ContextToolbar: () => ContextToolbar,
28
+ MenuListItemContainer: () => MenuListItemContainer,
29
+ MenuSection: () => MenuSection,
30
+ SearchBar: () => SearchBar,
31
+ SiteMenu: () => SiteMenu,
32
+ SystemControls: () => SystemControls,
33
+ SystemControlsType: () => SystemControlsType,
34
+ SystemControlsUnstyled: () => SystemControlsUnstyled,
35
+ SystemToolbar: () => SystemToolbar,
36
+ useCollapsible: () => useCollapsible,
37
+ useMenuItemsShared: () => useMenuItemsShared
38
+ });
39
+ module.exports = __toCommonJS(src_exports);
40
+
41
+ // src/components/AppBar/Application.tsx
42
+ var import_react_appbar = require("@xylabs/react-appbar");
43
+
44
+ // src/components/Toolbar/Context/ContextToolbar.tsx
45
+ var import_material3 = require("@mui/material");
46
+
47
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
48
+ var import_material2 = require("@mui/material");
49
+ var import_react_flexbox = require("@xylabs/react-flexbox");
50
+ var import_react_link = require("@xylabs/react-link");
51
+
52
+ // src/components/Toolbar/Context/Logo.tsx
53
+ var import_material = require("@mui/material");
54
+ var import_jsx_runtime = require("react/jsx-runtime");
55
+ var Logo = (props) => {
56
+ const theme = (0, import_material.useTheme)();
57
+ const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
58
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
59
+ };
60
+
61
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
62
+ var import_jsx_runtime2 = require("react/jsx-runtime");
63
+ var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
64
+ const theme = (0, import_material2.useTheme)();
65
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_link.LinkEx, { to, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_flexbox.FlexRow, { paddingX: "4px", children: [
66
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Logo, { height: "40", width: "43" }),
67
+ version ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
68
+ import_material2.Typography,
69
+ {
70
+ position: "absolute",
71
+ borderRadius: 1,
72
+ right: 6,
73
+ color: theme.palette.getContrastText(theme.palette.text.primary),
74
+ bottom: 0,
75
+ bgcolor: theme.palette.text.primary,
76
+ paddingX: "2px",
77
+ lineHeight: 1,
78
+ variant: "caption",
79
+ border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
80
+ children: typeof version === "string" ? version : "2.1"
81
+ }
82
+ ) : null
83
+ ] }) });
84
+ };
85
+
86
+ // src/components/Toolbar/Context/ContextToolbar.tsx
87
+ var import_jsx_runtime3 = require("react/jsx-runtime");
88
+ var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
89
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Toolbar, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoLinkEx, { version, to: logoTo }) });
90
+ };
91
+
92
+ // src/components/Toolbar/System/SystemToolbar.tsx
93
+ var import_material12 = require("@mui/material");
94
+ var import_react_flexbox6 = require("@xylabs/react-flexbox");
95
+ var import_react_app_settings = require("@xyo-network/react-app-settings");
96
+ var import_react_network = require("@xyo-network/react-network");
97
+
98
+ // src/components/SiteMenu/hooks/useMenuItemsShared.tsx
99
+ var import_react2 = require("react");
100
+
101
+ // src/contexts/Collapsible/provider.tsx
102
+ var import_react = require("react");
103
+
104
+ // src/contexts/Collapsible/context.ts
105
+ var import_react_shared = require("@xyo-network/react-shared");
106
+ var CollapsibleContext = (0, import_react_shared.createContextEx)();
107
+
108
+ // src/contexts/Collapsible/provider.tsx
109
+ var import_jsx_runtime4 = require("react/jsx-runtime");
110
+ var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
111
+ const [collapse, setCollapse] = (0, import_react.useState)(defaultCollapse);
112
+ const [collapseEnd, setCollapseEnd] = (0, import_react.useState)(defaultCollapseEnd);
113
+ (0, import_react.useEffect)(() => {
114
+ setCollapse(defaultCollapse);
115
+ }, [defaultCollapse]);
116
+ (0, import_react.useEffect)(() => {
117
+ setCollapseEnd(defaultCollapseEnd);
118
+ }, [defaultCollapseEnd]);
119
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CollapsibleContext.Provider, { value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }, children });
120
+ };
121
+
122
+ // src/contexts/Collapsible/use.tsx
123
+ var import_react_shared2 = require("@xyo-network/react-shared");
124
+ var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
125
+
126
+ // src/components/SiteMenu/hooks/useMenuItemsShared.tsx
127
+ var useMenuItemsShared = () => {
128
+ const { collapse, collapseEnd, setCollapse, setCollapseEnd } = useCollapsible();
129
+ const onMenuItemToggle = (open) => {
130
+ setCollapse?.((previous) => open ? false : previous);
131
+ setCollapseEnd?.((previous) => open ? false : previous);
132
+ };
133
+ const defaultSiteMenuListItemProps = (0, import_react2.useMemo)(
134
+ () => ({
135
+ collapseEnd,
136
+ dense: true,
137
+ iconOnly: collapse,
138
+ sx: {
139
+ px: "8px"
140
+ }
141
+ }),
142
+ [collapse, collapseEnd]
143
+ );
144
+ return { defaultSiteMenuListItemProps, onMenuItemToggle };
145
+ };
146
+
147
+ // src/components/SiteMenu/Menu.tsx
148
+ var import_icons_material = require("@mui/icons-material");
149
+ var import_material10 = require("@mui/material");
150
+ var import_react_flexbox4 = require("@xylabs/react-flexbox");
151
+ var import_react4 = require("react");
152
+
153
+ // src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
154
+ var import_material9 = require("@mui/material");
155
+ var import_react_flexbox3 = require("@xylabs/react-flexbox");
156
+ var import_react_link2 = require("@xylabs/react-link");
157
+ var import_react3 = require("react");
158
+
159
+ // src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
160
+ var import_material4 = require("@mui/material");
161
+ var import_react_flexbox2 = require("@xylabs/react-flexbox");
162
+ var import_vsc = require("react-icons/vsc");
163
+ var import_jsx_runtime5 = require("react/jsx-runtime");
164
+ var ListItemTooltip = ({ title, ...props }) => {
165
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material4.Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_flexbox2.FlexCol, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_vsc.VscInfo, { color: "grey" }) }) }) });
166
+ };
167
+
168
+ // src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
169
+ var import_material5 = require("@mui/material");
170
+ var import_jsx_runtime6 = require("react/jsx-runtime");
171
+ var MenuIcon = ({ icon, ...props }) => {
172
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_material5.Typography, { display: "flex", ...props, children: icon });
173
+ };
174
+
175
+ // src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
176
+ var import_material6 = require("@mui/material");
177
+ var import_jsx_runtime7 = require("react/jsx-runtime");
178
+ var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
179
+ const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
180
+ const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
181
+ const paddingSx = dense ? { px: "8px" } : { px: "12px" };
182
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material6.ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
183
+ };
184
+
185
+ // src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
186
+ var import_material7 = require("@mui/material");
187
+ var import_jsx_runtime8 = require("react/jsx-runtime");
188
+ var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
189
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_material7.Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_material7.List, { children }) });
190
+ };
191
+
192
+ // src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
193
+ var import_material8 = require("@mui/material");
194
+ var import_vsc2 = require("react-icons/vsc");
195
+ var import_jsx_runtime9 = require("react/jsx-runtime");
196
+ var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
197
+ const theme = (0, import_material8.useTheme)();
198
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
199
+ import_material8.IconButton,
200
+ {
201
+ onClick: (event) => {
202
+ event.stopPropagation();
203
+ setOpenSubNav?.(!openSubNav);
204
+ },
205
+ sx: { marginRight: theme.spacing(0.5) },
206
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_vsc2.VscChevronDown, { fontSize: "16px" })
207
+ }
208
+ );
209
+ };
210
+
211
+ // src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
212
+ var import_jsx_runtime10 = require("react/jsx-runtime");
213
+ var MenuListItemContainer = ({
214
+ style,
215
+ icon,
216
+ iconMenuTextSpacing,
217
+ iconOnly,
218
+ onButtonClick,
219
+ primary,
220
+ subNavListItems,
221
+ sx,
222
+ tooltip,
223
+ to,
224
+ ...props
225
+ }) => {
226
+ const { dense } = props;
227
+ const theme = (0, import_material9.useTheme)();
228
+ const { collapse } = useCollapsible();
229
+ const [openSubNav, setOpenSubNav] = (0, import_react3.useState)(false);
230
+ const [hovered, setHovered] = (0, import_react3.useState)(false);
231
+ const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
232
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
233
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
234
+ MenuListItem,
235
+ {
236
+ disableGutters: true,
237
+ iconOnly,
238
+ onClick: onButtonClick,
239
+ dense,
240
+ sx: { justifyContent: "space-between", ...sx },
241
+ style: { whiteSpace: "nowrap", ...style },
242
+ ...props,
243
+ children: [
244
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
245
+ import_react_link2.LinkEx,
246
+ {
247
+ onMouseEnter: () => setHovered(true),
248
+ onMouseLeave: () => setHovered(false),
249
+ color: "inherit",
250
+ to,
251
+ sx: {
252
+ "& :hover": {
253
+ cursor: "pointer",
254
+ textDecoration: "underline"
255
+ }
256
+ },
257
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_react_flexbox3.FlexRow, { children: [
258
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
259
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_material9.ListItemText, { primary })
260
+ ] })
261
+ }
262
+ ),
263
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_react_flexbox3.FlexRow, { style: { marginLeft: theme.spacing(1) }, children: [
264
+ subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
265
+ tooltip ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ListItemTooltip, { title: tooltip }) : null
266
+ ] })
267
+ ]
268
+ }
269
+ ),
270
+ subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems?.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
271
+ ] });
272
+ };
273
+
274
+ // src/components/SiteMenu/Menu.tsx
275
+ var import_jsx_runtime11 = require("react/jsx-runtime");
276
+ var SiteMenu = ({ children, onMenuToggle, side = "right", ...props }) => {
277
+ const [open, setOpen] = (0, import_react4.useState)(false);
278
+ (0, import_react4.useEffect)(() => {
279
+ onMenuToggle?.(open);
280
+ }, [onMenuToggle, open]);
281
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_react_flexbox4.FlexRow, { alignItems: "stretch", ...props, children: [
282
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
283
+ import_material10.IconButton,
284
+ {
285
+ size: "small",
286
+ color: "inherit",
287
+ onClick: () => {
288
+ setOpen(!open);
289
+ },
290
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_icons_material.Menu, { fontSize: "large" })
291
+ }
292
+ ),
293
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
294
+ import_material10.SwipeableDrawer,
295
+ {
296
+ anchor: side,
297
+ open,
298
+ onClick: () => setOpen(false),
299
+ onKeyDown: () => setOpen(false),
300
+ onClose: () => setOpen(false),
301
+ onOpen: () => setOpen(true),
302
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_material10.List, { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(MenuListItemContainer, { primary: "Settings", icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_icons_material.Settings, {}), to: "/settings" }) })
303
+ }
304
+ )
305
+ ] });
306
+ };
307
+
308
+ // src/components/SiteMenu/MenuSection.tsx
309
+ var import_material11 = require("@mui/material");
310
+ var import_react_flexbox5 = require("@xylabs/react-flexbox");
311
+ var import_jsx_runtime12 = require("react/jsx-runtime");
312
+ var MenuSection = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {
313
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_react_flexbox5.FlexCol, { alignItems: "stretch", ...props, children: [
314
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material11.Collapse, { in: showTitle, timeout: 700, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material11.ListSubheader, { children: title }) }),
315
+ listItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(MenuListItemContainer, { iconMenuTextSpacing, ...item }, index))
316
+ ] });
317
+ };
318
+
319
+ // src/components/Toolbar/System/SystemToolbar.tsx
320
+ var import_jsx_runtime13 = require("react/jsx-runtime");
321
+ var SystemToolbar = ({
322
+ children,
323
+ darkModeButton = false,
324
+ hideNetworkSelect,
325
+ menuItems,
326
+ networkSelectProps,
327
+ onMenuToggle,
328
+ precedingChildren,
329
+ ...props
330
+ }) => {
331
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_material12.Toolbar, { ...props, children: [
332
+ precedingChildren,
333
+ hideNetworkSelect ? null : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_flexbox6.FlexRow, { marginX: 0.5, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_material12.Paper, { variant: "elevation", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_network.NetworkSelectEx, { fullWidth: true, ...networkSelectProps }) }) }),
334
+ children,
335
+ darkModeButton ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_app_settings.DarkModeIconButton, { color: "inherit" }) : null,
336
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SiteMenu, { onMenuToggle, children: menuItems }) : null
337
+ ] });
338
+ };
339
+
340
+ // src/components/AppBar/Application.tsx
341
+ var import_jsx_runtime14 = require("react/jsx-runtime");
342
+ var ApplicationAppBar = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {
343
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
344
+ import_react_appbar.AppBarEx,
345
+ {
346
+ systemToolbar: systemToolbar ?? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SystemToolbar, {}),
347
+ contextToolbar: contextToolbar ?? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ContextToolbar, {}),
348
+ position: "sticky",
349
+ responsive,
350
+ ...props
351
+ }
352
+ );
353
+ };
354
+
355
+ // src/components/CollapsibleDrawer/CollapseToggle.tsx
356
+ var import_material13 = require("@mui/material");
357
+ var import_react_flexbox7 = require("@xylabs/react-flexbox");
358
+ var import_react5 = require("react");
359
+ var import_vsc3 = require("react-icons/vsc");
360
+ var import_jsx_runtime15 = require("react/jsx-runtime");
361
+ var CollapseToggleFlex = (props) => {
362
+ const { collapse, setCollapse, setCollapseEnd } = useCollapsible();
363
+ const [hover, setHover] = (0, import_react5.useState)(false);
364
+ const theme = (0, import_material13.useTheme)();
365
+ const handleCollapseToggle = () => {
366
+ setCollapse?.(!collapse);
367
+ setCollapseEnd?.((previous) => previous ? false : previous);
368
+ };
369
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react_flexbox7.FlexRow, { mt: 2, py: 2, justifyContent: collapse ? "start" : "center", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
370
+ import_material13.Icon,
371
+ {
372
+ onClick: handleCollapseToggle,
373
+ onMouseEnter: () => setHover(true),
374
+ onMouseLeave: () => setHover(false),
375
+ fontSize: "large",
376
+ sx: { color: hover ? theme.palette.secondary.main : "inherit", cursor: "pointer" },
377
+ children: !collapse ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_vsc3.VscArrowSmallLeft, {}) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_vsc3.VscArrowSmallRight, {})
378
+ }
379
+ ) });
380
+ };
381
+
382
+ // src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
383
+ var import_material14 = require("@mui/material");
384
+ var import_jsx_runtime16 = require("react/jsx-runtime");
385
+ var CollapsibleDrawer = ({ children, sx, ...props }) => {
386
+ const { collapse, setCollapseEnd } = useCollapsible();
387
+ const theme = (0, import_material14.useTheme)();
388
+ const collapsedSize = props.collapsedSize ?? theme.spacing(5);
389
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
390
+ CollapsibleFlexInner,
391
+ {
392
+ in: !collapse,
393
+ orientation: "horizontal",
394
+ collapsedSize,
395
+ onExited: () => setCollapseEnd?.(true),
396
+ sx: {
397
+ alignItems: "start",
398
+ display: "flex",
399
+ height: "100%",
400
+ ...sx
401
+ },
402
+ ...props,
403
+ children
404
+ }
405
+ );
406
+ };
407
+ var CollapsibleFlexInner = (0, import_material14.styled)(import_material14.Collapse)(() => ({
408
+ "& .MuiCollapse-wrapperInner": {
409
+ display: "flex",
410
+ flexDirection: "column"
411
+ }
412
+ }));
413
+
414
+ // src/components/MobileSystemControls/SystemControls.tsx
415
+ var import_react_flexbox10 = require("@xylabs/react-flexbox");
416
+
417
+ // src/components/MobileSystemControls/SystemControlsRoot.tsx
418
+ var import_material17 = require("@mui/material");
419
+
420
+ // src/components/MobileSystemControls/SystemControlsType.ts
421
+ var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
422
+ SystemControlsType2["Left"] = "Left";
423
+ SystemControlsType2["Right"] = "Right";
424
+ SystemControlsType2["WindowShade"] = "WindowShade";
425
+ return SystemControlsType2;
426
+ })(SystemControlsType || {});
427
+
428
+ // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
429
+ var import_material16 = require("@mui/material");
430
+ var import_react_flexbox9 = require("@xylabs/react-flexbox");
431
+ var import_react_network2 = require("@xyo-network/react-network");
432
+
433
+ // src/components/MobileSystemControls/controls/SystemControl.tsx
434
+ var import_material15 = require("@mui/material");
435
+ var import_react_flexbox8 = require("@xylabs/react-flexbox");
436
+ var import_react6 = require("react");
437
+ var import_jsx_runtime17 = require("react/jsx-runtime");
438
+ var SystemControl = ({
439
+ children,
440
+ controlElement,
441
+ systemControlsType = "WindowShade" /* WindowShade */,
442
+ ...props
443
+ }) => {
444
+ const [toggleControls, setToggleControls] = (0, import_react6.useState)(false);
445
+ let orientation = "vertical";
446
+ switch (systemControlsType) {
447
+ case "Left" /* Left */: {
448
+ orientation = "horizontal";
449
+ break;
450
+ }
451
+ }
452
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_react_flexbox8.FlexRow, { className: "controls", ...props, children: [
453
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material15.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_flexbox8.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
454
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_flexbox8.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
455
+ ] });
456
+ };
457
+
458
+ // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
459
+ var import_jsx_runtime18 = require("react/jsx-runtime");
460
+ var SystemControlsUnstyled = ({
461
+ visible,
462
+ systemControlsType = "WindowShade" /* WindowShade */,
463
+ ...props
464
+ }) => {
465
+ const isSmall = (0, import_material16.useMediaQuery)((theme) => theme.breakpoints.down("sm"));
466
+ if (visible || isSmall) {
467
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_flexbox9.FlexCol, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
468
+ SystemControl,
469
+ {
470
+ systemControlsType,
471
+ controlElement: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_flexbox9.FlexRow, { className: "control-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material16.Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_network2.NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
472
+ }
473
+ ) });
474
+ } else {
475
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_flexbox9.FlexCol, {});
476
+ }
477
+ };
478
+
479
+ // src/components/MobileSystemControls/SystemControlsRoot.tsx
480
+ var SystemControlsRoot = (0, import_material17.styled)(SystemControlsUnstyled, { name: "SystemControls", slot: "Root" })(({ theme }) => ({
481
+ // shared defaults
482
+ ["&"]: {
483
+ ".toggle": {
484
+ backgroundColor: theme.palette.primary.main
485
+ },
486
+ alignItems: "start",
487
+ zIndex: 1
488
+ },
489
+ // WindowShade System Controls styles
490
+ [`&.system-controls-type-${"WindowShade" /* WindowShade */}`]: {
491
+ ".control": {
492
+ borderRadius: "0 0 5px 5px",
493
+ flexDirection: "row",
494
+ flexGrow: 1,
495
+ justifyContent: "space-around",
496
+ padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
497
+ },
498
+ ".controls": {
499
+ alignItems: "stretch",
500
+ flexDirection: "column",
501
+ flexGrow: 1
502
+ },
503
+ ".toggle": {
504
+ borderRadius: "0 0 5px 5px",
505
+ padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`
506
+ },
507
+ flexDirection: "row",
508
+ position: "absolute",
509
+ top: 0,
510
+ width: "100%"
511
+ },
512
+ // Left System Control styles
513
+ [`&.system-controls-type-${"Left" /* Left */}`]: {
514
+ ".control": {
515
+ alignItems: "start",
516
+ flexDirection: "column",
517
+ padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
518
+ },
519
+ ".control-wrap": {
520
+ marginBottom: `${theme.spacing(2)}`
521
+ },
522
+ ".toggle": {
523
+ borderRadius: "0 5px 5px 0",
524
+ padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
525
+ writingMode: "vertical-rl"
526
+ },
527
+ flexDirection: "column",
528
+ left: 0,
529
+ position: "fixed",
530
+ top: "30vh",
531
+ width: "auto"
532
+ }
533
+ }));
534
+
535
+ // src/components/MobileSystemControls/SystemControls.tsx
536
+ var import_jsx_runtime19 = require("react/jsx-runtime");
537
+ var SystemControls = (props) => {
538
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_flexbox10.FlexCol, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SystemControlsRoot, { ...props }) });
539
+ };
540
+
541
+ // src/components/SearchBar/SearchBar.tsx
542
+ var import_icons_material2 = require("@mui/icons-material");
543
+ var import_material18 = require("@mui/material");
544
+ var import_react_button = require("@xylabs/react-button");
545
+ var import_react_flexbox11 = require("@xylabs/react-flexbox");
546
+ var import_react7 = require("react");
547
+ var import_jsx_runtime20 = require("react/jsx-runtime");
548
+ var SearchBar = ({ defaultValue, onSearch, ...props }) => {
549
+ const [term, setTerm] = (0, import_react7.useState)();
550
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_flexbox11.FlexRow, { alignItems: "stretch", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_material18.Paper, { variant: "elevation", elevation: 0, style: { display: "flex", overflow: "hidden", width: "100%" }, children: [
551
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
552
+ import_material18.TextField,
553
+ {
554
+ InputProps: { color: "secondary", style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } },
555
+ variant: "outlined",
556
+ size: "small",
557
+ defaultValue,
558
+ fullWidth: true,
559
+ onChange: (event) => setTerm(event.target.value),
560
+ onKeyDown: (event) => {
561
+ if (event.key === "Enter")
562
+ onSearch?.(term);
563
+ }
564
+ }
565
+ ),
566
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_button.ButtonEx, { variant: "contained", style: { borderRadius: 0, borderTopLeftRadius: 0 }, color: "secondary", onClick: () => onSearch?.(term), children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_icons_material2.Search, {}) })
567
+ ] }) });
568
+ };
569
+ // Annotate the CommonJS export names for ESM import in node:
570
+ 0 && (module.exports = {
571
+ ApplicationAppBar,
572
+ CollapseToggleFlex,
573
+ CollapsibleDrawer,
574
+ CollapsibleProvider,
575
+ ContextToolbar,
576
+ MenuListItemContainer,
577
+ MenuSection,
578
+ SearchBar,
579
+ SiteMenu,
580
+ SystemControls,
581
+ SystemControlsType,
582
+ SystemControlsUnstyled,
583
+ SystemToolbar,
584
+ useCollapsible,
585
+ useMenuItemsShared
586
+ });
587
+ //# sourceMappingURL=index.js.map