@cyberskill/design 2.4.0 → 2.6.0
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/DESIGN.md +4 -4
- package/README.md +6 -5
- package/SECURITY.md +4 -4
- package/VERSION +1 -1
- package/_ds_bundle.js +2 -2
- package/_ds_bundle.js.map +1 -1
- package/_ds_manifest.json +6 -102
- package/_esm/cs.mjs +2 -2
- package/base/a11y.css +7 -12
- package/base/ai.css +3 -2
- package/base/collections.css +1 -1
- package/base/components.css +1 -1
- package/base/controls.css +17 -9
- package/base/data.css +1 -0
- package/base/feedback.css +4 -4
- package/base/glass.css +1 -1
- package/base/shell.css +1 -1
- package/base/typography.css +1 -1
- package/components/ai/ai-conversation.card.html +1 -1
- package/components/ai/ai-lumi.card.html +1 -1
- package/components/ai/ai.card.html +1 -1
- package/components/brand/brand.card.html +1 -1
- package/components/button/buttons.card.html +1 -1
- package/components/data/collections.card.html +1 -1
- package/components/data/data.card.html +1 -1
- package/components/datatable/datatable.card.html +1 -1
- package/components/dialog/dialog.card.html +1 -1
- package/components/feedback/feedback-2.card.html +1 -1
- package/components/feedback/feedback.card.html +2 -2
- package/components/forms/forms-2.card.html +1 -1
- package/components/forms/forms.card.html +1 -1
- package/components/i18n/i18n.card.html +1 -1
- package/components/icon/icon.card.html +1 -1
- package/components/logo/logo.card.html +2 -2
- package/components/navigation/navigation.card.html +1 -1
- package/components/navigation/shell.card.html +1 -1
- package/components/overlays/alertdialog.card.html +1 -1
- package/components/overlays/overlays.card.html +1 -1
- package/components/prompt-api.json +1 -1
- package/components/release-compatibility.json +1 -1
- package/components/specifications.json +1 -1
- package/components/static-html-reference.json +20 -20
- package/components/textfield/textfield.card.html +1 -1
- package/dist/esm/build.json +1 -1
- package/dist/styles.css +3177 -0
- package/dist/styles.min.css +1 -1
- package/docs/UPSTREAM.md +39 -0
- package/docs/consuming.md +1 -1
- package/docs/contrast-report.md +1 -1
- package/docs/conventions.md +1 -1
- package/docs/guideline-language.md +2 -2
- package/docs/reference-catalog.json +34 -22
- package/docs/release-notes.md +14 -1
- package/docs/static-html-reference.md +18 -18
- package/docs/template-inventory.json +125 -125
- package/docs/vi/UPSTREAM.md +39 -0
- package/docs/vi/consuming.md +1 -1
- package/docs/vi/contrast-report.md +1 -1
- package/docs/vi/conventions.md +1 -1
- package/docs/vi/entrypoints/DESIGN.md +4 -4
- package/docs/vi/entrypoints/README.md +6 -5
- package/docs/vi/guideline-language.md +2 -2
- package/docs/vi/release-notes.md +14 -1
- package/docs/vi/static-html-reference.md +18 -18
- package/docs/viewer.html +2 -2
- package/guidelines/atomic-view.html +5 -5
- package/guidelines/brand-iconography.html +1 -1
- package/guidelines/brand-imagery.html +1 -1
- package/guidelines/brand-interaction.html +1 -1
- package/guidelines/brand-voice.html +1 -1
- package/guidelines/colors-anchors.html +1 -1
- package/guidelines/colors-semantic.html +1 -1
- package/guidelines/colors-surfaces.html +1 -1
- package/guidelines/colors-text.html +1 -1
- package/guidelines/documents.html +1 -1
- package/guidelines/elements-components.html +1 -1
- package/guidelines/elements-concept.html +1 -1
- package/guidelines/elements-geometry.html +1 -1
- package/guidelines/elements-variants.html +1 -1
- package/guidelines/guideline-language.js +6 -5
- package/guidelines/motion-interaction.html +1 -1
- package/guidelines/motion.html +1 -1
- package/guidelines/responsive-bilingual.html +1 -1
- package/guidelines/rtl-preview.html +1 -1
- package/guidelines/spacing-breakpoints.html +1 -1
- package/guidelines/spacing-radius.html +1 -1
- package/guidelines/spacing-scale.html +1 -1
- package/guidelines/surfaces-aurora.html +1 -1
- package/guidelines/surfaces-depth.html +1 -1
- package/guidelines/surfaces-glass.html +1 -1
- package/guidelines/surfaces-shadow.html +1 -1
- package/guidelines/type-families.html +1 -1
- package/guidelines/type-lineheight.html +1 -1
- package/guidelines/type-scale.html +1 -1
- package/guidelines/type-weights.html +1 -1
- package/package.json +8 -4
- package/styles/components/manifest.json +133 -133
- package/styles.layered.css +21 -23
- package/styles.layered.provenance.json +12 -12
- package/templates/_ds-base.canonical.js +6 -4
- package/templates/app-shell/ds-base.js +6 -4
- package/templates/article/ds-base.js +6 -4
- package/templates/auth/ds-base.js +6 -4
- package/templates/bod-deck/ds-base.js +6 -4
- package/templates/bod-investor-update/ds-base.js +6 -4
- package/templates/bod-memo/ds-base.js +6 -4
- package/templates/bod-minutes/ds-base.js +6 -4
- package/templates/bod-report/ds-base.js +6 -4
- package/templates/bod-resolution/ds-base.js +6 -4
- package/templates/culture-event-invite/ds-base.js +6 -4
- package/templates/dashboard/ds-base.js +6 -4
- package/templates/delivery-change-note/ds-base.js +6 -4
- package/templates/delivery-kickoff/ds-base.js +6 -4
- package/templates/delivery-qbr-deck/ds-base.js +6 -4
- package/templates/delivery-runbook/ds-base.js +6 -4
- package/templates/delivery-status-email/ds-base.js +6 -4
- package/templates/doc-style-guide/ds-base.js +6 -4
- package/templates/doc-suite-index/ds-base.js +6 -4
- package/templates/doc-templates/ds-base.js +6 -4
- package/templates/email/ds-base.js +6 -4
- package/templates/finance-dunning-email/ds-base.js +6 -4
- package/templates/finance-expense-report/ds-base.js +6 -4
- package/templates/finance-invoice/ds-base.js +6 -4
- package/templates/finance-quote/ds-base.js +6 -4
- package/templates/hr-announcement/ds-base.js +6 -4
- package/templates/hr-interview-kit/ds-base.js +6 -4
- package/templates/hr-offboarding/ds-base.js +6 -4
- package/templates/hr-performance-review/ds-base.js +6 -4
- package/templates/hr-pip/ds-base.js +6 -4
- package/templates/kitchen-sink.html +1 -1
- package/templates/legal-msa/ds-base.js +6 -4
- package/templates/legal-sow/ds-base.js +6 -4
- package/templates/marketing-campaign-brief/ds-base.js +6 -4
- package/templates/marketing-case-study/ds-base.js +6 -4
- package/templates/marketing-launch/ds-base.js +6 -4
- package/templates/marketing-newsletter/ds-base.js +6 -4
- package/templates/marketing-page/ds-base.js +6 -4
- package/templates/marketing-press-release/ds-base.js +6 -4
- package/templates/marketing-social-kit/ds-base.js +6 -4
- package/templates/sales-one-pager/ds-base.js +6 -4
- package/templates/sales-proposal-deck/ds-base.js +6 -4
- package/templates/settings/ds-base.js +6 -4
- package/templates/slide-deck/ds-base.js +6 -4
- package/templates/team-meeting-agenda/ds-base.js +6 -4
- package/templates/tech-incident-report/ds-base.js +6 -4
- package/templates/tech-release-notes/ds-base.js +6 -4
- package/templates/tech-retro/ds-base.js +6 -4
- package/templates/tech-rfc/ds-base.js +6 -4
- package/templates/vn-appointment-transfer/ds-base.js +6 -4
- package/templates/vn-certificate-of-employment/ds-base.js +6 -4
- package/templates/vn-code-of-conduct/ds-base.js +6 -4
- package/templates/vn-compensation-regulation/ds-base.js +6 -4
- package/templates/vn-contract-amendment/ds-base.js +6 -4
- package/templates/vn-contractor-agreement/ds-base.js +6 -4
- package/templates/vn-data-protection-policy/ds-base.js +6 -4
- package/templates/vn-disciplinary-case-file/ds-base.js +6 -4
- package/templates/vn-disciplinary-schedule/ds-base.js +6 -4
- package/templates/vn-employee-request/ds-base.js +6 -4
- package/templates/vn-exit-handover/ds-base.js +6 -4
- package/templates/vn-foreign-employee-pack/ds-base.js +6 -4
- package/templates/vn-framework-agreement/ds-base.js +6 -4
- package/templates/vn-grassroots-democracy/ds-base.js +6 -4
- package/templates/vn-infosec-policy/ds-base.js +6 -4
- package/templates/vn-internal-labor-regulations/ds-base.js +6 -4
- package/templates/vn-internship-agreement/ds-base.js +6 -4
- package/templates/vn-job-description/ds-base.js +6 -4
- package/templates/vn-labor-contract/ds-base.js +6 -4
- package/templates/vn-labour-management-book/ds-base.js +6 -4
- package/templates/vn-mutual-nda/ds-base.js +6 -4
- package/templates/vn-ndnca-ip/ds-base.js +6 -4
- package/templates/vn-offer-letter/ds-base.js +6 -4
- package/templates/vn-onboarding-checklist/ds-base.js +6 -4
- package/templates/vn-pdpl-consent/ds-base.js +6 -4
- package/templates/vn-performance-evaluation-regulation/ds-base.js +6 -4
- package/templates/vn-performance-review-form/ds-base.js +6 -4
- package/templates/vn-phantom-stock/ds-base.js +6 -4
- package/templates/vn-probation-contract/ds-base.js +6 -4
- package/templates/vn-receipt-acknowledgement/ds-base.js +6 -4
- package/templates/vn-remote-work-policy/ds-base.js +6 -4
- package/templates/vn-resignation-letter/ds-base.js +6 -4
- package/templates/vn-salary-scale/ds-base.js +6 -4
- package/templates/vn-sow-appendix/ds-base.js +6 -4
- package/templates/vn-termination-decision/ds-base.js +6 -4
- package/templates/vn-total-rewards-appendix/ds-base.js +6 -4
- package/templates/vn-training-commitment/ds-base.js +6 -4
- package/templates/vn-travel-expense-policy/ds-base.js +6 -4
- package/tokens/declarations.json +18 -144
- package/tokens/element-seeds.json +1 -1
- package/tokens/modes/dark__default__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__default__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__default__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__default__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__hoa-lava__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__hoa-lava__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__hoa-lava__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__hoa-lava__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__hoa-plasma__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__hoa-plasma__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__hoa-plasma__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__hoa-plasma__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__hoa__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__hoa__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__hoa__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__hoa__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__kim-steel__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__kim-steel__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__kim-steel__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__kim-steel__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__kim-titanium__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__kim-titanium__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__kim-titanium__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__kim-titanium__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__kim__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__kim__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__kim__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__kim__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__moc-bamboo__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__moc-bamboo__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__moc-bamboo__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__moc-bamboo__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__moc-forest__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__moc-forest__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__moc-forest__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__moc-forest__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__moc__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__moc__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__moc__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__moc__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__tho-clay__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__tho-clay__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__tho-clay__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__tho-clay__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__tho-sand__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__tho-sand__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__tho-sand__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__tho-sand__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__tho__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__tho__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__tho__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__tho__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__thuy-mist__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__thuy-mist__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__thuy-mist__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__thuy-mist__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__thuy-ocean__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__thuy-ocean__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__thuy-ocean__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__thuy-ocean__compact__standard.dtcg.json +1 -1
- package/tokens/modes/dark__thuy__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/dark__thuy__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/dark__thuy__compact__high.dtcg.json +1 -1
- package/tokens/modes/dark__thuy__compact__standard.dtcg.json +1 -1
- package/tokens/modes/index.json +269 -269
- package/tokens/modes/light__default__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__default__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__default__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__default__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__hoa-lava__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__hoa-lava__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__hoa-lava__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__hoa-lava__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__hoa-plasma__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__hoa-plasma__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__hoa-plasma__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__hoa-plasma__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__hoa__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__hoa__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__hoa__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__hoa__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__kim-steel__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__kim-steel__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__kim-steel__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__kim-steel__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__kim-titanium__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__kim-titanium__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__kim-titanium__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__kim-titanium__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__kim__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__kim__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__kim__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__kim__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__moc-bamboo__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__moc-bamboo__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__moc-bamboo__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__moc-bamboo__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__moc-forest__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__moc-forest__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__moc-forest__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__moc-forest__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__moc__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__moc__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__moc__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__moc__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__tho-clay__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__tho-clay__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__tho-clay__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__tho-clay__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__tho-sand__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__tho-sand__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__tho-sand__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__tho-sand__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__tho__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__tho__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__tho__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__tho__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__thuy-mist__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__thuy-mist__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__thuy-mist__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__thuy-mist__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__thuy-ocean__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__thuy-ocean__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__thuy-ocean__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__thuy-ocean__compact__standard.dtcg.json +1 -1
- package/tokens/modes/light__thuy__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/light__thuy__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/light__thuy__compact__high.dtcg.json +1 -1
- package/tokens/modes/light__thuy__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__default__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__default__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__default__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__default__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa-lava__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa-lava__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa-lava__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa-lava__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa-plasma__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa-plasma__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa-plasma__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa-plasma__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__hoa__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim-steel__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim-steel__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim-steel__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim-steel__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim-titanium__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim-titanium__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim-titanium__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim-titanium__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__kim__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc-bamboo__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc-bamboo__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc-bamboo__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc-bamboo__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc-forest__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc-forest__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc-forest__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc-forest__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__moc__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho-clay__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho-clay__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho-clay__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho-clay__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho-sand__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho-sand__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho-sand__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho-sand__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__tho__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy-mist__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy-mist__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy-mist__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy-mist__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy-ocean__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy-ocean__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy-ocean__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy-ocean__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-dark__thuy__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__default__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__default__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__default__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__default__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa-lava__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa-lava__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa-lava__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa-lava__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa-plasma__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa-plasma__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa-plasma__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa-plasma__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__hoa__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__kim-steel__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__kim-steel__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__kim-steel__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__kim-steel__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__kim-titanium__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__kim-titanium__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__kim-titanium__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__kim-titanium__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__kim__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__kim__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__kim__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__kim__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__moc-bamboo__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__moc-bamboo__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__moc-bamboo__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__moc-bamboo__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__moc-forest__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__moc-forest__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__moc-forest__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__moc-forest__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__moc__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__moc__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__moc__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__moc__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__tho-clay__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__tho-clay__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__tho-clay__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__tho-clay__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__tho-sand__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__tho-sand__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__tho-sand__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__tho-sand__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__tho__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__tho__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__tho__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__tho__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy-mist__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy-mist__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy-mist__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy-mist__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy-ocean__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy-ocean__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy-ocean__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy-ocean__compact__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy__comfortable__high.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy__comfortable__standard.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy__compact__high.dtcg.json +1 -1
- package/tokens/modes/system-light__thuy__compact__standard.dtcg.json +1 -1
- package/tokens/native/CSModes.kt +3 -3
- package/tokens/native/CSModes.swift +3 -3
- package/tokens/native/CSTokens.kt +1 -1
- package/tokens/native/CSTokens.swift +1 -1
- package/tokens/native/cs_modes.dart +3 -3
- package/tokens/native/cs_tokens.dart +1 -1
- package/tokens/native/mode-provenance.json +6 -6
- package/tokens/provenance.json +6 -6
- package/tokens/styles.css +1 -1
- package/tokens/tokens.dtcg.json +4 -4
- package/tokens/tokens.js +5 -5
- package/tokens/tokens.json +4 -4
- package/tokens/variables.css +1 -10
- package/ui_kits/deck/index.html +1 -1
- package/ui_kits/status-hub/index.html +1 -1
- package/ui_kits/status-hub/login.html +1 -1
- package/ui_kits/status-hub/project.html +1 -1
- package/ui_kits/status-hub/settings.html +1 -1
- package/ui_kits/status-hub/static-locale.js +2 -0
- package/ui_kits/website/careers.html +1 -1
- package/ui_kits/website/chat.html +1 -1
- package/ui_kits/website/index.html +1 -1
- package/ui_kits/website/work.html +1 -1
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"path": "tokens/styles.css",
|
|
51
|
-
"sha256": "
|
|
51
|
+
"sha256": "4b677b90823a026f96e295ea5b6537a3c125b04bb93d3f67c09a7dcf341a6630"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"path": "tokens/theme-attributes.css",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"path": "base/typography.css",
|
|
63
|
-
"sha256": "
|
|
63
|
+
"sha256": "19cf3f6cd5c1ea76fa7247c6ffe9034e4b6d4e14bc649e14a29aa85703ae9ccb"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"path": "base/components.css",
|
|
67
|
-
"sha256": "
|
|
67
|
+
"sha256": "568dd72532092ccc5530944772f63509a69cc4d1de89f9f9a44f5bcbefa3ccb6"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"path": "base/forms.css",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"path": "base/feedback.css",
|
|
75
|
-
"sha256": "
|
|
75
|
+
"sha256": "ba1aadc4ae1c9f9a07ad9df36df06184244ebe488ec723b30ab691d97d09ae4d"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"path": "base/data.css",
|
|
79
|
-
"sha256": "
|
|
79
|
+
"sha256": "4c92290bf35d51a0f0244ca05ab70f57fe4453abb8f71ba23327606f5a2a4227"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"path": "base/navigation.css",
|
|
@@ -84,23 +84,23 @@
|
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"path": "base/ai.css",
|
|
87
|
-
"sha256": "
|
|
87
|
+
"sha256": "fe288cee4345584a0fc189c6deb356e0af078a18fb0e8ad2f6ef4dd4e1511665"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"path": "base/controls.css",
|
|
91
|
-
"sha256": "
|
|
91
|
+
"sha256": "d16d8e017a5c300d10d75d36f379dfad1a8c25bb7ded61fbf08740082456331b"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"path": "base/collections.css",
|
|
95
|
-
"sha256": "
|
|
95
|
+
"sha256": "307287655287da43c275c56f14bdd846cd3d4a57d0cd1ddb4305996f0c2cba3c"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"path": "base/shell.css",
|
|
99
|
-
"sha256": "
|
|
99
|
+
"sha256": "be013b5a593600f9a8b258f5b798861dfec5dca1c89faaf0547c1e58084d8183"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"path": "base/glass.css",
|
|
103
|
-
"sha256": "
|
|
103
|
+
"sha256": "fe27603ead71c265aa4f30deb0bc754d09f5e71d7cfc656e282a740fffb87f2f"
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"path": "base/interaction.css",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"path": "base/a11y.css",
|
|
111
|
-
"sha256": "
|
|
111
|
+
"sha256": "07ea769359d4eefe6fc820b9fc13fef2790cc278c1289f0f1cc493ca5c288bd4"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"path": "base/responsive.css",
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
"fonts/spacegrotesk-var-vietnamese.woff2"
|
|
157
157
|
],
|
|
158
158
|
"importantCount": 46,
|
|
159
|
-
"sha256": "
|
|
159
|
+
"sha256": "fbf1fa3b1b2cd1b611c24e500852149d845467580b0b5bc6a96d7720225729bd"
|
|
160
160
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Artifact head standard (UX-002 / B1): ensure <html lang> + <title> from @template.
|
|
5
5
|
(() => {
|
|
6
6
|
const base = '../..';
|
|
7
|
-
for (const p of ['dist/styles.
|
|
7
|
+
for (const p of ['dist/styles.css']) {
|
|
8
8
|
const l = document.createElement('link');
|
|
9
9
|
l.rel = 'stylesheet'; l.href = base + '/' + p;
|
|
10
10
|
document.head.appendChild(l);
|
|
@@ -32,12 +32,14 @@
|
|
|
32
32
|
script.src = bundleUrl;
|
|
33
33
|
script.onload = () => {
|
|
34
34
|
// The compiler namespace varies by project; the public alias is stable.
|
|
35
|
-
const key = Object.keys(window).find(k => /^
|
|
35
|
+
const key = Object.keys(window).find(k => /^(CyberSkill)?DesignSystem_[0-9a-f]{6}$/.test(k));
|
|
36
36
|
const namespace = key && window[key];
|
|
37
|
-
if (!namespace
|
|
38
|
-
reject(new Error('Design-system bundle
|
|
37
|
+
if (!namespace) {
|
|
38
|
+
reject(new Error('Design-system bundle did not expose a namespace; check the base path in ds-base.js'));
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
+
// Non-fatal: a helper file that failed to evaluate must not take every template down.
|
|
42
|
+
if (namespace.__errors?.length) console.warn('ds-base.js: bundle reported errors (continuing):', JSON.stringify(namespace.__errors));
|
|
41
43
|
resolve(namespace);
|
|
42
44
|
};
|
|
43
45
|
script.onerror = () => reject(new Error('Failed to load ' + bundleUrl + '; check the base path in ds-base.js'));
|