@clickhouse/click-ui 0.0.157 → 0.0.159
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
CHANGED
|
@@ -2291,10 +2291,19 @@ const FormElementContainer = styled.div.withConfig({
|
|
|
2291
2291
|
styled.span.withConfig({
|
|
2292
2292
|
componentId: "sc-1sddmxu-8"
|
|
2293
2293
|
})(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-end;gap:inherit;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
|
|
2294
|
+
const Switzerland = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "30", height: "20", viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
2295
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("g", { "clip-path": "url(#clip0_8668_6183)", children: [
|
|
2296
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M30 0H0V20H30V0Z", fill: "#D52B1E" }),
|
|
2297
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M21.6663 7.77783H8.33301V12.2223H21.6663V7.77783Z", fill: "white" }),
|
|
2298
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M17.2218 3.3335H12.7773V16.6668H17.2218V3.3335Z", fill: "white" })
|
|
2299
|
+
] }),
|
|
2300
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("clipPath", { id: "clip0_8668_6183", children: /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: "30", height: "20", fill: "white" }) }) })
|
|
2301
|
+
] });
|
|
2294
2302
|
const FlagList = {
|
|
2295
2303
|
au: Australia,
|
|
2296
2304
|
br: Brazil,
|
|
2297
2305
|
ca: Canada,
|
|
2306
|
+
ch: Switzerland,
|
|
2298
2307
|
de: Germany,
|
|
2299
2308
|
eu: EuropeanUnion,
|
|
2300
2309
|
gb: GreatBritain,
|
|
@@ -9108,6 +9117,11 @@ const TextWrapper = styled.div.withConfig({
|
|
|
9108
9117
|
}) => `
|
|
9109
9118
|
gap: ${theme2.click.alert[$size].space.gap};
|
|
9110
9119
|
padding: ${theme2.click.alert[$size].space.y} ${theme2.click.alert[$size].space.x};
|
|
9120
|
+
a {
|
|
9121
|
+
font: inherit;
|
|
9122
|
+
color: inherit;
|
|
9123
|
+
text-decoration: underline;
|
|
9124
|
+
}
|
|
9111
9125
|
`);
|
|
9112
9126
|
const Title$4 = styled.h6.withConfig({
|
|
9113
9127
|
componentId: "sc-1wvczk0-4"
|
|
@@ -14898,13 +14912,13 @@ const FlyoutContent = styled($5d3850c4d0b4e6c7$export$b6d9565de1e068cf).withConf
|
|
|
14898
14912
|
${$strategy === "relative" ? `
|
|
14899
14913
|
position: absolute !important;` : ""}
|
|
14900
14914
|
overflow: hidden;
|
|
14901
|
-
transform: translateX(calc(100% - 50px));
|
|
14915
|
+
transform: ${$align === "start" ? "translateX(calc(50px - 100%))" : "translateX(calc(100% - 50px))"};
|
|
14902
14916
|
transition: 0.3s ease-in-out;
|
|
14903
14917
|
&:hover,
|
|
14904
14918
|
&.active,
|
|
14905
14919
|
&:focus-within {
|
|
14906
14920
|
transform: translateX(0);
|
|
14907
|
-
left: auto;
|
|
14921
|
+
${$align === "start" ? "right" : "left"}: auto;
|
|
14908
14922
|
}
|
|
14909
14923
|
}
|
|
14910
14924
|
`);
|
package/dist/click-ui.umd.js
CHANGED
|
@@ -2308,10 +2308,19 @@ var __publicField = (obj, key, value) => {
|
|
|
2308
2308
|
styled.span.withConfig({
|
|
2309
2309
|
componentId: "sc-1sddmxu-8"
|
|
2310
2310
|
})(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-end;gap:inherit;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]);
|
|
2311
|
+
const Switzerland = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "30", height: "20", viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
2312
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("g", { "clip-path": "url(#clip0_8668_6183)", children: [
|
|
2313
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M30 0H0V20H30V0Z", fill: "#D52B1E" }),
|
|
2314
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M21.6663 7.77783H8.33301V12.2223H21.6663V7.77783Z", fill: "white" }),
|
|
2315
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M17.2218 3.3335H12.7773V16.6668H17.2218V3.3335Z", fill: "white" })
|
|
2316
|
+
] }),
|
|
2317
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("clipPath", { id: "clip0_8668_6183", children: /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: "30", height: "20", fill: "white" }) }) })
|
|
2318
|
+
] });
|
|
2311
2319
|
const FlagList = {
|
|
2312
2320
|
au: Australia,
|
|
2313
2321
|
br: Brazil,
|
|
2314
2322
|
ca: Canada,
|
|
2323
|
+
ch: Switzerland,
|
|
2315
2324
|
de: Germany,
|
|
2316
2325
|
eu: EuropeanUnion,
|
|
2317
2326
|
gb: GreatBritain,
|
|
@@ -9125,6 +9134,11 @@ var __publicField = (obj, key, value) => {
|
|
|
9125
9134
|
}) => `
|
|
9126
9135
|
gap: ${theme2.click.alert[$size].space.gap};
|
|
9127
9136
|
padding: ${theme2.click.alert[$size].space.y} ${theme2.click.alert[$size].space.x};
|
|
9137
|
+
a {
|
|
9138
|
+
font: inherit;
|
|
9139
|
+
color: inherit;
|
|
9140
|
+
text-decoration: underline;
|
|
9141
|
+
}
|
|
9128
9142
|
`);
|
|
9129
9143
|
const Title$4 = styled.h6.withConfig({
|
|
9130
9144
|
componentId: "sc-1wvczk0-4"
|
|
@@ -14915,13 +14929,13 @@ var __publicField = (obj, key, value) => {
|
|
|
14915
14929
|
${$strategy === "relative" ? `
|
|
14916
14930
|
position: absolute !important;` : ""}
|
|
14917
14931
|
overflow: hidden;
|
|
14918
|
-
transform: translateX(calc(100% - 50px));
|
|
14932
|
+
transform: ${$align === "start" ? "translateX(calc(50px - 100%))" : "translateX(calc(100% - 50px))"};
|
|
14919
14933
|
transition: 0.3s ease-in-out;
|
|
14920
14934
|
&:hover,
|
|
14921
14935
|
&.active,
|
|
14922
14936
|
&:focus-within {
|
|
14923
14937
|
transform: translateX(0);
|
|
14924
|
-
left: auto;
|
|
14938
|
+
${$align === "start" ? "right" : "left"}: auto;
|
|
14925
14939
|
}
|
|
14926
14940
|
}
|
|
14927
14941
|
`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SVGAttributes } from 'react';
|
|
2
2
|
import { IconSize } from '../../Icon/types';
|
|
3
3
|
|
|
4
|
-
export type FlagName = "au" | "br" | "ca" | "de" | "eu" | "gb" | "in" | "ie" | "jp" | "nl" | "sg" | "sw" | "usa" | "uk" | "za";
|
|
4
|
+
export type FlagName = "au" | "br" | "ca" | "ch" | "de" | "eu" | "gb" | "in" | "ie" | "jp" | "nl" | "sg" | "sw" | "usa" | "uk" | "za";
|
|
5
5
|
export interface FlagProps extends Omit<SVGAttributes<SVGElement>, "size"> {
|
|
6
6
|
name: FlagName;
|
|
7
7
|
size?: IconSize;
|
|
@@ -10,6 +10,7 @@ export declare const FlagList: {
|
|
|
10
10
|
au: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
|
|
11
11
|
br: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
|
|
12
12
|
ca: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
|
|
13
|
+
ch: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
|
|
13
14
|
de: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
|
|
14
15
|
eu: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
|
|
15
16
|
gb: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
|