@jpmorganchase/elemental 1.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/__fixtures__/api-descriptions/Instagram.d.ts +1547 -0
- package/__fixtures__/api-descriptions/badgesForSchema.d.ts +1 -0
- package/__fixtures__/api-descriptions/simpleApiWithInternalOperations.d.ts +224 -0
- package/__fixtures__/api-descriptions/simpleApiWithoutDescription.d.ts +212 -0
- package/__fixtures__/api-descriptions/todosApiBundled.d.ts +1 -0
- package/__fixtures__/api-descriptions/zoomApiYaml.d.ts +1 -0
- package/components/API/APIWithSidebarLayout.d.ts +17 -0
- package/components/API/APIWithStackedLayout.d.ts +15 -0
- package/components/API/utils.d.ts +18 -0
- package/containers/API.d.ts +23 -0
- package/containers/API.spec.d.ts +3 -0
- package/containers/API.stories.d.ts +57 -0
- package/hooks/useExportDocumentProps.d.ts +11 -0
- package/hooks/useExportDocumentProps.spec.d.ts +1 -0
- package/index.esm.js +516 -0
- package/index.js +549 -0
- package/index.mjs +516 -0
- package/package.json +17 -76
- package/styles.min.css +1 -0
- package/utils/oas/index.d.ts +3 -0
- package/utils/oas/oas2.d.ts +2 -0
- package/utils/oas/oas3.d.ts +2 -0
- package/utils/oas/types.d.ts +30 -0
- package/web-components/components.d.ts +1 -0
- package/web-components/index.d.ts +1 -0
- package/web-components.min.js +2 -0
- package/web-components.min.js.LICENSE.txt +189 -0
- package/.storybook/main.js +0 -1
- package/.storybook/manager.js +0 -1
- package/.storybook/preview.jsx +0 -3
- package/jest.config.js +0 -7
- package/src/__fixtures__/api-descriptions/Instagram.ts +0 -1859
- package/src/__fixtures__/api-descriptions/badgesForSchema.ts +0 -36
- package/src/__fixtures__/api-descriptions/simpleApiWithInternalOperations.ts +0 -253
- package/src/__fixtures__/api-descriptions/simpleApiWithoutDescription.ts +0 -243
- package/src/__fixtures__/api-descriptions/todosApiBundled.ts +0 -430
- package/src/__fixtures__/api-descriptions/zoomApiYaml.ts +0 -6083
- package/src/components/API/APIWithSidebarLayout.tsx +0 -111
- package/src/components/API/APIWithStackedLayout.tsx +0 -220
- package/src/components/API/__tests__/utils.test.ts +0 -848
- package/src/components/API/utils.ts +0 -174
- package/src/containers/API.spec.tsx +0 -131
- package/src/containers/API.stories.tsx +0 -99
- package/src/containers/API.tsx +0 -200
- package/src/hooks/useExportDocumentProps.spec.tsx +0 -68
- package/src/hooks/useExportDocumentProps.tsx +0 -48
- package/src/styles.css +0 -1
- package/src/utils/oas/__tests__/oas.spec.ts +0 -272
- package/src/utils/oas/index.ts +0 -150
- package/src/utils/oas/oas2.ts +0 -31
- package/src/utils/oas/oas3.ts +0 -37
- package/src/utils/oas/types.ts +0 -31
- package/src/web-components/__stories__/Api.stories.tsx +0 -63
- package/src/web-components/components.ts +0 -20
- package/src/web-components/index.ts +0 -3
- package/tsconfig.build.json +0 -18
- package/tsconfig.json +0 -7
- package/web-components.config.js +0 -1
- /package/{src/index.ts → index.d.ts} +0 -0
@@ -0,0 +1,189 @@
|
|
1
|
+
/*
|
2
|
+
object-assign
|
3
|
+
(c) Sindre Sorhus
|
4
|
+
@license MIT
|
5
|
+
*/
|
6
|
+
|
7
|
+
/*!
|
8
|
+
Copyright (c) 2018 Jed Watson.
|
9
|
+
Licensed under the MIT License (MIT), see
|
10
|
+
http://jedwatson.github.io/classnames
|
11
|
+
*/
|
12
|
+
|
13
|
+
/*!
|
14
|
+
* Determine if an object is a Buffer
|
15
|
+
*
|
16
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
17
|
+
* @license MIT
|
18
|
+
*/
|
19
|
+
|
20
|
+
/*!
|
21
|
+
* EventEmitter v5.2.9 - git.io/ee
|
22
|
+
* Unlicense - http://unlicense.org/
|
23
|
+
* Oliver Caldwell - https://oli.me.uk/
|
24
|
+
* @preserve
|
25
|
+
*/
|
26
|
+
|
27
|
+
/*!
|
28
|
+
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
|
29
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
30
|
+
* Copyright 2022 Fonticons, Inc.
|
31
|
+
*/
|
32
|
+
|
33
|
+
/*!
|
34
|
+
* The buffer module from node.js, for the browser.
|
35
|
+
*
|
36
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
37
|
+
* @license MIT
|
38
|
+
*/
|
39
|
+
|
40
|
+
/*!
|
41
|
+
* URI.js - Mutating URLs
|
42
|
+
*
|
43
|
+
* Version: 1.19.11
|
44
|
+
*
|
45
|
+
* Author: Rodney Rehm
|
46
|
+
* Web: http://medialize.github.io/URI.js/
|
47
|
+
*
|
48
|
+
* Licensed under
|
49
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
50
|
+
*
|
51
|
+
*/
|
52
|
+
|
53
|
+
/*!
|
54
|
+
* URI.js - Mutating URLs
|
55
|
+
* IPv6 Support
|
56
|
+
*
|
57
|
+
* Version: 1.19.11
|
58
|
+
*
|
59
|
+
* Author: Rodney Rehm
|
60
|
+
* Web: http://medialize.github.io/URI.js/
|
61
|
+
*
|
62
|
+
* Licensed under
|
63
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
64
|
+
*
|
65
|
+
*/
|
66
|
+
|
67
|
+
/*!
|
68
|
+
* URI.js - Mutating URLs
|
69
|
+
* Second Level Domain (SLD) Support
|
70
|
+
*
|
71
|
+
* Version: 1.19.11
|
72
|
+
*
|
73
|
+
* Author: Rodney Rehm
|
74
|
+
* Web: http://medialize.github.io/URI.js/
|
75
|
+
*
|
76
|
+
* Licensed under
|
77
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
78
|
+
*
|
79
|
+
*/
|
80
|
+
|
81
|
+
/*!
|
82
|
+
* repeat-string <https://github.com/jonschlinkert/repeat-string>
|
83
|
+
*
|
84
|
+
* Copyright (c) 2014-2015, Jon Schlinkert.
|
85
|
+
* Licensed under the MIT License.
|
86
|
+
*/
|
87
|
+
|
88
|
+
/*! *****************************************************************************
|
89
|
+
Copyright (c) Microsoft Corporation.
|
90
|
+
|
91
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
92
|
+
purpose with or without fee is hereby granted.
|
93
|
+
|
94
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
95
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
96
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
97
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
98
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
99
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
100
|
+
PERFORMANCE OF THIS SOFTWARE.
|
101
|
+
***************************************************************************** */
|
102
|
+
|
103
|
+
/*! https://mths.be/punycode v1.3.2 by @mathias */
|
104
|
+
|
105
|
+
/*! https://mths.be/punycode v1.4.0 by @mathias */
|
106
|
+
|
107
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
108
|
+
|
109
|
+
/**
|
110
|
+
* @license
|
111
|
+
* Lodash <https://lodash.com/>
|
112
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
113
|
+
* Released under MIT license <https://lodash.com/license>
|
114
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
115
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
116
|
+
*/
|
117
|
+
|
118
|
+
/**
|
119
|
+
* @license https://raw.githubusercontent.com/node-fetch/node-fetch/master/LICENSE.md
|
120
|
+
*
|
121
|
+
* The MIT License (MIT)
|
122
|
+
*
|
123
|
+
* Copyright (c) 2016 - 2020 Node Fetch Team
|
124
|
+
*
|
125
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
126
|
+
* of this software and associated documentation files (the "Software"), to deal
|
127
|
+
* in the Software without restriction, including without limitation the rights
|
128
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
129
|
+
* copies of the Software, and to permit persons to whom the Software is
|
130
|
+
* furnished to do so, subject to the following conditions:
|
131
|
+
*
|
132
|
+
* The above copyright notice and this permission notice shall be included in all
|
133
|
+
* copies or substantial portions of the Software.
|
134
|
+
*
|
135
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
136
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
137
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
138
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
139
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
140
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
141
|
+
* SOFTWARE.
|
142
|
+
*
|
143
|
+
* Extracted from https://github.com/node-fetch/node-fetch/blob/64c5c296a0250b852010746c76144cb9e14698d9/src/utils/form-data.js
|
144
|
+
*/
|
145
|
+
|
146
|
+
/** @license React v0.19.1
|
147
|
+
* scheduler.production.min.js
|
148
|
+
*
|
149
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
150
|
+
*
|
151
|
+
* This source code is licensed under the MIT license found in the
|
152
|
+
* LICENSE file in the root directory of this source tree.
|
153
|
+
*/
|
154
|
+
|
155
|
+
/** @license React v16.13.1
|
156
|
+
* react-is.production.min.js
|
157
|
+
*
|
158
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
159
|
+
*
|
160
|
+
* This source code is licensed under the MIT license found in the
|
161
|
+
* LICENSE file in the root directory of this source tree.
|
162
|
+
*/
|
163
|
+
|
164
|
+
/** @license React v16.14.0
|
165
|
+
* react-dom.production.min.js
|
166
|
+
*
|
167
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
168
|
+
*
|
169
|
+
* This source code is licensed under the MIT license found in the
|
170
|
+
* LICENSE file in the root directory of this source tree.
|
171
|
+
*/
|
172
|
+
|
173
|
+
/** @license React v16.14.0
|
174
|
+
* react-jsx-runtime.production.min.js
|
175
|
+
*
|
176
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
177
|
+
*
|
178
|
+
* This source code is licensed under the MIT license found in the
|
179
|
+
* LICENSE file in the root directory of this source tree.
|
180
|
+
*/
|
181
|
+
|
182
|
+
/** @license React v16.14.0
|
183
|
+
* react.production.min.js
|
184
|
+
*
|
185
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
186
|
+
*
|
187
|
+
* This source code is licensed under the MIT license found in the
|
188
|
+
* LICENSE file in the root directory of this source tree.
|
189
|
+
*/
|
package/.storybook/main.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = require('../../../.storybook/main.js');
|
package/.storybook/manager.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require("../../../.storybook/manager");
|
package/.storybook/preview.jsx
DELETED