@adamosuiteservices/ui 2.11.20 → 2.11.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./jsx-runtime-BB_1_6y_.cjs"),d=require("./index-BnkHpTJs.cjs"),s=require("./icon-DPMQJBkA.cjs"),o=require("./index-DoxiiusW.cjs");require("react");function i({...t}){return e.jsxRuntimeExports.jsx(d.Root2,{"data-slot":"accordion",...t})}function c({className:t,...a}){return e.jsxRuntimeExports.jsx(d.Item,{"data-slot":"accordion-item",className:o.cn(`
|
|
2
2
|
adm:mb-4 adm:rounded-2xl adm:bg-muted
|
|
3
3
|
adm:last:mb-0
|
|
4
|
-
`,t),...a})}function x({className:t,children:a,title:n,badge:m,...r}){return e.jsxRuntimeExports.jsx(d.Header,{className:"adm:flex adm:h-
|
|
4
|
+
`,t),...a})}function x({className:t,children:a,title:n,badge:m,...r}){return e.jsxRuntimeExports.jsx(d.Header,{className:"adm:flex adm:h-16",children:e.jsxRuntimeExports.jsxs(d.Trigger2,{"data-slot":"accordion-trigger",className:o.cn(`
|
|
5
5
|
adm:group adm:flex adm:flex-1 adm:items-center adm:gap-4
|
|
6
6
|
adm:rounded-2xl adm:px-4 adm:transition-all adm:outline-none
|
|
7
7
|
adm:disabled:pointer-events-none adm:disabled:opacity-50
|
|
@@ -35,7 +35,7 @@ function b({
|
|
|
35
35
|
badge: o,
|
|
36
36
|
...s
|
|
37
37
|
}) {
|
|
38
|
-
return /* @__PURE__ */ a.jsx(c, { className: "adm:flex adm:h-
|
|
38
|
+
return /* @__PURE__ */ a.jsx(c, { className: "adm:flex adm:h-16", children: /* @__PURE__ */ a.jsxs(
|
|
39
39
|
l,
|
|
40
40
|
{
|
|
41
41
|
"data-slot": "accordion-trigger",
|
|
@@ -129,7 +129,7 @@ Botón que controla la apertura/cierre del item.
|
|
|
129
129
|
- Icono add cuando está cerrado
|
|
130
130
|
- Icono remove cuando está abierto
|
|
131
131
|
- Transición suave de iconos
|
|
132
|
-
- Altura fija de 3.5rem (h-
|
|
132
|
+
- Altura fija de 3.5rem (h-16)
|
|
133
133
|
- Text clamp para títulos largos
|
|
134
134
|
|
|
135
135
|
### AccordionContent
|
|
@@ -553,7 +553,7 @@ Sin badges para diseño minimalista:
|
|
|
553
553
|
| Badge Support | No (solo children) | Sí (prop `badge` dedicada) |
|
|
554
554
|
| Estilo del Título | Normal | Mayúsculas, compacto, color gris |
|
|
555
555
|
| Iconos | ChevronDown | add/remove |
|
|
556
|
-
| Altura del Trigger | Variable | Fija `h-
|
|
556
|
+
| Altura del Trigger | Variable | Fija `h-16` (3.5rem) |
|
|
557
557
|
| Uso Principal | General, documentación | Formularios, validación, steppers |
|
|
558
558
|
|
|
559
559
|
## Notas de Implementación
|