@clickhouse/click-ui 0.0.235 → 0.0.237
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/click-ui.bundled.es.js +141 -155
- package/dist/click-ui.bundled.es.js.map +1 -1
- package/dist/click-ui.bundled.umd.js +141 -155
- package/dist/click-ui.bundled.umd.js.map +1 -1
- package/dist/click-ui.es.js +141 -155
- package/dist/click-ui.es.js.map +1 -1
- package/dist/click-ui.umd.js +141 -155
- package/dist/click-ui.umd.js.map +1 -1
- package/dist/components/CardHorizontal/CardHorizontal.d.ts +5 -1
- package/dist/components/Icon/IconCommon.d.ts +1 -0
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/Logos/AWSGlue.d.ts +4 -0
- package/dist/components/Logos/types.d.ts +1 -1
- package/dist/components/icons/DataLakes.d.ts +4 -0
- package/dist/styles/types.d.ts +10 -3
- package/dist/styles/variables.json.d.ts +10 -3
- package/package.json +1 -1
package/dist/click-ui.umd.js
CHANGED
|
@@ -262,6 +262,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
262
262
|
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#161517", fillRule: "evenodd", stroke: "#161517", strokeWidth: 0.5, d: "M5.5 13.18c0 1.776 2.934 3.033 6.498 3.033 3.565 0 6.499-1.257 6.499-3.032a.433.433 0 1 0-.867 0c0 1.096-2.497 2.166-5.632 2.166s-5.632-1.07-5.632-2.166a.433.433 0 1 0-.866 0ZM5.5 9.499c0 1.557 2.919 2.6 6.498 2.6 3.58 0 6.499-1.043 6.499-2.6a.433.433 0 1 0-.867 0c0 .835-2.512 1.733-5.632 1.733-3.12 0-5.632-.898-5.632-1.733a.433.433 0 0 0-.866 0ZM17.631 5.6c0 .835-2.512 1.732-5.632 1.732-3.12 0-5.632-.897-5.632-1.733 0-.835 2.513-1.733 5.632-1.733 3.12 0 5.632.898 5.632 1.733Zm.867 0c0-1.558-2.919-2.6-6.499-2.6-3.58 0-6.498 1.042-6.498 2.6 0 1.556 2.919 2.599 6.498 2.599 3.58 0 6.499-1.043 6.499-2.6Z", clipRule: "evenodd" }),
|
|
263
263
|
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#161517", fillRule: "evenodd", stroke: "#161517", strokeWidth: 0.5, d: "M17.63 5.6v11.697c0 .285-.578.833-1.53 1.289-1.147.548-2.61.88-4.101.877-1.494.003-2.956-.329-4.102-.877-.953-.456-1.53-1.004-1.53-1.289V5.6a.433.433 0 1 0-.867 0v11.697c0 1.483 3.253 3.039 6.499 3.033 3.245.006 6.498-1.55 6.498-3.033V5.6a.433.433 0 0 0-.867 0Z", clipRule: "evenodd" })
|
|
264
264
|
] });
|
|
265
|
+
const DataLakes = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.9004 19.6338L18.8994 20.8984C17.9346 21.5078 16.6931 21.4581 15.7803 20.7734L14.8164 20.0498C14.7276 19.9833 14.6054 19.9832 14.5166 20.0498L13.582 20.751C12.6493 21.4505 11.3764 21.4856 10.4062 20.8389L9.13867 19.9941C9.0547 19.9382 8.9453 19.9382 8.86133 19.9941L7.52539 20.8848C6.60175 21.5004 5.39825 21.5004 4.47461 20.8848L2.58398 19.624L3.41602 18.376L5.30664 19.6367C5.72643 19.9165 6.27357 19.9165 6.69336 19.6367L8.0293 18.7461C8.61712 18.3542 9.38288 18.3542 9.9707 18.7461L11.2383 19.5908C11.6792 19.8848 12.2577 19.8687 12.6816 19.5508L13.6162 18.8496C14.2384 18.383 15.0946 18.383 15.7168 18.8496L16.6807 19.5732C17.0956 19.8844 17.6601 19.9068 18.0986 19.6299L20.0996 18.3662L20.9004 19.6338ZM20.9004 15.6338L18.8994 16.8984C17.9346 17.5078 16.6931 17.4581 15.7803 16.7734L14.8164 16.0498C14.7276 15.9833 14.6054 15.9832 14.5166 16.0498L13.582 16.751C12.6493 17.4505 11.3764 17.4856 10.4062 16.8389L9.13867 15.9941C9.0547 15.9382 8.9453 15.9382 8.86133 15.9941L7.52539 16.8848C6.60175 17.5004 5.39825 17.5004 4.47461 16.8848L2.58398 15.624L3.41602 14.376L5.30664 15.6367C5.72643 15.9165 6.27357 15.9165 6.69336 15.6367L8.0293 14.7461C8.61712 14.3542 9.38288 14.3542 9.9707 14.7461L11.2383 15.5908C11.6792 15.8848 12.2577 15.8687 12.6816 15.5508L13.6162 14.8496C14.2384 14.383 15.0946 14.383 15.7168 14.8496L16.6807 15.5732C17.0956 15.8844 17.6601 15.9068 18.0986 15.6299L20.0996 14.3662L20.9004 15.6338ZM11.5 3C15.366 3 18.5 4.34315 18.5 6C18.5 6.17058 18.4652 6.3372 18.4014 6.5H18.5V14.5H17V11.543C16.7374 11.7031 16.4546 11.8438 16.1602 11.9639C14.8178 12.5113 13.0431 12.759 11.332 12.75C9.62277 12.741 7.87454 12.4748 6.58887 11.918C6.38544 11.8299 6.18845 11.7295 6 11.6201V14.5H4.5V6.5H4.59863C4.53482 6.3372 4.5 6.17058 4.5 6C4.5 4.34315 7.63401 3 11.5 3ZM17 7.85352C15.7182 8.55058 13.7316 9 11.5 9C9.26844 9 7.2818 8.55058 6 7.85352V9.18262L6.03027 9.19141C5.96305 9.44664 6.01007 9.64216 6.16113 9.84082C6.33567 10.0703 6.66612 10.3174 7.18457 10.542C8.21747 10.9894 9.74418 11.2416 11.3398 11.25C12.9335 11.2584 14.495 11.0233 15.5938 10.5752C16.144 10.3508 16.5256 10.0937 16.749 9.83691C16.9543 9.60092 17.0272 9.36858 16.9912 9.09961L17 9.09766V7.85352ZM11.5 4.5C9.72042 4.5 8.18069 4.81254 7.1416 5.25781C6.6197 5.48149 6.29267 5.70904 6.11816 5.88574C6.06975 5.9348 6.0391 5.97301 6.02051 6C6.0391 6.02699 6.06975 6.0652 6.11816 6.11426C6.29267 6.29096 6.6197 6.51851 7.1416 6.74219C8.18069 7.18746 9.72042 7.5 11.5 7.5C13.2796 7.5 14.8193 7.18746 15.8584 6.74219C16.3803 6.51851 16.7073 6.29096 16.8818 6.11426C16.93 6.06548 16.9599 6.02696 16.9785 6C16.9599 5.97304 16.93 5.93452 16.8818 5.88574C16.7073 5.70904 16.3803 5.48149 15.8584 5.25781C14.8193 4.81254 13.2796 4.5 11.5 4.5Z", fill: "#161517" }) });
|
|
265
266
|
const Disk = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: [
|
|
266
267
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M16.164 3H5.007a2 2 0 0 0-2 2.015l.104 14a2 2 0 0 0 2 1.985h13.88a2 2 0 0 0 2-2V7.828a2 2 0 0 0-.585-1.414l-2.828-2.828A1.999 1.999 0 0 0 16.164 3Z", clipRule: "evenodd" }),
|
|
267
268
|
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M15.993 3v3.909a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V3M7 21v-7.714C7 12.576 7.576 12 8.286 12h7.429c.709 0 1.285.576 1.285 1.286V21" })
|
|
@@ -830,6 +831,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
830
831
|
"credit-card": CreditCard,
|
|
831
832
|
data: Data,
|
|
832
833
|
database: DatabaseIcon,
|
|
834
|
+
"data-lakes": DataLakes,
|
|
833
835
|
disk: Disk,
|
|
834
836
|
display: Display,
|
|
835
837
|
document: Document,
|
|
@@ -1684,54 +1686,46 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1684
1686
|
/* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M54.8755 39.0706C54.1621 38.1693 50.1534 38.6366 48.3359 38.8536C47.7923 38.9204 47.7074 38.453 48.2 38.1026C51.3934 35.8995 56.6421 36.5337 57.2536 37.2681C57.8651 38.0191 57.0837 43.1762 54.0942 45.6463C53.6355 46.0301 53.1939 45.8298 53.3977 45.3292C54.0772 43.6769 55.5889 39.9551 54.8755 39.0706Z", fill: "#FF9900" })
|
|
1685
1687
|
] });
|
|
1686
1688
|
const AWSAthena = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1687
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#4D27A8" }),
|
|
1694
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "#A166FF" })
|
|
1695
|
-
] }),
|
|
1696
|
-
/* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_5755_3307", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4", y: "4", width: "56", height: "56", rx: "4", fill: "white" }) }),
|
|
1697
|
-
/* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip1_5755_3307", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "56", height: "56", fill: "white", transform: "translate(4 4)" }) })
|
|
1698
|
-
] })
|
|
1689
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "url(#aws-athena-gradient)", d: "M64 0H0v64h64z" }),
|
|
1690
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M30.636 21.781c3.594 0 5.562.806 5.921 1.21-.359.403-2.327 1.208-5.921 1.208s-5.562-.805-5.921-1.209c.359-.403 2.327-1.209 5.921-1.209m-.409 6.445a.407.407 0 0 1 .178-.769q.096.002.178.047zm4.627 6.647c-.06.048-.196.142-.477.254-.25.1-.547.19-.882.27-.893.21-1.99.324-3.09.324-2.408 0-4.085-.52-4.446-.842l-1.066-9.958c1.635.669 4.043.89 5.743.89 1.671 0 4.027-.215 5.662-.858l-.638 4.38c-1.201-.453-2.7-1.111-4.121-1.803a1.19 1.19 0 0 0-1.134-.87c-.654 0-1.186.54-1.186 1.204 0 .665.532 1.205 1.186 1.205.155 0 .302-.032.438-.087 1.985.98 3.464 1.609 4.577 1.996zM23.097 23.077l1.286 12.003c.09 2.227 5.777 2.253 6.021 2.253 1.217 0 2.442-.13 3.448-.366a8 8 0 0 0 1.108-.34c.939-.378 1.431-.892 1.465-1.528l.536-3.678c.364.075.662.108.9.108.746 0 .943-.306 1.08-.518a.98.98 0 0 0 .117-.77c-.153-.632-1.045-1.464-1.64-1.958l.753-5.175h-.008c.004-.04.016-.077.016-.118 0-2.226-4.742-2.82-7.543-2.82s-7.543.593-7.543 2.82c0 .03.01.057.012.087zm7.171-7.03c6.921 0 12.552 5.716 12.552 12.74 0 7.026-5.63 12.74-12.552 12.74s-12.552-5.715-12.552-12.74c0-7.024 5.63-12.74 12.552-12.74m-19.88 17.42v1.613h7.146v-.095c2.285 4.815 7.127 8.154 12.734 8.154 7.796 0 14.14-6.437 14.14-14.351s-6.344-14.352-14.14-14.352c-6.065 0-11.235 3.904-13.24 9.36h-6.64v1.612h6.153a14.5 14.5 0 0 0-.405 3.224H8.8v1.612h7.401c.112 1.12.364 2.195.715 3.224zm43.276 19.361c-.96.977-2.627.982-3.587.009l-8.53-8.66a19.2 19.2 0 0 0 3.648-3.636l8.478 8.647a2.57 2.57 0 0 1 .739 1.82 2.57 2.57 0 0 1-.748 1.82m1.134-4.778-8.669-8.842a19.27 19.27 0 0 0 3.043-10.42c0-10.581-8.48-19.188-18.904-19.188-7.49 0-14.282 4.496-17.305 11.454l1.453.65c2.769-6.374 8.991-10.492 15.852-10.492 9.549 0 17.316 7.884 17.316 17.576 0 9.69-7.767 17.575-17.316 17.575-6.378 0-12.222-3.544-15.253-9.248l-1.398.766c3.308 6.227 9.688 10.094 16.651 10.094 3.645 0 7.05-1.055 9.94-2.876l8.747 8.878a4.076 4.076 0 0 0 5.83-.007A4.18 4.18 0 0 0 56 51.01a4.18 4.18 0 0 0-1.202-2.96", clipRule: "evenodd" }),
|
|
1691
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs("linearGradient", { x1: "0%", y1: "100%", x2: "100%", y2: "0%", id: "aws-athena-gradient", children: [
|
|
1692
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#4D27A8", offset: "0" }),
|
|
1693
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "#A166FF" })
|
|
1694
|
+
] }) })
|
|
1699
1695
|
] });
|
|
1700
|
-
const
|
|
1701
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
1696
|
+
const AWSGlue = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1697
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "url(#aws-glue-gradient)", d: "M64 0H0v64h64z" }),
|
|
1698
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M26.4 18.4H28v-1.6h-1.6zm-1.6.8V16a.8.8 0 0 1 .8-.8h3.2a.8.8 0 0 1 .8.8v3.2a.8.8 0 0 1-.8.8h-3.2a.8.8 0 0 1-.8-.8m8-5.6h1.6V12h-1.6zm-1.6.8v-3.2a.8.8 0 0 1 .8-.8h3.2a.8.8 0 0 1 .8.8v3.2a.8.8 0 0 1-.8.8H32a.8.8 0 0 1-.8-.8m3.2 7.2H36V20h-1.6zm-.8-3.2h3.2a.8.8 0 0 1 .8.8v3.2a.8.8 0 0 1-.8.8h-3.2a.8.8 0 0 1-.8-.8v-3.2a.8.8 0 0 1 .8-.8M32 26.8c-1.409 0-6.517-.06-9.84-.877l8.117 12.85c.08.128.123.276.123.427v1.822c1.123.325 2.16.328 3.2.012V39.2c0-.151.043-.3.123-.427l8.116-12.85c-3.322.817-8.43.877-9.839.877m-12.597-2.246a1.06 1.06 0 0 1-.203-.604c0-2.276 7.507-2.697 11.982-2.746l.017 1.6c-5.497.06-8.857.687-10.04 1.154C22.413 24.483 26.113 25.2 32 25.2c5.87 0 9.566-.713 10.831-1.237-.517-.209-1.587-.517-3.728-.779l.194-1.588c4.85.592 5.503 1.522 5.503 2.354 0 .218-.076.418-.203.604L35.2 39.432V41.6a.8.8 0 0 1-.502.742c-.872.35-1.75.525-2.645.525-.888 0-1.794-.172-2.73-.517a.8.8 0 0 1-.523-.75v-2.168zm18.136 23.14a.8.8 0 0 1-.173.872l-4.8 4.8a.8.8 0 0 1-1.132 0l-4.8-4.8A.8.8 0 0 1 27.2 47.2h2.4v-2.4h1.6V48a.8.8 0 0 1-.8.8h-1.269L32 51.669l2.869-2.869H33.6a.8.8 0 0 1-.8-.8v-3.2h1.6v2.4h2.4a.8.8 0 0 1 .74.494", clipRule: "evenodd" }),
|
|
1699
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs("linearGradient", { x1: "0%", y1: "100%", x2: "100%", y2: "0%", id: "aws-glue-gradient", children: [
|
|
1702
1700
|
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#4D27A8", offset: "0" }),
|
|
1703
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", {
|
|
1704
|
-
] }) })
|
|
1701
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "#A166FF" })
|
|
1702
|
+
] }) })
|
|
1703
|
+
] });
|
|
1704
|
+
const AWSKinesis = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1705
1705
|
/* @__PURE__ */ jsxRuntime.jsxs("g", { fill: "none", fillRule: "evenodd", transform: "matrix(1.600000023841858, 0, 0, 1.600000023841858, 0, 0)", children: [
|
|
1706
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0 0h40v40H0z", fill: "url(#
|
|
1706
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0 0h40v40H0z", fill: "url(#aws-kinesis-gradient)" }),
|
|
1707
1707
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.886 31.107h1.005c0-4.043 2.626-8.176 22.109-8.176v-1.006c-20.368 0-23.114 4.642-23.114 9.182M12.773 34h1.004c0-3.64 0-9.14 19.223-9.14v-1.007c-18.665 0-20.227 5.013-20.227 10.147M8.004 13.75H7c0 3.555 4.788 5.81 14.233 6.75C11.788 21.438 7 23.694 7 27.25h1.004c0-2.333 3.247-6.247 24.996-6.247v-1.007c-21.749 0-24.996-3.913-24.996-6.246m2.887-3.857H9.886c0 4.54 2.746 9.181 23.114 9.181v-1.006c-19.483 0-22.11-4.133-22.11-8.175M33 16.139v1.007c-18.665 0-20.227-5.013-20.227-10.146h1.004c0 3.64 0 9.14 19.223 9.14", fill: "#FFF" })
|
|
1708
|
-
] })
|
|
1708
|
+
] }),
|
|
1709
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs("linearGradient", { x1: "0%", y1: "100%", x2: "100%", y2: "0%", id: "aws-kinesis-gradient", children: [
|
|
1710
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#4D27A8", offset: "0" }),
|
|
1711
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#A166FF", offset: "1" })
|
|
1712
|
+
] }) })
|
|
1709
1713
|
] });
|
|
1710
1714
|
const AWSRedshift = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1711
|
-
/* @__PURE__ */ jsxRuntime.
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#4D27A8" }),
|
|
1718
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "#A166FF" })
|
|
1719
|
-
] }),
|
|
1720
|
-
/* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_472_6151", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4", y: "4", width: "56", height: "56", rx: "4", fill: "white" }) })
|
|
1721
|
-
] })
|
|
1715
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "url(#aws-redshift-gradient)", d: "M64 0H0v64h64z" }),
|
|
1716
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M40.66 28.136a1.536 1.536 0 0 1-1.537-1.533 1.537 1.537 0 0 1 3.073 0c0 .846-.689 1.533-1.536 1.533m-3.892 9.324a1.536 1.536 0 0 1-1.536-1.533 1.536 1.536 0 0 1 3.072 0c0 .845-.69 1.533-1.537 1.533m-9.342-1.554a1.536 1.536 0 0 1-1.535-1.533 1.537 1.537 0 0 1 3.072 0c0 .845-.69 1.533-1.537 1.533m-3.892 8.546a1.537 1.537 0 0 1-1.536-1.533 1.537 1.537 0 0 1 3.073 0c0 .846-.689 1.533-1.537 1.533M40.66 23.474a3.136 3.136 0 0 0-3.135 3.13 3.12 3.12 0 0 0 1.34 2.557l-1.463 3.702a3.126 3.126 0 0 0-3.588 2.061l-3.272-.742a3.13 3.13 0 0 0-3.116-2.938 3.135 3.135 0 0 0-3.133 3.129 3.1 3.1 0 0 0 .819 2.09l-1.428 3.343c-.052-.003-.099-.015-.15-.015a3.135 3.135 0 0 0-3.134 3.128 3.135 3.135 0 0 0 6.27 0 3.12 3.12 0 0 0-1.455-2.632l1.26-2.949c.303.097.618.163.95.163 1.234 0 2.293-.72 2.803-1.755l3.467.787a3.135 3.135 0 0 0 6.208-.606c0-.933-.42-1.761-1.07-2.336l1.536-3.889c.098.01.191.03.291.03a3.135 3.135 0 0 0 3.134-3.129 3.136 3.136 0 0 0-3.134-3.129M32 52.804c-7.785 0-13.602-2.336-13.602-4.426V18.521c2.649 2.152 8.254 3.29 13.619 3.29 5.34 0 10.922-1.128 13.585-3.262v29.83c0 2.089-5.818 4.426-13.602 4.426m.017-41.609c8.005 0 13.585 2.377 13.585 4.51s-5.58 4.51-13.585 4.51c-8.007 0-13.585-2.376-13.585-4.51s5.578-4.51 13.585-4.51m15.183 4.51c0-3.965-7.823-6.105-15.183-6.105s-15.183 2.14-15.183 6.106l.001.02H16.8v32.652c0 3.911 7.831 6.022 15.2 6.022s15.2-2.11 15.2-6.022V15.726h-.002z", clipRule: "evenodd" }),
|
|
1717
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs("linearGradient", { x1: "0%", y1: "100%", x2: "100%", y2: "0%", id: "aws-redshift-gradient", children: [
|
|
1718
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#4D27A8", offset: "0" }),
|
|
1719
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#A166FF", offset: "1" })
|
|
1720
|
+
] }) })
|
|
1722
1721
|
] });
|
|
1723
1722
|
const AWSMsk = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1724
|
-
/* @__PURE__ */ jsxRuntime.
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#4D27A8" }),
|
|
1731
|
-
/* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "1", stopColor: "#A166FF" })
|
|
1732
|
-
] }),
|
|
1733
|
-
/* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_5310_1178", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4", y: "4", width: "56", height: "56", rx: "4", fill: "white" }) })
|
|
1734
|
-
] })
|
|
1723
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "url(#aws-msk-gradient)", d: "M64 0H0v64h64z" }),
|
|
1724
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", fillRule: "evenodd", d: "M28.807 29.582v-7.193h1.596v3.197l2.155-3.197h1.768l-2.498 3.363 2.704 3.83h-1.894l-2.235-3.477v3.477zM52.8 39.294l-.535.463c-1.078.944-2.528 1.416-3.979 1.416s-2.904-.473-3.983-1.419l-1.067-.924c-1.564-1.37-4.304-1.37-5.865-.003l-1.073.93c-2.155 1.888-5.805 1.89-7.963-.003l-1.066-.924c-1.565-1.37-4.304-1.37-5.866-.003l-1.073.93c-2.155 1.888-5.804 1.89-7.962-.003l-.532-.46 1.045-1.21.535.464c1.566 1.372 4.305 1.372 5.866.003l1.073-.93c2.155-1.887 5.804-1.887 7.962.003l1.067.924c1.565 1.372 4.305 1.372 5.865.003l1.073-.93c2.155-1.887 5.805-1.887 7.963.003l1.066.924c1.565 1.372 4.304 1.372 5.866.003l.538-.466zm-1.681 9.618 1.045 1.208-.535.464c-1.077.944-2.527 1.415-3.978 1.415s-2.904-.472-3.984-1.418l-1.067-.924c-1.565-1.37-4.304-1.37-5.866-.003l-1.073.93c-2.153 1.888-5.802 1.889-7.962-.003l-1.066-.924c-1.564-1.37-4.304-1.37-5.866-.003l-1.073.93c-2.154 1.888-5.803 1.889-7.962-.003l-.532-.46 1.045-1.21.535.464c1.566 1.37 4.305 1.371 5.866.003l1.073-.93c2.155-1.887 5.803-1.888 7.962.003l1.066.924c1.566 1.37 4.305 1.371 5.866.003l1.073-.93c2.156-1.887 5.804-1.888 7.962.003l1.067.924c1.566 1.37 4.305 1.371 5.865.003zm0-5.067 1.045 1.208-.535.463c-2.154 1.89-5.804 1.89-7.962-.002L42.6 44.59c-1.565-1.371-4.304-1.37-5.866-.003l-1.073.93c-1.077.944-2.527 1.415-3.977 1.415-1.452 0-2.905-.472-3.985-1.418l-1.066-.924c-1.564-1.371-4.304-1.37-5.866-.003l-1.073.93c-2.153 1.889-5.803 1.889-7.962-.003l-.532-.461 1.045-1.208.535.464c1.566 1.371 4.305 1.37 5.866.002l1.073-.93c2.155-1.887 5.805-1.889 7.962.003l1.066.924c1.566 1.372 4.305 1.371 5.866.003l1.073-.93c2.156-1.887 5.805-1.889 7.962.003l1.067.924c1.566 1.372 4.305 1.371 5.865.003zM19.226 30.381a1.6 1.6 0 0 1 0 3.197 1.6 1.6 0 0 1 0-3.197m11.976-16.783a1.6 1.6 0 0 1 0 3.197 1.6 1.6 0 0 1 0-3.197M44.774 31.98a1.6 1.6 0 0 1-1.597 1.599 1.6 1.6 0 0 1 0-3.197 1.6 1.6 0 0 1 1.597 1.598M31.202 18.393c.531 0 1.026-.143 1.468-.375l8.134 11.843c-.333.373-.578.821-.706 1.319H22.305a3.16 3.16 0 0 0-.705-1.319l8.133-11.843c.442.232.937.375 1.469.375M19.226 35.176a3.19 3.19 0 0 0 3.08-2.398h17.792a3.19 3.19 0 0 0 3.08 2.398 3.2 3.2 0 0 0 3.193-3.197 3.2 3.2 0 0 0-3.194-3.197c-.368 0-.716.076-1.046.19L33.87 16.945a3.17 3.17 0 0 0 .525-1.747A3.2 3.2 0 0 0 31.202 12a3.2 3.2 0 0 0-3.194 3.197c0 .645.195 1.245.526 1.747l-8.261 12.029a3.2 3.2 0 0 0-1.047-.19 3.2 3.2 0 0 0-3.193 3.196 3.2 3.2 0 0 0 3.193 3.197", clipRule: "evenodd" }),
|
|
1725
|
+
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs("linearGradient", { x1: "0%", y1: "100%", x2: "100%", y2: "0%", id: "aws-msk-gradient", children: [
|
|
1726
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#4D27A8", offset: "0" }),
|
|
1727
|
+
/* @__PURE__ */ jsxRuntime.jsx("stop", { stopColor: "#A166FF", offset: "1" })
|
|
1728
|
+
] }) })
|
|
1735
1729
|
] });
|
|
1736
1730
|
const AWS_S3 = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
1737
1731
|
/* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_472_6149)", children: [
|
|
@@ -2279,6 +2273,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2279
2273
|
airbyte: Airbyte,
|
|
2280
2274
|
aws: AWSLight,
|
|
2281
2275
|
"aws-athena": AWSAthena,
|
|
2276
|
+
"aws-glue": AWSGlue,
|
|
2282
2277
|
"aws-kinesis": AWSKinesis,
|
|
2283
2278
|
"aws-msk": AWSMsk,
|
|
2284
2279
|
"aws-redshift": AWSRedshift,
|
|
@@ -2469,6 +2464,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2469
2464
|
airbyte: Airbyte,
|
|
2470
2465
|
aws: AWSDark,
|
|
2471
2466
|
"aws-athena": AWSAthena,
|
|
2467
|
+
"aws-glue": AWSGlue,
|
|
2472
2468
|
"aws-kinesis": AWSKinesis,
|
|
2473
2469
|
"aws-msk": AWSMsk,
|
|
2474
2470
|
"aws-redshift": AWSRedshift,
|
|
@@ -9638,12 +9634,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
9638
9634
|
componentId: "sc-1qnbjoa-1"
|
|
9639
9635
|
})(["display:flex;flex-direction:column;align-self:start;gap:", ";flex:1;width:100%;"], ({
|
|
9640
9636
|
theme: theme2
|
|
9641
|
-
}) => theme2.click.card.horizontal.space.gap);
|
|
9637
|
+
}) => theme2.click.card.horizontal.space.md.gap);
|
|
9642
9638
|
const Wrapper$9 = styled.styled.div.withConfig({
|
|
9643
9639
|
componentId: "sc-1qnbjoa-2"
|
|
9644
9640
|
})(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;", ""], ({
|
|
9645
9641
|
theme: theme2,
|
|
9646
9642
|
$color,
|
|
9643
|
+
$size,
|
|
9647
9644
|
$isSelected,
|
|
9648
9645
|
$isSelectable,
|
|
9649
9646
|
$disabled
|
|
@@ -9652,8 +9649,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
9652
9649
|
color: ${theme2.click.card.horizontal[$color].color.title.default};
|
|
9653
9650
|
border-radius: ${theme2.click.card.horizontal.radii.all};
|
|
9654
9651
|
border: 1px solid ${theme2.click.card.horizontal[$color].color.stroke[$isSelectable ? $isSelected ? "active" : "hover" : "default"]};
|
|
9655
|
-
|
|
9656
|
-
gap: ${theme2.click.card.horizontal.space.gap};
|
|
9652
|
+
padding: ${$size === "md" ? `${theme2.click.card.horizontal.space.md.y} ${theme2.click.card.horizontal.space.md.x}` : `${theme2.click.card.horizontal.space.sm.y} ${theme2.click.card.horizontal.space.sm.x}`};
|
|
9657
9653
|
font: ${theme2.click.card.horizontal.typography.title.default};
|
|
9658
9654
|
${Description} {
|
|
9659
9655
|
color: ${theme2.click.card.horizontal[$color].color.description.default};
|
|
@@ -9710,15 +9706,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
9710
9706
|
const ContentWrapper = styled.styled.div.withConfig({
|
|
9711
9707
|
componentId: "sc-1qnbjoa-4"
|
|
9712
9708
|
})(["display:flex;flex-direction:row;width:100%;gap:", ";@media (max-width:", "){flex-direction:column;}"], ({
|
|
9713
|
-
theme: theme2
|
|
9714
|
-
|
|
9709
|
+
theme: theme2,
|
|
9710
|
+
$size
|
|
9711
|
+
}) => $size === "md" ? theme2.click.card.horizontal.space.md.gap : theme2.click.card.horizontal.space.sm.gap, ({
|
|
9715
9712
|
theme: theme2
|
|
9716
9713
|
}) => theme2.breakpoint.sizes.md);
|
|
9717
9714
|
const IconTextContentWrapper = styled.styled.div.withConfig({
|
|
9718
9715
|
componentId: "sc-1qnbjoa-5"
|
|
9719
9716
|
})(["display:flex;flex-direction:row;align-items:center;width:100%;gap:", ";"], ({
|
|
9720
|
-
theme: theme2
|
|
9721
|
-
|
|
9717
|
+
theme: theme2,
|
|
9718
|
+
$size
|
|
9719
|
+
}) => $size === "md" ? theme2.click.card.horizontal.space.md.gap : theme2.click.card.horizontal.space.sm.gap);
|
|
9722
9720
|
const CardHorizontal = ({
|
|
9723
9721
|
title,
|
|
9724
9722
|
icon,
|
|
@@ -9730,6 +9728,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
9730
9728
|
isSelectable = infoText ? false : true,
|
|
9731
9729
|
children,
|
|
9732
9730
|
color = "default",
|
|
9731
|
+
size: size2 = "md",
|
|
9733
9732
|
badgeText,
|
|
9734
9733
|
badgeState,
|
|
9735
9734
|
badgeIcon,
|
|
@@ -9745,8 +9744,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
9745
9744
|
window.open(infoUrl, "_blank");
|
|
9746
9745
|
}
|
|
9747
9746
|
};
|
|
9748
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$9, { $disabled: disabled, $isSelected: isSelected, $isSelectable: isSelectable, $color: color, tabIndex: 0, onClick: handleClick, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(ContentWrapper, { children: [
|
|
9749
|
-
/* @__PURE__ */ jsxRuntime.jsxs(IconTextContentWrapper, { children: [
|
|
9747
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$9, { $disabled: disabled, $isSelected: isSelected, $isSelectable: isSelectable, $color: color, $size: size2, tabIndex: 0, onClick: handleClick, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(ContentWrapper, { $size: size2, children: [
|
|
9748
|
+
/* @__PURE__ */ jsxRuntime.jsxs(IconTextContentWrapper, { $size: size2, children: [
|
|
9750
9749
|
icon && /* @__PURE__ */ jsxRuntime.jsx(CardIcon$1, { name: icon, "aria-hidden": true }),
|
|
9751
9750
|
/* @__PURE__ */ jsxRuntime.jsxs(Container, { padding: "none", orientation: "vertical", children: [
|
|
9752
9751
|
title && /* @__PURE__ */ jsxRuntime.jsxs(Header$4, { as: Container, isResponsive: false, gap: "xs", justifyContent: "space-between", fillWidth: true, children: [
|
|
@@ -17002,7 +17001,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17002
17001
|
};
|
|
17003
17002
|
const UploadArea$1 = styled.div.withConfig({
|
|
17004
17003
|
componentId: "sc-1rzizve-0"
|
|
17005
|
-
})(["background-color:", ";border:", ";border-radius:", ";padding:", ";display:flex;flex-direction:", ";align-items:center;justify-content:", ";gap:", ";cursor:", ";transition:", ";", " ", ""], ({
|
|
17004
|
+
})(["background-color:", ";border:", ";border-radius:", ";padding:", ";min-height:", ";display:flex;flex-direction:", ";align-items:center;justify-content:", ";gap:", ";cursor:", ";transition:", ";", " ", ""], ({
|
|
17006
17005
|
theme: theme2
|
|
17007
17006
|
}) => theme2.click.fileUpload.color.background.default, ({
|
|
17008
17007
|
theme: theme2
|
|
@@ -17013,7 +17012,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17013
17012
|
theme: theme2,
|
|
17014
17013
|
$hasFile,
|
|
17015
17014
|
$size
|
|
17016
|
-
}) => $hasFile || $size === "sm" ? `${theme2.click.fileUpload.sm.space.y} ${theme2.click.fileUpload.sm.space.x}` : `${theme2.click.fileUpload.md.space.y} ${theme2.click.fileUpload.md.space.x}`, (
|
|
17015
|
+
}) => $hasFile || $size === "sm" ? `${theme2.click.fileUpload.sm.space.y} ${theme2.click.fileUpload.sm.space.x}` : `${theme2.click.fileUpload.md.space.y} ${theme2.click.fileUpload.md.space.x}`, ({
|
|
17016
|
+
theme: theme2,
|
|
17017
|
+
$size
|
|
17018
|
+
}) => $size === "sm" ? `calc(${theme2.click.fileUpload.sm.space.y} * 2 + ${theme2.sizes[6]})` : "auto", (props) => props.$hasFile ? "row" : props.$size === "sm" ? "row" : "column", (props) => props.$hasFile ? "space-between" : props.$size === "sm" ? "space-between" : "center", ({
|
|
17017
17019
|
theme: theme2,
|
|
17018
17020
|
$size
|
|
17019
17021
|
}) => $size === "sm" ? theme2.click.fileUpload.sm.space.gap : theme2.click.fileUpload.md.space.gap, (props) => props.$hasFile ? "default" : "pointer", ({
|
|
@@ -17024,7 +17026,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17024
17026
|
theme: theme2
|
|
17025
17027
|
}) => theme2.click.fileUpload.color.background.active, ({
|
|
17026
17028
|
theme: theme2
|
|
17027
|
-
}) => theme2.click.fileUpload.color.stroke.active)), (props) => props.$isError && styled.css(["background-color:", ";border:
|
|
17029
|
+
}) => theme2.click.fileUpload.color.stroke.active)), (props) => props.$isError && styled.css(["background-color:", ";border-color:transparent;"], ({
|
|
17028
17030
|
theme: theme2
|
|
17029
17031
|
}) => theme2.click.fileUpload.color.background.error));
|
|
17030
17032
|
const FileUploadTitle$1 = styled(Title$2).withConfig({
|
|
@@ -17035,24 +17037,32 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17035
17037
|
theme: theme2,
|
|
17036
17038
|
$isNotSupported
|
|
17037
17039
|
}) => $isNotSupported ? theme2.click.fileUpload.color.title.error : theme2.click.fileUpload.color.title.default);
|
|
17038
|
-
const
|
|
17040
|
+
const FileName$1 = styled(Text).withConfig({
|
|
17039
17041
|
componentId: "sc-1rzizve-2"
|
|
17040
17042
|
})(["font:", ";color:", ";"], ({
|
|
17041
17043
|
theme: theme2
|
|
17042
17044
|
}) => theme2.click.fileUpload.typography.description.default, ({
|
|
17043
17045
|
theme: theme2
|
|
17044
|
-
}) => theme2.click.fileUpload.color.
|
|
17045
|
-
const
|
|
17046
|
+
}) => theme2.click.fileUpload.color.title.default);
|
|
17047
|
+
const FileUploadDescription$1 = styled(Text).withConfig({
|
|
17046
17048
|
componentId: "sc-1rzizve-3"
|
|
17049
|
+
})(["font:", ";color:", ";"], ({
|
|
17050
|
+
theme: theme2
|
|
17051
|
+
}) => theme2.click.fileUpload.typography.description.default, ({
|
|
17052
|
+
theme: theme2,
|
|
17053
|
+
$isError
|
|
17054
|
+
}) => $isError ? theme2.click.fileUpload.color.title.error : theme2.click.fileUpload.color.description.default);
|
|
17055
|
+
const DocumentIcon$1 = styled(SvgImage).withConfig({
|
|
17056
|
+
componentId: "sc-1rzizve-4"
|
|
17047
17057
|
})(["svg{width:", ";height:", ";color:", ";}"], ({
|
|
17048
17058
|
theme: theme2
|
|
17049
|
-
}) => theme2.click.fileUpload.
|
|
17059
|
+
}) => theme2.click.fileUpload.md.icon.size.width, ({
|
|
17050
17060
|
theme: theme2
|
|
17051
|
-
}) => theme2.click.fileUpload.
|
|
17061
|
+
}) => theme2.click.fileUpload.md.icon.size.height, ({
|
|
17052
17062
|
theme: theme2
|
|
17053
|
-
}) => theme2.click.fileUpload.
|
|
17063
|
+
}) => theme2.click.fileUpload.md.color.icon.default);
|
|
17054
17064
|
const UploadIcon$1 = styled(SvgImage).withConfig({
|
|
17055
|
-
componentId: "sc-1rzizve-
|
|
17065
|
+
componentId: "sc-1rzizve-5"
|
|
17056
17066
|
})(["svg{width:", ";height:", ";color:", ";}"], ({
|
|
17057
17067
|
theme: theme2
|
|
17058
17068
|
}) => theme2.click.fileUpload.md.icon.size.width, ({
|
|
@@ -17061,16 +17071,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17061
17071
|
theme: theme2
|
|
17062
17072
|
}) => theme2.click.fileUpload.md.color.icon.default);
|
|
17063
17073
|
const UploadText$1 = styled.div.withConfig({
|
|
17064
|
-
componentId: "sc-1rzizve-5"
|
|
17065
|
-
})(["text-align:", ";", " ", ""], (props) => props.$hasFile || props.$size === "sm" ? "left" : "center", (props) => (props.$hasFile || props.$size === "sm") && styled.css(["flex:1;"]), (props) => !props.$hasFile && props.$size === "md" && styled.css(["display:flex;flex-direction:column;align-items:center;width:100%;"]));
|
|
17066
|
-
const FileInfoHeader$1 = styled.div.withConfig({
|
|
17067
17074
|
componentId: "sc-1rzizve-6"
|
|
17068
|
-
})(["display:flex;align-items:center;
|
|
17069
|
-
|
|
17070
|
-
}) => theme2.click.fileUpload.sm.space.gap);
|
|
17071
|
-
const FileInfo$1 = styled.div.withConfig({
|
|
17075
|
+
})(["text-align:", ";", " ", ""], (props) => props.$hasFile || props.$size === "sm" ? "left" : "center", (props) => (props.$hasFile || props.$size === "sm") && styled.css(["flex:1;"]), (props) => !props.$hasFile && props.$size === "md" && styled.css(["display:flex;flex-direction:column;align-items:center;width:100%;"]));
|
|
17076
|
+
styled.div.withConfig({
|
|
17072
17077
|
componentId: "sc-1rzizve-7"
|
|
17073
|
-
})(["display:flex;flex-direction:
|
|
17078
|
+
})(["display:flex;flex-direction:row;gap:", ";"], ({
|
|
17074
17079
|
theme: theme2
|
|
17075
17080
|
}) => theme2.click.fileUpload.hasFile.header.space.gap);
|
|
17076
17081
|
const FileDetails$1 = styled.div.withConfig({
|
|
@@ -17081,17 +17086,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17081
17086
|
const FileActions$1 = styled.div.withConfig({
|
|
17082
17087
|
componentId: "sc-1rzizve-9"
|
|
17083
17088
|
})(["display:flex;align-items:center;margin-left:auto;gap:0;"]);
|
|
17084
|
-
const
|
|
17089
|
+
const FileContentContainer$1 = styled.div.withConfig({
|
|
17085
17090
|
componentId: "sc-1rzizve-10"
|
|
17086
|
-
})(["display:flex;flex-direction:
|
|
17087
|
-
|
|
17091
|
+
})(["flex:1;display:flex;flex-direction:column;justify-content:center;min-height:", ";"], ({
|
|
17092
|
+
$size
|
|
17093
|
+
}) => $size === "sm" ? "24px" : "auto");
|
|
17094
|
+
const ProgressBarWrapper$1 = styled.div.withConfig({
|
|
17088
17095
|
componentId: "sc-1rzizve-11"
|
|
17089
|
-
})(["
|
|
17090
|
-
const ProgressPercentage$1 = styled(Text).withConfig({
|
|
17091
|
-
componentId: "sc-1rzizve-12"
|
|
17092
|
-
})(["min-width:", ";text-align:right;padding-right:", ";"], ({
|
|
17093
|
-
theme: theme2
|
|
17094
|
-
}) => theme2.sizes[10], ({
|
|
17096
|
+
})(["margin-top:", ";margin-bottom:9px;"], ({
|
|
17095
17097
|
theme: theme2
|
|
17096
17098
|
}) => theme2.click.fileUpload.md.space.gap);
|
|
17097
17099
|
const formatFileSize$1 = (sizeInBytes) => {
|
|
@@ -17242,26 +17244,24 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17242
17244
|
e.stopPropagation();
|
|
17243
17245
|
handleBrowseClick();
|
|
17244
17246
|
}, children: "Browse file" })
|
|
17245
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
17246
|
-
/* @__PURE__ */ jsxRuntime.
|
|
17247
|
-
|
|
17247
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
17248
|
+
/* @__PURE__ */ jsxRuntime.jsx(DocumentIcon$1, { name: "document" }),
|
|
17249
|
+
/* @__PURE__ */ jsxRuntime.jsxs(FileContentContainer$1, { $size: size2, children: [
|
|
17248
17250
|
/* @__PURE__ */ jsxRuntime.jsxs(FileDetails$1, { children: [
|
|
17249
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17250
|
-
|
|
17251
|
-
|
|
17251
|
+
/* @__PURE__ */ jsxRuntime.jsx(FileName$1, { children: truncateFilename(file.name) }),
|
|
17252
|
+
showProgress && !showSuccess && /* @__PURE__ */ jsxRuntime.jsxs(FileUploadDescription$1, { children: [
|
|
17253
|
+
progress,
|
|
17254
|
+
"%"
|
|
17255
|
+
] }),
|
|
17256
|
+
!showProgress && !showSuccess && /* @__PURE__ */ jsxRuntime.jsx(FileUploadDescription$1, { $isError: true, children: failureMessage }),
|
|
17252
17257
|
showSuccess && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { size: "xs", state: "success", name: "check" })
|
|
17253
17258
|
] }),
|
|
17254
|
-
/* @__PURE__ */ jsxRuntime.
|
|
17255
|
-
|
|
17256
|
-
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { size: "sm", icon: "cross", type: "ghost", onClick: handleRemoveFile })
|
|
17257
|
-
] })
|
|
17259
|
+
showProgress && !showSuccess && /* @__PURE__ */ jsxRuntime.jsx(ProgressBarWrapper$1, { children: /* @__PURE__ */ jsxRuntime.jsx(ProgressBar, { progress, type: "small" }) }),
|
|
17260
|
+
(showSuccess || !showProgress) && /* @__PURE__ */ jsxRuntime.jsx(FileUploadDescription$1, { children: formatFileSize$1(file.size) })
|
|
17258
17261
|
] }),
|
|
17259
|
-
|
|
17260
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17261
|
-
/* @__PURE__ */ jsxRuntime.
|
|
17262
|
-
progress,
|
|
17263
|
-
"%"
|
|
17264
|
-
] })
|
|
17262
|
+
/* @__PURE__ */ jsxRuntime.jsxs(FileActions$1, { children: [
|
|
17263
|
+
!showProgress && !showSuccess && /* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { size: "sm", icon: "refresh", type: "ghost", onClick: handleRetryUpload }),
|
|
17264
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { size: "sm", icon: "cross", type: "ghost", onClick: handleRemoveFile })
|
|
17265
17265
|
] })
|
|
17266
17266
|
] }) }),
|
|
17267
17267
|
/* @__PURE__ */ jsxRuntime.jsx("input", { type: "file", ref: fileInputRef, accept: acceptedFileTypes, onChange: handleFileSelect, style: {
|
|
@@ -17298,15 +17298,23 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17298
17298
|
theme: theme2,
|
|
17299
17299
|
$isNotSupported
|
|
17300
17300
|
}) => $isNotSupported ? theme2.click.fileUpload.color.title.error : theme2.click.fileUpload.color.title.default);
|
|
17301
|
-
const
|
|
17301
|
+
const FileName = styled(Text).withConfig({
|
|
17302
17302
|
componentId: "sc-1w9rsfj-2"
|
|
17303
17303
|
})(["font:", ";color:", ";"], ({
|
|
17304
17304
|
theme: theme2
|
|
17305
17305
|
}) => theme2.click.fileUpload.typography.description.default, ({
|
|
17306
17306
|
theme: theme2
|
|
17307
|
-
}) => theme2.click.fileUpload.color.
|
|
17308
|
-
const
|
|
17307
|
+
}) => theme2.click.fileUpload.color.title.default);
|
|
17308
|
+
const FileUploadDescription = styled(Text).withConfig({
|
|
17309
17309
|
componentId: "sc-1w9rsfj-3"
|
|
17310
|
+
})(["font:", ";color:", ";"], ({
|
|
17311
|
+
theme: theme2
|
|
17312
|
+
}) => theme2.click.fileUpload.typography.description.default, ({
|
|
17313
|
+
theme: theme2,
|
|
17314
|
+
$isError
|
|
17315
|
+
}) => $isError ? theme2.click.fileUpload.color.title.error : theme2.click.fileUpload.color.description.default);
|
|
17316
|
+
const UploadIcon = styled(SvgImage).withConfig({
|
|
17317
|
+
componentId: "sc-1w9rsfj-4"
|
|
17310
17318
|
})(["svg{width:", ";height:", ";color:", ";}"], ({
|
|
17311
17319
|
theme: theme2
|
|
17312
17320
|
}) => theme2.click.fileUpload.md.icon.size.width, ({
|
|
@@ -17315,17 +17323,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17315
17323
|
theme: theme2
|
|
17316
17324
|
}) => theme2.click.fileUpload.md.color.icon.default);
|
|
17317
17325
|
const UploadText = styled.div.withConfig({
|
|
17318
|
-
componentId: "sc-1w9rsfj-
|
|
17326
|
+
componentId: "sc-1w9rsfj-5"
|
|
17319
17327
|
})(["text-align:center;display:flex;flex-direction:column;align-items:center;width:100%;"]);
|
|
17320
17328
|
const FilesList = styled.div.withConfig({
|
|
17321
|
-
componentId: "sc-1w9rsfj-
|
|
17329
|
+
componentId: "sc-1w9rsfj-6"
|
|
17322
17330
|
})(["display:flex;flex-direction:column;gap:", ";width:100%;margin-top:", ";"], ({
|
|
17323
17331
|
theme: theme2
|
|
17324
17332
|
}) => theme2.click.fileUpload.sm.space.gap, ({
|
|
17325
17333
|
theme: theme2
|
|
17326
17334
|
}) => theme2.click.fileUpload.md.space.gap);
|
|
17327
17335
|
const FileItem = styled.div.withConfig({
|
|
17328
|
-
componentId: "sc-1w9rsfj-
|
|
17336
|
+
componentId: "sc-1w9rsfj-7"
|
|
17329
17337
|
})(["background-color:", ";border:", ";border-radius:", ";padding:", ";display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:", ";", ""], ({
|
|
17330
17338
|
theme: theme2
|
|
17331
17339
|
}) => theme2.click.fileUpload.color.background.default, ({
|
|
@@ -17336,11 +17344,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17336
17344
|
theme: theme2
|
|
17337
17345
|
}) => `${theme2.click.fileUpload.sm.space.y} ${theme2.click.fileUpload.sm.space.x}`, ({
|
|
17338
17346
|
theme: theme2
|
|
17339
|
-
}) => theme2.click.fileUpload.sm.space.gap, (props) => props.$isError && styled.css(["background-color:", ";border:
|
|
17347
|
+
}) => theme2.click.fileUpload.sm.space.gap, (props) => props.$isError && styled.css(["background-color:", ";border-color:transparent;"], ({
|
|
17340
17348
|
theme: theme2
|
|
17341
17349
|
}) => theme2.click.fileUpload.color.background.error));
|
|
17342
17350
|
const DocumentIcon = styled(SvgImage).withConfig({
|
|
17343
|
-
componentId: "sc-1w9rsfj-
|
|
17351
|
+
componentId: "sc-1w9rsfj-8"
|
|
17344
17352
|
})(["svg{width:", ";height:", ";color:", ";}"], ({
|
|
17345
17353
|
theme: theme2
|
|
17346
17354
|
}) => theme2.click.fileUpload.sm.icon.size.width, ({
|
|
@@ -17348,35 +17356,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17348
17356
|
}) => theme2.click.fileUpload.sm.icon.size.height, ({
|
|
17349
17357
|
theme: theme2
|
|
17350
17358
|
}) => theme2.click.fileUpload.sm.color.icon.default);
|
|
17351
|
-
const FileInfoHeader = styled.div.withConfig({
|
|
17352
|
-
componentId: "sc-1w9rsfj-8"
|
|
17353
|
-
})(["display:flex;align-items:center;gap:", ";width:100%;"], ({
|
|
17354
|
-
theme: theme2
|
|
17355
|
-
}) => theme2.click.fileUpload.sm.space.gap);
|
|
17356
|
-
const FileInfo = styled.div.withConfig({
|
|
17357
|
-
componentId: "sc-1w9rsfj-9"
|
|
17358
|
-
})(["display:flex;flex-direction:column;gap:", ";flex:1;"], ({
|
|
17359
|
-
theme: theme2
|
|
17360
|
-
}) => theme2.click.fileUpload.hasFile.header.space.gap);
|
|
17361
17359
|
const FileDetails = styled.div.withConfig({
|
|
17362
|
-
componentId: "sc-1w9rsfj-
|
|
17360
|
+
componentId: "sc-1w9rsfj-9"
|
|
17363
17361
|
})(["display:flex;gap:", ";border:none;"], ({
|
|
17364
17362
|
theme: theme2
|
|
17365
17363
|
}) => theme2.click.fileUpload.md.space.gap);
|
|
17366
17364
|
const FileActions = styled.div.withConfig({
|
|
17367
|
-
componentId: "sc-1w9rsfj-
|
|
17365
|
+
componentId: "sc-1w9rsfj-10"
|
|
17368
17366
|
})(["display:flex;align-items:center;margin-left:auto;gap:0;"]);
|
|
17369
|
-
const
|
|
17367
|
+
const FileContentContainer = styled.div.withConfig({
|
|
17368
|
+
componentId: "sc-1w9rsfj-11"
|
|
17369
|
+
})(["flex:1;display:flex;flex-direction:column;justify-content:center;min-height:24px;"]);
|
|
17370
|
+
const ProgressBarWrapper = styled.div.withConfig({
|
|
17370
17371
|
componentId: "sc-1w9rsfj-12"
|
|
17371
|
-
})(["
|
|
17372
|
-
const ProgressBarContainer = styled.div.withConfig({
|
|
17373
|
-
componentId: "sc-1w9rsfj-13"
|
|
17374
|
-
})(["width:100%;flex:1;"]);
|
|
17375
|
-
const ProgressPercentage = styled(Text).withConfig({
|
|
17376
|
-
componentId: "sc-1w9rsfj-14"
|
|
17377
|
-
})(["min-width:", ";text-align:right;padding-right:", ";"], ({
|
|
17378
|
-
theme: theme2
|
|
17379
|
-
}) => theme2.sizes[10], ({
|
|
17372
|
+
})(["margin-top:", ";margin-bottom:9px;"], ({
|
|
17380
17373
|
theme: theme2
|
|
17381
17374
|
}) => theme2.click.fileUpload.md.space.gap);
|
|
17382
17375
|
const formatFileSize = (sizeInBytes) => {
|
|
@@ -17516,28 +17509,26 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17516
17509
|
handleBrowseClick();
|
|
17517
17510
|
}, children: "Browse files" })
|
|
17518
17511
|
] }),
|
|
17519
|
-
files.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(FilesList, { children: files.map((file) => /* @__PURE__ */ jsxRuntime.
|
|
17520
|
-
/* @__PURE__ */ jsxRuntime.
|
|
17521
|
-
|
|
17512
|
+
files.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(FilesList, { children: files.map((file) => /* @__PURE__ */ jsxRuntime.jsxs(FileItem, { $isError: file.status === "error", children: [
|
|
17513
|
+
/* @__PURE__ */ jsxRuntime.jsx(DocumentIcon, { name: "document" }),
|
|
17514
|
+
/* @__PURE__ */ jsxRuntime.jsxs(FileContentContainer, { children: [
|
|
17522
17515
|
/* @__PURE__ */ jsxRuntime.jsxs(FileDetails, { children: [
|
|
17523
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17524
|
-
|
|
17525
|
-
|
|
17516
|
+
/* @__PURE__ */ jsxRuntime.jsx(FileName, { children: truncateFilename(file.name) }),
|
|
17517
|
+
file.status === "uploading" && /* @__PURE__ */ jsxRuntime.jsxs(FileUploadDescription, { children: [
|
|
17518
|
+
file.progress,
|
|
17519
|
+
"%"
|
|
17520
|
+
] }),
|
|
17521
|
+
file.status === "error" && /* @__PURE__ */ jsxRuntime.jsx(FileUploadDescription, { $isError: true, children: file.errorMessage || "Upload failed" }),
|
|
17526
17522
|
file.status === "success" && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { size: "xs", state: "success", name: "check" })
|
|
17527
17523
|
] }),
|
|
17528
|
-
/* @__PURE__ */ jsxRuntime.
|
|
17529
|
-
|
|
17530
|
-
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { size: "sm", icon: "cross", type: "ghost", onClick: () => handleRemoveFile(file.id) })
|
|
17531
|
-
] })
|
|
17524
|
+
file.status === "uploading" && /* @__PURE__ */ jsxRuntime.jsx(ProgressBarWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(ProgressBar, { progress: file.progress, type: "small" }) }),
|
|
17525
|
+
(file.status === "success" || file.status === "error") && /* @__PURE__ */ jsxRuntime.jsx(FileUploadDescription, { children: formatFileSize(file.size) })
|
|
17532
17526
|
] }),
|
|
17533
|
-
|
|
17534
|
-
|
|
17535
|
-
/* @__PURE__ */ jsxRuntime.
|
|
17536
|
-
file.progress,
|
|
17537
|
-
"%"
|
|
17538
|
-
] })
|
|
17527
|
+
/* @__PURE__ */ jsxRuntime.jsxs(FileActions, { children: [
|
|
17528
|
+
file.status === "error" && /* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { size: "sm", icon: "refresh", type: "ghost", onClick: () => handleRetryUpload(file.id) }),
|
|
17529
|
+
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { size: "sm", icon: "cross", type: "ghost", onClick: () => handleRemoveFile(file.id) })
|
|
17539
17530
|
] })
|
|
17540
|
-
] }
|
|
17531
|
+
] }, file.id)) }),
|
|
17541
17532
|
/* @__PURE__ */ jsxRuntime.jsx("input", { type: "file", ref: fileInputRef, accept: acceptedFileTypes, onChange: handleFileSelect, multiple: true, style: {
|
|
17542
17533
|
display: "none"
|
|
17543
17534
|
} })
|
|
@@ -34688,18 +34679,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
34688
34679
|
};
|
|
34689
34680
|
const leftButtonDisabled = currentPage <= 1;
|
|
34690
34681
|
const rightButtonDisabled = !!totalPages && currentPage === totalPages || disableNextButton;
|
|
34691
|
-
const onKeyDown = (e) => {
|
|
34692
|
-
var _a;
|
|
34693
|
-
const isInputEnabled = !((_a = inputRef.current) == null ? void 0 : _a.disabled);
|
|
34694
|
-
if ((e.key === "ArrowUp" || e.key === "ArrowRight") && isInputEnabled && !rightButtonDisabled) {
|
|
34695
|
-
onChangeProp(currentPage + 1);
|
|
34696
|
-
} else if ((e.key === "ArrowDown" || e.key === "ArrowLeft") && isInputEnabled && !leftButtonDisabled) {
|
|
34697
|
-
const newPage = currentPage - 1;
|
|
34698
|
-
if (newPage > 0) {
|
|
34699
|
-
onChangeProp(newPage);
|
|
34700
|
-
}
|
|
34701
|
-
}
|
|
34702
|
-
};
|
|
34703
34682
|
const onChange = (value) => {
|
|
34704
34683
|
var _a;
|
|
34705
34684
|
const sanitizedValue = parseInt(value, 10);
|
|
@@ -34741,7 +34720,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
34741
34720
|
] }),
|
|
34742
34721
|
/* @__PURE__ */ jsxRuntime.jsxs(Container, { gap: "xxs", fillWidth: false, children: [
|
|
34743
34722
|
/* @__PURE__ */ jsxRuntime.jsx(IconButton$1, { icon: "chevron-left", type: "ghost", disabled: leftButtonDisabled, onClick: onPrevClick, "data-testid": "prev-btn" }),
|
|
34744
|
-
/* @__PURE__ */ jsxRuntime.jsx(Container, { maxWidth: "50px", fillWidth: false, children: /* @__PURE__ */ jsxRuntime.jsx(NumberField, { ref: inputRef, onChange, value: currentPage, loading: false,
|
|
34723
|
+
/* @__PURE__ */ jsxRuntime.jsx(Container, { maxWidth: "50px", fillWidth: false, children: /* @__PURE__ */ jsxRuntime.jsx(NumberField, { ref: inputRef, onChange, value: currentPage, loading: false, "aria-label": currentPage.toString(), min: 1, max: totalPages, onFocus: onPageNumberFocus, hideControls: true, onBlur: onPageNumberBlur, disabled: leftButtonDisabled && rightButtonDisabled }) }),
|
|
34745
34724
|
!!totalPages && /* @__PURE__ */ jsxRuntime.jsxs(Text, { component: "div", color: "muted", size: "sm", children: [
|
|
34746
34725
|
"of ",
|
|
34747
34726
|
formatNumber(totalPages)
|
|
@@ -48680,9 +48659,16 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
48680
48659
|
}
|
|
48681
48660
|
},
|
|
48682
48661
|
space: {
|
|
48683
|
-
|
|
48684
|
-
|
|
48685
|
-
|
|
48662
|
+
md: {
|
|
48663
|
+
y: "0.75rem",
|
|
48664
|
+
x: "1rem",
|
|
48665
|
+
gap: "1rem"
|
|
48666
|
+
},
|
|
48667
|
+
sm: {
|
|
48668
|
+
y: "0.5rem",
|
|
48669
|
+
x: "0.75rem",
|
|
48670
|
+
gap: "0.75rem"
|
|
48671
|
+
}
|
|
48686
48672
|
},
|
|
48687
48673
|
"default": {
|
|
48688
48674
|
color: {
|