@ciromaciel/auth-react 1.7.0 → 1.7.2
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/index.esm.js +13 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3046,8 +3046,13 @@ function SignIn({
|
|
|
3046
3046
|
gap: "md",
|
|
3047
3047
|
children: [recentAccounts && accounts.length > 0 && /*#__PURE__*/jsx(Anchor, {
|
|
3048
3048
|
component: "button",
|
|
3049
|
-
type: "button"
|
|
3050
|
-
|
|
3049
|
+
type: "button"
|
|
3050
|
+
// Secondary controls wear the card's supporting
|
|
3051
|
+
// size: 12px, like the terms notice and the code's
|
|
3052
|
+
// "Enviado para". At 14px they outweighed the text
|
|
3053
|
+
// they sit under.
|
|
3054
|
+
,
|
|
3055
|
+
fz: 12,
|
|
3051
3056
|
c: "dimmed",
|
|
3052
3057
|
w: "fit-content",
|
|
3053
3058
|
onClick: () => setIsChoosingOther(false),
|
|
@@ -3212,7 +3217,7 @@ function SignIn({
|
|
|
3212
3217
|
justify: "space-between",
|
|
3213
3218
|
gap: "xs",
|
|
3214
3219
|
children: [/*#__PURE__*/jsx(Anchor, {
|
|
3215
|
-
|
|
3220
|
+
fz: 12,
|
|
3216
3221
|
c: "dimmed",
|
|
3217
3222
|
onClick: () => {
|
|
3218
3223
|
setSentTo(null);
|
|
@@ -3225,7 +3230,7 @@ function SignIn({
|
|
|
3225
3230
|
},
|
|
3226
3231
|
children: labels.changeEmail || 'Usar outro e-mail'
|
|
3227
3232
|
}), !isCodeLocked && /*#__PURE__*/jsx(Anchor, {
|
|
3228
|
-
|
|
3233
|
+
fz: 12,
|
|
3229
3234
|
c: "dimmed",
|
|
3230
3235
|
onClick: sending ? undefined : handleResend,
|
|
3231
3236
|
children: sending ? labels.sendingCode || 'Enviando…' : labels.resendCode || 'Reenviar código'
|
|
@@ -4672,6 +4677,9 @@ function UserInformation({
|
|
|
4672
4677
|
});
|
|
4673
4678
|
}
|
|
4674
4679
|
|
|
4680
|
+
// "12.400 de 60.000 páginas", not "12400 de 60000": the History counts pages in the thousands.
|
|
4681
|
+
const formatCount = value => Number(value).toLocaleString('pt-BR');
|
|
4682
|
+
|
|
4675
4683
|
/** The organization, the role and the plan's usage, on the alternate surface. */
|
|
4676
4684
|
function ContextStrip({
|
|
4677
4685
|
organization,
|
|
@@ -4771,7 +4779,7 @@ function ContextStrip({
|
|
|
4771
4779
|
fz: 12,
|
|
4772
4780
|
fw: isFull ? 700 : 500,
|
|
4773
4781
|
c: isFull ? 'red.8' : 'gray.6',
|
|
4774
|
-
children: `${plan.used} de ${plan.limit}${plan.unit ? ` ${plan.unit}` : ''}${isFull && !limitNoticeOnTop ? ' · limite atingido' : ''}`
|
|
4782
|
+
children: `${formatCount(plan.used)} de ${formatCount(plan.limit)}${plan.unit ? ` ${plan.unit}` : ''}${isFull && !limitNoticeOnTop ? ' · limite atingido' : ''}`
|
|
4775
4783
|
}), showsInvite && /*#__PURE__*/jsx(UnstyledButton, {
|
|
4776
4784
|
onClick: plan.onClick,
|
|
4777
4785
|
fz: 11,
|