@seedgrid/fe-components 2026.3.3-1 → 2026.3.3-3
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/blocked-email-domains.d.ts +5 -0
- package/dist/blocked-email-domains.d.ts.map +1 -0
- package/dist/{blocked-email-domains.json → blocked-email-domains.js} +4 -3
- package/dist/i18n/en-US.d.ts +3 -0
- package/dist/i18n/en-US.d.ts.map +1 -0
- package/dist/i18n/{en-US.json → en-US.js} +3 -2
- package/dist/i18n/es.d.ts +3 -0
- package/dist/i18n/es.d.ts.map +1 -0
- package/dist/i18n/es.js +85 -0
- package/dist/i18n/index.d.ts +4 -336
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/index.js +4 -4
- package/dist/i18n/pt-BR.d.ts +3 -0
- package/dist/i18n/pt-BR.d.ts.map +1 -0
- package/dist/i18n/pt-BR.js +85 -0
- package/dist/i18n/pt-PT.d.ts +3 -0
- package/dist/i18n/pt-PT.d.ts.map +1 -0
- package/dist/i18n/{pt-PT.json → pt-PT.js} +13 -12
- package/dist/others/SgPlayground.d.ts.map +1 -1
- package/dist/others/SgPlayground.js +12 -22
- package/dist/sandbox.cjs +37 -40
- package/dist/validators.js +1 -1
- package/package.json +1 -1
- package/dist/i18n/es.json +0 -84
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
1
|
+
const ptPT = {
|
|
2
2
|
"components.actions.clear": "Limpar",
|
|
3
3
|
"components.wizard.next": "Próximo",
|
|
4
4
|
"components.wizard.previous": "Anterior",
|
|
@@ -67,18 +67,19 @@
|
|
|
67
67
|
"components.validators.birthdate.ageMax": "A idade deve ser de no máximo {max} anos.",
|
|
68
68
|
"components.autocomplete.empty": "Nenhum registo encontrado.",
|
|
69
69
|
"components.autocomplete.loading": "A carregar...",
|
|
70
|
-
"components.inputs.number.min": "O valor deve ser no
|
|
71
|
-
"components.inputs.number.max": "O valor deve ser no
|
|
72
|
-
"components.fab.resetConfirm": "Repor a
|
|
73
|
-
"components.fab.resetPosition": "Repor
|
|
70
|
+
"components.inputs.number.min": "O valor deve ser no mínimo {min}.",
|
|
71
|
+
"components.inputs.number.max": "O valor deve ser no máximo {max}.",
|
|
72
|
+
"components.fab.resetConfirm": "Repor a posição do botão?",
|
|
73
|
+
"components.fab.resetPosition": "Repor posição",
|
|
74
74
|
"components.fab.yes": "Sim",
|
|
75
|
-
"components.fab.no": "
|
|
76
|
-
"components.dock.resetPosition": "Repor
|
|
77
|
-
"components.dock.resetConfirm": "Tem a certeza de que deseja repor a
|
|
75
|
+
"components.fab.no": "Não",
|
|
76
|
+
"components.dock.resetPosition": "Repor posição",
|
|
77
|
+
"components.dock.resetConfirm": "Tem a certeza de que deseja repor a posição do dock para o padrão?",
|
|
78
78
|
"components.dock.dropHere": "Largue aqui",
|
|
79
79
|
"components.actions.cancel": "Cancelar",
|
|
80
80
|
"components.actions.confirm": "Confirmar",
|
|
81
|
-
"components.rating.required": "Por favor,
|
|
82
|
-
"components.rating.cancel": "Cancelar
|
|
83
|
-
"components.radiogroup.cancel": "Nenhuma
|
|
84
|
-
}
|
|
81
|
+
"components.rating.required": "Por favor, forneça uma avaliação",
|
|
82
|
+
"components.rating.cancel": "Cancelar avaliação",
|
|
83
|
+
"components.radiogroup.cancel": "Nenhuma opção"
|
|
84
|
+
};
|
|
85
|
+
export default ptPT;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SgPlayground.d.ts","sourceRoot":"","sources":["../../src/others/SgPlayground.tsx"],"names":[],"mappings":"AAiBA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MA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AAE,MAAM,CAAC;CAC5B,CAAC;AA2wBF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,QAAQ,CAAC,iBAAiB,CAAC,2CA2atE"}
|
|
@@ -439,13 +439,6 @@ function resolveDefaultNpmRegistriesFromEnv() {
|
|
|
439
439
|
}
|
|
440
440
|
];
|
|
441
441
|
}
|
|
442
|
-
function buildCjsModule(value) {
|
|
443
|
-
const serialized = JSON.stringify(value);
|
|
444
|
-
return `const data = ${serialized};
|
|
445
|
-
module.exports = data;
|
|
446
|
-
module.exports.default = data;
|
|
447
|
-
`;
|
|
448
|
-
}
|
|
449
442
|
const SANDPACK_MIN_COMPONENT_MESSAGES = {
|
|
450
443
|
"components.actions.clear": "Clear",
|
|
451
444
|
"components.actions.cancel": "Cancel",
|
|
@@ -466,11 +459,13 @@ const SANDPACK_MIN_COMPONENT_MESSAGES = {
|
|
|
466
459
|
"components.rating.cancel": "Cancel rating",
|
|
467
460
|
"components.radiogroup.cancel": "No option"
|
|
468
461
|
};
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
const
|
|
472
|
-
const
|
|
473
|
-
const
|
|
462
|
+
// These shims use valid JSON so the Sandpack bundler can parse them as JSON modules.
|
|
463
|
+
// (The self-hosted bundler evaluates .json files as JS, wrapping them with module.exports = {...}.)
|
|
464
|
+
const SANDPACK_SEEDGRID_PT_BR_JSON_SHIM = JSON.stringify(SANDPACK_MIN_COMPONENT_MESSAGES);
|
|
465
|
+
const SANDPACK_SEEDGRID_PT_PT_JSON_SHIM = JSON.stringify(SANDPACK_MIN_COMPONENT_MESSAGES);
|
|
466
|
+
const SANDPACK_SEEDGRID_EN_US_JSON_SHIM = JSON.stringify(SANDPACK_MIN_COMPONENT_MESSAGES);
|
|
467
|
+
const SANDPACK_SEEDGRID_ES_JSON_SHIM = JSON.stringify(SANDPACK_MIN_COMPONENT_MESSAGES);
|
|
468
|
+
const SANDPACK_SEEDGRID_BLOCKED_EMAIL_DOMAINS_JSON_SHIM = JSON.stringify({
|
|
474
469
|
blockedEmailDomains: []
|
|
475
470
|
});
|
|
476
471
|
function parseRgbParts(raw) {
|
|
@@ -815,18 +810,13 @@ export default function SgPlayground(props) {
|
|
|
815
810
|
"/styles.css": { code: sandpackStylesCss || buildSandpackStylesCss({}, effectivePreviewPadding) }
|
|
816
811
|
};
|
|
817
812
|
if (includeSeedgridDependency) {
|
|
818
|
-
//
|
|
813
|
+
// Intercept the package entry point and redirect to the pre-compiled sandbox bundle
|
|
819
814
|
// (dist/sandbox.cjs) instead of the tsc barrel file (dist/index.js).
|
|
820
|
-
// This makes the Sandpack bundler fetch and process ONE file instead of 200+ individual files
|
|
821
|
-
//
|
|
815
|
+
// This makes the Sandpack bundler fetch and process ONE file instead of 200+ individual files.
|
|
816
|
+
// The real package.json from npm is left intact so version resolution works normally.
|
|
822
817
|
// Requires @seedgrid/fe-components to be built with: pnpm run build:sandbox
|
|
823
|
-
files["/node_modules/@seedgrid/fe-components/
|
|
824
|
-
code:
|
|
825
|
-
name: "@seedgrid/fe-components",
|
|
826
|
-
version: "0.0.0-sandbox",
|
|
827
|
-
main: "dist/sandbox.cjs",
|
|
828
|
-
exports: { ".": { require: "./dist/sandbox.cjs", default: "./dist/sandbox.cjs" } }
|
|
829
|
-
}),
|
|
818
|
+
files["/node_modules/@seedgrid/fe-components/dist/index.js"] = {
|
|
819
|
+
code: `module.exports = require("./sandbox.cjs");`,
|
|
830
820
|
hidden: true
|
|
831
821
|
};
|
|
832
822
|
// Compatibility shim for legacy @seedgrid/fe-components builds that still import "qrcode" (node-only path).
|