@zohodesk/components 1.0.0-temp-197 → 1.0.0-temp-198
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/PropUnificationExcludeFilesArray.js +230 -230
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/css_error.log +1 -1
- package/es/AppContainer/AppContainer.js +1 -0
- package/es/Avatar/Avatar.js +9 -9
- package/es/Avatar/Avatar.module.css +2 -2
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/es/Button/css/Button.module.css +6 -22
- package/es/Buttongroup/Buttongroup.module.css +1 -1
- package/es/DateTime/DateTime.module.css +8 -11
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +7 -11
- package/es/DropBox/css/DropBox.module.css +1 -1
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/es/MultiSelect/MultiSelect.js +7 -6
- package/es/Ribbon/Ribbon.module.css +6 -6
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/es/Switch/Switch.module.css +1 -2
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/es/Tab/Tabs.module.css +3 -3
- package/es/Tag/Tag.js +8 -8
- package/es/Tooltip/Tooltip.module.css +0 -3
- package/es/v1/AppContainer/AppContainer.js +1 -0
- package/es/v1/Avatar/Avatar.js +5 -5
- package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/es/v1/Button/Button.js +4 -4
- package/es/v1/Card/Card.js +4 -4
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/v1/MultiSelect/MultiSelect.js +7 -6
- package/es/v1/Tab/Tabs.js +11 -11
- package/es/v1/Tab/v1Tabs.module.css +3 -3
- package/es/v1/Tag/Tag.js +8 -8
- package/lib/AppContainer/AppContainer.js +2 -0
- package/lib/Avatar/Avatar.js +9 -9
- package/lib/Avatar/Avatar.module.css +2 -2
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/lib/Button/css/Button.module.css +6 -22
- package/lib/Buttongroup/Buttongroup.module.css +1 -1
- package/lib/DateTime/DateTime.module.css +8 -11
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +7 -11
- package/lib/DropBox/css/DropBox.module.css +1 -1
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/lib/MultiSelect/MultiSelect.js +7 -6
- package/lib/Ribbon/Ribbon.module.css +6 -6
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/lib/Switch/Switch.module.css +1 -2
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/lib/Tab/Tabs.module.css +3 -3
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tooltip/Tooltip.module.css +0 -3
- package/lib/v1/AppContainer/AppContainer.js +2 -0
- package/lib/v1/Avatar/Avatar.js +5 -5
- package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/lib/v1/Button/Button.js +4 -4
- package/lib/v1/Card/Card.js +4 -4
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/lib/v1/MultiSelect/MultiSelect.js +7 -6
- package/lib/v1/Tab/Tabs.js +11 -11
- package/lib/v1/Tab/v1Tabs.module.css +3 -3
- package/lib/v1/Tag/Tag.js +8 -8
- package/package.json +5 -9
- package/propValidationArg.json +11 -11
- package/result.json +1 -1
- /package/es/{deprecated → common}/boxShadow.module.css +0 -0
- /package/lib/{deprecated → common}/boxShadow.module.css +0 -0
package/lib/Tab/Tabs.module.css
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
bottom: 0 ;
|
|
32
32
|
height: var(--zd_size10) ;
|
|
33
33
|
border-radius: 100px / 5px;
|
|
34
|
-
box-shadow: var(--
|
|
34
|
+
box-shadow: var(--zd_bs_tabs_shadow);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
[dir=ltr] .alpha::after {
|
|
@@ -123,13 +123,13 @@
|
|
|
123
123
|
.bottomRightToLeft,
|
|
124
124
|
.topRightToLeft,
|
|
125
125
|
.bottomCenterToLeft {
|
|
126
|
-
right: calc(var(--tab_position_gap) * -1);
|
|
126
|
+
right: calc(var(--tab_position_gap) * -1);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.bottomLeftToRight,
|
|
130
130
|
.topLeftToRight,
|
|
131
131
|
.bottomCenterToRight {
|
|
132
|
-
left: calc(var(--tab_position_gap) * -1);
|
|
132
|
+
left: calc(var(--tab_position_gap) * -1);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.hidden {
|
package/lib/Tag/Tag.js
CHANGED
|
@@ -51,16 +51,16 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
51
51
|
|
|
52
52
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
53
53
|
|
|
54
|
-
/*
|
|
55
|
-
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
56
|
-
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
57
|
-
* 'pureDotted', 'primaryDotted'] }]
|
|
54
|
+
/*
|
|
55
|
+
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
56
|
+
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
57
|
+
* 'pureDotted', 'primaryDotted'] }]
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
|
-
/*
|
|
61
|
-
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
62
|
-
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
63
|
-
* 'pureDotted', 'primaryDotted'] }]
|
|
60
|
+
/*
|
|
61
|
+
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
62
|
+
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
63
|
+
* 'pureDotted', 'primaryDotted'] }]
|
|
64
64
|
*/
|
|
65
65
|
var Tag = /*#__PURE__*/function (_PureComponent) {
|
|
66
66
|
_inherits(Tag, _PureComponent);
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
z-index: 9999999;
|
|
4
4
|
/*Hook for editor alert*/
|
|
5
5
|
pointer-events: none;
|
|
6
|
-
/*css:validation:ignore*/
|
|
7
6
|
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
8
7
|
border-radius: var(--zd_size4);
|
|
9
8
|
}[dir=ltr] .tooltiptext {
|
|
@@ -52,7 +51,6 @@
|
|
|
52
51
|
border-left: solid 6px var(--zdt_tooltip_default_bg);
|
|
53
52
|
border-right: solid 6px transparent;
|
|
54
53
|
border-bottom: solid 6px transparent;
|
|
55
|
-
/*css:validation:ignore*/
|
|
56
54
|
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
57
55
|
z-index: -1;
|
|
58
56
|
}
|
|
@@ -73,7 +71,6 @@
|
|
|
73
71
|
border-left: solid 6px var(--zdt_tooltip_default_bg);
|
|
74
72
|
border-right: solid 6px transparent;
|
|
75
73
|
border-bottom: solid 6px transparent;
|
|
76
|
-
/*css:validation:ignore*/
|
|
77
74
|
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
78
75
|
z-index: -1;
|
|
79
76
|
}
|
|
@@ -35,6 +35,8 @@ require("@zohodesk/variables/assets/no_transitionVariables.module.css");
|
|
|
35
35
|
|
|
36
36
|
require("../../common/a11y.module.css");
|
|
37
37
|
|
|
38
|
+
require("../../common/boxShadow.module.css");
|
|
39
|
+
|
|
38
40
|
var _AppContainerModule = _interopRequireDefault(require("../../AppContainer/AppContainer.module.css"));
|
|
39
41
|
|
|
40
42
|
var _Config = require("../../Provider/Config");
|
package/lib/v1/Avatar/Avatar.js
CHANGED
|
@@ -49,11 +49,11 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
49
49
|
|
|
50
50
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
51
51
|
|
|
52
|
-
/*
|
|
53
|
-
1. need to change name into firstName lastName
|
|
54
|
-
2. pattern support via context as well as props
|
|
55
|
-
3. prop high priority to arrange firstName lastName
|
|
56
|
-
4. team pass name as lastName and pass pattern via prop
|
|
52
|
+
/*
|
|
53
|
+
1. need to change name into firstName lastName
|
|
54
|
+
2. pattern support via context as well as props
|
|
55
|
+
3. prop high priority to arrange firstName lastName
|
|
56
|
+
4. team pass name as lastName and pass pattern via prop
|
|
57
57
|
*/
|
|
58
58
|
function Avatar(props) {
|
|
59
59
|
var src = props.src,
|
|
@@ -19,10 +19,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
19
19
|
|
|
20
20
|
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); }
|
|
21
21
|
|
|
22
|
-
/* once avatar support firstname lastname and pattern
|
|
23
|
-
pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
|
|
24
|
-
|
|
25
|
-
Not going to export to external then can kept inside supportapp
|
|
22
|
+
/* once avatar support firstname lastname and pattern
|
|
23
|
+
pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
|
|
24
|
+
|
|
25
|
+
Not going to export to external then can kept inside supportapp
|
|
26
26
|
*/
|
|
27
27
|
function AvatarTeam(props) {
|
|
28
28
|
var src = props.src,
|
package/lib/v1/Button/Button.js
CHANGED
|
@@ -21,10 +21,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
21
21
|
|
|
22
22
|
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); }
|
|
23
23
|
|
|
24
|
-
/*
|
|
25
|
-
Button text and children props?
|
|
26
|
-
use children for both cases
|
|
27
|
-
toLowerCase check needed?
|
|
24
|
+
/*
|
|
25
|
+
Button text and children props?
|
|
26
|
+
use children for both cases
|
|
27
|
+
toLowerCase check needed?
|
|
28
28
|
*/
|
|
29
29
|
function Button(props) {
|
|
30
30
|
var text = props.text,
|
package/lib/v1/Card/Card.js
CHANGED
|
@@ -44,10 +44,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
44
44
|
|
|
45
45
|
/* eslint-disable react/forbid-component-props */
|
|
46
46
|
|
|
47
|
-
/*
|
|
48
|
-
isscroll header border change use ref
|
|
49
|
-
scroll logic remove from here
|
|
50
|
-
scroll logic move to virtualizer list
|
|
47
|
+
/*
|
|
48
|
+
isscroll header border change use ref
|
|
49
|
+
scroll logic remove from here
|
|
50
|
+
scroll logic move to virtualizer list
|
|
51
51
|
*/
|
|
52
52
|
|
|
53
53
|
/* performance handling pending in card component moving to ref instead of setState */
|
|
@@ -488,8 +488,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
488
488
|
if (suggestionsLen && isPopupOpen && keyCode === 38) {
|
|
489
489
|
//up arrow
|
|
490
490
|
|
|
491
|
-
/*if (hoverOption === 0) { //disable first to last option higlight
|
|
492
|
-
!isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
|
|
491
|
+
/*if (hoverOption === 0) { //disable first to last option higlight
|
|
492
|
+
!isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
|
|
493
493
|
}*/
|
|
494
494
|
if (hoverIndex) {
|
|
495
495
|
this.setState({
|
|
@@ -499,9 +499,9 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
499
499
|
} else if (suggestionsLen && isPopupOpen && keyCode === 40) {
|
|
500
500
|
//down arrow
|
|
501
501
|
|
|
502
|
-
/*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
|
|
503
|
-
//disable last to first option higlight
|
|
504
|
-
!isNextOptions && this.setState({ hoverOption: 0 });
|
|
502
|
+
/*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
|
|
503
|
+
//disable last to first option higlight
|
|
504
|
+
!isNextOptions && this.setState({ hoverOption: 0 });
|
|
505
505
|
}*/
|
|
506
506
|
if (isNextOptions && suggestionsLen >= 5 && hoverIndex === suggestionsLen - 3) {
|
|
507
507
|
getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
|
|
@@ -402,8 +402,8 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
402
402
|
if (suggestionsLen && isPopupOpen && keyCode === 38) {
|
|
403
403
|
//up arrow
|
|
404
404
|
|
|
405
|
-
/*if (hoverOption === 0) { //disable first to last option higlight
|
|
406
|
-
!isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
|
|
405
|
+
/*if (hoverOption === 0) { //disable first to last option higlight
|
|
406
|
+
!isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
|
|
407
407
|
}*/
|
|
408
408
|
if (hoverOption) {
|
|
409
409
|
this.setState({
|
|
@@ -413,9 +413,9 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
413
413
|
} else if (suggestionsLen && isPopupOpen && keyCode === 40) {
|
|
414
414
|
//down arrow
|
|
415
415
|
|
|
416
|
-
/*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
|
|
417
|
-
//disable last to first option higlight
|
|
418
|
-
!isNextOptions && this.setState({ hoverOption: 0 });
|
|
416
|
+
/*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
|
|
417
|
+
//disable last to first option higlight
|
|
418
|
+
!isNextOptions && this.setState({ hoverOption: 0 });
|
|
419
419
|
}*/
|
|
420
420
|
if (isNextOptions && suggestionsLen >= 5 && hoverOption === suggestionsLen - 3) {
|
|
421
421
|
getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
|
|
@@ -1117,7 +1117,8 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1117
1117
|
},
|
|
1118
1118
|
size: boxSize,
|
|
1119
1119
|
alignBox: "row",
|
|
1120
|
-
isResponsivePadding: getFooter ? false : true
|
|
1120
|
+
isResponsivePadding: getFooter ? false : true,
|
|
1121
|
+
dataId: "".concat(dataId, "_dropbox")
|
|
1121
1122
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
1122
1123
|
flexible: true
|
|
1123
1124
|
}, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
|
package/lib/v1/Tab/Tabs.js
CHANGED
|
@@ -187,9 +187,9 @@ var Tabs = function Tabs(props) {
|
|
|
187
187
|
|
|
188
188
|
(0, _useEffectCallOnlyAfterState["default"])(function () {
|
|
189
189
|
if (children) {
|
|
190
|
-
/**
|
|
191
|
-
* To recalculate the dimensions of tabs we are checking the children length.
|
|
192
|
-
* and also checking the tab id and their order.
|
|
190
|
+
/**
|
|
191
|
+
* To recalculate the dimensions of tabs we are checking the children length.
|
|
192
|
+
* and also checking the tab id and their order.
|
|
193
193
|
*/
|
|
194
194
|
var newTabKeys = [];
|
|
195
195
|
|
|
@@ -337,14 +337,14 @@ var Tabs = function Tabs(props) {
|
|
|
337
337
|
});
|
|
338
338
|
|
|
339
339
|
if (selectedTabDimension > totalDimension) {
|
|
340
|
-
/* let { align } = this.props;
|
|
341
|
-
let newDim = `${remConvert(totalDimension)}rem`;
|
|
342
|
-
let newTabs;
|
|
343
|
-
if (align === 'vertical') {
|
|
344
|
-
newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxWidth: newDim } }));
|
|
345
|
-
} else {
|
|
346
|
-
newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxHeight: newDim } }));
|
|
347
|
-
}
|
|
340
|
+
/* let { align } = this.props;
|
|
341
|
+
let newDim = `${remConvert(totalDimension)}rem`;
|
|
342
|
+
let newTabs;
|
|
343
|
+
if (align === 'vertical') {
|
|
344
|
+
newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxWidth: newDim } }));
|
|
345
|
+
} else {
|
|
346
|
+
newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxHeight: newDim } }));
|
|
347
|
+
}
|
|
348
348
|
mainTabs = newTabs; */
|
|
349
349
|
setMaxDim(totalDimension);
|
|
350
350
|
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
bottom: 0 ;
|
|
32
32
|
height: var(--zd_size10) ;
|
|
33
33
|
border-radius: 100px / 5px;
|
|
34
|
-
box-shadow: var(--
|
|
34
|
+
box-shadow: var(--zd_bs_tabs_shadow);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
[dir=ltr] .alpha::after {
|
|
@@ -123,13 +123,13 @@
|
|
|
123
123
|
.bottomRightToLeft,
|
|
124
124
|
.topRightToLeft,
|
|
125
125
|
.bottomCenterToLeft {
|
|
126
|
-
right: calc(var(--tab_position_gap) * -1);
|
|
126
|
+
right: calc(var(--tab_position_gap) * -1);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.bottomLeftToRight,
|
|
130
130
|
.topLeftToRight,
|
|
131
131
|
.bottomCenterToRight {
|
|
132
|
-
left: calc(var(--tab_position_gap) * -1);
|
|
132
|
+
left: calc(var(--tab_position_gap) * -1);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.hidden {
|
package/lib/v1/Tag/Tag.js
CHANGED
|
@@ -31,16 +31,16 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
31
31
|
|
|
32
32
|
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; }
|
|
33
33
|
|
|
34
|
-
/*
|
|
35
|
-
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
36
|
-
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
37
|
-
* 'pureDotted', 'primaryDotted'] }]
|
|
34
|
+
/*
|
|
35
|
+
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
36
|
+
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
37
|
+
* 'pureDotted', 'primaryDotted'] }]
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
|
-
/*
|
|
41
|
-
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
42
|
-
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
43
|
-
* 'pureDotted', 'primaryDotted'] }]
|
|
40
|
+
/*
|
|
41
|
+
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
42
|
+
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
43
|
+
* 'pureDotted', 'primaryDotted'] }]
|
|
44
44
|
*/
|
|
45
45
|
function Tag(props) {
|
|
46
46
|
var imageURL = props.imageURL,
|
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-198",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"docs": "npm run css:review && react-cli docs",
|
|
32
32
|
"build:lib": "react-cli build:component:cmjs",
|
|
33
33
|
"build:es": "react-cli build:library:es",
|
|
34
|
-
"build": "npm run theme:validate && npm run
|
|
34
|
+
"build": "npm run theme:validate && npm run build:lib && npm run build:es",
|
|
35
35
|
"build:local": " npm run build && npm run rtl && npm run cssVariableConvert",
|
|
36
36
|
"build:watch": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
|
|
37
37
|
"rtl:watch": "react-cli rtl ./src ./es -w",
|
|
@@ -52,15 +52,11 @@
|
|
|
52
52
|
"variable:addignore": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableIgnore.js ./src",
|
|
53
53
|
"variable:convert": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
|
|
54
54
|
"variable:check": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
|
|
55
|
-
"css:review": " npm run dubCheck && npm run css:lineheight:validate && npm run theme:validate
|
|
55
|
+
"css:review": " npm run dubCheck && npm run css:lineheight:validate && npm run theme:validate ",
|
|
56
56
|
"theme:validate": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation validate ./src ./.cli ./.cli/stringContains.js",
|
|
57
57
|
"theme:addignore": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation addignore ./src ./.cli ./.cli/stringContains.js",
|
|
58
58
|
"theme:removeignore": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation removeignore ./src ./.cli",
|
|
59
|
-
"review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js propValidationArg.json "
|
|
60
|
-
"css:boxshadow:validate": "node ./node_modules/@zohodesk-private/node-plugins/es/boxshadow_validation/boxShadowValidation.js validate ./src",
|
|
61
|
-
"css:boxshadow:addignore": "node ./node_modules/@zohodesk-private/node-plugins/es/boxshadow_validation/boxShadowValidation.js addignore ./src",
|
|
62
|
-
"css:boxshadow:removeignore": "node ./node_modules/@zohodesk-private/node-plugins/es/boxshadow_validation/boxShadowValidation.js removeignore ./src",
|
|
63
|
-
"css:boxshadow:addfallback": "node ./node_modules/@zohodesk-private/node-plugins/es/boxshadow_validation/boxShadowValidation.js addfallback ./src"
|
|
59
|
+
"review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js propValidationArg.json "
|
|
64
60
|
},
|
|
65
61
|
"devDependencies": {
|
|
66
62
|
"@testing-library/jest-dom": "^5.11.9",
|
|
@@ -69,7 +65,7 @@
|
|
|
69
65
|
"@testing-library/user-event": "^13.0.10",
|
|
70
66
|
"@zohodesk-private/color-variable-preprocessor": "1.2.0",
|
|
71
67
|
"@zohodesk-private/css-variable-migrator": "^1.0.7",
|
|
72
|
-
"@zohodesk-private/node-plugins": "1.
|
|
68
|
+
"@zohodesk-private/node-plugins": "1.1.8",
|
|
73
69
|
"@zohodesk-private/react-prop-validator": "1.2.3",
|
|
74
70
|
"@zohodesk/a11y": "2.2.1",
|
|
75
71
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
package/propValidationArg.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"inputDir": "./src",
|
|
3
|
-
"outputDir": "./.cli",
|
|
4
|
-
"excludeDir": "./.cli",
|
|
5
|
-
"propUnifiExcludeDir": "./.cli",
|
|
6
|
-
"enable": true,
|
|
7
|
-
"need_report": true,
|
|
8
|
-
"prop_validation_strict_mode": true,
|
|
9
|
-
"prop_validation_log": false,
|
|
10
|
-
"prop_unification_strict_mode": true,
|
|
11
|
-
"prop_unification_log": false
|
|
1
|
+
{
|
|
2
|
+
"inputDir": "./src",
|
|
3
|
+
"outputDir": "./.cli",
|
|
4
|
+
"excludeDir": "./.cli",
|
|
5
|
+
"propUnifiExcludeDir": "./.cli",
|
|
6
|
+
"enable": true,
|
|
7
|
+
"need_report": true,
|
|
8
|
+
"prop_validation_strict_mode": true,
|
|
9
|
+
"prop_validation_log": false,
|
|
10
|
+
"prop_unification_strict_mode": true,
|
|
11
|
+
"prop_unification_log": false
|
|
12
12
|
}
|