@soul-refiner/design-system 2.14.98 → 2.14.99
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime");require("../../atoms/box/box.js"),require("../../atoms/highlighter/highlighter.js"),require("../../atoms/typography/display.js"),require("../../atoms/typography/heading.js");var
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime");require("../../atoms/box/box.js"),require("../../atoms/highlighter/highlighter.js"),require("../../atoms/typography/display.js"),require("../../atoms/typography/heading.js");var t=require("../../atoms/typography/paragraph.js");require("../../atoms/typography/typography.js"),require("../../atoms/countdown/countdown.js"),require("../../iconography/icon/icon.js");var r=require("../../../icons/basic/close.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../icons/basic/subtask.js"),require("../../../common/colors.js");var i=o(require("styled-components"));const n=i.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
position: relative;
|
|
19
19
|
max-width: 90%;
|
|
20
20
|
border-top: 4px solid var(--color-primary-blue-2);
|
|
21
|
+
|
|
22
|
+
@media (max-width: 550px) {
|
|
23
|
+
width: 100%;
|
|
24
|
+
padding: 24px 16px;
|
|
25
|
+
max-width: 80%;
|
|
26
|
+
}
|
|
21
27
|
`,l=i.default.button`
|
|
22
28
|
position: absolute;
|
|
23
29
|
top: 15px;
|
|
@@ -30,14 +36,30 @@
|
|
|
30
36
|
&:hover {
|
|
31
37
|
color: var(--color-grey-1);
|
|
32
38
|
}
|
|
33
|
-
|
|
34
|
-
font-size: 40px;
|
|
39
|
+
`,p=i.default(t.P)`
|
|
35
40
|
font-weight: 600;
|
|
36
41
|
color: var(--color-grey-2);
|
|
37
42
|
text-align: center;
|
|
38
43
|
margin: 0 0 30px 0;
|
|
39
44
|
line-height: 1.2;
|
|
40
|
-
|
|
45
|
+
font-size: 48px;
|
|
46
|
+
font-style: normal;
|
|
47
|
+
text-align: center;
|
|
48
|
+
line-height: 64px;
|
|
49
|
+
letter-spacing: -1.056px;
|
|
50
|
+
|
|
51
|
+
@media (max-width: 550px) {
|
|
52
|
+
font-size: 28px;
|
|
53
|
+
margin-bottom: 16px;
|
|
54
|
+
line-height: 1.3;
|
|
55
|
+
max-width: 50%;
|
|
56
|
+
text-align: center;
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
margin-left: auto;
|
|
60
|
+
margin-right: auto;
|
|
61
|
+
}
|
|
62
|
+
`,s=i.default.div`
|
|
41
63
|
width: 100px;
|
|
42
64
|
height: 100px;
|
|
43
65
|
border-radius: 50%;
|
|
@@ -46,11 +68,11 @@
|
|
|
46
68
|
justify-content: center;
|
|
47
69
|
align-items: center;
|
|
48
70
|
margin: 0 auto 30px auto;
|
|
49
|
-
`,
|
|
71
|
+
`,c=i.default.svg`
|
|
50
72
|
width: 50px;
|
|
51
73
|
height: 50px;
|
|
52
74
|
fill: var(--color-white);
|
|
53
|
-
`,
|
|
75
|
+
`,d=i.default.button`
|
|
54
76
|
background-color: var(--color-primary-blue-2);
|
|
55
77
|
color: var(--color-white);
|
|
56
78
|
border: none;
|
|
@@ -68,7 +90,7 @@
|
|
|
68
90
|
letter-spacing: '-0.084px';
|
|
69
91
|
height: 48px;
|
|
70
92
|
width: 230px;
|
|
71
|
-
`,
|
|
93
|
+
`,x=i.default.button`
|
|
72
94
|
background-color: var(--color-white);
|
|
73
95
|
color: var(--color-grey-3);
|
|
74
96
|
font-family: Inter;
|
|
@@ -91,7 +113,7 @@
|
|
|
91
113
|
@media screen and (min-width: 500px) {
|
|
92
114
|
display: none;
|
|
93
115
|
}
|
|
94
|
-
`,
|
|
116
|
+
`,g=i.default.p`
|
|
95
117
|
font-size: 14px;
|
|
96
118
|
font-weight: 400;
|
|
97
119
|
color: var(--color-grey-3);
|
|
@@ -101,7 +123,7 @@
|
|
|
101
123
|
letter-spacing: -0.084px;
|
|
102
124
|
font-family: var(--font-inter);
|
|
103
125
|
text-align: center;
|
|
104
|
-
`,
|
|
126
|
+
`,h=i.default.div`
|
|
105
127
|
display: flex;
|
|
106
128
|
flex-direction: column;
|
|
107
129
|
align-items: center;
|
|
@@ -110,4 +132,4 @@
|
|
|
110
132
|
justify-content: center;
|
|
111
133
|
/* mx auto */
|
|
112
134
|
margin: 0 auto;
|
|
113
|
-
`;exports.SuccessModal=({onClose:t,title:
|
|
135
|
+
`;exports.SuccessModal=({onClose:t,title:o,message:i,actionText:u,onAction:f,openAppText:m="Open in the app",openAppAction:y=()=>{}})=>e.jsx(n,{children:e.jsxs(a,{children:[e.jsx(l,{onClick:t,children:e.jsx(r.Close,{})}),e.jsx(p,{children:o}),e.jsx(s,{children:e.jsx(c,{viewBox:"0 0 24 24",children:e.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19l12-12-1.41-1.41z"})})}),e.jsx(g,{children:i}),e.jsxs(h,{children:[e.jsx(d,{onClick:f,children:u}),e.jsx(x,{onClick:y,children:m})]})]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"success-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/success_modal/success-modal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"success-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/success_modal/success-modal.tsx"],"names":[],"mappings":"AA+JA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,mFAQtB,iBAAiB,4CAqBnB,CAAC"}
|