maru_design2 2.7.1 → 2.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.7.2](https://github.com/42maru-ai/maru-design2/compare/v2.7.1...v2.7.2) (2024-06-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * :lipstick: Toast - UPDATE classnames ([b72d65b](https://github.com/42maru-ai/maru-design2/commit/b72d65b2286e7e247f4648296a49568d723580a8))
9
+
3
10
  ## [2.7.1](https://github.com/42maru-ai/maru-design2/compare/v2.7.0...v2.7.1) (2024-06-05)
4
11
 
5
12
 
package/dist/index.js CHANGED
@@ -23423,12 +23423,12 @@ function Details(_a) {
23423
23423
  onClick: handleToggleDetails
23424
23424
  }, {
23425
23425
  children: jsxs("div", __assign({
23426
- className: "maru-toast-summary"
23426
+ className: "maru-toast-details-summary"
23427
23427
  }, {
23428
23428
  children: [jsx("p", {
23429
23429
  children: details[0]
23430
23430
  }), jsx("span", __assign({
23431
- className: "maru-toast-summary-icon"
23431
+ className: "maru-toast-details-summary-icon"
23432
23432
  }, {
23433
23433
  children: jsx(Icon, {
23434
23434
  name: isDetailsOpen ? ICONS.UpThin : ICONS.DownThin,
@@ -23449,7 +23449,7 @@ function Details(_a) {
23449
23449
  });
23450
23450
  }
23451
23451
 
23452
- var css_248z = ".maru-toast {\n padding: 10px 10px 10px 12px;\n border-radius: 6px;\n background-color: #fff;\n box-shadow: 0 0 6px 0 #bdbdbd;\n}\n.maru-toast div:first-child {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n.maru-toast .maru-toast-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n margin-right: 8px;\n width: 24px;\n height: 24px;\n}\n.maru-toast .maru-toast-content {\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 500;\n color: #5c5c5c;\n margin-right: 16px;\n}\n.maru-toast details {\n background-color: #fafafa;\n padding: 10px 10px 10px 14px;\n margin-top: 8px;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 500;\n color: #5c5c5c;\n}\n.maru-toast details summary {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: row;\n white-space: pre-wrap;\n}\n.maru-toast details summary > div:first-child {\n position: relative;\n}\n.maru-toast details summary .maru-toast-summary {\n cursor: pointer;\n}\n.maru-toast details summary .maru-toast-summary > p {\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 600;\n}\n.maru-toast details summary .maru-toast-summary-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n position: absolute;\n right: -25px;\n bottom: 3px;\n}\n\n.maru-toast-timer {\n margin-top: 24px;\n position: relative;\n opacity: 0;\n transform: translateY(100%);\n transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease-out;\n}\n.maru-toast-timer.entered {\n transform: translateY(0);\n opacity: 1;\n}\n.maru-toast-timer.fade-out {\n opacity: 0;\n transform: translateX(100%);\n}\n\n.maru-toast-container {\n position: fixed;\n z-index: 6007;\n right: 24px;\n bottom: 24px;\n transition: transform 0.5s ease-out;\n display: flex;\n flex-direction: column-reverse;\n}";
23452
+ var css_248z = ".maru-toast-style {\n padding: 10px 10px 10px 12px;\n border-radius: 6px;\n background-color: #fff;\n box-shadow: 0 0 6px 0 #bdbdbd;\n}\n.maru-toast-style div:first-child {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n}\n.maru-toast-style .maru-toast-style-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n margin-right: 8px;\n width: 24px;\n height: 24px;\n}\n.maru-toast-style .maru-toast-style-content {\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 500;\n color: #5c5c5c;\n margin-right: 16px;\n}\n.maru-toast-style details {\n background-color: #fafafa;\n padding: 10px 10px 10px 14px;\n margin-top: 8px;\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 500;\n color: #5c5c5c;\n}\n.maru-toast-style details summary {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: row;\n white-space: pre-wrap;\n}\n.maru-toast-style details summary > div:first-child {\n position: relative;\n}\n.maru-toast-style details summary .maru-toast-details-summary {\n cursor: pointer;\n}\n.maru-toast-style details summary .maru-toast-details-summary > p {\n font-family: Pretendard;\n font-style: normal;\n line-height: 150%;\n font-size: 14px;\n letter-spacing: -0.56px;\n font-weight: 600;\n}\n.maru-toast-style details summary .maru-toast-details-summary-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n position: absolute;\n right: -25px;\n bottom: 3px;\n}\n\n.maru-toast {\n margin-top: 24px;\n position: relative;\n opacity: 0;\n transform: translateY(100%);\n transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease-out;\n}\n.maru-toast.entered {\n transform: translateY(0);\n opacity: 1;\n}\n.maru-toast.fade-out {\n opacity: 0;\n transform: translateX(100%);\n}\n\n.maru-toaster {\n position: fixed;\n z-index: 6007;\n right: 24px;\n bottom: 24px;\n transition: transform 0.5s ease-out;\n display: flex;\n flex-direction: column-reverse;\n align-items: flex-end;\n}";
23453
23453
  styleInject(css_248z);
23454
23454
 
23455
23455
  var iconSettings = {
@@ -23485,11 +23485,11 @@ function ToastStyle(_a) {
23485
23485
  onClose();
23486
23486
  };
23487
23487
  return jsxs("div", __assign({
23488
- className: "maru-toast"
23488
+ className: "maru-toast-style"
23489
23489
  }, {
23490
23490
  children: [jsxs("div", {
23491
23491
  children: [jsx("div", __assign({
23492
- className: "maru-toast-icon"
23492
+ className: "maru-toast-style-icon"
23493
23493
  }, {
23494
23494
  children: jsx(Icon, {
23495
23495
  name: name,
@@ -23497,7 +23497,7 @@ function ToastStyle(_a) {
23497
23497
  color: color
23498
23498
  })
23499
23499
  })), jsx("div", __assign({
23500
- className: "maru-toast-content"
23500
+ className: "maru-toast-style-content"
23501
23501
  }, {
23502
23502
  children: jsx("p", {
23503
23503
  children: content
@@ -23557,7 +23557,7 @@ function Toast(_a) {
23557
23557
  }, 300);
23558
23558
  };
23559
23559
  return jsx("div", __assign({
23560
- className: classNames('maru-toast-timer', animationState, className)
23560
+ className: classNames('maru-toast', animationState, className)
23561
23561
  }, {
23562
23562
  children: jsx(ToastStyle, {
23563
23563
  variant: toast.variant,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maru_design2",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "main": "./dist/index.js",
5
5
  "author": "zena-42maru",
6
6
  "license": "MIT",