@teambit/react-router 1.0.330 → 1.0.331
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.331" 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={10031:(e,t,o)=>{var r={id:"teambit.ui-foundation/react-router@1.0.331",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={};o.r(r),o.d(r,{compositions:()=>l,compositions_metadata:()=>v,overview:()=>m});var n={};o.r(n),o.d(n,{default:()=>f});var i=o(10031);o(41594);const a=MdxJsReact,u=TeambitMdxUiMdxScopeContext;var c=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},p.apply(null,arguments)}var s={},d="wrapper";function f(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={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,c);return(0,a.mdx)(d,p({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(u.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}f.isMDXComponent=!0;const l=[i],m=[n],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -117,12 +117,7 @@
|
|
|
117
117
|
"line": 25,
|
|
118
118
|
"character": 24
|
|
119
119
|
},
|
|
120
|
-
"name": "RouteSlot"
|
|
121
|
-
"componentId": {
|
|
122
|
-
"scope": "teambit.ui-foundation",
|
|
123
|
-
"name": "ui/react-router/slot-router",
|
|
124
|
-
"version": "0.0.509"
|
|
125
|
-
}
|
|
120
|
+
"name": "RouteSlot"
|
|
126
121
|
},
|
|
127
122
|
"isOptional": false,
|
|
128
123
|
"isSpread": false
|
|
@@ -142,8 +137,7 @@
|
|
|
142
137
|
"line": 29,
|
|
143
138
|
"character": 34
|
|
144
139
|
},
|
|
145
|
-
"name": "RouteChangeSlot"
|
|
146
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
140
|
+
"name": "RouteChangeSlot"
|
|
147
141
|
},
|
|
148
142
|
"isOptional": false,
|
|
149
143
|
"isSpread": false
|
|
@@ -202,8 +196,7 @@
|
|
|
202
196
|
"line": 35,
|
|
203
197
|
"character": 24
|
|
204
198
|
},
|
|
205
|
-
"name": "RouteProps"
|
|
206
|
-
"packageName": "react-router-dom"
|
|
199
|
+
"name": "RouteProps"
|
|
207
200
|
}
|
|
208
201
|
},
|
|
209
202
|
"isOptional": false,
|
|
@@ -310,8 +303,7 @@
|
|
|
310
303
|
"line": 51,
|
|
311
304
|
"character": 19
|
|
312
305
|
},
|
|
313
|
-
"name": "RouteProps"
|
|
314
|
-
"packageName": "react-router-dom"
|
|
306
|
+
"name": "RouteProps"
|
|
315
307
|
},
|
|
316
308
|
"isOptional": false,
|
|
317
309
|
"isSpread": false
|
|
@@ -353,8 +345,7 @@
|
|
|
353
345
|
"line": 56,
|
|
354
346
|
"character": 30
|
|
355
347
|
},
|
|
356
|
-
"name": "LocationListener"
|
|
357
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
348
|
+
"name": "LocationListener"
|
|
358
349
|
},
|
|
359
350
|
"isOptional": false,
|
|
360
351
|
"isSpread": false
|
|
@@ -428,8 +419,7 @@
|
|
|
428
419
|
"line": 114,
|
|
429
420
|
"character": 41
|
|
430
421
|
},
|
|
431
|
-
"name": "RenderContext"
|
|
432
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
422
|
+
"name": "RenderContext"
|
|
433
423
|
}
|
|
434
424
|
]
|
|
435
425
|
},
|
|
@@ -551,12 +541,7 @@
|
|
|
551
541
|
"line": 130,
|
|
552
542
|
"character": 70
|
|
553
543
|
},
|
|
554
|
-
"name": "RouteSlot"
|
|
555
|
-
"componentId": {
|
|
556
|
-
"scope": "teambit.ui-foundation",
|
|
557
|
-
"name": "ui/react-router/slot-router",
|
|
558
|
-
"version": "0.0.509"
|
|
559
|
-
}
|
|
544
|
+
"name": "RouteSlot"
|
|
560
545
|
},
|
|
561
546
|
{
|
|
562
547
|
"__schema": "TypeRefSchema",
|
|
@@ -565,8 +550,7 @@
|
|
|
565
550
|
"line": 130,
|
|
566
551
|
"character": 81
|
|
567
552
|
},
|
|
568
|
-
"name": "RouteChangeSlot"
|
|
569
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
553
|
+
"name": "RouteChangeSlot"
|
|
570
554
|
}
|
|
571
555
|
]
|
|
572
556
|
},
|
|
@@ -690,7 +674,7 @@
|
|
|
690
674
|
"line": 14,
|
|
691
675
|
"character": 32
|
|
692
676
|
},
|
|
693
|
-
"signature": "(location:
|
|
677
|
+
"signature": "(location: Location, action: NavigationType): void",
|
|
694
678
|
"name": "",
|
|
695
679
|
"params": [
|
|
696
680
|
{
|
|
@@ -708,8 +692,7 @@
|
|
|
708
692
|
"line": 14,
|
|
709
693
|
"character": 43
|
|
710
694
|
},
|
|
711
|
-
"name": "Location"
|
|
712
|
-
"packageName": "react-router-dom"
|
|
695
|
+
"name": "Location"
|
|
713
696
|
},
|
|
714
697
|
"isOptional": false,
|
|
715
698
|
"isSpread": false
|
|
@@ -729,8 +712,7 @@
|
|
|
729
712
|
"line": 14,
|
|
730
713
|
"character": 61
|
|
731
714
|
},
|
|
732
|
-
"name": "NavigationType"
|
|
733
|
-
"packageName": "react-router-dom"
|
|
715
|
+
"name": "NavigationType"
|
|
734
716
|
},
|
|
735
717
|
"isOptional": false,
|
|
736
718
|
"isSpread": false
|
|
@@ -783,12 +765,7 @@
|
|
|
783
765
|
"line": 25,
|
|
784
766
|
"character": 24
|
|
785
767
|
},
|
|
786
|
-
"name": "RouteSlot"
|
|
787
|
-
"componentId": {
|
|
788
|
-
"scope": "teambit.ui-foundation",
|
|
789
|
-
"name": "ui/react-router/slot-router",
|
|
790
|
-
"version": "0.0.509"
|
|
791
|
-
}
|
|
768
|
+
"name": "RouteSlot"
|
|
792
769
|
},
|
|
793
770
|
"isOptional": false,
|
|
794
771
|
"isSpread": false
|
|
@@ -808,8 +785,7 @@
|
|
|
808
785
|
"line": 29,
|
|
809
786
|
"character": 34
|
|
810
787
|
},
|
|
811
|
-
"name": "RouteChangeSlot"
|
|
812
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
788
|
+
"name": "RouteChangeSlot"
|
|
813
789
|
},
|
|
814
790
|
"isOptional": false,
|
|
815
791
|
"isSpread": false
|
|
@@ -868,8 +844,7 @@
|
|
|
868
844
|
"line": 35,
|
|
869
845
|
"character": 24
|
|
870
846
|
},
|
|
871
|
-
"name": "RouteProps"
|
|
872
|
-
"packageName": "react-router-dom"
|
|
847
|
+
"name": "RouteProps"
|
|
873
848
|
}
|
|
874
849
|
},
|
|
875
850
|
"isOptional": false,
|
|
@@ -976,8 +951,7 @@
|
|
|
976
951
|
"line": 51,
|
|
977
952
|
"character": 19
|
|
978
953
|
},
|
|
979
|
-
"name": "RouteProps"
|
|
980
|
-
"packageName": "react-router-dom"
|
|
954
|
+
"name": "RouteProps"
|
|
981
955
|
},
|
|
982
956
|
"isOptional": false,
|
|
983
957
|
"isSpread": false
|
|
@@ -1019,8 +993,7 @@
|
|
|
1019
993
|
"line": 56,
|
|
1020
994
|
"character": 30
|
|
1021
995
|
},
|
|
1022
|
-
"name": "LocationListener"
|
|
1023
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
996
|
+
"name": "LocationListener"
|
|
1024
997
|
},
|
|
1025
998
|
"isOptional": false,
|
|
1026
999
|
"isSpread": false
|
|
@@ -1094,8 +1067,7 @@
|
|
|
1094
1067
|
"line": 114,
|
|
1095
1068
|
"character": 41
|
|
1096
1069
|
},
|
|
1097
|
-
"name": "RenderContext"
|
|
1098
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
1070
|
+
"name": "RenderContext"
|
|
1099
1071
|
}
|
|
1100
1072
|
]
|
|
1101
1073
|
},
|
|
@@ -1217,12 +1189,7 @@
|
|
|
1217
1189
|
"line": 130,
|
|
1218
1190
|
"character": 70
|
|
1219
1191
|
},
|
|
1220
|
-
"name": "RouteSlot"
|
|
1221
|
-
"componentId": {
|
|
1222
|
-
"scope": "teambit.ui-foundation",
|
|
1223
|
-
"name": "ui/react-router/slot-router",
|
|
1224
|
-
"version": "0.0.509"
|
|
1225
|
-
}
|
|
1192
|
+
"name": "RouteSlot"
|
|
1226
1193
|
},
|
|
1227
1194
|
{
|
|
1228
1195
|
"__schema": "TypeRefSchema",
|
|
@@ -1231,8 +1198,7 @@
|
|
|
1231
1198
|
"line": 130,
|
|
1232
1199
|
"character": 81
|
|
1233
1200
|
},
|
|
1234
|
-
"name": "RouteChangeSlot"
|
|
1235
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
1201
|
+
"name": "RouteChangeSlot"
|
|
1236
1202
|
}
|
|
1237
1203
|
]
|
|
1238
1204
|
},
|
|
@@ -1277,11 +1243,6 @@
|
|
|
1277
1243
|
"character": 24
|
|
1278
1244
|
},
|
|
1279
1245
|
"name": "SlotRegistry",
|
|
1280
|
-
"componentId": {
|
|
1281
|
-
"scope": "teambit.harmony",
|
|
1282
|
-
"name": "harmony",
|
|
1283
|
-
"version": "0.4.6"
|
|
1284
|
-
},
|
|
1285
1246
|
"typeArgs": [
|
|
1286
1247
|
{
|
|
1287
1248
|
"__schema": "TypeRefSchema",
|
|
@@ -1290,8 +1251,7 @@
|
|
|
1290
1251
|
"line": 15,
|
|
1291
1252
|
"character": 37
|
|
1292
1253
|
},
|
|
1293
|
-
"name": "LocationListener"
|
|
1294
|
-
"internalFilePath": "react-router.ui.runtime.tsx"
|
|
1254
|
+
"name": "LocationListener"
|
|
1295
1255
|
}
|
|
1296
1256
|
]
|
|
1297
1257
|
}
|
|
@@ -1399,7 +1359,7 @@
|
|
|
1399
1359
|
"componentId": {
|
|
1400
1360
|
"scope": "teambit.ui-foundation",
|
|
1401
1361
|
"name": "react-router",
|
|
1402
|
-
"version": "1.0.
|
|
1362
|
+
"version": "1.0.331"
|
|
1403
1363
|
},
|
|
1404
1364
|
"taggedModuleExports": []
|
|
1405
1365
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_react-router@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_react-router@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_react-router@1.0.331/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.331/dist/react-router.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react-router",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.331",
|
|
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.331"
|
|
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.509",
|
|
15
|
-
"@teambit/ui": "1.0.
|
|
15
|
+
"@teambit/ui": "1.0.331"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/mocha": "9.1.0",
|
|
19
19
|
"chai": "4.3.0",
|
|
20
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
20
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.42"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^17.0.0 || ^18.0.0",
|