@100mslive/roomkit-react 0.1.2-alpha.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{ActiveSpeakerView-ADEYHQMU.css → ActiveSpeakerView-ELWK3LNE.css} +2 -2
- package/dist/{PinnedTrackView-5DPVVOZW.css.map → ActiveSpeakerView-ELWK3LNE.css.map} +1 -1
- package/dist/{ActiveSpeakerView-4XPIRZOK.js → ActiveSpeakerView-I4XBBOOY.js} +6 -6
- package/dist/{HLSView-DWEEMZ6Z.css → HLSView-UPP5PDCE.css} +2 -2
- package/dist/{HLSView-DWEEMZ6Z.css.map → HLSView-UPP5PDCE.css.map} +1 -1
- package/dist/{HLSView-I26CVF5U.js → HLSView-VXI2RN37.js} +5 -5
- package/dist/{PinnedTrackView-5DPVVOZW.css → PinnedTrackView-NWN3H5EZ.css} +2 -2
- package/dist/{conference-BDCDGBIS.css.map → PinnedTrackView-NWN3H5EZ.css.map} +1 -1
- package/dist/{PinnedTrackView-GGTCNH5V.js → PinnedTrackView-V2COEYUL.js} +6 -6
- package/dist/{VirtualBackground-ZRRE4DUA.js → VirtualBackground-4RPLPBOQ.js} +3 -3
- package/dist/{chunk-KKLZ7K2L.js → chunk-2SV2DRIF.js} +7 -7
- package/dist/{chunk-KKLZ7K2L.js.map → chunk-2SV2DRIF.js.map} +2 -2
- package/dist/{chunk-LUND6FLY.js → chunk-MJNJRHS3.js} +46 -40
- package/dist/chunk-MJNJRHS3.js.map +7 -0
- package/dist/{chunk-MYK3T45M.js → chunk-PLKNFRDT.js} +3 -3
- package/dist/chunk-PLKNFRDT.js.map +7 -0
- package/dist/{chunk-THORW2WT.js → chunk-S4QRZ4VV.js} +2 -2
- package/dist/{chunk-4ISMCWQA.js → chunk-YJCBCMH4.js} +7 -6
- package/dist/chunk-YJCBCMH4.js.map +7 -0
- package/dist/{conference-5TDUAQ6K.js → conference-DGJFMV3O.js} +258 -434
- package/dist/conference-DGJFMV3O.js.map +7 -0
- package/dist/{conference-BDCDGBIS.css → conference-JFEDNIUG.css} +2 -2
- package/dist/{ActiveSpeakerView-ADEYHQMU.css.map → conference-JFEDNIUG.css.map} +1 -1
- package/dist/index.cjs.css +1 -1
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +464 -656
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +4 -4
- package/dist/meta.cjs.json +46 -166
- package/dist/meta.esbuild.json +136 -256
- package/dist/{transcription-PYTSSAOB.js → transcription-KASUU6FK.js} +3 -3
- package/package.json +6 -6
- package/src/Button/Button.tsx +6 -2
- package/src/Loading/Loading.tsx +1 -1
- package/src/Prebuilt/App.jsx +4 -1
- package/src/Prebuilt/AppContext.jsx +1 -1
- package/src/Prebuilt/Prebuilt.stories.tsx +4 -0
- package/src/Prebuilt/components/Footer/ConferencingFooter.jsx +1 -4
- package/src/Prebuilt/components/Notifications/PeerNotifications.jsx +2 -1
- package/src/Prebuilt/components/Notifications/PermissionErrorModal.jsx +13 -44
- package/src/Prebuilt/components/Preview/PreviewContainer.jsx +4 -1
- package/src/Prebuilt/components/Preview/PreviewForm.jsx +5 -7
- package/src/Prebuilt/components/Preview/PreviewJoin.jsx +11 -7
- package/src/Theme/base.config.ts +3 -3
- package/src/Theme/stitches.config.ts +2 -1
- package/src/VideoTile/StyledVideoTile.tsx +1 -1
- package/dist/chunk-4ISMCWQA.js.map +0 -7
- package/dist/chunk-LUND6FLY.js.map +0 -7
- package/dist/chunk-MYK3T45M.js.map +0 -7
- package/dist/conference-5TDUAQ6K.js.map +0 -7
- package/src/assets/android-perm-0.png +0 -0
- /package/dist/{ActiveSpeakerView-4XPIRZOK.js.map → ActiveSpeakerView-I4XBBOOY.js.map} +0 -0
- /package/dist/{HLSView-I26CVF5U.js.map → HLSView-VXI2RN37.js.map} +0 -0
- /package/dist/{PinnedTrackView-GGTCNH5V.js.map → PinnedTrackView-V2COEYUL.js.map} +0 -0
- /package/dist/{VirtualBackground-ZRRE4DUA.js.map → VirtualBackground-4RPLPBOQ.js.map} +0 -0
- /package/dist/{chunk-THORW2WT.js.map → chunk-S4QRZ4VV.js.map} +0 -0
- /package/dist/{transcription-PYTSSAOB.js.map → transcription-KASUU6FK.js.map} +0 -0
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../src/Loading/Loading.tsx", "../src/Loading/index.ts", "../src/Prebuilt/components/hooks/useFeatures.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\n\ntype Props = {\n /**\n * Adjusts width and height\n */\n size?: number | string;\n /**\n * Color of Loader\n */\n color?: string;\n};\n\ntype LoadingProps = Props & React.SVGProps<SVGSVGElement>;\n\nexport const Loading = ({ size = 24, color = 'white', ...props }: LoadingProps) => (\n <svg width={size} height={size} viewBox=\"0 0 50 50\" fill={color} xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <circle cx=\"25\" cy=\"25\" r=\"20\" stroke=\"#0074D9\" stroke-width=\"4\" stroke-dasharray=\"70 30\" fill=\"none\">\n <animateTransform\n attributeName=\"transform\"\n attributeType=\"XML\"\n type=\"rotate\"\n from=\"0 25 25\"\n to=\"360 25 25\"\n dur=\"1s\"\n repeatCount=\"indefinite\"\n />\n </circle>\n </svg>\n);\n", "export { Loading } from './Loading';\n", "import { selectTemplateAppData, useHMSStore } from '@100mslive/react-sdk';\n\nexport const useFeatures = () => {\n let features = useHMSStore(selectTemplateAppData)?.features;\n return features && typeof features === 'string' ? features.split(',') : undefined;\n};\n\nexport const useIsFeatureEnabled = key => {\n let features = useFeatures();\n return features ? features.includes(key) : true;\n};\n\nexport const useRolePreference = () => {\n let preference = useHMSStore(selectTemplateAppData)?.rolePreference;\n try {\n preference = JSON.parse(preference || '{}');\n return preference;\n } catch (e) {\n console.log('role preference parse error', e);\n return undefined;\n }\n};\n"],
|
5
|
-
"mappings": ";;;;;;;AAAA;AAAA,OAAO,WAAW;AAeX,IAAM,UAAU,CAAC,OAAwD;AAAxD,eAAE,SAAO,IAAI,QAAQ,QAf7C,IAewB,IAAiC,kBAAjC,IAAiC,CAA/B,QAAW;AACnC,6CAAC,wBAAI,OAAO,MAAM,QAAQ,MAAM,SAAQ,aAAY,MAAM,OAAO,OAAM,gCAAiC,QACtG,oCAAC,YAAO,IAAG,MAAK,IAAG,MAAK,GAAE,MAAK,QAAO,WAAU,gBAAa,KAAI,oBAAiB,SAAQ,MAAK,UAC7F;AAAA,IAAC;AAAA;AAAA,MACC,eAAc;AAAA,MACd,eAAc;AAAA,MACd,MAAK;AAAA,MACL,MAAK;AAAA,MACL,IAAG;AAAA,MACH,KAAI;AAAA,MACJ,aAAY;AAAA;AAAA,EACd,CACF,CACF;AAAA;;;AC5BF;;;ACAA;AAAA,SAAS,uBAAuB,mBAAmB;AAE5C,IAAM,cAAc,MAAM;AAFjC;AAGE,MAAI,YAAW,iBAAY,qBAAqB,MAAjC,mBAAoC;AACnD,SAAO,YAAY,OAAO,aAAa,WAAW,SAAS,MAAM,GAAG,IAAI;AAC1E;AAEO,IAAM,sBAAsB,SAAO;AACxC,MAAI,WAAW,YAAY;AAC3B,SAAO,WAAW,SAAS,SAAS,GAAG,IAAI;AAC7C;AAEO,IAAM,oBAAoB,MAAM;AAZvC;AAaE,MAAI,cAAa,iBAAY,qBAAqB,MAAjC,mBAAoC;AACrD,MAAI;AACF,iBAAa,KAAK,MAAM,cAAc,IAAI;AAC1C,WAAO;AAAA,EACT,SAAS,GAAG;AACV,YAAQ,IAAI,+BAA+B,CAAC;AAC5C,WAAO;AAAA,EACT;AACF;",
|
6
|
-
"names": []
|
7
|
-
}
|