@innovaccer/design-system 2.36.0 → 2.36.1

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.36.1 (2024-06-12)
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(select): enable support for arbitrary default values in single select (bea359b7)
26
+
27
+ ### Improvements
28
+
29
+ NA
30
+
31
+ ### Documentation
32
+
33
+ NA
34
+
35
+ ---
36
+
1
37
  ## 2.36.0 (2024-06-11)
2
38
 
3
39
  ### Highlights
@@ -2192,7 +2192,7 @@
2192
2192
  "affectsGlobalScope": false
2193
2193
  },
2194
2194
  "../../core/components/organisms/select/Select.tsx": {
2195
- "version": "48326b407842e5bbc422db793281d468061881ced203ae8893abab7db69cbc92",
2195
+ "version": "2945031b7e0ada3586a9ba17e26c6da12fa7929d9fbc9ede0158ee4b9064e266",
2196
2196
  "signature": "7c4b8e05fda14918072776e80e8beeba13c0f4bd91b9072bc72f96cce85c020a",
2197
2197
  "affectsGlobalScope": false
2198
2198
  },
@@ -2582,7 +2582,7 @@
2582
2582
  "affectsGlobalScope": false
2583
2583
  },
2584
2584
  "../../core/components/organisms/select/__test__/Select.test.tsx": {
2585
- "version": "fb39a55ed7f3f9134cc9ba698c596140c82fac1420b72ab268c5a07abbcc1de6",
2585
+ "version": "122a2a448a82db7bcee1190f925b416e4fa6fcac0f381a96a995d3671388bec2",
2586
2586
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
2587
2587
  "affectsGlobalScope": false
2588
2588
  },
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1718133952666
3
+ * Generated on: 1718190836127
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.36.0
5
+ * Version: v2.36.1
6
6
  * License: MIT
7
7
  * Docs: https://mds.innovaccer.com
8
8
  */
@@ -26304,7 +26304,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (props, ref) {
26304
26304
  React.useEffect(function () {
26305
26305
  if (value) {
26306
26306
  setSelectValue(value);
26307
- setIsOptionSelected(Array.isArray(value) ? value.length > 0 : value.value.trim().length > 0);
26307
+ setIsOptionSelected(Array.isArray(value) ? value.length > 0 : value && 'value' in value);
26308
26308
  }
26309
26309
  }, [value]);
26310
26310
 
@@ -31261,6 +31261,6 @@ AIResponse.Button = ChatButton;
31261
31261
  AIResponse.ActionBar = ChatActionBar;
31262
31262
  AIResponse.Body = ChatBody;
31263
31263
 
31264
- var version = "2.36.0";
31264
+ var version = "2.36.1";
31265
31265
 
31266
31266
  export { AIButton, AIChip, AIIconButton, AIResponse, ActionCard, Avatar, AvatarGroup, AvatarSelection, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardBody, CardFooter, CardHeader, CardSubdued, ChatMessage, Checkbox, Chip, ChipGroup, ChipInput, ChoiceList, Collapsible, Column, Combobox, 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, Listbox, Menu, Message, MetaList, MetricInput, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, MultiSlider, Navigation, OutsideClick, PageHeader, Pagination, Paragraph, Pills, Placeholder, PlaceholderImage, PlaceholderParagraph, Popover$1 as Popover, ProgressBar, ProgressRing, Radio, RangeSlider, Row, Sara, SaraSparkle, Select, SelectionCard, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, TextField, 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: 1718133952922
3
+ * Generated on: 1718190836374
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.36.0
5
+ * Version: v2.36.1
6
6
  * License: MIT
7
7
  * Docs: https://mds.innovaccer.com
8
8
  */
@@ -20454,7 +20454,7 @@
20454
20454
  React__namespace.useEffect(function () {
20455
20455
  if (value) {
20456
20456
  setSelectValue(value);
20457
- setIsOptionSelected(Array.isArray(value) ? value.length > 0 : value.value.trim().length > 0);
20457
+ setIsOptionSelected(Array.isArray(value) ? value.length > 0 : value && 'value' in value);
20458
20458
  }
20459
20459
  }, [value]);
20460
20460
 
@@ -25391,7 +25391,7 @@
25391
25391
  AIResponse.ActionBar = ChatActionBar;
25392
25392
  AIResponse.Body = ChatBody;
25393
25393
 
25394
- var version = "2.36.0";
25394
+ var version = "2.36.1";
25395
25395
 
25396
25396
  exports.AIButton = AIButton;
25397
25397
  exports.AIChip = AIChip;