@zohodesk/components 1.0.0-temp-211.2 → 1.0.0-temp-217
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/.cli/propValidation_report.html +1 -1
- package/README.md +118 -31
- package/es/AvatarTeam/props/propTypes.js +2 -1
- package/es/CheckBox/CheckBox.js +6 -5
- package/es/CheckBox/CheckBox.module.css +5 -2
- package/es/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +64 -64
- package/es/DateTime/CalendarView.js +17 -12
- package/es/DateTime/DateTime.js +26 -8
- package/es/DateTime/DateTime.module.css +5 -5
- package/es/DateTime/DateWidget.js +13 -2
- package/es/DateTime/DaysRow.js +3 -2
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +7 -7
- package/es/DateTime/props/defaultProps.js +9 -3
- package/es/DateTime/props/propTypes.js +16 -4
- package/es/DropBox/DropBoxElement/DropBoxElement.js +3 -1
- package/es/DropBox/DropBoxElement/__tests__/__snapshots__/DropBoxElement.spec.js.snap +1 -0
- package/es/DropBox/__tests__/__snapshots__/DropBox.spec.js.snap +1 -0
- package/es/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +1 -0
- package/es/ListItem/ListItemWithAvatar.js +7 -3
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +1 -1
- package/es/ListItem/props/propTypes.js +6 -1
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +4 -2
- package/es/MultiSelect/AdvancedMultiSelect.js +4 -2
- package/es/MultiSelect/MultiSelect.js +11 -3
- package/es/MultiSelect/props/propTypes.js +6 -3
- package/es/Popup/Popup.js +125 -7
- package/es/Popup/intersectionObserver.js +49 -0
- package/es/Popup/props/propTypes.js +30 -0
- package/es/Radio/Radio.js +9 -7
- package/es/Radio/Radio.module.css +1 -1
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +77 -77
- package/es/Responsive/ResizeObserver.js +21 -85
- package/es/Responsive/ResizeObserverWithPolyfill.js +140 -0
- package/es/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -0
- package/es/Select/GroupSelect.js +15 -3
- package/es/Select/props/defaultProps.js +2 -1
- package/es/Select/props/propTypes.js +5 -1
- package/es/Tag/Tag.js +10 -3
- package/es/Tag/props/defaultProps.js +2 -1
- package/es/Tag/props/propTypes.js +7 -1
- package/es/TextBox/TextBox.js +1 -1
- package/es/Textarea/Textarea.js +4 -2
- package/es/Textarea/Textarea.module.css +1 -1
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +41 -41
- package/es/Textarea/props/propTypes.js +2 -1
- package/es/Typography/Typography.js +38 -0
- package/es/Typography/css/Typography.module.css +489 -0
- package/es/Typography/css/cssJSLogic.js +56 -0
- package/es/Typography/props/defaultProps.js +8 -0
- package/es/Typography/props/propTypes.js +27 -0
- package/es/Typography/utils/index.js +50 -0
- package/es/index.js +1 -1
- package/es/v1/AppContainer/AppContainer.js +0 -6
- package/es/v1/DateTime/CalendarView.js +9 -6
- package/es/v1/DateTime/DateTime.js +18 -4
- package/es/v1/DateTime/DateWidget.js +5 -1
- package/es/v1/DateTime/DaysRow.js +3 -2
- package/es/v1/DateTime/props/defaultProps.js +9 -3
- package/es/v1/DateTime/props/propTypes.js +11 -4
- package/es/v1/MultiSelect/MultiSelect.js +7 -1
- package/es/v1/Select/GroupSelect.js +5 -0
- package/es/v1/Typography/Typography.js +1 -1
- package/lib/AvatarTeam/props/propTypes.js +3 -1
- package/lib/CheckBox/CheckBox.js +5 -4
- package/lib/CheckBox/CheckBox.module.css +5 -2
- package/lib/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +64 -64
- package/lib/DateTime/CalendarView.js +17 -12
- package/lib/DateTime/DateTime.js +38 -9
- package/lib/DateTime/DateTime.module.css +5 -5
- package/lib/DateTime/DateWidget.js +13 -2
- package/lib/DateTime/DaysRow.js +3 -2
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +7 -7
- package/lib/DateTime/props/defaultProps.js +9 -3
- package/lib/DateTime/props/propTypes.js +16 -4
- package/lib/DropBox/DropBoxElement/DropBoxElement.js +3 -1
- package/lib/DropBox/DropBoxElement/__tests__/__snapshots__/DropBoxElement.spec.js.snap +1 -0
- package/lib/DropBox/__tests__/__snapshots__/DropBox.spec.js.snap +1 -0
- package/lib/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +1 -0
- package/lib/ListItem/ListItemWithAvatar.js +8 -4
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +1 -1
- package/lib/ListItem/props/propTypes.js +8 -1
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +4 -2
- package/lib/MultiSelect/AdvancedMultiSelect.js +4 -2
- package/lib/MultiSelect/MultiSelect.js +11 -3
- package/lib/MultiSelect/props/propTypes.js +8 -6
- package/lib/Popup/Popup.js +135 -8
- package/lib/Popup/intersectionObserver.js +72 -0
- package/lib/Popup/props/propTypes.js +51 -0
- package/lib/Radio/Radio.js +10 -7
- package/lib/Radio/Radio.module.css +1 -1
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +77 -77
- package/lib/Responsive/ResizeObserver.js +20 -88
- package/lib/Responsive/ResizeObserverWithPolyfill.js +168 -0
- package/lib/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -0
- package/lib/Select/GroupSelect.js +17 -5
- package/lib/Select/props/defaultProps.js +2 -1
- package/lib/Select/props/propTypes.js +5 -1
- package/lib/Tag/Tag.js +10 -5
- package/lib/Tag/props/defaultProps.js +2 -1
- package/lib/Tag/props/propTypes.js +9 -1
- package/lib/TextBox/TextBox.js +1 -1
- package/lib/Textarea/Textarea.js +4 -2
- package/lib/Textarea/Textarea.module.css +1 -1
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +41 -41
- package/lib/Textarea/props/propTypes.js +2 -1
- package/lib/Typography/Typography.js +56 -0
- package/lib/Typography/css/Typography.module.css +489 -0
- package/lib/Typography/css/cssJSLogic.js +48 -0
- package/lib/Typography/props/defaultProps.js +15 -0
- package/lib/Typography/props/propTypes.js +38 -0
- package/lib/Typography/utils/index.js +59 -0
- package/lib/index.js +1 -1
- package/lib/v1/AppContainer/AppContainer.js +0 -12
- package/lib/v1/DateTime/CalendarView.js +9 -6
- package/lib/v1/DateTime/DateTime.js +27 -4
- package/lib/v1/DateTime/DateWidget.js +5 -1
- package/lib/v1/DateTime/DaysRow.js +3 -2
- package/lib/v1/DateTime/props/defaultProps.js +9 -3
- package/lib/v1/DateTime/props/propTypes.js +11 -4
- package/lib/v1/MultiSelect/MultiSelect.js +7 -1
- package/lib/v1/Select/GroupSelect.js +5 -0
- package/lib/v1/Typography/Typography.js +2 -2
- package/package.json +8 -8
- package/propValidationArg.json +1 -1
- /package/es/v1/Typography/css/{Typography.module.css → v1_Typography.module.css} +0 -0
- /package/lib/v1/Typography/css/{Typography.module.css → v1_Typography.module.css} +0 -0
|
@@ -43,6 +43,14 @@ var _dateFormat = require("./../../DateTime/dateFormatUtils/dateFormat");
|
|
|
43
43
|
|
|
44
44
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
45
45
|
|
|
46
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
47
|
+
|
|
48
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
49
|
+
|
|
50
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
51
|
+
|
|
52
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
53
|
+
|
|
46
54
|
function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
|
|
47
55
|
|
|
48
56
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
@@ -728,7 +736,9 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
728
736
|
startDate = _this$props7.startDate,
|
|
729
737
|
endDate = _this$props7.endDate,
|
|
730
738
|
_this$props7$customPr = _this$props7.customProps,
|
|
731
|
-
customProps = _this$props7$customPr === void 0 ? {} : _this$props7$customPr
|
|
739
|
+
customProps = _this$props7$customPr === void 0 ? {} : _this$props7$customPr,
|
|
740
|
+
holidays = _this$props7.holidays,
|
|
741
|
+
weekStartDay = _this$props7.weekStartDay;
|
|
732
742
|
var _customProps$TimeProp = customProps.TimeProps,
|
|
733
743
|
TimeProps = _customProps$TimeProp === void 0 ? {} : _customProps$TimeProp;
|
|
734
744
|
var _i18nKeys$timeText = i18nKeys.timeText,
|
|
@@ -754,6 +764,17 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
754
764
|
_i18nKeys$dayNamesSho = i18nKeys.dayNamesShort,
|
|
755
765
|
dayNamesShort = _i18nKeys$dayNamesSho === void 0 ? _constants.dayNamesShortDefault : _i18nKeys$dayNamesSho;
|
|
756
766
|
var showmonthtxt = title(date, year, month, monthNames);
|
|
767
|
+
var customDayNames = dayNames,
|
|
768
|
+
customDayNamesShort = dayNamesShort,
|
|
769
|
+
customizedHolidays = holidays;
|
|
770
|
+
|
|
771
|
+
if (weekStartDay !== 0) {
|
|
772
|
+
customDayNames = [].concat(_toConsumableArray(dayNames.slice(weekStartDay)), _toConsumableArray(dayNames.slice(0, weekStartDay)));
|
|
773
|
+
customDayNamesShort = [].concat(_toConsumableArray(dayNamesShort.slice(weekStartDay)), _toConsumableArray(dayNamesShort.slice(0, weekStartDay)));
|
|
774
|
+
customizedHolidays = holidays.map(function (dayIndex) {
|
|
775
|
+
return customDayNames.indexOf(dayNames[dayIndex]);
|
|
776
|
+
});
|
|
777
|
+
}
|
|
757
778
|
|
|
758
779
|
var childEle = /*#__PURE__*/_react["default"].createElement("div", {
|
|
759
780
|
className: "".concat(_DateTimeModule["default"].container, " ").concat(innerClass),
|
|
@@ -776,13 +797,15 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
776
797
|
year: year,
|
|
777
798
|
month: month,
|
|
778
799
|
onSelect: this.dateSelect,
|
|
779
|
-
dayNames:
|
|
780
|
-
dayNamesShort:
|
|
800
|
+
dayNames: customDayNames,
|
|
801
|
+
dayNamesShort: customDayNamesShort,
|
|
781
802
|
todayDate: todayDate,
|
|
782
803
|
todayMonth: todayMonth,
|
|
783
804
|
todayYear: todayYear,
|
|
784
805
|
startDate: startDate,
|
|
785
|
-
endDate: endDate
|
|
806
|
+
endDate: endDate,
|
|
807
|
+
weekStartDay: weekStartDay,
|
|
808
|
+
holidays: customizedHolidays
|
|
786
809
|
}), isDateTimeField ? /*#__PURE__*/_react["default"].createElement(_Time["default"], {
|
|
787
810
|
timeText: timeText,
|
|
788
811
|
dataId: dataId,
|
|
@@ -1032,6 +1032,8 @@ var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1032
1032
|
onError = _this$props12.onError,
|
|
1033
1033
|
startDate = _this$props12.startDate,
|
|
1034
1034
|
endDate = _this$props12.endDate,
|
|
1035
|
+
weekStartDay = _this$props12.weekStartDay,
|
|
1036
|
+
holidays = _this$props12.holidays,
|
|
1035
1037
|
_this$props12$customP = _this$props12.customProps,
|
|
1036
1038
|
customProps = _this$props12$customP === void 0 ? {} : _this$props12$customP;
|
|
1037
1039
|
var _customProps$DateTime = customProps.DateTimeProps,
|
|
@@ -1131,7 +1133,9 @@ var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1131
1133
|
onError: onError,
|
|
1132
1134
|
startDate: startDate,
|
|
1133
1135
|
endDate: endDate,
|
|
1134
|
-
customProps: DateTimeProps
|
|
1136
|
+
customProps: DateTimeProps,
|
|
1137
|
+
weekStartDay: weekStartDay,
|
|
1138
|
+
holidays: holidays
|
|
1135
1139
|
}));
|
|
1136
1140
|
}
|
|
1137
1141
|
}]);
|
|
@@ -57,7 +57,8 @@ var DaysRow = /*#__PURE__*/function (_PureComponent) {
|
|
|
57
57
|
value: function render() {
|
|
58
58
|
var _this$props = this.props,
|
|
59
59
|
dayNames = _this$props.dayNames,
|
|
60
|
-
dayNamesShort = _this$props.dayNamesShort
|
|
60
|
+
dayNamesShort = _this$props.dayNamesShort,
|
|
61
|
+
holidays = _this$props.holidays;
|
|
61
62
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
62
63
|
alignBox: "row",
|
|
63
64
|
align: "center",
|
|
@@ -65,7 +66,7 @@ var DaysRow = /*#__PURE__*/function (_PureComponent) {
|
|
|
65
66
|
}, dayNames.map(function (dayName, index) {
|
|
66
67
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
67
68
|
key: dayName,
|
|
68
|
-
className: "".concat(_DateTimeModule["default"].daysStr, " ").concat(_DateTimeModule["default"].grid, " ").concat(index
|
|
69
|
+
className: "".concat(_DateTimeModule["default"].daysStr, " ").concat(_DateTimeModule["default"].grid, " ").concat(holidays.includes(index) ? _DateTimeModule["default"].holiday : ''),
|
|
69
70
|
"data-title": dayName,
|
|
70
71
|
"aria-label": dayName
|
|
71
72
|
}, dayNamesShort[index]);
|
|
@@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.YearView_defaultProps = exports.Time_defaultProps = exports.Span_defaultProps = exports.DateWidget_defaultProps = exports.DateTime_defaultProps = exports.DateTimePopupFooter_defaultProps = exports.CalendarView_defaultProps = void 0;
|
|
7
7
|
var CalendarView_defaultProps = {
|
|
8
8
|
dataId: 'dateContainer',
|
|
9
|
-
needBorder: true
|
|
9
|
+
needBorder: true,
|
|
10
|
+
weekStartDay: 0,
|
|
11
|
+
holidays: [0]
|
|
10
12
|
};
|
|
11
13
|
exports.CalendarView_defaultProps = CalendarView_defaultProps;
|
|
12
14
|
var Span_defaultProps = {
|
|
@@ -28,7 +30,9 @@ var DateTime_defaultProps = {
|
|
|
28
30
|
i18nKeys: {},
|
|
29
31
|
is24Hour: false,
|
|
30
32
|
isDefaultPosition: false,
|
|
31
|
-
customDateFormat: null
|
|
33
|
+
customDateFormat: null,
|
|
34
|
+
weekStartDay: 0,
|
|
35
|
+
holidays: [0]
|
|
32
36
|
};
|
|
33
37
|
exports.DateTime_defaultProps = DateTime_defaultProps;
|
|
34
38
|
var DateWidget_defaultProps = {
|
|
@@ -52,7 +56,9 @@ var DateWidget_defaultProps = {
|
|
|
52
56
|
needErrorOnBlur: false,
|
|
53
57
|
isEditable: false,
|
|
54
58
|
iconOnHover: false,
|
|
55
|
-
is24Hour: false
|
|
59
|
+
is24Hour: false,
|
|
60
|
+
weekStartDay: 0,
|
|
61
|
+
holidays: [0]
|
|
56
62
|
};
|
|
57
63
|
exports.DateWidget_defaultProps = DateWidget_defaultProps;
|
|
58
64
|
var YearView_defaultProps = {
|
|
@@ -36,7 +36,9 @@ var CalendarView_propTypes = {
|
|
|
36
36
|
todayDate: _propTypes["default"].string,
|
|
37
37
|
todayYear: _propTypes["default"].string,
|
|
38
38
|
startDate: _propTypes["default"].string,
|
|
39
|
-
endDate: _propTypes["default"].string
|
|
39
|
+
endDate: _propTypes["default"].string,
|
|
40
|
+
weekStartDay: _propTypes["default"].oneOf([0, 1, 2, 3, 4, 5, 6]),
|
|
41
|
+
holidays: _propTypes["default"].arrayOf(_propTypes["default"].number)
|
|
40
42
|
};
|
|
41
43
|
exports.CalendarView_propTypes = CalendarView_propTypes;
|
|
42
44
|
var Span_propTypes = {
|
|
@@ -104,7 +106,9 @@ var DateTime_propTypes = {
|
|
|
104
106
|
dropBoxPortalId: _propTypes["default"].string,
|
|
105
107
|
startDate: _propTypes["default"].string,
|
|
106
108
|
endDate: _propTypes["default"].string,
|
|
107
|
-
customProps: _propTypes["default"].object
|
|
109
|
+
customProps: _propTypes["default"].object,
|
|
110
|
+
weekStartDay: _propTypes["default"].oneOf([0, 1, 2, 3, 4, 5, 6]),
|
|
111
|
+
holidays: _propTypes["default"].arrayOf(_propTypes["default"].number)
|
|
108
112
|
};
|
|
109
113
|
exports.DateTime_propTypes = DateTime_propTypes;
|
|
110
114
|
var DateWidget_propTypes = {
|
|
@@ -176,7 +180,9 @@ var DateWidget_propTypes = {
|
|
|
176
180
|
startDate: _propTypes["default"].string,
|
|
177
181
|
endDate: _propTypes["default"].string,
|
|
178
182
|
getPopupProps: _propTypes["default"].func,
|
|
179
|
-
customProps: _propTypes["default"].object
|
|
183
|
+
customProps: _propTypes["default"].object,
|
|
184
|
+
weekStartDay: _propTypes["default"].oneOf([0, 1, 2, 3, 4, 5, 6]),
|
|
185
|
+
holidays: _propTypes["default"].arrayOf(_propTypes["default"].number)
|
|
180
186
|
};
|
|
181
187
|
exports.DateWidget_propTypes = DateWidget_propTypes;
|
|
182
188
|
var YearView_propTypes = {
|
|
@@ -207,7 +213,8 @@ var DateTimePopupHeader_propTypes = {
|
|
|
207
213
|
exports.DateTimePopupHeader_propTypes = DateTimePopupHeader_propTypes;
|
|
208
214
|
var DaysRow_propTypes = {
|
|
209
215
|
dayNames: _propTypes["default"].array,
|
|
210
|
-
dayNamesShort: _propTypes["default"].object
|
|
216
|
+
dayNamesShort: _propTypes["default"].object,
|
|
217
|
+
holidays: _propTypes["default"].arrayOf(_propTypes["default"].number)
|
|
211
218
|
};
|
|
212
219
|
exports.DaysRow_propTypes = DaysRow_propTypes;
|
|
213
220
|
var Time_propTypes = {
|
|
@@ -272,7 +272,13 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
272
272
|
} //Need To MultiselectNew Component
|
|
273
273
|
|
|
274
274
|
|
|
275
|
-
this.handleComponentDidUpdate(prevProps, prevState);
|
|
275
|
+
this.handleComponentDidUpdate(prevProps, prevState); // if (isPopupOpen && isNextOptions && prevProps.selectedOptions.length !== selectedOptions.length) {
|
|
276
|
+
// let { scrollHeight, clientHeight } = this.suggestionContainer || {};
|
|
277
|
+
// let isElementScrollable = scrollHeight > clientHeight;
|
|
278
|
+
// if (!isElementScrollable) {
|
|
279
|
+
// this.handleScrollFuncCall();
|
|
280
|
+
// }
|
|
281
|
+
// }
|
|
276
282
|
}
|
|
277
283
|
}, {
|
|
278
284
|
key: "componentWillUnmount",
|
|
@@ -671,6 +671,10 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
|
|
|
671
671
|
emptyText: i18nKeys.emptyText || emptyMessage,
|
|
672
672
|
searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
|
|
673
673
|
});
|
|
674
|
+
var _i18nKeys = i18nKeys,
|
|
675
|
+
TextBoxIcon_i18n = _i18nKeys.TextBoxIcon_i18n,
|
|
676
|
+
_i18nKeys$TextBox_all = _i18nKeys.TextBox_ally_label,
|
|
677
|
+
TextBox_ally_label = _i18nKeys$TextBox_all === void 0 ? 'Click to select options' : _i18nKeys$TextBox_all;
|
|
674
678
|
var _this$state3 = this.state,
|
|
675
679
|
selectedId = _this$state3.selectedId,
|
|
676
680
|
hoverIndex = _this$state3.hoverIndex,
|
|
@@ -729,6 +733,7 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
|
|
|
729
733
|
ariaActivedescendant: selectedId,
|
|
730
734
|
ariaOwns: setAriaId
|
|
731
735
|
},
|
|
736
|
+
i18nKeys: TextBoxIcon_i18n,
|
|
732
737
|
isFocus: isPopupReady,
|
|
733
738
|
autoComplete: false
|
|
734
739
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
@@ -15,7 +15,7 @@ var _cssJSLogic2 = _interopRequireDefault(require("./css/cssJSLogic"));
|
|
|
15
15
|
|
|
16
16
|
var _utils = require("@zohodesk/utils");
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _v1_TypographyModule = _interopRequireDefault(require("./css/v1_Typography.module.css"));
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
21
|
|
|
@@ -34,7 +34,7 @@ var Typography = function Typography(props) {
|
|
|
34
34
|
$tagAttributes_text = props.$tagAttributes_text,
|
|
35
35
|
$a11yAttributes_text = props.$a11yAttributes_text,
|
|
36
36
|
customStyle = props.customStyle;
|
|
37
|
-
var style = (0, _utils.mergeStyle)(
|
|
37
|
+
var style = (0, _utils.mergeStyle)(_v1_TypographyModule["default"], customStyle);
|
|
38
38
|
|
|
39
39
|
var _cssJSLogic = (0, _cssJSLogic2["default"])({
|
|
40
40
|
props: props,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-217",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"postpublish": "node postPublish.js",
|
|
43
43
|
"report": "react-cli publish:report",
|
|
44
44
|
"test": "react-cli test",
|
|
45
|
-
"test-clean": "react-cli clean coverage",
|
|
45
|
+
"test-clean": "react-cli clean ./coverage",
|
|
46
46
|
"snap-update": "npm run test-clean && npm run test -- -u",
|
|
47
47
|
"sstest": "npm run init && react-cli sstest",
|
|
48
48
|
"build:external": "npm run clean && npm run init && npm run docsjs:build && npm run build:externalDocCopy && react-cli build:component:umd && npm run externalDocHTMLChange",
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
"@zohodesk-private/css-variable-migrator": "^1.0.7",
|
|
69
69
|
"@zohodesk-private/node-plugins": "1.1.8",
|
|
70
70
|
"@zohodesk-private/react-prop-validator": "1.2.3",
|
|
71
|
-
"@zohodesk/a11y": "2.2.
|
|
71
|
+
"@zohodesk/a11y": "2.2.7",
|
|
72
72
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
|
73
73
|
"@zohodesk/hooks": "2.0.5",
|
|
74
|
-
"@zohodesk/icons": "1.0.
|
|
75
|
-
"@zohodesk/svg": "1.1.
|
|
74
|
+
"@zohodesk/icons": "1.0.70",
|
|
75
|
+
"@zohodesk/svg": "1.1.22",
|
|
76
76
|
"@zohodesk/utils": "1.3.14",
|
|
77
77
|
"@zohodesk/variables": "1.0.0",
|
|
78
78
|
"@zohodesk/virtualizer": "1.0.3",
|
|
@@ -86,14 +86,14 @@
|
|
|
86
86
|
"selectn": "1.1.2"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"@zohodesk/icons": "1.0.
|
|
89
|
+
"@zohodesk/icons": "1.0.70",
|
|
90
90
|
"@zohodesk/variables": "1.0.0",
|
|
91
|
-
"@zohodesk/svg": "1.1.
|
|
91
|
+
"@zohodesk/svg": "1.1.22",
|
|
92
92
|
"@zohodesk/virtualizer": "1.0.3",
|
|
93
93
|
"velocity-react": "1.4.3",
|
|
94
94
|
"react-sortable-hoc": "^0.8.3",
|
|
95
95
|
"@zohodesk/hooks": "2.0.5",
|
|
96
96
|
"@zohodesk/utils": "1.3.14",
|
|
97
|
-
"@zohodesk/a11y": "2.2.
|
|
97
|
+
"@zohodesk/a11y": "2.2.7"
|
|
98
98
|
}
|
|
99
99
|
}
|
package/propValidationArg.json
CHANGED
|
File without changes
|
|
File without changes
|