@teambit/react-router 0.0.737 → 0.0.740
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/dist/index.js.map +1 -1
- package/dist/react-router-routing/index.js.map +1 -1
- package/dist/react-router-routing/react-router-routing.js.map +1 -1
- package/dist/react-router.aspect.js.map +1 -1
- package/dist/react-router.composition.js.map +1 -1
- package/dist/react-router.ui.runtime.js.map +1 -1
- package/dist/route-context.js.map +1 -1
- package/dist/routing-method.js.map +1 -1
- package/package-tar/teambit-react-router-0.0.740.tgz +0 -0
- package/package.json +5 -5
- package/{preview-1652930732694.js → preview-1653449228788.js} +2 -2
- package/package-tar/teambit-react-router-0.0.737.tgz +0 -0
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["ReactRouterAspect"],"sources":["index.ts"],"sourcesContent":["import { ReactRouterAspect } from './react-router.aspect';\n\nexport { Routing } from './routing-method';\nexport type { ReactRouterUI } from './react-router.ui.runtime';\n\n// TODO - replace with resolveFromHost / resolveFromApp when available\n// this exposes the Link components installed in bit bin, so they can use the same RoutingProvider file from node_modules\nexport { Link, LinkProps } from '@teambit/base-ui.routing.link';\nexport { NavLink, NavLinkProps } from '@teambit/base-ui.routing.nav-link';\nexport { RoutingProvider, useRouting, useLocation } from '@teambit/base-ui.routing.routing-provider';\nexport { LinkAnchor, LinkContextProvider, useLinkContext } from '@teambit/ui-foundation.ui.react-router.link-anchor';\nexport * as ReactRouter from 'react-router';\n\nexport { ReactRouterAspect };\nexport default ReactRouterAspect;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAKA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;AALA;AACA;eAQeA,gC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { reactRouterRouting } from './react-router-routing';\n"],"mappings":";;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["reactRouterRouting","Link","NavLink","useLocation"],"sources":["react-router-routing.tsx"],"sourcesContent":["import { useLocation } from 'react-router-dom';\n// eslint-disable-next-line no-restricted-imports\nimport { Link } from '@teambit/ui-foundation.ui.react-router.link';\n// eslint-disable-next-line no-restricted-imports\nimport { NavLink } from '@teambit/ui-foundation.ui.react-router.nav-link';\n\n// React Router Link and NavLink are internal implementations of our isomorphic routing components.\n// do not use them, use @teambit/base-ui.routing.link and @teambit/base-ui.routing.nav-link instead\n//\n// here we define them as the routing components of the application.\n\n/**\n * defines react-router's routing components (link, useLocation, etc)\n */\nexport const reactRouterRouting = { Link, NavLink, useLocation };\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAHA;AAEA;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACO,MAAMA,kBAAkB,GAAG;EAAEC,IAAI,EAAJA,iCAAF;EAAQC,OAAO,EAAPA,qCAAR;EAAiBC,WAAW,EAAXA;AAAjB,CAA3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["ReactRouterAspect","Aspect","create","id"],"sources":["react-router.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const ReactRouterAspect = Aspect.create({\n id: 'teambit.ui-foundation/react-router',\n});\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,iBAAiB,GAAGC,iBAAA,CAAOC,MAAP,CAAc;EAC7CC,EAAE,EAAE;AADyC,CAAd,CAA1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["Logo","height","display","justifyContent","width"],"sources":["react-router.composition.tsx"],"sourcesContent":["import React from 'react';\n\nexport const Logo = () => (\n <div style={{ height: '100%', display: 'flex', justifyContent: 'center' }}>\n <img style={{ width: 70 }} src=\"https://static.bit.dev/extensions-icons/react-router.svg\" />\n </div>\n);\n"],"mappings":";;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,IAAI,GAAG,mBAClB;EAAK,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAV;IAAkBC,OAAO,EAAE,MAA3B;IAAmCC,cAAc,EAAE;EAAnD;AAAZ,gBACE;EAAK,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAT,CAAZ;EAA2B,GAAG,EAAC;AAA/B,EADF,CADK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["ReactRouterUI","constructor","routeSlot","routeChangeListener","isBrowser","Routing","url","static","undefined","routerHistory","unregisterListener","listen","args","values","forEach","listener","path","action","replace","push","children","renderCtx","routingMode","initialLocation","browserInit","window","location","pathname","search","hash","serverInit","browser","reactContext","AppRoutingContext","renderRoutes","routes","setRoutingMode","routing","register","route","registerListener","provider","deps","config","routeChangeSlot","Slot","withType","UIRuntime","ReactRouterAspect","addRuntime"],"sources":["react-router.ui.runtime.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { RouteProps } from 'react-router-dom';\nimport { History, UnregisterCallback, LocationListener, LocationDescriptor, Action } from 'history';\nimport { Slot, SlotRegistry } from '@teambit/harmony';\nimport { RenderPlugins, UIRuntime } from '@teambit/ui';\nimport { RouteSlot } from '@teambit/ui-foundation.ui.react-router.slot-router';\nimport { isBrowser } from '@teambit/ui-foundation.ui.is-browser';\n\nimport { ReactRouterAspect } from './react-router.aspect';\nimport { RouteContext, RootRoute } from './route-context';\nimport { Routing } from './routing-method';\n\ntype RouteChangeSlot = SlotRegistry<LocationListener>;\ntype RenderContext = { initialLocation?: string };\n\nexport class ReactRouterUI {\n private routerHistory?: History;\n private routingMode = isBrowser ? Routing.url : Routing.static;\n\n constructor(\n /**\n * route slot.\n */\n private routeSlot: RouteSlot,\n /**\n *\n */\n private routeChangeListener: RouteChangeSlot\n ) {}\n\n /**\n * render all slot routes.\n */\n renderRoutes(routes: RouteProps[]) {\n return <RootRoute routeSlot={this.routeSlot} rootRoutes={routes} />;\n }\n\n private unregisterListener?: UnregisterCallback = undefined;\n /** (internal method) sets the routing engine for navigation methods */\n setRouter = (routerHistory: History) => {\n this.routerHistory = routerHistory;\n\n this.unregisterListener?.();\n this.unregisterListener = routerHistory.listen((...args) => {\n this.routeChangeListener.values().forEach((listener) => listener(...args));\n });\n };\n\n /** 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 */\n setRoutingMode(routing: Routing) {\n this.routingMode = routing;\n }\n\n /**\n * register a new route.\n */\n register(route: RouteProps) {\n this.routeSlot.register(route);\n return this;\n }\n\n registerListener(listener: LocationListener) {\n this.routeChangeListener.register(listener);\n }\n\n /**\n * change browser location\n */\n navigateTo = (\n /** destination */\n path: LocationDescriptor,\n /** history action to execute (pop / push / replace) */\n action?: Action\n ) => {\n switch (action) {\n case 'POP':\n return; // TBD;\n case 'REPLACE':\n this.routerHistory?.replace(path);\n return;\n case 'PUSH':\n default:\n this.routerHistory?.push(path);\n }\n };\n\n private AppRoutingContext = ({ children, renderCtx }: { children: ReactNode; renderCtx?: RenderContext }) => {\n return (\n <RouteContext reactRouterUi={this} routing={this.routingMode} location={renderCtx?.initialLocation}>\n {children}\n </RouteContext>\n );\n };\n\n public renderPlugin: RenderPlugins<RenderContext> = {\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 reactContext: this.AppRoutingContext,\n };\n\n static slots = [Slot.withType<RouteProps>(), Slot.withType<LocationListener>()];\n static runtime = UIRuntime;\n\n static async provider(deps, config, [routeSlot, routeChangeSlot]: [RouteSlot, RouteChangeSlot]) {\n return new ReactRouterUI(routeSlot, routeChangeSlot);\n }\n}\n\nReactRouterAspect.addRuntime(ReactRouterUI);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAKO,MAAMA,aAAN,CAAoB;EAIzBC,WAAW;EACT;AACJ;AACA;EACYC,SAJC;EAKT;AACJ;AACA;EACYC,mBARC,EAST;IAAA,KALQD,SAKR,GALQA,SAKR;IAAA,KADQC,mBACR,GADQA,mBACR;IAAA;IAAA,qDAXoBC,2BAAA,GAAYC,wBAAA,CAAQC,GAApB,GAA0BD,wBAAA,CAAQE,MAWtD;IAAA,4DASgDC,SAThD;IAAA,mDAWWC,aAAD,IAA4B;MAAA;;MACtC,KA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+B,CAtElD;EAAE;EAEJ;AACF;AACA;;;EACEC,YAAY,CAACC,MAAD,EAAuB;IACjC,oBAAO,+BAAC,yBAAD;MAAW,SAAS,EAAE,KAAKjC,SAA3B;MAAsC,UAAU,EAAEiC;IAAlD,EAAP;EACD;;EAaD;AACF;AACA;AACA;AACA;EACEC,cAAc,CAACC,OAAD,EAAmB;IAC/B,KAAKf,WAAL,GAAmBe,OAAnB;EACD;EAED;AACF;AACA;;;EACEC,QAAQ,CAACC,KAAD,EAAoB;IAC1B,KAAKrC,SAAL,CAAeoC,QAAf,CAAwBC,KAAxB;IACA,OAAO,IAAP;EACD;;EAEDC,gBAAgB,CAACzB,QAAD,EAA6B;IAC3C,KAAKZ,mBAAL,CAAyBmC,QAAzB,CAAkCvB,QAAlC;EACD;EAED;AACF;AACA;;;EA0CuB,aAAR0B,QAAQ,CAACC,IAAD,EAAOC,MAAP,EAAe,CAACzC,SAAD,EAAY0C,eAAZ,CAAf,EAA2E;IAC9F,OAAO,IAAI5C,aAAJ,CAAkBE,SAAlB,EAA6B0C,eAA7B,CAAP;EACD;;AApGwB;;;gCAAd5C,a,WA+FI,CAAC6C,eAAA,CAAKC,QAAL,EAAD,EAA8BD,eAAA,CAAKC,QAAL,EAA9B,C;gCA/FJ9C,a,aAgGM+C,e;;AAOnBC,gCAAA,CAAkBC,UAAlB,CAA6BjD,aAA7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["RouteContext","reactRouterUi","routing","Routing","url","children","location","setRouter","reactRouterRouting","RootRoute","rootRoutes","routeSlot","Router","type","static","inMemory","hash","HistoryGetter","onRouterChange","history","useHistory","useEffect"],"sources":["route-context.tsx"],"sourcesContent":["import React, { useEffect, ReactNode } from 'react';\nimport { BrowserRouter, StaticRouter, MemoryRouter, HashRouter, RouteProps, useHistory } from 'react-router-dom';\nimport { RoutingProvider } from '@teambit/base-ui.routing.routing-provider';\nimport { RouteSlot, SlotRouter } from '@teambit/ui-foundation.ui.react-router.slot-router';\nimport { ReactRouterUI } from './react-router.ui.runtime';\nimport { reactRouterRouting } from './react-router-routing';\nimport { Routing } from './routing-method';\n\nexport type History = ReturnType<typeof useHistory>;\n\ntype RouterContextProps = {\n reactRouterUi: ReactRouterUI;\n routing?: Routing;\n children: ReactNode;\n location?: string;\n};\n\ntype RootRouteProps = {\n rootRoutes: RouteProps[];\n routeSlot: RouteSlot;\n};\n\n/**\n * Setup context needed for routing.\n */\nexport function RouteContext({ reactRouterUi, routing = Routing.url, children, location }: RouterContextProps) {\n return (\n // {/* set up the virtual router (browser, inMemory, etc) */}\n <Router type={routing} location={location}>\n {/* injects History object back to reactRouterUi */}\n <HistoryGetter onRouterChange={reactRouterUi.setRouter} />\n {/* injects react-router Link into context */}\n <RoutingProvider value={reactRouterRouting}>\n {/* route tree root: */}\n {children}\n </RoutingProvider>\n </Router>\n );\n}\n\nexport function RootRoute({ rootRoutes, routeSlot }: RootRouteProps) {\n return <SlotRouter slot={routeSlot} rootRoutes={rootRoutes} />;\n}\n\n/** provides the router engine (browser, inMemory, etc) */\nfunction Router({ type, children, location }: { type: Routing; children: ReactNode; location?: string }) {\n switch (type) {\n case Routing.static:\n return <StaticRouter location={location}>{children}</StaticRouter>;\n case Routing.inMemory:\n return (\n <MemoryRouter initialEntries={[location || '/']} initialIndex={1}>\n {children}\n </MemoryRouter>\n );\n case Routing.hash:\n // @ts-ignore - https://github.com/teambit/bit/issues/5746\n return <HashRouter>{children}</HashRouter>;\n case Routing.url:\n default:\n // @ts-ignore - https://github.com/teambit/bit/issues/5746\n return <BrowserRouter>{children}</BrowserRouter>;\n }\n}\n\n/**\n * Calls onRouterChange when routing History object changes.\n * Used to inject history back into reactRouterUi\n * (needs to be rendered inside of <BrowserRouter/>)\n */\nfunction HistoryGetter({ onRouterChange }: { onRouterChange: (routerHistory: History) => void }) {\n const history = useHistory();\n useEffect(() => onRouterChange(history), [history]);\n\n return null;\n}\n"],"mappings":";;;;;;;;AA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AC,4BAAD,QAAaX,QAAb,CAAP;;IACF,KAAKF,wBAAA,CAAQC,GAAb;IACA;MACE;MACA,oBAAO,+BAAC,+BAAD,QAAgBC,QAAhB,CAAP;EAfJ;AAiBD;AAED;AACA;AACA;AACA;AACA;;;AACA,SAASY,aAAT,CAAuB;EAAEC;AAAF,CAAvB,EAAiG;EAC/F,MAAMC,OAAO,GAAG,IAAAC,4BAAA,GAAhB;EACA,IAAAC,kBAAA,EAAU,MAAMH,cAAc,CAACC,OAAD,CAA9B,EAAyC,CAACA,OAAD,CAAzC;EAEA,OAAO,IAAP;AACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["routing-method.tsx"],"
|
|
1
|
+
{"version":3,"names":["Routing"],"sources":["routing-method.tsx"],"sourcesContent":["export enum Routing {\n url,\n hash,\n inMemory,\n static,\n}\n"],"mappings":";;;;;;IAAYA,O;;;WAAAA,O;EAAAA,O,CAAAA,O;EAAAA,O,CAAAA,O;EAAAA,O,CAAAA,O;EAAAA,O,CAAAA,O;GAAAA,O,uBAAAA,O"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react-router",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.740",
|
|
4
4
|
"homepage": "https://bit.dev/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": "0.0.
|
|
9
|
+
"version": "0.0.740"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"react-router": "5.2.0",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@teambit/ui-foundation.ui.react-router.link-anchor": "0.0.123",
|
|
22
22
|
"@teambit/ui-foundation.ui.is-browser": "0.0.486",
|
|
23
23
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.489",
|
|
24
|
-
"@teambit/ui": "0.0.
|
|
24
|
+
"@teambit/ui": "0.0.740",
|
|
25
25
|
"@teambit/ui-foundation.ui.react-router.link": "0.0.489",
|
|
26
26
|
"@teambit/ui-foundation.ui.react-router.nav-link": "0.0.489"
|
|
27
27
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@types/node": "12.20.4"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@teambit/legacy": "1.0.
|
|
39
|
+
"@teambit/legacy": "1.0.272",
|
|
40
40
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
41
41
|
"react": "^16.8.0 || ^17.0.0"
|
|
42
42
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"react": "-"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@teambit/legacy": "1.0.
|
|
67
|
+
"@teambit/legacy": "1.0.272",
|
|
68
68
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
69
69
|
"react": "^16.8.0 || ^17.0.0"
|
|
70
70
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_react-router@0.0.
|
|
2
|
-
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_react-router@0.0.
|
|
1
|
+
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_react-router@0.0.740/dist/react-router.composition.js')]
|
|
2
|
+
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_react-router@0.0.740/dist/react-router.docs.mdx')]
|
|
Binary file
|