@clickhouse/click-ui 0.0.157 → 0.0.158

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.
@@ -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,
@@ -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,
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare const Switzerland: (props: React.SVGAttributes<SVGElement>) => React.ReactElement;
3
+ export default Switzerland;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.157",
3
+ "version": "0.0.158",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",