@corva/ui 0.27.0-3 → 0.27.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.
@@ -0,0 +1 @@
1
+ import{jsxs as C,jsx as V}from"react/jsx-runtime";import{makeStyles as H,SvgIcon as t}from"@material-ui/core";var i=H({svgIcon:{height:"32px",width:"32px"}});export default function(){var H=i();return C(t,{className:H.svgIcon,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[V("path",{d:"M23.52 2.1H13.98V0.54V0.48C13.98 0.48 13.98 0.48 13.98 0.42V0.36L13.92 0.3C13.8 0.12 13.74 0.06 13.62 0C13.56 0 13.56 0 13.5 0H13.44C13.44 0 13.44 0 13.38 0L0.42 2.1C0.18 2.16 0 2.34 0 2.58V3.6V20.28V21.3C0 21.54 0.18 21.78 0.42 21.84L13.44 24C13.44 24 13.44 24 13.5 24H13.56C13.62 24 13.62 24 13.68 24C13.8 24 13.86 23.88 13.98 23.82L14.04 23.76V23.7C14.04 23.7 14.04 23.7 14.04 23.64V23.58V22.02H23.52C23.82 22.02 24 21.78 24 21.48V2.58C24 2.34 23.76 2.1 23.52 2.1ZM16.5 3.12V5.7H14.04V3.12H16.5ZM13.98 14.4H16.44V17.16H13.98V14.4ZM13.98 13.38V10.62H16.44V13.38H13.98ZM13.98 9.54V6.78H16.44V9.54H13.98ZM13.98 18.24H16.44V20.88H13.98V18.24ZM22.98 20.88H17.52V18.24H19.8C20.1 18.24 20.28 18 20.28 17.7C20.28 17.4 20.04 17.16 19.8 17.16H17.52V14.4H19.8C20.1 14.4 20.28 14.16 20.28 13.86C20.28 13.56 20.04 13.32 19.8 13.32H17.52V10.56H19.8C20.1 10.56 20.28 10.32 20.28 10.02C20.28 9.72 20.04 9.48 19.8 9.48H17.52V6.72H19.8C20.1 6.72 20.28 6.48 20.28 6.18C20.28 5.88 20.04 5.64 19.8 5.64H17.52V3.12H22.98V20.88Z",fill:"#75DB29"}),V("path",{d:"M6.0408 15.866C5.90212 15.999 5.78379 16.1534 5.68995 16.3238C5.60956 16.4724 5.5662 16.6396 5.56386 16.8102C5.55648 17.1066 5.63889 17.3978 5.79934 17.6424C5.95979 17.8869 6.19009 18.0724 6.45743 18.1723C6.63227 18.2425 6.8183 18.2775 7.00563 18.2753C7.19292 18.277 7.37885 18.242 7.55383 18.1723C7.72236 18.1098 7.87711 18.0125 8.00884 17.8862C8.14235 17.7544 8.2503 17.597 8.3268 17.4226C8.40494 17.2253 8.4387 17.0119 8.42547 16.7988C8.42714 16.6126 8.38775 16.4286 8.31035 16.2609C8.23255 16.0925 8.11802 15.9455 7.97595 15.8316L8.83114 15.0018C8.95447 15.1293 9.05805 15.276 9.13813 15.4368C9.22444 15.5925 9.29429 15.7575 9.34645 15.9289C9.39827 16.0834 9.4368 16.2423 9.46157 16.4039C9.4831 16.5345 9.49593 16.6664 9.49995 16.7988C9.50186 17.1603 9.44055 17.5191 9.31904 17.8575C9.20611 18.1766 9.03271 18.4685 8.80921 18.716C8.58801 18.9631 8.31889 19.1582 8.0198 19.2883C7.6964 19.4341 7.34691 19.5063 6.99467 19.5C6.64065 19.5062 6.28939 19.4341 5.96405 19.2883C5.66643 19.1554 5.39784 18.9607 5.17464 18.716C4.951 18.4697 4.7792 18.1773 4.67029 17.8575C4.55252 17.5183 4.49493 17.1596 4.50035 16.7988C4.50334 16.47 4.56276 16.1443 4.67577 15.8374C4.79108 15.515 4.97912 15.2264 5.22398 14.9961L6.0408 15.866Z",fill:"white"}),V("path",{d:"M5.9311 11.0758C5.77738 11.1828 5.65205 11.3286 5.56676 11.4997C5.48146 11.6707 5.43896 11.8616 5.4432 12.0544C5.44363 12.2245 5.48511 12.3918 5.56381 12.5408C5.59756 12.6162 5.65212 12.6794 5.72049 12.7222C5.78886 12.7651 5.86793 12.7856 5.94755 12.7812C6.01358 12.7843 6.07902 12.767 6.13561 12.7313C6.1922 12.6957 6.2374 12.6433 6.26551 12.5809C6.34457 12.4242 6.40179 12.2566 6.43545 12.083C6.48479 11.8827 6.53413 11.6652 6.58346 11.4363C6.63097 11.2114 6.70653 10.994 6.80823 10.7896C6.91084 10.5923 7.05521 10.422 7.23034 10.2917C7.44982 10.1481 7.70621 10.0782 7.96493 10.0914C8.21908 10.0819 8.47043 10.1495 8.68856 10.286C8.88075 10.4113 9.04221 10.5818 9.16001 10.7839C9.28225 10.9961 9.36935 11.2282 9.41767 11.4706C9.47179 11.7224 9.49936 11.9795 9.4999 12.2375C9.50269 12.6009 9.449 12.9623 9.34092 13.3077C9.22464 13.6464 9.02407 13.9466 8.75982 14.1776L8.01427 13.3649C8.18121 13.2209 8.32389 13.0488 8.43638 12.8556C8.5508 12.6531 8.60783 12.4209 8.60084 12.186C8.60233 12.0917 8.59313 11.9976 8.57344 11.9056C8.55306 11.8115 8.51982 11.7209 8.47476 11.6366C8.43129 11.5555 8.37143 11.4852 8.29933 11.4306C8.22851 11.3797 8.14405 11.3537 8.05813 11.3562C7.98576 11.3508 7.91335 11.3661 7.84866 11.4004C7.78396 11.4346 7.72941 11.4866 7.69083 11.5508C7.59968 11.7045 7.53303 11.8726 7.49348 12.0487C7.44414 12.249 7.40028 12.4664 7.35643 12.6953C7.31583 12.9272 7.24577 13.1524 7.14811 13.3649C7.05357 13.5611 6.91655 13.7316 6.74792 13.8628C6.53423 14.0052 6.28284 14.0733 6.02978 14.0574C5.79988 14.064 5.57204 14.0104 5.3671 13.9015C5.16216 13.7925 4.98666 13.6316 4.85663 13.4336C4.72665 13.2396 4.63188 13.0223 4.57705 12.7926C4.52266 12.5449 4.49689 12.2913 4.5003 12.0372C4.49999 11.7101 4.55187 11.3851 4.65379 11.0758C4.75413 10.7598 4.94561 10.4839 5.202 10.286L5.9311 11.0758Z",fill:"white"}),V("path",{d:"M4.60938 9.81656V8.46024L7.94792 7.13253L4.60938 5.7762V4.5L9.37873 6.45723V7.78494L4.60938 9.81656Z",fill:"white"})]})}
@@ -1 +1 @@
1
- import{jsx as o}from"react/jsx-runtime";import r from"prop-types";import e from"./DocFileIcon.js";import i from"./PdfFileIcon.js";import n from"./ExelFileIcon.js";import m from"./UnknownFileIcon.js";var p=function(r){var p=r.name;return p.includes(".doc")?o(e,{}):p.includes(".pdf")?o(i,{}):p.includes(".xls")?o(n,{}):o(m,{})};p.propTypes={name:r.string.isRequired};export default p;
1
+ import{jsx as o}from"react/jsx-runtime";import r from"prop-types";import e from"./DocFileIcon.js";import i from"./PdfFileIcon.js";import n from"./ExelFileIcon.js";import p from"./UnknownFileIcon.js";import m from"./CSVFileIcon.js";import s from"./ImageFileIcon.js";var t=function(r){var t=r.name.split(".").pop();return t.includes("doc")?o(e,{}):t.includes("pdf")?o(i,{}):t.includes("xls")?o(n,{}):t.includes("csv")?o(m,{}):["jpg","png","jpeg"].includes(t)?o(s,{}):o(p,{})};t.propTypes={name:r.string.isRequired};export default t;
@@ -0,0 +1 @@
1
+ import{jsxs as i,jsx as t}from"react/jsx-runtime";import{makeStyles as e,SvgIcon as r}from"@material-ui/core";var l=e({svgIcon:{height:"32px",width:"32px"}});export default function(){var e=l();return i(r,{className:e.svgIcon,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[t("g",{clipPath:"url(#clip0_1600_26)",children:t("path",{d:"M23.52 2.03987H13.98V0.599871C13.98 0.239871 13.62 -0.0601292 13.26 -0.000129162L0.42 2.09987C0.18 2.09987 0 2.33987 0 2.57987V21.3599C0 21.5999 0.18 21.8399 0.42 21.8999L13.32 23.9999C13.68 24.0599 14.04 23.7599 14.04 23.3999V21.8999H23.52C23.82 21.8999 24 21.6599 24 21.3599V2.57987C24 2.27987 23.76 2.03987 23.52 2.03987ZM13.98 6.29987C14.88 6.29987 15.6 7.01987 15.6 7.91987C15.6 8.81987 14.88 9.53987 13.98 9.53987V6.29987ZM22.98 20.8199H13.98V18.1799L18.42 13.7399L22.98 18.2999V20.8199ZM22.98 16.8599L18.78 12.6599C18.6 12.4799 18.24 12.4799 18.06 12.6599L13.98 16.7399V10.5599C15.42 10.5599 16.56 9.41987 16.56 7.97987C16.56 6.53987 15.42 5.39987 13.98 5.39987V3.11987H22.98V16.8599Z",fill:"#FF5982"})}),t("defs",{children:t("clipPath",{id:"clip0_1600_26",children:t("rect",{width:"24",height:"24",fill:"white"})})})]})}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/ui",
3
- "version": "0.27.0-3",
3
+ "version": "0.27.0-4",
4
4
  "description": "Shared components/utils for Corva ui projects",
5
5
  "keywords": [
6
6
  "corva-ui"