@innovaccer/design-system 2.18.0 → 2.20.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/css/dist/MaterialSymbolsOutlined.ttf +0 -0
  3. package/css/dist/MaterialSymbolsRounded.ttf +0 -0
  4. package/css/dist/index.css +134 -87
  5. package/css/dist/index.css.map +1 -1
  6. package/css/gulpfile.js +7 -11
  7. package/css/material-design-icons/iconfont/MaterialSymbolsOutlined.ttf +0 -0
  8. package/css/material-design-icons/iconfont/MaterialSymbolsRounded.ttf +0 -0
  9. package/css/material-design-icons/iconfont/material-icons.css +10 -88
  10. package/css/src/components/actionCard.css +40 -0
  11. package/css/src/components/calendar.css +33 -0
  12. package/css/src/components/chipInput.css +23 -0
  13. package/css/src/components/toast.css +2 -0
  14. package/css/src/utils/text.css +23 -0
  15. package/dist/.lib/tsconfig.type.tsbuildinfo +70 -24
  16. package/dist/core/common.type.d.ts +6 -0
  17. package/dist/core/components/atoms/actionCard/ActionCard.d.ts +13 -0
  18. package/dist/core/components/atoms/actionCard/index.d.ts +2 -0
  19. package/dist/core/components/atoms/button/Button.d.ts +3 -1
  20. package/dist/core/components/atoms/icon/Icon.d.ts +7 -0
  21. package/dist/core/components/atoms/icon/utils.d.ts +7 -0
  22. package/dist/core/components/atoms/input/actionButton/ActionButton.d.ts +3 -1
  23. package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +20 -20
  24. package/dist/core/components/molecules/chipInput/ChipInput.d.ts +1 -0
  25. package/dist/core/components/organisms/calendar/utility.d.ts +1 -0
  26. package/dist/core/components/organisms/timePicker/TimePickerWithInput.d.ts +1 -0
  27. package/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts +1 -0
  28. package/dist/core/index.d.ts +1 -0
  29. package/dist/core/index.type.d.ts +1 -0
  30. package/dist/index.esm.js +346 -158
  31. package/dist/index.js +274 -86
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.umd.js +1 -1
  34. package/dist/index.umd.js.br +0 -0
  35. package/dist/index.umd.js.gz +0 -0
  36. package/package.json +1 -1
  37. package/css/dist/MaterialIcons-Regular.ttf +0 -0
  38. package/css/dist/MaterialIconsOutlined-Regular.otf +0 -0
  39. package/css/dist/MaterialIconsRound-Regular.otf +0 -0
  40. package/css/dist/MaterialIconsSharp-Regular.otf +0 -0
  41. package/css/dist/MaterialIconsTwoTone-Regular.otf +0 -0
  42. package/css/material-design-icons/iconfont/MaterialIcons-Regular.ttf +0 -0
  43. package/css/material-design-icons/iconfont/MaterialIconsOutlined-Regular.otf +0 -0
  44. package/css/material-design-icons/iconfont/MaterialIconsRound-Regular.otf +0 -0
  45. package/css/material-design-icons/iconfont/MaterialIconsSharp-Regular.otf +0 -0
  46. package/css/material-design-icons/iconfont/MaterialIconsTwoTone-Regular.otf +0 -0
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1691474887138
3
+ * Generated on: 1694185325183
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.18.0
5
+ * Version: v2.20.0
6
6
  * License: MIT
7
7
  * Docs: https://innovaccer.github.io/design-system
8
8
  */
@@ -1227,7 +1227,7 @@ var Breadcrumbs = function Breadcrumbs(props) {
1227
1227
  })));
1228
1228
  };
1229
1229
 
1230
- var _excluded$B = ["size", "appearance", "iconAlign", "tabIndex", "largeIcon", "type", "children", "icon", "expanded", "selected", "loading", "disabled", "className", "tooltip"];
1230
+ var _excluded$D = ["size", "appearance", "iconAlign", "tabIndex", "largeIcon", "type", "children", "icon", "expanded", "selected", "loading", "disabled", "className", "tooltip", "iconVariations"];
1231
1231
  var sizeMapping$3 = {
1232
1232
  tiny: 12,
1233
1233
  regular: 16,
@@ -1255,7 +1255,8 @@ var ButtonElement = /*#__PURE__*/React.forwardRef(function (props, ref) {
1255
1255
  disabled = props.disabled,
1256
1256
  className = props.className;
1257
1257
  props.tooltip;
1258
- var rest = _objectWithoutProperties(props, _excluded$B);
1258
+ var iconVariations = props.iconVariations,
1259
+ rest = _objectWithoutProperties(props, _excluded$D);
1259
1260
 
1260
1261
  var buttonClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Button', true), _defineProperty$1(_classNames, 'Button--expanded', expanded), _defineProperty$1(_classNames, "Button--".concat(size), size), _defineProperty$1(_classNames, "Button--".concat(size, "Square"), !children), _defineProperty$1(_classNames, "Button--".concat(appearance), appearance), _defineProperty$1(_classNames, 'Button--selected', selected && (appearance === 'basic' || appearance === 'transparent')), _defineProperty$1(_classNames, "Button--iconAlign-".concat(iconAlign), children && iconAlign), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
1261
1262
  var iconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Button-icon', true), _defineProperty$1(_classNames2, "Button-icon--".concat(iconAlign), children && iconAlign), _classNames2));
@@ -1278,6 +1279,7 @@ var ButtonElement = /*#__PURE__*/React.forwardRef(function (props, ref) {
1278
1279
  }, /*#__PURE__*/React.createElement(Icon, {
1279
1280
  "data-test": "DesignSystem-Button--Icon",
1280
1281
  name: icon,
1282
+ variations: iconVariations,
1281
1283
  size: largeIcon && !children ? sizeMapping$3[size] + 4 : sizeMapping$3[size]
1282
1284
  })), children && /*#__PURE__*/React.createElement("span", {
1283
1285
  className: "Button-text"
@@ -1500,6 +1502,27 @@ var translateToDate = function translateToDate(format, val) {
1500
1502
  return undefined;
1501
1503
  }
1502
1504
  };
1505
+ var dateComparison = function dateComparison(date, operator, currDate, currMonth, currYear) {
1506
+ var currentDate = new Date("".concat(currYear, "-").concat(currMonth, "-").concat(currDate));
1507
+
1508
+ if (date) {
1509
+ switch (operator) {
1510
+ case 'less':
1511
+ return date <= currentDate;
1512
+
1513
+ case 'equal':
1514
+ return date.toDateString() === currentDate.toDateString();
1515
+
1516
+ case 'more':
1517
+ return date >= currentDate;
1518
+
1519
+ default:
1520
+ return false;
1521
+ }
1522
+ }
1523
+
1524
+ return false;
1525
+ };
1503
1526
 
1504
1527
  var Calendar = /*#__PURE__*/function (_React$Component) {
1505
1528
  _inherits(Calendar, _React$Component);
@@ -1655,9 +1678,8 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
1655
1678
  neighbouringMonthDate = prevMonthDayRange + date;
1656
1679
  type = 'prev';
1657
1680
  } else if (date > dayRange) {
1658
- neighbouringMonthIndex = index + 1;
1659
- neighbouringMonthDate = date - dayRange;
1660
- type = 'next';
1681
+ neighbouringMonthIndex = index;
1682
+ neighbouringMonthDate = date;
1661
1683
  } else {
1662
1684
  neighbouringMonthIndex = index;
1663
1685
  neighbouringMonthDate = date;
@@ -1918,6 +1940,10 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
1918
1940
  'Calendar-value--disabled': disabled,
1919
1941
  'Calendar-yearValue': true
1920
1942
  }, _defineProperty$1(_classNames2, "Calendar-yearValue--".concat(size), size), _defineProperty$1(_classNames2, 'Calendar-value--currDateMonthYear', isCurrentYear()), _classNames2));
1943
+ var textClass = classnames({
1944
+ 'Calendar-value--currDate': isCurrentYear() && !active,
1945
+ 'Calendar-text': true
1946
+ });
1921
1947
  var getTextColor = classnames({
1922
1948
  inverse: !active && !isCurrentYear() && !disabled,
1923
1949
  white: active,
@@ -1938,7 +1964,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
1938
1964
  }, /*#__PURE__*/React.createElement(Text, {
1939
1965
  size: size === 'small' ? 'small' : 'regular',
1940
1966
  color: getTextColor,
1941
- className: "Calendar-text"
1967
+ className: textClass
1942
1968
  }, year))
1943
1969
  );
1944
1970
  }));
@@ -1991,6 +2017,10 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
1991
2017
  primary: isCurrentMonth(),
1992
2018
  'inverse-lightest': disabled
1993
2019
  });
2020
+ var textClass = classnames({
2021
+ 'Calendar-value--currDate': isCurrentMonth() && !active,
2022
+ 'Calendar-text': true
2023
+ });
1994
2024
  return (
1995
2025
  /*#__PURE__*/
1996
2026
  //TODO(a11y)
@@ -2004,7 +2034,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
2004
2034
  }, /*#__PURE__*/React.createElement(Text, {
2005
2035
  size: size === 'small' ? 'small' : 'regular',
2006
2036
  color: getTextColor,
2007
- className: "Calendar-text"
2037
+ className: textClass
2008
2038
  }, months[month]))
2009
2039
  );
2010
2040
  }));
@@ -2082,8 +2112,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
2082
2112
  var dayRange = getDaysInMonth(yearNavVal, monthNavVal);
2083
2113
  var dayDiff = getFirstDayOfMonth(yearNavVal, monthNavVal) - getIndexOfDay(firstDayOfWeek);
2084
2114
  var dummyDays = Math.abs(dayDiff);
2085
- var noOfRows = Math.ceil((dayRange + dummyDays) / daysInRow); // TODO: @veekays
2086
- // if(noOfRows !== 6 && monthsInView <= 1) ?
2115
+ var noOfRows = Math.ceil((dayRange + dummyDays) / daysInRow); // if(noOfRows !== 6 && monthsInView <= 1) ?
2087
2116
 
2088
2117
  if (noOfRows === 6) ; else if (monthsInView > 1) ; else {
2089
2118
  noOfRows = noOfRows + 1;
@@ -2175,21 +2204,6 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
2175
2204
  var inRange = false;
2176
2205
  var inRangeLast = false;
2177
2206
 
2178
- if (rangePicker) {
2179
- startActive = compareDate(startDate, 'equal', yearNavVal, monthNavVal, date);
2180
- endActive = compareDate(endDate, 'equal', yearNavVal, monthNavVal, date);
2181
- inRangeLast = compareDate(hoverDate, 'equal', yearNavVal, monthNavVal, date);
2182
- active = !disabled && (startActive || endActive);
2183
-
2184
- if (startDate && endDate) {
2185
- inRange = !disabled && (compareDate(startDate, 'less', yearNavVal, monthNavVal, date) || startActive) && (compareDate(endDate, 'more', yearNavVal, monthNavVal, date) || endActive);
2186
- } else if (startDate) {
2187
- inRange = !disabled && (compareDate(hoverDate, 'more', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(startDate, 'less', yearNavVal, monthNavVal, date);
2188
- } else if (endDate) {
2189
- inRange = !disabled && (compareDate(hoverDate, 'less', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(endDate, 'more', yearNavVal, monthNavVal, date);
2190
- }
2191
- }
2192
-
2193
2207
  var _getDateInfo4 = getDateInfo(startDate),
2194
2208
  sYear = _getDateInfo4.year,
2195
2209
  sMonth = _getDateInfo4.month,
@@ -2202,37 +2216,63 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
2202
2216
 
2203
2217
  var isStart = startActive || endDate && inRangeLast && compareDate(hoverDate, 'less', eYear, eMonth, eDate);
2204
2218
  var isEnd = endActive || startDate && inRangeLast && compareDate(hoverDate, 'more', sYear, sMonth, sDate);
2205
- var isRangeError = inRange && inRangeError;
2206
2219
  var dateInString = "".concat(date <= 0 ? prevMonthDayRange + date : date > dayRange ? date - dayRange : date);
2207
2220
  var monthInString = "".concat(date <= 0 ? monthNavVal === 0 ? monthNavVal + monthBlock : (monthNavVal - 1) % monthBlock + 1 : date > dayRange ? (monthNavVal + 1) % monthBlock + 1 : monthNavVal + 1);
2208
2221
  var yearInString = "".concat(date <= 0 && monthNavVal + 1 === 1 ? yearNavVal - 1 : date > dayRange && monthNavVal + 1 === 12 ? yearNavVal + 1 : yearNavVal);
2209
2222
  var completeDateString = "".concat(monthInString.length === 2 ? monthInString : "0".concat(monthInString), "/").concat(dateInString.length === 2 ? dateInString : "0".concat(dateInString), "/").concat(yearInString);
2210
2223
  var isEventExist = events && _typeof(events) === 'object' && events.hasOwnProperty(completeDateString);
2224
+
2225
+ if (rangePicker) {
2226
+ startActive = compareDate(startDate, 'equal', yearNavVal, monthNavVal, date);
2227
+ endActive = compareDate(endDate, 'equal', yearNavVal, monthNavVal, date);
2228
+ inRangeLast = compareDate(hoverDate, 'equal', yearNavVal, monthNavVal, date);
2229
+ active = !disabled && (startActive || endActive);
2230
+
2231
+ if (startDate && endDate) {
2232
+ inRange = !disabled && (dateComparison(startDate, 'less', dateInString, monthInString, yearInString) && dateComparison(endDate, 'more', dateInString, monthInString, yearInString) || startActive || endActive);
2233
+ } else if (startDate) {
2234
+ inRange = !disabled && (dateComparison(hoverDate, 'more', dateInString, monthInString, yearInString) || inRangeLast) && dateComparison(startDate, 'less', dateInString, monthInString, yearInString);
2235
+ } else if (endDate) {
2236
+ inRange = !disabled && (compareDate(hoverDate, 'less', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(endDate, 'more', yearNavVal, monthNavVal, date);
2237
+ }
2238
+ }
2239
+
2240
+ var isRangeError = inRange && inRangeError;
2241
+ var isStartActive = startDate && dateComparison(startDate, 'equal', dateInString, monthInString, yearInString);
2242
+ var isEndActive = endDate && dateComparison(endDate, 'equal', dateInString, monthInString, yearInString);
2243
+ var activeDate = startDate && endDate && (isStartActive || isEndActive);
2244
+ var isHoverLast = dateComparison(hoverDate, 'equal', dateInString, monthInString, yearInString) && hoverDate && startDate && hoverDate >= startDate;
2245
+ var isEdgeElement = col === 0 || col === 6;
2246
+ var isValueRange = inRange || rangePicker && (active || activeDate);
2211
2247
  var wrapperClass = classnames({
2212
2248
  'Calendar-valueWrapper': true,
2213
- 'Calendar-valueWrapper--inRange': inRange || rangePicker && active,
2249
+ 'Calendar-valueWrapper--inRange': !isEdgeElement && isValueRange,
2250
+ 'Calendar-valueWrapper--inEdgeRange': isValueRange && isEdgeElement,
2214
2251
  'Calendar-valueWrapper--inRangeError': isRangeError,
2215
- 'Calendar-valueWrapper--start': isStart && !isEnd,
2216
- 'Calendar-valueWrapper--end': isEnd && !isStart,
2252
+ 'Calendar-valueWrapper--start': isStart && !isEnd && col !== 6 || rangePicker && isStartActive && col !== 6,
2253
+ 'Calendar-valueWrapper--end': isEnd && !isStart && col !== 0 || rangePicker && isEndActive && col !== 0,
2217
2254
  'Calendar-valueWrapper--startEnd': isStart && isEnd,
2218
- 'Calendar-valueWrapper--startError': isStart && isRangeError,
2219
- 'Calendar-valueWrapper--endError': isEnd && isRangeError,
2220
- 'Calendar-valueWrapper--dummy': dummy
2255
+ 'Calendar-valueWrapper--startError': isStart && isRangeError || rangePicker && isRangeError && isStartActive,
2256
+ 'Calendar-valueWrapper--endError': isEnd && isRangeError || rangePicker && isRangeError && isEndActive,
2257
+ 'Calendar-valueWrapper--dummy': dummy,
2258
+ 'Calendar-valueWrapper--hoverDate': rangePicker && isHoverLast,
2259
+ 'Calendar-valueWrapper--inStartRange': isValueRange && col === 0 && !active && !activeDate,
2260
+ 'Calendar-valueWrapper--inEndRange': isValueRange && col === 6 && !active && !activeDate
2221
2261
  });
2222
2262
  var valueClass = classnames((_classNames4 = {
2223
2263
  'Calendar-value': true,
2224
- 'Calendar-inRangeValue': !isStart && !isEnd,
2264
+ 'Calendar-inRangeValue': !isStart && !isEnd && !active && !activeDate,
2225
2265
  'Calendar-value--start': isStart && !isEnd,
2226
2266
  'Calendar-value--end': isEnd && !isStart,
2227
2267
  'Calendar-value--startError': isStart && isRangeError,
2228
2268
  'Calendar-value--endError': isEnd && isRangeError,
2229
- 'Calendar-value--active': active,
2269
+ 'Calendar-value--active': active || activeDate,
2230
2270
  'Calendar-value--disabled': disabled,
2231
2271
  'Calendar-dateValue': true
2232
- }, _defineProperty$1(_classNames4, "Calendar-dateValue--".concat(size), size), _defineProperty$1(_classNames4, 'Calendar-value--currDateMonthYear', today()), _classNames4));
2272
+ }, _defineProperty$1(_classNames4, "Calendar-dateValue--".concat(size), size), _defineProperty$1(_classNames4, 'Calendar-value--currDateMonthYear', today()), _defineProperty$1(_classNames4, 'Calendar-value--currDate', today() && !active && !activeDate), _classNames4));
2233
2273
  var getTextColor = classnames({
2234
- inverse: !active && !today() && !disabled,
2235
- white: active,
2274
+ inverse: !active && !today() && !disabled && !activeDate,
2275
+ white: active || activeDate,
2236
2276
  'primary-lighter': today() && disabled,
2237
2277
  primary: today(),
2238
2278
  'inverse-lightest': disabled
@@ -2250,7 +2290,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
2250
2290
  onMouseOver: onMouseOverHandler(date),
2251
2291
  onMouseEnter: onMouseEnterHandler.bind(_assertThisInitialized$1(_this), date, today(), disabled)
2252
2292
  }, date), isEventExist && _this.renderEventsIndicator(size, active)), (dummy && date > 0 && index === monthsInView - 1 || dummy && date <= 0 && index === 0) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
2253
- appearance: active ? 'white' : disabled ? 'disabled' : today() ? 'link' : 'default',
2293
+ appearance: active || activeDate ? 'white' : disabled ? 'disabled' : today() ? 'link' : 'default',
2254
2294
  size: size === 'small' ? 'small' : 'regular',
2255
2295
  "data-test": "DesignSystem-Calendar--dateValue",
2256
2296
  className: valueClass,
@@ -2525,7 +2565,7 @@ _defineProperty$1(Calendar, "defaultProps", {
2525
2565
  jumpView: true
2526
2566
  });
2527
2567
 
2528
- var _excluded$A = ["shadow", "children", "className"];
2568
+ var _excluded$C = ["shadow", "children", "className"];
2529
2569
  var Card = /*#__PURE__*/React.forwardRef(function (props, ref) {
2530
2570
  var _classNames;
2531
2571
 
@@ -2533,7 +2573,7 @@ var Card = /*#__PURE__*/React.forwardRef(function (props, ref) {
2533
2573
  shadow = _props$shadow === void 0 ? 'shadow10' : _props$shadow,
2534
2574
  children = props.children,
2535
2575
  className = props.className,
2536
- rest = _objectWithoutProperties(props, _excluded$A);
2576
+ rest = _objectWithoutProperties(props, _excluded$C);
2537
2577
 
2538
2578
  var classes = classnames((_classNames = {
2539
2579
  Card: true
@@ -2550,12 +2590,12 @@ Card.defaultProps = {
2550
2590
  shadow: 'shadow10'
2551
2591
  };
2552
2592
 
2553
- var _excluded$z = ["border", "children", "className"];
2593
+ var _excluded$B = ["border", "children", "className"];
2554
2594
  var CardSubdued = /*#__PURE__*/React.forwardRef(function (props, ref) {
2555
2595
  var border = props.border,
2556
2596
  children = props.children,
2557
2597
  className = props.className,
2558
- rest = _objectWithoutProperties(props, _excluded$z);
2598
+ rest = _objectWithoutProperties(props, _excluded$B);
2559
2599
 
2560
2600
  var classes = classnames(_defineProperty$1({
2561
2601
  CardSubdued: true
@@ -2622,7 +2662,7 @@ var isSpaceKey = function isSpaceKey(e) {
2622
2662
  return e.key === 'Space';
2623
2663
  };
2624
2664
 
2625
- var _excluded$y = ["onClick", "onKeyDown", "role", "tabIndex"];
2665
+ var _excluded$A = ["onClick", "onKeyDown", "role", "tabIndex"];
2626
2666
  var allowed = {
2627
2667
  button: new Set(['Enter', 'Space', 'Spacebar', ' ']),
2628
2668
  link: new Set(['Enter']),
@@ -2646,7 +2686,7 @@ var useAccessibilityProps = function useAccessibilityProps(_ref) {
2646
2686
  _ref$role = _ref.role,
2647
2687
  role = _ref$role === void 0 ? 'button' : _ref$role,
2648
2688
  tabIndex = _ref.tabIndex,
2649
- rest = _objectWithoutProperties(_ref, _excluded$y);
2689
+ rest = _objectWithoutProperties(_ref, _excluded$A);
2650
2690
 
2651
2691
  return _objectSpread2({}, onClick ? {
2652
2692
  onClick: onClick,
@@ -2676,6 +2716,116 @@ var useAccessibilityProps = function useAccessibilityProps(_ref) {
2676
2716
  });
2677
2717
  };
2678
2718
 
2719
+ var getOpticalSize = function getOpticalSize(size) {
2720
+ if (size && size <= 20) {
2721
+ return 20;
2722
+ } else if (size && size >= 48) {
2723
+ return 48;
2724
+ }
2725
+
2726
+ return size;
2727
+ };
2728
+
2729
+ var iconVariantMapper = {
2730
+ more_horiz: {
2731
+ weight: 600,
2732
+ opticalSize: 24
2733
+ },
2734
+ "delete": {
2735
+ fill: 0
2736
+ },
2737
+ radio_button_checked: {
2738
+ fill: 0
2739
+ },
2740
+ radio_button_unchecked: {
2741
+ fill: 0
2742
+ },
2743
+ schedule: {
2744
+ fill: 0
2745
+ },
2746
+ help_outline: {
2747
+ fill: 0
2748
+ },
2749
+ check_circle_outline: {
2750
+ fill: 0
2751
+ },
2752
+ highlight_of: {
2753
+ fill: 0
2754
+ },
2755
+ credit_card: {
2756
+ fill: 0
2757
+ },
2758
+ delete_outline: {
2759
+ fill: 0
2760
+ },
2761
+ bookmark_border: {
2762
+ fill: 0
2763
+ },
2764
+ work_outline: {
2765
+ fill: 0
2766
+ },
2767
+ alarm: {
2768
+ fill: 0
2769
+ },
2770
+ arrow_circle_up: {
2771
+ fill: 0
2772
+ },
2773
+ copyright: {
2774
+ fill: 0
2775
+ },
2776
+ query_builder: {
2777
+ fill: 0
2778
+ },
2779
+ card_membership: {
2780
+ fill: 0
2781
+ },
2782
+ arrow_circle_down: {
2783
+ fill: 0
2784
+ },
2785
+ change_history: {
2786
+ fill: 0
2787
+ },
2788
+ aspect_ratio: {
2789
+ fill: 0
2790
+ },
2791
+ calendar_view_month: {
2792
+ fill: 0
2793
+ },
2794
+ alarm_on: {
2795
+ fill: 0
2796
+ },
2797
+ thumb_down_off_alt: {
2798
+ fill: 0
2799
+ },
2800
+ important_devices: {
2801
+ fill: 0
2802
+ },
2803
+ turned_in_not: {
2804
+ fill: 0
2805
+ },
2806
+ add_circle_outline: {
2807
+ fill: 0
2808
+ },
2809
+ speed: {
2810
+ fill: 0
2811
+ },
2812
+ content_copy: {
2813
+ fill: 0
2814
+ },
2815
+ timelapse: {
2816
+ fill: 0
2817
+ }
2818
+ };
2819
+ var getFontVariation = function getFontVariation(iconName, variations, type, size) {
2820
+ var defaultVariant = {
2821
+ fill: type === 'outlined' ? 0 : 1,
2822
+ weight: 400,
2823
+ grade: 0,
2824
+ opticalSize: getOpticalSize(size)
2825
+ };
2826
+ return _objectSpread2(_objectSpread2(_objectSpread2({}, defaultVariant), iconVariantMapper[iconName]), variations);
2827
+ };
2828
+
2679
2829
  var Icon = function Icon(props) {
2680
2830
  var _classNames;
2681
2831
 
@@ -2683,17 +2833,18 @@ var Icon = function Icon(props) {
2683
2833
  className = props.className,
2684
2834
  name = props.name,
2685
2835
  size = props.size,
2686
- children = props.children;
2836
+ children = props.children,
2837
+ variations = props.variations;
2687
2838
  var accessibilityProps = useAccessibilityProps(props);
2688
2839
  var baseProps = extractBaseProps(props);
2689
-
2690
- var mapper = function mapper(val) {
2691
- if (val === 'outline') return 'outlined';
2692
- if (val === 'rounded') return 'round';
2693
- return val;
2840
+ var mapper = {
2841
+ outline: 'outlined',
2842
+ sharp: 'outlined',
2843
+ round: 'rounded',
2844
+ filled: 'rounded',
2845
+ 'two-tone': 'rounded'
2694
2846
  };
2695
-
2696
- var type = mapper(props.type);
2847
+ var type = props.type && mapper[props.type] || props.type;
2697
2848
 
2698
2849
  var getIconAppearance = function getIconAppearance(iconColor) {
2699
2850
  var x = iconColor.indexOf('_');
@@ -2701,10 +2852,18 @@ var Icon = function Icon(props) {
2701
2852
  };
2702
2853
 
2703
2854
  var color = appearance && appearance.includes('_') ? getIconAppearance(appearance) : appearance;
2704
- var iconClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'material-icons', true), _defineProperty$1(_classNames, "material-icons-".concat(mapper(type)), type && type !== 'filled'), _defineProperty$1(_classNames, 'Icon', true), _defineProperty$1(_classNames, "Icon--".concat(color), appearance), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
2855
+ var iconClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'material-icons', true), _defineProperty$1(_classNames, 'material-icons-rounded', type === 'rounded'), _defineProperty$1(_classNames, 'material-icons-outlined', type === 'outlined'), _defineProperty$1(_classNames, 'Icon', true), _defineProperty$1(_classNames, "Icon--".concat(color), appearance), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
2856
+
2857
+ var _getFontVariation = getFontVariation(name, variations, type, size),
2858
+ fill = _getFontVariation.fill,
2859
+ grade = _getFontVariation.grade,
2860
+ opticalSize = _getFontVariation.opticalSize,
2861
+ weight = _getFontVariation.weight;
2862
+
2705
2863
  var styles = {
2706
2864
  fontSize: "".concat(size, "px"),
2707
- width: "".concat(size, "px")
2865
+ width: "".concat(size, "px"),
2866
+ 'font-variation-settings': "\"FILL\" ".concat(fill, ", \"wght\" ").concat(weight, ", \"GRAD\" ").concat(grade, ", \"opsz\" ").concat(opticalSize)
2708
2867
  }; // change `children` to {name} after migration
2709
2868
 
2710
2869
  if (children && /*#__PURE__*/React.isValidElement(children)) {
@@ -2713,32 +2872,34 @@ var Icon = function Icon(props) {
2713
2872
  }), children);
2714
2873
  }
2715
2874
 
2716
- return /*#__PURE__*/React.createElement("i", _extends$2({}, baseProps, {
2875
+ return /*#__PURE__*/React.createElement("i", _extends$2({
2876
+ "data-test": "DesignSystem-Icon"
2877
+ }, baseProps, {
2717
2878
  className: iconClass,
2718
2879
  style: styles
2719
- }, accessibilityProps), type ? "".concat(name, "_").concat(type) : name);
2880
+ }, accessibilityProps), name);
2720
2881
  };
2721
2882
  Icon.displayName = 'Icon';
2722
2883
  Icon.defaultProps = {
2723
2884
  size: 16,
2724
- type: 'round'
2885
+ type: 'rounded'
2725
2886
  };
2726
2887
 
2727
- var _excluded$x = ["children", "componentType", "className"];
2888
+ var _excluded$z = ["children", "componentType", "className"];
2728
2889
 
2729
2890
  var GenericText = function GenericText(_ref) {
2730
2891
  var children = _ref.children,
2731
2892
  _ref$componentType = _ref.componentType,
2732
2893
  componentType = _ref$componentType === void 0 ? 'span' : _ref$componentType,
2733
2894
  className = _ref.className,
2734
- props = _objectWithoutProperties(_ref, _excluded$x);
2895
+ props = _objectWithoutProperties(_ref, _excluded$z);
2735
2896
 
2736
2897
  return /*#__PURE__*/React.createElement(componentType, _objectSpread2(_objectSpread2({}, props), {}, {
2737
2898
  className: className
2738
2899
  }), children);
2739
2900
  };
2740
2901
 
2741
- var _excluded$w = ["appearance", "size", "children", "weight", "small", "className", "color"];
2902
+ var _excluded$y = ["appearance", "size", "children", "weight", "small", "className", "color"];
2742
2903
  var Text = function Text(props) {
2743
2904
  var _classNames;
2744
2905
 
@@ -2749,7 +2910,7 @@ var Text = function Text(props) {
2749
2910
  small = props.small,
2750
2911
  className = props.className,
2751
2912
  color = props.color,
2752
- rest = _objectWithoutProperties(props, _excluded$w);
2913
+ rest = _objectWithoutProperties(props, _excluded$y);
2753
2914
 
2754
2915
  var classes = classnames((_classNames = {
2755
2916
  Text: true
@@ -3030,7 +3191,7 @@ var CheckboxIcon = function CheckboxIcon(props) {
3030
3191
  }
3031
3192
  };
3032
3193
 
3033
- var _excluded$v = ["size", "tabIndex", "defaultChecked", "indeterminate", "label", "error", "disabled", "onChange", "name", "value", "className", "checked", "helpText", "id"];
3194
+ var _excluded$x = ["size", "tabIndex", "defaultChecked", "indeterminate", "label", "error", "disabled", "onChange", "name", "value", "className", "checked", "helpText", "id"];
3034
3195
  var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3035
3196
  var _classNames, _classNames2, _classNames3, _classNames4, _classNames5, _classNames6;
3036
3197
 
@@ -3051,7 +3212,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3051
3212
  helpText = props.helpText,
3052
3213
  _props$id = props.id,
3053
3214
  id = _props$id === void 0 ? "".concat(name, "-").concat(label, "-").concat(uidGenerator()) : _props$id,
3054
- rest = _objectWithoutProperties(props, _excluded$v);
3215
+ rest = _objectWithoutProperties(props, _excluded$x);
3055
3216
 
3056
3217
  var ref = React.useRef(null);
3057
3218
  React.useImperativeHandle(forwardedRef, function () {
@@ -3132,7 +3293,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3132
3293
  });
3133
3294
  Checkbox.displayName = 'Checkbox';
3134
3295
 
3135
- var _excluded$u = ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"];
3296
+ var _excluded$w = ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"];
3136
3297
  var Column = /*#__PURE__*/React.forwardRef(function (props, ref) {
3137
3298
  var _classNames;
3138
3299
 
@@ -3144,7 +3305,7 @@ var Column = /*#__PURE__*/React.forwardRef(function (props, ref) {
3144
3305
  sizeXL = props.sizeXL,
3145
3306
  className = props.className,
3146
3307
  children = props.children,
3147
- rest = _objectWithoutProperties(props, _excluded$u);
3308
+ rest = _objectWithoutProperties(props, _excluded$w);
3148
3309
 
3149
3310
  var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Col', true), _defineProperty$1(_classNames, "Col--".concat(size), size), _defineProperty$1(_classNames, "Col--xs-".concat(sizeXS), sizeXS), _defineProperty$1(_classNames, "Col--s-".concat(sizeS), sizeS), _defineProperty$1(_classNames, "Col--m-".concat(sizeM), sizeM), _defineProperty$1(_classNames, "Col--l-".concat(sizeL), sizeL), _defineProperty$1(_classNames, "Col--xl-".concat(sizeXL), sizeXL), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
3150
3311
  return /*#__PURE__*/React.createElement("div", _extends$2({
@@ -3255,7 +3416,7 @@ var Trigger$1 = function Trigger(props) {
3255
3416
  }));
3256
3417
  };
3257
3418
 
3258
- var _excluded$t = ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect", "size", "showTodayDate", "children", "view"];
3419
+ var _excluded$v = ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect", "size", "showTodayDate", "children", "view"];
3259
3420
  var DatePicker = /*#__PURE__*/function (_React$Component) {
3260
3421
  _inherits(DatePicker, _React$Component);
3261
3422
 
@@ -3398,7 +3559,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
3398
3559
  _this$props4$children = _this$props4.children,
3399
3560
  children = _this$props4$children === void 0 ? /*#__PURE__*/React.createElement(React.Fragment, null) : _this$props4$children,
3400
3561
  view = _this$props4.view,
3401
- rest = _objectWithoutProperties(_this$props4, _excluded$t);
3562
+ rest = _objectWithoutProperties(_this$props4, _excluded$v);
3402
3563
 
3403
3564
  var date = this.state.date;
3404
3565
  var months = config.months;
@@ -4126,7 +4287,8 @@ var TimePickerWithSearch = function TimePickerWithSearch(props) {
4126
4287
  showDuration = props.showDuration,
4127
4288
  noResultMessage = props.noResultMessage,
4128
4289
  disabledSlotList = props.disabledSlotList,
4129
- fetchTimeOptions = props.fetchTimeOptions;
4290
+ fetchTimeOptions = props.fetchTimeOptions,
4291
+ error = props.error;
4130
4292
 
4131
4293
  var _React$useState = React.useState(0),
4132
4294
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -4223,7 +4385,8 @@ var TimePickerWithSearch = function TimePickerWithSearch(props) {
4223
4385
  staticLimit: dropdownOptionList.length,
4224
4386
  onPopperToggle: function onPopperToggle() {
4225
4387
  setOpenPopover(!openPopover);
4226
- }
4388
+ },
4389
+ error: error
4227
4390
  });
4228
4391
  };
4229
4392
  TimePickerWithSearch.defaultProps = {
@@ -4238,7 +4401,8 @@ var TimePickerWithInput = function TimePickerWithInput(props) {
4238
4401
  inputFormat = props.inputFormat,
4239
4402
  outputFormat = props.outputFormat,
4240
4403
  onTimeChange = props.onTimeChange,
4241
- timeProp = props.time;
4404
+ timeProp = props.time,
4405
+ error = props.error;
4242
4406
 
4243
4407
  var _React$useState = React.useState(timeProp),
4244
4408
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -4303,6 +4467,7 @@ var TimePickerWithInput = function TimePickerWithInput(props) {
4303
4467
  onChange: onChangeHandler,
4304
4468
  onClear: onClearHandler,
4305
4469
  onBlur: onBlurHandler,
4470
+ error: error,
4306
4471
  id: "parent-TimePicker"
4307
4472
  }));
4308
4473
  };
@@ -4458,7 +4623,7 @@ function debounce$1 (delay, atBegin, callback) {
4458
4623
  return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);
4459
4624
  }
4460
4625
 
4461
- var _excluded$s = ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error"];
4626
+ var _excluded$u = ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error"];
4462
4627
  var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4463
4628
  var _classNames, _classNames2;
4464
4629
 
@@ -4474,7 +4639,7 @@ var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4474
4639
  open = props.open,
4475
4640
  inlineLabel = props.inlineLabel,
4476
4641
  error = props.error,
4477
- rest = _objectWithoutProperties(props, _excluded$s);
4642
+ rest = _objectWithoutProperties(props, _excluded$u);
4478
4643
 
4479
4644
  var buttonDisabled = disabled ? 'disabled' : 'default';
4480
4645
  var trimmedPlaceholder = placeholder.trim();
@@ -5479,7 +5644,7 @@ var DropdownList = function DropdownList(props) {
5479
5644
 
5480
5645
  DropdownList.displayName = 'DropdownList';
5481
5646
 
5482
- var _excluded$r = ["triggerOptions", "selected", "tabIndex"];
5647
+ var _excluded$t = ["triggerOptions", "selected", "tabIndex"];
5483
5648
  var inputRef = /*#__PURE__*/React.createRef();
5484
5649
 
5485
5650
  /**
@@ -6127,7 +6292,7 @@ var Dropdown = /*#__PURE__*/function (_React$Component) {
6127
6292
  triggerOptions = _this$props14$trigger === void 0 ? {} : _this$props14$trigger;
6128
6293
  _this$props14.selected;
6129
6294
  var tabIndex = _this$props14.tabIndex,
6130
- rest = _objectWithoutProperties(_this$props14, _excluded$r);
6295
+ rest = _objectWithoutProperties(_this$props14, _excluded$t);
6131
6296
 
6132
6297
  var remainingOptionsLen = searchedOptionsLength - options.length;
6133
6298
  var firstEnabledOption = tabIndex ? tabIndex : _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) {
@@ -6173,7 +6338,7 @@ _defineProperty$1(Dropdown, "defaultProps", {
6173
6338
  searchDebounceDuration: 300
6174
6339
  });
6175
6340
 
6176
- var _excluded$q = ["appearance", "size", "children", "className", "color"];
6341
+ var _excluded$s = ["appearance", "size", "children", "className", "color"];
6177
6342
  var sizeMap = {
6178
6343
  s: 'h5',
6179
6344
  m: 'h4',
@@ -6189,7 +6354,7 @@ var Heading = function Heading(props) {
6189
6354
  children = props.children,
6190
6355
  className = props.className,
6191
6356
  color = props.color,
6192
- rest = _objectWithoutProperties(props, _excluded$q);
6357
+ rest = _objectWithoutProperties(props, _excluded$s);
6193
6358
 
6194
6359
  var classes = classnames((_classNames = {
6195
6360
  Heading: true
@@ -6207,43 +6372,28 @@ Heading.defaultProps = {
6207
6372
  size: 'm'
6208
6373
  };
6209
6374
 
6375
+ var _excluded$r = ["className", "iconVariations"];
6210
6376
  var ActionButton$1 = function ActionButton(props) {
6211
6377
  var _classNames;
6212
6378
 
6213
6379
  var className = props.className,
6214
- name = props.name,
6215
- size = props.size,
6216
- children = props.children,
6217
- type = props.type;
6218
- var accessibilityProps = useAccessibilityProps(props);
6219
- var baseProps = extractBaseProps(props);
6220
- var iconClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'material-icons', true), _defineProperty$1(_classNames, "material-icons-".concat(type), type && type !== 'filled'), _defineProperty$1(_classNames, 'ActionButton', true), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
6221
- var styles = {
6222
- fontSize: "".concat(size, "px"),
6223
- width: "".concat(size, "px")
6224
- }; // change `children` to {name} after migration
6225
-
6226
- if (children && /*#__PURE__*/React.isValidElement(children)) {
6227
- return /*#__PURE__*/React.createElement("span", _extends$2({}, baseProps, {
6228
- className: iconClass,
6229
- "data-test": "DesignSystem-Input-ActionButton"
6230
- }), children);
6231
- }
6380
+ iconVariations = props.iconVariations,
6381
+ rest = _objectWithoutProperties(props, _excluded$r);
6232
6382
 
6233
- return /*#__PURE__*/React.createElement("i", _extends$2({}, baseProps, {
6383
+ var iconClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ActionButton', true), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
6384
+ return /*#__PURE__*/React.createElement(Icon, _extends$2({
6234
6385
  className: iconClass,
6235
- style: styles
6236
- }, accessibilityProps, {
6386
+ variations: iconVariations,
6237
6387
  "data-test": "DesignSystem-Input-ActionButton"
6238
- }), "".concat(name, "_").concat(type));
6388
+ }, rest));
6239
6389
  };
6240
6390
  ActionButton$1.displayName = 'ActionButton';
6241
6391
  ActionButton$1.defaultProps = {
6242
6392
  size: 16,
6243
- type: 'round'
6393
+ type: 'rounded'
6244
6394
  };
6245
6395
 
6246
- var _excluded$p = ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "onPaste", "actionIcon", "className", "autoFocus", "disabled", "readOnly"];
6396
+ var _excluded$q = ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "onPaste", "actionIcon", "className", "autoFocus", "disabled", "readOnly"];
6247
6397
  var sizeMapping$2 = {
6248
6398
  tiny: 12,
6249
6399
  regular: 16,
@@ -6284,7 +6434,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6284
6434
  autoFocus = props.autoFocus,
6285
6435
  disabled = props.disabled,
6286
6436
  readOnly = props.readOnly,
6287
- rest = _objectWithoutProperties(props, _excluded$p);
6437
+ rest = _objectWithoutProperties(props, _excluded$q);
6288
6438
 
6289
6439
  var ref = React.useRef(null);
6290
6440
 
@@ -6392,7 +6542,7 @@ Object.assign(Input, {
6392
6542
  ActionButton: ActionButton$1
6393
6543
  });
6394
6544
 
6395
- var _excluded$o = ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value", "showActionButton", "onKeyDown"];
6545
+ var _excluded$p = ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value", "showActionButton", "onKeyDown"];
6396
6546
  var sizeMapping$1 = {
6397
6547
  regular: 16,
6398
6548
  large: 20
@@ -6442,7 +6592,7 @@ var MetricInput = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6442
6592
  _props$showActionButt = props.showActionButton,
6443
6593
  showActionButton = _props$showActionButt === void 0 ? true : _props$showActionButt,
6444
6594
  onKeyDown = props.onKeyDown,
6445
- rest = _objectWithoutProperties(props, _excluded$o);
6595
+ rest = _objectWithoutProperties(props, _excluded$p);
6446
6596
 
6447
6597
  var ref = React.useRef(null);
6448
6598
  var isUncontrolled = valueProp === undefined;
@@ -6605,7 +6755,7 @@ var getDefaultValue = function getDefaultValue(mask, placeholderChar) {
6605
6755
  return val;
6606
6756
  };
6607
6757
 
6608
- var _excluded$n = ["mask", "value", "placeholderChar", "validators", "clearOnEmptyBlur", "defaultValue", "mask", "error", "caption", "required", "onChange", "onPaste", "onBlur", "onFocus", "onClear", "className", "id", "helpText"];
6758
+ var _excluded$o = ["mask", "value", "placeholderChar", "validators", "clearOnEmptyBlur", "defaultValue", "mask", "error", "caption", "required", "onChange", "onPaste", "onBlur", "onFocus", "onClear", "className", "id", "helpText"];
6609
6759
 
6610
6760
  /**
6611
6761
  * It works as Uncontrolled Input
@@ -6634,7 +6784,7 @@ var InputMask = /*#__PURE__*/React.forwardRef(function (props, forwardRef) {
6634
6784
  className = props.className,
6635
6785
  id = props.id,
6636
6786
  helpText = props.helpText,
6637
- rest = _objectWithoutProperties(props, _excluded$n);
6787
+ rest = _objectWithoutProperties(props, _excluded$o);
6638
6788
 
6639
6789
  var isEditable = React.useCallback(function (pos) {
6640
6790
  return _typeof(mask[pos]) === 'object';
@@ -6938,7 +7088,7 @@ InputMask.utils = {
6938
7088
  };
6939
7089
  var X = InputMask;
6940
7090
 
6941
- var _excluded$m = ["required", "optional", "withInput", "disabled", "children", "className", "info"];
7091
+ var _excluded$n = ["required", "optional", "withInput", "disabled", "children", "className", "info"];
6942
7092
 
6943
7093
  /**
6944
7094
  * *NOTE: Extends props with HTMLProps<HTMLLabelElement>*
@@ -6953,7 +7103,7 @@ var Label = function Label(props) {
6953
7103
  children = props.children,
6954
7104
  className = props.className,
6955
7105
  info = props.info,
6956
- rest = _objectWithoutProperties(props, _excluded$m);
7106
+ rest = _objectWithoutProperties(props, _excluded$n);
6957
7107
 
6958
7108
  var baseProps = extractBaseProps(props);
6959
7109
  var LabelClass = classnames((_classNames = {
@@ -7111,7 +7261,7 @@ var Editable = function Editable(props) {
7111
7261
  };
7112
7262
  Editable.displayName = 'Editable';
7113
7263
 
7114
- var _excluded$l = ["onChange", "onClose"];
7264
+ var _excluded$m = ["onChange", "onClose"];
7115
7265
  var EditableDropdown = function EditableDropdown(props) {
7116
7266
  var _classNames2;
7117
7267
 
@@ -7122,7 +7272,7 @@ var EditableDropdown = function EditableDropdown(props) {
7122
7272
 
7123
7273
  var onDropdownChange = dropdownOptions.onChange,
7124
7274
  onDropdownClose = dropdownOptions.onClose,
7125
- rest = _objectWithoutProperties(dropdownOptions, _excluded$l);
7275
+ rest = _objectWithoutProperties(dropdownOptions, _excluded$m);
7126
7276
 
7127
7277
  var _React$useState = React.useState(placeholder),
7128
7278
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -7204,7 +7354,7 @@ EditableDropdown.defaultProps = {
7204
7354
  dropdownOptions: {}
7205
7355
  };
7206
7356
 
7207
- var _excluded$k = ["children", "className", "appearance", "size", "disabled"];
7357
+ var _excluded$l = ["children", "className", "appearance", "size", "disabled"];
7208
7358
  var Link = function Link(props) {
7209
7359
  var _classNames;
7210
7360
 
@@ -7213,7 +7363,7 @@ var Link = function Link(props) {
7213
7363
  appearance = props.appearance,
7214
7364
  size = props.size,
7215
7365
  disabled = props.disabled,
7216
- rest = _objectWithoutProperties(props, _excluded$k);
7366
+ rest = _objectWithoutProperties(props, _excluded$l);
7217
7367
 
7218
7368
  var classes = classnames((_classNames = {
7219
7369
  Link: true
@@ -8105,12 +8255,12 @@ _defineProperty$1(MultiSlider, "defaultProps", {
8105
8255
 
8106
8256
  _defineProperty$1(MultiSlider, "Handle", MultiSliderHandle);
8107
8257
 
8108
- var _excluded$j = ["children", "className", "onOutsideClick"];
8258
+ var _excluded$k = ["children", "className", "onOutsideClick"];
8109
8259
  var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) {
8110
8260
  var children = props.children,
8111
8261
  className = props.className,
8112
8262
  onOutsideClick = props.onOutsideClick,
8113
- rest = _objectWithoutProperties(props, _excluded$j);
8263
+ rest = _objectWithoutProperties(props, _excluded$k);
8114
8264
 
8115
8265
  var innerRef = React.useRef(null);
8116
8266
  React.useImperativeHandle(ref, function () {
@@ -8142,7 +8292,7 @@ var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) {
8142
8292
  });
8143
8293
  OutsideClick.displayName = 'OutsideClick';
8144
8294
 
8145
- var _excluded$i = ["appearance", "children", "className", "color"];
8295
+ var _excluded$j = ["appearance", "children", "className", "color"];
8146
8296
  var Paragraph = function Paragraph(props) {
8147
8297
  var _classNames;
8148
8298
 
@@ -8150,7 +8300,7 @@ var Paragraph = function Paragraph(props) {
8150
8300
  children = props.children,
8151
8301
  className = props.className,
8152
8302
  color = props.color,
8153
- rest = _objectWithoutProperties(props, _excluded$i);
8303
+ rest = _objectWithoutProperties(props, _excluded$j);
8154
8304
 
8155
8305
  var classes = classnames((_classNames = {
8156
8306
  Text: true
@@ -8198,7 +8348,7 @@ ProgressBar.defaultProps = {
8198
8348
  size: 'regular'
8199
8349
  };
8200
8350
 
8201
- var _excluded$h = ["size", "label", "disabled", "onChange", "name", "value", "checked", "defaultChecked", "className", "helpText", "error"];
8351
+ var _excluded$i = ["size", "label", "disabled", "onChange", "name", "value", "checked", "defaultChecked", "className", "helpText", "error"];
8202
8352
  var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8203
8353
  var _classNames, _classNames2, _classNames3;
8204
8354
 
@@ -8214,7 +8364,7 @@ var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8214
8364
  className = props.className,
8215
8365
  helpText = props.helpText,
8216
8366
  error = props.error,
8217
- rest = _objectWithoutProperties(props, _excluded$h);
8367
+ rest = _objectWithoutProperties(props, _excluded$i);
8218
8368
 
8219
8369
  var ref = React.useRef(null);
8220
8370
  React.useImperativeHandle(forwardedRef, function () {
@@ -8265,11 +8415,11 @@ var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8265
8415
  });
8266
8416
  Radio.displayName = 'Radio';
8267
8417
 
8268
- var _excluded$g = ["className", "children"];
8418
+ var _excluded$h = ["className", "children"];
8269
8419
  var Row = /*#__PURE__*/React.forwardRef(function (props, ref) {
8270
8420
  var className = props.className,
8271
8421
  children = props.children,
8272
- rest = _objectWithoutProperties(props, _excluded$g);
8422
+ rest = _objectWithoutProperties(props, _excluded$h);
8273
8423
 
8274
8424
  var classes = classnames(_defineProperty$1({
8275
8425
  Row: true
@@ -8386,13 +8536,13 @@ Spinner.defaultProps = {
8386
8536
  size: 'medium'
8387
8537
  };
8388
8538
 
8389
- var _excluded$f = ["value", "defaultValue", "onRelease", "onChange"];
8539
+ var _excluded$g = ["value", "defaultValue", "onRelease", "onChange"];
8390
8540
  var Slider = function Slider(props) {
8391
8541
  var valueProp = props.value,
8392
8542
  defaultValue = props.defaultValue,
8393
8543
  onRelease = props.onRelease,
8394
8544
  onChange = props.onChange,
8395
- rest = _objectWithoutProperties(props, _excluded$f);
8545
+ rest = _objectWithoutProperties(props, _excluded$g);
8396
8546
 
8397
8547
  var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp),
8398
8548
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8425,7 +8575,7 @@ Slider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.defaultProps
8425
8575
  defaultValue: 0
8426
8576
  });
8427
8577
 
8428
- var _excluded$e = ["value", "defaultValue", "onChange", "onRelease"];
8578
+ var _excluded$f = ["value", "defaultValue", "onChange", "onRelease"];
8429
8579
  var RangeIndex;
8430
8580
 
8431
8581
  (function (RangeIndex) {
@@ -8438,7 +8588,7 @@ var RangeSlider = function RangeSlider(props) {
8438
8588
  defaultValue = props.defaultValue,
8439
8589
  onChange = props.onChange,
8440
8590
  onRelease = props.onRelease,
8441
- rest = _objectWithoutProperties(props, _excluded$e);
8591
+ rest = _objectWithoutProperties(props, _excluded$f);
8442
8592
 
8443
8593
  var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp),
8444
8594
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8474,7 +8624,7 @@ RangeSlider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.default
8474
8624
  defaultValue: [0, 10]
8475
8625
  });
8476
8626
 
8477
- var _excluded$d = ["appearance", "children", "className", "color"];
8627
+ var _excluded$e = ["appearance", "children", "className", "color"];
8478
8628
  var Subheading = function Subheading(props) {
8479
8629
  var _classNames;
8480
8630
 
@@ -8482,7 +8632,7 @@ var Subheading = function Subheading(props) {
8482
8632
  children = props.children,
8483
8633
  className = props.className,
8484
8634
  color = props.color,
8485
- rest = _objectWithoutProperties(props, _excluded$d);
8635
+ rest = _objectWithoutProperties(props, _excluded$e);
8486
8636
 
8487
8637
  var classes = classnames((_classNames = {
8488
8638
  Subheading: true
@@ -8499,7 +8649,7 @@ Subheading.defaultProps = {
8499
8649
  appearance: 'default'
8500
8650
  };
8501
8651
 
8502
- var _excluded$c = ["size", "defaultChecked", "disabled", "onChange", "name", "value", "className", "appearance", "checked"];
8652
+ var _excluded$d = ["size", "defaultChecked", "disabled", "onChange", "name", "value", "className", "appearance", "checked"];
8503
8653
 
8504
8654
  /**
8505
8655
  * ######Switch has two types:
@@ -8519,7 +8669,7 @@ var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) {
8519
8669
  className = props.className;
8520
8670
  props.appearance;
8521
8671
  var checkedProp = props.checked,
8522
- rest = _objectWithoutProperties(props, _excluded$c);
8672
+ rest = _objectWithoutProperties(props, _excluded$d);
8523
8673
 
8524
8674
  var _React$useState = React.useState(checkedProp === undefined ? defaultChecked : checkedProp),
8525
8675
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8558,7 +8708,7 @@ var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) {
8558
8708
  });
8559
8709
  Switch.displayName = 'Switch';
8560
8710
 
8561
- var _excluded$b = ["rows", "resize", "disabled", "name", "placeholder", "value", "defaultValue", "required", "error", "onChange", "onClick", "onBlur", "onFocus", "className"];
8711
+ var _excluded$c = ["rows", "resize", "disabled", "name", "placeholder", "value", "defaultValue", "required", "error", "onChange", "onClick", "onBlur", "onFocus", "className"];
8562
8712
  var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) {
8563
8713
  var _classNames;
8564
8714
 
@@ -8578,7 +8728,7 @@ var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) {
8578
8728
  onBlur = props.onBlur,
8579
8729
  onFocus = props.onFocus,
8580
8730
  className = props.className,
8581
- rest = _objectWithoutProperties(props, _excluded$b);
8731
+ rest = _objectWithoutProperties(props, _excluded$c);
8582
8732
 
8583
8733
  var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Textarea', true), _defineProperty$1(_classNames, 'Textarea--resize', resize), _defineProperty$1(_classNames, 'Textarea--error', error), _classNames), className);
8584
8734
  return /*#__PURE__*/React.createElement("textarea", _extends$2({
@@ -13707,7 +13857,7 @@ _defineProperty$1(PopperWrapper, "defaultProps", {
13707
13857
  style: {}
13708
13858
  });
13709
13859
 
13710
- var _excluded$a = ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"];
13860
+ var _excluded$b = ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"];
13711
13861
  var propsList = ['appendToBody', 'trigger', 'hoverable', 'on', 'open', 'closeOnBackdropClick', 'offset', 'closeOnScroll'];
13712
13862
  var Popover = function Popover(props) {
13713
13863
  var position = props.position,
@@ -13719,7 +13869,7 @@ var Popover = function Popover(props) {
13719
13869
  hideOnReferenceEscape = props.hideOnReferenceEscape,
13720
13870
  _props$boundaryElemen = props.boundaryElement,
13721
13871
  boundaryElement = _props$boundaryElemen === void 0 ? document.body : _props$boundaryElemen,
13722
- rest = _objectWithoutProperties(props, _excluded$a);
13872
+ rest = _objectWithoutProperties(props, _excluded$b);
13723
13873
 
13724
13874
  var _React$useState = React.useState(!!props.open),
13725
13875
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -13771,18 +13921,19 @@ Popover.defaultProps = Object.assign({}, filterProps(PopperWrapper.defaultProps,
13771
13921
  customStyle: {}
13772
13922
  });
13773
13923
 
13774
- var _excluded$9 = ["type", "onClick"];
13924
+ var _excluded$a = ["type", "onClick"];
13775
13925
  var keyCodes = {
13776
13926
  BACKSPACE: 'Backspace',
13777
13927
  DELETE: 'Delete',
13778
13928
  ENTER: 'Enter'
13779
13929
  };
13780
13930
  var ChipInput = function ChipInput(props) {
13781
- var _classNames;
13931
+ var _classNames, _classNames2;
13782
13932
 
13783
13933
  var chipOptions = props.chipOptions,
13784
13934
  allowDuplicates = props.allowDuplicates,
13785
13935
  disabled = props.disabled,
13936
+ error = props.error,
13786
13937
  placeholder = props.placeholder,
13787
13938
  defaultValue = props.defaultValue,
13788
13939
  value = props.value,
@@ -13809,9 +13960,10 @@ var ChipInput = function ChipInput(props) {
13809
13960
  setChips(value);
13810
13961
  }
13811
13962
  }, [value]);
13812
- var ChipInputClass = classnames((_classNames = {
13963
+ var ChipInputBorderClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ChipInput-border', true), _defineProperty$1(_classNames, 'ChipInput-border--error', error), _classNames));
13964
+ var ChipInputClass = classnames((_classNames2 = {
13813
13965
  ChipInput: true
13814
- }, _defineProperty$1(_classNames, 'ChipInput--disabled', disabled), _defineProperty$1(_classNames, 'ChipInput--withChips', chips && chips.length > 0), _classNames), className);
13966
+ }, _defineProperty$1(_classNames2, 'ChipInput--disabled', disabled), _defineProperty$1(_classNames2, 'ChipInput--withChips', chips && chips.length > 0), _defineProperty$1(_classNames2, 'ChipInput--error', error), _classNames2), className);
13815
13967
 
13816
13968
  var onUpdateChips = function onUpdateChips(updatedChips) {
13817
13969
  if (onChange) onChange(updatedChips);
@@ -13888,7 +14040,7 @@ var ChipInput = function ChipInput(props) {
13888
14040
  var _chipOptions$type = chipOptions.type,
13889
14041
  type = _chipOptions$type === void 0 ? 'input' : _chipOptions$type,
13890
14042
  _onClick = chipOptions.onClick,
13891
- rest = _objectWithoutProperties(chipOptions, _excluded$9);
14043
+ rest = _objectWithoutProperties(chipOptions, _excluded$a);
13892
14044
 
13893
14045
  return /*#__PURE__*/React.createElement(Chip, _extends$2({
13894
14046
  "data-test": "DesignSystem-ChipInput--Chip",
@@ -13914,7 +14066,7 @@ var ChipInput = function ChipInput(props) {
13914
14066
  /* eslint-disable */
13915
14067
  React.createElement("div", {
13916
14068
  "data-test": "DesignSystem-ChipInput--Border",
13917
- className: "ChipInput-border"
14069
+ className: ChipInputBorderClass
13918
14070
  }, /*#__PURE__*/React.createElement("div", _extends$2({
13919
14071
  "data-test": "DesignSystem-ChipInput"
13920
14072
  }, baseProps, {
@@ -14360,7 +14512,7 @@ var HorizontalNav = function HorizontalNav(props) {
14360
14512
  }), list);
14361
14513
  };
14362
14514
 
14363
- var _excluded$8 = ["children", "tooltip"];
14515
+ var _excluded$9 = ["children", "tooltip"];
14364
14516
  var tooltipPropsList = ['trigger', 'on', 'open', 'offset', 'onToggle', 'dark', 'customStyle', 'closeOnBackdropClick', 'hideOnReferenceEscape', 'closeOnScroll'];
14365
14517
  var positionValue = {
14366
14518
  bottom: 'bottom',
@@ -14375,7 +14527,7 @@ var positionValue = {
14375
14527
  var Tooltip = function Tooltip(props) {
14376
14528
  var children = props.children,
14377
14529
  tooltip = props.tooltip,
14378
- rest = _objectWithoutProperties(props, _excluded$8);
14530
+ rest = _objectWithoutProperties(props, _excluded$9);
14379
14531
 
14380
14532
  var tooltipWrapper = /*#__PURE__*/React.createElement("div", {
14381
14533
  className: "Tooltip"
@@ -14451,7 +14603,7 @@ Dialog.defaultProps = {
14451
14603
  secondaryButtonAppearance: 'basic'
14452
14604
  };
14453
14605
 
14454
- var _excluded$7 = ["label"];
14606
+ var _excluded$8 = ["label"];
14455
14607
  var OverlayFooter = function OverlayFooter(props) {
14456
14608
  var open = props.open,
14457
14609
  className = props.className,
@@ -14488,7 +14640,7 @@ var OverlayFooter = function OverlayFooter(props) {
14488
14640
  className: classes
14489
14641
  }), actions.map(function (_ref, index) {
14490
14642
  _ref.label;
14491
- var options = _objectWithoutProperties(_ref, _excluded$7);
14643
+ var options = _objectWithoutProperties(_ref, _excluded$8);
14492
14644
 
14493
14645
  return /*#__PURE__*/React.createElement(Button, _extends$2({
14494
14646
  type: "button"
@@ -15849,7 +16001,7 @@ Pagination.defaultProps = {
15849
16001
  pageJumpDebounceDuration: 750
15850
16002
  };
15851
16003
 
15852
- var _excluded$6 = ["onChange"];
16004
+ var _excluded$7 = ["onChange"];
15853
16005
  var EditableInput = function EditableInput(props) {
15854
16006
  var _classNames2, _classNames4;
15855
16007
 
@@ -15863,7 +16015,7 @@ var EditableInput = function EditableInput(props) {
15863
16015
  className = props.className;
15864
16016
 
15865
16017
  var onInputChange = inputOptions.onChange,
15866
- rest = _objectWithoutProperties(inputOptions, _excluded$6);
16018
+ rest = _objectWithoutProperties(inputOptions, _excluded$7);
15867
16019
 
15868
16020
  var _React$useState = React.useState(props.value),
15869
16021
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -16026,7 +16178,7 @@ EditableInput.defaultProps = {
16026
16178
  inputOptions: {}
16027
16179
  };
16028
16180
 
16029
- var _excluded$5 = ["onChange", "chipOptions"],
16181
+ var _excluded$6 = ["onChange", "chipOptions"],
16030
16182
  _excluded2$1 = ["onClick"];
16031
16183
  var EditableChipInput = function EditableChipInput(props) {
16032
16184
  var _classNames3;
@@ -16040,7 +16192,7 @@ var EditableChipInput = function EditableChipInput(props) {
16040
16192
  var onChipInputChange = chipInputOptions.onChange,
16041
16193
  _chipInputOptions$chi = chipInputOptions.chipOptions,
16042
16194
  chipOptions = _chipInputOptions$chi === void 0 ? {} : _chipInputOptions$chi,
16043
- rest = _objectWithoutProperties(chipInputOptions, _excluded$5);
16195
+ rest = _objectWithoutProperties(chipInputOptions, _excluded$6);
16044
16196
 
16045
16197
  var _onClick = chipOptions.onClick,
16046
16198
  chipObject = _objectWithoutProperties(chipOptions, _excluded2$1);
@@ -16856,7 +17008,7 @@ var getCustomDates = function getCustomDates() {
16856
17008
  };
16857
17009
  };
16858
17010
 
16859
- var _excluded$4 = ["startDate", "endDate", "yearNav", "monthNav", "open", "inputFormat", "outputFormat", "startInputOptions", "endInputOptions", "validators", "withInput", "position", "disabledBefore", "disabledAfter", "onRangeChange", "rangeLimit"];
17011
+ var _excluded$5 = ["startDate", "endDate", "yearNav", "monthNav", "open", "inputFormat", "outputFormat", "startInputOptions", "endInputOptions", "validators", "withInput", "position", "disabledBefore", "disabledAfter", "onRangeChange", "rangeLimit"];
16860
17012
  var DateRangePicker = /*#__PURE__*/function (_React$Component) {
16861
17013
  _inherits(DateRangePicker, _React$Component);
16862
17014
 
@@ -17126,7 +17278,7 @@ var DateRangePicker = /*#__PURE__*/function (_React$Component) {
17126
17278
  disabledAfter = _this$props6.disabledAfter;
17127
17279
  _this$props6.onRangeChange;
17128
17280
  var rangeLimit = _this$props6.rangeLimit,
17129
- rest = _objectWithoutProperties(_this$props6, _excluded$4);
17281
+ rest = _objectWithoutProperties(_this$props6, _excluded$5);
17130
17282
 
17131
17283
  var _this$state3 = this.state,
17132
17284
  startDate = _this$state3.startDate,
@@ -18028,7 +18180,7 @@ function _fromFileEntry() {
18028
18180
  return _fromFileEntry.apply(this, arguments);
18029
18181
  }
18030
18182
 
18031
- var _excluded$3 = ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnterCallback", "onDragOverCallback", "onDragLeaveCallback", "onDropCallback"],
18183
+ var _excluded$4 = ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnterCallback", "onDragOverCallback", "onDragLeaveCallback", "onDropCallback"],
18032
18184
  _excluded2 = ["refKey", "onChange", "onClick"];
18033
18185
  var initialState = {
18034
18186
  isFocused: false,
@@ -18306,7 +18458,7 @@ var DropzoneBase = function DropzoneBase(props) {
18306
18458
  onDragOverCallback = _ref.onDragOverCallback,
18307
18459
  onDragLeaveCallback = _ref.onDragLeaveCallback,
18308
18460
  onDropCallback = _ref.onDropCallback,
18309
- rest = _objectWithoutProperties(_ref, _excluded$3);
18461
+ rest = _objectWithoutProperties(_ref, _excluded$4);
18310
18462
 
18311
18463
  return _objectSpread2(_defineProperty$1({
18312
18464
  onDragEnter: composeDragHandler(composeEventHandlers(onDragEnterCallback, onDragEnterCb)),
@@ -20504,7 +20656,7 @@ Header.defaultProps = {
20504
20656
  showFilters: true
20505
20657
  };
20506
20658
 
20507
- var _excluded$2 = ["children"];
20659
+ var _excluded$3 = ["children"];
20508
20660
 
20509
20661
  var defaultErrorTemplate = function defaultErrorTemplate(props) {
20510
20662
  var _props$errorType = props.errorType,
@@ -20889,7 +21041,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
20889
21041
 
20890
21042
  var _ref = headerOptions,
20891
21043
  headerChildren = _ref.children,
20892
- headerAttr = _objectWithoutProperties(_ref, _excluded$2);
21044
+ headerAttr = _objectWithoutProperties(_ref, _excluded$3);
20893
21045
 
20894
21046
  var classes = className ? " ".concat(className) : '';
20895
21047
  var totalRecords = this.state.totalRecords;
@@ -21371,7 +21523,7 @@ FileList.defaultProps = {
21371
21523
  };
21372
21524
  FileList.displayName = 'FileList';
21373
21525
 
21374
- var _excluded$1 = ["type", "fields", "placeholder", "autoFocus", "onComplete", "onFocus", "onBlur", "className", "value"];
21526
+ var _excluded$2 = ["type", "fields", "placeholder", "autoFocus", "onComplete", "onFocus", "onBlur", "className", "value"];
21375
21527
  var KEY_CODE = {
21376
21528
  backspace: 'Backspace',
21377
21529
  left: 'ArrowLeft',
@@ -21396,7 +21548,7 @@ var VerificationCodeInput = function VerificationCodeInput(props) {
21396
21548
  onBlur = props.onBlur,
21397
21549
  className = props.className;
21398
21550
  props.value;
21399
- var rest = _objectWithoutProperties(props, _excluded$1);
21551
+ var rest = _objectWithoutProperties(props, _excluded$2);
21400
21552
 
21401
21553
  var initialValues = useMemo(function () {
21402
21554
  if (props.value && props.value.length) {
@@ -21802,7 +21954,7 @@ var HelpText = function HelpText(props) {
21802
21954
  };
21803
21955
  HelpText.displayName = 'HelpText';
21804
21956
 
21805
- var _excluded = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign"];
21957
+ var _excluded$1 = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign"];
21806
21958
  var sizeMapping = {
21807
21959
  tiny: 12,
21808
21960
  regular: 16
@@ -21819,7 +21971,7 @@ var LinkButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
21819
21971
  subtle = props.subtle,
21820
21972
  size = props.size,
21821
21973
  iconAlign = props.iconAlign,
21822
- rest = _objectWithoutProperties(props, _excluded);
21974
+ rest = _objectWithoutProperties(props, _excluded$1);
21823
21975
 
21824
21976
  var buttonClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'LinkButton', true), _defineProperty$1(_classNames, "LinkButton--".concat(size), size), _defineProperty$1(_classNames, 'LinkButton--default', !subtle), _defineProperty$1(_classNames, 'LinkButton--subtle', subtle), _defineProperty$1(_classNames, "LinkButton--iconAlign-".concat(iconAlign), children && iconAlign), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
21825
21977
  var iconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'LinkButton-icon', true), _defineProperty$1(_classNames2, "LinkButton-icon--".concat(iconAlign), children && iconAlign), _classNames2));
@@ -21845,6 +21997,42 @@ LinkButton.defaultProps = {
21845
21997
  iconAlign: 'left'
21846
21998
  };
21847
21999
 
21848
- var version = "2.18.0";
22000
+ var _excluded = ["children", "disabled", "className", "zIndex", "onClick"];
22001
+ var ActionCard = function ActionCard(props) {
22002
+ var _classNames;
22003
+
22004
+ var children = props.children,
22005
+ disabled = props.disabled,
22006
+ className = props.className,
22007
+ zIndex = props.zIndex,
22008
+ onClick = props.onClick,
22009
+ rest = _objectWithoutProperties(props, _excluded);
22010
+
22011
+ var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ActionCard', true), _defineProperty$1(_classNames, 'ActionCard--disabled', disabled), _classNames), className);
22012
+
22013
+ var onKeyDownHandler = function onKeyDownHandler(event) {
22014
+ if (event.key === 'Enter' && onClick) {
22015
+ onClick(event);
22016
+ }
22017
+ };
22018
+
22019
+ return /*#__PURE__*/React.createElement("div", _extends$2({
22020
+ tabIndex: disabled ? -1 : 0,
22021
+ role: "link",
22022
+ "data-test": "DesignSystem-ActionCard",
22023
+ className: classes,
22024
+ onClick: onClick,
22025
+ onKeyDown: onKeyDownHandler
22026
+ }, rest), disabled && /*#__PURE__*/React.createElement("div", {
22027
+ style: {
22028
+ zIndex: zIndex
22029
+ },
22030
+ "data-test": "DesignSystem-ActionCard-Overlay",
22031
+ className: "ActionCard-overlay--disabled"
22032
+ }), children);
22033
+ };
22034
+ ActionCard.displayName = 'ActionCard';
22035
+
22036
+ var version = "2.20.0";
21849
22037
 
21850
- 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, 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, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, Textarea, TimePicker, Toast, Tooltip, index as Utils, VerificationCodeInput, VerticalNav, version };
22038
+ 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, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, Textarea, TimePicker, Toast, Tooltip, index as Utils, VerificationCodeInput, VerticalNav, version };