@umami/react-zen 0.166.0 → 0.167.0
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 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -340,7 +340,7 @@ interface ComboboxProps extends ComboBoxProps<any> {
|
|
|
340
340
|
listProps?: ListProps;
|
|
341
341
|
popoverProps?: PopoverProps;
|
|
342
342
|
}
|
|
343
|
-
declare function ComboBox({ items, className, renderEmptyState, listProps, popoverProps, ...props }: ComboboxProps): react.JSX.Element;
|
|
343
|
+
declare function ComboBox({ items, className, renderEmptyState, listProps, popoverProps, children, ...props }: ComboboxProps): react.JSX.Element;
|
|
344
344
|
|
|
345
345
|
interface CodeProps extends HTMLAttributes<HTMLElement> {
|
|
346
346
|
asChild?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -340,7 +340,7 @@ interface ComboboxProps extends ComboBoxProps<any> {
|
|
|
340
340
|
listProps?: ListProps;
|
|
341
341
|
popoverProps?: PopoverProps;
|
|
342
342
|
}
|
|
343
|
-
declare function ComboBox({ items, className, renderEmptyState, listProps, popoverProps, ...props }: ComboboxProps): react.JSX.Element;
|
|
343
|
+
declare function ComboBox({ items, className, renderEmptyState, listProps, popoverProps, children, ...props }: ComboboxProps): react.JSX.Element;
|
|
344
344
|
|
|
345
345
|
interface CodeProps extends HTMLAttributes<HTMLElement> {
|
|
346
346
|
asChild?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -32338,6 +32338,7 @@ function ComboBox2({
|
|
|
32338
32338
|
renderEmptyState,
|
|
32339
32339
|
listProps,
|
|
32340
32340
|
popoverProps,
|
|
32341
|
+
children,
|
|
32341
32342
|
...props
|
|
32342
32343
|
}) {
|
|
32343
32344
|
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames22.default)(ComboBox_default.combobox, className), children: [
|
|
@@ -32345,7 +32346,7 @@ function ComboBox2({
|
|
|
32345
32346
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
|
|
32346
32347
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ChevronRight, {}) }) })
|
|
32347
32348
|
] }),
|
|
32348
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, { ...popoverProps, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: ComboBox_default.list, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(List, { items, renderEmptyState, ...listProps, children: items?.map((item) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ListItem, { textValue: item, children: item }, item)) }) }) })
|
|
32349
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, { ...popoverProps, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: ComboBox_default.list, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(List, { items, renderEmptyState, ...listProps, children: children || items?.map((item) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ListItem, { textValue: item, children: item }, item)) }) }) })
|
|
32349
32350
|
] });
|
|
32350
32351
|
}
|
|
32351
32352
|
|
package/dist/index.mjs
CHANGED
|
@@ -32221,6 +32221,7 @@ function ComboBox2({
|
|
|
32221
32221
|
renderEmptyState,
|
|
32222
32222
|
listProps,
|
|
32223
32223
|
popoverProps,
|
|
32224
|
+
children,
|
|
32224
32225
|
...props
|
|
32225
32226
|
}) {
|
|
32226
32227
|
return /* @__PURE__ */ jsxs19($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames22.default)(ComboBox_default.combobox, className), children: [
|
|
@@ -32228,7 +32229,7 @@ function ComboBox2({
|
|
|
32228
32229
|
/* @__PURE__ */ jsx35($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
|
|
32229
32230
|
/* @__PURE__ */ jsx35($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ jsx35(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ jsx35(ChevronRight, {}) }) })
|
|
32230
32231
|
] }),
|
|
32231
|
-
/* @__PURE__ */ jsx35($07b14b47974efb58$export$5b6b19405a83ff9d, { ...popoverProps, children: /* @__PURE__ */ jsx35("div", { className: ComboBox_default.list, children: /* @__PURE__ */ jsx35(List, { items, renderEmptyState, ...listProps, children: items?.map((item) => /* @__PURE__ */ jsx35(ListItem, { textValue: item, children: item }, item)) }) }) })
|
|
32232
|
+
/* @__PURE__ */ jsx35($07b14b47974efb58$export$5b6b19405a83ff9d, { ...popoverProps, children: /* @__PURE__ */ jsx35("div", { className: ComboBox_default.list, children: /* @__PURE__ */ jsx35(List, { items, renderEmptyState, ...listProps, children: children || items?.map((item) => /* @__PURE__ */ jsx35(ListItem, { textValue: item, children: item }, item)) }) }) })
|
|
32232
32233
|
] });
|
|
32233
32234
|
}
|
|
32234
32235
|
|