@xyo-network/react-appbar 2.63.1 → 2.64.0-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AppBar/Application.d.mts.map +1 -0
- package/dist/components/AppBar/Application.d.ts +10 -0
- package/dist/components/AppBar/Application.d.ts.map +1 -0
- package/dist/components/AppBar/Application.stories.d.mts +7 -0
- package/dist/components/AppBar/Application.stories.d.mts.map +1 -0
- package/dist/components/AppBar/Application.stories.d.ts +7 -0
- package/dist/components/AppBar/Application.stories.d.ts.map +1 -0
- package/dist/components/AppBar/index.d.mts.map +1 -0
- package/dist/components/AppBar/index.d.ts +2 -0
- package/dist/components/AppBar/index.d.ts.map +1 -0
- package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.mts +10 -0
- package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.mts.map +1 -0
- package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.ts +10 -0
- package/dist/components/CollapsibleDrawer/CollapseDrawer.stories.d.ts.map +1 -0
- package/dist/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -0
- package/dist/components/CollapsibleDrawer/CollapseToggle.d.ts +4 -0
- package/dist/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -0
- package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.mts.map +1 -0
- package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.ts +5 -0
- package/dist/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +1 -0
- package/dist/components/CollapsibleDrawer/index.d.mts.map +1 -0
- package/dist/{esm/components/CollapsibleDrawer/index.js → components/CollapsibleDrawer/index.d.ts} +1 -1
- package/dist/components/CollapsibleDrawer/index.d.ts.map +1 -0
- package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -0
- package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.ts +4 -0
- package/dist/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControls.d.mts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControls.d.ts +5 -0
- package/dist/components/MobileSystemControls/SystemControls.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControls.stories.d.mts +7 -0
- package/dist/components/MobileSystemControls/SystemControls.stories.d.mts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControls.stories.d.ts +7 -0
- package/dist/components/MobileSystemControls/SystemControls.stories.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControlsRoot.d.mts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControlsRoot.d.ts +4 -0
- package/dist/components/MobileSystemControls/SystemControlsRoot.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControlsType.d.mts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControlsType.d.ts +6 -0
- package/dist/components/MobileSystemControls/SystemControlsType.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.mts.map +1 -0
- package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.ts +11 -0
- package/dist/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/controls/SystemControl.d.mts.map +1 -0
- package/dist/components/MobileSystemControls/controls/SystemControl.d.ts +11 -0
- package/dist/components/MobileSystemControls/controls/SystemControl.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/controls/SystemControlText.d.mts.map +1 -0
- package/dist/components/MobileSystemControls/controls/SystemControlText.d.ts +8 -0
- package/dist/components/MobileSystemControls/controls/SystemControlText.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/controls/index.d.mts.map +1 -0
- package/dist/{esm/components/MobileSystemControls/controls/index.js → components/MobileSystemControls/controls/index.d.ts} +1 -1
- package/dist/components/MobileSystemControls/controls/index.d.ts.map +1 -0
- package/dist/components/MobileSystemControls/index.d.mts.map +1 -0
- package/dist/{esm/components/MobileSystemControls/index.js → components/MobileSystemControls/index.d.ts} +1 -1
- package/dist/components/MobileSystemControls/index.d.ts.map +1 -0
- package/dist/components/SearchBar/SearchBar.d.mts.map +1 -0
- package/dist/components/SearchBar/SearchBar.d.ts +7 -0
- package/dist/components/SearchBar/SearchBar.d.ts.map +1 -0
- package/dist/components/SearchBar/index.d.mts.map +1 -0
- package/dist/components/SearchBar/index.d.ts +2 -0
- package/dist/components/SearchBar/index.d.ts.map +1 -0
- package/dist/components/SiteMenu/Menu.d.mts.map +1 -0
- package/dist/components/SiteMenu/Menu.d.ts +9 -0
- package/dist/components/SiteMenu/Menu.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.mts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts +11 -0
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.mts +7 -0
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.mts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.ts +7 -0
- package/dist/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/index.d.mts.map +1 -0
- package/dist/{esm/components/SiteMenu/MenuListItem/index.js → components/SiteMenu/MenuListItem/index.d.ts} +1 -1
- package/dist/components/SiteMenu/MenuListItem/index.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts +7 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.mts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts +7 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.mts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts +7 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/list-item-components/index.d.mts.map +1 -0
- package/dist/{esm/components/SiteMenu/MenuListItem/list-item-components/index.js → components/SiteMenu/MenuListItem/list-item-components/index.d.ts} +1 -1
- package/dist/components/SiteMenu/MenuListItem/list-item-components/index.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.mts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts +11 -0
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts +8 -0
- package/dist/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuListItem/sub-nav/index.d.mts.map +1 -0
- package/dist/{esm/components/SiteMenu/MenuListItem/sub-nav/index.js → components/SiteMenu/MenuListItem/sub-nav/index.d.ts} +1 -1
- package/dist/components/SiteMenu/MenuListItem/sub-nav/index.d.ts.map +1 -0
- package/dist/components/SiteMenu/MenuSection.d.mts.map +1 -0
- package/dist/components/SiteMenu/MenuSection.d.ts +11 -0
- package/dist/components/SiteMenu/MenuSection.d.ts.map +1 -0
- package/dist/components/SiteMenu/hooks/index.d.mts.map +1 -0
- package/dist/{esm/components/SiteMenu/hooks/index.js → components/SiteMenu/hooks/index.d.ts} +1 -1
- package/dist/components/SiteMenu/hooks/index.d.ts.map +1 -0
- package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.mts.map +1 -0
- package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.ts +7 -0
- package/dist/components/SiteMenu/hooks/useMenuItemsShared.d.ts.map +1 -0
- package/dist/components/SiteMenu/index.d.mts.map +1 -0
- package/dist/{esm/components/SiteMenu/index.js → components/SiteMenu/index.d.ts} +1 -1
- package/dist/components/SiteMenu/index.d.ts.map +1 -0
- package/dist/components/SiteMenu/lib/MenuListItemBase.d.mts.map +1 -0
- package/dist/components/SiteMenu/lib/MenuListItemBase.d.ts +5 -0
- package/dist/components/SiteMenu/lib/MenuListItemBase.d.ts.map +1 -0
- package/dist/components/SiteMenu/lib/NavListItemProps.d.mts.map +1 -0
- package/dist/components/SiteMenu/lib/NavListItemProps.d.ts +12 -0
- package/dist/components/SiteMenu/lib/NavListItemProps.d.ts.map +1 -0
- package/dist/components/SiteMenu/lib/index.d.mts.map +1 -0
- package/dist/{esm/components/SiteMenu/lib/index.js → components/SiteMenu/lib/index.d.ts} +1 -1
- package/dist/components/SiteMenu/lib/index.d.ts.map +1 -0
- package/dist/components/Toolbar/Context/ContextToolbar.d.mts.map +1 -0
- package/dist/components/Toolbar/Context/ContextToolbar.d.ts +9 -0
- package/dist/components/Toolbar/Context/ContextToolbar.d.ts.map +1 -0
- package/dist/components/Toolbar/Context/ContextToolbar.stories.d.mts +6 -0
- package/dist/components/Toolbar/Context/ContextToolbar.stories.d.mts.map +1 -0
- package/dist/components/Toolbar/Context/ContextToolbar.stories.d.ts +6 -0
- package/dist/components/Toolbar/Context/ContextToolbar.stories.d.ts.map +1 -0
- package/dist/components/Toolbar/Context/Logo.d.mts.map +1 -0
- package/dist/components/Toolbar/Context/Logo.d.ts +3 -0
- package/dist/components/Toolbar/Context/Logo.d.ts.map +1 -0
- package/dist/components/Toolbar/Context/LogoLinkEx.d.mts.map +1 -0
- package/dist/components/Toolbar/Context/LogoLinkEx.d.ts +7 -0
- package/dist/components/Toolbar/Context/LogoLinkEx.d.ts.map +1 -0
- package/dist/components/Toolbar/Context/index.d.mts.map +1 -0
- package/dist/components/Toolbar/Context/index.d.ts +2 -0
- package/dist/components/Toolbar/Context/index.d.ts.map +1 -0
- package/dist/components/Toolbar/System/SystemToolbar.d.mts.map +1 -0
- package/dist/components/Toolbar/System/SystemToolbar.d.ts +15 -0
- package/dist/components/Toolbar/System/SystemToolbar.d.ts.map +1 -0
- package/dist/components/Toolbar/System/SystemToolbar.stories.d.mts +8 -0
- package/dist/components/Toolbar/System/SystemToolbar.stories.d.mts.map +1 -0
- package/dist/components/Toolbar/System/SystemToolbar.stories.d.ts +8 -0
- package/dist/components/Toolbar/System/SystemToolbar.stories.d.ts.map +1 -0
- package/dist/components/Toolbar/System/index.d.mts.map +1 -0
- package/dist/components/Toolbar/System/index.d.ts +2 -0
- package/dist/components/Toolbar/System/index.d.ts.map +1 -0
- package/dist/components/Toolbar/index.d.mts.map +1 -0
- package/dist/{esm/components/Toolbar/index.js → components/Toolbar/index.d.ts} +1 -1
- package/dist/components/Toolbar/index.d.ts.map +1 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/{esm/components/index.js → components/index.d.ts} +1 -1
- package/dist/components/index.d.ts.map +1 -0
- package/dist/contexts/Collapsible/State.d.mts.map +1 -0
- package/dist/contexts/Collapsible/State.d.ts +9 -0
- package/dist/contexts/Collapsible/State.d.ts.map +1 -0
- package/dist/contexts/Collapsible/context.d.mts.map +1 -0
- package/dist/contexts/Collapsible/context.d.ts +4 -0
- package/dist/contexts/Collapsible/context.d.ts.map +1 -0
- package/dist/contexts/Collapsible/index.d.mts.map +1 -0
- package/dist/{esm/contexts/Collapsible/index.js → contexts/Collapsible/index.d.ts} +1 -1
- package/dist/contexts/Collapsible/index.d.ts.map +1 -0
- package/dist/contexts/Collapsible/provider.d.mts.map +1 -0
- package/dist/contexts/Collapsible/provider.d.ts +8 -0
- package/dist/contexts/Collapsible/provider.d.ts.map +1 -0
- package/dist/contexts/Collapsible/use.d.mts.map +1 -0
- package/dist/contexts/Collapsible/use.d.ts +2 -0
- package/dist/contexts/Collapsible/use.d.ts.map +1 -0
- package/dist/contexts/index.d.mts.map +1 -0
- package/dist/contexts/index.d.ts +2 -0
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/{esm/index.js → index.d.ts} +1 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +587 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +546 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +34 -25
- package/src/components/SearchBar/SearchBar.tsx +1 -1
- package/src/components/SiteMenu/Menu.tsx +1 -2
- package/dist/cjs/components/AppBar/Application.js +0 -13
- package/dist/cjs/components/AppBar/Application.js.map +0 -1
- package/dist/cjs/components/AppBar/index.js +0 -5
- package/dist/cjs/components/AppBar/index.js.map +0 -1
- package/dist/cjs/components/CollapsibleDrawer/CollapseToggle.js +0 -21
- package/dist/cjs/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
- package/dist/cjs/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -23
- package/dist/cjs/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
- package/dist/cjs/components/CollapsibleDrawer/index.js +0 -6
- package/dist/cjs/components/CollapsibleDrawer/index.js.map +0 -1
- package/dist/cjs/components/CollapsibleDrawer/storyExampleMenuData.js +0 -69
- package/dist/cjs/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
- package/dist/cjs/components/MobileSystemControls/SystemControls.js +0 -11
- package/dist/cjs/components/MobileSystemControls/SystemControls.js.map +0 -1
- package/dist/cjs/components/MobileSystemControls/SystemControlsRoot.js +0 -62
- package/dist/cjs/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
- package/dist/cjs/components/MobileSystemControls/SystemControlsType.js +0 -10
- package/dist/cjs/components/MobileSystemControls/SystemControlsType.js.map +0 -1
- package/dist/cjs/components/MobileSystemControls/SystemControlsUnstyled.js +0 -22
- package/dist/cjs/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
- package/dist/cjs/components/MobileSystemControls/controls/SystemControl.js +0 -23
- package/dist/cjs/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
- package/dist/cjs/components/MobileSystemControls/controls/SystemControlText.js +0 -13
- package/dist/cjs/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
- package/dist/cjs/components/MobileSystemControls/controls/index.js +0 -6
- package/dist/cjs/components/MobileSystemControls/controls/index.js.map +0 -1
- package/dist/cjs/components/MobileSystemControls/index.js +0 -7
- package/dist/cjs/components/MobileSystemControls/index.js.map +0 -1
- package/dist/cjs/components/SearchBar/SearchBar.js +0 -20
- package/dist/cjs/components/SearchBar/SearchBar.js.map +0 -1
- package/dist/cjs/components/SearchBar/index.js +0 -5
- package/dist/cjs/components/SearchBar/index.js.map +0 -1
- package/dist/cjs/components/SiteMenu/Menu.js +0 -23
- package/dist/cjs/components/SiteMenu/Menu.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -29
- package/dist/cjs/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/index.js +0 -5
- package/dist/cjs/components/SiteMenu/MenuListItem/index.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -14
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -12
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -17
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/index.js +0 -7
- package/dist/cjs/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -12
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -15
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/index.js +0 -6
- package/dist/cjs/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
- package/dist/cjs/components/SiteMenu/MenuSection.js +0 -14
- package/dist/cjs/components/SiteMenu/MenuSection.js.map +0 -1
- package/dist/cjs/components/SiteMenu/hooks/index.js +0 -5
- package/dist/cjs/components/SiteMenu/hooks/index.js.map +0 -1
- package/dist/cjs/components/SiteMenu/hooks/useMenuItemsShared.js +0 -23
- package/dist/cjs/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
- package/dist/cjs/components/SiteMenu/index.js +0 -9
- package/dist/cjs/components/SiteMenu/index.js.map +0 -1
- package/dist/cjs/components/SiteMenu/lib/MenuListItemBase.js +0 -3
- package/dist/cjs/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
- package/dist/cjs/components/SiteMenu/lib/NavListItemProps.js +0 -3
- package/dist/cjs/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
- package/dist/cjs/components/SiteMenu/lib/index.js +0 -6
- package/dist/cjs/components/SiteMenu/lib/index.js.map +0 -1
- package/dist/cjs/components/Toolbar/Context/ContextToolbar.js +0 -13
- package/dist/cjs/components/Toolbar/Context/ContextToolbar.js.map +0 -1
- package/dist/cjs/components/Toolbar/Context/Logo.js +0 -14
- package/dist/cjs/components/Toolbar/Context/Logo.js.map +0 -1
- package/dist/cjs/components/Toolbar/Context/LogoLinkEx.js +0 -16
- package/dist/cjs/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
- package/dist/cjs/components/Toolbar/Context/index.js +0 -5
- package/dist/cjs/components/Toolbar/Context/index.js.map +0 -1
- package/dist/cjs/components/Toolbar/System/SystemToolbar.js +0 -16
- package/dist/cjs/components/Toolbar/System/SystemToolbar.js.map +0 -1
- package/dist/cjs/components/Toolbar/System/index.js +0 -5
- package/dist/cjs/components/Toolbar/System/index.js.map +0 -1
- package/dist/cjs/components/Toolbar/index.js +0 -6
- package/dist/cjs/components/Toolbar/index.js.map +0 -1
- package/dist/cjs/components/index.js +0 -10
- package/dist/cjs/components/index.js.map +0 -1
- package/dist/cjs/contexts/Collapsible/State.js +0 -3
- package/dist/cjs/contexts/Collapsible/State.js.map +0 -1
- package/dist/cjs/contexts/Collapsible/context.js +0 -6
- package/dist/cjs/contexts/Collapsible/context.js.map +0 -1
- package/dist/cjs/contexts/Collapsible/index.js +0 -7
- package/dist/cjs/contexts/Collapsible/index.js.map +0 -1
- package/dist/cjs/contexts/Collapsible/provider.js +0 -19
- package/dist/cjs/contexts/Collapsible/provider.js.map +0 -1
- package/dist/cjs/contexts/Collapsible/use.js +0 -8
- package/dist/cjs/contexts/Collapsible/use.js.map +0 -1
- package/dist/cjs/contexts/index.js +0 -5
- package/dist/cjs/contexts/index.js.map +0 -1
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/index.js.map +0 -1
- package/dist/docs.json +0 -96215
- package/dist/esm/components/AppBar/Application.js +0 -7
- package/dist/esm/components/AppBar/Application.js.map +0 -1
- package/dist/esm/components/AppBar/index.js +0 -2
- package/dist/esm/components/AppBar/index.js.map +0 -1
- package/dist/esm/components/CollapsibleDrawer/CollapseToggle.js +0 -17
- package/dist/esm/components/CollapsibleDrawer/CollapseToggle.js.map +0 -1
- package/dist/esm/components/CollapsibleDrawer/CollapsibleDrawer.js +0 -21
- package/dist/esm/components/CollapsibleDrawer/CollapsibleDrawer.js.map +0 -1
- package/dist/esm/components/CollapsibleDrawer/index.js.map +0 -1
- package/dist/esm/components/CollapsibleDrawer/storyExampleMenuData.js +0 -66
- package/dist/esm/components/CollapsibleDrawer/storyExampleMenuData.js.map +0 -1
- package/dist/esm/components/MobileSystemControls/SystemControls.js +0 -8
- package/dist/esm/components/MobileSystemControls/SystemControls.js.map +0 -1
- package/dist/esm/components/MobileSystemControls/SystemControlsRoot.js +0 -59
- package/dist/esm/components/MobileSystemControls/SystemControlsRoot.js.map +0 -1
- package/dist/esm/components/MobileSystemControls/SystemControlsType.js +0 -7
- package/dist/esm/components/MobileSystemControls/SystemControlsType.js.map +0 -1
- package/dist/esm/components/MobileSystemControls/SystemControlsUnstyled.js +0 -17
- package/dist/esm/components/MobileSystemControls/SystemControlsUnstyled.js.map +0 -1
- package/dist/esm/components/MobileSystemControls/controls/SystemControl.js +0 -18
- package/dist/esm/components/MobileSystemControls/controls/SystemControl.js.map +0 -1
- package/dist/esm/components/MobileSystemControls/controls/SystemControlText.js +0 -8
- package/dist/esm/components/MobileSystemControls/controls/SystemControlText.js.map +0 -1
- package/dist/esm/components/MobileSystemControls/controls/index.js.map +0 -1
- package/dist/esm/components/MobileSystemControls/index.js.map +0 -1
- package/dist/esm/components/SearchBar/SearchBar.js +0 -14
- package/dist/esm/components/SearchBar/SearchBar.js.map +0 -1
- package/dist/esm/components/SearchBar/index.js +0 -2
- package/dist/esm/components/SearchBar/index.js.map +0 -1
- package/dist/esm/components/SiteMenu/Menu.js +0 -17
- package/dist/esm/components/SiteMenu/Menu.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/MenuListItemContainer.js +0 -23
- package/dist/esm/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/index.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +0 -8
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +0 -6
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +0 -11
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/list-item-components/index.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +0 -6
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +0 -11
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuListItem/sub-nav/index.js.map +0 -1
- package/dist/esm/components/SiteMenu/MenuSection.js +0 -8
- package/dist/esm/components/SiteMenu/MenuSection.js.map +0 -1
- package/dist/esm/components/SiteMenu/hooks/index.js.map +0 -1
- package/dist/esm/components/SiteMenu/hooks/useMenuItemsShared.js +0 -19
- package/dist/esm/components/SiteMenu/hooks/useMenuItemsShared.js.map +0 -1
- package/dist/esm/components/SiteMenu/index.js.map +0 -1
- package/dist/esm/components/SiteMenu/lib/MenuListItemBase.js +0 -2
- package/dist/esm/components/SiteMenu/lib/MenuListItemBase.js.map +0 -1
- package/dist/esm/components/SiteMenu/lib/NavListItemProps.js +0 -2
- package/dist/esm/components/SiteMenu/lib/NavListItemProps.js.map +0 -1
- package/dist/esm/components/SiteMenu/lib/index.js.map +0 -1
- package/dist/esm/components/Toolbar/Context/ContextToolbar.js +0 -7
- package/dist/esm/components/Toolbar/Context/ContextToolbar.js.map +0 -1
- package/dist/esm/components/Toolbar/Context/Logo.js +0 -10
- package/dist/esm/components/Toolbar/Context/Logo.js.map +0 -1
- package/dist/esm/components/Toolbar/Context/LogoLinkEx.js +0 -10
- package/dist/esm/components/Toolbar/Context/LogoLinkEx.js.map +0 -1
- package/dist/esm/components/Toolbar/Context/index.js +0 -2
- package/dist/esm/components/Toolbar/Context/index.js.map +0 -1
- package/dist/esm/components/Toolbar/System/SystemToolbar.js +0 -10
- package/dist/esm/components/Toolbar/System/SystemToolbar.js.map +0 -1
- package/dist/esm/components/Toolbar/System/index.js +0 -2
- package/dist/esm/components/Toolbar/System/index.js.map +0 -1
- package/dist/esm/components/Toolbar/index.js.map +0 -1
- package/dist/esm/components/index.js.map +0 -1
- package/dist/esm/contexts/Collapsible/State.js +0 -2
- package/dist/esm/contexts/Collapsible/State.js.map +0 -1
- package/dist/esm/contexts/Collapsible/context.js +0 -3
- package/dist/esm/contexts/Collapsible/context.js.map +0 -1
- package/dist/esm/contexts/Collapsible/index.js.map +0 -1
- package/dist/esm/contexts/Collapsible/provider.js +0 -15
- package/dist/esm/contexts/Collapsible/provider.js.map +0 -1
- package/dist/esm/contexts/Collapsible/use.js +0 -4
- package/dist/esm/contexts/Collapsible/use.js.map +0 -1
- package/dist/esm/contexts/index.js +0 -2
- package/dist/esm/contexts/index.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/types/components/AppBar/Application.d.ts.map +0 -1
- package/dist/types/components/AppBar/index.d.ts.map +0 -1
- package/dist/types/components/CollapsibleDrawer/CollapseToggle.d.ts.map +0 -1
- package/dist/types/components/CollapsibleDrawer/CollapsibleDrawer.d.ts.map +0 -1
- package/dist/types/components/CollapsibleDrawer/index.d.ts.map +0 -1
- package/dist/types/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +0 -1
- package/dist/types/components/MobileSystemControls/SystemControls.d.ts.map +0 -1
- package/dist/types/components/MobileSystemControls/SystemControlsRoot.d.ts.map +0 -1
- package/dist/types/components/MobileSystemControls/SystemControlsType.d.ts.map +0 -1
- package/dist/types/components/MobileSystemControls/SystemControlsUnstyled.d.ts.map +0 -1
- package/dist/types/components/MobileSystemControls/controls/SystemControl.d.ts.map +0 -1
- package/dist/types/components/MobileSystemControls/controls/SystemControlText.d.ts.map +0 -1
- package/dist/types/components/MobileSystemControls/controls/index.d.ts.map +0 -1
- package/dist/types/components/MobileSystemControls/index.d.ts.map +0 -1
- package/dist/types/components/SearchBar/SearchBar.d.ts.map +0 -1
- package/dist/types/components/SearchBar/index.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/Menu.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/index.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/list-item-components/index.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuListItem/sub-nav/index.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/MenuSection.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/hooks/index.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/hooks/useMenuItemsShared.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/index.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/lib/MenuListItemBase.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/lib/NavListItemProps.d.ts.map +0 -1
- package/dist/types/components/SiteMenu/lib/index.d.ts.map +0 -1
- package/dist/types/components/Toolbar/Context/ContextToolbar.d.ts.map +0 -1
- package/dist/types/components/Toolbar/Context/Logo.d.ts.map +0 -1
- package/dist/types/components/Toolbar/Context/LogoLinkEx.d.ts.map +0 -1
- package/dist/types/components/Toolbar/Context/index.d.ts.map +0 -1
- package/dist/types/components/Toolbar/System/SystemToolbar.d.ts.map +0 -1
- package/dist/types/components/Toolbar/System/index.d.ts.map +0 -1
- package/dist/types/components/Toolbar/index.d.ts.map +0 -1
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/contexts/Collapsible/State.d.ts.map +0 -1
- package/dist/types/contexts/Collapsible/context.d.ts.map +0 -1
- package/dist/types/contexts/Collapsible/index.d.ts.map +0 -1
- package/dist/types/contexts/Collapsible/provider.d.ts.map +0 -1
- package/dist/types/contexts/Collapsible/use.d.ts.map +0 -1
- package/dist/types/contexts/index.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- /package/dist/{types/components/AppBar/Application.d.ts → components/AppBar/Application.d.mts} +0 -0
- /package/dist/{types/components/AppBar/index.d.ts → components/AppBar/index.d.mts} +0 -0
- /package/dist/{types/components/CollapsibleDrawer/CollapseToggle.d.ts → components/CollapsibleDrawer/CollapseToggle.d.mts} +0 -0
- /package/dist/{types/components/CollapsibleDrawer/CollapsibleDrawer.d.ts → components/CollapsibleDrawer/CollapsibleDrawer.d.mts} +0 -0
- /package/dist/{types/components/CollapsibleDrawer/index.d.ts → components/CollapsibleDrawer/index.d.mts} +0 -0
- /package/dist/{types/components/CollapsibleDrawer/storyExampleMenuData.d.ts → components/CollapsibleDrawer/storyExampleMenuData.d.mts} +0 -0
- /package/dist/{types/components/MobileSystemControls/SystemControls.d.ts → components/MobileSystemControls/SystemControls.d.mts} +0 -0
- /package/dist/{types/components/MobileSystemControls/SystemControlsRoot.d.ts → components/MobileSystemControls/SystemControlsRoot.d.mts} +0 -0
- /package/dist/{types/components/MobileSystemControls/SystemControlsType.d.ts → components/MobileSystemControls/SystemControlsType.d.mts} +0 -0
- /package/dist/{types/components/MobileSystemControls/SystemControlsUnstyled.d.ts → components/MobileSystemControls/SystemControlsUnstyled.d.mts} +0 -0
- /package/dist/{types/components/MobileSystemControls/controls/SystemControl.d.ts → components/MobileSystemControls/controls/SystemControl.d.mts} +0 -0
- /package/dist/{types/components/MobileSystemControls/controls/SystemControlText.d.ts → components/MobileSystemControls/controls/SystemControlText.d.mts} +0 -0
- /package/dist/{types/components/MobileSystemControls/controls/index.d.ts → components/MobileSystemControls/controls/index.d.mts} +0 -0
- /package/dist/{types/components/MobileSystemControls/index.d.ts → components/MobileSystemControls/index.d.mts} +0 -0
- /package/dist/{types/components/SearchBar/SearchBar.d.ts → components/SearchBar/SearchBar.d.mts} +0 -0
- /package/dist/{types/components/SearchBar/index.d.ts → components/SearchBar/index.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/Menu.d.ts → components/SiteMenu/Menu.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/MenuListItemContainer.d.ts → components/SiteMenu/MenuListItem/MenuListItemContainer.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/index.d.ts → components/SiteMenu/MenuListItem/index.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts → components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.ts → components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.ts → components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/list-item-components/index.d.ts → components/SiteMenu/MenuListItem/list-item-components/index.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.ts → components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts → components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuListItem/sub-nav/index.d.ts → components/SiteMenu/MenuListItem/sub-nav/index.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/MenuSection.d.ts → components/SiteMenu/MenuSection.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/hooks/index.d.ts → components/SiteMenu/hooks/index.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/hooks/useMenuItemsShared.d.ts → components/SiteMenu/hooks/useMenuItemsShared.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/index.d.ts → components/SiteMenu/index.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/lib/MenuListItemBase.d.ts → components/SiteMenu/lib/MenuListItemBase.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/lib/NavListItemProps.d.ts → components/SiteMenu/lib/NavListItemProps.d.mts} +0 -0
- /package/dist/{types/components/SiteMenu/lib/index.d.ts → components/SiteMenu/lib/index.d.mts} +0 -0
- /package/dist/{types/components/Toolbar/Context/ContextToolbar.d.ts → components/Toolbar/Context/ContextToolbar.d.mts} +0 -0
- /package/dist/{types/components/Toolbar/Context/Logo.d.ts → components/Toolbar/Context/Logo.d.mts} +0 -0
- /package/dist/{types/components/Toolbar/Context/LogoLinkEx.d.ts → components/Toolbar/Context/LogoLinkEx.d.mts} +0 -0
- /package/dist/{types/components/Toolbar/Context/index.d.ts → components/Toolbar/Context/index.d.mts} +0 -0
- /package/dist/{types/components/Toolbar/System/SystemToolbar.d.ts → components/Toolbar/System/SystemToolbar.d.mts} +0 -0
- /package/dist/{types/components/Toolbar/System/index.d.ts → components/Toolbar/System/index.d.mts} +0 -0
- /package/dist/{types/components/Toolbar/index.d.ts → components/Toolbar/index.d.mts} +0 -0
- /package/dist/{types/components/index.d.ts → components/index.d.mts} +0 -0
- /package/dist/{types/contexts/Collapsible/State.d.ts → contexts/Collapsible/State.d.mts} +0 -0
- /package/dist/{types/contexts/Collapsible/context.d.ts → contexts/Collapsible/context.d.mts} +0 -0
- /package/dist/{types/contexts/Collapsible/index.d.ts → contexts/Collapsible/index.d.mts} +0 -0
- /package/dist/{types/contexts/Collapsible/provider.d.ts → contexts/Collapsible/provider.d.mts} +0 -0
- /package/dist/{types/contexts/Collapsible/use.d.ts → contexts/Collapsible/use.d.mts} +0 -0
- /package/dist/{types/contexts/index.d.ts → contexts/index.d.mts} +0 -0
- /package/dist/{types/index.d.ts → index.d.mts} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/components/AppBar/Application.tsx","../src/components/Toolbar/Context/ContextToolbar.tsx","../src/components/Toolbar/Context/LogoLinkEx.tsx","../src/components/Toolbar/Context/Logo.tsx","../src/components/Toolbar/System/SystemToolbar.tsx","../src/components/SiteMenu/hooks/useMenuItemsShared.tsx","../src/contexts/Collapsible/provider.tsx","../src/contexts/Collapsible/context.ts","../src/contexts/Collapsible/use.tsx","../src/components/SiteMenu/Menu.tsx","../src/components/SiteMenu/MenuListItem/MenuListItemContainer.tsx","../src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx","../src/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.tsx","../src/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.tsx","../src/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.tsx","../src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx","../src/components/SiteMenu/MenuSection.tsx","../src/components/CollapsibleDrawer/CollapseToggle.tsx","../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx","../src/components/MobileSystemControls/SystemControls.tsx","../src/components/MobileSystemControls/SystemControlsRoot.tsx","../src/components/MobileSystemControls/SystemControlsType.ts","../src/components/MobileSystemControls/SystemControlsUnstyled.tsx","../src/components/MobileSystemControls/controls/SystemControl.tsx","../src/components/SearchBar/SearchBar.tsx"],"sourcesContent":["import { ToolbarProps } from '@mui/material'\nimport { AppBarEx, AppBarExProps } from '@xylabs/react-appbar'\nimport { ReactElement } from 'react'\n\nimport { ContextToolbar, SystemToolbar } from '../Toolbar'\n\nexport interface ApplicationAppBarProps extends AppBarExProps {\n contextToolbar?: ReactElement<ToolbarProps>\n responsive?: boolean\n systemToolbar?: ReactElement<ToolbarProps>\n}\n\nexport const ApplicationAppBar: React.FC<ApplicationAppBarProps> = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {\n return (\n <AppBarEx\n systemToolbar={systemToolbar ?? <SystemToolbar />}\n contextToolbar={contextToolbar ?? <ContextToolbar />}\n position=\"sticky\"\n responsive={responsive}\n {...props}\n />\n )\n}\n","import { Toolbar, ToolbarProps } from '@mui/material'\nimport { To } from 'react-router-dom'\n\nimport { LogoLinkEx } from './LogoLinkEx'\n\nexport interface ContextToolbarProps extends ToolbarProps {\n logoTo?: To\n version?: boolean\n}\n\nexport const ContextToolbar: React.FC<ContextToolbarProps> = ({ logoTo = '/', version = false, ...props }) => {\n return (\n <Toolbar {...props}>\n <LogoLinkEx version={version} to={logoTo} />\n </Toolbar>\n )\n}\n","import { Typography, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx, LinkExProps } from '@xylabs/react-link'\n\nimport { Logo } from './Logo'\n\nexport interface LogoLinkExProps extends LinkExProps {\n version?: boolean | string\n}\n\nexport const LogoLinkEx: React.FC<LogoLinkExProps> = ({ to = '/', version = false, ...props }) => {\n const theme = useTheme()\n return (\n <LinkEx to={to} {...props}>\n <FlexRow paddingX=\"4px\">\n <Logo height=\"40\" width=\"43\" />\n {version ? (\n <Typography\n position=\"absolute\"\n borderRadius={1}\n right={6}\n color={theme.palette.getContrastText(theme.palette.text.primary)}\n bottom={0}\n bgcolor={theme.palette.text.primary}\n paddingX=\"2px\"\n lineHeight={1}\n variant=\"caption\"\n border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`}\n >\n {typeof version === 'string' ? version : '2.1'}\n </Typography>\n ) : null}\n </FlexRow>\n </LinkEx>\n )\n}\n","import { useTheme } from '@mui/material'\n\nexport const Logo: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> = (props) => {\n const theme = useTheme()\n const logoUrl =\n theme.palette.mode === 'dark'\n ? 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n : 'https://cdn.xy.company/img/brand/XYO/XYO_icon_white.svg'\n return <img src={logoUrl} {...props} />\n}\n","import { Paper, Toolbar, ToolbarProps } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { DarkModeIconButton } from '@xyo-network/react-app-settings'\nimport { NetworkSelectEx, NetworkSelectExProps } from '@xyo-network/react-network'\nimport { ReactNode } from 'react'\n\nimport { SiteMenu, SiteMenuProps } from '../../SiteMenu'\n\nexport interface SystemToolbarProps extends ToolbarProps {\n darkModeButton?: boolean\n developerMode?: boolean\n hideNetworkSelect?: boolean\n menuItems?: ReactNode\n networkSelectProps?: NetworkSelectExProps\n onMenuToggle?: SiteMenuProps['onMenuToggle']\n precedingChildren?: ReactNode\n}\n\nexport const SystemToolbar: React.FC<SystemToolbarProps> = ({\n children,\n darkModeButton = false,\n hideNetworkSelect,\n menuItems,\n networkSelectProps,\n onMenuToggle,\n precedingChildren,\n ...props\n}) => {\n return (\n <Toolbar {...props}>\n {precedingChildren}\n {hideNetworkSelect ? null : (\n <FlexRow marginX={0.5}>\n <Paper variant=\"elevation\">\n <NetworkSelectEx fullWidth {...networkSelectProps} />\n </Paper>\n </FlexRow>\n )}\n {children}\n {darkModeButton ? <DarkModeIconButton color=\"inherit\" /> : null}\n {menuItems ? <SiteMenu onMenuToggle={onMenuToggle}>{menuItems}</SiteMenu> : null}\n </Toolbar>\n )\n}\n","import { useMemo } from 'react'\n\nimport { useCollapsible } from '../../../contexts'\nimport { MenuListItemProps } from '../MenuListItem'\n\nexport type DefaultSiteMenuListItemProps = Pick<MenuListItemProps, 'collapseEnd' | 'dense' | 'iconOnly' | 'sx'>\n\nexport const useMenuItemsShared = () => {\n const { collapse, collapseEnd, setCollapse, setCollapseEnd } = useCollapsible()\n\n const onMenuItemToggle = (open?: boolean) => {\n setCollapse?.((previous) => (open ? false : previous))\n setCollapseEnd?.((previous) => (open ? false : previous))\n }\n\n const defaultSiteMenuListItemProps: DefaultSiteMenuListItemProps = useMemo(\n () => ({\n collapseEnd,\n dense: true,\n iconOnly: collapse,\n sx: {\n px: '8px',\n },\n }),\n [collapse, collapseEnd],\n )\n\n return { defaultSiteMenuListItemProps, onMenuItemToggle }\n}\n","import { WithChildren } from '@xylabs/react-shared'\nimport { useEffect, useState } from 'react'\n\nimport { CollapsibleContext } from './context'\n\nexport interface CollapsibleProviderProps extends WithChildren {\n defaultCollapse?: boolean\n defaultCollapseEnd?: boolean\n}\n\nexport const CollapsibleProvider: React.FC<CollapsibleProviderProps> = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {\n const [collapse, setCollapse] = useState(defaultCollapse)\n const [collapseEnd, setCollapseEnd] = useState(defaultCollapseEnd)\n\n useEffect(() => {\n setCollapse(defaultCollapse)\n }, [defaultCollapse])\n\n useEffect(() => {\n setCollapseEnd(defaultCollapseEnd)\n }, [defaultCollapseEnd])\n\n return (\n <CollapsibleContext.Provider value={{ collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }}>\n {children}\n </CollapsibleContext.Provider>\n )\n}\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n","import { useContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleContext } from './context'\n\nexport const useCollapsible = () => useContextEx(CollapsibleContext, 'Collapsible', false)\n","import { Menu as MenuIcon, Settings as SettingsIcon } from '@mui/icons-material'\nimport { IconButton, List, SwipeableDrawer } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useEffect, useState } from 'react'\n\nimport { MenuListItemContainer } from './MenuListItem'\n\nexport interface SiteMenuProps extends FlexBoxProps {\n hideSettingsMenuItem?: boolean\n onMenuToggle?: (state?: boolean) => void\n side?: 'left' | 'right' | 'top' | 'bottom'\n}\n\nexport const SiteMenu: React.FC<SiteMenuProps> = ({ children, onMenuToggle, side = 'right', ...props }) => {\n const [open, setOpen] = useState(false)\n\n useEffect(() => {\n onMenuToggle?.(open)\n }, [onMenuToggle, open])\n\n return (\n <FlexRow alignItems=\"stretch\" {...props}>\n <IconButton\n size=\"small\"\n color=\"inherit\"\n onClick={() => {\n setOpen(!open)\n }}\n >\n <MenuIcon fontSize=\"large\" />\n </IconButton>\n <SwipeableDrawer\n anchor={side}\n open={open}\n onClick={() => setOpen(false)}\n onKeyDown={() => setOpen(false)}\n onClose={() => setOpen(false)}\n onOpen={() => setOpen(true)}\n >\n {children ?? (\n <List>\n <MenuListItemContainer primary=\"Settings\" icon={<SettingsIcon />} to=\"/settings\" />\n </List>\n )}\n </SwipeableDrawer>\n </FlexRow>\n )\n}\n","import { ListItemProps, ListItemText, useTheme } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { LinkEx } from '@xylabs/react-link'\nimport { useState } from 'react'\n\nimport { useCollapsible } from '../../../contexts'\nimport { MenuListItemBase, NavListItemProps } from '../lib'\nimport { ListItemTooltip, MenuIcon, MenuListItem } from './list-item-components'\nimport { SubNavListItemsCollapse, SubNavToggleIconButton } from './sub-nav'\n\nexport interface MenuListItemProps extends NavListItemProps, MenuListItemBase, ListItemProps {\n iconMenuTextSpacing?: string\n iconOnly?: boolean\n subNavListItems?: NavListItemProps[]\n subNavOpen?: boolean\n}\n\nexport const MenuListItemContainer: React.FC<MenuListItemProps> = ({\n style,\n icon,\n iconMenuTextSpacing,\n iconOnly,\n onButtonClick,\n primary,\n subNavListItems,\n sx,\n tooltip,\n to,\n ...props\n}) => {\n const { dense } = props\n const theme = useTheme()\n const { collapse } = useCollapsible()\n const [openSubNav, setOpenSubNav] = useState(false)\n const [hovered, setHovered] = useState(false)\n const resolvedIconMenuTextSpacing = iconMenuTextSpacing ? 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 { Tooltip, TooltipProps } from '@mui/material'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport { VscInfo } from 'react-icons/vsc'\n\nexport interface ListItemTooltipProps extends Omit<TooltipProps, 'children'> {\n title: string\n}\n\nexport const ListItemTooltip: React.FC<ListItemTooltipProps> = ({ title, ...props }) => {\n return (\n <Tooltip title={title} placement=\"right\" {...props}>\n {/* Needs div so it can work, the hovering doesn't work with a FlexCol */}\n <div>\n <FlexCol justifyContent=\"center\">\n <VscInfo color=\"grey\" />\n </FlexCol>\n </div>\n </Tooltip>\n )\n}\n","import { Typography, TypographyProps } from '@mui/material'\nimport { ReactNode } from 'react'\n\nexport interface MenuIconProps extends TypographyProps {\n icon?: ReactNode\n}\n\nexport const MenuIcon: React.FC<MenuIconProps> = ({ icon, ...props }) => {\n return (\n <Typography display=\"flex\" {...props}>\n {icon}\n </Typography>\n )\n}\n","import { ListItem, ListItemProps } from '@mui/material'\n\nimport { MenuListItemBase } from '../../lib'\n\nexport interface ListItemExProps extends MenuListItemBase, ListItemProps {}\n\nexport const MenuListItem: React.FC<ListItemExProps> = ({ iconOnly, collapseEnd, sx, children, dense, ...props }) => {\n const listItemSx = iconOnly ? { borderRadius: '50%', display: 'inline-flex', flexGrow: 0, width: 'auto' } : { width: '100%' }\n // wait till collapseEnds to remove the spacing between items\n const spacingSx = collapseEnd ? { columnGap: 0 } : { columnGap: 1.5 }\n // adjusts to the paddingY value which does NOT scale along the theme.spacing\n const paddingSx = dense ? { px: '8px' } : { px: '12px' }\n return (\n <ListItem sx={{ ...listItemSx, ...spacingSx, ...paddingSx, ...sx }} {...props}>\n {children}\n </ListItem>\n )\n}\n","import { Collapse, CollapseProps, List } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { NavListItemProps } from '../../lib'\n\nexport interface SubNavListItemsCollapseProps extends WithChildren, CollapseProps {\n collapse?: boolean\n openSubNav?: boolean\n subNavListItems?: NavListItemProps[]\n}\n\nexport const SubNavListItemsCollapse: React.FC<SubNavListItemsCollapseProps> = ({ collapse, openSubNav, children, ...props }) => {\n return (\n <Collapse in={collapse == true ? false : openSubNav} {...props}>\n <List>{children}</List>\n </Collapse>\n )\n}\n","import { IconButton, IconButtonProps, useTheme } from '@mui/material'\nimport { Dispatch, SetStateAction, SyntheticEvent } from 'react'\nimport { VscChevronDown } from 'react-icons/vsc'\n\nexport interface SubNavToggleIconButtonProps extends IconButtonProps {\n openSubNav?: boolean\n setOpenSubNav?: Dispatch<SetStateAction<boolean>>\n}\n\nexport const SubNavToggleIconButton: React.FC<SubNavToggleIconButtonProps> = ({ setOpenSubNav, openSubNav }) => {\n const theme = useTheme()\n return (\n <IconButton\n onClick={(event: SyntheticEvent) => {\n event.stopPropagation()\n setOpenSubNav?.(!openSubNav)\n }}\n sx={{ marginRight: theme.spacing(0.5) }}\n >\n <VscChevronDown fontSize=\"16px\" />\n </IconButton>\n )\n}\n","import { Collapse, ListSubheader } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\nimport { MenuListItemContainer, MenuListItemProps } from './MenuListItem'\n\nexport interface MenuSectionProps extends FlexBoxProps {\n iconMenuTextSpacing?: string\n listItems: MenuListItemProps[]\n showTitle?: boolean\n title: string\n}\n\nexport const MenuSection: React.FC<MenuSectionProps> = ({ iconMenuTextSpacing, listItems, showTitle = true, title, ...props }) => {\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n <Collapse in={showTitle} timeout={700}>\n <ListSubheader>{title}</ListSubheader>\n </Collapse>\n\n {listItems.map((item, index) => (\n <MenuListItemContainer key={index} iconMenuTextSpacing={iconMenuTextSpacing} {...item}></MenuListItemContainer>\n ))}\n </FlexCol>\n )\n}\n","import { Icon, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\nimport { VscArrowSmallLeft, VscArrowSmallRight } from 'react-icons/vsc'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapseToggleFlex: React.FC<FlexBoxProps> = (props) => {\n const { collapse, setCollapse, setCollapseEnd } = useCollapsible()\n const [hover, setHover] = useState(false)\n const theme = useTheme()\n\n const handleCollapseToggle = () => {\n setCollapse?.(!collapse)\n setCollapseEnd?.((previous) => (previous ? false : previous))\n }\n\n return (\n <FlexRow mt={2} py={2} justifyContent={collapse ? 'start' : 'center'} {...props}>\n <Icon\n onClick={handleCollapseToggle}\n onMouseEnter={() => setHover(true)}\n onMouseLeave={() => setHover(false)}\n fontSize={'large'}\n sx={{ color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' }}\n >\n {!collapse ? <VscArrowSmallLeft /> : <VscArrowSmallRight />}\n </Icon>\n </FlexRow>\n )\n}\n","import { Collapse, CollapseProps, styled, useTheme } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\n\nimport { useCollapsible } from '../../contexts'\n\nexport const CollapsibleDrawer: React.FC<WithChildren<CollapseProps>> = ({ children, sx, ...props }) => {\n const { collapse, setCollapseEnd } = useCollapsible()\n const theme = useTheme()\n\n const collapsedSize = props.collapsedSize ?? theme.spacing(5)\n\n return (\n <CollapsibleFlexInner\n in={!collapse}\n orientation=\"horizontal\"\n collapsedSize={collapsedSize}\n onExited={() => setCollapseEnd?.(true)}\n sx={{\n alignItems: 'start',\n display: 'flex',\n height: '100%',\n ...sx,\n }}\n {...props}\n >\n {children}\n </CollapsibleFlexInner>\n )\n}\n\nconst CollapsibleFlexInner = styled(Collapse)(() => ({\n '& .MuiCollapse-wrapperInner': {\n display: 'flex',\n flexDirection: 'column',\n },\n}))\n","import { FlexCol } from '@xylabs/react-flexbox'\n\nimport { SystemControlsRoot } from './SystemControlsRoot'\nimport { SystemControlsUnstyledProps } from './SystemControlsUnstyled'\n\nconst SystemControls: React.FC<SystemControlsUnstyledProps> = (props) => {\n return (\n <FlexCol>\n <SystemControlsRoot {...props} />\n </FlexCol>\n )\n}\n\nexport { SystemControls }\n","import { styled } from '@mui/material'\n\nimport { SystemControlsType } from './SystemControlsType'\nimport { SystemControlsUnstyled, SystemControlsUnstyledProps } from './SystemControlsUnstyled'\n\nconst SystemControlsRoot = styled(SystemControlsUnstyled, { name: 'SystemControls', slot: 'Root' })<SystemControlsUnstyledProps>(({ theme }) => ({\n // shared defaults\n ['&']: {\n '.toggle': {\n backgroundColor: theme.palette.primary.main,\n },\n alignItems: 'start',\n zIndex: 1,\n },\n // WindowShade System Controls styles\n [`&.system-controls-type-${SystemControlsType.WindowShade}`]: {\n '.control': {\n borderRadius: '0 0 5px 5px',\n flexDirection: 'row',\n flexGrow: 1,\n justifyContent: 'space-around',\n padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,\n },\n '.controls': {\n alignItems: 'stretch',\n flexDirection: 'column',\n flexGrow: 1,\n },\n '.toggle': {\n borderRadius: '0 0 5px 5px',\n padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,\n },\n flexDirection: 'row',\n position: 'absolute',\n top: 0,\n width: '100%',\n },\n // Left System Control styles\n [`&.system-controls-type-${SystemControlsType.Left}`]: {\n '.control': {\n alignItems: 'start',\n flexDirection: 'column',\n padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,\n },\n '.control-wrap': {\n marginBottom: `${theme.spacing(2)}`,\n },\n '.toggle': {\n borderRadius: '0 5px 5px 0',\n padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,\n writingMode: 'vertical-rl',\n },\n flexDirection: 'column',\n left: 0,\n position: 'fixed',\n top: '30vh',\n width: 'auto',\n },\n}))\n\nexport { SystemControlsRoot }\n","export enum SystemControlsType {\n Left = 'Left',\n Right = 'Right',\n WindowShade = 'WindowShade',\n}\n","import { Paper, Theme, useMediaQuery } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { NetworkSelectEx } from '@xyo-network/react-network'\n\nimport { SystemControl } from './controls'\nimport { SystemControlsType } from './SystemControlsType'\n\ninterface SystemControlsUnstyledProps extends FlexBoxProps {\n systemControlsType?: SystemControlsType\n visible?: boolean\n}\n\nconst SystemControlsUnstyled: React.FC<SystemControlsUnstyledProps> = ({\n visible,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const isSmall = useMediaQuery<Theme>((theme) => theme.breakpoints.down('sm'))\n\n 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","import { Collapse, CollapseProps } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { useState } from 'react'\n\nimport { SystemControlsType } from '../SystemControlsType'\n\ninterface SystemControlProps extends FlexBoxProps {\n controlElement: React.ReactNode\n systemControlsType?: SystemControlsType\n}\n\nconst SystemControl: React.FC<WithChildren<SystemControlProps>> = ({\n children,\n controlElement,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const [toggleControls, setToggleControls] = useState(false)\n\n let orientation: CollapseProps['orientation'] = 'vertical'\n\n switch (systemControlsType) {\n case SystemControlsType.Left: {\n orientation = 'horizontal'\n break\n }\n }\n\n return (\n <FlexRow className=\"controls\" {...props}>\n <Collapse in={toggleControls} orientation={orientation} timeout={500}>\n <FlexRow bgcolor=\"primary.main\" className=\"control\">\n {controlElement}\n </FlexRow>\n </Collapse>\n <FlexCol style={{ cursor: 'pointer' }} onClick={() => setToggleControls(!toggleControls)}>\n {children}\n </FlexCol>\n </FlexRow>\n )\n}\n\nexport { SystemControl }\n","import { Search as SearchIcon } from '@mui/icons-material'\nimport { Paper, TextField } from '@mui/material'\nimport { ButtonEx } from '@xylabs/react-button'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { useState } from 'react'\n\nexport interface SearchBarProps extends FlexBoxProps {\n onSearch?: (term?: string) => void\n}\n\nexport const SearchBar: React.FC<SearchBarProps> = ({ defaultValue, onSearch, ...props }) => {\n const [term, setTerm] = useState<string>()\n\n return (\n <FlexRow alignItems=\"stretch\" {...props}>\n <Paper variant=\"elevation\" elevation={0} style={{ display: 'flex', overflow: 'hidden', width: '100%' }}>\n <TextField\n InputProps={{ color: 'secondary', style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } }}\n variant=\"outlined\"\n size=\"small\"\n defaultValue={defaultValue}\n fullWidth\n onChange={(event) => setTerm(event.target.value)}\n onKeyDown={(event) => {\n if (event.key === 'Enter') onSearch?.(term)\n }}\n />\n <ButtonEx variant=\"contained\" style={{ borderRadius: 0, borderTopLeftRadius: 0 }} color=\"secondary\" onClick={() => onSearch?.(term)}>\n <SearchIcon />\n </ButtonEx>\n </Paper>\n </FlexRow>\n )\n}\n"],"mappings":";AACA,SAAS,gBAA+B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AO,EAAE,cAAc,GAAG,qBAAqB,EAAE,GAAG,OAAM,aAAY,SAAS,MAAM,WAAW,IAAI,GAChI,0BAAAA,MAAC,cAAW,GACd;AAAA,KACF,GACF;AAEJ;","names":["useTheme","jsx","useTheme","jsx","Toolbar","FlexRow","jsx","MenuIcon","IconButton","List","FlexRow","useEffect","useState","useTheme","FlexRow","LinkEx","useState","jsx","Typography","jsx","jsx","jsx","useTheme","jsx","jsx","jsxs","useTheme","useState","LinkEx","FlexRow","jsx","jsxs","useState","useEffect","FlexRow","IconButton","MenuIcon","List","Collapse","FlexCol","jsx","jsxs","FlexCol","Collapse","jsx","jsxs","Toolbar","FlexRow","jsx","useTheme","FlexRow","useState","jsx","useState","useTheme","FlexRow","Collapse","useTheme","jsx","useTheme","Collapse","FlexCol","styled","SystemControlsType","Paper","FlexCol","FlexRow","NetworkSelectEx","Collapse","FlexCol","FlexRow","useState","jsx","jsxs","useState","FlexRow","Collapse","FlexCol","Fragment","jsx","FlexCol","FlexRow","Paper","NetworkSelectEx","styled","jsx","FlexCol","Paper","FlexRow","useState","jsx","jsxs"]}
|
package/package.json
CHANGED
@@ -10,21 +10,21 @@
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
|
-
"@xylabs/react-appbar": "
|
14
|
-
"@xylabs/react-button": "
|
15
|
-
"@xylabs/react-flexbox": "
|
16
|
-
"@xylabs/react-link": "
|
17
|
-
"@xylabs/react-shared": "
|
18
|
-
"@xyo-network/react-app-settings": "~2.
|
19
|
-
"@xyo-network/react-network": "~2.
|
20
|
-
"@xyo-network/react-shared": "~2.
|
13
|
+
"@xylabs/react-appbar": "^3.1.0-rc.3",
|
14
|
+
"@xylabs/react-button": "^3.1.0-rc.3",
|
15
|
+
"@xylabs/react-flexbox": "^3.1.0-rc.3",
|
16
|
+
"@xylabs/react-link": "^3.1.0-rc.3",
|
17
|
+
"@xylabs/react-shared": "^3.1.0-rc.3",
|
18
|
+
"@xyo-network/react-app-settings": "~2.64.0-rc.1",
|
19
|
+
"@xyo-network/react-network": "~2.64.0-rc.1",
|
20
|
+
"@xyo-network/react-shared": "~2.64.0-rc.1"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
23
|
"@storybook/react": "^7.4.3",
|
24
|
-
"@xylabs/ts-scripts-yarn3": "^
|
25
|
-
"@xylabs/tsconfig-react": "^
|
26
|
-
"@xyo-network/react-storybook": "~2.
|
27
|
-
"@xyo-network/react-wallet": "~2.
|
24
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.28",
|
25
|
+
"@xylabs/tsconfig-react": "^3.0.28",
|
26
|
+
"@xyo-network/react-storybook": "~2.64.0-rc.1",
|
27
|
+
"@xyo-network/react-wallet": "~2.64.0-rc.1",
|
28
28
|
"typescript": "^5.2.2"
|
29
29
|
},
|
30
30
|
"peerDependencies": {
|
@@ -38,27 +38,35 @@
|
|
38
38
|
"react-router-dom": "^6.3.0"
|
39
39
|
},
|
40
40
|
"description": "Common React library for all XYO projects that use React",
|
41
|
-
"browser": "dist/esm/index.js",
|
42
41
|
"docs": "dist/docs.json",
|
43
42
|
"exports": {
|
44
43
|
".": {
|
45
44
|
"node": {
|
46
|
-
"import":
|
47
|
-
|
45
|
+
"import": {
|
46
|
+
"types": "./dist/index.d.mts",
|
47
|
+
"default": "./dist/index.mjs"
|
48
|
+
},
|
49
|
+
"require": {
|
50
|
+
"types": "./dist/index.d.ts",
|
51
|
+
"default": "./dist/index.js"
|
52
|
+
}
|
48
53
|
},
|
49
54
|
"browser": {
|
50
|
-
"import":
|
51
|
-
|
55
|
+
"import": {
|
56
|
+
"types": "./dist/index.d.mts",
|
57
|
+
"default": "./dist/index.mjs"
|
58
|
+
},
|
59
|
+
"require": {
|
60
|
+
"types": "./dist/index.d.ts",
|
61
|
+
"default": "./dist/index.js"
|
62
|
+
}
|
52
63
|
},
|
53
|
-
"default": "./dist/
|
54
|
-
},
|
55
|
-
"./dist/docs.json": {
|
56
|
-
"default": "./dist/docs.json"
|
64
|
+
"default": "./dist/index.mjs"
|
57
65
|
},
|
58
66
|
"./package.json": "./package.json"
|
59
67
|
},
|
60
|
-
"main": "dist/
|
61
|
-
"module": "dist/
|
68
|
+
"main": "dist/index.js",
|
69
|
+
"module": "dist/index.mjs",
|
62
70
|
"homepage": "https://xyo.network",
|
63
71
|
"keywords": [
|
64
72
|
"xyo",
|
@@ -79,6 +87,7 @@
|
|
79
87
|
"license": "yarn license-checker --exclude \"MIT, ISC, Apache-2.0, BSD, BSD-2-Clause, CC-BY-4.0, Unlicense, CC-BY-3.0, CC0-1.0\""
|
80
88
|
},
|
81
89
|
"sideEffects": false,
|
82
|
-
"types": "dist/
|
83
|
-
"version": "2.
|
90
|
+
"types": "dist/index.d.ts",
|
91
|
+
"version": "2.64.0-rc.1",
|
92
|
+
"stableVersion": "2.63.1"
|
84
93
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import SearchIcon from '@mui/icons-material
|
1
|
+
import { Search as SearchIcon } from '@mui/icons-material'
|
2
2
|
import { Paper, TextField } from '@mui/material'
|
3
3
|
import { ButtonEx } from '@xylabs/react-button'
|
4
4
|
import { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import MenuIcon from '@mui/icons-material
|
2
|
-
import SettingsIcon from '@mui/icons-material/Settings'
|
1
|
+
import { Menu as MenuIcon, Settings as SettingsIcon } from '@mui/icons-material'
|
3
2
|
import { IconButton, List, SwipeableDrawer } from '@mui/material'
|
4
3
|
import { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'
|
5
4
|
import { useEffect, useState } from 'react'
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ApplicationAppBar = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const react_appbar_1 = require("@xylabs/react-appbar");
|
7
|
-
const Toolbar_1 = require("../Toolbar");
|
8
|
-
const ApplicationAppBar = (_a) => {
|
9
|
-
var { systemToolbar, contextToolbar, responsive = true } = _a, props = tslib_1.__rest(_a, ["systemToolbar", "contextToolbar", "responsive"]);
|
10
|
-
return ((0, jsx_runtime_1.jsx)(react_appbar_1.AppBarEx, Object.assign({ systemToolbar: systemToolbar !== null && systemToolbar !== void 0 ? systemToolbar : (0, jsx_runtime_1.jsx)(Toolbar_1.SystemToolbar, {}), contextToolbar: contextToolbar !== null && contextToolbar !== void 0 ? contextToolbar : (0, jsx_runtime_1.jsx)(Toolbar_1.ContextToolbar, {}), position: "sticky", responsive: responsive }, props)));
|
11
|
-
};
|
12
|
-
exports.ApplicationAppBar = ApplicationAppBar;
|
13
|
-
//# sourceMappingURL=Application.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Application.js","sourceRoot":"","sources":["../../../../src/components/AppBar/Application.tsx"],"names":[],"mappings":";;;;;AACA,uDAA8D;AAG9D,wCAA0D;AAQnD,MAAM,iBAAiB,GAAqC,CAAC,EAA8D,EAAE,EAAE;QAAlE,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,GAAG,IAAI,OAAY,EAAP,KAAK,sBAA5D,iDAA8D,CAAF;IAC9H,OAAO,CACL,uBAAC,uBAAQ,kBACP,aAAa,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,uBAAC,uBAAa,KAAG,EACjD,cAAc,EAAE,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,uBAAC,wBAAc,KAAG,EACpD,QAAQ,EAAC,QAAQ,EACjB,UAAU,EAAE,UAAU,IAClB,KAAK,EACT,CACH,CAAA;AACH,CAAC,CAAA;AAVY,QAAA,iBAAiB,qBAU7B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/AppBar/index.ts"],"names":[],"mappings":";;;AAAA,wDAA6B"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CollapseToggleFlex = void 0;
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
-
const material_1 = require("@mui/material");
|
6
|
-
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
7
|
-
const react_1 = require("react");
|
8
|
-
const vsc_1 = require("react-icons/vsc");
|
9
|
-
const contexts_1 = require("../../contexts");
|
10
|
-
const CollapseToggleFlex = (props) => {
|
11
|
-
const { collapse, setCollapse, setCollapseEnd } = (0, contexts_1.useCollapsible)();
|
12
|
-
const [hover, setHover] = (0, react_1.useState)(false);
|
13
|
-
const theme = (0, material_1.useTheme)();
|
14
|
-
const handleCollapseToggle = () => {
|
15
|
-
setCollapse === null || setCollapse === void 0 ? void 0 : setCollapse(!collapse);
|
16
|
-
setCollapseEnd === null || setCollapseEnd === void 0 ? void 0 : setCollapseEnd((previous) => (previous ? false : previous));
|
17
|
-
};
|
18
|
-
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ mt: 2, py: 2, justifyContent: collapse ? 'start' : 'center' }, props, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ onClick: handleCollapseToggle, onMouseEnter: () => setHover(true), onMouseLeave: () => setHover(false), fontSize: 'large', sx: { color: hover ? theme.palette.secondary.main : 'inherit', cursor: 'pointer' } }, { children: !collapse ? (0, jsx_runtime_1.jsx)(vsc_1.VscArrowSmallLeft, {}) : (0, jsx_runtime_1.jsx)(vsc_1.VscArrowSmallRight, {}) })) })));
|
19
|
-
};
|
20
|
-
exports.CollapseToggleFlex = CollapseToggleFlex;
|
21
|
-
//# sourceMappingURL=CollapseToggle.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CollapseToggle.js","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapseToggle.tsx"],"names":[],"mapp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,CAAC,uBAAC,wBAAkB,KAAG,IACtD,IACC,CACX,CAAA;AACH,CAAC,CAAA;AAvBY,QAAA,kBAAkB,sBAuB9B"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CollapsibleDrawer = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const material_1 = require("@mui/material");
|
7
|
-
const contexts_1 = require("../../contexts");
|
8
|
-
const CollapsibleDrawer = (_a) => {
|
9
|
-
var _b;
|
10
|
-
var { children, sx } = _a, props = tslib_1.__rest(_a, ["children", "sx"]);
|
11
|
-
const { collapse, setCollapseEnd } = (0, contexts_1.useCollapsible)();
|
12
|
-
const theme = (0, material_1.useTheme)();
|
13
|
-
const collapsedSize = (_b = props.collapsedSize) !== null && _b !== void 0 ? _b : theme.spacing(5);
|
14
|
-
return ((0, jsx_runtime_1.jsx)(CollapsibleFlexInner, Object.assign({ in: !collapse, orientation: "horizontal", collapsedSize: collapsedSize, onExited: () => setCollapseEnd === null || setCollapseEnd === void 0 ? void 0 : setCollapseEnd(true), sx: Object.assign({ alignItems: 'start', display: 'flex', height: '100%' }, sx) }, props, { children: children })));
|
15
|
-
};
|
16
|
-
exports.CollapsibleDrawer = CollapsibleDrawer;
|
17
|
-
const CollapsibleFlexInner = (0, material_1.styled)(material_1.Collapse)(() => ({
|
18
|
-
'& .MuiCollapse-wrapperInner': {
|
19
|
-
display: 'flex',
|
20
|
-
flexDirection: 'column',
|
21
|
-
},
|
22
|
-
}));
|
23
|
-
//# sourceMappingURL=CollapsibleDrawer.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CollapsibleDrawer.js","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/CollapsibleDrawer.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAyE;AAGzE,6CAA+C;AAExC,MAAM,iBAAiB,GAA0C,CAAC,EAA0B,EAAE,EAAE;;QAA9B,EAAE,QAAQ,EAAE,EAAE,OAAY,EAAP,KAAK,sBAAxB,kBAA0B,CAAF;IAC/F,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAA,yBAAc,GAAE,CAAA;IACrD,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IAExB,MAAM,aAAa,GAAG,MAAA,KAAK,CAAC,aAAa,mCAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;IAE7D,OAAO,CACL,uBAAC,oBAAoB,kBACnB,EAAE,EAAE,CAAC,QAAQ,EACb,WAAW,EAAC,YAAY,EACxB,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,GAAG,EAAE,CAAC,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAG,IAAI,CAAC,EACtC,EAAE,kBACA,UAAU,EAAE,OAAO,EACnB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,IACX,EAAE,KAEH,KAAK,cAER,QAAQ,IACY,CACxB,CAAA;AACH,CAAC,CAAA;AAvBY,QAAA,iBAAiB,qBAuB7B;AAED,MAAM,oBAAoB,GAAG,IAAA,iBAAM,EAAC,mBAAQ,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACnD,6BAA6B,EAAE;QAC7B,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,QAAQ;KACxB;CACF,CAAC,CAAC,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./CollapseToggle"), exports);
|
5
|
-
tslib_1.__exportStar(require("./CollapsibleDrawer"), exports);
|
6
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC;AAChC,8DAAmC"}
|
@@ -1,69 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.menuDataBottom = exports.menuDataTop = void 0;
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
-
const vsc_1 = require("react-icons/vsc");
|
6
|
-
exports.menuDataTop = [
|
7
|
-
{
|
8
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscGlobe, { fontSize: "body1" }),
|
9
|
-
primary: 'Explore',
|
10
|
-
to: '',
|
11
|
-
tooltip: 'View global archivist data on a world map.',
|
12
|
-
},
|
13
|
-
{
|
14
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscSymbolMethod, { fontSize: "body1" }),
|
15
|
-
primary: 'Blocks',
|
16
|
-
to: '',
|
17
|
-
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
18
|
-
},
|
19
|
-
{
|
20
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscSymbolNamespace, { fontSize: "body1" }),
|
21
|
-
primary: 'Payloads',
|
22
|
-
to: '',
|
23
|
-
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
24
|
-
},
|
25
|
-
{
|
26
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscGraph, { fontSize: "body1" }),
|
27
|
-
primary: 'Queries',
|
28
|
-
to: '',
|
29
|
-
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
30
|
-
},
|
31
|
-
{
|
32
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscServer, { fontSize: "body1" }),
|
33
|
-
primary: 'Archives',
|
34
|
-
subNavListItems: [
|
35
|
-
{ icon: (0, jsx_runtime_1.jsx)(vsc_1.VscDashboard, { fontSize: "body2" }), primary: 'Dashboard', to: '', tooltip: 'View data for all archives on this network.' },
|
36
|
-
{ icon: (0, jsx_runtime_1.jsx)(vsc_1.VscAdd, { fontSize: "body2" }), primary: 'Create Archive', to: '', tooltip: 'Create a new archive on this network.' },
|
37
|
-
{ icon: (0, jsx_runtime_1.jsx)(vsc_1.VscTable, { fontSize: "body2" }), primary: 'Archive Table', to: '', tooltip: 'View all archives on this network as a table.' },
|
38
|
-
],
|
39
|
-
to: '',
|
40
|
-
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
41
|
-
},
|
42
|
-
];
|
43
|
-
exports.menuDataBottom = [
|
44
|
-
{
|
45
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscGraphLine, { fontSize: "body1" }),
|
46
|
-
primary: 'Statistics',
|
47
|
-
to: '',
|
48
|
-
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
49
|
-
},
|
50
|
-
{
|
51
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscJson, { fontSize: "body1" }),
|
52
|
-
primary: 'Schema',
|
53
|
-
to: '',
|
54
|
-
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
55
|
-
},
|
56
|
-
{
|
57
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscAccount, { fontSize: "body1" }),
|
58
|
-
primary: 'Account',
|
59
|
-
to: '',
|
60
|
-
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
61
|
-
},
|
62
|
-
{
|
63
|
-
icon: (0, jsx_runtime_1.jsx)(vsc_1.VscSettingsGear, { fontSize: "body1" }),
|
64
|
-
primary: 'Settings',
|
65
|
-
to: '',
|
66
|
-
tooltip: 'The most recent blocks seen in the in temp archive on your current network.',
|
67
|
-
},
|
68
|
-
];
|
69
|
-
//# sourceMappingURL=storyExampleMenuData.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"storyExampleMenuData.js","sourceRoot":"","sources":["../../../../src/components/CollapsibleDrawer/storyExampleMenuData.tsx"],"names":[],"mappings":";;;;AAAA,yCAawB;AAIX,QAAA,WAAW,GAAwB;IAC9C;QACE,IAAI,EAAE,uBAAC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IAAI,EAAE,uBAAC,kBAAY,IAAC,QAAQ,EAAC,OAAO,GAAG;QACvC,OAAO,EAAE,YAAY;QACrB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,aAAO,IAAC,QAAQ,EAAC,OAAO,GAAG;QAClC,OAAO,EAAE,QAAQ;QACjB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,gBAAU,IAAC,QAAQ,EAAC,OAAO,GAAG;QACrC,OAAO,EAAE,SAAS;QAClB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;IACD;QACE,IAAI,EAAE,uBAAC,qBAAe,IAAC,QAAQ,EAAC,OAAO,GAAG;QAC1C,OAAO,EAAE,UAAU;QACnB,EAAE,EAAE,EAAE;QACN,OAAO,EAAE,6EAA6E;KACvF;CACF,CAAA"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SystemControls = void 0;
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
-
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
6
|
-
const SystemControlsRoot_1 = require("./SystemControlsRoot");
|
7
|
-
const SystemControls = (props) => {
|
8
|
-
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, { children: (0, jsx_runtime_1.jsx)(SystemControlsRoot_1.SystemControlsRoot, Object.assign({}, props)) }));
|
9
|
-
};
|
10
|
-
exports.SystemControls = SystemControls;
|
11
|
-
//# sourceMappingURL=SystemControls.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SystemControls.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControls.tsx"],"names":[],"mappings":";;;;AAAA,yDAA+C;AAE/C,6DAAyD;AAGzD,MAAM,cAAc,GAA0C,CAAC,KAAK,EAAE,EAAE;IACtE,OAAO,CACL,uBAAC,uBAAO,cACN,uBAAC,uCAAkB,oBAAK,KAAK,EAAI,GACzB,CACX,CAAA;AACH,CAAC,CAAA;AAEQ,wCAAc"}
|
@@ -1,62 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SystemControlsRoot = void 0;
|
4
|
-
const material_1 = require("@mui/material");
|
5
|
-
const SystemControlsType_1 = require("./SystemControlsType");
|
6
|
-
const SystemControlsUnstyled_1 = require("./SystemControlsUnstyled");
|
7
|
-
const SystemControlsRoot = (0, material_1.styled)(SystemControlsUnstyled_1.SystemControlsUnstyled, { name: 'SystemControls', slot: 'Root' })(({ theme }) => ({
|
8
|
-
// shared defaults
|
9
|
-
['&']: {
|
10
|
-
'.toggle': {
|
11
|
-
backgroundColor: theme.palette.primary.main,
|
12
|
-
},
|
13
|
-
alignItems: 'start',
|
14
|
-
zIndex: 1,
|
15
|
-
},
|
16
|
-
// WindowShade System Controls styles
|
17
|
-
[`&.system-controls-type-${SystemControlsType_1.SystemControlsType.WindowShade}`]: {
|
18
|
-
'.control': {
|
19
|
-
borderRadius: '0 0 5px 5px',
|
20
|
-
flexDirection: 'row',
|
21
|
-
flexGrow: 1,
|
22
|
-
justifyContent: 'space-around',
|
23
|
-
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,
|
24
|
-
},
|
25
|
-
'.controls': {
|
26
|
-
alignItems: 'stretch',
|
27
|
-
flexDirection: 'column',
|
28
|
-
flexGrow: 1,
|
29
|
-
},
|
30
|
-
'.toggle': {
|
31
|
-
borderRadius: '0 0 5px 5px',
|
32
|
-
padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,
|
33
|
-
},
|
34
|
-
flexDirection: 'row',
|
35
|
-
position: 'absolute',
|
36
|
-
top: 0,
|
37
|
-
width: '100%',
|
38
|
-
},
|
39
|
-
// Left System Control styles
|
40
|
-
[`&.system-controls-type-${SystemControlsType_1.SystemControlsType.Left}`]: {
|
41
|
-
'.control': {
|
42
|
-
alignItems: 'start',
|
43
|
-
flexDirection: 'column',
|
44
|
-
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`,
|
45
|
-
},
|
46
|
-
'.control-wrap': {
|
47
|
-
marginBottom: `${theme.spacing(2)}`,
|
48
|
-
},
|
49
|
-
'.toggle': {
|
50
|
-
borderRadius: '0 5px 5px 0',
|
51
|
-
padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
|
52
|
-
writingMode: 'vertical-rl',
|
53
|
-
},
|
54
|
-
flexDirection: 'column',
|
55
|
-
left: 0,
|
56
|
-
position: 'fixed',
|
57
|
-
top: '30vh',
|
58
|
-
width: 'auto',
|
59
|
-
},
|
60
|
-
}));
|
61
|
-
exports.SystemControlsRoot = SystemControlsRoot;
|
62
|
-
//# sourceMappingURL=SystemControlsRoot.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SystemControlsRoot.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControlsRoot.tsx"],"names":[],"mappings":";;;AAAA,4CAAsC;AAEtC,6DAAyD;AACzD,qEAA8F;AAE9F,MAAM,kBAAkB,GAAG,IAAA,iBAAM,EAAC,+CAAsB,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAA8B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/I,kBAAkB;IAClB,CAAC,GAAG,CAAC,EAAE;QACL,SAAS,EAAE;YACT,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;SAC5C;QACD,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,CAAC;KACV;IACD,qCAAqC;IACrC,CAAC,0BAA0B,uCAAkB,CAAC,WAAW,EAAE,CAAC,EAAE;QAC5D,UAAU,EAAE;YACV,YAAY,EAAE,aAAa;YAC3B,aAAa,EAAE,KAAK;YACpB,QA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
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SystemControlsType = void 0;
|
4
|
-
var SystemControlsType;
|
5
|
-
(function (SystemControlsType) {
|
6
|
-
SystemControlsType["Left"] = "Left";
|
7
|
-
SystemControlsType["Right"] = "Right";
|
8
|
-
SystemControlsType["WindowShade"] = "WindowShade";
|
9
|
-
})(SystemControlsType = exports.SystemControlsType || (exports.SystemControlsType = {}));
|
10
|
-
//# sourceMappingURL=SystemControlsType.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SystemControlsType.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControlsType.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,iDAA2B,CAAA;AAC7B,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SystemControlsUnstyled = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const material_1 = require("@mui/material");
|
7
|
-
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
8
|
-
const react_network_1 = require("@xyo-network/react-network");
|
9
|
-
const controls_1 = require("./controls");
|
10
|
-
const SystemControlsType_1 = require("./SystemControlsType");
|
11
|
-
const SystemControlsUnstyled = (_a) => {
|
12
|
-
var { visible, systemControlsType = SystemControlsType_1.SystemControlsType.WindowShade } = _a, props = tslib_1.__rest(_a, ["visible", "systemControlsType"]);
|
13
|
-
const isSmall = (0, material_1.useMediaQuery)((theme) => theme.breakpoints.down('sm'));
|
14
|
-
if (visible || isSmall) {
|
15
|
-
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({}, props, { className: `${props.className} system-controls-type-${systemControlsType}` }, { children: (0, jsx_runtime_1.jsx)(controls_1.SystemControl, { systemControlsType: systemControlsType, controlElement: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ className: 'control-wrap' }, { children: (0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ variant: "elevation", elevation: 0 }, { children: (0, jsx_runtime_1.jsx)(react_network_1.NetworkSelectEx, { responsive: false, className: "network-ex" }) })) })) }) }) })));
|
16
|
-
}
|
17
|
-
else {
|
18
|
-
return (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, {});
|
19
|
-
}
|
20
|
-
};
|
21
|
-
exports.SystemControlsUnstyled = SystemControlsUnstyled;
|
22
|
-
//# sourceMappingURL=SystemControlsUnstyled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SystemControlsUnstyled.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA2D;AAC3D,yDAAsE;AACtE,8DAA4D;AAE5D,yCAA0C;AAC1C,6DAAyD;AAOzD,MAAM,sBAAsB,GAA0C,CAAC,EAItE,EAAE,EAAE;QAJkE,EACrE,OAAO,EACP,kBAAkB,GAAG,uCAAkB,CAAC,WAAW,OAEpD,EADI,KAAK,sBAH6D,iCAItE,CADS;IAER,MAAM,OAAO,GAAG,IAAA,wBAAa,EAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAE7E,IAAI,OAAO,IAAI,OAAO,EAAE;QACtB,OAAO,CACL,uBAAC,uBAAO,oBAAK,KAAK,IAAE,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,yBAAyB,kBAAkB,EAAE,gBAC5F,uBAAC,wBAAa,IACZ,kBAAkB,EAAE,kBAAkB,EACtC,cAAc,EACZ,2DACE,uBAAC,uBAAO,kBAAC,SAAS,EAAE,cAAc,gBAChC,uBAAC,gBAAK,kBAAC,OAAO,EAAC,WAAW,EAAC,SAAS,EAAE,CAAC,gBACrC,uBAAC,+BAAe,IAAC,UAAU,EAAE,KAAK,EAAE,SAAS,EAAC,YAAY,GAAG,IACvD,IACA,GACT,GAEL,IACM,CACX,CAAA;KACF;SAAM;QACL,OAAO,uBAAC,uBAAO,KAAG,CAAA;KACnB;AACH,CAAC,CAAA;AAGQ,wDAAsB"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SystemControl = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const material_1 = require("@mui/material");
|
7
|
-
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
8
|
-
const react_1 = require("react");
|
9
|
-
const SystemControlsType_1 = require("../SystemControlsType");
|
10
|
-
const SystemControl = (_a) => {
|
11
|
-
var { children, controlElement, systemControlsType = SystemControlsType_1.SystemControlsType.WindowShade } = _a, props = tslib_1.__rest(_a, ["children", "controlElement", "systemControlsType"]);
|
12
|
-
const [toggleControls, setToggleControls] = (0, react_1.useState)(false);
|
13
|
-
let orientation = 'vertical';
|
14
|
-
switch (systemControlsType) {
|
15
|
-
case SystemControlsType_1.SystemControlsType.Left: {
|
16
|
-
orientation = 'horizontal';
|
17
|
-
break;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
return ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ className: "controls" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Collapse, Object.assign({ in: toggleControls, orientation: orientation, timeout: 500 }, { children: (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ bgcolor: "primary.main", className: "control" }, { children: controlElement })) })), (0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({ style: { cursor: 'pointer' }, onClick: () => setToggleControls(!toggleControls) }, { children: children }))] })));
|
21
|
-
};
|
22
|
-
exports.SystemControl = SystemControl;
|
23
|
-
//# sourceMappingURL=SystemControl.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SystemControl.js","sourceRoot":"","sources":["../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAuD;AACvD,yDAAsE;AAEtE,iCAAgC;AAEhC,8DAA0D;AAO1D,MAAM,aAAa,GAA+C,CAAC,EAKlE,EAAE,EAAE;QAL8D,EACjE,QAAQ,EACR,cAAc,EACd,kBAAkB,GAAG,uCAAkB,CAAC,WAAW,OAEpD,EADI,KAAK,sBAJyD,oDAKlE,CADS;IAER,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IAE3D,IAAI,WAAW,GAAiC,UAAU,CAAA;IAE1D,QAAQ,kBAAkB,EAAE;QAC1B,KAAK,uCAAkB,CAAC,IAAI,CAAC,CAAC;YAC5B,WAAW,GAAG,YAAY,CAAA;YAC1B,MAAK;SACN;KACF;IAED,OAAO,CACL,wBAAC,uBAAO,kBAAC,SAAS,EAAC,UAAU,IAAK,KAAK,eACrC,uBAAC,mBAAQ,kBAAC,EAAE,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,gBAClE,uBAAC,uBAAO,kBAAC,OAAO,EAAC,cAAc,EAAC,SAAS,EAAC,SAAS,gBAChD,cAAc,IACP,IACD,EACX,uBAAC,uBAAO,kBAAC,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,cAAc,CAAC,gBACrF,QAAQ,IACD,KACF,CACX,CAAA;AACH,CAAC,CAAA;AAEQ,sCAAa"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ControlText = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const material_1 = require("@mui/material");
|
7
|
-
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
8
|
-
const ControlText = (_a) => {
|
9
|
-
var { value } = _a, props = tslib_1.__rest(_a, ["value"]);
|
10
|
-
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexCol, Object.assign({ className: `${props.className} toggle` }, props, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption", color: "white", fontWeight: "bold" }, { children: value })) })));
|
11
|
-
};
|
12
|
-
exports.ControlText = ControlText;
|
13
|
-
//# sourceMappingURL=SystemControlText.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SystemControlText.js","sourceRoot":"","sources":["../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA0C;AAC1C,yDAA6D;AAM7D,MAAM,WAAW,GAAqC,CAAC,EAAmB,EAAE,EAAE;QAAvB,EAAE,KAAK,OAAY,EAAP,KAAK,sBAAjB,SAAmB,CAAF;IACtE,OAAO,CACL,uBAAC,uBAAO,kBAAC,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,SAAS,IAAM,KAAK,cACxD,uBAAC,qBAAU,kBAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC,OAAO,EAAC,UAAU,EAAC,MAAM,gBAC1D,KAAK,IACK,IACL,CACX,CAAA;AACH,CAAC,CAAA;AAEQ,kCAAW"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./SystemControl"), exports);
|
5
|
-
tslib_1.__exportStar(require("./SystemControlText"), exports);
|
6
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/MobileSystemControls/controls/index.ts"],"names":[],"mappings":";;;AAAA,0DAA+B;AAC/B,8DAAmC"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./SystemControls"), exports);
|
5
|
-
tslib_1.__exportStar(require("./SystemControlsType"), exports);
|
6
|
-
tslib_1.__exportStar(require("./SystemControlsUnstyled"), exports);
|
7
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/MobileSystemControls/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC;AAChC,+DAAoC;AACpC,mEAAwC"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SearchBar = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
|
-
const Search_1 = tslib_1.__importDefault(require("@mui/icons-material/Search"));
|
7
|
-
const material_1 = require("@mui/material");
|
8
|
-
const react_button_1 = require("@xylabs/react-button");
|
9
|
-
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
10
|
-
const react_1 = require("react");
|
11
|
-
const SearchBar = (_a) => {
|
12
|
-
var { defaultValue, onSearch } = _a, props = tslib_1.__rest(_a, ["defaultValue", "onSearch"]);
|
13
|
-
const [term, setTerm] = (0, react_1.useState)();
|
14
|
-
return ((0, jsx_runtime_1.jsx)(react_flexbox_1.FlexRow, Object.assign({ alignItems: "stretch" }, props, { children: (0, jsx_runtime_1.jsxs)(material_1.Paper, Object.assign({ variant: "elevation", elevation: 0, style: { display: 'flex', overflow: 'hidden', width: '100%' } }, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { InputProps: { color: 'secondary', style: { borderBottomRightRadius: 0, borderTopRightRadius: 0, borderWidth: 0 } }, variant: "outlined", size: "small", defaultValue: defaultValue, fullWidth: true, onChange: (event) => setTerm(event.target.value), onKeyDown: (event) => {
|
15
|
-
if (event.key === 'Enter')
|
16
|
-
onSearch === null || onSearch === void 0 ? void 0 : onSearch(term);
|
17
|
-
} }), (0, jsx_runtime_1.jsx)(react_button_1.ButtonEx, Object.assign({ variant: "contained", style: { borderRadius: 0, borderTopLeftRadius: 0 }, color: "secondary", onClick: () => onSearch === null || onSearch === void 0 ? void 0 : onSearch(term) }, { children: (0, jsx_runtime_1.jsx)(Search_1.default, {}) }))] })) })));
|
18
|
-
};
|
19
|
-
exports.SearchBar = SearchBar;
|
20
|
-
//# sourceMappingURL=SearchBar.js.map
|