@xyo-network/react-appbar 2.64.0-rc.7 → 2.64.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (716) hide show
  1. package/dist/browser/components/AppBar/Application.cjs +286 -0
  2. package/dist/browser/components/AppBar/Application.cjs.map +1 -0
  3. package/dist/browser/components/AppBar/Application.d.cts +10 -0
  4. package/dist/browser/components/AppBar/Application.d.cts.map +1 -0
  5. package/dist/browser/components/AppBar/Application.js +252 -6
  6. package/dist/browser/components/AppBar/Application.js.map +1 -1
  7. package/dist/browser/components/AppBar/index.cjs +288 -0
  8. package/dist/browser/components/AppBar/index.cjs.map +1 -0
  9. package/dist/browser/components/AppBar/index.d.cts +2 -0
  10. package/dist/browser/components/AppBar/index.d.cts.map +1 -0
  11. package/dist/browser/components/AppBar/index.js +264 -1
  12. package/dist/browser/components/AppBar/index.js.map +1 -1
  13. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs +61 -0
  14. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs.map +1 -0
  15. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
  16. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
  17. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -1
  18. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
  19. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js +13 -3
  20. package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js.map +1 -1
  21. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs +66 -0
  22. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +1 -0
  23. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
  24. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
  25. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js +14 -4
  26. package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js.map +1 -1
  27. package/dist/browser/components/CollapsibleDrawer/index.cjs +96 -0
  28. package/dist/browser/components/CollapsibleDrawer/index.cjs.map +1 -0
  29. package/dist/browser/components/CollapsibleDrawer/index.d.cts +3 -0
  30. package/dist/browser/components/CollapsibleDrawer/index.d.cts.map +1 -0
  31. package/dist/browser/components/CollapsibleDrawer/index.js +72 -2
  32. package/dist/browser/components/CollapsibleDrawer/index.js.map +1 -1
  33. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs +92 -0
  34. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +1 -0
  35. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
  36. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
  37. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -1
  38. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
  39. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js +4 -3
  40. package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -1
  41. package/dist/browser/components/MobileSystemControls/SystemControls.cjs +143 -0
  42. package/dist/browser/components/MobileSystemControls/SystemControls.cjs.map +1 -0
  43. package/dist/browser/components/MobileSystemControls/SystemControls.d.cts +5 -0
  44. package/dist/browser/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
  45. package/dist/browser/components/MobileSystemControls/SystemControls.js +117 -5
  46. package/dist/browser/components/MobileSystemControls/SystemControls.js.map +1 -1
  47. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs +134 -0
  48. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs.map +1 -0
  49. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
  50. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
  51. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js +57 -5
  52. package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js.map +1 -1
  53. package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs +32 -0
  54. package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs.map +1 -0
  55. package/dist/browser/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
  56. package/dist/browser/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
  57. package/dist/browser/components/MobileSystemControls/SystemControlsType.js +1 -0
  58. package/dist/browser/components/MobileSystemControls/SystemControlsType.js.map +1 -1
  59. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs +75 -0
  60. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +1 -0
  61. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
  62. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
  63. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js +35 -9
  64. package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js.map +1 -1
  65. package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs +49 -0
  66. package/dist/{node/components/MobileSystemControls/controls/SystemControl.mjs.map → browser/components/MobileSystemControls/controls/SystemControl.cjs.map} +1 -1
  67. package/dist/browser/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
  68. package/dist/browser/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
  69. package/dist/browser/components/MobileSystemControls/controls/SystemControl.js +5 -5
  70. package/dist/browser/components/MobileSystemControls/controls/SystemControl.js.map +1 -1
  71. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs +32 -0
  72. package/dist/{node/components/MobileSystemControls/controls/SystemControlText.mjs.map → browser/components/MobileSystemControls/controls/SystemControlText.cjs.map} +1 -1
  73. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
  74. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
  75. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js +3 -2
  76. package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js.map +1 -1
  77. package/dist/browser/components/MobileSystemControls/controls/index.cjs +60 -0
  78. package/dist/browser/components/MobileSystemControls/controls/index.cjs.map +1 -0
  79. package/dist/browser/components/MobileSystemControls/controls/index.d.cts +3 -0
  80. package/dist/browser/components/MobileSystemControls/controls/index.d.cts.map +1 -0
  81. package/dist/browser/components/MobileSystemControls/controls/index.js +36 -2
  82. package/dist/browser/components/MobileSystemControls/controls/index.js.map +1 -1
  83. package/dist/browser/components/MobileSystemControls/index.cjs +155 -0
  84. package/dist/browser/components/MobileSystemControls/index.cjs.map +1 -0
  85. package/dist/browser/components/MobileSystemControls/index.d.cts +4 -0
  86. package/dist/browser/components/MobileSystemControls/index.d.cts.map +1 -0
  87. package/dist/browser/components/MobileSystemControls/index.js +131 -3
  88. package/dist/browser/components/MobileSystemControls/index.js.map +1 -1
  89. package/dist/browser/components/SearchBar/SearchBar.cjs +53 -0
  90. package/dist/browser/components/SearchBar/SearchBar.cjs.map +1 -0
  91. package/dist/browser/components/SearchBar/SearchBar.d.cts +7 -0
  92. package/dist/browser/components/SearchBar/SearchBar.d.cts.map +1 -0
  93. package/dist/browser/components/SearchBar/SearchBar.js +3 -2
  94. package/dist/browser/components/SearchBar/SearchBar.js.map +1 -1
  95. package/dist/browser/components/SearchBar/index.cjs +55 -0
  96. package/dist/browser/components/SearchBar/index.cjs.map +1 -0
  97. package/dist/browser/components/SearchBar/index.d.cts +2 -0
  98. package/dist/browser/components/SearchBar/index.d.cts.map +1 -0
  99. package/dist/browser/components/SearchBar/index.js +31 -1
  100. package/dist/browser/components/SearchBar/index.js.map +1 -1
  101. package/dist/browser/components/SiteMenu/Menu.cjs +193 -0
  102. package/dist/browser/components/SiteMenu/Menu.cjs.map +1 -0
  103. package/dist/browser/components/SiteMenu/Menu.d.cts +9 -0
  104. package/dist/browser/components/SiteMenu/Menu.d.cts.map +1 -0
  105. package/dist/browser/components/SiteMenu/Menu.js +144 -13
  106. package/dist/browser/components/SiteMenu/Menu.js.map +1 -1
  107. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +153 -0
  108. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +1 -0
  109. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
  110. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
  111. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js +73 -13
  112. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +1 -1
  113. package/dist/browser/components/SiteMenu/MenuListItem/index.cjs +155 -0
  114. package/dist/browser/components/SiteMenu/MenuListItem/index.cjs.map +1 -0
  115. package/dist/browser/components/SiteMenu/MenuListItem/index.d.cts +2 -0
  116. package/dist/browser/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
  117. package/dist/browser/components/SiteMenu/MenuListItem/index.js +131 -1
  118. package/dist/browser/components/SiteMenu/MenuListItem/index.js.map +1 -1
  119. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +33 -0
  120. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +1 -0
  121. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
  122. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
  123. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -1
  124. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -1
  125. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +3 -2
  126. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -1
  127. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +31 -0
  128. package/dist/{node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.mjs.map → browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map} +1 -1
  129. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
  130. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
  131. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +3 -2
  132. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +1 -1
  133. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +34 -0
  134. package/dist/{node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.mjs.map → browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map} +1 -1
  135. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
  136. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
  137. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +3 -2
  138. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +1 -1
  139. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs +54 -0
  140. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +1 -0
  141. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
  142. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
  143. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js +30 -3
  144. package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js.map +1 -1
  145. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +31 -0
  146. package/dist/{node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.mjs.map → browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map} +1 -1
  147. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
  148. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
  149. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +3 -2
  150. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +1 -1
  151. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +43 -0
  152. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +1 -0
  153. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
  154. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
  155. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -1
  156. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -1
  157. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +3 -2
  158. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -1
  159. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs +53 -0
  160. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +1 -0
  161. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
  162. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
  163. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js +29 -2
  164. package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js.map +1 -1
  165. package/dist/browser/components/SiteMenu/MenuSection.cjs +166 -0
  166. package/dist/browser/components/SiteMenu/MenuSection.cjs.map +1 -0
  167. package/dist/browser/components/SiteMenu/MenuSection.d.cts +11 -0
  168. package/dist/browser/components/SiteMenu/MenuSection.d.cts.map +1 -0
  169. package/dist/browser/components/SiteMenu/MenuSection.js +138 -7
  170. package/dist/browser/components/SiteMenu/MenuSection.js.map +1 -1
  171. package/dist/browser/components/SiteMenu/hooks/index.cjs +58 -0
  172. package/dist/browser/components/SiteMenu/hooks/index.cjs.map +1 -0
  173. package/dist/browser/components/SiteMenu/hooks/index.d.cts +2 -0
  174. package/dist/browser/components/SiteMenu/hooks/index.d.cts.map +1 -0
  175. package/dist/browser/components/SiteMenu/hooks/index.js +34 -1
  176. package/dist/browser/components/SiteMenu/hooks/index.js.map +1 -1
  177. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs +56 -0
  178. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +1 -0
  179. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
  180. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
  181. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js +12 -2
  182. package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js.map +1 -1
  183. package/dist/browser/components/SiteMenu/index.cjs +233 -0
  184. package/dist/browser/components/SiteMenu/index.cjs.map +1 -0
  185. package/dist/browser/components/SiteMenu/index.d.cts +6 -0
  186. package/dist/browser/components/SiteMenu/index.d.cts.map +1 -0
  187. package/dist/browser/components/SiteMenu/index.js +209 -5
  188. package/dist/browser/components/SiteMenu/index.js.map +1 -1
  189. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs +19 -0
  190. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs.map +1 -0
  191. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
  192. package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
  193. package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs +19 -0
  194. package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs.map +1 -0
  195. package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
  196. package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
  197. package/dist/browser/components/SiteMenu/lib/index.cjs +19 -0
  198. package/dist/{node/components/SiteMenu/lib/index.mjs.map → browser/components/SiteMenu/lib/index.cjs.map} +1 -1
  199. package/dist/browser/components/SiteMenu/lib/index.d.cts +3 -0
  200. package/dist/browser/components/SiteMenu/lib/index.d.cts.map +1 -0
  201. package/dist/browser/components/SiteMenu/lib/index.js +0 -2
  202. package/dist/browser/components/SiteMenu/lib/index.js.map +1 -1
  203. package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs +72 -0
  204. package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs.map +1 -0
  205. package/dist/browser/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
  206. package/dist/browser/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
  207. package/dist/browser/components/Toolbar/Context/ContextToolbar.js +45 -4
  208. package/dist/browser/components/Toolbar/Context/ContextToolbar.js.map +1 -1
  209. package/dist/browser/components/Toolbar/Context/Logo.cjs +33 -0
  210. package/dist/{node/components/Toolbar/Context/Logo.mjs.map → browser/components/Toolbar/Context/Logo.cjs.map} +1 -1
  211. package/dist/browser/components/Toolbar/Context/Logo.d.cts +3 -0
  212. package/dist/browser/components/Toolbar/Context/Logo.d.cts.map +1 -0
  213. package/dist/browser/components/Toolbar/Context/Logo.js +3 -2
  214. package/dist/browser/components/Toolbar/Context/Logo.js.map +1 -1
  215. package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs +63 -0
  216. package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs.map +1 -0
  217. package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
  218. package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
  219. package/dist/browser/components/Toolbar/Context/LogoLinkEx.js +18 -7
  220. package/dist/browser/components/Toolbar/Context/LogoLinkEx.js.map +1 -1
  221. package/dist/browser/components/Toolbar/Context/index.cjs +74 -0
  222. package/dist/browser/components/Toolbar/Context/index.cjs.map +1 -0
  223. package/dist/browser/components/Toolbar/Context/index.d.cts +2 -0
  224. package/dist/browser/components/Toolbar/Context/index.d.cts.map +1 -0
  225. package/dist/browser/components/Toolbar/Context/index.js +50 -1
  226. package/dist/browser/components/Toolbar/Context/index.js.map +1 -1
  227. package/dist/browser/components/Toolbar/System/SystemToolbar.cjs +220 -0
  228. package/dist/browser/components/Toolbar/System/SystemToolbar.cjs.map +1 -0
  229. package/dist/browser/components/Toolbar/System/SystemToolbar.d.cts +15 -0
  230. package/dist/browser/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
  231. package/dist/browser/components/Toolbar/System/SystemToolbar.js +179 -8
  232. package/dist/browser/components/Toolbar/System/SystemToolbar.js.map +1 -1
  233. package/dist/browser/components/Toolbar/System/index.cjs +222 -0
  234. package/dist/browser/components/Toolbar/System/index.cjs.map +1 -0
  235. package/dist/browser/components/Toolbar/System/index.d.cts +2 -0
  236. package/dist/browser/components/Toolbar/System/index.d.cts.map +1 -0
  237. package/dist/browser/components/Toolbar/System/index.js +198 -1
  238. package/dist/browser/components/Toolbar/System/index.js.map +1 -1
  239. package/dist/browser/components/Toolbar/index.cjs +271 -0
  240. package/dist/browser/components/Toolbar/index.cjs.map +1 -0
  241. package/dist/browser/components/Toolbar/index.d.cts +3 -0
  242. package/dist/browser/components/Toolbar/index.d.cts.map +1 -0
  243. package/dist/browser/components/Toolbar/index.js +247 -2
  244. package/dist/browser/components/Toolbar/index.js.map +1 -1
  245. package/dist/browser/components/index.cjs +550 -0
  246. package/dist/browser/components/index.cjs.map +1 -0
  247. package/dist/browser/components/index.d.cts +7 -0
  248. package/dist/browser/components/index.d.cts.map +1 -0
  249. package/dist/browser/components/index.js +526 -6
  250. package/dist/browser/components/index.js.map +1 -1
  251. package/dist/browser/contexts/Collapsible/State.cjs +19 -0
  252. package/dist/browser/contexts/Collapsible/State.cjs.map +1 -0
  253. package/dist/browser/contexts/Collapsible/State.d.cts +9 -0
  254. package/dist/browser/contexts/Collapsible/State.d.cts.map +1 -0
  255. package/dist/browser/contexts/Collapsible/context.cjs +28 -0
  256. package/dist/{node/contexts/Collapsible/context.mjs.map → browser/contexts/Collapsible/context.cjs.map} +1 -1
  257. package/dist/browser/contexts/Collapsible/context.d.cts +4 -0
  258. package/dist/browser/contexts/Collapsible/context.d.cts.map +1 -0
  259. package/dist/browser/contexts/Collapsible/context.js +2 -1
  260. package/dist/browser/contexts/Collapsible/context.js.map +1 -1
  261. package/dist/browser/contexts/Collapsible/index.cjs +52 -0
  262. package/dist/browser/contexts/Collapsible/index.cjs.map +1 -0
  263. package/dist/browser/contexts/Collapsible/index.d.cts +4 -0
  264. package/dist/browser/contexts/Collapsible/index.d.cts.map +1 -0
  265. package/dist/browser/contexts/Collapsible/index.js +28 -3
  266. package/dist/browser/contexts/Collapsible/index.js.map +1 -1
  267. package/dist/browser/contexts/Collapsible/provider.cjs +45 -0
  268. package/dist/browser/contexts/Collapsible/provider.cjs.map +1 -0
  269. package/dist/browser/contexts/Collapsible/provider.d.cts +8 -0
  270. package/dist/browser/contexts/Collapsible/provider.d.cts.map +1 -0
  271. package/dist/browser/contexts/Collapsible/provider.js +9 -3
  272. package/dist/browser/contexts/Collapsible/provider.js.map +1 -1
  273. package/dist/browser/contexts/Collapsible/use.cjs +34 -0
  274. package/dist/browser/contexts/Collapsible/use.cjs.map +1 -0
  275. package/dist/browser/contexts/Collapsible/use.d.cts +2 -0
  276. package/dist/browser/contexts/Collapsible/use.d.cts.map +1 -0
  277. package/dist/browser/contexts/Collapsible/use.js +8 -2
  278. package/dist/browser/contexts/Collapsible/use.js.map +1 -1
  279. package/dist/browser/contexts/index.cjs +52 -0
  280. package/dist/browser/contexts/index.cjs.map +1 -0
  281. package/dist/browser/contexts/index.d.cts +2 -0
  282. package/dist/browser/contexts/index.d.cts.map +1 -0
  283. package/dist/browser/contexts/index.js +28 -1
  284. package/dist/browser/contexts/index.js.map +1 -1
  285. package/dist/browser/index.cjs +569 -0
  286. package/dist/browser/index.cjs.map +1 -0
  287. package/dist/browser/index.d.cts +3 -0
  288. package/dist/browser/index.d.cts.map +1 -0
  289. package/dist/browser/index.js +545 -2
  290. package/dist/browser/index.js.map +1 -1
  291. package/dist/docs.json +96215 -0
  292. package/dist/node/components/AppBar/Application.cjs +290 -0
  293. package/dist/node/components/AppBar/Application.cjs.map +1 -0
  294. package/dist/node/components/AppBar/Application.d.cts +10 -0
  295. package/dist/node/components/AppBar/Application.d.cts.map +1 -0
  296. package/dist/node/components/AppBar/Application.js +256 -34
  297. package/dist/node/components/AppBar/Application.js.map +1 -1
  298. package/dist/node/components/AppBar/index.cjs +292 -0
  299. package/dist/node/components/AppBar/index.cjs.map +1 -0
  300. package/dist/node/components/AppBar/index.d.cts +2 -0
  301. package/dist/node/components/AppBar/index.d.cts.map +1 -0
  302. package/dist/node/components/AppBar/index.js +264 -22
  303. package/dist/node/components/AppBar/index.js.map +1 -1
  304. package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs +65 -0
  305. package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs.map +1 -0
  306. package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
  307. package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
  308. package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -1
  309. package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
  310. package/dist/node/components/CollapsibleDrawer/CollapseToggle.js +27 -41
  311. package/dist/node/components/CollapsibleDrawer/CollapseToggle.js.map +1 -1
  312. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs +70 -0
  313. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +1 -0
  314. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
  315. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
  316. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js +21 -35
  317. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js.map +1 -1
  318. package/dist/node/components/CollapsibleDrawer/index.cjs +101 -0
  319. package/dist/node/components/CollapsibleDrawer/index.cjs.map +1 -0
  320. package/dist/node/components/CollapsibleDrawer/index.d.cts +3 -0
  321. package/dist/node/components/CollapsibleDrawer/index.d.cts.map +1 -0
  322. package/dist/node/components/CollapsibleDrawer/index.js +70 -22
  323. package/dist/node/components/CollapsibleDrawer/index.js.map +1 -1
  324. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs +97 -0
  325. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +1 -0
  326. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
  327. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
  328. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -1
  329. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
  330. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js +32 -43
  331. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -1
  332. package/dist/node/components/MobileSystemControls/SystemControls.cjs +147 -0
  333. package/dist/node/components/MobileSystemControls/SystemControls.cjs.map +1 -0
  334. package/dist/node/components/MobileSystemControls/SystemControls.d.cts +5 -0
  335. package/dist/node/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
  336. package/dist/node/components/MobileSystemControls/SystemControls.js +116 -28
  337. package/dist/node/components/MobileSystemControls/SystemControls.js.map +1 -1
  338. package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs +138 -0
  339. package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs.map +1 -0
  340. package/dist/node/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
  341. package/dist/node/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
  342. package/dist/node/components/MobileSystemControls/SystemControlsRoot.js +57 -29
  343. package/dist/node/components/MobileSystemControls/SystemControlsRoot.js.map +1 -1
  344. package/dist/node/components/MobileSystemControls/SystemControlsType.cjs +36 -0
  345. package/dist/node/components/MobileSystemControls/SystemControlsType.cjs.map +1 -0
  346. package/dist/node/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
  347. package/dist/node/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
  348. package/dist/node/components/MobileSystemControls/SystemControlsType.js +3 -26
  349. package/dist/node/components/MobileSystemControls/SystemControlsType.js.map +1 -1
  350. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs +79 -0
  351. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +1 -0
  352. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
  353. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
  354. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js +39 -37
  355. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js.map +1 -1
  356. package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs +53 -0
  357. package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs.map +1 -0
  358. package/dist/node/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
  359. package/dist/node/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
  360. package/dist/node/components/MobileSystemControls/controls/SystemControl.js +14 -38
  361. package/dist/node/components/MobileSystemControls/controls/SystemControl.js.map +1 -1
  362. package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs +36 -0
  363. package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs.map +1 -0
  364. package/dist/node/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
  365. package/dist/node/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
  366. package/dist/node/components/MobileSystemControls/controls/SystemControlText.js +8 -31
  367. package/dist/node/components/MobileSystemControls/controls/SystemControlText.js.map +1 -1
  368. package/dist/node/components/MobileSystemControls/controls/index.cjs +65 -0
  369. package/dist/node/components/MobileSystemControls/controls/index.cjs.map +1 -0
  370. package/dist/node/components/MobileSystemControls/controls/index.d.cts +3 -0
  371. package/dist/node/components/MobileSystemControls/controls/index.d.cts.map +1 -0
  372. package/dist/node/components/MobileSystemControls/controls/index.js +34 -22
  373. package/dist/node/components/MobileSystemControls/controls/index.js.map +1 -1
  374. package/dist/node/components/MobileSystemControls/index.cjs +161 -0
  375. package/dist/node/components/MobileSystemControls/index.cjs.map +1 -0
  376. package/dist/node/components/MobileSystemControls/index.d.cts +4 -0
  377. package/dist/node/components/MobileSystemControls/index.d.cts.map +1 -0
  378. package/dist/node/components/MobileSystemControls/index.js +129 -24
  379. package/dist/node/components/MobileSystemControls/index.js.map +1 -1
  380. package/dist/node/components/SearchBar/SearchBar.cjs +57 -0
  381. package/dist/node/components/SearchBar/{SearchBar.mjs.map → SearchBar.cjs.map} +1 -1
  382. package/dist/node/components/SearchBar/SearchBar.d.cts +7 -0
  383. package/dist/node/components/SearchBar/SearchBar.d.cts.map +1 -0
  384. package/dist/node/components/SearchBar/SearchBar.js +16 -39
  385. package/dist/node/components/SearchBar/SearchBar.js.map +1 -1
  386. package/dist/node/components/SearchBar/index.cjs +59 -0
  387. package/dist/node/components/SearchBar/index.cjs.map +1 -0
  388. package/dist/node/components/SearchBar/index.d.cts +2 -0
  389. package/dist/node/components/SearchBar/index.d.cts.map +1 -0
  390. package/dist/node/components/SearchBar/index.js +30 -21
  391. package/dist/node/components/SearchBar/index.js.map +1 -1
  392. package/dist/node/components/SiteMenu/Menu.cjs +197 -0
  393. package/dist/node/components/SiteMenu/Menu.cjs.map +1 -0
  394. package/dist/node/components/SiteMenu/Menu.d.cts +9 -0
  395. package/dist/node/components/SiteMenu/Menu.d.cts.map +1 -0
  396. package/dist/node/components/SiteMenu/Menu.js +148 -41
  397. package/dist/node/components/SiteMenu/Menu.js.map +1 -1
  398. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +157 -0
  399. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +1 -0
  400. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
  401. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
  402. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js +85 -49
  403. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +1 -1
  404. package/dist/node/components/SiteMenu/MenuListItem/index.cjs +159 -0
  405. package/dist/node/components/SiteMenu/MenuListItem/index.cjs.map +1 -0
  406. package/dist/node/components/SiteMenu/MenuListItem/index.d.cts +2 -0
  407. package/dist/node/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
  408. package/dist/node/components/SiteMenu/MenuListItem/index.js +130 -21
  409. package/dist/node/components/SiteMenu/MenuListItem/index.js.map +1 -1
  410. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +37 -0
  411. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +1 -0
  412. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
  413. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
  414. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -1
  415. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -1
  416. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +9 -32
  417. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -1
  418. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +35 -0
  419. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +1 -0
  420. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
  421. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
  422. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +7 -30
  423. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +1 -1
  424. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +38 -0
  425. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +1 -0
  426. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
  427. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
  428. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +7 -30
  429. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +1 -1
  430. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs +60 -0
  431. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +1 -0
  432. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
  433. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
  434. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js +29 -25
  435. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js.map +1 -1
  436. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +35 -0
  437. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +1 -0
  438. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
  439. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
  440. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +7 -30
  441. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +1 -1
  442. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +47 -0
  443. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +1 -0
  444. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
  445. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
  446. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -1
  447. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -1
  448. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +12 -35
  449. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -1
  450. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs +58 -0
  451. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +1 -0
  452. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
  453. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
  454. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js +28 -23
  455. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js.map +1 -1
  456. package/dist/node/components/SiteMenu/MenuSection.cjs +170 -0
  457. package/dist/node/components/SiteMenu/MenuSection.cjs.map +1 -0
  458. package/dist/node/components/SiteMenu/MenuSection.d.cts +11 -0
  459. package/dist/node/components/SiteMenu/MenuSection.d.cts.map +1 -0
  460. package/dist/node/components/SiteMenu/MenuSection.js +141 -34
  461. package/dist/node/components/SiteMenu/MenuSection.js.map +1 -1
  462. package/dist/node/components/SiteMenu/hooks/index.cjs +62 -0
  463. package/dist/node/components/SiteMenu/hooks/index.cjs.map +1 -0
  464. package/dist/node/components/SiteMenu/hooks/index.d.cts +2 -0
  465. package/dist/node/components/SiteMenu/hooks/index.d.cts.map +1 -0
  466. package/dist/node/components/SiteMenu/hooks/index.js +33 -21
  467. package/dist/node/components/SiteMenu/hooks/index.js.map +1 -1
  468. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs +60 -0
  469. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +1 -0
  470. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
  471. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
  472. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js +19 -33
  473. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js.map +1 -1
  474. package/dist/node/components/SiteMenu/index.cjs +240 -0
  475. package/dist/node/components/SiteMenu/index.cjs.map +1 -0
  476. package/dist/node/components/SiteMenu/index.d.cts +6 -0
  477. package/dist/node/components/SiteMenu/index.d.cts.map +1 -0
  478. package/dist/node/components/SiteMenu/index.js +209 -30
  479. package/dist/node/components/SiteMenu/index.js.map +1 -1
  480. package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs +19 -0
  481. package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs.map +1 -0
  482. package/dist/node/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
  483. package/dist/node/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
  484. package/dist/node/components/SiteMenu/lib/MenuListItemBase.js +0 -16
  485. package/dist/node/components/SiteMenu/lib/MenuListItemBase.js.map +1 -1
  486. package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs +19 -0
  487. package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs.map +1 -0
  488. package/dist/node/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
  489. package/dist/node/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
  490. package/dist/node/components/SiteMenu/lib/NavListItemProps.js +0 -16
  491. package/dist/node/components/SiteMenu/lib/NavListItemProps.js.map +1 -1
  492. package/dist/node/components/SiteMenu/lib/index.cjs +19 -0
  493. package/dist/node/components/SiteMenu/lib/index.cjs.map +1 -0
  494. package/dist/node/components/SiteMenu/lib/index.d.cts +3 -0
  495. package/dist/node/components/SiteMenu/lib/index.d.cts.map +1 -0
  496. package/dist/node/components/SiteMenu/lib/index.js +0 -24
  497. package/dist/node/components/SiteMenu/lib/index.js.map +1 -1
  498. package/dist/node/components/Toolbar/Context/ContextToolbar.cjs +76 -0
  499. package/dist/node/components/Toolbar/Context/ContextToolbar.cjs.map +1 -0
  500. package/dist/node/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
  501. package/dist/node/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
  502. package/dist/node/components/Toolbar/Context/ContextToolbar.js +46 -29
  503. package/dist/node/components/Toolbar/Context/ContextToolbar.js.map +1 -1
  504. package/dist/node/components/Toolbar/Context/Logo.cjs +37 -0
  505. package/dist/node/components/Toolbar/Context/Logo.cjs.map +1 -0
  506. package/dist/node/components/Toolbar/Context/Logo.d.cts +3 -0
  507. package/dist/node/components/Toolbar/Context/Logo.d.cts.map +1 -0
  508. package/dist/node/components/Toolbar/Context/Logo.js +8 -31
  509. package/dist/node/components/Toolbar/Context/Logo.js.map +1 -1
  510. package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs +67 -0
  511. package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs.map +1 -0
  512. package/dist/node/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
  513. package/dist/node/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
  514. package/dist/node/components/Toolbar/Context/LogoLinkEx.js +23 -36
  515. package/dist/node/components/Toolbar/Context/LogoLinkEx.js.map +1 -1
  516. package/dist/node/components/Toolbar/Context/index.cjs +78 -0
  517. package/dist/node/components/Toolbar/Context/index.cjs.map +1 -0
  518. package/dist/node/components/Toolbar/Context/index.d.cts +2 -0
  519. package/dist/node/components/Toolbar/Context/index.d.cts.map +1 -0
  520. package/dist/node/components/Toolbar/Context/index.js +49 -21
  521. package/dist/node/components/Toolbar/Context/index.js.map +1 -1
  522. package/dist/node/components/Toolbar/System/SystemToolbar.cjs +224 -0
  523. package/dist/node/components/Toolbar/System/SystemToolbar.cjs.map +1 -0
  524. package/dist/node/components/Toolbar/System/SystemToolbar.d.cts +15 -0
  525. package/dist/node/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
  526. package/dist/node/components/Toolbar/System/SystemToolbar.js +184 -37
  527. package/dist/node/components/Toolbar/System/SystemToolbar.js.map +1 -1
  528. package/dist/node/components/Toolbar/System/index.cjs +226 -0
  529. package/dist/node/components/Toolbar/System/index.cjs.map +1 -0
  530. package/dist/node/components/Toolbar/System/index.d.cts +2 -0
  531. package/dist/node/components/Toolbar/System/index.d.cts.map +1 -0
  532. package/dist/node/components/Toolbar/System/index.js +198 -22
  533. package/dist/node/components/Toolbar/System/index.js.map +1 -1
  534. package/dist/node/components/Toolbar/index.cjs +276 -0
  535. package/dist/node/components/Toolbar/index.cjs.map +1 -0
  536. package/dist/node/components/Toolbar/index.d.cts +3 -0
  537. package/dist/node/components/Toolbar/index.d.cts.map +1 -0
  538. package/dist/node/components/Toolbar/index.js +247 -24
  539. package/dist/node/components/Toolbar/index.js.map +1 -1
  540. package/dist/node/components/index.cjs +566 -0
  541. package/dist/node/components/index.cjs.map +1 -0
  542. package/dist/node/components/index.d.cts +7 -0
  543. package/dist/node/components/index.d.cts.map +1 -0
  544. package/dist/node/components/index.js +525 -31
  545. package/dist/node/components/index.js.map +1 -1
  546. package/dist/node/contexts/Collapsible/State.cjs +19 -0
  547. package/dist/node/contexts/Collapsible/State.cjs.map +1 -0
  548. package/dist/node/contexts/Collapsible/State.d.cts +9 -0
  549. package/dist/node/contexts/Collapsible/State.d.cts.map +1 -0
  550. package/dist/node/contexts/Collapsible/State.js +0 -16
  551. package/dist/node/contexts/Collapsible/State.js.map +1 -1
  552. package/dist/node/contexts/Collapsible/context.cjs +32 -0
  553. package/dist/node/contexts/Collapsible/context.cjs.map +1 -0
  554. package/dist/node/contexts/Collapsible/context.d.cts +4 -0
  555. package/dist/node/contexts/Collapsible/context.d.cts.map +1 -0
  556. package/dist/node/contexts/Collapsible/context.js +5 -28
  557. package/dist/node/contexts/Collapsible/context.js.map +1 -1
  558. package/dist/node/contexts/Collapsible/index.cjs +57 -0
  559. package/dist/node/contexts/Collapsible/index.cjs.map +1 -0
  560. package/dist/node/contexts/Collapsible/index.d.cts +4 -0
  561. package/dist/node/contexts/Collapsible/index.d.cts.map +1 -0
  562. package/dist/node/contexts/Collapsible/index.js +27 -25
  563. package/dist/node/contexts/Collapsible/index.js.map +1 -1
  564. package/dist/node/contexts/Collapsible/provider.cjs +49 -0
  565. package/dist/node/contexts/Collapsible/provider.cjs.map +1 -0
  566. package/dist/node/contexts/Collapsible/provider.d.cts +8 -0
  567. package/dist/node/contexts/Collapsible/provider.d.cts.map +1 -0
  568. package/dist/node/contexts/Collapsible/provider.js +17 -35
  569. package/dist/node/contexts/Collapsible/provider.js.map +1 -1
  570. package/dist/node/contexts/Collapsible/use.cjs +38 -0
  571. package/dist/node/contexts/Collapsible/use.cjs.map +1 -0
  572. package/dist/node/contexts/Collapsible/use.d.cts +2 -0
  573. package/dist/node/contexts/Collapsible/use.d.cts.map +1 -0
  574. package/dist/node/contexts/Collapsible/use.js +11 -29
  575. package/dist/node/contexts/Collapsible/use.js.map +1 -1
  576. package/dist/node/contexts/index.cjs +57 -0
  577. package/dist/node/contexts/index.cjs.map +1 -0
  578. package/dist/node/contexts/index.d.cts +2 -0
  579. package/dist/node/contexts/index.d.cts.map +1 -0
  580. package/dist/node/contexts/index.js +27 -21
  581. package/dist/node/contexts/index.js.map +1 -1
  582. package/dist/node/index.cjs +587 -0
  583. package/dist/node/index.cjs.map +1 -0
  584. package/dist/node/index.d.cts +3 -0
  585. package/dist/node/index.d.cts.map +1 -0
  586. package/dist/node/index.js +544 -23
  587. package/dist/node/index.js.map +1 -1
  588. package/package.json +23 -23
  589. package/src/components/CollapsibleDrawer/CollapseToggle.tsx +1 -0
  590. package/src/components/CollapsibleDrawer/storyExampleMenuData.tsx +1 -0
  591. package/src/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.tsx +1 -0
  592. package/src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx +1 -0
  593. package/src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx +1 -0
  594. package/dist/browser/components/AppBar/Application.stories.js +0 -64
  595. package/dist/browser/components/AppBar/Application.stories.js.map +0 -1
  596. package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.js +0 -45
  597. package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.js.map +0 -1
  598. package/dist/browser/components/MobileSystemControls/SystemControls.stories.js +0 -34
  599. package/dist/browser/components/MobileSystemControls/SystemControls.stories.js.map +0 -1
  600. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js +0 -46
  601. package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js.map +0 -1
  602. package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.js +0 -25
  603. package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.js.map +0 -1
  604. package/dist/browser/components/Toolbar/System/SystemToolbar.stories.js +0 -48
  605. package/dist/browser/components/Toolbar/System/SystemToolbar.stories.js.map +0 -1
  606. package/dist/node/components/AppBar/Application.mjs +0 -19
  607. package/dist/node/components/AppBar/Application.mjs.map +0 -1
  608. package/dist/node/components/AppBar/Application.stories.js +0 -90
  609. package/dist/node/components/AppBar/Application.stories.js.map +0 -1
  610. package/dist/node/components/AppBar/Application.stories.mjs +0 -64
  611. package/dist/node/components/AppBar/Application.stories.mjs.map +0 -1
  612. package/dist/node/components/AppBar/index.mjs +0 -2
  613. package/dist/node/components/AppBar/index.mjs.map +0 -1
  614. package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.js +0 -69
  615. package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.js.map +0 -1
  616. package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.mjs +0 -45
  617. package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.mjs.map +0 -1
  618. package/dist/node/components/CollapsibleDrawer/CollapseToggle.mjs +0 -30
  619. package/dist/node/components/CollapsibleDrawer/CollapseToggle.mjs.map +0 -1
  620. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.mjs +0 -35
  621. package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.mjs.map +0 -1
  622. package/dist/node/components/CollapsibleDrawer/index.mjs +0 -3
  623. package/dist/node/components/CollapsibleDrawer/index.mjs.map +0 -1
  624. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.mjs +0 -83
  625. package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.mjs.map +0 -1
  626. package/dist/node/components/MobileSystemControls/SystemControls.mjs +0 -10
  627. package/dist/node/components/MobileSystemControls/SystemControls.mjs.map +0 -1
  628. package/dist/node/components/MobileSystemControls/SystemControls.stories.js +0 -59
  629. package/dist/node/components/MobileSystemControls/SystemControls.stories.js.map +0 -1
  630. package/dist/node/components/MobileSystemControls/SystemControls.stories.mjs +0 -34
  631. package/dist/node/components/MobileSystemControls/SystemControls.stories.mjs.map +0 -1
  632. package/dist/node/components/MobileSystemControls/SystemControlsRoot.mjs +0 -61
  633. package/dist/node/components/MobileSystemControls/SystemControlsRoot.mjs.map +0 -1
  634. package/dist/node/components/MobileSystemControls/SystemControlsType.mjs +0 -10
  635. package/dist/node/components/MobileSystemControls/SystemControlsType.mjs.map +0 -1
  636. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.mjs +0 -28
  637. package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.mjs.map +0 -1
  638. package/dist/node/components/MobileSystemControls/controls/SystemControl.mjs +0 -28
  639. package/dist/node/components/MobileSystemControls/controls/SystemControlText.mjs +0 -10
  640. package/dist/node/components/MobileSystemControls/controls/index.mjs +0 -3
  641. package/dist/node/components/MobileSystemControls/controls/index.mjs.map +0 -1
  642. package/dist/node/components/MobileSystemControls/index.mjs +0 -4
  643. package/dist/node/components/MobileSystemControls/index.mjs.map +0 -1
  644. package/dist/node/components/SearchBar/SearchBar.mjs +0 -31
  645. package/dist/node/components/SearchBar/index.mjs +0 -2
  646. package/dist/node/components/SearchBar/index.mjs.map +0 -1
  647. package/dist/node/components/SiteMenu/Menu.mjs +0 -41
  648. package/dist/node/components/SiteMenu/Menu.mjs.map +0 -1
  649. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.mjs +0 -72
  650. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.mjs.map +0 -1
  651. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js +0 -71
  652. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js.map +0 -1
  653. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.mjs +0 -46
  654. package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.mjs.map +0 -1
  655. package/dist/node/components/SiteMenu/MenuListItem/index.mjs +0 -2
  656. package/dist/node/components/SiteMenu/MenuListItem/index.mjs.map +0 -1
  657. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs +0 -11
  658. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs.map +0 -1
  659. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.mjs +0 -9
  660. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.mjs +0 -12
  661. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.mjs +0 -4
  662. package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.mjs.map +0 -1
  663. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.mjs +0 -9
  664. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.mjs +0 -21
  665. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.mjs.map +0 -1
  666. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.mjs +0 -3
  667. package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.mjs.map +0 -1
  668. package/dist/node/components/SiteMenu/MenuSection.mjs +0 -14
  669. package/dist/node/components/SiteMenu/MenuSection.mjs.map +0 -1
  670. package/dist/node/components/SiteMenu/hooks/index.mjs +0 -2
  671. package/dist/node/components/SiteMenu/hooks/index.mjs.map +0 -1
  672. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.mjs +0 -25
  673. package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.mjs.map +0 -1
  674. package/dist/node/components/SiteMenu/index.mjs +0 -6
  675. package/dist/node/components/SiteMenu/index.mjs.map +0 -1
  676. package/dist/node/components/SiteMenu/lib/MenuListItemBase.mjs +0 -1
  677. package/dist/node/components/SiteMenu/lib/MenuListItemBase.mjs.map +0 -1
  678. package/dist/node/components/SiteMenu/lib/NavListItemProps.mjs +0 -1
  679. package/dist/node/components/SiteMenu/lib/NavListItemProps.mjs.map +0 -1
  680. package/dist/node/components/SiteMenu/lib/index.mjs +0 -3
  681. package/dist/node/components/Toolbar/Context/ContextToolbar.mjs +0 -10
  682. package/dist/node/components/Toolbar/Context/ContextToolbar.mjs.map +0 -1
  683. package/dist/node/components/Toolbar/Context/ContextToolbar.stories.js +0 -50
  684. package/dist/node/components/Toolbar/Context/ContextToolbar.stories.js.map +0 -1
  685. package/dist/node/components/Toolbar/Context/ContextToolbar.stories.mjs +0 -25
  686. package/dist/node/components/Toolbar/Context/ContextToolbar.stories.mjs.map +0 -1
  687. package/dist/node/components/Toolbar/Context/Logo.mjs +0 -11
  688. package/dist/node/components/Toolbar/Context/LogoLinkEx.mjs +0 -31
  689. package/dist/node/components/Toolbar/Context/LogoLinkEx.mjs.map +0 -1
  690. package/dist/node/components/Toolbar/Context/index.mjs +0 -2
  691. package/dist/node/components/Toolbar/Context/index.mjs.map +0 -1
  692. package/dist/node/components/Toolbar/System/SystemToolbar.mjs +0 -28
  693. package/dist/node/components/Toolbar/System/SystemToolbar.mjs.map +0 -1
  694. package/dist/node/components/Toolbar/System/SystemToolbar.stories.js +0 -74
  695. package/dist/node/components/Toolbar/System/SystemToolbar.stories.js.map +0 -1
  696. package/dist/node/components/Toolbar/System/SystemToolbar.stories.mjs +0 -48
  697. package/dist/node/components/Toolbar/System/SystemToolbar.stories.mjs.map +0 -1
  698. package/dist/node/components/Toolbar/System/index.mjs +0 -2
  699. package/dist/node/components/Toolbar/System/index.mjs.map +0 -1
  700. package/dist/node/components/Toolbar/index.mjs +0 -3
  701. package/dist/node/components/Toolbar/index.mjs.map +0 -1
  702. package/dist/node/components/index.mjs +0 -7
  703. package/dist/node/components/index.mjs.map +0 -1
  704. package/dist/node/contexts/Collapsible/State.mjs +0 -1
  705. package/dist/node/contexts/Collapsible/State.mjs.map +0 -1
  706. package/dist/node/contexts/Collapsible/context.mjs +0 -6
  707. package/dist/node/contexts/Collapsible/index.mjs +0 -4
  708. package/dist/node/contexts/Collapsible/index.mjs.map +0 -1
  709. package/dist/node/contexts/Collapsible/provider.mjs +0 -18
  710. package/dist/node/contexts/Collapsible/provider.mjs.map +0 -1
  711. package/dist/node/contexts/Collapsible/use.mjs +0 -7
  712. package/dist/node/contexts/Collapsible/use.mjs.map +0 -1
  713. package/dist/node/contexts/index.mjs +0 -2
  714. package/dist/node/contexts/index.mjs.map +0 -1
  715. package/dist/node/index.mjs +0 -3
  716. package/dist/node/index.mjs.map +0 -1
@@ -0,0 +1,3 @@
1
+ export * from './MenuListItemBase';
2
+ export * from './NavListItemProps';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SiteMenu/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
@@ -1,3 +1 @@
1
- export * from "./MenuListItemBase";
2
- export * from "./NavListItemProps";
3
1
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/components/SiteMenu/lib/index.ts"],"sourcesContent":["export * from './MenuListItemBase'\nexport * from './NavListItemProps'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/Toolbar/Context/ContextToolbar.tsx
21
+ var ContextToolbar_exports = {};
22
+ __export(ContextToolbar_exports, {
23
+ ContextToolbar: () => ContextToolbar
24
+ });
25
+ module.exports = __toCommonJS(ContextToolbar_exports);
26
+ var import_material3 = require("@mui/material");
27
+
28
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
29
+ var import_material2 = require("@mui/material");
30
+ var import_react_flexbox = require("@xylabs/react-flexbox");
31
+ var import_react_link = require("@xylabs/react-link");
32
+
33
+ // src/components/Toolbar/Context/Logo.tsx
34
+ var import_material = require("@mui/material");
35
+ var import_jsx_runtime = require("react/jsx-runtime");
36
+ var Logo = (props) => {
37
+ const theme = (0, import_material.useTheme)();
38
+ const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
39
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
40
+ };
41
+
42
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
43
+ var import_jsx_runtime2 = require("react/jsx-runtime");
44
+ var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
45
+ const theme = (0, import_material2.useTheme)();
46
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_link.LinkEx, { to, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_flexbox.FlexRow, { paddingX: "4px", children: [
47
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Logo, { height: "40", width: "43" }),
48
+ version ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
49
+ import_material2.Typography,
50
+ {
51
+ position: "absolute",
52
+ borderRadius: 1,
53
+ right: 6,
54
+ color: theme.palette.getContrastText(theme.palette.text.primary),
55
+ bottom: 0,
56
+ bgcolor: theme.palette.text.primary,
57
+ paddingX: "2px",
58
+ lineHeight: 1,
59
+ variant: "caption",
60
+ border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
61
+ children: typeof version === "string" ? version : "2.1"
62
+ }
63
+ ) : null
64
+ ] }) });
65
+ };
66
+
67
+ // src/components/Toolbar/Context/ContextToolbar.tsx
68
+ var import_jsx_runtime3 = require("react/jsx-runtime");
69
+ var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
70
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Toolbar, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoLinkEx, { version, to: logoTo }) });
71
+ };
72
+ //# sourceMappingURL=ContextToolbar.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx","../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { Toolbar, ToolbarProps } from '@mui/material'\nimport { To } from 'react-router-dom'\n\nimport { LogoLinkEx } from './LogoLinkEx'\n\nexport interface ContextToolbarProps extends ToolbarProps {\n logoTo?: To\n version?: boolean\n}\n\nexport const ContextToolbar: React.FC<ContextToolbarProps> = ({ logoTo = '/', version = false, ...props }) => {\n return (\n <Toolbar {...props}>\n <LogoLinkEx version={version} to={logoTo} />\n </Toolbar>\n )\n}\n","import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,mBAAsC;;;ACAtC,IAAAC,mBAAqC;AACrC,2BAAwB;AACxB,wBAAoC;;;ACFpC,sBAAyB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,YAAQ,0BAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,4CAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;;;ADKM,IAAAC,sBAAA;AAJC,IAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,YAAQ,2BAAS;AACvB,SACE,6CAAC,4BAAO,IAAS,GAAG,OAClB,wDAAC,gCAAQ,UAAS,OAChB;AAAA,iDAAC,QAAK,QAAO,MAAK,OAAM,MAAK;AAAA,IAC5B,UACC;AAAA,MAAC;AAAA;AAAA,QACC,UAAS;AAAA,QACT,cAAc;AAAA,QACd,OAAO;AAAA,QACP,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,KAAK,OAAO;AAAA,QAC/D,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,UAAS;AAAA,QACT,YAAY;AAAA,QACZ,SAAQ;AAAA,QACR,QAAQ,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ,IAAI,CAAC;AAAA,QAEvE,iBAAO,YAAY,WAAW,UAAU;AAAA;AAAA,IAC3C,IACE;AAAA,KACN,GACF;AAEJ;;;ADtBM,IAAAC,sBAAA;AAHC,IAAM,iBAAgD,CAAC,EAAE,SAAS,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAC5G,SACE,6CAAC,4BAAS,GAAG,OACX,uDAAC,cAAW,SAAkB,IAAI,QAAQ,GAC5C;AAEJ;","names":["import_material","import_material","import_jsx_runtime","import_jsx_runtime"]}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ToolbarProps } from '@mui/material';
3
+ import { To } from 'react-router-dom';
4
+ export interface ContextToolbarProps extends ToolbarProps {
5
+ logoTo?: To;
6
+ version?: boolean;
7
+ }
8
+ export declare const ContextToolbar: React.FC<ContextToolbarProps>;
9
+ //# sourceMappingURL=ContextToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAW,YAAY,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAIrC,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,MAAM,CAAC,EAAE,EAAE,CAAA;IACX,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMxD,CAAA"}
@@ -1,8 +1,49 @@
1
- import { jsx } from "react/jsx-runtime";
1
+ // src/components/Toolbar/Context/ContextToolbar.tsx
2
2
  import { Toolbar } from "@mui/material";
3
- import { LogoLinkEx } from "./LogoLinkEx";
4
- const ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
5
- return /* @__PURE__ */ jsx(Toolbar, { ...props, children: /* @__PURE__ */ jsx(LogoLinkEx, { version, to: logoTo }) });
3
+
4
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
5
+ import { Typography, useTheme as useTheme2 } from "@mui/material";
6
+ import { FlexRow } from "@xylabs/react-flexbox";
7
+ import { LinkEx } from "@xylabs/react-link";
8
+
9
+ // src/components/Toolbar/Context/Logo.tsx
10
+ import { useTheme } from "@mui/material";
11
+ import { jsx } from "react/jsx-runtime";
12
+ var Logo = (props) => {
13
+ const theme = useTheme();
14
+ const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
15
+ return /* @__PURE__ */ jsx("img", { src: logoUrl, ...props });
16
+ };
17
+
18
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
19
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
20
+ var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
21
+ const theme = useTheme2();
22
+ return /* @__PURE__ */ jsx2(LinkEx, { to, ...props, children: /* @__PURE__ */ jsxs(FlexRow, { paddingX: "4px", children: [
23
+ /* @__PURE__ */ jsx2(Logo, { height: "40", width: "43" }),
24
+ version ? /* @__PURE__ */ jsx2(
25
+ Typography,
26
+ {
27
+ position: "absolute",
28
+ borderRadius: 1,
29
+ right: 6,
30
+ color: theme.palette.getContrastText(theme.palette.text.primary),
31
+ bottom: 0,
32
+ bgcolor: theme.palette.text.primary,
33
+ paddingX: "2px",
34
+ lineHeight: 1,
35
+ variant: "caption",
36
+ border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
37
+ children: typeof version === "string" ? version : "2.1"
38
+ }
39
+ ) : null
40
+ ] }) });
41
+ };
42
+
43
+ // src/components/Toolbar/Context/ContextToolbar.tsx
44
+ import { jsx as jsx3 } from "react/jsx-runtime";
45
+ var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
46
+ return /* @__PURE__ */ jsx3(Toolbar, { ...props, children: /* @__PURE__ */ jsx3(LogoLinkEx, { version, to: logoTo }) });
6
47
  };
7
48
  export {
8
49
  ContextToolbar
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx"],"sourcesContent":["import { Toolbar, ToolbarProps } from '@mui/material'\nimport { To } from 'react-router-dom'\n\nimport { LogoLinkEx } from './LogoLinkEx'\n\nexport interface ContextToolbarProps extends ToolbarProps {\n logoTo?: To\n version?: boolean\n}\n\nexport const ContextToolbar: React.FC<ContextToolbarProps> = ({ logoTo = '/', version = false, ...props }) => {\n return (\n <Toolbar {...props}>\n <LogoLinkEx version={version} to={logoTo} />\n </Toolbar>\n )\n}\n"],"mappings":"AAaM;AAbN,SAAS,eAA6B;AAGtC,SAAS,kBAAkB;AAOpB,MAAM,iBAAgD,CAAC,EAAE,SAAS,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAC5G,SACE,oBAAC,WAAS,GAAG,OACX,8BAAC,cAAW,SAAkB,IAAI,QAAQ,GAC5C;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx","../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { Toolbar, ToolbarProps } from '@mui/material'\nimport { To } from 'react-router-dom'\n\nimport { LogoLinkEx } from './LogoLinkEx'\n\nexport interface ContextToolbarProps extends ToolbarProps {\n logoTo?: To\n version?: boolean\n}\n\nexport const ContextToolbar: React.FC<ContextToolbarProps> = ({ logoTo = '/', version = false, ...props }) => {\n return (\n <Toolbar {...props}>\n <LogoLinkEx version={version} to={logoTo} />\n </Toolbar>\n )\n}\n","import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":";AAAA,SAAS,eAA6B;;;ACAtC,SAAS,YAAY,YAAAA,iBAAgB;AACrC,SAAS,eAAe;AACxB,SAAS,cAA2B;;;ACFpC,SAAS,gBAAgB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,QAAQ,SAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,oBAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;;;ADKM,SACE,OAAAC,MADF;AAJC,IAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,QAAQC,UAAS;AACvB,SACE,gBAAAD,KAAC,UAAO,IAAS,GAAG,OAClB,+BAAC,WAAQ,UAAS,OAChB;AAAA,oBAAAA,KAAC,QAAK,QAAO,MAAK,OAAM,MAAK;AAAA,IAC5B,UACC,gBAAAA;AAAA,MAAC;AAAA;AAAA,QACC,UAAS;AAAA,QACT,cAAc;AAAA,QACd,OAAO;AAAA,QACP,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,KAAK,OAAO;AAAA,QAC/D,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,UAAS;AAAA,QACT,YAAY;AAAA,QACZ,SAAQ;AAAA,QACR,QAAQ,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ,IAAI,CAAC;AAAA,QAEvE,iBAAO,YAAY,WAAW,UAAU;AAAA;AAAA,IAC3C,IACE;AAAA,KACN,GACF;AAEJ;;;ADtBM,gBAAAE,YAAA;AAHC,IAAM,iBAAgD,CAAC,EAAE,SAAS,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAC5G,SACE,gBAAAA,KAAC,WAAS,GAAG,OACX,0BAAAA,KAAC,cAAW,SAAkB,IAAI,QAAQ,GAC5C;AAEJ;","names":["useTheme","jsx","useTheme","jsx"]}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/Toolbar/Context/Logo.tsx
21
+ var Logo_exports = {};
22
+ __export(Logo_exports, {
23
+ Logo: () => Logo
24
+ });
25
+ module.exports = __toCommonJS(Logo_exports);
26
+ var import_material = require("@mui/material");
27
+ var import_jsx_runtime = require("react/jsx-runtime");
28
+ var Logo = (props) => {
29
+ const theme = (0, import_material.useTheme)();
30
+ const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
31
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
32
+ };
33
+ //# sourceMappingURL=Logo.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":"AAQS;AART,SAAS,gBAAgB;AAElB,MAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,QAAQ,SAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,oBAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;","names":[]}
1
+ {"version":3,"sources":["../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAyB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,YAAQ,0BAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,4CAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;","names":[]}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>>;
3
+ //# sourceMappingURL=Logo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/Logo.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,CAO/G,CAAA"}
@@ -1,6 +1,7 @@
1
- import { jsx } from "react/jsx-runtime";
1
+ // src/components/Toolbar/Context/Logo.tsx
2
2
  import { useTheme } from "@mui/material";
3
- const Logo = (props) => {
3
+ import { jsx } from "react/jsx-runtime";
4
+ var Logo = (props) => {
4
5
  const theme = useTheme();
5
6
  const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
6
7
  return /* @__PURE__ */ jsx("img", { src: logoUrl, ...props });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":"AAQS;AART,SAAS,gBAAgB;AAElB,MAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,QAAQ,SAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,oBAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;","names":[]}
1
+ {"version":3,"sources":["../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":";AAAA,SAAS,gBAAgB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,QAAQ,SAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,oBAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;","names":[]}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
21
+ var LogoLinkEx_exports = {};
22
+ __export(LogoLinkEx_exports, {
23
+ LogoLinkEx: () => LogoLinkEx
24
+ });
25
+ module.exports = __toCommonJS(LogoLinkEx_exports);
26
+ var import_material2 = require("@mui/material");
27
+ var import_react_flexbox = require("@xylabs/react-flexbox");
28
+ var import_react_link = require("@xylabs/react-link");
29
+
30
+ // src/components/Toolbar/Context/Logo.tsx
31
+ var import_material = require("@mui/material");
32
+ var import_jsx_runtime = require("react/jsx-runtime");
33
+ var Logo = (props) => {
34
+ const theme = (0, import_material.useTheme)();
35
+ const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
36
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
37
+ };
38
+
39
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
40
+ var import_jsx_runtime2 = require("react/jsx-runtime");
41
+ var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
42
+ const theme = (0, import_material2.useTheme)();
43
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_link.LinkEx, { to, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_flexbox.FlexRow, { paddingX: "4px", children: [
44
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Logo, { height: "40", width: "43" }),
45
+ version ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
46
+ import_material2.Typography,
47
+ {
48
+ position: "absolute",
49
+ borderRadius: 1,
50
+ right: 6,
51
+ color: theme.palette.getContrastText(theme.palette.text.primary),
52
+ bottom: 0,
53
+ bgcolor: theme.palette.text.primary,
54
+ paddingX: "2px",
55
+ lineHeight: 1,
56
+ variant: "caption",
57
+ border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
58
+ children: typeof version === "string" ? version : "2.1"
59
+ }
60
+ ) : null
61
+ ] }) });
62
+ };
63
+ //# sourceMappingURL=LogoLinkEx.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,mBAAqC;AACrC,2BAAwB;AACxB,wBAAoC;;;ACFpC,sBAAyB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,YAAQ,0BAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,4CAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;;;ADKM,IAAAC,sBAAA;AAJC,IAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,YAAQ,2BAAS;AACvB,SACE,6CAAC,4BAAO,IAAS,GAAG,OAClB,wDAAC,gCAAQ,UAAS,OAChB;AAAA,iDAAC,QAAK,QAAO,MAAK,OAAM,MAAK;AAAA,IAC5B,UACC;AAAA,MAAC;AAAA;AAAA,QACC,UAAS;AAAA,QACT,cAAc;AAAA,QACd,OAAO;AAAA,QACP,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,KAAK,OAAO;AAAA,QAC/D,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,UAAS;AAAA,QACT,YAAY;AAAA,QACZ,SAAQ;AAAA,QACR,QAAQ,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ,IAAI,CAAC;AAAA,QAEvE,iBAAO,YAAY,WAAW,UAAU;AAAA;AAAA,IAC3C,IACE;AAAA,KACN,GACF;AAEJ;","names":["import_material","import_jsx_runtime"]}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { LinkExProps } from '@xylabs/react-link';
3
+ export interface LogoLinkExProps extends LinkExProps {
4
+ version?: boolean | string;
5
+ }
6
+ export declare const LogoLinkEx: React.FC<LogoLinkExProps>;
7
+ //# sourceMappingURL=LogoLinkEx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogoLinkEx.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAU,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAIxD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;CAC3B;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyBhD,CAAA"}
@@ -1,13 +1,24 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Typography, useTheme } from "@mui/material";
1
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
2
+ import { Typography, useTheme as useTheme2 } from "@mui/material";
3
3
  import { FlexRow } from "@xylabs/react-flexbox";
4
4
  import { LinkEx } from "@xylabs/react-link";
5
- import { Logo } from "./Logo";
6
- const LogoLinkEx = ({ to = "/", version = false, ...props }) => {
5
+
6
+ // src/components/Toolbar/Context/Logo.tsx
7
+ import { useTheme } from "@mui/material";
8
+ import { jsx } from "react/jsx-runtime";
9
+ var Logo = (props) => {
7
10
  const theme = useTheme();
8
- return /* @__PURE__ */ jsx(LinkEx, { to, ...props, children: /* @__PURE__ */ jsxs(FlexRow, { paddingX: "4px", children: [
9
- /* @__PURE__ */ jsx(Logo, { height: "40", width: "43" }),
10
- version ? /* @__PURE__ */ jsx(
11
+ const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
12
+ return /* @__PURE__ */ jsx("img", { src: logoUrl, ...props });
13
+ };
14
+
15
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
16
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
17
+ var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
18
+ const theme = useTheme2();
19
+ return /* @__PURE__ */ jsx2(LinkEx, { to, ...props, children: /* @__PURE__ */ jsxs(FlexRow, { paddingX: "4px", children: [
20
+ /* @__PURE__ */ jsx2(Logo, { height: "40", width: "43" }),
21
+ version ? /* @__PURE__ */ jsx2(
11
22
  Typography,
12
23
  {
13
24
  position: "absolute",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx"],"sourcesContent":["import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n"],"mappings":"AAcM,SACE,KADF;AAdN,SAAS,YAAY,gBAAgB;AACrC,SAAS,eAAe;AACxB,SAAS,cAA2B;AAEpC,SAAS,YAAY;AAMd,MAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,QAAQ,SAAS;AACvB,SACE,oBAAC,UAAO,IAAS,GAAG,OAClB,+BAAC,WAAQ,UAAS,OAChB;AAAA,wBAAC,QAAK,QAAO,MAAK,OAAM,MAAK;AAAA,IAC5B,UACC;AAAA,MAAC;AAAA;AAAA,QACC,UAAS;AAAA,QACT,cAAc;AAAA,QACd,OAAO;AAAA,QACP,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,KAAK,OAAO;AAAA,QAC/D,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,UAAS;AAAA,QACT,YAAY;AAAA,QACZ,SAAQ;AAAA,QACR,QAAQ,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ,IAAI,CAAC;AAAA,QAEvE,iBAAO,YAAY,WAAW,UAAU;AAAA;AAAA,IAC3C,IACE;AAAA,KACN,GACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":";AAAA,SAAS,YAAY,YAAAA,iBAAgB;AACrC,SAAS,eAAe;AACxB,SAAS,cAA2B;;;ACFpC,SAAS,gBAAgB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,QAAQ,SAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,oBAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;;;ADKM,SACE,OAAAC,MADF;AAJC,IAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,QAAQC,UAAS;AACvB,SACE,gBAAAD,KAAC,UAAO,IAAS,GAAG,OAClB,+BAAC,WAAQ,UAAS,OAChB;AAAA,oBAAAA,KAAC,QAAK,QAAO,MAAK,OAAM,MAAK;AAAA,IAC5B,UACC,gBAAAA;AAAA,MAAC;AAAA;AAAA,QACC,UAAS;AAAA,QACT,cAAc;AAAA,QACd,OAAO;AAAA,QACP,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,KAAK,OAAO;AAAA,QAC/D,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,UAAS;AAAA,QACT,YAAY;AAAA,QACZ,SAAQ;AAAA,QACR,QAAQ,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ,IAAI,CAAC;AAAA,QAEvE,iBAAO,YAAY,WAAW,UAAU;AAAA;AAAA,IAC3C,IACE;AAAA,KACN,GACF;AAEJ;","names":["useTheme","jsx","useTheme"]}
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/Toolbar/Context/index.ts
21
+ var Context_exports = {};
22
+ __export(Context_exports, {
23
+ ContextToolbar: () => ContextToolbar
24
+ });
25
+ module.exports = __toCommonJS(Context_exports);
26
+
27
+ // src/components/Toolbar/Context/ContextToolbar.tsx
28
+ var import_material3 = require("@mui/material");
29
+
30
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
31
+ var import_material2 = require("@mui/material");
32
+ var import_react_flexbox = require("@xylabs/react-flexbox");
33
+ var import_react_link = require("@xylabs/react-link");
34
+
35
+ // src/components/Toolbar/Context/Logo.tsx
36
+ var import_material = require("@mui/material");
37
+ var import_jsx_runtime = require("react/jsx-runtime");
38
+ var Logo = (props) => {
39
+ const theme = (0, import_material.useTheme)();
40
+ const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
41
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
42
+ };
43
+
44
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
45
+ var import_jsx_runtime2 = require("react/jsx-runtime");
46
+ var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
47
+ const theme = (0, import_material2.useTheme)();
48
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_link.LinkEx, { to, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_flexbox.FlexRow, { paddingX: "4px", children: [
49
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Logo, { height: "40", width: "43" }),
50
+ version ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
51
+ import_material2.Typography,
52
+ {
53
+ position: "absolute",
54
+ borderRadius: 1,
55
+ right: 6,
56
+ color: theme.palette.getContrastText(theme.palette.text.primary),
57
+ bottom: 0,
58
+ bgcolor: theme.palette.text.primary,
59
+ paddingX: "2px",
60
+ lineHeight: 1,
61
+ variant: "caption",
62
+ border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
63
+ children: typeof version === "string" ? version : "2.1"
64
+ }
65
+ ) : null
66
+ ] }) });
67
+ };
68
+
69
+ // src/components/Toolbar/Context/ContextToolbar.tsx
70
+ var import_jsx_runtime3 = require("react/jsx-runtime");
71
+ var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
72
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Toolbar, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoLinkEx, { version, to: logoTo }) });
73
+ };
74
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/components/Toolbar/Context/index.ts","../../../../../src/components/Toolbar/Context/ContextToolbar.tsx","../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["export * from './ContextToolbar'\n","import { Toolbar, ToolbarProps } from '@mui/material'\nimport { To } from 'react-router-dom'\n\nimport { LogoLinkEx } from './LogoLinkEx'\n\nexport interface ContextToolbarProps extends ToolbarProps {\n logoTo?: To\n version?: boolean\n}\n\nexport const ContextToolbar: React.FC<ContextToolbarProps> = ({ logoTo = '/', version = false, ...props }) => {\n return (\n <Toolbar {...props}>\n <LogoLinkEx version={version} to={logoTo} />\n </Toolbar>\n )\n}\n","import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,mBAAsC;;;ACAtC,IAAAC,mBAAqC;AACrC,2BAAwB;AACxB,wBAAoC;;;ACFpC,sBAAyB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,YAAQ,0BAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,4CAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;;;ADKM,IAAAC,sBAAA;AAJC,IAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,YAAQ,2BAAS;AACvB,SACE,6CAAC,4BAAO,IAAS,GAAG,OAClB,wDAAC,gCAAQ,UAAS,OAChB;AAAA,iDAAC,QAAK,QAAO,MAAK,OAAM,MAAK;AAAA,IAC5B,UACC;AAAA,MAAC;AAAA;AAAA,QACC,UAAS;AAAA,QACT,cAAc;AAAA,QACd,OAAO;AAAA,QACP,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,KAAK,OAAO;AAAA,QAC/D,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,UAAS;AAAA,QACT,YAAY;AAAA,QACZ,SAAQ;AAAA,QACR,QAAQ,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ,IAAI,CAAC;AAAA,QAEvE,iBAAO,YAAY,WAAW,UAAU;AAAA;AAAA,IAC3C,IACE;AAAA,KACN,GACF;AAEJ;;;ADtBM,IAAAC,sBAAA;AAHC,IAAM,iBAAgD,CAAC,EAAE,SAAS,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAC5G,SACE,6CAAC,4BAAS,GAAG,OACX,uDAAC,cAAW,SAAkB,IAAI,QAAQ,GAC5C;AAEJ;","names":["import_material","import_material","import_jsx_runtime","import_jsx_runtime"]}
@@ -0,0 +1,2 @@
1
+ export * from './ContextToolbar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
@@ -1,2 +1,51 @@
1
- export * from "./ContextToolbar";
1
+ // src/components/Toolbar/Context/ContextToolbar.tsx
2
+ import { Toolbar } from "@mui/material";
3
+
4
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
5
+ import { Typography, useTheme as useTheme2 } from "@mui/material";
6
+ import { FlexRow } from "@xylabs/react-flexbox";
7
+ import { LinkEx } from "@xylabs/react-link";
8
+
9
+ // src/components/Toolbar/Context/Logo.tsx
10
+ import { useTheme } from "@mui/material";
11
+ import { jsx } from "react/jsx-runtime";
12
+ var Logo = (props) => {
13
+ const theme = useTheme();
14
+ const logoUrl = theme.palette.mode === "dark" ? "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg" : "https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg";
15
+ return /* @__PURE__ */ jsx("img", { src: logoUrl, ...props });
16
+ };
17
+
18
+ // src/components/Toolbar/Context/LogoLinkEx.tsx
19
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
20
+ var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
21
+ const theme = useTheme2();
22
+ return /* @__PURE__ */ jsx2(LinkEx, { to, ...props, children: /* @__PURE__ */ jsxs(FlexRow, { paddingX: "4px", children: [
23
+ /* @__PURE__ */ jsx2(Logo, { height: "40", width: "43" }),
24
+ version ? /* @__PURE__ */ jsx2(
25
+ Typography,
26
+ {
27
+ position: "absolute",
28
+ borderRadius: 1,
29
+ right: 6,
30
+ color: theme.palette.getContrastText(theme.palette.text.primary),
31
+ bottom: 0,
32
+ bgcolor: theme.palette.text.primary,
33
+ paddingX: "2px",
34
+ lineHeight: 1,
35
+ variant: "caption",
36
+ border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
37
+ children: typeof version === "string" ? version : "2.1"
38
+ }
39
+ ) : null
40
+ ] }) });
41
+ };
42
+
43
+ // src/components/Toolbar/Context/ContextToolbar.tsx
44
+ import { jsx as jsx3 } from "react/jsx-runtime";
45
+ var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
46
+ return /* @__PURE__ */ jsx3(Toolbar, { ...props, children: /* @__PURE__ */ jsx3(LogoLinkEx, { version, to: logoTo }) });
47
+ };
48
+ export {
49
+ ContextToolbar
50
+ };
2
51
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/components/Toolbar/Context/index.ts"],"sourcesContent":["export * from './ContextToolbar'\n"],"mappings":"AAAA,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx","../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../../src/components/Toolbar/Context/Logo.tsx"],"sourcesContent":["import { Toolbar, ToolbarProps } from '@mui/material'\nimport { To } from 'react-router-dom'\n\nimport { LogoLinkEx } from './LogoLinkEx'\n\nexport interface ContextToolbarProps extends ToolbarProps {\n logoTo?: To\n version?: boolean\n}\n\nexport const ContextToolbar: React.FC<ContextToolbarProps> = ({ logoTo = '/', version = false, ...props }) => {\n return (\n <Toolbar {...props}>\n <LogoLinkEx version={version} to={logoTo} />\n </Toolbar>\n )\n}\n","import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n"],"mappings":";AAAA,SAAS,eAA6B;;;ACAtC,SAAS,YAAY,YAAAA,iBAAgB;AACrC,SAAS,eAAe;AACxB,SAAS,cAA2B;;;ACFpC,SAAS,gBAAgB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,QAAQ,SAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACnB,4DACA;AACN,SAAO,oBAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;;;ADKM,SACE,OAAAC,MADF;AAJC,IAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,QAAQC,UAAS;AACvB,SACE,gBAAAD,KAAC,UAAO,IAAS,GAAG,OAClB,+BAAC,WAAQ,UAAS,OAChB;AAAA,oBAAAA,KAAC,QAAK,QAAO,MAAK,OAAM,MAAK;AAAA,IAC5B,UACC,gBAAAA;AAAA,MAAC;AAAA;AAAA,QACC,UAAS;AAAA,QACT,cAAc;AAAA,QACd,OAAO;AAAA,QACP,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,KAAK,OAAO;AAAA,QAC/D,QAAQ;AAAA,QACR,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,UAAS;AAAA,QACT,YAAY;AAAA,QACZ,SAAQ;AAAA,QACR,QAAQ,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ,IAAI,CAAC;AAAA,QAEvE,iBAAO,YAAY,WAAW,UAAU;AAAA;AAAA,IAC3C,IACE;AAAA,KACN,GACF;AAEJ;;;ADtBM,gBAAAE,YAAA;AAHC,IAAM,iBAAgD,CAAC,EAAE,SAAS,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAC5G,SACE,gBAAAA,KAAC,WAAS,GAAG,OACX,0BAAAA,KAAC,cAAW,SAAkB,IAAI,QAAQ,GAC5C;AAEJ;","names":["useTheme","jsx","useTheme","jsx"]}