@teambit/user-agent 1.0.256 → 1.0.258

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.256" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/user-agent@1.0.258" 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={54997:(e,t,o)=>{var n={id:"teambit.ui-foundation/user-agent@1.0.256",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(54997);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={22200:(e,t,o)=>{var n={id:"teambit.ui-foundation/user-agent@1.0.258",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(22200);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})()));
@@ -14,202 +14,226 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "VariableLikeSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "user-agent.aspect.ts",
20
- "line": 3,
21
- "character": 14
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 10
22
22
  },
23
- "signature": "const UserAgentAspect: Aspect",
24
23
  "name": "UserAgentAspect",
25
- "type": {
26
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "VariableLikeSchema",
27
26
  "location": {
28
27
  "filePath": "user-agent.aspect.ts",
29
28
  "line": 3,
30
29
  "character": 14
31
30
  },
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})"
31
+ "signature": "const UserAgentAspect: Aspect",
32
+ "name": "UserAgentAspect",
33
+ "type": {
34
+ "__schema": "TypeRefSchema",
35
+ "location": {
36
+ "filePath": "user-agent.aspect.ts",
37
+ "line": 3,
38
+ "character": 14
39
+ },
40
+ "name": "Aspect",
41
+ "componentId": {
42
+ "scope": "teambit.harmony",
43
+ "name": "harmony",
44
+ "version": "0.4.6"
45
+ }
46
+ },
47
+ "isOptional": false,
48
+ "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/user-agent',\n})"
49
+ }
41
50
  },
42
51
  {
43
- "__schema": "VariableLikeSchema",
52
+ "__schema": "ExportSchema",
44
53
  "location": {
45
- "filePath": "user-agent.aspect.ts",
46
- "line": 3,
47
- "character": 14
54
+ "filePath": "index.ts",
55
+ "line": 1,
56
+ "character": 46
48
57
  },
49
- "signature": "const UserAgentAspect: Aspect",
50
58
  "name": "UserAgentAspect",
51
- "type": {
52
- "__schema": "TypeRefSchema",
59
+ "exportNode": {
60
+ "__schema": "VariableLikeSchema",
53
61
  "location": {
54
62
  "filePath": "user-agent.aspect.ts",
55
63
  "line": 3,
56
64
  "character": 14
57
65
  },
58
- "name": "Aspect",
59
- "componentId": {
60
- "scope": "teambit.harmony",
61
- "name": "harmony",
62
- "version": "0.4.6"
63
- }
66
+ "signature": "const UserAgentAspect: Aspect",
67
+ "name": "UserAgentAspect",
68
+ "type": {
69
+ "__schema": "TypeRefSchema",
70
+ "location": {
71
+ "filePath": "user-agent.aspect.ts",
72
+ "line": 3,
73
+ "character": 14
74
+ },
75
+ "name": "Aspect",
76
+ "componentId": {
77
+ "scope": "teambit.harmony",
78
+ "name": "harmony",
79
+ "version": "0.4.6"
80
+ }
81
+ },
82
+ "isOptional": false,
83
+ "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/user-agent',\n})"
64
84
  },
65
- "isOptional": false,
66
- "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/user-agent',\n})"
85
+ "alias": "default"
67
86
  },
68
87
  {
69
- "__schema": "ClassSchema",
88
+ "__schema": "ExportSchema",
70
89
  "location": {
71
- "filePath": "user-agent.ui.runtime.tsx",
72
- "line": 14,
73
- "character": 1
90
+ "filePath": "index.ts",
91
+ "line": 2,
92
+ "character": 15
74
93
  },
75
- "doc": {
76
- "__schema": "DocSchema",
94
+ "name": "UserAgentUI",
95
+ "exportNode": {
96
+ "__schema": "ClassSchema",
77
97
  "location": {
78
98
  "filePath": "user-agent.ui.runtime.tsx",
79
- "line": 11,
99
+ "line": 14,
80
100
  "character": 1
81
101
  },
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",
102
+ "doc": {
103
+ "__schema": "DocSchema",
90
104
  "location": {
91
105
  "filePath": "user-agent.ui.runtime.tsx",
92
- "line": 15,
93
- "character": 3
106
+ "line": 11,
107
+ "character": 1
94
108
  },
95
- "signature": "(property) UserAgentUI.slots: never[]",
96
- "name": "slots",
97
- "type": {
98
- "__schema": "InferenceTypeSchema",
109
+ "raw": "/**\n * user agent aspect\n */",
110
+ "comment": "user agent aspect"
111
+ },
112
+ "signature": "class UserAgentUI",
113
+ "name": "UserAgentUI",
114
+ "members": [
115
+ {
116
+ "__schema": "VariableLikeSchema",
99
117
  "location": {
100
118
  "filePath": "user-agent.ui.runtime.tsx",
101
119
  "line": 15,
102
120
  "character": 3
103
121
  },
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
122
+ "signature": "(property) UserAgentUI.slots: never[]",
123
+ "name": "slots",
124
+ "type": {
125
+ "__schema": "InferenceTypeSchema",
126
+ "location": {
127
+ "filePath": "user-agent.ui.runtime.tsx",
128
+ "line": 15,
129
+ "character": 3
130
+ },
131
+ "type": "never[]"
132
+ },
133
+ "isOptional": true,
134
+ "defaultValue": "[]"
115
135
  },
116
- "signature": "(property) UserAgentUI.dependencies: Aspect[]",
117
- "name": "dependencies",
118
- "type": {
119
- "__schema": "InferenceTypeSchema",
136
+ {
137
+ "__schema": "VariableLikeSchema",
120
138
  "location": {
121
139
  "filePath": "user-agent.ui.runtime.tsx",
122
140
  "line": 17,
123
141
  "character": 3
124
142
  },
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
143
+ "signature": "(property) UserAgentUI.dependencies: Aspect[]",
144
+ "name": "dependencies",
145
+ "type": {
146
+ "__schema": "InferenceTypeSchema",
147
+ "location": {
148
+ "filePath": "user-agent.ui.runtime.tsx",
149
+ "line": 17,
150
+ "character": 3
151
+ },
152
+ "type": "Aspect[]"
153
+ },
154
+ "isOptional": true,
155
+ "defaultValue": "[UIAspect]"
136
156
  },
137
- "signature": "(property) UserAgentUI.runtime: RuntimeDefinition",
138
- "name": "runtime",
139
- "type": {
140
- "__schema": "InferenceTypeSchema",
157
+ {
158
+ "__schema": "VariableLikeSchema",
141
159
  "location": {
142
160
  "filePath": "user-agent.ui.runtime.tsx",
143
161
  "line": 19,
144
162
  "character": 3
145
163
  },
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",
164
+ "signature": "(property) UserAgentUI.runtime: RuntimeDefinition",
165
+ "name": "runtime",
166
+ "type": {
167
+ "__schema": "InferenceTypeSchema",
163
168
  "location": {
164
169
  "filePath": "user-agent.ui.runtime.tsx",
165
- "line": 21,
166
- "character": 25
170
+ "line": 19,
171
+ "character": 3
167
172
  },
168
- "name": "[ uiUi ]",
169
- "type": {
170
- "__schema": "TupleTypeSchema",
173
+ "type": "RuntimeDefinition"
174
+ },
175
+ "isOptional": true,
176
+ "defaultValue": "UIRuntime"
177
+ },
178
+ {
179
+ "__schema": "FunctionLikeSchema",
180
+ "location": {
181
+ "filePath": "user-agent.ui.runtime.tsx",
182
+ "line": 21,
183
+ "character": 3
184
+ },
185
+ "signature": "(method) UserAgentUI.provider([uiUi]: [UiUI]): Promise<UserAgentUI>",
186
+ "name": "provider",
187
+ "params": [
188
+ {
189
+ "__schema": "ParameterSchema",
171
190
  "location": {
172
191
  "filePath": "user-agent.ui.runtime.tsx",
173
192
  "line": 21,
174
- "character": 33
193
+ "character": 25
175
194
  },
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"
195
+ "name": "[ uiUi ]",
196
+ "type": {
197
+ "__schema": "TupleTypeSchema",
198
+ "location": {
199
+ "filePath": "user-agent.ui.runtime.tsx",
200
+ "line": 21,
201
+ "character": 33
202
+ },
203
+ "elements": [
204
+ {
205
+ "__schema": "TypeRefSchema",
206
+ "location": {
207
+ "filePath": "user-agent.ui.runtime.tsx",
208
+ "line": 21,
209
+ "character": 34
210
+ },
211
+ "name": "UiUI"
188
212
  }
189
- }
190
- ]
213
+ ]
214
+ },
215
+ "isOptional": false,
216
+ "isSpread": false
217
+ }
218
+ ],
219
+ "returnType": {
220
+ "__schema": "InferenceTypeSchema",
221
+ "location": {
222
+ "filePath": "user-agent.ui.runtime.tsx",
223
+ "line": 21,
224
+ "character": 3
191
225
  },
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
226
+ "type": "Promise<UserAgentUI>"
202
227
  },
203
- "type": "Promise<UserAgentUI>"
204
- },
205
- "modifiers": [
206
- "static",
207
- "async"
208
- ]
209
- }
210
- ],
211
- "extendsNodes": [],
212
- "implementNodes": []
228
+ "modifiers": [
229
+ "static",
230
+ "async"
231
+ ]
232
+ }
233
+ ],
234
+ "extendsNodes": [],
235
+ "implementNodes": []
236
+ }
213
237
  }
214
238
  ],
215
239
  "internals": []
@@ -386,11 +410,7 @@
386
410
  "line": 21,
387
411
  "character": 34
388
412
  },
389
- "name": "UiUI",
390
- "componentId": {
391
- "scope": "teambit.ui-foundation",
392
- "name": "ui"
393
- }
413
+ "name": "UiUI"
394
414
  }
395
415
  ]
396
416
  },
@@ -451,8 +471,7 @@
451
471
  "line": 8,
452
472
  "character": 15
453
473
  },
454
- "name": "UAParser",
455
- "packageName": "ua-parser-js"
474
+ "name": "UAParser"
456
475
  },
457
476
  "isOptional": true
458
477
  }
@@ -500,8 +519,7 @@
500
519
  "line": 43,
501
520
  "character": 69
502
521
  },
503
- "name": "ReactNode",
504
- "packageName": "react"
522
+ "name": "ReactNode"
505
523
  },
506
524
  "isOptional": false
507
525
  },
@@ -521,8 +539,7 @@
521
539
  "line": 43,
522
540
  "character": 92
523
541
  },
524
- "name": "UserAgentRenderCtx",
525
- "internalFilePath": "user-agent.ui.runtime.tsx"
542
+ "name": "UserAgentRenderCtx"
526
543
  },
527
544
  "isOptional": true
528
545
  }
@@ -546,8 +563,7 @@
546
563
  "line": 43,
547
564
  "character": 69
548
565
  },
549
- "name": "ReactNode",
550
- "packageName": "react"
566
+ "name": "ReactNode"
551
567
  },
552
568
  "isOptional": false
553
569
  },
@@ -567,8 +583,7 @@
567
583
  "line": 43,
568
584
  "character": 92
569
585
  },
570
- "name": "UserAgentRenderCtx",
571
- "internalFilePath": "user-agent.ui.runtime.tsx"
586
+ "name": "UserAgentRenderCtx"
572
587
  },
573
588
  "isOptional": true
574
589
  }
@@ -603,7 +618,7 @@
603
618
  "componentId": {
604
619
  "scope": "teambit.ui-foundation",
605
620
  "name": "user-agent",
606
- "version": "1.0.256"
621
+ "version": "1.0.258"
607
622
  },
608
623
  "taggedModuleExports": []
609
624
  }
@@ -0,0 +1,7 @@
1
+ import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.ui-foundation_user-agent@1.0.258/dist/user-agent.composition.js';
2
+ import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.ui-foundation_user-agent@1.0.258/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"}]};
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@teambit/user-agent",
3
- "version": "1.0.256",
3
+ "version": "1.0.258",
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.256"
9
+ "version": "1.0.258"
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.256"
15
+ "@teambit/ui": "1.0.258"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/ua-parser-js": "0.7.35",
@@ -1,7 +0,0 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_user-agent@1.0.256/dist/user-agent.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_user-agent@1.0.256/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"}]};