@xyo-network/react-appbar 2.75.7 → 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 +8 -8
@@ -0,0 +1,565 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
+
|
20
|
+
// src/index.ts
|
21
|
+
var src_exports = {};
|
22
|
+
__export(src_exports, {
|
23
|
+
ApplicationAppBar: () => ApplicationAppBar,
|
24
|
+
CollapseToggleFlex: () => CollapseToggleFlex,
|
25
|
+
CollapsibleDrawer: () => CollapsibleDrawer,
|
26
|
+
CollapsibleProvider: () => CollapsibleProvider,
|
27
|
+
ContextToolbar: () => ContextToolbar,
|
28
|
+
MenuListItemContainer: () => MenuListItemContainer,
|
29
|
+
MenuSection: () => MenuSection,
|
30
|
+
SearchBar: () => SearchBar,
|
31
|
+
SiteMenu: () => SiteMenu,
|
32
|
+
SystemControls: () => SystemControls,
|
33
|
+
SystemControlsType: () => SystemControlsType,
|
34
|
+
SystemControlsUnstyled: () => SystemControlsUnstyled,
|
35
|
+
SystemToolbar: () => SystemToolbar,
|
36
|
+
useCollapsible: () => useCollapsible,
|
37
|
+
useMenuItemsShared: () => useMenuItemsShared
|
38
|
+
});
|
39
|
+
module.exports = __toCommonJS(src_exports);
|
40
|
+
|
41
|
+
// src/components/AppBar/Application.tsx
|
42
|
+
var import_react_appbar = require("@xylabs/react-appbar");
|
43
|
+
|
44
|
+
// src/components/Toolbar/Context/ContextToolbar.tsx
|
45
|
+
var import_material3 = require("@mui/material");
|
46
|
+
|
47
|
+
// src/components/Toolbar/Context/LogoLinkEx.tsx
|
48
|
+
var import_material2 = require("@mui/material");
|
49
|
+
var import_react_flexbox = require("@xylabs/react-flexbox");
|
50
|
+
var import_react_link = require("@xylabs/react-link");
|
51
|
+
|
52
|
+
// src/components/Toolbar/Context/Logo.tsx
|
53
|
+
var import_material = require("@mui/material");
|
54
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
55
|
+
var Logo = (props) => {
|
56
|
+
const theme = (0, import_material.useTheme)();
|
57
|
+
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";
|
58
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: logoUrl, ...props });
|
59
|
+
};
|
60
|
+
|
61
|
+
// src/components/Toolbar/Context/LogoLinkEx.tsx
|
62
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
63
|
+
var LogoLinkEx = ({ to = "/", version = false, ...props }) => {
|
64
|
+
const theme = (0, import_material2.useTheme)();
|
65
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_link.LinkEx, { to, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_flexbox.FlexRow, { paddingX: "4px", children: [
|
66
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Logo, { height: "40", width: "43" }),
|
67
|
+
version ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
68
|
+
import_material2.Typography,
|
69
|
+
{
|
70
|
+
position: "absolute",
|
71
|
+
borderRadius: 1,
|
72
|
+
right: 6,
|
73
|
+
color: theme.palette.getContrastText(theme.palette.text.primary),
|
74
|
+
bottom: 0,
|
75
|
+
bgcolor: theme.palette.text.primary,
|
76
|
+
paddingX: "2px",
|
77
|
+
lineHeight: 1,
|
78
|
+
variant: "caption",
|
79
|
+
border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`,
|
80
|
+
children: typeof version === "string" ? version : "2.1"
|
81
|
+
}
|
82
|
+
) : null
|
83
|
+
] }) });
|
84
|
+
};
|
85
|
+
|
86
|
+
// src/components/Toolbar/Context/ContextToolbar.tsx
|
87
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
88
|
+
var ContextToolbar = ({ logoTo = "/", version = false, ...props }) => {
|
89
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.Toolbar, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoLinkEx, { version, to: logoTo }) });
|
90
|
+
};
|
91
|
+
|
92
|
+
// src/components/Toolbar/System/SystemToolbar.tsx
|
93
|
+
var import_material12 = require("@mui/material");
|
94
|
+
var import_react_flexbox6 = require("@xylabs/react-flexbox");
|
95
|
+
var import_react_app_settings = require("@xyo-network/react-app-settings");
|
96
|
+
var import_react_network = require("@xyo-network/react-network");
|
97
|
+
|
98
|
+
// src/components/SiteMenu/hooks/useMenuItemsShared.tsx
|
99
|
+
var import_react2 = require("react");
|
100
|
+
|
101
|
+
// src/contexts/Collapsible/provider.tsx
|
102
|
+
var import_react = require("react");
|
103
|
+
|
104
|
+
// src/contexts/Collapsible/context.ts
|
105
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
106
|
+
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
107
|
+
|
108
|
+
// src/contexts/Collapsible/provider.tsx
|
109
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
110
|
+
var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
111
|
+
const [collapse, setCollapse] = (0, import_react.useState)(defaultCollapse);
|
112
|
+
const [collapseEnd, setCollapseEnd] = (0, import_react.useState)(defaultCollapseEnd);
|
113
|
+
(0, import_react.useEffect)(() => {
|
114
|
+
setCollapse(defaultCollapse);
|
115
|
+
}, [defaultCollapse]);
|
116
|
+
(0, import_react.useEffect)(() => {
|
117
|
+
setCollapseEnd(defaultCollapseEnd);
|
118
|
+
}, [defaultCollapseEnd]);
|
119
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CollapsibleContext.Provider, { value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }, children });
|
120
|
+
};
|
121
|
+
|
122
|
+
// src/contexts/Collapsible/use.tsx
|
123
|
+
var import_react_shared2 = require("@xyo-network/react-shared");
|
124
|
+
var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
|
125
|
+
|
126
|
+
// src/components/SiteMenu/hooks/useMenuItemsShared.tsx
|
127
|
+
var useMenuItemsShared = () => {
|
128
|
+
const { collapse, collapseEnd, setCollapse, setCollapseEnd } = useCollapsible();
|
129
|
+
const onMenuItemToggle = (open) => {
|
130
|
+
setCollapse?.((previous) => open ? false : previous);
|
131
|
+
setCollapseEnd?.((previous) => open ? false : previous);
|
132
|
+
};
|
133
|
+
const defaultSiteMenuListItemProps = (0, import_react2.useMemo)(
|
134
|
+
() => ({
|
135
|
+
collapseEnd,
|
136
|
+
dense: true,
|
137
|
+
iconOnly: collapse,
|
138
|
+
sx: {
|
139
|
+
px: "8px"
|
140
|
+
}
|
141
|
+
}),
|
142
|
+
[collapse, collapseEnd]
|
143
|
+
);
|
144
|
+
return { defaultSiteMenuListItemProps, onMenuItemToggle };
|
145
|
+
};
|
146
|
+
|
147
|
+
// src/components/SiteMenu/Menu.tsx
|
148
|
+
var import_icons_material = require("@mui/icons-material");
|
149
|
+
var import_material10 = require("@mui/material");
|
150
|
+
var import_react_flexbox4 = require("@xylabs/react-flexbox");
|
151
|
+
var import_react4 = require("react");
|
152
|
+
|
153
|
+
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
154
|
+
var import_material9 = require("@mui/material");
|
155
|
+
var import_react_flexbox3 = require("@xylabs/react-flexbox");
|
156
|
+
var import_react_link2 = require("@xylabs/react-link");
|
157
|
+
var import_react3 = require("react");
|
158
|
+
|
159
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
|
160
|
+
var import_material4 = require("@mui/material");
|
161
|
+
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
162
|
+
var import_vsc = require("react-icons/vsc");
|
163
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
164
|
+
var ListItemTooltip = ({ title, ...props }) => {
|
165
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_material4.Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_flexbox2.FlexCol, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_vsc.VscInfo, { color: "grey" }) }) }) });
|
166
|
+
};
|
167
|
+
|
168
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
|
169
|
+
var import_material5 = require("@mui/material");
|
170
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
171
|
+
var MenuIcon = ({ icon, ...props }) => {
|
172
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_material5.Typography, { display: "flex", ...props, children: icon });
|
173
|
+
};
|
174
|
+
|
175
|
+
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
176
|
+
var import_material6 = require("@mui/material");
|
177
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
178
|
+
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
179
|
+
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
180
|
+
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
181
|
+
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
182
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material6.ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
183
|
+
};
|
184
|
+
|
185
|
+
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
186
|
+
var import_material7 = require("@mui/material");
|
187
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
188
|
+
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_material7.Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_material7.List, { children }) });
|
190
|
+
};
|
191
|
+
|
192
|
+
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
193
|
+
var import_material8 = require("@mui/material");
|
194
|
+
var import_vsc2 = require("react-icons/vsc");
|
195
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
196
|
+
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
197
|
+
const theme = (0, import_material8.useTheme)();
|
198
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
199
|
+
import_material8.IconButton,
|
200
|
+
{
|
201
|
+
onClick: (event) => {
|
202
|
+
event.stopPropagation();
|
203
|
+
setOpenSubNav?.(!openSubNav);
|
204
|
+
},
|
205
|
+
sx: { marginRight: theme.spacing(0.5) },
|
206
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_vsc2.VscChevronDown, { fontSize: "16px" })
|
207
|
+
}
|
208
|
+
);
|
209
|
+
};
|
210
|
+
|
211
|
+
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
212
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
213
|
+
var MenuListItemContainer = ({
|
214
|
+
style,
|
215
|
+
icon,
|
216
|
+
iconMenuTextSpacing,
|
217
|
+
iconOnly,
|
218
|
+
onButtonClick,
|
219
|
+
primary,
|
220
|
+
subNavListItems,
|
221
|
+
sx,
|
222
|
+
tooltip,
|
223
|
+
to,
|
224
|
+
...props
|
225
|
+
}) => {
|
226
|
+
const { dense } = props;
|
227
|
+
const theme = (0, import_material9.useTheme)();
|
228
|
+
const { collapse } = useCollapsible();
|
229
|
+
const [openSubNav, setOpenSubNav] = (0, import_react3.useState)(false);
|
230
|
+
const [hovered, setHovered] = (0, import_react3.useState)(false);
|
231
|
+
const resolvedIconMenuTextSpacing = iconMenuTextSpacing ?? theme.spacing(1);
|
232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
233
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
234
|
+
MenuListItem,
|
235
|
+
{
|
236
|
+
disableGutters: true,
|
237
|
+
iconOnly,
|
238
|
+
onClick: onButtonClick,
|
239
|
+
dense,
|
240
|
+
sx: { justifyContent: "space-between", ...sx },
|
241
|
+
style: { whiteSpace: "nowrap", ...style },
|
242
|
+
...props,
|
243
|
+
children: [
|
244
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
245
|
+
import_react_link2.LinkEx,
|
246
|
+
{
|
247
|
+
onMouseEnter: () => setHovered(true),
|
248
|
+
onMouseLeave: () => setHovered(false),
|
249
|
+
color: "inherit",
|
250
|
+
to,
|
251
|
+
sx: {
|
252
|
+
"& :hover": {
|
253
|
+
cursor: "pointer",
|
254
|
+
textDecoration: "underline"
|
255
|
+
}
|
256
|
+
},
|
257
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_react_flexbox3.FlexRow, { children: [
|
258
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
|
259
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_material9.ListItemText, { primary })
|
260
|
+
] })
|
261
|
+
}
|
262
|
+
),
|
263
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_react_flexbox3.FlexRow, { style: { marginLeft: theme.spacing(1) }, children: [
|
264
|
+
subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
|
265
|
+
tooltip ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ListItemTooltip, { title: tooltip }) : null
|
266
|
+
] })
|
267
|
+
]
|
268
|
+
}
|
269
|
+
),
|
270
|
+
subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems?.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
|
271
|
+
] });
|
272
|
+
};
|
273
|
+
|
274
|
+
// src/components/SiteMenu/Menu.tsx
|
275
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
276
|
+
var SiteMenu = ({ children, onMenuToggle, side = "right", ...props }) => {
|
277
|
+
const [open, setOpen] = (0, import_react4.useState)(false);
|
278
|
+
(0, import_react4.useEffect)(() => {
|
279
|
+
onMenuToggle?.(open);
|
280
|
+
}, [onMenuToggle, open]);
|
281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_react_flexbox4.FlexRow, { alignItems: "stretch", ...props, children: [
|
282
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
283
|
+
import_material10.IconButton,
|
284
|
+
{
|
285
|
+
size: "small",
|
286
|
+
color: "inherit",
|
287
|
+
onClick: () => {
|
288
|
+
setOpen(!open);
|
289
|
+
},
|
290
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_icons_material.Menu, { fontSize: "large" })
|
291
|
+
}
|
292
|
+
),
|
293
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
294
|
+
import_material10.SwipeableDrawer,
|
295
|
+
{
|
296
|
+
anchor: side,
|
297
|
+
open,
|
298
|
+
onClick: () => setOpen(false),
|
299
|
+
onKeyDown: () => setOpen(false),
|
300
|
+
onClose: () => setOpen(false),
|
301
|
+
onOpen: () => setOpen(true),
|
302
|
+
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_material10.List, { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(MenuListItemContainer, { primary: "Settings", icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_icons_material.Settings, {}), to: "/settings" }) })
|
303
|
+
}
|
304
|
+
)
|
305
|
+
] });
|
306
|
+
};
|
307
|
+
|
308
|
+
// src/components/SiteMenu/MenuSection.tsx
|
309
|
+
var import_material11 = require("@mui/material");
|
310
|
+
var import_react_flexbox5 = require("@xylabs/react-flexbox");
|
311
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
312
|
+
var MenuSection = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {
|
313
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_react_flexbox5.FlexCol, { alignItems: "stretch", ...props, children: [
|
314
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material11.Collapse, { in: showTitle, timeout: 700, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_material11.ListSubheader, { children: title }) }),
|
315
|
+
listItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(MenuListItemContainer, { iconMenuTextSpacing, ...item }, index))
|
316
|
+
] });
|
317
|
+
};
|
318
|
+
|
319
|
+
// src/components/Toolbar/System/SystemToolbar.tsx
|
320
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
321
|
+
var SystemToolbar = ({
|
322
|
+
children,
|
323
|
+
darkModeButton = false,
|
324
|
+
hideNetworkSelect,
|
325
|
+
menuItems,
|
326
|
+
networkSelectProps,
|
327
|
+
onMenuToggle,
|
328
|
+
precedingChildren,
|
329
|
+
...props
|
330
|
+
}) => {
|
331
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_material12.Toolbar, { ...props, children: [
|
332
|
+
precedingChildren,
|
333
|
+
hideNetworkSelect ? null : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_flexbox6.FlexRow, { marginX: 0.5, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_material12.Paper, { variant: "elevation", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_network.NetworkSelectEx, { fullWidth: true, ...networkSelectProps }) }) }),
|
334
|
+
children,
|
335
|
+
darkModeButton ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_app_settings.DarkModeIconButton, { color: "inherit" }) : null,
|
336
|
+
menuItems ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SiteMenu, { onMenuToggle, children: menuItems }) : null
|
337
|
+
] });
|
338
|
+
};
|
339
|
+
|
340
|
+
// src/components/AppBar/Application.tsx
|
341
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
342
|
+
var ApplicationAppBar = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {
|
343
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
344
|
+
import_react_appbar.AppBarEx,
|
345
|
+
{
|
346
|
+
systemToolbar: systemToolbar ?? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SystemToolbar, {}),
|
347
|
+
contextToolbar: contextToolbar ?? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ContextToolbar, {}),
|
348
|
+
position: "sticky",
|
349
|
+
responsive,
|
350
|
+
...props
|
351
|
+
}
|
352
|
+
);
|
353
|
+
};
|
354
|
+
|
355
|
+
// src/components/CollapsibleDrawer/CollapseToggle.tsx
|
356
|
+
var import_material13 = require("@mui/material");
|
357
|
+
var import_react_flexbox7 = require("@xylabs/react-flexbox");
|
358
|
+
var import_react5 = require("react");
|
359
|
+
var import_vsc3 = require("react-icons/vsc");
|
360
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
361
|
+
var CollapseToggleFlex = (props) => {
|
362
|
+
const { collapse, setCollapse, setCollapseEnd } = useCollapsible();
|
363
|
+
const [hover, setHover] = (0, import_react5.useState)(false);
|
364
|
+
const theme = (0, import_material13.useTheme)();
|
365
|
+
const handleCollapseToggle = () => {
|
366
|
+
setCollapse?.(!collapse);
|
367
|
+
setCollapseEnd?.((previous) => previous ? false : previous);
|
368
|
+
};
|
369
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react_flexbox7.FlexRow, { mt: 2, py: 2, justifyContent: collapse ? "start" : "center", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
370
|
+
import_material13.Icon,
|
371
|
+
{
|
372
|
+
onClick: handleCollapseToggle,
|
373
|
+
onMouseEnter: () => setHover(true),
|
374
|
+
onMouseLeave: () => setHover(false),
|
375
|
+
fontSize: "large",
|
376
|
+
sx: { color: hover ? theme.palette.secondary.main : "inherit", cursor: "pointer" },
|
377
|
+
children: collapse ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_vsc3.VscArrowSmallRight, {}) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_vsc3.VscArrowSmallLeft, {})
|
378
|
+
}
|
379
|
+
) });
|
380
|
+
};
|
381
|
+
|
382
|
+
// src/components/CollapsibleDrawer/CollapsibleDrawer.tsx
|
383
|
+
var import_material14 = require("@mui/material");
|
384
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
385
|
+
var CollapsibleDrawer = ({ children, sx, ...props }) => {
|
386
|
+
const { collapse, setCollapseEnd } = useCollapsible();
|
387
|
+
const theme = (0, import_material14.useTheme)();
|
388
|
+
const collapsedSize = props.collapsedSize ?? theme.spacing(5);
|
389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
390
|
+
CollapsibleFlexInner,
|
391
|
+
{
|
392
|
+
in: !collapse,
|
393
|
+
orientation: "horizontal",
|
394
|
+
collapsedSize,
|
395
|
+
onExited: () => setCollapseEnd?.(true),
|
396
|
+
sx: {
|
397
|
+
alignItems: "start",
|
398
|
+
display: "flex",
|
399
|
+
height: "100%",
|
400
|
+
...sx
|
401
|
+
},
|
402
|
+
...props,
|
403
|
+
children
|
404
|
+
}
|
405
|
+
);
|
406
|
+
};
|
407
|
+
var CollapsibleFlexInner = (0, import_material14.styled)(import_material14.Collapse)(() => ({
|
408
|
+
"& .MuiCollapse-wrapperInner": {
|
409
|
+
display: "flex",
|
410
|
+
flexDirection: "column"
|
411
|
+
}
|
412
|
+
}));
|
413
|
+
|
414
|
+
// src/components/MobileSystemControls/SystemControls.tsx
|
415
|
+
var import_react_flexbox10 = require("@xylabs/react-flexbox");
|
416
|
+
|
417
|
+
// src/components/MobileSystemControls/SystemControlsRoot.tsx
|
418
|
+
var import_material17 = require("@mui/material");
|
419
|
+
|
420
|
+
// src/components/MobileSystemControls/SystemControlsType.ts
|
421
|
+
var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
|
422
|
+
SystemControlsType2["Left"] = "Left";
|
423
|
+
SystemControlsType2["Right"] = "Right";
|
424
|
+
SystemControlsType2["WindowShade"] = "WindowShade";
|
425
|
+
return SystemControlsType2;
|
426
|
+
})(SystemControlsType || {});
|
427
|
+
|
428
|
+
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
429
|
+
var import_material16 = require("@mui/material");
|
430
|
+
var import_react_flexbox9 = require("@xylabs/react-flexbox");
|
431
|
+
var import_react_network2 = require("@xyo-network/react-network");
|
432
|
+
|
433
|
+
// src/components/MobileSystemControls/controls/SystemControl.tsx
|
434
|
+
var import_material15 = require("@mui/material");
|
435
|
+
var import_react_flexbox8 = require("@xylabs/react-flexbox");
|
436
|
+
var import_react6 = require("react");
|
437
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
438
|
+
var SystemControl = ({
|
439
|
+
children,
|
440
|
+
controlElement,
|
441
|
+
systemControlsType = "WindowShade" /* WindowShade */,
|
442
|
+
...props
|
443
|
+
}) => {
|
444
|
+
const [toggleControls, setToggleControls] = (0, import_react6.useState)(false);
|
445
|
+
let orientation = "vertical";
|
446
|
+
switch (systemControlsType) {
|
447
|
+
case "Left" /* Left */: {
|
448
|
+
orientation = "horizontal";
|
449
|
+
break;
|
450
|
+
}
|
451
|
+
}
|
452
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_react_flexbox8.FlexRow, { className: "controls", ...props, children: [
|
453
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_material15.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_flexbox8.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
454
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_flexbox8.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
455
|
+
] });
|
456
|
+
};
|
457
|
+
|
458
|
+
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
459
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
460
|
+
var SystemControlsUnstyled = ({
|
461
|
+
visible,
|
462
|
+
systemControlsType = "WindowShade" /* WindowShade */,
|
463
|
+
...props
|
464
|
+
}) => {
|
465
|
+
const isSmall = (0, import_material16.useMediaQuery)((theme) => theme.breakpoints.down("sm"));
|
466
|
+
return visible || isSmall ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_flexbox9.FlexCol, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
467
|
+
SystemControl,
|
468
|
+
{
|
469
|
+
systemControlsType,
|
470
|
+
controlElement: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_flexbox9.FlexRow, { className: "control-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material16.Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_network2.NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
|
471
|
+
}
|
472
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_flexbox9.FlexCol, {});
|
473
|
+
};
|
474
|
+
|
475
|
+
// src/components/MobileSystemControls/SystemControlsRoot.tsx
|
476
|
+
var SystemControlsRoot = (0, import_material17.styled)(SystemControlsUnstyled, { name: "SystemControls", slot: "Root" })(({ theme }) => ({
|
477
|
+
// shared defaults
|
478
|
+
["&"]: {
|
479
|
+
".toggle": {
|
480
|
+
backgroundColor: theme.palette.primary.main
|
481
|
+
},
|
482
|
+
alignItems: "start",
|
483
|
+
zIndex: 1
|
484
|
+
},
|
485
|
+
// WindowShade System Controls styles
|
486
|
+
[`&.system-controls-type-${"WindowShade" /* WindowShade */}`]: {
|
487
|
+
".control": {
|
488
|
+
borderRadius: "0 0 5px 5px",
|
489
|
+
flexDirection: "row",
|
490
|
+
flexGrow: 1,
|
491
|
+
justifyContent: "space-around",
|
492
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
493
|
+
},
|
494
|
+
".controls": {
|
495
|
+
alignItems: "stretch",
|
496
|
+
flexDirection: "column",
|
497
|
+
flexGrow: 1
|
498
|
+
},
|
499
|
+
".toggle": {
|
500
|
+
borderRadius: "0 0 5px 5px",
|
501
|
+
padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`
|
502
|
+
},
|
503
|
+
flexDirection: "row",
|
504
|
+
position: "absolute",
|
505
|
+
top: 0,
|
506
|
+
width: "100%"
|
507
|
+
},
|
508
|
+
// Left System Control styles
|
509
|
+
[`&.system-controls-type-${"Left" /* Left */}`]: {
|
510
|
+
".control": {
|
511
|
+
alignItems: "start",
|
512
|
+
flexDirection: "column",
|
513
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
514
|
+
},
|
515
|
+
".control-wrap": {
|
516
|
+
marginBottom: `${theme.spacing(2)}`
|
517
|
+
},
|
518
|
+
".toggle": {
|
519
|
+
borderRadius: "0 5px 5px 0",
|
520
|
+
padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
|
521
|
+
writingMode: "vertical-rl"
|
522
|
+
},
|
523
|
+
flexDirection: "column",
|
524
|
+
left: 0,
|
525
|
+
position: "fixed",
|
526
|
+
top: "30vh",
|
527
|
+
width: "auto"
|
528
|
+
}
|
529
|
+
}));
|
530
|
+
|
531
|
+
// src/components/MobileSystemControls/SystemControls.tsx
|
532
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
533
|
+
var SystemControls = (props) => {
|
534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_flexbox10.FlexCol, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SystemControlsRoot, { ...props }) });
|
535
|
+
};
|
536
|
+
|
537
|
+
// src/components/SearchBar/SearchBar.tsx
|
538
|
+
var import_icons_material2 = require("@mui/icons-material");
|
539
|
+
var import_material18 = require("@mui/material");
|
540
|
+
var import_react_button = require("@xylabs/react-button");
|
541
|
+
var import_react_flexbox11 = require("@xylabs/react-flexbox");
|
542
|
+
var import_react7 = require("react");
|
543
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
544
|
+
var SearchBar = ({ defaultValue, onSearch, ...props }) => {
|
545
|
+
const [term, setTerm] = (0, import_react7.useState)();
|
546
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_flexbox11.FlexRow, { alignItems: "stretch", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_material18.Paper, { variant: "elevation", elevation: 0, style: { display: "flex", overflow: "hidden", width: "100%" }, children: [
|
547
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
548
|
+
import_material18.TextField,
|
549
|
+
{
|
550
|
+
InputProps: { color: "secondary", style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } },
|
551
|
+
variant: "outlined",
|
552
|
+
size: "small",
|
553
|
+
defaultValue,
|
554
|
+
fullWidth: true,
|
555
|
+
onChange: (event) => setTerm(event.target.value),
|
556
|
+
onKeyDown: (event) => {
|
557
|
+
if (event.key === "Enter")
|
558
|
+
onSearch?.(term);
|
559
|
+
}
|
560
|
+
}
|
561
|
+
),
|
562
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_button.ButtonEx, { variant: "contained", style: { borderRadius: 0, borderTopLeftRadius: 0 }, color: "secondary", onClick: () => onSearch?.(term), children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_icons_material2.Search, {}) })
|
563
|
+
] }) });
|
564
|
+
};
|
565
|
+
//# sourceMappingURL=index.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../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":["export * from './components'\nexport * from './contexts'\n","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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,0BAAwC;;;ACDxC,IAAAA,mBAAsC;;;ACAtC,IAAAC,mBAAqC;AACrC,2BAAwB;AACxB,wBAAoC;;;ACFpC,sBAAyB;AAQhB;AANF,IAAM,OAAuG,CAAC,UAAU;AAC7H,QAAM,YAAQ,0BAAS;AACvB,QAAM,UACJ,MAAM,QAAQ,SAAS,SACrB,4DACA;AACJ,SAAO,4CAAC,SAAI,KAAK,SAAU,GAAG,OAAO;AACvC;;;ADKM,IAAAC,sBAAA;AAJC,IAAM,aAAwC,CAAC,EAAE,KAAK,KAAK,UAAU,OAAO,GAAG,MAAM,MAAM;AAChG,QAAM,YAAQ,2BAAS;AACvB,SACE,6CAAC,4BAAO,IAAS,GAAG,OAClB,wDAAC,gCAAQ,UAAS,OAChB;AAAA,iDAAC,QAAK,QAAO,MAA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OAAO,GACjC;AAEJ;;;AKXA,IAAAC,yBAAqC;AACrC,IAAAC,oBAAiC;AACjC,0BAAyB;AACzB,IAAAC,yBAAsC;AACtC,IAAAC,gBAAyB;AAWnB,IAAAC,uBAAA;AALC,IAAM,YAAsC,CAAC,EAAE,cAAc,UAAU,GAAG,MAAM,MAAM;AAC3F,QAAM,CAAC,MAAM,OAAO,QAAI,wBAAiB;AAEzC,SACE,8CAAC,kCAAQ,YAAW,WAAW,GAAG,OAChC,yDAAC,2BAAM,SAAQ,aAAY,WAAW,GAAG,OAAO,EAAE,SAAS,QAAQ,UAAU,UAAU,OAAO,OAAO,GACnG;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,YAAY,EAAE,OAAO,aAAa,OAAO,EAAE,yBAAyB,GAAG,sBAAsB,GAAG,aAAa,EAAE,EAAE;AAAA,QACjH,SAAQ;AAAA,QACR,MAAK;AAAA,QACL;AAAA,QACA,WAAS;AAAA,QACT,UAAU,CAAC,UAAU,QAAQ,MAAM,OAAO,KAAK;AAAA,QAC/C,WAAW,CAAC,UAAU;AACpB,cAAI,MAAM,QAAQ;AAAS,uBAAW,IAAI;AAAA,QAC5C;AAAA;AAAA,IACF;AAAA,IACA,8CAAC,gCAAS,SAAQ,aAAY,OAAO,EAAE,cAAc,GAAG,qBAAqB,EAAE,GAAG,OAAM,aAAY,SAAS,MAAM,WAAW,IAAI,GAChI,wDAAC,uBAAAC,QAAA,EAAW,GACd;AAAA,KACF,GACF;AAEJ;","names":["import_material","import_material","import_jsx_runtime","import_jsx_runtime","import_material","import_react_flexbox","import_react","import_jsx_runtime","import_react_shared","import_material","import_react_flexbox","import_react","import_material","import_react_flexbox","import_react_link","import_react","import_material","import_react_flexbox","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_vsc","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime","MenuIcon","SettingsIcon","import_material","import_react_flexbox","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime","import_material","import_react_flexbox","import_react","import_vsc","import_jsx_runtime","import_material","import_jsx_runtime","import_react_flexbox","import_material","SystemControlsType","import_material","import_react_flexbox","import_react_network","import_material","import_react_flexbox","import_react","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime","import_icons_material","import_material","import_react_flexbox","import_react","import_jsx_runtime","SearchIcon"]}
|