@stoplight/elements 9.0.11 → 9.0.12-beta-0.2

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.
Files changed (68) hide show
  1. package/.DS_Store +0 -0
  2. package/.storybook/main.js +6 -0
  3. package/.storybook/manager.js +1 -0
  4. package/.storybook/preview.jsx +3 -0
  5. package/dist/LICENSE +190 -0
  6. package/dist/README.md +19 -0
  7. package/dist/package.json +52 -0
  8. package/jest.config.js +7 -0
  9. package/package.json +76 -16
  10. package/src/__fixtures__/api-descriptions/Instagram.ts +1859 -0
  11. package/src/__fixtures__/api-descriptions/badgesForSchema.ts +36 -0
  12. package/src/__fixtures__/api-descriptions/simpleApiWithInternalOperations.ts +253 -0
  13. package/src/__fixtures__/api-descriptions/simpleApiWithoutDescription.ts +243 -0
  14. package/src/__fixtures__/api-descriptions/todosApiBundled.ts +430 -0
  15. package/src/__fixtures__/api-descriptions/zoomApiYaml.ts +6083 -0
  16. package/src/components/API/APIWithResponsiveSidebarLayout.tsx +125 -0
  17. package/src/components/API/APIWithSidebarLayout.tsx +158 -0
  18. package/src/components/API/APIWithStackedLayout.tsx +286 -0
  19. package/src/components/API/__tests__/utils.test.ts +1323 -0
  20. package/src/components/API/utils.ts +206 -0
  21. package/src/containers/API.spec.tsx +122 -0
  22. package/src/containers/API.stories.tsx +117 -0
  23. package/src/containers/API.tsx +277 -0
  24. package/src/containers/story-helper.tsx +53 -0
  25. package/src/hooks/useExportDocumentProps.spec.tsx +68 -0
  26. package/src/hooks/useExportDocumentProps.tsx +48 -0
  27. package/src/index.ts +6 -0
  28. package/src/styles.css +1 -0
  29. package/src/utils/oas/__tests__/oas.spec.ts +411 -0
  30. package/src/utils/oas/index.ts +192 -0
  31. package/src/utils/oas/oas2.ts +31 -0
  32. package/src/utils/oas/oas3.ts +54 -0
  33. package/src/utils/oas/types.ts +34 -0
  34. package/src/web-components/__stories__/Api.stories.tsx +63 -0
  35. package/src/web-components/components.ts +26 -0
  36. package/src/web-components/index.ts +3 -0
  37. package/tsconfig.build.json +18 -0
  38. package/tsconfig.json +7 -0
  39. package/web-components.config.js +1 -0
  40. package/styles.min.css +0 -1
  41. package/web-components.min.js +0 -2
  42. package/web-components.min.js.LICENSE.txt +0 -176
  43. /package/{__fixtures__ → dist/__fixtures__}/api-descriptions/Instagram.d.ts +0 -0
  44. /package/{__fixtures__ → dist/__fixtures__}/api-descriptions/badgesForSchema.d.ts +0 -0
  45. /package/{__fixtures__ → dist/__fixtures__}/api-descriptions/simpleApiWithInternalOperations.d.ts +0 -0
  46. /package/{__fixtures__ → dist/__fixtures__}/api-descriptions/simpleApiWithoutDescription.d.ts +0 -0
  47. /package/{__fixtures__ → dist/__fixtures__}/api-descriptions/todosApiBundled.d.ts +0 -0
  48. /package/{__fixtures__ → dist/__fixtures__}/api-descriptions/zoomApiYaml.d.ts +0 -0
  49. /package/{components → dist/components}/API/APIWithResponsiveSidebarLayout.d.ts +0 -0
  50. /package/{components → dist/components}/API/APIWithSidebarLayout.d.ts +0 -0
  51. /package/{components → dist/components}/API/APIWithStackedLayout.d.ts +0 -0
  52. /package/{components → dist/components}/API/utils.d.ts +0 -0
  53. /package/{containers → dist/containers}/API.d.ts +0 -0
  54. /package/{containers → dist/containers}/API.spec.d.ts +0 -0
  55. /package/{containers → dist/containers}/API.stories.d.ts +0 -0
  56. /package/{containers → dist/containers}/story-helper.d.ts +0 -0
  57. /package/{hooks → dist/hooks}/useExportDocumentProps.d.ts +0 -0
  58. /package/{hooks → dist/hooks}/useExportDocumentProps.spec.d.ts +0 -0
  59. /package/{index.d.ts → dist/index.d.ts} +0 -0
  60. /package/{index.esm.js → dist/index.esm.js} +0 -0
  61. /package/{index.js → dist/index.js} +0 -0
  62. /package/{index.mjs → dist/index.mjs} +0 -0
  63. /package/{utils → dist/utils}/oas/index.d.ts +0 -0
  64. /package/{utils → dist/utils}/oas/oas2.d.ts +0 -0
  65. /package/{utils → dist/utils}/oas/oas3.d.ts +0 -0
  66. /package/{utils → dist/utils}/oas/types.d.ts +0 -0
  67. /package/{web-components → dist/web-components}/components.d.ts +0 -0
  68. /package/{web-components → dist/web-components}/index.d.ts +0 -0
@@ -1,176 +0,0 @@
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
- */
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes