@salesforce/design-system-react 0.10.35 → 0.10.39

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.
Files changed (172) hide show
  1. package/assets/styles/table.css +70 -0
  2. package/components/builder-header/utilities.d.ts +20 -0
  3. package/components/card/__docs__/__snapshots__/storybook-stories.storyshot +20 -5
  4. package/components/combobox/__docs__/__snapshots__/storybook-stories.storyshot +178 -169
  5. package/components/combobox/__tests__/combobox.browser-test.jsx +4 -5
  6. package/components/combobox/combobox.jsx +20 -18
  7. package/components/component-docs.json +160 -0
  8. package/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +17997 -11862
  9. package/components/data-table/__docs__/storybook-stories.jsx +5 -1
  10. package/components/data-table/__examples__/advanced-single-select-fixed-header.jsx +1 -0
  11. package/components/data-table/__examples__/basic-fluid-headless.jsx +105 -0
  12. package/components/data-table/__examples__/interactive-elements.jsx +14 -0
  13. package/components/data-table/__examples__/joined-with-page-header.jsx +11 -18
  14. package/components/data-table/__examples__/resizable-columns.jsx +237 -0
  15. package/components/data-table/__tests__/data-table.browser-test.jsx +133 -0
  16. package/components/data-table/column.resizer.d.ts +1 -0
  17. package/components/data-table/component.json +11 -7
  18. package/components/data-table/index.jsx +431 -80
  19. package/components/data-table/private/head.jsx +8 -3
  20. package/components/data-table/private/header-cell.jsx +9 -1
  21. package/components/data-table.d.ts +8 -0
  22. package/components/date-picker/__tests__/__snapshots__/datepicker.dom-snapshot-test.jsx.snap +17 -17
  23. package/components/expression/__docs__/__snapshots__/storybook-stories.storyshot +90 -90
  24. package/components/global-header/__docs__/__snapshots__/storybook-stories.storyshot +9 -9
  25. package/components/index.d.ts +2 -0
  26. package/components/menu-dropdown/__docs__/__snapshots__/storybook-stories.storyshot +552 -26
  27. package/components/menu-dropdown/__docs__/storybook-stories.jsx +4 -16
  28. package/components/menu-dropdown/__examples__/checkmark.jsx +48 -31
  29. package/components/menu-dropdown/__tests__/dropdown.browser-test.jsx +12 -7
  30. package/components/modal/__tests__/modal.browser-test.jsx +4 -10
  31. package/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
  32. package/components/progress-indicator/__docs__/__snapshots__/storybook-stories.storyshot +161 -14
  33. package/components/progress-indicator/private/step-vertical.jsx +28 -2
  34. package/components/setup-assistant/__docs__/__snapshots__/storybook-stories.storyshot +180 -13
  35. package/components/site-stories.js +16 -4
  36. package/components/utilities/menu-list/index.jsx +3 -0
  37. package/components/utilities/menu-list/item.jsx +5 -2
  38. package/components/vertical-navigation/__docs__/__snapshots__/storybook-stories.storyshot +326 -0
  39. package/components/vertical-navigation/__docs__/storybook-stories.jsx +4 -0
  40. package/components/vertical-navigation/__examples__/icons.jsx +70 -0
  41. package/components/vertical-navigation/__examples__/notifications.jsx +66 -0
  42. package/components/vertical-navigation/component.json +8 -0
  43. package/components/vertical-navigation/private/item.d.ts +2 -0
  44. package/components/vertical-navigation/private/item.jsx +23 -1
  45. package/docs/PULL_REQUEST_TEMPLATE.md +1 -1
  46. package/lib/assets/styles/table.css +70 -0
  47. package/lib/components/builder-header/utilities.d.ts +20 -0
  48. package/lib/components/card/__docs__/__snapshots__/storybook-stories.storyshot +20 -5
  49. package/lib/components/combobox/__docs__/__snapshots__/storybook-stories.storyshot +178 -169
  50. package/lib/components/combobox/__tests__/combobox.browser-test.jsx +4 -5
  51. package/lib/components/combobox/combobox.js +27 -23
  52. package/lib/components/component-docs.json +160 -0
  53. package/lib/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +17997 -11862
  54. package/lib/components/data-table/__docs__/storybook-stories.jsx +5 -1
  55. package/lib/components/data-table/__examples__/advanced-single-select-fixed-header.jsx +1 -0
  56. package/lib/components/data-table/__examples__/basic-fluid-headless.jsx +105 -0
  57. package/lib/components/data-table/__examples__/interactive-elements.jsx +14 -0
  58. package/lib/components/data-table/__examples__/joined-with-page-header.jsx +11 -18
  59. package/lib/components/data-table/__examples__/resizable-columns.jsx +237 -0
  60. package/lib/components/data-table/__tests__/data-table.browser-test.jsx +133 -0
  61. package/lib/components/data-table/column.resizer.d.ts +1 -0
  62. package/lib/components/data-table/component.json +11 -7
  63. package/lib/components/data-table/index.js +444 -107
  64. package/lib/components/data-table/private/head.js +8 -3
  65. package/lib/components/data-table/private/header-cell.js +3 -1
  66. package/lib/components/data-table.d.ts +8 -0
  67. package/lib/components/date-picker/__tests__/__snapshots__/datepicker.dom-snapshot-test.jsx.snap +17 -17
  68. package/lib/components/expression/__docs__/__snapshots__/storybook-stories.storyshot +90 -90
  69. package/lib/components/global-header/__docs__/__snapshots__/storybook-stories.storyshot +9 -9
  70. package/lib/components/index.d.ts +2 -0
  71. package/lib/components/menu-dropdown/__docs__/__snapshots__/storybook-stories.storyshot +552 -26
  72. package/lib/components/menu-dropdown/__docs__/storybook-stories.jsx +4 -16
  73. package/lib/components/menu-dropdown/__examples__/checkmark.jsx +48 -31
  74. package/lib/components/menu-dropdown/__tests__/dropdown.browser-test.jsx +12 -7
  75. package/lib/components/modal/__tests__/modal.browser-test.jsx +4 -10
  76. package/lib/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
  77. package/lib/components/progress-indicator/__docs__/__snapshots__/storybook-stories.storyshot +161 -14
  78. package/lib/components/progress-indicator/private/step-vertical.js +18 -4
  79. package/lib/components/setup-assistant/__docs__/__snapshots__/storybook-stories.storyshot +180 -13
  80. package/lib/components/site-stories.js +12 -3
  81. package/lib/components/utilities/menu-list/index.js +5 -2
  82. package/lib/components/utilities/menu-list/item.js +3 -2
  83. package/lib/components/vertical-navigation/__docs__/__snapshots__/storybook-stories.storyshot +326 -0
  84. package/lib/components/vertical-navigation/__docs__/storybook-stories.jsx +4 -0
  85. package/lib/components/vertical-navigation/__examples__/icons.jsx +70 -0
  86. package/lib/components/vertical-navigation/__examples__/notifications.jsx +66 -0
  87. package/lib/components/vertical-navigation/component.json +8 -0
  88. package/lib/components/vertical-navigation/private/item.d.ts +2 -0
  89. package/lib/components/vertical-navigation/private/item.js +5 -1
  90. package/lib/docs/PULL_REQUEST_TEMPLATE.md +1 -1
  91. package/lib/package.json +19 -6
  92. package/module/assets/styles/table.css +70 -0
  93. package/module/components/builder-header/utilities.d.ts +20 -0
  94. package/module/components/card/__docs__/__snapshots__/storybook-stories.storyshot +20 -5
  95. package/module/components/combobox/__docs__/__snapshots__/storybook-stories.storyshot +178 -169
  96. package/module/components/combobox/__tests__/combobox.browser-test.js +5 -6
  97. package/module/components/combobox/__tests__/combobox.browser-test.js.map +1 -1
  98. package/module/components/combobox/combobox.js +27 -23
  99. package/module/components/combobox/combobox.js.map +1 -1
  100. package/module/components/component-docs.json +160 -0
  101. package/module/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +17997 -11862
  102. package/module/components/data-table/__docs__/storybook-stories.js +6 -0
  103. package/module/components/data-table/__docs__/storybook-stories.js.map +1 -1
  104. package/module/components/data-table/__examples__/advanced-single-select-fixed-header.js +1 -0
  105. package/module/components/data-table/__examples__/advanced-single-select-fixed-header.js.map +1 -1
  106. package/module/components/data-table/__examples__/basic-fluid-headless.js +152 -0
  107. package/module/components/data-table/__examples__/basic-fluid-headless.js.map +1 -0
  108. package/module/components/data-table/__examples__/interactive-elements.js +9 -0
  109. package/module/components/data-table/__examples__/interactive-elements.js.map +1 -1
  110. package/module/components/data-table/__examples__/joined-with-page-header.js +9 -20
  111. package/module/components/data-table/__examples__/joined-with-page-header.js.map +1 -1
  112. package/module/components/data-table/__examples__/resizable-columns.js +266 -0
  113. package/module/components/data-table/__examples__/resizable-columns.js.map +1 -0
  114. package/module/components/data-table/__tests__/data-table.browser-test.js +99 -0
  115. package/module/components/data-table/__tests__/data-table.browser-test.js.map +1 -1
  116. package/module/components/data-table/column.resizer.d.ts +1 -0
  117. package/module/components/data-table/component.json +11 -7
  118. package/module/components/data-table/index.js +443 -107
  119. package/module/components/data-table/index.js.map +1 -1
  120. package/module/components/data-table/private/head.js +8 -3
  121. package/module/components/data-table/private/head.js.map +1 -1
  122. package/module/components/data-table/private/header-cell.js +3 -1
  123. package/module/components/data-table/private/header-cell.js.map +1 -1
  124. package/module/components/data-table.d.ts +8 -0
  125. package/module/components/date-picker/__tests__/__snapshots__/datepicker.dom-snapshot-test.jsx.snap +17 -17
  126. package/module/components/expression/__docs__/__snapshots__/storybook-stories.storyshot +90 -90
  127. package/module/components/global-header/__docs__/__snapshots__/storybook-stories.storyshot +9 -9
  128. package/module/components/index.d.ts +2 -0
  129. package/module/components/menu-dropdown/__docs__/__snapshots__/storybook-stories.storyshot +552 -26
  130. package/module/components/menu-dropdown/__docs__/storybook-stories.js +9 -15
  131. package/module/components/menu-dropdown/__docs__/storybook-stories.js.map +1 -1
  132. package/module/components/menu-dropdown/__examples__/checkmark.js +53 -33
  133. package/module/components/menu-dropdown/__examples__/checkmark.js.map +1 -1
  134. package/module/components/menu-dropdown/__tests__/dropdown.browser-test.js +7 -4
  135. package/module/components/menu-dropdown/__tests__/dropdown.browser-test.js.map +1 -1
  136. package/module/components/modal/__tests__/modal.browser-test.js +4 -10
  137. package/module/components/modal/__tests__/modal.browser-test.js.map +1 -1
  138. package/module/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
  139. package/module/components/progress-indicator/__docs__/__snapshots__/storybook-stories.storyshot +161 -14
  140. package/module/components/progress-indicator/private/step-vertical.js +18 -4
  141. package/module/components/progress-indicator/private/step-vertical.js.map +1 -1
  142. package/module/components/setup-assistant/__docs__/__snapshots__/storybook-stories.storyshot +180 -13
  143. package/module/components/site-stories.js +12 -3
  144. package/module/components/site-stories.js.map +1 -1
  145. package/module/components/utilities/menu-list/index.js +5 -2
  146. package/module/components/utilities/menu-list/index.js.map +1 -1
  147. package/module/components/utilities/menu-list/item.js +3 -2
  148. package/module/components/utilities/menu-list/item.js.map +1 -1
  149. package/module/components/vertical-navigation/__docs__/__snapshots__/storybook-stories.storyshot +326 -0
  150. package/module/components/vertical-navigation/__docs__/storybook-stories.js +10 -0
  151. package/module/components/vertical-navigation/__docs__/storybook-stories.js.map +1 -1
  152. package/module/components/vertical-navigation/__examples__/icons.js +149 -0
  153. package/module/components/vertical-navigation/__examples__/icons.js.map +1 -0
  154. package/module/components/vertical-navigation/__examples__/notifications.js +143 -0
  155. package/module/components/vertical-navigation/__examples__/notifications.js.map +1 -0
  156. package/module/components/vertical-navigation/component.json +8 -0
  157. package/module/components/vertical-navigation/private/item.d.ts +2 -0
  158. package/module/components/vertical-navigation/private/item.js +5 -1
  159. package/module/components/vertical-navigation/private/item.js.map +1 -1
  160. package/package.json +19 -6
  161. package/design-system-react-components.js +0 -62702
  162. package/design-system-react-components.js.map +0 -1
  163. package/design-system-react-components.min.js +0 -3
  164. package/design-system-react-components.min.js.LICENSE.txt +0 -83
  165. package/design-system-react-components.min.js.map +0 -1
  166. package/design-system-react.js +0 -73487
  167. package/design-system-react.js.map +0 -1
  168. package/design-system-react.min.js +0 -3
  169. package/design-system-react.min.js.LICENSE.txt +0 -83
  170. package/design-system-react.min.js.map +0 -1
  171. package/lib/design-system-react-components.min.js.LICENSE.txt +0 -83
  172. package/lib/design-system-react.min.js.LICENSE.txt +0 -83
@@ -225,17 +225,16 @@ describe('SLDSCombobox', function describeFunction() {
225
225
  destroyMountNode({ wrapper, mountNode });
226
226
  });
227
227
 
228
- it('has aria-haspopup, role is combobox, aria-expanded is false when closed, aria-expanded is true when open', function () {
228
+ it('has aria-haspopup, aria-expanded is false when closed, aria-expanded is true when open', function () {
229
229
  wrapper = mount(<DemoComponent multiple />, { attachTo: mountNode });
230
230
  const nodes = getNodes({ wrapper });
231
+ expect(nodes.combobox).attr('aria-haspopup', 'listbox');
231
232
  expect(nodes.combobox).attr('role', 'combobox');
232
- expect(nodes.input).attr('aria-haspopup', 'listbox');
233
- expect(nodes.input).attr('role', 'combobox');
234
233
  // closed
235
- expect(nodes.input).attr('aria-expanded', 'false');
234
+ expect(nodes.combobox).attr('aria-expanded', 'false');
236
235
  // open
237
236
  nodes.input.simulate('click', {});
238
- expect(nodes.input).attr('aria-expanded', 'true');
237
+ expect(nodes.combobox).attr('aria-expanded', 'true');
239
238
  });
240
239
 
241
240
  it('menu filters to second item, menu listbox menu item 2 aria-selected is true, input activedescendent has item 2 id, after pressing down arrow, enter selects item 2', function () {
@@ -1075,15 +1075,18 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1075
1075
  }, props.className) // Not in ARIA 1.2 spec, temporary for SLDS styles
1076
1076
  ,
1077
1077
  role: "combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
1078
+ ,
1079
+ "aria-expanded": _this.getIsOpen(),
1080
+ "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1081
+ // used on menu's listbox
1082
+ ,
1083
+ "aria-owns": _this.getIsOpen() ? "".concat(_this.getId(), "-listbox") : undefined // eslint-disable-line jsx-a11y/aria-proptypes
1078
1084
 
1079
1085
  }, /*#__PURE__*/_react.default.createElement(_innerInput.default, _extends({
1080
1086
  "aria-autocomplete": "list",
1081
1087
  "aria-controls": _this.getIsOpen() ? "".concat(_this.getId(), "-listbox") : undefined,
1082
1088
  "aria-activedescendant": _this.state.activeOption ? "".concat(_this.getId(), "-listbox-option-").concat(_this.state.activeOption.id) : null,
1083
1089
  "aria-describedby": _this.getErrorId(),
1084
- "aria-expanded": _this.getIsOpen(),
1085
- "aria-haspopup": "listbox",
1086
- role: "combobox",
1087
1090
  autoComplete: "off",
1088
1091
  className: "slds-combobox__input",
1089
1092
  containerProps: {
@@ -1109,6 +1112,7 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1109
1112
  defaultValue: props.defaultValue,
1110
1113
  readOnly: !!(props.predefinedOptionsOnly && _this.state.activeOption),
1111
1114
  required: props.required,
1115
+ role: "textbox",
1112
1116
  value: props.predefinedOptionsOnly ? _this.state.activeOption && _this.state.activeOption.label || props.value : props.value
1113
1117
  }, userDefinedProps.input)), _this.getDialog({
1114
1118
  menuRenderer: _this.renderMenu({
@@ -1180,16 +1184,15 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1180
1184
  }, props.className) // Not in ARIA 1.2 spec, temporary for SLDS styles
1181
1185
  ,
1182
1186
  role: "combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
1187
+ ,
1188
+ "aria-expanded": _this.getIsOpen(),
1189
+ "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1183
1190
 
1184
1191
  }, /*#__PURE__*/_react.default.createElement(_innerInput.default, _extends({
1185
1192
  "aria-autocomplete": "list",
1186
1193
  "aria-controls": _this.getIsOpen() ? "".concat(_this.getId(), "-listbox") : undefined,
1187
1194
  "aria-activedescendant": _this.state.activeOption ? "".concat(_this.getId(), "-listbox-option-").concat(_this.state.activeOption.id) : null,
1188
1195
  "aria-describedby": _this.getErrorId(),
1189
- "aria-expanded": _this.getIsOpen(),
1190
- "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1191
- ,
1192
- role: "combobox",
1193
1196
  defaultValue: props.defaultValue,
1194
1197
  autoComplete: "off",
1195
1198
  className: "slds-combobox__input",
@@ -1215,6 +1218,7 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1215
1218
  placeholder: labels.placeholder,
1216
1219
  readOnly: !!(props.predefinedOptionsOnly && _this.state.activeOption),
1217
1220
  required: props.required,
1221
+ role: "textbox",
1218
1222
  value: props.predefinedOptionsOnly ? _this.state.activeOption && _this.state.activeOption.label || props.value : props.value
1219
1223
  }, userDefinedProps.input)), _this.getDialog({
1220
1224
  menuRenderer: _this.renderMenu({
@@ -1250,6 +1254,9 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1250
1254
  }, props.className) // Not in ARIA 1.2 spec, temporary for SLDS styles
1251
1255
  ,
1252
1256
  role: "combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
1257
+ ,
1258
+ "aria-expanded": _this.getIsOpen(),
1259
+ "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1253
1260
 
1254
1261
  }, /*#__PURE__*/_react.default.createElement(_innerInput.default, _extends({
1255
1262
  defaultValue: props.defaultValue,
@@ -1257,10 +1264,6 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1257
1264
  "aria-controls": _this.getIsOpen() ? "".concat(_this.getId(), "-listbox") : undefined,
1258
1265
  "aria-activedescendant": _this.state.activeOption ? "".concat(_this.getId(), "-listbox-option-").concat(_this.state.activeOption.id) : null,
1259
1266
  "aria-describedby": _this.getErrorId(),
1260
- "aria-expanded": _this.getIsOpen(),
1261
- "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1262
- ,
1263
- role: "combobox",
1264
1267
  autoComplete: "off",
1265
1268
  className: "slds-combobox__input",
1266
1269
  containerProps: {
@@ -1305,6 +1308,7 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1305
1308
  placeholder: labels.placeholder,
1306
1309
  readOnly: !!(props.predefinedOptionsOnly && _this.state.activeOption) || !!props.selection.length,
1307
1310
  required: props.required,
1311
+ role: "textbox",
1308
1312
  value: props.predefinedOptionsOnly ? _this.state.activeOption && _this.state.activeOption.label || props.value : value
1309
1313
  }, userDefinedProps.input)), _this.getDialog({
1310
1314
  menuRenderer: _this.renderMenu({
@@ -1382,15 +1386,14 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1382
1386
  }, props.className) // Not in ARIA 1.2 spec, temporary for SLDS styles
1383
1387
  ,
1384
1388
  role: "combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
1389
+ ,
1390
+ "aria-expanded": _this.getIsOpen(),
1391
+ "aria-haspopup": "dialog" // eslint-disable-line jsx-a11y/aria-proptypes
1385
1392
 
1386
1393
  }, /*#__PURE__*/_react.default.createElement(_popover.default, popoverProps, /*#__PURE__*/_react.default.createElement(_innerInput.default, {
1387
1394
  "aria-autocomplete": "none",
1388
1395
  "aria-controls": _this.getIsOpen() ? "".concat(_this.getId(), "-popover") : undefined,
1389
1396
  "aria-describedby": _this.getErrorId(),
1390
- "aria-expanded": _this.getIsOpen(),
1391
- "aria-haspopup": "dialog" // eslint-disable-line jsx-a11y/aria-proptypes
1392
- ,
1393
- role: "combobox",
1394
1397
  autoComplete: "off",
1395
1398
  className: "slds-combobox__input",
1396
1399
  containerProps: {
@@ -1414,6 +1417,7 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1414
1417
  placeholder: labels.placeholder,
1415
1418
  readOnly: true,
1416
1419
  required: props.required,
1420
+ role: "textbox",
1417
1421
  value: props.value
1418
1422
  })))), props.errorText && /*#__PURE__*/_react.default.createElement("div", {
1419
1423
  className: "slds-has-error"
@@ -1441,6 +1445,9 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1441
1445
  }, props.className) // Not in ARIA 1.2 spec, temporary for SLDS styles
1442
1446
  ,
1443
1447
  role: "combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
1448
+ ,
1449
+ "aria-expanded": _this.getIsOpen(),
1450
+ "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1444
1451
 
1445
1452
  }, /*#__PURE__*/_react.default.createElement(_innerInput.default, _extends({
1446
1453
  defaultValue: props.defaultValue,
@@ -1448,10 +1455,6 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1448
1455
  "aria-controls": _this.getIsOpen() ? "".concat(_this.getId(), "-listbox") : undefined,
1449
1456
  "aria-activedescendant": _this.state.activeOption ? "".concat(_this.getId(), "-listbox-option-").concat(_this.state.activeOption.id) : null,
1450
1457
  "aria-describedby": _this.getErrorId(),
1451
- "aria-expanded": _this.getIsOpen(),
1452
- "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1453
- ,
1454
- role: "combobox",
1455
1458
  autoComplete: "off",
1456
1459
  className: "slds-combobox__input",
1457
1460
  containerProps: {
@@ -1479,6 +1482,7 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1479
1482
  placeholder: labels.placeholderReadOnly,
1480
1483
  readOnly: true,
1481
1484
  required: props.required,
1485
+ role: "textbox",
1482
1486
  value: value
1483
1487
  }, userDefinedProps.input)), _this.getDialog({
1484
1488
  menuRenderer: _this.renderMenu({
@@ -1538,6 +1542,9 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1538
1542
  }, props.className) // Not in ARIA 1.2 spec, temporary for SLDS styles
1539
1543
  ,
1540
1544
  role: "combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
1545
+ ,
1546
+ "aria-expanded": _this.getIsOpen(),
1547
+ "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1541
1548
 
1542
1549
  }, /*#__PURE__*/_react.default.createElement(_innerInput.default, _extends({
1543
1550
  defaultValue: props.defaultValue,
@@ -1545,10 +1552,6 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1545
1552
  "aria-controls": _this.getIsOpen() ? "".concat(_this.getId(), "-listbox") : undefined,
1546
1553
  "aria-activedescendant": _this.state.activeOption ? "".concat(_this.getId(), "-listbox-option-").concat(_this.state.activeOption.id) : null,
1547
1554
  "aria-describedby": _this.getErrorId(),
1548
- "aria-expanded": _this.getIsOpen(),
1549
- "aria-haspopup": "listbox" // eslint-disable-line jsx-a11y/aria-proptypes
1550
- ,
1551
- role: "combobox",
1552
1555
  autoComplete: "off",
1553
1556
  className: "slds-combobox__input",
1554
1557
  containerProps: {
@@ -1577,6 +1580,7 @@ var Combobox = /*#__PURE__*/function (_React$Component) {
1577
1580
  placeholder: labels.placeholderReadOnly,
1578
1581
  readOnly: true,
1579
1582
  required: props.required,
1583
+ role: "textbox",
1580
1584
  value: inputValue
1581
1585
  }, userDefinedProps.input)), _this.getDialog({
1582
1586
  menuRenderer: _this.renderMenu({
@@ -5251,6 +5251,13 @@
5251
5251
  "data-table": {
5252
5252
  "description": "DataTables support the display of structured data in rows and columns with an HTML table. To sort, filter or paginate the table, simply update the data passed in the items to the table and it will re-render itself appropriately. The table will throw a sort event as needed, and helper components for paging and filtering are coming soon.\n\nNOTE: for horizontal scrolling with `fixedHeader`-enabled DataTables, see the `style` property description",
5253
5253
  "methods": [
5254
+ {
5255
+ "name": "onResize",
5256
+ "docblock": null,
5257
+ "modifiers": [],
5258
+ "params": [],
5259
+ "returns": null
5260
+ },
5254
5261
  {
5255
5262
  "name": "getId",
5256
5263
  "docblock": null,
@@ -5258,6 +5265,27 @@
5258
5265
  "params": [],
5259
5266
  "returns": null
5260
5267
  },
5268
+ {
5269
+ "name": "getFixedHeader",
5270
+ "docblock": null,
5271
+ "modifiers": [],
5272
+ "params": [],
5273
+ "returns": null
5274
+ },
5275
+ {
5276
+ "name": "getKeyboardNavigation",
5277
+ "docblock": null,
5278
+ "modifiers": [],
5279
+ "params": [],
5280
+ "returns": null
5281
+ },
5282
+ {
5283
+ "name": "getFixedLayout",
5284
+ "docblock": null,
5285
+ "modifiers": [],
5286
+ "params": [],
5287
+ "returns": null
5288
+ },
5261
5289
  {
5262
5290
  "name": "getFirstInteractiveElement",
5263
5291
  "docblock": null,
@@ -5310,6 +5338,13 @@
5310
5338
  ],
5311
5339
  "returns": null
5312
5340
  },
5341
+ {
5342
+ "name": "repositionResizers",
5343
+ "docblock": null,
5344
+ "modifiers": [],
5345
+ "params": [],
5346
+ "returns": null
5347
+ },
5313
5348
  {
5314
5349
  "name": "resizeFixedHeaders",
5315
5350
  "docblock": null,
@@ -5341,6 +5376,34 @@
5341
5376
  ],
5342
5377
  "returns": null
5343
5378
  },
5379
+ {
5380
+ "name": "isResizable",
5381
+ "docblock": null,
5382
+ "modifiers": [],
5383
+ "params": [],
5384
+ "returns": null
5385
+ },
5386
+ {
5387
+ "name": "resizeGrips",
5388
+ "docblock": null,
5389
+ "modifiers": [],
5390
+ "params": [],
5391
+ "returns": null
5392
+ },
5393
+ {
5394
+ "name": "enableResize",
5395
+ "docblock": null,
5396
+ "modifiers": [],
5397
+ "params": [],
5398
+ "returns": null
5399
+ },
5400
+ {
5401
+ "name": "disableResize",
5402
+ "docblock": null,
5403
+ "modifiers": [],
5404
+ "params": [],
5405
+ "returns": null
5406
+ },
5344
5407
  {
5345
5408
  "name": "changeActiveCell",
5346
5409
  "docblock": null,
@@ -5395,6 +5458,30 @@
5395
5458
  "params": [],
5396
5459
  "returns": null
5397
5460
  },
5461
+ {
5462
+ "name": "displaceByArrowKey",
5463
+ "docblock": null,
5464
+ "modifiers": [],
5465
+ "params": [
5466
+ {
5467
+ "name": "factor",
5468
+ "type": null
5469
+ }
5470
+ ],
5471
+ "returns": null
5472
+ },
5473
+ {
5474
+ "name": "makeGripVisible",
5475
+ "docblock": null,
5476
+ "modifiers": [],
5477
+ "params": [
5478
+ {
5479
+ "name": "newIndex",
5480
+ "type": null
5481
+ }
5482
+ ],
5483
+ "returns": null
5484
+ },
5398
5485
  {
5399
5486
  "name": "handleKeyDownLeft",
5400
5487
  "docblock": null,
@@ -5423,6 +5510,50 @@
5423
5510
  "params": [],
5424
5511
  "returns": null
5425
5512
  },
5513
+ {
5514
+ "name": "moveNext",
5515
+ "docblock": null,
5516
+ "modifiers": [],
5517
+ "params": [
5518
+ {
5519
+ "name": "event",
5520
+ "type": null
5521
+ },
5522
+ {
5523
+ "name": "rowIndex",
5524
+ "type": null
5525
+ },
5526
+ {
5527
+ "name": "columnIndex",
5528
+ "type": null
5529
+ }
5530
+ ],
5531
+ "returns": null
5532
+ },
5533
+ {
5534
+ "name": "handleNextActionable",
5535
+ "docblock": null,
5536
+ "modifiers": [],
5537
+ "params": [
5538
+ {
5539
+ "name": "event",
5540
+ "type": null
5541
+ }
5542
+ ],
5543
+ "returns": null
5544
+ },
5545
+ {
5546
+ "name": "handleKeyTabPress",
5547
+ "docblock": null,
5548
+ "modifiers": [],
5549
+ "params": [
5550
+ {
5551
+ "name": "event",
5552
+ "type": null
5553
+ }
5554
+ ],
5555
+ "returns": null
5556
+ },
5426
5557
  {
5427
5558
  "name": "registerInteractiveElement",
5428
5559
  "docblock": null,
@@ -5581,6 +5712,13 @@
5581
5712
  "required": true,
5582
5713
  "description": "The collection of items to render in the table. This is an array of objects with each object having keys that correspond with the `property` prop of each `DataTableColumn`.\n\nUse the key `classNameRow` to add a custom class to the item's `<tr>` element."
5583
5714
  },
5715
+ "isHeadless": {
5716
+ "type": {
5717
+ "name": "bool"
5718
+ },
5719
+ "required": false,
5720
+ "description": "Removes the header from the data table. Tested with snapshot testing"
5721
+ },
5584
5722
  "joined": {
5585
5723
  "type": {
5586
5724
  "name": "bool"
@@ -5725,6 +5863,28 @@
5725
5863
  },
5726
5864
  "required": false,
5727
5865
  "description": "A variant which removes horizontal padding. CSS class will be removed if `fixedLayout==true`."
5866
+ },
5867
+ "resizable": {
5868
+ "type": {
5869
+ "name": "bool"
5870
+ },
5871
+ "required": false,
5872
+ "description": "A variant which allows column dividers to be grabbed with the mouse. This feature needs\n`@salesforce/design-system-react/assets/styles/table.css` to be loaded. This prop is in prototype` state. a) It may change within a minor release. (b) Web Content Accessibility Guidelines may not be met. (c) CSS imports may be required.",
5873
+ "defaultValue": {
5874
+ "value": "false",
5875
+ "computed": false
5876
+ }
5877
+ },
5878
+ "resizableOptions": {
5879
+ "type": {
5880
+ "name": "object"
5881
+ },
5882
+ "required": false,
5883
+ "description": "Object with properties to be used in case of resizable: true\n\nresizeMode: It is used to set how the resize method works. Those are the possible values: 'fit', 'flex' and 'overflow'\nonResize: Callback function to be fired when the user has ended dragging a column\n`@salesforce/design-system-react/assets/styles/table.css` to be loaded. This prop is in prototype` state. a) It may change within a minor release. (b) Web Content Accessibility Guidelines may not be met. (c) CSS imports may be required.",
5884
+ "defaultValue": {
5885
+ "value": "{\n\tresizeMode: 'fit',\n\tdraggingClass: 'slds-table-column-resizer',\n}",
5886
+ "computed": false
5887
+ }
5728
5888
  }
5729
5889
  },
5730
5890
  "route": "data-tables",