@startupjs-ui/mdx 0.2.0-alpha.0 → 0.2.0-alpha.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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.2](https://github.com/startupjs/startupjs-ui/compare/v0.2.0-alpha.1...v0.2.0-alpha.2) (2026-04-20)
7
+
8
+ **Note:** Version bump only for package @startupjs-ui/mdx
9
+
10
+
11
+
12
+
13
+
14
+ # [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)
15
+
16
+ **Note:** Version bump only for package @startupjs-ui/mdx
17
+
18
+
19
+
20
+
21
+
6
22
  # [0.2.0-alpha.0](https://github.com/startupjs/startupjs-ui/compare/v0.1.22...v0.2.0-alpha.0) (2026-03-27)
7
23
 
8
24
  **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=true)
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=true)
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) {
@@ -302,7 +301,7 @@ export default {
302
301
  Div.code-actions(align='right' row)
303
302
  Div.code-action(
304
303
  tooltip=open ? 'Hide code' : 'Show code'
305
- onPress=()=> setOpen(!open)
304
+ onPress=() => setOpen(!open)
306
305
  )
307
306
  Icon.code-action-collapse(icon=faCode color='error')
308
307
  Div.code-action(
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.0",
4
+ "version": "0.2.0-alpha.2",
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.0",
16
- "@startupjs-ui/br": "^0.2.0-alpha.0",
17
- "@startupjs-ui/collapse": "^0.2.0-alpha.0",
18
- "@startupjs-ui/div": "^0.2.0-alpha.0",
19
- "@startupjs-ui/divider": "^0.2.0-alpha.0",
20
- "@startupjs-ui/icon": "^0.2.0-alpha.0",
21
- "@startupjs-ui/link": "^0.2.0-alpha.0",
22
- "@startupjs-ui/scroll-view": "^0.2.0-alpha.0",
23
- "@startupjs-ui/span": "^0.2.0-alpha.0",
24
- "@startupjs-ui/table": "^0.2.0-alpha.0",
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.2",
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.2",
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": "a428246a18d0e7f77809043c8240253240d11d66"
33
+ "gitHead": "8a6ae7871e4c82f3e24d5911a9df42338e057e7a"
34
34
  }