@dexma/ui-components 8.0.47 → 8.0.48

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.
@@ -2957,6 +2957,12 @@ Valid keys: `+JSON.stringify(Object.keys(_),null," "));var K=ee(Z,ne,Y,te,X+"."
2957
2957
  .ant-select-multiple.ant-select-show-arrow .ant-select-selector {
2958
2958
  padding-right: 60px !important;
2959
2959
  }
2960
+ /* Host pages (e.g. dexcell forms-ext.less) apply "input { min-height: 34px }" globally. antd sizes the
2961
+ multiple-select search input with "height" only, so that minimum wins and multiple selects grow past the
2962
+ 32px control height while single selects (absolutely positioned input) do not. Keep both modes equal. */
2963
+ .ant-select-multiple .ant-select-selection-search-input {
2964
+ min-height: 0;
2965
+ }
2960
2966
  .ant-select-item,
2961
2967
  .ant-select-item-empty {
2962
2968
  padding: 3px 14px 3px 8px;
@@ -4761,7 +4767,18 @@ Valid keys: `+JSON.stringify(Object.keys(_),null," "));var K=ee(Z,ne,Y,te,X+"."
4761
4767
  right: 0;
4762
4768
  display: flex;
4763
4769
  align-items: center;
4764
- `;var aC=(e=>(e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error",e))(aC||{});const U8e={info:"info",success:"success",warning:"warning",error:"error"},LT=({text:e,type:t})=>{const n=U8e[t],r=z.useContext(dn)||gn;return ve.jsx($T,{theme:r,children:ve.jsx(F6,{type:n,message:"",description:e,showIcon:!0})})};$T.displayName="StyledToast";const PT=z.createContext({toast:()=>{}}),G8e=({children:e,...t})=>{const[n,r]=z.useState(),[a,i]=z.useState({text:"",type:aC.INFO}),[o,l]=z.useState(),s=z.useMemo(()=>({toast:({text:c,type:d})=>{o&&clearTimeout(o),r(!0),i({text:c,type:d}),l(setTimeout(()=>{r(!1)},5e3))}}),[o]);return ve.jsx(PT.Provider,{value:s,children:ve.jsxs(ve.Fragment,{children:[ve.jsx("div",{children:e}),n&&ve.jsx(LT,{...t,...a})]})})},G1=({position:e,placement:t,children:n,...r})=>ve.jsx(Vl,{placement:t??e,...r,children:n}),X8e=e=>e.startsWith("h"),q8e=(e,t)=>{if(X8e(e)){const a=S8(t);return Nt`
4770
+
4771
+ /* Undo the user agent popover defaults, which centre the element and draw a box around it */
4772
+ &[popover] {
4773
+ inset: 0 0 auto auto;
4774
+ margin: 0;
4775
+ padding: 0;
4776
+ border: 0;
4777
+ overflow: visible;
4778
+ color: inherit;
4779
+ background: transparent;
4780
+ }
4781
+ `;var aC=(e=>(e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error",e))(aC||{});const U8e={info:"info",success:"success",warning:"warning",error:"error"},LT=({text:e,type:t})=>{const n=U8e[t],r=z.useContext(dn)||gn,a=z.useRef(null);return z.useLayoutEffect(()=>{const i=a.current;!i||typeof i.showPopover!="function"||(i.setAttribute("popover","manual"),i.showPopover())},[]),ve.jsx($T,{ref:a,theme:r,children:ve.jsx(F6,{type:n,message:"",description:e,showIcon:!0})})};$T.displayName="StyledToast";const PT=z.createContext({toast:()=>{}}),G8e=({children:e,...t})=>{const[n,r]=z.useState(),[a,i]=z.useState({text:"",type:aC.INFO}),[o,l]=z.useState(),s=z.useMemo(()=>({toast:({text:c,type:d})=>{o&&clearTimeout(o),r(!0),i({text:c,type:d}),l(setTimeout(()=>{r(!1)},5e3))}}),[o]);return ve.jsx(PT.Provider,{value:s,children:ve.jsxs(ve.Fragment,{children:[ve.jsx("div",{children:e}),n&&ve.jsx(LT,{...t,...a})]})})},G1=({position:e,placement:t,children:n,...r})=>ve.jsx(Vl,{placement:t??e,...r,children:n}),X8e=e=>e.startsWith("h"),q8e=(e,t)=>{if(X8e(e)){const a=S8(t);return Nt`
4765
4782
  font-size: ${a?a[e]:"inherit"};
4766
4783
  `}const n=M8(t),r=n?n[e]:void 0;return Nt`
4767
4784
  font-size: ${r?r.fontSize:"inherit"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexma/ui-components",
3
- "version": "8.0.47",
3
+ "version": "8.0.48",
4
4
  "description": "DEXMA UI Components (React)",
5
5
  "main": "./dist/ui-components.umd.js",
6
6
  "module": "./dist/ui-components.es.js",