@innovaccer/design-system 2.36.1 → 2.37.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/CHANGELOG.md +99 -0
- package/css/Readme.md +3 -3
- package/css/dist/index.css +96 -40
- package/css/dist/index.css.map +1 -1
- package/css/src/components/actionCard.css +13 -10
- package/css/src/components/avatar.css +25 -2
- package/css/src/components/avatarGroup.css +8 -0
- package/css/src/components/avatarSelection.css +1 -1
- package/css/src/components/chip.css +12 -7
- package/css/src/components/message.css +1 -1
- package/css/src/components/select.css +8 -1
- package/css/src/components/selectionCard.css +17 -11
- package/css/src/tokens/index.css +3 -3
- package/css/src/utils/cursor.css +4 -0
- package/dist/.lib/tsconfig.type.tsbuildinfo +36 -34
- package/dist/core/components/atoms/avatar/Avatar.d.ts +3 -0
- package/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts +2 -0
- package/dist/core/components/atoms/avatarSelection/AvatarSelection.d.ts +2 -0
- package/dist/core/components/atoms/avatarSelection/avatarPopover/AvatarSelectionOption.d.ts +1 -0
- package/dist/core/components/atoms/avatarSelection/avatarsSelection/SelectionAvatar.d.ts +2 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +1 -0
- package/dist/core/components/molecules/popover/Popover.d.ts +1 -0
- package/dist/core/components/organisms/combobox/Combobox.d.ts +2 -0
- package/dist/core/components/organisms/select/Select.d.ts +2 -0
- package/dist/index.esm.js +163 -60
- package/dist/index.js +169 -62
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* Generated on:
|
|
3
|
+
* Generated on: 1719911531454
|
|
4
4
|
* Package: @innovaccer/design-system
|
|
5
|
-
* Version: v2.
|
|
5
|
+
* Version: v2.37.0
|
|
6
6
|
* License: MIT
|
|
7
7
|
* Docs: https://mds.innovaccer.com
|
|
8
8
|
*/
|
|
@@ -906,16 +906,27 @@ var Avatar = function Avatar(props) {
|
|
|
906
906
|
className = props.className,
|
|
907
907
|
appearance = props.appearance,
|
|
908
908
|
shape = props.shape,
|
|
909
|
+
disabled = props.disabled,
|
|
910
|
+
tooltipSuffix = props.tooltipSuffix,
|
|
911
|
+
tabIndex = props.tabIndex,
|
|
909
912
|
_props$role = props.role,
|
|
910
913
|
role = _props$role === void 0 ? 'presentation' : _props$role;
|
|
911
914
|
var baseProps = extractBaseProps(props);
|
|
912
915
|
var initials = children && typeof children === 'string' ? children.trim().slice(0, initialsLength) : "".concat(firstName ? firstName.trim()[0] : '').concat(lastName ? lastName.trim()[0] : '');
|
|
913
|
-
|
|
916
|
+
|
|
917
|
+
var getTooltipName = function getTooltipName() {
|
|
918
|
+
if (children && typeof children === 'string') {
|
|
919
|
+
return "".concat(children, " ").concat(tooltipSuffix || '');
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
return "".concat(firstName || '', " ").concat(lastName || '', " ").concat(tooltipSuffix || '') || '';
|
|
923
|
+
};
|
|
924
|
+
|
|
914
925
|
var AvatarAppearance = appearance || colors[(initials.charCodeAt(0) + (initials.charCodeAt(1) || 0)) % 8] || DefaultAppearance;
|
|
915
926
|
var AvatarClassNames = classnames((_classNames = {
|
|
916
927
|
Avatar: true
|
|
917
|
-
}, _defineProperty$1(_classNames, 'Avatar--square', shape === 'square'), _defineProperty$1(_classNames, "Avatar--".concat(size), shape !== 'square'), _defineProperty$1(_classNames, "Avatar--".concat(AvatarAppearance), AvatarAppearance), _defineProperty$1(_classNames, 'Avatar--
|
|
918
|
-
var AvatarWrapperClassNames = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Avatar--
|
|
928
|
+
}, _defineProperty$1(_classNames, 'Avatar--square', shape === 'square'), _defineProperty$1(_classNames, "Avatar--".concat(size), shape !== 'square'), _defineProperty$1(_classNames, "Avatar--".concat(AvatarAppearance), AvatarAppearance), _defineProperty$1(_classNames, 'Avatar--noInitials', !initials || !withTooltip), _defineProperty$1(_classNames, 'Avatar--disabled', disabled), _defineProperty$1(_classNames, 'Avatar--default', !disabled), _classNames), className);
|
|
929
|
+
var AvatarWrapperClassNames = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Avatar-wrapper--square', shape === 'square'), _defineProperty$1(_classNames2, "Avatar--".concat(size), shape === 'square'), _classNames2));
|
|
919
930
|
var TextClassNames = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, "Avatar-content--".concat(size), size), _defineProperty$1(_classNames3, "Avatar-content--".concat(AvatarAppearance), AvatarAppearance), _classNames3));
|
|
920
931
|
var IconClassNames = classnames(_defineProperty$1({}, "Avatar-content--".concat(AvatarAppearance), AvatarAppearance));
|
|
921
932
|
var sharedProp = {
|
|
@@ -936,7 +947,8 @@ var Avatar = function Avatar(props) {
|
|
|
936
947
|
}, /*#__PURE__*/React.createElement("span", _extends$2({
|
|
937
948
|
"data-test": "DesignSystem-Avatar"
|
|
938
949
|
}, baseProps, {
|
|
939
|
-
className: AvatarClassNames
|
|
950
|
+
className: AvatarClassNames,
|
|
951
|
+
tabIndex: tabIndex || disabled ? -1 : 0
|
|
940
952
|
}), children)));
|
|
941
953
|
}
|
|
942
954
|
|
|
@@ -947,7 +959,8 @@ var Avatar = function Avatar(props) {
|
|
|
947
959
|
}, /*#__PURE__*/React.createElement("span", _extends$2({
|
|
948
960
|
"data-test": "DesignSystem-Avatar"
|
|
949
961
|
}, baseProps, {
|
|
950
|
-
className: AvatarClassNames
|
|
962
|
+
className: AvatarClassNames,
|
|
963
|
+
tabIndex: tabIndex || disabled ? -1 : 0
|
|
951
964
|
}), initials && /*#__PURE__*/React.createElement(Text, {
|
|
952
965
|
weight: "medium",
|
|
953
966
|
appearance: 'white',
|
|
@@ -964,7 +977,7 @@ var Avatar = function Avatar(props) {
|
|
|
964
977
|
var renderTooltip = function renderTooltip() {
|
|
965
978
|
if (withTooltip && initials) {
|
|
966
979
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
967
|
-
tooltip:
|
|
980
|
+
tooltip: getTooltipName(),
|
|
968
981
|
position: tooltipPosition,
|
|
969
982
|
triggerClass: 'flex-grow-0'
|
|
970
983
|
}, renderAvatar());
|
|
@@ -995,11 +1008,13 @@ var AvatarCount = function AvatarCount(props) {
|
|
|
995
1008
|
var ContentClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "Avatar-content--secondary", true), _defineProperty$1(_classNames, "Avatar-content--tiny", size === 'tiny'), _classNames));
|
|
996
1009
|
var AvatarVariantsClass = classnames((_classNames2 = {
|
|
997
1010
|
Avatar: true
|
|
998
|
-
}, _defineProperty$1(_classNames2, "Avatar--regular", size === 'regular'), _defineProperty$1(_classNames2, "Avatar--tiny", size === 'tiny'), _defineProperty$1(_classNames2, "Avatar--secondary", true), _defineProperty$1(_classNames2, '
|
|
1011
|
+
}, _defineProperty$1(_classNames2, "Avatar--regular", size === 'regular'), _defineProperty$1(_classNames2, "Avatar--tiny", size === 'tiny'), _defineProperty$1(_classNames2, "Avatar--secondary", true), _defineProperty$1(_classNames2, 'cursor-default', true), _defineProperty$1(_classNames2, 'cursor-pointer', on === 'click'), _classNames2));
|
|
999
1012
|
return /*#__PURE__*/React.createElement("div", {
|
|
1000
1013
|
"data-test": "DesignSystem-AvatarGroup--TriggerAvatar",
|
|
1001
1014
|
className: "AvatarCount-wrapper",
|
|
1002
|
-
style: avatarStyle
|
|
1015
|
+
style: avatarStyle,
|
|
1016
|
+
tabIndex: 0,
|
|
1017
|
+
role: "button"
|
|
1003
1018
|
}, /*#__PURE__*/React.createElement("span", {
|
|
1004
1019
|
"data-test": "DesignSystem-AvatarGroup--TriggerAvatarVariants",
|
|
1005
1020
|
className: AvatarVariantsClass
|
|
@@ -1022,7 +1037,9 @@ var Avatars = function Avatars(props) {
|
|
|
1022
1037
|
firstName = item.firstName,
|
|
1023
1038
|
lastName = item.lastName,
|
|
1024
1039
|
icon = item.icon,
|
|
1025
|
-
image = item.image
|
|
1040
|
+
image = item.image,
|
|
1041
|
+
disabled = item.disabled,
|
|
1042
|
+
tooltipSuffix = item.tooltipSuffix;
|
|
1026
1043
|
return /*#__PURE__*/React.createElement("div", {
|
|
1027
1044
|
"data-test": "DesignSystem-AvatarGroup--Avatar",
|
|
1028
1045
|
className: GroupClass,
|
|
@@ -1034,7 +1051,9 @@ var Avatars = function Avatars(props) {
|
|
|
1034
1051
|
firstName: firstName,
|
|
1035
1052
|
lastName: lastName,
|
|
1036
1053
|
withTooltip: true,
|
|
1037
|
-
|
|
1054
|
+
disabled: disabled,
|
|
1055
|
+
tooltipPosition: tooltipPosition,
|
|
1056
|
+
tooltipSuffix: tooltipSuffix
|
|
1038
1057
|
}, image || icon));
|
|
1039
1058
|
});
|
|
1040
1059
|
return avatars;
|
|
@@ -1061,8 +1080,10 @@ var AvatarPopperBody = function AvatarPopperBody(props) {
|
|
|
1061
1080
|
var _item$firstName = item.firstName,
|
|
1062
1081
|
firstName = _item$firstName === void 0 ? '' : _item$firstName,
|
|
1063
1082
|
_item$lastName = item.lastName,
|
|
1064
|
-
lastName = _item$lastName === void 0 ? '' : _item$lastName
|
|
1065
|
-
|
|
1083
|
+
lastName = _item$lastName === void 0 ? '' : _item$lastName,
|
|
1084
|
+
_item$tooltipSuffix = item.tooltipSuffix,
|
|
1085
|
+
tooltipSuffix = _item$tooltipSuffix === void 0 ? '' : _item$tooltipSuffix;
|
|
1086
|
+
var name = "".concat(firstName, " ").concat(lastName, " ").concat(tooltipSuffix);
|
|
1066
1087
|
var AvatarTextClass = classnames(_defineProperty$1({}, "mb-4", ind < hiddenAvatarList.length - 1));
|
|
1067
1088
|
return /*#__PURE__*/React.createElement(Text, {
|
|
1068
1089
|
key: ind,
|
|
@@ -3085,10 +3106,10 @@ var GenericChip = function GenericChip(props) {
|
|
|
3085
3106
|
var iconAppearance = function iconAppearance(align) {
|
|
3086
3107
|
var _classNames2;
|
|
3087
3108
|
|
|
3088
|
-
return classnames((_classNames2 = {}, _defineProperty$1(_classNames2, '
|
|
3109
|
+
return classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'primary_dark', selected), _defineProperty$1(_classNames2, 'subtle', !selected && align === 'right'), _defineProperty$1(_classNames2, 'inverse', !selected && align === 'left'), _classNames2));
|
|
3089
3110
|
};
|
|
3090
3111
|
|
|
3091
|
-
var textColor = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'primary-
|
|
3112
|
+
var textColor = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'primary-dark', selected), _defineProperty$1(_classNames3, 'inverse', !disabled && !selected), _classNames3));
|
|
3092
3113
|
|
|
3093
3114
|
var renderLabel = function renderLabel() {
|
|
3094
3115
|
if (typeof label === 'string') {
|
|
@@ -13981,7 +14002,9 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) {
|
|
|
13981
14002
|
var options = on === 'hover' ? {
|
|
13982
14003
|
ref: ref,
|
|
13983
14004
|
onMouseEnter: this.handleMouseEnter,
|
|
13984
|
-
onMouseLeave: this.handleMouseLeave
|
|
14005
|
+
onMouseLeave: this.handleMouseLeave,
|
|
14006
|
+
onFocus: this.handleMouseEnter,
|
|
14007
|
+
onBlur: this.handleMouseLeave
|
|
13985
14008
|
} : {
|
|
13986
14009
|
ref: ref,
|
|
13987
14010
|
onClick: function onClick(ev) {
|
|
@@ -14122,7 +14145,8 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) {
|
|
|
14122
14145
|
appendToBody = _this$props6.appendToBody,
|
|
14123
14146
|
hide = _this$props6.hide,
|
|
14124
14147
|
boundaryElement = _this$props6.boundaryElement,
|
|
14125
|
-
triggerCoordinates = _this$props6.triggerCoordinates
|
|
14148
|
+
triggerCoordinates = _this$props6.triggerCoordinates,
|
|
14149
|
+
computeStyles = _this$props6.computeStyles;
|
|
14126
14150
|
var _this$state2 = this.state,
|
|
14127
14151
|
animationKeyframe = _this$state2.animationKeyframe,
|
|
14128
14152
|
isOpen = _this$state2.isOpen;
|
|
@@ -14135,7 +14159,8 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) {
|
|
|
14135
14159
|
},
|
|
14136
14160
|
hide: {
|
|
14137
14161
|
enabled: hide
|
|
14138
|
-
}
|
|
14162
|
+
},
|
|
14163
|
+
computeStyles: computeStyles
|
|
14139
14164
|
}, triggerCoordinates && {
|
|
14140
14165
|
offset: {
|
|
14141
14166
|
offset: "".concat(triggerCoordinates.x, "px, ").concat(triggerCoordinates.y, "px")
|
|
@@ -14156,11 +14181,15 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) {
|
|
|
14156
14181
|
},
|
|
14157
14182
|
hide: {
|
|
14158
14183
|
enabled: hide
|
|
14159
|
-
}
|
|
14184
|
+
},
|
|
14185
|
+
computeStyles: computeStyles
|
|
14160
14186
|
}
|
|
14161
14187
|
}, this.getPopperChildren), document.body), isOpen && appendToBody && triggerCoordinates && /*#__PURE__*/ReactDOM.createPortal(coordinatesPopper, document.body), isOpen && !appendToBody && !triggerCoordinates && /*#__PURE__*/React.createElement(Popper, {
|
|
14162
14188
|
placement: placement,
|
|
14163
|
-
innerRef: this.popupRef
|
|
14189
|
+
innerRef: this.popupRef,
|
|
14190
|
+
modifiers: {
|
|
14191
|
+
computeStyles: computeStyles
|
|
14192
|
+
}
|
|
14164
14193
|
}, this.getPopperChildren));
|
|
14165
14194
|
}
|
|
14166
14195
|
}]);
|
|
@@ -23015,10 +23044,16 @@ var ActionCard = function ActionCard(props) {
|
|
|
23015
23044
|
onClick = props.onClick,
|
|
23016
23045
|
rest = _objectWithoutProperties(props, _excluded$r);
|
|
23017
23046
|
|
|
23018
|
-
var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ActionCard', true), _defineProperty$1(_classNames, 'ActionCard--disabled', disabled), _classNames), className);
|
|
23047
|
+
var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ActionCard', true), _defineProperty$1(_classNames, 'ActionCard--default', !disabled), _defineProperty$1(_classNames, 'ActionCard--disabled', disabled), _classNames), className);
|
|
23019
23048
|
|
|
23020
23049
|
var onKeyDownHandler = function onKeyDownHandler(event) {
|
|
23021
|
-
if (event.key === 'Enter' && onClick) {
|
|
23050
|
+
if (event.key === 'Enter' && onClick && !disabled) {
|
|
23051
|
+
onClick(event);
|
|
23052
|
+
}
|
|
23053
|
+
};
|
|
23054
|
+
|
|
23055
|
+
var onClickHandler = function onClickHandler(event) {
|
|
23056
|
+
if (!disabled && onClick) {
|
|
23022
23057
|
onClick(event);
|
|
23023
23058
|
}
|
|
23024
23059
|
};
|
|
@@ -23028,7 +23063,7 @@ var ActionCard = function ActionCard(props) {
|
|
|
23028
23063
|
role: "link",
|
|
23029
23064
|
"data-test": "DesignSystem-ActionCard",
|
|
23030
23065
|
className: classes,
|
|
23031
|
-
onClick:
|
|
23066
|
+
onClick: onClickHandler,
|
|
23032
23067
|
onKeyDown: onKeyDownHandler
|
|
23033
23068
|
}, rest), disabled && /*#__PURE__*/React.createElement("div", {
|
|
23034
23069
|
style: {
|
|
@@ -23129,14 +23164,16 @@ var SelectionCard = function SelectionCard(props) {
|
|
|
23129
23164
|
className = props.className,
|
|
23130
23165
|
rest = _objectWithoutProperties(props, _excluded$q);
|
|
23131
23166
|
|
|
23132
|
-
var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Selection-card', true), _defineProperty$1(_classNames, 'Selection-card--selected', selected), _defineProperty$1(_classNames, 'Selection-card--disabled', disabled && !selected), _defineProperty$1(_classNames, 'Selection-card--selected-disabled', disabled && selected), _classNames), className);
|
|
23167
|
+
var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Selection-card', true), _defineProperty$1(_classNames, 'Selection-card--default', !disabled), _defineProperty$1(_classNames, 'Selection-card--selected', selected && !disabled), _defineProperty$1(_classNames, 'Selection-card--disabled', disabled), _defineProperty$1(_classNames, 'Selection-card--default-disabled', disabled && !selected), _defineProperty$1(_classNames, 'Selection-card--selected-disabled', disabled && selected), _classNames), className);
|
|
23133
23168
|
|
|
23134
23169
|
var onClickHandler = function onClickHandler(event) {
|
|
23135
|
-
|
|
23170
|
+
if (!disabled && onClick) {
|
|
23171
|
+
onClick(event, id, cardValue);
|
|
23172
|
+
}
|
|
23136
23173
|
};
|
|
23137
23174
|
|
|
23138
23175
|
var onKeyDownHandler = function onKeyDownHandler(event) {
|
|
23139
|
-
if (event.key === 'Enter') {
|
|
23176
|
+
if (event.key === 'Enter' && !disabled) {
|
|
23140
23177
|
onClickHandler(event);
|
|
23141
23178
|
}
|
|
23142
23179
|
};
|
|
@@ -23144,7 +23181,7 @@ var SelectionCard = function SelectionCard(props) {
|
|
|
23144
23181
|
return /*#__PURE__*/React.createElement("div", _extends$2({
|
|
23145
23182
|
role: "checkbox",
|
|
23146
23183
|
"aria-checked": selected,
|
|
23147
|
-
tabIndex: 0,
|
|
23184
|
+
tabIndex: disabled ? -1 : 0,
|
|
23148
23185
|
onKeyDown: onKeyDownHandler,
|
|
23149
23186
|
onClick: function onClick(event) {
|
|
23150
23187
|
return onClickHandler(event);
|
|
@@ -24289,17 +24326,20 @@ var TextField = function TextField(props) {
|
|
|
24289
24326
|
};
|
|
24290
24327
|
TextField.displayName = 'TextField';
|
|
24291
24328
|
|
|
24292
|
-
var _excluded$n = ["icon", "image"];
|
|
24329
|
+
var _excluded$n = ["icon", "image", "disabled"];
|
|
24293
24330
|
var SelectionAvatar = function SelectionAvatar(props) {
|
|
24294
24331
|
var icon = props.icon,
|
|
24295
24332
|
image = props.image,
|
|
24333
|
+
disabled = props.disabled,
|
|
24296
24334
|
rest = _objectWithoutProperties(props, _excluded$n);
|
|
24297
24335
|
|
|
24336
|
+
var avatarClassName = classnames(_defineProperty$1({}, 'cursor-pointer', !disabled));
|
|
24298
24337
|
return /*#__PURE__*/React.createElement(Avatar, _extends$2({
|
|
24299
24338
|
role: "checkbox"
|
|
24300
24339
|
}, rest, {
|
|
24340
|
+
disabled: disabled,
|
|
24301
24341
|
withTooltip: true,
|
|
24302
|
-
className:
|
|
24342
|
+
className: avatarClassName
|
|
24303
24343
|
}), image || icon);
|
|
24304
24344
|
};
|
|
24305
24345
|
|
|
@@ -24317,6 +24357,10 @@ var SelectionAvatarsWrapper = function SelectionAvatarsWrapper(props) {
|
|
|
24317
24357
|
onSelect = contextProp.onSelect;
|
|
24318
24358
|
|
|
24319
24359
|
var onClickHandler = function onClickHandler(item) {
|
|
24360
|
+
if (item.disabled) {
|
|
24361
|
+
return;
|
|
24362
|
+
}
|
|
24363
|
+
|
|
24320
24364
|
var list = selectedItems;
|
|
24321
24365
|
|
|
24322
24366
|
if (selectedItems !== null && selectedItems !== void 0 && selectedItems.includes(item)) {
|
|
@@ -24334,6 +24378,10 @@ var SelectionAvatarsWrapper = function SelectionAvatarsWrapper(props) {
|
|
|
24334
24378
|
};
|
|
24335
24379
|
|
|
24336
24380
|
var handleKeyDown = function handleKeyDown(event, item) {
|
|
24381
|
+
if (item.disabled) {
|
|
24382
|
+
return;
|
|
24383
|
+
}
|
|
24384
|
+
|
|
24337
24385
|
switch (event.key) {
|
|
24338
24386
|
case 'Enter':
|
|
24339
24387
|
onClickHandler(item);
|
|
@@ -24348,8 +24396,10 @@ var SelectionAvatarsWrapper = function SelectionAvatarsWrapper(props) {
|
|
|
24348
24396
|
firstName = avatarItem.firstName,
|
|
24349
24397
|
lastName = avatarItem.lastName,
|
|
24350
24398
|
icon = avatarItem.icon,
|
|
24351
|
-
image = avatarItem.image
|
|
24352
|
-
|
|
24399
|
+
image = avatarItem.image,
|
|
24400
|
+
disabled = avatarItem.disabled,
|
|
24401
|
+
tooltipSuffix = avatarItem.tooltipSuffix;
|
|
24402
|
+
var GroupClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "SelectionAvatarGroup-item", true), _defineProperty$1(_classNames, "SelectionAvatarGroup-item--active", !disabled), _defineProperty$1(_classNames, "SelectionAvatarGroup-item--selected", selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.includes(avatarItem)), _classNames));
|
|
24353
24403
|
|
|
24354
24404
|
if (avatarRenderer) {
|
|
24355
24405
|
return avatarRenderer(avatarItem);
|
|
@@ -24359,7 +24409,7 @@ var SelectionAvatarsWrapper = function SelectionAvatarsWrapper(props) {
|
|
|
24359
24409
|
key: index,
|
|
24360
24410
|
className: "SelectionAvatarGroup-wrapper"
|
|
24361
24411
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24362
|
-
tabIndex:
|
|
24412
|
+
tabIndex: -1,
|
|
24363
24413
|
role: "checkbox",
|
|
24364
24414
|
style: avatarStyle,
|
|
24365
24415
|
className: GroupClass,
|
|
@@ -24379,7 +24429,9 @@ var SelectionAvatarsWrapper = function SelectionAvatarsWrapper(props) {
|
|
|
24379
24429
|
withTooltip: true,
|
|
24380
24430
|
tooltipPosition: tooltipPosition,
|
|
24381
24431
|
icon: icon,
|
|
24382
|
-
image: image
|
|
24432
|
+
image: image,
|
|
24433
|
+
disabled: disabled,
|
|
24434
|
+
tooltipSuffix: tooltipSuffix
|
|
24383
24435
|
})));
|
|
24384
24436
|
}));
|
|
24385
24437
|
};
|
|
@@ -24451,7 +24503,7 @@ var AvatarSelectionCount = function AvatarSelectionCount(props) {
|
|
|
24451
24503
|
selectedItemCount = _React$useState2[0],
|
|
24452
24504
|
setSelectedItemCount = _React$useState2[1];
|
|
24453
24505
|
|
|
24454
|
-
var wrapperClassName = classnames((_classNames = {}, _defineProperty$1(_classNames, 'SelectionAvatarCount-wrapper', true), _defineProperty$1(_classNames, 'SelectionAvatarCount--selected', selectedItemCount > 0), _classNames));
|
|
24506
|
+
var wrapperClassName = classnames((_classNames = {}, _defineProperty$1(_classNames, 'SelectionAvatarCount-wrapper', true), _defineProperty$1(_classNames, "SelectionAvatarGroup-item", true), _defineProperty$1(_classNames, 'SelectionAvatarCount--selected', selectedItemCount > 0), _classNames));
|
|
24455
24507
|
React.useEffect(function () {
|
|
24456
24508
|
var selectedList = hiddenAvatarList.filter(function (data1) {
|
|
24457
24509
|
return selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.some(function (data2) {
|
|
@@ -24474,6 +24526,7 @@ var AvatarSelectionCount = function AvatarSelectionCount(props) {
|
|
|
24474
24526
|
"aria-controls": popoverId,
|
|
24475
24527
|
ref: triggerRef
|
|
24476
24528
|
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
24529
|
+
tabIndex: -1,
|
|
24477
24530
|
size: size,
|
|
24478
24531
|
appearance: "secondary",
|
|
24479
24532
|
className: "SelectionAvatarCount cursor-pointer"
|
|
@@ -24594,10 +24647,11 @@ AvatarSelectionList.defaultProps = {
|
|
|
24594
24647
|
tagName: 'ul'
|
|
24595
24648
|
};
|
|
24596
24649
|
|
|
24597
|
-
var _excluded$m = ["children", "value"];
|
|
24650
|
+
var _excluded$m = ["children", "value", "disabled"];
|
|
24598
24651
|
var AvatarSelectionOption = function AvatarSelectionOption(props) {
|
|
24599
24652
|
var children = props.children,
|
|
24600
24653
|
value = props.value,
|
|
24654
|
+
disabled = props.disabled,
|
|
24601
24655
|
rest = _objectWithoutProperties(props, _excluded$m);
|
|
24602
24656
|
|
|
24603
24657
|
var contextProp = React.useContext(AvatarSelectionContext);
|
|
@@ -24615,6 +24669,11 @@ var AvatarSelectionOption = function AvatarSelectionOption(props) {
|
|
|
24615
24669
|
|
|
24616
24670
|
var onSelectHandler = function onSelectHandler(event, avatarData) {
|
|
24617
24671
|
event.preventDefault();
|
|
24672
|
+
|
|
24673
|
+
if (disabled) {
|
|
24674
|
+
return;
|
|
24675
|
+
}
|
|
24676
|
+
|
|
24618
24677
|
var list = selectedItems ? _toConsumableArray(selectedItems) : [];
|
|
24619
24678
|
|
|
24620
24679
|
if (selectedItems !== null && selectedItems !== void 0 && selectedItems.includes(avatarData)) {
|
|
@@ -24643,6 +24702,7 @@ var AvatarSelectionOption = function AvatarSelectionOption(props) {
|
|
|
24643
24702
|
},
|
|
24644
24703
|
selected: selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.includes(value),
|
|
24645
24704
|
"data-test": "DesignSystem-AvatarSelection--Option",
|
|
24705
|
+
disabled: disabled,
|
|
24646
24706
|
tabIndex: -1
|
|
24647
24707
|
}, rest), children);
|
|
24648
24708
|
};
|
|
@@ -24684,8 +24744,10 @@ var AvatarSelectionItem = function AvatarSelectionItem(props) {
|
|
|
24684
24744
|
var _avatarData$firstName = avatarData.firstName,
|
|
24685
24745
|
firstName = _avatarData$firstName === void 0 ? '' : _avatarData$firstName,
|
|
24686
24746
|
_avatarData$lastName = avatarData.lastName,
|
|
24687
|
-
lastName = _avatarData$lastName === void 0 ? '' : _avatarData$lastName
|
|
24688
|
-
|
|
24747
|
+
lastName = _avatarData$lastName === void 0 ? '' : _avatarData$lastName,
|
|
24748
|
+
disabled = avatarData.disabled,
|
|
24749
|
+
tooltipSuffix = avatarData.tooltipSuffix;
|
|
24750
|
+
var name = "".concat(firstName || '', " ").concat(lastName || '', " ").concat(tooltipSuffix || '') || '';
|
|
24689
24751
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
24690
24752
|
showOnTruncation: true,
|
|
24691
24753
|
tooltip: name,
|
|
@@ -24693,6 +24755,7 @@ var AvatarSelectionItem = function AvatarSelectionItem(props) {
|
|
|
24693
24755
|
open: showTooltip
|
|
24694
24756
|
}, /*#__PURE__*/React.createElement(AvatarSelectionOption, {
|
|
24695
24757
|
value: avatarData,
|
|
24758
|
+
disabled: disabled,
|
|
24696
24759
|
onFocus: function onFocus() {
|
|
24697
24760
|
setShowTooltip(true);
|
|
24698
24761
|
},
|
|
@@ -25493,6 +25556,7 @@ var Combobox = function Combobox(props) {
|
|
|
25493
25556
|
multiSelect = props.multiSelect,
|
|
25494
25557
|
className = props.className,
|
|
25495
25558
|
maxHeight = props.maxHeight,
|
|
25559
|
+
minHeight = props.minHeight,
|
|
25496
25560
|
width = props.width,
|
|
25497
25561
|
value = props.value,
|
|
25498
25562
|
placeholder = props.placeholder,
|
|
@@ -25508,7 +25572,8 @@ var Combobox = function Combobox(props) {
|
|
|
25508
25572
|
clearButton = props.clearButton,
|
|
25509
25573
|
onSearch = props.onSearch,
|
|
25510
25574
|
onKeyDown = props.onKeyDown,
|
|
25511
|
-
onKeyUp = props.onKeyUp
|
|
25575
|
+
onKeyUp = props.onKeyUp,
|
|
25576
|
+
computeStyles = props.computeStyles;
|
|
25512
25577
|
|
|
25513
25578
|
var _React$useState = React.useState(),
|
|
25514
25579
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -25568,6 +25633,16 @@ var Combobox = function Combobox(props) {
|
|
|
25568
25633
|
|
|
25569
25634
|
var inputTriggerRef = React.useRef();
|
|
25570
25635
|
var popoverId = "DesignSystem-Combobox--Popover-".concat(uidGenerator());
|
|
25636
|
+
var defaultPopoverStyle = {
|
|
25637
|
+
fn: function fn(data) {
|
|
25638
|
+
return _objectSpread2(_objectSpread2({}, data), {}, {
|
|
25639
|
+
styles: _objectSpread2(_objectSpread2({}, data.styles), {}, {
|
|
25640
|
+
position: 'fixed'
|
|
25641
|
+
})
|
|
25642
|
+
});
|
|
25643
|
+
}
|
|
25644
|
+
};
|
|
25645
|
+
var popoverComputeStyle = computeStyles !== null && computeStyles !== void 0 ? computeStyles : defaultPopoverStyle;
|
|
25571
25646
|
React.useEffect(function () {
|
|
25572
25647
|
var _triggerRef$current;
|
|
25573
25648
|
|
|
@@ -25577,6 +25652,7 @@ var Combobox = function Combobox(props) {
|
|
|
25577
25652
|
};
|
|
25578
25653
|
var wrapperStyle = {
|
|
25579
25654
|
maxHeight: maxHeight || 'var(--spacing-9)',
|
|
25655
|
+
minHeight: minHeight,
|
|
25580
25656
|
overflowY: 'auto',
|
|
25581
25657
|
boxSizing: 'border-box'
|
|
25582
25658
|
};
|
|
@@ -25688,7 +25764,8 @@ var Combobox = function Combobox(props) {
|
|
|
25688
25764
|
triggerClass: "d-block",
|
|
25689
25765
|
customStyle: popoverStyle,
|
|
25690
25766
|
onToggle: onToggleHandler,
|
|
25691
|
-
trigger: /*#__PURE__*/React.createElement(ComboboxTrigger, triggerProps)
|
|
25767
|
+
trigger: /*#__PURE__*/React.createElement(ComboboxTrigger, triggerProps),
|
|
25768
|
+
computeStyles: popoverComputeStyle
|
|
25692
25769
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25693
25770
|
style: wrapperStyle,
|
|
25694
25771
|
ref: listRef,
|
|
@@ -25765,7 +25842,9 @@ var removeOrAddToList = function removeOrAddToList(targetObject, prevList) {
|
|
|
25765
25842
|
};
|
|
25766
25843
|
var computeValue = function computeValue(multiSelect, selectValue, setLabel) {
|
|
25767
25844
|
if (!multiSelect) {
|
|
25768
|
-
|
|
25845
|
+
var _selectValue$label;
|
|
25846
|
+
|
|
25847
|
+
return (selectValue === null || selectValue === void 0 ? void 0 : (_selectValue$label = selectValue.label) === null || _selectValue$label === void 0 ? void 0 : _selectValue$label.trim()) || '';
|
|
25769
25848
|
}
|
|
25770
25849
|
|
|
25771
25850
|
var label = setLabel === null || setLabel === void 0 ? void 0 : setLabel(selectValue.length);
|
|
@@ -25908,6 +25987,8 @@ var handleInputKeyDown = function handleInputKeyDown(event, listRef, setFocusedO
|
|
|
25908
25987
|
|
|
25909
25988
|
var _excluded$h = ["children", "option", "checkedState", "onClick", "withCheckbox", "disabled"];
|
|
25910
25989
|
var SelectOption = function SelectOption(props) {
|
|
25990
|
+
var _classNames2;
|
|
25991
|
+
|
|
25911
25992
|
var children = props.children,
|
|
25912
25993
|
option = props.option,
|
|
25913
25994
|
checkedState = props.checkedState,
|
|
@@ -25948,6 +26029,8 @@ var SelectOption = function SelectOption(props) {
|
|
|
25948
26029
|
|
|
25949
26030
|
var checked = checkedState === 'checked' || elementExist(option, selectValue) !== -1;
|
|
25950
26031
|
var indeterminate = checkedState === 'indeterminate';
|
|
26032
|
+
var optionItemClass = classnames(_defineProperty$1({}, 'Select-option', true));
|
|
26033
|
+
var textClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Select-option--text', true), _defineProperty$1(_classNames2, 'pt-2', multiSelect), _classNames2));
|
|
25951
26034
|
|
|
25952
26035
|
var onKeyDownHandler = function onKeyDownHandler(event) {
|
|
25953
26036
|
handleKeyDown$2(event, focusedOption, setFocusedOption, setHighlightFirstItem, setHighlightLastItem, listRef, withSearch, setOpenPopover, triggerRef);
|
|
@@ -25966,14 +26049,14 @@ var SelectOption = function SelectOption(props) {
|
|
|
25966
26049
|
disabled: disabled,
|
|
25967
26050
|
"data-test": "DesignSystem-Select-Option"
|
|
25968
26051
|
}, rest), /*#__PURE__*/React.createElement("div", {
|
|
25969
|
-
className:
|
|
26052
|
+
className: optionItemClass
|
|
25970
26053
|
}, multiSelect && withCheckbox && /*#__PURE__*/React.createElement(Checkbox, {
|
|
25971
26054
|
tabIndex: -1,
|
|
25972
26055
|
"aria-checked": indeterminate ? 'mixed' : checked,
|
|
25973
26056
|
checked: checked,
|
|
25974
26057
|
indeterminate: indeterminate
|
|
25975
26058
|
}), /*#__PURE__*/React.createElement("div", {
|
|
25976
|
-
className:
|
|
26059
|
+
className: textClass
|
|
25977
26060
|
}, children)));
|
|
25978
26061
|
};
|
|
25979
26062
|
SelectOption.defaultProps = {
|
|
@@ -26007,12 +26090,16 @@ var SelectTrigger = function SelectTrigger(props) {
|
|
|
26007
26090
|
setOpenPopover = contextProp.setOpenPopover,
|
|
26008
26091
|
setHighlightFirstItem = contextProp.setHighlightFirstItem,
|
|
26009
26092
|
setHighlightLastItem = contextProp.setHighlightLastItem,
|
|
26010
|
-
triggerRef = contextProp.triggerRef
|
|
26093
|
+
triggerRef = contextProp.triggerRef,
|
|
26094
|
+
width = contextProp.width;
|
|
26011
26095
|
var buttonDisabled = disabled ? 'disabled' : 'default';
|
|
26012
26096
|
var trimmedPlaceholder = placeholder === null || placeholder === void 0 ? void 0 : placeholder.trim();
|
|
26013
26097
|
var displayValue = computeValue(multiSelect, selectValue, setLabel);
|
|
26014
26098
|
var value = isOptionSelected && displayValue.length > 0 ? displayValue : trimmedPlaceholder;
|
|
26015
26099
|
var iconName = openPopover ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
26100
|
+
var triggerStyle = {
|
|
26101
|
+
width: width
|
|
26102
|
+
};
|
|
26016
26103
|
|
|
26017
26104
|
var onClearHandler = function onClearHandler(event) {
|
|
26018
26105
|
event.stopPropagation();
|
|
@@ -26029,7 +26116,7 @@ var SelectTrigger = function SelectTrigger(props) {
|
|
|
26029
26116
|
};
|
|
26030
26117
|
|
|
26031
26118
|
var buttonClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Button', true), _defineProperty$1(_classNames, 'Select-trigger', true), _defineProperty$1(_classNames, "Select-trigger--".concat(triggerSize), triggerSize), _defineProperty$1(_classNames, 'Select-trigger--placeholder', !isOptionSelected), _defineProperty$1(_classNames, 'Select-trigger--icon', icon), _defineProperty$1(_classNames, 'Select-trigger--open', openPopover), _classNames));
|
|
26032
|
-
var textClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Text', true), _defineProperty$1(_classNames2, 'Text--regular', true), _defineProperty$1(_classNames2, 'Select-trigger
|
|
26119
|
+
var textClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Text', true), _defineProperty$1(_classNames2, 'Text--regular', true), _defineProperty$1(_classNames2, 'Select-trigger--text', true), _classNames2));
|
|
26033
26120
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
26034
26121
|
showOnTruncation: true,
|
|
26035
26122
|
showTooltip: !openPopover,
|
|
@@ -26046,6 +26133,7 @@ var SelectTrigger = function SelectTrigger(props) {
|
|
|
26046
26133
|
className: buttonClass,
|
|
26047
26134
|
disabled: disabled,
|
|
26048
26135
|
tabIndex: 0,
|
|
26136
|
+
style: triggerStyle,
|
|
26049
26137
|
"aria-haspopup": "listbox",
|
|
26050
26138
|
"aria-expanded": openPopover,
|
|
26051
26139
|
"aria-label": "trigger",
|
|
@@ -26193,7 +26281,9 @@ var Select = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
26193
26281
|
multiSelect = _props$multiSelect === void 0 ? false : _props$multiSelect,
|
|
26194
26282
|
onOutsideClick = props.onOutsideClick,
|
|
26195
26283
|
triggerOptions = props.triggerOptions,
|
|
26196
|
-
popoverWidth = props.popoverWidth
|
|
26284
|
+
popoverWidth = props.popoverWidth,
|
|
26285
|
+
trigger = props.trigger,
|
|
26286
|
+
onToggle = props.onToggle;
|
|
26197
26287
|
|
|
26198
26288
|
var _React$useState = React.useState(false),
|
|
26199
26289
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -26242,19 +26332,30 @@ var Select = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
26242
26332
|
popoverStyle = _React$useState16[0],
|
|
26243
26333
|
setPopoverStyle = _React$useState16[1];
|
|
26244
26334
|
|
|
26245
|
-
var triggerStyle = {
|
|
26246
|
-
width: width
|
|
26247
|
-
};
|
|
26248
26335
|
var baseProps = extractBaseProps(props);
|
|
26336
|
+
|
|
26337
|
+
var getTriggerElement = function getTriggerElement() {
|
|
26338
|
+
if (trigger) {
|
|
26339
|
+
return /*#__PURE__*/React.cloneElement(trigger, {
|
|
26340
|
+
ref: triggerRef
|
|
26341
|
+
});
|
|
26342
|
+
}
|
|
26343
|
+
|
|
26344
|
+
return /*#__PURE__*/React.createElement(SelectTrigger, _extends$2({
|
|
26345
|
+
"aria-controls": "select-listbox"
|
|
26346
|
+
}, triggerOptions));
|
|
26347
|
+
};
|
|
26348
|
+
|
|
26249
26349
|
React.useEffect(function () {
|
|
26250
26350
|
var _triggerRef$current;
|
|
26251
26351
|
|
|
26252
26352
|
// if popover width is not provided explicitly, apply the trigger width to popover width
|
|
26253
|
-
|
|
26254
|
-
|
|
26353
|
+
var MIN_WIDTH = 176;
|
|
26354
|
+
var triggerWidth = (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : _triggerRef$current.clientWidth;
|
|
26255
26355
|
|
|
26356
|
+
if (!popoverWidth && triggerWidth) {
|
|
26256
26357
|
setPopoverStyle(_objectSpread2(_objectSpread2({}, popoverStyle), {}, {
|
|
26257
|
-
width:
|
|
26358
|
+
width: trigger ? Math.max(triggerWidth || 0, MIN_WIDTH) : triggerWidth
|
|
26258
26359
|
}));
|
|
26259
26360
|
}
|
|
26260
26361
|
}, []);
|
|
@@ -26309,11 +26410,15 @@ var Select = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
26309
26410
|
}, [value]);
|
|
26310
26411
|
|
|
26311
26412
|
var onToggleHandler = function onToggleHandler(open) {
|
|
26413
|
+
if (onToggle) {
|
|
26414
|
+
onToggle(open);
|
|
26415
|
+
}
|
|
26416
|
+
|
|
26312
26417
|
if (triggerOptions && triggerOptions.disabled) {
|
|
26313
26418
|
setOpenPopover(false);
|
|
26314
26419
|
} else {
|
|
26315
|
-
setHighlightFirstItem(open);
|
|
26316
26420
|
setOpenPopover(open);
|
|
26421
|
+
setHighlightFirstItem(open);
|
|
26317
26422
|
}
|
|
26318
26423
|
};
|
|
26319
26424
|
|
|
@@ -26352,19 +26457,17 @@ var Select = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
26352
26457
|
}, /*#__PURE__*/React.createElement("div", _extends$2({
|
|
26353
26458
|
"data-test": "DesignSystem-Select",
|
|
26354
26459
|
"aria-haspopup": "listbox",
|
|
26355
|
-
"aria-expanded": openPopover
|
|
26356
|
-
style: triggerStyle
|
|
26460
|
+
"aria-expanded": openPopover
|
|
26357
26461
|
}, baseProps), /*#__PURE__*/React.createElement(Popover$1, {
|
|
26358
26462
|
open: openPopover,
|
|
26359
26463
|
onToggle: onToggleHandler,
|
|
26360
26464
|
className: "mt-3",
|
|
26361
26465
|
triggerClass: "d-block",
|
|
26466
|
+
position: "bottom-start",
|
|
26362
26467
|
customStyle: popoverStyle,
|
|
26363
26468
|
boundaryElement: boundaryElement,
|
|
26364
26469
|
appendToBody: appendToBody,
|
|
26365
|
-
trigger:
|
|
26366
|
-
"aria-controls": "select-listbox"
|
|
26367
|
-
}, triggerOptions))
|
|
26470
|
+
trigger: getTriggerElement()
|
|
26368
26471
|
}, /*#__PURE__*/React.createElement(OutsideClick, {
|
|
26369
26472
|
onOutsideClick: onOutsideClickHandler
|
|
26370
26473
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -26850,7 +26953,7 @@ Menu.defaultProps = {
|
|
|
26850
26953
|
position: 'bottom-start'
|
|
26851
26954
|
};
|
|
26852
26955
|
|
|
26853
|
-
var img$4 = "data:image/svg+xml,%3csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C10 5.52285 5.52285 10 0 10C5.52285 10 10 14.4772 10 20C10 14.4772 14.4772 10 20 10C14.4772 10 10 5.52285 10 0ZM20 14C20 17.3137 17.3137 20 14 20C17.3137 20 20 22.6863 20 26C20 22.6863 22.6863 20 26 20C22.6863 20 20 17.3137 20 14Z' fill='%
|
|
26956
|
+
var img$4 = "data:image/svg+xml,%3csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C10 5.52285 5.52285 10 0 10C5.52285 10 10 14.4772 10 20C10 14.4772 14.4772 10 20 10C14.4772 10 10 5.52285 10 0ZM20 14C20 17.3137 17.3137 20 14 20C17.3137 20 20 22.6863 20 26C20 22.6863 22.6863 20 26 20C22.6863 20 20 17.3137 20 14Z' fill='%231f1f1f'/%3e%3c/svg%3e";
|
|
26854
26957
|
|
|
26855
26958
|
var img$3 = "data:image/svg+xml,%3csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C10 5.52285 5.52285 10 0 10C5.52285 10 10 14.4772 10 20C10 14.4772 14.4772 10 20 10C14.4772 10 10 5.52285 10 0ZM20 14C20 17.3137 17.3137 20 14 20C17.3137 20 20 22.6863 20 26C20 22.6863 22.6863 20 26 20C22.6863 20 20 17.3137 20 14Z' fill='%23A6A6A6'/%3e%3c/svg%3e";
|
|
26856
26959
|
|
|
@@ -31261,6 +31364,6 @@ AIResponse.Button = ChatButton;
|
|
|
31261
31364
|
AIResponse.ActionBar = ChatActionBar;
|
|
31262
31365
|
AIResponse.Body = ChatBody;
|
|
31263
31366
|
|
|
31264
|
-
var version = "2.
|
|
31367
|
+
var version = "2.37.0";
|
|
31265
31368
|
|
|
31266
31369
|
export { AIButton, AIChip, AIIconButton, AIResponse, ActionCard, Avatar, AvatarGroup, AvatarSelection, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardBody, CardFooter, CardHeader, CardSubdued, ChatMessage, Checkbox, Chip, ChipGroup, ChipInput, ChoiceList, Collapsible, Column, Combobox, 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, Listbox, Menu, Message, MetaList, MetricInput, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, MultiSlider, Navigation, OutsideClick, PageHeader, Pagination, Paragraph, Pills, Placeholder, PlaceholderImage, PlaceholderParagraph, Popover$1 as Popover, ProgressBar, ProgressRing, Radio, RangeSlider, Row, Sara, SaraSparkle, Select, SelectionCard, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, TextField, Textarea, TimePicker, Toast, Tooltip, index as Utils, VerificationCodeInput, VerticalNav, version };
|