@innovaccer/design-system 2.20.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.
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1694185325183
3
+ * Generated on: 1695030042653
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.20.0
5
+ * Version: v2.21.0
6
6
  * License: MIT
7
7
  * Docs: https://innovaccer.github.io/design-system
8
8
  */
@@ -2939,7 +2939,8 @@ var GenericChip = function GenericChip(props) {
2939
2939
  selected = props.selected,
2940
2940
  onClose = props.onClose,
2941
2941
  onClick = props.onClick,
2942
- labelPrefix = props.labelPrefix;
2942
+ labelPrefix = props.labelPrefix,
2943
+ iconVariations = props.iconVariations;
2943
2944
  var baseProps = extractBaseProps(props);
2944
2945
 
2945
2946
  var iconClass = function iconClass(align) {
@@ -3002,6 +3003,7 @@ var GenericChip = function GenericChip(props) {
3002
3003
  }), icon && /*#__PURE__*/React.createElement(Icon, {
3003
3004
  "data-test": "DesignSystem-GenericChip--Icon",
3004
3005
  name: icon,
3006
+ variations: iconVariations,
3005
3007
  appearance: iconAppearance('left'),
3006
3008
  className: iconClass('left')
3007
3009
  }), renderLabel(), clearButton && /*#__PURE__*/React.createElement("div", {
@@ -3033,7 +3035,8 @@ var Chip = function Chip(props) {
3033
3035
  onClick = props.onClick,
3034
3036
  name = props.name,
3035
3037
  className = props.className,
3036
- labelPrefix = props.labelPrefix;
3038
+ labelPrefix = props.labelPrefix,
3039
+ iconVariations = props.iconVariations;
3037
3040
  var baseProps = extractBaseProps(props);
3038
3041
 
3039
3042
  var onCloseHandler = function onCloseHandler() {
@@ -3055,6 +3058,7 @@ var Chip = function Chip(props) {
3055
3058
  label: label,
3056
3059
  selected: select,
3057
3060
  icon: icon,
3061
+ iconVariations: iconVariations,
3058
3062
  clearButton: clearbutton,
3059
3063
  disabled: disabled,
3060
3064
  className: chipClass,
@@ -3097,7 +3101,8 @@ var ChipGroup = function ChipGroup(props) {
3097
3101
  disabled = item.disabled,
3098
3102
  selected = item.selected,
3099
3103
  clearButton = item.clearButton,
3100
- name = item.name;
3104
+ name = item.name,
3105
+ iconVariations = item.iconVariations;
3101
3106
  return /*#__PURE__*/React.createElement("span", {
3102
3107
  key: ind,
3103
3108
  className: "ChipGroup-item"
@@ -3109,6 +3114,7 @@ var ChipGroup = function ChipGroup(props) {
3109
3114
  icon: icon,
3110
3115
  disabled: disabled,
3111
3116
  clearButton: clearButton,
3117
+ iconVariations: iconVariations,
3112
3118
  type: type,
3113
3119
  onClick: function onClick() {
3114
3120
  return onClickHandler(item);
@@ -4623,7 +4629,7 @@ function debounce$1 (delay, atBegin, callback) {
4623
4629
  return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);
4624
4630
  }
4625
4631
 
4626
- var _excluded$u = ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error"];
4632
+ var _excluded$u = ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error", "iconVariations"];
4627
4633
  var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4628
4634
  var _classNames, _classNames2;
4629
4635
 
@@ -4639,6 +4645,7 @@ var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4639
4645
  open = props.open,
4640
4646
  inlineLabel = props.inlineLabel,
4641
4647
  error = props.error,
4648
+ iconVariations = props.iconVariations,
4642
4649
  rest = _objectWithoutProperties(props, _excluded$u);
4643
4650
 
4644
4651
  var buttonDisabled = disabled ? 'disabled' : 'default';
@@ -4663,12 +4670,14 @@ var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
4663
4670
  }, "".concat(inlineLabel.trim().charAt(0).toUpperCase()).concat(inlineLabel.trim().slice(1))), icon && !inlineLabel && /*#__PURE__*/React.createElement(Icon, {
4664
4671
  appearance: buttonDisabled,
4665
4672
  className: "d-flex align-items-center mr-4",
4666
- name: icon
4673
+ name: icon,
4674
+ variations: iconVariations
4667
4675
  }), value && /*#__PURE__*/React.createElement("span", {
4668
4676
  className: textClass
4669
4677
  }, value)), /*#__PURE__*/React.createElement(Icon, {
4670
4678
  appearance: buttonDisabled,
4671
- name: iconName
4679
+ name: iconName,
4680
+ variations: iconVariations
4672
4681
  }));
4673
4682
  });
4674
4683
  DropdownButton.displayName = 'DropdownButton';
@@ -4806,7 +4815,8 @@ var IconOption = function IconOption(props) {
4806
4815
  dataTest = props.dataTest;
4807
4816
  var label = optionData.label,
4808
4817
  icon = optionData.icon,
4809
- disabled = optionData.disabled;
4818
+ disabled = optionData.disabled,
4819
+ iconVariations = optionData.iconVariations;
4810
4820
  var OptionClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "".concat(className), true), _defineProperty$1(_classNames, 'Option--icon', icon), _classNames));
4811
4821
  return (
4812
4822
  /*#__PURE__*/
@@ -4822,7 +4832,8 @@ var IconOption = function IconOption(props) {
4822
4832
  }, icon && /*#__PURE__*/React.createElement(Icon, {
4823
4833
  className: "Option-icon mr-4",
4824
4834
  "data-test": "".concat(dataTest, "--Icon"),
4825
- name: icon
4835
+ name: icon,
4836
+ variations: iconVariations
4826
4837
  }), /*#__PURE__*/React.createElement("div", {
4827
4838
  className: 'Option-label'
4828
4839
  }, /*#__PURE__*/React.createElement(Text, {
@@ -5239,7 +5250,8 @@ var DropdownList = function DropdownList(props) {
5239
5250
  error = props.error,
5240
5251
  disabled = props.disabled,
5241
5252
  inlineLabel = props.inlineLabel,
5242
- triggerLabel = props.triggerLabel;
5253
+ triggerLabel = props.triggerLabel,
5254
+ iconVariations = props.iconVariations;
5243
5255
  var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React.createElement(React.Fragment, null);
5244
5256
  var NewCustomTrigger = /*#__PURE__*/React.cloneElement(CustomTrigger, {
5245
5257
  tabIndex: 0,
@@ -5254,7 +5266,8 @@ var DropdownList = function DropdownList(props) {
5254
5266
  inlineLabel: inlineLabel,
5255
5267
  menu: menu,
5256
5268
  error: error,
5257
- ref: dropdownTriggerRef
5269
+ ref: dropdownTriggerRef,
5270
+ iconVariations: iconVariations
5258
5271
  }, triggerLabel);
5259
5272
  var dropdownStyle = {
5260
5273
  maxHeight: maxHeight,
@@ -6393,7 +6406,7 @@ ActionButton$1.defaultProps = {
6393
6406
  type: 'rounded'
6394
6407
  };
6395
6408
 
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"];
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"];
6397
6410
  var sizeMapping$2 = {
6398
6411
  tiny: 12,
6399
6412
  regular: 16,
@@ -6434,6 +6447,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6434
6447
  autoFocus = props.autoFocus,
6435
6448
  disabled = props.disabled,
6436
6449
  readOnly = props.readOnly,
6450
+ iconVariations = props.iconVariations,
6437
6451
  rest = _objectWithoutProperties(props, _excluded$q);
6438
6452
 
6439
6453
  var ref = React.useRef(null);
@@ -6492,7 +6506,8 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6492
6506
  className: leftIconClass
6493
6507
  }, /*#__PURE__*/React.createElement(Icon, {
6494
6508
  name: icon,
6495
- size: sizeMapping$2[size]
6509
+ size: sizeMapping$2[size],
6510
+ variations: iconVariations
6496
6511
  })), /*#__PURE__*/React.createElement("input", _extends$2({
6497
6512
  "data-test": "DesignSystem-Input"
6498
6513
  }, baseProps, rest, {
@@ -6542,7 +6557,7 @@ Object.assign(Input, {
6542
6557
  ActionButton: ActionButton$1
6543
6558
  });
6544
6559
 
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"];
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"];
6546
6561
  var sizeMapping$1 = {
6547
6562
  regular: 16,
6548
6563
  large: 20
@@ -6592,6 +6607,7 @@ var MetricInput = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6592
6607
  _props$showActionButt = props.showActionButton,
6593
6608
  showActionButton = _props$showActionButt === void 0 ? true : _props$showActionButt,
6594
6609
  onKeyDown = props.onKeyDown,
6610
+ iconVariations = props.iconVariations,
6595
6611
  rest = _objectWithoutProperties(props, _excluded$p);
6596
6612
 
6597
6613
  var ref = React.useRef(null);
@@ -6690,6 +6706,7 @@ var MetricInput = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
6690
6706
  }, icon && /*#__PURE__*/React.createElement(Icon, {
6691
6707
  "data-test": "DesignSystem-MetricInput--icon",
6692
6708
  name: icon,
6709
+ variations: iconVariations,
6693
6710
  size: sizeMapping$1[size],
6694
6711
  appearance: !value ? 'disabled' : 'subtle',
6695
6712
  className: iconClass
@@ -7447,7 +7464,8 @@ Message.defaultProps = {
7447
7464
  var Meta = function Meta(props) {
7448
7465
  var label = props.label,
7449
7466
  icon = props.icon,
7450
- size = props.size;
7467
+ size = props.size,
7468
+ iconVariations = props.iconVariations;
7451
7469
  return /*#__PURE__*/React.createElement("span", {
7452
7470
  "data-test": "DesignSystem-MetaList--Meta",
7453
7471
  className: 'Meta'
@@ -7456,6 +7474,7 @@ var Meta = function Meta(props) {
7456
7474
  name: icon,
7457
7475
  appearance: "subtle",
7458
7476
  className: 'Meta-icon',
7477
+ variations: iconVariations,
7459
7478
  size: size === 'regular' ? 16 : 12
7460
7479
  }), /*#__PURE__*/React.createElement(Text, {
7461
7480
  size: size,
@@ -7489,7 +7508,8 @@ var MetaList = function MetaList(props) {
7489
7508
  }), list.map(function (item, ind) {
7490
7509
  var _item$label = item.label,
7491
7510
  label = _item$label === void 0 ? '' : _item$label,
7492
- icon = item.icon;
7511
+ icon = item.icon,
7512
+ iconVariations = item.iconVariations;
7493
7513
  var rightSeperator = ind !== list.length - 1;
7494
7514
  return /*#__PURE__*/React.createElement("span", {
7495
7515
  key: ind,
@@ -7497,7 +7517,8 @@ var MetaList = function MetaList(props) {
7497
7517
  }, /*#__PURE__*/React.createElement(Meta, {
7498
7518
  size: size,
7499
7519
  label: label,
7500
- icon: icon
7520
+ icon: icon,
7521
+ iconVariations: iconVariations
7501
7522
  }), rightSeperator && /*#__PURE__*/React.createElement(Icon, {
7502
7523
  "data-test": "DesignSystem-MetaList--rightSeperator",
7503
7524
  name: "fiber_manual_record",
@@ -14267,7 +14288,8 @@ var MenuItem = function MenuItem(props) {
14267
14288
  }, menu.icon && /*#__PURE__*/React.createElement(Icon, {
14268
14289
  "data-test": "DesignSystem-VerticalNav--Icon",
14269
14290
  className: expanded ? 'mr-4' : '',
14270
- name: menu.icon
14291
+ name: menu.icon,
14292
+ variations: menu.iconVariations
14271
14293
  }), expanded && /*#__PURE__*/React.createElement(_MenuLabel, {
14272
14294
  label: menu.label,
14273
14295
  labelColor: itemColor
@@ -14463,6 +14485,7 @@ var HorizontalNav = function HorizontalNav(props) {
14463
14485
  return /*#__PURE__*/React.createElement(Icon, {
14464
14486
  className: "mr-3 HorizontalNav-animate",
14465
14487
  name: menu.icon,
14488
+ variations: menu.iconVariations,
14466
14489
  "data-test": "DesignSystem-HorizontalNav--Icon"
14467
14490
  });
14468
14491
  }
@@ -17546,7 +17569,8 @@ var Tabs = function Tabs(props) {
17546
17569
  var _ref = tab,
17547
17570
  count = _ref.count,
17548
17571
  icon = _ref.icon,
17549
- disabled = _ref.disabled;
17572
+ disabled = _ref.disabled,
17573
+ iconVariations = _ref.iconVariations;
17550
17574
 
17551
17575
  if (count !== undefined) {
17552
17576
  return /*#__PURE__*/React.createElement(Pills, {
@@ -17564,6 +17588,7 @@ var Tabs = function Tabs(props) {
17564
17588
  "data-test": "DesignSystem-Tabs--Icon",
17565
17589
  className: "mr-4 ".concat(iconClass),
17566
17590
  name: icon,
17591
+ variations: iconVariations,
17567
17592
  appearance: iconAppearance
17568
17593
  });
17569
17594
  }
@@ -21954,7 +21979,7 @@ var HelpText = function HelpText(props) {
21954
21979
  };
21955
21980
  HelpText.displayName = 'HelpText';
21956
21981
 
21957
- var _excluded$1 = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign"];
21982
+ var _excluded$1 = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign", "iconVariations"];
21958
21983
  var sizeMapping = {
21959
21984
  tiny: 12,
21960
21985
  regular: 16
@@ -21971,6 +21996,7 @@ var LinkButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
21971
21996
  subtle = props.subtle,
21972
21997
  size = props.size,
21973
21998
  iconAlign = props.iconAlign,
21999
+ iconVariations = props.iconVariations,
21974
22000
  rest = _objectWithoutProperties(props, _excluded$1);
21975
22001
 
21976
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));
@@ -21987,6 +22013,7 @@ var LinkButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
21987
22013
  }, /*#__PURE__*/React.createElement(Icon, {
21988
22014
  "data-test": "DesignSystem-LinkButton--Icon",
21989
22015
  name: icon,
22016
+ variations: iconVariations,
21990
22017
  size: size && sizeMapping[size]
21991
22018
  })), children));
21992
22019
  });
@@ -22033,6 +22060,6 @@ var ActionCard = function ActionCard(props) {
22033
22060
  };
22034
22061
  ActionCard.displayName = 'ActionCard';
22035
22062
 
22036
- var version = "2.20.0";
22063
+ var version = "2.21.0";
22037
22064
 
22038
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 };
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1694185325555
3
+ * Generated on: 1695030042950
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.20.0
5
+ * Version: v2.21.0
6
6
  * License: MIT
7
7
  * Docs: https://innovaccer.github.io/design-system
8
8
  */
@@ -2561,7 +2561,8 @@
2561
2561
  selected = props.selected,
2562
2562
  onClose = props.onClose,
2563
2563
  onClick = props.onClick,
2564
- labelPrefix = props.labelPrefix;
2564
+ labelPrefix = props.labelPrefix,
2565
+ iconVariations = props.iconVariations;
2565
2566
  var baseProps = extractBaseProps(props);
2566
2567
 
2567
2568
  var iconClass = function iconClass(align) {
@@ -2619,6 +2620,7 @@
2619
2620
  }), icon && /*#__PURE__*/React__namespace.createElement(Icon, {
2620
2621
  "data-test": "DesignSystem-GenericChip--Icon",
2621
2622
  name: icon,
2623
+ variations: iconVariations,
2622
2624
  appearance: iconAppearance('left'),
2623
2625
  className: iconClass('left')
2624
2626
  }), renderLabel(), clearButton && /*#__PURE__*/React__namespace.createElement("div", {
@@ -2649,7 +2651,8 @@
2649
2651
  onClick = props.onClick,
2650
2652
  name = props.name,
2651
2653
  className = props.className,
2652
- labelPrefix = props.labelPrefix;
2654
+ labelPrefix = props.labelPrefix,
2655
+ iconVariations = props.iconVariations;
2653
2656
  var baseProps = extractBaseProps(props);
2654
2657
 
2655
2658
  var onCloseHandler = function onCloseHandler() {
@@ -2671,6 +2674,7 @@
2671
2674
  label: label,
2672
2675
  selected: select,
2673
2676
  icon: icon,
2677
+ iconVariations: iconVariations,
2674
2678
  clearButton: clearbutton,
2675
2679
  disabled: disabled,
2676
2680
  className: chipClass,
@@ -2715,7 +2719,8 @@
2715
2719
  disabled = item.disabled,
2716
2720
  selected = item.selected,
2717
2721
  clearButton = item.clearButton,
2718
- name = item.name;
2722
+ name = item.name,
2723
+ iconVariations = item.iconVariations;
2719
2724
  return /*#__PURE__*/React__namespace.createElement("span", {
2720
2725
  key: ind,
2721
2726
  className: "ChipGroup-item"
@@ -2727,6 +2732,7 @@
2727
2732
  icon: icon,
2728
2733
  disabled: disabled,
2729
2734
  clearButton: clearButton,
2735
+ iconVariations: iconVariations,
2730
2736
  type: type,
2731
2737
  onClick: function onClick() {
2732
2738
  return onClickHandler(item);
@@ -4148,7 +4154,8 @@
4148
4154
  open = props.open,
4149
4155
  inlineLabel = props.inlineLabel,
4150
4156
  error = props.error,
4151
- rest = __rest(props, ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error"]);
4157
+ iconVariations = props.iconVariations,
4158
+ rest = __rest(props, ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error", "iconVariations"]);
4152
4159
 
4153
4160
  var buttonDisabled = disabled ? 'disabled' : 'default';
4154
4161
  var trimmedPlaceholder = placeholder.trim();
@@ -4172,12 +4179,14 @@
4172
4179
  }, "" + inlineLabel.trim().charAt(0).toUpperCase() + inlineLabel.trim().slice(1)), icon && !inlineLabel && /*#__PURE__*/React__namespace.createElement(Icon, {
4173
4180
  appearance: buttonDisabled,
4174
4181
  className: "d-flex align-items-center mr-4",
4175
- name: icon
4182
+ name: icon,
4183
+ variations: iconVariations
4176
4184
  }), value && /*#__PURE__*/React__namespace.createElement("span", {
4177
4185
  className: textClass
4178
4186
  }, value)), /*#__PURE__*/React__namespace.createElement(Icon, {
4179
4187
  appearance: buttonDisabled,
4180
- name: iconName
4188
+ name: iconName,
4189
+ variations: iconVariations
4181
4190
  }));
4182
4191
  });
4183
4192
  DropdownButton.displayName = 'DropdownButton';
@@ -4303,7 +4312,8 @@
4303
4312
  dataTest = props.dataTest;
4304
4313
  var label = optionData.label,
4305
4314
  icon = optionData.icon,
4306
- disabled = optionData.disabled;
4315
+ disabled = optionData.disabled,
4316
+ iconVariations = optionData.iconVariations;
4307
4317
  var OptionClass = classNames__default["default"]((_a = {}, _a["" + className] = true, _a['Option--icon'] = icon, _a));
4308
4318
  return /*#__PURE__*/React__namespace.createElement("div", {
4309
4319
  className: OptionClass,
@@ -4314,7 +4324,8 @@
4314
4324
  }, icon && /*#__PURE__*/React__namespace.createElement(Icon, {
4315
4325
  className: "Option-icon mr-4",
4316
4326
  "data-test": dataTest + "--Icon",
4317
- name: icon
4327
+ name: icon,
4328
+ variations: iconVariations
4318
4329
  }), /*#__PURE__*/React__namespace.createElement("div", {
4319
4330
  className: 'Option-label'
4320
4331
  }, /*#__PURE__*/React__namespace.createElement(Text, {
@@ -4720,7 +4731,8 @@
4720
4731
  error = props.error,
4721
4732
  disabled = props.disabled,
4722
4733
  inlineLabel = props.inlineLabel,
4723
- triggerLabel = props.triggerLabel;
4734
+ triggerLabel = props.triggerLabel,
4735
+ iconVariations = props.iconVariations;
4724
4736
  var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null);
4725
4737
  var NewCustomTrigger = /*#__PURE__*/React__namespace.cloneElement(CustomTrigger, {
4726
4738
  tabIndex: 0,
@@ -4735,7 +4747,8 @@
4735
4747
  inlineLabel: inlineLabel,
4736
4748
  menu: menu,
4737
4749
  error: error,
4738
- ref: dropdownTriggerRef
4750
+ ref: dropdownTriggerRef,
4751
+ iconVariations: iconVariations
4739
4752
  }, triggerLabel);
4740
4753
  var dropdownStyle = {
4741
4754
  maxHeight: maxHeight,
@@ -5859,7 +5872,8 @@
5859
5872
  autoFocus = props.autoFocus,
5860
5873
  disabled = props.disabled,
5861
5874
  readOnly = props.readOnly,
5862
- rest = __rest(props, ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "onPaste", "actionIcon", "className", "autoFocus", "disabled", "readOnly"]);
5875
+ iconVariations = props.iconVariations,
5876
+ rest = __rest(props, ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "onPaste", "actionIcon", "className", "autoFocus", "disabled", "readOnly", "iconVariations"]);
5863
5877
 
5864
5878
  var ref = React__namespace.useRef(null);
5865
5879
 
@@ -5915,7 +5929,8 @@
5915
5929
  className: leftIconClass
5916
5930
  }, /*#__PURE__*/React__namespace.createElement(Icon, {
5917
5931
  name: icon,
5918
- size: sizeMapping$2[size]
5932
+ size: sizeMapping$2[size],
5933
+ variations: iconVariations
5919
5934
  })), /*#__PURE__*/React__namespace.createElement("input", __assign({
5920
5935
  "data-test": "DesignSystem-Input"
5921
5936
  }, baseProps, rest, {
@@ -6007,7 +6022,8 @@
6007
6022
  _h = props.showActionButton,
6008
6023
  showActionButton = _h === void 0 ? true : _h,
6009
6024
  onKeyDown = props.onKeyDown,
6010
- rest = __rest(props, ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value", "showActionButton", "onKeyDown"]);
6025
+ iconVariations = props.iconVariations,
6026
+ rest = __rest(props, ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value", "showActionButton", "onKeyDown", "iconVariations"]);
6011
6027
 
6012
6028
  var ref = React__namespace.useRef(null);
6013
6029
  var isUncontrolled = valueProp === undefined;
@@ -6104,6 +6120,7 @@
6104
6120
  }, icon && /*#__PURE__*/React__namespace.createElement(Icon, {
6105
6121
  "data-test": "DesignSystem-MetricInput--icon",
6106
6122
  name: icon,
6123
+ variations: iconVariations,
6107
6124
  size: sizeMapping$1[size],
6108
6125
  appearance: !value ? 'disabled' : 'subtle',
6109
6126
  className: iconClass
@@ -6844,7 +6861,8 @@
6844
6861
  var Meta = function Meta(props) {
6845
6862
  var label = props.label,
6846
6863
  icon = props.icon,
6847
- size = props.size;
6864
+ size = props.size,
6865
+ iconVariations = props.iconVariations;
6848
6866
  return /*#__PURE__*/React__namespace.createElement("span", {
6849
6867
  "data-test": "DesignSystem-MetaList--Meta",
6850
6868
  className: 'Meta'
@@ -6853,6 +6871,7 @@
6853
6871
  name: icon,
6854
6872
  appearance: "subtle",
6855
6873
  className: 'Meta-icon',
6874
+ variations: iconVariations,
6856
6875
  size: size === 'regular' ? 16 : 12
6857
6876
  }), /*#__PURE__*/React__namespace.createElement(Text, {
6858
6877
  size: size,
@@ -6886,7 +6905,8 @@
6886
6905
  }), list.map(function (item, ind) {
6887
6906
  var _a = item.label,
6888
6907
  label = _a === void 0 ? '' : _a,
6889
- icon = item.icon;
6908
+ icon = item.icon,
6909
+ iconVariations = item.iconVariations;
6890
6910
  var rightSeperator = ind !== list.length - 1;
6891
6911
  return /*#__PURE__*/React__namespace.createElement("span", {
6892
6912
  key: ind,
@@ -6894,7 +6914,8 @@
6894
6914
  }, /*#__PURE__*/React__namespace.createElement(Meta, {
6895
6915
  size: size,
6896
6916
  label: label,
6897
- icon: icon
6917
+ icon: icon,
6918
+ iconVariations: iconVariations
6898
6919
  }), rightSeperator && /*#__PURE__*/React__namespace.createElement(Icon, {
6899
6920
  "data-test": "DesignSystem-MetaList--rightSeperator",
6900
6921
  name: "fiber_manual_record",
@@ -8943,7 +8964,8 @@
8943
8964
  }, menu.icon && /*#__PURE__*/React__namespace.createElement(Icon, {
8944
8965
  "data-test": "DesignSystem-VerticalNav--Icon",
8945
8966
  className: expanded ? 'mr-4' : '',
8946
- name: menu.icon
8967
+ name: menu.icon,
8968
+ variations: menu.iconVariations
8947
8969
  }), expanded && /*#__PURE__*/React__namespace.createElement(_MenuLabel, {
8948
8970
  label: menu.label,
8949
8971
  labelColor: itemColor
@@ -9141,6 +9163,7 @@
9141
9163
  return /*#__PURE__*/React__namespace.createElement(Icon, {
9142
9164
  className: "mr-3 HorizontalNav-animate",
9143
9165
  name: menu.icon,
9166
+ variations: menu.iconVariations,
9144
9167
  "data-test": "DesignSystem-HorizontalNav--Icon"
9145
9168
  });
9146
9169
  }
@@ -12080,7 +12103,8 @@
12080
12103
  var _b = tab,
12081
12104
  count = _b.count,
12082
12105
  icon = _b.icon,
12083
- disabled = _b.disabled;
12106
+ disabled = _b.disabled,
12107
+ iconVariations = _b.iconVariations;
12084
12108
 
12085
12109
  if (count !== undefined) {
12086
12110
  return /*#__PURE__*/React__namespace.createElement(Pills, {
@@ -12098,6 +12122,7 @@
12098
12122
  "data-test": "DesignSystem-Tabs--Icon",
12099
12123
  className: "mr-4 " + iconClass,
12100
12124
  name: icon,
12125
+ variations: iconVariations,
12101
12126
  appearance: iconAppearance
12102
12127
  });
12103
12128
  }
@@ -16281,7 +16306,8 @@
16281
16306
  subtle = props.subtle,
16282
16307
  size = props.size,
16283
16308
  iconAlign = props.iconAlign,
16284
- rest = __rest(props, ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign"]);
16309
+ iconVariations = props.iconVariations,
16310
+ rest = __rest(props, ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign", "iconVariations"]);
16285
16311
 
16286
16312
  var buttonClass = classNames__default["default"]((_a = {}, _a['LinkButton'] = true, _a["LinkButton--" + size] = size, _a['LinkButton--default'] = !subtle, _a['LinkButton--subtle'] = subtle, _a["LinkButton--iconAlign-" + iconAlign] = children && iconAlign, _a["" + className] = className, _a));
16287
16313
  var iconClass = classNames__default["default"]((_b = {}, _b['LinkButton-icon'] = true, _b["LinkButton-icon--" + iconAlign] = children && iconAlign, _b));
@@ -16297,6 +16323,7 @@
16297
16323
  }, /*#__PURE__*/React__namespace.createElement(Icon, {
16298
16324
  "data-test": "DesignSystem-LinkButton--Icon",
16299
16325
  name: icon,
16326
+ variations: iconVariations,
16300
16327
  size: size && sizeMapping[size]
16301
16328
  })), children));
16302
16329
  });
@@ -16342,7 +16369,7 @@
16342
16369
  };
16343
16370
  ActionCard.displayName = 'ActionCard';
16344
16371
 
16345
- var version = "2.20.0";
16372
+ var version = "2.21.0";
16346
16373
 
16347
16374
  exports.ActionCard = ActionCard;
16348
16375
  exports.Avatar = Avatar;