@umami/react-zen 0.165.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 CHANGED
@@ -1,4 +1,4 @@
1
- import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ComboBoxProps, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, PopoverProps, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
1
+ import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, ComboBoxProps, ListBoxRenderProps, PopoverProps, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
2
2
  export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, PopoverProps, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, TooltipTrigger } from 'react-aria-components';
3
3
  import * as react from 'react';
4
4
  import { HTMLAttributes, ReactNode, ReactElement, Dispatch, SetStateAction } from 'react';
@@ -312,11 +312,35 @@ interface CheckboxProps extends CheckboxProps$1 {
312
312
  }
313
313
  declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react.JSX.Element;
314
314
 
315
+ interface ListProps extends ListBoxProps<any> {
316
+ items?: any[];
317
+ idProperty?: string;
318
+ labelProperty?: string;
319
+ separatorProperty?: string;
320
+ highlightColor?: string;
321
+ showCheckmark?: boolean;
322
+ label?: string;
323
+ value?: string[];
324
+ onChange?: (value: string[]) => void;
325
+ }
326
+ declare function List({ items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps): react.JSX.Element;
327
+ interface ListItemProps extends ListBoxItemProps<any> {
328
+ showCheckmark?: boolean;
329
+ }
330
+ declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react.JSX.Element;
331
+ declare function ListSeparator({ className, ...props }: SeparatorProps): react.JSX.Element;
332
+ interface ListSectionProps extends ListBoxSectionProps<any> {
333
+ title?: string;
334
+ }
335
+ declare function ListSection({ title, className, children, ...props }: ListSectionProps): react.JSX.Element;
336
+
315
337
  interface ComboboxProps extends ComboBoxProps<any> {
316
- items: any[];
317
- className?: string;
338
+ items?: any[];
339
+ renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
340
+ listProps?: ListProps;
341
+ popoverProps?: PopoverProps;
318
342
  }
319
- declare function ComboBox({ items, className, ...props }: ComboboxProps): react.JSX.Element;
343
+ declare function ComboBox({ items, className, renderEmptyState, listProps, popoverProps, children, ...props }: ComboboxProps): react.JSX.Element;
320
344
 
321
345
  interface CodeProps extends HTMLAttributes<HTMLElement> {
322
346
  asChild?: boolean;
@@ -444,28 +468,6 @@ interface LabelProps extends LabelProps$1 {
444
468
  }
445
469
  declare function Label({ className, ...props }: LabelProps): react.JSX.Element;
446
470
 
447
- interface ListProps extends ListBoxProps<any> {
448
- items?: any[];
449
- idProperty?: string;
450
- labelProperty?: string;
451
- separatorProperty?: string;
452
- highlightColor?: string;
453
- showCheckmark?: boolean;
454
- label?: string;
455
- value?: string[];
456
- onChange?: (value: string[]) => void;
457
- }
458
- declare function List({ items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps): react.JSX.Element;
459
- interface ListItemProps extends ListBoxItemProps<any> {
460
- showCheckmark?: boolean;
461
- }
462
- declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react.JSX.Element;
463
- declare function ListSeparator({ className, ...props }: SeparatorProps): react.JSX.Element;
464
- interface ListSectionProps extends ListBoxSectionProps<any> {
465
- title?: string;
466
- }
467
- declare function ListSection({ title, className, children, ...props }: ListSectionProps): react.JSX.Element;
468
-
469
471
  interface LoadingProps {
470
472
  size?: 'sm' | 'md' | 'lg';
471
473
  icon?: 'dots' | 'spinner';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ComboBoxProps, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, PopoverProps, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
1
+ import { ButtonProps as ButtonProps$1, DisclosureGroupProps, DisclosureProps, DialogProps as DialogProps$1, BreadcrumbsProps, BreadcrumbProps, CalendarProps as CalendarProps$1, CheckboxProps as CheckboxProps$1, ListBoxProps, ListBoxItemProps, SeparatorProps, ListBoxSectionProps, ComboBoxProps, ListBoxRenderProps, PopoverProps, TableProps, TooltipProps as TooltipProps$1, LabelProps as LabelProps$1, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, MenuSectionProps as MenuSectionProps$1, ModalOverlayProps, ModalRenderProps, TextFieldProps as TextFieldProps$1, ProgressBarProps as ProgressBarProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SearchFieldProps as SearchFieldProps$1, SelectProps as SelectProps$1, SelectValueRenderProps, SliderProps as SliderProps$1, SwitchProps as SwitchProps$1, TableHeaderProps, TableBodyProps, RowProps as RowProps$1, ColumnProps as ColumnProps$1, CellProps, TabsProps, TabListProps, TabProps, TabPanelProps, ToggleButtonProps, TagGroupProps, TagProps } from 'react-aria-components';
2
2
  export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, FileTrigger, Focusable, MenuTrigger, PopoverProps, Pressable, RadioProps, RouterProvider, Selection, SubmenuTrigger, TabListProps, TabPanelProps, TabProps, TableBodyProps, TabsProps, TooltipTrigger } from 'react-aria-components';
3
3
  import * as react from 'react';
4
4
  import { HTMLAttributes, ReactNode, ReactElement, Dispatch, SetStateAction } from 'react';
@@ -312,11 +312,35 @@ interface CheckboxProps extends CheckboxProps$1 {
312
312
  }
313
313
  declare function Checkbox({ label, className, children, ...props }: CheckboxProps): react.JSX.Element;
314
314
 
315
+ interface ListProps extends ListBoxProps<any> {
316
+ items?: any[];
317
+ idProperty?: string;
318
+ labelProperty?: string;
319
+ separatorProperty?: string;
320
+ highlightColor?: string;
321
+ showCheckmark?: boolean;
322
+ label?: string;
323
+ value?: string[];
324
+ onChange?: (value: string[]) => void;
325
+ }
326
+ declare function List({ items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps): react.JSX.Element;
327
+ interface ListItemProps extends ListBoxItemProps<any> {
328
+ showCheckmark?: boolean;
329
+ }
330
+ declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react.JSX.Element;
331
+ declare function ListSeparator({ className, ...props }: SeparatorProps): react.JSX.Element;
332
+ interface ListSectionProps extends ListBoxSectionProps<any> {
333
+ title?: string;
334
+ }
335
+ declare function ListSection({ title, className, children, ...props }: ListSectionProps): react.JSX.Element;
336
+
315
337
  interface ComboboxProps extends ComboBoxProps<any> {
316
- items: any[];
317
- className?: string;
338
+ items?: any[];
339
+ renderEmptyState?: (props: ListBoxRenderProps) => ReactNode;
340
+ listProps?: ListProps;
341
+ popoverProps?: PopoverProps;
318
342
  }
319
- declare function ComboBox({ items, className, ...props }: ComboboxProps): react.JSX.Element;
343
+ declare function ComboBox({ items, className, renderEmptyState, listProps, popoverProps, children, ...props }: ComboboxProps): react.JSX.Element;
320
344
 
321
345
  interface CodeProps extends HTMLAttributes<HTMLElement> {
322
346
  asChild?: boolean;
@@ -444,28 +468,6 @@ interface LabelProps extends LabelProps$1 {
444
468
  }
445
469
  declare function Label({ className, ...props }: LabelProps): react.JSX.Element;
446
470
 
447
- interface ListProps extends ListBoxProps<any> {
448
- items?: any[];
449
- idProperty?: string;
450
- labelProperty?: string;
451
- separatorProperty?: string;
452
- highlightColor?: string;
453
- showCheckmark?: boolean;
454
- label?: string;
455
- value?: string[];
456
- onChange?: (value: string[]) => void;
457
- }
458
- declare function List({ items, idProperty, labelProperty, separatorProperty, highlightColor, showCheckmark, label, value, onChange, className, selectedKeys, defaultSelectedKeys, onSelectionChange, style, children, ...props }: ListProps): react.JSX.Element;
459
- interface ListItemProps extends ListBoxItemProps<any> {
460
- showCheckmark?: boolean;
461
- }
462
- declare function ListItem({ id, children, className, showCheckmark, ...props }: ListItemProps): react.JSX.Element;
463
- declare function ListSeparator({ className, ...props }: SeparatorProps): react.JSX.Element;
464
- interface ListSectionProps extends ListBoxSectionProps<any> {
465
- title?: string;
466
- }
467
- declare function ListSection({ title, className, children, ...props }: ListSectionProps): react.JSX.Element;
468
-
469
471
  interface LoadingProps {
470
472
  size?: 'sm' | 'md' | 'lg';
471
473
  icon?: 'dots' | 'spinner';
package/dist/index.js CHANGED
@@ -32157,7 +32157,7 @@ function Checkbox2({ label, className, children, ...props }) {
32157
32157
  }
32158
32158
 
32159
32159
  // src/components/ComboBox.tsx
32160
- var import_classnames21 = __toESM(require_classnames());
32160
+ var import_classnames22 = __toESM(require_classnames());
32161
32161
 
32162
32162
  // src/components/List.tsx
32163
32163
  var import_react179 = require("react");
@@ -32289,18 +32289,64 @@ function ListSection({ title, className, children, ...props }) {
32289
32289
  ] });
32290
32290
  }
32291
32291
 
32292
+ // src/components/Grid.tsx
32293
+ var import_classnames21 = __toESM(require_classnames());
32294
+ var import_jsx_runtime34 = require("react/jsx-runtime");
32295
+ function Grid({
32296
+ display = "grid",
32297
+ justifyContent,
32298
+ justifyItems,
32299
+ alignContent,
32300
+ alignItems,
32301
+ gap,
32302
+ gapX,
32303
+ gapY,
32304
+ autoFlow,
32305
+ rows,
32306
+ columns,
32307
+ areas,
32308
+ className,
32309
+ style,
32310
+ children,
32311
+ ...props
32312
+ }) {
32313
+ const [classes, styleProps] = useDesignProps({
32314
+ display,
32315
+ justifyContent,
32316
+ justifyItems,
32317
+ alignContent,
32318
+ alignItems,
32319
+ gap,
32320
+ gapX,
32321
+ gapY,
32322
+ gridTemplateRows: rows,
32323
+ gridTemplateColumns: columns,
32324
+ gridTemplateAreas: areas,
32325
+ gridAutoFlow: autoFlow
32326
+ });
32327
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Box, { ...props, className: (0, import_classnames21.default)(className, classes), style: { ...styleProps, ...style }, children });
32328
+ }
32329
+
32292
32330
  // css-modules:E:\dev\umami-react-zen\src\components\ComboBox.module.css
32293
32331
  var ComboBox_default = { "combobox": "ComboBox_combobox__ZDYxZ", "input": "ComboBox_input__YjNkN", "button": "ComboBox_button__NTlhM", "list": "ComboBox_list__NTdiY" };
32294
32332
 
32295
32333
  // src/components/ComboBox.tsx
32296
- var import_jsx_runtime34 = require("react/jsx-runtime");
32297
- function ComboBox2({ items, className, ...props }) {
32298
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames21.default)(ComboBox_default.combobox, className), children: [
32299
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Row, { alignItems: "center", children: [
32300
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
32301
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ChevronRight, {}) }) })
32334
+ var import_jsx_runtime35 = require("react/jsx-runtime");
32335
+ function ComboBox2({
32336
+ items,
32337
+ className,
32338
+ renderEmptyState,
32339
+ listProps,
32340
+ popoverProps,
32341
+ children,
32342
+ ...props
32343
+ }) {
32344
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames22.default)(ComboBox_default.combobox, className), children: [
32345
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Grid, { alignItems: "center", columns: "1fr auto", width: "100%", children: [
32346
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
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, {}) }) })
32302
32348
  ] }),
32303
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: ComboBox_default.list, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(List, { items, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime34.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)) }) }) })
32304
32350
  ] });
32305
32351
  }
32306
32352
 
@@ -32308,20 +32354,20 @@ function ComboBox2({ items, className, ...props }) {
32308
32354
  var Code_default = { "code": "Code_code__ZTc0M" };
32309
32355
 
32310
32356
  // src/components/Code.tsx
32311
- var import_jsx_runtime35 = require("react/jsx-runtime");
32357
+ var import_jsx_runtime36 = require("react/jsx-runtime");
32312
32358
  function Code({ asChild, children }) {
32313
32359
  const Component = asChild ? Slot : "code";
32314
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Component, { className: Code_default.code, children });
32360
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Component, { className: Code_default.code, children });
32315
32361
  }
32316
32362
 
32317
32363
  // src/components/Container.tsx
32318
- var import_classnames22 = __toESM(require_classnames());
32364
+ var import_classnames23 = __toESM(require_classnames());
32319
32365
 
32320
32366
  // css-modules:E:\dev\umami-react-zen\src\components\Container.module.css
32321
32367
  var Container_default = { "container": "Container_container__ZWU0Y", "centered": "Container_centered__OTM1M", "fluid": "Container_fluid__NTBhY" };
32322
32368
 
32323
32369
  // src/components/Container.tsx
32324
- var import_jsx_runtime36 = require("react/jsx-runtime");
32370
+ var import_jsx_runtime37 = require("react/jsx-runtime");
32325
32371
  function Container({
32326
32372
  isCentered = true,
32327
32373
  isFluid,
@@ -32329,11 +32375,11 @@ function Container({
32329
32375
  children,
32330
32376
  ...props
32331
32377
  }) {
32332
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
32378
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
32333
32379
  Box,
32334
32380
  {
32335
32381
  ...props,
32336
- className: (0, import_classnames22.default)(
32382
+ className: (0, import_classnames23.default)(
32337
32383
  Container_default.container,
32338
32384
  className,
32339
32385
  isCentered && Container_default.centered,
@@ -32346,21 +32392,21 @@ function Container({
32346
32392
 
32347
32393
  // src/components/ConfirmationDialog.tsx
32348
32394
  var import_react182 = require("react");
32349
- var import_classnames25 = __toESM(require_classnames());
32395
+ var import_classnames26 = __toESM(require_classnames());
32350
32396
 
32351
32397
  // src/components/TextField.tsx
32352
32398
  var import_react181 = require("react");
32353
- var import_classnames24 = __toESM(require_classnames());
32399
+ var import_classnames25 = __toESM(require_classnames());
32354
32400
 
32355
32401
  // src/components/CopyButton.tsx
32356
32402
  var import_react180 = require("react");
32357
- var import_classnames23 = __toESM(require_classnames());
32403
+ var import_classnames24 = __toESM(require_classnames());
32358
32404
 
32359
32405
  // css-modules:E:\dev\umami-react-zen\src\components\CopyButton.module.css
32360
32406
  var CopyButton_default = { "icon": "CopyButton_icon__YTM2Y", "copy-button": "CopyButton_copy-button__MjY1M" };
32361
32407
 
32362
32408
  // src/components/CopyButton.tsx
32363
- var import_jsx_runtime37 = require("react/jsx-runtime");
32409
+ var import_jsx_runtime38 = require("react/jsx-runtime");
32364
32410
  var TIMEOUT = 2e3;
32365
32411
  function CopyButton({ value, timeout = TIMEOUT, className, children, ...props }) {
32366
32412
  const [copied, setCopied] = (0, import_react180.useState)(false);
@@ -32373,14 +32419,14 @@ function CopyButton({ value, timeout = TIMEOUT, className, children, ...props })
32373
32419
  ref.current = +setTimeout(() => setCopied(false), timeout);
32374
32420
  }
32375
32421
  };
32376
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon2, { ...props, className: (0, import_classnames23.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Check, {}) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Copy, {}) });
32422
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon2, { ...props, className: (0, import_classnames24.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Check, {}) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Copy, {}) });
32377
32423
  }
32378
32424
 
32379
32425
  // css-modules:E:\dev\umami-react-zen\src\components\TextField.module.css
32380
32426
  var TextField_default = { "field": "TextField_field__YzU1O", "icon": "TextField_icon__MDJlY", "novalue": "TextField_novalue__NDg4Y", "textarea": "TextField_textarea__NTQ3M", "resize-vertical": "TextField_resize-vertical__ZDc3N", "resize-horizontal": "TextField_resize-horizontal__MzJjY", "resize-none": "TextField_resize-none__ZmUxZ" };
32381
32427
 
32382
32428
  // src/components/TextField.tsx
32383
- var import_jsx_runtime38 = require("react/jsx-runtime");
32429
+ var import_jsx_runtime39 = require("react/jsx-runtime");
32384
32430
  function TextField2({
32385
32431
  value,
32386
32432
  defaultValue,
@@ -32405,14 +32451,14 @@ function TextField2({
32405
32451
  (0, import_react181.useEffect)(() => {
32406
32452
  setInputValue(value);
32407
32453
  }, [value]);
32408
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
32409
- label && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Label2, { children: label }),
32410
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
32454
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
32455
+ label && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Label2, { children: label }),
32456
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
32411
32457
  $bcdf0525bf22703d$export$2c73285ae9390cec,
32412
32458
  {
32413
32459
  "aria-label": "Text",
32414
32460
  ...props,
32415
- className: (0, import_classnames24.default)(
32461
+ className: (0, import_classnames25.default)(
32416
32462
  TextField_default.field,
32417
32463
  asTextArea && TextField_default.textarea,
32418
32464
  allowCopy && TextField_default.copy,
@@ -32425,8 +32471,8 @@ function TextField2({
32425
32471
  isDisabled,
32426
32472
  onChange: handleChange,
32427
32473
  children: [
32428
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Component, { placeholder }),
32429
- allowCopy && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CopyButton, { value: inputValue, className: TextField_default.icon })
32474
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, { placeholder }),
32475
+ allowCopy && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CopyButton, { value: inputValue, className: TextField_default.icon })
32430
32476
  ]
32431
32477
  }
32432
32478
  )
@@ -32437,7 +32483,7 @@ function TextField2({
32437
32483
  var ConfirmationDialog_default = { "dialog": "ConfirmationDialog_dialog__YjQzN", "value": "ConfirmationDialog_value__Njg3N" };
32438
32484
 
32439
32485
  // src/components/ConfirmationDialog.tsx
32440
- var import_jsx_runtime39 = require("react/jsx-runtime");
32486
+ var import_jsx_runtime40 = require("react/jsx-runtime");
32441
32487
  function ConfirmationDialog({
32442
32488
  value,
32443
32489
  confirmMessage,
@@ -32449,21 +32495,21 @@ function ConfirmationDialog({
32449
32495
  const handleChange = (e) => {
32450
32496
  setCanSave(e.target.value === value);
32451
32497
  };
32452
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
32498
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
32453
32499
  AlertDialog,
32454
32500
  {
32455
32501
  ...props,
32456
- className: (0, import_classnames25.default)(ConfirmationDialog_default.dialog, className),
32502
+ className: (0, import_classnames26.default)(ConfirmationDialog_default.dialog, className),
32457
32503
  isConfirmDisabled: !canSave,
32458
32504
  children: ({ close }) => {
32459
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
32505
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
32460
32506
  typeof children === "function" ? children({ close }) : children,
32461
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Text, { children: [
32507
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Text, { children: [
32462
32508
  confirmMessage || "Type the following value to confirm",
32463
32509
  ":"
32464
32510
  ] }),
32465
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: ConfirmationDialog_default.value, children: value }),
32466
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TextField2, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
32511
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ConfirmationDialog_default.value, children: value }),
32512
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TextField2, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
32467
32513
  ] });
32468
32514
  }
32469
32515
  }
@@ -32471,66 +32517,66 @@ function ConfirmationDialog({
32471
32517
  }
32472
32518
 
32473
32519
  // src/components/DataTable.tsx
32474
- var import_classnames27 = __toESM(require_classnames());
32520
+ var import_classnames28 = __toESM(require_classnames());
32475
32521
  var import_react183 = require("react");
32476
32522
 
32477
32523
  // src/components/Table.tsx
32478
- var import_classnames26 = __toESM(require_classnames());
32524
+ var import_classnames27 = __toESM(require_classnames());
32479
32525
 
32480
32526
  // css-modules:E:\dev\umami-react-zen\src\components\Table.module.css
32481
32527
  var Table_default = { "table": "Table_table__YjllN", "header": "Table_header__NmE0Y", "body": "Table_body__ZWYwN", "row": "Table_row__Y2M0Y", "column": "Table_column__ZGY2M", "cell": "Table_cell__MmZjM", "start": "Table_start__NGFiN", "center": "Table_center__NzFjM", "end": "Table_end__NmQyY" };
32482
32528
 
32483
32529
  // src/components/Table.tsx
32484
- var import_jsx_runtime40 = require("react/jsx-runtime");
32530
+ var import_jsx_runtime41 = require("react/jsx-runtime");
32485
32531
  var gridTemplateColumns = "repeat(auto-fit, minmax(140px, 1fr))";
32486
32532
  function Table2({ children, className, ...props }) {
32487
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames26.default)(Table_default.table, className), children });
32533
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames27.default)(Table_default.table, className), children });
32488
32534
  }
32489
32535
  function TableHeader({ children, className, style, ...props }) {
32490
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
32536
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
32491
32537
  $1910c06f0ca9905e$export$f850895b287ef28e,
32492
32538
  {
32493
32539
  ...props,
32494
- className: (0, import_classnames26.default)(Table_default.header, className),
32540
+ className: (0, import_classnames27.default)(Table_default.header, className),
32495
32541
  style: { gridTemplateColumns, ...style },
32496
32542
  children
32497
32543
  }
32498
32544
  );
32499
32545
  }
32500
32546
  function TableBody({ children, className, ...props }) {
32501
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames26.default)(Table_default.body, className), children });
32547
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames27.default)(Table_default.body, className), children });
32502
32548
  }
32503
32549
  function TableRow({ children, className, style, ...props }) {
32504
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
32550
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
32505
32551
  $1910c06f0ca9905e$export$b59bdbef9ce70de2,
32506
32552
  {
32507
32553
  ...props,
32508
- className: (0, import_classnames26.default)(Table_default.row, className),
32554
+ className: (0, import_classnames27.default)(Table_default.row, className),
32509
32555
  style: { gridTemplateColumns, ...style },
32510
32556
  children
32511
32557
  }
32512
32558
  );
32513
32559
  }
32514
32560
  function TableColumn({ children, className, align, ...props }) {
32515
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
32561
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
32516
32562
  $1910c06f0ca9905e$export$816b5d811295e6bc,
32517
32563
  {
32518
32564
  ...props,
32519
- className: (0, import_classnames26.default)(Table_default.column, className, align && Table_default[align]),
32565
+ className: (0, import_classnames27.default)(Table_default.column, className, align && Table_default[align]),
32520
32566
  isRowHeader: true,
32521
32567
  children
32522
32568
  }
32523
32569
  );
32524
32570
  }
32525
32571
  function TableCell({ children, className, align, ...props }) {
32526
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames26.default)(Table_default.cell, className, align && Table_default[align]), children });
32572
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames27.default)(Table_default.cell, className, align && Table_default[align]), children });
32527
32573
  }
32528
32574
 
32529
32575
  // css-modules:E:\dev\umami-react-zen\src\components\DataTable.module.css
32530
32576
  var DataTable_default = { "datatable": "DataTable_datatable__MWRkN", "cell": "DataTable_cell__MmMyM" };
32531
32577
 
32532
32578
  // src/components/DataTable.tsx
32533
- var import_jsx_runtime41 = require("react/jsx-runtime");
32579
+ var import_jsx_runtime42 = require("react/jsx-runtime");
32534
32580
  var import_react184 = require("react");
32535
32581
  function DataTable({ data = [], className, children, ...props }) {
32536
32582
  const items = data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
@@ -32543,15 +32589,15 @@ function DataTable({ data = [], className, children, ...props }) {
32543
32589
  return null;
32544
32590
  })?.filter((n) => n);
32545
32591
  const gridTemplateColumns2 = widths.join(" ");
32546
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Table2, { ...props, className: (0, import_classnames27.default)(DataTable_default.datatable, className), children: [
32547
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, label, as, hidden, width, ...columnProps }) => {
32592
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Table2, { ...props, className: (0, import_classnames28.default)(DataTable_default.datatable, className), children: [
32593
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, label, as, hidden, width, ...columnProps }) => {
32548
32594
  if (hidden) {
32549
32595
  return null;
32550
32596
  }
32551
32597
  return /* @__PURE__ */ (0, import_react184.createElement)(TableColumn, { ...columnProps, key: id, id }, label);
32552
32598
  }) }),
32553
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TableBody, { children: items.map((row, index) => {
32554
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
32599
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableBody, { children: items.map((row, index) => {
32600
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
32555
32601
  if (hidden) {
32556
32602
  return null;
32557
32603
  }
@@ -32561,7 +32607,7 @@ function DataTable({ data = [], className, children, ...props }) {
32561
32607
  {
32562
32608
  ...cellProps,
32563
32609
  key: id,
32564
- className: (0, import_classnames27.default)(DataTable_default.cell, className2)
32610
+ className: (0, import_classnames28.default)(DataTable_default.cell, className2)
32565
32611
  },
32566
32612
  as ? (0, import_react183.createElement)(as, {}, value) : value
32567
32613
  );
@@ -32574,40 +32620,40 @@ function DataColumn(props) {
32574
32620
  }
32575
32621
 
32576
32622
  // src/components/Dots.tsx
32577
- var import_classnames28 = __toESM(require_classnames());
32623
+ var import_classnames29 = __toESM(require_classnames());
32578
32624
 
32579
32625
  // css-modules:E:\dev\umami-react-zen\src\components\Dots.module.css
32580
32626
  var Dots_default = { "dots": "Dots_dots__ZjI3Y", "size-sm": "Dots_size-sm__ZTRjY", "size-md": "Dots_size-md__MmRkZ", "size-lg": "Dots_size-lg__MGJmY", "dot": "Dots_dot__ZDRiM", "dots-blink": "Dots_dots-blink__MWU4Z" };
32581
32627
 
32582
32628
  // src/components/Dots.tsx
32583
- var import_jsx_runtime42 = require("react/jsx-runtime");
32629
+ var import_jsx_runtime43 = require("react/jsx-runtime");
32584
32630
  function Dots({ size = "md", className, ...props }) {
32585
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { ...props, className: (0, import_classnames28.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
32586
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: Dots_default.dot }),
32587
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: Dots_default.dot }),
32588
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: Dots_default.dot })
32631
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { ...props, className: (0, import_classnames29.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
32632
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Dots_default.dot }),
32633
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Dots_default.dot }),
32634
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Dots_default.dot })
32589
32635
  ] });
32590
32636
  }
32591
32637
 
32592
32638
  // src/components/FloatingTooltip.tsx
32593
32639
  var import_react185 = require("react");
32594
- var import_classnames30 = __toESM(require_classnames());
32640
+ var import_classnames31 = __toESM(require_classnames());
32595
32641
 
32596
32642
  // src/components/Tooltip.tsx
32597
- var import_classnames29 = __toESM(require_classnames());
32643
+ var import_classnames30 = __toESM(require_classnames());
32598
32644
 
32599
32645
  // css-modules:E:\dev\umami-react-zen\src\components\Tooltip.module.css
32600
32646
  var Tooltip_default = { "tooltip": "Tooltip_tooltip__YmY4Z", "bubble": "Tooltip_bubble__MWE0N", "arrow": "Tooltip_arrow__OGM1M", "slide": "Tooltip_slide__MGVmY" };
32601
32647
 
32602
32648
  // src/components/Tooltip.tsx
32603
- var import_jsx_runtime43 = require("react/jsx-runtime");
32649
+ var import_jsx_runtime44 = require("react/jsx-runtime");
32604
32650
  function Tooltip2({ children, className, showArrow, ...props }) {
32605
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames29.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TooltipBubble, { showArrow, children }) });
32651
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames30.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(TooltipBubble, { showArrow, children }) });
32606
32652
  }
32607
32653
  function TooltipBubble({ showArrow, children, ...props }) {
32608
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { ...props, children: [
32609
- showArrow && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
32610
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Tooltip_default.bubble, children })
32654
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { ...props, children: [
32655
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
32656
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: Tooltip_default.bubble, children })
32611
32657
  ] });
32612
32658
  }
32613
32659
 
@@ -32615,7 +32661,7 @@ function TooltipBubble({ showArrow, children, ...props }) {
32615
32661
  var FloatingTooltip_default = { "floating": "FloatingTooltip_floating__ZjM4N" };
32616
32662
 
32617
32663
  // src/components/FloatingTooltip.tsx
32618
- var import_jsx_runtime44 = require("react/jsx-runtime");
32664
+ var import_jsx_runtime45 = require("react/jsx-runtime");
32619
32665
  function FloatingTooltip({ className, style, children, ...props }) {
32620
32666
  const [position, setPosition] = (0, import_react185.useState)({ x: -1e3, y: -1e3 });
32621
32667
  (0, import_react185.useEffect)(() => {
@@ -32627,55 +32673,17 @@ function FloatingTooltip({ className, style, children, ...props }) {
32627
32673
  document.removeEventListener("mousemove", handler);
32628
32674
  };
32629
32675
  }, []);
32630
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
32676
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
32631
32677
  TooltipBubble,
32632
32678
  {
32633
32679
  ...props,
32634
- className: (0, import_classnames30.default)(FloatingTooltip_default.floating, className, "BALLLLSSSS"),
32680
+ className: (0, import_classnames31.default)(FloatingTooltip_default.floating, className, "BALLLLSSSS"),
32635
32681
  style: { ...style, left: position.x, top: position.y },
32636
32682
  children
32637
32683
  }
32638
32684
  );
32639
32685
  }
32640
32686
 
32641
- // src/components/Grid.tsx
32642
- var import_classnames31 = __toESM(require_classnames());
32643
- var import_jsx_runtime45 = require("react/jsx-runtime");
32644
- function Grid({
32645
- display = "grid",
32646
- justifyContent,
32647
- justifyItems,
32648
- alignContent,
32649
- alignItems,
32650
- gap,
32651
- gapX,
32652
- gapY,
32653
- autoFlow,
32654
- rows,
32655
- columns,
32656
- areas,
32657
- className,
32658
- style,
32659
- children,
32660
- ...props
32661
- }) {
32662
- const [classes, styleProps] = useDesignProps({
32663
- display,
32664
- justifyContent,
32665
- justifyItems,
32666
- alignContent,
32667
- alignItems,
32668
- gap,
32669
- gapX,
32670
- gapY,
32671
- gridTemplateRows: rows,
32672
- gridTemplateColumns: columns,
32673
- gridTemplateAreas: areas,
32674
- gridAutoFlow: autoFlow
32675
- });
32676
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Box, { ...props, className: (0, import_classnames31.default)(className, classes), style: { ...styleProps, ...style }, children });
32677
- }
32678
-
32679
32687
  // src/components/Heading.tsx
32680
32688
  var import_classnames32 = __toESM(require_classnames());
32681
32689
 
@@ -33277,6 +33285,7 @@ function Select2({
33277
33285
  };
33278
33286
  const handleOpenChange = () => {
33279
33287
  setSearch("");
33288
+ onSearch?.("");
33280
33289
  };
33281
33290
  return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
33282
33291
  $82d7e5349645de74$export$ef9b1a59e592288f,
package/dist/index.mjs CHANGED
@@ -32040,7 +32040,7 @@ function Checkbox2({ label, className, children, ...props }) {
32040
32040
  }
32041
32041
 
32042
32042
  // src/components/ComboBox.tsx
32043
- var import_classnames21 = __toESM(require_classnames());
32043
+ var import_classnames22 = __toESM(require_classnames());
32044
32044
 
32045
32045
  // src/components/List.tsx
32046
32046
  import { Fragment as Fragment4 } from "react";
@@ -32172,18 +32172,64 @@ function ListSection({ title, className, children, ...props }) {
32172
32172
  ] });
32173
32173
  }
32174
32174
 
32175
+ // src/components/Grid.tsx
32176
+ var import_classnames21 = __toESM(require_classnames());
32177
+ import { jsx as jsx34 } from "react/jsx-runtime";
32178
+ function Grid({
32179
+ display = "grid",
32180
+ justifyContent,
32181
+ justifyItems,
32182
+ alignContent,
32183
+ alignItems,
32184
+ gap,
32185
+ gapX,
32186
+ gapY,
32187
+ autoFlow,
32188
+ rows,
32189
+ columns,
32190
+ areas,
32191
+ className,
32192
+ style,
32193
+ children,
32194
+ ...props
32195
+ }) {
32196
+ const [classes, styleProps] = useDesignProps({
32197
+ display,
32198
+ justifyContent,
32199
+ justifyItems,
32200
+ alignContent,
32201
+ alignItems,
32202
+ gap,
32203
+ gapX,
32204
+ gapY,
32205
+ gridTemplateRows: rows,
32206
+ gridTemplateColumns: columns,
32207
+ gridTemplateAreas: areas,
32208
+ gridAutoFlow: autoFlow
32209
+ });
32210
+ return /* @__PURE__ */ jsx34(Box, { ...props, className: (0, import_classnames21.default)(className, classes), style: { ...styleProps, ...style }, children });
32211
+ }
32212
+
32175
32213
  // css-modules:E:\dev\umami-react-zen\src\components\ComboBox.module.css
32176
32214
  var ComboBox_default = { "combobox": "ComboBox_combobox__ZDYxZ", "input": "ComboBox_input__YjNkN", "button": "ComboBox_button__NTlhM", "list": "ComboBox_list__NTdiY" };
32177
32215
 
32178
32216
  // src/components/ComboBox.tsx
32179
- import { jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
32180
- function ComboBox2({ items, className, ...props }) {
32181
- return /* @__PURE__ */ jsxs19($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames21.default)(ComboBox_default.combobox, className), children: [
32182
- /* @__PURE__ */ jsxs19(Row, { alignItems: "center", children: [
32183
- /* @__PURE__ */ jsx34($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
32184
- /* @__PURE__ */ jsx34($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: ComboBox_default.button, children: /* @__PURE__ */ jsx34(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ jsx34(ChevronRight, {}) }) })
32217
+ import { jsx as jsx35, jsxs as jsxs19 } from "react/jsx-runtime";
32218
+ function ComboBox2({
32219
+ items,
32220
+ className,
32221
+ renderEmptyState,
32222
+ listProps,
32223
+ popoverProps,
32224
+ children,
32225
+ ...props
32226
+ }) {
32227
+ return /* @__PURE__ */ jsxs19($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames22.default)(ComboBox_default.combobox, className), children: [
32228
+ /* @__PURE__ */ jsxs19(Grid, { alignItems: "center", columns: "1fr auto", width: "100%", children: [
32229
+ /* @__PURE__ */ jsx35($3985021b0ad6602f$export$f5b8910cec6cf069, { className: ComboBox_default.input }),
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, {}) }) })
32185
32231
  ] }),
32186
- /* @__PURE__ */ jsx34($07b14b47974efb58$export$5b6b19405a83ff9d, { children: /* @__PURE__ */ jsx34("div", { className: ComboBox_default.list, children: /* @__PURE__ */ jsx34(List, { items, children: items.map((item) => /* @__PURE__ */ jsx34(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)) }) }) })
32187
32233
  ] });
32188
32234
  }
32189
32235
 
@@ -32191,20 +32237,20 @@ function ComboBox2({ items, className, ...props }) {
32191
32237
  var Code_default = { "code": "Code_code__ZTc0M" };
32192
32238
 
32193
32239
  // src/components/Code.tsx
32194
- import { jsx as jsx35 } from "react/jsx-runtime";
32240
+ import { jsx as jsx36 } from "react/jsx-runtime";
32195
32241
  function Code({ asChild, children }) {
32196
32242
  const Component = asChild ? Slot : "code";
32197
- return /* @__PURE__ */ jsx35(Component, { className: Code_default.code, children });
32243
+ return /* @__PURE__ */ jsx36(Component, { className: Code_default.code, children });
32198
32244
  }
32199
32245
 
32200
32246
  // src/components/Container.tsx
32201
- var import_classnames22 = __toESM(require_classnames());
32247
+ var import_classnames23 = __toESM(require_classnames());
32202
32248
 
32203
32249
  // css-modules:E:\dev\umami-react-zen\src\components\Container.module.css
32204
32250
  var Container_default = { "container": "Container_container__ZWU0Y", "centered": "Container_centered__OTM1M", "fluid": "Container_fluid__NTBhY" };
32205
32251
 
32206
32252
  // src/components/Container.tsx
32207
- import { jsx as jsx36 } from "react/jsx-runtime";
32253
+ import { jsx as jsx37 } from "react/jsx-runtime";
32208
32254
  function Container({
32209
32255
  isCentered = true,
32210
32256
  isFluid,
@@ -32212,11 +32258,11 @@ function Container({
32212
32258
  children,
32213
32259
  ...props
32214
32260
  }) {
32215
- return /* @__PURE__ */ jsx36(
32261
+ return /* @__PURE__ */ jsx37(
32216
32262
  Box,
32217
32263
  {
32218
32264
  ...props,
32219
- className: (0, import_classnames22.default)(
32265
+ className: (0, import_classnames23.default)(
32220
32266
  Container_default.container,
32221
32267
  className,
32222
32268
  isCentered && Container_default.centered,
@@ -32228,22 +32274,22 @@ function Container({
32228
32274
  }
32229
32275
 
32230
32276
  // src/components/ConfirmationDialog.tsx
32231
- var import_classnames25 = __toESM(require_classnames());
32277
+ var import_classnames26 = __toESM(require_classnames());
32232
32278
  import { useState as useState10 } from "react";
32233
32279
 
32234
32280
  // src/components/TextField.tsx
32235
32281
  import { useEffect as useEffect9, useState as useState9 } from "react";
32236
- var import_classnames24 = __toESM(require_classnames());
32282
+ var import_classnames25 = __toESM(require_classnames());
32237
32283
 
32238
32284
  // src/components/CopyButton.tsx
32239
- var import_classnames23 = __toESM(require_classnames());
32285
+ var import_classnames24 = __toESM(require_classnames());
32240
32286
  import { useState as useState8, useRef as useRef7 } from "react";
32241
32287
 
32242
32288
  // css-modules:E:\dev\umami-react-zen\src\components\CopyButton.module.css
32243
32289
  var CopyButton_default = { "icon": "CopyButton_icon__YTM2Y", "copy-button": "CopyButton_copy-button__MjY1M" };
32244
32290
 
32245
32291
  // src/components/CopyButton.tsx
32246
- import { jsx as jsx37 } from "react/jsx-runtime";
32292
+ import { jsx as jsx38 } from "react/jsx-runtime";
32247
32293
  var TIMEOUT = 2e3;
32248
32294
  function CopyButton({ value, timeout = TIMEOUT, className, children, ...props }) {
32249
32295
  const [copied, setCopied] = useState8(false);
@@ -32256,14 +32302,14 @@ function CopyButton({ value, timeout = TIMEOUT, className, children, ...props })
32256
32302
  ref.current = +setTimeout(() => setCopied(false), timeout);
32257
32303
  }
32258
32304
  };
32259
- return /* @__PURE__ */ jsx37(Icon2, { ...props, className: (0, import_classnames23.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ jsx37(Check, {}) : /* @__PURE__ */ jsx37(Copy, {}) });
32305
+ return /* @__PURE__ */ jsx38(Icon2, { ...props, className: (0, import_classnames24.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ jsx38(Check, {}) : /* @__PURE__ */ jsx38(Copy, {}) });
32260
32306
  }
32261
32307
 
32262
32308
  // css-modules:E:\dev\umami-react-zen\src\components\TextField.module.css
32263
32309
  var TextField_default = { "field": "TextField_field__YzU1O", "icon": "TextField_icon__MDJlY", "novalue": "TextField_novalue__NDg4Y", "textarea": "TextField_textarea__NTQ3M", "resize-vertical": "TextField_resize-vertical__ZDc3N", "resize-horizontal": "TextField_resize-horizontal__MzJjY", "resize-none": "TextField_resize-none__ZmUxZ" };
32264
32310
 
32265
32311
  // src/components/TextField.tsx
32266
- import { Fragment as Fragment6, jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
32312
+ import { Fragment as Fragment6, jsx as jsx39, jsxs as jsxs20 } from "react/jsx-runtime";
32267
32313
  function TextField2({
32268
32314
  value,
32269
32315
  defaultValue,
@@ -32289,13 +32335,13 @@ function TextField2({
32289
32335
  setInputValue(value);
32290
32336
  }, [value]);
32291
32337
  return /* @__PURE__ */ jsxs20(Fragment6, { children: [
32292
- label && /* @__PURE__ */ jsx38(Label2, { children: label }),
32338
+ label && /* @__PURE__ */ jsx39(Label2, { children: label }),
32293
32339
  /* @__PURE__ */ jsxs20(
32294
32340
  $bcdf0525bf22703d$export$2c73285ae9390cec,
32295
32341
  {
32296
32342
  "aria-label": "Text",
32297
32343
  ...props,
32298
- className: (0, import_classnames24.default)(
32344
+ className: (0, import_classnames25.default)(
32299
32345
  TextField_default.field,
32300
32346
  asTextArea && TextField_default.textarea,
32301
32347
  allowCopy && TextField_default.copy,
@@ -32308,8 +32354,8 @@ function TextField2({
32308
32354
  isDisabled,
32309
32355
  onChange: handleChange,
32310
32356
  children: [
32311
- /* @__PURE__ */ jsx38(Component, { placeholder }),
32312
- allowCopy && /* @__PURE__ */ jsx38(CopyButton, { value: inputValue, className: TextField_default.icon })
32357
+ /* @__PURE__ */ jsx39(Component, { placeholder }),
32358
+ allowCopy && /* @__PURE__ */ jsx39(CopyButton, { value: inputValue, className: TextField_default.icon })
32313
32359
  ]
32314
32360
  }
32315
32361
  )
@@ -32320,7 +32366,7 @@ function TextField2({
32320
32366
  var ConfirmationDialog_default = { "dialog": "ConfirmationDialog_dialog__YjQzN", "value": "ConfirmationDialog_value__Njg3N" };
32321
32367
 
32322
32368
  // src/components/ConfirmationDialog.tsx
32323
- import { Fragment as Fragment7, jsx as jsx39, jsxs as jsxs21 } from "react/jsx-runtime";
32369
+ import { Fragment as Fragment7, jsx as jsx40, jsxs as jsxs21 } from "react/jsx-runtime";
32324
32370
  function ConfirmationDialog({
32325
32371
  value,
32326
32372
  confirmMessage,
@@ -32332,11 +32378,11 @@ function ConfirmationDialog({
32332
32378
  const handleChange = (e) => {
32333
32379
  setCanSave(e.target.value === value);
32334
32380
  };
32335
- return /* @__PURE__ */ jsx39(
32381
+ return /* @__PURE__ */ jsx40(
32336
32382
  AlertDialog,
32337
32383
  {
32338
32384
  ...props,
32339
- className: (0, import_classnames25.default)(ConfirmationDialog_default.dialog, className),
32385
+ className: (0, import_classnames26.default)(ConfirmationDialog_default.dialog, className),
32340
32386
  isConfirmDisabled: !canSave,
32341
32387
  children: ({ close }) => {
32342
32388
  return /* @__PURE__ */ jsxs21(Fragment7, { children: [
@@ -32345,8 +32391,8 @@ function ConfirmationDialog({
32345
32391
  confirmMessage || "Type the following value to confirm",
32346
32392
  ":"
32347
32393
  ] }),
32348
- /* @__PURE__ */ jsx39("div", { className: ConfirmationDialog_default.value, children: value }),
32349
- /* @__PURE__ */ jsx39(TextField2, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
32394
+ /* @__PURE__ */ jsx40("div", { className: ConfirmationDialog_default.value, children: value }),
32395
+ /* @__PURE__ */ jsx40(TextField2, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
32350
32396
  ] });
32351
32397
  }
32352
32398
  }
@@ -32354,66 +32400,66 @@ function ConfirmationDialog({
32354
32400
  }
32355
32401
 
32356
32402
  // src/components/DataTable.tsx
32357
- var import_classnames27 = __toESM(require_classnames());
32403
+ var import_classnames28 = __toESM(require_classnames());
32358
32404
  import { Children as Children2, createElement as createElement7 } from "react";
32359
32405
 
32360
32406
  // src/components/Table.tsx
32361
- var import_classnames26 = __toESM(require_classnames());
32407
+ var import_classnames27 = __toESM(require_classnames());
32362
32408
 
32363
32409
  // css-modules:E:\dev\umami-react-zen\src\components\Table.module.css
32364
32410
  var Table_default = { "table": "Table_table__YjllN", "header": "Table_header__NmE0Y", "body": "Table_body__ZWYwN", "row": "Table_row__Y2M0Y", "column": "Table_column__ZGY2M", "cell": "Table_cell__MmZjM", "start": "Table_start__NGFiN", "center": "Table_center__NzFjM", "end": "Table_end__NmQyY" };
32365
32411
 
32366
32412
  // src/components/Table.tsx
32367
- import { jsx as jsx40 } from "react/jsx-runtime";
32413
+ import { jsx as jsx41 } from "react/jsx-runtime";
32368
32414
  var gridTemplateColumns = "repeat(auto-fit, minmax(140px, 1fr))";
32369
32415
  function Table2({ children, className, ...props }) {
32370
- return /* @__PURE__ */ jsx40($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames26.default)(Table_default.table, className), children });
32416
+ return /* @__PURE__ */ jsx41($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames27.default)(Table_default.table, className), children });
32371
32417
  }
32372
32418
  function TableHeader({ children, className, style, ...props }) {
32373
- return /* @__PURE__ */ jsx40(
32419
+ return /* @__PURE__ */ jsx41(
32374
32420
  $1910c06f0ca9905e$export$f850895b287ef28e,
32375
32421
  {
32376
32422
  ...props,
32377
- className: (0, import_classnames26.default)(Table_default.header, className),
32423
+ className: (0, import_classnames27.default)(Table_default.header, className),
32378
32424
  style: { gridTemplateColumns, ...style },
32379
32425
  children
32380
32426
  }
32381
32427
  );
32382
32428
  }
32383
32429
  function TableBody({ children, className, ...props }) {
32384
- return /* @__PURE__ */ jsx40($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames26.default)(Table_default.body, className), children });
32430
+ return /* @__PURE__ */ jsx41($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames27.default)(Table_default.body, className), children });
32385
32431
  }
32386
32432
  function TableRow({ children, className, style, ...props }) {
32387
- return /* @__PURE__ */ jsx40(
32433
+ return /* @__PURE__ */ jsx41(
32388
32434
  $1910c06f0ca9905e$export$b59bdbef9ce70de2,
32389
32435
  {
32390
32436
  ...props,
32391
- className: (0, import_classnames26.default)(Table_default.row, className),
32437
+ className: (0, import_classnames27.default)(Table_default.row, className),
32392
32438
  style: { gridTemplateColumns, ...style },
32393
32439
  children
32394
32440
  }
32395
32441
  );
32396
32442
  }
32397
32443
  function TableColumn({ children, className, align, ...props }) {
32398
- return /* @__PURE__ */ jsx40(
32444
+ return /* @__PURE__ */ jsx41(
32399
32445
  $1910c06f0ca9905e$export$816b5d811295e6bc,
32400
32446
  {
32401
32447
  ...props,
32402
- className: (0, import_classnames26.default)(Table_default.column, className, align && Table_default[align]),
32448
+ className: (0, import_classnames27.default)(Table_default.column, className, align && Table_default[align]),
32403
32449
  isRowHeader: true,
32404
32450
  children
32405
32451
  }
32406
32452
  );
32407
32453
  }
32408
32454
  function TableCell({ children, className, align, ...props }) {
32409
- return /* @__PURE__ */ jsx40($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames26.default)(Table_default.cell, className, align && Table_default[align]), children });
32455
+ return /* @__PURE__ */ jsx41($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames27.default)(Table_default.cell, className, align && Table_default[align]), children });
32410
32456
  }
32411
32457
 
32412
32458
  // css-modules:E:\dev\umami-react-zen\src\components\DataTable.module.css
32413
32459
  var DataTable_default = { "datatable": "DataTable_datatable__MWRkN", "cell": "DataTable_cell__MmMyM" };
32414
32460
 
32415
32461
  // src/components/DataTable.tsx
32416
- import { jsx as jsx41, jsxs as jsxs22 } from "react/jsx-runtime";
32462
+ import { jsx as jsx42, jsxs as jsxs22 } from "react/jsx-runtime";
32417
32463
  import { createElement as createElement8 } from "react";
32418
32464
  function DataTable({ data = [], className, children, ...props }) {
32419
32465
  const items = data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
@@ -32426,15 +32472,15 @@ function DataTable({ data = [], className, children, ...props }) {
32426
32472
  return null;
32427
32473
  })?.filter((n) => n);
32428
32474
  const gridTemplateColumns2 = widths.join(" ");
32429
- return /* @__PURE__ */ jsxs22(Table2, { ...props, className: (0, import_classnames27.default)(DataTable_default.datatable, className), children: [
32430
- /* @__PURE__ */ jsx41(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, label, as, hidden, width, ...columnProps }) => {
32475
+ return /* @__PURE__ */ jsxs22(Table2, { ...props, className: (0, import_classnames28.default)(DataTable_default.datatable, className), children: [
32476
+ /* @__PURE__ */ jsx42(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, label, as, hidden, width, ...columnProps }) => {
32431
32477
  if (hidden) {
32432
32478
  return null;
32433
32479
  }
32434
32480
  return /* @__PURE__ */ createElement8(TableColumn, { ...columnProps, key: id, id }, label);
32435
32481
  }) }),
32436
- /* @__PURE__ */ jsx41(TableBody, { children: items.map((row, index) => {
32437
- return /* @__PURE__ */ jsx41(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
32482
+ /* @__PURE__ */ jsx42(TableBody, { children: items.map((row, index) => {
32483
+ return /* @__PURE__ */ jsx42(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
32438
32484
  if (hidden) {
32439
32485
  return null;
32440
32486
  }
@@ -32444,7 +32490,7 @@ function DataTable({ data = [], className, children, ...props }) {
32444
32490
  {
32445
32491
  ...cellProps,
32446
32492
  key: id,
32447
- className: (0, import_classnames27.default)(DataTable_default.cell, className2)
32493
+ className: (0, import_classnames28.default)(DataTable_default.cell, className2)
32448
32494
  },
32449
32495
  as ? createElement7(as, {}, value) : value
32450
32496
  );
@@ -32457,40 +32503,40 @@ function DataColumn(props) {
32457
32503
  }
32458
32504
 
32459
32505
  // src/components/Dots.tsx
32460
- var import_classnames28 = __toESM(require_classnames());
32506
+ var import_classnames29 = __toESM(require_classnames());
32461
32507
 
32462
32508
  // css-modules:E:\dev\umami-react-zen\src\components\Dots.module.css
32463
32509
  var Dots_default = { "dots": "Dots_dots__ZjI3Y", "size-sm": "Dots_size-sm__ZTRjY", "size-md": "Dots_size-md__MmRkZ", "size-lg": "Dots_size-lg__MGJmY", "dot": "Dots_dot__ZDRiM", "dots-blink": "Dots_dots-blink__MWU4Z" };
32464
32510
 
32465
32511
  // src/components/Dots.tsx
32466
- import { jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
32512
+ import { jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
32467
32513
  function Dots({ size = "md", className, ...props }) {
32468
- return /* @__PURE__ */ jsxs23("div", { ...props, className: (0, import_classnames28.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
32469
- /* @__PURE__ */ jsx42("div", { className: Dots_default.dot }),
32470
- /* @__PURE__ */ jsx42("div", { className: Dots_default.dot }),
32471
- /* @__PURE__ */ jsx42("div", { className: Dots_default.dot })
32514
+ return /* @__PURE__ */ jsxs23("div", { ...props, className: (0, import_classnames29.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
32515
+ /* @__PURE__ */ jsx43("div", { className: Dots_default.dot }),
32516
+ /* @__PURE__ */ jsx43("div", { className: Dots_default.dot }),
32517
+ /* @__PURE__ */ jsx43("div", { className: Dots_default.dot })
32472
32518
  ] });
32473
32519
  }
32474
32520
 
32475
32521
  // src/components/FloatingTooltip.tsx
32476
- var import_classnames30 = __toESM(require_classnames());
32522
+ var import_classnames31 = __toESM(require_classnames());
32477
32523
  import { useEffect as useEffect10, useState as useState11 } from "react";
32478
32524
 
32479
32525
  // src/components/Tooltip.tsx
32480
- var import_classnames29 = __toESM(require_classnames());
32526
+ var import_classnames30 = __toESM(require_classnames());
32481
32527
 
32482
32528
  // css-modules:E:\dev\umami-react-zen\src\components\Tooltip.module.css
32483
32529
  var Tooltip_default = { "tooltip": "Tooltip_tooltip__YmY4Z", "bubble": "Tooltip_bubble__MWE0N", "arrow": "Tooltip_arrow__OGM1M", "slide": "Tooltip_slide__MGVmY" };
32484
32530
 
32485
32531
  // src/components/Tooltip.tsx
32486
- import { jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
32532
+ import { jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
32487
32533
  function Tooltip2({ children, className, showArrow, ...props }) {
32488
- return /* @__PURE__ */ jsx43($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames29.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ jsx43(TooltipBubble, { showArrow, children }) });
32534
+ return /* @__PURE__ */ jsx44($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames30.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ jsx44(TooltipBubble, { showArrow, children }) });
32489
32535
  }
32490
32536
  function TooltipBubble({ showArrow, children, ...props }) {
32491
32537
  return /* @__PURE__ */ jsxs24("div", { ...props, children: [
32492
- showArrow && /* @__PURE__ */ jsx43($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ jsx43("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx43("path", { d: "M0 0 L4 4 L8 0" }) }) }),
32493
- /* @__PURE__ */ jsx43("div", { className: Tooltip_default.bubble, children })
32538
+ showArrow && /* @__PURE__ */ jsx44($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ jsx44("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx44("path", { d: "M0 0 L4 4 L8 0" }) }) }),
32539
+ /* @__PURE__ */ jsx44("div", { className: Tooltip_default.bubble, children })
32494
32540
  ] });
32495
32541
  }
32496
32542
 
@@ -32498,7 +32544,7 @@ function TooltipBubble({ showArrow, children, ...props }) {
32498
32544
  var FloatingTooltip_default = { "floating": "FloatingTooltip_floating__ZjM4N" };
32499
32545
 
32500
32546
  // src/components/FloatingTooltip.tsx
32501
- import { jsx as jsx44 } from "react/jsx-runtime";
32547
+ import { jsx as jsx45 } from "react/jsx-runtime";
32502
32548
  function FloatingTooltip({ className, style, children, ...props }) {
32503
32549
  const [position, setPosition] = useState11({ x: -1e3, y: -1e3 });
32504
32550
  useEffect10(() => {
@@ -32510,55 +32556,17 @@ function FloatingTooltip({ className, style, children, ...props }) {
32510
32556
  document.removeEventListener("mousemove", handler);
32511
32557
  };
32512
32558
  }, []);
32513
- return /* @__PURE__ */ jsx44(
32559
+ return /* @__PURE__ */ jsx45(
32514
32560
  TooltipBubble,
32515
32561
  {
32516
32562
  ...props,
32517
- className: (0, import_classnames30.default)(FloatingTooltip_default.floating, className, "BALLLLSSSS"),
32563
+ className: (0, import_classnames31.default)(FloatingTooltip_default.floating, className, "BALLLLSSSS"),
32518
32564
  style: { ...style, left: position.x, top: position.y },
32519
32565
  children
32520
32566
  }
32521
32567
  );
32522
32568
  }
32523
32569
 
32524
- // src/components/Grid.tsx
32525
- var import_classnames31 = __toESM(require_classnames());
32526
- import { jsx as jsx45 } from "react/jsx-runtime";
32527
- function Grid({
32528
- display = "grid",
32529
- justifyContent,
32530
- justifyItems,
32531
- alignContent,
32532
- alignItems,
32533
- gap,
32534
- gapX,
32535
- gapY,
32536
- autoFlow,
32537
- rows,
32538
- columns,
32539
- areas,
32540
- className,
32541
- style,
32542
- children,
32543
- ...props
32544
- }) {
32545
- const [classes, styleProps] = useDesignProps({
32546
- display,
32547
- justifyContent,
32548
- justifyItems,
32549
- alignContent,
32550
- alignItems,
32551
- gap,
32552
- gapX,
32553
- gapY,
32554
- gridTemplateRows: rows,
32555
- gridTemplateColumns: columns,
32556
- gridTemplateAreas: areas,
32557
- gridAutoFlow: autoFlow
32558
- });
32559
- return /* @__PURE__ */ jsx45(Box, { ...props, className: (0, import_classnames31.default)(className, classes), style: { ...styleProps, ...style }, children });
32560
- }
32561
-
32562
32570
  // src/components/Heading.tsx
32563
32571
  var import_classnames32 = __toESM(require_classnames());
32564
32572
 
@@ -33164,6 +33172,7 @@ function Select2({
33164
33172
  };
33165
33173
  const handleOpenChange = () => {
33166
33174
  setSearch("");
33175
+ onSearch?.("");
33167
33176
  };
33168
33177
  return /* @__PURE__ */ jsxs36(
33169
33178
  $82d7e5349645de74$export$ef9b1a59e592288f,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "0.165.0",
3
+ "version": "0.167.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",