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