Socket
Socket
Sign inDemoInstall

@alfalab/core-components-input

Package Overview
Dependencies
Maintainers
14
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 13.0.1 to 13.0.2

cssm/desktop/Component.desktop.d.ts

6

Component.responsive.js

@@ -8,4 +8,4 @@ 'use strict';

var coreComponentsMq = require('@alfalab/core-components-mq');
var Component_desktop = require('./Component.desktop.js');
var Component_mobile = require('./Component.mobile.js');
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
require('@alfalab/core-components-form-control/desktop');

@@ -32,3 +32,3 @@ require('./components/base-input/Component.js');

var isDesktop = coreComponentsMq.useMatchMedia(query, defaultMatchMediaValue)[0];
var Component = isDesktop ? Component_desktop.InputDesktop : Component_mobile.InputMobile;
var Component = isDesktop ? desktop_Component_desktop.InputDesktop : mobile_Component_mobile.InputMobile;
return React__default.default.createElement(Component, tslib.__assign({ ref: ref }, restProps));

@@ -35,0 +35,0 @@ });

@@ -141,3 +141,3 @@ /// <reference types="react" />

};
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "type" | "enterKeyHint"> & {
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
/**

@@ -144,0 +144,0 @@ * Значение поля ввода

@@ -23,9 +23,9 @@ 'use strict';

var defaultColors = {"input":"input__input_135s9","hasInnerLabel":"input__hasInnerLabel_135s9","clearIcon":"input__clearIcon_135s9","disableUserInput":"input__disableUserInput_135s9","error":"input__error_135s9"};
var defaultColors = {"input":"input__input_fhdyu","hasInnerLabel":"input__hasInnerLabel_fhdyu","clearIcon":"input__clearIcon_fhdyu","disableUserInput":"input__disableUserInput_fhdyu","error":"input__error_fhdyu"};
require('./default.css')
var styles = {"input":"input__input_p2r93","hasInnerLabel":"input__hasInnerLabel_p2r93","s":"input__s_p2r93","m":"input__m_p2r93","l":"input__l_p2r93","xl":"input__xl_p2r93","block":"input__block_p2r93","clearIcon":"input__clearIcon_p2r93","errorIcon":"input__errorIcon_p2r93","errorColorIcon":"input__errorColorIcon_p2r93","clearButton":"input__clearButton_p2r93","successIcon":"input__successIcon_p2r93","successColorIcon":"input__successColorIcon_p2r93","focusVisible":"input__focusVisible_p2r93","onautofillstart":"input__onautofillstart_p2r93","onautofillcancel":"input__onautofillcancel_p2r93"};
var styles = {"input":"input__input_h3wp1","hasInnerLabel":"input__hasInnerLabel_h3wp1","s":"input__s_h3wp1","m":"input__m_h3wp1","l":"input__l_h3wp1","xl":"input__xl_h3wp1","block":"input__block_h3wp1","clearIcon":"input__clearIcon_h3wp1","errorIcon":"input__errorIcon_h3wp1","errorColorIcon":"input__errorColorIcon_h3wp1","clearButton":"input__clearButton_h3wp1","successIcon":"input__successIcon_h3wp1","successColorIcon":"input__successColorIcon_h3wp1","focusVisible":"input__focusVisible_h3wp1","onautofillstart":"input__onautofillstart_h3wp1","onautofillcancel":"input__onautofillcancel_h3wp1"};
require('./index.css')
var invertedColors = {"input":"input__input_u7099","hasInnerLabel":"input__hasInnerLabel_u7099","clearIcon":"input__clearIcon_u7099","disableUserInput":"input__disableUserInput_u7099","error":"input__error_u7099"};
var invertedColors = {"input":"input__input_1qhtf","hasInnerLabel":"input__hasInnerLabel_1qhtf","clearIcon":"input__clearIcon_1qhtf","disableUserInput":"input__disableUserInput_1qhtf","error":"input__error_1qhtf"};
require('./inverted.css')

@@ -32,0 +32,0 @@

@@ -8,4 +8,4 @@ 'use strict';

var coreComponentsMq = require('@alfalab/core-components-mq/cssm');
var Component_desktop = require('./Component.desktop.js');
var Component_mobile = require('./Component.mobile.js');
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
require('@alfalab/core-components-form-control/cssm/desktop');

@@ -35,3 +35,3 @@ require('./components/base-input/Component.js');

var isDesktop = coreComponentsMq.useMatchMedia(query, defaultMatchMediaValue)[0];
var Component = isDesktop ? Component_desktop.InputDesktop : Component_mobile.InputMobile;
var Component = isDesktop ? desktop_Component_desktop.InputDesktop : mobile_Component_mobile.InputMobile;
return React__default.default.createElement(Component, tslib.__assign({ ref: ref }, restProps));

@@ -38,0 +38,0 @@ });

@@ -141,3 +141,3 @@ /// <reference types="react" />

};
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "type" | "enterKeyHint"> & {
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
/**

@@ -144,0 +144,0 @@ * Значение поля ввода

@@ -1,2 +0,2 @@

export * from "../Component.desktop";
export * from "./Component.desktop";
export {};

@@ -5,3 +5,3 @@ 'use strict';

var Component_desktop = require('../Component.desktop.js');
var desktop_Component_desktop = require('./Component.desktop.js');
require('tslib');

@@ -26,2 +26,2 @@ require('react');

exports.InputDesktop = Component_desktop.InputDesktop;
exports.InputDesktop = desktop_Component_desktop.InputDesktop;

@@ -9,3 +9,3 @@ 'use strict';

require('@alfalab/core-components-mq/cssm');
require('./Component.desktop.js');
require('./desktop/Component.desktop.js');
require('@alfalab/core-components-form-control/cssm/desktop');

@@ -25,3 +25,3 @@ require('./components/base-input/Component.js');

require('./components/base-input/inverted.module.css');
require('./Component.mobile.js');
require('./mobile/Component.mobile.js');
require('@alfalab/core-components-form-control/cssm/mobile');

@@ -28,0 +28,0 @@

@@ -1,2 +0,2 @@

export * from "../Component.mobile";
export * from "./Component.mobile";
export {};

@@ -5,3 +5,3 @@ 'use strict';

var Component_mobile = require('../Component.mobile.js');
var mobile_Component_mobile = require('./Component.mobile.js');
require('tslib');

@@ -26,2 +26,2 @@ require('react');

exports.InputMobile = Component_mobile.InputMobile;
exports.InputMobile = mobile_Component_mobile.InputMobile;

@@ -1,2 +0,2 @@

export * from "../Component.desktop";
export * from "./Component.desktop";
export {};

@@ -5,3 +5,3 @@ 'use strict';

var Component_desktop = require('../Component.desktop.js');
var desktop_Component_desktop = require('./Component.desktop.js');
require('tslib');

@@ -23,2 +23,2 @@ require('react');

exports.InputDesktop = Component_desktop.InputDesktop;
exports.InputDesktop = desktop_Component_desktop.InputDesktop;
import { __rest, __assign } from 'tslib';
import React, { forwardRef } from 'react';
import { useMatchMedia } from '@alfalab/core-components-mq/esm';
import { InputDesktop } from './Component.desktop.js';
import { InputMobile } from './Component.mobile.js';
import { InputDesktop } from './desktop/Component.desktop.js';
import { InputMobile } from './mobile/Component.mobile.js';
import '@alfalab/core-components-form-control/esm/desktop';

@@ -7,0 +7,0 @@ import './components/base-input/Component.js';

@@ -141,3 +141,3 @@ /// <reference types="react" />

};
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "type" | "enterKeyHint"> & {
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
/**

@@ -144,0 +144,0 @@ * Значение поля ввода

@@ -13,9 +13,9 @@ import { __rest, __assign } from 'tslib';

var defaultColors = {"input":"input__input_135s9","hasInnerLabel":"input__hasInnerLabel_135s9","clearIcon":"input__clearIcon_135s9","disableUserInput":"input__disableUserInput_135s9","error":"input__error_135s9"};
var defaultColors = {"input":"input__input_fhdyu","hasInnerLabel":"input__hasInnerLabel_fhdyu","clearIcon":"input__clearIcon_fhdyu","disableUserInput":"input__disableUserInput_fhdyu","error":"input__error_fhdyu"};
require('./default.css')
var styles = {"input":"input__input_p2r93","hasInnerLabel":"input__hasInnerLabel_p2r93","s":"input__s_p2r93","m":"input__m_p2r93","l":"input__l_p2r93","xl":"input__xl_p2r93","block":"input__block_p2r93","clearIcon":"input__clearIcon_p2r93","errorIcon":"input__errorIcon_p2r93","errorColorIcon":"input__errorColorIcon_p2r93","clearButton":"input__clearButton_p2r93","successIcon":"input__successIcon_p2r93","successColorIcon":"input__successColorIcon_p2r93","focusVisible":"input__focusVisible_p2r93","onautofillstart":"input__onautofillstart_p2r93","onautofillcancel":"input__onautofillcancel_p2r93"};
var styles = {"input":"input__input_h3wp1","hasInnerLabel":"input__hasInnerLabel_h3wp1","s":"input__s_h3wp1","m":"input__m_h3wp1","l":"input__l_h3wp1","xl":"input__xl_h3wp1","block":"input__block_h3wp1","clearIcon":"input__clearIcon_h3wp1","errorIcon":"input__errorIcon_h3wp1","errorColorIcon":"input__errorColorIcon_h3wp1","clearButton":"input__clearButton_h3wp1","successIcon":"input__successIcon_h3wp1","successColorIcon":"input__successColorIcon_h3wp1","focusVisible":"input__focusVisible_h3wp1","onautofillstart":"input__onautofillstart_h3wp1","onautofillcancel":"input__onautofillcancel_h3wp1"};
require('./index.css')
var invertedColors = {"input":"input__input_u7099","hasInnerLabel":"input__hasInnerLabel_u7099","clearIcon":"input__clearIcon_u7099","disableUserInput":"input__disableUserInput_u7099","error":"input__error_u7099"};
var invertedColors = {"input":"input__input_1qhtf","hasInnerLabel":"input__hasInnerLabel_1qhtf","clearIcon":"input__clearIcon_1qhtf","disableUserInput":"input__disableUserInput_1qhtf","error":"input__error_1qhtf"};
require('./inverted.css')

@@ -22,0 +22,0 @@

@@ -1,2 +0,2 @@

export * from "../Component.desktop";
export * from "./Component.desktop";
export {};

@@ -1,2 +0,2 @@

export { InputDesktop } from '../Component.desktop.js';
export { InputDesktop } from './Component.desktop.js';
import 'tslib';

@@ -3,0 +3,0 @@ import 'react';

@@ -5,3 +5,3 @@ export { Input } from './Component.responsive.js';

import '@alfalab/core-components-mq/esm';
import './Component.desktop.js';
import './desktop/Component.desktop.js';
import '@alfalab/core-components-form-control/esm/desktop';

@@ -18,3 +18,3 @@ import './components/base-input/Component.js';

import '@alfalab/icons-glyph/ExclamationCircleMIcon';
import './Component.mobile.js';
import './mobile/Component.mobile.js';
import '@alfalab/core-components-form-control/esm/mobile';

@@ -1,2 +0,2 @@

export * from "../Component.mobile";
export * from "./Component.mobile";
export {};

@@ -1,2 +0,2 @@

export { InputMobile } from '../Component.mobile.js';
export { InputMobile } from './Component.mobile.js';
import 'tslib';

@@ -3,0 +3,0 @@ import 'react';

@@ -9,3 +9,3 @@ 'use strict';

require('@alfalab/core-components-mq');
require('./Component.desktop.js');
require('./desktop/Component.desktop.js');
require('@alfalab/core-components-form-control/desktop');

@@ -22,3 +22,3 @@ require('./components/base-input/Component.js');

require('@alfalab/icons-glyph/ExclamationCircleMIcon');
require('./Component.mobile.js');
require('./mobile/Component.mobile.js');
require('@alfalab/core-components-form-control/mobile');

@@ -25,0 +25,0 @@

@@ -1,2 +0,2 @@

export * from "../Component.mobile";
export * from "./Component.mobile";
export {};

@@ -5,3 +5,3 @@ 'use strict';

var Component_mobile = require('../Component.mobile.js');
var mobile_Component_mobile = require('./Component.mobile.js');
require('tslib');

@@ -23,2 +23,2 @@ require('react');

exports.InputMobile = Component_mobile.InputMobile;
exports.InputMobile = mobile_Component_mobile.InputMobile;
import React, { forwardRef } from 'react';
import { useMatchMedia } from '@alfalab/core-components-mq/modern';
import { InputDesktop } from './Component.desktop.js';
import { InputMobile } from './Component.mobile.js';
import { InputDesktop } from './desktop/Component.desktop.js';
import { InputMobile } from './mobile/Component.mobile.js';
import '@alfalab/core-components-form-control/modern/desktop';

@@ -6,0 +6,0 @@ import './components/base-input/Component.js';

@@ -141,3 +141,3 @@ /// <reference types="react" />

};
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "type" | "enterKeyHint"> & {
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
/**

@@ -144,0 +144,0 @@ * Значение поля ввода

@@ -12,9 +12,9 @@ import React, { useRef, useState, useCallback, Fragment } from 'react';

const defaultColors = {"input":"input__input_135s9","hasInnerLabel":"input__hasInnerLabel_135s9","clearIcon":"input__clearIcon_135s9","disableUserInput":"input__disableUserInput_135s9","error":"input__error_135s9"};
const defaultColors = {"input":"input__input_fhdyu","hasInnerLabel":"input__hasInnerLabel_fhdyu","clearIcon":"input__clearIcon_fhdyu","disableUserInput":"input__disableUserInput_fhdyu","error":"input__error_fhdyu"};
require('./default.css')
const styles = {"input":"input__input_p2r93","hasInnerLabel":"input__hasInnerLabel_p2r93","s":"input__s_p2r93","m":"input__m_p2r93","l":"input__l_p2r93","xl":"input__xl_p2r93","block":"input__block_p2r93","clearIcon":"input__clearIcon_p2r93","errorIcon":"input__errorIcon_p2r93","errorColorIcon":"input__errorColorIcon_p2r93","clearButton":"input__clearButton_p2r93","successIcon":"input__successIcon_p2r93","successColorIcon":"input__successColorIcon_p2r93","focusVisible":"input__focusVisible_p2r93","onautofillstart":"input__onautofillstart_p2r93","onautofillcancel":"input__onautofillcancel_p2r93"};
const styles = {"input":"input__input_h3wp1","hasInnerLabel":"input__hasInnerLabel_h3wp1","s":"input__s_h3wp1","m":"input__m_h3wp1","l":"input__l_h3wp1","xl":"input__xl_h3wp1","block":"input__block_h3wp1","clearIcon":"input__clearIcon_h3wp1","errorIcon":"input__errorIcon_h3wp1","errorColorIcon":"input__errorColorIcon_h3wp1","clearButton":"input__clearButton_h3wp1","successIcon":"input__successIcon_h3wp1","successColorIcon":"input__successColorIcon_h3wp1","focusVisible":"input__focusVisible_h3wp1","onautofillstart":"input__onautofillstart_h3wp1","onautofillcancel":"input__onautofillcancel_h3wp1"};
require('./index.css')
const invertedColors = {"input":"input__input_u7099","hasInnerLabel":"input__hasInnerLabel_u7099","clearIcon":"input__clearIcon_u7099","disableUserInput":"input__disableUserInput_u7099","error":"input__error_u7099"};
const invertedColors = {"input":"input__input_1qhtf","hasInnerLabel":"input__hasInnerLabel_1qhtf","clearIcon":"input__clearIcon_1qhtf","disableUserInput":"input__disableUserInput_1qhtf","error":"input__error_1qhtf"};
require('./inverted.css')

@@ -21,0 +21,0 @@

@@ -1,2 +0,2 @@

export * from "../Component.desktop";
export * from "./Component.desktop";
export {};

@@ -1,2 +0,2 @@

export { InputDesktop } from '../Component.desktop.js';
export { InputDesktop } from './Component.desktop.js';
import 'react';

@@ -3,0 +3,0 @@ import '@alfalab/core-components-form-control/modern/desktop';

export { Input } from './Component.responsive.js';
import 'react';
import '@alfalab/core-components-mq/modern';
import './Component.desktop.js';
import './desktop/Component.desktop.js';
import '@alfalab/core-components-form-control/modern/desktop';

@@ -16,3 +16,3 @@ import './components/base-input/Component.js';

import '@alfalab/icons-glyph/ExclamationCircleMIcon';
import './Component.mobile.js';
import './mobile/Component.mobile.js';
import '@alfalab/core-components-form-control/modern/mobile';

@@ -1,2 +0,2 @@

export * from "../Component.mobile";
export * from "./Component.mobile";
export {};

@@ -1,2 +0,2 @@

export { InputMobile } from '../Component.mobile.js';
export { InputMobile } from './Component.mobile.js';
import 'react';

@@ -3,0 +3,0 @@ import '@alfalab/core-components-form-control/modern/mobile';

{
"name": "@alfalab/core-components-input",
"version": "13.0.1",
"version": "13.0.2",
"description": "",

@@ -17,4 +17,4 @@ "keywords": [],

"dependencies": {
"@alfalab/core-components-button": "^10.0.1",
"@alfalab/core-components-form-control": "^11.0.0",
"@alfalab/core-components-button": "^10.0.2",
"@alfalab/core-components-form-control": "^11.1.0",
"@alfalab/core-components-badge": "^5.3.0",

@@ -21,0 +21,0 @@ "@alfalab/core-components-mq": "^4.2.0",

@@ -1,1 +0,1 @@

export * from '../Component.desktop';
export * from './Component.desktop';

@@ -1,1 +0,1 @@

export * from '../Component.mobile';
export * from './Component.mobile';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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