es-components 21.6.81 → 21.6.82-7debe2b.0
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 +89 -0
- package/README.md +30 -8
- package/bundle/main.min.js +6 -6
- package/cjs/index.js +399 -161
- package/cypress/.eslintrc.js +3 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/integration/drawer-tests.js +47 -0
- package/cypress/plugins/index.js +22 -0
- package/cypress/support/commands.js +25 -0
- package/cypress/support/index.js +20 -0
- package/cypress-ci.json +9 -0
- package/cypress.json +3 -0
- package/docs-rollup.config.js +0 -2
- package/lib/index.js +395 -160
- package/package.json +29 -24
- package/prettier.config.js +3 -0
- package/rollup.config.js +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,79 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## <small>21.6.82-pre-prod.3 (2022-05-06)</small>
|
|
7
|
+
|
|
8
|
+
* Merge pull request #611 from WTW-IM/replace-master-with-main ([d32a212](https://github.com/wtw-im/es-components/commit/d32a212)), closes [#611](https://github.com/wtw-im/es-components/issues/611)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## <small>21.6.82-pre-prod.2 (2022-05-05)</small>
|
|
15
|
+
|
|
16
|
+
* Merge pull request #612 from WTW-IM/more-flexible-drawers ([b3f8136](https://github.com/wtw-im/es-components/commit/b3f8136)), closes [#612](https://github.com/wtw-im/es-components/issues/612)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## <small>21.6.82-pre-prod.1 (2022-01-31)</small>
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package es-components
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## <small>21.6.82-pre-prod.0 (2022-01-31)</small>
|
|
31
|
+
|
|
32
|
+
* Merge pull request #602 from WTW-IM/dependabot/npm_and_yarn/packages/es-components/follow-redirects- ([5d1291d](https://github.com/wtw-im/es-components/commit/5d1291d)), closes [#602](https://github.com/wtw-im/es-components/issues/602)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## <small>21.6.81 (2022-01-26)</small>
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package es-components
|
|
9
41
|
|
|
10
42
|
|
|
11
43
|
|
|
44
|
+
## <small>21.6.81-pre-prod.2 (2022-01-31)</small>
|
|
45
|
+
|
|
46
|
+
* Merge pull request #598 from WTW-IM/dependabot/npm_and_yarn/packages/es-components/follow-redirects- ([86b4b58](https://github.com/wtw-im/es-components/commit/86b4b58)), closes [#598](https://github.com/wtw-im/es-components/issues/598)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## <small>21.6.81-pre-prod.1 (2022-01-31)</small>
|
|
53
|
+
|
|
54
|
+
* Merge pull request #600 from WTW-IM/tab-panel-null-check ([fa065c8](https://github.com/wtw-im/es-components/commit/fa065c8)), closes [#600](https://github.com/wtw-im/es-components/issues/600)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## <small>21.6.81-pre-prod.0 (2022-01-26)</small>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## <small>21.6.80-pre-prod.0 (2022-01-26)</small>
|
|
66
|
+
|
|
67
|
+
* Merging master into pre-prod [skip-release] ([bfee85f](https://github.com/wtw-im/es-components/commit/bfee85f))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## <small>21.6.80-pre-prod.0 (2022-01-26)</small>
|
|
73
|
+
|
|
74
|
+
* [skip ci] v21.6.80-pre-prod.0 ([58ac744](https://github.com/wtw-im/es-components/commit/58ac744))
|
|
75
|
+
* Merging master into pre-prod [skip-release] ([bfee85f](https://github.com/wtw-im/es-components/commit/bfee85f))
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
12
79
|
|
|
13
80
|
|
|
14
81
|
## <small>21.6.79 (2022-01-26)</small>
|
|
@@ -25,6 +92,28 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
25
92
|
|
|
26
93
|
|
|
27
94
|
|
|
95
|
+
## <small>21.6.78-pre-prod.7 (2022-01-26)</small>
|
|
96
|
+
|
|
97
|
+
* [skip ci] v21.6.78-pre-prod.7 ([e61ef35](https://github.com/wtw-im/es-components/commit/e61ef35))
|
|
98
|
+
* Merging master into pre-prod [skip-release] ([1401dc4](https://github.com/wtw-im/es-components/commit/1401dc4))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
## <small>21.6.78-pre-prod.6 (2021-11-18)</small>
|
|
103
|
+
|
|
104
|
+
* [skip ci] v21.6.78-pre-prod.6 ([6e31f4e](https://github.com/wtw-im/es-components/commit/6e31f4e))
|
|
105
|
+
* Added disableCloseOnScroll prop to Popover ([bb387db](https://github.com/wtw-im/es-components/commit/bb387db))
|
|
106
|
+
* Added disbleScrollOnClose to useEffect deps ([5a6fccc](https://github.com/wtw-im/es-components/commit/5a6fccc))
|
|
107
|
+
* Merged in proper base branch ([e62f77f](https://github.com/wtw-im/es-components/commit/e62f77f))
|
|
108
|
+
* Returning noop instead of undefined when disableCloseOnScroll ([23f4a82](https://github.com/wtw-im/es-components/commit/23f4a82))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
## <small>21.6.78-pre-prod.5 (2021-11-12)</small>
|
|
112
|
+
|
|
113
|
+
* [skip ci] v21.6.78-pre-prod.5 ([c719ba2](https://github.com/wtw-im/es-components/commit/c719ba2))
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
28
117
|
## <small>21.6.77 (2021-10-22)</small>
|
|
29
118
|
|
|
30
119
|
* [skip ci] v21.6.77 ([4e07bf1](https://github.com/wtw-im/es-components/commit/4e07bf1))
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Exchange Solutions React components
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.com/WTW-IM/es-components)
|
|
4
4
|
[](https://badge.fury.io/js/es-components)
|
|
5
5
|
|
|
6
6
|
## Documentation and Demos
|
|
@@ -33,14 +33,36 @@ Because ES Components needs a reference to `document.body` on startup, you must
|
|
|
33
33
|
<meta charset="UTF-8" />
|
|
34
34
|
<title>My ES Components Site</title>
|
|
35
35
|
<!-- These fonts are used by es-components -->
|
|
36
|
-
<link
|
|
37
|
-
|
|
36
|
+
<link
|
|
37
|
+
rel="stylesheet"
|
|
38
|
+
href="https://bdaim-webexcdn-p.azureedge.net/es-assets/icons.css"
|
|
39
|
+
/>
|
|
40
|
+
<link
|
|
41
|
+
rel="stylesheet"
|
|
42
|
+
href="https://bdaim-webexcdn-p.azureedge.net/es-assets/source-sans-pro.css"
|
|
43
|
+
/>
|
|
38
44
|
<!-- You must include React, ReactDOM, PropTypes and Styled Components. ES Components depends on those packages. -->
|
|
39
|
-
<script
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<script
|
|
45
|
+
<script
|
|
46
|
+
crossorigin
|
|
47
|
+
src="https://unpkg.com/react@16/umd/react.production.min.js"
|
|
48
|
+
></script>
|
|
49
|
+
<script
|
|
50
|
+
crossorigin
|
|
51
|
+
src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"
|
|
52
|
+
></script>
|
|
53
|
+
<script
|
|
54
|
+
crossorigin
|
|
55
|
+
src="https://unpkg.com/prop-types@15/prop-types.js"
|
|
56
|
+
></script>
|
|
57
|
+
<script
|
|
58
|
+
crossorigin
|
|
59
|
+
src="https://unpkg.com/styled-components/dist/styled-components.min.js"
|
|
60
|
+
></script>
|
|
61
|
+
<script
|
|
62
|
+
crossorigin
|
|
63
|
+
defer
|
|
64
|
+
src="https://unpkg.com/es-components/bundle/main.min.js"
|
|
65
|
+
></script>
|
|
44
66
|
</head>
|
|
45
67
|
|
|
46
68
|
<body>
|