@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,11 +0,0 @@
|
|
1
|
-
// src/components/MobileSystemControls/SystemControlsType.ts
|
2
|
-
var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
|
3
|
-
SystemControlsType2["Left"] = "Left";
|
4
|
-
SystemControlsType2["Right"] = "Right";
|
5
|
-
SystemControlsType2["WindowShade"] = "WindowShade";
|
6
|
-
return SystemControlsType2;
|
7
|
-
})(SystemControlsType || {});
|
8
|
-
export {
|
9
|
-
SystemControlsType
|
10
|
-
};
|
11
|
-
//# sourceMappingURL=SystemControlsType.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsType.ts"],"sourcesContent":["export enum SystemControlsType {\n Left = 'Left',\n Right = 'Right',\n WindowShade = 'WindowShade',\n}\n"],"mappings":";AAAO,IAAK,qBAAL,kBAAKA,wBAAL;AACL,EAAAA,oBAAA,UAAO;AACP,EAAAA,oBAAA,WAAQ;AACR,EAAAA,oBAAA,iBAAc;AAHJ,SAAAA;AAAA,GAAA;","names":["SystemControlsType"]}
|
@@ -1,79 +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/MobileSystemControls/SystemControlsUnstyled.tsx
|
21
|
-
var SystemControlsUnstyled_exports = {};
|
22
|
-
__export(SystemControlsUnstyled_exports, {
|
23
|
-
SystemControlsUnstyled: () => SystemControlsUnstyled
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(SystemControlsUnstyled_exports);
|
26
|
-
var import_material2 = require("@mui/material");
|
27
|
-
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
28
|
-
var import_react_network = require("@xyo-network/react-network");
|
29
|
-
|
30
|
-
// src/components/MobileSystemControls/controls/SystemControl.tsx
|
31
|
-
var import_material = require("@mui/material");
|
32
|
-
var import_react_flexbox = require("@xylabs/react-flexbox");
|
33
|
-
var import_react = require("react");
|
34
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
35
|
-
var SystemControl = ({
|
36
|
-
children,
|
37
|
-
controlElement,
|
38
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
39
|
-
...props
|
40
|
-
}) => {
|
41
|
-
const [toggleControls, setToggleControls] = (0, import_react.useState)(false);
|
42
|
-
let orientation = "vertical";
|
43
|
-
switch (systemControlsType) {
|
44
|
-
case "Left" /* Left */: {
|
45
|
-
orientation = "horizontal";
|
46
|
-
break;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { className: "controls", ...props, children: [
|
50
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
51
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
52
|
-
] });
|
53
|
-
};
|
54
|
-
|
55
|
-
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
56
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
57
|
-
var SystemControlsUnstyled = ({
|
58
|
-
visible,
|
59
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
60
|
-
...props
|
61
|
-
}) => {
|
62
|
-
const isSmall = (0, import_material2.useMediaQuery)((theme) => theme.breakpoints.down("sm"));
|
63
|
-
if (visible || isSmall) {
|
64
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
65
|
-
SystemControl,
|
66
|
-
{
|
67
|
-
systemControlsType,
|
68
|
-
controlElement: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexRow, { className: "control-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_network.NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
|
69
|
-
}
|
70
|
-
) });
|
71
|
-
} else {
|
72
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, {});
|
73
|
-
}
|
74
|
-
};
|
75
|
-
// Annotate the CommonJS export names for ESM import in node:
|
76
|
-
0 && (module.exports = {
|
77
|
-
SystemControlsUnstyled
|
78
|
-
});
|
79
|
-
//# sourceMappingURL=SystemControlsUnstyled.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx","../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"sourcesContent":["import { Paper, Theme, useMediaQuery } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { NetworkSelectEx } from '@xyo-network/react-network'\n\nimport { SystemControl } from './controls'\nimport { SystemControlsType } from './SystemControlsType'\n\ninterface SystemControlsUnstyledProps extends FlexBoxProps {\n systemControlsType?: SystemControlsType\n visible?: boolean\n}\n\nconst SystemControlsUnstyled: React.FC<SystemControlsUnstyledProps> = ({\n visible,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const isSmall = useMediaQuery<Theme>((theme) => theme.breakpoints.down('sm'))\n\n if (visible || isSmall) {\n return (\n <FlexCol {...props} className={`${props.className} system-controls-type-${systemControlsType}`}>\n <SystemControl\n systemControlsType={systemControlsType}\n controlElement={\n <>\n <FlexRow className={'control-wrap'}>\n <Paper variant=\"elevation\" elevation={0}>\n <NetworkSelectEx responsive={false} className=\"network-ex\" />\n </Paper>\n </FlexRow>\n </>\n }\n />\n </FlexCol>\n )\n } else {\n return <FlexCol />\n }\n}\n\nexport type { SystemControlsUnstyledProps }\nexport { SystemControlsUnstyled }\n","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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,mBAA4C;AAC5C,IAAAC,wBAA+C;AAC/C,2BAAgC;;;ACFhC,sBAAwC;AACxC,2BAA+C;AAE/C,mBAAyB;AA2BrB;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,QAAI,uBAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,6CAAC,gCAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,gDAAC,4BAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,sDAAC,gCAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,4CAAC,gCAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;;;ADhBY,IAAAC,sBAAA;AAbZ,IAAM,yBAAgE,CAAC;AAAA,EACrE;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,cAAU,gCAAqB,CAAC,UAAU,MAAM,YAAY,KAAK,IAAI,CAAC;AAE5E,MAAI,WAAW,SAAS;AACtB,WACE,6CAAC,iCAAS,GAAG,OAAO,WAAW,GAAG,MAAM,SAAS,yBAAyB,kBAAkB,IAC1F;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,gBACE,6EACE,uDAAC,iCAAQ,WAAW,gBAClB,uDAAC,0BAAM,SAAQ,aAAY,WAAW,GACpC,uDAAC,wCAAgB,YAAY,OAAO,WAAU,cAAa,GAC7D,GACF,GACF;AAAA;AAAA,IAEJ,GACF;AAAA,EAEJ,OAAO;AACL,WAAO,6CAAC,iCAAQ;AAAA,EAClB;AACF;","names":["import_material","import_react_flexbox","import_jsx_runtime"]}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
2
|
-
import { Paper, useMediaQuery } from "@mui/material";
|
3
|
-
import { FlexCol as FlexCol2, FlexRow as FlexRow2 } from "@xylabs/react-flexbox";
|
4
|
-
import { NetworkSelectEx } from "@xyo-network/react-network";
|
5
|
-
|
6
|
-
// src/components/MobileSystemControls/controls/SystemControl.tsx
|
7
|
-
import { Collapse } from "@mui/material";
|
8
|
-
import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
|
9
|
-
import { useState } from "react";
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
11
|
-
var SystemControl = ({
|
12
|
-
children,
|
13
|
-
controlElement,
|
14
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
15
|
-
...props
|
16
|
-
}) => {
|
17
|
-
const [toggleControls, setToggleControls] = useState(false);
|
18
|
-
let orientation = "vertical";
|
19
|
-
switch (systemControlsType) {
|
20
|
-
case "Left" /* Left */: {
|
21
|
-
orientation = "horizontal";
|
22
|
-
break;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
return /* @__PURE__ */ jsxs(FlexRow, { className: "controls", ...props, children: [
|
26
|
-
/* @__PURE__ */ jsx(Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx(FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
27
|
-
/* @__PURE__ */ jsx(FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
28
|
-
] });
|
29
|
-
};
|
30
|
-
|
31
|
-
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
32
|
-
import { Fragment, jsx as jsx2 } from "react/jsx-runtime";
|
33
|
-
var SystemControlsUnstyled = ({
|
34
|
-
visible,
|
35
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
36
|
-
...props
|
37
|
-
}) => {
|
38
|
-
const isSmall = useMediaQuery((theme) => theme.breakpoints.down("sm"));
|
39
|
-
if (visible || isSmall) {
|
40
|
-
return /* @__PURE__ */ jsx2(FlexCol2, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ jsx2(
|
41
|
-
SystemControl,
|
42
|
-
{
|
43
|
-
systemControlsType,
|
44
|
-
controlElement: /* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2(FlexRow2, { className: "control-wrap", children: /* @__PURE__ */ jsx2(Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ jsx2(NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
|
45
|
-
}
|
46
|
-
) });
|
47
|
-
} else {
|
48
|
-
return /* @__PURE__ */ jsx2(FlexCol2, {});
|
49
|
-
}
|
50
|
-
};
|
51
|
-
export {
|
52
|
-
SystemControlsUnstyled
|
53
|
-
};
|
54
|
-
//# sourceMappingURL=SystemControlsUnstyled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/MobileSystemControls/SystemControlsUnstyled.tsx","../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"sourcesContent":["import { Paper, Theme, useMediaQuery } from '@mui/material'\nimport { FlexBoxProps, FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { NetworkSelectEx } from '@xyo-network/react-network'\n\nimport { SystemControl } from './controls'\nimport { SystemControlsType } from './SystemControlsType'\n\ninterface SystemControlsUnstyledProps extends FlexBoxProps {\n systemControlsType?: SystemControlsType\n visible?: boolean\n}\n\nconst SystemControlsUnstyled: React.FC<SystemControlsUnstyledProps> = ({\n visible,\n systemControlsType = SystemControlsType.WindowShade,\n ...props\n}) => {\n const isSmall = useMediaQuery<Theme>((theme) => theme.breakpoints.down('sm'))\n\n if (visible || isSmall) {\n return (\n <FlexCol {...props} className={`${props.className} system-controls-type-${systemControlsType}`}>\n <SystemControl\n systemControlsType={systemControlsType}\n controlElement={\n <>\n <FlexRow className={'control-wrap'}>\n <Paper variant=\"elevation\" elevation={0}>\n <NetworkSelectEx responsive={false} className=\"network-ex\" />\n </Paper>\n </FlexRow>\n </>\n }\n />\n </FlexCol>\n )\n } else {\n return <FlexCol />\n }\n}\n\nexport type { SystemControlsUnstyledProps }\nexport { SystemControlsUnstyled }\n","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"],"mappings":";AAAA,SAAS,OAAc,qBAAqB;AAC5C,SAAuB,WAAAA,UAAS,WAAAC,gBAAe;AAC/C,SAAS,uBAAuB;;;ACFhC,SAAS,gBAA+B;AACxC,SAAuB,SAAS,eAAe;AAE/C,SAAS,gBAAgB;AA2BrB,SAEI,KAFJ;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,qBAAC,WAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,wBAAC,YAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,8BAAC,WAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,oBAAC,WAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;;;ADhBY,mBAGM,OAAAC,YAHN;AAbZ,IAAM,yBAAgE,CAAC;AAAA,EACrE;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,UAAU,cAAqB,CAAC,UAAU,MAAM,YAAY,KAAK,IAAI,CAAC;AAE5E,MAAI,WAAW,SAAS;AACtB,WACE,gBAAAA,KAACC,UAAA,EAAS,GAAG,OAAO,WAAW,GAAG,MAAM,SAAS,yBAAyB,kBAAkB,IAC1F,0BAAAD;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,gBACE,gBAAAA,KAAA,YACE,0BAAAA,KAACE,UAAA,EAAQ,WAAW,gBAClB,0BAAAF,KAAC,SAAM,SAAQ,aAAY,WAAW,GACpC,0BAAAA,KAAC,mBAAgB,YAAY,OAAO,WAAU,cAAa,GAC7D,GACF,GACF;AAAA;AAAA,IAEJ,GACF;AAAA,EAEJ,OAAO;AACL,WAAO,gBAAAA,KAACC,UAAA,EAAQ;AAAA,EAClB;AACF;","names":["FlexCol","FlexRow","jsx","FlexCol","FlexRow"]}
|
@@ -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/MobileSystemControls/controls/SystemControl.tsx
|
21
|
-
var SystemControl_exports = {};
|
22
|
-
__export(SystemControl_exports, {
|
23
|
-
SystemControl: () => SystemControl
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(SystemControl_exports);
|
26
|
-
var import_material = require("@mui/material");
|
27
|
-
var import_react_flexbox = require("@xylabs/react-flexbox");
|
28
|
-
var import_react = require("react");
|
29
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
30
|
-
var SystemControl = ({
|
31
|
-
children,
|
32
|
-
controlElement,
|
33
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
34
|
-
...props
|
35
|
-
}) => {
|
36
|
-
const [toggleControls, setToggleControls] = (0, import_react.useState)(false);
|
37
|
-
let orientation = "vertical";
|
38
|
-
switch (systemControlsType) {
|
39
|
-
case "Left" /* Left */: {
|
40
|
-
orientation = "horizontal";
|
41
|
-
break;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { className: "controls", ...props, children: [
|
45
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
46
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
47
|
-
] });
|
48
|
-
};
|
49
|
-
// Annotate the CommonJS export names for ESM import in node:
|
50
|
-
0 && (module.exports = {
|
51
|
-
SystemControl
|
52
|
-
});
|
53
|
-
//# sourceMappingURL=SystemControl.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"sourcesContent":["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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAwC;AACxC,2BAA+C;AAE/C,mBAAyB;AA2BrB;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,QAAI,uBAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,6CAAC,gCAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,gDAAC,4BAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,sDAAC,gCAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,4CAAC,gCAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;","names":[]}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
// src/components/MobileSystemControls/controls/SystemControl.tsx
|
2
|
-
import { Collapse } from "@mui/material";
|
3
|
-
import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
|
4
|
-
import { useState } from "react";
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
6
|
-
var SystemControl = ({
|
7
|
-
children,
|
8
|
-
controlElement,
|
9
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
10
|
-
...props
|
11
|
-
}) => {
|
12
|
-
const [toggleControls, setToggleControls] = useState(false);
|
13
|
-
let orientation = "vertical";
|
14
|
-
switch (systemControlsType) {
|
15
|
-
case "Left" /* Left */: {
|
16
|
-
orientation = "horizontal";
|
17
|
-
break;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
return /* @__PURE__ */ jsxs(FlexRow, { className: "controls", ...props, children: [
|
21
|
-
/* @__PURE__ */ jsx(Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx(FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
22
|
-
/* @__PURE__ */ jsx(FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
23
|
-
] });
|
24
|
-
};
|
25
|
-
export {
|
26
|
-
SystemControl
|
27
|
-
};
|
28
|
-
//# sourceMappingURL=SystemControl.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx"],"sourcesContent":["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"],"mappings":";AAAA,SAAS,gBAA+B;AACxC,SAAuB,SAAS,eAAe;AAE/C,SAAS,gBAAgB;AA2BrB,SAEI,KAFJ;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,qBAAC,WAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,wBAAC,YAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,8BAAC,WAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,oBAAC,WAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;","names":[]}
|
@@ -1,36 +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/MobileSystemControls/controls/SystemControlText.tsx
|
21
|
-
var SystemControlText_exports = {};
|
22
|
-
__export(SystemControlText_exports, {
|
23
|
-
ControlText: () => ControlText
|
24
|
-
});
|
25
|
-
module.exports = __toCommonJS(SystemControlText_exports);
|
26
|
-
var import_material = require("@mui/material");
|
27
|
-
var import_react_flexbox = require("@xylabs/react-flexbox");
|
28
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
29
|
-
var ControlText = ({ value, ...props }) => {
|
30
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
|
31
|
-
};
|
32
|
-
// Annotate the CommonJS export names for ESM import in node:
|
33
|
-
0 && (module.exports = {
|
34
|
-
ControlText
|
35
|
-
});
|
36
|
-
//# sourceMappingURL=SystemControlText.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"sourcesContent":["import { Typography } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\ninterface SystemControlTextProps extends FlexBoxProps {\n value?: string\n}\n\nconst ControlText: React.FC<SystemControlTextProps> = ({ value, ...props }) => {\n return (\n <FlexCol className={`${props.className} toggle`} {...props}>\n <Typography variant=\"caption\" color=\"white\" fontWeight=\"bold\">\n {value}\n </Typography>\n </FlexCol>\n )\n}\n\nexport { ControlText }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA2B;AAC3B,2BAAsC;AAShC;AAHN,IAAM,cAAgD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AAC7E,SACE,4CAAC,gCAAQ,WAAW,GAAG,MAAM,SAAS,WAAY,GAAG,OACnD,sDAAC,8BAAW,SAAQ,WAAU,OAAM,SAAQ,YAAW,QACpD,iBACH,GACF;AAEJ;","names":[]}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
// src/components/MobileSystemControls/controls/SystemControlText.tsx
|
2
|
-
import { Typography } from "@mui/material";
|
3
|
-
import { FlexCol } from "@xylabs/react-flexbox";
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
5
|
-
var ControlText = ({ value, ...props }) => {
|
6
|
-
return /* @__PURE__ */ jsx(FlexCol, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
|
7
|
-
};
|
8
|
-
export {
|
9
|
-
ControlText
|
10
|
-
};
|
11
|
-
//# sourceMappingURL=SystemControlText.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"sourcesContent":["import { Typography } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\ninterface SystemControlTextProps extends FlexBoxProps {\n value?: string\n}\n\nconst ControlText: React.FC<SystemControlTextProps> = ({ value, ...props }) => {\n return (\n <FlexCol className={`${props.className} toggle`} {...props}>\n <Typography variant=\"caption\" color=\"white\" fontWeight=\"bold\">\n {value}\n </Typography>\n </FlexCol>\n )\n}\n\nexport { ControlText }\n"],"mappings":";AAAA,SAAS,kBAAkB;AAC3B,SAAuB,eAAe;AAShC;AAHN,IAAM,cAAgD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AAC7E,SACE,oBAAC,WAAQ,WAAW,GAAG,MAAM,SAAS,WAAY,GAAG,OACnD,8BAAC,cAAW,SAAQ,WAAU,OAAM,SAAQ,YAAW,QACpD,iBACH,GACF;AAEJ;","names":[]}
|
@@ -1,65 +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/MobileSystemControls/controls/index.ts
|
21
|
-
var controls_exports = {};
|
22
|
-
__export(controls_exports, {
|
23
|
-
ControlText: () => ControlText,
|
24
|
-
SystemControl: () => SystemControl
|
25
|
-
});
|
26
|
-
module.exports = __toCommonJS(controls_exports);
|
27
|
-
|
28
|
-
// src/components/MobileSystemControls/controls/SystemControl.tsx
|
29
|
-
var import_material = require("@mui/material");
|
30
|
-
var import_react_flexbox = require("@xylabs/react-flexbox");
|
31
|
-
var import_react = require("react");
|
32
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
33
|
-
var SystemControl = ({
|
34
|
-
children,
|
35
|
-
controlElement,
|
36
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
37
|
-
...props
|
38
|
-
}) => {
|
39
|
-
const [toggleControls, setToggleControls] = (0, import_react.useState)(false);
|
40
|
-
let orientation = "vertical";
|
41
|
-
switch (systemControlsType) {
|
42
|
-
case "Left" /* Left */: {
|
43
|
-
orientation = "horizontal";
|
44
|
-
break;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { className: "controls", ...props, children: [
|
48
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
49
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
50
|
-
] });
|
51
|
-
};
|
52
|
-
|
53
|
-
// src/components/MobileSystemControls/controls/SystemControlText.tsx
|
54
|
-
var import_material2 = require("@mui/material");
|
55
|
-
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
56
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
57
|
-
var ControlText = ({ value, ...props }) => {
|
58
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
|
59
|
-
};
|
60
|
-
// Annotate the CommonJS export names for ESM import in node:
|
61
|
-
0 && (module.exports = {
|
62
|
-
ControlText,
|
63
|
-
SystemControl
|
64
|
-
});
|
65
|
-
//# sourceMappingURL=index.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/index.ts","../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx","../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"sourcesContent":["export * from './SystemControl'\nexport * from './SystemControlText'\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 { Typography } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\ninterface SystemControlTextProps extends FlexBoxProps {\n value?: string\n}\n\nconst ControlText: React.FC<SystemControlTextProps> = ({ value, ...props }) => {\n return (\n <FlexCol className={`${props.className} toggle`} {...props}>\n <Typography variant=\"caption\" color=\"white\" fontWeight=\"bold\">\n {value}\n </Typography>\n </FlexCol>\n )\n}\n\nexport { ControlText }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,sBAAwC;AACxC,2BAA+C;AAE/C,mBAAyB;AA2BrB;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,QAAI,uBAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,6CAAC,gCAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,gDAAC,4BAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,sDAAC,gCAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,4CAAC,gCAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;;;ACzCA,IAAAA,mBAA2B;AAC3B,IAAAC,wBAAsC;AAShC,IAAAC,sBAAA;AAHN,IAAM,cAAgD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AAC7E,SACE,6CAAC,iCAAQ,WAAW,GAAG,MAAM,SAAS,WAAY,GAAG,OACnD,uDAAC,+BAAW,SAAQ,WAAU,OAAM,SAAQ,YAAW,QACpD,iBACH,GACF;AAEJ;","names":["import_material","import_react_flexbox","import_jsx_runtime"]}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
// src/components/MobileSystemControls/controls/SystemControl.tsx
|
2
|
-
import { Collapse } from "@mui/material";
|
3
|
-
import { FlexCol, FlexRow } from "@xylabs/react-flexbox";
|
4
|
-
import { useState } from "react";
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
6
|
-
var SystemControl = ({
|
7
|
-
children,
|
8
|
-
controlElement,
|
9
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
10
|
-
...props
|
11
|
-
}) => {
|
12
|
-
const [toggleControls, setToggleControls] = useState(false);
|
13
|
-
let orientation = "vertical";
|
14
|
-
switch (systemControlsType) {
|
15
|
-
case "Left" /* Left */: {
|
16
|
-
orientation = "horizontal";
|
17
|
-
break;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
return /* @__PURE__ */ jsxs(FlexRow, { className: "controls", ...props, children: [
|
21
|
-
/* @__PURE__ */ jsx(Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ jsx(FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
22
|
-
/* @__PURE__ */ jsx(FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
23
|
-
] });
|
24
|
-
};
|
25
|
-
|
26
|
-
// src/components/MobileSystemControls/controls/SystemControlText.tsx
|
27
|
-
import { Typography } from "@mui/material";
|
28
|
-
import { FlexCol as FlexCol2 } from "@xylabs/react-flexbox";
|
29
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
30
|
-
var ControlText = ({ value, ...props }) => {
|
31
|
-
return /* @__PURE__ */ jsx2(FlexCol2, { className: `${props.className} toggle`, ...props, children: /* @__PURE__ */ jsx2(Typography, { variant: "caption", color: "white", fontWeight: "bold", children: value }) });
|
32
|
-
};
|
33
|
-
export {
|
34
|
-
ControlText,
|
35
|
-
SystemControl
|
36
|
-
};
|
37
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/MobileSystemControls/controls/SystemControl.tsx","../../../../../src/components/MobileSystemControls/controls/SystemControlText.tsx"],"sourcesContent":["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 { Typography } from '@mui/material'\nimport { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'\n\ninterface SystemControlTextProps extends FlexBoxProps {\n value?: string\n}\n\nconst ControlText: React.FC<SystemControlTextProps> = ({ value, ...props }) => {\n return (\n <FlexCol className={`${props.className} toggle`} {...props}>\n <Typography variant=\"caption\" color=\"white\" fontWeight=\"bold\">\n {value}\n </Typography>\n </FlexCol>\n )\n}\n\nexport { ControlText }\n"],"mappings":";AAAA,SAAS,gBAA+B;AACxC,SAAuB,SAAS,eAAe;AAE/C,SAAS,gBAAgB;AA2BrB,SAEI,KAFJ;AAlBJ,IAAM,gBAA4D,CAAC;AAAA,EACjE;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AAE1D,MAAI,cAA4C;AAEhD,UAAQ,oBAAoB;AAAA,IAC1B,wBAA8B;AAC5B,oBAAc;AACd;AAAA,IACF;AAAA,EACF;AAEA,SACE,qBAAC,WAAQ,WAAU,YAAY,GAAG,OAChC;AAAA,wBAAC,YAAS,IAAI,gBAAgB,aAA0B,SAAS,KAC/D,8BAAC,WAAQ,SAAQ,gBAAe,WAAU,WACvC,0BACH,GACF;AAAA,IACA,oBAAC,WAAQ,OAAO,EAAE,QAAQ,UAAU,GAAG,SAAS,MAAM,kBAAkB,CAAC,cAAc,GACpF,UACH;AAAA,KACF;AAEJ;;;ACzCA,SAAS,kBAAkB;AAC3B,SAAuB,WAAAA,gBAAe;AAShC,gBAAAC,YAAA;AAHN,IAAM,cAAgD,CAAC,EAAE,OAAO,GAAG,MAAM,MAAM;AAC7E,SACE,gBAAAA,KAACD,UAAA,EAAQ,WAAW,GAAG,MAAM,SAAS,WAAY,GAAG,OACnD,0BAAAC,KAAC,cAAW,SAAQ,WAAU,OAAM,SAAQ,YAAW,QACpD,iBACH,GACF;AAEJ;","names":["FlexCol","jsx"]}
|
@@ -1,161 +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/MobileSystemControls/index.ts
|
21
|
-
var MobileSystemControls_exports = {};
|
22
|
-
__export(MobileSystemControls_exports, {
|
23
|
-
SystemControls: () => SystemControls,
|
24
|
-
SystemControlsType: () => SystemControlsType,
|
25
|
-
SystemControlsUnstyled: () => SystemControlsUnstyled
|
26
|
-
});
|
27
|
-
module.exports = __toCommonJS(MobileSystemControls_exports);
|
28
|
-
|
29
|
-
// src/components/MobileSystemControls/SystemControls.tsx
|
30
|
-
var import_react_flexbox3 = require("@xylabs/react-flexbox");
|
31
|
-
|
32
|
-
// src/components/MobileSystemControls/SystemControlsRoot.tsx
|
33
|
-
var import_material3 = require("@mui/material");
|
34
|
-
|
35
|
-
// src/components/MobileSystemControls/SystemControlsType.ts
|
36
|
-
var SystemControlsType = /* @__PURE__ */ ((SystemControlsType2) => {
|
37
|
-
SystemControlsType2["Left"] = "Left";
|
38
|
-
SystemControlsType2["Right"] = "Right";
|
39
|
-
SystemControlsType2["WindowShade"] = "WindowShade";
|
40
|
-
return SystemControlsType2;
|
41
|
-
})(SystemControlsType || {});
|
42
|
-
|
43
|
-
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
44
|
-
var import_material2 = require("@mui/material");
|
45
|
-
var import_react_flexbox2 = require("@xylabs/react-flexbox");
|
46
|
-
var import_react_network = require("@xyo-network/react-network");
|
47
|
-
|
48
|
-
// src/components/MobileSystemControls/controls/SystemControl.tsx
|
49
|
-
var import_material = require("@mui/material");
|
50
|
-
var import_react_flexbox = require("@xylabs/react-flexbox");
|
51
|
-
var import_react = require("react");
|
52
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
53
|
-
var SystemControl = ({
|
54
|
-
children,
|
55
|
-
controlElement,
|
56
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
57
|
-
...props
|
58
|
-
}) => {
|
59
|
-
const [toggleControls, setToggleControls] = (0, import_react.useState)(false);
|
60
|
-
let orientation = "vertical";
|
61
|
-
switch (systemControlsType) {
|
62
|
-
case "Left" /* Left */: {
|
63
|
-
orientation = "horizontal";
|
64
|
-
break;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_flexbox.FlexRow, { className: "controls", ...props, children: [
|
68
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.Collapse, { in: toggleControls, orientation, timeout: 500, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexRow, { bgcolor: "primary.main", className: "control", children: controlElement }) }),
|
69
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_flexbox.FlexCol, { style: { cursor: "pointer" }, onClick: () => setToggleControls(!toggleControls), children })
|
70
|
-
] });
|
71
|
-
};
|
72
|
-
|
73
|
-
// src/components/MobileSystemControls/SystemControlsUnstyled.tsx
|
74
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
75
|
-
var SystemControlsUnstyled = ({
|
76
|
-
visible,
|
77
|
-
systemControlsType = "WindowShade" /* WindowShade */,
|
78
|
-
...props
|
79
|
-
}) => {
|
80
|
-
const isSmall = (0, import_material2.useMediaQuery)((theme) => theme.breakpoints.down("sm"));
|
81
|
-
if (visible || isSmall) {
|
82
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, { ...props, className: `${props.className} system-controls-type-${systemControlsType}`, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
83
|
-
SystemControl,
|
84
|
-
{
|
85
|
-
systemControlsType,
|
86
|
-
controlElement: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexRow, { className: "control-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Paper, { variant: "elevation", elevation: 0, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_network.NetworkSelectEx, { responsive: false, className: "network-ex" }) }) }) })
|
87
|
-
}
|
88
|
-
) });
|
89
|
-
} else {
|
90
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_flexbox2.FlexCol, {});
|
91
|
-
}
|
92
|
-
};
|
93
|
-
|
94
|
-
// src/components/MobileSystemControls/SystemControlsRoot.tsx
|
95
|
-
var SystemControlsRoot = (0, import_material3.styled)(SystemControlsUnstyled, { name: "SystemControls", slot: "Root" })(({ theme }) => ({
|
96
|
-
// shared defaults
|
97
|
-
["&"]: {
|
98
|
-
".toggle": {
|
99
|
-
backgroundColor: theme.palette.primary.main
|
100
|
-
},
|
101
|
-
alignItems: "start",
|
102
|
-
zIndex: 1
|
103
|
-
},
|
104
|
-
// WindowShade System Controls styles
|
105
|
-
[`&.system-controls-type-${"WindowShade" /* WindowShade */}`]: {
|
106
|
-
".control": {
|
107
|
-
borderRadius: "0 0 5px 5px",
|
108
|
-
flexDirection: "row",
|
109
|
-
flexGrow: 1,
|
110
|
-
justifyContent: "space-around",
|
111
|
-
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
112
|
-
},
|
113
|
-
".controls": {
|
114
|
-
alignItems: "stretch",
|
115
|
-
flexDirection: "column",
|
116
|
-
flexGrow: 1
|
117
|
-
},
|
118
|
-
".toggle": {
|
119
|
-
borderRadius: "0 0 5px 5px",
|
120
|
-
padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`
|
121
|
-
},
|
122
|
-
flexDirection: "row",
|
123
|
-
position: "absolute",
|
124
|
-
top: 0,
|
125
|
-
width: "100%"
|
126
|
-
},
|
127
|
-
// Left System Control styles
|
128
|
-
[`&.system-controls-type-${"Left" /* Left */}`]: {
|
129
|
-
".control": {
|
130
|
-
alignItems: "start",
|
131
|
-
flexDirection: "column",
|
132
|
-
padding: `${theme.spacing(2)} ${theme.spacing(2.5)}`
|
133
|
-
},
|
134
|
-
".control-wrap": {
|
135
|
-
marginBottom: `${theme.spacing(2)}`
|
136
|
-
},
|
137
|
-
".toggle": {
|
138
|
-
borderRadius: "0 5px 5px 0",
|
139
|
-
padding: `${theme.spacing(1)} ${theme.spacing(0.5)}`,
|
140
|
-
writingMode: "vertical-rl"
|
141
|
-
},
|
142
|
-
flexDirection: "column",
|
143
|
-
left: 0,
|
144
|
-
position: "fixed",
|
145
|
-
top: "30vh",
|
146
|
-
width: "auto"
|
147
|
-
}
|
148
|
-
}));
|
149
|
-
|
150
|
-
// src/components/MobileSystemControls/SystemControls.tsx
|
151
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
152
|
-
var SystemControls = (props) => {
|
153
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_flexbox3.FlexCol, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SystemControlsRoot, { ...props }) });
|
154
|
-
};
|
155
|
-
// Annotate the CommonJS export names for ESM import in node:
|
156
|
-
0 && (module.exports = {
|
157
|
-
SystemControls,
|
158
|
-
SystemControlsType,
|
159
|
-
SystemControlsUnstyled
|
160
|
-
});
|
161
|
-
//# sourceMappingURL=index.cjs.map
|