@jars-labs/jars-components 1.0.8 → 1.0.10

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.
@@ -160,7 +160,7 @@ var Animation = function (_a) {
160
160
  var refVector = useRef(null);
161
161
  var _b = useState(null), lottie = _b[0], setLottie = _b[1];
162
162
  useEffect(function () {
163
- import('./lottie-BT6f-yv1.js').then(function (n) { return n.l; }).then(function (Lottie) { return setLottie(Lottie.default); });
163
+ import('./lottie-CMIUDj7j.js').then(function (n) { return n.l; }).then(function (Lottie) { return setLottie(Lottie.default); });
164
164
  }, []);
165
165
  useEffect(function () {
166
166
  if (lottie && refVector.current) {
@@ -468,18 +468,20 @@ var Autocomplete = function (_a) {
468
468
  store.openDropdown();
469
469
  }
470
470
  if (event.currentTarget.value === '') {
471
+ store.resetSelectedOption();
471
472
  store.closeDropdown();
472
473
  }
473
474
  }, value: searchValue, holdSpace: false, leftSection: jsx(Search, {}), rightSection: jsx(ActionIcon, { radius: "sm", variant: "light", onClick: function () {
474
475
  onSearchChange('');
475
476
  onOptionSubmit === null || onOptionSubmit === undefined ? undefined : onOptionSubmit('');
477
+ store.resetSelectedOption();
476
478
  store.closeDropdown();
477
479
  }, style: { visibility: searchValue ? 'visible' : 'hidden' }, children: jsx(Close, {}) }), onKeyDown: function (event) {
478
480
  if (event.key === 'Enter' && options.length !== 1) {
479
481
  handleOptionSubmit(searchValue);
480
482
  store.toggleDropdown();
481
483
  }
482
- else if (event.key === 'Enter') {
484
+ else if (event.key === 'Enter' && !loading) {
483
485
  handleOptionSubmit(options[0]);
484
486
  store.toggleDropdown();
485
487
  }
@@ -1535,4 +1537,4 @@ var World = function (_a) {
1535
1537
  };
1536
1538
 
1537
1539
  export { Document as $, Accordion as A, Badge as B, Card as C, DateInput as D, EnterCodeInput as E, FileInput as F, Multiselect as G, Alert as H, IncrementNumber as I, Arrow as J, Attachment as K, Link as L, Message as M, NavBar as N, AvatarPlaceholder as O, PasswordInput as P, Bell as Q, RadioButton as R, SegmentedControl as S, Table as T, Calendar as U, Cat as V, Chevron as W, Clock as X, Close as Y, Cloud as Z, Delete as _, AccordionItem as a, Dog as a0, EyeHide as a1, EyeShow as a2, Fingerprint as a3, Google as a4, Grid as a5, HappyFace as a6, House as a7, HouseTime as a8, Identification as a9, Info as aa, Location as ab, Mail as ac, Menu as ad, MenuTouched as ae, Notification as af, Open as ag, Pets as ah, Phone as ai, Plaid as aj, Plus as ak, Remove as al, Search as am, ThreeDots as an, ThumbsDown as ao, Tick as ap, Umbrello as aq, Upload as ar, Visa as as, Warning as at, World as au, capitalizeFirstSentenceLetter as av, AccordionControl as b, AccordionPanel as c, ActionIcon as d, Animation as e, Autocomplete as f, getDefaultExportFromCjs as g, badgeVariantMap as h, Button as i, cardStatusVariantMap as j, CardStatus as k, Checkbox as l, Dropdown as m, FileUpload as n, Input as o, LinkModal as p, Loader as q, Modal as r, Pagination as s, Select as t, StatusBadge as u, Tabs as v, Text as w, Textarea as x, ToastContainer as y, Tooltip as z };
1538
- //# sourceMappingURL=index-CB6XdFf2.js.map
1540
+ //# sourceMappingURL=index-SJDXCSJk.js.map