@zohodesk/components 1.0.0-temp-112 → 1.0.0-temp-114
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 +0 -4
- package/css_error.log +0 -0
- package/es/Button/Button.module.css +7 -4
- package/es/DateTime/DateTime.js +3 -5
- package/es/DateTime/DateWidget.js +2 -18
- package/es/DateTime/props/defaultProps.js +1 -2
- package/es/MultiSelect/MultiSelect.js +7 -15
- package/es/MultiSelect/MultiSelect.module.css +0 -4
- package/es/MultiSelect/props/defaultProps.js +1 -2
- package/es/MultiSelect/props/propTypes.js +1 -2
- package/es/Select/Select.js +5 -13
- package/es/Tab/Tab.js +1 -1
- package/es/Tab/Tabs.js +1 -1
- package/es/semantic/Button/Button.js +0 -1
- package/lib/Accordion/Accordion.js +1 -3
- package/lib/Accordion/AccordionItem.js +1 -3
- package/lib/Animation/Animation.js +1 -3
- package/lib/AppContainer/AppContainer.js +1 -3
- package/lib/Avatar/Avatar.js +1 -3
- package/lib/AvatarTeam/AvatarTeam.js +1 -3
- package/lib/Button/Button.js +1 -3
- package/lib/Button/Button.module.css +7 -4
- package/lib/Buttongroup/Buttongroup.js +2 -5
- package/lib/Card/Card.js +1 -3
- package/lib/CheckBox/CheckBox.js +1 -3
- package/lib/DateTime/CalendarView.js +2 -5
- package/lib/DateTime/DateTime.js +5 -9
- package/lib/DateTime/DateTimePopupFooter.js +1 -3
- package/lib/DateTime/DateTimePopupHeader.js +1 -3
- package/lib/DateTime/DateWidget.js +89 -108
- package/lib/DateTime/DaysRow.js +1 -3
- package/lib/DateTime/Time.js +1 -3
- package/lib/DateTime/YearView.js +1 -3
- package/lib/DateTime/dateFormatUtils/timeChange.js +1 -1
- package/lib/DateTime/props/defaultProps.js +1 -2
- package/lib/DropBox/DropBox.js +1 -3
- package/lib/DropDown/DropDown.js +2 -5
- package/lib/DropDown/DropDownHeading.js +1 -3
- package/lib/DropDown/DropDownItem.js +1 -3
- package/lib/DropDown/DropDownSearch.js +2 -5
- package/lib/DropDown/DropDownSeparator.js +1 -3
- package/lib/DropDown/props/propTypes.js +1 -4
- package/lib/Heading/Heading.js +2 -4
- package/lib/Label/Label.js +1 -3
- package/lib/ListItem/ListItem.js +1 -3
- package/lib/ListItem/ListItemWithAvatar.js +1 -3
- package/lib/ListItem/ListItemWithCheckBox.js +1 -3
- package/lib/ListItem/ListItemWithIcon.js +1 -3
- package/lib/ListItem/ListItemWithRadio.js +1 -3
- package/lib/ListItem/props/propTypes.js +1 -4
- package/lib/Modal/Modal.js +1 -3
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -5
- package/lib/MultiSelect/AdvancedMultiSelect.js +1 -3
- package/lib/MultiSelect/EmptyState.js +1 -3
- package/lib/MultiSelect/MultiSelect.js +9 -17
- package/lib/MultiSelect/MultiSelect.module.css +0 -4
- package/lib/MultiSelect/MultiSelectHeader.js +1 -3
- package/lib/MultiSelect/MultiSelectWithAvatar.js +1 -3
- package/lib/MultiSelect/SelectedOptions.js +2 -5
- package/lib/MultiSelect/Suggestions.js +2 -4
- package/lib/MultiSelect/props/defaultProps.js +1 -2
- package/lib/MultiSelect/props/propTypes.js +1 -2
- package/lib/PopOver/PopOver.js +1 -3
- package/lib/Popup/Popup.js +1 -3
- package/lib/Popup/__tests__/Popup.spec.js +1 -3
- package/lib/Provider/LibraryContext.js +2 -4
- package/lib/Radio/Radio.js +1 -3
- package/lib/Responsive/CustomResponsive.js +3 -5
- package/lib/Responsive/RefWrapper.js +2 -4
- package/lib/Responsive/ResizeComponent.js +1 -3
- package/lib/Responsive/ResizeObserver.js +1 -4
- package/lib/Responsive/Responsive.js +3 -5
- package/lib/Responsive/sizeObservers.js +2 -4
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +1 -3
- package/lib/Ribbon/Ribbon.js +1 -3
- package/lib/Select/GroupSelect.js +2 -4
- package/lib/Select/Select.js +6 -14
- package/lib/Select/SelectWithAvatar.js +1 -3
- package/lib/Select/SelectWithIcon.js +1 -3
- package/lib/Select/__tests__/Select.spec.js +1 -1
- package/lib/Select/props/defaultProps.js +1 -4
- package/lib/Stencils/Stencils.js +1 -3
- package/lib/Switch/Switch.js +1 -3
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +3 -5
- package/lib/Tag/Tag.js +1 -3
- package/lib/TextBox/TextBox.js +1 -3
- package/lib/TextBox/props/propTypes.js +1 -4
- package/lib/TextBoxIcon/TextBoxIcon.js +2 -5
- package/lib/Textarea/Textarea.js +1 -3
- package/lib/Tooltip/Tooltip.js +1 -3
- package/lib/Tooltip/__tests__/Tooltip.spec.js +1 -3
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +1 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +2 -4
- package/lib/deprecated/PortalLayer/PortalLayer.js +1 -3
- package/lib/semantic/Button/Button.js +1 -4
- package/lib/utils/constructFullName.js +1 -1
- package/lib/utils/dropDownUtils.js +2 -4
- package/package.json +27 -17
package/README.md
CHANGED
|
@@ -32,10 +32,6 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
32
32
|
- TextBoxIcon
|
|
33
33
|
- Tooltip
|
|
34
34
|
|
|
35
|
-
# 1.0.0-temp-112
|
|
36
|
-
Form Fields highlight Active State implementation issue fix
|
|
37
|
-
# 1.0.0-temp-111
|
|
38
|
-
Form Fields highlight Active State implementation
|
|
39
35
|
# 1.0.0-alpha-255
|
|
40
36
|
|
|
41
37
|
- **CalenderView, DateTime** - Today and selected date issue fix.
|
package/css_error.log
ADDED
|
File without changes
|
|
@@ -24,23 +24,26 @@
|
|
|
24
24
|
/* button success status default variable */
|
|
25
25
|
--button_success_border_color: var(--zdt_button_success_default_border);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.native {
|
|
28
28
|
composes: varClass;
|
|
29
|
-
transition: all var(--zd_transition2) ease 0s;
|
|
29
|
+
/* transition: all var(--zd_transition2) ease 0s; */
|
|
30
30
|
letter-spacing: var(--button_letter_spacing);
|
|
31
31
|
opacity: var(--button_opacity);
|
|
32
|
+
transition-property: background-color, color, border;
|
|
33
|
+
transition-duration: var(--zd_transition2);
|
|
34
|
+
transition-timing-function: ease;
|
|
32
35
|
border: 0;
|
|
33
36
|
cursor: var(--button_cursor);
|
|
34
37
|
}
|
|
35
38
|
|
|
36
|
-
.
|
|
39
|
+
.native:disabled {
|
|
37
40
|
pointer-events: none;
|
|
38
41
|
--button_cursor: not-allowed;
|
|
39
42
|
--button_opacity: 0.4;
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
.container {
|
|
43
|
-
composes:
|
|
46
|
+
composes: native;
|
|
44
47
|
composes: dotted from '../common/common.module.css';
|
|
45
48
|
position: relative;
|
|
46
49
|
font-size: var(--button_font_size);
|
package/es/DateTime/DateTime.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
2
1
|
/* eslint css-modules/no-unused-class: [0, { markAsUsed: ['datesStr', 'dateContainer', 'dateRow', 'today', 'emptySpan', 'dropDown'] }] */
|
|
3
2
|
/* eslint-disable react/forbid-component-props */
|
|
4
3
|
|
|
@@ -610,8 +609,7 @@ export default class DateTime extends React.PureComponent {
|
|
|
610
609
|
positionsOffset,
|
|
611
610
|
targetOffset,
|
|
612
611
|
isRestrictScroll,
|
|
613
|
-
dropBoxPortalId
|
|
614
|
-
dropBoxProps
|
|
612
|
+
dropBoxPortalId
|
|
615
613
|
} = this.props;
|
|
616
614
|
const {
|
|
617
615
|
timeText = 'Time',
|
|
@@ -695,7 +693,7 @@ export default class DateTime extends React.PureComponent {
|
|
|
695
693
|
let {
|
|
696
694
|
tabletMode
|
|
697
695
|
} = _ref2;
|
|
698
|
-
return /*#__PURE__*/React.createElement(ResponsiveDropBox,
|
|
696
|
+
return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
|
|
699
697
|
size: boxSize,
|
|
700
698
|
boxPosition: position,
|
|
701
699
|
isActive: isActive,
|
|
@@ -715,7 +713,7 @@ export default class DateTime extends React.PureComponent {
|
|
|
715
713
|
targetOffset: targetOffset,
|
|
716
714
|
isRestrictScroll: isRestrictScroll,
|
|
717
715
|
portalId: dropBoxPortalId
|
|
718
|
-
},
|
|
716
|
+
}, /*#__PURE__*/React.createElement(Box, null, childEle));
|
|
719
717
|
}) : null;
|
|
720
718
|
}
|
|
721
719
|
}
|
|
@@ -53,7 +53,6 @@ class DateWidgetComponent extends React.Component {
|
|
|
53
53
|
this.handleDateIconClick = this.handleDateIconClick.bind(this);
|
|
54
54
|
this.handleSelectionRangeDetails = this.handleSelectionRangeDetails.bind(this);
|
|
55
55
|
this.handleBlurSelectionRange = this.handleBlurSelectionRange.bind(this);
|
|
56
|
-
this.handleExposePopupHandlers = this.handleExposePopupHandlers.bind(this);
|
|
57
56
|
this.state = {
|
|
58
57
|
selected: '',
|
|
59
58
|
displayText: '',
|
|
@@ -95,7 +94,6 @@ class DateWidgetComponent extends React.Component {
|
|
|
95
94
|
selected: newSelected
|
|
96
95
|
});
|
|
97
96
|
this.handleSelectionRangeDetails(this.props);
|
|
98
|
-
this.handleExposePopupHandlers();
|
|
99
97
|
}
|
|
100
98
|
componentDidUpdate(prevProps, prevState) {
|
|
101
99
|
const {
|
|
@@ -213,18 +211,6 @@ class DateWidgetComponent extends React.Component {
|
|
|
213
211
|
onPassValidation && onPassValidation(value, targetTag);
|
|
214
212
|
}
|
|
215
213
|
}
|
|
216
|
-
handleExposePopupHandlers() {
|
|
217
|
-
let {
|
|
218
|
-
removeClose,
|
|
219
|
-
togglePopup,
|
|
220
|
-
getPopupHandlers
|
|
221
|
-
} = this.props;
|
|
222
|
-
let methods = {
|
|
223
|
-
removeClose,
|
|
224
|
-
togglePopup: this.handleTogglePopup
|
|
225
|
-
};
|
|
226
|
-
getPopupHandlers && getPopupHandlers(methods);
|
|
227
|
-
}
|
|
228
214
|
handleTogglePopup(e, isOpenOnly) {
|
|
229
215
|
const {
|
|
230
216
|
togglePopup,
|
|
@@ -934,7 +920,6 @@ class DateWidgetComponent extends React.Component {
|
|
|
934
920
|
targetOffset,
|
|
935
921
|
isRestrictScroll,
|
|
936
922
|
dropBoxPortalId,
|
|
937
|
-
highlightPosition,
|
|
938
923
|
a11y
|
|
939
924
|
} = this.props;
|
|
940
925
|
const {
|
|
@@ -948,7 +933,7 @@ class DateWidgetComponent extends React.Component {
|
|
|
948
933
|
const showClear = !(isDisabled || isReadOnly) && (isDateEdited || value) ? true : false;
|
|
949
934
|
const showError = needErrorOnBlur ? isError && !isFocused && !isPopupOpen : isError;
|
|
950
935
|
return /*#__PURE__*/React.createElement("div", {
|
|
951
|
-
className: `${
|
|
936
|
+
className: `${style.container}`
|
|
952
937
|
}, children ? /*#__PURE__*/React.createElement("div", {
|
|
953
938
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : `${dataId}_widget`}`,
|
|
954
939
|
onClick: isDisabled || isReadOnly ? null : this.handleTogglePopup,
|
|
@@ -1021,8 +1006,7 @@ class DateWidgetComponent extends React.Component {
|
|
|
1021
1006
|
positionsOffset: positionsOffset,
|
|
1022
1007
|
targetOffset: targetOffset,
|
|
1023
1008
|
isRestrictScroll: isRestrictScroll,
|
|
1024
|
-
dropBoxPortalId: dropBoxPortalId
|
|
1025
|
-
isPadding: highlightPosition ? true : false
|
|
1009
|
+
dropBoxPortalId: dropBoxPortalId
|
|
1026
1010
|
}));
|
|
1027
1011
|
}
|
|
1028
1012
|
}
|
|
@@ -746,10 +746,6 @@ export class MultiSelectComponent extends React.Component {
|
|
|
746
746
|
isActive: false
|
|
747
747
|
});
|
|
748
748
|
}
|
|
749
|
-
let {
|
|
750
|
-
onBlur
|
|
751
|
-
} = this.props;
|
|
752
|
-
onBlur && onBlur();
|
|
753
749
|
}
|
|
754
750
|
handleInputFocus() {
|
|
755
751
|
const {
|
|
@@ -763,14 +759,11 @@ export class MultiSelectComponent extends React.Component {
|
|
|
763
759
|
handleExposedPublicMethods() {
|
|
764
760
|
const {
|
|
765
761
|
getPublicMethods,
|
|
766
|
-
openPopupOnly
|
|
767
|
-
togglePopup
|
|
762
|
+
openPopupOnly
|
|
768
763
|
} = this.props;
|
|
769
|
-
|
|
770
|
-
openPopupOnly
|
|
771
|
-
|
|
772
|
-
};
|
|
773
|
-
getPublicMethods && getPublicMethods(methods);
|
|
764
|
+
getPublicMethods && getPublicMethods({
|
|
765
|
+
openPopupOnly
|
|
766
|
+
});
|
|
774
767
|
}
|
|
775
768
|
responsiveFunc(_ref) {
|
|
776
769
|
let {
|
|
@@ -825,8 +818,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
825
818
|
disabledOptions,
|
|
826
819
|
boxSize,
|
|
827
820
|
autoComplete,
|
|
828
|
-
isLoading
|
|
829
|
-
isPadding
|
|
821
|
+
isLoading
|
|
830
822
|
} = this.props;
|
|
831
823
|
const {
|
|
832
824
|
clearText = 'Clear all',
|
|
@@ -861,7 +853,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
861
853
|
});
|
|
862
854
|
const isShowClearIcon = !isReadOnly && !isDisabled && !disableAction && isShowClear;
|
|
863
855
|
return /*#__PURE__*/React.createElement("div", {
|
|
864
|
-
className: `${
|
|
856
|
+
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${isReadOnly ? style.readOnly : ''} ${disableAction ? CssProvider('isBlock') : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
|
|
865
857
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
866
858
|
"data-title": isDisabled ? title : null,
|
|
867
859
|
onClick: this.handleInputFocus
|
|
@@ -951,7 +943,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
951
943
|
isArrow: false,
|
|
952
944
|
onClick: removeClose,
|
|
953
945
|
needResponsive: needResponsive,
|
|
954
|
-
isPadding:
|
|
946
|
+
isPadding: false,
|
|
955
947
|
isBoxPaddingNeed: isBoxPaddingNeed,
|
|
956
948
|
palette: palette,
|
|
957
949
|
htmlId: setAriaId,
|
|
@@ -103,8 +103,7 @@ export const MultiSelect_defaultProps = {
|
|
|
103
103
|
isSearchClearOnSelect: true,
|
|
104
104
|
needEffect: true,
|
|
105
105
|
boxSize: 'default',
|
|
106
|
-
isLoading: false
|
|
107
|
-
isPadding: false
|
|
106
|
+
isLoading: false
|
|
108
107
|
};
|
|
109
108
|
export const MultiSelectHeader_defaultProps = {
|
|
110
109
|
dataId: 'MultiSelectHeader'
|
|
@@ -236,8 +236,7 @@ export const MultiSelect_propTypes = {
|
|
|
236
236
|
getFooter: PropTypes.func,
|
|
237
237
|
needEffect: PropTypes.bool,
|
|
238
238
|
boxSize: PropTypes.string,
|
|
239
|
-
isLoading: PropTypes.bool
|
|
240
|
-
isPadding: PropTypes.bool
|
|
239
|
+
isLoading: PropTypes.bool
|
|
241
240
|
};
|
|
242
241
|
export const MultiSelectHeader_propTypes = {
|
|
243
242
|
dataId: PropTypes.string,
|
package/es/Select/Select.js
CHANGED
|
@@ -518,10 +518,6 @@ export class SelectComponent extends Component {
|
|
|
518
518
|
valueInput
|
|
519
519
|
} = this;
|
|
520
520
|
valueInput && valueInput.setSelectionRange(valueInput, 0);
|
|
521
|
-
let {
|
|
522
|
-
onFocus
|
|
523
|
-
} = this.props;
|
|
524
|
-
onFocus && onFocus();
|
|
525
521
|
}
|
|
526
522
|
handleClearSearch() {
|
|
527
523
|
this.handleSearch('');
|
|
@@ -620,7 +616,7 @@ export class SelectComponent extends Component {
|
|
|
620
616
|
removeClose,
|
|
621
617
|
openPopup: openPopupOnly,
|
|
622
618
|
closePopup: closePopupOnly,
|
|
623
|
-
togglePopup
|
|
619
|
+
togglePopup
|
|
624
620
|
};
|
|
625
621
|
getPopupHandlers && getPopupHandlers(methods);
|
|
626
622
|
}
|
|
@@ -680,8 +676,6 @@ export class SelectComponent extends Component {
|
|
|
680
676
|
iconOnHover,
|
|
681
677
|
customProps,
|
|
682
678
|
autoComplete,
|
|
683
|
-
needPosition,
|
|
684
|
-
onBlur,
|
|
685
679
|
ariaLabelledby,
|
|
686
680
|
isLoading
|
|
687
681
|
} = this.props;
|
|
@@ -710,7 +704,7 @@ export class SelectComponent extends Component {
|
|
|
710
704
|
SuggestionsProps = {}
|
|
711
705
|
} = customProps;
|
|
712
706
|
return /*#__PURE__*/React.createElement("div", {
|
|
713
|
-
className: `${
|
|
707
|
+
className: `${isParentBased || isReadOnly || isDisabled ? style.container : ''} ${style[`box_${size}`]} ${isReadOnly ? style.readonly : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''} ${iconOnHover && (isReadOnly || isDisabled) ? style.iconOnHoverReadonly : iconOnHover && !(isReadOnly || isDisabled) ? style.iconOnHoverStyle : ''}`,
|
|
714
708
|
"data-title": isDisabled ? title : null
|
|
715
709
|
}, /*#__PURE__*/React.createElement("div", {
|
|
716
710
|
className: `${className ? className : ''}`,
|
|
@@ -755,8 +749,7 @@ export class SelectComponent extends Component {
|
|
|
755
749
|
autoComplete: autoComplete,
|
|
756
750
|
customProps: {
|
|
757
751
|
TextBoxProps: TextBoxProps
|
|
758
|
-
}
|
|
759
|
-
onBlur: onBlur
|
|
752
|
+
}
|
|
760
753
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
761
754
|
alignBox: "row",
|
|
762
755
|
align: "both"
|
|
@@ -803,8 +796,7 @@ export class SelectComponent extends Component {
|
|
|
803
796
|
htmlId: htmlId,
|
|
804
797
|
autoComplete: autoComplete,
|
|
805
798
|
isFocus: isPopupReady,
|
|
806
|
-
customProps: TextBoxProps
|
|
807
|
-
onBlur: onBlur
|
|
799
|
+
customProps: TextBoxProps
|
|
808
800
|
})), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
809
801
|
query: this.responsiveFunc,
|
|
810
802
|
responsiveId: "Helmet"
|
|
@@ -823,7 +815,7 @@ export class SelectComponent extends Component {
|
|
|
823
815
|
needResponsive: needResponsive,
|
|
824
816
|
dataId: `${dataId}_suggestions`,
|
|
825
817
|
size: boxSize,
|
|
826
|
-
isPadding:
|
|
818
|
+
isPadding: false,
|
|
827
819
|
isResponsivePadding: getFooter ? false : true,
|
|
828
820
|
alignBox: "row"
|
|
829
821
|
}, isLoading ? /*#__PURE__*/React.createElement(Container, {
|
package/es/Tab/Tab.js
CHANGED
|
@@ -80,7 +80,7 @@ export default function Tab(_ref) {
|
|
|
80
80
|
adjust: true,
|
|
81
81
|
href: isLink ? href : undefined,
|
|
82
82
|
"data-key": id,
|
|
83
|
-
role: "
|
|
83
|
+
role: "link",
|
|
84
84
|
"aria-controls": id,
|
|
85
85
|
"aria-selected": isActive ? true : false,
|
|
86
86
|
tabIndex: isLink ? undefined : isActive && !isDisabled ? '0' : '0',
|
package/es/Tab/Tabs.js
CHANGED
|
@@ -30,7 +30,6 @@ export default class Button extends React.Component {
|
|
|
30
30
|
ariaLabelledby
|
|
31
31
|
} = a11y;
|
|
32
32
|
return /*#__PURE__*/React.createElement("button", {
|
|
33
|
-
"data-sound": "true",
|
|
34
33
|
className: `${style.buttonReset} ${customClass}`,
|
|
35
34
|
"aria-label": ariaLabel,
|
|
36
35
|
"aria-haspopup": ariaHaspopup,
|
|
@@ -10,10 +10,8 @@ var _defaultProps = require("./props/defaultProps");
|
|
|
10
10
|
var _propTypes = require("./props/propTypes");
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
13
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
14
14
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
17
15
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
18
16
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
19
17
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -12,10 +12,8 @@ var _VelocityAnimation = _interopRequireDefault(require("../VelocityAnimation/Ve
|
|
|
12
12
|
var _VelocityAnimationGroup = _interopRequireDefault(require("../VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup"));
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
15
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
19
17
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
20
18
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21
19
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -12,10 +12,8 @@ var _reactTransitionGroup = require("react-transition-group");
|
|
|
12
12
|
var _transitionModule = _interopRequireDefault(require("../common/transition.module.css"));
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
15
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
19
17
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
20
18
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21
19
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -24,10 +24,8 @@ var _Config = require("../Provider/Config");
|
|
|
24
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
25
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
26
26
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
27
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
30
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
31
29
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
32
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
31
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
package/lib/Avatar/Avatar.js
CHANGED
|
@@ -20,10 +20,8 @@ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symb
|
|
|
20
20
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
21
21
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
22
22
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
23
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
24
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
26
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
27
25
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
28
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
27
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -13,10 +13,8 @@ var _AvatarTeamModule = _interopRequireDefault(require("./AvatarTeam.module.css"
|
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
14
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
15
15
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
16
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
17
17
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
19
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
20
18
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
19
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
22
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
package/lib/Button/Button.js
CHANGED
|
@@ -12,10 +12,8 @@ var _ButtonModule = _interopRequireDefault(require("./Button.module.css"));
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
15
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
19
17
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
20
18
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21
19
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -24,23 +24,26 @@
|
|
|
24
24
|
/* button success status default variable */
|
|
25
25
|
--button_success_border_color: var(--zdt_button_success_default_border);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.native {
|
|
28
28
|
composes: varClass;
|
|
29
|
-
transition: all var(--zd_transition2) ease 0s;
|
|
29
|
+
/* transition: all var(--zd_transition2) ease 0s; */
|
|
30
30
|
letter-spacing: var(--button_letter_spacing);
|
|
31
31
|
opacity: var(--button_opacity);
|
|
32
|
+
transition-property: background-color, color, border;
|
|
33
|
+
transition-duration: var(--zd_transition2);
|
|
34
|
+
transition-timing-function: ease;
|
|
32
35
|
border: 0;
|
|
33
36
|
cursor: var(--button_cursor);
|
|
34
37
|
}
|
|
35
38
|
|
|
36
|
-
.
|
|
39
|
+
.native:disabled {
|
|
37
40
|
pointer-events: none;
|
|
38
41
|
--button_cursor: not-allowed;
|
|
39
42
|
--button_opacity: 0.4;
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
.container {
|
|
43
|
-
composes:
|
|
46
|
+
composes: native;
|
|
44
47
|
composes: dotted from '../common/common.module.css';
|
|
45
48
|
position: relative;
|
|
46
49
|
font-size: var(--button_font_size);
|
|
@@ -11,10 +11,8 @@ var _propTypes = require("./props/propTypes");
|
|
|
11
11
|
var _ButtongroupModule = _interopRequireDefault(require("./Buttongroup.module.css"));
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
13
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
14
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
15
15
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
16
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
19
17
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
20
18
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -23,8 +21,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
23
21
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
24
22
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
23
|
/* eslint css-modules/no-unused-class: [2, { markAsUsed: ['footer','header',
|
|
26
|
-
'tab','alignleft','alignright','aligncenter' ] }] */
|
|
27
|
-
var Buttongroup = /*#__PURE__*/function (_React$Component) {
|
|
24
|
+
'tab','alignleft','alignright','aligncenter' ] }] */var Buttongroup = /*#__PURE__*/function (_React$Component) {
|
|
28
25
|
_inherits(Buttongroup, _React$Component);
|
|
29
26
|
var _super = _createSuper(Buttongroup);
|
|
30
27
|
function Buttongroup() {
|
package/lib/Card/Card.js
CHANGED
|
@@ -15,10 +15,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
15
15
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
17
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
18
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
19
19
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
21
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
22
20
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
21
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
22
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
package/lib/CheckBox/CheckBox.js
CHANGED
|
@@ -15,10 +15,8 @@ var _CheckBoxModule = _interopRequireDefault(require("./CheckBox.module.css"));
|
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
16
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
17
17
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
18
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
19
19
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
21
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
22
20
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
21
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
22
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -14,10 +14,8 @@ var _common = require("../utils/datetime/common");
|
|
|
14
14
|
var _DaysRow = _interopRequireDefault(require("./DaysRow"));
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
16
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
17
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
18
18
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
20
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
21
19
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
22
20
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
21
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -25,8 +23,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
25
23
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26
24
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
27
25
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
28
|
-
/* eslint css-modules/no-unused-class: [0, { markAsUsed: ['container', 'header', 'thArrowConatainer', 'thArrow', 'thMonYear', 'days', 'daysStr', 'timesection', 'timeStr', 'dropDownContainer', 'dropDown', 'footer', 'space'] }] */
|
|
29
|
-
var CalendarView = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
|
+
/* eslint css-modules/no-unused-class: [0, { markAsUsed: ['container', 'header', 'thArrowConatainer', 'thArrow', 'thMonYear', 'days', 'daysStr', 'timesection', 'timeStr', 'dropDownContainer', 'dropDown', 'footer', 'space'] }] */var CalendarView = /*#__PURE__*/function (_React$PureComponent) {
|
|
30
27
|
_inherits(CalendarView, _React$PureComponent);
|
|
31
28
|
var _super = _createSuper(CalendarView);
|
|
32
29
|
function CalendarView(props) {
|