@iksnerd/blazon 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +259 -2
- package/THIRD-PARTY-NOTICES.md +60 -0
- package/bin/blazon.js +4 -0
- package/dist/builder/site-builder.d.ts +10 -0
- package/dist/builder/site-builder.d.ts.map +1 -0
- package/dist/chunks/site-builder-CPfjBOmR.js +13804 -0
- package/dist/cli/commands/approvals.d.ts +8 -0
- package/dist/cli/commands/approvals.d.ts.map +1 -0
- package/dist/cli/commands/build.d.ts +8 -0
- package/dist/cli/commands/build.d.ts.map +1 -0
- package/dist/cli/commands/check.d.ts +33 -0
- package/dist/cli/commands/check.d.ts.map +1 -0
- package/dist/cli/commands/cwd.d.ts +14 -0
- package/dist/cli/commands/cwd.d.ts.map +1 -0
- package/dist/cli/commands/dev.d.ts +5 -0
- package/dist/cli/commands/dev.d.ts.map +1 -0
- package/dist/cli/commands/doctor.d.ts +34 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/drift.d.ts +11 -0
- package/dist/cli/commands/drift.d.ts.map +1 -0
- package/dist/cli/commands/explain.d.ts +5 -0
- package/dist/cli/commands/explain.d.ts.map +1 -0
- package/dist/cli/commands/init.d.ts +46 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/mcp-check.d.ts +57 -0
- package/dist/cli/commands/mcp-check.d.ts.map +1 -0
- package/dist/cli/commands/mcp.d.ts +13 -0
- package/dist/cli/commands/mcp.d.ts.map +1 -0
- package/dist/cli/commands/pin.d.ts +7 -0
- package/dist/cli/commands/pin.d.ts.map +1 -0
- package/dist/cli/commands/plugin.d.ts +32 -0
- package/dist/cli/commands/plugin.d.ts.map +1 -0
- package/dist/cli/commands/preview.d.ts +5 -0
- package/dist/cli/commands/preview.d.ts.map +1 -0
- package/dist/cli/commands/tokens.d.ts +5 -0
- package/dist/cli/commands/tokens.d.ts.map +1 -0
- package/dist/cli/errors.d.ts +53 -0
- package/dist/cli/errors.d.ts.map +1 -0
- package/dist/cli/handlers/brand.d.ts +7 -0
- package/dist/cli/handlers/brand.d.ts.map +1 -0
- package/dist/cli/handlers/can.d.ts +7 -0
- package/dist/cli/handlers/can.d.ts.map +1 -0
- package/dist/cli/handlers/fonts.d.ts +4 -0
- package/dist/cli/handlers/fonts.d.ts.map +1 -0
- package/dist/cli/handlers/get.d.ts +7 -0
- package/dist/cli/handlers/get.d.ts.map +1 -0
- package/dist/cli/handlers/index.d.ts +8 -0
- package/dist/cli/handlers/index.d.ts.map +1 -0
- package/dist/cli/handlers/list.d.ts +7 -0
- package/dist/cli/handlers/list.d.ts.map +1 -0
- package/dist/cli/handlers/logo.d.ts +4 -0
- package/dist/cli/handlers/logo.d.ts.map +1 -0
- package/dist/cli/handlers/rules.d.ts +10 -0
- package/dist/cli/handlers/rules.d.ts.map +1 -0
- package/dist/cli/handlers/types.d.ts +17 -0
- package/dist/cli/handlers/types.d.ts.map +1 -0
- package/dist/cli/help.d.ts +18 -0
- package/dist/cli/help.d.ts.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +3850 -0
- package/dist/cli/init-flow.d.ts +24 -0
- package/dist/cli/init-flow.d.ts.map +1 -0
- package/dist/cli/init-ui.d.ts +20 -0
- package/dist/cli/init-ui.d.ts.map +1 -0
- package/dist/cli/json.d.ts +18 -0
- package/dist/cli/json.d.ts.map +1 -0
- package/dist/cli/operations.d.ts +11 -0
- package/dist/cli/operations.d.ts.map +1 -0
- package/dist/cli/options.d.ts +8 -0
- package/dist/cli/options.d.ts.map +1 -0
- package/dist/cli/project.d.ts +8 -0
- package/dist/cli/project.d.ts.map +1 -0
- package/dist/cli/read.d.ts +13 -0
- package/dist/cli/read.d.ts.map +1 -0
- package/dist/cli/where.d.ts +10 -0
- package/dist/cli/where.d.ts.map +1 -0
- package/dist/core/assets/categories.d.ts +47 -0
- package/dist/core/assets/categories.d.ts.map +1 -0
- package/dist/core/assets/fields.d.ts +12 -0
- package/dist/core/assets/fields.d.ts.map +1 -0
- package/dist/core/assets/image-size.d.ts +10 -0
- package/dist/core/assets/image-size.d.ts.map +1 -0
- package/dist/core/assets/measure.d.ts +22 -0
- package/dist/core/assets/measure.d.ts.map +1 -0
- package/dist/core/assets/scanner.d.ts +26 -0
- package/dist/core/assets/scanner.d.ts.map +1 -0
- package/dist/core/assets/sidecar.d.ts +22 -0
- package/dist/core/assets/sidecar.d.ts.map +1 -0
- package/dist/core/blazon-pin.d.ts +36 -0
- package/dist/core/blazon-pin.d.ts.map +1 -0
- package/dist/core/brand/export.d.ts +128 -0
- package/dist/core/brand/export.d.ts.map +1 -0
- package/dist/core/brand/schema.d.ts +1000 -0
- package/dist/core/brand/schema.d.ts.map +1 -0
- package/dist/core/brand-theme.d.ts +16 -0
- package/dist/core/brand-theme.d.ts.map +1 -0
- package/dist/core/checker/approvals.d.ts +15 -0
- package/dist/core/checker/approvals.d.ts.map +1 -0
- package/dist/core/checker/cascade.d.ts +8 -0
- package/dist/core/checker/cascade.d.ts.map +1 -0
- package/dist/core/checker/catalogue.d.ts +609 -0
- package/dist/core/checker/catalogue.d.ts.map +1 -0
- package/dist/core/checker/contrast.d.ts +30 -0
- package/dist/core/checker/contrast.d.ts.map +1 -0
- package/dist/core/checker/duplicates.d.ts +3 -0
- package/dist/core/checker/duplicates.d.ts.map +1 -0
- package/dist/core/checker/fixes.d.ts +6 -0
- package/dist/core/checker/fixes.d.ts.map +1 -0
- package/dist/core/checker/font-meta.d.ts +8 -0
- package/dist/core/checker/font-meta.d.ts.map +1 -0
- package/dist/core/checker/index.d.ts +23 -0
- package/dist/core/checker/index.d.ts.map +1 -0
- package/dist/core/checker/location.d.ts +7 -0
- package/dist/core/checker/location.d.ts.map +1 -0
- package/dist/core/checker/logo-rules.d.ts +19 -0
- package/dist/core/checker/logo-rules.d.ts.map +1 -0
- package/dist/core/checker/logo-surfaces.d.ts +7 -0
- package/dist/core/checker/logo-surfaces.d.ts.map +1 -0
- package/dist/core/checker/page-tokens.d.ts +5 -0
- package/dist/core/checker/page-tokens.d.ts.map +1 -0
- package/dist/core/checker/print.d.ts +9 -0
- package/dist/core/checker/print.d.ts.map +1 -0
- package/dist/core/checker/proportion.d.ts +3 -0
- package/dist/core/checker/proportion.d.ts.map +1 -0
- package/dist/core/checker/review.d.ts +40 -0
- package/dist/core/checker/review.d.ts.map +1 -0
- package/dist/core/checker/source.d.ts +4 -0
- package/dist/core/checker/source.d.ts.map +1 -0
- package/dist/core/checker/spdx.d.ts +8 -0
- package/dist/core/checker/spdx.d.ts.map +1 -0
- package/dist/core/checker/tier.d.ts +3 -0
- package/dist/core/checker/tier.d.ts.map +1 -0
- package/dist/core/checker/usage.d.ts +4 -0
- package/dist/core/checker/usage.d.ts.map +1 -0
- package/dist/core/checker/variables.d.ts +8 -0
- package/dist/core/checker/variables.d.ts.map +1 -0
- package/dist/core/colors.d.ts +10 -0
- package/dist/core/colors.d.ts.map +1 -0
- package/dist/core/config/defaults.d.ts +3 -0
- package/dist/core/config/defaults.d.ts.map +1 -0
- package/dist/core/config/index.d.ts +15 -0
- package/dist/core/config/index.d.ts.map +1 -0
- package/dist/core/config/validate.d.ts +21 -0
- package/dist/core/config/validate.d.ts.map +1 -0
- package/dist/core/config/vocabulary.d.ts +10 -0
- package/dist/core/config/vocabulary.d.ts.map +1 -0
- package/dist/core/confine.d.ts +25 -0
- package/dist/core/confine.d.ts.map +1 -0
- package/dist/core/docs/directives.d.ts +161 -0
- package/dist/core/docs/directives.d.ts.map +1 -0
- package/dist/core/docs/parser.d.ts +7 -0
- package/dist/core/docs/parser.d.ts.map +1 -0
- package/dist/core/docs/sections.d.ts +11 -0
- package/dist/core/docs/sections.d.ts.map +1 -0
- package/dist/core/drift/compare.d.ts +30 -0
- package/dist/core/drift/compare.d.ts.map +1 -0
- package/dist/core/drift/read.d.ts +22 -0
- package/dist/core/drift/read.d.ts.map +1 -0
- package/dist/core/email-signature.d.ts +35 -0
- package/dist/core/email-signature.d.ts.map +1 -0
- package/dist/core/emit.d.ts +22 -0
- package/dist/core/emit.d.ts.map +1 -0
- package/dist/core/fonts.d.ts +43 -0
- package/dist/core/fonts.d.ts.map +1 -0
- package/dist/core/icons/icon-sets.d.ts +22 -0
- package/dist/core/icons/icon-sets.d.ts.map +1 -0
- package/dist/core/index.d.ts +9 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/init/answers.d.ts +45 -0
- package/dist/core/init/answers.d.ts.map +1 -0
- package/dist/core/init/from-site/apply.d.ts +7 -0
- package/dist/core/init/from-site/apply.d.ts.map +1 -0
- package/dist/core/init/from-site/clean-colors.d.ts +21 -0
- package/dist/core/init/from-site/clean-colors.d.ts.map +1 -0
- package/dist/core/init/from-site/colors.d.ts +10 -0
- package/dist/core/init/from-site/colors.d.ts.map +1 -0
- package/dist/core/init/from-site/context.d.ts +24 -0
- package/dist/core/init/from-site/context.d.ts.map +1 -0
- package/dist/core/init/from-site/fonts.d.ts +10 -0
- package/dist/core/init/from-site/fonts.d.ts.map +1 -0
- package/dist/core/init/from-site/html.d.ts +10 -0
- package/dist/core/init/from-site/html.d.ts.map +1 -0
- package/dist/core/init/from-site/index.d.ts +6 -0
- package/dist/core/init/from-site/index.d.ts.map +1 -0
- package/dist/core/init/from-site/inspect.d.ts +4 -0
- package/dist/core/init/from-site/inspect.d.ts.map +1 -0
- package/dist/core/init/from-site/logo.d.ts +20 -0
- package/dist/core/init/from-site/logo.d.ts.map +1 -0
- package/dist/core/init/from-site/sections/colors.d.ts +4 -0
- package/dist/core/init/from-site/sections/colors.d.ts.map +1 -0
- package/dist/core/init/from-site/sections/config.d.ts +10 -0
- package/dist/core/init/from-site/sections/config.d.ts.map +1 -0
- package/dist/core/init/from-site/sections/directives.d.ts +3 -0
- package/dist/core/init/from-site/sections/directives.d.ts.map +1 -0
- package/dist/core/init/from-site/sections/fonts.d.ts +8 -0
- package/dist/core/init/from-site/sections/fonts.d.ts.map +1 -0
- package/dist/core/init/from-site/sections/intro.d.ts +4 -0
- package/dist/core/init/from-site/sections/intro.d.ts.map +1 -0
- package/dist/core/init/from-site/sections/logo.d.ts +9 -0
- package/dist/core/init/from-site/sections/logo.d.ts.map +1 -0
- package/dist/core/init/from-site/sections/placeholder.d.ts +5 -0
- package/dist/core/init/from-site/sections/placeholder.d.ts.map +1 -0
- package/dist/core/init/from-site/tree.d.ts +14 -0
- package/dist/core/init/from-site/tree.d.ts.map +1 -0
- package/dist/core/init/from-site/types.d.ts +37 -0
- package/dist/core/init/from-site/types.d.ts.map +1 -0
- package/dist/core/init/palette.d.ts +34 -0
- package/dist/core/init/palette.d.ts.map +1 -0
- package/dist/core/init/prompts.d.ts +78 -0
- package/dist/core/init/prompts.d.ts.map +1 -0
- package/dist/core/init/shared/google-fonts.d.ts +4 -0
- package/dist/core/init/shared/google-fonts.d.ts.map +1 -0
- package/dist/core/init/shared/hex.d.ts +6 -0
- package/dist/core/init/shared/hex.d.ts.map +1 -0
- package/dist/core/init/shared/svg.d.ts +3 -0
- package/dist/core/init/shared/svg.d.ts.map +1 -0
- package/dist/core/init/vocabulary.d.ts +42 -0
- package/dist/core/init/vocabulary.d.ts.map +1 -0
- package/dist/core/inputs.d.ts +25 -0
- package/dist/core/inputs.d.ts.map +1 -0
- package/dist/core/logo/lockup.d.ts +54 -0
- package/dist/core/logo/lockup.d.ts.map +1 -0
- package/dist/core/logo.d.ts +23 -0
- package/dist/core/logo.d.ts.map +1 -0
- package/dist/core/mcp-config.d.ts +65 -0
- package/dist/core/mcp-config.d.ts.map +1 -0
- package/dist/core/operations/check.d.ts +8 -0
- package/dist/core/operations/check.d.ts.map +1 -0
- package/dist/core/operations/index.d.ts +7 -0
- package/dist/core/operations/index.d.ts.map +1 -0
- package/dist/core/operations/limits.d.ts +6 -0
- package/dist/core/operations/limits.d.ts.map +1 -0
- package/dist/core/operations/list.d.ts +8 -0
- package/dist/core/operations/list.d.ts.map +1 -0
- package/dist/core/operations/project.d.ts +10 -0
- package/dist/core/operations/project.d.ts.map +1 -0
- package/dist/core/operations/types.d.ts +96 -0
- package/dist/core/operations/types.d.ts.map +1 -0
- package/dist/core/operations/validate.d.ts +4 -0
- package/dist/core/operations/validate.d.ts.map +1 -0
- package/dist/core/order.d.ts +9 -0
- package/dist/core/order.d.ts.map +1 -0
- package/dist/core/outputs.d.ts +22 -0
- package/dist/core/outputs.d.ts.map +1 -0
- package/dist/core/package-name.d.ts +3 -0
- package/dist/core/package-name.d.ts.map +1 -0
- package/dist/core/package-root.d.ts +3 -0
- package/dist/core/package-root.d.ts.map +1 -0
- package/dist/core/plugin-name.d.ts +27 -0
- package/dist/core/plugin-name.d.ts.map +1 -0
- package/dist/core/preflight.d.ts +10 -0
- package/dist/core/preflight.d.ts.map +1 -0
- package/dist/core/read/can.d.ts +44 -0
- package/dist/core/read/can.d.ts.map +1 -0
- package/dist/core/read/fonts.d.ts +47 -0
- package/dist/core/read/fonts.d.ts.map +1 -0
- package/dist/core/read/index.d.ts +8 -0
- package/dist/core/read/index.d.ts.map +1 -0
- package/dist/core/read/list.d.ts +28 -0
- package/dist/core/read/list.d.ts.map +1 -0
- package/dist/core/read/logo.d.ts +34 -0
- package/dist/core/read/logo.d.ts.map +1 -0
- package/dist/core/read/lookup.d.ts +9 -0
- package/dist/core/read/lookup.d.ts.map +1 -0
- package/dist/core/read/rules.d.ts +80 -0
- package/dist/core/read/rules.d.ts.map +1 -0
- package/dist/core/read/token.d.ts +46 -0
- package/dist/core/read/token.d.ts.map +1 -0
- package/dist/core/shipped-names.d.ts +9 -0
- package/dist/core/shipped-names.d.ts.map +1 -0
- package/dist/core/starter.d.ts +31 -0
- package/dist/core/starter.d.ts.map +1 -0
- package/dist/core/suggest.d.ts +7 -0
- package/dist/core/suggest.d.ts.map +1 -0
- package/dist/core/tokens/alias.d.ts +18 -0
- package/dist/core/tokens/alias.d.ts.map +1 -0
- package/dist/core/tokens/contexts.d.ts +10 -0
- package/dist/core/tokens/contexts.d.ts.map +1 -0
- package/dist/core/tokens/formatters/css.d.ts +15 -0
- package/dist/core/tokens/formatters/css.d.ts.map +1 -0
- package/dist/core/tokens/formatters/json.d.ts +4 -0
- package/dist/core/tokens/formatters/json.d.ts.map +1 -0
- package/dist/core/tokens/formatters/tailwind.d.ts +37 -0
- package/dist/core/tokens/formatters/tailwind.d.ts.map +1 -0
- package/dist/core/tokens/formatters/ts.d.ts +6 -0
- package/dist/core/tokens/formatters/ts.d.ts.map +1 -0
- package/dist/core/tokens/groups.d.ts +44 -0
- package/dist/core/tokens/groups.d.ts.map +1 -0
- package/dist/core/tokens/key-lines.d.ts +8 -0
- package/dist/core/tokens/key-lines.d.ts.map +1 -0
- package/dist/core/tokens/load.d.ts +12 -0
- package/dist/core/tokens/load.d.ts.map +1 -0
- package/dist/core/tokens/merge.d.ts +17 -0
- package/dist/core/tokens/merge.d.ts.map +1 -0
- package/dist/core/tokens/names.d.ts +5 -0
- package/dist/core/tokens/names.d.ts.map +1 -0
- package/dist/core/tokens/resolve.d.ts +8 -0
- package/dist/core/tokens/resolve.d.ts.map +1 -0
- package/dist/core/tokens/resolver/compile.d.ts +17 -0
- package/dist/core/tokens/resolver/compile.d.ts.map +1 -0
- package/dist/core/tokens/resolver/inputs.d.ts +7 -0
- package/dist/core/tokens/resolver/inputs.d.ts.map +1 -0
- package/dist/core/tokens/resolver/parse.d.ts +34 -0
- package/dist/core/tokens/resolver/parse.d.ts.map +1 -0
- package/dist/core/tokens/resolver/sources.d.ts +17 -0
- package/dist/core/tokens/resolver/sources.d.ts.map +1 -0
- package/dist/core/tokens/shadcn.d.ts +43 -0
- package/dist/core/tokens/shadcn.d.ts.map +1 -0
- package/dist/core/tokens/theme.d.ts +17 -0
- package/dist/core/tokens/theme.d.ts.map +1 -0
- package/dist/core/tokens/values/color.d.ts +2 -0
- package/dist/core/tokens/values/color.d.ts.map +1 -0
- package/dist/core/tokens/values/composite.d.ts +7 -0
- package/dist/core/tokens/values/composite.d.ts.map +1 -0
- package/dist/core/tokens/values/font.d.ts +3 -0
- package/dist/core/tokens/values/font.d.ts.map +1 -0
- package/dist/core/tokens/values/index.d.ts +9 -0
- package/dist/core/tokens/values/index.d.ts.map +1 -0
- package/dist/core/tokens/values/shared.d.ts +5 -0
- package/dist/core/tokens/values/shared.d.ts.map +1 -0
- package/dist/core/tokens/values/simple.d.ts +3 -0
- package/dist/core/tokens/values/simple.d.ts.map +1 -0
- package/dist/core/tokens/values/units.d.ts +3 -0
- package/dist/core/tokens/values/units.d.ts.map +1 -0
- package/dist/core/tokens/walk.d.ts +30 -0
- package/dist/core/tokens/walk.d.ts.map +1 -0
- package/dist/core/version.d.ts +3 -0
- package/dist/core/version.d.ts.map +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +40 -0
- package/dist/plugins/host/admit.d.ts +35 -0
- package/dist/plugins/host/admit.d.ts.map +1 -0
- package/dist/plugins/host/call.d.ts +59 -0
- package/dist/plugins/host/call.d.ts.map +1 -0
- package/dist/plugins/host/check.d.ts +54 -0
- package/dist/plugins/host/check.d.ts.map +1 -0
- package/dist/plugins/host/scrub.d.ts +17 -0
- package/dist/plugins/host/scrub.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +14 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/pins/interpreter.d.ts +49 -0
- package/dist/plugins/pins/interpreter.d.ts.map +1 -0
- package/dist/plugins/pins/lock.d.ts +47 -0
- package/dist/plugins/pins/lock.d.ts.map +1 -0
- package/dist/plugins/pins/pin.d.ts +65 -0
- package/dist/plugins/pins/pin.d.ts.map +1 -0
- package/dist/plugins/pins/shipped.d.ts +40 -0
- package/dist/plugins/pins/shipped.d.ts.map +1 -0
- package/dist/plugins/roles/breaker.d.ts +18 -0
- package/dist/plugins/roles/breaker.d.ts.map +1 -0
- package/dist/plugins/roles/check-cases.d.ts +4 -0
- package/dist/plugins/roles/check-cases.d.ts.map +1 -0
- package/dist/plugins/roles/dev.d.ts +35 -0
- package/dist/plugins/roles/dev.d.ts.map +1 -0
- package/dist/plugins/roles/fixes.d.ts +24 -0
- package/dist/plugins/roles/fixes.d.ts.map +1 -0
- package/dist/plugins/roles/gate.d.ts +26 -0
- package/dist/plugins/roles/gate.d.ts.map +1 -0
- package/dist/plugins/roles/integrate.d.ts +12 -0
- package/dist/plugins/roles/integrate.d.ts.map +1 -0
- package/dist/plugins/roles/roles.d.ts +73 -0
- package/dist/plugins/roles/roles.d.ts.map +1 -0
- package/dist/plugins/wire/environment.d.ts +9 -0
- package/dist/plugins/wire/environment.d.ts.map +1 -0
- package/dist/plugins/wire/forms.d.ts +13 -0
- package/dist/plugins/wire/forms.d.ts.map +1 -0
- package/dist/plugins/wire/limits.d.ts +11 -0
- package/dist/plugins/wire/limits.d.ts.map +1 -0
- package/dist/plugins/wire/manifest.d.ts +31 -0
- package/dist/plugins/wire/manifest.d.ts.map +1 -0
- package/dist/plugins/wire/profile.d.ts +36 -0
- package/dist/plugins/wire/profile.d.ts.map +1 -0
- package/dist/plugins/wire/text.d.ts +14 -0
- package/dist/plugins/wire/text.d.ts.map +1 -0
- package/dist/server/assets.d.ts +13 -0
- package/dist/server/assets.d.ts.map +1 -0
- package/dist/server/coalesce.d.ts +12 -0
- package/dist/server/coalesce.d.ts.map +1 -0
- package/dist/server/data-script.d.ts +8 -0
- package/dist/server/data-script.d.ts.map +1 -0
- package/dist/server/dev-server.d.ts +34 -0
- package/dist/server/dev-server.d.ts.map +1 -0
- package/dist/server/editor-guard.d.ts +13 -0
- package/dist/server/editor-guard.d.ts.map +1 -0
- package/dist/server/error-reporter.d.ts +11 -0
- package/dist/server/error-reporter.d.ts.map +1 -0
- package/dist/server/icon-sets.d.ts +9 -0
- package/dist/server/icon-sets.d.ts.map +1 -0
- package/dist/server/plugin.d.ts +4 -0
- package/dist/server/plugin.d.ts.map +1 -0
- package/dist/server/preview-guard.d.ts +11 -0
- package/dist/server/preview-guard.d.ts.map +1 -0
- package/dist/types/assets.d.ts +130 -0
- package/dist/types/assets.d.ts.map +1 -0
- package/dist/types/catalog.d.ts +95 -0
- package/dist/types/catalog.d.ts.map +1 -0
- package/dist/types/config.d.ts +97 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/data.d.ts +38 -0
- package/dist/types/data.d.ts.map +1 -0
- package/dist/types/docs.d.ts +47 -0
- package/dist/types/docs.d.ts.map +1 -0
- package/dist/types/findings.d.ts +18 -0
- package/dist/types/findings.d.ts.map +1 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/parsed.d.ts +86 -0
- package/dist/types/parsed.d.ts.map +1 -0
- package/dist/types/theme.d.ts +19 -0
- package/dist/types/theme.d.ts.map +1 -0
- package/dist/types/tokens.d.ts +101 -0
- package/dist/types/tokens.d.ts.map +1 -0
- package/dist/ui/assets/geist-OFL.txt +93 -0
- package/dist/ui/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
- package/dist/ui/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
- package/dist/ui/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
- package/dist/ui/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
- package/dist/ui/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
- package/dist/ui/assets/index-D0WCUmtA.css +2 -0
- package/dist/ui/assets/index-DhSc0Zxv.js +75 -0
- package/dist/ui/index.html +14 -0
- package/package.json +151 -4
- package/plugins/blazon.brand-deck/README.md +38 -0
- package/plugins/blazon.brand-deck/bin/blazon-blazon.brand-deck./360/237/224/214 +2695 -0
- package/plugins/blazon.brand-deck/package.json +3 -0
- package/plugins/blazon.copy/README.md +29 -0
- package/plugins/blazon.copy/bin/blazon-blazon.copy./360/237/224/214 +438 -0
- package/plugins/blazon.copy/package.json +3 -0
- package/plugins/blazon.favicons/README.md +13 -0
- package/plugins/blazon.favicons/bin/blazon-blazon.favicons./360/237/224/214 +8816 -0
- package/plugins/blazon.favicons/package.json +3 -0
- package/plugins/blazon.logo-geometry/README.md +5 -0
- package/plugins/blazon.logo-geometry/bin/blazon-blazon.logo-geometry./360/237/224/214 +1522 -0
- package/plugins/blazon.logo-geometry/package.json +3 -0
- package/plugins/blazon.logo-kit/README.md +5 -0
- package/plugins/blazon.logo-kit/bin/blazon-blazon.logo-kit./360/237/224/214 +617 -0
- package/plugins/blazon.logo-kit/package.json +3 -0
- package/plugins/blazon.office-template/README.md +29 -0
- package/plugins/blazon.office-template/bin/blazon-blazon.office-template./360/237/224/214 +1788 -0
- package/plugins/blazon.office-template/package.json +3 -0
- package/plugins/blazon.platform-tokens/README.md +22 -0
- package/plugins/blazon.platform-tokens/bin/blazon-blazon.platform-tokens./360/237/224/214 +8418 -0
- package/plugins/blazon.platform-tokens/package.json +3 -0
- package/plugins/blazon.press-kit/README.md +17 -0
- package/plugins/blazon.press-kit/bin/blazon-blazon.press-kit./360/237/224/214 +897 -0
- package/plugins/blazon.press-kit/package.json +3 -0
- package/plugins/blazon.print-book/README.md +40 -0
- package/plugins/blazon.print-book/bin/blazon-blazon.print-book./360/237/224/214 +9268 -0
- package/plugins/blazon.print-book/package.json +3 -0
- package/plugins/blazon.social-cards/README.md +5 -0
- package/plugins/blazon.social-cards/bin/blazon-blazon.social-cards./360/237/224/214 +1165 -0
- package/plugins/blazon.social-cards/package.json +3 -0
- package/plugins/shipped.lock +75 -0
- package/template/AGENTS.md +55 -0
- package/template/CLAUDE.md +1 -0
- package/template/assets/backgrounds/aurora.json +5 -0
- package/template/assets/backgrounds/aurora.svg +39 -0
- package/template/assets/construction/blazon-mark.json +9 -0
- package/template/assets/construction/blazon-mark.svg +54 -0
- package/template/assets/icons/arrow-right.json +5 -0
- package/template/assets/icons/arrow-right.svg +1 -0
- package/template/assets/icons/check.json +5 -0
- package/template/assets/icons/check.svg +1 -0
- package/template/assets/icons/download.json +5 -0
- package/template/assets/icons/download.svg +1 -0
- package/template/assets/icons/file.json +5 -0
- package/template/assets/icons/file.svg +1 -0
- package/template/assets/icons/token.json +5 -0
- package/template/assets/icons/token.svg +1 -0
- package/template/assets/icons/warning.json +5 -0
- package/template/assets/icons/warning.svg +1 -0
- package/template/assets/logos/blazon-bone.json +6 -0
- package/template/assets/logos/blazon-bone.svg +1 -0
- package/template/assets/logos/blazon-graphite.json +6 -0
- package/template/assets/logos/blazon-graphite.svg +1 -0
- package/template/assets/logos/blazon-mark.json +6 -0
- package/template/assets/logos/blazon-mark.svg +1 -0
- package/template/blazon.json +104 -0
- package/template/blazon.resolver.json +46 -0
- package/template/docs/01-principles.md +47 -0
- package/template/docs/02-logo.md +43 -0
- package/template/docs/03-color.md +79 -0
- package/template/docs/04-type.md +36 -0
- package/template/docs/05-form.md +80 -0
- package/template/docs/06-layout.md +28 -0
- package/template/docs/07-icons.md +22 -0
- package/template/docs/08-diagrams.md +20 -0
- package/template/docs/09-social.md +21 -0
- package/template/docs/10-applications.md +20 -0
- package/template/docs/11-voice.md +74 -0
- package/template/docs/12-web.md +167 -0
- package/template/fonts/IBMPlexMono-Regular-latin.woff2 +0 -0
- package/template/fonts/IBMPlexMono-SemiBold-latin.woff2 +0 -0
- package/template/fonts/OFL.txt +93 -0
- package/template/tokens/colors.json +257 -0
- package/template/tokens/form.json +199 -0
- package/template/tokens/social.json +26 -0
- package/template/tokens/spacing.json +65 -0
- package/template/tokens/theme/dark.json +121 -0
- package/template/tokens/typography.json +233 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const MAX_STYLESHEETS = 20;
|
|
2
|
+
export declare const MAX_BYTES: number;
|
|
3
|
+
export declare const TIMEOUT_MS = 10000;
|
|
4
|
+
export interface CssSource {
|
|
5
|
+
css: string;
|
|
6
|
+
/** Where the text came from: the file, or each stylesheet URL that was read */
|
|
7
|
+
sources: string[];
|
|
8
|
+
}
|
|
9
|
+
/** The bytes of an http(s) address, within the time and size limits. */
|
|
10
|
+
export declare function fetchBytes(url: string): Promise<Buffer>;
|
|
11
|
+
export declare function fetchText(url: string): Promise<string>;
|
|
12
|
+
/** The `href` of every `<link rel="stylesheet">` in a page, resolved against the page; only http(s) addresses are kept. */
|
|
13
|
+
export declare function stylesheetLinks(html: string, pageUrl: string): string[];
|
|
14
|
+
/** The CSS to compare with: a page's stylesheets when the target is an http(s) URL, else the text of the file. */
|
|
15
|
+
export declare function readCss(target: string): Promise<CssSource>;
|
|
16
|
+
/** A page and the CSS of the stylesheets it links (at most 20). Only http(s) addresses are read. */
|
|
17
|
+
export declare function readPage(url: string): Promise<{
|
|
18
|
+
html: string;
|
|
19
|
+
css: string;
|
|
20
|
+
sources: string[];
|
|
21
|
+
}>;
|
|
22
|
+
//# sourceMappingURL=read.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../src/core/drift/read.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,SAAS,QAAkB,CAAC;AACzC,eAAO,MAAM,UAAU,QAAS,CAAC;AAEjC,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,+EAA+E;IAC/E,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AASD,wEAAwE;AACxE,wBAAsB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAsB7D;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAE5D;AAED,2HAA2H;AAC3H,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAgBvE;AAED,kHAAkH;AAClH,wBAAsB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAmBhE;AAED,oGAAoG;AACpG,wBAAsB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAMrG"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EmailSignatureConfig } from '../types/index.js';
|
|
2
|
+
/** What one person fills in. */
|
|
3
|
+
export interface SignatureFields {
|
|
4
|
+
name: string;
|
|
5
|
+
position: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
email: string;
|
|
8
|
+
}
|
|
9
|
+
/** The brand's own look, taken from the theme: two text colors and the font family. */
|
|
10
|
+
export interface SignatureStyle {
|
|
11
|
+
text: string;
|
|
12
|
+
muted: string;
|
|
13
|
+
/** A CSS font-family list or one family; only the first family is kept, with mail-safe families after it */
|
|
14
|
+
font?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const SIGNATURE_FIELDS: readonly ["name", "position", "phone", "email"];
|
|
17
|
+
/** The first family of a font list, unquoted, then the mail-safe families. */
|
|
18
|
+
export declare function fontStack(font: string | undefined): string;
|
|
19
|
+
/** The number a `tel:` link dials: the digits, with a leading plus kept. */
|
|
20
|
+
export declare function dialable(phone: string): string;
|
|
21
|
+
/** What is wrong with each field, if anything. An empty field is wrong: every signature has all four. */
|
|
22
|
+
export declare function fieldProblems(config: EmailSignatureConfig, fields: SignatureFields): Partial<Record<keyof SignatureFields, string>>;
|
|
23
|
+
/**
|
|
24
|
+
* The signature as HTML for a mail app's signature settings. Every field and line is escaped. `logoSrc` is for a preview
|
|
25
|
+
* only: it shows that image where the signature would load `logoUrl` (the book's own logo, while the hosted one is not
|
|
26
|
+
* there yet). What is copied or downloaded never passes it, so it always names the hosted address.
|
|
27
|
+
*/
|
|
28
|
+
export declare function signatureHtml(config: EmailSignatureConfig, fields: SignatureFields, style: SignatureStyle, options?: {
|
|
29
|
+
logoSrc?: string;
|
|
30
|
+
}): string;
|
|
31
|
+
/** The same signature as plain text, for the plain-text part of an email and for apps that paste no HTML. */
|
|
32
|
+
export declare function signatureText(config: EmailSignatureConfig, fields: SignatureFields): string;
|
|
33
|
+
/** A whole HTML file holding the signature, for mail apps that import a file (Apple Mail, classic Outlook). */
|
|
34
|
+
export declare function signatureDocument(config: EmailSignatureConfig, fields: SignatureFields, style: SignatureStyle): string;
|
|
35
|
+
//# sourceMappingURL=email-signature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-signature.d.ts","sourceRoot":"","sources":["../../src/core/email-signature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAM9D,gCAAgC;AAChC,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,uFAAuF;AACvF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,4GAA4G;IAC5G,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,gBAAgB,iDAA+F,CAAC;AAO7H,8EAA8E;AAC9E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAO1D;AAED,4EAA4E;AAC5E,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAG9C;AAED,yGAAyG;AACzG,wBAAgB,aAAa,CAAC,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,eAAe,EAAE,MAAM,CAAC,CAAC,CAiBnI;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,MAAM,CAoBtJ;AAED,6GAA6G;AAC7G,wBAAgB,aAAa,CAAC,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,eAAe,GAAG,MAAM,CAE3F;AAED,+GAA+G;AAC/G,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,cAAc,GAAG,MAAM,CAEtH"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BlazonConfig, BlazonData } from '../types/index.js';
|
|
2
|
+
import { WriteOptions } from './preflight.js';
|
|
3
|
+
/**
|
|
4
|
+
* Everything emitTokenOutputs refuses, decided and thrown before a file is written or deleted: the files it would write, by name.
|
|
5
|
+
* buildSite asks it before it empties its own folder, so a refusal never leaves a half-replaced site.
|
|
6
|
+
*/
|
|
7
|
+
export declare function planTokenOutputs(data: BlazonData, config: BlazonConfig, cwd: string, options?: WriteOptions): {
|
|
8
|
+
outDir: string;
|
|
9
|
+
files: Map<string, string>;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Writes token output artifacts (theme.css, typography.css, tailwind.css, tailwind-reset.css, tokens.ts, tokens.json)
|
|
13
|
+
*/
|
|
14
|
+
export declare function emitTokenOutputs(data: BlazonData, config: BlazonConfig, cwd?: string, options?: WriteOptions): Promise<{
|
|
15
|
+
cssPath: string;
|
|
16
|
+
tsPath: string;
|
|
17
|
+
jsonPath: string;
|
|
18
|
+
typographyPath?: string;
|
|
19
|
+
tailwindPath?: string;
|
|
20
|
+
tailwindResetPath?: string;
|
|
21
|
+
}>;
|
|
22
|
+
//# sourceMappingURL=emit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emit.d.ts","sourceRoot":"","sources":["../../src/core/emit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAOlE,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnE;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,YAAiB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CA+BhK;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,YAAY,EACpB,GAAG,GAAE,MAAsB,EAC3B,OAAO,GAAE,YAAiB,GACzB,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAqB5I"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Finding, BlazonConfig, FontEntry, LocalFont, ParsedTokens } from '../types/index.js';
|
|
2
|
+
export declare const FONT_EXTENSIONS: string[];
|
|
3
|
+
/** The CSS format name of a font file, from its extension. Undefined for a file blazon does not embed. */
|
|
4
|
+
export declare const fontFormat: (file: string) => string | undefined;
|
|
5
|
+
export declare const isLocalFont: (entry: FontEntry) => entry is LocalFont;
|
|
6
|
+
/**
|
|
7
|
+
* A family that can be written as CSS text: a quote, a backslash or a line break would end the string it sits in.
|
|
8
|
+
* A family is a name, so this refuses nothing real.
|
|
9
|
+
*/
|
|
10
|
+
export declare const isFamilyName: (value: unknown) => value is string;
|
|
11
|
+
export interface LoadedFonts {
|
|
12
|
+
/** Stylesheet URLs for the brand book, in the order the config lists them: a local font is a `data:` stylesheet among the URLs */
|
|
13
|
+
stylesheets: string[];
|
|
14
|
+
/** The families the config loads, lower case: every local font's, and those a Google Fonts URL names. `fontFindings` compares against it */
|
|
15
|
+
families: Set<string>;
|
|
16
|
+
/** True when the config lists any font: a project that lists none has not asked for fonts to be loaded, and the next family of a stack is what it means */
|
|
17
|
+
declared: boolean;
|
|
18
|
+
/** True when a URL names no family blazon can read (a self-hosted stylesheet), so what it loads is not known */
|
|
19
|
+
opaque: boolean;
|
|
20
|
+
problems: Finding[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The `@font-face` rule of a font file entry, with `src` as the CSS `src` value (a `url(...)` and its format). The one place the rule is
|
|
24
|
+
* written: the embedded form (compact, a `data:` URL) and the one `blazon fonts --css` prints (one declaration a line, `font-display: swap`).
|
|
25
|
+
*/
|
|
26
|
+
export declare function fontFaceRule(entry: LocalFont, src: string, pretty?: boolean): string;
|
|
27
|
+
/**
|
|
28
|
+
* Turns the config's `fonts` into what the brand book loads. A URL passes through. A local font file is read and written as a
|
|
29
|
+
* `data:` stylesheet with one `@font-face`, so the book, its print version and a build need no file served beside them.
|
|
30
|
+
* A file that is missing or is not a font blazon can embed is an error, and is left out.
|
|
31
|
+
*/
|
|
32
|
+
export declare function loadFonts(fonts: BlazonConfig['fonts'], cwd: string): LoadedFonts;
|
|
33
|
+
/** Names a browser has without a download, or that a keyword stands for. A token naming one needs no `fonts` entry. */
|
|
34
|
+
export declare const SYSTEM_FAMILIES: Set<string>;
|
|
35
|
+
export declare const firstFamily: (value: unknown) => string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* A family a token names first that nothing loads, in a project that lists fonts: no entry of `fonts` is for it. The book, and a PDF made from it, then set
|
|
38
|
+
* the text in the next family of the stack with no sign of it, and a declared `@font-face` of that name that does not load
|
|
39
|
+
* would shadow an installed copy the same way. A token that has said what it does about the web (`webFont`) is left alone, and
|
|
40
|
+
* so is every family when a stylesheet blazon cannot read is listed, because that one may load it.
|
|
41
|
+
*/
|
|
42
|
+
export declare function fontFindings(tokens: ParsedTokens, loaded: LoadedFonts): Finding[];
|
|
43
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/core/fonts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAUnG,eAAO,MAAM,eAAe,UAA0B,CAAC;AAEvD,0GAA0G;AAC1G,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,KAAG,MAAM,GAAG,SAAiE,CAAC;AAErH,eAAO,MAAM,WAAW,GAAI,OAAO,SAAS,KAAG,KAAK,IAAI,SAAsC,CAAC;AAE/F;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,MAAsF,CAAC;AAE9I,MAAM,WAAW,WAAW;IAC1B,kIAAkI;IAClI,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,4IAA4I;IAC5I,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,2JAA2J;IAC3J,QAAQ,EAAE,OAAO,CAAC;IAClB,gHAAgH;IAChH,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB;AAaD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,UAAQ,GAAG,MAAM,CASlF;AAQD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW,CAuBhF;AAED,uHAAuH;AACvH,eAAO,MAAM,eAAe,aAqC1B,CAAC;AAEH,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAGrD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,EAAE,CAwBjF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Finding, IconSet, IconSetConfig } from '../../types/index.js';
|
|
2
|
+
export interface IconSetSource {
|
|
3
|
+
/** The folder holding the SVGs, absolute */
|
|
4
|
+
dir: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ScannedIconSets {
|
|
7
|
+
iconSets: IconSet[];
|
|
8
|
+
/** Where each set's files are, by set name; kept out of BlazonData so no local path reaches the page */
|
|
9
|
+
sources: Map<string, IconSetSource>;
|
|
10
|
+
problems: Finding[];
|
|
11
|
+
}
|
|
12
|
+
/** The package folder in the project's node_modules, resolved through symlinks (pnpm links them). Undefined for a name that is not a package name. */
|
|
13
|
+
export declare function packageDir(cwd: string, name: string): string | undefined;
|
|
14
|
+
/** Where a configured set's SVGs live, without reading them: for the dev server route. Undefined when it is invalid. */
|
|
15
|
+
export declare function iconSetDir(set: IconSetConfig, cwd: string): string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Reads each configured icon package from `node_modules`: its icon names and version, grouped into the
|
|
18
|
+
* brand's categories, the package's own where it has them, or Other. A set that cannot be read is an
|
|
19
|
+
* error finding and is left out; the rest still load.
|
|
20
|
+
*/
|
|
21
|
+
export declare function scanIconSets(configs: IconSetConfig[] | undefined, cwd: string): ScannedIconSets;
|
|
22
|
+
//# sourceMappingURL=icon-sets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-sets.d.ts","sourceRoot":"","sources":["../../../src/core/icons/icon-sets.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAgB,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAgB1F,MAAM,WAAW,aAAa;IAC5B,4CAA4C;IAC5C,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,wGAAwG;IACxG,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACpC,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB;AAaD,sJAAsJ;AACtJ,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAOxE;AAgED,wHAAwH;AACxH,wBAAgB,UAAU,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAW9E;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,eAAe,CAwF/F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BlazonConfig, BlazonData } from '../types/index.js';
|
|
2
|
+
export { emitTokenOutputs, planTokenOutputs } from './emit.js';
|
|
3
|
+
export { outputDirProblems } from './outputs.js';
|
|
4
|
+
export { assertCanWrite, writeBlockers, type WriteOptions } from './preflight.js';
|
|
5
|
+
/**
|
|
6
|
+
* Compiles all source files into unified BlazonData in-memory
|
|
7
|
+
*/
|
|
8
|
+
export declare function compileBlazonData(input: BlazonConfig, cwd?: string): Promise<BlazonData>;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,YAAY,EAAE,UAAU,EAAqC,MAAM,mBAAmB,CAAC;AAyC9G,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOlF;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,CAgJ7G"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type Parsed<T> = {
|
|
2
|
+
value: T;
|
|
3
|
+
} | {
|
|
4
|
+
hint: string;
|
|
5
|
+
};
|
|
6
|
+
export interface Answers {
|
|
7
|
+
/** The config title, as given */
|
|
8
|
+
name?: string;
|
|
9
|
+
/** One sentence on what the brand is: the config description */
|
|
10
|
+
description?: string;
|
|
11
|
+
/** The primary color, as hex */
|
|
12
|
+
color?: string;
|
|
13
|
+
/** A font family name */
|
|
14
|
+
font?: string;
|
|
15
|
+
/** A logo file, resolved */
|
|
16
|
+
logo?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const parseName: (text: string) => Parsed<string>;
|
|
19
|
+
export declare const parseDescription: (text: string) => Parsed<string>;
|
|
20
|
+
export declare function parseColor(text: string): Parsed<string>;
|
|
21
|
+
export declare const parseFont: (text: string) => Parsed<string>;
|
|
22
|
+
export declare function parseLogo(text: string, cwd?: string): Parsed<string>;
|
|
23
|
+
export interface LogoInfo {
|
|
24
|
+
bytes: number;
|
|
25
|
+
svg: boolean;
|
|
26
|
+
/** An SVG that draws in currentColor, so the page's text color decides what it looks like */
|
|
27
|
+
usesCurrentColor: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** What a logo file is, for the answer that says what will happen to it. */
|
|
30
|
+
export declare function inspectLogo(file: string): LogoInfo;
|
|
31
|
+
export declare const isWebAddress: (text: string) => boolean;
|
|
32
|
+
export interface Applied {
|
|
33
|
+
/** What was set, in words */
|
|
34
|
+
set: string[];
|
|
35
|
+
/** What the user still has to do */
|
|
36
|
+
hints: string[];
|
|
37
|
+
/** Project-relative files written, changed or removed */
|
|
38
|
+
files: string[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Writes the answers into the files `blazon init` has just copied. `created` holds the project-relative paths this run
|
|
42
|
+
* wrote: a file it did not write is never changed.
|
|
43
|
+
*/
|
|
44
|
+
export declare function applyAnswers(destDir: string, answers: Answers, created: Set<string>): Applied;
|
|
45
|
+
//# sourceMappingURL=answers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"answers.d.ts","sourceRoot":"","sources":["../../../src/core/init/answers.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI;IAAE,KAAK,EAAE,CAAC,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAQxD,MAAM,WAAW,OAAO;IACtB,iCAAiC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,KAAG,MAAM,CAAC,MAAM,CAAiF,CAAC;AAExI,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,KAAG,MAAM,CAAC,MAAM,CACmE,CAAC;AAEjI,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAIvD;AAED,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,KAAG,MAAM,CAAC,MAAM,CAC8F,CAAC;AAErJ,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,GAAE,MAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,CAKnF;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,6FAA6F;IAC7F,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAIlD;AAED,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,KAAG,OAA2C,CAAC;AAExF,MAAM,WAAW,OAAO;IACtB,6BAA6B;IAC7B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,oCAAoC;IACpC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,yDAAyD;IACzD,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,OAAO,CA0G7F"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ApplyOptions, FromSiteResult } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Reads the site at `url` and rewrites the files the starter has just written. `created` holds the project-relative
|
|
4
|
+
* paths that `blazon init` made in this run: a file it did not make is never changed. Throws when the page cannot be read.
|
|
5
|
+
*/
|
|
6
|
+
export declare function applyFromSite(destDir: string, url: string, created: Set<string>, now?: Date, options?: ApplyOptions): Promise<FromSiteResult>;
|
|
7
|
+
//# sourceMappingURL=apply.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/apply.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAG/D;;;GAGG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,GAAG,GAAE,IAAiB,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,cAAc,CAAC,CA+BnK"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ColorPick } from './colors.js';
|
|
2
|
+
import { FromSiteResult } from './types.js';
|
|
3
|
+
import { Json } from './tree.js';
|
|
4
|
+
export interface CleanInput {
|
|
5
|
+
tree: Json;
|
|
6
|
+
destDir: string;
|
|
7
|
+
picks: ColorPick[];
|
|
8
|
+
starterColors: Set<string>;
|
|
9
|
+
siteColors: Set<string>;
|
|
10
|
+
note: string;
|
|
11
|
+
review: Json;
|
|
12
|
+
source: (locator: string, cssVar?: string) => Json;
|
|
13
|
+
result: FromSiteResult;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Tidies the starter's colors once the site's are in: the text and surface tokens that still point at a starter color get the
|
|
17
|
+
* site's equivalent when it has one, then every starter color that nothing uses is deleted. A color counts as used when
|
|
18
|
+
* a token anywhere aliases it (transitively), or the config or a page names it.
|
|
19
|
+
*/
|
|
20
|
+
export declare function cleanStarterColors(input: CleanInput): void;
|
|
21
|
+
//# sourceMappingURL=clean-colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clean-colors.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/clean-colors.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAoE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAC;AAExG,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,IAAI,CAAC;IACb,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,MAAM,EAAE,cAAc,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CA2D1D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ColorPick {
|
|
2
|
+
cssVar: string;
|
|
3
|
+
hex: string;
|
|
4
|
+
exact: boolean;
|
|
5
|
+
segments: string[];
|
|
6
|
+
}
|
|
7
|
+
export declare function pickColors(vars: Map<string, string>): ColorPick[];
|
|
8
|
+
/** The pick that best stands for a role: the one named exactly for it, then the one with the shortest name. */
|
|
9
|
+
export declare function pickRole(picks: ColorPick[], role: string, taken?: ColorPick[]): ColorPick | undefined;
|
|
10
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/colors.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,EAAE,CAkBjE;AAED,+GAA+G;AAC/G,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,GAAE,SAAS,EAAO,GAAG,SAAS,GAAG,SAAS,CAQzG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SitePage, FromSiteResult } from './types.js';
|
|
2
|
+
import { Json } from './tree.js';
|
|
3
|
+
/** What every part of `applyFromSite` shares: where it writes, what it read, and the findings it adds to. */
|
|
4
|
+
export interface Ctx {
|
|
5
|
+
destDir: string;
|
|
6
|
+
url: string;
|
|
7
|
+
/** The day it read the site, as YYYY-MM-DD */
|
|
8
|
+
date: string;
|
|
9
|
+
/** The project-relative paths `blazon init` made in this run: a file it did not make is never changed */
|
|
10
|
+
created: Set<string>;
|
|
11
|
+
page: SitePage;
|
|
12
|
+
/** The custom properties in the page's stylesheets */
|
|
13
|
+
vars: Map<string, string>;
|
|
14
|
+
result: FromSiteResult;
|
|
15
|
+
/** The sentence every token and asset it writes is marked with */
|
|
16
|
+
note: string;
|
|
17
|
+
review: Json;
|
|
18
|
+
/** Where a value came from, as a token's `source` */
|
|
19
|
+
source: (locator: string, cssVar?: string) => Json;
|
|
20
|
+
/** Whether a file may be rewritten: only one this run made. Says so in `result.missing` when it may not. */
|
|
21
|
+
mayChange: (file: string) => boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare const rel: (...parts: string[]) => string;
|
|
24
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,6GAA6G;AAC7G,MAAM,WAAW,GAAG;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,yGAAyG;IACzG,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,IAAI,EAAE,QAAQ,CAAC;IACf,sDAAsD;IACtD,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B,MAAM,EAAE,cAAc,CAAC;IACvB,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,IAAI,CAAC;IACb,qDAAqD;IACrD,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,4GAA4G;IAC5G,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;CACtC;AAED,eAAO,MAAM,GAAG,GAAI,GAAG,OAAO,MAAM,EAAE,KAAG,MAAyB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface FontPick {
|
|
2
|
+
family: string;
|
|
3
|
+
stack: string[];
|
|
4
|
+
locator: string;
|
|
5
|
+
cssVar?: string;
|
|
6
|
+
}
|
|
7
|
+
/** The family of the last `font-family` in a rule whose selector list holds one of `selectors`. */
|
|
8
|
+
export declare function fontOf(css: string, vars: Map<string, string>, selectors: RegExp): FontPick | undefined;
|
|
9
|
+
export declare function fontValue(pick: FontPick): string[];
|
|
10
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/fonts.ts"],"names":[],"mappings":"AA2CA,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,mGAAmG;AACnG,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAqBtG;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,EAAE,CAGlD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** A page title without its tagline: the text before the first ` | `, ` - `, ` : `, or spaced en or em dash. */
|
|
2
|
+
export declare function cleanTitle(raw: string): string;
|
|
3
|
+
export declare const attrOf: (tag: string, name: string) => string | undefined;
|
|
4
|
+
/** The content of a `<meta>` tag with this property or name, e.g. og:site_name, application-name or description. */
|
|
5
|
+
export declare function metaContent(html: string, key: string): string | undefined;
|
|
6
|
+
/** The brand's name: the site's own name when it states one, else the page title without its tagline. */
|
|
7
|
+
export declare function pageTitle(html: string): string | undefined;
|
|
8
|
+
/** The short name in the page's web app manifest (`<link rel="manifest">`), else its name without a tagline. */
|
|
9
|
+
export declare function manifestName(html: string, pageUrl: string): Promise<string | undefined>;
|
|
10
|
+
//# sourceMappingURL=html.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/html.ts"],"names":[],"mappings":"AAIA,gHAAgH;AAChH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAW9C;AAED,eAAO,MAAM,MAAM,GAAI,KAAK,MAAM,EAAE,MAAM,MAAM,KAAG,MAAM,GAAG,SAG3D,CAAC;AAEF,oHAAoH;AACpH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASzE;AAED,yGAAyG;AACzG,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM1D;AAED,gHAAgH;AAChH,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAc7F"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { applyFromSite } from './apply.js';
|
|
2
|
+
export { cleanTitle } from './html.js';
|
|
3
|
+
export { inspectSite } from './inspect.js';
|
|
4
|
+
export { logoName } from './logo.js';
|
|
5
|
+
export type { ApplyOptions, FromSiteResult, SiteFindings, SitePage } from './types.js';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SiteFindings } from './types.js';
|
|
2
|
+
/** Reads the site and says what `applyFromSite` would use, writing nothing. Throws when the page cannot be read. */
|
|
3
|
+
export declare function inspectSite(url: string): Promise<SiteFindings>;
|
|
4
|
+
//# sourceMappingURL=inspect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inspect.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/inspect.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,oHAAoH;AACpH,wBAAsB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAwBpE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type LogoFound = {
|
|
2
|
+
kind: 'inline';
|
|
3
|
+
svg: string;
|
|
4
|
+
locator: string;
|
|
5
|
+
} | {
|
|
6
|
+
kind: 'url';
|
|
7
|
+
url: string;
|
|
8
|
+
locator: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function headerLogo(html: string, pageUrl: string): LogoFound | undefined;
|
|
11
|
+
export interface Favicon {
|
|
12
|
+
url: string;
|
|
13
|
+
svg: boolean;
|
|
14
|
+
ext: string;
|
|
15
|
+
locator: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function favicon(html: string, pageUrl: string): Favicon | undefined;
|
|
18
|
+
/** The name logo files get: the first label of the site's host, or `site` for an address. */
|
|
19
|
+
export declare function logoName(url: string): string;
|
|
20
|
+
//# sourceMappingURL=logo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/logo.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,SAAS,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAyC/E;AAED,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,OAAO,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAkB1E;AAED,6FAA6F;AAC7F,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAS5C"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Ctx } from '../context.js';
|
|
2
|
+
/** The site's colors into tokens/colors.json: the color group, interactive.primary and the roles it can fill, and the starter colors nothing uses any more. */
|
|
3
|
+
export declare function applyColors(ctx: Ctx, skipVars?: Set<string>): void;
|
|
4
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/core/init/from-site/sections/colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAOzC,+JAA+J;AAC/J,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,QAmE3D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ctx } from '../context.js';
|
|
2
|
+
import { FontsWritten } from './fonts.js';
|
|
3
|
+
import { LogoFiles } from './logo.js';
|
|
4
|
+
/** The site's name, description, logo and font stylesheets into blazon.json. */
|
|
5
|
+
export declare function applyConfig(ctx: Ctx, logoFiles: LogoFiles, written: FontsWritten): Promise<{
|
|
6
|
+
title: string | undefined;
|
|
7
|
+
description: string | undefined;
|
|
8
|
+
configLogo: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/core/init/from-site/sections/config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAG3C,gFAAgF;AAChF,wBAAsB,WAAW,CAC/B,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC,CAuB9F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directives.d.ts","sourceRoot":"","sources":["../../../../../src/core/init/from-site/sections/directives.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAUzC,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CA2BnD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ctx } from '../context.js';
|
|
2
|
+
/** The site's fonts into tokens/typography.json: the body font is font.family.body, the heading font (else the body font) font.family.display. The Google Fonts stylesheets it can link come back for the config. */
|
|
3
|
+
export interface FontsWritten {
|
|
4
|
+
/** The Google Fonts stylesheets the config should link */
|
|
5
|
+
fontUrls: string[];
|
|
6
|
+
}
|
|
7
|
+
export declare function applyFonts(ctx: Ctx): FontsWritten;
|
|
8
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../../../src/core/init/from-site/sections/fonts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAOzC,qNAAqN;AACrN,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,CAoCjD"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Ctx } from '../context.js';
|
|
2
|
+
/** The intro page says where the values came from, in place of blazon's principles. */
|
|
3
|
+
export declare function writeIntro(ctx: Ctx, title: string | undefined, description: string | undefined): void;
|
|
4
|
+
//# sourceMappingURL=intro.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intro.d.ts","sourceRoot":"","sources":["../../../../../src/core/init/from-site/sections/intro.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AA4BzC,uFAAuF;AACvF,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,QAuB9F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Ctx } from '../context.js';
|
|
2
|
+
export interface LogoFiles {
|
|
3
|
+
onLight?: string;
|
|
4
|
+
onDark?: string;
|
|
5
|
+
single?: string;
|
|
6
|
+
}
|
|
7
|
+
/** The site's logo (the header's SVG, else the site icon) into assets/logos, with a sidecar marked for review. */
|
|
8
|
+
export declare function applyLogo(ctx: Ctx): Promise<LogoFiles>;
|
|
9
|
+
//# sourceMappingURL=logo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../../../src/core/init/from-site/sections/logo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAMzC,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,kHAAkH;AAClH,wBAAsB,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,SAAS,CAAC,CAmG5D"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Ctx } from '../context.js';
|
|
2
|
+
import { LogoFiles } from './logo.js';
|
|
3
|
+
/** Blazon's own logo goes once the config points at the site's: its rules move to the site's sidecar. */
|
|
4
|
+
export declare function removePlaceholderLogo(ctx: Ctx, logoFiles: LogoFiles, configLogo: boolean): void;
|
|
5
|
+
//# sourceMappingURL=placeholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/core/init/from-site/sections/placeholder.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAI3C,yGAAyG;AACzG,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,IAAI,CA2B/F"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type Json = Record<string, unknown>;
|
|
2
|
+
export declare const isToken: (node: unknown) => boolean;
|
|
3
|
+
export declare function readJson(file: string): Json;
|
|
4
|
+
export declare function writeJson(file: string, data: unknown): void;
|
|
5
|
+
export declare const devBlazon: (extra: Json) => Json;
|
|
6
|
+
/** The dotted path of every token under a group. */
|
|
7
|
+
export declare function tokenPaths(node: Json, prefix?: string[]): string[];
|
|
8
|
+
export declare const tokenAt: (root: Json, dotted: string) => Json | undefined;
|
|
9
|
+
export declare const aliasesIn: (value: unknown) => string[];
|
|
10
|
+
/** Every file under a folder whose name ends with one of `extensions`. */
|
|
11
|
+
export declare function filesUnder(dir: string, extensions: string[]): string[];
|
|
12
|
+
/** Removes the token at a dotted path, and every group it leaves empty (but not the first one, `color`). */
|
|
13
|
+
export declare function removeToken(root: Json, dotted: string): void;
|
|
14
|
+
//# sourceMappingURL=tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/tree.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE3C,eAAO,MAAM,OAAO,GAAI,MAAM,OAAO,KAAG,OAAwE,CAAC;AAEjH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAE3C;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,CAE3D;AAED,eAAO,MAAM,SAAS,GAAI,OAAO,IAAI,KAAG,IAAiC,CAAC;AAE1E,oDAAoD;AACpD,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,GAAE,MAAM,EAAO,GAAG,MAAM,EAAE,CAQtE;AAED,eAAO,MAAM,OAAO,GAAI,MAAM,IAAI,EAAE,QAAQ,MAAM,KAAG,IAAI,GAAG,SAO3D,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,OAAO,KAAG,MAAM,EAAqF,CAAC;AAEvI,0EAA0E;AAC1E,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAOtE;AAED,4GAA4G;AAC5G,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAS5D"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { readPage } from '../../drift/read.js';
|
|
2
|
+
export interface FromSiteResult {
|
|
3
|
+
/** Project-relative paths of the files it wrote or changed */
|
|
4
|
+
written: string[];
|
|
5
|
+
/** What it looked for and did not find, or found and could not use */
|
|
6
|
+
missing: string[];
|
|
7
|
+
/** Starter tokens and files it deleted because the site's own replace them */
|
|
8
|
+
removed: string[];
|
|
9
|
+
/** Starter tokens it pointed at the site's colors instead */
|
|
10
|
+
repointed: string[];
|
|
11
|
+
}
|
|
12
|
+
export type SitePage = Awaited<ReturnType<typeof readPage>>;
|
|
13
|
+
export interface ApplyOptions {
|
|
14
|
+
/** A page already read, so it is not fetched again */
|
|
15
|
+
page?: SitePage;
|
|
16
|
+
/** Custom properties (`--brand-primary`) the user unticked: their colors are left out */
|
|
17
|
+
skipVars?: Set<string>;
|
|
18
|
+
}
|
|
19
|
+
export interface SiteFindings {
|
|
20
|
+
page: SitePage;
|
|
21
|
+
name?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
colors: {
|
|
24
|
+
cssVar: string;
|
|
25
|
+
hex: string;
|
|
26
|
+
}[];
|
|
27
|
+
fonts: {
|
|
28
|
+
family: string;
|
|
29
|
+
role: 'body' | 'headings';
|
|
30
|
+
stylesheet: boolean;
|
|
31
|
+
}[];
|
|
32
|
+
/** Where the logo would come from, in words; undefined when there is none */
|
|
33
|
+
logo?: string;
|
|
34
|
+
/** What it looked for and did not find */
|
|
35
|
+
missing: string[];
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/core/init/from-site/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,cAAc;IAC7B,8DAA8D;IAC9D,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,sEAAsE;IACtE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,8EAA8E;IAC9E,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,6DAA6D;IAC7D,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAE5D,MAAM,WAAW,YAAY;IAC3B,sDAAsD;IACtD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC1C,KAAK,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IAC5E,6EAA6E;IAC7E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const WHITE = "#ffffff";
|
|
2
|
+
export declare const NEAR_BLACK = "#0b1120";
|
|
3
|
+
type Rgb = [number, number, number];
|
|
4
|
+
/** #rgb or #rrggbb (the # optional) as channels 0 to 1; undefined for anything else. */
|
|
5
|
+
export declare function hexToRgb(hex: string): Rgb | undefined;
|
|
6
|
+
export declare function luminance(hex: string): number;
|
|
7
|
+
/** WCAG contrast ratio, 1 to 21. */
|
|
8
|
+
export declare function contrast(a: string, b: string): number;
|
|
9
|
+
export type Level = 'AAA' | 'AA' | 'AA-large' | 'fail';
|
|
10
|
+
export declare const level: (ratio: number) => Level;
|
|
11
|
+
export interface Contrast {
|
|
12
|
+
onWhite: {
|
|
13
|
+
ratio: number;
|
|
14
|
+
level: Level;
|
|
15
|
+
};
|
|
16
|
+
onNearBlack: {
|
|
17
|
+
ratio: number;
|
|
18
|
+
level: Level;
|
|
19
|
+
};
|
|
20
|
+
/** True when white button text on this color reaches 4.5:1 */
|
|
21
|
+
carriesWhiteText: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare function contrastOf(hex: string): Contrast;
|
|
24
|
+
/** Blazon's two inks, the colors of `text.onSignal` a new book can choose between: graphite and bone. */
|
|
25
|
+
export declare const GRAPHITE = "#1E1F21";
|
|
26
|
+
export declare const BONE = "#F2F0EB";
|
|
27
|
+
/** Which of blazon's inks reads best as a label on this color, and whether it reaches AA (4.5:1). */
|
|
28
|
+
export declare function labelOn(hex: string): {
|
|
29
|
+
ink: 'graphite' | 'bone';
|
|
30
|
+
ratio: number;
|
|
31
|
+
aa: boolean;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=palette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/core/init/palette.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,YAAY,CAAC;AAC/B,eAAO,MAAM,UAAU,YAAY,CAAC;AAEpC,KAAK,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpC,wFAAwF;AACxF,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,CAKrD;AAUD,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAG7C;AAED,oCAAoC;AACpC,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAGrD;AAED,MAAM,MAAM,KAAK,GAAG,KAAK,GAAG,IAAI,GAAG,UAAU,GAAG,MAAM,CAAC;AACvD,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,KAAG,KAAsF,CAAC;AAE7H,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;IACzC,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;IAC7C,8DAA8D;IAC9D,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAIhD;AAED,yGAAyG;AACzG,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,IAAI,YAAY,CAAC;AAE9B,qGAAqG;AACrG,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,GAAG,EAAE,UAAU,GAAG,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,OAAO,CAAA;CAAE,CAI7F"}
|