@zohodesk/components 1.0.0-alpha-254 → 1.0.0-alpha-256

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 CHANGED
@@ -32,6 +32,28 @@ In this Package, we Provide Some Basic Components to Build Web App
32
32
  - TextBoxIcon
33
33
  - Tooltip
34
34
 
35
+ # 1.0.0-alpha-256
36
+
37
+ - **Button** - Safari browser focus issue fix and `customProps` validation.
38
+
39
+ - **Switch** - Click handling issue fix.
40
+
41
+ - **Tabs, Tab** - Screen Reader fix.
42
+
43
+ # 1.0.0-alpha-255
44
+
45
+ - **CalenderView, DateTime** - Today and selected date issue fix.
46
+
47
+ - `Accesssility`- Screen Reader fix.
48
+
49
+ # 1.0.0-alpha-254
50
+
51
+ - **AppContainer** - accessibility theme css has been added.
52
+
53
+ - **Button** - `customProps` support.
54
+
55
+ - **DropBox** - Focus scope navigation support.
56
+
35
57
  # 1.0.0-alpha-253
36
58
 
37
59
  - **Tabs, Tooltip** - If condition check added to reduce murphy error logs.
@@ -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
- .default {
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
- .default:disabled {
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: default;
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,5 +11,6 @@ export const defaultProps = {
11
11
  size: 'medium',
12
12
  status: 'none',
13
13
  text: 'Button',
14
- customClass: {}
14
+ customClass: {},
15
+ customProps: {}
15
16
  };
@@ -18,5 +18,6 @@ export const propTypes = {
18
18
  customButton: PropTypes.string,
19
19
  customStatus: PropTypes.string,
20
20
  customStatusSize: PropTypes.string
21
- })
21
+ }),
22
+ customProps: PropTypes.object
22
23
  };
@@ -64,10 +64,11 @@ export default class CalendarView extends React.PureComponent {
64
64
  tdclass += ` ${style.sunday}`;
65
65
  }
66
66
  if (incremleti >= userSeeDay && incremday <= monthEnd) {
67
- if (incremday === parseInt(date) && parseInt(month) === userSeeMonth && parseInt(year) === userSeeYear) {
67
+ if (parseInt(date) === incremday && parseInt(month) === userSeeMonth && parseInt(year) === userSeeYear) {
68
68
  isSelectedDay = true;
69
69
  } else if (todayDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear) {
70
70
  isToday = true;
71
+ isSelectedDay = false;
71
72
  } else {
72
73
  isSelectedDay = false;
73
74
  isToday = false;
@@ -93,17 +94,22 @@ export default class CalendarView extends React.PureComponent {
93
94
  }
94
95
  const prevMonthEnd = getMonthEnd(prevMonth, prevYear);
95
96
  const prevDate = prevMonthEnd - (userSeeDay - 1) + incremleti;
96
- isSelectedDay = prevDate === parseInt(date) && parseInt(month) === prevMonth && parseInt(year) === prevYear ? true : false;
97
+
98
+ // isSelectedDay =
99
+ prevDate === parseInt(date) && parseInt(month) === prevMonth && parseInt(year) === prevYear ? true : false;
100
+ // isToday = prevDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear ? true : false;
101
+
97
102
  output = /*#__PURE__*/React.createElement(Span, {
98
- i: i,
99
- isActive: isSelectedDay,
103
+ i: i
104
+ //isActive={isSelectedDay}
105
+ ,
100
106
  tdclass: `${tdclass} ${style.invalidDate}`,
101
107
  handleSelect: this.handleSelect,
102
108
  incremday: prevDate,
103
109
  userSeeMonth: prevMonth,
104
110
  userSeeYear: prevYear,
105
- dataId: isSelectedDay ? `${dataId}_dateSelected` : `${dataId}_invalidDate`,
106
- isToday: isToday
111
+ dataId: isSelectedDay ? `${dataId}_dateSelected` : `${dataId}_invalidDate`
112
+ // isToday={isToday}
107
113
  });
108
114
  } else if (incremleti > monthEnd) {
109
115
  let nextMonth = userSeeMonth + 1;
@@ -113,17 +119,23 @@ export default class CalendarView extends React.PureComponent {
113
119
  nextYear = userSeeYear + 1;
114
120
  }
115
121
  const nextDate = incremleti - (userSeeDay - 1) - monthEnd;
116
- isSelectedDay = nextDate === parseInt(date) && parseInt(month) === nextMonth && parseInt(year) === nextYear ? true : false;
122
+
123
+ // isSelectedDay =
124
+ nextDate === parseInt(date) && parseInt(month) === nextMonth && parseInt(year) === nextYear ? true : false;
125
+
126
+ // isToday = nextDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear ? true : false;
127
+
117
128
  output = /*#__PURE__*/React.createElement(Span, {
118
- i: i,
119
- isActive: isSelectedDay,
129
+ i: i
130
+ // isActive={isSelectedDay}
131
+ ,
120
132
  tdclass: `${tdclass} ${style.invalidDate}`,
121
133
  handleSelect: this.handleSelect,
122
134
  incremday: nextDate,
123
135
  userSeeMonth: nextMonth,
124
136
  userSeeYear: nextYear,
125
- dataId: isSelectedDay ? `${dataId}_dateSelected` : `${dataId}_invalidDate`,
126
- isToday: isToday
137
+ dataId: isSelectedDay ? `${dataId}_dateSelected` : `${dataId}_invalidDate`
138
+ //isToday={isToday}
127
139
  });
128
140
  } else {
129
141
  output = /*#__PURE__*/React.createElement(Box, {
@@ -134,7 +134,7 @@ export default class DateTime extends React.PureComponent {
134
134
  defaultHour = parseInt(defaultHour);
135
135
  defaultMin = parseInt(defaultMin);
136
136
  }
137
- const dateObj = isDateTimeField ? datetime.toDate(datetime.tz.utcToTz(value, timeZone)) : value ? datetime.toDate(value) : new Date();
137
+ const dateObj = isDateTimeField ? datetime.toDate(datetime.tz.utcToTz(value, timeZone)) : value ? datetime.toDate(value) : todayObj;
138
138
  date = dateObj.getDate();
139
139
  month = dateObj.getMonth();
140
140
  year = dateObj.getFullYear();
@@ -124,6 +124,16 @@
124
124
  color: var(--zdt_datetime_invaliddate_text);
125
125
  }
126
126
 
127
+ .today {
128
+ border: 1px solid var(--zdt_datetime_today_border);
129
+ border-radius: 50%;
130
+ }
131
+
132
+ .today:hover {
133
+ border: 1px solid var(--zdt_datetime_today_border);
134
+ background-color: var(--zdt_datetime_datestr_hover_bg);
135
+ }
136
+
127
137
  .active,
128
138
  .active:hover,
129
139
  .active.today,
@@ -136,15 +146,7 @@
136
146
  border-radius: 50%;
137
147
  }
138
148
 
139
- .today {
140
- border: 1px solid var(--zdt_datetime_today_border);
141
- border-radius: 50%;
142
- }
143
149
 
144
- .today:hover {
145
- border: 1px solid var(--zdt_datetime_today_border);
146
- background-color: var(--zdt_datetime_datestr_hover_bg);
147
- }
148
150
 
149
151
  .timesection {
150
152
  padding-top: var(--zd_size5);
@@ -55,8 +55,7 @@ export default class Switch extends React.Component {
55
55
  "data-title": disabled ? disableTitle : title,
56
56
  "aria-checked": checked,
57
57
  role: "switch",
58
- tabIndex: isReadOnly || disabled ? '-1' : '0',
59
- onClick: !disabled || !isReadOnly ? this.onChange : null
58
+ tabIndex: isReadOnly || disabled ? '-1' : '0'
60
59
  }, SwitchProps), /*#__PURE__*/React.createElement(Box, {
61
60
  className: `${style[size]} ${customSwitchSize}`
62
61
  }, /*#__PURE__*/React.createElement("input", {
@@ -67,8 +66,8 @@ export default class Switch extends React.Component {
67
66
  value: value,
68
67
  checked: checked,
69
68
  disabled: disabled,
70
- readOnly: isReadOnly
71
- // onClick={!disabled || !isReadOnly ? this.onChange : null}
69
+ readOnly: isReadOnly,
70
+ onClick: !disabled || !isReadOnly ? this.onChange : null
72
71
  }), /*#__PURE__*/React.createElement("label", {
73
72
  htmlFor: id,
74
73
  "data-id": dataId,
@@ -78,9 +77,8 @@ export default class Switch extends React.Component {
78
77
  palette: labelPalette,
79
78
  id: id,
80
79
  size: labelSize,
81
- type: "subtitle"
82
- // onClick={!disabled || !isReadOnly ? this.onChange : null}
83
- ,
80
+ type: "subtitle",
81
+ onClick: !disabled || !isReadOnly ? this.onChange : null,
84
82
  customClass: customLabel
85
83
  }, LabelProps)));
86
84
  }
package/es/Tab/Tab.js CHANGED
@@ -80,10 +80,10 @@ export default function Tab(_ref) {
80
80
  adjust: true,
81
81
  href: isLink ? href : undefined,
82
82
  "data-key": id,
83
- role: "tab",
83
+ role: "link",
84
84
  "aria-controls": id,
85
85
  "aria-selected": isActive ? true : false,
86
- tabIndex: isLink ? undefined : isActive && !isDisabled ? '0' : '-1',
86
+ tabIndex: isLink ? undefined : isActive && !isDisabled ? '0' : '0',
87
87
  "aria-label": text ? text : null
88
88
  }, customProps), /*#__PURE__*/React.createElement(Container, {
89
89
  alignBox: "row",
package/es/Tab/Tabs.js CHANGED
@@ -424,16 +424,17 @@ class Tabs extends React.Component {
424
424
  }, classProps));
425
425
  }), React.Children.count(moreTabs) ? /*#__PURE__*/React.createElement(Box, {
426
426
  className: `${tabsStyle.menu} `
427
- }, /*#__PURE__*/React.createElement(Container, {
427
+ }, /*#__PURE__*/React.createElement(Container, _extends({
428
428
  className: `${btnstyle.buttonReset} ${moreButtonClass} ${isPopupOpen ? moreButtonActiveClass : ''}`,
429
429
  align: "both",
430
430
  onClick: this.togglePopup,
431
431
  dataId: "moreTabs",
432
- eleRef: getTargetRef,
432
+ eleRef: getTargetRef
433
+ }, MoreButtonProps, {
433
434
  "aria-label": "MoreTabs",
434
- role: "tab",
435
+ role: "link",
435
436
  tagName: "button"
436
- }, /*#__PURE__*/React.createElement(Icon, {
437
+ }), /*#__PURE__*/React.createElement(Icon, {
437
438
  name: iconName,
438
439
  size: iconSize
439
440
  })), isPopupOpen && /*#__PURE__*/React.createElement(ResponsiveReceiver, {
@@ -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
- .default {
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
- .default:disabled {
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: default;
46
+ composes: native;
44
47
  composes: dotted from '../common/common.module.css';
45
48
  position: relative;
46
49
  font-size: var(--button_font_size);
@@ -17,6 +17,7 @@ var defaultProps = {
17
17
  size: 'medium',
18
18
  status: 'none',
19
19
  text: 'Button',
20
- customClass: {}
20
+ customClass: {},
21
+ customProps: {}
21
22
  };
22
23
  exports.defaultProps = defaultProps;
@@ -25,6 +25,7 @@ var propTypes = {
25
25
  customButton: _propTypes["default"].string,
26
26
  customStatus: _propTypes["default"].string,
27
27
  customStatusSize: _propTypes["default"].string
28
- })
28
+ }),
29
+ customProps: _propTypes["default"].object
29
30
  };
30
31
  exports.propTypes = propTypes;
@@ -87,10 +87,11 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
87
87
  tdclass += " ".concat(_DateTimeModule["default"].sunday);
88
88
  }
89
89
  if (incremleti >= userSeeDay && incremday <= monthEnd) {
90
- if (incremday === parseInt(date) && parseInt(month) === userSeeMonth && parseInt(year) === userSeeYear) {
90
+ if (parseInt(date) === incremday && parseInt(month) === userSeeMonth && parseInt(year) === userSeeYear) {
91
91
  isSelectedDay = true;
92
92
  } else if (todayDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear) {
93
93
  isToday = true;
94
+ isSelectedDay = false;
94
95
  } else {
95
96
  isSelectedDay = false;
96
97
  isToday = false;
@@ -116,17 +117,22 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
116
117
  }
117
118
  var prevMonthEnd = (0, _common.getMonthEnd)(prevMonth, prevYear);
118
119
  var prevDate = prevMonthEnd - (userSeeDay - 1) + incremleti;
119
- isSelectedDay = prevDate === parseInt(date) && parseInt(month) === prevMonth && parseInt(year) === prevYear ? true : false;
120
+
121
+ // isSelectedDay =
122
+ prevDate === parseInt(date) && parseInt(month) === prevMonth && parseInt(year) === prevYear ? true : false;
123
+ // isToday = prevDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear ? true : false;
124
+
120
125
  output = /*#__PURE__*/_react["default"].createElement(Span, {
121
- i: i,
122
- isActive: isSelectedDay,
126
+ i: i
127
+ //isActive={isSelectedDay}
128
+ ,
123
129
  tdclass: "".concat(tdclass, " ").concat(_DateTimeModule["default"].invalidDate),
124
130
  handleSelect: _this2.handleSelect,
125
131
  incremday: prevDate,
126
132
  userSeeMonth: prevMonth,
127
133
  userSeeYear: prevYear,
128
- dataId: isSelectedDay ? "".concat(dataId, "_dateSelected") : "".concat(dataId, "_invalidDate"),
129
- isToday: isToday
134
+ dataId: isSelectedDay ? "".concat(dataId, "_dateSelected") : "".concat(dataId, "_invalidDate")
135
+ // isToday={isToday}
130
136
  });
131
137
  } else if (incremleti > monthEnd) {
132
138
  var nextMonth = userSeeMonth + 1;
@@ -136,17 +142,23 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
136
142
  nextYear = userSeeYear + 1;
137
143
  }
138
144
  var nextDate = incremleti - (userSeeDay - 1) - monthEnd;
139
- isSelectedDay = nextDate === parseInt(date) && parseInt(month) === nextMonth && parseInt(year) === nextYear ? true : false;
145
+
146
+ // isSelectedDay =
147
+ nextDate === parseInt(date) && parseInt(month) === nextMonth && parseInt(year) === nextYear ? true : false;
148
+
149
+ // isToday = nextDate === incremday && todayMonth === userSeeMonth && todayYear === userSeeYear ? true : false;
150
+
140
151
  output = /*#__PURE__*/_react["default"].createElement(Span, {
141
- i: i,
142
- isActive: isSelectedDay,
152
+ i: i
153
+ // isActive={isSelectedDay}
154
+ ,
143
155
  tdclass: "".concat(tdclass, " ").concat(_DateTimeModule["default"].invalidDate),
144
156
  handleSelect: _this2.handleSelect,
145
157
  incremday: nextDate,
146
158
  userSeeMonth: nextMonth,
147
159
  userSeeYear: nextYear,
148
- dataId: isSelectedDay ? "".concat(dataId, "_dateSelected") : "".concat(dataId, "_invalidDate"),
149
- isToday: isToday
160
+ dataId: isSelectedDay ? "".concat(dataId, "_dateSelected") : "".concat(dataId, "_invalidDate")
161
+ //isToday={isToday}
150
162
  });
151
163
  } else {
152
164
  output = /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
@@ -167,7 +167,7 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
167
167
  defaultHour = parseInt(defaultHour);
168
168
  defaultMin = parseInt(defaultMin);
169
169
  }
170
- var dateObj = isDateTimeField ? _datetimejs["default"].toDate(_datetimejs["default"].tz.utcToTz(value, timeZone)) : value ? _datetimejs["default"].toDate(value) : new Date();
170
+ var dateObj = isDateTimeField ? _datetimejs["default"].toDate(_datetimejs["default"].tz.utcToTz(value, timeZone)) : value ? _datetimejs["default"].toDate(value) : todayObj;
171
171
  date = dateObj.getDate();
172
172
  month = dateObj.getMonth();
173
173
  year = dateObj.getFullYear();
@@ -124,6 +124,16 @@
124
124
  color: var(--zdt_datetime_invaliddate_text);
125
125
  }
126
126
 
127
+ .today {
128
+ border: 1px solid var(--zdt_datetime_today_border);
129
+ border-radius: 50%;
130
+ }
131
+
132
+ .today:hover {
133
+ border: 1px solid var(--zdt_datetime_today_border);
134
+ background-color: var(--zdt_datetime_datestr_hover_bg);
135
+ }
136
+
127
137
  .active,
128
138
  .active:hover,
129
139
  .active.today,
@@ -136,15 +146,7 @@
136
146
  border-radius: 50%;
137
147
  }
138
148
 
139
- .today {
140
- border: 1px solid var(--zdt_datetime_today_border);
141
- border-radius: 50%;
142
- }
143
149
 
144
- .today:hover {
145
- border: 1px solid var(--zdt_datetime_today_border);
146
- background-color: var(--zdt_datetime_datestr_hover_bg);
147
- }
148
150
 
149
151
  .timesection {
150
152
  padding-top: var(--zd_size5);
@@ -82,8 +82,7 @@ var Switch = /*#__PURE__*/function (_React$Component) {
82
82
  "data-title": disabled ? disableTitle : title,
83
83
  "aria-checked": checked,
84
84
  role: "switch",
85
- tabIndex: isReadOnly || disabled ? '-1' : '0',
86
- onClick: !disabled || !isReadOnly ? this.onChange : null
85
+ tabIndex: isReadOnly || disabled ? '-1' : '0'
87
86
  }, SwitchProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
88
87
  className: "".concat(_SwitchModule["default"][size], " ").concat(customSwitchSize)
89
88
  }, /*#__PURE__*/_react["default"].createElement("input", {
@@ -94,8 +93,8 @@ var Switch = /*#__PURE__*/function (_React$Component) {
94
93
  value: value,
95
94
  checked: checked,
96
95
  disabled: disabled,
97
- readOnly: isReadOnly
98
- // onClick={!disabled || !isReadOnly ? this.onChange : null}
96
+ readOnly: isReadOnly,
97
+ onClick: !disabled || !isReadOnly ? this.onChange : null
99
98
  }), /*#__PURE__*/_react["default"].createElement("label", {
100
99
  htmlFor: id,
101
100
  "data-id": dataId,
@@ -105,9 +104,8 @@ var Switch = /*#__PURE__*/function (_React$Component) {
105
104
  palette: labelPalette,
106
105
  id: id,
107
106
  size: labelSize,
108
- type: "subtitle"
109
- // onClick={!disabled || !isReadOnly ? this.onChange : null}
110
- ,
107
+ type: "subtitle",
108
+ onClick: !disabled || !isReadOnly ? this.onChange : null,
111
109
  customClass: customLabel
112
110
  }, LabelProps)));
113
111
  }
package/lib/Tab/Tab.js CHANGED
@@ -89,10 +89,10 @@ function Tab(_ref) {
89
89
  adjust: true,
90
90
  href: isLink ? href : undefined,
91
91
  "data-key": id,
92
- role: "tab",
92
+ role: "link",
93
93
  "aria-controls": id,
94
94
  "aria-selected": isActive ? true : false,
95
- tabIndex: isLink ? undefined : isActive && !isDisabled ? '0' : '-1',
95
+ tabIndex: isLink ? undefined : isActive && !isDisabled ? '0' : '0',
96
96
  "aria-label": text ? text : null
97
97
  }, customProps), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
98
98
  alignBox: "row",
package/lib/Tab/Tabs.js CHANGED
@@ -459,16 +459,17 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
459
459
  }, classProps));
460
460
  }), _react["default"].Children.count(moreTabs) ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
461
461
  className: "".concat(_TabsModule["default"].menu, " ")
462
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
462
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
463
463
  className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(moreButtonClass, " ").concat(isPopupOpen ? moreButtonActiveClass : ''),
464
464
  align: "both",
465
465
  onClick: this.togglePopup,
466
466
  dataId: "moreTabs",
467
- eleRef: getTargetRef,
467
+ eleRef: getTargetRef
468
+ }, MoreButtonProps, {
468
469
  "aria-label": "MoreTabs",
469
- role: "tab",
470
+ role: "link",
470
471
  tagName: "button"
471
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
472
+ }), /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
472
473
  name: iconName,
473
474
  size: iconSize
474
475
  })), isPopupOpen && /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-alpha-254",
3
+ "version": "1.0.0-alpha-256",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -48,7 +48,7 @@
48
48
  "velocity-react": "1.4.3",
49
49
  "react-sortable-hoc": "^0.8.3",
50
50
  "@zohodesk/svg": "1.0.0-beta.48",
51
- "@zohodesk/a11y": "1.3.4"
51
+ "@zohodesk/a11y": "1.3.7"
52
52
  },
53
53
  "dependencies": {
54
54
  "hoist-non-react-statics": "3.0.1",
@@ -63,21 +63,36 @@
63
63
  "@zohodesk/virtualizer": "1.0.3",
64
64
  "velocity-react": "1.4.3",
65
65
  "react-sortable-hoc": "^0.8.3",
66
- "@zohodesk/a11y": "1.3.4"
66
+ "@zohodesk/a11y": "1.3.7"
67
67
  },
68
68
  "react-cli": {
69
69
  "preprocess": {
70
70
  "runner": "./preprocess/index.js"
71
71
  },
72
+ "css":{
73
+ "plugins": {
74
+ "hasRTL": true
75
+ },
76
+ "exclude": {
77
+ "rtl": [
78
+ "@zohodesk/icons",
79
+ "@zohodesk/variables"
80
+ ]
81
+ }
82
+ },
72
83
  "docs": {
84
+ "plugins": {
85
+ "hasRTL": true
86
+ },
87
+ "exclude": {
88
+ "rtl": [
89
+ "@zohodesk/icons",
90
+ "@zohodesk/variables"
91
+ ]
92
+ },
73
93
  "disableES5Transpile": true,
74
94
  "componentFolder": "./src",
75
- "cssUniqueness": "false",
76
- "rtlExclude": [
77
- "@zohodesk/icons",
78
- "@zohodesk/variables"
79
- ],
80
- "hasRTL": true
95
+ "cssUniqueness": "false"
81
96
  }
82
97
  }
83
98
  }