@mailstep/design-system 0.6.32 → 0.6.33

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.32",
3
+ "version": "0.6.33",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -6,7 +6,7 @@ import { Link } from '../Link';
6
6
  import { x } from '@xstyled/styled-components';
7
7
  import { th } from '@xstyled/styled-components';
8
8
  import styled from 'styled-components';
9
- export var StyledAlert = styled(x.div)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n min-height: 48px;\n align-items: center;\n justify-content: space-between;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n padding: 6px 5px 6px 5px;\n margin-bottom: 5px;\n position: relative;\n"], ["\n width: 100%;\n display: flex;\n min-height: 48px;\n align-items: center;\n justify-content: space-between;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n padding: 6px 5px 6px 5px;\n margin-bottom: 5px;\n position: relative;\n"])), function (_a) {
9
+ export var StyledAlert = styled(x.div)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: calc(100vw - 20px);\n display: flex;\n min-height: 48px;\n align-items: center;\n justify-content: space-between;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n padding: 6px 5px 6px 5px;\n margin-bottom: 5px;\n position: sticky;\n left: 10px;\n @media (min-width: 1024px) {\n position: relative;\n left: 0;\n width: 100%;\n }\n"], ["\n width: calc(100vw - 20px);\n display: flex;\n min-height: 48px;\n align-items: center;\n justify-content: space-between;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n padding: 6px 5px 6px 5px;\n margin-bottom: 5px;\n position: sticky;\n left: 10px;\n @media (min-width: 1024px) {\n position: relative;\n left: 0;\n width: 100%;\n }\n"])), function (_a) {
10
10
  var $inline = _a.$inline, $colorFill = _a.$colorFill;
11
11
  return ($inline ? "solid 1px ".concat($colorFill) : 'none');
12
12
  }, function (_a) {
package/ui/index.es.js CHANGED
@@ -16721,7 +16721,7 @@ KA.defaultProps = {
16721
16721
  replace: !1
16722
16722
  };
16723
16723
  const jle = Ti(ft.div)`
16724
- width: 100%;
16724
+ width: calc(100vw - 20px);
16725
16725
  display: flex;
16726
16726
  min-height: 48px;
16727
16727
  align-items: center;
@@ -16738,7 +16738,13 @@ const jle = Ti(ft.div)`
16738
16738
  font-family: ${te("fonts.primary")};
16739
16739
  padding: 6px 5px 6px 5px;
16740
16740
  margin-bottom: 5px;
16741
- position: relative;
16741
+ position: sticky;
16742
+ left: 10px;
16743
+ @media (min-width: 1024px) {
16744
+ position: relative;
16745
+ left: 0;
16746
+ width: 100%;
16747
+ }
16742
16748
  `, Wle = Ti(ft.div)`
16743
16749
  width: 4px;
16744
16750
  height: 36px;
package/ui/index.umd.js CHANGED
@@ -1567,7 +1567,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1567
1567
  opacity: 0.5;
1568
1568
  `:null}
1569
1569
  `,s2=e=>{const t=vt(),r=e.color?re.color(e.color)({theme:t}):void 0,n=re.fontSize(e.size)({theme:t});return b.jsx(Iue,{...e,color:r,size:n,children:e.children})};s2.defaultProps={to:"",color:"linkColor",disabled:!1,size:1,padding:"0",replace:!1};const kue=wr(ot.div)`
1570
- width: 100%;
1570
+ width: calc(100vw - 20px);
1571
1571
  display: flex;
1572
1572
  min-height: 48px;
1573
1573
  align-items: center;
@@ -1579,7 +1579,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1579
1579
  font-family: ${re("fonts.primary")};
1580
1580
  padding: 6px 5px 6px 5px;
1581
1581
  margin-bottom: 5px;
1582
- position: relative;
1582
+ position: sticky;
1583
+ left: 10px;
1584
+ @media (min-width: 1024px) {
1585
+ position: relative;
1586
+ left: 0;
1587
+ width: 100%;
1588
+ }
1583
1589
  `,Oue=wr(ot.div)`
1584
1590
  width: 4px;
1585
1591
  height: 36px;