@startupjs/docs 0.53.3 → 0.54.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/client/app/Layout/Sidebar/Content/Docs/index.js +1 -1
- package/client/app/Layout/Sidebar/Content/Options/index.js +1 -1
- package/client/app/Layout/Sidebar/Content/index.js +1 -1
- package/client/app/Layout/Sidebar/index.js +1 -1
- package/client/app/Layout/index.js +2 -2
- package/client/app/pages/PDoc/index.js +1 -1
- package/client/components/Props/Constructor/Table/index.js +1 -1
- package/client/components/Props/Constructor/Tbody/index.js +1 -1
- package/client/components/Props/Constructor/Td/index.js +1 -1
- package/client/components/Props/Constructor/Thead/index.js +1 -1
- package/client/components/Props/Constructor/Tr/index.js +1 -1
- package/client/components/Props/Constructor/TypeCell/index.js +1 -1
- package/client/components/Props/Constructor/ValueCell/index.js +1 -1
- package/client/components/Props/Constructor/index.js +1 -1
- package/client/components/Props/Renderer/GridVisualizer/index.js +1 -1
- package/client/components/Props/Renderer/index.js +1 -1
- package/client/components/Props/index.js +1 -1
- package/client/components/Sandbox/index.js +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo } from 'react'
|
|
2
|
-
import { observer, useModel, useLocal } from 'startupjs'
|
|
2
|
+
import { pug, observer, useModel, useLocal } from 'startupjs'
|
|
3
3
|
import { pathFor } from 'startupjs/app'
|
|
4
4
|
import { useMedia, Menu, Collapse } from '@startupjs/ui'
|
|
5
5
|
import { faAngleRight } from '@fortawesome/free-solid-svg-icons'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { ScrollView, Image } from 'react-native'
|
|
3
|
-
import { observer } from 'startupjs'
|
|
3
|
+
import { pug, observer } from 'startupjs'
|
|
4
4
|
import { Div, Row, Select } from '@startupjs/ui'
|
|
5
5
|
import { BASE_URL } from '@env'
|
|
6
6
|
import { useLang } from '../../../../clientHelpers'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from 'react'
|
|
2
|
-
import { emit, observer, useModel } from 'startupjs'
|
|
2
|
+
import { pug, emit, observer, useModel } from 'startupjs'
|
|
3
3
|
import { pathFor, useLocation } from 'startupjs/app'
|
|
4
4
|
import { AutoSuggest, Button, Div, Layout, Menu, Row, Span } from '@startupjs/ui'
|
|
5
5
|
import { MDXProvider } from '@startupjs/mdx'
|
|
@@ -57,7 +57,7 @@ const Search = observer(function Search () {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
function onChangeText (value) {
|
|
60
|
-
const testComponentUrlRegExp =
|
|
60
|
+
const testComponentUrlRegExp = /^\/test\//
|
|
61
61
|
|
|
62
62
|
if (testComponentUrlRegExp.test(value)) {
|
|
63
63
|
return emit('url', value)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { observer, useLocal } from 'startupjs'
|
|
2
|
+
import { pug, observer, useLocal } from 'startupjs'
|
|
3
3
|
import { Span, Br, Div } from '@startupjs/ui'
|
|
4
4
|
import { useDocsContext } from '../../../../docsContext'
|
|
5
5
|
import { useLang } from '../../../clientHelpers'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useMemo } from 'react'
|
|
2
|
-
import { batch, observer, useValue } from 'startupjs'
|
|
2
|
+
import { pug, batch, observer, useValue } from 'startupjs'
|
|
3
3
|
import { Br, Input, Span } from '@startupjs/ui'
|
|
4
4
|
import debounce from 'lodash/debounce'
|
|
5
5
|
import isPlainObject from 'lodash/isPlainObject'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useMemo, useState } from 'react'
|
|
2
|
-
import { observer, $root, useComponentId } from 'startupjs'
|
|
2
|
+
import { pug, observer, $root, useComponentId } from 'startupjs'
|
|
3
3
|
import { themed, Button, Row, Div, ScrollView } from '@startupjs/ui'
|
|
4
4
|
import parsePropTypesModule from 'parse-prop-types'
|
|
5
5
|
import Constructor from './Constructor'
|
package/package.json
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"description": "MDX documentation generator",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.54.0",
|
|
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.
|
|
13
|
-
"@startupjs/scrollable-anchors": "^0.
|
|
14
|
-
"@startupjs/ui": "^0.
|
|
12
|
+
"@startupjs/mdx": "^0.54.0",
|
|
13
|
+
"@startupjs/scrollable-anchors": "^0.54.0",
|
|
14
|
+
"@startupjs/ui": "^0.54.0",
|
|
15
15
|
"parse-prop-types": "^0.3.0"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"react-native": ">= 0.61.4 < 0.64.0",
|
|
20
20
|
"startupjs": ">= 0.33.0"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "6ff1f85289a0b0aa9aef46f55b9cbbb556707f0c"
|
|
23
23
|
}
|