labsense-ui-kit 1.2.68 → 1.2.70
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7168,7 +7168,7 @@ var OptionComponent = function OptionComponent(_ref9) {
|
|
|
7168
7168
|
searchQuery = _useState[0],
|
|
7169
7169
|
setSearchQuery = _useState[1];
|
|
7170
7170
|
var handleSearchChange = function handleSearchChange(e) {
|
|
7171
|
-
setSearchQuery(e.target.value);
|
|
7171
|
+
setSearchQuery(e.target.value.trimStart());
|
|
7172
7172
|
};
|
|
7173
7173
|
var handleOptionToggle = function handleOptionToggle(currentOption) {
|
|
7174
7174
|
var newOption = selectedOptions.includes(currentOption) ? selectedOptions.filter(function (item) {
|
|
@@ -9002,7 +9002,7 @@ var Pagination = function Pagination(_ref4) {
|
|
|
9002
9002
|
};
|
|
9003
9003
|
var handleInputChange = function handleInputChange(e) {
|
|
9004
9004
|
var value = e.target.value;
|
|
9005
|
-
if (/^(
|
|
9005
|
+
if (/^(0|[1-9][0-9]*)?$/.test(value)) {
|
|
9006
9006
|
setInputPage(value);
|
|
9007
9007
|
}
|
|
9008
9008
|
};
|