@innovaccer/design-system 2.41.3 → 2.42.0

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,44 @@
1
+ ## 2.42.0 (2024-09-03)
2
+
3
+ ### Highlights
4
+
5
+ - feat(code-connect): add figma code connect for molecules component (7d351423)
6
+ - feat(menu): add onToggle callback prop (1085fe69)
7
+ - feat(emptyState): add mds-images import statement in stories (0c2a5af6)
8
+
9
+ ### Breaking changes
10
+
11
+ NA
12
+
13
+ ### Migration guide
14
+
15
+ NA
16
+
17
+ ### Deprecations
18
+
19
+ NA
20
+
21
+ ### Features
22
+
23
+ - feat(code-connect): add figma code connect for molecules component (7d351423)
24
+ - feat(menu): add onToggle callback prop (1085fe69)
25
+ - feat(emptyState): add mds-images import statement in stories (0c2a5af6)
26
+
27
+ ### Fixes
28
+
29
+ - fix(listbox): add card with no shadow in listbox stories (973673a2)
30
+ - fix(dropdown): add key to the dropdown list item (8c08fe60)
31
+
32
+ ### Improvements
33
+
34
+ NA
35
+
36
+ ### Documentation
37
+
38
+ NA
39
+
40
+ ---
41
+
1
42
  ## 2.41.3 (2024-08-23)
2
43
 
3
44
  ### Highlights
@@ -632,7 +632,7 @@
632
632
  "affectsGlobalScope": false
633
633
  },
634
634
  "../../core/components/atoms/dropdown/DropdownList.tsx": {
635
- "version": "7b62ed9c0f38d6f699f326eaead810a78a1600106d6152475de929544044efe5",
635
+ "version": "45a11d09583e1c3ac46cb538a417b0161b6808f1d4ffd505b0a01e5a9a6abd59",
636
636
  "signature": "24048f2aada8f273d401139d7417f7c942b6693b13c8e87284e831f9401d8d5e",
637
637
  "affectsGlobalScope": false
638
638
  },
@@ -1512,7 +1512,7 @@
1512
1512
  "affectsGlobalScope": false
1513
1513
  },
1514
1514
  "../../core/components/atoms/popperWrapper/PopperWrapper.tsx": {
1515
- "version": "829effd5a1b3bf16fc4789848613a0810a824ae810e693ec1f67605cc9975462",
1515
+ "version": "f747f563f4271f9aa3fedde62738edac310be2315f8b5cc94b903778fdf5dd6d",
1516
1516
  "signature": "628ff675983c4d23491d6fa4977965d580e92701e42cbb5ec7423a065880c6eb",
1517
1517
  "affectsGlobalScope": false
1518
1518
  },
@@ -2247,8 +2247,8 @@
2247
2247
  "affectsGlobalScope": false
2248
2248
  },
2249
2249
  "../../core/components/organisms/menu/Menu.tsx": {
2250
- "version": "fe6754049233b20dc8fc1a6e57b57365c623d189eba976498dd781fde13deb17",
2251
- "signature": "036b135b292e1b42dd46e305fabf875f1982d4f3232844eb916629bc173f480f",
2250
+ "version": "2407e0b8ea6d7b88c7528a37029b41e81f0dfcc992df86c4b0939097010cef6b",
2251
+ "signature": "512ced73e316647decf78c246fb4b0eec8e29bfba8f2896dd3a1aa6850873efa",
2252
2252
  "affectsGlobalScope": false
2253
2253
  },
2254
2254
  "../../core/components/organisms/menu/index.tsx": {
@@ -3706,6 +3706,11 @@
3706
3706
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3707
3707
  "affectsGlobalScope": false
3708
3708
  },
3709
+ "../../figma/FullScreenModal.figma.tsx": {
3710
+ "version": "507594b99bdd9a382d9fe6532810f11f001b5799137ad58049dcc727fbb76888",
3711
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3712
+ "affectsGlobalScope": false
3713
+ },
3709
3714
  "../../figma/HelpText.figma.tsx": {
3710
3715
  "version": "67f1d73d8aad8b44a731c33fb8e5619aac0728775c01dc7e4c6bf63697d858f7",
3711
3716
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -3721,6 +3726,11 @@
3721
3726
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3722
3727
  "affectsGlobalScope": false
3723
3728
  },
3729
+ "../../figma/KeyValuePair.figma.tsx": {
3730
+ "version": "ae5ec6c36fcc7162ede0fb31913afea4bb53a4ae9d167b22ec01ca97fac1fa1b",
3731
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3732
+ "affectsGlobalScope": false
3733
+ },
3724
3734
  "../../figma/Label.figma.tsx": {
3725
3735
  "version": "f5bc7ac197d4bb27d6d1b952baf17635eda7d7a589f00af215a55a7292438192",
3726
3736
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -3751,6 +3761,16 @@
3751
3761
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3752
3762
  "affectsGlobalScope": false
3753
3763
  },
3764
+ "../../figma/Modal.figma.tsx": {
3765
+ "version": "b38a97c6c3de7a2d8e556538914da73c7e7c241549262e72edbe577c028a0d76",
3766
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3767
+ "affectsGlobalScope": false
3768
+ },
3769
+ "../../figma/Pagination.figma.tsx": {
3770
+ "version": "16a858077b576b46f58042d24421682b881d25b36a8bc9b499eea1fb29a6b3fe",
3771
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3772
+ "affectsGlobalScope": false
3773
+ },
3754
3774
  "../../figma/Pill.figma.tsx": {
3755
3775
  "version": "fe18fc61821a488cddb4939dc31fd29aa2d1eaa1ae666edfbdd83fc150f0b85e",
3756
3776
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -3761,6 +3781,11 @@
3761
3781
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3762
3782
  "affectsGlobalScope": false
3763
3783
  },
3784
+ "../../figma/Popover.figma.tsx": {
3785
+ "version": "ccf54974cbe525596abdfdf24b91bde03f92f8ffe4fb34b61f17db17f757cd37",
3786
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3787
+ "affectsGlobalScope": false
3788
+ },
3764
3789
  "../../figma/ProgressBar.figma.tsx": {
3765
3790
  "version": "55128e3686e69b715613f15ffe477b6acf400c9976bb3258c7bd1ad2253c32ec",
3766
3791
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -3796,6 +3821,11 @@
3796
3821
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3797
3822
  "affectsGlobalScope": false
3798
3823
  },
3824
+ "../../figma/Sidesheet.figma.tsx": {
3825
+ "version": "691177e205e9e49ba937696ce1c9dabc25c4f0b7d051656096ef9281870e218d",
3826
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3827
+ "affectsGlobalScope": false
3828
+ },
3799
3829
  "../../figma/Slider.figma.tsx": {
3800
3830
  "version": "ada53b2d29d048d2993c833f2255fffe0e7e5146a51607d756426a011a0347ed",
3801
3831
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -3811,6 +3841,11 @@
3811
3841
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3812
3842
  "affectsGlobalScope": false
3813
3843
  },
3844
+ "../../figma/Stepper.figma.tsx": {
3845
+ "version": "60d66037961fe336c4c2142bbf6642079c2b27558a7dd1ba8b1d8ee903ba1bf7",
3846
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3847
+ "affectsGlobalScope": false
3848
+ },
3814
3849
  "../../figma/Switch.figma.tsx": {
3815
3850
  "version": "bdee4925ccdb448e5171302020529261b71e3842e83d66bd7868d671506004b0",
3816
3851
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -3821,6 +3856,16 @@
3821
3856
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3822
3857
  "affectsGlobalScope": false
3823
3858
  },
3859
+ "../../figma/Tooltip.figma.tsx": {
3860
+ "version": "315e541866e386c4a74251874d86247623b34c1b3bb876efbbcae5d6e5d972c5",
3861
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3862
+ "affectsGlobalScope": false
3863
+ },
3864
+ "../../figma/VerificationCodeInput.figma.tsx": {
3865
+ "version": "6e606c4fcb54d9b3471032048dc70a5c3d09453bcd07875836436fe5ebccce52",
3866
+ "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
3867
+ "affectsGlobalScope": false
3868
+ },
3824
3869
  "../../scripts/setupGlobalJest.ts": {
3825
3870
  "version": "17d2c7fe927dfa26df55138dd0d6603c613c8fee3ce5392666799cc7be97f939",
3826
3871
  "signature": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
@@ -5148,6 +5193,33 @@
5148
5193
  "*",
5149
5194
  "*",
5150
5195
  "*",
5196
+ "*",
5197
+ "*",
5198
+ "*",
5199
+ "*",
5200
+ "*",
5201
+ "*",
5202
+ "*",
5203
+ "*",
5204
+ "*",
5205
+ "*",
5206
+ "*",
5207
+ "*",
5208
+ "*",
5209
+ "*",
5210
+ "*",
5211
+ "*",
5212
+ "*",
5213
+ "*",
5214
+ "*",
5215
+ "*",
5216
+ "*",
5217
+ "*",
5218
+ "*",
5219
+ "*",
5220
+ "*",
5221
+ "*",
5222
+ "*",
5151
5223
  "*"
5152
5224
  ]
5153
5225
  },
@@ -7915,6 +7987,12 @@
7915
7987
  "../../node_modules/@types/node/util.d.ts",
7916
7988
  "../../node_modules/@types/react/index.d.ts"
7917
7989
  ],
7990
+ "../../figma/FullScreenModal.figma.tsx": [
7991
+ "../../core/index.tsx",
7992
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
7993
+ "../../node_modules/@types/node/util.d.ts",
7994
+ "../../node_modules/@types/react/index.d.ts"
7995
+ ],
7918
7996
  "../../figma/HelpText.figma.tsx": [
7919
7997
  "../../core/index.tsx",
7920
7998
  "../../node_modules/@figma/code-connect/dist/index.d.ts",
@@ -7933,6 +8011,12 @@
7933
8011
  "../../node_modules/@types/node/util.d.ts",
7934
8012
  "../../node_modules/@types/react/index.d.ts"
7935
8013
  ],
8014
+ "../../figma/KeyValuePair.figma.tsx": [
8015
+ "../../core/index.tsx",
8016
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
8017
+ "../../node_modules/@types/node/util.d.ts",
8018
+ "../../node_modules/@types/react/index.d.ts"
8019
+ ],
7936
8020
  "../../figma/Label.figma.tsx": [
7937
8021
  "../../core/index.tsx",
7938
8022
  "../../node_modules/@figma/code-connect/dist/index.d.ts",
@@ -7969,6 +8053,18 @@
7969
8053
  "../../node_modules/@types/node/util.d.ts",
7970
8054
  "../../node_modules/@types/react/index.d.ts"
7971
8055
  ],
8056
+ "../../figma/Modal.figma.tsx": [
8057
+ "../../core/index.tsx",
8058
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
8059
+ "../../node_modules/@types/node/util.d.ts",
8060
+ "../../node_modules/@types/react/index.d.ts"
8061
+ ],
8062
+ "../../figma/Pagination.figma.tsx": [
8063
+ "../../core/index.tsx",
8064
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
8065
+ "../../node_modules/@types/node/util.d.ts",
8066
+ "../../node_modules/@types/react/index.d.ts"
8067
+ ],
7972
8068
  "../../figma/Pill.figma.tsx": [
7973
8069
  "../../core/index.tsx",
7974
8070
  "../../node_modules/@figma/code-connect/dist/index.d.ts",
@@ -7981,6 +8077,12 @@
7981
8077
  "../../node_modules/@types/node/util.d.ts",
7982
8078
  "../../node_modules/@types/react/index.d.ts"
7983
8079
  ],
8080
+ "../../figma/Popover.figma.tsx": [
8081
+ "../../core/index.tsx",
8082
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
8083
+ "../../node_modules/@types/node/util.d.ts",
8084
+ "../../node_modules/@types/react/index.d.ts"
8085
+ ],
7984
8086
  "../../figma/ProgressBar.figma.tsx": [
7985
8087
  "../../core/index.tsx",
7986
8088
  "../../node_modules/@figma/code-connect/dist/index.d.ts",
@@ -8023,6 +8125,12 @@
8023
8125
  "../../node_modules/@types/node/util.d.ts",
8024
8126
  "../../node_modules/@types/react/index.d.ts"
8025
8127
  ],
8128
+ "../../figma/Sidesheet.figma.tsx": [
8129
+ "../../core/index.tsx",
8130
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
8131
+ "../../node_modules/@types/node/util.d.ts",
8132
+ "../../node_modules/@types/react/index.d.ts"
8133
+ ],
8026
8134
  "../../figma/Slider.figma.tsx": [
8027
8135
  "../../core/index.tsx",
8028
8136
  "../../node_modules/@figma/code-connect/dist/index.d.ts",
@@ -8041,6 +8149,12 @@
8041
8149
  "../../node_modules/@types/node/util.d.ts",
8042
8150
  "../../node_modules/@types/react/index.d.ts"
8043
8151
  ],
8152
+ "../../figma/Stepper.figma.tsx": [
8153
+ "../../core/index.tsx",
8154
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
8155
+ "../../node_modules/@types/node/util.d.ts",
8156
+ "../../node_modules/@types/react/index.d.ts"
8157
+ ],
8044
8158
  "../../figma/Switch.figma.tsx": [
8045
8159
  "../../core/index.tsx",
8046
8160
  "../../node_modules/@figma/code-connect/dist/index.d.ts",
@@ -8053,6 +8167,18 @@
8053
8167
  "../../node_modules/@types/node/util.d.ts",
8054
8168
  "../../node_modules/@types/react/index.d.ts"
8055
8169
  ],
8170
+ "../../figma/Tooltip.figma.tsx": [
8171
+ "../../core/index.tsx",
8172
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
8173
+ "../../node_modules/@types/node/util.d.ts",
8174
+ "../../node_modules/@types/react/index.d.ts"
8175
+ ],
8176
+ "../../figma/VerificationCodeInput.figma.tsx": [
8177
+ "../../core/index.tsx",
8178
+ "../../node_modules/@figma/code-connect/dist/index.d.ts",
8179
+ "../../node_modules/@types/node/util.d.ts",
8180
+ "../../node_modules/@types/react/index.d.ts"
8181
+ ],
8056
8182
  "../../node_modules/@emotion/cache/types/index.d.ts": [
8057
8183
  "../../node_modules/@emotion/stylis/types/index.d.ts",
8058
8184
  "../../node_modules/@emotion/utils/types/index.d.ts",
@@ -11963,17 +12089,22 @@
11963
12089
  "../../figma/Checkbox.figma.tsx",
11964
12090
  "../../figma/Chip.figma.tsx",
11965
12091
  "../../figma/Divider.figma.tsx",
12092
+ "../../figma/FullScreenModal.figma.tsx",
11966
12093
  "../../figma/HelpText.figma.tsx",
11967
12094
  "../../figma/Icon.figma.tsx",
11968
12095
  "../../figma/Input.figma.tsx",
12096
+ "../../figma/KeyValuePair.figma.tsx",
11969
12097
  "../../figma/Label.figma.tsx",
11970
12098
  "../../figma/Link.figma.tsx",
11971
12099
  "../../figma/LinkButton.figma.tsx",
11972
12100
  "../../figma/Message.figma.tsx",
11973
12101
  "../../figma/MetaList.figma.tsx",
11974
12102
  "../../figma/MetricInput.figma.tsx",
12103
+ "../../figma/Modal.figma.tsx",
12104
+ "../../figma/Pagination.figma.tsx",
11975
12105
  "../../figma/Pill.figma.tsx",
11976
12106
  "../../figma/PlaceholderImage.figma.tsx",
12107
+ "../../figma/Popover.figma.tsx",
11977
12108
  "../../figma/ProgressBar.figma.tsx",
11978
12109
  "../../figma/ProgressRing.figma.tsx",
11979
12110
  "../../figma/Radio.figma.tsx",
@@ -11981,11 +12112,15 @@
11981
12112
  "../../figma/Sara.figma.tsx",
11982
12113
  "../../figma/SaraSparkle.figma.tsx",
11983
12114
  "../../figma/SelectionCard.figma.tsx",
12115
+ "../../figma/Sidesheet.figma.tsx",
11984
12116
  "../../figma/Slider.figma.tsx",
11985
12117
  "../../figma/Spinner.figma.tsx",
11986
12118
  "../../figma/StatusHint.figma.tsx",
12119
+ "../../figma/Stepper.figma.tsx",
11987
12120
  "../../figma/Switch.figma.tsx",
11988
12121
  "../../figma/Toast.figma.tsx",
12122
+ "../../figma/Tooltip.figma.tsx",
12123
+ "../../figma/VerificationCodeInput.figma.tsx",
11989
12124
  "../../node_modules/@emotion/cache/types/index.d.ts",
11990
12125
  "../../node_modules/@emotion/core/types/index.d.ts",
11991
12126
  "../../node_modules/@emotion/css/types/index.d.ts",
@@ -13,6 +13,7 @@ export interface MenuProps extends BaseProps {
13
13
  x: number;
14
14
  y: number;
15
15
  };
16
+ onToggle?: (open?: boolean) => void;
16
17
  }
17
18
  export declare const Menu: {
18
19
  (props: MenuProps): JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1724411421007
3
+ * Generated on: 1725355864677
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.41.3
5
+ * Version: v2.42.0
6
6
  * License: MIT
7
7
  * Docs: https://mds.innovaccer.com
8
8
  */
@@ -11,6 +11,7 @@
11
11
  import * as React from 'react';
12
12
  import React__default, { useRef, useReducer, useCallback, useEffect as useEffect$2, useMemo, useState as useState$3 } from 'react';
13
13
  import * as ReactDOM from 'react-dom';
14
+ import { flushSync } from 'react-dom';
14
15
  import { Player } from '@lottiefiles/react-lottie-player';
15
16
 
16
17
  var colorToHex = function colorToHex(color) {
@@ -5697,7 +5698,8 @@ var DropdownList = function DropdownList(props) {
5697
5698
  }) !== -1;
5698
5699
  var id = "Checkbox-option-".concat(index, "-").concat(item.value, "-").concat(new Date().getTime());
5699
5700
  return /*#__PURE__*/React.createElement("label", {
5700
- htmlFor: id
5701
+ htmlFor: id,
5702
+ key: index
5701
5703
  }, /*#__PURE__*/React.createElement(Option, {
5702
5704
  optionData: item,
5703
5705
  truncateOption: truncateOption,
@@ -14135,8 +14137,10 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) {
14135
14137
  onMouseLeave: this.handleMouseLeave,
14136
14138
  onAnimationEnd: function onAnimationEnd() {
14137
14139
  if (!open) {
14138
- _this4.setState({
14139
- isOpen: false
14140
+ flushSync(function () {
14141
+ _this4.setState({
14142
+ isOpen: false
14143
+ });
14140
14144
  });
14141
14145
  }
14142
14146
  }
@@ -26917,7 +26921,7 @@ var SubMenu = function SubMenu(props) {
26917
26921
  }, subMenuElement);
26918
26922
  };
26919
26923
 
26920
- var _excluded$9 = ["children", "width", "minHeight", "maxHeight", "className", "open"];
26924
+ var _excluded$9 = ["children", "width", "minHeight", "maxHeight", "className", "open", "onToggle"];
26921
26925
  var Menu = function Menu(props) {
26922
26926
  var children = props.children,
26923
26927
  width = props.width,
@@ -26925,6 +26929,7 @@ var Menu = function Menu(props) {
26925
26929
  maxHeight = props.maxHeight,
26926
26930
  className = props.className,
26927
26931
  open = props.open,
26932
+ onToggle = props.onToggle,
26928
26933
  rest = _objectWithoutProperties(props, _excluded$9);
26929
26934
 
26930
26935
  var _React$useState = React__default.useState(open),
@@ -26974,6 +26979,8 @@ var Menu = function Menu(props) {
26974
26979
  setHighlightFirstItem(false);
26975
26980
  setHighlightLastItem(false);
26976
26981
  }
26982
+
26983
+ onToggle === null || onToggle === void 0 ? void 0 : onToggle(openPopover);
26977
26984
  }, [openPopover]);
26978
26985
 
26979
26986
  var onToggleHandler = function onToggleHandler(open) {
@@ -31498,6 +31505,6 @@ AIResponse.Button = ChatButton;
31498
31505
  AIResponse.ActionBar = ChatActionBar;
31499
31506
  AIResponse.Body = ChatBody;
31500
31507
 
31501
- var version = "2.41.3";
31508
+ var version = "2.42.0";
31502
31509
 
31503
31510
  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, KeyValuePair, 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, 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: 1724411421270
3
+ * Generated on: 1725355864940
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.41.3
5
+ * Version: v2.42.0
6
6
  * License: MIT
7
7
  * Docs: https://mds.innovaccer.com
8
8
  */
@@ -5164,7 +5164,8 @@
5164
5164
  }) !== -1;
5165
5165
  var id = "Checkbox-option-" + index + "-" + item.value + "-" + new Date().getTime();
5166
5166
  return /*#__PURE__*/React__namespace.createElement("label", {
5167
- htmlFor: id
5167
+ htmlFor: id,
5168
+ key: index
5168
5169
  }, /*#__PURE__*/React__namespace.createElement(Option, {
5169
5170
  optionData: item,
5170
5171
  truncateOption: truncateOption,
@@ -8802,8 +8803,10 @@
8802
8803
  onMouseLeave: this.handleMouseLeave,
8803
8804
  onAnimationEnd: function onAnimationEnd() {
8804
8805
  if (!open) {
8805
- _this.setState({
8806
- isOpen: false
8806
+ ReactDOM.flushSync(function () {
8807
+ _this.setState({
8808
+ isOpen: false
8809
+ });
8807
8810
  });
8808
8811
  }
8809
8812
  }
@@ -21060,7 +21063,8 @@
21060
21063
  maxHeight = props.maxHeight,
21061
21064
  className = props.className,
21062
21065
  open = props.open,
21063
- rest = __rest(props, ["children", "width", "minHeight", "maxHeight", "className", "open"]);
21066
+ onToggle = props.onToggle,
21067
+ rest = __rest(props, ["children", "width", "minHeight", "maxHeight", "className", "open", "onToggle"]);
21064
21068
 
21065
21069
  var _b = React__default["default"].useState(open),
21066
21070
  openPopover = _b[0],
@@ -21105,6 +21109,8 @@
21105
21109
  setHighlightFirstItem(false);
21106
21110
  setHighlightLastItem(false);
21107
21111
  }
21112
+
21113
+ onToggle === null || onToggle === void 0 ? void 0 : onToggle(openPopover);
21108
21114
  }, [openPopover]);
21109
21115
 
21110
21116
  var onToggleHandler = function onToggleHandler(open) {
@@ -25635,7 +25641,7 @@
25635
25641
  AIResponse.ActionBar = ChatActionBar;
25636
25642
  AIResponse.Body = ChatBody;
25637
25643
 
25638
- var version = "2.41.3";
25644
+ var version = "2.42.0";
25639
25645
 
25640
25646
  exports.AIButton = AIButton;
25641
25647
  exports.AIChip = AIChip;