@mailstep/design-system 0.7.42-beta.3 → 0.7.42
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
|
@@ -20,7 +20,6 @@ import styled, { th } from '@xstyled/styled-components';
|
|
|
20
20
|
var StyledNumber = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: ", ";\n height: 25px;\n justify-content: center;\n align-items: center;\n display: flex;\n border-radius: md;\n padding: 2px 6px;\n"], ["\n background: ", ";\n height: 25px;\n justify-content: center;\n align-items: center;\n display: flex;\n border-radius: md;\n padding: 2px 6px;\n"])), th.color('lightGray7'));
|
|
21
21
|
var CountMultiValue = function (props) {
|
|
22
22
|
var _a, _b;
|
|
23
|
-
console.log('props', props);
|
|
24
23
|
var shortValues = props.selectProps.shortValues;
|
|
25
24
|
var selectVal = props.selectProps.value;
|
|
26
25
|
var inputVal = props.selectProps.inputValue;
|
package/ui/index.es.js
CHANGED
|
@@ -29056,7 +29056,6 @@ const VB = Z.div`
|
|
|
29056
29056
|
padding: 2px 6px;
|
|
29057
29057
|
`, Fve = (e) => {
|
|
29058
29058
|
var i, o;
|
|
29059
|
-
console.log("props", e);
|
|
29060
29059
|
const t = e.selectProps.shortValues, r = e.selectProps.value, n = e.selectProps.inputValue;
|
|
29061
29060
|
return t ? !n && ((i = e.data) == null ? void 0 : i.value) == ((o = r[0]) == null ? void 0 : o.value) ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
29062
29061
|
/* @__PURE__ */ g.jsx(kc.MultiValue, { ...e, children: e.children }),
|
package/ui/index.umd.js
CHANGED
|
@@ -2234,7 +2234,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2234
2234
|
display: flex;
|
|
2235
2235
|
border-radius: md;
|
|
2236
2236
|
padding: 2px 6px;
|
|
2237
|
-
`,R5e=e=>{var i,o;
|
|
2237
|
+
`,R5e=e=>{var i,o;const t=e.selectProps.shortValues,r=e.selectProps.value,n=e.selectProps.inputValue;return t?!n&&((i=e.data)==null?void 0:i.value)==((o=r[0])==null?void 0:o.value)?g.jsxs(g.Fragment,{children:[g.jsx(zn.components.MultiValue,{...e,children:e.children}),r.length>1?g.jsxs(B5e,{children:["+",r.length-1]}):null]}):null:g.jsx(zn.components.MultiValue,{...e,children:e.children})},F5e=e=>{const{name:t}=e.selectProps,r=t?`${t}Inp`:e.id;return g.jsx(zn.components.Input,{...e,"data-cy":r})},V5e=Y.div`
|
|
2238
2238
|
align-self: center;
|
|
2239
2239
|
display: flex;
|
|
2240
2240
|
`,j5e=e=>{const{menuIsOpen:t,name:r}=e.selectProps;return g.jsx(zn.components.DropdownIndicator,{...e,children:g.jsx(V5e,{className:"chevron","data-cy":`${r}ChevronBtn`,children:t?g.jsx(Ck,{width:"16px"}):g.jsx(Jp,{width:"16px"})})})},W5e=Y.div`
|