@clickhouse/click-ui 0.0.179 → 0.0.181
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.es.js +15 -7
- package/dist/click-ui.umd.js +15 -7
- package/dist/components/CardHorizontal/CardHorizontal.d.ts +2 -2
- package/dist/components/Icon/IconCommon.d.ts +1 -0
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/icons/Upgrade.d.ts +4 -0
- package/package.json +1 -1
package/dist/click-ui.es.js
CHANGED
|
@@ -686,6 +686,12 @@ const TreeStructure = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", heig
|
|
|
686
686
|
] }),
|
|
687
687
|
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_7969_2214", children: /* @__PURE__ */ jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
688
688
|
] });
|
|
689
|
+
const Upgrade = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
690
|
+
/* @__PURE__ */ jsx("mask", { id: "path-1-inside-1_10418_503", fill: "white", children: /* @__PURE__ */ jsx("path", { d: "M16.1664 17.8179H7.83984V18.8864H16.1664V17.8179Z" }) }),
|
|
691
|
+
/* @__PURE__ */ jsx("path", { d: "M7.83984 17.8179V16.5322H6.55413V17.8179H7.83984ZM16.1664 17.8179H17.4521V16.5322H16.1664V17.8179ZM16.1664 18.8864V20.1721H17.4521V18.8864H16.1664ZM7.83984 18.8864H6.55413V20.1721H7.83984V18.8864ZM7.83984 19.1036H16.1664V16.5322H7.83984V19.1036ZM14.8807 17.8179V18.8864H17.4521V17.8179H14.8807ZM16.1664 17.6007H7.83984V20.1721H16.1664V17.6007ZM9.12556 18.8864V17.8179H6.55413V18.8864H9.12556Z", fill: "white", mask: "url(#path-1-inside-1_10418_503)" }),
|
|
692
|
+
/* @__PURE__ */ jsx("path", { d: "M15.5237 12.8652V16.6238H8.48285V12.8652V12.2224H7.84H3.94384C3.92051 12.2224 3.89781 12.2216 3.87583 12.2203L11.6287 3.72509C11.6314 3.72343 11.6551 3.70553 11.7137 3.68568C11.7867 3.66098 11.8869 3.64286 12.0035 3.64286C12.1201 3.64286 12.2202 3.66096 12.2929 3.68556C12.3509 3.70516 12.3745 3.72282 12.3774 3.72463L20.1309 12.2202C20.1088 12.2216 20.0861 12.2224 20.0627 12.2224H16.1665H15.5237V12.8652ZM3.57451 12.5504L3.57462 12.5503L3.57451 12.5504Z", stroke: "white", strokeWidth: "1.28571" }),
|
|
693
|
+
/* @__PURE__ */ jsx("path", { d: "M8.4827 20.0818H15.5235V20.2261C15.455 20.251 15.3521 20.2733 15.2225 20.2733H8.78368C8.65414 20.2733 8.55123 20.251 8.4827 20.2261V20.0818Z", stroke: "white", strokeWidth: "1.28571" })
|
|
694
|
+
] });
|
|
689
695
|
const ICONS_MAP = {
|
|
690
696
|
activity: Activity,
|
|
691
697
|
alarm: Alarm,
|
|
@@ -822,6 +828,7 @@ const ICONS_MAP = {
|
|
|
822
828
|
taxi: Taxi,
|
|
823
829
|
trash: Trash,
|
|
824
830
|
"tree-structure": TreeStructure,
|
|
831
|
+
upgrade: Upgrade,
|
|
825
832
|
upload: Upload,
|
|
826
833
|
url: Url,
|
|
827
834
|
user: UserIcon,
|
|
@@ -1766,7 +1773,7 @@ const FeatureHexagonLight = (props) => /* @__PURE__ */ jsxs("svg", { width: "64"
|
|
|
1766
1773
|
/* @__PURE__ */ jsx("path", { d: "M32.7827 13.5198L47.3001 21.8132C47.8565 22.1311 48.1999 22.7227 48.1999 23.3636V39.8853C48.1999 40.5261 47.8565 41.1177 47.3001 41.4356L32.7827 49.729C32.2339 50.0426 31.5602 50.0426 31.0114 49.729L16.494 41.4356C15.9375 41.1177 15.5941 40.5261 15.5941 39.8853V23.3636C15.5941 22.7227 15.9375 22.1311 16.494 21.8132L31.0114 13.5198C31.5602 13.2062 32.2339 13.2062 32.7827 13.5198Z", fill: "url(#paint2_linear_17_261)", stroke: "white", strokeWidth: "3.57097" }),
|
|
1767
1774
|
/* @__PURE__ */ jsxs("defs", { children: [
|
|
1768
1775
|
/* @__PURE__ */ jsxs("filter", { id: "filter0_dd_17_261", x: "3.81412", y: "3.87241", width: "56.3718", height: "61.7081", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [
|
|
1769
|
-
/* @__PURE__ */ jsx("feFlood", {
|
|
1776
|
+
/* @__PURE__ */ jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
1770
1777
|
/* @__PURE__ */ jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
1771
1778
|
/* @__PURE__ */ jsx("feMorphology", { radius: "1.22507", operator: "erode", in: "SourceAlpha", result: "effect1_dropShadow_17_261" }),
|
|
1772
1779
|
/* @__PURE__ */ jsx("feOffset", { dy: "3" }),
|
|
@@ -2228,7 +2235,7 @@ const FeatureHexagonDark = (props) => /* @__PURE__ */ jsxs("svg", { width: "64",
|
|
|
2228
2235
|
/* @__PURE__ */ jsx("path", { d: "M32.7258 14.1448L47.3754 22.2038C47.9248 22.506 48.2661 23.0833 48.2661 23.7103V39.5457C48.2661 40.1727 47.9248 40.75 47.3754 41.0522L32.7258 49.1112C32.2097 49.3951 31.5843 49.3951 31.0683 49.1112L16.4186 41.0522C15.8693 40.75 15.528 40.1727 15.528 39.5457V23.7103C15.528 23.0833 15.8693 22.506 16.4186 22.2038L31.0683 14.1448C31.5843 13.8609 32.2097 13.8609 32.7258 14.1448Z", fill: "url(#paint2_linear_17_268)", stroke: "#1F1F1C", strokeWidth: "3.43871" }),
|
|
2229
2236
|
/* @__PURE__ */ jsxs("defs", { children: [
|
|
2230
2237
|
/* @__PURE__ */ jsxs("filter", { id: "filter0_dd_17_268", x: "4.02408", y: "4.86844", width: "55.9518", height: "59.4938", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [
|
|
2231
|
-
/* @__PURE__ */ jsx("feFlood", {
|
|
2238
|
+
/* @__PURE__ */ jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
2232
2239
|
/* @__PURE__ */ jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
2233
2240
|
/* @__PURE__ */ jsx("feMorphology", { radius: "1.17969", operator: "erode", in: "SourceAlpha", result: "effect1_dropShadow_17_268" }),
|
|
2234
2241
|
/* @__PURE__ */ jsx("feOffset", { dy: "1.92593" }),
|
|
@@ -9676,7 +9683,7 @@ const LinkIcon = styled(LinkIconContainer).withConfig({
|
|
|
9676
9683
|
})([""]);
|
|
9677
9684
|
const Wrapper$a = styled.div.withConfig({
|
|
9678
9685
|
componentId: "sc-1drx130-8"
|
|
9679
|
-
})(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}"], ({
|
|
9686
|
+
})(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{pointer-events:none;', "}"], ({
|
|
9680
9687
|
theme: theme2
|
|
9681
9688
|
}) => theme2.click.card.secondary.color.background.default, ({
|
|
9682
9689
|
theme: theme2
|
|
@@ -9832,7 +9839,7 @@ const withTopBadge = (Component2) => ({
|
|
|
9832
9839
|
};
|
|
9833
9840
|
const Wrapper$8 = styled.div.withConfig({
|
|
9834
9841
|
componentId: "sc-2dguvi-0"
|
|
9835
|
-
})(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}", ""], ({
|
|
9842
|
+
})(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{pointer-events:none;', "}", ""], ({
|
|
9836
9843
|
theme: theme2
|
|
9837
9844
|
}) => theme2.click.card.primary.color.background.default, ({
|
|
9838
9845
|
theme: theme2
|
|
@@ -9952,10 +9959,10 @@ const Card = ({
|
|
|
9952
9959
|
const CardPrimary = withTopBadge(Card);
|
|
9953
9960
|
const Header$2 = styled.div.withConfig({
|
|
9954
9961
|
componentId: "sc-1qnbjoa-0"
|
|
9955
|
-
})(["display:flex;flex-direction:column;align-items:
|
|
9962
|
+
})(["display:flex;flex-direction:column;align-items:start;width:100%;max-width:100%;gap:inherit;"]);
|
|
9956
9963
|
const Description = styled.div.withConfig({
|
|
9957
9964
|
componentId: "sc-1qnbjoa-1"
|
|
9958
|
-
})(["display:flex;flex-direction:column;align-self:
|
|
9965
|
+
})(["display:flex;flex-direction:column;align-self:start;gap:", ";flex:1;width:100%;"], ({
|
|
9959
9966
|
theme: theme2
|
|
9960
9967
|
}) => theme2.click.card.horizontal.space.gap);
|
|
9961
9968
|
const Wrapper$7 = styled.div.withConfig({
|
|
@@ -9999,6 +10006,7 @@ const Wrapper$7 = styled.div.withConfig({
|
|
|
9999
10006
|
}
|
|
10000
10007
|
}
|
|
10001
10008
|
${$disabled ? `
|
|
10009
|
+
pointer-events: none;
|
|
10002
10010
|
&,
|
|
10003
10011
|
&:hover,
|
|
10004
10012
|
&:active, &:focus, &:focus-within {
|
|
@@ -10026,7 +10034,7 @@ const CardIcon$1 = styled(SvgImage).withConfig({
|
|
|
10026
10034
|
`);
|
|
10027
10035
|
const ContentWrapper = styled.div.withConfig({
|
|
10028
10036
|
componentId: "sc-1qnbjoa-4"
|
|
10029
|
-
})(["display:flex;flex-direction:column;"]);
|
|
10037
|
+
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
10030
10038
|
const CardHorizontal = ({
|
|
10031
10039
|
title,
|
|
10032
10040
|
icon,
|
package/dist/click-ui.umd.js
CHANGED
|
@@ -702,6 +702,12 @@ var __publicField = (obj, key, value) => {
|
|
|
702
702
|
] }),
|
|
703
703
|
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_7969_2214", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
704
704
|
] });
|
|
705
|
+
const Upgrade = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
706
|
+
/* @__PURE__ */ jsxRuntime.jsx("mask", { id: "path-1-inside-1_10418_503", fill: "white", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16.1664 17.8179H7.83984V18.8864H16.1664V17.8179Z" }) }),
|
|
707
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7.83984 17.8179V16.5322H6.55413V17.8179H7.83984ZM16.1664 17.8179H17.4521V16.5322H16.1664V17.8179ZM16.1664 18.8864V20.1721H17.4521V18.8864H16.1664ZM7.83984 18.8864H6.55413V20.1721H7.83984V18.8864ZM7.83984 19.1036H16.1664V16.5322H7.83984V19.1036ZM14.8807 17.8179V18.8864H17.4521V17.8179H14.8807ZM16.1664 17.6007H7.83984V20.1721H16.1664V17.6007ZM9.12556 18.8864V17.8179H6.55413V18.8864H9.12556Z", fill: "white", mask: "url(#path-1-inside-1_10418_503)" }),
|
|
708
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15.5237 12.8652V16.6238H8.48285V12.8652V12.2224H7.84H3.94384C3.92051 12.2224 3.89781 12.2216 3.87583 12.2203L11.6287 3.72509C11.6314 3.72343 11.6551 3.70553 11.7137 3.68568C11.7867 3.66098 11.8869 3.64286 12.0035 3.64286C12.1201 3.64286 12.2202 3.66096 12.2929 3.68556C12.3509 3.70516 12.3745 3.72282 12.3774 3.72463L20.1309 12.2202C20.1088 12.2216 20.0861 12.2224 20.0627 12.2224H16.1665H15.5237V12.8652ZM3.57451 12.5504L3.57462 12.5503L3.57451 12.5504Z", stroke: "white", strokeWidth: "1.28571" }),
|
|
709
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.4827 20.0818H15.5235V20.2261C15.455 20.251 15.3521 20.2733 15.2225 20.2733H8.78368C8.65414 20.2733 8.55123 20.251 8.4827 20.2261V20.0818Z", stroke: "white", strokeWidth: "1.28571" })
|
|
710
|
+
] });
|
|
705
711
|
const ICONS_MAP = {
|
|
706
712
|
activity: Activity,
|
|
707
713
|
alarm: Alarm,
|
|
@@ -838,6 +844,7 @@ var __publicField = (obj, key, value) => {
|
|
|
838
844
|
taxi: Taxi,
|
|
839
845
|
trash: Trash,
|
|
840
846
|
"tree-structure": TreeStructure,
|
|
847
|
+
upgrade: Upgrade,
|
|
841
848
|
upload: Upload,
|
|
842
849
|
url: Url,
|
|
843
850
|
user: UserIcon,
|
|
@@ -1782,7 +1789,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1782
1789
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M32.7827 13.5198L47.3001 21.8132C47.8565 22.1311 48.1999 22.7227 48.1999 23.3636V39.8853C48.1999 40.5261 47.8565 41.1177 47.3001 41.4356L32.7827 49.729C32.2339 50.0426 31.5602 50.0426 31.0114 49.729L16.494 41.4356C15.9375 41.1177 15.5941 40.5261 15.5941 39.8853V23.3636C15.5941 22.7227 15.9375 22.1311 16.494 21.8132L31.0114 13.5198C31.5602 13.2062 32.2339 13.2062 32.7827 13.5198Z", fill: "url(#paint2_linear_17_261)", stroke: "white", strokeWidth: "3.57097" }),
|
|
1783
1790
|
/* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
|
|
1784
1791
|
/* @__PURE__ */ jsxRuntime.jsxs("filter", { id: "filter0_dd_17_261", x: "3.81412", y: "3.87241", width: "56.3718", height: "61.7081", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [
|
|
1785
|
-
/* @__PURE__ */ jsxRuntime.jsx("feFlood", {
|
|
1792
|
+
/* @__PURE__ */ jsxRuntime.jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
1786
1793
|
/* @__PURE__ */ jsxRuntime.jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
1787
1794
|
/* @__PURE__ */ jsxRuntime.jsx("feMorphology", { radius: "1.22507", operator: "erode", in: "SourceAlpha", result: "effect1_dropShadow_17_261" }),
|
|
1788
1795
|
/* @__PURE__ */ jsxRuntime.jsx("feOffset", { dy: "3" }),
|
|
@@ -2244,7 +2251,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2244
2251
|
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M32.7258 14.1448L47.3754 22.2038C47.9248 22.506 48.2661 23.0833 48.2661 23.7103V39.5457C48.2661 40.1727 47.9248 40.75 47.3754 41.0522L32.7258 49.1112C32.2097 49.3951 31.5843 49.3951 31.0683 49.1112L16.4186 41.0522C15.8693 40.75 15.528 40.1727 15.528 39.5457V23.7103C15.528 23.0833 15.8693 22.506 16.4186 22.2038L31.0683 14.1448C31.5843 13.8609 32.2097 13.8609 32.7258 14.1448Z", fill: "url(#paint2_linear_17_268)", stroke: "#1F1F1C", strokeWidth: "3.43871" }),
|
|
2245
2252
|
/* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
|
|
2246
2253
|
/* @__PURE__ */ jsxRuntime.jsxs("filter", { id: "filter0_dd_17_268", x: "4.02408", y: "4.86844", width: "55.9518", height: "59.4938", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [
|
|
2247
|
-
/* @__PURE__ */ jsxRuntime.jsx("feFlood", {
|
|
2254
|
+
/* @__PURE__ */ jsxRuntime.jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
2248
2255
|
/* @__PURE__ */ jsxRuntime.jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
|
|
2249
2256
|
/* @__PURE__ */ jsxRuntime.jsx("feMorphology", { radius: "1.17969", operator: "erode", in: "SourceAlpha", result: "effect1_dropShadow_17_268" }),
|
|
2250
2257
|
/* @__PURE__ */ jsxRuntime.jsx("feOffset", { dy: "1.92593" }),
|
|
@@ -9692,7 +9699,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9692
9699
|
})([""]);
|
|
9693
9700
|
const Wrapper$a = styledComponents.styled.div.withConfig({
|
|
9694
9701
|
componentId: "sc-1drx130-8"
|
|
9695
|
-
})(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}"], ({
|
|
9702
|
+
})(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{pointer-events:none;', "}"], ({
|
|
9696
9703
|
theme: theme2
|
|
9697
9704
|
}) => theme2.click.card.secondary.color.background.default, ({
|
|
9698
9705
|
theme: theme2
|
|
@@ -9848,7 +9855,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9848
9855
|
};
|
|
9849
9856
|
const Wrapper$8 = styledComponents.styled.div.withConfig({
|
|
9850
9857
|
componentId: "sc-2dguvi-0"
|
|
9851
|
-
})(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}", ""], ({
|
|
9858
|
+
})(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{pointer-events:none;', "}", ""], ({
|
|
9852
9859
|
theme: theme2
|
|
9853
9860
|
}) => theme2.click.card.primary.color.background.default, ({
|
|
9854
9861
|
theme: theme2
|
|
@@ -9968,10 +9975,10 @@ var __publicField = (obj, key, value) => {
|
|
|
9968
9975
|
const CardPrimary = withTopBadge(Card);
|
|
9969
9976
|
const Header$2 = styledComponents.styled.div.withConfig({
|
|
9970
9977
|
componentId: "sc-1qnbjoa-0"
|
|
9971
|
-
})(["display:flex;flex-direction:column;align-items:
|
|
9978
|
+
})(["display:flex;flex-direction:column;align-items:start;width:100%;max-width:100%;gap:inherit;"]);
|
|
9972
9979
|
const Description = styledComponents.styled.div.withConfig({
|
|
9973
9980
|
componentId: "sc-1qnbjoa-1"
|
|
9974
|
-
})(["display:flex;flex-direction:column;align-self:
|
|
9981
|
+
})(["display:flex;flex-direction:column;align-self:start;gap:", ";flex:1;width:100%;"], ({
|
|
9975
9982
|
theme: theme2
|
|
9976
9983
|
}) => theme2.click.card.horizontal.space.gap);
|
|
9977
9984
|
const Wrapper$7 = styledComponents.styled.div.withConfig({
|
|
@@ -10015,6 +10022,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10015
10022
|
}
|
|
10016
10023
|
}
|
|
10017
10024
|
${$disabled ? `
|
|
10025
|
+
pointer-events: none;
|
|
10018
10026
|
&,
|
|
10019
10027
|
&:hover,
|
|
10020
10028
|
&:active, &:focus, &:focus-within {
|
|
@@ -10042,7 +10050,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10042
10050
|
`);
|
|
10043
10051
|
const ContentWrapper = styledComponents.styled.div.withConfig({
|
|
10044
10052
|
componentId: "sc-1qnbjoa-4"
|
|
10045
|
-
})(["display:flex;flex-direction:column;"]);
|
|
10053
|
+
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
10046
10054
|
const CardHorizontal = ({
|
|
10047
10055
|
title,
|
|
10048
10056
|
icon,
|
|
@@ -2,8 +2,8 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
2
2
|
import { IconName } from '..';
|
|
3
3
|
|
|
4
4
|
type CardColor = "default" | "muted";
|
|
5
|
-
export interface CardHorizontalProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
-
title?:
|
|
5
|
+
export interface CardHorizontalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
6
|
+
title?: ReactNode;
|
|
7
7
|
icon?: IconName;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
description?: ReactNode;
|
|
@@ -134,6 +134,7 @@ export declare const ICONS_MAP: {
|
|
|
134
134
|
taxi: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
135
135
|
trash: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
136
136
|
"tree-structure": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
137
|
+
upgrade: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
137
138
|
upload: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
138
139
|
url: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
139
140
|
user: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,7 @@ import { PaymentName, PaymentProps } from '../icons/Payments';
|
|
|
6
6
|
|
|
7
7
|
export type IconSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
8
8
|
export type IconState = "default" | "success" | "warning" | "danger" | "info";
|
|
9
|
-
export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "trash", "tree-structure", "upload", "url", "user", "users", "warning", "waves"];
|
|
9
|
+
export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "warning", "waves"];
|
|
10
10
|
export type IconName = (typeof ICON_NAMES)[number];
|
|
11
11
|
export interface IconProps extends SVGAttributes<HTMLOrSVGElement> {
|
|
12
12
|
name: IconName;
|