@mailstep/design-system 0.6.40 → 0.6.41

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.40",
3
+ "version": "0.6.41",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -17,7 +17,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
17
17
  import { useMemo } from 'react';
18
18
  import styled from '@xstyled/styled-components';
19
19
  import HighlightBox from '../../../../Elements/HighlightBox';
20
- var Center = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-start;\n width: fit-content;\n"], ["\n display: flex;\n justify-content: flex-start;\n width: fit-content;\n"])));
20
+ var Center = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-start;\n width: 100%;\n"], ["\n display: flex;\n justify-content: flex-start;\n width: 100%;\n"])));
21
21
  export var EnumInCell = function (_a) {
22
22
  var value = _a.value, enumObj = _a.enumObj, appearanceMap = _a.appearanceMap, size = _a.size;
23
23
  var finalLabel = useMemo(function () {
package/ui/index.es.js CHANGED
@@ -37589,7 +37589,7 @@ const Cs = /* @__PURE__ */ ho(K4e), XSe = ({
37589
37589
  }, p6e = ie.div`
37590
37590
  display: flex;
37591
37591
  justify-content: flex-start;
37592
- width: fit-content;
37592
+ width: 100%;
37593
37593
  `, nIe = ({
37594
37594
  value: e,
37595
37595
  enumObj: t,
package/ui/index.umd.js CHANGED
@@ -2990,7 +2990,7 @@ function print() { __p += __j.call(arguments, '') }
2990
2990
  `,c5e={neutralBold:"neutral300",neutralSubtle:"neutral20",blueBold:"blue70",blueSubtle:"blue20",tealBold:"teal60",tealSubtle:"teal20",greenBold:"green60",greenSubtle:"green20",orangeBold:"orange60",orangeSubtle:"orange20",yellowBold:"yellow60",yellowSubtle:"yellow20",pinkBold:"magenta60",pinkSubtle:"magenta20",purpleBold:"purple60",purpleSubtle:"purple20",redBold:"red60",redSubtle:"red20"},d5e={neutralBold:"white",neutralSubtle:"typoPrimary",blueBold:"white",blueSubtle:"blue80",tealBold:"white",tealSubtle:"teal90",greenBold:"white",greenSubtle:"green80",orangeBold:"white",orangeSubtle:"orange80",yellowBold:"typoPrimary",yellowSubtle:"typoPrimary",pinkBold:"white",pinkSubtle:"magenta80",purpleBold:"white",purpleSubtle:"purple80",redBold:"white",redSubtle:"red80"},f5e=({children:e,appearance:t,size:r="default",className:n,prefix:i})=>{const o=mt(),l=re.color(t?c5e[t]:"transparent")({theme:o}),u=re.color(t?d5e[t]:"typoPrimary")({theme:o}),c=i?`${i}Label`:"label";return b.jsx(l5e,{$bgcolor:l,$fontColor:u,"data-cy":c,children:b.jsx(u5e,{className:r+" "+n,children:e})})},h5e=ae.div`
2991
2991
  display: flex;
2992
2992
  justify-content: flex-start;
2993
- width: fit-content;
2993
+ width: 100%;
2994
2994
  `,p5e=({value:e,enumObj:t,appearanceMap:r,size:n})=>{const i=I.useMemo(()=>t[e]?t[e]():e,[t,e]),o=I.useMemo(()=>({appearance:r[e]}),[r,e]);return i?b.jsx(h5e,{children:b.jsx(f5e,{className:"cell",...o,size:n,prefix:"grid",children:i})}):null},g5e=ae.div`
2995
2995
  text-align: center;
2996
2996
  overflow: hidden;