@khanacademy/wonder-blocks-toolbar 2.1.40 → 2.1.41

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/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @khanacademy/wonder-blocks-toolbar
2
2
 
3
+ ## 2.1.41
4
+
5
+ ### Patch Changes
6
+
7
+ - d816af08: Update build and test configs use TypeScript
8
+ - 3891f544: Update babel config to include plugins that Storybook needed
9
+ - 0d28bb1c: Configured TypeScript
10
+ - 3d05f764: Fix HOCs and other type errors
11
+ - c2ec4902: Update eslint configuration, fix lint
12
+ - 2983c05b: Include 'types' field in package.json
13
+ - 77ff6a66: Generate Flow types from TypeScript types
14
+ - ec8d4b7f: Fix miscellaneous TypeScript errors
15
+ - Updated dependencies [d816af08]
16
+ - Updated dependencies [3891f544]
17
+ - Updated dependencies [0d28bb1c]
18
+ - Updated dependencies [873f4a14]
19
+ - Updated dependencies [3d05f764]
20
+ - Updated dependencies [c2ec4902]
21
+ - Updated dependencies [2983c05b]
22
+ - Updated dependencies [77ff6a66]
23
+ - Updated dependencies [ec8d4b7f]
24
+ - @khanacademy/wonder-blocks-color@1.2.2
25
+ - @khanacademy/wonder-blocks-core@4.8.0
26
+ - @khanacademy/wonder-blocks-spacing@3.0.6
27
+ - @khanacademy/wonder-blocks-typography@1.1.39
28
+
3
29
  ## 2.1.40
4
30
 
5
31
  ### Patch Changes
@@ -0,0 +1,65 @@
1
+ import * as React from "react";
2
+ import type { AriaProps } from "@khanacademy/wonder-blocks-core";
3
+ type Props = AriaProps & {
4
+ /**
5
+ * Whether we should use the default light color scheme or switch to a
6
+ * darker blue scheme.
7
+ */
8
+ color?: "dark" | "light";
9
+ /**
10
+ * An optional node to render on the left side of the toolbar. This will
11
+ * often be empty, but may include a close button for modals.
12
+ */
13
+ leftContent?: React.ReactNode;
14
+ /**
15
+ * An optional node to render on the right side of the toolbar. This will
16
+ * typically include buttons, links, or span elements with text.
17
+ */
18
+ rightContent?: React.ReactNode;
19
+ /**
20
+ * How much vertical space to use for the toolbar. If this prop is not
21
+ * provided, the default is "medium".
22
+ */
23
+ size?: "small" | "medium";
24
+ /**
25
+ * An optional subtitle rendered in a lighter colour and smaller font size
26
+ * below the title. Only visible on larger media sizes.
27
+ */
28
+ subtitle?: string;
29
+ /**
30
+ * The main title rendered in larger bold text.
31
+ */
32
+ title?: string;
33
+ /**
34
+ * Test ID used for e2e testing.
35
+ */
36
+ testId?: string;
37
+ };
38
+ type DefaultProps = {
39
+ color: Props["color"];
40
+ leftContent: Props["leftContent"];
41
+ rightContent: Props["rightContent"];
42
+ size: Props["size"];
43
+ };
44
+ /**
45
+ * The `Toolbar` component is a generic toolbar wrapper that exposes
46
+ * customization options. An optional `title` and `subtitle` property can be
47
+ * used along with left and right content passed as props.
48
+ *
49
+ * ### Usage
50
+ *
51
+ * ```jsx
52
+ * import Toolbar from "@khanacademy/wonder-blocks-toolbar";
53
+ *
54
+ * <Toolbar
55
+ * size="small"
56
+ * leftContent={<IconButton icon={icons.dismiss} kind="tertiary" />}
57
+ * rightContent={<Button>Next Video</Button>}
58
+ * />
59
+ * ```
60
+ */
61
+ export default class Toolbar extends React.Component<Props> {
62
+ static defaultProps: DefaultProps;
63
+ render(): React.ReactElement;
64
+ }
65
+ export {};
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Flowtype definitions for toolbar
3
+ * Generated by Flowgen from a Typescript Definition
4
+ * Flowgen v1.21.0
5
+ * @flow
6
+ */
7
+
8
+ import * as React from "react";
9
+ import type { AriaProps } from "@khanacademy/wonder-blocks-core";
10
+ declare type Props = {
11
+ ...AriaProps,
12
+ ...{
13
+ /**
14
+ * Whether we should use the default light color scheme or switch to a
15
+ * darker blue scheme.
16
+ */
17
+ color?: "dark" | "light",
18
+
19
+ /**
20
+ * An optional node to render on the left side of the toolbar. This will
21
+ * often be empty, but may include a close button for modals.
22
+ */
23
+ leftContent?: React.Node,
24
+
25
+ /**
26
+ * An optional node to render on the right side of the toolbar. This will
27
+ * typically include buttons, links, or span elements with text.
28
+ */
29
+ rightContent?: React.Node,
30
+
31
+ /**
32
+ * How much vertical space to use for the toolbar. If this prop is not
33
+ * provided, the default is "medium".
34
+ */
35
+ size?: "small" | "medium",
36
+
37
+ /**
38
+ * An optional subtitle rendered in a lighter colour and smaller font size
39
+ * below the title. Only visible on larger media sizes.
40
+ */
41
+ subtitle?: string,
42
+
43
+ /**
44
+ * The main title rendered in larger bold text.
45
+ */
46
+ title?: string,
47
+
48
+ /**
49
+ * Test ID used for e2e testing.
50
+ */
51
+ testId?: string,
52
+ ...
53
+ },
54
+ };
55
+ declare type DefaultProps = {
56
+ color: $PropertyType<Props, "color">,
57
+ leftContent: $PropertyType<Props, "leftContent">,
58
+ rightContent: $PropertyType<Props, "rightContent">,
59
+ size: $PropertyType<Props, "size">,
60
+ ...
61
+ };
62
+ /**
63
+ * The `Toolbar` component is a generic toolbar wrapper that exposes
64
+ * customization options. An optional `title` and `subtitle` property can be
65
+ * used along with left and right content passed as props.
66
+ *
67
+ * ### Usage
68
+ *
69
+ * ```jsx
70
+ * import Toolbar from "@khanacademy/wonder-blocks-toolbar";
71
+ *
72
+ * <Toolbar
73
+ * size="small"
74
+ * leftContent={<IconButton icon={icons.dismiss} kind="tertiary" />}
75
+ * rightContent={<Button>Next Video</Button>}
76
+ * />
77
+ * ```
78
+ */
79
+ declare export default class Toolbar mixins React.Component<Props> {
80
+ static defaultProps: DefaultProps;
81
+ render(): React.Element<>;
82
+ }
package/dist/es/index.js CHANGED
@@ -5,8 +5,27 @@ import { View } from '@khanacademy/wonder-blocks-core';
5
5
  import Spacing from '@khanacademy/wonder-blocks-spacing';
6
6
  import { LabelSmall, LabelLarge, HeadingSmall } from '@khanacademy/wonder-blocks-typography';
7
7
 
8
- class Toolbar extends React.Component {
9
- render() {
8
+ function _setPrototypeOf(o, p) {
9
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
10
+ o.__proto__ = p;
11
+ return o;
12
+ };
13
+ return _setPrototypeOf(o, p);
14
+ }
15
+
16
+ function _inheritsLoose(subClass, superClass) {
17
+ subClass.prototype = Object.create(superClass.prototype);
18
+ subClass.prototype.constructor = subClass;
19
+ _setPrototypeOf(subClass, superClass);
20
+ }
21
+
22
+ let Toolbar = function (_React$Component) {
23
+ _inheritsLoose(Toolbar, _React$Component);
24
+ function Toolbar() {
25
+ return _React$Component.apply(this, arguments) || this;
26
+ }
27
+ var _proto = Toolbar.prototype;
28
+ _proto.render = function render() {
10
29
  const {
11
30
  color,
12
31
  leftContent,
@@ -31,9 +50,9 @@ class Toolbar extends React.Component {
31
50
  }, subtitle))), React.createElement(View, {
32
51
  style: [sharedStyles.column, sharedStyles.rightColumn, title ? sharedStyles.withTitle : null]
33
52
  }, rightContent));
34
- }
35
-
36
- }
53
+ };
54
+ return Toolbar;
55
+ }(React.Component);
37
56
  Toolbar.defaultProps = {
38
57
  color: "light",
39
58
  leftContent: null,
@@ -0,0 +1,2 @@
1
+ import Toolbar from "./components/toolbar";
2
+ export { Toolbar as default };
package/dist/index.js CHANGED
@@ -10,29 +10,48 @@ var wonderBlocksTypography = require('@khanacademy/wonder-blocks-typography');
10
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
11
 
12
12
  function _interopNamespace(e) {
13
- if (e && e.__esModule) return e;
14
- var n = Object.create(null);
15
- if (e) {
16
- Object.keys(e).forEach(function (k) {
17
- if (k !== 'default') {
18
- var d = Object.getOwnPropertyDescriptor(e, k);
19
- Object.defineProperty(n, k, d.get ? d : {
20
- enumerable: true,
21
- get: function () { return e[k]; }
22
- });
23
- }
13
+ if (e && e.__esModule) return e;
14
+ var n = Object.create(null);
15
+ if (e) {
16
+ Object.keys(e).forEach(function (k) {
17
+ if (k !== 'default') {
18
+ var d = Object.getOwnPropertyDescriptor(e, k);
19
+ Object.defineProperty(n, k, d.get ? d : {
20
+ enumerable: true,
21
+ get: function () { return e[k]; }
24
22
  });
25
- }
26
- n["default"] = e;
27
- return Object.freeze(n);
23
+ }
24
+ });
25
+ }
26
+ n["default"] = e;
27
+ return Object.freeze(n);
28
28
  }
29
29
 
30
30
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
31
31
  var Color__default = /*#__PURE__*/_interopDefaultLegacy(Color);
32
32
  var Spacing__default = /*#__PURE__*/_interopDefaultLegacy(Spacing);
33
33
 
34
- class Toolbar extends React__namespace.Component {
35
- render() {
34
+ function _setPrototypeOf(o, p) {
35
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
36
+ o.__proto__ = p;
37
+ return o;
38
+ };
39
+ return _setPrototypeOf(o, p);
40
+ }
41
+
42
+ function _inheritsLoose(subClass, superClass) {
43
+ subClass.prototype = Object.create(superClass.prototype);
44
+ subClass.prototype.constructor = subClass;
45
+ _setPrototypeOf(subClass, superClass);
46
+ }
47
+
48
+ let Toolbar = function (_React$Component) {
49
+ _inheritsLoose(Toolbar, _React$Component);
50
+ function Toolbar() {
51
+ return _React$Component.apply(this, arguments) || this;
52
+ }
53
+ var _proto = Toolbar.prototype;
54
+ _proto.render = function render() {
36
55
  const {
37
56
  color,
38
57
  leftContent,
@@ -57,9 +76,9 @@ class Toolbar extends React__namespace.Component {
57
76
  }, subtitle))), React__namespace.createElement(wonderBlocksCore.View, {
58
77
  style: [sharedStyles.column, sharedStyles.rightColumn, title ? sharedStyles.withTitle : null]
59
78
  }, rightContent));
60
- }
61
-
62
- }
79
+ };
80
+ return Toolbar;
81
+ }(React__namespace.Component);
63
82
  Toolbar.defaultProps = {
64
83
  color: "light",
65
84
  leftContent: null,
@@ -1,2 +1,9 @@
1
- // @flow
2
- export * from "../src/index";
1
+ /**
2
+ * Flowtype definitions for index
3
+ * Generated by Flowgen from a Typescript Definition
4
+ * Flowgen v1.21.0
5
+ * @flow
6
+ */
7
+
8
+ import Toolbar from "./components/toolbar";
9
+ declare export { Toolbar as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-toolbar",
3
- "version": "2.1.40",
3
+ "version": "2.1.41",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,7 +8,7 @@
8
8
  "description": "",
9
9
  "main": "dist/index.js",
10
10
  "module": "dist/es/index.js",
11
- "source": "src/index.js",
11
+ "types": "dist/index.d.ts",
12
12
  "scripts": {
13
13
  "test": "echo \"Error: no test specified\" && exit 1"
14
14
  },
@@ -16,16 +16,16 @@
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-color": "^1.2.1",
20
- "@khanacademy/wonder-blocks-core": "^4.7.0",
21
- "@khanacademy/wonder-blocks-spacing": "^3.0.5",
22
- "@khanacademy/wonder-blocks-typography": "^1.1.38"
19
+ "@khanacademy/wonder-blocks-color": "^1.2.2",
20
+ "@khanacademy/wonder-blocks-core": "^4.8.0",
21
+ "@khanacademy/wonder-blocks-spacing": "^3.0.6",
22
+ "@khanacademy/wonder-blocks-typography": "^1.1.39"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "aphrodite": "^1.2.5",
26
26
  "react": "16.14.0"
27
27
  },
28
28
  "devDependencies": {
29
- "wb-dev-build-settings": "^0.7.1"
29
+ "wb-dev-build-settings": "^0.7.2"
30
30
  }
31
31
  }
@@ -1,4 +1,3 @@
1
- // @flow
2
1
  /*
3
2
  * A toolbar component that often acts as a container header.
4
3
  */
@@ -15,56 +14,48 @@ import {
15
14
  } from "@khanacademy/wonder-blocks-typography";
16
15
  import type {AriaProps} from "@khanacademy/wonder-blocks-core";
17
16
 
18
- type Props = {|
19
- ...AriaProps,
20
-
17
+ type Props = AriaProps & {
21
18
  /**
22
19
  * Whether we should use the default light color scheme or switch to a
23
20
  * darker blue scheme.
24
21
  */
25
- color?: "dark" | "light",
26
-
22
+ color?: "dark" | "light";
27
23
  /**
28
24
  * An optional node to render on the left side of the toolbar. This will
29
25
  * often be empty, but may include a close button for modals.
30
26
  */
31
- leftContent?: React.Node,
32
-
27
+ leftContent?: React.ReactNode;
33
28
  /**
34
29
  * An optional node to render on the right side of the toolbar. This will
35
30
  * typically include buttons, links, or span elements with text.
36
31
  */
37
- rightContent?: React.Node,
38
-
32
+ rightContent?: React.ReactNode;
39
33
  /**
40
34
  * How much vertical space to use for the toolbar. If this prop is not
41
35
  * provided, the default is "medium".
42
36
  */
43
- size?: "small" | "medium",
44
-
37
+ size?: "small" | "medium";
45
38
  /**
46
39
  * An optional subtitle rendered in a lighter colour and smaller font size
47
40
  * below the title. Only visible on larger media sizes.
48
41
  */
49
- subtitle?: string,
50
-
42
+ subtitle?: string;
51
43
  /**
52
44
  * The main title rendered in larger bold text.
53
45
  */
54
- title?: string,
55
-
46
+ title?: string;
56
47
  /**
57
48
  * Test ID used for e2e testing.
58
49
  */
59
- testId?: string,
60
- |};
50
+ testId?: string;
51
+ };
61
52
 
62
- type DefaultProps = {|
63
- color: $PropertyType<Props, "color">,
64
- leftContent: $PropertyType<Props, "leftContent">,
65
- rightContent: $PropertyType<Props, "rightContent">,
66
- size: $PropertyType<Props, "size">,
67
- |};
53
+ type DefaultProps = {
54
+ color: Props["color"];
55
+ leftContent: Props["leftContent"];
56
+ rightContent: Props["rightContent"];
57
+ size: Props["size"];
58
+ };
68
59
 
69
60
  /**
70
61
  * The `Toolbar` component is a generic toolbar wrapper that exposes
@@ -91,7 +82,7 @@ export default class Toolbar extends React.Component<Props> {
91
82
  size: "medium",
92
83
  };
93
84
 
94
- render(): React.Node {
85
+ render(): React.ReactElement {
95
86
  const {color, leftContent, rightContent, size, subtitle, title} =
96
87
  this.props;
97
88
 
@@ -1,4 +1,3 @@
1
- // @flow
2
1
  import Toolbar from "./components/toolbar";
3
2
 
4
3
  export {Toolbar as default};
package/tsconfig.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "exclude": ["dist"],
3
+ "extends": "../tsconfig-shared.json",
4
+ "compilerOptions": {
5
+ "outDir": "./dist",
6
+ "rootDir": "src",
7
+ },
8
+ "references": [
9
+ {"path": "../wonder-blocks-color"},
10
+ {"path": "../wonder-blocks-core"},
11
+ {"path": "../wonder-blocks-spacing"},
12
+ {"path": "../wonder-blocks-typography"},
13
+ ]
14
+ }
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.es2016.full.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","../wonder-blocks-color/dist/util/utils.d.ts","../wonder-blocks-color/dist/index.d.ts","../wonder-blocks-core/dist/util/types.d.ts","../wonder-blocks-core/dist/components/text.d.ts","../wonder-blocks-core/dist/components/view.d.ts","../wonder-blocks-core/dist/components/render-state-context.d.ts","../wonder-blocks-core/dist/components/with-ssr-placeholder.d.ts","../wonder-blocks-core/dist/components/id-provider.d.ts","../wonder-blocks-core/dist/components/unique-id-provider.d.ts","../wonder-blocks-core/dist/util/add-style.d.ts","../wonder-blocks-core/dist/util/server.d.ts","../wonder-blocks-core/dist/hooks/use-unique-id.d.ts","../wonder-blocks-core/dist/hooks/use-force-update.d.ts","../wonder-blocks-core/dist/hooks/use-is-mounted.d.ts","../wonder-blocks-core/dist/hooks/use-on-mount-effect.d.ts","../wonder-blocks-core/dist/hooks/use-online.d.ts","../wonder-blocks-core/dist/hooks/use-render-state.d.ts","../wonder-blocks-core/dist/components/render-state-root.d.ts","../wonder-blocks-core/dist/index.d.ts","../wonder-blocks-spacing/dist/index.d.ts","../wonder-blocks-typography/dist/util/styles.d.ts","../wonder-blocks-typography/dist/util/types.d.ts","../wonder-blocks-typography/dist/components/title.d.ts","../wonder-blocks-typography/dist/components/heading-large.d.ts","../wonder-blocks-typography/dist/components/heading-medium.d.ts","../wonder-blocks-typography/dist/components/heading-small.d.ts","../wonder-blocks-typography/dist/components/heading-xsmall.d.ts","../wonder-blocks-typography/dist/components/body-serif-block.d.ts","../wonder-blocks-typography/dist/components/body-serif.d.ts","../wonder-blocks-typography/dist/components/body-monospace.d.ts","../wonder-blocks-typography/dist/components/body.d.ts","../wonder-blocks-typography/dist/components/label-large.d.ts","../wonder-blocks-typography/dist/components/label-medium.d.ts","../wonder-blocks-typography/dist/components/label-small.d.ts","../wonder-blocks-typography/dist/components/label-xsmall.d.ts","../wonder-blocks-typography/dist/components/tagline.d.ts","../wonder-blocks-typography/dist/components/caption.d.ts","../wonder-blocks-typography/dist/components/footnote.d.ts","../wonder-blocks-typography/dist/index.d.ts","./src/components/toolbar.tsx","./src/index.ts","./types/aphrodite.d.ts","./types/matchers.d.ts","./types/utility.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/acorn/index.d.ts","../../node_modules/@types/aria-query/index.d.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/color-name/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/concat-stream/index.d.ts","../../node_modules/@types/ms/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/eslint/node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/estree-jsx/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/@types/hast/index.d.ts","../../node_modules/@types/history/DOMUtils.d.ts","../../node_modules/@types/history/createBrowserHistory.d.ts","../../node_modules/@types/history/createHashHistory.d.ts","../../node_modules/@types/history/createMemoryHistory.d.ts","../../node_modules/@types/history/LocationUtils.d.ts","../../node_modules/@types/history/PathUtils.d.ts","../../node_modules/@types/history/index.d.ts","../../node_modules/@types/html-minifier-terser/index.d.ts","../../node_modules/@types/is-empty/index.d.ts","../../node_modules/@types/is-function/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/js-yaml/index.d.ts","../../node_modules/@types/parse5/lib/tree-adapters/default.d.ts","../../node_modules/@types/parse5/index.d.ts","../../node_modules/@types/tough-cookie/index.d.ts","../../node_modules/@types/jsdom/base.d.ts","../../node_modules/@types/jsdom/ts4.0/index.d.ts","../../node_modules/@types/jsdom/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/mdast/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/nlcst/index.d.ts","../../node_modules/@types/node-fetch/node_modules/form-data/index.d.ts","../../node_modules/@types/node-fetch/externals.d.ts","../../node_modules/@types/node-fetch/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/npmlog/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/prettier/index.d.ts","../../node_modules/@types/pretty-hrtime/index.d.ts","../../node_modules/@types/qs/index.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/react-router/index.d.ts","../../node_modules/@types/react-router-dom/index.d.ts","../../node_modules/@types/react-test-renderer/index.d.ts","../../node_modules/@types/react-window/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/scheduler/index.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/source-list-map/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/supports-color/index.d.ts","../../node_modules/@types/tapable/index.d.ts","../../node_modules/@types/testing-library__jest-dom/index.d.ts","../../node_modules/source-map/source-map.d.ts","../../node_modules/@types/uglify-js/index.d.ts","../../node_modules/anymatch/index.d.ts","../../node_modules/@types/webpack-sources/index.d.ts","../../node_modules/@types/webpack/index.d.ts","../../node_modules/@types/webpack-env/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"2dfbb27de6bf0db1018122b054d26cf1fc47bc1979d096aec101b08a42c63b13",{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"5b1d4ebd62d975c7d3826202f8fac290bac0bae6e04d9e84d1707d7047e108df","a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"51da54ddc920585f6f7ad98b6ba9916dfbb42ce4b8a872fd4f9a4cc93491f404","affectsGlobalScope":true},"3f5be0e5963e749265c6b99f392b38d342a52a6f94d5987e65c351dda76b4b31","0c03a180ada1c70ea75da5a37ce7d3c2c7a6e451426da82eaee74516d703eda7","1cb5a1761c7b7b96ab479acdc8054212c97639b11f12d902b13320853cd70040","7ebb976bd59fe5529e56d0b23be97f220a705e45ad38d556475f8428ef2917c6","2139f3918b597d5279454c2b5bae66674ccc96ac9dffb605452a92fd6e0a3bfa","f856ed3eee33667370b9c9fd80ef31ec21f9a43217c417ac7c8ef5666cb433e1","34b9a71308fa65d9d5bf816775537f42964328be0bc2fb144c85f90bc2293437","de76b973e659ff9d0cece9efc2507b897c7f50763617bc017b4a396134588647","2e40a1344fb0f0c3eb2a706ecd416fbd0acac2b8c489783f4a6eaacf531b2275","6c024c83ced4dfb1fc798be4649b996c24ecbd005e607c4ee2619ceec34f358d","15b4dcbf307452ab56bf665fc4fadeea11a8201ed23098cfb9bce145fccb7139","ee0fccc1e97251e3f3aa7d4a0682b2a28bd0bbf6fae3e169368eb01d74c4e4ec","e7391aed3af92e257fc4ea6784f84aa931026a92cf36472c1e89f4279858552c","f7147de5c8f9cb1143c3b43630f734fff707f1535addabb592f8e560209dd6a7","139e91432dc83fb89d35c9916757f6ec6f1ea589ff6eec6ef6de278271d05896","055e664e1288198c705162c24c89591e8f88c91a89821c5c528256b025779b26","398155e58de7e65e21c70d5d71c1fddb922681cd50477e6b62b0be5fa9bcf847","40ef81ea12c88f731137da2858c8fb2dc31b8299a114bbe82bbd2d102fd64132","132043ff06994187454edd164130dd4058bc8493d0b735003ee6f91132459a8a","77f91ce020789dd4eab88a566ce9e92ce0b64cdd3a6c3497b5866fa7873ada8b","d8085875f9f51511d2795832f0e42af798b5ec3a76ee11980bf028b70de73b8a","e39df75ada1e20327b9f675e6e758dd46b6f66bb789adcb9a295c1ed065dbd14","a43dcc9a2e6a2869f2cac561510dfe6114ce900ef22b3f898621f36d998159ac","f7e61dd79641b79a1dabb1b9e6484e07e537fe75c3e134a73112cb6b98b92681","a111d56bb7088235ce8883e0e08d658b9e142300e5f467a255d9115b0c1acf6d","a6e56a9af98c5d34fa1be05f159875db9aa4bd8a160df5beb7fc2c471b8b4479","76bd051c96bafb7579856455379d2450e719245f1daea713b2510b787459f50e","670f9c8a768dbdff4851e4b677f4e2916acb9d9581324115eb8a909f48e3869e","5bc795251b3ef379409ff0108ddbd640f4ff70f248a3e2fb57d981d4ce5df6bf","b6d506880bfe638beba9763144d27b14713767017e0f7bbfef84228e3cd3c376","8140366e4c49eba7f3b053a238ab470139e6312e316090aa132f8eb23ff6191d","0f92ed30d720b3f790ce502968488cc4df6c24a77d684381d8c7710294672d6c","7708e50147fa568afdd5fd2d36ce7b6c8e3311b7e75794ae8684d74748ce1042","181765dd09aa90b5d1ce3d8f0982ce74e293f7fc4d6c974254dc18dcc768b9bd","f1aa3e54c17699f56f08f2ecef01f5bdb5ba89e6aaebb2904bd4d3ef5d118075","2429dfd324c847b264803c5bb41af9316a3dafd02518c0980fef8850f969e034","ecbd2968d0892a695d5477a93760c2e5c94a7b02a85192ad5778d078ce132a6e","1827fc2801d956b05520b96d45dce5d81164603ef377026144a55e4788dd2e21","7ca1e70712de1a4182fbf0272e42abcdce50fd6d7b264c1da1ae66ea088eeecc",{"version":"74a039cfaa71aae934c77e923485bfb017448dcf9be85c39b9b48163d34696c2","signature":"6f5dab2e94be44e000ff15893bfbd3760ac922f673430835977ac832545cb445"},{"version":"b3cfdc42ea387af61f05043bb44af113db250cf87a31277ecd560b3ccc223366","signature":"9defe5fd7f4d382c906919ea99c71698ff7b88b6f48dac7200fd249a5e90068b"},"e5eded91d451a61471ff30c11e4df908f7eb1464689977f4702a562489db2c86",{"version":"9be348abf5d43091876a86f9acf23927a240915f8fc6d51155dbe5bdb69ef229","affectsGlobalScope":true},{"version":"180f403b4facff38da095189726c3c3a5aa220be0793d4d862aa910887c7cb71","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","3777eb752cef9aa8dd35bb997145413310008aa54ec44766de81a7ad891526cd","5024433f8da3a7968f6d12cffd32f2cefae4442a9ad1c965fa2d23342338b700","3078727fed04c123165efdb42deeac5dceaa42ac62216ca13cb809dc7e13415f","19fb2161edf60fbe73ee3650c1cee889df0525ed852eff2d5fa6e5480c132ae3","1a7cc144992d79b062c22ac0309c6624dbb0d49bbddff7ea3b9daa0c17bcac0a","3e0a34f7207431d967dc32d593d1cda0c23975e9484bc8895b39d96ffca4a0d8","44d81327b8fbb2d7ca0701f5b7bb73e48036eb99a87356acf95f19ed96e907aa","d0b0a00cf31968a33baeaadf974ce4e5e7edf58cea5288765293f41ba5e72b3a","f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f",{"version":"17a1140b90821c2c8d7064c9fc7598797c385714e6aa88b85e30b1159af8dc9b","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"2c45b35f4850881ab132f80d3cb51e8a359a4d8fafdc5ff2401d260dc27862f4","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","09326ae5f7e3d49be5cd9ea00eb814770e71870a438faa2efd8bdd9b4db21320",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"ed2a670a77a1b80653c5bde2d813b0ab2e92872cc9b2b611ce11050b95139be6","310a0cc92822ada13db096f9970a576de760b2f82a3782a24af62cb5a07e0aff","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","8d9d743d7c21d105be24d154834a94557671c0ab0fc7f7329d3076784a80aa93","dc33ce27fbeaf0ea3da556c80a6cc8af9d13eb443088c8f25cdc39fca8e756f6","f54243828d27a24d59ebf25740dfe6e7dff3931723f8ce7b658cdbe766f89da9","1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633","725b884357ba84171341a8e4cc08edf11417854fd069842ca6d22afb2e340e45","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","ac295e0d29ca135d7dca2069a6e57943ed18800754dbe8fcb3974fb9ce497c3c",{"version":"271cde49dfd9b398ccc91bb3aaa43854cf76f4d14e10fed91cbac649aa6cbc63","affectsGlobalScope":true},"2bcecd31f1b4281710c666843fc55133a0ee25b143e59f35f49c62e168123f4b","a6273756fa05f794b64fe1aff45f4371d444f51ed0257f9364a8b25f3501915d","9c4e644fe9bf08d93c93bd892705842189fe345163f8896849d5964d21b56b78","25d91fb9ed77a828cc6c7a863236fb712dafcd52f816eec481bd0c1f589f4404","4cd14cea22eed1bfb0dc76183e56989f897ac5b14c0e2a819e5162eafdcfe243","8d32432f68ca4ce93ad717823976f2db2add94c70c19602bf87ee67fe51df48b","70b34c8420d6226ed565d55f47fe04912d0ca0ad128825c5a06e018a3498db32","d45d40831ccbd547e3f4ae8f326420b9e454dd27fa970f417c8e94a23e93db29","11ef35fa1e8aef8229ce6b62ac1a6a0761d1d4bb4de1538bce6d10762a919139","9e951ec338c4232d611552a1be7b4ecec79a8c2307a893ce39701316fe2374bd","70c61ff569aabdf2b36220da6c06caaa27e45cd7acac81a1966ab4ee2eadc4f2","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","a7321c0e96eecb19dcbf178493836474cef21ee3f9345384ce9d74e4be31228d","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d982cdd2610155b3cbcbfa62ccabcf2d2b739f821518ef113348d160ef0010d9","427ce5854885cfc34387e09de05c1d5c1acf94c2143e1693f1d9ff54880573e7","bed2c4f96fab3348be4a34d88dcb12578c1b2475b07c6acd369e99e227718d81","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","9ac9b7b349a96ff204f4172183cca1672cc402e1ee7277bfcdec96c000b7d818","ac127e4c6f2b5220b293cc9d2e64ba49781225b792a51cda50f3db8eafba550c",{"version":"eb9e147dbb7289f09af3b161483c09a9175c3b222ed587f4a3c0112841e7d6ff","affectsGlobalScope":true},"686e548ae30250d62532c8cacb43fccc922b693408371bd3503563c4a0f28eed","fc37aca06f6b8b296c42412a2e75ab53d30cd1fa8a340a3bb328a723fd678377","5f2c582b9ef260cb9559a64221b38606378c1fabe17694592cdfe5975a6d7efa","cc256fd958b33576ed32c7338c64adb0d08fc0c2c6525010202fab83f32745da","fd20dfa2434a61a87e3fa9450f9de2ed2c365ea43b17b34ac6616d90d9681381","389303117a81e90897689e7adb4b53a062e68a6fe4067088fae9552907aa28c3",{"version":"d4c4fe14b23180acf25e4a68dc3bb9e5c38233dd3de12a4ab9569e636090ac9b","affectsGlobalScope":true},"0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","ca59fe42b81228a317812e95a2e72ccc8c7f1911b5f0c2a032adf41a0161ec5d","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","1b23c2aae14c17f361f6fcef69be7a298f47c27724c9a1f891ea52eeea0a9f7f","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71","062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b","c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613","0d65b782b1a9b5891802ef2022c78481b19dfe133ba8d9f7596fe1320314342d","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","9d9e658d1d5b805562749ce383ef8c67ccb796394d8734d9c138788d7dab6ee3","c0a3ea3aee13c4946a6aefce3a6ab9292a40a29f6622cde0fda0b1067a1a1f5f","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc","b567296d1820a1e50b6522c99a4f272c70eb2cba690da6e64a25635b70b1383f","1d4bc73751d6ec6285331d1ca378904f55d9e5e8aeaa69bc45b675c3df83e778","8017277c3843df85296d8730f9edf097d68d7d5f9bc9d8124fcacf17ecfd487e","408cc7117448f4994a1f50468648a2d06eff4112a7707dbef6ceea76d2684707","f51c2abd01bb55990a6c5758c8ec34ea7802952c40c30c3941c75eea15539842","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","87352bb579421f6938177a53bb66e8514067b4872ccaa5fe08ddbca56364570c","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","105fa3d1b286795f9ac1b82f5a737db303dfe65ebc9830c1938a2bbe538a861f","3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67",{"version":"40bbeaccf39d6ad00da30e96553f0c4aa1b8a87535393c7fdf939170b639c95d","affectsGlobalScope":true},"2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","bdc18dd47aea9977e419a8e03e7e5d04ed8cf8265e014d8788848b76b969cbba","4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349","7429e36c7e860a83e1166d6f0977fa4938b7a7a346255169a678939594394375","da297c98a5a86092b19aed23ddc61f5d0e64bc2fa83dc606a89d4e54dc6ec5a3",{"version":"c856e68ae3c730c5b59b0a5c0c8e951596ae79da7d29c9a1b1a8257109f3f3cc","affectsGlobalScope":true},"e65fca93c26b09681d33dad7b3af32ae42bf0d114d859671ffed30a92691439c","105b9a2234dcb06ae922f2cd8297201136d416503ff7d16c72bfc8791e9895c1"],"options":{"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"module":99,"outDir":"./dist","rootDir":"./src","skipDefaultLibCheck":true,"skipLibCheck":false,"strict":true,"strictBindCallApply":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":3},"fileIdsList":[[99,152,199,200,201],[152,199,200,201],[152,188,199,200,201],[96,152,199,200,201],[99,100,101,102,103,152,199,200,201],[99,101,152,199,200,201],[140,152,159,199,200,201],[152,161,199,200,201],[96,152,165,199,200,201],[96,152,163,164,199,200,201],[122,152,159,168,199,200,201],[123,152,159,199,200,201],[152,171,199,200,201],[152,179,199,200,201],[152,173,179,199,200,201],[152,174,175,176,177,178,199,200,201],[152,183,199,200,201],[152,184,199,200,201],[152,190,193,199,200,201],[152,186,192,199,200,201],[152,190,199,200,201],[152,187,191,199,200,201],[122,152,154,159,197,198,200,201],[152,199,200],[152,199,201],[152,199,200,201,204,206,207,208,209,210,211,212,213,214,215,216],[152,199,200,201,204,205,207,208,209,210,211,212,213,214,215,216],[152,199,200,201,205,206,207,208,209,210,211,212,213,214,215,216],[152,199,200,201,204,205,206,208,209,210,211,212,213,214,215,216],[152,199,200,201,204,205,206,207,209,210,211,212,213,214,215,216],[152,199,200,201,204,205,206,207,208,210,211,212,213,214,215,216],[152,199,200,201,204,205,206,207,208,209,211,212,213,214,215,216],[152,199,200,201,204,205,206,207,208,209,210,212,213,214,215,216],[152,199,200,201,204,205,206,207,208,209,210,211,213,214,215,216],[152,199,200,201,204,205,206,207,208,209,210,211,212,214,215,216],[152,199,200,201,204,205,206,207,208,209,210,211,212,213,215,216],[152,199,200,201,204,205,206,207,208,209,210,211,212,213,214,216],[152,199,200,201,204,205,206,207,208,209,210,211,212,213,214,215],[125,151,152,159,199,200,201,220,221],[125,140,152,159,199,200,201],[106,152,199,200,201],[109,152,199,200,201],[110,115,143,152,199,200,201],[111,122,123,130,140,151,152,199,200,201],[111,112,122,130,152,199,200,201],[113,152,199,200,201],[114,115,123,131,152,199,200,201],[115,140,148,152,199,200,201],[116,118,122,130,152,199,200,201],[117,152,199,200,201],[118,119,152,199,200,201],[122,152,199,200,201],[120,122,152,199,200,201],[122,123,124,140,151,152,199,200,201],[122,123,124,137,140,143,152,199,200,201],[152,156,199,200,201],[118,125,130,140,151,152,199,200,201],[122,123,125,126,130,140,148,151,152,199,200,201],[125,127,140,148,151,152,199,200,201],[106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,199,200,201],[122,128,152,199,200,201],[129,151,152,199,200,201],[118,122,130,140,152,199,200,201],[131,152,199,200,201],[132,152,199,200,201],[109,133,152,199,200,201],[134,150,152,156,199,200,201],[135,152,199,200,201],[136,152,199,200,201],[122,137,138,152,199,200,201],[137,139,152,154,199,200,201],[110,122,140,141,142,143,152,199,200,201],[110,140,142,152,199,200,201],[140,141,152,199,200,201],[143,152,199,200,201],[144,152,199,200,201],[122,146,147,152,199,200,201],[146,147,152,199,200,201],[115,130,140,148,152,199,200,201],[149,152,199,200,201],[130,150,152,199,200,201],[110,125,136,151,152,199,200,201],[115,152,199,200,201],[140,152,153,199,200,201],[152,154,199,200,201],[152,155,199,200,201],[110,115,122,124,133,140,151,152,154,156,199,200,201],[140,152,157,199,200,201],[152,196,199,200,201],[152,197,199,200,201],[51,152,199,200,201],[51,152,179,199,200,201,230],[51,152,179,199,200,201],[47,48,49,50,152,199,200,201],[152,194,199,200,201],[152,199,200,201,242],[115,152,159,199,200,201,237,242],[115,152,159,199,200,201,240,242,243,244,245],[152,199,200,201,248],[152,189,199,200,201],[52,152,199,200,201],[51,54,152,199,200,201],[51,57,152,199,200,201],[57,152,199,200,201],[54,152,199,200,201],[54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,152,199,200,201],[51,93,152,199,200,201],[51,53,70,71,90,93,152,199,200,201],[91,152,199,200,201],[51,73,152,199,200,201],[72,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,152,199,200,201],[93,152,199,200,201],[51,70,152,199,200,201],[51,70],[91]],"referencedMap":[[101,1],[99,2],[189,3],[188,2],[97,4],[98,2],[104,5],[100,1],[102,6],[103,1],[105,2],[160,7],[162,8],[166,9],[163,2],[165,10],[164,2],[167,4],[96,2],[169,11],[170,12],[172,13],[173,2],[177,14],[178,14],[174,15],[175,15],[176,15],[179,16],[180,2],[181,2],[182,2],[183,2],[184,17],[185,18],[194,19],[186,2],[193,20],[191,21],[192,22],[195,2],[199,23],[201,24],[200,25],[202,2],[203,2],[205,26],[206,27],[204,28],[207,29],[208,30],[209,31],[210,32],[211,33],[212,34],[213,35],[214,36],[215,37],[216,38],[217,13],[168,2],[218,2],[161,2],[219,13],[221,2],[222,39],[220,40],[106,41],[107,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[119,51],[121,52],[120,53],[122,52],[123,54],[124,55],[108,56],[158,2],[125,57],[126,58],[127,59],[159,60],[128,61],[129,62],[130,63],[131,64],[132,65],[133,66],[134,67],[135,68],[136,69],[137,70],[138,70],[139,71],[140,72],[142,73],[141,74],[143,75],[144,76],[145,2],[146,77],[147,78],[148,79],[149,80],[150,81],[151,82],[152,83],[153,84],[154,85],[155,86],[156,87],[157,88],[223,2],[224,52],[225,2],[197,89],[196,90],[226,2],[227,2],[49,2],[228,2],[229,91],[231,92],[230,93],[232,91],[233,91],[47,2],[51,94],[234,2],[235,2],[50,2],[236,2],[237,2],[238,2],[239,2],[240,2],[241,95],[198,2],[243,96],[171,2],[247,2],[245,97],[246,98],[248,2],[249,99],[244,2],[187,2],[48,2],[190,100],[242,2],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[46,2],[4,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[36,2],[33,2],[34,2],[35,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[1,2],[45,2],[11,2],[10,2],[53,101],[52,2],[59,102],[57,91],[69,91],[55,102],[60,102],[56,102],[58,103],[64,2],[65,2],[66,2],[67,2],[68,104],[63,105],[70,106],[61,102],[62,2],[54,107],[71,2],[91,108],[92,109],[93,91],[94,2],[95,2],[81,110],[79,110],[80,110],[82,110],[88,110],[89,110],[75,110],[76,110],[77,110],[78,110],[83,110],[84,110],[85,110],[86,110],[87,110],[74,110],[90,111],[72,112],[73,113]],"exportedModulesMap":[[101,1],[99,2],[189,3],[188,2],[97,4],[98,2],[104,5],[100,1],[102,6],[103,1],[105,2],[160,7],[162,8],[166,9],[163,2],[165,10],[164,2],[167,4],[96,2],[169,11],[170,12],[172,13],[173,2],[177,14],[178,14],[174,15],[175,15],[176,15],[179,16],[180,2],[181,2],[182,2],[183,2],[184,17],[185,18],[194,19],[186,2],[193,20],[191,21],[192,22],[195,2],[199,23],[201,24],[200,25],[202,2],[203,2],[205,26],[206,27],[204,28],[207,29],[208,30],[209,31],[210,32],[211,33],[212,34],[213,35],[214,36],[215,37],[216,38],[217,13],[168,2],[218,2],[161,2],[219,13],[221,2],[222,39],[220,40],[106,41],[107,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[119,51],[121,52],[120,53],[122,52],[123,54],[124,55],[108,56],[158,2],[125,57],[126,58],[127,59],[159,60],[128,61],[129,62],[130,63],[131,64],[132,65],[133,66],[134,67],[135,68],[136,69],[137,70],[138,70],[139,71],[140,72],[142,73],[141,74],[143,75],[144,76],[145,2],[146,77],[147,78],[148,79],[149,80],[150,81],[151,82],[152,83],[153,84],[154,85],[155,86],[156,87],[157,88],[223,2],[224,52],[225,2],[197,89],[196,90],[226,2],[227,2],[49,2],[228,2],[229,91],[231,92],[230,93],[232,91],[233,91],[47,2],[51,94],[234,2],[235,2],[50,2],[236,2],[237,2],[238,2],[239,2],[240,2],[241,95],[198,2],[243,96],[171,2],[247,2],[245,97],[246,98],[248,2],[249,99],[244,2],[187,2],[48,2],[190,100],[242,2],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[46,2],[4,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[36,2],[33,2],[34,2],[35,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[1,2],[45,2],[11,2],[10,2],[53,101],[52,2],[59,102],[57,91],[69,91],[55,102],[60,102],[56,102],[58,103],[64,2],[65,2],[66,2],[67,2],[68,104],[63,105],[70,106],[61,102],[62,2],[54,107],[71,2],[91,114],[92,115],[93,91],[94,2],[95,2],[81,110],[79,110],[80,110],[82,110],[88,110],[89,110],[75,110],[76,110],[77,110],[78,110],[83,110],[84,110],[85,110],[86,110],[87,110],[74,110],[90,111],[72,112],[73,113]],"semanticDiagnosticsPerFile":[101,99,189,188,97,98,104,100,102,103,105,160,162,166,163,165,164,167,96,169,170,172,173,177,178,174,175,176,179,180,181,182,183,184,185,194,186,193,191,192,195,199,201,200,202,203,205,206,204,207,208,209,210,211,212,213,214,215,216,217,168,218,161,219,221,222,220,106,107,109,110,111,112,113,114,115,116,117,118,119,121,120,122,123,124,108,158,125,126,127,159,128,129,130,131,132,133,134,135,136,137,138,139,140,142,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,223,224,225,197,196,226,227,49,228,229,231,230,232,233,47,51,234,235,50,236,237,238,239,240,241,198,243,171,247,245,246,248,249,244,187,48,190,242,8,9,13,12,2,14,15,16,17,18,19,20,21,3,46,4,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,1,45,11,10,53,52,59,57,69,55,60,56,58,64,65,66,67,68,63,70,61,62,54,71,91,92,93,94,95,81,79,80,82,88,89,75,76,77,78,83,84,85,86,87,74,90,72,73],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.5"}
@@ -1,94 +0,0 @@
1
- // @flow
2
- import * as React from "react";
3
- import {StyleSheet} from "aphrodite";
4
-
5
- import Button from "@khanacademy/wonder-blocks-button";
6
- import {icons} from "@khanacademy/wonder-blocks-icon";
7
- import IconButton from "@khanacademy/wonder-blocks-icon-button";
8
- import {Strut} from "@khanacademy/wonder-blocks-layout";
9
- import Link from "@khanacademy/wonder-blocks-link";
10
- import Spacing from "@khanacademy/wonder-blocks-spacing";
11
- import {LabelLarge} from "@khanacademy/wonder-blocks-typography";
12
-
13
- const mobile = "@media (max-width: 1023px)";
14
-
15
- const styles = StyleSheet.create({
16
- fillContent: {
17
- marginLeft: Spacing.small_12,
18
- [mobile]: {
19
- width: "100vw",
20
- },
21
- },
22
- onlyDesktop: {
23
- [mobile]: {
24
- display: "none",
25
- },
26
- },
27
- });
28
-
29
- type Mappings = {[key: string]: React.Node};
30
-
31
- export const leftContentMappings: Mappings = {
32
- none: null,
33
- dismissButton: <IconButton icon={icons.dismiss} kind="tertiary" />,
34
- lightButton: <IconButton icon={icons.dismiss} light={true} />,
35
- hintButton: <IconButton icon={icons.hint} kind="primary" />,
36
- multipleContent: (
37
- <>
38
- <IconButton icon={icons.zoomOut} kind="primary" />
39
- <Strut size={Spacing.medium_16} />
40
- <IconButton icon={icons.zoomIn} kind="primary" />
41
- </>
42
- ),
43
- };
44
-
45
- const buttonStyle = {width: 160};
46
-
47
- export const rightContentMappings: Mappings = {
48
- none: null,
49
- primaryButton: <Button>Submit</Button>,
50
- tertiaryButton: <Button kind="tertiary">Import...</Button>,
51
- nextVideoButton: <Button>Next Video</Button>,
52
- lightButton: (
53
- <Button kind="secondary" light={true}>
54
- Go to Article
55
- </Button>
56
- ),
57
- link: (
58
- <Link href="#">
59
- <LabelLarge>Go to exercise</LabelLarge>
60
- </Link>
61
- ),
62
- multipleContent: (
63
- <>
64
- <LabelLarge>7 questions</LabelLarge>
65
- <Strut size={Spacing.medium_16} />
66
- <Button style={buttonStyle} kind="secondary">
67
- Try again
68
- </Button>
69
- <Strut size={Spacing.medium_16} />
70
- <Button style={buttonStyle}>Next exercise</Button>
71
- </>
72
- ),
73
- responsive: (
74
- <>
75
- <Button style={styles.onlyDesktop} kind="secondary">
76
- Continue
77
- </Button>
78
- <Button style={styles.fillContent}>Up next: video</Button>
79
- </>
80
- ),
81
- };
82
-
83
- export default {
84
- leftContent: {
85
- control: {type: "select"},
86
- options: (Object.keys(leftContentMappings): Array<string>),
87
- mapping: leftContentMappings,
88
- },
89
- rightContent: {
90
- control: {type: "select"},
91
- options: (Object.keys(rightContentMappings): Array<string>),
92
- mapping: rightContentMappings,
93
- },
94
- };
@@ -1,210 +0,0 @@
1
- // @flow
2
- import * as React from "react";
3
- import {StyleSheet} from "aphrodite";
4
-
5
- import {View} from "@khanacademy/wonder-blocks-core";
6
- import Spacing from "@khanacademy/wonder-blocks-spacing";
7
- import Toolbar from "@khanacademy/wonder-blocks-toolbar";
8
-
9
- import type {StoryComponentType} from "@storybook/react";
10
- import ComponentInfo from "../../../../../.storybook/components/component-info";
11
- import {name, version} from "../../../package.json";
12
- import ToolbarArgtypes, {
13
- leftContentMappings,
14
- rightContentMappings,
15
- } from "./toolbar.argtypes";
16
-
17
- export default {
18
- title: "Toolbar / Toolbar",
19
- component: Toolbar,
20
- argTypes: ToolbarArgtypes,
21
- parameters: {
22
- componentSubtitle: ((
23
- <ComponentInfo name={name} version={version} />
24
- ): any),
25
- docs: {
26
- description: {
27
- component: null,
28
- },
29
- source: {
30
- // See https://github.com/storybookjs/storybook/issues/12596
31
- excludeDecorators: true,
32
- },
33
- },
34
- },
35
- decorators: [
36
- (Story: any): React.Element<typeof View> => (
37
- <View style={styles.example}>{Story()}</View>
38
- ),
39
- ],
40
- };
41
-
42
- const styles = StyleSheet.create({
43
- example: {
44
- padding: Spacing.large_24,
45
- alignItems: "center",
46
- justifyContent: "center",
47
- },
48
- });
49
-
50
- const Template = (args) => <Toolbar {...args} />;
51
-
52
- /**
53
- * Default example (interactive).
54
- *
55
- * A toolbar with left and right content.
56
- */
57
- export const Default: StoryComponentType = Template.bind({});
58
-
59
- Default.args = {
60
- title: "Counting with small numbers",
61
- leftContent: leftContentMappings.dismissButton,
62
- rightContent: rightContentMappings.nextVideoButton,
63
- };
64
-
65
- /**
66
- * Small toolbar with multiple left side buttons.
67
- */
68
- export const Small: StoryComponentType = Template.bind({});
69
-
70
- Small.args = {
71
- size: "small",
72
- leftContent: leftContentMappings.multipleContent,
73
- rightContent: rightContentMappings.tertiaryButton,
74
- };
75
-
76
- Small.parameters = {
77
- docs: {
78
- description: {
79
- story:
80
- "A small toolbar with content on both sides.\n\n" +
81
- "**Note:** The `IconButton`s are nudged to the left by 1px to match designs.",
82
- },
83
- },
84
- };
85
-
86
- /**
87
- * Toolbar with left icon button and right primary button.
88
- */
89
- export const Medium: StoryComponentType = Template.bind({});
90
-
91
- Medium.args = {
92
- leftContent: leftContentMappings.hintButton,
93
- rightContent: rightContentMappings.primaryButton,
94
- };
95
-
96
- Medium.parameters = {
97
- docs: {
98
- description: {
99
- story:
100
- "A toolbar with content on both sides. Note that for this example, we are using the default size (`medium`).\n\n" +
101
- "**Note:** The `IconButton` is nudged to the left by 6px to match designs.",
102
- },
103
- },
104
- };
105
-
106
- /**
107
- * Toolbar with title.
108
- */
109
- export const WithTitle: StoryComponentType = Template.bind({});
110
-
111
- WithTitle.args = {
112
- leftContent: leftContentMappings.dismissButton,
113
- title: "Counting with small numbers",
114
- };
115
-
116
- WithTitle.parameters = {
117
- docs: {
118
- description: {
119
- story:
120
- "A toolbar that shows how we can combine a title and a dismiss button on the left side.\n\n" +
121
- "**Note:** The `IconButton` is nudged to the left by 6px to match designs.",
122
- },
123
- },
124
- };
125
-
126
- /**
127
- * Toolbar with multiple elements on the right.
128
- */
129
- export const WithMultipleElements: StoryComponentType = Template.bind({});
130
-
131
- WithMultipleElements.args = {
132
- rightContent: rightContentMappings.multipleContent,
133
- };
134
-
135
- WithMultipleElements.parameters = {
136
- docs: {
137
- description: {
138
- story: "This toolbar includes multiple elements on the right.",
139
- },
140
- },
141
- };
142
-
143
- /**
144
- * Header overflow text.
145
- */
146
- export const HeaderOverflowText: StoryComponentType = Template.bind({});
147
-
148
- HeaderOverflowText.args = {
149
- leftContent: leftContentMappings.dismissButton,
150
- subtitle: "1 of 14 questions answered",
151
- title: "Patterns of migration and communal bird-feeding given the serious situation of things that will make this string long and obnoxious",
152
- rightContent: rightContentMappings.link,
153
- };
154
-
155
- HeaderOverflowText.parameters = {
156
- docs: {
157
- description: {
158
- story:
159
- "This example illustrates how the toolbar can work in situations where we include multiple lines of text.\n\n" +
160
- "**Note:** The `IconButton` is nudged to the left by 6px to match designs.",
161
- },
162
- },
163
- };
164
-
165
- /**
166
- * Flexible toolbars.
167
- */
168
- export const Responsive: StoryComponentType = Template.bind({});
169
-
170
- Responsive.args = {
171
- leftContent: leftContentMappings.hintButton,
172
- rightContent: rightContentMappings.responsive,
173
- };
174
-
175
- Responsive.parameters = {
176
- docs: {
177
- description: {
178
- story: "Sometimes there will be cases where we want to fill the content of one of the sides of the toolbar. This example demonstrates how toolbars can be used flexibly without breaking your layouts.",
179
- },
180
- },
181
- chromatic: {
182
- // Test responsiveness of the toolbar.
183
- viewports: [320, 768, 1024],
184
- },
185
- };
186
-
187
- /**
188
- * Inverted dark-color scheme
189
- */
190
- export const Dark: StoryComponentType = Template.bind({});
191
-
192
- Dark.args = {
193
- color: "dark",
194
- title: "Title",
195
- leftContent: leftContentMappings.lightButton,
196
- rightContent: rightContentMappings.lightButton,
197
- };
198
-
199
- Dark.parameters = {
200
- backgrounds: {
201
- default: "darkBlue",
202
- },
203
- docs: {
204
- description: {
205
- story:
206
- "A toolbar can be also used in a dark color scheme.\n\n" +
207
- "**Note:** Notice that there's a white hairline in this case, and that the background is transparent (to allow the Dark Blue or illustrated background to come through).",
208
- },
209
- },
210
- };