@teambit/react-router 1.0.256 → 1.0.258
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
|
3
|
-
<testsuite name="teambit.ui-foundation/react-router@1.0.
|
|
3
|
+
<testsuite name="teambit.ui-foundation/react-router@1.0.258" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.ui-foundation/react-router-preview"]=t():e["teambit.ui-foundation/react-router-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.ui-foundation/react-router-preview"]=t():e["teambit.ui-foundation/react-router-preview"]=t()}(self,(()=>(()=>{"use strict";var e={88984:(e,t,o)=>{var r={id:"teambit.ui-foundation/react-router@1.0.258",homepage:"https://bit.cloud/teambit/ui-foundation/react-router",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/react-router.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{o.r(r),o.d(r,{compositions:()=>d,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>s});var t=o(88984);o(41594);const n=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}var u={},p="wrapper";function s(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,a);return(0,n.mdx)(p,c({},u,o,{components:t,mdxType:"MDXLayout"}),(0,n.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}s.isMDXComponent=!0;const d=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -14,562 +14,564 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": [
|
|
16
16
|
{
|
|
17
|
-
"__schema": "
|
|
17
|
+
"__schema": "ExportSchema",
|
|
18
18
|
"location": {
|
|
19
|
-
"filePath": "
|
|
20
|
-
"line":
|
|
21
|
-
"character":
|
|
19
|
+
"filePath": "index.ts",
|
|
20
|
+
"line": 3,
|
|
21
|
+
"character": 10
|
|
22
22
|
},
|
|
23
|
-
"signature": "enum Routing",
|
|
24
23
|
"name": "Routing",
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"character": 3
|
|
32
|
-
},
|
|
33
|
-
"signature": "(enum member) Routing.url = 0",
|
|
34
|
-
"name": "url"
|
|
24
|
+
"exportNode": {
|
|
25
|
+
"__schema": "EnumSchema",
|
|
26
|
+
"location": {
|
|
27
|
+
"filePath": "routing-method.tsx",
|
|
28
|
+
"line": 1,
|
|
29
|
+
"character": 1
|
|
35
30
|
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
31
|
+
"signature": "enum Routing",
|
|
32
|
+
"name": "Routing",
|
|
33
|
+
"members": [
|
|
34
|
+
{
|
|
35
|
+
"__schema": "EnumMemberSchema",
|
|
36
|
+
"location": {
|
|
37
|
+
"filePath": "routing-method.tsx",
|
|
38
|
+
"line": 2,
|
|
39
|
+
"character": 3
|
|
40
|
+
},
|
|
41
|
+
"signature": "(enum member) Routing.url = 0",
|
|
42
|
+
"name": "url"
|
|
42
43
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
44
|
+
{
|
|
45
|
+
"__schema": "EnumMemberSchema",
|
|
46
|
+
"location": {
|
|
47
|
+
"filePath": "routing-method.tsx",
|
|
48
|
+
"line": 3,
|
|
49
|
+
"character": 3
|
|
50
|
+
},
|
|
51
|
+
"signature": "(enum member) Routing.hash = 1",
|
|
52
|
+
"name": "hash"
|
|
52
53
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
54
|
+
{
|
|
55
|
+
"__schema": "EnumMemberSchema",
|
|
56
|
+
"location": {
|
|
57
|
+
"filePath": "routing-method.tsx",
|
|
58
|
+
"line": 4,
|
|
59
|
+
"character": 3
|
|
60
|
+
},
|
|
61
|
+
"signature": "(enum member) Routing.inMemory = 2",
|
|
62
|
+
"name": "inMemory"
|
|
62
63
|
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
{
|
|
65
|
+
"__schema": "EnumMemberSchema",
|
|
66
|
+
"location": {
|
|
67
|
+
"filePath": "routing-method.tsx",
|
|
68
|
+
"line": 5,
|
|
69
|
+
"character": 3
|
|
70
|
+
},
|
|
71
|
+
"signature": "(enum member) Routing.static = 3",
|
|
72
|
+
"name": "static"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
67
76
|
},
|
|
68
77
|
{
|
|
69
|
-
"__schema": "
|
|
78
|
+
"__schema": "ExportSchema",
|
|
70
79
|
"location": {
|
|
71
|
-
"filePath": "
|
|
72
|
-
"line":
|
|
73
|
-
"character":
|
|
80
|
+
"filePath": "index.ts",
|
|
81
|
+
"line": 4,
|
|
82
|
+
"character": 15
|
|
74
83
|
},
|
|
75
|
-
"signature": "class ReactRouterUI",
|
|
76
84
|
"name": "ReactRouterUI",
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
85
|
+
"exportNode": {
|
|
86
|
+
"__schema": "ClassSchema",
|
|
87
|
+
"location": {
|
|
88
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
89
|
+
"line": 18,
|
|
90
|
+
"character": 1
|
|
91
|
+
},
|
|
92
|
+
"signature": "class ReactRouterUI",
|
|
93
|
+
"name": "ReactRouterUI",
|
|
94
|
+
"members": [
|
|
95
|
+
{
|
|
96
|
+
"__schema": "ConstructorSchema",
|
|
97
|
+
"location": {
|
|
98
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
99
|
+
"line": 21,
|
|
100
|
+
"character": 3
|
|
101
|
+
},
|
|
102
|
+
"signature": "constructor ReactRouterUI(routeSlot: RouteSlot, routeChangeListener: RouteChangeSlot): ReactRouterUI",
|
|
103
|
+
"name": "constructor",
|
|
104
|
+
"params": [
|
|
105
|
+
{
|
|
106
|
+
"__schema": "ParameterSchema",
|
|
98
107
|
"location": {
|
|
99
108
|
"filePath": "react-router.ui.runtime.tsx",
|
|
100
109
|
"line": 25,
|
|
101
|
-
"character":
|
|
110
|
+
"character": 5
|
|
102
111
|
},
|
|
103
|
-
"name": "
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"location": {
|
|
116
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
117
|
-
"line": 29,
|
|
118
|
-
"character": 5
|
|
112
|
+
"name": "routeSlot",
|
|
113
|
+
"type": {
|
|
114
|
+
"__schema": "TypeRefSchema",
|
|
115
|
+
"location": {
|
|
116
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
117
|
+
"line": 25,
|
|
118
|
+
"character": 24
|
|
119
|
+
},
|
|
120
|
+
"name": "RouteSlot"
|
|
121
|
+
},
|
|
122
|
+
"isOptional": false,
|
|
123
|
+
"isSpread": false
|
|
119
124
|
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"__schema": "TypeRefSchema",
|
|
125
|
+
{
|
|
126
|
+
"__schema": "ParameterSchema",
|
|
123
127
|
"location": {
|
|
124
128
|
"filePath": "react-router.ui.runtime.tsx",
|
|
125
129
|
"line": 29,
|
|
126
|
-
"character":
|
|
130
|
+
"character": 5
|
|
131
|
+
},
|
|
132
|
+
"name": "routeChangeListener",
|
|
133
|
+
"type": {
|
|
134
|
+
"__schema": "TypeRefSchema",
|
|
135
|
+
"location": {
|
|
136
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
137
|
+
"line": 29,
|
|
138
|
+
"character": 34
|
|
139
|
+
},
|
|
140
|
+
"name": "RouteChangeSlot"
|
|
127
141
|
},
|
|
128
|
-
"
|
|
129
|
-
"
|
|
142
|
+
"isOptional": false,
|
|
143
|
+
"isSpread": false
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"returnType": {
|
|
147
|
+
"__schema": "ThisTypeSchema",
|
|
148
|
+
"location": {
|
|
149
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
150
|
+
"line": 18,
|
|
151
|
+
"character": 1
|
|
130
152
|
},
|
|
131
|
-
"
|
|
132
|
-
"isSpread": false
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"returnType": {
|
|
136
|
-
"__schema": "ThisTypeSchema",
|
|
137
|
-
"location": {
|
|
138
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
139
|
-
"line": 18,
|
|
140
|
-
"character": 1
|
|
153
|
+
"name": "ReactRouterUI"
|
|
141
154
|
},
|
|
142
|
-
"
|
|
143
|
-
},
|
|
144
|
-
"modifiers": []
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"__schema": "ReactSchema",
|
|
148
|
-
"location": {
|
|
149
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
150
|
-
"line": 35,
|
|
151
|
-
"character": 3
|
|
155
|
+
"modifiers": []
|
|
152
156
|
},
|
|
153
|
-
|
|
154
|
-
"__schema": "
|
|
157
|
+
{
|
|
158
|
+
"__schema": "ReactSchema",
|
|
155
159
|
"location": {
|
|
156
160
|
"filePath": "react-router.ui.runtime.tsx",
|
|
157
|
-
"line":
|
|
161
|
+
"line": 35,
|
|
158
162
|
"character": 3
|
|
159
163
|
},
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
"
|
|
169
|
-
"line": 35,
|
|
170
|
-
"character": 16
|
|
164
|
+
"doc": {
|
|
165
|
+
"__schema": "DocSchema",
|
|
166
|
+
"location": {
|
|
167
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
168
|
+
"line": 32,
|
|
169
|
+
"character": 3
|
|
170
|
+
},
|
|
171
|
+
"raw": "/**\n * render all slot routes.\n */",
|
|
172
|
+
"comment": "render all slot routes."
|
|
171
173
|
},
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
|
|
174
|
+
"signature": "(method) ReactRouterUI.renderRoutes(routes: RouteProps[]): React.JSX.Element",
|
|
175
|
+
"name": "renderRoutes",
|
|
176
|
+
"props": {
|
|
177
|
+
"__schema": "ParameterSchema",
|
|
175
178
|
"location": {
|
|
176
179
|
"filePath": "react-router.ui.runtime.tsx",
|
|
177
180
|
"line": 35,
|
|
178
|
-
"character":
|
|
181
|
+
"character": 16
|
|
179
182
|
},
|
|
183
|
+
"name": "routes",
|
|
180
184
|
"type": {
|
|
181
|
-
"__schema": "
|
|
185
|
+
"__schema": "TypeArraySchema",
|
|
182
186
|
"location": {
|
|
183
187
|
"filePath": "react-router.ui.runtime.tsx",
|
|
184
188
|
"line": 35,
|
|
185
189
|
"character": 24
|
|
186
190
|
},
|
|
187
|
-
"
|
|
188
|
-
|
|
189
|
-
|
|
191
|
+
"type": {
|
|
192
|
+
"__schema": "TypeRefSchema",
|
|
193
|
+
"location": {
|
|
194
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
195
|
+
"line": 35,
|
|
196
|
+
"character": 24
|
|
197
|
+
},
|
|
198
|
+
"name": "RouteProps"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"isOptional": false,
|
|
202
|
+
"isSpread": false
|
|
190
203
|
},
|
|
191
|
-
"
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
"
|
|
204
|
+
"returnType": {
|
|
205
|
+
"__schema": "TypeRefSchema",
|
|
206
|
+
"location": {
|
|
207
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
208
|
+
"line": 35,
|
|
209
|
+
"character": 3
|
|
210
|
+
},
|
|
211
|
+
"name": "React.JSX.Element",
|
|
212
|
+
"packageName": "react"
|
|
200
213
|
},
|
|
201
|
-
"
|
|
202
|
-
"packageName": "react"
|
|
203
|
-
},
|
|
204
|
-
"modifiers": []
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"__schema": "FunctionLikeSchema",
|
|
208
|
-
"location": {
|
|
209
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
210
|
-
"line": 44,
|
|
211
|
-
"character": 3
|
|
214
|
+
"modifiers": []
|
|
212
215
|
},
|
|
213
|
-
|
|
214
|
-
"__schema": "
|
|
216
|
+
{
|
|
217
|
+
"__schema": "FunctionLikeSchema",
|
|
215
218
|
"location": {
|
|
216
219
|
"filePath": "react-router.ui.runtime.tsx",
|
|
217
|
-
"line":
|
|
220
|
+
"line": 44,
|
|
218
221
|
"character": 3
|
|
219
222
|
},
|
|
220
|
-
"
|
|
221
|
-
|
|
222
|
-
},
|
|
223
|
-
"signature": "(method) ReactRouterUI.setRoutingMode(routing: Routing): void",
|
|
224
|
-
"name": "setRoutingMode",
|
|
225
|
-
"params": [
|
|
226
|
-
{
|
|
227
|
-
"__schema": "ParameterSchema",
|
|
223
|
+
"doc": {
|
|
224
|
+
"__schema": "DocSchema",
|
|
228
225
|
"location": {
|
|
229
226
|
"filePath": "react-router.ui.runtime.tsx",
|
|
230
|
-
"line":
|
|
231
|
-
"character":
|
|
227
|
+
"line": 39,
|
|
228
|
+
"character": 3
|
|
232
229
|
},
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
|
|
230
|
+
"raw": "/** decides how navigation is stored and applied.\n * Url - updates the `window.location.pathname`.\n * Hash - updates `window.location.hash`.\n * InMemory - store state internally and don't update the browser.\n */",
|
|
231
|
+
"comment": "decides how navigation is stored and applied.\nUrl - updates the `window.location.pathname`.\nHash - updates `window.location.hash`.\nInMemory - store state internally and don't update the browser."
|
|
232
|
+
},
|
|
233
|
+
"signature": "(method) ReactRouterUI.setRoutingMode(routing: Routing): void",
|
|
234
|
+
"name": "setRoutingMode",
|
|
235
|
+
"params": [
|
|
236
|
+
{
|
|
237
|
+
"__schema": "ParameterSchema",
|
|
236
238
|
"location": {
|
|
237
239
|
"filePath": "react-router.ui.runtime.tsx",
|
|
238
240
|
"line": 44,
|
|
239
|
-
"character":
|
|
241
|
+
"character": 18
|
|
240
242
|
},
|
|
241
|
-
"name": "
|
|
243
|
+
"name": "routing",
|
|
244
|
+
"type": {
|
|
245
|
+
"__schema": "TypeRefSchema",
|
|
246
|
+
"location": {
|
|
247
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
248
|
+
"line": 44,
|
|
249
|
+
"character": 27
|
|
250
|
+
},
|
|
251
|
+
"name": "Routing"
|
|
252
|
+
},
|
|
253
|
+
"isOptional": false,
|
|
254
|
+
"isSpread": false
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"returnType": {
|
|
258
|
+
"__schema": "InferenceTypeSchema",
|
|
259
|
+
"location": {
|
|
260
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
261
|
+
"line": 44,
|
|
262
|
+
"character": 3
|
|
242
263
|
},
|
|
243
|
-
"
|
|
244
|
-
"isSpread": false
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"returnType": {
|
|
248
|
-
"__schema": "InferenceTypeSchema",
|
|
249
|
-
"location": {
|
|
250
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
251
|
-
"line": 44,
|
|
252
|
-
"character": 3
|
|
264
|
+
"type": "void"
|
|
253
265
|
},
|
|
254
|
-
"
|
|
255
|
-
},
|
|
256
|
-
"modifiers": []
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"__schema": "FunctionLikeSchema",
|
|
260
|
-
"location": {
|
|
261
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
262
|
-
"line": 51,
|
|
263
|
-
"character": 3
|
|
266
|
+
"modifiers": []
|
|
264
267
|
},
|
|
265
|
-
|
|
266
|
-
"__schema": "
|
|
268
|
+
{
|
|
269
|
+
"__schema": "FunctionLikeSchema",
|
|
267
270
|
"location": {
|
|
268
271
|
"filePath": "react-router.ui.runtime.tsx",
|
|
269
|
-
"line":
|
|
272
|
+
"line": 51,
|
|
270
273
|
"character": 3
|
|
271
274
|
},
|
|
272
|
-
"
|
|
273
|
-
|
|
274
|
-
},
|
|
275
|
-
"signature": "(method) ReactRouterUI.register(route: RouteProps): this",
|
|
276
|
-
"name": "register",
|
|
277
|
-
"params": [
|
|
278
|
-
{
|
|
279
|
-
"__schema": "ParameterSchema",
|
|
275
|
+
"doc": {
|
|
276
|
+
"__schema": "DocSchema",
|
|
280
277
|
"location": {
|
|
281
278
|
"filePath": "react-router.ui.runtime.tsx",
|
|
282
|
-
"line":
|
|
283
|
-
"character":
|
|
279
|
+
"line": 48,
|
|
280
|
+
"character": 3
|
|
284
281
|
},
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
|
|
282
|
+
"raw": "/**\n * register a new route.\n */",
|
|
283
|
+
"comment": "register a new route."
|
|
284
|
+
},
|
|
285
|
+
"signature": "(method) ReactRouterUI.register(route: RouteProps): this",
|
|
286
|
+
"name": "register",
|
|
287
|
+
"params": [
|
|
288
|
+
{
|
|
289
|
+
"__schema": "ParameterSchema",
|
|
288
290
|
"location": {
|
|
289
291
|
"filePath": "react-router.ui.runtime.tsx",
|
|
290
292
|
"line": 51,
|
|
291
|
-
"character":
|
|
293
|
+
"character": 12
|
|
292
294
|
},
|
|
293
|
-
"name": "
|
|
294
|
-
"
|
|
295
|
+
"name": "route",
|
|
296
|
+
"type": {
|
|
297
|
+
"__schema": "TypeRefSchema",
|
|
298
|
+
"location": {
|
|
299
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
300
|
+
"line": 51,
|
|
301
|
+
"character": 19
|
|
302
|
+
},
|
|
303
|
+
"name": "RouteProps"
|
|
304
|
+
},
|
|
305
|
+
"isOptional": false,
|
|
306
|
+
"isSpread": false
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"returnType": {
|
|
310
|
+
"__schema": "TypeRefSchema",
|
|
311
|
+
"location": {
|
|
312
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
313
|
+
"line": 51,
|
|
314
|
+
"character": 3
|
|
295
315
|
},
|
|
296
|
-
"
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
"__schema": "
|
|
316
|
+
"name": "ReactRouterUI"
|
|
317
|
+
},
|
|
318
|
+
"modifiers": []
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"__schema": "FunctionLikeSchema",
|
|
302
322
|
"location": {
|
|
303
323
|
"filePath": "react-router.ui.runtime.tsx",
|
|
304
|
-
"line":
|
|
324
|
+
"line": 56,
|
|
305
325
|
"character": 3
|
|
306
326
|
},
|
|
307
|
-
"
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
"__schema": "FunctionLikeSchema",
|
|
313
|
-
"location": {
|
|
314
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
315
|
-
"line": 56,
|
|
316
|
-
"character": 3
|
|
317
|
-
},
|
|
318
|
-
"signature": "(method) ReactRouterUI.registerListener(listener: LocationListener): void",
|
|
319
|
-
"name": "registerListener",
|
|
320
|
-
"params": [
|
|
321
|
-
{
|
|
322
|
-
"__schema": "ParameterSchema",
|
|
323
|
-
"location": {
|
|
324
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
325
|
-
"line": 56,
|
|
326
|
-
"character": 20
|
|
327
|
-
},
|
|
328
|
-
"name": "listener",
|
|
329
|
-
"type": {
|
|
330
|
-
"__schema": "TypeRefSchema",
|
|
327
|
+
"signature": "(method) ReactRouterUI.registerListener(listener: LocationListener): void",
|
|
328
|
+
"name": "registerListener",
|
|
329
|
+
"params": [
|
|
330
|
+
{
|
|
331
|
+
"__schema": "ParameterSchema",
|
|
331
332
|
"location": {
|
|
332
333
|
"filePath": "react-router.ui.runtime.tsx",
|
|
333
334
|
"line": 56,
|
|
334
|
-
"character":
|
|
335
|
+
"character": 20
|
|
336
|
+
},
|
|
337
|
+
"name": "listener",
|
|
338
|
+
"type": {
|
|
339
|
+
"__schema": "TypeRefSchema",
|
|
340
|
+
"location": {
|
|
341
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
342
|
+
"line": 56,
|
|
343
|
+
"character": 30
|
|
344
|
+
},
|
|
345
|
+
"name": "LocationListener"
|
|
335
346
|
},
|
|
336
|
-
"
|
|
337
|
-
"
|
|
347
|
+
"isOptional": false,
|
|
348
|
+
"isSpread": false
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"returnType": {
|
|
352
|
+
"__schema": "InferenceTypeSchema",
|
|
353
|
+
"location": {
|
|
354
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
355
|
+
"line": 56,
|
|
356
|
+
"character": 3
|
|
338
357
|
},
|
|
339
|
-
"
|
|
340
|
-
"isSpread": false
|
|
341
|
-
}
|
|
342
|
-
],
|
|
343
|
-
"returnType": {
|
|
344
|
-
"__schema": "InferenceTypeSchema",
|
|
345
|
-
"location": {
|
|
346
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
347
|
-
"line": 56,
|
|
348
|
-
"character": 3
|
|
349
|
-
},
|
|
350
|
-
"type": "void"
|
|
351
|
-
},
|
|
352
|
-
"modifiers": []
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"__schema": "VariableLikeSchema",
|
|
356
|
-
"location": {
|
|
357
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
358
|
-
"line": 63,
|
|
359
|
-
"character": 3
|
|
360
|
-
},
|
|
361
|
-
"doc": {
|
|
362
|
-
"__schema": "DocSchema",
|
|
363
|
-
"location": {
|
|
364
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
365
|
-
"line": 60,
|
|
366
|
-
"character": 3
|
|
358
|
+
"type": "void"
|
|
367
359
|
},
|
|
368
|
-
"
|
|
369
|
-
"comment": "change browser location"
|
|
360
|
+
"modifiers": []
|
|
370
361
|
},
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
"type": {
|
|
374
|
-
"__schema": "InferenceTypeSchema",
|
|
362
|
+
{
|
|
363
|
+
"__schema": "VariableLikeSchema",
|
|
375
364
|
"location": {
|
|
376
365
|
"filePath": "react-router.ui.runtime.tsx",
|
|
377
366
|
"line": 63,
|
|
378
367
|
"character": 3
|
|
379
368
|
},
|
|
380
|
-
"
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
"
|
|
369
|
+
"doc": {
|
|
370
|
+
"__schema": "DocSchema",
|
|
371
|
+
"location": {
|
|
372
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
373
|
+
"line": 60,
|
|
374
|
+
"character": 3
|
|
375
|
+
},
|
|
376
|
+
"raw": "/**\n * change browser location\n */",
|
|
377
|
+
"comment": "change browser location"
|
|
378
|
+
},
|
|
379
|
+
"signature": "(property) ReactRouterUI.navigateTo: (path: Location | string, action?: NavigationType) => void",
|
|
380
|
+
"name": "navigateTo",
|
|
381
|
+
"type": {
|
|
382
|
+
"__schema": "InferenceTypeSchema",
|
|
383
|
+
"location": {
|
|
384
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
385
|
+
"line": 63,
|
|
386
|
+
"character": 3
|
|
387
|
+
},
|
|
388
|
+
"type": "(path: Location | string, action?: NavigationType) => void"
|
|
389
|
+
},
|
|
390
|
+
"isOptional": true,
|
|
391
|
+
"defaultValue": "(\n /** destination */\n path: Location | string,\n /** history action to execute (pop / push / replace) */\n action?: NavigationType\n ) => {\n const state = typeof path !== 'string' ? path.state : undefined;\n\n switch (action) {\n case 'POP':\n return; // TBD;\n case 'REPLACE':\n this.navigate?.(path, { replace: true, state });\n return;\n case 'PUSH':\n default:\n this.navigate?.(path, { state });\n }\n }"
|
|
391
392
|
},
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
"type": {
|
|
395
|
-
"__schema": "TypeRefSchema",
|
|
393
|
+
{
|
|
394
|
+
"__schema": "VariableLikeSchema",
|
|
396
395
|
"location": {
|
|
397
396
|
"filePath": "react-router.ui.runtime.tsx",
|
|
398
397
|
"line": 114,
|
|
399
|
-
"character":
|
|
398
|
+
"character": 3
|
|
400
399
|
},
|
|
401
|
-
"
|
|
402
|
-
"
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
"
|
|
400
|
+
"signature": "(property) ReactRouterUI.renderPlugin: SSR.RenderPlugin<RenderContext, unknown>",
|
|
401
|
+
"name": "renderPlugin",
|
|
402
|
+
"type": {
|
|
403
|
+
"__schema": "TypeRefSchema",
|
|
404
|
+
"location": {
|
|
405
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
406
|
+
"line": 114,
|
|
407
|
+
"character": 24
|
|
408
|
+
},
|
|
409
|
+
"name": "SSR.RenderPlugin",
|
|
410
|
+
"typeArgs": [
|
|
411
|
+
{
|
|
412
|
+
"__schema": "TypeRefSchema",
|
|
413
|
+
"location": {
|
|
414
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
415
|
+
"line": 114,
|
|
416
|
+
"character": 41
|
|
417
|
+
},
|
|
418
|
+
"name": "RenderContext"
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
"isOptional": true,
|
|
423
|
+
"defaultValue": "{\n browserInit: () => {\n const initialLocation = `${window.location.pathname}${window.location.search}${window.location.hash}`;\n return { initialLocation };\n },\n serverInit: ({ browser }) => {\n const initialLocation = browser?.location.url;\n return { initialLocation };\n },\n reactClientContext: this.RoutingContext,\n reactServerContext: this.ServerRouting,\n }"
|
|
424
424
|
},
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
"type": {
|
|
428
|
-
"__schema": "InferenceTypeSchema",
|
|
425
|
+
{
|
|
426
|
+
"__schema": "VariableLikeSchema",
|
|
429
427
|
"location": {
|
|
430
428
|
"filePath": "react-router.ui.runtime.tsx",
|
|
431
429
|
"line": 127,
|
|
432
430
|
"character": 3
|
|
433
431
|
},
|
|
434
|
-
"
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
432
|
+
"signature": "(property) ReactRouterUI.slots: (((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<LocationListener>))[]",
|
|
433
|
+
"name": "slots",
|
|
434
|
+
"type": {
|
|
435
|
+
"__schema": "InferenceTypeSchema",
|
|
436
|
+
"location": {
|
|
437
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
438
|
+
"line": 127,
|
|
439
|
+
"character": 3
|
|
440
|
+
},
|
|
441
|
+
"type": "(((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<LocationListener>))[]"
|
|
442
|
+
},
|
|
443
|
+
"isOptional": true,
|
|
444
|
+
"defaultValue": "[Slot.withType<RouteProps>(), Slot.withType<LocationListener>()]"
|
|
445
445
|
},
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
"type": {
|
|
449
|
-
"__schema": "InferenceTypeSchema",
|
|
446
|
+
{
|
|
447
|
+
"__schema": "VariableLikeSchema",
|
|
450
448
|
"location": {
|
|
451
449
|
"filePath": "react-router.ui.runtime.tsx",
|
|
452
450
|
"line": 128,
|
|
453
451
|
"character": 3
|
|
454
452
|
},
|
|
455
|
-
"
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"__schema": "FunctionLikeSchema",
|
|
462
|
-
"location": {
|
|
463
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
464
|
-
"line": 130,
|
|
465
|
-
"character": 3
|
|
466
|
-
},
|
|
467
|
-
"signature": "(method) ReactRouterUI.provider(deps: any, config: any, [routeSlot, routeChangeSlot]: [RouteSlot, RouteChangeSlot]): Promise<ReactRouterUI>",
|
|
468
|
-
"name": "provider",
|
|
469
|
-
"params": [
|
|
470
|
-
{
|
|
471
|
-
"__schema": "ParameterSchema",
|
|
453
|
+
"signature": "(property) ReactRouterUI.runtime: RuntimeDefinition",
|
|
454
|
+
"name": "runtime",
|
|
455
|
+
"type": {
|
|
456
|
+
"__schema": "InferenceTypeSchema",
|
|
472
457
|
"location": {
|
|
473
458
|
"filePath": "react-router.ui.runtime.tsx",
|
|
474
|
-
"line":
|
|
475
|
-
"character":
|
|
459
|
+
"line": 128,
|
|
460
|
+
"character": 3
|
|
476
461
|
},
|
|
477
|
-
"
|
|
478
|
-
|
|
479
|
-
|
|
462
|
+
"type": "RuntimeDefinition"
|
|
463
|
+
},
|
|
464
|
+
"isOptional": true,
|
|
465
|
+
"defaultValue": "UIRuntime"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"__schema": "FunctionLikeSchema",
|
|
469
|
+
"location": {
|
|
470
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
471
|
+
"line": 130,
|
|
472
|
+
"character": 3
|
|
473
|
+
},
|
|
474
|
+
"signature": "(method) ReactRouterUI.provider(deps: any, config: any, [routeSlot, routeChangeSlot]: [RouteSlot, RouteChangeSlot]): Promise<ReactRouterUI>",
|
|
475
|
+
"name": "provider",
|
|
476
|
+
"params": [
|
|
477
|
+
{
|
|
478
|
+
"__schema": "ParameterSchema",
|
|
480
479
|
"location": {
|
|
481
480
|
"filePath": "react-router.ui.runtime.tsx",
|
|
482
481
|
"line": 130,
|
|
483
482
|
"character": 25
|
|
484
483
|
},
|
|
485
|
-
"
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
"
|
|
484
|
+
"name": "deps",
|
|
485
|
+
"type": {
|
|
486
|
+
"__schema": "InferenceTypeSchema",
|
|
487
|
+
"location": {
|
|
488
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
489
|
+
"line": 130,
|
|
490
|
+
"character": 25
|
|
491
|
+
},
|
|
492
|
+
"type": "any"
|
|
493
|
+
},
|
|
494
|
+
"isOptional": false,
|
|
495
|
+
"isSpread": false
|
|
496
496
|
},
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
"__schema": "InferenceTypeSchema",
|
|
497
|
+
{
|
|
498
|
+
"__schema": "ParameterSchema",
|
|
500
499
|
"location": {
|
|
501
500
|
"filePath": "react-router.ui.runtime.tsx",
|
|
502
501
|
"line": 130,
|
|
503
502
|
"character": 31
|
|
504
503
|
},
|
|
505
|
-
"
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
"
|
|
504
|
+
"name": "config",
|
|
505
|
+
"type": {
|
|
506
|
+
"__schema": "InferenceTypeSchema",
|
|
507
|
+
"location": {
|
|
508
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
509
|
+
"line": 130,
|
|
510
|
+
"character": 31
|
|
511
|
+
},
|
|
512
|
+
"type": "any"
|
|
513
|
+
},
|
|
514
|
+
"isOptional": false,
|
|
515
|
+
"isSpread": false
|
|
516
516
|
},
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
"__schema": "TupleTypeSchema",
|
|
517
|
+
{
|
|
518
|
+
"__schema": "ParameterSchema",
|
|
520
519
|
"location": {
|
|
521
520
|
"filePath": "react-router.ui.runtime.tsx",
|
|
522
521
|
"line": 130,
|
|
523
|
-
"character":
|
|
522
|
+
"character": 39
|
|
524
523
|
},
|
|
525
|
-
"
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
},
|
|
533
|
-
"name": "RouteSlot",
|
|
534
|
-
"componentId": {
|
|
535
|
-
"scope": "teambit.ui-foundation",
|
|
536
|
-
"name": "ui/react-router/slot-router",
|
|
537
|
-
"version": "0.0.508"
|
|
538
|
-
}
|
|
524
|
+
"name": "[ routeSlot, routeChangeSlot ]",
|
|
525
|
+
"type": {
|
|
526
|
+
"__schema": "TupleTypeSchema",
|
|
527
|
+
"location": {
|
|
528
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
529
|
+
"line": 130,
|
|
530
|
+
"character": 69
|
|
539
531
|
},
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
"
|
|
544
|
-
|
|
545
|
-
|
|
532
|
+
"elements": [
|
|
533
|
+
{
|
|
534
|
+
"__schema": "TypeRefSchema",
|
|
535
|
+
"location": {
|
|
536
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
537
|
+
"line": 130,
|
|
538
|
+
"character": 70
|
|
539
|
+
},
|
|
540
|
+
"name": "RouteSlot"
|
|
546
541
|
},
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
542
|
+
{
|
|
543
|
+
"__schema": "TypeRefSchema",
|
|
544
|
+
"location": {
|
|
545
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
546
|
+
"line": 130,
|
|
547
|
+
"character": 81
|
|
548
|
+
},
|
|
549
|
+
"name": "RouteChangeSlot"
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
},
|
|
553
|
+
"isOptional": false,
|
|
554
|
+
"isSpread": false
|
|
555
|
+
}
|
|
556
|
+
],
|
|
557
|
+
"returnType": {
|
|
558
|
+
"__schema": "InferenceTypeSchema",
|
|
559
|
+
"location": {
|
|
560
|
+
"filePath": "react-router.ui.runtime.tsx",
|
|
561
|
+
"line": 130,
|
|
562
|
+
"character": 3
|
|
551
563
|
},
|
|
552
|
-
"
|
|
553
|
-
"isSpread": false
|
|
554
|
-
}
|
|
555
|
-
],
|
|
556
|
-
"returnType": {
|
|
557
|
-
"__schema": "InferenceTypeSchema",
|
|
558
|
-
"location": {
|
|
559
|
-
"filePath": "react-router.ui.runtime.tsx",
|
|
560
|
-
"line": 130,
|
|
561
|
-
"character": 3
|
|
564
|
+
"type": "Promise<ReactRouterUI>"
|
|
562
565
|
},
|
|
563
|
-
"
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
"implementNodes": []
|
|
566
|
+
"modifiers": [
|
|
567
|
+
"static",
|
|
568
|
+
"async"
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"extendsNodes": [],
|
|
573
|
+
"implementNodes": []
|
|
574
|
+
}
|
|
573
575
|
},
|
|
574
576
|
{
|
|
575
577
|
"__schema": "TypeRefSchema",
|
|
@@ -596,30 +598,39 @@
|
|
|
596
598
|
"packageName": "react-router-dom"
|
|
597
599
|
},
|
|
598
600
|
{
|
|
599
|
-
"__schema": "
|
|
601
|
+
"__schema": "ExportSchema",
|
|
600
602
|
"location": {
|
|
601
|
-
"filePath": "
|
|
602
|
-
"line":
|
|
603
|
-
"character":
|
|
603
|
+
"filePath": "index.ts",
|
|
604
|
+
"line": 9,
|
|
605
|
+
"character": 10
|
|
604
606
|
},
|
|
605
|
-
"signature": "const ReactRouterAspect: Aspect",
|
|
606
607
|
"name": "ReactRouterAspect",
|
|
607
|
-
"
|
|
608
|
-
"__schema": "
|
|
608
|
+
"exportNode": {
|
|
609
|
+
"__schema": "VariableLikeSchema",
|
|
609
610
|
"location": {
|
|
610
611
|
"filePath": "react-router.aspect.ts",
|
|
611
612
|
"line": 3,
|
|
612
613
|
"character": 14
|
|
613
614
|
},
|
|
614
|
-
"
|
|
615
|
-
"
|
|
616
|
-
|
|
617
|
-
"
|
|
618
|
-
"
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
615
|
+
"signature": "const ReactRouterAspect: Aspect",
|
|
616
|
+
"name": "ReactRouterAspect",
|
|
617
|
+
"type": {
|
|
618
|
+
"__schema": "TypeRefSchema",
|
|
619
|
+
"location": {
|
|
620
|
+
"filePath": "react-router.aspect.ts",
|
|
621
|
+
"line": 3,
|
|
622
|
+
"character": 14
|
|
623
|
+
},
|
|
624
|
+
"name": "Aspect",
|
|
625
|
+
"componentId": {
|
|
626
|
+
"scope": "teambit.harmony",
|
|
627
|
+
"name": "harmony",
|
|
628
|
+
"version": "0.4.6"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"isOptional": false,
|
|
632
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/react-router',\n})"
|
|
633
|
+
}
|
|
623
634
|
},
|
|
624
635
|
{
|
|
625
636
|
"__schema": "UnImplementedSchema",
|
|
@@ -659,7 +670,7 @@
|
|
|
659
670
|
"line": 14,
|
|
660
671
|
"character": 32
|
|
661
672
|
},
|
|
662
|
-
"signature": "(location:
|
|
673
|
+
"signature": "(location: Location, action: NavigationType): void",
|
|
663
674
|
"name": "",
|
|
664
675
|
"params": [
|
|
665
676
|
{
|
|
@@ -677,8 +688,7 @@
|
|
|
677
688
|
"line": 14,
|
|
678
689
|
"character": 43
|
|
679
690
|
},
|
|
680
|
-
"name": "Location"
|
|
681
|
-
"packageName": "react-router-dom"
|
|
691
|
+
"name": "Location"
|
|
682
692
|
},
|
|
683
693
|
"isOptional": false,
|
|
684
694
|
"isSpread": false
|
|
@@ -698,8 +708,7 @@
|
|
|
698
708
|
"line": 14,
|
|
699
709
|
"character": 61
|
|
700
710
|
},
|
|
701
|
-
"name": "NavigationType"
|
|
702
|
-
"packageName": "react-router-dom"
|
|
711
|
+
"name": "NavigationType"
|
|
703
712
|
},
|
|
704
713
|
"isOptional": false,
|
|
705
714
|
"isSpread": false
|
|
@@ -752,12 +761,7 @@
|
|
|
752
761
|
"line": 25,
|
|
753
762
|
"character": 24
|
|
754
763
|
},
|
|
755
|
-
"name": "RouteSlot"
|
|
756
|
-
"componentId": {
|
|
757
|
-
"scope": "teambit.ui-foundation",
|
|
758
|
-
"name": "ui/react-router/slot-router",
|
|
759
|
-
"version": "0.0.508"
|
|
760
|
-
}
|
|
764
|
+
"name": "RouteSlot"
|
|
761
765
|
},
|
|
762
766
|
"isOptional": false,
|
|
763
767
|
"isSpread": false
|
|
@@ -777,8 +781,7 @@
|
|
|
777
781
|
"line": 29,
|
|
778
782
|
"character": 34
|
|
779
783
|
},
|
|
780
|
-
"name": "RouteChangeSlot"
|
|
781
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
784
|
+
"name": "RouteChangeSlot"
|
|
782
785
|
},
|
|
783
786
|
"isOptional": false,
|
|
784
787
|
"isSpread": false
|
|
@@ -836,8 +839,7 @@
|
|
|
836
839
|
"line": 35,
|
|
837
840
|
"character": 24
|
|
838
841
|
},
|
|
839
|
-
"name": "RouteProps"
|
|
840
|
-
"packageName": "react-router-dom"
|
|
842
|
+
"name": "RouteProps"
|
|
841
843
|
}
|
|
842
844
|
},
|
|
843
845
|
"isOptional": false,
|
|
@@ -942,8 +944,7 @@
|
|
|
942
944
|
"line": 51,
|
|
943
945
|
"character": 19
|
|
944
946
|
},
|
|
945
|
-
"name": "RouteProps"
|
|
946
|
-
"packageName": "react-router-dom"
|
|
947
|
+
"name": "RouteProps"
|
|
947
948
|
},
|
|
948
949
|
"isOptional": false,
|
|
949
950
|
"isSpread": false
|
|
@@ -985,8 +986,7 @@
|
|
|
985
986
|
"line": 56,
|
|
986
987
|
"character": 30
|
|
987
988
|
},
|
|
988
|
-
"name": "LocationListener"
|
|
989
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
989
|
+
"name": "LocationListener"
|
|
990
990
|
},
|
|
991
991
|
"isOptional": false,
|
|
992
992
|
"isSpread": false
|
|
@@ -1059,8 +1059,7 @@
|
|
|
1059
1059
|
"line": 114,
|
|
1060
1060
|
"character": 41
|
|
1061
1061
|
},
|
|
1062
|
-
"name": "RenderContext"
|
|
1063
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
1062
|
+
"name": "RenderContext"
|
|
1064
1063
|
}
|
|
1065
1064
|
]
|
|
1066
1065
|
},
|
|
@@ -1182,12 +1181,7 @@
|
|
|
1182
1181
|
"line": 130,
|
|
1183
1182
|
"character": 70
|
|
1184
1183
|
},
|
|
1185
|
-
"name": "RouteSlot"
|
|
1186
|
-
"componentId": {
|
|
1187
|
-
"scope": "teambit.ui-foundation",
|
|
1188
|
-
"name": "ui/react-router/slot-router",
|
|
1189
|
-
"version": "0.0.508"
|
|
1190
|
-
}
|
|
1184
|
+
"name": "RouteSlot"
|
|
1191
1185
|
},
|
|
1192
1186
|
{
|
|
1193
1187
|
"__schema": "TypeRefSchema",
|
|
@@ -1196,8 +1190,7 @@
|
|
|
1196
1190
|
"line": 130,
|
|
1197
1191
|
"character": 81
|
|
1198
1192
|
},
|
|
1199
|
-
"name": "RouteChangeSlot"
|
|
1200
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
1193
|
+
"name": "RouteChangeSlot"
|
|
1201
1194
|
}
|
|
1202
1195
|
]
|
|
1203
1196
|
},
|
|
@@ -1242,11 +1235,6 @@
|
|
|
1242
1235
|
"character": 24
|
|
1243
1236
|
},
|
|
1244
1237
|
"name": "SlotRegistry",
|
|
1245
|
-
"componentId": {
|
|
1246
|
-
"scope": "teambit.harmony",
|
|
1247
|
-
"name": "harmony",
|
|
1248
|
-
"version": "0.4.6"
|
|
1249
|
-
},
|
|
1250
1238
|
"typeArgs": [
|
|
1251
1239
|
{
|
|
1252
1240
|
"__schema": "TypeRefSchema",
|
|
@@ -1255,8 +1243,7 @@
|
|
|
1255
1243
|
"line": 15,
|
|
1256
1244
|
"character": 37
|
|
1257
1245
|
},
|
|
1258
|
-
"name": "LocationListener"
|
|
1259
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
1246
|
+
"name": "LocationListener"
|
|
1260
1247
|
}
|
|
1261
1248
|
]
|
|
1262
1249
|
}
|
|
@@ -1364,7 +1351,7 @@
|
|
|
1364
1351
|
"componentId": {
|
|
1365
1352
|
"scope": "teambit.ui-foundation",
|
|
1366
1353
|
"name": "react-router",
|
|
1367
|
-
"version": "1.0.
|
|
1354
|
+
"version": "1.0.258"
|
|
1368
1355
|
},
|
|
1369
1356
|
"taggedModuleExports": []
|
|
1370
1357
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.ui-foundation_react-router@1.0.258/dist/react-router.composition.js';
|
|
2
|
+
import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.ui-foundation_react-router@1.0.258/dist/react-router.docs.mdx';
|
|
3
|
+
|
|
4
|
+
export const compositions = [compositions_0];
|
|
5
|
+
export const overview = [overview_0];
|
|
6
|
+
|
|
7
|
+
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react-router",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.258",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/ui-foundation/react-router",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.ui-foundation",
|
|
8
8
|
"name": "react-router",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.258"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/harmony": "0.4.6",
|
|
13
13
|
"@teambit/ui-foundation.ui.navigation.react-router-adapter": "6.1.1",
|
|
14
14
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.508",
|
|
15
|
-
"@teambit/ui": "1.0.
|
|
15
|
+
"@teambit/ui": "1.0.258"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/mocha": "9.1.0",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_react-router@1.0.256/dist/react-router.composition.js';
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_react-router@1.0.256/dist/react-router.docs.mdx';
|
|
3
|
-
|
|
4
|
-
export const compositions = [compositions_0];
|
|
5
|
-
export const overview = [overview_0];
|
|
6
|
-
|
|
7
|
-
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|