@teambit/react-router 1.0.310 → 1.0.312
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.312" 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={74450:(e,t,o)=>{var r={id:"teambit.ui-foundation/react-router@1.0.312",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(74450);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
|
@@ -175,7 +175,8 @@
|
|
|
175
175
|
"character": 3
|
|
176
176
|
},
|
|
177
177
|
"raw": "/**\n * render all slot routes.\n */",
|
|
178
|
-
"comment": "render all slot routes."
|
|
178
|
+
"comment": "render all slot routes.",
|
|
179
|
+
"tags": []
|
|
179
180
|
},
|
|
180
181
|
"signature": "(method) ReactRouterUI.renderRoutes(routes: RouteProps[]): React.JSX.Element",
|
|
181
182
|
"name": "renderRoutes",
|
|
@@ -235,7 +236,8 @@
|
|
|
235
236
|
"character": 3
|
|
236
237
|
},
|
|
237
238
|
"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 */",
|
|
238
|
-
"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."
|
|
239
|
+
"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.",
|
|
240
|
+
"tags": []
|
|
239
241
|
},
|
|
240
242
|
"signature": "(method) ReactRouterUI.setRoutingMode(routing: Routing): void",
|
|
241
243
|
"name": "setRoutingMode",
|
|
@@ -287,7 +289,8 @@
|
|
|
287
289
|
"character": 3
|
|
288
290
|
},
|
|
289
291
|
"raw": "/**\n * register a new route.\n */",
|
|
290
|
-
"comment": "register a new route."
|
|
292
|
+
"comment": "register a new route.",
|
|
293
|
+
"tags": []
|
|
291
294
|
},
|
|
292
295
|
"signature": "(method) ReactRouterUI.register(route: RouteProps): this",
|
|
293
296
|
"name": "register",
|
|
@@ -383,7 +386,8 @@
|
|
|
383
386
|
"character": 3
|
|
384
387
|
},
|
|
385
388
|
"raw": "/**\n * change browser location\n */",
|
|
386
|
-
"comment": "change browser location"
|
|
389
|
+
"comment": "change browser location",
|
|
390
|
+
"tags": []
|
|
387
391
|
},
|
|
388
392
|
"signature": "(property) ReactRouterUI.navigateTo: (path: Location | string, action?: NavigationType) => void",
|
|
389
393
|
"name": "navigateTo",
|
|
@@ -837,7 +841,8 @@
|
|
|
837
841
|
"character": 3
|
|
838
842
|
},
|
|
839
843
|
"raw": "/**\n * render all slot routes.\n */",
|
|
840
|
-
"comment": "render all slot routes."
|
|
844
|
+
"comment": "render all slot routes.",
|
|
845
|
+
"tags": []
|
|
841
846
|
},
|
|
842
847
|
"signature": "(method) ReactRouterUI.renderRoutes(routes: RouteProps[]): React.JSX.Element",
|
|
843
848
|
"name": "renderRoutes",
|
|
@@ -897,7 +902,8 @@
|
|
|
897
902
|
"character": 3
|
|
898
903
|
},
|
|
899
904
|
"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 */",
|
|
900
|
-
"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."
|
|
905
|
+
"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.",
|
|
906
|
+
"tags": []
|
|
901
907
|
},
|
|
902
908
|
"signature": "(method) ReactRouterUI.setRoutingMode(routing: Routing): void",
|
|
903
909
|
"name": "setRoutingMode",
|
|
@@ -949,7 +955,8 @@
|
|
|
949
955
|
"character": 3
|
|
950
956
|
},
|
|
951
957
|
"raw": "/**\n * register a new route.\n */",
|
|
952
|
-
"comment": "register a new route."
|
|
958
|
+
"comment": "register a new route.",
|
|
959
|
+
"tags": []
|
|
953
960
|
},
|
|
954
961
|
"signature": "(method) ReactRouterUI.register(route: RouteProps): this",
|
|
955
962
|
"name": "register",
|
|
@@ -1045,7 +1052,8 @@
|
|
|
1045
1052
|
"character": 3
|
|
1046
1053
|
},
|
|
1047
1054
|
"raw": "/**\n * change browser location\n */",
|
|
1048
|
-
"comment": "change browser location"
|
|
1055
|
+
"comment": "change browser location",
|
|
1056
|
+
"tags": []
|
|
1049
1057
|
},
|
|
1050
1058
|
"signature": "(property) ReactRouterUI.navigateTo: (path: Location | string, action?: NavigationType) => void",
|
|
1051
1059
|
"name": "navigateTo",
|
|
@@ -1391,7 +1399,7 @@
|
|
|
1391
1399
|
"componentId": {
|
|
1392
1400
|
"scope": "teambit.ui-foundation",
|
|
1393
1401
|
"name": "react-router",
|
|
1394
|
-
"version": "1.0.
|
|
1402
|
+
"version": "1.0.312"
|
|
1395
1403
|
},
|
|
1396
1404
|
"taggedModuleExports": []
|
|
1397
1405
|
}
|
|
@@ -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.312/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.312/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,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react-router",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.312",
|
|
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.312"
|
|
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.312"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/mocha": "9.1.0",
|