@xyo-network/react-appbar 2.64.0-rc.7 → 2.64.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/AppBar/Application.cjs +286 -0
- package/dist/browser/components/AppBar/Application.cjs.map +1 -0
- package/dist/browser/components/AppBar/Application.d.cts +10 -0
- package/dist/browser/components/AppBar/Application.d.cts.map +1 -0
- package/dist/browser/components/AppBar/index.cjs +288 -0
- package/dist/browser/components/AppBar/index.cjs.map +1 -0
- package/dist/browser/components/AppBar/index.d.cts +2 -0
- package/dist/browser/components/AppBar/index.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs +61 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs +66 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/index.cjs +96 -0
- package/dist/browser/components/CollapsibleDrawer/index.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/index.d.cts +3 -0
- package/dist/browser/components/CollapsibleDrawer/index.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs +92 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/SystemControls.cjs +143 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.d.cts +5 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs +134 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs +32 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs +75 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs +49 -0
- package/dist/{node/components/MobileSystemControls/controls/SystemControl.mjs.map → browser/components/MobileSystemControls/controls/SystemControl.cjs.map} +1 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs +32 -0
- package/dist/{node/components/MobileSystemControls/controls/SystemControlText.mjs.map → browser/components/MobileSystemControls/controls/SystemControlText.cjs.map} +1 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/index.cjs +60 -0
- package/dist/browser/components/MobileSystemControls/controls/index.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/index.d.cts +3 -0
- package/dist/browser/components/MobileSystemControls/controls/index.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/index.cjs +155 -0
- package/dist/browser/components/MobileSystemControls/index.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/index.d.cts +4 -0
- package/dist/browser/components/MobileSystemControls/index.d.cts.map +1 -0
- package/dist/browser/components/SearchBar/SearchBar.cjs +53 -0
- package/dist/browser/components/SearchBar/SearchBar.cjs.map +1 -0
- package/dist/browser/components/SearchBar/SearchBar.d.cts +7 -0
- package/dist/browser/components/SearchBar/SearchBar.d.cts.map +1 -0
- package/dist/browser/components/SearchBar/index.cjs +55 -0
- package/dist/browser/components/SearchBar/index.cjs.map +1 -0
- package/dist/browser/components/SearchBar/index.d.cts +2 -0
- package/dist/browser/components/SearchBar/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/Menu.cjs +193 -0
- package/dist/browser/components/SiteMenu/Menu.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/Menu.d.cts +9 -0
- package/dist/browser/components/SiteMenu/Menu.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +153 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.cjs +155 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.d.cts +2 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +33 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +31 -0
- package/dist/{node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.mjs.map → browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +34 -0
- package/dist/{node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.mjs.map → browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs +54 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +31 -0
- package/dist/{node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.mjs.map → browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +43 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs +53 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuSection.cjs +166 -0
- package/dist/browser/components/SiteMenu/MenuSection.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuSection.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuSection.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/index.cjs +58 -0
- package/dist/browser/components/SiteMenu/hooks/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/index.d.cts +2 -0
- package/dist/browser/components/SiteMenu/hooks/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs +56 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/index.cjs +233 -0
- package/dist/browser/components/SiteMenu/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/index.d.cts +6 -0
- package/dist/browser/components/SiteMenu/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs +19 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs +19 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/index.cjs +19 -0
- package/dist/{node/components/SiteMenu/lib/index.mjs.map → browser/components/SiteMenu/lib/index.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/lib/index.d.cts +3 -0
- package/dist/browser/components/SiteMenu/lib/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs +72 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/Logo.cjs +33 -0
- package/dist/{node/components/Toolbar/Context/Logo.mjs.map → browser/components/Toolbar/Context/Logo.cjs.map} +1 -1
- package/dist/browser/components/Toolbar/Context/Logo.d.cts +3 -0
- package/dist/browser/components/Toolbar/Context/Logo.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs +63 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/index.cjs +74 -0
- package/dist/browser/components/Toolbar/Context/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/index.d.cts +2 -0
- package/dist/browser/components/Toolbar/Context/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.cjs +220 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.cjs.map +1 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.d.cts +15 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/System/index.cjs +222 -0
- package/dist/browser/components/Toolbar/System/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/System/index.d.cts +2 -0
- package/dist/browser/components/Toolbar/System/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/index.cjs +271 -0
- package/dist/browser/components/Toolbar/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/index.d.cts +3 -0
- package/dist/browser/components/Toolbar/index.d.cts.map +1 -0
- package/dist/browser/components/index.cjs +550 -0
- package/dist/browser/components/index.cjs.map +1 -0
- package/dist/browser/components/index.d.cts +7 -0
- package/dist/browser/components/index.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/State.cjs +19 -0
- package/dist/browser/contexts/Collapsible/State.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/State.d.cts +9 -0
- package/dist/browser/contexts/Collapsible/State.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/context.cjs +28 -0
- package/dist/{node/contexts/Collapsible/context.mjs.map → browser/contexts/Collapsible/context.cjs.map} +1 -1
- package/dist/browser/contexts/Collapsible/context.d.cts +4 -0
- package/dist/browser/contexts/Collapsible/context.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/index.cjs +52 -0
- package/dist/browser/contexts/Collapsible/index.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/index.d.cts +4 -0
- package/dist/browser/contexts/Collapsible/index.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/provider.cjs +45 -0
- package/dist/browser/contexts/Collapsible/provider.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/provider.d.cts +8 -0
- package/dist/browser/contexts/Collapsible/provider.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/use.cjs +34 -0
- package/dist/browser/contexts/Collapsible/use.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/use.d.cts +2 -0
- package/dist/browser/contexts/Collapsible/use.d.cts.map +1 -0
- package/dist/browser/contexts/index.cjs +52 -0
- package/dist/browser/contexts/index.cjs.map +1 -0
- package/dist/browser/contexts/index.d.cts +2 -0
- package/dist/browser/contexts/index.d.cts.map +1 -0
- package/dist/browser/index.cjs +569 -0
- package/dist/browser/index.cjs.map +1 -0
- package/dist/browser/index.d.cts +3 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/docs.json +96215 -0
- package/dist/node/components/AppBar/Application.cjs +290 -0
- package/dist/node/components/AppBar/Application.cjs.map +1 -0
- package/dist/node/components/AppBar/Application.d.cts +10 -0
- package/dist/node/components/AppBar/Application.d.cts.map +1 -0
- package/dist/node/components/AppBar/Application.js +256 -34
- package/dist/node/components/AppBar/Application.js.map +1 -1
- package/dist/node/components/AppBar/index.cjs +292 -0
- package/dist/node/components/AppBar/index.cjs.map +1 -0
- package/dist/node/components/AppBar/index.d.cts +2 -0
- package/dist/node/components/AppBar/index.d.cts.map +1 -0
- package/dist/node/components/AppBar/index.js +264 -22
- package/dist/node/components/AppBar/index.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs +65 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.js +27 -41
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs +70 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js +21 -35
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/index.cjs +101 -0
- package/dist/node/components/CollapsibleDrawer/index.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/index.d.cts +3 -0
- package/dist/node/components/CollapsibleDrawer/index.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/index.js +70 -22
- package/dist/node/components/CollapsibleDrawer/index.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs +97 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js +32 -43
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControls.cjs +147 -0
- package/dist/node/components/MobileSystemControls/SystemControls.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControls.d.cts +5 -0
- package/dist/node/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControls.js +116 -28
- package/dist/node/components/MobileSystemControls/SystemControls.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs +138 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.js +57 -29
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsType.cjs +36 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.js +3 -26
- package/dist/node/components/MobileSystemControls/SystemControlsType.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs +79 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js +39 -37
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs +53 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.js +14 -38
- package/dist/node/components/MobileSystemControls/controls/SystemControl.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs +36 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.js +8 -31
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/index.cjs +65 -0
- package/dist/node/components/MobileSystemControls/controls/index.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/index.d.cts +3 -0
- package/dist/node/components/MobileSystemControls/controls/index.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/index.js +34 -22
- package/dist/node/components/MobileSystemControls/controls/index.js.map +1 -1
- package/dist/node/components/MobileSystemControls/index.cjs +161 -0
- package/dist/node/components/MobileSystemControls/index.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/index.d.cts +4 -0
- package/dist/node/components/MobileSystemControls/index.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/index.js +129 -24
- package/dist/node/components/MobileSystemControls/index.js.map +1 -1
- package/dist/node/components/SearchBar/SearchBar.cjs +57 -0
- package/dist/node/components/SearchBar/{SearchBar.mjs.map → SearchBar.cjs.map} +1 -1
- package/dist/node/components/SearchBar/SearchBar.d.cts +7 -0
- package/dist/node/components/SearchBar/SearchBar.d.cts.map +1 -0
- package/dist/node/components/SearchBar/SearchBar.js +16 -39
- package/dist/node/components/SearchBar/SearchBar.js.map +1 -1
- package/dist/node/components/SearchBar/index.cjs +59 -0
- package/dist/node/components/SearchBar/index.cjs.map +1 -0
- package/dist/node/components/SearchBar/index.d.cts +2 -0
- package/dist/node/components/SearchBar/index.d.cts.map +1 -0
- package/dist/node/components/SearchBar/index.js +30 -21
- package/dist/node/components/SearchBar/index.js.map +1 -1
- package/dist/node/components/SiteMenu/Menu.cjs +197 -0
- package/dist/node/components/SiteMenu/Menu.cjs.map +1 -0
- package/dist/node/components/SiteMenu/Menu.d.cts +9 -0
- package/dist/node/components/SiteMenu/Menu.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/Menu.js +148 -41
- package/dist/node/components/SiteMenu/Menu.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +157 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js +85 -49
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/index.cjs +159 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.d.cts +2 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.js +130 -21
- package/dist/node/components/SiteMenu/MenuListItem/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +37 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +9 -32
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +35 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +38 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs +60 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js +29 -25
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +35 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +47 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +12 -35
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs +58 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js +28 -23
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuSection.cjs +170 -0
- package/dist/node/components/SiteMenu/MenuSection.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuSection.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuSection.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuSection.js +141 -34
- package/dist/node/components/SiteMenu/MenuSection.js.map +1 -1
- package/dist/node/components/SiteMenu/hooks/index.cjs +62 -0
- package/dist/node/components/SiteMenu/hooks/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/hooks/index.d.cts +2 -0
- package/dist/node/components/SiteMenu/hooks/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/hooks/index.js +33 -21
- package/dist/node/components/SiteMenu/hooks/index.js.map +1 -1
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs +60 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +1 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js +19 -33
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js.map +1 -1
- package/dist/node/components/SiteMenu/index.cjs +240 -0
- package/dist/node/components/SiteMenu/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/index.d.cts +6 -0
- package/dist/node/components/SiteMenu/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/index.js +209 -30
- package/dist/node/components/SiteMenu/index.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.js +0 -16
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.js +0 -16
- package/dist/node/components/SiteMenu/lib/NavListItemProps.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/index.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/index.d.cts +3 -0
- package/dist/node/components/SiteMenu/lib/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/index.js +0 -24
- package/dist/node/components/SiteMenu/lib/index.js.map +1 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.cjs +76 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.js +46 -29
- package/dist/node/components/Toolbar/Context/ContextToolbar.js.map +1 -1
- package/dist/node/components/Toolbar/Context/Logo.cjs +37 -0
- package/dist/node/components/Toolbar/Context/Logo.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/Logo.d.cts +3 -0
- package/dist/node/components/Toolbar/Context/Logo.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/Logo.js +8 -31
- package/dist/node/components/Toolbar/Context/Logo.js.map +1 -1
- package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs +67 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.js +23 -36
- package/dist/node/components/Toolbar/Context/LogoLinkEx.js.map +1 -1
- package/dist/node/components/Toolbar/Context/index.cjs +78 -0
- package/dist/node/components/Toolbar/Context/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/index.d.cts +2 -0
- package/dist/node/components/Toolbar/Context/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/index.js +49 -21
- package/dist/node/components/Toolbar/Context/index.js.map +1 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.cjs +224 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.cjs.map +1 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.d.cts +15 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.js +184 -37
- package/dist/node/components/Toolbar/System/SystemToolbar.js.map +1 -1
- package/dist/node/components/Toolbar/System/index.cjs +226 -0
- package/dist/node/components/Toolbar/System/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/System/index.d.cts +2 -0
- package/dist/node/components/Toolbar/System/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/System/index.js +198 -22
- package/dist/node/components/Toolbar/System/index.js.map +1 -1
- package/dist/node/components/Toolbar/index.cjs +276 -0
- package/dist/node/components/Toolbar/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/index.d.cts +3 -0
- package/dist/node/components/Toolbar/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/index.js +247 -24
- package/dist/node/components/Toolbar/index.js.map +1 -1
- package/dist/node/components/index.cjs +566 -0
- package/dist/node/components/index.cjs.map +1 -0
- package/dist/node/components/index.d.cts +7 -0
- package/dist/node/components/index.d.cts.map +1 -0
- package/dist/node/components/index.js +525 -31
- package/dist/node/components/index.js.map +1 -1
- package/dist/node/contexts/Collapsible/State.cjs +19 -0
- package/dist/node/contexts/Collapsible/State.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/State.d.cts +9 -0
- package/dist/node/contexts/Collapsible/State.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/State.js +0 -16
- package/dist/node/contexts/Collapsible/State.js.map +1 -1
- package/dist/node/contexts/Collapsible/context.cjs +32 -0
- package/dist/node/contexts/Collapsible/context.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/context.d.cts +4 -0
- package/dist/node/contexts/Collapsible/context.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/context.js +5 -28
- package/dist/node/contexts/Collapsible/context.js.map +1 -1
- package/dist/node/contexts/Collapsible/index.cjs +57 -0
- package/dist/node/contexts/Collapsible/index.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/index.d.cts +4 -0
- package/dist/node/contexts/Collapsible/index.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/index.js +27 -25
- package/dist/node/contexts/Collapsible/index.js.map +1 -1
- package/dist/node/contexts/Collapsible/provider.cjs +49 -0
- package/dist/node/contexts/Collapsible/provider.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/provider.d.cts +8 -0
- package/dist/node/contexts/Collapsible/provider.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/provider.js +17 -35
- package/dist/node/contexts/Collapsible/provider.js.map +1 -1
- package/dist/node/contexts/Collapsible/use.cjs +38 -0
- package/dist/node/contexts/Collapsible/use.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/use.d.cts +2 -0
- package/dist/node/contexts/Collapsible/use.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/use.js +11 -29
- package/dist/node/contexts/Collapsible/use.js.map +1 -1
- package/dist/node/contexts/index.cjs +57 -0
- package/dist/node/contexts/index.cjs.map +1 -0
- package/dist/node/contexts/index.d.cts +2 -0
- package/dist/node/contexts/index.d.cts.map +1 -0
- package/dist/node/contexts/index.js +27 -21
- package/dist/node/contexts/index.js.map +1 -1
- package/dist/node/index.cjs +587 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.d.cts +3 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +544 -23
- package/dist/node/index.js.map +1 -1
- package/package.json +23 -23
- package/src/components/CollapsibleDrawer/CollapseToggle.tsx +1 -0
- package/src/components/CollapsibleDrawer/storyExampleMenuData.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx +1 -0
- package/dist/browser/components/AppBar/Application.stories.js +0 -64
- package/dist/browser/components/AppBar/Application.stories.js.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.js +0 -45
- package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControls.stories.js +0 -34
- package/dist/browser/components/MobileSystemControls/SystemControls.stories.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js +0 -46
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js.map +0 -1
- package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.js +0 -25
- package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.js.map +0 -1
- package/dist/browser/components/Toolbar/System/SystemToolbar.stories.js +0 -48
- package/dist/browser/components/Toolbar/System/SystemToolbar.stories.js.map +0 -1
- package/dist/node/components/AppBar/Application.mjs +0 -19
- package/dist/node/components/AppBar/Application.mjs.map +0 -1
- package/dist/node/components/AppBar/Application.stories.js +0 -90
- package/dist/node/components/AppBar/Application.stories.js.map +0 -1
- package/dist/node/components/AppBar/Application.stories.mjs +0 -64
- package/dist/node/components/AppBar/Application.stories.mjs.map +0 -1
- package/dist/node/components/AppBar/index.mjs +0 -2
- package/dist/node/components/AppBar/index.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.js +0 -69
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.js.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.mjs +0 -45
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.mjs +0 -30
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.mjs +0 -35
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/index.mjs +0 -3
- package/dist/node/components/CollapsibleDrawer/index.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.mjs +0 -83
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.mjs +0 -10
- package/dist/node/components/MobileSystemControls/SystemControls.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.stories.js +0 -59
- package/dist/node/components/MobileSystemControls/SystemControls.stories.js.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.stories.mjs +0 -34
- package/dist/node/components/MobileSystemControls/SystemControls.stories.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.mjs +0 -61
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsType.mjs +0 -10
- package/dist/node/components/MobileSystemControls/SystemControlsType.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.mjs +0 -28
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControl.mjs +0 -28
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.mjs +0 -10
- package/dist/node/components/MobileSystemControls/controls/index.mjs +0 -3
- package/dist/node/components/MobileSystemControls/controls/index.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/index.mjs +0 -4
- package/dist/node/components/MobileSystemControls/index.mjs.map +0 -1
- package/dist/node/components/SearchBar/SearchBar.mjs +0 -31
- package/dist/node/components/SearchBar/index.mjs +0 -2
- package/dist/node/components/SearchBar/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/Menu.mjs +0 -41
- package/dist/node/components/SiteMenu/Menu.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.mjs +0 -72
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js +0 -71
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.mjs +0 -46
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/index.mjs +0 -2
- package/dist/node/components/SiteMenu/MenuListItem/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs +0 -11
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.mjs +0 -9
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.mjs +0 -12
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.mjs +0 -4
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.mjs +0 -9
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.mjs +0 -21
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.mjs +0 -3
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuSection.mjs +0 -14
- package/dist/node/components/SiteMenu/MenuSection.mjs.map +0 -1
- package/dist/node/components/SiteMenu/hooks/index.mjs +0 -2
- package/dist/node/components/SiteMenu/hooks/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.mjs +0 -25
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.mjs.map +0 -1
- package/dist/node/components/SiteMenu/index.mjs +0 -6
- package/dist/node/components/SiteMenu/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.mjs +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.mjs +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/index.mjs +0 -3
- package/dist/node/components/Toolbar/Context/ContextToolbar.mjs +0 -10
- package/dist/node/components/Toolbar/Context/ContextToolbar.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.js +0 -50
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.js.map +0 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.mjs +0 -25
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/Logo.mjs +0 -11
- package/dist/node/components/Toolbar/Context/LogoLinkEx.mjs +0 -31
- package/dist/node/components/Toolbar/Context/LogoLinkEx.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/index.mjs +0 -2
- package/dist/node/components/Toolbar/Context/index.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.mjs +0 -28
- package/dist/node/components/Toolbar/System/SystemToolbar.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.js +0 -74
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.js.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.mjs +0 -48
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/index.mjs +0 -2
- package/dist/node/components/Toolbar/System/index.mjs.map +0 -1
- package/dist/node/components/Toolbar/index.mjs +0 -3
- package/dist/node/components/Toolbar/index.mjs.map +0 -1
- package/dist/node/components/index.mjs +0 -7
- package/dist/node/components/index.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/State.mjs +0 -1
- package/dist/node/contexts/Collapsible/State.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/context.mjs +0 -6
- package/dist/node/contexts/Collapsible/index.mjs +0 -4
- package/dist/node/contexts/Collapsible/index.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/provider.mjs +0 -18
- package/dist/node/contexts/Collapsible/provider.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/use.mjs +0 -7
- package/dist/node/contexts/Collapsible/use.mjs.map +0 -1
- package/dist/node/contexts/index.mjs +0 -2
- package/dist/node/contexts/index.mjs.map +0 -1
- package/dist/node/index.mjs +0 -3
- package/dist/node/index.mjs.map +0 -1
@@ -1,61 +0,0 @@
|
|
1
|
-
import { styled } from "@mui/material";
|
2
|
-
import { SystemControlsType } from "./SystemControlsType";
|
3
|
-
import { SystemControlsUnstyled } from "./SystemControlsUnstyled";
|
4
|
-
const SystemControlsRoot = styled(SystemControlsUnstyled, { name: "SystemControls", slot: "Root" })(({ theme }) => ({
|
5
|
-
// shared defaults
|
6
|
-
["&"]: {
|
7
|
-
".toggle": {
|
8
|
-
backgroundColor: theme.palette.primary.main
|
9
|
-
},
|
10
|
-
alignItems: "start",
|
11
|
-
zIndex: 1
|
12
|
-
},
|
13
|
-
// WindowShade System Controls styles
|
14
|
-
[`&.system-controls-type-${SystemControlsType.WindowShade}`]: {
|
15
|
-
".control": {
|
16
|
-
borderRadius: "0 0 5px 5px",
|
17
|
-
flexDirection: "row",
|
18
|
-
flexGrow: 1,
|
19
|
-
justifyContent: "space-around",
|
20
|
-
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
21
|
-
},
|
22
|
-
".controls": {
|
23
|
-
alignItems: "stretch",
|
24
|
-
flexDirection: "column",
|
25
|
-
flexGrow: 1
|
26
|
-
},
|
27
|
-
".toggle": {
|
28
|
-
borderRadius: "0 0 5px 5px",
|
29
|
-
padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`
|
30
|
-
},
|
31
|
-
flexDirection: "row",
|
32
|
-
position: "absolute",
|
33
|
-
top: 0,
|
34
|
-
width: "100%"
|
35
|
-
},
|
36
|
-
// Left System Control styles
|
37
|
-
[`&.system-controls-type-${SystemControlsType.Left}`]: {
|
38
|
-
".control": {
|
39
|
-
alignItems: "start",
|
40
|
-
flexDirection: "column",
|
41
|
-
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
42
|
-
},
|
43
|
-
".control-wrap": {
|
44
|
-
marginBottom: `${theme.spacing(2)}`
|
45
|
-
},
|
46
|
-
".toggle": {
|
47
|
-
borderRadius: "0 5px 5px 0",
|
48
|
-
padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
|
49
|
-
writingMode: "vertical-rl"
|
50
|
-
},
|
51
|
-
flexDirection: "column",
|
52
|
-
left: 0,
|
53
|
-
position: "fixed",
|
54
|
-
top: "30vh",
|
55
|
-
width: "auto"
|
56
|
-
}
|
57
|
-
}));
|
58
|
-
export {
|
59
|
-
SystemControlsRoot
|
60
|
-
};
|
61
|
-
//# sourceMappingURL=SystemControlsRoot.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsRoot.tsx"],"sourcesContent":["import { styled } from '@mui/material'\n\nimport { SystemControlsType } from './SystemControlsType'\nimport { SystemControlsUnstyled, SystemControlsUnstyledProps } from './SystemControlsUnstyled'\n\nconst SystemControlsRoot = styled(SystemControlsUnstyled, { name: 'SystemControls', slot: 'Root' })<SystemControlsUnstyledProps>(({ theme }) => ({\n // shared defaults\n ['&']: {\n '.toggle': {\n backgroundColor: theme.palette.primary.main,\n },\n alignItems: 'start',\n zIndex: 1,\n },\n // WindowShade System Controls styles\n [`&.system-controls-type-${SystemControlsType.WindowShade}`]: {\n '.control': {\n borderRadius: '0 0 5px 5px',\n flexDirection: 'row',\n flexGrow: 1,\n justifyContent: 'space-around',\n padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,\n },\n '.controls': {\n alignItems: 'stretch',\n flexDirection: 'column',\n flexGrow: 1,\n },\n '.toggle': {\n borderRadius: '0 0 5px 5px',\n padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,\n },\n flexDirection: 'row',\n position: 'absolute',\n top: 0,\n width: '100%',\n },\n // Left System Control styles\n [`&.system-controls-type-${SystemControlsType.Left}`]: {\n '.control': {\n alignItems: 'start',\n flexDirection: 'column',\n padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,\n },\n '.control-wrap': {\n marginBottom: `${theme.spacing(2)}`,\n },\n '.toggle': {\n borderRadius: '0 5px 5px 0',\n padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,\n writingMode: 'vertical-rl',\n },\n flexDirection: 'column',\n left: 0,\n position: 'fixed',\n top: '30vh',\n width: 'auto',\n },\n}))\n\nexport { SystemControlsRoot }\n"],"mappings":"AAAA,SAAS,cAAc;AAEvB,SAAS,0BAA0B;AACnC,SAAS,8BAA2D;AAEpE,MAAM,qBAAqB,OAAO,wBAAwB,EAAE,MAAM,kBAAkB,MAAM,OAAO,CAAC,EAA+B,CAAC,EAAE,MAAM,OAAO;AAAA;AAAA,EAE/I,CAAC,GAAG,GAAG;AAAA,IACL,WAAW;AAAA,MACT,iBAAiB,MAAM,QAAQ,QAAQ;AAAA,IACzC;AAAA,IACA,YAAY;AAAA,IACZ,QAAQ;AAAA,EACV;AAAA;AAAA,EAEA,CAAC,0BAA0B,mBAAmB,WAAW,EAAE,GAAG;AAAA,IAC5D,YAAY;AAAA,MACV,cAAc;AAAA,MACd,eAAe;AAAA,MACf,UAAU;AAAA,MACV,gBAAgB;AAAA,MAChB,SAAS,GAAG,MAAM,QAAQ,CAAC,CAAC,IAAI,MAAM,QAAQ,GAAG,CAAC;AAAA,IACpD;AAAA,IACA,aAAa;AAAA,MACX,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,cAAc;AAAA,MACd,SAAS,GAAG,MAAM,QAAQ,GAAG,CAAC,IAAI,MAAM,QAAQ,CAAC,CAAC;AAAA,IACpD;AAAA,IACA,eAAe;AAAA,IACf,UAAU;AAAA,IACV,KAAK;AAAA,IACL,OAAO;AAAA,EACT;AAAA;AAAA,EAEA,CAAC,0BAA0B,mBAAmB,IAAI,EAAE,GAAG;AAAA,IACrD,YAAY;AAAA,MACV,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,SAAS,GAAG,MAAM,QAAQ,CAAC,CAAC,IAAI,MAAM,QAAQ,GAAG,CAAC;AAAA,IACpD;AAAA,IACA,iBAAiB;AAAA,MACf,cAAc,GAAG,MAAM,QAAQ,CAAC,CAAC;AAAA,IACnC;AAAA,IACA,WAAW;AAAA,MACT,cAAc;AAAA,MACd,SAAS,GAAG,MAAM,QAAQ,CAAC,CAAC,IAAI,MAAM,QAAQ,GAAG,CAAC;AAAA,MAClD,aAAa;AAAA,IACf;AAAA,IACA,eAAe;AAAA,IACf,MAAM;AAAA,IACN,UAAU;AAAA,IACV,KAAK;AAAA,IACL,OAAO;AAAA,EACT;AACF,EAAE;","names":[]}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
|
2
|
-
SystemControlsType2["Left"] = "Left";
|
3
|
-
SystemControlsType2["Right"] = "Right";
|
4
|
-
SystemControlsType2["WindowShade"] = "WindowShade";
|
5
|
-
return SystemControlsType2;
|
6
|
-
})(SystemControlsType || {});
|
7
|
-
export {
|
8
|
-
SystemControlsType
|
9
|
-
};
|
10
|
-
//# sourceMappingURL=SystemControlsType.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsType.ts"],"sourcesContent":["export enum SystemControlsType {\n Left = 'Left',\n Right = 'Right',\n WindowShade = 'WindowShade',\n}\n"],"mappings":"AAAO,IAAK,qBAAL,kBAAKA,wBAAL;AACL,EAAAA,oBAAA,UAAO;AACP,EAAAA,oBAAA,WAAQ;AACR,EAAAA,oBAAA,iBAAc;AAHJ,SAAAA;AAAA,GAAA;","names":["SystemControlsType"]}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { Fragment, jsx } from "react/jsx-runtime";
|
2
|
-
import { Paper, useMediaQuery } from "@mui/material";
|
3
|
-
import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
|
4
|
-
import { NetworkSelectEx } from "@xyo-network/react-network";
|
5
|
-
import { SystemControl } from "./controls";
|
6
|
-
import { SystemControlsType } from "./SystemControlsType";
|
7
|
-
const SystemControlsUnstyled = ({
|
8
|
-
visible,
|
9
|
-
systemControlsType = SystemControlsType.WindowShade,
|
10
|
-
...props
|
11
|
-
}) => {
|
12
|
-
const isSmall = useMediaQuery((theme) => theme.breakpoints.down("sm"));
|
13
|
-
if (visible || isSmall) {
|
14
|
-
return /* @__PURE__ */ jsx(FlexCol, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ jsx(
|
15
|
-
SystemControl,
|
16
|
-
{
|
17
|
-
systemControlsType,
|
18
|
-
controlElement: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(FlexRow, { className: "control-wrap", children: /* @__PURE__ */ jsx(Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ jsx(NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
|
19
|
-
}
|
20
|
-
) });
|
21
|
-
} else {
|
22
|
-
return /* @__PURE__ */ jsx(FlexCol, {});
|
23
|
-
}
|
24
|
-
};
|
25
|
-
export {
|
26
|
-
SystemControlsUnstyled
|
27
|
-
};
|
28
|
-
//# sourceMappingURL=SystemControlsUnstyled.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx"],"sourcesContent":["import { Paper, Theme, useMediaQuery } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { NetworkSelectEx } from '@xyo-network/react-network'\n\nimport { SystemControl } from './controls'\nimport { SystemControlsType } from './SystemControlsType'\n\ninterface SystemControlsUnstyledProps extends FlexBoxProps {\n systemControlsType?: SystemControlsType\n visible?: boolean\n}\n\nconst SystemControlsUnstyled: React.FC<SystemControlsUnstyledProps> = ({\n visible,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const isSmall = useMediaQuery<Theme>((theme) => theme.breakpoints.down('sm'))\n\n if (visible || isSmall) {\n return (\n <FlexCol {...props} className={`${props.className} system-controls-type-${systemControlsType}`}>\n <SystemControl\n systemControlsType={systemControlsType}\n controlElement={\n <>\n <FlexRow className={'control-wrap'}>\n <Paper variant=\"elevation\" elevation={0}>\n <NetworkSelectEx responsive={false} className=\"network-ex\" />\n </Paper>\n </FlexRow>\n </>\n }\n />\n </FlexCol>\n )\n } else {\n return <FlexCol />\n }\n}\n\nexport type { SystemControlsUnstyledProps }\nexport { SystemControlsUnstyled }\n"],"mappings":"AAyBY,mBAGM,WAHN;AAzBZ,SAAS,OAAc,qBAAqB;AAC5C,SAAuB,SAAS,eAAe;AAC/C,SAAS,uBAAuB;AAEhC,SAAS,qBAAqB;AAC9B,SAAS,0BAA0B;AAOnC,MAAM,yBAAgE,CAAC;AAAA,EACrE;AAAA,EACA,qBAAqB,mBAAmB;AAAA,EACxC,GAAG;AACL,MAAM;AACJ,QAAM,UAAU,cAAqB,CAAC,UAAU,MAAM,YAAY,KAAK,IAAI,CAAC;AAE5E,MAAI,WAAW,SAAS;AACtB,WACE,oBAAC,WAAS,GAAG,OAAO,WAAW,GAAG,MAAM,SAAS,yBAAyB,kBAAkB,IAC1F;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,gBACE,gCACE,8BAAC,WAAQ,WAAW,gBAClB,8BAAC,SAAM,SAAQ,aAAY,WAAW,GACpC,8BAAC,mBAAgB,YAAY,OAAO,WAAU,cAAa,GAC7D,GACF,GACF;AAAA;AAAA,IAEJ,GACF;AAAA,EAEJ,OAAO;AACL,WAAO,oBAAC,WAAQ;AAAA,EAClB;AACF;","names":[]}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { Collapse } from "@mui/material";
|
3
|
-
import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
|
4
|
-
import { useState } from "react";
|
5
|
-
import { SystemControlsType } from "../SystemControlsType";
|
6
|
-
const SystemControl = ({
|
7
|
-
children,
|
8
|
-
controlElement,
|
9
|
-
systemControlsType = SystemControlsType.WindowShade,
|
10
|
-
...props
|
11
|
-
}) => {
|
12
|
-
const [toggleControls, setToggleControls] = useState(false);
|
13
|
-
let orientation = "vertical";
|
14
|
-
switch (systemControlsType) {
|
15
|
-
case SystemControlsType.Left: {
|
16
|
-
orientation = "horizontal";
|
17
|
-
break;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
return /* @__PURE__ */ jsxs(FlexRow, { className: "controls", ...props, children: [
|
21
|
-
/* @__PURE__ */ jsx(Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx(FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
22
|
-
/* @__PURE__ */ jsx(FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
23
|
-
] });
|
24
|
-
};
|
25
|
-
export {
|
26
|
-
SystemControl
|
27
|
-
};
|
28
|
-
//# sourceMappingURL=SystemControl.mjs.map
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { Typography } from "@mui/material";
|
3
|
-
import { FlexCol } from "@xylabs/react-flexbox";
|
4
|
-
const ControlText = ({ value, ...props }) => {
|
5
|
-
return /* @__PURE__ */ jsx(FlexCol, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
|
6
|
-
};
|
7
|
-
export {
|
8
|
-
ControlText
|
9
|
-
};
|
10
|
-
//# sourceMappingURL=SystemControlText.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/index.ts"],"sourcesContent":["export * from './SystemControl'\nexport * from './SystemControlText'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/MobileSystemControls/index.ts"],"sourcesContent":["export * from './SystemControls'\nexport * from './SystemControlsType'\nexport * from './SystemControlsUnstyled'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { Search as SearchIcon } from "@mui/icons-material";
|
3
|
-
import { Paper, TextField } from "@mui/material";
|
4
|
-
import { ButtonEx } from "@xylabs/react-button";
|
5
|
-
import { FlexRow } from "@xylabs/react-flexbox";
|
6
|
-
import { useState } from "react";
|
7
|
-
const SearchBar = ({ defaultValue, onSearch, ...props }) => {
|
8
|
-
const [term, setTerm] = useState();
|
9
|
-
return /* @__PURE__ */ jsx(FlexRow, { alignItems: "stretch", ...props, children: /* @__PURE__ */ jsxs(Paper, { variant: "elevation", elevation: 0, style: { display: "flex", overflow: "hidden", width: "100%" }, children: [
|
10
|
-
/* @__PURE__ */ jsx(
|
11
|
-
TextField,
|
12
|
-
{
|
13
|
-
InputProps: { color: "secondary", style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } },
|
14
|
-
variant: "outlined",
|
15
|
-
size: "small",
|
16
|
-
defaultValue,
|
17
|
-
fullWidth: true,
|
18
|
-
onChange: (event) => setTerm(event.target.value),
|
19
|
-
onKeyDown: (event) => {
|
20
|
-
if (event.key === "Enter")
|
21
|
-
onSearch?.(term);
|
22
|
-
}
|
23
|
-
}
|
24
|
-
),
|
25
|
-
/* @__PURE__ */ jsx(ButtonEx, { variant: "contained", style: { borderRadius: 0, borderTopLeftRadius: 0 }, color: "secondary", onClick: () => onSearch?.(term), children: /* @__PURE__ */ jsx(SearchIcon, {}) })
|
26
|
-
] }) });
|
27
|
-
};
|
28
|
-
export {
|
29
|
-
SearchBar
|
30
|
-
};
|
31
|
-
//# sourceMappingURL=SearchBar.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/SearchBar/index.ts"],"sourcesContent":["export * from './SearchBar'\n"],"mappings":"AAAA,cAAc;","names":[]}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { Menu as MenuIcon, Settings as SettingsIcon } from "@mui/icons-material";
|
3
|
-
import { IconButton, List, SwipeableDrawer } from "@mui/material";
|
4
|
-
import { FlexRow } from "@xylabs/react-flexbox";
|
5
|
-
import { useEffect, useState } from "react";
|
6
|
-
import { MenuListItemContainer } from "./MenuListItem";
|
7
|
-
const SiteMenu = ({ children, onMenuToggle, side = "right", ...props }) => {
|
8
|
-
const [open, setOpen] = useState(false);
|
9
|
-
useEffect(() => {
|
10
|
-
onMenuToggle?.(open);
|
11
|
-
}, [onMenuToggle, open]);
|
12
|
-
return /* @__PURE__ */ jsxs(FlexRow, { alignItems: "stretch", ...props, children: [
|
13
|
-
/* @__PURE__ */ jsx(
|
14
|
-
IconButton,
|
15
|
-
{
|
16
|
-
size: "small",
|
17
|
-
color: "inherit",
|
18
|
-
onClick: () => {
|
19
|
-
setOpen(!open);
|
20
|
-
},
|
21
|
-
children: /* @__PURE__ */ jsx(MenuIcon, { fontSize: "large" })
|
22
|
-
}
|
23
|
-
),
|
24
|
-
/* @__PURE__ */ jsx(
|
25
|
-
SwipeableDrawer,
|
26
|
-
{
|
27
|
-
anchor: side,
|
28
|
-
open,
|
29
|
-
onClick: () => setOpen(false),
|
30
|
-
onKeyDown: () => setOpen(false),
|
31
|
-
onClose: () => setOpen(false),
|
32
|
-
onOpen: () => setOpen(true),
|
33
|
-
children: children ?? /* @__PURE__ */ jsx(List, { children: /* @__PURE__ */ jsx(MenuListItemContainer, { primary: "Settings", icon: /* @__PURE__ */ jsx(SettingsIcon, {}), to: "/settings" }) })
|
34
|
-
}
|
35
|
-
)
|
36
|
-
] });
|
37
|
-
};
|
38
|
-
export {
|
39
|
-
SiteMenu
|
40
|
-
};
|
41
|
-
//# sourceMappingURL=Menu.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/SiteMenu/Menu.tsx"],"sourcesContent":["import { Menu as MenuIcon, Settings as SettingsIcon } from '@mui/icons-material'\nimport { IconButton, List, SwipeableDrawer } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useEffect, useState } from 'react'\n\nimport { MenuListItemContainer } from './MenuListItem'\n\nexport interface SiteMenuProps extends FlexBoxProps {\n hideSettingsMenuItem?: boolean\n onMenuToggle?: (state?: boolean) => void\n side?: 'left' | 'right' | 'top' | 'bottom'\n}\n\nexport const SiteMenu: React.FC<SiteMenuProps> = ({ children, onMenuToggle, side = 'right', ...props }) => {\n const [open, setOpen] = useState(false)\n\n useEffect(() => {\n onMenuToggle?.(open)\n }, [onMenuToggle, open])\n\n return (\n <FlexRow alignItems=\"stretch\" {...props}>\n <IconButton\n size=\"small\"\n color=\"inherit\"\n onClick={() => {\n setOpen(!open)\n }}\n >\n <MenuIcon fontSize=\"large\" />\n </IconButton>\n <SwipeableDrawer\n anchor={side}\n open={open}\n onClick={() => setOpen(false)}\n onKeyDown={() => setOpen(false)}\n onClose={() => setOpen(false)}\n onOpen={() => setOpen(true)}\n >\n {children ?? (\n <List>\n <MenuListItemContainer primary=\"Settings\" icon={<SettingsIcon />} to=\"/settings\" />\n </List>\n )}\n </SwipeableDrawer>\n </FlexRow>\n )\n}\n"],"mappings":"AAqBI,SAQI,KARJ;AArBJ,SAAS,QAAQ,UAAU,YAAY,oBAAoB;AAC3D,SAAS,YAAY,MAAM,uBAAuB;AAClD,SAAuB,eAAe;AACtC,SAAS,WAAW,gBAAgB;AAEpC,SAAS,6BAA6B;AAQ/B,MAAM,WAAoC,CAAC,EAAE,UAAU,cAAc,OAAO,SAAS,GAAG,MAAM,MAAM;AACzG,QAAM,CAAC,MAAM,OAAO,IAAI,SAAS,KAAK;AAEtC,YAAU,MAAM;AACd,mBAAe,IAAI;AAAA,EACrB,GAAG,CAAC,cAAc,IAAI,CAAC;AAEvB,SACE,qBAAC,WAAQ,YAAW,WAAW,GAAG,OAChC;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,MAAK;AAAA,QACL,OAAM;AAAA,QACN,SAAS,MAAM;AACb,kBAAQ,CAAC,IAAI;AAAA,QACf;AAAA,QAEA,8BAAC,YAAS,UAAS,SAAQ;AAAA;AAAA,IAC7B;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,QAAQ;AAAA,QACR;AAAA,QACA,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,WAAW,MAAM,QAAQ,KAAK;AAAA,QAC9B,SAAS,MAAM,QAAQ,KAAK;AAAA,QAC5B,QAAQ,MAAM,QAAQ,IAAI;AAAA,QAEzB,sBACC,oBAAC,QACC,8BAAC,yBAAsB,SAAQ,YAAW,MAAM,oBAAC,gBAAa,GAAI,IAAG,aAAY,GACnF;AAAA;AAAA,IAEJ;AAAA,KACF;AAEJ;","names":[]}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { ListItemText, useTheme } from "@mui/material";
|
3
|
-
import { FlexRow } from "@xylabs/react-flexbox";
|
4
|
-
import { LinkEx } from "@xylabs/react-link";
|
5
|
-
import { useState } from "react";
|
6
|
-
import { useCollapsible } from "../../../contexts";
|
7
|
-
import { ListItemTooltip, MenuIcon, MenuListItem } from "./list-item-components";
|
8
|
-
import { SubNavListItemsCollapse, SubNavToggleIconButton } from "./sub-nav";
|
9
|
-
const MenuListItemContainer = ({
|
10
|
-
style,
|
11
|
-
icon,
|
12
|
-
iconMenuTextSpacing,
|
13
|
-
iconOnly,
|
14
|
-
onButtonClick,
|
15
|
-
primary,
|
16
|
-
subNavListItems,
|
17
|
-
sx,
|
18
|
-
tooltip,
|
19
|
-
to,
|
20
|
-
...props
|
21
|
-
}) => {
|
22
|
-
const { dense } = props;
|
23
|
-
const theme = useTheme();
|
24
|
-
const { collapse } = useCollapsible();
|
25
|
-
const [openSubNav, setOpenSubNav] = useState(false);
|
26
|
-
const [hovered, setHovered] = useState(false);
|
27
|
-
const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
|
28
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
29
|
-
/* @__PURE__ */ jsxs(
|
30
|
-
MenuListItem,
|
31
|
-
{
|
32
|
-
disableGutters: true,
|
33
|
-
iconOnly,
|
34
|
-
onClick: onButtonClick,
|
35
|
-
dense,
|
36
|
-
sx: { justifyContent: "space-between", ...sx },
|
37
|
-
style: { whiteSpace: "nowrap", ...style },
|
38
|
-
...props,
|
39
|
-
children: [
|
40
|
-
/* @__PURE__ */ jsx(
|
41
|
-
LinkEx,
|
42
|
-
{
|
43
|
-
onMouseEnter: () => setHovered(true),
|
44
|
-
onMouseLeave: () => setHovered(false),
|
45
|
-
color: "inherit",
|
46
|
-
to,
|
47
|
-
sx: {
|
48
|
-
"& :hover": {
|
49
|
-
cursor: "pointer",
|
50
|
-
textDecoration: "underline"
|
51
|
-
}
|
52
|
-
},
|
53
|
-
children: /* @__PURE__ */ jsxs(FlexRow, { children: [
|
54
|
-
/* @__PURE__ */ jsx(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
|
55
|
-
/* @__PURE__ */ jsx(ListItemText, { primary })
|
56
|
-
] })
|
57
|
-
}
|
58
|
-
),
|
59
|
-
/* @__PURE__ */ jsxs(FlexRow, { style: { marginLeft: theme.spacing(1) }, children: [
|
60
|
-
subNavListItems ? /* @__PURE__ */ jsx(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
|
61
|
-
tooltip ? /* @__PURE__ */ jsx(ListItemTooltip, { title: tooltip }) : null
|
62
|
-
] })
|
63
|
-
]
|
64
|
-
}
|
65
|
-
),
|
66
|
-
subNavListItems ? /* @__PURE__ */ jsx(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems?.map((item, index) => /* @__PURE__ */ jsx(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
|
67
|
-
] });
|
68
|
-
};
|
69
|
-
export {
|
70
|
-
MenuListItemContainer
|
71
|
-
};
|
72
|
-
//# sourceMappingURL=MenuListItemContainer.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx"],"sourcesContent":["import { ListItemProps, ListItemText, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx } from '@xylabs/react-link'\nimport { useState } from 'react'\n\nimport { useCollapsible } from '../../../contexts'\nimport { MenuListItemBase, NavListItemProps } from '../lib'\nimport { ListItemTooltip, MenuIcon, MenuListItem } from './list-item-components'\nimport { SubNavListItemsCollapse, SubNavToggleIconButton } from './sub-nav'\n\nexport interface MenuListItemProps extends NavListItemProps, MenuListItemBase, ListItemProps {\n iconMenuTextSpacing?: string\n iconOnly?: boolean\n subNavListItems?: NavListItemProps[]\n subNavOpen?: boolean\n}\n\nexport const MenuListItemContainer: React.FC<MenuListItemProps> = ({\n style,\n icon,\n iconMenuTextSpacing,\n iconOnly,\n onButtonClick,\n primary,\n subNavListItems,\n sx,\n tooltip,\n to,\n ...props\n}) => {\n const { dense } = props\n const theme = useTheme()\n const { collapse } = useCollapsible()\n const [openSubNav, setOpenSubNav] = useState(false)\n const [hovered, setHovered] = useState(false)\n const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1)\n\n return (\n <>\n <MenuListItem\n disableGutters\n iconOnly={iconOnly}\n onClick={onButtonClick}\n dense={dense}\n sx={{ justifyContent: 'space-between', ...sx }}\n style={{ whiteSpace: 'nowrap', ...style }}\n {...props}\n >\n <LinkEx\n onMouseEnter={() => setHovered(true)}\n onMouseLeave={() => setHovered(false)}\n color=\"inherit\"\n to={to}\n sx={{\n '& :hover': {\n cursor: 'pointer',\n textDecoration: 'underline',\n },\n }}\n >\n <FlexRow>\n <MenuIcon icon={icon} paddingRight={resolvedIconMenuTextSpacing} color={hovered ? 'secondary' : 'inherit'} />\n <ListItemText primary={primary} />\n </FlexRow>\n </LinkEx>\n <FlexRow style={{ marginLeft: theme.spacing(1) }}>\n {subNavListItems ? <SubNavToggleIconButton setOpenSubNav={setOpenSubNav} openSubNav={openSubNav} /> : null}\n {tooltip ? <ListItemTooltip title={tooltip} /> : null}\n </FlexRow>\n </MenuListItem>\n {subNavListItems ? (\n <SubNavListItemsCollapse openSubNav={openSubNav} collapse={collapse}>\n {subNavListItems?.map((item, index) => <MenuListItemContainer dense={dense} sx={{ pl: theme.spacing(1) }} key={index} {...item} />)}\n </SubNavListItemsCollapse>\n ) : null}\n </>\n )\n}\n"],"mappings":"AAsCI,mBAuBQ,KADF,YAtBN;AAtCJ,SAAwB,cAAc,gBAAgB;AACtD,SAAS,eAAe;AACxB,SAAS,cAAc;AACvB,SAAS,gBAAgB;AAEzB,SAAS,sBAAsB;AAE/B,SAAS,iBAAiB,UAAU,oBAAoB;AACxD,SAAS,yBAAyB,8BAA8B;AASzD,MAAM,wBAAqD,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,EAAE,MAAM,IAAI;AAClB,QAAM,QAAQ,SAAS;AACvB,QAAM,EAAE,SAAS,IAAI,eAAe;AACpC,QAAM,CAAC,YAAY,aAAa,IAAI,SAAS,KAAK;AAClD,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,KAAK;AAC5C,QAAM,8BAA8B,sBAAsB,sBAAsB,MAAM,QAAQ,CAAC;AAE/F,SACE,iCACE;AAAA;AAAA,MAAC;AAAA;AAAA,QACC,gBAAc;AAAA,QACd;AAAA,QACA,SAAS;AAAA,QACT;AAAA,QACA,IAAI,EAAE,gBAAgB,iBAAiB,GAAG,GAAG;AAAA,QAC7C,OAAO,EAAE,YAAY,UAAU,GAAG,MAAM;AAAA,QACvC,GAAG;AAAA,QAEJ;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,cAAc,MAAM,WAAW,IAAI;AAAA,cACnC,cAAc,MAAM,WAAW,KAAK;AAAA,cACpC,OAAM;AAAA,cACN;AAAA,cACA,IAAI;AAAA,gBACF,YAAY;AAAA,kBACV,QAAQ;AAAA,kBACR,gBAAgB;AAAA,gBAClB;AAAA,cACF;AAAA,cAEA,+BAAC,WACC;AAAA,oCAAC,YAAS,MAAY,cAAc,6BAA6B,OAAO,UAAU,cAAc,WAAW;AAAA,gBAC3G,oBAAC,gBAAa,SAAkB;AAAA,iBAClC;AAAA;AAAA,UACF;AAAA,UACA,qBAAC,WAAQ,OAAO,EAAE,YAAY,MAAM,QAAQ,CAAC,EAAE,GAC5C;AAAA,8BAAkB,oBAAC,0BAAuB,eAA8B,YAAwB,IAAK;AAAA,YACrG,UAAU,oBAAC,mBAAgB,OAAO,SAAS,IAAK;AAAA,aACnD;AAAA;AAAA;AAAA,IACF;AAAA,IACC,kBACC,oBAAC,2BAAwB,YAAwB,UAC9C,2BAAiB,IAAI,CAAC,MAAM,UAAU,oBAAC,yBAAsB,OAAc,IAAI,EAAE,IAAI,MAAM,QAAQ,CAAC,EAAE,GAAgB,GAAG,QAAX,KAAiB,CAAE,GACpI,IACE;AAAA,KACN;AAEJ;","names":[]}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
-
var __export = (target, all) => {
|
7
|
-
for (var name in all)
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
-
};
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
-
for (let key of __getOwnPropNames(from))
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
-
}
|
16
|
-
return to;
|
17
|
-
};
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var MenuListItemContainer_stories_exports = {};
|
20
|
-
__export(MenuListItemContainer_stories_exports, {
|
21
|
-
Default: () => Default,
|
22
|
-
WithChildren: () => WithChildren,
|
23
|
-
default: () => MenuListItemContainer_stories_default
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(MenuListItemContainer_stories_exports);
|
26
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
27
|
-
var import_material = require("@mui/material");
|
28
|
-
var import_fa = require("react-icons/fa/index.js");
|
29
|
-
var import_react_router_dom = require("react-router-dom");
|
30
|
-
var import_MenuListItemContainer = require("./MenuListItemContainer");
|
31
|
-
const StorybookEntry = {
|
32
|
-
argTypes: {},
|
33
|
-
component: import_MenuListItemContainer.MenuListItemContainer,
|
34
|
-
parameters: {
|
35
|
-
docs: {
|
36
|
-
page: null
|
37
|
-
}
|
38
|
-
},
|
39
|
-
title: "appbar/MenuListItemContainer"
|
40
|
-
};
|
41
|
-
const SiteMenuList = (args) => {
|
42
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_router_dom.BrowserRouter, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.List, { children: [
|
43
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_MenuListItemContainer.MenuListItemContainer, { ...args }),
|
44
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_MenuListItemContainer.MenuListItemContainer, { ...args }),
|
45
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_MenuListItemContainer.MenuListItemContainer, { ...args })
|
46
|
-
] }) });
|
47
|
-
};
|
48
|
-
const Template = (args) => {
|
49
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SiteMenuList, { ...args });
|
50
|
-
};
|
51
|
-
const Default = Template.bind({});
|
52
|
-
Default.args = {
|
53
|
-
dense: true,
|
54
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_fa.FaGlobeAmericas, {}),
|
55
|
-
primary: "Explore",
|
56
|
-
tooltip: "View global archivist data on a world map."
|
57
|
-
};
|
58
|
-
const WithChildren = Template.bind({});
|
59
|
-
WithChildren.args = {
|
60
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_fa.FaGlobeAmericas, {}),
|
61
|
-
primary: "Explore",
|
62
|
-
subNavListItems: [{ primary: "Explore", to: "/explore", tooltip: "View global archivist data on a world map." }],
|
63
|
-
tooltip: "View global archivist data on a world map."
|
64
|
-
};
|
65
|
-
var MenuListItemContainer_stories_default = StorybookEntry;
|
66
|
-
// Annotate the CommonJS export names for ESM import in node:
|
67
|
-
0 && (module.exports = {
|
68
|
-
Default,
|
69
|
-
WithChildren
|
70
|
-
});
|
71
|
-
//# sourceMappingURL=MenuListItemContainer.stories.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.tsx"],"sourcesContent":["import { List } from '@mui/material'\nimport { Meta, StoryFn } from '@storybook/react'\nimport { FaGlobeAmericas } from 'react-icons/fa/index.js'\nimport { BrowserRouter } from 'react-router-dom'\n\nimport { MenuListItemContainer, MenuListItemProps } from './MenuListItemContainer'\n\nconst StorybookEntry = {\n argTypes: {},\n component: MenuListItemContainer,\n parameters: {\n docs: {\n page: null,\n },\n },\n title: 'appbar/MenuListItemContainer',\n} as Meta<typeof MenuListItemContainer>\n\nconst SiteMenuList: React.FC<MenuListItemProps> = (args) => {\n return (\n <BrowserRouter>\n <List>\n <MenuListItemContainer {...args} />\n <MenuListItemContainer {...args} />\n <MenuListItemContainer {...args} />\n </List>\n </BrowserRouter>\n )\n}\n\nconst Template: StoryFn<typeof MenuListItemContainer> = (args) => {\n return <SiteMenuList {...args} />\n}\n\nconst Default = Template.bind({})\nDefault.args = {\n dense: true,\n icon: <FaGlobeAmericas />,\n primary: 'Explore',\n tooltip: 'View global archivist data on a world map.',\n}\n\nconst WithChildren = Template.bind({})\nWithChildren.args = {\n icon: <FaGlobeAmericas />,\n primary: 'Explore',\n subNavListItems: [{ primary: 'Explore', to: '/explore', tooltip: 'View global archivist data on a world map.' }],\n tooltip: 'View global archivist data on a world map.',\n}\n\nexport { Default, WithChildren }\n\n// eslint-disable-next-line import/no-default-export\nexport default StorybookEntry\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBM;AArBN,sBAAqB;AAErB,gBAAgC;AAChC,8BAA8B;AAE9B,mCAAyD;AAEzD,MAAM,iBAAiB;AAAA,EACrB,UAAU,CAAC;AAAA,EACX,WAAW;AAAA,EACX,YAAY;AAAA,IACV,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EACA,OAAO;AACT;AAEA,MAAM,eAA4C,CAAC,SAAS;AAC1D,SACE,4CAAC,yCACC,uDAAC,wBACC;AAAA,gDAAC,sDAAuB,GAAG,MAAM;AAAA,IACjC,4CAAC,sDAAuB,GAAG,MAAM;AAAA,IACjC,4CAAC,sDAAuB,GAAG,MAAM;AAAA,KACnC,GACF;AAEJ;AAEA,MAAM,WAAkD,CAAC,SAAS;AAChE,SAAO,4CAAC,gBAAc,GAAG,MAAM;AACjC;AAEA,MAAM,UAAU,SAAS,KAAK,CAAC,CAAC;AAChC,QAAQ,OAAO;AAAA,EACb,OAAO;AAAA,EACP,MAAM,4CAAC,6BAAgB;AAAA,EACvB,SAAS;AAAA,EACT,SAAS;AACX;AAEA,MAAM,eAAe,SAAS,KAAK,CAAC,CAAC;AACrC,aAAa,OAAO;AAAA,EAClB,MAAM,4CAAC,6BAAgB;AAAA,EACvB,SAAS;AAAA,EACT,iBAAiB,CAAC,EAAE,SAAS,WAAW,IAAI,YAAY,SAAS,6CAA6C,CAAC;AAAA,EAC/G,SAAS;AACX;AAKA,IAAO,wCAAQ;","names":[]}
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { List } from "@mui/material";
|
3
|
-
import { FaGlobeAmericas } from "react-icons/fa/index.js";
|
4
|
-
import { BrowserRouter } from "react-router-dom";
|
5
|
-
import { MenuListItemContainer } from "./MenuListItemContainer";
|
6
|
-
const StorybookEntry = {
|
7
|
-
argTypes: {},
|
8
|
-
component: MenuListItemContainer,
|
9
|
-
parameters: {
|
10
|
-
docs: {
|
11
|
-
page: null
|
12
|
-
}
|
13
|
-
},
|
14
|
-
title: "appbar/MenuListItemContainer"
|
15
|
-
};
|
16
|
-
const SiteMenuList = (args) => {
|
17
|
-
return /* @__PURE__ */ jsx(BrowserRouter, { children: /* @__PURE__ */ jsxs(List, { children: [
|
18
|
-
/* @__PURE__ */ jsx(MenuListItemContainer, { ...args }),
|
19
|
-
/* @__PURE__ */ jsx(MenuListItemContainer, { ...args }),
|
20
|
-
/* @__PURE__ */ jsx(MenuListItemContainer, { ...args })
|
21
|
-
] }) });
|
22
|
-
};
|
23
|
-
const Template = (args) => {
|
24
|
-
return /* @__PURE__ */ jsx(SiteMenuList, { ...args });
|
25
|
-
};
|
26
|
-
const Default = Template.bind({});
|
27
|
-
Default.args = {
|
28
|
-
dense: true,
|
29
|
-
icon: /* @__PURE__ */ jsx(FaGlobeAmericas, {}),
|
30
|
-
primary: "Explore",
|
31
|
-
tooltip: "View global archivist data on a world map."
|
32
|
-
};
|
33
|
-
const WithChildren = Template.bind({});
|
34
|
-
WithChildren.args = {
|
35
|
-
icon: /* @__PURE__ */ jsx(FaGlobeAmericas, {}),
|
36
|
-
primary: "Explore",
|
37
|
-
subNavListItems: [{ primary: "Explore", to: "/explore", tooltip: "View global archivist data on a world map." }],
|
38
|
-
tooltip: "View global archivist data on a world map."
|
39
|
-
};
|
40
|
-
var MenuListItemContainer_stories_default = StorybookEntry;
|
41
|
-
export {
|
42
|
-
Default,
|
43
|
-
WithChildren,
|
44
|
-
MenuListItemContainer_stories_default as default
|
45
|
-
};
|
46
|
-
//# sourceMappingURL=MenuListItemContainer.stories.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.tsx"],"sourcesContent":["import { List } from '@mui/material'\nimport { Meta, StoryFn } from '@storybook/react'\nimport { FaGlobeAmericas } from 'react-icons/fa/index.js'\nimport { BrowserRouter } from 'react-router-dom'\n\nimport { MenuListItemContainer, MenuListItemProps } from './MenuListItemContainer'\n\nconst StorybookEntry = {\n argTypes: {},\n component: MenuListItemContainer,\n parameters: {\n docs: {\n page: null,\n },\n },\n title: 'appbar/MenuListItemContainer',\n} as Meta<typeof MenuListItemContainer>\n\nconst SiteMenuList: React.FC<MenuListItemProps> = (args) => {\n return (\n <BrowserRouter>\n <List>\n <MenuListItemContainer {...args} />\n <MenuListItemContainer {...args} />\n <MenuListItemContainer {...args} />\n </List>\n </BrowserRouter>\n )\n}\n\nconst Template: StoryFn<typeof MenuListItemContainer> = (args) => {\n return <SiteMenuList {...args} />\n}\n\nconst Default = Template.bind({})\nDefault.args = {\n dense: true,\n icon: <FaGlobeAmericas />,\n primary: 'Explore',\n tooltip: 'View global archivist data on a world map.',\n}\n\nconst WithChildren = Template.bind({})\nWithChildren.args = {\n icon: <FaGlobeAmericas />,\n primary: 'Explore',\n subNavListItems: [{ primary: 'Explore', to: '/explore', tooltip: 'View global archivist data on a world map.' }],\n tooltip: 'View global archivist data on a world map.',\n}\n\nexport { Default, WithChildren }\n\n// eslint-disable-next-line import/no-default-export\nexport default StorybookEntry\n"],"mappings":"AAqBM,SACE,KADF;AArBN,SAAS,YAAY;AAErB,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAE9B,SAAS,6BAAgD;AAEzD,MAAM,iBAAiB;AAAA,EACrB,UAAU,CAAC;AAAA,EACX,WAAW;AAAA,EACX,YAAY;AAAA,IACV,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EACA,OAAO;AACT;AAEA,MAAM,eAA4C,CAAC,SAAS;AAC1D,SACE,oBAAC,iBACC,+BAAC,QACC;AAAA,wBAAC,yBAAuB,GAAG,MAAM;AAAA,IACjC,oBAAC,yBAAuB,GAAG,MAAM;AAAA,IACjC,oBAAC,yBAAuB,GAAG,MAAM;AAAA,KACnC,GACF;AAEJ;AAEA,MAAM,WAAkD,CAAC,SAAS;AAChE,SAAO,oBAAC,gBAAc,GAAG,MAAM;AACjC;AAEA,MAAM,UAAU,SAAS,KAAK,CAAC,CAAC;AAChC,QAAQ,OAAO;AAAA,EACb,OAAO;AAAA,EACP,MAAM,oBAAC,mBAAgB;AAAA,EACvB,SAAS;AAAA,EACT,SAAS;AACX;AAEA,MAAM,eAAe,SAAS,KAAK,CAAC,CAAC;AACrC,aAAa,OAAO;AAAA,EAClB,MAAM,oBAAC,mBAAgB;AAAA,EACvB,SAAS;AAAA,EACT,iBAAiB,CAAC,EAAE,SAAS,WAAW,IAAI,YAAY,SAAS,6CAA6C,CAAC;AAAA,EAC/G,SAAS;AACX;AAKA,IAAO,wCAAQ;","names":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/SiteMenu/MenuListItem/index.ts"],"sourcesContent":["export * from './MenuListItemContainer'\n"],"mappings":"AAAA,cAAc;","names":[]}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { Tooltip } from "@mui/material";
|
3
|
-
import { FlexCol } from "@xylabs/react-flexbox";
|
4
|
-
import { VscInfo } from "react-icons/vsc/index.js";
|
5
|
-
const ListItemTooltip = ({ title, ...props }) => {
|
6
|
-
return /* @__PURE__ */ jsx(Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(FlexCol, { justifyContent: "center", children: /* @__PURE__ */ jsx(VscInfo, { color: "grey" }) }) }) });
|
7
|
-
};
|
8
|
-
export {
|
9
|
-
ListItemTooltip
|
10
|
-
};
|
11
|
-
//# sourceMappingURL=ListItemTooltip.mjs.map
|
package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx"],"sourcesContent":["import { Tooltip, TooltipProps } from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport { VscInfo } from 'react-icons/vsc/index.js'\n\nexport interface ListItemTooltipProps extends Omit<TooltipProps, 'children'> {\n title: string\n}\n\nexport const ListItemTooltip: React.FC<ListItemTooltipProps> = ({ title, ...props }) => {\n return (\n <Tooltip title={title} placement=\"right\" {...props}>\n {/* Needs div so it can work, the hovering doesn't work with a FlexCol */}\n <div>\n <FlexCol justifyContent=\"center\">\n <VscInfo color=\"grey\" />\n </FlexCol>\n </div>\n </Tooltip>\n )\n}\n"],"mappings":"AAcU;AAdV,SAAS,eAA6B;AACtC,SAAS,eAAe;AACxB,SAAS,eAAe;AAMjB,MAAM,kBAAkD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AACtF,SACE,oBAAC,WAAQ,OAAc,WAAU,SAAS,GAAG,OAE3C,8BAAC,SACC,8BAAC,WAAQ,gBAAe,UACtB,8BAAC,WAAQ,OAAM,QAAO,GACxB,GACF,GACF;AAEJ;","names":[]}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { Typography } from "@mui/material";
|
3
|
-
const MenuIcon = ({ icon, ...props }) => {
|
4
|
-
return /* @__PURE__ */ jsx(Typography, { display: "flex", ...props, children: icon });
|
5
|
-
};
|
6
|
-
export {
|
7
|
-
MenuIcon
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=MenuIcon.mjs.map
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { ListItem } from "@mui/material";
|
3
|
-
const MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
4
|
-
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
5
|
-
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
6
|
-
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
7
|
-
return /* @__PURE__ */ jsx(ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
8
|
-
};
|
9
|
-
export {
|
10
|
-
MenuListItem
|
11
|
-
};
|
12
|
-
//# sourceMappingURL=MenuListItem.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/index.ts"],"sourcesContent":["export * from './ListItemTooltip'\nexport * from './MenuIcon'\nexport * from './MenuListItem'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { Collapse, List } from "@mui/material";
|
3
|
-
const SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
4
|
-
return /* @__PURE__ */ jsx(Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ jsx(List, { children }) });
|
5
|
-
};
|
6
|
-
export {
|
7
|
-
SubNavListItemsCollapse
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=SubNavListItemCollapse.mjs.map
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
2
|
-
import { IconButton, useTheme } from "@mui/material";
|
3
|
-
import { VscChevronDown } from "react-icons/vsc/index.js";
|
4
|
-
const SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
5
|
-
const theme = useTheme();
|
6
|
-
return /* @__PURE__ */ jsx(
|
7
|
-
IconButton,
|
8
|
-
{
|
9
|
-
onClick: (event) => {
|
10
|
-
event.stopPropagation();
|
11
|
-
setOpenSubNav?.(!openSubNav);
|
12
|
-
},
|
13
|
-
sx: { marginRight: theme.spacing(0.5) },
|
14
|
-
children: /* @__PURE__ */ jsx(VscChevronDown, { fontSize: "16px" })
|
15
|
-
}
|
16
|
-
);
|
17
|
-
};
|
18
|
-
export {
|
19
|
-
SubNavToggleIconButton
|
20
|
-
};
|
21
|
-
//# sourceMappingURL=SubNavToggleIconButton.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx"],"sourcesContent":["import { IconButton, IconButtonProps, useTheme } from '@mui/material'\nimport { Dispatch, SetStateAction, SyntheticEvent } from 'react'\nimport { VscChevronDown } from 'react-icons/vsc/index.js'\n\nexport interface SubNavToggleIconButtonProps extends IconButtonProps {\n openSubNav?: boolean\n setOpenSubNav?: Dispatch<SetStateAction<boolean>>\n}\n\nexport const SubNavToggleIconButton: React.FC<SubNavToggleIconButtonProps> = ({ setOpenSubNav, openSubNav }) => {\n const theme = useTheme()\n return (\n <IconButton\n onClick={(event: SyntheticEvent) => {\n event.stopPropagation()\n setOpenSubNav?.(!openSubNav)\n }}\n sx={{ marginRight: theme.spacing(0.5) }}\n >\n <VscChevronDown fontSize=\"16px\" />\n </IconButton>\n )\n}\n"],"mappings":"AAmBM;AAnBN,SAAS,YAA6B,gBAAgB;AAEtD,SAAS,sBAAsB;AAOxB,MAAM,yBAAgE,CAAC,EAAE,eAAe,WAAW,MAAM;AAC9G,QAAM,QAAQ,SAAS;AACvB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS,CAAC,UAA0B;AAClC,cAAM,gBAAgB;AACtB,wBAAgB,CAAC,UAAU;AAAA,MAC7B;AAAA,MACA,IAAI,EAAE,aAAa,MAAM,QAAQ,GAAG,EAAE;AAAA,MAEtC,8BAAC,kBAAe,UAAS,QAAO;AAAA;AAAA,EAClC;AAEJ;","names":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/index.ts"],"sourcesContent":["export * from './SubNavListItemCollapse'\nexport * from './SubNavToggleIconButton'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
2
|
-
import { Collapse, ListSubheader } from "@mui/material";
|
3
|
-
import { FlexCol } from "@xylabs/react-flexbox";
|
4
|
-
import { MenuListItemContainer } from "./MenuListItem";
|
5
|
-
const MenuSection = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {
|
6
|
-
return /* @__PURE__ */ jsxs(FlexCol, { alignItems: "stretch", ...props, children: [
|
7
|
-
/* @__PURE__ */ jsx(Collapse, { in: showTitle, timeout: 700, children: /* @__PURE__ */ jsx(ListSubheader, { children: title }) }),
|
8
|
-
listItems.map((item, index) => /* @__PURE__ */ jsx(MenuListItemContainer, { iconMenuTextSpacing, ...item }, index))
|
9
|
-
] });
|
10
|
-
};
|
11
|
-
export {
|
12
|
-
MenuSection
|
13
|
-
};
|
14
|
-
//# sourceMappingURL=MenuSection.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/SiteMenu/MenuSection.tsx"],"sourcesContent":["import { Collapse, ListSubheader } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\nimport { MenuListItemContainer, MenuListItemProps } from './MenuListItem'\n\nexport interface MenuSectionProps extends FlexBoxProps {\n iconMenuTextSpacing?: string\n listItems: MenuListItemProps[]\n showTitle?: boolean\n title: string\n}\n\nexport const MenuSection: React.FC<MenuSectionProps> = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n <Collapse in={showTitle} timeout={700}>\n <ListSubheader>{title}</ListSubheader>\n </Collapse>\n\n {listItems.map((item, index) => (\n <MenuListItemContainer key={index} iconMenuTextSpacing={iconMenuTextSpacing} {...item}></MenuListItemContainer>\n ))}\n </FlexCol>\n )\n}\n"],"mappings":"AAcI,SAEI,KAFJ;AAdJ,SAAS,UAAU,qBAAqB;AACxC,SAAuB,eAAe;AAEtC,SAAS,6BAAgD;AASlD,MAAM,cAA0C,CAAC,EAAE,qBAAqB,WAAW,YAAY,MAAM,OAAO,GAAG,MAAM,MAAM;AAChI,SACE,qBAAC,WAAQ,YAAW,WAAW,GAAG,OAChC;AAAA,wBAAC,YAAS,IAAI,WAAW,SAAS,KAChC,8BAAC,iBAAe,iBAAM,GACxB;AAAA,IAEC,UAAU,IAAI,CAAC,MAAM,UACpB,oBAAC,yBAAkC,qBAA2C,GAAG,QAArD,KAA2D,CACxF;AAAA,KACH;AAEJ;","names":[]}
|