@datavac/ui-kit 1.9.0 → 1.10.0-accordion-item-styling-props.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.
@@ -8,6 +8,10 @@ interface AccordionItemProps {
8
8
  title: string;
9
9
  children: ReactNode;
10
10
  value?: string;
11
+ className?: string;
12
+ titleClassName?: string;
13
+ iconClassName?: string;
14
+ contentClassName?: string;
11
15
  }
12
- export declare function AccordionItem({ title, children, value }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function AccordionItem({ title, children, value, className, titleClassName, iconClassName, contentClassName, }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
13
17
  export {};
package/dist/index.js CHANGED
@@ -7268,19 +7268,20 @@ function Gd({ children: e, className: t }) {
7268
7268
  children: e
7269
7269
  });
7270
7270
  }
7271
- function Kd({ title: e, children: t, value: n }) {
7271
+ function Kd({ title: e, children: t, value: n, className: r, titleClassName: i, iconClassName: a, contentClassName: o }) {
7272
7272
  return /* @__PURE__ */ m(Vd, {
7273
7273
  value: n ?? e,
7274
+ className: r,
7274
7275
  children: [/* @__PURE__ */ p(Hd, { children: /* @__PURE__ */ m(Ud, {
7275
- className: "flex w-full items-center justify-between gap-3 py-1 font-semibold text-base text-fg font-sans group",
7276
+ className: K("flex w-full items-center justify-between gap-3 py-1 font-semibold text-base text-fg font-sans group", i),
7276
7277
  children: [/* @__PURE__ */ p("span", { children: e }), /* @__PURE__ */ m("span", {
7277
- className: "relative flex-shrink-0 w-4 h-4 text-fg-secondary",
7278
+ className: K("relative flex-shrink-0 w-4 h-4 text-fg-secondary", a),
7278
7279
  children: [/* @__PURE__ */ p("span", { className: "absolute top-1/2 left-0 w-full h-[1.5px] -translate-y-1/2 bg-current rounded-full" }), /* @__PURE__ */ p("span", { className: "absolute top-1/2 left-1/2 w-full h-[1.5px] -translate-x-1/2 -translate-y-1/2 bg-current rounded-full origin-center transition-transform duration-300 rotate-90 group-data-[state=open]:rotate-0" })]
7279
7280
  })]
7280
7281
  }) }), /* @__PURE__ */ p(Wd, {
7281
7282
  className: "overflow-hidden data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up",
7282
7283
  children: /* @__PURE__ */ p("div", {
7283
- className: "pt-2 pb-1 font-sans text-base text-fg leading-5",
7284
+ className: K("pt-2 pb-1 font-sans text-base text-fg leading-5", o),
7284
7285
  children: t
7285
7286
  })
7286
7287
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datavac/ui-kit",
3
- "version": "1.9.0",
3
+ "version": "1.10.0-accordion-item-styling-props.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",