@jpmorganchase/mosaic-layouts 0.1.0-beta.34 → 0.1.0-beta.36
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +21 -0
- package/dist/LayoutBase/index.js +1 -1
- package/dist/LayoutProvider.js +1 -1
- package/dist/{chunk-SQCFA2JT.js → chunk-5FXJC7B5.js} +1 -1
- package/dist/{chunk-MEZ2UXNZ.js → chunk-5I5LJEZ2.js} +1 -1
- package/dist/{chunk-67TTNCMS.js → chunk-AE6EOM7J.js} +1 -1
- package/dist/chunk-AMS3IRVY.js +1 -0
- package/dist/{chunk-UIRUCKW5.js → chunk-D2IIX5OZ.js} +1 -1
- package/dist/{chunk-OZ6GITIW.js → chunk-EHMVVNBO.js} +1 -1
- package/dist/{chunk-ZRIJDU4F.js → chunk-JPCXSG7Q.js} +1 -1
- package/dist/{chunk-7UIFAUNQ.js → chunk-JZTH46EL.js} +1 -1
- package/dist/{chunk-L5PEVH75.js → chunk-KVGHBVQJ.js} +1 -1
- package/dist/{chunk-OZJ3VKLE.js → chunk-MBTAYER2.js} +1 -1
- package/dist/{chunk-MWHW4PS3.js → chunk-NSCXLJW7.js} +1 -1
- package/dist/chunk-PWLN6YTG.js +41 -0
- package/dist/{chunk-IN3LDETI.js → chunk-UBWMXJH2.js} +1 -1
- package/dist/{chunk-KWTDIN3R.js → chunk-VVM6KBXD.js} +1 -1
- package/dist/{chunk-RDQQDQ2N.js → chunk-XYZ3H4E4.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/layouts/Detail/DetailContentOnly.js +1 -1
- package/dist/layouts/Detail/DetailHighlight.js +1 -1
- package/dist/layouts/Detail/DetailOverview.js +1 -1
- package/dist/layouts/Detail/DetailTechnical.js +1 -1
- package/dist/layouts/Detail/index.js +1 -1
- package/dist/layouts/Edit/index.js +1 -1
- package/dist/layouts/FullWidth/index.js +1 -1
- package/dist/layouts/Landing/index.js +1 -1
- package/dist/layouts/Newsletter/index.js +1 -1
- package/dist/layouts/Product/ProductDiscover.js +1 -1
- package/dist/layouts/Product/ProductPreview.js +1 -1
- package/dist/layouts/Product/index.js +1 -1
- package/dist/layouts/PythonDoc/index.js +1 -1
- package/dist/layouts/TypeDoc/index.js +1 -1
- package/dist/layouts/index.js +1 -1
- package/package.json +7 -7
- package/dist/chunk-RXL2YGYK.js +0 -1
- package/dist/chunk-Y6ETLJBK.js +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@jpmorganchase/mosaic-layouts:build: cache hit, replaying output
|
|
1
|
+
@jpmorganchase/mosaic-layouts:build: cache hit, replaying output f9d6e18ade8d1135
|
|
2
2
|
@jpmorganchase/mosaic-layouts:build: $ npm-run-all --parallel build:*
|
|
3
3
|
@jpmorganchase/mosaic-layouts:build: $ node ../../scripts/bundle.js
|
|
4
4
|
@jpmorganchase/mosaic-layouts:build: $ tsc
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @jpmorganchase/mosaic-layouts
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.36
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @jpmorganchase/mosaic-components@0.1.0-beta.36
|
|
8
|
+
- @jpmorganchase/mosaic-content-editor-plugin@0.1.0-beta.36
|
|
9
|
+
- @jpmorganchase/mosaic-site-components@0.1.0-beta.36
|
|
10
|
+
- @jpmorganchase/mosaic-store@0.1.0-beta.36
|
|
11
|
+
- @jpmorganchase/mosaic-theme@0.1.0-beta.36
|
|
12
|
+
|
|
13
|
+
## 0.1.0-beta.35
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [00a9408]
|
|
18
|
+
- @jpmorganchase/mosaic-site-components@0.1.0-beta.35
|
|
19
|
+
- @jpmorganchase/mosaic-components@0.1.0-beta.35
|
|
20
|
+
- @jpmorganchase/mosaic-content-editor-plugin@0.1.0-beta.35
|
|
21
|
+
- @jpmorganchase/mosaic-store@0.1.0-beta.35
|
|
22
|
+
- @jpmorganchase/mosaic-theme@0.1.0-beta.35
|
|
23
|
+
|
|
3
24
|
## 0.1.0-beta.34
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/LayoutBase/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-PWLN6YTG.js";import"../chunk-DTW4UURD.js";import"../chunk-5DJN5CVQ.js";import"../chunk-FJUV7MEK.js";import"../chunk-FEIY7W7S.js";export{a as LayoutBase};
|
package/dist/LayoutProvider.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-KVGHBVQJ.js";import"./chunk-VVM6KBXD.js";import"./chunk-IPHUI4F3.js";import"./chunk-X52NEVFW.js";import"./chunk-PWLN6YTG.js";import"./chunk-DTW4UURD.js";import"./chunk-5DJN5CVQ.js";import"./chunk-FJUV7MEK.js";import"./chunk-FEIY7W7S.js";export{a as LayoutProvider};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-IPHUI4F3.js";import{a as r}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-IPHUI4F3.js";import{a as r}from"./chunk-PWLN6YTG.js";import o from"react";import{AppHeader as a,Footer as e}from"@jpmorganchase/mosaic-site-components";var s=({FooterProps:p,children:m})=>o.createElement(r,{Header:o.createElement(a,null)},o.createElement(t,{Footer:o.createElement(e,{...p})},m));export{s as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-OMED577C.js";import{a as i}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-OMED577C.js";import{a as i}from"./chunk-PWLN6YTG.js";import{a as m}from"./chunk-WINYLKTC.js";import r from"react";import{HelpLinks as l}from"@jpmorganchase/mosaic-components";import{AppHeader as n,BackLink as u,Breadcrumbs as d,DocPaginator as y,Footer as L,PageNavigation as f}from"@jpmorganchase/mosaic-site-components";var B=({BackLinkProps:o,SidebarProps:e,FooterProps:s,children:p})=>{let t=r.createElement(r.Fragment,null,o&&r.createElement("header",{className:a.sidebarHeader},r.createElement(u,{...o})),r.createElement(f,null),e?.helpLinks&&r.createElement(l,{subTitle:"Need help?",...e.helpLinks}));return r.createElement(i,{Header:r.createElement(n,null)},r.createElement(m,{PrimarySidebar:t,SecondarySidebar:null,Footer:r.createElement(L,{...s})},r.createElement(d,null),p,r.createElement(y,null)))};export{B as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-OMED577C.js";import{a}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-OMED577C.js";import{a}from"./chunk-PWLN6YTG.js";import{a as i}from"./chunk-WINYLKTC.js";import r from"react";import{HelpLinks as p}from"@jpmorganchase/mosaic-components";import{AppHeader as y,DocPaginator as l,BackLink as u,Breadcrumbs as L,Footer as b,TableOfContents as f,PageNavigation as S}from"@jpmorganchase/mosaic-site-components";var F=({BackLinkProps:o,FooterProps:s,SidebarProps:e,children:t})=>{let n=r.createElement(y,null),d=r.createElement(r.Fragment,null,o&&r.createElement("header",{className:m.sidebarHeader},r.createElement(u,{...o})),r.createElement(S,null),e?.helpLinks&&r.createElement(p,{subTitle:"Need help?",...e.helpLinks}));return r.createElement(a,{Header:n},r.createElement(i,{PrimarySidebar:d,SecondarySidebar:r.createElement(f,null),Footer:r.createElement(b,{...s})},r.createElement(L,null),t,r.createElement(l,null)))};export{F as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as b}from"./chunk-NSCXLJW7.js";import{a as c}from"./chunk-D2IIX5OZ.js";import{a as d}from"./chunk-JPCXSG7Q.js";import{a as g}from"./chunk-MBTAYER2.js";import{a as p}from"./chunk-AE6EOM7J.js";import{a as t}from"./chunk-EHMVVNBO.js";import{a as x}from"./chunk-5FXJC7B5.js";import{a}from"./chunk-JZTH46EL.js";import{a as e}from"./chunk-UBWMXJH2.js";import{a as f}from"./chunk-XYZ3H4E4.js";import{a as m}from"./chunk-5I5LJEZ2.js";import{a as r}from"./chunk-VVM6KBXD.js";import{a as o}from"./chunk-FEIY7W7S.js";var h={};o(h,{DetailContentOnly:()=>e,DetailHighlight:()=>f,DetailOverview:()=>m,DetailTechnical:()=>p,EditLayout:()=>t,FullWidth:()=>r,Landing:()=>x,Newsletter:()=>a,ProductDiscover:()=>b,ProductPreview:()=>c,PythonDoc:()=>d,TypeDoc:()=>g});export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-IPHUI4F3.js";import{a as r}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-IPHUI4F3.js";import{a as r}from"./chunk-PWLN6YTG.js";import o from"react";import{AppHeader as m,Footer as u}from"@jpmorganchase/mosaic-site-components";var L=({FooterProps:p,children:e})=>o.createElement(r,{Header:o.createElement(m,null)},o.createElement(t,{Footer:o.createElement(u,{...p})},e));export{L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-ASVIILPC.js";import{a as n}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-ASVIILPC.js";import{a as n}from"./chunk-PWLN6YTG.js";import e,{useEffect as m}from"react";import{useRouter as p}from"next/router";import{useContentEditor as u}from"@jpmorganchase/mosaic-content-editor-plugin";import{AppHeader as f}from"@jpmorganchase/mosaic-site-components";var C=({children:i})=>{let t=p(),{pageState:r,stopEditing:s}=u();return m(()=>{let a=()=>{r==="EDIT"&&s()};return t.events.on("routeChangeStart",a),()=>{t.events.off("routeChangeStart",a)}},[r,t.events,s]),e.createElement(n,{className:o.base,Header:e.createElement(f,null)},e.createElement("div",{id:"edit-layout",className:o.root},i))};export{C as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-Z4UFTC3H.js";import{a as p}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-Z4UFTC3H.js";import{a as p}from"./chunk-PWLN6YTG.js";import{a as d}from"./chunk-WINYLKTC.js";import e from"react";import f from"clsx";import{HelpLinks as b,Hero as L}from"@jpmorganchase/mosaic-components";import{AppHeader as g,BackLink as h,Breadcrumbs as c,DocPaginator as S,Footer as C,TableOfContents as H,PageNavigation as P}from"@jpmorganchase/mosaic-site-components";var T=({description:r,name:t,pageType:a,releaseDate:i,title:s,version:o})=>e.createElement(L,{datestamp:i,datestampLabel:"Release Date",description:r,eyebrow:a==="root"?`Version ${o}`:`${t} - v${o}`,title:a==="root"?t:s}),A=({BackLinkProps:r,FooterProps:t,SidebarProps:a,ToCProps:i,children:s,meta:o})=>{let m=i?.items?.map(({text:y,...u})=>({...u,text:y.replace(/\s*\(.*?\).*/g,"() ")})),l=e.createElement(e.Fragment,null,r&&e.createElement("header",{className:n.sidebarHeader},e.createElement(h,{...r})),e.createElement(P,null),a?.helpLinks&&e.createElement(b,{subTitle:"Need help?",...a.helpLinks}));return e.createElement(p,{Header:e.createElement(g,null)},e.createElement(d,{PrimarySidebar:l,SecondarySidebar:e.createElement(H,{items:m}),Footer:e.createElement(C,{...t})},e.createElement("main",{className:f(n.contentBody,"pythondoc")},e.createElement(c,null),o?.data?.pageType==="root"||o?.data?.pageType==="index"?e.createElement(T,{description:o.data.api?.description?`Changelog: ${o.data.api.description}`:void 0,name:o.data.api?.name,pageType:o.data.pageType,releaseDate:o.data.api?.releaseDate,title:o.data.title,version:o.data.api?.version}):null,s,e.createElement(S,null))))};export{A as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk-OMED577C.js";import{a as e}from"./chunk-
|
|
1
|
+
import{a as s}from"./chunk-OMED577C.js";import{a as e}from"./chunk-PWLN6YTG.js";import{a as t}from"./chunk-WINYLKTC.js";import r from"react";import{AppHeader as p,DocPaginator as l,BackLink as n,Footer as u}from"@jpmorganchase/mosaic-site-components";var S=({children:a,BackLinkProps:o,FooterProps:i})=>{let m=o?.link?r.createElement("header",{className:s.sidebarHeader},r.createElement(n,{...o})):null;return r.createElement(e,{Header:r.createElement(p,null)},r.createElement(t,{PrimarySidebar:m,Footer:r.createElement(u,{...i}),SecondarySidebar:null},a,r.createElement(l,{linkSuffix:"Post"})))};export{S as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-VVM6KBXD.js";import t from"react";import{useLayout as y}from"@jpmorganchase/mosaic-store";import{usePageState as i}from"@jpmorganchase/mosaic-content-editor-plugin";var c=({children:u,layoutComponents:a,LayoutProps:p={}})=>{let{layout:n="FullWidth"}=y(),{pageState:s}=i(),r=s!=="VIEW"?"EditLayout":n,o=a?.[r];return o||(console.error(`Layout ${r} is not supported, defaulting to FullWidth`),o=e),o?t.createElement(o,{...p},u):t.createElement(t.Fragment,null,"children")};export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk-WNZGJWRV.js";import{a as y}from"./chunk-LAW2KABC.js";import{a as p}from"./chunk-
|
|
1
|
+
import{a as l}from"./chunk-WNZGJWRV.js";import{a as y}from"./chunk-LAW2KABC.js";import{a as p}from"./chunk-PWLN6YTG.js";import{a as n}from"./chunk-WINYLKTC.js";import o from"react";import u from"clsx";import{HelpLinks as b,Hero as f}from"@jpmorganchase/mosaic-components";import{AppHeader as L,BackLink as g,Breadcrumbs as h,Footer as v,PageNavigation as H}from"@jpmorganchase/mosaic-site-components";var N=({description:a,name:r,pageType:i,releaseDate:e,title:t,version:s})=>o.createElement(f,{datestamp:e,datestampLabel:"Release Date",description:a,eyebrow:i==="root"?`Version ${s}`:`${r} - v${s}`,title:i==="root"?r:t}),B=({BackLinkProps:a,SidebarProps:r,FooterProps:i,meta:e,children:t})=>{let s=o.createElement(o.Fragment,null,a&&o.createElement("header",{className:l.sidebarHeader},o.createElement(g,{...a})),o.createElement(H,null),r?.helpLinks&&o.createElement(b,{subTitle:"Need help?",...r.helpLinks})),d=e?.data?.pageType==="root"||e?.data?.pageType==="index",m=e?.data?.sidebarNavOptions?o.createElement(y,{items:e.data.sidebarNavOptions}):null;return o.createElement(p,{Header:o.createElement(L,null)},o.createElement(n,{PrimarySidebar:s,SecondarySidebar:m,Footer:o.createElement(v,{...i})},o.createElement("div",{className:u("typedoc",{"typedoc-index":d})},o.createElement(h,null),d&&e?.data?o.createElement(N,{description:e.data.api?.description?`Changelog: ${e.data.api.description}`:void 0,name:e.data.api?.name,pageType:e.data.pageType,releaseDate:e.data.api?.releaseDate,title:e.data.title,version:e.data.api?.version}):null,t)))};export{B as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-IPHUI4F3.js";import{a as r}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-IPHUI4F3.js";import{a as r}from"./chunk-PWLN6YTG.js";import o from"react";import{AppHeader as e,Breadcrumbs as u,Footer as a}from"@jpmorganchase/mosaic-site-components";var L=({FooterProps:p,children:m})=>o.createElement(r,{Header:o.createElement(e,null)},o.createElement(t,{Footer:o.createElement(a,{...p})},o.createElement(u,null),m));export{L as a};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import{a as N}from"./chunk-DTW4UURD.js";import{a as w}from"./chunk-5DJN5CVQ.js";import{a as f}from"./chunk-FJUV7MEK.js";import a from"react";import{createContext as j}from"react";var g=j(void 0);import{useContext as Q,useRef as ee,useCallback as te,useMemo as _,useEffect as oe}from"react";function P(o,e=166,t=!1){let r,i=function(...m){let n=()=>{o.apply(this,m)};clearTimeout(r),t&&n(),r=window.setTimeout(n,e)};return i.clear=()=>{clearTimeout(r)},i}import*as u from"react";var F=u.useId,U=BigInt(0);function H(o){let[e,t]=u.useState(o),r=o||e;return u.useEffect(()=>{e==null&&t(`salt-${++U}`)},[e]),r}function B(o){if(F!==void 0){let e=F();return o??e}return H(o)}import{jsx as ce}from"react/jsx-runtime";import{createContext as W,useContext as X}from"react";var Y=W(typeof window<"u"?window:null);function A(){return X(Y)}import*as C from"react";import{jsx as Ae}from"react/jsx-runtime";import{createContext as Z,useMemo as Ee,useContext as K}from"react";var q=Z(null);function T(){return K(q)}var R,J=(R=C.useInsertionEffect)!=null?R:C.useLayoutEffect,S=new WeakMap;function E({testId:o,css:e,window:t}){let r=T();J(()=>{var i,p;if(!t)return;let m=(i=S.get(t))!=null?i:new Map,n=(p=m.get(e))!=null?p:{styleElement:null,count:0};return n.styleElement==null?(n.styleElement=t.document.createElement("style"),n.styleElement.setAttribute("type","text/css"),n.styleElement.setAttribute("data-salt-style",o||""),n.styleElement.textContent=e,n.count=1,t.document.head.insertBefore(n.styleElement,r||t.document.head.firstChild)):(n.styleElement.textContent=e,n.count++),m.set(e,n),S.set(t,m),()=>{let l=S.get(t),s=l?.get(e);s?.styleElement&&(s.count--,s.count<1&&(t.document.head.removeChild(s.styleElement),s.styleElement=null,l?.delete(e)))}},[o,e,t])}import"clsx";var b=({debounce:o=0}={})=>{let e=Q(g),t=ee(!0),r=te((m,n)=>{let l=e&&e.announce;function s(){t.current&&l&&e.announce(m)}n?setTimeout(s,n):s()},[e]),i=_(()=>o>0?P(r,o):r,[r,o]),p=_(()=>({...e,announce:i}),[e,i]);return oe(()=>(t.current=!0,()=>{t.current=!1}),[]),p};var h=o=>(...e)=>[o,...e].join("-");import{jsx as M}from"react/jsx-runtime";import{clsx as re}from"clsx";import{forwardRef as ne,useEffect as ie}from"react";import{jsxs as x,jsx as c}from"react/jsx-runtime";import"react";import"clsx";var I=h("saltSpinner"),D=o=>{let{id:e,rest:t}=o,r=e||"svg-spinner";return x("svg",{className:I("spinner"),viewBox:"0 0 28 28",id:r,...t,children:[x("defs",{children:[x("linearGradient",{id:`${r}-1`,x1:"100%",x2:"0%",y1:"78%",y2:"78%",children:[c("stop",{className:I("gradientStop"),offset:"0%"}),c("stop",{className:I("gradientStop"),offset:"100%"})]}),x("linearGradient",{id:`${r}-2`,x1:"13%",x2:"100%",y1:"0%",y2:"87%",children:[c("stop",{className:I("gradientStop"),offset:"0%"}),c("stop",{className:I("gradientStop"),offset:"100%",stopOpacity:"0"})]})]}),x("g",{fill:"none",fillRule:"evenodd",children:[c("path",{d:"M28 14H24C24 8.47715 19.5228 4 14 4C8.47715 4 4 8.47715 4 14 H 0 C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14Z",fill:`url(#${r}-1)`}),c("path",{d:"M4 14 C4 19.5228 8.47715 24 14 24V28C6.26801 28 0 21.732 0 14 Z",fill:`url(#${r}-2)`})]})]})};var L=`/* Styles applied to the root element */
|
|
2
|
+
.saltSpinner {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/* Styles applied to the SVG stop elements */
|
|
7
|
+
.saltSpinner-gradientStop {
|
|
8
|
+
stop-color: var(--saltSpinner-gradient-color, var(--salt-accent-background));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* Styles applied when \`size="default"\` */
|
|
12
|
+
.saltSpinner-default {
|
|
13
|
+
height: var(--salt-size-base);
|
|
14
|
+
width: var(--salt-size-base);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Styles applied when \`size="large"\` */
|
|
18
|
+
.saltSpinner-large {
|
|
19
|
+
height: calc(var(--salt-size-base) * 2);
|
|
20
|
+
width: calc(var(--salt-size-base) * 2);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Styles applied to the SVG */
|
|
24
|
+
.saltSpinner-spinner {
|
|
25
|
+
animation: spinner 0.9s linear infinite;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
position: absolute;
|
|
29
|
+
left: 0;
|
|
30
|
+
top: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@keyframes spinner {
|
|
34
|
+
0% {
|
|
35
|
+
transform: rotate(0);
|
|
36
|
+
}
|
|
37
|
+
100% {
|
|
38
|
+
transform: rotate(360deg);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
`;var k=h("saltSpinner"),v=ne(function({"aria-label":e="loading",announcerInterval:t=5e3,announcerTimeout:r=2e4,completionAnnouncement:i=`finished ${e}`,disableAnnouncer:p,role:m="img",className:n,size:l="default",id:s,...V},G){let $=B(s),z=A();E({testId:"salt-spinner",css:L,window:z});let{announce:d}=b();return ie(()=>{if(p)return;d(e);let O=new Date().getTime(),y=t>0&&setInterval(()=>{if(new Date().getTime()-O>r){d(`${e} is still in progress, but will no longer announce.`),y&&clearInterval(y);return}d(e)},t);return()=>{p||(y&&clearInterval(y),i&&d(i))}},[d,t,r,e,i,p]),M("div",{"aria-label":e,className:re(k(),k(l),n),ref:G,role:m,...V,children:M(D,{id:$})})});import se from"clsx";import{SidebarProvider as ae}from"@jpmorganchase/mosaic-site-components";var at=({Header:o,children:e,className:t})=>{let[r,i]=N({loadingDelay:50});return a.createElement(ae,null,a.createElement("div",{className:se(f.root,t)},a.createElement("header",{className:f.header},o),a.createElement("main",{className:f.main},a.createElement(w,{duration:{enter:1200,exit:500},in:r||i},a.createElement("div",{className:f.overlayRoot},a.createElement("div",{className:f.overlayInner}),a.createElement(v,{size:"large"}))),a.createElement(a.Fragment,null,e))))};export{at as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-IPHUI4F3.js";import{a as r}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-IPHUI4F3.js";import{a as r}from"./chunk-PWLN6YTG.js";import o from"react";import{AppHeader as m,Breadcrumbs as a,Footer as u}from"@jpmorganchase/mosaic-site-components";var L=({FooterProps:p,children:e})=>o.createElement(r,{Header:o.createElement(m,null)},o.createElement(t,{Footer:o.createElement(u,{...p})},o.createElement(a,null),e));export{L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-IPHUI4F3.js";import{a as t}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-IPHUI4F3.js";import{a as t}from"./chunk-PWLN6YTG.js";import o from"react";import{AppHeader as m}from"@jpmorganchase/mosaic-site-components";var y=({children:p})=>o.createElement(t,{Header:o.createElement(m,null)},o.createElement(r,null,p));export{y as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-PWLN6YTG.js";import{a as t}from"./chunk-WINYLKTC.js";import o from"react";import{AppHeader as a,Breadcrumbs as p,Footer as i,TableOfContents as s}from"@jpmorganchase/mosaic-site-components";var d=({FooterProps:e,children:m})=>o.createElement(r,{Header:o.createElement(a,null)},o.createElement(t,{PrimarySidebar:null,SecondarySidebar:o.createElement(s,null),Footer:o.createElement(i,{...e})},o.createElement(p,null),m));export{d as a};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-AMS3IRVY.js";import"./chunk-PKAR7XZI.js";import"./chunk-NSCXLJW7.js";import"./chunk-D2IIX5OZ.js";import"./chunk-JPCXSG7Q.js";import"./chunk-Z4UFTC3H.js";import"./chunk-MBTAYER2.js";import"./chunk-WNZGJWRV.js";import"./chunk-LAW2KABC.js";import"./chunk-DE36TWIF.js";import"./chunk-NDZQ5OZP.js";import"./chunk-AE6EOM7J.js";import"./chunk-EHMVVNBO.js";import"./chunk-ASVIILPC.js";import"./chunk-5FXJC7B5.js";import"./chunk-JZTH46EL.js";import"./chunk-UBWMXJH2.js";import"./chunk-XYZ3H4E4.js";import"./chunk-5I5LJEZ2.js";import"./chunk-OMED577C.js";import{a as f}from"./chunk-KVGHBVQJ.js";import"./chunk-VVM6KBXD.js";import{a as e}from"./chunk-IPHUI4F3.js";import"./chunk-X52NEVFW.js";import{a as t}from"./chunk-PWLN6YTG.js";import{a as r}from"./chunk-DTW4UURD.js";import"./chunk-5DJN5CVQ.js";import"./chunk-FJUV7MEK.js";import{a as m}from"./chunk-WINYLKTC.js";import"./chunk-CT42VQGT.js";import{a as p,b as x}from"./chunk-53T3BYR6.js";import"./chunk-FEIY7W7S.js";export{t as LayoutBase,m as LayoutColumns,p as LayoutConfigProvider,e as LayoutFullWidth,f as LayoutProvider,o as layouts,r as useIsLoading,x as useLayoutConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-UBWMXJH2.js";import"../../chunk-IPHUI4F3.js";import"../../chunk-X52NEVFW.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-FEIY7W7S.js";export{a as DetailContentOnly};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-XYZ3H4E4.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-WINYLKTC.js";import"../../chunk-CT42VQGT.js";import"../../chunk-FEIY7W7S.js";export{a as DetailHighlight};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-5I5LJEZ2.js";import"../../chunk-OMED577C.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-WINYLKTC.js";import"../../chunk-CT42VQGT.js";import"../../chunk-FEIY7W7S.js";export{a as DetailOverview};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-AE6EOM7J.js";import"../../chunk-OMED577C.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-WINYLKTC.js";import"../../chunk-CT42VQGT.js";import"../../chunk-FEIY7W7S.js";export{a as DetailTechnical};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-NDZQ5OZP.js";import{a as d}from"../../chunk-
|
|
1
|
+
import"../../chunk-NDZQ5OZP.js";import{a as d}from"../../chunk-AE6EOM7J.js";import{a}from"../../chunk-UBWMXJH2.js";import{a as b}from"../../chunk-XYZ3H4E4.js";import{a as c}from"../../chunk-5I5LJEZ2.js";import"../../chunk-OMED577C.js";import"../../chunk-IPHUI4F3.js";import"../../chunk-X52NEVFW.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-WINYLKTC.js";import"../../chunk-CT42VQGT.js";import"../../chunk-FEIY7W7S.js";export{a as DetailContentOnly,b as DetailHighlight,c as DetailOverview,d as DetailTechnical};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-EHMVVNBO.js";import"../../chunk-ASVIILPC.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-FEIY7W7S.js";export{a as EditLayout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-VVM6KBXD.js";import"../../chunk-IPHUI4F3.js";import"../../chunk-X52NEVFW.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-FEIY7W7S.js";export{a as FullWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-5FXJC7B5.js";import"../../chunk-IPHUI4F3.js";import"../../chunk-X52NEVFW.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-FEIY7W7S.js";export{a as Landing};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-JZTH46EL.js";import"../../chunk-OMED577C.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-WINYLKTC.js";import"../../chunk-CT42VQGT.js";import"../../chunk-FEIY7W7S.js";export{a as Newsletter};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-NSCXLJW7.js";import"../../chunk-IPHUI4F3.js";import"../../chunk-X52NEVFW.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-FEIY7W7S.js";export{a as ProductDiscover};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-D2IIX5OZ.js";import"../../chunk-IPHUI4F3.js";import"../../chunk-X52NEVFW.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-FEIY7W7S.js";export{a as ProductPreview};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-PKAR7XZI.js";import{a}from"../../chunk-
|
|
1
|
+
import"../../chunk-PKAR7XZI.js";import{a}from"../../chunk-NSCXLJW7.js";import{a as b}from"../../chunk-D2IIX5OZ.js";import"../../chunk-IPHUI4F3.js";import"../../chunk-X52NEVFW.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-FEIY7W7S.js";export{a as ProductDiscover,b as ProductPreview};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-JPCXSG7Q.js";import"../../chunk-Z4UFTC3H.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-WINYLKTC.js";import"../../chunk-CT42VQGT.js";import"../../chunk-FEIY7W7S.js";export{a as PythonDoc};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-MBTAYER2.js";import"../../chunk-WNZGJWRV.js";import"../../chunk-LAW2KABC.js";import"../../chunk-DE36TWIF.js";import"../../chunk-PWLN6YTG.js";import"../../chunk-DTW4UURD.js";import"../../chunk-5DJN5CVQ.js";import"../../chunk-FJUV7MEK.js";import"../../chunk-WINYLKTC.js";import"../../chunk-CT42VQGT.js";import"../../chunk-FEIY7W7S.js";export{a as TypeDoc};
|
package/dist/layouts/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-
|
|
1
|
+
import"../chunk-AMS3IRVY.js";import"../chunk-PKAR7XZI.js";import{a as i}from"../chunk-NSCXLJW7.js";import{a as j}from"../chunk-D2IIX5OZ.js";import{a as k}from"../chunk-JPCXSG7Q.js";import"../chunk-Z4UFTC3H.js";import{a as l}from"../chunk-MBTAYER2.js";import"../chunk-WNZGJWRV.js";import"../chunk-LAW2KABC.js";import"../chunk-DE36TWIF.js";import"../chunk-NDZQ5OZP.js";import{a as e}from"../chunk-AE6EOM7J.js";import{a as f}from"../chunk-EHMVVNBO.js";import"../chunk-ASVIILPC.js";import{a as g}from"../chunk-5FXJC7B5.js";import{a as h}from"../chunk-JZTH46EL.js";import{a as b}from"../chunk-UBWMXJH2.js";import{a as c}from"../chunk-XYZ3H4E4.js";import{a as d}from"../chunk-5I5LJEZ2.js";import"../chunk-OMED577C.js";import{a}from"../chunk-VVM6KBXD.js";import"../chunk-IPHUI4F3.js";import"../chunk-X52NEVFW.js";import"../chunk-PWLN6YTG.js";import"../chunk-DTW4UURD.js";import"../chunk-5DJN5CVQ.js";import"../chunk-FJUV7MEK.js";import"../chunk-WINYLKTC.js";import"../chunk-CT42VQGT.js";import"../chunk-FEIY7W7S.js";export{b as DetailContentOnly,c as DetailHighlight,d as DetailOverview,e as DetailTechnical,f as EditLayout,a as FullWidth,g as Landing,h as Newsletter,i as ProductDiscover,j as ProductPreview,k as PythonDoc,l as TypeDoc};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@jpmorganchase/mosaic-layouts",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
4
|
"description": "Mosaic - Layout Components",
|
|
5
|
-
"version": "0.1.0-beta.
|
|
5
|
+
"version": "0.1.0-beta.36",
|
|
6
6
|
"author": "",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"repository": {
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"typescript": "^4.8.3"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@jpmorganchase/mosaic-components": "^0.1.0-beta.
|
|
41
|
-
"@jpmorganchase/mosaic-content-editor-plugin": "0.1.0-beta.
|
|
42
|
-
"@jpmorganchase/mosaic-site-components": "^0.1.0-beta.
|
|
43
|
-
"@jpmorganchase/mosaic-store": "^0.1.0-beta.
|
|
44
|
-
"@jpmorganchase/mosaic-theme": "^0.1.0-beta.
|
|
45
|
-
"@salt-ds/lab": "1.0.0-alpha.
|
|
40
|
+
"@jpmorganchase/mosaic-components": "^0.1.0-beta.36",
|
|
41
|
+
"@jpmorganchase/mosaic-content-editor-plugin": "0.1.0-beta.36",
|
|
42
|
+
"@jpmorganchase/mosaic-site-components": "^0.1.0-beta.36",
|
|
43
|
+
"@jpmorganchase/mosaic-store": "^0.1.0-beta.36",
|
|
44
|
+
"@jpmorganchase/mosaic-theme": "^0.1.0-beta.36",
|
|
45
|
+
"@salt-ds/lab": "1.0.0-alpha.10",
|
|
46
46
|
"@vanilla-extract/css": "^1.6.0",
|
|
47
47
|
"@vanilla-extract/sprinkles": "^1.3.0",
|
|
48
48
|
"clsx": "^1.2.1",
|
package/dist/chunk-RXL2YGYK.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as N}from"./chunk-DTW4UURD.js";import{a as h}from"./chunk-5DJN5CVQ.js";import{a as m}from"./chunk-FJUV7MEK.js";import i from"react";import{createContext as F}from"react";var y=F(void 0);import{useContext as G,useRef as M,useCallback as z,useMemo as v,useEffect as $}from"react";function w(o,e=166,t=!1){let r,n=function(...l){let a=()=>{o.apply(this,l)};clearTimeout(r),t&&a(),r=window.setTimeout(a,e)};return n.clear=()=>{clearTimeout(r)},n}import*as s from"react";var C=s.useId,P=BigInt(0);function V(o){let[e,t]=s.useState(o),r=o||e;return s.useEffect(()=>{e==null&&t(`salt-${++P}`)},[e]),r}function E(o){if(C!==void 0){let e=C();return o??e}return V(o)}import"clsx";var T=({debounce:o=0}={})=>{let e=G(y),t=M(!0),r=z((l,a)=>{let I=e&&e.announce;function x(){t.current&&I&&e.announce(l)}a?setTimeout(x,a):x()},[e]),n=v(()=>o>0?w(r,o):r,[r,o]),p=v(()=>({...e,announce:n}),[e,n]);return $(()=>(t.current=!0,()=>{t.current=!1}),[]),p};var A=o=>(...e)=>[o,...e].join("-");import{jsx as D}from"react/jsx-runtime";import{clsx as O}from"clsx";import{forwardRef as U,useEffect as H}from"react";import{jsxs as c,jsx as f}from"react/jsx-runtime";import"react";import"clsx";var d=A("saltSpinner"),B=o=>{let{id:e,rest:t}=o,r=e||"svg-spinner";return c("svg",{className:d("spinner"),viewBox:"0 0 28 28",id:r,...t,children:[c("defs",{children:[c("linearGradient",{id:`${r}-1`,x1:"100%",x2:"0%",y1:"78%",y2:"78%",children:[f("stop",{className:d("gradientStop"),offset:"0%"}),f("stop",{className:d("gradientStop"),offset:"100%"})]}),c("linearGradient",{id:`${r}-2`,x1:"13%",x2:"100%",y1:"0%",y2:"87%",children:[f("stop",{className:d("gradientStop"),offset:"0%"}),f("stop",{className:d("gradientStop"),offset:"100%",stopOpacity:"0"})]})]}),c("g",{fill:"none",fillRule:"evenodd",children:[f("path",{d:"M28 14H24C24 8.47715 19.5228 4 14 4C8.47715 4 4 8.47715 4 14 H 0 C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14Z",fill:`url(#${r}-1)`}),f("path",{d:"M4 14 C4 19.5228 8.47715 24 14 24V28C6.26801 28 0 21.732 0 14 Z",fill:`url(#${r}-2)`})]})]})};var L=A("saltSpinner"),g=U(function({"aria-label":e="loading",announcerInterval:t=5e3,announcerTimeout:r=2e4,completionAnnouncement:n=`finished ${e}`,disableAnnouncer:p,role:l="img",className:a,size:I="default",id:x,...R},b){let _=E(x),{announce:u}=T();return H(()=>{if(p)return;u(e);let k=new Date().getTime(),S=t>0&&setInterval(()=>{if(new Date().getTime()-k>r){u(`${e} is still in progress, but will no longer announce.`),S&&clearInterval(S);return}u(e)},t);return()=>{p||(S&&clearInterval(S),n&&u(n))}},[u,t,r,e,n,p]),D("div",{"aria-label":e,className:O(L(),L(I),a),ref:b,role:l,...R,children:D(B,{id:_})})});import j from"clsx";import{SidebarProvider as X}from"@jpmorganchase/mosaic-site-components";var Be=({Header:o,children:e,className:t})=>{let[r,n]=N({loadingDelay:50});return i.createElement(X,null,i.createElement("div",{className:j(m.root,t)},i.createElement("header",{className:m.header},o),i.createElement("main",{className:m.main},i.createElement(h,{duration:{enter:1200,exit:500},in:r||n},i.createElement("div",{className:m.overlayRoot},i.createElement("div",{className:m.overlayInner}),i.createElement(g,{size:"large"}))),i.createElement(i.Fragment,null,e))))};export{Be as a};
|
package/dist/chunk-Y6ETLJBK.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./chunk-MWHW4PS3.js";import{a as c}from"./chunk-UIRUCKW5.js";import{a as d}from"./chunk-ZRIJDU4F.js";import{a as g}from"./chunk-OZJ3VKLE.js";import{a as p}from"./chunk-67TTNCMS.js";import{a as t}from"./chunk-OZ6GITIW.js";import{a as x}from"./chunk-SQCFA2JT.js";import{a}from"./chunk-7UIFAUNQ.js";import{a as e}from"./chunk-IN3LDETI.js";import{a as f}from"./chunk-RDQQDQ2N.js";import{a as m}from"./chunk-MEZ2UXNZ.js";import{a as r}from"./chunk-KWTDIN3R.js";import{a as o}from"./chunk-FEIY7W7S.js";var h={};o(h,{DetailContentOnly:()=>e,DetailHighlight:()=>f,DetailOverview:()=>m,DetailTechnical:()=>p,EditLayout:()=>t,FullWidth:()=>r,Landing:()=>x,Newsletter:()=>a,ProductDiscover:()=>b,ProductPreview:()=>c,PythonDoc:()=>d,TypeDoc:()=>g});export{h as a};
|