@staffbase/design 20.2.0 → 20.3.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/main.d.ts CHANGED
@@ -76,7 +76,7 @@ import { UseInteractionsReturn } from '@floating-ui/react';
76
76
 
77
77
  export declare type ActionItemVariant = 'default' | 'critical';
78
78
 
79
- /** @deprecated use Menu component instead */
79
+ /** @deprecated Use Menu component instead */
80
80
  export declare function ActionMenu({ children, ...options }: {
81
81
  children: ReactNode;
82
82
  } & Omit<ActionMenuOptions, 'listRef'>): default_2.JSX.Element;
@@ -85,10 +85,10 @@ export declare namespace ActionMenu {
85
85
  var displayName: string;
86
86
  }
87
87
 
88
- /** @deprecated use Menu component instead */
88
+ /** @deprecated Use Menu component instead */
89
89
  export declare const ActionMenuContent: default_2.ForwardRefExoticComponent<default_2.HTMLAttributes<HTMLDivElement> & default_2.RefAttributes<HTMLDivElement>>;
90
90
 
91
- /** @deprecated use Menu component instead */
91
+ /** @deprecated Use Menu component instead */
92
92
  export declare const ActionMenuItem: default_2.ForwardRefExoticComponent<ActionMenuItemProps & default_2.RefAttributes<HTMLButtonElement>>;
93
93
 
94
94
  export declare interface ActionMenuItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
@@ -97,7 +97,7 @@ export declare interface ActionMenuItemProps extends ButtonHTMLAttributes<HTMLBu
97
97
  variant?: ActionItemVariant;
98
98
  }
99
99
 
100
- /** @deprecated use Menu component instead */
100
+ /** @deprecated Use Menu component instead */
101
101
  export declare const ActionMenuLinkItem: default_2.ForwardRefExoticComponent<ActionMenuLinkItemProps & default_2.RefAttributes<HTMLAnchorElement>>;
102
102
 
103
103
  export declare interface ActionMenuLinkItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
@@ -124,7 +124,7 @@ export declare interface ActionMenuOptions {
124
124
  placement?: Placement;
125
125
  }
126
126
 
127
- /** @deprecated use Menu component instead */
127
+ /** @deprecated Use Menu component instead */
128
128
  export declare const ActionMenuTrigger: default_2.ForwardRefExoticComponent<{
129
129
  children: ReactNode;
130
130
  } & default_2.RefAttributes<HTMLElement>>;
@@ -183,17 +183,17 @@ export declare const Avatar: {
183
183
  Image: ForwardRefExoticComponent<Omit<ImageProps, "ref"> & RefAttributes<HTMLImageElement>>;
184
184
  };
185
185
 
186
- /** @deprecated Use `Avatar` from `@staffbase/design` instead */
186
+ /** @deprecated Use Avatar component instead */
187
187
  declare type AvatarColor = 'cyan' | 'pink' | 'purple' | 'teal';
188
188
 
189
- /** @deprecated Use `Avatar` from `@staffbase/design` instead */
189
+ /** @deprecated Use Avatar component instead */
190
190
  export declare function AvatarDeprecated(props: AvatarDeprecatedProps): ReactElement;
191
191
 
192
192
  export declare namespace AvatarDeprecated {
193
193
  var displayName: string;
194
194
  }
195
195
 
196
- /** @deprecated Use `Avatar` from `@staffbase/design` instead */
196
+ /** @deprecated Use Avatar component instead */
197
197
  export declare interface AvatarDeprecatedProps {
198
198
  /**
199
199
  * The `alt` attribute for the rendered `img` element
@@ -231,7 +231,7 @@ declare interface AvatarProps_2 extends Omit<ComponentProps<'div'>, 'children'>
231
231
  size?: 48 | 40 | 32 | 24 | 16;
232
232
  }
233
233
 
234
- /** @deprecated Use `Avatar` from `@staffbase/design` instead */
234
+ /** @deprecated Use Avatar component instead */
235
235
  declare type AvatarSize = '48' | '40' | '32' | '24' | '16';
236
236
 
237
237
  declare interface BackProps extends ComponentProps<'button'> {
@@ -412,10 +412,10 @@ export declare const Button: ForwardRefExoticComponent<Omit<ButtonProps, "ref">
412
412
 
413
413
  declare type ButtonBaseProps = Omit<ComponentProps<'button'>, 'color'>;
414
414
 
415
- /** @deprecated Use Button instead */
415
+ /** @deprecated Use Button component instead */
416
416
  export declare const ButtonDeprecated: ForwardRefExoticComponent<ButtonDeprecatedProps & RefAttributes<HTMLButtonElement>>;
417
417
 
418
- /** @deprecated Use Button instead */
418
+ /** @deprecated Use Button component instead */
419
419
  export declare interface ButtonDeprecatedProps extends BaseButtonProps {
420
420
  /**
421
421
  * Refers to the child element of the button
@@ -437,7 +437,7 @@ export declare interface ButtonProps extends ButtonBaseProps, ButtonStyleProps {
437
437
  children: ReactNode;
438
438
  }
439
439
 
440
- /** @deprecated use Select or SearchableSingleSelect components instead */
440
+ /** @deprecated Use Select or SearchableSingleSelect components instead */
441
441
  export declare interface ButtonSingleSelectProps<TOption extends BaseOption> extends SingleSelectBaseProps<TOption> {
442
442
  /**
443
443
  * Optional ref to attach to the select trigger.
@@ -588,14 +588,14 @@ export declare const Dialog: {
588
588
  Body: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
589
589
  };
590
590
 
591
- /** @deprecated use Separator component instead */
591
+ /** @deprecated Use Separator component instead */
592
592
  export declare function Divider(props: DividerProps): JSX.Element;
593
593
 
594
594
  export declare namespace Divider {
595
595
  var displayName: string;
596
596
  }
597
597
 
598
- /** @deprecated use Separator component instead */
598
+ /** @deprecated Use Separator component instead */
599
599
  export declare interface DividerProps extends HTMLAttributes<HTMLHRElement> {
600
600
  dividerPosition?: 'horizontal' | 'vertical';
601
601
  fullWidth?: boolean;
@@ -646,14 +646,14 @@ declare interface EmptyMediaProps extends ComponentProps<'div'> {
646
646
  size?: 'xs' | 'md' | 'lg';
647
647
  }
648
648
 
649
- /** @deprecated Use Empty instead */
649
+ /** @deprecated Use Empty component instead */
650
650
  export declare function EmptyState(props: EmptyStateProps): ReactElement;
651
651
 
652
652
  export declare namespace EmptyState {
653
653
  var displayName: string;
654
654
  }
655
655
 
656
- /** @deprecated Use Empty instead */
656
+ /** @deprecated Use Empty component instead */
657
657
  export declare interface EmptyStateProps {
658
658
  /**
659
659
  * Defines the title of the component
@@ -928,10 +928,10 @@ export declare const HouseIcon: default_2.NamedExoticComponent<default_2.SVGAttr
928
928
 
929
929
  export declare const Icon: ({ name, ...props }: IconProps) => ReactElement | null;
930
930
 
931
- /** @deprecated Use Button with iconOnly instead */
931
+ /** @deprecated Use Button component with iconOnly instead */
932
932
  export declare const IconButton: ForwardRefExoticComponent<IconButtonProps & RefAttributes<HTMLButtonElement>>;
933
933
 
934
- /** @deprecated Use Button with iconOnly instead */
934
+ /** @deprecated Use Button component with iconOnly instead */
935
935
  export declare interface IconButtonProps extends Omit<BaseButtonProps, 'children'> {
936
936
  icon: ReactElement<SVGAttributes<SVGElement>>;
937
937
  }
@@ -1317,14 +1317,14 @@ export declare const MinusCircleIcon: default_2.NamedExoticComponent<default_2.S
1317
1317
 
1318
1318
  export declare const MobileIcon: default_2.NamedExoticComponent<default_2.SVGAttributes<SVGSVGElement> & default_2.RefAttributes<SVGSVGElement>>;
1319
1319
 
1320
- /** @deprecated use Dialog component instead */
1320
+ /** @deprecated Use Dialog component instead */
1321
1321
  export declare function Modal(props: ModalProps): ReactElement;
1322
1322
 
1323
1323
  export declare namespace Modal {
1324
1324
  var displayName: string;
1325
1325
  }
1326
1326
 
1327
- /** @deprecated use Alert Dialog component instead */
1327
+ /** @deprecated Use AlertDialog component instead */
1328
1328
  export declare function ModalDialog(props: ModalDialogProps): ReactElement;
1329
1329
 
1330
1330
  export declare namespace ModalDialog {
@@ -1379,7 +1379,7 @@ export declare interface ModalDialogProps {
1379
1379
  overlayClassName?: string;
1380
1380
  }
1381
1381
 
1382
- /** @deprecated use Dialog component instead */
1382
+ /** @deprecated Use Dialog component instead */
1383
1383
  export declare interface ModalProps {
1384
1384
  /**
1385
1385
  * The title of the modal component.
@@ -1788,7 +1788,7 @@ export declare const SearchableSingleSelect: {
1788
1788
  Empty: ForwardRefExoticComponent<Omit< AutocompleteEmptyProps, "ref"> & RefAttributes<HTMLDivElement>>;
1789
1789
  };
1790
1790
 
1791
- /** @deprecated use Select or SearchableSingleSelect components instead */
1791
+ /** @deprecated Use Select or SearchableSingleSelect components instead */
1792
1792
  export declare interface SearchableSingleSelectProps<TOption extends BaseOption> extends SingleSelectBaseProps<TOption> {
1793
1793
  /**
1794
1794
  * Value of the input field.
@@ -1892,7 +1892,7 @@ export declare const SidebarRightIcon: default_2.NamedExoticComponent<default_2.
1892
1892
 
1893
1893
  export declare const SingleChoiceQuestionIcon: default_2.NamedExoticComponent<default_2.SVGAttributes<SVGSVGElement> & default_2.RefAttributes<SVGSVGElement>>;
1894
1894
 
1895
- /** @deprecated use Select or SearchableSingleSelect components instead */
1895
+ /** @deprecated Use Select or SearchableSingleSelect components instead */
1896
1896
  export declare function SingleSelect<TOption extends BaseOption>(props: SingleSelectProps<TOption>): JSX.Element;
1897
1897
 
1898
1898
  export declare namespace SingleSelect {
@@ -1985,7 +1985,7 @@ declare interface SingleSelectBaseProps<TOption extends BaseOption> {
1985
1985
  onTriggerMouseDown?: (e: MouseEvent_2) => void;
1986
1986
  }
1987
1987
 
1988
- /** @deprecated use Select or SearchableSingleSelect components instead */
1988
+ /** @deprecated Use Select or SearchableSingleSelect components instead */
1989
1989
  export declare type SingleSelectProps<Toption extends BaseOption> = ButtonSingleSelectProps<Toption> | SearchableSingleSelectProps<Toption>;
1990
1990
 
1991
1991
  export declare const Skeleton: {
@@ -2035,14 +2035,14 @@ export declare const TagIcon: default_2.NamedExoticComponent<default_2.SVGAttrib
2035
2035
 
2036
2036
  export declare const TextArea: ForwardRefExoticComponent<Omit< InputProps_2 & ClassAttributes<HTMLTextAreaElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, "ref"> & RefAttributes<HTMLElement>>;
2037
2037
 
2038
- /** @deprecated use new TextArea component instead */
2038
+ /** @deprecated Use TextArea component instead */
2039
2039
  export declare function TextAreaDeprecated(props: TextAreaDeprecatedProps): ReactElement;
2040
2040
 
2041
2041
  export declare namespace TextAreaDeprecated {
2042
2042
  var displayName: string;
2043
2043
  }
2044
2044
 
2045
- /** @deprecated use new TextArea component instead */
2045
+ /** @deprecated Use TextArea component instead */
2046
2046
  export declare interface TextAreaDeprecatedProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'maxLength'> {
2047
2047
  label: string;
2048
2048
  inputId?: string;
@@ -2073,7 +2073,7 @@ export declare const TextFormattingTextStyleIcon: default_2.NamedExoticComponent
2073
2073
 
2074
2074
  export declare const TextIcon: default_2.NamedExoticComponent<default_2.SVGAttributes<SVGSVGElement> & default_2.RefAttributes<SVGSVGElement>>;
2075
2075
 
2076
- /** @deprecated use TextField component instead */
2076
+ /** @deprecated Use TextField component instead */
2077
2077
  export declare const TextInput: ForwardRefExoticComponent<TextInputProps & RefAttributes<HTMLInputElement>>;
2078
2078
 
2079
2079
  export declare interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
@@ -2141,7 +2141,7 @@ export declare const ThumbUpAltIcon: default_2.NamedExoticComponent<default_2.SV
2141
2141
 
2142
2142
  export declare const ThumbUpIcon: default_2.NamedExoticComponent<default_2.SVGAttributes<SVGSVGElement> & default_2.RefAttributes<SVGSVGElement>>;
2143
2143
 
2144
- /** @deprecated use Switch component instead */
2144
+ /** @deprecated Use Switch component instead */
2145
2145
  export declare function Toggle(props: ToggleProps): ReactElement;
2146
2146
 
2147
2147
  export declare namespace Toggle {
@@ -2199,7 +2199,7 @@ declare interface TooltipContentProps extends Tooltip_2.Positioner.Props {
2199
2199
  container?: Tooltip_2.Portal.Props['container'];
2200
2200
  }
2201
2201
 
2202
- /** @deprecated use Tooltip component instead */
2202
+ /** @deprecated Use Tooltip component instead */
2203
2203
  export declare function TooltipDeprecated(props: TooltipDeprecatedProps): ReactElement;
2204
2204
 
2205
2205
  export declare namespace TooltipDeprecated {
package/dist/main.js CHANGED
@@ -89,7 +89,7 @@ var useActionMenuContext = () => {
89
89
  };
90
90
  //#endregion
91
91
  //#region src/components/actionMenu/ActionMenu.tsx
92
- /** @deprecated use Menu component instead */
92
+ /** @deprecated Use Menu component instead */
93
93
  function ActionMenu({ children, ...options }) {
94
94
  const listRef = useRef([]);
95
95
  const actionMenu = useActionMenu({
@@ -104,7 +104,7 @@ function ActionMenu({ children, ...options }) {
104
104
  })
105
105
  });
106
106
  }
107
- /** @deprecated use Menu component instead */
107
+ /** @deprecated Use Menu component instead */
108
108
  var ActionMenuTrigger = React.forwardRef(function ActionMenuTrigger({ children }, propRef) {
109
109
  const context = useActionMenuContext();
110
110
  const childrenRef = children.ref;
@@ -122,7 +122,7 @@ var ActionMenuTrigger = React.forwardRef(function ActionMenuTrigger({ children }
122
122
  }));
123
123
  return null;
124
124
  });
125
- /** @deprecated use Menu component instead */
125
+ /** @deprecated Use Menu component instead */
126
126
  var ActionMenuContent = React.forwardRef(function ActionMenuContent(props, propRef) {
127
127
  const { children, style, className = "", ...rest } = props;
128
128
  const { context: floatingContext, ...context } = useActionMenuContext();
@@ -161,7 +161,7 @@ var ActionMenuContent = React.forwardRef(function ActionMenuContent(props, propR
161
161
  * Optional helper component, returns a styled button optimized for the ActionMenu.
162
162
  * Pass it as a direct child to the ActionMenuContent to make use of the ActionMenu's list navigation
163
163
  */
164
- /** @deprecated use Menu component instead */
164
+ /** @deprecated Use Menu component instead */
165
165
  var ActionMenuItem = React.forwardRef(function ActionMenuItem(props, ref) {
166
166
  const { icon, variant = "default", description, className = "", children, ...rest } = props;
167
167
  const { index: _dataindex, ref: listItemRef } = useListItem();
@@ -195,7 +195,7 @@ var ActionMenuItem = React.forwardRef(function ActionMenuItem(props, ref) {
195
195
  * Optional helper component, returns a styled link optimized for the ActionMenu.
196
196
  * Pass it as a direct child to the ActionMenuContent to use the ActionMenu's list navigation
197
197
  */
198
- /** @deprecated use Menu component instead */
198
+ /** @deprecated Use Menu component instead */
199
199
  var ActionMenuLinkItem = React.forwardRef(function ActionMenuLinkItem(props, ref) {
200
200
  const { icon, variant = "default", description, className = "", children, ...rest } = props;
201
201
  const { index: _dataindex, ref: listItemRef } = useListItem();
@@ -225,12 +225,12 @@ var ActionMenuLinkItem = React.forwardRef(function ActionMenuLinkItem(props, ref
225
225
  })]
226
226
  });
227
227
  });
228
- /** @deprecated use Menu component instead */
228
+ /** @deprecated Use Menu component instead */
229
229
  var ActionMenuItemIcon = (props) => /* @__PURE__ */ jsx("span", {
230
230
  className: clsx$1("ds-action-menu__icon", `ds-action-menu__icon--${props.variant}`),
231
231
  children: props.icon
232
232
  });
233
- /** @deprecated use Menu component instead */
233
+ /** @deprecated Use Menu component instead */
234
234
  var ActionMenuItemLabel = (props) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
235
235
  className: "ds-action-menu__item-label",
236
236
  children: props.children
@@ -4240,7 +4240,7 @@ var MinusCircleIcon_default = React.memo(MinusCircleIcon);
4240
4240
  var MobileIcon = React.forwardRef((props, ref) => {
4241
4241
  const { className, ...rest } = props;
4242
4242
  const finalClassName = ["ds-icon ds-icon-mobile", className].filter(Boolean).join(" ");
4243
- return /* @__PURE__ */ jsxs("svg", {
4243
+ return /* @__PURE__ */ jsx("svg", {
4244
4244
  "aria-hidden": "true",
4245
4245
  viewBox: "0 0 24 24",
4246
4246
  width: "1em",
@@ -4250,7 +4250,7 @@ var MobileIcon = React.forwardRef((props, ref) => {
4250
4250
  className: finalClassName,
4251
4251
  ref,
4252
4252
  "data-c13y-component": "icon",
4253
- children: [/* @__PURE__ */ jsx("path", { d: "M13.933,11.8l1.5,1.2a.251.251,0,0,0,.407-.194V2.5A2.5,2.5,0,0,0,13.34,0h-9a2.5,2.5,0,0,0-2.5,2.5v19A2.5,2.5,0,0,0,4.34,24h9a2.489,2.489,0,0,0,.771-.122.249.249,0,0,0,.149-.343,4.033,4.033,0,0,1-.42-1.645V20a.251.251,0,0,0-.063-.165l-.661-.747A.251.251,0,0,0,12.928,19H4.34a.5.5,0,0,1-.5-.5V4.5a.5.5,0,0,1,.5-.5h9a.5.5,0,0,1,.5.5v7.1A.249.249,0,0,0,13.933,11.8ZM8.84,20.5a1,1,0,1,1-1,1A1,1,0,0,1,8.84,20.5Z" }), /* @__PURE__ */ jsx("path", { d: "M18.363,15.347a.751.751,0,0,1-.469,1.336.741.741,0,0,1-.468-.165l-4.1-3.289a1.376,1.376,0,0,0-1.579.261,1.354,1.354,0,0,0-.214.279,1.375,1.375,0,0,0,.214,1.666l3.666,4.142a.249.249,0,0,1,.063.166v2.544a2.63,2.63,0,0,0,.306,1.071A.251.251,0,0,0,16,23.5H21.91a.25.25,0,0,0,.207-.391L20.679,21a.253.253,0,0,1-.044-.141V15.03c0-1.478-1.453-2.921-2.888-4.077a.252.252,0,0,0-.265-.031.25.25,0,0,0-.142.225v3.259a.251.251,0,0,0,.093.2Z" })]
4253
+ children: /* @__PURE__ */ jsx("path", { d: "M17 0H7a3 3 0 0 0 -3 3v18a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3V3a3 3 0 0 0 -3 -3Zm-5 22.47a1 1 0 1 1 1 -1 1 1 0 0 1 -1 1ZM18 18a1 1 0 0 1 -1 1H7a1 1 0 0 1 -1 -1V3.53a1 1 0 0 1 1 -1h10a1 1 0 0 1 1 1Z" })
4254
4254
  });
4255
4255
  });
4256
4256
  MobileIcon.displayName = "MobileIcon";
@@ -8854,7 +8854,7 @@ var Icon = ({ name, ...props }) => {
8854
8854
  };
8855
8855
  //#endregion
8856
8856
  //#region src/components/avatarDeprecated/AvatarDeprecated.tsx
8857
- /** @deprecated Use `Avatar` from `@staffbase/design` instead */
8857
+ /** @deprecated Use Avatar component instead */
8858
8858
  function AvatarDeprecated(props) {
8859
8859
  const { alt, children, className = "", color = "purple", size = "32", src } = props;
8860
8860
  const [hasImage, setHasImage] = useState(src !== void 0 && src !== "");
@@ -9034,7 +9034,7 @@ var BottomSheet = {
9034
9034
  };
9035
9035
  //#endregion
9036
9036
  //#region src/components/buttonDeprecated/ButtonDeprecated.tsx
9037
- /** @deprecated Use Button instead */
9037
+ /** @deprecated Use Button component instead */
9038
9038
  var ButtonDeprecated = forwardRef(function Button(props, ref) {
9039
9039
  const { children, className = "", variant = "primary", icon = null, disabled, iconPosition = "leading", ...rest } = props;
9040
9040
  return /* @__PURE__ */ jsxs("button", {
@@ -9052,7 +9052,7 @@ var ButtonDeprecated = forwardRef(function Button(props, ref) {
9052
9052
  ]
9053
9053
  });
9054
9054
  });
9055
- /** @deprecated Use Button with iconOnly instead */
9055
+ /** @deprecated Use Button component with iconOnly instead */
9056
9056
  var IconButton = forwardRef(function IconButton(props, ref) {
9057
9057
  const { icon, className = "", variant = "primary", ...rest } = props;
9058
9058
  return /* @__PURE__ */ jsx("button", {
@@ -9289,7 +9289,7 @@ function getDividerStyles(props) {
9289
9289
  padding: fullWidth ? `${padding}px 0` : `${padding}px`
9290
9290
  };
9291
9291
  }
9292
- /** @deprecated use Separator component instead */
9292
+ /** @deprecated Use Separator component instead */
9293
9293
  function Divider(props) {
9294
9294
  const { dividerPosition = "horizontal", className = "", fullWidth = false, ...otherProps } = props;
9295
9295
  return /* @__PURE__ */ jsx("hr", {
@@ -9357,7 +9357,7 @@ var Empty = {
9357
9357
  //#endregion
9358
9358
  //#region src/components/emptyState/EmptyState.tsx
9359
9359
  var getValidIconSize = (iconSize) => iconSize === "40px" || iconSize === "96px" ? iconSize : "40px";
9360
- /** @deprecated Use Empty instead */
9360
+ /** @deprecated Use Empty component instead */
9361
9361
  function EmptyState(props) {
9362
9362
  const { title, icon, iconSize, body, className = "" } = props;
9363
9363
  const validIconSize = getValidIconSize(iconSize);
@@ -10343,7 +10343,7 @@ var ModalHeader = forwardRef(function ModalHeader(props, ref) {
10343
10343
  });
10344
10344
  });
10345
10345
  /**
10346
- * @deprecated use Dialog component instead
10346
+ * @deprecated Use Dialog component instead
10347
10347
  * Returns an array of two boolean values.
10348
10348
  * The first represents the visbility of a shadow for the upper element surrounding the scroll area.
10349
10349
  * The second represents the shadow visibility for the lower adjacent element.
@@ -10432,7 +10432,7 @@ var ModalFooter = forwardRef(function ModalFooter(props, ref) {
10432
10432
  })]
10433
10433
  }) : null;
10434
10434
  });
10435
- /** @deprecated use Dialog component instead */
10435
+ /** @deprecated Use Dialog component instead */
10436
10436
  function Modal(props) {
10437
10437
  const { onCancel, isOpen = false, className = "", overlayClassName = "", title, keepOnBackdropClick = false } = props;
10438
10438
  return /* @__PURE__ */ jsx(ModalWrapper, {
@@ -10483,11 +10483,11 @@ function ModalWindow(props) {
10483
10483
  })
10484
10484
  ] });
10485
10485
  }
10486
- /** @deprecated use Dialog component instead */
10486
+ /** @deprecated Use Dialog component instead */
10487
10487
  Modal.displayName = "Modal";
10488
10488
  //#endregion
10489
10489
  //#region src/components/modalDialog/ModalDialog.tsx
10490
- /** @deprecated use Alert Dialog component instead */
10490
+ /** @deprecated Use AlertDialog component instead */
10491
10491
  function ModalDialog(props) {
10492
10492
  const { isOpen, title, text, icon, confirmButtonVariant = "primary", confirmButtonText, onConfirm, cancelButtonText, onCancel, className = "", overlayClassName = "" } = props;
10493
10493
  const { refs, context } = useFloating({
@@ -11180,7 +11180,7 @@ var Separator = forwardRef((props, ref) => {
11180
11180
  Separator.displayName = "Separator";
11181
11181
  //#endregion
11182
11182
  //#region src/components/singleSelect/SingleSelect.tsx
11183
- /** @deprecated use Select or SearchableSingleSelect components instead */
11183
+ /** @deprecated Use Select or SearchableSingleSelect components instead */
11184
11184
  function SingleSelect(props) {
11185
11185
  const { options, value, onChange, optionLabel, optionDescription, placeholder, label, description, error, disabled, icon, loading, emptyResultText, optionRef, triggerRef, dropdownRef, requiredLabel, triggerTabIndex, onTriggerFocus: handleTriggerFocus, onTriggerBlur: handleTriggerBlur, onTriggerMouseDown: handleTriggerMouseDown, ariaLabelledBy, ...variantProps } = props;
11186
11186
  const [open, setOpen] = useState(false);
@@ -11560,7 +11560,7 @@ var TextArea = forwardRef((props, ref) => {
11560
11560
  });
11561
11561
  //#endregion
11562
11562
  //#region src/components/textAreaDeprecated/TextAreaDeprecated.tsx
11563
- /** @deprecated use new TextArea component instead */
11563
+ /** @deprecated Use TextArea component instead */
11564
11564
  function TextAreaDeprecated(props) {
11565
11565
  const { value, handleValueChange, limit, label, inputId, description, disabled, errorAriaLive, errorMessage, requiredLabel, resizable, className = "", ...rest } = props;
11566
11566
  const [count, setCount] = useState(typeof value === "string" ? value.length : 0);
@@ -11651,7 +11651,7 @@ var TextField = forwardRef((props, ref) => {
11651
11651
  });
11652
11652
  //#endregion
11653
11653
  //#region src/components/textInput/TextInput.tsx
11654
- /** @deprecated use TextField component instead */
11654
+ /** @deprecated Use TextField component instead */
11655
11655
  var TextInput = forwardRef(function TextInput(props, ref) {
11656
11656
  const { label = "Label", errorMessage, description, width, icon, iconPosition = "leading", id, requiredLabel, type = "text", variant = "default", className = "", ...restProps } = props;
11657
11657
  const randomId = useId();
@@ -11718,7 +11718,7 @@ var TextInput = forwardRef(function TextInput(props, ref) {
11718
11718
  TextInput.displayName = "TextInput";
11719
11719
  //#endregion
11720
11720
  //#region src/components/toggle/Toggle.tsx
11721
- /** @deprecated use Switch component instead */
11721
+ /** @deprecated Use Switch component instead */
11722
11722
  function Toggle(props) {
11723
11723
  const { checked, disabled, name, label, description, onChange, spaceBetween, className = "", ref } = props;
11724
11724
  const id = useId();
@@ -11861,7 +11861,7 @@ var useFloatingElement = (placement, strategy) => {
11861
11861
  };
11862
11862
  //#endregion
11863
11863
  //#region src/components/tooltipDeprecated/TooltipDeprecated.tsx
11864
- /** @deprecated use Tooltip component instead */
11864
+ /** @deprecated Use Tooltip component instead */
11865
11865
  function TooltipDeprecated(props) {
11866
11866
  const { content, children, placement = "top", className = "" } = props;
11867
11867
  const { context, floatingUIStyles, isMounted, refs, styles } = useFloatingElement(placement);