@capitaltg/vero 1.11.0 → 1.11.1
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +55 -46
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3236,7 +3236,7 @@ aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled
|
|
|
3236
3236
|
}
|
|
3237
3237
|
}
|
|
3238
3238
|
), Up = Re(
|
|
3239
|
-
`overflow-hidden px-4 text-sm data-[state=closed]:animate-accordion-up
|
|
3239
|
+
`overflow-hidden px-4 py-4 text-sm data-[state=closed]:animate-accordion-up
|
|
3240
3240
|
data-[state=open]:animate-accordion-down`,
|
|
3241
3241
|
{
|
|
3242
3242
|
variants: {
|
|
@@ -3263,37 +3263,44 @@ aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled
|
|
|
3263
3263
|
caretPosition: n,
|
|
3264
3264
|
isBordered: r,
|
|
3265
3265
|
triggerClassName: o,
|
|
3266
|
-
contentClassName: a
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
{
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
}
|
|
3295
|
-
|
|
3296
|
-
|
|
3266
|
+
contentClassName: a,
|
|
3267
|
+
headingLevel: i = "h3"
|
|
3268
|
+
}) => /* @__PURE__ */ m(Ee, { children: e.map((s) => {
|
|
3269
|
+
const c = i;
|
|
3270
|
+
return /* @__PURE__ */ D(dp, { value: s.id, children: [
|
|
3271
|
+
/* @__PURE__ */ m(fp, { asChild: !0, children: /* @__PURE__ */ m(c, { className: "mb-0 mt-0 flex", children: /* @__PURE__ */ D(
|
|
3272
|
+
mp,
|
|
3273
|
+
{
|
|
3274
|
+
className: P(
|
|
3275
|
+
Gp({ variant: t, caretPosition: n }),
|
|
3276
|
+
o
|
|
3277
|
+
),
|
|
3278
|
+
children: [
|
|
3279
|
+
n === "left" ? /* @__PURE__ */ m(
|
|
3280
|
+
aa,
|
|
3281
|
+
{
|
|
3282
|
+
className: "mr-2 h-5 w-5 shrink-0 text-inherit transition-transform duration-200"
|
|
3283
|
+
}
|
|
3284
|
+
) : null,
|
|
3285
|
+
/* @__PURE__ */ m("span", { className: "flex-1 text-left", children: s.title }),
|
|
3286
|
+
n === "right" ? /* @__PURE__ */ m(
|
|
3287
|
+
oa,
|
|
3288
|
+
{
|
|
3289
|
+
className: "ml-2 h-5 w-5 shrink-0 text-inherit transition-transform duration-200"
|
|
3290
|
+
}
|
|
3291
|
+
) : null
|
|
3292
|
+
]
|
|
3293
|
+
}
|
|
3294
|
+
) }) }),
|
|
3295
|
+
/* @__PURE__ */ m(
|
|
3296
|
+
pp,
|
|
3297
|
+
{
|
|
3298
|
+
className: P(Up({ variant: t, isBordered: r }), a),
|
|
3299
|
+
children: s.content
|
|
3300
|
+
}
|
|
3301
|
+
)
|
|
3302
|
+
] }, s.id);
|
|
3303
|
+
}) }), zp = l.forwardRef(
|
|
3297
3304
|
({
|
|
3298
3305
|
className: e,
|
|
3299
3306
|
triggerClassName: t,
|
|
@@ -3306,20 +3313,22 @@ aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled
|
|
|
3306
3313
|
isBordered: c = !1,
|
|
3307
3314
|
isCollapsible: u = !0,
|
|
3308
3315
|
caretPosition: d = "right",
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3316
|
+
headingLevel: f,
|
|
3317
|
+
onValueChange: p,
|
|
3318
|
+
...h
|
|
3319
|
+
}, y) => {
|
|
3320
|
+
const g = {
|
|
3321
|
+
ref: y,
|
|
3314
3322
|
className: P("space-y-2", e),
|
|
3315
|
-
...
|
|
3316
|
-
},
|
|
3323
|
+
...h
|
|
3324
|
+
}, v = {
|
|
3317
3325
|
items: r,
|
|
3318
3326
|
variant: s,
|
|
3319
3327
|
caretPosition: d,
|
|
3320
3328
|
isBordered: c,
|
|
3321
3329
|
triggerClassName: t,
|
|
3322
|
-
contentClassName: n
|
|
3330
|
+
contentClassName: n,
|
|
3331
|
+
headingLevel: f
|
|
3323
3332
|
};
|
|
3324
3333
|
return o === "multiple" ? /* @__PURE__ */ m(
|
|
3325
3334
|
Xa,
|
|
@@ -3327,9 +3336,9 @@ aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled
|
|
|
3327
3336
|
defaultValue: i,
|
|
3328
3337
|
type: "multiple",
|
|
3329
3338
|
value: a,
|
|
3330
|
-
onValueChange:
|
|
3331
|
-
...
|
|
3332
|
-
children: /* @__PURE__ */ m(ns, { ...
|
|
3339
|
+
onValueChange: p,
|
|
3340
|
+
...g,
|
|
3341
|
+
children: /* @__PURE__ */ m(ns, { ...v })
|
|
3333
3342
|
}
|
|
3334
3343
|
) : /* @__PURE__ */ m(
|
|
3335
3344
|
Xa,
|
|
@@ -3338,9 +3347,9 @@ aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled
|
|
|
3338
3347
|
defaultValue: i,
|
|
3339
3348
|
type: "single",
|
|
3340
3349
|
value: a,
|
|
3341
|
-
onValueChange:
|
|
3342
|
-
...
|
|
3343
|
-
children: /* @__PURE__ */ m(ns, { ...
|
|
3350
|
+
onValueChange: p,
|
|
3351
|
+
...g,
|
|
3352
|
+
children: /* @__PURE__ */ m(ns, { ...v })
|
|
3344
3353
|
}
|
|
3345
3354
|
);
|
|
3346
3355
|
}
|