@streamlayer/react 0.18.4 → 0.18.6
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 +13 -13
- package/lib/es/index.js +4377 -4138
- package/lib/index.d.ts +115 -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>;
|
|
@@ -1037,12 +1037,43 @@ declare module "packages/feature-gamification/src/queries/index" {
|
|
|
1037
1037
|
};
|
|
1038
1038
|
};
|
|
1039
1039
|
}, 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(
|
|
1040
|
+
export const getQuestionByUser: (questionId: string, transport: Transport) => Promise<import('./packages/sdk-web-types/src/index.ts').ExtendedQuestion | undefined>;
|
|
1041
|
+
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
1042
|
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
1043
|
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
1044
|
export { $userSummary } from "packages/feature-gamification/src/queries/leaderboard";
|
|
1045
1045
|
}
|
|
1046
|
+
declare module "packages/feature-gamification/src/background" {
|
|
1047
|
+
import { ApiStore, type StreamLayerContext } from "packages/sdk-web-interfaces/src/index";
|
|
1048
|
+
import type { GetApiResponseType } from "packages/sdk-web-api/src/index";
|
|
1049
|
+
import { ReadableAtom, WritableAtom } from 'nanostores';
|
|
1050
|
+
import * as queries from "packages/feature-gamification/src/queries/index";
|
|
1051
|
+
export const gamificationBackground: (instance: StreamLayerContext) => GamificationBackground;
|
|
1052
|
+
export class GamificationBackground {
|
|
1053
|
+
slStreamId: ReadableAtom<string | undefined>;
|
|
1054
|
+
organizationId: ReadableAtom<string | undefined>;
|
|
1055
|
+
userId: ReadableAtom<string | undefined>;
|
|
1056
|
+
openedQuestionId: WritableAtom<string | undefined>;
|
|
1057
|
+
openedQuestion: ApiStore<GetApiResponseType<typeof queries.$questionByUser>>;
|
|
1058
|
+
activeQuestionId: ApiStore<GetApiResponseType<typeof queries.$activeQuestion>>;
|
|
1059
|
+
moderationId: ReadableAtom<string | undefined>;
|
|
1060
|
+
feedSubscription: ReturnType<typeof queries.feedSubscription>;
|
|
1061
|
+
questionSubscription?: ReturnType<typeof queries.questionSubscription>;
|
|
1062
|
+
private notifications;
|
|
1063
|
+
private log;
|
|
1064
|
+
constructor(instance: StreamLayerContext);
|
|
1065
|
+
getCurrentSessionId: (opts: {
|
|
1066
|
+
prefix?: string;
|
|
1067
|
+
userId?: string;
|
|
1068
|
+
eventId?: string;
|
|
1069
|
+
organizationId?: string;
|
|
1070
|
+
entity?: string;
|
|
1071
|
+
}) => string;
|
|
1072
|
+
disconnect: () => void;
|
|
1073
|
+
openQuestion: (questionId: string) => void;
|
|
1074
|
+
closeQuestion: (questionId?: string) => void;
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1046
1077
|
declare module "packages/feature-gamification/src/queries/actions" {
|
|
1047
1078
|
import type { Transport } from "packages/sdk-web-api/src/index";
|
|
1048
1079
|
export const submitAnswer: (transport: Transport, data: {
|
|
@@ -1052,48 +1083,63 @@ declare module "packages/feature-gamification/src/queries/actions" {
|
|
|
1052
1083
|
export const submitInplay: (transport: Transport, eventId: string) => Promise<import("@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb").SubmitInplayResponse>;
|
|
1053
1084
|
export const skipQuestion: (transport: Transport, questionId: string) => Promise<import("@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb").SkipQuestionResponse>;
|
|
1054
1085
|
}
|
|
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";
|
|
1086
|
+
declare module "packages/feature-gamification/src/gamification" {
|
|
1087
|
+
import { AbstractFeature, ApiStore, FeatureSource, type FeatureProps, type StreamLayerContext, createComputedStore } from "packages/sdk-web-interfaces/src/index";
|
|
1088
|
+
import { type GamesOverlaySettings, ExtendedQuestion } from "packages/sdk-web-types/src/index";
|
|
1058
1089
|
import type { GetApiResponseType } from "packages/sdk-web-api/src/index";
|
|
1059
1090
|
import type { PlainMessage } from '@bufbuild/protobuf';
|
|
1060
|
-
import {
|
|
1091
|
+
import { WritableAtom } from 'nanostores';
|
|
1061
1092
|
import * as queries from "packages/feature-gamification/src/queries/index";
|
|
1062
1093
|
export class Gamification extends AbstractFeature<'games', PlainMessage<GamesOverlaySettings>> {
|
|
1063
1094
|
userSummary?: ApiStore<GetApiResponseType<typeof queries.$userSummary>>;
|
|
1064
1095
|
questions?: ApiStore<GetApiResponseType<typeof queries.$pickHistory>>;
|
|
1065
|
-
insights?: ApiStore<GetApiResponseType<typeof queries.$insightHistory>>;
|
|
1066
1096
|
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
1097
|
onbordingComplete: WritableAtom<boolean | undefined>;
|
|
1098
|
+
openedQuestion: ReturnType<typeof createComputedStore<ExtendedQuestion | undefined>>;
|
|
1076
1099
|
private notifications;
|
|
1077
1100
|
private transport;
|
|
1078
|
-
private questionSubscription?;
|
|
1079
|
-
private feedSubscription?;
|
|
1080
1101
|
private closeFeature;
|
|
1081
1102
|
private openFeature;
|
|
1103
|
+
private background;
|
|
1082
1104
|
constructor(config: FeatureProps, source: FeatureSource, instance: StreamLayerContext);
|
|
1083
1105
|
showOnbordingInApp: (onbordingComplete: boolean) => void;
|
|
1084
|
-
getCurrentSessionIdPrefix: (opts: {
|
|
1085
|
-
prefix?: string;
|
|
1086
|
-
userId?: string;
|
|
1087
|
-
eventId?: string;
|
|
1088
|
-
organizationId?: string;
|
|
1089
|
-
}) => string;
|
|
1090
1106
|
connect: (transport: StreamLayerContext['transport']) => void;
|
|
1091
1107
|
disconnect: () => void;
|
|
1092
1108
|
submitInplay: () => Promise<void>;
|
|
1093
1109
|
submitAnswer: (questionId: string, answerId: string) => Promise<void>;
|
|
1094
1110
|
skipQuestion: (questionId: string) => Promise<void>;
|
|
1095
1111
|
openQuestion: (questionId: string) => void;
|
|
1096
|
-
closeQuestion: () => void;
|
|
1112
|
+
closeQuestion: (questionId?: string) => void;
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
declare module "packages/feature-gamification/src/highlights" {
|
|
1116
|
+
import { AbstractFeature, ApiStore, FeatureSource, type FeatureProps, type StreamLayerContext, createComputedStore } from "packages/sdk-web-interfaces/src/index";
|
|
1117
|
+
import { ExtendedQuestion } from "packages/sdk-web-types/src/index";
|
|
1118
|
+
import type { GetApiResponseType } from "packages/sdk-web-api/src/index";
|
|
1119
|
+
import * as queries from "packages/feature-gamification/src/queries/index";
|
|
1120
|
+
export class Highlights extends AbstractFeature<undefined> {
|
|
1121
|
+
insights?: ApiStore<GetApiResponseType<typeof queries.$insightHistory>>;
|
|
1122
|
+
closeFeature: () => void;
|
|
1123
|
+
openFeature: () => void;
|
|
1124
|
+
openedInsight: ReturnType<typeof createComputedStore<ExtendedQuestion | undefined>>;
|
|
1125
|
+
private notifications;
|
|
1126
|
+
private transport;
|
|
1127
|
+
private background;
|
|
1128
|
+
constructor(config: FeatureProps, source: FeatureSource, instance: StreamLayerContext);
|
|
1129
|
+
connect: () => void;
|
|
1130
|
+
disconnect: () => void;
|
|
1131
|
+
openHighlight: (questionId: string) => void;
|
|
1132
|
+
closeHighlight: (questionId?: string) => void;
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
declare module "packages/feature-gamification/src/index" {
|
|
1136
|
+
export { GamificationBackground, gamificationBackground } from "packages/feature-gamification/src/background";
|
|
1137
|
+
export { Gamification } from "packages/feature-gamification/src/gamification";
|
|
1138
|
+
export { Highlights } from "packages/feature-gamification/src/highlights";
|
|
1139
|
+
module "packages/sdk-web-interfaces/src/index" {
|
|
1140
|
+
interface StreamLayerContext {
|
|
1141
|
+
gamification: import("packages/feature-gamification/src/background").GamificationBackground;
|
|
1142
|
+
}
|
|
1097
1143
|
}
|
|
1098
1144
|
}
|
|
1099
1145
|
declare module "packages/react-ui/src/lib/gamification/onboarding/styles" {
|
|
@@ -1325,17 +1371,16 @@ declare module "packages/react-ui/src/lib/gamification/vote/index" {
|
|
|
1325
1371
|
declare module "packages/sdk-web-features/src/index" {
|
|
1326
1372
|
import { FeatureType } from "packages/sdk-web-types/src/index";
|
|
1327
1373
|
import { AbstractFeature, FeatureSource, FeatureProps, StreamLayerContext, SingleStore } from "packages/sdk-web-interfaces/src/index";
|
|
1328
|
-
import { Gamification } from "packages/feature-gamification/src/index";
|
|
1374
|
+
import { Highlights, Gamification } from "packages/feature-gamification/src/index";
|
|
1329
1375
|
export type Features = Feature | Gamification | Highlights;
|
|
1330
1376
|
export const AvailableFeatures: {
|
|
1331
1377
|
12: boolean;
|
|
1332
1378
|
14: boolean;
|
|
1333
1379
|
};
|
|
1334
|
-
export class Highlights extends Gamification {
|
|
1335
|
-
}
|
|
1336
1380
|
export class Feature extends AbstractFeature<undefined> {
|
|
1381
|
+
constructor(overlay: FeatureProps, source: FeatureSource);
|
|
1337
1382
|
}
|
|
1338
|
-
export const initFeature: (overlay: FeatureProps, source: FeatureSource, instance: StreamLayerContext) => Gamification | Feature;
|
|
1383
|
+
export const initFeature: (overlay: FeatureProps, source: FeatureSource, instance: StreamLayerContext) => Gamification | Highlights | Feature;
|
|
1339
1384
|
export { FeatureSource } from "packages/sdk-web-interfaces/src/index";
|
|
1340
1385
|
module "packages/sdk-web-interfaces/src/index" {
|
|
1341
1386
|
interface StreamLayerContext {
|
|
@@ -1484,26 +1529,13 @@ declare module "packages/react-ui/src/lib/gamification/vote/components/voting-he
|
|
|
1484
1529
|
export const VotingHeader: React.FC<VotingHeaderProps>;
|
|
1485
1530
|
}
|
|
1486
1531
|
declare module "packages/react-ui/src/lib/demo/components/Question" {
|
|
1487
|
-
import
|
|
1532
|
+
import { GamificationBackground } from "packages/feature-gamification/src/index";
|
|
1488
1533
|
export const Question: React.FC<{
|
|
1489
|
-
|
|
1534
|
+
openedQuestion: Awaited<ReturnType<GamificationBackground['openedQuestion']['getValue']>>;
|
|
1490
1535
|
closeQuestion: () => void;
|
|
1491
1536
|
vote: (questionId: string, answerId: string) => void;
|
|
1492
1537
|
}>;
|
|
1493
1538
|
}
|
|
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
1539
|
declare module "packages/react-ui/src/lib/gamification/insight/styles" {
|
|
1508
1540
|
export const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1509
1541
|
export const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -1521,7 +1553,7 @@ declare module "packages/react-ui/src/lib/gamification/insight/index" {
|
|
|
1521
1553
|
imageMode: QuestionImages;
|
|
1522
1554
|
questionId: string;
|
|
1523
1555
|
title: string;
|
|
1524
|
-
|
|
1556
|
+
openInsight: (insightId: string) => void;
|
|
1525
1557
|
};
|
|
1526
1558
|
export const Insight: React.FC<InsightProps>;
|
|
1527
1559
|
}
|
|
@@ -1532,25 +1564,36 @@ declare module "packages/react-ui/src/lib/gamification/insight-list/styles" {
|
|
|
1532
1564
|
declare module "packages/react-ui/src/lib/gamification/insight-list/index" {
|
|
1533
1565
|
import { QuestionImages } from "packages/sdk-web-types/src/index";
|
|
1534
1566
|
interface InsightListProps {
|
|
1535
|
-
insights?: {
|
|
1567
|
+
insights?: Array<{
|
|
1536
1568
|
image?: string;
|
|
1537
1569
|
imageMode: QuestionImages;
|
|
1538
1570
|
questionId: string;
|
|
1539
1571
|
title: string;
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
closeInsights: () => void;
|
|
1572
|
+
}>;
|
|
1573
|
+
openInsight: (insightId: string) => void;
|
|
1543
1574
|
}
|
|
1544
1575
|
export const InsightList: React.FC<InsightListProps>;
|
|
1545
1576
|
}
|
|
1546
1577
|
declare module "packages/react-ui/src/lib/demo/components/Insights" {
|
|
1547
|
-
import type {
|
|
1578
|
+
import type { Highlights } from "packages/feature-gamification/src/index";
|
|
1548
1579
|
export const Insights: React.FC<{
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
closeInsights: () => void;
|
|
1580
|
+
highlights: Highlights;
|
|
1581
|
+
store: ReturnType<Exclude<Highlights['insights'], undefined>['getStore']>;
|
|
1552
1582
|
}>;
|
|
1553
1583
|
}
|
|
1584
|
+
declare module "packages/react-ui/src/lib/gamification/common-header/styles" {
|
|
1585
|
+
export const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1586
|
+
export const Button: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
1587
|
+
export const HeaderIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
1588
|
+
}
|
|
1589
|
+
declare module "packages/react-ui/src/lib/gamification/common-header/index" {
|
|
1590
|
+
type CommonHeaderProps = {
|
|
1591
|
+
icon?: string;
|
|
1592
|
+
comeBack?: () => void;
|
|
1593
|
+
close?: () => void;
|
|
1594
|
+
};
|
|
1595
|
+
export const CommonHeader: React.FC<CommonHeaderProps>;
|
|
1596
|
+
}
|
|
1554
1597
|
declare module "packages/react-ui/src/lib/gamification/detailed-insight/styles" {
|
|
1555
1598
|
export const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1556
1599
|
export const Image: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
@@ -1567,17 +1610,17 @@ declare module "packages/react-ui/src/lib/gamification/detailed-insight/index" {
|
|
|
1567
1610
|
description?: string;
|
|
1568
1611
|
webLinkLabel?: string;
|
|
1569
1612
|
webLink?: string;
|
|
1570
|
-
|
|
1571
|
-
|
|
1613
|
+
closeHighlights: () => void;
|
|
1614
|
+
closeInsight: () => void;
|
|
1572
1615
|
};
|
|
1573
1616
|
export const DetailedInsight: React.FC<DetailedInsightProps>;
|
|
1574
1617
|
}
|
|
1575
1618
|
declare module "packages/react-ui/src/lib/demo/components/Insight" {
|
|
1576
|
-
import
|
|
1619
|
+
import { Highlights } from "packages/feature-gamification/src/index";
|
|
1577
1620
|
export const Insight: React.FC<{
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1621
|
+
openedInsight: Exclude<Highlights['openedInsight']['value'], undefined>;
|
|
1622
|
+
closeHighlights: () => void;
|
|
1623
|
+
closeInsight: () => void;
|
|
1581
1624
|
}>;
|
|
1582
1625
|
}
|
|
1583
1626
|
declare module "packages/react-ui/src/lib/demo/components/index" {
|
|
@@ -1592,6 +1635,7 @@ declare module "packages/react-ui/src/lib/demo/styles" {
|
|
|
1592
1635
|
export const DemoContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1593
1636
|
export const UserStatisticsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1594
1637
|
export const QuestionsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1638
|
+
export const Buttons: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1595
1639
|
export const Button: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
1596
1640
|
}
|
|
1597
1641
|
declare module "packages/react-ui/src/lib/demo/Gamification" {
|
|
@@ -1602,6 +1646,14 @@ declare module "packages/react-ui/src/lib/demo/Gamification" {
|
|
|
1602
1646
|
sdk: StreamLayerSDK;
|
|
1603
1647
|
}>;
|
|
1604
1648
|
}
|
|
1649
|
+
declare module "packages/react-ui/src/lib/demo/Highlights" {
|
|
1650
|
+
import { type StreamLayerSDK } from "packages/sdk-web-interfaces/src/index";
|
|
1651
|
+
import type { Highlights } from "packages/feature-gamification/src/index";
|
|
1652
|
+
export const HighlightsComponent: React.FC<{
|
|
1653
|
+
highlights: Highlights;
|
|
1654
|
+
sdk: StreamLayerSDK;
|
|
1655
|
+
}>;
|
|
1656
|
+
}
|
|
1605
1657
|
/// <amd-module name="@streamlayer/sdk-web-anonymous-auth" />
|
|
1606
1658
|
declare module "@streamlayer/sdk-web-anonymous-auth" {
|
|
1607
1659
|
import { type StreamLayerContext } from "packages/sdk-web-interfaces/src/index";
|
|
@@ -1647,6 +1699,8 @@ declare module "packages/react-ui/src/index" {
|
|
|
1647
1699
|
}
|
|
1648
1700
|
declare module "packages/sdk-web-core/src/index" {
|
|
1649
1701
|
import { StreamLayerContext } from "packages/sdk-web-interfaces/src/index";
|
|
1702
|
+
export { bypass } from "packages/sdk-web-core/src/auth/index";
|
|
1703
|
+
export { store } from "packages/sdk-web-core/src/store/index";
|
|
1650
1704
|
module "packages/sdk-web-interfaces/src/index" {
|
|
1651
1705
|
interface StreamLayerSDK {
|
|
1652
1706
|
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.6",
|
|
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-core": "^0.
|
|
80
|
-
"@streamlayer/sdk-web-features": "^0.
|
|
77
|
+
"@streamlayer/react-ui": "^0.20.0",
|
|
78
|
+
"@streamlayer/sdk-web": "^0.23.0",
|
|
79
|
+
"@streamlayer/sdk-web-core": "^0.7.0",
|
|
80
|
+
"@streamlayer/sdk-web-features": "^0.6.0"
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"size-limit": "size-limit"
|