@yamada-ui/menu 1.1.0-dev-20240421014947 → 1.1.0-dev-20240421032125

Sign up to get free protection for your applications and to get access to all the features.
@@ -9281,11 +9281,11 @@ var require_react_dom_development = __commonJS({
9281
9281
  if (node2.hasOwnProperty(valueField) || typeof descriptor === "undefined" || typeof descriptor.get !== "function" || typeof descriptor.set !== "function") {
9282
9282
  return;
9283
9283
  }
9284
- var get11 = descriptor.get, set2 = descriptor.set;
9284
+ var get12 = descriptor.get, set2 = descriptor.set;
9285
9285
  Object.defineProperty(node2, valueField, {
9286
9286
  configurable: true,
9287
9287
  get: function() {
9288
- return get11.call(this);
9288
+ return get12.call(this);
9289
9289
  },
9290
9290
  set: function(value) {
9291
9291
  {
@@ -11197,7 +11197,7 @@ var require_react_dom_development = __commonJS({
11197
11197
  throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
11198
11198
  }
11199
11199
  }
11200
- function get10(key) {
11200
+ function get11(key) {
11201
11201
  return key._reactInternals;
11202
11202
  }
11203
11203
  function has(key) {
@@ -11372,7 +11372,7 @@ var require_react_dom_development = __commonJS({
11372
11372
  instance._warnedAboutRefsInRender = true;
11373
11373
  }
11374
11374
  }
11375
- var fiber = get10(component);
11375
+ var fiber = get11(component);
11376
11376
  if (!fiber) {
11377
11377
  return false;
11378
11378
  }
@@ -18037,7 +18037,7 @@ var require_react_dom_development = __commonJS({
18037
18037
  var classComponentUpdater = {
18038
18038
  isMounted,
18039
18039
  enqueueSetState: function(inst, payload, callback) {
18040
- var fiber = get10(inst);
18040
+ var fiber = get11(inst);
18041
18041
  var eventTime = requestEventTime();
18042
18042
  var lane = requestUpdateLane(fiber);
18043
18043
  var update = createUpdate(eventTime, lane);
@@ -18058,7 +18058,7 @@ var require_react_dom_development = __commonJS({
18058
18058
  }
18059
18059
  },
18060
18060
  enqueueReplaceState: function(inst, payload, callback) {
18061
- var fiber = get10(inst);
18061
+ var fiber = get11(inst);
18062
18062
  var eventTime = requestEventTime();
18063
18063
  var lane = requestUpdateLane(fiber);
18064
18064
  var update = createUpdate(eventTime, lane);
@@ -18080,7 +18080,7 @@ var require_react_dom_development = __commonJS({
18080
18080
  }
18081
18081
  },
18082
18082
  enqueueForceUpdate: function(inst, callback) {
18083
- var fiber = get10(inst);
18083
+ var fiber = get11(inst);
18084
18084
  var eventTime = requestEventTime();
18085
18085
  var lane = requestUpdateLane(fiber);
18086
18086
  var update = createUpdate(eventTime, lane);
@@ -28100,7 +28100,7 @@ var require_react_dom_development = __commonJS({
28100
28100
  if (!parentComponent) {
28101
28101
  return emptyContextObject;
28102
28102
  }
28103
- var fiber = get10(parentComponent);
28103
+ var fiber = get11(parentComponent);
28104
28104
  var parentContext = findCurrentUnmaskedContext(fiber);
28105
28105
  if (fiber.tag === ClassComponent) {
28106
28106
  var Component = fiber.type;
@@ -28112,7 +28112,7 @@ var require_react_dom_development = __commonJS({
28112
28112
  }
28113
28113
  function findHostInstanceWithWarning(component, methodName) {
28114
28114
  {
28115
- var fiber = get10(component);
28115
+ var fiber = get11(component);
28116
28116
  if (fiber === void 0) {
28117
28117
  if (typeof component.render === "function") {
28118
28118
  throw new Error("Unable to find node on an unmounted component.");
@@ -35409,10 +35409,71 @@ var Divider = {
35409
35409
  defaultProps: { variant: "solid" }
35410
35410
  };
35411
35411
 
35412
- // ../../theme/src/components/drawer.ts
35412
+ // ../../theme/src/components/donut-chart.ts
35413
+ import { mergeMultiStyle as mergeMultiStyle12 } from "@yamada-ui/core";
35414
+
35415
+ // ../../theme/src/components/pie-chart.ts
35413
35416
  import { mergeMultiStyle as mergeMultiStyle11 } from "@yamada-ui/core";
35417
+ import { calc, getMemoizedObject as get5 } from "@yamada-ui/utils";
35418
+ var PieChart = mergeMultiStyle11(LineChart, {
35419
+ baseStyle: {
35420
+ pie: {},
35421
+ activeShape: {},
35422
+ inactiveShape: {},
35423
+ label: {},
35424
+ labelLine: {},
35425
+ cell: {}
35426
+ },
35427
+ sizes: {
35428
+ sm: ({ theme: t, withLegend, withLabels }) => ({
35429
+ container: {
35430
+ w: withLegend ? "full" : calc.add(
35431
+ get5(t, "sizes.3xs"),
35432
+ withLabels ? get5(t, "sizes.16") : "0px"
35433
+ ),
35434
+ h: calc.add(get5(t, "sizes.3xs"), get5(t, "sizes.1"))
35435
+ },
35436
+ label: {
35437
+ fontSize: "xs"
35438
+ }
35439
+ }),
35440
+ md: ({ theme: t, withLegend, withLabels }) => ({
35441
+ container: {
35442
+ w: withLegend ? "full" : calc.add(
35443
+ get5(t, "sizes.2xs"),
35444
+ withLabels ? get5(t, "sizes.16") : "0px"
35445
+ ),
35446
+ h: "2xs"
35447
+ },
35448
+ label: {
35449
+ fontSize: "sm"
35450
+ }
35451
+ }),
35452
+ lg: ({ theme: t, withLegend, withLabels }) => ({
35453
+ container: {
35454
+ w: withLegend ? "full" : calc.add(
35455
+ get5(t, "sizes.xs"),
35456
+ withLabels ? get5(t, "sizes.16") : "0px"
35457
+ ),
35458
+ h: "xs"
35459
+ },
35460
+ label: {
35461
+ fontSize: "md"
35462
+ }
35463
+ })
35464
+ },
35465
+ defaultProps: {
35466
+ size: "md"
35467
+ }
35468
+ })({ omit: ["line", "grid", "sizes.full"] });
35469
+
35470
+ // ../../theme/src/components/donut-chart.ts
35471
+ var DonutChart = mergeMultiStyle12(PieChart)();
35472
+
35473
+ // ../../theme/src/components/drawer.ts
35474
+ import { mergeMultiStyle as mergeMultiStyle13 } from "@yamada-ui/core";
35414
35475
  import { antonym, toCamelCase } from "@yamada-ui/utils";
35415
- var Drawer = mergeMultiStyle11(Modal, {
35476
+ var Drawer = mergeMultiStyle13(Modal, {
35416
35477
  baseStyle: {
35417
35478
  container: ({ isFullHeight, placement }) => ({
35418
35479
  ...isFullHeight ? { height: "100dvh", rounded: 0 } : {},
@@ -35671,8 +35732,8 @@ var Editable = {
35671
35732
  };
35672
35733
 
35673
35734
  // ../../theme/src/components/file-input.ts
35674
- import { mergeMultiStyle as mergeMultiStyle12 } from "@yamada-ui/core";
35675
- var FileInput = mergeMultiStyle12(Input)();
35735
+ import { mergeMultiStyle as mergeMultiStyle14 } from "@yamada-ui/core";
35736
+ var FileInput = mergeMultiStyle14(Input)();
35676
35737
 
35677
35738
  // ../../theme/src/components/form-control.ts
35678
35739
  var FormControl = {
@@ -35984,16 +36045,16 @@ var Markdown = {
35984
36045
  };
35985
36046
 
35986
36047
  // ../../theme/src/components/month-picker.ts
35987
- import { mergeMultiStyle as mergeMultiStyle13 } from "@yamada-ui/core";
35988
- var MonthPicker = mergeMultiStyle13(DatePicker)();
36048
+ import { mergeMultiStyle as mergeMultiStyle15 } from "@yamada-ui/core";
36049
+ var MonthPicker = mergeMultiStyle15(DatePicker)();
35989
36050
 
35990
36051
  // ../../theme/src/components/multi-autocomplete.ts
35991
- import { mergeMultiStyle as mergeMultiStyle14 } from "@yamada-ui/core";
35992
- var MultiAutocomplete = mergeMultiStyle14(MultiSelect)();
36052
+ import { mergeMultiStyle as mergeMultiStyle16 } from "@yamada-ui/core";
36053
+ var MultiAutocomplete = mergeMultiStyle16(MultiSelect)();
35993
36054
 
35994
36055
  // ../../theme/src/components/multi-date-picker.ts
35995
- import { mergeMultiStyle as mergeMultiStyle15 } from "@yamada-ui/core";
35996
- var MultiDatePicker = mergeMultiStyle15(DatePicker)();
36056
+ import { mergeMultiStyle as mergeMultiStyle17 } from "@yamada-ui/core";
36057
+ var MultiDatePicker = mergeMultiStyle17(DatePicker)();
35997
36058
 
35998
36059
  // ../../theme/src/components/native-table.ts
35999
36060
  import { transparentizeColor as transparentizeColor5, isGray as isGray6, tintColor as tintColor5 } from "@yamada-ui/utils";
@@ -36248,8 +36309,8 @@ var NativeTable = {
36248
36309
  };
36249
36310
 
36250
36311
  // ../../theme/src/components/number-input.ts
36251
- import { mergeMultiStyle as mergeMultiStyle16 } from "@yamada-ui/core";
36252
- var NumberInput = mergeMultiStyle16(Input, {
36312
+ import { mergeMultiStyle as mergeMultiStyle18 } from "@yamada-ui/core";
36313
+ var NumberInput = mergeMultiStyle18(Input, {
36253
36314
  baseStyle: {
36254
36315
  stepper: {
36255
36316
  borderStart: "1px solid",
@@ -36558,11 +36619,11 @@ var Pagination = {
36558
36619
  };
36559
36620
 
36560
36621
  // ../../theme/src/components/paging-table.ts
36561
- import { mergeMultiStyle as mergeMultiStyle18 } from "@yamada-ui/core";
36622
+ import { mergeMultiStyle as mergeMultiStyle20 } from "@yamada-ui/core";
36562
36623
 
36563
36624
  // ../../theme/src/components/table.ts
36564
- import { mergeMultiStyle as mergeMultiStyle17 } from "@yamada-ui/core";
36565
- var Table = mergeMultiStyle17(NativeTable, {
36625
+ import { mergeMultiStyle as mergeMultiStyle19 } from "@yamada-ui/core";
36626
+ var Table = mergeMultiStyle19(NativeTable, {
36566
36627
  baseStyle: {
36567
36628
  sortIcon: {}
36568
36629
  },
@@ -36591,7 +36652,7 @@ var Table = mergeMultiStyle17(NativeTable, {
36591
36652
  })();
36592
36653
 
36593
36654
  // ../../theme/src/components/paging-table.ts
36594
- var PagingTable = mergeMultiStyle18(Table, {
36655
+ var PagingTable = mergeMultiStyle20(Table, {
36595
36656
  baseStyle: {
36596
36657
  pagingControl: {
36597
36658
  gridTemplateColumns: "1fr 5fr 1fr"
@@ -36622,8 +36683,8 @@ var PagingTable = mergeMultiStyle18(Table, {
36622
36683
  })();
36623
36684
 
36624
36685
  // ../../theme/src/components/pin-input.ts
36625
- import { mergeMultiStyle as mergeMultiStyle19 } from "@yamada-ui/core";
36626
- var PinInput = mergeMultiStyle19(Input, {
36686
+ import { mergeMultiStyle as mergeMultiStyle21 } from "@yamada-ui/core";
36687
+ var PinInput = mergeMultiStyle21(Input, {
36627
36688
  baseStyle: {
36628
36689
  container: {
36629
36690
  gap: "sm"
@@ -36784,8 +36845,8 @@ var Progress = {
36784
36845
  };
36785
36846
 
36786
36847
  // ../../theme/src/components/radar-chart.ts
36787
- import { mergeMultiStyle as mergeMultiStyle20 } from "@yamada-ui/core";
36788
- var RadarChart = mergeMultiStyle20(LineChart, {
36848
+ import { mergeMultiStyle as mergeMultiStyle22 } from "@yamada-ui/core";
36849
+ var RadarChart = mergeMultiStyle22(LineChart, {
36789
36850
  baseStyle: {
36790
36851
  radar: {},
36791
36852
  polarGrid: {
@@ -36929,11 +36990,11 @@ var Radio = {
36929
36990
  };
36930
36991
 
36931
36992
  // ../../theme/src/components/range-date-picker.ts
36932
- import { mergeMultiStyle as mergeMultiStyle21 } from "@yamada-ui/core";
36933
- var RangeDatePicker = mergeMultiStyle21(DatePicker)();
36993
+ import { mergeMultiStyle as mergeMultiStyle23 } from "@yamada-ui/core";
36994
+ var RangeDatePicker = mergeMultiStyle23(DatePicker)();
36934
36995
 
36935
36996
  // ../../theme/src/components/range-slider.ts
36936
- import { mergeMultiStyle as mergeMultiStyle22 } from "@yamada-ui/core";
36997
+ import { mergeMultiStyle as mergeMultiStyle24 } from "@yamada-ui/core";
36937
36998
 
36938
36999
  // ../../theme/src/components/slider.ts
36939
37000
  import { shadeColor as shadeColor7, tintColor as tintColor6 } from "@yamada-ui/utils";
@@ -37025,7 +37086,7 @@ var Slider = {
37025
37086
  };
37026
37087
 
37027
37088
  // ../../theme/src/components/range-slider.ts
37028
- var RangeSlider = mergeMultiStyle22(Slider)();
37089
+ var RangeSlider = mergeMultiStyle24(Slider)();
37029
37090
 
37030
37091
  // ../../theme/src/components/rating.ts
37031
37092
  var Rating = {
@@ -37514,7 +37575,7 @@ var Stat = {
37514
37575
  };
37515
37576
 
37516
37577
  // ../../theme/src/components/stepper.ts
37517
- import { getMemoizedObject as get5 } from "@yamada-ui/utils";
37578
+ import { getMemoizedObject as get6 } from "@yamada-ui/utils";
37518
37579
  var Stepper = {
37519
37580
  baseStyle: ({ colorScheme: c = "primary" }) => ({
37520
37581
  stepper: {
@@ -37615,9 +37676,9 @@ var Stepper = {
37615
37676
  fontSize: "sm"
37616
37677
  },
37617
37678
  separator: {
37618
- maxHeight: `calc(100% - ${get5(t, "sizes.6")} - 8px)`,
37619
- top: `calc(${get5(t, "sizes.6")} + 4px)`,
37620
- insetStart: `calc(${get5(t, "sizes.6")} / 2 - 1px)`
37679
+ maxHeight: `calc(100% - ${get6(t, "sizes.6")} - 8px)`,
37680
+ top: `calc(${get6(t, "sizes.6")} + 4px)`,
37681
+ insetStart: `calc(${get6(t, "sizes.6")} / 2 - 1px)`
37621
37682
  }
37622
37683
  }),
37623
37684
  md: ({ theme: t }) => ({
@@ -37639,9 +37700,9 @@ var Stepper = {
37639
37700
  fontSize: "md"
37640
37701
  },
37641
37702
  separator: {
37642
- maxHeight: `calc(100% - ${get5(t, "sizes.8")} - 8px)`,
37643
- top: `calc(${get5(t, "sizes.8")} + 4px)`,
37644
- insetStart: `calc(${get5(t, "sizes.8")} / 2 - 1px)`
37703
+ maxHeight: `calc(100% - ${get6(t, "sizes.8")} - 8px)`,
37704
+ top: `calc(${get6(t, "sizes.8")} + 4px)`,
37705
+ insetStart: `calc(${get6(t, "sizes.8")} / 2 - 1px)`
37645
37706
  }
37646
37707
  }),
37647
37708
  lg: ({ theme: t }) => ({
@@ -37663,9 +37724,9 @@ var Stepper = {
37663
37724
  fontSize: "lg"
37664
37725
  },
37665
37726
  separator: {
37666
- maxHeight: `calc(100% - ${get5(t, "sizes.10")} - 8px)`,
37667
- top: `calc(${get5(t, "sizes.10")} + 4px)`,
37668
- insetStart: `calc(${get5(t, "sizes.10")} / 2 - 1px)`
37727
+ maxHeight: `calc(100% - ${get6(t, "sizes.10")} - 8px)`,
37728
+ top: `calc(${get6(t, "sizes.10")} + 4px)`,
37729
+ insetStart: `calc(${get6(t, "sizes.10")} / 2 - 1px)`
37669
37730
  }
37670
37731
  })
37671
37732
  },
@@ -38026,7 +38087,7 @@ var Tabs = {
38026
38087
  // ../../theme/src/components/tag.ts
38027
38088
  import { mode as mode10 } from "@yamada-ui/core";
38028
38089
  import {
38029
- getMemoizedObject as get6,
38090
+ getMemoizedObject as get7,
38030
38091
  getColor as getColor9,
38031
38092
  isGray as isGray12,
38032
38093
  shadeColor as shadeColor10,
@@ -38105,7 +38166,7 @@ var Tag = {
38105
38166
  minW: "6",
38106
38167
  fontSize: "xs",
38107
38168
  px: "2",
38108
- lineHeight: get6(t, "sizes.6")
38169
+ lineHeight: get7(t, "sizes.6")
38109
38170
  }
38110
38171
  }),
38111
38172
  md: ({ theme: t }) => ({
@@ -38114,7 +38175,7 @@ var Tag = {
38114
38175
  minW: "7",
38115
38176
  fontSize: "sm",
38116
38177
  px: "2",
38117
- lineHeight: get6(t, "sizes.7")
38178
+ lineHeight: get7(t, "sizes.7")
38118
38179
  }
38119
38180
  }),
38120
38181
  lg: ({ theme: t }) => ({
@@ -38123,7 +38184,7 @@ var Tag = {
38123
38184
  minW: "8",
38124
38185
  fontSize: "md",
38125
38186
  px: "3",
38126
- lineHeight: get6(t, "sizes.8")
38187
+ lineHeight: get7(t, "sizes.8")
38127
38188
  }
38128
38189
  })
38129
38190
  },
@@ -38171,7 +38232,7 @@ var Textarea = mergeStyle2(pickStyle(Input, "field"), {
38171
38232
 
38172
38233
  // ../../theme/src/components/toggle.ts
38173
38234
  import {
38174
- getMemoizedObject as get7,
38235
+ getMemoizedObject as get8,
38175
38236
  isAccessible as isAccessible5,
38176
38237
  isGray as isGray13,
38177
38238
  shadeColor as shadeColor11,
@@ -38278,22 +38339,22 @@ var Toggle = {
38278
38339
  xs: ({ theme: t }) => ({
38279
38340
  minBoxSize: 6,
38280
38341
  fontSize: "xs",
38281
- lineHeight: get7(t, "sizes.6")
38342
+ lineHeight: get8(t, "sizes.6")
38282
38343
  }),
38283
38344
  sm: ({ theme: t }) => ({
38284
38345
  minBoxSize: 8,
38285
38346
  fontSize: "sm",
38286
- lineHeight: get7(t, "sizes.8")
38347
+ lineHeight: get8(t, "sizes.8")
38287
38348
  }),
38288
38349
  md: ({ theme: t }) => ({
38289
38350
  minBoxSize: 10,
38290
38351
  fontSize: "md",
38291
- lineHeight: get7(t, "sizes.10")
38352
+ lineHeight: get8(t, "sizes.10")
38292
38353
  }),
38293
38354
  lg: ({ theme: t }) => ({
38294
38355
  minBoxSize: 12,
38295
38356
  fontSize: "lg",
38296
- lineHeight: get7(t, "sizes.12")
38357
+ lineHeight: get8(t, "sizes.12")
38297
38358
  })
38298
38359
  },
38299
38360
  defaultProps: {
@@ -38346,6 +38407,7 @@ var components_default = {
38346
38407
  DatePicker,
38347
38408
  Dialog,
38348
38409
  Divider,
38410
+ DonutChart,
38349
38411
  Drawer,
38350
38412
  Dropzone,
38351
38413
  Editable,
@@ -38372,6 +38434,7 @@ var components_default = {
38372
38434
  NumberInput,
38373
38435
  Pagination,
38374
38436
  PagingTable,
38437
+ PieChart,
38375
38438
  PinInput,
38376
38439
  Popover,
38377
38440
  Progress,
@@ -39357,7 +39420,7 @@ import * as utils_star from "@yamada-ui/utils";
39357
39420
  // ../../theme-tools/src/extend-theme.ts
39358
39421
  import {
39359
39422
  merge as mergeObject,
39360
- getMemoizedObject as get8,
39423
+ getMemoizedObject as get9,
39361
39424
  runIfFunc as runIfFunc2,
39362
39425
  omitObject,
39363
39426
  pickObject,
@@ -39384,7 +39447,7 @@ var createExtendTheme = (initialTheme = defaultTheme) => (...extensions) => ({ m
39384
39447
  };
39385
39448
  var extendTheme = createExtendTheme(defaultTheme);
39386
39449
  var extendBaseTheme = createExtendTheme(baseTheme);
39387
- var extendToken = (token, tokens) => mergeObject(get8(defaultTheme, token, {}), tokens != null ? tokens : {});
39450
+ var extendToken = (token, tokens) => mergeObject(get9(defaultTheme, token, {}), tokens != null ? tokens : {});
39388
39451
  var extendStyle = (name, style) => {
39389
39452
  var _a;
39390
39453
  const props = {
@@ -39396,12 +39459,12 @@ var extendStyle = (name, style) => {
39396
39459
  }
39397
39460
  };
39398
39461
  return mergeObject(
39399
- runIfFunc2(get8(defaultTheme, `styles.${name}`, {}), props),
39462
+ runIfFunc2(get9(defaultTheme, `styles.${name}`, {}), props),
39400
39463
  (_a = runIfFunc2(style, props)) != null ? _a : {}
39401
39464
  );
39402
39465
  };
39403
39466
  var extendComponent = (name, componentStyle) => mergeObject(
39404
- get8(
39467
+ get9(
39405
39468
  defaultTheme,
39406
39469
  `components.${name}`,
39407
39470
  {}
@@ -39409,11 +39472,11 @@ var extendComponent = (name, componentStyle) => mergeObject(
39409
39472
  componentStyle != null ? componentStyle : {}
39410
39473
  );
39411
39474
  var extendComponentSize = (name, componentSizes) => mergeObject(
39412
- get8(defaultTheme, `components.${name}.sizes`, {}),
39475
+ get9(defaultTheme, `components.${name}.sizes`, {}),
39413
39476
  componentSizes != null ? componentSizes : {}
39414
39477
  );
39415
39478
  var extendComponentVariant = (name, componentVariants) => mergeObject(
39416
- get8(
39479
+ get9(
39417
39480
  defaultTheme,
39418
39481
  `components.${name}.variants`,
39419
39482
  {}
@@ -39421,7 +39484,7 @@ var extendComponentVariant = (name, componentVariants) => mergeObject(
39421
39484
  componentVariants != null ? componentVariants : {}
39422
39485
  );
39423
39486
  var extendComponentDefaultProps = (name, componentDefaultProps) => mergeObject(
39424
- get8(
39487
+ get9(
39425
39488
  defaultTheme,
39426
39489
  `components.${name}.defaultProps`,
39427
39490
  {}
@@ -40798,7 +40861,7 @@ var Center = ui19("div", {
40798
40861
 
40799
40862
  // ../layouts/src/grid.tsx
40800
40863
  import { ui as ui20, forwardRef as forwardRef26, useTheme as useTheme4, transforms } from "@yamada-ui/core";
40801
- import { replaceObject as replaceObject2, getMemoizedObject as get9 } from "@yamada-ui/utils";
40864
+ import { replaceObject as replaceObject2, getMemoizedObject as get10 } from "@yamada-ui/utils";
40802
40865
  import { jsx as jsx33 } from "react/jsx-runtime";
40803
40866
  var Grid2 = forwardRef26(
40804
40867
  ({
@@ -40837,7 +40900,7 @@ var Grid2 = forwardRef26(
40837
40900
  var transformColumns = (columns, minWidth) => (theme) => {
40838
40901
  if (minWidth) {
40839
40902
  return replaceObject2(minWidth, (value) => {
40840
- value = get9(theme, `sizes.${value}`, transforms.px(value));
40903
+ value = get10(theme, `sizes.${value}`, transforms.px(value));
40841
40904
  return value != null ? `repeat(auto-fit, minmax(${value}, 1fr))` : void 0;
40842
40905
  });
40843
40906
  } else {
@@ -62856,7 +62919,7 @@ var Snack = forwardRef141(
62856
62919
  // ../snacks/src/snacks.tsx
62857
62920
  import { ui as ui126, forwardRef as forwardRef142, useTheme as useTheme8 } from "@yamada-ui/core";
62858
62921
  import { AnimatePresence as AnimatePresence7, Motion as Motion6, useIsPresent as useIsPresent2 } from "@yamada-ui/motion";
62859
- import { calc, cx as cx132, noop as noop2, runIfFunc as runIfFunc12, useUpdateEffect as useUpdateEffect17 } from "@yamada-ui/utils";
62922
+ import { calc as calc2, cx as cx132, noop as noop2, runIfFunc as runIfFunc12, useUpdateEffect as useUpdateEffect17 } from "@yamada-ui/utils";
62860
62923
  import { createRef as createRef4, memo as memo3, useEffect as useEffect43, useMemo as useMemo31, useRef as useRef47, useState as useState51 } from "react";
62861
62924
  import { jsx as jsx153 } from "react/jsx-runtime";
62862
62925
  var defaultContainerVariants = {
@@ -62906,8 +62969,8 @@ var Snacks = forwardRef142(
62906
62969
  );
62907
62970
  const top2 = (_a = useToken("spaces", useValue(gutter[0]))) != null ? _a : 0;
62908
62971
  const bottom2 = (_b = useToken("spaces", useValue(gutter[1]))) != null ? _b : 0;
62909
- const negatedTop = calc(top2).negate().toString();
62910
- const negatedBottom = calc(bottom2).negate().toString();
62972
+ const negatedTop = calc2(top2).negate().toString();
62973
+ const negatedBottom = calc2(bottom2).negate().toString();
62911
62974
  const isShow = !!count || isExist;
62912
62975
  const css = {
62913
62976
  w: "100%",
@@ -63717,4 +63780,4 @@ object-assign/index.js:
63717
63780
  @license MIT
63718
63781
  *)
63719
63782
  */
63720
- //# sourceMappingURL=chunk-JZ57SWSI.mjs.map
63783
+ //# sourceMappingURL=chunk-LCBUXCJ2.mjs.map