@100mslive/roomkit-react 0.1.8-alpha.0 → 0.1.9-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. package/dist/{HLSView-IQRPLYNH.js → HLSView-U53QN3AC.js} +3 -3
  2. package/dist/Modal/Dialog.d.ts +402 -1706
  3. package/dist/Prebuilt/App.d.ts +6 -0
  4. package/dist/Prebuilt/AppContext.d.ts +2 -0
  5. package/dist/Prebuilt/AppStateContext.d.ts +16 -0
  6. package/dist/Prebuilt/components/ConferenceScreen.d.ts +2 -0
  7. package/dist/Prebuilt/components/Footer/PaginatedParticipants.d.ts +5 -0
  8. package/dist/Prebuilt/components/Footer/PollsToggle.d.ts +2 -0
  9. package/dist/Prebuilt/components/Footer/RoleAccordion.d.ts +10 -3
  10. package/dist/Prebuilt/components/LeaveScreen.d.ts +2 -0
  11. package/dist/Prebuilt/components/MwebLandscapePrompt.d.ts +2 -0
  12. package/dist/Prebuilt/components/Notifications/AutoplayBlockedModal.d.ts +2 -0
  13. package/dist/Prebuilt/components/Notifications/HLSFailureModal.d.ts +2 -0
  14. package/dist/Prebuilt/components/Notifications/InitErrorModal.d.ts +2 -0
  15. package/dist/Prebuilt/components/Notifications/Notifications.d.ts +2 -0
  16. package/dist/Prebuilt/components/Notifications/PeerNotifications.d.ts +1 -0
  17. package/dist/Prebuilt/components/Notifications/PermissionErrorModal.d.ts +2 -0
  18. package/dist/Prebuilt/components/Notifications/ReconnectNotifications.d.ts +2 -0
  19. package/dist/Prebuilt/components/Notifications/TrackBulkUnmuteModal.d.ts +2 -0
  20. package/dist/Prebuilt/components/Notifications/TrackNotifications.d.ts +1 -0
  21. package/dist/Prebuilt/components/Notifications/TrackUnmuteModal.d.ts +2 -0
  22. package/dist/Prebuilt/components/Polls/Polls.d.ts +2 -0
  23. package/dist/Prebuilt/components/Preview/PreviewJoin.d.ts +1 -2
  24. package/dist/Prebuilt/components/Preview/PreviewScreen.d.ts +2 -0
  25. package/dist/Prebuilt/components/hooks/useRedirectToLeave.d.ts +1 -1
  26. package/dist/{VirtualBackground-GP4ATXD3.js → VirtualBackground-PMLQPJB6.js} +3 -5
  27. package/dist/{VirtualBackground-GP4ATXD3.js.map → VirtualBackground-PMLQPJB6.js.map} +1 -1
  28. package/dist/chunk-ANQRGVIX.js +14441 -0
  29. package/dist/chunk-ANQRGVIX.js.map +7 -0
  30. package/dist/{chunk-Z3O2WGWV.js → chunk-XQ2NRKIW.js} +66 -3
  31. package/dist/chunk-XQ2NRKIW.js.map +7 -0
  32. package/dist/context/DialogContext.d.ts +6 -0
  33. package/dist/hooks/useDialogContainerSelector.d.ts +1 -0
  34. package/dist/index.cjs.js +10956 -9818
  35. package/dist/index.cjs.js.map +4 -4
  36. package/dist/index.d.ts +1 -0
  37. package/dist/index.js +6 -2
  38. package/dist/meta.cjs.json +4076 -3201
  39. package/dist/meta.esbuild.json +4391 -3623
  40. package/dist/utils/animations.d.ts +11 -0
  41. package/package.json +6 -7
  42. package/src/AudioLevel/AudioLevel.tsx +1 -1
  43. package/src/Modal/Dialog.tsx +31 -3
  44. package/src/Prebuilt/App.tsx +49 -97
  45. package/src/Prebuilt/AppContext.tsx +6 -0
  46. package/src/Prebuilt/AppStateContext.tsx +71 -0
  47. package/src/Prebuilt/common/constants.js +36 -1
  48. package/src/Prebuilt/common/utils.js +47 -0
  49. package/src/Prebuilt/components/AppData/AppData.jsx +6 -1
  50. package/src/Prebuilt/components/AppData/useSidepane.js +23 -1
  51. package/src/Prebuilt/components/AppData/useUISettings.js +49 -5
  52. package/src/Prebuilt/components/Chip.tsx +6 -2
  53. package/src/Prebuilt/components/{conference.jsx → ConferenceScreen.tsx} +34 -46
  54. package/src/Prebuilt/components/Footer/Footer.tsx +5 -0
  55. package/src/Prebuilt/components/Footer/PaginatedParticipants.tsx +125 -0
  56. package/src/Prebuilt/components/Footer/ParticipantList.jsx +55 -24
  57. package/src/Prebuilt/components/Footer/PollsToggle.tsx +22 -0
  58. package/src/Prebuilt/components/Footer/RoleAccordion.tsx +87 -85
  59. package/src/Prebuilt/components/Footer/RoleOptions.tsx +1 -1
  60. package/src/Prebuilt/components/Header/StreamActions.tsx +5 -3
  61. package/src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx +4 -5
  62. package/src/Prebuilt/components/Leave/LeaveRoom.tsx +0 -4
  63. package/src/Prebuilt/components/{PostLeave.jsx → LeaveScreen.tsx} +6 -13
  64. package/src/Prebuilt/components/MoreSettings/ChangeNameModal.jsx +2 -3
  65. package/src/Prebuilt/components/MoreSettings/EmbedUrl.jsx +2 -3
  66. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +18 -1
  67. package/src/Prebuilt/components/{MwebLandscapePrompt.jsx → MwebLandscapePrompt.tsx} +10 -11
  68. package/src/Prebuilt/components/Notifications/{AutoplayBlockedModal.jsx → AutoplayBlockedModal.tsx} +2 -1
  69. package/src/Prebuilt/components/Notifications/{HLSFailureModal.jsx → HLSFailureModal.tsx} +10 -8
  70. package/src/Prebuilt/components/Notifications/{InitErrorModal.jsx → InitErrorModal.tsx} +5 -2
  71. package/src/Prebuilt/components/Notifications/{Notifications.jsx → Notifications.tsx} +41 -27
  72. package/src/Prebuilt/components/Notifications/{PeerNotifications.jsx → PeerNotifications.tsx} +3 -0
  73. package/src/Prebuilt/components/Notifications/{PermissionErrorModal.jsx → PermissionErrorModal.tsx} +6 -4
  74. package/src/Prebuilt/components/Notifications/{ReconnectNotifications.jsx → ReconnectNotifications.tsx} +11 -6
  75. package/src/Prebuilt/components/Notifications/{TrackBulkUnmuteModal.jsx → TrackBulkUnmuteModal.tsx} +9 -3
  76. package/src/Prebuilt/components/Notifications/{TrackUnmuteModal.jsx → TrackUnmuteModal.tsx} +9 -3
  77. package/src/Prebuilt/components/Notifications/index.tsx +1 -0
  78. package/src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.jsx +229 -0
  79. package/src/Prebuilt/components/Polls/CreatePollQuiz/Timer.jsx +71 -0
  80. package/src/Prebuilt/components/Polls/CreateQuestions/CreateQuestions.jsx +132 -0
  81. package/src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.jsx +66 -0
  82. package/src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.jsx +251 -0
  83. package/src/Prebuilt/components/Polls/CreateQuestions/SavedQuestion.jsx +57 -0
  84. package/src/Prebuilt/components/Polls/Polls.tsx +28 -0
  85. package/src/Prebuilt/components/Polls/Voting/PollResultSummary.jsx +125 -0
  86. package/src/Prebuilt/components/Polls/Voting/QuestionCard.jsx +249 -0
  87. package/src/Prebuilt/components/Polls/Voting/StandardVoting.jsx +40 -0
  88. package/src/Prebuilt/components/Polls/Voting/TimedVoting.jsx +36 -0
  89. package/src/Prebuilt/components/Polls/Voting/Voting.jsx +99 -0
  90. package/src/Prebuilt/components/Polls/common/MultipleChoiceOptions.jsx +101 -0
  91. package/src/Prebuilt/components/Polls/common/OptionInputWithDelete.jsx +25 -0
  92. package/src/Prebuilt/components/Polls/common/SingleChoiceOptions.jsx +125 -0
  93. package/src/Prebuilt/components/Polls/common/StatusIndicator.jsx +47 -0
  94. package/src/Prebuilt/components/Polls/common/VoteCount.jsx +28 -0
  95. package/src/Prebuilt/components/Polls/common/VoteProgress.jsx +17 -0
  96. package/src/Prebuilt/components/Polls/common/VoterList.jsx +22 -0
  97. package/src/Prebuilt/components/Polls/common/Votes.jsx +72 -0
  98. package/src/Prebuilt/components/Preview/PreviewForm.tsx +3 -2
  99. package/src/Prebuilt/components/Preview/PreviewJoin.tsx +29 -21
  100. package/src/Prebuilt/components/Preview/{PreviewContainer.tsx → PreviewScreen.tsx} +2 -19
  101. package/src/Prebuilt/components/RaiseHand.jsx +1 -1
  102. package/src/Prebuilt/components/RoleChangeModal.jsx +2 -3
  103. package/src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx +2 -3
  104. package/src/Prebuilt/components/Settings/SettingsModal.jsx +2 -3
  105. package/src/Prebuilt/components/Settings/StartRecording.jsx +15 -4
  106. package/src/Prebuilt/components/SidePaneTabs.tsx +32 -6
  107. package/src/Prebuilt/components/StatsForNerds.jsx +2 -3
  108. package/src/Prebuilt/components/Streaming/Common.jsx +31 -21
  109. package/src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx +8 -9
  110. package/src/Prebuilt/components/VideoTile.jsx +28 -39
  111. package/src/Prebuilt/components/hooks/useAutoStartStreaming.tsx +3 -3
  112. package/src/Prebuilt/components/hooks/useDropdownSelection.jsx +1 -1
  113. package/src/Prebuilt/components/hooks/useRedirectToLeave.tsx +9 -17
  114. package/src/Prebuilt/components/pdfAnnotator/pdfFileOptions.jsx +2 -3
  115. package/src/Prebuilt/components/pdfAnnotator/submitPdf.jsx +1 -1
  116. package/src/Prebuilt/components/pdfAnnotator/uploadedFile.jsx +2 -3
  117. package/src/Prebuilt/layouts/EmbedView.jsx +47 -60
  118. package/src/Prebuilt/layouts/PDFView.jsx +49 -99
  119. package/src/Prebuilt/layouts/SidePane.tsx +9 -4
  120. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +2 -2
  121. package/src/Prebuilt/primitives/DialogContent.jsx +4 -5
  122. package/src/context/DialogContext.tsx +13 -0
  123. package/src/hooks/useDialogContainerSelector.tsx +7 -0
  124. package/src/index.ts +1 -0
  125. package/src/utils/animations.ts +6 -0
  126. package/dist/Prebuilt/components/PrebuiltDialogPortal.d.ts +0 -4
  127. package/dist/Prebuilt/components/Preview/PreviewContainer.d.ts +0 -3
  128. package/dist/chunk-2H5NIZB7.js +0 -70
  129. package/dist/chunk-2H5NIZB7.js.map +0 -7
  130. package/dist/chunk-GLYGPYNS.js +0 -7125
  131. package/dist/chunk-GLYGPYNS.js.map +0 -7
  132. package/dist/chunk-Z3O2WGWV.js.map +0 -7
  133. package/dist/conference-JD35TNH4.js +0 -6503
  134. package/dist/conference-JD35TNH4.js.map +0 -7
  135. package/src/Prebuilt/components/GoLiveButton.jsx +0 -42
  136. package/src/Prebuilt/components/PrebuiltDialogPortal.tsx +0 -6
  137. package/src/Prebuilt/components/Streaming/HLSStreaming.jsx +0 -220
  138. package/src/Prebuilt/components/Streaming/RTMPStreaming.jsx +0 -334
  139. package/src/Prebuilt/components/Streaming/StreamingLanding.jsx +0 -76
  140. /package/dist/{HLSView-IQRPLYNH.js.map → HLSView-U53QN3AC.js.map} +0 -0
  141. /package/{src/Prebuilt/components/Notifications/index.jsx → dist/Prebuilt/components/Notifications/index.d.ts} +0 -0
  142. /package/src/Prebuilt/components/Notifications/{TrackNotifications.jsx → TrackNotifications.tsx} +0 -0
@@ -2,15 +2,15 @@ import React from 'react';
2
2
  import { useMedia } from 'react-use';
3
3
  import { ConferencingScreen } from '@100mslive/types-prebuilt';
4
4
  import { selectAppData, selectVideoTrackByPeerID, useHMSStore } from '@100mslive/react-sdk';
5
+ import { Polls } from '../components/Polls/Polls';
5
6
  import { SidePaneTabs } from '../components/SidePaneTabs';
6
- // @ts-ignore: No implicit Any
7
- import { StreamingLanding } from '../components/Streaming/StreamingLanding';
8
7
  import { TileCustomisationProps } from '../components/VideoLayouts/GridLayout';
9
8
  // @ts-ignore: No implicit Any
10
9
  import VideoTile from '../components/VideoTile';
11
10
  import { Box, Flex } from '../../Layout';
12
11
  import { config as cssConfig } from '../../Theme';
13
12
  import { useRoomLayoutConferencingScreen } from '../provider/roomLayoutProvider/hooks/useRoomLayoutScreen';
13
+ import { translateAcross } from '../../utils';
14
14
  // @ts-ignore: No implicit Any
15
15
  import { APP_DATA, SIDE_PANE_OPTIONS } from '../common/constants';
16
16
 
@@ -29,10 +29,11 @@ const SidePane = ({
29
29
  const trackId = useHMSStore(selectVideoTrackByPeerID(activeScreensharePeerId))?.id;
30
30
  const { elements } = useRoomLayoutConferencingScreen();
31
31
  let ViewComponent;
32
+ if (sidepane === SIDE_PANE_OPTIONS.POLLS) {
33
+ ViewComponent = <Polls />;
34
+ }
32
35
  if (sidepane === SIDE_PANE_OPTIONS.PARTICIPANTS || sidepane === SIDE_PANE_OPTIONS.CHAT) {
33
36
  ViewComponent = <SidePaneTabs screenType={screenType} hideControls={hideControls} active={sidepane} />;
34
- } else if (sidepane === SIDE_PANE_OPTIONS.STREAMING) {
35
- ViewComponent = <StreamingLanding />;
36
37
  }
37
38
  if (!ViewComponent && !trackId) {
38
39
  return null;
@@ -64,6 +65,7 @@ const SidePane = ({
64
65
  <VideoTile
65
66
  peerId={activeScreensharePeerId}
66
67
  trackId={trackId}
68
+ width="100%"
67
69
  height={225}
68
70
  rootCSS={{ p: 0, alignSelf: 'start', flexShrink: 0 }}
69
71
  {...tileLayout}
@@ -96,6 +98,9 @@ const SidePane = ({
96
98
  '@md': {
97
99
  p: '$6 $8',
98
100
  pb: mwebStreamingChat ? '$20' : '$12',
101
+ borderTopLeftRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? '$2' : '0',
102
+ borderTopRightRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? '$2' : '0',
103
+ animation: `${translateAcross({ yFrom: '100%' })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`,
99
104
  },
100
105
  }}
101
106
  >
@@ -18,7 +18,7 @@ import SidePane from './SidePane';
18
18
  import { WaitingView } from './WaitingView';
19
19
  // import { useWhiteboardMetadata } from '../plugins/whiteboard';
20
20
  import {
21
- usePDFAnnotator,
21
+ usePDFConfig,
22
22
  useUrlToEmbed,
23
23
  useWaitingViewerRole,
24
24
  // @ts-ignore: No implicit Any
@@ -45,7 +45,7 @@ export const VideoStreamingSection = ({
45
45
  const hmsActions = useHMSActions();
46
46
  const waitingViewerRole = useWaitingViewerRole();
47
47
  const urlToIframe = useUrlToEmbed();
48
- const pdfAnnotatorActive = usePDFAnnotator();
48
+ const pdfAnnotatorActive = usePDFConfig();
49
49
 
50
50
  useEffect(() => {
51
51
  if (!isConnected) {
@@ -1,6 +1,5 @@
1
1
  import React, { useRef } from 'react';
2
2
  import { CheckIcon, CloudUploadIcon, CrossIcon } from '@100mslive/react-icons';
3
- import { PrebuiltDialogPortal } from '../components/PrebuiltDialogPortal';
4
3
  import { Button } from '../../Button';
5
4
  import { Checkbox } from '../../Checkbox';
6
5
  import { HorizontalDivider } from '../../Divider';
@@ -15,7 +14,7 @@ import { Text } from '../../Text';
15
14
 
16
15
  export const DialogContent = ({ Icon, title, closeable = true, children, css, iconCSS = {}, ...props }) => {
17
16
  return (
18
- <PrebuiltDialogPortal>
17
+ <Dialog.Portal>
19
18
  <Dialog.Overlay />
20
19
  <Dialog.Content css={{ width: 'min(600px, 100%)', ...css }} {...props}>
21
20
  <Dialog.Title>
@@ -36,7 +35,7 @@ export const DialogContent = ({ Icon, title, closeable = true, children, css, ic
36
35
  <HorizontalDivider css={{ mt: '0.8rem' }} />
37
36
  <Box>{children}</Box>
38
37
  </Dialog.Content>
39
- </PrebuiltDialogPortal>
38
+ </Dialog.Portal>
40
39
  );
41
40
  };
42
41
 
@@ -61,7 +60,7 @@ export const ErrorDialog = ({ open = true, onOpenChange, title, children, ...pro
61
60
 
62
61
  export const RequestDialog = ({ open = true, onOpenChange, title, body, actionText = 'Accept', onAction, Icon }) => (
63
62
  <Dialog.Root open={open} onOpenChange={onOpenChange}>
64
- <PrebuiltDialogPortal>
63
+ <Dialog.Portal>
65
64
  <Dialog.Overlay />
66
65
  <Dialog.Content css={{ width: 'min(400px,80%)', p: '$10' }}>
67
66
  <Dialog.Title css={{ p: 0, display: 'flex', flexDirection: 'row', gap: '$md' }}>
@@ -98,7 +97,7 @@ export const RequestDialog = ({ open = true, onOpenChange, title, body, actionTe
98
97
  </Box>
99
98
  </Flex>
100
99
  </Dialog.Content>
101
- </PrebuiltDialogPortal>
100
+ </Dialog.Portal>
102
101
  </Dialog.Root>
103
102
  );
104
103
 
@@ -0,0 +1,13 @@
1
+ import React, { createContext, ReactNode } from 'react';
2
+
3
+ export const DialogContainerContext = createContext('');
4
+
5
+ export function DialogContainerProvider({
6
+ children,
7
+ dialogContainerSelector,
8
+ }: {
9
+ children: ReactNode;
10
+ dialogContainerSelector: string;
11
+ }) {
12
+ return <DialogContainerContext.Provider value={dialogContainerSelector}>{children}</DialogContainerContext.Provider>;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { useContext } from 'react';
2
+ import { DialogContainerContext } from '../context/DialogContext';
3
+
4
+ export function useDialogContainerSelector() {
5
+ const dialogContainerSelector = useContext(DialogContainerContext);
6
+ return dialogContainerSelector;
7
+ }
package/src/index.ts CHANGED
@@ -36,3 +36,4 @@ export * from './Link';
36
36
  export * from './Collapsible';
37
37
  export * from './Prebuilt';
38
38
  export * from './Progress';
39
+ export * from './context/DialogContext';
@@ -12,6 +12,12 @@ export const slideUp = (controller: string) =>
12
12
  to: { height: 0 },
13
13
  });
14
14
 
15
+ export const translateAcross = ({ xFrom = '0', yFrom = '0', zFrom = '0', xTo = '0', yTo = '0', zTo = '0' }) =>
16
+ keyframes({
17
+ from: { transform: `translate3d(${xFrom}, ${yFrom}, ${zFrom})` },
18
+ to: { transform: `translate3d(${xTo}, ${yTo}, ${zTo}` },
19
+ });
20
+
15
21
  export const dialogOpen = keyframes({
16
22
  '0%': { opacity: 0, transform: 'translate(-50%, -48%) scale(.90)' },
17
23
  '100%': { opacity: 1, transform: 'translate(-50%, -50%) scale(1)' },
@@ -1,4 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- export declare const PrebuiltDialogPortal: ({ children }: {
3
- children: ReactNode;
4
- }) => React.JSX.Element;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const PreviewContainer: () => React.JSX.Element;
3
- export default PreviewContainer;
@@ -1,70 +0,0 @@
1
- import {
2
- Flex,
3
- Text,
4
- __objRest,
5
- __spreadProps,
6
- __spreadValues,
7
- styled
8
- } from "./chunk-Z3O2WGWV.js";
9
-
10
- // src/Prebuilt/components/MoreSettings/ActionTile.jsx
11
- import React from "react";
12
- var ActionTileRoot = (_a) => {
13
- var _b = _a, { active, disabled = false, children, onClick } = _b, props = __objRest(_b, ["active", "disabled", "children", "onClick"]);
14
- return /* @__PURE__ */ React.createElement(
15
- Flex,
16
- __spreadProps(__spreadValues({}, props), {
17
- css: {
18
- flexDirection: "column",
19
- alignItems: "center",
20
- p: "$4 $2",
21
- position: "relative",
22
- bg: active ? "$surface_bright" : "",
23
- color: disabled ? "$on_surface_low" : "$on_surface_high",
24
- gap: "$4",
25
- r: "$1",
26
- "&:hover": {
27
- bg: "$surface_bright"
28
- }
29
- },
30
- onClick: () => {
31
- if (!disabled) {
32
- onClick();
33
- }
34
- }
35
- }),
36
- children
37
- );
38
- };
39
- var ActionTileCount = styled(Text, {
40
- position: "absolute",
41
- top: 0,
42
- right: 0,
43
- fontWeight: "$semiBold",
44
- color: "$on_surface_high",
45
- p: "$1 $2",
46
- minWidth: "$9",
47
- textAlign: "center",
48
- boxSizing: "border-box",
49
- bg: "$surface_bright",
50
- r: "$round",
51
- letterSpacing: "1.5px",
52
- fontSize: "$tiny !important",
53
- lineHeight: "$tiny !important"
54
- });
55
- var ActionTileTitle = styled(Text, {
56
- fontWeight: "$semiBold",
57
- color: "inherit",
58
- textAlign: "center",
59
- fontSize: "$xs !important"
60
- });
61
- var ActionTile = {
62
- Root: ActionTileRoot,
63
- Title: ActionTileTitle,
64
- Count: ActionTileCount
65
- };
66
-
67
- export {
68
- ActionTile
69
- };
70
- //# sourceMappingURL=chunk-2H5NIZB7.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/Prebuilt/components/MoreSettings/ActionTile.jsx"],
4
- "sourcesContent": ["import React from 'react';\nimport { Flex } from '../../../Layout';\nimport { Text } from '../../../Text';\nimport { styled } from '../../../Theme';\n\nconst ActionTileRoot = ({ active, disabled = false, children, onClick, ...props }) => (\n <Flex\n {...props}\n css={{\n flexDirection: 'column',\n alignItems: 'center',\n p: '$4 $2',\n position: 'relative',\n bg: active ? '$surface_bright' : '',\n color: disabled ? '$on_surface_low' : '$on_surface_high',\n gap: '$4',\n r: '$1',\n '&:hover': {\n bg: '$surface_bright',\n },\n }}\n onClick={() => {\n if (!disabled) {\n onClick();\n }\n }}\n >\n {children}\n </Flex>\n);\n\nconst ActionTileCount = styled(Text, {\n position: 'absolute',\n top: 0,\n right: 0,\n fontWeight: '$semiBold',\n color: '$on_surface_high',\n p: '$1 $2',\n minWidth: '$9',\n textAlign: 'center',\n boxSizing: 'border-box',\n bg: '$surface_bright',\n r: '$round',\n letterSpacing: '1.5px',\n fontSize: '$tiny !important',\n lineHeight: '$tiny !important',\n});\n\nconst ActionTileTitle = styled(Text, {\n fontWeight: '$semiBold',\n color: 'inherit',\n textAlign: 'center',\n fontSize: '$xs !important',\n});\n\nexport const ActionTile = {\n Root: ActionTileRoot,\n Title: ActionTileTitle,\n Count: ActionTileCount,\n};\n"],
5
- "mappings": ";;;;;;;;;;AAAA,OAAO,WAAW;AAKlB,IAAM,iBAAiB,CAAC,OAA2D;AAA3D,eAAE,UAAQ,WAAW,OAAO,UAAU,QAL9D,IAKwB,IAAkD,kBAAlD,IAAkD,CAAhD,UAAQ,YAAkB,YAAU;AAC5D;AAAA,IAAC;AAAA,qCACK,QADL;AAAA,MAEC,KAAK;AAAA,QACH,eAAe;AAAA,QACf,YAAY;AAAA,QACZ,GAAG;AAAA,QACH,UAAU;AAAA,QACV,IAAI,SAAS,oBAAoB;AAAA,QACjC,OAAO,WAAW,oBAAoB;AAAA,QACtC,KAAK;AAAA,QACL,GAAG;AAAA,QACH,WAAW;AAAA,UACT,IAAI;AAAA,QACN;AAAA,MACF;AAAA,MACA,SAAS,MAAM;AACb,YAAI,CAAC,UAAU;AACb,kBAAQ;AAAA,QACV;AAAA,MACF;AAAA;AAAA,IAEC;AAAA,EACH;AAAA;AAGF,IAAM,kBAAkB,OAAO,MAAM;AAAA,EACnC,UAAU;AAAA,EACV,KAAK;AAAA,EACL,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,GAAG;AAAA,EACH,UAAU;AAAA,EACV,WAAW;AAAA,EACX,WAAW;AAAA,EACX,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,eAAe;AAAA,EACf,UAAU;AAAA,EACV,YAAY;AACd,CAAC;AAED,IAAM,kBAAkB,OAAO,MAAM;AAAA,EACnC,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,WAAW;AAAA,EACX,UAAU;AACZ,CAAC;AAEM,IAAM,aAAa;AAAA,EACxB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AACT;",
6
- "names": []
7
- }