@digital-ai/dot-components 4.23.0 → 4.25.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/index.esm.js CHANGED
@@ -1386,6 +1386,7 @@ const rootClassName$1p = 'dot-text-field';
1386
1386
  const rootSelectClassName = 'dot-select-field';
1387
1387
  const wrapperClassName$2 = 'dot-label-wrapper';
1388
1388
  const labelClassName = 'dot-input-label';
1389
+ const additionalLabelContentClassName = 'dot-additional-label-content';
1389
1390
  const errorClassName = 'dot-error';
1390
1391
  const warningClassName = 'dot-warning';
1391
1392
  const successClassName = 'dot-success';
@@ -1400,12 +1401,33 @@ const StyledAdornment = styled(InputAdornment)`
1400
1401
  ${adornmentIconStyles()};
1401
1402
  }
1402
1403
  `;
1404
+ const StyledInputLabelWrapper = styled.div`
1405
+ ${({
1406
+ theme
1407
+ }) => css`
1408
+ &.${wrapperClassName$2} {
1409
+ display: flex;
1410
+ align-items: flex-end;
1411
+ gap: ${theme.spacing(0.5)};
1412
+ margin-bottom: ${theme.spacing(0.5)};
1413
+
1414
+ .${warningClassName} {
1415
+ padding-bottom: 2px;
1416
+ }
1417
+
1418
+ .${additionalLabelContentClassName} {
1419
+ margin-left: auto;
1420
+ padding-left: ${theme.spacing(2)};
1421
+ }
1422
+ }
1423
+ `}
1424
+ `;
1403
1425
  const StyledInputLabel = styled(InputLabel)`
1404
1426
  ${({
1405
1427
  theme
1406
1428
  }) => css`
1407
1429
  &.${labelClassName} {
1408
- margin-bottom: ${theme.spacing(0.5)};
1430
+ margin-bottom: 0;
1409
1431
  transform: none;
1410
1432
 
1411
1433
  &.Mui-disabled .dot-typography {
@@ -4818,6 +4840,7 @@ const DotCopyButton = ({
4818
4840
  };
4819
4841
 
4820
4842
  const DotInputLabel = ({
4843
+ additionalLabelContent,
4821
4844
  'data-testid': dataTestId,
4822
4845
  disabled = false,
4823
4846
  error = false,
@@ -4826,14 +4849,9 @@ const DotInputLabel = ({
4826
4849
  label,
4827
4850
  required
4828
4851
  }) => {
4829
- const wrapperStyles = {
4830
- display: 'flex',
4831
- gap: '4px'
4832
- };
4833
- return jsxs("div", {
4852
+ return jsxs(StyledInputLabelWrapper, {
4834
4853
  className: wrapperClassName$2,
4835
- style: wrapperStyles,
4836
- children: [jsx(StyledInputLabel, {
4854
+ children: [label && jsx(StyledInputLabel, {
4837
4855
  "data-testid": dataTestId,
4838
4856
  classes: {
4839
4857
  root: labelClassName
@@ -4854,6 +4872,9 @@ const DotInputLabel = ({
4854
4872
  iconId: "circle-info-outline",
4855
4873
  tooltip: informationToolTip,
4856
4874
  fontSize: "small"
4875
+ }), additionalLabelContent && jsx("div", {
4876
+ className: additionalLabelContentClassName,
4877
+ children: renderNodeOrTypography(additionalLabelContent)
4857
4878
  })]
4858
4879
  });
4859
4880
  };
@@ -4891,6 +4912,7 @@ const getInitialState = (value, defaultValue) => ({
4891
4912
  });
4892
4913
  const DotInputText = ({
4893
4914
  ai = false,
4915
+ additionalLabelContent,
4894
4916
  autoComplete = 'off',
4895
4917
  autoFocus,
4896
4918
  className,
@@ -5024,11 +5046,12 @@ const DotInputText = ({
5024
5046
  const inputClassName = useStylesWithRootClass('dot-input', readOnly && readOnlyClassName$1);
5025
5047
  return jsxs(StyledTextFieldContainer, {
5026
5048
  className: wrapperClassName,
5027
- children: [persistentLabel && jsx(DotInputLabel, {
5049
+ children: [(persistentLabel || additionalLabelContent) && jsx(DotInputLabel, {
5050
+ additionalLabelContent,
5028
5051
  disabled,
5029
5052
  error,
5030
5053
  id,
5031
- label,
5054
+ label: persistentLabel ? label : undefined,
5032
5055
  required,
5033
5056
  informationToolTip
5034
5057
  }), jsx(StyledTextField, {
@@ -7050,6 +7073,7 @@ function ariaLabelOrAlternates(ariaLabel, label, placeholder) {
7050
7073
  const DEFAULT_ACTION_ITEM_TEXT = 'Add new item';
7051
7074
  const DotAutoComplete = ({
7052
7075
  ListboxComponent,
7076
+ additionalLabelContent,
7053
7077
  actionItem,
7054
7078
  ai = false,
7055
7079
  aiAction,
@@ -7243,10 +7267,14 @@ const DotAutoComplete = ({
7243
7267
  }
7244
7268
  });
7245
7269
  // Create handler only if 'onInputChange' or 'actionItem' prop is defined
7246
- const handleInputChange = (onInputChange || isActionItemDefined) && ((event, currentInputValue, reason) => {
7247
- isActionItemDefined && setInputText(currentInputValue);
7270
+ // Custom input change handler for AI mode
7271
+ const handleInputChange = (event, currentInputValue, reason) => {
7272
+ if (isActionItemDefined || ai) {
7273
+ setInputText(currentInputValue); // fallback for action item
7274
+ }
7275
+
7248
7276
  onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(event, currentInputValue, reason);
7249
- }) || undefined;
7277
+ };
7250
7278
  // Create callback when action item click event handler is defined,
7251
7279
  // free-solo mode is NOT set and 'Enter' key has been pressed
7252
7280
  const handleKeyDown = allowActionButtonClick && (event => {
@@ -7293,29 +7321,27 @@ const DotAutoComplete = ({
7293
7321
  }), getInputAdornment(), nativeEndAdornment]
7294
7322
  });
7295
7323
  };
7296
- const renderAISendAdornment = params => {
7297
- const {
7298
- inputProps
7299
- } = params;
7300
- return jsxs(Fragment, {
7301
- children: [jsx(DotIconButton, {
7302
- iconId: "send-airplane",
7303
- tooltip: "Send",
7304
- "data-testid": dataTestId && `${dataTestId}-send-airplane-icon`,
7305
- shape: "square",
7306
- color: "ai",
7307
- disabled: !(inputProps === null || inputProps === void 0 ? void 0 : inputProps.value),
7308
- onClick: () => {
7309
- if (inputProps === null || inputProps === void 0 ? void 0 : inputProps.value) {
7310
- handleAiAction(inputProps.value.toString());
7311
- }
7324
+ const renderAISendAdornment = useMemo(() => {
7325
+ return jsx(DotIconButton, {
7326
+ iconId: "send-airplane",
7327
+ tooltip: "Send",
7328
+ "data-testid": dataTestId && `${dataTestId}-send-airplane-icon`,
7329
+ shape: "square",
7330
+ color: "ai",
7331
+ disabled: !inputText,
7332
+ onClick: () => {
7333
+ if (inputText) {
7334
+ handleAiAction(inputText);
7335
+ setInputText('');
7336
+ onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange({
7337
+ target: {
7338
+ value: ''
7339
+ }
7340
+ }, '', 'clear');
7312
7341
  }
7313
- }), jsx("span", {
7314
- className: "ai-text-clear-icon",
7315
- children: params.InputProps.endAdornment
7316
- })]
7342
+ }
7317
7343
  });
7318
- };
7344
+ }, [inputText]);
7319
7345
  const renderTrimmedLongOptions = (props, option) => {
7320
7346
  const key = 'id' in option ? option.id : option.title;
7321
7347
  return jsx(DotTooltip, {
@@ -7336,7 +7362,7 @@ const DotAutoComplete = ({
7336
7362
  };
7337
7363
  const getEndAdornment = params => {
7338
7364
  if (ai) {
7339
- return renderAISendAdornment(params);
7365
+ return renderAISendAdornment;
7340
7366
  }
7341
7367
  if (!readOnly) {
7342
7368
  return renderEndAdornment(params.InputProps.endAdornment);
@@ -7402,12 +7428,13 @@ const DotAutoComplete = ({
7402
7428
  // functionality be added to DotInputText we will have to make a
7403
7429
  // decision about if/how to expose it here.
7404
7430
  jsxs(Fragment, {
7405
- children: [persistentLabel && jsx(DotInputLabel, {
7431
+ children: [(persistentLabel || additionalLabelContent) && jsx(DotInputLabel, {
7406
7432
  "data-testid": dataTestId && `${dataTestId}-persistent-label`,
7407
7433
  id: inputId,
7434
+ additionalLabelContent,
7408
7435
  disabled,
7409
7436
  error,
7410
- label,
7437
+ label: persistentLabel ? label : undefined,
7411
7438
  required,
7412
7439
  informationToolTip
7413
7440
  }), jsx(StyledTextField, Object.assign({}, params, {
@@ -7423,7 +7450,8 @@ const DotAutoComplete = ({
7423
7450
  'data-testid': dataTestId && `${dataTestId}-input`,
7424
7451
  id: inputId,
7425
7452
  className: useStylesWithRootClass(inputProps.className, 'dot-input'),
7426
- readOnly
7453
+ readOnly,
7454
+ value: ai ? inputText : inputProps.value
7427
7455
  }),
7428
7456
  InputLabelProps: {
7429
7457
  htmlFor: inputId
@@ -7444,8 +7472,9 @@ const DotAutoComplete = ({
7444
7472
  if (event.key === 'Enter' && ai) {
7445
7473
  event.stopPropagation();
7446
7474
  event.preventDefault();
7447
- const text = event.target.value;
7448
- handleAiAction(text);
7475
+ handleAiAction(inputText);
7476
+ setInputText(''); // Clear input after enter
7477
+ onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(event, '', 'clear');
7449
7478
  }
7450
7479
  },
7451
7480
  placeholder: showPlaceholder ? placeholder : undefined,
@@ -11653,6 +11682,7 @@ function DashboardCategoriesAutoComplete(_a) {
11653
11682
 
11654
11683
  const DotInputSelect = ({
11655
11684
  ariaLabel,
11685
+ additionalLabelContent,
11656
11686
  autoFocus,
11657
11687
  className,
11658
11688
  'data-pendoid': dataPendoId = rootSelectClassName,
@@ -11703,11 +11733,12 @@ const DotInputSelect = ({
11703
11733
  };
11704
11734
  return jsxs("div", {
11705
11735
  className: className,
11706
- children: [persistentLabel && jsx(DotInputLabel, {
11736
+ children: [(persistentLabel || additionalLabelContent) && jsx(DotInputLabel, {
11737
+ additionalLabelContent,
11707
11738
  disabled,
11708
11739
  error,
11709
11740
  id,
11710
- label,
11741
+ label: persistentLabel ? label : undefined,
11711
11742
  required
11712
11743
  }), jsx(StyledTextField, {
11713
11744
  InputProps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "4.23.0",
3
+ "version": "4.25.0",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -2,5 +2,5 @@ export declare const dashboardCategoriesContainerClassName = "dashboard-categori
2
2
  export declare const InlineMessage: import("styled-components").StyledComponent<({ ariaLabel, ariaLevel, ariaRole, className, "data-testid": dataTestId, children, component, noMarginBottom, noWrap, variant, }: import("../../typography/Typography").TypographyProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
3
3
  export declare const StyledPublishConfirmDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const StyledAppSelectDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const StyledAppSelectDotAutoComplete: import("styled-components").StyledComponent<(<T extends import("../..").AutoCompleteOption>({ ListboxComponent, actionItem, ai, aiAction, ariaLabel, autoFocus, autoHighlight, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterOptions, filterSelectedOptions, freesolo, checkIfOptionDisabled, group, helperText, informationToolTip, inputId, inputRef, inputValue, isOptionEqualToValue, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, popperClassName, popperPlacement, popperZIndex, preserveGroupOrder, readOnly, renderGroup, renderOption, renderTags, required, size, trimLongOptions, value, warning, }: import("../../auto-complete/AutoComplete").AutoCompleteProps<T>) => import("react/jsx-runtime").JSX.Element), any, {}, never>;
5
+ export declare const StyledAppSelectDotAutoComplete: import("styled-components").StyledComponent<(<T extends import("../..").AutoCompleteOption>({ ListboxComponent, additionalLabelContent, actionItem, ai, aiAction, ariaLabel, autoFocus, autoHighlight, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterOptions, filterSelectedOptions, freesolo, checkIfOptionDisabled, group, helperText, informationToolTip, inputId, inputRef, inputValue, isOptionEqualToValue, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, popperClassName, popperPlacement, popperZIndex, preserveGroupOrder, readOnly, renderGroup, renderOption, renderTags, required, size, trimLongOptions, value, warning, }: import("../../auto-complete/AutoComplete").AutoCompleteProps<T>) => import("react/jsx-runtime").JSX.Element), any, {}, never>;
6
6
  export declare const StyledAppSelectAutoCompleteOption: import("styled-components").StyledComponent<"li", any, {}, never>;
@@ -13,6 +13,8 @@ export interface AutoCompleteProps<T extends AutoCompleteOption = AutoCompleteOp
13
13
  ListboxComponent?: JSXElementConstructor<HTMLAttributes<HTMLElement>>;
14
14
  /** Action button as the last element on the menu **/
15
15
  actionItem?: ActionItem;
16
+ /** Additional content on the top right of the autocomplete field. **/
17
+ additionalLabelContent?: ReactNode;
16
18
  /** If true, applies a gradient color to the border */
17
19
  ai?: boolean;
18
20
  /** Event callback */
@@ -75,7 +77,7 @@ export interface AutoCompleteProps<T extends AutoCompleteOption = AutoCompleteOp
75
77
  open?: boolean;
76
78
  /** pre-defined options available to the user */
77
79
  options?: Array<T>;
78
- /** If true, the label will be persistently displayed outside of the field */
80
+ /** If true, the label will be persistently displayed outside the field. */
79
81
  persistentLabel?: boolean;
80
82
  /** Placeholder text always displayed inside the input field */
81
83
  placeholder?: string;
@@ -106,4 +108,4 @@ export interface AutoCompleteProps<T extends AutoCompleteOption = AutoCompleteOp
106
108
  /** If true, the label will be displayed in a warning state. */
107
109
  warning?: boolean;
108
110
  }
109
- export declare const DotAutoComplete: <T extends AutoCompleteOption>({ ListboxComponent, actionItem, ai, aiAction, ariaLabel, autoFocus, autoHighlight, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterOptions, filterSelectedOptions, freesolo, checkIfOptionDisabled, group, helperText, informationToolTip, inputId, inputRef, inputValue, isOptionEqualToValue, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, popperClassName, popperPlacement, popperZIndex, preserveGroupOrder, readOnly, renderGroup, renderOption, renderTags, required, size, trimLongOptions, value, warning, }: AutoCompleteProps<T>) => import("react/jsx-runtime").JSX.Element;
111
+ export declare const DotAutoComplete: <T extends AutoCompleteOption>({ ListboxComponent, additionalLabelContent, actionItem, ai, aiAction, ariaLabel, autoFocus, autoHighlight, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterOptions, filterSelectedOptions, freesolo, checkIfOptionDisabled, group, helperText, informationToolTip, inputId, inputRef, inputValue, isOptionEqualToValue, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, popperClassName, popperPlacement, popperZIndex, preserveGroupOrder, readOnly, renderGroup, renderOption, renderTags, required, size, trimLongOptions, value, warning, }: AutoCompleteProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,7 @@ export declare const rootClassName = "dot-text-field";
3
3
  export declare const rootSelectClassName = "dot-select-field";
4
4
  export declare const wrapperClassName = "dot-label-wrapper";
5
5
  export declare const labelClassName = "dot-input-label";
6
+ export declare const additionalLabelContentClassName = "dot-additional-label-content";
6
7
  export declare const errorClassName = "dot-error";
7
8
  export declare const warningClassName = "dot-warning";
8
9
  export declare const successClassName = "dot-success";
@@ -17,6 +18,7 @@ interface StyledTextFieldProps {
17
18
  $minRows?: number;
18
19
  }
19
20
  export declare const StyledAdornment: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").InputAdornmentTypeMap<{}, "div">>, any, {}, never>;
21
+ export declare const StyledInputLabelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
20
22
  export declare const StyledInputLabel: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").InputLabelTypeMap<{}, "label">>, any, {}, never>;
21
23
  export declare const StyledTextFieldContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
22
24
  export declare const StyledTextField: import("styled-components").StyledComponent<typeof TextField, any, StyledTextFieldProps, never>;
@@ -1,12 +1,15 @@
1
+ import { ReactNode } from 'react';
1
2
  import { CommonProps } from '../CommonProps';
2
3
  export interface InputLabelProps extends CommonProps {
4
+ /** Additional content shown on the far right side of label element. */
5
+ additionalLabelContent?: ReactNode;
3
6
  /** If true, the input will be disabled. */
4
7
  disabled?: boolean;
5
8
  /** If true, the label will be displayed in an error state. */
6
9
  error?: boolean;
7
10
  /**
8
- * id to identify the element, also used to create label "for" and helper text id attribute
9
- * values while it's optional, it is considered required for accessiblity best practice.
11
+ * id to identify the element, also used to create label "for" and helper text id attribute.
12
+ * While it's optional, it is considered required for accessibility best practice.
10
13
  */
11
14
  id: string;
12
15
  /** Additional information for persistent labels */
@@ -16,4 +19,4 @@ export interface InputLabelProps extends CommonProps {
16
19
  /** If true, the label is displayed as required and the input element` will be required. */
17
20
  required?: boolean;
18
21
  }
19
- export declare const DotInputLabel: ({ "data-testid": dataTestId, disabled, error, id, informationToolTip, label, required, }: InputLabelProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const DotInputLabel: ({ additionalLabelContent, "data-testid": dataTestId, disabled, error, id, informationToolTip, label, required, }: InputLabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  import { InputProps } from './InputFormFields.propTypes';
2
3
  export type OptionType = string | InputSelectOption;
3
4
  export interface InputSelectOption {
@@ -7,9 +8,11 @@ export interface InputSelectOption {
7
8
  value?: string;
8
9
  }
9
10
  export interface InputSelectProps extends InputProps {
11
+ /** Additional content on the top right of the input select field. **/
12
+ additionalLabelContent?: ReactNode;
10
13
  /** default value of select field */
11
14
  defaultValue?: string;
12
15
  /** options of select dropdown */
13
16
  options: Array<OptionType>;
14
17
  }
15
- export declare const DotInputSelect: ({ ariaLabel, autoFocus, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, disabled, endIcon, endText, error, fullWidth, helperText, id, inputRef, label, name, onBlur, onChange, onFocus, onKeyDown, options, persistentLabel, readOnly, required, shrink, size, startIcon, success, value, warning, }: InputSelectProps) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const DotInputSelect: ({ ariaLabel, additionalLabelContent, autoFocus, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, disabled, endIcon, endText, error, fullWidth, helperText, id, inputRef, label, name, onBlur, onChange, onFocus, onKeyDown, options, persistentLabel, readOnly, required, shrink, size, startIcon, success, value, warning, }: InputSelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,8 @@ import { InputProps } from './InputFormFields.propTypes';
3
3
  export declare const DELAY_MS = 300;
4
4
  export type endAdornmentIconType = 'warning' | 'error' | 'check';
5
5
  export interface InputTextProps extends InputProps {
6
+ /** Additional content on the top right of the input text field. **/
7
+ additionalLabelContent?: ReactNode;
6
8
  /** If true, applies no border */
7
9
  ai?: boolean;
8
10
  /** The HTML autocomplete property to pass along to the input tag. Used for
@@ -42,4 +44,4 @@ export interface EndIconProps {
42
44
  success?: boolean;
43
45
  warning?: boolean;
44
46
  }
45
- export declare const DotInputText: ({ ai, autoComplete, autoFocus, className, defaultValue, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, hasResizer, helperText, endIcon, endText, id, informationToolTip, inputRef, label, max, maxLength, maxRows, min, minLength, minRows, multiline, name, onBlur, onChange, onClear, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required, shrink, startIcon, size, success, type, value, warning, }: InputTextProps) => import("react/jsx-runtime").JSX.Element;
47
+ export declare const DotInputText: ({ ai, additionalLabelContent, autoComplete, autoFocus, className, defaultValue, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, hasResizer, helperText, endIcon, endText, id, informationToolTip, inputRef, label, max, maxLength, maxRows, min, minLength, minRows, multiline, name, onBlur, onChange, onClear, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required, shrink, startIcon, size, success, type, value, warning, }: InputTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export declare const rootClassName = "dot-search";
2
- export declare const StyledSearch: import("styled-components").StyledComponent<({ ai, autoComplete, autoFocus, className, defaultValue, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, hasResizer, helperText, endIcon, endText, id, informationToolTip, inputRef, label, max, maxLength, maxRows, min, minLength, minRows, multiline, name, onBlur, onChange, onClear, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required, shrink, startIcon, size, success, type, value, warning, }: import("../input-form-fields/InputText").InputTextProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
2
+ export declare const StyledSearch: import("styled-components").StyledComponent<({ ai, additionalLabelContent, autoComplete, autoFocus, className, defaultValue, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, hasResizer, helperText, endIcon, endText, id, informationToolTip, inputRef, label, max, maxLength, maxRows, min, minLength, minRows, multiline, name, onBlur, onChange, onClear, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required, shrink, startIcon, size, success, type, value, warning, }: import("../input-form-fields/InputText").InputTextProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;