@stoplight/elements 9.0.12-beta-0.1 → 9.0.13
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/__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/APIWithResponsiveSidebarLayout.d.ts +25 -0
- package/components/API/APIWithSidebarLayout.d.ts +32 -0
- package/components/API/APIWithStackedLayout.d.ts +29 -0
- package/components/API/utils.d.ts +20 -0
- package/containers/API.d.ts +30 -0
- package/containers/API.spec.d.ts +1 -0
- package/containers/API.stories.d.ts +58 -0
- package/containers/story-helper.d.ts +2 -0
- package/hooks/useExportDocumentProps.d.ts +11 -0
- package/hooks/useExportDocumentProps.spec.d.ts +1 -0
- package/index.esm.js +657 -0
- package/index.js +681 -0
- package/index.mjs +657 -0
- package/package.json +16 -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 +33 -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 +176 -0
- package/.storybook/main.js +0 -6
- 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/APIWithResponsiveSidebarLayout.tsx +0 -125
- package/src/components/API/APIWithSidebarLayout.tsx +0 -158
- package/src/components/API/APIWithStackedLayout.tsx +0 -286
- package/src/components/API/__tests__/utils.test.ts +0 -1323
- package/src/components/API/utils.ts +0 -206
- package/src/containers/API.spec.tsx +0 -122
- package/src/containers/API.stories.tsx +0 -117
- package/src/containers/API.tsx +0 -277
- package/src/containers/story-helper.tsx +0 -53
- 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 -411
- package/src/utils/oas/index.ts +0 -192
- package/src/utils/oas/oas2.ts +0 -31
- package/src/utils/oas/oas3.ts +0 -54
- package/src/utils/oas/types.ts +0 -34
- package/src/web-components/__stories__/Api.stories.tsx +0 -63
- package/src/web-components/components.ts +0 -26
- 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,176 @@
|
|
|
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
|
+
Copyright (c) 2017 Jed Watson.
|
|
15
|
+
Licensed under the MIT License (MIT), see
|
|
16
|
+
http://jedwatson.github.io/classnames
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/*!
|
|
20
|
+
* Determine if an object is a Buffer
|
|
21
|
+
*
|
|
22
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
23
|
+
* @license MIT
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/*!
|
|
27
|
+
* EventEmitter v5.2.9 - git.io/ee
|
|
28
|
+
* Unlicense - http://unlicense.org/
|
|
29
|
+
* Oliver Caldwell - https://oli.me.uk/
|
|
30
|
+
* @preserve
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/*!
|
|
34
|
+
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
|
|
35
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
36
|
+
* Copyright 2022 Fonticons, Inc.
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/*!
|
|
40
|
+
* The buffer module from node.js, for the browser.
|
|
41
|
+
*
|
|
42
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
43
|
+
* @license MIT
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/*!
|
|
47
|
+
* URI.js - Mutating URLs
|
|
48
|
+
*
|
|
49
|
+
* Version: 1.19.11
|
|
50
|
+
*
|
|
51
|
+
* Author: Rodney Rehm
|
|
52
|
+
* Web: http://medialize.github.io/URI.js/
|
|
53
|
+
*
|
|
54
|
+
* Licensed under
|
|
55
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
/*!
|
|
60
|
+
* URI.js - Mutating URLs
|
|
61
|
+
* IPv6 Support
|
|
62
|
+
*
|
|
63
|
+
* Version: 1.19.11
|
|
64
|
+
*
|
|
65
|
+
* Author: Rodney Rehm
|
|
66
|
+
* Web: http://medialize.github.io/URI.js/
|
|
67
|
+
*
|
|
68
|
+
* Licensed under
|
|
69
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
/*!
|
|
74
|
+
* URI.js - Mutating URLs
|
|
75
|
+
* Second Level Domain (SLD) Support
|
|
76
|
+
*
|
|
77
|
+
* Version: 1.19.11
|
|
78
|
+
*
|
|
79
|
+
* Author: Rodney Rehm
|
|
80
|
+
* Web: http://medialize.github.io/URI.js/
|
|
81
|
+
*
|
|
82
|
+
* Licensed under
|
|
83
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
/*!
|
|
88
|
+
* repeat-string <https://github.com/jonschlinkert/repeat-string>
|
|
89
|
+
*
|
|
90
|
+
* Copyright (c) 2014-2015, Jon Schlinkert.
|
|
91
|
+
* Licensed under the MIT License.
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
/*! https://mths.be/punycode v1.3.2 by @mathias */
|
|
95
|
+
|
|
96
|
+
/*! https://mths.be/punycode v1.4.0 by @mathias */
|
|
97
|
+
|
|
98
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @license
|
|
102
|
+
* Lodash <https://lodash.com/>
|
|
103
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
104
|
+
* Released under MIT license <https://lodash.com/license>
|
|
105
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
106
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @remix-run/router v1.21.0
|
|
111
|
+
*
|
|
112
|
+
* Copyright (c) Remix Software Inc.
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the MIT license found in the
|
|
115
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
116
|
+
*
|
|
117
|
+
* @license MIT
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* React Router DOM v6.28.0
|
|
122
|
+
*
|
|
123
|
+
* Copyright (c) Remix Software Inc.
|
|
124
|
+
*
|
|
125
|
+
* This source code is licensed under the MIT license found in the
|
|
126
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
127
|
+
*
|
|
128
|
+
* @license MIT
|
|
129
|
+
*/
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* React Router v6.28.0
|
|
133
|
+
*
|
|
134
|
+
* Copyright (c) Remix Software Inc.
|
|
135
|
+
*
|
|
136
|
+
* This source code is licensed under the MIT license found in the
|
|
137
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
138
|
+
*
|
|
139
|
+
* @license MIT
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
/** @license React v0.19.1
|
|
143
|
+
* scheduler.production.min.js
|
|
144
|
+
*
|
|
145
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
146
|
+
*
|
|
147
|
+
* This source code is licensed under the MIT license found in the
|
|
148
|
+
* LICENSE file in the root directory of this source tree.
|
|
149
|
+
*/
|
|
150
|
+
|
|
151
|
+
/** @license React v16.14.0
|
|
152
|
+
* react-dom.production.min.js
|
|
153
|
+
*
|
|
154
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
155
|
+
*
|
|
156
|
+
* This source code is licensed under the MIT license found in the
|
|
157
|
+
* LICENSE file in the root directory of this source tree.
|
|
158
|
+
*/
|
|
159
|
+
|
|
160
|
+
/** @license React v16.14.0
|
|
161
|
+
* react-jsx-runtime.production.min.js
|
|
162
|
+
*
|
|
163
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
164
|
+
*
|
|
165
|
+
* This source code is licensed under the MIT license found in the
|
|
166
|
+
* LICENSE file in the root directory of this source tree.
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
/** @license React v16.14.0
|
|
170
|
+
* react.production.min.js
|
|
171
|
+
*
|
|
172
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
173
|
+
*
|
|
174
|
+
* This source code is licensed under the MIT license found in the
|
|
175
|
+
* LICENSE file in the root directory of this source tree.
|
|
176
|
+
*/
|
package/.storybook/main.js
DELETED
package/.storybook/manager.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require("../../../.storybook/manager");
|
package/.storybook/preview.jsx
DELETED