@innovaccer/design-system 2.15.2 → 2.15.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ ## 2.15.3 (2023-04-12)
2
+
3
+ ### Highlights
4
+
5
+ - fix(dropdown): fix option list for all selected options in fetch function (8399f2c5)
6
+
7
+ ### Breaking changes
8
+
9
+ NA
10
+
11
+ ### Migration guide
12
+
13
+ NA
14
+
15
+ ### Deprecations
16
+
17
+ NA
18
+
19
+ ### Features
20
+
21
+ NA
22
+
23
+ ### Fixes
24
+
25
+ - fix(dropdown): fix option list for all selected options in fetch function (8399f2c5)
26
+
27
+ ### Improvements
28
+
29
+ NA
30
+
31
+ ### Documentation
32
+
33
+ NA
34
+
35
+ ---
36
+
1
37
  ## 2.15.2 (2023-04-03)
2
38
 
3
39
  ### Highlights
@@ -377,7 +377,7 @@
377
377
  "affectsGlobalScope": false
378
378
  },
379
379
  "../../core/components/atoms/dropdown/utility.tsx": {
380
- "version": "db74fc4600fbe394bb56f76b2b9215285a818fd0b499a3095b91ef28c57d2884",
380
+ "version": "bb99f3a007a5bb8ab764e4039bfa557421669bf438fda2cc1178a2bc6acdca1a",
381
381
  "signature": "c49cda6f52cd0851c322cda3973e61ca2cce7da55c0410459ef61f8628139d45",
382
382
  "affectsGlobalScope": false
383
383
  },
@@ -422,7 +422,7 @@
422
422
  "affectsGlobalScope": false
423
423
  },
424
424
  "../../core/components/atoms/dropdown/DropdownList.tsx": {
425
- "version": "29d126c1419689b33cdadf44bcf193715fb8c60028669741b05f5b643340994e",
425
+ "version": "7881df42621dbb3b939111d88bea6892a9e96247d6b6d5ea0090b5b1f5e63af9",
426
426
  "signature": "234919455eaca2c78423cb83922ab96afb3ecec5a0a6ddbf933118873cc88a3f",
427
427
  "affectsGlobalScope": false
428
428
  },
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1680529579761
3
+ * Generated on: 1681288102309
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.15.2
5
+ * Version: v2.15.3
6
6
  * License: MIT
7
7
  * Docs: https://innovaccer.github.io/design-system
8
8
  */
@@ -1245,8 +1245,8 @@ var sortList = function sortList(arr) {
1245
1245
  };
1246
1246
 
1247
1247
  var _isEqual = function _isEqual(firstList, secondList) {
1248
- var firstSortedList = sortList(firstList);
1249
- var secondSortedList = sortList(secondList);
1248
+ var firstSortedList = sortList(_toConsumableArray(firstList));
1249
+ var secondSortedList = sortList(_toConsumableArray(secondList));
1250
1250
  return firstSortedList.length === secondSortedList.length && firstSortedList.every(function (option, index) {
1251
1251
  return option.value === secondSortedList[index].value;
1252
1252
  });
@@ -2405,7 +2405,7 @@ var DropdownList = function DropdownList(props) {
2405
2405
  }, renderLoading(loadersCount)));
2406
2406
  }
2407
2407
 
2408
- if (listOptions.length === 0 && !loadingOptions) {
2408
+ if (listOptions.length === 0 && !loadingOptions && selected.length <= 0) {
2409
2409
  var _props$noResultMessag = props.noResultMessage,
2410
2410
  noResultMessage = _props$noResultMessag === void 0 ? 'No result found' : _props$noResultMessag;
2411
2411
  return /*#__PURE__*/React.createElement("div", {
@@ -21562,6 +21562,6 @@ var HelpText = function HelpText(props) {
21562
21562
  };
21563
21563
  HelpText.displayName = 'HelpText';
21564
21564
 
21565
- var version = "2.15.2";
21565
+ var version = "2.15.3";
21566
21566
 
21567
21567
  export { Avatar, AvatarGroup, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardBody, CardFooter, CardHeader, CardSubdued, ChatMessage, Checkbox, Chip, ChipGroup, ChipInput, ChoiceList, Collapsible, Column, DatePicker, DateRangePicker, Dialog, Divider, Dropdown, Dropzone, EditableChipInput, EditableDropdown, EditableInput, EmptyState, FileList, FileUploader, FileUploaderList, FullscreenModal, Grid, GridCell, Heading, HelpText, HorizontalNav, Icon, InlineMessage, Input, X as InputMask, Label, Legend, Link, List, Message, MetaList, MetricInput, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, MultiSlider, Navigation, OutsideClick, PageHeader, Pagination, Paragraph, Pills, Placeholder, PlaceholderImage, PlaceholderParagraph, Popover, ProgressBar, ProgressRing, Radio, RangeSlider, Row, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, Textarea, TimePicker, Toast, Tooltip, index as Utils, VerificationCodeInput, VerticalNav, version };
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1680529580122
3
+ * Generated on: 1681288102591
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.15.2
5
+ * Version: v2.15.3
6
6
  * License: MIT
7
7
  * Docs: https://innovaccer.github.io/design-system
8
8
  */
@@ -882,8 +882,8 @@
882
882
  };
883
883
 
884
884
  var _isEqual = function _isEqual(firstList, secondList) {
885
- var firstSortedList = sortList(firstList);
886
- var secondSortedList = sortList(secondList);
885
+ var firstSortedList = sortList(__spreadArrays(firstList));
886
+ var secondSortedList = sortList(__spreadArrays(secondList));
887
887
  return firstSortedList.length === secondSortedList.length && firstSortedList.every(function (option, index) {
888
888
  return option.value === secondSortedList[index].value;
889
889
  });
@@ -1996,7 +1996,7 @@
1996
1996
  }, renderLoading(loadersCount)));
1997
1997
  }
1998
1998
 
1999
- if (listOptions.length === 0 && !loadingOptions) {
1999
+ if (listOptions.length === 0 && !loadingOptions && selected.length <= 0) {
2000
2000
  var _c = props.noResultMessage,
2001
2001
  noResultMessage = _c === void 0 ? 'No result found' : _c;
2002
2002
  return /*#__PURE__*/React__namespace.createElement("div", {
@@ -15892,7 +15892,7 @@
15892
15892
  };
15893
15893
  HelpText.displayName = 'HelpText';
15894
15894
 
15895
- var version = "2.15.2";
15895
+ var version = "2.15.3";
15896
15896
 
15897
15897
  exports.Avatar = Avatar;
15898
15898
  exports.AvatarGroup = AvatarGroup;