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
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@superdoc-dev/esign": "link:../.",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"superdoc": "^0.36.1",
"superdoc": "1.1.0",
"signature_pad": "^5.1.1"
},
"devDependencies": {
Expand All @@ -21,4 +21,4 @@
"typescript": "^5.9.2",
"vite": "^7.1.7"
}
}
}
11 changes: 6 additions & 5 deletions demo/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions demo/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ body {
font-family: system-ui, -apple-system, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin: 0;
font-size: 14px;
line-height: 1.6;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
}

.superdoc-esign-document {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"superdoc": "^0.29.0"
"superdoc": "^1.1.0"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
Expand All @@ -81,7 +81,7 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"semantic-release": "^24.2.9",
"superdoc": "^0.36.1",
"superdoc": "1.1.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.1",
"vite": "^7.1.7",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
});

const discovered: Types.FieldInfo[] = tags
.map(({ node }: any) => ({

Check warning on line 133 in src/index.tsx

View workflow job for this annotation

GitHub Actions / validate

Unexpected any. Specify a different type
id: node.attrs.id,
label: node.attrs.label,
value: configValues.get(node.attrs.id) ?? node.textContent ?? '',
Expand Down Expand Up @@ -163,7 +163,7 @@
...event,
timestamp: new Date().toISOString(),
};
const auditMock = (globalThis as any)?.__SUPERDOC_AUDIT_MOCK__;

Check warning on line 166 in src/index.tsx

View workflow job for this annotation

GitHub Actions / validate

Unexpected any. Specify a different type
if (auditMock) {
auditMock(auditEvent);
}
Expand Down Expand Up @@ -194,6 +194,7 @@
modules: {
comments: false,
},
// @ts-expect-error - layoutMode is not supported in SuperDoc v1.1.0 yet
layoutMode: document.layoutMode,
layoutMargins: document.layoutMargins,
onReady: () => {
Expand Down
Loading