@xyo-network/react-appbar 2.64.9 → 2.65.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +13 -13
- package/dist/browser/components/AppBar/Application.cjs +0 -286
- package/dist/browser/components/AppBar/Application.cjs.map +0 -1
- package/dist/browser/components/AppBar/Application.js +0 -265
- package/dist/browser/components/AppBar/Application.js.map +0 -1
- package/dist/browser/components/AppBar/index.cjs +0 -288
- package/dist/browser/components/AppBar/index.cjs.map +0 -1
- package/dist/browser/components/AppBar/index.js +0 -265
- package/dist/browser/components/AppBar/index.js.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs +0 -61
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js +0 -40
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs +0 -66
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -45
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/index.cjs +0 -96
- package/dist/browser/components/CollapsibleDrawer/index.cjs.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/index.js +0 -73
- package/dist/browser/components/CollapsibleDrawer/index.js.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs +0 -92
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js +0 -84
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControls.cjs +0 -143
- package/dist/browser/components/MobileSystemControls/SystemControls.cjs.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControls.js +0 -122
- package/dist/browser/components/MobileSystemControls/SystemControls.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs +0 -134
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js +0 -113
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs +0 -32
- package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsType.js +0 -11
- package/dist/browser/components/MobileSystemControls/SystemControlsType.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs +0 -75
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js +0 -54
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs +0 -49
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs.map +0 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.js +0 -28
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs +0 -32
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs.map +0 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js +0 -11
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/controls/index.cjs +0 -60
- package/dist/browser/components/MobileSystemControls/controls/index.cjs.map +0 -1
- package/dist/browser/components/MobileSystemControls/controls/index.js +0 -37
- package/dist/browser/components/MobileSystemControls/controls/index.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/index.cjs +0 -155
- package/dist/browser/components/MobileSystemControls/index.cjs.map +0 -1
- package/dist/browser/components/MobileSystemControls/index.js +0 -132
- package/dist/browser/components/MobileSystemControls/index.js.map +0 -1
- package/dist/browser/components/SearchBar/SearchBar.cjs +0 -53
- package/dist/browser/components/SearchBar/SearchBar.cjs.map +0 -1
- package/dist/browser/components/SearchBar/SearchBar.js +0 -32
- package/dist/browser/components/SearchBar/SearchBar.js.map +0 -1
- package/dist/browser/components/SearchBar/index.cjs +0 -55
- package/dist/browser/components/SearchBar/index.cjs.map +0 -1
- package/dist/browser/components/SearchBar/index.js +0 -32
- package/dist/browser/components/SearchBar/index.js.map +0 -1
- package/dist/browser/components/SiteMenu/Menu.cjs +0 -193
- package/dist/browser/components/SiteMenu/Menu.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/Menu.js +0 -172
- package/dist/browser/components/SiteMenu/Menu.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +0 -153
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -132
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/index.cjs +0 -155
- package/dist/browser/components/SiteMenu/MenuListItem/index.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/index.js +0 -132
- package/dist/browser/components/SiteMenu/MenuListItem/index.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +0 -33
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -12
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +0 -31
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -10
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +0 -34
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -13
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs +0 -54
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js +0 -31
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +0 -31
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -10
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +0 -43
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -22
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs +0 -53
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js +0 -30
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuSection.cjs +0 -166
- package/dist/browser/components/SiteMenu/MenuSection.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/MenuSection.js +0 -145
- package/dist/browser/components/SiteMenu/MenuSection.js.map +0 -1
- package/dist/browser/components/SiteMenu/hooks/index.cjs +0 -58
- package/dist/browser/components/SiteMenu/hooks/index.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/hooks/index.js +0 -35
- package/dist/browser/components/SiteMenu/hooks/index.js.map +0 -1
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs +0 -56
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js +0 -35
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
- package/dist/browser/components/SiteMenu/index.cjs +0 -233
- package/dist/browser/components/SiteMenu/index.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/index.js +0 -210
- package/dist/browser/components/SiteMenu/index.js.map +0 -1
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs +0 -19
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.js +0 -1
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs +0 -19
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.js +0 -1
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
- package/dist/browser/components/SiteMenu/lib/index.cjs +0 -19
- package/dist/browser/components/SiteMenu/lib/index.cjs.map +0 -1
- package/dist/browser/components/SiteMenu/lib/index.js +0 -1
- package/dist/browser/components/SiteMenu/lib/index.js.map +0 -1
- package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs +0 -72
- package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs.map +0 -1
- package/dist/browser/components/Toolbar/Context/ContextToolbar.js +0 -51
- package/dist/browser/components/Toolbar/Context/ContextToolbar.js.map +0 -1
- package/dist/browser/components/Toolbar/Context/Logo.cjs +0 -33
- package/dist/browser/components/Toolbar/Context/Logo.cjs.map +0 -1
- package/dist/browser/components/Toolbar/Context/Logo.js +0 -12
- package/dist/browser/components/Toolbar/Context/Logo.js.map +0 -1
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs +0 -63
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs.map +0 -1
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.js +0 -42
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
- package/dist/browser/components/Toolbar/Context/index.cjs +0 -74
- package/dist/browser/components/Toolbar/Context/index.cjs.map +0 -1
- package/dist/browser/components/Toolbar/Context/index.js +0 -51
- package/dist/browser/components/Toolbar/Context/index.js.map +0 -1
- package/dist/browser/components/Toolbar/System/SystemToolbar.cjs +0 -220
- package/dist/browser/components/Toolbar/System/SystemToolbar.cjs.map +0 -1
- package/dist/browser/components/Toolbar/System/SystemToolbar.js +0 -199
- package/dist/browser/components/Toolbar/System/SystemToolbar.js.map +0 -1
- package/dist/browser/components/Toolbar/System/index.cjs +0 -222
- package/dist/browser/components/Toolbar/System/index.cjs.map +0 -1
- package/dist/browser/components/Toolbar/System/index.js +0 -199
- package/dist/browser/components/Toolbar/System/index.js.map +0 -1
- package/dist/browser/components/Toolbar/index.cjs +0 -271
- package/dist/browser/components/Toolbar/index.cjs.map +0 -1
- package/dist/browser/components/Toolbar/index.js +0 -248
- package/dist/browser/components/Toolbar/index.js.map +0 -1
- package/dist/browser/components/index.cjs +0 -550
- package/dist/browser/components/index.cjs.map +0 -1
- package/dist/browser/components/index.js +0 -527
- package/dist/browser/components/index.js.map +0 -1
- package/dist/browser/contexts/Collapsible/State.cjs +0 -19
- package/dist/browser/contexts/Collapsible/State.cjs.map +0 -1
- package/dist/browser/contexts/Collapsible/State.js +0 -1
- package/dist/browser/contexts/Collapsible/State.js.map +0 -1
- package/dist/browser/contexts/Collapsible/context.cjs +0 -28
- package/dist/browser/contexts/Collapsible/context.cjs.map +0 -1
- package/dist/browser/contexts/Collapsible/context.js +0 -7
- package/dist/browser/contexts/Collapsible/context.js.map +0 -1
- package/dist/browser/contexts/Collapsible/index.cjs +0 -52
- package/dist/browser/contexts/Collapsible/index.cjs.map +0 -1
- package/dist/browser/contexts/Collapsible/index.js +0 -29
- package/dist/browser/contexts/Collapsible/index.js.map +0 -1
- package/dist/browser/contexts/Collapsible/provider.cjs +0 -45
- package/dist/browser/contexts/Collapsible/provider.cjs.map +0 -1
- package/dist/browser/contexts/Collapsible/provider.js +0 -24
- package/dist/browser/contexts/Collapsible/provider.js.map +0 -1
- package/dist/browser/contexts/Collapsible/use.cjs +0 -34
- package/dist/browser/contexts/Collapsible/use.cjs.map +0 -1
- package/dist/browser/contexts/Collapsible/use.js +0 -13
- package/dist/browser/contexts/Collapsible/use.js.map +0 -1
- package/dist/browser/contexts/index.cjs +0 -52
- package/dist/browser/contexts/index.cjs.map +0 -1
- package/dist/browser/contexts/index.js +0 -29
- package/dist/browser/contexts/index.js.map +0 -1
- package/dist/docs.json +0 -96215
- package/dist/node/components/AppBar/Application.cjs +0 -290
- package/dist/node/components/AppBar/Application.cjs.map +0 -1
- package/dist/node/components/AppBar/Application.js +0 -265
- package/dist/node/components/AppBar/Application.js.map +0 -1
- package/dist/node/components/AppBar/index.cjs +0 -292
- package/dist/node/components/AppBar/index.cjs.map +0 -1
- package/dist/node/components/AppBar/index.js +0 -265
- package/dist/node/components/AppBar/index.js.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs +0 -65
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.js +0 -40
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs +0 -70
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -45
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
- package/dist/node/components/CollapsibleDrawer/index.cjs +0 -101
- package/dist/node/components/CollapsibleDrawer/index.cjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/index.js +0 -73
- package/dist/node/components/CollapsibleDrawer/index.js.map +0 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs +0 -97
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js +0 -84
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.cjs +0 -147
- package/dist/node/components/MobileSystemControls/SystemControls.cjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.js +0 -122
- package/dist/node/components/MobileSystemControls/SystemControls.js.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs +0 -138
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.js +0 -113
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsType.cjs +0 -36
- package/dist/node/components/MobileSystemControls/SystemControlsType.cjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsType.js +0 -11
- package/dist/node/components/MobileSystemControls/SystemControlsType.js.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs +0 -79
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js +0 -54
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs +0 -53
- package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControl.js +0 -28
- package/dist/node/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs +0 -36
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.js +0 -11
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/index.cjs +0 -65
- package/dist/node/components/MobileSystemControls/controls/index.cjs.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/index.js +0 -37
- package/dist/node/components/MobileSystemControls/controls/index.js.map +0 -1
- package/dist/node/components/MobileSystemControls/index.cjs +0 -161
- package/dist/node/components/MobileSystemControls/index.cjs.map +0 -1
- package/dist/node/components/MobileSystemControls/index.js +0 -132
- package/dist/node/components/MobileSystemControls/index.js.map +0 -1
- package/dist/node/components/SearchBar/SearchBar.cjs +0 -57
- package/dist/node/components/SearchBar/SearchBar.cjs.map +0 -1
- package/dist/node/components/SearchBar/SearchBar.js +0 -32
- package/dist/node/components/SearchBar/SearchBar.js.map +0 -1
- package/dist/node/components/SearchBar/index.cjs +0 -59
- package/dist/node/components/SearchBar/index.cjs.map +0 -1
- package/dist/node/components/SearchBar/index.js +0 -32
- package/dist/node/components/SearchBar/index.js.map +0 -1
- package/dist/node/components/SiteMenu/Menu.cjs +0 -197
- package/dist/node/components/SiteMenu/Menu.cjs.map +0 -1
- package/dist/node/components/SiteMenu/Menu.js +0 -172
- package/dist/node/components/SiteMenu/Menu.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +0 -157
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -132
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/index.cjs +0 -159
- package/dist/node/components/SiteMenu/MenuListItem/index.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/index.js +0 -132
- package/dist/node/components/SiteMenu/MenuListItem/index.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +0 -37
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -12
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +0 -35
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -10
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +0 -38
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -13
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs +0 -60
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js +0 -31
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +0 -35
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -10
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +0 -47
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -22
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs +0 -58
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js +0 -30
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuSection.cjs +0 -170
- package/dist/node/components/SiteMenu/MenuSection.cjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuSection.js +0 -145
- package/dist/node/components/SiteMenu/MenuSection.js.map +0 -1
- package/dist/node/components/SiteMenu/hooks/index.cjs +0 -62
- package/dist/node/components/SiteMenu/hooks/index.cjs.map +0 -1
- package/dist/node/components/SiteMenu/hooks/index.js +0 -35
- package/dist/node/components/SiteMenu/hooks/index.js.map +0 -1
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs +0 -60
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +0 -1
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js +0 -35
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
- package/dist/node/components/SiteMenu/index.cjs +0 -240
- package/dist/node/components/SiteMenu/index.cjs.map +0 -1
- package/dist/node/components/SiteMenu/index.js +0 -210
- package/dist/node/components/SiteMenu/index.js.map +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs +0 -19
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.js +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs +0 -19
- package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.js +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
- package/dist/node/components/SiteMenu/lib/index.cjs +0 -19
- package/dist/node/components/SiteMenu/lib/index.cjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/index.js +0 -1
- package/dist/node/components/SiteMenu/lib/index.js.map +0 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.cjs +0 -76
- package/dist/node/components/Toolbar/Context/ContextToolbar.cjs.map +0 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.js +0 -51
- package/dist/node/components/Toolbar/Context/ContextToolbar.js.map +0 -1
- package/dist/node/components/Toolbar/Context/Logo.cjs +0 -37
- package/dist/node/components/Toolbar/Context/Logo.cjs.map +0 -1
- package/dist/node/components/Toolbar/Context/Logo.js +0 -12
- package/dist/node/components/Toolbar/Context/Logo.js.map +0 -1
- package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs +0 -67
- package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs.map +0 -1
- package/dist/node/components/Toolbar/Context/LogoLinkEx.js +0 -42
- package/dist/node/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
- package/dist/node/components/Toolbar/Context/index.cjs +0 -78
- package/dist/node/components/Toolbar/Context/index.cjs.map +0 -1
- package/dist/node/components/Toolbar/Context/index.js +0 -51
- package/dist/node/components/Toolbar/Context/index.js.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.cjs +0 -224
- package/dist/node/components/Toolbar/System/SystemToolbar.cjs.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.js +0 -199
- package/dist/node/components/Toolbar/System/SystemToolbar.js.map +0 -1
- package/dist/node/components/Toolbar/System/index.cjs +0 -226
- package/dist/node/components/Toolbar/System/index.cjs.map +0 -1
- package/dist/node/components/Toolbar/System/index.js +0 -199
- package/dist/node/components/Toolbar/System/index.js.map +0 -1
- package/dist/node/components/Toolbar/index.cjs +0 -276
- package/dist/node/components/Toolbar/index.cjs.map +0 -1
- package/dist/node/components/Toolbar/index.js +0 -248
- package/dist/node/components/Toolbar/index.js.map +0 -1
- package/dist/node/components/index.cjs +0 -566
- package/dist/node/components/index.cjs.map +0 -1
- package/dist/node/components/index.js +0 -527
- package/dist/node/components/index.js.map +0 -1
- package/dist/node/contexts/Collapsible/State.cjs +0 -19
- package/dist/node/contexts/Collapsible/State.cjs.map +0 -1
- package/dist/node/contexts/Collapsible/State.js +0 -1
- package/dist/node/contexts/Collapsible/State.js.map +0 -1
- package/dist/node/contexts/Collapsible/context.cjs +0 -32
- package/dist/node/contexts/Collapsible/context.cjs.map +0 -1
- package/dist/node/contexts/Collapsible/context.js +0 -7
- package/dist/node/contexts/Collapsible/context.js.map +0 -1
- package/dist/node/contexts/Collapsible/index.cjs +0 -57
- package/dist/node/contexts/Collapsible/index.cjs.map +0 -1
- package/dist/node/contexts/Collapsible/index.js +0 -29
- package/dist/node/contexts/Collapsible/index.js.map +0 -1
- package/dist/node/contexts/Collapsible/provider.cjs +0 -49
- package/dist/node/contexts/Collapsible/provider.cjs.map +0 -1
- package/dist/node/contexts/Collapsible/provider.js +0 -24
- package/dist/node/contexts/Collapsible/provider.js.map +0 -1
- package/dist/node/contexts/Collapsible/use.cjs +0 -38
- package/dist/node/contexts/Collapsible/use.cjs.map +0 -1
- package/dist/node/contexts/Collapsible/use.js +0 -13
- package/dist/node/contexts/Collapsible/use.js.map +0 -1
- package/dist/node/contexts/index.cjs +0 -57
- package/dist/node/contexts/index.cjs.map +0 -1
- package/dist/node/contexts/index.js +0 -29
- package/dist/node/contexts/index.js.map +0 -1
@@ -1,34 +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
|
-
|
20
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
21
|
-
var MenuListItem_exports = {};
|
22
|
-
__export(MenuListItem_exports, {
|
23
|
-
MenuListItem: () => MenuListItem
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(MenuListItem_exports);
|
26
|
-
var import_material = require("@mui/material");
|
27
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
28
|
-
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
29
|
-
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
30
|
-
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
31
|
-
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
32
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
33
|
-
};
|
34
|
-
//# sourceMappingURL=MenuListItem.cjs.map
|
package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx"],"sourcesContent":["import { ListItem, ListItemProps } from '@mui/material'\n\nimport { MenuListItemBase } from '../../lib'\n\nexport interface ListItemExProps extends MenuListItemBase, ListItemProps {}\n\nexport const MenuListItem: React.FC<ListItemExProps> = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {\n const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' }\n // wait till collapseEnds to remove the spacing between items\n const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 }\n // adjusts to the paddingY value which does NOT scale along the theme.spacing\n const paddingSx = dense ? { px: '8px' } : { px: '12px' }\n return (\n <ListItem sx={{ ...listItemSx, ...spacingSx, ...paddingSx, ...sx }} {...props}>\n {children}\n </ListItem>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAwC;AAapC;AAPG,IAAM,eAA0C,CAAC,EAAE,UAAU,aAAa,IAAI,UAAU,OAAO,GAAG,MAAM,MAAM;AACnH,QAAM,aAAa,WAAW,EAAE,cAAc,OAAO,SAAS,eAAe,UAAU,GAAG,OAAO,OAAO,IAAI,EAAE,OAAO,OAAO;AAE5H,QAAM,YAAY,cAAc,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI;AAEpE,QAAM,YAAY,QAAQ,EAAE,IAAI,MAAM,IAAI,EAAE,IAAI,OAAO;AACvD,SACE,4CAAC,4BAAS,IAAI,EAAE,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,GAAG,GAAI,GAAG,OACrE,UACH;AAEJ;","names":[]}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
2
|
-
import { ListItem } from "@mui/material";
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
4
|
-
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
5
|
-
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
6
|
-
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
7
|
-
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
8
|
-
return /* @__PURE__ */ jsx(ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
9
|
-
};
|
10
|
-
export {
|
11
|
-
MenuListItem
|
12
|
-
};
|
13
|
-
//# sourceMappingURL=MenuListItem.js.map
|
package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx"],"sourcesContent":["import { ListItem, ListItemProps } from '@mui/material'\n\nimport { MenuListItemBase } from '../../lib'\n\nexport interface ListItemExProps extends MenuListItemBase, ListItemProps {}\n\nexport const MenuListItem: React.FC<ListItemExProps> = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {\n const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' }\n // wait till collapseEnds to remove the spacing between items\n const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 }\n // adjusts to the paddingY value which does NOT scale along the theme.spacing\n const paddingSx = dense ? { px: '8px' } : { px: '12px' }\n return (\n <ListItem sx={{ ...listItemSx, ...spacingSx, ...paddingSx, ...sx }} {...props}>\n {children}\n </ListItem>\n )\n}\n"],"mappings":";AAAA,SAAS,gBAA+B;AAapC;AAPG,IAAM,eAA0C,CAAC,EAAE,UAAU,aAAa,IAAI,UAAU,OAAO,GAAG,MAAM,MAAM;AACnH,QAAM,aAAa,WAAW,EAAE,cAAc,OAAO,SAAS,eAAe,UAAU,GAAG,OAAO,OAAO,IAAI,EAAE,OAAO,OAAO;AAE5H,QAAM,YAAY,cAAc,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI;AAEpE,QAAM,YAAY,QAAQ,EAAE,IAAI,MAAM,IAAI,EAAE,IAAI,OAAO;AACvD,SACE,oBAAC,YAAS,IAAI,EAAE,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,GAAG,GAAI,GAAG,OACrE,UACH;AAEJ;","names":[]}
|
@@ -1,54 +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
|
-
|
20
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/index.ts
|
21
|
-
var list_item_components_exports = {};
|
22
|
-
__export(list_item_components_exports, {
|
23
|
-
ListItemTooltip: () => ListItemTooltip,
|
24
|
-
MenuIcon: () => MenuIcon,
|
25
|
-
MenuListItem: () => MenuListItem
|
26
|
-
});
|
27
|
-
module.exports = __toCommonJS(list_item_components_exports);
|
28
|
-
|
29
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
|
30
|
-
var import_material = require("@mui/material");
|
31
|
-
var import_react_flexbox = require("@xylabs/react-flexbox");
|
32
|
-
var import_vsc = require("react-icons/vsc/index.js");
|
33
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
34
|
-
var ListItemTooltip = ({ title, ...props }) => {
|
35
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscInfo, { color: "grey" }) }) }) });
|
36
|
-
};
|
37
|
-
|
38
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
|
39
|
-
var import_material2 = require("@mui/material");
|
40
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
41
|
-
var MenuIcon = ({ icon, ...props }) => {
|
42
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { display: "flex", ...props, children: icon });
|
43
|
-
};
|
44
|
-
|
45
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
46
|
-
var import_material3 = require("@mui/material");
|
47
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
48
|
-
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
49
|
-
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
50
|
-
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
51
|
-
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
52
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
53
|
-
};
|
54
|
-
//# sourceMappingURL=index.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/index.ts","../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx","../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx","../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx"],"sourcesContent":["export * from './ListItemTooltip'\nexport * from './MenuIcon'\nexport * from './MenuListItem'\n","import { Tooltip, TooltipProps } from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscInfo } from 'react-icons/vsc/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","import { Typography, TypographyProps } from '@mui/material'\nimport { ReactNode } from 'react'\n\nexport interface MenuIconProps extends TypographyProps {\n icon?: ReactNode\n}\n\nexport const MenuIcon: React.FC<MenuIconProps> = ({ icon, ...props }) => {\n return (\n <Typography display=\"flex\" {...props}>\n {icon}\n </Typography>\n )\n}\n","import { ListItem, ListItemProps } from '@mui/material'\n\nimport { MenuListItemBase } from '../../lib'\n\nexport interface ListItemExProps extends MenuListItemBase, ListItemProps {}\n\nexport const MenuListItem: React.FC<ListItemExProps> = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {\n const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' }\n // wait till collapseEnds to remove the spacing between items\n const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 }\n // adjusts to the paddingY value which does NOT scale along the theme.spacing\n const paddingSx = dense ? { px: '8px' } : { px: '12px' }\n return (\n <ListItem sx={{ ...listItemSx, ...spacingSx, ...paddingSx, ...sx }} {...props}>\n {children}\n </ListItem>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAAsC;AACtC,2BAAwB;AAExB,iBAAwB;AAYd;AANH,IAAM,kBAAkD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AACtF,SACE,4CAAC,2BAAQ,OAAc,WAAU,SAAS,GAAG,OAE3C,sDAAC,SACC,sDAAC,gCAAQ,gBAAe,UACtB,sDAAC,sBAAQ,OAAM,QAAO,GACxB,GACF,GACF;AAEJ;;;ACpBA,IAAAA,mBAA4C;AASxC,IAAAC,sBAAA;AAFG,IAAM,WAAoC,CAAC,EAAE,MAAM,GAAG,MAAM,MAAM;AACvE,SACE,6CAAC,+BAAW,SAAQ,QAAQ,GAAG,OAC5B,gBACH;AAEJ;;;ACbA,IAAAC,mBAAwC;AAapC,IAAAC,sBAAA;AAPG,IAAM,eAA0C,CAAC,EAAE,UAAU,aAAa,IAAI,UAAU,OAAO,GAAG,MAAM,MAAM;AACnH,QAAM,aAAa,WAAW,EAAE,cAAc,OAAO,SAAS,eAAe,UAAU,GAAG,OAAO,OAAO,IAAI,EAAE,OAAO,OAAO;AAE5H,QAAM,YAAY,cAAc,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI;AAEpE,QAAM,YAAY,QAAQ,EAAE,IAAI,MAAM,IAAI,EAAE,IAAI,OAAO;AACvD,SACE,6CAAC,6BAAS,IAAI,EAAE,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,GAAG,GAAI,GAAG,OACrE,UACH;AAEJ;","names":["import_material","import_jsx_runtime","import_material","import_jsx_runtime"]}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
|
2
|
-
import { Tooltip } from "@mui/material";
|
3
|
-
import { FlexCol } from "@xylabs/react-flexbox";
|
4
|
-
import { VscInfo } from "react-icons/vsc/index.js";
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
6
|
-
var ListItemTooltip = ({ title, ...props }) => {
|
7
|
-
return /* @__PURE__ */ jsx(Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(FlexCol, { justifyContent: "center", children: /* @__PURE__ */ jsx(VscInfo, { color: "grey" }) }) }) });
|
8
|
-
};
|
9
|
-
|
10
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
|
11
|
-
import { Typography } from "@mui/material";
|
12
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
13
|
-
var MenuIcon = ({ icon, ...props }) => {
|
14
|
-
return /* @__PURE__ */ jsx2(Typography, { display: "flex", ...props, children: icon });
|
15
|
-
};
|
16
|
-
|
17
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
18
|
-
import { ListItem } from "@mui/material";
|
19
|
-
import { jsx as jsx3 } from "react/jsx-runtime";
|
20
|
-
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
21
|
-
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
22
|
-
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
23
|
-
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
24
|
-
return /* @__PURE__ */ jsx3(ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
25
|
-
};
|
26
|
-
export {
|
27
|
-
ListItemTooltip,
|
28
|
-
MenuIcon,
|
29
|
-
MenuListItem
|
30
|
-
};
|
31
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx","../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx","../../../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx"],"sourcesContent":["import { Tooltip, TooltipProps } from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscInfo } from 'react-icons/vsc/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","import { Typography, TypographyProps } from '@mui/material'\nimport { ReactNode } from 'react'\n\nexport interface MenuIconProps extends TypographyProps {\n icon?: ReactNode\n}\n\nexport const MenuIcon: React.FC<MenuIconProps> = ({ icon, ...props }) => {\n return (\n <Typography display=\"flex\" {...props}>\n {icon}\n </Typography>\n )\n}\n","import { ListItem, ListItemProps } from '@mui/material'\n\nimport { MenuListItemBase } from '../../lib'\n\nexport interface ListItemExProps extends MenuListItemBase, ListItemProps {}\n\nexport const MenuListItem: React.FC<ListItemExProps> = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {\n const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' }\n // wait till collapseEnds to remove the spacing between items\n const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 }\n // adjusts to the paddingY value which does NOT scale along the theme.spacing\n const paddingSx = dense ? { px: '8px' } : { px: '12px' }\n return (\n <ListItem sx={{ ...listItemSx, ...spacingSx, ...paddingSx, ...sx }} {...props}>\n {children}\n </ListItem>\n )\n}\n"],"mappings":";AAAA,SAAS,eAA6B;AACtC,SAAS,eAAe;AAExB,SAAS,eAAe;AAYd;AANH,IAAM,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;;;ACpBA,SAAS,kBAAmC;AASxC,gBAAAA,YAAA;AAFG,IAAM,WAAoC,CAAC,EAAE,MAAM,GAAG,MAAM,MAAM;AACvE,SACE,gBAAAA,KAAC,cAAW,SAAQ,QAAQ,GAAG,OAC5B,gBACH;AAEJ;;;ACbA,SAAS,gBAA+B;AAapC,gBAAAC,YAAA;AAPG,IAAM,eAA0C,CAAC,EAAE,UAAU,aAAa,IAAI,UAAU,OAAO,GAAG,MAAM,MAAM;AACnH,QAAM,aAAa,WAAW,EAAE,cAAc,OAAO,SAAS,eAAe,UAAU,GAAG,OAAO,OAAO,IAAI,EAAE,OAAO,OAAO;AAE5H,QAAM,YAAY,cAAc,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI;AAEpE,QAAM,YAAY,QAAQ,EAAE,IAAI,MAAM,IAAI,EAAE,IAAI,OAAO;AACvD,SACE,gBAAAA,KAAC,YAAS,IAAI,EAAE,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,GAAG,GAAI,GAAG,OACrE,UACH;AAEJ;","names":["jsx","jsx"]}
|
@@ -1,31 +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
|
-
|
20
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
21
|
-
var SubNavListItemCollapse_exports = {};
|
22
|
-
__export(SubNavListItemCollapse_exports, {
|
23
|
-
SubNavListItemsCollapse: () => SubNavListItemsCollapse
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(SubNavListItemCollapse_exports);
|
26
|
-
var import_material = require("@mui/material");
|
27
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
28
|
-
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
29
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.List, { children }) });
|
30
|
-
};
|
31
|
-
//# sourceMappingURL=SubNavListItemCollapse.cjs.map
|
package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx"],"sourcesContent":["import { Collapse, CollapseProps, List } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { NavListItemProps } from '../../lib'\n\nexport interface SubNavListItemsCollapseProps extends WithChildren, CollapseProps {\n collapse?: boolean\n openSubNav?: boolean\n subNavListItems?: NavListItemProps[]\n}\n\nexport const SubNavListItemsCollapse: React.FC<SubNavListItemsCollapseProps> = ({ collapse, openSubNav, children, ...props }) => {\n return (\n <Collapse in={collapse == true ? false : openSubNav} {...props}>\n <List>{children}</List>\n </Collapse>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA8C;AAcxC;AAHC,IAAM,0BAAkE,CAAC,EAAE,UAAU,YAAY,UAAU,GAAG,MAAM,MAAM;AAC/H,SACE,4CAAC,4BAAS,IAAI,YAAY,OAAO,QAAQ,YAAa,GAAG,OACvD,sDAAC,wBAAM,UAAS,GAClB;AAEJ;","names":[]}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
2
|
-
import { Collapse, List } from "@mui/material";
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
4
|
-
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
5
|
-
return /* @__PURE__ */ jsx(Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ jsx(List, { children }) });
|
6
|
-
};
|
7
|
-
export {
|
8
|
-
SubNavListItemsCollapse
|
9
|
-
};
|
10
|
-
//# sourceMappingURL=SubNavListItemCollapse.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx"],"sourcesContent":["import { Collapse, CollapseProps, List } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { NavListItemProps } from '../../lib'\n\nexport interface SubNavListItemsCollapseProps extends WithChildren, CollapseProps {\n collapse?: boolean\n openSubNav?: boolean\n subNavListItems?: NavListItemProps[]\n}\n\nexport const SubNavListItemsCollapse: React.FC<SubNavListItemsCollapseProps> = ({ collapse, openSubNav, children, ...props }) => {\n return (\n <Collapse in={collapse == true ? false : openSubNav} {...props}>\n <List>{children}</List>\n </Collapse>\n )\n}\n"],"mappings":";AAAA,SAAS,UAAyB,YAAY;AAcxC;AAHC,IAAM,0BAAkE,CAAC,EAAE,UAAU,YAAY,UAAU,GAAG,MAAM,MAAM;AAC/H,SACE,oBAAC,YAAS,IAAI,YAAY,OAAO,QAAQ,YAAa,GAAG,OACvD,8BAAC,QAAM,UAAS,GAClB;AAEJ;","names":[]}
|
@@ -1,43 +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
|
-
|
20
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
21
|
-
var SubNavToggleIconButton_exports = {};
|
22
|
-
__export(SubNavToggleIconButton_exports, {
|
23
|
-
SubNavToggleIconButton: () => SubNavToggleIconButton
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(SubNavToggleIconButton_exports);
|
26
|
-
var import_material = require("@mui/material");
|
27
|
-
var import_vsc = require("react-icons/vsc/index.js");
|
28
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
29
|
-
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
30
|
-
const theme = (0, import_material.useTheme)();
|
31
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
32
|
-
import_material.IconButton,
|
33
|
-
{
|
34
|
-
onClick: (event) => {
|
35
|
-
event.stopPropagation();
|
36
|
-
setOpenSubNav?.(!openSubNav);
|
37
|
-
},
|
38
|
-
sx: { marginRight: theme.spacing(0.5) },
|
39
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscChevronDown, { fontSize: "16px" })
|
40
|
-
}
|
41
|
-
);
|
42
|
-
};
|
43
|
-
//# sourceMappingURL=SubNavToggleIconButton.cjs.map
|
package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map
DELETED
@@ -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'\n// eslint-disable-next-line import/no-internal-modules\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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsD;AAGtD,iBAA+B;AAiBzB;AAVC,IAAM,yBAAgE,CAAC,EAAE,eAAe,WAAW,MAAM;AAC9G,QAAM,YAAQ,0BAAS;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,sDAAC,6BAAe,UAAS,QAAO;AAAA;AAAA,EAClC;AAEJ;","names":[]}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
2
|
-
import { IconButton, useTheme } from "@mui/material";
|
3
|
-
import { VscChevronDown } from "react-icons/vsc/index.js";
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
5
|
-
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
6
|
-
const theme = useTheme();
|
7
|
-
return /* @__PURE__ */ jsx(
|
8
|
-
IconButton,
|
9
|
-
{
|
10
|
-
onClick: (event) => {
|
11
|
-
event.stopPropagation();
|
12
|
-
setOpenSubNav?.(!openSubNav);
|
13
|
-
},
|
14
|
-
sx: { marginRight: theme.spacing(0.5) },
|
15
|
-
children: /* @__PURE__ */ jsx(VscChevronDown, { fontSize: "16px" })
|
16
|
-
}
|
17
|
-
);
|
18
|
-
};
|
19
|
-
export {
|
20
|
-
SubNavToggleIconButton
|
21
|
-
};
|
22
|
-
//# sourceMappingURL=SubNavToggleIconButton.js.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'\n// eslint-disable-next-line import/no-internal-modules\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":";AAAA,SAAS,YAA6B,gBAAgB;AAGtD,SAAS,sBAAsB;AAiBzB;AAVC,IAAM,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,53 +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
|
-
|
20
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/index.ts
|
21
|
-
var sub_nav_exports = {};
|
22
|
-
__export(sub_nav_exports, {
|
23
|
-
SubNavListItemsCollapse: () => SubNavListItemsCollapse,
|
24
|
-
SubNavToggleIconButton: () => SubNavToggleIconButton
|
25
|
-
});
|
26
|
-
module.exports = __toCommonJS(sub_nav_exports);
|
27
|
-
|
28
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
29
|
-
var import_material = require("@mui/material");
|
30
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
31
|
-
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
32
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.List, { children }) });
|
33
|
-
};
|
34
|
-
|
35
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
36
|
-
var import_material2 = require("@mui/material");
|
37
|
-
var import_vsc = require("react-icons/vsc/index.js");
|
38
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
39
|
-
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
40
|
-
const theme = (0, import_material2.useTheme)();
|
41
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
42
|
-
import_material2.IconButton,
|
43
|
-
{
|
44
|
-
onClick: (event) => {
|
45
|
-
event.stopPropagation();
|
46
|
-
setOpenSubNav?.(!openSubNav);
|
47
|
-
},
|
48
|
-
sx: { marginRight: theme.spacing(0.5) },
|
49
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_vsc.VscChevronDown, { fontSize: "16px" })
|
50
|
-
}
|
51
|
-
);
|
52
|
-
};
|
53
|
-
//# sourceMappingURL=index.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/index.ts","../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx","../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx"],"sourcesContent":["export * from './SubNavListItemCollapse'\nexport * from './SubNavToggleIconButton'\n","import { Collapse, CollapseProps, List } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { NavListItemProps } from '../../lib'\n\nexport interface SubNavListItemsCollapseProps extends WithChildren, CollapseProps {\n collapse?: boolean\n openSubNav?: boolean\n subNavListItems?: NavListItemProps[]\n}\n\nexport const SubNavListItemsCollapse: React.FC<SubNavListItemsCollapseProps> = ({ collapse, openSubNav, children, ...props }) => {\n return (\n <Collapse in={collapse == true ? false : openSubNav} {...props}>\n <List>{children}</List>\n </Collapse>\n )\n}\n","import { IconButton, IconButtonProps, useTheme } from '@mui/material'\nimport { Dispatch, SetStateAction, SyntheticEvent } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscChevronDown } from 'react-icons/vsc/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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAA8C;AAcxC;AAHC,IAAM,0BAAkE,CAAC,EAAE,UAAU,YAAY,UAAU,GAAG,MAAM,MAAM;AAC/H,SACE,4CAAC,4BAAS,IAAI,YAAY,OAAO,QAAQ,YAAa,GAAG,OACvD,sDAAC,wBAAM,UAAS,GAClB;AAEJ;;;ACjBA,IAAAA,mBAAsD;AAGtD,iBAA+B;AAiBzB,IAAAC,sBAAA;AAVC,IAAM,yBAAgE,CAAC,EAAE,eAAe,WAAW,MAAM;AAC9G,QAAM,YAAQ,2BAAS;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,uDAAC,6BAAe,UAAS,QAAO;AAAA;AAAA,EAClC;AAEJ;","names":["import_material","import_jsx_runtime"]}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
2
|
-
import { Collapse, List } from "@mui/material";
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
4
|
-
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
5
|
-
return /* @__PURE__ */ jsx(Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ jsx(List, { children }) });
|
6
|
-
};
|
7
|
-
|
8
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
9
|
-
import { IconButton, useTheme } from "@mui/material";
|
10
|
-
import { VscChevronDown } from "react-icons/vsc/index.js";
|
11
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
12
|
-
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
13
|
-
const theme = useTheme();
|
14
|
-
return /* @__PURE__ */ jsx2(
|
15
|
-
IconButton,
|
16
|
-
{
|
17
|
-
onClick: (event) => {
|
18
|
-
event.stopPropagation();
|
19
|
-
setOpenSubNav?.(!openSubNav);
|
20
|
-
},
|
21
|
-
sx: { marginRight: theme.spacing(0.5) },
|
22
|
-
children: /* @__PURE__ */ jsx2(VscChevronDown, { fontSize: "16px" })
|
23
|
-
}
|
24
|
-
);
|
25
|
-
};
|
26
|
-
export {
|
27
|
-
SubNavListItemsCollapse,
|
28
|
-
SubNavToggleIconButton
|
29
|
-
};
|
30
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx","../../../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx"],"sourcesContent":["import { Collapse, CollapseProps, List } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { NavListItemProps } from '../../lib'\n\nexport interface SubNavListItemsCollapseProps extends WithChildren, CollapseProps {\n collapse?: boolean\n openSubNav?: boolean\n subNavListItems?: NavListItemProps[]\n}\n\nexport const SubNavListItemsCollapse: React.FC<SubNavListItemsCollapseProps> = ({ collapse, openSubNav, children, ...props }) => {\n return (\n <Collapse in={collapse == true ? false : openSubNav} {...props}>\n <List>{children}</List>\n </Collapse>\n )\n}\n","import { IconButton, IconButtonProps, useTheme } from '@mui/material'\nimport { Dispatch, SetStateAction, SyntheticEvent } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscChevronDown } from 'react-icons/vsc/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":";AAAA,SAAS,UAAyB,YAAY;AAcxC;AAHC,IAAM,0BAAkE,CAAC,EAAE,UAAU,YAAY,UAAU,GAAG,MAAM,MAAM;AAC/H,SACE,oBAAC,YAAS,IAAI,YAAY,OAAO,QAAQ,YAAa,GAAG,OACvD,8BAAC,QAAM,UAAS,GAClB;AAEJ;;;ACjBA,SAAS,YAA6B,gBAAgB;AAGtD,SAAS,sBAAsB;AAiBzB,gBAAAA,YAAA;AAVC,IAAM,yBAAgE,CAAC,EAAE,eAAe,WAAW,MAAM;AAC9G,QAAM,QAAQ,SAAS;AACvB,SACE,gBAAAA;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,0BAAAA,KAAC,kBAAe,UAAS,QAAO;AAAA;AAAA,EAClC;AAEJ;","names":["jsx"]}
|
@@ -1,166 +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
|
-
|
20
|
-
// src/components/SiteMenu/MenuSection.tsx
|
21
|
-
var MenuSection_exports = {};
|
22
|
-
__export(MenuSection_exports, {
|
23
|
-
MenuSection: () => MenuSection
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(MenuSection_exports);
|
26
|
-
var import_material7 = require("@mui/material");
|
27
|
-
var import_react_flexbox3 = require("@xylabs/react-flexbox");
|
28
|
-
|
29
|
-
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
30
|
-
var import_material6 = require("@mui/material");
|
31
|
-
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
32
|
-
var import_react_link = require("@xylabs/react-link");
|
33
|
-
var import_react = require("react");
|
34
|
-
|
35
|
-
// src/contexts/Collapsible/context.ts
|
36
|
-
var import_react_shared = require("@xyo-network/react-shared");
|
37
|
-
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
38
|
-
|
39
|
-
// src/contexts/Collapsible/use.tsx
|
40
|
-
var import_react_shared2 = require("@xyo-network/react-shared");
|
41
|
-
var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
|
42
|
-
|
43
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx
|
44
|
-
var import_material = require("@mui/material");
|
45
|
-
var import_react_flexbox = require("@xylabs/react-flexbox");
|
46
|
-
var import_vsc = require("react-icons/vsc/index.js");
|
47
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
48
|
-
var ListItemTooltip = ({ title, ...props }) => {
|
49
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Tooltip, { title, placement: "right", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { justifyContent: "center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_vsc.VscInfo, { color: "grey" }) }) }) });
|
50
|
-
};
|
51
|
-
|
52
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx
|
53
|
-
var import_material2 = require("@mui/material");
|
54
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
55
|
-
var MenuIcon = ({ icon, ...props }) => {
|
56
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { display: "flex", ...props, children: icon });
|
57
|
-
};
|
58
|
-
|
59
|
-
// src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx
|
60
|
-
var import_material3 = require("@mui/material");
|
61
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
62
|
-
var MenuListItem = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {
|
63
|
-
const listItemSx = iconOnly ? { borderRadius: "50%", display: "inline-flex", flexGrow: 0, width: "auto" } : { width: "100%" };
|
64
|
-
const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 };
|
65
|
-
const paddingSx = dense ? { px: "8px" } : { px: "12px" };
|
66
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_material3.ListItem, { sx: { ...listItemSx, ...spacingSx, ...paddingSx, ...sx }, ...props, children });
|
67
|
-
};
|
68
|
-
|
69
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx
|
70
|
-
var import_material4 = require("@mui/material");
|
71
|
-
var import_jsx_runtime4 = require("react/jsx-runtime");
|
72
|
-
var SubNavListItemsCollapse = ({ collapse, openSubNav, children, ...props }) => {
|
73
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material4.Collapse, { in: collapse == true ? false : openSubNav, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_material4.List, { children }) });
|
74
|
-
};
|
75
|
-
|
76
|
-
// src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx
|
77
|
-
var import_material5 = require("@mui/material");
|
78
|
-
var import_vsc2 = require("react-icons/vsc/index.js");
|
79
|
-
var import_jsx_runtime5 = require("react/jsx-runtime");
|
80
|
-
var SubNavToggleIconButton = ({ setOpenSubNav, openSubNav }) => {
|
81
|
-
const theme = (0, import_material5.useTheme)();
|
82
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
83
|
-
import_material5.IconButton,
|
84
|
-
{
|
85
|
-
onClick: (event) => {
|
86
|
-
event.stopPropagation();
|
87
|
-
setOpenSubNav?.(!openSubNav);
|
88
|
-
},
|
89
|
-
sx: { marginRight: theme.spacing(0.5) },
|
90
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_vsc2.VscChevronDown, { fontSize: "16px" })
|
91
|
-
}
|
92
|
-
);
|
93
|
-
};
|
94
|
-
|
95
|
-
// src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx
|
96
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
97
|
-
var MenuListItemContainer = ({
|
98
|
-
style,
|
99
|
-
icon,
|
100
|
-
iconMenuTextSpacing,
|
101
|
-
iconOnly,
|
102
|
-
onButtonClick,
|
103
|
-
primary,
|
104
|
-
subNavListItems,
|
105
|
-
sx,
|
106
|
-
tooltip,
|
107
|
-
to,
|
108
|
-
...props
|
109
|
-
}) => {
|
110
|
-
const { dense } = props;
|
111
|
-
const theme = (0, import_material6.useTheme)();
|
112
|
-
const { collapse } = useCollapsible();
|
113
|
-
const [openSubNav, setOpenSubNav] = (0, import_react.useState)(false);
|
114
|
-
const [hovered, setHovered] = (0, import_react.useState)(false);
|
115
|
-
const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? iconMenuTextSpacing : theme.spacing(1);
|
116
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
117
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
118
|
-
MenuListItem,
|
119
|
-
{
|
120
|
-
disableGutters: true,
|
121
|
-
iconOnly,
|
122
|
-
onClick: onButtonClick,
|
123
|
-
dense,
|
124
|
-
sx: { justifyContent: "space-between", ...sx },
|
125
|
-
style: { whiteSpace: "nowrap", ...style },
|
126
|
-
...props,
|
127
|
-
children: [
|
128
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
129
|
-
import_react_link.LinkEx,
|
130
|
-
{
|
131
|
-
onMouseEnter: () => setHovered(true),
|
132
|
-
onMouseLeave: () => setHovered(false),
|
133
|
-
color: "inherit",
|
134
|
-
to,
|
135
|
-
sx: {
|
136
|
-
"& :hover": {
|
137
|
-
cursor: "pointer",
|
138
|
-
textDecoration: "underline"
|
139
|
-
}
|
140
|
-
},
|
141
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_react_flexbox2.FlexRow, { children: [
|
142
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenuIcon, { icon, paddingRight: resolvedIconMenuTextSpacing, color: hovered ? "secondary" : "inherit" }),
|
143
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_material6.ListItemText, { primary })
|
144
|
-
] })
|
145
|
-
}
|
146
|
-
),
|
147
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_react_flexbox2.FlexRow, { style: { marginLeft: theme.spacing(1) }, children: [
|
148
|
-
subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SubNavToggleIconButton, { setOpenSubNav, openSubNav }) : null,
|
149
|
-
tooltip ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ListItemTooltip, { title: tooltip }) : null
|
150
|
-
] })
|
151
|
-
]
|
152
|
-
}
|
153
|
-
),
|
154
|
-
subNavListItems ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SubNavListItemsCollapse, { openSubNav, collapse, children: subNavListItems?.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenuListItemContainer, { dense, sx: { pl: theme.spacing(1) }, ...item }, index)) }) : null
|
155
|
-
] });
|
156
|
-
};
|
157
|
-
|
158
|
-
// src/components/SiteMenu/MenuSection.tsx
|
159
|
-
var import_jsx_runtime7 = require("react/jsx-runtime");
|
160
|
-
var MenuSection = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {
|
161
|
-
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_flexbox3.FlexCol, { alignItems: "stretch", ...props, children: [
|
162
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material7.Collapse, { in: showTitle, timeout: 700, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_material7.ListSubheader, { children: title }) }),
|
163
|
-
listItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MenuListItemContainer, { iconMenuTextSpacing, ...item }, index))
|
164
|
-
] });
|
165
|
-
};
|
166
|
-
//# sourceMappingURL=MenuSection.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/SiteMenu/MenuSection.tsx","../../../../src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx","../../../../src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx","../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx","../../../../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx","../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx","../../../../src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx"],"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","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","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleContext } from './context'\n\nexport const useCollapsible = () => useContextEx(CollapsibleContext, 'Collapsible', false)\n","import { Tooltip, TooltipProps } from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscInfo } from 'react-icons/vsc/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","import { Typography, TypographyProps } from '@mui/material'\nimport { ReactNode } from 'react'\n\nexport interface MenuIconProps extends TypographyProps {\n icon?: ReactNode\n}\n\nexport const MenuIcon: React.FC<MenuIconProps> = ({ icon, ...props }) => {\n return (\n <Typography display=\"flex\" {...props}>\n {icon}\n </Typography>\n )\n}\n","import { ListItem, ListItemProps } from '@mui/material'\n\nimport { MenuListItemBase } from '../../lib'\n\nexport interface ListItemExProps extends MenuListItemBase, ListItemProps {}\n\nexport const MenuListItem: React.FC<ListItemExProps> = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {\n const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' }\n // wait till collapseEnds to remove the spacing between items\n const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 }\n // adjusts to the paddingY value which does NOT scale along the theme.spacing\n const paddingSx = dense ? { px: '8px' } : { px: '12px' }\n return (\n <ListItem sx={{ ...listItemSx, ...spacingSx, ...paddingSx, ...sx }} {...props}>\n {children}\n </ListItem>\n )\n}\n","import { Collapse, CollapseProps, List } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { NavListItemProps } from '../../lib'\n\nexport interface SubNavListItemsCollapseProps extends WithChildren, CollapseProps {\n collapse?: boolean\n openSubNav?: boolean\n subNavListItems?: NavListItemProps[]\n}\n\nexport const SubNavListItemsCollapse: React.FC<SubNavListItemsCollapseProps> = ({ collapse, openSubNav, children, ...props }) => {\n return (\n <Collapse in={collapse == true ? false : openSubNav} {...props}>\n <List>{children}</List>\n </Collapse>\n )\n}\n","import { IconButton, IconButtonProps, useTheme } from '@mui/material'\nimport { Dispatch, SetStateAction, SyntheticEvent } from 'react'\n// eslint-disable-next-line import/no-internal-modules\nimport { VscChevronDown } from 'react-icons/vsc/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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,mBAAwC;AACxC,IAAAC,wBAAsC;;;ACDtC,IAAAC,mBAAsD;AACtD,IAAAC,wBAAwB;AACxB,wBAAuB;AACvB,mBAAyB;;;ACHzB,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ACJpE,IAAAC,uBAA6B;AAItB,IAAM,iBAAiB,UAAM,mCAAa,oBAAoB,eAAe,KAAK;;;ACJzF,sBAAsC;AACtC,2BAAwB;AAExB,iBAAwB;AAYd;AANH,IAAM,kBAAkD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AACtF,SACE,4CAAC,2BAAQ,OAAc,WAAU,SAAS,GAAG,OAE3C,sDAAC,SACC,sDAAC,gCAAQ,gBAAe,UACtB,sDAAC,sBAAQ,OAAM,QAAO,GACxB,GACF,GACF;AAEJ;;;ACpBA,IAAAC,mBAA4C;AASxC,IAAAC,sBAAA;AAFG,IAAM,WAAoC,CAAC,EAAE,MAAM,GAAG,MAAM,MAAM;AACvE,SACE,6CAAC,+BAAW,SAAQ,QAAQ,GAAG,OAC5B,gBACH;AAEJ;;;ACbA,IAAAC,mBAAwC;AAapC,IAAAC,sBAAA;AAPG,IAAM,eAA0C,CAAC,EAAE,UAAU,aAAa,IAAI,UAAU,OAAO,GAAG,MAAM,MAAM;AACnH,QAAM,aAAa,WAAW,EAAE,cAAc,OAAO,SAAS,eAAe,UAAU,GAAG,OAAO,OAAO,IAAI,EAAE,OAAO,OAAO;AAE5H,QAAM,YAAY,cAAc,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI;AAEpE,QAAM,YAAY,QAAQ,EAAE,IAAI,MAAM,IAAI,EAAE,IAAI,OAAO;AACvD,SACE,6CAAC,6BAAS,IAAI,EAAE,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,GAAG,GAAI,GAAG,OACrE,UACH;AAEJ;;;ACjBA,IAAAC,mBAA8C;AAcxC,IAAAC,sBAAA;AAHC,IAAM,0BAAkE,CAAC,EAAE,UAAU,YAAY,UAAU,GAAG,MAAM,MAAM;AAC/H,SACE,6CAAC,6BAAS,IAAI,YAAY,OAAO,QAAQ,YAAa,GAAG,OACvD,uDAAC,yBAAM,UAAS,GAClB;AAEJ;;;ACjBA,IAAAC,mBAAsD;AAGtD,IAAAC,cAA+B;AAiBzB,IAAAC,sBAAA;AAVC,IAAM,yBAAgE,CAAC,EAAE,eAAe,WAAW,MAAM;AAC9G,QAAM,YAAQ,2BAAS;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,uDAAC,8BAAe,UAAS,QAAO;AAAA;AAAA,EAClC;AAEJ;;;APeI,IAAAC,sBAAA;AArBG,IAAM,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,YAAQ,2BAAS;AACvB,QAAM,EAAE,SAAS,IAAI,eAAe;AACpC,QAAM,CAAC,YAAY,aAAa,QAAI,uBAAS,KAAK;AAClD,QAAM,CAAC,SAAS,UAAU,QAAI,uBAAS,KAAK;AAC5C,QAAM,8BAA8B,sBAAsB,sBAAsB,MAAM,QAAQ,CAAC;AAE/F,SACE,8EACE;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,wDAAC,iCACC;AAAA,6DAAC,YAAS,MAAY,cAAc,6BAA6B,OAAO,UAAU,cAAc,WAAW;AAAA,gBAC3G,6CAAC,iCAAa,SAAkB;AAAA,iBAClC;AAAA;AAAA,UACF;AAAA,UACA,8CAAC,iCAAQ,OAAO,EAAE,YAAY,MAAM,QAAQ,CAAC,EAAE,GAC5C;AAAA,8BAAkB,6CAAC,0BAAuB,eAA8B,YAAwB,IAAK;AAAA,YACrG,UAAU,6CAAC,mBAAgB,OAAO,SAAS,IAAK;AAAA,aACnD;AAAA;AAAA;AAAA,IACF;AAAA,IACC,kBACC,6CAAC,2BAAwB,YAAwB,UAC9C,2BAAiB,IAAI,CAAC,MAAM,UAAU,6CAAC,yBAAsB,OAAc,IAAI,EAAE,IAAI,MAAM,QAAQ,CAAC,EAAE,GAAgB,GAAG,QAAX,KAAiB,CAAE,GACpI,IACE;AAAA,KACN;AAEJ;;;AD/DI,IAAAC,sBAAA;AAFG,IAAM,cAA0C,CAAC,EAAE,qBAAqB,WAAW,YAAY,MAAM,OAAO,GAAG,MAAM,MAAM;AAChI,SACE,8CAAC,iCAAQ,YAAW,WAAW,GAAG,OAChC;AAAA,iDAAC,6BAAS,IAAI,WAAW,SAAS,KAChC,uDAAC,kCAAe,iBAAM,GACxB;AAAA,IAEC,UAAU,IAAI,CAAC,MAAM,UACpB,6CAAC,yBAAkC,qBAA2C,GAAG,QAArD,KAA2D,CACxF;AAAA,KACH;AAEJ;","names":["import_material","import_react_flexbox","import_material","import_react_flexbox","import_react_shared","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_jsx_runtime","import_material","import_vsc","import_jsx_runtime","import_jsx_runtime","import_jsx_runtime"]}
|