@prosekit/basic 0.0.7 → 0.0.8

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.
@@ -148,7 +148,8 @@
148
148
  "Noto Color Emoji";
149
149
  }
150
150
  .example-editor span[data-mention=user] {
151
- border-radius: 0.125rem;
151
+ border-radius: 0.5rem;
152
+ padding: 0.125rem;
152
153
  --tw-text-opacity: 1;
153
154
  color: rgb(59 130 246 / var(--tw-text-opacity));
154
155
  }
@@ -156,10 +157,23 @@
156
157
  content: "@";
157
158
  }
158
159
  .example-editor span[data-mention=tag] {
159
- border-radius: 0.125rem;
160
+ border-radius: 0.5rem;
160
161
  --tw-bg-opacity: 1;
161
- background-color: rgb(203 213 225 / var(--tw-bg-opacity));
162
+ background-color: rgb(229 231 235 / var(--tw-bg-opacity));
163
+ padding-left: 0.25rem;
164
+ padding-right: 0.25rem;
165
+ padding-top: 0.125rem;
166
+ padding-bottom: 0.125rem;
167
+ }
168
+ :is(.dark .example-editor span[data-mention="tag"]) {
169
+ --tw-bg-opacity: 1;
170
+ background-color: rgb(75 85 99 / var(--tw-bg-opacity));
162
171
  }
163
172
  .example-editor span[data-mention=tag]::before {
164
173
  content: "#";
174
+ padding-right: 0.125rem;
175
+ opacity: 0.4;
176
+ }
177
+ :is(.dark .example-editor span[data-mention="tag"])::before {
178
+ opacity: 0.5;
165
179
  }
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- /* ../../node_modules/.pnpm/prosemirror-view@1.31.6/node_modules/prosemirror-view/style/prosemirror.css */
1
+ /* ../../node_modules/.pnpm/prosemirror-view@1.31.7/node_modules/prosemirror-view/style/prosemirror.css */
2
2
  .ProseMirror {
3
3
  position: relative;
4
4
  word-wrap: break-word;
@@ -49,7 +49,7 @@ img.ProseMirror-separator {
49
49
 
50
50
  /* ../core/src/style.css */
51
51
 
52
- /* ../../node_modules/.pnpm/prosemirror-flat-list@0.3.15/node_modules/prosemirror-flat-list/dist/style.css */
52
+ /* ../../node_modules/.pnpm/prosemirror-flat-list@0.4.1/node_modules/prosemirror-flat-list/dist/style.css */
53
53
  .prosemirror-flat-list {
54
54
  padding: 0;
55
55
  margin-top: 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/basic",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -41,16 +41,16 @@
41
41
  "dist"
42
42
  ],
43
43
  "dependencies": {
44
- "@prosekit/core": "^0.0.6",
45
- "@prosekit/extensions": "^0.0.6"
44
+ "@prosekit/core": "^0.0.7",
45
+ "@prosekit/extensions": "^0.0.7"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@prosekit/dev": "*",
49
49
  "postcss": "^8.4.27",
50
50
  "tailwindcss": "^3.3.3",
51
- "tsup": "^7.1.0",
51
+ "tsup": "^7.2.0",
52
52
  "typescript": "^5.1.6",
53
- "vitest": "^0.33.0"
53
+ "vitest": "^0.34.1"
54
54
  },
55
55
  "scripts": {
56
56
  "build:tsup": "tsup",