@lgsm/modules 1.6.20-beta.2 → 1.6.20-beta.21

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 { setupBaseURL as setupCoreBaseURL } from '@lgsm/core';
2
+ export declare const setupBaseURL: (baseUrl: string, tokenProvider?: import('@lgsm/core').TokenProvider | undefined, redirect_to?: string | undefined, whatEnv?: string | undefined, onRefreshToken?: ((newToken: string) => void) | undefined, notifyError?: import('@lgsm/core').ApiErrorHandler | undefined) => void;
package/dist/theme.css ADDED
@@ -0,0 +1,45 @@
1
+ @theme {
2
+ --font-sans:
3
+ "Noto Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
4
+ "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
5
+
6
+ --color-red-lgsm: #a50034;
7
+ --color-red-lgsm-hover: #d2809a;
8
+ --color-base-bg: #f0ece4;
9
+ --color-base-gray: #a8a196;
10
+ --color-base-light-gray: #bdbdbd;
11
+ --color-base-black: #333333;
12
+ --color-base-cream: #f5f1eb;
13
+ --color-white-fc: #fcfcfc;
14
+ --color-h1-sm-brand: #404041;
15
+
16
+ --color-chip-active: #00a65a;
17
+ --color-chip-inactive: #f0a92e;
18
+ --color-chip-locked: #d72c2c;
19
+ --color-chip-deleted: #a8a196;
20
+
21
+ --color-pink-crs-card: #ff828a;
22
+ --color-purple-crs-card: #cb9ac6;
23
+ --color-yellow-crs-card: #ebe88a;
24
+ --color-nude-crs-card: #c88b8f;
25
+ --color-brown-crs-card: #b89368;
26
+ --color-blue-crs-card: #a6dce9;
27
+
28
+ --color-green-jry-card: #bde28b;
29
+ --color-dark-blue-jry-card: #89add7;
30
+ --color-violet-jry-card: #cbbce0;
31
+ --color-orange-jry-card: #eaaa72;
32
+ --color-cream-jry-card: #ebcf98;
33
+ --color-light-pink-jry-card: #f4c7c7;
34
+ --color-orange-point: #f0a92e;
35
+
36
+ --shadow-y-only: 0 4px 6px rgba(0, 0, 0, 0.25);
37
+ --shadow-y-heavy: 0 10px 15px rgba(0, 0, 0, 0.2);
38
+ --shadow-datatable-shadow: 0px 3px 2px rgba(189, 189, 189, 0.5);
39
+ }
40
+
41
+ @utility fast-center {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: center;
45
+ }
package/package.json CHANGED
@@ -1,86 +1,96 @@
1
- {
2
- "name": "@lgsm/modules",
3
- "version": "1.6.20-beta.2",
4
- "type": "module",
5
- "scripts": {
6
- "build": "vite build",
7
- "lint": "eslint . --ext ts,tsx",
8
- "lint:fix": "eslint . --ext ts,tsx --fix",
9
- "format": "prettier --check .",
10
- "format:fix": "prettier --write .",
11
- "stylelint": "stylelint **/*.css",
12
- "stylelint:fix": "stylelint **/*.css --fix",
13
- "storybook": "storybook dev -p 6006",
14
- "build-storybook": "storybook build",
15
- "test": "vitest",
16
- "test:ui": "vitest --ui",
17
- "coverage": "vitest run --coverage",
18
- "prepublishOnly": "npm run build"
19
- },
20
- "module": "./dist/main.js",
21
- "exports": "./dist/main.js",
22
- "files": [
23
- "dist"
24
- ],
25
- "types": "./dist/main.d.ts",
26
- "peerDependencies": {
27
- "react": "^19.0.0",
28
- "react-dom": "^19.0.0"
29
- },
30
- "devDependencies": {
31
- "@chromatic-com/storybook": "3.2.5",
32
- "@eslint/js": "9.21.0",
33
- "@storybook/addon-essentials": "8.6.3",
34
- "@storybook/addon-interactions": "8.6.3",
35
- "@storybook/addon-links": "8.6.3",
36
- "@storybook/addon-onboarding": "8.6.3",
37
- "@storybook/blocks": "8.6.3",
38
- "@storybook/react": "8.6.3",
39
- "@storybook/react-vite": "8.6.3",
40
- "@storybook/test": "8.6.3",
41
- "@testing-library/react": "16.2.0",
42
- "@types/node": "^22.13.8",
43
- "@types/react": "19.0.10",
44
- "@types/react-dom": "19.0.4",
45
- "@vitejs/plugin-react": "4.3.4",
46
- "@vitest/coverage-v8": "3.0.7",
47
- "@vitest/ui": "3.0.7",
48
- "autoprefixer": "10.4.20",
49
- "clsx": "^2.1.1",
50
- "eslint": "9.21.0",
51
- "eslint-config-prettier": "10.0.2",
52
- "eslint-plugin-react-hooks": "5.2.0",
53
- "eslint-plugin-react-refresh": "0.4.19",
54
- "eslint-plugin-storybook": "0.11.3",
55
- "glob": "11.0.1",
56
- "globals": "16.0.0",
57
- "jsdom": "26.0.0",
58
- "prettier": "3.5.2",
59
- "storybook": "8.6.3",
60
- "stylelint": "16.15.0",
61
- "stylelint-config-standard": "37.0.0",
62
- "tailwindcss": "^4.1.13",
63
- "tw-animate-css": "^1.3.8",
64
- "typescript": "5.7.3",
65
- "typescript-eslint": "8.25.0",
66
- "vite": "6.2.0",
67
- "vite-plugin-dts": "4.5.1",
68
- "vite-plugin-lib-inject-css": "2.2.1",
69
- "vitest": "3.0.7"
70
- },
71
- "dependencies": {
72
- "@radix-ui/react-dialog": "^1.1.15",
73
- "@radix-ui/react-dropdown-menu": "^2.1.16",
74
- "@radix-ui/react-slot": "^1.2.3",
75
- "@tailwindcss/vite": "^4.1.13",
76
- "axios": "^1.12.2",
77
- "class-variance-authority": "^0.7.1",
78
- "jwt-decode": "^4.0.0",
79
- "lucide-react": "^0.544.0",
80
- "next-themes": "^0.4.6",
81
- "sonner": "^2.0.7",
82
- "tailwind-merge": "^3.3.1",
83
- "tailwindcss-animate": "^1.0.7",
84
- "zustand": "^5.0.8"
85
- }
86
- }
1
+ {
2
+ "name": "@lgsm/modules",
3
+ "version": "1.6.20-beta.21",
4
+ "type": "module",
5
+ "scripts": {
6
+ "build": "node scripts/build-workspaces.mjs",
7
+ "lint": "eslint packages src vite*.ts",
8
+ "lint:fix": "eslint . --ext ts,tsx --fix",
9
+ "format": "prettier --check .",
10
+ "format:fix": "prettier --write .",
11
+ "stylelint": "stylelint **/*.css",
12
+ "stylelint:fix": "stylelint **/*.css --fix",
13
+ "storybook": "storybook dev -p 6006",
14
+ "build-storybook": "storybook build",
15
+ "test": "vitest --maxWorkers=1 --minWorkers=1",
16
+ "test:ui": "vitest --ui",
17
+ "coverage": "vitest run --coverage",
18
+ "prepublishOnly": "bun run build",
19
+ "build:modules": "tsc --noEmit -p tsconfig.modules.json && vite build && node scripts/copy-ui-theme.mjs --modules",
20
+ "check:packages": "node scripts/check-packages.mjs",
21
+ "check:install": "node scripts/smoke-install.mjs"
22
+ },
23
+ "module": "./dist/main.js",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/main.d.ts",
27
+ "import": "./dist/main.js"
28
+ },
29
+ "./theme.css": "./dist/theme.css",
30
+ "./fonts.css": "./dist/fonts.css"
31
+ },
32
+ "files": [
33
+ "dist"
34
+ ],
35
+ "types": "./dist/main.d.ts",
36
+ "peerDependencies": {
37
+ "react": "^19.0.0",
38
+ "react-dom": "^19.0.0"
39
+ },
40
+ "devDependencies": {
41
+ "@chromatic-com/storybook": "3.2.5",
42
+ "@eslint/js": "9.21.0",
43
+ "@storybook/addon-essentials": "8.6.3",
44
+ "@storybook/addon-interactions": "8.6.3",
45
+ "@storybook/addon-links": "8.6.3",
46
+ "@storybook/addon-onboarding": "8.6.3",
47
+ "@storybook/blocks": "8.6.3",
48
+ "@storybook/react": "8.6.3",
49
+ "@storybook/react-vite": "8.6.3",
50
+ "@storybook/test": "8.6.3",
51
+ "@testing-library/react": "16.2.0",
52
+ "@types/node": "^22.13.8",
53
+ "@types/react": "19.0.10",
54
+ "@types/react-dom": "19.0.4",
55
+ "@vitejs/plugin-react": "4.3.4",
56
+ "@vitest/coverage-v8": "3.0.7",
57
+ "@vitest/ui": "3.0.7",
58
+ "autoprefixer": "10.4.20",
59
+ "clsx": "^2.1.1",
60
+ "eslint": "9.21.0",
61
+ "eslint-config-prettier": "10.0.2",
62
+ "eslint-plugin-react-hooks": "5.2.0",
63
+ "eslint-plugin-react-refresh": "0.4.19",
64
+ "eslint-plugin-storybook": "0.11.3",
65
+ "glob": "11.0.1",
66
+ "globals": "16.0.0",
67
+ "jsdom": "26.0.0",
68
+ "prettier": "3.5.2",
69
+ "storybook": "8.6.3",
70
+ "stylelint": "16.15.0",
71
+ "stylelint-config-standard": "37.0.0",
72
+ "tailwindcss": "^4.1.13",
73
+ "tw-animate-css": "^1.3.8",
74
+ "typescript": "5.7.3",
75
+ "typescript-eslint": "8.25.0",
76
+ "vite": "6.2.0",
77
+ "vite-plugin-dts": "4.5.1",
78
+ "vite-plugin-lib-inject-css": "2.2.1",
79
+ "vitest": "3.0.7",
80
+ "@tailwindcss/vite": "^4.1.13",
81
+ "@types/file-saver": "^2.0.7",
82
+ "tailwindcss-animate": "^1.0.7"
83
+ },
84
+ "dependencies": {
85
+ "@lgsm/core": "1.6.20-beta.21",
86
+ "@lgsm/ui": "1.6.20-beta.21",
87
+ "@lgsm/account": "1.6.20-beta.21",
88
+ "@lgsm/data-table": "1.6.20-beta.21"
89
+ },
90
+ "workspaces": [
91
+ "packages/*"
92
+ ],
93
+ "sideEffects": [
94
+ "**/*.css"
95
+ ]
96
+ }