corekit-ui 0.1.20 → 0.1.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.
@@ -31,7 +31,7 @@ export type ModalProps = {
31
31
  * @example
32
32
  * onClose={() => { console.log('Modal cerrado'); setIsOpen(false); }}
33
33
  */
34
- onClose: () => void;
34
+ onClose?: () => void;
35
35
  /**
36
36
  * Tamaño del modal (max-width)
37
37
  * @default 'md'
@@ -3,24 +3,24 @@ export type PanelFiltrosProps = {
3
3
  /**
4
4
  * Si el panel está abierto
5
5
  */
6
- abierto: boolean;
6
+ isOpen: boolean;
7
7
  /**
8
8
  * Callback al cerrar el panel
9
9
  */
10
- al_cerrar: () => void;
10
+ onClose: () => void;
11
11
  /**
12
12
  * Callback al aplicar filtros
13
13
  */
14
- al_aplicar: () => void;
14
+ onApply: () => void;
15
15
  /**
16
16
  * Callback al limpiar filtros
17
17
  */
18
- al_limpiar: () => void;
18
+ onClear: () => void;
19
19
  /**
20
20
  * Título del panel
21
21
  * @default 'Filtros'
22
22
  */
23
- titulo?: string;
23
+ title?: string;
24
24
  /**
25
25
  * Variante del backdrop
26
26
  * @default 'sutil'
@@ -46,4 +46,4 @@ export type PanelFiltrosProps = {
46
46
  */
47
47
  children: ReactNode | ReactNode[];
48
48
  };
49
- export declare const PanelFiltros: ({ abierto, al_cerrar, al_aplicar, al_limpiar, titulo, backdropVariant, closeOnBackdropClick, allowBackdropInteraction, getContainer, children, }: PanelFiltrosProps) => import("react/jsx-runtime").JSX.Element | null;
49
+ export declare const PanelFiltros: ({ isOpen, onClose, onApply, onClear, title, backdropVariant, closeOnBackdropClick, allowBackdropInteraction, getContainer, children, }: PanelFiltrosProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,129 +1,132 @@
1
- {
2
- "name": "corekit-ui",
3
- "version": "0.1.20",
4
- "description": "CoreKit UI Component Library",
5
- "author": "Soluciones PC",
6
- "license": "MIT",
7
- "type": "module",
8
- "private": false,
9
- "homepage": "https://corekit-ui.yoursite.com",
10
- "keywords": [
11
- "react",
12
- "components",
13
- "ui",
14
- "design-system",
15
- "typescript",
16
- "css-variables",
17
- "accessible",
18
- "enterprise"
19
- ],
20
- "engines": {
21
- "node": ">=18.0.0"
22
- },
23
- "files": [
24
- "dist",
25
- "README.md",
26
- "CHANGELOG.md"
27
- ],
28
- "main": "./dist/index.umd.cjs",
29
- "module": "./dist/index.js",
30
- "types": "./dist/index.d.ts",
31
- "style": "./dist/corekit-ui.css",
32
- "sideEffects": [
33
- "**/*.css"
34
- ],
35
- "exports": {
36
- ".": {
37
- "types": "./dist/index.d.ts",
38
- "import": "./dist/index.js",
39
- "require": "./dist/index.umd.cjs"
40
- },
41
- "./styles.css": "./dist/corekit-ui.css",
42
- "./package.json": "./package.json"
43
- },
44
- "publishConfig": {
45
- "access": "public",
46
- "registry": "https://registry.npmjs.org/"
47
- },
48
- "peerDependencies": {
49
- "react": "^18.3.0 || ^19.0.0",
50
- "react-dom": "^18.3.0 || ^19.0.0"
51
- },
52
- "dependencies": {
53
- "@floating-ui/react": "^0.27.16",
54
- "@tanstack/react-router": "^1.139.7",
55
- "@tanstack/react-table": "^8.21.3",
56
- "@tanstack/react-virtual": "^3.13.12",
57
- "@uidotdev/usehooks": "^2.4.1",
58
- "class-variance-authority": "^0.7.1",
59
- "clsx": "^2.1.1",
60
- "nanoid": "^5.1.6",
61
- "zustand": "^5.0.1"
62
- },
63
- "devDependencies": {
64
- "@eslint/js": "^9.14.0",
65
- "@storybook/addon-a11y": "^8.6.0",
66
- "@storybook/addon-docs": "^8.6.0",
67
- "@storybook/addon-essentials": "^8.6.0",
68
- "@storybook/addon-interactions": "^8.6.0",
69
- "@storybook/addon-themes": "^8.6.0",
70
- "@storybook/blocks": "^8.6.0",
71
- "@storybook/react": "^8.6.0",
72
- "@storybook/react-vite": "^8.6.0",
73
- "@storybook/test": "^8.6.0",
74
- "@testing-library/dom": "^10.4.0",
75
- "@testing-library/jest-dom": "^6.6.0",
76
- "@testing-library/react": "^16.1.0",
77
- "@types/react": "^19.0.0",
78
- "@types/react-dom": "^19.0.0",
79
- "@vitejs/plugin-react": "^4.3.4",
80
- "@vitest/coverage-v8": "^2.1.8",
81
- "@vitest/ui": "^2.1.8",
82
- "eslint": "^9.17.0",
83
- "eslint-config-prettier": "^9.1.0",
84
- "eslint-import-resolver-typescript": "^3.7.0",
85
- "eslint-plugin-import": "^2.31.0",
86
- "eslint-plugin-react": "^7.37.2",
87
- "eslint-plugin-react-hooks": "^5.1.0-rc.0",
88
- "eslint-plugin-react-refresh": "^0.4.16",
89
- "globals": "^15.14.0",
90
- "jsdom": "^25.0.1",
91
- "plop": "^4.0.1",
92
- "postcss": "^8.4.49",
93
- "postcss-preset-env": "^10.1.1",
94
- "prettier": "^3.4.2",
95
- "react": "^19.0.0",
96
- "react-dom": "^19.0.0",
97
- "rimraf": "^6.1.2",
98
- "storybook": "^8.6.0",
99
- "stylelint": "^16.12.0",
100
- "stylelint-config-standard": "^36.0.1",
101
- "stylelint-order": "^6.0.4",
102
- "typescript": "^5.9.3",
103
- "typescript-eslint": "^8.18.0",
104
- "vite": "^6.0.3",
105
- "vite-plugin-dts": "^4.5.4",
106
- "vitest": "^2.1.8"
107
- },
108
- "scripts": {
109
- "dev": "vite --port 3000",
110
- "build": "vite build",
111
- "clean": "rimraf dist",
112
- "prebuild": "pnpm clean",
113
- "storybook": "storybook dev -p 6006",
114
- "build:storybook": "storybook build",
115
- "typecheck": "tsc --noEmit",
116
- "lint": "eslint . --fix",
117
- "lint:css": "stylelint \"src/**/*.{css,scss}\" --fix",
118
- "format": "prettier --write .",
119
- "test": "vitest run",
120
- "test:watch": "vitest",
121
- "test:ui": "vitest --ui",
122
- "check": "pnpm typecheck && pnpm lint && pnpm lint:css && pnpm test",
123
- "gen": "plop",
124
- "release:patch": "pnpm version patch && pnpm publish",
125
- "release:minor": "pnpm version minor && pnpm publish",
126
- "release:major": "pnpm version major && pnpm publish",
127
- "release:dry": "pnpm publish --dry-run"
128
- }
129
- }
1
+ {
2
+ "name": "corekit-ui",
3
+ "version": "0.1.21",
4
+ "description": "CoreKit UI Component Library",
5
+ "author": "Soluciones PC",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "private": false,
9
+ "homepage": "https://corekit-ui.yoursite.com",
10
+ "keywords": [
11
+ "react",
12
+ "components",
13
+ "ui",
14
+ "design-system",
15
+ "typescript",
16
+ "css-variables",
17
+ "accessible",
18
+ "enterprise"
19
+ ],
20
+ "engines": {
21
+ "node": ">=18.0.0"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "README.md",
26
+ "CHANGELOG.md"
27
+ ],
28
+ "main": "./dist/index.umd.cjs",
29
+ "module": "./dist/index.js",
30
+ "types": "./dist/index.d.ts",
31
+ "style": "./dist/corekit-ui.css",
32
+ "sideEffects": [
33
+ "**/*.css"
34
+ ],
35
+ "exports": {
36
+ ".": {
37
+ "types": "./dist/index.d.ts",
38
+ "import": "./dist/index.js",
39
+ "require": "./dist/index.umd.cjs"
40
+ },
41
+ "./styles.css": "./dist/corekit-ui.css",
42
+ "./package.json": "./package.json"
43
+ },
44
+ "publishConfig": {
45
+ "access": "public",
46
+ "registry": "https://registry.npmjs.org/"
47
+ },
48
+ "scripts": {
49
+ "dev": "vite --port 3000",
50
+ "build": "vite build",
51
+ "clean": "rimraf dist",
52
+ "prebuild": "pnpm clean",
53
+ "storybook": "storybook dev -p 6006",
54
+ "build:storybook": "storybook build",
55
+ "typecheck": "tsc --noEmit",
56
+ "lint": "eslint . --fix",
57
+ "lint:css": "stylelint \"src/**/*.{css,scss}\" --fix",
58
+ "format": "prettier --write .",
59
+ "test": "vitest run",
60
+ "test:watch": "vitest",
61
+ "test:ui": "vitest --ui",
62
+ "check": "pnpm typecheck && pnpm lint && pnpm lint:css && pnpm test",
63
+ "gen": "plop",
64
+ "prepublishOnly": "pnpm check && pnpm build",
65
+ "release:patch": "pnpm version patch && pnpm publish",
66
+ "release:minor": "pnpm version minor && pnpm publish",
67
+ "release:major": "pnpm version major && pnpm publish",
68
+ "release:dry": "pnpm publish --dry-run"
69
+ },
70
+ "peerDependencies": {
71
+ "react": "^18.3.0 || ^19.0.0",
72
+ "react-dom": "^18.3.0 || ^19.0.0"
73
+ },
74
+ "dependencies": {
75
+ "@floating-ui/react": "^0.27.16",
76
+ "@tanstack/react-router": "^1.139.7",
77
+ "@tanstack/react-table": "^8.21.3",
78
+ "@tanstack/react-virtual": "^3.13.12",
79
+ "@uidotdev/usehooks": "^2.4.1",
80
+ "class-variance-authority": "^0.7.1",
81
+ "clsx": "^2.1.1",
82
+ "nanoid": "^5.1.6",
83
+ "zustand": "^5.0.1"
84
+ },
85
+ "devDependencies": {
86
+ "@eslint/js": "^9.14.0",
87
+ "@storybook/addon-a11y": "^8.6.0",
88
+ "@storybook/addon-docs": "^8.6.0",
89
+ "@storybook/addon-essentials": "^8.6.0",
90
+ "@storybook/addon-interactions": "^8.6.0",
91
+ "@storybook/addon-themes": "^8.6.0",
92
+ "@storybook/blocks": "^8.6.0",
93
+ "@storybook/manager-api": "^8.6.14",
94
+ "@storybook/react": "^8.6.0",
95
+ "@storybook/react-vite": "^8.6.0",
96
+ "@storybook/test": "^8.6.0",
97
+ "@storybook/theming": "^8.6.14",
98
+ "@testing-library/dom": "^10.4.0",
99
+ "@testing-library/jest-dom": "^6.6.0",
100
+ "@testing-library/react": "^16.1.0",
101
+ "@types/react": "^19.0.0",
102
+ "@types/react-dom": "^19.0.0",
103
+ "@vitejs/plugin-react": "^4.3.4",
104
+ "@vitest/coverage-v8": "^2.1.8",
105
+ "@vitest/ui": "^2.1.8",
106
+ "eslint": "^9.17.0",
107
+ "eslint-config-prettier": "^9.1.0",
108
+ "eslint-import-resolver-typescript": "^3.7.0",
109
+ "eslint-plugin-import": "^2.31.0",
110
+ "eslint-plugin-react": "^7.37.2",
111
+ "eslint-plugin-react-hooks": "^5.1.0-rc.0",
112
+ "eslint-plugin-react-refresh": "^0.4.16",
113
+ "globals": "^15.14.0",
114
+ "jsdom": "^25.0.1",
115
+ "plop": "^4.0.1",
116
+ "postcss": "^8.4.49",
117
+ "postcss-preset-env": "^10.1.1",
118
+ "prettier": "^3.4.2",
119
+ "react": "^19.0.0",
120
+ "react-dom": "^19.0.0",
121
+ "rimraf": "^6.1.2",
122
+ "storybook": "^8.6.0",
123
+ "stylelint": "^16.12.0",
124
+ "stylelint-config-standard": "^36.0.1",
125
+ "stylelint-order": "^6.0.4",
126
+ "typescript": "^5.9.3",
127
+ "typescript-eslint": "^8.18.0",
128
+ "vite": "^6.0.3",
129
+ "vite-plugin-dts": "^4.5.4",
130
+ "vitest": "^2.1.8"
131
+ }
132
+ }