@teambit/user-agent 1.0.188 → 1.0.189

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.ui-foundation/user-agent@1.0.188" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/user-agent@1.0.189" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.ui-foundation/user-agent-preview"]=t():e["teambit.ui-foundation/user-agent-preview"]=t()}(self,(()=>(()=>{"use strict";var e={56654:(e,t,o)=>{var n={id:"teambit.ui-foundation/user-agent@1.0.188",homepage:"https://bit.cloud/teambit/ui-foundation/user-agent",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/user-agent.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>d,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>c});var t=o(56654);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},s.apply(this,arguments)}var u={},p="wrapper";function c(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,r.mdx)(p,s({},u,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}c.isMDXComponent=!0;const d=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.ui-foundation/user-agent-preview"]=t():e["teambit.ui-foundation/user-agent-preview"]=t()}(self,(()=>(()=>{"use strict";var e={50505:(e,t,o)=>{var n={id:"teambit.ui-foundation/user-agent@1.0.189",homepage:"https://bit.cloud/teambit/ui-foundation/user-agent",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/user-agent.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{compositions:()=>d,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>c});var t=o(50505);o(41594);const r=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},s.apply(this,arguments)}var u={},p="wrapper";function c(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,a);return(0,r.mdx)(p,s({},u,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}c.isMDXComponent=!0;const d=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),n})()));
@@ -0,0 +1,609 @@
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": "VariableLikeSchema",
18
+ "location": {
19
+ "filePath": "user-agent.aspect.ts",
20
+ "line": 3,
21
+ "character": 14
22
+ },
23
+ "signature": "const UserAgentAspect: Aspect",
24
+ "name": "UserAgentAspect",
25
+ "type": {
26
+ "__schema": "TypeRefSchema",
27
+ "location": {
28
+ "filePath": "user-agent.aspect.ts",
29
+ "line": 3,
30
+ "character": 14
31
+ },
32
+ "name": "Aspect",
33
+ "componentId": {
34
+ "scope": "teambit.harmony",
35
+ "name": "harmony",
36
+ "version": "0.4.6"
37
+ }
38
+ },
39
+ "isOptional": false,
40
+ "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/user-agent',\n})"
41
+ },
42
+ {
43
+ "__schema": "VariableLikeSchema",
44
+ "location": {
45
+ "filePath": "user-agent.aspect.ts",
46
+ "line": 3,
47
+ "character": 14
48
+ },
49
+ "signature": "const UserAgentAspect: Aspect",
50
+ "name": "UserAgentAspect",
51
+ "type": {
52
+ "__schema": "TypeRefSchema",
53
+ "location": {
54
+ "filePath": "user-agent.aspect.ts",
55
+ "line": 3,
56
+ "character": 14
57
+ },
58
+ "name": "Aspect",
59
+ "componentId": {
60
+ "scope": "teambit.harmony",
61
+ "name": "harmony",
62
+ "version": "0.4.6"
63
+ }
64
+ },
65
+ "isOptional": false,
66
+ "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/user-agent',\n})"
67
+ },
68
+ {
69
+ "__schema": "ClassSchema",
70
+ "location": {
71
+ "filePath": "user-agent.ui.runtime.tsx",
72
+ "line": 14,
73
+ "character": 1
74
+ },
75
+ "doc": {
76
+ "__schema": "DocSchema",
77
+ "location": {
78
+ "filePath": "user-agent.ui.runtime.tsx",
79
+ "line": 11,
80
+ "character": 1
81
+ },
82
+ "raw": "/**\n * user agent aspect\n */",
83
+ "comment": "user agent aspect"
84
+ },
85
+ "signature": "class UserAgentUI",
86
+ "name": "UserAgentUI",
87
+ "members": [
88
+ {
89
+ "__schema": "VariableLikeSchema",
90
+ "location": {
91
+ "filePath": "user-agent.ui.runtime.tsx",
92
+ "line": 15,
93
+ "character": 3
94
+ },
95
+ "signature": "(property) UserAgentUI.slots: never[]",
96
+ "name": "slots",
97
+ "type": {
98
+ "__schema": "InferenceTypeSchema",
99
+ "location": {
100
+ "filePath": "user-agent.ui.runtime.tsx",
101
+ "line": 15,
102
+ "character": 3
103
+ },
104
+ "type": "never[]"
105
+ },
106
+ "isOptional": true,
107
+ "defaultValue": "[]"
108
+ },
109
+ {
110
+ "__schema": "VariableLikeSchema",
111
+ "location": {
112
+ "filePath": "user-agent.ui.runtime.tsx",
113
+ "line": 17,
114
+ "character": 3
115
+ },
116
+ "signature": "(property) UserAgentUI.dependencies: Aspect[]",
117
+ "name": "dependencies",
118
+ "type": {
119
+ "__schema": "InferenceTypeSchema",
120
+ "location": {
121
+ "filePath": "user-agent.ui.runtime.tsx",
122
+ "line": 17,
123
+ "character": 3
124
+ },
125
+ "type": "Aspect[]"
126
+ },
127
+ "isOptional": true,
128
+ "defaultValue": "[UIAspect]"
129
+ },
130
+ {
131
+ "__schema": "VariableLikeSchema",
132
+ "location": {
133
+ "filePath": "user-agent.ui.runtime.tsx",
134
+ "line": 19,
135
+ "character": 3
136
+ },
137
+ "signature": "(property) UserAgentUI.runtime: RuntimeDefinition",
138
+ "name": "runtime",
139
+ "type": {
140
+ "__schema": "InferenceTypeSchema",
141
+ "location": {
142
+ "filePath": "user-agent.ui.runtime.tsx",
143
+ "line": 19,
144
+ "character": 3
145
+ },
146
+ "type": "RuntimeDefinition"
147
+ },
148
+ "isOptional": true,
149
+ "defaultValue": "UIRuntime"
150
+ },
151
+ {
152
+ "__schema": "FunctionLikeSchema",
153
+ "location": {
154
+ "filePath": "user-agent.ui.runtime.tsx",
155
+ "line": 21,
156
+ "character": 3
157
+ },
158
+ "signature": "(method) UserAgentUI.provider([uiUi]: [UiUI]): Promise<UserAgentUI>",
159
+ "name": "provider",
160
+ "params": [
161
+ {
162
+ "__schema": "ParameterSchema",
163
+ "location": {
164
+ "filePath": "user-agent.ui.runtime.tsx",
165
+ "line": 21,
166
+ "character": 25
167
+ },
168
+ "name": "[ uiUi ]",
169
+ "type": {
170
+ "__schema": "TupleTypeSchema",
171
+ "location": {
172
+ "filePath": "user-agent.ui.runtime.tsx",
173
+ "line": 21,
174
+ "character": 33
175
+ },
176
+ "elements": [
177
+ {
178
+ "__schema": "TypeRefSchema",
179
+ "location": {
180
+ "filePath": "user-agent.ui.runtime.tsx",
181
+ "line": 21,
182
+ "character": 34
183
+ },
184
+ "name": "UiUI",
185
+ "componentId": {
186
+ "scope": "teambit.ui-foundation",
187
+ "name": "ui"
188
+ }
189
+ }
190
+ ]
191
+ },
192
+ "isOptional": false,
193
+ "isSpread": false
194
+ }
195
+ ],
196
+ "returnType": {
197
+ "__schema": "InferenceTypeSchema",
198
+ "location": {
199
+ "filePath": "user-agent.ui.runtime.tsx",
200
+ "line": 21,
201
+ "character": 3
202
+ },
203
+ "type": "Promise<UserAgentUI>"
204
+ },
205
+ "modifiers": [
206
+ "static",
207
+ "async"
208
+ ]
209
+ }
210
+ ],
211
+ "extendsNodes": [],
212
+ "implementNodes": []
213
+ }
214
+ ],
215
+ "internals": []
216
+ },
217
+ "internals": [
218
+ {
219
+ "__schema": "ModuleSchema",
220
+ "location": {
221
+ "filePath": "user-agent.aspect.ts",
222
+ "line": 1,
223
+ "character": 1
224
+ },
225
+ "exports": [
226
+ {
227
+ "__schema": "VariableLikeSchema",
228
+ "location": {
229
+ "filePath": "user-agent.aspect.ts",
230
+ "line": 3,
231
+ "character": 14
232
+ },
233
+ "signature": "const UserAgentAspect: Aspect",
234
+ "name": "UserAgentAspect",
235
+ "type": {
236
+ "__schema": "TypeRefSchema",
237
+ "location": {
238
+ "filePath": "user-agent.aspect.ts",
239
+ "line": 3,
240
+ "character": 14
241
+ },
242
+ "name": "Aspect",
243
+ "componentId": {
244
+ "scope": "teambit.harmony",
245
+ "name": "harmony",
246
+ "version": "0.4.6"
247
+ }
248
+ },
249
+ "isOptional": false,
250
+ "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/user-agent',\n})"
251
+ },
252
+ {
253
+ "__schema": "UnImplementedSchema",
254
+ "location": {
255
+ "filePath": "user-agent.aspect.ts",
256
+ "line": 7,
257
+ "character": 16
258
+ },
259
+ "name": "UserAgentAspect",
260
+ "type": "Identifier"
261
+ }
262
+ ],
263
+ "internals": []
264
+ },
265
+ {
266
+ "__schema": "ModuleSchema",
267
+ "location": {
268
+ "filePath": "user-agent.ui.runtime.tsx",
269
+ "line": 1,
270
+ "character": 1
271
+ },
272
+ "exports": [
273
+ {
274
+ "__schema": "ClassSchema",
275
+ "location": {
276
+ "filePath": "user-agent.ui.runtime.tsx",
277
+ "line": 14,
278
+ "character": 1
279
+ },
280
+ "doc": {
281
+ "__schema": "DocSchema",
282
+ "location": {
283
+ "filePath": "user-agent.ui.runtime.tsx",
284
+ "line": 11,
285
+ "character": 1
286
+ },
287
+ "raw": "/**\n * user agent aspect\n */",
288
+ "comment": "user agent aspect"
289
+ },
290
+ "signature": "class UserAgentUI",
291
+ "name": "UserAgentUI",
292
+ "members": [
293
+ {
294
+ "__schema": "VariableLikeSchema",
295
+ "location": {
296
+ "filePath": "user-agent.ui.runtime.tsx",
297
+ "line": 15,
298
+ "character": 3
299
+ },
300
+ "signature": "(property) UserAgentUI.slots: never[]",
301
+ "name": "slots",
302
+ "type": {
303
+ "__schema": "InferenceTypeSchema",
304
+ "location": {
305
+ "filePath": "user-agent.ui.runtime.tsx",
306
+ "line": 15,
307
+ "character": 3
308
+ },
309
+ "type": "never[]"
310
+ },
311
+ "isOptional": true,
312
+ "defaultValue": "[]"
313
+ },
314
+ {
315
+ "__schema": "VariableLikeSchema",
316
+ "location": {
317
+ "filePath": "user-agent.ui.runtime.tsx",
318
+ "line": 17,
319
+ "character": 3
320
+ },
321
+ "signature": "(property) UserAgentUI.dependencies: Aspect[]",
322
+ "name": "dependencies",
323
+ "type": {
324
+ "__schema": "InferenceTypeSchema",
325
+ "location": {
326
+ "filePath": "user-agent.ui.runtime.tsx",
327
+ "line": 17,
328
+ "character": 3
329
+ },
330
+ "type": "Aspect[]"
331
+ },
332
+ "isOptional": true,
333
+ "defaultValue": "[UIAspect]"
334
+ },
335
+ {
336
+ "__schema": "VariableLikeSchema",
337
+ "location": {
338
+ "filePath": "user-agent.ui.runtime.tsx",
339
+ "line": 19,
340
+ "character": 3
341
+ },
342
+ "signature": "(property) UserAgentUI.runtime: RuntimeDefinition",
343
+ "name": "runtime",
344
+ "type": {
345
+ "__schema": "InferenceTypeSchema",
346
+ "location": {
347
+ "filePath": "user-agent.ui.runtime.tsx",
348
+ "line": 19,
349
+ "character": 3
350
+ },
351
+ "type": "RuntimeDefinition"
352
+ },
353
+ "isOptional": true,
354
+ "defaultValue": "UIRuntime"
355
+ },
356
+ {
357
+ "__schema": "FunctionLikeSchema",
358
+ "location": {
359
+ "filePath": "user-agent.ui.runtime.tsx",
360
+ "line": 21,
361
+ "character": 3
362
+ },
363
+ "signature": "(method) UserAgentUI.provider([uiUi]: [UiUI]): Promise<UserAgentUI>",
364
+ "name": "provider",
365
+ "params": [
366
+ {
367
+ "__schema": "ParameterSchema",
368
+ "location": {
369
+ "filePath": "user-agent.ui.runtime.tsx",
370
+ "line": 21,
371
+ "character": 25
372
+ },
373
+ "name": "[ uiUi ]",
374
+ "type": {
375
+ "__schema": "TupleTypeSchema",
376
+ "location": {
377
+ "filePath": "user-agent.ui.runtime.tsx",
378
+ "line": 21,
379
+ "character": 33
380
+ },
381
+ "elements": [
382
+ {
383
+ "__schema": "TypeRefSchema",
384
+ "location": {
385
+ "filePath": "user-agent.ui.runtime.tsx",
386
+ "line": 21,
387
+ "character": 34
388
+ },
389
+ "name": "UiUI",
390
+ "componentId": {
391
+ "scope": "teambit.ui-foundation",
392
+ "name": "ui"
393
+ }
394
+ }
395
+ ]
396
+ },
397
+ "isOptional": false,
398
+ "isSpread": false
399
+ }
400
+ ],
401
+ "returnType": {
402
+ "__schema": "InferenceTypeSchema",
403
+ "location": {
404
+ "filePath": "user-agent.ui.runtime.tsx",
405
+ "line": 21,
406
+ "character": 3
407
+ },
408
+ "type": "Promise<UserAgentUI>"
409
+ },
410
+ "modifiers": [
411
+ "static",
412
+ "async"
413
+ ]
414
+ }
415
+ ],
416
+ "extendsNodes": [],
417
+ "implementNodes": []
418
+ }
419
+ ],
420
+ "internals": [
421
+ {
422
+ "__schema": "TypeSchema",
423
+ "location": {
424
+ "filePath": "user-agent.ui.runtime.tsx",
425
+ "line": 7,
426
+ "character": 1
427
+ },
428
+ "signature": "type UserAgentRenderCtx = {\n userAgent?: UAParser | undefined;\n}",
429
+ "name": "UserAgentRenderCtx",
430
+ "type": {
431
+ "__schema": "TypeLiteralSchema",
432
+ "location": {
433
+ "filePath": "user-agent.ui.runtime.tsx",
434
+ "line": 7,
435
+ "character": 27
436
+ },
437
+ "members": [
438
+ {
439
+ "__schema": "VariableLikeSchema",
440
+ "location": {
441
+ "filePath": "user-agent.ui.runtime.tsx",
442
+ "line": 8,
443
+ "character": 3
444
+ },
445
+ "signature": "(property) userAgent?: UAParser | undefined",
446
+ "name": "userAgent",
447
+ "type": {
448
+ "__schema": "TypeRefSchema",
449
+ "location": {
450
+ "filePath": "user-agent.ui.runtime.tsx",
451
+ "line": 8,
452
+ "character": 15
453
+ },
454
+ "name": "UAParser",
455
+ "packageName": "ua-parser-js"
456
+ },
457
+ "isOptional": true
458
+ }
459
+ ]
460
+ }
461
+ },
462
+ {
463
+ "__schema": "ReactSchema",
464
+ "location": {
465
+ "filePath": "user-agent.ui.runtime.tsx",
466
+ "line": 43,
467
+ "character": 1
468
+ },
469
+ "signature": "function UserAgentReactContext({ children, renderCtx }: {\n children: ReactNode;\n renderCtx?: UserAgentRenderCtx | undefined;\n}): React.JSX.Element",
470
+ "name": "UserAgentReactContext",
471
+ "props": {
472
+ "__schema": "ParameterSchema",
473
+ "location": {
474
+ "filePath": "user-agent.ui.runtime.tsx",
475
+ "line": 43,
476
+ "character": 32
477
+ },
478
+ "name": "{ children, renderCtx }",
479
+ "type": {
480
+ "__schema": "TypeLiteralSchema",
481
+ "location": {
482
+ "filePath": "user-agent.ui.runtime.tsx",
483
+ "line": 43,
484
+ "character": 57
485
+ },
486
+ "members": [
487
+ {
488
+ "__schema": "VariableLikeSchema",
489
+ "location": {
490
+ "filePath": "user-agent.ui.runtime.tsx",
491
+ "line": 43,
492
+ "character": 59
493
+ },
494
+ "signature": "(property) children: React.ReactNode",
495
+ "name": "children",
496
+ "type": {
497
+ "__schema": "TypeRefSchema",
498
+ "location": {
499
+ "filePath": "user-agent.ui.runtime.tsx",
500
+ "line": 43,
501
+ "character": 69
502
+ },
503
+ "name": "ReactNode",
504
+ "packageName": "react"
505
+ },
506
+ "isOptional": false
507
+ },
508
+ {
509
+ "__schema": "VariableLikeSchema",
510
+ "location": {
511
+ "filePath": "user-agent.ui.runtime.tsx",
512
+ "line": 43,
513
+ "character": 80
514
+ },
515
+ "signature": "(property) renderCtx?: UserAgentRenderCtx | undefined",
516
+ "name": "renderCtx",
517
+ "type": {
518
+ "__schema": "TypeRefSchema",
519
+ "location": {
520
+ "filePath": "user-agent.ui.runtime.tsx",
521
+ "line": 43,
522
+ "character": 92
523
+ },
524
+ "name": "UserAgentRenderCtx",
525
+ "internalFilePath": "user-agent.ui.runtime.tsx"
526
+ },
527
+ "isOptional": true
528
+ }
529
+ ]
530
+ },
531
+ "isOptional": false,
532
+ "objectBindingNodes": [
533
+ {
534
+ "__schema": "VariableLikeSchema",
535
+ "location": {
536
+ "filePath": "user-agent.ui.runtime.tsx",
537
+ "line": 43,
538
+ "character": 59
539
+ },
540
+ "signature": "(property) children: React.ReactNode",
541
+ "name": "children",
542
+ "type": {
543
+ "__schema": "TypeRefSchema",
544
+ "location": {
545
+ "filePath": "user-agent.ui.runtime.tsx",
546
+ "line": 43,
547
+ "character": 69
548
+ },
549
+ "name": "ReactNode",
550
+ "packageName": "react"
551
+ },
552
+ "isOptional": false
553
+ },
554
+ {
555
+ "__schema": "VariableLikeSchema",
556
+ "location": {
557
+ "filePath": "user-agent.ui.runtime.tsx",
558
+ "line": 43,
559
+ "character": 80
560
+ },
561
+ "signature": "(property) renderCtx?: UserAgentRenderCtx | undefined",
562
+ "name": "renderCtx",
563
+ "type": {
564
+ "__schema": "TypeRefSchema",
565
+ "location": {
566
+ "filePath": "user-agent.ui.runtime.tsx",
567
+ "line": 43,
568
+ "character": 92
569
+ },
570
+ "name": "UserAgentRenderCtx",
571
+ "internalFilePath": "user-agent.ui.runtime.tsx"
572
+ },
573
+ "isOptional": true
574
+ }
575
+ ],
576
+ "isSpread": false
577
+ },
578
+ "returnType": {
579
+ "__schema": "TypeRefSchema",
580
+ "location": {
581
+ "filePath": "user-agent.ui.runtime.tsx",
582
+ "line": 43,
583
+ "character": 1
584
+ },
585
+ "name": "React.JSX.Element",
586
+ "packageName": "react"
587
+ },
588
+ "modifiers": []
589
+ },
590
+ {
591
+ "__schema": "UnImplementedSchema",
592
+ "location": {
593
+ "filePath": "user-agent.ui.runtime.tsx",
594
+ "line": 48,
595
+ "character": 1
596
+ },
597
+ "name": "UserAgentAspect.addRuntime(UserAgentUI);",
598
+ "type": "ExpressionStatement"
599
+ }
600
+ ]
601
+ }
602
+ ],
603
+ "componentId": {
604
+ "scope": "teambit.ui-foundation",
605
+ "name": "user-agent",
606
+ "version": "1.0.189"
607
+ },
608
+ "taggedModuleExports": []
609
+ }
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_userAgent","data","require"],"sources":["index.ts"],"sourcesContent":["export { UserAgentAspect, UserAgentAspect as default } from './user-agent.aspect';\nexport type { UserAgentUI } from './user-agent.ui.runtime';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA"}
1
+ {"version":3,"names":["_userAgent","data","require"],"sources":["index.ts"],"sourcesContent":["export { UserAgentAspect, UserAgentAspect as default } from './user-agent.aspect';\nexport type { UserAgentUI } from './user-agent.ui.runtime';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec36fa42b9dbedfc12ecb7bb63e03fcfe6/teambit.ui-foundation_user-agent@1.0.189/dist/user-agent.composition.js';
2
+ import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec36fa42b9dbedfc12ecb7bb63e03fcfe6/teambit.ui-foundation_user-agent@1.0.189/dist/user-agent.docs.mdx';
3
+
4
+ export const compositions = [compositions_0];
5
+ export const overview = [overview_0];
6
+
7
+ export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
@@ -1 +1 @@
1
- {"version":3,"names":["_harmony","data","require","UserAgentAspect","exports","Aspect","create","id","_default","default"],"sources":["user-agent.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const UserAgentAspect = Aspect.create({\n id: 'teambit.ui-foundation/user-agent',\n});\n\nexport default UserAgentAspect;\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EAC3CC,EAAE,EAAE;AACN,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAJ,OAAA,CAAAK,OAAA,GAEYN,eAAe"}
1
+ {"version":3,"names":["_harmony","data","require","UserAgentAspect","exports","Aspect","create","id","_default","default"],"sources":["user-agent.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const UserAgentAspect = Aspect.create({\n id: 'teambit.ui-foundation/user-agent',\n});\n\nexport default UserAgentAspect;\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EAC3CC,EAAE,EAAE;AACN,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAJ,OAAA,CAAAK,OAAA,GAEYN,eAAe","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_react","data","_interopRequireDefault","require","obj","__esModule","default","Logo","createElement","style","height","display","justifyContent","width","src","exports"],"sources":["user-agent.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/user-agent.svg\" />\n </div>\n);\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0B,SAAAC,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEnB,MAAMG,IAAI,GAAGA,CAAA,kBAClBP,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxEZ,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEI,KAAK,EAAE;EAAG,CAAE;EAACC,GAAG,EAAC;AAAwD,CAAE,CACtF,CACN;AAACC,OAAA,CAAAR,IAAA,GAAAA,IAAA"}
1
+ {"version":3,"names":["_react","data","_interopRequireDefault","require","obj","__esModule","default","Logo","createElement","style","height","display","justifyContent","width","src","exports"],"sources":["user-agent.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/user-agent.svg\" />\n </div>\n);\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0B,SAAAC,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEnB,MAAMG,IAAI,GAAGA,CAAA,kBAClBP,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEC,MAAM,EAAE,MAAM;IAAEC,OAAO,EAAE,MAAM;IAAEC,cAAc,EAAE;EAAS;AAAE,gBACxEZ,MAAA,GAAAM,OAAA,CAAAE,aAAA;EAAKC,KAAK,EAAE;IAAEI,KAAK,EAAE;EAAG,CAAE;EAACC,GAAG,EAAC;AAAwD,CAAE,CACtF,CACN;AAACC,OAAA,CAAAR,IAAA,GAAAA,IAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_ui","data","require","_react","_interopRequireDefault","_uaParserJs","_uiFoundationUiHooks","_userAgent","obj","__esModule","default","_defineProperty","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","UserAgentUI","provider","uiUi","userAgentUi","registerRenderHooks","serverInit","browser","userAgent","UAParser","headers","browserInit","window","navigator","reactContext","UserAgentReactContext","exports","UIAspect","UIRuntime","children","renderCtx","createElement","UserAgentProvider","UserAgentAspect","addRuntime"],"sources":["user-agent.ui.runtime.tsx"],"sourcesContent":["import { UIAspect, UIRuntime, UiUI } from '@teambit/ui';\nimport React, { ReactNode } from 'react';\nimport UAParser from 'ua-parser-js';\nimport { UserAgentProvider } from '@teambit/ui-foundation.ui.hooks.use-user-agent';\nimport { UserAgentAspect } from './user-agent.aspect';\n\ntype UserAgentRenderCtx = {\n userAgent?: UAParser;\n};\n\n/**\n * user agent aspect\n */\nexport class UserAgentUI {\n static slots = [];\n\n static dependencies = [UIAspect];\n\n static runtime = UIRuntime;\n\n static async provider([uiUi]: [UiUI]) {\n const userAgentUi = new UserAgentUI();\n\n uiUi.registerRenderHooks<UserAgentRenderCtx, undefined>({\n serverInit: ({ browser }) => {\n const userAgent = new UAParser(browser.headers['user-agent']);\n return {\n userAgent,\n };\n },\n browserInit: () => {\n return {\n userAgent: new UAParser(window.navigator.userAgent),\n };\n },\n reactContext: UserAgentReactContext,\n });\n\n return userAgentUi;\n }\n}\n\nfunction UserAgentReactContext({ children, renderCtx }: { children: ReactNode; renderCtx?: UserAgentRenderCtx }) {\n // @todo - UserAgentProvider needs to be explicitly typed\n return <UserAgentProvider value={renderCtx?.userAgent as any}>{children}</UserAgentProvider>;\n}\n\nUserAgentAspect.addRuntime(UserAgentUI);\n"],"mappings":"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"}
1
+ {"version":3,"names":["_ui","data","require","_react","_interopRequireDefault","_uaParserJs","_uiFoundationUiHooks","_userAgent","obj","__esModule","default","_defineProperty","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","UserAgentUI","provider","uiUi","userAgentUi","registerRenderHooks","serverInit","browser","userAgent","UAParser","headers","browserInit","window","navigator","reactContext","UserAgentReactContext","exports","UIAspect","UIRuntime","children","renderCtx","createElement","UserAgentProvider","UserAgentAspect","addRuntime"],"sources":["user-agent.ui.runtime.tsx"],"sourcesContent":["import { UIAspect, UIRuntime, UiUI } from '@teambit/ui';\nimport React, { ReactNode } from 'react';\nimport UAParser from 'ua-parser-js';\nimport { UserAgentProvider } from '@teambit/ui-foundation.ui.hooks.use-user-agent';\nimport { UserAgentAspect } from './user-agent.aspect';\n\ntype UserAgentRenderCtx = {\n userAgent?: UAParser;\n};\n\n/**\n * user agent aspect\n */\nexport class UserAgentUI {\n static slots = [];\n\n static dependencies = [UIAspect];\n\n static runtime = UIRuntime;\n\n static async provider([uiUi]: [UiUI]) {\n const userAgentUi = new UserAgentUI();\n\n uiUi.registerRenderHooks<UserAgentRenderCtx, undefined>({\n serverInit: ({ browser }) => {\n const userAgent = new UAParser(browser.headers['user-agent']);\n return {\n userAgent,\n };\n },\n browserInit: () => {\n return {\n userAgent: new UAParser(window.navigator.userAgent),\n };\n },\n reactContext: UserAgentReactContext,\n });\n\n return userAgentUi;\n }\n}\n\nfunction UserAgentReactContext({ children, renderCtx }: { children: ReactNode; renderCtx?: UserAgentRenderCtx }) {\n // @todo - UserAgentProvider needs to be explicitly typed\n return <UserAgentProvider value={renderCtx?.userAgent as any}>{children}</UserAgentProvider>;\n}\n\nUserAgentAspect.addRuntime(UserAgentUI);\n"],"mappings":"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","ignoreList":[]}
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@teambit/user-agent",
3
- "version": "1.0.188",
3
+ "version": "1.0.189",
4
4
  "homepage": "https://bit.cloud/teambit/ui-foundation/user-agent",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.ui-foundation",
8
8
  "name": "user-agent",
9
- "version": "1.0.188"
9
+ "version": "1.0.189"
10
10
  },
11
11
  "dependencies": {
12
12
  "ua-parser-js": "0.7.24",
13
13
  "@teambit/harmony": "0.4.6",
14
14
  "@teambit/ui-foundation.ui.hooks.use-user-agent": "0.0.197",
15
- "@teambit/ui": "1.0.188"
15
+ "@teambit/ui": "1.0.189"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/ua-parser-js": "0.7.35",
19
19
  "@types/mocha": "9.1.0",
20
20
  "chai": "4.3.0",
21
- "@teambit/harmony.envs.core-aspect-env": "0.0.25"
21
+ "@teambit/harmony.envs.core-aspect-env": "0.0.27"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^17.0.0 || ^18.0.0",
@@ -1,7 +0,0 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_user-agent@1.0.188/dist/user-agent.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_user-agent@1.0.188/dist/user-agent.docs.mdx';
3
-
4
- export const compositions = [compositions_0];
5
- export const overview = [overview_0];
6
-
7
- export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};