@xyo-network/react-appbar 2.64.8 → 2.64.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. package/dist/docs.json +25953 -12945
  2. package/package.json +13 -13
  3. package/dist/browser/components/AppBar/Application.cjs +0 -286
  4. package/dist/browser/components/AppBar/Application.cjs.map +0 -1
  5. package/dist/browser/components/AppBar/Application.js +0 -265
  6. package/dist/browser/components/AppBar/Application.js.map +0 -1
  7. package/dist/browser/components/AppBar/index.cjs +0 -288
  8. package/dist/browser/components/AppBar/index.cjs.map +0 -1
  9. package/dist/browser/components/AppBar/index.js +0 -265
  10. package/dist/browser/components/AppBar/index.js.map +0 -1
  11. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs +0 -61
  12. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs.map +0 -1
  13. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js +0 -40
  14. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
  15. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs +0 -66
  16. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +0 -1
  17. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -45
  18. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
  19. package/dist/browser/components/CollapsibleDrawer/index.cjs +0 -96
  20. package/dist/browser/components/CollapsibleDrawer/index.cjs.map +0 -1
  21. package/dist/browser/components/CollapsibleDrawer/index.js +0 -73
  22. package/dist/browser/components/CollapsibleDrawer/index.js.map +0 -1
  23. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs +0 -92
  24. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +0 -1
  25. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js +0 -84
  26. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
  27. package/dist/browser/components/MobileSystemControls/SystemControls.cjs +0 -143
  28. package/dist/browser/components/MobileSystemControls/SystemControls.cjs.map +0 -1
  29. package/dist/browser/components/MobileSystemControls/SystemControls.js +0 -122
  30. package/dist/browser/components/MobileSystemControls/SystemControls.js.map +0 -1
  31. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs +0 -134
  32. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs.map +0 -1
  33. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js +0 -113
  34. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
  35. package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs +0 -32
  36. package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs.map +0 -1
  37. package/dist/browser/components/MobileSystemControls/SystemControlsType.js +0 -11
  38. package/dist/browser/components/MobileSystemControls/SystemControlsType.js.map +0 -1
  39. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs +0 -75
  40. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +0 -1
  41. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js +0 -54
  42. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
  43. package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs +0 -49
  44. package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs.map +0 -1
  45. package/dist/browser/components/MobileSystemControls/controls/SystemControl.js +0 -28
  46. package/dist/browser/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
  47. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs +0 -32
  48. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs.map +0 -1
  49. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js +0 -11
  50. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
  51. package/dist/browser/components/MobileSystemControls/controls/index.cjs +0 -60
  52. package/dist/browser/components/MobileSystemControls/controls/index.cjs.map +0 -1
  53. package/dist/browser/components/MobileSystemControls/controls/index.js +0 -37
  54. package/dist/browser/components/MobileSystemControls/controls/index.js.map +0 -1
  55. package/dist/browser/components/MobileSystemControls/index.cjs +0 -155
  56. package/dist/browser/components/MobileSystemControls/index.cjs.map +0 -1
  57. package/dist/browser/components/MobileSystemControls/index.js +0 -132
  58. package/dist/browser/components/MobileSystemControls/index.js.map +0 -1
  59. package/dist/browser/components/SearchBar/SearchBar.cjs +0 -53
  60. package/dist/browser/components/SearchBar/SearchBar.cjs.map +0 -1
  61. package/dist/browser/components/SearchBar/SearchBar.js +0 -32
  62. package/dist/browser/components/SearchBar/SearchBar.js.map +0 -1
  63. package/dist/browser/components/SearchBar/index.cjs +0 -55
  64. package/dist/browser/components/SearchBar/index.cjs.map +0 -1
  65. package/dist/browser/components/SearchBar/index.js +0 -32
  66. package/dist/browser/components/SearchBar/index.js.map +0 -1
  67. package/dist/browser/components/SiteMenu/Menu.cjs +0 -193
  68. package/dist/browser/components/SiteMenu/Menu.cjs.map +0 -1
  69. package/dist/browser/components/SiteMenu/Menu.js +0 -172
  70. package/dist/browser/components/SiteMenu/Menu.js.map +0 -1
  71. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +0 -153
  72. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +0 -1
  73. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -132
  74. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
  75. package/dist/browser/components/SiteMenu/MenuListItem/index.cjs +0 -155
  76. package/dist/browser/components/SiteMenu/MenuListItem/index.cjs.map +0 -1
  77. package/dist/browser/components/SiteMenu/MenuListItem/index.js +0 -132
  78. package/dist/browser/components/SiteMenu/MenuListItem/index.js.map +0 -1
  79. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +0 -33
  80. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +0 -1
  81. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -12
  82. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
  83. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +0 -31
  84. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +0 -1
  85. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -10
  86. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
  87. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +0 -34
  88. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +0 -1
  89. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -13
  90. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
  91. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs +0 -54
  92. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +0 -1
  93. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js +0 -31
  94. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
  95. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +0 -31
  96. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +0 -1
  97. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -10
  98. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
  99. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +0 -43
  100. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +0 -1
  101. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -22
  102. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
  103. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs +0 -53
  104. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +0 -1
  105. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js +0 -30
  106. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
  107. package/dist/browser/components/SiteMenu/MenuSection.cjs +0 -166
  108. package/dist/browser/components/SiteMenu/MenuSection.cjs.map +0 -1
  109. package/dist/browser/components/SiteMenu/MenuSection.js +0 -145
  110. package/dist/browser/components/SiteMenu/MenuSection.js.map +0 -1
  111. package/dist/browser/components/SiteMenu/hooks/index.cjs +0 -58
  112. package/dist/browser/components/SiteMenu/hooks/index.cjs.map +0 -1
  113. package/dist/browser/components/SiteMenu/hooks/index.js +0 -35
  114. package/dist/browser/components/SiteMenu/hooks/index.js.map +0 -1
  115. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs +0 -56
  116. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +0 -1
  117. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js +0 -35
  118. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
  119. package/dist/browser/components/SiteMenu/index.cjs +0 -233
  120. package/dist/browser/components/SiteMenu/index.cjs.map +0 -1
  121. package/dist/browser/components/SiteMenu/index.js +0 -210
  122. package/dist/browser/components/SiteMenu/index.js.map +0 -1
  123. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs +0 -19
  124. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs.map +0 -1
  125. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.js +0 -1
  126. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
  127. package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs +0 -19
  128. package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs.map +0 -1
  129. package/dist/browser/components/SiteMenu/lib/NavListItemProps.js +0 -1
  130. package/dist/browser/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
  131. package/dist/browser/components/SiteMenu/lib/index.cjs +0 -19
  132. package/dist/browser/components/SiteMenu/lib/index.cjs.map +0 -1
  133. package/dist/browser/components/SiteMenu/lib/index.js +0 -1
  134. package/dist/browser/components/SiteMenu/lib/index.js.map +0 -1
  135. package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs +0 -72
  136. package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs.map +0 -1
  137. package/dist/browser/components/Toolbar/Context/ContextToolbar.js +0 -51
  138. package/dist/browser/components/Toolbar/Context/ContextToolbar.js.map +0 -1
  139. package/dist/browser/components/Toolbar/Context/Logo.cjs +0 -33
  140. package/dist/browser/components/Toolbar/Context/Logo.cjs.map +0 -1
  141. package/dist/browser/components/Toolbar/Context/Logo.js +0 -12
  142. package/dist/browser/components/Toolbar/Context/Logo.js.map +0 -1
  143. package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs +0 -63
  144. package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs.map +0 -1
  145. package/dist/browser/components/Toolbar/Context/LogoLinkEx.js +0 -42
  146. package/dist/browser/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
  147. package/dist/browser/components/Toolbar/Context/index.cjs +0 -74
  148. package/dist/browser/components/Toolbar/Context/index.cjs.map +0 -1
  149. package/dist/browser/components/Toolbar/Context/index.js +0 -51
  150. package/dist/browser/components/Toolbar/Context/index.js.map +0 -1
  151. package/dist/browser/components/Toolbar/System/SystemToolbar.cjs +0 -220
  152. package/dist/browser/components/Toolbar/System/SystemToolbar.cjs.map +0 -1
  153. package/dist/browser/components/Toolbar/System/SystemToolbar.js +0 -199
  154. package/dist/browser/components/Toolbar/System/SystemToolbar.js.map +0 -1
  155. package/dist/browser/components/Toolbar/System/index.cjs +0 -222
  156. package/dist/browser/components/Toolbar/System/index.cjs.map +0 -1
  157. package/dist/browser/components/Toolbar/System/index.js +0 -199
  158. package/dist/browser/components/Toolbar/System/index.js.map +0 -1
  159. package/dist/browser/components/Toolbar/index.cjs +0 -271
  160. package/dist/browser/components/Toolbar/index.cjs.map +0 -1
  161. package/dist/browser/components/Toolbar/index.js +0 -248
  162. package/dist/browser/components/Toolbar/index.js.map +0 -1
  163. package/dist/browser/components/index.cjs +0 -550
  164. package/dist/browser/components/index.cjs.map +0 -1
  165. package/dist/browser/components/index.js +0 -527
  166. package/dist/browser/components/index.js.map +0 -1
  167. package/dist/browser/contexts/Collapsible/State.cjs +0 -19
  168. package/dist/browser/contexts/Collapsible/State.cjs.map +0 -1
  169. package/dist/browser/contexts/Collapsible/State.js +0 -1
  170. package/dist/browser/contexts/Collapsible/State.js.map +0 -1
  171. package/dist/browser/contexts/Collapsible/context.cjs +0 -28
  172. package/dist/browser/contexts/Collapsible/context.cjs.map +0 -1
  173. package/dist/browser/contexts/Collapsible/context.js +0 -7
  174. package/dist/browser/contexts/Collapsible/context.js.map +0 -1
  175. package/dist/browser/contexts/Collapsible/index.cjs +0 -52
  176. package/dist/browser/contexts/Collapsible/index.cjs.map +0 -1
  177. package/dist/browser/contexts/Collapsible/index.js +0 -29
  178. package/dist/browser/contexts/Collapsible/index.js.map +0 -1
  179. package/dist/browser/contexts/Collapsible/provider.cjs +0 -45
  180. package/dist/browser/contexts/Collapsible/provider.cjs.map +0 -1
  181. package/dist/browser/contexts/Collapsible/provider.js +0 -24
  182. package/dist/browser/contexts/Collapsible/provider.js.map +0 -1
  183. package/dist/browser/contexts/Collapsible/use.cjs +0 -34
  184. package/dist/browser/contexts/Collapsible/use.cjs.map +0 -1
  185. package/dist/browser/contexts/Collapsible/use.js +0 -13
  186. package/dist/browser/contexts/Collapsible/use.js.map +0 -1
  187. package/dist/browser/contexts/index.cjs +0 -52
  188. package/dist/browser/contexts/index.cjs.map +0 -1
  189. package/dist/browser/contexts/index.js +0 -29
  190. package/dist/browser/contexts/index.js.map +0 -1
  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,42 +0,0 @@
1
- // src/components/Toolbar/Context/LogoLinkEx.tsx
2
- import { Typography, useTheme as useTheme2 } from "@mui/material";
3
- import { FlexRow } from "@xylabs/react-flexbox";
4
- import { LinkEx } from "@xylabs/react-link";
5
-
6
- // src/components/Toolbar/Context/Logo.tsx
7
- import { useTheme } from "@mui/material";
8
- import { jsx } from "react/jsx-runtime";
9
- var Logo = (props) => {
10
- const theme = useTheme();
11
- 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";
12
- return /* @__PURE__ */ jsx("img", { src: logoUrl, ...props });
13
- };
14
-
15
- // src/components/Toolbar/Context/LogoLinkEx.tsx
16
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
17
- var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
18
- const theme = useTheme2();
19
- return /* @__PURE__ */ jsx2(LinkEx, { to, ...props, children: /* @__PURE__ */ jsxs(FlexRow, { paddingX: "4px", children: [
20
- /* @__PURE__ */ jsx2(Logo, { height: "40", width: "43" }),
21
- version ? /* @__PURE__ */ jsx2(
22
- Typography,
23
- {
24
- position: "absolute",
25
- borderRadius: 1,
26
- right: 6,
27
- color: theme.palette.getContrastText(theme.palette.text.primary),
28
- bottom: 0,
29
- bgcolor: theme.palette.text.primary,
30
- paddingX: "2px",
31
- lineHeight: 1,
32
- variant: "caption",
33
- border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
34
- children: typeof version === "string" ? version : "2.1"
35
- }
36
- ) : null
37
- ] }) });
38
- };
39
- export {
40
- LogoLinkEx
41
- };
42
- //# sourceMappingURL=LogoLinkEx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["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"],"mappings":";AAAA,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;","names":["useTheme","jsx","useTheme"]}
@@ -1,78 +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 __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/components/Toolbar/Context/index.ts
21
- var Context_exports = {};
22
- __export(Context_exports, {
23
- ContextToolbar: () => ContextToolbar
24
- });
25
- module.exports = __toCommonJS(Context_exports);
26
-
27
- // src/components/Toolbar/Context/ContextToolbar.tsx
28
- var import_material3 = require("@mui/material");
29
-
30
- // src/components/Toolbar/Context/LogoLinkEx.tsx
31
- var import_material2 = require("@mui/material");
32
- var import_react_flexbox = require("@xylabs/react-flexbox");
33
- var import_react_link = require("@xylabs/react-link");
34
-
35
- // src/components/Toolbar/Context/Logo.tsx
36
- var import_material = require("@mui/material");
37
- var import_jsx_runtime = require("react/jsx-runtime");
38
- var Logo = (props) => {
39
- const theme = (0, import_material.useTheme)();
40
- 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";
41
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
42
- };
43
-
44
- // src/components/Toolbar/Context/LogoLinkEx.tsx
45
- var import_jsx_runtime2 = require("react/jsx-runtime");
46
- var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
47
- const theme = (0, import_material2.useTheme)();
48
- 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: [
49
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Logo, { height: "40", width: "43" }),
50
- version ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
51
- import_material2.Typography,
52
- {
53
- position: "absolute",
54
- borderRadius: 1,
55
- right: 6,
56
- color: theme.palette.getContrastText(theme.palette.text.primary),
57
- bottom: 0,
58
- bgcolor: theme.palette.text.primary,
59
- paddingX: "2px",
60
- lineHeight: 1,
61
- variant: "caption",
62
- border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
63
- children: typeof version === "string" ? version : "2.1"
64
- }
65
- ) : null
66
- ] }) });
67
- };
68
-
69
- // src/components/Toolbar/Context/ContextToolbar.tsx
70
- var import_jsx_runtime3 = require("react/jsx-runtime");
71
- var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
72
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Toolbar, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoLinkEx, { version, to: logoTo }) });
73
- };
74
- // Annotate the CommonJS export names for ESM import in node:
75
- 0 && (module.exports = {
76
- ContextToolbar
77
- });
78
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/Context/index.ts","../../../../../src/components/Toolbar/Context/ContextToolbar.tsx","../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["export * from './ContextToolbar'\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={logoUr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@ -1,51 +0,0 @@
1
- // src/components/Toolbar/Context/ContextToolbar.tsx
2
- import { Toolbar } from "@mui/material";
3
-
4
- // src/components/Toolbar/Context/LogoLinkEx.tsx
5
- import { Typography, useTheme as useTheme2 } from "@mui/material";
6
- import { FlexRow } from "@xylabs/react-flexbox";
7
- import { LinkEx } from "@xylabs/react-link";
8
-
9
- // src/components/Toolbar/Context/Logo.tsx
10
- import { useTheme } from "@mui/material";
11
- import { jsx } from "react/jsx-runtime";
12
- var Logo = (props) => {
13
- const theme = useTheme();
14
- 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";
15
- return /* @__PURE__ */ jsx("img", { src: logoUrl, ...props });
16
- };
17
-
18
- // src/components/Toolbar/Context/LogoLinkEx.tsx
19
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
20
- var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
21
- const theme = useTheme2();
22
- return /* @__PURE__ */ jsx2(LinkEx, { to, ...props, children: /* @__PURE__ */ jsxs(FlexRow, { paddingX: "4px", children: [
23
- /* @__PURE__ */ jsx2(Logo, { height: "40", width: "43" }),
24
- version ? /* @__PURE__ */ jsx2(
25
- Typography,
26
- {
27
- position: "absolute",
28
- borderRadius: 1,
29
- right: 6,
30
- color: theme.palette.getContrastText(theme.palette.text.primary),
31
- bottom: 0,
32
- bgcolor: theme.palette.text.primary,
33
- paddingX: "2px",
34
- lineHeight: 1,
35
- variant: "caption",
36
- border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
37
- children: typeof version === "string" ? version : "2.1"
38
- }
39
- ) : null
40
- ] }) });
41
- };
42
-
43
- // src/components/Toolbar/Context/ContextToolbar.tsx
44
- import { jsx as jsx3 } from "react/jsx-runtime";
45
- var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
46
- return /* @__PURE__ */ jsx3(Toolbar, { ...props, children: /* @__PURE__ */ jsx3(LogoLinkEx, { version, to: logoTo }) });
47
- };
48
- export {
49
- ContextToolbar
50
- };
51
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx","../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["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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,WAAS,GAAG,OACX,0BAAAA,KAAC,cAAW,SAAkB,IAAI,QAAQ,GAC5C;AAEJ;","names":["useTheme","jsx","useTheme","jsx"]}
@@ -1,224 +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 __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/components/Toolbar/System/SystemToolbar.tsx
21
- var SystemToolbar_exports = {};
22
- __export(SystemToolbar_exports, {
23
- SystemToolbar: () => SystemToolbar
24
- });
25
- module.exports = __toCommonJS(SystemToolbar_exports);
26
- var import_material8 = require("@mui/material");
27
- var import_react_flexbox4 = require("@xylabs/react-flexbox");
28
- var import_react_app_settings = require("@xyo-network/react-app-settings");
29
- var import_react_network = require("@xyo-network/react-network");
30
-
31
- // src/contexts/Collapsible/context.ts
32
- var import_react_shared = require("@xyo-network/react-shared");
33
- var CollapsibleContext = (0, import_react_shared.createContextEx)();
34
-
35
- // src/contexts/Collapsible/use.tsx
36
- var import_react_shared2 = require("@xyo-network/react-shared");
37
- var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
38
-
39
- // src/components/SiteMenu/Menu.tsx
40
- var import_icons_material = require("@mui/icons-material");
41
- var import_material7 = require("@mui/material");
42
- var import_react_flexbox3 = require("@xylabs/react-flexbox");
43
- var import_react2 = require("react");
44
-
45
- // src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
46
- var import_material6 = require("@mui/material");
47
- var import_react_flexbox2 = require("@xylabs/react-flexbox");
48
- var import_react_link = require("@xylabs/react-link");
49
- var import_react = require("react");
50
-
51
- // src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
52
- var import_material = require("@mui/material");
53
- var import_react_flexbox = require("@xylabs/react-flexbox");
54
- var import_vsc = require("react-icons/vsc/index.js");
55
- var import_jsx_runtime = require("react/jsx-runtime");
56
- var ListItemTooltip = ({ title, ...props }) => {
57
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscInfo, { color: "grey" }) }) }) });
58
- };
59
-
60
- // src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
61
- var import_material2 = require("@mui/material");
62
- var import_jsx_runtime2 = require("react/jsx-runtime");
63
- var MenuIcon = ({ icon, ...props }) => {
64
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { display: "flex", ...props, children: icon });
65
- };
66
-
67
- // src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
68
- var import_material3 = require("@mui/material");
69
- var import_jsx_runtime3 = require("react/jsx-runtime");
70
- var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
71
- const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
72
- const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
73
- const paddingSx = dense ? { px: "8px" } : { px: "12px" };
74
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
75
- };
76
-
77
- // src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
78
- var import_material4 = require("@mui/material");
79
- var import_jsx_runtime4 = require("react/jsx-runtime");
80
- var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
81
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material4.Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material4.List, { children }) });
82
- };
83
-
84
- // src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
85
- var import_material5 = require("@mui/material");
86
- var import_vsc2 = require("react-icons/vsc/index.js");
87
- var import_jsx_runtime5 = require("react/jsx-runtime");
88
- var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
89
- const theme = (0, import_material5.useTheme)();
90
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
91
- import_material5.IconButton,
92
- {
93
- onClick: (event) => {
94
- event.stopPropagation();
95
- setOpenSubNav == null ? void 0 : setOpenSubNav(!openSubNav);
96
- },
97
- sx: { marginRight: theme.spacing(0.5) },
98
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_vsc2.VscChevronDown, { fontSize: "16px" })
99
- }
100
- );
101
- };
102
-
103
- // src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
104
- var import_jsx_runtime6 = require("react/jsx-runtime");
105
- var MenuListItemContainer = ({
106
- style,
107
- icon,
108
- iconMenuTextSpacing,
109
- iconOnly,
110
- onButtonClick,
111
- primary,
112
- subNavListItems,
113
- sx,
114
- tooltip,
115
- to,
116
- ...props
117
- }) => {
118
- const { dense } = props;
119
- const theme = (0, import_material6.useTheme)();
120
- const { collapse } = useCollapsible();
121
- const [openSubNav, setOpenSubNav] = (0, import_react.useState)(false);
122
- const [hovered, setHovered] = (0, import_react.useState)(false);
123
- const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
124
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
125
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
126
- MenuListItem,
127
- {
128
- disableGutters: true,
129
- iconOnly,
130
- onClick: onButtonClick,
131
- dense,
132
- sx: { justifyContent: "space-between", ...sx },
133
- style: { whiteSpace: "nowrap", ...style },
134
- ...props,
135
- children: [
136
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
137
- import_react_link.LinkEx,
138
- {
139
- onMouseEnter: () => setHovered(true),
140
- onMouseLeave: () => setHovered(false),
141
- color: "inherit",
142
- to,
143
- sx: {
144
- "& :hover": {
145
- cursor: "pointer",
146
- textDecoration: "underline"
147
- }
148
- },
149
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_react_flexbox2.FlexRow, { children: [
150
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
151
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_material6.ListItemText, { primary })
152
- ] })
153
- }
154
- ),
155
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_react_flexbox2.FlexRow, { style: { marginLeft: theme.spacing(1) }, children: [
156
- subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
157
- tooltip ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ListItemTooltip, { title: tooltip }) : null
158
- ] })
159
- ]
160
- }
161
- ),
162
- subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems == null ? void 0 : subNavListItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
163
- ] });
164
- };
165
-
166
- // src/components/SiteMenu/Menu.tsx
167
- var import_jsx_runtime7 = require("react/jsx-runtime");
168
- var SiteMenu = ({ children, onMenuToggle, side = "right", ...props }) => {
169
- const [open, setOpen] = (0, import_react2.useState)(false);
170
- (0, import_react2.useEffect)(() => {
171
- onMenuToggle == null ? void 0 : onMenuToggle(open);
172
- }, [onMenuToggle, open]);
173
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_flexbox3.FlexRow, { alignItems: "stretch", ...props, children: [
174
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
175
- import_material7.IconButton,
176
- {
177
- size: "small",
178
- color: "inherit",
179
- onClick: () => {
180
- setOpen(!open);
181
- },
182
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_icons_material.Menu, { fontSize: "large" })
183
- }
184
- ),
185
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
186
- import_material7.SwipeableDrawer,
187
- {
188
- anchor: side,
189
- open,
190
- onClick: () => setOpen(false),
191
- onKeyDown: () => setOpen(false),
192
- onClose: () => setOpen(false),
193
- onOpen: () => setOpen(true),
194
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material7.List, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MenuListItemContainer, { primary: "Settings", icon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_icons_material.Settings, {}), to: "/settings" }) })
195
- }
196
- )
197
- ] });
198
- };
199
-
200
- // src/components/Toolbar/System/SystemToolbar.tsx
201
- var import_jsx_runtime8 = require("react/jsx-runtime");
202
- var SystemToolbar = ({
203
- children,
204
- darkModeButton = false,
205
- hideNetworkSelect,
206
- menuItems,
207
- networkSelectProps,
208
- onMenuToggle,
209
- precedingChildren,
210
- ...props
211
- }) => {
212
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_material8.Toolbar, { ...props, children: [
213
- precedingChildren,
214
- hideNetworkSelect ? null : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_flexbox4.FlexRow, { marginX: 0.5, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_material8.Paper, { variant: "elevation", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_network.NetworkSelectEx, { fullWidth: true, ...networkSelectProps }) }) }),
215
- children,
216
- darkModeButton ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_app_settings.DarkModeIconButton, { color: "inherit" }) : null,
217
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SiteMenu, { onMenuToggle, children: menuItems }) : null
218
- ] });
219
- };
220
- // Annotate the CommonJS export names for ESM import in node:
221
- 0 && (module.exports = {
222
- SystemToolbar
223
- });
224
- //# sourceMappingURL=SystemToolbar.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/System/SystemToolbar.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"],"sourcesContent":["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 { 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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,mBAA6C;AAC7C,IAAAC,wBAAwB;AACxB,gCAAmC;AACnC,2BA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A;AAAA,IAC7B;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,QAAQ;AAAA,QACR;AAAA,QACA,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,WAAW,MAAM,QAAQ,KAAK;AAAA,QAC9B,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,QAAQ,MAAM,QAAQ,IAAI;AAAA,QAEzB,sBACC,6CAAC,yBACC,uDAAC,yBAAsB,SAAQ,YAAW,MAAM,6CAAC,sBAAAC,UAAA,EAAa,GAAI,IAAG,aAAY,GACnF;AAAA;AAAA,IAEJ;AAAA,KACF;AAEJ;;;AHlBI,IAAAC,sBAAA;AAXG,IAAM,gBAA8C,CAAC;AAAA,EAC1D;AAAA,EACA,iBAAiB;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,SACE,8CAAC,4BAAS,GAAG,OACV;AAAA;AAAA,IACA,oBAAoB,OACnB,6CAAC,iCAAQ,SAAS,KAChB,uDAAC,0BAAM,SAAQ,aACb,uDAAC,wCAAgB,WAAS,MAAE,GAAG,oBAAoB,GACrD,GACF;AAAA,IAED;AAAA,IACA,iBAAiB,6CAAC,gDAAmB,OAAM,WAAU,IAAK;AAAA,IAC1D,YAAY,6CAAC,YAAS,cAA6B,qBAAU,IAAc;AAAA,KAC9E;AAEJ;","names":["import_material","import_react_flexbox","import_react_shared","import_material","import_react_flexbox","import_react","import_material","import_react_flexbox","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_vsc","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime","MenuIcon","SettingsIcon","import_jsx_runtime"]}