@salesforce/design-system-react 0.10.36 → 0.10.40
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/components/builder-header/utilities.d.ts +20 -0
- package/components/combobox/__docs__/__snapshots__/storybook-stories.storyshot +178 -169
- package/components/combobox/__tests__/combobox.browser-test.jsx +4 -5
- package/components/combobox/combobox.d.ts +11 -11
- package/components/combobox/combobox.jsx +20 -18
- package/components/component-docs.json +1 -1
- package/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +93 -89
- package/components/data-table/__examples__/joined-with-page-header.jsx +1 -2
- package/components/data-table/__examples__/resizable-columns.jsx +0 -2
- package/components/data-table/__tests__/data-table.browser-test.jsx +2 -1
- package/components/data-table/component.json +0 -4
- package/components/data-table/index.jsx +26 -9
- package/components/date-picker/__tests__/__snapshots__/datepicker.dom-snapshot-test.jsx.snap +17 -17
- package/components/expression/__docs__/__snapshots__/storybook-stories.storyshot +90 -90
- package/components/global-header/__docs__/__snapshots__/storybook-stories.storyshot +9 -9
- package/components/index.d.ts +2 -0
- package/components/menu-dropdown/__docs__/__snapshots__/storybook-stories.storyshot +552 -26
- package/components/menu-dropdown/__docs__/storybook-stories.jsx +4 -16
- package/components/menu-dropdown/__examples__/checkmark.jsx +48 -31
- package/components/menu-dropdown/__tests__/dropdown.browser-test.jsx +12 -7
- package/components/menu-dropdown/menu-dropdown.jsx +5 -8
- package/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
- package/components/setup-assistant.d.ts +1 -1
- package/components/site-stories.js +0 -4
- package/components/utilities/menu-list/index.jsx +3 -0
- package/components/utilities/menu-list/item.jsx +5 -2
- package/lib/components/builder-header/utilities.d.ts +20 -0
- package/lib/components/combobox/__docs__/__snapshots__/storybook-stories.storyshot +178 -169
- package/lib/components/combobox/__tests__/combobox.browser-test.jsx +4 -5
- package/lib/components/combobox/combobox.d.ts +11 -11
- package/lib/components/combobox/combobox.js +27 -23
- package/lib/components/component-docs.json +1 -1
- package/lib/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +93 -89
- package/lib/components/data-table/__examples__/joined-with-page-header.jsx +1 -2
- package/lib/components/data-table/__examples__/resizable-columns.jsx +0 -2
- package/lib/components/data-table/__tests__/data-table.browser-test.jsx +2 -1
- package/lib/components/data-table/component.json +0 -4
- package/lib/components/data-table/index.js +29 -10
- package/lib/components/date-picker/__tests__/__snapshots__/datepicker.dom-snapshot-test.jsx.snap +17 -17
- package/lib/components/expression/__docs__/__snapshots__/storybook-stories.storyshot +90 -90
- package/lib/components/global-header/__docs__/__snapshots__/storybook-stories.storyshot +9 -9
- package/lib/components/index.d.ts +2 -0
- package/lib/components/menu-dropdown/__docs__/__snapshots__/storybook-stories.storyshot +552 -26
- package/lib/components/menu-dropdown/__docs__/storybook-stories.jsx +4 -16
- package/lib/components/menu-dropdown/__examples__/checkmark.jsx +48 -31
- package/lib/components/menu-dropdown/__tests__/dropdown.browser-test.jsx +12 -7
- package/lib/components/menu-dropdown/menu-dropdown.js +3 -5
- package/lib/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
- package/lib/components/setup-assistant.d.ts +1 -1
- package/lib/components/site-stories.js +0 -3
- package/lib/components/utilities/menu-list/index.js +5 -2
- package/lib/components/utilities/menu-list/item.js +3 -2
- package/lib/package.json +1 -5
- package/module/components/builder-header/utilities.d.ts +20 -0
- package/module/components/combobox/__docs__/__snapshots__/storybook-stories.storyshot +178 -169
- package/module/components/combobox/__tests__/combobox.browser-test.js +5 -6
- package/module/components/combobox/__tests__/combobox.browser-test.js.map +1 -1
- package/module/components/combobox/combobox.d.ts +11 -11
- package/module/components/combobox/combobox.js +27 -23
- package/module/components/combobox/combobox.js.map +1 -1
- package/module/components/component-docs.json +1 -1
- package/module/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +93 -89
- package/module/components/data-table/__examples__/joined-with-page-header.js +1 -2
- package/module/components/data-table/__examples__/joined-with-page-header.js.map +1 -1
- package/module/components/data-table/__examples__/resizable-columns.js +0 -2
- package/module/components/data-table/__examples__/resizable-columns.js.map +1 -1
- package/module/components/data-table/__tests__/data-table.browser-test.js +3 -2
- package/module/components/data-table/__tests__/data-table.browser-test.js.map +1 -1
- package/module/components/data-table/component.json +0 -4
- package/module/components/data-table/index.js +29 -10
- package/module/components/data-table/index.js.map +1 -1
- package/module/components/date-picker/__tests__/__snapshots__/datepicker.dom-snapshot-test.jsx.snap +17 -17
- package/module/components/expression/__docs__/__snapshots__/storybook-stories.storyshot +90 -90
- package/module/components/global-header/__docs__/__snapshots__/storybook-stories.storyshot +9 -9
- package/module/components/index.d.ts +2 -0
- package/module/components/menu-dropdown/__docs__/__snapshots__/storybook-stories.storyshot +552 -26
- package/module/components/menu-dropdown/__docs__/storybook-stories.js +9 -15
- package/module/components/menu-dropdown/__docs__/storybook-stories.js.map +1 -1
- package/module/components/menu-dropdown/__examples__/checkmark.js +53 -33
- package/module/components/menu-dropdown/__examples__/checkmark.js.map +1 -1
- package/module/components/menu-dropdown/__tests__/dropdown.browser-test.js +7 -4
- package/module/components/menu-dropdown/__tests__/dropdown.browser-test.js.map +1 -1
- package/module/components/menu-dropdown/menu-dropdown.js +3 -5
- package/module/components/menu-dropdown/menu-dropdown.js.map +1 -1
- package/module/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
- package/module/components/setup-assistant.d.ts +1 -1
- package/module/components/site-stories.js +0 -3
- package/module/components/site-stories.js.map +1 -1
- package/module/components/utilities/menu-list/index.js +5 -2
- package/module/components/utilities/menu-list/index.js.map +1 -1
- package/module/components/utilities/menu-list/item.js +3 -2
- package/module/components/utilities/menu-list/item.js.map +1 -1
- package/package.json +1 -5
- package/design-system-react-components.js +0 -63056
- package/design-system-react-components.js.map +0 -1
- package/design-system-react-components.min.js +0 -3
- package/design-system-react-components.min.js.LICENSE.txt +0 -83
- package/design-system-react-components.min.js.map +0 -1
- package/design-system-react.js +0 -73841
- package/design-system-react.js.map +0 -1
- package/design-system-react.min.js +0 -3
- package/design-system-react.min.js.LICENSE.txt +0 -83
- package/design-system-react.min.js.map +0 -1
- package/lib/design-system-react-components.min.js.LICENSE.txt +0 -83
- 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,
|
|
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.
|
|
234
|
+
expect(nodes.combobox).attr('aria-expanded', 'false');
|
|
236
235
|
// open
|
|
237
236
|
nodes.input.simulate('click', {});
|
|
238
|
-
expect(nodes.
|
|
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 () {
|
|
@@ -58,16 +58,16 @@ declare module '@salesforce/design-system-react/components/combobox/combobox' {
|
|
|
58
58
|
* _Tested with Mocha testing._
|
|
59
59
|
*/
|
|
60
60
|
events?: Partial<{
|
|
61
|
-
onBlur?: (
|
|
62
|
-
onChange?: (v: any) => any;
|
|
63
|
-
onClose?: (v: any) => any;
|
|
64
|
-
onFocus?: (v: any) => any;
|
|
65
|
-
onOpen?: (v: any) => any;
|
|
66
|
-
onRequestClose?: (v: any) => any;
|
|
67
|
-
onRequestOpen?: (v: any) => any;
|
|
68
|
-
onRequestRemoveSelectedOption?: (v: any) => any;
|
|
69
|
-
onSelect?: (v: any) => any;
|
|
70
|
-
onSubmit?: (v: any) => any;
|
|
61
|
+
onBlur?: (event: React.SyntheticEvent) => any;
|
|
62
|
+
onChange?: (event: React.SyntheticEvent, v: any) => any;
|
|
63
|
+
onClose?: (event: React.SyntheticEvent, v: any) => any;
|
|
64
|
+
onFocus?: (event: React.SyntheticEvent, v: any) => any;
|
|
65
|
+
onOpen?: (event: React.SyntheticEvent, v: any) => any;
|
|
66
|
+
onRequestClose?: (event: React.SyntheticEvent, v: any) => any;
|
|
67
|
+
onRequestOpen?: (event: React.SyntheticEvent, v: any) => any;
|
|
68
|
+
onRequestRemoveSelectedOption?: (event: React.SyntheticEvent, v: any) => any;
|
|
69
|
+
onSelect?: (event: React.SyntheticEvent, v: any) => any;
|
|
70
|
+
onSubmit?: (event: React.SyntheticEvent, v: any) => any;
|
|
71
71
|
}>;
|
|
72
72
|
/**
|
|
73
73
|
* Message to display when the input is in an error state. When this is present, also visually highlights the component as in error. _Tested with snapshot testing._
|
|
@@ -183,7 +183,7 @@ declare module '@salesforce/design-system-react/components/combobox/combobox' {
|
|
|
183
183
|
label?: string;
|
|
184
184
|
subTitle?: string;
|
|
185
185
|
type?: string;
|
|
186
|
-
disabled?:
|
|
186
|
+
disabled?: boolean;
|
|
187
187
|
tooltipContent?: React.ReactNode;
|
|
188
188
|
}>[];
|
|
189
189
|
/**
|
|
@@ -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({
|
|
@@ -5882,7 +5882,7 @@
|
|
|
5882
5882
|
"required": false,
|
|
5883
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
5884
|
"defaultValue": {
|
|
5885
|
-
"value": "{\n\tresizeMode: '
|
|
5885
|
+
"value": "{\n\tresizeMode: 'fit',\n\tdraggingClass: 'slds-table-column-resizer',\n}",
|
|
5886
5886
|
"computed": false
|
|
5887
5887
|
}
|
|
5888
5888
|
}
|