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.modern.js
CHANGED
|
@@ -7164,7 +7164,7 @@ var OptionComponent = function OptionComponent(_ref9) {
|
|
|
7164
7164
|
searchQuery = _useState[0],
|
|
7165
7165
|
setSearchQuery = _useState[1];
|
|
7166
7166
|
var handleSearchChange = function handleSearchChange(e) {
|
|
7167
|
-
setSearchQuery(e.target.value);
|
|
7167
|
+
setSearchQuery(e.target.value.trimStart());
|
|
7168
7168
|
};
|
|
7169
7169
|
var handleOptionToggle = function handleOptionToggle(currentOption) {
|
|
7170
7170
|
var newOption = selectedOptions.includes(currentOption) ? selectedOptions.filter(function (item) {
|
|
@@ -8998,7 +8998,7 @@ var Pagination = function Pagination(_ref4) {
|
|
|
8998
8998
|
};
|
|
8999
8999
|
var handleInputChange = function handleInputChange(e) {
|
|
9000
9000
|
var value = e.target.value;
|
|
9001
|
-
if (/^(
|
|
9001
|
+
if (/^(0|[1-9][0-9]*)?$/.test(value)) {
|
|
9002
9002
|
setInputPage(value);
|
|
9003
9003
|
}
|
|
9004
9004
|
};
|