@xyo-network/react-appbar 2.75.6 → 2.76.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/neutral/components/AppBar/Application.d.cts +10 -0
- package/dist/neutral/components/AppBar/Application.d.cts.map +1 -0
- package/dist/neutral/components/AppBar/Application.d.mts +10 -0
- package/dist/neutral/components/AppBar/Application.d.mts.map +1 -0
- package/dist/neutral/components/AppBar/Application.d.ts +10 -0
- package/dist/neutral/components/AppBar/Application.d.ts.map +1 -0
- package/dist/neutral/components/AppBar/index.d.cts +2 -0
- package/dist/neutral/components/AppBar/index.d.cts.map +1 -0
- package/dist/neutral/components/AppBar/index.d.mts +2 -0
- package/dist/neutral/components/AppBar/index.d.mts.map +1 -0
- package/dist/neutral/components/AppBar/index.d.ts +2 -0
- package/dist/neutral/components/AppBar/index.d.ts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapseToggle.d.mts +4 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapseToggle.d.ts +4 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapsibleDrawer.d.mts +5 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapsibleDrawer.d.mts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapsibleDrawer.d.ts +5 -0
- package/dist/neutral/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/index.d.cts +3 -0
- package/dist/neutral/components/CollapsibleDrawer/index.d.cts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/index.d.mts +3 -0
- package/dist/neutral/components/CollapsibleDrawer/index.d.mts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/index.d.ts +3 -0
- package/dist/neutral/components/CollapsibleDrawer/index.d.ts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
- package/dist/neutral/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/storyExampleMenuData.d.mts +4 -0
- package/dist/neutral/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -0
- package/dist/neutral/components/CollapsibleDrawer/storyExampleMenuData.d.ts +4 -0
- package/dist/neutral/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControls.d.cts +5 -0
- package/dist/neutral/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControls.d.mts +5 -0
- package/dist/neutral/components/MobileSystemControls/SystemControls.d.mts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControls.d.ts +5 -0
- package/dist/neutral/components/MobileSystemControls/SystemControls.d.ts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsRoot.d.mts +4 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsRoot.d.mts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsRoot.d.ts +4 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsRoot.d.ts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsType.d.mts +6 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsType.d.mts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsType.d.ts +6 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsType.d.ts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsUnstyled.d.mts +11 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsUnstyled.d.mts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsUnstyled.d.ts +11 -0
- package/dist/neutral/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControl.d.mts +11 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControl.d.mts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControl.d.ts +11 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControl.d.ts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControlText.d.mts +8 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControlText.d.mts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControlText.d.ts +8 -0
- package/dist/neutral/components/MobileSystemControls/controls/SystemControlText.d.ts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/index.d.cts +3 -0
- package/dist/neutral/components/MobileSystemControls/controls/index.d.cts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/index.d.mts +3 -0
- package/dist/neutral/components/MobileSystemControls/controls/index.d.mts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/controls/index.d.ts +3 -0
- package/dist/neutral/components/MobileSystemControls/controls/index.d.ts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/index.d.cts +4 -0
- package/dist/neutral/components/MobileSystemControls/index.d.cts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/index.d.mts +4 -0
- package/dist/neutral/components/MobileSystemControls/index.d.mts.map +1 -0
- package/dist/neutral/components/MobileSystemControls/index.d.ts +4 -0
- package/dist/neutral/components/MobileSystemControls/index.d.ts.map +1 -0
- package/dist/neutral/components/SearchBar/SearchBar.d.cts +7 -0
- package/dist/neutral/components/SearchBar/SearchBar.d.cts.map +1 -0
- package/dist/neutral/components/SearchBar/SearchBar.d.mts +7 -0
- package/dist/neutral/components/SearchBar/SearchBar.d.mts.map +1 -0
- package/dist/neutral/components/SearchBar/SearchBar.d.ts +7 -0
- package/dist/neutral/components/SearchBar/SearchBar.d.ts.map +1 -0
- package/dist/neutral/components/SearchBar/index.d.cts +2 -0
- package/dist/neutral/components/SearchBar/index.d.cts.map +1 -0
- package/dist/neutral/components/SearchBar/index.d.mts +2 -0
- package/dist/neutral/components/SearchBar/index.d.mts.map +1 -0
- package/dist/neutral/components/SearchBar/index.d.ts +2 -0
- package/dist/neutral/components/SearchBar/index.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/Menu.d.cts +9 -0
- package/dist/neutral/components/SiteMenu/Menu.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/Menu.d.mts +9 -0
- package/dist/neutral/components/SiteMenu/Menu.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/Menu.d.ts +9 -0
- package/dist/neutral/components/SiteMenu/Menu.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/MenuListItemContainer.d.mts +11 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/MenuListItemContainer.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts +11 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/index.d.cts +2 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/index.d.mts +2 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/index.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/index.d.ts +2 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/index.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.mts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.mts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts +7 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/index.d.mts +4 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/index.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/index.d.ts +4 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/list-item-components/index.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.mts +11 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts +11 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts +8 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts +8 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/index.d.mts +3 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/index.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/index.d.ts +3 -0
- package/dist/neutral/components/SiteMenu/MenuListItem/sub-nav/index.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuSection.d.cts +11 -0
- package/dist/neutral/components/SiteMenu/MenuSection.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuSection.d.mts +11 -0
- package/dist/neutral/components/SiteMenu/MenuSection.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/MenuSection.d.ts +11 -0
- package/dist/neutral/components/SiteMenu/MenuSection.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/hooks/index.d.cts +2 -0
- package/dist/neutral/components/SiteMenu/hooks/index.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/hooks/index.d.mts +2 -0
- package/dist/neutral/components/SiteMenu/hooks/index.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/hooks/index.d.ts +2 -0
- package/dist/neutral/components/SiteMenu/hooks/index.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
- package/dist/neutral/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/hooks/useMenuItemsShared.d.mts +7 -0
- package/dist/neutral/components/SiteMenu/hooks/useMenuItemsShared.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/hooks/useMenuItemsShared.d.ts +7 -0
- package/dist/neutral/components/SiteMenu/hooks/useMenuItemsShared.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/index.d.cts +6 -0
- package/dist/neutral/components/SiteMenu/index.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/index.d.mts +6 -0
- package/dist/neutral/components/SiteMenu/index.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/index.d.ts +6 -0
- package/dist/neutral/components/SiteMenu/index.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
- package/dist/neutral/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/MenuListItemBase.d.mts +5 -0
- package/dist/neutral/components/SiteMenu/lib/MenuListItemBase.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/MenuListItemBase.d.ts +5 -0
- package/dist/neutral/components/SiteMenu/lib/MenuListItemBase.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
- package/dist/neutral/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/NavListItemProps.d.mts +12 -0
- package/dist/neutral/components/SiteMenu/lib/NavListItemProps.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/NavListItemProps.d.ts +12 -0
- package/dist/neutral/components/SiteMenu/lib/NavListItemProps.d.ts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/index.d.cts +3 -0
- package/dist/neutral/components/SiteMenu/lib/index.d.cts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/index.d.mts +3 -0
- package/dist/neutral/components/SiteMenu/lib/index.d.mts.map +1 -0
- package/dist/neutral/components/SiteMenu/lib/index.d.ts +3 -0
- package/dist/neutral/components/SiteMenu/lib/index.d.ts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
- package/dist/neutral/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/ContextToolbar.d.mts +9 -0
- package/dist/neutral/components/Toolbar/Context/ContextToolbar.d.mts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/ContextToolbar.d.ts +9 -0
- package/dist/neutral/components/Toolbar/Context/ContextToolbar.d.ts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/Logo.d.cts +3 -0
- package/dist/neutral/components/Toolbar/Context/Logo.d.cts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/Logo.d.mts +3 -0
- package/dist/neutral/components/Toolbar/Context/Logo.d.mts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/Logo.d.ts +3 -0
- package/dist/neutral/components/Toolbar/Context/Logo.d.ts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
- package/dist/neutral/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/LogoLinkEx.d.mts +7 -0
- package/dist/neutral/components/Toolbar/Context/LogoLinkEx.d.mts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/LogoLinkEx.d.ts +7 -0
- package/dist/neutral/components/Toolbar/Context/LogoLinkEx.d.ts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/index.d.cts +2 -0
- package/dist/neutral/components/Toolbar/Context/index.d.cts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/index.d.mts +2 -0
- package/dist/neutral/components/Toolbar/Context/index.d.mts.map +1 -0
- package/dist/neutral/components/Toolbar/Context/index.d.ts +2 -0
- package/dist/neutral/components/Toolbar/Context/index.d.ts.map +1 -0
- package/dist/neutral/components/Toolbar/System/SystemToolbar.d.cts +15 -0
- package/dist/neutral/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
- package/dist/neutral/components/Toolbar/System/SystemToolbar.d.mts +15 -0
- package/dist/neutral/components/Toolbar/System/SystemToolbar.d.mts.map +1 -0
- package/dist/neutral/components/Toolbar/System/SystemToolbar.d.ts +15 -0
- package/dist/neutral/components/Toolbar/System/SystemToolbar.d.ts.map +1 -0
- package/dist/neutral/components/Toolbar/System/index.d.cts +2 -0
- package/dist/neutral/components/Toolbar/System/index.d.cts.map +1 -0
- package/dist/neutral/components/Toolbar/System/index.d.mts +2 -0
- package/dist/neutral/components/Toolbar/System/index.d.mts.map +1 -0
- package/dist/neutral/components/Toolbar/System/index.d.ts +2 -0
- package/dist/neutral/components/Toolbar/System/index.d.ts.map +1 -0
- package/dist/neutral/components/Toolbar/index.d.cts +3 -0
- package/dist/neutral/components/Toolbar/index.d.cts.map +1 -0
- package/dist/neutral/components/Toolbar/index.d.mts +3 -0
- package/dist/neutral/components/Toolbar/index.d.mts.map +1 -0
- package/dist/neutral/components/Toolbar/index.d.ts +3 -0
- package/dist/neutral/components/Toolbar/index.d.ts.map +1 -0
- package/dist/neutral/components/index.d.cts +7 -0
- package/dist/neutral/components/index.d.cts.map +1 -0
- package/dist/neutral/components/index.d.mts +7 -0
- package/dist/neutral/components/index.d.mts.map +1 -0
- package/dist/neutral/components/index.d.ts +7 -0
- package/dist/neutral/components/index.d.ts.map +1 -0
- package/dist/neutral/contexts/Collapsible/State.d.cts +9 -0
- package/dist/neutral/contexts/Collapsible/State.d.cts.map +1 -0
- package/dist/neutral/contexts/Collapsible/State.d.mts +9 -0
- package/dist/neutral/contexts/Collapsible/State.d.mts.map +1 -0
- package/dist/neutral/contexts/Collapsible/State.d.ts +9 -0
- package/dist/neutral/contexts/Collapsible/State.d.ts.map +1 -0
- package/dist/neutral/contexts/Collapsible/context.d.cts +4 -0
- package/dist/neutral/contexts/Collapsible/context.d.cts.map +1 -0
- package/dist/neutral/contexts/Collapsible/context.d.mts +4 -0
- package/dist/neutral/contexts/Collapsible/context.d.mts.map +1 -0
- package/dist/neutral/contexts/Collapsible/context.d.ts +4 -0
- package/dist/neutral/contexts/Collapsible/context.d.ts.map +1 -0
- package/dist/neutral/contexts/Collapsible/index.d.cts +4 -0
- package/dist/neutral/contexts/Collapsible/index.d.cts.map +1 -0
- package/dist/neutral/contexts/Collapsible/index.d.mts +4 -0
- package/dist/neutral/contexts/Collapsible/index.d.mts.map +1 -0
- package/dist/neutral/contexts/Collapsible/index.d.ts +4 -0
- package/dist/neutral/contexts/Collapsible/index.d.ts.map +1 -0
- package/dist/neutral/contexts/Collapsible/provider.d.cts +8 -0
- package/dist/neutral/contexts/Collapsible/provider.d.cts.map +1 -0
- package/dist/neutral/contexts/Collapsible/provider.d.mts +8 -0
- package/dist/neutral/contexts/Collapsible/provider.d.mts.map +1 -0
- package/dist/neutral/contexts/Collapsible/provider.d.ts +8 -0
- package/dist/neutral/contexts/Collapsible/provider.d.ts.map +1 -0
- package/dist/neutral/contexts/Collapsible/use.d.cts +2 -0
- package/dist/neutral/contexts/Collapsible/use.d.cts.map +1 -0
- package/dist/neutral/contexts/Collapsible/use.d.mts +2 -0
- package/dist/neutral/contexts/Collapsible/use.d.mts.map +1 -0
- package/dist/neutral/contexts/Collapsible/use.d.ts +2 -0
- package/dist/neutral/contexts/Collapsible/use.d.ts.map +1 -0
- package/dist/neutral/contexts/index.d.cts +2 -0
- package/dist/neutral/contexts/index.d.cts.map +1 -0
- package/dist/neutral/contexts/index.d.mts +2 -0
- package/dist/neutral/contexts/index.d.mts.map +1 -0
- package/dist/neutral/contexts/index.d.ts +2 -0
- package/dist/neutral/contexts/index.d.ts.map +1 -0
- package/dist/neutral/index.cjs +565 -0
- package/dist/neutral/index.cjs.map +1 -0
- package/dist/neutral/index.d.cts +3 -0
- package/dist/neutral/index.d.cts.map +1 -0
- package/dist/neutral/index.d.mts +3 -0
- package/dist/neutral/index.d.mts.map +1 -0
- package/dist/neutral/index.d.ts +3 -0
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.js +542 -0
- package/dist/neutral/index.js.map +1 -0
- package/package.json +14 -14
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
|
@@ -0,0 +1,542 @@
|
|
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?.((previous) => open ? false : previous);
|
91
|
+
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";
|
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";
|
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?.(!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 ?? 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?.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?.(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";
|
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?.(!collapse);
|
327
|
+
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(VscArrowSmallRight, {}) : /* @__PURE__ */ jsx15(VscArrowSmallLeft, {})
|
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?.(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
|
+
return visible || isSmall ? /* @__PURE__ */ jsx18(FlexCol4, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ jsx18(
|
427
|
+
SystemControl,
|
428
|
+
{
|
429
|
+
systemControlsType,
|
430
|
+
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" }) }) }) })
|
431
|
+
}
|
432
|
+
) }) : /* @__PURE__ */ jsx18(FlexCol4, {});
|
433
|
+
};
|
434
|
+
|
435
|
+
// src/components/MobileSystemControls/SystemControlsRoot.tsx
|
436
|
+
var SystemControlsRoot = styled2(SystemControlsUnstyled, { name: "SystemControls", slot: "Root" })(({ theme }) => ({
|
437
|
+
// shared defaults
|
438
|
+
["&"]: {
|
439
|
+
".toggle": {
|
440
|
+
backgroundColor: theme.palette.primary.main
|
441
|
+
},
|
442
|
+
alignItems: "start",
|
443
|
+
zIndex: 1
|
444
|
+
},
|
445
|
+
// WindowShade System Controls styles
|
446
|
+
[`&.system-controls-type-${"WindowShade" /* WindowShade */}`]: {
|
447
|
+
".control": {
|
448
|
+
borderRadius: "0 0 5px 5px",
|
449
|
+
flexDirection: "row",
|
450
|
+
flexGrow: 1,
|
451
|
+
justifyContent: "space-around",
|
452
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
453
|
+
},
|
454
|
+
".controls": {
|
455
|
+
alignItems: "stretch",
|
456
|
+
flexDirection: "column",
|
457
|
+
flexGrow: 1
|
458
|
+
},
|
459
|
+
".toggle": {
|
460
|
+
borderRadius: "0 0 5px 5px",
|
461
|
+
padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`
|
462
|
+
},
|
463
|
+
flexDirection: "row",
|
464
|
+
position: "absolute",
|
465
|
+
top: 0,
|
466
|
+
width: "100%"
|
467
|
+
},
|
468
|
+
// Left System Control styles
|
469
|
+
[`&.system-controls-type-${"Left" /* Left */}`]: {
|
470
|
+
".control": {
|
471
|
+
alignItems: "start",
|
472
|
+
flexDirection: "column",
|
473
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
474
|
+
},
|
475
|
+
".control-wrap": {
|
476
|
+
marginBottom: `${theme.spacing(2)}`
|
477
|
+
},
|
478
|
+
".toggle": {
|
479
|
+
borderRadius: "0 5px 5px 0",
|
480
|
+
padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
|
481
|
+
writingMode: "vertical-rl"
|
482
|
+
},
|
483
|
+
flexDirection: "column",
|
484
|
+
left: 0,
|
485
|
+
position: "fixed",
|
486
|
+
top: "30vh",
|
487
|
+
width: "auto"
|
488
|
+
}
|
489
|
+
}));
|
490
|
+
|
491
|
+
// src/components/MobileSystemControls/SystemControls.tsx
|
492
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
493
|
+
var SystemControls = (props) => {
|
494
|
+
return /* @__PURE__ */ jsx19(FlexCol5, { children: /* @__PURE__ */ jsx19(SystemControlsRoot, { ...props }) });
|
495
|
+
};
|
496
|
+
|
497
|
+
// src/components/SearchBar/SearchBar.tsx
|
498
|
+
import { Search as SearchIcon } from "@mui/icons-material";
|
499
|
+
import { Paper as Paper3, TextField } from "@mui/material";
|
500
|
+
import { ButtonEx } from "@xylabs/react-button";
|
501
|
+
import { FlexRow as FlexRow8 } from "@xylabs/react-flexbox";
|
502
|
+
import { useState as useState6 } from "react";
|
503
|
+
import { jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
|
504
|
+
var SearchBar = ({ defaultValue, onSearch, ...props }) => {
|
505
|
+
const [term, setTerm] = useState6();
|
506
|
+
return /* @__PURE__ */ jsx20(FlexRow8, { alignItems: "stretch", ...props, children: /* @__PURE__ */ jsxs7(Paper3, { variant: "elevation", elevation: 0, style: { display: "flex", overflow: "hidden", width: "100%" }, children: [
|
507
|
+
/* @__PURE__ */ jsx20(
|
508
|
+
TextField,
|
509
|
+
{
|
510
|
+
InputProps: { color: "secondary", style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } },
|
511
|
+
variant: "outlined",
|
512
|
+
size: "small",
|
513
|
+
defaultValue,
|
514
|
+
fullWidth: true,
|
515
|
+
onChange: (event) => setTerm(event.target.value),
|
516
|
+
onKeyDown: (event) => {
|
517
|
+
if (event.key === "Enter")
|
518
|
+
onSearch?.(term);
|
519
|
+
}
|
520
|
+
}
|
521
|
+
),
|
522
|
+
/* @__PURE__ */ jsx20(ButtonEx, { variant: "contained", style: { borderRadius: 0, borderTopLeftRadius: 0 }, color: "secondary", onClick: () => onSearch?.(term), children: /* @__PURE__ */ jsx20(SearchIcon, {}) })
|
523
|
+
] }) });
|
524
|
+
};
|
525
|
+
export {
|
526
|
+
ApplicationAppBar,
|
527
|
+
CollapseToggleFlex,
|
528
|
+
CollapsibleDrawer,
|
529
|
+
CollapsibleProvider,
|
530
|
+
ContextToolbar,
|
531
|
+
MenuListItemContainer,
|
532
|
+
MenuSection,
|
533
|
+
SearchBar,
|
534
|
+
SiteMenu,
|
535
|
+
SystemControls,
|
536
|
+
SystemControlsType,
|
537
|
+
SystemControlsUnstyled,
|
538
|
+
SystemToolbar,
|
539
|
+
useCollapsible,
|
540
|
+
useMenuItemsShared
|
541
|
+
};
|
542
|
+
//# sourceMappingURL=index.js.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/components/SiteMenu/hooks/useMenuItemsShared.tsx","../../src/contexts/Collapsible/provider.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","../../src/components/SiteMenu/MenuSection.tsx","../../src/components/CollapsibleDrawer/CollapseToggle.tsx","../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx","../../src/components/MobileSystemControls/SystemControls.tsx","../../src/components/MobileSystemControls/SystemControlsRoot.tsx","../../src/components/MobileSystemControls/SystemControlsType.ts","../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx","../../src/components/MobileSystemControls/controls/SystemControl.tsx","../../src/components/SearchBar/SearchBar.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 ?\n <DarkModeIconButton color=\"inherit\" />\n : null}\n {menuItems ?\n <SiteMenu onMenuToggle={onMenuToggle}>{menuItems}</SiteMenu>\n : null}\n </Toolbar>\n )\n}\n","import { useMemo } from 'react'\n\nimport { useCollapsible } from '../../../contexts'\nimport { MenuListItemProps } from '../MenuListItem'\n\nexport type DefaultSiteMenuListItemProps = Pick<MenuListItemProps, 'collapseEnd' | 'dense' | 'iconOnly' | 'sx'>\n\nexport const useMenuItemsShared = () => {\n const { collapse, collapseEnd, setCollapse, setCollapseEnd } = useCollapsible()\n\n const onMenuItemToggle = (open?: boolean) => {\n setCollapse?.((previous) => (open ? false : previous))\n setCollapseEnd?.((previous) => (open ? false : previous))\n }\n\n const defaultSiteMenuListItemProps: DefaultSiteMenuListItemProps = useMemo(\n () => ({\n collapseEnd,\n dense: true,\n iconOnly: collapse,\n sx: {\n px: '8px',\n },\n }),\n [collapse, collapseEnd],\n )\n\n return { defaultSiteMenuListItemProps, onMenuItemToggle }\n}\n","import { WithChildren } from '@xylabs/react-shared'\nimport { useEffect, useState } from 'react'\n\nimport { CollapsibleContext } from './context'\n\nexport interface CollapsibleProviderProps extends WithChildren {\n defaultCollapse?: boolean\n defaultCollapseEnd?: boolean\n}\n\nexport const CollapsibleProvider: React.FC<CollapsibleProviderProps> = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {\n const [collapse, setCollapse] = useState(defaultCollapse)\n const [collapseEnd, setCollapseEnd] = useState(defaultCollapseEnd)\n\n useEffect(() => {\n setCollapse(defaultCollapse)\n }, [defaultCollapse])\n\n useEffect(() => {\n setCollapseEnd(defaultCollapseEnd)\n }, [defaultCollapseEnd])\n\n return (\n <CollapsibleContext.Provider value={{ collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }}>\n {children}\n </CollapsibleContext.Provider>\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 ?? 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 ?\n <SubNavToggleIconButton setOpenSubNav={setOpenSubNav} openSubNav={openSubNav} />\n : null}\n {tooltip ?\n <ListItemTooltip title={tooltip} />\n : 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'\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'\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","import { Collapse, ListSubheader } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\nimport { MenuListItemContainer, MenuListItemProps } from './MenuListItem'\n\nexport interface MenuSectionProps extends FlexBoxProps {\n iconMenuTextSpacing?: string\n listItems: MenuListItemProps[]\n showTitle?: boolean\n title: string\n}\n\nexport const MenuSection: React.FC<MenuSectionProps> = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n <Collapse in={showTitle} timeout={700}>\n <ListSubheader>{title}</ListSubheader>\n </Collapse>\n\n {listItems.map((item, index) => (\n <MenuListItemContainer key={index} iconMenuTextSpacing={iconMenuTextSpacing} {...item}></MenuListItemContainer>\n ))}\n </FlexCol>\n )\n}\n","import { Icon, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscArrowSmallLeft, VscArrowSmallRight } from 'react-icons/vsc'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapseToggleFlex: React.FC<FlexBoxProps> = (props) => {\n const { collapse, setCollapse, setCollapseEnd } = useCollapsible()\n const [hover, setHover] = useState(false)\n const theme = useTheme()\n\n const handleCollapseToggle = () => {\n setCollapse?.(!collapse)\n setCollapseEnd?.((previous) => (previous ? false : previous))\n }\n\n return (\n <FlexRow mt={2} py={2} justifyContent={collapse ? 'start' : 'center'} {...props}>\n <Icon\n onClick={handleCollapseToggle}\n onMouseEnter={() => setHover(true)}\n onMouseLeave={() => setHover(false)}\n fontSize={'large'}\n sx={{ color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' }}\n >\n {collapse ?\n <VscArrowSmallRight />\n : <VscArrowSmallLeft />}\n </Icon>\n </FlexRow>\n )\n}\n","import { Collapse, CollapseProps, styled, useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapsibleDrawer: React.FC<WithChildren<CollapseProps>> = ({ children, sx, ...props }) => {\n const { collapse, setCollapseEnd } = useCollapsible()\n const theme = useTheme()\n\n const collapsedSize = props.collapsedSize ?? theme.spacing(5)\n\n return (\n <CollapsibleFlexInner\n in={!collapse}\n orientation=\"horizontal\"\n collapsedSize={collapsedSize}\n onExited={() => setCollapseEnd?.(true)}\n sx={{\n alignItems: 'start',\n display: 'flex',\n height: '100%',\n ...sx,\n }}\n {...props}\n >\n {children}\n </CollapsibleFlexInner>\n )\n}\n\nconst CollapsibleFlexInner = styled(Collapse)(() => ({\n '& .MuiCollapse-wrapperInner': {\n display: 'flex',\n flexDirection: 'column',\n },\n}))\n","import { FlexCol } from '@xylabs/react-flexbox'\n\nimport { SystemControlsRoot } from './SystemControlsRoot'\nimport { SystemControlsUnstyledProps } from './SystemControlsUnstyled'\n\nconst SystemControls: React.FC<SystemControlsUnstyledProps> = (props) => {\n return (\n <FlexCol>\n <SystemControlsRoot {...props} />\n </FlexCol>\n )\n}\n\nexport { SystemControls }\n","import { styled } from '@mui/material'\n\nimport { SystemControlsType } from './SystemControlsType'\nimport { SystemControlsUnstyled, SystemControlsUnstyledProps } from './SystemControlsUnstyled'\n\nconst SystemControlsRoot = styled(SystemControlsUnstyled, { name: 'SystemControls', slot: 'Root' })<SystemControlsUnstyledProps>(({ theme }) => ({\n // shared defaults\n ['&']: {\n '.toggle': {\n backgroundColor: theme.palette.primary.main,\n },\n alignItems: 'start',\n zIndex: 1,\n },\n // WindowShade System Controls styles\n [`&.system-controls-type-${SystemControlsType.WindowShade}`]: {\n '.control': {\n borderRadius: '0 0 5px 5px',\n flexDirection: 'row',\n flexGrow: 1,\n justifyContent: 'space-around',\n padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,\n },\n '.controls': {\n alignItems: 'stretch',\n flexDirection: 'column',\n flexGrow: 1,\n },\n '.toggle': {\n borderRadius: '0 0 5px 5px',\n padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,\n },\n flexDirection: 'row',\n position: 'absolute',\n top: 0,\n width: '100%',\n },\n // Left System Control styles\n [`&.system-controls-type-${SystemControlsType.Left}`]: {\n '.control': {\n alignItems: 'start',\n flexDirection: 'column',\n padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,\n },\n '.control-wrap': {\n marginBottom: `${theme.spacing(2)}`,\n },\n '.toggle': {\n borderRadius: '0 5px 5px 0',\n padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,\n writingMode: 'vertical-rl',\n },\n flexDirection: 'column',\n left: 0,\n position: 'fixed',\n top: '30vh',\n width: 'auto',\n },\n}))\n\nexport { SystemControlsRoot }\n","export enum SystemControlsType {\n Left = 'Left',\n Right = 'Right',\n WindowShade = 'WindowShade',\n}\n","import { Paper, Theme, useMediaQuery } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { NetworkSelectEx } from '@xyo-network/react-network'\n\nimport { SystemControl } from './controls'\nimport { SystemControlsType } from './SystemControlsType'\n\ninterface SystemControlsUnstyledProps extends FlexBoxProps {\n systemControlsType?: SystemControlsType\n visible?: boolean\n}\n\nconst SystemControlsUnstyled: React.FC<SystemControlsUnstyledProps> = ({\n visible,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const isSmall = useMediaQuery<Theme>((theme) => theme.breakpoints.down('sm'))\n\n return visible || isSmall ?\n <FlexCol {...props} className={`${props.className} system-controls-type-${systemControlsType}`}>\n <SystemControl\n systemControlsType={systemControlsType}\n controlElement={\n <>\n <FlexRow className={'control-wrap'}>\n <Paper variant=\"elevation\" elevation={0}>\n <NetworkSelectEx responsive={false} className=\"network-ex\" />\n </Paper>\n </FlexRow>\n </>\n }\n />\n </FlexCol>\n : <FlexCol />\n}\n\nexport type { SystemControlsUnstyledProps }\nexport { SystemControlsUnstyled }\n","import { Collapse, CollapseProps } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { SystemControlsType } from '../SystemControlsType'\n\ninterface SystemControlProps extends FlexBoxProps {\n controlElement: React.ReactNode\n systemControlsType?: SystemControlsType\n}\n\nconst SystemControl: React.FC<WithChildren<SystemControlProps>> = ({\n children,\n controlElement,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const [toggleControls, setToggleControls] = useState(false)\n\n let orientation: CollapseProps['orientation'] = 'vertical'\n\n switch (systemControlsType) {\n case SystemControlsType.Left: {\n orientation = 'horizontal'\n break\n }\n }\n\n return (\n <FlexRow className=\"controls\" {...props}>\n <Collapse in={toggleControls} orientation={orientation} timeout={500}>\n <FlexRow bgcolor=\"primary.main\" className=\"control\">\n {controlElement}\n </FlexRow>\n </Collapse>\n <FlexCol style={{ cursor: 'pointer' }} onClick={() => setToggleControls(!toggleControls)}>\n {children}\n </FlexCol>\n </FlexRow>\n )\n}\n\nexport { SystemControl }\n","import { Search as SearchIcon } from '@mui/icons-material'\nimport { Paper, TextField } from '@mui/material'\nimport { ButtonEx } from '@xylabs/react-button'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n\nexport interface SearchBarProps extends FlexBoxProps {\n onSearch?: (term?: string) => void\n}\n\nexport const SearchBar: React.FC<SearchBarProps> = ({ defaultValue, onSearch, ...props }) => {\n const [term, setTerm] = useState<string>()\n\n return (\n <FlexRow alignItems=\"stretch\" {...props}>\n <Paper variant=\"elevation\" elevation={0} style={{ display: 'flex', overflow: 'hidden', width: '100%' }}>\n <TextField\n InputProps={{ color: 'secondary', style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } }}\n variant=\"outlined\"\n size=\"small\"\n defaultValue={defaultValue}\n fullWidth\n onChange={(event) => setTerm(event.target.value)}\n onKeyDown={(event) => {\n if (event.key === 'Enter') onSearch?.(term)\n }}\n />\n <ButtonEx variant=\"contained\" style={{ borderRadius: 0, borderTopLeftRadius: 0 }} color=\"secondary\" onClick={() => onSearch?.(term)}>\n <SearchIcon />\n </ButtonEx>\n </Paper>\n </FlexRow>\n )\n}\n"],"mappings":";AACA,SAAS,gBAA+B;;;ACDxC,SAAS,eAA6B;;;ACAtC,SAAS,YAAY,YAAAA,iBAAgB;AAC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Theme","jsx","useTheme","jsx","Toolbar","FlexRow","jsx","MenuIcon","IconButton","List","FlexRow","useEffect","useState","useTheme","FlexRow","LinkEx","useState","jsx","Typography","jsx","jsx","jsx","useTheme","jsx","jsx","jsxs","useTheme","useState","LinkEx","FlexRow","jsx","jsxs","useState","useEffect","FlexRow","IconButton","MenuIcon","List","Collapse","FlexCol","jsx","jsxs","FlexCol","Collapse","jsx","jsxs","Toolbar","FlexRow","jsx","useTheme","FlexRow","useState","jsx","useState","useTheme","FlexRow","Collapse","useTheme","jsx","useTheme","Collapse","FlexCol","styled","SystemControlsType","Paper","FlexCol","FlexRow","NetworkSelectEx","Collapse","FlexCol","FlexRow","useState","jsx","jsxs","useState","FlexRow","Collapse","FlexCol","Fragment","jsx","FlexCol","FlexRow","Paper","NetworkSelectEx","styled","jsx","FlexCol","Paper","FlexRow","useState","jsx","jsxs"]}
|