@xyo-network/react-appbar 2.60.12 → 2.62.3

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