@xyo-network/react-appbar 2.64.0-rc.7 → 2.64.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/components/AppBar/Application.cjs +286 -0
- package/dist/browser/components/AppBar/Application.cjs.map +1 -0
- package/dist/browser/components/AppBar/Application.d.cts +10 -0
- package/dist/browser/components/AppBar/Application.d.cts.map +1 -0
- package/dist/browser/components/AppBar/Application.js +252 -6
- package/dist/browser/components/AppBar/Application.js.map +1 -1
- package/dist/browser/components/AppBar/index.cjs +288 -0
- package/dist/browser/components/AppBar/index.cjs.map +1 -0
- package/dist/browser/components/AppBar/index.d.cts +2 -0
- package/dist/browser/components/AppBar/index.d.cts.map +1 -0
- package/dist/browser/components/AppBar/index.js +264 -1
- package/dist/browser/components/AppBar/index.js.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs +61 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js +13 -3
- package/dist/browser/components/CollapsibleDrawer/CollapseToggle.js.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs +66 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js +14 -4
- package/dist/browser/components/CollapsibleDrawer/CollapsibleDrawer.js.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/index.cjs +96 -0
- package/dist/browser/components/CollapsibleDrawer/index.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/index.d.cts +3 -0
- package/dist/browser/components/CollapsibleDrawer/index.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/index.js +72 -2
- package/dist/browser/components/CollapsibleDrawer/index.js.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs +92 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js +4 -3
- package/dist/browser/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/SystemControls.cjs +143 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.d.cts +5 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControls.js +117 -5
- package/dist/browser/components/MobileSystemControls/SystemControls.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs +134 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js +57 -5
- package/dist/browser/components/MobileSystemControls/SystemControlsRoot.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs +32 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.js +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsType.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs +75 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js +35 -9
- package/dist/browser/components/MobileSystemControls/SystemControlsUnstyled.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.cjs +49 -0
- package/dist/{node/components/MobileSystemControls/controls/SystemControl.mjs.map → browser/components/MobileSystemControls/controls/SystemControl.cjs.map} +1 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.js +5 -5
- package/dist/browser/components/MobileSystemControls/controls/SystemControl.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.cjs +32 -0
- package/dist/{node/components/MobileSystemControls/controls/SystemControlText.mjs.map → browser/components/MobileSystemControls/controls/SystemControlText.cjs.map} +1 -1
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js +3 -2
- package/dist/browser/components/MobileSystemControls/controls/SystemControlText.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/controls/index.cjs +60 -0
- package/dist/browser/components/MobileSystemControls/controls/index.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/index.d.cts +3 -0
- package/dist/browser/components/MobileSystemControls/controls/index.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/controls/index.js +36 -2
- package/dist/browser/components/MobileSystemControls/controls/index.js.map +1 -1
- package/dist/browser/components/MobileSystemControls/index.cjs +155 -0
- package/dist/browser/components/MobileSystemControls/index.cjs.map +1 -0
- package/dist/browser/components/MobileSystemControls/index.d.cts +4 -0
- package/dist/browser/components/MobileSystemControls/index.d.cts.map +1 -0
- package/dist/browser/components/MobileSystemControls/index.js +131 -3
- package/dist/browser/components/MobileSystemControls/index.js.map +1 -1
- package/dist/browser/components/SearchBar/SearchBar.cjs +53 -0
- package/dist/browser/components/SearchBar/SearchBar.cjs.map +1 -0
- package/dist/browser/components/SearchBar/SearchBar.d.cts +7 -0
- package/dist/browser/components/SearchBar/SearchBar.d.cts.map +1 -0
- package/dist/browser/components/SearchBar/SearchBar.js +3 -2
- package/dist/browser/components/SearchBar/SearchBar.js.map +1 -1
- package/dist/browser/components/SearchBar/index.cjs +55 -0
- package/dist/browser/components/SearchBar/index.cjs.map +1 -0
- package/dist/browser/components/SearchBar/index.d.cts +2 -0
- package/dist/browser/components/SearchBar/index.d.cts.map +1 -0
- package/dist/browser/components/SearchBar/index.js +31 -1
- package/dist/browser/components/SearchBar/index.js.map +1 -1
- package/dist/browser/components/SiteMenu/Menu.cjs +193 -0
- package/dist/browser/components/SiteMenu/Menu.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/Menu.d.cts +9 -0
- package/dist/browser/components/SiteMenu/Menu.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/Menu.js +144 -13
- package/dist/browser/components/SiteMenu/Menu.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +153 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js +73 -13
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/index.cjs +155 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.d.cts +2 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/index.js +131 -1
- package/dist/browser/components/SiteMenu/MenuListItem/index.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +33 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +3 -2
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +31 -0
- package/dist/{node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.mjs.map → browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +3 -2
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +34 -0
- package/dist/{node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.mjs.map → browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +3 -2
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs +54 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js +30 -3
- package/dist/browser/components/SiteMenu/MenuListItem/list-item-components/index.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +31 -0
- package/dist/{node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.mjs.map → browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +3 -2
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +43 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +3 -2
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs +53 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js +29 -2
- package/dist/browser/components/SiteMenu/MenuListItem/sub-nav/index.js.map +1 -1
- package/dist/browser/components/SiteMenu/MenuSection.cjs +166 -0
- package/dist/browser/components/SiteMenu/MenuSection.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/MenuSection.d.cts +11 -0
- package/dist/browser/components/SiteMenu/MenuSection.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/MenuSection.js +138 -7
- package/dist/browser/components/SiteMenu/MenuSection.js.map +1 -1
- package/dist/browser/components/SiteMenu/hooks/index.cjs +58 -0
- package/dist/browser/components/SiteMenu/hooks/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/index.d.cts +2 -0
- package/dist/browser/components/SiteMenu/hooks/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/index.js +34 -1
- package/dist/browser/components/SiteMenu/hooks/index.js.map +1 -1
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs +56 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js +12 -2
- package/dist/browser/components/SiteMenu/hooks/useMenuItemsShared.js.map +1 -1
- package/dist/browser/components/SiteMenu/index.cjs +233 -0
- package/dist/browser/components/SiteMenu/index.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/index.d.cts +6 -0
- package/dist/browser/components/SiteMenu/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/index.js +209 -5
- package/dist/browser/components/SiteMenu/index.js.map +1 -1
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs +19 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
- package/dist/browser/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs +19 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.cjs.map +1 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
- package/dist/browser/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/index.cjs +19 -0
- package/dist/{node/components/SiteMenu/lib/index.mjs.map → browser/components/SiteMenu/lib/index.cjs.map} +1 -1
- package/dist/browser/components/SiteMenu/lib/index.d.cts +3 -0
- package/dist/browser/components/SiteMenu/lib/index.d.cts.map +1 -0
- package/dist/browser/components/SiteMenu/lib/index.js +0 -2
- package/dist/browser/components/SiteMenu/lib/index.js.map +1 -1
- package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs +72 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/ContextToolbar.js +45 -4
- package/dist/browser/components/Toolbar/Context/ContextToolbar.js.map +1 -1
- package/dist/browser/components/Toolbar/Context/Logo.cjs +33 -0
- package/dist/{node/components/Toolbar/Context/Logo.mjs.map → browser/components/Toolbar/Context/Logo.cjs.map} +1 -1
- package/dist/browser/components/Toolbar/Context/Logo.d.cts +3 -0
- package/dist/browser/components/Toolbar/Context/Logo.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/Logo.js +3 -2
- package/dist/browser/components/Toolbar/Context/Logo.js.map +1 -1
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs +63 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.js +18 -7
- package/dist/browser/components/Toolbar/Context/LogoLinkEx.js.map +1 -1
- package/dist/browser/components/Toolbar/Context/index.cjs +74 -0
- package/dist/browser/components/Toolbar/Context/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/Context/index.d.cts +2 -0
- package/dist/browser/components/Toolbar/Context/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/Context/index.js +50 -1
- package/dist/browser/components/Toolbar/Context/index.js.map +1 -1
- package/dist/browser/components/Toolbar/System/SystemToolbar.cjs +220 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.cjs.map +1 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.d.cts +15 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/System/SystemToolbar.js +179 -8
- package/dist/browser/components/Toolbar/System/SystemToolbar.js.map +1 -1
- package/dist/browser/components/Toolbar/System/index.cjs +222 -0
- package/dist/browser/components/Toolbar/System/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/System/index.d.cts +2 -0
- package/dist/browser/components/Toolbar/System/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/System/index.js +198 -1
- package/dist/browser/components/Toolbar/System/index.js.map +1 -1
- package/dist/browser/components/Toolbar/index.cjs +271 -0
- package/dist/browser/components/Toolbar/index.cjs.map +1 -0
- package/dist/browser/components/Toolbar/index.d.cts +3 -0
- package/dist/browser/components/Toolbar/index.d.cts.map +1 -0
- package/dist/browser/components/Toolbar/index.js +247 -2
- package/dist/browser/components/Toolbar/index.js.map +1 -1
- package/dist/browser/components/index.cjs +550 -0
- package/dist/browser/components/index.cjs.map +1 -0
- package/dist/browser/components/index.d.cts +7 -0
- package/dist/browser/components/index.d.cts.map +1 -0
- package/dist/browser/components/index.js +526 -6
- package/dist/browser/components/index.js.map +1 -1
- package/dist/browser/contexts/Collapsible/State.cjs +19 -0
- package/dist/browser/contexts/Collapsible/State.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/State.d.cts +9 -0
- package/dist/browser/contexts/Collapsible/State.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/context.cjs +28 -0
- package/dist/{node/contexts/Collapsible/context.mjs.map → browser/contexts/Collapsible/context.cjs.map} +1 -1
- package/dist/browser/contexts/Collapsible/context.d.cts +4 -0
- package/dist/browser/contexts/Collapsible/context.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/context.js +2 -1
- package/dist/browser/contexts/Collapsible/context.js.map +1 -1
- package/dist/browser/contexts/Collapsible/index.cjs +52 -0
- package/dist/browser/contexts/Collapsible/index.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/index.d.cts +4 -0
- package/dist/browser/contexts/Collapsible/index.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/index.js +28 -3
- package/dist/browser/contexts/Collapsible/index.js.map +1 -1
- package/dist/browser/contexts/Collapsible/provider.cjs +45 -0
- package/dist/browser/contexts/Collapsible/provider.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/provider.d.cts +8 -0
- package/dist/browser/contexts/Collapsible/provider.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/provider.js +9 -3
- package/dist/browser/contexts/Collapsible/provider.js.map +1 -1
- package/dist/browser/contexts/Collapsible/use.cjs +34 -0
- package/dist/browser/contexts/Collapsible/use.cjs.map +1 -0
- package/dist/browser/contexts/Collapsible/use.d.cts +2 -0
- package/dist/browser/contexts/Collapsible/use.d.cts.map +1 -0
- package/dist/browser/contexts/Collapsible/use.js +8 -2
- package/dist/browser/contexts/Collapsible/use.js.map +1 -1
- package/dist/browser/contexts/index.cjs +52 -0
- package/dist/browser/contexts/index.cjs.map +1 -0
- package/dist/browser/contexts/index.d.cts +2 -0
- package/dist/browser/contexts/index.d.cts.map +1 -0
- package/dist/browser/contexts/index.js +28 -1
- package/dist/browser/contexts/index.js.map +1 -1
- package/dist/browser/index.cjs +569 -0
- package/dist/browser/index.cjs.map +1 -0
- package/dist/browser/index.d.cts +3 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/browser/index.js +545 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/docs.json +96215 -0
- package/dist/node/components/AppBar/Application.cjs +290 -0
- package/dist/node/components/AppBar/Application.cjs.map +1 -0
- package/dist/node/components/AppBar/Application.d.cts +10 -0
- package/dist/node/components/AppBar/Application.d.cts.map +1 -0
- package/dist/node/components/AppBar/Application.js +256 -34
- package/dist/node/components/AppBar/Application.js.map +1 -1
- package/dist/node/components/AppBar/index.cjs +292 -0
- package/dist/node/components/AppBar/index.cjs.map +1 -0
- package/dist/node/components/AppBar/index.d.cts +2 -0
- package/dist/node/components/AppBar/index.d.cts.map +1 -0
- package/dist/node/components/AppBar/index.js +264 -22
- package/dist/node/components/AppBar/index.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs +65 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.cts +4 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.mts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.d.ts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.js +27 -41
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs +70 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.d.cts +5 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js +21 -35
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/index.cjs +101 -0
- package/dist/node/components/CollapsibleDrawer/index.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/index.d.cts +3 -0
- package/dist/node/components/CollapsibleDrawer/index.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/index.js +70 -22
- package/dist/node/components/CollapsibleDrawer/index.js.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs +97 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.cjs.map +1 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.cts +4 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.cts.map +1 -0
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.mts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.d.ts.map +1 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js +32 -43
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControls.cjs +147 -0
- package/dist/node/components/MobileSystemControls/SystemControls.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControls.d.cts +5 -0
- package/dist/node/components/MobileSystemControls/SystemControls.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControls.js +116 -28
- package/dist/node/components/MobileSystemControls/SystemControls.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs +138 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.d.cts +4 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.js +57 -29
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsType.cjs +36 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.d.cts +6 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsType.js +3 -26
- package/dist/node/components/MobileSystemControls/SystemControlsType.js.map +1 -1
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs +79 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.d.cts +11 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js +39 -37
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs +53 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.d.cts +11 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControl.js +14 -38
- package/dist/node/components/MobileSystemControls/controls/SystemControl.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs +36 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.d.cts +8 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.js +8 -31
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.js.map +1 -1
- package/dist/node/components/MobileSystemControls/controls/index.cjs +65 -0
- package/dist/node/components/MobileSystemControls/controls/index.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/index.d.cts +3 -0
- package/dist/node/components/MobileSystemControls/controls/index.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/controls/index.js +34 -22
- package/dist/node/components/MobileSystemControls/controls/index.js.map +1 -1
- package/dist/node/components/MobileSystemControls/index.cjs +161 -0
- package/dist/node/components/MobileSystemControls/index.cjs.map +1 -0
- package/dist/node/components/MobileSystemControls/index.d.cts +4 -0
- package/dist/node/components/MobileSystemControls/index.d.cts.map +1 -0
- package/dist/node/components/MobileSystemControls/index.js +129 -24
- package/dist/node/components/MobileSystemControls/index.js.map +1 -1
- package/dist/node/components/SearchBar/SearchBar.cjs +57 -0
- package/dist/node/components/SearchBar/{SearchBar.mjs.map → SearchBar.cjs.map} +1 -1
- package/dist/node/components/SearchBar/SearchBar.d.cts +7 -0
- package/dist/node/components/SearchBar/SearchBar.d.cts.map +1 -0
- package/dist/node/components/SearchBar/SearchBar.js +16 -39
- package/dist/node/components/SearchBar/SearchBar.js.map +1 -1
- package/dist/node/components/SearchBar/index.cjs +59 -0
- package/dist/node/components/SearchBar/index.cjs.map +1 -0
- package/dist/node/components/SearchBar/index.d.cts +2 -0
- package/dist/node/components/SearchBar/index.d.cts.map +1 -0
- package/dist/node/components/SearchBar/index.js +30 -21
- package/dist/node/components/SearchBar/index.js.map +1 -1
- package/dist/node/components/SiteMenu/Menu.cjs +197 -0
- package/dist/node/components/SiteMenu/Menu.cjs.map +1 -0
- package/dist/node/components/SiteMenu/Menu.d.cts +9 -0
- package/dist/node/components/SiteMenu/Menu.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/Menu.js +148 -41
- package/dist/node/components/SiteMenu/Menu.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs +157 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js +85 -49
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/index.cjs +159 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.d.cts +2 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/index.js +130 -21
- package/dist/node/components/SiteMenu/MenuListItem/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs +37 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.mts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.d.ts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js +9 -32
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs +35 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs +38 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts +7 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs +60 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.d.cts +4 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js +29 -25
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs +35 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js +7 -30
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs +47 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts +8 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.mts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.d.ts.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js +12 -35
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs +58 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.d.cts +3 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js +28 -23
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.js.map +1 -1
- package/dist/node/components/SiteMenu/MenuSection.cjs +170 -0
- package/dist/node/components/SiteMenu/MenuSection.cjs.map +1 -0
- package/dist/node/components/SiteMenu/MenuSection.d.cts +11 -0
- package/dist/node/components/SiteMenu/MenuSection.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/MenuSection.js +141 -34
- package/dist/node/components/SiteMenu/MenuSection.js.map +1 -1
- package/dist/node/components/SiteMenu/hooks/index.cjs +62 -0
- package/dist/node/components/SiteMenu/hooks/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/hooks/index.d.cts +2 -0
- package/dist/node/components/SiteMenu/hooks/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/hooks/index.js +33 -21
- package/dist/node/components/SiteMenu/hooks/index.js.map +1 -1
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs +60 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.cjs.map +1 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.d.cts +7 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js +19 -33
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.js.map +1 -1
- package/dist/node/components/SiteMenu/index.cjs +240 -0
- package/dist/node/components/SiteMenu/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/index.d.cts +6 -0
- package/dist/node/components/SiteMenu/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/index.js +209 -30
- package/dist/node/components/SiteMenu/index.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.d.cts +5 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.js +0 -16
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.d.cts +12 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/NavListItemProps.js +0 -16
- package/dist/node/components/SiteMenu/lib/NavListItemProps.js.map +1 -1
- package/dist/node/components/SiteMenu/lib/index.cjs +19 -0
- package/dist/node/components/SiteMenu/lib/index.cjs.map +1 -0
- package/dist/node/components/SiteMenu/lib/index.d.cts +3 -0
- package/dist/node/components/SiteMenu/lib/index.d.cts.map +1 -0
- package/dist/node/components/SiteMenu/lib/index.js +0 -24
- package/dist/node/components/SiteMenu/lib/index.js.map +1 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.cjs +76 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.d.cts +9 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/ContextToolbar.js +46 -29
- package/dist/node/components/Toolbar/Context/ContextToolbar.js.map +1 -1
- package/dist/node/components/Toolbar/Context/Logo.cjs +37 -0
- package/dist/node/components/Toolbar/Context/Logo.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/Logo.d.cts +3 -0
- package/dist/node/components/Toolbar/Context/Logo.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/Logo.js +8 -31
- package/dist/node/components/Toolbar/Context/Logo.js.map +1 -1
- package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs +67 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.d.cts +7 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/LogoLinkEx.js +23 -36
- package/dist/node/components/Toolbar/Context/LogoLinkEx.js.map +1 -1
- package/dist/node/components/Toolbar/Context/index.cjs +78 -0
- package/dist/node/components/Toolbar/Context/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/Context/index.d.cts +2 -0
- package/dist/node/components/Toolbar/Context/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/Context/index.js +49 -21
- package/dist/node/components/Toolbar/Context/index.js.map +1 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.cjs +224 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.cjs.map +1 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.d.cts +15 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.d.cts.map +1 -0
- package/dist/node/components/Toolbar/System/SystemToolbar.js +184 -37
- package/dist/node/components/Toolbar/System/SystemToolbar.js.map +1 -1
- package/dist/node/components/Toolbar/System/index.cjs +226 -0
- package/dist/node/components/Toolbar/System/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/System/index.d.cts +2 -0
- package/dist/node/components/Toolbar/System/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/System/index.js +198 -22
- package/dist/node/components/Toolbar/System/index.js.map +1 -1
- package/dist/node/components/Toolbar/index.cjs +276 -0
- package/dist/node/components/Toolbar/index.cjs.map +1 -0
- package/dist/node/components/Toolbar/index.d.cts +3 -0
- package/dist/node/components/Toolbar/index.d.cts.map +1 -0
- package/dist/node/components/Toolbar/index.js +247 -24
- package/dist/node/components/Toolbar/index.js.map +1 -1
- package/dist/node/components/index.cjs +566 -0
- package/dist/node/components/index.cjs.map +1 -0
- package/dist/node/components/index.d.cts +7 -0
- package/dist/node/components/index.d.cts.map +1 -0
- package/dist/node/components/index.js +525 -31
- package/dist/node/components/index.js.map +1 -1
- package/dist/node/contexts/Collapsible/State.cjs +19 -0
- package/dist/node/contexts/Collapsible/State.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/State.d.cts +9 -0
- package/dist/node/contexts/Collapsible/State.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/State.js +0 -16
- package/dist/node/contexts/Collapsible/State.js.map +1 -1
- package/dist/node/contexts/Collapsible/context.cjs +32 -0
- package/dist/node/contexts/Collapsible/context.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/context.d.cts +4 -0
- package/dist/node/contexts/Collapsible/context.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/context.js +5 -28
- package/dist/node/contexts/Collapsible/context.js.map +1 -1
- package/dist/node/contexts/Collapsible/index.cjs +57 -0
- package/dist/node/contexts/Collapsible/index.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/index.d.cts +4 -0
- package/dist/node/contexts/Collapsible/index.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/index.js +27 -25
- package/dist/node/contexts/Collapsible/index.js.map +1 -1
- package/dist/node/contexts/Collapsible/provider.cjs +49 -0
- package/dist/node/contexts/Collapsible/provider.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/provider.d.cts +8 -0
- package/dist/node/contexts/Collapsible/provider.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/provider.js +17 -35
- package/dist/node/contexts/Collapsible/provider.js.map +1 -1
- package/dist/node/contexts/Collapsible/use.cjs +38 -0
- package/dist/node/contexts/Collapsible/use.cjs.map +1 -0
- package/dist/node/contexts/Collapsible/use.d.cts +2 -0
- package/dist/node/contexts/Collapsible/use.d.cts.map +1 -0
- package/dist/node/contexts/Collapsible/use.js +11 -29
- package/dist/node/contexts/Collapsible/use.js.map +1 -1
- package/dist/node/contexts/index.cjs +57 -0
- package/dist/node/contexts/index.cjs.map +1 -0
- package/dist/node/contexts/index.d.cts +2 -0
- package/dist/node/contexts/index.d.cts.map +1 -0
- package/dist/node/contexts/index.js +27 -21
- package/dist/node/contexts/index.js.map +1 -1
- package/dist/node/index.cjs +587 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.d.cts +3 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.js +544 -23
- package/dist/node/index.js.map +1 -1
- package/package.json +23 -23
- package/src/components/CollapsibleDrawer/CollapseToggle.tsx +1 -0
- package/src/components/CollapsibleDrawer/storyExampleMenuData.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.tsx +1 -0
- package/src/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.tsx +1 -0
- package/dist/browser/components/AppBar/Application.stories.js +0 -64
- package/dist/browser/components/AppBar/Application.stories.js.map +0 -1
- package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.js +0 -45
- package/dist/browser/components/CollapsibleDrawer/CollapseDrawer.stories.js.map +0 -1
- package/dist/browser/components/MobileSystemControls/SystemControls.stories.js +0 -34
- package/dist/browser/components/MobileSystemControls/SystemControls.stories.js.map +0 -1
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js +0 -46
- package/dist/browser/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js.map +0 -1
- package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.js +0 -25
- package/dist/browser/components/Toolbar/Context/ContextToolbar.stories.js.map +0 -1
- package/dist/browser/components/Toolbar/System/SystemToolbar.stories.js +0 -48
- package/dist/browser/components/Toolbar/System/SystemToolbar.stories.js.map +0 -1
- package/dist/node/components/AppBar/Application.mjs +0 -19
- package/dist/node/components/AppBar/Application.mjs.map +0 -1
- package/dist/node/components/AppBar/Application.stories.js +0 -90
- package/dist/node/components/AppBar/Application.stories.js.map +0 -1
- package/dist/node/components/AppBar/Application.stories.mjs +0 -64
- package/dist/node/components/AppBar/Application.stories.mjs.map +0 -1
- package/dist/node/components/AppBar/index.mjs +0 -2
- package/dist/node/components/AppBar/index.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.js +0 -69
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.js.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.mjs +0 -45
- package/dist/node/components/CollapsibleDrawer/CollapseDrawer.stories.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.mjs +0 -30
- package/dist/node/components/CollapsibleDrawer/CollapseToggle.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.mjs +0 -35
- package/dist/node/components/CollapsibleDrawer/CollapsibleDrawer.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/index.mjs +0 -3
- package/dist/node/components/CollapsibleDrawer/index.mjs.map +0 -1
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.mjs +0 -83
- package/dist/node/components/CollapsibleDrawer/storyExampleMenuData.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.mjs +0 -10
- package/dist/node/components/MobileSystemControls/SystemControls.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.stories.js +0 -59
- package/dist/node/components/MobileSystemControls/SystemControls.stories.js.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControls.stories.mjs +0 -34
- package/dist/node/components/MobileSystemControls/SystemControls.stories.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.mjs +0 -61
- package/dist/node/components/MobileSystemControls/SystemControlsRoot.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsType.mjs +0 -10
- package/dist/node/components/MobileSystemControls/SystemControlsType.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.mjs +0 -28
- package/dist/node/components/MobileSystemControls/SystemControlsUnstyled.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/controls/SystemControl.mjs +0 -28
- package/dist/node/components/MobileSystemControls/controls/SystemControlText.mjs +0 -10
- package/dist/node/components/MobileSystemControls/controls/index.mjs +0 -3
- package/dist/node/components/MobileSystemControls/controls/index.mjs.map +0 -1
- package/dist/node/components/MobileSystemControls/index.mjs +0 -4
- package/dist/node/components/MobileSystemControls/index.mjs.map +0 -1
- package/dist/node/components/SearchBar/SearchBar.mjs +0 -31
- package/dist/node/components/SearchBar/index.mjs +0 -2
- package/dist/node/components/SearchBar/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/Menu.mjs +0 -41
- package/dist/node/components/SiteMenu/Menu.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.mjs +0 -72
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js +0 -71
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.js.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.mjs +0 -46
- package/dist/node/components/SiteMenu/MenuListItem/MenuListItemContainer.stories.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/index.mjs +0 -2
- package/dist/node/components/SiteMenu/MenuListItem/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs +0 -11
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/ListItemTooltip.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuIcon.mjs +0 -9
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/MenuListItem.mjs +0 -12
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.mjs +0 -4
- package/dist/node/components/SiteMenu/MenuListItem/list-item-components/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavListItemCollapse.mjs +0 -9
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.mjs +0 -21
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/SubNavToggleIconButton.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.mjs +0 -3
- package/dist/node/components/SiteMenu/MenuListItem/sub-nav/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/MenuSection.mjs +0 -14
- package/dist/node/components/SiteMenu/MenuSection.mjs.map +0 -1
- package/dist/node/components/SiteMenu/hooks/index.mjs +0 -2
- package/dist/node/components/SiteMenu/hooks/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.mjs +0 -25
- package/dist/node/components/SiteMenu/hooks/useMenuItemsShared.mjs.map +0 -1
- package/dist/node/components/SiteMenu/index.mjs +0 -6
- package/dist/node/components/SiteMenu/index.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.mjs +0 -1
- package/dist/node/components/SiteMenu/lib/MenuListItemBase.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.mjs +0 -1
- package/dist/node/components/SiteMenu/lib/NavListItemProps.mjs.map +0 -1
- package/dist/node/components/SiteMenu/lib/index.mjs +0 -3
- package/dist/node/components/Toolbar/Context/ContextToolbar.mjs +0 -10
- package/dist/node/components/Toolbar/Context/ContextToolbar.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.js +0 -50
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.js.map +0 -1
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.mjs +0 -25
- package/dist/node/components/Toolbar/Context/ContextToolbar.stories.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/Logo.mjs +0 -11
- package/dist/node/components/Toolbar/Context/LogoLinkEx.mjs +0 -31
- package/dist/node/components/Toolbar/Context/LogoLinkEx.mjs.map +0 -1
- package/dist/node/components/Toolbar/Context/index.mjs +0 -2
- package/dist/node/components/Toolbar/Context/index.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.mjs +0 -28
- package/dist/node/components/Toolbar/System/SystemToolbar.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.js +0 -74
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.js.map +0 -1
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.mjs +0 -48
- package/dist/node/components/Toolbar/System/SystemToolbar.stories.mjs.map +0 -1
- package/dist/node/components/Toolbar/System/index.mjs +0 -2
- package/dist/node/components/Toolbar/System/index.mjs.map +0 -1
- package/dist/node/components/Toolbar/index.mjs +0 -3
- package/dist/node/components/Toolbar/index.mjs.map +0 -1
- package/dist/node/components/index.mjs +0 -7
- package/dist/node/components/index.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/State.mjs +0 -1
- package/dist/node/contexts/Collapsible/State.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/context.mjs +0 -6
- package/dist/node/contexts/Collapsible/index.mjs +0 -4
- package/dist/node/contexts/Collapsible/index.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/provider.mjs +0 -18
- package/dist/node/contexts/Collapsible/provider.mjs.map +0 -1
- package/dist/node/contexts/Collapsible/use.mjs +0 -7
- package/dist/node/contexts/Collapsible/use.mjs.map +0 -1
- package/dist/node/contexts/index.mjs +0 -2
- package/dist/node/contexts/index.mjs.map +0 -1
- package/dist/node/index.mjs +0 -3
- package/dist/node/index.mjs.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAA;IAC/C,cAAc,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAA;CACnD"}
|
@@ -0,0 +1,28 @@
|
|
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/contexts/Collapsible/context.ts
|
21
|
+
var context_exports = {};
|
22
|
+
__export(context_exports, {
|
23
|
+
CollapsibleContext: () => CollapsibleContext
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(context_exports);
|
26
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
27
|
+
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
28
|
+
//# sourceMappingURL=context.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/Collapsible/context.ts"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n"],"mappings":"AAAA,
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/Collapsible/context.ts"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/context.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,kBAAkB,gGAAsC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/Collapsible/context.ts"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n"],"mappings":"AAAA,SAAS,uBAAuB;AAIzB,
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/Collapsible/context.ts"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n"],"mappings":";AAAA,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;","names":[]}
|
@@ -0,0 +1,52 @@
|
|
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/contexts/Collapsible/index.ts
|
21
|
+
var Collapsible_exports = {};
|
22
|
+
__export(Collapsible_exports, {
|
23
|
+
CollapsibleProvider: () => CollapsibleProvider,
|
24
|
+
useCollapsible: () => useCollapsible
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(Collapsible_exports);
|
27
|
+
|
28
|
+
// src/contexts/Collapsible/provider.tsx
|
29
|
+
var import_react = require("react");
|
30
|
+
|
31
|
+
// src/contexts/Collapsible/context.ts
|
32
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
33
|
+
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
34
|
+
|
35
|
+
// src/contexts/Collapsible/provider.tsx
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
37
|
+
var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
38
|
+
const [collapse, setCollapse] = (0, import_react.useState)(defaultCollapse);
|
39
|
+
const [collapseEnd, setCollapseEnd] = (0, import_react.useState)(defaultCollapseEnd);
|
40
|
+
(0, import_react.useEffect)(() => {
|
41
|
+
setCollapse(defaultCollapse);
|
42
|
+
}, [defaultCollapse]);
|
43
|
+
(0, import_react.useEffect)(() => {
|
44
|
+
setCollapseEnd(defaultCollapseEnd);
|
45
|
+
}, [defaultCollapseEnd]);
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CollapsibleContext.Provider, { value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }, children });
|
47
|
+
};
|
48
|
+
|
49
|
+
// src/contexts/Collapsible/use.tsx
|
50
|
+
var import_react_shared2 = require("@xyo-network/react-shared");
|
51
|
+
var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
|
52
|
+
//# sourceMappingURL=index.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/Collapsible/index.ts","../../../../src/contexts/Collapsible/provider.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["export * from './provider'\nexport * from './State'\nexport * from './use'\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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,mBAAoC;;;ACDpC,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ADmBhE;AAbG,IAAM,sBAA0D,CAAC,EAAE,kBAAkB,OAAO,qBAAqB,OAAO,SAAS,MAAM;AAC5I,QAAM,CAAC,UAAU,WAAW,QAAI,uBAAS,eAAe;AACxD,QAAM,CAAC,aAAa,cAAc,QAAI,uBAAS,kBAAkB;AAEjE,8BAAU,MAAM;AACd,gBAAY,eAAe;AAAA,EAC7B,GAAG,CAAC,eAAe,CAAC;AAEpB,8BAAU,MAAM;AACd,mBAAe,kBAAkB;AAAA,EACnC,GAAG,CAAC,kBAAkB,CAAC;AAEvB,SACE,4CAAC,mBAAmB,UAAnB,EAA4B,OAAO,EAAE,UAAU,aAAa,UAAU,MAAM,aAAa,eAAe,GACtG,UACH;AAEJ;;;AE3BA,IAAAA,uBAA6B;AAItB,IAAM,iBAAiB,UAAM,mCAAa,oBAAoB,eAAe,KAAK;","names":["import_react_shared"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
@@ -1,4 +1,29 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
// src/contexts/Collapsible/provider.tsx
|
2
|
+
import { useEffect, useState } from "react";
|
3
|
+
|
4
|
+
// src/contexts/Collapsible/context.ts
|
5
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
6
|
+
var CollapsibleContext = createContextEx();
|
7
|
+
|
8
|
+
// src/contexts/Collapsible/provider.tsx
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
10
|
+
var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
11
|
+
const [collapse, setCollapse] = useState(defaultCollapse);
|
12
|
+
const [collapseEnd, setCollapseEnd] = useState(defaultCollapseEnd);
|
13
|
+
useEffect(() => {
|
14
|
+
setCollapse(defaultCollapse);
|
15
|
+
}, [defaultCollapse]);
|
16
|
+
useEffect(() => {
|
17
|
+
setCollapseEnd(defaultCollapseEnd);
|
18
|
+
}, [defaultCollapseEnd]);
|
19
|
+
return /* @__PURE__ */ jsx(CollapsibleContext.Provider, { value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }, children });
|
20
|
+
};
|
21
|
+
|
22
|
+
// src/contexts/Collapsible/use.tsx
|
23
|
+
import { useContextEx } from "@xyo-network/react-shared";
|
24
|
+
var useCollapsible = () => useContextEx(CollapsibleContext, "Collapsible", false);
|
25
|
+
export {
|
26
|
+
CollapsibleProvider,
|
27
|
+
useCollapsible
|
28
|
+
};
|
4
29
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/Collapsible/
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/Collapsible/provider.tsx","../../../../src/contexts/Collapsible/context.ts","../../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["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"],"mappings":";AACA,SAAS,WAAW,gBAAgB;;;ACDpC,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ADmBhE;AAbG,IAAM,sBAA0D,CAAC,EAAE,kBAAkB,OAAO,qBAAqB,OAAO,SAAS,MAAM;AAC5I,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,eAAe;AACxD,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,kBAAkB;AAEjE,YAAU,MAAM;AACd,gBAAY,eAAe;AAAA,EAC7B,GAAG,CAAC,eAAe,CAAC;AAEpB,YAAU,MAAM;AACd,mBAAe,kBAAkB;AAAA,EACnC,GAAG,CAAC,kBAAkB,CAAC;AAEvB,SACE,oBAAC,mBAAmB,UAAnB,EAA4B,OAAO,EAAE,UAAU,aAAa,UAAU,MAAM,aAAa,eAAe,GACtG,UACH;AAEJ;;;AE3BA,SAAS,oBAAoB;AAItB,IAAM,iBAAiB,MAAM,aAAa,oBAAoB,eAAe,KAAK;","names":[]}
|
@@ -0,0 +1,45 @@
|
|
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/contexts/Collapsible/provider.tsx
|
21
|
+
var provider_exports = {};
|
22
|
+
__export(provider_exports, {
|
23
|
+
CollapsibleProvider: () => CollapsibleProvider
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(provider_exports);
|
26
|
+
var import_react = require("react");
|
27
|
+
|
28
|
+
// src/contexts/Collapsible/context.ts
|
29
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
30
|
+
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
31
|
+
|
32
|
+
// src/contexts/Collapsible/provider.tsx
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
34
|
+
var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
35
|
+
const [collapse, setCollapse] = (0, import_react.useState)(defaultCollapse);
|
36
|
+
const [collapseEnd, setCollapseEnd] = (0, import_react.useState)(defaultCollapseEnd);
|
37
|
+
(0, import_react.useEffect)(() => {
|
38
|
+
setCollapse(defaultCollapse);
|
39
|
+
}, [defaultCollapse]);
|
40
|
+
(0, import_react.useEffect)(() => {
|
41
|
+
setCollapseEnd(defaultCollapseEnd);
|
42
|
+
}, [defaultCollapseEnd]);
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CollapsibleContext.Provider, { value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }, children });
|
44
|
+
};
|
45
|
+
//# sourceMappingURL=provider.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/Collapsible/provider.tsx","../../../../src/contexts/Collapsible/context.ts"],"sourcesContent":["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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,mBAAoC;;;ACDpC,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ADmBhE;AAbG,IAAM,sBAA0D,CAAC,EAAE,kBAAkB,OAAO,qBAAqB,OAAO,SAAS,MAAM;AAC5I,QAAM,CAAC,UAAU,WAAW,QAAI,uBAAS,eAAe;AACxD,QAAM,CAAC,aAAa,cAAc,QAAI,uBAAS,kBAAkB;AAEjE,8BAAU,MAAM;AACd,gBAAY,eAAe;AAAA,EAC7B,GAAG,CAAC,eAAe,CAAC;AAEpB,8BAAU,MAAM;AACd,mBAAe,kBAAkB;AAAA,EACnC,GAAG,CAAC,kBAAkB,CAAC;AAEvB,SACE,4CAAC,mBAAmB,UAAnB,EAA4B,OAAO,EAAE,UAAU,aAAa,UAAU,MAAM,aAAa,eAAe,GACtG,UACH;AAEJ;","names":[]}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { WithChildren } from '@xylabs/react-shared';
|
3
|
+
export interface CollapsibleProviderProps extends WithChildren {
|
4
|
+
defaultCollapse?: boolean;
|
5
|
+
defaultCollapseEnd?: boolean;
|
6
|
+
}
|
7
|
+
export declare const CollapsibleProvider: React.FC<CollapsibleProviderProps>;
|
8
|
+
//# sourceMappingURL=provider.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,MAAM,WAAW,wBAAyB,SAAQ,YAAY;IAC5D,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAiBlE,CAAA"}
|
@@ -1,7 +1,13 @@
|
|
1
|
-
|
1
|
+
// src/contexts/Collapsible/provider.tsx
|
2
2
|
import { useEffect, useState } from "react";
|
3
|
-
|
4
|
-
|
3
|
+
|
4
|
+
// src/contexts/Collapsible/context.ts
|
5
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
6
|
+
var CollapsibleContext = createContextEx();
|
7
|
+
|
8
|
+
// src/contexts/Collapsible/provider.tsx
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
10
|
+
var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
5
11
|
const [collapse, setCollapse] = useState(defaultCollapse);
|
6
12
|
const [collapseEnd, setCollapseEnd] = useState(defaultCollapseEnd);
|
7
13
|
useEffect(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/Collapsible/provider.tsx"],"sourcesContent":["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"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/Collapsible/provider.tsx","../../../../src/contexts/Collapsible/context.ts"],"sourcesContent":["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"],"mappings":";AACA,SAAS,WAAW,gBAAgB;;;ACDpC,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ADmBhE;AAbG,IAAM,sBAA0D,CAAC,EAAE,kBAAkB,OAAO,qBAAqB,OAAO,SAAS,MAAM;AAC5I,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,eAAe;AACxD,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,kBAAkB;AAEjE,YAAU,MAAM;AACd,gBAAY,eAAe;AAAA,EAC7B,GAAG,CAAC,eAAe,CAAC;AAEpB,YAAU,MAAM;AACd,mBAAe,kBAAkB;AAAA,EACnC,GAAG,CAAC,kBAAkB,CAAC;AAEvB,SACE,oBAAC,mBAAmB,UAAnB,EAA4B,OAAO,EAAE,UAAU,aAAa,UAAU,MAAM,aAAa,eAAe,GACtG,UACH;AAEJ;","names":[]}
|
@@ -0,0 +1,34 @@
|
|
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/contexts/Collapsible/use.tsx
|
21
|
+
var use_exports = {};
|
22
|
+
__export(use_exports, {
|
23
|
+
useCollapsible: () => useCollapsible
|
24
|
+
});
|
25
|
+
module.exports = __toCommonJS(use_exports);
|
26
|
+
var import_react_shared2 = require("@xyo-network/react-shared");
|
27
|
+
|
28
|
+
// src/contexts/Collapsible/context.ts
|
29
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
30
|
+
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
31
|
+
|
32
|
+
// src/contexts/Collapsible/use.tsx
|
33
|
+
var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
|
34
|
+
//# sourceMappingURL=use.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/Collapsible/use.tsx","../../../../src/contexts/Collapsible/context.ts"],"sourcesContent":["import { useContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleContext } from './context'\n\nexport const useCollapsible = () => useContextEx(CollapsibleContext, 'Collapsible', false)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,uBAA6B;;;ACA7B,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ADA7D,IAAM,iBAAiB,UAAM,mCAAa,oBAAoB,eAAe,KAAK;","names":["import_react_shared"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Collapsible/use.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,iHAA+D,CAAA"}
|
@@ -1,6 +1,12 @@
|
|
1
|
+
// src/contexts/Collapsible/use.tsx
|
1
2
|
import { useContextEx } from "@xyo-network/react-shared";
|
2
|
-
|
3
|
-
|
3
|
+
|
4
|
+
// src/contexts/Collapsible/context.ts
|
5
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
6
|
+
var CollapsibleContext = createContextEx();
|
7
|
+
|
8
|
+
// src/contexts/Collapsible/use.tsx
|
9
|
+
var useCollapsible = () => useContextEx(CollapsibleContext, "Collapsible", false);
|
4
10
|
export {
|
5
11
|
useCollapsible
|
6
12
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["import { useContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleContext } from './context'\n\nexport const useCollapsible = () => useContextEx(CollapsibleContext, 'Collapsible', false)\n"],"mappings":"AAAA,SAAS,oBAAoB
|
1
|
+
{"version":3,"sources":["../../../../src/contexts/Collapsible/use.tsx","../../../../src/contexts/Collapsible/context.ts"],"sourcesContent":["import { useContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleContext } from './context'\n\nexport const useCollapsible = () => useContextEx(CollapsibleContext, 'Collapsible', false)\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { CollapsibleState } from './State'\n\nexport const CollapsibleContext = createContextEx<CollapsibleState>()\n"],"mappings":";AAAA,SAAS,oBAAoB;;;ACA7B,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ADA7D,IAAM,iBAAiB,MAAM,aAAa,oBAAoB,eAAe,KAAK;","names":[]}
|
@@ -0,0 +1,52 @@
|
|
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/contexts/index.ts
|
21
|
+
var contexts_exports = {};
|
22
|
+
__export(contexts_exports, {
|
23
|
+
CollapsibleProvider: () => CollapsibleProvider,
|
24
|
+
useCollapsible: () => useCollapsible
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(contexts_exports);
|
27
|
+
|
28
|
+
// src/contexts/Collapsible/provider.tsx
|
29
|
+
var import_react = require("react");
|
30
|
+
|
31
|
+
// src/contexts/Collapsible/context.ts
|
32
|
+
var import_react_shared = require("@xyo-network/react-shared");
|
33
|
+
var CollapsibleContext = (0, import_react_shared.createContextEx)();
|
34
|
+
|
35
|
+
// src/contexts/Collapsible/provider.tsx
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
37
|
+
var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
38
|
+
const [collapse, setCollapse] = (0, import_react.useState)(defaultCollapse);
|
39
|
+
const [collapseEnd, setCollapseEnd] = (0, import_react.useState)(defaultCollapseEnd);
|
40
|
+
(0, import_react.useEffect)(() => {
|
41
|
+
setCollapse(defaultCollapse);
|
42
|
+
}, [defaultCollapse]);
|
43
|
+
(0, import_react.useEffect)(() => {
|
44
|
+
setCollapseEnd(defaultCollapseEnd);
|
45
|
+
}, [defaultCollapseEnd]);
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CollapsibleContext.Provider, { value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }, children });
|
47
|
+
};
|
48
|
+
|
49
|
+
// src/contexts/Collapsible/use.tsx
|
50
|
+
var import_react_shared2 = require("@xyo-network/react-shared");
|
51
|
+
var useCollapsible = () => (0, import_react_shared2.useContextEx)(CollapsibleContext, "Collapsible", false);
|
52
|
+
//# sourceMappingURL=index.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/contexts/index.ts","../../../src/contexts/Collapsible/provider.tsx","../../../src/contexts/Collapsible/context.ts","../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["export * from './Collapsible'\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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,mBAAoC;;;ACDpC,0BAAgC;AAIzB,IAAM,yBAAqB,qCAAkC;;;ADmBhE;AAbG,IAAM,sBAA0D,CAAC,EAAE,kBAAkB,OAAO,qBAAqB,OAAO,SAAS,MAAM;AAC5I,QAAM,CAAC,UAAU,WAAW,QAAI,uBAAS,eAAe;AACxD,QAAM,CAAC,aAAa,cAAc,QAAI,uBAAS,kBAAkB;AAEjE,8BAAU,MAAM;AACd,gBAAY,eAAe;AAAA,EAC7B,GAAG,CAAC,eAAe,CAAC;AAEpB,8BAAU,MAAM;AACd,mBAAe,kBAAkB;AAAA,EACnC,GAAG,CAAC,kBAAkB,CAAC;AAEvB,SACE,4CAAC,mBAAmB,UAAnB,EAA4B,OAAO,EAAE,UAAU,aAAa,UAAU,MAAM,aAAa,eAAe,GACtG,UACH;AAEJ;;;AE3BA,IAAAA,uBAA6B;AAItB,IAAM,iBAAiB,UAAM,mCAAa,oBAAoB,eAAe,KAAK;","names":["import_react_shared"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
@@ -1,2 +1,29 @@
|
|
1
|
-
|
1
|
+
// src/contexts/Collapsible/provider.tsx
|
2
|
+
import { useEffect, useState } from "react";
|
3
|
+
|
4
|
+
// src/contexts/Collapsible/context.ts
|
5
|
+
import { createContextEx } from "@xyo-network/react-shared";
|
6
|
+
var CollapsibleContext = createContextEx();
|
7
|
+
|
8
|
+
// src/contexts/Collapsible/provider.tsx
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
10
|
+
var CollapsibleProvider = ({ defaultCollapse = false, defaultCollapseEnd = false, children }) => {
|
11
|
+
const [collapse, setCollapse] = useState(defaultCollapse);
|
12
|
+
const [collapseEnd, setCollapseEnd] = useState(defaultCollapseEnd);
|
13
|
+
useEffect(() => {
|
14
|
+
setCollapse(defaultCollapse);
|
15
|
+
}, [defaultCollapse]);
|
16
|
+
useEffect(() => {
|
17
|
+
setCollapseEnd(defaultCollapseEnd);
|
18
|
+
}, [defaultCollapseEnd]);
|
19
|
+
return /* @__PURE__ */ jsx(CollapsibleContext.Provider, { value: { collapse, collapseEnd, provided: true, setCollapse, setCollapseEnd }, children });
|
20
|
+
};
|
21
|
+
|
22
|
+
// src/contexts/Collapsible/use.tsx
|
23
|
+
import { useContextEx } from "@xyo-network/react-shared";
|
24
|
+
var useCollapsible = () => useContextEx(CollapsibleContext, "Collapsible", false);
|
25
|
+
export {
|
26
|
+
CollapsibleProvider,
|
27
|
+
useCollapsible
|
28
|
+
};
|
2
29
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/contexts/
|
1
|
+
{"version":3,"sources":["../../../src/contexts/Collapsible/provider.tsx","../../../src/contexts/Collapsible/context.ts","../../../src/contexts/Collapsible/use.tsx"],"sourcesContent":["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"],"mappings":";AACA,SAAS,WAAW,gBAAgB;;;ACDpC,SAAS,uBAAuB;AAIzB,IAAM,qBAAqB,gBAAkC;;;ADmBhE;AAbG,IAAM,sBAA0D,CAAC,EAAE,kBAAkB,OAAO,qBAAqB,OAAO,SAAS,MAAM;AAC5I,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,eAAe;AACxD,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,kBAAkB;AAEjE,YAAU,MAAM;AACd,gBAAY,eAAe;AAAA,EAC7B,GAAG,CAAC,eAAe,CAAC;AAEpB,YAAU,MAAM;AACd,mBAAe,kBAAkB;AAAA,EACnC,GAAG,CAAC,kBAAkB,CAAC;AAEvB,SACE,oBAAC,mBAAmB,UAAnB,EAA4B,OAAO,EAAE,UAAU,aAAa,UAAU,MAAM,aAAa,eAAe,GACtG,UACH;AAEJ;;;AE3BA,SAAS,oBAAoB;AAItB,IAAM,iBAAiB,MAAM,aAAa,oBAAoB,eAAe,KAAK;","names":[]}
|