@streamlayer/react-ui 0.75.0 → 0.76.0
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/assets/style.css +1 -1
- package/lib/ui/app/Features/Gamification/Question.js +41 -32
- package/lib/ui/app/Features/Gamification/QuestionsList.js +10 -2
- package/lib/ui/app/Features/Gamification/Tabs.js +15 -7
- package/lib/ui/app/Features/Gamification/gamification-feature.js +10 -0
- package/lib/ui/app/Features/Gamification/index.js +12 -2
- package/lib/ui/app/Notifications/index.js +4 -2
- package/lib/ui/app/masters.js +4 -2
- package/lib/ui/gamification/question/list/index.js +22 -10
- package/lib/ui/gamification/question/notification/index.js +13 -11
- package/lib/ui/gamification/question/notification/insight/index.js +12 -12
- package/lib/ui/gamification/question/notification/tweet/index.d.ts +1 -1
- package/lib/ui/gamification/question/notification/tweet/index.js +10 -18
- package/lib/ui/gamification/question/notification/tweet/styles.d.ts +0 -3
- package/lib/ui/gamification/question/notification/tweet/styles.js +10 -25
- package/lib/ui/gamification/question/twitter/index.d.ts +4 -2
- package/lib/ui/gamification/question/twitter/index.js +33 -9
- package/lib/ui/gamification/question/twitter/styles.d.ts +2 -0
- package/lib/ui/gamification/question/twitter/styles.js +16 -6
- package/lib/ui/gamification/vote/twitter-details/index.d.ts +1 -1
- package/lib/ui/gamification/vote/twitter-details/index.js +28 -6
- package/lib/ui/gamification/vote/twitter-details/styles.d.ts +2 -0
- package/lib/ui/gamification/vote/twitter-details/styles.js +12 -2
- package/lib/ui/icons/index.d.ts +1 -0
- package/lib/ui/icons/index.js +14 -13
- package/lib/ui/questions/insight/index.js +13 -13
- package/lib/ui/questions/twitter/account/index.js +15 -9
- package/lib/ui/questions/twitter/account/styles.d.ts +1 -0
- package/lib/ui/questions/twitter/account/styles.js +21 -13
- package/lib/ui/questions/twitter/index.d.ts +3 -6
- package/lib/ui/questions/twitter/index.js +8 -13
- package/lib/ui/questions/twitter/styles.d.ts +0 -3
- package/lib/ui/questions/twitter/styles.js +8 -23
- package/package.json +8 -8
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export type TwitterContentProps = {
|
|
4
|
-
|
|
5
|
-
image: string;
|
|
6
|
-
body: string;
|
|
7
|
-
account: AccountProps;
|
|
2
|
+
import { TweetHistory, FeedItem } from '@streamlayer/sdk-web-types';
|
|
3
|
+
export type TwitterContentProps = TweetHistory & {
|
|
4
|
+
created?: FeedItem['created'];
|
|
8
5
|
};
|
|
9
6
|
export declare const TwitterContent: React.FC<TwitterContentProps>;
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Account as
|
|
3
|
-
import { Container as
|
|
1
|
+
import { jsx as r, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { Account as n } from "./account/index.js";
|
|
3
|
+
import { Container as p, Details as s, Body as d } from "./styles.js";
|
|
4
4
|
import "../../icons/index.js";
|
|
5
5
|
import "@linaria/react";
|
|
6
6
|
import "react";
|
|
7
7
|
import "./account/styles.js";
|
|
8
|
-
const
|
|
9
|
-
/* @__PURE__ */ r(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/* @__PURE__ */ r(m, { ...n }),
|
|
13
|
-
/* @__PURE__ */ r(h, { children: e }),
|
|
14
|
-
t && /* @__PURE__ */ r(l, { src: t })
|
|
15
|
-
] })
|
|
16
|
-
] });
|
|
8
|
+
const u = ({ image: i, body: o, account: t, accountVerified: e }) => /* @__PURE__ */ r(p, { children: /* @__PURE__ */ m(s, { children: [
|
|
9
|
+
/* @__PURE__ */ r(n, { image: i, name: t, userName: t, verified: e }),
|
|
10
|
+
/* @__PURE__ */ r(d, { children: o })
|
|
11
|
+
] }) });
|
|
17
12
|
export {
|
|
18
|
-
|
|
13
|
+
u as TwitterContent
|
|
19
14
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
-
export declare const DateTime: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
|
-
export declare const Quote: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLQuoteElement> & import("react").BlockquoteHTMLAttributes<HTMLQuoteElement> & Record<never, unknown>>;
|
|
5
3
|
export declare const Details: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
6
4
|
export declare const Body: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
|
-
export declare const Image: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
@@ -1,34 +1,19 @@
|
|
|
1
1
|
import { styled as s } from "@linaria/react";
|
|
2
|
-
const
|
|
2
|
+
const o = /* @__PURE__ */ s("div")({
|
|
3
3
|
name: "Container",
|
|
4
4
|
class: "c1kzqw87",
|
|
5
5
|
propsAsIs: !1
|
|
6
|
-
}),
|
|
7
|
-
name: "DateTime",
|
|
8
|
-
class: "d9r1hf9",
|
|
9
|
-
propsAsIs: !1
|
|
10
|
-
}), t = /* @__PURE__ */ s("blockquote")({
|
|
11
|
-
name: "Quote",
|
|
12
|
-
class: "qezygt5",
|
|
13
|
-
propsAsIs: !1
|
|
14
|
-
}), n = /* @__PURE__ */ s("div")({
|
|
6
|
+
}), a = /* @__PURE__ */ s("div")({
|
|
15
7
|
name: "Details",
|
|
16
|
-
class: "
|
|
8
|
+
class: "d9r1hf9",
|
|
17
9
|
propsAsIs: !1
|
|
18
|
-
}),
|
|
10
|
+
}), t = /* @__PURE__ */ s("div")({
|
|
19
11
|
name: "Body",
|
|
20
|
-
class: "
|
|
21
|
-
propsAsIs: !1
|
|
22
|
-
}), c = /* @__PURE__ */ s("img")({
|
|
23
|
-
name: "Image",
|
|
24
|
-
class: "i3g0xjd",
|
|
12
|
+
class: "bezygt5",
|
|
25
13
|
propsAsIs: !1
|
|
26
14
|
});
|
|
27
15
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
n as Details,
|
|
32
|
-
c as Image,
|
|
33
|
-
t as Quote
|
|
16
|
+
t as Body,
|
|
17
|
+
o as Container,
|
|
18
|
+
a as Details
|
|
34
19
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/react-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
41
41
|
"react-window": "^1.8.9",
|
|
42
42
|
"react-window-infinite-loader": "^1.0.9",
|
|
43
|
-
"@streamlayer/
|
|
44
|
-
"@streamlayer/
|
|
45
|
-
"@streamlayer/sdk-web-anonymous-auth": "^0.11.
|
|
43
|
+
"@streamlayer/sdk-web": "^0.29.5",
|
|
44
|
+
"@streamlayer/feature-gamification": "^0.29.0",
|
|
45
|
+
"@streamlayer/sdk-web-anonymous-auth": "^0.11.30",
|
|
46
46
|
"@streamlayer/sdk-web-api": "^0.1.0",
|
|
47
|
-
"@streamlayer/sdk-web-core": "^0.0.
|
|
48
|
-
"@streamlayer/sdk-web-features": "^0.10.
|
|
47
|
+
"@streamlayer/sdk-web-core": "^0.0.7",
|
|
48
|
+
"@streamlayer/sdk-web-features": "^0.10.37",
|
|
49
49
|
"@streamlayer/sdk-web-interfaces": "^0.0.1",
|
|
50
50
|
"@streamlayer/sdk-web-notifications": "^0.1.0",
|
|
51
51
|
"@streamlayer/sdk-web-storage": "^0.0.4",
|
|
52
52
|
"@streamlayer/sdk-web-logger": "^0.0.1",
|
|
53
|
-
"@streamlayer/sdk-web-types": "^0.0
|
|
53
|
+
"@streamlayer/sdk-web-types": "^0.1.0"
|
|
54
54
|
},
|
|
55
55
|
"nx": {
|
|
56
56
|
"implicitDependencies": [
|
|
@@ -90,6 +90,6 @@
|
|
|
90
90
|
"vite-plugin-svgr": "^4.1.0",
|
|
91
91
|
"vite-svg-loader": "^4.0.0",
|
|
92
92
|
"vite-tsconfig-paths": "^4.2.1",
|
|
93
|
-
"@streamlayer/react": "^0.32.
|
|
93
|
+
"@streamlayer/react": "^0.32.7"
|
|
94
94
|
}
|
|
95
95
|
}
|