Socket
Socket
Sign inDemoInstall

@alfalab/core-components-input

Package Overview
Dependencies
Maintainers
12
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alfalab/core-components-input - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

96

Component.d.ts
import React, { InputHTMLAttributes } from 'react';
export declare type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> & {
/** Растягивает компонент на ширину контейнера */
/**
* Растягивает компонент на ширину контейнера
*/
block?: boolean;
/** Размер компонента */
/**
* Размер компонента
*/
size?: 's' | 'm' | 'l';
/** Текст ошибки */
/**
* Текст ошибки
*/
error?: string;
/** Текст подсказки */
/**
* Текст подсказки
*/
hint?: string;
/** Лейбл компонента */
/**
* Лейбл компонента
*/
label?: React.ReactNode;
/** Атрибут type */
/**
* Атрибут type
*/
type?: 'number' | 'card' | 'email' | 'money' | 'password' | 'tel' | 'text';
/** Слот слева */
/**
* Слот слева
*/
leftAddons?: React.ReactNode;
/** Слот справа */
/**
* Слот справа
*/
rightAddons?: React.ReactNode;
/** Слот под инпутом */
/**
* Слот под инпутом
*/
bottomAddons?: React.ReactNode;
/** Дополнительный класс */
/**
* Дополнительный класс
*/
className?: string;
/** Дополнительный класс инпута */
/**
* Дополнительный класс инпута
*/
inputClassName?: string;
/** Идентификатор для систем автоматизированного тестирования */
/**
* Идентификатор для систем автоматизированного тестирования
*/
dataTestId?: string;
};
export declare const Input: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "accept" | "alt" | "autoComplete" | "autoFocus" | "capture" | "checked" | "crossOrigin" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "pattern" | "placeholder" | "readOnly" | "required" | "src" | "step" | "value" | "width" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
/** Растягивает компонент на ширину контейнера */
/**
* Растягивает компонент на ширину контейнера
*/
block?: boolean | undefined;
/** Размер компонента */
/**
* Размер компонента
*/
size?: "s" | "m" | "l" | undefined;
/** Текст ошибки */
/**
* Текст ошибки
*/
error?: string | undefined;
/** Текст подсказки */
/**
* Текст подсказки
*/
hint?: string | undefined;
/** Лейбл компонента */
/**
* Лейбл компонента
*/
label?: React.ReactNode;
/** Атрибут type */
/**
* Атрибут type
*/
type?: "number" | "card" | "email" | "money" | "password" | "tel" | "text" | undefined;
/** Слот слева */
/**
* Слот слева
*/
leftAddons?: React.ReactNode;
/** Слот справа */
/**
* Слот справа
*/
rightAddons?: React.ReactNode;
/** Слот под инпутом */
/**
* Слот под инпутом
*/
bottomAddons?: React.ReactNode;
/** Дополнительный класс */
/**
* Дополнительный класс
*/
className?: string | undefined;
/** Дополнительный класс инпута */
/**
* Дополнительный класс инпута
*/
inputClassName?: string | undefined;
/** Идентификатор для систем автоматизированного тестирования */
/**
* Идентификатор для систем автоматизированного тестирования
*/
dataTestId?: string | undefined;
} & React.RefAttributes<HTMLInputElement>>;
{
"name": "@alfalab/core-components-input",
"version": "1.1.1",
"version": "1.1.2",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc