@xyo-network/react-appbar 2.64.0-rc.7 → 2.64.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/AppBar/Application.cjs +286 -0
- package/dist/browser/components/AppBar/Application.cjs.map +1 -0
- package/dist/browser/components/AppBar/Application.d.cts +10 -0
- package/dist/browser/components/AppBar/Application.d.cts.map +1 -0
- package/dist/browser/components/AppBar/index.cjs +288 -0
- package/dist/browser/components/AppBar/index.cjs.map +1 -0
- package/dist/browser/components/AppBar/index.d.cts +2 -0
- package/dist/browser/components/AppBar/index.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs +61 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs +66 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/index.cjs +96 -0
- package/dist/browser/components/CollapsibleDrawer/index.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/index.d.cts +3 -0
- package/dist/browser/components/CollapsibleDrawer/index.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs +92 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/SystemControls.cjs +143 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.d.cts +5 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs +134 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs +32 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs +75 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs +49 -0
- package/dist/{node/components/MobileSystemControls/controls/SystemControl.mjs.map → browser/components/MobileSystemControls/controls/SystemControl.cjs.map} +1 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs +32 -0
- package/dist/{node/components/MobileSystemControls/controls/SystemControlText.mjs.map → browser/components/MobileSystemControls/controls/SystemControlText.cjs.map} +1 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/index.cjs +60 -0
- package/dist/browser/components/MobileSystemControls/controls/index.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/index.d.cts +3 -0
- package/dist/browser/components/MobileSystemControls/controls/index.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/index.cjs +155 -0
- package/dist/browser/components/MobileSystemControls/index.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/index.d.cts +4 -0
- package/dist/browser/components/MobileSystemControls/index.d.cts.map +1 -0
- package/dist/browser/components/SearchBar/SearchBar.cjs +53 -0
- package/dist/browser/components/SearchBar/SearchBar.cjs.map +1 -0
- package/dist/browser/components/SearchBar/SearchBar.d.cts +7 -0
- package/dist/browser/components/SearchBar/SearchBar.d.cts.map +1 -0
- package/dist/browser/components/SearchBar/index.cjs +55 -0
- package/dist/browser/components/SearchBar/index.cjs.map +1 -0
- package/dist/browser/components/SearchBar/index.d.cts +2 -0
- package/dist/browser/components/SearchBar/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/Menu.cjs +193 -0
- package/dist/browser/components/SiteMenu/Menu.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/Menu.d.cts +9 -0
- package/dist/browser/components/SiteMenu/Menu.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +153 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.cjs +155 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.d.cts +2 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +33 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +31 -0
- package/dist/{node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.mjs.map → browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +34 -0
- package/dist/{node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.mjs.map → browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs +54 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +31 -0
- package/dist/{node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.mjs.map → browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +43 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs +53 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuSection.cjs +166 -0
- package/dist/browser/components/SiteMenu/MenuSection.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuSection.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuSection.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/index.cjs +58 -0
- package/dist/browser/components/SiteMenu/hooks/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/index.d.cts +2 -0
- package/dist/browser/components/SiteMenu/hooks/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs +56 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/index.cjs +233 -0
- package/dist/browser/components/SiteMenu/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/index.d.cts +6 -0
- package/dist/browser/components/SiteMenu/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs +19 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs +19 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/index.cjs +19 -0
- package/dist/{node/components/SiteMenu/lib/index.mjs.map → browser/components/SiteMenu/lib/index.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/lib/index.d.cts +3 -0
- package/dist/browser/components/SiteMenu/lib/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs +72 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/Logo.cjs +33 -0
- package/dist/{node/components/Toolbar/Context/Logo.mjs.map → browser/components/Toolbar/Context/Logo.cjs.map} +1 -1
- package/dist/browser/components/Toolbar/Context/Logo.d.cts +3 -0
- package/dist/browser/components/Toolbar/Context/Logo.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs +63 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/index.cjs +74 -0
- package/dist/browser/components/Toolbar/Context/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/index.d.cts +2 -0
- package/dist/browser/components/Toolbar/Context/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.cjs +220 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.cjs.map +1 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.d.cts +15 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/System/index.cjs +222 -0
- package/dist/browser/components/Toolbar/System/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/System/index.d.cts +2 -0
- package/dist/browser/components/Toolbar/System/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/index.cjs +271 -0
- package/dist/browser/components/Toolbar/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/index.d.cts +3 -0
- package/dist/browser/components/Toolbar/index.d.cts.map +1 -0
- package/dist/browser/components/index.cjs +550 -0
- package/dist/browser/components/index.cjs.map +1 -0
- package/dist/browser/components/index.d.cts +7 -0
- package/dist/browser/components/index.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/State.cjs +19 -0
- package/dist/browser/contexts/Collapsible/State.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/State.d.cts +9 -0
- package/dist/browser/contexts/Collapsible/State.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/context.cjs +28 -0
- package/dist/{node/contexts/Collapsible/context.mjs.map → browser/contexts/Collapsible/context.cjs.map} +1 -1
- package/dist/browser/contexts/Collapsible/context.d.cts +4 -0
- package/dist/browser/contexts/Collapsible/context.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/index.cjs +52 -0
- package/dist/browser/contexts/Collapsible/index.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/index.d.cts +4 -0
- package/dist/browser/contexts/Collapsible/index.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/provider.cjs +45 -0
- package/dist/browser/contexts/Collapsible/provider.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/provider.d.cts +8 -0
- package/dist/browser/contexts/Collapsible/provider.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/use.cjs +34 -0
- package/dist/browser/contexts/Collapsible/use.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/use.d.cts +2 -0
- package/dist/browser/contexts/Collapsible/use.d.cts.map +1 -0
- package/dist/browser/contexts/index.cjs +52 -0
- package/dist/browser/contexts/index.cjs.map +1 -0
- package/dist/browser/contexts/index.d.cts +2 -0
- package/dist/browser/contexts/index.d.cts.map +1 -0
- package/dist/browser/index.cjs +569 -0
- package/dist/browser/index.cjs.map +1 -0
- package/dist/browser/index.d.cts +3 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/docs.json +96215 -0
- package/dist/node/components/AppBar/Application.cjs +290 -0
- package/dist/node/components/AppBar/Application.cjs.map +1 -0
- package/dist/node/components/AppBar/Application.d.cts +10 -0
- package/dist/node/components/AppBar/Application.d.cts.map +1 -0
- package/dist/node/components/AppBar/Application.js +256 -34
- package/dist/node/components/AppBar/Application.js.map +1 -1
- package/dist/node/components/AppBar/index.cjs +292 -0
- package/dist/node/components/AppBar/index.cjs.map +1 -0
- package/dist/node/components/AppBar/index.d.cts +2 -0
- package/dist/node/components/AppBar/index.d.cts.map +1 -0
- package/dist/node/components/AppBar/index.js +264 -22
- package/dist/node/components/AppBar/index.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs +65 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.js +27 -41
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs +70 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js +21 -35
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/index.cjs +101 -0
- package/dist/node/components/CollapsibleDrawer/index.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/index.d.cts +3 -0
- package/dist/node/components/CollapsibleDrawer/index.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/index.js +70 -22
- package/dist/node/components/CollapsibleDrawer/index.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs +97 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js +32 -43
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControls.cjs +147 -0
- package/dist/node/components/MobileSystemControls/SystemControls.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControls.d.cts +5 -0
- package/dist/node/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControls.js +116 -28
- package/dist/node/components/MobileSystemControls/SystemControls.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs +138 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.js +57 -29
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsType.cjs +36 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.js +3 -26
- package/dist/node/components/MobileSystemControls/SystemControlsType.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs +79 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js +39 -37
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs +53 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.js +14 -38
- package/dist/node/components/MobileSystemControls/controls/SystemControl.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs +36 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.js +8 -31
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/index.cjs +65 -0
- package/dist/node/components/MobileSystemControls/controls/index.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/index.d.cts +3 -0
- package/dist/node/components/MobileSystemControls/controls/index.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/index.js +34 -22
- package/dist/node/components/MobileSystemControls/controls/index.js.map +1 -1
- package/dist/node/components/MobileSystemControls/index.cjs +161 -0
- package/dist/node/components/MobileSystemControls/index.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/index.d.cts +4 -0
- package/dist/node/components/MobileSystemControls/index.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/index.js +129 -24
- package/dist/node/components/MobileSystemControls/index.js.map +1 -1
- package/dist/node/components/SearchBar/SearchBar.cjs +57 -0
- package/dist/node/components/SearchBar/{SearchBar.mjs.map → SearchBar.cjs.map} +1 -1
- package/dist/node/components/SearchBar/SearchBar.d.cts +7 -0
- package/dist/node/components/SearchBar/SearchBar.d.cts.map +1 -0
- package/dist/node/components/SearchBar/SearchBar.js +16 -39
- package/dist/node/components/SearchBar/SearchBar.js.map +1 -1
- package/dist/node/components/SearchBar/index.cjs +59 -0
- package/dist/node/components/SearchBar/index.cjs.map +1 -0
- package/dist/node/components/SearchBar/index.d.cts +2 -0
- package/dist/node/components/SearchBar/index.d.cts.map +1 -0
- package/dist/node/components/SearchBar/index.js +30 -21
- package/dist/node/components/SearchBar/index.js.map +1 -1
- package/dist/node/components/SiteMenu/Menu.cjs +197 -0
- package/dist/node/components/SiteMenu/Menu.cjs.map +1 -0
- package/dist/node/components/SiteMenu/Menu.d.cts +9 -0
- package/dist/node/components/SiteMenu/Menu.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/Menu.js +148 -41
- package/dist/node/components/SiteMenu/Menu.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +157 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js +85 -49
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/index.cjs +159 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.d.cts +2 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.js +130 -21
- package/dist/node/components/SiteMenu/MenuListItem/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +37 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +9 -32
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +35 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +38 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs +60 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js +29 -25
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +35 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +47 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +12 -35
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs +58 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js +28 -23
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuSection.cjs +170 -0
- package/dist/node/components/SiteMenu/MenuSection.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuSection.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuSection.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuSection.js +141 -34
- package/dist/node/components/SiteMenu/MenuSection.js.map +1 -1
- package/dist/node/components/SiteMenu/hooks/index.cjs +62 -0
- package/dist/node/components/SiteMenu/hooks/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/hooks/index.d.cts +2 -0
- package/dist/node/components/SiteMenu/hooks/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/hooks/index.js +33 -21
- package/dist/node/components/SiteMenu/hooks/index.js.map +1 -1
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs +60 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +1 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js +19 -33
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js.map +1 -1
- package/dist/node/components/SiteMenu/index.cjs +240 -0
- package/dist/node/components/SiteMenu/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/index.d.cts +6 -0
- package/dist/node/components/SiteMenu/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/index.js +209 -30
- package/dist/node/components/SiteMenu/index.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.js +0 -16
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.js +0 -16
- package/dist/node/components/SiteMenu/lib/NavListItemProps.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/index.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/index.d.cts +3 -0
- package/dist/node/components/SiteMenu/lib/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/index.js +0 -24
- package/dist/node/components/SiteMenu/lib/index.js.map +1 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.cjs +76 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.js +46 -29
- package/dist/node/components/Toolbar/Context/ContextToolbar.js.map +1 -1
- package/dist/node/components/Toolbar/Context/Logo.cjs +37 -0
- package/dist/node/components/Toolbar/Context/Logo.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/Logo.d.cts +3 -0
- package/dist/node/components/Toolbar/Context/Logo.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/Logo.js +8 -31
- package/dist/node/components/Toolbar/Context/Logo.js.map +1 -1
- package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs +67 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.js +23 -36
- package/dist/node/components/Toolbar/Context/LogoLinkEx.js.map +1 -1
- package/dist/node/components/Toolbar/Context/index.cjs +78 -0
- package/dist/node/components/Toolbar/Context/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/index.d.cts +2 -0
- package/dist/node/components/Toolbar/Context/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/index.js +49 -21
- package/dist/node/components/Toolbar/Context/index.js.map +1 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.cjs +224 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.cjs.map +1 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.d.cts +15 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.js +184 -37
- package/dist/node/components/Toolbar/System/SystemToolbar.js.map +1 -1
- package/dist/node/components/Toolbar/System/index.cjs +226 -0
- package/dist/node/components/Toolbar/System/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/System/index.d.cts +2 -0
- package/dist/node/components/Toolbar/System/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/System/index.js +198 -22
- package/dist/node/components/Toolbar/System/index.js.map +1 -1
- package/dist/node/components/Toolbar/index.cjs +276 -0
- package/dist/node/components/Toolbar/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/index.d.cts +3 -0
- package/dist/node/components/Toolbar/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/index.js +247 -24
- package/dist/node/components/Toolbar/index.js.map +1 -1
- package/dist/node/components/index.cjs +566 -0
- package/dist/node/components/index.cjs.map +1 -0
- package/dist/node/components/index.d.cts +7 -0
- package/dist/node/components/index.d.cts.map +1 -0
- package/dist/node/components/index.js +525 -31
- package/dist/node/components/index.js.map +1 -1
- package/dist/node/contexts/Collapsible/State.cjs +19 -0
- package/dist/node/contexts/Collapsible/State.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/State.d.cts +9 -0
- package/dist/node/contexts/Collapsible/State.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/State.js +0 -16
- package/dist/node/contexts/Collapsible/State.js.map +1 -1
- package/dist/node/contexts/Collapsible/context.cjs +32 -0
- package/dist/node/contexts/Collapsible/context.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/context.d.cts +4 -0
- package/dist/node/contexts/Collapsible/context.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/context.js +5 -28
- package/dist/node/contexts/Collapsible/context.js.map +1 -1
- package/dist/node/contexts/Collapsible/index.cjs +57 -0
- package/dist/node/contexts/Collapsible/index.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/index.d.cts +4 -0
- package/dist/node/contexts/Collapsible/index.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/index.js +27 -25
- package/dist/node/contexts/Collapsible/index.js.map +1 -1
- package/dist/node/contexts/Collapsible/provider.cjs +49 -0
- package/dist/node/contexts/Collapsible/provider.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/provider.d.cts +8 -0
- package/dist/node/contexts/Collapsible/provider.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/provider.js +17 -35
- package/dist/node/contexts/Collapsible/provider.js.map +1 -1
- package/dist/node/contexts/Collapsible/use.cjs +38 -0
- package/dist/node/contexts/Collapsible/use.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/use.d.cts +2 -0
- package/dist/node/contexts/Collapsible/use.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/use.js +11 -29
- package/dist/node/contexts/Collapsible/use.js.map +1 -1
- package/dist/node/contexts/index.cjs +57 -0
- package/dist/node/contexts/index.cjs.map +1 -0
- package/dist/node/contexts/index.d.cts +2 -0
- package/dist/node/contexts/index.d.cts.map +1 -0
- package/dist/node/contexts/index.js +27 -21
- package/dist/node/contexts/index.js.map +1 -1
- package/dist/node/index.cjs +587 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.d.cts +3 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +544 -23
- package/dist/node/index.js.map +1 -1
- package/package.json +23 -23
- package/src/components/CollapsibleDrawer/CollapseToggle.tsx +1 -0
- package/src/components/CollapsibleDrawer/storyExampleMenuData.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx +1 -0
- package/dist/browser/components/AppBar/Application.stories.js +0 -64
- package/dist/browser/components/AppBar/Application.stories.js.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.js +0 -45
- package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControls.stories.js +0 -34
- package/dist/browser/components/MobileSystemControls/SystemControls.stories.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js +0 -46
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js.map +0 -1
- package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.js +0 -25
- package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.js.map +0 -1
- package/dist/browser/components/Toolbar/System/SystemToolbar.stories.js +0 -48
- package/dist/browser/components/Toolbar/System/SystemToolbar.stories.js.map +0 -1
- package/dist/node/components/AppBar/Application.mjs +0 -19
- package/dist/node/components/AppBar/Application.mjs.map +0 -1
- package/dist/node/components/AppBar/Application.stories.js +0 -90
- package/dist/node/components/AppBar/Application.stories.js.map +0 -1
- package/dist/node/components/AppBar/Application.stories.mjs +0 -64
- package/dist/node/components/AppBar/Application.stories.mjs.map +0 -1
- package/dist/node/components/AppBar/index.mjs +0 -2
- package/dist/node/components/AppBar/index.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.js +0 -69
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.js.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.mjs +0 -45
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.mjs +0 -30
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.mjs +0 -35
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/index.mjs +0 -3
- package/dist/node/components/CollapsibleDrawer/index.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.mjs +0 -83
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.mjs +0 -10
- package/dist/node/components/MobileSystemControls/SystemControls.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.stories.js +0 -59
- package/dist/node/components/MobileSystemControls/SystemControls.stories.js.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.stories.mjs +0 -34
- package/dist/node/components/MobileSystemControls/SystemControls.stories.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.mjs +0 -61
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsType.mjs +0 -10
- package/dist/node/components/MobileSystemControls/SystemControlsType.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.mjs +0 -28
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControl.mjs +0 -28
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.mjs +0 -10
- package/dist/node/components/MobileSystemControls/controls/index.mjs +0 -3
- package/dist/node/components/MobileSystemControls/controls/index.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/index.mjs +0 -4
- package/dist/node/components/MobileSystemControls/index.mjs.map +0 -1
- package/dist/node/components/SearchBar/SearchBar.mjs +0 -31
- package/dist/node/components/SearchBar/index.mjs +0 -2
- package/dist/node/components/SearchBar/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/Menu.mjs +0 -41
- package/dist/node/components/SiteMenu/Menu.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.mjs +0 -72
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js +0 -71
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.mjs +0 -46
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/index.mjs +0 -2
- package/dist/node/components/SiteMenu/MenuListItem/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs +0 -11
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.mjs +0 -9
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.mjs +0 -12
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.mjs +0 -4
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.mjs +0 -9
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.mjs +0 -21
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.mjs +0 -3
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuSection.mjs +0 -14
- package/dist/node/components/SiteMenu/MenuSection.mjs.map +0 -1
- package/dist/node/components/SiteMenu/hooks/index.mjs +0 -2
- package/dist/node/components/SiteMenu/hooks/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.mjs +0 -25
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.mjs.map +0 -1
- package/dist/node/components/SiteMenu/index.mjs +0 -6
- package/dist/node/components/SiteMenu/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.mjs +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.mjs +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/index.mjs +0 -3
- package/dist/node/components/Toolbar/Context/ContextToolbar.mjs +0 -10
- package/dist/node/components/Toolbar/Context/ContextToolbar.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.js +0 -50
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.js.map +0 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.mjs +0 -25
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/Logo.mjs +0 -11
- package/dist/node/components/Toolbar/Context/LogoLinkEx.mjs +0 -31
- package/dist/node/components/Toolbar/Context/LogoLinkEx.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/index.mjs +0 -2
- package/dist/node/components/Toolbar/Context/index.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.mjs +0 -28
- package/dist/node/components/Toolbar/System/SystemToolbar.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.js +0 -74
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.js.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.mjs +0 -48
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/index.mjs +0 -2
- package/dist/node/components/Toolbar/System/index.mjs.map +0 -1
- package/dist/node/components/Toolbar/index.mjs +0 -3
- package/dist/node/components/Toolbar/index.mjs.map +0 -1
- package/dist/node/components/index.mjs +0 -7
- package/dist/node/components/index.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/State.mjs +0 -1
- package/dist/node/contexts/Collapsible/State.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/context.mjs +0 -6
- package/dist/node/contexts/Collapsible/index.mjs +0 -4
- package/dist/node/contexts/Collapsible/index.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/provider.mjs +0 -18
- package/dist/node/contexts/Collapsible/provider.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/use.mjs +0 -7
- package/dist/node/contexts/Collapsible/use.mjs.map +0 -1
- package/dist/node/contexts/index.mjs +0 -2
- package/dist/node/contexts/index.mjs.map +0 -1
- package/dist/node/index.mjs +0 -3
- package/dist/node/index.mjs.map +0 -1
@@ -0,0 +1,286 @@
|
|
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/AppBar/Application.tsx
|
21
|
+
var Application_exports = {};
|
22
|
+
__export(Application_exports, {
|
23
|
+
ApplicationAppBar: () => ApplicationAppBar
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(Application_exports);
|
26
|
+
var import_react_appbar = require("@xylabs/react-appbar");
|
27
|
+
|
28
|
+
// src/components/Toolbar/Context/ContextToolbar.tsx
|
29
|
+
var import_material3 = require("@mui/material");
|
30
|
+
|
31
|
+
// src/components/Toolbar/Context/LogoLinkEx.tsx
|
32
|
+
var import_material2 = require("@mui/material");
|
33
|
+
var import_react_flexbox = require("@xylabs/react-flexbox");
|
34
|
+
var import_react_link = require("@xylabs/react-link");
|
35
|
+
|
36
|
+
// src/components/Toolbar/Context/Logo.tsx
|
37
|
+
var import_material = require("@mui/material");
|
38
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
39
|
+
var Logo = (props) => {
|
40
|
+
const theme = (0, import_material.useTheme)();
|
41
|
+
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";
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
|
43
|
+
};
|
44
|
+
|
45
|
+
// src/components/Toolbar/Context/LogoLinkEx.tsx
|
46
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
47
|
+
var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
|
48
|
+
const theme = (0, import_material2.useTheme)();
|
49
|
+
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: [
|
50
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Logo, { height: "40", width: "43" }),
|
51
|
+
version ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
52
|
+
import_material2.Typography,
|
53
|
+
{
|
54
|
+
position: "absolute",
|
55
|
+
borderRadius: 1,
|
56
|
+
right: 6,
|
57
|
+
color: theme.palette.getContrastText(theme.palette.text.primary),
|
58
|
+
bottom: 0,
|
59
|
+
bgcolor: theme.palette.text.primary,
|
60
|
+
paddingX: "2px",
|
61
|
+
lineHeight: 1,
|
62
|
+
variant: "caption",
|
63
|
+
border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
|
64
|
+
children: typeof version === "string" ? version : "2.1"
|
65
|
+
}
|
66
|
+
) : null
|
67
|
+
] }) });
|
68
|
+
};
|
69
|
+
|
70
|
+
// src/components/Toolbar/Context/ContextToolbar.tsx
|
71
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
72
|
+
var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
|
73
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Toolbar, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoLinkEx, { version, to: logoTo }) });
|
74
|
+
};
|
75
|
+
|
76
|
+
// src/components/Toolbar/System/SystemToolbar.tsx
|
77
|
+
var import_material11 = require("@mui/material");
|
78
|
+
var import_react_flexbox5 = require("@xylabs/react-flexbox");
|
79
|
+
var import_react_app_settings = require("@xyo-network/react-app-settings");
|
80
|
+
var import_react_network = require("@xyo-network/react-network");
|
81
|
+
|
82
|
+
// src/contexts/Collapsible/context.ts
|
83
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
84
|
+
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
85
|
+
|
86
|
+
// src/contexts/Collapsible/use.tsx
|
87
|
+
var import_react_shared2 = require("@xyo-network/react-shared");
|
88
|
+
var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
|
89
|
+
|
90
|
+
// src/components/SiteMenu/Menu.tsx
|
91
|
+
var import_icons_material = require("@mui/icons-material");
|
92
|
+
var import_material10 = require("@mui/material");
|
93
|
+
var import_react_flexbox4 = require("@xylabs/react-flexbox");
|
94
|
+
var import_react2 = require("react");
|
95
|
+
|
96
|
+
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
97
|
+
var import_material9 = require("@mui/material");
|
98
|
+
var import_react_flexbox3 = require("@xylabs/react-flexbox");
|
99
|
+
var import_react_link2 = require("@xylabs/react-link");
|
100
|
+
var import_react = require("react");
|
101
|
+
|
102
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
|
103
|
+
var import_material4 = require("@mui/material");
|
104
|
+
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
105
|
+
var import_vsc = require("react-icons/vsc/index.js");
|
106
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
107
|
+
var ListItemTooltip = ({ title, ...props }) => {
|
108
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material4.Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_flexbox2.FlexCol, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_vsc.VscInfo, { color: "grey" }) }) }) });
|
109
|
+
};
|
110
|
+
|
111
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
|
112
|
+
var import_material5 = require("@mui/material");
|
113
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
114
|
+
var MenuIcon = ({ icon, ...props }) => {
|
115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material5.Typography, { display: "flex", ...props, children: icon });
|
116
|
+
};
|
117
|
+
|
118
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
119
|
+
var import_material6 = require("@mui/material");
|
120
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
121
|
+
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
122
|
+
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
123
|
+
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
124
|
+
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_material6.ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
126
|
+
};
|
127
|
+
|
128
|
+
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
129
|
+
var import_material7 = require("@mui/material");
|
130
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
131
|
+
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
132
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material7.Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material7.List, { children }) });
|
133
|
+
};
|
134
|
+
|
135
|
+
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
136
|
+
var import_material8 = require("@mui/material");
|
137
|
+
var import_vsc2 = require("react-icons/vsc/index.js");
|
138
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
139
|
+
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
140
|
+
const theme = (0, import_material8.useTheme)();
|
141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
142
|
+
import_material8.IconButton,
|
143
|
+
{
|
144
|
+
onClick: (event) => {
|
145
|
+
event.stopPropagation();
|
146
|
+
setOpenSubNav?.(!openSubNav);
|
147
|
+
},
|
148
|
+
sx: { marginRight: theme.spacing(0.5) },
|
149
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_vsc2.VscChevronDown, { fontSize: "16px" })
|
150
|
+
}
|
151
|
+
);
|
152
|
+
};
|
153
|
+
|
154
|
+
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
155
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
156
|
+
var MenuListItemContainer = ({
|
157
|
+
style,
|
158
|
+
icon,
|
159
|
+
iconMenuTextSpacing,
|
160
|
+
iconOnly,
|
161
|
+
onButtonClick,
|
162
|
+
primary,
|
163
|
+
subNavListItems,
|
164
|
+
sx,
|
165
|
+
tooltip,
|
166
|
+
to,
|
167
|
+
...props
|
168
|
+
}) => {
|
169
|
+
const { dense } = props;
|
170
|
+
const theme = (0, import_material9.useTheme)();
|
171
|
+
const { collapse } = useCollapsible();
|
172
|
+
const [openSubNav, setOpenSubNav] = (0, import_react.useState)(false);
|
173
|
+
const [hovered, setHovered] = (0, import_react.useState)(false);
|
174
|
+
const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
|
175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
176
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
177
|
+
MenuListItem,
|
178
|
+
{
|
179
|
+
disableGutters: true,
|
180
|
+
iconOnly,
|
181
|
+
onClick: onButtonClick,
|
182
|
+
dense,
|
183
|
+
sx: { justifyContent: "space-between", ...sx },
|
184
|
+
style: { whiteSpace: "nowrap", ...style },
|
185
|
+
...props,
|
186
|
+
children: [
|
187
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
188
|
+
import_react_link2.LinkEx,
|
189
|
+
{
|
190
|
+
onMouseEnter: () => setHovered(true),
|
191
|
+
onMouseLeave: () => setHovered(false),
|
192
|
+
color: "inherit",
|
193
|
+
to,
|
194
|
+
sx: {
|
195
|
+
"& :hover": {
|
196
|
+
cursor: "pointer",
|
197
|
+
textDecoration: "underline"
|
198
|
+
}
|
199
|
+
},
|
200
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_flexbox3.FlexRow, { children: [
|
201
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
|
202
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material9.ListItemText, { primary })
|
203
|
+
] })
|
204
|
+
}
|
205
|
+
),
|
206
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_flexbox3.FlexRow, { style: { marginLeft: theme.spacing(1) }, children: [
|
207
|
+
subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
|
208
|
+
tooltip ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ListItemTooltip, { title: tooltip }) : null
|
209
|
+
] })
|
210
|
+
]
|
211
|
+
}
|
212
|
+
),
|
213
|
+
subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems?.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
|
214
|
+
] });
|
215
|
+
};
|
216
|
+
|
217
|
+
// src/components/SiteMenu/Menu.tsx
|
218
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
219
|
+
var SiteMenu = ({ children, onMenuToggle, side = "right", ...props }) => {
|
220
|
+
const [open, setOpen] = (0, import_react2.useState)(false);
|
221
|
+
(0, import_react2.useEffect)(() => {
|
222
|
+
onMenuToggle?.(open);
|
223
|
+
}, [onMenuToggle, open]);
|
224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_react_flexbox4.FlexRow, { alignItems: "stretch", ...props, children: [
|
225
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
226
|
+
import_material10.IconButton,
|
227
|
+
{
|
228
|
+
size: "small",
|
229
|
+
color: "inherit",
|
230
|
+
onClick: () => {
|
231
|
+
setOpen(!open);
|
232
|
+
},
|
233
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_icons_material.Menu, { fontSize: "large" })
|
234
|
+
}
|
235
|
+
),
|
236
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
237
|
+
import_material10.SwipeableDrawer,
|
238
|
+
{
|
239
|
+
anchor: side,
|
240
|
+
open,
|
241
|
+
onClick: () => setOpen(false),
|
242
|
+
onKeyDown: () => setOpen(false),
|
243
|
+
onClose: () => setOpen(false),
|
244
|
+
onOpen: () => setOpen(true),
|
245
|
+
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_material10.List, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MenuListItemContainer, { primary: "Settings", icon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_icons_material.Settings, {}), to: "/settings" }) })
|
246
|
+
}
|
247
|
+
)
|
248
|
+
] });
|
249
|
+
};
|
250
|
+
|
251
|
+
// src/components/Toolbar/System/SystemToolbar.tsx
|
252
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
253
|
+
var SystemToolbar = ({
|
254
|
+
children,
|
255
|
+
darkModeButton = false,
|
256
|
+
hideNetworkSelect,
|
257
|
+
menuItems,
|
258
|
+
networkSelectProps,
|
259
|
+
onMenuToggle,
|
260
|
+
precedingChildren,
|
261
|
+
...props
|
262
|
+
}) => {
|
263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_material11.Toolbar, { ...props, children: [
|
264
|
+
precedingChildren,
|
265
|
+
hideNetworkSelect ? null : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_flexbox5.FlexRow, { marginX: 0.5, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_material11.Paper, { variant: "elevation", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_network.NetworkSelectEx, { fullWidth: true, ...networkSelectProps }) }) }),
|
266
|
+
children,
|
267
|
+
darkModeButton ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_app_settings.DarkModeIconButton, { color: "inherit" }) : null,
|
268
|
+
menuItems ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(SiteMenu, { onMenuToggle, children: menuItems }) : null
|
269
|
+
] });
|
270
|
+
};
|
271
|
+
|
272
|
+
// src/components/AppBar/Application.tsx
|
273
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
274
|
+
var ApplicationAppBar = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {
|
275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
276
|
+
import_react_appbar.AppBarEx,
|
277
|
+
{
|
278
|
+
systemToolbar: systemToolbar ?? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SystemToolbar, {}),
|
279
|
+
contextToolbar: contextToolbar ?? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ContextToolbar, {}),
|
280
|
+
position: "sticky",
|
281
|
+
responsive,
|
282
|
+
...props
|
283
|
+
}
|
284
|
+
);
|
285
|
+
};
|
286
|
+
//# sourceMappingURL=Application.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/AppBar/Application.tsx","../../../../src/components/Toolbar/Context/ContextToolbar.tsx","../../../../src/components/Toolbar/Context/LogoLinkEx.tsx","../../../../src/components/Toolbar/Context/Logo.tsx","../../../../src/components/Toolbar/System/SystemToolbar.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx","../../../../src/components/SiteMenu/Menu.tsx","../../../../src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx","../../../../src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx","../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx","../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx","../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx","../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx"],"sourcesContent":["import { ToolbarProps } from '@mui/material'\nimport { AppBarEx, AppBarExProps } from '@xylabs/react-appbar'\nimport { ReactElement } from 'react'\n\nimport { ContextToolbar, SystemToolbar } from '../Toolbar'\n\nexport interface ApplicationAppBarProps extends AppBarExProps {\n contextToolbar?: ReactElement<ToolbarProps>\n responsive?: boolean\n systemToolbar?: ReactElement<ToolbarProps>\n}\n\nexport const ApplicationAppBar: React.FC<ApplicationAppBarProps> = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {\n return (\n <AppBarEx\n systemToolbar={systemToolbar ?? <SystemToolbar />}\n contextToolbar={contextToolbar ?? <ContextToolbar />}\n position=\"sticky\"\n responsive={responsive}\n {...props}\n />\n )\n}\n","import { Toolbar, ToolbarProps } from '@mui/material'\nimport { To } from 'react-router-dom'\n\nimport { LogoLinkEx } from './LogoLinkEx'\n\nexport interface ContextToolbarProps extends ToolbarProps {\n logoTo?: To\n version?: boolean\n}\n\nexport const ContextToolbar: React.FC<ContextToolbarProps> = ({ logoTo = '/', version = false, ...props }) => {\n return (\n <Toolbar {...props}>\n <LogoLinkEx version={version} to={logoTo} />\n </Toolbar>\n )\n}\n","import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n","import { Paper, Toolbar, ToolbarProps } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { DarkModeIconButton } from '@xyo-network/react-app-settings'\nimport { NetworkSelectEx, NetworkSelectExProps } from '@xyo-network/react-network'\nimport { ReactNode } from 'react'\n\nimport { SiteMenu, SiteMenuProps } from '../../SiteMenu'\n\nexport interface SystemToolbarProps extends ToolbarProps {\n darkModeButton?: boolean\n developerMode?: boolean\n hideNetworkSelect?: boolean\n menuItems?: ReactNode\n networkSelectProps?: NetworkSelectExProps\n onMenuToggle?: SiteMenuProps['onMenuToggle']\n precedingChildren?: ReactNode\n}\n\nexport const SystemToolbar: React.FC<SystemToolbarProps> = ({\n children,\n darkModeButton = false,\n hideNetworkSelect,\n menuItems,\n networkSelectProps,\n onMenuToggle,\n precedingChildren,\n ...props\n}) => {\n return (\n <Toolbar {...props}>\n {precedingChildren}\n {hideNetworkSelect ? null : (\n <FlexRow marginX={0.5}>\n <Paper variant=\"elevation\">\n <NetworkSelectEx fullWidth {...networkSelectProps} />\n </Paper>\n </FlexRow>\n )}\n {children}\n {darkModeButton ? <DarkModeIconButton color=\"inherit\" /> : null}\n {menuItems ? <SiteMenu onMenuToggle={onMenuToggle}>{menuItems}</SiteMenu> : null}\n </Toolbar>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleContext } from './context'\n\nexport const useCollapsible = () => useContextEx(CollapsibleContext, 'Collapsible', false)\n","import { Menu as MenuIcon, Settings as SettingsIcon } from '@mui/icons-material'\nimport { IconButton, List, SwipeableDrawer } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useEffect, useState } from 'react'\n\nimport { MenuListItemContainer } from './MenuListItem'\n\nexport interface SiteMenuProps extends FlexBoxProps {\n hideSettingsMenuItem?: boolean\n onMenuToggle?: (state?: boolean) => void\n side?: 'left' | 'right' | 'top' | 'bottom'\n}\n\nexport const SiteMenu: React.FC<SiteMenuProps> = ({ children, onMenuToggle, side = 'right', ...props }) => {\n const [open, setOpen] = useState(false)\n\n useEffect(() => {\n onMenuToggle?.(open)\n }, [onMenuToggle, open])\n\n return (\n <FlexRow alignItems=\"stretch\" {...props}>\n <IconButton\n size=\"small\"\n color=\"inherit\"\n onClick={() => {\n setOpen(!open)\n }}\n >\n <MenuIcon fontSize=\"large\" />\n </IconButton>\n <SwipeableDrawer\n anchor={side}\n open={open}\n onClick={() => setOpen(false)}\n onKeyDown={() => setOpen(false)}\n onClose={() => setOpen(false)}\n onOpen={() => setOpen(true)}\n >\n {children ?? (\n <List>\n <MenuListItemContainer primary=\"Settings\" icon={<SettingsIcon />} to=\"/settings\" />\n </List>\n )}\n </SwipeableDrawer>\n </FlexRow>\n )\n}\n","import { ListItemProps, ListItemText, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx } from '@xylabs/react-link'\nimport { useState } from 'react'\n\nimport { useCollapsible } from '../../../contexts'\nimport { MenuListItemBase, NavListItemProps } from '../lib'\nimport { ListItemTooltip, MenuIcon, MenuListItem } from './list-item-components'\nimport { SubNavListItemsCollapse, SubNavToggleIconButton } from './sub-nav'\n\nexport interface MenuListItemProps extends NavListItemProps, MenuListItemBase, ListItemProps {\n iconMenuTextSpacing?: string\n iconOnly?: boolean\n subNavListItems?: NavListItemProps[]\n subNavOpen?: boolean\n}\n\nexport const MenuListItemContainer: React.FC<MenuListItemProps> = ({\n style,\n icon,\n iconMenuTextSpacing,\n iconOnly,\n onButtonClick,\n primary,\n subNavListItems,\n sx,\n tooltip,\n to,\n ...props\n}) => {\n const { dense } = props\n const theme = useTheme()\n const { collapse } = useCollapsible()\n const [openSubNav, setOpenSubNav] = useState(false)\n const [hovered, setHovered] = useState(false)\n const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1)\n\n return (\n <>\n <MenuListItem\n disableGutters\n iconOnly={iconOnly}\n onClick={onButtonClick}\n dense={dense}\n sx={{ justifyContent: 'space-between', ...sx }}\n style={{ whiteSpace: 'nowrap', ...style }}\n {...props}\n >\n <LinkEx\n onMouseEnter={() => setHovered(true)}\n onMouseLeave={() => setHovered(false)}\n color=\"inherit\"\n to={to}\n sx={{\n '& :hover': {\n cursor: 'pointer',\n textDecoration: 'underline',\n },\n }}\n >\n <FlexRow>\n <MenuIcon icon={icon} paddingRight={resolvedIconMenuTextSpacing} color={hovered ? 'secondary' : 'inherit'} />\n <ListItemText primary={primary} />\n </FlexRow>\n </LinkEx>\n <FlexRow style={{ marginLeft: theme.spacing(1) }}>\n {subNavListItems ? <SubNavToggleIconButton setOpenSubNav={setOpenSubNav} openSubNav={openSubNav} /> : null}\n {tooltip ? <ListItemTooltip title={tooltip} /> : null}\n </FlexRow>\n </MenuListItem>\n {subNavListItems ? (\n <SubNavListItemsCollapse openSubNav={openSubNav} collapse={collapse}>\n {subNavListItems?.map((item, index) => <MenuListItemContainer dense={dense} sx={{ pl: theme.spacing(1) }} key={index} {...item} />)}\n </SubNavListItemsCollapse>\n ) : null}\n </>\n )\n}\n","import { Tooltip, TooltipProps } from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscInfo } from 'react-icons/vsc/index.js'\n\nexport interface ListItemTooltipProps extends Omit<TooltipProps, 'children'> {\n title: string\n}\n\nexport const ListItemTooltip: React.FC<ListItemTooltipProps> = ({ title, ...props }) => {\n return (\n <Tooltip title={title} placement=\"right\" {...props}>\n {/* Needs div so it can work, the hovering doesn't work with a FlexCol */}\n <div>\n <FlexCol justifyContent=\"center\">\n <VscInfo color=\"grey\" />\n </FlexCol>\n </div>\n </Tooltip>\n )\n}\n","import { Typography, TypographyProps } from '@mui/material'\nimport { ReactNode } from 'react'\n\nexport interface MenuIconProps extends TypographyProps {\n icon?: ReactNode\n}\n\nexport const MenuIcon: React.FC<MenuIconProps> = ({ icon, ...props }) => {\n return (\n <Typography display=\"flex\" {...props}>\n {icon}\n </Typography>\n )\n}\n","import { ListItem, ListItemProps } from '@mui/material'\n\nimport { MenuListItemBase } from '../../lib'\n\nexport interface ListItemExProps extends MenuListItemBase, ListItemProps {}\n\nexport const MenuListItem: React.FC<ListItemExProps> = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {\n const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' }\n // wait till collapseEnds to remove the spacing between items\n const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 }\n // adjusts to the paddingY value which does NOT scale along the theme.spacing\n const paddingSx = dense ? { px: '8px' } : { px: '12px' }\n return (\n <ListItem sx={{ ...listItemSx, ...spacingSx, ...paddingSx, ...sx }} {...props}>\n {children}\n </ListItem>\n )\n}\n","import { Collapse, CollapseProps, List } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { NavListItemProps } from '../../lib'\n\nexport interface SubNavListItemsCollapseProps extends WithChildren, CollapseProps {\n collapse?: boolean\n openSubNav?: boolean\n subNavListItems?: NavListItemProps[]\n}\n\nexport const SubNavListItemsCollapse: React.FC<SubNavListItemsCollapseProps> = ({ collapse, openSubNav, children, ...props }) => {\n return (\n <Collapse in={collapse == true ? false : openSubNav} {...props}>\n <List>{children}</List>\n </Collapse>\n )\n}\n","import { IconButton, IconButtonProps, useTheme } from '@mui/material'\nimport { Dispatch, SetStateAction, SyntheticEvent } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscChevronDown } from 'react-icons/vsc/index.js'\n\nexport interface SubNavToggleIconButtonProps extends IconButtonProps {\n openSubNav?: boolean\n setOpenSubNav?: Dispatch<SetStateAction<boolean>>\n}\n\nexport const SubNavToggleIconButton: React.FC<SubNavToggleIconButtonProps> = ({ setOpenSubNav, openSubNav }) => {\n const theme = useTheme()\n return (\n <IconButton\n onClick={(event: SyntheticEvent) => {\n event.stopPropagation()\n setOpenSubNav?.(!openSubNav)\n }}\n sx={{ marginRight: theme.spacing(0.5) }}\n >\n <VscChevronDown fontSize=\"16px\" />\n </IconButton>\n )\n}\n"],"mappings":"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","names":["import_material","import_material","import_jsx_runtime","import_jsx_runtime","import_material","import_react_flexbox","import_react_shared","import_material","import_react_flexbox","import_react","import_material","import_react_flexbox","import_react_link","import_material","import_react_flexbox","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_vsc","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime","MenuIcon","SettingsIcon","import_jsx_runtime","import_jsx_runtime"]}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ToolbarProps } from '@mui/material';
|
2
|
+
import { AppBarExProps } from '@xylabs/react-appbar';
|
3
|
+
import { ReactElement } from 'react';
|
4
|
+
export interface ApplicationAppBarProps extends AppBarExProps {
|
5
|
+
contextToolbar?: ReactElement<ToolbarProps>;
|
6
|
+
responsive?: boolean;
|
7
|
+
systemToolbar?: ReactElement<ToolbarProps>;
|
8
|
+
}
|
9
|
+
export declare const ApplicationAppBar: React.FC<ApplicationAppBarProps>;
|
10
|
+
//# sourceMappingURL=Application.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../../src/components/AppBar/Application.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAY,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAIpC,MAAM,WAAW,sBAAuB,SAAQ,aAAa;IAC3D,cAAc,CAAC,EAAE,YAAY,CAAC,YAAY,CAAC,CAAA;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,YAAY,CAAC,YAAY,CAAC,CAAA;CAC3C;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAU9D,CAAA"}
|
@@ -0,0 +1,288 @@
|
|
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/AppBar/index.ts
|
21
|
+
var AppBar_exports = {};
|
22
|
+
__export(AppBar_exports, {
|
23
|
+
ApplicationAppBar: () => ApplicationAppBar
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(AppBar_exports);
|
26
|
+
|
27
|
+
// src/components/AppBar/Application.tsx
|
28
|
+
var import_react_appbar = require("@xylabs/react-appbar");
|
29
|
+
|
30
|
+
// src/components/Toolbar/Context/ContextToolbar.tsx
|
31
|
+
var import_material3 = require("@mui/material");
|
32
|
+
|
33
|
+
// src/components/Toolbar/Context/LogoLinkEx.tsx
|
34
|
+
var import_material2 = require("@mui/material");
|
35
|
+
var import_react_flexbox = require("@xylabs/react-flexbox");
|
36
|
+
var import_react_link = require("@xylabs/react-link");
|
37
|
+
|
38
|
+
// src/components/Toolbar/Context/Logo.tsx
|
39
|
+
var import_material = require("@mui/material");
|
40
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
41
|
+
var Logo = (props) => {
|
42
|
+
const theme = (0, import_material.useTheme)();
|
43
|
+
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";
|
44
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
|
45
|
+
};
|
46
|
+
|
47
|
+
// src/components/Toolbar/Context/LogoLinkEx.tsx
|
48
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
49
|
+
var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
|
50
|
+
const theme = (0, import_material2.useTheme)();
|
51
|
+
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: [
|
52
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Logo, { height: "40", width: "43" }),
|
53
|
+
version ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
54
|
+
import_material2.Typography,
|
55
|
+
{
|
56
|
+
position: "absolute",
|
57
|
+
borderRadius: 1,
|
58
|
+
right: 6,
|
59
|
+
color: theme.palette.getContrastText(theme.palette.text.primary),
|
60
|
+
bottom: 0,
|
61
|
+
bgcolor: theme.palette.text.primary,
|
62
|
+
paddingX: "2px",
|
63
|
+
lineHeight: 1,
|
64
|
+
variant: "caption",
|
65
|
+
border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
|
66
|
+
children: typeof version === "string" ? version : "2.1"
|
67
|
+
}
|
68
|
+
) : null
|
69
|
+
] }) });
|
70
|
+
};
|
71
|
+
|
72
|
+
// src/components/Toolbar/Context/ContextToolbar.tsx
|
73
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
74
|
+
var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
|
75
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Toolbar, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoLinkEx, { version, to: logoTo }) });
|
76
|
+
};
|
77
|
+
|
78
|
+
// src/components/Toolbar/System/SystemToolbar.tsx
|
79
|
+
var import_material11 = require("@mui/material");
|
80
|
+
var import_react_flexbox5 = require("@xylabs/react-flexbox");
|
81
|
+
var import_react_app_settings = require("@xyo-network/react-app-settings");
|
82
|
+
var import_react_network = require("@xyo-network/react-network");
|
83
|
+
|
84
|
+
// src/contexts/Collapsible/context.ts
|
85
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
86
|
+
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
87
|
+
|
88
|
+
// src/contexts/Collapsible/use.tsx
|
89
|
+
var import_react_shared2 = require("@xyo-network/react-shared");
|
90
|
+
var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
|
91
|
+
|
92
|
+
// src/components/SiteMenu/Menu.tsx
|
93
|
+
var import_icons_material = require("@mui/icons-material");
|
94
|
+
var import_material10 = require("@mui/material");
|
95
|
+
var import_react_flexbox4 = require("@xylabs/react-flexbox");
|
96
|
+
var import_react2 = require("react");
|
97
|
+
|
98
|
+
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
99
|
+
var import_material9 = require("@mui/material");
|
100
|
+
var import_react_flexbox3 = require("@xylabs/react-flexbox");
|
101
|
+
var import_react_link2 = require("@xylabs/react-link");
|
102
|
+
var import_react = require("react");
|
103
|
+
|
104
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
|
105
|
+
var import_material4 = require("@mui/material");
|
106
|
+
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
107
|
+
var import_vsc = require("react-icons/vsc/index.js");
|
108
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
109
|
+
var ListItemTooltip = ({ title, ...props }) => {
|
110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material4.Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_flexbox2.FlexCol, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_vsc.VscInfo, { color: "grey" }) }) }) });
|
111
|
+
};
|
112
|
+
|
113
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
|
114
|
+
var import_material5 = require("@mui/material");
|
115
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
116
|
+
var MenuIcon = ({ icon, ...props }) => {
|
117
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material5.Typography, { display: "flex", ...props, children: icon });
|
118
|
+
};
|
119
|
+
|
120
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
121
|
+
var import_material6 = require("@mui/material");
|
122
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
123
|
+
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
124
|
+
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
125
|
+
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
126
|
+
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
127
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_material6.ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
128
|
+
};
|
129
|
+
|
130
|
+
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
131
|
+
var import_material7 = require("@mui/material");
|
132
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
133
|
+
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material7.Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material7.List, { children }) });
|
135
|
+
};
|
136
|
+
|
137
|
+
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
138
|
+
var import_material8 = require("@mui/material");
|
139
|
+
var import_vsc2 = require("react-icons/vsc/index.js");
|
140
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
141
|
+
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
142
|
+
const theme = (0, import_material8.useTheme)();
|
143
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
144
|
+
import_material8.IconButton,
|
145
|
+
{
|
146
|
+
onClick: (event) => {
|
147
|
+
event.stopPropagation();
|
148
|
+
setOpenSubNav?.(!openSubNav);
|
149
|
+
},
|
150
|
+
sx: { marginRight: theme.spacing(0.5) },
|
151
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_vsc2.VscChevronDown, { fontSize: "16px" })
|
152
|
+
}
|
153
|
+
);
|
154
|
+
};
|
155
|
+
|
156
|
+
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
157
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
158
|
+
var MenuListItemContainer = ({
|
159
|
+
style,
|
160
|
+
icon,
|
161
|
+
iconMenuTextSpacing,
|
162
|
+
iconOnly,
|
163
|
+
onButtonClick,
|
164
|
+
primary,
|
165
|
+
subNavListItems,
|
166
|
+
sx,
|
167
|
+
tooltip,
|
168
|
+
to,
|
169
|
+
...props
|
170
|
+
}) => {
|
171
|
+
const { dense } = props;
|
172
|
+
const theme = (0, import_material9.useTheme)();
|
173
|
+
const { collapse } = useCollapsible();
|
174
|
+
const [openSubNav, setOpenSubNav] = (0, import_react.useState)(false);
|
175
|
+
const [hovered, setHovered] = (0, import_react.useState)(false);
|
176
|
+
const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
|
177
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
178
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
179
|
+
MenuListItem,
|
180
|
+
{
|
181
|
+
disableGutters: true,
|
182
|
+
iconOnly,
|
183
|
+
onClick: onButtonClick,
|
184
|
+
dense,
|
185
|
+
sx: { justifyContent: "space-between", ...sx },
|
186
|
+
style: { whiteSpace: "nowrap", ...style },
|
187
|
+
...props,
|
188
|
+
children: [
|
189
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
190
|
+
import_react_link2.LinkEx,
|
191
|
+
{
|
192
|
+
onMouseEnter: () => setHovered(true),
|
193
|
+
onMouseLeave: () => setHovered(false),
|
194
|
+
color: "inherit",
|
195
|
+
to,
|
196
|
+
sx: {
|
197
|
+
"& :hover": {
|
198
|
+
cursor: "pointer",
|
199
|
+
textDecoration: "underline"
|
200
|
+
}
|
201
|
+
},
|
202
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_flexbox3.FlexRow, { children: [
|
203
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
|
204
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material9.ListItemText, { primary })
|
205
|
+
] })
|
206
|
+
}
|
207
|
+
),
|
208
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react_flexbox3.FlexRow, { style: { marginLeft: theme.spacing(1) }, children: [
|
209
|
+
subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
|
210
|
+
tooltip ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ListItemTooltip, { title: tooltip }) : null
|
211
|
+
] })
|
212
|
+
]
|
213
|
+
}
|
214
|
+
),
|
215
|
+
subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems?.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
|
216
|
+
] });
|
217
|
+
};
|
218
|
+
|
219
|
+
// src/components/SiteMenu/Menu.tsx
|
220
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
221
|
+
var SiteMenu = ({ children, onMenuToggle, side = "right", ...props }) => {
|
222
|
+
const [open, setOpen] = (0, import_react2.useState)(false);
|
223
|
+
(0, import_react2.useEffect)(() => {
|
224
|
+
onMenuToggle?.(open);
|
225
|
+
}, [onMenuToggle, open]);
|
226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_react_flexbox4.FlexRow, { alignItems: "stretch", ...props, children: [
|
227
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
228
|
+
import_material10.IconButton,
|
229
|
+
{
|
230
|
+
size: "small",
|
231
|
+
color: "inherit",
|
232
|
+
onClick: () => {
|
233
|
+
setOpen(!open);
|
234
|
+
},
|
235
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_icons_material.Menu, { fontSize: "large" })
|
236
|
+
}
|
237
|
+
),
|
238
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
239
|
+
import_material10.SwipeableDrawer,
|
240
|
+
{
|
241
|
+
anchor: side,
|
242
|
+
open,
|
243
|
+
onClick: () => setOpen(false),
|
244
|
+
onKeyDown: () => setOpen(false),
|
245
|
+
onClose: () => setOpen(false),
|
246
|
+
onOpen: () => setOpen(true),
|
247
|
+
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_material10.List, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MenuListItemContainer, { primary: "Settings", icon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_icons_material.Settings, {}), to: "/settings" }) })
|
248
|
+
}
|
249
|
+
)
|
250
|
+
] });
|
251
|
+
};
|
252
|
+
|
253
|
+
// src/components/Toolbar/System/SystemToolbar.tsx
|
254
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
255
|
+
var SystemToolbar = ({
|
256
|
+
children,
|
257
|
+
darkModeButton = false,
|
258
|
+
hideNetworkSelect,
|
259
|
+
menuItems,
|
260
|
+
networkSelectProps,
|
261
|
+
onMenuToggle,
|
262
|
+
precedingChildren,
|
263
|
+
...props
|
264
|
+
}) => {
|
265
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_material11.Toolbar, { ...props, children: [
|
266
|
+
precedingChildren,
|
267
|
+
hideNetworkSelect ? null : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_flexbox5.FlexRow, { marginX: 0.5, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_material11.Paper, { variant: "elevation", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_network.NetworkSelectEx, { fullWidth: true, ...networkSelectProps }) }) }),
|
268
|
+
children,
|
269
|
+
darkModeButton ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_app_settings.DarkModeIconButton, { color: "inherit" }) : null,
|
270
|
+
menuItems ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(SiteMenu, { onMenuToggle, children: menuItems }) : null
|
271
|
+
] });
|
272
|
+
};
|
273
|
+
|
274
|
+
// src/components/AppBar/Application.tsx
|
275
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
276
|
+
var ApplicationAppBar = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {
|
277
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
278
|
+
import_react_appbar.AppBarEx,
|
279
|
+
{
|
280
|
+
systemToolbar: systemToolbar ?? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SystemToolbar, {}),
|
281
|
+
contextToolbar: contextToolbar ?? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ContextToolbar, {}),
|
282
|
+
position: "sticky",
|
283
|
+
responsive,
|
284
|
+
...props
|
285
|
+
}
|
286
|
+
);
|
287
|
+
};
|
288
|
+
//# sourceMappingURL=index.cjs.map
|