@mailstep/design-system 0.6.83 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.6.83",
3
+ "version": "0.6.84",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -7,7 +7,7 @@ export var StyledImageBox = styled(x.div)(templateObject_1 || (templateObject_1
7
7
  export var StyledTabWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: baseline;\n"], ["\n display: flex;\n flex-direction: row;\n align-items: baseline;\n"])));
8
8
  export var RoundedWrap = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex !important;\n justify-content: center;\n align-items: center;\n height: 23px;\n background-color: ", ";\n border-radius: 29px;\n padding: 3px 10px;\n margin-left: 8px;\n"], ["\n display: flex !important;\n justify-content: center;\n align-items: center;\n height: 23px;\n background-color: ", ";\n border-radius: 29px;\n padding: 3px 10px;\n margin-left: 8px;\n"])), th.color('lightGray7'));
9
9
  var activeTab = css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n position: relative;\n &:after {\n content: '';\n position: absolute;\n bottom: 2;\n left: 0;\n right: 0;\n background-color: ", ";\n height: 4px;\n border-radius: 6px 6px 0px 0px;\n }\n & > div {\n display: inline;\n color: ", ";\n }\n"], ["\n color: ", ";\n position: relative;\n &:after {\n content: '';\n position: absolute;\n bottom: 2;\n left: 0;\n right: 0;\n background-color: ", ";\n height: 4px;\n border-radius: 6px 6px 0px 0px;\n }\n & > div {\n display: inline;\n color: ", ";\n }\n"])), th.color('red1'), th.color('red1'), th.color('typoPrimary'));
10
- export var Tab = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n padding: 0.6rem;\n transition: 200ms;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n height: 46px;\n letter-spacing: 0.03em;\n margin-top: 10px;\n min-width: 120px;\n & > div {\n display: none;\n }\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n\n :hover {\n color: ", ";\n }\n\n :active {\n ", "\n }\n\n ", "\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n padding: 0.6rem;\n transition: 200ms;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n height: 46px;\n letter-spacing: 0.03em;\n margin-top: 10px;\n min-width: 120px;\n & > div {\n display: none;\n }\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n\n :hover {\n color: ", ";\n }\n\n :active {\n ", "\n }\n\n ", "\n"])), th.color('gray'), th.color('typoPrimary'), function (_a) {
10
+ export var Tab = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n padding: 0.6rem;\n transition: 200ms;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n height: 46px;\n letter-spacing: 0.03em;\n margin-top: 10px;\n min-width: 100px;\n\n & > div {\n display: none;\n }\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n\n :hover {\n color: ", ";\n }\n\n :active {\n ", ";\n }\n\n ", ";\n\n @media (min-width: 400px) {\n min-width: 120px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n padding: 0.6rem;\n transition: 200ms;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n height: 46px;\n letter-spacing: 0.03em;\n margin-top: 10px;\n min-width: 100px;\n\n & > div {\n display: none;\n }\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n\n :hover {\n color: ", ";\n }\n\n :active {\n ", ";\n }\n\n ", ";\n\n @media (min-width: 400px) {\n min-width: 120px;\n }\n"])), th.color('gray'), th.color('typoPrimary'), function (_a) {
11
11
  var disabled = _a.disabled;
12
12
  return !disabled && activeTab;
13
13
  }, function (_a) {
package/ui/index.es.js CHANGED
@@ -52408,7 +52408,8 @@ const _Se = /* @__PURE__ */ Ra(GSe), USe = ct`
52408
52408
  height: 46px;
52409
52409
  letter-spacing: 0.03em;
52410
52410
  margin-top: 10px;
52411
- min-width: 120px;
52411
+ min-width: 100px;
52412
+
52412
52413
  & > div {
52413
52414
  display: none;
52414
52415
  }
@@ -52423,12 +52424,16 @@ const _Se = /* @__PURE__ */ Ra(GSe), USe = ct`
52423
52424
  :active {
52424
52425
  ${({
52425
52426
  disabled: e
52426
- }) => !e && PM}
52427
+ }) => !e && PM};
52427
52428
  }
52428
52429
 
52429
52430
  ${({
52430
52431
  active: e
52431
- }) => e ? PM : ""}
52432
+ }) => e ? PM : ""};
52433
+
52434
+ @media (min-width: 400px) {
52435
+ min-width: 120px;
52436
+ }
52432
52437
  `, rEe = q.div`
52433
52438
  min-height: 3rem;
52434
52439
  display: flex;
package/ui/index.umd.js CHANGED
@@ -4024,7 +4024,8 @@ ${q.current.stack}
4024
4024
  height: 46px;
4025
4025
  letter-spacing: 0.03em;
4026
4026
  margin-top: 10px;
4027
- min-width: 120px;
4027
+ min-width: 100px;
4028
+
4028
4029
  & > div {
4029
4030
  display: none;
4030
4031
  }
@@ -4037,10 +4038,14 @@ ${q.current.stack}
4037
4038
  }
4038
4039
 
4039
4040
  :active {
4040
- ${({disabled:e})=>!e&&wH}
4041
+ ${({disabled:e})=>!e&&wH};
4041
4042
  }
4042
4043
 
4043
- ${({active:e})=>e?wH:""}
4044
+ ${({active:e})=>e?wH:""};
4045
+
4046
+ @media (min-width: 400px) {
4047
+ min-width: 120px;
4048
+ }
4044
4049
  `,iIe=$.div`
4045
4050
  min-height: 3rem;
4046
4051
  display: flex;