@dev-blinq/ui-systems 1.0.86 → 1.0.87

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/dist/index.js CHANGED
@@ -138,6 +138,13 @@ React keys must be passed directly to JSX without using spread:
138
138
  width: 14px;
139
139
  height: 14px;
140
140
  }
141
+ &.Mui-disabled {
142
+ pointer-events: auto;
143
+ opacity: 0.5;
144
+ &:active {
145
+ pointer-events: none;
146
+ }
147
+ }
141
148
  `;function Io({items:e,anchorEl:n,handleClose:t,onClick:r,minWidth:a,width:i}){return g.jsx(No,{anchorEl:n,keepMounted:!0,open:!!n,onClose:t,"data-no-dnd":"true",minWidth:a,width:i,children:e.map(({title:s,value:c,disabled:f,divider:p,onClickItem:h},d)=>g.jsxs(g.Fragment,{children:[g.jsx(Bo,{className:"menu-item",onClick:m=>h?h(m,c):r==null?void 0:r(m,c),disabled:f,"data-no-dnd":"true",children:s},d),p&&g.jsx(I.Divider,{})]}))})}function ze(e,...n){const t=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach(r=>t.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${t} for the full message.`}const Do="$$material",Fo=e=>{const n=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return n.sort((t,r)=>t.val-r.val),n.reduce((t,r)=>({...t,[r.key]:r.val}),{})};function _o(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:r=5,...a}=e,i=Fo(n),s=Object.keys(i);function c(m){return`@media (min-width:${typeof n[m]=="number"?n[m]:m}${t})`}function f(m){return`@media (max-width:${(typeof n[m]=="number"?n[m]:m)-r/100}${t})`}function p(m,x){const v=s.indexOf(x);return`@media (min-width:${typeof n[m]=="number"?n[m]:m}${t}) and (max-width:${(v!==-1&&typeof n[s[v]]=="number"?n[s[v]]:x)-r/100}${t})`}function h(m){return s.indexOf(m)+1<s.length?p(m,s[s.indexOf(m)+1]):c(m)}function d(m){const x=s.indexOf(m);return x===0?c(s[1]):x===s.length-1?f(s[x]):p(m,s[s.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:c,down:f,between:p,only:h,not:d,unit:t,...a}}var wt={exports:{}},re={};/**
142
149
  * @license React
143
150
  * react-is.production.js
package/dist/index.mjs CHANGED
@@ -2827,6 +2827,13 @@ const Xo = ve(ii)`
2827
2827
  width: 14px;
2828
2828
  height: 14px;
2829
2829
  }
2830
+ &.Mui-disabled {
2831
+ pointer-events: auto;
2832
+ opacity: 0.5;
2833
+ &:active {
2834
+ pointer-events: none;
2835
+ }
2836
+ }
2830
2837
  `;
2831
2838
  function Hu({
2832
2839
  items: e,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dev-blinq/ui-systems",
3
3
  "description": "this package contains all ui components like button, input, checkbox, colors that blinq.io needs",
4
- "version": "1.0.86",
4
+ "version": "1.0.87",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",