@brett_lamy/docstream 0.6.1 → 0.6.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/styles.css +10 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brett_lamy/docstream",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "GitBook-aware readonly markdown and AI stream renderer.",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/src/styles.css CHANGED
@@ -81,11 +81,7 @@
81
81
  }
82
82
 
83
83
  :is([data-docstream], .docs-article) [data-docstream-blocks] > * {
84
- margin-block: 0;
85
- }
86
-
87
- :is([data-docstream], .docs-article) [data-docstream-blocks] > * + * {
88
- margin-block-start: 0.9em;
84
+ margin-block: 0.75em;
89
85
  }
90
86
 
91
87
  :is([data-docstream], .docs-article) :is(h1, h2, h3, h4, h5, h6) {
@@ -99,11 +95,7 @@
99
95
  }
100
96
 
101
97
  :is([data-docstream], .docs-article) [data-docstream-blocks] > :is(h1, h2, h3, h4, h5, h6) {
102
- margin-block-start: 1.6em;
103
- }
104
-
105
- :is([data-docstream], .docs-article) [data-docstream-blocks] > :first-child:is(h1, h2, h3, h4, h5, h6) {
106
- margin-block-start: 0;
98
+ margin-block: 1.6em 0.45em;
107
99
  }
108
100
 
109
101
  :is([data-docstream], .docs-article) h1 {
@@ -140,9 +132,17 @@
140
132
  }
141
133
 
142
134
  :is([data-docstream], .docs-article) p {
135
+ margin-block: 0.75em;
136
+ }
137
+
138
+ :is([data-docstream], .docs-article) [data-docstream-blocks] > :is(.docs-table, table) {
143
139
  margin-block: 0;
144
140
  }
145
141
 
142
+ :is([data-docstream], .docs-article) [data-docstream-blocks] > :is(.docs-cards, .docs-code, .docs-math, .docs-hint, .docs-tabs, .docs-expandable, .docs-stepper, .docs-mermaid-preview, .oas, .docs-embed, .docstream-viz, figure, blockquote, ul, ol, hr) {
143
+ margin-block: 0.75em;
144
+ }
145
+
146
146
  :is([data-docstream], .docs-article) a {
147
147
  color: var(--gb-primary);
148
148
  text-decoration: underline;