@innovaccer/design-system 2.19.0 → 2.21.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 (52) hide show
  1. package/CHANGELOG.md +99 -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 +101 -48
  14. package/dist/core/common.type.d.ts +6 -0
  15. package/dist/core/components/atoms/_chip/index.d.ts +2 -0
  16. package/dist/core/components/atoms/actionCard/ActionCard.d.ts +13 -0
  17. package/dist/core/components/atoms/actionCard/index.d.ts +2 -0
  18. package/dist/core/components/atoms/button/Button.d.ts +3 -1
  19. package/dist/core/components/atoms/chip/Chip.d.ts +2 -0
  20. package/dist/core/components/atoms/dropdown/DropdownButton.d.ts +2 -0
  21. package/dist/core/components/atoms/dropdown/option/index.d.ts +2 -1
  22. package/dist/core/components/atoms/icon/Icon.d.ts +7 -0
  23. package/dist/core/components/atoms/icon/utils.d.ts +7 -0
  24. package/dist/core/components/atoms/input/Input.d.ts +2 -1
  25. package/dist/core/components/atoms/input/actionButton/ActionButton.d.ts +3 -1
  26. package/dist/core/components/atoms/linkButton/LinkButton.d.ts +2 -0
  27. package/dist/core/components/atoms/metaList/Meta.d.ts +2 -0
  28. package/dist/core/components/atoms/metricInput/MetricInput.d.ts +2 -1
  29. package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +20 -20
  30. package/dist/core/components/molecules/chipInput/ChipInput.d.ts +2 -0
  31. package/dist/core/components/molecules/tabs/Tabs.d.ts +2 -0
  32. package/dist/core/components/organisms/calendar/utility.d.ts +1 -0
  33. package/dist/core/index.d.ts +1 -0
  34. package/dist/core/index.type.d.ts +1 -0
  35. package/dist/core/utils/navigationHelper.d.ts +2 -0
  36. package/dist/index.esm.js +381 -170
  37. package/dist/index.js +313 -102
  38. package/dist/index.js.map +1 -1
  39. package/dist/index.umd.js +1 -1
  40. package/dist/index.umd.js.br +0 -0
  41. package/dist/index.umd.js.gz +0 -0
  42. package/package.json +1 -1
  43. package/css/dist/MaterialIcons-Regular.ttf +0 -0
  44. package/css/dist/MaterialIconsOutlined-Regular.otf +0 -0
  45. package/css/dist/MaterialIconsRound-Regular.otf +0 -0
  46. package/css/dist/MaterialIconsSharp-Regular.otf +0 -0
  47. package/css/dist/MaterialIconsTwoTone-Regular.otf +0 -0
  48. package/css/material-design-icons/iconfont/MaterialIcons-Regular.ttf +0 -0
  49. package/css/material-design-icons/iconfont/MaterialIconsOutlined-Regular.otf +0 -0
  50. package/css/material-design-icons/iconfont/MaterialIconsRound-Regular.otf +0 -0
  51. package/css/material-design-icons/iconfont/MaterialIconsSharp-Regular.otf +0 -0
  52. 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: 1695030042653
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.19.0
5
+ * Version: v2.21.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
@@ -2778,7 +2939,8 @@ var GenericChip = function GenericChip(props) {
2778
2939
  selected = props.selected,
2779
2940
  onClose = props.onClose,
2780
2941
  onClick = props.onClick,
2781
- labelPrefix = props.labelPrefix;
2942
+ labelPrefix = props.labelPrefix,
2943
+ iconVariations = props.iconVariations;
2782
2944
  var baseProps = extractBaseProps(props);
2783
2945
 
2784
2946
  var iconClass = function iconClass(align) {
@@ -2841,6 +3003,7 @@ var GenericChip = function GenericChip(props) {
2841
3003
  }), icon && /*#__PURE__*/React.createElement(Icon, {
2842
3004
  "data-test": "DesignSystem-GenericChip--Icon",
2843
3005
  name: icon,
3006
+ variations: iconVariations,
2844
3007
  appearance: iconAppearance('left'),
2845
3008
  className: iconClass('left')
2846
3009
  }), renderLabel(), clearButton && /*#__PURE__*/React.createElement("div", {
@@ -2872,7 +3035,8 @@ var Chip = function Chip(props) {
2872
3035
  onClick = props.onClick,
2873
3036
  name = props.name,
2874
3037
  className = props.className,
2875
- labelPrefix = props.labelPrefix;
3038
+ labelPrefix = props.labelPrefix,
3039
+ iconVariations = props.iconVariations;
2876
3040
  var baseProps = extractBaseProps(props);
2877
3041
 
2878
3042
  var onCloseHandler = function onCloseHandler() {
@@ -2894,6 +3058,7 @@ var Chip = function Chip(props) {
2894
3058
  label: label,
2895
3059
  selected: select,
2896
3060
  icon: icon,
3061
+ iconVariations: iconVariations,
2897
3062
  clearButton: clearbutton,
2898
3063
  disabled: disabled,
2899
3064
  className: chipClass,
@@ -2936,7 +3101,8 @@ var ChipGroup = function ChipGroup(props) {
2936
3101
  disabled = item.disabled,
2937
3102
  selected = item.selected,
2938
3103
  clearButton = item.clearButton,
2939
- name = item.name;
3104
+ name = item.name,
3105
+ iconVariations = item.iconVariations;
2940
3106
  return /*#__PURE__*/React.createElement("span", {
2941
3107
  key: ind,
2942
3108
  className: "ChipGroup-item"
@@ -2948,6 +3114,7 @@ var ChipGroup = function ChipGroup(props) {
2948
3114
  icon: icon,
2949
3115
  disabled: disabled,
2950
3116
  clearButton: clearButton,
3117
+ iconVariations: iconVariations,
2951
3118
  type: type,
2952
3119
  onClick: function onClick() {
2953
3120
  return onClickHandler(item);
@@ -3030,7 +3197,7 @@ var CheckboxIcon = function CheckboxIcon(props) {
3030
3197
  }
3031
3198
  };
3032
3199
 
3033
- var _excluded$v = ["size", "tabIndex", "defaultChecked", "indeterminate", "label", "error", "disabled", "onChange", "name", "value", "className", "checked", "helpText", "id"];
3200
+ var _excluded$x = ["size", "tabIndex", "defaultChecked", "indeterminate", "label", "error", "disabled", "onChange", "name", "value", "className", "checked", "helpText", "id"];
3034
3201
  var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3035
3202
  var _classNames, _classNames2, _classNames3, _classNames4, _classNames5, _classNames6;
3036
3203
 
@@ -3051,7 +3218,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3051
3218
  helpText = props.helpText,
3052
3219
  _props$id = props.id,
3053
3220
  id = _props$id === void 0 ? "".concat(name, "-").concat(label, "-").concat(uidGenerator()) : _props$id,
3054
- rest = _objectWithoutProperties(props, _excluded$v);
3221
+ rest = _objectWithoutProperties(props, _excluded$x);
3055
3222
 
3056
3223
  var ref = React.useRef(null);
3057
3224
  React.useImperativeHandle(forwardedRef, function () {
@@ -3132,7 +3299,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3132
3299
  });
3133
3300
  Checkbox.displayName = 'Checkbox';
3134
3301
 
3135
- var _excluded$u = ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"];
3302
+ var _excluded$w = ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"];
3136
3303
  var Column = /*#__PURE__*/React.forwardRef(function (props, ref) {
3137
3304
  var _classNames;
3138
3305
 
@@ -3144,7 +3311,7 @@ var Column = /*#__PURE__*/React.forwardRef(function (props, ref) {
3144
3311
  sizeXL = props.sizeXL,
3145
3312
  className = props.className,
3146
3313
  children = props.children,
3147
- rest = _objectWithoutProperties(props, _excluded$u);
3314
+ rest = _objectWithoutProperties(props, _excluded$w);
3148
3315
 
3149
3316
  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
3317
  return /*#__PURE__*/React.createElement("div", _extends$2({
@@ -3255,7 +3422,7 @@ var Trigger$1 = function Trigger(props) {
3255
3422
  }));
3256
3423
  };
3257
3424
 
3258
- var _excluded$t = ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect", "size", "showTodayDate", "children", "view"];
3425
+ var _excluded$v = ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect", "size", "showTodayDate", "children", "view"];
3259
3426
  var DatePicker = /*#__PURE__*/function (_React$Component) {
3260
3427
  _inherits(DatePicker, _React$Component);
3261
3428
 
@@ -3398,7 +3565,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
3398
3565
  _this$props4$children = _this$props4.children,
3399
3566
  children = _this$props4$children === void 0 ? /*#__PURE__*/React.createElement(React.Fragment, null) : _this$props4$children,
3400
3567
  view = _this$props4.view,
3401
- rest = _objectWithoutProperties(_this$props4, _excluded$t);
3568
+ rest = _objectWithoutProperties(_this$props4, _excluded$v);
3402
3569
 
3403
3570
  var date = this.state.date;
3404
3571
  var months = config.months;
@@ -4462,7 +4629,7 @@ function debounce$1 (delay, atBegin, callback) {
4462
4629
  return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);
4463
4630
  }
4464
4631
 
4465
- var _excluded$s = ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error"];
4632
+ var _excluded$u = ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error", "iconVariations"];
4466
4633
  var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4467
4634
  var _classNames, _classNames2;
4468
4635
 
@@ -4478,7 +4645,8 @@ var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4478
4645
  open = props.open,
4479
4646
  inlineLabel = props.inlineLabel,
4480
4647
  error = props.error,
4481
- rest = _objectWithoutProperties(props, _excluded$s);
4648
+ iconVariations = props.iconVariations,
4649
+ rest = _objectWithoutProperties(props, _excluded$u);
4482
4650
 
4483
4651
  var buttonDisabled = disabled ? 'disabled' : 'default';
4484
4652
  var trimmedPlaceholder = placeholder.trim();
@@ -4502,12 +4670,14 @@ var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4502
4670
  }, "".concat(inlineLabel.trim().charAt(0).toUpperCase()).concat(inlineLabel.trim().slice(1))), icon && !inlineLabel && /*#__PURE__*/React.createElement(Icon, {
4503
4671
  appearance: buttonDisabled,
4504
4672
  className: "d-flex align-items-center mr-4",
4505
- name: icon
4673
+ name: icon,
4674
+ variations: iconVariations
4506
4675
  }), value && /*#__PURE__*/React.createElement("span", {
4507
4676
  className: textClass
4508
4677
  }, value)), /*#__PURE__*/React.createElement(Icon, {
4509
4678
  appearance: buttonDisabled,
4510
- name: iconName
4679
+ name: iconName,
4680
+ variations: iconVariations
4511
4681
  }));
4512
4682
  });
4513
4683
  DropdownButton.displayName = 'DropdownButton';
@@ -4645,7 +4815,8 @@ var IconOption = function IconOption(props) {
4645
4815
  dataTest = props.dataTest;
4646
4816
  var label = optionData.label,
4647
4817
  icon = optionData.icon,
4648
- disabled = optionData.disabled;
4818
+ disabled = optionData.disabled,
4819
+ iconVariations = optionData.iconVariations;
4649
4820
  var OptionClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "".concat(className), true), _defineProperty$1(_classNames, 'Option--icon', icon), _classNames));
4650
4821
  return (
4651
4822
  /*#__PURE__*/
@@ -4661,7 +4832,8 @@ var IconOption = function IconOption(props) {
4661
4832
  }, icon && /*#__PURE__*/React.createElement(Icon, {
4662
4833
  className: "Option-icon mr-4",
4663
4834
  "data-test": "".concat(dataTest, "--Icon"),
4664
- name: icon
4835
+ name: icon,
4836
+ variations: iconVariations
4665
4837
  }), /*#__PURE__*/React.createElement("div", {
4666
4838
  className: 'Option-label'
4667
4839
  }, /*#__PURE__*/React.createElement(Text, {
@@ -5078,7 +5250,8 @@ var DropdownList = function DropdownList(props) {
5078
5250
  error = props.error,
5079
5251
  disabled = props.disabled,
5080
5252
  inlineLabel = props.inlineLabel,
5081
- triggerLabel = props.triggerLabel;
5253
+ triggerLabel = props.triggerLabel,
5254
+ iconVariations = props.iconVariations;
5082
5255
  var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React.createElement(React.Fragment, null);
5083
5256
  var NewCustomTrigger = /*#__PURE__*/React.cloneElement(CustomTrigger, {
5084
5257
  tabIndex: 0,
@@ -5093,7 +5266,8 @@ var DropdownList = function DropdownList(props) {
5093
5266
  inlineLabel: inlineLabel,
5094
5267
  menu: menu,
5095
5268
  error: error,
5096
- ref: dropdownTriggerRef
5269
+ ref: dropdownTriggerRef,
5270
+ iconVariations: iconVariations
5097
5271
  }, triggerLabel);
5098
5272
  var dropdownStyle = {
5099
5273
  maxHeight: maxHeight,
@@ -5483,7 +5657,7 @@ var DropdownList = function DropdownList(props) {
5483
5657
 
5484
5658
  DropdownList.displayName = 'DropdownList';
5485
5659
 
5486
- var _excluded$r = ["triggerOptions", "selected", "tabIndex"];
5660
+ var _excluded$t = ["triggerOptions", "selected", "tabIndex"];
5487
5661
  var inputRef = /*#__PURE__*/React.createRef();
5488
5662
 
5489
5663
  /**
@@ -6131,7 +6305,7 @@ var Dropdown = /*#__PURE__*/function (_React$Component) {
6131
6305
  triggerOptions = _this$props14$trigger === void 0 ? {} : _this$props14$trigger;
6132
6306
  _this$props14.selected;
6133
6307
  var tabIndex = _this$props14.tabIndex,
6134
- rest = _objectWithoutProperties(_this$props14, _excluded$r);
6308
+ rest = _objectWithoutProperties(_this$props14, _excluded$t);
6135
6309
 
6136
6310
  var remainingOptionsLen = searchedOptionsLength - options.length;
6137
6311
  var firstEnabledOption = tabIndex ? tabIndex : _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) {
@@ -6177,7 +6351,7 @@ _defineProperty$1(Dropdown, "defaultProps", {
6177
6351
  searchDebounceDuration: 300
6178
6352
  });
6179
6353
 
6180
- var _excluded$q = ["appearance", "size", "children", "className", "color"];
6354
+ var _excluded$s = ["appearance", "size", "children", "className", "color"];
6181
6355
  var sizeMap = {
6182
6356
  s: 'h5',
6183
6357
  m: 'h4',
@@ -6193,7 +6367,7 @@ var Heading = function Heading(props) {
6193
6367
  children = props.children,
6194
6368
  className = props.className,
6195
6369
  color = props.color,
6196
- rest = _objectWithoutProperties(props, _excluded$q);
6370
+ rest = _objectWithoutProperties(props, _excluded$s);
6197
6371
 
6198
6372
  var classes = classnames((_classNames = {
6199
6373
  Heading: true
@@ -6211,43 +6385,28 @@ Heading.defaultProps = {
6211
6385
  size: 'm'
6212
6386
  };
6213
6387
 
6388
+ var _excluded$r = ["className", "iconVariations"];
6214
6389
  var ActionButton$1 = function ActionButton(props) {
6215
6390
  var _classNames;
6216
6391
 
6217
6392
  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
6229
-
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
- }
6393
+ iconVariations = props.iconVariations,
6394
+ rest = _objectWithoutProperties(props, _excluded$r);
6236
6395
 
6237
- return /*#__PURE__*/React.createElement("i", _extends$2({}, baseProps, {
6396
+ var iconClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ActionButton', true), _defineProperty$1(_classNames, "".concat(className), className), _classNames));
6397
+ return /*#__PURE__*/React.createElement(Icon, _extends$2({
6238
6398
  className: iconClass,
6239
- style: styles
6240
- }, accessibilityProps, {
6399
+ variations: iconVariations,
6241
6400
  "data-test": "DesignSystem-Input-ActionButton"
6242
- }), "".concat(name, "_").concat(type));
6401
+ }, rest));
6243
6402
  };
6244
6403
  ActionButton$1.displayName = 'ActionButton';
6245
6404
  ActionButton$1.defaultProps = {
6246
6405
  size: 16,
6247
- type: 'round'
6406
+ type: 'rounded'
6248
6407
  };
6249
6408
 
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"];
6409
+ 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", "iconVariations"];
6251
6410
  var sizeMapping$2 = {
6252
6411
  tiny: 12,
6253
6412
  regular: 16,
@@ -6288,7 +6447,8 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6288
6447
  autoFocus = props.autoFocus,
6289
6448
  disabled = props.disabled,
6290
6449
  readOnly = props.readOnly,
6291
- rest = _objectWithoutProperties(props, _excluded$p);
6450
+ iconVariations = props.iconVariations,
6451
+ rest = _objectWithoutProperties(props, _excluded$q);
6292
6452
 
6293
6453
  var ref = React.useRef(null);
6294
6454
 
@@ -6346,7 +6506,8 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6346
6506
  className: leftIconClass
6347
6507
  }, /*#__PURE__*/React.createElement(Icon, {
6348
6508
  name: icon,
6349
- size: sizeMapping$2[size]
6509
+ size: sizeMapping$2[size],
6510
+ variations: iconVariations
6350
6511
  })), /*#__PURE__*/React.createElement("input", _extends$2({
6351
6512
  "data-test": "DesignSystem-Input"
6352
6513
  }, baseProps, rest, {
@@ -6396,7 +6557,7 @@ Object.assign(Input, {
6396
6557
  ActionButton: ActionButton$1
6397
6558
  });
6398
6559
 
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"];
6560
+ var _excluded$p = ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value", "showActionButton", "onKeyDown", "iconVariations"];
6400
6561
  var sizeMapping$1 = {
6401
6562
  regular: 16,
6402
6563
  large: 20
@@ -6446,7 +6607,8 @@ var MetricInput = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6446
6607
  _props$showActionButt = props.showActionButton,
6447
6608
  showActionButton = _props$showActionButt === void 0 ? true : _props$showActionButt,
6448
6609
  onKeyDown = props.onKeyDown,
6449
- rest = _objectWithoutProperties(props, _excluded$o);
6610
+ iconVariations = props.iconVariations,
6611
+ rest = _objectWithoutProperties(props, _excluded$p);
6450
6612
 
6451
6613
  var ref = React.useRef(null);
6452
6614
  var isUncontrolled = valueProp === undefined;
@@ -6544,6 +6706,7 @@ var MetricInput = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6544
6706
  }, icon && /*#__PURE__*/React.createElement(Icon, {
6545
6707
  "data-test": "DesignSystem-MetricInput--icon",
6546
6708
  name: icon,
6709
+ variations: iconVariations,
6547
6710
  size: sizeMapping$1[size],
6548
6711
  appearance: !value ? 'disabled' : 'subtle',
6549
6712
  className: iconClass
@@ -6609,7 +6772,7 @@ var getDefaultValue = function getDefaultValue(mask, placeholderChar) {
6609
6772
  return val;
6610
6773
  };
6611
6774
 
6612
- var _excluded$n = ["mask", "value", "placeholderChar", "validators", "clearOnEmptyBlur", "defaultValue", "mask", "error", "caption", "required", "onChange", "onPaste", "onBlur", "onFocus", "onClear", "className", "id", "helpText"];
6775
+ var _excluded$o = ["mask", "value", "placeholderChar", "validators", "clearOnEmptyBlur", "defaultValue", "mask", "error", "caption", "required", "onChange", "onPaste", "onBlur", "onFocus", "onClear", "className", "id", "helpText"];
6613
6776
 
6614
6777
  /**
6615
6778
  * It works as Uncontrolled Input
@@ -6638,7 +6801,7 @@ var InputMask = /*#__PURE__*/React.forwardRef(function (props, forwardRef) {
6638
6801
  className = props.className,
6639
6802
  id = props.id,
6640
6803
  helpText = props.helpText,
6641
- rest = _objectWithoutProperties(props, _excluded$n);
6804
+ rest = _objectWithoutProperties(props, _excluded$o);
6642
6805
 
6643
6806
  var isEditable = React.useCallback(function (pos) {
6644
6807
  return _typeof(mask[pos]) === 'object';
@@ -6942,7 +7105,7 @@ InputMask.utils = {
6942
7105
  };
6943
7106
  var X = InputMask;
6944
7107
 
6945
- var _excluded$m = ["required", "optional", "withInput", "disabled", "children", "className", "info"];
7108
+ var _excluded$n = ["required", "optional", "withInput", "disabled", "children", "className", "info"];
6946
7109
 
6947
7110
  /**
6948
7111
  * *NOTE: Extends props with HTMLProps<HTMLLabelElement>*
@@ -6957,7 +7120,7 @@ var Label = function Label(props) {
6957
7120
  children = props.children,
6958
7121
  className = props.className,
6959
7122
  info = props.info,
6960
- rest = _objectWithoutProperties(props, _excluded$m);
7123
+ rest = _objectWithoutProperties(props, _excluded$n);
6961
7124
 
6962
7125
  var baseProps = extractBaseProps(props);
6963
7126
  var LabelClass = classnames((_classNames = {
@@ -7115,7 +7278,7 @@ var Editable = function Editable(props) {
7115
7278
  };
7116
7279
  Editable.displayName = 'Editable';
7117
7280
 
7118
- var _excluded$l = ["onChange", "onClose"];
7281
+ var _excluded$m = ["onChange", "onClose"];
7119
7282
  var EditableDropdown = function EditableDropdown(props) {
7120
7283
  var _classNames2;
7121
7284
 
@@ -7126,7 +7289,7 @@ var EditableDropdown = function EditableDropdown(props) {
7126
7289
 
7127
7290
  var onDropdownChange = dropdownOptions.onChange,
7128
7291
  onDropdownClose = dropdownOptions.onClose,
7129
- rest = _objectWithoutProperties(dropdownOptions, _excluded$l);
7292
+ rest = _objectWithoutProperties(dropdownOptions, _excluded$m);
7130
7293
 
7131
7294
  var _React$useState = React.useState(placeholder),
7132
7295
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -7208,7 +7371,7 @@ EditableDropdown.defaultProps = {
7208
7371
  dropdownOptions: {}
7209
7372
  };
7210
7373
 
7211
- var _excluded$k = ["children", "className", "appearance", "size", "disabled"];
7374
+ var _excluded$l = ["children", "className", "appearance", "size", "disabled"];
7212
7375
  var Link = function Link(props) {
7213
7376
  var _classNames;
7214
7377
 
@@ -7217,7 +7380,7 @@ var Link = function Link(props) {
7217
7380
  appearance = props.appearance,
7218
7381
  size = props.size,
7219
7382
  disabled = props.disabled,
7220
- rest = _objectWithoutProperties(props, _excluded$k);
7383
+ rest = _objectWithoutProperties(props, _excluded$l);
7221
7384
 
7222
7385
  var classes = classnames((_classNames = {
7223
7386
  Link: true
@@ -7301,7 +7464,8 @@ Message.defaultProps = {
7301
7464
  var Meta = function Meta(props) {
7302
7465
  var label = props.label,
7303
7466
  icon = props.icon,
7304
- size = props.size;
7467
+ size = props.size,
7468
+ iconVariations = props.iconVariations;
7305
7469
  return /*#__PURE__*/React.createElement("span", {
7306
7470
  "data-test": "DesignSystem-MetaList--Meta",
7307
7471
  className: 'Meta'
@@ -7310,6 +7474,7 @@ var Meta = function Meta(props) {
7310
7474
  name: icon,
7311
7475
  appearance: "subtle",
7312
7476
  className: 'Meta-icon',
7477
+ variations: iconVariations,
7313
7478
  size: size === 'regular' ? 16 : 12
7314
7479
  }), /*#__PURE__*/React.createElement(Text, {
7315
7480
  size: size,
@@ -7343,7 +7508,8 @@ var MetaList = function MetaList(props) {
7343
7508
  }), list.map(function (item, ind) {
7344
7509
  var _item$label = item.label,
7345
7510
  label = _item$label === void 0 ? '' : _item$label,
7346
- icon = item.icon;
7511
+ icon = item.icon,
7512
+ iconVariations = item.iconVariations;
7347
7513
  var rightSeperator = ind !== list.length - 1;
7348
7514
  return /*#__PURE__*/React.createElement("span", {
7349
7515
  key: ind,
@@ -7351,7 +7517,8 @@ var MetaList = function MetaList(props) {
7351
7517
  }, /*#__PURE__*/React.createElement(Meta, {
7352
7518
  size: size,
7353
7519
  label: label,
7354
- icon: icon
7520
+ icon: icon,
7521
+ iconVariations: iconVariations
7355
7522
  }), rightSeperator && /*#__PURE__*/React.createElement(Icon, {
7356
7523
  "data-test": "DesignSystem-MetaList--rightSeperator",
7357
7524
  name: "fiber_manual_record",
@@ -8109,12 +8276,12 @@ _defineProperty$1(MultiSlider, "defaultProps", {
8109
8276
 
8110
8277
  _defineProperty$1(MultiSlider, "Handle", MultiSliderHandle);
8111
8278
 
8112
- var _excluded$j = ["children", "className", "onOutsideClick"];
8279
+ var _excluded$k = ["children", "className", "onOutsideClick"];
8113
8280
  var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) {
8114
8281
  var children = props.children,
8115
8282
  className = props.className,
8116
8283
  onOutsideClick = props.onOutsideClick,
8117
- rest = _objectWithoutProperties(props, _excluded$j);
8284
+ rest = _objectWithoutProperties(props, _excluded$k);
8118
8285
 
8119
8286
  var innerRef = React.useRef(null);
8120
8287
  React.useImperativeHandle(ref, function () {
@@ -8146,7 +8313,7 @@ var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) {
8146
8313
  });
8147
8314
  OutsideClick.displayName = 'OutsideClick';
8148
8315
 
8149
- var _excluded$i = ["appearance", "children", "className", "color"];
8316
+ var _excluded$j = ["appearance", "children", "className", "color"];
8150
8317
  var Paragraph = function Paragraph(props) {
8151
8318
  var _classNames;
8152
8319
 
@@ -8154,7 +8321,7 @@ var Paragraph = function Paragraph(props) {
8154
8321
  children = props.children,
8155
8322
  className = props.className,
8156
8323
  color = props.color,
8157
- rest = _objectWithoutProperties(props, _excluded$i);
8324
+ rest = _objectWithoutProperties(props, _excluded$j);
8158
8325
 
8159
8326
  var classes = classnames((_classNames = {
8160
8327
  Text: true
@@ -8202,7 +8369,7 @@ ProgressBar.defaultProps = {
8202
8369
  size: 'regular'
8203
8370
  };
8204
8371
 
8205
- var _excluded$h = ["size", "label", "disabled", "onChange", "name", "value", "checked", "defaultChecked", "className", "helpText", "error"];
8372
+ var _excluded$i = ["size", "label", "disabled", "onChange", "name", "value", "checked", "defaultChecked", "className", "helpText", "error"];
8206
8373
  var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8207
8374
  var _classNames, _classNames2, _classNames3;
8208
8375
 
@@ -8218,7 +8385,7 @@ var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8218
8385
  className = props.className,
8219
8386
  helpText = props.helpText,
8220
8387
  error = props.error,
8221
- rest = _objectWithoutProperties(props, _excluded$h);
8388
+ rest = _objectWithoutProperties(props, _excluded$i);
8222
8389
 
8223
8390
  var ref = React.useRef(null);
8224
8391
  React.useImperativeHandle(forwardedRef, function () {
@@ -8269,11 +8436,11 @@ var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
8269
8436
  });
8270
8437
  Radio.displayName = 'Radio';
8271
8438
 
8272
- var _excluded$g = ["className", "children"];
8439
+ var _excluded$h = ["className", "children"];
8273
8440
  var Row = /*#__PURE__*/React.forwardRef(function (props, ref) {
8274
8441
  var className = props.className,
8275
8442
  children = props.children,
8276
- rest = _objectWithoutProperties(props, _excluded$g);
8443
+ rest = _objectWithoutProperties(props, _excluded$h);
8277
8444
 
8278
8445
  var classes = classnames(_defineProperty$1({
8279
8446
  Row: true
@@ -8390,13 +8557,13 @@ Spinner.defaultProps = {
8390
8557
  size: 'medium'
8391
8558
  };
8392
8559
 
8393
- var _excluded$f = ["value", "defaultValue", "onRelease", "onChange"];
8560
+ var _excluded$g = ["value", "defaultValue", "onRelease", "onChange"];
8394
8561
  var Slider = function Slider(props) {
8395
8562
  var valueProp = props.value,
8396
8563
  defaultValue = props.defaultValue,
8397
8564
  onRelease = props.onRelease,
8398
8565
  onChange = props.onChange,
8399
- rest = _objectWithoutProperties(props, _excluded$f);
8566
+ rest = _objectWithoutProperties(props, _excluded$g);
8400
8567
 
8401
8568
  var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp),
8402
8569
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8429,7 +8596,7 @@ Slider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.defaultProps
8429
8596
  defaultValue: 0
8430
8597
  });
8431
8598
 
8432
- var _excluded$e = ["value", "defaultValue", "onChange", "onRelease"];
8599
+ var _excluded$f = ["value", "defaultValue", "onChange", "onRelease"];
8433
8600
  var RangeIndex;
8434
8601
 
8435
8602
  (function (RangeIndex) {
@@ -8442,7 +8609,7 @@ var RangeSlider = function RangeSlider(props) {
8442
8609
  defaultValue = props.defaultValue,
8443
8610
  onChange = props.onChange,
8444
8611
  onRelease = props.onRelease,
8445
- rest = _objectWithoutProperties(props, _excluded$e);
8612
+ rest = _objectWithoutProperties(props, _excluded$f);
8446
8613
 
8447
8614
  var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp),
8448
8615
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8478,7 +8645,7 @@ RangeSlider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.default
8478
8645
  defaultValue: [0, 10]
8479
8646
  });
8480
8647
 
8481
- var _excluded$d = ["appearance", "children", "className", "color"];
8648
+ var _excluded$e = ["appearance", "children", "className", "color"];
8482
8649
  var Subheading = function Subheading(props) {
8483
8650
  var _classNames;
8484
8651
 
@@ -8486,7 +8653,7 @@ var Subheading = function Subheading(props) {
8486
8653
  children = props.children,
8487
8654
  className = props.className,
8488
8655
  color = props.color,
8489
- rest = _objectWithoutProperties(props, _excluded$d);
8656
+ rest = _objectWithoutProperties(props, _excluded$e);
8490
8657
 
8491
8658
  var classes = classnames((_classNames = {
8492
8659
  Subheading: true
@@ -8503,7 +8670,7 @@ Subheading.defaultProps = {
8503
8670
  appearance: 'default'
8504
8671
  };
8505
8672
 
8506
- var _excluded$c = ["size", "defaultChecked", "disabled", "onChange", "name", "value", "className", "appearance", "checked"];
8673
+ var _excluded$d = ["size", "defaultChecked", "disabled", "onChange", "name", "value", "className", "appearance", "checked"];
8507
8674
 
8508
8675
  /**
8509
8676
  * ######Switch has two types:
@@ -8523,7 +8690,7 @@ var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) {
8523
8690
  className = props.className;
8524
8691
  props.appearance;
8525
8692
  var checkedProp = props.checked,
8526
- rest = _objectWithoutProperties(props, _excluded$c);
8693
+ rest = _objectWithoutProperties(props, _excluded$d);
8527
8694
 
8528
8695
  var _React$useState = React.useState(checkedProp === undefined ? defaultChecked : checkedProp),
8529
8696
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -8562,7 +8729,7 @@ var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) {
8562
8729
  });
8563
8730
  Switch.displayName = 'Switch';
8564
8731
 
8565
- var _excluded$b = ["rows", "resize", "disabled", "name", "placeholder", "value", "defaultValue", "required", "error", "onChange", "onClick", "onBlur", "onFocus", "className"];
8732
+ var _excluded$c = ["rows", "resize", "disabled", "name", "placeholder", "value", "defaultValue", "required", "error", "onChange", "onClick", "onBlur", "onFocus", "className"];
8566
8733
  var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) {
8567
8734
  var _classNames;
8568
8735
 
@@ -8582,7 +8749,7 @@ var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) {
8582
8749
  onBlur = props.onBlur,
8583
8750
  onFocus = props.onFocus,
8584
8751
  className = props.className,
8585
- rest = _objectWithoutProperties(props, _excluded$b);
8752
+ rest = _objectWithoutProperties(props, _excluded$c);
8586
8753
 
8587
8754
  var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Textarea', true), _defineProperty$1(_classNames, 'Textarea--resize', resize), _defineProperty$1(_classNames, 'Textarea--error', error), _classNames), className);
8588
8755
  return /*#__PURE__*/React.createElement("textarea", _extends$2({
@@ -13711,7 +13878,7 @@ _defineProperty$1(PopperWrapper, "defaultProps", {
13711
13878
  style: {}
13712
13879
  });
13713
13880
 
13714
- var _excluded$a = ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"];
13881
+ var _excluded$b = ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"];
13715
13882
  var propsList = ['appendToBody', 'trigger', 'hoverable', 'on', 'open', 'closeOnBackdropClick', 'offset', 'closeOnScroll'];
13716
13883
  var Popover = function Popover(props) {
13717
13884
  var position = props.position,
@@ -13723,7 +13890,7 @@ var Popover = function Popover(props) {
13723
13890
  hideOnReferenceEscape = props.hideOnReferenceEscape,
13724
13891
  _props$boundaryElemen = props.boundaryElement,
13725
13892
  boundaryElement = _props$boundaryElemen === void 0 ? document.body : _props$boundaryElemen,
13726
- rest = _objectWithoutProperties(props, _excluded$a);
13893
+ rest = _objectWithoutProperties(props, _excluded$b);
13727
13894
 
13728
13895
  var _React$useState = React.useState(!!props.open),
13729
13896
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -13775,18 +13942,19 @@ Popover.defaultProps = Object.assign({}, filterProps(PopperWrapper.defaultProps,
13775
13942
  customStyle: {}
13776
13943
  });
13777
13944
 
13778
- var _excluded$9 = ["type", "onClick"];
13945
+ var _excluded$a = ["type", "onClick"];
13779
13946
  var keyCodes = {
13780
13947
  BACKSPACE: 'Backspace',
13781
13948
  DELETE: 'Delete',
13782
13949
  ENTER: 'Enter'
13783
13950
  };
13784
13951
  var ChipInput = function ChipInput(props) {
13785
- var _classNames;
13952
+ var _classNames, _classNames2;
13786
13953
 
13787
13954
  var chipOptions = props.chipOptions,
13788
13955
  allowDuplicates = props.allowDuplicates,
13789
13956
  disabled = props.disabled,
13957
+ error = props.error,
13790
13958
  placeholder = props.placeholder,
13791
13959
  defaultValue = props.defaultValue,
13792
13960
  value = props.value,
@@ -13813,9 +13981,10 @@ var ChipInput = function ChipInput(props) {
13813
13981
  setChips(value);
13814
13982
  }
13815
13983
  }, [value]);
13816
- var ChipInputClass = classnames((_classNames = {
13984
+ var ChipInputBorderClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ChipInput-border', true), _defineProperty$1(_classNames, 'ChipInput-border--error', error), _classNames));
13985
+ var ChipInputClass = classnames((_classNames2 = {
13817
13986
  ChipInput: true
13818
- }, _defineProperty$1(_classNames, 'ChipInput--disabled', disabled), _defineProperty$1(_classNames, 'ChipInput--withChips', chips && chips.length > 0), _classNames), className);
13987
+ }, _defineProperty$1(_classNames2, 'ChipInput--disabled', disabled), _defineProperty$1(_classNames2, 'ChipInput--withChips', chips && chips.length > 0), _defineProperty$1(_classNames2, 'ChipInput--error', error), _classNames2), className);
13819
13988
 
13820
13989
  var onUpdateChips = function onUpdateChips(updatedChips) {
13821
13990
  if (onChange) onChange(updatedChips);
@@ -13892,7 +14061,7 @@ var ChipInput = function ChipInput(props) {
13892
14061
  var _chipOptions$type = chipOptions.type,
13893
14062
  type = _chipOptions$type === void 0 ? 'input' : _chipOptions$type,
13894
14063
  _onClick = chipOptions.onClick,
13895
- rest = _objectWithoutProperties(chipOptions, _excluded$9);
14064
+ rest = _objectWithoutProperties(chipOptions, _excluded$a);
13896
14065
 
13897
14066
  return /*#__PURE__*/React.createElement(Chip, _extends$2({
13898
14067
  "data-test": "DesignSystem-ChipInput--Chip",
@@ -13918,7 +14087,7 @@ var ChipInput = function ChipInput(props) {
13918
14087
  /* eslint-disable */
13919
14088
  React.createElement("div", {
13920
14089
  "data-test": "DesignSystem-ChipInput--Border",
13921
- className: "ChipInput-border"
14090
+ className: ChipInputBorderClass
13922
14091
  }, /*#__PURE__*/React.createElement("div", _extends$2({
13923
14092
  "data-test": "DesignSystem-ChipInput"
13924
14093
  }, baseProps, {
@@ -14119,7 +14288,8 @@ var MenuItem = function MenuItem(props) {
14119
14288
  }, menu.icon && /*#__PURE__*/React.createElement(Icon, {
14120
14289
  "data-test": "DesignSystem-VerticalNav--Icon",
14121
14290
  className: expanded ? 'mr-4' : '',
14122
- name: menu.icon
14291
+ name: menu.icon,
14292
+ variations: menu.iconVariations
14123
14293
  }), expanded && /*#__PURE__*/React.createElement(_MenuLabel, {
14124
14294
  label: menu.label,
14125
14295
  labelColor: itemColor
@@ -14315,6 +14485,7 @@ var HorizontalNav = function HorizontalNav(props) {
14315
14485
  return /*#__PURE__*/React.createElement(Icon, {
14316
14486
  className: "mr-3 HorizontalNav-animate",
14317
14487
  name: menu.icon,
14488
+ variations: menu.iconVariations,
14318
14489
  "data-test": "DesignSystem-HorizontalNav--Icon"
14319
14490
  });
14320
14491
  }
@@ -14364,7 +14535,7 @@ var HorizontalNav = function HorizontalNav(props) {
14364
14535
  }), list);
14365
14536
  };
14366
14537
 
14367
- var _excluded$8 = ["children", "tooltip"];
14538
+ var _excluded$9 = ["children", "tooltip"];
14368
14539
  var tooltipPropsList = ['trigger', 'on', 'open', 'offset', 'onToggle', 'dark', 'customStyle', 'closeOnBackdropClick', 'hideOnReferenceEscape', 'closeOnScroll'];
14369
14540
  var positionValue = {
14370
14541
  bottom: 'bottom',
@@ -14379,7 +14550,7 @@ var positionValue = {
14379
14550
  var Tooltip = function Tooltip(props) {
14380
14551
  var children = props.children,
14381
14552
  tooltip = props.tooltip,
14382
- rest = _objectWithoutProperties(props, _excluded$8);
14553
+ rest = _objectWithoutProperties(props, _excluded$9);
14383
14554
 
14384
14555
  var tooltipWrapper = /*#__PURE__*/React.createElement("div", {
14385
14556
  className: "Tooltip"
@@ -14455,7 +14626,7 @@ Dialog.defaultProps = {
14455
14626
  secondaryButtonAppearance: 'basic'
14456
14627
  };
14457
14628
 
14458
- var _excluded$7 = ["label"];
14629
+ var _excluded$8 = ["label"];
14459
14630
  var OverlayFooter = function OverlayFooter(props) {
14460
14631
  var open = props.open,
14461
14632
  className = props.className,
@@ -14492,7 +14663,7 @@ var OverlayFooter = function OverlayFooter(props) {
14492
14663
  className: classes
14493
14664
  }), actions.map(function (_ref, index) {
14494
14665
  _ref.label;
14495
- var options = _objectWithoutProperties(_ref, _excluded$7);
14666
+ var options = _objectWithoutProperties(_ref, _excluded$8);
14496
14667
 
14497
14668
  return /*#__PURE__*/React.createElement(Button, _extends$2({
14498
14669
  type: "button"
@@ -15853,7 +16024,7 @@ Pagination.defaultProps = {
15853
16024
  pageJumpDebounceDuration: 750
15854
16025
  };
15855
16026
 
15856
- var _excluded$6 = ["onChange"];
16027
+ var _excluded$7 = ["onChange"];
15857
16028
  var EditableInput = function EditableInput(props) {
15858
16029
  var _classNames2, _classNames4;
15859
16030
 
@@ -15867,7 +16038,7 @@ var EditableInput = function EditableInput(props) {
15867
16038
  className = props.className;
15868
16039
 
15869
16040
  var onInputChange = inputOptions.onChange,
15870
- rest = _objectWithoutProperties(inputOptions, _excluded$6);
16041
+ rest = _objectWithoutProperties(inputOptions, _excluded$7);
15871
16042
 
15872
16043
  var _React$useState = React.useState(props.value),
15873
16044
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -16030,7 +16201,7 @@ EditableInput.defaultProps = {
16030
16201
  inputOptions: {}
16031
16202
  };
16032
16203
 
16033
- var _excluded$5 = ["onChange", "chipOptions"],
16204
+ var _excluded$6 = ["onChange", "chipOptions"],
16034
16205
  _excluded2$1 = ["onClick"];
16035
16206
  var EditableChipInput = function EditableChipInput(props) {
16036
16207
  var _classNames3;
@@ -16044,7 +16215,7 @@ var EditableChipInput = function EditableChipInput(props) {
16044
16215
  var onChipInputChange = chipInputOptions.onChange,
16045
16216
  _chipInputOptions$chi = chipInputOptions.chipOptions,
16046
16217
  chipOptions = _chipInputOptions$chi === void 0 ? {} : _chipInputOptions$chi,
16047
- rest = _objectWithoutProperties(chipInputOptions, _excluded$5);
16218
+ rest = _objectWithoutProperties(chipInputOptions, _excluded$6);
16048
16219
 
16049
16220
  var _onClick = chipOptions.onClick,
16050
16221
  chipObject = _objectWithoutProperties(chipOptions, _excluded2$1);
@@ -16860,7 +17031,7 @@ var getCustomDates = function getCustomDates() {
16860
17031
  };
16861
17032
  };
16862
17033
 
16863
- var _excluded$4 = ["startDate", "endDate", "yearNav", "monthNav", "open", "inputFormat", "outputFormat", "startInputOptions", "endInputOptions", "validators", "withInput", "position", "disabledBefore", "disabledAfter", "onRangeChange", "rangeLimit"];
17034
+ var _excluded$5 = ["startDate", "endDate", "yearNav", "monthNav", "open", "inputFormat", "outputFormat", "startInputOptions", "endInputOptions", "validators", "withInput", "position", "disabledBefore", "disabledAfter", "onRangeChange", "rangeLimit"];
16864
17035
  var DateRangePicker = /*#__PURE__*/function (_React$Component) {
16865
17036
  _inherits(DateRangePicker, _React$Component);
16866
17037
 
@@ -17130,7 +17301,7 @@ var DateRangePicker = /*#__PURE__*/function (_React$Component) {
17130
17301
  disabledAfter = _this$props6.disabledAfter;
17131
17302
  _this$props6.onRangeChange;
17132
17303
  var rangeLimit = _this$props6.rangeLimit,
17133
- rest = _objectWithoutProperties(_this$props6, _excluded$4);
17304
+ rest = _objectWithoutProperties(_this$props6, _excluded$5);
17134
17305
 
17135
17306
  var _this$state3 = this.state,
17136
17307
  startDate = _this$state3.startDate,
@@ -17398,7 +17569,8 @@ var Tabs = function Tabs(props) {
17398
17569
  var _ref = tab,
17399
17570
  count = _ref.count,
17400
17571
  icon = _ref.icon,
17401
- disabled = _ref.disabled;
17572
+ disabled = _ref.disabled,
17573
+ iconVariations = _ref.iconVariations;
17402
17574
 
17403
17575
  if (count !== undefined) {
17404
17576
  return /*#__PURE__*/React.createElement(Pills, {
@@ -17416,6 +17588,7 @@ var Tabs = function Tabs(props) {
17416
17588
  "data-test": "DesignSystem-Tabs--Icon",
17417
17589
  className: "mr-4 ".concat(iconClass),
17418
17590
  name: icon,
17591
+ variations: iconVariations,
17419
17592
  appearance: iconAppearance
17420
17593
  });
17421
17594
  }
@@ -18032,7 +18205,7 @@ function _fromFileEntry() {
18032
18205
  return _fromFileEntry.apply(this, arguments);
18033
18206
  }
18034
18207
 
18035
- var _excluded$3 = ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnterCallback", "onDragOverCallback", "onDragLeaveCallback", "onDropCallback"],
18208
+ var _excluded$4 = ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnterCallback", "onDragOverCallback", "onDragLeaveCallback", "onDropCallback"],
18036
18209
  _excluded2 = ["refKey", "onChange", "onClick"];
18037
18210
  var initialState = {
18038
18211
  isFocused: false,
@@ -18310,7 +18483,7 @@ var DropzoneBase = function DropzoneBase(props) {
18310
18483
  onDragOverCallback = _ref.onDragOverCallback,
18311
18484
  onDragLeaveCallback = _ref.onDragLeaveCallback,
18312
18485
  onDropCallback = _ref.onDropCallback,
18313
- rest = _objectWithoutProperties(_ref, _excluded$3);
18486
+ rest = _objectWithoutProperties(_ref, _excluded$4);
18314
18487
 
18315
18488
  return _objectSpread2(_defineProperty$1({
18316
18489
  onDragEnter: composeDragHandler(composeEventHandlers(onDragEnterCallback, onDragEnterCb)),
@@ -20508,7 +20681,7 @@ Header.defaultProps = {
20508
20681
  showFilters: true
20509
20682
  };
20510
20683
 
20511
- var _excluded$2 = ["children"];
20684
+ var _excluded$3 = ["children"];
20512
20685
 
20513
20686
  var defaultErrorTemplate = function defaultErrorTemplate(props) {
20514
20687
  var _props$errorType = props.errorType,
@@ -20893,7 +21066,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
20893
21066
 
20894
21067
  var _ref = headerOptions,
20895
21068
  headerChildren = _ref.children,
20896
- headerAttr = _objectWithoutProperties(_ref, _excluded$2);
21069
+ headerAttr = _objectWithoutProperties(_ref, _excluded$3);
20897
21070
 
20898
21071
  var classes = className ? " ".concat(className) : '';
20899
21072
  var totalRecords = this.state.totalRecords;
@@ -21375,7 +21548,7 @@ FileList.defaultProps = {
21375
21548
  };
21376
21549
  FileList.displayName = 'FileList';
21377
21550
 
21378
- var _excluded$1 = ["type", "fields", "placeholder", "autoFocus", "onComplete", "onFocus", "onBlur", "className", "value"];
21551
+ var _excluded$2 = ["type", "fields", "placeholder", "autoFocus", "onComplete", "onFocus", "onBlur", "className", "value"];
21379
21552
  var KEY_CODE = {
21380
21553
  backspace: 'Backspace',
21381
21554
  left: 'ArrowLeft',
@@ -21400,7 +21573,7 @@ var VerificationCodeInput = function VerificationCodeInput(props) {
21400
21573
  onBlur = props.onBlur,
21401
21574
  className = props.className;
21402
21575
  props.value;
21403
- var rest = _objectWithoutProperties(props, _excluded$1);
21576
+ var rest = _objectWithoutProperties(props, _excluded$2);
21404
21577
 
21405
21578
  var initialValues = useMemo(function () {
21406
21579
  if (props.value && props.value.length) {
@@ -21806,7 +21979,7 @@ var HelpText = function HelpText(props) {
21806
21979
  };
21807
21980
  HelpText.displayName = 'HelpText';
21808
21981
 
21809
- var _excluded = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign"];
21982
+ var _excluded$1 = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign", "iconVariations"];
21810
21983
  var sizeMapping = {
21811
21984
  tiny: 12,
21812
21985
  regular: 16
@@ -21823,7 +21996,8 @@ var LinkButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
21823
21996
  subtle = props.subtle,
21824
21997
  size = props.size,
21825
21998
  iconAlign = props.iconAlign,
21826
- rest = _objectWithoutProperties(props, _excluded);
21999
+ iconVariations = props.iconVariations,
22000
+ rest = _objectWithoutProperties(props, _excluded$1);
21827
22001
 
21828
22002
  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
22003
  var iconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'LinkButton-icon', true), _defineProperty$1(_classNames2, "LinkButton-icon--".concat(iconAlign), children && iconAlign), _classNames2));
@@ -21839,6 +22013,7 @@ var LinkButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
21839
22013
  }, /*#__PURE__*/React.createElement(Icon, {
21840
22014
  "data-test": "DesignSystem-LinkButton--Icon",
21841
22015
  name: icon,
22016
+ variations: iconVariations,
21842
22017
  size: size && sizeMapping[size]
21843
22018
  })), children));
21844
22019
  });
@@ -21849,6 +22024,42 @@ LinkButton.defaultProps = {
21849
22024
  iconAlign: 'left'
21850
22025
  };
21851
22026
 
21852
- var version = "2.19.0";
22027
+ var _excluded = ["children", "disabled", "className", "zIndex", "onClick"];
22028
+ var ActionCard = function ActionCard(props) {
22029
+ var _classNames;
22030
+
22031
+ var children = props.children,
22032
+ disabled = props.disabled,
22033
+ className = props.className,
22034
+ zIndex = props.zIndex,
22035
+ onClick = props.onClick,
22036
+ rest = _objectWithoutProperties(props, _excluded);
22037
+
22038
+ var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ActionCard', true), _defineProperty$1(_classNames, 'ActionCard--disabled', disabled), _classNames), className);
22039
+
22040
+ var onKeyDownHandler = function onKeyDownHandler(event) {
22041
+ if (event.key === 'Enter' && onClick) {
22042
+ onClick(event);
22043
+ }
22044
+ };
22045
+
22046
+ return /*#__PURE__*/React.createElement("div", _extends$2({
22047
+ tabIndex: disabled ? -1 : 0,
22048
+ role: "link",
22049
+ "data-test": "DesignSystem-ActionCard",
22050
+ className: classes,
22051
+ onClick: onClick,
22052
+ onKeyDown: onKeyDownHandler
22053
+ }, rest), disabled && /*#__PURE__*/React.createElement("div", {
22054
+ style: {
22055
+ zIndex: zIndex
22056
+ },
22057
+ "data-test": "DesignSystem-ActionCard-Overlay",
22058
+ className: "ActionCard-overlay--disabled"
22059
+ }), children);
22060
+ };
22061
+ ActionCard.displayName = 'ActionCard';
22062
+
22063
+ var version = "2.21.0";
21853
22064
 
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 };
22065
+ 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 };