@nextelco/common-ui 2.1.62 → 2.1.64

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.
@@ -13,10 +13,17 @@ export interface LoginScreenProps {
13
13
  logo?: React.ReactNode;
14
14
  /** Mensagem de erro opcional (ex: falha de login). */
15
15
  error?: string;
16
+ /**
17
+ * Canto superior direito — tipicamente o seletor de idioma.
18
+ *
19
+ * Existe porque quem ainda não entrou pode não perceber a língua em que o
20
+ * ecrã está, e é precisamente aí que mais precisa de a poder trocar.
21
+ */
22
+ topoDireita?: React.ReactNode;
16
23
  }
17
24
  /**
18
25
  * Ecrã de login partilhado (design system proef): fundo navy, marca "proef",
19
26
  * título/subtítulo da app e botão de entrar. Agnóstico ao provider — a app passa
20
27
  * `onSignIn` (MSAL/Keycloak/…). Requer o CSS do common-ui.
21
28
  */
22
- export default function LoginScreen({ appTitle, subtitle, onSignIn, signInLabel, companyLabel, logo, error, }: LoginScreenProps): React.JSX.Element;
29
+ export default function LoginScreen({ appTitle, subtitle, onSignIn, signInLabel, companyLabel, logo, error, topoDireita, }: LoginScreenProps): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextelco/common-ui",
3
- "version": "2.1.62",
3
+ "version": "2.1.64",
4
4
  "description": "",
5
5
  "main": "dist/bundle.js",
6
6
  "types": "dist/types/index.d.ts",