@soul-refiner/design-system 2.14.75 → 2.14.76

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 r=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 e=require("../../atoms/typography/paragraph.js");require("../../atoms/typography/typography.js"),require("../../iconography/icon/icon.js");var o=require("../../../icons/basic/close.js");function i(r){return r&&"object"==typeof r&&"default"in r?r:{default:r}}require("../../../icons/basic/subtask.js"),require("../../../common/colors.js");var t=i(require("styled-components"));const n=t.default.div`
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 r=require("../../atoms/typography/paragraph.js");require("../../atoms/typography/typography.js"),require("../../iconography/icon/icon.js");var o=require("../../../icons/basic/close.js");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../icons/basic/subtask.js"),require("../../../common/colors.js");var i=t(require("styled-components"));const n=i.default.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -9,7 +9,7 @@
9
9
  justify-content: center;
10
10
  align-items: center;
11
11
  z-index: 1000;
12
- `,a=t.default.div`
12
+ `,a=i.default.div`
13
13
  background-color: white;
14
14
  border-radius: 8px;
15
15
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
@@ -18,7 +18,7 @@
18
18
  position: relative;
19
19
  max-width: 90%;
20
20
  border-top: 4px solid var(--color-primary-blue-2);
21
- `,s=t.default.button`
21
+ `,l=i.default.button`
22
22
  position: absolute;
23
23
  top: 15px;
24
24
  right: 15px;
@@ -30,14 +30,14 @@
30
30
  &:hover {
31
31
  color: var(--color-grey-1);
32
32
  }
33
- `;t.default.h2`
33
+ `;i.default.h2`
34
34
  font-size: 40px;
35
35
  font-weight: 600;
36
36
  color: var(--color-grey-2);
37
37
  text-align: center;
38
38
  margin: 0 0 30px 0;
39
39
  line-height: 1.2;
40
- `;const l=t.default.div`
40
+ `;const s=i.default.div`
41
41
  width: 100px;
42
42
  height: 100px;
43
43
  border-radius: 50%;
@@ -46,21 +46,35 @@
46
46
  justify-content: center;
47
47
  align-items: center;
48
48
  margin: 0 auto 30px auto;
49
- `,c=t.default.svg`
49
+ `,c=i.default.svg`
50
50
  width: 50px;
51
51
  height: 50px;
52
52
  fill: var(--color-white);
53
- `,p=t.default.button`
53
+ `,p=i.default.button`
54
54
  background-color: var(--color-primary-blue-2);
55
55
  color: var(--color-white);
56
56
  border: none;
57
57
  border-radius: 32px;
58
- padding: 8px 20px;
58
+ padding: 6px 16px;
59
59
  font-size: 14px;
60
- font-weight: 600;
60
+ font-weight: 500;
61
+ line-height: 20px;
61
62
  cursor: pointer;
62
63
  transition: background-color 0.2s ease;
63
64
  margin: 0 auto;
64
65
  display: block;
65
- width: 143px;
66
- `;exports.SuccessModal=({onClose:i,title:t,message:d,actionText:x,onAction:g})=>r.jsx(n,{children:r.jsxs(a,{children:[r.jsx(s,{onClick:i,children:r.jsx(o.Close,{})}),r.jsx(e.P,{sx:"font-size:40px;font-weight:600;color:var(--color-grey-2);text-align:center;margin:0 0 30px 0;line-height:1.2;",children:t}),r.jsx(l,{children:r.jsx(c,{viewBox:"0 0 24 24",children:r.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19l12-12-1.41-1.41z"})})}),r.jsx(e.P,{$fontSize:16,sx:"font-weight:400;color:var(--color-grey-3);text-align:center;margin:0 0 20px 0;line-height:24px;",children:d}),r.jsx(p,{onClick:g,children:x})]})});
66
+ /* width: 143px; */
67
+ font-family: var(--font-inter);
68
+ letter-spacing: '-0.084px';
69
+ height: 32px;
70
+ `,x=i.default.p`
71
+ font-size: 14px;
72
+ font-weight: 400;
73
+ color: var(--color-grey-3);
74
+ text-align: center;
75
+ margin: 0 0 20px 0;
76
+ line-height: 24px;
77
+ letter-spacing: -0.084px;
78
+ font-family: var(--font-inter);
79
+ text-align: center;
80
+ `;exports.SuccessModal=({onClose:t,title:i,message:d,actionText:g,onAction:h})=>e.jsx(n,{children:e.jsxs(a,{children:[e.jsx(l,{onClick:t,children:e.jsx(o.Close,{})}),e.jsx(r.P,{sx:"font-size:48px;font-weight:600;color:var(--color-grey-2);font-style:normal;text-align:center;margin:0 0 30px 0;line-height:64px;letter-spacing:-1.056px",children:i}),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(x,{children:d}),e.jsx(p,{onClick:h,children:g})]})});
@@ -1 +1 @@
1
- {"version":3,"file":"success-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/success_modal/success-modal.tsx"],"names":[],"mappings":"AAoFA,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;CACtB;AAED,eAAO,MAAM,YAAY,uDAMtB,iBAAiB,4CAyBnB,CAAC"}
1
+ {"version":3,"file":"success-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/success_modal/success-modal.tsx"],"names":[],"mappings":"AAoGA,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;CACtB;AAED,eAAO,MAAM,YAAY,uDAMtB,iBAAiB,4CAoBnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "2.14.75",
3
+ "version": "2.14.76",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "license": "MIT",