@xyo-network/react-appbar 2.64.9 → 2.65.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. package/package.json +13 -13
  2. package/dist/browser/components/AppBar/Application.cjs +0 -286
  3. package/dist/browser/components/AppBar/Application.cjs.map +0 -1
  4. package/dist/browser/components/AppBar/Application.js +0 -265
  5. package/dist/browser/components/AppBar/Application.js.map +0 -1
  6. package/dist/browser/components/AppBar/index.cjs +0 -288
  7. package/dist/browser/components/AppBar/index.cjs.map +0 -1
  8. package/dist/browser/components/AppBar/index.js +0 -265
  9. package/dist/browser/components/AppBar/index.js.map +0 -1
  10. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs +0 -61
  11. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs.map +0 -1
  12. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js +0 -40
  13. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
  14. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs +0 -66
  15. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +0 -1
  16. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -45
  17. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
  18. package/dist/browser/components/CollapsibleDrawer/index.cjs +0 -96
  19. package/dist/browser/components/CollapsibleDrawer/index.cjs.map +0 -1
  20. package/dist/browser/components/CollapsibleDrawer/index.js +0 -73
  21. package/dist/browser/components/CollapsibleDrawer/index.js.map +0 -1
  22. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs +0 -92
  23. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +0 -1
  24. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js +0 -84
  25. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
  26. package/dist/browser/components/MobileSystemControls/SystemControls.cjs +0 -143
  27. package/dist/browser/components/MobileSystemControls/SystemControls.cjs.map +0 -1
  28. package/dist/browser/components/MobileSystemControls/SystemControls.js +0 -122
  29. package/dist/browser/components/MobileSystemControls/SystemControls.js.map +0 -1
  30. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs +0 -134
  31. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs.map +0 -1
  32. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js +0 -113
  33. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
  34. package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs +0 -32
  35. package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs.map +0 -1
  36. package/dist/browser/components/MobileSystemControls/SystemControlsType.js +0 -11
  37. package/dist/browser/components/MobileSystemControls/SystemControlsType.js.map +0 -1
  38. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs +0 -75
  39. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +0 -1
  40. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js +0 -54
  41. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
  42. package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs +0 -49
  43. package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs.map +0 -1
  44. package/dist/browser/components/MobileSystemControls/controls/SystemControl.js +0 -28
  45. package/dist/browser/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
  46. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs +0 -32
  47. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs.map +0 -1
  48. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js +0 -11
  49. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
  50. package/dist/browser/components/MobileSystemControls/controls/index.cjs +0 -60
  51. package/dist/browser/components/MobileSystemControls/controls/index.cjs.map +0 -1
  52. package/dist/browser/components/MobileSystemControls/controls/index.js +0 -37
  53. package/dist/browser/components/MobileSystemControls/controls/index.js.map +0 -1
  54. package/dist/browser/components/MobileSystemControls/index.cjs +0 -155
  55. package/dist/browser/components/MobileSystemControls/index.cjs.map +0 -1
  56. package/dist/browser/components/MobileSystemControls/index.js +0 -132
  57. package/dist/browser/components/MobileSystemControls/index.js.map +0 -1
  58. package/dist/browser/components/SearchBar/SearchBar.cjs +0 -53
  59. package/dist/browser/components/SearchBar/SearchBar.cjs.map +0 -1
  60. package/dist/browser/components/SearchBar/SearchBar.js +0 -32
  61. package/dist/browser/components/SearchBar/SearchBar.js.map +0 -1
  62. package/dist/browser/components/SearchBar/index.cjs +0 -55
  63. package/dist/browser/components/SearchBar/index.cjs.map +0 -1
  64. package/dist/browser/components/SearchBar/index.js +0 -32
  65. package/dist/browser/components/SearchBar/index.js.map +0 -1
  66. package/dist/browser/components/SiteMenu/Menu.cjs +0 -193
  67. package/dist/browser/components/SiteMenu/Menu.cjs.map +0 -1
  68. package/dist/browser/components/SiteMenu/Menu.js +0 -172
  69. package/dist/browser/components/SiteMenu/Menu.js.map +0 -1
  70. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +0 -153
  71. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +0 -1
  72. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -132
  73. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
  74. package/dist/browser/components/SiteMenu/MenuListItem/index.cjs +0 -155
  75. package/dist/browser/components/SiteMenu/MenuListItem/index.cjs.map +0 -1
  76. package/dist/browser/components/SiteMenu/MenuListItem/index.js +0 -132
  77. package/dist/browser/components/SiteMenu/MenuListItem/index.js.map +0 -1
  78. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +0 -33
  79. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +0 -1
  80. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -12
  81. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
  82. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +0 -31
  83. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +0 -1
  84. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -10
  85. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
  86. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +0 -34
  87. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +0 -1
  88. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -13
  89. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
  90. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs +0 -54
  91. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +0 -1
  92. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js +0 -31
  93. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
  94. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +0 -31
  95. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +0 -1
  96. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -10
  97. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
  98. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +0 -43
  99. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +0 -1
  100. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -22
  101. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
  102. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs +0 -53
  103. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +0 -1
  104. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js +0 -30
  105. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
  106. package/dist/browser/components/SiteMenu/MenuSection.cjs +0 -166
  107. package/dist/browser/components/SiteMenu/MenuSection.cjs.map +0 -1
  108. package/dist/browser/components/SiteMenu/MenuSection.js +0 -145
  109. package/dist/browser/components/SiteMenu/MenuSection.js.map +0 -1
  110. package/dist/browser/components/SiteMenu/hooks/index.cjs +0 -58
  111. package/dist/browser/components/SiteMenu/hooks/index.cjs.map +0 -1
  112. package/dist/browser/components/SiteMenu/hooks/index.js +0 -35
  113. package/dist/browser/components/SiteMenu/hooks/index.js.map +0 -1
  114. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs +0 -56
  115. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +0 -1
  116. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js +0 -35
  117. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
  118. package/dist/browser/components/SiteMenu/index.cjs +0 -233
  119. package/dist/browser/components/SiteMenu/index.cjs.map +0 -1
  120. package/dist/browser/components/SiteMenu/index.js +0 -210
  121. package/dist/browser/components/SiteMenu/index.js.map +0 -1
  122. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs +0 -19
  123. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs.map +0 -1
  124. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.js +0 -1
  125. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
  126. package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs +0 -19
  127. package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs.map +0 -1
  128. package/dist/browser/components/SiteMenu/lib/NavListItemProps.js +0 -1
  129. package/dist/browser/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
  130. package/dist/browser/components/SiteMenu/lib/index.cjs +0 -19
  131. package/dist/browser/components/SiteMenu/lib/index.cjs.map +0 -1
  132. package/dist/browser/components/SiteMenu/lib/index.js +0 -1
  133. package/dist/browser/components/SiteMenu/lib/index.js.map +0 -1
  134. package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs +0 -72
  135. package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs.map +0 -1
  136. package/dist/browser/components/Toolbar/Context/ContextToolbar.js +0 -51
  137. package/dist/browser/components/Toolbar/Context/ContextToolbar.js.map +0 -1
  138. package/dist/browser/components/Toolbar/Context/Logo.cjs +0 -33
  139. package/dist/browser/components/Toolbar/Context/Logo.cjs.map +0 -1
  140. package/dist/browser/components/Toolbar/Context/Logo.js +0 -12
  141. package/dist/browser/components/Toolbar/Context/Logo.js.map +0 -1
  142. package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs +0 -63
  143. package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs.map +0 -1
  144. package/dist/browser/components/Toolbar/Context/LogoLinkEx.js +0 -42
  145. package/dist/browser/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
  146. package/dist/browser/components/Toolbar/Context/index.cjs +0 -74
  147. package/dist/browser/components/Toolbar/Context/index.cjs.map +0 -1
  148. package/dist/browser/components/Toolbar/Context/index.js +0 -51
  149. package/dist/browser/components/Toolbar/Context/index.js.map +0 -1
  150. package/dist/browser/components/Toolbar/System/SystemToolbar.cjs +0 -220
  151. package/dist/browser/components/Toolbar/System/SystemToolbar.cjs.map +0 -1
  152. package/dist/browser/components/Toolbar/System/SystemToolbar.js +0 -199
  153. package/dist/browser/components/Toolbar/System/SystemToolbar.js.map +0 -1
  154. package/dist/browser/components/Toolbar/System/index.cjs +0 -222
  155. package/dist/browser/components/Toolbar/System/index.cjs.map +0 -1
  156. package/dist/browser/components/Toolbar/System/index.js +0 -199
  157. package/dist/browser/components/Toolbar/System/index.js.map +0 -1
  158. package/dist/browser/components/Toolbar/index.cjs +0 -271
  159. package/dist/browser/components/Toolbar/index.cjs.map +0 -1
  160. package/dist/browser/components/Toolbar/index.js +0 -248
  161. package/dist/browser/components/Toolbar/index.js.map +0 -1
  162. package/dist/browser/components/index.cjs +0 -550
  163. package/dist/browser/components/index.cjs.map +0 -1
  164. package/dist/browser/components/index.js +0 -527
  165. package/dist/browser/components/index.js.map +0 -1
  166. package/dist/browser/contexts/Collapsible/State.cjs +0 -19
  167. package/dist/browser/contexts/Collapsible/State.cjs.map +0 -1
  168. package/dist/browser/contexts/Collapsible/State.js +0 -1
  169. package/dist/browser/contexts/Collapsible/State.js.map +0 -1
  170. package/dist/browser/contexts/Collapsible/context.cjs +0 -28
  171. package/dist/browser/contexts/Collapsible/context.cjs.map +0 -1
  172. package/dist/browser/contexts/Collapsible/context.js +0 -7
  173. package/dist/browser/contexts/Collapsible/context.js.map +0 -1
  174. package/dist/browser/contexts/Collapsible/index.cjs +0 -52
  175. package/dist/browser/contexts/Collapsible/index.cjs.map +0 -1
  176. package/dist/browser/contexts/Collapsible/index.js +0 -29
  177. package/dist/browser/contexts/Collapsible/index.js.map +0 -1
  178. package/dist/browser/contexts/Collapsible/provider.cjs +0 -45
  179. package/dist/browser/contexts/Collapsible/provider.cjs.map +0 -1
  180. package/dist/browser/contexts/Collapsible/provider.js +0 -24
  181. package/dist/browser/contexts/Collapsible/provider.js.map +0 -1
  182. package/dist/browser/contexts/Collapsible/use.cjs +0 -34
  183. package/dist/browser/contexts/Collapsible/use.cjs.map +0 -1
  184. package/dist/browser/contexts/Collapsible/use.js +0 -13
  185. package/dist/browser/contexts/Collapsible/use.js.map +0 -1
  186. package/dist/browser/contexts/index.cjs +0 -52
  187. package/dist/browser/contexts/index.cjs.map +0 -1
  188. package/dist/browser/contexts/index.js +0 -29
  189. package/dist/browser/contexts/index.js.map +0 -1
  190. package/dist/docs.json +0 -96215
  191. package/dist/node/components/AppBar/Application.cjs +0 -290
  192. package/dist/node/components/AppBar/Application.cjs.map +0 -1
  193. package/dist/node/components/AppBar/Application.js +0 -265
  194. package/dist/node/components/AppBar/Application.js.map +0 -1
  195. package/dist/node/components/AppBar/index.cjs +0 -292
  196. package/dist/node/components/AppBar/index.cjs.map +0 -1
  197. package/dist/node/components/AppBar/index.js +0 -265
  198. package/dist/node/components/AppBar/index.js.map +0 -1
  199. package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs +0 -65
  200. package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs.map +0 -1
  201. package/dist/node/components/CollapsibleDrawer/CollapseToggle.js +0 -40
  202. package/dist/node/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
  203. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs +0 -70
  204. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +0 -1
  205. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -45
  206. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
  207. package/dist/node/components/CollapsibleDrawer/index.cjs +0 -101
  208. package/dist/node/components/CollapsibleDrawer/index.cjs.map +0 -1
  209. package/dist/node/components/CollapsibleDrawer/index.js +0 -73
  210. package/dist/node/components/CollapsibleDrawer/index.js.map +0 -1
  211. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs +0 -97
  212. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +0 -1
  213. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js +0 -84
  214. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
  215. package/dist/node/components/MobileSystemControls/SystemControls.cjs +0 -147
  216. package/dist/node/components/MobileSystemControls/SystemControls.cjs.map +0 -1
  217. package/dist/node/components/MobileSystemControls/SystemControls.js +0 -122
  218. package/dist/node/components/MobileSystemControls/SystemControls.js.map +0 -1
  219. package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs +0 -138
  220. package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs.map +0 -1
  221. package/dist/node/components/MobileSystemControls/SystemControlsRoot.js +0 -113
  222. package/dist/node/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
  223. package/dist/node/components/MobileSystemControls/SystemControlsType.cjs +0 -36
  224. package/dist/node/components/MobileSystemControls/SystemControlsType.cjs.map +0 -1
  225. package/dist/node/components/MobileSystemControls/SystemControlsType.js +0 -11
  226. package/dist/node/components/MobileSystemControls/SystemControlsType.js.map +0 -1
  227. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs +0 -79
  228. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +0 -1
  229. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js +0 -54
  230. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
  231. package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs +0 -53
  232. package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs.map +0 -1
  233. package/dist/node/components/MobileSystemControls/controls/SystemControl.js +0 -28
  234. package/dist/node/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
  235. package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs +0 -36
  236. package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs.map +0 -1
  237. package/dist/node/components/MobileSystemControls/controls/SystemControlText.js +0 -11
  238. package/dist/node/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
  239. package/dist/node/components/MobileSystemControls/controls/index.cjs +0 -65
  240. package/dist/node/components/MobileSystemControls/controls/index.cjs.map +0 -1
  241. package/dist/node/components/MobileSystemControls/controls/index.js +0 -37
  242. package/dist/node/components/MobileSystemControls/controls/index.js.map +0 -1
  243. package/dist/node/components/MobileSystemControls/index.cjs +0 -161
  244. package/dist/node/components/MobileSystemControls/index.cjs.map +0 -1
  245. package/dist/node/components/MobileSystemControls/index.js +0 -132
  246. package/dist/node/components/MobileSystemControls/index.js.map +0 -1
  247. package/dist/node/components/SearchBar/SearchBar.cjs +0 -57
  248. package/dist/node/components/SearchBar/SearchBar.cjs.map +0 -1
  249. package/dist/node/components/SearchBar/SearchBar.js +0 -32
  250. package/dist/node/components/SearchBar/SearchBar.js.map +0 -1
  251. package/dist/node/components/SearchBar/index.cjs +0 -59
  252. package/dist/node/components/SearchBar/index.cjs.map +0 -1
  253. package/dist/node/components/SearchBar/index.js +0 -32
  254. package/dist/node/components/SearchBar/index.js.map +0 -1
  255. package/dist/node/components/SiteMenu/Menu.cjs +0 -197
  256. package/dist/node/components/SiteMenu/Menu.cjs.map +0 -1
  257. package/dist/node/components/SiteMenu/Menu.js +0 -172
  258. package/dist/node/components/SiteMenu/Menu.js.map +0 -1
  259. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +0 -157
  260. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +0 -1
  261. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -132
  262. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
  263. package/dist/node/components/SiteMenu/MenuListItem/index.cjs +0 -159
  264. package/dist/node/components/SiteMenu/MenuListItem/index.cjs.map +0 -1
  265. package/dist/node/components/SiteMenu/MenuListItem/index.js +0 -132
  266. package/dist/node/components/SiteMenu/MenuListItem/index.js.map +0 -1
  267. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +0 -37
  268. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +0 -1
  269. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -12
  270. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
  271. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +0 -35
  272. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +0 -1
  273. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -10
  274. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
  275. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +0 -38
  276. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +0 -1
  277. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -13
  278. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
  279. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs +0 -60
  280. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +0 -1
  281. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js +0 -31
  282. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
  283. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +0 -35
  284. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +0 -1
  285. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -10
  286. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
  287. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +0 -47
  288. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +0 -1
  289. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -22
  290. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
  291. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs +0 -58
  292. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +0 -1
  293. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js +0 -30
  294. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
  295. package/dist/node/components/SiteMenu/MenuSection.cjs +0 -170
  296. package/dist/node/components/SiteMenu/MenuSection.cjs.map +0 -1
  297. package/dist/node/components/SiteMenu/MenuSection.js +0 -145
  298. package/dist/node/components/SiteMenu/MenuSection.js.map +0 -1
  299. package/dist/node/components/SiteMenu/hooks/index.cjs +0 -62
  300. package/dist/node/components/SiteMenu/hooks/index.cjs.map +0 -1
  301. package/dist/node/components/SiteMenu/hooks/index.js +0 -35
  302. package/dist/node/components/SiteMenu/hooks/index.js.map +0 -1
  303. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs +0 -60
  304. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +0 -1
  305. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js +0 -35
  306. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
  307. package/dist/node/components/SiteMenu/index.cjs +0 -240
  308. package/dist/node/components/SiteMenu/index.cjs.map +0 -1
  309. package/dist/node/components/SiteMenu/index.js +0 -210
  310. package/dist/node/components/SiteMenu/index.js.map +0 -1
  311. package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs +0 -19
  312. package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs.map +0 -1
  313. package/dist/node/components/SiteMenu/lib/MenuListItemBase.js +0 -1
  314. package/dist/node/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
  315. package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs +0 -19
  316. package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs.map +0 -1
  317. package/dist/node/components/SiteMenu/lib/NavListItemProps.js +0 -1
  318. package/dist/node/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
  319. package/dist/node/components/SiteMenu/lib/index.cjs +0 -19
  320. package/dist/node/components/SiteMenu/lib/index.cjs.map +0 -1
  321. package/dist/node/components/SiteMenu/lib/index.js +0 -1
  322. package/dist/node/components/SiteMenu/lib/index.js.map +0 -1
  323. package/dist/node/components/Toolbar/Context/ContextToolbar.cjs +0 -76
  324. package/dist/node/components/Toolbar/Context/ContextToolbar.cjs.map +0 -1
  325. package/dist/node/components/Toolbar/Context/ContextToolbar.js +0 -51
  326. package/dist/node/components/Toolbar/Context/ContextToolbar.js.map +0 -1
  327. package/dist/node/components/Toolbar/Context/Logo.cjs +0 -37
  328. package/dist/node/components/Toolbar/Context/Logo.cjs.map +0 -1
  329. package/dist/node/components/Toolbar/Context/Logo.js +0 -12
  330. package/dist/node/components/Toolbar/Context/Logo.js.map +0 -1
  331. package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs +0 -67
  332. package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs.map +0 -1
  333. package/dist/node/components/Toolbar/Context/LogoLinkEx.js +0 -42
  334. package/dist/node/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
  335. package/dist/node/components/Toolbar/Context/index.cjs +0 -78
  336. package/dist/node/components/Toolbar/Context/index.cjs.map +0 -1
  337. package/dist/node/components/Toolbar/Context/index.js +0 -51
  338. package/dist/node/components/Toolbar/Context/index.js.map +0 -1
  339. package/dist/node/components/Toolbar/System/SystemToolbar.cjs +0 -224
  340. package/dist/node/components/Toolbar/System/SystemToolbar.cjs.map +0 -1
  341. package/dist/node/components/Toolbar/System/SystemToolbar.js +0 -199
  342. package/dist/node/components/Toolbar/System/SystemToolbar.js.map +0 -1
  343. package/dist/node/components/Toolbar/System/index.cjs +0 -226
  344. package/dist/node/components/Toolbar/System/index.cjs.map +0 -1
  345. package/dist/node/components/Toolbar/System/index.js +0 -199
  346. package/dist/node/components/Toolbar/System/index.js.map +0 -1
  347. package/dist/node/components/Toolbar/index.cjs +0 -276
  348. package/dist/node/components/Toolbar/index.cjs.map +0 -1
  349. package/dist/node/components/Toolbar/index.js +0 -248
  350. package/dist/node/components/Toolbar/index.js.map +0 -1
  351. package/dist/node/components/index.cjs +0 -566
  352. package/dist/node/components/index.cjs.map +0 -1
  353. package/dist/node/components/index.js +0 -527
  354. package/dist/node/components/index.js.map +0 -1
  355. package/dist/node/contexts/Collapsible/State.cjs +0 -19
  356. package/dist/node/contexts/Collapsible/State.cjs.map +0 -1
  357. package/dist/node/contexts/Collapsible/State.js +0 -1
  358. package/dist/node/contexts/Collapsible/State.js.map +0 -1
  359. package/dist/node/contexts/Collapsible/context.cjs +0 -32
  360. package/dist/node/contexts/Collapsible/context.cjs.map +0 -1
  361. package/dist/node/contexts/Collapsible/context.js +0 -7
  362. package/dist/node/contexts/Collapsible/context.js.map +0 -1
  363. package/dist/node/contexts/Collapsible/index.cjs +0 -57
  364. package/dist/node/contexts/Collapsible/index.cjs.map +0 -1
  365. package/dist/node/contexts/Collapsible/index.js +0 -29
  366. package/dist/node/contexts/Collapsible/index.js.map +0 -1
  367. package/dist/node/contexts/Collapsible/provider.cjs +0 -49
  368. package/dist/node/contexts/Collapsible/provider.cjs.map +0 -1
  369. package/dist/node/contexts/Collapsible/provider.js +0 -24
  370. package/dist/node/contexts/Collapsible/provider.js.map +0 -1
  371. package/dist/node/contexts/Collapsible/use.cjs +0 -38
  372. package/dist/node/contexts/Collapsible/use.cjs.map +0 -1
  373. package/dist/node/contexts/Collapsible/use.js +0 -13
  374. package/dist/node/contexts/Collapsible/use.js.map +0 -1
  375. package/dist/node/contexts/index.cjs +0 -57
  376. package/dist/node/contexts/index.cjs.map +0 -1
  377. package/dist/node/contexts/index.js +0 -29
  378. package/dist/node/contexts/index.js.map +0 -1
@@ -1,527 +0,0 @@
1
- // src/components/AppBar/Application.tsx
2
- import { AppBarEx } from "@xylabs/react-appbar";
3
-
4
- // src/components/Toolbar/Context/ContextToolbar.tsx
5
- import { Toolbar } from "@mui/material";
6
-
7
- // src/components/Toolbar/Context/LogoLinkEx.tsx
8
- import { Typography, useTheme as useTheme2 } from "@mui/material";
9
- import { FlexRow } from "@xylabs/react-flexbox";
10
- import { LinkEx } from "@xylabs/react-link";
11
-
12
- // src/components/Toolbar/Context/Logo.tsx
13
- import { useTheme } from "@mui/material";
14
- import { jsx } from "react/jsx-runtime";
15
- var Logo = (props) => {
16
- const theme = useTheme();
17
- 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";
18
- return /* @__PURE__ */ jsx("img", { src: logoUrl, ...props });
19
- };
20
-
21
- // src/components/Toolbar/Context/LogoLinkEx.tsx
22
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
23
- var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
24
- const theme = useTheme2();
25
- return /* @__PURE__ */ jsx2(LinkEx, { to, ...props, children: /* @__PURE__ */ jsxs(FlexRow, { paddingX: "4px", children: [
26
- /* @__PURE__ */ jsx2(Logo, { height: "40", width: "43" }),
27
- version ? /* @__PURE__ */ jsx2(
28
- Typography,
29
- {
30
- position: "absolute",
31
- borderRadius: 1,
32
- right: 6,
33
- color: theme.palette.getContrastText(theme.palette.text.primary),
34
- bottom: 0,
35
- bgcolor: theme.palette.text.primary,
36
- paddingX: "2px",
37
- lineHeight: 1,
38
- variant: "caption",
39
- border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
40
- children: typeof version === "string" ? version : "2.1"
41
- }
42
- ) : null
43
- ] }) });
44
- };
45
-
46
- // src/components/Toolbar/Context/ContextToolbar.tsx
47
- import { jsx as jsx3 } from "react/jsx-runtime";
48
- var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
49
- return /* @__PURE__ */ jsx3(Toolbar, { ...props, children: /* @__PURE__ */ jsx3(LogoLinkEx, { version, to: logoTo }) });
50
- };
51
-
52
- // src/components/Toolbar/System/SystemToolbar.tsx
53
- import { Paper, Toolbar as Toolbar2 } from "@mui/material";
54
- import { FlexRow as FlexRow4 } from "@xylabs/react-flexbox";
55
- import { DarkModeIconButton } from "@xyo-network/react-app-settings";
56
- import { NetworkSelectEx } from "@xyo-network/react-network";
57
-
58
- // src/components/SiteMenu/hooks/useMenuItemsShared.tsx
59
- import { useMemo } from "react";
60
-
61
- // src/contexts/Collapsible/context.ts
62
- import { createContextEx } from "@xyo-network/react-shared";
63
- var CollapsibleContext = createContextEx();
64
-
65
- // src/contexts/Collapsible/use.tsx
66
- import { useContextEx } from "@xyo-network/react-shared";
67
- var useCollapsible = () => useContextEx(CollapsibleContext, "Collapsible", false);
68
-
69
- // src/components/SiteMenu/hooks/useMenuItemsShared.tsx
70
- var useMenuItemsShared = () => {
71
- const { collapse, collapseEnd, setCollapse, setCollapseEnd } = useCollapsible();
72
- const onMenuItemToggle = (open) => {
73
- setCollapse == null ? void 0 : setCollapse((previous) => open ? false : previous);
74
- setCollapseEnd == null ? void 0 : setCollapseEnd((previous) => open ? false : previous);
75
- };
76
- const defaultSiteMenuListItemProps = useMemo(
77
- () => ({
78
- collapseEnd,
79
- dense: true,
80
- iconOnly: collapse,
81
- sx: {
82
- px: "8px"
83
- }
84
- }),
85
- [collapse, collapseEnd]
86
- );
87
- return { defaultSiteMenuListItemProps, onMenuItemToggle };
88
- };
89
-
90
- // src/components/SiteMenu/Menu.tsx
91
- import { Menu as MenuIcon2, Settings as SettingsIcon } from "@mui/icons-material";
92
- import { IconButton as IconButton2, List as List2, SwipeableDrawer } from "@mui/material";
93
- import { FlexRow as FlexRow3 } from "@xylabs/react-flexbox";
94
- import { useEffect, useState as useState2 } from "react";
95
-
96
- // src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
97
- import { ListItemText, useTheme as useTheme4 } from "@mui/material";
98
- import { FlexRow as FlexRow2 } from "@xylabs/react-flexbox";
99
- import { LinkEx as LinkEx2 } from "@xylabs/react-link";
100
- import { useState } from "react";
101
-
102
- // src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
103
- import { Tooltip } from "@mui/material";
104
- import { FlexCol } from "@xylabs/react-flexbox";
105
- import { VscInfo } from "react-icons/vsc/index.js";
106
- import { jsx as jsx4 } from "react/jsx-runtime";
107
- var ListItemTooltip = ({ title, ...props }) => {
108
- return /* @__PURE__ */ jsx4(Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ jsx4("div", { children: /* @__PURE__ */ jsx4(FlexCol, { justifyContent: "center", children: /* @__PURE__ */ jsx4(VscInfo, { color: "grey" }) }) }) });
109
- };
110
-
111
- // src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
112
- import { Typography as Typography2 } from "@mui/material";
113
- import { jsx as jsx5 } from "react/jsx-runtime";
114
- var MenuIcon = ({ icon, ...props }) => {
115
- return /* @__PURE__ */ jsx5(Typography2, { display: "flex", ...props, children: icon });
116
- };
117
-
118
- // src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
119
- import { ListItem } from "@mui/material";
120
- import { jsx as jsx6 } from "react/jsx-runtime";
121
- var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
122
- const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
123
- const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
124
- const paddingSx = dense ? { px: "8px" } : { px: "12px" };
125
- return /* @__PURE__ */ jsx6(ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
126
- };
127
-
128
- // src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
129
- import { Collapse, List } from "@mui/material";
130
- import { jsx as jsx7 } from "react/jsx-runtime";
131
- var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
132
- return /* @__PURE__ */ jsx7(Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ jsx7(List, { children }) });
133
- };
134
-
135
- // src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
136
- import { IconButton, useTheme as useTheme3 } from "@mui/material";
137
- import { VscChevronDown } from "react-icons/vsc/index.js";
138
- import { jsx as jsx8 } from "react/jsx-runtime";
139
- var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
140
- const theme = useTheme3();
141
- return /* @__PURE__ */ jsx8(
142
- IconButton,
143
- {
144
- onClick: (event) => {
145
- event.stopPropagation();
146
- setOpenSubNav == null ? void 0 : setOpenSubNav(!openSubNav);
147
- },
148
- sx: { marginRight: theme.spacing(0.5) },
149
- children: /* @__PURE__ */ jsx8(VscChevronDown, { fontSize: "16px" })
150
- }
151
- );
152
- };
153
-
154
- // src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
155
- import { Fragment, jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
156
- var MenuListItemContainer = ({
157
- style,
158
- icon,
159
- iconMenuTextSpacing,
160
- iconOnly,
161
- onButtonClick,
162
- primary,
163
- subNavListItems,
164
- sx,
165
- tooltip,
166
- to,
167
- ...props
168
- }) => {
169
- const { dense } = props;
170
- const theme = useTheme4();
171
- const { collapse } = useCollapsible();
172
- const [openSubNav, setOpenSubNav] = useState(false);
173
- const [hovered, setHovered] = useState(false);
174
- const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
175
- return /* @__PURE__ */ jsxs2(Fragment, { children: [
176
- /* @__PURE__ */ jsxs2(
177
- MenuListItem,
178
- {
179
- disableGutters: true,
180
- iconOnly,
181
- onClick: onButtonClick,
182
- dense,
183
- sx: { justifyContent: "space-between", ...sx },
184
- style: { whiteSpace: "nowrap", ...style },
185
- ...props,
186
- children: [
187
- /* @__PURE__ */ jsx9(
188
- LinkEx2,
189
- {
190
- onMouseEnter: () => setHovered(true),
191
- onMouseLeave: () => setHovered(false),
192
- color: "inherit",
193
- to,
194
- sx: {
195
- "& :hover": {
196
- cursor: "pointer",
197
- textDecoration: "underline"
198
- }
199
- },
200
- children: /* @__PURE__ */ jsxs2(FlexRow2, { children: [
201
- /* @__PURE__ */ jsx9(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
202
- /* @__PURE__ */ jsx9(ListItemText, { primary })
203
- ] })
204
- }
205
- ),
206
- /* @__PURE__ */ jsxs2(FlexRow2, { style: { marginLeft: theme.spacing(1) }, children: [
207
- subNavListItems ? /* @__PURE__ */ jsx9(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
208
- tooltip ? /* @__PURE__ */ jsx9(ListItemTooltip, { title: tooltip }) : null
209
- ] })
210
- ]
211
- }
212
- ),
213
- subNavListItems ? /* @__PURE__ */ jsx9(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems == null ? void 0 : subNavListItems.map((item, index) => /* @__PURE__ */ jsx9(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
214
- ] });
215
- };
216
-
217
- // src/components/SiteMenu/Menu.tsx
218
- import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
219
- var SiteMenu = ({ children, onMenuToggle, side = "right", ...props }) => {
220
- const [open, setOpen] = useState2(false);
221
- useEffect(() => {
222
- onMenuToggle == null ? void 0 : onMenuToggle(open);
223
- }, [onMenuToggle, open]);
224
- return /* @__PURE__ */ jsxs3(FlexRow3, { alignItems: "stretch", ...props, children: [
225
- /* @__PURE__ */ jsx10(
226
- IconButton2,
227
- {
228
- size: "small",
229
- color: "inherit",
230
- onClick: () => {
231
- setOpen(!open);
232
- },
233
- children: /* @__PURE__ */ jsx10(MenuIcon2, { fontSize: "large" })
234
- }
235
- ),
236
- /* @__PURE__ */ jsx10(
237
- SwipeableDrawer,
238
- {
239
- anchor: side,
240
- open,
241
- onClick: () => setOpen(false),
242
- onKeyDown: () => setOpen(false),
243
- onClose: () => setOpen(false),
244
- onOpen: () => setOpen(true),
245
- children: children ?? /* @__PURE__ */ jsx10(List2, { children: /* @__PURE__ */ jsx10(MenuListItemContainer, { primary: "Settings", icon: /* @__PURE__ */ jsx10(SettingsIcon, {}), to: "/settings" }) })
246
- }
247
- )
248
- ] });
249
- };
250
-
251
- // src/components/SiteMenu/MenuSection.tsx
252
- import { Collapse as Collapse2, ListSubheader } from "@mui/material";
253
- import { FlexCol as FlexCol2 } from "@xylabs/react-flexbox";
254
- import { jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
255
- var MenuSection = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {
256
- return /* @__PURE__ */ jsxs4(FlexCol2, { alignItems: "stretch", ...props, children: [
257
- /* @__PURE__ */ jsx11(Collapse2, { in: showTitle, timeout: 700, children: /* @__PURE__ */ jsx11(ListSubheader, { children: title }) }),
258
- listItems.map((item, index) => /* @__PURE__ */ jsx11(MenuListItemContainer, { iconMenuTextSpacing, ...item }, index))
259
- ] });
260
- };
261
-
262
- // src/components/Toolbar/System/SystemToolbar.tsx
263
- import { jsx as jsx12, jsxs as jsxs5 } from "react/jsx-runtime";
264
- var SystemToolbar = ({
265
- children,
266
- darkModeButton = false,
267
- hideNetworkSelect,
268
- menuItems,
269
- networkSelectProps,
270
- onMenuToggle,
271
- precedingChildren,
272
- ...props
273
- }) => {
274
- return /* @__PURE__ */ jsxs5(Toolbar2, { ...props, children: [
275
- precedingChildren,
276
- hideNetworkSelect ? null : /* @__PURE__ */ jsx12(FlexRow4, { marginX: 0.5, children: /* @__PURE__ */ jsx12(Paper, { variant: "elevation", children: /* @__PURE__ */ jsx12(NetworkSelectEx, { fullWidth: true, ...networkSelectProps }) }) }),
277
- children,
278
- darkModeButton ? /* @__PURE__ */ jsx12(DarkModeIconButton, { color: "inherit" }) : null,
279
- menuItems ? /* @__PURE__ */ jsx12(SiteMenu, { onMenuToggle, children: menuItems }) : null
280
- ] });
281
- };
282
-
283
- // src/components/AppBar/Application.tsx
284
- import { jsx as jsx13 } from "react/jsx-runtime";
285
- var ApplicationAppBar = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {
286
- return /* @__PURE__ */ jsx13(
287
- AppBarEx,
288
- {
289
- systemToolbar: systemToolbar ?? /* @__PURE__ */ jsx13(SystemToolbar, {}),
290
- contextToolbar: contextToolbar ?? /* @__PURE__ */ jsx13(ContextToolbar, {}),
291
- position: "sticky",
292
- responsive,
293
- ...props
294
- }
295
- );
296
- };
297
-
298
- // src/components/CollapsibleDrawer/CollapseToggle.tsx
299
- import { Icon, useTheme as useTheme5 } from "@mui/material";
300
- import { FlexRow as FlexRow5 } from "@xylabs/react-flexbox";
301
- import { useState as useState3 } from "react";
302
- import { VscArrowSmallLeft, VscArrowSmallRight } from "react-icons/vsc/index.js";
303
- import { jsx as jsx14 } from "react/jsx-runtime";
304
- var CollapseToggleFlex = (props) => {
305
- const { collapse, setCollapse, setCollapseEnd } = useCollapsible();
306
- const [hover, setHover] = useState3(false);
307
- const theme = useTheme5();
308
- const handleCollapseToggle = () => {
309
- setCollapse == null ? void 0 : setCollapse(!collapse);
310
- setCollapseEnd == null ? void 0 : setCollapseEnd((previous) => previous ? false : previous);
311
- };
312
- return /* @__PURE__ */ jsx14(FlexRow5, { mt: 2, py: 2, justifyContent: collapse ? "start" : "center", ...props, children: /* @__PURE__ */ jsx14(
313
- Icon,
314
- {
315
- onClick: handleCollapseToggle,
316
- onMouseEnter: () => setHover(true),
317
- onMouseLeave: () => setHover(false),
318
- fontSize: "large",
319
- sx: { color: hover ? theme.palette.secondary.main : "inherit", cursor: "pointer" },
320
- children: !collapse ? /* @__PURE__ */ jsx14(VscArrowSmallLeft, {}) : /* @__PURE__ */ jsx14(VscArrowSmallRight, {})
321
- }
322
- ) });
323
- };
324
-
325
- // src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
326
- import { Collapse as Collapse3, styled, useTheme as useTheme6 } from "@mui/material";
327
- import { jsx as jsx15 } from "react/jsx-runtime";
328
- var CollapsibleDrawer = ({ children, sx, ...props }) => {
329
- const { collapse, setCollapseEnd } = useCollapsible();
330
- const theme = useTheme6();
331
- const collapsedSize = props.collapsedSize ?? theme.spacing(5);
332
- return /* @__PURE__ */ jsx15(
333
- CollapsibleFlexInner,
334
- {
335
- in: !collapse,
336
- orientation: "horizontal",
337
- collapsedSize,
338
- onExited: () => setCollapseEnd == null ? void 0 : setCollapseEnd(true),
339
- sx: {
340
- alignItems: "start",
341
- display: "flex",
342
- height: "100%",
343
- ...sx
344
- },
345
- ...props,
346
- children
347
- }
348
- );
349
- };
350
- var CollapsibleFlexInner = styled(Collapse3)(() => ({
351
- "& .MuiCollapse-wrapperInner": {
352
- display: "flex",
353
- flexDirection: "column"
354
- }
355
- }));
356
-
357
- // src/components/MobileSystemControls/SystemControls.tsx
358
- import { FlexCol as FlexCol5 } from "@xylabs/react-flexbox";
359
-
360
- // src/components/MobileSystemControls/SystemControlsRoot.tsx
361
- import { styled as styled2 } from "@mui/material";
362
-
363
- // src/components/MobileSystemControls/SystemControlsType.ts
364
- var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
365
- SystemControlsType2["Left"] = "Left";
366
- SystemControlsType2["Right"] = "Right";
367
- SystemControlsType2["WindowShade"] = "WindowShade";
368
- return SystemControlsType2;
369
- })(SystemControlsType || {});
370
-
371
- // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
372
- import { Paper as Paper2, useMediaQuery } from "@mui/material";
373
- import { FlexCol as FlexCol4, FlexRow as FlexRow7 } from "@xylabs/react-flexbox";
374
- import { NetworkSelectEx as NetworkSelectEx2 } from "@xyo-network/react-network";
375
-
376
- // src/components/MobileSystemControls/controls/SystemControl.tsx
377
- import { Collapse as Collapse4 } from "@mui/material";
378
- import { FlexCol as FlexCol3, FlexRow as FlexRow6 } from "@xylabs/react-flexbox";
379
- import { useState as useState4 } from "react";
380
- import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
381
- var SystemControl = ({
382
- children,
383
- controlElement,
384
- systemControlsType = "WindowShade" /* WindowShade */,
385
- ...props
386
- }) => {
387
- const [toggleControls, setToggleControls] = useState4(false);
388
- let orientation = "vertical";
389
- switch (systemControlsType) {
390
- case "Left" /* Left */: {
391
- orientation = "horizontal";
392
- break;
393
- }
394
- }
395
- return /* @__PURE__ */ jsxs6(FlexRow6, { className: "controls", ...props, children: [
396
- /* @__PURE__ */ jsx16(Collapse4, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx16(FlexRow6, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
397
- /* @__PURE__ */ jsx16(FlexCol3, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
398
- ] });
399
- };
400
-
401
- // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
402
- import { Fragment as Fragment2, jsx as jsx17 } from "react/jsx-runtime";
403
- var SystemControlsUnstyled = ({
404
- visible,
405
- systemControlsType = "WindowShade" /* WindowShade */,
406
- ...props
407
- }) => {
408
- const isSmall = useMediaQuery((theme) => theme.breakpoints.down("sm"));
409
- if (visible || isSmall) {
410
- return /* @__PURE__ */ jsx17(FlexCol4, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ jsx17(
411
- SystemControl,
412
- {
413
- systemControlsType,
414
- controlElement: /* @__PURE__ */ jsx17(Fragment2, { children: /* @__PURE__ */ jsx17(FlexRow7, { className: "control-wrap", children: /* @__PURE__ */ jsx17(Paper2, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ jsx17(NetworkSelectEx2, { responsive: false, className: "network-ex" }) }) }) })
415
- }
416
- ) });
417
- } else {
418
- return /* @__PURE__ */ jsx17(FlexCol4, {});
419
- }
420
- };
421
-
422
- // src/components/MobileSystemControls/SystemControlsRoot.tsx
423
- var SystemControlsRoot = styled2(SystemControlsUnstyled, { name: "SystemControls", slot: "Root" })(({ theme }) => ({
424
- // shared defaults
425
- ["&"]: {
426
- ".toggle": {
427
- backgroundColor: theme.palette.primary.main
428
- },
429
- alignItems: "start",
430
- zIndex: 1
431
- },
432
- // WindowShade System Controls styles
433
- [`&.system-controls-type-${"WindowShade" /* WindowShade */}`]: {
434
- ".control": {
435
- borderRadius: "0 0 5px 5px",
436
- flexDirection: "row",
437
- flexGrow: 1,
438
- justifyContent: "space-around",
439
- padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
440
- },
441
- ".controls": {
442
- alignItems: "stretch",
443
- flexDirection: "column",
444
- flexGrow: 1
445
- },
446
- ".toggle": {
447
- borderRadius: "0 0 5px 5px",
448
- padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`
449
- },
450
- flexDirection: "row",
451
- position: "absolute",
452
- top: 0,
453
- width: "100%"
454
- },
455
- // Left System Control styles
456
- [`&.system-controls-type-${"Left" /* Left */}`]: {
457
- ".control": {
458
- alignItems: "start",
459
- flexDirection: "column",
460
- padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
461
- },
462
- ".control-wrap": {
463
- marginBottom: `${theme.spacing(2)}`
464
- },
465
- ".toggle": {
466
- borderRadius: "0 5px 5px 0",
467
- padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
468
- writingMode: "vertical-rl"
469
- },
470
- flexDirection: "column",
471
- left: 0,
472
- position: "fixed",
473
- top: "30vh",
474
- width: "auto"
475
- }
476
- }));
477
-
478
- // src/components/MobileSystemControls/SystemControls.tsx
479
- import { jsx as jsx18 } from "react/jsx-runtime";
480
- var SystemControls = (props) => {
481
- return /* @__PURE__ */ jsx18(FlexCol5, { children: /* @__PURE__ */ jsx18(SystemControlsRoot, { ...props }) });
482
- };
483
-
484
- // src/components/SearchBar/SearchBar.tsx
485
- import { Search as SearchIcon } from "@mui/icons-material";
486
- import { Paper as Paper3, TextField } from "@mui/material";
487
- import { ButtonEx } from "@xylabs/react-button";
488
- import { FlexRow as FlexRow8 } from "@xylabs/react-flexbox";
489
- import { useState as useState5 } from "react";
490
- import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
491
- var SearchBar = ({ defaultValue, onSearch, ...props }) => {
492
- const [term, setTerm] = useState5();
493
- return /* @__PURE__ */ jsx19(FlexRow8, { alignItems: "stretch", ...props, children: /* @__PURE__ */ jsxs7(Paper3, { variant: "elevation", elevation: 0, style: { display: "flex", overflow: "hidden", width: "100%" }, children: [
494
- /* @__PURE__ */ jsx19(
495
- TextField,
496
- {
497
- InputProps: { color: "secondary", style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } },
498
- variant: "outlined",
499
- size: "small",
500
- defaultValue,
501
- fullWidth: true,
502
- onChange: (event) => setTerm(event.target.value),
503
- onKeyDown: (event) => {
504
- if (event.key === "Enter")
505
- onSearch == null ? void 0 : onSearch(term);
506
- }
507
- }
508
- ),
509
- /* @__PURE__ */ jsx19(ButtonEx, { variant: "contained", style: { borderRadius: 0, borderTopLeftRadius: 0 }, color: "secondary", onClick: () => onSearch == null ? void 0 : onSearch(term), children: /* @__PURE__ */ jsx19(SearchIcon, {}) })
510
- ] }) });
511
- };
512
- export {
513
- ApplicationAppBar,
514
- CollapseToggleFlex,
515
- CollapsibleDrawer,
516
- ContextToolbar,
517
- MenuListItemContainer,
518
- MenuSection,
519
- SearchBar,
520
- SiteMenu,
521
- SystemControls,
522
- SystemControlsType,
523
- SystemControlsUnstyled,
524
- SystemToolbar,
525
- useMenuItemsShared
526
- };
527
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/AppBar/Application.tsx","../../../src/components/Toolbar/Context/ContextToolbar.tsx","../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../src/components/Toolbar/Context/Logo.tsx","../../../src/components/Toolbar/System/SystemToolbar.tsx","../../../src/components/SiteMenu/hooks/useMenuItemsShared.tsx","../../../src/contexts/Collapsible/context.ts","../../../src/contexts/Collapsible/use.tsx","../../../src/components/SiteMenu/Menu.tsx","../../../src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx","../../../src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx","../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx","../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx","../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx","../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx","../../../src/components/SiteMenu/MenuSection.tsx","../../../src/components/CollapsibleDrawer/CollapseToggle.tsx","../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx","../../../src/components/MobileSystemControls/SystemControls.tsx","../../../src/components/MobileSystemControls/SystemControlsRoot.tsx","../../../src/components/MobileSystemControls/SystemControlsType.ts","../../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx","../../../src/components/MobileSystemControls/controls/SystemControl.tsx","../../../src/components/SearchBar/SearchBar.tsx"],"sourcesContent":["import { ToolbarProps } from '@mui/material'\nimport { AppBarEx, AppBarExProps } from '@xylabs/react-appbar'\nimport { ReactElement } from 'react'\n\nimport { ContextToolbar, SystemToolbar } from '../Toolbar'\n\nexport interface ApplicationAppBarProps extends AppBarExProps {\n contextToolbar?: ReactElement<ToolbarProps>\n responsive?: boolean\n systemToolbar?: ReactElement<ToolbarProps>\n}\n\nexport const ApplicationAppBar: React.FC<ApplicationAppBarProps> = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {\n return (\n <AppBarEx\n systemToolbar={systemToolbar ?? <SystemToolbar />}\n contextToolbar={contextToolbar ?? <ContextToolbar />}\n position=\"sticky\"\n responsive={responsive}\n {...props}\n />\n )\n}\n","import { Toolbar, ToolbarProps } from '@mui/material'\nimport { To } from 'react-router-dom'\n\nimport { LogoLinkEx } from './LogoLinkEx'\n\nexport interface ContextToolbarProps extends ToolbarProps {\n logoTo?: To\n version?: boolean\n}\n\nexport const ContextToolbar: React.FC<ContextToolbarProps> = ({ logoTo = '/', version = false, ...props }) => {\n return (\n <Toolbar {...props}>\n <LogoLinkEx version={version} to={logoTo} />\n </Toolbar>\n )\n}\n","import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n","import { Paper, Toolbar, ToolbarProps } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { DarkModeIconButton } from '@xyo-network/react-app-settings'\nimport { NetworkSelectEx, NetworkSelectExProps } from '@xyo-network/react-network'\nimport { ReactNode } from 'react'\n\nimport { SiteMenu, SiteMenuProps } from '../../SiteMenu'\n\nexport interface SystemToolbarProps extends ToolbarProps {\n darkModeButton?: boolean\n developerMode?: boolean\n hideNetworkSelect?: boolean\n menuItems?: ReactNode\n networkSelectProps?: NetworkSelectExProps\n onMenuToggle?: SiteMenuProps['onMenuToggle']\n precedingChildren?: ReactNode\n}\n\nexport const SystemToolbar: React.FC<SystemToolbarProps> = ({\n children,\n darkModeButton = false,\n hideNetworkSelect,\n menuItems,\n networkSelectProps,\n onMenuToggle,\n precedingChildren,\n ...props\n}) => {\n return (\n <Toolbar {...props}>\n {precedingChildren}\n {hideNetworkSelect ? null : (\n <FlexRow marginX={0.5}>\n <Paper variant=\"elevation\">\n <NetworkSelectEx fullWidth {...networkSelectProps} />\n </Paper>\n </FlexRow>\n )}\n {children}\n {darkModeButton ? <DarkModeIconButton color=\"inherit\" /> : null}\n {menuItems ? <SiteMenu onMenuToggle={onMenuToggle}>{menuItems}</SiteMenu> : null}\n </Toolbar>\n )\n}\n","import { useMemo } from 'react'\n\nimport { useCollapsible } from '../../../contexts'\nimport { MenuListItemProps } from '../MenuListItem'\n\nexport type DefaultSiteMenuListItemProps = Pick<MenuListItemProps, 'collapseEnd' | 'dense' | 'iconOnly' | 'sx'>\n\nexport const useMenuItemsShared = () => {\n const { collapse, collapseEnd, setCollapse, setCollapseEnd } = useCollapsible()\n\n const onMenuItemToggle = (open?: boolean) => {\n setCollapse?.((previous) => (open ? false : previous))\n setCollapseEnd?.((previous) => (open ? false : previous))\n }\n\n const defaultSiteMenuListItemProps: DefaultSiteMenuListItemProps = useMemo(\n () => ({\n collapseEnd,\n dense: true,\n iconOnly: collapse,\n sx: {\n px: '8px',\n },\n }),\n [collapse, collapseEnd],\n )\n\n return { defaultSiteMenuListItemProps, onMenuItemToggle }\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleContext } from './context'\n\nexport const useCollapsible = () => useContextEx(CollapsibleContext, 'Collapsible', false)\n","import { Menu as MenuIcon, Settings as SettingsIcon } from '@mui/icons-material'\nimport { IconButton, List, SwipeableDrawer } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useEffect, useState } from 'react'\n\nimport { MenuListItemContainer } from './MenuListItem'\n\nexport interface SiteMenuProps extends FlexBoxProps {\n hideSettingsMenuItem?: boolean\n onMenuToggle?: (state?: boolean) => void\n side?: 'left' | 'right' | 'top' | 'bottom'\n}\n\nexport const SiteMenu: React.FC<SiteMenuProps> = ({ children, onMenuToggle, side = 'right', ...props }) => {\n const [open, setOpen] = useState(false)\n\n useEffect(() => {\n onMenuToggle?.(open)\n }, [onMenuToggle, open])\n\n return (\n <FlexRow alignItems=\"stretch\" {...props}>\n <IconButton\n size=\"small\"\n color=\"inherit\"\n onClick={() => {\n setOpen(!open)\n }}\n >\n <MenuIcon fontSize=\"large\" />\n </IconButton>\n <SwipeableDrawer\n anchor={side}\n open={open}\n onClick={() => setOpen(false)}\n onKeyDown={() => setOpen(false)}\n onClose={() => setOpen(false)}\n onOpen={() => setOpen(true)}\n >\n {children ?? (\n <List>\n <MenuListItemContainer primary=\"Settings\" icon={<SettingsIcon />} to=\"/settings\" />\n </List>\n )}\n </SwipeableDrawer>\n </FlexRow>\n )\n}\n","import { ListItemProps, ListItemText, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx } from '@xylabs/react-link'\nimport { useState } from 'react'\n\nimport { useCollapsible } from '../../../contexts'\nimport { MenuListItemBase, NavListItemProps } from '../lib'\nimport { ListItemTooltip, MenuIcon, MenuListItem } from './list-item-components'\nimport { SubNavListItemsCollapse, SubNavToggleIconButton } from './sub-nav'\n\nexport interface MenuListItemProps extends NavListItemProps, MenuListItemBase, ListItemProps {\n iconMenuTextSpacing?: string\n iconOnly?: boolean\n subNavListItems?: NavListItemProps[]\n subNavOpen?: boolean\n}\n\nexport const MenuListItemContainer: React.FC<MenuListItemProps> = ({\n style,\n icon,\n iconMenuTextSpacing,\n iconOnly,\n onButtonClick,\n primary,\n subNavListItems,\n sx,\n tooltip,\n to,\n ...props\n}) => {\n const { dense } = props\n const theme = useTheme()\n const { collapse } = useCollapsible()\n const [openSubNav, setOpenSubNav] = useState(false)\n const [hovered, setHovered] = useState(false)\n const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1)\n\n return (\n <>\n <MenuListItem\n disableGutters\n iconOnly={iconOnly}\n onClick={onButtonClick}\n dense={dense}\n sx={{ justifyContent: 'space-between', ...sx }}\n style={{ whiteSpace: 'nowrap', ...style }}\n {...props}\n >\n <LinkEx\n onMouseEnter={() => setHovered(true)}\n onMouseLeave={() => setHovered(false)}\n color=\"inherit\"\n to={to}\n sx={{\n '& :hover': {\n cursor: 'pointer',\n textDecoration: 'underline',\n },\n }}\n >\n <FlexRow>\n <MenuIcon icon={icon} paddingRight={resolvedIconMenuTextSpacing} color={hovered ? 'secondary' : 'inherit'} />\n <ListItemText primary={primary} />\n </FlexRow>\n </LinkEx>\n <FlexRow style={{ marginLeft: theme.spacing(1) }}>\n {subNavListItems ? <SubNavToggleIconButton setOpenSubNav={setOpenSubNav} openSubNav={openSubNav} /> : null}\n {tooltip ? <ListItemTooltip title={tooltip} /> : null}\n </FlexRow>\n </MenuListItem>\n {subNavListItems ? (\n <SubNavListItemsCollapse openSubNav={openSubNav} collapse={collapse}>\n {subNavListItems?.map((item, index) => <MenuListItemContainer dense={dense} sx={{ pl: theme.spacing(1) }} key={index} {...item} />)}\n </SubNavListItemsCollapse>\n ) : null}\n </>\n )\n}\n","import { Tooltip, TooltipProps } from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscInfo } from 'react-icons/vsc/index.js'\n\nexport interface ListItemTooltipProps extends Omit<TooltipProps, 'children'> {\n title: string\n}\n\nexport const ListItemTooltip: React.FC<ListItemTooltipProps> = ({ title, ...props }) => {\n return (\n <Tooltip title={title} placement=\"right\" {...props}>\n {/* Needs div so it can work, the hovering doesn't work with a FlexCol */}\n <div>\n <FlexCol justifyContent=\"center\">\n <VscInfo color=\"grey\" />\n </FlexCol>\n </div>\n </Tooltip>\n )\n}\n","import { Typography, TypographyProps } from '@mui/material'\nimport { ReactNode } from 'react'\n\nexport interface MenuIconProps extends TypographyProps {\n icon?: ReactNode\n}\n\nexport const MenuIcon: React.FC<MenuIconProps> = ({ icon, ...props }) => {\n return (\n <Typography display=\"flex\" {...props}>\n {icon}\n </Typography>\n )\n}\n","import { ListItem, ListItemProps } from '@mui/material'\n\nimport { MenuListItemBase } from '../../lib'\n\nexport interface ListItemExProps extends MenuListItemBase, ListItemProps {}\n\nexport const MenuListItem: React.FC<ListItemExProps> = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {\n const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' }\n // wait till collapseEnds to remove the spacing between items\n const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 }\n // adjusts to the paddingY value which does NOT scale along the theme.spacing\n const paddingSx = dense ? { px: '8px' } : { px: '12px' }\n return (\n <ListItem sx={{ ...listItemSx, ...spacingSx, ...paddingSx, ...sx }} {...props}>\n {children}\n </ListItem>\n )\n}\n","import { Collapse, CollapseProps, List } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { NavListItemProps } from '../../lib'\n\nexport interface SubNavListItemsCollapseProps extends WithChildren, CollapseProps {\n collapse?: boolean\n openSubNav?: boolean\n subNavListItems?: NavListItemProps[]\n}\n\nexport const SubNavListItemsCollapse: React.FC<SubNavListItemsCollapseProps> = ({ collapse, openSubNav, children, ...props }) => {\n return (\n <Collapse in={collapse == true ? false : openSubNav} {...props}>\n <List>{children}</List>\n </Collapse>\n )\n}\n","import { IconButton, IconButtonProps, useTheme } from '@mui/material'\nimport { Dispatch, SetStateAction, SyntheticEvent } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscChevronDown } from 'react-icons/vsc/index.js'\n\nexport interface SubNavToggleIconButtonProps extends IconButtonProps {\n openSubNav?: boolean\n setOpenSubNav?: Dispatch<SetStateAction<boolean>>\n}\n\nexport const SubNavToggleIconButton: React.FC<SubNavToggleIconButtonProps> = ({ setOpenSubNav, openSubNav }) => {\n const theme = useTheme()\n return (\n <IconButton\n onClick={(event: SyntheticEvent) => {\n event.stopPropagation()\n setOpenSubNav?.(!openSubNav)\n }}\n sx={{ marginRight: theme.spacing(0.5) }}\n >\n <VscChevronDown fontSize=\"16px\" />\n </IconButton>\n )\n}\n","import { Collapse, ListSubheader } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\nimport { MenuListItemContainer, MenuListItemProps } from './MenuListItem'\n\nexport interface MenuSectionProps extends FlexBoxProps {\n iconMenuTextSpacing?: string\n listItems: MenuListItemProps[]\n showTitle?: boolean\n title: string\n}\n\nexport const MenuSection: React.FC<MenuSectionProps> = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n <Collapse in={showTitle} timeout={700}>\n <ListSubheader>{title}</ListSubheader>\n </Collapse>\n\n {listItems.map((item, index) => (\n <MenuListItemContainer key={index} iconMenuTextSpacing={iconMenuTextSpacing} {...item}></MenuListItemContainer>\n ))}\n </FlexCol>\n )\n}\n","import { Icon, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscArrowSmallLeft, VscArrowSmallRight } from 'react-icons/vsc/index.js'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapseToggleFlex: React.FC<FlexBoxProps> = (props) => {\n const { collapse, setCollapse, setCollapseEnd } = useCollapsible()\n const [hover, setHover] = useState(false)\n const theme = useTheme()\n\n const handleCollapseToggle = () => {\n setCollapse?.(!collapse)\n setCollapseEnd?.((previous) => (previous ? false : previous))\n }\n\n return (\n <FlexRow mt={2} py={2} justifyContent={collapse ? 'start' : 'center'} {...props}>\n <Icon\n onClick={handleCollapseToggle}\n onMouseEnter={() => setHover(true)}\n onMouseLeave={() => setHover(false)}\n fontSize={'large'}\n sx={{ color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' }}\n >\n {!collapse ? <VscArrowSmallLeft /> : <VscArrowSmallRight />}\n </Icon>\n </FlexRow>\n )\n}\n","import { Collapse, CollapseProps, styled, useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapsibleDrawer: React.FC<WithChildren<CollapseProps>> = ({ children, sx, ...props }) => {\n const { collapse, setCollapseEnd } = useCollapsible()\n const theme = useTheme()\n\n const collapsedSize = props.collapsedSize ?? theme.spacing(5)\n\n return (\n <CollapsibleFlexInner\n in={!collapse}\n orientation=\"horizontal\"\n collapsedSize={collapsedSize}\n onExited={() => setCollapseEnd?.(true)}\n sx={{\n alignItems: 'start',\n display: 'flex',\n height: '100%',\n ...sx,\n }}\n {...props}\n >\n {children}\n </CollapsibleFlexInner>\n )\n}\n\nconst CollapsibleFlexInner = styled(Collapse)(() => ({\n '& .MuiCollapse-wrapperInner': {\n display: 'flex',\n flexDirection: 'column',\n },\n}))\n","import { FlexCol } from '@xylabs/react-flexbox'\n\nimport { SystemControlsRoot } from './SystemControlsRoot'\nimport { SystemControlsUnstyledProps } from './SystemControlsUnstyled'\n\nconst SystemControls: React.FC<SystemControlsUnstyledProps> = (props) => {\n return (\n <FlexCol>\n <SystemControlsRoot {...props} />\n </FlexCol>\n )\n}\n\nexport { SystemControls }\n","import { styled } from '@mui/material'\n\nimport { SystemControlsType } from './SystemControlsType'\nimport { SystemControlsUnstyled, SystemControlsUnstyledProps } from './SystemControlsUnstyled'\n\nconst SystemControlsRoot = styled(SystemControlsUnstyled, { name: 'SystemControls', slot: 'Root' })<SystemControlsUnstyledProps>(({ theme }) => ({\n // shared defaults\n ['&']: {\n '.toggle': {\n backgroundColor: theme.palette.primary.main,\n },\n alignItems: 'start',\n zIndex: 1,\n },\n // WindowShade System Controls styles\n [`&.system-controls-type-${SystemControlsType.WindowShade}`]: {\n '.control': {\n borderRadius: '0 0 5px 5px',\n flexDirection: 'row',\n flexGrow: 1,\n justifyContent: 'space-around',\n padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,\n },\n '.controls': {\n alignItems: 'stretch',\n flexDirection: 'column',\n flexGrow: 1,\n },\n '.toggle': {\n borderRadius: '0 0 5px 5px',\n padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,\n },\n flexDirection: 'row',\n position: 'absolute',\n top: 0,\n width: '100%',\n },\n // Left System Control styles\n [`&.system-controls-type-${SystemControlsType.Left}`]: {\n '.control': {\n alignItems: 'start',\n flexDirection: 'column',\n padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,\n },\n '.control-wrap': {\n marginBottom: `${theme.spacing(2)}`,\n },\n '.toggle': {\n borderRadius: '0 5px 5px 0',\n padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,\n writingMode: 'vertical-rl',\n },\n flexDirection: 'column',\n left: 0,\n position: 'fixed',\n top: '30vh',\n width: 'auto',\n },\n}))\n\nexport { SystemControlsRoot }\n","export enum SystemControlsType {\n Left = 'Left',\n Right = 'Right',\n WindowShade = 'WindowShade',\n}\n","import { Paper, Theme, useMediaQuery } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { NetworkSelectEx } from '@xyo-network/react-network'\n\nimport { SystemControl } from './controls'\nimport { SystemControlsType } from './SystemControlsType'\n\ninterface SystemControlsUnstyledProps extends FlexBoxProps {\n systemControlsType?: SystemControlsType\n visible?: boolean\n}\n\nconst SystemControlsUnstyled: React.FC<SystemControlsUnstyledProps> = ({\n visible,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const isSmall = useMediaQuery<Theme>((theme) => theme.breakpoints.down('sm'))\n\n if (visible || isSmall) {\n return (\n <FlexCol {...props} className={`${props.className} system-controls-type-${systemControlsType}`}>\n <SystemControl\n systemControlsType={systemControlsType}\n controlElement={\n <>\n <FlexRow className={'control-wrap'}>\n <Paper variant=\"elevation\" elevation={0}>\n <NetworkSelectEx responsive={false} className=\"network-ex\" />\n </Paper>\n </FlexRow>\n </>\n }\n />\n </FlexCol>\n )\n } else {\n return <FlexCol />\n }\n}\n\nexport type { SystemControlsUnstyledProps }\nexport { SystemControlsUnstyled }\n","import { Collapse, CollapseProps } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { SystemControlsType } from '../SystemControlsType'\n\ninterface SystemControlProps extends FlexBoxProps {\n controlElement: React.ReactNode\n systemControlsType?: SystemControlsType\n}\n\nconst SystemControl: React.FC<WithChildren<SystemControlProps>> = ({\n children,\n controlElement,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const [toggleControls, setToggleControls] = useState(false)\n\n let orientation: CollapseProps['orientation'] = 'vertical'\n\n switch (systemControlsType) {\n case SystemControlsType.Left: {\n orientation = 'horizontal'\n break\n }\n }\n\n return (\n <FlexRow className=\"controls\" {...props}>\n <Collapse in={toggleControls} orientation={orientation} timeout={500}>\n <FlexRow bgcolor=\"primary.main\" className=\"control\">\n {controlElement}\n </FlexRow>\n </Collapse>\n <FlexCol style={{ cursor: 'pointer' }} onClick={() => setToggleControls(!toggleControls)}>\n {children}\n </FlexCol>\n </FlexRow>\n )\n}\n\nexport { SystemControl }\n","import { Search as SearchIcon } from '@mui/icons-material'\nimport { Paper, TextField } from '@mui/material'\nimport { ButtonEx } from '@xylabs/react-button'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n\nexport interface SearchBarProps extends FlexBoxProps {\n onSearch?: (term?: string) => void\n}\n\nexport const SearchBar: React.FC<SearchBarProps> = ({ defaultValue, onSearch, ...props }) => {\n const [term, setTerm] = useState<string>()\n\n return (\n <FlexRow alignItems=\"stretch\" {...props}>\n <Paper variant=\"elevation\" elevation={0} style={{ display: 'flex', overflow: 'hidden', width: '100%' }}>\n <TextField\n InputProps={{ color: 'secondary', style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } }}\n variant=\"outlined\"\n size=\"small\"\n defaultValue={defaultValue}\n fullWidth\n onChange={(event) => setTerm(event.target.value)}\n onKeyDown={(event) => {\n if (event.key === 'Enter') onSearch?.(term)\n }}\n />\n <ButtonEx variant=\"contained\" style={{ borderRadius: 0, borderTopLeftRadius: 0 }} color=\"secondary\" onClick={() => onSearch?.(term)}>\n <SearchIcon />\n </ButtonEx>\n </Paper>\n </FlexRow>\n )\n}\n"],"mappings":";AACA,SAAS,gBAA+B;;;ACDxC,SAAS,eAA6B;;;ACAtC,SAAS,YAAY,YAAAA,iBAAgB;AACrC,SAAS,eAAe;AACxB,SAAS,cAA2B;;;ACFpC,SAAS,gBAAgB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,QAAQ,SAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,oBAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;;;ADKM,SACE,OAAAC,MADF;AAJC,IAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,QAAQC,UAAS;AACvB,SACE,gBAAAD,KAAC,UAAO,IAAS,GAAG,OAClB,+BAAC,WAAQ,UAAS,OAChB;AAAA,oBAAAA,KAAC,QAAK,QAAO,MAAK,OAAM,MAAK;AAAA,IAC5B,UACC,gBAAAA;AAAA,MAAC;AAAA;AAAA,QACC,UAAS;AAAA,QACT,cAAc;AAAA,QACd,OAAO;AAAA,QACP,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,KAAK,OAAO;AAAA,QAC/D,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,UAAS;AAAA,QACT,YAAY;AAAA,QACZ,SAAQ;AAAA,QACR,QAAQ,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ,IAAI,CAAC;AAAA,QAEvE,iBAAO,YAAY,WAAW,UAAU;AAAA;AAAA,IAC3C,IACE;AAAA,KACN,GACF;AAEJ;;;ADtBM,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AA,EACC,0BAAAD,MAAC,sBAAoB,GAAG,OAAO,GACjC;AAEJ;;;AKXA,SAAS,UAAU,kBAAkB;AACrC,SAAS,SAAAE,QAAO,iBAAiB;AACjC,SAAS,gBAAgB;AACzB,SAAuB,WAAAC,gBAAe;AACtC,SAAS,YAAAC,iBAAgB;AAWnB,SACE,OAAAC,OADF,QAAAC,aAAA;AALC,IAAM,YAAsC,CAAC,EAAE,cAAc,UAAU,GAAG,MAAM,MAAM;AAC3F,QAAM,CAAC,MAAM,OAAO,IAAIF,UAAiB;AAEzC,SACE,gBAAAC,MAACF,UAAA,EAAQ,YAAW,WAAW,GAAG,OAChC,0BAAAG,MAACJ,QAAA,EAAM,SAAQ,aAAY,WAAW,GAAG,OAAO,EAAE,SAAS,QAAQ,UAAU,UAAU,OAAO,OAAO,GACnG;AAAA,oBAAAG;AAAA,MAAC;AAAA;AAAA,QACC,YAAY,EAAE,OAAO,aAAa,OAAO,EAAE,yBAAyB,GAAG,sBAAsB,GAAG,aAAa,EAAE,EAAE;AAAA,QACjH,SAAQ;AAAA,QACR,MAAK;AAAA,QACL;AAAA,QACA,WAAS;AAAA,QACT,UAAU,CAAC,UAAU,QAAQ,MAAM,OAAO,KAAK;AAAA,QAC/C,WAAW,CAAC,UAAU;AACpB,cAAI,MAAM,QAAQ;AAAS,iDAAW;AAAA,QACxC;AAAA;AAAA,IACF;AAAA,IACA,gBAAAA,MAAC,YAAS,SAAQ,aAAY,OAAO,EAAE,cAAc,GAAG,qBAAqB,EAAE,GAAG,OAAM,aAAY,SAAS,MAAM,qCAAW,OAC5H,0BAAAA,MAAC,cAAW,GACd;AAAA,KACF,GACF;AAEJ;","names":["useTheme","jsx","useTheme","jsx","Toolbar","FlexRow","MenuIcon","IconButton","List","FlexRow","useState","useTheme","FlexRow","LinkEx","jsx","Typography","jsx","jsx","jsx","useTheme","jsx","jsx","jsxs","useTheme","LinkEx","FlexRow","jsx","jsxs","useState","FlexRow","IconButton","MenuIcon","List","Collapse","FlexCol","jsx","jsxs","FlexCol","Collapse","jsx","jsxs","Toolbar","FlexRow","jsx","useTheme","FlexRow","useState","jsx","useState","useTheme","FlexRow","Collapse","useTheme","jsx","useTheme","Collapse","FlexCol","styled","SystemControlsType","Paper","FlexCol","FlexRow","NetworkSelectEx","Collapse","FlexCol","FlexRow","useState","jsx","jsxs","useState","FlexRow","Collapse","FlexCol","Fragment","jsx","FlexCol","FlexRow","Paper","NetworkSelectEx","styled","jsx","FlexCol","Paper","FlexRow","useState","jsx","jsxs"]}
@@ -1,19 +0,0 @@
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 __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
-
16
- // src/contexts/Collapsible/State.ts
17
- var State_exports = {};
18
- module.exports = __toCommonJS(State_exports);
19
- //# sourceMappingURL=State.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/contexts/Collapsible/State.ts"],"sourcesContent":["import { ContextExState } from '@xyo-network/react-shared'\nimport { Dispatch, SetStateAction } from 'react'\n\nexport interface CollapsibleState extends ContextExState {\n collapse?: boolean\n collapseEnd?: boolean\n setCollapse?: Dispatch<SetStateAction<boolean>>\n setCollapseEnd?: Dispatch<SetStateAction<boolean>>\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=State.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}