@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
package/dist/node/index.js
CHANGED
@@ -1,25 +1,546 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
// src/components/AppBar/Application.tsx
|
2
|
+
import { AppBarEx } from "@xylabs/react-appbar";
|
3
|
+
|
4
|
+
// src/components/Toolbar/Context/ContextToolbar.tsx
|
5
|
+
import { Toolbar } from "@mui/material";
|
6
|
+
|
7
|
+
// src/components/Toolbar/Context/LogoLinkEx.tsx
|
8
|
+
import { Typography, useTheme as useTheme2 } from "@mui/material";
|
9
|
+
import { FlexRow } from "@xylabs/react-flexbox";
|
10
|
+
import { LinkEx } from "@xylabs/react-link";
|
11
|
+
|
12
|
+
// src/components/Toolbar/Context/Logo.tsx
|
13
|
+
import { useTheme } from "@mui/material";
|
14
|
+
import { jsx } from "react/jsx-runtime";
|
15
|
+
var Logo = (props) => {
|
16
|
+
const theme = useTheme();
|
17
|
+
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";
|
18
|
+
return /* @__PURE__ */ jsx("img", { src: logoUrl, ...props });
|
19
|
+
};
|
20
|
+
|
21
|
+
// src/components/Toolbar/Context/LogoLinkEx.tsx
|
22
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
23
|
+
var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
|
24
|
+
const theme = useTheme2();
|
25
|
+
return /* @__PURE__ */ jsx2(LinkEx, { to, ...props, children: /* @__PURE__ */ jsxs(FlexRow, { paddingX: "4px", children: [
|
26
|
+
/* @__PURE__ */ jsx2(Logo, { height: "40", width: "43" }),
|
27
|
+
version ? /* @__PURE__ */ jsx2(
|
28
|
+
Typography,
|
29
|
+
{
|
30
|
+
position: "absolute",
|
31
|
+
borderRadius: 1,
|
32
|
+
right: 6,
|
33
|
+
color: theme.palette.getContrastText(theme.palette.text.primary),
|
34
|
+
bottom: 0,
|
35
|
+
bgcolor: theme.palette.text.primary,
|
36
|
+
paddingX: "2px",
|
37
|
+
lineHeight: 1,
|
38
|
+
variant: "caption",
|
39
|
+
border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
|
40
|
+
children: typeof version === "string" ? version : "2.1"
|
41
|
+
}
|
42
|
+
) : null
|
43
|
+
] }) });
|
44
|
+
};
|
45
|
+
|
46
|
+
// src/components/Toolbar/Context/ContextToolbar.tsx
|
47
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
48
|
+
var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
|
49
|
+
return /* @__PURE__ */ jsx3(Toolbar, { ...props, children: /* @__PURE__ */ jsx3(LogoLinkEx, { version, to: logoTo }) });
|
50
|
+
};
|
51
|
+
|
52
|
+
// src/components/Toolbar/System/SystemToolbar.tsx
|
53
|
+
import { Paper, Toolbar as Toolbar2 } from "@mui/material";
|
54
|
+
import { FlexRow as FlexRow4 } from "@xylabs/react-flexbox";
|
55
|
+
import { DarkModeIconButton } from "@xyo-network/react-app-settings";
|
56
|
+
import { NetworkSelectEx } from "@xyo-network/react-network";
|
57
|
+
|
58
|
+
// src/components/SiteMenu/hooks/useMenuItemsShared.tsx
|
59
|
+
import { useMemo } from "react";
|
60
|
+
|
61
|
+
// src/contexts/Collapsible/provider.tsx
|
62
|
+
import { useEffect, useState } from "react";
|
63
|
+
|
64
|
+
// src/contexts/Collapsible/context.ts
|
65
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
66
|
+
var CollapsibleContext = createContextEx();
|
67
|
+
|
68
|
+
// src/contexts/Collapsible/provider.tsx
|
69
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
70
|
+
var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
71
|
+
const [collapse, setCollapse] = useState(defaultCollapse);
|
72
|
+
const [collapseEnd, setCollapseEnd] = useState(defaultCollapseEnd);
|
73
|
+
useEffect(() => {
|
74
|
+
setCollapse(defaultCollapse);
|
75
|
+
}, [defaultCollapse]);
|
76
|
+
useEffect(() => {
|
77
|
+
setCollapseEnd(defaultCollapseEnd);
|
78
|
+
}, [defaultCollapseEnd]);
|
79
|
+
return /* @__PURE__ */ jsx4(CollapsibleContext.Provider, { value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }, children });
|
80
|
+
};
|
81
|
+
|
82
|
+
// src/contexts/Collapsible/use.tsx
|
83
|
+
import { useContextEx } from "@xyo-network/react-shared";
|
84
|
+
var useCollapsible = () => useContextEx(CollapsibleContext, "Collapsible", false);
|
85
|
+
|
86
|
+
// src/components/SiteMenu/hooks/useMenuItemsShared.tsx
|
87
|
+
var useMenuItemsShared = () => {
|
88
|
+
const { collapse, collapseEnd, setCollapse, setCollapseEnd } = useCollapsible();
|
89
|
+
const onMenuItemToggle = (open) => {
|
90
|
+
setCollapse == null ? void 0 : setCollapse((previous) => open ? false : previous);
|
91
|
+
setCollapseEnd == null ? void 0 : setCollapseEnd((previous) => open ? false : previous);
|
92
|
+
};
|
93
|
+
const defaultSiteMenuListItemProps = useMemo(
|
94
|
+
() => ({
|
95
|
+
collapseEnd,
|
96
|
+
dense: true,
|
97
|
+
iconOnly: collapse,
|
98
|
+
sx: {
|
99
|
+
px: "8px"
|
100
|
+
}
|
101
|
+
}),
|
102
|
+
[collapse, collapseEnd]
|
103
|
+
);
|
104
|
+
return { defaultSiteMenuListItemProps, onMenuItemToggle };
|
105
|
+
};
|
106
|
+
|
107
|
+
// src/components/SiteMenu/Menu.tsx
|
108
|
+
import { Menu as MenuIcon2, Settings as SettingsIcon } from "@mui/icons-material";
|
109
|
+
import { IconButton as IconButton2, List as List2, SwipeableDrawer } from "@mui/material";
|
110
|
+
import { FlexRow as FlexRow3 } from "@xylabs/react-flexbox";
|
111
|
+
import { useEffect as useEffect2, useState as useState3 } from "react";
|
112
|
+
|
113
|
+
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
114
|
+
import { ListItemText, useTheme as useTheme4 } from "@mui/material";
|
115
|
+
import { FlexRow as FlexRow2 } from "@xylabs/react-flexbox";
|
116
|
+
import { LinkEx as LinkEx2 } from "@xylabs/react-link";
|
117
|
+
import { useState as useState2 } from "react";
|
118
|
+
|
119
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
|
120
|
+
import { Tooltip } from "@mui/material";
|
121
|
+
import { FlexCol } from "@xylabs/react-flexbox";
|
122
|
+
import { VscInfo } from "react-icons/vsc/index.js";
|
123
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
124
|
+
var ListItemTooltip = ({ title, ...props }) => {
|
125
|
+
return /* @__PURE__ */ jsx5(Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ jsx5("div", { children: /* @__PURE__ */ jsx5(FlexCol, { justifyContent: "center", children: /* @__PURE__ */ jsx5(VscInfo, { color: "grey" }) }) }) });
|
126
|
+
};
|
127
|
+
|
128
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
|
129
|
+
import { Typography as Typography2 } from "@mui/material";
|
130
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
131
|
+
var MenuIcon = ({ icon, ...props }) => {
|
132
|
+
return /* @__PURE__ */ jsx6(Typography2, { display: "flex", ...props, children: icon });
|
133
|
+
};
|
134
|
+
|
135
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
136
|
+
import { ListItem } from "@mui/material";
|
137
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
138
|
+
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
139
|
+
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
140
|
+
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
141
|
+
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
142
|
+
return /* @__PURE__ */ jsx7(ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
143
|
+
};
|
144
|
+
|
145
|
+
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
146
|
+
import { Collapse, List } from "@mui/material";
|
147
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
148
|
+
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
149
|
+
return /* @__PURE__ */ jsx8(Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ jsx8(List, { children }) });
|
150
|
+
};
|
151
|
+
|
152
|
+
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
153
|
+
import { IconButton, useTheme as useTheme3 } from "@mui/material";
|
154
|
+
import { VscChevronDown } from "react-icons/vsc/index.js";
|
155
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
156
|
+
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
157
|
+
const theme = useTheme3();
|
158
|
+
return /* @__PURE__ */ jsx9(
|
159
|
+
IconButton,
|
160
|
+
{
|
161
|
+
onClick: (event) => {
|
162
|
+
event.stopPropagation();
|
163
|
+
setOpenSubNav == null ? void 0 : setOpenSubNav(!openSubNav);
|
164
|
+
},
|
165
|
+
sx: { marginRight: theme.spacing(0.5) },
|
166
|
+
children: /* @__PURE__ */ jsx9(VscChevronDown, { fontSize: "16px" })
|
167
|
+
}
|
168
|
+
);
|
169
|
+
};
|
170
|
+
|
171
|
+
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
172
|
+
import { Fragment, jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
|
173
|
+
var MenuListItemContainer = ({
|
174
|
+
style,
|
175
|
+
icon,
|
176
|
+
iconMenuTextSpacing,
|
177
|
+
iconOnly,
|
178
|
+
onButtonClick,
|
179
|
+
primary,
|
180
|
+
subNavListItems,
|
181
|
+
sx,
|
182
|
+
tooltip,
|
183
|
+
to,
|
184
|
+
...props
|
185
|
+
}) => {
|
186
|
+
const { dense } = props;
|
187
|
+
const theme = useTheme4();
|
188
|
+
const { collapse } = useCollapsible();
|
189
|
+
const [openSubNav, setOpenSubNav] = useState2(false);
|
190
|
+
const [hovered, setHovered] = useState2(false);
|
191
|
+
const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
|
192
|
+
return /* @__PURE__ */ jsxs2(Fragment, { children: [
|
193
|
+
/* @__PURE__ */ jsxs2(
|
194
|
+
MenuListItem,
|
195
|
+
{
|
196
|
+
disableGutters: true,
|
197
|
+
iconOnly,
|
198
|
+
onClick: onButtonClick,
|
199
|
+
dense,
|
200
|
+
sx: { justifyContent: "space-between", ...sx },
|
201
|
+
style: { whiteSpace: "nowrap", ...style },
|
202
|
+
...props,
|
203
|
+
children: [
|
204
|
+
/* @__PURE__ */ jsx10(
|
205
|
+
LinkEx2,
|
206
|
+
{
|
207
|
+
onMouseEnter: () => setHovered(true),
|
208
|
+
onMouseLeave: () => setHovered(false),
|
209
|
+
color: "inherit",
|
210
|
+
to,
|
211
|
+
sx: {
|
212
|
+
"& :hover": {
|
213
|
+
cursor: "pointer",
|
214
|
+
textDecoration: "underline"
|
215
|
+
}
|
216
|
+
},
|
217
|
+
children: /* @__PURE__ */ jsxs2(FlexRow2, { children: [
|
218
|
+
/* @__PURE__ */ jsx10(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
|
219
|
+
/* @__PURE__ */ jsx10(ListItemText, { primary })
|
220
|
+
] })
|
221
|
+
}
|
222
|
+
),
|
223
|
+
/* @__PURE__ */ jsxs2(FlexRow2, { style: { marginLeft: theme.spacing(1) }, children: [
|
224
|
+
subNavListItems ? /* @__PURE__ */ jsx10(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
|
225
|
+
tooltip ? /* @__PURE__ */ jsx10(ListItemTooltip, { title: tooltip }) : null
|
226
|
+
] })
|
227
|
+
]
|
228
|
+
}
|
229
|
+
),
|
230
|
+
subNavListItems ? /* @__PURE__ */ jsx10(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems == null ? void 0 : subNavListItems.map((item, index) => /* @__PURE__ */ jsx10(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
|
231
|
+
] });
|
232
|
+
};
|
233
|
+
|
234
|
+
// src/components/SiteMenu/Menu.tsx
|
235
|
+
import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
236
|
+
var SiteMenu = ({ children, onMenuToggle, side = "right", ...props }) => {
|
237
|
+
const [open, setOpen] = useState3(false);
|
238
|
+
useEffect2(() => {
|
239
|
+
onMenuToggle == null ? void 0 : onMenuToggle(open);
|
240
|
+
}, [onMenuToggle, open]);
|
241
|
+
return /* @__PURE__ */ jsxs3(FlexRow3, { alignItems: "stretch", ...props, children: [
|
242
|
+
/* @__PURE__ */ jsx11(
|
243
|
+
IconButton2,
|
244
|
+
{
|
245
|
+
size: "small",
|
246
|
+
color: "inherit",
|
247
|
+
onClick: () => {
|
248
|
+
setOpen(!open);
|
249
|
+
},
|
250
|
+
children: /* @__PURE__ */ jsx11(MenuIcon2, { fontSize: "large" })
|
251
|
+
}
|
252
|
+
),
|
253
|
+
/* @__PURE__ */ jsx11(
|
254
|
+
SwipeableDrawer,
|
255
|
+
{
|
256
|
+
anchor: side,
|
257
|
+
open,
|
258
|
+
onClick: () => setOpen(false),
|
259
|
+
onKeyDown: () => setOpen(false),
|
260
|
+
onClose: () => setOpen(false),
|
261
|
+
onOpen: () => setOpen(true),
|
262
|
+
children: children ?? /* @__PURE__ */ jsx11(List2, { children: /* @__PURE__ */ jsx11(MenuListItemContainer, { primary: "Settings", icon: /* @__PURE__ */ jsx11(SettingsIcon, {}), to: "/settings" }) })
|
263
|
+
}
|
264
|
+
)
|
265
|
+
] });
|
266
|
+
};
|
267
|
+
|
268
|
+
// src/components/SiteMenu/MenuSection.tsx
|
269
|
+
import { Collapse as Collapse2, ListSubheader } from "@mui/material";
|
270
|
+
import { FlexCol as FlexCol2 } from "@xylabs/react-flexbox";
|
271
|
+
import { jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
272
|
+
var MenuSection = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {
|
273
|
+
return /* @__PURE__ */ jsxs4(FlexCol2, { alignItems: "stretch", ...props, children: [
|
274
|
+
/* @__PURE__ */ jsx12(Collapse2, { in: showTitle, timeout: 700, children: /* @__PURE__ */ jsx12(ListSubheader, { children: title }) }),
|
275
|
+
listItems.map((item, index) => /* @__PURE__ */ jsx12(MenuListItemContainer, { iconMenuTextSpacing, ...item }, index))
|
276
|
+
] });
|
277
|
+
};
|
278
|
+
|
279
|
+
// src/components/Toolbar/System/SystemToolbar.tsx
|
280
|
+
import { jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
|
281
|
+
var SystemToolbar = ({
|
282
|
+
children,
|
283
|
+
darkModeButton = false,
|
284
|
+
hideNetworkSelect,
|
285
|
+
menuItems,
|
286
|
+
networkSelectProps,
|
287
|
+
onMenuToggle,
|
288
|
+
precedingChildren,
|
289
|
+
...props
|
290
|
+
}) => {
|
291
|
+
return /* @__PURE__ */ jsxs5(Toolbar2, { ...props, children: [
|
292
|
+
precedingChildren,
|
293
|
+
hideNetworkSelect ? null : /* @__PURE__ */ jsx13(FlexRow4, { marginX: 0.5, children: /* @__PURE__ */ jsx13(Paper, { variant: "elevation", children: /* @__PURE__ */ jsx13(NetworkSelectEx, { fullWidth: true, ...networkSelectProps }) }) }),
|
294
|
+
children,
|
295
|
+
darkModeButton ? /* @__PURE__ */ jsx13(DarkModeIconButton, { color: "inherit" }) : null,
|
296
|
+
menuItems ? /* @__PURE__ */ jsx13(SiteMenu, { onMenuToggle, children: menuItems }) : null
|
297
|
+
] });
|
298
|
+
};
|
299
|
+
|
300
|
+
// src/components/AppBar/Application.tsx
|
301
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
302
|
+
var ApplicationAppBar = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {
|
303
|
+
return /* @__PURE__ */ jsx14(
|
304
|
+
AppBarEx,
|
305
|
+
{
|
306
|
+
systemToolbar: systemToolbar ?? /* @__PURE__ */ jsx14(SystemToolbar, {}),
|
307
|
+
contextToolbar: contextToolbar ?? /* @__PURE__ */ jsx14(ContextToolbar, {}),
|
308
|
+
position: "sticky",
|
309
|
+
responsive,
|
310
|
+
...props
|
311
|
+
}
|
312
|
+
);
|
313
|
+
};
|
314
|
+
|
315
|
+
// src/components/CollapsibleDrawer/CollapseToggle.tsx
|
316
|
+
import { Icon, useTheme as useTheme5 } from "@mui/material";
|
317
|
+
import { FlexRow as FlexRow5 } from "@xylabs/react-flexbox";
|
318
|
+
import { useState as useState4 } from "react";
|
319
|
+
import { VscArrowSmallLeft, VscArrowSmallRight } from "react-icons/vsc/index.js";
|
320
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
321
|
+
var CollapseToggleFlex = (props) => {
|
322
|
+
const { collapse, setCollapse, setCollapseEnd } = useCollapsible();
|
323
|
+
const [hover, setHover] = useState4(false);
|
324
|
+
const theme = useTheme5();
|
325
|
+
const handleCollapseToggle = () => {
|
326
|
+
setCollapse == null ? void 0 : setCollapse(!collapse);
|
327
|
+
setCollapseEnd == null ? void 0 : setCollapseEnd((previous) => previous ? false : previous);
|
328
|
+
};
|
329
|
+
return /* @__PURE__ */ jsx15(FlexRow5, { mt: 2, py: 2, justifyContent: collapse ? "start" : "center", ...props, children: /* @__PURE__ */ jsx15(
|
330
|
+
Icon,
|
331
|
+
{
|
332
|
+
onClick: handleCollapseToggle,
|
333
|
+
onMouseEnter: () => setHover(true),
|
334
|
+
onMouseLeave: () => setHover(false),
|
335
|
+
fontSize: "large",
|
336
|
+
sx: { color: hover ? theme.palette.secondary.main : "inherit", cursor: "pointer" },
|
337
|
+
children: !collapse ? /* @__PURE__ */ jsx15(VscArrowSmallLeft, {}) : /* @__PURE__ */ jsx15(VscArrowSmallRight, {})
|
338
|
+
}
|
339
|
+
) });
|
340
|
+
};
|
341
|
+
|
342
|
+
// src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
|
343
|
+
import { Collapse as Collapse3, styled, useTheme as useTheme6 } from "@mui/material";
|
344
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
345
|
+
var CollapsibleDrawer = ({ children, sx, ...props }) => {
|
346
|
+
const { collapse, setCollapseEnd } = useCollapsible();
|
347
|
+
const theme = useTheme6();
|
348
|
+
const collapsedSize = props.collapsedSize ?? theme.spacing(5);
|
349
|
+
return /* @__PURE__ */ jsx16(
|
350
|
+
CollapsibleFlexInner,
|
351
|
+
{
|
352
|
+
in: !collapse,
|
353
|
+
orientation: "horizontal",
|
354
|
+
collapsedSize,
|
355
|
+
onExited: () => setCollapseEnd == null ? void 0 : setCollapseEnd(true),
|
356
|
+
sx: {
|
357
|
+
alignItems: "start",
|
358
|
+
display: "flex",
|
359
|
+
height: "100%",
|
360
|
+
...sx
|
361
|
+
},
|
362
|
+
...props,
|
363
|
+
children
|
364
|
+
}
|
365
|
+
);
|
366
|
+
};
|
367
|
+
var CollapsibleFlexInner = styled(Collapse3)(() => ({
|
368
|
+
"& .MuiCollapse-wrapperInner": {
|
369
|
+
display: "flex",
|
370
|
+
flexDirection: "column"
|
371
|
+
}
|
372
|
+
}));
|
373
|
+
|
374
|
+
// src/components/MobileSystemControls/SystemControls.tsx
|
375
|
+
import { FlexCol as FlexCol5 } from "@xylabs/react-flexbox";
|
376
|
+
|
377
|
+
// src/components/MobileSystemControls/SystemControlsRoot.tsx
|
378
|
+
import { styled as styled2 } from "@mui/material";
|
379
|
+
|
380
|
+
// src/components/MobileSystemControls/SystemControlsType.ts
|
381
|
+
var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
|
382
|
+
SystemControlsType2["Left"] = "Left";
|
383
|
+
SystemControlsType2["Right"] = "Right";
|
384
|
+
SystemControlsType2["WindowShade"] = "WindowShade";
|
385
|
+
return SystemControlsType2;
|
386
|
+
})(SystemControlsType || {});
|
387
|
+
|
388
|
+
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
389
|
+
import { Paper as Paper2, useMediaQuery } from "@mui/material";
|
390
|
+
import { FlexCol as FlexCol4, FlexRow as FlexRow7 } from "@xylabs/react-flexbox";
|
391
|
+
import { NetworkSelectEx as NetworkSelectEx2 } from "@xyo-network/react-network";
|
392
|
+
|
393
|
+
// src/components/MobileSystemControls/controls/SystemControl.tsx
|
394
|
+
import { Collapse as Collapse4 } from "@mui/material";
|
395
|
+
import { FlexCol as FlexCol3, FlexRow as FlexRow6 } from "@xylabs/react-flexbox";
|
396
|
+
import { useState as useState5 } from "react";
|
397
|
+
import { jsx as jsx17, jsxs as jsxs6 } from "react/jsx-runtime";
|
398
|
+
var SystemControl = ({
|
399
|
+
children,
|
400
|
+
controlElement,
|
401
|
+
systemControlsType = "WindowShade" /* WindowShade */,
|
402
|
+
...props
|
403
|
+
}) => {
|
404
|
+
const [toggleControls, setToggleControls] = useState5(false);
|
405
|
+
let orientation = "vertical";
|
406
|
+
switch (systemControlsType) {
|
407
|
+
case "Left" /* Left */: {
|
408
|
+
orientation = "horizontal";
|
409
|
+
break;
|
410
|
+
}
|
411
|
+
}
|
412
|
+
return /* @__PURE__ */ jsxs6(FlexRow6, { className: "controls", ...props, children: [
|
413
|
+
/* @__PURE__ */ jsx17(Collapse4, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx17(FlexRow6, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
414
|
+
/* @__PURE__ */ jsx17(FlexCol3, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
415
|
+
] });
|
416
|
+
};
|
417
|
+
|
418
|
+
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
419
|
+
import { Fragment as Fragment2, jsx as jsx18 } from "react/jsx-runtime";
|
420
|
+
var SystemControlsUnstyled = ({
|
421
|
+
visible,
|
422
|
+
systemControlsType = "WindowShade" /* WindowShade */,
|
423
|
+
...props
|
424
|
+
}) => {
|
425
|
+
const isSmall = useMediaQuery((theme) => theme.breakpoints.down("sm"));
|
426
|
+
if (visible || isSmall) {
|
427
|
+
return /* @__PURE__ */ jsx18(FlexCol4, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ jsx18(
|
428
|
+
SystemControl,
|
429
|
+
{
|
430
|
+
systemControlsType,
|
431
|
+
controlElement: /* @__PURE__ */ jsx18(Fragment2, { children: /* @__PURE__ */ jsx18(FlexRow7, { className: "control-wrap", children: /* @__PURE__ */ jsx18(Paper2, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ jsx18(NetworkSelectEx2, { responsive: false, className: "network-ex" }) }) }) })
|
432
|
+
}
|
433
|
+
) });
|
434
|
+
} else {
|
435
|
+
return /* @__PURE__ */ jsx18(FlexCol4, {});
|
436
|
+
}
|
437
|
+
};
|
438
|
+
|
439
|
+
// src/components/MobileSystemControls/SystemControlsRoot.tsx
|
440
|
+
var SystemControlsRoot = styled2(SystemControlsUnstyled, { name: "SystemControls", slot: "Root" })(({ theme }) => ({
|
441
|
+
// shared defaults
|
442
|
+
["&"]: {
|
443
|
+
".toggle": {
|
444
|
+
backgroundColor: theme.palette.primary.main
|
445
|
+
},
|
446
|
+
alignItems: "start",
|
447
|
+
zIndex: 1
|
448
|
+
},
|
449
|
+
// WindowShade System Controls styles
|
450
|
+
[`&.system-controls-type-${"WindowShade" /* WindowShade */}`]: {
|
451
|
+
".control": {
|
452
|
+
borderRadius: "0 0 5px 5px",
|
453
|
+
flexDirection: "row",
|
454
|
+
flexGrow: 1,
|
455
|
+
justifyContent: "space-around",
|
456
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
457
|
+
},
|
458
|
+
".controls": {
|
459
|
+
alignItems: "stretch",
|
460
|
+
flexDirection: "column",
|
461
|
+
flexGrow: 1
|
462
|
+
},
|
463
|
+
".toggle": {
|
464
|
+
borderRadius: "0 0 5px 5px",
|
465
|
+
padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`
|
466
|
+
},
|
467
|
+
flexDirection: "row",
|
468
|
+
position: "absolute",
|
469
|
+
top: 0,
|
470
|
+
width: "100%"
|
471
|
+
},
|
472
|
+
// Left System Control styles
|
473
|
+
[`&.system-controls-type-${"Left" /* Left */}`]: {
|
474
|
+
".control": {
|
475
|
+
alignItems: "start",
|
476
|
+
flexDirection: "column",
|
477
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
478
|
+
},
|
479
|
+
".control-wrap": {
|
480
|
+
marginBottom: `${theme.spacing(2)}`
|
481
|
+
},
|
482
|
+
".toggle": {
|
483
|
+
borderRadius: "0 5px 5px 0",
|
484
|
+
padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
|
485
|
+
writingMode: "vertical-rl"
|
486
|
+
},
|
487
|
+
flexDirection: "column",
|
488
|
+
left: 0,
|
489
|
+
position: "fixed",
|
490
|
+
top: "30vh",
|
491
|
+
width: "auto"
|
11
492
|
}
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
var
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
//
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
}
|
493
|
+
}));
|
494
|
+
|
495
|
+
// src/components/MobileSystemControls/SystemControls.tsx
|
496
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
497
|
+
var SystemControls = (props) => {
|
498
|
+
return /* @__PURE__ */ jsx19(FlexCol5, { children: /* @__PURE__ */ jsx19(SystemControlsRoot, { ...props }) });
|
499
|
+
};
|
500
|
+
|
501
|
+
// src/components/SearchBar/SearchBar.tsx
|
502
|
+
import { Search as SearchIcon } from "@mui/icons-material";
|
503
|
+
import { Paper as Paper3, TextField } from "@mui/material";
|
504
|
+
import { ButtonEx } from "@xylabs/react-button";
|
505
|
+
import { FlexRow as FlexRow8 } from "@xylabs/react-flexbox";
|
506
|
+
import { useState as useState6 } from "react";
|
507
|
+
import { jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
|
508
|
+
var SearchBar = ({ defaultValue, onSearch, ...props }) => {
|
509
|
+
const [term, setTerm] = useState6();
|
510
|
+
return /* @__PURE__ */ jsx20(FlexRow8, { alignItems: "stretch", ...props, children: /* @__PURE__ */ jsxs7(Paper3, { variant: "elevation", elevation: 0, style: { display: "flex", overflow: "hidden", width: "100%" }, children: [
|
511
|
+
/* @__PURE__ */ jsx20(
|
512
|
+
TextField,
|
513
|
+
{
|
514
|
+
InputProps: { color: "secondary", style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } },
|
515
|
+
variant: "outlined",
|
516
|
+
size: "small",
|
517
|
+
defaultValue,
|
518
|
+
fullWidth: true,
|
519
|
+
onChange: (event) => setTerm(event.target.value),
|
520
|
+
onKeyDown: (event) => {
|
521
|
+
if (event.key === "Enter")
|
522
|
+
onSearch == null ? void 0 : onSearch(term);
|
523
|
+
}
|
524
|
+
}
|
525
|
+
),
|
526
|
+
/* @__PURE__ */ jsx20(ButtonEx, { variant: "contained", style: { borderRadius: 0, borderTopLeftRadius: 0 }, color: "secondary", onClick: () => onSearch == null ? void 0 : onSearch(term), children: /* @__PURE__ */ jsx20(SearchIcon, {}) })
|
527
|
+
] }) });
|
528
|
+
};
|
529
|
+
export {
|
530
|
+
ApplicationAppBar,
|
531
|
+
CollapseToggleFlex,
|
532
|
+
CollapsibleDrawer,
|
533
|
+
CollapsibleProvider,
|
534
|
+
ContextToolbar,
|
535
|
+
MenuListItemContainer,
|
536
|
+
MenuSection,
|
537
|
+
SearchBar,
|
538
|
+
SiteMenu,
|
539
|
+
SystemControls,
|
540
|
+
SystemControlsType,
|
541
|
+
SystemControlsUnstyled,
|
542
|
+
SystemToolbar,
|
543
|
+
useCollapsible,
|
544
|
+
useMenuItemsShared
|
545
|
+
};
|
25
546
|
//# sourceMappingURL=index.js.map
|