pb-sxp-ui 1.0.82 → 1.0.84

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.css CHANGED
@@ -1,96 +1,3 @@
1
- .consent-bg {
2
- position: absolute;
3
- left: 0;
4
- right: 0;
5
- top: 0;
6
- bottom: 0;
7
- z-index: 999;
8
- background-color: rgba(0, 0, 0, 0.3);
9
- }
10
- .consent {
11
- margin: 50% auto;
12
- display: -webkit-box;
13
- display: -webkit-flex;
14
- display: -ms-flexbox;
15
- display: flex;
16
- -webkit-box-orient: vertical;
17
- -webkit-box-direction: normal;
18
- -webkit-flex-direction: column;
19
- -ms-flex-direction: column;
20
- flex-direction: column;
21
- -webkit-box-align: center;
22
- -webkit-align-items: center;
23
- -ms-flex-align: center;
24
- align-items: center;
25
- -webkit-box-pack: justify;
26
- -webkit-justify-content: space-between;
27
- -ms-flex-pack: justify;
28
- justify-content: space-between;
29
- overflow: hidden;
30
- background-color: #fff;
31
- border-radius: 4px;
32
- padding: 10px;
33
- width: 60%;
34
- border: 1px solid #D1D1D1;
35
- }
36
- .consent-col {
37
- width: 100%;
38
- display: -webkit-box;
39
- display: -webkit-flex;
40
- display: -ms-flexbox;
41
- display: flex;
42
- -webkit-box-pack: center;
43
- -webkit-justify-content: center;
44
- -ms-flex-pack: center;
45
- justify-content: center;
46
- -webkit-box-align: center;
47
- -webkit-align-items: center;
48
- -ms-flex-align: center;
49
- align-items: center;
50
- -webkit-box-orient: vertical;
51
- -webkit-box-direction: normal;
52
- -webkit-flex-direction: column;
53
- -ms-flex-direction: column;
54
- flex-direction: column;
55
- }
56
- .consent-title {
57
- font-size: 12px;
58
- white-space: nowrap;
59
- overflow: hidden;
60
- text-overflow: ellipsis;
61
- text-align: center;
62
- color: #3D3D3D;
63
- margin-bottom: 5px;
64
- }
65
- .consent-content {
66
- font-size: 10px;
67
- line-height: 15px;
68
- color: #3E3E3C;
69
- margin-bottom: 10px;
70
- }
71
- .consent-btn {
72
- background-color: #000;
73
- color: #fff;
74
- outline: none;
75
- border: none;
76
- width: 100%;
77
- height: 27px;
78
- line-height: 27px;
79
- margin-bottom: 6px;
80
- cursor: pointer;
81
- background: #494949;
82
- font-size: 12px;
83
- }
84
- .consent-policy {
85
- color: #000;
86
- text-decoration: underline;
87
- font-size: 12px;
88
- color: #3E3E3C;
89
- }
90
- .consent-policy:hover {
91
- color: #000;
92
- }
93
-
94
1
  @media screen and (max-width: 575px) {
95
2
  :global .ant-form .ant-form-item .ant-form-item-control,
96
3
  :global .ant-form .ant-form-item .ant-form-item-label {
@@ -2031,3 +1938,95 @@ button.swiper-pagination-bullet {
2031
1938
  -webkit-animation: popIn linear forwards;
2032
1939
  animation: popIn linear forwards;
2033
1940
  }
1941
+ .consent-bg {
1942
+ position: absolute;
1943
+ left: 0;
1944
+ right: 0;
1945
+ top: 0;
1946
+ bottom: 0;
1947
+ z-index: 999;
1948
+ background-color: rgba(0, 0, 0, 0.3);
1949
+ }
1950
+ .consent {
1951
+ margin: 50% auto;
1952
+ display: -webkit-box;
1953
+ display: -webkit-flex;
1954
+ display: -ms-flexbox;
1955
+ display: flex;
1956
+ -webkit-box-orient: vertical;
1957
+ -webkit-box-direction: normal;
1958
+ -webkit-flex-direction: column;
1959
+ -ms-flex-direction: column;
1960
+ flex-direction: column;
1961
+ -webkit-box-align: center;
1962
+ -webkit-align-items: center;
1963
+ -ms-flex-align: center;
1964
+ align-items: center;
1965
+ -webkit-box-pack: justify;
1966
+ -webkit-justify-content: space-between;
1967
+ -ms-flex-pack: justify;
1968
+ justify-content: space-between;
1969
+ overflow: hidden;
1970
+ background-color: #fff;
1971
+ border-radius: 4px;
1972
+ padding: 10px;
1973
+ width: 60%;
1974
+ border: 1px solid #D1D1D1;
1975
+ }
1976
+ .consent-col {
1977
+ width: 100%;
1978
+ display: -webkit-box;
1979
+ display: -webkit-flex;
1980
+ display: -ms-flexbox;
1981
+ display: flex;
1982
+ -webkit-box-pack: center;
1983
+ -webkit-justify-content: center;
1984
+ -ms-flex-pack: center;
1985
+ justify-content: center;
1986
+ -webkit-box-align: center;
1987
+ -webkit-align-items: center;
1988
+ -ms-flex-align: center;
1989
+ align-items: center;
1990
+ -webkit-box-orient: vertical;
1991
+ -webkit-box-direction: normal;
1992
+ -webkit-flex-direction: column;
1993
+ -ms-flex-direction: column;
1994
+ flex-direction: column;
1995
+ }
1996
+ .consent-title {
1997
+ font-size: 12px;
1998
+ white-space: nowrap;
1999
+ overflow: hidden;
2000
+ text-overflow: ellipsis;
2001
+ text-align: center;
2002
+ color: #3D3D3D;
2003
+ margin-bottom: 5px;
2004
+ }
2005
+ .consent-content {
2006
+ font-size: 10px;
2007
+ line-height: 15px;
2008
+ color: #3E3E3C;
2009
+ margin-bottom: 10px;
2010
+ }
2011
+ .consent-btn {
2012
+ background-color: #000;
2013
+ color: #fff;
2014
+ outline: none;
2015
+ border: none;
2016
+ width: 100%;
2017
+ height: 27px;
2018
+ line-height: 27px;
2019
+ margin-bottom: 6px;
2020
+ cursor: pointer;
2021
+ background: #494949;
2022
+ font-size: 12px;
2023
+ }
2024
+ .consent-policy {
2025
+ color: #000;
2026
+ text-decoration: underline;
2027
+ font-size: 12px;
2028
+ color: #3E3E3C;
2029
+ }
2030
+ .consent-policy:hover {
2031
+ color: #000;
2032
+ }
package/dist/index.js CHANGED
@@ -419,7 +419,7 @@ var SXP_EVENT_TYPE;
419
419
  * @Author: binruan@chatlabs.com
420
420
  * @Date: 2024-06-13 15:16:53
421
421
  * @LastEditors: binruan@chatlabs.com
422
- * @LastEditTime: 2024-06-13 18:22:53
422
+ * @LastEditTime: 2024-06-17 14:25:01
423
423
  * @FilePath: \pb-sxp-ui\src\core\components\Consent\index.tsx
424
424
  *
425
425
  */
@@ -12316,11 +12316,12 @@ function WaterfallList$1(_a) {
12316
12316
  return (React.createElement(React.Fragment, null, isLoadingData ? (React.createElement("div", { style: { height: '100%', width: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center' } },
12317
12317
  React.createElement("img", { width: 64, height: 64, src: loadingImage, alt: 'loading...', style: { objectFit: 'contain' } }))) : (React.createElement("div", { className: 'waterFallList', ref: waterfallFlowDom },
12318
12318
  React.createElement("div", { className: 'waterFallList-scroll', ref: scrollParent },
12319
- showBanner && ((_b = data === null || data === void 0 ? void 0 : data.tag) === null || _b === void 0 ? void 0 : _b.picture) && (React.createElement(FormatImage$1, { className: css({
12320
- width: '100%',
12321
- objectFit: 'cover',
12322
- marginBottom: '20px'
12323
- }), src: (_c = data === null || data === void 0 ? void 0 : data.tag) === null || _c === void 0 ? void 0 : _c.picture })),
12319
+ showBanner && ((_b = data === null || data === void 0 ? void 0 : data.tag) === null || _b === void 0 ? void 0 : _b.picture) && (React.createElement("div", { onClick: handleClickLink },
12320
+ React.createElement(FormatImage$1, { className: css({
12321
+ width: '100%',
12322
+ objectFit: 'cover',
12323
+ marginBottom: '20px'
12324
+ }), src: (_c = data === null || data === void 0 ? void 0 : data.tag) === null || _c === void 0 ? void 0 : _c.picture }))),
12324
12325
  React.createElement("div", { className: 'waterFallList-info', style: (_d = props === null || props === void 0 ? void 0 : props.textStyles) === null || _d === void 0 ? void 0 : _d.hashTagDesc }, (_e = data === null || data === void 0 ? void 0 : data.tag) === null || _e === void 0 ? void 0 : _e.info),
12325
12326
  React.createElement("div", { hidden: !((_f = data === null || data === void 0 ? void 0 : data.tag) === null || _f === void 0 ? void 0 : _f.link), className: 'waterFallList-collection', style: Object.assign({}, (_g = props === null || props === void 0 ? void 0 : props.textStyles) === null || _g === void 0 ? void 0 : _g.hashTagLink), onClick: handleClickLink }, ((_h = data === null || data === void 0 ? void 0 : data.tag) === null || _h === void 0 ? void 0 : _h.linkTitle) || 'Shop the collection'),
12326
12327
  React.createElement("div", { className: 'waterFallList-content' }, list === null || list === void 0 ? void 0 :
@@ -12540,11 +12541,12 @@ function WaterfallList(_a) {
12540
12541
  return (React.createElement(React.Fragment, null, isLoadingData ? (React.createElement("div", { style: { height: '100%', width: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center' } },
12541
12542
  React.createElement("img", { width: 64, height: 64, src: loadingImage, alt: 'loading...', style: { objectFit: 'contain' } }))) : (React.createElement("div", { className: 'list' },
12542
12543
  React.createElement("div", { className: 'list-scroll', ref: containerRef },
12543
- showBanner && ((_b = data === null || data === void 0 ? void 0 : data.tag) === null || _b === void 0 ? void 0 : _b.picture) && (React.createElement(FormatImage$1, { className: css({
12544
- width: '100%',
12545
- objectFit: 'cover',
12546
- marginBottom: '20px'
12547
- }), src: (_c = data === null || data === void 0 ? void 0 : data.tag) === null || _c === void 0 ? void 0 : _c.picture })),
12544
+ showBanner && ((_b = data === null || data === void 0 ? void 0 : data.tag) === null || _b === void 0 ? void 0 : _b.picture) && (React.createElement("div", { onClick: handleClickLink },
12545
+ React.createElement(FormatImage$1, { className: css({
12546
+ width: '100%',
12547
+ objectFit: 'cover',
12548
+ marginBottom: '20px'
12549
+ }), src: (_c = data === null || data === void 0 ? void 0 : data.tag) === null || _c === void 0 ? void 0 : _c.picture }))),
12548
12550
  React.createElement("div", { className: 'list-info', style: (_d = props === null || props === void 0 ? void 0 : props.textStyles) === null || _d === void 0 ? void 0 : _d.hashTagDesc }, (_e = data === null || data === void 0 ? void 0 : data.tag) === null || _e === void 0 ? void 0 : _e.info),
12549
12551
  React.createElement("div", { hidden: !((_f = data === null || data === void 0 ? void 0 : data.tag) === null || _f === void 0 ? void 0 : _f.link), className: 'list-collection', onClick: handleClickLink, style: Object.assign(Object.assign({}, (_g = props === null || props === void 0 ? void 0 : props.textStyles) === null || _g === void 0 ? void 0 : _g.hashTagLink), { marginBottom: props === null || props === void 0 ? void 0 : props.space }) }, ((_h = data === null || data === void 0 ? void 0 : data.tag) === null || _h === void 0 ? void 0 : _h.linkTitle) || 'Shop the collection'),
12550
12552
  React.createElement("div", { className: 'list-content' }, list === null || list === void 0 ? void 0 : list.map((item, ind) => {