Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/superdoc/scripts/audit-declarations.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const RELOCATION_GUARD_PACKAGES = [
'@superdoc/contracts',
'@superdoc/dom-contract',
'@superdoc/layout-bridge',
'@superdoc/layout-engine',
'@superdoc/painter-dom',
'@superdoc/pm-adapter',
];
Expand Down
2 changes: 2 additions & 0 deletions packages/superdoc/scripts/ensure-types.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ const RELOCATION_RULES = [
{ pkg: '@superdoc/contracts', distEntry: 'layout-engine/contracts/src/index.d.ts', matchSubpaths: true },
{ pkg: '@superdoc/dom-contract', distEntry: 'layout-engine/dom-contract/src/index.d.ts', matchSubpaths: true },
{ pkg: '@superdoc/layout-bridge', distEntry: 'layout-engine/layout-bridge/src/index.d.ts', matchSubpaths: true },
{ pkg: '@superdoc/layout-engine', distEntry: 'layout-engine/layout-engine/src/index.d.ts', matchSubpaths: true },
{ pkg: '@superdoc/painter-dom', distEntry: 'layout-engine/painters/dom/src/index.d.ts', matchSubpaths: true },
{
pkg: '@superdoc/pm-adapter/converter-context.js',
Expand All @@ -241,6 +242,7 @@ const RELOCATION_GUARD_PACKAGES = [
'@superdoc/contracts',
'@superdoc/dom-contract',
'@superdoc/layout-bridge',
'@superdoc/layout-engine',
'@superdoc/painter-dom',
'@superdoc/pm-adapter',
];
Expand Down
17 changes: 0 additions & 17 deletions packages/superdoc/src/composables/useUiFontFamily.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,6 @@ export const DEFAULT_UI_FONT_FAMILY = 'Arial, Helvetica, sans-serif';
*
* @returns {{ uiFontFamily: import('vue').ComputedRef<string> }} An object containing:
* - uiFontFamily: A computed reference to the UI font-family string
*
* @example
* // In a Vue component
* import { useUiFontFamily } from '@superdoc/composables/useUiFontFamily.js';
*
* export default {
* setup() {
* const { uiFontFamily } = useUiFontFamily();
*
* // Use in template or computed styles
* return { uiFontFamily };
* }
* }
*
* @example
* // In a template
* <CommentsDropdown :content-style="{ fontFamily: uiFontFamily }" />
*/
export function useUiFontFamily() {
const instance = getCurrentInstance();
Expand Down
1 change: 1 addition & 0 deletions packages/superdoc/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"../layout-engine/contracts/src",
"../layout-engine/dom-contract/src",
"../layout-engine/layout-bridge/src",
"../layout-engine/layout-engine/src",
"../layout-engine/painters/dom/src",
"../layout-engine/pm-adapter/src/converter-context.ts",
"../layout-engine/pm-adapter/src/sections/types.ts"
Expand Down
1 change: 1 addition & 0 deletions packages/superdoc/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export default defineConfig(({ mode, command }) => {
'../layout-engine/contracts/src/**/*',
'../layout-engine/dom-contract/src/**/*',
'../layout-engine/layout-bridge/src/**/*',
'../layout-engine/layout-engine/src/**/*',
'../layout-engine/painters/dom/src/**/*',
// SD-2893: pm-adapter is included file-by-file (not via `src/**/*`)
// because the full barrel pulls in @superdoc/style-engine and other
Expand Down
Loading