@startupjs/docs 0.55.0-alpha.11 → 0.55.0-alpha.12

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.
@@ -5,7 +5,6 @@ import { AutoSuggest, Button, Div, Layout, Menu, Row, Span } from '@startupjs/ui
5
5
  import { MDXProvider } from '@startupjs/mdx'
6
6
  import { ScrollableProvider } from '@startupjs/scrollable-anchors'
7
7
  import { faBars, faSearch } from '@fortawesome/free-solid-svg-icons'
8
- import { APP_ENV } from '@env'
9
8
  import Sidebar, { SIDEBAR_PATH } from './Sidebar'
10
9
  import { useDocsContext } from '../../../docsContext'
11
10
  import { useLang, getTitle } from '../../clientHelpers'
@@ -57,14 +56,6 @@ const Search = observer(function Search () {
57
56
  emit('url', value.value)
58
57
  }
59
58
 
60
- function onChangeText (value) {
61
- const testComponentUrlRegExp = /^\/test\//
62
-
63
- if (testComponentUrlRegExp.test(value)) {
64
- return emit('url', value)
65
- }
66
- }
67
-
68
59
  return pug`
69
60
  AutoSuggest.search(
70
61
  testID='searchInput'
@@ -74,7 +65,6 @@ const Search = observer(function Search () {
74
65
  inputIcon=faSearch
75
66
  renderItem=item => renderItem(item, pathname)
76
67
  onChange=onChange
77
- onChangeText=APP_ENV === 'detox' ? onChangeText : undefined
78
68
  )
79
69
  `
80
70
  })
package/package.json CHANGED
@@ -4,14 +4,14 @@
4
4
  "access": "public"
5
5
  },
6
6
  "description": "MDX documentation generator",
7
- "version": "0.55.0-alpha.11",
7
+ "version": "0.55.0-alpha.12",
8
8
  "type": "module",
9
9
  "main": "index.js",
10
10
  "dependencies": {
11
11
  "@fortawesome/free-solid-svg-icons": "^5.12.0",
12
- "@startupjs/mdx": "^0.55.0-alpha.11",
13
- "@startupjs/scrollable-anchors": "^0.55.0-alpha.11",
14
- "@startupjs/ui": "^0.55.0-alpha.11",
12
+ "@startupjs/mdx": "^0.55.0-alpha.12",
13
+ "@startupjs/scrollable-anchors": "^0.55.0-alpha.12",
14
+ "@startupjs/ui": "^0.55.0-alpha.12",
15
15
  "parse-prop-types": "^0.3.0"
16
16
  },
17
17
  "peerDependencies": {
@@ -19,5 +19,5 @@
19
19
  "react-native": "*",
20
20
  "startupjs": "*"
21
21
  },
22
- "gitHead": "c0d3add391f41b4eb1b9c6789d6a0f197a0f1943"
22
+ "gitHead": "d9fdf45341ca733978cdc4fa2562055922e0c2ed"
23
23
  }
@@ -2,8 +2,7 @@ module.exports = {
2
2
  type: 'plugin',
3
3
  bundler: {
4
4
  forceCompile: {
5
- web: true,
6
- server: true
5
+ web: true
7
6
  }
8
7
  }
9
8
  }