@jpmorganchase/mosaic-store 0.1.0-beta.89 → 0.1.0-beta.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-256AGL5I.js +1 -0
- package/dist/chunk-5GXF566S.js +1 -0
- package/dist/{chunk-UAOXD7FQ.js → chunk-6BPHTR6G.js} +1 -1
- package/dist/{chunk-K46AB54R.js → chunk-6VYGXDI5.js} +1 -1
- package/dist/{chunk-UGNPKB2C.js → chunk-AA7FGYRS.js} +1 -1
- package/dist/chunk-ATQVZ6KV.js +1 -0
- package/dist/{chunk-ZWWLRRM5.js → chunk-BNDCMZAE.js} +1 -1
- package/dist/{chunk-QKYKXXND.js → chunk-CF4MD2TQ.js} +1 -1
- package/dist/{chunk-BB64I3MP.js → chunk-G734VGFN.js} +1 -1
- package/dist/chunk-NZGUNCV2.js +1 -0
- package/dist/chunk-PSHWPPFM.js +1 -0
- package/dist/chunk-Q3JUP6BM.js +1 -0
- package/dist/{chunk-CAN3NWY7.js → chunk-YZFJJMDS.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/store.d.ts +4 -5
- package/dist/store.js +1 -1
- package/dist/types/appHeader.d.ts +2 -2
- package/dist/types/breadcrumbs.d.ts +2 -2
- package/dist/types/colorMode.d.ts +1 -1
- package/dist/types/footer.d.ts +1 -1
- package/dist/types/helpLinks.d.ts +1 -1
- package/dist/types/layout.d.ts +1 -1
- package/dist/types/meta.d.ts +1 -1
- package/dist/types/navigation.d.ts +3 -3
- package/dist/types/route.d.ts +1 -1
- package/dist/types/searchIndex.d.ts +4 -4
- package/dist/types/sharedConfig.d.ts +2 -2
- package/dist/types/sidebar.d.ts +2 -2
- package/dist/types/tableOfContents.d.ts +2 -2
- package/dist/useAppHeader.d.ts +1 -1
- package/dist/useAppHeader.js +1 -1
- package/dist/useBreadcrumbs.js +1 -1
- package/dist/useColorMode.js +1 -1
- package/dist/useFooter.d.ts +1 -1
- package/dist/useFooter.js +1 -1
- package/dist/useLayout.d.ts +1 -1
- package/dist/useLayout.js +1 -1
- package/dist/useMeta.d.ts +1 -1
- package/dist/useMeta.js +1 -1
- package/dist/useNavigation.js +1 -1
- package/dist/useRoute.js +1 -1
- package/dist/useSearchIndex.js +1 -1
- package/dist/useSidebar.js +1 -1
- package/dist/useStoreActions.js +1 -1
- package/dist/useTableOfContents.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-2FK3VR6P.js +0 -1
- package/dist/chunk-BEKPLXID.js +0 -1
- package/dist/chunk-EXW7MT2H.js +0 -1
- package/dist/chunk-JNWUSBDL.js +0 -1
- package/dist/chunk-KCLW2DTR.js +0 -1
- package/dist/chunk-UYD36OR2.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as e}from"./chunk-6VYGXDI5.js";function u(){return{route:e(t=>t.route)}}export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as o}from"./chunk-6VYGXDI5.js";function f(){return o(e=>e.sharedConfig?.footer)}export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t}from"./chunk-
|
|
1
|
+
import{d as t}from"./chunk-6VYGXDI5.js";function u(e){return e.links!==void 0}function d(e){return e.link!==void 0}function M(){let e=t(n=>n.sharedConfig?.header);if(!e)return;let i=e.menu.reduce((n,p)=>{if(u(p)){let r={...p,type:"menu"};return[...n,r]}if(d(p)){let r={...p,type:"link"};return[...n,r]}return console.error("Unknown menu type passed to useAppHeader, ignoring",p),n},[]);return{...e,menu:i}}export{M as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useLayoutEffect as l,createContext as f,useContext as p}from"react";import{createStore as u,useStore as m}from"zustand";import{devtools as y,persist as C}from"zustand/middleware";var r;function s(){return{breadcrumbs:[],sidebarData:[],tableOfContents:[],navigation:{},searchIndex:[],searchConfig:{},sharedConfig:{},description:void 0,layout:void 0,route:void 0,title:void 0,colorMode:"light"}}var a=f(void 0);a.displayName="StoreContext";var P=a.Provider,g=e=>y(C(e,{name:"mosaic-theme-pref",partialize:t=>({colorMode:t.colorMode})})),n=(e={})=>u(g(o=>({...s(),...e,actions:{setColorMode:i=>o({colorMode:i})}})));function T(e,t=!1){if(typeof window>"u"||t)return()=>n(e);let o
|
|
1
|
+
import{useLayoutEffect as l,createContext as f,useContext as p}from"react";import{createStore as u,useStore as m}from"zustand";import{devtools as y,persist as C}from"zustand/middleware";var r;function s(){return{breadcrumbs:[],sidebarData:[],tableOfContents:[],navigation:{},searchIndex:[],searchConfig:{},sharedConfig:{},description:void 0,layout:void 0,route:void 0,title:void 0,colorMode:"light"}}var a=f(void 0);a.displayName="StoreContext";var P=a.Provider,g=e=>y(C(e,{name:"mosaic-theme-pref",partialize:t=>({colorMode:t.colorMode})})),n=(e={})=>u(g(o=>({...s(),...e,actions:{setColorMode:i=>o({colorMode:i})}})));function T(e,t=!1){if(typeof window>"u"||t)return()=>n(e);let o=!!r;return r=r??n(e),l(()=>{if(e&&o){let i={...s(),...e},{colorMode:S,actions:d,...c}=r.getState();r.setState({...c,...i,colorMode:S,actions:d},!0)}}),()=>r}function v(e,t){let o=p(a);if(!o)throw new Error("Missing StoreProvider in the tree");return m(o,e,t)}export{P as a,n as b,T as c,v as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as c}from"./chunk-
|
|
1
|
+
import{d as c}from"./chunk-6VYGXDI5.js";function t(){let e=c(r=>r.searchIndex),o=c(r=>r.searchConfig),n=o!==void 0&&e!==void 0&&e.length>0;return{searchEnabled:n,searchIndex:n?e:[],searchConfig:n?o:{}}}export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as o}from"./chunk-6VYGXDI5.js";var r=()=>o(t=>t.actions);export{r as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t}from"./chunk-
|
|
1
|
+
import{d as t}from"./chunk-6VYGXDI5.js";function o(){return{meta:t(e=>({description:e.description,breadcrumbs:e.breadcrumbs,title:e.title}))}}export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e}from"./chunk-
|
|
1
|
+
import{d as e}from"./chunk-6VYGXDI5.js";function m(t=1){let r=e(b=>b.breadcrumbs);return{breadcrumbs:r||[],enabled:r?.length>t}}export{m as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-256AGL5I.js";import{a as u}from"./chunk-CF4MD2TQ.js";import{d as s}from"./chunk-6VYGXDI5.js";function p(){let e=s(o=>o.sidebarData)||[],{route:r}=c(),{breadcrumbs:t}=u();return{menu:e,selectedNodeId:r,selectedGroupIds:d(t)}}function d(e){let r=e.reduce((t,{id:o})=>[...t,o.replace(/\/[^\/]*$/,"")],[]);return new Set(r)}export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as t}from"./chunk-6VYGXDI5.js";function e(){return{layout:t(o=>o.layout)}}export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as t}from"./chunk-6VYGXDI5.js";function s(){return{tableOfContents:t(e=>e.tableOfContents)||[]}}export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as o}from"./chunk-6VYGXDI5.js";function d(){return o(r=>r.colorMode)}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t}from"./chunk-
|
|
1
|
+
import{d as t}from"./chunk-6VYGXDI5.js";function r(){let{next:o,prev:i}=t(n=>n.navigation)||{};return{next:o,prev:i}}export{r as a};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-YZFJJMDS.js";import{a as g}from"./chunk-AA7FGYRS.js";import{a as h}from"./chunk-G734VGFN.js";import{a as d}from"./chunk-256AGL5I.js";import{a as k}from"./chunk-ATQVZ6KV.js";import{a as i}from"./chunk-PSHWPPFM.js";import{a as p}from"./chunk-6BPHTR6G.js";import"./chunk-BHW7CEID.js";import"./chunk-IS7TJ54I.js";import"./chunk-5L7EI47O.js";import"./chunk-MBLLQB7A.js";import"./chunk-ZJYDN5YH.js";import"./chunk-UK5NIPTI.js";import"./chunk-ZYJGHEAC.js";import"./chunk-BZYGOU7Y.js";import"./chunk-UGD4MMRB.js";import"./chunk-LAADEEXW.js";import"./chunk-BHMVW2ZZ.js";import{a as m}from"./chunk-ZMWHBFUG.js";import"./chunk-VXYECVIB.js";import{a as t}from"./chunk-CF4MD2TQ.js";import{a as x}from"./chunk-Q3JUP6BM.js";import{a as j}from"./chunk-5GXF566S.js";import{a}from"./chunk-NZGUNCV2.js";import{a as b}from"./chunk-BNDCMZAE.js";import{a as o,b as r,c as e,d as f}from"./chunk-6VYGXDI5.js";export{m as MenuItemType,o as StoreProvider,r as initializeStore,p as useAppHeader,t as useBreadcrumbs,x as useColorMode,e as useCreateStore,j as useFooter,a as useLayout,b as useMeta,c as useNavigation,d as useRoute,g as useSearchIndex,h as useSidebar,f as useStore,k as useStoreActions,i as useTableOfContents};
|
package/dist/store.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { StoreApi } from 'zustand';
|
|
3
2
|
import type { BreadcrumbsSlice } from './types/breadcrumbs';
|
|
4
3
|
import type { SearchIndexSlice } from './types/searchIndex';
|
|
@@ -8,7 +7,7 @@ import type { NavigationSlice } from './types/navigation';
|
|
|
8
7
|
import type { SidebarSlice } from './types/sidebar';
|
|
9
8
|
import type { TableOfContentsSlice } from './types/tableOfContents';
|
|
10
9
|
import type { ColorMode } from './types/colorMode';
|
|
11
|
-
export
|
|
10
|
+
export type SiteState = BreadcrumbsSlice & LayoutSlice & SidebarSlice & TableOfContentsSlice & NavigationSlice & SearchIndexSlice & SharedConfigSlice & {
|
|
12
11
|
/** Page metadata description, used by search */
|
|
13
12
|
description?: string;
|
|
14
13
|
/** Page route */
|
|
@@ -20,7 +19,7 @@ export declare type SiteState = BreadcrumbsSlice & LayoutSlice & SidebarSlice &
|
|
|
20
19
|
setColorMode: (colorMode: ColorMode) => void;
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
|
-
|
|
22
|
+
type PeristedStoreState = Pick<SiteState, 'colorMode'>;
|
|
24
23
|
declare const StoreProvider: import("react").Provider<StoreApi<SiteState> | undefined>;
|
|
25
24
|
declare const initializeStore: (preloadedState?: Partial<SiteState>) => Omit<Omit<StoreApi<SiteState>, "setState"> & {
|
|
26
25
|
setState<A extends string | {
|
|
@@ -30,7 +29,7 @@ declare const initializeStore: (preloadedState?: Partial<SiteState>) => Omit<Omi
|
|
|
30
29
|
persist: {
|
|
31
30
|
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<SiteState, PeristedStoreState>>) => void;
|
|
32
31
|
clearStorage: () => void;
|
|
33
|
-
rehydrate: () => void |
|
|
32
|
+
rehydrate: () => Promise<void> | void;
|
|
34
33
|
hasHydrated: () => boolean;
|
|
35
34
|
onHydrate: (fn: (state: SiteState) => void) => () => void;
|
|
36
35
|
onFinishHydration: (fn: (state: SiteState) => void) => () => void;
|
|
@@ -45,7 +44,7 @@ declare function useCreateStore(serverInitialState: Partial<SiteState>, isSSR?:
|
|
|
45
44
|
persist: {
|
|
46
45
|
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<SiteState, PeristedStoreState>>) => void;
|
|
47
46
|
clearStorage: () => void;
|
|
48
|
-
rehydrate: () => void |
|
|
47
|
+
rehydrate: () => Promise<void> | void;
|
|
49
48
|
hasHydrated: () => boolean;
|
|
50
49
|
onHydrate: (fn: (state: SiteState) => void) => () => void;
|
|
51
50
|
onFinishHydration: (fn: (state: SiteState) => void) => () => void;
|
package/dist/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"./chunk-
|
|
1
|
+
import{a,b,c,d}from"./chunk-6VYGXDI5.js";export{a as StoreProvider,b as initializeStore,c as useCreateStore,d as useStore};
|
|
@@ -9,7 +9,7 @@ export declare enum MenuItemType {
|
|
|
9
9
|
/**
|
|
10
10
|
* [[`Menu`]] defines App Header menus
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type Menu = MenuLinksItem | MenuLinkItem;
|
|
13
13
|
/**
|
|
14
14
|
* [[`MenuLinksItem`]] defines a menu of links
|
|
15
15
|
*/
|
|
@@ -57,7 +57,7 @@ export interface AppHeaderMenuLinkItem {
|
|
|
57
57
|
/**
|
|
58
58
|
* [[`AppHeaderSlice`]] specifies the contents of the AppHeader
|
|
59
59
|
*/
|
|
60
|
-
export
|
|
60
|
+
export type AppHeaderSlice = {
|
|
61
61
|
/** App logo/title */
|
|
62
62
|
title: string;
|
|
63
63
|
/** Link to the home page */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* [[`Breadcrumb`]] defines the breadcrumb for a page
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type Breadcrumb = {
|
|
5
5
|
/** The associated route/path of the breadcrumb */
|
|
6
6
|
path: string;
|
|
7
7
|
/** Whether the breadcrumb is hidden */
|
|
@@ -14,7 +14,7 @@ export declare type Breadcrumb = {
|
|
|
14
14
|
/**
|
|
15
15
|
* [[`BreadcrumbsSlice`]] is the associated [[`Breadcrumb`]] items
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export type BreadcrumbsSlice = {
|
|
18
18
|
/** Path described in breadcrumbs */
|
|
19
19
|
breadcrumbs: Breadcrumb[];
|
|
20
20
|
};
|
package/dist/types/footer.d.ts
CHANGED
package/dist/types/layout.d.ts
CHANGED
package/dist/types/meta.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Page within a sequence
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type NavigationLink = {
|
|
5
5
|
/** page title */
|
|
6
6
|
title: string;
|
|
7
7
|
/** page route */
|
|
@@ -12,12 +12,12 @@ export declare type NavigationLink = {
|
|
|
12
12
|
/**
|
|
13
13
|
* [[`Navigation`]] specifies page navigation such as next or previous pages
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type Navigation = {
|
|
16
16
|
/** next page in sequence */
|
|
17
17
|
next?: NavigationLink;
|
|
18
18
|
/** previous page in sequence */
|
|
19
19
|
prev?: NavigationLink;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type NavigationSlice = {
|
|
22
22
|
navigation?: Navigation;
|
|
23
23
|
};
|
package/dist/types/route.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
type SearchDataPage = {
|
|
2
2
|
title: string;
|
|
3
3
|
content: string[];
|
|
4
4
|
route: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type SearchIndex = SearchDataPage[];
|
|
7
|
+
export type SearchConfig = {
|
|
8
8
|
includeScore?: boolean;
|
|
9
9
|
includeMatches?: boolean;
|
|
10
10
|
maxPatternLength?: number;
|
|
@@ -15,7 +15,7 @@ export declare type SearchConfig = {
|
|
|
15
15
|
weight: number;
|
|
16
16
|
}[];
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type SearchIndexSlice = {
|
|
19
19
|
searchIndex?: SearchIndex;
|
|
20
20
|
searchConfig?: SearchConfig;
|
|
21
21
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AppHeaderSlice } from './appHeader';
|
|
2
2
|
import type { FooterSlice } from './footer';
|
|
3
|
-
export
|
|
3
|
+
export type SharedConfig = {
|
|
4
4
|
/** Footer props */
|
|
5
5
|
footer?: FooterSlice;
|
|
6
6
|
/** Header props */
|
|
@@ -8,6 +8,6 @@ export declare type SharedConfig = {
|
|
|
8
8
|
/** Sidebar props */
|
|
9
9
|
sidebar?: Pick<FooterSlice, 'helpLinks'>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type SharedConfigSlice = {
|
|
12
12
|
sharedConfig?: SharedConfig;
|
|
13
13
|
};
|
package/dist/types/sidebar.d.ts
CHANGED
|
@@ -27,11 +27,11 @@ export interface SidebarGroup {
|
|
|
27
27
|
/** Whether the item is hidden */
|
|
28
28
|
hidden: boolean;
|
|
29
29
|
}
|
|
30
|
-
export
|
|
30
|
+
export type SidebarItem = SidebarNode | SidebarGroup;
|
|
31
31
|
/**
|
|
32
32
|
* [[`SidebarSlice`]] specifies sidebar content
|
|
33
33
|
*/
|
|
34
|
-
export
|
|
34
|
+
export type SidebarSlice = {
|
|
35
35
|
/** Sidebar items */
|
|
36
36
|
sidebarData: SidebarItem[];
|
|
37
37
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* [[`TableOfContentsItem`]] defines a table of contents item
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type TableOfContentsItem = {
|
|
5
5
|
/** The depth of the heading */
|
|
6
6
|
level: number;
|
|
7
7
|
/** The id attribute of the heading */
|
|
@@ -12,7 +12,7 @@ export declare type TableOfContentsItem = {
|
|
|
12
12
|
/**
|
|
13
13
|
* [[`TableOfContentsSlice`]] defines the table of contents for a page
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type TableOfContentsSlice = {
|
|
16
16
|
/** Path described in breadcrumbs */
|
|
17
17
|
tableOfContents: TableOfContentsItem[];
|
|
18
18
|
};
|
package/dist/useAppHeader.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AppHeaderSlice, AppHeaderMenuLinkItem, AppHeaderMenuLinksItem } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type AppHeaderMenu = Array<AppHeaderMenuLinksItem | AppHeaderMenuLinkItem>;
|
|
3
3
|
export interface AppHeader extends Omit<AppHeaderSlice, 'menu'> {
|
|
4
4
|
menu: AppHeaderMenu;
|
|
5
5
|
}
|
package/dist/useAppHeader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-6BPHTR6G.js";import"./chunk-BHW7CEID.js";import"./chunk-IS7TJ54I.js";import"./chunk-5L7EI47O.js";import"./chunk-MBLLQB7A.js";import"./chunk-ZJYDN5YH.js";import"./chunk-UK5NIPTI.js";import"./chunk-ZYJGHEAC.js";import"./chunk-BZYGOU7Y.js";import"./chunk-UGD4MMRB.js";import"./chunk-LAADEEXW.js";import"./chunk-BHMVW2ZZ.js";import"./chunk-ZMWHBFUG.js";import"./chunk-VXYECVIB.js";import"./chunk-6VYGXDI5.js";export{a as useAppHeader};
|
package/dist/useBreadcrumbs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-CF4MD2TQ.js";import"./chunk-6VYGXDI5.js";export{a as useBreadcrumbs};
|
package/dist/useColorMode.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-Q3JUP6BM.js";import"./chunk-6VYGXDI5.js";export{a as useColorMode};
|
package/dist/useFooter.d.ts
CHANGED
package/dist/useFooter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-5GXF566S.js";import"./chunk-6VYGXDI5.js";export{a as useFooter};
|
package/dist/useLayout.d.ts
CHANGED
package/dist/useLayout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-NZGUNCV2.js";import"./chunk-6VYGXDI5.js";export{a as useLayout};
|
package/dist/useMeta.d.ts
CHANGED
package/dist/useMeta.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-BNDCMZAE.js";import"./chunk-6VYGXDI5.js";export{a as useMeta};
|
package/dist/useNavigation.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-YZFJJMDS.js";import"./chunk-6VYGXDI5.js";export{a as useNavigation};
|
package/dist/useRoute.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-256AGL5I.js";import"./chunk-6VYGXDI5.js";export{a as useRoute};
|
package/dist/useSearchIndex.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-AA7FGYRS.js";import"./chunk-6VYGXDI5.js";export{a as useSearchIndex};
|
package/dist/useSidebar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-G734VGFN.js";import"./chunk-256AGL5I.js";import"./chunk-CF4MD2TQ.js";import"./chunk-6VYGXDI5.js";export{a as useSidebar};
|
package/dist/useStoreActions.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-ATQVZ6KV.js";import"./chunk-6VYGXDI5.js";export{a as useStoreActions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-PSHWPPFM.js";import"./chunk-6VYGXDI5.js";export{a as useTableOfContents};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jpmorganchase/mosaic-store",
|
|
3
3
|
"description": "Mosaic - Store for site configuration",
|
|
4
|
-
"version": "0.1.0-beta.
|
|
4
|
+
"version": "0.1.0-beta.90",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "",
|
|
7
7
|
"repository": {
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "npm-run-all --parallel build:*",
|
|
28
|
-
"build:bundle": "node ../../scripts/bundle.
|
|
28
|
+
"build:bundle": "node ../../scripts/bundle.mjs",
|
|
29
29
|
"build:types": "tsc",
|
|
30
30
|
"clean": "npx del-cli 'dist/**' && find . -type d -empty -delete",
|
|
31
31
|
"lint": "eslint --ignore-pattern \"**/__tests__/**\"",
|
|
32
|
-
"dev": "node ../../scripts/bundle.
|
|
32
|
+
"dev": "node ../../scripts/bundle.mjs watch"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"del-cli": "^4.0.1",
|
|
36
|
-
"typescript": "^
|
|
36
|
+
"typescript": "^5.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"zustand": "^4.1.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@types/react": "^18.
|
|
42
|
+
"@types/react": "^18.3.12",
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"react-dom": "^18.2.0"
|
|
45
45
|
}
|
package/dist/chunk-2FK3VR6P.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as e}from"./chunk-K46AB54R.js";function u(){return{route:e(t=>t.route)}}export{u as a};
|
package/dist/chunk-BEKPLXID.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as o}from"./chunk-K46AB54R.js";function f(){return o(e=>e.sharedConfig?.footer)}export{f as a};
|
package/dist/chunk-EXW7MT2H.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t}from"./chunk-K46AB54R.js";function e(){return{layout:t(o=>o.layout)}}export{e as a};
|
package/dist/chunk-JNWUSBDL.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t}from"./chunk-K46AB54R.js";function s(){return{tableOfContents:t(e=>e.tableOfContents)||[]}}export{s as a};
|
package/dist/chunk-KCLW2DTR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as o}from"./chunk-K46AB54R.js";var r=()=>o(t=>t.actions);export{r as a};
|
package/dist/chunk-UYD36OR2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as o}from"./chunk-K46AB54R.js";function d(){return o(r=>r.colorMode)}export{d as a};
|