@seedgrid/fe-components 2026.3.3-2 → 2026.3.3-4
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.json → pt-BR.js} +13 -12
- 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/manifest.js +2 -2
- package/dist/others/SgPlayground.d.ts.map +1 -1
- package/dist/others/SgPlayground.js +7 -12
- package/dist/sandbox.cjs +31 -34
- package/dist/validators.js +1 -1
- package/package.json +1 -1
- package/dist/i18n/es.json +0 -84
|
@@ -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) {
|