@s-ui/react-atom-input
Advanced tools
Comparing version 5.3.0 to 5.4.0
229
CHANGELOG.md
@@ -1,5 +0,42 @@ | ||
# Change Log | ||
# CHANGELOG | ||
All notable changes to this project will be documented in this file. | ||
# 5.4.0 (2021-09-16) | ||
### Features | ||
* **components/atom/input:** refactor for HOCS on Input ([e3cd8f1](https://github.com/SUI-Components/sui-components/commit/e3cd8f160788a070f3c03d7a33f1a942a37acdd1)) | ||
* **Root:** normalize bborder variables ([b5da148](https://github.com/SUI-Components/sui-components/commit/b5da1482ca96b523f0c168c7040783ce78a7f14d)) | ||
# 5.3.0 (2020-12-15) | ||
### Bug Fixes | ||
* **atom/input:** unselect button text ([e1f7a9f](https://github.com/SUI-Components/sui-components/commit/e1f7a9f38577c00e365d3862567b2cbdef1fba69)) | ||
# 5.2.0 (2020-11-24) | ||
### Features | ||
* **atom/input:** Use new jsx runtime ([7c3ad18](https://github.com/SUI-Components/sui-components/commit/7c3ad18f1a8e332950a3c90d6a1fee3f47e752c2)) | ||
# 5.1.0 (2020-11-19) | ||
### Features | ||
* **atom/input:** add an ariaLabel prop ([7717322](https://github.com/SUI-Components/sui-components/commit/7717322d7a6f808c7c1a1e0d091750347474e9f7)) | ||
* **atom/input:** fix readonly ([c8cf127](https://github.com/SUI-Components/sui-components/commit/c8cf12778814bbfe7def79347eb51e0021bcfce9)) | ||
* **atom/input:** upgrade version ([90a33d8](https://github.com/SUI-Components/sui-components/commit/90a33d8ac1f56d012727e8251f7081ce28dd8a5e)) | ||
# 4.24.0 (2020-10-27) | ||
@@ -10,3 +47,3 @@ | ||
* remove browser native arrows appearance in input type number ([76dd119](https://github.com/SUI-Components/sui-components/commit/76dd1194101ce3781db12924a3ec8a226f965533)), closes [#1274](https://github.com/SUI-Components/sui-components/issues/1274) | ||
* **atom/input:** remove browser native arrows appearance in input type number ([76dd119](https://github.com/SUI-Components/sui-components/commit/76dd1194101ce3781db12924a3ec8a226f965533)), closes [#1274](https://github.com/SUI-Components/sui-components/issues/1274) | ||
@@ -20,3 +57,3 @@ | ||
* add defaultValue prop support ([a56e0db](https://github.com/SUI-Components/sui-components/commit/a56e0db6ee7ccac926a9d2ff3c7b8bbebeda86f2)) | ||
* **atom/input:** add defaultValue prop support ([a56e0db](https://github.com/SUI-Components/sui-components/commit/a56e0db6ee7ccac926a9d2ff3c7b8bbebeda86f2)) | ||
@@ -30,3 +67,3 @@ | ||
* export inputTypes dict ([4c836b3](https://github.com/SUI-Components/sui-components/commit/4c836b368d8e96bdb8fbbb14af425109271e4982)) | ||
* **atom/input:** export inputTypes dict ([4c836b3](https://github.com/SUI-Components/sui-components/commit/4c836b368d8e96bdb8fbbb14af425109271e4982)) | ||
@@ -40,3 +77,3 @@ | ||
* fix disabled color ([a105762](https://github.com/SUI-Components/sui-components/commit/a10576281548eb24f44e465d0dd58b49b9a1f81f)) | ||
* **atom/input:** fix disabled color ([a105762](https://github.com/SUI-Components/sui-components/commit/a10576281548eb24f44e465d0dd58b49b9a1f81f)) | ||
@@ -50,3 +87,3 @@ | ||
* add assets folder to .npmignore ([01e8c87](https://github.com/SUI-Components/sui-components/commit/01e8c877ba09680b1322866007e994ec0c65e51e)) | ||
* **atom/input:** add assets folder to .npmignore ([01e8c87](https://github.com/SUI-Components/sui-components/commit/01e8c877ba09680b1322866007e994ec0c65e51e)) | ||
@@ -60,3 +97,3 @@ | ||
* add autofocus attribute as a prop ([ea24532](https://github.com/SUI-Components/sui-components/commit/ea24532cb8b14dafb0eae8112913be313c130f32)) | ||
* **atom/input:** add autofocus attribute as a prop ([ea24532](https://github.com/SUI-Components/sui-components/commit/ea24532cb8b14dafb0eae8112913be313c130f32)) | ||
@@ -70,4 +107,4 @@ | ||
* add max and min prop to atom inpu ([b75d1dd](https://github.com/SUI-Components/sui-components/commit/b75d1dd2bcf2bd90a89181d5b9350613577c41cd)) | ||
* add step prop ([083d560](https://github.com/SUI-Components/sui-components/commit/083d5603edb434c38a48da391ee4ecd18f913d77)) | ||
* **atom/input:** add max and min prop to atom inpu ([b75d1dd](https://github.com/SUI-Components/sui-components/commit/b75d1dd2bcf2bd90a89181d5b9350613577c41cd)) | ||
* **atom/input:** add step prop ([083d560](https://github.com/SUI-Components/sui-components/commit/083d5603edb434c38a48da391ee4ecd18f913d77)) | ||
@@ -81,3 +118,3 @@ | ||
* fixed typo ([dabe78e](https://github.com/SUI-Components/sui-components/commit/dabe78ec3e3ec724a4c0505286e8d3cb3b4b859a)) | ||
* **atom/input:** fixed typo ([dabe78e](https://github.com/SUI-Components/sui-components/commit/dabe78ec3e3ec724a4c0505286e8d3cb3b4b859a)) | ||
@@ -91,3 +128,3 @@ | ||
* move disabled styles only when not readonly but disabled ([92cbdd3](https://github.com/SUI-Components/sui-components/commit/92cbdd3cee244754159b8283ea7bfbfab6a26eb7)) | ||
* **atom/input:** move disabled styles only when not readonly but disabled ([92cbdd3](https://github.com/SUI-Components/sui-components/commit/92cbdd3cee244754159b8283ea7bfbfab6a26eb7)) | ||
@@ -101,3 +138,3 @@ | ||
* atomInput has border when it is disabled and has noBorder prop ([dcd3e56](https://github.com/SUI-Components/sui-components/commit/dcd3e56550c737b31cc26be9eac7d47d58b070ae)) | ||
* **atom/input:** atomInput has border when it is disabled and has noBorder prop ([dcd3e56](https://github.com/SUI-Components/sui-components/commit/dcd3e56550c737b31cc26be9eac7d47d58b070ae)) | ||
@@ -111,3 +148,3 @@ | ||
* reorder variables ([dc37d51](https://github.com/SUI-Components/sui-components/commit/dc37d51cc5d38081ac1f5fab7b39f616c7c35ca2)) | ||
* **atom/input:** reorder variables ([dc37d51](https://github.com/SUI-Components/sui-components/commit/dc37d51cc5d38081ac1f5fab7b39f616c7c35ca2)) | ||
@@ -121,3 +158,3 @@ | ||
* add color ($c-atom-input-disabled) and border($bd-atom-input-disabled) variables f ([9f6e909](https://github.com/SUI-Components/sui-components/commit/9f6e9093a37483f8de0999ba9d82fdb46edacf0d)) | ||
* **atom/input:** add color ($c-atom-input-disabled) and border($bd-atom-input-disabled) variables f ([9f6e909](https://github.com/SUI-Components/sui-components/commit/9f6e9093a37483f8de0999ba9d82fdb46edacf0d)) | ||
@@ -131,3 +168,3 @@ | ||
* add inputmode prop ([708ffb5](https://github.com/SUI-Components/sui-components/commit/708ffb52f292068e73aaee72bfaf837974ba445c)) | ||
* **atom/input:** add inputmode prop ([708ffb5](https://github.com/SUI-Components/sui-components/commit/708ffb52f292068e73aaee72bfaf837974ba445c)) | ||
@@ -141,3 +178,3 @@ | ||
* Use new [@s-ui-theme](https://github.com/s-ui-theme) ([416119f](https://github.com/SUI-Components/sui-components/commit/416119f92ea0f2a9835783421dd241344887cbfb)) | ||
* **atom/input:** Use new [@s-ui-theme](https://github.com/s-ui-theme) ([416119f](https://github.com/SUI-Components/sui-components/commit/416119f92ea0f2a9835783421dd241344887cbfb)) | ||
@@ -151,3 +188,3 @@ | ||
* add flex property ([ad233b5](https://github.com/SUI-Components/sui-components/commit/ad233b55aca3eee89f073a1faffeb688a01b2f23)) | ||
* **atom/input:** add flex property ([ad233b5](https://github.com/SUI-Components/sui-components/commit/ad233b55aca3eee89f073a1faffeb688a01b2f23)) | ||
@@ -161,3 +198,3 @@ | ||
* add variable placeholder atom input ([986adcc](https://github.com/SUI-Components/sui-components/commit/986adccc160526c5aa65a100d23732b3c2535def)) | ||
* **atom/input:** add variable placeholder atom input ([986adcc](https://github.com/SUI-Components/sui-components/commit/986adccc160526c5aa65a100d23732b3c2535def)) | ||
@@ -171,3 +208,3 @@ | ||
* add css to input with button ([ed41f34](https://github.com/SUI-Components/sui-components/commit/ed41f34f10fea4138be20509209c40527163cca3)) | ||
* **atom/input:** add css to input with button ([ed41f34](https://github.com/SUI-Components/sui-components/commit/ed41f34f10fea4138be20509209c40527163cca3)) | ||
@@ -181,3 +218,3 @@ | ||
* add missing inputStates export ([c30f106](https://github.com/SUI-Components/sui-components/commit/c30f10608b893df2da9bf1e6a13d85d1f50acec4)) | ||
* **atom/input:** add missing inputStates export ([c30f106](https://github.com/SUI-Components/sui-components/commit/c30f10608b893df2da9bf1e6a13d85d1f50acec4)) | ||
@@ -191,4 +228,4 @@ | ||
* add new option to highlight input ([3290547](https://github.com/SUI-Components/sui-components/commit/329054791ae649ea0ae2bcbfc43860b9d34b4036)) | ||
* use theme variable ([ec9de25](https://github.com/SUI-Components/sui-components/commit/ec9de25cba49e29e53378c5d78813222617ba099)) | ||
* **atom/input:** add new option to highlight input ([3290547](https://github.com/SUI-Components/sui-components/commit/329054791ae649ea0ae2bcbfc43860b9d34b4036)) | ||
* **atom/input:** use theme variable ([ec9de25](https://github.com/SUI-Components/sui-components/commit/ec9de25cba49e29e53378c5d78813222617ba099)) | ||
@@ -202,3 +239,3 @@ | ||
* remove getErrorStateClass function ([a1f08dd](https://github.com/SUI-Components/sui-components/commit/a1f08dd6c437396ec943fbd37fd3f7b52e48c25b)) | ||
* **atom/input:** remove getErrorStateClass function ([a1f08dd](https://github.com/SUI-Components/sui-components/commit/a1f08dd6c437396ec943fbd37fd3f7b52e48c25b)) | ||
@@ -212,3 +249,3 @@ | ||
* Use new @s-ui/react-atom-button ([60a3751](https://github.com/SUI-Components/sui-components/commit/60a3751fa6a70887e113f8dcd382a666c84bf990)) | ||
* **atom/input:** Use new @s-ui/react-atom-button ([60a3751](https://github.com/SUI-Components/sui-components/commit/60a3751fa6a70887e113f8dcd382a666c84bf990)) | ||
@@ -226,8 +263,8 @@ | ||
* add minLength prop ([a4452e5](https://github.com/SUI-Components/sui-components/commit/a4452e56ddc0f2dbe48198d592947a8c1f72e4a8)) | ||
* add pattern prop ([a8b2df6](https://github.com/SUI-Components/sui-components/commit/a8b2df64173de40936534b81c66e74701bcb3dce)) | ||
* add required prop ([a0fb572](https://github.com/SUI-Components/sui-components/commit/a0fb57217ce1c60c72c5b9b883c92857fff9662a)) | ||
* remove default to required prop definition ([18b3f95](https://github.com/SUI-Components/sui-components/commit/18b3f957edf43f4a3f8c78eef6e20267e904878b)) | ||
* required prop default to false ([b36f4af](https://github.com/SUI-Components/sui-components/commit/b36f4af723899eb4f412dce872929747b73c28a5)) | ||
* with button ([5400020](https://github.com/SUI-Components/sui-components/commit/5400020ca6ace81929775b8eaa2cb26de80b75bf)) | ||
* **atom/input:** add minLength prop ([a4452e5](https://github.com/SUI-Components/sui-components/commit/a4452e56ddc0f2dbe48198d592947a8c1f72e4a8)) | ||
* **atom/input:** add pattern prop ([a8b2df6](https://github.com/SUI-Components/sui-components/commit/a8b2df64173de40936534b81c66e74701bcb3dce)) | ||
* **atom/input:** add required prop ([a0fb572](https://github.com/SUI-Components/sui-components/commit/a0fb57217ce1c60c72c5b9b883c92857fff9662a)) | ||
* **atom/input:** remove default to required prop definition ([18b3f95](https://github.com/SUI-Components/sui-components/commit/18b3f957edf43f4a3f8c78eef6e20267e904878b)) | ||
* **atom/input:** required prop default to false ([b36f4af](https://github.com/SUI-Components/sui-components/commit/b36f4af723899eb4f412dce872929747b73c28a5)) | ||
* **atom/input:** with button ([5400020](https://github.com/SUI-Components/sui-components/commit/5400020ca6ace81929775b8eaa2cb26de80b75bf)) | ||
@@ -241,3 +278,3 @@ | ||
* set css property pointer-events to none ([f845847](https://github.com/SUI-Components/sui-components/commit/f8458477dffa419667deaaca3c2f2a3fe6ac4b40)) | ||
* **atom/input:** set css property pointer-events to none ([f845847](https://github.com/SUI-Components/sui-components/commit/f8458477dffa419667deaaca3c2f2a3fe6ac4b40)) | ||
@@ -251,3 +288,3 @@ | ||
* removal checkbox and radioButton input AND name notification in event handler ([4c2acf6](https://github.com/SUI-Components/sui-components/commit/4c2acf6c5deffe209c06dc45cadc683112a33e4f)) | ||
* **atom/input:** removal checkbox and radioButton input AND name notification in event handler ([4c2acf6](https://github.com/SUI-Components/sui-components/commit/4c2acf6c5deffe209c06dc45cadc683112a33e4f)) | ||
@@ -257,3 +294,3 @@ | ||
* checkbox and radioButton removal | ||
* **atom/input:** checkbox and radioButton removal | ||
@@ -267,3 +304,3 @@ | ||
* add default prop value to onChange prop ([3000a86](https://github.com/SUI-Components/sui-components/commit/3000a86869a28555525191b2079197c7da5cbb57)) | ||
* **atom/input:** add default prop value to onChange prop ([3000a86](https://github.com/SUI-Components/sui-components/commit/3000a86869a28555525191b2079197c7da5cbb57)) | ||
@@ -277,3 +314,3 @@ | ||
* add fill var to input icon ([937c203](https://github.com/SUI-Components/sui-components/commit/937c203adfab4730ef4449cd65e99d46bc5d4324)) | ||
* **atom/input:** add fill var to input icon ([937c203](https://github.com/SUI-Components/sui-components/commit/937c203adfab4730ef4449cd65e99d46bc5d4324)) | ||
@@ -287,3 +324,3 @@ | ||
* update doc and playground with new xsmall input size ([4507925](https://github.com/SUI-Components/sui-components/commit/450792516b16b63edd1c0fe10e7710fc1d6d5a22)) | ||
* **atom/input:** update doc and playground with new xsmall input size ([4507925](https://github.com/SUI-Components/sui-components/commit/450792516b16b63edd1c0fe10e7710fc1d6d5a22)) | ||
@@ -297,3 +334,3 @@ | ||
* propagate readonly attribute ([a1d6a0e](https://github.com/SUI-Components/sui-components/commit/a1d6a0e39979bd8e958fd6afea2f80636c2b2e75)) | ||
* **atom/input:** propagate readonly attribute ([a1d6a0e](https://github.com/SUI-Components/sui-components/commit/a1d6a0e39979bd8e958fd6afea2f80636c2b2e75)) | ||
@@ -307,4 +344,4 @@ | ||
* add new native props ([7b08766](https://github.com/SUI-Components/sui-components/commit/7b087660c3f6ae6e0aeb5cf9ca0cc404a519ea72)) | ||
* update new props: add camelCase ([1e1ab4b](https://github.com/SUI-Components/sui-components/commit/1e1ab4b71847ae62a28eb5835b72dcd0a7715ef9)) | ||
* **atom/input:** add new native props ([7b08766](https://github.com/SUI-Components/sui-components/commit/7b087660c3f6ae6e0aeb5cf9ca0cc404a519ea72)) | ||
* **atom/input:** update new props: add camelCase ([1e1ab4b](https://github.com/SUI-Components/sui-components/commit/1e1ab4b71847ae62a28eb5835b72dcd0a7715ef9)) | ||
@@ -318,3 +355,3 @@ | ||
* only download on focus ([578e99b](https://github.com/SUI-Components/sui-components/commit/578e99b96e9e5940959cd2a3fa680dc1fbc77589)) | ||
* **atom/input:** only download on focus ([578e99b](https://github.com/SUI-Components/sui-components/commit/578e99b96e9e5940959cd2a3fa680dc1fbc77589)) | ||
@@ -324,3 +361,3 @@ | ||
* download imask only if component is used ([a3b51ba](https://github.com/SUI-Components/sui-components/commit/a3b51ba66a5957a646e0b104dc461372b98df5c3)) | ||
* **atom/input:** download imask only if component is used ([a3b51ba](https://github.com/SUI-Components/sui-components/commit/a3b51ba66a5957a646e0b104dc461372b98df5c3)) | ||
@@ -334,4 +371,4 @@ | ||
* fix min-height setting in atom input ([5ad2e11](https://github.com/SUI-Components/sui-components/commit/5ad2e11b9ddaea63155b16343ae343367078e01a)) | ||
* linting fixes ([8c78094](https://github.com/SUI-Components/sui-components/commit/8c780942033fc6701fa5c3c1bfea7ef328eaf1b1)) | ||
* **atom/input:** fix min-height setting in atom input ([5ad2e11](https://github.com/SUI-Components/sui-components/commit/5ad2e11b9ddaea63155b16343ae343367078e01a)) | ||
* **atom/input:** linting fixes ([8c78094](https://github.com/SUI-Components/sui-components/commit/8c780942033fc6701fa5c3c1bfea7ef328eaf1b1)) | ||
@@ -345,5 +382,5 @@ | ||
* add border radius to input ([f1623a0](https://github.com/SUI-Components/sui-components/commit/f1623a07bd08e88da08f5e2d98773da6fe69e429)) | ||
* onKeyDown handler as prop ([14ed0ff](https://github.com/SUI-Components/sui-components/commit/14ed0fff92e737229667570ff64df87c4fb4b3a0)) | ||
* use $bdrs-none sui-theme var instead of 0 ([8f00a87](https://github.com/SUI-Components/sui-components/commit/8f00a8785cbbb46a945a77707f969ef6c44eaeae)) | ||
* **atom/input:** add border radius to input ([f1623a0](https://github.com/SUI-Components/sui-components/commit/f1623a07bd08e88da08f5e2d98773da6fe69e429)) | ||
* **atom/input:** onKeyDown handler as prop ([14ed0ff](https://github.com/SUI-Components/sui-components/commit/14ed0fff92e737229667570ff64df87c4fb4b3a0)) | ||
* **atom/input:** use $bdrs-none sui-theme var instead of 0 ([8f00a87](https://github.com/SUI-Components/sui-components/commit/8f00a8785cbbb46a945a77707f969ef6c44eaeae)) | ||
@@ -357,3 +394,3 @@ | ||
* change version package.json ([671dcca](https://github.com/SUI-Components/sui-components/commit/671dcca1247a7111774ff85bc88135d132ee22e5)) | ||
* **atom/input:** change version package.json ([671dcca](https://github.com/SUI-Components/sui-components/commit/671dcca1247a7111774ff85bc88135d132ee22e5)) | ||
@@ -363,4 +400,4 @@ | ||
* changes in the Readme and changes scss ([0154c33](https://github.com/SUI-Components/sui-components/commit/0154c33cd521fdd967c1c19d9061fb5e551f2766)) | ||
* leave the package.json as it was ([bdfd95c](https://github.com/SUI-Components/sui-components/commit/bdfd95cec75b98ac69196cf1fed9e102551b04a6)) | ||
* **atom/input:** changes in the Readme and changes scss ([0154c33](https://github.com/SUI-Components/sui-components/commit/0154c33cd521fdd967c1c19d9061fb5e551f2766)) | ||
* **atom/input:** leave the package.json as it was ([bdfd95c](https://github.com/SUI-Components/sui-components/commit/bdfd95cec75b98ac69196cf1fed9e102551b04a6)) | ||
@@ -374,3 +411,3 @@ | ||
* fixed specificity error in dev mode ([2cdfbe2](https://github.com/SUI-Components/sui-components/commit/2cdfbe2a860cdcf93380d8f794aaf9ad8058a8d1)) | ||
* **atom/input:** fixed specificity error in dev mode ([2cdfbe2](https://github.com/SUI-Components/sui-components/commit/2cdfbe2a860cdcf93380d8f794aaf9ad8058a8d1)) | ||
@@ -384,3 +421,3 @@ | ||
* issues focus on checkbox ([55e042b](https://github.com/SUI-Components/sui-components/commit/55e042be4ac113cb336c6e28f8f185dc707ceb58)) | ||
* **atom/input:** issues focus on checkbox ([55e042b](https://github.com/SUI-Components/sui-components/commit/55e042be4ac113cb336c6e28f8f185dc707ceb58)) | ||
@@ -394,3 +431,3 @@ | ||
* add propType object to reference ([243f2b0](https://github.com/SUI-Components/sui-components/commit/243f2b0c8826298d951e5be43a1999c66465933f)) | ||
* **atom/input:** add propType object to reference ([243f2b0](https://github.com/SUI-Components/sui-components/commit/243f2b0c8826298d951e5be43a1999c66465933f)) | ||
@@ -404,3 +441,3 @@ | ||
* normalize way fo passing icons to components according to WIKI agreement ([e4f7ea3](https://github.com/SUI-Components/sui-components/commit/e4f7ea30fc857dedea07b3dd829b23075a87a393)) | ||
* **atom/input:** normalize way fo passing icons to components according to WIKI agreement ([e4f7ea3](https://github.com/SUI-Components/sui-components/commit/e4f7ea30fc857dedea07b3dd829b23075a87a393)) | ||
@@ -410,3 +447,3 @@ | ||
* change of format for icons passed to the component | ||
* **atom/input:** change of format for icons passed to the component | ||
@@ -420,3 +457,3 @@ | ||
* fixed noBorder on focus ([9c67211](https://github.com/SUI-Components/sui-components/commit/9c6721156995d0277c623bf05e64daaca0e93537)) | ||
* **atom/input:** fixed noBorder on focus ([9c67211](https://github.com/SUI-Components/sui-components/commit/9c6721156995d0277c623bf05e64daaca0e93537)) | ||
@@ -426,3 +463,3 @@ | ||
* fixed noBorder css applied always ([1ee2fa9](https://github.com/SUI-Components/sui-components/commit/1ee2fa9335ab21a72eca29df12913f9c5840cc30)) | ||
* **atom/input:** fixed noBorder css applied always ([1ee2fa9](https://github.com/SUI-Components/sui-components/commit/1ee2fa9335ab21a72eca29df12913f9c5840cc30)) | ||
@@ -436,3 +473,3 @@ | ||
* add tel and email input types ([a117695](https://github.com/SUI-Components/sui-components/commit/a11769572272c1439051347e2de32c5c02aae267)) | ||
* **atom/input:** add tel and email input types ([a117695](https://github.com/SUI-Components/sui-components/commit/a11769572272c1439051347e2de32c5c02aae267)) | ||
@@ -446,3 +483,3 @@ | ||
* shared styles and tabIndex ([248579a](https://github.com/SUI-Components/sui-components/commit/248579a5a5ffe4786b7408a7e51f0a5a5ab5bd91)) | ||
* **atom/input:** shared styles and tabIndex ([248579a](https://github.com/SUI-Components/sui-components/commit/248579a5a5ffe4786b7408a7e51f0a5a5ab5bd91)) | ||
@@ -456,4 +493,4 @@ | ||
* change of parameters distribution in event handlers ([622e36d](https://github.com/SUI-Components/sui-components/commit/622e36d80c43e19024b40a515d082df768656d6c)) | ||
* read only prop ([ec6cfdd](https://github.com/SUI-Components/sui-components/commit/ec6cfdd5769fac6fd55893b37d54e6890b9752ee)) | ||
* **atom/input:** change of parameters distribution in event handlers ([622e36d](https://github.com/SUI-Components/sui-components/commit/622e36d80c43e19024b40a515d082df768656d6c)) | ||
* **atom/input:** read only prop ([ec6cfdd](https://github.com/SUI-Components/sui-components/commit/ec6cfdd5769fac6fd55893b37d54e6890b9752ee)) | ||
@@ -463,3 +500,3 @@ | ||
* change of parameters distribution in event handlers (onChange and so) | ||
* **atom/input:** change of parameters distribution in event handlers (onChange and so) | ||
@@ -473,4 +510,4 @@ | ||
* linter sass ([3b5c5f1](https://github.com/SUI-Components/sui-components/commit/3b5c5f1e81edf7f8855eda7c61fcb83364c1dd7e)) | ||
* noBorder through prop ([58fa24f](https://github.com/SUI-Components/sui-components/commit/58fa24fc3d895000270f2a0e0d9699aeb2073012)) | ||
* **atom/input:** linter sass ([3b5c5f1](https://github.com/SUI-Components/sui-components/commit/3b5c5f1e81edf7f8855eda7c61fcb83364c1dd7e)) | ||
* **atom/input:** noBorder through prop ([58fa24f](https://github.com/SUI-Components/sui-components/commit/58fa24fc3d895000270f2a0e0d9699aeb2073012)) | ||
@@ -484,3 +521,3 @@ | ||
* fix typo ([f0eaec9](https://github.com/SUI-Components/sui-components/commit/f0eaec93ad150e3047cdb2b40d6988fc906bff20)) | ||
* **atom/input:** fix typo ([f0eaec9](https://github.com/SUI-Components/sui-components/commit/f0eaec93ad150e3047cdb2b40d6988fc906bff20)) | ||
@@ -490,6 +527,6 @@ | ||
* component prepared for MoleculeInputTags ([2719b1a](https://github.com/SUI-Components/sui-components/commit/2719b1a82a8b8e7badcc68b4644630496c385677)) | ||
* custom key onEnter ([ef57dc5](https://github.com/SUI-Components/sui-components/commit/ef57dc5a384c299d3eb23af6146f44bd3bd8ac31)) | ||
* placeholders instead of mixins ([95300ca](https://github.com/SUI-Components/sui-components/commit/95300ca10b3e7bf599e3b8e8bf87844ea884adb3)) | ||
* use of sui-theme variables ([45a7628](https://github.com/SUI-Components/sui-components/commit/45a7628566fc8df8feec076b889c6ce29ec49382)) | ||
* **atom/input:** component prepared for MoleculeInputTags ([2719b1a](https://github.com/SUI-Components/sui-components/commit/2719b1a82a8b8e7badcc68b4644630496c385677)) | ||
* **atom/input:** custom key onEnter ([ef57dc5](https://github.com/SUI-Components/sui-components/commit/ef57dc5a384c299d3eb23af6146f44bd3bd8ac31)) | ||
* **atom/input:** placeholders instead of mixins ([95300ca](https://github.com/SUI-Components/sui-components/commit/95300ca10b3e7bf599e3b8e8bf87844ea884adb3)) | ||
* **atom/input:** use of sui-theme variables ([45a7628](https://github.com/SUI-Components/sui-components/commit/45a7628566fc8df8feec076b889c6ce29ec49382)) | ||
@@ -507,7 +544,7 @@ | ||
* cursor pointer only when hanlder ([2700c5d](https://github.com/SUI-Components/sui-components/commit/2700c5d56adf3ac67a675fa43310598f723cd3cc)) | ||
* iconRight & clickHander & hoc features reorganization ([5c89813](https://github.com/SUI-Components/sui-components/commit/5c89813d83bf42c6b2a86e2695cc013caba78118)) | ||
* improved documentation ([fbe91ab](https://github.com/SUI-Components/sui-components/commit/fbe91ab4f3f0b557d6ba601e89f7d2a5fcecd2f5)) | ||
* left & right icon managed by HOC ([45dac5d](https://github.com/SUI-Components/sui-components/commit/45dac5d304c12a823c1ed58892f2da64d80bade1)) | ||
* merge master & solved conflicts ([a90cb72](https://github.com/SUI-Components/sui-components/commit/a90cb7282feffdc7a46a81128ffe397eec56eab5)) | ||
* **atom/input:** cursor pointer only when hanlder ([2700c5d](https://github.com/SUI-Components/sui-components/commit/2700c5d56adf3ac67a675fa43310598f723cd3cc)) | ||
* **atom/input:** iconRight & clickHander & hoc features reorganization ([5c89813](https://github.com/SUI-Components/sui-components/commit/5c89813d83bf42c6b2a86e2695cc013caba78118)) | ||
* **atom/input:** improved documentation ([fbe91ab](https://github.com/SUI-Components/sui-components/commit/fbe91ab4f3f0b557d6ba601e89f7d2a5fcecd2f5)) | ||
* **atom/input:** left & right icon managed by HOC ([45dac5d](https://github.com/SUI-Components/sui-components/commit/45dac5d304c12a823c1ed58892f2da64d80bade1)) | ||
* **atom/input:** merge master & solved conflicts ([a90cb72](https://github.com/SUI-Components/sui-components/commit/a90cb7282feffdc7a46a81128ffe397eec56eab5)) | ||
@@ -521,4 +558,4 @@ | ||
* remove scss import from js file ([254d79d](https://github.com/SUI-Components/sui-components/commit/254d79d64a037dd58a9dbf71ab3d93cdfc0f0a54)) | ||
* remove scss import indeed ([36c4ecb](https://github.com/SUI-Components/sui-components/commit/36c4ecb06d9d8a892c18412edc9fb86387242678)) | ||
* **atom/input:** remove scss import from js file ([254d79d](https://github.com/SUI-Components/sui-components/commit/254d79d64a037dd58a9dbf71ab3d93cdfc0f0a54)) | ||
* **atom/input:** remove scss import indeed ([36c4ecb](https://github.com/SUI-Components/sui-components/commit/36c4ecb06d9d8a892c18412edc9fb86387242678)) | ||
@@ -536,3 +573,3 @@ | ||
* fixed issue on adddon on IE11 ([d65d26c](https://github.com/SUI-Components/sui-components/commit/d65d26c302b5347e389fc12185644be98b88be0d)) | ||
* **atom/input:** fixed issue on adddon on IE11 ([d65d26c](https://github.com/SUI-Components/sui-components/commit/d65d26c302b5347e389fc12185644be98b88be0d)) | ||
@@ -546,4 +583,4 @@ | ||
* leftInput not as Addon ([880140c](https://github.com/SUI-Components/sui-components/commit/880140c5cc599da0c70d33cedc73413d0595cc50)) | ||
* small sass redefinition ([f1192ef](https://github.com/SUI-Components/sui-components/commit/f1192ef9a97e3b67dad7baeac5d31b2a08c11c61)) | ||
* **atom/input:** leftInput not as Addon ([880140c](https://github.com/SUI-Components/sui-components/commit/880140c5cc599da0c70d33cedc73413d0595cc50)) | ||
* **atom/input:** small sass redefinition ([f1192ef](https://github.com/SUI-Components/sui-components/commit/f1192ef9a97e3b67dad7baeac5d31b2a08c11c61)) | ||
@@ -553,11 +590,11 @@ | ||
* added brief explanation to README ([ab568d5](https://github.com/SUI-Components/sui-components/commit/ab568d51871118cd3238a8b9bfb8b7a4103c9b73)) | ||
* better examples ([a9d0844](https://github.com/SUI-Components/sui-components/commit/a9d084455c9ea4015fc2d6f0edd063d38eabd7e7)) | ||
* charsSize ([8ea729c](https://github.com/SUI-Components/sui-components/commit/8ea729c01da243fd94d7b819a2afd9df21ad77ae)) | ||
* demo fix ([33496e6](https://github.com/SUI-Components/sui-components/commit/33496e6d64c022df1a740652db37550f0862427e)) | ||
* icon Left ([df6bedc](https://github.com/SUI-Components/sui-components/commit/df6bedc4f74b8d4ea837fba607840a5c93f6ae49)) | ||
* merged latest changes ([a2f4b7d](https://github.com/SUI-Components/sui-components/commit/a2f4b7d1bf4306a683369454ec9bfca52ed5af47)) | ||
* modifications after code review comments ([fff3cb0](https://github.com/SUI-Components/sui-components/commit/fff3cb09d7150c5d1c9dd8fac17a9fc076c787b5)) | ||
* removed unnecesary dependency ([2f68b77](https://github.com/SUI-Components/sui-components/commit/2f68b77f9cbd0468d2532bec33d9c933461c7863)) | ||
* sizeChars ([4144365](https://github.com/SUI-Components/sui-components/commit/41443650550046732e7cf97a2e1ea87d71b997f1)) | ||
* **atom/input:** added brief explanation to README ([ab568d5](https://github.com/SUI-Components/sui-components/commit/ab568d51871118cd3238a8b9bfb8b7a4103c9b73)) | ||
* **atom/input:** better examples ([a9d0844](https://github.com/SUI-Components/sui-components/commit/a9d084455c9ea4015fc2d6f0edd063d38eabd7e7)) | ||
* **atom/input:** charsSize ([8ea729c](https://github.com/SUI-Components/sui-components/commit/8ea729c01da243fd94d7b819a2afd9df21ad77ae)) | ||
* **atom/input:** demo fix ([33496e6](https://github.com/SUI-Components/sui-components/commit/33496e6d64c022df1a740652db37550f0862427e)) | ||
* **atom/input:** icon Left ([df6bedc](https://github.com/SUI-Components/sui-components/commit/df6bedc4f74b8d4ea837fba607840a5c93f6ae49)) | ||
* **atom/input:** merged latest changes ([a2f4b7d](https://github.com/SUI-Components/sui-components/commit/a2f4b7d1bf4306a683369454ec9bfca52ed5af47)) | ||
* **atom/input:** modifications after code review comments ([fff3cb0](https://github.com/SUI-Components/sui-components/commit/fff3cb09d7150c5d1c9dd8fac17a9fc076c787b5)) | ||
* **atom/input:** removed unnecesary dependency ([2f68b77](https://github.com/SUI-Components/sui-components/commit/2f68b77f9cbd0468d2532bec33d9c933461c7863)) | ||
* **atom/input:** sizeChars ([4144365](https://github.com/SUI-Components/sui-components/commit/41443650550046732e7cf97a2e1ea87d71b997f1)) | ||
@@ -571,3 +608,3 @@ | ||
* fixed FormInput loose focus onChange ([3624cd9](https://github.com/SUI-Components/sui-components/commit/3624cd9c7de712c83744f7784db9b730d2a1e8c2)) | ||
* **atom/input:** fixed FormInput loose focus onChange ([3624cd9](https://github.com/SUI-Components/sui-components/commit/3624cd9c7de712c83744f7784db9b730d2a1e8c2)) | ||
@@ -581,11 +618,11 @@ | ||
* atomInput implementation ([ab16328](https://github.com/SUI-Components/sui-components/commit/ab16328ff4383f275014c8fa6caae93676e31691)) | ||
* changes after code review feedback ([e307b6a](https://github.com/SUI-Components/sui-components/commit/e307b6aa067de9653fa0ecf36d058d91d29684ed)) | ||
* major versions of dependencies ([9d91177](https://github.com/SUI-Components/sui-components/commit/9d911773a58b20d86cc96d377f595152aaa939ba)) | ||
* new component ([c6086f5](https://github.com/SUI-Components/sui-components/commit/c6086f529fe4aca89b13f222037a5cf5239c681e)) | ||
* propTypes ([32f7203](https://github.com/SUI-Components/sui-components/commit/32f7203429bd4ec723125895ba4baa286680f27c)) | ||
* rename from FormInput to AtomInput ([6d1efec](https://github.com/SUI-Components/sui-components/commit/6d1efece1c2e7000c9c3bb1ff59d5baf7106f4e5)) | ||
* renaming from AtomInput to MoleculeInputField ([60d43aa](https://github.com/SUI-Components/sui-components/commit/60d43aa3dfa1dcd7bcdaa9847d696347f88ef88c)) | ||
* **atom/input:** atomInput implementation ([ab16328](https://github.com/SUI-Components/sui-components/commit/ab16328ff4383f275014c8fa6caae93676e31691)) | ||
* **atom/input:** changes after code review feedback ([e307b6a](https://github.com/SUI-Components/sui-components/commit/e307b6aa067de9653fa0ecf36d058d91d29684ed)) | ||
* **atom/input:** major versions of dependencies ([9d91177](https://github.com/SUI-Components/sui-components/commit/9d911773a58b20d86cc96d377f595152aaa939ba)) | ||
* **atom/input:** new component ([c6086f5](https://github.com/SUI-Components/sui-components/commit/c6086f529fe4aca89b13f222037a5cf5239c681e)) | ||
* **atom/input:** propTypes ([32f7203](https://github.com/SUI-Components/sui-components/commit/32f7203429bd4ec723125895ba4baa286680f27c)) | ||
* **atom/input:** rename from FormInput to AtomInput ([6d1efec](https://github.com/SUI-Components/sui-components/commit/6d1efece1c2e7000c9c3bb1ff59d5baf7106f4e5)) | ||
* **molecule/inputField:** renaming from AtomInput to MoleculeInputField ([60d43aa](https://github.com/SUI-Components/sui-components/commit/60d43aa3dfa1dcd7bcdaa9847d696347f88ef88c)) | ||
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
var _excluded = ["type"]; | ||
import PropTypes from 'prop-types'; | ||
import Input, { inputSizes, inputStates } from './Input'; | ||
import Password from './Password'; | ||
import Mask from './Mask'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
var TYPES = { | ||
@@ -20,3 +22,3 @@ DATE: 'date', | ||
var type = _ref.type, | ||
props = _objectWithoutPropertiesLoose(_ref, ["type"]); | ||
props = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
@@ -23,0 +25,0 @@ switch (type) { |
@@ -0,3 +1,4 @@ | ||
import PropTypes from 'prop-types'; | ||
import cx from 'classnames'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import cx from 'classnames'; | ||
var BASE_CLASS = 'sui-AtomInput-input'; | ||
@@ -4,0 +5,0 @@ var SIZES = { |
@@ -1,6 +0,6 @@ | ||
import AddonHoc from './Features/Addon'; | ||
import IconHoc from './Features/Icon'; | ||
import WithButtonHoc from './Features/WithButton'; | ||
import Component, { inputStates, inputSizes } from './Component'; | ||
export default WithButtonHoc(AddonHoc(IconHoc(Component))); | ||
import withAddons from './HOC/withAddons'; | ||
import withIcons from './HOC/withIcons'; | ||
import withButton from './HOC/withButton'; | ||
import Input, { inputStates, inputSizes } from './Component'; | ||
export default withButton(withAddons(withIcons(Input))); | ||
export { inputSizes, inputStates }; |
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
var _excluded = ["name", "onChange", "mask"]; | ||
import { useState, useEffect, useRef } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import Input from '../Input'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -11,3 +13,3 @@ var MaskInput = function MaskInput(_ref) { | ||
maskOptions = _ref.mask, | ||
props = _objectWithoutPropertiesLoose(_ref, ["name", "onChange", "mask"]); | ||
props = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
@@ -14,0 +16,0 @@ var _useState = useState(null), |
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
var _excluded = ["onChange", "pwShowLabel", "pwHideLabel"]; | ||
import { useState } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import Input from '../Input'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import { jsxs as _jsxs } from "react/jsx-runtime"; | ||
import { useState } from 'react'; | ||
import Input from '../Input'; | ||
var BASE_CLASS = 'sui-AtomInput'; | ||
@@ -19,3 +21,3 @@ var CLASS_PASSWORD = BASE_CLASS + "-password"; | ||
pwHideLabel = _ref.pwHideLabel, | ||
props = _objectWithoutPropertiesLoose(_ref, ["onChange", "pwShowLabel", "pwHideLabel"]); | ||
props = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
@@ -22,0 +24,0 @@ var _useState = useState(PASSWORD), |
{ | ||
"name": "@s-ui/react-atom-input", | ||
"version": "5.3.0", | ||
"version": "5.4.0", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"prepare": "npx rimraf ./lib && npx mkdirp ./lib && npm run build:js && npm run build:styles", | ||
"build:js": "../../../node_modules/.bin/babel --presets sui ./src --out-dir ./lib", | ||
"build:styles": "../../../node_modules/.bin/cpx './src/**/*.scss' ./lib" | ||
"prepare": "npm run build:js && npm run build:styles", | ||
"build:js": "babel --presets sui ./src --out-dir ./lib", | ||
"build:styles": "cpx './src/**/*.scss' ./lib" | ||
}, | ||
@@ -11,0 +11,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
51170
387