@teambit/lanes.ui.inputs.lane-selector 0.0.231 → 0.0.232

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/schema.json ADDED
@@ -0,0 +1,2683 @@
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": "ExportSchema",
18
+ "location": {
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 10
22
+ },
23
+ "name": "LaneSelector",
24
+ "exportNode": {
25
+ "__schema": "ReactSchema",
26
+ "location": {
27
+ "filePath": "lane-selector.tsx",
28
+ "line": 52,
29
+ "character": 1
30
+ },
31
+ "signature": "function LaneSelector(props: LaneSelectorProps): React.JSX.Element",
32
+ "name": "LaneSelector",
33
+ "props": {
34
+ "__schema": "ParameterSchema",
35
+ "location": {
36
+ "filePath": "lane-selector.tsx",
37
+ "line": 52,
38
+ "character": 30
39
+ },
40
+ "name": "props",
41
+ "type": {
42
+ "__schema": "TypeRefSchema",
43
+ "location": {
44
+ "filePath": "lane-selector.tsx",
45
+ "line": 52,
46
+ "character": 37
47
+ },
48
+ "name": "LaneSelectorProps"
49
+ },
50
+ "isOptional": false,
51
+ "isSpread": false
52
+ },
53
+ "returnType": {
54
+ "__schema": "TypeRefSchema",
55
+ "location": {
56
+ "filePath": "lane-selector.tsx",
57
+ "line": 52,
58
+ "character": 1
59
+ },
60
+ "name": "React.JSX.Element",
61
+ "packageName": "react"
62
+ },
63
+ "modifiers": [
64
+ "export"
65
+ ]
66
+ }
67
+ },
68
+ {
69
+ "__schema": "ExportSchema",
70
+ "location": {
71
+ "filePath": "index.ts",
72
+ "line": 2,
73
+ "character": 10
74
+ },
75
+ "name": "LaneMenuItem",
76
+ "exportNode": {
77
+ "__schema": "VariableLikeSchema",
78
+ "location": {
79
+ "filePath": "lane-menu-item.tsx",
80
+ "line": 23,
81
+ "character": 14
82
+ },
83
+ "signature": "const LaneMenuItem: React.ForwardRefExoticComponent<{\n selected?: LaneId;\n current: LaneModel;\n getHref?: (laneId: LaneId) => string;\n onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void;\n icon?: React.ReactNode;\n timestamp?: Date;\n} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>",
84
+ "name": "LaneMenuItem",
85
+ "type": {
86
+ "__schema": "InferenceTypeSchema",
87
+ "location": {
88
+ "filePath": "lane-menu-item.tsx",
89
+ "line": 23,
90
+ "character": 14
91
+ },
92
+ "type": "React.ForwardRefExoticComponent<{\n selected?: LaneId;\n current: LaneModel;\n getHref?: (laneId: LaneId) => string;\n onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void;\n icon?: React.ReactNode;\n timestamp?: Date;\n} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>"
93
+ },
94
+ "isOptional": false,
95
+ "defaultValue": "forwardRef<HTMLDivElement, LaneMenuItemProps>(\n (\n {\n selected,\n current,\n className,\n onLaneSelected,\n getHref = LanesModel.getLaneUrl,\n icon,\n timestamp,\n ...rest\n }: LaneMenuItemProps,\n ref\n ) => {\n const isCurrent = selected?.toString() === current.id.toString();\n const isDefaultLane = current.id.isDefault();\n const iconWithDefault: React.ReactNode =\n icon ||\n (isDefaultLane ? (\n <img alt=\"main components\" src=\"https://static.bit.cloud/bit-icons/changed-components.svg\" />\n ) : undefined);\n\n const href = getHref(current.id);\n\n const onClick = () => {\n onLaneSelected?.(current.id, current);\n };\n\n const laneDisplayName = current.displayName || current.id.name;\n const laneName = current.id.name;\n const user = current.updatedBy || current.createdBy;\n\n const avatar = iconWithDefault || (\n <UserAvatar\n size={24}\n account={{\n name: user?.name?.split(' ')[0],\n displayName: user?.name,\n profileImage: user?.profileImage,\n }}\n />\n );\n\n const formattedTimestamp = timestamp?.toString();\n\n return (\n <div {...rest} ref={ref} className={classnames(className, styles.laneMenuItemContainer)}>\n <MenuLinkItem active={isCurrent} href={href} className={styles.menuItem} onClick={onClick}>\n <div className={styles.laneContainer}>\n <div className={classnames(styles.top, isDefaultLane && styles.mainLane)}>\n <div className={classnames(styles.icon, isDefaultLane && !icon && styles.defaultMainLaneIcon)}>\n {avatar}\n </div>\n <div className={classnames(styles.laneDisplayName)}>{laneDisplayName}</div>\n </div>\n <div className={styles.bottom}>\n {!isDefaultLane && <Ellipsis className={styles.laneName}>{laneName}</Ellipsis>}\n\n {formattedTimestamp && (\n <div className={styles.timeStamp}>\n <TimeAgo date={formattedTimestamp} className={styles.laneUpdated} />\n </div>\n )}\n </div>\n </div>\n </MenuLinkItem>\n </div>\n );\n }\n)"
96
+ }
97
+ },
98
+ {
99
+ "__schema": "ExportSchema",
100
+ "location": {
101
+ "filePath": "index.ts",
102
+ "line": 3,
103
+ "character": 10
104
+ },
105
+ "name": "LanePlaceholder",
106
+ "exportNode": {
107
+ "__schema": "ReactSchema",
108
+ "location": {
109
+ "filePath": "lane-placeholder.tsx",
110
+ "line": 18,
111
+ "character": 1
112
+ },
113
+ "signature": "function LanePlaceholder({ selectedLaneId, disabled, className, showScope, loading, placeholderText: placeholderTextFromProps, ...rest }: LanePlaceholderProps): React.JSX.Element",
114
+ "name": "LanePlaceholder",
115
+ "props": {
116
+ "__schema": "ParameterSchema",
117
+ "location": {
118
+ "filePath": "lane-placeholder.tsx",
119
+ "line": 18,
120
+ "character": 33
121
+ },
122
+ "name": "{ selectedLaneId, disabled, className, showScope = true, loading, placeholderText: placeholderTextFromProps, ...rest }",
123
+ "type": {
124
+ "__schema": "TypeRefSchema",
125
+ "location": {
126
+ "filePath": "lane-placeholder.tsx",
127
+ "line": 26,
128
+ "character": 4
129
+ },
130
+ "name": "LanePlaceholderProps"
131
+ },
132
+ "isOptional": false,
133
+ "objectBindingNodes": [
134
+ {
135
+ "__schema": "InferenceTypeSchema",
136
+ "location": {
137
+ "filePath": "lane-placeholder.tsx",
138
+ "line": 19,
139
+ "character": 3
140
+ },
141
+ "name": "selectedLaneId",
142
+ "type": "LaneId",
143
+ "isSpread": false
144
+ },
145
+ {
146
+ "__schema": "InferenceTypeSchema",
147
+ "location": {
148
+ "filePath": "lane-placeholder.tsx",
149
+ "line": 20,
150
+ "character": 3
151
+ },
152
+ "name": "disabled",
153
+ "type": "boolean",
154
+ "isSpread": false
155
+ },
156
+ {
157
+ "__schema": "InferenceTypeSchema",
158
+ "location": {
159
+ "filePath": "lane-placeholder.tsx",
160
+ "line": 21,
161
+ "character": 3
162
+ },
163
+ "name": "className",
164
+ "type": "string",
165
+ "isSpread": false
166
+ },
167
+ {
168
+ "__schema": "InferenceTypeSchema",
169
+ "location": {
170
+ "filePath": "lane-placeholder.tsx",
171
+ "line": 22,
172
+ "character": 3
173
+ },
174
+ "name": "showScope",
175
+ "type": "boolean",
176
+ "defaultValue": "true",
177
+ "isSpread": false
178
+ },
179
+ {
180
+ "__schema": "InferenceTypeSchema",
181
+ "location": {
182
+ "filePath": "lane-placeholder.tsx",
183
+ "line": 23,
184
+ "character": 3
185
+ },
186
+ "name": "loading",
187
+ "type": "boolean",
188
+ "isSpread": false
189
+ },
190
+ {
191
+ "__schema": "InferenceTypeSchema",
192
+ "location": {
193
+ "filePath": "lane-placeholder.tsx",
194
+ "line": 24,
195
+ "character": 20
196
+ },
197
+ "name": "placeholderTextFromProps",
198
+ "type": "string",
199
+ "isSpread": false
200
+ },
201
+ {
202
+ "__schema": "InferenceTypeSchema",
203
+ "location": {
204
+ "filePath": "lane-placeholder.tsx",
205
+ "line": 25,
206
+ "character": 6
207
+ },
208
+ "name": "rest",
209
+ "type": "{\n defaultChecked?: boolean;\n defaultValue?: string | number | readonly string[];\n suppressContentEditableWarning?: boolean;\n suppressHydrationWarning?: boolean;\n accessKey?: string;\n autoFocus?: boolean;\n ... 251 more ...;\n onTransitionEndCapture?: React.TransitionEventHandler<...>;\n}",
210
+ "isSpread": true
211
+ }
212
+ ],
213
+ "isSpread": false
214
+ },
215
+ "returnType": {
216
+ "__schema": "TypeRefSchema",
217
+ "location": {
218
+ "filePath": "lane-placeholder.tsx",
219
+ "line": 18,
220
+ "character": 1
221
+ },
222
+ "name": "React.JSX.Element",
223
+ "packageName": "react"
224
+ },
225
+ "modifiers": [
226
+ "export"
227
+ ]
228
+ }
229
+ },
230
+ {
231
+ "__schema": "ExportSchema",
232
+ "location": {
233
+ "filePath": "index.ts",
234
+ "line": 4,
235
+ "character": 15
236
+ },
237
+ "name": "LaneSelectorProps",
238
+ "exportNode": {
239
+ "__schema": "TypeSchema",
240
+ "location": {
241
+ "filePath": "lane-selector.tsx",
242
+ "line": 21,
243
+ "character": 1
244
+ },
245
+ "signature": "type LaneSelectorProps = {\n nonMainLanes: Array<LaneModel>;\n mainLane?: LaneModel;\n selectedLaneId?: LaneId;\n groupByScope?: boolean;\n getHref?: (laneId: LaneId) => string;\n onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void;\n mainIcon?: React.ReactNode;\n scopeIconLookup?: Map<string, React.ReactNode>;\n loading?: boolean;\n hasMore?: boolean;\n fetchMoreLanes?: FetchMoreLanes;\n initialOffset?: number;\n searchLanes?: (search?: string) => LanesModel | undefined | null;\n placeholderText?: string;\n} & React.HTMLAttributes<...>",
246
+ "name": "LaneSelectorProps",
247
+ "type": {
248
+ "__schema": "TypeIntersectionSchema",
249
+ "location": {
250
+ "filePath": "lane-selector.tsx",
251
+ "line": 21,
252
+ "character": 33
253
+ },
254
+ "types": [
255
+ {
256
+ "__schema": "TypeLiteralSchema",
257
+ "location": {
258
+ "filePath": "lane-selector.tsx",
259
+ "line": 21,
260
+ "character": 33
261
+ },
262
+ "members": [
263
+ {
264
+ "__schema": "VariableLikeSchema",
265
+ "location": {
266
+ "filePath": "lane-selector.tsx",
267
+ "line": 22,
268
+ "character": 3
269
+ },
270
+ "signature": "(property) nonMainLanes: LaneModel[]",
271
+ "name": "nonMainLanes",
272
+ "type": {
273
+ "__schema": "TypeRefSchema",
274
+ "location": {
275
+ "filePath": "lane-selector.tsx",
276
+ "line": 22,
277
+ "character": 17
278
+ },
279
+ "name": "Array",
280
+ "typeArgs": [
281
+ {
282
+ "__schema": "TypeRefSchema",
283
+ "location": {
284
+ "filePath": "lane-selector.tsx",
285
+ "line": 22,
286
+ "character": 23
287
+ },
288
+ "name": "LaneModel",
289
+ "componentId": {
290
+ "scope": "teambit.lanes",
291
+ "name": "ui/models/lanes-model",
292
+ "version": "0.0.217"
293
+ }
294
+ }
295
+ ]
296
+ },
297
+ "isOptional": false
298
+ },
299
+ {
300
+ "__schema": "VariableLikeSchema",
301
+ "location": {
302
+ "filePath": "lane-selector.tsx",
303
+ "line": 23,
304
+ "character": 3
305
+ },
306
+ "signature": "(property) mainLane?: LaneModel",
307
+ "name": "mainLane",
308
+ "type": {
309
+ "__schema": "TypeRefSchema",
310
+ "location": {
311
+ "filePath": "lane-selector.tsx",
312
+ "line": 23,
313
+ "character": 3
314
+ },
315
+ "name": "LaneModel",
316
+ "componentId": {
317
+ "scope": "teambit.lanes",
318
+ "name": "ui/models/lanes-model",
319
+ "version": "0.0.217"
320
+ }
321
+ },
322
+ "isOptional": true
323
+ },
324
+ {
325
+ "__schema": "VariableLikeSchema",
326
+ "location": {
327
+ "filePath": "lane-selector.tsx",
328
+ "line": 24,
329
+ "character": 3
330
+ },
331
+ "signature": "(property) selectedLaneId?: LaneId",
332
+ "name": "selectedLaneId",
333
+ "type": {
334
+ "__schema": "TypeRefSchema",
335
+ "location": {
336
+ "filePath": "lane-selector.tsx",
337
+ "line": 24,
338
+ "character": 3
339
+ },
340
+ "name": "LaneId",
341
+ "componentId": {
342
+ "scope": "teambit.lanes",
343
+ "name": "lane-id",
344
+ "version": "0.0.311"
345
+ }
346
+ },
347
+ "isOptional": true
348
+ },
349
+ {
350
+ "__schema": "VariableLikeSchema",
351
+ "location": {
352
+ "filePath": "lane-selector.tsx",
353
+ "line": 25,
354
+ "character": 3
355
+ },
356
+ "signature": "(property) groupByScope?: boolean",
357
+ "name": "groupByScope",
358
+ "type": {
359
+ "__schema": "KeywordTypeSchema",
360
+ "location": {
361
+ "filePath": "lane-selector.tsx",
362
+ "line": 25,
363
+ "character": 18
364
+ },
365
+ "name": "boolean"
366
+ },
367
+ "isOptional": true
368
+ },
369
+ {
370
+ "__schema": "VariableLikeSchema",
371
+ "location": {
372
+ "filePath": "lane-selector.tsx",
373
+ "line": 26,
374
+ "character": 3
375
+ },
376
+ "signature": "(property) getHref?: (laneId: LaneId) => string",
377
+ "name": "getHref",
378
+ "type": {
379
+ "__schema": "FunctionLikeSchema",
380
+ "location": {
381
+ "filePath": "lane-selector.tsx",
382
+ "line": 26,
383
+ "character": 13
384
+ },
385
+ "signature": "(laneId: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId): string",
386
+ "name": "",
387
+ "params": [
388
+ {
389
+ "__schema": "ParameterSchema",
390
+ "location": {
391
+ "filePath": "lane-selector.tsx",
392
+ "line": 26,
393
+ "character": 14
394
+ },
395
+ "name": "laneId",
396
+ "type": {
397
+ "__schema": "TypeRefSchema",
398
+ "location": {
399
+ "filePath": "lane-selector.tsx",
400
+ "line": 26,
401
+ "character": 22
402
+ },
403
+ "name": "LaneId",
404
+ "componentId": {
405
+ "scope": "teambit.lanes",
406
+ "name": "lane-id",
407
+ "version": "0.0.311"
408
+ }
409
+ },
410
+ "isOptional": false,
411
+ "isSpread": false
412
+ }
413
+ ],
414
+ "returnType": {
415
+ "__schema": "KeywordTypeSchema",
416
+ "location": {
417
+ "filePath": "lane-selector.tsx",
418
+ "line": 26,
419
+ "character": 33
420
+ },
421
+ "name": "string"
422
+ },
423
+ "modifiers": []
424
+ },
425
+ "isOptional": true
426
+ },
427
+ {
428
+ "__schema": "VariableLikeSchema",
429
+ "location": {
430
+ "filePath": "lane-selector.tsx",
431
+ "line": 27,
432
+ "character": 3
433
+ },
434
+ "signature": "(property) onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void",
435
+ "name": "onLaneSelected",
436
+ "type": {
437
+ "__schema": "FunctionLikeSchema",
438
+ "location": {
439
+ "filePath": "lane-selector.tsx",
440
+ "line": 27,
441
+ "character": 20
442
+ },
443
+ "signature": "(laneId: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId, lane: \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LaneModel): void",
444
+ "name": "",
445
+ "params": [
446
+ {
447
+ "__schema": "ParameterSchema",
448
+ "location": {
449
+ "filePath": "lane-selector.tsx",
450
+ "line": 27,
451
+ "character": 21
452
+ },
453
+ "name": "laneId",
454
+ "type": {
455
+ "__schema": "TypeRefSchema",
456
+ "location": {
457
+ "filePath": "lane-selector.tsx",
458
+ "line": 27,
459
+ "character": 29
460
+ },
461
+ "name": "LaneId",
462
+ "componentId": {
463
+ "scope": "teambit.lanes",
464
+ "name": "lane-id",
465
+ "version": "0.0.311"
466
+ }
467
+ },
468
+ "isOptional": false,
469
+ "isSpread": false
470
+ },
471
+ {
472
+ "__schema": "ParameterSchema",
473
+ "location": {
474
+ "filePath": "lane-selector.tsx",
475
+ "line": 27,
476
+ "character": 37
477
+ },
478
+ "name": "lane",
479
+ "type": {
480
+ "__schema": "TypeRefSchema",
481
+ "location": {
482
+ "filePath": "lane-selector.tsx",
483
+ "line": 27,
484
+ "character": 43
485
+ },
486
+ "name": "LaneModel",
487
+ "componentId": {
488
+ "scope": "teambit.lanes",
489
+ "name": "ui/models/lanes-model",
490
+ "version": "0.0.217"
491
+ }
492
+ },
493
+ "isOptional": false,
494
+ "isSpread": false
495
+ }
496
+ ],
497
+ "returnType": {
498
+ "__schema": "KeywordTypeSchema",
499
+ "location": {
500
+ "filePath": "lane-selector.tsx",
501
+ "line": 27,
502
+ "character": 57
503
+ },
504
+ "name": "void"
505
+ },
506
+ "modifiers": []
507
+ },
508
+ "isOptional": true
509
+ },
510
+ {
511
+ "__schema": "VariableLikeSchema",
512
+ "location": {
513
+ "filePath": "lane-selector.tsx",
514
+ "line": 28,
515
+ "character": 3
516
+ },
517
+ "signature": "(property) mainIcon?: React.ReactNode",
518
+ "name": "mainIcon",
519
+ "type": {
520
+ "__schema": "TypeRefSchema",
521
+ "location": {
522
+ "filePath": "lane-selector.tsx",
523
+ "line": 28,
524
+ "character": 14
525
+ },
526
+ "name": "React.ReactNode"
527
+ },
528
+ "isOptional": true
529
+ },
530
+ {
531
+ "__schema": "VariableLikeSchema",
532
+ "location": {
533
+ "filePath": "lane-selector.tsx",
534
+ "line": 29,
535
+ "character": 3
536
+ },
537
+ "signature": "(property) scopeIconLookup?: Map<string, React.ReactNode>",
538
+ "name": "scopeIconLookup",
539
+ "type": {
540
+ "__schema": "TypeRefSchema",
541
+ "location": {
542
+ "filePath": "lane-selector.tsx",
543
+ "line": 29,
544
+ "character": 21
545
+ },
546
+ "name": "Map",
547
+ "typeArgs": [
548
+ {
549
+ "__schema": "KeywordTypeSchema",
550
+ "location": {
551
+ "filePath": "lane-selector.tsx",
552
+ "line": 29,
553
+ "character": 25
554
+ },
555
+ "name": "string"
556
+ },
557
+ {
558
+ "__schema": "TypeRefSchema",
559
+ "location": {
560
+ "filePath": "lane-selector.tsx",
561
+ "line": 29,
562
+ "character": 33
563
+ },
564
+ "name": "React.ReactNode"
565
+ }
566
+ ]
567
+ },
568
+ "isOptional": true
569
+ },
570
+ {
571
+ "__schema": "VariableLikeSchema",
572
+ "location": {
573
+ "filePath": "lane-selector.tsx",
574
+ "line": 30,
575
+ "character": 3
576
+ },
577
+ "signature": "(property) loading?: boolean",
578
+ "name": "loading",
579
+ "type": {
580
+ "__schema": "KeywordTypeSchema",
581
+ "location": {
582
+ "filePath": "lane-selector.tsx",
583
+ "line": 30,
584
+ "character": 13
585
+ },
586
+ "name": "boolean"
587
+ },
588
+ "isOptional": true
589
+ },
590
+ {
591
+ "__schema": "VariableLikeSchema",
592
+ "location": {
593
+ "filePath": "lane-selector.tsx",
594
+ "line": 31,
595
+ "character": 3
596
+ },
597
+ "signature": "(property) hasMore?: boolean",
598
+ "name": "hasMore",
599
+ "type": {
600
+ "__schema": "KeywordTypeSchema",
601
+ "location": {
602
+ "filePath": "lane-selector.tsx",
603
+ "line": 31,
604
+ "character": 13
605
+ },
606
+ "name": "boolean"
607
+ },
608
+ "isOptional": true
609
+ },
610
+ {
611
+ "__schema": "VariableLikeSchema",
612
+ "location": {
613
+ "filePath": "lane-selector.tsx",
614
+ "line": 32,
615
+ "character": 3
616
+ },
617
+ "signature": "(property) fetchMoreLanes?: FetchMoreLanes",
618
+ "name": "fetchMoreLanes",
619
+ "type": {
620
+ "__schema": "TypeRefSchema",
621
+ "location": {
622
+ "filePath": "lane-selector.tsx",
623
+ "line": 32,
624
+ "character": 3
625
+ },
626
+ "name": "FetchMoreLanes",
627
+ "componentId": {
628
+ "scope": "teambit.lanes",
629
+ "name": "hooks/use-lanes",
630
+ "version": "0.0.267"
631
+ }
632
+ },
633
+ "isOptional": true
634
+ },
635
+ {
636
+ "__schema": "VariableLikeSchema",
637
+ "location": {
638
+ "filePath": "lane-selector.tsx",
639
+ "line": 33,
640
+ "character": 3
641
+ },
642
+ "signature": "(property) initialOffset?: number",
643
+ "name": "initialOffset",
644
+ "type": {
645
+ "__schema": "KeywordTypeSchema",
646
+ "location": {
647
+ "filePath": "lane-selector.tsx",
648
+ "line": 33,
649
+ "character": 19
650
+ },
651
+ "name": "number"
652
+ },
653
+ "isOptional": true
654
+ },
655
+ {
656
+ "__schema": "VariableLikeSchema",
657
+ "location": {
658
+ "filePath": "lane-selector.tsx",
659
+ "line": 34,
660
+ "character": 3
661
+ },
662
+ "signature": "(property) searchLanes?: (search?: string) => LanesModel | undefined | null",
663
+ "name": "searchLanes",
664
+ "type": {
665
+ "__schema": "FunctionLikeSchema",
666
+ "location": {
667
+ "filePath": "lane-selector.tsx",
668
+ "line": 34,
669
+ "character": 17
670
+ },
671
+ "signature": "(search?: string): \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LanesModel | undefined | null",
672
+ "name": "",
673
+ "params": [
674
+ {
675
+ "__schema": "ParameterSchema",
676
+ "location": {
677
+ "filePath": "lane-selector.tsx",
678
+ "line": 34,
679
+ "character": 18
680
+ },
681
+ "name": "search",
682
+ "type": {
683
+ "__schema": "KeywordTypeSchema",
684
+ "location": {
685
+ "filePath": "lane-selector.tsx",
686
+ "line": 34,
687
+ "character": 27
688
+ },
689
+ "name": "string"
690
+ },
691
+ "isOptional": true,
692
+ "isSpread": false
693
+ }
694
+ ],
695
+ "returnType": {
696
+ "__schema": "TypeUnionSchema",
697
+ "location": {
698
+ "filePath": "lane-selector.tsx",
699
+ "line": 34,
700
+ "character": 38
701
+ },
702
+ "types": [
703
+ {
704
+ "__schema": "TypeRefSchema",
705
+ "location": {
706
+ "filePath": "lane-selector.tsx",
707
+ "line": 34,
708
+ "character": 38
709
+ },
710
+ "name": "LanesModel",
711
+ "componentId": {
712
+ "scope": "teambit.lanes",
713
+ "name": "ui/models/lanes-model",
714
+ "version": "0.0.217"
715
+ }
716
+ },
717
+ {
718
+ "__schema": "KeywordTypeSchema",
719
+ "location": {
720
+ "filePath": "lane-selector.tsx",
721
+ "line": 34,
722
+ "character": 51
723
+ },
724
+ "name": "undefined"
725
+ },
726
+ {
727
+ "__schema": "LiteralTypeSchema",
728
+ "location": {
729
+ "filePath": "lane-selector.tsx",
730
+ "line": 34,
731
+ "character": 63
732
+ },
733
+ "name": "null"
734
+ }
735
+ ]
736
+ },
737
+ "modifiers": []
738
+ },
739
+ "isOptional": true
740
+ },
741
+ {
742
+ "__schema": "VariableLikeSchema",
743
+ "location": {
744
+ "filePath": "lane-selector.tsx",
745
+ "line": 35,
746
+ "character": 3
747
+ },
748
+ "signature": "(property) placeholderText?: string",
749
+ "name": "placeholderText",
750
+ "type": {
751
+ "__schema": "KeywordTypeSchema",
752
+ "location": {
753
+ "filePath": "lane-selector.tsx",
754
+ "line": 35,
755
+ "character": 21
756
+ },
757
+ "name": "string"
758
+ },
759
+ "isOptional": true
760
+ }
761
+ ]
762
+ },
763
+ {
764
+ "__schema": "TypeRefSchema",
765
+ "location": {
766
+ "filePath": "lane-selector.tsx",
767
+ "line": 36,
768
+ "character": 5
769
+ },
770
+ "name": "HTMLAttributes",
771
+ "packageName": "react",
772
+ "typeArgs": [
773
+ {
774
+ "__schema": "TypeRefSchema",
775
+ "location": {
776
+ "filePath": "lane-selector.tsx",
777
+ "line": 36,
778
+ "character": 20
779
+ },
780
+ "name": "HTMLDivElement"
781
+ }
782
+ ]
783
+ }
784
+ ]
785
+ }
786
+ }
787
+ },
788
+ {
789
+ "__schema": "ExportSchema",
790
+ "location": {
791
+ "filePath": "index.ts",
792
+ "line": 5,
793
+ "character": 15
794
+ },
795
+ "name": "LanePlaceholderProps",
796
+ "exportNode": {
797
+ "__schema": "TypeSchema",
798
+ "location": {
799
+ "filePath": "lane-placeholder.tsx",
800
+ "line": 10,
801
+ "character": 1
802
+ },
803
+ "signature": "type LanePlaceholderProps = {\n selectedLaneId?: LaneId;\n disabled?: boolean;\n showScope?: boolean;\n loading?: boolean;\n placeholderText?: string;\n} & React.HTMLAttributes<HTMLDivElement>",
804
+ "name": "LanePlaceholderProps",
805
+ "type": {
806
+ "__schema": "TypeIntersectionSchema",
807
+ "location": {
808
+ "filePath": "lane-placeholder.tsx",
809
+ "line": 10,
810
+ "character": 36
811
+ },
812
+ "types": [
813
+ {
814
+ "__schema": "TypeLiteralSchema",
815
+ "location": {
816
+ "filePath": "lane-placeholder.tsx",
817
+ "line": 10,
818
+ "character": 36
819
+ },
820
+ "members": [
821
+ {
822
+ "__schema": "VariableLikeSchema",
823
+ "location": {
824
+ "filePath": "lane-placeholder.tsx",
825
+ "line": 11,
826
+ "character": 3
827
+ },
828
+ "signature": "(property) selectedLaneId?: LaneId",
829
+ "name": "selectedLaneId",
830
+ "type": {
831
+ "__schema": "TypeRefSchema",
832
+ "location": {
833
+ "filePath": "lane-placeholder.tsx",
834
+ "line": 11,
835
+ "character": 3
836
+ },
837
+ "name": "LaneId",
838
+ "componentId": {
839
+ "scope": "teambit.lanes",
840
+ "name": "lane-id",
841
+ "version": "0.0.311"
842
+ }
843
+ },
844
+ "isOptional": true
845
+ },
846
+ {
847
+ "__schema": "VariableLikeSchema",
848
+ "location": {
849
+ "filePath": "lane-placeholder.tsx",
850
+ "line": 12,
851
+ "character": 3
852
+ },
853
+ "signature": "(property) disabled?: boolean",
854
+ "name": "disabled",
855
+ "type": {
856
+ "__schema": "KeywordTypeSchema",
857
+ "location": {
858
+ "filePath": "lane-placeholder.tsx",
859
+ "line": 12,
860
+ "character": 14
861
+ },
862
+ "name": "boolean"
863
+ },
864
+ "isOptional": true
865
+ },
866
+ {
867
+ "__schema": "VariableLikeSchema",
868
+ "location": {
869
+ "filePath": "lane-placeholder.tsx",
870
+ "line": 13,
871
+ "character": 3
872
+ },
873
+ "signature": "(property) showScope?: boolean",
874
+ "name": "showScope",
875
+ "type": {
876
+ "__schema": "KeywordTypeSchema",
877
+ "location": {
878
+ "filePath": "lane-placeholder.tsx",
879
+ "line": 13,
880
+ "character": 15
881
+ },
882
+ "name": "boolean"
883
+ },
884
+ "isOptional": true
885
+ },
886
+ {
887
+ "__schema": "VariableLikeSchema",
888
+ "location": {
889
+ "filePath": "lane-placeholder.tsx",
890
+ "line": 14,
891
+ "character": 3
892
+ },
893
+ "signature": "(property) loading?: boolean",
894
+ "name": "loading",
895
+ "type": {
896
+ "__schema": "KeywordTypeSchema",
897
+ "location": {
898
+ "filePath": "lane-placeholder.tsx",
899
+ "line": 14,
900
+ "character": 13
901
+ },
902
+ "name": "boolean"
903
+ },
904
+ "isOptional": true
905
+ },
906
+ {
907
+ "__schema": "VariableLikeSchema",
908
+ "location": {
909
+ "filePath": "lane-placeholder.tsx",
910
+ "line": 15,
911
+ "character": 3
912
+ },
913
+ "signature": "(property) placeholderText?: string",
914
+ "name": "placeholderText",
915
+ "type": {
916
+ "__schema": "KeywordTypeSchema",
917
+ "location": {
918
+ "filePath": "lane-placeholder.tsx",
919
+ "line": 15,
920
+ "character": 21
921
+ },
922
+ "name": "string"
923
+ },
924
+ "isOptional": true
925
+ }
926
+ ]
927
+ },
928
+ {
929
+ "__schema": "TypeRefSchema",
930
+ "location": {
931
+ "filePath": "lane-placeholder.tsx",
932
+ "line": 16,
933
+ "character": 5
934
+ },
935
+ "name": "HTMLAttributes",
936
+ "packageName": "react",
937
+ "typeArgs": [
938
+ {
939
+ "__schema": "TypeRefSchema",
940
+ "location": {
941
+ "filePath": "lane-placeholder.tsx",
942
+ "line": 16,
943
+ "character": 20
944
+ },
945
+ "name": "HTMLDivElement"
946
+ }
947
+ ]
948
+ }
949
+ ]
950
+ }
951
+ }
952
+ },
953
+ {
954
+ "__schema": "ExportSchema",
955
+ "location": {
956
+ "filePath": "index.ts",
957
+ "line": 6,
958
+ "character": 15
959
+ },
960
+ "name": "LaneMenuItemProps",
961
+ "exportNode": {
962
+ "__schema": "TypeSchema",
963
+ "location": {
964
+ "filePath": "lane-menu-item.tsx",
965
+ "line": 12,
966
+ "character": 1
967
+ },
968
+ "signature": "type LaneMenuItemProps = {\n selected?: LaneId;\n current: LaneModel;\n getHref?: (laneId: LaneId) => string;\n onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void;\n icon?: React.ReactNode;\n timestamp?: Date;\n} & React.HTMLAttributes<HTMLDivElement>",
969
+ "name": "LaneMenuItemProps",
970
+ "type": {
971
+ "__schema": "TypeIntersectionSchema",
972
+ "location": {
973
+ "filePath": "lane-menu-item.tsx",
974
+ "line": 12,
975
+ "character": 33
976
+ },
977
+ "types": [
978
+ {
979
+ "__schema": "TypeLiteralSchema",
980
+ "location": {
981
+ "filePath": "lane-menu-item.tsx",
982
+ "line": 12,
983
+ "character": 33
984
+ },
985
+ "members": [
986
+ {
987
+ "__schema": "VariableLikeSchema",
988
+ "location": {
989
+ "filePath": "lane-menu-item.tsx",
990
+ "line": 13,
991
+ "character": 3
992
+ },
993
+ "signature": "(property) selected?: LaneId",
994
+ "name": "selected",
995
+ "type": {
996
+ "__schema": "TypeRefSchema",
997
+ "location": {
998
+ "filePath": "lane-menu-item.tsx",
999
+ "line": 13,
1000
+ "character": 3
1001
+ },
1002
+ "name": "LaneId",
1003
+ "componentId": {
1004
+ "scope": "teambit.lanes",
1005
+ "name": "lane-id",
1006
+ "version": "0.0.311"
1007
+ }
1008
+ },
1009
+ "isOptional": true
1010
+ },
1011
+ {
1012
+ "__schema": "VariableLikeSchema",
1013
+ "location": {
1014
+ "filePath": "lane-menu-item.tsx",
1015
+ "line": 14,
1016
+ "character": 3
1017
+ },
1018
+ "signature": "(property) current: LaneModel",
1019
+ "name": "current",
1020
+ "type": {
1021
+ "__schema": "TypeRefSchema",
1022
+ "location": {
1023
+ "filePath": "lane-menu-item.tsx",
1024
+ "line": 14,
1025
+ "character": 3
1026
+ },
1027
+ "name": "LaneModel",
1028
+ "componentId": {
1029
+ "scope": "teambit.lanes",
1030
+ "name": "ui/models/lanes-model",
1031
+ "version": "0.0.217"
1032
+ }
1033
+ },
1034
+ "isOptional": false
1035
+ },
1036
+ {
1037
+ "__schema": "VariableLikeSchema",
1038
+ "location": {
1039
+ "filePath": "lane-menu-item.tsx",
1040
+ "line": 15,
1041
+ "character": 3
1042
+ },
1043
+ "signature": "(property) getHref?: (laneId: LaneId) => string",
1044
+ "name": "getHref",
1045
+ "type": {
1046
+ "__schema": "FunctionLikeSchema",
1047
+ "location": {
1048
+ "filePath": "lane-menu-item.tsx",
1049
+ "line": 15,
1050
+ "character": 13
1051
+ },
1052
+ "signature": "(laneId: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId): string",
1053
+ "name": "",
1054
+ "params": [
1055
+ {
1056
+ "__schema": "ParameterSchema",
1057
+ "location": {
1058
+ "filePath": "lane-menu-item.tsx",
1059
+ "line": 15,
1060
+ "character": 14
1061
+ },
1062
+ "name": "laneId",
1063
+ "type": {
1064
+ "__schema": "TypeRefSchema",
1065
+ "location": {
1066
+ "filePath": "lane-menu-item.tsx",
1067
+ "line": 15,
1068
+ "character": 22
1069
+ },
1070
+ "name": "LaneId",
1071
+ "componentId": {
1072
+ "scope": "teambit.lanes",
1073
+ "name": "lane-id",
1074
+ "version": "0.0.311"
1075
+ }
1076
+ },
1077
+ "isOptional": false,
1078
+ "isSpread": false
1079
+ }
1080
+ ],
1081
+ "returnType": {
1082
+ "__schema": "KeywordTypeSchema",
1083
+ "location": {
1084
+ "filePath": "lane-menu-item.tsx",
1085
+ "line": 15,
1086
+ "character": 33
1087
+ },
1088
+ "name": "string"
1089
+ },
1090
+ "modifiers": []
1091
+ },
1092
+ "isOptional": true
1093
+ },
1094
+ {
1095
+ "__schema": "VariableLikeSchema",
1096
+ "location": {
1097
+ "filePath": "lane-menu-item.tsx",
1098
+ "line": 16,
1099
+ "character": 3
1100
+ },
1101
+ "signature": "(property) onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void",
1102
+ "name": "onLaneSelected",
1103
+ "type": {
1104
+ "__schema": "FunctionLikeSchema",
1105
+ "location": {
1106
+ "filePath": "lane-menu-item.tsx",
1107
+ "line": 16,
1108
+ "character": 20
1109
+ },
1110
+ "signature": "(laneId: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId, lane: \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LaneModel): void",
1111
+ "name": "",
1112
+ "params": [
1113
+ {
1114
+ "__schema": "ParameterSchema",
1115
+ "location": {
1116
+ "filePath": "lane-menu-item.tsx",
1117
+ "line": 16,
1118
+ "character": 21
1119
+ },
1120
+ "name": "laneId",
1121
+ "type": {
1122
+ "__schema": "TypeRefSchema",
1123
+ "location": {
1124
+ "filePath": "lane-menu-item.tsx",
1125
+ "line": 16,
1126
+ "character": 29
1127
+ },
1128
+ "name": "LaneId",
1129
+ "componentId": {
1130
+ "scope": "teambit.lanes",
1131
+ "name": "lane-id",
1132
+ "version": "0.0.311"
1133
+ }
1134
+ },
1135
+ "isOptional": false,
1136
+ "isSpread": false
1137
+ },
1138
+ {
1139
+ "__schema": "ParameterSchema",
1140
+ "location": {
1141
+ "filePath": "lane-menu-item.tsx",
1142
+ "line": 16,
1143
+ "character": 37
1144
+ },
1145
+ "name": "lane",
1146
+ "type": {
1147
+ "__schema": "TypeRefSchema",
1148
+ "location": {
1149
+ "filePath": "lane-menu-item.tsx",
1150
+ "line": 16,
1151
+ "character": 43
1152
+ },
1153
+ "name": "LaneModel",
1154
+ "componentId": {
1155
+ "scope": "teambit.lanes",
1156
+ "name": "ui/models/lanes-model",
1157
+ "version": "0.0.217"
1158
+ }
1159
+ },
1160
+ "isOptional": false,
1161
+ "isSpread": false
1162
+ }
1163
+ ],
1164
+ "returnType": {
1165
+ "__schema": "KeywordTypeSchema",
1166
+ "location": {
1167
+ "filePath": "lane-menu-item.tsx",
1168
+ "line": 16,
1169
+ "character": 57
1170
+ },
1171
+ "name": "void"
1172
+ },
1173
+ "modifiers": []
1174
+ },
1175
+ "isOptional": true
1176
+ },
1177
+ {
1178
+ "__schema": "VariableLikeSchema",
1179
+ "location": {
1180
+ "filePath": "lane-menu-item.tsx",
1181
+ "line": 17,
1182
+ "character": 3
1183
+ },
1184
+ "signature": "(property) icon?: React.ReactNode",
1185
+ "name": "icon",
1186
+ "type": {
1187
+ "__schema": "TypeRefSchema",
1188
+ "location": {
1189
+ "filePath": "lane-menu-item.tsx",
1190
+ "line": 17,
1191
+ "character": 10
1192
+ },
1193
+ "name": "React.ReactNode"
1194
+ },
1195
+ "isOptional": true
1196
+ },
1197
+ {
1198
+ "__schema": "VariableLikeSchema",
1199
+ "location": {
1200
+ "filePath": "lane-menu-item.tsx",
1201
+ "line": 18,
1202
+ "character": 3
1203
+ },
1204
+ "signature": "(property) timestamp?: Date",
1205
+ "name": "timestamp",
1206
+ "type": {
1207
+ "__schema": "TypeRefSchema",
1208
+ "location": {
1209
+ "filePath": "lane-menu-item.tsx",
1210
+ "line": 18,
1211
+ "character": 15
1212
+ },
1213
+ "name": "Date"
1214
+ },
1215
+ "isOptional": true
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ "__schema": "TypeRefSchema",
1221
+ "location": {
1222
+ "filePath": "lane-menu-item.tsx",
1223
+ "line": 19,
1224
+ "character": 5
1225
+ },
1226
+ "name": "HTMLAttributes",
1227
+ "packageName": "react",
1228
+ "typeArgs": [
1229
+ {
1230
+ "__schema": "TypeRefSchema",
1231
+ "location": {
1232
+ "filePath": "lane-menu-item.tsx",
1233
+ "line": 19,
1234
+ "character": 20
1235
+ },
1236
+ "name": "HTMLDivElement"
1237
+ }
1238
+ ]
1239
+ }
1240
+ ]
1241
+ }
1242
+ }
1243
+ }
1244
+ ],
1245
+ "internals": []
1246
+ },
1247
+ "internals": [
1248
+ {
1249
+ "__schema": "ModuleSchema",
1250
+ "location": {
1251
+ "filePath": "lane-selector.tsx",
1252
+ "line": 1,
1253
+ "character": 1
1254
+ },
1255
+ "exports": [
1256
+ {
1257
+ "__schema": "TypeSchema",
1258
+ "location": {
1259
+ "filePath": "lane-selector.tsx",
1260
+ "line": 21,
1261
+ "character": 1
1262
+ },
1263
+ "signature": "type LaneSelectorProps = {\n nonMainLanes: Array<LaneModel>;\n mainLane?: LaneModel;\n selectedLaneId?: LaneId;\n groupByScope?: boolean;\n getHref?: (laneId: LaneId) => string;\n onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void;\n mainIcon?: React.ReactNode;\n scopeIconLookup?: Map<string, React.ReactNode>;\n loading?: boolean;\n hasMore?: boolean;\n fetchMoreLanes?: FetchMoreLanes;\n initialOffset?: number;\n searchLanes?: (search?: string) => LanesModel | undefined | null;\n placeholderText?: string;\n} & React.HTMLAttributes<...>",
1264
+ "name": "LaneSelectorProps",
1265
+ "type": {
1266
+ "__schema": "TypeIntersectionSchema",
1267
+ "location": {
1268
+ "filePath": "lane-selector.tsx",
1269
+ "line": 21,
1270
+ "character": 33
1271
+ },
1272
+ "types": [
1273
+ {
1274
+ "__schema": "TypeLiteralSchema",
1275
+ "location": {
1276
+ "filePath": "lane-selector.tsx",
1277
+ "line": 21,
1278
+ "character": 33
1279
+ },
1280
+ "members": [
1281
+ {
1282
+ "__schema": "VariableLikeSchema",
1283
+ "location": {
1284
+ "filePath": "lane-selector.tsx",
1285
+ "line": 22,
1286
+ "character": 3
1287
+ },
1288
+ "signature": "(property) nonMainLanes: LaneModel[]",
1289
+ "name": "nonMainLanes",
1290
+ "type": {
1291
+ "__schema": "TypeRefSchema",
1292
+ "location": {
1293
+ "filePath": "lane-selector.tsx",
1294
+ "line": 22,
1295
+ "character": 17
1296
+ },
1297
+ "name": "Array",
1298
+ "typeArgs": [
1299
+ {
1300
+ "__schema": "TypeRefSchema",
1301
+ "location": {
1302
+ "filePath": "lane-selector.tsx",
1303
+ "line": 22,
1304
+ "character": 23
1305
+ },
1306
+ "name": "LaneModel",
1307
+ "componentId": {
1308
+ "scope": "teambit.lanes",
1309
+ "name": "ui/models/lanes-model",
1310
+ "version": "0.0.217"
1311
+ }
1312
+ }
1313
+ ]
1314
+ },
1315
+ "isOptional": false
1316
+ },
1317
+ {
1318
+ "__schema": "VariableLikeSchema",
1319
+ "location": {
1320
+ "filePath": "lane-selector.tsx",
1321
+ "line": 23,
1322
+ "character": 3
1323
+ },
1324
+ "signature": "(property) mainLane?: LaneModel",
1325
+ "name": "mainLane",
1326
+ "type": {
1327
+ "__schema": "TypeRefSchema",
1328
+ "location": {
1329
+ "filePath": "lane-selector.tsx",
1330
+ "line": 23,
1331
+ "character": 3
1332
+ },
1333
+ "name": "LaneModel",
1334
+ "componentId": {
1335
+ "scope": "teambit.lanes",
1336
+ "name": "ui/models/lanes-model",
1337
+ "version": "0.0.217"
1338
+ }
1339
+ },
1340
+ "isOptional": true
1341
+ },
1342
+ {
1343
+ "__schema": "VariableLikeSchema",
1344
+ "location": {
1345
+ "filePath": "lane-selector.tsx",
1346
+ "line": 24,
1347
+ "character": 3
1348
+ },
1349
+ "signature": "(property) selectedLaneId?: LaneId",
1350
+ "name": "selectedLaneId",
1351
+ "type": {
1352
+ "__schema": "TypeRefSchema",
1353
+ "location": {
1354
+ "filePath": "lane-selector.tsx",
1355
+ "line": 24,
1356
+ "character": 3
1357
+ },
1358
+ "name": "LaneId",
1359
+ "componentId": {
1360
+ "scope": "teambit.lanes",
1361
+ "name": "lane-id",
1362
+ "version": "0.0.311"
1363
+ }
1364
+ },
1365
+ "isOptional": true
1366
+ },
1367
+ {
1368
+ "__schema": "VariableLikeSchema",
1369
+ "location": {
1370
+ "filePath": "lane-selector.tsx",
1371
+ "line": 25,
1372
+ "character": 3
1373
+ },
1374
+ "signature": "(property) groupByScope?: boolean",
1375
+ "name": "groupByScope",
1376
+ "type": {
1377
+ "__schema": "KeywordTypeSchema",
1378
+ "location": {
1379
+ "filePath": "lane-selector.tsx",
1380
+ "line": 25,
1381
+ "character": 18
1382
+ },
1383
+ "name": "boolean"
1384
+ },
1385
+ "isOptional": true
1386
+ },
1387
+ {
1388
+ "__schema": "VariableLikeSchema",
1389
+ "location": {
1390
+ "filePath": "lane-selector.tsx",
1391
+ "line": 26,
1392
+ "character": 3
1393
+ },
1394
+ "signature": "(property) getHref?: (laneId: LaneId) => string",
1395
+ "name": "getHref",
1396
+ "type": {
1397
+ "__schema": "FunctionLikeSchema",
1398
+ "location": {
1399
+ "filePath": "lane-selector.tsx",
1400
+ "line": 26,
1401
+ "character": 13
1402
+ },
1403
+ "signature": "(laneId: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId): string",
1404
+ "name": "",
1405
+ "params": [
1406
+ {
1407
+ "__schema": "ParameterSchema",
1408
+ "location": {
1409
+ "filePath": "lane-selector.tsx",
1410
+ "line": 26,
1411
+ "character": 14
1412
+ },
1413
+ "name": "laneId",
1414
+ "type": {
1415
+ "__schema": "TypeRefSchema",
1416
+ "location": {
1417
+ "filePath": "lane-selector.tsx",
1418
+ "line": 26,
1419
+ "character": 22
1420
+ },
1421
+ "name": "LaneId",
1422
+ "componentId": {
1423
+ "scope": "teambit.lanes",
1424
+ "name": "lane-id",
1425
+ "version": "0.0.311"
1426
+ }
1427
+ },
1428
+ "isOptional": false,
1429
+ "isSpread": false
1430
+ }
1431
+ ],
1432
+ "returnType": {
1433
+ "__schema": "KeywordTypeSchema",
1434
+ "location": {
1435
+ "filePath": "lane-selector.tsx",
1436
+ "line": 26,
1437
+ "character": 33
1438
+ },
1439
+ "name": "string"
1440
+ },
1441
+ "modifiers": []
1442
+ },
1443
+ "isOptional": true
1444
+ },
1445
+ {
1446
+ "__schema": "VariableLikeSchema",
1447
+ "location": {
1448
+ "filePath": "lane-selector.tsx",
1449
+ "line": 27,
1450
+ "character": 3
1451
+ },
1452
+ "signature": "(property) onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void",
1453
+ "name": "onLaneSelected",
1454
+ "type": {
1455
+ "__schema": "FunctionLikeSchema",
1456
+ "location": {
1457
+ "filePath": "lane-selector.tsx",
1458
+ "line": 27,
1459
+ "character": 20
1460
+ },
1461
+ "signature": "(laneId: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId, lane: \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LaneModel): void",
1462
+ "name": "",
1463
+ "params": [
1464
+ {
1465
+ "__schema": "ParameterSchema",
1466
+ "location": {
1467
+ "filePath": "lane-selector.tsx",
1468
+ "line": 27,
1469
+ "character": 21
1470
+ },
1471
+ "name": "laneId",
1472
+ "type": {
1473
+ "__schema": "TypeRefSchema",
1474
+ "location": {
1475
+ "filePath": "lane-selector.tsx",
1476
+ "line": 27,
1477
+ "character": 29
1478
+ },
1479
+ "name": "LaneId",
1480
+ "componentId": {
1481
+ "scope": "teambit.lanes",
1482
+ "name": "lane-id",
1483
+ "version": "0.0.311"
1484
+ }
1485
+ },
1486
+ "isOptional": false,
1487
+ "isSpread": false
1488
+ },
1489
+ {
1490
+ "__schema": "ParameterSchema",
1491
+ "location": {
1492
+ "filePath": "lane-selector.tsx",
1493
+ "line": 27,
1494
+ "character": 37
1495
+ },
1496
+ "name": "lane",
1497
+ "type": {
1498
+ "__schema": "TypeRefSchema",
1499
+ "location": {
1500
+ "filePath": "lane-selector.tsx",
1501
+ "line": 27,
1502
+ "character": 43
1503
+ },
1504
+ "name": "LaneModel",
1505
+ "componentId": {
1506
+ "scope": "teambit.lanes",
1507
+ "name": "ui/models/lanes-model",
1508
+ "version": "0.0.217"
1509
+ }
1510
+ },
1511
+ "isOptional": false,
1512
+ "isSpread": false
1513
+ }
1514
+ ],
1515
+ "returnType": {
1516
+ "__schema": "KeywordTypeSchema",
1517
+ "location": {
1518
+ "filePath": "lane-selector.tsx",
1519
+ "line": 27,
1520
+ "character": 57
1521
+ },
1522
+ "name": "void"
1523
+ },
1524
+ "modifiers": []
1525
+ },
1526
+ "isOptional": true
1527
+ },
1528
+ {
1529
+ "__schema": "VariableLikeSchema",
1530
+ "location": {
1531
+ "filePath": "lane-selector.tsx",
1532
+ "line": 28,
1533
+ "character": 3
1534
+ },
1535
+ "signature": "(property) mainIcon?: React.ReactNode",
1536
+ "name": "mainIcon",
1537
+ "type": {
1538
+ "__schema": "TypeRefSchema",
1539
+ "location": {
1540
+ "filePath": "lane-selector.tsx",
1541
+ "line": 28,
1542
+ "character": 14
1543
+ },
1544
+ "name": "React.ReactNode"
1545
+ },
1546
+ "isOptional": true
1547
+ },
1548
+ {
1549
+ "__schema": "VariableLikeSchema",
1550
+ "location": {
1551
+ "filePath": "lane-selector.tsx",
1552
+ "line": 29,
1553
+ "character": 3
1554
+ },
1555
+ "signature": "(property) scopeIconLookup?: Map<string, React.ReactNode>",
1556
+ "name": "scopeIconLookup",
1557
+ "type": {
1558
+ "__schema": "TypeRefSchema",
1559
+ "location": {
1560
+ "filePath": "lane-selector.tsx",
1561
+ "line": 29,
1562
+ "character": 21
1563
+ },
1564
+ "name": "Map",
1565
+ "typeArgs": [
1566
+ {
1567
+ "__schema": "KeywordTypeSchema",
1568
+ "location": {
1569
+ "filePath": "lane-selector.tsx",
1570
+ "line": 29,
1571
+ "character": 25
1572
+ },
1573
+ "name": "string"
1574
+ },
1575
+ {
1576
+ "__schema": "TypeRefSchema",
1577
+ "location": {
1578
+ "filePath": "lane-selector.tsx",
1579
+ "line": 29,
1580
+ "character": 33
1581
+ },
1582
+ "name": "React.ReactNode"
1583
+ }
1584
+ ]
1585
+ },
1586
+ "isOptional": true
1587
+ },
1588
+ {
1589
+ "__schema": "VariableLikeSchema",
1590
+ "location": {
1591
+ "filePath": "lane-selector.tsx",
1592
+ "line": 30,
1593
+ "character": 3
1594
+ },
1595
+ "signature": "(property) loading?: boolean",
1596
+ "name": "loading",
1597
+ "type": {
1598
+ "__schema": "KeywordTypeSchema",
1599
+ "location": {
1600
+ "filePath": "lane-selector.tsx",
1601
+ "line": 30,
1602
+ "character": 13
1603
+ },
1604
+ "name": "boolean"
1605
+ },
1606
+ "isOptional": true
1607
+ },
1608
+ {
1609
+ "__schema": "VariableLikeSchema",
1610
+ "location": {
1611
+ "filePath": "lane-selector.tsx",
1612
+ "line": 31,
1613
+ "character": 3
1614
+ },
1615
+ "signature": "(property) hasMore?: boolean",
1616
+ "name": "hasMore",
1617
+ "type": {
1618
+ "__schema": "KeywordTypeSchema",
1619
+ "location": {
1620
+ "filePath": "lane-selector.tsx",
1621
+ "line": 31,
1622
+ "character": 13
1623
+ },
1624
+ "name": "boolean"
1625
+ },
1626
+ "isOptional": true
1627
+ },
1628
+ {
1629
+ "__schema": "VariableLikeSchema",
1630
+ "location": {
1631
+ "filePath": "lane-selector.tsx",
1632
+ "line": 32,
1633
+ "character": 3
1634
+ },
1635
+ "signature": "(property) fetchMoreLanes?: FetchMoreLanes",
1636
+ "name": "fetchMoreLanes",
1637
+ "type": {
1638
+ "__schema": "TypeRefSchema",
1639
+ "location": {
1640
+ "filePath": "lane-selector.tsx",
1641
+ "line": 32,
1642
+ "character": 3
1643
+ },
1644
+ "name": "FetchMoreLanes",
1645
+ "componentId": {
1646
+ "scope": "teambit.lanes",
1647
+ "name": "hooks/use-lanes",
1648
+ "version": "0.0.267"
1649
+ }
1650
+ },
1651
+ "isOptional": true
1652
+ },
1653
+ {
1654
+ "__schema": "VariableLikeSchema",
1655
+ "location": {
1656
+ "filePath": "lane-selector.tsx",
1657
+ "line": 33,
1658
+ "character": 3
1659
+ },
1660
+ "signature": "(property) initialOffset?: number",
1661
+ "name": "initialOffset",
1662
+ "type": {
1663
+ "__schema": "KeywordTypeSchema",
1664
+ "location": {
1665
+ "filePath": "lane-selector.tsx",
1666
+ "line": 33,
1667
+ "character": 19
1668
+ },
1669
+ "name": "number"
1670
+ },
1671
+ "isOptional": true
1672
+ },
1673
+ {
1674
+ "__schema": "VariableLikeSchema",
1675
+ "location": {
1676
+ "filePath": "lane-selector.tsx",
1677
+ "line": 34,
1678
+ "character": 3
1679
+ },
1680
+ "signature": "(property) searchLanes?: (search?: string) => LanesModel | undefined | null",
1681
+ "name": "searchLanes",
1682
+ "type": {
1683
+ "__schema": "FunctionLikeSchema",
1684
+ "location": {
1685
+ "filePath": "lane-selector.tsx",
1686
+ "line": 34,
1687
+ "character": 17
1688
+ },
1689
+ "signature": "(search?: string): \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LanesModel | undefined | null",
1690
+ "name": "",
1691
+ "params": [
1692
+ {
1693
+ "__schema": "ParameterSchema",
1694
+ "location": {
1695
+ "filePath": "lane-selector.tsx",
1696
+ "line": 34,
1697
+ "character": 18
1698
+ },
1699
+ "name": "search",
1700
+ "type": {
1701
+ "__schema": "KeywordTypeSchema",
1702
+ "location": {
1703
+ "filePath": "lane-selector.tsx",
1704
+ "line": 34,
1705
+ "character": 27
1706
+ },
1707
+ "name": "string"
1708
+ },
1709
+ "isOptional": true,
1710
+ "isSpread": false
1711
+ }
1712
+ ],
1713
+ "returnType": {
1714
+ "__schema": "TypeUnionSchema",
1715
+ "location": {
1716
+ "filePath": "lane-selector.tsx",
1717
+ "line": 34,
1718
+ "character": 38
1719
+ },
1720
+ "types": [
1721
+ {
1722
+ "__schema": "TypeRefSchema",
1723
+ "location": {
1724
+ "filePath": "lane-selector.tsx",
1725
+ "line": 34,
1726
+ "character": 38
1727
+ },
1728
+ "name": "LanesModel",
1729
+ "componentId": {
1730
+ "scope": "teambit.lanes",
1731
+ "name": "ui/models/lanes-model",
1732
+ "version": "0.0.217"
1733
+ }
1734
+ },
1735
+ {
1736
+ "__schema": "KeywordTypeSchema",
1737
+ "location": {
1738
+ "filePath": "lane-selector.tsx",
1739
+ "line": 34,
1740
+ "character": 51
1741
+ },
1742
+ "name": "undefined"
1743
+ },
1744
+ {
1745
+ "__schema": "LiteralTypeSchema",
1746
+ "location": {
1747
+ "filePath": "lane-selector.tsx",
1748
+ "line": 34,
1749
+ "character": 63
1750
+ },
1751
+ "name": "null"
1752
+ }
1753
+ ]
1754
+ },
1755
+ "modifiers": []
1756
+ },
1757
+ "isOptional": true
1758
+ },
1759
+ {
1760
+ "__schema": "VariableLikeSchema",
1761
+ "location": {
1762
+ "filePath": "lane-selector.tsx",
1763
+ "line": 35,
1764
+ "character": 3
1765
+ },
1766
+ "signature": "(property) placeholderText?: string",
1767
+ "name": "placeholderText",
1768
+ "type": {
1769
+ "__schema": "KeywordTypeSchema",
1770
+ "location": {
1771
+ "filePath": "lane-selector.tsx",
1772
+ "line": 35,
1773
+ "character": 21
1774
+ },
1775
+ "name": "string"
1776
+ },
1777
+ "isOptional": true
1778
+ }
1779
+ ]
1780
+ },
1781
+ {
1782
+ "__schema": "TypeRefSchema",
1783
+ "location": {
1784
+ "filePath": "lane-selector.tsx",
1785
+ "line": 36,
1786
+ "character": 5
1787
+ },
1788
+ "name": "HTMLAttributes",
1789
+ "packageName": "react",
1790
+ "typeArgs": [
1791
+ {
1792
+ "__schema": "TypeRefSchema",
1793
+ "location": {
1794
+ "filePath": "lane-selector.tsx",
1795
+ "line": 36,
1796
+ "character": 20
1797
+ },
1798
+ "name": "HTMLDivElement"
1799
+ }
1800
+ ]
1801
+ }
1802
+ ]
1803
+ }
1804
+ },
1805
+ {
1806
+ "__schema": "TypeSchema",
1807
+ "location": {
1808
+ "filePath": "lane-selector.tsx",
1809
+ "line": 38,
1810
+ "character": 1
1811
+ },
1812
+ "signature": "type GroupedLaneDropdownItem = [scope: string, lanes: LaneModel[]]",
1813
+ "name": "GroupedLaneDropdownItem",
1814
+ "type": {
1815
+ "__schema": "TupleTypeSchema",
1816
+ "location": {
1817
+ "filePath": "lane-selector.tsx",
1818
+ "line": 38,
1819
+ "character": 39
1820
+ },
1821
+ "elements": [
1822
+ {
1823
+ "__schema": "NamedTupleSchema",
1824
+ "location": {
1825
+ "filePath": "lane-selector.tsx",
1826
+ "line": 38,
1827
+ "character": 40
1828
+ },
1829
+ "name": "scope",
1830
+ "type": {
1831
+ "__schema": "KeywordTypeSchema",
1832
+ "location": {
1833
+ "filePath": "lane-selector.tsx",
1834
+ "line": 38,
1835
+ "character": 47
1836
+ },
1837
+ "name": "string"
1838
+ }
1839
+ },
1840
+ {
1841
+ "__schema": "NamedTupleSchema",
1842
+ "location": {
1843
+ "filePath": "lane-selector.tsx",
1844
+ "line": 38,
1845
+ "character": 55
1846
+ },
1847
+ "name": "lanes",
1848
+ "type": {
1849
+ "__schema": "TypeArraySchema",
1850
+ "location": {
1851
+ "filePath": "lane-selector.tsx",
1852
+ "line": 38,
1853
+ "character": 62
1854
+ },
1855
+ "type": {
1856
+ "__schema": "TypeRefSchema",
1857
+ "location": {
1858
+ "filePath": "lane-selector.tsx",
1859
+ "line": 38,
1860
+ "character": 62
1861
+ },
1862
+ "name": "LaneModel",
1863
+ "componentId": {
1864
+ "scope": "teambit.lanes",
1865
+ "name": "ui/models/lanes-model",
1866
+ "version": "0.0.217"
1867
+ }
1868
+ }
1869
+ }
1870
+ }
1871
+ ]
1872
+ }
1873
+ },
1874
+ {
1875
+ "__schema": "TypeSchema",
1876
+ "location": {
1877
+ "filePath": "lane-selector.tsx",
1878
+ "line": 40,
1879
+ "character": 1
1880
+ },
1881
+ "signature": "type LaneDropdownItems = LaneModel[] | GroupedLaneDropdownItem[]",
1882
+ "name": "LaneDropdownItems",
1883
+ "type": {
1884
+ "__schema": "TypeUnionSchema",
1885
+ "location": {
1886
+ "filePath": "lane-selector.tsx",
1887
+ "line": 40,
1888
+ "character": 33
1889
+ },
1890
+ "types": [
1891
+ {
1892
+ "__schema": "TypeRefSchema",
1893
+ "location": {
1894
+ "filePath": "lane-selector.tsx",
1895
+ "line": 40,
1896
+ "character": 33
1897
+ },
1898
+ "name": "Array",
1899
+ "typeArgs": [
1900
+ {
1901
+ "__schema": "TypeRefSchema",
1902
+ "location": {
1903
+ "filePath": "lane-selector.tsx",
1904
+ "line": 40,
1905
+ "character": 39
1906
+ },
1907
+ "name": "LaneModel",
1908
+ "componentId": {
1909
+ "scope": "teambit.lanes",
1910
+ "name": "ui/models/lanes-model",
1911
+ "version": "0.0.217"
1912
+ }
1913
+ }
1914
+ ]
1915
+ },
1916
+ {
1917
+ "__schema": "TypeRefSchema",
1918
+ "location": {
1919
+ "filePath": "lane-selector.tsx",
1920
+ "line": 40,
1921
+ "character": 52
1922
+ },
1923
+ "name": "Array",
1924
+ "typeArgs": [
1925
+ {
1926
+ "__schema": "TypeRefSchema",
1927
+ "location": {
1928
+ "filePath": "lane-selector.tsx",
1929
+ "line": 40,
1930
+ "character": 58
1931
+ },
1932
+ "name": "GroupedLaneDropdownItem",
1933
+ "internalFilePath": "lane-selector.tsx"
1934
+ }
1935
+ ]
1936
+ }
1937
+ ]
1938
+ }
1939
+ },
1940
+ {
1941
+ "__schema": "VariableLikeSchema",
1942
+ "location": {
1943
+ "filePath": "lane-selector.tsx",
1944
+ "line": 48,
1945
+ "character": 14
1946
+ },
1947
+ "signature": "const LIMIT: 5",
1948
+ "name": "LIMIT",
1949
+ "type": {
1950
+ "__schema": "InferenceTypeSchema",
1951
+ "location": {
1952
+ "filePath": "lane-selector.tsx",
1953
+ "line": 48,
1954
+ "character": 14
1955
+ },
1956
+ "type": "5"
1957
+ },
1958
+ "isOptional": false,
1959
+ "defaultValue": "5"
1960
+ },
1961
+ {
1962
+ "__schema": "ReactSchema",
1963
+ "location": {
1964
+ "filePath": "lane-selector.tsx",
1965
+ "line": 52,
1966
+ "character": 1
1967
+ },
1968
+ "signature": "function LaneSelector(props: LaneSelectorProps): React.JSX.Element",
1969
+ "name": "LaneSelector",
1970
+ "props": {
1971
+ "__schema": "ParameterSchema",
1972
+ "location": {
1973
+ "filePath": "lane-selector.tsx",
1974
+ "line": 52,
1975
+ "character": 30
1976
+ },
1977
+ "name": "props",
1978
+ "type": {
1979
+ "__schema": "TypeRefSchema",
1980
+ "location": {
1981
+ "filePath": "lane-selector.tsx",
1982
+ "line": 52,
1983
+ "character": 37
1984
+ },
1985
+ "name": "LaneSelectorProps"
1986
+ },
1987
+ "isOptional": false,
1988
+ "isSpread": false
1989
+ },
1990
+ "returnType": {
1991
+ "__schema": "TypeRefSchema",
1992
+ "location": {
1993
+ "filePath": "lane-selector.tsx",
1994
+ "line": 52,
1995
+ "character": 1
1996
+ },
1997
+ "name": "React.JSX.Element",
1998
+ "packageName": "react"
1999
+ },
2000
+ "modifiers": [
2001
+ "export"
2002
+ ]
2003
+ }
2004
+ ],
2005
+ "internals": [
2006
+ {
2007
+ "__schema": "ModuleSchema",
2008
+ "location": {
2009
+ "filePath": "lane-selector.tsx",
2010
+ "line": 49,
2011
+ "character": 1
2012
+ },
2013
+ "exports": [
2014
+ {
2015
+ "__schema": "VariableLikeSchema",
2016
+ "location": {
2017
+ "filePath": "lane-selector.tsx",
2018
+ "line": 49,
2019
+ "character": 7
2020
+ },
2021
+ "signature": "const DEFAULT_SEARCH_ICON: \"magnifying\"",
2022
+ "name": "DEFAULT_SEARCH_ICON",
2023
+ "type": {
2024
+ "__schema": "InferenceTypeSchema",
2025
+ "location": {
2026
+ "filePath": "lane-selector.tsx",
2027
+ "line": 49,
2028
+ "character": 7
2029
+ },
2030
+ "type": "\"magnifying\""
2031
+ },
2032
+ "isOptional": false,
2033
+ "defaultValue": "'magnifying'"
2034
+ }
2035
+ ],
2036
+ "internals": []
2037
+ },
2038
+ {
2039
+ "__schema": "ModuleSchema",
2040
+ "location": {
2041
+ "filePath": "lane-selector.tsx",
2042
+ "line": 50,
2043
+ "character": 1
2044
+ },
2045
+ "exports": [
2046
+ {
2047
+ "__schema": "VariableLikeSchema",
2048
+ "location": {
2049
+ "filePath": "lane-selector.tsx",
2050
+ "line": 50,
2051
+ "character": 7
2052
+ },
2053
+ "signature": "const CLEAR_SEARCH_ICON: \"crossmark\"",
2054
+ "name": "CLEAR_SEARCH_ICON",
2055
+ "type": {
2056
+ "__schema": "InferenceTypeSchema",
2057
+ "location": {
2058
+ "filePath": "lane-selector.tsx",
2059
+ "line": 50,
2060
+ "character": 7
2061
+ },
2062
+ "type": "\"crossmark\""
2063
+ },
2064
+ "isOptional": false,
2065
+ "defaultValue": "'crossmark'"
2066
+ }
2067
+ ],
2068
+ "internals": []
2069
+ }
2070
+ ]
2071
+ },
2072
+ {
2073
+ "__schema": "ModuleSchema",
2074
+ "location": {
2075
+ "filePath": "lane-placeholder.tsx",
2076
+ "line": 1,
2077
+ "character": 1
2078
+ },
2079
+ "exports": [
2080
+ {
2081
+ "__schema": "TypeSchema",
2082
+ "location": {
2083
+ "filePath": "lane-placeholder.tsx",
2084
+ "line": 10,
2085
+ "character": 1
2086
+ },
2087
+ "signature": "type LanePlaceholderProps = {\n selectedLaneId?: LaneId;\n disabled?: boolean;\n showScope?: boolean;\n loading?: boolean;\n placeholderText?: string;\n} & React.HTMLAttributes<HTMLDivElement>",
2088
+ "name": "LanePlaceholderProps",
2089
+ "type": {
2090
+ "__schema": "TypeIntersectionSchema",
2091
+ "location": {
2092
+ "filePath": "lane-placeholder.tsx",
2093
+ "line": 10,
2094
+ "character": 36
2095
+ },
2096
+ "types": [
2097
+ {
2098
+ "__schema": "TypeLiteralSchema",
2099
+ "location": {
2100
+ "filePath": "lane-placeholder.tsx",
2101
+ "line": 10,
2102
+ "character": 36
2103
+ },
2104
+ "members": [
2105
+ {
2106
+ "__schema": "VariableLikeSchema",
2107
+ "location": {
2108
+ "filePath": "lane-placeholder.tsx",
2109
+ "line": 11,
2110
+ "character": 3
2111
+ },
2112
+ "signature": "(property) selectedLaneId?: LaneId",
2113
+ "name": "selectedLaneId",
2114
+ "type": {
2115
+ "__schema": "TypeRefSchema",
2116
+ "location": {
2117
+ "filePath": "lane-placeholder.tsx",
2118
+ "line": 11,
2119
+ "character": 3
2120
+ },
2121
+ "name": "LaneId",
2122
+ "componentId": {
2123
+ "scope": "teambit.lanes",
2124
+ "name": "lane-id",
2125
+ "version": "0.0.311"
2126
+ }
2127
+ },
2128
+ "isOptional": true
2129
+ },
2130
+ {
2131
+ "__schema": "VariableLikeSchema",
2132
+ "location": {
2133
+ "filePath": "lane-placeholder.tsx",
2134
+ "line": 12,
2135
+ "character": 3
2136
+ },
2137
+ "signature": "(property) disabled?: boolean",
2138
+ "name": "disabled",
2139
+ "type": {
2140
+ "__schema": "KeywordTypeSchema",
2141
+ "location": {
2142
+ "filePath": "lane-placeholder.tsx",
2143
+ "line": 12,
2144
+ "character": 14
2145
+ },
2146
+ "name": "boolean"
2147
+ },
2148
+ "isOptional": true
2149
+ },
2150
+ {
2151
+ "__schema": "VariableLikeSchema",
2152
+ "location": {
2153
+ "filePath": "lane-placeholder.tsx",
2154
+ "line": 13,
2155
+ "character": 3
2156
+ },
2157
+ "signature": "(property) showScope?: boolean",
2158
+ "name": "showScope",
2159
+ "type": {
2160
+ "__schema": "KeywordTypeSchema",
2161
+ "location": {
2162
+ "filePath": "lane-placeholder.tsx",
2163
+ "line": 13,
2164
+ "character": 15
2165
+ },
2166
+ "name": "boolean"
2167
+ },
2168
+ "isOptional": true
2169
+ },
2170
+ {
2171
+ "__schema": "VariableLikeSchema",
2172
+ "location": {
2173
+ "filePath": "lane-placeholder.tsx",
2174
+ "line": 14,
2175
+ "character": 3
2176
+ },
2177
+ "signature": "(property) loading?: boolean",
2178
+ "name": "loading",
2179
+ "type": {
2180
+ "__schema": "KeywordTypeSchema",
2181
+ "location": {
2182
+ "filePath": "lane-placeholder.tsx",
2183
+ "line": 14,
2184
+ "character": 13
2185
+ },
2186
+ "name": "boolean"
2187
+ },
2188
+ "isOptional": true
2189
+ },
2190
+ {
2191
+ "__schema": "VariableLikeSchema",
2192
+ "location": {
2193
+ "filePath": "lane-placeholder.tsx",
2194
+ "line": 15,
2195
+ "character": 3
2196
+ },
2197
+ "signature": "(property) placeholderText?: string",
2198
+ "name": "placeholderText",
2199
+ "type": {
2200
+ "__schema": "KeywordTypeSchema",
2201
+ "location": {
2202
+ "filePath": "lane-placeholder.tsx",
2203
+ "line": 15,
2204
+ "character": 21
2205
+ },
2206
+ "name": "string"
2207
+ },
2208
+ "isOptional": true
2209
+ }
2210
+ ]
2211
+ },
2212
+ {
2213
+ "__schema": "TypeRefSchema",
2214
+ "location": {
2215
+ "filePath": "lane-placeholder.tsx",
2216
+ "line": 16,
2217
+ "character": 5
2218
+ },
2219
+ "name": "HTMLAttributes",
2220
+ "packageName": "react",
2221
+ "typeArgs": [
2222
+ {
2223
+ "__schema": "TypeRefSchema",
2224
+ "location": {
2225
+ "filePath": "lane-placeholder.tsx",
2226
+ "line": 16,
2227
+ "character": 20
2228
+ },
2229
+ "name": "HTMLDivElement"
2230
+ }
2231
+ ]
2232
+ }
2233
+ ]
2234
+ }
2235
+ },
2236
+ {
2237
+ "__schema": "ReactSchema",
2238
+ "location": {
2239
+ "filePath": "lane-placeholder.tsx",
2240
+ "line": 18,
2241
+ "character": 1
2242
+ },
2243
+ "signature": "function LanePlaceholder({ selectedLaneId, disabled, className, showScope, loading, placeholderText: placeholderTextFromProps, ...rest }: LanePlaceholderProps): React.JSX.Element",
2244
+ "name": "LanePlaceholder",
2245
+ "props": {
2246
+ "__schema": "ParameterSchema",
2247
+ "location": {
2248
+ "filePath": "lane-placeholder.tsx",
2249
+ "line": 18,
2250
+ "character": 33
2251
+ },
2252
+ "name": "{ selectedLaneId, disabled, className, showScope = true, loading, placeholderText: placeholderTextFromProps, ...rest }",
2253
+ "type": {
2254
+ "__schema": "TypeRefSchema",
2255
+ "location": {
2256
+ "filePath": "lane-placeholder.tsx",
2257
+ "line": 26,
2258
+ "character": 4
2259
+ },
2260
+ "name": "LanePlaceholderProps"
2261
+ },
2262
+ "isOptional": false,
2263
+ "objectBindingNodes": [
2264
+ {
2265
+ "__schema": "InferenceTypeSchema",
2266
+ "location": {
2267
+ "filePath": "lane-placeholder.tsx",
2268
+ "line": 19,
2269
+ "character": 3
2270
+ },
2271
+ "name": "selectedLaneId",
2272
+ "type": "LaneId",
2273
+ "isSpread": false
2274
+ },
2275
+ {
2276
+ "__schema": "InferenceTypeSchema",
2277
+ "location": {
2278
+ "filePath": "lane-placeholder.tsx",
2279
+ "line": 20,
2280
+ "character": 3
2281
+ },
2282
+ "name": "disabled",
2283
+ "type": "boolean",
2284
+ "isSpread": false
2285
+ },
2286
+ {
2287
+ "__schema": "InferenceTypeSchema",
2288
+ "location": {
2289
+ "filePath": "lane-placeholder.tsx",
2290
+ "line": 21,
2291
+ "character": 3
2292
+ },
2293
+ "name": "className",
2294
+ "type": "string",
2295
+ "isSpread": false
2296
+ },
2297
+ {
2298
+ "__schema": "InferenceTypeSchema",
2299
+ "location": {
2300
+ "filePath": "lane-placeholder.tsx",
2301
+ "line": 22,
2302
+ "character": 3
2303
+ },
2304
+ "name": "showScope",
2305
+ "type": "boolean",
2306
+ "defaultValue": "true",
2307
+ "isSpread": false
2308
+ },
2309
+ {
2310
+ "__schema": "InferenceTypeSchema",
2311
+ "location": {
2312
+ "filePath": "lane-placeholder.tsx",
2313
+ "line": 23,
2314
+ "character": 3
2315
+ },
2316
+ "name": "loading",
2317
+ "type": "boolean",
2318
+ "isSpread": false
2319
+ },
2320
+ {
2321
+ "__schema": "InferenceTypeSchema",
2322
+ "location": {
2323
+ "filePath": "lane-placeholder.tsx",
2324
+ "line": 24,
2325
+ "character": 20
2326
+ },
2327
+ "name": "placeholderTextFromProps",
2328
+ "type": "string",
2329
+ "isSpread": false
2330
+ },
2331
+ {
2332
+ "__schema": "InferenceTypeSchema",
2333
+ "location": {
2334
+ "filePath": "lane-placeholder.tsx",
2335
+ "line": 25,
2336
+ "character": 6
2337
+ },
2338
+ "name": "rest",
2339
+ "type": "{\n defaultChecked?: boolean;\n defaultValue?: string | number | readonly string[];\n suppressContentEditableWarning?: boolean;\n suppressHydrationWarning?: boolean;\n accessKey?: string;\n autoFocus?: boolean;\n ... 251 more ...;\n onTransitionEndCapture?: React.TransitionEventHandler<...>;\n}",
2340
+ "isSpread": true
2341
+ }
2342
+ ],
2343
+ "isSpread": false
2344
+ },
2345
+ "returnType": {
2346
+ "__schema": "TypeRefSchema",
2347
+ "location": {
2348
+ "filePath": "lane-placeholder.tsx",
2349
+ "line": 18,
2350
+ "character": 1
2351
+ },
2352
+ "name": "React.JSX.Element",
2353
+ "packageName": "react"
2354
+ },
2355
+ "modifiers": [
2356
+ "export"
2357
+ ]
2358
+ }
2359
+ ],
2360
+ "internals": []
2361
+ },
2362
+ {
2363
+ "__schema": "ModuleSchema",
2364
+ "location": {
2365
+ "filePath": "lane-menu-item.tsx",
2366
+ "line": 1,
2367
+ "character": 1
2368
+ },
2369
+ "exports": [
2370
+ {
2371
+ "__schema": "TypeSchema",
2372
+ "location": {
2373
+ "filePath": "lane-menu-item.tsx",
2374
+ "line": 12,
2375
+ "character": 1
2376
+ },
2377
+ "signature": "type LaneMenuItemProps = {\n selected?: LaneId;\n current: LaneModel;\n getHref?: (laneId: LaneId) => string;\n onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void;\n icon?: React.ReactNode;\n timestamp?: Date;\n} & React.HTMLAttributes<HTMLDivElement>",
2378
+ "name": "LaneMenuItemProps",
2379
+ "type": {
2380
+ "__schema": "TypeIntersectionSchema",
2381
+ "location": {
2382
+ "filePath": "lane-menu-item.tsx",
2383
+ "line": 12,
2384
+ "character": 33
2385
+ },
2386
+ "types": [
2387
+ {
2388
+ "__schema": "TypeLiteralSchema",
2389
+ "location": {
2390
+ "filePath": "lane-menu-item.tsx",
2391
+ "line": 12,
2392
+ "character": 33
2393
+ },
2394
+ "members": [
2395
+ {
2396
+ "__schema": "VariableLikeSchema",
2397
+ "location": {
2398
+ "filePath": "lane-menu-item.tsx",
2399
+ "line": 13,
2400
+ "character": 3
2401
+ },
2402
+ "signature": "(property) selected?: LaneId",
2403
+ "name": "selected",
2404
+ "type": {
2405
+ "__schema": "TypeRefSchema",
2406
+ "location": {
2407
+ "filePath": "lane-menu-item.tsx",
2408
+ "line": 13,
2409
+ "character": 3
2410
+ },
2411
+ "name": "LaneId",
2412
+ "componentId": {
2413
+ "scope": "teambit.lanes",
2414
+ "name": "lane-id",
2415
+ "version": "0.0.311"
2416
+ }
2417
+ },
2418
+ "isOptional": true
2419
+ },
2420
+ {
2421
+ "__schema": "VariableLikeSchema",
2422
+ "location": {
2423
+ "filePath": "lane-menu-item.tsx",
2424
+ "line": 14,
2425
+ "character": 3
2426
+ },
2427
+ "signature": "(property) current: LaneModel",
2428
+ "name": "current",
2429
+ "type": {
2430
+ "__schema": "TypeRefSchema",
2431
+ "location": {
2432
+ "filePath": "lane-menu-item.tsx",
2433
+ "line": 14,
2434
+ "character": 3
2435
+ },
2436
+ "name": "LaneModel",
2437
+ "componentId": {
2438
+ "scope": "teambit.lanes",
2439
+ "name": "ui/models/lanes-model",
2440
+ "version": "0.0.217"
2441
+ }
2442
+ },
2443
+ "isOptional": false
2444
+ },
2445
+ {
2446
+ "__schema": "VariableLikeSchema",
2447
+ "location": {
2448
+ "filePath": "lane-menu-item.tsx",
2449
+ "line": 15,
2450
+ "character": 3
2451
+ },
2452
+ "signature": "(property) getHref?: (laneId: LaneId) => string",
2453
+ "name": "getHref",
2454
+ "type": {
2455
+ "__schema": "FunctionLikeSchema",
2456
+ "location": {
2457
+ "filePath": "lane-menu-item.tsx",
2458
+ "line": 15,
2459
+ "character": 13
2460
+ },
2461
+ "signature": "(laneId: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId): string",
2462
+ "name": "",
2463
+ "params": [
2464
+ {
2465
+ "__schema": "ParameterSchema",
2466
+ "location": {
2467
+ "filePath": "lane-menu-item.tsx",
2468
+ "line": 15,
2469
+ "character": 14
2470
+ },
2471
+ "name": "laneId",
2472
+ "type": {
2473
+ "__schema": "TypeRefSchema",
2474
+ "location": {
2475
+ "filePath": "lane-menu-item.tsx",
2476
+ "line": 15,
2477
+ "character": 22
2478
+ },
2479
+ "name": "LaneId",
2480
+ "componentId": {
2481
+ "scope": "teambit.lanes",
2482
+ "name": "lane-id",
2483
+ "version": "0.0.311"
2484
+ }
2485
+ },
2486
+ "isOptional": false,
2487
+ "isSpread": false
2488
+ }
2489
+ ],
2490
+ "returnType": {
2491
+ "__schema": "KeywordTypeSchema",
2492
+ "location": {
2493
+ "filePath": "lane-menu-item.tsx",
2494
+ "line": 15,
2495
+ "character": 33
2496
+ },
2497
+ "name": "string"
2498
+ },
2499
+ "modifiers": []
2500
+ },
2501
+ "isOptional": true
2502
+ },
2503
+ {
2504
+ "__schema": "VariableLikeSchema",
2505
+ "location": {
2506
+ "filePath": "lane-menu-item.tsx",
2507
+ "line": 16,
2508
+ "character": 3
2509
+ },
2510
+ "signature": "(property) onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void",
2511
+ "name": "onLaneSelected",
2512
+ "type": {
2513
+ "__schema": "FunctionLikeSchema",
2514
+ "location": {
2515
+ "filePath": "lane-menu-item.tsx",
2516
+ "line": 16,
2517
+ "character": 20
2518
+ },
2519
+ "signature": "(laneId: \u001b[2m(component: teambit.lanes/lane-id)\u001b[22m LaneId, lane: \u001b[2m(component: teambit.lanes/ui/models/lanes-model)\u001b[22m LaneModel): void",
2520
+ "name": "",
2521
+ "params": [
2522
+ {
2523
+ "__schema": "ParameterSchema",
2524
+ "location": {
2525
+ "filePath": "lane-menu-item.tsx",
2526
+ "line": 16,
2527
+ "character": 21
2528
+ },
2529
+ "name": "laneId",
2530
+ "type": {
2531
+ "__schema": "TypeRefSchema",
2532
+ "location": {
2533
+ "filePath": "lane-menu-item.tsx",
2534
+ "line": 16,
2535
+ "character": 29
2536
+ },
2537
+ "name": "LaneId",
2538
+ "componentId": {
2539
+ "scope": "teambit.lanes",
2540
+ "name": "lane-id",
2541
+ "version": "0.0.311"
2542
+ }
2543
+ },
2544
+ "isOptional": false,
2545
+ "isSpread": false
2546
+ },
2547
+ {
2548
+ "__schema": "ParameterSchema",
2549
+ "location": {
2550
+ "filePath": "lane-menu-item.tsx",
2551
+ "line": 16,
2552
+ "character": 37
2553
+ },
2554
+ "name": "lane",
2555
+ "type": {
2556
+ "__schema": "TypeRefSchema",
2557
+ "location": {
2558
+ "filePath": "lane-menu-item.tsx",
2559
+ "line": 16,
2560
+ "character": 43
2561
+ },
2562
+ "name": "LaneModel",
2563
+ "componentId": {
2564
+ "scope": "teambit.lanes",
2565
+ "name": "ui/models/lanes-model",
2566
+ "version": "0.0.217"
2567
+ }
2568
+ },
2569
+ "isOptional": false,
2570
+ "isSpread": false
2571
+ }
2572
+ ],
2573
+ "returnType": {
2574
+ "__schema": "KeywordTypeSchema",
2575
+ "location": {
2576
+ "filePath": "lane-menu-item.tsx",
2577
+ "line": 16,
2578
+ "character": 57
2579
+ },
2580
+ "name": "void"
2581
+ },
2582
+ "modifiers": []
2583
+ },
2584
+ "isOptional": true
2585
+ },
2586
+ {
2587
+ "__schema": "VariableLikeSchema",
2588
+ "location": {
2589
+ "filePath": "lane-menu-item.tsx",
2590
+ "line": 17,
2591
+ "character": 3
2592
+ },
2593
+ "signature": "(property) icon?: React.ReactNode",
2594
+ "name": "icon",
2595
+ "type": {
2596
+ "__schema": "TypeRefSchema",
2597
+ "location": {
2598
+ "filePath": "lane-menu-item.tsx",
2599
+ "line": 17,
2600
+ "character": 10
2601
+ },
2602
+ "name": "React.ReactNode"
2603
+ },
2604
+ "isOptional": true
2605
+ },
2606
+ {
2607
+ "__schema": "VariableLikeSchema",
2608
+ "location": {
2609
+ "filePath": "lane-menu-item.tsx",
2610
+ "line": 18,
2611
+ "character": 3
2612
+ },
2613
+ "signature": "(property) timestamp?: Date",
2614
+ "name": "timestamp",
2615
+ "type": {
2616
+ "__schema": "TypeRefSchema",
2617
+ "location": {
2618
+ "filePath": "lane-menu-item.tsx",
2619
+ "line": 18,
2620
+ "character": 15
2621
+ },
2622
+ "name": "Date"
2623
+ },
2624
+ "isOptional": true
2625
+ }
2626
+ ]
2627
+ },
2628
+ {
2629
+ "__schema": "TypeRefSchema",
2630
+ "location": {
2631
+ "filePath": "lane-menu-item.tsx",
2632
+ "line": 19,
2633
+ "character": 5
2634
+ },
2635
+ "name": "HTMLAttributes",
2636
+ "packageName": "react",
2637
+ "typeArgs": [
2638
+ {
2639
+ "__schema": "TypeRefSchema",
2640
+ "location": {
2641
+ "filePath": "lane-menu-item.tsx",
2642
+ "line": 19,
2643
+ "character": 20
2644
+ },
2645
+ "name": "HTMLDivElement"
2646
+ }
2647
+ ]
2648
+ }
2649
+ ]
2650
+ }
2651
+ },
2652
+ {
2653
+ "__schema": "VariableLikeSchema",
2654
+ "location": {
2655
+ "filePath": "lane-menu-item.tsx",
2656
+ "line": 23,
2657
+ "character": 14
2658
+ },
2659
+ "signature": "const LaneMenuItem: React.ForwardRefExoticComponent<{\n selected?: LaneId;\n current: LaneModel;\n getHref?: (laneId: LaneId) => string;\n onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void;\n icon?: React.ReactNode;\n timestamp?: Date;\n} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>",
2660
+ "name": "LaneMenuItem",
2661
+ "type": {
2662
+ "__schema": "InferenceTypeSchema",
2663
+ "location": {
2664
+ "filePath": "lane-menu-item.tsx",
2665
+ "line": 23,
2666
+ "character": 14
2667
+ },
2668
+ "type": "React.ForwardRefExoticComponent<{\n selected?: LaneId;\n current: LaneModel;\n getHref?: (laneId: LaneId) => string;\n onLaneSelected?: (laneId: LaneId, lane: LaneModel) => void;\n icon?: React.ReactNode;\n timestamp?: Date;\n} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>"
2669
+ },
2670
+ "isOptional": false,
2671
+ "defaultValue": "forwardRef<HTMLDivElement, LaneMenuItemProps>(\n (\n {\n selected,\n current,\n className,\n onLaneSelected,\n getHref = LanesModel.getLaneUrl,\n icon,\n timestamp,\n ...rest\n }: LaneMenuItemProps,\n ref\n ) => {\n const isCurrent = selected?.toString() === current.id.toString();\n const isDefaultLane = current.id.isDefault();\n const iconWithDefault: React.ReactNode =\n icon ||\n (isDefaultLane ? (\n <img alt=\"main components\" src=\"https://static.bit.cloud/bit-icons/changed-components.svg\" />\n ) : undefined);\n\n const href = getHref(current.id);\n\n const onClick = () => {\n onLaneSelected?.(current.id, current);\n };\n\n const laneDisplayName = current.displayName || current.id.name;\n const laneName = current.id.name;\n const user = current.updatedBy || current.createdBy;\n\n const avatar = iconWithDefault || (\n <UserAvatar\n size={24}\n account={{\n name: user?.name?.split(' ')[0],\n displayName: user?.name,\n profileImage: user?.profileImage,\n }}\n />\n );\n\n const formattedTimestamp = timestamp?.toString();\n\n return (\n <div {...rest} ref={ref} className={classnames(className, styles.laneMenuItemContainer)}>\n <MenuLinkItem active={isCurrent} href={href} className={styles.menuItem} onClick={onClick}>\n <div className={styles.laneContainer}>\n <div className={classnames(styles.top, isDefaultLane && styles.mainLane)}>\n <div className={classnames(styles.icon, isDefaultLane && !icon && styles.defaultMainLaneIcon)}>\n {avatar}\n </div>\n <div className={classnames(styles.laneDisplayName)}>{laneDisplayName}</div>\n </div>\n <div className={styles.bottom}>\n {!isDefaultLane && <Ellipsis className={styles.laneName}>{laneName}</Ellipsis>}\n\n {formattedTimestamp && (\n <div className={styles.timeStamp}>\n <TimeAgo date={formattedTimestamp} className={styles.laneUpdated} />\n </div>\n )}\n </div>\n </div>\n </MenuLinkItem>\n </div>\n );\n }\n)"
2672
+ }
2673
+ ],
2674
+ "internals": []
2675
+ }
2676
+ ],
2677
+ "componentId": {
2678
+ "scope": "teambit.lanes",
2679
+ "name": "ui/inputs/lane-selector",
2680
+ "version": "f3f3256527223b6d227904baabfdcdb15f07aab7"
2681
+ },
2682
+ "taggedModuleExports": []
2683
+ }