@zohodesk/components 1.0.0-temp-41 → 1.0.0-temp-42
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/README.md +1 -0
- package/es/Appearance/dark/mode/darkMode.module.css +355 -392
- package/es/Appearance/default/mode/defaultMode.module.css +355 -394
- package/es/Avatar/Avatar.js +2 -1
- package/es/Avatar/__tests__/Avatar.spec.js +0 -1
- package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -1
- package/es/Button/__tests__/Button.spec.js +0 -1
- package/es/Buttongroup/__test__/Buttongroup.spec.js +0 -1
- package/es/DateTime/DateTime.js +6 -3
- package/es/DateTime/DateWidget.js +5 -2
- package/es/DateTime/DateWidget.module.css +4 -0
- package/es/DateTime/YearView.js +6 -5
- package/es/DateTime/common.js +9 -2
- package/es/DateTime/dateFormatUtils/dateFormat.js +76 -57
- package/es/DateTime/dateFormatUtils/index.js +12 -7
- package/es/DateTime/dateFormatUtils/timeChange.js +4 -3
- package/es/DateTime/dateFormatUtils/yearChange.js +4 -3
- package/es/DateTime/validator.js +0 -1
- package/es/Label/__tests__/Label.spec.js +0 -2
- package/es/Layout/utils.js +2 -1
- package/es/ListItem/ListItem.js +0 -2
- package/es/ListItem/ListItemWithIcon.js +0 -2
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +15 -10
- package/es/MultiSelect/AdvancedMultiSelect.js +6 -7
- package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -8
- package/es/MultiSelect/MultiSelect.js +23 -11
- package/es/MultiSelect/MultiSelect.module.css +13 -8
- package/es/MultiSelect/MultiSelectWithAvatar.js +3 -6
- package/es/MultiSelect/SelectedOptions.js +2 -3
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -1
- package/es/Popup/Popup.js +14 -8
- package/es/Popup/viewPort.js +14 -9
- package/es/Provider/IdProvider.js +5 -4
- package/es/Provider/LibraryContext.js +6 -5
- package/es/Provider/NumberGenerator/NumberGenerator.js +17 -15
- package/es/Provider/ZindexProvider.js +5 -4
- package/es/Radio/Radio.js +2 -1
- package/es/Radio/Radio.module.css +2 -2
- package/es/Responsive/CustomResponsive.js +11 -8
- package/es/Responsive/ResizeComponent.js +3 -1
- package/es/Responsive/Responsive.js +12 -9
- package/es/Responsive/docs/Responsive__Custom.docs.js +49 -44
- package/es/Responsive/docs/Responsive__default.docs.js +77 -74
- package/es/Responsive/sizeObservers.js +5 -1
- package/es/Ribbon/__tests__/Ribbon.spec.js +0 -1
- package/es/RippleEffect/RippleEffect.js +4 -7
- package/es/RippleEffect/RippleEffect.module.css +0 -3
- package/es/Select/GroupSelect.js +2 -1
- package/es/Select/Select.js +16 -1
- package/es/Select/Select.module.css +1 -1
- package/es/Select/SelectWithAvatar.js +4 -7
- package/es/Select/docs/Select__default.docs.js +2 -1
- package/es/Stencils/__tests__/Stencils.spec.js +0 -1
- package/es/Tab/Tab.js +27 -26
- package/es/Tab/TabContent.js +17 -14
- package/es/Tab/TabContentWrapper.js +17 -14
- package/es/Tab/TabWrapper.js +15 -14
- package/es/Tab/Tabs.js +2 -1
- package/es/Tab/docs/Tab__default.docs.js +0 -1
- package/es/Tag/Tag.js +4 -10
- package/es/Tag/Tag.module.css +11 -14
- package/es/Tag/docs/Tag__default.docs.js +0 -70
- package/es/TextBox/__tests__/TextBox.spec.js +0 -1
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +2 -5
- package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -1
- package/es/Textarea/__tests__/Textarea.spec.js +0 -1
- package/es/Tooltip/Tooltip.js +0 -1
- package/es/a11y/FocusScope/FocusScope.js +10 -4
- package/es/beta/FocusRing/FocusRing.js +4 -1
- package/es/utils/Common.js +31 -11
- package/es/utils/datetime/common.js +6 -3
- package/es/utils/dropDownUtils.js +6 -5
- package/es/utils/getInitial.js +3 -1
- package/lib/Accordion/Accordion.js +3 -3
- package/lib/Accordion/AccordionItem.js +3 -3
- package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
- package/lib/Animation/Animation.js +3 -3
- package/lib/Animation/docs/Animation__default.docs.js +3 -3
- package/lib/Animation/docs/Animation__fadeIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__scaleIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__skewIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__slideDown.docs.js +3 -3
- package/lib/Animation/docs/Animation__slideLeft.docs.js +3 -3
- package/lib/Animation/docs/Animation__zoomIn.docs.js +3 -3
- package/lib/AppContainer/AppContainer.js +3 -3
- package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
- package/lib/Appearance/dark/mode/darkMode.module.css +355 -392
- package/lib/Appearance/default/mode/defaultMode.module.css +355 -394
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
- package/lib/Button/Button.js +3 -3
- package/lib/Button/docs/Button__custom.docs.js +3 -3
- package/lib/Button/docs/Button__default.docs.js +3 -3
- package/lib/Buttongroup/Buttongroup.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
- package/lib/Card/Card.js +4 -4
- package/lib/Card/__tests__/Card.spec.js +1 -1
- package/lib/Card/docs/Card__Custom.docs.js +3 -3
- package/lib/Card/docs/Card__Default.docs.js +3 -3
- package/lib/Card/docs/Card__Scroll.docs.js +3 -3
- package/lib/Card/index.js +7 -7
- package/lib/CheckBox/CheckBox.js +3 -3
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
- package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
- package/lib/DateTime/CalendarView.js +4 -4
- package/lib/DateTime/DateTime.js +3 -3
- package/lib/DateTime/DateTimePopupFooter.js +3 -3
- package/lib/DateTime/DateTimePopupHeader.js +3 -3
- package/lib/DateTime/DateWidget.js +3 -3
- package/lib/DateTime/DateWidget.module.css +4 -0
- package/lib/DateTime/DaysRow.js +3 -3
- package/lib/DateTime/Time.js +3 -3
- package/lib/DateTime/YearView.js +3 -3
- package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
- package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
- package/lib/DateTime/constants.js +1 -1
- package/lib/DateTime/dateFormatUtils/dateFormat.js +2 -2
- package/lib/DateTime/dateFormatUtils/index.js +13 -13
- package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
- package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
- package/lib/DateTime/objectUtils.js +2 -2
- package/lib/DropBox/DropBox.js +3 -3
- package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
- package/lib/DropDown/DropDown.js +4 -4
- package/lib/DropDown/DropDownHeading.js +3 -3
- package/lib/DropDown/DropDownItem.js +3 -3
- package/lib/DropDown/DropDownSearch.js +3 -3
- package/lib/DropDown/DropDownSeparator.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
- package/lib/Label/Label.js +3 -3
- package/lib/Label/docs/Label__clipped.docs.js +3 -3
- package/lib/Label/docs/Label__custom.docs.js +3 -3
- package/lib/Label/docs/Label__palette.docs.js +3 -3
- package/lib/Label/docs/Label__size.docs.js +3 -3
- package/lib/Label/docs/Label__type.docs.js +3 -3
- package/lib/Layout/Box.js +1 -1
- package/lib/Layout/Container.js +1 -1
- package/lib/Layout/docs/Layout__Hidden.docs.js +3 -3
- package/lib/Layout/docs/Layout__default.docs.js +3 -3
- package/lib/Layout/docs/Layout__four_Column.docs.js +3 -3
- package/lib/Layout/docs/Layout__three_Column.docs.js +3 -3
- package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
- package/lib/Layout/index.js +4 -4
- package/lib/Layout/utils.js +2 -2
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
- package/lib/ListItem/ListItem.js +3 -3
- package/lib/ListItem/ListItemWithAvatar.js +3 -3
- package/lib/ListItem/ListItemWithCheckBox.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +3 -3
- package/lib/ListItem/ListItemWithRadio.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -10
- package/lib/MultiSelect/AdvancedMultiSelect.js +6 -9
- package/lib/MultiSelect/AdvancedMultiSelect.module.css +8 -8
- package/lib/MultiSelect/EmptyState.js +3 -3
- package/lib/MultiSelect/MultiSelect.js +14 -11
- package/lib/MultiSelect/MultiSelect.module.css +13 -8
- package/lib/MultiSelect/MultiSelectHeader.js +3 -3
- package/lib/MultiSelect/MultiSelectWithAvatar.js +6 -9
- package/lib/MultiSelect/SelectedOptions.js +5 -6
- package/lib/MultiSelect/Suggestions.js +5 -5
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
- package/lib/PopOver/PopOver.js +4 -4
- package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +3 -3
- package/lib/Provider/IdProvider.js +3 -3
- package/lib/Provider/LibraryContext.js +3 -3
- package/lib/Provider/NumberGenerator/NumberGenerator.js +2 -2
- package/lib/Provider/ZindexProvider.js +1 -1
- package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
- package/lib/Provider.js +3 -3
- package/lib/Radio/Radio.js +6 -4
- package/lib/Radio/Radio.module.css +2 -2
- package/lib/Radio/docs/Radio__custom.docs.js +3 -3
- package/lib/Radio/docs/Radio__default.docs.js +3 -3
- package/lib/Responsive/CustomResponsive.js +4 -4
- package/lib/Responsive/RefWrapper.js +1 -1
- package/lib/Responsive/ResizeComponent.js +3 -3
- package/lib/Responsive/ResizeObserver.js +1 -1
- package/lib/Responsive/Responsive.js +6 -5
- package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
- package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
- package/lib/Responsive/sizeObservers.js +6 -5
- package/lib/Responsive/utils/index.js +3 -2
- package/lib/Responsive/utils/shallowCompare.js +1 -1
- package/lib/Ribbon/Ribbon.js +3 -3
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
- package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
- package/lib/RippleEffect/RippleEffect.js +4 -7
- package/lib/RippleEffect/RippleEffect.module.css +0 -3
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +3 -3
- package/lib/Select/GroupSelect.js +3 -3
- package/lib/Select/Select.js +19 -5
- package/lib/Select/Select.module.css +1 -1
- package/lib/Select/SelectWithAvatar.js +7 -10
- package/lib/Select/SelectWithIcon.js +3 -3
- package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
- package/lib/Select/docs/Select__default.docs.js +3 -3
- package/lib/Stencils/Stencils.js +3 -3
- package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
- package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/docs/Switch__custom.docs.js +3 -3
- package/lib/Switch/docs/Switch__default.docs.js +3 -3
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +3 -3
- package/lib/Tab/docs/Tab__default.docs.js +3 -3
- package/lib/Tab/index.js +10 -10
- package/lib/Tag/Tag.js +7 -13
- package/lib/Tag/Tag.module.css +11 -14
- package/lib/Tag/docs/Tag__custom.docs.js +3 -3
- package/lib/Tag/docs/Tag__default.docs.js +3 -73
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
- package/lib/TextBoxIcon/TextBoxIcon.js +4 -4
- package/lib/TextBoxIcon/TextBoxIcon.module.css +2 -5
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
- package/lib/Tooltip/Tooltip.js +3 -3
- package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
- package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +3 -3
- package/lib/a11y/FocusScope/FocusScope.js +2 -2
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
- package/lib/beta/FocusRing/FocusRing.js +3 -3
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
- package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
- package/lib/index.js +310 -310
- package/lib/semantic/Button/Button.js +3 -3
- package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
- package/lib/utils/Common.js +20 -16
- package/lib/utils/datetime/common.js +10 -10
- package/lib/utils/dropDownUtils.js +2 -2
- package/lib/utils/shallowEqual.js +1 -1
- package/package.json +2 -2
- package/preprocess/componentAppearanceColors.js +65 -0
- package/preprocess/componentThemeColors.js +1 -1
- package/preprocess/ctaThemeColors.js +1 -1
- package/preprocess/index.js +2 -1
- package/preprocess/json/componentAppearanceVariableJson.js +1515 -0
- /package/preprocess/json/{componentVariableJson.js → componentThemeVariableJson.js} +0 -0
- /package/preprocess/json/{ctaVariableJson.js → ctaThemeVariableJson.js} +0 -0
package/es/Avatar/Avatar.js
CHANGED
|
@@ -93,7 +93,8 @@ export default class Avatar extends React.Component {
|
|
|
93
93
|
/* this will cause error if user name already have some space need to move firstName lastName user preference pattern*/
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
getInitialByFullName(
|
|
96
|
+
getInitialByFullName() {
|
|
97
|
+
let fullName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
97
98
|
fullName = (fullName || '').trim();
|
|
98
99
|
let nameList = fullName.split(' ');
|
|
99
100
|
|
package/es/DateTime/DateTime.js
CHANGED
|
@@ -16,7 +16,8 @@ import { getIsEmptyValue } from '../utils/Common';
|
|
|
16
16
|
import { monthNamesDefault, monthNamesShortDefault, dayNamesDefault, dayNamesShortDefault, ampmTextDefault } from './constants';
|
|
17
17
|
import { getHourDetails } from './dateFormatUtils';
|
|
18
18
|
|
|
19
|
-
function title(date, year, month
|
|
19
|
+
function title(date, year, month) {
|
|
20
|
+
let monthNames = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
|
|
20
21
|
const HeadingText = `${monthNames[month] || ''} ${year}`;
|
|
21
22
|
return HeadingText;
|
|
22
23
|
}
|
|
@@ -179,7 +180,8 @@ export default class DateTime extends React.PureComponent {
|
|
|
179
180
|
return hours;
|
|
180
181
|
}
|
|
181
182
|
|
|
182
|
-
handleGetSelectedDate(
|
|
183
|
+
handleGetSelectedDate() {
|
|
184
|
+
let selectedInfo = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
183
185
|
const {
|
|
184
186
|
min,
|
|
185
187
|
max,
|
|
@@ -285,7 +287,8 @@ export default class DateTime extends React.PureComponent {
|
|
|
285
287
|
}
|
|
286
288
|
}
|
|
287
289
|
|
|
288
|
-
handleChange(
|
|
290
|
+
handleChange() {
|
|
291
|
+
let selectedInfo = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
289
292
|
const {
|
|
290
293
|
onError,
|
|
291
294
|
onChange,
|
|
@@ -708,7 +708,8 @@ class DateWidgetComponent extends React.Component {
|
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
handleSelection(
|
|
711
|
+
handleSelection() {
|
|
712
|
+
let focusOrder = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
712
713
|
const isAllowedDateType = this.handleGetAllowedType();
|
|
713
714
|
|
|
714
715
|
if (isAllowedDateType) {
|
|
@@ -907,7 +908,9 @@ class DateWidgetComponent extends React.Component {
|
|
|
907
908
|
});
|
|
908
909
|
}
|
|
909
910
|
|
|
910
|
-
handleBlurSelectionRange(
|
|
911
|
+
handleBlurSelectionRange() {
|
|
912
|
+
let focusOrder = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
913
|
+
let oldFocusOrder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
911
914
|
const isAllowedDateType = this.handleGetAllowedType();
|
|
912
915
|
|
|
913
916
|
if (isAllowedDateType) {
|
package/es/DateTime/YearView.js
CHANGED
|
@@ -185,11 +185,12 @@ export default class YearView extends React.PureComponent {
|
|
|
185
185
|
onSelectYear && onSelectYear(year);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
renderListItem({
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
188
|
+
renderListItem(_ref) {
|
|
189
|
+
let {
|
|
190
|
+
index,
|
|
191
|
+
style: virtualizerStyle,
|
|
192
|
+
ref
|
|
193
|
+
} = _ref;
|
|
193
194
|
const {
|
|
194
195
|
years
|
|
195
196
|
} = this;
|
package/es/DateTime/common.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
export function bind(
|
|
1
|
+
export function bind() {
|
|
2
|
+
for (var _len = arguments.length, handlers = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3
|
+
handlers[_key] = arguments[_key];
|
|
4
|
+
}
|
|
5
|
+
|
|
2
6
|
handlers.forEach(handler => {
|
|
3
7
|
this[handler] = this[handler].bind(this);
|
|
4
8
|
});
|
|
5
9
|
}
|
|
6
|
-
export function formatValue(
|
|
10
|
+
export function formatValue() {
|
|
11
|
+
let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
12
|
+
let valueField = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'id';
|
|
13
|
+
let textField = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'name';
|
|
7
14
|
return values && values.map(value => {
|
|
8
15
|
let formattedValue = value;
|
|
9
16
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
|
-
|
|
3
1
|
/* eslint-disable no-param-reassign */
|
|
4
2
|
|
|
5
3
|
/** * Libraries ** */
|
|
@@ -14,7 +12,9 @@ import { formatDate } from '../../utils/datetime/common';
|
|
|
14
12
|
import { defaultFormat, supportedPatterns, // patternChangeStr,
|
|
15
13
|
patternSplitStr, INCONSTANT, flags } from '../constants';
|
|
16
14
|
|
|
17
|
-
function getDateFormatString(
|
|
15
|
+
function getDateFormatString() {
|
|
16
|
+
let dateFormatArr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
17
|
+
let datePatternArr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
18
18
|
return dateFormatArr.reduce((res, dateStr, index) => {
|
|
19
19
|
const patternStr = datePatternArr[index] || '';
|
|
20
20
|
res += dateStr + patternStr;
|
|
@@ -22,8 +22,14 @@ function getDateFormatString(dateFormatArr = [], datePatternArr = []) {
|
|
|
22
22
|
}, '');
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
function getIsValidPattern(
|
|
26
|
-
|
|
25
|
+
function getIsValidPattern() {
|
|
26
|
+
let dateFormatArr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
27
|
+
let datePatternArr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
28
|
+
|
|
29
|
+
const isValueInArray = function () {
|
|
30
|
+
let possibleFormat = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
31
|
+
return possibleFormat.some(str => dateFormatArr.indexOf(str) >= 0);
|
|
32
|
+
};
|
|
27
33
|
|
|
28
34
|
const haveDay = isValueInArray(flags.day);
|
|
29
35
|
const haveMonth = isValueInArray(flags.month);
|
|
@@ -32,12 +38,14 @@ function getIsValidPattern(dateFormatArr = [], datePatternArr = []) {
|
|
|
32
38
|
return haveDay && haveMonth && (haveYear || !haveYear) && isValidPattern;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
|
-
export function getDateFormatDetails(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
export function getDateFormatDetails() {
|
|
42
|
+
let dateFormat = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
43
|
+
let {
|
|
44
|
+
isHideCurrentYear,
|
|
45
|
+
value,
|
|
46
|
+
timeZone,
|
|
47
|
+
isDateTime
|
|
48
|
+
} = arguments.length > 1 ? arguments[1] : undefined;
|
|
41
49
|
let dayInfo = {};
|
|
42
50
|
let monthInfo = {};
|
|
43
51
|
let yearInfo = {};
|
|
@@ -118,10 +126,11 @@ export function getDateFormatDetails(dateFormat = '', {
|
|
|
118
126
|
};
|
|
119
127
|
}
|
|
120
128
|
|
|
121
|
-
function getDisplayFormatValue(dateVal, formatVal
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
129
|
+
function getDisplayFormatValue(dateVal, formatVal) {
|
|
130
|
+
let {
|
|
131
|
+
i18nShortMonths = [],
|
|
132
|
+
i18nMonths = []
|
|
133
|
+
} = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
125
134
|
const {
|
|
126
135
|
length,
|
|
127
136
|
type
|
|
@@ -142,10 +151,11 @@ function getDisplayFormatValue(dateVal, formatVal, {
|
|
|
142
151
|
return addZero(dateVal, length);
|
|
143
152
|
}
|
|
144
153
|
|
|
145
|
-
function concatDate(values, dateFormatArr, patternArr, fillPlaceHolder
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
154
|
+
function concatDate(values, dateFormatArr, patternArr, fillPlaceHolder) {
|
|
155
|
+
let {
|
|
156
|
+
i18nShortMonths,
|
|
157
|
+
i18nMonths
|
|
158
|
+
} = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
|
|
149
159
|
const dateString = dateFormatArr.reduce((res, formatVal, index) => {
|
|
150
160
|
const {
|
|
151
161
|
type: dateFormatVal = ''
|
|
@@ -162,11 +172,15 @@ function concatDate(values, dateFormatArr, patternArr, fillPlaceHolder, {
|
|
|
162
172
|
return dateString;
|
|
163
173
|
}
|
|
164
174
|
|
|
165
|
-
export function getDateTimeString(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
175
|
+
export function getDateTimeString() {
|
|
176
|
+
let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
177
|
+
let dateFormatDetails = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
178
|
+
let isDateTime = arguments.length > 2 ? arguments[2] : undefined;
|
|
179
|
+
let {
|
|
180
|
+
i18nShortMonths,
|
|
181
|
+
i18nMonths,
|
|
182
|
+
is24Hour
|
|
183
|
+
} = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
170
184
|
const {
|
|
171
185
|
day,
|
|
172
186
|
month,
|
|
@@ -199,9 +213,10 @@ export function getDateTimeString(values = {}, dateFormatDetails = {}, isDateTim
|
|
|
199
213
|
|
|
200
214
|
return `${dateString}${timeString}`;
|
|
201
215
|
}
|
|
202
|
-
export function getDateDetails(value, localValues, isDateTime, timeZone, {
|
|
203
|
-
|
|
204
|
-
|
|
216
|
+
export function getDateDetails(value, localValues, isDateTime, timeZone, _ref) {
|
|
217
|
+
let {
|
|
218
|
+
is24Hour
|
|
219
|
+
} = _ref;
|
|
205
220
|
const {
|
|
206
221
|
day,
|
|
207
222
|
month,
|
|
@@ -251,9 +266,10 @@ export function getDateDetails(value, localValues, isDateTime, timeZone, {
|
|
|
251
266
|
|
|
252
267
|
return localValues;
|
|
253
268
|
}
|
|
254
|
-
export function getIsValidDate(values, isDateTime, {
|
|
255
|
-
|
|
256
|
-
|
|
269
|
+
export function getIsValidDate(values, isDateTime, _ref2) {
|
|
270
|
+
let {
|
|
271
|
+
is24Hour
|
|
272
|
+
} = _ref2;
|
|
257
273
|
const {
|
|
258
274
|
day,
|
|
259
275
|
month,
|
|
@@ -409,20 +425,22 @@ export function getSelectedDate(values, props) {
|
|
|
409
425
|
};
|
|
410
426
|
}
|
|
411
427
|
|
|
412
|
-
function getDateFormatLength(type, length
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
428
|
+
function getDateFormatLength(type, length) {
|
|
429
|
+
let formatVal = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
|
|
430
|
+
let {
|
|
431
|
+
i18nShortMonths,
|
|
432
|
+
i18nMonths,
|
|
433
|
+
selectedValue,
|
|
434
|
+
day,
|
|
435
|
+
month,
|
|
436
|
+
year,
|
|
437
|
+
hour,
|
|
438
|
+
minute,
|
|
439
|
+
noon,
|
|
440
|
+
timeZone,
|
|
441
|
+
isDateTime,
|
|
442
|
+
is24Hour
|
|
443
|
+
} = arguments.length > 3 ? arguments[3] : undefined;
|
|
426
444
|
const {
|
|
427
445
|
month: selectedMonth
|
|
428
446
|
} = getDateDetails(selectedValue, {
|
|
@@ -449,19 +467,20 @@ function getDateFormatLength(type, length, formatVal = '', {
|
|
|
449
467
|
return length;
|
|
450
468
|
}
|
|
451
469
|
|
|
452
|
-
export function getDateFormatSelection(dateFormatDetails, isDateTime
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
470
|
+
export function getDateFormatSelection(dateFormatDetails, isDateTime) {
|
|
471
|
+
let {
|
|
472
|
+
i18nShortMonths,
|
|
473
|
+
i18nMonths,
|
|
474
|
+
selectedValue,
|
|
475
|
+
day,
|
|
476
|
+
month,
|
|
477
|
+
year,
|
|
478
|
+
hour,
|
|
479
|
+
minute,
|
|
480
|
+
noon,
|
|
481
|
+
timeZone,
|
|
482
|
+
is24Hour
|
|
483
|
+
} = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
465
484
|
const {
|
|
466
485
|
dateFormatArr = [],
|
|
467
486
|
patternArr = []
|
|
@@ -11,7 +11,9 @@ import { flags, INVALID_DATE } from '../constants';
|
|
|
11
11
|
export function convertYearToTwoDigit(year) {
|
|
12
12
|
return parseInt(year.toString().slice(-2));
|
|
13
13
|
}
|
|
14
|
-
export function addZero(
|
|
14
|
+
export function addZero() {
|
|
15
|
+
let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
16
|
+
let length = arguments.length > 1 ? arguments[1] : undefined;
|
|
15
17
|
let newValue = value.toString();
|
|
16
18
|
|
|
17
19
|
for (let i = 0; i < length; i++) {
|
|
@@ -98,7 +100,9 @@ export function getYearDetails(yearLength) {
|
|
|
98
100
|
currentYear: year
|
|
99
101
|
};
|
|
100
102
|
}
|
|
101
|
-
export function convertTwoDigitToYear(
|
|
103
|
+
export function convertTwoDigitToYear() {
|
|
104
|
+
let digitValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
105
|
+
let selectedYear = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
102
106
|
const dateObj = new Date();
|
|
103
107
|
let year = dateObj.getFullYear();
|
|
104
108
|
const digitValueStr = addZero(digitValue.toString(), 2);
|
|
@@ -191,11 +195,12 @@ export function getIsEmptyYear(value, yearLength) {
|
|
|
191
195
|
} = getYearDetails(yearLength);
|
|
192
196
|
return getIsEmptyValue(value, startPoint, endPoint);
|
|
193
197
|
}
|
|
194
|
-
export function getIsCurrentYear({
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
export function getIsCurrentYear(_ref) {
|
|
199
|
+
let {
|
|
200
|
+
isDateTime,
|
|
201
|
+
value,
|
|
202
|
+
timeZone
|
|
203
|
+
} = _ref;
|
|
199
204
|
let isCurrentYear = false;
|
|
200
205
|
|
|
201
206
|
if (value && value !== INVALID_DATE) {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/** * Methods ** */
|
|
2
2
|
import { getIsNewValueType, getIsNumberTyped, getIsDeleteTyped, getHourDetails, getMinuteDetails, getNoonDetails, getIsNoonValueTyped, getIsEmptyHour } from './index';
|
|
3
3
|
import { getIsEmptyValue } from '../../utils/Common';
|
|
4
|
-
export function getChangedHour(values, event, focusOrders, keyActions
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export function getChangedHour(values, event, focusOrders, keyActions) {
|
|
5
|
+
let {
|
|
6
|
+
is24Hour = false
|
|
7
|
+
} = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
|
|
7
8
|
const {
|
|
8
9
|
keyCode,
|
|
9
10
|
which
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/** * Methods ** */
|
|
2
2
|
import { getIsNewValueType, getIsNumberTyped, getIsDeleteTyped, getDayEnd, convertYearToTwoDigit, getYearDetails, convertTwoDigitToYear, getIsEmptyYear } from './index';
|
|
3
|
-
export function getChangedYear(values, event, focusOrders, keyActions, {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export function getChangedYear(values, event, focusOrders, keyActions, _ref) {
|
|
4
|
+
let {
|
|
5
|
+
yearInfo
|
|
6
|
+
} = _ref;
|
|
6
7
|
const {
|
|
7
8
|
keyCode,
|
|
8
9
|
which
|
package/es/DateTime/validator.js
CHANGED
package/es/Layout/utils.js
CHANGED
|
@@ -15,7 +15,8 @@ export function createProps(propTypes, props, classNames) {
|
|
|
15
15
|
export function isInteger(value) {
|
|
16
16
|
return typeof value === 'number' && isFinite(value) && Math.floor(value) === value;
|
|
17
17
|
}
|
|
18
|
-
export function setProps(childProps, props
|
|
18
|
+
export function setProps(childProps, props) {
|
|
19
|
+
let values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
19
20
|
Object.keys(values).map(value => {
|
|
20
21
|
if (props[value]) {
|
|
21
22
|
childProps[values[value]] = props[value];
|
package/es/ListItem/ListItem.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
|
-
|
|
3
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
2
|
|
|
5
3
|
/**** Libraries ****/
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
|
-
|
|
3
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
2
|
|
|
5
3
|
/**** Libraries ****/
|
|
@@ -254,7 +254,9 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
254
254
|
}) : this.togglePopup(e);
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
handleClickSelectedOption(
|
|
257
|
+
handleClickSelectedOption() {
|
|
258
|
+
let id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
259
|
+
let e = arguments.length > 1 ? arguments[1] : undefined;
|
|
258
260
|
let {
|
|
259
261
|
selectedOptionIds
|
|
260
262
|
} = this.state;
|
|
@@ -525,7 +527,11 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
525
527
|
});
|
|
526
528
|
}
|
|
527
529
|
|
|
528
|
-
handleFetchOptions(
|
|
530
|
+
handleFetchOptions() {
|
|
531
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
532
|
+
args[_key] = arguments[_key];
|
|
533
|
+
}
|
|
534
|
+
|
|
529
535
|
let [APICall, searchStr] = args;
|
|
530
536
|
let {
|
|
531
537
|
isFetchingOptions
|
|
@@ -638,7 +644,9 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
638
644
|
this.handleChange([]);
|
|
639
645
|
}
|
|
640
646
|
|
|
641
|
-
handleChange(
|
|
647
|
+
handleChange() {
|
|
648
|
+
let selectedOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
649
|
+
let e = arguments.length > 1 ? arguments[1] : undefined;
|
|
642
650
|
let {
|
|
643
651
|
onChange,
|
|
644
652
|
needToCloseOnSelect,
|
|
@@ -847,8 +855,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
847
855
|
i18nKeys,
|
|
848
856
|
a11y,
|
|
849
857
|
isSearchClearOnSelect,
|
|
850
|
-
palette
|
|
851
|
-
needEffect
|
|
858
|
+
palette
|
|
852
859
|
} = this.props;
|
|
853
860
|
let {
|
|
854
861
|
clearText = 'Clear all'
|
|
@@ -877,7 +884,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
877
884
|
let setAriaId = this.getNextAriaId();
|
|
878
885
|
let ariaErrorId = this.getNextAriaId();
|
|
879
886
|
return /*#__PURE__*/React.createElement("div", {
|
|
880
|
-
className: `${style.wrapper} ${isDisabled ? style.disabled : ''}
|
|
887
|
+
className: `${style.wrapper} ${isDisabled ? style.disabled : ''}`,
|
|
881
888
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
882
889
|
"data-title": isDisabled ? title : '',
|
|
883
890
|
onClick: this.handleInputFocus
|
|
@@ -1053,8 +1060,7 @@ AdvancedGroupMultiSelect.defaultProps = {
|
|
|
1053
1060
|
isPadding: false,
|
|
1054
1061
|
i18nKeys: {},
|
|
1055
1062
|
a11y: {},
|
|
1056
|
-
isSearchClearOnSelect: true
|
|
1057
|
-
needEffect: PropTypes.bool
|
|
1063
|
+
isSearchClearOnSelect: true
|
|
1058
1064
|
};
|
|
1059
1065
|
AdvancedGroupMultiSelect.propTypes = {
|
|
1060
1066
|
animationStyle: PropTypes.string,
|
|
@@ -1104,8 +1110,7 @@ AdvancedGroupMultiSelect.propTypes = {
|
|
|
1104
1110
|
variant: PropTypes.string,
|
|
1105
1111
|
htmlId: PropTypes.string,
|
|
1106
1112
|
isSearchClearOnSelect: PropTypes.bool,
|
|
1107
|
-
palette: PropTypes.oneOf(['default', 'dark'])
|
|
1108
|
-
needEffect: true
|
|
1113
|
+
palette: PropTypes.oneOf(['default', 'dark'])
|
|
1109
1114
|
};
|
|
1110
1115
|
|
|
1111
1116
|
if (false) {
|
|
@@ -76,7 +76,9 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
76
76
|
return suggestions;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
handleChange(
|
|
79
|
+
handleChange() {
|
|
80
|
+
let selectedOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
81
|
+
let e = arguments.length > 1 ? arguments[1] : undefined;
|
|
80
82
|
const {
|
|
81
83
|
optionsNormalize,
|
|
82
84
|
searchStr
|
|
@@ -347,8 +349,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
347
349
|
borderColor,
|
|
348
350
|
isBoxPaddingNeed,
|
|
349
351
|
getFooter,
|
|
350
|
-
customProps
|
|
351
|
-
needEffect
|
|
352
|
+
customProps
|
|
352
353
|
} = this.props;
|
|
353
354
|
let {
|
|
354
355
|
SuggestionsProps = {},
|
|
@@ -381,7 +382,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
381
382
|
const setAriaId = this.getNextAriaId();
|
|
382
383
|
const ariaErrorId = this.getNextAriaId();
|
|
383
384
|
return /*#__PURE__*/React.createElement("div", {
|
|
384
|
-
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''}
|
|
385
|
+
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''}`,
|
|
385
386
|
"data-id": dataIdMultiSelectComp,
|
|
386
387
|
"data-title": isDisabled ? title : '',
|
|
387
388
|
onClick: this.handleInputFocus
|
|
@@ -524,7 +525,6 @@ AdvancedMultiSelectComponent.propTypes = {
|
|
|
524
525
|
//For grouping multiSelect
|
|
525
526
|
getPublicMethods: PropTypes.func,
|
|
526
527
|
optionType: PropTypes.oneOf(['default', 'avatar', 'icon']),
|
|
527
|
-
needEffect: PropTypes.bool,
|
|
528
528
|
animationStyle: PropTypes.string,
|
|
529
529
|
defaultDropBoxPosition: PropTypes.oneOf(['bottom', 'top', 'left', 'right']),
|
|
530
530
|
dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
@@ -599,8 +599,7 @@ AdvancedMultiSelectComponent.defaultProps = {
|
|
|
599
599
|
borderColor: 'default',
|
|
600
600
|
isBoxPaddingNeed: true,
|
|
601
601
|
isSearchClearOnSelect: true,
|
|
602
|
-
customProps: {}
|
|
603
|
-
needEffect: true
|
|
602
|
+
customProps: {}
|
|
604
603
|
};
|
|
605
604
|
AdvancedMultiSelectComponent.displayName = 'AdvancedMultiSelect';
|
|
606
605
|
const AdvancedMultiSelect = Popup(AdvancedMultiSelectComponent);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.wrapper {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
|
-
.disabled
|
|
5
|
-
|
|
4
|
+
.disabled {
|
|
5
|
+
composes: disabled from '../common/common.module.css';
|
|
6
6
|
}
|
|
7
7
|
.container {
|
|
8
8
|
max-height: var(--zd_size120);
|
|
@@ -16,28 +16,28 @@
|
|
|
16
16
|
.borderColor_transparent {
|
|
17
17
|
border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.borderColor_transparent:hover {
|
|
20
20
|
border-bottom-color: var(--zdt_advancedmultiselect_transparent_hover_border);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.borderColor_transparent.active {
|
|
23
23
|
border-bottom-color: var(--zdt_advancedmultiselect_transparent_active_border);
|
|
24
24
|
}
|
|
25
25
|
.borderColor_default {
|
|
26
26
|
border-bottom-color: var(--zdt_advancedmultiselect_default_border);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.borderColor_default:hover {
|
|
29
29
|
border-bottom-color: var(--zdt_advancedmultiselect_default_hover_border);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.borderColor_default.active {
|
|
32
32
|
border-bottom-color: var(--zdt_advancedmultiselect_default_active_border);
|
|
33
33
|
}
|
|
34
34
|
.borderColor_dark {
|
|
35
35
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_border);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.borderColor_dark:hover {
|
|
38
38
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_hover_border);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.borderColor_dark.active {
|
|
41
41
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
|
|
42
42
|
}
|
|
43
43
|
[dir=ltr] .container.medium {
|