@mailstep/design-system 0.7.24-beta.0 → 0.7.24-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.7.24-beta.0",
3
+ "version": "0.7.24-beta.2",
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: ", ";\n padding: 0 0.6rem;\n transition: 200ms;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n letter-spacing: 0.03em;\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 display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n padding: 0 0.6rem;\n transition: 200ms;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n letter-spacing: 0.03em;\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"])), 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: ", ";\n padding: 0 8px 12px;\n transition: 200ms;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n letter-spacing: 0.03em;\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: ", ";\n padding: 0 8px 12px;\n transition: 200ms;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n letter-spacing: 0.03em;\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"])), function (_a) {
11
11
  var disabled = _a.disabled;
12
12
  return (disabled ? 'auto' : 'pointer');
13
13
  }, th.color('gray'), function (_a) {
package/ui/index.es.js CHANGED
@@ -48681,7 +48681,7 @@ const pOe = /* @__PURE__ */ Hr(AOe), hOe = Qe`
48681
48681
  cursor: ${({
48682
48682
  disabled: e
48683
48683
  }) => e ? "auto" : "pointer"};
48684
- padding: 0 0.6rem;
48684
+ padding: 0 8px 12px;
48685
48685
  transition: 200ms;
48686
48686
  color: ${V.color("gray")};
48687
48687
  font-weight: bold;
@@ -48711,6 +48711,10 @@ const pOe = /* @__PURE__ */ Hr(AOe), hOe = Qe`
48711
48711
  ${({
48712
48712
  active: e
48713
48713
  }) => e ? BC : ""};
48714
+
48715
+ @media (min-width: 400px) {
48716
+ min-width: 120px;
48717
+ }
48714
48718
  `, IOe = G.div`
48715
48719
  display: flex;
48716
48720
  align-items: flex-end;
package/ui/index.umd.js CHANGED
@@ -4012,7 +4012,7 @@ ${Z.current.stack}
4012
4012
  align-items: center;
4013
4013
  justify-content: center;
4014
4014
  cursor: ${({disabled:e})=>e?"auto":"pointer"};
4015
- padding: 0 0.6rem;
4015
+ padding: 0 8px 12px;
4016
4016
  transition: 200ms;
4017
4017
  color: ${j.color("gray")};
4018
4018
  font-weight: bold;
@@ -4036,6 +4036,10 @@ ${Z.current.stack}
4036
4036
  }
4037
4037
 
4038
4038
  ${({active:e})=>e?mP:""};
4039
+
4040
+ @media (min-width: 400px) {
4041
+ min-width: 120px;
4042
+ }
4039
4043
  `,Awe=G.div`
4040
4044
  display: flex;
4041
4045
  align-items: flex-end;