@tnotesjs/ui 0.1.3 → 0.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tnotesjs/ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Shared Vue UI for TNotes built-in blocks — consumed by the TNotes SSG and Desk.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -83,7 +83,8 @@
83
83
  "node": ">=18.0.0"
84
84
  },
85
85
  "publishConfig": {
86
- "access": "public"
86
+ "access": "public",
87
+ "registry": "https://registry.npmjs.org/"
87
88
  },
88
89
  "repository": {
89
90
  "type": "git",
@@ -100,11 +101,9 @@
100
101
  "desk"
101
102
  ],
102
103
  "license": "MIT",
103
- "packageManager": "pnpm@11.10.0",
104
104
  "scripts": {
105
105
  "build": "tsup src/code/highlight.ts src/components/Footprints/parse.ts src/components/Mindmap/markdown.ts src/markdown/image.ts --format esm --dts --out-dir dist --clean",
106
106
  "typecheck": "tsc --noEmit -p tsconfig.json",
107
- "test": "vitest run",
108
- "prepublishOnly": "pnpm test && pnpm typecheck && pnpm build"
107
+ "test": "vitest run"
109
108
  }
110
- }
109
+ }
@@ -6,6 +6,8 @@
6
6
  font-optical-sizing: auto;
7
7
  font-synthesis: style;
8
8
  line-height: 1.5;
9
+ overflow-wrap: anywhere;
10
+ word-break: break-word;
9
11
  -webkit-font-smoothing: antialiased;
10
12
  }
11
13
  :is(.tn-prose, .vp-doc) :where(p) {
@@ -48,6 +50,8 @@
48
50
  color: var(--tn-c-brand);
49
51
  text-decoration: none;
50
52
  font-weight: 500;
53
+ overflow-wrap: anywhere;
54
+ word-break: break-word;
51
55
  }
52
56
  :is(.tn-prose, .vp-doc) :where(a:hover) {
53
57
  color: var(--tn-c-brand-hover);
@@ -100,7 +104,7 @@
100
104
  :is(.tn-prose, .vp-doc) :where(hr) {
101
105
  margin: 16px 0;
102
106
  border: 0;
103
- border-top: 1px solid var(--tn-c-text-2);
107
+ border-top: 1px solid var(--tn-c-divider);
104
108
  }
105
109
  :is(.tn-prose, .vp-doc) :where(img) {
106
110
  max-width: 100%;
@@ -125,7 +129,9 @@
125
129
  width: 100%;
126
130
  height: auto;
127
131
  }
128
- :is(.tn-prose, .vp-doc) :where(figure.tn-image > figcaption) {
132
+ :is(.tn-prose, .vp-doc) :where(figure.tn-image > figcaption),
133
+ :is(.tn-prose, .vp-doc) :where(figcaption) {
134
+ display: block;
129
135
  margin: 8px 0 0;
130
136
  color: var(--tn-c-text-2);
131
137
  font-size: 13px;