@blockslides/core 0.1.0 → 0.2.0

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": "@blockslides/core",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Core ProseMirror-based slide editor with essential plugins",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -11,6 +11,7 @@
11
11
  "require": "./dist/index.js",
12
12
  "types": "./dist/index.d.ts"
13
13
  },
14
+ "./styles/markdown.css": "./styles/markdown.css",
14
15
  "./jsx-runtime": {
15
16
  "import": "./dist/jsx-runtime/jsx-runtime.mjs",
16
17
  "require": "./dist/jsx-runtime/jsx-runtime.js",
@@ -23,7 +24,8 @@
23
24
  }
24
25
  },
25
26
  "files": [
26
- "dist"
27
+ "dist",
28
+ "styles"
27
29
  ],
28
30
  "dependencies": {
29
31
  "prosemirror-commands": "^1.7.1",
@@ -0,0 +1,43 @@
1
+ .blockslides-editor,
2
+ [data-node-type="slide"] {
3
+ /* Ensure the scope has a positioning context for nested elements */
4
+ position: relative;
5
+ }
6
+
7
+ .blockslides-editor ul,
8
+ .blockslides-editor ol,
9
+ [data-node-type="slide"] ul,
10
+ [data-node-type="slide"] ol {
11
+ list-style-position: outside;
12
+ margin: 0.5rem 0 0.5rem 1.25rem;
13
+ padding-left: 1rem;
14
+ }
15
+
16
+ .blockslides-editor ul,
17
+ [data-node-type="slide"] ul {
18
+ list-style-type: disc;
19
+ }
20
+
21
+ .blockslides-editor ol,
22
+ [data-node-type="slide"] ol {
23
+ list-style-type: decimal;
24
+ }
25
+
26
+ .blockslides-editor li,
27
+ [data-node-type="slide"] li {
28
+ margin: 0.25rem 0;
29
+ }
30
+
31
+ .blockslides-editor blockquote,
32
+ [data-node-type="slide"] blockquote {
33
+ border-left: 3px solid rgba(148, 163, 184, 0.7);
34
+ padding-left: 0.75rem;
35
+ margin: 0.5rem 0;
36
+ }
37
+
38
+ .blockslides-editor hr,
39
+ [data-node-type="slide"] hr {
40
+ border: none;
41
+ border-top: 1px solid rgba(148, 163, 184, 0.6);
42
+ margin: 1rem 0;
43
+ }