@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 CHANGED
@@ -4,7 +4,7 @@ A React library for a settings UI similar to that of Chrome.
4
4
 
5
5
  [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](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. Finally, the only documentation is the code and the storybook stories.
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
  ![image](https://user-images.githubusercontent.com/8448/147994050-d0087afc-db1f-4a88-9744-f93002535239.png)
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
  ```
@@ -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;
@@ -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?: string;
87
+ pageKey: string;
87
88
  searchTerms?: string;
88
89
  topLevel?: boolean;
89
90
  getErrorMessage?: (data: any) => string | undefined;