@kardalum/plugin-sdk 0.18.0 → 0.20.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/CHANGELOG.md +253 -0
- package/README.md +20 -1
- package/dist/admin-section-registry.d.ts +16 -1
- package/dist/admin-section-registry.js +23 -0
- package/dist/assets/asset-picker.js +3 -3
- package/dist/built-in-editor-ids.d.ts +1 -1
- package/dist/built-in-editor-ids.js +2 -20
- package/dist/built-in-serializers.js +1 -1
- package/dist/built-in-settings-schemas.d.ts +10 -0
- package/dist/built-in-settings-schemas.js +90 -4
- package/dist/built-in-value-schemas.js +35 -0
- package/dist/built-ins.js +48 -17
- package/dist/capabilities.d.ts +11 -1
- package/dist/capabilities.js +55 -3
- package/dist/cli.d.ts +66 -0
- package/dist/cli.js +22 -0
- package/dist/content-library.d.ts +85 -0
- package/dist/content-library.js +15 -0
- package/dist/content-picker/page-picker-sheet.d.ts +13 -0
- package/dist/content-picker/page-picker-sheet.js +105 -0
- package/dist/content-picker/page-tree.d.ts +25 -0
- package/dist/content-picker/page-tree.js +132 -0
- package/dist/data-type-plugin.d.ts +9 -3
- package/dist/datatype-validation.d.ts +6 -11
- package/dist/datatype-validation.js +141 -3
- package/dist/define-plugin.d.ts +4 -4
- package/dist/define-plugin.js +5 -5
- package/dist/entitlement-entry.d.ts +1 -1
- package/dist/entitlement-entry.js +1 -1
- package/dist/entitlement-gate.d.ts +14 -0
- package/dist/entitlement-gate.js +64 -7
- package/dist/entitlement-plan.d.ts +6 -0
- package/dist/entitlement-plan.js +10 -0
- package/dist/entitlement-types.d.ts +36 -12
- package/dist/entitlement.d.ts +31 -4
- package/dist/entitlement.js +58 -17
- package/dist/hook-entry.d.ts +5 -0
- package/dist/hook-entry.js +30 -0
- package/dist/host-entry.d.ts +1 -1
- package/dist/host-entry.js +1 -1
- package/dist/index.d.ts +38 -4
- package/dist/index.js +54 -3
- package/dist/mail.d.ts +30 -0
- package/dist/mail.js +1 -0
- package/dist/manifest-entry.d.ts +29 -4
- package/dist/manifest-entry.js +39 -2
- package/dist/manifest-schema.d.ts +443 -29
- package/dist/manifest-schema.js +292 -24
- package/dist/manifest.d.ts +450 -51
- package/dist/manifest.js +1 -1
- package/dist/media/media-picker.js +33 -20
- package/dist/media/upload-error.d.ts +5 -1
- package/dist/media/upload-error.js +14 -2
- package/dist/media-library.d.ts +32 -0
- package/dist/media-library.js +15 -0
- package/dist/nested-field-host.d.ts +76 -0
- package/dist/nested-field-host.js +90 -0
- package/dist/notify.d.ts +12 -4
- package/dist/notify.js +1 -1
- package/dist/outbound.d.ts +47 -0
- package/dist/outbound.js +1 -0
- package/dist/plugin-context.d.ts +5 -0
- package/dist/plugin-context.js +3 -3
- package/dist/plugin-screen-context.d.ts +112 -0
- package/dist/plugin-screen-context.js +26 -0
- package/dist/providers.d.ts +268 -0
- package/dist/providers.js +74 -0
- package/dist/read-all-pages.d.ts +5 -0
- package/dist/read-all-pages.js +3 -2
- package/dist/register-built-ins.js +6 -6
- package/dist/registry.js +1 -1
- package/dist/richtext/block-panel.js +12 -7
- package/dist/richtext/extensions.js +7 -7
- package/dist/richtext/insert-menu.js +12 -9
- package/dist/richtext/style-listbox.js +7 -5
- package/dist/richtext/text-style-class.js +1 -1
- package/dist/sdk-strings.d.ts +285 -0
- package/dist/sdk-strings.js +347 -0
- package/dist/sealing.d.ts +14 -0
- package/dist/sealing.js +1 -0
- package/dist/simple-storage-value-provider.js +27 -27
- package/dist/structured-storage-types.d.ts +309 -9
- package/dist/structured-storage-types.js +2 -2
- package/dist/text-entry.d.ts +1 -0
- package/dist/text-entry.js +6 -0
- package/dist/tokens/tailwind-theme.css +5 -0
- package/dist/tokens/tokens.css +15 -3
- package/dist/tokens/tokens.json +8 -3
- package/dist/ui-entry.js +3 -3
- package/dist/views/asset-view.js +6 -3
- package/dist/views/content-list-preview.js +3 -1
- package/dist/views/content-list-settings-view.js +11 -7
- package/dist/views/content-list-view.d.ts +5 -3
- package/dist/views/content-list-view.js +38 -34
- package/dist/views/content-picker-view.d.ts +3 -0
- package/dist/views/content-picker-view.js +143 -0
- package/dist/views/crop-view.d.ts +4 -6
- package/dist/views/crop-view.js +22 -13
- package/dist/views/date-range-view.js +9 -6
- package/dist/views/file-upload-view.d.ts +5 -7
- package/dist/views/file-upload-view.js +16 -7
- package/dist/views/group-view.d.ts +8 -0
- package/dist/views/group-view.js +123 -0
- package/dist/views/html-code-editor.js +2 -2
- package/dist/views/html-view.js +12 -11
- package/dist/views/image-view.js +40 -22
- package/dist/views/link-view.d.ts +3 -0
- package/dist/views/link-view.js +150 -0
- package/dist/views/options-list-view.d.ts +3 -0
- package/dist/views/options-list-view.js +104 -0
- package/dist/views/repeatable-list-view.d.ts +3 -0
- package/dist/views/repeatable-list-view.js +113 -0
- package/dist/views/rich-text-view.js +32 -16
- package/dist/views/suggest-key.d.ts +17 -0
- package/dist/views/suggest-key.js +55 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-connections.schema.d.ts +215 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-connections.schema.js +179 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-context.schema.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/ai-context.schema.js +10 -0
- package/node_modules/@kardalum/api-schemas/dist/api-error.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/api-key-api.schema.d.ts +10 -0
- package/node_modules/@kardalum/api-schemas/dist/api-key-api.schema.js +5 -0
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.d.ts +7 -1
- package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.js +4 -2
- package/node_modules/@kardalum/api-schemas/dist/auth.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/built-in-editor-ids.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/built-in-editor-ids.js +27 -0
- package/node_modules/@kardalum/api-schemas/dist/capability-detail.d.ts +65 -0
- package/node_modules/@kardalum/api-schemas/dist/capability-detail.js +126 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.d.ts +116 -3
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +71 -18
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.d.ts +57 -2
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.js +137 -0
- package/node_modules/@kardalum/api-schemas/dist/content-path.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/content-path.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/content-search.schema.d.ts +50 -0
- package/node_modules/@kardalum/api-schemas/dist/content-search.schema.js +42 -0
- package/node_modules/@kardalum/api-schemas/dist/content-summary.schema.d.ts +37 -0
- package/node_modules/@kardalum/api-schemas/dist/content-summary.schema.js +19 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.js +3 -3
- package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/content-unpublish.schema.d.ts +23 -0
- package/node_modules/@kardalum/api-schemas/dist/content-unpublish.schema.js +13 -0
- package/node_modules/@kardalum/api-schemas/dist/content.schema.d.ts +3 -0
- package/node_modules/@kardalum/api-schemas/dist/content.schema.js +10 -0
- package/node_modules/@kardalum/api-schemas/dist/contract-cancel.schema.d.ts +41 -0
- package/node_modules/@kardalum/api-schemas/dist/contract-cancel.schema.js +86 -0
- package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +10 -5
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +7 -4
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.d.ts +25 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.js +9 -1
- package/node_modules/@kardalum/api-schemas/dist/data-type-config.schema.js +4 -4
- package/node_modules/@kardalum/api-schemas/dist/data-type-issue.d.ts +35 -0
- package/node_modules/@kardalum/api-schemas/dist/data-type-issue.js +60 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.d.ts +267 -12
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.js +54 -8
- package/node_modules/@kardalum/api-schemas/dist/document-type.schema.d.ts +24 -6
- package/node_modules/@kardalum/api-schemas/dist/document-type.schema.js +98 -13
- package/node_modules/@kardalum/api-schemas/dist/form-protection.d.ts +23 -0
- package/node_modules/@kardalum/api-schemas/dist/form-protection.js +12 -0
- package/node_modules/@kardalum/api-schemas/dist/graphql-limits.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/graphql-limits.js +14 -0
- package/node_modules/@kardalum/api-schemas/dist/held-embed-words.d.ts +23 -0
- package/node_modules/@kardalum/api-schemas/dist/held-embed-words.js +70 -0
- package/node_modules/@kardalum/api-schemas/dist/index.d.ts +122 -43
- package/node_modules/@kardalum/api-schemas/dist/index.js +92 -27
- package/node_modules/@kardalum/api-schemas/dist/install-sign-in-switched-off.schema.d.ts +9 -0
- package/node_modules/@kardalum/api-schemas/dist/install-sign-in-switched-off.schema.js +9 -0
- package/node_modules/@kardalum/api-schemas/dist/legal-anchors.d.ts +8 -0
- package/node_modules/@kardalum/api-schemas/dist/legal-anchors.js +9 -0
- package/node_modules/@kardalum/api-schemas/dist/licensing.schema.d.ts +63 -0
- package/node_modules/@kardalum/api-schemas/dist/licensing.schema.js +54 -0
- package/node_modules/@kardalum/api-schemas/dist/listing-categories.schema.d.ts +46 -0
- package/node_modules/@kardalum/api-schemas/dist/listing-categories.schema.js +52 -0
- package/node_modules/@kardalum/api-schemas/dist/mail-rules.d.ts +224 -0
- package/node_modules/@kardalum/api-schemas/dist/mail-rules.js +404 -0
- package/node_modules/@kardalum/api-schemas/dist/management-multipart.schema.d.ts +8 -0
- package/node_modules/@kardalum/api-schemas/dist/management-multipart.schema.js +4 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-leaks.schema.d.ts +145 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-leaks.schema.js +154 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +359 -8
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +85 -11
- package/node_modules/@kardalum/api-schemas/dist/marketplace-package-api.schema.d.ts +15 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-package-api.schema.js +14 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-payouts.schema.d.ts +131 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-payouts.schema.js +272 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-profile.schema.d.ts +84 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-profile.schema.js +138 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-revocation.schema.d.ts +20 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-revocation.schema.js +49 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-sites.schema.d.ts +211 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-sites.schema.js +424 -0
- package/node_modules/@kardalum/api-schemas/dist/mcp-plugins.schema.d.ts +78 -0
- package/node_modules/@kardalum/api-schemas/dist/mcp-plugins.schema.js +27 -0
- package/node_modules/@kardalum/api-schemas/dist/mcp-tool-inputs.schema.d.ts +70 -0
- package/node_modules/@kardalum/api-schemas/dist/mcp-tool-inputs.schema.js +43 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.d.ts +22 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.js +22 -10
- package/node_modules/@kardalum/api-schemas/dist/media-move.schema.d.ts +75 -0
- package/node_modules/@kardalum/api-schemas/dist/media-move.schema.js +53 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference-api.schema.d.ts +2 -2
- package/node_modules/@kardalum/api-schemas/dist/media-reference.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/media-reference.js +55 -0
- package/node_modules/@kardalum/api-schemas/dist/media.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/media.schema.js +9 -5
- package/node_modules/@kardalum/api-schemas/dist/nested-fields.schema.d.ts +204 -0
- package/node_modules/@kardalum/api-schemas/dist/nested-fields.schema.js +370 -0
- package/node_modules/@kardalum/api-schemas/dist/nested-validation.d.ts +53 -0
- package/node_modules/@kardalum/api-schemas/dist/nested-validation.js +284 -0
- package/node_modules/@kardalum/api-schemas/dist/news.schema.d.ts +5 -5
- package/node_modules/@kardalum/api-schemas/dist/node-access.schema.d.ts +1 -2
- package/node_modules/@kardalum/api-schemas/dist/node-access.schema.js +1 -2
- package/node_modules/@kardalum/api-schemas/dist/notification-kinds.d.ts +145 -0
- package/node_modules/@kardalum/api-schemas/dist/notification-kinds.js +177 -0
- package/node_modules/@kardalum/api-schemas/dist/notification.schema.d.ts +258 -7
- package/node_modules/@kardalum/api-schemas/dist/notification.schema.js +96 -5
- package/node_modules/@kardalum/api-schemas/dist/page-address.d.ts +10 -0
- package/node_modules/@kardalum/api-schemas/dist/page-address.js +7 -0
- package/node_modules/@kardalum/api-schemas/dist/password-reset.schema.d.ts +34 -0
- package/node_modules/@kardalum/api-schemas/dist/password-reset.schema.js +60 -0
- package/node_modules/@kardalum/api-schemas/dist/plan-editor.schema.d.ts +28 -3
- package/node_modules/@kardalum/api-schemas/dist/plan-editor.schema.js +55 -8
- package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.js +13 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-caller.d.ts +23 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-caller.js +16 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-cli-commands.d.ts +76 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-cli-commands.js +316 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-content-access.d.ts +42 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-content-access.js +74 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-data-type-configs.d.ts +31 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-data-type-configs.js +131 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +26 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-text.js +1 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.d.ts +26 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.js +13 -5
- package/node_modules/@kardalum/api-schemas/dist/plugin-document-types.d.ts +228 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-document-types.js +41 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-durable-hooks.d.ts +26 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-durable-hooks.js +55 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-editor-extensions.d.ts +40 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-editor-extensions.js +124 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-field-info.d.ts +41 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-field-info.js +51 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-graphql-fields.d.ts +32 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-graphql-fields.js +102 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-held-embeds.d.ts +107 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-held-embeds.js +213 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-https-origin.d.ts +5 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-https-origin.js +21 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.js +3 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.d.ts +44 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.js +38 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.d.ts +237 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.js +205 -6
- package/node_modules/@kardalum/api-schemas/dist/plugin-labels.d.ts +26 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-labels.js +29 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.d.ts +32 -8
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.js +120 -14
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +357 -4
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +279 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.d.ts +16 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.js +34 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-ai.d.ts +40 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-ai.js +139 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.d.ts +22 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.js +31 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-media-access.d.ts +25 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-media-access.js +43 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-outbound.d.ts +107 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-outbound.js +150 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-package-build.schema.d.ts +5 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-package-build.schema.js +7 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-providers.d.ts +310 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-providers.js +430 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-read-only.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-read-only.schema.js +2 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-sealed-values.d.ts +45 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-sealed-values.js +99 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-secrets.d.ts +68 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-secrets.js +114 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-settings.d.ts +342 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-settings.js +400 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-site-extensions.d.ts +180 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-site-extensions.js +612 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-storage-api.schema.d.ts +7 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-storage-api.schema.js +50 -7
- package/node_modules/@kardalum/api-schemas/dist/plugin-tasks.d.ts +45 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-tasks.js +197 -0
- package/node_modules/@kardalum/api-schemas/dist/plural-rules.d.ts +9 -0
- package/node_modules/@kardalum/api-schemas/dist/plural-rules.js +41 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.d.ts +41 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.js +100 -12
- package/node_modules/@kardalum/api-schemas/dist/refund-request.schema.d.ts +189 -0
- package/node_modules/@kardalum/api-schemas/dist/refund-request.schema.js +164 -0
- package/node_modules/@kardalum/api-schemas/dist/render-editing.d.ts +4 -4
- package/node_modules/@kardalum/api-schemas/dist/render-editing.js +4 -4
- package/node_modules/@kardalum/api-schemas/dist/render-settings-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/revenue-view.schema.js +7 -3
- package/node_modules/@kardalum/api-schemas/dist/rich-text-shape.d.ts +6 -0
- package/node_modules/@kardalum/api-schemas/dist/rich-text-shape.js +82 -0
- package/node_modules/@kardalum/api-schemas/dist/rich-text-text.d.ts +66 -0
- package/node_modules/@kardalum/api-schemas/dist/rich-text-text.js +497 -0
- package/node_modules/@kardalum/api-schemas/dist/sale-conditions.schema.d.ts +82 -0
- package/node_modules/@kardalum/api-schemas/dist/sale-conditions.schema.js +99 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.d.ts +13 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.js +28 -0
- package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.d.ts +91 -1
- package/node_modules/@kardalum/api-schemas/dist/server-settings-api.schema.d.ts +289 -0
- package/node_modules/@kardalum/api-schemas/dist/server-settings-api.schema.js +205 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +121 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.js +51 -10
- package/node_modules/@kardalum/api-schemas/dist/sign-in.schema.d.ts +384 -0
- package/node_modules/@kardalum/api-schemas/dist/sign-in.schema.js +616 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +3 -3
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/structured-duplicate-key.d.ts +13 -0
- package/node_modules/@kardalum/api-schemas/dist/structured-duplicate-key.js +26 -0
- package/node_modules/@kardalum/api-schemas/dist/structured-fields.schema.d.ts +66 -0
- package/node_modules/@kardalum/api-schemas/dist/structured-fields.schema.js +160 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/template.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/template.schema.js +3 -0
- package/node_modules/@kardalum/api-schemas/dist/theme-api.schema.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/theme-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/transaction-rolled-back.d.ts +13 -0
- package/node_modules/@kardalum/api-schemas/dist/transaction-rolled-back.js +29 -0
- package/node_modules/@kardalum/api-schemas/dist/trash-purge.schema.d.ts +13 -0
- package/node_modules/@kardalum/api-schemas/dist/trash-purge.schema.js +6 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +58 -1
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +35 -4
- package/node_modules/@kardalum/api-schemas/dist/vendor-service.schema.d.ts +5 -1
- package/node_modules/@kardalum/api-schemas/dist/vendor-service.schema.js +4 -3
- package/node_modules/@kardalum/api-schemas/package.json +1 -0
- package/node_modules/@kardalum/design-tokens/dist/build-css.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/build-css.js +8 -2
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.css +5 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.js +3 -3
- package/node_modules/@kardalum/design-tokens/dist/theme-css.d.ts +2 -2
- package/node_modules/@kardalum/design-tokens/dist/theme-css.js +2 -2
- package/node_modules/@kardalum/design-tokens/dist/theme-types.d.ts +2 -2
- package/node_modules/@kardalum/design-tokens/dist/themes/dark.d.ts +3 -3
- package/node_modules/@kardalum/design-tokens/dist/themes/dark.js +3 -3
- package/node_modules/@kardalum/design-tokens/dist/themes/light.d.ts +1 -1
- package/node_modules/@kardalum/design-tokens/dist/themes/light.js +1 -1
- package/node_modules/@kardalum/design-tokens/dist/tokens.css +15 -3
- package/node_modules/@kardalum/design-tokens/dist/tokens.d.ts +4 -4
- package/node_modules/@kardalum/design-tokens/dist/tokens.js +17 -8
- package/node_modules/@kardalum/design-tokens/dist/tokens.json +8 -3
- package/node_modules/@kardalum/design-tokens/dist/types.d.ts +2 -2
- package/node_modules/@kardalum/design-tokens/dist/types.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/build-reference.d.ts +21 -2
- package/node_modules/@kardalum/plugin-package/dist/build-reference.js +8 -2
- package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +17 -10
- package/node_modules/@kardalum/plugin-package/dist/capabilities.js +355 -22
- package/node_modules/@kardalum/plugin-package/dist/client-bundle.d.ts +1 -1
- package/node_modules/@kardalum/plugin-package/dist/client-bundle.js +2 -0
- package/node_modules/@kardalum/plugin-package/dist/cms-range.d.ts +17 -0
- package/node_modules/@kardalum/plugin-package/dist/cms-range.js +353 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/ai-declarations.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/ai-declarations.js +26 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/archive-names.d.ts +1 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/archive-names.js +3 -2
- package/node_modules/@kardalum/plugin-package/dist/delivery/content-access.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/content-access.js +34 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.js +2 -2
- package/node_modules/@kardalum/plugin-package/dist/delivery/editor-extensions.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/editor-extensions.js +27 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/graphql-fields.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/graphql-fields.js +22 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/index.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/index.js +1 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/label-languages.js +47 -5
- package/node_modules/@kardalum/plugin-package/dist/delivery/licence-check.d.ts +27 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/licence-check.js +95 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/locales.js +9 -4
- package/node_modules/@kardalum/plugin-package/dist/delivery/plugin-settings.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/plugin-settings.js +68 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/providers.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/providers.js +298 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +27 -5
- package/node_modules/@kardalum/plugin-package/dist/delivery/sample-content.js +91 -2
- package/node_modules/@kardalum/plugin-package/dist/delivery/server-powers.d.ts +6 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/server-powers.js +140 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/site-extensions.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/site-extensions.js +36 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.js +21 -1
- package/node_modules/@kardalum/plugin-package/dist/delivery/types.d.ts +10 -0
- package/node_modules/@kardalum/plugin-package/dist/envelope.d.ts +2 -2
- package/node_modules/@kardalum/plugin-package/dist/envelope.js +2 -2
- package/node_modules/@kardalum/plugin-package/dist/extract.d.ts +3 -3
- package/node_modules/@kardalum/plugin-package/dist/extract.js +9 -9
- package/node_modules/@kardalum/plugin-package/dist/hash.d.ts +1 -1
- package/node_modules/@kardalum/plugin-package/dist/hash.js +1 -1
- package/node_modules/@kardalum/plugin-package/dist/index.d.ts +4 -2
- package/node_modules/@kardalum/plugin-package/dist/index.js +2 -1
- package/node_modules/@kardalum/plugin-package/dist/license-verdict.d.ts +75 -0
- package/node_modules/@kardalum/plugin-package/dist/license-verdict.js +123 -0
- package/node_modules/@kardalum/plugin-package/dist/package-contract.d.ts +2 -2
- package/node_modules/@kardalum/plugin-package/dist/package-contract.js +5 -5
- package/node_modules/@kardalum/plugin-package/dist/types.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/alert-dialog.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/alert-dialog.js +8 -3
- package/node_modules/@kardalum/ui/dist/components/badge.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/button.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/dialog.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/dialog.js +49 -4
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.d.ts +5 -1
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.js +18 -5
- package/node_modules/@kardalum/ui/dist/components/empty-state.d.ts +4 -4
- package/node_modules/@kardalum/ui/dist/components/input.js +6 -1
- package/node_modules/@kardalum/ui/dist/components/property-field.js +3 -3
- package/node_modules/@kardalum/ui/dist/components/sheet.d.ts +1 -1
- package/node_modules/@kardalum/ui/dist/components/sheet.js +12 -7
- package/node_modules/@kardalum/ui/dist/components/skeleton.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/switch.js +1 -1
- package/node_modules/@kardalum/ui/dist/components/tab-strip.d.ts +3 -3
- package/node_modules/@kardalum/ui/dist/components/toast.js +4 -3
- package/node_modules/@kardalum/ui/dist/components/tooltip.d.ts +27 -0
- package/node_modules/@kardalum/ui/dist/components/tooltip.js +81 -0
- package/node_modules/@kardalum/ui/dist/components/truncated-text.d.ts +16 -0
- package/node_modules/@kardalum/ui/dist/components/truncated-text.js +95 -0
- package/node_modules/@kardalum/ui/dist/components/use-toast.js +2 -2
- package/node_modules/@kardalum/ui/dist/index.d.ts +3 -1
- package/node_modules/@kardalum/ui/dist/index.js +3 -1
- package/node_modules/@kardalum/ui/dist/lib/menu-host.d.ts +5 -0
- package/node_modules/@kardalum/ui/dist/lib/menu-host.js +17 -0
- package/node_modules/@kardalum/ui/package.json +8 -6
- package/package.json +18 -7
|
@@ -16,7 +16,7 @@ function rootVariables() {
|
|
|
16
16
|
* The complete tokens.css text: :root variables, one [data-theme] block
|
|
17
17
|
* per built-in theme that has overrides (the exact mechanism a
|
|
18
18
|
* third-party theme plugin uses at runtime), and the language-conditional
|
|
19
|
-
* sans-stack swap for Arabic. Pure
|
|
19
|
+
* sans-stack swap for Arabic. Pure: generate.ts writes it to disk.
|
|
20
20
|
*/
|
|
21
21
|
export function buildTokensCss() {
|
|
22
22
|
const variables = rootVariables();
|
|
@@ -25,7 +25,7 @@ export function buildTokensCss() {
|
|
|
25
25
|
...Object.entries(variables).map(([name, value]) => ` ${name}: ${value};`),
|
|
26
26
|
'}',
|
|
27
27
|
].join('\n');
|
|
28
|
-
// Light has no overrides (it IS the :root default) so it emits no block
|
|
28
|
+
// Light has no overrides (it IS the :root default) so it emits no block,
|
|
29
29
|
// a property of Light's token set, not a special case in this loop.
|
|
30
30
|
const themeBlocks = themes
|
|
31
31
|
.map((theme) => themeOverridesToCss(theme.id, theme.contributions.themeTokens))
|
|
@@ -34,6 +34,12 @@ export function buildTokensCss() {
|
|
|
34
34
|
'/* Arabic locales lead with Plex Sans Arabic: same token, language-conditional value. */',
|
|
35
35
|
'[lang="ar"], [lang^="ar-"] {',
|
|
36
36
|
` --font-family-sans: ${ARABIC_SANS_FONT_FAMILY};`,
|
|
37
|
+
// Arabic letters join, so any tracking pulls a word apart. The admin's
|
|
38
|
+
// tracking-* classes read these variables (measured in S366f), so zeroing
|
|
39
|
+
// the variables fixes every use without a class in a component.
|
|
40
|
+
...['tighter', 'tight', 'normal', 'wide', 'wider', 'widest'].map((name) => ` --tracking-${name}: 0em;`),
|
|
41
|
+
// A slanted or smeared Arabic word is broken text, so never synthesize.
|
|
42
|
+
' font-synthesis-style: none;',
|
|
37
43
|
'}',
|
|
38
44
|
].join('\n');
|
|
39
45
|
return ([
|
|
@@ -126,6 +126,11 @@
|
|
|
126
126
|
--text-3xl: var(--font-size-3xl);
|
|
127
127
|
--text-4xl: var(--font-size-4xl);
|
|
128
128
|
--text-5xl: var(--font-size-5xl);
|
|
129
|
+
--text-site-small: var(--font-size-site-small);
|
|
130
|
+
--text-site-body: var(--font-size-site-body);
|
|
131
|
+
--text-site-lede: var(--font-size-site-lede);
|
|
132
|
+
--text-site-heading: var(--font-size-site-heading);
|
|
133
|
+
--text-site-display: var(--font-size-site-display);
|
|
129
134
|
--font-weight-normal: var(--font-weight-normal);
|
|
130
135
|
--font-weight-medium: var(--font-weight-medium);
|
|
131
136
|
--font-weight-semibold: var(--font-weight-semibold);
|
|
@@ -23,7 +23,7 @@ export declare const tailwindTheme: {
|
|
|
23
23
|
serif: string;
|
|
24
24
|
mono: string;
|
|
25
25
|
};
|
|
26
|
-
fontSize: Record<"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl", string>;
|
|
26
|
+
fontSize: Record<"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "site-small" | "site-body" | "site-lede" | "site-heading" | "site-display", string>;
|
|
27
27
|
fontWeight: Record<"normal" | "medium" | "semibold" | "bold", string>;
|
|
28
28
|
lineHeight: Record<"normal" | "tight" | "relaxed", string>;
|
|
29
29
|
spacing: Record<import("./types.js").SpacingStep, string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Tailwind theme built from the token definitions
|
|
2
|
+
* Tailwind theme built from the token definitions: every value is a
|
|
3
3
|
* var(--...) reference into tokens.css, never a raw value. Utilities
|
|
4
4
|
* like bg-primary-500 therefore resolve through the CSS custom
|
|
5
5
|
* property at runtime, which is what lets theme plugins re-skin the
|
|
6
6
|
* admin (and every plugin UI rendered with host components) by
|
|
7
|
-
* overriding variables
|
|
7
|
+
* overriding variables, with no build-time theme baking.
|
|
8
8
|
*
|
|
9
9
|
* Variable names here must stay in sync with generate.ts's flattening
|
|
10
10
|
* (color/spacing/radius/shadow/motion keep their section prefix,
|
|
@@ -20,7 +20,7 @@ function scaleRefs(scale, prefix) {
|
|
|
20
20
|
}
|
|
21
21
|
export const tailwindTheme = {
|
|
22
22
|
colors: {
|
|
23
|
-
// CSS keywords, not theme values
|
|
23
|
+
// CSS keywords, not theme values: the only non-var entries
|
|
24
24
|
transparent: 'transparent',
|
|
25
25
|
current: 'currentColor',
|
|
26
26
|
inherit: 'inherit',
|
|
@@ -3,10 +3,10 @@ export declare function toKebab(key: string): string;
|
|
|
3
3
|
export declare function flatten(value: unknown, path: string[], out: Record<string, string>): void;
|
|
4
4
|
/** THE theme mechanism: one token-override set → one [data-theme] CSS
|
|
5
5
|
* block. The build-time generator bakes built-ins through this exact
|
|
6
|
-
* function; the admin injects installed themes through it at runtime
|
|
6
|
+
* function; the admin injects installed themes through it at runtime,
|
|
7
7
|
* "same mechanism as a third-party theme" is true by construction, not
|
|
8
8
|
* by convention. Empty overrides → empty string (Light IS the :root
|
|
9
9
|
* default and emits no block). Entries whose name or value contain a
|
|
10
10
|
* CSS-escaping character are skipped (with a warning) rather than
|
|
11
|
-
* emitted
|
|
11
|
+
* emitted (see UNSAFE_CSS_CHARS). */
|
|
12
12
|
export declare function themeOverridesToCss(themeDomId: string, overrides: ThemeTokenOverrides): string;
|
|
@@ -20,12 +20,12 @@ export function flatten(value, path, out) {
|
|
|
20
20
|
const UNSAFE_CSS_CHARS = new RegExp('[{};\\u0000-\\u001f\\u007f]');
|
|
21
21
|
/** THE theme mechanism: one token-override set → one [data-theme] CSS
|
|
22
22
|
* block. The build-time generator bakes built-ins through this exact
|
|
23
|
-
* function; the admin injects installed themes through it at runtime
|
|
23
|
+
* function; the admin injects installed themes through it at runtime,
|
|
24
24
|
* "same mechanism as a third-party theme" is true by construction, not
|
|
25
25
|
* by convention. Empty overrides → empty string (Light IS the :root
|
|
26
26
|
* default and emits no block). Entries whose name or value contain a
|
|
27
27
|
* CSS-escaping character are skipped (with a warning) rather than
|
|
28
|
-
* emitted
|
|
28
|
+
* emitted (see UNSAFE_CSS_CHARS). */
|
|
29
29
|
export function themeOverridesToCss(themeDomId, overrides) {
|
|
30
30
|
const vars = {};
|
|
31
31
|
flatten(overrides, [], vars);
|
|
@@ -2,7 +2,7 @@ import type { ColorScale, KardalumDesignTokens } from './types.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* What a theme is allowed to touch: color scales/semantic groups and
|
|
4
4
|
* radius. Deliberately excludes typography, spacing, shadow, and motion
|
|
5
|
-
*
|
|
5
|
+
* (the Theme System section's "tokens only, never components" rule)
|
|
6
6
|
* still leaves room for a theme to accidentally reshape layout-adjacent
|
|
7
7
|
* tokens if the type allowed it; keeping the override surface to
|
|
8
8
|
* color + radius keeps themes cosmetic by construction, not just by
|
|
@@ -30,7 +30,7 @@ export interface ThemeTokenOverrides {
|
|
|
30
30
|
/** A built-in theme, shaped like a theme plugin MANIFEST's relevant
|
|
31
31
|
* slice ({id, name, type, contributions.themeTokens}) rather than the
|
|
32
32
|
* retired pre-SDK {tokens} shape. DELIBERATE WAIVER: built-in ids stay
|
|
33
|
-
* "light"/"dark" (not reverse-domain)
|
|
33
|
+
* "light"/"dark" (not reverse-domain): they are statically registered,
|
|
34
34
|
* never pass marketplace validation, and every [data-theme] consumer
|
|
35
35
|
* (tokens.css, docs pages, tests) keys on these historical ids. */
|
|
36
36
|
export interface BuiltInTheme {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { BuiltInTheme } from '../theme-types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Dark theme overrides (S177/S178): warm charcoal, not GitHub-black. The
|
|
4
|
-
* light blue (#7CC0E8) becomes the ACTION colour itself
|
|
4
|
+
* light blue (#7CC0E8) becomes the ACTION colour itself: primary-600 is
|
|
5
5
|
* remapped to it, and text.inverse flips to near-black so `bg-primary-600
|
|
6
6
|
* text-text-inverse` (every primary button) stays legible without any
|
|
7
7
|
* component knowing which theme is active. Status scales remap the steps
|
|
8
|
-
* components use accordingly (100 fill, 600, and the AA text step
|
|
9
|
-
* for success/danger, 800 for warning). Colour only
|
|
8
|
+
* components use accordingly (100 fill, 600, and the AA text step: 700
|
|
9
|
+
* for success/danger, 800 for warning). Colour only; the
|
|
10
10
|
* Theme System contract keeps typography/spacing/shadow/motion in the
|
|
11
11
|
* base set.
|
|
12
12
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Dark theme overrides (S177/S178): warm charcoal, not GitHub-black. The
|
|
3
|
-
* light blue (#7CC0E8) becomes the ACTION colour itself
|
|
3
|
+
* light blue (#7CC0E8) becomes the ACTION colour itself: primary-600 is
|
|
4
4
|
* remapped to it, and text.inverse flips to near-black so `bg-primary-600
|
|
5
5
|
* text-text-inverse` (every primary button) stays legible without any
|
|
6
6
|
* component knowing which theme is active. Status scales remap the steps
|
|
7
|
-
* components use accordingly (100 fill, 600, and the AA text step
|
|
8
|
-
* for success/danger, 800 for warning). Colour only
|
|
7
|
+
* components use accordingly (100 fill, 600, and the AA text step: 700
|
|
8
|
+
* for success/danger, 800 for warning). Colour only; the
|
|
9
9
|
* Theme System contract keeps typography/spacing/shadow/motion in the
|
|
10
10
|
* base set.
|
|
11
11
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BuiltInTheme } from '../theme-types.js';
|
|
2
2
|
/**
|
|
3
|
-
* Light needs no overrides
|
|
3
|
+
* Light needs no overrides: the base token set generated to :root
|
|
4
4
|
* (tokens.ts) already IS the light theme. Still modeled as a real
|
|
5
5
|
* BuiltInTheme, not a special case: applying any theme is always
|
|
6
6
|
* "set data-theme to this id," whether or not that theme happens to
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Light needs no overrides
|
|
2
|
+
* Light needs no overrides: the base token set generated to :root
|
|
3
3
|
* (tokens.ts) already IS the light theme. Still modeled as a real
|
|
4
4
|
* BuiltInTheme, not a special case: applying any theme is always
|
|
5
5
|
* "set data-theme to this id," whether or not that theme happens to
|
|
@@ -145,8 +145,8 @@
|
|
|
145
145
|
--motion-easing-exit: cubic-bezier(0.4, 0, 1, 1);
|
|
146
146
|
--direction: ltr;
|
|
147
147
|
--font-family-sans: 'IBM Plex Sans', 'IBM Plex Sans Arabic', ui-sans-serif, system-ui, sans-serif;
|
|
148
|
-
--font-family-serif: 'Literata', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
|
|
149
|
-
--font-family-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
|
|
148
|
+
--font-family-serif: 'Literata', 'IBM Plex Sans Arabic', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
|
|
149
|
+
--font-family-mono: 'IBM Plex Mono', 'IBM Plex Sans Arabic', ui-monospace, 'Cascadia Code', Consolas, monospace;
|
|
150
150
|
--font-size-xs: 0.75rem;
|
|
151
151
|
--font-size-sm: 0.8125rem;
|
|
152
152
|
--font-size-base: 0.875rem;
|
|
@@ -156,6 +156,11 @@
|
|
|
156
156
|
--font-size-3xl: 1.875rem;
|
|
157
157
|
--font-size-4xl: clamp(1.9rem, 3.4vw, 2.6rem);
|
|
158
158
|
--font-size-5xl: clamp(2.6rem, 4.6vw, 3.4rem);
|
|
159
|
+
--font-size-site-small: 0.8125rem;
|
|
160
|
+
--font-size-site-body: 0.9375rem;
|
|
161
|
+
--font-size-site-lede: 1.125rem;
|
|
162
|
+
--font-size-site-heading: 1.5rem;
|
|
163
|
+
--font-size-site-display: clamp(1.9rem, 3.4vw, 2.6rem);
|
|
159
164
|
--font-weight-normal: 400;
|
|
160
165
|
--font-weight-medium: 500;
|
|
161
166
|
--font-weight-semibold: 600;
|
|
@@ -237,5 +242,12 @@
|
|
|
237
242
|
|
|
238
243
|
/* Arabic locales lead with Plex Sans Arabic: same token, language-conditional value. */
|
|
239
244
|
[lang="ar"], [lang^="ar-"] {
|
|
240
|
-
--font-family-sans: 'IBM Plex Sans Arabic', 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
|
|
245
|
+
--font-family-sans: 'IBM Plex Sans Arabic', 'IBM Plex Sans', ui-sans-serif, system-ui, 'Segoe UI', Tahoma, sans-serif;
|
|
246
|
+
--tracking-tighter: 0em;
|
|
247
|
+
--tracking-tight: 0em;
|
|
248
|
+
--tracking-normal: 0em;
|
|
249
|
+
--tracking-wide: 0em;
|
|
250
|
+
--tracking-wider: 0em;
|
|
251
|
+
--tracking-widest: 0em;
|
|
252
|
+
font-synthesis-style: none;
|
|
241
253
|
}
|
|
@@ -6,12 +6,12 @@ import type { KardalumDesignTokens } from './types.js';
|
|
|
6
6
|
*
|
|
7
7
|
* Colour roles: the primary scale runs sky (50–300, atmosphere:
|
|
8
8
|
* selection, focus, the version rail) into cerulean (600–800, action:
|
|
9
|
-
* buttons, links). THE ACTION COLOUR IS primary-600
|
|
9
|
+
* buttons, links). THE ACTION COLOUR IS primary-600. This supersedes the
|
|
10
10
|
* Session-27 "brand = 500 step" convention for primary; 500 is a
|
|
11
11
|
* mid-step used for nothing in particular. Status scales pair a 100-step
|
|
12
12
|
* soft fill with the lightest text step that clears 4.5:1 on that fill
|
|
13
13
|
* (success/danger 700, warning 800). Neutrals are warm stone, not grey. The
|
|
14
|
-
* dark set (themes/dark.ts) overrides colour only
|
|
14
|
+
* dark set (themes/dark.ts) overrides colour only, and themes never touch
|
|
15
15
|
* typography/spacing/shadow/motion.
|
|
16
16
|
*/
|
|
17
17
|
export declare const tokens: KardalumDesignTokens;
|
|
@@ -19,7 +19,7 @@ export declare const tokens: KardalumDesignTokens;
|
|
|
19
19
|
* Under an Arabic document language the SAME sans token leads with Plex
|
|
20
20
|
* Sans Arabic (its Latin glyphs are Plex-compatible), so RTL locales get a
|
|
21
21
|
* native UI face without any component knowing. Emitted by build-css.ts
|
|
22
|
-
* as a `[lang="ar"]` block
|
|
22
|
+
* as a `[lang="ar"]` block, a language-conditional value of an existing
|
|
23
23
|
* token, not a new one.
|
|
24
24
|
*/
|
|
25
|
-
export declare const ARABIC_SANS_FONT_FAMILY = "'IBM Plex Sans Arabic', 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif";
|
|
25
|
+
export declare const ARABIC_SANS_FONT_FAMILY = "'IBM Plex Sans Arabic', 'IBM Plex Sans', ui-sans-serif, system-ui, 'Segoe UI', Tahoma, sans-serif";
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Colour roles: the primary scale runs sky (50–300, atmosphere:
|
|
7
7
|
* selection, focus, the version rail) into cerulean (600–800, action:
|
|
8
|
-
* buttons, links). THE ACTION COLOUR IS primary-600
|
|
8
|
+
* buttons, links). THE ACTION COLOUR IS primary-600. This supersedes the
|
|
9
9
|
* Session-27 "brand = 500 step" convention for primary; 500 is a
|
|
10
10
|
* mid-step used for nothing in particular. Status scales pair a 100-step
|
|
11
11
|
* soft fill with the lightest text step that clears 4.5:1 on that fill
|
|
12
12
|
* (success/danger 700, warning 800). Neutrals are warm stone, not grey. The
|
|
13
|
-
* dark set (themes/dark.ts) overrides colour only
|
|
13
|
+
* dark set (themes/dark.ts) overrides colour only, and themes never touch
|
|
14
14
|
* typography/spacing/shadow/motion.
|
|
15
15
|
*/
|
|
16
16
|
export const tokens = {
|
|
@@ -100,7 +100,7 @@ export const tokens = {
|
|
|
100
100
|
subtle: '#FAF9F5',
|
|
101
101
|
overlay: 'rgba(27, 35, 33, 0.5)',
|
|
102
102
|
// Nudged from #ECEAE3 (S179): the original wash put primary-600 text
|
|
103
|
-
// at 4.48:1 against it, just under AA
|
|
103
|
+
// at 4.48:1 against it, just under AA; #F0EEE7 clears 4.5:1 while
|
|
104
104
|
// staying the darkest of the four light surfaces (the hover-wash
|
|
105
105
|
// hierarchy is unchanged).
|
|
106
106
|
hover: '#F0EEE7',
|
|
@@ -173,8 +173,8 @@ export const tokens = {
|
|
|
173
173
|
typography: {
|
|
174
174
|
fontFamily: {
|
|
175
175
|
sans: "'IBM Plex Sans', 'IBM Plex Sans Arabic', ui-sans-serif, system-ui, sans-serif",
|
|
176
|
-
serif: "'Literata', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif",
|
|
177
|
-
mono: "'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace",
|
|
176
|
+
serif: "'Literata', 'IBM Plex Sans Arabic', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif",
|
|
177
|
+
mono: "'IBM Plex Mono', 'IBM Plex Sans Arabic', ui-monospace, 'Cascadia Code', Consolas, monospace",
|
|
178
178
|
},
|
|
179
179
|
// px targets at a 16px root: 12 · 13 · 14 · 16 · 20 · 24 · 30.
|
|
180
180
|
// base is 14px (the tool's body size); 2xl = tool titles, 3xl =
|
|
@@ -196,6 +196,15 @@ export const tokens = {
|
|
|
196
196
|
'3xl': '1.875rem',
|
|
197
197
|
'4xl': 'clamp(1.9rem, 3.4vw, 2.6rem)',
|
|
198
198
|
'5xl': 'clamp(2.6rem, 4.6vw, 3.4rem)',
|
|
199
|
+
// The marketing site's five steps (S366g, D9); the admin keeps its own
|
|
200
|
+
// steps above. Targets: 13 px small, 15 px body, 18 px lede, 24 px
|
|
201
|
+
// heading, and the hero clamp. Body is 15 px because that is the
|
|
202
|
+
// approved S215 mockup's own body size; the site's prose sat at 13 px.
|
|
203
|
+
'site-small': '0.8125rem',
|
|
204
|
+
'site-body': '0.9375rem',
|
|
205
|
+
'site-lede': '1.125rem',
|
|
206
|
+
'site-heading': '1.5rem',
|
|
207
|
+
'site-display': 'clamp(1.9rem, 3.4vw, 2.6rem)',
|
|
199
208
|
},
|
|
200
209
|
fontWeight: {
|
|
201
210
|
normal: 400,
|
|
@@ -237,7 +246,7 @@ export const tokens = {
|
|
|
237
246
|
'44': '11rem',
|
|
238
247
|
'64': '16rem',
|
|
239
248
|
// 72 (18rem): the persistent tree panel's width (S49 structure, S177 spec
|
|
240
|
-
// 284px)
|
|
249
|
+
// 284px), and Tailwind's `w-72` resolves only through this scale.
|
|
241
250
|
'72': '18rem',
|
|
242
251
|
},
|
|
243
252
|
// 6 small · 8 controls · 12 cards · 16 dialogs
|
|
@@ -274,7 +283,7 @@ export const tokens = {
|
|
|
274
283
|
* Under an Arabic document language the SAME sans token leads with Plex
|
|
275
284
|
* Sans Arabic (its Latin glyphs are Plex-compatible), so RTL locales get a
|
|
276
285
|
* native UI face without any component knowing. Emitted by build-css.ts
|
|
277
|
-
* as a `[lang="ar"]` block
|
|
286
|
+
* as a `[lang="ar"]` block, a language-conditional value of an existing
|
|
278
287
|
* token, not a new one.
|
|
279
288
|
*/
|
|
280
|
-
export const ARABIC_SANS_FONT_FAMILY = "'IBM Plex Sans Arabic', 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif";
|
|
289
|
+
export const ARABIC_SANS_FONT_FAMILY = "'IBM Plex Sans Arabic', 'IBM Plex Sans', ui-sans-serif, system-ui, 'Segoe UI', Tahoma, sans-serif";
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
"typography": {
|
|
134
134
|
"fontFamily": {
|
|
135
135
|
"sans": "'IBM Plex Sans', 'IBM Plex Sans Arabic', ui-sans-serif, system-ui, sans-serif",
|
|
136
|
-
"serif": "'Literata', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif",
|
|
137
|
-
"mono": "'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace"
|
|
136
|
+
"serif": "'Literata', 'IBM Plex Sans Arabic', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif",
|
|
137
|
+
"mono": "'IBM Plex Mono', 'IBM Plex Sans Arabic', ui-monospace, 'Cascadia Code', Consolas, monospace"
|
|
138
138
|
},
|
|
139
139
|
"fontSize": {
|
|
140
140
|
"xs": "0.75rem",
|
|
@@ -145,7 +145,12 @@
|
|
|
145
145
|
"2xl": "1.5rem",
|
|
146
146
|
"3xl": "1.875rem",
|
|
147
147
|
"4xl": "clamp(1.9rem, 3.4vw, 2.6rem)",
|
|
148
|
-
"5xl": "clamp(2.6rem, 4.6vw, 3.4rem)"
|
|
148
|
+
"5xl": "clamp(2.6rem, 4.6vw, 3.4rem)",
|
|
149
|
+
"site-small": "0.8125rem",
|
|
150
|
+
"site-body": "0.9375rem",
|
|
151
|
+
"site-lede": "1.125rem",
|
|
152
|
+
"site-heading": "1.5rem",
|
|
153
|
+
"site-display": "clamp(1.9rem, 3.4vw, 2.6rem)"
|
|
149
154
|
},
|
|
150
155
|
"fontWeight": {
|
|
151
156
|
"normal": 400,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Design token type definitions
|
|
2
|
+
* Design token type definitions: the shape every theme (built-in or
|
|
3
3
|
* plugin) targets.
|
|
4
4
|
*/
|
|
5
5
|
export type ColorScaleStep = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
|
|
@@ -78,7 +78,7 @@ export interface KardalumDesignTokens {
|
|
|
78
78
|
serif: string;
|
|
79
79
|
mono: string;
|
|
80
80
|
};
|
|
81
|
-
fontSize: Record<'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl', string>;
|
|
81
|
+
fontSize: Record<'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | 'site-small' | 'site-body' | 'site-lede' | 'site-heading' | 'site-display', string>;
|
|
82
82
|
fontWeight: Record<'normal' | 'medium' | 'semibold' | 'bold', number>;
|
|
83
83
|
lineHeight: Record<'tight' | 'normal' | 'relaxed', number>;
|
|
84
84
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PluginInstallDeclaration, PluginLabel, PluginReference } from "@kardalum/api-schemas";
|
|
1
|
+
import type { PluginActionOfferTarget, PluginInstallDeclaration, PluginLabel, PluginReference } from "@kardalum/api-schemas";
|
|
2
2
|
type LabelMap = {
|
|
3
3
|
en: string;
|
|
4
4
|
[locale: string]: string;
|
|
@@ -11,6 +11,7 @@ export interface ReferenceManifestInput {
|
|
|
11
11
|
actions?: ReadonlyArray<{
|
|
12
12
|
id: string;
|
|
13
13
|
label: PluginLabel;
|
|
14
|
+
offerTo?: PluginActionOfferTarget;
|
|
14
15
|
}>;
|
|
15
16
|
roles?: ReadonlyArray<{
|
|
16
17
|
id: string;
|
|
@@ -46,7 +47,7 @@ export interface ReferenceManifestInput {
|
|
|
46
47
|
}>;
|
|
47
48
|
dataTypes?: ReadonlyArray<{
|
|
48
49
|
id: string;
|
|
49
|
-
name:
|
|
50
|
+
name: PluginLabel;
|
|
50
51
|
icon?: string;
|
|
51
52
|
version?: string;
|
|
52
53
|
schema?: unknown;
|
|
@@ -80,12 +81,30 @@ export interface ReferenceManifestInput {
|
|
|
80
81
|
name: PluginLabel;
|
|
81
82
|
action: string;
|
|
82
83
|
}>;
|
|
84
|
+
editorPanels?: ReadonlyArray<{
|
|
85
|
+
id: string;
|
|
86
|
+
label: PluginLabel;
|
|
87
|
+
action: string;
|
|
88
|
+
documentTypes?: readonly string[];
|
|
89
|
+
}>;
|
|
90
|
+
treeActions?: ReadonlyArray<{
|
|
91
|
+
id: string;
|
|
92
|
+
label: PluginLabel;
|
|
93
|
+
action: string;
|
|
94
|
+
documentTypes?: readonly string[];
|
|
95
|
+
}>;
|
|
83
96
|
hooks?: object;
|
|
84
97
|
scheduledTasks?: ReadonlyArray<{
|
|
85
98
|
id: string;
|
|
86
99
|
name: PluginLabel;
|
|
87
100
|
cron: string;
|
|
88
101
|
}>;
|
|
102
|
+
settings?: ReadonlyArray<{
|
|
103
|
+
id: string;
|
|
104
|
+
type: string;
|
|
105
|
+
label: PluginLabel;
|
|
106
|
+
askAtInstall?: boolean;
|
|
107
|
+
}>;
|
|
89
108
|
};
|
|
90
109
|
}
|
|
91
110
|
/** The serialisable facts the six generated Reference pages are rendered
|
|
@@ -22,7 +22,8 @@ function english(label) {
|
|
|
22
22
|
export function buildReference(manifest) {
|
|
23
23
|
const c = manifest.contributions;
|
|
24
24
|
return {
|
|
25
|
-
|
|
25
|
+
// M33 K29: an offered action carries its target, so the reference says who it is offered to.
|
|
26
|
+
actions: (manifest.actions ?? []).map(({ id, label, offerTo }) => ({ id, label: english(label), ...(offerTo !== undefined ? { offerTo } : {}) })),
|
|
26
27
|
roles: (manifest.roles ?? []).map(({ id, label, actions }) => ({ id, label: english(label), actions: [...actions] })),
|
|
27
28
|
apiRoutes: (c.apiRoutes ?? []).map((route) => ({
|
|
28
29
|
method: route.method,
|
|
@@ -33,7 +34,9 @@ export function buildReference(manifest) {
|
|
|
33
34
|
})),
|
|
34
35
|
capabilities: deriveCapabilities(manifest).map(({ id, mediation, payload }) => ({ id, mediation, payload: { count: payload.count, details: [...payload.details] } })),
|
|
35
36
|
documentTypes: plain(c.documentTypes ?? []),
|
|
36
|
-
dataTypes: (c.dataTypes ?? []).map((type) =>
|
|
37
|
+
dataTypes: (c.dataTypes ?? []).map((type) =>
|
|
38
|
+
// M33 K45: the name as a label map, the way slot labels are carried; a plain name is its English.
|
|
39
|
+
plain({ id: type.id, name: typeof type.name === "string" ? { en: type.name } : labelMap(type.name), icon: type.icon, version: type.version, schema: type.schema, settingsSchema: type.settingsSchema, defaultSettings: type.defaultSettings })),
|
|
37
40
|
templates: (c.templates ?? []).map((t) => ({ name: t.name, alias: t.alias, kind: t.kind, ...(t.documentType ? { documentType: t.documentType } : {}) })),
|
|
38
41
|
adminSections: (c.adminSections ?? []).map((s) => ({
|
|
39
42
|
id: s.id,
|
|
@@ -43,8 +46,11 @@ export function buildReference(manifest) {
|
|
|
43
46
|
})),
|
|
44
47
|
railEntries: (c.railEntries ?? []).map((e) => ({ id: e.id, label: labelMap(e.label), section: e.section, action: e.action })),
|
|
45
48
|
dashboardWidgets: (c.dashboardWidgets ?? []).map(({ id, name, action }) => ({ id, name: english(name), action })),
|
|
49
|
+
editorPanels: (c.editorPanels ?? []).map(({ id, label, action, documentTypes }) => ({ id, label: english(label), action, ...(documentTypes ? { documentTypes: [...documentTypes] } : {}) })),
|
|
50
|
+
treeActions: (c.treeActions ?? []).map(({ id, label, action, documentTypes }) => ({ id, label: english(label), action, ...(documentTypes ? { documentTypes: [...documentTypes] } : {}) })),
|
|
46
51
|
hooks: Object.keys(c.hooks ?? {}),
|
|
47
52
|
scheduledTasks: (c.scheduledTasks ?? []).map(({ id, name, cron }) => ({ id, name: english(name), cron })),
|
|
53
|
+
settings: (c.settings ?? []).map(({ id, type, label, askAtInstall }) => ({ id, type, label: english(label), askAtInstall: askAtInstall === true })),
|
|
48
54
|
migrations: (manifest.migrations ?? []).map(({ id, name }) => ({ id, name })),
|
|
49
55
|
assertions: ASSERTION_KEYS.flatMap((key) => {
|
|
50
56
|
const reason = manifest.assertions?.[key]?.reason;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* entries are genuinely enforced, because the host owns the decision. The
|
|
19
19
|
* promised ones are promises.
|
|
20
20
|
*/
|
|
21
|
+
import type { CapabilityDetail } from "@kardalum/api-schemas";
|
|
21
22
|
/**
|
|
22
23
|
* `mediated`: the host bounds the outcome. It decides where the view
|
|
23
24
|
* renders, which gate the route sits behind, whether the action passes.
|
|
@@ -32,11 +33,15 @@ export type CapabilityMediation = "mediated" | "promised";
|
|
|
32
33
|
* The part of the declaration that produced a capability which is safe to
|
|
33
34
|
* store and to render: never a live function, never a Zod schema.
|
|
34
35
|
*
|
|
35
|
-
* `details` is a list of
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
36
|
+
* `details` is a list of identifying lines, not sentences, so each of the
|
|
37
|
+
* three readers can put its own heading in front of them and none has to
|
|
38
|
+
* re-derive them from the manifest. A line is a plain string, shown as
|
|
39
|
+
* written, or (M33 K2) `{ text, notes? }`: the plugin's own words, one
|
|
40
|
+
* string or a map read in the reader's language, and the core's notes, ids
|
|
41
|
+
* from a closed list the readers word in their own language (never words
|
|
42
|
+
* carried here, since this module is loaded by the browser). For an
|
|
43
|
+
* assertion the detail IS the author's reason, because a reason is the
|
|
44
|
+
* whole content of an assertion.
|
|
40
45
|
*/
|
|
41
46
|
export interface CapabilityPayload {
|
|
42
47
|
/** How many declarations produced this capability. 1 for a declaration
|
|
@@ -44,7 +49,7 @@ export interface CapabilityPayload {
|
|
|
44
49
|
count: number;
|
|
45
50
|
/** One line per declaration, in declaration order. Empty when the
|
|
46
51
|
* declaration carries no readable per-entry detail. */
|
|
47
|
-
details:
|
|
52
|
+
details: CapabilityDetail[];
|
|
48
53
|
}
|
|
49
54
|
export interface Capability {
|
|
50
55
|
/** Stable, dotted, and never reused for a different meaning. Persisted
|
|
@@ -66,11 +71,11 @@ export interface Capability {
|
|
|
66
71
|
* them, and they read as a closing caveat rather than as a feature.
|
|
67
72
|
*
|
|
68
73
|
* This package cannot name the SDK's `PluginContributions` (the SDK depends
|
|
69
|
-
* on it), so the SDK asserts at the type level that these
|
|
70
|
-
* exactly `keyof PluginContributions`:
|
|
74
|
+
* on it), so the SDK asserts at the type level that these keys are
|
|
75
|
+
* exactly `keyof PluginContributions`: a contribution added to the
|
|
71
76
|
* contract and not classified here is a compile error in the SDK's build.
|
|
72
77
|
*/
|
|
73
|
-
export declare const CONTRIBUTION_EMISSION_ORDER: readonly ["dataTypes", "documentTypes", "adminSections", "railEntries", "dashboardWidgets", "templates", "assets", "themeTokens", "hooks", "scheduledTasks", "mediaProcessors", "serializers", "apiRoutes", "exposedServices", "notifications", "bundledPlugins", "bundledTemplate"];
|
|
78
|
+
export declare const CONTRIBUTION_EMISSION_ORDER: readonly ["dataTypes", "dataTypeConfigs", "documentTypes", "adminSections", "railEntries", "dashboardWidgets", "editorPanels", "treeActions", "templates", "assets", "themeTokens", "hooks", "scheduledTasks", "mediaProcessors", "serializers", "apiRoutes", "contentAccess", "mediaAccess", "siteRoutes", "siteFallback", "templateFilters", "templateTags", "pageHead", "heldEmbeds", "protectionProviders", "searchProviders", "mediaStores", "signInProviders", "mailSenders", "formReplies", "mailKinds", "outboundRequests", "secrets", "sealedValues", "exposedServices", "notifications", "bundledPlugins", "bundledTemplate", "aiContext", "settings"];
|
|
74
79
|
export type ContributionKey = (typeof CONTRIBUTION_EMISSION_ORDER)[number];
|
|
75
80
|
/** The assertion kinds, in emission order. The SDK asserts these are
|
|
76
81
|
* exactly `keyof PluginAssertions`, for the reason above. */
|
|
@@ -78,9 +83,11 @@ export declare const ASSERTION_KEYS: readonly ["externalNetwork", "filesystemAcc
|
|
|
78
83
|
export type AssertionKey = (typeof ASSERTION_KEYS)[number];
|
|
79
84
|
/** Whether this contribution kind sits behind a named permission action.
|
|
80
85
|
* Lives on CONTRIBUTION_RULES rather than in a separate list, because that
|
|
81
|
-
* record is compiler-total over the
|
|
86
|
+
* record is compiler-total over the contribution keys: a new key
|
|
82
87
|
* cannot be added without classifying it here. */
|
|
83
88
|
export declare function isActionGated(key: ContributionKey): boolean;
|
|
89
|
+
/** M31.5 D (D9): whether a contribution kind produces a capability at all (aiContext does not). */
|
|
90
|
+
export declare function derivesCapability(key: ContributionKey): boolean;
|
|
84
91
|
/** Every capability id this contract can produce, for the readers that
|
|
85
92
|
* need to be pinned against it (the marketplace's static mirror) and for
|
|
86
93
|
* the reference page S289 generates. */
|