@lgsm/modules 1.0.2 → 1.1.0

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@lgsm/modules",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
- "build": "tsc && vite build",
6
+ "build": "vite build",
7
7
  "lint": "eslint . --ext ts,tsx",
8
8
  "lint:fix": "eslint . --ext ts,tsx --fix",
9
9
  "format": "prettier --check .",
@@ -15,7 +15,7 @@
15
15
  "test": "vitest",
16
16
  "test:ui": "vitest --ui",
17
17
  "coverage": "vitest run --coverage",
18
- "prepublishOnly": "vitest run && npm run build"
18
+ "prepublishOnly": "npm run build"
19
19
  },
20
20
  "module": "./dist/main.js",
21
21
  "exports": "./dist/main.js",
@@ -39,14 +39,14 @@
39
39
  "@storybook/react-vite": "8.6.3",
40
40
  "@storybook/test": "8.6.3",
41
41
  "@testing-library/react": "16.2.0",
42
- "@types/node": "22.13.8",
42
+ "@types/node": "^22.13.8",
43
43
  "@types/react": "19.0.10",
44
44
  "@types/react-dom": "19.0.4",
45
45
  "@vitejs/plugin-react": "4.3.4",
46
46
  "@vitest/coverage-v8": "3.0.7",
47
47
  "@vitest/ui": "3.0.7",
48
48
  "autoprefixer": "10.4.20",
49
- "clsx": "2.1.1",
49
+ "clsx": "^2.1.1",
50
50
  "eslint": "9.21.0",
51
51
  "eslint-config-prettier": "10.0.2",
52
52
  "eslint-plugin-react-hooks": "5.2.0",
@@ -59,11 +59,23 @@
59
59
  "storybook": "8.6.3",
60
60
  "stylelint": "16.15.0",
61
61
  "stylelint-config-standard": "37.0.0",
62
+ "tailwindcss": "^4.1.13",
63
+ "tw-animate-css": "^1.3.8",
62
64
  "typescript": "5.7.3",
63
65
  "typescript-eslint": "8.25.0",
64
66
  "vite": "6.2.0",
65
67
  "vite-plugin-dts": "4.5.1",
66
68
  "vite-plugin-lib-inject-css": "2.2.1",
67
69
  "vitest": "3.0.7"
70
+ },
71
+ "dependencies": {
72
+ "@radix-ui/react-slot": "^1.2.3",
73
+ "@tailwindcss/vite": "^4.1.13",
74
+ "axios": "^1.12.2",
75
+ "class-variance-authority": "^0.7.1",
76
+ "lucide-react": "^0.544.0",
77
+ "tailwind-merge": "^3.3.1",
78
+ "tailwindcss-animate": "^1.0.7",
79
+ "zustand": "^5.0.8"
68
80
  }
69
81
  }
@@ -1 +0,0 @@
1
- ._button_31ovf_1{--bg-color: none;background-color:var(--bg-color);border-radius:6px}._button--primary_31ovf_15{--bg-color: crimson;-webkit-backdrop-filter:sepia(90%);backdrop-filter:sepia(90%)}._button--small_31ovf_27{font-size:1rem;padding:.4rem .6rem}._button--medium_31ovf_37{font-size:1.2rem;padding:.6rem .8rem}._button--large_31ovf_47{font-size:1.4rem;padding:.8rem 1rem}
@@ -1,7 +0,0 @@
1
- interface ComponentProps extends React.ComponentProps<'button'> {
2
- primary?: boolean;
3
- size?: 'small' | 'medium' | 'large';
4
- label: string;
5
- }
6
- export declare function MyButton({ primary, size, label, ...props }: ComponentProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,27 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { c as _ } from "../../clsx-OuTLNxxd.js";
3
- import '../../assets/index3.css';const s = "_button_31ovf_1", t = {
4
- button: s,
5
- "button--primary": "_button--primary_31ovf_15",
6
- "button--small": "_button--small_31ovf_27",
7
- "button--medium": "_button--medium_31ovf_37",
8
- "button--large": "_button--large_31ovf_47"
9
- };
10
- function a({ primary: n = !1, size: o = "medium", label: u, ...b }) {
11
- const m = _(t.button, {
12
- [t["button--primary"]]: n,
13
- [t[`button--${o}`]]: o
14
- });
15
- return /* @__PURE__ */ r(
16
- "button",
17
- {
18
- type: "button",
19
- className: m,
20
- ...b,
21
- children: u
22
- }
23
- );
24
- }
25
- export {
26
- a as MyButton
27
- };