@corva/ui 3.32.0-3 → 3.32.0-4

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.
@@ -1,2 +1,2 @@
1
- "use strict";var r=require("react/jsx-runtime"),e=require("@material-ui/core"),i=e.makeStyles((function(r){var e=r.palette;return{selectorWrapper:{padding:"16px 0 12px 16px"},description:{color:e.primary.text6,fontWeight:500,fontSize:"13px",lineHeight:"17px",paddingBottom:"8px"},chip:{marginRight:"8px",color:e.primary.text6,"&:last-child":{marginRight:"0px"}}}}));module.exports=function(t){var n=t.onGroupClick,a=t.groups,o=i();return r.jsxs("div",{className:o.selectorWrapper,children:[r.jsx(e.Typography,{className:o.description,children:"I'm looking for..."}),r.jsx("div",{children:null==a?void 0:a.map((function(i){var t=i.id,a=i.name;return r.jsx(e.Chip,{className:o.chip,variant:"outlined",label:a,onClick:function(){return n(t)}},t)}))})]})};
1
+ "use strict";var r=require("react/jsx-runtime"),e=require("@material-ui/core"),i=e.makeStyles((function(r){var e=r.palette;return{selectorWrapper:{padding:"16px 0 12px 16px"},description:{color:e.primary.text6,fontWeight:500,fontSize:"13px",lineHeight:"17px",paddingBottom:"8px"},chip:{color:e.primary.text6},groups:{display:"flex",flexWrap:"wrap",gap:"8px"}}}));module.exports=function(a){var p=a.onGroupClick,t=a.groups,o=i();return r.jsxs("div",{className:o.selectorWrapper,children:[r.jsx(e.Typography,{className:o.description,children:"I'm looking for..."}),r.jsx("div",{className:o.groups,children:null==t?void 0:t.map((function(i){var a=i.id,t=i.name;return r.jsx(e.Chip,{className:o.chip,variant:"outlined",label:t,onClick:function(){return p(a)}},a)}))})]})};
2
2
  //# sourceMappingURL=Groups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Groups.d.ts","sourceRoot":"","sources":["../../../../src/components/Search/components/Groups.tsx"],"names":[],"mappings":"AAsBA,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACxC,CAAC;AAEF,QAAA,MAAM,MAAM,6BAA8B,WAAW,gBAmBpD,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Groups.d.ts","sourceRoot":"","sources":["../../../../src/components/Search/components/Groups.tsx"],"names":[],"mappings":"AAuBA,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACxC,CAAC;AAEF,QAAA,MAAM,MAAM,6BAA8B,WAAW,gBAmBpD,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,2 +1,2 @@
1
- import{jsxs as r,jsx as i}from"react/jsx-runtime";import{makeStyles as t,Typography as e,Chip as n}from"@material-ui/core";var o=t((function(r){var i=r.palette;return{selectorWrapper:{padding:"16px 0 12px 16px"},description:{color:i.primary.text6,fontWeight:500,fontSize:"13px",lineHeight:"17px",paddingBottom:"8px"},chip:{marginRight:"8px",color:i.primary.text6,"&:last-child":{marginRight:"0px"}}}})),a=function(t){var a=t.onGroupClick,p=t.groups,l=o();return r("div",{className:l.selectorWrapper,children:[i(e,{className:l.description,children:"I'm looking for..."}),i("div",{children:null==p?void 0:p.map((function(r){var t=r.id,e=r.name;return i(n,{className:l.chip,variant:"outlined",label:e,onClick:function(){return a(t)}},t)}))})]})};export{a as default};
1
+ import{jsxs as r,jsx as e}from"react/jsx-runtime";import{makeStyles as i,Typography as a,Chip as o}from"@material-ui/core";var t=i((function(r){var e=r.palette;return{selectorWrapper:{padding:"16px 0 12px 16px"},description:{color:e.primary.text6,fontWeight:500,fontSize:"13px",lineHeight:"17px",paddingBottom:"8px"},chip:{color:e.primary.text6},groups:{display:"flex",flexWrap:"wrap",gap:"8px"}}})),p=function(i){var p=i.onGroupClick,n=i.groups,l=t();return r("div",{className:l.selectorWrapper,children:[e(a,{className:l.description,children:"I'm looking for..."}),e("div",{className:l.groups,children:null==n?void 0:n.map((function(r){var i=r.id,a=r.name;return e(o,{className:l.chip,variant:"outlined",label:a,onClick:function(){return p(i)}},i)}))})]})};export{p as default};
2
2
  //# sourceMappingURL=Groups.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "3.32.0-3",
3
+ "version": "3.32.0-4",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "Shared components/utils for Corva ui projects",
6
6
  "keywords": [