@marigold/components 6.9.1 → 6.10.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.js CHANGED
@@ -76,13 +76,14 @@ __export(src_exports, {
76
76
  Popover: () => Popover,
77
77
  Radio: () => _Radio,
78
78
  RadioGroup: () => _RadioGroup,
79
+ SearchField: () => _SearchField,
79
80
  Select: () => Select,
80
81
  Slider: () => _Slider,
81
82
  Split: () => Split,
82
83
  Stack: () => Stack,
83
84
  Switch: () => _Switch,
84
85
  Table: () => Table,
85
- Tabs: () => Tabs,
86
+ Tabs: () => _Tabs,
86
87
  Tag: () => Tag2,
87
88
  Text: () => Text2,
88
89
  TextArea: () => _TextArea,
@@ -95,8 +96,6 @@ __export(src_exports, {
95
96
  Underlay: () => Underlay,
96
97
  VisuallyHidden: () => import_visually_hidden.VisuallyHidden,
97
98
  XLoader: () => XLoader,
98
- _Slider: () => _Slider,
99
- _TextArea: () => _TextArea,
100
99
  useAsyncList: () => import_data.useAsyncList,
101
100
  useFieldGroupContext: () => useFieldGroupContext,
102
101
  useListData: () => import_data.useListData,
@@ -680,20 +679,18 @@ var ListBox = (0, import_react10.forwardRef)(
680
679
  const innerRef = (0, import_utils6.useObjectRef)(ref);
681
680
  const { listBoxProps } = (0, import_listbox3.useListBox)(props, state, innerRef);
682
681
  const classNames2 = (0, import_system11.useClassNames)({ component: "ListBox", variant, size });
683
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ListBoxContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: classNames2.container, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
684
- "ul",
682
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ListBoxContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
683
+ "div",
685
684
  {
686
685
  className: (0, import_system11.cn)(
687
- "overflow-y-auto sm:max-h-[75vh] lg:max-h-[45vh]",
688
- classNames2.list
686
+ "overflow-y-auto overflow-x-hidden",
687
+ classNames2.container
689
688
  ),
690
- ref: innerRef,
691
- ...listBoxProps,
692
- children: [...state.collection].map(
689
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("ul", { className: classNames2.list, ref: innerRef, ...listBoxProps, children: [...state.collection].map(
693
690
  (item) => item.type === "section" ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ListBoxSection, { section: item, state }, item.key) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ListBoxOption, { item, state }, item.key)
694
- )
691
+ ) })
695
692
  }
696
- ) }) });
693
+ ) });
697
694
  }
698
695
  );
699
696
 
@@ -824,7 +821,10 @@ var PopoverWrapper = (0, import_react13.forwardRef)(
824
821
  "div",
825
822
  {
826
823
  ...popoverProps,
827
- className: classNames2,
824
+ className: (0, import_system15.cn)(
825
+ "flex flex-col sm:max-h-[75vh] lg:max-h-[45vh]",
826
+ classNames2
827
+ ),
828
828
  style: {
829
829
  ...popoverProps.style,
830
830
  minWidth: props.triggerRef.current ? props.triggerRef.current.offsetWidth : void 0
@@ -3055,8 +3055,37 @@ var _Radio = (0, import_react40.forwardRef)(
3055
3055
  );
3056
3056
  _Radio.Group = _RadioGroup;
3057
3057
 
3058
- // src/Select/Select.tsx
3058
+ // src/SearchField/SearchField.tsx
3059
3059
  var import_react41 = require("react");
3060
+ var import_react_aria_components19 = require("react-aria-components");
3061
+ var import_jsx_runtime68 = require("react/jsx-runtime");
3062
+ var SearchIcon2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3063
+ "svg",
3064
+ {
3065
+ xmlns: "http://www.w3.org/2000/svg",
3066
+ viewBox: "0 0 24 24",
3067
+ fill: "currentColor",
3068
+ width: 24,
3069
+ height: 24,
3070
+ ...props,
3071
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { d: "M16.1865 14.5142H15.3057L14.9936 14.2131C16.0862 12.9421 16.744 11.292 16.744 9.497C16.744 5.49443 13.4996 2.25 9.497 2.25C5.49443 2.25 2.25 5.49443 2.25 9.497C2.25 13.4996 5.49443 16.744 9.497 16.744C11.292 16.744 12.9421 16.0862 14.2131 14.9936L14.5142 15.3057V16.1865L20.0888 21.75L21.75 20.0888L16.1865 14.5142ZM9.49701 14.5142C6.72085 14.5142 4.47986 12.2732 4.47986 9.49701C4.47986 6.72085 6.72085 4.47986 9.49701 4.47986C12.2732 4.47986 14.5142 6.72085 14.5142 9.49701C14.5142 12.2732 12.2732 14.5142 9.49701 14.5142Z" })
3072
+ }
3073
+ );
3074
+ var _SearchField = (0, import_react41.forwardRef)(
3075
+ ({ disabled, required, readOnly, error, action, ...rest }, ref) => {
3076
+ const props = {
3077
+ ...rest,
3078
+ isDisabled: disabled,
3079
+ isRequired: required,
3080
+ isReadOnly: readOnly,
3081
+ isInvalid: error
3082
+ };
3083
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(FieldBase2, { as: import_react_aria_components19.SearchField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(_Input, { ref, icon: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(SearchIcon2, {}) }) });
3084
+ }
3085
+ );
3086
+
3087
+ // src/Select/Select.tsx
3088
+ var import_react42 = require("react");
3060
3089
  var import_button3 = require("@react-aria/button");
3061
3090
  var import_focus8 = require("@react-aria/focus");
3062
3091
  var import_i18n8 = require("@react-aria/i18n");
@@ -3077,8 +3106,8 @@ var messages = {
3077
3106
  };
3078
3107
 
3079
3108
  // src/Select/Select.tsx
3080
- var import_jsx_runtime68 = require("react/jsx-runtime");
3081
- var Select = (0, import_react41.forwardRef)(
3109
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3110
+ var Select = (0, import_react42.forwardRef)(
3082
3111
  ({
3083
3112
  variant,
3084
3113
  size,
@@ -3101,7 +3130,7 @@ var Select = (0, import_react41.forwardRef)(
3101
3130
  ...rest
3102
3131
  };
3103
3132
  const buttonRef = (0, import_utils16.useObjectRef)(ref);
3104
- const listboxRef = (0, import_react41.useRef)(null);
3133
+ const listboxRef = (0, import_react42.useRef)(null);
3105
3134
  const state = (0, import_select2.useSelectState)(props);
3106
3135
  const {
3107
3136
  labelProps,
@@ -3125,7 +3154,7 @@ var Select = (0, import_react41.forwardRef)(
3125
3154
  expanded: state.isOpen,
3126
3155
  required
3127
3156
  });
3128
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
3157
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
3129
3158
  FieldBase,
3130
3159
  {
3131
3160
  variant,
@@ -3141,7 +3170,7 @@ var Select = (0, import_react41.forwardRef)(
3141
3170
  stateProps,
3142
3171
  disabled,
3143
3172
  children: [
3144
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3173
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3145
3174
  import_select.HiddenSelect,
3146
3175
  {
3147
3176
  state,
@@ -3151,7 +3180,7 @@ var Select = (0, import_react41.forwardRef)(
3151
3180
  isDisabled: disabled
3152
3181
  }
3153
3182
  ),
3154
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
3183
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
3155
3184
  "button",
3156
3185
  {
3157
3186
  className: (0, import_system58.cn)(
@@ -3162,12 +3191,12 @@ var Select = (0, import_react41.forwardRef)(
3162
3191
  ...(0, import_utils16.mergeProps)(buttonProps, focusProps),
3163
3192
  ...stateProps,
3164
3193
  children: [
3165
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "overflow-hidden whitespace-nowrap", ...valueProps, children: state.selectedItem ? state.selectedItem.rendered : props.placeholder }),
3166
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ChevronDown, { className: "h-4 w-4" })
3194
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "overflow-hidden whitespace-nowrap", ...valueProps, children: state.selectedItem ? state.selectedItem.rendered : props.placeholder }),
3195
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ChevronDown, { className: "h-4 w-4" })
3167
3196
  ]
3168
3197
  }
3169
3198
  ),
3170
- isSmallScreen ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Tray, { state, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3199
+ isSmallScreen ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Tray, { state, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3171
3200
  ListBox,
3172
3201
  {
3173
3202
  ref: listboxRef,
@@ -3176,7 +3205,7 @@ var Select = (0, import_react41.forwardRef)(
3176
3205
  size,
3177
3206
  ...menuProps
3178
3207
  }
3179
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Popover, { state, triggerRef: buttonRef, scrollRef: listboxRef, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3208
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Popover, { state, triggerRef: buttonRef, scrollRef: listboxRef, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3180
3209
  ListBox,
3181
3210
  {
3182
3211
  ref: listboxRef,
@@ -3195,11 +3224,11 @@ Select.Option = import_collections5.Item;
3195
3224
  Select.Section = import_collections5.Section;
3196
3225
 
3197
3226
  // src/Slider/Slider.tsx
3198
- var import_react42 = require("react");
3199
- var import_react_aria_components19 = require("react-aria-components");
3227
+ var import_react43 = require("react");
3228
+ var import_react_aria_components20 = require("react-aria-components");
3200
3229
  var import_system59 = require("@marigold/system");
3201
- var import_jsx_runtime69 = require("react/jsx-runtime");
3202
- var _Slider = (0, import_react42.forwardRef)(
3230
+ var import_jsx_runtime70 = require("react/jsx-runtime");
3231
+ var _Slider = (0, import_react43.forwardRef)(
3203
3232
  ({
3204
3233
  thumbLabels,
3205
3234
  variant,
@@ -3217,8 +3246,8 @@ var _Slider = (0, import_react42.forwardRef)(
3217
3246
  isDisabled: disabled,
3218
3247
  ...rest
3219
3248
  };
3220
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
3221
- import_react_aria_components19.Slider,
3249
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
3250
+ import_react_aria_components20.Slider,
3222
3251
  {
3223
3252
  className: (0, import_system59.cn)(
3224
3253
  "grid grid-cols-[auto_1fr] gap-y-1",
@@ -3228,14 +3257,14 @@ var _Slider = (0, import_react42.forwardRef)(
3228
3257
  ref,
3229
3258
  ...props,
3230
3259
  children: [
3231
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(_Label, { children: props.children }),
3232
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react_aria_components19.SliderOutput, { className: (0, import_system59.cn)("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
3233
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3234
- import_react_aria_components19.SliderTrack,
3260
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(_Label, { children: props.children }),
3261
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_aria_components20.SliderOutput, { className: (0, import_system59.cn)("flex justify-end", classNames2.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
3262
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3263
+ import_react_aria_components20.SliderTrack,
3235
3264
  {
3236
3265
  className: (0, import_system59.cn)("relative col-span-2 h-2 w-full", classNames2.track),
3237
- children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3238
- import_react_aria_components19.SliderThumb,
3266
+ children: ({ state }) => state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3267
+ import_react_aria_components20.SliderThumb,
3239
3268
  {
3240
3269
  className: (0, import_system59.cn)("top-1/2 cursor-pointer", classNames2.thumb),
3241
3270
  index: i,
@@ -3252,12 +3281,12 @@ var _Slider = (0, import_react42.forwardRef)(
3252
3281
  );
3253
3282
 
3254
3283
  // src/Split/Split.tsx
3255
- var import_jsx_runtime70 = require("react/jsx-runtime");
3256
- var Split = (props) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { ...props, role: "separator", className: "grow" });
3284
+ var import_jsx_runtime71 = require("react/jsx-runtime");
3285
+ var Split = (props) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { ...props, role: "separator", className: "grow" });
3257
3286
 
3258
3287
  // src/Stack/Stack.tsx
3259
3288
  var import_system60 = require("@marigold/system");
3260
- var import_jsx_runtime71 = require("react/jsx-runtime");
3289
+ var import_jsx_runtime72 = require("react/jsx-runtime");
3261
3290
  var Stack = ({
3262
3291
  children,
3263
3292
  space = 0,
@@ -3268,7 +3297,7 @@ var Stack = ({
3268
3297
  ...props
3269
3298
  }) => {
3270
3299
  var _a, _b, _c, _d;
3271
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3300
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3272
3301
  "div",
3273
3302
  {
3274
3303
  className: (0, import_system60.cn)(
@@ -3285,11 +3314,11 @@ var Stack = ({
3285
3314
  };
3286
3315
 
3287
3316
  // src/Switch/Switch.tsx
3288
- var import_react43 = require("react");
3289
- var import_react_aria_components20 = require("react-aria-components");
3317
+ var import_react44 = require("react");
3318
+ var import_react_aria_components21 = require("react-aria-components");
3290
3319
  var import_system61 = require("@marigold/system");
3291
- var import_jsx_runtime72 = require("react/jsx-runtime");
3292
- var _Switch = (0, import_react43.forwardRef)(
3320
+ var import_jsx_runtime73 = require("react/jsx-runtime");
3321
+ var _Switch = (0, import_react44.forwardRef)(
3293
3322
  ({
3294
3323
  variant,
3295
3324
  size,
@@ -3307,8 +3336,8 @@ var _Switch = (0, import_react43.forwardRef)(
3307
3336
  isSelected: selected,
3308
3337
  ...rest
3309
3338
  };
3310
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
3311
- import_react_aria_components20.Switch,
3339
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
3340
+ import_react_aria_components21.Switch,
3312
3341
  {
3313
3342
  ...props,
3314
3343
  ref,
@@ -3319,15 +3348,15 @@ var _Switch = (0, import_react43.forwardRef)(
3319
3348
  classNames2.container
3320
3349
  ),
3321
3350
  children: [
3322
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(_Label, { elementType: "span", children }),
3323
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3351
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(_Label, { elementType: "span", children }),
3352
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3324
3353
  "div",
3325
3354
  {
3326
3355
  className: (0, import_system61.cn)(
3327
3356
  "h-6 w-12 basis-12 rounded-3xl group-disabled/switch:cursor-not-allowed ",
3328
3357
  classNames2.track
3329
3358
  ),
3330
- children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3359
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3331
3360
  "div",
3332
3361
  {
3333
3362
  className: (0, import_system61.cn)(
@@ -3349,33 +3378,33 @@ var _Switch = (0, import_react43.forwardRef)(
3349
3378
  );
3350
3379
 
3351
3380
  // src/Table/Table.tsx
3352
- var import_react51 = require("react");
3381
+ var import_react52 = require("react");
3353
3382
  var import_table9 = require("@react-aria/table");
3354
3383
  var import_table10 = require("@react-stately/table");
3355
3384
  var import_system68 = require("@marigold/system");
3356
3385
 
3357
3386
  // src/Table/Context.tsx
3358
- var import_react44 = require("react");
3359
- var TableContext = (0, import_react44.createContext)({});
3360
- var useTableContext = () => (0, import_react44.useContext)(TableContext);
3387
+ var import_react45 = require("react");
3388
+ var TableContext = (0, import_react45.createContext)({});
3389
+ var useTableContext = () => (0, import_react45.useContext)(TableContext);
3361
3390
 
3362
3391
  // src/Table/TableBody.tsx
3363
3392
  var import_table = require("@react-aria/table");
3364
- var import_jsx_runtime73 = require("react/jsx-runtime");
3393
+ var import_jsx_runtime74 = require("react/jsx-runtime");
3365
3394
  var TableBody = ({ children }) => {
3366
3395
  const { rowGroupProps } = (0, import_table.useTableRowGroup)();
3367
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("tbody", { ...rowGroupProps, children });
3396
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("tbody", { ...rowGroupProps, children });
3368
3397
  };
3369
3398
 
3370
3399
  // src/Table/TableCell.tsx
3371
- var import_react45 = require("react");
3400
+ var import_react46 = require("react");
3372
3401
  var import_focus9 = require("@react-aria/focus");
3373
3402
  var import_table2 = require("@react-aria/table");
3374
3403
  var import_utils17 = require("@react-aria/utils");
3375
3404
  var import_system62 = require("@marigold/system");
3376
- var import_jsx_runtime74 = require("react/jsx-runtime");
3405
+ var import_jsx_runtime75 = require("react/jsx-runtime");
3377
3406
  var TableCell = ({ cell }) => {
3378
- const ref = (0, import_react45.useRef)(null);
3407
+ const ref = (0, import_react46.useRef)(null);
3379
3408
  const { interactive, state, classNames: classNames2 } = useTableContext();
3380
3409
  const disabled = state.disabledKeys.has(cell.parentKey);
3381
3410
  const { gridCellProps } = (0, import_table2.useTableCell)(
@@ -3396,7 +3425,7 @@ var TableCell = ({ cell }) => {
3396
3425
  };
3397
3426
  const { focusProps, isFocusVisible } = (0, import_focus9.useFocusRing)();
3398
3427
  const stateProps = (0, import_system62.useStateProps)({ disabled, focusVisible: isFocusVisible });
3399
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
3428
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
3400
3429
  "td",
3401
3430
  {
3402
3431
  ref,
@@ -3409,7 +3438,7 @@ var TableCell = ({ cell }) => {
3409
3438
  };
3410
3439
 
3411
3440
  // src/Table/TableCheckboxCell.tsx
3412
- var import_react46 = require("react");
3441
+ var import_react47 = require("react");
3413
3442
  var import_focus10 = require("@react-aria/focus");
3414
3443
  var import_table3 = require("@react-aria/table");
3415
3444
  var import_utils18 = require("@react-aria/utils");
@@ -3436,9 +3465,9 @@ var mapCheckboxProps = ({
3436
3465
  };
3437
3466
 
3438
3467
  // src/Table/TableCheckboxCell.tsx
3439
- var import_jsx_runtime75 = require("react/jsx-runtime");
3468
+ var import_jsx_runtime76 = require("react/jsx-runtime");
3440
3469
  var TableCheckboxCell = ({ cell }) => {
3441
- const ref = (0, import_react46.useRef)(null);
3470
+ const ref = (0, import_react47.useRef)(null);
3442
3471
  const { state, classNames: classNames2 } = useTableContext();
3443
3472
  const disabled = state.disabledKeys.has(cell.parentKey);
3444
3473
  const { gridCellProps } = (0, import_table3.useTableCell)(
@@ -3453,20 +3482,20 @@ var TableCheckboxCell = ({ cell }) => {
3453
3482
  );
3454
3483
  const { focusProps, isFocusVisible } = (0, import_focus10.useFocusRing)();
3455
3484
  const stateProps = (0, import_system63.useStateProps)({ disabled, focusVisible: isFocusVisible });
3456
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
3485
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3457
3486
  "td",
3458
3487
  {
3459
3488
  ref,
3460
3489
  className: (0, import_system63.cn)("text-center align-middle leading-none", classNames2 == null ? void 0 : classNames2.cell),
3461
3490
  ...(0, import_utils18.mergeProps)(gridCellProps, focusProps),
3462
3491
  ...stateProps,
3463
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(_Checkbox, { ...checkboxProps })
3492
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(_Checkbox, { ...checkboxProps })
3464
3493
  }
3465
3494
  );
3466
3495
  };
3467
3496
 
3468
3497
  // src/Table/TableColumnHeader.tsx
3469
- var import_react47 = require("react");
3498
+ var import_react48 = require("react");
3470
3499
  var import_focus11 = require("@react-aria/focus");
3471
3500
  var import_interactions5 = require("@react-aria/interactions");
3472
3501
  var import_table4 = require("@react-aria/table");
@@ -3474,13 +3503,13 @@ var import_utils20 = require("@react-aria/utils");
3474
3503
  var import_icons2 = require("@marigold/icons");
3475
3504
  var import_system64 = require("@marigold/system");
3476
3505
  var import_system65 = require("@marigold/system");
3477
- var import_jsx_runtime76 = require("react/jsx-runtime");
3506
+ var import_jsx_runtime77 = require("react/jsx-runtime");
3478
3507
  var TableColumnHeader = ({
3479
3508
  column,
3480
3509
  width = "auto"
3481
3510
  }) => {
3482
3511
  var _a, _b;
3483
- const ref = (0, import_react47.useRef)(null);
3512
+ const ref = (0, import_react48.useRef)(null);
3484
3513
  const { state, classNames: classNames2 } = useTableContext();
3485
3514
  const { columnHeaderProps } = (0, import_table4.useTableColumnHeader)(
3486
3515
  {
@@ -3495,7 +3524,7 @@ var TableColumnHeader = ({
3495
3524
  hover: isHovered,
3496
3525
  focusVisible: isFocusVisible
3497
3526
  });
3498
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
3527
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
3499
3528
  "th",
3500
3529
  {
3501
3530
  colSpan: column.colspan,
@@ -3505,7 +3534,7 @@ var TableColumnHeader = ({
3505
3534
  ...stateProps,
3506
3535
  children: [
3507
3536
  column.rendered,
3508
- column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_icons2.SortUp, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_icons2.SortDown, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_icons2.SortDown, { className: "inline-block" }))
3537
+ column.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_icons2.SortUp, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_icons2.SortDown, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_icons2.SortDown, { className: "inline-block" }))
3509
3538
  ]
3510
3539
  }
3511
3540
  );
@@ -3513,33 +3542,33 @@ var TableColumnHeader = ({
3513
3542
 
3514
3543
  // src/Table/TableHeader.tsx
3515
3544
  var import_table5 = require("@react-aria/table");
3516
- var import_jsx_runtime77 = require("react/jsx-runtime");
3545
+ var import_jsx_runtime78 = require("react/jsx-runtime");
3517
3546
  var TableHeader = ({ children }) => {
3518
3547
  const { rowGroupProps } = (0, import_table5.useTableRowGroup)();
3519
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("thead", { ...rowGroupProps, children });
3548
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("thead", { ...rowGroupProps, children });
3520
3549
  };
3521
3550
 
3522
3551
  // src/Table/TableHeaderRow.tsx
3523
- var import_react48 = require("react");
3552
+ var import_react49 = require("react");
3524
3553
  var import_table6 = require("@react-aria/table");
3525
- var import_jsx_runtime78 = require("react/jsx-runtime");
3554
+ var import_jsx_runtime79 = require("react/jsx-runtime");
3526
3555
  var TableHeaderRow = ({ item, children }) => {
3527
3556
  const { state } = useTableContext();
3528
- const ref = (0, import_react48.useRef)(null);
3557
+ const ref = (0, import_react49.useRef)(null);
3529
3558
  const { rowProps } = (0, import_table6.useTableHeaderRow)({ node: item }, state, ref);
3530
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("tr", { ...rowProps, ref, children });
3559
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("tr", { ...rowProps, ref, children });
3531
3560
  };
3532
3561
 
3533
3562
  // src/Table/TableRow.tsx
3534
- var import_react49 = require("react");
3563
+ var import_react50 = require("react");
3535
3564
  var import_focus12 = require("@react-aria/focus");
3536
3565
  var import_interactions6 = require("@react-aria/interactions");
3537
3566
  var import_table7 = require("@react-aria/table");
3538
3567
  var import_utils21 = require("@react-aria/utils");
3539
3568
  var import_system66 = require("@marigold/system");
3540
- var import_jsx_runtime79 = require("react/jsx-runtime");
3569
+ var import_jsx_runtime80 = require("react/jsx-runtime");
3541
3570
  var TableRow = ({ children, row }) => {
3542
- const ref = (0, import_react49.useRef)(null);
3571
+ const ref = (0, import_react50.useRef)(null);
3543
3572
  const { interactive, state, ...ctx } = useTableContext();
3544
3573
  const { variant, size } = row.props;
3545
3574
  const classNames2 = (0, import_system66.useClassNames)({
@@ -3567,7 +3596,7 @@ var TableRow = ({ children, row }) => {
3567
3596
  focusVisible: isFocusVisible,
3568
3597
  active: isPressed
3569
3598
  });
3570
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3599
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
3571
3600
  "tr",
3572
3601
  {
3573
3602
  ref,
@@ -3585,18 +3614,18 @@ var TableRow = ({ children, row }) => {
3585
3614
  };
3586
3615
 
3587
3616
  // src/Table/TableSelectAllCell.tsx
3588
- var import_react50 = require("react");
3617
+ var import_react51 = require("react");
3589
3618
  var import_focus13 = require("@react-aria/focus");
3590
3619
  var import_interactions7 = require("@react-aria/interactions");
3591
3620
  var import_table8 = require("@react-aria/table");
3592
3621
  var import_utils22 = require("@react-aria/utils");
3593
3622
  var import_system67 = require("@marigold/system");
3594
- var import_jsx_runtime80 = require("react/jsx-runtime");
3623
+ var import_jsx_runtime81 = require("react/jsx-runtime");
3595
3624
  var TableSelectAllCell = ({
3596
3625
  column,
3597
3626
  width = "auto"
3598
3627
  }) => {
3599
- const ref = (0, import_react50.useRef)(null);
3628
+ const ref = (0, import_react51.useRef)(null);
3600
3629
  const { state, classNames: classNames2 } = useTableContext();
3601
3630
  const { columnHeaderProps } = (0, import_table8.useTableColumnHeader)(
3602
3631
  {
@@ -3612,7 +3641,7 @@ var TableSelectAllCell = ({
3612
3641
  hover: isHovered,
3613
3642
  focusVisible: isFocusVisible
3614
3643
  });
3615
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
3644
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3616
3645
  "th",
3617
3646
  {
3618
3647
  ref,
@@ -3623,13 +3652,13 @@ var TableSelectAllCell = ({
3623
3652
  ),
3624
3653
  ...(0, import_utils22.mergeProps)(columnHeaderProps, hoverProps, focusProps),
3625
3654
  ...stateProps,
3626
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(_Checkbox, { ...checkboxProps })
3655
+ children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(_Checkbox, { ...checkboxProps })
3627
3656
  }
3628
3657
  );
3629
3658
  };
3630
3659
 
3631
3660
  // src/Table/Table.tsx
3632
- var import_jsx_runtime81 = require("react/jsx-runtime");
3661
+ var import_jsx_runtime82 = require("react/jsx-runtime");
3633
3662
  var Table = ({
3634
3663
  variant,
3635
3664
  size,
@@ -3638,7 +3667,7 @@ var Table = ({
3638
3667
  ...props
3639
3668
  }) => {
3640
3669
  const interactive = selectionMode !== "none";
3641
- const tableRef = (0, import_react51.useRef)(null);
3670
+ const tableRef = (0, import_react52.useRef)(null);
3642
3671
  const state = (0, import_table10.useTableState)({
3643
3672
  ...props,
3644
3673
  selectionMode,
@@ -3652,11 +3681,11 @@ var Table = ({
3652
3681
  size
3653
3682
  });
3654
3683
  const { collection } = state;
3655
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3684
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
3656
3685
  TableContext.Provider,
3657
3686
  {
3658
3687
  value: { state, interactive, classNames: classNames2, variant, size },
3659
- children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
3688
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
3660
3689
  "table",
3661
3690
  {
3662
3691
  ref: tableRef,
@@ -3668,17 +3697,17 @@ var Table = ({
3668
3697
  ),
3669
3698
  ...gridProps,
3670
3699
  children: [
3671
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(TableHeader, { children: collection.headerRows.map((headerRow) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3700
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TableHeader, { children: collection.headerRows.map((headerRow) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TableHeaderRow, { item: headerRow, children: [...collection.getChildren(headerRow.key)].map(
3672
3701
  (column) => {
3673
3702
  var _a, _b, _c;
3674
- return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3703
+ return ((_a = column.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
3675
3704
  TableSelectAllCell,
3676
3705
  {
3677
3706
  width: (_b = column.props) == null ? void 0 : _b.width,
3678
3707
  column
3679
3708
  },
3680
3709
  column.key
3681
- ) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3710
+ ) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
3682
3711
  TableColumnHeader,
3683
3712
  {
3684
3713
  width: (_c = column.props) == null ? void 0 : _c.width,
@@ -3688,12 +3717,12 @@ var Table = ({
3688
3717
  );
3689
3718
  }
3690
3719
  ) }, headerRow.key)) }),
3691
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(TableBody, { children: [
3720
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(TableBody, { children: [
3692
3721
  ...collection.rows.map(
3693
- (row) => row.type === "item" && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(TableRow, { row, children: [...collection.getChildren(row.key)].map(
3722
+ (row) => row.type === "item" && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TableRow, { row, children: [...collection.getChildren(row.key)].map(
3694
3723
  (cell) => {
3695
3724
  var _a;
3696
- return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(TableCell, { cell }, cell.key);
3725
+ return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TableCell, { cell }, cell.key);
3697
3726
  }
3698
3727
  ) }, row.key)
3699
3728
  )
@@ -3712,7 +3741,7 @@ Table.Row = import_table10.Row;
3712
3741
 
3713
3742
  // src/Text/Text.tsx
3714
3743
  var import_system69 = require("@marigold/system");
3715
- var import_jsx_runtime82 = require("react/jsx-runtime");
3744
+ var import_jsx_runtime83 = require("react/jsx-runtime");
3716
3745
  var Text2 = ({
3717
3746
  variant,
3718
3747
  size,
@@ -3731,7 +3760,7 @@ var Text2 = ({
3731
3760
  variant,
3732
3761
  size
3733
3762
  });
3734
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
3763
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3735
3764
  "p",
3736
3765
  {
3737
3766
  ...props,
@@ -3758,11 +3787,11 @@ var Text2 = ({
3758
3787
  };
3759
3788
 
3760
3789
  // src/TextArea/TextArea.tsx
3761
- var import_react52 = require("react");
3762
- var import_react_aria_components21 = require("react-aria-components");
3790
+ var import_react53 = require("react");
3791
+ var import_react_aria_components22 = require("react-aria-components");
3763
3792
  var import_system70 = require("@marigold/system");
3764
- var import_jsx_runtime83 = require("react/jsx-runtime");
3765
- var _TextArea = (0, import_react52.forwardRef)(
3793
+ var import_jsx_runtime84 = require("react/jsx-runtime");
3794
+ var _TextArea = (0, import_react53.forwardRef)(
3766
3795
  ({
3767
3796
  variant,
3768
3797
  size,
@@ -3781,15 +3810,15 @@ var _TextArea = (0, import_react52.forwardRef)(
3781
3810
  isRequired: required,
3782
3811
  ...rest
3783
3812
  };
3784
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(FieldBase2, { as: import_react_aria_components21.TextField, ...props, variant, size, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_react_aria_components21.TextArea, { className: classNames2, ref, rows }) });
3813
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(FieldBase2, { as: import_react_aria_components22.TextField, ...props, variant, size, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_react_aria_components22.TextArea, { className: classNames2, ref, rows }) });
3785
3814
  }
3786
3815
  );
3787
3816
 
3788
3817
  // src/TextField/TextField.tsx
3789
- var import_react53 = require("react");
3790
- var import_react_aria_components22 = require("react-aria-components");
3791
- var import_jsx_runtime84 = require("react/jsx-runtime");
3792
- var _TextField = (0, import_react53.forwardRef)(
3818
+ var import_react54 = require("react");
3819
+ var import_react_aria_components23 = require("react-aria-components");
3820
+ var import_jsx_runtime85 = require("react/jsx-runtime");
3821
+ var _TextField = (0, import_react54.forwardRef)(
3793
3822
  ({
3794
3823
  variant,
3795
3824
  size,
@@ -3806,13 +3835,13 @@ var _TextField = (0, import_react53.forwardRef)(
3806
3835
  isRequired: required,
3807
3836
  ...rest
3808
3837
  };
3809
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(FieldBase2, { as: import_react_aria_components22.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(_Input, { ref }) });
3838
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(FieldBase2, { as: import_react_aria_components23.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(_Input, { ref }) });
3810
3839
  }
3811
3840
  );
3812
3841
 
3813
3842
  // src/Tiles/Tiles.tsx
3814
3843
  var import_system71 = require("@marigold/system");
3815
- var import_jsx_runtime85 = require("react/jsx-runtime");
3844
+ var import_jsx_runtime86 = require("react/jsx-runtime");
3816
3845
  var Tiles = ({
3817
3846
  space = 0,
3818
3847
  stretch = false,
@@ -3825,7 +3854,7 @@ var Tiles = ({
3825
3854
  if (stretch) {
3826
3855
  column = `minmax(${column}, 1fr)`;
3827
3856
  }
3828
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
3857
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
3829
3858
  "div",
3830
3859
  {
3831
3860
  ...props,
@@ -3842,12 +3871,12 @@ var Tiles = ({
3842
3871
  };
3843
3872
 
3844
3873
  // src/Tooltip/Tooltip.tsx
3845
- var import_react_aria_components24 = require("react-aria-components");
3874
+ var import_react_aria_components25 = require("react-aria-components");
3846
3875
  var import_system72 = require("@marigold/system");
3847
3876
 
3848
3877
  // src/Tooltip/TooltipTrigger.tsx
3849
- var import_react_aria_components23 = require("react-aria-components");
3850
- var import_jsx_runtime86 = require("react/jsx-runtime");
3878
+ var import_react_aria_components24 = require("react-aria-components");
3879
+ var import_jsx_runtime87 = require("react/jsx-runtime");
3851
3880
  var _TooltipTrigger = ({
3852
3881
  delay = 1e3,
3853
3882
  children,
@@ -3861,19 +3890,19 @@ var _TooltipTrigger = ({
3861
3890
  isOpen: open,
3862
3891
  delay
3863
3892
  };
3864
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_aria_components23.TooltipTrigger, { ...props, children });
3893
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_aria_components24.TooltipTrigger, { ...props, children });
3865
3894
  };
3866
3895
 
3867
3896
  // src/Tooltip/Tooltip.tsx
3868
- var import_jsx_runtime87 = require("react/jsx-runtime");
3897
+ var import_jsx_runtime88 = require("react/jsx-runtime");
3869
3898
  var _Tooltip = ({ children, variant, size, open, ...rest }) => {
3870
3899
  const props = {
3871
3900
  ...rest,
3872
3901
  isOpen: open
3873
3902
  };
3874
3903
  const classNames2 = (0, import_system72.useClassNames)({ component: "Tooltip", variant, size });
3875
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_react_aria_components24.Tooltip, { ...props, className: (0, import_system72.cn)("group/tooltip", classNames2.container), children: [
3876
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_react_aria_components24.OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3904
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_react_aria_components25.Tooltip, { ...props, className: (0, import_system72.cn)("group/tooltip", classNames2.container), children: [
3905
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_react_aria_components25.OverlayArrow, { className: classNames2.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
3877
3906
  children
3878
3907
  ] });
3879
3908
  };
@@ -3883,30 +3912,30 @@ _Tooltip.Trigger = _TooltipTrigger;
3883
3912
  var import_collections6 = require("@react-stately/collections");
3884
3913
 
3885
3914
  // src/TagGroup/TagGroup.tsx
3886
- var import_react55 = require("react");
3915
+ var import_react56 = require("react");
3887
3916
  var import_tag2 = require("@react-aria/tag");
3888
3917
  var import_list = require("@react-stately/list");
3889
3918
  var import_system74 = require("@marigold/system");
3890
3919
 
3891
3920
  // src/TagGroup/Tag.tsx
3892
- var import_react54 = __toESM(require("react"));
3921
+ var import_react55 = __toESM(require("react"));
3893
3922
  var import_button4 = require("@react-aria/button");
3894
3923
  var import_focus14 = require("@react-aria/focus");
3895
3924
  var import_tag = require("@react-aria/tag");
3896
3925
  var import_utils24 = require("@react-aria/utils");
3897
3926
  var import_system73 = require("@marigold/system");
3898
- var import_jsx_runtime88 = require("react/jsx-runtime");
3927
+ var import_jsx_runtime89 = require("react/jsx-runtime");
3899
3928
  var CloseButton2 = ({ className, ...props }) => {
3900
- const ref = (0, import_react54.useRef)(null);
3929
+ const ref = (0, import_react55.useRef)(null);
3901
3930
  const { buttonProps } = (0, import_button4.useButton)({ ...props }, ref);
3902
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("button", { className, ...buttonProps, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
3931
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("button", { className, ...buttonProps, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
3903
3932
  };
3904
3933
  var Tag = ({ variant, size, item, state, ...rest }) => {
3905
3934
  const props = {
3906
3935
  item,
3907
3936
  ...rest
3908
3937
  };
3909
- let ref = import_react54.default.useRef(null);
3938
+ let ref = import_react55.default.useRef(null);
3910
3939
  let { focusProps } = (0, import_focus14.useFocusRing)({ within: true });
3911
3940
  const { rowProps, gridCellProps, allowsRemoving, removeButtonProps } = (0, import_tag.useTag)(
3912
3941
  {
@@ -3917,15 +3946,15 @@ var Tag = ({ variant, size, item, state, ...rest }) => {
3917
3946
  ref
3918
3947
  );
3919
3948
  const classNames2 = (0, import_system73.useClassNames)({ component: "Tag", variant, size });
3920
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3949
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3921
3950
  "span",
3922
3951
  {
3923
3952
  ref,
3924
3953
  ...(0, import_utils24.mergeProps)(rowProps, focusProps),
3925
3954
  className: classNames2.tag,
3926
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { ...gridCellProps, className: classNames2.gridCell, children: [
3927
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { children: item.rendered }),
3928
- allowsRemoving && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
3955
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { ...gridCellProps, className: classNames2.gridCell, children: [
3956
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { children: item.rendered }),
3957
+ allowsRemoving && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3929
3958
  CloseButton2,
3930
3959
  {
3931
3960
  ...removeButtonProps,
@@ -3938,8 +3967,8 @@ var Tag = ({ variant, size, item, state, ...rest }) => {
3938
3967
  };
3939
3968
 
3940
3969
  // src/TagGroup/TagGroup.tsx
3941
- var import_jsx_runtime89 = require("react/jsx-runtime");
3942
- var import_react56 = require("react");
3970
+ var import_jsx_runtime90 = require("react/jsx-runtime");
3971
+ var import_react57 = require("react");
3943
3972
  var TagGroup = ({
3944
3973
  width,
3945
3974
  required,
@@ -3952,14 +3981,14 @@ var TagGroup = ({
3952
3981
  validationState: error ? "invalid" : "valid",
3953
3982
  ...rest
3954
3983
  };
3955
- const inputRef = (0, import_react55.useRef)(null);
3984
+ const inputRef = (0, import_react56.useRef)(null);
3956
3985
  const state = (0, import_list.useListState)(props);
3957
3986
  const { gridProps, labelProps, descriptionProps, errorMessageProps } = (0, import_tag2.useTagGroup)(props, state, inputRef);
3958
3987
  const stateProps = (0, import_system74.useStateProps)({
3959
3988
  error,
3960
3989
  required
3961
3990
  });
3962
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
3991
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3963
3992
  FieldBase,
3964
3993
  {
3965
3994
  width,
@@ -3972,13 +4001,13 @@ var TagGroup = ({
3972
4001
  errorMessageProps,
3973
4002
  stateProps,
3974
4003
  ...gridProps,
3975
- children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
4004
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
3976
4005
  "div",
3977
4006
  {
3978
4007
  role: "presentation",
3979
4008
  ref: inputRef,
3980
4009
  className: "flex flex-wrap items-start gap-1",
3981
- children: [...state.collection].map((item) => /* @__PURE__ */ (0, import_react56.createElement)(
4010
+ children: [...state.collection].map((item) => /* @__PURE__ */ (0, import_react57.createElement)(
3982
4011
  Tag,
3983
4012
  {
3984
4013
  ...item.props,
@@ -4004,10 +4033,10 @@ Tag2.Group = TagGroup;
4004
4033
  var import_visually_hidden = require("@react-aria/visually-hidden");
4005
4034
 
4006
4035
  // src/XLoader/XLoader.tsx
4007
- var import_react57 = require("react");
4036
+ var import_react58 = require("react");
4008
4037
  var import_system75 = require("@marigold/system");
4009
- var import_jsx_runtime90 = require("react/jsx-runtime");
4010
- var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
4038
+ var import_jsx_runtime91 = require("react/jsx-runtime");
4039
+ var XLoader = (0, import_react58.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
4011
4040
  import_system75.SVG,
4012
4041
  {
4013
4042
  id: "XLoader",
@@ -4017,13 +4046,13 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4017
4046
  ...props,
4018
4047
  ...ref,
4019
4048
  children: [
4020
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
4021
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4049
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
4050
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4022
4051
  "path",
4023
4052
  {
4024
4053
  id: "XMLID_5_",
4025
4054
  d: "M124.3 12.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4026
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4055
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4027
4056
  "animate",
4028
4057
  {
4029
4058
  attributeName: "opacity",
@@ -4036,12 +4065,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4036
4065
  )
4037
4066
  }
4038
4067
  ),
4039
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4068
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4040
4069
  "path",
4041
4070
  {
4042
4071
  id: "XMLID_18_",
4043
4072
  d: "M115.9 24.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4044
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4073
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4045
4074
  "animate",
4046
4075
  {
4047
4076
  attributeName: "opacity",
@@ -4054,12 +4083,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4054
4083
  )
4055
4084
  }
4056
4085
  ),
4057
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4086
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4058
4087
  "path",
4059
4088
  {
4060
4089
  id: "XMLID_19_",
4061
4090
  d: "M107.5 35.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4062
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4091
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4063
4092
  "animate",
4064
4093
  {
4065
4094
  attributeName: "opacity",
@@ -4072,12 +4101,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4072
4101
  )
4073
4102
  }
4074
4103
  ),
4075
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4104
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4076
4105
  "path",
4077
4106
  {
4078
4107
  id: "XMLID_20_",
4079
4108
  d: "M99.1 47.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4080
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4109
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4081
4110
  "animate",
4082
4111
  {
4083
4112
  attributeName: "opacity",
@@ -4090,12 +4119,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4090
4119
  )
4091
4120
  }
4092
4121
  ),
4093
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4122
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4094
4123
  "path",
4095
4124
  {
4096
4125
  id: "XMLID_21_",
4097
4126
  d: "M90.7 59H90c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.8-2.2 4.9-4.9 4.9z",
4098
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4127
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4099
4128
  "animate",
4100
4129
  {
4101
4130
  attributeName: "opacity",
@@ -4108,12 +4137,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4108
4137
  )
4109
4138
  }
4110
4139
  ),
4111
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4140
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4112
4141
  "path",
4113
4142
  {
4114
4143
  id: "XMLID_22_",
4115
4144
  d: "M68 89.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.8c0 2.6-2.2 4.8-4.9 4.8z",
4116
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4145
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4117
4146
  "animate",
4118
4147
  {
4119
4148
  attributeName: "opacity",
@@ -4126,12 +4155,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4126
4155
  )
4127
4156
  }
4128
4157
  ),
4129
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4158
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4130
4159
  "path",
4131
4160
  {
4132
4161
  id: "XMLID_23_",
4133
4162
  d: "M59.6 101.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
4134
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4163
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4135
4164
  "animate",
4136
4165
  {
4137
4166
  attributeName: "opacity",
@@ -4144,12 +4173,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4144
4173
  )
4145
4174
  }
4146
4175
  ),
4147
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4176
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4148
4177
  "path",
4149
4178
  {
4150
4179
  id: "XMLID_24_",
4151
4180
  d: "M51.2 112.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
4152
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4181
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4153
4182
  "animate",
4154
4183
  {
4155
4184
  attributeName: "opacity",
@@ -4162,12 +4191,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4162
4191
  )
4163
4192
  }
4164
4193
  ),
4165
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4194
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4166
4195
  "path",
4167
4196
  {
4168
4197
  id: "XMLID_25_",
4169
4198
  d: "M42.8 124.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
4170
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4199
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4171
4200
  "animate",
4172
4201
  {
4173
4202
  attributeName: "opacity",
@@ -4180,12 +4209,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4180
4209
  )
4181
4210
  }
4182
4211
  ),
4183
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4212
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4184
4213
  "path",
4185
4214
  {
4186
4215
  id: "XMLID_26_",
4187
4216
  d: "M34.4 136h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
4188
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4217
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4189
4218
  "animate",
4190
4219
  {
4191
4220
  attributeName: "opacity",
@@ -4198,12 +4227,12 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4198
4227
  )
4199
4228
  }
4200
4229
  ),
4201
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4230
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4202
4231
  "path",
4203
4232
  {
4204
4233
  id: "XMLID_27_",
4205
4234
  d: "M26 147.6h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
4206
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
4235
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4207
4236
  "animate",
4208
4237
  {
4209
4238
  attributeName: "opacity",
@@ -4221,101 +4250,74 @@ var XLoader = (0, import_react57.forwardRef)((props, ref) => /* @__PURE__ */ (0,
4221
4250
  ));
4222
4251
 
4223
4252
  // src/Tabs/Tabs.tsx
4224
- var import_react61 = require("react");
4225
- var import_tabs3 = require("@react-aria/tabs");
4226
- var import_collections7 = require("@react-stately/collections");
4227
- var import_tabs4 = require("@react-stately/tabs");
4253
+ var import_react_aria_components29 = require("react-aria-components");
4228
4254
  var import_system78 = require("@marigold/system");
4229
4255
 
4230
4256
  // src/Tabs/Context.ts
4231
- var import_react58 = require("react");
4232
- var TabContext = (0, import_react58.createContext)({});
4233
- var useTabContext = () => (0, import_react58.useContext)(TabContext);
4257
+ var import_react59 = require("react");
4258
+ var TabContext = (0, import_react59.createContext)({});
4259
+ var useTabContext = () => (0, import_react59.useContext)(TabContext);
4234
4260
 
4235
4261
  // src/Tabs/Tab.tsx
4236
- var import_react59 = require("react");
4237
- var import_interactions8 = require("@react-aria/interactions");
4238
- var import_tabs = require("@react-aria/tabs");
4239
- var import_utils25 = require("@react-aria/utils");
4262
+ var import_react_aria_components26 = require("react-aria-components");
4240
4263
  var import_system76 = require("@marigold/system");
4241
- var import_jsx_runtime91 = require("react/jsx-runtime");
4242
- var Tab = ({ item, state }) => {
4243
- const { key, rendered } = item;
4244
- const ref = (0, import_react59.useRef)(null);
4245
- const { tabProps, isSelected } = (0, import_tabs.useTab)({ key }, state, ref);
4246
- const disabled = tabProps["aria-disabled"];
4247
- const { hoverProps, isHovered } = (0, import_interactions8.useHover)({
4248
- isDisabled: disabled || isSelected
4249
- });
4250
- const { focusProps } = (0, import_interactions8.useFocus)({});
4251
- const stateProps = (0, import_system76.useStateProps)({ active: isSelected, hover: isHovered });
4264
+ var import_jsx_runtime92 = require("react/jsx-runtime");
4265
+ var _Tab = (props) => {
4252
4266
  const { classNames: classNames2 } = useTabContext();
4253
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
4254
- "div",
4267
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
4268
+ import_react_aria_components26.Tab,
4255
4269
  {
4270
+ ...props,
4256
4271
  className: (0, import_system76.cn)(
4257
4272
  "flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
4258
4273
  classNames2.tab
4259
4274
  ),
4260
- ...(0, import_utils25.mergeProps)(tabProps, stateProps, focusProps, hoverProps),
4261
- ref,
4262
- children: rendered
4275
+ children: props.children
4263
4276
  }
4264
4277
  );
4265
4278
  };
4266
4279
 
4267
- // src/Tabs/TabPanel.tsx
4268
- var import_react60 = require("react");
4269
- var import_tabs2 = require("@react-aria/tabs");
4280
+ // src/Tabs/TabList.tsx
4281
+ var import_react_aria_components27 = require("react-aria-components");
4270
4282
  var import_system77 = require("@marigold/system");
4271
- var import_jsx_runtime92 = require("react/jsx-runtime");
4272
- var TabPanel = ({ state, ...props }) => {
4273
- var _a;
4274
- const ref = (0, import_react60.useRef)(null);
4275
- const { tabPanelProps } = (0, import_tabs2.useTabPanel)(props, state, ref);
4276
- const selectedItemProps = (_a = state.selectedItem) == null ? void 0 : _a.props;
4283
+ var import_jsx_runtime93 = require("react/jsx-runtime");
4284
+ var _TabList = ({ space = 2, ...props }) => {
4277
4285
  const { classNames: classNames2 } = useTabContext();
4278
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: (0, import_system77.cn)(classNames2.tabpanel), ref, ...tabPanelProps, children: selectedItemProps == null ? void 0 : selectedItemProps.children });
4286
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
4287
+ import_react_aria_components27.TabList,
4288
+ {
4289
+ ...props,
4290
+ className: (0, import_system77.cn)("flex", import_system77.gapSpace[space], classNames2.tabsList),
4291
+ children: props.children
4292
+ }
4293
+ );
4294
+ };
4295
+
4296
+ // src/Tabs/TabPanel.tsx
4297
+ var import_react_aria_components28 = require("react-aria-components");
4298
+ var import_jsx_runtime94 = require("react/jsx-runtime");
4299
+ var _TabPanel = (props) => {
4300
+ const { classNames: classNames2 } = useTabContext();
4301
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_aria_components28.TabPanel, { ...props, className: classNames2.tabpanel, children: props.children });
4279
4302
  };
4280
4303
 
4281
4304
  // src/Tabs/Tabs.tsx
4282
- var import_jsx_runtime93 = require("react/jsx-runtime");
4283
- var Tabs = ({
4284
- space = 2,
4285
- size = "medium",
4286
- disabled,
4287
- variant,
4288
- ...rest
4289
- }) => {
4290
- var _a;
4291
- const ref = (0, import_react61.useRef)(null);
4305
+ var import_jsx_runtime95 = require("react/jsx-runtime");
4306
+ var _Tabs = ({ disabled, variant, size = "medium", ...rest }) => {
4292
4307
  const props = {
4293
4308
  isDisabled: disabled,
4294
4309
  ...rest
4295
4310
  };
4296
- const state = (0, import_tabs4.useTabListState)(props);
4297
- const { tabListProps } = (0, import_tabs3.useTabList)(props, state, ref);
4298
4311
  const classNames2 = (0, import_system78.useClassNames)({
4299
4312
  component: "Tabs",
4300
4313
  size,
4301
4314
  variant
4302
4315
  });
4303
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: (0, import_system78.cn)(classNames2.container), children: [
4304
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
4305
- "div",
4306
- {
4307
- className: (0, import_system78.cn)("flex", import_system78.gapSpace[space], classNames2.tabs),
4308
- ...tabListProps,
4309
- ref,
4310
- children: [...state.collection].map((item) => {
4311
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Tab, { item, state }, item.key);
4312
- })
4313
- }
4314
- ),
4315
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(TabPanel, { state }, (_a = state.selectedItem) == null ? void 0 : _a.key)
4316
- ] }) });
4316
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(TabContext.Provider, { value: { classNames: classNames2 }, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_react_aria_components29.Tabs, { ...props, className: classNames2.container, children: props.children }) });
4317
4317
  };
4318
- Tabs.Item = import_collections7.Item;
4318
+ _Tabs.List = _TabList;
4319
+ _Tabs.TabPanel = _TabPanel;
4320
+ _Tabs.Item = _Tab;
4319
4321
  // Annotate the CommonJS export names for ESM import in node:
4320
4322
  0 && (module.exports = {
4321
4323
  Accordion,
@@ -4364,6 +4366,7 @@ Tabs.Item = import_collections7.Item;
4364
4366
  Popover,
4365
4367
  Radio,
4366
4368
  RadioGroup,
4369
+ SearchField,
4367
4370
  Select,
4368
4371
  Slider,
4369
4372
  Split,
@@ -4383,8 +4386,6 @@ Tabs.Item = import_collections7.Item;
4383
4386
  Underlay,
4384
4387
  VisuallyHidden,
4385
4388
  XLoader,
4386
- _Slider,
4387
- _TextArea,
4388
4389
  useAsyncList,
4389
4390
  useFieldGroupContext,
4390
4391
  useListData,