@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,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/CollapsibleDrawer/CollapseToggle.tsx
21
- var CollapseToggle_exports = {};
22
- __export(CollapseToggle_exports, {
23
- CollapseToggleFlex: () => CollapseToggleFlex
24
- });
25
- module.exports = __toCommonJS(CollapseToggle_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_vsc = require("react-icons/vsc/index.js");
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/CollapsibleDrawer/CollapseToggle.tsx
40
- var import_jsx_runtime = require("react/jsx-runtime");
41
- var CollapseToggleFlex = (props) => {
42
- const { collapse, setCollapse, setCollapseEnd } = useCollapsible();
43
- const [hover, setHover] = (0, import_react.useState)(false);
44
- const theme = (0, import_material.useTheme)();
45
- const handleCollapseToggle = () => {
46
- setCollapse == null ? void 0 : setCollapse(!collapse);
47
- setCollapseEnd == null ? void 0 : setCollapseEnd((previous) => previous ? false : previous);
48
- };
49
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { mt: 2, py: 2, justifyContent: collapse ? "start" : "center", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
50
- import_material.Icon,
51
- {
52
- onClick: handleCollapseToggle,
53
- onMouseEnter: () => setHover(true),
54
- onMouseLeave: () => setHover(false),
55
- fontSize: "large",
56
- sx: { color: hover ? theme.palette.secondary.main : "inherit", cursor: "pointer" },
57
- children: !collapse ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscArrowSmallLeft, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscArrowSmallRight, {})
58
- }
59
- ) });
60
- };
61
- // Annotate the CommonJS export names for ESM import in node:
62
- 0 && (module.exports = {
63
- CollapseToggleFlex
64
- });
65
- //# sourceMappingURL=CollapseToggle.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/CollapsibleDrawer/CollapseToggle.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["import { Icon, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscArrowSmallLeft, VscArrowSmallRight } from 'react-icons/vsc/index.js'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapseToggleFlex: React.FC<FlexBoxProps> = (props) => {\n const { collapse, setCollapse, setCollapseEnd } = useCollapsible()\n const [hover, setHover] = useState(false)\n const theme = useTheme()\n\n const handleCollapseToggle = () => {\n setCollapse?.(!collapse)\n setCollapseEnd?.((previous) => (previous ? false : previous))\n }\n\n return (\n <FlexRow mt={2} py={2} justifyContent={collapse ? 'start' : 'center'} {...props}>\n <Icon\n onClick={handleCollapseToggle}\n onMouseEnter={() => setHover(true)}\n onMouseLeave={() => setHover(false)}\n fontSize={'large'}\n sx={{ color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' }}\n >\n {!collapse ? <VscArrowSmallLeft /> : <VscArrowSmallRight />}\n </Icon>\n </FlexRow>\n )\n}\n","import { 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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA+B;AAC/B,2BAAsC;AACtC,mBAAyB;AAEzB,iBAAsD;;;ACJtD,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ACJpE,IAAAA,uBAA6B;AAItB,IAAM,iBAAiB,UAAM,mCAAa,oBAAoB,eAAe,KAAK;;;AFuBpE;AAnBd,IAAM,qBAA6C,CAAC,UAAU;AACnE,QAAM,EAAE,UAAU,aAAa,eAAe,IAAI,eAAe;AACjE,QAAM,CAAC,OAAO,QAAQ,QAAI,uBAAS,KAAK;AACxC,QAAM,YAAQ,0BAAS;AAEvB,QAAM,uBAAuB,MAAM;AACjC,+CAAc,CAAC;AACf,qDAAiB,CAAC,aAAc,WAAW,QAAQ;AAAA,EACrD;AAEA,SACE,4CAAC,gCAAQ,IAAI,GAAG,IAAI,GAAG,gBAAgB,WAAW,UAAU,UAAW,GAAG,OACxE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS;AAAA,MACT,cAAc,MAAM,SAAS,IAAI;AAAA,MACjC,cAAc,MAAM,SAAS,KAAK;AAAA,MAClC,UAAU;AAAA,MACV,IAAI,EAAE,OAAO,QAAQ,MAAM,QAAQ,UAAU,OAAO,WAAW,QAAQ,UAAU;AAAA,MAEhF,WAAC,WAAW,4CAAC,gCAAkB,IAAK,4CAAC,iCAAmB;AAAA;AAAA,EAC3D,GACF;AAEJ;","names":["import_react_shared"]}
@@ -1,40 +0,0 @@
1
- // src/components/CollapsibleDrawer/CollapseToggle.tsx
2
- import { Icon, useTheme } from "@mui/material";
3
- import { FlexRow } from "@xylabs/react-flexbox";
4
- import { useState } from "react";
5
- import { VscArrowSmallLeft, VscArrowSmallRight } from "react-icons/vsc/index.js";
6
-
7
- // src/contexts/Collapsible/context.ts
8
- import { createContextEx } from "@xyo-network/react-shared";
9
- var CollapsibleContext = createContextEx();
10
-
11
- // src/contexts/Collapsible/use.tsx
12
- import { useContextEx } from "@xyo-network/react-shared";
13
- var useCollapsible = () => useContextEx(CollapsibleContext, "Collapsible", false);
14
-
15
- // src/components/CollapsibleDrawer/CollapseToggle.tsx
16
- import { jsx } from "react/jsx-runtime";
17
- var CollapseToggleFlex = (props) => {
18
- const { collapse, setCollapse, setCollapseEnd } = useCollapsible();
19
- const [hover, setHover] = useState(false);
20
- const theme = useTheme();
21
- const handleCollapseToggle = () => {
22
- setCollapse == null ? void 0 : setCollapse(!collapse);
23
- setCollapseEnd == null ? void 0 : setCollapseEnd((previous) => previous ? false : previous);
24
- };
25
- return /* @__PURE__ */ jsx(FlexRow, { mt: 2, py: 2, justifyContent: collapse ? "start" : "center", ...props, children: /* @__PURE__ */ jsx(
26
- Icon,
27
- {
28
- onClick: handleCollapseToggle,
29
- onMouseEnter: () => setHover(true),
30
- onMouseLeave: () => setHover(false),
31
- fontSize: "large",
32
- sx: { color: hover ? theme.palette.secondary.main : "inherit", cursor: "pointer" },
33
- children: !collapse ? /* @__PURE__ */ jsx(VscArrowSmallLeft, {}) : /* @__PURE__ */ jsx(VscArrowSmallRight, {})
34
- }
35
- ) });
36
- };
37
- export {
38
- CollapseToggleFlex
39
- };
40
- //# sourceMappingURL=CollapseToggle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/CollapsibleDrawer/CollapseToggle.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["import { Icon, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscArrowSmallLeft, VscArrowSmallRight } from 'react-icons/vsc/index.js'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapseToggleFlex: React.FC<FlexBoxProps> = (props) => {\n const { collapse, setCollapse, setCollapseEnd } = useCollapsible()\n const [hover, setHover] = useState(false)\n const theme = useTheme()\n\n const handleCollapseToggle = () => {\n setCollapse?.(!collapse)\n setCollapseEnd?.((previous) => (previous ? false : previous))\n }\n\n return (\n <FlexRow mt={2} py={2} justifyContent={collapse ? 'start' : 'center'} {...props}>\n <Icon\n onClick={handleCollapseToggle}\n onMouseEnter={() => setHover(true)}\n onMouseLeave={() => setHover(false)}\n fontSize={'large'}\n sx={{ color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' }}\n >\n {!collapse ? <VscArrowSmallLeft /> : <VscArrowSmallRight />}\n </Icon>\n </FlexRow>\n )\n}\n","import { 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"],"mappings":";AAAA,SAAS,MAAM,gBAAgB;AAC/B,SAAuB,eAAe;AACtC,SAAS,gBAAgB;AAEzB,SAAS,mBAAmB,0BAA0B;;;ACJtD,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ACJpE,SAAS,oBAAoB;AAItB,IAAM,iBAAiB,MAAM,aAAa,oBAAoB,eAAe,KAAK;;;AFuBpE;AAnBd,IAAM,qBAA6C,CAAC,UAAU;AACnE,QAAM,EAAE,UAAU,aAAa,eAAe,IAAI,eAAe;AACjE,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,KAAK;AACxC,QAAM,QAAQ,SAAS;AAEvB,QAAM,uBAAuB,MAAM;AACjC,+CAAc,CAAC;AACf,qDAAiB,CAAC,aAAc,WAAW,QAAQ;AAAA,EACrD;AAEA,SACE,oBAAC,WAAQ,IAAI,GAAG,IAAI,GAAG,gBAAgB,WAAW,UAAU,UAAW,GAAG,OACxE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS;AAAA,MACT,cAAc,MAAM,SAAS,IAAI;AAAA,MACjC,cAAc,MAAM,SAAS,KAAK;AAAA,MAClC,UAAU;AAAA,MACV,IAAI,EAAE,OAAO,QAAQ,MAAM,QAAQ,UAAU,OAAO,WAAW,QAAQ,UAAU;AAAA,MAEhF,WAAC,WAAW,oBAAC,qBAAkB,IAAK,oBAAC,sBAAmB;AAAA;AAAA,EAC3D,GACF;AAEJ;","names":[]}
@@ -1,70 +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/CollapsibleDrawer/CollapsibleDrawer.tsx
21
- var CollapsibleDrawer_exports = {};
22
- __export(CollapsibleDrawer_exports, {
23
- CollapsibleDrawer: () => CollapsibleDrawer
24
- });
25
- module.exports = __toCommonJS(CollapsibleDrawer_exports);
26
- var import_material = require("@mui/material");
27
-
28
- // src/contexts/Collapsible/context.ts
29
- var import_react_shared = require("@xyo-network/react-shared");
30
- var CollapsibleContext = (0, import_react_shared.createContextEx)();
31
-
32
- // src/contexts/Collapsible/use.tsx
33
- var import_react_shared2 = require("@xyo-network/react-shared");
34
- var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
35
-
36
- // src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
37
- var import_jsx_runtime = require("react/jsx-runtime");
38
- var CollapsibleDrawer = ({ children, sx, ...props }) => {
39
- const { collapse, setCollapseEnd } = useCollapsible();
40
- const theme = (0, import_material.useTheme)();
41
- const collapsedSize = props.collapsedSize ?? theme.spacing(5);
42
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
43
- CollapsibleFlexInner,
44
- {
45
- in: !collapse,
46
- orientation: "horizontal",
47
- collapsedSize,
48
- onExited: () => setCollapseEnd == null ? void 0 : setCollapseEnd(true),
49
- sx: {
50
- alignItems: "start",
51
- display: "flex",
52
- height: "100%",
53
- ...sx
54
- },
55
- ...props,
56
- children
57
- }
58
- );
59
- };
60
- var CollapsibleFlexInner = (0, import_material.styled)(import_material.Collapse)(() => ({
61
- "& .MuiCollapse-wrapperInner": {
62
- display: "flex",
63
- flexDirection: "column"
64
- }
65
- }));
66
- // Annotate the CommonJS export names for ESM import in node:
67
- 0 && (module.exports = {
68
- CollapsibleDrawer
69
- });
70
- //# sourceMappingURL=CollapsibleDrawer.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["import { Collapse, CollapseProps, styled, useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapsibleDrawer: React.FC<WithChildren<CollapseProps>> = ({ children, sx, ...props }) => {\n const { collapse, setCollapseEnd } = useCollapsible()\n const theme = useTheme()\n\n const collapsedSize = props.collapsedSize ?? theme.spacing(5)\n\n return (\n <CollapsibleFlexInner\n in={!collapse}\n orientation=\"horizontal\"\n collapsedSize={collapsedSize}\n onExited={() => setCollapseEnd?.(true)}\n sx={{\n alignItems: 'start',\n display: 'flex',\n height: '100%',\n ...sx,\n }}\n {...props}\n >\n {children}\n </CollapsibleFlexInner>\n )\n}\n\nconst CollapsibleFlexInner = styled(Collapse)(() => ({\n '& .MuiCollapse-wrapperInner': {\n display: 'flex',\n flexDirection: 'column',\n },\n}))\n","import { 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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA0D;;;ACA1D,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ACJpE,IAAAA,uBAA6B;AAItB,IAAM,iBAAiB,UAAM,mCAAa,oBAAoB,eAAe,KAAK;;;AFQrF;AAPG,IAAM,oBAA2D,CAAC,EAAE,UAAU,IAAI,GAAG,MAAM,MAAM;AACtG,QAAM,EAAE,UAAU,eAAe,IAAI,eAAe;AACpD,QAAM,YAAQ,0BAAS;AAEvB,QAAM,gBAAgB,MAAM,iBAAiB,MAAM,QAAQ,CAAC;AAE5D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,CAAC;AAAA,MACL,aAAY;AAAA,MACZ;AAAA,MACA,UAAU,MAAM,iDAAiB;AAAA,MACjC,IAAI;AAAA,QACF,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,GAAG;AAAA,MACL;AAAA,MACC,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;AAEA,IAAM,2BAAuB,wBAAO,wBAAQ,EAAE,OAAO;AAAA,EACnD,+BAA+B;AAAA,IAC7B,SAAS;AAAA,IACT,eAAe;AAAA,EACjB;AACF,EAAE;","names":["import_react_shared"]}
@@ -1,45 +0,0 @@
1
- // src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
2
- import { Collapse, styled, useTheme } from "@mui/material";
3
-
4
- // src/contexts/Collapsible/context.ts
5
- import { createContextEx } from "@xyo-network/react-shared";
6
- var CollapsibleContext = createContextEx();
7
-
8
- // src/contexts/Collapsible/use.tsx
9
- import { useContextEx } from "@xyo-network/react-shared";
10
- var useCollapsible = () => useContextEx(CollapsibleContext, "Collapsible", false);
11
-
12
- // src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
13
- import { jsx } from "react/jsx-runtime";
14
- var CollapsibleDrawer = ({ children, sx, ...props }) => {
15
- const { collapse, setCollapseEnd } = useCollapsible();
16
- const theme = useTheme();
17
- const collapsedSize = props.collapsedSize ?? theme.spacing(5);
18
- return /* @__PURE__ */ jsx(
19
- CollapsibleFlexInner,
20
- {
21
- in: !collapse,
22
- orientation: "horizontal",
23
- collapsedSize,
24
- onExited: () => setCollapseEnd == null ? void 0 : setCollapseEnd(true),
25
- sx: {
26
- alignItems: "start",
27
- display: "flex",
28
- height: "100%",
29
- ...sx
30
- },
31
- ...props,
32
- children
33
- }
34
- );
35
- };
36
- var CollapsibleFlexInner = styled(Collapse)(() => ({
37
- "& .MuiCollapse-wrapperInner": {
38
- display: "flex",
39
- flexDirection: "column"
40
- }
41
- }));
42
- export {
43
- CollapsibleDrawer
44
- };
45
- //# sourceMappingURL=CollapsibleDrawer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["import { Collapse, CollapseProps, styled, useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapsibleDrawer: React.FC<WithChildren<CollapseProps>> = ({ children, sx, ...props }) => {\n const { collapse, setCollapseEnd } = useCollapsible()\n const theme = useTheme()\n\n const collapsedSize = props.collapsedSize ?? theme.spacing(5)\n\n return (\n <CollapsibleFlexInner\n in={!collapse}\n orientation=\"horizontal\"\n collapsedSize={collapsedSize}\n onExited={() => setCollapseEnd?.(true)}\n sx={{\n alignItems: 'start',\n display: 'flex',\n height: '100%',\n ...sx,\n }}\n {...props}\n >\n {children}\n </CollapsibleFlexInner>\n )\n}\n\nconst CollapsibleFlexInner = styled(Collapse)(() => ({\n '& .MuiCollapse-wrapperInner': {\n display: 'flex',\n flexDirection: 'column',\n },\n}))\n","import { 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"],"mappings":";AAAA,SAAS,UAAyB,QAAQ,gBAAgB;;;ACA1D,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ACJpE,SAAS,oBAAoB;AAItB,IAAM,iBAAiB,MAAM,aAAa,oBAAoB,eAAe,KAAK;;;AFQrF;AAPG,IAAM,oBAA2D,CAAC,EAAE,UAAU,IAAI,GAAG,MAAM,MAAM;AACtG,QAAM,EAAE,UAAU,eAAe,IAAI,eAAe;AACpD,QAAM,QAAQ,SAAS;AAEvB,QAAM,gBAAgB,MAAM,iBAAiB,MAAM,QAAQ,CAAC;AAE5D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,CAAC;AAAA,MACL,aAAY;AAAA,MACZ;AAAA,MACA,UAAU,MAAM,iDAAiB;AAAA,MACjC,IAAI;AAAA,QACF,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,GAAG;AAAA,MACL;AAAA,MACC,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;AAEA,IAAM,uBAAuB,OAAO,QAAQ,EAAE,OAAO;AAAA,EACnD,+BAA+B;AAAA,IAC7B,SAAS;AAAA,IACT,eAAe;AAAA,EACjB;AACF,EAAE;","names":[]}
@@ -1,101 +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/CollapsibleDrawer/index.ts
21
- var CollapsibleDrawer_exports = {};
22
- __export(CollapsibleDrawer_exports, {
23
- CollapseToggleFlex: () => CollapseToggleFlex,
24
- CollapsibleDrawer: () => CollapsibleDrawer
25
- });
26
- module.exports = __toCommonJS(CollapsibleDrawer_exports);
27
-
28
- // src/components/CollapsibleDrawer/CollapseToggle.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_vsc = require("react-icons/vsc/index.js");
33
-
34
- // src/contexts/Collapsible/context.ts
35
- var import_react_shared = require("@xyo-network/react-shared");
36
- var CollapsibleContext = (0, import_react_shared.createContextEx)();
37
-
38
- // src/contexts/Collapsible/use.tsx
39
- var import_react_shared2 = require("@xyo-network/react-shared");
40
- var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
41
-
42
- // src/components/CollapsibleDrawer/CollapseToggle.tsx
43
- var import_jsx_runtime = require("react/jsx-runtime");
44
- var CollapseToggleFlex = (props) => {
45
- const { collapse, setCollapse, setCollapseEnd } = useCollapsible();
46
- const [hover, setHover] = (0, import_react.useState)(false);
47
- const theme = (0, import_material.useTheme)();
48
- const handleCollapseToggle = () => {
49
- setCollapse == null ? void 0 : setCollapse(!collapse);
50
- setCollapseEnd == null ? void 0 : setCollapseEnd((previous) => previous ? false : previous);
51
- };
52
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { mt: 2, py: 2, justifyContent: collapse ? "start" : "center", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
53
- import_material.Icon,
54
- {
55
- onClick: handleCollapseToggle,
56
- onMouseEnter: () => setHover(true),
57
- onMouseLeave: () => setHover(false),
58
- fontSize: "large",
59
- sx: { color: hover ? theme.palette.secondary.main : "inherit", cursor: "pointer" },
60
- children: !collapse ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscArrowSmallLeft, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscArrowSmallRight, {})
61
- }
62
- ) });
63
- };
64
-
65
- // src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
66
- var import_material2 = require("@mui/material");
67
- var import_jsx_runtime2 = require("react/jsx-runtime");
68
- var CollapsibleDrawer = ({ children, sx, ...props }) => {
69
- const { collapse, setCollapseEnd } = useCollapsible();
70
- const theme = (0, import_material2.useTheme)();
71
- const collapsedSize = props.collapsedSize ?? theme.spacing(5);
72
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
73
- CollapsibleFlexInner,
74
- {
75
- in: !collapse,
76
- orientation: "horizontal",
77
- collapsedSize,
78
- onExited: () => setCollapseEnd == null ? void 0 : setCollapseEnd(true),
79
- sx: {
80
- alignItems: "start",
81
- display: "flex",
82
- height: "100%",
83
- ...sx
84
- },
85
- ...props,
86
- children
87
- }
88
- );
89
- };
90
- var CollapsibleFlexInner = (0, import_material2.styled)(import_material2.Collapse)(() => ({
91
- "& .MuiCollapse-wrapperInner": {
92
- display: "flex",
93
- flexDirection: "column"
94
- }
95
- }));
96
- // Annotate the CommonJS export names for ESM import in node:
97
- 0 && (module.exports = {
98
- CollapseToggleFlex,
99
- CollapsibleDrawer
100
- });
101
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/CollapsibleDrawer/index.ts","../../../../src/components/CollapsibleDrawer/CollapseToggle.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx","../../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx"],"sourcesContent":["export * from './CollapseToggle'\nexport * from './CollapsibleDrawer'\n","import { Icon, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscArrowSmallLeft, VscArrowSmallRight } from 'react-icons/vsc/index.js'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapseToggleFlex: React.FC<FlexBoxProps> = (props) => {\n const { collapse, setCollapse, setCollapseEnd } = useCollapsible()\n const [hover, setHover] = useState(false)\n const theme = useTheme()\n\n const handleCollapseToggle = () => {\n setCollapse?.(!collapse)\n setCollapseEnd?.((previous) => (previous ? false : previous))\n }\n\n return (\n <FlexRow mt={2} py={2} justifyContent={collapse ? 'start' : 'center'} {...props}>\n <Icon\n onClick={handleCollapseToggle}\n onMouseEnter={() => setHover(true)}\n onMouseLeave={() => setHover(false)}\n fontSize={'large'}\n sx={{ color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' }}\n >\n {!collapse ? <VscArrowSmallLeft /> : <VscArrowSmallRight />}\n </Icon>\n </FlexRow>\n )\n}\n","import { 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 { Collapse, CollapseProps, styled, useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapsibleDrawer: React.FC<WithChildren<CollapseProps>> = ({ children, sx, ...props }) => {\n const { collapse, setCollapseEnd } = useCollapsible()\n const theme = useTheme()\n\n const collapsedSize = props.collapsedSize ?? theme.spacing(5)\n\n return (\n <CollapsibleFlexInner\n in={!collapse}\n orientation=\"horizontal\"\n collapsedSize={collapsedSize}\n onExited={() => setCollapseEnd?.(true)}\n sx={{\n alignItems: 'start',\n display: 'flex',\n height: '100%',\n ...sx,\n }}\n {...props}\n >\n {children}\n </CollapsibleFlexInner>\n )\n}\n\nconst CollapsibleFlexInner = styled(Collapse)(() => ({\n '& .MuiCollapse-wrapperInner': {\n display: 'flex',\n flexDirection: 'column',\n },\n}))\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAA+B;AAC/B,2BAAsC;AACtC,mBAAyB;AAEzB,iBAAsD;;;ACJtD,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ACJpE,IAAAA,uBAA6B;AAItB,IAAM,iBAAiB,UAAM,mCAAa,oBAAoB,eAAe,KAAK;;;AFuBpE;AAnBd,IAAM,qBAA6C,CAAC,UAAU;AACnE,QAAM,EAAE,UAAU,aAAa,eAAe,IAAI,eAAe;AACjE,QAAM,CAAC,OAAO,QAAQ,QAAI,uBAAS,KAAK;AACxC,QAAM,YAAQ,0BAAS;AAEvB,QAAM,uBAAuB,MAAM;AACjC,+CAAc,CAAC;AACf,qDAAiB,CAAC,aAAc,WAAW,QAAQ;AAAA,EACrD;AAEA,SACE,4CAAC,gCAAQ,IAAI,GAAG,IAAI,GAAG,gBAAgB,WAAW,UAAU,UAAW,GAAG,OACxE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS;AAAA,MACT,cAAc,MAAM,SAAS,IAAI;AAAA,MACjC,cAAc,MAAM,SAAS,KAAK;AAAA,MAClC,UAAU;AAAA,MACV,IAAI,EAAE,OAAO,QAAQ,MAAM,QAAQ,UAAU,OAAO,WAAW,QAAQ,UAAU;AAAA,MAEhF,WAAC,WAAW,4CAAC,gCAAkB,IAAK,4CAAC,iCAAmB;AAAA;AAAA,EAC3D,GACF;AAEJ;;;AG/BA,IAAAC,mBAA0D;AAYtD,IAAAC,sBAAA;AAPG,IAAM,oBAA2D,CAAC,EAAE,UAAU,IAAI,GAAG,MAAM,MAAM;AACtG,QAAM,EAAE,UAAU,eAAe,IAAI,eAAe;AACpD,QAAM,YAAQ,2BAAS;AAEvB,QAAM,gBAAgB,MAAM,iBAAiB,MAAM,QAAQ,CAAC;AAE5D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,CAAC;AAAA,MACL,aAAY;AAAA,MACZ;AAAA,MACA,UAAU,MAAM,iDAAiB;AAAA,MACjC,IAAI;AAAA,QACF,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,GAAG;AAAA,MACL;AAAA,MACC,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;AAEA,IAAM,2BAAuB,yBAAO,yBAAQ,EAAE,OAAO;AAAA,EACnD,+BAA+B;AAAA,IAC7B,SAAS;AAAA,IACT,eAAe;AAAA,EACjB;AACF,EAAE;","names":["import_react_shared","import_material","import_jsx_runtime"]}
@@ -1,73 +0,0 @@
1
- // src/components/CollapsibleDrawer/CollapseToggle.tsx
2
- import { Icon, useTheme } from "@mui/material";
3
- import { FlexRow } from "@xylabs/react-flexbox";
4
- import { useState } from "react";
5
- import { VscArrowSmallLeft, VscArrowSmallRight } from "react-icons/vsc/index.js";
6
-
7
- // src/contexts/Collapsible/context.ts
8
- import { createContextEx } from "@xyo-network/react-shared";
9
- var CollapsibleContext = createContextEx();
10
-
11
- // src/contexts/Collapsible/use.tsx
12
- import { useContextEx } from "@xyo-network/react-shared";
13
- var useCollapsible = () => useContextEx(CollapsibleContext, "Collapsible", false);
14
-
15
- // src/components/CollapsibleDrawer/CollapseToggle.tsx
16
- import { jsx } from "react/jsx-runtime";
17
- var CollapseToggleFlex = (props) => {
18
- const { collapse, setCollapse, setCollapseEnd } = useCollapsible();
19
- const [hover, setHover] = useState(false);
20
- const theme = useTheme();
21
- const handleCollapseToggle = () => {
22
- setCollapse == null ? void 0 : setCollapse(!collapse);
23
- setCollapseEnd == null ? void 0 : setCollapseEnd((previous) => previous ? false : previous);
24
- };
25
- return /* @__PURE__ */ jsx(FlexRow, { mt: 2, py: 2, justifyContent: collapse ? "start" : "center", ...props, children: /* @__PURE__ */ jsx(
26
- Icon,
27
- {
28
- onClick: handleCollapseToggle,
29
- onMouseEnter: () => setHover(true),
30
- onMouseLeave: () => setHover(false),
31
- fontSize: "large",
32
- sx: { color: hover ? theme.palette.secondary.main : "inherit", cursor: "pointer" },
33
- children: !collapse ? /* @__PURE__ */ jsx(VscArrowSmallLeft, {}) : /* @__PURE__ */ jsx(VscArrowSmallRight, {})
34
- }
35
- ) });
36
- };
37
-
38
- // src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
39
- import { Collapse, styled, useTheme as useTheme2 } from "@mui/material";
40
- import { jsx as jsx2 } from "react/jsx-runtime";
41
- var CollapsibleDrawer = ({ children, sx, ...props }) => {
42
- const { collapse, setCollapseEnd } = useCollapsible();
43
- const theme = useTheme2();
44
- const collapsedSize = props.collapsedSize ?? theme.spacing(5);
45
- return /* @__PURE__ */ jsx2(
46
- CollapsibleFlexInner,
47
- {
48
- in: !collapse,
49
- orientation: "horizontal",
50
- collapsedSize,
51
- onExited: () => setCollapseEnd == null ? void 0 : setCollapseEnd(true),
52
- sx: {
53
- alignItems: "start",
54
- display: "flex",
55
- height: "100%",
56
- ...sx
57
- },
58
- ...props,
59
- children
60
- }
61
- );
62
- };
63
- var CollapsibleFlexInner = styled(Collapse)(() => ({
64
- "& .MuiCollapse-wrapperInner": {
65
- display: "flex",
66
- flexDirection: "column"
67
- }
68
- }));
69
- export {
70
- CollapseToggleFlex,
71
- CollapsibleDrawer
72
- };
73
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/CollapsibleDrawer/CollapseToggle.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx","../../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx"],"sourcesContent":["import { Icon, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscArrowSmallLeft, VscArrowSmallRight } from 'react-icons/vsc/index.js'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapseToggleFlex: React.FC<FlexBoxProps> = (props) => {\n const { collapse, setCollapse, setCollapseEnd } = useCollapsible()\n const [hover, setHover] = useState(false)\n const theme = useTheme()\n\n const handleCollapseToggle = () => {\n setCollapse?.(!collapse)\n setCollapseEnd?.((previous) => (previous ? false : previous))\n }\n\n return (\n <FlexRow mt={2} py={2} justifyContent={collapse ? 'start' : 'center'} {...props}>\n <Icon\n onClick={handleCollapseToggle}\n onMouseEnter={() => setHover(true)}\n onMouseLeave={() => setHover(false)}\n fontSize={'large'}\n sx={{ color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' }}\n >\n {!collapse ? <VscArrowSmallLeft /> : <VscArrowSmallRight />}\n </Icon>\n </FlexRow>\n )\n}\n","import { 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 { Collapse, CollapseProps, styled, useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapsibleDrawer: React.FC<WithChildren<CollapseProps>> = ({ children, sx, ...props }) => {\n const { collapse, setCollapseEnd } = useCollapsible()\n const theme = useTheme()\n\n const collapsedSize = props.collapsedSize ?? theme.spacing(5)\n\n return (\n <CollapsibleFlexInner\n in={!collapse}\n orientation=\"horizontal\"\n collapsedSize={collapsedSize}\n onExited={() => setCollapseEnd?.(true)}\n sx={{\n alignItems: 'start',\n display: 'flex',\n height: '100%',\n ...sx,\n }}\n {...props}\n >\n {children}\n </CollapsibleFlexInner>\n )\n}\n\nconst CollapsibleFlexInner = styled(Collapse)(() => ({\n '& .MuiCollapse-wrapperInner': {\n display: 'flex',\n flexDirection: 'column',\n },\n}))\n"],"mappings":";AAAA,SAAS,MAAM,gBAAgB;AAC/B,SAAuB,eAAe;AACtC,SAAS,gBAAgB;AAEzB,SAAS,mBAAmB,0BAA0B;;;ACJtD,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ACJpE,SAAS,oBAAoB;AAItB,IAAM,iBAAiB,MAAM,aAAa,oBAAoB,eAAe,KAAK;;;AFuBpE;AAnBd,IAAM,qBAA6C,CAAC,UAAU;AACnE,QAAM,EAAE,UAAU,aAAa,eAAe,IAAI,eAAe;AACjE,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,KAAK;AACxC,QAAM,QAAQ,SAAS;AAEvB,QAAM,uBAAuB,MAAM;AACjC,+CAAc,CAAC;AACf,qDAAiB,CAAC,aAAc,WAAW,QAAQ;AAAA,EACrD;AAEA,SACE,oBAAC,WAAQ,IAAI,GAAG,IAAI,GAAG,gBAAgB,WAAW,UAAU,UAAW,GAAG,OACxE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS;AAAA,MACT,cAAc,MAAM,SAAS,IAAI;AAAA,MACjC,cAAc,MAAM,SAAS,KAAK;AAAA,MAClC,UAAU;AAAA,MACV,IAAI,EAAE,OAAO,QAAQ,MAAM,QAAQ,UAAU,OAAO,WAAW,QAAQ,UAAU;AAAA,MAEhF,WAAC,WAAW,oBAAC,qBAAkB,IAAK,oBAAC,sBAAmB;AAAA;AAAA,EAC3D,GACF;AAEJ;;;AG/BA,SAAS,UAAyB,QAAQ,YAAAA,iBAAgB;AAYtD,gBAAAC,YAAA;AAPG,IAAM,oBAA2D,CAAC,EAAE,UAAU,IAAI,GAAG,MAAM,MAAM;AACtG,QAAM,EAAE,UAAU,eAAe,IAAI,eAAe;AACpD,QAAM,QAAQC,UAAS;AAEvB,QAAM,gBAAgB,MAAM,iBAAiB,MAAM,QAAQ,CAAC;AAE5D,SACE,gBAAAD;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,CAAC;AAAA,MACL,aAAY;AAAA,MACZ;AAAA,MACA,UAAU,MAAM,iDAAiB;AAAA,MACjC,IAAI;AAAA,QACF,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,GAAG;AAAA,MACL;AAAA,MACC,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;AAEA,IAAM,uBAAuB,OAAO,QAAQ,EAAE,OAAO;AAAA,EACnD,+BAA+B;AAAA,IAC7B,SAAS;AAAA,IACT,eAAe;AAAA,EACjB;AACF,EAAE;","names":["useTheme","jsx","useTheme"]}
@@ -1,97 +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/CollapsibleDrawer/storyExampleMenuData.tsx
21
- var storyExampleMenuData_exports = {};
22
- __export(storyExampleMenuData_exports, {
23
- menuDataBottom: () => menuDataBottom,
24
- menuDataTop: () => menuDataTop
25
- });
26
- module.exports = __toCommonJS(storyExampleMenuData_exports);
27
- var import_vsc = require("react-icons/vsc/index.js");
28
- var import_jsx_runtime = require("react/jsx-runtime");
29
- var menuDataTop = [
30
- {
31
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscGlobe, { fontSize: "body1" }),
32
- primary: "Explore",
33
- to: "",
34
- tooltip: "View global archivist data on a world map."
35
- },
36
- {
37
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscSymbolMethod, { fontSize: "body1" }),
38
- primary: "Blocks",
39
- to: "",
40
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
41
- },
42
- {
43
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscSymbolNamespace, { fontSize: "body1" }),
44
- primary: "Payloads",
45
- to: "",
46
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
47
- },
48
- {
49
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscGraph, { fontSize: "body1" }),
50
- primary: "Queries",
51
- to: "",
52
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
53
- },
54
- {
55
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscServer, { fontSize: "body1" }),
56
- primary: "Archives",
57
- subNavListItems: [
58
- { icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscDashboard, { fontSize: "body2" }), primary: "Dashboard", to: "", tooltip: "View data for all archives on this network." },
59
- { icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscAdd, { fontSize: "body2" }), primary: "Create Archive", to: "", tooltip: "Create a new archive on this network." },
60
- { icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscTable, { fontSize: "body2" }), primary: "Archive Table", to: "", tooltip: "View all archives on this network as a table." }
61
- ],
62
- to: "",
63
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
64
- }
65
- ];
66
- var menuDataBottom = [
67
- {
68
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscGraphLine, { fontSize: "body1" }),
69
- primary: "Statistics",
70
- to: "",
71
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
72
- },
73
- {
74
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscJson, { fontSize: "body1" }),
75
- primary: "Schema",
76
- to: "",
77
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
78
- },
79
- {
80
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscAccount, { fontSize: "body1" }),
81
- primary: "Account",
82
- to: "",
83
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
84
- },
85
- {
86
- icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscSettingsGear, { fontSize: "body1" }),
87
- primary: "Settings",
88
- to: "",
89
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
90
- }
91
- ];
92
- // Annotate the CommonJS export names for ESM import in node:
93
- 0 && (module.exports = {
94
- menuDataBottom,
95
- menuDataTop
96
- });
97
- //# sourceMappingURL=storyExampleMenuData.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/components/CollapsibleDrawer/storyExampleMenuData.tsx"],"sourcesContent":["import {\n VscAccount,\n VscAdd,\n VscDashboard,\n VscGlobe,\n VscGraph,\n VscGraphLine,\n VscJson,\n VscServer,\n VscSettingsGear,\n VscSymbolMethod,\n VscSymbolNamespace,\n VscTable,\n // eslint-disable-next-line import/no-internal-modules\n} from 'react-icons/vsc/index.js'\n\nimport { MenuListItemProps } from '../SiteMenu'\n\nexport const menuDataTop: MenuListItemProps[] = [\n {\n icon: <VscGlobe fontSize=\"body1\" />,\n primary: 'Explore',\n to: '',\n tooltip: 'View global archivist data on a world map.',\n },\n {\n icon: <VscSymbolMethod fontSize=\"body1\" />,\n primary: 'Blocks',\n to: '',\n tooltip: 'The most recent blocks seen in the in temp archive on your current network.',\n },\n {\n icon: <VscSymbolNamespace fontSize=\"body1\" />,\n primary: 'Payloads',\n to: '',\n tooltip: 'The most recent blocks seen in the in temp archive on your current network.',\n },\n {\n icon: <VscGraph fontSize=\"body1\" />,\n primary: 'Queries',\n to: '',\n tooltip: 'The most recent blocks seen in the in temp archive on your current network.',\n },\n {\n icon: <VscServer fontSize=\"body1\" />,\n primary: 'Archives',\n subNavListItems: [\n { icon: <VscDashboard fontSize=\"body2\" />, primary: 'Dashboard', to: '', tooltip: 'View data for all archives on this network.' },\n { icon: <VscAdd fontSize=\"body2\" />, primary: 'Create Archive', to: '', tooltip: 'Create a new archive on this network.' },\n { icon: <VscTable fontSize=\"body2\" />, primary: 'Archive Table', to: '', tooltip: 'View all archives on this network as a table.' },\n ],\n to: '',\n tooltip: 'The most recent blocks seen in the in temp archive on your current network.',\n },\n]\n\nexport const menuDataBottom: MenuListItemProps[] = [\n {\n icon: <VscGraphLine fontSize=\"body1\" />,\n primary: 'Statistics',\n to: '',\n tooltip: 'The most recent blocks seen in the in temp archive on your current network.',\n },\n {\n icon: <VscJson fontSize=\"body1\" />,\n primary: 'Schema',\n to: '',\n tooltip: 'The most recent blocks seen in the in temp archive on your current network.',\n },\n {\n icon: <VscAccount fontSize=\"body1\" />,\n primary: 'Account',\n to: '',\n tooltip: 'The most recent blocks seen in the in temp archive on your current network.',\n },\n {\n icon: <VscSettingsGear fontSize=\"body1\" />,\n primary: 'Settings',\n to: '',\n tooltip: 'The most recent blocks seen in the in temp archive on your current network.',\n },\n]\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAcO;AAMG;AAFH,IAAM,cAAmC;AAAA,EAC9C;AAAA,IACE,MAAM,4CAAC,uBAAS,UAAS,SAAQ;AAAA,IACjC,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM,4CAAC,8BAAgB,UAAS,SAAQ;AAAA,IACxC,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM,4CAAC,iCAAmB,UAAS,SAAQ;AAAA,IAC3C,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM,4CAAC,uBAAS,UAAS,SAAQ;AAAA,IACjC,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM,4CAAC,wBAAU,UAAS,SAAQ;AAAA,IAClC,SAAS;AAAA,IACT,iBAAiB;AAAA,MACf,EAAE,MAAM,4CAAC,2BAAa,UAAS,SAAQ,GAAI,SAAS,aAAa,IAAI,IAAI,SAAS,8CAA8C;AAAA,MAChI,EAAE,MAAM,4CAAC,qBAAO,UAAS,SAAQ,GAAI,SAAS,kBAAkB,IAAI,IAAI,SAAS,wCAAwC;AAAA,MACzH,EAAE,MAAM,4CAAC,uBAAS,UAAS,SAAQ,GAAI,SAAS,iBAAiB,IAAI,IAAI,SAAS,gDAAgD;AAAA,IACpI;AAAA,IACA,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AACF;AAEO,IAAM,iBAAsC;AAAA,EACjD;AAAA,IACE,MAAM,4CAAC,2BAAa,UAAS,SAAQ;AAAA,IACrC,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM,4CAAC,sBAAQ,UAAS,SAAQ;AAAA,IAChC,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM,4CAAC,yBAAW,UAAS,SAAQ;AAAA,IACnC,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,MAAM,4CAAC,8BAAgB,UAAS,SAAQ;AAAA,IACxC,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,SAAS;AAAA,EACX;AACF;","names":[]}
@@ -1,84 +0,0 @@
1
- // src/components/CollapsibleDrawer/storyExampleMenuData.tsx
2
- import {
3
- VscAccount,
4
- VscAdd,
5
- VscDashboard,
6
- VscGlobe,
7
- VscGraph,
8
- VscGraphLine,
9
- VscJson,
10
- VscServer,
11
- VscSettingsGear,
12
- VscSymbolMethod,
13
- VscSymbolNamespace,
14
- VscTable
15
- } from "react-icons/vsc/index.js";
16
- import { jsx } from "react/jsx-runtime";
17
- var menuDataTop = [
18
- {
19
- icon: /* @__PURE__ */ jsx(VscGlobe, { fontSize: "body1" }),
20
- primary: "Explore",
21
- to: "",
22
- tooltip: "View global archivist data on a world map."
23
- },
24
- {
25
- icon: /* @__PURE__ */ jsx(VscSymbolMethod, { fontSize: "body1" }),
26
- primary: "Blocks",
27
- to: "",
28
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
29
- },
30
- {
31
- icon: /* @__PURE__ */ jsx(VscSymbolNamespace, { fontSize: "body1" }),
32
- primary: "Payloads",
33
- to: "",
34
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
35
- },
36
- {
37
- icon: /* @__PURE__ */ jsx(VscGraph, { fontSize: "body1" }),
38
- primary: "Queries",
39
- to: "",
40
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
41
- },
42
- {
43
- icon: /* @__PURE__ */ jsx(VscServer, { fontSize: "body1" }),
44
- primary: "Archives",
45
- subNavListItems: [
46
- { icon: /* @__PURE__ */ jsx(VscDashboard, { fontSize: "body2" }), primary: "Dashboard", to: "", tooltip: "View data for all archives on this network." },
47
- { icon: /* @__PURE__ */ jsx(VscAdd, { fontSize: "body2" }), primary: "Create Archive", to: "", tooltip: "Create a new archive on this network." },
48
- { icon: /* @__PURE__ */ jsx(VscTable, { fontSize: "body2" }), primary: "Archive Table", to: "", tooltip: "View all archives on this network as a table." }
49
- ],
50
- to: "",
51
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
52
- }
53
- ];
54
- var menuDataBottom = [
55
- {
56
- icon: /* @__PURE__ */ jsx(VscGraphLine, { fontSize: "body1" }),
57
- primary: "Statistics",
58
- to: "",
59
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
60
- },
61
- {
62
- icon: /* @__PURE__ */ jsx(VscJson, { fontSize: "body1" }),
63
- primary: "Schema",
64
- to: "",
65
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
66
- },
67
- {
68
- icon: /* @__PURE__ */ jsx(VscAccount, { fontSize: "body1" }),
69
- primary: "Account",
70
- to: "",
71
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
72
- },
73
- {
74
- icon: /* @__PURE__ */ jsx(VscSettingsGear, { fontSize: "body1" }),
75
- primary: "Settings",
76
- to: "",
77
- tooltip: "The most recent blocks seen in the in temp archive on your current network."
78
- }
79
- ];
80
- export {
81
- menuDataBottom,
82
- menuDataTop
83
- };
84
- //# sourceMappingURL=storyExampleMenuData.js.map