@teambit/lanes.hooks.use-viewed-lane-from-url 0.0.216 → 0.0.217
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/.bit-capsule-ready +0 -0
- package/package-tar/teambit-lanes.hooks.use-viewed-lane-from-url-0.0.217.tgz +0 -0
- package/package.json +5 -6
- package/schema.json +132 -0
- package/teambit_lanes_hooks_use_viewed_lane_from_url-preview.js +1 -0
- package/dist/preview-1695901055662.js +0 -7
- package/tsconfig.json +0 -32
- package/types/asset.d.ts +0 -29
- package/types/style.d.ts +0 -42
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/lanes.hooks.use-viewed-lane-from-url",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.217",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/lanes/hooks/use-viewed-lane-from-url",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.lanes",
|
|
8
8
|
"name": "hooks/use-viewed-lane-from-url",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.217"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/base-react.navigation.link": "2.0.27",
|
|
13
13
|
"@teambit/lane-id": "0.0.305",
|
|
14
|
-
"@teambit/lanes.ui.models.lanes-model": "0.0.
|
|
14
|
+
"@teambit/lanes.ui.models.lanes-model": "0.0.209",
|
|
15
15
|
"@teambit/ui-foundation.ui.react-router.use-query": "0.0.501"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@types/mocha": "9.1.0",
|
|
19
18
|
"@types/jest": "26.0.20",
|
|
20
|
-
"@types/
|
|
21
|
-
"@
|
|
19
|
+
"@types/mocha": "9.1.0",
|
|
20
|
+
"@types/node": "^18.11.9"
|
|
22
21
|
},
|
|
23
22
|
"peerDependencies": {},
|
|
24
23
|
"license": "Apache-2.0",
|
package/schema.json
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"__schema": "APISchema",
|
|
3
|
+
"location": {
|
|
4
|
+
"filePath": "index.ts",
|
|
5
|
+
"line": 1,
|
|
6
|
+
"character": 1
|
|
7
|
+
},
|
|
8
|
+
"module": {
|
|
9
|
+
"__schema": "ModuleSchema",
|
|
10
|
+
"location": {
|
|
11
|
+
"filePath": "index.ts",
|
|
12
|
+
"line": 1,
|
|
13
|
+
"character": 1
|
|
14
|
+
},
|
|
15
|
+
"exports": [
|
|
16
|
+
{
|
|
17
|
+
"__schema": "FunctionLikeSchema",
|
|
18
|
+
"location": {
|
|
19
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
20
|
+
"line": 6,
|
|
21
|
+
"character": 1
|
|
22
|
+
},
|
|
23
|
+
"signature": "function useViewedLaneFromUrl(): LaneId | undefined",
|
|
24
|
+
"name": "useViewedLaneFromUrl",
|
|
25
|
+
"params": [],
|
|
26
|
+
"returnType": {
|
|
27
|
+
"__schema": "TypeUnionSchema",
|
|
28
|
+
"location": {
|
|
29
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
30
|
+
"line": 6,
|
|
31
|
+
"character": 41
|
|
32
|
+
},
|
|
33
|
+
"types": [
|
|
34
|
+
{
|
|
35
|
+
"__schema": "TypeRefSchema",
|
|
36
|
+
"location": {
|
|
37
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
38
|
+
"line": 6,
|
|
39
|
+
"character": 41
|
|
40
|
+
},
|
|
41
|
+
"name": "LaneId",
|
|
42
|
+
"componentId": {
|
|
43
|
+
"scope": "teambit.lanes",
|
|
44
|
+
"name": "lane-id",
|
|
45
|
+
"version": "0.0.305"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"__schema": "KeywordTypeSchema",
|
|
50
|
+
"location": {
|
|
51
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
52
|
+
"line": 6,
|
|
53
|
+
"character": 50
|
|
54
|
+
},
|
|
55
|
+
"name": "undefined"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"modifiers": [
|
|
60
|
+
"export"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"internals": []
|
|
65
|
+
},
|
|
66
|
+
"internals": [
|
|
67
|
+
{
|
|
68
|
+
"__schema": "ModuleSchema",
|
|
69
|
+
"location": {
|
|
70
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
71
|
+
"line": 1,
|
|
72
|
+
"character": 1
|
|
73
|
+
},
|
|
74
|
+
"exports": [
|
|
75
|
+
{
|
|
76
|
+
"__schema": "FunctionLikeSchema",
|
|
77
|
+
"location": {
|
|
78
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
79
|
+
"line": 6,
|
|
80
|
+
"character": 1
|
|
81
|
+
},
|
|
82
|
+
"signature": "function useViewedLaneFromUrl(): LaneId | undefined",
|
|
83
|
+
"name": "useViewedLaneFromUrl",
|
|
84
|
+
"params": [],
|
|
85
|
+
"returnType": {
|
|
86
|
+
"__schema": "TypeUnionSchema",
|
|
87
|
+
"location": {
|
|
88
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
89
|
+
"line": 6,
|
|
90
|
+
"character": 41
|
|
91
|
+
},
|
|
92
|
+
"types": [
|
|
93
|
+
{
|
|
94
|
+
"__schema": "TypeRefSchema",
|
|
95
|
+
"location": {
|
|
96
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
97
|
+
"line": 6,
|
|
98
|
+
"character": 41
|
|
99
|
+
},
|
|
100
|
+
"name": "LaneId",
|
|
101
|
+
"componentId": {
|
|
102
|
+
"scope": "teambit.lanes",
|
|
103
|
+
"name": "lane-id",
|
|
104
|
+
"version": "0.0.305"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"__schema": "KeywordTypeSchema",
|
|
109
|
+
"location": {
|
|
110
|
+
"filePath": "use-viewed-lane-from-url.ts",
|
|
111
|
+
"line": 6,
|
|
112
|
+
"character": 50
|
|
113
|
+
},
|
|
114
|
+
"name": "undefined"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"modifiers": [
|
|
119
|
+
"export"
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"internals": []
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"componentId": {
|
|
127
|
+
"scope": "teambit.lanes",
|
|
128
|
+
"name": "hooks/use-viewed-lane-from-url",
|
|
129
|
+
"version": "eb70bde7fdec09501f72b332bb9e235c07e2ceb6"
|
|
130
|
+
},
|
|
131
|
+
"taggedModuleExports": []
|
|
132
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(root,factory){typeof exports=="object"&&typeof module=="object"?module.exports=factory():typeof define=="function"&&define.amd?define([],factory):typeof exports=="object"?exports["teambit.lanes/hooks/use-viewed-lane-from-url-preview"]=factory():root["teambit.lanes/hooks/use-viewed-lane-from-url-preview"]=factory()})(self,()=>(()=>{"use strict";var __webpack_require__={};__webpack_require__.d=(exports2,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports2,key)&&Object.defineProperty(exports2,key,{enumerable:!0,get:definition[key]})},__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__.r=exports2=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(exports2,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports2,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{compositions:()=>compositions,compositions_metadata:()=>compositions_metadata,overview:()=>overview});var __bit_component={id:"teambit.lanes/hooks/use-viewed-lane-from-url@eb70bde7fdec09501f72b332bb9e235c07e2ceb6",homepage:"https://bit.cloud/teambit/lanes/hooks/use-viewed-lane-from-url",exported:!0};const compositions=[],overview=[],compositions_metadata={compositions:[]};return __webpack_exports__})());
|
package/tsconfig.json
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": [
|
|
4
|
-
"es2019",
|
|
5
|
-
"DOM",
|
|
6
|
-
"ES6",
|
|
7
|
-
"DOM.Iterable"
|
|
8
|
-
],
|
|
9
|
-
"target": "es2015",
|
|
10
|
-
"module": "CommonJS",
|
|
11
|
-
"jsx": "react",
|
|
12
|
-
"allowJs": true,
|
|
13
|
-
"composite": true,
|
|
14
|
-
"declaration": true,
|
|
15
|
-
"sourceMap": true,
|
|
16
|
-
"skipLibCheck": true,
|
|
17
|
-
"experimentalDecorators": true,
|
|
18
|
-
"outDir": "dist",
|
|
19
|
-
"moduleResolution": "node",
|
|
20
|
-
"esModuleInterop": true,
|
|
21
|
-
"rootDir": ".",
|
|
22
|
-
"resolveJsonModule": true
|
|
23
|
-
},
|
|
24
|
-
"exclude": [
|
|
25
|
-
"dist",
|
|
26
|
-
"package.json"
|
|
27
|
-
],
|
|
28
|
-
"include": [
|
|
29
|
-
"**/*",
|
|
30
|
-
"**/*.json"
|
|
31
|
-
]
|
|
32
|
-
}
|
package/types/asset.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
declare module '*.png' {
|
|
2
|
-
const value: any;
|
|
3
|
-
export = value;
|
|
4
|
-
}
|
|
5
|
-
declare module '*.svg' {
|
|
6
|
-
import type { FunctionComponent, SVGProps } from 'react';
|
|
7
|
-
|
|
8
|
-
export const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string }>;
|
|
9
|
-
const src: string;
|
|
10
|
-
export default src;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// @TODO Gilad
|
|
14
|
-
declare module '*.jpg' {
|
|
15
|
-
const value: any;
|
|
16
|
-
export = value;
|
|
17
|
-
}
|
|
18
|
-
declare module '*.jpeg' {
|
|
19
|
-
const value: any;
|
|
20
|
-
export = value;
|
|
21
|
-
}
|
|
22
|
-
declare module '*.gif' {
|
|
23
|
-
const value: any;
|
|
24
|
-
export = value;
|
|
25
|
-
}
|
|
26
|
-
declare module '*.bmp' {
|
|
27
|
-
const value: any;
|
|
28
|
-
export = value;
|
|
29
|
-
}
|
package/types/style.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare module '*.module.css' {
|
|
2
|
-
const classes: { readonly [key: string]: string };
|
|
3
|
-
export default classes;
|
|
4
|
-
}
|
|
5
|
-
declare module '*.module.scss' {
|
|
6
|
-
const classes: { readonly [key: string]: string };
|
|
7
|
-
export default classes;
|
|
8
|
-
}
|
|
9
|
-
declare module '*.module.sass' {
|
|
10
|
-
const classes: { readonly [key: string]: string };
|
|
11
|
-
export default classes;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
declare module '*.module.less' {
|
|
15
|
-
const classes: { readonly [key: string]: string };
|
|
16
|
-
export default classes;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
declare module '*.less' {
|
|
20
|
-
const classes: { readonly [key: string]: string };
|
|
21
|
-
export default classes;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare module '*.css' {
|
|
25
|
-
const classes: { readonly [key: string]: string };
|
|
26
|
-
export default classes;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
declare module '*.sass' {
|
|
30
|
-
const classes: { readonly [key: string]: string };
|
|
31
|
-
export default classes;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
declare module '*.scss' {
|
|
35
|
-
const classes: { readonly [key: string]: string };
|
|
36
|
-
export default classes;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
declare module '*.mdx' {
|
|
40
|
-
const component: any;
|
|
41
|
-
export default component;
|
|
42
|
-
}
|