@innovaccer/design-system 2.16.2 → 2.18.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.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * Generated on: 1689747098950
3
+ * Generated on: 1691474887429
4
4
  * Package: @innovaccer/design-system
5
- * Version: v2.16.2
5
+ * Version: v2.18.0
6
6
  * License: MIT
7
7
  * Docs: https://innovaccer.github.io/design-system
8
8
  */
@@ -507,13 +507,15 @@
507
507
  var _a, _b;
508
508
 
509
509
  var hiddenAvatarCount = props.hiddenAvatarCount,
510
- avatarStyle = props.avatarStyle;
511
- var ContentClass = classNames__default["default"]((_a = {}, _a["Avatar-content--secondary"] = true, _a));
510
+ avatarStyle = props.avatarStyle,
511
+ size = props.size;
512
+ var ContentClass = classNames__default["default"]((_a = {}, _a["Avatar-content--secondary"] = true, _a["Avatar-content--tiny"] = size === 'tiny', _a));
512
513
  var AvatarVariantsClass = classNames__default["default"]((_b = {
513
514
  Avatar: true
514
- }, _b["Avatar--regular"] = true, _b["Avatar--secondary"] = true, _b['Avatar--disabled'] = true, _b));
515
+ }, _b["Avatar--regular"] = size === 'regular', _b["Avatar--tiny"] = size === 'tiny', _b["Avatar--secondary"] = true, _b['Avatar--disabled'] = true, _b));
515
516
  return /*#__PURE__*/React__namespace.createElement("div", {
516
517
  "data-test": "DesignSystem-AvatarGroup--TriggerAvatar",
518
+ className: "AvatarCount-wrapper",
517
519
  style: avatarStyle
518
520
  }, /*#__PURE__*/React__namespace.createElement("span", {
519
521
  className: AvatarVariantsClass
@@ -524,19 +526,24 @@
524
526
  };
525
527
 
526
528
  var Avatars = function Avatars(props) {
529
+ var _a;
530
+
527
531
  var avatarList = props.avatarList,
528
532
  avatarStyle = props.avatarStyle,
529
- tooltipPosition = props.tooltipPosition;
533
+ tooltipPosition = props.tooltipPosition,
534
+ size = props.size;
535
+ var GroupClass = classNames__default["default"]((_a = {}, _a["AvatarGroup-item"] = true, _a["AvatarGroup-item--tiny"] = size === 'tiny', _a["AvatarGroup-item--regular"] = size === 'regular', _a));
530
536
  var avatars = avatarList.map(function (item, index) {
531
537
  var appearance = item.appearance,
532
538
  firstName = item.firstName,
533
539
  lastName = item.lastName;
534
540
  return /*#__PURE__*/React__namespace.createElement("div", {
535
541
  "data-test": "DesignSystem-AvatarGroup--Avatar",
536
- className: "AvatarGroup-item",
542
+ className: GroupClass,
537
543
  style: avatarStyle,
538
544
  key: index
539
545
  }, /*#__PURE__*/React__namespace.createElement(Avatar, {
546
+ size: size,
540
547
  appearance: appearance,
541
548
  firstName: firstName,
542
549
  lastName: lastName,
@@ -590,7 +597,8 @@
590
597
  popoverOptions = props.popoverOptions,
591
598
  tooltipPosition = props.tooltipPosition,
592
599
  list = props.list,
593
- className = props.className;
600
+ className = props.className,
601
+ size = props.size;
594
602
  var popperRenderer = popoverOptions.popperRenderer,
595
603
  _c = popoverOptions.maxHeight,
596
604
  maxHeight = _c === void 0 ? 150 : _c,
@@ -607,11 +615,13 @@
607
615
  var baseProps = extractBaseProps(props);
608
616
  var hiddenAvatarCount = list.length > max ? Math.min(list.length - max, 99) : 0;
609
617
  var style = {
610
- borderRadius: '50%',
611
618
  backgroundColor: "" + borderColor,
612
- border: "var(--spacing-xs) solid " + borderColor,
613
- boxShadow: "0 0 0 var(--spacing-xs) " + borderColor
619
+ boxShadow: "0 0 0 calc(var(--spacing-xs) + var(--spacing-s)) " + borderColor
620
+ };
621
+ var tinyAvatarStyle = {
622
+ boxShadow: "0 0 0 var(--spacing-s) " + borderColor
614
623
  };
624
+ var avatarStyle = size === 'tiny' ? __assign(__assign({}, style), tinyAvatarStyle) : style;
615
625
  var AvatarGroupClass = classNames__default["default"]((_a = {}, _a['AvatarGroup'] = true, _a), className);
616
626
  var popperClass = classNames__default["default"]((_b = {}, _b['AvatarGroup-Popper'] = true, _b), popperClassName);
617
627
  return /*#__PURE__*/React__namespace.createElement("div", __assign({
@@ -619,15 +629,17 @@
619
629
  }, baseProps, {
620
630
  className: AvatarGroupClass + " d-inline-flex"
621
631
  }), /*#__PURE__*/React__namespace.createElement(Avatars, {
632
+ size: size,
622
633
  avatarList: list.slice(0, max),
623
- avatarStyle: style,
634
+ avatarStyle: avatarStyle,
624
635
  tooltipPosition: tooltipPosition
625
636
  }), list.length - max > 0 && /*#__PURE__*/React__namespace.createElement(Popover, {
626
637
  on: on,
627
638
  dark: dark,
628
639
  trigger: /*#__PURE__*/React__namespace.createElement(AvatarCount, {
640
+ size: size,
629
641
  hiddenAvatarCount: hiddenAvatarCount,
630
- avatarStyle: style
642
+ avatarStyle: avatarStyle
631
643
  }),
632
644
  position: position,
633
645
  appendToBody: appendToBody,
@@ -643,9 +655,10 @@
643
655
  AvatarGroup.displayName = 'AvatarGroup';
644
656
  AvatarGroup.defaultProps = {
645
657
  max: 2,
646
- borderColor: 'var(--white)',
647
658
  tooltipPosition: 'bottom',
648
- popoverOptions: {}
659
+ borderColor: 'white',
660
+ popoverOptions: {},
661
+ size: 'regular'
649
662
  };
650
663
 
651
664
  var useEffect$1 = React__namespace.useEffect,
@@ -2256,12 +2269,13 @@
2256
2269
  _onKeyDown = _a.onKeyDown,
2257
2270
  _b = _a.role,
2258
2271
  role = _b === void 0 ? 'button' : _b,
2259
- rest = __rest(_a, ["onClick", "onKeyDown", "role"]);
2272
+ tabIndex = _a.tabIndex,
2273
+ rest = __rest(_a, ["onClick", "onKeyDown", "role", "tabIndex"]);
2260
2274
 
2261
2275
  return __assign({}, onClick ? {
2262
2276
  onClick: onClick,
2263
2277
  role: role,
2264
- tabIndex: 0,
2278
+ tabIndex: tabIndex || 0,
2265
2279
  'aria-label': rest['aria-label'],
2266
2280
  onKeyDown: function onKeyDown(e) {
2267
2281
  if (_onKeyDown) {
@@ -2281,6 +2295,7 @@
2281
2295
  }
2282
2296
  } : {
2283
2297
  role: role,
2298
+ tabIndex: tabIndex,
2284
2299
  'aria-label': rest['aria-label']
2285
2300
  });
2286
2301
  };
@@ -2383,7 +2398,8 @@
2383
2398
  className = props.className,
2384
2399
  selected = props.selected,
2385
2400
  onClose = props.onClose,
2386
- onClick = props.onClick;
2401
+ onClick = props.onClick,
2402
+ labelPrefix = props.labelPrefix;
2387
2403
  var baseProps = extractBaseProps(props);
2388
2404
 
2389
2405
  var iconClass = function iconClass(align) {
@@ -2417,11 +2433,16 @@
2417
2433
 
2418
2434
  var renderLabel = function renderLabel() {
2419
2435
  if (typeof label === 'string') {
2420
- return /*#__PURE__*/React__namespace.createElement(Text, {
2436
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, labelPrefix && /*#__PURE__*/React__namespace.createElement(Text, {
2437
+ "data-test": "DesignSystem-GenericChip--LabelPrefix",
2438
+ weight: "medium",
2439
+ color: textColor,
2440
+ className: "Chip-text mr-3"
2441
+ }, labelPrefix), /*#__PURE__*/React__namespace.createElement(Text, {
2421
2442
  "data-test": "DesignSystem-GenericChip--Text",
2422
2443
  color: textColor,
2423
2444
  className: "Chip-text"
2424
- }, label);
2445
+ }, label));
2425
2446
  }
2426
2447
 
2427
2448
  return label;
@@ -2465,7 +2486,8 @@
2465
2486
  onClose = props.onClose,
2466
2487
  onClick = props.onClick,
2467
2488
  name = props.name,
2468
- className = props.className;
2489
+ className = props.className,
2490
+ labelPrefix = props.labelPrefix;
2469
2491
  var baseProps = extractBaseProps(props);
2470
2492
 
2471
2493
  var onCloseHandler = function onCloseHandler() {
@@ -2492,7 +2514,8 @@
2492
2514
  className: chipClass,
2493
2515
  onClose: onCloseHandler,
2494
2516
  onClick: onClickHandler,
2495
- name: name
2517
+ name: name,
2518
+ labelPrefix: labelPrefix
2496
2519
  }));
2497
2520
  };
2498
2521
  Chip.displayName = 'Chip';
@@ -2977,7 +3000,8 @@
2977
3000
  showTodayDate = _b === void 0 ? true : _b,
2978
3001
  _c = _a.children,
2979
3002
  children = _c === void 0 ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null) : _c,
2980
- rest = __rest(_a, ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect", "size", "showTodayDate", "children"]);
3003
+ view = _a.view,
3004
+ rest = __rest(_a, ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect", "size", "showTodayDate", "children", "view"]);
2981
3005
 
2982
3006
  var date = this.state.date;
2983
3007
  var months = config.months;
@@ -3001,16 +3025,23 @@
3001
3025
  return !isTodayDateDisabled;
3002
3026
  };
3003
3027
 
3028
+ var todayChipClass = classNames__default["default"]({
3029
+ 'd-flex justify-content-center': true,
3030
+ 'pb-5': size === 'small',
3031
+ 'pb-6': size === 'large',
3032
+ 'pt-3': size === 'large' && view === 'year'
3033
+ });
3004
3034
  return /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement("div", {
3005
3035
  className: "d-flex"
3006
3036
  }, children, /*#__PURE__*/React__namespace.createElement(Calendar, __assign({}, rest, {
3007
3037
  size: size,
3008
3038
  date: currDate,
3039
+ view: view,
3009
3040
  disabledBefore: dateDisabledBefore,
3010
3041
  disabledAfter: dateDisabledAfter,
3011
3042
  onDateChange: this.onDateChangeHandler
3012
3043
  }))), showTodayDate && /*#__PURE__*/React__namespace.createElement("div", {
3013
- className: "d-flex justify-content-center pb-6",
3044
+ className: todayChipClass,
3014
3045
  "data-test": "DesignSystem-Select--TodaysDate-wrapper"
3015
3046
  }, /*#__PURE__*/React__namespace.createElement(Chip, {
3016
3047
  label: "Today, " + todayMonthAndDate,
@@ -6286,6 +6317,7 @@
6286
6317
  'd-flex flex-column flex-grow-1': true
6287
6318
  }, className);
6288
6319
  }, [className]);
6320
+ var isValueEqualPlaceholder = value === defaultPlaceholderValue;
6289
6321
  return /*#__PURE__*/React__namespace.createElement("div", {
6290
6322
  className: classes,
6291
6323
  "data-test": "DesignSystem-InputMask--Wrapper"
@@ -6295,7 +6327,7 @@
6295
6327
  required: required,
6296
6328
  onFocus: onFocusHandler,
6297
6329
  onChange: onChangeHandler,
6298
- onClear: onClearHandler,
6330
+ onClear: !isValueEqualPlaceholder ? onClearHandler : undefined,
6299
6331
  onBlur: onBlurHandler,
6300
6332
  onPaste: onPasteHandler,
6301
6333
  autoComplete: 'off',
@@ -6375,7 +6407,7 @@
6375
6407
  "data-test": "DesignSystem-Label--Text",
6376
6408
  className: classes,
6377
6409
  componentType: "label"
6378
- }, rest), children), renderInfo(required, optional), info && renderIndicator(info));
6410
+ }, rest), children, renderInfo(required, optional), info && renderIndicator(info)));
6379
6411
  };
6380
6412
  Label.displayName = 'Label';
6381
6413
 
@@ -7549,7 +7581,7 @@
7549
7581
  className: RadioOuterWrapper,
7550
7582
  "data-test": "DesignSystem-Radio-OuterWrapper"
7551
7583
  }, /*#__PURE__*/React__namespace.createElement("input", __assign({
7552
- tabIndex: -1
7584
+ tabIndex: 0
7553
7585
  }, rest, {
7554
7586
  type: "radio",
7555
7587
  disabled: disabled,
@@ -7563,7 +7595,6 @@
7563
7595
  id: id,
7564
7596
  "data-test": "DesignSystem-Radio-Input"
7565
7597
  })), /*#__PURE__*/React__namespace.createElement("span", {
7566
- tabIndex: 0,
7567
7598
  "data-test": "DesignSystem-Radio-wrapper",
7568
7599
  className: RadioWrapper
7569
7600
  })), /*#__PURE__*/React__namespace.createElement("div", {
@@ -8476,7 +8507,7 @@
8476
8507
  }, [value]);
8477
8508
  var ChipInputClass = classNames__default["default"]((_a = {
8478
8509
  ChipInput: true
8479
- }, _a['ChipInput--disabled'] = disabled, _a['ChipInput--withChips'] = chips.length > 0, _a), className);
8510
+ }, _a['ChipInput--disabled'] = disabled, _a['ChipInput--withChips'] = chips && chips.length > 0, _a), className);
8480
8511
 
8481
8512
  var onUpdateChips = function onUpdateChips(updatedChips) {
8482
8513
  if (onChange) onChange(updatedChips);
@@ -8562,7 +8593,7 @@
8562
8593
  type: type,
8563
8594
  disabled: disabled,
8564
8595
  key: index,
8565
- className: "my-2 mx-2",
8596
+ className: "my-3 mx-2",
8566
8597
  onClick: function onClick() {
8567
8598
  return _onClick && _onClick(chip, index);
8568
8599
  },
@@ -8571,11 +8602,15 @@
8571
8602
  }
8572
8603
  }, rest));
8573
8604
  });
8574
- return /*#__PURE__*/React__namespace.createElement("div", __assign({
8605
+ return /*#__PURE__*/React__namespace.createElement("div", {
8606
+ "data-test": "DesignSystem-ChipInput--Border",
8607
+ className: "ChipInput-border"
8608
+ }, /*#__PURE__*/React__namespace.createElement("div", __assign({
8575
8609
  "data-test": "DesignSystem-ChipInput"
8576
8610
  }, baseProps, {
8577
8611
  className: ChipInputClass,
8578
- onClick: onClickHandler
8612
+ onClick: onClickHandler,
8613
+ tabIndex: disabled ? -1 : 0
8579
8614
  }), /*#__PURE__*/React__namespace.createElement("div", {
8580
8615
  className: "ChipInput-wrapper"
8581
8616
  }, chips && chips.length > 0 && chipComponents, /*#__PURE__*/React__namespace.createElement("input", {
@@ -8583,7 +8618,7 @@
8583
8618
  ref: inputRef,
8584
8619
  className: "ChipInput-input",
8585
8620
  autoFocus: autoFocus,
8586
- placeholder: placeholder,
8621
+ placeholder: chips && chips.length > 0 ? '' : placeholder,
8587
8622
  disabled: disabled,
8588
8623
  value: inputValue,
8589
8624
  onBlur: onBlur,
@@ -8593,10 +8628,11 @@
8593
8628
  })), chips.length > 0 && /*#__PURE__*/React__namespace.createElement(Icon, {
8594
8629
  "data-test": "DesignSystem-ChipInput--Icon",
8595
8630
  name: "close",
8596
- appearance: "subtle",
8631
+ appearance: disabled ? 'disabled' : 'subtle',
8597
8632
  className: "ChipInput-icon",
8598
- onClick: onDeleteAllHandler
8599
- }));
8633
+ onClick: onDeleteAllHandler,
8634
+ tabIndex: disabled ? -1 : 0
8635
+ })));
8600
8636
  };
8601
8637
  ChipInput.displayName = 'ChipInput';
8602
8638
  ChipInput.defaultProps = {
@@ -10508,15 +10544,10 @@
10508
10544
  position: "right",
10509
10545
  className: "px-6 py-6 d-flex align-items-center",
10510
10546
  on: "hover"
10511
- }, /*#__PURE__*/React__namespace.createElement(Icon, {
10512
- name: "error",
10513
- appearance: 'alert',
10514
- className: "mr-4"
10515
- }), /*#__PURE__*/React__namespace.createElement(Text, {
10516
- "data-test": "DesignSystem-EditableInput--ErrorPopper",
10517
- appearance: "destructive",
10518
- weight: "medium"
10519
- }, errorMessage)) : inputComponent;
10547
+ }, /*#__PURE__*/React__namespace.createElement(InlineMessage, {
10548
+ appearance: "alert",
10549
+ description: errorMessage
10550
+ })) : inputComponent;
10520
10551
  }
10521
10552
 
10522
10553
  return /*#__PURE__*/React__namespace.createElement("div", {
@@ -13414,22 +13445,6 @@
13414
13445
  }));
13415
13446
  var GridProvider = context.Provider;
13416
13447
 
13417
- var GridNestedRow = function GridNestedRow(props) {
13418
- var context$1 = React__namespace.useContext(context);
13419
- var schema = context$1.schema,
13420
- loading = context$1.loading,
13421
- nestedRowRenderer = context$1.nestedRowRenderer;
13422
- var data = props.data,
13423
- rowIndex = props.rowIndex;
13424
- if (nestedRowRenderer) return nestedRowRenderer({
13425
- data: data,
13426
- schema: schema,
13427
- loading: loading,
13428
- rowIndex: rowIndex
13429
- });
13430
- return null;
13431
- };
13432
-
13433
13448
  var HeaderCell = function HeaderCell(props) {
13434
13449
  var context$1 = React__namespace.useContext(context);
13435
13450
  var schema = props.schema,
@@ -13614,7 +13629,8 @@
13614
13629
  schema = props.schema,
13615
13630
  expandedState = props.expandedState,
13616
13631
  rowIndex = props.rowIndex,
13617
- colIndex = props.colIndex;
13632
+ colIndex = props.colIndex,
13633
+ nestedRowData = props.nestedRowData;
13618
13634
  var size = context$1.size,
13619
13635
  loading = context$1.loading,
13620
13636
  nestedRows = context$1.nestedRows;
@@ -13629,20 +13645,15 @@
13629
13645
  loading: loading,
13630
13646
  expanded: expanded
13631
13647
  };
13632
- var nestedProps = {
13633
- data: data,
13634
- rowIndex: rowIndex
13635
- };
13636
- var isNestedRowDisabled = !GridNestedRow(nestedProps);
13637
13648
  return /*#__PURE__*/React__namespace.createElement("div", {
13638
13649
  className: "Grid-cellContent"
13639
- }, colIndex === 0 && nestedRows && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, !isNestedRowDisabled ? /*#__PURE__*/React__namespace.createElement(Icon, {
13650
+ }, colIndex === 0 && nestedRows && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, nestedRowData ? /*#__PURE__*/React__namespace.createElement(Icon, {
13640
13651
  className: 'Grid-nestedRowTrigger',
13641
13652
  name: expanded ? 'keyboard_arrow_up' : 'keyboard_arrow_down',
13642
13653
  size: 20,
13643
13654
  appearance: 'default',
13644
13655
  onClick: function onClick(e) {
13645
- if (!isNestedRowDisabled) {
13656
+ if (nestedRowData) {
13646
13657
  e.stopPropagation();
13647
13658
  setExpanded(!expanded);
13648
13659
  }
@@ -13668,7 +13679,8 @@
13668
13679
  onMenuChange = _a.onMenuChange,
13669
13680
  onFilterChange = _a.onFilterChange,
13670
13681
  updateColumnSchema = _a.updateColumnSchema,
13671
- reorderColumn = _a.reorderColumn;
13682
+ reorderColumn = _a.reorderColumn,
13683
+ nestedRowData = _a.nestedRowData;
13672
13684
  var draggable = context$1.draggable,
13673
13685
  separator = context$1.separator,
13674
13686
  nestedRows = context$1.nestedRows,
@@ -13766,7 +13778,8 @@
13766
13778
  colIndex: colIndex,
13767
13779
  data: data,
13768
13780
  schema: schema,
13769
- expandedState: expandedState
13781
+ expandedState: expandedState,
13782
+ nestedRowData: nestedRowData
13770
13783
  }));
13771
13784
  };
13772
13785
 
@@ -13842,6 +13855,24 @@
13842
13855
  }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')));
13843
13856
  };
13844
13857
 
13858
+ var GridNestedRow = function GridNestedRow(props) {
13859
+ var context$1 = React__namespace.useContext(context);
13860
+ var schema = context$1.schema,
13861
+ loading = context$1.loading,
13862
+ nestedRowRenderer = context$1.nestedRowRenderer;
13863
+ var data = props.data,
13864
+ rowIndex = props.rowIndex,
13865
+ expanded = props.expanded;
13866
+ if (nestedRowRenderer) return nestedRowRenderer({
13867
+ data: data,
13868
+ schema: schema,
13869
+ loading: loading,
13870
+ rowIndex: rowIndex,
13871
+ expanded: expanded
13872
+ });
13873
+ return null;
13874
+ };
13875
+
13845
13876
  var GridRow = function GridRow(props) {
13846
13877
  var context$1 = React__namespace.useContext(context);
13847
13878
  var type = context$1.type,
@@ -13883,6 +13914,12 @@
13883
13914
  var unpinnedSchema = schema.filter(function (s) {
13884
13915
  return !s.hidden && !s.pinned;
13885
13916
  });
13917
+ var nestedProps = {
13918
+ data: data,
13919
+ rowIndex: rI,
13920
+ expanded: expanded
13921
+ };
13922
+ var nestedRowData = GridNestedRow(nestedProps);
13886
13923
 
13887
13924
  var renderCheckbox = function renderCheckbox(show) {
13888
13925
  if (!show || !withCheckbox) return null;
@@ -13920,7 +13957,8 @@
13920
13957
  firstCell: !index,
13921
13958
  schema: s,
13922
13959
  data: data,
13923
- expandedState: [expanded, setExpanded]
13960
+ expandedState: [expanded, setExpanded],
13961
+ nestedRowData: nestedRowData
13924
13962
  });
13925
13963
  }));
13926
13964
  }
@@ -13940,10 +13978,7 @@
13940
13978
  ref: rowRef
13941
13979
  }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/React__namespace.createElement("div", {
13942
13980
  className: "Grid-nestedRow"
13943
- }, /*#__PURE__*/React__namespace.createElement(GridNestedRow, {
13944
- data: data,
13945
- rowIndex: rI
13946
- })));
13981
+ }, nestedRowData));
13947
13982
  };
13948
13983
  GridRow.defaultProps = {
13949
13984
  data: {}
@@ -16120,7 +16155,7 @@
16120
16155
  iconAlign: 'left'
16121
16156
  };
16122
16157
 
16123
- var version = "2.16.2";
16158
+ var version = "2.18.0";
16124
16159
 
16125
16160
  exports.Avatar = Avatar;
16126
16161
  exports.AvatarGroup = AvatarGroup;