@innovaccer/design-system 2.23.1 → 2.23.2

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,41 @@
1
+ ## 2.23.2 (2023-10-28)
2
+
3
+ ### Highlights
4
+
5
+ NA
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): update error state template for async dropdown (558f788b)
26
+
27
+ ### Improvements
28
+
29
+ NA
30
+
31
+ ### Documentation
32
+
33
+ - docs(docs): add line charts documentation (a33bf4e6)
34
+ - docs(docs): add donut chart in visualizations, change tab name (76ba6e93)
35
+ - docs(docs): add color documentation
36
+
37
+ ---
38
+
1
39
  ## 2.23.1 (2023-10-23)
2
40
 
3
41
  ### Highlights
@@ -597,7 +597,7 @@
597
597
  "affectsGlobalScope": false
598
598
  },
599
599
  "../../core/components/atoms/dropdown/Dropdown.tsx": {
600
- "version": "afd814b303ff51113e809897d567e0c7ac77c61bcd46c0f942d3414bcdc35759",
600
+ "version": "96013f9e60506385f92e55ecb6cdfa02623ea9c3606a8c1b518e566c39e73e07",
601
601
  "signature": "c171f1203f6dc27aa75553acd55d26d8a6d9ed99c4c7ab6b457e52f29fcfbc1e",
602
602
  "affectsGlobalScope": false
603
603
  },
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1698057092920
3
+ * Generated on: 1698470384568
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.23.1
5
+ * Version: v2.23.2
6
6
  * License: MIT
7
7
  * Docs: https://innovaccer.github.io/design-system
8
8
  */
@@ -5777,12 +5777,12 @@ var Dropdown = /*#__PURE__*/function (_React$Component) {
5777
5777
 
5778
5778
  var errorResult = errorType;
5779
5779
 
5780
- if (optionsLength === 0 && searchTerm === '') {
5781
- errorResult = 'DEFAULT';
5782
- } else if (searchTerm !== '') {
5783
- errorResult = 'NO_RECORDS_FOUND';
5784
- } else {
5785
- errorResult = 'FAILED_TO_FETCH';
5780
+ if (optionsLength === 0) {
5781
+ if (searchTerm === '') {
5782
+ errorResult = 'DEFAULT';
5783
+ } else {
5784
+ errorResult = 'NO_RECORDS_FOUND';
5785
+ }
5786
5786
  }
5787
5787
 
5788
5788
  _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, {
@@ -5805,7 +5805,8 @@ var Dropdown = /*#__PURE__*/function (_React$Component) {
5805
5805
  })["catch"](function () {
5806
5806
  _this.setState({
5807
5807
  errorType: fetchOptions ? 'FAILED_TO_FETCH' : errorType,
5808
- loading: false
5808
+ loading: false,
5809
+ options: []
5809
5810
  });
5810
5811
  });
5811
5812
  });
@@ -22294,6 +22295,6 @@ SelectionCard.defaultProps = {
22294
22295
  SelectionCard.useMultiSelect = useMultiSelect;
22295
22296
  SelectionCard.useSingleSelect = useSingleSelect;
22296
22297
 
22297
- var version = "2.23.1";
22298
+ var version = "2.23.2";
22298
22299
 
22299
22300
  export { ActionCard, 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, LinkButton, 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, SelectionCard, 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: 1698057093268
3
+ * Generated on: 1698470384871
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.23.1
5
+ * Version: v2.23.2
6
6
  * License: MIT
7
7
  * Docs: https://innovaccer.github.io/design-system
8
8
  */
@@ -5197,12 +5197,12 @@
5197
5197
 
5198
5198
  var errorResult = errorType;
5199
5199
 
5200
- if (optionsLength === 0 && searchTerm === '') {
5201
- errorResult = 'DEFAULT';
5202
- } else if (searchTerm !== '') {
5203
- errorResult = 'NO_RECORDS_FOUND';
5204
- } else {
5205
- errorResult = 'FAILED_TO_FETCH';
5200
+ if (optionsLength === 0) {
5201
+ if (searchTerm === '') {
5202
+ errorResult = 'DEFAULT';
5203
+ } else {
5204
+ errorResult = 'NO_RECORDS_FOUND';
5205
+ }
5206
5206
  }
5207
5207
 
5208
5208
  _this.setState(__assign(__assign({}, _this.state), {
@@ -5225,7 +5225,8 @@
5225
5225
  })["catch"](function () {
5226
5226
  _this.setState({
5227
5227
  errorType: fetchOptions ? 'FAILED_TO_FETCH' : errorType,
5228
- loading: false
5228
+ loading: false,
5229
+ options: []
5229
5230
  });
5230
5231
  });
5231
5232
  };
@@ -16578,7 +16579,7 @@
16578
16579
  SelectionCard.useMultiSelect = useMultiSelect;
16579
16580
  SelectionCard.useSingleSelect = useSingleSelect;
16580
16581
 
16581
- var version = "2.23.1";
16582
+ var version = "2.23.2";
16582
16583
 
16583
16584
  exports.ActionCard = ActionCard;
16584
16585
  exports.Avatar = Avatar;