@ceed/ads 1.16.0-next.8 → 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
@@ -4495,9 +4495,39 @@ var InsetDrawer = styled19(JoyDrawer)(({ theme }) => ({
4495
4495
 
4496
4496
  // src/components/FilterableCheckboxGroup/FilterableCheckboxGroup.tsx
4497
4497
  import React30, { useCallback as useCallback13, useEffect as useEffect8, useMemo as useMemo12, useRef as useRef8, useState as useState10 } from "react";
4498
- import { Input as Input2, Stack as Stack2 } from "@mui/joy";
4499
4498
  import SearchIcon from "@mui/icons-material/Search";
4500
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
+ }
4501
4531
  function FilterableCheckboxGroup(props) {
4502
4532
  const {
4503
4533
  value,
@@ -4601,15 +4631,15 @@ function FilterableCheckboxGroup(props) {
4601
4631
  },
4602
4632
  [filteredOptions, internalValue, setInternalValue]
4603
4633
  );
4604
- const enabledFilteredOptions = useMemo12(
4605
- () => filteredOptions.filter((option) => !option.disabled),
4606
- [filteredOptions]
4607
- );
4634
+ const enabledFilteredOptions = useMemo12(() => filteredOptions.filter((option) => !option.disabled), [filteredOptions]);
4608
4635
  const isAllSelected = enabledFilteredOptions.length > 0 && enabledFilteredOptions.every((option) => internalValue.includes(option.value));
4609
4636
  const isIndeterminate = !isAllSelected && enabledFilteredOptions.some((option) => internalValue.includes(option.value));
4610
- 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(
4611
- Input2,
4637
+ return /* @__PURE__ */ React30.createElement("div", { style: { width: "100%" } }, /* @__PURE__ */ React30.createElement(
4638
+ Input_default,
4612
4639
  {
4640
+ label,
4641
+ helperText,
4642
+ required,
4613
4643
  variant: "outlined",
4614
4644
  color: "neutral",
4615
4645
  placeholder,
@@ -4619,16 +4649,16 @@ function FilterableCheckboxGroup(props) {
4619
4649
  disabled,
4620
4650
  endDecorator: /* @__PURE__ */ React30.createElement(SearchIcon, null)
4621
4651
  }
4622
- ), helperText && /* @__PURE__ */ React30.createElement(FormHelperText_default, null, helperText)), filteredOptions.length === 0 ? /* @__PURE__ */ React30.createElement(
4623
- Stack2,
4652
+ ), filteredOptions.length === 0 ? /* @__PURE__ */ React30.createElement(
4653
+ Stack_default,
4624
4654
  {
4625
- sx: {
4655
+ sx: (theme) => ({
4626
4656
  padding: "20px 12px",
4627
4657
  justifyContent: "center",
4628
4658
  alignItems: "center",
4629
4659
  fontSize: noOptionsFontSize,
4630
- color: "#A2AAB8"
4631
- }
4660
+ color: theme.palette.neutral.softDisabledColor
4661
+ })
4632
4662
  },
4633
4663
  "No options found."
4634
4664
  ) : /* @__PURE__ */ React30.createElement(
@@ -4660,7 +4690,7 @@ function FilterableCheckboxGroup(props) {
4660
4690
  }
4661
4691
  ),
4662
4692
  /* @__PURE__ */ React30.createElement(
4663
- Stack2,
4693
+ Stack_default,
4664
4694
  {
4665
4695
  sx: {
4666
4696
  height: `${virtualizer.getTotalSize()}px`,
@@ -4673,7 +4703,7 @@ function FilterableCheckboxGroup(props) {
4673
4703
  Checkbox_default,
4674
4704
  {
4675
4705
  key: virtualRow.key,
4676
- label: option.label,
4706
+ label: /* @__PURE__ */ React30.createElement(LabelWithTooltip, { label: option.label, size }),
4677
4707
  checked: internalValue.includes(option.value),
4678
4708
  onChange: handleCheckboxChange(option.value),
4679
4709
  size,
@@ -4681,6 +4711,7 @@ function FilterableCheckboxGroup(props) {
4681
4711
  slotProps: {
4682
4712
  action: {
4683
4713
  sx: { top: 0, left: 0, bottom: 0, right: 0 }
4714
+ // NOTE: 불필요한 좌우 스크롤 방지
4684
4715
  }
4685
4716
  },
4686
4717
  sx: {
@@ -4701,11 +4732,11 @@ FilterableCheckboxGroup.displayName = "FilterableCheckboxGroup";
4701
4732
 
4702
4733
  // src/components/FilterMenu/FilterMenu.tsx
4703
4734
  import React41, { useCallback as useCallback23 } from "react";
4704
- import { Button as Button2, Stack as Stack12 } from "@mui/joy";
4735
+ import { Button as Button2, Stack as Stack11 } from "@mui/joy";
4705
4736
 
4706
4737
  // src/components/FilterMenu/components/CheckboxGroup.tsx
4707
4738
  import React31, { useCallback as useCallback14 } from "react";
4708
- import { Stack as Stack3 } from "@mui/joy";
4739
+ import { Stack as Stack2 } from "@mui/joy";
4709
4740
  function CheckboxGroup(props) {
4710
4741
  const { id, label, options, value, onChange, hidden } = props;
4711
4742
  const [internalValue, setInternalValue] = useControlledState(value, [], onChange);
@@ -4725,7 +4756,7 @@ function CheckboxGroup(props) {
4725
4756
  if (hidden) {
4726
4757
  return null;
4727
4758
  }
4728
- 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(
4729
4760
  Checkbox_default,
4730
4761
  {
4731
4762
  key: `${id}-${option.value}`,
@@ -4739,7 +4770,7 @@ CheckboxGroup.displayName = "CheckboxGroup";
4739
4770
 
4740
4771
  // src/components/FilterMenu/components/FilterableCheckboxGroup.tsx
4741
4772
  import React32, { useCallback as useCallback15 } from "react";
4742
- import { Stack as Stack4 } from "@mui/joy";
4773
+ import { Stack as Stack3 } from "@mui/joy";
4743
4774
  function FilterableCheckboxGroup2(props) {
4744
4775
  const { id, label, options, value, onChange, hidden, placeholder, maxHeight } = props;
4745
4776
  const [internalValue, setInternalValue] = useControlledState(value, [], onChange);
@@ -4752,7 +4783,7 @@ function FilterableCheckboxGroup2(props) {
4752
4783
  if (hidden) {
4753
4784
  return null;
4754
4785
  }
4755
- 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(
4756
4787
  FilterableCheckboxGroup,
4757
4788
  {
4758
4789
  value: internalValue ?? [],
@@ -4780,7 +4811,7 @@ var RadioGroup = MotionRadioGroup;
4780
4811
  RadioGroup.displayName = "RadioGroup";
4781
4812
 
4782
4813
  // src/components/FilterMenu/components/RadioGroup.tsx
4783
- import { Stack as Stack5 } from "@mui/joy";
4814
+ import { Stack as Stack4 } from "@mui/joy";
4784
4815
  function RadioGroup2(props) {
4785
4816
  const { id, label, options, value, onChange, hidden } = props;
4786
4817
  const [internalValue, setInternalValue] = useControlledState(value, value ?? "", onChange);
@@ -4796,13 +4827,13 @@ function RadioGroup2(props) {
4796
4827
  if (hidden) {
4797
4828
  return null;
4798
4829
  }
4799
- 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 }))));
4800
4831
  }
4801
4832
  RadioGroup2.displayName = "RadioGroup";
4802
4833
 
4803
4834
  // src/components/FilterMenu/components/DateRange.tsx
4804
4835
  import React34, { useCallback as useCallback17, useMemo as useMemo13, useState as useState11, useEffect as useEffect9 } from "react";
4805
- import { Stack as Stack6 } from "@mui/joy";
4836
+ import { Stack as Stack5 } from "@mui/joy";
4806
4837
  function DateRange(props) {
4807
4838
  const {
4808
4839
  id,
@@ -4923,7 +4954,7 @@ function DateRange(props) {
4923
4954
  if (hidden) {
4924
4955
  return null;
4925
4956
  }
4926
- 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(
4927
4958
  DateRangePicker,
4928
4959
  {
4929
4960
  value: customDateRangeValue,
@@ -4943,7 +4974,7 @@ DateRange.displayName = "DateRange";
4943
4974
 
4944
4975
  // src/components/FilterMenu/components/CurrencyInput.tsx
4945
4976
  import React35, { useCallback as useCallback18 } from "react";
4946
- import { Stack as Stack7 } from "@mui/joy";
4977
+ import { Stack as Stack6 } from "@mui/joy";
4947
4978
  function CurrencyInput3(props) {
4948
4979
  const { id, label, value, onChange, hidden, max, placeholder, useMinorUnit, currency = "USD" } = props;
4949
4980
  const [internalValue, setInternalValue] = useControlledState(value, value, onChange);
@@ -4957,7 +4988,7 @@ function CurrencyInput3(props) {
4957
4988
  if (hidden) {
4958
4989
  return null;
4959
4990
  }
4960
- 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(
4961
4992
  CurrencyInput,
4962
4993
  {
4963
4994
  value: internalValue,
@@ -4974,7 +5005,7 @@ CurrencyInput3.displayName = "CurrencyInput";
4974
5005
 
4975
5006
  // src/components/FilterMenu/components/CurrencyRange.tsx
4976
5007
  import React36, { useCallback as useCallback19 } from "react";
4977
- import { Stack as Stack8 } from "@mui/joy";
5008
+ import { Stack as Stack7 } from "@mui/joy";
4978
5009
  function CurrencyRange(props) {
4979
5010
  const { id, label, value, onChange, hidden, max, placeholder, useMinorUnit, currency = "USD" } = props;
4980
5011
  const [internalValue, setInternalValue] = useControlledState(value, null, onChange);
@@ -5011,7 +5042,7 @@ function CurrencyRange(props) {
5011
5042
  if (hidden) {
5012
5043
  return null;
5013
5044
  }
5014
- 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(
5015
5046
  CurrencyInput,
5016
5047
  {
5017
5048
  label: "Minimum",
@@ -5043,7 +5074,7 @@ CurrencyRange.displayName = "CurrencyRange";
5043
5074
 
5044
5075
  // src/components/FilterMenu/components/PercentageInput.tsx
5045
5076
  import React38 from "react";
5046
- import { Stack as Stack9, Typography as Typography2 } from "@mui/joy";
5077
+ import { Stack as Stack8, Typography as Typography2 } from "@mui/joy";
5047
5078
 
5048
5079
  // src/components/PercentageInput/PercentageInput.tsx
5049
5080
  import React37, { useCallback as useCallback20, useMemo as useMemo14, useState as useState12 } from "react";
@@ -5178,7 +5209,7 @@ var PercentageInput3 = ({
5178
5209
  if (hidden) {
5179
5210
  return null;
5180
5211
  }
5181
- 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(
5182
5213
  PercentageInput,
5183
5214
  {
5184
5215
  value: _value,
@@ -5194,7 +5225,7 @@ var PercentageInput3 = ({
5194
5225
 
5195
5226
  // src/components/FilterMenu/components/PercentageRange.tsx
5196
5227
  import React39, { useCallback as useCallback21 } from "react";
5197
- import { Stack as Stack10 } from "@mui/joy";
5228
+ import { Stack as Stack9 } from "@mui/joy";
5198
5229
  function PercentageRange(props) {
5199
5230
  const { id, label, value, onChange, hidden, useMinorUnit, maxDecimalScale, min, max } = props;
5200
5231
  const [internalValue, setInternalValue] = useControlledState(
@@ -5231,7 +5262,7 @@ function PercentageRange(props) {
5231
5262
  if (hidden) {
5232
5263
  return null;
5233
5264
  }
5234
- 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(
5235
5266
  PercentageInput,
5236
5267
  {
5237
5268
  label: "Minimum",
@@ -5265,7 +5296,7 @@ PercentageRange.displayName = "PercentageRange";
5265
5296
 
5266
5297
  // src/components/FilterMenu/components/Autocomplete.tsx
5267
5298
  import React40, { useCallback as useCallback22 } from "react";
5268
- import { Stack as Stack11 } from "@mui/joy";
5299
+ import { Stack as Stack10 } from "@mui/joy";
5269
5300
  function Autocomplete2(props) {
5270
5301
  const { id, label, value, onChange, options, multiple, hidden, placeholder } = props;
5271
5302
  const [internalValue, setInternalValue] = useControlledState(value, void 0, onChange);
@@ -5285,7 +5316,7 @@ function Autocomplete2(props) {
5285
5316
  if (hidden) {
5286
5317
  return null;
5287
5318
  }
5288
- 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(
5289
5320
  Autocomplete,
5290
5321
  {
5291
5322
  value: autocompleteValue,
@@ -5348,7 +5379,7 @@ function FilterMenu(props) {
5348
5379
  top: "initial"
5349
5380
  }
5350
5381
  },
5351
- /* @__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) => {
5352
5383
  const FilterComponent = componentMap[filter.type];
5353
5384
  return FilterComponent ? /* @__PURE__ */ React41.createElement(
5354
5385
  FilterComponent,
@@ -5369,7 +5400,7 @@ FilterMenu.displayName = "FilterMenu";
5369
5400
 
5370
5401
  // src/components/Uploader/Uploader.tsx
5371
5402
  import React42, { useCallback as useCallback24, useEffect as useEffect10, useMemo as useMemo15, useRef as useRef9, useState as useState13 } from "react";
5372
- import { styled as styled21, Input as Input3 } from "@mui/joy";
5403
+ import { styled as styled21, Input as Input2 } from "@mui/joy";
5373
5404
  import MuiFileUploadIcon from "@mui/icons-material/CloudUploadRounded";
5374
5405
  import MuiUploadFileIcon from "@mui/icons-material/UploadFileRounded";
5375
5406
  import MuiClearIcon from "@mui/icons-material/ClearRounded";
@@ -5391,7 +5422,7 @@ var esmFiles = {
5391
5422
  "@atlaskit/pragmatic-drag-and-drop/dist/esm/entry-point/prevent-unhandled.js"
5392
5423
  )
5393
5424
  };
5394
- var VisuallyHiddenInput = styled21(Input3)({
5425
+ var VisuallyHiddenInput = styled21(Input2)({
5395
5426
  width: "1px",
5396
5427
  height: "1px",
5397
5428
  overflow: "hidden",
@@ -6394,7 +6425,7 @@ import {
6394
6425
  AccordionDetails as JoyAccordionDetails2,
6395
6426
  styled as styled24,
6396
6427
  accordionSummaryClasses,
6397
- Stack as Stack13
6428
+ Stack as Stack12
6398
6429
  } from "@mui/joy";
6399
6430
  var AccordionSummary2 = styled24(JoyAccordionSummary2, {
6400
6431
  name: "NavigationGroup",
@@ -6418,7 +6449,7 @@ var AccordionDetails2 = styled24(JoyAccordionDetails2, {
6418
6449
  }));
6419
6450
  function NavigationGroup(props) {
6420
6451
  const { title, children, startDecorator, level, ...rest } = props;
6421
- 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));
6422
6453
  }
6423
6454
 
6424
6455
  // src/components/NavigationItem/NavigationItem.tsx