@khanacademy/wonder-blocks-breadcrumbs 1.0.38 → 1.0.40

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,36 @@
1
1
  # @khanacademy/wonder-blocks-breadcrumbs
2
2
 
3
+ ## 1.0.40
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [779b031d]
8
+ - @khanacademy/wonder-blocks-core@4.9.0
9
+
10
+ ## 1.0.39
11
+
12
+ ### Patch Changes
13
+
14
+ - d816af08: Update build and test configs use TypeScript
15
+ - 3891f544: Update babel config to include plugins that Storybook needed
16
+ - 0d28bb1c: Configured TypeScript
17
+ - 3d05f764: Fix HOCs and other type errors
18
+ - c2ec4902: Update eslint configuration, fix lint
19
+ - 2983c05b: Include 'types' field in package.json
20
+ - 77ff6a66: Generate Flow types from TypeScript types
21
+ - ec8d4b7f: Fix miscellaneous TypeScript errors
22
+ - Updated dependencies [d816af08]
23
+ - Updated dependencies [3891f544]
24
+ - Updated dependencies [0d28bb1c]
25
+ - Updated dependencies [873f4a14]
26
+ - Updated dependencies [3d05f764]
27
+ - Updated dependencies [c2ec4902]
28
+ - Updated dependencies [2983c05b]
29
+ - Updated dependencies [77ff6a66]
30
+ - Updated dependencies [ec8d4b7f]
31
+ - @khanacademy/wonder-blocks-core@4.8.0
32
+ - @khanacademy/wonder-blocks-spacing@3.0.6
33
+
3
34
  ## 1.0.38
4
35
 
5
36
  ### Patch Changes
@@ -0,0 +1,31 @@
1
+ import * as React from "react";
2
+ import type { AriaProps } from "@khanacademy/wonder-blocks-core";
3
+ import Link from "@khanacademy/wonder-blocks-link";
4
+ type Props = AriaProps & {
5
+ /**
6
+ * This is the content for the collection of Breadcrumbs
7
+ */
8
+ children: string | React.ReactElement<React.ComponentProps<typeof Link>>;
9
+ /**
10
+ * When true, the separator is shown; otherwise, the separator is not shown.
11
+ * Note: This is only for use by the Breadcrumbs component!!
12
+ * @ignore
13
+ */
14
+ showSeparator?: boolean;
15
+ /**
16
+ * Test ID used for e2e testing.
17
+ */
18
+ testId?: string;
19
+ };
20
+ /**
21
+ * The BreadcrumbsItem represents an individual item in the breadcrumbs list.
22
+ */
23
+ export default class BreadcrumbsItem extends React.Component<Props> {
24
+ /**
25
+ * Renders a separator after the content
26
+ * It draws a circular bullet point using an SVG circle shape
27
+ */
28
+ _renderSeparator(): React.ReactNode;
29
+ render(): React.ReactElement;
30
+ }
31
+ export {};
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Flowtype definitions for breadcrumbs-item
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
+ import Link from "@khanacademy/wonder-blocks-link";
11
+ declare type Props = {
12
+ ...AriaProps,
13
+ ...{
14
+ /**
15
+ * This is the content for the collection of Breadcrumbs
16
+ */
17
+ children: string | React.Element<React.ComponentProps<typeof Link>>,
18
+
19
+ /**
20
+ * When true, the separator is shown; otherwise, the separator is not shown.
21
+ * Note: This is only for use by the Breadcrumbs component!!
22
+ * @ignore
23
+ */
24
+ showSeparator?: boolean,
25
+
26
+ /**
27
+ * Test ID used for e2e testing.
28
+ */
29
+ testId?: string,
30
+ ...
31
+ },
32
+ };
33
+ /**
34
+ * The BreadcrumbsItem represents an individual item in the breadcrumbs list.
35
+ */
36
+ declare export default class BreadcrumbsItem extends React.Component<Props> {
37
+ /**
38
+ * Renders a separator after the content
39
+ * It draws a circular bullet point using an SVG circle shape
40
+ */
41
+ _renderSeparator(): React.Node;
42
+ render(): React.Element<>;
43
+ }
@@ -0,0 +1,58 @@
1
+ import * as React from "react";
2
+ import type { AriaProps } from "@khanacademy/wonder-blocks-core";
3
+ import BreadcrumbsItem from "./breadcrumbs-item";
4
+ type Props = AriaProps & {
5
+ /**
6
+ * This is the content for the collection of Breadcrumbs
7
+ */
8
+ children: Array<React.ReactElement<React.ComponentProps<typeof BreadcrumbsItem>>> | React.ReactElement<React.ComponentProps<typeof BreadcrumbsItem>>;
9
+ /**
10
+ * Test ID used for e2e testing.
11
+ */
12
+ testId?: string;
13
+ };
14
+ type DefaultProps = {
15
+ ["aria-label"]: Props["aria-label"];
16
+ };
17
+ /**
18
+ * A breadcrumb trail consists of a list of links to the parent pages
19
+ * of the current page in hierarchical order. It helps users find their
20
+ * place within a website or web application.
21
+ * Breadcrumbs are often placed horizontally before a page's main content.
22
+ *
23
+ * The Breadcrumbs component will have the following structure:
24
+ *
25
+ * 1. Breadcrumbs Item: Represents a section within the page.
26
+ * 2. Separator: Adds a separator between each item.
27
+ *
28
+ * NOTE: `<BreadcrumbsItem />` only accepts two element types:
29
+ *
30
+ * 1. `string`
31
+ * 2. `<Link />`
32
+ *
33
+ * ## Usage
34
+ *
35
+ * ```jsx
36
+ * import {
37
+ * Breadcrumbs,
38
+ * BreadcrumbsItem
39
+ * } from "@khanacademy/wonder-blocks-breadcrumbs";
40
+ *
41
+ * <Breadcrumbs>
42
+ * <BreadcrumbsItem>
43
+ * <Link href="">Course</Link>
44
+ * </BreadcrumbsItem>
45
+ * <BreadcrumbsItem>
46
+ * <Link href="">Unit</Link>
47
+ * </BreadcrumbsItem>
48
+ * <BreadcrumbsItem>
49
+ * Lesson
50
+ * </BreadcrumbsItem>
51
+ * </Breadcrumbs>
52
+ * ```
53
+ */
54
+ export default class Breadcrumbs extends React.Component<Props> {
55
+ static defaultProps: DefaultProps;
56
+ render(): React.ReactElement;
57
+ }
58
+ export {};
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Flowtype definitions for breadcrumbs
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
+ import BreadcrumbsItem from "./breadcrumbs-item";
11
+ declare type Props = {
12
+ ...AriaProps,
13
+ ...{
14
+ /**
15
+ * This is the content for the collection of Breadcrumbs
16
+ */
17
+ children:
18
+ | Array<React.Element<React.ComponentProps<typeof BreadcrumbsItem>>>
19
+ | React.Element<React.ComponentProps<typeof BreadcrumbsItem>>,
20
+
21
+ /**
22
+ * Test ID used for e2e testing.
23
+ */
24
+ testId?: string,
25
+ ...
26
+ },
27
+ };
28
+ declare type DefaultProps = {
29
+ "aria-label": $PropertyType<Props, "aria-label">,
30
+ ...
31
+ };
32
+ /**
33
+ * A breadcrumb trail consists of a list of links to the parent pages
34
+ * of the current page in hierarchical order. It helps users find their
35
+ * place within a website or web application.
36
+ * Breadcrumbs are often placed horizontally before a page's main content.
37
+ *
38
+ * The Breadcrumbs component will have the following structure:
39
+ *
40
+ * 1. Breadcrumbs Item: Represents a section within the page.
41
+ * 2. Separator: Adds a separator between each item.
42
+ *
43
+ * NOTE: `<BreadcrumbsItem />` only accepts two element types:
44
+ *
45
+ * 1. `string`
46
+ * 2. `<Link />`
47
+ *
48
+ * ## Usage
49
+ *
50
+ * ```jsx
51
+ * import {
52
+ * Breadcrumbs,
53
+ * BreadcrumbsItem
54
+ * } from "@khanacademy/wonder-blocks-breadcrumbs";
55
+ *
56
+ * <Breadcrumbs>
57
+ * <BreadcrumbsItem>
58
+ * <Link href="">Course</Link>
59
+ * </BreadcrumbsItem>
60
+ * <BreadcrumbsItem>
61
+ * <Link href="">Unit</Link>
62
+ * </BreadcrumbsItem>
63
+ * <BreadcrumbsItem>
64
+ * Lesson
65
+ * </BreadcrumbsItem>
66
+ * </Breadcrumbs>
67
+ * ```
68
+ */
69
+ declare export default class Breadcrumbs extends React.Component<Props> {
70
+ static defaultProps: DefaultProps;
71
+ render(): React.Element<>;
72
+ }
package/dist/es/index.js CHANGED
@@ -1,21 +1,65 @@
1
- import _extends from '@babel/runtime/helpers/extends';
2
- import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose';
3
1
  import * as React from 'react';
4
2
  import { StyleSheet } from 'aphrodite';
5
3
  import { addStyle } from '@khanacademy/wonder-blocks-core';
6
4
  import Spacing from '@khanacademy/wonder-blocks-spacing';
7
5
 
6
+ function _extends() {
7
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
8
+ for (var i = 1; i < arguments.length; i++) {
9
+ var source = arguments[i];
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+ return target;
17
+ };
18
+ return _extends.apply(this, arguments);
19
+ }
20
+
21
+ function _objectWithoutPropertiesLoose(source, excluded) {
22
+ if (source == null) return {};
23
+ var target = {};
24
+ var sourceKeys = Object.keys(source);
25
+ var key, i;
26
+ for (i = 0; i < sourceKeys.length; i++) {
27
+ key = sourceKeys[i];
28
+ if (excluded.indexOf(key) >= 0) continue;
29
+ target[key] = source[key];
30
+ }
31
+ return target;
32
+ }
33
+
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
+
8
48
  const _excluded$1 = ["children", "testId"];
9
49
  const StyledList = addStyle("ol");
10
- class Breadcrumbs extends React.Component {
11
- render() {
50
+ let Breadcrumbs = function (_React$Component) {
51
+ _inheritsLoose(Breadcrumbs, _React$Component);
52
+ function Breadcrumbs() {
53
+ return _React$Component.apply(this, arguments) || this;
54
+ }
55
+ var _proto = Breadcrumbs.prototype;
56
+ _proto.render = function render() {
12
57
  const _this$props = this.props,
13
- {
14
- children,
15
- testId
16
- } = _this$props,
17
- otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$1);
18
-
58
+ {
59
+ children,
60
+ testId
61
+ } = _this$props,
62
+ otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$1);
19
63
  const lastChildIndex = React.Children.count(children) - 1;
20
64
  return React.createElement("nav", _extends({}, otherProps, {
21
65
  "data-test-id": testId
@@ -28,9 +72,9 @@ class Breadcrumbs extends React.Component {
28
72
  ["aria-current"]: isLastChild ? "page" : undefined
29
73
  }));
30
74
  })));
31
- }
32
-
33
- }
75
+ };
76
+ return Breadcrumbs;
77
+ }(React.Component);
34
78
  Breadcrumbs.defaultProps = {
35
79
  "aria-label": "Breadcrumbs"
36
80
  };
@@ -47,8 +91,13 @@ const styles$1 = StyleSheet.create({
47
91
  const _excluded = ["children", "showSeparator", "testId"];
48
92
  const StyledListItem = addStyle("li");
49
93
  const StyledSvg = addStyle("svg");
50
- class BreadcrumbsItem extends React.Component {
51
- _renderSeparator() {
94
+ let BreadcrumbsItem = function (_React$Component) {
95
+ _inheritsLoose(BreadcrumbsItem, _React$Component);
96
+ function BreadcrumbsItem() {
97
+ return _React$Component.apply(this, arguments) || this;
98
+ }
99
+ var _proto = BreadcrumbsItem.prototype;
100
+ _proto._renderSeparator = function _renderSeparator() {
52
101
  return React.createElement(StyledSvg, {
53
102
  style: styles.separator,
54
103
  width: 16,
@@ -60,24 +109,22 @@ class BreadcrumbsItem extends React.Component {
60
109
  cy: "9",
61
110
  r: "1.5"
62
111
  }));
63
- }
64
-
65
- render() {
112
+ };
113
+ _proto.render = function render() {
66
114
  const _this$props = this.props,
67
- {
68
- children,
69
- showSeparator,
70
- testId
71
- } = _this$props,
72
- otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded);
73
-
115
+ {
116
+ children,
117
+ showSeparator,
118
+ testId
119
+ } = _this$props,
120
+ otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded);
74
121
  return React.createElement(StyledListItem, _extends({}, otherProps, {
75
122
  style: styles.item,
76
123
  "data-test-id": testId
77
124
  }), children, showSeparator && this._renderSeparator());
78
- }
79
-
80
- }
125
+ };
126
+ return BreadcrumbsItem;
127
+ }(React.Component);
81
128
  const styles = StyleSheet.create({
82
129
  item: {
83
130
  display: "flex",
@@ -0,0 +1,3 @@
1
+ import Breadcrumbs from "./components/breadcrumbs";
2
+ import BreadcrumbsItem from "./components/breadcrumbs-item";
3
+ export { Breadcrumbs, BreadcrumbsItem };
package/dist/index.js CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _extends = require('@babel/runtime/helpers/extends');
6
- var _objectWithoutPropertiesLoose = require('@babel/runtime/helpers/objectWithoutPropertiesLoose');
7
5
  var React = require('react');
8
6
  var aphrodite = require('aphrodite');
9
7
  var wonderBlocksCore = require('@khanacademy/wonder-blocks-core');
@@ -12,54 +10,98 @@ var Spacing = require('@khanacademy/wonder-blocks-spacing');
12
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
11
 
14
12
  function _interopNamespace(e) {
15
- if (e && e.__esModule) return e;
16
- var n = Object.create(null);
17
- if (e) {
18
- Object.keys(e).forEach(function (k) {
19
- if (k !== 'default') {
20
- var d = Object.getOwnPropertyDescriptor(e, k);
21
- Object.defineProperty(n, k, d.get ? d : {
22
- enumerable: true,
23
- get: function () { return e[k]; }
24
- });
25
- }
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]; }
26
22
  });
27
- }
28
- n["default"] = e;
29
- return Object.freeze(n);
23
+ }
24
+ });
25
+ }
26
+ n["default"] = e;
27
+ return Object.freeze(n);
30
28
  }
31
29
 
32
- var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
33
- var _objectWithoutPropertiesLoose__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutPropertiesLoose);
34
30
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
35
31
  var Spacing__default = /*#__PURE__*/_interopDefaultLegacy(Spacing);
36
32
 
33
+ function _extends() {
34
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
35
+ for (var i = 1; i < arguments.length; i++) {
36
+ var source = arguments[i];
37
+ for (var key in source) {
38
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
39
+ target[key] = source[key];
40
+ }
41
+ }
42
+ }
43
+ return target;
44
+ };
45
+ return _extends.apply(this, arguments);
46
+ }
47
+
48
+ function _objectWithoutPropertiesLoose(source, excluded) {
49
+ if (source == null) return {};
50
+ var target = {};
51
+ var sourceKeys = Object.keys(source);
52
+ var key, i;
53
+ for (i = 0; i < sourceKeys.length; i++) {
54
+ key = sourceKeys[i];
55
+ if (excluded.indexOf(key) >= 0) continue;
56
+ target[key] = source[key];
57
+ }
58
+ return target;
59
+ }
60
+
61
+ function _setPrototypeOf(o, p) {
62
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
63
+ o.__proto__ = p;
64
+ return o;
65
+ };
66
+ return _setPrototypeOf(o, p);
67
+ }
68
+
69
+ function _inheritsLoose(subClass, superClass) {
70
+ subClass.prototype = Object.create(superClass.prototype);
71
+ subClass.prototype.constructor = subClass;
72
+ _setPrototypeOf(subClass, superClass);
73
+ }
74
+
37
75
  const _excluded$1 = ["children", "testId"];
38
76
  const StyledList = wonderBlocksCore.addStyle("ol");
39
- class Breadcrumbs extends React__namespace.Component {
40
- render() {
77
+ let Breadcrumbs = function (_React$Component) {
78
+ _inheritsLoose(Breadcrumbs, _React$Component);
79
+ function Breadcrumbs() {
80
+ return _React$Component.apply(this, arguments) || this;
81
+ }
82
+ var _proto = Breadcrumbs.prototype;
83
+ _proto.render = function render() {
41
84
  const _this$props = this.props,
42
- {
43
- children,
44
- testId
45
- } = _this$props,
46
- otherProps = _objectWithoutPropertiesLoose__default["default"](_this$props, _excluded$1);
47
-
85
+ {
86
+ children,
87
+ testId
88
+ } = _this$props,
89
+ otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$1);
48
90
  const lastChildIndex = React__namespace.Children.count(children) - 1;
49
- return React__namespace.createElement("nav", _extends__default["default"]({}, otherProps, {
91
+ return React__namespace.createElement("nav", _extends({}, otherProps, {
50
92
  "data-test-id": testId
51
93
  }), React__namespace.createElement(StyledList, {
52
94
  style: styles$1.container
53
95
  }, React__namespace.Children.map(children, (item, index) => {
54
96
  const isLastChild = index === lastChildIndex;
55
- return React__namespace.cloneElement(item, _extends__default["default"]({}, item.props, {
97
+ return React__namespace.cloneElement(item, _extends({}, item.props, {
56
98
  showSeparator: !isLastChild,
57
99
  ["aria-current"]: isLastChild ? "page" : undefined
58
100
  }));
59
101
  })));
60
- }
61
-
62
- }
102
+ };
103
+ return Breadcrumbs;
104
+ }(React__namespace.Component);
63
105
  Breadcrumbs.defaultProps = {
64
106
  "aria-label": "Breadcrumbs"
65
107
  };
@@ -76,8 +118,13 @@ const styles$1 = aphrodite.StyleSheet.create({
76
118
  const _excluded = ["children", "showSeparator", "testId"];
77
119
  const StyledListItem = wonderBlocksCore.addStyle("li");
78
120
  const StyledSvg = wonderBlocksCore.addStyle("svg");
79
- class BreadcrumbsItem extends React__namespace.Component {
80
- _renderSeparator() {
121
+ let BreadcrumbsItem = function (_React$Component) {
122
+ _inheritsLoose(BreadcrumbsItem, _React$Component);
123
+ function BreadcrumbsItem() {
124
+ return _React$Component.apply(this, arguments) || this;
125
+ }
126
+ var _proto = BreadcrumbsItem.prototype;
127
+ _proto._renderSeparator = function _renderSeparator() {
81
128
  return React__namespace.createElement(StyledSvg, {
82
129
  style: styles.separator,
83
130
  width: 16,
@@ -89,24 +136,22 @@ class BreadcrumbsItem extends React__namespace.Component {
89
136
  cy: "9",
90
137
  r: "1.5"
91
138
  }));
92
- }
93
-
94
- render() {
139
+ };
140
+ _proto.render = function render() {
95
141
  const _this$props = this.props,
96
- {
97
- children,
98
- showSeparator,
99
- testId
100
- } = _this$props,
101
- otherProps = _objectWithoutPropertiesLoose__default["default"](_this$props, _excluded);
102
-
103
- return React__namespace.createElement(StyledListItem, _extends__default["default"]({}, otherProps, {
142
+ {
143
+ children,
144
+ showSeparator,
145
+ testId
146
+ } = _this$props,
147
+ otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded);
148
+ return React__namespace.createElement(StyledListItem, _extends({}, otherProps, {
104
149
  style: styles.item,
105
150
  "data-test-id": testId
106
151
  }), children, showSeparator && this._renderSeparator());
107
- }
108
-
109
- }
152
+ };
153
+ return BreadcrumbsItem;
154
+ }(React__namespace.Component);
110
155
  const styles = aphrodite.StyleSheet.create({
111
156
  item: {
112
157
  display: "flex",
@@ -1,2 +1,10 @@
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 Breadcrumbs from "./components/breadcrumbs";
9
+ import BreadcrumbsItem from "./components/breadcrumbs-item";
10
+ declare export { Breadcrumbs, BreadcrumbsItem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-breadcrumbs",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
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,14 +16,14 @@
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-core": "^4.7.0",
20
- "@khanacademy/wonder-blocks-spacing": "^3.0.5"
19
+ "@khanacademy/wonder-blocks-core": "^4.9.0",
20
+ "@khanacademy/wonder-blocks-spacing": "^3.0.6"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "aphrodite": "^1.2.5",
24
24
  "react": "16.14.0"
25
25
  },
26
26
  "devDependencies": {
27
- "wb-dev-build-settings": "^0.7.1"
27
+ "wb-dev-build-settings": "^0.7.3"
28
28
  }
29
29
  }
@@ -1,4 +1,3 @@
1
- // @flow
2
1
  import * as React from "react";
3
2
  import {render, screen} from "@testing-library/react";
4
3
  import Breadcrumbs from "../breadcrumbs";
@@ -1,32 +1,27 @@
1
- // @flow
2
1
  import * as React from "react";
3
2
  import {StyleSheet} from "aphrodite";
4
3
 
5
4
  import type {AriaProps} from "@khanacademy/wonder-blocks-core";
6
5
  import {addStyle} from "@khanacademy/wonder-blocks-core";
7
- import typeof Link from "@khanacademy/wonder-blocks-link";
6
+ import Link from "@khanacademy/wonder-blocks-link";
8
7
  import Spacing from "@khanacademy/wonder-blocks-spacing";
9
8
 
10
- type Props = {|
11
- ...AriaProps,
12
-
9
+ type Props = AriaProps & {
13
10
  /**
14
11
  * This is the content for the collection of Breadcrumbs
15
12
  */
16
- children: string | React.Element<Link>,
17
-
13
+ children: string | React.ReactElement<React.ComponentProps<typeof Link>>;
18
14
  /**
19
15
  * When true, the separator is shown; otherwise, the separator is not shown.
20
16
  * Note: This is only for use by the Breadcrumbs component!!
21
17
  * @ignore
22
18
  */
23
- showSeparator?: boolean,
24
-
19
+ showSeparator?: boolean;
25
20
  /**
26
21
  * Test ID used for e2e testing.
27
22
  */
28
- testId?: string,
29
- |};
23
+ testId?: string;
24
+ };
30
25
 
31
26
  const StyledListItem = addStyle("li");
32
27
  const StyledSvg = addStyle("svg");
@@ -39,7 +34,7 @@ export default class BreadcrumbsItem extends React.Component<Props> {
39
34
  * Renders a separator after the content
40
35
  * It draws a circular bullet point using an SVG circle shape
41
36
  */
42
- _renderSeparator(): React.Node {
37
+ _renderSeparator(): React.ReactNode {
43
38
  return (
44
39
  <StyledSvg
45
40
  style={styles.separator}
@@ -53,7 +48,7 @@ export default class BreadcrumbsItem extends React.Component<Props> {
53
48
  );
54
49
  }
55
50
 
56
- render(): React.Node {
51
+ render(): React.ReactElement {
57
52
  const {children, showSeparator, testId, ...otherProps} = this.props;
58
53
 
59
54
  return (
@@ -1,28 +1,28 @@
1
- // @flow
2
1
  import * as React from "react";
3
2
  import {StyleSheet} from "aphrodite";
4
3
 
5
4
  import type {AriaProps} from "@khanacademy/wonder-blocks-core";
6
5
  import {addStyle} from "@khanacademy/wonder-blocks-core";
7
- import typeof BreadcrumbsItem from "./breadcrumbs-item";
8
-
9
- type Props = {|
10
- ...AriaProps,
6
+ import BreadcrumbsItem from "./breadcrumbs-item";
11
7
 
8
+ type Props = AriaProps & {
12
9
  /**
13
10
  * This is the content for the collection of Breadcrumbs
14
11
  */
15
- children: React.ChildrenArray<React.Element<BreadcrumbsItem>>,
16
-
12
+ children:
13
+ | Array<
14
+ React.ReactElement<React.ComponentProps<typeof BreadcrumbsItem>>
15
+ >
16
+ | React.ReactElement<React.ComponentProps<typeof BreadcrumbsItem>>;
17
17
  /**
18
18
  * Test ID used for e2e testing.
19
19
  */
20
- testId?: string,
21
- |};
20
+ testId?: string;
21
+ };
22
22
 
23
- type DefaultProps = {|
24
- "aria-label": $PropertyType<Props, "aria-label">,
25
- |};
23
+ type DefaultProps = {
24
+ ["aria-label"]: Props["aria-label"];
25
+ };
26
26
 
27
27
  const StyledList = addStyle("ol");
28
28
 
@@ -70,7 +70,7 @@ export default class Breadcrumbs extends React.Component<Props> {
70
70
  "aria-label": "Breadcrumbs",
71
71
  };
72
72
 
73
- render(): React.Node {
73
+ render(): React.ReactElement {
74
74
  const {children, testId, ...otherProps} = this.props;
75
75
  // using React.Children allows to deal with opaque data structures
76
76
  // e.g. children = 'string' vs children = []
@@ -82,7 +82,9 @@ export default class Breadcrumbs extends React.Component<Props> {
82
82
  {React.Children.map(children, (item, index) => {
83
83
  const isLastChild = index === lastChildIndex;
84
84
 
85
+ // @ts-expect-error [FEI-5019] - TS2769 - No overload matches this call.
85
86
  return React.cloneElement(item, {
87
+ // @ts-expect-error [FEI-5019] - TS2339 - Property 'props' does not exist on type 'ReactElement<{}, string | JSXElementConstructor<any>> | (ReactElement<{}, string | JSXElementConstructor<any>> & string) | ... 12 more ... | (ReactElement<...>[] & ReactPortal)'.
86
88
  ...item.props,
87
89
  showSeparator: !isLastChild,
88
90
  ["aria-current"]: isLastChild ? "page" : undefined,
@@ -1,4 +1,3 @@
1
- // @flow
2
1
  import Breadcrumbs from "./components/breadcrumbs";
3
2
  import BreadcrumbsItem from "./components/breadcrumbs-item";
4
3
 
package/tsconfig.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "exclude": ["dist"],
3
+ "extends": "../tsconfig-shared.json",
4
+ "compilerOptions": {
5
+ "outDir": "./dist",
6
+ "rootDir": "src",
7
+ },
8
+ "references": [
9
+ {"path": "../wonder-blocks-core"},
10
+ {"path": "../wonder-blocks-clickable"},
11
+ {"path": "../wonder-blocks-link"},
12
+ {"path": "../wonder-blocks-spacing"},
13
+ {"path": "../wonder-blocks-typography"},
14
+ ]
15
+ }
@@ -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-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-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","../wonder-blocks-link/dist/components/link.d.ts","../wonder-blocks-link/dist/index.d.ts","../wonder-blocks-spacing/dist/index.d.ts","./src/components/breadcrumbs-item.tsx","./src/components/breadcrumbs.tsx","./src/index.ts","../../node_modules/@types/aria-query/index.d.ts","../../node_modules/@testing-library/dom/types/matches.d.ts","../../node_modules/@testing-library/dom/types/wait-for.d.ts","../../node_modules/@testing-library/dom/types/query-helpers.d.ts","../../node_modules/@testing-library/dom/types/queries.d.ts","../../node_modules/@testing-library/dom/types/get-queries-for-element.d.ts","../../node_modules/@testing-library/dom/node_modules/pretty-format/build/types.d.ts","../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.d.ts","../../node_modules/@testing-library/dom/types/screen.d.ts","../../node_modules/@testing-library/dom/types/wait-for-element-to-be-removed.d.ts","../../node_modules/@testing-library/dom/types/get-node-text.d.ts","../../node_modules/@testing-library/dom/types/events.d.ts","../../node_modules/@testing-library/dom/types/pretty-dom.d.ts","../../node_modules/@testing-library/dom/types/role-helpers.d.ts","../../node_modules/@testing-library/dom/types/config.d.ts","../../node_modules/@testing-library/dom/types/suggestions.d.ts","../../node_modules/@testing-library/dom/types/index.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/react-dom/test-utils/index.d.ts","../../node_modules/@testing-library/react/types/index.d.ts","./src/components/__tests__/breadcrumbs.test.tsx","./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/@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-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},"997134e84dc3160c00876331f0326b010bc78cb73d69e9951d649b31c8599e0e","7ebb976bd59fe5529e56d0b23be97f220a705e45ad38d556475f8428ef2917c6","2139f3918b597d5279454c2b5bae66674ccc96ac9dffb605452a92fd6e0a3bfa","f856ed3eee33667370b9c9fd80ef31ec21f9a43217c417ac7c8ef5666cb433e1","34b9a71308fa65d9d5bf816775537f42964328be0bc2fb144c85f90bc2293437","de76b973e659ff9d0cece9efc2507b897c7f50763617bc017b4a396134588647","2e40a1344fb0f0c3eb2a706ecd416fbd0acac2b8c489783f4a6eaacf531b2275","6c024c83ced4dfb1fc798be4649b996c24ecbd005e607c4ee2619ceec34f358d","15b4dcbf307452ab56bf665fc4fadeea11a8201ed23098cfb9bce145fccb7139","ee0fccc1e97251e3f3aa7d4a0682b2a28bd0bbf6fae3e169368eb01d74c4e4ec","e7391aed3af92e257fc4ea6784f84aa931026a92cf36472c1e89f4279858552c","f7147de5c8f9cb1143c3b43630f734fff707f1535addabb592f8e560209dd6a7","ff1881c58824d49ca3442d9561c3aef2767fdb1c2b9f4b251063f4c2d5e03fc4","055e664e1288198c705162c24c89591e8f88c91a89821c5c528256b025779b26","398155e58de7e65e21c70d5d71c1fddb922681cd50477e6b62b0be5fa9bcf847","40ef81ea12c88f731137da2858c8fb2dc31b8299a114bbe82bbd2d102fd64132","132043ff06994187454edd164130dd4058bc8493d0b735003ee6f91132459a8a","d8085875f9f51511d2795832f0e42af798b5ec3a76ee11980bf028b70de73b8a","e39df75ada1e20327b9f675e6e758dd46b6f66bb789adcb9a295c1ed065dbd14","a43dcc9a2e6a2869f2cac561510dfe6114ce900ef22b3f898621f36d998159ac","f7e61dd79641b79a1dabb1b9e6484e07e537fe75c3e134a73112cb6b98b92681","a111d56bb7088235ce8883e0e08d658b9e142300e5f467a255d9115b0c1acf6d","a6e56a9af98c5d34fa1be05f159875db9aa4bd8a160df5beb7fc2c471b8b4479","76bd051c96bafb7579856455379d2450e719245f1daea713b2510b787459f50e","670f9c8a768dbdff4851e4b677f4e2916acb9d9581324115eb8a909f48e3869e","5bc795251b3ef379409ff0108ddbd640f4ff70f248a3e2fb57d981d4ce5df6bf","b6d506880bfe638beba9763144d27b14713767017e0f7bbfef84228e3cd3c376","8140366e4c49eba7f3b053a238ab470139e6312e316090aa132f8eb23ff6191d","0f92ed30d720b3f790ce502968488cc4df6c24a77d684381d8c7710294672d6c","7708e50147fa568afdd5fd2d36ce7b6c8e3311b7e75794ae8684d74748ce1042","181765dd09aa90b5d1ce3d8f0982ce74e293f7fc4d6c974254dc18dcc768b9bd","f1aa3e54c17699f56f08f2ecef01f5bdb5ba89e6aaebb2904bd4d3ef5d118075","2429dfd324c847b264803c5bb41af9316a3dafd02518c0980fef8850f969e034","ecbd2968d0892a695d5477a93760c2e5c94a7b02a85192ad5778d078ce132a6e","1827fc2801d956b05520b96d45dce5d81164603ef377026144a55e4788dd2e21","7ca1e70712de1a4182fbf0272e42abcdce50fd6d7b264c1da1ae66ea088eeecc","2a52d4963d7ac431005810ad2c8284a3c17a119a1d1e2d91aa4f5ad9cd830b05","350de30cb1d537113d22daaa9db550851f77bf7cae0eb9ef81e85647d1f80461","77f91ce020789dd4eab88a566ce9e92ce0b64cdd3a6c3497b5866fa7873ada8b",{"version":"62dcbeb8b84ff514a34bf021462d3b87197e002f25cf293ca3180d1075169a95","signature":"b0dae7012f40fc5762b80776cd0f6571c0cb3c722be655c820766f0539933502"},{"version":"3429466af1667c2d40a216721f5a2a3417d703780696c7403deb3a1ba59dbee1","signature":"c506885154a44cdbba35b9214f47d6770717ea9fd1d4e979088cfaf0ab0c8818"},{"version":"5290c0f41d96acd8dc613bcbbea7c01171ad13582e0592dca92c7d33d117a56c","signature":"fea07f59b2efc53b58eb6dde5f28fa7e11e085a0ce6d058438ed1edb6388d07e"},"5024433f8da3a7968f6d12cffd32f2cefae4442a9ad1c965fa2d23342338b700","f70bc756d933cc38dc603331a4b5c8dee89e1e1fb956cfb7a6e04ebb4c008091","8387ec1601cf6b8948672537cf8d430431ba0d87b1f9537b4597c1ab8d3ade5b","d16f1c460b1ca9158e030fdf3641e1de11135e0c7169d3e8cf17cc4cc35d5e64","fbc350d1cb7543cb75fdd5f3895ab9ac0322268e1bd6a43417565786044424f3","e3c5ad476eb2fca8505aee5bdfdf9bf11760df5d0f9545db23f12a5c4d72a718","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","d0570ce419fb38287e7b39c910b468becb5b2278cf33b1000a3d3e82a46ecae2","3aca7f4260dad9dcc0a0333654cb3cde6664d34a553ec06c953bce11151764d7","a0a6f0095f25f08a7129bc4d7cb8438039ec422dc341218d274e1e5131115988","cb3aaf306b5ff2ec718359e2e2244263c0b364c35759b1467c16caa113ccb849","45785e608b3d380c79e21957a6d1467e1206ac0281644e43e8ed6498808ace72","a3ce619711ff1bcdaaf4b5187d1e3f84e76064909a7c7ecb2e2f404f145b7b5c","2a90177ebaef25de89351de964c2c601ab54d6e3a157cba60d9cd3eaf5a5ee1a","82200e963d3c767976a5a9f41ecf8c65eca14a6b33dcbe00214fcbe959698c46","b4966c503c08bbd9e834037a8ab60e5f53c5fd1092e8873c4a1c344806acdab2","b567296d1820a1e50b6522c99a4f272c70eb2cba690da6e64a25635b70b1383f","b72fe4260471b06163a05df5228c09b76472b09ea315b7a2df52343181fe906f","852babd1fbe53723547566ba74312e48f9ecd05241a9266292e7058c34016ce8",{"version":"f5f5678de49d65b9d9356cf63e5bc89307bc232cbbe7b0f82fb709aef65638ba","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"e5eded91d451a61471ff30c11e4df908f7eb1464689977f4702a562489db2c86",{"version":"9be348abf5d43091876a86f9acf23927a240915f8fc6d51155dbe5bdb69ef229","affectsGlobalScope":true},{"version":"180f403b4facff38da095189726c3c3a5aa220be0793d4d862aa910887c7cb71","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","3777eb752cef9aa8dd35bb997145413310008aa54ec44766de81a7ad891526cd","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","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":[[120,173,220,221,222],[173,220,221,222],[173,209,220,221,222],[100,173,220,221,222],[98,173,220,221,222],[95,96,97,98,99,102,103,104,105,106,107,108,109,173,220,221,222],[94,173,220,221,222],[101,173,220,221,222],[95,96,97,173,220,221,222],[95,96,173,220,221,222],[98,99,101,173,220,221,222],[96,173,220,221,222],[110,111,112,173,220,221,222],[118,173,220,221,222],[120,121,122,123,124,173,220,221,222],[120,122,173,220,221,222],[161,173,180,220,221,222],[173,182,220,221,222],[118,173,186,220,221,222],[118,173,184,185,220,221,222],[143,173,180,189,220,221,222],[144,173,180,220,221,222],[173,192,220,221,222],[173,200,220,221,222],[173,194,200,220,221,222],[173,195,196,197,198,199,220,221,222],[173,204,220,221,222],[173,205,220,221,222],[173,211,214,220,221,222],[173,207,213,220,221,222],[173,211,220,221,222],[173,208,212,220,221,222],[143,173,175,180,218,219,221,222],[173,220,221],[173,220,222],[173,220,221,222,225,227,228,229,230,231,232,233,234,235,236,237],[173,220,221,222,225,226,228,229,230,231,232,233,234,235,236,237],[173,220,221,222,226,227,228,229,230,231,232,233,234,235,236,237],[173,220,221,222,225,226,227,229,230,231,232,233,234,235,236,237],[173,220,221,222,225,226,227,228,230,231,232,233,234,235,236,237],[173,220,221,222,225,226,227,228,229,231,232,233,234,235,236,237],[173,220,221,222,225,226,227,228,229,230,232,233,234,235,236,237],[173,220,221,222,225,226,227,228,229,230,231,233,234,235,236,237],[173,220,221,222,225,226,227,228,229,230,231,232,234,235,236,237],[173,220,221,222,225,226,227,228,229,230,231,232,233,235,236,237],[173,220,221,222,225,226,227,228,229,230,231,232,233,234,236,237],[173,220,221,222,225,226,227,228,229,230,231,232,233,234,235,237],[173,220,221,222,225,226,227,228,229,230,231,232,233,234,235,236],[146,172,173,180,220,221,222,241,242],[146,161,173,180,220,221,222],[127,173,220,221,222],[130,173,220,221,222],[131,136,164,173,220,221,222],[132,143,144,151,161,172,173,220,221,222],[132,133,143,151,173,220,221,222],[134,173,220,221,222],[135,136,144,152,173,220,221,222],[136,161,169,173,220,221,222],[137,139,143,151,173,220,221,222],[138,173,220,221,222],[139,140,173,220,221,222],[143,173,220,221,222],[141,143,173,220,221,222],[143,144,145,161,172,173,220,221,222],[143,144,145,158,161,164,173,220,221,222],[173,177,220,221,222],[139,146,151,161,172,173,220,221,222],[143,144,146,147,151,161,169,172,173,220,221,222],[146,148,161,169,172,173,220,221,222],[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,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,220,221,222],[143,149,173,220,221,222],[150,172,173,220,221,222],[139,143,151,161,173,220,221,222],[152,173,220,221,222],[153,173,220,221,222],[130,154,173,220,221,222],[155,171,173,177,220,221,222],[156,173,220,221,222],[157,173,220,221,222],[143,158,159,173,220,221,222],[158,160,173,175,220,221,222],[131,143,161,162,163,164,173,220,221,222],[131,161,163,173,220,221,222],[161,162,173,220,221,222],[164,173,220,221,222],[165,173,220,221,222],[143,167,168,173,220,221,222],[167,168,173,220,221,222],[136,151,161,169,173,220,221,222],[170,173,220,221,222],[151,171,173,220,221,222],[131,146,157,172,173,220,221,222],[136,173,220,221,222],[161,173,174,220,221,222],[173,175,220,221,222],[173,176,220,221,222],[131,136,143,145,154,161,172,173,175,177,220,221,222],[161,173,178,220,221,222],[173,217,220,221,222],[173,218,220,221,222],[51,173,220,221,222],[51,112,173,220,221,222],[51,173,200,220,221,222,250],[51,173,200,220,221,222],[47,48,49,50,173,220,221,222],[173,215,220,221,222],[173,220,221,222,262],[136,173,180,220,221,222,257,262],[136,173,180,220,221,222,260,262,263,264,265],[173,220,221,222,268],[173,210,220,221,222],[51,91,92,113,173,220,221,222],[51,68,89,90,115,173,220,221,222],[51,68,91,115,173,220,221,222],[91,92,173,220,221,222],[51,52,173,220,221,222],[51,55,173,220,221,222],[55,173,220,221,222],[52,173,220,221,222],[52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,173,220,221,222],[51,115,173,220,221,222],[51,68,87,173,220,221,222],[88,173,220,221,222],[51,70,173,220,221,222],[69,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,173,220,221,222],[115,173,220,221,222],[51,68,173,220,221,222],[51,68,89],[51,68,91],[91,92]],"referencedMap":[[122,1],[120,2],[210,3],[209,2],[101,4],[100,2],[108,2],[105,2],[104,2],[99,5],[110,6],[95,7],[106,8],[98,9],[97,10],[107,2],[102,11],[109,2],[103,12],[96,2],[113,13],[119,14],[94,2],[125,15],[121,1],[123,16],[124,1],[126,2],[181,17],[183,18],[187,19],[184,2],[186,20],[185,2],[188,14],[118,2],[190,21],[191,22],[193,23],[194,2],[198,24],[199,24],[195,25],[196,25],[197,25],[200,26],[201,2],[202,2],[203,2],[204,2],[205,27],[206,28],[215,29],[207,2],[214,30],[212,31],[213,32],[216,2],[220,33],[222,34],[221,35],[223,2],[224,2],[226,36],[227,37],[225,38],[228,39],[229,40],[230,41],[231,42],[232,43],[233,44],[234,45],[235,46],[236,47],[237,48],[238,23],[189,2],[239,2],[182,2],[240,23],[242,2],[243,49],[241,50],[127,51],[128,51],[130,52],[131,53],[132,54],[133,55],[134,56],[135,57],[136,58],[137,59],[138,60],[139,61],[140,61],[142,62],[141,63],[143,62],[144,64],[145,65],[129,66],[179,2],[146,67],[147,68],[148,69],[180,70],[149,71],[150,72],[151,73],[152,74],[153,75],[154,76],[155,77],[156,78],[157,79],[158,80],[159,80],[160,81],[161,82],[163,83],[162,84],[164,85],[165,86],[166,2],[167,87],[168,88],[169,89],[170,90],[171,91],[172,92],[173,93],[174,94],[175,95],[176,96],[177,97],[178,98],[244,2],[245,62],[246,2],[218,99],[217,100],[247,2],[248,2],[49,2],[249,2],[111,101],[112,102],[251,103],[250,104],[252,101],[253,101],[47,2],[51,105],[254,2],[255,2],[50,2],[256,2],[257,2],[258,2],[259,2],[260,2],[261,106],[219,2],[263,107],[192,2],[267,2],[265,108],[266,109],[268,2],[269,110],[264,2],[208,2],[48,2],[211,111],[262,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],[114,112],[91,113],[92,114],[93,115],[115,101],[116,2],[117,2],[57,116],[55,101],[67,101],[53,116],[58,116],[54,116],[56,117],[62,2],[63,2],[64,2],[65,2],[66,118],[61,119],[68,120],[59,116],[60,2],[52,121],[88,122],[89,123],[90,2],[78,124],[76,124],[77,124],[79,124],[85,124],[86,124],[72,124],[73,124],[74,124],[75,124],[80,124],[81,124],[82,124],[83,124],[84,124],[71,124],[87,125],[69,126],[70,127]],"exportedModulesMap":[[122,1],[120,2],[210,3],[209,2],[101,4],[100,2],[108,2],[105,2],[104,2],[99,5],[110,6],[95,7],[106,8],[98,9],[97,10],[107,2],[102,11],[109,2],[103,12],[96,2],[113,13],[119,14],[94,2],[125,15],[121,1],[123,16],[124,1],[126,2],[181,17],[183,18],[187,19],[184,2],[186,20],[185,2],[188,14],[118,2],[190,21],[191,22],[193,23],[194,2],[198,24],[199,24],[195,25],[196,25],[197,25],[200,26],[201,2],[202,2],[203,2],[204,2],[205,27],[206,28],[215,29],[207,2],[214,30],[212,31],[213,32],[216,2],[220,33],[222,34],[221,35],[223,2],[224,2],[226,36],[227,37],[225,38],[228,39],[229,40],[230,41],[231,42],[232,43],[233,44],[234,45],[235,46],[236,47],[237,48],[238,23],[189,2],[239,2],[182,2],[240,23],[242,2],[243,49],[241,50],[127,51],[128,51],[130,52],[131,53],[132,54],[133,55],[134,56],[135,57],[136,58],[137,59],[138,60],[139,61],[140,61],[142,62],[141,63],[143,62],[144,64],[145,65],[129,66],[179,2],[146,67],[147,68],[148,69],[180,70],[149,71],[150,72],[151,73],[152,74],[153,75],[154,76],[155,77],[156,78],[157,79],[158,80],[159,80],[160,81],[161,82],[163,83],[162,84],[164,85],[165,86],[166,2],[167,87],[168,88],[169,89],[170,90],[171,91],[172,92],[173,93],[174,94],[175,95],[176,96],[177,97],[178,98],[244,2],[245,62],[246,2],[218,99],[217,100],[247,2],[248,2],[49,2],[249,2],[111,101],[112,102],[251,103],[250,104],[252,101],[253,101],[47,2],[51,105],[254,2],[255,2],[50,2],[256,2],[257,2],[258,2],[259,2],[260,2],[261,106],[219,2],[263,107],[192,2],[267,2],[265,108],[266,109],[268,2],[269,110],[264,2],[208,2],[48,2],[211,111],[262,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],[91,128],[92,129],[93,130],[115,101],[116,2],[117,2],[57,116],[55,101],[67,101],[53,116],[58,116],[54,116],[56,117],[62,2],[63,2],[64,2],[65,2],[66,118],[61,119],[68,120],[59,116],[60,2],[52,121],[88,122],[89,123],[90,2],[78,124],[76,124],[77,124],[79,124],[85,124],[86,124],[72,124],[73,124],[74,124],[75,124],[80,124],[81,124],[82,124],[83,124],[84,124],[71,124],[87,125],[69,126],[70,127]],"semanticDiagnosticsPerFile":[122,120,210,209,101,100,108,105,104,99,110,95,106,98,97,107,102,109,103,96,113,119,94,125,121,123,124,126,181,183,187,184,186,185,188,118,190,191,193,194,198,199,195,196,197,200,201,202,203,204,205,206,215,207,214,212,213,216,220,222,221,223,224,226,227,225,228,229,230,231,232,233,234,235,236,237,238,189,239,182,240,242,243,241,127,128,130,131,132,133,134,135,136,137,138,139,140,142,141,143,144,145,129,179,146,147,148,180,149,150,151,152,153,154,155,156,157,158,159,160,161,163,162,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,244,245,246,218,217,247,248,49,249,111,112,251,250,252,253,47,51,254,255,50,256,257,258,259,260,261,219,263,192,267,265,266,268,269,264,208,48,211,262,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,114,91,92,93,115,116,117,57,55,67,53,58,54,56,62,63,64,65,66,61,68,59,60,52,88,89,90,78,76,77,79,85,86,72,73,74,75,80,81,82,83,84,71,87,69,70],"latestChangedDtsFile":"./dist/components/__tests__/breadcrumbs.test.d.ts"},"version":"4.9.5"}
@@ -1,67 +0,0 @@
1
- import {Meta, Story, Canvas} from "@storybook/addon-docs";
2
- import {StyleSheet} from "aphrodite";
3
-
4
- import {
5
- Breadcrumbs,
6
- BreadcrumbsItem,
7
- } from "@khanacademy/wonder-blocks-breadcrumbs";
8
- import Link from "@khanacademy/wonder-blocks-link";
9
-
10
- <Meta
11
- title="Breadcrumbs / Accessibility"
12
- component={Breadcrumbs}
13
- parameters={{
14
- previewTabs: {
15
- canvas: {hidden: true},
16
- },
17
- viewMode: "docs",
18
- chromatic: {
19
- // Disables chromatic testing for these stories.
20
- disableSnapshot: true,
21
- },
22
- }}
23
- />
24
-
25
- ## Accessibility
26
-
27
- ### Labeling
28
-
29
- `Breadcrumbs` has an `ariaLabel` prop that sets the accessible name on the
30
- the component. By default, this is "Breadcrumbs" as per recommended guidelines.
31
-
32
- This is an example of a component with an accessible label:
33
-
34
- <Canvas>
35
- <Story name="Labeling">
36
- <View>
37
- <Breadcrumbs ariaLabel="Navigation Menu">
38
- <BreadcrumbsItem>
39
- <Link href="">Course</Link>
40
- </BreadcrumbsItem>
41
- <BreadcrumbsItem>
42
- <Link href="">Unit</Link>
43
- </BreadcrumbsItem>
44
- <BreadcrumbsItem>
45
- Lesson
46
- </BreadcrumbsItem>
47
- </Breadcrumbs>
48
- </View>
49
- </Story>
50
- </Canvas>
51
-
52
- ### Nav Role
53
-
54
- Breadcrumbs are `nav` elements. They show up as navigation landmarks to
55
- screen readers.
56
-
57
- ### Current Page
58
-
59
- Guidelines state that the last link in a list of breadcrumbs (the last
60
- `BreadcrumbsItem`) should have the attribute `aria-current="page"` to
61
- indicate that it represents the current page. The implementation already
62
- sets `aria-current="page` to the last element, so developers do not need
63
- to add it themeselves.
64
-
65
- ### References
66
-
67
- [W3C Breadcrumbs Guidelines](https://www.w3.org/TR/wai-aria-practices-1.1/examples/breadcrumb/index.html)
@@ -1,35 +0,0 @@
1
- // @flow
2
-
3
- export default {
4
- children: {
5
- table: {
6
- type: {
7
- summary: "React.ChildrenArray<React.Element<BreadcrumbsItem>>",
8
- detail: "This is the content for the collection of Breadcrumbs.",
9
- },
10
- },
11
- type: {required: true},
12
- },
13
- "aria-label": {
14
- description:
15
- "The description of this component for the screenreader to read.",
16
- control: {
17
- type: "text",
18
- },
19
- table: {
20
- type: {
21
- summary: "string",
22
- },
23
- },
24
- },
25
- testId: {
26
- control: {
27
- type: "text",
28
- },
29
- table: {
30
- type: {
31
- summary: "string",
32
- },
33
- },
34
- },
35
- };
@@ -1,40 +0,0 @@
1
- // @flow
2
- import * as React from "react";
3
-
4
- import Link from "@khanacademy/wonder-blocks-link";
5
- import type {StoryComponentType} from "@storybook/react";
6
-
7
- import Breadcrumbs from "../breadcrumbs";
8
- import BreadcrumbsItem from "../breadcrumbs-item";
9
-
10
- import BreadcrumbsArgTypes from "./breadcrumbs.argtypes";
11
- import ComponentInfo from "../../../../../.storybook/components/component-info";
12
- import {name, version} from "../../../package.json";
13
-
14
- export default {
15
- title: "Breadcrumbs",
16
- component: Breadcrumbs,
17
- subcomponents: {BreadcrumbsItem},
18
- argTypes: BreadcrumbsArgTypes,
19
- parameters: {
20
- componentSubtitle: ((
21
- <ComponentInfo name={name} version={version} />
22
- ): any),
23
- },
24
- };
25
-
26
- /**
27
- * Default Breadcrumbs example. It will be rendered as the first/default
28
- * story and it can be interacted with the controls panel in the Browser.
29
- */
30
- export const Default: StoryComponentType = (args) => (
31
- <Breadcrumbs {...args}>
32
- <BreadcrumbsItem>
33
- <Link href="">Course</Link>
34
- </BreadcrumbsItem>
35
- <BreadcrumbsItem>
36
- <Link href="">Unit</Link>
37
- </BreadcrumbsItem>
38
- <BreadcrumbsItem>Lesson</BreadcrumbsItem>
39
- </Breadcrumbs>
40
- );