@selfcommunity/react-ui 0.8.0-live.80 → 0.8.0-live.85
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/onBoarding/android.d.ts +1 -1
- package/lib/cjs/assets/onBoarding/android.js +1 -1
- package/lib/cjs/components/CategoryFollowersButton/CategoryFollowersButton.d.ts +2 -2
- package/lib/cjs/components/CategoryFollowersButton/CategoryFollowersButton.js +20 -15
- package/lib/cjs/components/CommentObject/CommentObject.js +6 -3
- package/lib/cjs/components/CommentObjectReply/CommentObjectReply.js +4 -1
- package/lib/cjs/components/CreateEventButton/CreateEventButton.d.ts +1 -1
- package/lib/cjs/components/CreateEventButton/CreateEventButton.js +1 -1
- package/lib/cjs/components/EditEventButton/EditEventButton.js +2 -2
- package/lib/cjs/components/Editor/plugins/AutoLinkPlugin.js +7 -1
- package/lib/cjs/components/Event/Event.js +4 -4
- package/lib/cjs/components/EventForm/EventAddress.js +5 -8
- package/lib/cjs/components/EventForm/EventForm.js +32 -25
- package/lib/cjs/components/EventForm/constants.d.ts +4 -4
- package/lib/cjs/components/EventForm/constants.js +4 -4
- package/lib/cjs/components/EventForm/utils.d.ts +3 -3
- package/lib/cjs/components/EventForm/utils.js +8 -5
- package/lib/cjs/components/EventHeader/EventHeader.js +4 -35
- package/lib/cjs/components/EventInviteButton/EventInviteButton.js +5 -5
- package/lib/cjs/components/EventLocationWidget/EventLocationWidget.js +3 -7
- package/lib/cjs/components/EventMembersWidget/TabContentComponent.js +1 -1
- package/lib/cjs/components/EventParticipantsButton/EventParticipantsButton.js +9 -5
- package/lib/cjs/components/EventSubscribeButton/EventSubscribeButton.d.ts +2 -2
- package/lib/cjs/components/EventSubscribeButton/EventSubscribeButton.js +14 -16
- package/lib/cjs/components/Events/Events.js +12 -35
- package/lib/cjs/components/Events/PastEventsFilter.js +2 -12
- package/lib/cjs/components/FeedObject/Actions/Share/Share.js +1 -1
- package/lib/cjs/components/FeedObject/FeedObject.js +5 -6
- package/lib/cjs/components/GroupMembersButton/GroupMembersButton.d.ts +2 -2
- package/lib/cjs/components/GroupMembersButton/GroupMembersButton.js +20 -15
- package/lib/cjs/components/LiveStreamRoom/LiveStreamRoom.js +6 -1
- package/lib/cjs/components/NavigationMenuIconButton/DefaultDrawerContent.js +24 -2
- package/lib/cjs/components/NavigationToolbar/NavigationToolbar.js +1 -1
- package/lib/cjs/components/Notification/Comment/Comment.js +2 -2
- package/lib/cjs/components/Notification/Notification.js +1 -1
- package/lib/cjs/components/OnBoardingWidget/OnBoardingWidget.js +2 -2
- package/lib/cjs/components/OnBoardingWidget/Steps/App/App.js +2 -1
- package/lib/cjs/components/OnBoardingWidget/Steps/Appearance/Appearance.js +65 -104
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js +4 -7
- package/lib/cjs/components/SearchAutocomplete/SearchAutocomplete.js +3 -2
- package/lib/cjs/components/Skeleton/AvatarGroupSkeleton.js +4 -4
- package/lib/cjs/components/SuggestedEventsWidget/Arrow.js +2 -1
- package/lib/cjs/components/TagAutocomplete/TagAutocomplete.d.ts +44 -0
- package/lib/cjs/components/TagAutocomplete/TagAutocomplete.js +92 -0
- package/lib/cjs/components/TagAutocomplete/index.d.ts +3 -0
- package/lib/cjs/components/TagAutocomplete/index.js +5 -0
- package/lib/cjs/components/UserActionIconButton/UserActionIconButton.js +24 -2
- package/lib/cjs/components/UserProfileEdit/Section/PublicInfo.js +1 -1
- package/lib/cjs/components/UserProfileEdit/UserProfileEdit.d.ts +1 -1
- package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +1 -1
- package/lib/cjs/components/UserSocialAssociation/UserSocialAssociation.js +16 -4
- package/lib/cjs/constants/SocialShare.d.ts +12 -0
- package/lib/cjs/constants/SocialShare.js +15 -2
- package/lib/cjs/index.d.ts +3 -2
- package/lib/cjs/index.js +6 -2
- package/lib/cjs/shared/CopyTextArea/index.d.ts +10 -0
- package/lib/cjs/shared/CopyTextArea/index.js +77 -0
- package/lib/cjs/utils/buttonCounters.d.ts +1 -0
- package/lib/cjs/utils/buttonCounters.js +15 -0
- package/lib/cjs/utils/contribution.d.ts +7 -0
- package/lib/cjs/utils/contribution.js +13 -1
- package/lib/cjs/utils/string.js +1 -1
- package/lib/esm/assets/onBoarding/android.d.ts +1 -1
- package/lib/esm/assets/onBoarding/android.js +1 -1
- package/lib/esm/components/CategoryFollowersButton/CategoryFollowersButton.d.ts +2 -2
- package/lib/esm/components/CategoryFollowersButton/CategoryFollowersButton.js +20 -15
- package/lib/esm/components/CommentObject/CommentObject.js +8 -5
- package/lib/esm/components/CommentObjectReply/CommentObjectReply.js +5 -2
- package/lib/esm/components/CreateEventButton/CreateEventButton.d.ts +1 -1
- package/lib/esm/components/CreateEventButton/CreateEventButton.js +1 -1
- package/lib/esm/components/EditEventButton/EditEventButton.js +2 -2
- package/lib/esm/components/Editor/plugins/AutoLinkPlugin.js +7 -1
- package/lib/esm/components/Event/Event.js +4 -4
- package/lib/esm/components/EventForm/EventAddress.js +6 -9
- package/lib/esm/components/EventForm/EventForm.js +32 -25
- package/lib/esm/components/EventForm/constants.d.ts +4 -4
- package/lib/esm/components/EventForm/constants.js +4 -4
- package/lib/esm/components/EventForm/utils.d.ts +3 -3
- package/lib/esm/components/EventForm/utils.js +8 -5
- package/lib/esm/components/EventHeader/EventHeader.js +5 -36
- package/lib/esm/components/EventInviteButton/EventInviteButton.js +5 -5
- package/lib/esm/components/EventLocationWidget/EventLocationWidget.js +5 -9
- package/lib/esm/components/EventMembersWidget/TabContentComponent.js +1 -1
- package/lib/esm/components/EventParticipantsButton/EventParticipantsButton.js +9 -5
- package/lib/esm/components/EventSubscribeButton/EventSubscribeButton.d.ts +2 -2
- package/lib/esm/components/EventSubscribeButton/EventSubscribeButton.js +16 -18
- package/lib/esm/components/Events/Events.js +11 -34
- package/lib/esm/components/Events/PastEventsFilter.js +2 -12
- package/lib/esm/components/FeedObject/Actions/Share/Share.js +1 -1
- package/lib/esm/components/FeedObject/FeedObject.js +5 -6
- package/lib/esm/components/GroupMembersButton/GroupMembersButton.d.ts +2 -2
- package/lib/esm/components/GroupMembersButton/GroupMembersButton.js +20 -15
- package/lib/esm/components/LiveStreamRoom/LiveStreamRoom.js +8 -3
- package/lib/esm/components/NavigationMenuIconButton/DefaultDrawerContent.js +27 -5
- package/lib/esm/components/NavigationToolbar/NavigationToolbar.js +1 -1
- package/lib/esm/components/Notification/Comment/Comment.js +2 -2
- package/lib/esm/components/Notification/Notification.js +1 -1
- package/lib/esm/components/OnBoardingWidget/OnBoardingWidget.js +2 -2
- package/lib/esm/components/OnBoardingWidget/Steps/App/App.js +2 -1
- package/lib/esm/components/OnBoardingWidget/Steps/Appearance/Appearance.js +67 -106
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +4 -7
- package/lib/esm/components/SearchAutocomplete/SearchAutocomplete.js +3 -2
- package/lib/esm/components/Skeleton/AvatarGroupSkeleton.js +4 -4
- package/lib/esm/components/SuggestedEventsWidget/Arrow.js +2 -1
- package/lib/esm/components/TagAutocomplete/TagAutocomplete.d.ts +44 -0
- package/lib/esm/components/TagAutocomplete/TagAutocomplete.js +90 -0
- package/lib/esm/components/TagAutocomplete/index.d.ts +3 -0
- package/lib/esm/components/TagAutocomplete/index.js +2 -0
- package/lib/esm/components/UserActionIconButton/UserActionIconButton.js +24 -2
- package/lib/esm/components/UserProfileEdit/Section/PublicInfo.js +1 -1
- package/lib/esm/components/UserProfileEdit/UserProfileEdit.d.ts +1 -1
- package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +1 -1
- package/lib/esm/components/UserSocialAssociation/UserSocialAssociation.js +18 -6
- package/lib/esm/constants/SocialShare.d.ts +12 -0
- package/lib/esm/constants/SocialShare.js +13 -0
- package/lib/esm/index.d.ts +3 -2
- package/lib/esm/index.js +3 -2
- package/lib/esm/shared/CopyTextArea/index.d.ts +10 -0
- package/lib/esm/shared/CopyTextArea/index.js +74 -0
- package/lib/esm/utils/buttonCounters.d.ts +1 -0
- package/lib/esm/utils/buttonCounters.js +11 -0
- package/lib/esm/utils/contribution.d.ts +7 -0
- package/lib/esm/utils/contribution.js +11 -0
- package/lib/esm/utils/string.js +1 -1
- package/lib/umd/2aa155858f48b8f3911a.eot +0 -0
- package/lib/umd/36f3af7f155d916c26ff.woff2 +0 -0
- package/lib/umd/749.js +2 -0
- package/lib/umd/80884d7cc0fcb1a47982.svg +1 -0
- package/lib/umd/a221d3aba0f6753cfbb7.ttf +0 -0
- package/lib/umd/assets/icons.svg +251 -0
- package/lib/umd/c3528e120c4e831db2ae.woff +0 -0
- package/lib/umd/react-ui.js +1 -1
- package/package.json +9 -8
- package/lib/cjs/components/OnBoardingWidget/Steps/Appearance/reducer.d.ts +0 -15
- package/lib/cjs/components/OnBoardingWidget/Steps/Appearance/reducer.js +0 -42
- package/lib/esm/components/OnBoardingWidget/Steps/Appearance/reducer.d.ts +0 -15
- package/lib/esm/components/OnBoardingWidget/Steps/Appearance/reducer.js +0 -37
- package/lib/umd/32.js +0 -2
- /package/lib/umd/{32.js.LICENSE.txt → 749.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfcommunity/react-ui",
|
|
3
|
-
"version": "0.8.0-live.
|
|
3
|
+
"version": "0.8.0-live.85+af85921f9",
|
|
4
4
|
"description": "React UI Components to integrate a Community created with SelfCommunity Platform.",
|
|
5
5
|
"author": "SelfCommunity <https://www.selfcommunity.com>",
|
|
6
6
|
"homepage": "https://www.selfcommunity.com",
|
|
@@ -95,11 +95,12 @@
|
|
|
95
95
|
"@rpldy/upload-drop-zone": "^1.7.1",
|
|
96
96
|
"@rpldy/upload-preview": "^1.7.1",
|
|
97
97
|
"@rpldy/uploady": "^1.7.1",
|
|
98
|
-
"@selfcommunity/api-services": "0.5.0-live.
|
|
99
|
-
"@selfcommunity/react-core": "0.5.0-live.
|
|
100
|
-
"@selfcommunity/react-i18n": "0.6.0-live.
|
|
101
|
-
"@selfcommunity/
|
|
102
|
-
"@selfcommunity/
|
|
98
|
+
"@selfcommunity/api-services": "0.5.0-live.109+af85921f9",
|
|
99
|
+
"@selfcommunity/react-core": "0.5.0-live.109+af85921f9",
|
|
100
|
+
"@selfcommunity/react-i18n": "0.6.0-live.115+af85921f9",
|
|
101
|
+
"@selfcommunity/react-theme-default": "0.2.0-live.85+af85921f9",
|
|
102
|
+
"@selfcommunity/types": "0.6.0-live.109+af85921f9",
|
|
103
|
+
"@selfcommunity/utils": "0.2.56-live.167+af85921f9",
|
|
103
104
|
"@types/classnames": "^2.3.1",
|
|
104
105
|
"@types/sortablejs": "1",
|
|
105
106
|
"autosuggest-highlight": "^3.3.4",
|
|
@@ -121,7 +122,7 @@
|
|
|
121
122
|
"react-dom": "17 || 18",
|
|
122
123
|
"react-intersection-observer": "^9.4.3",
|
|
123
124
|
"react-intl": "^6.4.7",
|
|
124
|
-
"react-lazyload": "^3.2.
|
|
125
|
+
"react-lazyload": "^3.2.1",
|
|
125
126
|
"react-photo-view": "^1.2.6",
|
|
126
127
|
"react-player": "^2.12.0",
|
|
127
128
|
"react-share": "^4.4.1",
|
|
@@ -193,5 +194,5 @@
|
|
|
193
194
|
"engines": {
|
|
194
195
|
"node": ">=18"
|
|
195
196
|
},
|
|
196
|
-
"gitHead": "
|
|
197
|
+
"gitHead": "af85921f9a9a3e05dcc3d5582e3b3c153c7ad10d"
|
|
197
198
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const actionTypes: {
|
|
2
|
-
LOADING: string;
|
|
3
|
-
SET_COLORS: string;
|
|
4
|
-
SET_LOGOS: string;
|
|
5
|
-
SET_SLOGANS: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const initialState: {
|
|
8
|
-
loading: boolean;
|
|
9
|
-
colors: any[];
|
|
10
|
-
logos: any[];
|
|
11
|
-
slogans: any[];
|
|
12
|
-
modified: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare function getInitialState(data: any): any;
|
|
15
|
-
export declare function reducer(state: any, action: any): any;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.reducer = exports.getInitialState = exports.initialState = exports.actionTypes = void 0;
|
|
4
|
-
exports.actionTypes = {
|
|
5
|
-
LOADING: '_loading',
|
|
6
|
-
SET_COLORS: '_set_colors',
|
|
7
|
-
SET_LOGOS: '_set_logos',
|
|
8
|
-
SET_SLOGANS: '_set_slogans'
|
|
9
|
-
};
|
|
10
|
-
exports.initialState = {
|
|
11
|
-
loading: false,
|
|
12
|
-
colors: [],
|
|
13
|
-
logos: [],
|
|
14
|
-
slogans: [],
|
|
15
|
-
modified: false
|
|
16
|
-
};
|
|
17
|
-
function getInitialState(data) {
|
|
18
|
-
if (data) {
|
|
19
|
-
return Object.assign(Object.assign({}, exports.initialState), data);
|
|
20
|
-
}
|
|
21
|
-
return exports.initialState;
|
|
22
|
-
}
|
|
23
|
-
exports.getInitialState = getInitialState;
|
|
24
|
-
function reducer(state, action) {
|
|
25
|
-
let _state = Object.assign({}, state);
|
|
26
|
-
switch (action.type) {
|
|
27
|
-
case exports.actionTypes.LOADING:
|
|
28
|
-
_state = Object.assign(Object.assign({}, state), { loading: action.payload.loading });
|
|
29
|
-
break;
|
|
30
|
-
case exports.actionTypes.SET_COLORS:
|
|
31
|
-
_state = Object.assign(Object.assign(Object.assign(Object.assign({}, state), { colors: action.payload.colors, logos: state.logos }), (action.payload.loading !== undefined && { loading: action.payload.loading })), { modified: true });
|
|
32
|
-
break;
|
|
33
|
-
case exports.actionTypes.SET_LOGOS:
|
|
34
|
-
_state = Object.assign(Object.assign(Object.assign(Object.assign({}, state), { logos: action.payload.logos, colors: state.colors }), (action.payload.loading !== undefined && { loading: action.payload.loading })), { modified: true });
|
|
35
|
-
break;
|
|
36
|
-
case exports.actionTypes.SET_SLOGANS:
|
|
37
|
-
_state = Object.assign(Object.assign(Object.assign(Object.assign({}, state), { slogans: action.payload.slogans, logos: state.logos, colors: state.colors }), (action.payload.loading !== undefined && { loading: action.payload.loading })), { modified: true });
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
return _state;
|
|
41
|
-
}
|
|
42
|
-
exports.reducer = reducer;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const actionTypes: {
|
|
2
|
-
LOADING: string;
|
|
3
|
-
SET_COLORS: string;
|
|
4
|
-
SET_LOGOS: string;
|
|
5
|
-
SET_SLOGANS: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const initialState: {
|
|
8
|
-
loading: boolean;
|
|
9
|
-
colors: any[];
|
|
10
|
-
logos: any[];
|
|
11
|
-
slogans: any[];
|
|
12
|
-
modified: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare function getInitialState(data: any): any;
|
|
15
|
-
export declare function reducer(state: any, action: any): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export const actionTypes = {
|
|
2
|
-
LOADING: '_loading',
|
|
3
|
-
SET_COLORS: '_set_colors',
|
|
4
|
-
SET_LOGOS: '_set_logos',
|
|
5
|
-
SET_SLOGANS: '_set_slogans'
|
|
6
|
-
};
|
|
7
|
-
export const initialState = {
|
|
8
|
-
loading: false,
|
|
9
|
-
colors: [],
|
|
10
|
-
logos: [],
|
|
11
|
-
slogans: [],
|
|
12
|
-
modified: false
|
|
13
|
-
};
|
|
14
|
-
export function getInitialState(data) {
|
|
15
|
-
if (data) {
|
|
16
|
-
return Object.assign(Object.assign({}, initialState), data);
|
|
17
|
-
}
|
|
18
|
-
return initialState;
|
|
19
|
-
}
|
|
20
|
-
export function reducer(state, action) {
|
|
21
|
-
let _state = Object.assign({}, state);
|
|
22
|
-
switch (action.type) {
|
|
23
|
-
case actionTypes.LOADING:
|
|
24
|
-
_state = Object.assign(Object.assign({}, state), { loading: action.payload.loading });
|
|
25
|
-
break;
|
|
26
|
-
case actionTypes.SET_COLORS:
|
|
27
|
-
_state = Object.assign(Object.assign(Object.assign(Object.assign({}, state), { colors: action.payload.colors, logos: state.logos }), (action.payload.loading !== undefined && { loading: action.payload.loading })), { modified: true });
|
|
28
|
-
break;
|
|
29
|
-
case actionTypes.SET_LOGOS:
|
|
30
|
-
_state = Object.assign(Object.assign(Object.assign(Object.assign({}, state), { logos: action.payload.logos, colors: state.colors }), (action.payload.loading !== undefined && { loading: action.payload.loading })), { modified: true });
|
|
31
|
-
break;
|
|
32
|
-
case actionTypes.SET_SLOGANS:
|
|
33
|
-
_state = Object.assign(Object.assign(Object.assign(Object.assign({}, state), { slogans: action.payload.slogans, logos: state.logos, colors: state.colors }), (action.payload.loading !== undefined && { loading: action.payload.loading })), { modified: true });
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
return _state;
|
|
37
|
-
}
|