@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,11 +0,0 @@
1
- // src/components/MobileSystemControls/SystemControlsType.ts
2
- var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
3
- SystemControlsType2["Left"] = "Left";
4
- SystemControlsType2["Right"] = "Right";
5
- SystemControlsType2["WindowShade"] = "WindowShade";
6
- return SystemControlsType2;
7
- })(SystemControlsType || {});
8
- export {
9
- SystemControlsType
10
- };
11
- //# sourceMappingURL=SystemControlsType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsType.ts"],"sourcesContent":["export enum SystemControlsType {\n Left = 'Left',\n Right = 'Right',\n WindowShade = 'WindowShade',\n}\n"],"mappings":";AAAO,IAAK,qBAAL,kBAAKA,wBAAL;AACL,EAAAA,oBAAA,UAAO;AACP,EAAAA,oBAAA,WAAQ;AACR,EAAAA,oBAAA,iBAAc;AAHJ,SAAAA;AAAA,GAAA;","names":["SystemControlsType"]}
@@ -1,79 +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/MobileSystemControls/SystemControlsUnstyled.tsx
21
- var SystemControlsUnstyled_exports = {};
22
- __export(SystemControlsUnstyled_exports, {
23
- SystemControlsUnstyled: () => SystemControlsUnstyled
24
- });
25
- module.exports = __toCommonJS(SystemControlsUnstyled_exports);
26
- var import_material2 = require("@mui/material");
27
- var import_react_flexbox2 = require("@xylabs/react-flexbox");
28
- var import_react_network = require("@xyo-network/react-network");
29
-
30
- // src/components/MobileSystemControls/controls/SystemControl.tsx
31
- var import_material = require("@mui/material");
32
- var import_react_flexbox = require("@xylabs/react-flexbox");
33
- var import_react = require("react");
34
- var import_jsx_runtime = require("react/jsx-runtime");
35
- var SystemControl = ({
36
- children,
37
- controlElement,
38
- systemControlsType = "WindowShade" /* WindowShade */,
39
- ...props
40
- }) => {
41
- const [toggleControls, setToggleControls] = (0, import_react.useState)(false);
42
- let orientation = "vertical";
43
- switch (systemControlsType) {
44
- case "Left" /* Left */: {
45
- orientation = "horizontal";
46
- break;
47
- }
48
- }
49
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { className: "controls", ...props, children: [
50
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
51
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
52
- ] });
53
- };
54
-
55
- // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
56
- var import_jsx_runtime2 = require("react/jsx-runtime");
57
- var SystemControlsUnstyled = ({
58
- visible,
59
- systemControlsType = "WindowShade" /* WindowShade */,
60
- ...props
61
- }) => {
62
- const isSmall = (0, import_material2.useMediaQuery)((theme) => theme.breakpoints.down("sm"));
63
- if (visible || isSmall) {
64
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
65
- SystemControl,
66
- {
67
- systemControlsType,
68
- controlElement: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexRow, { className: "control-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_network.NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
69
- }
70
- ) });
71
- } else {
72
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, {});
73
- }
74
- };
75
- // Annotate the CommonJS export names for ESM import in node:
76
- 0 && (module.exports = {
77
- SystemControlsUnstyled
78
- });
79
- //# sourceMappingURL=SystemControlsUnstyled.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx","../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"sourcesContent":["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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,mBAA4C;AAC5C,IAAAC,wBAA+C;AAC/C,2BAAgC;;;ACFhC,sBAAwC;AACxC,2BAA+C;AAE/C,mBAAyB;AA2BrB;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,QAAI,uBAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,6CAAC,gCAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,gDAAC,4BAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,sDAAC,gCAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,4CAAC,gCAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;;;ADhBY,IAAAC,sBAAA;AAbZ,IAAM,yBAAgE,CAAC;AAAA,EACrE;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,cAAU,gCAAqB,CAAC,UAAU,MAAM,YAAY,KAAK,IAAI,CAAC;AAE5E,MAAI,WAAW,SAAS;AACtB,WACE,6CAAC,iCAAS,GAAG,OAAO,WAAW,GAAG,MAAM,SAAS,yBAAyB,kBAAkB,IAC1F;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,gBACE,6EACE,uDAAC,iCAAQ,WAAW,gBAClB,uDAAC,0BAAM,SAAQ,aAAY,WAAW,GACpC,uDAAC,wCAAgB,YAAY,OAAO,WAAU,cAAa,GAC7D,GACF,GACF;AAAA;AAAA,IAEJ,GACF;AAAA,EAEJ,OAAO;AACL,WAAO,6CAAC,iCAAQ;AAAA,EAClB;AACF;","names":["import_material","import_react_flexbox","import_jsx_runtime"]}
@@ -1,54 +0,0 @@
1
- // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
2
- import { Paper, useMediaQuery } from "@mui/material";
3
- import { FlexCol as FlexCol2, FlexRow as FlexRow2 } from "@xylabs/react-flexbox";
4
- import { NetworkSelectEx } from "@xyo-network/react-network";
5
-
6
- // src/components/MobileSystemControls/controls/SystemControl.tsx
7
- import { Collapse } from "@mui/material";
8
- import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
9
- import { useState } from "react";
10
- import { jsx, jsxs } from "react/jsx-runtime";
11
- var SystemControl = ({
12
- children,
13
- controlElement,
14
- systemControlsType = "WindowShade" /* WindowShade */,
15
- ...props
16
- }) => {
17
- const [toggleControls, setToggleControls] = useState(false);
18
- let orientation = "vertical";
19
- switch (systemControlsType) {
20
- case "Left" /* Left */: {
21
- orientation = "horizontal";
22
- break;
23
- }
24
- }
25
- return /* @__PURE__ */ jsxs(FlexRow, { className: "controls", ...props, children: [
26
- /* @__PURE__ */ jsx(Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx(FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
27
- /* @__PURE__ */ jsx(FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
28
- ] });
29
- };
30
-
31
- // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
32
- import { Fragment, jsx as jsx2 } from "react/jsx-runtime";
33
- var SystemControlsUnstyled = ({
34
- visible,
35
- systemControlsType = "WindowShade" /* WindowShade */,
36
- ...props
37
- }) => {
38
- const isSmall = useMediaQuery((theme) => theme.breakpoints.down("sm"));
39
- if (visible || isSmall) {
40
- return /* @__PURE__ */ jsx2(FlexCol2, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ jsx2(
41
- SystemControl,
42
- {
43
- systemControlsType,
44
- controlElement: /* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2(FlexRow2, { className: "control-wrap", children: /* @__PURE__ */ jsx2(Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ jsx2(NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
45
- }
46
- ) });
47
- } else {
48
- return /* @__PURE__ */ jsx2(FlexCol2, {});
49
- }
50
- };
51
- export {
52
- SystemControlsUnstyled
53
- };
54
- //# sourceMappingURL=SystemControlsUnstyled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx","../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"sourcesContent":["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"],"mappings":";AAAA,SAAS,OAAc,qBAAqB;AAC5C,SAAuB,WAAAA,UAAS,WAAAC,gBAAe;AAC/C,SAAS,uBAAuB;;;ACFhC,SAAS,gBAA+B;AACxC,SAAuB,SAAS,eAAe;AAE/C,SAAS,gBAAgB;AA2BrB,SAEI,KAFJ;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,qBAAC,WAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,wBAAC,YAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,8BAAC,WAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,oBAAC,WAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;;;ADhBY,mBAGM,OAAAC,YAHN;AAbZ,IAAM,yBAAgE,CAAC;AAAA,EACrE;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,UAAU,cAAqB,CAAC,UAAU,MAAM,YAAY,KAAK,IAAI,CAAC;AAE5E,MAAI,WAAW,SAAS;AACtB,WACE,gBAAAA,KAACC,UAAA,EAAS,GAAG,OAAO,WAAW,GAAG,MAAM,SAAS,yBAAyB,kBAAkB,IAC1F,0BAAAD;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,gBACE,gBAAAA,KAAA,YACE,0BAAAA,KAACE,UAAA,EAAQ,WAAW,gBAClB,0BAAAF,KAAC,SAAM,SAAQ,aAAY,WAAW,GACpC,0BAAAA,KAAC,mBAAgB,YAAY,OAAO,WAAU,cAAa,GAC7D,GACF,GACF;AAAA;AAAA,IAEJ,GACF;AAAA,EAEJ,OAAO;AACL,WAAO,gBAAAA,KAACC,UAAA,EAAQ;AAAA,EAClB;AACF;","names":["FlexCol","FlexRow","jsx","FlexCol","FlexRow"]}
@@ -1,53 +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/MobileSystemControls/controls/SystemControl.tsx
21
- var SystemControl_exports = {};
22
- __export(SystemControl_exports, {
23
- SystemControl: () => SystemControl
24
- });
25
- module.exports = __toCommonJS(SystemControl_exports);
26
- var import_material = require("@mui/material");
27
- var import_react_flexbox = require("@xylabs/react-flexbox");
28
- var import_react = require("react");
29
- var import_jsx_runtime = require("react/jsx-runtime");
30
- var SystemControl = ({
31
- children,
32
- controlElement,
33
- systemControlsType = "WindowShade" /* WindowShade */,
34
- ...props
35
- }) => {
36
- const [toggleControls, setToggleControls] = (0, import_react.useState)(false);
37
- let orientation = "vertical";
38
- switch (systemControlsType) {
39
- case "Left" /* Left */: {
40
- orientation = "horizontal";
41
- break;
42
- }
43
- }
44
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { className: "controls", ...props, children: [
45
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
46
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
47
- ] });
48
- };
49
- // Annotate the CommonJS export names for ESM import in node:
50
- 0 && (module.exports = {
51
- SystemControl
52
- });
53
- //# sourceMappingURL=SystemControl.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"sourcesContent":["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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAwC;AACxC,2BAA+C;AAE/C,mBAAyB;AA2BrB;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,QAAI,uBAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,6CAAC,gCAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,gDAAC,4BAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,sDAAC,gCAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,4CAAC,gCAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;","names":[]}
@@ -1,28 +0,0 @@
1
- // src/components/MobileSystemControls/controls/SystemControl.tsx
2
- import { Collapse } from "@mui/material";
3
- import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
4
- import { useState } from "react";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
- var SystemControl = ({
7
- children,
8
- controlElement,
9
- systemControlsType = "WindowShade" /* WindowShade */,
10
- ...props
11
- }) => {
12
- const [toggleControls, setToggleControls] = useState(false);
13
- let orientation = "vertical";
14
- switch (systemControlsType) {
15
- case "Left" /* Left */: {
16
- orientation = "horizontal";
17
- break;
18
- }
19
- }
20
- return /* @__PURE__ */ jsxs(FlexRow, { className: "controls", ...props, children: [
21
- /* @__PURE__ */ jsx(Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx(FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
22
- /* @__PURE__ */ jsx(FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
23
- ] });
24
- };
25
- export {
26
- SystemControl
27
- };
28
- //# sourceMappingURL=SystemControl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"sourcesContent":["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"],"mappings":";AAAA,SAAS,gBAA+B;AACxC,SAAuB,SAAS,eAAe;AAE/C,SAAS,gBAAgB;AA2BrB,SAEI,KAFJ;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,qBAAC,WAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,wBAAC,YAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,8BAAC,WAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,oBAAC,WAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;","names":[]}
@@ -1,36 +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/MobileSystemControls/controls/SystemControlText.tsx
21
- var SystemControlText_exports = {};
22
- __export(SystemControlText_exports, {
23
- ControlText: () => ControlText
24
- });
25
- module.exports = __toCommonJS(SystemControlText_exports);
26
- var import_material = require("@mui/material");
27
- var import_react_flexbox = require("@xylabs/react-flexbox");
28
- var import_jsx_runtime = require("react/jsx-runtime");
29
- var ControlText = ({ value, ...props }) => {
30
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
31
- };
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
34
- ControlText
35
- });
36
- //# sourceMappingURL=SystemControlText.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"sourcesContent":["import { Typography } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\ninterface SystemControlTextProps extends FlexBoxProps {\n value?: string\n}\n\nconst ControlText: React.FC<SystemControlTextProps> = ({ value, ...props }) => {\n return (\n <FlexCol className={`${props.className} toggle`} {...props}>\n <Typography variant=\"caption\" color=\"white\" fontWeight=\"bold\">\n {value}\n </Typography>\n </FlexCol>\n )\n}\n\nexport { ControlText }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA2B;AAC3B,2BAAsC;AAShC;AAHN,IAAM,cAAgD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AAC7E,SACE,4CAAC,gCAAQ,WAAW,GAAG,MAAM,SAAS,WAAY,GAAG,OACnD,sDAAC,8BAAW,SAAQ,WAAU,OAAM,SAAQ,YAAW,QACpD,iBACH,GACF;AAEJ;","names":[]}
@@ -1,11 +0,0 @@
1
- // src/components/MobileSystemControls/controls/SystemControlText.tsx
2
- import { Typography } from "@mui/material";
3
- import { FlexCol } from "@xylabs/react-flexbox";
4
- import { jsx } from "react/jsx-runtime";
5
- var ControlText = ({ value, ...props }) => {
6
- return /* @__PURE__ */ jsx(FlexCol, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
7
- };
8
- export {
9
- ControlText
10
- };
11
- //# sourceMappingURL=SystemControlText.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"sourcesContent":["import { Typography } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\ninterface SystemControlTextProps extends FlexBoxProps {\n value?: string\n}\n\nconst ControlText: React.FC<SystemControlTextProps> = ({ value, ...props }) => {\n return (\n <FlexCol className={`${props.className} toggle`} {...props}>\n <Typography variant=\"caption\" color=\"white\" fontWeight=\"bold\">\n {value}\n </Typography>\n </FlexCol>\n )\n}\n\nexport { ControlText }\n"],"mappings":";AAAA,SAAS,kBAAkB;AAC3B,SAAuB,eAAe;AAShC;AAHN,IAAM,cAAgD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AAC7E,SACE,oBAAC,WAAQ,WAAW,GAAG,MAAM,SAAS,WAAY,GAAG,OACnD,8BAAC,cAAW,SAAQ,WAAU,OAAM,SAAQ,YAAW,QACpD,iBACH,GACF;AAEJ;","names":[]}
@@ -1,65 +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/MobileSystemControls/controls/index.ts
21
- var controls_exports = {};
22
- __export(controls_exports, {
23
- ControlText: () => ControlText,
24
- SystemControl: () => SystemControl
25
- });
26
- module.exports = __toCommonJS(controls_exports);
27
-
28
- // src/components/MobileSystemControls/controls/SystemControl.tsx
29
- var import_material = require("@mui/material");
30
- var import_react_flexbox = require("@xylabs/react-flexbox");
31
- var import_react = require("react");
32
- var import_jsx_runtime = require("react/jsx-runtime");
33
- var SystemControl = ({
34
- children,
35
- controlElement,
36
- systemControlsType = "WindowShade" /* WindowShade */,
37
- ...props
38
- }) => {
39
- const [toggleControls, setToggleControls] = (0, import_react.useState)(false);
40
- let orientation = "vertical";
41
- switch (systemControlsType) {
42
- case "Left" /* Left */: {
43
- orientation = "horizontal";
44
- break;
45
- }
46
- }
47
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { className: "controls", ...props, children: [
48
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
49
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
50
- ] });
51
- };
52
-
53
- // src/components/MobileSystemControls/controls/SystemControlText.tsx
54
- var import_material2 = require("@mui/material");
55
- var import_react_flexbox2 = require("@xylabs/react-flexbox");
56
- var import_jsx_runtime2 = require("react/jsx-runtime");
57
- var ControlText = ({ value, ...props }) => {
58
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
59
- };
60
- // Annotate the CommonJS export names for ESM import in node:
61
- 0 && (module.exports = {
62
- ControlText,
63
- SystemControl
64
- });
65
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/index.ts","../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx","../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"sourcesContent":["export * from './SystemControl'\nexport * from './SystemControlText'\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 { Typography } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\ninterface SystemControlTextProps extends FlexBoxProps {\n value?: string\n}\n\nconst ControlText: React.FC<SystemControlTextProps> = ({ value, ...props }) => {\n return (\n <FlexCol className={`${props.className} toggle`} {...props}>\n <Typography variant=\"caption\" color=\"white\" fontWeight=\"bold\">\n {value}\n </Typography>\n </FlexCol>\n )\n}\n\nexport { ControlText }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAAwC;AACxC,2BAA+C;AAE/C,mBAAyB;AA2BrB;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,QAAI,uBAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,6CAAC,gCAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,gDAAC,4BAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,sDAAC,gCAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,4CAAC,gCAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;;;ACzCA,IAAAA,mBAA2B;AAC3B,IAAAC,wBAAsC;AAShC,IAAAC,sBAAA;AAHN,IAAM,cAAgD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AAC7E,SACE,6CAAC,iCAAQ,WAAW,GAAG,MAAM,SAAS,WAAY,GAAG,OACnD,uDAAC,+BAAW,SAAQ,WAAU,OAAM,SAAQ,YAAW,QACpD,iBACH,GACF;AAEJ;","names":["import_material","import_react_flexbox","import_jsx_runtime"]}
@@ -1,37 +0,0 @@
1
- // src/components/MobileSystemControls/controls/SystemControl.tsx
2
- import { Collapse } from "@mui/material";
3
- import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
4
- import { useState } from "react";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
- var SystemControl = ({
7
- children,
8
- controlElement,
9
- systemControlsType = "WindowShade" /* WindowShade */,
10
- ...props
11
- }) => {
12
- const [toggleControls, setToggleControls] = useState(false);
13
- let orientation = "vertical";
14
- switch (systemControlsType) {
15
- case "Left" /* Left */: {
16
- orientation = "horizontal";
17
- break;
18
- }
19
- }
20
- return /* @__PURE__ */ jsxs(FlexRow, { className: "controls", ...props, children: [
21
- /* @__PURE__ */ jsx(Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx(FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
22
- /* @__PURE__ */ jsx(FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
23
- ] });
24
- };
25
-
26
- // src/components/MobileSystemControls/controls/SystemControlText.tsx
27
- import { Typography } from "@mui/material";
28
- import { FlexCol as FlexCol2 } from "@xylabs/react-flexbox";
29
- import { jsx as jsx2 } from "react/jsx-runtime";
30
- var ControlText = ({ value, ...props }) => {
31
- return /* @__PURE__ */ jsx2(FlexCol2, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ jsx2(Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
32
- };
33
- export {
34
- ControlText,
35
- SystemControl
36
- };
37
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx","../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"sourcesContent":["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 { Typography } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\ninterface SystemControlTextProps extends FlexBoxProps {\n value?: string\n}\n\nconst ControlText: React.FC<SystemControlTextProps> = ({ value, ...props }) => {\n return (\n <FlexCol className={`${props.className} toggle`} {...props}>\n <Typography variant=\"caption\" color=\"white\" fontWeight=\"bold\">\n {value}\n </Typography>\n </FlexCol>\n )\n}\n\nexport { ControlText }\n"],"mappings":";AAAA,SAAS,gBAA+B;AACxC,SAAuB,SAAS,eAAe;AAE/C,SAAS,gBAAgB;AA2BrB,SAEI,KAFJ;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,qBAAC,WAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,wBAAC,YAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,8BAAC,WAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,oBAAC,WAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;;;ACzCA,SAAS,kBAAkB;AAC3B,SAAuB,WAAAA,gBAAe;AAShC,gBAAAC,YAAA;AAHN,IAAM,cAAgD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AAC7E,SACE,gBAAAA,KAACD,UAAA,EAAQ,WAAW,GAAG,MAAM,SAAS,WAAY,GAAG,OACnD,0BAAAC,KAAC,cAAW,SAAQ,WAAU,OAAM,SAAQ,YAAW,QACpD,iBACH,GACF;AAEJ;","names":["FlexCol","jsx"]}
@@ -1,161 +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/MobileSystemControls/index.ts
21
- var MobileSystemControls_exports = {};
22
- __export(MobileSystemControls_exports, {
23
- SystemControls: () => SystemControls,
24
- SystemControlsType: () => SystemControlsType,
25
- SystemControlsUnstyled: () => SystemControlsUnstyled
26
- });
27
- module.exports = __toCommonJS(MobileSystemControls_exports);
28
-
29
- // src/components/MobileSystemControls/SystemControls.tsx
30
- var import_react_flexbox3 = require("@xylabs/react-flexbox");
31
-
32
- // src/components/MobileSystemControls/SystemControlsRoot.tsx
33
- var import_material3 = require("@mui/material");
34
-
35
- // src/components/MobileSystemControls/SystemControlsType.ts
36
- var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
37
- SystemControlsType2["Left"] = "Left";
38
- SystemControlsType2["Right"] = "Right";
39
- SystemControlsType2["WindowShade"] = "WindowShade";
40
- return SystemControlsType2;
41
- })(SystemControlsType || {});
42
-
43
- // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
44
- var import_material2 = require("@mui/material");
45
- var import_react_flexbox2 = require("@xylabs/react-flexbox");
46
- var import_react_network = require("@xyo-network/react-network");
47
-
48
- // src/components/MobileSystemControls/controls/SystemControl.tsx
49
- var import_material = require("@mui/material");
50
- var import_react_flexbox = require("@xylabs/react-flexbox");
51
- var import_react = require("react");
52
- var import_jsx_runtime = require("react/jsx-runtime");
53
- var SystemControl = ({
54
- children,
55
- controlElement,
56
- systemControlsType = "WindowShade" /* WindowShade */,
57
- ...props
58
- }) => {
59
- const [toggleControls, setToggleControls] = (0, import_react.useState)(false);
60
- let orientation = "vertical";
61
- switch (systemControlsType) {
62
- case "Left" /* Left */: {
63
- orientation = "horizontal";
64
- break;
65
- }
66
- }
67
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { className: "controls", ...props, children: [
68
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
69
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
70
- ] });
71
- };
72
-
73
- // src/components/MobileSystemControls/SystemControlsUnstyled.tsx
74
- var import_jsx_runtime2 = require("react/jsx-runtime");
75
- var SystemControlsUnstyled = ({
76
- visible,
77
- systemControlsType = "WindowShade" /* WindowShade */,
78
- ...props
79
- }) => {
80
- const isSmall = (0, import_material2.useMediaQuery)((theme) => theme.breakpoints.down("sm"));
81
- if (visible || isSmall) {
82
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
83
- SystemControl,
84
- {
85
- systemControlsType,
86
- controlElement: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexRow, { className: "control-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_network.NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
87
- }
88
- ) });
89
- } else {
90
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, {});
91
- }
92
- };
93
-
94
- // src/components/MobileSystemControls/SystemControlsRoot.tsx
95
- var SystemControlsRoot = (0, import_material3.styled)(SystemControlsUnstyled, { name: "SystemControls", slot: "Root" })(({ theme }) => ({
96
- // shared defaults
97
- ["&"]: {
98
- ".toggle": {
99
- backgroundColor: theme.palette.primary.main
100
- },
101
- alignItems: "start",
102
- zIndex: 1
103
- },
104
- // WindowShade System Controls styles
105
- [`&.system-controls-type-${"WindowShade" /* WindowShade */}`]: {
106
- ".control": {
107
- borderRadius: "0 0 5px 5px",
108
- flexDirection: "row",
109
- flexGrow: 1,
110
- justifyContent: "space-around",
111
- padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
112
- },
113
- ".controls": {
114
- alignItems: "stretch",
115
- flexDirection: "column",
116
- flexGrow: 1
117
- },
118
- ".toggle": {
119
- borderRadius: "0 0 5px 5px",
120
- padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`
121
- },
122
- flexDirection: "row",
123
- position: "absolute",
124
- top: 0,
125
- width: "100%"
126
- },
127
- // Left System Control styles
128
- [`&.system-controls-type-${"Left" /* Left */}`]: {
129
- ".control": {
130
- alignItems: "start",
131
- flexDirection: "column",
132
- padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
133
- },
134
- ".control-wrap": {
135
- marginBottom: `${theme.spacing(2)}`
136
- },
137
- ".toggle": {
138
- borderRadius: "0 5px 5px 0",
139
- padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
140
- writingMode: "vertical-rl"
141
- },
142
- flexDirection: "column",
143
- left: 0,
144
- position: "fixed",
145
- top: "30vh",
146
- width: "auto"
147
- }
148
- }));
149
-
150
- // src/components/MobileSystemControls/SystemControls.tsx
151
- var import_jsx_runtime3 = require("react/jsx-runtime");
152
- var SystemControls = (props) => {
153
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_flexbox3.FlexCol, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SystemControlsRoot, { ...props }) });
154
- };
155
- // Annotate the CommonJS export names for ESM import in node:
156
- 0 && (module.exports = {
157
- SystemControls,
158
- SystemControlsType,
159
- SystemControlsUnstyled
160
- });
161
- //# sourceMappingURL=index.cjs.map