kku-ui 0.9.992 → 0.9.993
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.
|
@@ -20,6 +20,7 @@ export interface KListRowAccordionProps {
|
|
|
20
20
|
children: ReactNode;
|
|
21
21
|
className?: string;
|
|
22
22
|
value: string;
|
|
23
|
+
onValueChange?: () => void;
|
|
23
24
|
}
|
|
24
25
|
declare const KListGroup: {
|
|
25
26
|
({ children, header, footer, width, className }: KListGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -30,7 +31,7 @@ declare const KListRow: {
|
|
|
30
31
|
displayName: string;
|
|
31
32
|
};
|
|
32
33
|
declare const KListRowAccordion: {
|
|
33
|
-
({ icon, label, children, className, value }: KListRowAccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
({ icon, label, children, className, value, onValueChange }: KListRowAccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
34
35
|
displayName: string;
|
|
35
36
|
};
|
|
36
37
|
export { KListRow, KListGroup, KListRowAccordion };
|
package/lib/es/index.js
CHANGED
|
@@ -11057,11 +11057,11 @@ const jh = ({ children: e, header: t, footer: n, width: o = "md", className: r }
|
|
|
11057
11057
|
]
|
|
11058
11058
|
}
|
|
11059
11059
|
)
|
|
11060
|
-
), Gh = ({ icon: e, label: t, children: n, className: o, value: r }) => /* @__PURE__ */ A("div", { className: O(
|
|
11060
|
+
), Gh = ({ icon: e, label: t, children: n, className: o, value: r, onValueChange: a }) => /* @__PURE__ */ A("div", { className: O(
|
|
11061
11061
|
"group bg-background first:border-t last:border-b first:rounded-t-xl last:rounded-b-xl border-x border-border",
|
|
11062
11062
|
o
|
|
11063
11063
|
), children: [
|
|
11064
|
-
/* @__PURE__ */ i(Ai, { collapsible: !0, type: "single", children: /* @__PURE__ */ A(_i, { value: r, className: "border-none", children: [
|
|
11064
|
+
/* @__PURE__ */ i(Ai, { collapsible: !0, type: "single", onValueChange: a, children: /* @__PURE__ */ A(_i, { value: r, className: "border-none", children: [
|
|
11065
11065
|
/* @__PURE__ */ i(Li, { className: "flex", children: /* @__PURE__ */ A(Ii, { className: O(
|
|
11066
11066
|
"group/trigger",
|
|
11067
11067
|
"flex flex-1 items-center justify-between px-4 py-[11px] transition-colors",
|
package/lib/es/index.js.br
CHANGED
|
Binary file
|
package/lib/es/index.js.gz
CHANGED
|
Binary file
|