@hussmartinez/pdf-sdk 0.4.0 → 0.4.2

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/dist/styles.css CHANGED
@@ -205,13 +205,12 @@
205
205
  }
206
206
 
207
207
  /* The editor's own text, such as the start area, the alerts and the page
208
- numbers, in ui's type, not whatever the host page sets around it. */
208
+ numbers, takes ui's type from ui's hm-text class on the root (ui ADR
209
+ 0010), not whatever the host page sets around it. The colour stays here,
210
+ for the --hm-pdf-editor-text override. */
209
211
  .hm-pdf-editor:not([data-hm-unstyled]) {
210
212
  background: var(--hm-pdf-editor-bg, var(--hm-color-surface));
211
213
  color: var(--hm-pdf-editor-text, var(--hm-color-text));
212
- font-family: var(--hm-font-family);
213
- font-size: var(--hm-font-size-body);
214
- line-height: var(--hm-line-height-body);
215
214
  }
216
215
 
217
216
  .hm-pdf-editor-header {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hussmartinez/pdf-sdk",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Client-side PDF SDK: a headless core, a React editor and a custom element. Files never leave the device.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@hussmartinez/sdk-core": "^0.4.4",
52
- "@hussmartinez/ui": "^0.8.0"
52
+ "@hussmartinez/ui": "^0.11.0"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "react": ">=18.3",