@selfcommunity/react-ui 0.11.0-alpha.91 → 0.11.0-alpha.92
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.
|
@@ -25,6 +25,7 @@ const Skeleton_2 = tslib_1.__importDefault(require("./Skeleton"));
|
|
|
25
25
|
const use_deep_compare_effect_1 = require("use-deep-compare-effect");
|
|
26
26
|
const StickyBox_1 = tslib_1.__importDefault(require("../../shared/StickyBox"));
|
|
27
27
|
const constants_1 = require("./constants");
|
|
28
|
+
const FooterWidget_1 = tslib_1.__importDefault(require("../FooterWidget"));
|
|
28
29
|
const messages = (0, react_intl_1.defineMessages)({
|
|
29
30
|
refresh: {
|
|
30
31
|
id: 'ui.feed.refreshRelease',
|
|
@@ -168,7 +169,14 @@ const Feed = (inProps, ref) => {
|
|
|
168
169
|
position: 0
|
|
169
170
|
}
|
|
170
171
|
]
|
|
171
|
-
: [])
|
|
172
|
+
: []),
|
|
173
|
+
{
|
|
174
|
+
type: 'widget',
|
|
175
|
+
component: FooterWidget_1.default,
|
|
176
|
+
componentProps: {},
|
|
177
|
+
column: 'right',
|
|
178
|
+
position: 1
|
|
179
|
+
}
|
|
172
180
|
]
|
|
173
181
|
.map((w, i) => Object.assign({}, w, { position: w.position * (w.column === 'right' ? 5 : 1), id: `${w.column}_${i}` }))
|
|
174
182
|
.sort(feed_1.widgetSort), [widgets, advEnabled]);
|
|
@@ -22,6 +22,7 @@ import FeedSkeleton from './Skeleton';
|
|
|
22
22
|
import { useDeepCompareEffectNoCheck } from 'use-deep-compare-effect';
|
|
23
23
|
import StickyBoxComp from '../../shared/StickyBox';
|
|
24
24
|
import { PREFIX } from './constants';
|
|
25
|
+
import FooterWidget from '../FooterWidget';
|
|
25
26
|
const messages = defineMessages({
|
|
26
27
|
refresh: {
|
|
27
28
|
id: 'ui.feed.refreshRelease',
|
|
@@ -165,7 +166,14 @@ const Feed = (inProps, ref) => {
|
|
|
165
166
|
position: 0
|
|
166
167
|
}
|
|
167
168
|
]
|
|
168
|
-
: [])
|
|
169
|
+
: []),
|
|
170
|
+
{
|
|
171
|
+
type: 'widget',
|
|
172
|
+
component: FooterWidget,
|
|
173
|
+
componentProps: {},
|
|
174
|
+
column: 'right',
|
|
175
|
+
position: 1
|
|
176
|
+
}
|
|
169
177
|
]
|
|
170
178
|
.map((w, i) => Object.assign({}, w, { position: w.position * (w.column === 'right' ? 5 : 1), id: `${w.column}_${i}` }))
|
|
171
179
|
.sort(widgetSort), [widgets, advEnabled]);
|