@lax-wp/design-system 0.5.4 → 0.5.5
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/App.d.ts +3 -0
- package/dist/components/button/CardButton.d.ts +12 -0
- package/dist/components/data-display/comparison/utils.d.ts +9 -9
- package/dist/components/data-display/context-menu/index.d.ts +2 -0
- package/dist/components/data-display/datatype-icon/index.d.ts +3 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridViewerContext.d.ts +2 -2
- package/dist/components/data-display/lottie-animation/index.d.ts +2 -0
- package/dist/components/data-display/modal/Modal.d.ts +1 -1
- package/dist/components/data-display/permission-wrapper/index.d.ts +2 -0
- package/dist/components/data-display/skeleton/index.d.ts +9 -0
- package/dist/components/data-display/skeleton/utils.d.ts +5 -1
- package/dist/components/drag-and-drop/drag-overlay/DragOverlay.d.ts +1 -1
- package/dist/components/forms/dynamic-data-input/index.d.ts +4 -0
- package/dist/components/forms/expanding-search-bar/ExpandingSearchBar.d.ts +21 -0
- package/dist/components/forms/expanding-search-bar/index.d.ts +2 -0
- package/dist/components/forms/file-upload-dragger/index.d.ts +3 -0
- package/dist/components/forms/master-data-input/index.d.ts +1 -0
- package/dist/components/forms/search-bar/index.d.ts +1 -0
- package/dist/components/layout/ZoomContainer.d.ts +23 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/user-avatar/StatusInfoRow.d.ts +1 -1
- package/dist/components/user-avatar/UserAvatarPopper.d.ts +1 -1
- package/dist/components/user-avatar/useDynamicPosition.d.ts +2 -2
- package/dist/constants/global.d.ts +7 -0
- package/dist/design-system.css +1 -1
- package/dist/hooks/useKeepSearchBox.d.ts +1 -0
- package/dist/hooks/useModalContainer.d.ts +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.es.js +9599 -8568
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +62 -35
- package/dist/index.umd.js.map +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/utils/countryFlags.d.ts +5 -5
- package/package.json +6 -3
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.css";
|
|
@@ -1,5 +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;
|
|
1
|
+
export declare const getFlagComponent: (countryCode: string, isHovering?: boolean) => import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
+
export declare const getFlagComponentSm: (countryCode: string) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
export declare const getFlagComponentRectangle: (countryCode: string) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export declare const getFlagComponentRectangleSm: (countryCode: string) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
+
export declare const getFlagComponentRectangleMd: (countryCode: string) => import("react/jsx-runtime").JSX.Element | null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lax-wp/design-system",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"dev": "vite",
|
|
31
31
|
"build": "npm run build:types && vite build",
|
|
32
|
-
"build:types": "tsc --
|
|
32
|
+
"build:types": "tsc --project tsconfig.build.json",
|
|
33
33
|
"lint": "eslint .",
|
|
34
34
|
"preview": "vite preview",
|
|
35
35
|
"storybook": "storybook dev -p 6006",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\""
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
+
"array-move": "2.2.2",
|
|
41
42
|
"classnames": "^2.5.1",
|
|
42
43
|
"clsx": "^2.1.1",
|
|
43
44
|
"tailwind-merge": "^3.3.1"
|
|
@@ -74,6 +75,7 @@
|
|
|
74
75
|
"react-select": "^5.0.0",
|
|
75
76
|
"react-toastify": "^9.0.0",
|
|
76
77
|
"react-window": "^1.8.0",
|
|
78
|
+
"react-zoom-pan-pinch": "^3.0.0",
|
|
77
79
|
"remark-gfm": "^4.0.0",
|
|
78
80
|
"styled-components": "^6.0.0"
|
|
79
81
|
},
|
|
@@ -152,7 +154,8 @@
|
|
|
152
154
|
"react-router-dom": "^6.30.3",
|
|
153
155
|
"react-select": "^5.7.3",
|
|
154
156
|
"react-toastify": "^9.1.3",
|
|
155
|
-
"react-window": "
|
|
157
|
+
"react-window": "1.8.11",
|
|
158
|
+
"react-zoom-pan-pinch": "^3.1.0",
|
|
156
159
|
"remark-gfm": "^4.0.1",
|
|
157
160
|
"storybook": "^9.0.18",
|
|
158
161
|
"styled-components": "^6.1.9",
|