@s-ui/react-atom-input
Advanced tools
Comparing version 5.12.0 to 5.13.0
# CHANGELOG | ||
# 5.13.0 (2022-01-31) | ||
### Bug Fixes | ||
* **components/atom/input:** Fix atom input focus box shadow when have state ([ea84125](https://github.com/SUI-Components/sui-components/commit/ea84125060dfb09e2251929f1bef139a584f3902)) | ||
* **components/atom/input:** Use variable ([b51f84e](https://github.com/SUI-Components/sui-components/commit/b51f84e0369838d3c77168ef4d06055076606a8f)) | ||
# 5.12.0 (2022-01-14) | ||
@@ -4,0 +14,0 @@ |
@@ -5,6 +5,6 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import PropTypes from 'prop-types'; | ||
import Input, { inputSizes, inputStates } from './Input'; | ||
import Password from './Password'; | ||
import Mask from './Mask'; | ||
import { TYPES, INPUT_SHAPES } from './config'; | ||
import Input, { inputSizes, inputStates } from './Input/index.js'; | ||
import Password from './Password/index.js'; | ||
import Mask from './Mask/index.js'; | ||
import { TYPES, INPUT_SHAPES } from './config.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -11,0 +11,0 @@ |
import { forwardRef } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import useMergeRefs from '@s-ui/react-hooks/lib/useMergeRefs'; | ||
import { SIZES, INPUT_STATES, INPUT_SHAPES, noop, getClassNames } from '../../config'; | ||
import { SIZES, INPUT_STATES, INPUT_SHAPES, noop, getClassNames } from '../../config.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -6,0 +6,0 @@ var Input = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) { |
@@ -6,7 +6,7 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import PropTypes from 'prop-types'; | ||
import InputButton from './Wrappers/Button/InputButton'; | ||
import InputAddons from './Wrappers/Addons/InputAddons'; | ||
import InputIcons from './Wrappers/Icons/InputIcons'; | ||
import Input, { inputStates, inputSizes } from './Component'; | ||
import { SIZES } from '../config'; | ||
import InputButton from './Wrappers/Button/InputButton.js'; | ||
import InputAddons from './Wrappers/Addons/InputAddons.js'; | ||
import InputIcons from './Wrappers/Icons/InputIcons.js'; | ||
import Input, { inputStates, inputSizes } from './Component/index.js'; | ||
import { SIZES } from '../config.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -13,0 +13,0 @@ var BaseInput = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) { |
import cx from 'classnames'; | ||
import { BASE } from '../../../config'; | ||
import { BASE } from '../../../config.js'; | ||
export var BASE_CLASS_ADDON = BASE + "--withAddon"; | ||
@@ -4,0 +4,0 @@ export var BASE_CLASS_ADDON_WRAPPER = BASE_CLASS_ADDON + "Wrapper"; |
import PropTypes from 'prop-types'; | ||
import cx from 'classnames'; | ||
import { BASE_CLASS_ADDON_WRAPPER, ADDON_TYPES, getClassName } from './config'; | ||
import { INPUT_SHAPES, SIZES } from '../../../config'; | ||
import { BASE_CLASS_ADDON_WRAPPER, ADDON_TYPES, getClassName } from './config.js'; | ||
import { INPUT_SHAPES, SIZES } from '../../../config.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -6,0 +6,0 @@ import { jsxs as _jsxs } from "react/jsx-runtime"; |
@@ -1,2 +0,2 @@ | ||
import { BASE } from '../../../config'; | ||
import { BASE } from '../../../config.js'; | ||
export var BASE_CLASS_BUTTON = BASE + "--withButton"; |
import PropTypes from 'prop-types'; | ||
import { BASE_CLASS_BUTTON } from './config'; | ||
import { BASE_CLASS_BUTTON } from './config.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -4,0 +4,0 @@ import { jsxs as _jsxs } from "react/jsx-runtime"; |
@@ -1,2 +0,2 @@ | ||
import { BASE } from '../../../config'; | ||
import { BASE } from '../../../config.js'; | ||
export var ICON_TYPES = { | ||
@@ -3,0 +3,0 @@ LEFT: 'left', |
import PropTypes from 'prop-types'; | ||
import cx from 'classnames'; | ||
import { BASE_CLASS_ICON, BASE_CLASS_ICON_LEFT, BASE_CLASS_ICON_RIGHT, BASE_CLASS_ICON_COMPONENT, BASE_CLASS_ICON_COMPONENT_HANDLER, BASE_CLASS_ICON_COMPONENT_LEFT, BASE_CLASS_ICON_COMPONENT_RIGHT } from './config'; | ||
import { BASE_CLASS_ICON, BASE_CLASS_ICON_LEFT, BASE_CLASS_ICON_RIGHT, BASE_CLASS_ICON_COMPONENT, BASE_CLASS_ICON_COMPONENT_HANDLER, BASE_CLASS_ICON_COMPONENT_LEFT, BASE_CLASS_ICON_COMPONENT_RIGHT } from './config.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -5,0 +5,0 @@ import { jsxs as _jsxs } from "react/jsx-runtime"; |
@@ -6,3 +6,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import PropTypes from 'prop-types'; | ||
import Input from '../Input'; | ||
import Input from '../Input/index.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -9,0 +9,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { BASE_CLASS } from '../config'; | ||
import { BASE_CLASS } from '../config.js'; | ||
export var BASE_CLASS_PASSWORD = BASE_CLASS + "-password"; | ||
@@ -3,0 +3,0 @@ export var BASE_CLASS_PASSWORD_TOGGLE_BUTTON = BASE_CLASS_PASSWORD + "--toggleButton"; |
@@ -6,4 +6,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import PropTypes from 'prop-types'; | ||
import Input from '../Input'; | ||
import { BASE_CLASS_PASSWORD, BASE_CLASS_PASSWORD_TOGGLE_BUTTON, TEXT, PASSWORD } from './config'; | ||
import Input from '../Input/index.js'; | ||
import { BASE_CLASS_PASSWORD, BASE_CLASS_PASSWORD_TOGGLE_BUTTON, TEXT, PASSWORD } from './config.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -10,0 +10,0 @@ import { jsxs as _jsxs } from "react/jsx-runtime"; |
{ | ||
"name": "@s-ui/react-atom-input", | ||
"version": "5.12.0", | ||
"version": "5.13.0", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"prepare": "npm run build:js && npm run build:styles", | ||
"prepare": "rimraf ./lib && npm run build:js && npm run build:styles", | ||
"build:js": "babel --presets sui ./src --out-dir ./lib", | ||
@@ -9,0 +9,0 @@ "build:styles": "cpx './src/**/*.scss' ./lib" |
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
59532
34