@xhub-reels/sdk 0.1.7 → 0.1.8
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/dist/index.cjs +4 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1904,9 +1904,10 @@ function VideoSlotInner({
|
|
|
1904
1904
|
{
|
|
1905
1905
|
style: {
|
|
1906
1906
|
position: "absolute",
|
|
1907
|
-
bottom:
|
|
1907
|
+
bottom: 0,
|
|
1908
1908
|
left: 16,
|
|
1909
1909
|
right: 80,
|
|
1910
|
+
paddingBottom: 16,
|
|
1910
1911
|
pointerEvents: "none",
|
|
1911
1912
|
color: "#fff"
|
|
1912
1913
|
},
|
|
@@ -1918,8 +1919,9 @@ function VideoSlotInner({
|
|
|
1918
1919
|
{
|
|
1919
1920
|
style: {
|
|
1920
1921
|
position: "absolute",
|
|
1921
|
-
bottom:
|
|
1922
|
+
bottom: 0,
|
|
1922
1923
|
right: 16,
|
|
1924
|
+
paddingBottom: 16,
|
|
1923
1925
|
display: "flex",
|
|
1924
1926
|
flexDirection: "column",
|
|
1925
1927
|
gap: 20,
|
package/dist/index.d.cts
CHANGED
|
@@ -312,14 +312,14 @@ interface ReelsFeedProps {
|
|
|
312
312
|
/**
|
|
313
313
|
* Custom overlay rendered on each video slot.
|
|
314
314
|
* Receives the content item + actions. Return ReactNode.
|
|
315
|
-
* Positioned absolute bottom-left by SDK.
|
|
315
|
+
* Positioned absolute bottom (bottom-0) left by SDK.
|
|
316
316
|
* If not provided, SDK uses DefaultOverlay showing author + title.
|
|
317
317
|
*/
|
|
318
318
|
renderOverlay?: (item: ContentItem, actions: SlotActions) => ReactNode;
|
|
319
319
|
/**
|
|
320
320
|
* Custom action bar rendered on each video slot.
|
|
321
321
|
* Receives the content item + actions. Return ReactNode.
|
|
322
|
-
* Positioned absolute bottom-right by SDK.
|
|
322
|
+
* Positioned absolute bottom (bottom-0) right by SDK.
|
|
323
323
|
* If not provided, SDK uses DefaultActions showing like/comment/share emojis.
|
|
324
324
|
*/
|
|
325
325
|
renderActions?: (item: ContentItem, actions: SlotActions) => ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -312,14 +312,14 @@ interface ReelsFeedProps {
|
|
|
312
312
|
/**
|
|
313
313
|
* Custom overlay rendered on each video slot.
|
|
314
314
|
* Receives the content item + actions. Return ReactNode.
|
|
315
|
-
* Positioned absolute bottom-left by SDK.
|
|
315
|
+
* Positioned absolute bottom (bottom-0) left by SDK.
|
|
316
316
|
* If not provided, SDK uses DefaultOverlay showing author + title.
|
|
317
317
|
*/
|
|
318
318
|
renderOverlay?: (item: ContentItem, actions: SlotActions) => ReactNode;
|
|
319
319
|
/**
|
|
320
320
|
* Custom action bar rendered on each video slot.
|
|
321
321
|
* Receives the content item + actions. Return ReactNode.
|
|
322
|
-
* Positioned absolute bottom-right by SDK.
|
|
322
|
+
* Positioned absolute bottom (bottom-0) right by SDK.
|
|
323
323
|
* If not provided, SDK uses DefaultActions showing like/comment/share emojis.
|
|
324
324
|
*/
|
|
325
325
|
renderActions?: (item: ContentItem, actions: SlotActions) => ReactNode;
|
package/dist/index.js
CHANGED
|
@@ -1898,9 +1898,10 @@ function VideoSlotInner({
|
|
|
1898
1898
|
{
|
|
1899
1899
|
style: {
|
|
1900
1900
|
position: "absolute",
|
|
1901
|
-
bottom:
|
|
1901
|
+
bottom: 0,
|
|
1902
1902
|
left: 16,
|
|
1903
1903
|
right: 80,
|
|
1904
|
+
paddingBottom: 16,
|
|
1904
1905
|
pointerEvents: "none",
|
|
1905
1906
|
color: "#fff"
|
|
1906
1907
|
},
|
|
@@ -1912,8 +1913,9 @@ function VideoSlotInner({
|
|
|
1912
1913
|
{
|
|
1913
1914
|
style: {
|
|
1914
1915
|
position: "absolute",
|
|
1915
|
-
bottom:
|
|
1916
|
+
bottom: 0,
|
|
1916
1917
|
right: 16,
|
|
1918
|
+
paddingBottom: 16,
|
|
1917
1919
|
display: "flex",
|
|
1918
1920
|
flexDirection: "column",
|
|
1919
1921
|
gap: 20,
|