@lax-wp/design-system 0.3.20 → 0.3.22

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,2 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,2 @@
1
+ export declare const COUNTRY_CODES: string[];
2
+ export declare function countryNameFromCode(code: string): string;
@@ -1,3 +1,4 @@
1
+ export * from './icon-picker';
1
2
  export type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
2
3
  export type JsonObject = {
3
4
  [key: string]: JsonValue;
@@ -0,0 +1,5 @@
1
+ export declare const getFlagComponent: (countryCode: string, isHovering?: boolean) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const getFlagComponentSm: (countryCode: string) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const getFlagComponentRectangle: (countryCode: string) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const getFlagComponentRectangleSm: (countryCode: string) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const getFlagComponentRectangleMd: (countryCode: string) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lax-wp/design-system",
3
3
  "private": false,
4
- "version": "0.3.20",
4
+ "version": "0.3.22",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -39,11 +39,13 @@
39
39
  "@emotion/styled": "^11.14.1",
40
40
  "@monaco-editor/react": "^4.6.0",
41
41
  "@mui/icons-material": "^7.3.1",
42
+ "@mui/material": "^7.3.1",
42
43
  "@storybook/addon-actions": "^9.0.8",
43
44
  "antd": "^5.27.0",
44
45
  "array-move": "^4.0.0",
45
46
  "classnames": "^2.5.1",
46
47
  "clsx": "^2.1.1",
48
+ "country-flag-icons": "^1.5.13",
47
49
  "diff": "^8.0.2",
48
50
  "immer": "^10.1.1",
49
51
  "lodash": "^4.17.21",
@@ -55,6 +57,7 @@
55
57
  "react-popper-tooltip": "^4.4.2",
56
58
  "react-select": "^5.10.2",
57
59
  "react-toastify": "^10.0.6",
60
+ "react-window": "^1.8.11",
58
61
  "tailwind-merge": "^3.3.1"
59
62
  },
60
63
  "peerDependencies": {
@@ -72,6 +75,7 @@
72
75
  "@storybook/react-vite": "^9.0.18",
73
76
  "@types/react": "^18.2.0",
74
77
  "@types/react-dom": "^18.2.0",
78
+ "@types/react-window": "^1.8.8",
75
79
  "@vitejs/plugin-react": "^4.6.0",
76
80
  "@vitest/browser": "^3.2.4",
77
81
  "@vitest/coverage-v8": "^3.2.4",