@ya-accelerators/nextjs-framework 0.0.48 → 0.0.49

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.
@@ -0,0 +1,3 @@
1
+ export declare const ErrorPage: ({ reset }: {
2
+ reset?: () => void;
3
+ }) => import("react").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import ErrorOutlinedIcon from '@mui/icons-material/ErrorOutlined';
2
+ import { Component } from '../../component';
3
+ import { Composite } from '../../composite';
4
+ import { Layout } from '../../layout';
5
+ import { ColorTypes, ControlSize, TextColorTypes } from '../../theme';
6
+ export const ErrorPage = ({ reset }) => (<Layout.AppContent title={{ title: '' }}>
7
+ <div className='flex flex-col items-center justify-center gap-base py-2xl'>
8
+ <Component.Icon icon={ErrorOutlinedIcon} className='size-control-3xl text-error'/>
9
+ <Component.Typography.H3>問題が発生しました</Component.Typography.H3>
10
+ <Component.Typography.P color={TextColorTypes.sub}>
11
+ ページを表示できませんでした。しばらくしてからもう一度お試しください。
12
+ </Component.Typography.P>
13
+ {reset && (<Composite.Button variant='colored' color={ColorTypes.primary} size={ControlSize.base} label='再試行' onClick={() => reset()}/>)}
14
+ </div>
15
+ </Layout.AppContent>);
16
+ //# sourceMappingURL=index.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../src/ui/functional/errorPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,mCAAmC,CAAA;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAErE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAA0B,EAAE,EAAE,CAAC,CAC9D,CAAC,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACtC;IAAA,CAAC,GAAG,CAAC,SAAS,CAAC,2DAA2D,CACxE;MAAA,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,iBAAiB,CAAC,CAAC,SAAS,CAAC,6BAA6B,EAChF;MAAA,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,EAAE,CAC3D;MAAA,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,CAChD;;MACF,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC,CACxB;MAAA,CAAC,KAAK,IAAI,CACR,CAAC,SAAS,CAAC,MAAM,CACf,OAAO,CAAC,SAAS,CACjB,KAAK,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,CAC1B,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CACvB,KAAK,CAAC,KAAK,CACX,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EACvB,CACH,CACH;IAAA,EAAE,GAAG,CACP;EAAA,EAAE,MAAM,CAAC,UAAU,CAAC,CACrB,CAAA"}
@@ -7,4 +7,7 @@ export declare const Functional: {
7
7
  title?: string;
8
8
  }) => import("react").JSX.Element;
9
9
  NotFound: () => import("react").JSX.Element;
10
+ ErrorPage: ({ reset }: {
11
+ reset?: () => void;
12
+ }) => import("react").JSX.Element;
10
13
  };
@@ -1,7 +1,9 @@
1
+ import * as errorPage from './errorPage';
1
2
  import * as notFound from './notFound';
2
3
  import * as signInForm from './signInForm';
3
4
  import * as signOutForm from './signOutForm';
4
5
  export const Functional = {
6
+ ...errorPage,
5
7
  ...notFound,
6
8
  ...signInForm,
7
9
  ...signOutForm,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/functional/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;AAE5C,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,GAAG,QAAQ;IACX,GAAG,UAAU;IACb,GAAG,WAAW;CACf,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/functional/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;AAE5C,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,GAAG,SAAS;IACZ,GAAG,QAAQ;IACX,GAAG,UAAU;IACb,GAAG,WAAW;CACf,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ya-accelerators/nextjs-framework",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "author": "YA Technologies OÜ",