@brillout/docpress 0.1.0 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "exports": {
5
5
  ".": "./src/index.ts",
6
6
  "./client/initFeatureList": {
@@ -9,7 +9,9 @@
9
9
  #page-layout > #navigation-wrapper,
10
10
  #page-layout > #page-wrapper {
11
11
  flex-grow: 1;
12
- /* Avoid overflowing, see https://stackoverflow.com/questions/36230944/prevent-flex-items-from-overflowing-a-container/66689926#66689926 */
12
+ }
13
+ /* Avoid overflow, see https://stackoverflow.com/questions/36230944/prevent-flex-items-from-overflowing-a-container/66689926#66689926 */
14
+ #page-layout > #page-wrapper {
13
15
  min-width: 0;
14
16
  }
15
17
 
@@ -9,6 +9,4 @@ export * from './Note'
9
9
  export * from './ImportMeta'
10
10
  export * from './features/FeatureList'
11
11
  export * from './HorizontalLine'
12
- export * from './ContactUs'
13
- export * from './TextContactUs'
14
12
  export * from './Sponsors'
@@ -1,19 +0,0 @@
1
- import React from 'react'
2
- import { TextContactUs } from './TextContactUs'
3
-
4
- export { ContactUs }
5
-
6
- function ContactUs({ text }: { text: string }) {
7
- const style: React.CSSProperties = {
8
- fontSize: '1.5em',
9
- textAlign: 'center',
10
- margin: 'auto',
11
- padding: 'var(--header-padding)',
12
- maxWidth: 'var(--header-max-width)'
13
- }
14
- return (
15
- <p style={style}>
16
- {text} <TextContactUs />
17
- </p>
18
- )
19
- }
@@ -1,15 +0,0 @@
1
- import React from 'react'
2
- import { usePageContext } from '../renderer/usePageContext'
3
-
4
- export { TextContactUs }
5
-
6
- function TextContactUs() {
7
- const pageContext = usePageContext()
8
- const { projectInfo } = pageContext.config
9
- return (
10
- <>
11
- <a href={projectInfo.discordInvite}>Join our Discord</a> or{' '}
12
- <a href={projectInfo.githubIssues}>open a GitHub ticket</a>.
13
- </>
14
- )
15
- }