@streamlayer/react 0.18.5 → 0.18.7
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/lib/cjs/index.js +14 -14
- package/lib/es/index.js +4693 -4388
- package/lib/index.d.ts +149 -61
- package/lib/style.css +1 -1
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare module "packages/sdk-web-types/src/sl-types" {
|
|
|
4
4
|
import type { StreamSettings as SLStreamSettings, SdkOverlay, Advertising, OrganizationSettings as SLOrganizationSettings } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
|
|
5
5
|
import type { ClientSettings } from '@streamlayer/sl-eslib/sdkSettings/client/client_pb';
|
|
6
6
|
import type { UserAttributes } from '@streamlayer/sl-eslib/users/users_common_pb';
|
|
7
|
-
export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
7
|
+
export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, ExtendedQuestion, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
|
|
8
8
|
import type { PickHistory as IPickHistory } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
9
9
|
import type { InsightHistory as IInsightHistory } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
10
10
|
export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
|
|
@@ -33,7 +33,7 @@ declare module "packages/sdk-web-interfaces/src/store/abstract" {
|
|
|
33
33
|
import type { AnyStore } from 'nanostores';
|
|
34
34
|
global {
|
|
35
35
|
interface Window {
|
|
36
|
-
|
|
36
|
+
slStore: any;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
@@ -124,7 +124,7 @@ declare module "packages/sdk-web-interfaces/src/feature" {
|
|
|
124
124
|
Ready = "ready",
|
|
125
125
|
Suspended = "suspended"
|
|
126
126
|
}
|
|
127
|
-
export
|
|
127
|
+
export class AbstractFeature<K extends FeatureSettings['case'] | undefined, C extends FeatureSettings['value'] = FeatureSettings['value']> {
|
|
128
128
|
status: WritableAtom<FeatureStatus>;
|
|
129
129
|
source: FeatureSource;
|
|
130
130
|
protected config: MapStore<FeatureConfig>;
|
|
@@ -236,6 +236,27 @@ declare module "packages/sdk-web-notifications/src/queue/index" {
|
|
|
236
236
|
closeNotification: (notificationId: string) => void;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
+
declare module "packages/sdk-web-storage/src/index" {
|
|
240
|
+
export class Storage {
|
|
241
|
+
private delimiter;
|
|
242
|
+
private prefix;
|
|
243
|
+
constructor(prefix?: string);
|
|
244
|
+
clear: () => void;
|
|
245
|
+
protected generateKey: (keyParts: string[]) => string;
|
|
246
|
+
protected write: (keyParts_0: string, keyParts_1: string, ...keyParts_2: string[]) => void;
|
|
247
|
+
protected read: (...keyParts: string[]) => string | undefined;
|
|
248
|
+
protected remove: (...keyParts: string[]) => void;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
declare module "packages/sdk-web-notifications/src/storage" {
|
|
252
|
+
import { Storage } from "packages/sdk-web-storage/src/index";
|
|
253
|
+
export class NotificationStorage extends Storage {
|
|
254
|
+
constructor();
|
|
255
|
+
setOpened: (notificationId: string) => void;
|
|
256
|
+
isOpened: (notificationId: string) => string | undefined;
|
|
257
|
+
clearNotification: () => void;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
239
260
|
declare module "packages/sdk-web-notifications/src/notifications" {
|
|
240
261
|
import { QuestionImages, ImagePosition } from "packages/sdk-web-types/src/index";
|
|
241
262
|
import { NotificationsQueue, NotificationsQueueOptions } from "packages/sdk-web-notifications/src/queue/index";
|
|
@@ -272,6 +293,7 @@ declare module "packages/sdk-web-notifications/src/notifications" {
|
|
|
272
293
|
*/
|
|
273
294
|
export class Notifications {
|
|
274
295
|
queue: NotificationsQueue;
|
|
296
|
+
private storage;
|
|
275
297
|
constructor(options?: Partial<NotificationsQueueOptions>);
|
|
276
298
|
add: (notification: Notification) => void;
|
|
277
299
|
close: (notificationId: string) => void;
|
|
@@ -578,6 +600,18 @@ declare module "packages/sdk-web-api/src/index" {
|
|
|
578
600
|
host: string;
|
|
579
601
|
}, done: () => void) => void;
|
|
580
602
|
}
|
|
603
|
+
declare module "packages/sdk-web-core/src/storage" {
|
|
604
|
+
import { Storage } from "packages/sdk-web-storage/src/index";
|
|
605
|
+
export class UserStorage extends Storage {
|
|
606
|
+
constructor();
|
|
607
|
+
setSchema: (value: string) => void;
|
|
608
|
+
getSchema: () => string | undefined;
|
|
609
|
+
setToken: (value: string) => void;
|
|
610
|
+
getToken: () => string | undefined;
|
|
611
|
+
removeToken: () => void;
|
|
612
|
+
clearNotification: () => void;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
581
615
|
declare module "packages/sdk-web-core/src/store/store" {
|
|
582
616
|
import type { OrganizationAdvertising, StreamSettings, OrganizationSettings, User, UserSettings } from "packages/sdk-web-types/src/index";
|
|
583
617
|
import { AbstractStore, SingleStore, ApiStore } from "packages/sdk-web-interfaces/src/index";
|
|
@@ -1037,12 +1071,43 @@ declare module "packages/feature-gamification/src/queries/index" {
|
|
|
1037
1071
|
};
|
|
1038
1072
|
};
|
|
1039
1073
|
}, QuestionSubscriptionRequest, QuestionSubscriptionResponse, "subscription" | "votingSubscription" | "questionSubscription", ((request: import("@bufbuild/protobuf").PartialMessage<SubscriptionRequest>, messageCallback: (response: SubscriptionResponse) => void, closeCallback: (error: import("@connectrpc/connect").ConnectError | undefined) => void, options?: import("@connectrpc/connect").CallOptions | undefined) => () => void) | ((request: import("@bufbuild/protobuf").PartialMessage<VotingSubscriptionRequest>, messageCallback: (response: VotingSubscriptionResponse) => void, closeCallback: (error: import("@connectrpc/connect").ConnectError | undefined) => void, options?: import("@connectrpc/connect").CallOptions | undefined) => () => void) | ((request: import("@bufbuild/protobuf").PartialMessage<QuestionSubscriptionRequest>, messageCallback: (response: QuestionSubscriptionResponse) => void, closeCallback: (error: import("@connectrpc/connect").ConnectError | undefined) => void, options?: import("@connectrpc/connect").CallOptions | undefined) => () => void)>;
|
|
1040
|
-
export const getQuestionByUser: (questionId: string, transport: Transport) => Promise<import(
|
|
1041
|
-
export const $questionByUser: ($questionId: ReadableAtom<string | undefined>, transport: Transport) => import("@nanostores/query").FetcherStore<import(
|
|
1074
|
+
export const getQuestionByUser: (questionId: string, transport: Transport) => Promise<import('./packages/sdk-web-types/src/index.ts').ExtendedQuestion | undefined>;
|
|
1075
|
+
export const $questionByUser: ($questionId: ReadableAtom<string | undefined>, transport: Transport) => import("@nanostores/query").FetcherStore<import('./packages/sdk-web-types/src/index.ts').ExtendedQuestion | undefined, any>;
|
|
1042
1076
|
export const $pickHistory: (slStreamId: ReadableAtom<string | undefined>, transport: Transport) => import("@nanostores/query").FetcherStore<(import("@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb").PickHistory | undefined)[] | undefined, any>;
|
|
1043
1077
|
export const $insightHistory: (slStreamId: ReadableAtom<string | undefined>, transport: Transport) => import("@nanostores/query").FetcherStore<(import("@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb").InsightHistory | undefined)[] | undefined, any>;
|
|
1044
1078
|
export { $userSummary } from "packages/feature-gamification/src/queries/leaderboard";
|
|
1045
1079
|
}
|
|
1080
|
+
declare module "packages/feature-gamification/src/background" {
|
|
1081
|
+
import { ApiStore, type StreamLayerContext } from "packages/sdk-web-interfaces/src/index";
|
|
1082
|
+
import type { GetApiResponseType } from "packages/sdk-web-api/src/index";
|
|
1083
|
+
import { ReadableAtom, WritableAtom } from 'nanostores';
|
|
1084
|
+
import * as queries from "packages/feature-gamification/src/queries/index";
|
|
1085
|
+
export const gamificationBackground: (instance: StreamLayerContext) => GamificationBackground;
|
|
1086
|
+
export class GamificationBackground {
|
|
1087
|
+
slStreamId: ReadableAtom<string | undefined>;
|
|
1088
|
+
organizationId: ReadableAtom<string | undefined>;
|
|
1089
|
+
userId: ReadableAtom<string | undefined>;
|
|
1090
|
+
openedQuestionId: WritableAtom<string | undefined>;
|
|
1091
|
+
openedQuestion: ApiStore<GetApiResponseType<typeof queries.$questionByUser>>;
|
|
1092
|
+
activeQuestionId: ApiStore<GetApiResponseType<typeof queries.$activeQuestion>>;
|
|
1093
|
+
moderationId: ReadableAtom<string | undefined>;
|
|
1094
|
+
feedSubscription: ReturnType<typeof queries.feedSubscription>;
|
|
1095
|
+
questionSubscription?: ReturnType<typeof queries.questionSubscription>;
|
|
1096
|
+
private notifications;
|
|
1097
|
+
private log;
|
|
1098
|
+
constructor(instance: StreamLayerContext);
|
|
1099
|
+
getCurrentSessionId: (opts: {
|
|
1100
|
+
prefix?: string;
|
|
1101
|
+
userId?: string;
|
|
1102
|
+
eventId?: string;
|
|
1103
|
+
organizationId?: string;
|
|
1104
|
+
entity?: string;
|
|
1105
|
+
}) => string;
|
|
1106
|
+
disconnect: () => void;
|
|
1107
|
+
openQuestion: (questionId: string) => void;
|
|
1108
|
+
closeQuestion: (questionId?: string) => void;
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1046
1111
|
declare module "packages/feature-gamification/src/queries/actions" {
|
|
1047
1112
|
import type { Transport } from "packages/sdk-web-api/src/index";
|
|
1048
1113
|
export const submitAnswer: (transport: Transport, data: {
|
|
@@ -1052,48 +1117,63 @@ declare module "packages/feature-gamification/src/queries/actions" {
|
|
|
1052
1117
|
export const submitInplay: (transport: Transport, eventId: string) => Promise<import("@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb").SubmitInplayResponse>;
|
|
1053
1118
|
export const skipQuestion: (transport: Transport, questionId: string) => Promise<import("@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb").SkipQuestionResponse>;
|
|
1054
1119
|
}
|
|
1055
|
-
declare module "packages/feature-gamification/src/
|
|
1056
|
-
import { AbstractFeature, ApiStore, FeatureSource, type FeatureProps, type StreamLayerContext } from "packages/sdk-web-interfaces/src/index";
|
|
1057
|
-
import { type GamesOverlaySettings } from "packages/sdk-web-types/src/index";
|
|
1120
|
+
declare module "packages/feature-gamification/src/gamification" {
|
|
1121
|
+
import { AbstractFeature, ApiStore, FeatureSource, type FeatureProps, type StreamLayerContext, createComputedStore } from "packages/sdk-web-interfaces/src/index";
|
|
1122
|
+
import { type GamesOverlaySettings, ExtendedQuestion } from "packages/sdk-web-types/src/index";
|
|
1058
1123
|
import type { GetApiResponseType } from "packages/sdk-web-api/src/index";
|
|
1059
1124
|
import type { PlainMessage } from '@bufbuild/protobuf';
|
|
1060
|
-
import {
|
|
1125
|
+
import { WritableAtom } from 'nanostores';
|
|
1061
1126
|
import * as queries from "packages/feature-gamification/src/queries/index";
|
|
1062
1127
|
export class Gamification extends AbstractFeature<'games', PlainMessage<GamesOverlaySettings>> {
|
|
1063
1128
|
userSummary?: ApiStore<GetApiResponseType<typeof queries.$userSummary>>;
|
|
1064
1129
|
questions?: ApiStore<GetApiResponseType<typeof queries.$pickHistory>>;
|
|
1065
|
-
insights?: ApiStore<GetApiResponseType<typeof queries.$insightHistory>>;
|
|
1066
1130
|
leaderboardId: WritableAtom<string | undefined>;
|
|
1067
|
-
slStreamId: ReadableAtom<string | undefined>;
|
|
1068
|
-
userId: ReadableAtom<string | undefined>;
|
|
1069
|
-
organizationId: ReadableAtom<string | undefined>;
|
|
1070
|
-
openedQuestionId: WritableAtom<string | undefined>;
|
|
1071
|
-
openedQuestion?: ApiStore<GetApiResponseType<typeof queries.$questionByUser>>;
|
|
1072
|
-
activeQuestionId?: ApiStore<GetApiResponseType<typeof queries.$activeQuestion>>;
|
|
1073
|
-
moderationId: ReadableAtom<string | undefined>;
|
|
1074
|
-
feedId: ReadableAtom<string | undefined>;
|
|
1075
1131
|
onbordingComplete: WritableAtom<boolean | undefined>;
|
|
1132
|
+
openedQuestion: ReturnType<typeof createComputedStore<ExtendedQuestion | undefined>>;
|
|
1076
1133
|
private notifications;
|
|
1077
1134
|
private transport;
|
|
1078
|
-
private questionSubscription?;
|
|
1079
|
-
private feedSubscription?;
|
|
1080
1135
|
private closeFeature;
|
|
1081
1136
|
private openFeature;
|
|
1137
|
+
private background;
|
|
1082
1138
|
constructor(config: FeatureProps, source: FeatureSource, instance: StreamLayerContext);
|
|
1083
1139
|
showOnbordingInApp: (onbordingComplete: boolean) => void;
|
|
1084
|
-
getCurrentSessionIdPrefix: (opts: {
|
|
1085
|
-
prefix?: string;
|
|
1086
|
-
userId?: string;
|
|
1087
|
-
eventId?: string;
|
|
1088
|
-
organizationId?: string;
|
|
1089
|
-
}) => string;
|
|
1090
1140
|
connect: (transport: StreamLayerContext['transport']) => void;
|
|
1091
1141
|
disconnect: () => void;
|
|
1092
1142
|
submitInplay: () => Promise<void>;
|
|
1093
1143
|
submitAnswer: (questionId: string, answerId: string) => Promise<void>;
|
|
1094
1144
|
skipQuestion: (questionId: string) => Promise<void>;
|
|
1095
1145
|
openQuestion: (questionId: string) => void;
|
|
1096
|
-
closeQuestion: () => void;
|
|
1146
|
+
closeQuestion: (questionId?: string) => void;
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
declare module "packages/feature-gamification/src/highlights" {
|
|
1150
|
+
import { AbstractFeature, ApiStore, FeatureSource, type FeatureProps, type StreamLayerContext, createComputedStore } from "packages/sdk-web-interfaces/src/index";
|
|
1151
|
+
import { ExtendedQuestion } from "packages/sdk-web-types/src/index";
|
|
1152
|
+
import type { GetApiResponseType } from "packages/sdk-web-api/src/index";
|
|
1153
|
+
import * as queries from "packages/feature-gamification/src/queries/index";
|
|
1154
|
+
export class Highlights extends AbstractFeature<undefined> {
|
|
1155
|
+
insights?: ApiStore<GetApiResponseType<typeof queries.$insightHistory>>;
|
|
1156
|
+
closeFeature: () => void;
|
|
1157
|
+
openFeature: () => void;
|
|
1158
|
+
openedInsight: ReturnType<typeof createComputedStore<ExtendedQuestion | undefined>>;
|
|
1159
|
+
private notifications;
|
|
1160
|
+
private transport;
|
|
1161
|
+
private background;
|
|
1162
|
+
constructor(config: FeatureProps, source: FeatureSource, instance: StreamLayerContext);
|
|
1163
|
+
connect: () => void;
|
|
1164
|
+
disconnect: () => void;
|
|
1165
|
+
openHighlight: (questionId: string) => void;
|
|
1166
|
+
closeHighlight: (questionId?: string) => void;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
declare module "packages/feature-gamification/src/index" {
|
|
1170
|
+
export { GamificationBackground, gamificationBackground } from "packages/feature-gamification/src/background";
|
|
1171
|
+
export { Gamification } from "packages/feature-gamification/src/gamification";
|
|
1172
|
+
export { Highlights } from "packages/feature-gamification/src/highlights";
|
|
1173
|
+
module "packages/sdk-web-interfaces/src/index" {
|
|
1174
|
+
interface StreamLayerContext {
|
|
1175
|
+
gamification: import("packages/feature-gamification/src/background").GamificationBackground;
|
|
1176
|
+
}
|
|
1097
1177
|
}
|
|
1098
1178
|
}
|
|
1099
1179
|
declare module "packages/react-ui/src/lib/gamification/onboarding/styles" {
|
|
@@ -1325,17 +1405,16 @@ declare module "packages/react-ui/src/lib/gamification/vote/index" {
|
|
|
1325
1405
|
declare module "packages/sdk-web-features/src/index" {
|
|
1326
1406
|
import { FeatureType } from "packages/sdk-web-types/src/index";
|
|
1327
1407
|
import { AbstractFeature, FeatureSource, FeatureProps, StreamLayerContext, SingleStore } from "packages/sdk-web-interfaces/src/index";
|
|
1328
|
-
import { Gamification } from "packages/feature-gamification/src/index";
|
|
1408
|
+
import { Highlights, Gamification } from "packages/feature-gamification/src/index";
|
|
1329
1409
|
export type Features = Feature | Gamification | Highlights;
|
|
1330
1410
|
export const AvailableFeatures: {
|
|
1331
1411
|
12: boolean;
|
|
1332
1412
|
14: boolean;
|
|
1333
1413
|
};
|
|
1334
|
-
export class Highlights extends Gamification {
|
|
1335
|
-
}
|
|
1336
1414
|
export class Feature extends AbstractFeature<undefined> {
|
|
1415
|
+
constructor(overlay: FeatureProps, source: FeatureSource);
|
|
1337
1416
|
}
|
|
1338
|
-
export const initFeature: (overlay: FeatureProps, source: FeatureSource, instance: StreamLayerContext) => Gamification | Feature;
|
|
1417
|
+
export const initFeature: (overlay: FeatureProps, source: FeatureSource, instance: StreamLayerContext) => Gamification | Highlights | Feature;
|
|
1339
1418
|
export { FeatureSource } from "packages/sdk-web-interfaces/src/index";
|
|
1340
1419
|
module "packages/sdk-web-interfaces/src/index" {
|
|
1341
1420
|
interface StreamLayerContext {
|
|
@@ -1484,26 +1563,13 @@ declare module "packages/react-ui/src/lib/gamification/vote/components/voting-he
|
|
|
1484
1563
|
export const VotingHeader: React.FC<VotingHeaderProps>;
|
|
1485
1564
|
}
|
|
1486
1565
|
declare module "packages/react-ui/src/lib/demo/components/Question" {
|
|
1487
|
-
import
|
|
1566
|
+
import { GamificationBackground } from "packages/feature-gamification/src/index";
|
|
1488
1567
|
export const Question: React.FC<{
|
|
1489
|
-
|
|
1568
|
+
openedQuestion: Awaited<ReturnType<GamificationBackground['openedQuestion']['getValue']>>;
|
|
1490
1569
|
closeQuestion: () => void;
|
|
1491
1570
|
vote: (questionId: string, answerId: string) => void;
|
|
1492
1571
|
}>;
|
|
1493
1572
|
}
|
|
1494
|
-
declare module "packages/react-ui/src/lib/gamification/common-header/styles" {
|
|
1495
|
-
export const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1496
|
-
export const Button: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
1497
|
-
export const HeaderIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
1498
|
-
}
|
|
1499
|
-
declare module "packages/react-ui/src/lib/gamification/common-header/index" {
|
|
1500
|
-
type CommonHeaderProps = {
|
|
1501
|
-
icon?: string;
|
|
1502
|
-
comeBack?: () => void;
|
|
1503
|
-
close?: () => void;
|
|
1504
|
-
};
|
|
1505
|
-
export const CommonHeader: React.FC<CommonHeaderProps>;
|
|
1506
|
-
}
|
|
1507
1573
|
declare module "packages/react-ui/src/lib/gamification/insight/styles" {
|
|
1508
1574
|
export const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1509
1575
|
export const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -1521,7 +1587,7 @@ declare module "packages/react-ui/src/lib/gamification/insight/index" {
|
|
|
1521
1587
|
imageMode: QuestionImages;
|
|
1522
1588
|
questionId: string;
|
|
1523
1589
|
title: string;
|
|
1524
|
-
|
|
1590
|
+
openInsight: (insightId: string) => void;
|
|
1525
1591
|
};
|
|
1526
1592
|
export const Insight: React.FC<InsightProps>;
|
|
1527
1593
|
}
|
|
@@ -1532,25 +1598,36 @@ declare module "packages/react-ui/src/lib/gamification/insight-list/styles" {
|
|
|
1532
1598
|
declare module "packages/react-ui/src/lib/gamification/insight-list/index" {
|
|
1533
1599
|
import { QuestionImages } from "packages/sdk-web-types/src/index";
|
|
1534
1600
|
interface InsightListProps {
|
|
1535
|
-
insights?: {
|
|
1601
|
+
insights?: Array<{
|
|
1536
1602
|
image?: string;
|
|
1537
1603
|
imageMode: QuestionImages;
|
|
1538
1604
|
questionId: string;
|
|
1539
1605
|
title: string;
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
closeInsights: () => void;
|
|
1606
|
+
}>;
|
|
1607
|
+
openInsight: (insightId: string) => void;
|
|
1543
1608
|
}
|
|
1544
1609
|
export const InsightList: React.FC<InsightListProps>;
|
|
1545
1610
|
}
|
|
1546
1611
|
declare module "packages/react-ui/src/lib/demo/components/Insights" {
|
|
1547
|
-
import type {
|
|
1612
|
+
import type { Highlights } from "packages/feature-gamification/src/index";
|
|
1548
1613
|
export const Insights: React.FC<{
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
closeInsights: () => void;
|
|
1614
|
+
highlights: Highlights;
|
|
1615
|
+
store: ReturnType<Exclude<Highlights['insights'], undefined>['getStore']>;
|
|
1552
1616
|
}>;
|
|
1553
1617
|
}
|
|
1618
|
+
declare module "packages/react-ui/src/lib/gamification/common-header/styles" {
|
|
1619
|
+
export const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1620
|
+
export const Button: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
1621
|
+
export const HeaderIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
1622
|
+
}
|
|
1623
|
+
declare module "packages/react-ui/src/lib/gamification/common-header/index" {
|
|
1624
|
+
type CommonHeaderProps = {
|
|
1625
|
+
icon?: string;
|
|
1626
|
+
comeBack?: () => void;
|
|
1627
|
+
close?: () => void;
|
|
1628
|
+
};
|
|
1629
|
+
export const CommonHeader: React.FC<CommonHeaderProps>;
|
|
1630
|
+
}
|
|
1554
1631
|
declare module "packages/react-ui/src/lib/gamification/detailed-insight/styles" {
|
|
1555
1632
|
export const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1556
1633
|
export const Image: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
@@ -1567,17 +1644,17 @@ declare module "packages/react-ui/src/lib/gamification/detailed-insight/index" {
|
|
|
1567
1644
|
description?: string;
|
|
1568
1645
|
webLinkLabel?: string;
|
|
1569
1646
|
webLink?: string;
|
|
1570
|
-
|
|
1571
|
-
|
|
1647
|
+
closeHighlights: () => void;
|
|
1648
|
+
closeInsight: () => void;
|
|
1572
1649
|
};
|
|
1573
1650
|
export const DetailedInsight: React.FC<DetailedInsightProps>;
|
|
1574
1651
|
}
|
|
1575
1652
|
declare module "packages/react-ui/src/lib/demo/components/Insight" {
|
|
1576
|
-
import
|
|
1653
|
+
import { Highlights } from "packages/feature-gamification/src/index";
|
|
1577
1654
|
export const Insight: React.FC<{
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1655
|
+
openedInsight: Exclude<Highlights['openedInsight']['value'], undefined>;
|
|
1656
|
+
closeHighlights: () => void;
|
|
1657
|
+
closeInsight: () => void;
|
|
1581
1658
|
}>;
|
|
1582
1659
|
}
|
|
1583
1660
|
declare module "packages/react-ui/src/lib/demo/components/index" {
|
|
@@ -1592,6 +1669,7 @@ declare module "packages/react-ui/src/lib/demo/styles" {
|
|
|
1592
1669
|
export const DemoContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1593
1670
|
export const UserStatisticsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1594
1671
|
export const QuestionsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1672
|
+
export const Buttons: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1595
1673
|
export const Button: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
1596
1674
|
}
|
|
1597
1675
|
declare module "packages/react-ui/src/lib/demo/Gamification" {
|
|
@@ -1602,6 +1680,14 @@ declare module "packages/react-ui/src/lib/demo/Gamification" {
|
|
|
1602
1680
|
sdk: StreamLayerSDK;
|
|
1603
1681
|
}>;
|
|
1604
1682
|
}
|
|
1683
|
+
declare module "packages/react-ui/src/lib/demo/Highlights" {
|
|
1684
|
+
import { type StreamLayerSDK } from "packages/sdk-web-interfaces/src/index";
|
|
1685
|
+
import type { Highlights } from "packages/feature-gamification/src/index";
|
|
1686
|
+
export const HighlightsComponent: React.FC<{
|
|
1687
|
+
highlights: Highlights;
|
|
1688
|
+
sdk: StreamLayerSDK;
|
|
1689
|
+
}>;
|
|
1690
|
+
}
|
|
1605
1691
|
/// <amd-module name="@streamlayer/sdk-web-anonymous-auth" />
|
|
1606
1692
|
declare module "@streamlayer/sdk-web-anonymous-auth" {
|
|
1607
1693
|
import { type StreamLayerContext } from "packages/sdk-web-interfaces/src/index";
|
|
@@ -1647,6 +1733,8 @@ declare module "packages/react-ui/src/index" {
|
|
|
1647
1733
|
}
|
|
1648
1734
|
declare module "packages/sdk-web-core/src/index" {
|
|
1649
1735
|
import { StreamLayerContext } from "packages/sdk-web-interfaces/src/index";
|
|
1736
|
+
export { bypass } from "packages/sdk-web-core/src/auth/index";
|
|
1737
|
+
export { store } from "packages/sdk-web-core/src/store/index";
|
|
1650
1738
|
module "packages/sdk-web-interfaces/src/index" {
|
|
1651
1739
|
interface StreamLayerSDK {
|
|
1652
1740
|
initializeApp: () => Promise<{
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.c13cgims{border:1px solid var(--color-blue-primary);background-color:var(--color-bg-transparent);cursor:pointer;overflow:hidden}.irnp5ce{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:14px;background-color:var(--color-blue-primary)}.i19tgr4e{max-width:40px;max-height:40px;width:100%;height:100%;border-radius:50%}.cczx66p{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.t9bb349{padding-left:20px;padding-right:5px;font-weight:700;font-size:14px;-webkit-flex:1;-ms-flex:1;flex:1}.t1hgdyin{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-word;text-overflow:ellipsis}.cdhbq9i{padding:20px}.c1dwe42p{border:none;outline:none;background-color:transparent;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.covang7{width:24px;height:24px}.r1l1rnv7{color:var(--color-red-2);font-size:12px}.pkueuwk{border-radius:8px;padding:0 12px;background-color:var(--color-transparent-item);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.fp66u19{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.fwojs5e{margin-bottom:20px;font-size:18px}.fwvt1dc{margin-bottom:10px;font-size:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.f16e2wbc{background-color:var(--color-blue-question-action-btn);border:none;border-radius:2px;padding:6px;text-transform:uppercase;color:#fff;cursor:pointer;margin-bottom:20px}.f16e2wbc:disabled{opacity:.5;cursor:default}.f1xkchzs{margin-bottom:40px;border-bottom:1px solid white}.f1xkchzs input{font-size:20px;background:transparent;color:#fff;border:none;outline:none}.d132q1j>div{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:10px;margin-bottom:20px}.d132q1j input{width:20px;height:40px;font-size:40px}.c18fa2p6{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:var(--color-white);-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;width:100%}.cthywkn{-webkit-flex:1;-ms-flex:1;flex:1;width:100%;margin-bottom:20px}.obeaxxh{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:36px;padding:6px 16px 10px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #22262b}.l1jam9nb{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.r17ziiq1{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.gxb34q2{width:24px;height:24px}.s10k8h8y{height:24px}.ca5j1zk{border:none;outline:none;background-color:transparent;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.i6wd7es{width:24px;height:24px}.onaxor0{color:var(--color-white);width:100%;border:none;outline:none;background-color:var(--color-green-primary-btn);cursor:pointer;padding:12px 16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;font-weight:600;border-radius:6px}.c1tc3ie1{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cenyr9j{width:80%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.g17082th{margin-bottom:24px;width:100%}.hr58r57{word-break:break-word;font-weight:600;font-size:17px;padding:0 20px;text-align:center}.c1k109z3{width:100%;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff;padding:0 8px}.tl3o9j9{font-size:20px;font-weight:700}.rp7yn67{max-height:190px;overflow:auto}.r18km3gu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;max-width:100%;margin-top:24px}.rtu7hsj{background-color:var(--color-green-primary-btn);margin-right:16px;width:36px;height:36px;border-radius:50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.rfkkuag{word-break:break-word;overflow:hidden;padding-right:30px;-webkit-flex:1;-ms-flex:1;flex:1;max-height:39px}.ckff0a9{width:100%;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.czw1kx1{color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.i2e7ir3{width:48px;height:48px;border-radius:50%;margin-bottom:24px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:var(--color-green-primary-btn)}.i2tfvcu{width:24px;height:24px}.hnq23ee{font-size:20px;font-weight:600;text-align:center;margin-bottom:8px}.s2drh5v{font-size:14px;font-weight:400;text-align:center}.iiwwayv{border:none;outline:none;background-color:transparent;border:2px solid var(--color-green-primary-btn);padding:12px 16px;color:#fff;font-size:16px;font-weight:600;cursor:pointer;border-radius:6px;margin-top:24px}.p1fl4kim{border-radius:8px;padding:12px;background-color:var(--color-transparent-item);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.p1fl4kim:hover{background:#000}.qqhwgfn{padding-right:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.q1lyf5nv{width:16px;height:16px}.qlmoky7{font-weight:700;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.qp1y7hu{color:var(--color-grey-primary);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-bottom:5px;text-transform:uppercase}.q1de583k{color:var(--color-white);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ql7tvph{background-color:var(--color-blue-question-action-btn);border:none;border-radius:2px;font-size:8px;padding:6px;height:20px;text-transform:uppercase;color:#fff;cursor:pointer}.qh0ibjl{border:none;font-size:8px;padding:6px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;cursor:pointer}.q1bdpn1b{width:16px;height:16px}.q6tdooc{text-transform:uppercase}.e1f2al71{text-transform:uppercase;border-left:1px solid var(--color-grey-primary);padding-left:5px;margin-left:5px}.c4iwna9{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border-radius:13px;height:100%}.th1ieuk{color:var(--color-grey-primary);text-transform:uppercase;font-size:12px;font-weight:500;margin-bottom:8px}.iiqbvdu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;max-height:100%}.iiqbvdu>div{margin-bottom:8px}.c13i6lze{font-weight:700;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:4px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.ix2bv9{font-size:18px;color:#fff}.c5ghaaw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-column-gap:2px;column-gap:2px;overflow:hidden}.txfzjhj{width:75px}.i1v0wmto{font-size:14px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:25px}.canai20{background-color:var(--color-transparent-user-container);border-radius:12px;color:var(--color-grey-primary);font-size:10px;font-weight:600}.tda0d57{padding:12px;border-bottom:1px solid var(--color-divider-color-primary);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-column-gap:5px;column-gap:5px}.boqy4xv{padding:12px 16px;text-transform:uppercase;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-column-gap:16px;column-gap:16px}.u1dtpq3t{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-column-gap:8px;column-gap:8px;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden}.ar4jfc{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.u1trcvj0{padding-top:4px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:4px;overflow:hidden}.u1pie8mc{font-size:18px;color:var(--color-white);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ucsljfb{text-transform:uppercase;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tyemu1i{width:12px;height:12px;margin-right:4px}.rggn4k7{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-column-gap:4px;column-gap:4px;border-right:1px solid var(--color-divider-color-secondary);padding-right:5px}.rnmjsbm{font-size:14px;color:var(--color-white)}.t1i7e651{padding-left:5px}.r1mt107z{text-transform:uppercase;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:4px}.apag0gc{background:#2d6ffd;border-radius:50%;width:48px;height:48px;text-align:center;text-transform:uppercase;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:18px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.uroanb5{border:none;outline:none;background-color:transparent;cursor:pointer;padding:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;width:100%;height:100%;max-width:48px;max-height:48px}.c4emhbe{box-sizing:border-box;border-radius:4px;background-color:var(--color-bg-transparent-item-vote);border:2px solid transparent;position:relative}.c4emhbe[data-questionAnswered=false]:hover{border-color:inherit}.a1a18ay2.c4emhbe{border:2px solid}.a1a18ay2.c4emhbe[data-answeredCorrect=true]{background-color:var(--color-transparent-item-success);border-color:var(--color-blue-primary)}.a1a18ay2.c4emhbe[data-answeredCorrect=true]:hover{border-color:var(--color-blue-primary)}.a1a18ay2.c4emhbe[data-answeredCorrect=false]{background-color:var(--color-transparent-item-error);border-color:var(--color-red-primary)}.a1a18ay2.c4emhbe[data-answeredCorrect=false]:hover{border-color:var(--color-red-primary)}.bvdmnzn{position:absolute;left:0;border-radius:2px;z-index:0;height:100%;background-color:inherit;-webkit-transition:all 1s ease-in;transition:all 1s ease-in}.bz55cek{position:relative;background-color:transparent;padding:0 16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:none;outline:none;width:100%;color:var(--color-white);font-weight:700;font-size:14px;height:100%;border-radius:2px;cursor:pointer}.bz55cek:disabled{cursor:default}.i1u5zlvm{width:32px;height:32px;border-radius:50%;margin-right:8px}.tfilm7j{overflow:hidden;word-break:break-all;padding:12px 0;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left}.iqdzfbw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.ciu4mnt{width:16px;height:16px;margin-left:8px}.pl06bzo{margin-left:12px}.c5bwq34{width:16px;height:16px}.cgz6mxc{padding:16px;color:var(--color-white);font-weight:700;font-size:14px}.cgz6mxc>div:not(:last-child){margin-bottom:16px}.ta6van7{font-size:16px}.o1msgqq4{overflow-y:auto;max-height:220px;position:relative}.o1msgqq4>div:not(:last-child){margin-bottom:12px}.lq1mbhd{position:absolute;left:0;background-color:var(--color-transparent-vote-container);width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.f9kw2xt{padding:14px 12px 14px 16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fn7neu6{width:24px;height:24px;margin-right:12px}.fpdq7m5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16;font-weight:700;margin-bottom:10px}.f1ljy63t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;text-overflow:ellipsis;font-size:14;font-weight:500}.c1nck5pb{background-color:var(--color-transparent-onboarding-inapp);max-height:120px}.b1kix5tm{background-repeat:no-repeat;background-size:contain;border-top-left-radius:8px;border-bottom-left-radius:8px;width:72px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.i1ey0b10{width:56px;margin-left:8px}.cizx07o{padding:16px 8px 16px 0;margin-right:8px;font-size:12px;font-weight:600;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.s1pv3lf6{width:16px;height:16px;margin-right:4px}.s18vymlp{font-style:italic;font-weight:600;font-size:8px;text-transform:uppercase}.c17v2g7n{margin-top:8px;margin-bottom:2px;font-size:14px}.c146qhfh{color:var(--color-grey-primary-onboarding-inapp)}.aeuxca5{border:none;outline:none;background-color:var(--color-green-primary-btn);padding:8px 16px;color:#fff;font-size:12px;font-weight:600;cursor:pointer;border-radius:24px}.c10v7vcj{position:absolute;right:8px;top:4px;border:none;outline:none;background-color:transparent;padding:5px;color:#fff;cursor:pointer;border-radius:50%}.i2g9z26{width:10px;height:10px}.n1bhrb8h{position:absolute;right:0;-webkit-transition:-webkit-transform .3s ease;-webkit-transition:transform .3s ease;transition:transform .3s ease;width:100%}.n1bhrb8h>div{border-radius:8px;width:100%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:var(--color-white);-webkit-animation:slidein-n1bhrb8h .3s ease-in;animation:slidein-n1bhrb8h .3s ease-in;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes slidein-n1bhrb8h{0%{right:-100%}to{right:0}}@keyframes slidein-n1bhrb8h{0%{right:-100%}to{right:0}}.ntlmi04{position:absolute;right:10px;top:10px;max-width:600px;width:100%}.ntlmi04>div{margin-bottom:10px}.c1ibttgl{box-sizing:border-box;background-color:transparent;color:var(--color-white);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0 16px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:40px}.l16el447{width:60px;height:80%}.rb3jndy{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.e162i9w9{border:none;outline:none;background-color:transparent;border-radius:50%;padding:0;width:24px;height:24px;margin-left:25px;cursor:pointer}.e1uh0tpp{width:24px;height:24px}.i13726cq{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 0;margin-left:10px}.r1weckaj{background-color:var(--r1weckaj-0);width:32px;height:32px;border-radius:50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.r1u8ekkw{width:20px;height:20px}.c1kt0nvm{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;align-items:flex-end;margin-right:10px;font-weight:700}.tavk3hk{color:#fffc;font-size:8px;line-height:12px;text-align:right}.p1vdx5su{text-align:right}.p68apx3{color:#ffffffe6;font-size:14px;line-height:16px;margin-right:2px}.p157xd4a{color:#fff;font-size:10px;font-weight:600;line-height:16px}.q15yq4tu{position:absolute;top:0;background:var(--color-transparent-item);width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.q15yq4tu>div{width:100%;background:#000;-webkit-animation:slidein-q15yq4tu .3s ease-in;animation:slidein-q15yq4tu .3s ease-in}@-webkit-keyframes slidein-q15yq4tu{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translate(-100%)}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translate(0)}}@keyframes slidein-q15yq4tu{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translate(-100%)}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translate(0)}}.c1n31p0r{box-sizing:border-box;min-height:35px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top-left-radius:8px;border-bottom-left-radius:8px;border-bottom:1px solid #22262b;margin-bottom:20px}.bh1dfyy{border:none;outline:none;background-color:transparent;cursor:pointer;padding:5px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%}.h1gjjnyi{width:24px;height:24px}.cqrci8d{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;min-height:55px;height:55px;background-color:var(--color-transparent-item);border-radius:8px;cursor:pointer}.c1hep1a5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:9px}.g1s87azu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top-left-radius:8px;border-bottom-left-radius:8px;min-width:60px;width:60px;height:100%;background-color:var(--color-blue-question-action-btn);position:relative}.i19cupvp{width:35px;height:35px}.i7kr6s3{width:35px;height:35px;border-radius:50%}.ikea8mb{position:absolute;left:0;bottom:0;width:60px}.tn29zk0{color:var(--color-white);font-size:12px;font-weight:400px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-all;text-overflow:ellipsis;max-height:100%;margin-right:35px}.ni1hvml{width:16px;height:16px}.c1ii4cav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border-radius:13px;height:100%}.irn7lif{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;max-height:100%}.irn7lif>div{margin-bottom:8px}.c2g1lnc{box-sizing:border-box;font-size:14px;color:var(--color-white);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 12px}.i1czhbqi{border-radius:50%;width:130px;height:130px;border:1px solid #7e7e7f;margin-bottom:8px}.axpm0mb{width:100%;margin-bottom:8px}.t1kppby5{font-weight:700;margin-bottom:8px}.d18tbzq5{font-weight:400}.a6y6po9{box-sizing:border-box;-webkit-text-decoration:none;text-decoration:none;color:var(--color-white);font-size:13px;font-weight:600;background-color:var(--color-blue-question-action-btn);padding:10px 5px;border-radius:6px;width:100%;display:inline-block;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.a6y6po9:active,.a6y6po9:hover,.a6y6po9:visited{-webkit-text-decoration:none;text-decoration:none;color:var(--color-white)}.lii8ybz{width:17px;height:16px;vertical-align:middle;margin-left:10px}.dp9wag8{position:relative;height:100%;overflow:hidden}.u15x0q1l{margin-bottom:15px}.q13pbrok{position:relative;height:calc(100% - 160px)}.baw537u{background:rgb(29,123,255);border:none;color:#fff;padding:5px 6px;border-radius:3px;cursor:pointer;margin-right:5px}.baw537u>img{max-width:10px;max-height:10px;margin-right:5px}.baw537u:disabled{opacity:.5;cursor:default}.t12mji3x{--color-bg-transparent:rgba(0,0,0,.8);--color-transparent-vote-container:rgba(10,14,19,.8);--color-transparent-item:rgba(0,0,0,.7);--color-transparent-item-success:rgba(0,139,251,.2);--color-transparent-item-error:rgba(205,37,37,.2);--color-bg-transparent-item-vote:rgba(255,255,255,.1);--color-transparent-user-container:rgba(255,255,255,.05);--color-transparent-onboarding-inapp:rgba(138,159,182,.2);--color-blue-primary:#1589EE;--color-red-primary:#CD2525;--color-red-secondary:#EB5757;--color-blue-question-action-btn:#1589ee;--color-white:#FFFFFF;--color-red-2:#FF4170;--color-grey-primary:#909395;--color-divider-color-primary:#2d3135;--color-divider-color-secondary:#53565a;--color-green-primary-btn:#009B77;--font-family:Roboto,sans-serif;--font-color:#fff}
|
|
1
|
+
.c13cgims{border:1px solid var(--color-blue-primary);background-color:var(--color-bg-transparent);cursor:pointer;overflow:hidden}.irnp5ce{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:14px;background-color:var(--color-blue-primary)}.i19tgr4e{max-width:40px;max-height:40px;width:100%;height:100%;border-radius:50%}.cczx66p{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.t9bb349{padding-left:20px;padding-right:5px;font-weight:700;font-size:14px;-webkit-flex:1;-ms-flex:1;flex:1}.t1hgdyin{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-word;text-overflow:ellipsis}.cdhbq9i{padding:20px}.c1dwe42p{border:none;outline:none;background-color:transparent;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.covang7{width:24px;height:24px}.r1l1rnv7{color:var(--color-red-2);font-size:12px}.pkueuwk{border-radius:8px;padding:0 12px;background-color:var(--color-transparent-item);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.fp66u19{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.fwojs5e{margin-bottom:20px;font-size:18px}.fwvt1dc{margin-bottom:10px;font-size:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.f16e2wbc{background-color:var(--color-blue-question-action-btn);border:none;border-radius:2px;padding:6px;text-transform:uppercase;color:#fff;cursor:pointer;margin-bottom:20px}.f16e2wbc:disabled{opacity:.5;cursor:default}.f1xkchzs{margin-bottom:40px;border-bottom:1px solid white}.f1xkchzs input{font-size:20px;background:transparent;color:#fff;border:none;outline:none}.d132q1j>div{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:10px;margin-bottom:20px}.d132q1j input{width:20px;height:40px;font-size:40px}.c18fa2p6{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:var(--color-white);-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;width:100%}.cthywkn{-webkit-flex:1;-ms-flex:1;flex:1;width:100%;margin-bottom:20px}.obeaxxh{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:36px;padding:6px 16px 10px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #22262b}.l1jam9nb{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.r17ziiq1{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.gxb34q2{width:24px;height:24px}.s10k8h8y{height:24px}.ca5j1zk{border:none;outline:none;background-color:transparent;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.i6wd7es{width:24px;height:24px}.onaxor0{color:var(--color-white);width:100%;border:none;outline:none;background-color:var(--color-green-primary-btn);cursor:pointer;padding:12px 16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;font-weight:600;border-radius:6px}.c1tc3ie1{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cenyr9j{width:80%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.g17082th{margin-bottom:24px;width:100%}.hr58r57{word-break:break-word;font-weight:600;font-size:17px;padding:0 20px;text-align:center}.c1k109z3{width:100%;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff;padding:0 8px}.tl3o9j9{font-size:20px;font-weight:700}.rp7yn67{max-height:190px;overflow:auto}.r18km3gu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;max-width:100%;margin-top:24px}.rtu7hsj{background-color:var(--color-green-primary-btn);margin-right:16px;width:36px;height:36px;border-radius:50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.rfkkuag{word-break:break-word;overflow:hidden;padding-right:30px;-webkit-flex:1;-ms-flex:1;flex:1;max-height:39px}.ckff0a9{width:100%;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.czw1kx1{color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.i2e7ir3{width:48px;height:48px;border-radius:50%;margin-bottom:24px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:var(--color-green-primary-btn)}.i2tfvcu{width:24px;height:24px}.hnq23ee{font-size:20px;font-weight:600;text-align:center;margin-bottom:8px}.s2drh5v{font-size:14px;font-weight:400;text-align:center}.iiwwayv{border:none;outline:none;background-color:transparent;border:2px solid var(--color-green-primary-btn);padding:12px 16px;color:#fff;font-size:16px;font-weight:600;cursor:pointer;border-radius:6px;margin-top:24px}.p1fl4kim{border-radius:8px;padding:12px;background-color:var(--color-transparent-item);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.p1fl4kim:hover{background:#000}.qqhwgfn{padding-right:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.q1lyf5nv{width:16px;height:16px}.qlmoky7{font-weight:700;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.qp1y7hu{color:var(--color-grey-primary);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-bottom:5px;text-transform:uppercase}.q1de583k{color:var(--color-white);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ql7tvph{background-color:var(--color-blue-question-action-btn);border:none;border-radius:2px;font-size:8px;padding:6px;height:20px;text-transform:uppercase;color:#fff;cursor:pointer}.qh0ibjl{border:none;font-size:8px;padding:6px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;cursor:pointer}.q1bdpn1b{width:16px;height:16px}.q6tdooc{text-transform:uppercase}.e1f2al71{text-transform:uppercase;border-left:1px solid var(--color-grey-primary);padding-left:5px;margin-left:5px}.c4iwna9{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border-radius:13px;height:100%}.th1ieuk{color:var(--color-grey-primary);text-transform:uppercase;font-size:12px;font-weight:500;margin-bottom:8px}.iiqbvdu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;max-height:100%}.iiqbvdu>div{margin-bottom:8px}.c13i6lze{font-weight:700;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:4px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.ix2bv9{font-size:18px;color:#fff}.c5ghaaw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-column-gap:2px;column-gap:2px;overflow:hidden}.txfzjhj{width:75px}.i1v0wmto{font-size:14px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:25px}.canai20{background-color:var(--color-transparent-user-container);border-radius:12px;color:var(--color-grey-primary);font-size:10px;font-weight:600}.tda0d57{padding:12px;border-bottom:1px solid var(--color-divider-color-primary);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-column-gap:5px;column-gap:5px}.boqy4xv{padding:12px 16px;text-transform:uppercase;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-column-gap:16px;column-gap:16px}.u1dtpq3t{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-column-gap:8px;column-gap:8px;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden}.ar4jfc{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.u1trcvj0{padding-top:4px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:4px;overflow:hidden}.u1pie8mc{font-size:18px;color:var(--color-white);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ucsljfb{text-transform:uppercase;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tyemu1i{width:12px;height:12px;margin-right:4px}.rggn4k7{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-column-gap:4px;column-gap:4px;border-right:1px solid var(--color-divider-color-secondary);padding-right:5px}.rnmjsbm{font-size:14px;color:var(--color-white)}.t1i7e651{padding-left:5px}.r1mt107z{text-transform:uppercase;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:4px}.apag0gc{background:#2d6ffd;border-radius:50%;width:48px;height:48px;text-align:center;text-transform:uppercase;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:18px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.uroanb5{border:none;outline:none;background-color:transparent;cursor:pointer;padding:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;width:100%;height:100%;max-width:48px;max-height:48px}.c4emhbe{box-sizing:border-box;border-radius:4px;background-color:var(--color-bg-transparent-item-vote);border:2px solid transparent;position:relative}.c4emhbe[data-questionAnswered=false]:hover{border-color:inherit}.a1a18ay2.c4emhbe{border:2px solid}.a1a18ay2.c4emhbe[data-answeredCorrect=true]{background-color:var(--color-transparent-item-success);border-color:var(--color-blue-primary)}.a1a18ay2.c4emhbe[data-answeredCorrect=true]:hover{border-color:var(--color-blue-primary)}.a1a18ay2.c4emhbe[data-answeredCorrect=false]{background-color:var(--color-transparent-item-error);border-color:var(--color-red-primary)}.a1a18ay2.c4emhbe[data-answeredCorrect=false]:hover{border-color:var(--color-red-primary)}.bvdmnzn{position:absolute;left:0;border-radius:2px;z-index:0;height:100%;background-color:inherit;-webkit-transition:all 1s ease-in;transition:all 1s ease-in}.bz55cek{position:relative;background-color:transparent;padding:0 16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:none;outline:none;width:100%;color:var(--color-white);font-weight:700;font-size:14px;height:100%;border-radius:2px;cursor:pointer}.bz55cek:disabled{cursor:default}.i1u5zlvm{width:32px;height:32px;border-radius:50%;margin-right:8px}.tfilm7j{overflow:hidden;word-break:break-all;padding:12px 0;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left}.iqdzfbw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.ciu4mnt{width:16px;height:16px;margin-left:8px}.pl06bzo{margin-left:12px}.c5bwq34{width:16px;height:16px}.cgz6mxc{padding:16px;color:var(--color-white);font-weight:700;font-size:14px}.cgz6mxc>div:not(:last-child){margin-bottom:16px}.ta6van7{font-size:16px}.o1msgqq4{overflow-y:auto;max-height:220px;position:relative}.o1msgqq4>div:not(:last-child){margin-bottom:12px}.lq1mbhd{position:absolute;left:0;background-color:var(--color-transparent-vote-container);width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.f9kw2xt{padding:14px 12px 14px 16px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.fn7neu6{width:24px;height:24px;margin-right:12px}.fpdq7m5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16;font-weight:700;margin-bottom:10px}.f1ljy63t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;text-overflow:ellipsis;font-size:14;font-weight:500}.c1nck5pb{background-color:var(--color-transparent-onboarding-inapp);max-height:120px}.b1kix5tm{background-repeat:no-repeat;background-size:contain;border-top-left-radius:8px;border-bottom-left-radius:8px;width:72px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.i1ey0b10{width:56px;margin-left:8px}.cizx07o{padding:16px 8px 16px 0;margin-right:8px;font-size:12px;font-weight:600;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.s1pv3lf6{width:16px;height:16px;margin-right:4px}.s18vymlp{font-style:italic;font-weight:600;font-size:8px;text-transform:uppercase}.c17v2g7n{margin-top:8px;margin-bottom:2px;font-size:14px}.c146qhfh{color:var(--color-grey-primary-onboarding-inapp)}.aeuxca5{border:none;outline:none;background-color:var(--color-green-primary-btn);padding:8px 16px;color:#fff;font-size:12px;font-weight:600;cursor:pointer;border-radius:24px}.c10v7vcj{position:absolute;right:8px;top:4px;border:none;outline:none;background-color:transparent;padding:5px;color:#fff;cursor:pointer;border-radius:50%}.i2g9z26{width:10px;height:10px}.n1bhrb8h{position:absolute;right:0;-webkit-transition:-webkit-transform .3s ease;-webkit-transition:transform .3s ease;transition:transform .3s ease;width:100%}.n1bhrb8h>div{border-radius:8px;width:100%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:var(--color-white);-webkit-animation:slidein-n1bhrb8h .3s ease-in;animation:slidein-n1bhrb8h .3s ease-in;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes slidein-n1bhrb8h{0%{right:-100%}to{right:0}}@keyframes slidein-n1bhrb8h{0%{right:-100%}to{right:0}}.ntlmi04{position:absolute;right:10px;top:10px;max-width:600px;width:100%}.ntlmi04>div{margin-bottom:10px}.c1ibttgl{box-sizing:border-box;background-color:transparent;color:var(--color-white);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0 16px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:40px}.l16el447{width:60px;height:80%}.rb3jndy{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.e162i9w9{border:none;outline:none;background-color:transparent;border-radius:50%;padding:0;width:24px;height:24px;margin-left:25px;cursor:pointer}.e1uh0tpp{width:24px;height:24px}.i13726cq{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 0;margin-left:10px}.r1weckaj{background-color:var(--r1weckaj-0);width:32px;height:32px;border-radius:50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.r1u8ekkw{width:20px;height:20px}.c1kt0nvm{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;align-items:flex-end;margin-right:10px;font-weight:700}.tavk3hk{color:#fffc;font-size:8px;line-height:12px;text-align:right}.p1vdx5su{text-align:right}.p68apx3{color:#ffffffe6;font-size:14px;line-height:16px;margin-right:2px}.p157xd4a{color:#fff;font-size:10px;font-weight:600;line-height:16px}.q15yq4tu{position:absolute;top:0;background:var(--color-transparent-item);width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.q15yq4tu>div{width:100%;background:#000;-webkit-animation:slidein-q15yq4tu .3s ease-in;animation:slidein-q15yq4tu .3s ease-in}@-webkit-keyframes slidein-q15yq4tu{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translate(-100%)}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translate(0)}}@keyframes slidein-q15yq4tu{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translate(-100%)}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translate(0)}}.cqrci8d{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;min-height:55px;height:55px;background-color:var(--color-transparent-item);border-radius:8px;cursor:pointer}.c1hep1a5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:9px}.g1s87azu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top-left-radius:8px;border-bottom-left-radius:8px;min-width:60px;width:60px;height:100%;background-color:var(--color-blue-question-action-btn);position:relative}.i19cupvp{width:35px;height:35px}.i7kr6s3{width:35px;height:35px;border-radius:50%}.ikea8mb{position:absolute;left:0;bottom:0;width:60px}.tn29zk0{color:var(--color-white);font-size:12px;font-weight:400px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-all;text-overflow:ellipsis;max-height:100%;margin-right:35px}.ni1hvml{width:16px;height:16px}.c1ii4cav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border-radius:13px;height:100%}.irn7lif{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;max-height:100%}.irn7lif>div{margin-bottom:8px}.c1n31p0r{box-sizing:border-box;min-height:35px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top-left-radius:8px;border-bottom-left-radius:8px;border-bottom:1px solid #22262b;margin-bottom:20px}.bh1dfyy{border:none;outline:none;background-color:transparent;cursor:pointer;padding:5px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%}.h1gjjnyi{width:24px;height:24px}.c2g1lnc{box-sizing:border-box;font-size:14px;color:var(--color-white);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:16px 12px}.i1czhbqi{border-radius:50%;width:130px;height:130px;border:1px solid #7e7e7f;margin-bottom:8px}.axpm0mb{width:100%;margin-bottom:8px}.t1kppby5{font-weight:700;margin-bottom:8px}.d18tbzq5{font-weight:400}.a6y6po9{box-sizing:border-box;-webkit-text-decoration:none;text-decoration:none;color:var(--color-white);font-size:13px;font-weight:600;background-color:var(--color-blue-question-action-btn);padding:10px 5px;border-radius:6px;width:100%;display:inline-block;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.a6y6po9:active,.a6y6po9:hover,.a6y6po9:visited{-webkit-text-decoration:none;text-decoration:none;color:var(--color-white)}.lii8ybz{width:17px;height:16px;vertical-align:middle;margin-left:10px}.dp9wag8{position:relative;height:100%;overflow:hidden}.u15x0q1l{margin-bottom:15px}.q13pbrok{position:relative;height:calc(100% - 160px)}.baw537u{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-bottom:10px}.bwry012{background:rgb(29,123,255);border:none;color:#fff;padding:5px 6px;border-radius:3px;cursor:pointer;margin-right:5px;-webkit-transition:all .3s ease-in;transition:all .3s ease-in}.bwry012>img{max-width:10px;max-height:10px;margin-right:5px}.bwry012:enabled:hover{box-shadow:inset 0 0 0 2em #0258d0}.bwry012[data-selected=true]{box-shadow:inset 0 0 0 2em #003c91}.bwry012[data-selected=true]:enabled:hover{box-shadow:inset 0 0 0 2em #003c91}.bwry012:disabled{opacity:.5;background-color:gray;cursor:default}.bwry012[data-enableSdkButton=false]{opacity:.7}.t12mji3x{--color-bg-transparent:rgba(0,0,0,.8);--color-transparent-vote-container:rgba(10,14,19,.8);--color-transparent-item:rgba(0,0,0,.7);--color-transparent-item-success:rgba(0,139,251,.2);--color-transparent-item-error:rgba(205,37,37,.2);--color-bg-transparent-item-vote:rgba(255,255,255,.1);--color-transparent-user-container:rgba(255,255,255,.05);--color-transparent-onboarding-inapp:rgba(138,159,182,.2);--color-blue-primary:#1589EE;--color-red-primary:#CD2525;--color-red-secondary:#EB5757;--color-blue-question-action-btn:#1589ee;--color-white:#FFFFFF;--color-red-2:#FF4170;--color-grey-primary:#909395;--color-divider-color-primary:#2d3135;--color-divider-color-secondary:#53565a;--color-green-primary-btn:#009B77;--font-family:Roboto,sans-serif;--font-color:#fff}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/react",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "StreamLayer, Inc (https://streamlayer.io)",
|
|
6
6
|
"maintainers": [
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
"size-limit": "*",
|
|
75
75
|
"url-loader": "^4.1.1",
|
|
76
76
|
"vite-plugin-dts": "^3.6.0",
|
|
77
|
-
"@streamlayer/react-ui": "^0.
|
|
78
|
-
"@streamlayer/sdk-web": "^0.
|
|
79
|
-
"@streamlayer/sdk-web
|
|
80
|
-
"@streamlayer/sdk-web-features": "^0.
|
|
77
|
+
"@streamlayer/react-ui": "^0.21.0",
|
|
78
|
+
"@streamlayer/sdk-web-core": "^0.8.0",
|
|
79
|
+
"@streamlayer/sdk-web": "^0.23.1",
|
|
80
|
+
"@streamlayer/sdk-web-features": "^0.6.1"
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"size-limit": "size-limit"
|