@duskmoon-dev/components 2.0.0-rc.3 → 2.1.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
@@ -79,7 +79,7 @@ var ThemeInitScript = () => {
79
79
  import { useCallback as useCallback2, useState as useState2 } from "react";
80
80
 
81
81
  // src/generated/version.ts
82
- var version = "2.0.0-rc.3";
82
+ var version = "2.1.0";
83
83
 
84
84
  // src/infrastructure.ts
85
85
  var theme = {
@@ -21756,6 +21756,9 @@ StepsRoot.displayName = "Steps";
21756
21756
  var Steps = Object.assign(StepsRoot, {
21757
21757
  Step
21758
21758
  });
21759
+ // src/components/settings/Settings.tsx
21760
+ import { forwardRef as forwardRef85, useId as useId27 } from "react";
21761
+
21759
21762
  // src/components/switch/Switch.tsx
21760
21763
  import { forwardRef as forwardRef84, useState as useState63 } from "react";
21761
21764
 
@@ -21853,8 +21856,168 @@ var Switch = forwardRef84(({
21853
21856
  });
21854
21857
  });
21855
21858
  Switch.displayName = "Switch";
21859
+ // src/components/settings/Settings.tsx
21860
+ import { jsx as jsx105, jsxs as jsxs83, Fragment as Fragment25 } from "react/jsx-runtime";
21861
+ var SettingsList = forwardRef85(({ className, ...props }, ref) => /* @__PURE__ */ jsx105("div", {
21862
+ ...props,
21863
+ ref,
21864
+ className: cn("settings-list", className)
21865
+ }));
21866
+ SettingsList.displayName = "SettingsList";
21867
+ var SettingsSection = forwardRef85(({ title, description, headingLevel = 2, className, children, ...props }, ref) => {
21868
+ const headingId = useId27();
21869
+ const descriptionId = `${headingId}-description`;
21870
+ const Heading2 = `h${headingLevel}`;
21871
+ return /* @__PURE__ */ jsxs83("section", {
21872
+ "aria-labelledby": headingId,
21873
+ "aria-describedby": description != null ? descriptionId : undefined,
21874
+ ...props,
21875
+ ref,
21876
+ className: cn("settings-section", className),
21877
+ children: [
21878
+ /* @__PURE__ */ jsx105(Heading2, {
21879
+ className: "settings-section-title",
21880
+ id: headingId,
21881
+ children: title
21882
+ }),
21883
+ /* @__PURE__ */ jsx105("ul", {
21884
+ className: "settings-section-items",
21885
+ role: "list",
21886
+ children
21887
+ }),
21888
+ description != null && /* @__PURE__ */ jsx105("div", {
21889
+ className: "settings-section-description",
21890
+ id: descriptionId,
21891
+ children: description
21892
+ })
21893
+ ]
21894
+ });
21895
+ });
21896
+ SettingsSection.displayName = "SettingsSection";
21897
+ function TileContent({
21898
+ title,
21899
+ description,
21900
+ leading,
21901
+ titleId,
21902
+ descriptionId
21903
+ }) {
21904
+ return /* @__PURE__ */ jsxs83(Fragment25, {
21905
+ children: [
21906
+ leading != null && /* @__PURE__ */ jsx105("span", {
21907
+ className: "settings-row-leading",
21908
+ "aria-hidden": "true",
21909
+ children: leading
21910
+ }),
21911
+ /* @__PURE__ */ jsxs83("span", {
21912
+ className: "settings-row-content",
21913
+ children: [
21914
+ /* @__PURE__ */ jsx105("span", {
21915
+ className: "settings-row-title",
21916
+ id: titleId,
21917
+ children: title
21918
+ }),
21919
+ description != null && /* @__PURE__ */ jsx105("span", {
21920
+ className: "settings-row-description",
21921
+ id: descriptionId,
21922
+ children: description
21923
+ })
21924
+ ]
21925
+ })
21926
+ ]
21927
+ });
21928
+ }
21929
+ var StaticTile = forwardRef85(({ title, description, leading, trailing, stacked, ...props }, ref) => /* @__PURE__ */ jsx105("li", {
21930
+ ...props,
21931
+ ref,
21932
+ children: /* @__PURE__ */ jsxs83("div", {
21933
+ className: cn("settings-row", stacked && "settings-row-stacked"),
21934
+ children: [
21935
+ /* @__PURE__ */ jsx105(TileContent, {
21936
+ title,
21937
+ description,
21938
+ leading
21939
+ }),
21940
+ trailing != null && /* @__PURE__ */ jsx105("div", {
21941
+ className: "settings-row-trailing",
21942
+ children: trailing
21943
+ })
21944
+ ]
21945
+ })
21946
+ }));
21947
+ StaticTile.displayName = "SettingsTile";
21948
+ var LinkTile = forwardRef85(({ title, description, leading, value, className, ...props }, ref) => /* @__PURE__ */ jsx105("li", {
21949
+ children: /* @__PURE__ */ jsxs83("a", {
21950
+ ...props,
21951
+ ref,
21952
+ className: cn("settings-row", className),
21953
+ children: [
21954
+ /* @__PURE__ */ jsx105(TileContent, {
21955
+ title,
21956
+ description,
21957
+ leading
21958
+ }),
21959
+ /* @__PURE__ */ jsxs83("span", {
21960
+ className: "settings-row-trailing",
21961
+ children: [
21962
+ value,
21963
+ /* @__PURE__ */ jsx105("span", {
21964
+ className: "settings-row-chevron",
21965
+ "aria-hidden": "true"
21966
+ })
21967
+ ]
21968
+ })
21969
+ ]
21970
+ })
21971
+ }));
21972
+ LinkTile.displayName = "SettingsTile.Link";
21973
+ var SwitchTile = forwardRef85(({
21974
+ title,
21975
+ description,
21976
+ leading,
21977
+ checked,
21978
+ onCheckedChange,
21979
+ disabled,
21980
+ name,
21981
+ ...props
21982
+ }, ref) => {
21983
+ const id = useId27();
21984
+ const titleId = `${id}-title`;
21985
+ const descriptionId = `${id}-description`;
21986
+ return /* @__PURE__ */ jsx105("li", {
21987
+ ...props,
21988
+ ref,
21989
+ children: /* @__PURE__ */ jsxs83("div", {
21990
+ className: "settings-row",
21991
+ children: [
21992
+ /* @__PURE__ */ jsx105(TileContent, {
21993
+ title,
21994
+ description,
21995
+ leading,
21996
+ titleId,
21997
+ descriptionId
21998
+ }),
21999
+ /* @__PURE__ */ jsx105("div", {
22000
+ className: "settings-row-trailing",
22001
+ children: /* @__PURE__ */ jsx105(Switch, {
22002
+ checked,
22003
+ disabled,
22004
+ name,
22005
+ onChange: onCheckedChange,
22006
+ "aria-labelledby": titleId,
22007
+ "aria-describedby": description != null ? descriptionId : undefined
22008
+ })
22009
+ })
22010
+ ]
22011
+ })
22012
+ });
22013
+ });
22014
+ SwitchTile.displayName = "SettingsTile.Switch";
22015
+ var SettingsTile = Object.assign(StaticTile, {
22016
+ Link: LinkTile,
22017
+ Switch: SwitchTile
22018
+ });
21856
22019
  // src/components/swap/Swap.tsx
21857
- import { forwardRef as forwardRef85 } from "react";
22020
+ import { forwardRef as forwardRef86 } from "react";
21858
22021
 
21859
22022
  // src/classes/swap.ts
21860
22023
  var swapBaseClass = "swap";
@@ -21873,8 +22036,8 @@ function getSwapInputClasses({ className }) {
21873
22036
  }
21874
22037
 
21875
22038
  // src/components/swap/Swap.tsx
21876
- import { jsx as jsx105, jsxs as jsxs83 } from "react/jsx-runtime";
21877
- var Swap = forwardRef85(({
22039
+ import { jsx as jsx106, jsxs as jsxs84 } from "react/jsx-runtime";
22040
+ var Swap = forwardRef86(({
21878
22041
  checked,
21879
22042
  defaultChecked,
21880
22043
  onChange,
@@ -21885,10 +22048,10 @@ var Swap = forwardRef85(({
21885
22048
  wrapperClassName,
21886
22049
  className,
21887
22050
  ...inputProps
21888
- }, ref) => /* @__PURE__ */ jsxs83("label", {
22051
+ }, ref) => /* @__PURE__ */ jsxs84("label", {
21889
22052
  className: getSwapClasses({ rotate, wrapperClassName }),
21890
22053
  children: [
21891
- /* @__PURE__ */ jsx105("input", {
22054
+ /* @__PURE__ */ jsx106("input", {
21892
22055
  ...inputProps,
21893
22056
  ref,
21894
22057
  type: "checkbox",
@@ -21898,12 +22061,12 @@ var Swap = forwardRef85(({
21898
22061
  onChange,
21899
22062
  disabled
21900
22063
  }),
21901
- /* @__PURE__ */ jsx105("span", {
22064
+ /* @__PURE__ */ jsx106("span", {
21902
22065
  className: swapOffClass,
21903
22066
  "aria-hidden": "true",
21904
22067
  children: off
21905
22068
  }),
21906
- /* @__PURE__ */ jsx105("span", {
22069
+ /* @__PURE__ */ jsx106("span", {
21907
22070
  className: swapOnClass,
21908
22071
  "aria-hidden": "true",
21909
22072
  children: on
@@ -21911,19 +22074,19 @@ var Swap = forwardRef85(({
21911
22074
  ]
21912
22075
  }));
21913
22076
  Swap.displayName = "Swap";
21914
- var SwapButton = forwardRef85(({ on, off, rotate, className, pressed, type = "button", ...buttonProps }, ref) => /* @__PURE__ */ jsxs83("button", {
22077
+ var SwapButton = forwardRef86(({ on, off, rotate, className, pressed, type = "button", ...buttonProps }, ref) => /* @__PURE__ */ jsxs84("button", {
21915
22078
  ...buttonProps,
21916
22079
  ref,
21917
22080
  type,
21918
22081
  "aria-pressed": pressed,
21919
22082
  className: getSwapClasses({ rotate, wrapperClassName: className }),
21920
22083
  children: [
21921
- /* @__PURE__ */ jsx105("span", {
22084
+ /* @__PURE__ */ jsx106("span", {
21922
22085
  className: swapOffClass,
21923
22086
  "aria-hidden": "true",
21924
22087
  children: off
21925
22088
  }),
21926
- /* @__PURE__ */ jsx105("span", {
22089
+ /* @__PURE__ */ jsx106("span", {
21927
22090
  className: swapOnClass,
21928
22091
  "aria-hidden": "true",
21929
22092
  children: on
@@ -21932,7 +22095,7 @@ var SwapButton = forwardRef85(({ on, off, rotate, className, pressed, type = "bu
21932
22095
  }));
21933
22096
  SwapButton.displayName = "SwapButton";
21934
22097
  // src/components/tag/Tag.tsx
21935
- import { forwardRef as forwardRef86 } from "react";
22098
+ import { forwardRef as forwardRef87 } from "react";
21936
22099
 
21937
22100
  // src/classes/tag.ts
21938
22101
  var tagBaseClass = "chip";
@@ -21972,9 +22135,9 @@ function getCheckableTagClasses({
21972
22135
  }
21973
22136
 
21974
22137
  // src/components/tag/Tag.tsx
21975
- import { jsx as jsx106, jsxs as jsxs84 } from "react/jsx-runtime";
22138
+ import { jsx as jsx107, jsxs as jsxs85 } from "react/jsx-runtime";
21976
22139
  var defaultCloseIcon3 = "x";
21977
- var TagRoot = forwardRef86(({
22140
+ var TagRoot = forwardRef87(({
21978
22141
  color,
21979
22142
  icon,
21980
22143
  closable,
@@ -21984,18 +22147,18 @@ var TagRoot = forwardRef86(({
21984
22147
  className,
21985
22148
  children,
21986
22149
  ...props
21987
- }, ref) => /* @__PURE__ */ jsxs84("span", {
22150
+ }, ref) => /* @__PURE__ */ jsxs85("span", {
21988
22151
  ref,
21989
22152
  className: getTagClasses({ color, bordered, className }),
21990
22153
  ...props,
21991
22154
  children: [
21992
- icon ? /* @__PURE__ */ jsx106("span", {
22155
+ icon ? /* @__PURE__ */ jsx107("span", {
21993
22156
  className: tagIconClass,
21994
22157
  "aria-hidden": "true",
21995
22158
  children: icon
21996
22159
  }) : null,
21997
22160
  children,
21998
- closable ? /* @__PURE__ */ jsx106("button", {
22161
+ closable ? /* @__PURE__ */ jsx107("button", {
21999
22162
  type: "button",
22000
22163
  className: tagCloseClass,
22001
22164
  "aria-label": "Close",
@@ -22005,7 +22168,7 @@ var TagRoot = forwardRef86(({
22005
22168
  ]
22006
22169
  }));
22007
22170
  TagRoot.displayName = "Tag";
22008
- var CheckableTag = forwardRef86(({
22171
+ var CheckableTag = forwardRef87(({
22009
22172
  checked = false,
22010
22173
  onChange,
22011
22174
  disabled,
@@ -22037,7 +22200,7 @@ var CheckableTag = forwardRef86(({
22037
22200
  event.preventDefault();
22038
22201
  emitChange();
22039
22202
  }
22040
- return /* @__PURE__ */ jsx106("span", {
22203
+ return /* @__PURE__ */ jsx107("span", {
22041
22204
  ...props,
22042
22205
  ref,
22043
22206
  role: "checkbox",
@@ -22055,7 +22218,7 @@ var Tag = Object.assign(TagRoot, {
22055
22218
  CheckableTag
22056
22219
  });
22057
22220
  // src/components/time-picker/TimePicker.tsx
22058
- import { forwardRef as forwardRef87, useState as useState64 } from "react";
22221
+ import { forwardRef as forwardRef88, useState as useState64 } from "react";
22059
22222
 
22060
22223
  // src/classes/time-picker.ts
22061
22224
  var timePickerBaseClass = "time-input time-picker";
@@ -22094,7 +22257,7 @@ function getTimePickerPanelClasses({
22094
22257
  }
22095
22258
 
22096
22259
  // src/components/time-picker/TimePicker.tsx
22097
- import { jsx as jsx107, jsxs as jsxs85 } from "react/jsx-runtime";
22260
+ import { jsx as jsx108, jsxs as jsxs86 } from "react/jsx-runtime";
22098
22261
  var TIME_PARTS_PATTERN = /^(\d{1,2}):(\d{2})(?::(\d{2}))?\s*([AaPp][Mm])?$/;
22099
22262
  function padTimePart(value) {
22100
22263
  return String(value).padStart(2, "0");
@@ -22163,7 +22326,7 @@ function nowValue() {
22163
22326
  const now = new Date;
22164
22327
  return `${padTimePart(now.getHours())}:${padTimePart(now.getMinutes())}:${padTimePart(now.getSeconds())}`;
22165
22328
  }
22166
- var TimePickerRoot = forwardRef87(({
22329
+ var TimePickerRoot = forwardRef88(({
22167
22330
  allowClear,
22168
22331
  className,
22169
22332
  inputProps,
@@ -22214,7 +22377,7 @@ var TimePickerRoot = forwardRef87(({
22214
22377
  }
22215
22378
  onChange?.(nextValue, normalizedTimeString(nextValue, timeFormat, use12Hours));
22216
22379
  }
22217
- return /* @__PURE__ */ jsxs85("div", {
22380
+ return /* @__PURE__ */ jsxs86("div", {
22218
22381
  ...props,
22219
22382
  ref: dropdown.rootRef,
22220
22383
  onBlur: dropdown.onRootBlur,
@@ -22226,7 +22389,7 @@ var TimePickerRoot = forwardRef87(({
22226
22389
  className
22227
22390
  }),
22228
22391
  children: [
22229
- /* @__PURE__ */ jsx107("input", {
22392
+ /* @__PURE__ */ jsx108("input", {
22230
22393
  ...inputProps,
22231
22394
  ref: dropdown.inputRef,
22232
22395
  "aria-haspopup": "dialog",
@@ -22246,7 +22409,7 @@ var TimePickerRoot = forwardRef87(({
22246
22409
  onClick: () => setVisible(true),
22247
22410
  onChange: (event) => emitChange(event.currentTarget.value || undefined)
22248
22411
  }),
22249
- allowClear && currentValue && !disabled ? /* @__PURE__ */ jsx107("button", {
22412
+ allowClear && currentValue && !disabled ? /* @__PURE__ */ jsx108("button", {
22250
22413
  type: "button",
22251
22414
  className: timePickerClearClass,
22252
22415
  "aria-label": "Clear time",
@@ -22254,7 +22417,7 @@ var TimePickerRoot = forwardRef87(({
22254
22417
  onClick: () => emitChange(undefined),
22255
22418
  children: "x"
22256
22419
  }) : null,
22257
- /* @__PURE__ */ jsx107("button", {
22420
+ /* @__PURE__ */ jsx108("button", {
22258
22421
  type: "button",
22259
22422
  className: timePickerIconClass,
22260
22423
  "aria-label": "Open time picker",
@@ -22265,19 +22428,19 @@ var TimePickerRoot = forwardRef87(({
22265
22428
  onMouseDown: (event) => event.preventDefault(),
22266
22429
  onClick: () => setVisible(!visible)
22267
22430
  }),
22268
- visible ? /* @__PURE__ */ jsxs85("div", {
22431
+ visible ? /* @__PURE__ */ jsxs86("div", {
22269
22432
  id: dropdown.panelId,
22270
22433
  role: "dialog",
22271
22434
  "aria-label": "Choose time",
22272
22435
  className: getTimePickerPanelClasses({ open: visible }),
22273
22436
  children: [
22274
- /* @__PURE__ */ jsx107("div", {
22437
+ /* @__PURE__ */ jsx108("div", {
22275
22438
  className: "time-picker-columns",
22276
- children: ["hour", "minute", "second"].filter((part) => part === "hour" || timeFormat.includes(part === "minute" ? "m" : "s")).map((part) => /* @__PURE__ */ jsx107("div", {
22439
+ children: ["hour", "minute", "second"].filter((part) => part === "hour" || timeFormat.includes(part === "minute" ? "m" : "s")).map((part) => /* @__PURE__ */ jsx108("div", {
22277
22440
  className: "time-picker-column",
22278
22441
  role: "listbox",
22279
22442
  "aria-label": `${part[0].toUpperCase()}${part.slice(1)}s`,
22280
- children: Array.from({ length: part === "hour" ? 24 : 60 }, (_, option) => /* @__PURE__ */ jsx107("button", {
22443
+ children: Array.from({ length: part === "hour" ? 24 : 60 }, (_, option) => /* @__PURE__ */ jsx108("button", {
22281
22444
  type: "button",
22282
22445
  role: "option",
22283
22446
  className: "time-picker-option",
@@ -22292,10 +22455,10 @@ var TimePickerRoot = forwardRef87(({
22292
22455
  }, option))
22293
22456
  }, part))
22294
22457
  }),
22295
- /* @__PURE__ */ jsxs85("div", {
22458
+ /* @__PURE__ */ jsxs86("div", {
22296
22459
  className: timePickerFooterClass,
22297
22460
  children: [
22298
- showNow ? /* @__PURE__ */ jsx107("button", {
22461
+ showNow ? /* @__PURE__ */ jsx108("button", {
22299
22462
  type: "button",
22300
22463
  className: timePickerNowClass,
22301
22464
  disabled: isDisabledTime(nowValue(), {
@@ -22309,7 +22472,7 @@ var TimePickerRoot = forwardRef87(({
22309
22472
  },
22310
22473
  children: "Now"
22311
22474
  }) : null,
22312
- /* @__PURE__ */ jsx107("button", {
22475
+ /* @__PURE__ */ jsx108("button", {
22313
22476
  type: "button",
22314
22477
  className: "time-picker-confirm",
22315
22478
  onClick: dropdown.closeAndFocus,
@@ -22323,7 +22486,7 @@ var TimePickerRoot = forwardRef87(({
22323
22486
  });
22324
22487
  });
22325
22488
  TimePickerRoot.displayName = "TimePicker";
22326
- var RangePicker2 = forwardRef87(({
22489
+ var RangePicker2 = forwardRef88(({
22327
22490
  allowClear,
22328
22491
  className,
22329
22492
  inputProps,
@@ -22360,7 +22523,7 @@ var RangePicker2 = forwardRef87(({
22360
22523
  function updateIndex(index, nextItem) {
22361
22524
  emitChange(index === 0 ? [nextItem, currentValue?.[1]] : [currentValue?.[0], nextItem]);
22362
22525
  }
22363
- return /* @__PURE__ */ jsxs85("div", {
22526
+ return /* @__PURE__ */ jsxs86("div", {
22364
22527
  ...props,
22365
22528
  ref,
22366
22529
  className: getTimePickerClasses({
@@ -22371,7 +22534,7 @@ var RangePicker2 = forwardRef87(({
22371
22534
  className
22372
22535
  }),
22373
22536
  children: [
22374
- /* @__PURE__ */ jsx107("input", {
22537
+ /* @__PURE__ */ jsx108("input", {
22375
22538
  ...inputProps,
22376
22539
  type: "text",
22377
22540
  className: timePickerInputClass,
@@ -22380,11 +22543,11 @@ var RangePicker2 = forwardRef87(({
22380
22543
  placeholder: placeholder?.[0] ?? "Start time",
22381
22544
  onChange: (event) => updateIndex(0, event.currentTarget.value || undefined)
22382
22545
  }),
22383
- /* @__PURE__ */ jsx107("span", {
22546
+ /* @__PURE__ */ jsx108("span", {
22384
22547
  className: timePickerSeparatorClass,
22385
22548
  children: separator
22386
22549
  }),
22387
- /* @__PURE__ */ jsx107("input", {
22550
+ /* @__PURE__ */ jsx108("input", {
22388
22551
  ...inputProps,
22389
22552
  id: inputProps?.id ? `${inputProps.id}-end` : undefined,
22390
22553
  type: "text",
@@ -22394,14 +22557,14 @@ var RangePicker2 = forwardRef87(({
22394
22557
  placeholder: placeholder?.[1] ?? "End time",
22395
22558
  onChange: (event) => updateIndex(1, event.currentTarget.value || undefined)
22396
22559
  }),
22397
- showNow ? /* @__PURE__ */ jsx107("button", {
22560
+ showNow ? /* @__PURE__ */ jsx108("button", {
22398
22561
  type: "button",
22399
22562
  className: timePickerNowClass,
22400
22563
  disabled,
22401
22564
  onClick: () => emitChange([nowValue(), nowValue()]),
22402
22565
  children: "Now"
22403
22566
  }) : null,
22404
- allowClear && (currentValue?.[0] || currentValue?.[1]) && !disabled ? /* @__PURE__ */ jsx107("button", {
22567
+ allowClear && (currentValue?.[0] || currentValue?.[1]) && !disabled ? /* @__PURE__ */ jsx108("button", {
22405
22568
  type: "button",
22406
22569
  className: timePickerClearClass,
22407
22570
  "aria-label": "Clear time range",
@@ -22416,7 +22579,7 @@ var TimePicker = Object.assign(TimePickerRoot, {
22416
22579
  RangePicker: RangePicker2
22417
22580
  });
22418
22581
  // src/components/timeline/Timeline.tsx
22419
- import { forwardRef as forwardRef88 } from "react";
22582
+ import { forwardRef as forwardRef89 } from "react";
22420
22583
 
22421
22584
  // src/classes/timeline.ts
22422
22585
  var timelineBaseClass = "timeline";
@@ -22464,7 +22627,7 @@ function getTimelineMarkerClasses({
22464
22627
  }
22465
22628
 
22466
22629
  // src/components/timeline/Timeline.tsx
22467
- import { jsx as jsx108, jsxs as jsxs86 } from "react/jsx-runtime";
22630
+ import { jsx as jsx109, jsxs as jsxs87 } from "react/jsx-runtime";
22468
22631
  function buildItems({
22469
22632
  items,
22470
22633
  children,
@@ -22480,7 +22643,7 @@ function buildItems({
22480
22643
  }
22481
22644
  return reverse ? timelineItems.reverse() : timelineItems;
22482
22645
  }
22483
- var Timeline = forwardRef88(({
22646
+ var Timeline = forwardRef89(({
22484
22647
  items,
22485
22648
  children,
22486
22649
  mode = "left",
@@ -22491,28 +22654,28 @@ var Timeline = forwardRef88(({
22491
22654
  ...props
22492
22655
  }, ref) => {
22493
22656
  const timelineItems = buildItems({ items, children, pending, reverse });
22494
- return /* @__PURE__ */ jsx108("div", {
22657
+ return /* @__PURE__ */ jsx109("div", {
22495
22658
  ...props,
22496
22659
  ref,
22497
22660
  className: getTimelineClasses({ mode, size, className }),
22498
- children: timelineItems.map((item, index) => /* @__PURE__ */ jsxs86("div", {
22661
+ children: timelineItems.map((item, index) => /* @__PURE__ */ jsxs87("div", {
22499
22662
  className: cn(timelineItemClass, item.pending && timelinePendingClass, item.className),
22500
22663
  children: [
22501
- /* @__PURE__ */ jsx108("span", {
22664
+ /* @__PURE__ */ jsx109("span", {
22502
22665
  className: getTimelineMarkerClasses({
22503
22666
  color: item.color,
22504
22667
  hasIcon: Boolean(item.dot)
22505
22668
  }),
22506
22669
  "aria-hidden": "true",
22507
- children: item.dot ?? /* @__PURE__ */ jsx108("span", {
22670
+ children: item.dot ?? /* @__PURE__ */ jsx109("span", {
22508
22671
  className: timelineMarkerDotClass,
22509
22672
  "aria-hidden": "true"
22510
22673
  })
22511
22674
  }),
22512
- /* @__PURE__ */ jsxs86("div", {
22675
+ /* @__PURE__ */ jsxs87("div", {
22513
22676
  className: timelineContentClass,
22514
22677
  children: [
22515
- item.label ? /* @__PURE__ */ jsx108("span", {
22678
+ item.label ? /* @__PURE__ */ jsx109("span", {
22516
22679
  className: timelineTimeClass,
22517
22680
  children: item.label
22518
22681
  }) : null,
@@ -22526,9 +22689,9 @@ var Timeline = forwardRef88(({
22526
22689
  Timeline.displayName = "Timeline";
22527
22690
  // src/components/tour/Tour.tsx
22528
22691
  import {
22529
- forwardRef as forwardRef89,
22692
+ forwardRef as forwardRef90,
22530
22693
  useEffect as useEffect32,
22531
- useId as useId27,
22694
+ useId as useId28,
22532
22695
  useState as useState65
22533
22696
  } from "react";
22534
22697
 
@@ -22587,7 +22750,7 @@ function getTourIndicatorClasses({ active }) {
22587
22750
  }
22588
22751
 
22589
22752
  // src/components/tour/Tour.tsx
22590
- import { jsx as jsx109, jsxs as jsxs87 } from "react/jsx-runtime";
22753
+ import { jsx as jsx110, jsxs as jsxs88 } from "react/jsx-runtime";
22591
22754
  var defaultCloseIcon4 = "x";
22592
22755
  var fallbackRect = {
22593
22756
  top: 0,
@@ -22688,7 +22851,7 @@ function getHighlightStyle(rect, gap) {
22688
22851
  function mergeButtonProps(rootProps, stepProps) {
22689
22852
  return { ...rootProps, ...stepProps };
22690
22853
  }
22691
- var Tour = forwardRef89(({
22854
+ var Tour = forwardRef90(({
22692
22855
  steps = [],
22693
22856
  open: open3,
22694
22857
  defaultOpen = false,
@@ -22712,7 +22875,7 @@ var Tour = forwardRef89(({
22712
22875
  id,
22713
22876
  ...props
22714
22877
  }, ref) => {
22715
- const generatedId = useId27();
22878
+ const generatedId = useId28();
22716
22879
  const rootId = id ?? generatedId;
22717
22880
  const [internalOpen, setInternalOpen] = useState65(defaultOpen);
22718
22881
  const [internalCurrent, setInternalCurrent] = useState65(defaultCurrent);
@@ -22783,10 +22946,10 @@ var Tour = forwardRef89(({
22783
22946
  if (indicatorsRender) {
22784
22947
  return indicatorsRender(mergedCurrent, steps.length);
22785
22948
  }
22786
- return /* @__PURE__ */ jsx109("div", {
22949
+ return /* @__PURE__ */ jsx110("div", {
22787
22950
  className: tourIndicatorsClass,
22788
22951
  "aria-label": "Tour steps",
22789
- children: steps.map((_, index) => /* @__PURE__ */ jsx109("button", {
22952
+ children: steps.map((_, index) => /* @__PURE__ */ jsx110("button", {
22790
22953
  type: "button",
22791
22954
  className: getTourIndicatorClasses({
22792
22955
  active: index === mergedCurrent
@@ -22797,14 +22960,14 @@ var Tour = forwardRef89(({
22797
22960
  }, index))
22798
22961
  });
22799
22962
  }
22800
- return /* @__PURE__ */ jsxs87("div", {
22963
+ return /* @__PURE__ */ jsxs88("div", {
22801
22964
  ...props,
22802
22965
  ref,
22803
22966
  id: rootId,
22804
22967
  className: getTourRootClasses({ open: visible, className }),
22805
22968
  style: rootStyle,
22806
22969
  children: [
22807
- hasMask ? /* @__PURE__ */ jsx109("div", {
22970
+ hasMask ? /* @__PURE__ */ jsx110("div", {
22808
22971
  className: getTourMaskClasses({
22809
22972
  visible: true,
22810
22973
  className: maskConfig?.className
@@ -22815,12 +22978,12 @@ var Tour = forwardRef89(({
22815
22978
  },
22816
22979
  "aria-hidden": "true"
22817
22980
  }) : null,
22818
- showHighlight ? /* @__PURE__ */ jsx109("div", {
22981
+ showHighlight ? /* @__PURE__ */ jsx110("div", {
22819
22982
  className: tourTargetClass,
22820
22983
  style: getHighlightStyle(targetRect, gap),
22821
22984
  "aria-hidden": "true"
22822
22985
  }) : null,
22823
- /* @__PURE__ */ jsxs87("div", {
22986
+ /* @__PURE__ */ jsxs88("div", {
22824
22987
  role: "dialog",
22825
22988
  "aria-modal": hasMask ? true : undefined,
22826
22989
  "aria-labelledby": step.title ? titleId : undefined,
@@ -22836,18 +22999,18 @@ var Tour = forwardRef89(({
22836
22999
  style: step.style
22837
23000
  }),
22838
23001
  children: [
22839
- disabledInteraction ? /* @__PURE__ */ jsx109("div", {
23002
+ disabledInteraction ? /* @__PURE__ */ jsx110("div", {
22840
23003
  "aria-hidden": "true"
22841
23004
  }) : null,
22842
- /* @__PURE__ */ jsxs87("div", {
23005
+ /* @__PURE__ */ jsxs88("div", {
22843
23006
  className: tourHeaderClass,
22844
23007
  children: [
22845
- step.title ? /* @__PURE__ */ jsx109("h2", {
23008
+ step.title ? /* @__PURE__ */ jsx110("h2", {
22846
23009
  id: titleId,
22847
23010
  className: tourTitleClass,
22848
23011
  children: step.title
22849
23012
  }) : null,
22850
- currentCloseIcon !== null && currentCloseIcon !== false ? /* @__PURE__ */ jsx109("button", {
23013
+ currentCloseIcon !== null && currentCloseIcon !== false ? /* @__PURE__ */ jsx110("button", {
22851
23014
  type: "button",
22852
23015
  className: tourCloseClass,
22853
23016
  "aria-label": "Close tour",
@@ -22856,23 +23019,23 @@ var Tour = forwardRef89(({
22856
23019
  }) : null
22857
23020
  ]
22858
23021
  }),
22859
- step.cover ? /* @__PURE__ */ jsx109("div", {
23022
+ step.cover ? /* @__PURE__ */ jsx110("div", {
22860
23023
  className: tourCoverClass,
22861
23024
  children: step.cover
22862
23025
  }) : null,
22863
- step.description ? /* @__PURE__ */ jsx109("div", {
23026
+ step.description ? /* @__PURE__ */ jsx110("div", {
22864
23027
  id: descriptionId,
22865
23028
  className: tourBodyClass,
22866
23029
  children: step.description
22867
23030
  }) : null,
22868
- /* @__PURE__ */ jsxs87("div", {
23031
+ /* @__PURE__ */ jsxs88("div", {
22869
23032
  className: tourFooterClass,
22870
23033
  children: [
22871
23034
  renderIndicators(),
22872
- /* @__PURE__ */ jsxs87("div", {
23035
+ /* @__PURE__ */ jsxs88("div", {
22873
23036
  className: tourActionsClass,
22874
23037
  children: [
22875
- mergedCurrent > 0 ? /* @__PURE__ */ jsx109(Button, {
23038
+ mergedCurrent > 0 ? /* @__PURE__ */ jsx110(Button, {
22876
23039
  appearance: "text",
22877
23040
  color: "secondary",
22878
23041
  size: "sm",
@@ -22884,7 +23047,7 @@ var Tour = forwardRef89(({
22884
23047
  },
22885
23048
  children: currentPrevButtonProps?.children ?? "Previous"
22886
23049
  }) : null,
22887
- /* @__PURE__ */ jsx109(Button, {
23050
+ /* @__PURE__ */ jsx110(Button, {
22888
23051
  color: "primary",
22889
23052
  size: "sm",
22890
23053
  ...currentNextButtonProps,
@@ -22899,7 +23062,7 @@ var Tour = forwardRef89(({
22899
23062
  })
22900
23063
  ]
22901
23064
  }),
22902
- /* @__PURE__ */ jsx109("span", {
23065
+ /* @__PURE__ */ jsx110("span", {
22903
23066
  className: tourArrowClass,
22904
23067
  "aria-hidden": "true"
22905
23068
  })
@@ -22910,7 +23073,7 @@ var Tour = forwardRef89(({
22910
23073
  });
22911
23074
  Tour.displayName = "Tour";
22912
23075
  // src/components/transfer/Transfer.tsx
22913
- import { forwardRef as forwardRef90, useMemo as useMemo33, useState as useState66 } from "react";
23076
+ import { forwardRef as forwardRef91, useMemo as useMemo33, useState as useState66 } from "react";
22914
23077
 
22915
23078
  // src/classes/transfer.ts
22916
23079
  var transferBaseClass = "transfer";
@@ -22951,7 +23114,7 @@ function getTransferListItemClasses({
22951
23114
  }
22952
23115
 
22953
23116
  // src/components/transfer/Transfer.tsx
22954
- import { jsx as jsx110, jsxs as jsxs88 } from "react/jsx-runtime";
23117
+ import { jsx as jsx111, jsxs as jsxs89 } from "react/jsx-runtime";
22955
23118
  var defaultLocale2 = {
22956
23119
  itemUnit: "item",
22957
23120
  itemsUnit: "items",
@@ -23028,12 +23191,12 @@ function splitSelectedKeys(keys2, targetKeySet) {
23028
23191
  return groups;
23029
23192
  }, { source: [], target: [] });
23030
23193
  }
23031
- var TransferSearch = forwardRef90(({
23194
+ var TransferSearch = forwardRef91(({
23032
23195
  className,
23033
23196
  placeholder = defaultLocale2.searchPlaceholder,
23034
23197
  onChange,
23035
23198
  ...props
23036
- }, ref) => /* @__PURE__ */ jsx110("input", {
23199
+ }, ref) => /* @__PURE__ */ jsx111("input", {
23037
23200
  ...props,
23038
23201
  ref,
23039
23202
  type: "search",
@@ -23044,7 +23207,7 @@ var TransferSearch = forwardRef90(({
23044
23207
  }
23045
23208
  }));
23046
23209
  TransferSearch.displayName = "Transfer.Search";
23047
- var TransferOperation = forwardRef90(({
23210
+ var TransferOperation = forwardRef91(({
23048
23211
  disabled,
23049
23212
  oneWay,
23050
23213
  operations = [">", "<"],
@@ -23054,12 +23217,12 @@ var TransferOperation = forwardRef90(({
23054
23217
  onMoveToLeft,
23055
23218
  className,
23056
23219
  ...props
23057
- }, ref) => /* @__PURE__ */ jsxs88("div", {
23220
+ }, ref) => /* @__PURE__ */ jsxs89("div", {
23058
23221
  ...props,
23059
23222
  ref,
23060
23223
  className: [transferOperationClass, className].filter(Boolean).join(" "),
23061
23224
  children: [
23062
- /* @__PURE__ */ jsx110("button", {
23225
+ /* @__PURE__ */ jsx111("button", {
23063
23226
  type: "button",
23064
23227
  className: transferOperationButtonClass,
23065
23228
  disabled: disabled || moveToRightDisabled,
@@ -23067,7 +23230,7 @@ var TransferOperation = forwardRef90(({
23067
23230
  onClick: onMoveToRight,
23068
23231
  children: operations[0] ?? ">"
23069
23232
  }),
23070
- oneWay ? null : /* @__PURE__ */ jsx110("button", {
23233
+ oneWay ? null : /* @__PURE__ */ jsx111("button", {
23071
23234
  type: "button",
23072
23235
  className: transferOperationButtonClass,
23073
23236
  disabled: disabled || moveToLeftDisabled,
@@ -23117,19 +23280,19 @@ function TransferListRoot({
23117
23280
  }
23118
23281
  onItemSelect?.(item.key, !selectedKeySet.has(item.key));
23119
23282
  }
23120
- return /* @__PURE__ */ jsxs88("div", {
23283
+ return /* @__PURE__ */ jsxs89("div", {
23121
23284
  ...props,
23122
23285
  ref,
23123
23286
  className: getTransferListClasses({ direction, className }),
23124
23287
  style: getListStyle(listStyle, direction),
23125
23288
  children: [
23126
- /* @__PURE__ */ jsxs88("div", {
23289
+ /* @__PURE__ */ jsxs89("div", {
23127
23290
  className: transferListHeaderClass,
23128
23291
  children: [
23129
- /* @__PURE__ */ jsx110("span", {
23292
+ /* @__PURE__ */ jsx111("span", {
23130
23293
  children: title
23131
23294
  }),
23132
- /* @__PURE__ */ jsxs88("span", {
23295
+ /* @__PURE__ */ jsxs89("span", {
23133
23296
  children: [
23134
23297
  selectedKeys.length,
23135
23298
  " / ",
@@ -23138,40 +23301,40 @@ function TransferListRoot({
23138
23301
  })
23139
23302
  ]
23140
23303
  }),
23141
- showSearch ? /* @__PURE__ */ jsx110(TransferSearch, {
23304
+ showSearch ? /* @__PURE__ */ jsx111(TransferSearch, {
23142
23305
  value: mergedSearchValue,
23143
23306
  disabled,
23144
23307
  placeholder: searchPlaceholder,
23145
23308
  "aria-label": `Search ${direction} list`,
23146
23309
  onChange: handleSearch
23147
23310
  }) : null,
23148
- /* @__PURE__ */ jsx110("div", {
23311
+ /* @__PURE__ */ jsx111("div", {
23149
23312
  className: transferListBodyClass,
23150
23313
  role: "listbox",
23151
- children: visibleItems.length === 0 ? /* @__PURE__ */ jsx110("div", {
23314
+ children: visibleItems.length === 0 ? /* @__PURE__ */ jsx111("div", {
23152
23315
  className: transferListEmptyClass,
23153
23316
  children: notFoundContent
23154
23317
  }) : visibleItems.map((item) => {
23155
23318
  const rendered = renderTransferItem(item, render);
23156
23319
  const selected = selectedKeySet.has(item.key);
23157
- return /* @__PURE__ */ jsxs88("label", {
23320
+ return /* @__PURE__ */ jsxs89("label", {
23158
23321
  className: getTransferListItemClasses({
23159
23322
  selected,
23160
23323
  disabled: disabled || item.disabled
23161
23324
  }),
23162
23325
  children: [
23163
- /* @__PURE__ */ jsx110("input", {
23326
+ /* @__PURE__ */ jsx111("input", {
23164
23327
  type: "checkbox",
23165
23328
  "aria-label": rendered.value,
23166
23329
  checked: selected,
23167
23330
  disabled: disabled || item.disabled,
23168
23331
  onChange: () => toggleItem(item)
23169
23332
  }),
23170
- /* @__PURE__ */ jsxs88("span", {
23333
+ /* @__PURE__ */ jsxs89("span", {
23171
23334
  className: transferListItemContentClass,
23172
23335
  children: [
23173
23336
  rendered.label,
23174
- item.description ? /* @__PURE__ */ jsx110("span", {
23337
+ item.description ? /* @__PURE__ */ jsx111("span", {
23175
23338
  className: transferListItemDescriptionClass,
23176
23339
  children: item.description
23177
23340
  }) : null
@@ -23181,24 +23344,24 @@ function TransferListRoot({
23181
23344
  }, item.key);
23182
23345
  })
23183
23346
  }),
23184
- pageSize && pageCount > 1 ? /* @__PURE__ */ jsxs88("div", {
23347
+ pageSize && pageCount > 1 ? /* @__PURE__ */ jsxs89("div", {
23185
23348
  className: transferPaginationClass,
23186
23349
  children: [
23187
- /* @__PURE__ */ jsx110("button", {
23350
+ /* @__PURE__ */ jsx111("button", {
23188
23351
  type: "button",
23189
23352
  className: transferPaginationButtonClass,
23190
23353
  disabled: disabled || currentPage <= 1,
23191
23354
  onClick: () => setPage((value) => Math.max(1, value - 1)),
23192
23355
  children: "Prev"
23193
23356
  }),
23194
- /* @__PURE__ */ jsxs88("span", {
23357
+ /* @__PURE__ */ jsxs89("span", {
23195
23358
  children: [
23196
23359
  currentPage,
23197
23360
  " / ",
23198
23361
  pageCount
23199
23362
  ]
23200
23363
  }),
23201
- /* @__PURE__ */ jsx110("button", {
23364
+ /* @__PURE__ */ jsx111("button", {
23202
23365
  type: "button",
23203
23366
  className: transferPaginationButtonClass,
23204
23367
  disabled: disabled || currentPage >= pageCount,
@@ -23210,7 +23373,7 @@ function TransferListRoot({
23210
23373
  ]
23211
23374
  });
23212
23375
  }
23213
- var TransferList = forwardRef90(TransferListRoot);
23376
+ var TransferList = forwardRef91(TransferListRoot);
23214
23377
  var TransferListComponent = TransferList;
23215
23378
  function TransferRoot({
23216
23379
  dataSource = [],
@@ -23279,12 +23442,12 @@ function TransferRoot({
23279
23442
  const nextGroups = splitSelectedKeys(nextSelectedKeys, nextTargetKeySet);
23280
23443
  onSelectChange?.(nextGroups.source, nextGroups.target);
23281
23444
  }
23282
- return /* @__PURE__ */ jsxs88("div", {
23445
+ return /* @__PURE__ */ jsxs89("div", {
23283
23446
  ...props,
23284
23447
  ref,
23285
23448
  className: getTransferClasses({ disabled, oneWay, className }),
23286
23449
  children: [
23287
- /* @__PURE__ */ jsx110(TransferListComponent, {
23450
+ /* @__PURE__ */ jsx111(TransferListComponent, {
23288
23451
  direction: "left",
23289
23452
  title: titles[0],
23290
23453
  items: sourceItems,
@@ -23300,7 +23463,7 @@ function TransferRoot({
23300
23463
  onSearch,
23301
23464
  onItemSelect: handleItemSelect
23302
23465
  }),
23303
- /* @__PURE__ */ jsx110(TransferOperation, {
23466
+ /* @__PURE__ */ jsx111(TransferOperation, {
23304
23467
  disabled,
23305
23468
  oneWay,
23306
23469
  operations,
@@ -23309,7 +23472,7 @@ function TransferRoot({
23309
23472
  onMoveToRight: () => move("right"),
23310
23473
  onMoveToLeft: () => move("left")
23311
23474
  }),
23312
- /* @__PURE__ */ jsx110(TransferListComponent, {
23475
+ /* @__PURE__ */ jsx111(TransferListComponent, {
23313
23476
  direction: "right",
23314
23477
  title: titles[1],
23315
23478
  items: targetItems,
@@ -23328,7 +23491,7 @@ function TransferRoot({
23328
23491
  ]
23329
23492
  });
23330
23493
  }
23331
- var TransferRootWithRef = forwardRef90(TransferRoot);
23494
+ var TransferRootWithRef = forwardRef91(TransferRoot);
23332
23495
  TransferListComponent.displayName = "Transfer.List";
23333
23496
  var Transfer = Object.assign(TransferRootWithRef, {
23334
23497
  Search: TransferSearch,
@@ -23337,7 +23500,7 @@ var Transfer = Object.assign(TransferRootWithRef, {
23337
23500
  });
23338
23501
  Transfer.displayName = "Transfer";
23339
23502
  // src/components/tree-select/TreeSelect.tsx
23340
- import React101, { forwardRef as forwardRef91, useMemo as useMemo34, useState as useState67 } from "react";
23503
+ import React101, { forwardRef as forwardRef92, useMemo as useMemo34, useState as useState67 } from "react";
23341
23504
 
23342
23505
  // src/classes/tree-select.ts
23343
23506
  var treeSelectContainerClass = "tree-select-container";
@@ -23387,7 +23550,7 @@ function getTreeSelectNodeClasses({
23387
23550
  }
23388
23551
 
23389
23552
  // src/components/tree-select/TreeSelect.tsx
23390
- import { jsx as jsx111, jsxs as jsxs89 } from "react/jsx-runtime";
23553
+ import { jsx as jsx112, jsxs as jsxs90 } from "react/jsx-runtime";
23391
23554
  var SHOW_ALL = "SHOW_ALL";
23392
23555
  var SHOW_PARENT = "SHOW_PARENT";
23393
23556
  var SHOW_CHILD = "SHOW_CHILD";
@@ -23518,7 +23681,7 @@ function displayItems(selectedItems, flatNodes, checkedKeys, strategy) {
23518
23681
  function labelForValue(value, flatNodes) {
23519
23682
  return flatNodes.find((item) => item.value === value)?.title ?? value;
23520
23683
  }
23521
- var TreeNode2 = forwardRef91(({ title, children, disabled, className, ...props }, ref) => /* @__PURE__ */ jsxs89("div", {
23684
+ var TreeNode2 = forwardRef92(({ title, children, disabled, className, ...props }, ref) => /* @__PURE__ */ jsxs90("div", {
23522
23685
  ...props,
23523
23686
  ref,
23524
23687
  "aria-disabled": disabled || undefined,
@@ -23665,9 +23828,9 @@ function TreeSelectRoot({
23665
23828
  const hasChildren = item.children.length > 0;
23666
23829
  const nodeDisabled = disabled || item.node.disabled;
23667
23830
  const selectable = item.node.selectable !== false;
23668
- return /* @__PURE__ */ jsxs89("div", {
23831
+ return /* @__PURE__ */ jsxs90("div", {
23669
23832
  children: [
23670
- /* @__PURE__ */ jsxs89("div", {
23833
+ /* @__PURE__ */ jsxs90("div", {
23671
23834
  className: getTreeSelectNodeClasses({
23672
23835
  selected,
23673
23836
  checked: selected,
@@ -23677,7 +23840,7 @@ function TreeSelectRoot({
23677
23840
  }),
23678
23841
  style: { paddingLeft: item.level * 16 },
23679
23842
  children: [
23680
- hasChildren || item.node.isLeaf === false ? /* @__PURE__ */ jsx111("button", {
23843
+ hasChildren || item.node.isLeaf === false ? /* @__PURE__ */ jsx112("button", {
23681
23844
  type: "button",
23682
23845
  className: treeSelectSwitcherClass,
23683
23846
  "aria-label": `${expanded ? "Collapse" : "Expand"} ${String(item.title)}`,
@@ -23687,11 +23850,11 @@ function TreeSelectRoot({
23687
23850
  setExpanded(expanded ? currentExpandedKeys.filter((key) => key !== item.key) : [...currentExpandedKeys, item.key], item);
23688
23851
  },
23689
23852
  children: expanded ? "-" : "+"
23690
- }) : /* @__PURE__ */ jsx111("span", {
23853
+ }) : /* @__PURE__ */ jsx112("span", {
23691
23854
  className: treeSelectSwitcherClass,
23692
23855
  "aria-hidden": "true"
23693
23856
  }),
23694
- checkable ? /* @__PURE__ */ jsx111("input", {
23857
+ checkable ? /* @__PURE__ */ jsx112("input", {
23695
23858
  type: "checkbox",
23696
23859
  className: treeSelectCheckboxClass,
23697
23860
  checked: selected,
@@ -23699,7 +23862,7 @@ function TreeSelectRoot({
23699
23862
  "aria-label": `Check ${String(item.title)}`,
23700
23863
  onChange: () => selectItem(item)
23701
23864
  }) : null,
23702
- /* @__PURE__ */ jsx111("button", {
23865
+ /* @__PURE__ */ jsx112("button", {
23703
23866
  type: "button",
23704
23867
  role: "treeitem",
23705
23868
  "aria-selected": selected,
@@ -23716,11 +23879,11 @@ function TreeSelectRoot({
23716
23879
  }, item.key);
23717
23880
  }
23718
23881
  const renderedItems = displayItems(selectedItems, flatNodes, selectedKeys, treeCheckedStrategy);
23719
- const selection = multi ? renderedItems.map((item) => /* @__PURE__ */ jsx111("span", {
23882
+ const selection = multi ? renderedItems.map((item) => /* @__PURE__ */ jsx112("span", {
23720
23883
  className: treeSelectTagClass,
23721
23884
  children: item.title
23722
23885
  }, item.key)) : renderedItems[0]?.title;
23723
- return /* @__PURE__ */ jsxs89("div", {
23886
+ return /* @__PURE__ */ jsxs90("div", {
23724
23887
  ...props,
23725
23888
  ref,
23726
23889
  className: getTreeSelectContainerClasses({
@@ -23730,7 +23893,7 @@ function TreeSelectRoot({
23730
23893
  className
23731
23894
  }),
23732
23895
  children: [
23733
- /* @__PURE__ */ jsxs89("button", {
23896
+ /* @__PURE__ */ jsxs90("button", {
23734
23897
  type: "button",
23735
23898
  className: getTreeSelectClasses({ disabled }),
23736
23899
  disabled,
@@ -23738,31 +23901,31 @@ function TreeSelectRoot({
23738
23901
  "aria-expanded": currentOpen,
23739
23902
  onClick: () => setDropdownOpen(!currentOpen),
23740
23903
  children: [
23741
- /* @__PURE__ */ jsx111("span", {
23904
+ /* @__PURE__ */ jsx112("span", {
23742
23905
  className: treeSelectSelectionClass,
23743
- children: hasValue ? selection : /* @__PURE__ */ jsx111("span", {
23906
+ children: hasValue ? selection : /* @__PURE__ */ jsx112("span", {
23744
23907
  className: treeSelectPlaceholderClass,
23745
23908
  children: placeholder
23746
23909
  })
23747
23910
  }),
23748
- /* @__PURE__ */ jsx111("span", {
23911
+ /* @__PURE__ */ jsx112("span", {
23749
23912
  className: treeSelectIconClass,
23750
23913
  "aria-hidden": "true",
23751
23914
  children: "v"
23752
23915
  })
23753
23916
  ]
23754
23917
  }),
23755
- allowClear && hasValue && !disabled ? /* @__PURE__ */ jsx111("button", {
23918
+ allowClear && hasValue && !disabled ? /* @__PURE__ */ jsx112("button", {
23756
23919
  type: "button",
23757
23920
  className: treeSelectClearClass,
23758
23921
  "aria-label": "Clear selection",
23759
23922
  onClick: clearValue,
23760
23923
  children: "x"
23761
23924
  }) : null,
23762
- currentOpen ? /* @__PURE__ */ jsxs89("div", {
23925
+ currentOpen ? /* @__PURE__ */ jsxs90("div", {
23763
23926
  className: treeSelectDropdownClass,
23764
23927
  children: [
23765
- searchable ? /* @__PURE__ */ jsx111("input", {
23928
+ searchable ? /* @__PURE__ */ jsx112("input", {
23766
23929
  className: treeSelectSearchClass,
23767
23930
  value: currentSearch,
23768
23931
  placeholder: typeof placeholder === "string" ? placeholder : undefined,
@@ -23774,11 +23937,11 @@ function TreeSelectRoot({
23774
23937
  onSearch?.(nextSearch);
23775
23938
  }
23776
23939
  }) : null,
23777
- /* @__PURE__ */ jsx111("div", {
23940
+ /* @__PURE__ */ jsx112("div", {
23778
23941
  className: treeSelectListClass,
23779
23942
  role: "tree",
23780
23943
  "aria-multiselectable": multi || undefined,
23781
- children: visibleFlatNodes.length > 0 && visibleTree.length > 0 ? visibleTree.map(renderNode) : /* @__PURE__ */ jsx111("div", {
23944
+ children: visibleFlatNodes.length > 0 && visibleTree.length > 0 ? visibleTree.map(renderNode) : /* @__PURE__ */ jsx112("div", {
23782
23945
  className: treeSelectEmptyClass,
23783
23946
  children: "No data"
23784
23947
  })
@@ -23788,14 +23951,14 @@ function TreeSelectRoot({
23788
23951
  ]
23789
23952
  });
23790
23953
  }
23791
- var TreeSelect = forwardRef91(TreeSelectRoot);
23954
+ var TreeSelect = forwardRef92(TreeSelectRoot);
23792
23955
  TreeSelect.displayName = "TreeSelect";
23793
23956
  TreeSelect.TreeNode = TreeNode2;
23794
23957
  TreeSelect.SHOW_ALL = SHOW_ALL;
23795
23958
  TreeSelect.SHOW_PARENT = SHOW_PARENT;
23796
23959
  TreeSelect.SHOW_CHILD = SHOW_CHILD;
23797
23960
  // src/components/typography/Typography.tsx
23798
- import React102, { forwardRef as forwardRef92, useEffect as useEffect33, useMemo as useMemo35, useRef as useRef36, useState as useState68 } from "react";
23961
+ import React102, { forwardRef as forwardRef93, useEffect as useEffect33, useMemo as useMemo35, useRef as useRef36, useState as useState68 } from "react";
23799
23962
 
23800
23963
  // src/classes/typography.ts
23801
23964
  var typographyBaseClass = "typography markdown-body";
@@ -23866,7 +24029,7 @@ function getTypographyLinkClasses({
23866
24029
  }
23867
24030
 
23868
24031
  // src/components/typography/Typography.tsx
23869
- import { jsx as jsx112, jsxs as jsxs90, Fragment as Fragment25 } from "react/jsx-runtime";
24032
+ import { jsx as jsx113, jsxs as jsxs91, Fragment as Fragment26 } from "react/jsx-runtime";
23870
24033
  function toText(children) {
23871
24034
  if (typeof children === "string" || typeof children === "number") {
23872
24035
  return String(children);
@@ -23938,37 +24101,37 @@ function wrapSemanticContent(content, {
23938
24101
  }) {
23939
24102
  let current = content;
23940
24103
  if (code) {
23941
- current = /* @__PURE__ */ jsx112("code", {
24104
+ current = /* @__PURE__ */ jsx113("code", {
23942
24105
  children: current
23943
24106
  });
23944
24107
  }
23945
24108
  if (keyboard) {
23946
- current = /* @__PURE__ */ jsx112("kbd", {
24109
+ current = /* @__PURE__ */ jsx113("kbd", {
23947
24110
  children: current
23948
24111
  });
23949
24112
  }
23950
24113
  if (mark) {
23951
- current = /* @__PURE__ */ jsx112("mark", {
24114
+ current = /* @__PURE__ */ jsx113("mark", {
23952
24115
  children: current
23953
24116
  });
23954
24117
  }
23955
24118
  if (strong) {
23956
- current = /* @__PURE__ */ jsx112("strong", {
24119
+ current = /* @__PURE__ */ jsx113("strong", {
23957
24120
  children: current
23958
24121
  });
23959
24122
  }
23960
24123
  if (italic) {
23961
- current = /* @__PURE__ */ jsx112("em", {
24124
+ current = /* @__PURE__ */ jsx113("em", {
23962
24125
  children: current
23963
24126
  });
23964
24127
  }
23965
24128
  if (underline) {
23966
- current = /* @__PURE__ */ jsx112("u", {
24129
+ current = /* @__PURE__ */ jsx113("u", {
23967
24130
  children: current
23968
24131
  });
23969
24132
  }
23970
24133
  if (deleted) {
23971
- current = /* @__PURE__ */ jsx112("del", {
24134
+ current = /* @__PURE__ */ jsx113("del", {
23972
24135
  children: current
23973
24136
  });
23974
24137
  }
@@ -23991,7 +24154,7 @@ function EditableContent({
23991
24154
  }
23992
24155
  }, [editing]);
23993
24156
  if (!editable || disabled) {
23994
- return /* @__PURE__ */ jsx112(Fragment25, {
24157
+ return /* @__PURE__ */ jsx113(Fragment26, {
23995
24158
  children
23996
24159
  });
23997
24160
  }
@@ -24027,10 +24190,10 @@ function EditableContent({
24027
24190
  }
24028
24191
  }
24029
24192
  if (editing) {
24030
- return /* @__PURE__ */ jsxs90("span", {
24193
+ return /* @__PURE__ */ jsxs91("span", {
24031
24194
  className: typographyEditingClass,
24032
24195
  children: [
24033
- /* @__PURE__ */ jsx112("textarea", {
24196
+ /* @__PURE__ */ jsx113("textarea", {
24034
24197
  ref: textareaRef,
24035
24198
  className: typographyEditInputClass,
24036
24199
  "aria-label": "Edit text",
@@ -24042,14 +24205,14 @@ function EditableContent({
24042
24205
  },
24043
24206
  onKeyDown: handleKeyDown
24044
24207
  }),
24045
- /* @__PURE__ */ jsx112("button", {
24208
+ /* @__PURE__ */ jsx113("button", {
24046
24209
  type: "button",
24047
24210
  className: typographyActionClass,
24048
24211
  "aria-label": "Save edit",
24049
24212
  onClick: endEdit,
24050
24213
  children: editableConfig.enterIcon ?? "Save"
24051
24214
  }),
24052
- /* @__PURE__ */ jsx112("button", {
24215
+ /* @__PURE__ */ jsx113("button", {
24053
24216
  type: "button",
24054
24217
  className: typographyActionClass,
24055
24218
  "aria-label": "Cancel edit",
@@ -24060,10 +24223,10 @@ function EditableContent({
24060
24223
  });
24061
24224
  }
24062
24225
  const showTextTrigger = shouldShowEditText(editableConfig.triggerType);
24063
- return /* @__PURE__ */ jsxs90(Fragment25, {
24226
+ return /* @__PURE__ */ jsxs91(Fragment26, {
24064
24227
  children: [
24065
24228
  children,
24066
- /* @__PURE__ */ jsx112("button", {
24229
+ /* @__PURE__ */ jsx113("button", {
24067
24230
  type: "button",
24068
24231
  className: typographyActionClass,
24069
24232
  title: typeof editableConfig.tooltip === "string" ? editableConfig.tooltip : undefined,
@@ -24084,16 +24247,16 @@ function TypographyActions({
24084
24247
  onCopy,
24085
24248
  onToggleExpand
24086
24249
  }) {
24087
- return /* @__PURE__ */ jsxs90(Fragment25, {
24250
+ return /* @__PURE__ */ jsxs91(Fragment26, {
24088
24251
  children: [
24089
- ellipsis?.expandable ? /* @__PURE__ */ jsx112("button", {
24252
+ ellipsis?.expandable ? /* @__PURE__ */ jsx113("button", {
24090
24253
  type: "button",
24091
24254
  className: cn(typographyActionClass, typographyExpandClass),
24092
24255
  "aria-expanded": expanded,
24093
24256
  onClick: onToggleExpand,
24094
24257
  children: getExpandSymbol(ellipsis, expanded)
24095
24258
  }) : null,
24096
- copyable ? /* @__PURE__ */ jsx112("button", {
24259
+ copyable ? /* @__PURE__ */ jsx113("button", {
24097
24260
  type: "button",
24098
24261
  className: typographyActionClass,
24099
24262
  "aria-label": "Copy text",
@@ -24139,13 +24302,13 @@ function useTypographyBehavior({
24139
24302
  sourceText
24140
24303
  };
24141
24304
  }
24142
- var TypographyRoot = forwardRef92(({ className, ...props }, ref) => /* @__PURE__ */ jsx112("div", {
24305
+ var TypographyRoot = forwardRef93(({ className, ...props }, ref) => /* @__PURE__ */ jsx113("div", {
24143
24306
  ...props,
24144
24307
  ref,
24145
24308
  className: getTypographyClasses(className)
24146
24309
  }));
24147
24310
  TypographyRoot.displayName = "Typography";
24148
- var Text = forwardRef92(({
24311
+ var Text = forwardRef93(({
24149
24312
  children,
24150
24313
  className,
24151
24314
  copyable,
@@ -24183,7 +24346,7 @@ var Text = forwardRef92(({
24183
24346
  strong,
24184
24347
  italic
24185
24348
  });
24186
- return /* @__PURE__ */ jsxs90("span", {
24349
+ return /* @__PURE__ */ jsxs91("span", {
24187
24350
  ...props,
24188
24351
  ref,
24189
24352
  "aria-disabled": disabled || undefined,
@@ -24198,7 +24361,7 @@ var Text = forwardRef92(({
24198
24361
  }),
24199
24362
  style: { ...style, ...getEllipsisStyle(ellipsisConfig, expanded) },
24200
24363
  children: [
24201
- /* @__PURE__ */ jsxs90(EditableContent, {
24364
+ /* @__PURE__ */ jsxs91(EditableContent, {
24202
24365
  editable: editableConfig,
24203
24366
  disabled,
24204
24367
  sourceText,
@@ -24207,7 +24370,7 @@ var Text = forwardRef92(({
24207
24370
  ellipsisConfig?.suffix && !expanded ? ellipsisConfig.suffix : null
24208
24371
  ]
24209
24372
  }),
24210
- /* @__PURE__ */ jsx112(TypographyActions, {
24373
+ /* @__PURE__ */ jsx113(TypographyActions, {
24211
24374
  copyable: copyConfig,
24212
24375
  ellipsis: ellipsisConfig,
24213
24376
  disabled,
@@ -24221,7 +24384,7 @@ var Text = forwardRef92(({
24221
24384
  });
24222
24385
  });
24223
24386
  Text.displayName = "Typography.Text";
24224
- var Paragraph = forwardRef92(({
24387
+ var Paragraph = forwardRef93(({
24225
24388
  children,
24226
24389
  className,
24227
24390
  copyable,
@@ -24258,7 +24421,7 @@ var Paragraph = forwardRef92(({
24258
24421
  strong,
24259
24422
  italic
24260
24423
  });
24261
- return /* @__PURE__ */ jsxs90("p", {
24424
+ return /* @__PURE__ */ jsxs91("p", {
24262
24425
  ...props,
24263
24426
  ref,
24264
24427
  "aria-disabled": disabled || undefined,
@@ -24272,7 +24435,7 @@ var Paragraph = forwardRef92(({
24272
24435
  }),
24273
24436
  style: { ...style, ...getEllipsisStyle(ellipsisConfig, expanded) },
24274
24437
  children: [
24275
- /* @__PURE__ */ jsxs90(EditableContent, {
24438
+ /* @__PURE__ */ jsxs91(EditableContent, {
24276
24439
  editable: editableConfig,
24277
24440
  disabled,
24278
24441
  sourceText,
@@ -24281,7 +24444,7 @@ var Paragraph = forwardRef92(({
24281
24444
  ellipsisConfig?.suffix && !expanded ? ellipsisConfig.suffix : null
24282
24445
  ]
24283
24446
  }),
24284
- /* @__PURE__ */ jsx112(TypographyActions, {
24447
+ /* @__PURE__ */ jsx113(TypographyActions, {
24285
24448
  copyable: copyConfig,
24286
24449
  ellipsis: ellipsisConfig,
24287
24450
  disabled,
@@ -24295,7 +24458,7 @@ var Paragraph = forwardRef92(({
24295
24458
  });
24296
24459
  });
24297
24460
  Paragraph.displayName = "Typography.Paragraph";
24298
- var Title = forwardRef92(({
24461
+ var Title = forwardRef93(({
24299
24462
  children,
24300
24463
  className,
24301
24464
  copyable,
@@ -24348,7 +24511,7 @@ var Title = forwardRef92(({
24348
24511
  className
24349
24512
  }),
24350
24513
  style: { ...style, ...getEllipsisStyle(ellipsisConfig, expanded) }
24351
- }, /* @__PURE__ */ jsxs90(EditableContent, {
24514
+ }, /* @__PURE__ */ jsxs91(EditableContent, {
24352
24515
  editable: editableConfig,
24353
24516
  disabled,
24354
24517
  sourceText,
@@ -24356,7 +24519,7 @@ var Title = forwardRef92(({
24356
24519
  content,
24357
24520
  ellipsisConfig?.suffix && !expanded ? ellipsisConfig.suffix : null
24358
24521
  ]
24359
- }), /* @__PURE__ */ jsx112(TypographyActions, {
24522
+ }), /* @__PURE__ */ jsx113(TypographyActions, {
24360
24523
  copyable: copyConfig,
24361
24524
  ellipsis: ellipsisConfig,
24362
24525
  disabled,
@@ -24368,7 +24531,7 @@ var Title = forwardRef92(({
24368
24531
  }));
24369
24532
  });
24370
24533
  Title.displayName = "Typography.Title";
24371
- var Link = forwardRef92(({
24534
+ var Link = forwardRef93(({
24372
24535
  children,
24373
24536
  className,
24374
24537
  disabled,
@@ -24406,7 +24569,7 @@ var Link = forwardRef92(({
24406
24569
  }
24407
24570
  onClick?.(event);
24408
24571
  }
24409
- return /* @__PURE__ */ jsxs90("a", {
24572
+ return /* @__PURE__ */ jsxs91("a", {
24410
24573
  ...props,
24411
24574
  ref,
24412
24575
  href,
@@ -24422,7 +24585,7 @@ var Link = forwardRef92(({
24422
24585
  children: [
24423
24586
  content,
24424
24587
  ellipsisConfig?.suffix && !expanded ? ellipsisConfig.suffix : null,
24425
- /* @__PURE__ */ jsx112(TypographyActions, {
24588
+ /* @__PURE__ */ jsx113(TypographyActions, {
24426
24589
  ellipsis: ellipsisConfig,
24427
24590
  disabled,
24428
24591
  sourceText: "",
@@ -24444,7 +24607,7 @@ var Typography = Object.assign(TypographyRoot, {
24444
24607
  Link
24445
24608
  });
24446
24609
  // src/components/markdown/Markdown.tsx
24447
- import { forwardRef as forwardRef93 } from "react";
24610
+ import { forwardRef as forwardRef94 } from "react";
24448
24611
  import ReactMarkdown from "react-markdown";
24449
24612
  import remarkBreaks from "remark-breaks";
24450
24613
  import remarkGfm from "remark-gfm";
@@ -24530,7 +24693,7 @@ function getMarkdownClasses({
24530
24693
  }
24531
24694
 
24532
24695
  // src/components/markdown/Markdown.tsx
24533
- import { jsx as jsx113, jsxs as jsxs91 } from "react/jsx-runtime";
24696
+ import { jsx as jsx114, jsxs as jsxs92 } from "react/jsx-runtime";
24534
24697
  function splitFrontMatter(markdown) {
24535
24698
  const source = markdown.startsWith("\uFEFF") ? markdown.slice(1) : markdown;
24536
24699
  const lines = source.split(/\r?\n/);
@@ -24589,7 +24752,7 @@ function markdownSource(markdown, mode) {
24589
24752
  const frontMatter = splitFrontMatter(markdown);
24590
24753
  return frontMatter ?? { body: markdown, source: undefined };
24591
24754
  }
24592
- var Markdown = forwardRef93(function Markdown2({
24755
+ var Markdown = forwardRef94(function Markdown2({
24593
24756
  markdown = "",
24594
24757
  breaks = true,
24595
24758
  colorChips = true,
@@ -24604,22 +24767,22 @@ var Markdown = forwardRef93(function Markdown2({
24604
24767
  const value = String(children).replace(/\n$/, "");
24605
24768
  const isInline = node?.position?.start.line === node?.position?.end.line;
24606
24769
  if (!isInline || !isCssColor(value)) {
24607
- return /* @__PURE__ */ jsx113("code", {
24770
+ return /* @__PURE__ */ jsx114("code", {
24608
24771
  className: codeClassName,
24609
24772
  ...codeProps,
24610
24773
  children
24611
24774
  });
24612
24775
  }
24613
- return /* @__PURE__ */ jsxs91("code", {
24776
+ return /* @__PURE__ */ jsxs92("code", {
24614
24777
  className: markdownColorCodeClass,
24615
24778
  ...codeProps,
24616
24779
  children: [
24617
24780
  children,
24618
- /* @__PURE__ */ jsx113("span", {
24781
+ /* @__PURE__ */ jsx114("span", {
24619
24782
  className: markdownColorChipClass,
24620
24783
  role: "img",
24621
24784
  "aria-label": `Color ${value}`,
24622
- children: /* @__PURE__ */ jsx113("span", {
24785
+ children: /* @__PURE__ */ jsx114("span", {
24623
24786
  className: markdownColorChipSwatchClass,
24624
24787
  style: { backgroundColor: value },
24625
24788
  "aria-hidden": "true"
@@ -24629,21 +24792,21 @@ var Markdown = forwardRef93(function Markdown2({
24629
24792
  });
24630
24793
  }
24631
24794
  } : undefined;
24632
- return /* @__PURE__ */ jsxs91("div", {
24795
+ return /* @__PURE__ */ jsxs92("div", {
24633
24796
  ref,
24634
24797
  className: getMarkdownClasses({ variant, className }),
24635
24798
  ...props,
24636
24799
  children: [
24637
- frontMatter === "render" && source.source !== undefined ? /* @__PURE__ */ jsx113("div", {
24800
+ frontMatter === "render" && source.source !== undefined ? /* @__PURE__ */ jsx114("div", {
24638
24801
  className: markdownFrontMatterClass,
24639
- children: /* @__PURE__ */ jsx113("pre", {
24640
- children: /* @__PURE__ */ jsx113("code", {
24802
+ children: /* @__PURE__ */ jsx114("pre", {
24803
+ children: /* @__PURE__ */ jsx114("code", {
24641
24804
  className: "language-yaml",
24642
24805
  children: source.source
24643
24806
  })
24644
24807
  })
24645
24808
  }) : null,
24646
- /* @__PURE__ */ jsx113(ReactMarkdown, {
24809
+ /* @__PURE__ */ jsx114(ReactMarkdown, {
24647
24810
  remarkPlugins: breaks ? [remarkGfm, remarkCjkAutolink, remarkBreaks] : [remarkGfm, remarkCjkAutolink],
24648
24811
  components,
24649
24812
  children: source.body
@@ -24652,7 +24815,7 @@ var Markdown = forwardRef93(function Markdown2({
24652
24815
  });
24653
24816
  });
24654
24817
  // src/components/upload/Upload.tsx
24655
- import React104, { forwardRef as forwardRef94, useLayoutEffect as useLayoutEffect18, useRef as useRef37, useState as useState69 } from "react";
24818
+ import React104, { forwardRef as forwardRef95, useLayoutEffect as useLayoutEffect18, useRef as useRef37, useState as useState69 } from "react";
24656
24819
 
24657
24820
  // src/classes/upload.ts
24658
24821
  var uploadBaseClass = "file-upload";
@@ -24697,7 +24860,7 @@ function getUploadItemClasses({
24697
24860
  }
24698
24861
 
24699
24862
  // src/components/upload/Upload.tsx
24700
- import { jsx as jsx114, jsxs as jsxs92 } from "react/jsx-runtime";
24863
+ import { jsx as jsx115, jsxs as jsxs93 } from "react/jsx-runtime";
24701
24864
  var LIST_IGNORE = Symbol("Upload.LIST_IGNORE");
24702
24865
  var uidSeed = 0;
24703
24866
  function nextUid() {
@@ -24865,12 +25028,12 @@ function UploadRoot({
24865
25028
  }
24866
25029
  }
24867
25030
  function renderTrigger() {
24868
- const trigger = children ?? /* @__PURE__ */ jsx114("button", {
25031
+ const trigger = children ?? /* @__PURE__ */ jsx115("button", {
24869
25032
  type: "button",
24870
25033
  children: "Upload"
24871
25034
  });
24872
25035
  if (dragger) {
24873
- return /* @__PURE__ */ jsx114("div", {
25036
+ return /* @__PURE__ */ jsx115("div", {
24874
25037
  className: uploadDropzoneClass,
24875
25038
  role: "button",
24876
25039
  tabIndex: disabled ? -1 : 0,
@@ -24910,7 +25073,7 @@ function UploadRoot({
24910
25073
  }
24911
25074
  });
24912
25075
  }
24913
- return /* @__PURE__ */ jsx114("button", {
25076
+ return /* @__PURE__ */ jsx115("button", {
24914
25077
  type: "button",
24915
25078
  className: uploadTriggerClass,
24916
25079
  disabled,
@@ -24918,7 +25081,7 @@ function UploadRoot({
24918
25081
  children: trigger
24919
25082
  });
24920
25083
  }
24921
- return /* @__PURE__ */ jsxs92("div", {
25084
+ return /* @__PURE__ */ jsxs93("div", {
24922
25085
  ...props,
24923
25086
  ref,
24924
25087
  className: getUploadClasses({
@@ -24928,7 +25091,7 @@ function UploadRoot({
24928
25091
  className
24929
25092
  }),
24930
25093
  children: [
24931
- /* @__PURE__ */ jsx114("input", {
25094
+ /* @__PURE__ */ jsx115("input", {
24932
25095
  ...inputProps,
24933
25096
  ref: inputRef,
24934
25097
  className: uploadInputClass,
@@ -24943,37 +25106,37 @@ function UploadRoot({
24943
25106
  }
24944
25107
  }),
24945
25108
  renderTrigger(),
24946
- mergedFileList.length > 0 ? /* @__PURE__ */ jsx114("div", {
25109
+ mergedFileList.length > 0 ? /* @__PURE__ */ jsx115("div", {
24947
25110
  className: getUploadListClasses({ listType }),
24948
25111
  children: mergedFileList.map((file) => {
24949
25112
  const size = formatSize(file.size);
24950
- return /* @__PURE__ */ jsxs92("div", {
25113
+ return /* @__PURE__ */ jsxs93("div", {
24951
25114
  className: getUploadItemClasses({ status: file.status }),
24952
25115
  children: [
24953
- /* @__PURE__ */ jsxs92("div", {
25116
+ /* @__PURE__ */ jsxs93("div", {
24954
25117
  className: uploadItemInfoClass,
24955
25118
  children: [
24956
- /* @__PURE__ */ jsx114("button", {
25119
+ /* @__PURE__ */ jsx115("button", {
24957
25120
  type: "button",
24958
25121
  className: uploadPreviewClass,
24959
25122
  disabled,
24960
25123
  onClick: () => onPreview?.(file),
24961
- children: /* @__PURE__ */ jsx114("span", {
25124
+ children: /* @__PURE__ */ jsx115("span", {
24962
25125
  className: uploadItemNameClass,
24963
25126
  children: file.name
24964
25127
  })
24965
25128
  }),
24966
- size ? /* @__PURE__ */ jsx114("span", {
25129
+ size ? /* @__PURE__ */ jsx115("span", {
24967
25130
  className: uploadItemSizeClass,
24968
25131
  children: size
24969
25132
  }) : null,
24970
- typeof file.percent === "number" ? /* @__PURE__ */ jsx114("div", {
25133
+ typeof file.percent === "number" ? /* @__PURE__ */ jsx115("div", {
24971
25134
  className: uploadProgressClass,
24972
25135
  role: "progressbar",
24973
25136
  "aria-valuemin": 0,
24974
25137
  "aria-valuemax": 100,
24975
25138
  "aria-valuenow": file.percent,
24976
- children: /* @__PURE__ */ jsx114("div", {
25139
+ children: /* @__PURE__ */ jsx115("div", {
24977
25140
  className: uploadProgressBarClass,
24978
25141
  style: {
24979
25142
  width: `${Math.max(0, Math.min(100, file.percent))}%`
@@ -24982,9 +25145,9 @@ function UploadRoot({
24982
25145
  }) : null
24983
25146
  ]
24984
25147
  }),
24985
- /* @__PURE__ */ jsx114("div", {
25148
+ /* @__PURE__ */ jsx115("div", {
24986
25149
  className: uploadItemActionsClass,
24987
- children: /* @__PURE__ */ jsx114("button", {
25150
+ children: /* @__PURE__ */ jsx115("button", {
24988
25151
  type: "button",
24989
25152
  className: uploadRemoveClass,
24990
25153
  disabled,
@@ -25000,9 +25163,9 @@ function UploadRoot({
25000
25163
  ]
25001
25164
  });
25002
25165
  }
25003
- var UploadFrame = forwardRef94(UploadRoot);
25166
+ var UploadFrame = forwardRef95(UploadRoot);
25004
25167
  UploadFrame.displayName = "Upload";
25005
- var Dragger = forwardRef94((props, ref) => /* @__PURE__ */ jsx114(UploadFrame, {
25168
+ var Dragger = forwardRef95((props, ref) => /* @__PURE__ */ jsx115(UploadFrame, {
25006
25169
  ...props,
25007
25170
  ref,
25008
25171
  dragger: true
@@ -25012,7 +25175,7 @@ var Upload = UploadFrame;
25012
25175
  Upload.Dragger = Dragger;
25013
25176
  Upload.LIST_IGNORE = LIST_IGNORE;
25014
25177
  // src/components/watermark/Watermark.tsx
25015
- import { forwardRef as forwardRef95, useMemo as useMemo36 } from "react";
25178
+ import { forwardRef as forwardRef96, useMemo as useMemo36 } from "react";
25016
25179
 
25017
25180
  // src/classes/watermark.ts
25018
25181
  var watermarkBaseClass = "watermark";
@@ -25022,7 +25185,7 @@ function getWatermarkClasses({ className }) {
25022
25185
  }
25023
25186
 
25024
25187
  // src/components/watermark/Watermark.tsx
25025
- import { jsx as jsx115, jsxs as jsxs93 } from "react/jsx-runtime";
25188
+ import { jsx as jsx116, jsxs as jsxs94 } from "react/jsx-runtime";
25026
25189
  function encodeSvg(svg) {
25027
25190
  return `url("data:image/svg+xml,${encodeURIComponent(svg)}")`;
25028
25191
  }
@@ -25044,7 +25207,7 @@ function createWatermarkSvg({
25044
25207
  }
25045
25208
  return `<svg xmlns="http://www.w3.org/2000/svg" width="${viewWidth}" height="${viewHeight}" viewBox="0 0 ${viewWidth} ${viewHeight}"><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" fill="${color}" font-size="${fontSize}" font-family="${font?.fontFamily ?? "sans-serif"}" font-weight="${font?.fontWeight ?? 400}" font-style="${font?.fontStyle ?? "normal"}" transform="rotate(${rotate ?? -22} ${viewWidth / 2} ${viewHeight / 2})">${text}</text></svg>`;
25046
25209
  }
25047
- var Watermark = forwardRef95(({
25210
+ var Watermark = forwardRef96(({
25048
25211
  children,
25049
25212
  className,
25050
25213
  content,
@@ -25061,17 +25224,17 @@ var Watermark = forwardRef95(({
25061
25224
  ...props
25062
25225
  }, ref) => {
25063
25226
  const backgroundImage = useMemo36(() => encodeSvg(createWatermarkSvg({ content, image, width, height, rotate, font })), [content, font, height, image, rotate, width]);
25064
- return /* @__PURE__ */ jsxs93("div", {
25227
+ return /* @__PURE__ */ jsxs94("div", {
25065
25228
  ...props,
25066
25229
  ref,
25067
25230
  className: getWatermarkClasses({ className }),
25068
25231
  style: { position: "relative", ...style },
25069
25232
  children: [
25070
- /* @__PURE__ */ jsx115("div", {
25233
+ /* @__PURE__ */ jsx116("div", {
25071
25234
  className: watermarkContentClass,
25072
25235
  children
25073
25236
  }),
25074
- /* @__PURE__ */ jsx115("div", {
25237
+ /* @__PURE__ */ jsx116("div", {
25075
25238
  "aria-hidden": "true",
25076
25239
  "data-watermark-source": image ?? (typeof content === "string" || typeof content === "number" ? String(content) : undefined),
25077
25240
  "data-inherit": inherit || undefined,
@@ -25239,6 +25402,9 @@ export {
25239
25402
  Search,
25240
25403
  Segmented,
25241
25404
  Select,
25405
+ SettingsList,
25406
+ SettingsSection,
25407
+ SettingsTile,
25242
25408
  Skeleton,
25243
25409
  SkeletonAvatar,
25244
25410
  SkeletonButton,