@multiplatform.one/markdown 11.0.0 → 11.1.0

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": "@multiplatform.one/markdown",
3
- "version": "11.0.0",
3
+ "version": "11.1.0",
4
4
  "description": "Cross-platform markdown renderer with Shiki syntax highlighting for React and React Native",
5
5
  "keywords": [
6
6
  "cross-platform",
@@ -68,11 +68,11 @@
68
68
  "dependencies": {
69
69
  "@mdx-js/mdx": "^3.1.1",
70
70
  "@mdx-js/react": "^3.1.1",
71
- "@multiplatform.one/components": "^11.0.0",
72
- "@multiplatform.one/platform": "^11.0.0",
73
- "@multiplatform.one/router": "^11.0.0",
74
- "@multiplatform.one/table-primitives": "^11.0.0",
75
- "@multiplatform.one/theme": "^11.0.0",
71
+ "@multiplatform.one/components": "^11.1.0",
72
+ "@multiplatform.one/platform": "^11.1.0",
73
+ "@multiplatform.one/router": "^11.1.0",
74
+ "@multiplatform.one/table-primitives": "^11.1.0",
75
+ "@multiplatform.one/theme": "^11.1.0",
76
76
  "@tamagui/linear-gradient": "3.2.3",
77
77
  "@tamagui/react-native-svg": "3.2.3",
78
78
  "@tamagui/web": "3.2.3",
@@ -90,9 +90,9 @@
90
90
  "unist-util-visit": "^5.1.0"
91
91
  },
92
92
  "devDependencies": {
93
- "@multiplatform.one/config": "11.0.0",
94
- "@multiplatform.one/storybook": "11.0.0",
95
- "@multiplatform.one/test-utils": "11.0.0",
93
+ "@multiplatform.one/config": "11.1.0",
94
+ "@multiplatform.one/storybook": "11.1.0",
95
+ "@multiplatform.one/test-utils": "11.1.0",
96
96
  "@tamagui/build": "3.2.3",
97
97
  "@testing-library/jest-dom": "^7.0.1",
98
98
  "@testing-library/react": "^16.3.3",
@@ -143,6 +143,13 @@ export const SchemeSwitch: Story = {
143
143
  * mounted. The box stays empty on purpose — the caller shows the error.
144
144
  */
145
145
  export const InvalidSource: Story = {
146
+ parameters: { lostpixel: { waitForPlay: true } },
147
+ play: async ({ canvasElement }) => {
148
+ await waitFor(
149
+ () => expect(within(canvasElement).getByRole("status").textContent).toMatch(/^ok: false/),
150
+ { timeout: 20000 },
151
+ );
152
+ },
146
153
  render: () => (
147
154
  <YStack maxWidth={700} padding="4">
148
155
  <EngineSpecimen label="Invalid source returns the parse message" code={INVALID} />
@@ -167,6 +174,7 @@ export const FontFamily: Story = {
167
174
 
168
175
  /** Other grammars go through the same call; only the source changes. */
169
176
  export const OtherGrammars: Story = {
177
+ ...diagramsMounted,
170
178
  render: () => (
171
179
  <YStack gap="5" padding="4" maxWidth={700}>
172
180
  <EngineSpecimen