@teambit/user-agent 1.0.225 → 1.0.227
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_ui_foundation_user_agent-preview.js +1 -1
- package/artifacts/schema.json +8 -21
- package/dist/{preview-1712546198033.js → preview-1712719054377.js} +2 -2
- package/package.json +4 -4
- package/tsconfig.json +7 -1
- package/dist/index.d.ts +0 -2
- package/dist/user-agent.aspect.d.ts +0 -3
- package/dist/user-agent.composition.d.ts +0 -1
- package/dist/user-agent.ui.runtime.d.ts +0 -10
|
@@ -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.
|
|
3
|
+
<testsuite name="teambit.ui-foundation/user-agent@1.0.227" 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={
|
|
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={32816:(e,t,o)=>{var n={id:"teambit.ui-foundation/user-agent@1.0.227",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(32816);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})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -181,11 +181,7 @@
|
|
|
181
181
|
"line": 21,
|
|
182
182
|
"character": 34
|
|
183
183
|
},
|
|
184
|
-
"name": "UiUI"
|
|
185
|
-
"componentId": {
|
|
186
|
-
"scope": "teambit.ui-foundation",
|
|
187
|
-
"name": "ui"
|
|
188
|
-
}
|
|
184
|
+
"name": "UiUI"
|
|
189
185
|
}
|
|
190
186
|
]
|
|
191
187
|
},
|
|
@@ -386,11 +382,7 @@
|
|
|
386
382
|
"line": 21,
|
|
387
383
|
"character": 34
|
|
388
384
|
},
|
|
389
|
-
"name": "UiUI"
|
|
390
|
-
"componentId": {
|
|
391
|
-
"scope": "teambit.ui-foundation",
|
|
392
|
-
"name": "ui"
|
|
393
|
-
}
|
|
385
|
+
"name": "UiUI"
|
|
394
386
|
}
|
|
395
387
|
]
|
|
396
388
|
},
|
|
@@ -451,8 +443,7 @@
|
|
|
451
443
|
"line": 8,
|
|
452
444
|
"character": 15
|
|
453
445
|
},
|
|
454
|
-
"name": "UAParser"
|
|
455
|
-
"packageName": "ua-parser-js"
|
|
446
|
+
"name": "UAParser"
|
|
456
447
|
},
|
|
457
448
|
"isOptional": true
|
|
458
449
|
}
|
|
@@ -500,8 +491,7 @@
|
|
|
500
491
|
"line": 43,
|
|
501
492
|
"character": 69
|
|
502
493
|
},
|
|
503
|
-
"name": "ReactNode"
|
|
504
|
-
"packageName": "react"
|
|
494
|
+
"name": "ReactNode"
|
|
505
495
|
},
|
|
506
496
|
"isOptional": false
|
|
507
497
|
},
|
|
@@ -521,8 +511,7 @@
|
|
|
521
511
|
"line": 43,
|
|
522
512
|
"character": 92
|
|
523
513
|
},
|
|
524
|
-
"name": "UserAgentRenderCtx"
|
|
525
|
-
"internalFilePath": "user-agent.ui.runtime.tsx"
|
|
514
|
+
"name": "UserAgentRenderCtx"
|
|
526
515
|
},
|
|
527
516
|
"isOptional": true
|
|
528
517
|
}
|
|
@@ -546,8 +535,7 @@
|
|
|
546
535
|
"line": 43,
|
|
547
536
|
"character": 69
|
|
548
537
|
},
|
|
549
|
-
"name": "ReactNode"
|
|
550
|
-
"packageName": "react"
|
|
538
|
+
"name": "ReactNode"
|
|
551
539
|
},
|
|
552
540
|
"isOptional": false
|
|
553
541
|
},
|
|
@@ -567,8 +555,7 @@
|
|
|
567
555
|
"line": 43,
|
|
568
556
|
"character": 92
|
|
569
557
|
},
|
|
570
|
-
"name": "UserAgentRenderCtx"
|
|
571
|
-
"internalFilePath": "user-agent.ui.runtime.tsx"
|
|
558
|
+
"name": "UserAgentRenderCtx"
|
|
572
559
|
},
|
|
573
560
|
"isOptional": true
|
|
574
561
|
}
|
|
@@ -603,7 +590,7 @@
|
|
|
603
590
|
"componentId": {
|
|
604
591
|
"scope": "teambit.ui-foundation",
|
|
605
592
|
"name": "user-agent",
|
|
606
|
-
"version": "1.0.
|
|
593
|
+
"version": "1.0.227"
|
|
607
594
|
},
|
|
608
595
|
"taggedModuleExports": []
|
|
609
596
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_user-agent@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_user-agent@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_user-agent@1.0.227/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.227/dist/user-agent.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/user-agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.227",
|
|
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.
|
|
9
|
+
"version": "1.0.227"
|
|
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.
|
|
15
|
+
"@teambit/ui": "1.0.227"
|
|
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.
|
|
21
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.30"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^17.0.0 || ^18.0.0",
|
package/tsconfig.json
CHANGED
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"emitDeclarationOnly": true,
|
|
21
21
|
"strict": true,
|
|
22
22
|
"strictPropertyInitialization": false,
|
|
23
|
-
"noImplicitAny": false
|
|
23
|
+
"noImplicitAny": false,
|
|
24
|
+
"composite": true
|
|
24
25
|
},
|
|
25
26
|
"exclude": [
|
|
26
27
|
"artifacts",
|
|
@@ -35,5 +36,10 @@
|
|
|
35
36
|
"include": [
|
|
36
37
|
"**/*",
|
|
37
38
|
"**/*.json"
|
|
39
|
+
],
|
|
40
|
+
"references": [
|
|
41
|
+
{
|
|
42
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_ui@1.0.227"
|
|
43
|
+
}
|
|
38
44
|
]
|
|
39
45
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UiUI } from '@teambit/ui';
|
|
2
|
-
/**
|
|
3
|
-
* user agent aspect
|
|
4
|
-
*/
|
|
5
|
-
export declare class UserAgentUI {
|
|
6
|
-
static slots: never[];
|
|
7
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
|
8
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
9
|
-
static provider([uiUi]: [UiUI]): Promise<UserAgentUI>;
|
|
10
|
-
}
|