finsignal-feed-explore 2.20.0 → 2.20.2
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/FeedList.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock-news.d.ts","sourceRoot":"","sources":["../../src/constants/mock-news.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAO,MAAM,SAAS,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"mock-news.d.ts","sourceRoot":"","sources":["../../src/constants/mock-news.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAO,MAAM,SAAS,EAAE,QAAQ,EAuC/B,CAAC"}
|
|
@@ -8,22 +8,6 @@ export const MOCK_NEWS = [
|
|
|
8
8
|
timestamp: new Date().toISOString(),
|
|
9
9
|
sourceName: 'forbes.com',
|
|
10
10
|
sourceLogo: 'https://logo.clearbit.com/forbes.com',
|
|
11
|
-
stocks: [
|
|
12
|
-
{
|
|
13
|
-
symbol: 'NVDA',
|
|
14
|
-
price: '$ 542,9',
|
|
15
|
-
change: '+1,51 %',
|
|
16
|
-
changeType: 'positive',
|
|
17
|
-
logo: 'https://logo.clearbit.com/nvidia.com'
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
symbol: 'AAPL',
|
|
21
|
-
price: '$ 0.87',
|
|
22
|
-
change: '-0.07 %',
|
|
23
|
-
changeType: 'negative',
|
|
24
|
-
logo: 'https://logo.clearbit.com/apple.com'
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
11
|
tags: ['Technology', 'Investment'],
|
|
28
12
|
market_events: ['mergers_acquisitions_partnerships']
|
|
29
13
|
},
|
|
@@ -37,15 +21,6 @@ export const MOCK_NEWS = [
|
|
|
37
21
|
sourceName: 'Reuters',
|
|
38
22
|
sourceLogo: 'https://logo.clearbit.com/reuters.com',
|
|
39
23
|
cover: 'https://images.unsplash.com/photo-1611532736597-de2d4265fba3?w=800&auto=format&fit=crop',
|
|
40
|
-
stocks: [
|
|
41
|
-
{
|
|
42
|
-
symbol: 'AAPL',
|
|
43
|
-
price: '$189.50',
|
|
44
|
-
change: '+2.4%',
|
|
45
|
-
changeType: 'positive',
|
|
46
|
-
logo: 'https://logo.clearbit.com/apple.com'
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
24
|
tags: ['Technology', 'Earnings'],
|
|
50
25
|
market_events: ['earnings_quarterly_results']
|
|
51
26
|
},
|
|
@@ -59,15 +34,6 @@ export const MOCK_NEWS = [
|
|
|
59
34
|
sourceName: 'Financial Times',
|
|
60
35
|
sourceLogo: 'https://logo.clearbit.com/ft.com',
|
|
61
36
|
cover: 'https://images.unsplash.com/photo-1677442136019-21780ecad995?w=800&auto=format&fit=crop',
|
|
62
|
-
stocks: [
|
|
63
|
-
{
|
|
64
|
-
symbol: 'MSFT',
|
|
65
|
-
price: '$378.91',
|
|
66
|
-
change: '+1.2%',
|
|
67
|
-
changeType: 'positive',
|
|
68
|
-
logo: 'https://logo.clearbit.com/microsoft.com'
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
37
|
tags: ['Technology', 'AI', 'Partnership'],
|
|
72
38
|
market_events: ['mergers_acquisitions_partnerships']
|
|
73
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock-news.js","sourceRoot":"","sources":["../../src/constants/mock-news.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAe;IACnC;QACE,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,2HAA2H;QAClI,QAAQ,EAAE,mBAAmB;QAC7B,OAAO,EAAE,0GAA0G;QACnH,OAAO,EAAE,2NAA2N;QACpO,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;QACnC,UAAU,EAAE,YAAY;QACxB,UAAU,EAAE,sCAAsC;QAClD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;QACzC,aAAa,EAAE,CAAC,mCAAmC,CAAC;KACrD;CACF,CAAC"}
|
package/dist/newsfeed.css
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
gap: 12px;
|
|
8
8
|
cursor: pointer;
|
|
9
|
-
transition:
|
|
9
|
+
transition: background-color 0.2s ease;
|
|
10
|
+
position: relative;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
/* Light theme */
|
|
@@ -19,8 +20,33 @@
|
|
|
19
20
|
background-color: #1a1a1e;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
/* Hover overlay effect */
|
|
24
|
+
.news-snippet::before {
|
|
25
|
+
content: '';
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 0;
|
|
28
|
+
left: 0;
|
|
29
|
+
right: 0;
|
|
30
|
+
bottom: 0;
|
|
31
|
+
background-color: rgba(0, 0, 0, 0);
|
|
32
|
+
transition: background-color 0.2s ease;
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.news-snippet--light::before {
|
|
37
|
+
background-color: rgba(0, 0, 0, 0);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.news-snippet--dark::before {
|
|
41
|
+
background-color: rgba(255, 255, 255, 0);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.news-snippet--light:hover::before {
|
|
45
|
+
background-color: rgba(0, 0, 0, 0.04);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.news-snippet--dark:hover::before {
|
|
49
|
+
background-color: rgba(255, 255, 255, 0.06);
|
|
24
50
|
}
|
|
25
51
|
|
|
26
52
|
.news-snippet[draggable="true"]:active {
|