@innovaccer/design-system 2.19.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 (42) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/css/dist/MaterialSymbolsOutlined.ttf +0 -0
  3. package/css/dist/MaterialSymbolsRounded.ttf +0 -0
  4. package/css/dist/index.css +94 -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 +9 -0
  13. package/dist/.lib/tsconfig.type.tsbuildinfo +66 -20
  14. package/dist/core/common.type.d.ts +6 -0
  15. package/dist/core/components/atoms/actionCard/ActionCard.d.ts +13 -0
  16. package/dist/core/components/atoms/actionCard/index.d.ts +2 -0
  17. package/dist/core/components/atoms/button/Button.d.ts +3 -1
  18. package/dist/core/components/atoms/icon/Icon.d.ts +7 -0
  19. package/dist/core/components/atoms/icon/utils.d.ts +7 -0
  20. package/dist/core/components/atoms/input/actionButton/ActionButton.d.ts +3 -1
  21. package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +20 -20
  22. package/dist/core/components/molecules/chipInput/ChipInput.d.ts +1 -0
  23. package/dist/core/components/organisms/calendar/utility.d.ts +1 -0
  24. package/dist/core/index.d.ts +1 -0
  25. package/dist/core/index.type.d.ts +1 -0
  26. package/dist/index.esm.js +339 -155
  27. package/dist/index.js +267 -83
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.umd.js +1 -1
  30. package/dist/index.umd.js.br +0 -0
  31. package/dist/index.umd.js.gz +0 -0
  32. package/package.json +1 -1
  33. package/css/dist/MaterialIcons-Regular.ttf +0 -0
  34. package/css/dist/MaterialIconsOutlined-Regular.otf +0 -0
  35. package/css/dist/MaterialIconsRound-Regular.otf +0 -0
  36. package/css/dist/MaterialIconsSharp-Regular.otf +0 -0
  37. package/css/dist/MaterialIconsTwoTone-Regular.otf +0 -0
  38. package/css/material-design-icons/iconfont/MaterialIcons-Regular.ttf +0 -0
  39. package/css/material-design-icons/iconfont/MaterialIconsOutlined-Regular.otf +0 -0
  40. package/css/material-design-icons/iconfont/MaterialIconsRound-Regular.otf +0 -0
  41. package/css/material-design-icons/iconfont/MaterialIconsSharp-Regular.otf +0 -0
  42. 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: 1692978951022
3
+ * Generated on: 1694185325183
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.19.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;
@@ -4462,7 +4623,7 @@ function debounce$1 (delay, atBegin, callback) {
4462
4623
  return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);
4463
4624
  }
4464
4625
 
4465
- 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"];
4466
4627
  var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4467
4628
  var _classNames, _classNames2;
4468
4629
 
@@ -4478,7 +4639,7 @@ var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4478
4639
  open = props.open,
4479
4640
  inlineLabel = props.inlineLabel,
4480
4641
  error = props.error,
4481
- rest = _objectWithoutProperties(props, _excluded$s);
4642
+ rest = _objectWithoutProperties(props, _excluded$u);
4482
4643
 
4483
4644
  var buttonDisabled = disabled ? 'disabled' : 'default';
4484
4645
  var trimmedPlaceholder = placeholder.trim();
@@ -5483,7 +5644,7 @@ var DropdownList = function DropdownList(props) {
5483
5644
 
5484
5645
  DropdownList.displayName = 'DropdownList';
5485
5646
 
5486
- var _excluded$r = ["triggerOptions", "selected", "tabIndex"];
5647
+ var _excluded$t = ["triggerOptions", "selected", "tabIndex"];
5487
5648
  var inputRef = /*#__PURE__*/React.createRef();
5488
5649
 
5489
5650
  /**
@@ -6131,7 +6292,7 @@ var Dropdown = /*#__PURE__*/function (_React$Component) {
6131
6292
  triggerOptions = _this$props14$trigger === void 0 ? {} : _this$props14$trigger;
6132
6293
  _this$props14.selected;
6133
6294
  var tabIndex = _this$props14.tabIndex,
6134
- rest = _objectWithoutProperties(_this$props14, _excluded$r);
6295
+ rest = _objectWithoutProperties(_this$props14, _excluded$t);
6135
6296
 
6136
6297
  var remainingOptionsLen = searchedOptionsLength - options.length;
6137
6298
  var firstEnabledOption = tabIndex ? tabIndex : _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) {
@@ -6177,7 +6338,7 @@ _defineProperty$1(Dropdown, "defaultProps", {
6177
6338
  searchDebounceDuration: 300
6178
6339
  });
6179
6340
 
6180
- var _excluded$q = ["appearance", "size", "children", "className", "color"];
6341
+ var _excluded$s = ["appearance", "size", "children", "className", "color"];
6181
6342
  var sizeMap = {
6182
6343
  s: 'h5',
6183
6344
  m: 'h4',
@@ -6193,7 +6354,7 @@ var Heading = function Heading(props) {
6193
6354
  children = props.children,
6194
6355
  className = props.className,
6195
6356
  color = props.color,
6196
- rest = _objectWithoutProperties(props, _excluded$q);
6357
+ rest = _objectWithoutProperties(props, _excluded$s);
6197
6358
 
6198
6359
  var classes = classnames((_classNames = {
6199
6360
  Heading: true
@@ -6211,43 +6372,28 @@ Heading.defaultProps = {
6211
6372
  size: 'm'
6212
6373
  };
6213
6374
 
6375
+ var _excluded$r = ["className", "iconVariations"];
6214
6376
  var ActionButton$1 = function ActionButton(props) {
6215
6377
  var _classNames;
6216
6378
 
6217
6379
  var className = props.className,
6218
- name = props.name,
6219
- size = props.size,
6220
- children = props.children,
6221
- type = props.type;
6222
- var accessibilityProps = useAccessibilityProps(props);
6223
- var baseProps = extractBaseProps(props);
6224
- 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));
6225
- var styles = {
6226
- fontSize: "".concat(size, "px"),
6227
- width: "".concat(size, "px")
6228
- }; // change `children` to {name} after migration
6380
+ iconVariations = props.iconVariations,
6381
+ rest = _objectWithoutProperties(props, _excluded$r);
6229
6382
 
6230
- if (children && /*#__PURE__*/React.isValidElement(children)) {
6231
- return /*#__PURE__*/React.createElement("span", _extends$2({}, baseProps, {
6232
- className: iconClass,
6233
- "data-test": "DesignSystem-Input-ActionButton"
6234
- }), children);
6235
- }
6236
-
6237
- 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({
6238
6385
  className: iconClass,
6239
- style: styles
6240
- }, accessibilityProps, {
6386
+ variations: iconVariations,
6241
6387
  "data-test": "DesignSystem-Input-ActionButton"
6242
- }), "".concat(name, "_").concat(type));
6388
+ }, rest));
6243
6389
  };
6244
6390
  ActionButton$1.displayName = 'ActionButton';
6245
6391
  ActionButton$1.defaultProps = {
6246
6392
  size: 16,
6247
- type: 'round'
6393
+ type: 'rounded'
6248
6394
  };
6249
6395
 
6250
- 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"];
6251
6397
  var sizeMapping$2 = {
6252
6398
  tiny: 12,
6253
6399
  regular: 16,
@@ -6288,7 +6434,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6288
6434
  autoFocus = props.autoFocus,
6289
6435
  disabled = props.disabled,
6290
6436
  readOnly = props.readOnly,
6291
- rest = _objectWithoutProperties(props, _excluded$p);
6437
+ rest = _objectWithoutProperties(props, _excluded$q);
6292
6438
 
6293
6439
  var ref = React.useRef(null);
6294
6440
 
@@ -6396,7 +6542,7 @@ Object.assign(Input, {
6396
6542
  ActionButton: ActionButton$1
6397
6543
  });
6398
6544
 
6399
- 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"];
6400
6546
  var sizeMapping$1 = {
6401
6547
  regular: 16,
6402
6548
  large: 20
@@ -6446,7 +6592,7 @@ var MetricInput = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6446
6592
  _props$showActionButt = props.showActionButton,
6447
6593
  showActionButton = _props$showActionButt === void 0 ? true : _props$showActionButt,
6448
6594
  onKeyDown = props.onKeyDown,
6449
- rest = _objectWithoutProperties(props, _excluded$o);
6595
+ rest = _objectWithoutProperties(props, _excluded$p);
6450
6596
 
6451
6597
  var ref = React.useRef(null);
6452
6598
  var isUncontrolled = valueProp === undefined;
@@ -6609,7 +6755,7 @@ var getDefaultValue = function getDefaultValue(mask, placeholderChar) {
6609
6755
  return val;
6610
6756
  };
6611
6757
 
6612
- 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"];
6613
6759
 
6614
6760
  /**
6615
6761
  * It works as Uncontrolled Input
@@ -6638,7 +6784,7 @@ var InputMask = /*#__PURE__*/React.forwardRef(function (props, forwardRef) {
6638
6784
  className = props.className,
6639
6785
  id = props.id,
6640
6786
  helpText = props.helpText,
6641
- rest = _objectWithoutProperties(props, _excluded$n);
6787
+ rest = _objectWithoutProperties(props, _excluded$o);
6642
6788
 
6643
6789
  var isEditable = React.useCallback(function (pos) {
6644
6790
  return _typeof(mask[pos]) === 'object';
@@ -6942,7 +7088,7 @@ InputMask.utils = {
6942
7088
  };
6943
7089
  var X = InputMask;
6944
7090
 
6945
- var _excluded$m = ["required", "optional", "withInput", "disabled", "children", "className", "info"];
7091
+ var _excluded$n = ["required", "optional", "withInput", "disabled", "children", "className", "info"];
6946
7092
 
6947
7093
  /**
6948
7094
  * *NOTE: Extends props with HTMLProps<HTMLLabelElement>*
@@ -6957,7 +7103,7 @@ var Label = function Label(props) {
6957
7103
  children = props.children,
6958
7104
  className = props.className,
6959
7105
  info = props.info,
6960
- rest = _objectWithoutProperties(props, _excluded$m);
7106
+ rest = _objectWithoutProperties(props, _excluded$n);
6961
7107
 
6962
7108
  var baseProps = extractBaseProps(props);
6963
7109
  var LabelClass = classnames((_classNames = {
@@ -7115,7 +7261,7 @@ var Editable = function Editable(props) {
7115
7261
  };
7116
7262
  Editable.displayName = 'Editable';
7117
7263
 
7118
- var _excluded$l = ["onChange", "onClose"];
7264
+ var _excluded$m = ["onChange", "onClose"];
7119
7265
  var EditableDropdown = function EditableDropdown(props) {
7120
7266
  var _classNames2;
7121
7267
 
@@ -7126,7 +7272,7 @@ var EditableDropdown = function EditableDropdown(props) {
7126
7272
 
7127
7273
  var onDropdownChange = dropdownOptions.onChange,
7128
7274
  onDropdownClose = dropdownOptions.onClose,
7129
- rest = _objectWithoutProperties(dropdownOptions, _excluded$l);
7275
+ rest = _objectWithoutProperties(dropdownOptions, _excluded$m);
7130
7276
 
7131
7277
  var _React$useState = React.useState(placeholder),
7132
7278
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -7208,7 +7354,7 @@ EditableDropdown.defaultProps = {
7208
7354
  dropdownOptions: {}
7209
7355
  };
7210
7356
 
7211
- var _excluded$k = ["children", "className", "appearance", "size", "disabled"];
7357
+ var _excluded$l = ["children", "className", "appearance", "size", "disabled"];
7212
7358
  var Link = function Link(props) {
7213
7359
  var _classNames;
7214
7360
 
@@ -7217,7 +7363,7 @@ var Link = function Link(props) {
7217
7363
  appearance = props.appearance,
7218
7364
  size = props.size,
7219
7365
  disabled = props.disabled,
7220
- rest = _objectWithoutProperties(props, _excluded$k);
7366
+ rest = _objectWithoutProperties(props, _excluded$l);
7221
7367
 
7222
7368
  var classes = classnames((_classNames = {
7223
7369
  Link: true
@@ -8109,12 +8255,12 @@ _defineProperty$1(MultiSlider, "defaultProps", {
8109
8255
 
8110
8256
  _defineProperty$1(MultiSlider, "Handle", MultiSliderHandle);
8111
8257
 
8112
- var _excluded$j = ["children", "className", "onOutsideClick"];
8258
+ var _excluded$k = ["children", "className", "onOutsideClick"];
8113
8259
  var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) {
8114
8260
  var children = props.children,
8115
8261
  className = props.className,
8116
8262
  onOutsideClick = props.onOutsideClick,
8117
- rest = _objectWithoutProperties(props, _excluded$j);
8263
+ rest = _objectWithoutProperties(props, _excluded$k);
8118
8264
 
8119
8265
  var innerRef = React.useRef(null);
8120
8266
  React.useImperativeHandle(ref, function () {
@@ -8146,7 +8292,7 @@ var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) {
8146
8292
  });
8147
8293
  OutsideClick.displayName = 'OutsideClick';
8148
8294
 
8149
- var _excluded$i = ["appearance", "children", "className", "color"];
8295
+ var _excluded$j = ["appearance", "children", "className", "color"];
8150
8296
  var Paragraph = function Paragraph(props) {
8151
8297
  var _classNames;
8152
8298
 
@@ -8154,7 +8300,7 @@ var Paragraph = function Paragraph(props) {
8154
8300
  children = props.children,
8155
8301
  className = props.className,
8156
8302
  color = props.color,
8157
- rest = _objectWithoutProperties(props, _excluded$i);
8303
+ rest = _objectWithoutProperties(props, _excluded$j);
8158
8304
 
8159
8305
  var classes = classnames((_classNames = {
8160
8306
  Text: true
@@ -8202,7 +8348,7 @@ ProgressBar.defaultProps = {
8202
8348
  size: 'regular'
8203
8349
  };
8204
8350
 
8205
- 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"];
8206
8352
  var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8207
8353
  var _classNames, _classNames2, _classNames3;
8208
8354
 
@@ -8218,7 +8364,7 @@ var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8218
8364
  className = props.className,
8219
8365
  helpText = props.helpText,
8220
8366
  error = props.error,
8221
- rest = _objectWithoutProperties(props, _excluded$h);
8367
+ rest = _objectWithoutProperties(props, _excluded$i);
8222
8368
 
8223
8369
  var ref = React.useRef(null);
8224
8370
  React.useImperativeHandle(forwardedRef, function () {
@@ -8269,11 +8415,11 @@ var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8269
8415
  });
8270
8416
  Radio.displayName = 'Radio';
8271
8417
 
8272
- var _excluded$g = ["className", "children"];
8418
+ var _excluded$h = ["className", "children"];
8273
8419
  var Row = /*#__PURE__*/React.forwardRef(function (props, ref) {
8274
8420
  var className = props.className,
8275
8421
  children = props.children,
8276
- rest = _objectWithoutProperties(props, _excluded$g);
8422
+ rest = _objectWithoutProperties(props, _excluded$h);
8277
8423
 
8278
8424
  var classes = classnames(_defineProperty$1({
8279
8425
  Row: true
@@ -8390,13 +8536,13 @@ Spinner.defaultProps = {
8390
8536
  size: 'medium'
8391
8537
  };
8392
8538
 
8393
- var _excluded$f = ["value", "defaultValue", "onRelease", "onChange"];
8539
+ var _excluded$g = ["value", "defaultValue", "onRelease", "onChange"];
8394
8540
  var Slider = function Slider(props) {
8395
8541
  var valueProp = props.value,
8396
8542
  defaultValue = props.defaultValue,
8397
8543
  onRelease = props.onRelease,
8398
8544
  onChange = props.onChange,
8399
- rest = _objectWithoutProperties(props, _excluded$f);
8545
+ rest = _objectWithoutProperties(props, _excluded$g);
8400
8546
 
8401
8547
  var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp),
8402
8548
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8429,7 +8575,7 @@ Slider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.defaultProps
8429
8575
  defaultValue: 0
8430
8576
  });
8431
8577
 
8432
- var _excluded$e = ["value", "defaultValue", "onChange", "onRelease"];
8578
+ var _excluded$f = ["value", "defaultValue", "onChange", "onRelease"];
8433
8579
  var RangeIndex;
8434
8580
 
8435
8581
  (function (RangeIndex) {
@@ -8442,7 +8588,7 @@ var RangeSlider = function RangeSlider(props) {
8442
8588
  defaultValue = props.defaultValue,
8443
8589
  onChange = props.onChange,
8444
8590
  onRelease = props.onRelease,
8445
- rest = _objectWithoutProperties(props, _excluded$e);
8591
+ rest = _objectWithoutProperties(props, _excluded$f);
8446
8592
 
8447
8593
  var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp),
8448
8594
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8478,7 +8624,7 @@ RangeSlider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.default
8478
8624
  defaultValue: [0, 10]
8479
8625
  });
8480
8626
 
8481
- var _excluded$d = ["appearance", "children", "className", "color"];
8627
+ var _excluded$e = ["appearance", "children", "className", "color"];
8482
8628
  var Subheading = function Subheading(props) {
8483
8629
  var _classNames;
8484
8630
 
@@ -8486,7 +8632,7 @@ var Subheading = function Subheading(props) {
8486
8632
  children = props.children,
8487
8633
  className = props.className,
8488
8634
  color = props.color,
8489
- rest = _objectWithoutProperties(props, _excluded$d);
8635
+ rest = _objectWithoutProperties(props, _excluded$e);
8490
8636
 
8491
8637
  var classes = classnames((_classNames = {
8492
8638
  Subheading: true
@@ -8503,7 +8649,7 @@ Subheading.defaultProps = {
8503
8649
  appearance: 'default'
8504
8650
  };
8505
8651
 
8506
- 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"];
8507
8653
 
8508
8654
  /**
8509
8655
  * ######Switch has two types:
@@ -8523,7 +8669,7 @@ var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) {
8523
8669
  className = props.className;
8524
8670
  props.appearance;
8525
8671
  var checkedProp = props.checked,
8526
- rest = _objectWithoutProperties(props, _excluded$c);
8672
+ rest = _objectWithoutProperties(props, _excluded$d);
8527
8673
 
8528
8674
  var _React$useState = React.useState(checkedProp === undefined ? defaultChecked : checkedProp),
8529
8675
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8562,7 +8708,7 @@ var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) {
8562
8708
  });
8563
8709
  Switch.displayName = 'Switch';
8564
8710
 
8565
- 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"];
8566
8712
  var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) {
8567
8713
  var _classNames;
8568
8714
 
@@ -8582,7 +8728,7 @@ var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) {
8582
8728
  onBlur = props.onBlur,
8583
8729
  onFocus = props.onFocus,
8584
8730
  className = props.className,
8585
- rest = _objectWithoutProperties(props, _excluded$b);
8731
+ rest = _objectWithoutProperties(props, _excluded$c);
8586
8732
 
8587
8733
  var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Textarea', true), _defineProperty$1(_classNames, 'Textarea--resize', resize), _defineProperty$1(_classNames, 'Textarea--error', error), _classNames), className);
8588
8734
  return /*#__PURE__*/React.createElement("textarea", _extends$2({
@@ -13711,7 +13857,7 @@ _defineProperty$1(PopperWrapper, "defaultProps", {
13711
13857
  style: {}
13712
13858
  });
13713
13859
 
13714
- var _excluded$a = ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"];
13860
+ var _excluded$b = ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"];
13715
13861
  var propsList = ['appendToBody', 'trigger', 'hoverable', 'on', 'open', 'closeOnBackdropClick', 'offset', 'closeOnScroll'];
13716
13862
  var Popover = function Popover(props) {
13717
13863
  var position = props.position,
@@ -13723,7 +13869,7 @@ var Popover = function Popover(props) {
13723
13869
  hideOnReferenceEscape = props.hideOnReferenceEscape,
13724
13870
  _props$boundaryElemen = props.boundaryElement,
13725
13871
  boundaryElement = _props$boundaryElemen === void 0 ? document.body : _props$boundaryElemen,
13726
- rest = _objectWithoutProperties(props, _excluded$a);
13872
+ rest = _objectWithoutProperties(props, _excluded$b);
13727
13873
 
13728
13874
  var _React$useState = React.useState(!!props.open),
13729
13875
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -13775,18 +13921,19 @@ Popover.defaultProps = Object.assign({}, filterProps(PopperWrapper.defaultProps,
13775
13921
  customStyle: {}
13776
13922
  });
13777
13923
 
13778
- var _excluded$9 = ["type", "onClick"];
13924
+ var _excluded$a = ["type", "onClick"];
13779
13925
  var keyCodes = {
13780
13926
  BACKSPACE: 'Backspace',
13781
13927
  DELETE: 'Delete',
13782
13928
  ENTER: 'Enter'
13783
13929
  };
13784
13930
  var ChipInput = function ChipInput(props) {
13785
- var _classNames;
13931
+ var _classNames, _classNames2;
13786
13932
 
13787
13933
  var chipOptions = props.chipOptions,
13788
13934
  allowDuplicates = props.allowDuplicates,
13789
13935
  disabled = props.disabled,
13936
+ error = props.error,
13790
13937
  placeholder = props.placeholder,
13791
13938
  defaultValue = props.defaultValue,
13792
13939
  value = props.value,
@@ -13813,9 +13960,10 @@ var ChipInput = function ChipInput(props) {
13813
13960
  setChips(value);
13814
13961
  }
13815
13962
  }, [value]);
13816
- 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 = {
13817
13965
  ChipInput: true
13818
- }, _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);
13819
13967
 
13820
13968
  var onUpdateChips = function onUpdateChips(updatedChips) {
13821
13969
  if (onChange) onChange(updatedChips);
@@ -13892,7 +14040,7 @@ var ChipInput = function ChipInput(props) {
13892
14040
  var _chipOptions$type = chipOptions.type,
13893
14041
  type = _chipOptions$type === void 0 ? 'input' : _chipOptions$type,
13894
14042
  _onClick = chipOptions.onClick,
13895
- rest = _objectWithoutProperties(chipOptions, _excluded$9);
14043
+ rest = _objectWithoutProperties(chipOptions, _excluded$a);
13896
14044
 
13897
14045
  return /*#__PURE__*/React.createElement(Chip, _extends$2({
13898
14046
  "data-test": "DesignSystem-ChipInput--Chip",
@@ -13918,7 +14066,7 @@ var ChipInput = function ChipInput(props) {
13918
14066
  /* eslint-disable */
13919
14067
  React.createElement("div", {
13920
14068
  "data-test": "DesignSystem-ChipInput--Border",
13921
- className: "ChipInput-border"
14069
+ className: ChipInputBorderClass
13922
14070
  }, /*#__PURE__*/React.createElement("div", _extends$2({
13923
14071
  "data-test": "DesignSystem-ChipInput"
13924
14072
  }, baseProps, {
@@ -14364,7 +14512,7 @@ var HorizontalNav = function HorizontalNav(props) {
14364
14512
  }), list);
14365
14513
  };
14366
14514
 
14367
- var _excluded$8 = ["children", "tooltip"];
14515
+ var _excluded$9 = ["children", "tooltip"];
14368
14516
  var tooltipPropsList = ['trigger', 'on', 'open', 'offset', 'onToggle', 'dark', 'customStyle', 'closeOnBackdropClick', 'hideOnReferenceEscape', 'closeOnScroll'];
14369
14517
  var positionValue = {
14370
14518
  bottom: 'bottom',
@@ -14379,7 +14527,7 @@ var positionValue = {
14379
14527
  var Tooltip = function Tooltip(props) {
14380
14528
  var children = props.children,
14381
14529
  tooltip = props.tooltip,
14382
- rest = _objectWithoutProperties(props, _excluded$8);
14530
+ rest = _objectWithoutProperties(props, _excluded$9);
14383
14531
 
14384
14532
  var tooltipWrapper = /*#__PURE__*/React.createElement("div", {
14385
14533
  className: "Tooltip"
@@ -14455,7 +14603,7 @@ Dialog.defaultProps = {
14455
14603
  secondaryButtonAppearance: 'basic'
14456
14604
  };
14457
14605
 
14458
- var _excluded$7 = ["label"];
14606
+ var _excluded$8 = ["label"];
14459
14607
  var OverlayFooter = function OverlayFooter(props) {
14460
14608
  var open = props.open,
14461
14609
  className = props.className,
@@ -14492,7 +14640,7 @@ var OverlayFooter = function OverlayFooter(props) {
14492
14640
  className: classes
14493
14641
  }), actions.map(function (_ref, index) {
14494
14642
  _ref.label;
14495
- var options = _objectWithoutProperties(_ref, _excluded$7);
14643
+ var options = _objectWithoutProperties(_ref, _excluded$8);
14496
14644
 
14497
14645
  return /*#__PURE__*/React.createElement(Button, _extends$2({
14498
14646
  type: "button"
@@ -15853,7 +16001,7 @@ Pagination.defaultProps = {
15853
16001
  pageJumpDebounceDuration: 750
15854
16002
  };
15855
16003
 
15856
- var _excluded$6 = ["onChange"];
16004
+ var _excluded$7 = ["onChange"];
15857
16005
  var EditableInput = function EditableInput(props) {
15858
16006
  var _classNames2, _classNames4;
15859
16007
 
@@ -15867,7 +16015,7 @@ var EditableInput = function EditableInput(props) {
15867
16015
  className = props.className;
15868
16016
 
15869
16017
  var onInputChange = inputOptions.onChange,
15870
- rest = _objectWithoutProperties(inputOptions, _excluded$6);
16018
+ rest = _objectWithoutProperties(inputOptions, _excluded$7);
15871
16019
 
15872
16020
  var _React$useState = React.useState(props.value),
15873
16021
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -16030,7 +16178,7 @@ EditableInput.defaultProps = {
16030
16178
  inputOptions: {}
16031
16179
  };
16032
16180
 
16033
- var _excluded$5 = ["onChange", "chipOptions"],
16181
+ var _excluded$6 = ["onChange", "chipOptions"],
16034
16182
  _excluded2$1 = ["onClick"];
16035
16183
  var EditableChipInput = function EditableChipInput(props) {
16036
16184
  var _classNames3;
@@ -16044,7 +16192,7 @@ var EditableChipInput = function EditableChipInput(props) {
16044
16192
  var onChipInputChange = chipInputOptions.onChange,
16045
16193
  _chipInputOptions$chi = chipInputOptions.chipOptions,
16046
16194
  chipOptions = _chipInputOptions$chi === void 0 ? {} : _chipInputOptions$chi,
16047
- rest = _objectWithoutProperties(chipInputOptions, _excluded$5);
16195
+ rest = _objectWithoutProperties(chipInputOptions, _excluded$6);
16048
16196
 
16049
16197
  var _onClick = chipOptions.onClick,
16050
16198
  chipObject = _objectWithoutProperties(chipOptions, _excluded2$1);
@@ -16860,7 +17008,7 @@ var getCustomDates = function getCustomDates() {
16860
17008
  };
16861
17009
  };
16862
17010
 
16863
- 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"];
16864
17012
  var DateRangePicker = /*#__PURE__*/function (_React$Component) {
16865
17013
  _inherits(DateRangePicker, _React$Component);
16866
17014
 
@@ -17130,7 +17278,7 @@ var DateRangePicker = /*#__PURE__*/function (_React$Component) {
17130
17278
  disabledAfter = _this$props6.disabledAfter;
17131
17279
  _this$props6.onRangeChange;
17132
17280
  var rangeLimit = _this$props6.rangeLimit,
17133
- rest = _objectWithoutProperties(_this$props6, _excluded$4);
17281
+ rest = _objectWithoutProperties(_this$props6, _excluded$5);
17134
17282
 
17135
17283
  var _this$state3 = this.state,
17136
17284
  startDate = _this$state3.startDate,
@@ -18032,7 +18180,7 @@ function _fromFileEntry() {
18032
18180
  return _fromFileEntry.apply(this, arguments);
18033
18181
  }
18034
18182
 
18035
- 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"],
18036
18184
  _excluded2 = ["refKey", "onChange", "onClick"];
18037
18185
  var initialState = {
18038
18186
  isFocused: false,
@@ -18310,7 +18458,7 @@ var DropzoneBase = function DropzoneBase(props) {
18310
18458
  onDragOverCallback = _ref.onDragOverCallback,
18311
18459
  onDragLeaveCallback = _ref.onDragLeaveCallback,
18312
18460
  onDropCallback = _ref.onDropCallback,
18313
- rest = _objectWithoutProperties(_ref, _excluded$3);
18461
+ rest = _objectWithoutProperties(_ref, _excluded$4);
18314
18462
 
18315
18463
  return _objectSpread2(_defineProperty$1({
18316
18464
  onDragEnter: composeDragHandler(composeEventHandlers(onDragEnterCallback, onDragEnterCb)),
@@ -20508,7 +20656,7 @@ Header.defaultProps = {
20508
20656
  showFilters: true
20509
20657
  };
20510
20658
 
20511
- var _excluded$2 = ["children"];
20659
+ var _excluded$3 = ["children"];
20512
20660
 
20513
20661
  var defaultErrorTemplate = function defaultErrorTemplate(props) {
20514
20662
  var _props$errorType = props.errorType,
@@ -20893,7 +21041,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
20893
21041
 
20894
21042
  var _ref = headerOptions,
20895
21043
  headerChildren = _ref.children,
20896
- headerAttr = _objectWithoutProperties(_ref, _excluded$2);
21044
+ headerAttr = _objectWithoutProperties(_ref, _excluded$3);
20897
21045
 
20898
21046
  var classes = className ? " ".concat(className) : '';
20899
21047
  var totalRecords = this.state.totalRecords;
@@ -21375,7 +21523,7 @@ FileList.defaultProps = {
21375
21523
  };
21376
21524
  FileList.displayName = 'FileList';
21377
21525
 
21378
- 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"];
21379
21527
  var KEY_CODE = {
21380
21528
  backspace: 'Backspace',
21381
21529
  left: 'ArrowLeft',
@@ -21400,7 +21548,7 @@ var VerificationCodeInput = function VerificationCodeInput(props) {
21400
21548
  onBlur = props.onBlur,
21401
21549
  className = props.className;
21402
21550
  props.value;
21403
- var rest = _objectWithoutProperties(props, _excluded$1);
21551
+ var rest = _objectWithoutProperties(props, _excluded$2);
21404
21552
 
21405
21553
  var initialValues = useMemo(function () {
21406
21554
  if (props.value && props.value.length) {
@@ -21806,7 +21954,7 @@ var HelpText = function HelpText(props) {
21806
21954
  };
21807
21955
  HelpText.displayName = 'HelpText';
21808
21956
 
21809
- var _excluded = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign"];
21957
+ var _excluded$1 = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign"];
21810
21958
  var sizeMapping = {
21811
21959
  tiny: 12,
21812
21960
  regular: 16
@@ -21823,7 +21971,7 @@ var LinkButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
21823
21971
  subtle = props.subtle,
21824
21972
  size = props.size,
21825
21973
  iconAlign = props.iconAlign,
21826
- rest = _objectWithoutProperties(props, _excluded);
21974
+ rest = _objectWithoutProperties(props, _excluded$1);
21827
21975
 
21828
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));
21829
21977
  var iconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'LinkButton-icon', true), _defineProperty$1(_classNames2, "LinkButton-icon--".concat(iconAlign), children && iconAlign), _classNames2));
@@ -21849,6 +21997,42 @@ LinkButton.defaultProps = {
21849
21997
  iconAlign: 'left'
21850
21998
  };
21851
21999
 
21852
- var version = "2.19.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";
21853
22037
 
21854
- 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 };