@sillsdev/config-r 1.0.0-alpha.17 → 1.0.0-alpha.18
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 +5 -1
- package/dist/ConfigrPane.d.ts +1 -1
- package/dist/ContentPane.d.ts +3 -2
- package/dist/configr.cjs.js +421 -0
- package/dist/configr.cjs.js.map +1 -0
- package/dist/configr.es.js +26043 -8153
- package/dist/configr.es.js.map +1 -1
- package/package.json +13 -10
- package/dist/configr.umd.js +0 -235
- package/dist/configr.umd.js.map +0 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A React library for a settings UI similar to that of Chrome.
|
|
|
4
4
|
|
|
5
5
|
[](https://www.repostatus.org/#wip)
|
|
6
6
|
|
|
7
|
-
> :warning: We ship this as part of our [product](https://github.com/BloomBooks/BloomDesktop), but search has not made it to production yet. In addition, we may make visual changes over time.
|
|
7
|
+
> :warning: We ship this as part of our [product](https://github.com/BloomBooks/BloomDesktop), but search has not made it to production yet. In addition, we may make visual changes over time. For now, the only documentation is the code and the storybook stories.
|
|
8
8
|
|
|
9
9
|
## Screenshots
|
|
10
10
|
|
|
@@ -12,6 +12,10 @@ A React library for a settings UI similar to that of Chrome.
|
|
|
12
12
|
|
|
13
13
|

|
|
14
14
|
|
|
15
|
+
## Demo
|
|
16
|
+
|
|
17
|
+
You can play around with [the disorganized stories](https://sillsdev.github.io/config-r).
|
|
18
|
+
|
|
15
19
|
## Running
|
|
16
20
|
|
|
17
21
|
```
|
package/dist/ConfigrPane.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThemeOptions } from '@mui/material';
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
import { ConfigrPage } from './ContentPane';
|
|
3
|
+
import * as React from 'react';
|
|
4
4
|
export declare const ConfigrPane: React.FunctionComponent<React.PropsWithChildren<{
|
|
5
5
|
label: string;
|
|
6
6
|
initialValues: object;
|
package/dist/ContentPane.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SerializedStyles } from '@emotion/react';
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import * as React from 'react';
|
|
4
4
|
type valueGetter = () => Object;
|
|
5
5
|
export declare const ContentPane: React.FunctionComponent<React.PropsWithChildren<{
|
|
6
6
|
initialValues: object;
|
|
@@ -72,6 +72,7 @@ interface ISelectProps extends IConfigrProps<string> {
|
|
|
72
72
|
getErrorMessage?: (data: any) => string | undefined;
|
|
73
73
|
}
|
|
74
74
|
export declare const ConfigrSelect: React.FunctionComponent<React.PropsWithChildren<ISelectProps>>;
|
|
75
|
+
export declare const ConfigrStatic: React.FunctionComponent<React.PropsWithChildren<{}>>;
|
|
75
76
|
export declare const ConfigrGroup: React.FunctionComponent<React.PropsWithChildren<{
|
|
76
77
|
label?: string;
|
|
77
78
|
searchTerms?: string;
|
|
@@ -83,7 +84,7 @@ export type PageChild = React.ReactElement<typeof ConfigrGroup> | false | undefi
|
|
|
83
84
|
export declare const ConfigrPage: React.FunctionComponent<React.PropsWithChildren<{
|
|
84
85
|
label: string;
|
|
85
86
|
labelCss?: SerializedStyles;
|
|
86
|
-
pageKey
|
|
87
|
+
pageKey: string;
|
|
87
88
|
searchTerms?: string;
|
|
88
89
|
topLevel?: boolean;
|
|
89
90
|
getErrorMessage?: (data: any) => string | undefined;
|