@humanforest/ui 0.3.4 → 0.3.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 +2 -2
- package/preset.gen.js +2 -1
- package/src/themes/prose.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@humanforest/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"preset.gen.js"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@humanforest/tokens": "^0.3.
|
|
12
|
+
"@humanforest/tokens": "^0.3.5",
|
|
13
13
|
"@internationalized/date": "^3.12.2",
|
|
14
14
|
"@mapbox/search-js-core": "^1.6.0",
|
|
15
15
|
"@turf/boolean-point-in-polygon": "^7.4.0",
|
package/preset.gen.js
CHANGED
package/src/themes/prose.ts
CHANGED
|
@@ -26,6 +26,10 @@ export const proseTheme = {
|
|
|
26
26
|
codePreview: {
|
|
27
27
|
slots: {
|
|
28
28
|
preview: 'ed-demo',
|
|
29
|
+
// Stock squares `code > div > pre`, the top of a bare block joined under the pane. A collapsed
|
|
30
|
+
// block wraps that <pre> one level deeper, so the wrapper and the <pre> both kept 12px top
|
|
31
|
+
// corners and notched the joint at each end.
|
|
32
|
+
code: '[&>div]:rounded-t-none [&>div>div>pre]:rounded-t-none',
|
|
29
33
|
},
|
|
30
34
|
},
|
|
31
35
|
|