scoobie 17.2.0 → 17.2.2

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
@@ -4,7 +4,7 @@
4
4
  "license": "MIT",
5
5
  "main": "src/index.ts",
6
6
  "sideEffects": false,
7
- "version": "17.2.0",
7
+ "version": "17.2.2",
8
8
  "dependencies": {
9
9
  "@capsizecss/core": "^4.0.0",
10
10
  "@mdx-js/react": "^1.6.22",
@@ -34,22 +34,22 @@
34
34
  "@changesets/cli": "2.27.8",
35
35
  "@changesets/get-github-info": "0.6.0",
36
36
  "@mdx-js/loader": "^1.6.22",
37
- "@storybook/addon-essentials": "8.2.9",
37
+ "@storybook/addon-essentials": "8.3.2",
38
38
  "@storybook/addon-webpack5-compiler-babel": "3.0.3",
39
- "@storybook/react": "8.2.9",
40
- "@storybook/react-webpack5": "8.2.9",
41
- "@types/react": "18.3.5",
39
+ "@storybook/react": "8.3.2",
40
+ "@storybook/react-webpack5": "8.3.2",
41
+ "@types/react": "18.3.8",
42
42
  "@types/react-dom": "18.3.0",
43
- "braid-design-system": "32.23.1",
43
+ "braid-design-system": "32.24.1",
44
44
  "loki": "0.35.1",
45
45
  "mermaid-isomorphic": "2.2.1",
46
- "playwright": "1.47.0",
46
+ "playwright": "1.47.2",
47
47
  "react": "18.3.1",
48
48
  "react-dom": "18.3.1",
49
49
  "react-helmet-async": "1.3.0",
50
- "react-router-dom": "6.26.1",
51
- "sku": "13.1.1",
52
- "storybook": "8.2.9",
50
+ "react-router-dom": "6.26.2",
51
+ "sku": "13.1.3",
52
+ "storybook": "8.3.2",
53
53
  "webpack": "5.94.0"
54
54
  },
55
55
  "files": [
@@ -293,6 +293,7 @@ text.messageText {
293
293
  }
294
294
 
295
295
  text.loopText,
296
+ text.loopText > tspan,
296
297
  text.messageText {
297
298
  paint-order: stroke fill;
298
299
  stroke: var(--surface-background);
@@ -300,10 +301,13 @@ text.messageText {
300
301
  stroke-width: 4px;
301
302
  }
302
303
 
304
+ text.actor,
303
305
  text.actor > tspan,
304
306
  text.labelText,
307
+ text.loopText,
305
308
  text.loopText > tspan,
306
309
  text.messageText,
310
+ text.noteText,
307
311
  text.noteText > tspan {
308
312
  fill: var(--neutral-foreground);
309
313
  }
@@ -64,9 +64,15 @@ export const CodeBlock = ({
64
64
 
65
65
  const child = children[index.value] ?? children[0];
66
66
 
67
+ const variableIndexBlock = [index.value, 1].find(
68
+ (idx) =>
69
+ children[idx]?.language?.startsWith('json') &&
70
+ children[idx]?.label?.startsWith('Variables'),
71
+ );
72
+
67
73
  const jsoncVariables =
68
- children[0].language === 'graphql' && children[1]?.label === 'Variables'
69
- ? children[1].code
74
+ children[0].language === 'graphql' && variableIndexBlock !== undefined
75
+ ? children[variableIndexBlock].code
70
76
  : undefined;
71
77
 
72
78
  const variables =