@ceed/ads 1.16.0-next.7 → 1.16.0-next.9

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
@@ -3456,8 +3456,10 @@ TableBody.displayName = "TableBody";
3456
3456
 
3457
3457
  // src/components/Pagination/Pagination.tsx
3458
3458
  import React24, { useCallback as useCallback10, useEffect as useEffect6 } from "react";
3459
- import PreviousIcon from "@mui/icons-material/ChevronLeft";
3460
- import NextIcon from "@mui/icons-material/ChevronRight";
3459
+ import PreviousIcon from "@mui/icons-material/ChevronLeftRounded";
3460
+ import NextIcon from "@mui/icons-material/ChevronRightRounded";
3461
+ import FirstPageIcon from "@mui/icons-material/FirstPageRounded";
3462
+ import LastPageIcon from "@mui/icons-material/LastPageRounded";
3461
3463
  import { styled as styled13 } from "@mui/joy";
3462
3464
  var PaginationButton = styled13(Button_default, {
3463
3465
  name: "Pagination",
@@ -3516,6 +3518,7 @@ function Pagination(props) {
3516
3518
  onPageChange,
3517
3519
  rowCount,
3518
3520
  size = "md",
3521
+ variant = "standard",
3519
3522
  ...innerProps
3520
3523
  } = props;
3521
3524
  const [paginationModel, setPaginationModel] = useControlledState(
@@ -3542,6 +3545,87 @@ function Pagination(props) {
3542
3545
  setPaginationModel({ ...paginationModel, page: lastPage });
3543
3546
  }
3544
3547
  }, [rowCount, paginationModel, lastPage, setPaginationModel]);
3548
+ const pageOptions = Array.from({ length: lastPage }, (_, i) => ({
3549
+ label: `${i + 1}`,
3550
+ value: `${i + 1}`
3551
+ }));
3552
+ if (variant === "compact") {
3553
+ return /* @__PURE__ */ React24.createElement(PaginationRoot, { ...innerProps }, /* @__PURE__ */ React24.createElement(PaginationContainer, { direction: "row", size, alignItems: "center" }, /* @__PURE__ */ React24.createElement(Stack_default, { direction: "row" }, /* @__PURE__ */ React24.createElement(
3554
+ PaginationIconButton,
3555
+ {
3556
+ size,
3557
+ variant: "plain",
3558
+ color: "neutral",
3559
+ onClick: () => handlePageChange(firstPage),
3560
+ disabled: paginationModel.page === firstPage,
3561
+ "aria-label": "First page"
3562
+ },
3563
+ /* @__PURE__ */ React24.createElement(FirstPageIcon, null)
3564
+ ), /* @__PURE__ */ React24.createElement(
3565
+ PaginationIconButton,
3566
+ {
3567
+ size,
3568
+ variant: "plain",
3569
+ color: "neutral",
3570
+ onClick: () => handlePageChange(paginationModel.page - 1),
3571
+ disabled: paginationModel.page === firstPage,
3572
+ "aria-label": "Previous page"
3573
+ },
3574
+ /* @__PURE__ */ React24.createElement(PreviousIcon, null)
3575
+ )), /* @__PURE__ */ React24.createElement(
3576
+ Autocomplete_default,
3577
+ {
3578
+ size,
3579
+ value: `${paginationModel.page}`,
3580
+ onChange: (event) => {
3581
+ if (event.target.value) {
3582
+ handlePageChange(parseInt(event.target.value, 10));
3583
+ }
3584
+ },
3585
+ options: pageOptions,
3586
+ sx: {
3587
+ width: {
3588
+ sm: "80px",
3589
+ md: "100px",
3590
+ lg: "120px"
3591
+ }[size]
3592
+ }
3593
+ }
3594
+ ), /* @__PURE__ */ React24.createElement(
3595
+ Typography_default,
3596
+ {
3597
+ level: `body-${size}`,
3598
+ sx: (theme) => ({
3599
+ color: theme.palette.text.secondary,
3600
+ fontWeight: 500
3601
+ })
3602
+ },
3603
+ "/ ",
3604
+ lastPage
3605
+ ), /* @__PURE__ */ React24.createElement(Stack_default, { direction: "row" }, /* @__PURE__ */ React24.createElement(
3606
+ PaginationIconButton,
3607
+ {
3608
+ size,
3609
+ variant: "plain",
3610
+ color: "neutral",
3611
+ onClick: () => handlePageChange(paginationModel.page + 1),
3612
+ disabled: paginationModel.page === lastPage,
3613
+ "aria-label": "Next page"
3614
+ },
3615
+ /* @__PURE__ */ React24.createElement(NextIcon, null)
3616
+ ), /* @__PURE__ */ React24.createElement(
3617
+ PaginationIconButton,
3618
+ {
3619
+ size,
3620
+ variant: "plain",
3621
+ color: "neutral",
3622
+ onClick: () => handlePageChange(lastPage),
3623
+ disabled: paginationModel.page === lastPage,
3624
+ "aria-label": "Last page"
3625
+ },
3626
+ /* @__PURE__ */ React24.createElement(LastPageIcon, null)
3627
+ ))));
3628
+ }
3545
3629
  return /* @__PURE__ */ React24.createElement(PaginationRoot, { ...innerProps }, /* @__PURE__ */ React24.createElement(PaginationContainer, { direction: "row", size, alignItems: "center" }, /* @__PURE__ */ React24.createElement(
3546
3630
  PaginationIconButton,
3547
3631
  {
@@ -4411,9 +4495,39 @@ var InsetDrawer = styled19(JoyDrawer)(({ theme }) => ({
4411
4495
 
4412
4496
  // src/components/FilterableCheckboxGroup/FilterableCheckboxGroup.tsx
4413
4497
  import React30, { useCallback as useCallback13, useEffect as useEffect8, useMemo as useMemo12, useRef as useRef8, useState as useState10 } from "react";
4414
- import { Input as Input2, Stack as Stack2 } from "@mui/joy";
4415
4498
  import SearchIcon from "@mui/icons-material/Search";
4416
4499
  import { useVirtualizer as useVirtualizer3 } from "@tanstack/react-virtual";
4500
+ function LabelWithTooltip(props) {
4501
+ const { label, size } = props;
4502
+ const labelContentRef = useRef8(null);
4503
+ const [isOverflowing, setIsOverflowing] = useState10(false);
4504
+ const labelContent = /* @__PURE__ */ React30.createElement(
4505
+ "span",
4506
+ {
4507
+ ref: labelContentRef,
4508
+ style: {
4509
+ textOverflow: "ellipsis",
4510
+ overflow: "hidden",
4511
+ whiteSpace: "nowrap",
4512
+ display: "block",
4513
+ position: "relative",
4514
+ zIndex: 1,
4515
+ cursor: "pointer"
4516
+ }
4517
+ },
4518
+ label
4519
+ );
4520
+ useEffect8(() => {
4521
+ const element = labelContentRef.current;
4522
+ if (element) {
4523
+ setIsOverflowing(element.scrollWidth > element.clientWidth);
4524
+ }
4525
+ }, [label]);
4526
+ if (isOverflowing) {
4527
+ return /* @__PURE__ */ React30.createElement(Tooltip_default, { variant: "solid", size, title: label, placement: "bottom-start" }, labelContent);
4528
+ }
4529
+ return labelContent;
4530
+ }
4417
4531
  function FilterableCheckboxGroup(props) {
4418
4532
  const {
4419
4533
  value,
@@ -4517,15 +4631,15 @@ function FilterableCheckboxGroup(props) {
4517
4631
  },
4518
4632
  [filteredOptions, internalValue, setInternalValue]
4519
4633
  );
4520
- const enabledFilteredOptions = useMemo12(
4521
- () => filteredOptions.filter((option) => !option.disabled),
4522
- [filteredOptions]
4523
- );
4634
+ const enabledFilteredOptions = useMemo12(() => filteredOptions.filter((option) => !option.disabled), [filteredOptions]);
4524
4635
  const isAllSelected = enabledFilteredOptions.length > 0 && enabledFilteredOptions.every((option) => internalValue.includes(option.value));
4525
4636
  const isIndeterminate = !isAllSelected && enabledFilteredOptions.some((option) => internalValue.includes(option.value));
4526
- return /* @__PURE__ */ React30.createElement("div", { style: { width: "100%" } }, /* @__PURE__ */ React30.createElement(FormControl_default, { required, size }, label && /* @__PURE__ */ React30.createElement(FormLabel_default, null, label), /* @__PURE__ */ React30.createElement(
4527
- Input2,
4637
+ return /* @__PURE__ */ React30.createElement("div", { style: { width: "100%" } }, /* @__PURE__ */ React30.createElement(
4638
+ Input_default,
4528
4639
  {
4640
+ label,
4641
+ helperText,
4642
+ required,
4529
4643
  variant: "outlined",
4530
4644
  color: "neutral",
4531
4645
  placeholder,
@@ -4535,16 +4649,16 @@ function FilterableCheckboxGroup(props) {
4535
4649
  disabled,
4536
4650
  endDecorator: /* @__PURE__ */ React30.createElement(SearchIcon, null)
4537
4651
  }
4538
- ), helperText && /* @__PURE__ */ React30.createElement(FormHelperText_default, null, helperText)), filteredOptions.length === 0 ? /* @__PURE__ */ React30.createElement(
4539
- Stack2,
4652
+ ), filteredOptions.length === 0 ? /* @__PURE__ */ React30.createElement(
4653
+ Stack_default,
4540
4654
  {
4541
- sx: {
4655
+ sx: (theme) => ({
4542
4656
  padding: "20px 12px",
4543
4657
  justifyContent: "center",
4544
4658
  alignItems: "center",
4545
4659
  fontSize: noOptionsFontSize,
4546
- color: "#A2AAB8"
4547
- }
4660
+ color: theme.palette.neutral.softDisabledColor
4661
+ })
4548
4662
  },
4549
4663
  "No options found."
4550
4664
  ) : /* @__PURE__ */ React30.createElement(
@@ -4576,7 +4690,7 @@ function FilterableCheckboxGroup(props) {
4576
4690
  }
4577
4691
  ),
4578
4692
  /* @__PURE__ */ React30.createElement(
4579
- Stack2,
4693
+ Stack_default,
4580
4694
  {
4581
4695
  sx: {
4582
4696
  height: `${virtualizer.getTotalSize()}px`,
@@ -4589,7 +4703,7 @@ function FilterableCheckboxGroup(props) {
4589
4703
  Checkbox_default,
4590
4704
  {
4591
4705
  key: virtualRow.key,
4592
- label: option.label,
4706
+ label: /* @__PURE__ */ React30.createElement(LabelWithTooltip, { label: option.label, size }),
4593
4707
  checked: internalValue.includes(option.value),
4594
4708
  onChange: handleCheckboxChange(option.value),
4595
4709
  size,
@@ -4597,6 +4711,7 @@ function FilterableCheckboxGroup(props) {
4597
4711
  slotProps: {
4598
4712
  action: {
4599
4713
  sx: { top: 0, left: 0, bottom: 0, right: 0 }
4714
+ // NOTE: 불필요한 좌우 스크롤 방지
4600
4715
  }
4601
4716
  },
4602
4717
  sx: {
@@ -4617,11 +4732,11 @@ FilterableCheckboxGroup.displayName = "FilterableCheckboxGroup";
4617
4732
 
4618
4733
  // src/components/FilterMenu/FilterMenu.tsx
4619
4734
  import React41, { useCallback as useCallback23 } from "react";
4620
- import { Button as Button2, Stack as Stack12 } from "@mui/joy";
4735
+ import { Button as Button2, Stack as Stack11 } from "@mui/joy";
4621
4736
 
4622
4737
  // src/components/FilterMenu/components/CheckboxGroup.tsx
4623
4738
  import React31, { useCallback as useCallback14 } from "react";
4624
- import { Stack as Stack3 } from "@mui/joy";
4739
+ import { Stack as Stack2 } from "@mui/joy";
4625
4740
  function CheckboxGroup(props) {
4626
4741
  const { id, label, options, value, onChange, hidden } = props;
4627
4742
  const [internalValue, setInternalValue] = useControlledState(value, [], onChange);
@@ -4641,7 +4756,7 @@ function CheckboxGroup(props) {
4641
4756
  if (hidden) {
4642
4757
  return null;
4643
4758
  }
4644
- return /* @__PURE__ */ React31.createElement(Stack3, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React31.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), options.map((option) => /* @__PURE__ */ React31.createElement(
4759
+ return /* @__PURE__ */ React31.createElement(Stack2, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React31.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), options.map((option) => /* @__PURE__ */ React31.createElement(
4645
4760
  Checkbox_default,
4646
4761
  {
4647
4762
  key: `${id}-${option.value}`,
@@ -4655,7 +4770,7 @@ CheckboxGroup.displayName = "CheckboxGroup";
4655
4770
 
4656
4771
  // src/components/FilterMenu/components/FilterableCheckboxGroup.tsx
4657
4772
  import React32, { useCallback as useCallback15 } from "react";
4658
- import { Stack as Stack4 } from "@mui/joy";
4773
+ import { Stack as Stack3 } from "@mui/joy";
4659
4774
  function FilterableCheckboxGroup2(props) {
4660
4775
  const { id, label, options, value, onChange, hidden, placeholder, maxHeight } = props;
4661
4776
  const [internalValue, setInternalValue] = useControlledState(value, [], onChange);
@@ -4668,7 +4783,7 @@ function FilterableCheckboxGroup2(props) {
4668
4783
  if (hidden) {
4669
4784
  return null;
4670
4785
  }
4671
- return /* @__PURE__ */ React32.createElement(Stack4, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React32.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React32.createElement(
4786
+ return /* @__PURE__ */ React32.createElement(Stack3, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React32.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React32.createElement(
4672
4787
  FilterableCheckboxGroup,
4673
4788
  {
4674
4789
  value: internalValue ?? [],
@@ -4696,7 +4811,7 @@ var RadioGroup = MotionRadioGroup;
4696
4811
  RadioGroup.displayName = "RadioGroup";
4697
4812
 
4698
4813
  // src/components/FilterMenu/components/RadioGroup.tsx
4699
- import { Stack as Stack5 } from "@mui/joy";
4814
+ import { Stack as Stack4 } from "@mui/joy";
4700
4815
  function RadioGroup2(props) {
4701
4816
  const { id, label, options, value, onChange, hidden } = props;
4702
4817
  const [internalValue, setInternalValue] = useControlledState(value, value ?? "", onChange);
@@ -4712,13 +4827,13 @@ function RadioGroup2(props) {
4712
4827
  if (hidden) {
4713
4828
  return null;
4714
4829
  }
4715
- return /* @__PURE__ */ React33.createElement(Stack5, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React33.createElement(Stack5, { spacing: 1 }, /* @__PURE__ */ React33.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label)), /* @__PURE__ */ React33.createElement(RadioGroup, { name: id, value: internalValue?.toString(), onChange: handleRadioChange }, options.map((option) => /* @__PURE__ */ React33.createElement(Radio, { key: `${id}-${option.value}`, value: option.value.toString(), label: option.label }))));
4830
+ return /* @__PURE__ */ React33.createElement(Stack4, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React33.createElement(Stack4, { spacing: 1 }, /* @__PURE__ */ React33.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label)), /* @__PURE__ */ React33.createElement(RadioGroup, { name: id, value: internalValue?.toString(), onChange: handleRadioChange }, options.map((option) => /* @__PURE__ */ React33.createElement(Radio, { key: `${id}-${option.value}`, value: option.value.toString(), label: option.label }))));
4716
4831
  }
4717
4832
  RadioGroup2.displayName = "RadioGroup";
4718
4833
 
4719
4834
  // src/components/FilterMenu/components/DateRange.tsx
4720
4835
  import React34, { useCallback as useCallback17, useMemo as useMemo13, useState as useState11, useEffect as useEffect9 } from "react";
4721
- import { Stack as Stack6 } from "@mui/joy";
4836
+ import { Stack as Stack5 } from "@mui/joy";
4722
4837
  function DateRange(props) {
4723
4838
  const {
4724
4839
  id,
@@ -4839,7 +4954,7 @@ function DateRange(props) {
4839
4954
  if (hidden) {
4840
4955
  return null;
4841
4956
  }
4842
- return /* @__PURE__ */ React34.createElement(Stack6, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React34.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React34.createElement(RadioGroup, { name: `${id}-options`, value: selectedOption, onChange: handleOptionChange }, dateRangeOptions.map((option) => /* @__PURE__ */ React34.createElement(Radio, { key: `${id}-${option.value}`, value: option.value, label: option.label }))), selectedOption === "custom" && /* @__PURE__ */ React34.createElement(
4957
+ return /* @__PURE__ */ React34.createElement(Stack5, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React34.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React34.createElement(RadioGroup, { name: `${id}-options`, value: selectedOption, onChange: handleOptionChange }, dateRangeOptions.map((option) => /* @__PURE__ */ React34.createElement(Radio, { key: `${id}-${option.value}`, value: option.value, label: option.label }))), selectedOption === "custom" && /* @__PURE__ */ React34.createElement(
4843
4958
  DateRangePicker,
4844
4959
  {
4845
4960
  value: customDateRangeValue,
@@ -4859,7 +4974,7 @@ DateRange.displayName = "DateRange";
4859
4974
 
4860
4975
  // src/components/FilterMenu/components/CurrencyInput.tsx
4861
4976
  import React35, { useCallback as useCallback18 } from "react";
4862
- import { Stack as Stack7 } from "@mui/joy";
4977
+ import { Stack as Stack6 } from "@mui/joy";
4863
4978
  function CurrencyInput3(props) {
4864
4979
  const { id, label, value, onChange, hidden, max, placeholder, useMinorUnit, currency = "USD" } = props;
4865
4980
  const [internalValue, setInternalValue] = useControlledState(value, value, onChange);
@@ -4873,7 +4988,7 @@ function CurrencyInput3(props) {
4873
4988
  if (hidden) {
4874
4989
  return null;
4875
4990
  }
4876
- return /* @__PURE__ */ React35.createElement(Stack7, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React35.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React35.createElement(
4991
+ return /* @__PURE__ */ React35.createElement(Stack6, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React35.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React35.createElement(
4877
4992
  CurrencyInput,
4878
4993
  {
4879
4994
  value: internalValue,
@@ -4890,7 +5005,7 @@ CurrencyInput3.displayName = "CurrencyInput";
4890
5005
 
4891
5006
  // src/components/FilterMenu/components/CurrencyRange.tsx
4892
5007
  import React36, { useCallback as useCallback19 } from "react";
4893
- import { Stack as Stack8 } from "@mui/joy";
5008
+ import { Stack as Stack7 } from "@mui/joy";
4894
5009
  function CurrencyRange(props) {
4895
5010
  const { id, label, value, onChange, hidden, max, placeholder, useMinorUnit, currency = "USD" } = props;
4896
5011
  const [internalValue, setInternalValue] = useControlledState(value, null, onChange);
@@ -4927,7 +5042,7 @@ function CurrencyRange(props) {
4927
5042
  if (hidden) {
4928
5043
  return null;
4929
5044
  }
4930
- return /* @__PURE__ */ React36.createElement(Stack8, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React36.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React36.createElement(Stack8, { direction: "row", spacing: 2, alignItems: "flex-end" }, /* @__PURE__ */ React36.createElement(
5045
+ return /* @__PURE__ */ React36.createElement(Stack7, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React36.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React36.createElement(Stack7, { direction: "row", spacing: 2, alignItems: "flex-end" }, /* @__PURE__ */ React36.createElement(
4931
5046
  CurrencyInput,
4932
5047
  {
4933
5048
  label: "Minimum",
@@ -4959,7 +5074,7 @@ CurrencyRange.displayName = "CurrencyRange";
4959
5074
 
4960
5075
  // src/components/FilterMenu/components/PercentageInput.tsx
4961
5076
  import React38 from "react";
4962
- import { Stack as Stack9, Typography as Typography2 } from "@mui/joy";
5077
+ import { Stack as Stack8, Typography as Typography2 } from "@mui/joy";
4963
5078
 
4964
5079
  // src/components/PercentageInput/PercentageInput.tsx
4965
5080
  import React37, { useCallback as useCallback20, useMemo as useMemo14, useState as useState12 } from "react";
@@ -5094,7 +5209,7 @@ var PercentageInput3 = ({
5094
5209
  if (hidden) {
5095
5210
  return null;
5096
5211
  }
5097
- return /* @__PURE__ */ React38.createElement(Stack9, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React38.createElement(Typography2, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React38.createElement(
5212
+ return /* @__PURE__ */ React38.createElement(Stack8, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React38.createElement(Typography2, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React38.createElement(
5098
5213
  PercentageInput,
5099
5214
  {
5100
5215
  value: _value,
@@ -5110,7 +5225,7 @@ var PercentageInput3 = ({
5110
5225
 
5111
5226
  // src/components/FilterMenu/components/PercentageRange.tsx
5112
5227
  import React39, { useCallback as useCallback21 } from "react";
5113
- import { Stack as Stack10 } from "@mui/joy";
5228
+ import { Stack as Stack9 } from "@mui/joy";
5114
5229
  function PercentageRange(props) {
5115
5230
  const { id, label, value, onChange, hidden, useMinorUnit, maxDecimalScale, min, max } = props;
5116
5231
  const [internalValue, setInternalValue] = useControlledState(
@@ -5147,7 +5262,7 @@ function PercentageRange(props) {
5147
5262
  if (hidden) {
5148
5263
  return null;
5149
5264
  }
5150
- return /* @__PURE__ */ React39.createElement(Stack10, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React39.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React39.createElement(Stack10, { direction: "row", spacing: 2, alignItems: "flex-end" }, /* @__PURE__ */ React39.createElement(
5265
+ return /* @__PURE__ */ React39.createElement(Stack9, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React39.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React39.createElement(Stack9, { direction: "row", spacing: 2, alignItems: "flex-end" }, /* @__PURE__ */ React39.createElement(
5151
5266
  PercentageInput,
5152
5267
  {
5153
5268
  label: "Minimum",
@@ -5181,7 +5296,7 @@ PercentageRange.displayName = "PercentageRange";
5181
5296
 
5182
5297
  // src/components/FilterMenu/components/Autocomplete.tsx
5183
5298
  import React40, { useCallback as useCallback22 } from "react";
5184
- import { Stack as Stack11 } from "@mui/joy";
5299
+ import { Stack as Stack10 } from "@mui/joy";
5185
5300
  function Autocomplete2(props) {
5186
5301
  const { id, label, value, onChange, options, multiple, hidden, placeholder } = props;
5187
5302
  const [internalValue, setInternalValue] = useControlledState(value, void 0, onChange);
@@ -5201,7 +5316,7 @@ function Autocomplete2(props) {
5201
5316
  if (hidden) {
5202
5317
  return null;
5203
5318
  }
5204
- return /* @__PURE__ */ React40.createElement(Stack11, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React40.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React40.createElement(
5319
+ return /* @__PURE__ */ React40.createElement(Stack10, { spacing: 3, role: "group", "aria-labelledby": id }, !!label && /* @__PURE__ */ React40.createElement(Typography_default, { id, level: "title-sm", component: "label", textColor: "text.tertiary" }, label), /* @__PURE__ */ React40.createElement(
5205
5320
  Autocomplete,
5206
5321
  {
5207
5322
  value: autocompleteValue,
@@ -5264,7 +5379,7 @@ function FilterMenu(props) {
5264
5379
  top: "initial"
5265
5380
  }
5266
5381
  },
5267
- /* @__PURE__ */ React41.createElement(DialogContent, { sx: { paddingTop: 5 } }, /* @__PURE__ */ React41.createElement(Stack12, { spacing: 6 }, filters?.map((filter) => {
5382
+ /* @__PURE__ */ React41.createElement(DialogContent, { sx: { paddingTop: 5 } }, /* @__PURE__ */ React41.createElement(Stack11, { spacing: 6 }, filters?.map((filter) => {
5268
5383
  const FilterComponent = componentMap[filter.type];
5269
5384
  return FilterComponent ? /* @__PURE__ */ React41.createElement(
5270
5385
  FilterComponent,
@@ -5285,7 +5400,7 @@ FilterMenu.displayName = "FilterMenu";
5285
5400
 
5286
5401
  // src/components/Uploader/Uploader.tsx
5287
5402
  import React42, { useCallback as useCallback24, useEffect as useEffect10, useMemo as useMemo15, useRef as useRef9, useState as useState13 } from "react";
5288
- import { styled as styled21, Input as Input3 } from "@mui/joy";
5403
+ import { styled as styled21, Input as Input2 } from "@mui/joy";
5289
5404
  import MuiFileUploadIcon from "@mui/icons-material/CloudUploadRounded";
5290
5405
  import MuiUploadFileIcon from "@mui/icons-material/UploadFileRounded";
5291
5406
  import MuiClearIcon from "@mui/icons-material/ClearRounded";
@@ -5307,7 +5422,7 @@ var esmFiles = {
5307
5422
  "@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/prevent-unhandled.js"
5308
5423
  )
5309
5424
  };
5310
- var VisuallyHiddenInput = styled21(Input3)({
5425
+ var VisuallyHiddenInput = styled21(Input2)({
5311
5426
  width: "1px",
5312
5427
  height: "1px",
5313
5428
  overflow: "hidden",
@@ -6310,7 +6425,7 @@ import {
6310
6425
  AccordionDetails as JoyAccordionDetails2,
6311
6426
  styled as styled24,
6312
6427
  accordionSummaryClasses,
6313
- Stack as Stack13
6428
+ Stack as Stack12
6314
6429
  } from "@mui/joy";
6315
6430
  var AccordionSummary2 = styled24(JoyAccordionSummary2, {
6316
6431
  name: "NavigationGroup",
@@ -6334,7 +6449,7 @@ var AccordionDetails2 = styled24(JoyAccordionDetails2, {
6334
6449
  }));
6335
6450
  function NavigationGroup(props) {
6336
6451
  const { title, children, startDecorator, level, ...rest } = props;
6337
- return /* @__PURE__ */ React48.createElement(JoyAccordion2, { ...rest }, /* @__PURE__ */ React48.createElement(AccordionSummary2, { useIcon: !!startDecorator, level }, /* @__PURE__ */ React48.createElement(Stack13, { direction: "row", gap: 4 }, startDecorator, title)), /* @__PURE__ */ React48.createElement(AccordionDetails2, null, children));
6452
+ return /* @__PURE__ */ React48.createElement(JoyAccordion2, { ...rest }, /* @__PURE__ */ React48.createElement(AccordionSummary2, { useIcon: !!startDecorator, level }, /* @__PURE__ */ React48.createElement(Stack12, { direction: "row", gap: 4 }, startDecorator, title)), /* @__PURE__ */ React48.createElement(AccordionDetails2, null, children));
6338
6453
  }
6339
6454
 
6340
6455
  // src/components/NavigationItem/NavigationItem.tsx