@startupjs-ui/mdx 0.1.10 → 0.1.11

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,17 @@
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.1.11](https://github.com/startupjs/startupjs-ui/compare/v0.1.10...v0.1.11) (2026-01-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **docs:** fix mobile and implement mobile layout ([0f8beff](https://github.com/startupjs/startupjs-ui/commit/0f8beff32210f5666ce7f65583291b503f7c7b86))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.1.10](https://github.com/startupjs/startupjs-ui/compare/v0.1.9...v0.1.10) (2026-01-18)
7
18
 
8
19
  **Note:** Version bump only for package @startupjs-ui/mdx
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## Installation
6
6
 
7
7
  ```sh
8
- yarn @startupjs-ui/mdx @react-native-clipboard/clipboard
8
+ yarn @startupjs-ui/mdx expo-clipboard
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -1,6 +1,5 @@
1
1
  import React, { useState, useContext } from 'react'
2
2
  import { Image, ScrollView, Platform } from 'react-native'
3
- import Clipboard from '@react-native-clipboard/clipboard'
4
3
  import { pug, observer, $, BASE_URL } from 'startupjs'
5
4
  import Alert from '@startupjs-ui/alert'
6
5
  import Div from '@startupjs-ui/div'
@@ -11,6 +10,7 @@ import Link from '@startupjs-ui/link'
11
10
  import Icon from '@startupjs-ui/icon'
12
11
  import { Table, Tbody, Td, Th, Thead, Tr } from '@startupjs-ui/table'
13
12
  import Collapse from '@startupjs-ui/collapse'
13
+ import { setStringAsync } from 'expo-clipboard'
14
14
  // import { Anchor, scrollTo } from '@startupjs/scrollable-anchors'
15
15
  // import { faLink } from '@fortawesome/free-solid-svg-icons/faLink'
16
16
  import { faCode } from '@fortawesome/free-solid-svg-icons/faCode'
@@ -277,8 +277,8 @@ export default {
277
277
  const [open, setOpen] = useState(false)
278
278
  const $copyText = $('Copy code')
279
279
 
280
- function copyHandler () {
281
- Clipboard.setString(children)
280
+ async function copyHandler () {
281
+ await setStringAsync(children)
282
282
  $copyText.set('Copied')
283
283
  }
284
284
 
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.1.10",
4
+ "version": "0.1.11",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -12,23 +12,23 @@
12
12
  "dependencies": {
13
13
  "@fortawesome/free-solid-svg-icons": "^5.12.0",
14
14
  "@mdx-js/react": "^3.0.0",
15
- "@startupjs-ui/alert": "^0.1.10",
16
- "@startupjs-ui/br": "^0.1.5",
17
- "@startupjs-ui/collapse": "^0.1.10",
18
- "@startupjs-ui/div": "^0.1.10",
19
- "@startupjs-ui/divider": "^0.1.5",
20
- "@startupjs-ui/icon": "^0.1.5",
21
- "@startupjs-ui/link": "^0.1.10",
22
- "@startupjs-ui/scroll-view": "^0.1.5",
23
- "@startupjs-ui/span": "^0.1.5",
24
- "@startupjs-ui/table": "^0.1.10",
15
+ "@startupjs-ui/alert": "^0.1.11",
16
+ "@startupjs-ui/br": "^0.1.11",
17
+ "@startupjs-ui/collapse": "^0.1.11",
18
+ "@startupjs-ui/div": "^0.1.11",
19
+ "@startupjs-ui/divider": "^0.1.11",
20
+ "@startupjs-ui/icon": "^0.1.11",
21
+ "@startupjs-ui/link": "^0.1.11",
22
+ "@startupjs-ui/scroll-view": "^0.1.11",
23
+ "@startupjs-ui/span": "^0.1.11",
24
+ "@startupjs-ui/table": "^0.1.11",
25
25
  "refractor": "^3.0.0"
26
26
  },
27
27
  "peerDependencies": {
28
- "@react-native-clipboard/clipboard": "*",
28
+ "expo-clipboard": "*",
29
29
  "react": "*",
30
30
  "react-native": "*",
31
31
  "startupjs": "*"
32
32
  },
33
- "gitHead": "1ecb64054dc88294ac0ca801d1241e39052fa47c"
33
+ "gitHead": "b21659a9d8408cd921560196db22a18fd8eda82d"
34
34
  }