@startupjs-ui/mdx 0.2.0-alpha.0 → 0.2.0-alpha.1
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/CHANGELOG.md +8 -0
- package/client/mdxComponents/index.js +2 -3
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.2.0-alpha.1](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.0...v0.2.0-alpha.1) (2026-04-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @startupjs-ui/mdx
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [0.2.0-alpha.0](https://github.com/startupjs/startupjs-ui/compare/v0.1.22...v0.2.0-alpha.0) (2026-03-27)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @startupjs-ui/mdx
|
|
@@ -202,7 +202,7 @@ export default {
|
|
|
202
202
|
.filter(child => child !== '\n')
|
|
203
203
|
|
|
204
204
|
return pug`
|
|
205
|
-
BlockquoteContext.Provider(value
|
|
205
|
+
BlockquoteContext.Provider(value)
|
|
206
206
|
Alert.alert= filteredChildren
|
|
207
207
|
`
|
|
208
208
|
},
|
|
@@ -254,12 +254,11 @@ export default {
|
|
|
254
254
|
},
|
|
255
255
|
pre: ({ children }) => {
|
|
256
256
|
return pug`
|
|
257
|
-
PreContext.Provider(value
|
|
257
|
+
PreContext.Provider(value)
|
|
258
258
|
= children
|
|
259
259
|
`
|
|
260
260
|
},
|
|
261
261
|
code: observer(({ children, className, ...props }) => {
|
|
262
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
263
262
|
const isBlockCode = useContext(PreContext)
|
|
264
263
|
|
|
265
264
|
if (!isBlockCode) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs-ui/mdx",
|
|
3
3
|
"description": "MDX provider with a set of custom components for react-native support and syntax highlighting",
|
|
4
|
-
"version": "0.2.0-alpha.
|
|
4
|
+
"version": "0.2.0-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
14
14
|
"@mdx-js/react": "^3.0.0",
|
|
15
|
-
"@startupjs-ui/alert": "^0.2.0-alpha.
|
|
16
|
-
"@startupjs-ui/br": "^0.2.0-alpha.
|
|
17
|
-
"@startupjs-ui/collapse": "^0.2.0-alpha.
|
|
18
|
-
"@startupjs-ui/div": "^0.2.0-alpha.
|
|
19
|
-
"@startupjs-ui/divider": "^0.2.0-alpha.
|
|
20
|
-
"@startupjs-ui/icon": "^0.2.0-alpha.
|
|
21
|
-
"@startupjs-ui/link": "^0.2.0-alpha.
|
|
22
|
-
"@startupjs-ui/scroll-view": "^0.2.0-alpha.
|
|
23
|
-
"@startupjs-ui/span": "^0.2.0-alpha.
|
|
24
|
-
"@startupjs-ui/table": "^0.2.0-alpha.
|
|
15
|
+
"@startupjs-ui/alert": "^0.2.0-alpha.1",
|
|
16
|
+
"@startupjs-ui/br": "^0.2.0-alpha.1",
|
|
17
|
+
"@startupjs-ui/collapse": "^0.2.0-alpha.1",
|
|
18
|
+
"@startupjs-ui/div": "^0.2.0-alpha.1",
|
|
19
|
+
"@startupjs-ui/divider": "^0.2.0-alpha.1",
|
|
20
|
+
"@startupjs-ui/icon": "^0.2.0-alpha.1",
|
|
21
|
+
"@startupjs-ui/link": "^0.2.0-alpha.1",
|
|
22
|
+
"@startupjs-ui/scroll-view": "^0.2.0-alpha.1",
|
|
23
|
+
"@startupjs-ui/span": "^0.2.0-alpha.1",
|
|
24
|
+
"@startupjs-ui/table": "^0.2.0-alpha.1",
|
|
25
25
|
"refractor": "^3.0.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"react-native": "*",
|
|
31
31
|
"startupjs": "*"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "b48004779559b16c96a2a1995dab13b998eafce9"
|
|
34
34
|
}
|