scoobie 13.0.2 → 13.0.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 +18 -17
- package/remark/mermaid/style.css +4 -0
- package/styles/code.css.ts +2 -2
package/package.json
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"version": "13.0.
|
|
7
|
+
"version": "13.0.5",
|
|
8
8
|
"dependencies": {
|
|
9
|
+
"@capsizecss/core": "^3.0.0",
|
|
9
10
|
"@mdx-js/loader": "^1.6.22",
|
|
10
11
|
"@mdx-js/react": "^1.6.22",
|
|
11
12
|
"@types/mdx-js__react": "^1.5.4",
|
|
@@ -13,7 +14,6 @@
|
|
|
13
14
|
"@vanilla-extract/css": "^1.2.3",
|
|
14
15
|
"@vanilla-extract/css-utils": "^0.1.1",
|
|
15
16
|
"babel-loader": "^8.2.3",
|
|
16
|
-
"capsize": "^2.0.0",
|
|
17
17
|
"clsx": "^1.1.1",
|
|
18
18
|
"find-up": "^5.0.0",
|
|
19
19
|
"fs-extra": "^10.0.0",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"which": "^2.0.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@mermaid-js/mermaid-cli": "
|
|
35
|
-
"@storybook/addon-essentials": "6.4.
|
|
36
|
-
"@storybook/storybook-deployer": "2.8.
|
|
37
|
-
"@types/react": "17.0.
|
|
38
|
-
"@types/react-dom": "17.0.
|
|
34
|
+
"@mermaid-js/mermaid-cli": "9.0.2",
|
|
35
|
+
"@storybook/addon-essentials": "6.4.22",
|
|
36
|
+
"@storybook/storybook-deployer": "2.8.11",
|
|
37
|
+
"@types/react": "17.0.43",
|
|
38
|
+
"@types/react-dom": "17.0.14",
|
|
39
39
|
"@types/react-helmet": "6.1.5",
|
|
40
|
-
"braid-design-system": "31.
|
|
41
|
-
"loki": "0.
|
|
42
|
-
"react": "
|
|
43
|
-
"react-dom": "
|
|
40
|
+
"braid-design-system": "31.10.0",
|
|
41
|
+
"loki": "0.29.0",
|
|
42
|
+
"react": "18.0.0",
|
|
43
|
+
"react-dom": "18.0.0",
|
|
44
44
|
"react-helmet": "6.1.0",
|
|
45
|
-
"react-router-dom": "6.
|
|
45
|
+
"react-router-dom": "6.3.0",
|
|
46
46
|
"semantic-release": "19.0.2",
|
|
47
|
-
"sku": "11.
|
|
48
|
-
"webpack": "5.
|
|
47
|
+
"sku": "11.3.3",
|
|
48
|
+
"webpack": "5.72.0"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"src",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"typography.ts"
|
|
57
57
|
],
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@mermaid-js/mermaid-cli": ">= 8.13.7 <
|
|
59
|
+
"@mermaid-js/mermaid-cli": ">= 8.13.7 < 10",
|
|
60
60
|
"braid-design-system": ">= 31.0.0",
|
|
61
|
-
"react": ">= 17 <
|
|
61
|
+
"react": ">= 17 < 19",
|
|
62
62
|
"react-router-dom": ">= 5.3.0",
|
|
63
63
|
"sku": ">= 10.13.4 < 12"
|
|
64
64
|
},
|
|
@@ -81,7 +81,8 @@
|
|
|
81
81
|
"storybook:build": "sku build-storybook",
|
|
82
82
|
"storybook:deploy": "storybook-to-ghpages --existing-output-dir=dist-storybook",
|
|
83
83
|
"storybook:start": "sku storybook",
|
|
84
|
-
"test": "sku test"
|
|
84
|
+
"test": "sku test",
|
|
85
|
+
"test:ci": "sku test --coverage"
|
|
85
86
|
},
|
|
86
87
|
"loki": {
|
|
87
88
|
"configurations": {
|
package/remark/mermaid/style.css
CHANGED
package/styles/code.css.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { createStyleObject, getCapHeight } from '@capsizecss/core';
|
|
1
2
|
import { styleVariants } from '@vanilla-extract/css';
|
|
2
3
|
import { responsiveStyle } from 'braid-design-system/css';
|
|
3
|
-
import capsize, { getCapHeight } from 'capsize';
|
|
4
4
|
|
|
5
5
|
import { Size } from '../src/private/size';
|
|
6
6
|
|
|
@@ -56,7 +56,7 @@ const monospaceFontStylesForTarget = (
|
|
|
56
56
|
size: Size,
|
|
57
57
|
target: 'mobile' | 'tablet',
|
|
58
58
|
) =>
|
|
59
|
-
|
|
59
|
+
createStyleObject({
|
|
60
60
|
capHeight: getCapHeight({
|
|
61
61
|
fontSize: tokens.typography.code[size][target].fontSize,
|
|
62
62
|
fontMetrics: monospaceFontMetrics,
|