corekit-ui 0.1.4 → 0.1.8

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/LICENSE CHANGED
@@ -5,7 +5,7 @@
5
5
  ```text
6
6
  MIT License
7
7
 
8
- Copyright (c) 2025 PC Soluciones en epidemiología y salud ocupacional
8
+ Copyright (c) 2026 PC Soluciones en epidemiología y salud ocupacional
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # PC Soluciones – React Library Lab
2
2
 
3
- [![CI](https://github.com/<camidev43>/<proyecto-libreria>/actions/workflows/merge-jobs.yml/badge.svg)](https://github.com/<camidev43>/<proyecto-libreria>/actions/workflows/merge-jobs.yml)
4
- [![Storybook deploy](https://github.com/<camidev43>/<proyecto-libreria>/actions/workflows/pages.yml/badge.svg)](https://github.com/<camidev43>/<proyecto-libreria>/actions/workflows/pages.yml)
3
+ [![CI]()]()
4
+ [![Storybook deploy]()
5
5
  [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](#licencia)
6
6
 
7
- > Laboratorio para crear y validar una **librería de componentes React** de PC Soluciones en epidemiología y salud ocupacional.
8
- > Este proyecto sirve como **introducción** para testear funcionalidades, procesos de build/release, documentación y calidad, mientras aprendemos y definimos estándares.
7
+ > Repositorio para crear y validar una **librería de componentes React** de PC Soluciones en epidemiología y salud ocupacional.
8
+ > Este proyecto sirve para testear funcionalidades, procesos de build/release, documentación y calidad, mientras se prueba y define estándares.
9
9
 
10
10
  ---
11
11
 
12
12
  ## Demo & Docs
13
13
 
14
14
  - **Storybook (docs y ejemplos):**
15
- https://<camidev43>.github.io/<proyecto-libreria>/
15
+ https://<>.github.io/<>/
16
16
 
17
17
  ---
18
18
 
@@ -21,7 +21,7 @@
21
21
  - ⚡ **Vite** + **pnpm** → desarrollo y builds rápidos.
22
22
  - 🧩 **TypeScript** + **React 18/19** → DX moderna.
23
23
  - 🧪 **Vitest** + **Testing Library** → tests unitarios y de componentes.
24
- - 🎨 **CSS Modules** (y opción de Tailwind si se requiere más adelante).
24
+ - 🎨 **CSS Modules**.
25
25
  - 📚 **Storybook** → documentación interactiva de componentes.
26
26
  - ✅ **ESLint** + **Stylelint** + **Prettier** → estilo consistente y chequeos automáticos.
27
27
  - 🧰 **Husky + lint-staged** → calidad antes de cada commit.
@@ -29,9 +29,9 @@
29
29
 
30
30
  ---
31
31
 
32
- ## Objetivos del laboratorio
32
+ ## Objetivos de corekit-ui
33
33
 
34
- 1. Definir **estándares** de código, estilos y testing para la futura librería de la empresa.
34
+ 1. Definir **estándares** de código, estilos y testing para la librería de PC.
35
35
  2. Probar el **ciclo de vida completo**: scaffold → dev → test → docs → build → publish.
36
36
  3. Medir y ajustar **ergonomía DX** (scripts, tareas de VS Code, hooks, etc).
37
37
  4. Asegurar **tree-shaking** y empaquetado correcto para consumidores (apps web, microfronts, etc).
package/package.json CHANGED
@@ -1,131 +1,120 @@
1
- {
2
- "name": "corekit-ui",
3
- "homepage": "https://camidev43.github.io/proyecto-libreria/",
4
- "private": false,
5
- "version": "0.1.4",
6
- "type": "module",
7
- "files": [
8
- "dist"
9
- ],
10
- "main": "./dist/index.umd.cjs",
11
- "module": "./dist/index.js",
12
- "types": "./dist/index.d.ts",
13
- "sideEffects": [
14
- "**/*.css"
15
- ],
16
- "exports": {
17
- ".": {
18
- "import": "./dist/index.js",
19
- "require": "./dist/index.umd.cjs"
20
- }
21
- },
22
- "publishConfig": {
23
- "registry": "https://registry.npmjs.org/"
24
- },
25
- "peerDependencies": {
26
- "react": ">=18.2.0",
27
- "react-dom": ">=18.2.0"
28
- },
29
- "dependencies": {
30
- "@uidotdev/usehooks": "^2.4.1",
31
- "clsx": "^2.1.1",
32
- "lodash": "^4.17.21",
33
- "react-router-dom": "^7.8.0"
34
- },
35
- "devDependencies": {
36
- "@eslint/compat": "1.3.1",
37
- "@eslint/js": "9.32.0",
38
- "@mdx-js/react": "^3.0.1",
39
- "@storybook/addon-a11y": "^9.1.2",
40
- "@storybook/addon-docs": "9.1.2",
41
- "@storybook/addon-themes": "^9.1.2",
42
- "@storybook/addon-vitest": "9.1.2",
43
- "@storybook/builder-vite": "9.1.2",
44
- "@storybook/react": "9.1.2",
45
- "@storybook/react-vite": "9.1.2",
46
- "@storybook/test": "^8.6.14",
47
- "@testing-library/jest-dom": "^6",
48
- "@testing-library/react": "16.3.0",
49
- "@types/lodash": "4.17.20",
50
- "@types/react": "19.1.8",
51
- "@types/react-dom": "19.1.6",
52
- "@typescript-eslint/eslint-plugin": "8.39.1",
53
- "@typescript-eslint/parser": "8.39.1",
54
- "@vitejs/plugin-react": "4.7.0",
55
- "@vitest/browser": "^3.2.4",
56
- "@vitest/coverage-v8": "^3.2.4",
57
- "@yelo/rollup-node-external": "1.0.1",
58
- "alias-hq": "6.2.4",
59
- "eslint": "9.31.0",
60
- "eslint-config-prettier": "10.1.8",
61
- "eslint-import-resolver-typescript": "^4.4.4",
62
- "eslint-plugin-import": "2.32.0",
63
- "eslint-plugin-react": "7.37.5",
64
- "eslint-plugin-react-hooks": "5.2.0",
65
- "eslint-plugin-react-refresh": "0.4.20",
66
- "generate-react-cli": "8.4.9",
67
- "globals": "^16.3.0",
68
- "husky": "9.1.7",
69
- "is-ci": "4.1.0",
70
- "lint-staged": "16.1.2",
71
- "markdown-to-jsx": "^7.7.3",
72
- "npm-run-all2": "^8.0.4",
73
- "playwright": "^1.54.2",
74
- "postcss": "8.5.6",
75
- "postcss-preset-env": "10.2.4",
76
- "prettier": "3.3.3",
77
- "react": "19.1.0",
78
- "react-docgen-typescript": "2.4.0",
79
- "react-dom": "19.1.0",
80
- "rimraf": "^6.0.1",
81
- "storybook": "9.1.2",
82
- "stylelint": "16.23.1",
83
- "stylelint-config-standard": "39.0.0",
84
- "stylelint-order": "7.0.0",
85
- "typescript": "5.9.2",
86
- "vite": "7.1.0",
87
- "vite-plugin-dts": "4.5.4",
88
- "vitest": "^3.2.4",
89
- "zustand": "^5.0.7"
90
- },
91
- "lint-staged": {
92
- "*.{js,jsx,ts,tsx}": [
93
- "eslint --fix"
94
- ],
95
- "*.{css,scss}": [
96
- "prettier --write",
97
- "stylelint --fix"
98
- ],
99
- "*.{json,md,mdx,html,yml,yaml}": [
100
- "prettier --write"
101
- ]
102
- },
103
- "scripts": {
104
- "dev": "vite --port 3000",
105
- "clean:lib": "rimraf dist",
106
- "build:lib": "vite build",
107
- "build": "npm-run-all2 -s clean:lib build:lib",
108
- "lint:code": "eslint . --ext .js,.jsx,.ts,.tsx --report-unused-disable-directives",
109
- "fix:code": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
110
- "lint:types": "tsc --pretty --noEmit",
111
- "lint:style": "stylelint \"src/**/*.{css,scss}\"",
112
- "fix:style": "stylelint \"src/**/*.{css,scss}\" --fix",
113
- "format": "prettier --cache --write .",
114
- "format:css": "prettier --write \"src/**/*.{css,scss}\"",
115
- "format:nocache": "prettier --write .",
116
- "format:check": "prettier --check .",
117
- "test": "npm-run-all2 -s test:unit test:sb:ci --",
118
- "test:unit": "vitest",
119
- "test:unit:ci": "vitest run --reporter=dot",
120
- "test:sb": "vitest --browser",
121
- "test:sb:ci": "vitest run --browser --reporter=dot",
122
- "test:ci": "npm-run-all2 -s test:unit:ci test:sb:ci",
123
- "preview": "vite preview",
124
- "start:docs": "storybook dev -p 6006",
125
- "build:docs": "storybook build",
126
- "generate:component": "npx generate-react-cli component",
127
- "check": "npm-run-all2 -s lint:code lint:style lint:types test:ci",
128
- "format:all": "npm-run-all2 -s format fix:style fix:code",
129
- "lint-staged": "lint-staged"
130
- }
131
- }
1
+ {
2
+ "name": "corekit-ui",
3
+ "description": "CoreKit UI Component Library - Enterprise Grade",
4
+ "version": "0.1.8",
5
+ "type": "module",
6
+ "private": false,
7
+ "homepage": "https://corekit-ui.yoursite.com",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "main": "./dist/index.umd.cjs",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "sideEffects": [
15
+ "**/*.css"
16
+ ],
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/index.js",
21
+ "require": "./dist/index.umd.cjs"
22
+ }
23
+ },
24
+ "publishConfig": {
25
+ "registry": "https://registry.npmjs.org/"
26
+ },
27
+ "scripts": {
28
+ "dev": "vite --port 3000",
29
+ "build": "vite build",
30
+ "preview": "vite preview",
31
+ "storybook": "storybook dev -p 6006",
32
+ "build:storybook": "storybook build",
33
+ "lint": "eslint . --fix",
34
+ "lint:css": "stylelint \"src/**/*.{css,scss}\" --fix",
35
+ "typecheck": "tsc --noEmit",
36
+ "format": "prettier --write .",
37
+ "test": "vitest run",
38
+ "test:watch": "vitest",
39
+ "test:ui": "vitest --ui",
40
+ "test:coverage": "vitest run --coverage",
41
+ "check": "npm run typecheck && npm run lint && npm run lint:css && npm run test",
42
+ "prepare": "is-ci || husky",
43
+ "gen": "plop"
44
+ },
45
+ "peerDependencies": {
46
+ "react": "^18.3.0 || ^19.0.0",
47
+ "react-dom": "^18.3.0 || ^19.0.0"
48
+ },
49
+ "dependencies": {
50
+ "@floating-ui/react": "^0.27.16",
51
+ "@tanstack/react-router": "^1.139.7",
52
+ "@tanstack/react-table": "^8.21.3",
53
+ "@tanstack/react-virtual": "^3.13.12",
54
+ "@uidotdev/usehooks": "^2.4.1",
55
+ "class-variance-authority": "^0.7.1",
56
+ "clsx": "^2.1.1",
57
+ "nanoid": "^5.1.6",
58
+ "zustand": "^5.0.1"
59
+ },
60
+ "devDependencies": {
61
+ "@eslint/js": "^9.14.0",
62
+ "@storybook/addon-a11y": "^8.6.0",
63
+ "@storybook/addon-docs": "^8.6.0",
64
+ "@storybook/addon-essentials": "^8.6.0",
65
+ "@storybook/addon-interactions": "^8.6.0",
66
+ "@storybook/addon-themes": "^8.6.0",
67
+ "@storybook/blocks": "^8.6.0",
68
+ "@storybook/react": "^8.6.0",
69
+ "@storybook/react-vite": "^8.6.0",
70
+ "@storybook/test": "^8.6.0",
71
+ "@testing-library/dom": "^10.4.0",
72
+ "@testing-library/jest-dom": "^6.6.0",
73
+ "@testing-library/react": "^16.1.0",
74
+ "@types/react": "^19.0.0",
75
+ "@types/react-dom": "^19.0.0",
76
+ "@vitejs/plugin-react": "^4.3.4",
77
+ "@vitest/coverage-v8": "^2.1.8",
78
+ "@vitest/ui": "^2.1.8",
79
+ "eslint": "^9.17.0",
80
+ "eslint-config-prettier": "^9.1.0",
81
+ "eslint-import-resolver-typescript": "^3.7.0",
82
+ "eslint-plugin-import": "^2.31.0",
83
+ "eslint-plugin-react": "^7.37.2",
84
+ "eslint-plugin-react-hooks": "^5.1.0-rc.0",
85
+ "eslint-plugin-react-refresh": "^0.4.16",
86
+ "globals": "^15.14.0",
87
+ "husky": "^9.1.7",
88
+ "is-ci": "^3.0.1",
89
+ "jsdom": "^25.0.1",
90
+ "lint-staged": "^15.3.0",
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
+ "storybook": "^8.6.0",
98
+ "stylelint": "^16.12.0",
99
+ "stylelint-config-standard": "^36.0.1",
100
+ "stylelint-order": "^6.0.4",
101
+ "typescript": "^5.9.3",
102
+ "typescript-eslint": "^8.18.0",
103
+ "vite": "^6.0.3",
104
+ "vite-plugin-dts": "^4.3.0",
105
+ "vitest": "^2.1.8"
106
+ },
107
+ "lint-staged": {
108
+ "*.{js,jsx,ts,tsx}": [
109
+ "eslint --fix",
110
+ "prettier --write"
111
+ ],
112
+ "*.{css,scss}": [
113
+ "stylelint --fix",
114
+ "prettier --write"
115
+ ],
116
+ "*.{json,md,mdx,html,yml,yaml}": [
117
+ "prettier --write"
118
+ ]
119
+ }
120
+ }
package/dist/index.css DELETED
@@ -1 +0,0 @@
1
- :where(._boton_3lotu_1){--ease-out-fluid: cubic-bezier(.22, 1, .36, 1);--ease-quick: cubic-bezier(.4, 0, .2, 1);--color-dur: .36s;--shadow-dur: .48s;--transform-dur: .18s;--ease-extra-smooth: cubic-bezier(.2, 0, .2, 1);--ripple-duration: .6s;--ripple-opacity: .3}._boton_3lotu_1{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;color:var(--color-primary-text);contain:paint;cursor:pointer;display:inline-flex;font-size:var(--paragraph);font-weight:500;isolation:isolate;justify-content:center;line-height:normal;outline:none;overflow:hidden;position:relative;touch-action:manipulation;transition:background-color var(--color-dur) var(--ease-out-fluid),color var(--color-dur) var(--ease-out-fluid),border-color var(--color-dur) var(--ease-out-fluid),box-shadow var(--shadow-dur) var(--ease-out-fluid),opacity .22s var(--ease-out-fluid),transform var(--transform-dur) var(--ease-quick);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}._inner_3lotu_81{align-items:center;display:inline-flex;gap:.5rem;justify-content:center;position:relative;z-index:1}._start_3lotu_99,._end_3lotu_101,._label_3lotu_103,._spinner_3lotu_105{align-items:center;display:inline-flex;justify-content:center}._start_3lotu_99,._end_3lotu_101{font-size:1em;line-height:1}._start_3lotu_99 :where(svg,img),._end_3lotu_101 :where(svg,img){height:1em;display:block;flex:0 0 auto;width:1em}._ripple_3lotu_145{animation:_ripple_effect_3lotu_1 var(--ripple-duration) var(--ease-extra-smooth) forwards;background-color:color-mix(in srgb,currentcolor 80%,transparent);border-radius:50%;contain:strict;opacity:var(--ripple-opacity);pointer-events:none;position:absolute;transform:translate(-50%,-50%) scale(0);will-change:transform,opacity;z-index:0}@keyframes _ripple_effect_3lotu_1{to{opacity:0;transform:translate(-50%,-50%) scale(1)}}@media (prefers-reduced-motion: reduce){._ripple_3lotu_145{animation-duration:.3s;opacity:.18}}._tap_animation_3lotu_199{will-change:transform}._tap_animation_3lotu_199:active:not(:disabled){transform:scale(.98)}._boton_3lotu_1:focus-visible{outline:3px solid color-mix(in oklab,var(--btn-color),white 20%);outline-offset:2px}._boton_3lotu_1:focus:not(:focus-visible){outline:none}._spinner_3lotu_105{height:1em;width:1em}._modern_spinner_3lotu_243{animation:_spinner_rotate_3lotu_1 1s infinite linear;background:radial-gradient(farthest-side,currentcolor 94%,transparent) top/.16em .16em no-repeat,conic-gradient(transparent 30%,currentcolor);height:1em;border-radius:50%;width:1em;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - .16em),black 0);mask:radial-gradient(farthest-side,transparent calc(100% - .16em),black 0);will-change:transform}@keyframes _spinner_rotate_3lotu_1{to{transform:rotate(1turn)}}._loading_3lotu_279{cursor:progress;opacity:.7;pointer-events:none}._disabled_3lotu_291{cursor:not-allowed;opacity:.5;pointer-events:none}._full_width_3lotu_303{width:100%}._icon_only_3lotu_311{align-items:center;aspect-ratio:1;display:inline-flex;width:2.5rem;width:var(--icon-size, 2.5rem);justify-content:center;padding:0!important}._icon_only_3lotu_311._sm_3lotu_329{--icon-size: 2.25rem}._icon_only_3lotu_311._md_3lotu_337{--icon-size: 2.5rem}._icon_only_3lotu_311._lg_3lotu_345{--icon-size: 2.75rem}._sm_3lotu_329{font-size:.875rem;padding-top:var(--gaps-1);padding-bottom:var(--gaps-1);padding-left:var(--gaps-3);padding-right:var(--gaps-3)}._md_3lotu_337{font-size:var(--paragraph);padding-top:var(--gaps-2);padding-bottom:var(--gaps-2);padding-left:var(--gaps-4);padding-right:var(--gaps-4)}._lg_3lotu_345{font-size:var(--subtitle);padding-top:var(--gaps-2);padding-bottom:var(--gaps-2);padding-left:var(--gaps-5);padding-right:var(--gaps-5)}._radius_none_3lotu_389{border-radius:0}._radius_sm_3lotu_397{border-radius:var(--radius-1)}._radius_md_3lotu_405{border-radius:var(--radius-2)}._radius_lg_3lotu_413{border-radius:var(--radius-3)}._radius_full_3lotu_421{border-radius:var(--radius-round)}._solid_3lotu_429{background-color:var(--btn-color);color:#fff}._bordered_3lotu_439{background:transparent;border:2px solid var(--btn-text-color);color:var(--btn-text-color)}._ghost_3lotu_451{background:transparent;border:2px solid var(--btn-text-color);color:var(--btn-text-color);opacity:.9}._light_3lotu_465{background:transparent;border:none;color:var(--btn-text-color)}._faded_3lotu_477{background-color:var(--theme-faded-bg);border:2px solid var(--theme-faded-border);color:var(--btn-text-color)}._shadow_3lotu_489{background-color:var(--btn-color);box-shadow:0 12px 18px -10px color-mix(in oklab,var(--btn-shadow-color) 45%,transparent),0 16px 36px -14px color-mix(in oklab,var(--btn-shadow-color) 35%,transparent);color:#fff}._solid_3lotu_429:hover:not(:disabled):not(._loading_3lotu_279),._shadow_3lotu_489:hover:not(:disabled):not(._loading_3lotu_279){background-color:color-mix(in oklab,var(--btn-color) 96%,white 4%)}._shadow_3lotu_489:hover:not(:disabled):not(._loading_3lotu_279){box-shadow:0 12px 24px -12px color-mix(in oklab,var(--btn-shadow-color) 95%,transparent),0 22px 44px -18px color-mix(in oklab,var(--btn-shadow-color) 45%,transparent)}._bordered_3lotu_439:hover:not(:disabled):not(._loading_3lotu_279){border-color:color-mix(in oklab,var(--btn-text-color) 86%,transparent)}._ghost_3lotu_451:hover:not(:disabled):not(._loading_3lotu_279){background-color:color-mix(in oklab,var(--btn-text-color) 8%,transparent);border-color:color-mix(in oklab,var(--btn-text-color) 86%,transparent);color:var(--btn-text-color);opacity:1}._light_3lotu_465:hover:not(:disabled):not(._loading_3lotu_279){background-color:color-mix(in oklab,var(--btn-text-color) 15%,transparent);color:var(--btn-text-color)}._faded_3lotu_477:hover:not(:disabled):not(._loading_3lotu_279){background-color:color-mix(in oklab,var(--btn-text-color) 10%,var(--theme-faded-bg));border-color:color-mix(in oklab,var(--btn-text-color) 32%,var(--theme-faded-border))}._shadow_3lotu_489:active:not(:disabled):not(._loading_3lotu_279){box-shadow:0 8px 18px -12px color-mix(in oklab,var(--btn-shadow-color) 60%,transparent),0 16px 34px -20px color-mix(in oklab,var(--btn-shadow-color) 50%,transparent)}._primary_3lotu_581{--btn-color: var(--brand-6);--csstools-light-dark-toggle--0: var(--csstools-color-scheme--light) var(--brand-4);--btn-text-color: var(--csstools-light-dark-toggle--0, var(--brand-6));--btn-color-foreground: var(--base);--btn-color-light: var(--brand-1);--btn-color-faded: var(--brand-4);--btn-shadow-color: var(--brand-6)}@supports (color: light-dark(red,red)){._primary_3lotu_581{--btn-text-color: light-dark(var(--brand-6), var(--brand-4))}}@supports not (color: light-dark(tan,tan)){._primary_3lotu_581 *{--csstools-light-dark-toggle--0: var(--csstools-color-scheme--light) var(--brand-4);--btn-text-color: var(--csstools-light-dark-toggle--0, var(--brand-6))}}._secondary_3lotu_599{--btn-color: #3d6b0c;--csstools-light-dark-toggle--1: var(--csstools-color-scheme--light) var(--brand-4-secondary);--btn-text-color: var(--csstools-light-dark-toggle--1, #3d6b0c);--btn-color-foreground: var(--base);--btn-color-light: var(--brand-1-secondary);--btn-color-faded: #3d6b0c;--btn-shadow-color: #3d6b0c}@supports (color: light-dark(red,red)){._secondary_3lotu_599{--btn-text-color: light-dark(#3d6b0c, var(--brand-4-secondary))}}@supports not (color: light-dark(tan,tan)){._secondary_3lotu_599 *{--csstools-light-dark-toggle--1: var(--csstools-color-scheme--light) var(--brand-4-secondary);--btn-text-color: var(--csstools-light-dark-toggle--1, #3d6b0c)}}._success_3lotu_617{--btn-color: #246f2e;--csstools-light-dark-toggle--2: var(--csstools-color-scheme--light) var(--color-add-green-4);--btn-text-color: var(--csstools-light-dark-toggle--2, #246f2e);--btn-color-foreground: var(--base);--btn-color-light: var(--color-add-green-1);--btn-color-faded: #246f2e;--btn-shadow-color: #246f2e}@supports (color: light-dark(red,red)){._success_3lotu_617{--btn-text-color: light-dark(#246f2e, var(--color-add-green-4))}}@supports not (color: light-dark(tan,tan)){._success_3lotu_617 *{--csstools-light-dark-toggle--2: var(--csstools-color-scheme--light) var(--color-add-green-4);--btn-text-color: var(--csstools-light-dark-toggle--2, #246f2e)}}._warning_3lotu_635{--btn-color: #a04d00;--csstools-light-dark-toggle--3: var(--csstools-color-scheme--light) var(--color-add-orange-4);--btn-text-color: var(--csstools-light-dark-toggle--3, #a04d00);--btn-color-foreground: var(--base);--btn-color-light: var(--color-add-orange-1);--btn-color-faded: #a04d00;--btn-shadow-color: #a04d00}@supports (color: light-dark(red,red)){._warning_3lotu_635{--btn-text-color: light-dark(#a04d00, var(--color-add-orange-4))}}@supports not (color: light-dark(tan,tan)){._warning_3lotu_635 *{--csstools-light-dark-toggle--3: var(--csstools-color-scheme--light) var(--color-add-orange-4);--btn-text-color: var(--csstools-light-dark-toggle--3, #a04d00)}}._danger_3lotu_653{--btn-color: var(--color-add-red-6);--csstools-light-dark-toggle--4: var(--csstools-color-scheme--light) var(--color-add-red-4);--btn-text-color: var(--csstools-light-dark-toggle--4, var(--color-add-red-6));--btn-color-foreground: var(--base);--btn-color-light: var(--color-add-red-1);--btn-color-faded: var(--color-add-red-5);--btn-shadow-color: var(--color-add-red-6)}@supports (color: light-dark(red,red)){._danger_3lotu_653{--btn-text-color: light-dark(var(--color-add-red-6), var(--color-add-red-4))}}@supports not (color: light-dark(tan,tan)){._danger_3lotu_653 *{--csstools-light-dark-toggle--4: var(--csstools-color-scheme--light) var(--color-add-red-4);--btn-text-color: var(--csstools-light-dark-toggle--4, var(--color-add-red-6))}}._default_3lotu_671{--btn-color: var(--gray-6);--csstools-light-dark-toggle--5: var(--csstools-color-scheme--light) var(--gray-4);--btn-text-color: var(--csstools-light-dark-toggle--5, var(--gray-6));--btn-color-foreground: var(--base);--btn-color-light: var(--gray-2);--btn-color-faded: var(--gray-5);--btn-shadow-color: var(--gray-6)}@supports (color: light-dark(red,red)){._default_3lotu_671{--btn-text-color: light-dark(var(--gray-6), var(--gray-4))}}@supports not (color: light-dark(tan,tan)){._default_3lotu_671 *{--csstools-light-dark-toggle--5: var(--csstools-color-scheme--light) var(--gray-4);--btn-text-color: var(--csstools-light-dark-toggle--5, var(--gray-6))}}._dialog_1i8zu_1{align-items:center;background:transparent;border:none;display:flex;height:100vh;inset:0;justify-content:center;padding:0;position:fixed;width:100vw}._dialog_1i8zu_1::backdrop{-webkit-backdrop-filter:blur(.1875rem);backdrop-filter:blur(.1875rem);background-color:#000000d9}._dialog_1i8zu_1[open]{animation:_aparecer-dialog_1i8zu_1 .2s cubic-bezier(.4,0,.2,1)}@keyframes _aparecer-dialog_1i8zu_1{0%{opacity:0;transform:scale(.95) translateY(-1rem)}to{opacity:1;transform:scale(1) translateY(0)}}._modal_1i8zu_71{--csstools-light-dark-toggle--0: var(--csstools-color-scheme--light) #1e1e1e;background:#fff;background:var(--csstools-light-dark-toggle--0, #fff);background:light-dark(#fff,#1e1e1e);border-radius:1.25rem;box-shadow:0 1.5rem 3rem #00000080;display:flex;flex-direction:column;max-height:90vh;max-width:40rem;overflow-y:auto;width:90vw}._encabezado_1i8zu_95{align-items:center;display:flex;justify-content:space-between;padding:1.5rem 1.5rem 1rem}._titulo_1i8zu_109{--csstools-light-dark-toggle--1: var(--csstools-color-scheme--light) #fff;color:#1a1a1a;color:var(--csstools-light-dark-toggle--1, #1a1a1a);color:light-dark(#1a1a1a,#fff);font-size:1.125rem;font-weight:500;margin:0}._boton_cerrar_1i8zu_123{align-items:center;--csstools-light-dark-toggle--2: var(--csstools-color-scheme--light) #2a2a2a;background:#f0f0f0;background:var(--csstools-light-dark-toggle--2, #f0f0f0);background:light-dark(#f0f0f0,#2a2a2a);border:none;border-radius:.375rem;--csstools-light-dark-toggle--3: var(--csstools-color-scheme--light) #999;color:#666;color:var(--csstools-light-dark-toggle--3, #666);color:light-dark(#666,#999);cursor:pointer;display:flex;gap:.375rem;padding:.375rem .75rem;transition:all .15s ease}._boton_cerrar_1i8zu_123:hover{--csstools-light-dark-toggle--4: var(--csstools-color-scheme--light) #333;background:#e0e0e0;background:var(--csstools-light-dark-toggle--4, #e0e0e0);background:light-dark(#e0e0e0,#333);--csstools-light-dark-toggle--5: var(--csstools-color-scheme--light) #fff;color:#1a1a1a;color:var(--csstools-light-dark-toggle--5, #1a1a1a);color:light-dark(#1a1a1a,#fff)}._texto_esc_1i8zu_159{font-size:.6875rem;font-weight:600;letter-spacing:.025rem;text-transform:uppercase}._icono_x_1i8zu_173{font-size:1rem;line-height:1}._contenedor_lienzo_1i8zu_183{padding:0 1.5rem;position:relative}._area_firma_1i8zu_193{--csstools-light-dark-toggle--6: var(--csstools-color-scheme--light) #0d0d0d;background:#fafafa;background:var(--csstools-light-dark-toggle--6, #fafafa);background:light-dark(#fafafa,#0d0d0d);border-radius:1rem;overflow:hidden;position:relative}._lienzo_1i8zu_207{cursor:crosshair;display:block;height:auto;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}._lienzo_1i8zu_207:focus{--csstools-light-dark-toggle--7: var(--csstools-color-scheme--light) #4a9eff;outline:.125rem solid #007acc;outline:.125rem solid var(--csstools-light-dark-toggle--7, #007acc);outline:.125rem solid light-dark(#007acc,#4a9eff);outline-offset:.125rem}._lienzo_deshabilitado_1i8zu_235{cursor:not-allowed;opacity:.6}._barra_acciones_1i8zu_245{align-items:center;--csstools-light-dark-toggle--8: var(--csstools-color-scheme--light) #0d0d0d;background:#fafafa;background:var(--csstools-light-dark-toggle--8, #fafafa);background:light-dark(#fafafa,#0d0d0d);display:flex;justify-content:space-between;padding:.5rem 1.5rem}._grupo_izquierda_1i8zu_261{align-items:center;display:flex;gap:.5rem}._separador_1i8zu_273{--csstools-light-dark-toggle--9: var(--csstools-color-scheme--light) #444;color:#ccc;color:var(--csstools-light-dark-toggle--9, #ccc);color:light-dark(#ccc,#444);font-size:.875rem;padding:0 .25rem}._boton_accion_1i8zu_285{align-items:center;background:transparent;border:none;--csstools-light-dark-toggle--10: var(--csstools-color-scheme--light) #999;color:#666;color:var(--csstools-light-dark-toggle--10, #666);color:light-dark(#666,#999);cursor:pointer;display:flex;font-size:.875rem;font-weight:400;gap:.375rem;padding:.25rem .5rem;transition:all .15s ease}._boton_accion_1i8zu_285:disabled{cursor:not-allowed;opacity:.3}._boton_accion_1i8zu_285:hover:not(:disabled){--csstools-light-dark-toggle--11: var(--csstools-color-scheme--light) #fff;color:#1a1a1a;color:var(--csstools-light-dark-toggle--11, #1a1a1a);color:light-dark(#1a1a1a,#fff)}._boton_guardar_1i8zu_331{background:transparent;border:none;--csstools-light-dark-toggle--12: var(--csstools-color-scheme--light) #4a9eff;color:#007acc;color:var(--csstools-light-dark-toggle--12, #007acc);color:light-dark(#007acc,#4a9eff);cursor:pointer;font-size:.9375rem;font-weight:400;padding:.5rem .75rem;transition:all .15s ease}._boton_guardar_1i8zu_331:disabled{cursor:not-allowed;opacity:.3}._boton_guardar_1i8zu_331:hover:not(:disabled){--csstools-light-dark-toggle--13: var(--csstools-color-scheme--light) #6bb0ff;color:#005a9e;color:var(--csstools-light-dark-toggle--13, #005a9e);color:light-dark(#005a9e,#6bb0ff)}._icono_1i8zu_173{height:1rem;width:1rem}._contenedor_consentimiento_1i8zu_385{--csstools-light-dark-toggle--14: var(--csstools-color-scheme--light) #1a1a1a;background:#f5f5f5;background:var(--csstools-light-dark-toggle--14, #f5f5f5);background:light-dark(#f5f5f5,#1a1a1a);border-radius:.875rem;margin:1.5rem;padding:1.25rem 1.5rem}._contenedor_checkbox_1i8zu_401{align-items:center;cursor:pointer;display:flex;gap:.75rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}._checkbox_nativo_1i8zu_417{height:0;opacity:0;position:absolute;width:0}._checkbox_custom_1i8zu_431{align-items:center;--csstools-light-dark-toggle--15: var(--csstools-color-scheme--light) #3a3a3a;background:#d0d0d0;background:var(--csstools-light-dark-toggle--15, #d0d0d0);background:light-dark(#d0d0d0,#3a3a3a);border-radius:.75rem;display:flex;flex-shrink:0;height:1.5rem;justify-content:flex-start;padding:.1875rem;position:relative;transition:all .2s ease;width:2.75rem}._checkbox_custom_1i8zu_431:before{--csstools-light-dark-toggle--16: var(--csstools-color-scheme--light) #888;background:#fff;background:var(--csstools-light-dark-toggle--16, #fff);background:light-dark(#fff,#888);border-radius:50%;box-shadow:0 .125rem .25rem #0003;content:"";height:1.125rem;transition:all .2s ease;width:1.125rem}._checkbox_nativo_1i8zu_417:checked+._checkbox_custom_1i8zu_431{--csstools-light-dark-toggle--17: var(--csstools-color-scheme--light) #4a9eff;background:#4a9eff;background:var(--csstools-light-dark-toggle--17, #4a9eff);background:light-dark(#4a9eff,#4a9eff)}._checkbox_nativo_1i8zu_417:checked+._checkbox_custom_1i8zu_431:before{background:#fff;transform:translate(1.25rem)}._texto_consentimiento_1i8zu_497{--csstools-light-dark-toggle--18: var(--csstools-color-scheme--light) #aaa;color:#666;color:var(--csstools-light-dark-toggle--18, #666);color:light-dark(#666,#aaa);flex:1;font-size:.8125rem;line-height:1.5;margin:0}._contenedor_subir_1i8zu_515{margin-bottom:1.5rem;padding:0 1.5rem}._boton_subir_1i8zu_525{align-items:center;background:transparent;border:none;--csstools-light-dark-toggle--19: var(--csstools-color-scheme--light) #aaa;color:#666;color:var(--csstools-light-dark-toggle--19, #666);color:light-dark(#666,#aaa);cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:400;gap:.5rem;padding:.5rem .75rem;transition:all .15s ease}._boton_subir_1i8zu_525:hover{--csstools-light-dark-toggle--20: var(--csstools-color-scheme--light) #fff;color:#1a1a1a;color:var(--csstools-light-dark-toggle--20, #1a1a1a);color:light-dark(#1a1a1a,#fff)}._input_archivo_1i8zu_561{display:none}@media (max-width: 48rem){._dialog_1i8zu_1{max-height:95vh;width:95vw}._encabezado_1i8zu_95{padding:1rem 1rem .75rem}._titulo_1i8zu_109{font-size:1rem}._contenedor_lienzo_1i8zu_183{padding:0 1rem}._barra_acciones_1i8zu_245{flex-direction:column;gap:.75rem;padding:.75rem 1rem}._grupo_izquierda_1i8zu_261,._boton_guardar_1i8zu_331{width:100%}._contenedor_consentimiento_1i8zu_385{margin:1rem;padding:1rem}._contenedor_subir_1i8zu_515{margin-bottom:1rem;padding:0 1rem}._boton_accion_1i8zu_285{font-size:.8125rem;gap:.25rem;padding:.375rem .5rem}._texto_esc_1i8zu_159{display:none}}@keyframes desvanecer_deslizar_entrada{0%{filter:blur(2px);opacity:0;transform:translateY(-8px) scale(.985) skewY(-1.2deg)}60%{filter:blur(.3px);opacity:.92;transform:translateY(2px) scale(1.012) skewY(.15deg)}to{filter:blur(0);opacity:1;transform:translateY(0) scale(1) skewY(0)}}.transicion_desvanecer_deslizar_entrada{animation:desvanecer_deslizar_entrada .38s cubic-bezier(.25,1,.5,1) forwards;backface-visibility:hidden;will-change:transform,opacity,filter}:root{--dur-enter: .8s;--dur-exit: .6s;--ease-emph: cubic-bezier(.2, .7, 0, 1);--ease-emph-in: cubic-bezier(.3, 0, .8, .15)}._contenedor_base_sg347_19{display:grid;grid-gap:var(--gaps-1);gap:var(--gaps-1);width:100%}._etiqueta_sg347_39{color:var(--color-secondary-text);font-size:var(--label);margin:.1em 0 .15em;-webkit-user-select:none;-moz-user-select:none;user-select:none}._marca_requerido_sg347_53{color:var(--system-error-color);font-size:1.25em;font-weight:700;line-height:0}._fila_acciones_sg347_67{align-items:center;display:flex;justify-content:space-between}._etiqueta_externa_sg347_79{font-size:.8em;font-weight:500;margin-bottom:.1em;padding-left:2px;padding-right:2px}._etiqueta_interna_sg347_93{color:var(--color-secondary-text);font-size:.8em;font-weight:500;margin:.05em 0}._encabezado_interno_sg347_109{align-items:center;display:grid;grid-gap:.5rem;gap:.5rem;grid-template-columns:1fr auto;padding:.4rem .9rem .15rem}._encabezado_interno_sg347_109 ._etiqueta_interna_sg347_93{min-width:0;overflow:hidden;pointer-events:none;text-overflow:ellipsis}._acciones_grupo_sg347_141{align-items:center;display:flex;flex-wrap:nowrap;gap:.5rem;min-width:0}._acciones_header_sg347_157{display:inline-flex;gap:.35rem}._encabezado_interno_sg347_109 ._acciones_grupo_sg347_141{justify-self:end;position:relative;z-index:1}._envoltorio_input_sg347_181{background:var(--surface-first);border:1px solid var(--surface-third);border-radius:var(--radius-3);overflow:visible;transition:border-color .18s,box-shadow .18s,background .18s}._label_outside_sg347_203 ._envoltorio_input_sg347_181{padding-top:var(--gaps-1)}._variante_normal_sg347_211 ._envoltorio_input_sg347_181{background:transparent;border:1px solid var(--surface-third);box-shadow:none}._variante_underlined_sg347_223 ._envoltorio_input_sg347_181{background:transparent;border:none;border-radius:0!important;box-shadow:none!important;overflow:visible;padding:0;position:relative}._variante_underlined_sg347_223 ._envoltorio_input_sg347_181:after{background:#1e90ff;background:var(--brand-6, #1e90ff);bottom:0;content:"";height:2.5px;left:0;position:absolute;right:0;transform:scaleX(0);transition:transform .4s cubic-bezier(.4,0,.2,1)}._variante_light_sg347_267 ._envoltorio_input_sg347_181{background:var(--surface-second);border:none;box-shadow:none!important}._variante_bordered_sg347_279 ._envoltorio_input_sg347_181{border-color:var(--gray-4)}._variante_faded_sg347_287 ._envoltorio_input_sg347_181{background:var(--theme-faded-bg);border-color:var(--theme-faded-border)}._radio_none_sg347_299 ._envoltorio_input_sg347_181{border-radius:0}._radio_sm_sg347_307 ._envoltorio_input_sg347_181{border-radius:var(--radius-2)}._radio_md_sg347_315 ._envoltorio_input_sg347_181{border-radius:var(--radius-3)}._radio_lg_sg347_323 ._envoltorio_input_sg347_181{border-radius:var(--radius-4)}._envoltorio_input_sg347_181:focus-within{border-color:var(--gray-4);box-shadow:0 0 0 2px var(--gray-3)}._variante_underlined_sg347_223 ._envoltorio_input_sg347_181:focus-within:after{transform:scaleX(1)}._invalido_sg347_353 ._envoltorio_input_sg347_181{border-color:var(--system-error-color)!important;box-shadow:0 0 0 3px #e6000024}._variante_light_sg347_267 ._envoltorio_input_sg347_181:focus-within{background:var(--surface-third)}._color_primary_sg347_373 ._envoltorio_input_sg347_181:focus-within{border-color:var(--brand-5);box-shadow:0 0 0 3px #0088c22e}._color_secondary_sg347_383 ._envoltorio_input_sg347_181:focus-within{border-color:var(--brand-secondary);box-shadow:0 0 0 3px #5dc3222e}._color_success_sg347_393 ._envoltorio_input_sg347_181:focus-within{border-color:var(--color-add-green-6);box-shadow:0 0 0 3px #29a35a2e}._color_warning_sg347_403 ._envoltorio_input_sg347_181:focus-within{border-color:var(--color-add-orange-6);box-shadow:0 0 0 3px #e686002e}._color_danger_sg347_413 ._envoltorio_input_sg347_181:focus-within{border-color:var(--system-error-color);box-shadow:0 0 0 3px #e600002e}._deshabilitado_sg347_425{opacity:.8;pointer-events:none}._sin_animacion_sg347_435 *{transition:none!important}._variante_light_sg347_267 ._envoltorio_input_sg347_181:hover{background:var(--surface-third)}._contenedor_interior_sg347_453{align-items:start;background:transparent;display:grid;grid-gap:.35rem;gap:.35rem;padding:0 .75rem .6rem}._inicio_sg347_469,._fin_sg347_471{align-self:start;color:var(--color-secondary-text)}._entrada_sg347_483{background:transparent;border:0;color:var(--color-primary-text);font:inherit;line-height:var(--font-lineheight-6);min-width:0;outline:none;resize:none;text-wrap:balance;width:100%}._entrada_sg347_483::-moz-placeholder{color:var(--color-placeholder);opacity:1}._entrada_sg347_483::placeholder{color:var(--color-placeholder);opacity:1}._sin_autosize_sg347_519{resize:vertical}._estado_interno_sg347_529{display:flex;justify-content:flex-end;padding:.25rem .75rem}._tam_sm_sg347_543 ._encabezado_interno_sg347_109{font-size:var(--label)}._tam_md_sg347_551 ._encabezado_interno_sg347_109{font-size:var(--paragraph)}._tam_lg_sg347_559 ._encabezado_interno_sg347_109{font-size:var(--subtitle)}._boton_tts_sg347_569,._boton_limpiar_sg347_571{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface-first);border:1px solid var(--surface-third);border-radius:var(--radius-3);color:var(--color-primary-text);cursor:pointer;font-size:.9rem;isolation:isolate;line-height:1;padding:.18rem .46rem;position:relative;-webkit-tap-highlight-color:transparent;transition:transform .18s,box-shadow .18s,background .18s,border-color .18s,color .18s}._boton_tts_sg347_569:hover,._boton_limpiar_sg347_571:hover{--csstools-light-dark-toggle--0: var(--csstools-color-scheme--light) var(--surface-fourth);background:var(--csstools-light-dark-toggle--0, var(--surface-third))}@supports (color: light-dark(red,red)){._boton_tts_sg347_569:hover,._boton_limpiar_sg347_571:hover{background:light-dark(var(--surface-third),var(--surface-fourth))}}._boton_tts_sg347_569:disabled{cursor:not-allowed;opacity:.55}._boton_activo_sg347_635{background:linear-gradient(180deg,var(--brand-2),var(--brand-3));border-color:var(--brand-5);box-shadow:0 0 0 2px var(--brand-3),0 8px 18px -10px #0685e059;color:var(--brand-8)}._boton_activo_sg347_635:after{animation:_btn_halo_azul_sg347_1 1.2s ease-out infinite;border-radius:inherit;box-shadow:0 0 #0685e042;content:"";inset:-4px;pointer-events:none;position:absolute;z-index:-1}._boton_activo_mic_sg347_677{background:transparent;border-color:var(--system-error-color);box-shadow:0 0 0 2px color-mix(in oklab,var(--system-error-color) 35%,transparent),0 8px 18px -10px color-mix(in oklab,var(--system-error-color) 40%,transparent);color:var(--system-error-color)}._boton_activo_mic_sg347_677:after{animation:_btn_halo_rojo_sg347_1 1.2s ease-out infinite;border-radius:inherit;box-shadow:0 0 color-mix(in oklab,var(--system-error-color) 22%,transparent);content:"";inset:-4px;pointer-events:none;position:absolute;z-index:-1}@keyframes _btn_halo_rojo_sg347_1{0%{box-shadow:0 0 color-mix(in oklab,var(--system-error-color) 18%,transparent)}70%{box-shadow:0 0 0 12px color-mix(in oklab,var(--system-error-color) 0%,transparent)}to{box-shadow:0 0 color-mix(in oklab,var(--system-error-color) 0%,transparent)}}@keyframes _btn_halo_azul_sg347_1{0%{box-shadow:0 0 #0685e038}70%{box-shadow:0 0 0 12px #0685e000}to{box-shadow:0 0 #0685e000}}._badges_wrap_sg347_783{display:none}._badges_wrap_visible_sg347_791{display:inline-grid;opacity:1}._acciones_grupo_sg347_141>._badges_wrap_visible_sg347_791{margin-left:.35rem}._badge_voz_sg347_813{align-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);--csstools-light-dark-toggle--1: var(--csstools-color-scheme--light) #0f1720;--csstools-light-dark-toggle--2: var(--csstools-color-scheme--light) #141c27;background:linear-gradient(180deg,#fff,#f6f9ff);background:linear-gradient(180deg,var(--csstools-light-dark-toggle--1, #fff),var(--csstools-light-dark-toggle--2, #f6f9ff));background:linear-gradient(180deg,light-dark(#fff,#0f1720),light-dark(#f6f9ff,#141c27));--csstools-light-dark-toggle--3: var(--csstools-color-scheme--light) #202c3c;border:1px solid #e1e9f5;border:1px solid var(--csstools-light-dark-toggle--3, #e1e9f5);border:1px solid light-dark(#e1e9f5,#202c3c);border-radius:999px;--csstools-light-dark-toggle--10: var(--csstools-color-scheme--light) #0f1720;box-shadow:0 1px #fff inset,0 4px 14px -8px #1e90ff47;box-shadow:0 1px 0 var(--csstools-light-dark-toggle--10, #fff) inset,0 4px 14px -8px #1e90ff47;box-shadow:0 1px 0 light-dark(#fff,#0f1720) inset,0 4px 14px -8px #1e90ff47;--csstools-light-dark-toggle--4: var(--csstools-color-scheme--light) #e6edf7;color:#0f1720;color:var(--csstools-light-dark-toggle--4, #0f1720);color:light-dark(#0f1720,#e6edf7);display:inline-flex;gap:.45rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}._badge_sm_sg347_845{font-size:12px;line-height:1;padding:.2rem .6rem}._badge_md_sg347_857{font-size:13px;line-height:1.05;padding:.28rem .7rem}._badge_lg_sg347_869{font-size:14px;line-height:1.1;padding:.36rem .8rem}._badge_estirada_sg347_881{display:inline-flex;flex:1;justify-content:space-between;margin-top:var(--gaps-1);max-width:100%;min-width:0;order:1}._badge_icono_sg347_901{border-radius:50%;display:grid;height:1.05em;align-items:center;justify-items:center;place-items:center;width:1.05em}._badge_icono_sg347_901 svg{height:.95em;width:.95em}._badge_texto_sg347_927{font-weight:600;letter-spacing:.01em}._badge_mic_sg347_937 ._badge_icono_sg347_901{--csstools-light-dark-toggle--5: var(--csstools-color-scheme--light) #4be896;color:#ef4444;color:var(--csstools-light-dark-toggle--5, #ef4444);color:light-dark(#ef4444,#4be896)}._badge_tts_sg347_945 ._badge_icono_sg347_901{--csstools-light-dark-toggle--6: var(--csstools-color-scheme--light) #66b5ff;color:#1e90ff;color:var(--csstools-light-dark-toggle--6, #1e90ff);color:light-dark(#1e90ff,#66b5ff)}._badge_mic_sg347_937 ._badge_ondas_sg347_955{display:inline-grid;height:1.25em;align-items:center;justify-items:center;place-items:center;position:relative;width:1.25em}._badge_mic_sg347_937 ._badge_ondas_sg347_955 span{animation:_badge_onda_sg347_955 1.8s ease-out infinite;--csstools-light-dark-toggle--7: var(--csstools-color-scheme--light) #4be896;border:2px solid #ef4444;border:2px solid var(--csstools-light-dark-toggle--7, #ef4444);border:2px solid light-dark(#ef4444,#4be896);border-radius:50%;--csstools-light-dark-toggle--8: var(--csstools-color-scheme--light) #22c55e;filter:drop-shadow(0 2px 6px rgba(239,68,68,.35));filter:drop-shadow(0 2px 6px color-mix(in oklab,light-dark(#ef4444,#22c55e) 35%,transparent));height:100%;opacity:.85;position:absolute;width:100%}@supports (color: color-mix(in lch,red,blue)){._badge_mic_sg347_937 ._badge_ondas_sg347_955 span{filter:drop-shadow(0 2px 6px color-mix(in oklab,var(--csstools-light-dark-toggle--8, #ef4444) 35%,transparent))}}._badge_tts_sg347_945 ._badge_eq_sg347_995{align-items:end;display:inline-flex;gap:2px;height:1.1em}._badge_tts_sg347_945 ._badge_eq_sg347_995 span{animation:_badge_eq_sg347_995 .9s ease-in-out infinite;--csstools-light-dark-toggle--9: var(--csstools-color-scheme--light) #66b5ff;background:#1e90ff;background:var(--csstools-light-dark-toggle--9, #1e90ff);background:light-dark(#1e90ff,#66b5ff);border-radius:2px;height:30%;width:2px}._badge_mic_sg347_937 ._badge_ondas_sg347_955 span:nth-child(2){animation-delay:.35s}._badge_mic_sg347_937 ._badge_ondas_sg347_955 span:nth-child(3){animation-delay:.7s}._badge_tts_sg347_945 ._badge_eq_sg347_995 span:nth-child(2){animation-delay:.15s}._badge_tts_sg347_945 ._badge_eq_sg347_995 span:nth-child(3){animation-delay:.3s}._badge_tts_sg347_945 ._badge_eq_sg347_995 span:nth-child(4){animation-delay:.45s}@keyframes _badge_onda_sg347_955{0%{opacity:.85;transform:scale(.15)}70%{opacity:.22}to{opacity:0;transform:scale(1.6)}}@keyframes _badge_eq_sg347_995{0%,to{height:30%}50%{height:85%}}@media (prefers-reduced-motion: reduce){._badge_mic_sg347_937 ._badge_ondas_sg347_955 span,._badge_tts_sg347_945 ._badge_eq_sg347_995 span{animation:none!important}}._descripcion_sg347_1137{color:var(--color-secondary-text);font-size:12px}._mensaje_error_sg347_1147{color:var(--system-error-color);font-size:12px}._ancho_total_sg347_1159{width:100%}
package/dist/index.d.ts DELETED
@@ -1,119 +0,0 @@
1
- import { ButtonHTMLAttributes } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
- import { ReactNode } from 'react';
4
- import { RefAttributes } from 'react';
5
-
6
- export declare const Boton: ForwardRefExoticComponent< {
7
- variant?: Variant;
8
- color?: Color;
9
- size?: Size;
10
- radius?: Radius;
11
- fullWidth?: boolean;
12
- isLoading?: boolean;
13
- isDisabled?: boolean;
14
- isIconOnly?: boolean;
15
- startContent?: ReactNode;
16
- endContent?: ReactNode;
17
- spinner?: ReactNode;
18
- spinnerPlacement?: SpinnerPlacement;
19
- disableRipple?: boolean;
20
- disableAnimation?: boolean;
21
- } & ButtonHTMLAttributes<HTMLButtonElement> & RefAttributes<HTMLButtonElement>>;
22
-
23
- declare type Color = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
24
-
25
- declare type Color_2 = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
26
-
27
- /**
28
- * FirmaManual - Componente para capturar una firma a mano o subir una imagen
29
- *
30
- * Props principales:
31
- * - `isOpen`: control booleano para abrir/ cerrar
32
- * - `onClose`: callback cuando el modal se cierra
33
- * - `onConfirm`: callback con data URL PNG al guardar
34
- *
35
- */
36
- export declare const FirmaManual: ForwardRefExoticComponent<Props & RefAttributes<FirmaManualRef>>;
37
-
38
- declare type FirmaManualRef = {
39
- /** Limpia el canvas (borrar todo) */
40
- limpiar: () => void;
41
- /** Obtiene la firma como data URL (PNG), o null si no hay firma */
42
- obtenerDatosFirma: () => string | null;
43
- /** Devuelve si el canvas está vacío */
44
- estaVacio: () => boolean;
45
- };
46
-
47
- declare type Props = {
48
- isOpen?: boolean;
49
- onClose?: () => void;
50
- onConfirm?: (signatureData: string) => void;
51
- titulo?: string;
52
- textoGuardar?: string;
53
- textoModificar?: string;
54
- textoDeshacer?: string;
55
- textoLimpiar?: string;
56
- textoAdjuntar?: string;
57
- ancho?: number;
58
- alto?: number;
59
- className?: string;
60
- textoConsentimiento?: string;
61
- mostrarBotonSubir?: boolean;
62
- cerrarAlGuardar?: boolean;
63
- };
64
-
65
- declare type Radius = 'none' | 'sm' | 'md' | 'lg' | 'full';
66
-
67
- declare type ResultadoValidacion = {
68
- invalido: boolean;
69
- mensaje?: string | null;
70
- };
71
-
72
- declare type Size = 'sm' | 'md' | 'lg';
73
-
74
- declare type SpinnerPlacement = 'start' | 'end';
75
-
76
- export declare const TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<HTMLTextAreaElement>>;
77
-
78
- declare type TextAreaProps = {
79
- children?: ReactNode;
80
- variant?: Variante;
81
- color?: Color_2;
82
- size?: 'sm' | 'md' | 'lg';
83
- radius?: 'none' | 'sm' | 'md' | 'lg';
84
- label?: ReactNode;
85
- labelPlacement?: 'inside' | 'outside';
86
- fullWidth?: boolean;
87
- value?: string;
88
- defaultValue?: string;
89
- placeholder?: string;
90
- startContent?: ReactNode;
91
- endContent?: ReactNode;
92
- isRequired?: boolean;
93
- isReadOnly?: boolean;
94
- isDisabled?: boolean;
95
- isClearable?: boolean;
96
- isInvalid?: boolean;
97
- validationState?: 'valid' | 'invalid';
98
- description?: ReactNode;
99
- errorMessage?: ReactNode | ((v: ResultadoValidacion) => ReactNode);
100
- validate?: (value: string) => string | {
101
- message?: string;
102
- } | true | null | undefined;
103
- minRows?: number;
104
- maxRows?: number;
105
- disableAutosize?: boolean;
106
- disableAnimation?: boolean;
107
- classNames?: Partial<Record<'base' | 'label' | 'inputWrapper' | 'headerWrapper' | 'innerWrapper' | 'input' | 'description' | 'errorMessage', string>>;
108
- id?: string;
109
- name?: string;
110
- rows?: number;
111
- onChange?: (value: string) => void;
112
- onClear?: () => void;
113
- };
114
-
115
- declare type Variant = 'solid' | 'bordered' | 'light' | 'faded' | 'ghost' | 'shadow';
116
-
117
- declare type Variante = 'flat' | 'bordered' | 'faded' | 'underlined' | 'light' | 'normal';
118
-
119
- export { }