asma-core-ui 3.0.117 → 3.0.119

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.
@@ -1,29 +1,3 @@
1
- import { type ReactNode } from 'react';
2
- export declare const MinimizableDialog: React.FC<{
3
- onCloseText?: string;
4
- onMinimizeText?: string;
5
- onExpandText?: string;
6
- onFullScreenText?: string;
7
- open: boolean;
8
- onClose: () => void;
9
- actionNode?: React.ReactNode;
10
- showCloseIcon?: boolean;
11
- showMinimizeIcon?: boolean;
12
- showExpandIcon?: boolean;
13
- showFullScreenIcon?: boolean;
14
- title: ReactNode;
15
- label?: ReactNode;
16
- children?: React.ReactNode;
17
- className?: string;
18
- primaryButtonText?: string;
19
- secondaryButtonText?: string;
20
- onPrimaryButtonClick?: () => void;
21
- onSecondaryButtonClick?: () => void;
22
- extraActions?: {
23
- label: string;
24
- className?: string;
25
- onClick: () => void;
26
- }[];
27
- extraActionsText?: string;
28
- dataTest: string;
29
- }>;
1
+ import React from 'react';
2
+ import type { IMinimizableDialogProps } from './types';
3
+ export declare const MinimizableDialog: React.FC<IMinimizableDialogProps>;
@@ -0,0 +1,2 @@
1
+ export * from './MinimizableDialog';
2
+ export * from './types';
@@ -0,0 +1,35 @@
1
+ import type { ReactNode } from 'react';
2
+ export type IFloatingWindowProps = {
3
+ fullScreen: boolean;
4
+ };
5
+ export type IMinimizableDialogProps = {
6
+ onCloseText?: string;
7
+ onMinimizeText?: string;
8
+ onExpandText?: string;
9
+ onFullScreenText?: string;
10
+ open: boolean;
11
+ onClose: () => void;
12
+ actionNode?: React.ReactNode;
13
+ showCloseIcon?: boolean;
14
+ showMinimizeIcon?: boolean;
15
+ showExpandIcon?: boolean;
16
+ showFullScreenIcon?: boolean;
17
+ title: ReactNode;
18
+ label?: ReactNode;
19
+ children?: React.ReactNode | ((props: IFloatingWindowProps) => ReactNode);
20
+ className?: string;
21
+ primaryButtonText?: string;
22
+ secondaryButtonText?: string;
23
+ onPrimaryButtonClick?: () => void;
24
+ onSecondaryButtonClick?: () => void;
25
+ extraActions?: {
26
+ label: string;
27
+ className?: string;
28
+ onClick: () => void;
29
+ }[];
30
+ extraActionsText?: string;
31
+ btnContainerClassName?: string;
32
+ footerClassName?: string;
33
+ footerInfo?: ReactNode;
34
+ dataTest: string;
35
+ };
@@ -34,5 +34,5 @@ export * from './components/custom/widget/widget-title/StyledWidgetTitle';
34
34
  export * from './components/custom/widget/widget-header/StyledWidgetHeader';
35
35
  export * from './components/custom/widget/widget/StyledWidget';
36
36
  export * from './components/custom/module/module-title/StyledModuleTitle';
37
- export * from './components/feedback/minimizable-dialog/MinimizableDialog';
37
+ export * from './components/feedback/minimizable-dialog';
38
38
  export { Fade, Paper, ClickAwayListener, Popper, Avatar, Skeleton, Container, Stack, FormLabel } from '@mui/material';
package/package.json CHANGED
@@ -1,126 +1,126 @@
1
1
  {
2
- "name": "asma-core-ui",
3
- "publishConfig": {
4
- "access": "public"
2
+ "name": "asma-core-ui",
3
+ "publishConfig": {
4
+ "access": "public"
5
+ },
6
+ "version": "3.0.119",
7
+ "type": "module",
8
+ "files": [
9
+ "dist/**/*",
10
+ "dist/style.css",
11
+ "tw-configs/**/*"
12
+ ],
13
+ "keywords": [],
14
+ "author": "asma-team",
15
+ "types": "./dist/index.d.ts",
16
+ "main": "./dist/asma-core-ui.es.js",
17
+ "module": "./dist/asma-core-ui.es.js",
18
+ "license": "UNLICENSED",
19
+ "dependencies": {
20
+ "@emotion/react": "^11.11.1",
21
+ "@emotion/styled": "^11.11.0",
22
+ "@fontsource/material-icons": "^5.0.4",
23
+ "@iconify/react": "^4.1.1",
24
+ "@mui/material": "^5.13.7",
25
+ "@tanstack/react-table": "^8.10.0",
26
+ "clsx": "^1.2.1",
27
+ "date-fns": "^2.30.0",
28
+ "lodash-es": "^4.17.21",
29
+ "material-ui-popup-state": "^5.0.10",
30
+ "node": "18.17.0",
31
+ "notistack": "^3.0.1",
32
+ "react": "^18.2.0",
33
+ "react-day-picker": "^8.8.2",
34
+ "react-dom": "^18.2.0",
35
+ "react-draggable": "^4.4.6",
36
+ "react-quill": "^2.0.0",
37
+ "sass": "^1.77.5",
38
+ "vite-plugin-css-injected-by-js": "^3.5.1"
39
+ },
40
+ "devDependencies": {
41
+ "@changesets/cli": "^2.26.2",
42
+ "@faker-js/faker": "^8.0.2",
43
+ "@rollup/plugin-terser": "^0.4.3",
44
+ "@storybook/addon-a11y": "^7.6.9",
45
+ "@storybook/addon-essentials": "^7.6.9",
46
+ "@storybook/addon-interactions": "^7.6.9",
47
+ "@storybook/addon-links": "^7.6.9",
48
+ "@storybook/addon-mdx-gfm": "^7.6.9",
49
+ "@storybook/addon-styling": "^1.3.7",
50
+ "@storybook/addons": "^7.6.9",
51
+ "@storybook/blocks": "^7.6.9",
52
+ "@storybook/manager-api": "^7.6.9",
53
+ "@storybook/preset-create-react-app": "^7.6.9",
54
+ "@storybook/react": "^7.6.9",
55
+ "@storybook/react-vite": "^7.6.9",
56
+ "@storybook/test-runner": "^0.16.0",
57
+ "@storybook/testing-library": "^0.2.2",
58
+ "@storybook/theming": "^7.6.9",
59
+ "@types/lodash-es": "^4.17.7",
60
+ "@types/node": "^18.0.3",
61
+ "@types/react": "^18.0.37",
62
+ "@types/react-dom": "^18.0.11",
63
+ "@typescript-eslint/eslint-plugin": "^5.59.0",
64
+ "@typescript-eslint/parser": "^5.59.0",
65
+ "@vitejs/plugin-react": "^4.0.0",
66
+ "autoprefixer": "^10.4.14",
67
+ "axe-playwright": "^1.2.3",
68
+ "axios": "^1.6.8",
69
+ "eslint": "^8.38.0",
70
+ "eslint-plugin-react-hooks": "^4.6.0",
71
+ "eslint-plugin-react-refresh": "^0.3.4",
72
+ "eslint-plugin-storybook": "^0.6.15",
73
+ "postcss": "^8.4.24",
74
+ "prop-types": "^15.8.1",
75
+ "rollup-plugin-typescript2": "^0.35.0",
76
+ "storybook": "^7.6.9",
77
+ "storybook-addon-themes": "^6.1.0",
78
+ "tailwind-merge": "^2.4.0",
79
+ "tailwind-scrollbar": "^3.1.0",
80
+ "tailwindcss": "^3.3.2",
81
+ "typescript": "^5.0.2",
82
+ "typescript-plugin-css-modules": "^5.0.1",
83
+ "vite": "^4.3.9",
84
+ "vite-plugin-dts": "^3.1.1",
85
+ "vite-tsconfig-paths": "^4.2.0"
86
+ },
87
+ "peerDependencies": {
88
+ "@emotion/react": "^11.*",
89
+ "@emotion/styled": "^11.*",
90
+ "@mui/material": "^5.*",
91
+ "immer": "^9.*",
92
+ "react": "^18.*",
93
+ "react-dom": "^18.*"
94
+ },
95
+ "resolutions": {
96
+ "@types/node": "18.0.3",
97
+ "node": "18.17.0"
98
+ },
99
+ "exports": {
100
+ ".": {
101
+ "import": "./dist/asma-core-ui.es.js"
5
102
  },
6
- "version": "3.0.117",
7
- "type": "module",
8
- "files": [
9
- "dist/**/*",
10
- "dist/style.css",
11
- "tw-configs/**/*"
12
- ],
13
- "keywords": [],
14
- "author": "asma-team",
15
- "types": "./dist/index.d.ts",
16
- "main": "./dist/asma-core-ui.es.js",
17
- "module": "./dist/asma-core-ui.es.js",
18
- "scripts": {
19
- "dev": "vite",
20
- "build": "npx tsc && rm -rf ./dist && vite build",
21
- "preview": "vite preview",
22
- "lint": "eslint src/**/*.{js,jsx,ts,tsx}",
23
- "version": "echo $npm_package_version",
24
- "lint:fix": "eslint --fix src/**/*.{jsx,ts,tsx}",
25
- "prettier": "prettier --write src//**/*.{ts,tsx,scss} --config ./.prettierrc",
26
- "storybook": "storybook dev -p 6006",
27
- "storybook:no-browser": "storybook dev -p 6006 --no-open",
28
- "storybook:node18": "export NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
29
- "storybook:node18:win": "set NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
30
- "build-storybook": "export NODE_OPTIONS=--max_old_space_size=6240 && storybook build",
31
- "test-storybook": "test-storybook",
32
- "changeset:pre-beta": "changeset pre enter beta",
33
- "changeset:pre-exit": "changeset pre exit",
34
- "changeset:version": "changeset version",
35
- "changeset:publish": "changeset publish",
36
- "changeset:status": "changeset status"
37
- },
38
- "license": "UNLICENSED",
39
- "dependencies": {
40
- "@emotion/react": "^11.11.1",
41
- "@emotion/styled": "^11.11.0",
42
- "@fontsource/material-icons": "^5.0.4",
43
- "@iconify/react": "^4.1.1",
44
- "@mui/material": "^5.13.7",
45
- "@tanstack/react-table": "^8.10.0",
46
- "clsx": "^1.2.1",
47
- "date-fns": "^2.30.0",
48
- "lodash-es": "^4.17.21",
49
- "material-ui-popup-state": "^5.0.10",
50
- "node": "18.17.0",
51
- "notistack": "^3.0.1",
52
- "react": "^18.2.0",
53
- "react-day-picker": "^8.8.2",
54
- "react-dom": "^18.2.0",
55
- "react-draggable": "^4.4.6",
56
- "react-quill": "^2.0.0",
57
- "sass": "^1.77.5",
58
- "vite-plugin-css-injected-by-js": "^3.5.1"
59
- },
60
- "devDependencies": {
61
- "@changesets/cli": "^2.26.2",
62
- "@faker-js/faker": "^8.0.2",
63
- "@rollup/plugin-terser": "^0.4.3",
64
- "@storybook/addon-a11y": "^7.6.9",
65
- "@storybook/addon-essentials": "^7.6.9",
66
- "@storybook/addon-interactions": "^7.6.9",
67
- "@storybook/addon-links": "^7.6.9",
68
- "@storybook/addon-mdx-gfm": "^7.6.9",
69
- "@storybook/addon-styling": "^1.3.7",
70
- "@storybook/addons": "^7.6.9",
71
- "@storybook/blocks": "^7.6.9",
72
- "@storybook/manager-api": "^7.6.9",
73
- "@storybook/preset-create-react-app": "^7.6.9",
74
- "@storybook/react": "^7.6.9",
75
- "@storybook/react-vite": "^7.6.9",
76
- "@storybook/test-runner": "^0.16.0",
77
- "@storybook/testing-library": "^0.2.2",
78
- "@storybook/theming": "^7.6.9",
79
- "@types/lodash-es": "^4.17.7",
80
- "@types/node": "^18.0.3",
81
- "@types/react": "^18.0.37",
82
- "@types/react-dom": "^18.0.11",
83
- "@typescript-eslint/eslint-plugin": "^5.59.0",
84
- "@typescript-eslint/parser": "^5.59.0",
85
- "@vitejs/plugin-react": "^4.0.0",
86
- "autoprefixer": "^10.4.14",
87
- "axe-playwright": "^1.2.3",
88
- "axios": "^1.6.8",
89
- "eslint": "^8.38.0",
90
- "eslint-plugin-react-hooks": "^4.6.0",
91
- "eslint-plugin-react-refresh": "^0.3.4",
92
- "eslint-plugin-storybook": "^0.6.15",
93
- "postcss": "^8.4.24",
94
- "prop-types": "^15.8.1",
95
- "rollup-plugin-typescript2": "^0.35.0",
96
- "storybook": "^7.6.9",
97
- "storybook-addon-themes": "^6.1.0",
98
- "tailwind-merge": "^2.4.0",
99
- "tailwind-scrollbar": "^3.1.0",
100
- "tailwindcss": "^3.3.2",
101
- "typescript": "^5.0.2",
102
- "typescript-plugin-css-modules": "^5.0.1",
103
- "vite": "^4.3.9",
104
- "vite-plugin-dts": "^3.1.1",
105
- "vite-tsconfig-paths": "^4.2.0"
106
- },
107
- "peerDependencies": {
108
- "@emotion/react": "^11.*",
109
- "@emotion/styled": "^11.*",
110
- "@mui/material": "^5.*",
111
- "immer": "^9.*",
112
- "react": "^18.*",
113
- "react-dom": "^18.*"
114
- },
115
- "resolutions": {
116
- "@types/node": "18.0.3",
117
- "node": "18.17.0"
118
- },
119
- "exports": {
120
- ".": {
121
- "import": "./dist/asma-core-ui.es.js"
122
- },
123
- "./dist/style.css": "./dist/style.css",
124
- "./tw-configs/twConfigs.json": "./tw-configs/twConfigs.json"
125
- }
126
- }
103
+ "./dist/style.css": "./dist/style.css",
104
+ "./tw-configs/twConfigs.json": "./tw-configs/twConfigs.json"
105
+ },
106
+ "scripts": {
107
+ "dev": "vite",
108
+ "build": "npx tsc && rm -rf ./dist && vite build",
109
+ "preview": "vite preview",
110
+ "lint": "eslint src/**/*.{js,jsx,ts,tsx}",
111
+ "version": "echo $npm_package_version",
112
+ "lint:fix": "eslint --fix src/**/*.{jsx,ts,tsx}",
113
+ "prettier": "prettier --write src//**/*.{ts,tsx,scss} --config ./.prettierrc",
114
+ "storybook": "storybook dev -p 6006",
115
+ "storybook:no-browser": "storybook dev -p 6006 --no-open",
116
+ "storybook:node18": "export NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
117
+ "storybook:node18:win": "set NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
118
+ "build-storybook": "export NODE_OPTIONS=--max_old_space_size=6240 && storybook build",
119
+ "test-storybook": "test-storybook",
120
+ "changeset:pre-beta": "changeset pre enter beta",
121
+ "changeset:pre-exit": "changeset pre exit",
122
+ "changeset:version": "changeset version",
123
+ "changeset:publish": "changeset publish",
124
+ "changeset:status": "changeset status"
125
+ }
126
+ }