@stack-spot/portal-components 2.24.3 → 2.25.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.25.0](https://github.com/stack-spot/portal-commons/compare/portal-components@v2.24.3...portal-components@v2.25.0) (2025-08-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * InfoMaintenanceBanner ([#1404](https://github.com/stack-spot/portal-commons/issues/1404)) ([d36bec1](https://github.com/stack-spot/portal-commons/commit/d36bec16c87882ec6d7fc18bbb9e59e0fb8aad16))
9
+
3
10
  ## [2.24.3](https://github.com/stack-spot/portal-commons/compare/portal-components@v2.24.2...portal-components@v2.24.3) (2025-07-22)
4
11
 
5
12
 
@@ -0,0 +1,9 @@
1
+ interface InfoMaintenanceBannerProps {
2
+ date: string;
3
+ year: string;
4
+ initialHour: string;
5
+ endHour: string;
6
+ }
7
+ export declare const InfoMaintenanceBanner: ({ date, year, initialHour, endHour }: InfoMaintenanceBannerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=InfoMaintenanceBanner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfoMaintenanceBanner.d.ts","sourceRoot":"","sources":["../../src/components/InfoMaintenanceBanner.tsx"],"names":[],"mappings":"AAGA,UAAU,0BAA0B;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,qBAAqB,GAAI,sCAAsC,0BAA0B,4CAGrG,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Text } from '@citric/core';
3
+ import { interpolate, useTranslate } from '@stack-spot/portal-translate';
4
+ export const InfoMaintenanceBanner = ({ date, year, initialHour, endHour }) => {
5
+ const t = useTranslate(dictionary);
6
+ return _jsx(Text, { children: interpolate(t.info, [date, year, initialHour, endHour]) });
7
+ };
8
+ const dictionary = {
9
+ en: {
10
+ info: 'We would like to inform you that StackSpot will undergo maintenance on $0, $1, from $2 (GMT-3) to $3. During this period, this web portal will be temporarily unavailable.',
11
+ },
12
+ pt: {
13
+ info: 'Gostaríamos de informar que a StackSpot passará por manutenção no dia $0 de $1, das $2 (GMT-3) às $3. Durante este período, este portal web estará temporariamente indisponível.',
14
+ },
15
+ };
16
+ //# sourceMappingURL=InfoMaintenanceBanner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfoMaintenanceBanner.js","sourceRoot":"","sources":["../../src/components/InfoMaintenanceBanner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AASxE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAA8B,EAAE,EAAE;IACxG,MAAM,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAAA;IAClC,OAAO,KAAC,IAAI,cAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC,GAAQ,CAAA;AAC/E,CAAC,CAAA;AAED,MAAM,UAAU,GAAG;IACjB,EAAE,EAAE;QACF,IAAI,EAAE,4KAA4K;KACnL;IACD,EAAE,EAAE;QACF,IAAI,EAAE,kLAAkL;KACzL;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorFeedback.d.ts","sourceRoot":"","sources":["../../../src/components/error/ErrorFeedback.tsx"],"names":[],"mappings":"AAsBA,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IAChD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsCD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GACxB,sGAAkH,gBAAgB,4CA0DnI,CAAA"}
1
+ {"version":3,"file":"ErrorFeedback.d.ts","sourceRoot":"","sources":["../../../src/components/error/ErrorFeedback.tsx"],"names":[],"mappings":"AAsBA,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IAChD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsCD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GACxB,sGAAkH,gBAAgB,4CAgEnI,CAAA"}
@@ -67,25 +67,25 @@ export const ErrorFeedback = ({ code = 0, message, debug, title, body, image, ac
67
67
  function renderBody() {
68
68
  return typeof body === 'string' ? _jsx(Text, { appearance: "body1", colorScheme: "inverse", className: "description", children: body }) : body;
69
69
  }
70
- return (_jsx(FeedbackBox, { style: style, className: className, children: _jsxs("div", { className: listToClass(['content', direction]), children: [_jsx("div", { className: "image", children: image ?? imageMap[code] ?? _jsx(ServerError, { style: imageStyle }) }), _jsxs("div", { className: "text-content", children: [_jsx(LinkBox, { href: "/", className: "logo", children: _jsx(Logo, { style: { width: '130px', height: '30px' } }) }), _jsxs(Text, { appearance: "h4", mt: 5, colorScheme: "inverse", className: "title", children: [(code && !title) ? `${t.errorLabel} ${code}. ` : '', _jsx(Text, { appearance: "h4", as: "span", colorScheme: "light.700", children: title ?? t[`${code}.title`] })] }), body ? renderBody() : (_jsxs(_Fragment, { children: [_jsx(Text, { appearance: "body1", mt: 5, colorScheme: "inverse", className: "description", children: description ?? t[`${code}.description`] }), _jsx(Text, { appearance: "body1", colorScheme: "light.700", className: "help", children: help ?? t[`${code}.help`] })] })), shouldShowButtons && (_jsxs("div", { className: "buttons", children: [action && (_jsx(Button, { colorScheme: "inverse", onClick: action.onClick, children: action.label })), debug && message && (_jsx(Button, { appearance: "outlined", colorScheme: "inverse", onClick: () => setShowDetails(v => !v), children: showDetails ? t.hideDetails : t.showDetails }))] })), showDetails && (_jsx("div", { className: "details", children: _jsx(Text, { appearance: "microtext1", children: message }) }))] })] }) }));
70
+ return (_jsx(FeedbackBox, { style: style, className: className, children: _jsxs("div", { className: listToClass(['content', direction]), children: [_jsx("div", { className: "image", children: image ?? imageMap[code] ?? _jsx(ServerError, { style: imageStyle }) }), _jsxs("div", { className: "text-content", children: [_jsx(LinkBox, { href: "/", className: "logo", children: _jsx(Logo, { style: { width: '130px', height: '30px' } }) }), _jsxs(Text, { appearance: "h4", mt: 5, colorScheme: "inverse", className: "title", children: [(code && !title) ? `${t.errorLabel} ${code}. ` : '', _jsx(Text, { appearance: "h4", as: "span", colorScheme: "light.700", children: title ?? t[`${code}.title`] })] }), body ? renderBody() : (_jsxs(_Fragment, { children: [_jsx(Text, { appearance: "body1", mt: 5, colorScheme: "inverse", className: "description", sx: {
71
+ maxWidth: '70ch',
72
+ whiteSpace: 'normal',
73
+ wordBreak: 'break-word',
74
+ }, children: description ?? t[`${code}.description`] }), _jsx(Text, { appearance: "body1", colorScheme: "light.700", className: "help", children: help ?? t[`${code}.help`] })] })), shouldShowButtons && (_jsxs("div", { className: "buttons", children: [action && (_jsx(Button, { colorScheme: "inverse", onClick: action.onClick, children: action.label })), debug && message && (_jsx(Button, { appearance: "outlined", colorScheme: "inverse", onClick: () => setShowDetails(v => !v), children: showDetails ? t.hideDetails : t.showDetails }))] })), showDetails && (_jsx("div", { className: "details", children: _jsx(Text, { appearance: "microtext1", children: message }) }))] })] }) }));
71
75
  };
72
76
  const dictionary = {
73
77
  en: {
74
78
  altLogo: 'Logo Stackspot',
75
79
  '0.title': 'Something didn’t go as expected',
76
- '0.description': 'This can happen from time to time.',
77
- '0.help': 'Try refreshing the page. If it still doesn’t work, reach out. We’re here to help.',
80
+ '0.description': 'This can happen from time to time. Try refreshing the page. If it still doesn’t work, reach out. We’re here to help.',
78
81
  '401.title': 'You need a valid credential',
79
- '401.description': 'We couldn’t verify your credentials.',
80
- '401.help': 'Check the link or log in with a different account to continue.',
82
+ '401.description': 'We couldn’t verify your credentials. Check the link or log in with a different account to continue.',
81
83
  '403.title': 'Access restricted to your organization',
82
84
  '403.help': 'Log in with an account from your organization or request access from your Account Holder.',
83
85
  '404.title': 'This resource is no longer available',
84
- '404.description': 'It may have been moved or removed.',
85
- '404.help': 'You can try again or ask your organization’s Account Holder for a new link.',
86
+ '404.description': 'It may have been moved or removed. You can try again or ask your organization’s Account Holder for a new link.',
86
87
  '500.title': 'We\'re making some adjustments',
87
- '500.description': 'Something unexpected happened on our side. It might just be a momentary glitch.',
88
- '500.help': 'Try refreshing later to pick up where you left off.',
88
+ '500.description': 'Something unexpected happened on our side. It might just be a momentary glitch. Try refreshing later to pick up where you left off.',
89
89
  showDetails: 'Show Details',
90
90
  hideDetails: 'Hide Details',
91
91
  errorLabel: 'Error',
@@ -93,19 +93,15 @@ const dictionary = {
93
93
  pt: {
94
94
  altLogo: 'Logo Stackspot',
95
95
  '0.title': 'Algo saiu diferente do esperado',
96
- '0.description': 'Isso pode acontecer de vez em quando.',
97
- '0.help': 'Tente recarregar a página. Se ainda não funcionar, chama a gente. Estamos por aqui para ajudar.',
96
+ '0.description': 'Isso pode acontecer de vez em quando. Tente recarregar a página. Se ainda não funcionar, chama a gente. Estamos por aqui para ajudar.',
98
97
  '401.title': 'Você precisa de uma credencial válida',
99
- '401.description': 'Não conseguimos confirmar suas credenciais.',
100
- '401.help': 'Verifique o link ou faça login com outra conta para continuar.',
98
+ '401.description': 'Não conseguimos confirmar suas credenciais. Verifique o link ou faça login com outra conta para continuar.',
101
99
  '403.title': 'Acesso exclusivo da sua organização',
102
100
  '403.help': 'Faça login com uma conta da sua organização ou peça acesso ao Account Holder.',
103
101
  '404.title': 'Este recurso não está mais disponível',
104
- '404.description': 'Ele pode ter sido movido ou removido.',
105
- '404.help': 'Você pode tentar de novo ou pedir um novo link ao Account Holder da sua organização.',
102
+ '404.description': 'Ele pode ter sido movido ou removido. Você pode tentar de novo ou pedir um novo link ao Account Holder da sua organização.',
106
103
  '500.title': 'Estamos ajustando o sistema',
107
- '500.description': 'Algo inesperado aconteceu do nosso lado. Pode ser só por alguns instantes.',
108
- '500.help': 'Tente recarregar mais tarde para continuar de onde parou.',
104
+ '500.description': 'Algo inesperado aconteceu do nosso lado. Pode ser só por alguns instantes. Tente recarregar mais tarde para continuar de onde parou.',
109
105
  showDetails: 'Ver Detalhes',
110
106
  hideDetails: 'Esconder Detalhes',
111
107
  errorLabel: 'Erro',
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorFeedback.js","sourceRoot":"","sources":["../../../src/components/error/ErrorFeedback.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAc,YAAY,EAAE,MAAM,8BAA8B,CAAA;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,MAAM,UAAU,GAAwB;IACtC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,OAAO;CAChB,CAAA;AAED,MAAM,QAAQ,GAAuC;IACnD,GAAG,EAAE,KAAC,eAAe,IAAC,KAAK,EAAE,UAAU,GAAI;IAC3C,GAAG,EAAE,KAAC,SAAS,IAAC,KAAK,EAAE,UAAU,GAAI;IACrC,GAAG,EAAE,KAAC,QAAQ,IAAC,KAAK,EAAE,UAAU,GAAI;CACrC,CAAA;AAiDD,MAAM,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E,MAAM;KACnB;CACmB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export { AsyncContent } from './components/AsyncContent.js';
2
2
  export { BannerWarning } from './components/BannerWarning.js';
3
3
  export { ButtonLoading } from './components/ButtonLoading.js';
4
4
  export { ChatBot } from './components/ChatBot.js';
5
+ export { InfoMaintenanceBanner } from './components/InfoMaintenanceBanner.js';
5
6
  export * from './components/Select/index.js';
6
7
  export * from './components/Select/types.js';
7
8
  export { useDateFormatter } from './hooks/date.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,cAAc,qBAAqB,CAAA;AACnC,cAAe,2BAA2B,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,UAAU,IAAI,oBAAoB,EAAE,iCAAiC,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AACpJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AAC1E,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,UAAU,IAAI,oBAAoB,EAAE,iCAAiC,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AACpJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA"}
package/dist/index.js CHANGED
@@ -2,6 +2,7 @@ export { AsyncContent } from './components/AsyncContent.js';
2
2
  export { BannerWarning } from './components/BannerWarning.js';
3
3
  export { ButtonLoading } from './components/ButtonLoading.js';
4
4
  export { ChatBot } from './components/ChatBot.js';
5
+ export { InfoMaintenanceBanner } from './components/InfoMaintenanceBanner.js';
5
6
  export * from './components/Select/index.js';
6
7
  export * from './components/Select/types.js';
7
8
  export { useDateFormatter } from './hooks/date.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,cAAc,qBAAqB,CAAA;AACnC,cAAe,2BAA2B,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,UAAU,IAAI,oBAAoB,EAAE,iCAAiC,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AACpJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AAC1E,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,UAAU,IAAI,oBAAoB,EAAE,iCAAiC,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AACpJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stack-spot/portal-components",
3
- "version": "2.24.3",
3
+ "version": "2.25.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,23 @@
1
+ import { Text } from '@citric/core'
2
+ import { interpolate, useTranslate } from '@stack-spot/portal-translate'
3
+
4
+ interface InfoMaintenanceBannerProps {
5
+ date: string,
6
+ year: string,
7
+ initialHour: string,
8
+ endHour: string,
9
+ }
10
+
11
+ export const InfoMaintenanceBanner = ({ date, year, initialHour, endHour }: InfoMaintenanceBannerProps) => {
12
+ const t = useTranslate(dictionary)
13
+ return <Text>{interpolate(t.info, [date, year, initialHour, endHour])}</Text>
14
+ }
15
+
16
+ const dictionary = {
17
+ en: {
18
+ info: 'We would like to inform you that StackSpot will undergo maintenance on $0, $1, from $2 (GMT-3) to $3. During this period, this web portal will be temporarily unavailable.',
19
+ },
20
+ pt: {
21
+ info: 'Gostaríamos de informar que a StackSpot passará por manutenção no dia $0 de $1, das $2 (GMT-3) às $3. Durante este período, este portal web estará temporariamente indisponível.',
22
+ },
23
+ }
@@ -137,7 +137,13 @@ export const ErrorFeedback = (
137
137
  </Text>
138
138
  {body ? renderBody() : (
139
139
  <>
140
- <Text appearance="body1" mt={5} colorScheme="inverse" className="description">
140
+ <Text appearance="body1" mt={5} colorScheme="inverse" className="description"
141
+ sx={{
142
+ maxWidth: '70ch',
143
+ whiteSpace: 'normal',
144
+ wordBreak: 'break-word',
145
+ }}
146
+ >
141
147
  {description ?? t[`${code}.description`]}
142
148
  </Text>
143
149
 
@@ -175,20 +181,16 @@ const dictionary = {
175
181
  en: {
176
182
  altLogo: 'Logo Stackspot',
177
183
  '0.title': 'Something didn’t go as expected',
178
- '0.description': 'This can happen from time to time.',
179
- '0.help': 'Try refreshing the page. If it still doesn’t work, reach out. We’re here to help.',
184
+ '0.description': 'This can happen from time to time. Try refreshing the page. If it still doesn’t work, reach out. We’re here to help.',
180
185
  '401.title': 'You need a valid credential',
181
- '401.description': 'We couldn’t verify your credentials.',
182
- '401.help': 'Check the link or log in with a different account to continue.',
186
+ '401.description': 'We couldn’t verify your credentials. Check the link or log in with a different account to continue.',
183
187
  '403.title': 'Access restricted to your organization',
184
188
  '403.help': 'Log in with an account from your organization or request access from your Account Holder.',
185
189
  '404.title': 'This resource is no longer available',
186
- '404.description': 'It may have been moved or removed.',
187
- '404.help': 'You can try again or ask your organization’s Account Holder for a new link.',
190
+ '404.description': 'It may have been moved or removed. You can try again or ask your organization’s Account Holder for a new link.',
188
191
  '500.title': 'We\'re making some adjustments',
189
192
  '500.description':
190
- 'Something unexpected happened on our side. It might just be a momentary glitch.',
191
- '500.help': 'Try refreshing later to pick up where you left off.',
193
+ 'Something unexpected happened on our side. It might just be a momentary glitch. Try refreshing later to pick up where you left off.',
192
194
  showDetails: 'Show Details',
193
195
  hideDetails: 'Hide Details',
194
196
  errorLabel: 'Error',
@@ -196,19 +198,18 @@ const dictionary = {
196
198
  pt: {
197
199
  altLogo: 'Logo Stackspot',
198
200
  '0.title': 'Algo saiu diferente do esperado',
199
- '0.description': 'Isso pode acontecer de vez em quando.',
200
- '0.help': 'Tente recarregar a página. Se ainda não funcionar, chama a gente. Estamos por aqui para ajudar.',
201
+ '0.description':
202
+ 'Isso pode acontecer de vez em quando. Tente recarregar a página. Se ainda não funcionar, chama a gente. Estamos por aqui para ajudar.',
201
203
  '401.title': 'Você precisa de uma credencial válida',
202
- '401.description': 'Não conseguimos confirmar suas credenciais.',
203
- '401.help': 'Verifique o link ou faça login com outra conta para continuar.',
204
+ '401.description': 'Não conseguimos confirmar suas credenciais. Verifique o link ou faça login com outra conta para continuar.',
204
205
  '403.title': 'Acesso exclusivo da sua organização',
205
206
  '403.help': 'Faça login com uma conta da sua organização ou peça acesso ao Account Holder.',
206
207
  '404.title': 'Este recurso não está mais disponível',
207
- '404.description': 'Ele pode ter sido movido ou removido.',
208
- '404.help': 'Você pode tentar de novo ou pedir um novo link ao Account Holder da sua organização.',
208
+ '404.description':
209
+ 'Ele pode ter sido movido ou removido. Você pode tentar de novo ou pedir um novo link ao Account Holder da sua organização.',
209
210
  '500.title': 'Estamos ajustando o sistema',
210
- '500.description': 'Algo inesperado aconteceu do nosso lado. Pode ser só por alguns instantes.',
211
- '500.help': 'Tente recarregar mais tarde para continuar de onde parou.',
211
+ '500.description':
212
+ 'Algo inesperado aconteceu do nosso lado. Pode ser só por alguns instantes. Tente recarregar mais tarde para continuar de onde parou.',
212
213
  showDetails: 'Ver Detalhes',
213
214
  hideDetails: 'Esconder Detalhes',
214
215
  errorLabel: 'Erro',
package/src/index.ts CHANGED
@@ -2,8 +2,9 @@ export { AsyncContent } from './components/AsyncContent'
2
2
  export { BannerWarning } from './components/BannerWarning'
3
3
  export { ButtonLoading } from './components/ButtonLoading'
4
4
  export { ChatBot } from './components/ChatBot'
5
+ export { InfoMaintenanceBanner } from './components/InfoMaintenanceBanner'
5
6
  export * from './components/Select'
6
- export * from './components/Select/types'
7
+ export * from './components/Select/types'
7
8
  export { useDateFormatter } from './hooks/date'
8
9
  export { useKeyboardControls } from './hooks/keyboard'
9
10
  export { useManualRender } from './hooks/manual-render'
@@ -15,3 +16,4 @@ export * from './utils/accessibility'
15
16
  export * from './utils/cookie'
16
17
  export { delay } from './utils/promise'
17
18
  export { readFile } from './utils/read-file'
19
+