@startupjs/docs 0.55.0-alpha.1 → 0.55.0-alpha.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/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { pug, observer, useValue, $ } from 'startupjs'
|
|
3
|
-
import { Br, Input, Button, Modal
|
|
3
|
+
import { Br, Input, Button, Modal } from '@startupjs/ui'
|
|
4
4
|
import { faSlidersH } from '@fortawesome/free-solid-svg-icons'
|
|
5
5
|
import {
|
|
6
6
|
useShowGrid,
|
|
@@ -9,18 +9,6 @@ import {
|
|
|
9
9
|
} from '../../../../../clientHelpers'
|
|
10
10
|
import './index.styl'
|
|
11
11
|
|
|
12
|
-
const palette = new Palette()
|
|
13
|
-
const { Color, generateColors } = palette
|
|
14
|
-
|
|
15
|
-
const THEMES = {
|
|
16
|
-
dark: generateColors({
|
|
17
|
-
[Colors.bg]: Color('coolGray', 0),
|
|
18
|
-
[Colors.text]: Color('coolGray', 9),
|
|
19
|
-
[Colors.border]: Color('coolGray', 2),
|
|
20
|
-
[Colors.secondary]: Color('coolGray', 9)
|
|
21
|
-
})
|
|
22
|
-
}
|
|
23
|
-
|
|
24
12
|
export default observer(function Options ({
|
|
25
13
|
style
|
|
26
14
|
}) {
|
|
@@ -42,8 +30,6 @@ export default observer(function Options ({
|
|
|
42
30
|
}
|
|
43
31
|
|
|
44
32
|
return pug`
|
|
45
|
-
if theme !== 'light'
|
|
46
|
-
CssVariables(meta=THEMES[theme])
|
|
47
33
|
Button(
|
|
48
34
|
style=style
|
|
49
35
|
icon=faSlidersH
|
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.
|
|
7
|
+
"version": "0.55.0-alpha.11",
|
|
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.
|
|
13
|
-
"@startupjs/scrollable-anchors": "^0.55.0-alpha.
|
|
14
|
-
"@startupjs/ui": "^0.55.0-alpha.
|
|
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",
|
|
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": "
|
|
22
|
+
"gitHead": "c0d3add391f41b4eb1b9c6789d6a0f197a0f1943"
|
|
23
23
|
}
|