@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humanforest/ui",
3
- "version": "0.3.4",
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.4",
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
@@ -1017,7 +1017,8 @@ var progressGroupTheme = {
1017
1017
  var proseTheme = {
1018
1018
  codePreview: {
1019
1019
  slots: {
1020
- preview: "ed-demo"
1020
+ preview: "ed-demo",
1021
+ code: "[&>div]:rounded-t-none [&>div>div>pre]:rounded-t-none"
1021
1022
  }
1022
1023
  },
1023
1024
  codeCollapse: {
@@ -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