kwant-ui 3.48.1-dev.7 → 3.48.2-dev.7
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.es.js +1 -1
- package/dist/index.js +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2986,7 +2986,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import n,{css as
|
|
|
2986
2986
|
}
|
|
2987
2987
|
}
|
|
2988
2988
|
}
|
|
2989
|
-
`;function Bc(r){const{label:n,value:a,multiFilters:c,filterOptions:i,onClose:o,onClick:s,onTagClick:l,onTagClose:h,align:v}=r;return e(zc,{children:t("div",{className:"filter-tag-container",children:[e("div",{className:"filter-tag",children:e(Hc,{onClick:()=>s(a),onClose:()=>o(a),type:"secondary",showActionButton:!0,label:(e=>{let t=e;return c&&i&&i.length>0&&(t=`${t}: ${i.length}`),t})(n)})}),c&&i&&0!==i.length&&t("div",{className:`filter-tag-options-container op-${v}`,children:[e("div",{className:"filter-box-pointer-wrapper",children:e("div",{className:"filter-box-pointer"})}),e("div",{className:"filter-tag-options",children:i&&i.map(((t,r)=>e("div",{className:"filter-option",children:e(Hc,{onClick:()=>l?.({key:a||"",value:t?.value||""}),onClose:()=>h?.({key:a||"",value:t?.value||""}),label:t?.label,showActionButton:!0,type:"secondary"})},r)))})]})]})})}const kc=n.div`
|
|
2989
|
+
`;function Bc(r){const{label:n,value:a,multiFilters:c,filterOptions:i,onClose:o,onClick:s,onTagClick:l,onTagClose:h,align:v}=r;return e(zc,{children:t("div",{className:"filter-tag-container",children:[e("div",{className:"filter-tag",children:e(Hc,{onClick:()=>s?.(a),onClose:()=>o?.(a),type:"secondary",showActionButton:!0,label:(e=>{let t=e;return c&&i&&i.length>0&&(t=`${t}: ${i.length}`),t})(n)})}),c&&i&&0!==i.length&&t("div",{className:`filter-tag-options-container op-${v}`,children:[e("div",{className:"filter-box-pointer-wrapper",children:e("div",{className:"filter-box-pointer"})}),e("div",{className:"filter-tag-options",children:i&&i.map(((t,r)=>e("div",{className:"filter-option",children:e(Hc,{onClick:()=>l?.({key:a||"",value:t?.value||""}),onClose:()=>h?.({key:a||"",value:t?.value||""}),label:t?.label,showActionButton:!0,type:"secondary"})},r)))})]})]})})}const kc=n.div`
|
|
2990
2990
|
.active {
|
|
2991
2991
|
background-color: ${e=>e.theme.primary.primary5} !important;
|
|
2992
2992
|
}
|