@ctlyst.id/voila-ui 11.0.5 → 11.0.6
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -348,8 +348,8 @@ import { Header, Trigger } from "@radix-ui/react-accordion";
|
|
|
348
348
|
import clsx9 from "clsx";
|
|
349
349
|
import { forwardRef as forwardRef9 } from "react";
|
|
350
350
|
import { jsx as jsx11, jsxs } from "react/jsx-runtime";
|
|
351
|
-
var AccordionTrigger = forwardRef9(({ children, className, description, isNew, ...props }, ref) => /* @__PURE__ */ jsx11(Header, { className: clsx9("accordion-header"), id: "vds-accordion-header", children: /* @__PURE__ */ jsx11(Trigger, { id: "vds-accordion-trigger", className: clsx9(accordionTrigger, className), ...props, ref, children: /* @__PURE__ */ jsxs(flex_default, { gap: "$4", flexDirection: "column", width: "100%", children: [
|
|
352
|
-
/* @__PURE__ */ jsxs(flex_default, { justifyContent: "space-between", children: [
|
|
351
|
+
var AccordionTrigger = forwardRef9(({ children, className, description, isNew, alignItems = "flex-start", ...props }, ref) => /* @__PURE__ */ jsx11(Header, { className: clsx9("accordion-header"), id: "vds-accordion-header", children: /* @__PURE__ */ jsx11(Trigger, { id: "vds-accordion-trigger", className: clsx9(accordionTrigger, className), ...props, ref, children: /* @__PURE__ */ jsxs(flex_default, { gap: "$4", flexDirection: "column", width: "100%", children: [
|
|
352
|
+
/* @__PURE__ */ jsxs(flex_default, { justifyContent: "space-between", alignItems, children: [
|
|
353
353
|
/* @__PURE__ */ jsxs(flex_default, { alignItems: "center", gap: "$4", children: [
|
|
354
354
|
/* @__PURE__ */ jsx11(box_default, { className: accordionTriggerText, children }),
|
|
355
355
|
isNew && /* @__PURE__ */ jsx11(box_default, { className: accordionTriggerLabelNew, children: "New" })
|