@xyo-network/react-appbar 2.62.3 → 2.63.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/AppBar/Application.js +13 -0
- package/dist/cjs/components/AppBar/Application.js.map +1 -0
- package/dist/cjs/components/AppBar/index.js +5 -0
- package/dist/cjs/components/AppBar/index.js.map +1 -0
- package/dist/cjs/components/CollapsibleDrawer/CollapseToggle.js +21 -0
- package/dist/cjs/components/CollapsibleDrawer/CollapseToggle.js.map +1 -0
- package/dist/cjs/components/CollapsibleDrawer/CollapsibleDrawer.js +23 -0
- package/dist/cjs/components/CollapsibleDrawer/CollapsibleDrawer.js.map +1 -0
- package/dist/cjs/components/CollapsibleDrawer/index.js +6 -0
- package/dist/cjs/components/CollapsibleDrawer/index.js.map +1 -0
- package/dist/cjs/components/CollapsibleDrawer/storyExampleMenuData.js +69 -0
- package/dist/cjs/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -0
- package/dist/cjs/components/MobileSystemControls/SystemControls.js +11 -0
- package/dist/cjs/components/MobileSystemControls/SystemControls.js.map +1 -0
- package/dist/cjs/components/MobileSystemControls/SystemControlsRoot.js +62 -0
- package/dist/cjs/components/MobileSystemControls/SystemControlsRoot.js.map +1 -0
- package/dist/cjs/components/MobileSystemControls/SystemControlsType.js +10 -0
- package/dist/cjs/components/MobileSystemControls/SystemControlsType.js.map +1 -0
- package/dist/cjs/components/MobileSystemControls/SystemControlsUnstyled.js +22 -0
- package/dist/cjs/components/MobileSystemControls/SystemControlsUnstyled.js.map +1 -0
- package/dist/cjs/components/MobileSystemControls/controls/SystemControl.js +23 -0
- package/dist/cjs/components/MobileSystemControls/controls/SystemControl.js.map +1 -0
- package/dist/cjs/components/MobileSystemControls/controls/SystemControlText.js +13 -0
- package/dist/cjs/components/MobileSystemControls/controls/SystemControlText.js.map +1 -0
- package/dist/cjs/components/MobileSystemControls/controls/index.js +6 -0
- package/dist/cjs/components/MobileSystemControls/controls/index.js.map +1 -0
- package/dist/cjs/components/MobileSystemControls/index.js +7 -0
- package/dist/cjs/components/MobileSystemControls/index.js.map +1 -0
- package/dist/cjs/components/SearchBar/SearchBar.js +20 -0
- package/dist/cjs/components/SearchBar/SearchBar.js.map +1 -0
- package/dist/cjs/components/SearchBar/index.js +5 -0
- package/dist/cjs/components/SearchBar/index.js.map +1 -0
- package/dist/cjs/components/SiteMenu/Menu.js +23 -0
- package/dist/cjs/components/SiteMenu/Menu.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/MenuListItemContainer.js +29 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/index.js +5 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/index.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +14 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +12 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +17 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/index.js +7 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/index.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +12 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +15 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/index.js +6 -0
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/index.js.map +1 -0
- package/dist/cjs/components/SiteMenu/MenuSection.js +14 -0
- package/dist/cjs/components/SiteMenu/MenuSection.js.map +1 -0
- package/dist/cjs/components/SiteMenu/hooks/index.js +5 -0
- package/dist/cjs/components/SiteMenu/hooks/index.js.map +1 -0
- package/dist/cjs/components/SiteMenu/hooks/useMenuItemsShared.js +23 -0
- package/dist/cjs/components/SiteMenu/hooks/useMenuItemsShared.js.map +1 -0
- package/dist/cjs/components/SiteMenu/index.js +9 -0
- package/dist/cjs/components/SiteMenu/index.js.map +1 -0
- package/dist/cjs/components/SiteMenu/lib/MenuListItemBase.js +3 -0
- package/dist/cjs/components/SiteMenu/lib/MenuListItemBase.js.map +1 -0
- package/dist/cjs/components/SiteMenu/lib/NavListItemProps.js +3 -0
- package/dist/cjs/components/SiteMenu/lib/NavListItemProps.js.map +1 -0
- package/dist/cjs/components/SiteMenu/lib/index.js +6 -0
- package/dist/cjs/components/SiteMenu/lib/index.js.map +1 -0
- package/dist/cjs/components/Toolbar/Context/ContextToolbar.js +13 -0
- package/dist/cjs/components/Toolbar/Context/ContextToolbar.js.map +1 -0
- package/dist/cjs/components/Toolbar/Context/Logo.js +14 -0
- package/dist/cjs/components/Toolbar/Context/Logo.js.map +1 -0
- package/dist/cjs/components/Toolbar/Context/LogoLinkEx.js +16 -0
- package/dist/cjs/components/Toolbar/Context/LogoLinkEx.js.map +1 -0
- package/dist/cjs/components/Toolbar/Context/index.js +5 -0
- package/dist/cjs/components/Toolbar/Context/index.js.map +1 -0
- package/dist/cjs/components/Toolbar/System/SystemToolbar.js +16 -0
- package/dist/cjs/components/Toolbar/System/SystemToolbar.js.map +1 -0
- package/dist/cjs/components/Toolbar/System/index.js +5 -0
- package/dist/cjs/components/Toolbar/System/index.js.map +1 -0
- package/dist/cjs/components/Toolbar/index.js +6 -0
- package/dist/cjs/components/Toolbar/index.js.map +1 -0
- package/dist/cjs/components/index.js +10 -0
- package/dist/cjs/components/index.js.map +1 -0
- package/dist/cjs/contexts/Collapsible/State.js +3 -0
- package/dist/cjs/contexts/Collapsible/State.js.map +1 -0
- package/dist/cjs/contexts/Collapsible/context.js +6 -0
- package/dist/cjs/contexts/Collapsible/context.js.map +1 -0
- package/dist/cjs/contexts/Collapsible/index.js +7 -0
- package/dist/cjs/contexts/Collapsible/index.js.map +1 -0
- package/dist/cjs/contexts/Collapsible/provider.js +19 -0
- package/dist/cjs/contexts/Collapsible/provider.js.map +1 -0
- package/dist/cjs/contexts/Collapsible/use.js +8 -0
- package/dist/cjs/contexts/Collapsible/use.js.map +1 -0
- package/dist/cjs/contexts/index.js +5 -0
- package/dist/cjs/contexts/index.js.map +1 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/docs.json +92 -92
- package/dist/esm/components/AppBar/Application.js +7 -0
- package/dist/esm/components/AppBar/Application.js.map +1 -0
- package/dist/esm/components/AppBar/index.js +2 -0
- package/dist/esm/components/AppBar/index.js.map +1 -0
- package/dist/esm/components/CollapsibleDrawer/CollapseToggle.js +17 -0
- package/dist/esm/components/CollapsibleDrawer/CollapseToggle.js.map +1 -0
- package/dist/esm/components/CollapsibleDrawer/CollapsibleDrawer.js +21 -0
- package/dist/esm/components/CollapsibleDrawer/CollapsibleDrawer.js.map +1 -0
- package/dist/{components/CollapsibleDrawer/index.d.mts → esm/components/CollapsibleDrawer/index.js} +1 -1
- package/dist/esm/components/CollapsibleDrawer/index.js.map +1 -0
- package/dist/esm/components/CollapsibleDrawer/storyExampleMenuData.js +66 -0
- package/dist/esm/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -0
- package/dist/esm/components/MobileSystemControls/SystemControls.js +8 -0
- package/dist/esm/components/MobileSystemControls/SystemControls.js.map +1 -0
- package/dist/esm/components/MobileSystemControls/SystemControlsRoot.js +59 -0
- package/dist/esm/components/MobileSystemControls/SystemControlsRoot.js.map +1 -0
- package/dist/esm/components/MobileSystemControls/SystemControlsType.js +7 -0
- package/dist/esm/components/MobileSystemControls/SystemControlsType.js.map +1 -0
- package/dist/esm/components/MobileSystemControls/SystemControlsUnstyled.js +17 -0
- package/dist/esm/components/MobileSystemControls/SystemControlsUnstyled.js.map +1 -0
- package/dist/esm/components/MobileSystemControls/controls/SystemControl.js +18 -0
- package/dist/esm/components/MobileSystemControls/controls/SystemControl.js.map +1 -0
- package/dist/esm/components/MobileSystemControls/controls/SystemControlText.js +8 -0
- package/dist/esm/components/MobileSystemControls/controls/SystemControlText.js.map +1 -0
- package/dist/{components/MobileSystemControls/controls/index.d.mts → esm/components/MobileSystemControls/controls/index.js} +1 -1
- package/dist/esm/components/MobileSystemControls/controls/index.js.map +1 -0
- package/dist/{components/MobileSystemControls/index.d.mts → esm/components/MobileSystemControls/index.js} +1 -1
- package/dist/esm/components/MobileSystemControls/index.js.map +1 -0
- package/dist/esm/components/SearchBar/SearchBar.js +14 -0
- package/dist/esm/components/SearchBar/SearchBar.js.map +1 -0
- package/dist/esm/components/SearchBar/index.js +2 -0
- package/dist/esm/components/SearchBar/index.js.map +1 -0
- package/dist/esm/components/SiteMenu/Menu.js +17 -0
- package/dist/esm/components/SiteMenu/Menu.js.map +1 -0
- package/dist/esm/components/SiteMenu/MenuListItem/MenuListItemContainer.js +23 -0
- package/dist/esm/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +1 -0
- package/dist/{components/SiteMenu/MenuListItem/index.d.mts → esm/components/SiteMenu/MenuListItem/index.js} +1 -1
- package/dist/esm/components/SiteMenu/MenuListItem/index.js.map +1 -0
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +8 -0
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -0
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +6 -0
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +1 -0
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +11 -0
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +1 -0
- package/dist/{components/SiteMenu/MenuListItem/list-item-components/index.d.mts → esm/components/SiteMenu/MenuListItem/list-item-components/index.js} +1 -1
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/index.js.map +1 -0
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +6 -0
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +1 -0
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +11 -0
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -0
- package/dist/{components/SiteMenu/MenuListItem/sub-nav/index.d.mts → esm/components/SiteMenu/MenuListItem/sub-nav/index.js} +1 -1
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/index.js.map +1 -0
- package/dist/esm/components/SiteMenu/MenuSection.js +8 -0
- package/dist/esm/components/SiteMenu/MenuSection.js.map +1 -0
- package/dist/{components/SiteMenu/hooks/index.d.mts → esm/components/SiteMenu/hooks/index.js} +1 -1
- package/dist/esm/components/SiteMenu/hooks/index.js.map +1 -0
- package/dist/esm/components/SiteMenu/hooks/useMenuItemsShared.js +19 -0
- package/dist/esm/components/SiteMenu/hooks/useMenuItemsShared.js.map +1 -0
- package/dist/{components/SiteMenu/index.d.mts → esm/components/SiteMenu/index.js} +1 -1
- package/dist/esm/components/SiteMenu/index.js.map +1 -0
- package/dist/esm/components/SiteMenu/lib/MenuListItemBase.js +2 -0
- package/dist/esm/components/SiteMenu/lib/MenuListItemBase.js.map +1 -0
- package/dist/esm/components/SiteMenu/lib/NavListItemProps.js +2 -0
- package/dist/esm/components/SiteMenu/lib/NavListItemProps.js.map +1 -0
- package/dist/{components/SiteMenu/lib/index.d.mts → esm/components/SiteMenu/lib/index.js} +1 -1
- package/dist/esm/components/SiteMenu/lib/index.js.map +1 -0
- package/dist/esm/components/Toolbar/Context/ContextToolbar.js +7 -0
- package/dist/esm/components/Toolbar/Context/ContextToolbar.js.map +1 -0
- package/dist/esm/components/Toolbar/Context/Logo.js +10 -0
- package/dist/esm/components/Toolbar/Context/Logo.js.map +1 -0
- package/dist/esm/components/Toolbar/Context/LogoLinkEx.js +10 -0
- package/dist/esm/components/Toolbar/Context/LogoLinkEx.js.map +1 -0
- package/dist/esm/components/Toolbar/Context/index.js +2 -0
- package/dist/esm/components/Toolbar/Context/index.js.map +1 -0
- package/dist/esm/components/Toolbar/System/SystemToolbar.js +10 -0
- package/dist/esm/components/Toolbar/System/SystemToolbar.js.map +1 -0
- package/dist/esm/components/Toolbar/System/index.js +2 -0
- package/dist/esm/components/Toolbar/System/index.js.map +1 -0
- package/dist/{components/Toolbar/index.d.mts → esm/components/Toolbar/index.js} +1 -1
- package/dist/esm/components/Toolbar/index.js.map +1 -0
- package/dist/{components/index.d.mts → esm/components/index.js} +1 -1
- package/dist/esm/components/index.js.map +1 -0
- package/dist/esm/contexts/Collapsible/State.js +2 -0
- package/dist/esm/contexts/Collapsible/State.js.map +1 -0
- package/dist/esm/contexts/Collapsible/context.js +3 -0
- package/dist/esm/contexts/Collapsible/context.js.map +1 -0
- package/dist/{contexts/Collapsible/index.d.mts → esm/contexts/Collapsible/index.js} +1 -1
- package/dist/esm/contexts/Collapsible/index.js.map +1 -0
- package/dist/esm/contexts/Collapsible/provider.js +15 -0
- package/dist/esm/contexts/Collapsible/provider.js.map +1 -0
- package/dist/esm/contexts/Collapsible/use.js +4 -0
- package/dist/esm/contexts/Collapsible/use.js.map +1 -0
- package/dist/esm/contexts/index.js +2 -0
- package/dist/esm/contexts/index.js.map +1 -0
- package/dist/{index.d.mts → esm/index.js} +1 -1
- package/dist/esm/index.js.map +1 -0
- package/dist/types/components/AppBar/Application.d.ts.map +1 -0
- package/dist/types/components/AppBar/index.d.ts.map +1 -0
- package/dist/types/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -0
- package/dist/types/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +1 -0
- package/dist/types/components/CollapsibleDrawer/index.d.ts.map +1 -0
- package/dist/types/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -0
- package/dist/types/components/MobileSystemControls/SystemControls.d.ts.map +1 -0
- package/dist/types/components/MobileSystemControls/SystemControlsRoot.d.ts.map +1 -0
- package/dist/types/components/MobileSystemControls/SystemControlsType.d.ts.map +1 -0
- package/dist/types/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map +1 -0
- package/dist/types/components/MobileSystemControls/controls/SystemControl.d.ts.map +1 -0
- package/dist/types/components/MobileSystemControls/controls/SystemControlText.d.ts.map +1 -0
- package/dist/types/components/MobileSystemControls/controls/index.d.ts.map +1 -0
- package/dist/types/components/MobileSystemControls/index.d.ts.map +1 -0
- package/dist/types/components/SearchBar/SearchBar.d.ts.map +1 -0
- package/dist/types/components/SearchBar/index.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/Menu.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/index.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/list-item-components/index.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuListItem/sub-nav/index.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/MenuSection.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/hooks/index.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/hooks/useMenuItemsShared.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/index.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/lib/MenuListItemBase.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/lib/NavListItemProps.d.ts.map +1 -0
- package/dist/types/components/SiteMenu/lib/index.d.ts.map +1 -0
- package/dist/types/components/Toolbar/Context/ContextToolbar.d.ts.map +1 -0
- package/dist/types/components/Toolbar/Context/Logo.d.ts.map +1 -0
- package/dist/types/components/Toolbar/Context/LogoLinkEx.d.ts.map +1 -0
- package/dist/types/components/Toolbar/Context/index.d.ts.map +1 -0
- package/dist/types/components/Toolbar/System/SystemToolbar.d.ts.map +1 -0
- package/dist/types/components/Toolbar/System/index.d.ts.map +1 -0
- package/dist/types/components/Toolbar/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/contexts/Collapsible/State.d.ts.map +1 -0
- package/dist/types/contexts/Collapsible/context.d.ts.map +1 -0
- package/dist/types/contexts/Collapsible/index.d.ts.map +1 -0
- package/dist/types/contexts/Collapsible/provider.d.ts.map +1 -0
- package/dist/types/contexts/Collapsible/use.d.ts.map +1 -0
- package/dist/types/contexts/index.d.ts.map +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +25 -33
- package/dist/components/AppBar/Application.d.mts +0 -10
- package/dist/components/AppBar/Application.d.mts.map +0 -1
- package/dist/components/AppBar/Application.d.ts.map +0 -1
- package/dist/components/AppBar/Application.stories.d.mts +0 -7
- package/dist/components/AppBar/Application.stories.d.mts.map +0 -1
- package/dist/components/AppBar/Application.stories.d.ts +0 -7
- package/dist/components/AppBar/Application.stories.d.ts.map +0 -1
- package/dist/components/AppBar/index.d.mts +0 -2
- package/dist/components/AppBar/index.d.mts.map +0 -1
- package/dist/components/AppBar/index.d.ts.map +0 -1
- package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.mts +0 -10
- package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.mts.map +0 -1
- package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.ts +0 -10
- package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.ts.map +0 -1
- package/dist/components/CollapsibleDrawer/CollapseToggle.d.mts +0 -4
- package/dist/components/CollapsibleDrawer/CollapseToggle.d.mts.map +0 -1
- package/dist/components/CollapsibleDrawer/CollapseToggle.d.ts.map +0 -1
- package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.mts +0 -5
- package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.mts.map +0 -1
- package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +0 -1
- package/dist/components/CollapsibleDrawer/index.d.mts.map +0 -1
- package/dist/components/CollapsibleDrawer/index.d.ts.map +0 -1
- package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.mts +0 -4
- package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +0 -1
- package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControls.d.mts +0 -5
- package/dist/components/MobileSystemControls/SystemControls.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControls.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControls.stories.d.mts +0 -7
- package/dist/components/MobileSystemControls/SystemControls.stories.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControls.stories.d.ts +0 -7
- package/dist/components/MobileSystemControls/SystemControls.stories.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControlsRoot.d.mts +0 -4
- package/dist/components/MobileSystemControls/SystemControlsRoot.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControlsRoot.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControlsType.d.mts +0 -6
- package/dist/components/MobileSystemControls/SystemControlsType.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControlsType.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.mts +0 -11
- package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/controls/SystemControl.d.mts +0 -11
- package/dist/components/MobileSystemControls/controls/SystemControl.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/controls/SystemControl.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/controls/SystemControlText.d.mts +0 -8
- package/dist/components/MobileSystemControls/controls/SystemControlText.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/controls/SystemControlText.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/controls/index.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/controls/index.d.ts.map +0 -1
- package/dist/components/MobileSystemControls/index.d.mts.map +0 -1
- package/dist/components/MobileSystemControls/index.d.ts.map +0 -1
- package/dist/components/SearchBar/SearchBar.d.mts +0 -7
- package/dist/components/SearchBar/SearchBar.d.mts.map +0 -1
- package/dist/components/SearchBar/SearchBar.d.ts.map +0 -1
- package/dist/components/SearchBar/index.d.mts +0 -2
- package/dist/components/SearchBar/index.d.mts.map +0 -1
- package/dist/components/SearchBar/index.d.ts.map +0 -1
- package/dist/components/SiteMenu/Menu.d.mts +0 -9
- package/dist/components/SiteMenu/Menu.d.mts.map +0 -1
- package/dist/components/SiteMenu/Menu.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.mts +0 -11
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.mts +0 -7
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.ts +0 -7
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/index.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/index.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts +0 -7
- package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.mts +0 -7
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.mts +0 -7
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/index.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/index.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.mts +0 -11
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts +0 -8
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/sub-nav/index.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuListItem/sub-nav/index.d.ts.map +0 -1
- package/dist/components/SiteMenu/MenuSection.d.mts +0 -11
- package/dist/components/SiteMenu/MenuSection.d.mts.map +0 -1
- package/dist/components/SiteMenu/MenuSection.d.ts.map +0 -1
- package/dist/components/SiteMenu/hooks/index.d.mts.map +0 -1
- package/dist/components/SiteMenu/hooks/index.d.ts.map +0 -1
- package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.mts +0 -7
- package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.mts.map +0 -1
- package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.ts.map +0 -1
- package/dist/components/SiteMenu/index.d.mts.map +0 -1
- package/dist/components/SiteMenu/index.d.ts.map +0 -1
- package/dist/components/SiteMenu/lib/MenuListItemBase.d.mts +0 -5
- package/dist/components/SiteMenu/lib/MenuListItemBase.d.mts.map +0 -1
- package/dist/components/SiteMenu/lib/MenuListItemBase.d.ts.map +0 -1
- package/dist/components/SiteMenu/lib/NavListItemProps.d.mts +0 -12
- package/dist/components/SiteMenu/lib/NavListItemProps.d.mts.map +0 -1
- package/dist/components/SiteMenu/lib/NavListItemProps.d.ts.map +0 -1
- package/dist/components/SiteMenu/lib/index.d.mts.map +0 -1
- package/dist/components/SiteMenu/lib/index.d.ts.map +0 -1
- package/dist/components/Toolbar/Context/ContextToolbar.d.mts +0 -9
- package/dist/components/Toolbar/Context/ContextToolbar.d.mts.map +0 -1
- package/dist/components/Toolbar/Context/ContextToolbar.d.ts.map +0 -1
- package/dist/components/Toolbar/Context/ContextToolbar.stories.d.mts +0 -6
- package/dist/components/Toolbar/Context/ContextToolbar.stories.d.mts.map +0 -1
- package/dist/components/Toolbar/Context/ContextToolbar.stories.d.ts +0 -6
- package/dist/components/Toolbar/Context/ContextToolbar.stories.d.ts.map +0 -1
- package/dist/components/Toolbar/Context/Logo.d.mts +0 -3
- package/dist/components/Toolbar/Context/Logo.d.mts.map +0 -1
- package/dist/components/Toolbar/Context/Logo.d.ts.map +0 -1
- package/dist/components/Toolbar/Context/LogoLinkEx.d.mts +0 -7
- package/dist/components/Toolbar/Context/LogoLinkEx.d.mts.map +0 -1
- package/dist/components/Toolbar/Context/LogoLinkEx.d.ts.map +0 -1
- package/dist/components/Toolbar/Context/index.d.mts +0 -2
- package/dist/components/Toolbar/Context/index.d.mts.map +0 -1
- package/dist/components/Toolbar/Context/index.d.ts.map +0 -1
- package/dist/components/Toolbar/System/SystemToolbar.d.mts +0 -15
- package/dist/components/Toolbar/System/SystemToolbar.d.mts.map +0 -1
- package/dist/components/Toolbar/System/SystemToolbar.d.ts.map +0 -1
- package/dist/components/Toolbar/System/SystemToolbar.stories.d.mts +0 -8
- package/dist/components/Toolbar/System/SystemToolbar.stories.d.mts.map +0 -1
- package/dist/components/Toolbar/System/SystemToolbar.stories.d.ts +0 -8
- package/dist/components/Toolbar/System/SystemToolbar.stories.d.ts.map +0 -1
- package/dist/components/Toolbar/System/index.d.mts +0 -2
- package/dist/components/Toolbar/System/index.d.mts.map +0 -1
- package/dist/components/Toolbar/System/index.d.ts.map +0 -1
- package/dist/components/Toolbar/index.d.mts.map +0 -1
- package/dist/components/Toolbar/index.d.ts.map +0 -1
- package/dist/components/index.d.mts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/contexts/Collapsible/State.d.mts +0 -9
- package/dist/contexts/Collapsible/State.d.mts.map +0 -1
- package/dist/contexts/Collapsible/State.d.ts.map +0 -1
- package/dist/contexts/Collapsible/context.d.mts +0 -4
- package/dist/contexts/Collapsible/context.d.mts.map +0 -1
- package/dist/contexts/Collapsible/context.d.ts.map +0 -1
- package/dist/contexts/Collapsible/index.d.mts.map +0 -1
- package/dist/contexts/Collapsible/index.d.ts.map +0 -1
- package/dist/contexts/Collapsible/provider.d.mts +0 -8
- package/dist/contexts/Collapsible/provider.d.mts.map +0 -1
- package/dist/contexts/Collapsible/provider.d.ts.map +0 -1
- package/dist/contexts/Collapsible/use.d.mts +0 -2
- package/dist/contexts/Collapsible/use.d.mts.map +0 -1
- package/dist/contexts/Collapsible/use.d.ts.map +0 -1
- package/dist/contexts/index.d.mts +0 -2
- package/dist/contexts/index.d.mts.map +0 -1
- package/dist/contexts/index.d.ts.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -598
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -547
- package/dist/index.mjs.map +0 -1
- /package/dist/{components → types/components}/AppBar/Application.d.ts +0 -0
- /package/dist/{components → types/components}/AppBar/index.d.ts +0 -0
- /package/dist/{components → types/components}/CollapsibleDrawer/CollapseToggle.d.ts +0 -0
- /package/dist/{components → types/components}/CollapsibleDrawer/CollapsibleDrawer.d.ts +0 -0
- /package/dist/{components → types/components}/CollapsibleDrawer/index.d.ts +0 -0
- /package/dist/{components → types/components}/CollapsibleDrawer/storyExampleMenuData.d.ts +0 -0
- /package/dist/{components → types/components}/MobileSystemControls/SystemControls.d.ts +0 -0
- /package/dist/{components → types/components}/MobileSystemControls/SystemControlsRoot.d.ts +0 -0
- /package/dist/{components → types/components}/MobileSystemControls/SystemControlsType.d.ts +0 -0
- /package/dist/{components → types/components}/MobileSystemControls/SystemControlsUnstyled.d.ts +0 -0
- /package/dist/{components → types/components}/MobileSystemControls/controls/SystemControl.d.ts +0 -0
- /package/dist/{components → types/components}/MobileSystemControls/controls/SystemControlText.d.ts +0 -0
- /package/dist/{components → types/components}/MobileSystemControls/controls/index.d.ts +0 -0
- /package/dist/{components → types/components}/MobileSystemControls/index.d.ts +0 -0
- /package/dist/{components → types/components}/SearchBar/SearchBar.d.ts +0 -0
- /package/dist/{components → types/components}/SearchBar/index.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/Menu.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/MenuListItemContainer.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/index.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/list-item-components/index.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuListItem/sub-nav/index.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/MenuSection.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/hooks/index.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/hooks/useMenuItemsShared.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/index.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/lib/MenuListItemBase.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/lib/NavListItemProps.d.ts +0 -0
- /package/dist/{components → types/components}/SiteMenu/lib/index.d.ts +0 -0
- /package/dist/{components → types/components}/Toolbar/Context/ContextToolbar.d.ts +0 -0
- /package/dist/{components → types/components}/Toolbar/Context/Logo.d.ts +0 -0
- /package/dist/{components → types/components}/Toolbar/Context/LogoLinkEx.d.ts +0 -0
- /package/dist/{components → types/components}/Toolbar/Context/index.d.ts +0 -0
- /package/dist/{components → types/components}/Toolbar/System/SystemToolbar.d.ts +0 -0
- /package/dist/{components → types/components}/Toolbar/System/index.d.ts +0 -0
- /package/dist/{components → types/components}/Toolbar/index.d.ts +0 -0
- /package/dist/{components → types/components}/index.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/Collapsible/State.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/Collapsible/context.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/Collapsible/index.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/Collapsible/provider.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/Collapsible/use.d.ts +0 -0
- /package/dist/{contexts → types/contexts}/index.d.ts +0 -0
- /package/dist/{index.d.ts → types/index.d.ts} +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SubNavToggleIconButton = void 0;
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
const material_1 = require("@mui/material");
|
6
|
+
const vsc_1 = require("react-icons/vsc");
|
7
|
+
const SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
8
|
+
const theme = (0, material_1.useTheme)();
|
9
|
+
return ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: (event) => {
|
10
|
+
event.stopPropagation();
|
11
|
+
setOpenSubNav === null || setOpenSubNav === void 0 ? void 0 : setOpenSubNav(!openSubNav);
|
12
|
+
}, sx: { marginRight: theme.spacing(0.5) } }, { children: (0, jsx_runtime_1.jsx)(vsc_1.VscChevronDown, { fontSize: "16px" }) })));
|
13
|
+
};
|
14
|
+
exports.SubNavToggleIconButton = SubNavToggleIconButton;
|
15
|
+
//# sourceMappingURL=SubNavToggleIconButton.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SubNavToggleIconButton.js","sourceRoot":"","sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx"],"names":[],"mappings":";;;;AAAA,4CAAqE;AAErE,yCAAgD;AAOzC,MAAM,sBAAsB,GAA0C,CAAC,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE,EAAE;IAC7G,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IACxB,OAAO,CACL,uBAAC,qBAAU,kBACT,OAAO,EAAE,CAAC,KAAqB,EAAE,EAAE;YACjC,KAAK,CAAC,eAAe,EAAE,CAAA;YACvB,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAG,CAAC,UAAU,CAAC,CAAA;QAC9B,CAAC,EACD,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,gBAEvC,uBAAC,oBAAc,IAAC,QAAQ,EAAC,MAAM,GAAG,IACvB,CACd,CAAA;AACH,CAAC,CAAA;AAbY,QAAA,sBAAsB,0BAalC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./SubNavListItemCollapse"), exports);
|
5
|
+
tslib_1.__exportStar(require("./SubNavToggleIconButton"), exports);
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/index.ts"],"names":[],"mappings":";;;AAAA,mEAAwC;AACxC,mEAAwC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MenuSection = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
+
const material_1 = require("@mui/material");
|
7
|
+
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
8
|
+
const MenuListItem_1 = require("./MenuListItem");
|
9
|
+
const MenuSection = (_a) => {
|
10
|
+
var { iconMenuTextSpacing, listItems, showTitle = true, title } = _a, props = tslib_1.__rest(_a, ["iconMenuTextSpacing", "listItems", "showTitle", "title"]);
|
11
|
+
return ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexCol, Object.assign({ alignItems: "stretch" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Collapse, Object.assign({ in: showTitle, timeout: 700 }, { children: (0, jsx_runtime_1.jsx)(material_1.ListSubheader, { children: title }) })), listItems.map((item, index) => ((0, jsx_runtime_1.jsx)(MenuListItem_1.MenuListItemContainer, Object.assign({ iconMenuTextSpacing: iconMenuTextSpacing }, item), index)))] })));
|
12
|
+
};
|
13
|
+
exports.MenuSection = MenuSection;
|
14
|
+
//# sourceMappingURL=MenuSection.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MenuSection.js","sourceRoot":"","sources":["../../../../src/components/SiteMenu/MenuSection.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAuD;AACvD,yDAA6D;AAE7D,iDAAyE;AASlE,MAAM,WAAW,GAA+B,CAAC,EAAqE,EAAE,EAAE;QAAzE,EAAE,mBAAmB,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI,EAAE,KAAK,OAAY,EAAP,KAAK,sBAAnE,0DAAqE,CAAF;IACzH,OAAO,CACL,wBAAC,uBAAO,kBAAC,UAAU,EAAC,SAAS,IAAK,KAAK,eACrC,uBAAC,mBAAQ,kBAAC,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,gBACnC,uBAAC,wBAAa,cAAE,KAAK,GAAiB,IAC7B,EAEV,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC9B,uBAAC,oCAAqB,kBAAa,mBAAmB,EAAE,mBAAmB,IAAM,IAAI,GAAzD,KAAK,CAA8E,CAChH,CAAC,KACM,CACX,CAAA;AACH,CAAC,CAAA;AAZY,QAAA,WAAW,eAYvB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/SiteMenu/hooks/index.ts"],"names":[],"mappings":";;;AAAA,+DAAoC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.useMenuItemsShared = void 0;
|
4
|
+
const react_1 = require("react");
|
5
|
+
const contexts_1 = require("../../../contexts");
|
6
|
+
const useMenuItemsShared = () => {
|
7
|
+
const { collapse, collapseEnd, setCollapse, setCollapseEnd } = (0, contexts_1.useCollapsible)();
|
8
|
+
const onMenuItemToggle = (open) => {
|
9
|
+
setCollapse === null || setCollapse === void 0 ? void 0 : setCollapse((previous) => (open ? false : previous));
|
10
|
+
setCollapseEnd === null || setCollapseEnd === void 0 ? void 0 : setCollapseEnd((previous) => (open ? false : previous));
|
11
|
+
};
|
12
|
+
const defaultSiteMenuListItemProps = (0, react_1.useMemo)(() => ({
|
13
|
+
collapseEnd,
|
14
|
+
dense: true,
|
15
|
+
iconOnly: collapse,
|
16
|
+
sx: {
|
17
|
+
px: '8px',
|
18
|
+
},
|
19
|
+
}), [collapse, collapseEnd]);
|
20
|
+
return { defaultSiteMenuListItemProps, onMenuItemToggle };
|
21
|
+
};
|
22
|
+
exports.useMenuItemsShared = useMenuItemsShared;
|
23
|
+
//# sourceMappingURL=useMenuItemsShared.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useMenuItemsShared.js","sourceRoot":"","sources":["../../../../../src/components/SiteMenu/hooks/useMenuItemsShared.tsx"],"names":[],"mappings":";;;AAAA,iCAA+B;AAE/B,gDAAkD;AAK3C,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,IAAA,yBAAc,GAAE,CAAA;IAE/E,MAAM,gBAAgB,GAAG,CAAC,IAAc,EAAE,EAAE;QAC1C,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAA;QACtD,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC3D,CAAC,CAAA;IAED,MAAM,4BAA4B,GAAiC,IAAA,eAAO,EACxE,GAAG,EAAE,CAAC,CAAC;QACL,WAAW;QACX,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,QAAQ;QAClB,EAAE,EAAE;YACF,EAAE,EAAE,KAAK;SACV;KACF,CAAC,EACF,CAAC,QAAQ,EAAE,WAAW,CAAC,CACxB,CAAA;IAED,OAAO,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,CAAA;AAC3D,CAAC,CAAA;AArBY,QAAA,kBAAkB,sBAqB9B"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./hooks"), exports);
|
5
|
+
tslib_1.__exportStar(require("./lib"), exports);
|
6
|
+
tslib_1.__exportStar(require("./Menu"), exports);
|
7
|
+
tslib_1.__exportStar(require("./MenuListItem"), exports);
|
8
|
+
tslib_1.__exportStar(require("./MenuSection"), exports);
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/SiteMenu/index.ts"],"names":[],"mappings":";;;AAAA,kDAAuB;AACvB,gDAAqB;AACrB,iDAAsB;AACtB,yDAA8B;AAC9B,wDAA6B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MenuListItemBase.js","sourceRoot":"","sources":["../../../../../src/components/SiteMenu/lib/MenuListItemBase.tsx"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NavListItemProps.js","sourceRoot":"","sources":["../../../../../src/components/SiteMenu/lib/NavListItemProps.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./MenuListItemBase"), exports);
|
5
|
+
tslib_1.__exportStar(require("./NavListItemProps"), exports);
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/SiteMenu/lib/index.ts"],"names":[],"mappings":";;;AAAA,6DAAkC;AAClC,6DAAkC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ContextToolbar = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
+
const material_1 = require("@mui/material");
|
7
|
+
const LogoLinkEx_1 = require("./LogoLinkEx");
|
8
|
+
const ContextToolbar = (_a) => {
|
9
|
+
var { logoTo = '/', version = false } = _a, props = tslib_1.__rest(_a, ["logoTo", "version"]);
|
10
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Toolbar, Object.assign({}, props, { children: (0, jsx_runtime_1.jsx)(LogoLinkEx_1.LogoLinkEx, { version: version, to: logoTo }) })));
|
11
|
+
};
|
12
|
+
exports.ContextToolbar = ContextToolbar;
|
13
|
+
//# sourceMappingURL=ContextToolbar.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextToolbar.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/ContextToolbar.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAqD;AAGrD,6CAAyC;AAOlC,MAAM,cAAc,GAAkC,CAAC,EAA2C,EAAE,EAAE;QAA/C,EAAE,MAAM,GAAG,GAAG,EAAE,OAAO,GAAG,KAAK,OAAY,EAAP,KAAK,sBAAzC,qBAA2C,CAAF;IACrG,OAAO,CACL,uBAAC,kBAAO,oBAAK,KAAK,cAChB,uBAAC,uBAAU,IAAC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,GAAI,IACpC,CACX,CAAA;AACH,CAAC,CAAA;AANY,QAAA,cAAc,kBAM1B"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Logo = void 0;
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
const material_1 = require("@mui/material");
|
6
|
+
const Logo = (props) => {
|
7
|
+
const theme = (0, material_1.useTheme)();
|
8
|
+
const logoUrl = theme.palette.mode === 'dark'
|
9
|
+
? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'
|
10
|
+
: 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg';
|
11
|
+
return (0, jsx_runtime_1.jsx)("img", Object.assign({ src: logoUrl }, props));
|
12
|
+
};
|
13
|
+
exports.Logo = Logo;
|
14
|
+
//# sourceMappingURL=Logo.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/Logo.tsx"],"names":[],"mappings":";;;;AAAA,4CAAwC;AAEjC,MAAM,IAAI,GAAmG,CAAC,KAAK,EAAE,EAAE;IAC5H,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IACxB,MAAM,OAAO,GACX,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM;QAC3B,CAAC,CAAC,yDAAyD;QAC3D,CAAC,CAAC,yDAAyD,CAAA;IAC/D,OAAO,8CAAK,GAAG,EAAE,OAAO,IAAM,KAAK,EAAI,CAAA;AACzC,CAAC,CAAA;AAPY,QAAA,IAAI,QAOhB"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LogoLinkEx = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
+
const material_1 = require("@mui/material");
|
7
|
+
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
8
|
+
const react_link_1 = require("@xylabs/react-link");
|
9
|
+
const Logo_1 = require("./Logo");
|
10
|
+
const LogoLinkEx = (_a) => {
|
11
|
+
var { to = '/', version = false } = _a, props = tslib_1.__rest(_a, ["to", "version"]);
|
12
|
+
const theme = (0, material_1.useTheme)();
|
13
|
+
return ((0, jsx_runtime_1.jsx)(react_link_1.LinkEx, Object.assign({ to: to }, props, { children: (0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ paddingX: "4px" }, { children: [(0, jsx_runtime_1.jsx)(Logo_1.Logo, { height: "40", width: "43" }), version ? ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ position: "absolute", borderRadius: 1, right: 6, color: theme.palette.getContrastText(theme.palette.text.primary), bottom: 0, bgcolor: theme.palette.text.primary, paddingX: "2px", lineHeight: 1, variant: "caption", border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid` }, { children: typeof version === 'string' ? version : '2.1' }))) : null] })) })));
|
14
|
+
};
|
15
|
+
exports.LogoLinkEx = LogoLinkEx;
|
16
|
+
//# sourceMappingURL=LogoLinkEx.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LogoLinkEx.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/LogoLinkEx.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAoD;AACpD,yDAA+C;AAC/C,mDAAwD;AAExD,iCAA6B;AAMtB,MAAM,UAAU,GAA8B,CAAC,EAAuC,EAAE,EAAE;QAA3C,EAAE,EAAE,GAAG,GAAG,EAAE,OAAO,GAAG,KAAK,OAAY,EAAP,KAAK,sBAArC,iBAAuC,CAAF;IACzF,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IACxB,OAAO,CACL,uBAAC,mBAAM,kBAAC,EAAE,EAAE,EAAE,IAAM,KAAK,cACvB,wBAAC,uBAAO,kBAAC,QAAQ,EAAC,KAAK,iBACrB,uBAAC,WAAI,IAAC,MAAM,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,GAAG,EAC9B,OAAO,CAAC,CAAC,CAAC,CACT,uBAAC,qBAAU,kBACT,QAAQ,EAAC,UAAU,EACnB,YAAY,EAAE,CAAC,EACf,KAAK,EAAE,CAAC,EACR,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAChE,MAAM,EAAE,CAAC,EACT,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EACnC,QAAQ,EAAC,KAAK,EACd,UAAU,EAAE,CAAC,EACb,OAAO,EAAC,SAAS,EACjB,MAAM,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,gBAE/E,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,IACnC,CACd,CAAC,CAAC,CAAC,IAAI,KACA,IACH,CACV,CAAA;AACH,CAAC,CAAA;AAzBY,QAAA,UAAU,cAyBtB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SystemToolbar = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
+
const material_1 = require("@mui/material");
|
7
|
+
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
8
|
+
const react_app_settings_1 = require("@xyo-network/react-app-settings");
|
9
|
+
const react_network_1 = require("@xyo-network/react-network");
|
10
|
+
const SiteMenu_1 = require("../../SiteMenu");
|
11
|
+
const SystemToolbar = (_a) => {
|
12
|
+
var { children, darkModeButton = false, hideNetworkSelect, menuItems, networkSelectProps, onMenuToggle, precedingChildren } = _a, props = tslib_1.__rest(_a, ["children", "darkModeButton", "hideNetworkSelect", "menuItems", "networkSelectProps", "onMenuToggle", "precedingChildren"]);
|
13
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Toolbar, Object.assign({}, props, { children: [precedingChildren, hideNetworkSelect ? null : ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ marginX: 0.5 }, { children: (0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ variant: "elevation" }, { children: (0, jsx_runtime_1.jsx)(react_network_1.NetworkSelectEx, Object.assign({ fullWidth: true }, networkSelectProps)) })) }))), children, darkModeButton ? (0, jsx_runtime_1.jsx)(react_app_settings_1.DarkModeIconButton, { color: "inherit" }) : null, menuItems ? (0, jsx_runtime_1.jsx)(SiteMenu_1.SiteMenu, Object.assign({ onMenuToggle: onMenuToggle }, { children: menuItems })) : null] })));
|
14
|
+
};
|
15
|
+
exports.SystemToolbar = SystemToolbar;
|
16
|
+
//# sourceMappingURL=SystemToolbar.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemToolbar.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/System/SystemToolbar.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA4D;AAC5D,yDAA+C;AAC/C,wEAAoE;AACpE,8DAAkF;AAGlF,6CAAwD;AAYjD,MAAM,aAAa,GAAiC,CAAC,EAS3D,EAAE,EAAE;QATuD,EAC1D,QAAQ,EACR,cAAc,GAAG,KAAK,EACtB,iBAAiB,EACjB,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,OAElB,EADI,KAAK,sBARkD,2HAS3D,CADS;IAER,OAAO,CACL,wBAAC,kBAAO,oBAAK,KAAK,eACf,iBAAiB,EACjB,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC1B,uBAAC,uBAAO,kBAAC,OAAO,EAAE,GAAG,gBACnB,uBAAC,gBAAK,kBAAC,OAAO,EAAC,WAAW,gBACxB,uBAAC,+BAAe,kBAAC,SAAS,UAAK,kBAAkB,EAAI,IAC/C,IACA,CACX,EACA,QAAQ,EACR,cAAc,CAAC,CAAC,CAAC,uBAAC,uCAAkB,IAAC,KAAK,EAAC,SAAS,GAAG,CAAC,CAAC,CAAC,IAAI,EAC9D,SAAS,CAAC,CAAC,CAAC,uBAAC,mBAAQ,kBAAC,YAAY,EAAE,YAAY,gBAAG,SAAS,IAAY,CAAC,CAAC,CAAC,IAAI,KACxE,CACX,CAAA;AACH,CAAC,CAAA;AAzBY,QAAA,aAAa,iBAyBzB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/System/index.ts"],"names":[],"mappings":";;;AAAA,0DAA+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Toolbar/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB;AACzB,mDAAwB"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./AppBar"), exports);
|
5
|
+
tslib_1.__exportStar(require("./CollapsibleDrawer"), exports);
|
6
|
+
tslib_1.__exportStar(require("./MobileSystemControls"), exports);
|
7
|
+
tslib_1.__exportStar(require("./SearchBar"), exports);
|
8
|
+
tslib_1.__exportStar(require("./SiteMenu"), exports);
|
9
|
+
tslib_1.__exportStar(require("./Toolbar"), exports);
|
10
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;AAAA,mDAAwB;AACxB,8DAAmC;AACnC,iEAAsC;AACtC,sDAA2B;AAC3B,qDAA0B;AAC1B,oDAAyB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/State.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CollapsibleContext = void 0;
|
4
|
+
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
+
exports.CollapsibleContext = (0, react_shared_1.createContextEx)();
|
6
|
+
//# sourceMappingURL=context.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/context.ts"],"names":[],"mappings":";;;AAAA,4DAA2D;AAI9C,QAAA,kBAAkB,GAAG,IAAA,8BAAe,GAAoB,CAAA"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./provider"), exports);
|
5
|
+
tslib_1.__exportStar(require("./State"), exports);
|
6
|
+
tslib_1.__exportStar(require("./use"), exports);
|
7
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CollapsibleProvider = void 0;
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
const react_1 = require("react");
|
6
|
+
const context_1 = require("./context");
|
7
|
+
const CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
8
|
+
const [collapse, setCollapse] = (0, react_1.useState)(defaultCollapse);
|
9
|
+
const [collapseEnd, setCollapseEnd] = (0, react_1.useState)(defaultCollapseEnd);
|
10
|
+
(0, react_1.useEffect)(() => {
|
11
|
+
setCollapse(defaultCollapse);
|
12
|
+
}, [defaultCollapse]);
|
13
|
+
(0, react_1.useEffect)(() => {
|
14
|
+
setCollapseEnd(defaultCollapseEnd);
|
15
|
+
}, [defaultCollapseEnd]);
|
16
|
+
return ((0, jsx_runtime_1.jsx)(context_1.CollapsibleContext.Provider, Object.assign({ value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd } }, { children: children })));
|
17
|
+
};
|
18
|
+
exports.CollapsibleProvider = CollapsibleProvider;
|
19
|
+
//# sourceMappingURL=provider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/provider.tsx"],"names":[],"mappings":";;;;AACA,iCAA2C;AAE3C,uCAA8C;AAOvC,MAAM,mBAAmB,GAAuC,CAAC,EAAE,eAAe,GAAG,KAAK,EAAE,kBAAkB,GAAG,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3I,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,IAAA,gBAAQ,EAAC,eAAe,CAAC,CAAA;IACzD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,kBAAkB,CAAC,CAAA;IAElE,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,WAAW,CAAC,eAAe,CAAC,CAAA;IAC9B,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAA;IAErB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,cAAc,CAAC,kBAAkB,CAAC,CAAA;IACpC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAA;IAExB,OAAO,CACL,uBAAC,4BAAkB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,cAAc,EAAE,gBACvG,QAAQ,IACmB,CAC/B,CAAA;AACH,CAAC,CAAA;AAjBY,QAAA,mBAAmB,uBAiB/B"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.useCollapsible = void 0;
|
4
|
+
const react_shared_1 = require("@xyo-network/react-shared");
|
5
|
+
const context_1 = require("./context");
|
6
|
+
const useCollapsible = () => (0, react_shared_1.useContextEx)(context_1.CollapsibleContext, 'Collapsible', false);
|
7
|
+
exports.useCollapsible = useCollapsible;
|
8
|
+
//# sourceMappingURL=use.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/use.tsx"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,uCAA8C;AAEvC,MAAM,cAAc,GAAG,GAAG,EAAE,CAAC,IAAA,2BAAY,EAAC,4BAAkB,EAAE,aAAa,EAAE,KAAK,CAAC,CAAA;AAA7E,QAAA,cAAc,kBAA+D"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":";;;AAAA,wDAA6B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,qDAA0B"}
|