@selfcommunity/react-ui 1.2.13 → 1.2.14-alpha.1
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/assets/leaderboard/crown.d.ts +2 -0
- package/lib/cjs/assets/leaderboard/crown.js +3 -0
- package/lib/cjs/assets/leaderboard/edit.d.ts +2 -0
- package/lib/cjs/assets/leaderboard/edit.js +3 -0
- package/lib/cjs/assets/leaderboard/star.d.ts +2 -0
- package/lib/cjs/assets/leaderboard/star.js +3 -0
- package/lib/cjs/assets/leaderboard/trophy.d.ts +2 -0
- package/lib/cjs/assets/leaderboard/trophy.js +3 -0
- package/lib/cjs/assets/leaderboard/users.d.ts +2 -0
- package/lib/cjs/assets/leaderboard/users.js +3 -0
- package/lib/cjs/components/LeaderboardInfoWidget/LeaderboardInfoWidget.d.ts +36 -0
- package/lib/cjs/components/LeaderboardInfoWidget/LeaderboardInfoWidget.js +77 -0
- package/lib/cjs/components/LeaderboardInfoWidget/constants.d.ts +1 -0
- package/lib/cjs/components/LeaderboardInfoWidget/constants.js +4 -0
- package/lib/cjs/components/LeaderboardInfoWidget/index.d.ts +3 -0
- package/lib/cjs/components/LeaderboardInfoWidget/index.js +5 -0
- package/lib/cjs/components/LeaderboardPositionWidget/LeaderboardPositionWidget.d.ts +40 -0
- package/lib/cjs/components/LeaderboardPositionWidget/LeaderboardPositionWidget.js +93 -0
- package/lib/cjs/components/LeaderboardPositionWidget/Skeleton.d.ts +21 -0
- package/lib/cjs/components/LeaderboardPositionWidget/Skeleton.js +41 -0
- package/lib/cjs/components/LeaderboardPositionWidget/constants.d.ts +1 -0
- package/lib/cjs/components/LeaderboardPositionWidget/constants.js +4 -0
- package/lib/cjs/components/LeaderboardPositionWidget/index.d.ts +4 -0
- package/lib/cjs/components/LeaderboardPositionWidget/index.js +8 -0
- package/lib/cjs/components/LeaderboardWidget/LeaderboardWidget.d.ts +80 -0
- package/lib/cjs/components/LeaderboardWidget/LeaderboardWidget.js +155 -0
- package/lib/cjs/components/LeaderboardWidget/Skeleton.d.ts +29 -0
- package/lib/cjs/components/LeaderboardWidget/Skeleton.js +44 -0
- package/lib/cjs/components/LeaderboardWidget/constants.d.ts +1 -0
- package/lib/cjs/components/LeaderboardWidget/constants.js +4 -0
- package/lib/cjs/components/LeaderboardWidget/index.d.ts +4 -0
- package/lib/cjs/components/LeaderboardWidget/index.js +8 -0
- package/lib/cjs/index.d.ts +4 -1
- package/lib/cjs/index.js +13 -4
- package/lib/esm/assets/leaderboard/crown.d.ts +2 -0
- package/lib/esm/assets/leaderboard/crown.js +1 -0
- package/lib/esm/assets/leaderboard/edit.d.ts +2 -0
- package/lib/esm/assets/leaderboard/edit.js +1 -0
- package/lib/esm/assets/leaderboard/star.d.ts +2 -0
- package/lib/esm/assets/leaderboard/star.js +1 -0
- package/lib/esm/assets/leaderboard/trophy.d.ts +2 -0
- package/lib/esm/assets/leaderboard/trophy.js +1 -0
- package/lib/esm/assets/leaderboard/users.d.ts +2 -0
- package/lib/esm/assets/leaderboard/users.js +1 -0
- package/lib/esm/components/LeaderboardInfoWidget/LeaderboardInfoWidget.d.ts +36 -0
- package/lib/esm/components/LeaderboardInfoWidget/LeaderboardInfoWidget.js +74 -0
- package/lib/esm/components/LeaderboardInfoWidget/constants.d.ts +1 -0
- package/lib/esm/components/LeaderboardInfoWidget/constants.js +1 -0
- package/lib/esm/components/LeaderboardInfoWidget/index.d.ts +3 -0
- package/lib/esm/components/LeaderboardInfoWidget/index.js +2 -0
- package/lib/esm/components/LeaderboardPositionWidget/LeaderboardPositionWidget.d.ts +40 -0
- package/lib/esm/components/LeaderboardPositionWidget/LeaderboardPositionWidget.js +90 -0
- package/lib/esm/components/LeaderboardPositionWidget/Skeleton.d.ts +21 -0
- package/lib/esm/components/LeaderboardPositionWidget/Skeleton.js +37 -0
- package/lib/esm/components/LeaderboardPositionWidget/constants.d.ts +1 -0
- package/lib/esm/components/LeaderboardPositionWidget/constants.js +1 -0
- package/lib/esm/components/LeaderboardPositionWidget/index.d.ts +4 -0
- package/lib/esm/components/LeaderboardPositionWidget/index.js +4 -0
- package/lib/esm/components/LeaderboardWidget/LeaderboardWidget.d.ts +80 -0
- package/lib/esm/components/LeaderboardWidget/LeaderboardWidget.js +152 -0
- package/lib/esm/components/LeaderboardWidget/Skeleton.d.ts +29 -0
- package/lib/esm/components/LeaderboardWidget/Skeleton.js +40 -0
- package/lib/esm/components/LeaderboardWidget/constants.d.ts +1 -0
- package/lib/esm/components/LeaderboardWidget/constants.js +1 -0
- package/lib/esm/components/LeaderboardWidget/index.d.ts +4 -0
- package/lib/esm/components/LeaderboardWidget/index.js +4 -0
- package/lib/esm/index.d.ts +4 -1
- package/lib/esm/index.js +4 -1
- package/lib/umd/react-ui.js +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const material_1 = require("@mui/material");
|
|
7
|
+
const react_intl_1 = require("react-intl");
|
|
8
|
+
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
9
|
+
const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
10
|
+
const system_1 = require("@mui/system");
|
|
11
|
+
const constants_1 = require("./constants");
|
|
12
|
+
const crown_1 = tslib_1.__importDefault(require("../../assets/leaderboard/crown"));
|
|
13
|
+
const react_core_1 = require("@selfcommunity/react-core");
|
|
14
|
+
const api_services_1 = require("@selfcommunity/api-services");
|
|
15
|
+
const utils_1 = require("@selfcommunity/utils");
|
|
16
|
+
const Errors_1 = require("../../constants/Errors");
|
|
17
|
+
const HiddenPlaceholder_1 = tslib_1.__importDefault(require("../../shared/HiddenPlaceholder"));
|
|
18
|
+
const Skeleton_1 = tslib_1.__importDefault(require("./Skeleton"));
|
|
19
|
+
const RANKING_LIMIT = 5;
|
|
20
|
+
const classes = {
|
|
21
|
+
root: `${constants_1.PREFIX}-root`,
|
|
22
|
+
podiumHeader: `${constants_1.PREFIX}-podium-header`,
|
|
23
|
+
podiumTitle: `${constants_1.PREFIX}-podium-title`,
|
|
24
|
+
podium: `${constants_1.PREFIX}-podium`,
|
|
25
|
+
podiumItem: `${constants_1.PREFIX}-podium-item`,
|
|
26
|
+
podiumCrown: `${constants_1.PREFIX}-podium-crown`,
|
|
27
|
+
podiumAvatarWrap: `${constants_1.PREFIX}-podium-avatar-wrap`,
|
|
28
|
+
podiumAvatar: `${constants_1.PREFIX}-podium-avatar`,
|
|
29
|
+
podiumBadge: `${constants_1.PREFIX}-podium-badge`,
|
|
30
|
+
podiumName: `${constants_1.PREFIX}-podium-name`,
|
|
31
|
+
podiumScore: `${constants_1.PREFIX}-podium-score`,
|
|
32
|
+
rankingHeader: `${constants_1.PREFIX}-ranking-header`,
|
|
33
|
+
rankingTitle: `${constants_1.PREFIX}-ranking-title`,
|
|
34
|
+
rankingList: `${constants_1.PREFIX}-ranking-list`,
|
|
35
|
+
rankingItem: `${constants_1.PREFIX}-ranking-item`,
|
|
36
|
+
rankingItemActive: `${constants_1.PREFIX}-ranking-item-active`,
|
|
37
|
+
rankingPosition: `${constants_1.PREFIX}-ranking-position`,
|
|
38
|
+
rankingAvatar: `${constants_1.PREFIX}-ranking-avatar`,
|
|
39
|
+
rankingName: `${constants_1.PREFIX}-ranking-name`,
|
|
40
|
+
rankingScore: `${constants_1.PREFIX}-ranking-score`,
|
|
41
|
+
seeMore: `${constants_1.PREFIX}-see-more`
|
|
42
|
+
};
|
|
43
|
+
const Root = (0, material_1.styled)(Widget_1.default, {
|
|
44
|
+
name: constants_1.PREFIX,
|
|
45
|
+
slot: 'Root'
|
|
46
|
+
})(() => ({}));
|
|
47
|
+
/**
|
|
48
|
+
* > API documentation for the Community-JS Leaderboard Widget component. Learn about the available props and the CSS API.
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
* This component renders a widget showing the top 3 users of the leaderboard for the given period (podium) and, optionally, the general ranking list.
|
|
52
|
+
* Leaderboard entries can be provided via the `entries` prop; if `mode` is `full` and no `entries` are provided, the component fetches the general
|
|
53
|
+
* ranking on its own.
|
|
54
|
+
* The widget is hidden if the leaderboard feature is disabled or no podium data is available.
|
|
55
|
+
|
|
56
|
+
#### Import
|
|
57
|
+
|
|
58
|
+
```jsx
|
|
59
|
+
import {LeaderboardWidget} from '@selfcommunity/react-ui';
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### Component Name
|
|
63
|
+
|
|
64
|
+
The name `SCLeaderboardWidget` can be used when providing style overrides in the theme.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
#### CSS
|
|
68
|
+
|
|
69
|
+
|Rule Name|Global class|Description|
|
|
70
|
+
|---|---|---|
|
|
71
|
+
|root|.SCLeaderboardWidget-root|Styles applied to the root element.|
|
|
72
|
+
|podiumHeader|.SCLeaderboardWidget-podium-header|Styles applied to the podium header element.|
|
|
73
|
+
|podiumTitle|.SCLeaderboardWidget-podium-title|Styles applied to the podium title element.|
|
|
74
|
+
|podium|.SCLeaderboardWidget-podium|Styles applied to the podium element.|
|
|
75
|
+
|podiumItem|.SCLeaderboardWidget-podium-item|Styles applied to the single podium item.|
|
|
76
|
+
|podiumCrown|.SCLeaderboardWidget-podium-crown|Styles applied to the crown icon of the first podium item.|
|
|
77
|
+
|podiumAvatarWrap|.SCLeaderboardWidget-podium-avatar-wrap|Styles applied to the avatar wrapper of the single podium item.|
|
|
78
|
+
|podiumAvatar|.SCLeaderboardWidget-podium-avatar|Styles applied to the avatar of the single podium item.|
|
|
79
|
+
|podiumBadge|.SCLeaderboardWidget-podium-badge|Styles applied to the position badge of the single podium item.|
|
|
80
|
+
|podiumName|.SCLeaderboardWidget-podium-name|Styles applied to the name of the single podium item.|
|
|
81
|
+
|podiumScore|.SCLeaderboardWidget-podium-score|Styles applied to the score of the single podium item.|
|
|
82
|
+
|rankingHeader|.SCLeaderboardWidget-ranking-header|Styles applied to the ranking header element.|
|
|
83
|
+
|rankingTitle|.SCLeaderboardWidget-ranking-title|Styles applied to the ranking title element.|
|
|
84
|
+
|rankingList|.SCLeaderboardWidget-ranking-list|Styles applied to the ranking list element.|
|
|
85
|
+
|rankingItem|.SCLeaderboardWidget-ranking-item|Styles applied to the single ranking item.|
|
|
86
|
+
|rankingItemActive|.SCLeaderboardWidget-ranking-item-active|Styles applied to the single ranking item when it belongs to the logged user.|
|
|
87
|
+
|rankingPosition|.SCLeaderboardWidget-ranking-position|Styles applied to the position of the single ranking item.|
|
|
88
|
+
|rankingAvatar|.SCLeaderboardWidget-ranking-avatar|Styles applied to the avatar of the single ranking item.|
|
|
89
|
+
|rankingName|.SCLeaderboardWidget-ranking-name|Styles applied to the name of the single ranking item.|
|
|
90
|
+
|rankingScore|.SCLeaderboardWidget-ranking-score|Styles applied to the score of the single ranking item.|
|
|
91
|
+
|seeMore|.SCLeaderboardWidget-see-more|Styles applied to the "see more" action element.|
|
|
92
|
+
*
|
|
93
|
+
* @param inProps
|
|
94
|
+
*/
|
|
95
|
+
function LeaderboardWidget(inProps) {
|
|
96
|
+
const props = (0, system_1.useThemeProps)({
|
|
97
|
+
props: inProps,
|
|
98
|
+
name: constants_1.PREFIX
|
|
99
|
+
});
|
|
100
|
+
const { className, mode = 'full', period = 'month', entries: entriesProp, isLoading: isLoadingProp = true, onSeeMoreClick } = props, rest = tslib_1.__rest(props, ["className", "mode", "period", "entries", "isLoading", "onSeeMoreClick"]);
|
|
101
|
+
// CONTEXT
|
|
102
|
+
const scUserContext = (0, react_1.useContext)(react_core_1.SCUserContext);
|
|
103
|
+
// PREFERENCES
|
|
104
|
+
const leaderboardsEnabled = (0, react_core_1.useSCPreferenceEnabled)(react_core_1.SCPreferences.CONFIGURATIONS_LEADERBOARDS_ENABLED);
|
|
105
|
+
// Self-fetches the leaderboard data when running in `full` mode and no entries are provided by the parent
|
|
106
|
+
const shouldFetch = mode === 'full' && !entriesProp;
|
|
107
|
+
const [fetchedEntries, setFetchedEntries] = (0, react_1.useState)([]);
|
|
108
|
+
const [isFetching, setIsFetching] = (0, react_1.useState)(shouldFetch);
|
|
109
|
+
const isMountedRef = (0, react_core_1.useIsComponentMountedRef)();
|
|
110
|
+
(0, react_1.useEffect)(() => {
|
|
111
|
+
if (!shouldFetch) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
setIsFetching(true);
|
|
115
|
+
api_services_1.ScoreService.getLeaderboards({ limit: RANKING_LIMIT })
|
|
116
|
+
.then((data) => {
|
|
117
|
+
if (isMountedRef.current) {
|
|
118
|
+
setFetchedEntries(data.results);
|
|
119
|
+
setIsFetching(false);
|
|
120
|
+
}
|
|
121
|
+
})
|
|
122
|
+
.catch((error) => {
|
|
123
|
+
utils_1.Logger.error(Errors_1.SCOPE_SC_UI, error);
|
|
124
|
+
if (isMountedRef.current) {
|
|
125
|
+
setIsFetching(false);
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
}, [shouldFetch, period]);
|
|
129
|
+
const entries = shouldFetch ? fetchedEntries : entriesProp || [];
|
|
130
|
+
const isLoading = shouldFetch ? isFetching : isLoadingProp;
|
|
131
|
+
/**
|
|
132
|
+
* Renders nothing if the leaderboard feature is disabled
|
|
133
|
+
*/
|
|
134
|
+
if (!leaderboardsEnabled) {
|
|
135
|
+
return (0, jsx_runtime_1.jsx)(HiddenPlaceholder_1.default, {});
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Renders the skeleton while the leaderboard data is loading
|
|
139
|
+
*/
|
|
140
|
+
if (isLoading) {
|
|
141
|
+
return (0, jsx_runtime_1.jsx)(Skeleton_1.default, { mode: mode });
|
|
142
|
+
}
|
|
143
|
+
const podium = entries.filter((entry) => entry.position <= 3);
|
|
144
|
+
/**
|
|
145
|
+
* Renders nothing if there's no podium data
|
|
146
|
+
*/
|
|
147
|
+
if (!podium.length) {
|
|
148
|
+
return (0, jsx_runtime_1.jsx)(HiddenPlaceholder_1.default, {});
|
|
149
|
+
}
|
|
150
|
+
return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: (0, jsx_runtime_1.jsxs)(material_1.CardContent, { children: [(0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "space-between", alignItems: "center", className: classes.podiumHeader }, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h4", className: classes.podiumTitle }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.leaderboardWidget.podium.title", defaultMessage: "ui.leaderboardWidget.podium.title", values: { period } }) })) })), (0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "center", alignItems: "flex-end", className: classes.podium }, { children: podium.map((entry) => ((0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ alignItems: "center", className: (0, classnames_1.default)(classes.podiumItem, `${classes.podiumItem}-${entry.position}`) }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.podiumAvatarWrap }, { children: [entry.position === 1 && ((0, jsx_runtime_1.jsx)(material_1.Box, { component: "span", className: classes.podiumCrown, style: { maskImage: `url(${crown_1.default})`, WebkitMaskImage: `url(${crown_1.default})` } })), (0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: entry.user.username, src: entry.user.avatar, className: classes.podiumAvatar }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ component: "span", className: classes.podiumBadge }, { children: entry.position }))] })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2", fontWeight: 600, className: classes.podiumName }, { children: entry.user.real_name || entry.user.username })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption", className: classes.podiumScore }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.leaderboardWidget.podium.score", defaultMessage: "ui.leaderboardWidget.podium.score", values: { score: entry.total_score } }) }))] }), entry.user.id))) })), mode === 'full' && entries.length > 0 && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "space-between", alignItems: "center", className: classes.rankingHeader }, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h4", className: classes.rankingTitle }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.leaderboardWidget.ranking.title", defaultMessage: "ui.leaderboardWidget.ranking.title" }) })) })), (0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ spacing: 1, className: classes.rankingList }, { children: entries.map((entry) => {
|
|
151
|
+
const isMe = Boolean(scUserContext.user) && entry.user.id === scUserContext.user.id && entry.position <= RANKING_LIMIT;
|
|
152
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", spacing: 1.5, alignItems: "center", className: (0, classnames_1.default)(classes.rankingItem, { [classes.rankingItemActive]: isMe }) }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2", className: classes.rankingPosition }, { children: entry.position })), (0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: entry.user.username, src: entry.user.avatar, className: classes.rankingAvatar }), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2", fontWeight: isMe ? 600 : 400, className: classes.rankingName }, { children: isMe ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.leaderboardWidget.ranking.you", defaultMessage: "ui.leaderboardWidget.ranking.you" })) : (entry.user.real_name || entry.user.username) })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2", className: classes.rankingScore }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.leaderboardWidget.ranking.score", defaultMessage: "ui.leaderboardWidget.ranking.score", values: { score: entry.total_score } }) }))] }), entry.user.id));
|
|
153
|
+
}) })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ component: "span", role: "button", tabIndex: 0, onClick: onSeeMoreClick, className: classes.seeMore }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.leaderboardWidget.ranking.seeMore", defaultMessage: "ui.leaderboardWidget.ranking.seeMore" }) }))] }))] }) })));
|
|
154
|
+
}
|
|
155
|
+
exports.default = LeaderboardWidget;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LeaderboardWidgetVariant } from './LeaderboardWidget';
|
|
2
|
+
export interface LeaderboardWidgetSkeletonProps {
|
|
3
|
+
/**
|
|
4
|
+
* The widget mode.
|
|
5
|
+
* @default 'full'
|
|
6
|
+
*/
|
|
7
|
+
mode?: LeaderboardWidgetVariant;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* > API documentation for the Community-JS Leaderboard Widget Skeleton component. Learn about the available props and the CSS API.
|
|
11
|
+
|
|
12
|
+
#### Import
|
|
13
|
+
|
|
14
|
+
```jsx
|
|
15
|
+
import {LeaderboardWidgetSkeleton} from '@selfcommunity/react-ui';
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
#### Component Name
|
|
19
|
+
|
|
20
|
+
The name `SCLeaderboardWidget-skeleton-root` can be used when providing style overrides in the theme.
|
|
21
|
+
|
|
22
|
+
#### CSS
|
|
23
|
+
|
|
24
|
+
|Rule Name|Global class|Description|
|
|
25
|
+
|---|---|---|
|
|
26
|
+
|root|.SCLeaderboardWidget-skeleton-root|Styles applied to the root element.|
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export default function LeaderboardWidgetSkeleton({ mode }: LeaderboardWidgetSkeletonProps): JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
7
|
+
const constants_1 = require("./constants");
|
|
8
|
+
const classes = {
|
|
9
|
+
root: `${constants_1.PREFIX}-skeleton-root`,
|
|
10
|
+
podiumHeader: `${constants_1.PREFIX}-podium-header`,
|
|
11
|
+
podium: `${constants_1.PREFIX}-podium`,
|
|
12
|
+
podiumItem: `${constants_1.PREFIX}-podium-item`,
|
|
13
|
+
rankingHeader: `${constants_1.PREFIX}-ranking-header`,
|
|
14
|
+
rankingList: `${constants_1.PREFIX}-ranking-list`,
|
|
15
|
+
rankingItem: `${constants_1.PREFIX}-ranking-item`
|
|
16
|
+
};
|
|
17
|
+
const Root = (0, material_1.styled)(Widget_1.default, {
|
|
18
|
+
name: constants_1.PREFIX,
|
|
19
|
+
slot: 'SkeletonRoot'
|
|
20
|
+
})(() => ({}));
|
|
21
|
+
/**
|
|
22
|
+
* > API documentation for the Community-JS Leaderboard Widget Skeleton component. Learn about the available props and the CSS API.
|
|
23
|
+
|
|
24
|
+
#### Import
|
|
25
|
+
|
|
26
|
+
```jsx
|
|
27
|
+
import {LeaderboardWidgetSkeleton} from '@selfcommunity/react-ui';
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
#### Component Name
|
|
31
|
+
|
|
32
|
+
The name `SCLeaderboardWidget-skeleton-root` can be used when providing style overrides in the theme.
|
|
33
|
+
|
|
34
|
+
#### CSS
|
|
35
|
+
|
|
36
|
+
|Rule Name|Global class|Description|
|
|
37
|
+
|---|---|---|
|
|
38
|
+
|root|.SCLeaderboardWidget-skeleton-root|Styles applied to the root element.|
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
function LeaderboardWidgetSkeleton({ mode = 'full' }) {
|
|
42
|
+
return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: classes.root }, { children: (0, jsx_runtime_1.jsxs)(material_1.CardContent, { children: [(0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "space-between", alignItems: "center", className: classes.podiumHeader }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", height: 28, width: "50%", variant: "rectangular" }) })), (0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "center", alignItems: "flex-end", spacing: 2, className: classes.podium }, { children: [1, 2, 3].map((item) => ((0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ spacing: 1, alignItems: "center", className: classes.podiumItem }, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "circular", width: 56, height: 56 }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", height: 16, width: 60, variant: "rectangular" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", height: 14, width: 40, variant: "rectangular" })] }), item))) })), mode === 'full' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ direction: "row", justifyContent: "space-between", alignItems: "center", className: classes.rankingHeader }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", height: 28, width: "50%", variant: "rectangular" }) })), (0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ spacing: 1, className: classes.rankingList }, { children: [1, 2, 3, 4, 5].map((item) => ((0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", spacing: 1.5, alignItems: "center", className: classes.rankingItem }, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "circular", width: 36, height: 36 }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", height: 16, width: "60%", variant: "rectangular" })] }), item))) }))] }))] }) })));
|
|
43
|
+
}
|
|
44
|
+
exports.default = LeaderboardWidgetSkeleton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCLeaderboardWidget";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import LeaderboardWidget, { LeaderboardWidgetProps, LeaderboardWidgetVariant } from './LeaderboardWidget';
|
|
2
|
+
import LeaderboardWidgetSkeleton from './Skeleton';
|
|
3
|
+
export default LeaderboardWidget;
|
|
4
|
+
export { LeaderboardWidgetProps, LeaderboardWidgetVariant, LeaderboardWidgetSkeleton };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LeaderboardWidgetSkeleton = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const LeaderboardWidget_1 = tslib_1.__importDefault(require("./LeaderboardWidget"));
|
|
6
|
+
const Skeleton_1 = tslib_1.__importDefault(require("./Skeleton"));
|
|
7
|
+
exports.LeaderboardWidgetSkeleton = Skeleton_1.default;
|
|
8
|
+
exports.default = LeaderboardWidget_1.default;
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -87,6 +87,9 @@ import IncubatorSubscribeButton, { IncubatorSubscribeButtonProps } from './compo
|
|
|
87
87
|
import IncubatorSuggestionWidget, { IncubatorSuggestionWidgetProps } from './components/IncubatorSuggestionWidget';
|
|
88
88
|
import InlineComposerWidget, { InlineComposerWidgetProps, InlineComposerWidgetSkeleton } from './components/InlineComposerWidget';
|
|
89
89
|
import InviteUserEventButton, { InviteUserEventButtonProps } from './components/InviteUserEventButton';
|
|
90
|
+
import LeaderboardInfoWidget, { LeaderboardInfoWidgetProps } from './components/LeaderboardInfoWidget';
|
|
91
|
+
import LeaderboardPositionWidget, { LeaderboardPositionWidgetProps, LeaderboardPositionWidgetSkeleton } from './components/LeaderboardPositionWidget';
|
|
92
|
+
import LeaderboardWidget, { LeaderboardWidgetProps, LeaderboardWidgetSkeleton, LeaderboardWidgetVariant } from './components/LeaderboardWidget';
|
|
90
93
|
import LessonAppbar, { LessonAppbarProps } from './components/LessonAppbar';
|
|
91
94
|
import LessonDrawer, { LessonDrawerProps } from './components/LessonDrawer';
|
|
92
95
|
import LessonEditForm, { LessonEditFormProps } from './components/LessonEditForm';
|
|
@@ -235,4 +238,4 @@ import DefaultCoverSelfCommunity from './assets/deafultCover';
|
|
|
235
238
|
/**
|
|
236
239
|
* List all exports
|
|
237
240
|
*/
|
|
238
|
-
export { AcceptRequestUserEventButton, AcceptRequestUserEventButtonProps, AccountChangeMailValidation, AccountChangeMailValidationProps, AccountDataPortability, AccountDataPortabilityButton, AccountDataPortabilityButtonProps, AccountDataPortabilityProps, AccountDelete, AccountDeleteButton, AccountDeleteButtonProps, AccountDeleteProps, AccountRecover, AccountRecoverProps, AccountReset, AccountResetProps, AccountVerify, AccountVerifyProps, AvatarGroupSkeleton, BaseDialog, BaseDialogProps, BaseItem, BaseItemProps, BaseLightbox, BaseLightboxProps, BottomNavigation, BottomNavigationProps, BroadcastMessages, BroadcastMessagesProps, BroadcastMessagesSkeleton, bytesToSize, generateRoomId, randomString, decodePassphrase, encodePassphrase, Calendar, CalendarProps, Categories, CategoriesPopularWidget, CategoriesPopularWidgetSkeleton, CategoriesProps, CategoriesSkeleton, CategoriesSkeletonProps, CategoriesSuggestionWidget, CategoriesSuggestionWidgetProps, CategoriesSuggestionWidgetSkeleton, Category, CategoryAutocomplete, CategoryAutocompleteProps, CategoryFollowButton, CategoryFollowButtonProps, CategoryFollowersButton, CategoryFollowersButtonProps, CategoryHeader, CategoryHeaderProps, CategoryHeaderSkeleton, CategoryProps, CategorySkeleton, CategoryTrendingFeedWidget, CategoryTrendingFeedWidgetProps, CategoryTrendingFeedWidgetSkeleton, CategoryTrendingPeopleWidgetSkeleton, CategoryTrendingUsersWidget, CategoryTrendingUsersWidgetProps, CentralProgress, ChangeCover, ChangeCoverProps, ChangeGroupCover, ChangeGroupCoverProps, ChangeGroupPicture, ChangeGroupPictureProps, ChangePicture, ChangePictureProps, CommentObject, CommentObjectProps, CommentObjectReply, CommentObjectReplyProps, CommentObjectSkeleton, CommentsFeedObject, CommentsFeedObjectProps, CommentsFeedObjectSkeleton, CommentsObject, CommentsObjectProps, CommentsObjectSkeleton, Composer, ComposerIconButton, ComposerIconButtonProps, ComposerProps, ConfirmDialog, ConnectionUserButton, ConsentSolution, ConsentSolutionButton, ConsentSolutionButtonProps, ConsentSolutionProps, ConsentSolutionSkeleton, ContributionUtils, SCCourseEditTabType, Course, CourseProps, CourseSkeleton, CourseSkeletonProps, CourseJoinButton, CourseJoinButtonProps, Courses, CoursesProps, CoursesSkeleton, CoursesSkeletonProps, CourseTypePopover, CourseTypePopoverProps, CreateCourseButton, CreateCourseButtonProps, CourseContentMenu, CourseContentMenuProps, CourseDashboard, TeacherCourseDashboardProps, TeacherSkeleton, StudentCourseDashboardProps, StudentSkeleton, CreateEventButton, CreateEventButtonProps, CreateEventWidget, CreateEventWidgetProps, CreateEventWidgetSkeleton, CreateGroupButton, EventForm, EventFormProps, EventFormDialog, EventFormDialogProps, CreateGroupButtonProps, CustomAdv, CustomAdvProps, CustomAdvSkeleton, DEFAULT_FIELDS, DEFAULT_PAGINATION_LIMIT, DEFAULT_PAGINATION_OFFSET, DEFAULT_PAGINATION_QUERY_PARAM_NAME, DEFAULT_PRELOAD_OFFSET_VIEWPORT, DEFAULT_WIDGETS_NUMBER, DefaultDrawerContent, DefaultDrawerContentProps, DefaultHeaderContent, DefaultHeaderContentProps, DefaultDrawerSkeleton, DefaultDrawerSkeletonProps, EditEventButton, EditEventButtonProps, EditGroupButton, EditGroupButtonProps, EditMediaProps, Editor, EditorProps, EditorSkeleton, EmailTextField, EditCourse, EditCourseProps, EditCourseSkeleton, Event, EventActionsMenu, EventActionsMenuProps, EventHeader, EventHeaderProps, EventHeaderSkeleton, EventInfoDetails, EventInfoDetailsProps, EventInfoWidget, EventInfoWidgetProps, EventInviteButton, EventInviteButtonProps, EventLocationWidget, EventLocationWidgetProps, EventLocationWidgetSkeleton, EventMediaWidget, EventMediaWidgetProps, EventMediaWidgetSkeleton, EventMembersWidget, EventMembersWidgetProps, EventMembersWidgetSkeleton, EventParticipantsButton, EventParticipantsButtonProps, EventProps, Events, EventSkeleton, EventSkeletonProps, EventsProps, EventsSkeleton, EventsSkeletonProps, FACEBOOK_SHARE, Feed, FeedObject, FeedObjectMediaPreview, FeedObjectMediaPreviewProps, FeedObjectProps, FeedObjectSkeleton, FeedProps, FeedRef, FeedSidebarProps, FeedSkeleton, FeedUpdatesWidget, FeedUpdatesWidgetProps, FeedUpdatesWidgetSkeleton, File, FollowUserButton, FollowUserButtonProps, Footer, FooterProps, FooterSkeleton, FriendshipButtonProps, FriendshipUserButton, GenericSkeleton, getRelativeTime, getUnseenNotification, getUnseenNotificationCounter, getUrlLesson, Group, GroupActionsMenu, GroupActionsMenuProps, GroupForm, GroupFormProps, GroupHeader, GroupHeaderProps, GroupHeaderSkeleton, GroupInfoWidget, GroupInfoWidgetProps, GroupInfoWidgetSkeleton, GroupInviteButton, GroupInviteButtonProps, GroupInvitedWidget, GroupInvitedWidgetProps, GroupInvitedWidgetSkeleton, GroupMembersButton, GroupMembersButtonProps, GroupMembersWidget, GroupMembersWidgetProps, GroupMembersWidgetSkeleton, GroupProps, GroupRequestsWidget, GroupRequestsWidgetProps, GroupRequestsWidgetSkeleton, Groups, GroupSettingsIconButton, GroupSettingsIconButtonProps, GroupSkeleton, GroupsProps, GroupsSkeleton, GroupSubscribeButton, GroupSubscribeButtonProps, AccordionLessons, AccordionLessonsProps, AccordionLessonsSkeleton, AddUsersButton, AddUsersButtonProps, CourseUsersTable, CourseUsersTableProps, CourseUsersTableSkeleton, EmptyStatus, EmptyStatusProps, HiddenPlaceholder, Incubator, IncubatorDetail, IncubatorDetailProps, IncubatorListWidget, IncubatorListWidgetProps, IncubatorProps, IncubatorSubscribeButton, IncubatorSubscribeButtonProps, IncubatorSuggestionWidget, IncubatorSuggestionWidgetProps, InfiniteScroll, ScrollContainer, InlineComposerWidget, InlineComposerWidgetProps, InlineComposerWidgetSkeleton, InviteUserEventButton, LessonAppbar, LessonAppbarProps, LessonDrawer, LessonDrawerProps, LessonEditForm, LessonEditFormProps, LessonObject, LessonObjectProps, InviteUserEventButtonProps, LanguageSwitcher, LEGAL_POLICIES, CourseCompletedDialog, CourseCompletedDialogProps, Lightbox, LightboxProps, Link, LINKEDIN_SHARE, LocationAutocomplete, LocationAutocompleteProps, LogoSelfCommunity, DefaultCoverSelfCommunity, LoyaltyProgramWidget, LoyaltyProgramWidgetProps, LoyaltyProgramWidgetSkeleton, MAX_PRELOAD_OFFSET_VIEWPORT, MEDIA_EMBED_SC_LINK_TYPE, MEDIA_EMBED_SC_SHARED_EVENT, MEDIA_EMBED_SC_SHARED_OBJECT, MEDIA_TYPE_DOCUMENT, MEDIA_TYPE_EMBED, MEDIA_TYPE_EVENT, MEDIA_TYPE_IMAGE, MEDIA_TYPE_LINK, MEDIA_TYPE_SHARE, MEDIA_TYPE_URL, MEDIA_TYPE_VIDEO, SCCourseFormStepType, MediaChunkUploader, MediaChunkUploaderProps, MessageUploaderUtils, MetadataField, MetadataFieldProps, MIN_PRELOAD_OFFSET_VIEWPORT, MyEventsWidget, MyEventsWidgetProps, MyEventsWidgetSkeleton, NavigationMenuContent, NavigationMenuDrawer, NavigationMenuDrawerProps, NavigationMenuHeader, NavigationMenuIconButton, NavigationMenuIconButtonProps, NavigationSettingsIconButton, NavigationSettingsIconButtonProps, NavigationSettingsItem, NavigationToolbar, NavigationToolbarMobile, NavigationToolbarMobileProps, NavigationToolbarMobileSkeleton, NavigationToolbarProps, NavigationToolbarSkeleton, Notification, NotificationProps, NotificationSkeleton, OnBoardingWidget, OnBoardingWidgetProps, OnBoardingWidgetSkeleton, PasswordTextField, PhoneTextField, PlatformWidget, PlatformWidgetActionType, PlatformWidgetProps, PlatformWidgetSkeleton, PollSuggestionWidget, PollSuggestionWidgetProps, PrivateMessageComponent, PrivateMessageComponentProps, PrivateMessageComponentSkeleton, PrivateMessageEditor, PrivateMessageEditorProps, PrivateMessageEditorSkeleton, PrivateMessageSettingsIconButton, PrivateMessageSettingsIconButtonProps, PrivateMessageSnippetItem, PrivateMessageSnippetItemProps, PrivateMessageSnippetItemSkeleton, PrivateMessageSnippets, PrivateMessageSnippetsProps, PrivateMessageSnippetsSkeleton, PrivateMessageThread, PrivateMessageThreadItem, PrivateMessageThreadItemProps, PrivateMessageThreadItemSkeleton, PrivateMessageThreadProps, PrivateMessageThreadSkeleton, ProgressBar, ProgressBarProps, RelatedEventsWidget, RelatedEventsWidgetProps, RelatedEventsWidgetSkeleton, RelatedFeedObjectsWidget, RelatedFeedObjectsWidgetSkeleton, RelatedFeedObjectWidgetProps, ReplyComment, SCBroadcastMessageTemplateType, SCCommentsOrderBy, SCEventMembersEventType, SCEventTemplateType, SCFeedObjectActivitiesType, SCFeedObjectTemplateType, SCFeedWidgetType, SCGroupMembersEventType, SCMediaChunkType, SCMediaObjectType, SCNotificationObjectTemplateType, SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations, SearchAutocomplete, SearchAutocompleteProps, SearchDialog, SearchDialogProps, Share, SnippetNotifications, SnippetNotificationsProps, SnippetNotificationsSkeleton, StickyBox, StickyBoxComponent, StickyBoxProps, SuggestedEventsWidget, TagAutocomplete, TagAutocompleteProps, SuggestedEventsWidgetProps, SuggestedEventsWidgetSkeleton, TagChip, TagChipProps, ToastNotifications, ToastNotificationsProps, ToastNotificationsSkeleton, UrlTextField, User, UserActionIconButton, UserActionIconButtonProps, UserAvatar, UserAvatarProps, UserConnectionsRequestsSentWidget, UserConnectionsRequestsSentWidgetProps, UserConnectionsRequestsSentWidgetSkeleton, UserConnectionsRequestsWidget, UserConnectionsRequestsWidgetProps, UserConnectionsRequestsWidgetSkeleton, UserConnectionsWidget, UserConnectionsWidgetProps, UserConnectionsWidgetSkeleton, UserCounters, UserCountersProps, UserCreatedCoursesWidget, UserCreatedCoursesWidgetProps, UserCreatedCoursesWidgetSkeleton, UserDeletedSnackBar, UserDeletedSnackBarProps, UserFollowedCategoriesWidget, UserFollowedCategoriesWidgetProps, UserFollowedCategoriesWidgetSkeleton, UserFollowedUsersWidget, UserFollowedUsersWidgetProps, UserFollowedUsersWidgetSkeleton, UserFollowersWidget, UserFollowersWidgetProps, UserFollowersWidgetSkeleton, UserInfo, UserInfoDialog, UserInfoDialogProps, UserInfoProps, UserInfoSkeleton, UsernameTextField, UserProfileBlocked, UserProfileBlockedProps, UserProfileEdit, UserProfileEditProps, UserProfileEditSectionAccount, UserProfileEditSectionAccountProps, UserProfileEditSectionPublicInfo, UserProfileEditSectionPublicInfoProps, UserProfileEditSectionSettings, UserProfileEditSectionSettingsProps, UserProfileEditSkeleton, UserProfileHeader, UserProfileHeaderProps, UserProfileHeaderSkeleton, UserAutocomplete, UserAutocompleteProps, UserProps, UserSkeleton, UserSocialAssociation, UserSocialAssociationProps, UserSubscribedGroupsWidget, UserSubscribedGroupsWidgetProps, UserSubscribedGroupsWidgetSkeleton, UserSuggestionWidget, UserSuggestionWidgetProps, UserSuggestionWidgetSkeleton, UserLiveStreamWidget, UserLiveStreamWidgetProps, UserLiveStreamWidgetSkeleton, UserPaymentMethodsPortal, UserPaymentMethodsPortalProps, UserPaymentMethodsPortalSkeleton, useStickyBox, UseStickyBoxProps, LiveStream, LiveStreamProps, LiveStreamSkeletonProps, LiveStreamSkeleton, LiveStreamInfoDetails, LiveStreamInfoDetailsProps, UpScalingTierBadge, UpScalingTierProps, CreateLiveStreamDialog, CreateLiveStreamDialogProps, CreateLiveStreamButton, CreateLiveStreamButtonProps, LiveStreamForm, LiveStreamFormProps, LiveStreamRoom, LiveStreamRoomProps, LiveStreamVideoConference, LiveStreamVideoConferenceProps, VirtualScrollerItemProps, SCCourseTemplateType, SCLessonActionsType, SCLessonModeType, Widget, WidgetProps, X_SHARE, PROVIDER_ICONS_CONTAINED, PROVIDER_ICONS_OUTLINED, PROVIDER_ENTRAID_ALTERNATIVE_NAME, getDefaultLocale, getDefaultPaymentMethodConfiguration, getDefaultAppearanceStyle, getConvertedAmount, PaywallsDialog, PaywallsDialogProps, PaywallsConfigurator, PaywallsConfiguratorProps, PaywallsConfiguratorSkeleton, PaymentProducts, PaymentProductsProps, PaymentProduct, PaymentProductProps, PaymentOrder, PaymentOrderProps, PaymentOrderPdfButton, PaymentOrderPdfButtonProps, PaymentDetailDialog, PaymentDetailDialogProps, PaymentOrders, PaymentOrdersProps, PaymentProductPrice, PaymentProductPriceProps, PdfPreviewDialog, PdfPreviewDialogProps, PdfPreview, PdfPreviewProps, UserPaymentMethods, UserPaymentMethodsProps, UserPaymentMethodsSkeleton, UserAddPaymentMethodForm, UserAddPaymentMethodFormProps, UserAddPaymentMethodDialog, UserAddPaymentMethodDialogProps, UserChangeAddressDialog, UserChangeAddressDialogProps, UserBillingInfo, UserBillingInfoProps, UserBillingInfoSkeleton, Checkout, CheckoutProps, CheckoutReturnDialog, CheckoutReturnDialogProps, HiddenPurchasableContent, CommunityPaywalls, CommunityPaywallsProps, CommunityPaywallsSkeleton, FooterWidget, FooterWidgetProps };
|
|
241
|
+
export { AcceptRequestUserEventButton, AcceptRequestUserEventButtonProps, AccountChangeMailValidation, AccountChangeMailValidationProps, AccountDataPortability, AccountDataPortabilityButton, AccountDataPortabilityButtonProps, AccountDataPortabilityProps, AccountDelete, AccountDeleteButton, AccountDeleteButtonProps, AccountDeleteProps, AccountRecover, AccountRecoverProps, AccountReset, AccountResetProps, AccountVerify, AccountVerifyProps, AvatarGroupSkeleton, BaseDialog, BaseDialogProps, BaseItem, BaseItemProps, BaseLightbox, BaseLightboxProps, BottomNavigation, BottomNavigationProps, BroadcastMessages, BroadcastMessagesProps, BroadcastMessagesSkeleton, bytesToSize, generateRoomId, randomString, decodePassphrase, encodePassphrase, Calendar, CalendarProps, Categories, CategoriesPopularWidget, CategoriesPopularWidgetSkeleton, CategoriesProps, CategoriesSkeleton, CategoriesSkeletonProps, CategoriesSuggestionWidget, CategoriesSuggestionWidgetProps, CategoriesSuggestionWidgetSkeleton, Category, CategoryAutocomplete, CategoryAutocompleteProps, CategoryFollowButton, CategoryFollowButtonProps, CategoryFollowersButton, CategoryFollowersButtonProps, CategoryHeader, CategoryHeaderProps, CategoryHeaderSkeleton, CategoryProps, CategorySkeleton, CategoryTrendingFeedWidget, CategoryTrendingFeedWidgetProps, CategoryTrendingFeedWidgetSkeleton, CategoryTrendingPeopleWidgetSkeleton, CategoryTrendingUsersWidget, CategoryTrendingUsersWidgetProps, CentralProgress, ChangeCover, ChangeCoverProps, ChangeGroupCover, ChangeGroupCoverProps, ChangeGroupPicture, ChangeGroupPictureProps, ChangePicture, ChangePictureProps, CommentObject, CommentObjectProps, CommentObjectReply, CommentObjectReplyProps, CommentObjectSkeleton, CommentsFeedObject, CommentsFeedObjectProps, CommentsFeedObjectSkeleton, CommentsObject, CommentsObjectProps, CommentsObjectSkeleton, Composer, ComposerIconButton, ComposerIconButtonProps, ComposerProps, ConfirmDialog, ConnectionUserButton, ConsentSolution, ConsentSolutionButton, ConsentSolutionButtonProps, ConsentSolutionProps, ConsentSolutionSkeleton, ContributionUtils, SCCourseEditTabType, Course, CourseProps, CourseSkeleton, CourseSkeletonProps, CourseJoinButton, CourseJoinButtonProps, Courses, CoursesProps, CoursesSkeleton, CoursesSkeletonProps, CourseTypePopover, CourseTypePopoverProps, CreateCourseButton, CreateCourseButtonProps, CourseContentMenu, CourseContentMenuProps, CourseDashboard, TeacherCourseDashboardProps, TeacherSkeleton, StudentCourseDashboardProps, StudentSkeleton, CreateEventButton, CreateEventButtonProps, CreateEventWidget, CreateEventWidgetProps, CreateEventWidgetSkeleton, CreateGroupButton, EventForm, EventFormProps, EventFormDialog, EventFormDialogProps, CreateGroupButtonProps, CustomAdv, CustomAdvProps, CustomAdvSkeleton, DEFAULT_FIELDS, DEFAULT_PAGINATION_LIMIT, DEFAULT_PAGINATION_OFFSET, DEFAULT_PAGINATION_QUERY_PARAM_NAME, DEFAULT_PRELOAD_OFFSET_VIEWPORT, DEFAULT_WIDGETS_NUMBER, DefaultDrawerContent, DefaultDrawerContentProps, DefaultHeaderContent, DefaultHeaderContentProps, DefaultDrawerSkeleton, DefaultDrawerSkeletonProps, EditEventButton, EditEventButtonProps, EditGroupButton, EditGroupButtonProps, EditMediaProps, Editor, EditorProps, EditorSkeleton, EmailTextField, EditCourse, EditCourseProps, EditCourseSkeleton, Event, EventActionsMenu, EventActionsMenuProps, EventHeader, EventHeaderProps, EventHeaderSkeleton, EventInfoDetails, EventInfoDetailsProps, EventInfoWidget, EventInfoWidgetProps, EventInviteButton, EventInviteButtonProps, EventLocationWidget, EventLocationWidgetProps, EventLocationWidgetSkeleton, EventMediaWidget, EventMediaWidgetProps, EventMediaWidgetSkeleton, EventMembersWidget, EventMembersWidgetProps, EventMembersWidgetSkeleton, EventParticipantsButton, EventParticipantsButtonProps, EventProps, Events, EventSkeleton, EventSkeletonProps, EventsProps, EventsSkeleton, EventsSkeletonProps, FACEBOOK_SHARE, Feed, FeedObject, FeedObjectMediaPreview, FeedObjectMediaPreviewProps, FeedObjectProps, FeedObjectSkeleton, FeedProps, FeedRef, FeedSidebarProps, FeedSkeleton, FeedUpdatesWidget, FeedUpdatesWidgetProps, FeedUpdatesWidgetSkeleton, File, FollowUserButton, FollowUserButtonProps, Footer, FooterProps, FooterSkeleton, FriendshipButtonProps, FriendshipUserButton, GenericSkeleton, getRelativeTime, getUnseenNotification, getUnseenNotificationCounter, getUrlLesson, Group, GroupActionsMenu, GroupActionsMenuProps, GroupForm, GroupFormProps, GroupHeader, GroupHeaderProps, GroupHeaderSkeleton, GroupInfoWidget, GroupInfoWidgetProps, GroupInfoWidgetSkeleton, GroupInviteButton, GroupInviteButtonProps, GroupInvitedWidget, GroupInvitedWidgetProps, GroupInvitedWidgetSkeleton, GroupMembersButton, GroupMembersButtonProps, GroupMembersWidget, GroupMembersWidgetProps, GroupMembersWidgetSkeleton, GroupProps, GroupRequestsWidget, GroupRequestsWidgetProps, GroupRequestsWidgetSkeleton, Groups, GroupSettingsIconButton, GroupSettingsIconButtonProps, GroupSkeleton, GroupsProps, GroupsSkeleton, GroupSubscribeButton, GroupSubscribeButtonProps, AccordionLessons, AccordionLessonsProps, AccordionLessonsSkeleton, AddUsersButton, AddUsersButtonProps, CourseUsersTable, CourseUsersTableProps, CourseUsersTableSkeleton, EmptyStatus, EmptyStatusProps, HiddenPlaceholder, Incubator, IncubatorDetail, IncubatorDetailProps, IncubatorListWidget, IncubatorListWidgetProps, IncubatorProps, IncubatorSubscribeButton, IncubatorSubscribeButtonProps, IncubatorSuggestionWidget, IncubatorSuggestionWidgetProps, InfiniteScroll, ScrollContainer, InlineComposerWidget, InlineComposerWidgetProps, InlineComposerWidgetSkeleton, InviteUserEventButton, LeaderboardInfoWidget, LeaderboardInfoWidgetProps, LeaderboardPositionWidget, LeaderboardPositionWidgetProps, LeaderboardPositionWidgetSkeleton, LeaderboardWidget, LeaderboardWidgetProps, LeaderboardWidgetSkeleton, LeaderboardWidgetVariant, LessonAppbar, LessonAppbarProps, LessonDrawer, LessonDrawerProps, LessonEditForm, LessonEditFormProps, LessonObject, LessonObjectProps, InviteUserEventButtonProps, LanguageSwitcher, LEGAL_POLICIES, CourseCompletedDialog, CourseCompletedDialogProps, Lightbox, LightboxProps, Link, LINKEDIN_SHARE, LocationAutocomplete, LocationAutocompleteProps, LogoSelfCommunity, DefaultCoverSelfCommunity, LoyaltyProgramWidget, LoyaltyProgramWidgetProps, LoyaltyProgramWidgetSkeleton, MAX_PRELOAD_OFFSET_VIEWPORT, MEDIA_EMBED_SC_LINK_TYPE, MEDIA_EMBED_SC_SHARED_EVENT, MEDIA_EMBED_SC_SHARED_OBJECT, MEDIA_TYPE_DOCUMENT, MEDIA_TYPE_EMBED, MEDIA_TYPE_EVENT, MEDIA_TYPE_IMAGE, MEDIA_TYPE_LINK, MEDIA_TYPE_SHARE, MEDIA_TYPE_URL, MEDIA_TYPE_VIDEO, SCCourseFormStepType, MediaChunkUploader, MediaChunkUploaderProps, MessageUploaderUtils, MetadataField, MetadataFieldProps, MIN_PRELOAD_OFFSET_VIEWPORT, MyEventsWidget, MyEventsWidgetProps, MyEventsWidgetSkeleton, NavigationMenuContent, NavigationMenuDrawer, NavigationMenuDrawerProps, NavigationMenuHeader, NavigationMenuIconButton, NavigationMenuIconButtonProps, NavigationSettingsIconButton, NavigationSettingsIconButtonProps, NavigationSettingsItem, NavigationToolbar, NavigationToolbarMobile, NavigationToolbarMobileProps, NavigationToolbarMobileSkeleton, NavigationToolbarProps, NavigationToolbarSkeleton, Notification, NotificationProps, NotificationSkeleton, OnBoardingWidget, OnBoardingWidgetProps, OnBoardingWidgetSkeleton, PasswordTextField, PhoneTextField, PlatformWidget, PlatformWidgetActionType, PlatformWidgetProps, PlatformWidgetSkeleton, PollSuggestionWidget, PollSuggestionWidgetProps, PrivateMessageComponent, PrivateMessageComponentProps, PrivateMessageComponentSkeleton, PrivateMessageEditor, PrivateMessageEditorProps, PrivateMessageEditorSkeleton, PrivateMessageSettingsIconButton, PrivateMessageSettingsIconButtonProps, PrivateMessageSnippetItem, PrivateMessageSnippetItemProps, PrivateMessageSnippetItemSkeleton, PrivateMessageSnippets, PrivateMessageSnippetsProps, PrivateMessageSnippetsSkeleton, PrivateMessageThread, PrivateMessageThreadItem, PrivateMessageThreadItemProps, PrivateMessageThreadItemSkeleton, PrivateMessageThreadProps, PrivateMessageThreadSkeleton, ProgressBar, ProgressBarProps, RelatedEventsWidget, RelatedEventsWidgetProps, RelatedEventsWidgetSkeleton, RelatedFeedObjectsWidget, RelatedFeedObjectsWidgetSkeleton, RelatedFeedObjectWidgetProps, ReplyComment, SCBroadcastMessageTemplateType, SCCommentsOrderBy, SCEventMembersEventType, SCEventTemplateType, SCFeedObjectActivitiesType, SCFeedObjectTemplateType, SCFeedWidgetType, SCGroupMembersEventType, SCMediaChunkType, SCMediaObjectType, SCNotificationObjectTemplateType, SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations, SearchAutocomplete, SearchAutocompleteProps, SearchDialog, SearchDialogProps, Share, SnippetNotifications, SnippetNotificationsProps, SnippetNotificationsSkeleton, StickyBox, StickyBoxComponent, StickyBoxProps, SuggestedEventsWidget, TagAutocomplete, TagAutocompleteProps, SuggestedEventsWidgetProps, SuggestedEventsWidgetSkeleton, TagChip, TagChipProps, ToastNotifications, ToastNotificationsProps, ToastNotificationsSkeleton, UrlTextField, User, UserActionIconButton, UserActionIconButtonProps, UserAvatar, UserAvatarProps, UserConnectionsRequestsSentWidget, UserConnectionsRequestsSentWidgetProps, UserConnectionsRequestsSentWidgetSkeleton, UserConnectionsRequestsWidget, UserConnectionsRequestsWidgetProps, UserConnectionsRequestsWidgetSkeleton, UserConnectionsWidget, UserConnectionsWidgetProps, UserConnectionsWidgetSkeleton, UserCounters, UserCountersProps, UserCreatedCoursesWidget, UserCreatedCoursesWidgetProps, UserCreatedCoursesWidgetSkeleton, UserDeletedSnackBar, UserDeletedSnackBarProps, UserFollowedCategoriesWidget, UserFollowedCategoriesWidgetProps, UserFollowedCategoriesWidgetSkeleton, UserFollowedUsersWidget, UserFollowedUsersWidgetProps, UserFollowedUsersWidgetSkeleton, UserFollowersWidget, UserFollowersWidgetProps, UserFollowersWidgetSkeleton, UserInfo, UserInfoDialog, UserInfoDialogProps, UserInfoProps, UserInfoSkeleton, UsernameTextField, UserProfileBlocked, UserProfileBlockedProps, UserProfileEdit, UserProfileEditProps, UserProfileEditSectionAccount, UserProfileEditSectionAccountProps, UserProfileEditSectionPublicInfo, UserProfileEditSectionPublicInfoProps, UserProfileEditSectionSettings, UserProfileEditSectionSettingsProps, UserProfileEditSkeleton, UserProfileHeader, UserProfileHeaderProps, UserProfileHeaderSkeleton, UserAutocomplete, UserAutocompleteProps, UserProps, UserSkeleton, UserSocialAssociation, UserSocialAssociationProps, UserSubscribedGroupsWidget, UserSubscribedGroupsWidgetProps, UserSubscribedGroupsWidgetSkeleton, UserSuggestionWidget, UserSuggestionWidgetProps, UserSuggestionWidgetSkeleton, UserLiveStreamWidget, UserLiveStreamWidgetProps, UserLiveStreamWidgetSkeleton, UserPaymentMethodsPortal, UserPaymentMethodsPortalProps, UserPaymentMethodsPortalSkeleton, useStickyBox, UseStickyBoxProps, LiveStream, LiveStreamProps, LiveStreamSkeletonProps, LiveStreamSkeleton, LiveStreamInfoDetails, LiveStreamInfoDetailsProps, UpScalingTierBadge, UpScalingTierProps, CreateLiveStreamDialog, CreateLiveStreamDialogProps, CreateLiveStreamButton, CreateLiveStreamButtonProps, LiveStreamForm, LiveStreamFormProps, LiveStreamRoom, LiveStreamRoomProps, LiveStreamVideoConference, LiveStreamVideoConferenceProps, VirtualScrollerItemProps, SCCourseTemplateType, SCLessonActionsType, SCLessonModeType, Widget, WidgetProps, X_SHARE, PROVIDER_ICONS_CONTAINED, PROVIDER_ICONS_OUTLINED, PROVIDER_ENTRAID_ALTERNATIVE_NAME, getDefaultLocale, getDefaultPaymentMethodConfiguration, getDefaultAppearanceStyle, getConvertedAmount, PaywallsDialog, PaywallsDialogProps, PaywallsConfigurator, PaywallsConfiguratorProps, PaywallsConfiguratorSkeleton, PaymentProducts, PaymentProductsProps, PaymentProduct, PaymentProductProps, PaymentOrder, PaymentOrderProps, PaymentOrderPdfButton, PaymentOrderPdfButtonProps, PaymentDetailDialog, PaymentDetailDialogProps, PaymentOrders, PaymentOrdersProps, PaymentProductPrice, PaymentProductPriceProps, PdfPreviewDialog, PdfPreviewDialogProps, PdfPreview, PdfPreviewProps, UserPaymentMethods, UserPaymentMethodsProps, UserPaymentMethodsSkeleton, UserAddPaymentMethodForm, UserAddPaymentMethodFormProps, UserAddPaymentMethodDialog, UserAddPaymentMethodDialogProps, UserChangeAddressDialog, UserChangeAddressDialogProps, UserBillingInfo, UserBillingInfoProps, UserBillingInfoSkeleton, Checkout, CheckoutProps, CheckoutReturnDialog, CheckoutReturnDialogProps, HiddenPurchasableContent, CommunityPaywalls, CommunityPaywallsProps, CommunityPaywallsSkeleton, FooterWidget, FooterWidgetProps };
|
package/lib/cjs/index.js
CHANGED
|
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CommentsObject = exports.CommentsFeedObjectSkeleton = exports.CommentsFeedObject = exports.CommentObjectSkeleton = exports.CommentObjectReply = exports.CommentObject = exports.ChangePicture = exports.ChangeGroupPicture = exports.ChangeGroupCover = exports.ChangeCover = exports.CentralProgress = exports.CategoryTrendingUsersWidget = exports.CategoryTrendingPeopleWidgetSkeleton = exports.CategoryTrendingFeedWidgetSkeleton = exports.CategoryTrendingFeedWidget = exports.CategorySkeleton = exports.CategoryHeaderSkeleton = exports.CategoryHeader = exports.CategoryFollowersButton = exports.CategoryFollowButton = exports.CategoryAutocomplete = exports.Category = exports.CategoriesSuggestionWidgetSkeleton = exports.CategoriesSuggestionWidget = exports.CategoriesSkeleton = exports.CategoriesPopularWidgetSkeleton = exports.CategoriesPopularWidget = exports.Categories = exports.Calendar = exports.encodePassphrase = exports.decodePassphrase = exports.randomString = exports.generateRoomId = exports.bytesToSize = exports.BroadcastMessagesSkeleton = exports.BroadcastMessages = exports.BottomNavigation = exports.BaseLightbox = exports.BaseItem = exports.BaseDialog = exports.AvatarGroupSkeleton = exports.AccountVerify = exports.AccountReset = exports.AccountRecover = exports.AccountDeleteButton = exports.AccountDelete = exports.AccountDataPortabilityButton = exports.AccountDataPortability = exports.AccountChangeMailValidation = exports.AcceptRequestUserEventButton = void 0;
|
|
4
4
|
exports.EventInfoDetails = exports.EventHeaderSkeleton = exports.EventHeader = exports.EventActionsMenu = exports.Event = exports.EditCourseSkeleton = exports.EditCourse = exports.EmailTextField = exports.EditorSkeleton = exports.Editor = exports.EditGroupButton = exports.EditEventButton = exports.DefaultDrawerSkeleton = exports.DefaultHeaderContent = exports.DefaultDrawerContent = exports.DEFAULT_WIDGETS_NUMBER = exports.DEFAULT_PRELOAD_OFFSET_VIEWPORT = exports.DEFAULT_PAGINATION_QUERY_PARAM_NAME = exports.DEFAULT_PAGINATION_OFFSET = exports.DEFAULT_PAGINATION_LIMIT = exports.DEFAULT_FIELDS = exports.CustomAdvSkeleton = exports.CustomAdv = exports.EventFormDialog = exports.EventForm = exports.CreateGroupButton = exports.CreateEventWidgetSkeleton = exports.CreateEventWidget = exports.CreateEventButton = exports.StudentSkeleton = exports.TeacherSkeleton = exports.CourseDashboard = exports.CourseContentMenu = exports.CreateCourseButton = exports.CourseTypePopover = exports.CoursesSkeleton = exports.Courses = exports.CourseJoinButton = exports.CourseSkeleton = exports.Course = exports.SCCourseEditTabType = exports.ContributionUtils = exports.ConsentSolutionSkeleton = exports.ConsentSolutionButton = exports.ConsentSolution = exports.ConnectionUserButton = exports.ConfirmDialog = exports.ComposerIconButton = exports.Composer = exports.CommentsObjectSkeleton = void 0;
|
|
5
5
|
exports.GroupSubscribeButton = exports.GroupsSkeleton = exports.GroupSkeleton = exports.GroupSettingsIconButton = exports.Groups = exports.GroupRequestsWidgetSkeleton = exports.GroupRequestsWidget = exports.GroupMembersWidgetSkeleton = exports.GroupMembersWidget = exports.GroupMembersButton = exports.GroupInvitedWidgetSkeleton = exports.GroupInvitedWidget = exports.GroupInviteButton = exports.GroupInfoWidgetSkeleton = exports.GroupInfoWidget = exports.GroupHeaderSkeleton = exports.GroupHeader = exports.GroupForm = exports.GroupActionsMenu = exports.Group = exports.getUrlLesson = exports.getUnseenNotificationCounter = exports.getUnseenNotification = exports.getRelativeTime = exports.GenericSkeleton = exports.FriendshipUserButton = exports.FooterSkeleton = exports.Footer = exports.FollowUserButton = exports.File = exports.FeedUpdatesWidgetSkeleton = exports.FeedUpdatesWidget = exports.FeedSkeleton = exports.FeedObjectSkeleton = exports.FeedObjectMediaPreview = exports.FeedObject = exports.Feed = exports.FACEBOOK_SHARE = exports.EventsSkeleton = exports.EventSkeleton = exports.Events = exports.EventParticipantsButton = exports.EventMembersWidgetSkeleton = exports.EventMembersWidget = exports.EventMediaWidgetSkeleton = exports.EventMediaWidget = exports.EventLocationWidgetSkeleton = exports.EventLocationWidget = exports.EventInviteButton = exports.EventInfoWidget = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
6
|
+
exports.SCCourseFormStepType = exports.MEDIA_TYPE_VIDEO = exports.MEDIA_TYPE_URL = exports.MEDIA_TYPE_SHARE = exports.MEDIA_TYPE_LINK = exports.MEDIA_TYPE_IMAGE = exports.MEDIA_TYPE_EVENT = exports.MEDIA_TYPE_EMBED = exports.MEDIA_TYPE_DOCUMENT = exports.MEDIA_EMBED_SC_SHARED_OBJECT = exports.MEDIA_EMBED_SC_SHARED_EVENT = exports.MEDIA_EMBED_SC_LINK_TYPE = exports.MAX_PRELOAD_OFFSET_VIEWPORT = exports.LoyaltyProgramWidgetSkeleton = exports.LoyaltyProgramWidget = exports.DefaultCoverSelfCommunity = exports.LogoSelfCommunity = exports.LocationAutocomplete = exports.LINKEDIN_SHARE = exports.Link = exports.Lightbox = exports.CourseCompletedDialog = exports.LEGAL_POLICIES = exports.LanguageSwitcher = exports.LessonObject = exports.LessonEditForm = exports.LessonDrawer = exports.LessonAppbar = exports.LeaderboardWidgetSkeleton = exports.LeaderboardWidget = exports.LeaderboardPositionWidgetSkeleton = exports.LeaderboardPositionWidget = exports.LeaderboardInfoWidget = exports.InviteUserEventButton = exports.InlineComposerWidgetSkeleton = exports.InlineComposerWidget = exports.ScrollContainer = exports.InfiniteScroll = exports.IncubatorSuggestionWidget = exports.IncubatorSubscribeButton = exports.IncubatorListWidget = exports.IncubatorDetail = exports.Incubator = exports.HiddenPlaceholder = exports.EmptyStatus = exports.CourseUsersTableSkeleton = exports.CourseUsersTable = exports.AddUsersButton = exports.AccordionLessonsSkeleton = exports.AccordionLessons = void 0;
|
|
7
|
+
exports.SCUserProfileFields = exports.SCNotificationObjectTemplateType = exports.SCFeedObjectTemplateType = exports.SCFeedObjectActivitiesType = exports.SCEventTemplateType = exports.SCCommentsOrderBy = exports.SCBroadcastMessageTemplateType = exports.ReplyComment = exports.RelatedFeedObjectsWidgetSkeleton = exports.RelatedFeedObjectsWidget = exports.RelatedEventsWidgetSkeleton = exports.RelatedEventsWidget = exports.ProgressBar = exports.PrivateMessageThreadSkeleton = exports.PrivateMessageThreadItemSkeleton = exports.PrivateMessageThreadItem = exports.PrivateMessageThread = exports.PrivateMessageSnippetsSkeleton = exports.PrivateMessageSnippets = exports.PrivateMessageSnippetItemSkeleton = exports.PrivateMessageSnippetItem = exports.PrivateMessageSettingsIconButton = exports.PrivateMessageEditorSkeleton = exports.PrivateMessageEditor = exports.PrivateMessageComponentSkeleton = exports.PrivateMessageComponent = exports.PollSuggestionWidget = exports.PlatformWidgetSkeleton = exports.PlatformWidget = exports.PhoneTextField = exports.PasswordTextField = exports.OnBoardingWidgetSkeleton = exports.OnBoardingWidget = exports.NotificationSkeleton = exports.Notification = exports.NavigationToolbarSkeleton = exports.NavigationToolbarMobileSkeleton = exports.NavigationToolbarMobile = exports.NavigationToolbar = exports.NavigationSettingsIconButton = exports.NavigationMenuIconButton = exports.NavigationMenuHeader = exports.NavigationMenuDrawer = exports.NavigationMenuContent = exports.MyEventsWidgetSkeleton = exports.MyEventsWidget = exports.MIN_PRELOAD_OFFSET_VIEWPORT = exports.MetadataField = exports.MessageUploaderUtils = exports.MediaChunkUploader = void 0;
|
|
8
|
+
exports.UserSubscribedGroupsWidget = exports.UserSocialAssociation = exports.UserSkeleton = exports.UserAutocomplete = exports.UserProfileHeaderSkeleton = exports.UserProfileHeader = exports.UserProfileEditSkeleton = exports.UserProfileEditSectionSettings = exports.UserProfileEditSectionPublicInfo = exports.UserProfileEditSectionAccount = exports.UserProfileEdit = exports.UserProfileBlocked = exports.UsernameTextField = exports.UserInfoSkeleton = exports.UserInfoDialog = exports.UserInfo = exports.UserFollowersWidgetSkeleton = exports.UserFollowersWidget = exports.UserFollowedUsersWidgetSkeleton = exports.UserFollowedUsersWidget = exports.UserFollowedCategoriesWidgetSkeleton = exports.UserFollowedCategoriesWidget = exports.UserDeletedSnackBar = exports.UserCreatedCoursesWidgetSkeleton = exports.UserCreatedCoursesWidget = exports.UserCounters = exports.UserConnectionsWidgetSkeleton = exports.UserConnectionsWidget = exports.UserConnectionsRequestsWidgetSkeleton = exports.UserConnectionsRequestsWidget = exports.UserConnectionsRequestsSentWidgetSkeleton = exports.UserConnectionsRequestsSentWidget = exports.UserAvatar = exports.UserActionIconButton = exports.User = exports.UrlTextField = exports.ToastNotificationsSkeleton = exports.ToastNotifications = exports.TagChip = exports.SuggestedEventsWidgetSkeleton = exports.TagAutocomplete = exports.SuggestedEventsWidget = exports.StickyBox = exports.SnippetNotificationsSkeleton = exports.SnippetNotifications = exports.Share = exports.SearchDialog = exports.SearchAutocomplete = exports.SCUserSocialAssociations = exports.SCUserProfileSettings = void 0;
|
|
9
|
+
exports.CheckoutReturnDialog = exports.Checkout = exports.UserBillingInfoSkeleton = exports.UserBillingInfo = exports.UserChangeAddressDialog = exports.UserAddPaymentMethodDialog = exports.UserAddPaymentMethodForm = exports.UserPaymentMethodsSkeleton = exports.UserPaymentMethods = exports.PdfPreview = exports.PdfPreviewDialog = exports.PaymentProductPrice = exports.PaymentOrders = exports.PaymentDetailDialog = exports.PaymentOrderPdfButton = exports.PaymentOrder = exports.PaymentProduct = exports.PaymentProducts = exports.PaywallsConfiguratorSkeleton = exports.PaywallsConfigurator = exports.PaywallsDialog = exports.getConvertedAmount = exports.getDefaultAppearanceStyle = exports.getDefaultPaymentMethodConfiguration = exports.getDefaultLocale = exports.PROVIDER_ENTRAID_ALTERNATIVE_NAME = exports.PROVIDER_ICONS_OUTLINED = exports.PROVIDER_ICONS_CONTAINED = exports.X_SHARE = exports.Widget = exports.SCLessonModeType = exports.SCLessonActionsType = exports.SCCourseTemplateType = exports.LiveStreamVideoConference = exports.LiveStreamRoom = exports.LiveStreamForm = exports.CreateLiveStreamButton = exports.CreateLiveStreamDialog = exports.UpScalingTierBadge = exports.LiveStreamInfoDetails = exports.LiveStreamSkeleton = exports.LiveStream = exports.useStickyBox = exports.UserPaymentMethodsPortalSkeleton = exports.UserPaymentMethodsPortal = exports.UserLiveStreamWidgetSkeleton = exports.UserLiveStreamWidget = exports.UserSuggestionWidgetSkeleton = exports.UserSuggestionWidget = exports.UserSubscribedGroupsWidgetSkeleton = void 0;
|
|
10
|
+
exports.FooterWidget = exports.CommunityPaywallsSkeleton = exports.CommunityPaywalls = exports.HiddenPurchasableContent = void 0;
|
|
10
11
|
const tslib_1 = require("tslib");
|
|
11
12
|
/**
|
|
12
13
|
* Components
|
|
@@ -222,6 +223,14 @@ exports.InlineComposerWidget = InlineComposerWidget_1.default;
|
|
|
222
223
|
Object.defineProperty(exports, "InlineComposerWidgetSkeleton", { enumerable: true, get: function () { return InlineComposerWidget_1.InlineComposerWidgetSkeleton; } });
|
|
223
224
|
const InviteUserEventButton_1 = tslib_1.__importDefault(require("./components/InviteUserEventButton"));
|
|
224
225
|
exports.InviteUserEventButton = InviteUserEventButton_1.default;
|
|
226
|
+
const LeaderboardInfoWidget_1 = tslib_1.__importDefault(require("./components/LeaderboardInfoWidget"));
|
|
227
|
+
exports.LeaderboardInfoWidget = LeaderboardInfoWidget_1.default;
|
|
228
|
+
const LeaderboardPositionWidget_1 = tslib_1.__importStar(require("./components/LeaderboardPositionWidget"));
|
|
229
|
+
exports.LeaderboardPositionWidget = LeaderboardPositionWidget_1.default;
|
|
230
|
+
Object.defineProperty(exports, "LeaderboardPositionWidgetSkeleton", { enumerable: true, get: function () { return LeaderboardPositionWidget_1.LeaderboardPositionWidgetSkeleton; } });
|
|
231
|
+
const LeaderboardWidget_1 = tslib_1.__importStar(require("./components/LeaderboardWidget"));
|
|
232
|
+
exports.LeaderboardWidget = LeaderboardWidget_1.default;
|
|
233
|
+
Object.defineProperty(exports, "LeaderboardWidgetSkeleton", { enumerable: true, get: function () { return LeaderboardWidget_1.LeaderboardWidgetSkeleton; } });
|
|
225
234
|
const LessonAppbar_1 = tslib_1.__importDefault(require("./components/LessonAppbar"));
|
|
226
235
|
exports.LessonAppbar = LessonAppbar_1.default;
|
|
227
236
|
const LessonDrawer_1 = tslib_1.__importDefault(require("./components/LessonDrawer"));
|
|
@@ -0,0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Q5NTcgNS4yNUMzLjc0OTU3IDMuNTkzMTUgNS4wOTI4MiAyLjI1IDYuNzQ5ODEgMi4yNUM4LjQwNjggMi4yNSA5Ljc1MDA1IDMuNTkzMTUgOS43NTAwNSA1LjI1WiIgc3Ryb2tlPSIjMTU1REZDIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { WidgetProps } from '../Widget';
|
|
2
|
+
export type LeaderboardInfoWidgetProps = WidgetProps;
|
|
3
|
+
/**
|
|
4
|
+
* > API documentation for the Community-JS Leaderboard Info Widget component. Learn about the available props and the CSS API.
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* This component renders a widget explaining how a user can climb the leaderboard.
|
|
8
|
+
|
|
9
|
+
#### Import
|
|
10
|
+
|
|
11
|
+
```jsx
|
|
12
|
+
import {LeaderboardInfoWidget} from '@selfcommunity/react-ui';
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
#### Component Name
|
|
16
|
+
|
|
17
|
+
The name `SCLeaderboardInfoWidget` can be used when providing style overrides in the theme.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#### CSS
|
|
21
|
+
|
|
22
|
+
|Rule Name|Global class|Description|
|
|
23
|
+
|---|---|---|
|
|
24
|
+
|root|.SCLeaderboardInfoWidget-root|Styles applied to the root element.|
|
|
25
|
+
|title|.SCLeaderboardInfoWidget-title|Styles applied to the title element.|
|
|
26
|
+
|itemList|.SCLeaderboardInfoWidget-item-list|Styles applied to the list of items.|
|
|
27
|
+
|item|.SCLeaderboardInfoWidget-item|Styles applied to the single item element.|
|
|
28
|
+
|itemIcon|.SCLeaderboardInfoWidget-item-icon|Styles applied to the icon of the single item.|
|
|
29
|
+
|itemIconGlyph|.SCLeaderboardInfoWidget-item-icon-glyph|Styles applied to the icon glyph (CSS mask) of the single item.|
|
|
30
|
+
|itemContent|.SCLeaderboardInfoWidget-item-content|Styles applied to the content of the single item.|
|
|
31
|
+
|itemTitle|.SCLeaderboardInfoWidget-item-title|Styles applied to the title of the single item.|
|
|
32
|
+
|itemDescription|.SCLeaderboardInfoWidget-item-description|Styles applied to the description of the single item.|
|
|
33
|
+
*
|
|
34
|
+
* @param inProps
|
|
35
|
+
*/
|
|
36
|
+
export default function LeaderboardInfoWidget(inProps: LeaderboardInfoWidgetProps): JSX.Element;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Avatar, Box, CardContent, Stack, Typography, styled } from '@mui/material';
|
|
4
|
+
import { FormattedMessage } from 'react-intl';
|
|
5
|
+
import classNames from 'classnames';
|
|
6
|
+
import Widget from '../Widget';
|
|
7
|
+
import { useThemeProps } from '@mui/system';
|
|
8
|
+
import { PREFIX } from './constants';
|
|
9
|
+
import editIcon from '../../assets/leaderboard/edit';
|
|
10
|
+
import starIcon from '../../assets/leaderboard/star';
|
|
11
|
+
import usersIcon from '../../assets/leaderboard/users';
|
|
12
|
+
import trophyIcon from '../../assets/leaderboard/trophy';
|
|
13
|
+
const classes = {
|
|
14
|
+
root: `${PREFIX}-root`,
|
|
15
|
+
title: `${PREFIX}-title`,
|
|
16
|
+
itemList: `${PREFIX}-item-list`,
|
|
17
|
+
item: `${PREFIX}-item`,
|
|
18
|
+
itemIcon: `${PREFIX}-item-icon`,
|
|
19
|
+
itemIconGlyph: `${PREFIX}-item-icon-glyph`,
|
|
20
|
+
itemContent: `${PREFIX}-item-content`,
|
|
21
|
+
itemTitle: `${PREFIX}-item-title`,
|
|
22
|
+
itemDescription: `${PREFIX}-item-description`
|
|
23
|
+
};
|
|
24
|
+
const Root = styled(Widget, {
|
|
25
|
+
name: PREFIX,
|
|
26
|
+
slot: 'Root'
|
|
27
|
+
})(() => ({}));
|
|
28
|
+
const STEPS = [
|
|
29
|
+
{ id: 'createContent', icon: editIcon },
|
|
30
|
+
{ id: 'quality', icon: starIcon },
|
|
31
|
+
{ id: 'participate', icon: usersIcon },
|
|
32
|
+
{ id: 'challenges', icon: trophyIcon }
|
|
33
|
+
];
|
|
34
|
+
/**
|
|
35
|
+
* > API documentation for the Community-JS Leaderboard Info Widget component. Learn about the available props and the CSS API.
|
|
36
|
+
*
|
|
37
|
+
*
|
|
38
|
+
* This component renders a widget explaining how a user can climb the leaderboard.
|
|
39
|
+
|
|
40
|
+
#### Import
|
|
41
|
+
|
|
42
|
+
```jsx
|
|
43
|
+
import {LeaderboardInfoWidget} from '@selfcommunity/react-ui';
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Component Name
|
|
47
|
+
|
|
48
|
+
The name `SCLeaderboardInfoWidget` can be used when providing style overrides in the theme.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
#### CSS
|
|
52
|
+
|
|
53
|
+
|Rule Name|Global class|Description|
|
|
54
|
+
|---|---|---|
|
|
55
|
+
|root|.SCLeaderboardInfoWidget-root|Styles applied to the root element.|
|
|
56
|
+
|title|.SCLeaderboardInfoWidget-title|Styles applied to the title element.|
|
|
57
|
+
|itemList|.SCLeaderboardInfoWidget-item-list|Styles applied to the list of items.|
|
|
58
|
+
|item|.SCLeaderboardInfoWidget-item|Styles applied to the single item element.|
|
|
59
|
+
|itemIcon|.SCLeaderboardInfoWidget-item-icon|Styles applied to the icon of the single item.|
|
|
60
|
+
|itemIconGlyph|.SCLeaderboardInfoWidget-item-icon-glyph|Styles applied to the icon glyph (CSS mask) of the single item.|
|
|
61
|
+
|itemContent|.SCLeaderboardInfoWidget-item-content|Styles applied to the content of the single item.|
|
|
62
|
+
|itemTitle|.SCLeaderboardInfoWidget-item-title|Styles applied to the title of the single item.|
|
|
63
|
+
|itemDescription|.SCLeaderboardInfoWidget-item-description|Styles applied to the description of the single item.|
|
|
64
|
+
*
|
|
65
|
+
* @param inProps
|
|
66
|
+
*/
|
|
67
|
+
export default function LeaderboardInfoWidget(inProps) {
|
|
68
|
+
const props = useThemeProps({
|
|
69
|
+
props: inProps,
|
|
70
|
+
name: PREFIX
|
|
71
|
+
});
|
|
72
|
+
const { className } = props, rest = __rest(props, ["className"]);
|
|
73
|
+
return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: _jsxs(CardContent, { children: [_jsx(Typography, Object.assign({ variant: "h4", className: classes.title }, { children: _jsx(FormattedMessage, { id: "ui.leaderboardInfoWidget.title", defaultMessage: "ui.leaderboardInfoWidget.title" }) })), _jsx(Stack, Object.assign({ spacing: 2.5, className: classes.itemList, mt: 2 }, { children: STEPS.map((step) => (_jsxs(Stack, Object.assign({ direction: "row", spacing: 2, className: classes.item }, { children: [_jsx(Avatar, Object.assign({ className: classes.itemIcon }, { children: _jsx(Box, { component: "span", className: classes.itemIconGlyph, style: { maskImage: `url(${step.icon})`, WebkitMaskImage: `url(${step.icon})` } }) })), _jsxs(Stack, Object.assign({ className: classes.itemContent }, { children: [_jsx(Typography, Object.assign({ variant: "body1", fontWeight: 600, className: classes.itemTitle }, { children: _jsx(FormattedMessage, { id: `ui.leaderboardInfoWidget.${step.id}.title`, defaultMessage: `ui.leaderboardInfoWidget.${step.id}.title` }) })), _jsx(Typography, Object.assign({ variant: "body2", className: classes.itemDescription }, { children: _jsx(FormattedMessage, { id: `ui.leaderboardInfoWidget.${step.id}.description`, defaultMessage: `ui.leaderboardInfoWidget.${step.id}.description` }) }))] }))] }), step.id))) }))] }) })));
|
|
74
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCLeaderboardInfoWidget";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PREFIX = 'SCLeaderboardInfoWidget';
|