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