@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,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ApplicationAppBar = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
+
const react_appbar_1 = require("@xylabs/react-appbar");
|
7
|
+
const Toolbar_1 = require("../Toolbar");
|
8
|
+
const ApplicationAppBar = (_a) => {
|
9
|
+
var { systemToolbar, contextToolbar, responsive = true } = _a, props = tslib_1.__rest(_a, ["systemToolbar", "contextToolbar", "responsive"]);
|
10
|
+
return ((0, jsx_runtime_1.jsx)(react_appbar_1.AppBarEx, Object.assign({ systemToolbar: systemToolbar !== null && systemToolbar !== void 0 ? systemToolbar : (0, jsx_runtime_1.jsx)(Toolbar_1.SystemToolbar, {}), contextToolbar: contextToolbar !== null && contextToolbar !== void 0 ? contextToolbar : (0, jsx_runtime_1.jsx)(Toolbar_1.ContextToolbar, {}), position: "sticky", responsive: responsive }, props)));
|
11
|
+
};
|
12
|
+
exports.ApplicationAppBar = ApplicationAppBar;
|
13
|
+
//# sourceMappingURL=Application.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Application.js","sourceRoot":"","sources":["../../../../src/components/AppBar/Application.tsx"],"names":[],"mappings":";;;;;AACA,uDAA8D;AAG9D,wCAA0D;AAQnD,MAAM,iBAAiB,GAAqC,CAAC,EAA8D,EAAE,EAAE;QAAlE,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,GAAG,IAAI,OAAY,EAAP,KAAK,sBAA5D,iDAA8D,CAAF;IAC9H,OAAO,CACL,uBAAC,uBAAQ,kBACP,aAAa,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,uBAAC,uBAAa,KAAG,EACjD,cAAc,EAAE,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,uBAAC,wBAAc,KAAG,EACpD,QAAQ,EAAC,QAAQ,EACjB,UAAU,EAAE,UAAU,IAClB,KAAK,EACT,CACH,CAAA;AACH,CAAC,CAAA;AAVY,QAAA,iBAAiB,qBAU7B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/AppBar/index.ts"],"names":[],"mappings":";;;AAAA,wDAA6B"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CollapseToggleFlex = void 0;
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
const material_1 = require("@mui/material");
|
6
|
+
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
7
|
+
const react_1 = require("react");
|
8
|
+
const vsc_1 = require("react-icons/vsc");
|
9
|
+
const contexts_1 = require("../../contexts");
|
10
|
+
const CollapseToggleFlex = (props) => {
|
11
|
+
const { collapse, setCollapse, setCollapseEnd } = (0, contexts_1.useCollapsible)();
|
12
|
+
const [hover, setHover] = (0, react_1.useState)(false);
|
13
|
+
const theme = (0, material_1.useTheme)();
|
14
|
+
const handleCollapseToggle = () => {
|
15
|
+
setCollapse === null || setCollapse === void 0 ? void 0 : setCollapse(!collapse);
|
16
|
+
setCollapseEnd === null || setCollapseEnd === void 0 ? void 0 : setCollapseEnd((previous) => (previous ? false : previous));
|
17
|
+
};
|
18
|
+
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ mt: 2, py: 2, justifyContent: collapse ? 'start' : 'center' }, props, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ onClick: handleCollapseToggle, onMouseEnter: () => setHover(true), onMouseLeave: () => setHover(false), fontSize: 'large', sx: { color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' } }, { children: !collapse ? (0, jsx_runtime_1.jsx)(vsc_1.VscArrowSmallLeft, {}) : (0, jsx_runtime_1.jsx)(vsc_1.VscArrowSmallRight, {}) })) })));
|
19
|
+
};
|
20
|
+
exports.CollapseToggleFlex = CollapseToggleFlex;
|
21
|
+
//# sourceMappingURL=CollapseToggle.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CollapseToggle.js","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapseToggle.tsx"],"names":[],"mappings":";;;;AAAA,4CAA8C;AAC9C,yDAA6D;AAC7D,iCAAgC;AAChC,yCAAuE;AAEvE,6CAA+C;AAExC,MAAM,kBAAkB,GAA2B,CAAC,KAAK,EAAE,EAAE;IAClE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,IAAA,yBAAc,GAAE,CAAA;IAClE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IACzC,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IAExB,MAAM,oBAAoB,GAAG,GAAG,EAAE;QAChC,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAG,CAAC,QAAQ,CAAC,CAAA;QACxB,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC/D,CAAC,CAAA;IAED,OAAO,CACL,uBAAC,uBAAO,kBAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,IAAM,KAAK,cAC7E,uBAAC,eAAI,kBACH,OAAO,EAAE,oBAAoB,EAC7B,YAAY,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,EAClC,YAAY,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EACnC,QAAQ,EAAE,OAAO,EACjB,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,gBAEjF,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAC,uBAAiB,KAAG,CAAC,CAAC,CAAC,uBAAC,wBAAkB,KAAG,IACtD,IACC,CACX,CAAA;AACH,CAAC,CAAA;AAvBY,QAAA,kBAAkB,sBAuB9B"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CollapsibleDrawer = 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 contexts_1 = require("../../contexts");
|
8
|
+
const CollapsibleDrawer = (_a) => {
|
9
|
+
var _b;
|
10
|
+
var { children, sx } = _a, props = tslib_1.__rest(_a, ["children", "sx"]);
|
11
|
+
const { collapse, setCollapseEnd } = (0, contexts_1.useCollapsible)();
|
12
|
+
const theme = (0, material_1.useTheme)();
|
13
|
+
const collapsedSize = (_b = props.collapsedSize) !== null && _b !== void 0 ? _b : theme.spacing(5);
|
14
|
+
return ((0, jsx_runtime_1.jsx)(CollapsibleFlexInner, Object.assign({ in: !collapse, orientation: "horizontal", collapsedSize: collapsedSize, onExited: () => setCollapseEnd === null || setCollapseEnd === void 0 ? void 0 : setCollapseEnd(true), sx: Object.assign({ alignItems: 'start', display: 'flex', height: '100%' }, sx) }, props, { children: children })));
|
15
|
+
};
|
16
|
+
exports.CollapsibleDrawer = CollapsibleDrawer;
|
17
|
+
const CollapsibleFlexInner = (0, material_1.styled)(material_1.Collapse)(() => ({
|
18
|
+
'& .MuiCollapse-wrapperInner': {
|
19
|
+
display: 'flex',
|
20
|
+
flexDirection: 'column',
|
21
|
+
},
|
22
|
+
}));
|
23
|
+
//# sourceMappingURL=CollapsibleDrawer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CollapsibleDrawer.js","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAyE;AAGzE,6CAA+C;AAExC,MAAM,iBAAiB,GAA0C,CAAC,EAA0B,EAAE,EAAE;;QAA9B,EAAE,QAAQ,EAAE,EAAE,OAAY,EAAP,KAAK,sBAAxB,kBAA0B,CAAF;IAC/F,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAA,yBAAc,GAAE,CAAA;IACrD,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IAExB,MAAM,aAAa,GAAG,MAAA,KAAK,CAAC,aAAa,mCAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;IAE7D,OAAO,CACL,uBAAC,oBAAoB,kBACnB,EAAE,EAAE,CAAC,QAAQ,EACb,WAAW,EAAC,YAAY,EACxB,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,GAAG,EAAE,CAAC,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,IAAI,CAAC,EACtC,EAAE,kBACA,UAAU,EAAE,OAAO,EACnB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,IACX,EAAE,KAEH,KAAK,cAER,QAAQ,IACY,CACxB,CAAA;AACH,CAAC,CAAA;AAvBY,QAAA,iBAAiB,qBAuB7B;AAED,MAAM,oBAAoB,GAAG,IAAA,iBAAM,EAAC,mBAAQ,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACnD,6BAA6B,EAAE;QAC7B,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,QAAQ;KACxB;CACF,CAAC,CAAC,CAAA"}
|
@@ -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("./CollapseToggle"), exports);
|
5
|
+
tslib_1.__exportStar(require("./CollapsibleDrawer"), exports);
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC;AAChC,8DAAmC"}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.menuDataBottom = exports.menuDataTop = void 0;
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
const vsc_1 = require("react-icons/vsc");
|
6
|
+
exports.menuDataTop = [
|
7
|
+
{
|
8
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscGlobe, { fontSize: "body1" }),
|
9
|
+
primary: 'Explore',
|
10
|
+
to: '',
|
11
|
+
tooltip: 'View global archivist data on a world map.',
|
12
|
+
},
|
13
|
+
{
|
14
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscSymbolMethod, { fontSize: "body1" }),
|
15
|
+
primary: 'Blocks',
|
16
|
+
to: '',
|
17
|
+
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
18
|
+
},
|
19
|
+
{
|
20
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscSymbolNamespace, { fontSize: "body1" }),
|
21
|
+
primary: 'Payloads',
|
22
|
+
to: '',
|
23
|
+
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
24
|
+
},
|
25
|
+
{
|
26
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscGraph, { fontSize: "body1" }),
|
27
|
+
primary: 'Queries',
|
28
|
+
to: '',
|
29
|
+
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
30
|
+
},
|
31
|
+
{
|
32
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscServer, { fontSize: "body1" }),
|
33
|
+
primary: 'Archives',
|
34
|
+
subNavListItems: [
|
35
|
+
{ icon: (0, jsx_runtime_1.jsx)(vsc_1.VscDashboard, { fontSize: "body2" }), primary: 'Dashboard', to: '', tooltip: 'View data for all archives on this network.' },
|
36
|
+
{ icon: (0, jsx_runtime_1.jsx)(vsc_1.VscAdd, { fontSize: "body2" }), primary: 'Create Archive', to: '', tooltip: 'Create a new archive on this network.' },
|
37
|
+
{ icon: (0, jsx_runtime_1.jsx)(vsc_1.VscTable, { fontSize: "body2" }), primary: 'Archive Table', to: '', tooltip: 'View all archives on this network as a table.' },
|
38
|
+
],
|
39
|
+
to: '',
|
40
|
+
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
41
|
+
},
|
42
|
+
];
|
43
|
+
exports.menuDataBottom = [
|
44
|
+
{
|
45
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscGraphLine, { fontSize: "body1" }),
|
46
|
+
primary: 'Statistics',
|
47
|
+
to: '',
|
48
|
+
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
49
|
+
},
|
50
|
+
{
|
51
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscJson, { fontSize: "body1" }),
|
52
|
+
primary: 'Schema',
|
53
|
+
to: '',
|
54
|
+
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
55
|
+
},
|
56
|
+
{
|
57
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscAccount, { fontSize: "body1" }),
|
58
|
+
primary: 'Account',
|
59
|
+
to: '',
|
60
|
+
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
61
|
+
},
|
62
|
+
{
|
63
|
+
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscSettingsGear, { fontSize: "body1" }),
|
64
|
+
primary: 'Settings',
|
65
|
+
to: '',
|
66
|
+
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
67
|
+
},
|
68
|
+
];
|
69
|
+
//# sourceMappingURL=storyExampleMenuData.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storyExampleMenuData.js","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/storyExampleMenuData.tsx"],"names":[],"mappings":";;;;AAAA,yCAawB;AAIX,QAAA,WAAW,GAAwB;IAC9C;QACE,IAAI,EAAE,uBAAC,cAAQ,IAAC,QAAQ,EAAC,OAAO,GAAG;QACnC,OAAO,EAAE,SAAS;QAClB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,4CAA4C;KACtD;IACD;QACE,IAAI,EAAE,uBAAC,qBAAe,IAAC,QAAQ,EAAC,OAAO,GAAG;QAC1C,OAAO,EAAE,QAAQ;QACjB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,wBAAkB,IAAC,QAAQ,EAAC,OAAO,GAAG;QAC7C,OAAO,EAAE,UAAU;QACnB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,cAAQ,IAAC,QAAQ,EAAC,OAAO,GAAG;QACnC,OAAO,EAAE,SAAS;QAClB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,eAAS,IAAC,QAAQ,EAAC,OAAO,GAAG;QACpC,OAAO,EAAE,UAAU;QACnB,eAAe,EAAE;YACf,EAAE,IAAI,EAAE,uBAAC,kBAAY,IAAC,QAAQ,EAAC,OAAO,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,6CAA6C,EAAE;YACjI,EAAE,IAAI,EAAE,uBAAC,YAAM,IAAC,QAAQ,EAAC,OAAO,GAAG,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,uCAAuC,EAAE;YAC1H,EAAE,IAAI,EAAE,uBAAC,cAAQ,IAAC,QAAQ,EAAC,OAAO,GAAG,EAAE,OAAO,EAAE,eAAe,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,+CAA+C,EAAE;SACpI;QACD,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;CACF,CAAA;AAEY,QAAA,cAAc,GAAwB;IACjD;QACE,IAAI,EAAE,uBAAC,kBAAY,IAAC,QAAQ,EAAC,OAAO,GAAG;QACvC,OAAO,EAAE,YAAY;QACrB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,aAAO,IAAC,QAAQ,EAAC,OAAO,GAAG;QAClC,OAAO,EAAE,QAAQ;QACjB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,gBAAU,IAAC,QAAQ,EAAC,OAAO,GAAG;QACrC,OAAO,EAAE,SAAS;QAClB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,qBAAe,IAAC,QAAQ,EAAC,OAAO,GAAG;QAC1C,OAAO,EAAE,UAAU;QACnB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;CACF,CAAA"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SystemControls = void 0;
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
6
|
+
const SystemControlsRoot_1 = require("./SystemControlsRoot");
|
7
|
+
const SystemControls = (props) => {
|
8
|
+
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, { children: (0, jsx_runtime_1.jsx)(SystemControlsRoot_1.SystemControlsRoot, Object.assign({}, props)) }));
|
9
|
+
};
|
10
|
+
exports.SystemControls = SystemControls;
|
11
|
+
//# sourceMappingURL=SystemControls.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemControls.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControls.tsx"],"names":[],"mappings":";;;;AAAA,yDAA+C;AAE/C,6DAAyD;AAGzD,MAAM,cAAc,GAA0C,CAAC,KAAK,EAAE,EAAE;IACtE,OAAO,CACL,uBAAC,uBAAO,cACN,uBAAC,uCAAkB,oBAAK,KAAK,EAAI,GACzB,CACX,CAAA;AACH,CAAC,CAAA;AAEQ,wCAAc"}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SystemControlsRoot = void 0;
|
4
|
+
const material_1 = require("@mui/material");
|
5
|
+
const SystemControlsType_1 = require("./SystemControlsType");
|
6
|
+
const SystemControlsUnstyled_1 = require("./SystemControlsUnstyled");
|
7
|
+
const SystemControlsRoot = (0, material_1.styled)(SystemControlsUnstyled_1.SystemControlsUnstyled, { name: 'SystemControls', slot: 'Root' })(({ theme }) => ({
|
8
|
+
// shared defaults
|
9
|
+
['&']: {
|
10
|
+
'.toggle': {
|
11
|
+
backgroundColor: theme.palette.primary.main,
|
12
|
+
},
|
13
|
+
alignItems: 'start',
|
14
|
+
zIndex: 1,
|
15
|
+
},
|
16
|
+
// WindowShade System Controls styles
|
17
|
+
[`&.system-controls-type-${SystemControlsType_1.SystemControlsType.WindowShade}`]: {
|
18
|
+
'.control': {
|
19
|
+
borderRadius: '0 0 5px 5px',
|
20
|
+
flexDirection: 'row',
|
21
|
+
flexGrow: 1,
|
22
|
+
justifyContent: 'space-around',
|
23
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,
|
24
|
+
},
|
25
|
+
'.controls': {
|
26
|
+
alignItems: 'stretch',
|
27
|
+
flexDirection: 'column',
|
28
|
+
flexGrow: 1,
|
29
|
+
},
|
30
|
+
'.toggle': {
|
31
|
+
borderRadius: '0 0 5px 5px',
|
32
|
+
padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,
|
33
|
+
},
|
34
|
+
flexDirection: 'row',
|
35
|
+
position: 'absolute',
|
36
|
+
top: 0,
|
37
|
+
width: '100%',
|
38
|
+
},
|
39
|
+
// Left System Control styles
|
40
|
+
[`&.system-controls-type-${SystemControlsType_1.SystemControlsType.Left}`]: {
|
41
|
+
'.control': {
|
42
|
+
alignItems: 'start',
|
43
|
+
flexDirection: 'column',
|
44
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,
|
45
|
+
},
|
46
|
+
'.control-wrap': {
|
47
|
+
marginBottom: `${theme.spacing(2)}`,
|
48
|
+
},
|
49
|
+
'.toggle': {
|
50
|
+
borderRadius: '0 5px 5px 0',
|
51
|
+
padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
|
52
|
+
writingMode: 'vertical-rl',
|
53
|
+
},
|
54
|
+
flexDirection: 'column',
|
55
|
+
left: 0,
|
56
|
+
position: 'fixed',
|
57
|
+
top: '30vh',
|
58
|
+
width: 'auto',
|
59
|
+
},
|
60
|
+
}));
|
61
|
+
exports.SystemControlsRoot = SystemControlsRoot;
|
62
|
+
//# sourceMappingURL=SystemControlsRoot.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemControlsRoot.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControlsRoot.tsx"],"names":[],"mappings":";;;AAAA,4CAAsC;AAEtC,6DAAyD;AACzD,qEAA8F;AAE9F,MAAM,kBAAkB,GAAG,IAAA,iBAAM,EAAC,+CAAsB,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAA8B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/I,kBAAkB;IAClB,CAAC,GAAG,CAAC,EAAE;QACL,SAAS,EAAE;YACT,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;SAC5C;QACD,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,CAAC;KACV;IACD,qCAAqC;IACrC,CAAC,0BAA0B,uCAAkB,CAAC,WAAW,EAAE,CAAC,EAAE;QAC5D,UAAU,EAAE;YACV,YAAY,EAAE,aAAa;YAC3B,aAAa,EAAE,KAAK;YACpB,QAAQ,EAAE,CAAC;YACX,cAAc,EAAE,cAAc;YAC9B,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;SACrD;QACD,WAAW,EAAE;YACX,UAAU,EAAE,SAAS;YACrB,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,CAAC;SACZ;QACD,SAAS,EAAE;YACT,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;SACrD;QACD,aAAa,EAAE,KAAK;QACpB,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,CAAC;QACN,KAAK,EAAE,MAAM;KACd;IACD,6BAA6B;IAC7B,CAAC,0BAA0B,uCAAkB,CAAC,IAAI,EAAE,CAAC,EAAE;QACrD,UAAU,EAAE;YACV,UAAU,EAAE,OAAO;YACnB,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;SACrD;QACD,eAAe,EAAE;YACf,YAAY,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;SACpC;QACD,SAAS,EAAE;YACT,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpD,WAAW,EAAE,aAAa;SAC3B;QACD,aAAa,EAAE,QAAQ;QACvB,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,OAAO;QACjB,GAAG,EAAE,MAAM;QACX,KAAK,EAAE,MAAM;KACd;CACF,CAAC,CAAC,CAAA;AAEM,gDAAkB"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SystemControlsType = void 0;
|
4
|
+
var SystemControlsType;
|
5
|
+
(function (SystemControlsType) {
|
6
|
+
SystemControlsType["Left"] = "Left";
|
7
|
+
SystemControlsType["Right"] = "Right";
|
8
|
+
SystemControlsType["WindowShade"] = "WindowShade";
|
9
|
+
})(SystemControlsType = exports.SystemControlsType || (exports.SystemControlsType = {}));
|
10
|
+
//# sourceMappingURL=SystemControlsType.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemControlsType.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControlsType.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,iDAA2B,CAAA;AAC7B,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SystemControlsUnstyled = 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_network_1 = require("@xyo-network/react-network");
|
9
|
+
const controls_1 = require("./controls");
|
10
|
+
const SystemControlsType_1 = require("./SystemControlsType");
|
11
|
+
const SystemControlsUnstyled = (_a) => {
|
12
|
+
var { visible, systemControlsType = SystemControlsType_1.SystemControlsType.WindowShade } = _a, props = tslib_1.__rest(_a, ["visible", "systemControlsType"]);
|
13
|
+
const isSmall = (0, material_1.useMediaQuery)((theme) => theme.breakpoints.down('sm'));
|
14
|
+
if (visible || isSmall) {
|
15
|
+
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({}, props, { className: `${props.className} system-controls-type-${systemControlsType}` }, { children: (0, jsx_runtime_1.jsx)(controls_1.SystemControl, { systemControlsType: systemControlsType, controlElement: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ className: 'control-wrap' }, { children: (0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ variant: "elevation", elevation: 0 }, { children: (0, jsx_runtime_1.jsx)(react_network_1.NetworkSelectEx, { responsive: false, className: "network-ex" }) })) })) }) }) })));
|
16
|
+
}
|
17
|
+
else {
|
18
|
+
return (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, {});
|
19
|
+
}
|
20
|
+
};
|
21
|
+
exports.SystemControlsUnstyled = SystemControlsUnstyled;
|
22
|
+
//# sourceMappingURL=SystemControlsUnstyled.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemControlsUnstyled.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA2D;AAC3D,yDAAsE;AACtE,8DAA4D;AAE5D,yCAA0C;AAC1C,6DAAyD;AAOzD,MAAM,sBAAsB,GAA0C,CAAC,EAItE,EAAE,EAAE;QAJkE,EACrE,OAAO,EACP,kBAAkB,GAAG,uCAAkB,CAAC,WAAW,OAEpD,EADI,KAAK,sBAH6D,iCAItE,CADS;IAER,MAAM,OAAO,GAAG,IAAA,wBAAa,EAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAE7E,IAAI,OAAO,IAAI,OAAO,EAAE;QACtB,OAAO,CACL,uBAAC,uBAAO,oBAAK,KAAK,IAAE,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,yBAAyB,kBAAkB,EAAE,gBAC5F,uBAAC,wBAAa,IACZ,kBAAkB,EAAE,kBAAkB,EACtC,cAAc,EACZ,2DACE,uBAAC,uBAAO,kBAAC,SAAS,EAAE,cAAc,gBAChC,uBAAC,gBAAK,kBAAC,OAAO,EAAC,WAAW,EAAC,SAAS,EAAE,CAAC,gBACrC,uBAAC,+BAAe,IAAC,UAAU,EAAE,KAAK,EAAE,SAAS,EAAC,YAAY,GAAG,IACvD,IACA,GACT,GAEL,IACM,CACX,CAAA;KACF;SAAM;QACL,OAAO,uBAAC,uBAAO,KAAG,CAAA;KACnB;AACH,CAAC,CAAA;AAGQ,wDAAsB"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SystemControl = 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_1 = require("react");
|
9
|
+
const SystemControlsType_1 = require("../SystemControlsType");
|
10
|
+
const SystemControl = (_a) => {
|
11
|
+
var { children, controlElement, systemControlsType = SystemControlsType_1.SystemControlsType.WindowShade } = _a, props = tslib_1.__rest(_a, ["children", "controlElement", "systemControlsType"]);
|
12
|
+
const [toggleControls, setToggleControls] = (0, react_1.useState)(false);
|
13
|
+
let orientation = 'vertical';
|
14
|
+
switch (systemControlsType) {
|
15
|
+
case SystemControlsType_1.SystemControlsType.Left: {
|
16
|
+
orientation = 'horizontal';
|
17
|
+
break;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ className: "controls" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Collapse, Object.assign({ in: toggleControls, orientation: orientation, timeout: 500 }, { children: (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ bgcolor: "primary.main", className: "control" }, { children: controlElement })) })), (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({ style: { cursor: 'pointer' }, onClick: () => setToggleControls(!toggleControls) }, { children: children }))] })));
|
21
|
+
};
|
22
|
+
exports.SystemControl = SystemControl;
|
23
|
+
//# sourceMappingURL=SystemControl.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemControl.js","sourceRoot":"","sources":["../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAuD;AACvD,yDAAsE;AAEtE,iCAAgC;AAEhC,8DAA0D;AAO1D,MAAM,aAAa,GAA+C,CAAC,EAKlE,EAAE,EAAE;QAL8D,EACjE,QAAQ,EACR,cAAc,EACd,kBAAkB,GAAG,uCAAkB,CAAC,WAAW,OAEpD,EADI,KAAK,sBAJyD,oDAKlE,CADS;IAER,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IAE3D,IAAI,WAAW,GAAiC,UAAU,CAAA;IAE1D,QAAQ,kBAAkB,EAAE;QAC1B,KAAK,uCAAkB,CAAC,IAAI,CAAC,CAAC;YAC5B,WAAW,GAAG,YAAY,CAAA;YAC1B,MAAK;SACN;KACF;IAED,OAAO,CACL,wBAAC,uBAAO,kBAAC,SAAS,EAAC,UAAU,IAAK,KAAK,eACrC,uBAAC,mBAAQ,kBAAC,EAAE,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,gBAClE,uBAAC,uBAAO,kBAAC,OAAO,EAAC,cAAc,EAAC,SAAS,EAAC,SAAS,gBAChD,cAAc,IACP,IACD,EACX,uBAAC,uBAAO,kBAAC,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,cAAc,CAAC,gBACrF,QAAQ,IACD,KACF,CACX,CAAA;AACH,CAAC,CAAA;AAEQ,sCAAa"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ControlText = 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 ControlText = (_a) => {
|
9
|
+
var { value } = _a, props = tslib_1.__rest(_a, ["value"]);
|
10
|
+
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({ className: `${props.className} toggle` }, props, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption", color: "white", fontWeight: "bold" }, { children: value })) })));
|
11
|
+
};
|
12
|
+
exports.ControlText = ControlText;
|
13
|
+
//# sourceMappingURL=SystemControlText.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SystemControlText.js","sourceRoot":"","sources":["../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA0C;AAC1C,yDAA6D;AAM7D,MAAM,WAAW,GAAqC,CAAC,EAAmB,EAAE,EAAE;QAAvB,EAAE,KAAK,OAAY,EAAP,KAAK,sBAAjB,SAAmB,CAAF;IACtE,OAAO,CACL,uBAAC,uBAAO,kBAAC,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,SAAS,IAAM,KAAK,cACxD,uBAAC,qBAAU,kBAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC,OAAO,EAAC,UAAU,EAAC,MAAM,gBAC1D,KAAK,IACK,IACL,CACX,CAAA;AACH,CAAC,CAAA;AAEQ,kCAAW"}
|
@@ -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("./SystemControl"), exports);
|
5
|
+
tslib_1.__exportStar(require("./SystemControlText"), exports);
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/MobileSystemControls/controls/index.ts"],"names":[],"mappings":";;;AAAA,0DAA+B;AAC/B,8DAAmC"}
|
@@ -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("./SystemControls"), exports);
|
5
|
+
tslib_1.__exportStar(require("./SystemControlsType"), exports);
|
6
|
+
tslib_1.__exportStar(require("./SystemControlsUnstyled"), exports);
|
7
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC;AAChC,+DAAoC;AACpC,mEAAwC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SearchBar = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
+
const Search_1 = tslib_1.__importDefault(require("@mui/icons-material/Search"));
|
7
|
+
const material_1 = require("@mui/material");
|
8
|
+
const react_button_1 = require("@xylabs/react-button");
|
9
|
+
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
10
|
+
const react_1 = require("react");
|
11
|
+
const SearchBar = (_a) => {
|
12
|
+
var { defaultValue, onSearch } = _a, props = tslib_1.__rest(_a, ["defaultValue", "onSearch"]);
|
13
|
+
const [term, setTerm] = (0, react_1.useState)();
|
14
|
+
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ alignItems: "stretch" }, props, { children: (0, jsx_runtime_1.jsxs)(material_1.Paper, Object.assign({ variant: "elevation", elevation: 0, style: { display: 'flex', overflow: 'hidden', width: '100%' } }, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { InputProps: { color: 'secondary', style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } }, variant: "outlined", size: "small", defaultValue: defaultValue, fullWidth: true, onChange: (event) => setTerm(event.target.value), onKeyDown: (event) => {
|
15
|
+
if (event.key === 'Enter')
|
16
|
+
onSearch === null || onSearch === void 0 ? void 0 : onSearch(term);
|
17
|
+
} }), (0, jsx_runtime_1.jsx)(react_button_1.ButtonEx, Object.assign({ variant: "contained", style: { borderRadius: 0, borderTopLeftRadius: 0 }, color: "secondary", onClick: () => onSearch === null || onSearch === void 0 ? void 0 : onSearch(term) }, { children: (0, jsx_runtime_1.jsx)(Search_1.default, {}) }))] })) })));
|
18
|
+
};
|
19
|
+
exports.SearchBar = SearchBar;
|
20
|
+
//# sourceMappingURL=SearchBar.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../../src/components/SearchBar/SearchBar.tsx"],"names":[],"mappings":";;;;;AAAA,gFAAmD;AACnD,4CAAgD;AAChD,uDAA+C;AAC/C,yDAA6D;AAC7D,iCAAgC;AAMzB,MAAM,SAAS,GAA6B,CAAC,EAAoC,EAAE,EAAE;QAAxC,EAAE,YAAY,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAAlC,4BAAoC,CAAF;IACpF,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,GAAU,CAAA;IAE1C,OAAO,CACL,uBAAC,uBAAO,kBAAC,UAAU,EAAC,SAAS,IAAK,KAAK,cACrC,wBAAC,gBAAK,kBAAC,OAAO,EAAC,WAAW,EAAC,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,iBACpG,uBAAC,oBAAS,IACR,UAAU,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,uBAAuB,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,EAAE,EAClH,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,YAAY,EAAE,YAAY,EAC1B,SAAS,QACT,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAChD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;wBACnB,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO;4BAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,IAAI,CAAC,CAAA;oBAC7C,CAAC,GACD,EACF,uBAAC,uBAAQ,kBAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,mBAAmB,EAAE,CAAC,EAAE,EAAE,KAAK,EAAC,WAAW,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,IAAI,CAAC,gBACjI,uBAAC,gBAAU,KAAG,IACL,KACL,IACA,CACX,CAAA;AACH,CAAC,CAAA;AAvBY,QAAA,SAAS,aAuBrB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/SearchBar/index.ts"],"names":[],"mappings":";;;AAAA,sDAA2B"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SiteMenu = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
+
const Menu_1 = tslib_1.__importDefault(require("@mui/icons-material/Menu"));
|
7
|
+
const Settings_1 = tslib_1.__importDefault(require("@mui/icons-material/Settings"));
|
8
|
+
const material_1 = require("@mui/material");
|
9
|
+
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
10
|
+
const react_1 = require("react");
|
11
|
+
const MenuListItem_1 = require("./MenuListItem");
|
12
|
+
const SiteMenu = (_a) => {
|
13
|
+
var { children, onMenuToggle, side = 'right' } = _a, props = tslib_1.__rest(_a, ["children", "onMenuToggle", "side"]);
|
14
|
+
const [open, setOpen] = (0, react_1.useState)(false);
|
15
|
+
(0, react_1.useEffect)(() => {
|
16
|
+
onMenuToggle === null || onMenuToggle === void 0 ? void 0 : onMenuToggle(open);
|
17
|
+
}, [onMenuToggle, open]);
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ alignItems: "stretch" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ size: "small", color: "inherit", onClick: () => {
|
19
|
+
setOpen(!open);
|
20
|
+
} }, { children: (0, jsx_runtime_1.jsx)(Menu_1.default, { fontSize: "large" }) })), (0, jsx_runtime_1.jsx)(material_1.SwipeableDrawer, Object.assign({ anchor: side, open: open, onClick: () => setOpen(false), onKeyDown: () => setOpen(false), onClose: () => setOpen(false), onOpen: () => setOpen(true) }, { children: children !== null && children !== void 0 ? children : ((0, jsx_runtime_1.jsx)(material_1.List, { children: (0, jsx_runtime_1.jsx)(MenuListItem_1.MenuListItemContainer, { primary: "Settings", icon: (0, jsx_runtime_1.jsx)(Settings_1.default, {}), to: "/settings" }) })) }))] })));
|
21
|
+
};
|
22
|
+
exports.SiteMenu = SiteMenu;
|
23
|
+
//# sourceMappingURL=Menu.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Menu.js","sourceRoot":"","sources":["../../../../src/components/SiteMenu/Menu.tsx"],"names":[],"mappings":";;;;;AAAA,4EAA+C;AAC/C,oFAAuD;AACvD,4CAAiE;AACjE,yDAA6D;AAC7D,iCAA2C;AAE3C,iDAAsD;AAQ/C,MAAM,QAAQ,GAA4B,CAAC,EAAoD,EAAE,EAAE;QAAxD,EAAE,QAAQ,EAAE,YAAY,EAAE,IAAI,GAAG,OAAO,OAAY,EAAP,KAAK,sBAAlD,oCAAoD,CAAF;IAClG,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IAEvC,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAG,IAAI,CAAC,CAAA;IACtB,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC,CAAA;IAExB,OAAO,CACL,wBAAC,uBAAO,kBAAC,UAAU,EAAC,SAAS,IAAK,KAAK,eACrC,uBAAC,qBAAU,kBACT,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,GAAG,EAAE;oBACZ,OAAO,CAAC,CAAC,IAAI,CAAC,CAAA;gBAChB,CAAC,gBAED,uBAAC,cAAQ,IAAC,QAAQ,EAAC,OAAO,GAAG,IAClB,EACb,uBAAC,0BAAe,kBACd,MAAM,EAAE,IAAI,EACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC7B,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC/B,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC7B,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,gBAE1B,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,CACX,uBAAC,eAAI,cACH,uBAAC,oCAAqB,IAAC,OAAO,EAAC,UAAU,EAAC,IAAI,EAAE,uBAAC,kBAAY,KAAG,EAAE,EAAE,EAAC,WAAW,GAAG,GAC9E,CACR,IACe,KACV,CACX,CAAA;AACH,CAAC,CAAA;AAlCY,QAAA,QAAQ,YAkCpB"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MenuListItemContainer = 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 react_1 = require("react");
|
10
|
+
const contexts_1 = require("../../../contexts");
|
11
|
+
const list_item_components_1 = require("./list-item-components");
|
12
|
+
const sub_nav_1 = require("./sub-nav");
|
13
|
+
const MenuListItemContainer = (_a) => {
|
14
|
+
var { style, icon, iconMenuTextSpacing, iconOnly, onButtonClick, primary, subNavListItems, sx, tooltip, to } = _a, props = tslib_1.__rest(_a, ["style", "icon", "iconMenuTextSpacing", "iconOnly", "onButtonClick", "primary", "subNavListItems", "sx", "tooltip", "to"]);
|
15
|
+
const { dense } = props;
|
16
|
+
const theme = (0, material_1.useTheme)();
|
17
|
+
const { collapse } = (0, contexts_1.useCollapsible)();
|
18
|
+
const [openSubNav, setOpenSubNav] = (0, react_1.useState)(false);
|
19
|
+
const [hovered, setHovered] = (0, react_1.useState)(false);
|
20
|
+
const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
|
21
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(list_item_components_1.MenuListItem, Object.assign({ disableGutters: true, iconOnly: iconOnly, onClick: onButtonClick, dense: dense, sx: Object.assign({ justifyContent: 'space-between' }, sx), style: Object.assign({ whiteSpace: 'nowrap' }, style) }, props, { children: [(0, jsx_runtime_1.jsx)(react_link_1.LinkEx, Object.assign({ onMouseEnter: () => setHovered(true), onMouseLeave: () => setHovered(false), color: "inherit", to: to, sx: {
|
22
|
+
'& :hover': {
|
23
|
+
cursor: 'pointer',
|
24
|
+
textDecoration: 'underline',
|
25
|
+
},
|
26
|
+
} }, { children: (0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, { children: [(0, jsx_runtime_1.jsx)(list_item_components_1.MenuIcon, { icon: icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? 'secondary' : 'inherit' }), (0, jsx_runtime_1.jsx)(material_1.ListItemText, { primary: primary })] }) })), (0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ style: { marginLeft: theme.spacing(1) } }, { children: [subNavListItems ? (0, jsx_runtime_1.jsx)(sub_nav_1.SubNavToggleIconButton, { setOpenSubNav: setOpenSubNav, openSubNav: openSubNav }) : null, tooltip ? (0, jsx_runtime_1.jsx)(list_item_components_1.ListItemTooltip, { title: tooltip }) : null] }))] })), subNavListItems ? ((0, jsx_runtime_1.jsx)(sub_nav_1.SubNavListItemsCollapse, Object.assign({ openSubNav: openSubNav, collapse: collapse }, { children: subNavListItems === null || subNavListItems === void 0 ? void 0 : subNavListItems.map((item, index) => (0, jsx_runtime_1.jsx)(exports.MenuListItemContainer, Object.assign({ dense: dense, sx: { pl: theme.spacing(1) } }, item), index)) }))) : null] }));
|
27
|
+
};
|
28
|
+
exports.MenuListItemContainer = MenuListItemContainer;
|
29
|
+
//# sourceMappingURL=MenuListItemContainer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MenuListItemContainer.js","sourceRoot":"","sources":["../../../../../src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAqE;AACrE,yDAA+C;AAC/C,mDAA2C;AAC3C,iCAAgC;AAEhC,gDAAkD;AAElD,iEAAgF;AAChF,uCAA2E;AASpE,MAAM,qBAAqB,GAAgC,CAAC,EAYlE,EAAE,EAAE;QAZ8D,EACjE,KAAK,EACL,IAAI,EACJ,mBAAmB,EACnB,QAAQ,EACR,aAAa,EACb,OAAO,EACP,eAAe,EACf,EAAE,EACF,OAAO,EACP,EAAE,OAEH,EADI,KAAK,sBAXyD,0HAYlE,CADS;IAER,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAA;IACvB,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IACxB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,yBAAc,GAAE,CAAA;IACrC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IACnD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IAC7C,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;IAEhG,OAAO,CACL,6DACE,wBAAC,mCAAY,kBACX,cAAc,QACd,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,KAAK,EACZ,EAAE,kBAAI,cAAc,EAAE,eAAe,IAAK,EAAE,GAC5C,KAAK,kBAAI,UAAU,EAAE,QAAQ,IAAK,KAAK,KACnC,KAAK,eAET,uBAAC,mBAAM,kBACL,YAAY,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EACpC,YAAY,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACrC,KAAK,EAAC,SAAS,EACf,EAAE,EAAE,EAAE,EACN,EAAE,EAAE;4BACF,UAAU,EAAE;gCACV,MAAM,EAAE,SAAS;gCACjB,cAAc,EAAE,WAAW;6BAC5B;yBACF,gBAED,wBAAC,uBAAO,eACN,uBAAC,+BAAQ,IAAC,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,2BAA2B,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,GAAI,EAC7G,uBAAC,uBAAY,IAAC,OAAO,EAAE,OAAO,GAAI,IAC1B,IACH,EACT,wBAAC,uBAAO,kBAAC,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,iBAC7C,eAAe,CAAC,CAAC,CAAC,uBAAC,gCAAsB,IAAC,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,GAAI,CAAC,CAAC,CAAC,IAAI,EACzG,OAAO,CAAC,CAAC,CAAC,uBAAC,sCAAe,IAAC,KAAK,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,KAC7C,KACG,EACd,eAAe,CAAC,CAAC,CAAC,CACjB,uBAAC,iCAAuB,kBAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,gBAChE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,uBAAC,6BAAqB,kBAAC,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAkB,IAAI,GAAf,KAAK,CAAc,CAAC,IAC3G,CAC3B,CAAC,CAAC,CAAC,IAAI,IACP,CACJ,CAAA;AACH,CAAC,CAAA;AA5DY,QAAA,qBAAqB,yBA4DjC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/SiteMenu/MenuListItem/index.ts"],"names":[],"mappings":";;;AAAA,kEAAuC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListItemTooltip = 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 vsc_1 = require("react-icons/vsc");
|
9
|
+
const ListItemTooltip = (_a) => {
|
10
|
+
var { title } = _a, props = tslib_1.__rest(_a, ["title"]);
|
11
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: title, placement: "right" }, props, { children: (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({ justifyContent: "center" }, { children: (0, jsx_runtime_1.jsx)(vsc_1.VscInfo, { color: "grey" }) })) }) })));
|
12
|
+
};
|
13
|
+
exports.ListItemTooltip = ListItemTooltip;
|
14
|
+
//# sourceMappingURL=ListItemTooltip.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListItemTooltip.js","sourceRoot":"","sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAqD;AACrD,yDAA+C;AAC/C,yCAAyC;AAMlC,MAAM,eAAe,GAAmC,CAAC,EAAmB,EAAE,EAAE;QAAvB,EAAE,KAAK,OAAY,EAAP,KAAK,sBAAjB,SAAmB,CAAF;IAC/E,OAAO,CACL,uBAAC,kBAAO,kBAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,OAAO,IAAK,KAAK,cAEhD,0CACE,uBAAC,uBAAO,kBAAC,cAAc,EAAC,QAAQ,gBAC9B,uBAAC,aAAO,IAAC,KAAK,EAAC,MAAM,GAAG,IAChB,GACN,IACE,CACX,CAAA;AACH,CAAC,CAAA;AAXY,QAAA,eAAe,mBAW3B"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MenuIcon = 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 MenuIcon = (_a) => {
|
8
|
+
var { icon } = _a, props = tslib_1.__rest(_a, ["icon"]);
|
9
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ display: "flex" }, props, { children: icon })));
|
10
|
+
};
|
11
|
+
exports.MenuIcon = MenuIcon;
|
12
|
+
//# sourceMappingURL=MenuIcon.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MenuIcon.js","sourceRoot":"","sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA2D;AAOpD,MAAM,QAAQ,GAA4B,CAAC,EAAkB,EAAE,EAAE;QAAtB,EAAE,IAAI,OAAY,EAAP,KAAK,sBAAhB,QAAkB,CAAF;IAChE,OAAO,CACL,uBAAC,qBAAU,kBAAC,OAAO,EAAC,MAAM,IAAK,KAAK,cACjC,IAAI,IACM,CACd,CAAA;AACH,CAAC,CAAA;AANY,QAAA,QAAQ,YAMpB"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MenuListItem = 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 MenuListItem = (_a) => {
|
8
|
+
var { iconOnly, collapseEnd, sx, children, dense } = _a, props = tslib_1.__rest(_a, ["iconOnly", "collapseEnd", "sx", "children", "dense"]);
|
9
|
+
const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' };
|
10
|
+
// wait till collapseEnds to remove the spacing between items
|
11
|
+
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
12
|
+
// adjusts to the paddingY value which does NOT scale along the theme.spacing
|
13
|
+
const paddingSx = dense ? { px: '8px' } : { px: '12px' };
|
14
|
+
return ((0, jsx_runtime_1.jsx)(material_1.ListItem, Object.assign({ sx: Object.assign(Object.assign(Object.assign(Object.assign({}, listItemSx), spacingSx), paddingSx), sx) }, props, { children: children })));
|
15
|
+
};
|
16
|
+
exports.MenuListItem = MenuListItem;
|
17
|
+
//# sourceMappingURL=MenuListItem.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MenuListItem.js","sourceRoot":"","sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAuD;AAMhD,MAAM,YAAY,GAA8B,CAAC,EAAwD,EAAE,EAAE;QAA5D,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,OAAY,EAAP,KAAK,sBAAtD,sDAAwD,CAAF;IAC5G,MAAM,UAAU,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA;IAC7H,6DAA6D;IAC7D,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAA;IACrE,6EAA6E;IAC7E,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,CAAA;IACxD,OAAO,CACL,uBAAC,mBAAQ,kBAAC,EAAE,8DAAO,UAAU,GAAK,SAAS,GAAK,SAAS,GAAK,EAAE,KAAQ,KAAK,cAC1E,QAAQ,IACA,CACZ,CAAA;AACH,CAAC,CAAA;AAXY,QAAA,YAAY,gBAWxB"}
|
@@ -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("./ListItemTooltip"), exports);
|
5
|
+
tslib_1.__exportStar(require("./MenuIcon"), exports);
|
6
|
+
tslib_1.__exportStar(require("./MenuListItem"), exports);
|
7
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,qDAA0B;AAC1B,yDAA8B"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SubNavListItemsCollapse = 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 SubNavListItemsCollapse = (_a) => {
|
8
|
+
var { collapse, openSubNav, children } = _a, props = tslib_1.__rest(_a, ["collapse", "openSubNav", "children"]);
|
9
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Collapse, Object.assign({ in: collapse == true ? false : openSubNav }, props, { children: (0, jsx_runtime_1.jsx)(material_1.List, { children: children }) })));
|
10
|
+
};
|
11
|
+
exports.SubNavListItemsCollapse = SubNavListItemsCollapse;
|
12
|
+
//# sourceMappingURL=SubNavListItemCollapse.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SubNavListItemCollapse.js","sourceRoot":"","sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA6D;AAWtD,MAAM,uBAAuB,GAA2C,CAAC,EAA4C,EAAE,EAAE;QAAhD,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAA1C,sCAA4C,CAAF;IACxH,OAAO,CACL,uBAAC,mBAAQ,kBAAC,EAAE,EAAE,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,IAAM,KAAK,cAC5D,uBAAC,eAAI,cAAE,QAAQ,GAAQ,IACd,CACZ,CAAA;AACH,CAAC,CAAA;AANY,QAAA,uBAAuB,2BAMnC"}
|