@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.
- package/assets/styles/table.css +70 -0
- package/components/builder-header/utilities.d.ts +20 -0
- package/components/card/__docs__/__snapshots__/storybook-stories.storyshot +20 -5
- package/components/combobox/__docs__/__snapshots__/storybook-stories.storyshot +178 -169
- package/components/combobox/__tests__/combobox.browser-test.jsx +4 -5
- package/components/combobox/combobox.jsx +20 -18
- package/components/component-docs.json +160 -0
- package/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +17997 -11862
- package/components/data-table/__docs__/storybook-stories.jsx +5 -1
- package/components/data-table/__examples__/advanced-single-select-fixed-header.jsx +1 -0
- package/components/data-table/__examples__/basic-fluid-headless.jsx +105 -0
- package/components/data-table/__examples__/interactive-elements.jsx +14 -0
- package/components/data-table/__examples__/joined-with-page-header.jsx +11 -18
- package/components/data-table/__examples__/resizable-columns.jsx +237 -0
- package/components/data-table/__tests__/data-table.browser-test.jsx +133 -0
- package/components/data-table/column.resizer.d.ts +1 -0
- package/components/data-table/component.json +11 -7
- package/components/data-table/index.jsx +431 -80
- package/components/data-table/private/head.jsx +8 -3
- package/components/data-table/private/header-cell.jsx +9 -1
- package/components/data-table.d.ts +8 -0
- 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/modal/__tests__/modal.browser-test.jsx +4 -10
- package/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
- package/components/progress-indicator/__docs__/__snapshots__/storybook-stories.storyshot +161 -14
- package/components/progress-indicator/private/step-vertical.jsx +28 -2
- package/components/setup-assistant/__docs__/__snapshots__/storybook-stories.storyshot +180 -13
- package/components/site-stories.js +16 -4
- package/components/utilities/menu-list/index.jsx +3 -0
- package/components/utilities/menu-list/item.jsx +5 -2
- package/components/vertical-navigation/__docs__/__snapshots__/storybook-stories.storyshot +326 -0
- package/components/vertical-navigation/__docs__/storybook-stories.jsx +4 -0
- package/components/vertical-navigation/__examples__/icons.jsx +70 -0
- package/components/vertical-navigation/__examples__/notifications.jsx +66 -0
- package/components/vertical-navigation/component.json +8 -0
- package/components/vertical-navigation/private/item.d.ts +2 -0
- package/components/vertical-navigation/private/item.jsx +23 -1
- package/docs/PULL_REQUEST_TEMPLATE.md +1 -1
- package/lib/assets/styles/table.css +70 -0
- package/lib/components/builder-header/utilities.d.ts +20 -0
- package/lib/components/card/__docs__/__snapshots__/storybook-stories.storyshot +20 -5
- 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.js +27 -23
- package/lib/components/component-docs.json +160 -0
- package/lib/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +17997 -11862
- package/lib/components/data-table/__docs__/storybook-stories.jsx +5 -1
- package/lib/components/data-table/__examples__/advanced-single-select-fixed-header.jsx +1 -0
- package/lib/components/data-table/__examples__/basic-fluid-headless.jsx +105 -0
- package/lib/components/data-table/__examples__/interactive-elements.jsx +14 -0
- package/lib/components/data-table/__examples__/joined-with-page-header.jsx +11 -18
- package/lib/components/data-table/__examples__/resizable-columns.jsx +237 -0
- package/lib/components/data-table/__tests__/data-table.browser-test.jsx +133 -0
- package/lib/components/data-table/column.resizer.d.ts +1 -0
- package/lib/components/data-table/component.json +11 -7
- package/lib/components/data-table/index.js +444 -107
- package/lib/components/data-table/private/head.js +8 -3
- package/lib/components/data-table/private/header-cell.js +3 -1
- package/lib/components/data-table.d.ts +8 -0
- 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/modal/__tests__/modal.browser-test.jsx +4 -10
- package/lib/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
- package/lib/components/progress-indicator/__docs__/__snapshots__/storybook-stories.storyshot +161 -14
- package/lib/components/progress-indicator/private/step-vertical.js +18 -4
- package/lib/components/setup-assistant/__docs__/__snapshots__/storybook-stories.storyshot +180 -13
- package/lib/components/site-stories.js +12 -3
- package/lib/components/utilities/menu-list/index.js +5 -2
- package/lib/components/utilities/menu-list/item.js +3 -2
- package/lib/components/vertical-navigation/__docs__/__snapshots__/storybook-stories.storyshot +326 -0
- package/lib/components/vertical-navigation/__docs__/storybook-stories.jsx +4 -0
- package/lib/components/vertical-navigation/__examples__/icons.jsx +70 -0
- package/lib/components/vertical-navigation/__examples__/notifications.jsx +66 -0
- package/lib/components/vertical-navigation/component.json +8 -0
- package/lib/components/vertical-navigation/private/item.d.ts +2 -0
- package/lib/components/vertical-navigation/private/item.js +5 -1
- package/lib/docs/PULL_REQUEST_TEMPLATE.md +1 -1
- package/lib/package.json +19 -6
- package/module/assets/styles/table.css +70 -0
- package/module/components/builder-header/utilities.d.ts +20 -0
- package/module/components/card/__docs__/__snapshots__/storybook-stories.storyshot +20 -5
- 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.js +27 -23
- package/module/components/combobox/combobox.js.map +1 -1
- package/module/components/component-docs.json +160 -0
- package/module/components/data-table/__docs__/__snapshots__/storybook-stories.storyshot +17997 -11862
- package/module/components/data-table/__docs__/storybook-stories.js +6 -0
- package/module/components/data-table/__docs__/storybook-stories.js.map +1 -1
- package/module/components/data-table/__examples__/advanced-single-select-fixed-header.js +1 -0
- package/module/components/data-table/__examples__/advanced-single-select-fixed-header.js.map +1 -1
- package/module/components/data-table/__examples__/basic-fluid-headless.js +152 -0
- package/module/components/data-table/__examples__/basic-fluid-headless.js.map +1 -0
- package/module/components/data-table/__examples__/interactive-elements.js +9 -0
- package/module/components/data-table/__examples__/interactive-elements.js.map +1 -1
- package/module/components/data-table/__examples__/joined-with-page-header.js +9 -20
- package/module/components/data-table/__examples__/joined-with-page-header.js.map +1 -1
- package/module/components/data-table/__examples__/resizable-columns.js +266 -0
- package/module/components/data-table/__examples__/resizable-columns.js.map +1 -0
- package/module/components/data-table/__tests__/data-table.browser-test.js +99 -0
- package/module/components/data-table/__tests__/data-table.browser-test.js.map +1 -1
- package/module/components/data-table/column.resizer.d.ts +1 -0
- package/module/components/data-table/component.json +11 -7
- package/module/components/data-table/index.js +443 -107
- package/module/components/data-table/index.js.map +1 -1
- package/module/components/data-table/private/head.js +8 -3
- package/module/components/data-table/private/head.js.map +1 -1
- package/module/components/data-table/private/header-cell.js +3 -1
- package/module/components/data-table/private/header-cell.js.map +1 -1
- package/module/components/data-table.d.ts +8 -0
- 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/modal/__tests__/modal.browser-test.js +4 -10
- package/module/components/modal/__tests__/modal.browser-test.js.map +1 -1
- package/module/components/portal-settings/__docs__/__snapshots__/storybook-stories.storyshot +6 -6
- package/module/components/progress-indicator/__docs__/__snapshots__/storybook-stories.storyshot +161 -14
- package/module/components/progress-indicator/private/step-vertical.js +18 -4
- package/module/components/progress-indicator/private/step-vertical.js.map +1 -1
- package/module/components/setup-assistant/__docs__/__snapshots__/storybook-stories.storyshot +180 -13
- package/module/components/site-stories.js +12 -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/module/components/vertical-navigation/__docs__/__snapshots__/storybook-stories.storyshot +326 -0
- package/module/components/vertical-navigation/__docs__/storybook-stories.js +10 -0
- package/module/components/vertical-navigation/__docs__/storybook-stories.js.map +1 -1
- package/module/components/vertical-navigation/__examples__/icons.js +149 -0
- package/module/components/vertical-navigation/__examples__/icons.js.map +1 -0
- package/module/components/vertical-navigation/__examples__/notifications.js +143 -0
- package/module/components/vertical-navigation/__examples__/notifications.js.map +1 -0
- package/module/components/vertical-navigation/component.json +8 -0
- package/module/components/vertical-navigation/private/item.d.ts +2 -0
- package/module/components/vertical-navigation/private/item.js +5 -1
- package/module/components/vertical-navigation/private/item.js.map +1 -1
- package/package.json +19 -6
- package/design-system-react-components.js +0 -62702
- 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 -73487
- 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 () {
|
|
@@ -1110,6 +1110,10 @@ class Combobox extends React.Component {
|
|
|
1110
1110
|
)}
|
|
1111
1111
|
// Not in ARIA 1.2 spec, temporary for SLDS styles
|
|
1112
1112
|
role="combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
|
|
1113
|
+
aria-expanded={this.getIsOpen()}
|
|
1114
|
+
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1115
|
+
// used on menu's listbox
|
|
1116
|
+
aria-owns={this.getIsOpen() ? `${this.getId()}-listbox` : undefined} // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1113
1117
|
>
|
|
1114
1118
|
<InnerInput
|
|
1115
1119
|
aria-autocomplete="list"
|
|
@@ -1122,9 +1126,6 @@ class Combobox extends React.Component {
|
|
|
1122
1126
|
: null
|
|
1123
1127
|
}
|
|
1124
1128
|
aria-describedby={this.getErrorId()}
|
|
1125
|
-
aria-expanded={this.getIsOpen()}
|
|
1126
|
-
aria-haspopup="listbox"
|
|
1127
|
-
role="combobox"
|
|
1128
1129
|
autoComplete="off"
|
|
1129
1130
|
className="slds-combobox__input"
|
|
1130
1131
|
containerProps={{
|
|
@@ -1154,6 +1155,7 @@ class Combobox extends React.Component {
|
|
|
1154
1155
|
!!(props.predefinedOptionsOnly && this.state.activeOption)
|
|
1155
1156
|
}
|
|
1156
1157
|
required={props.required}
|
|
1158
|
+
role="textbox"
|
|
1157
1159
|
value={
|
|
1158
1160
|
props.predefinedOptionsOnly
|
|
1159
1161
|
? (this.state.activeOption && this.state.activeOption.label) ||
|
|
@@ -1250,6 +1252,8 @@ class Combobox extends React.Component {
|
|
|
1250
1252
|
)}
|
|
1251
1253
|
// Not in ARIA 1.2 spec, temporary for SLDS styles
|
|
1252
1254
|
role="combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
|
|
1255
|
+
aria-expanded={this.getIsOpen()}
|
|
1256
|
+
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1253
1257
|
>
|
|
1254
1258
|
<InnerInput
|
|
1255
1259
|
aria-autocomplete="list"
|
|
@@ -1262,9 +1266,6 @@ class Combobox extends React.Component {
|
|
|
1262
1266
|
: null
|
|
1263
1267
|
}
|
|
1264
1268
|
aria-describedby={this.getErrorId()}
|
|
1265
|
-
aria-expanded={this.getIsOpen()}
|
|
1266
|
-
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1267
|
-
role="combobox"
|
|
1268
1269
|
defaultValue={props.defaultValue}
|
|
1269
1270
|
autoComplete="off"
|
|
1270
1271
|
className="slds-combobox__input"
|
|
@@ -1294,6 +1295,7 @@ class Combobox extends React.Component {
|
|
|
1294
1295
|
!!(props.predefinedOptionsOnly && this.state.activeOption)
|
|
1295
1296
|
}
|
|
1296
1297
|
required={props.required}
|
|
1298
|
+
role="textbox"
|
|
1297
1299
|
value={
|
|
1298
1300
|
props.predefinedOptionsOnly
|
|
1299
1301
|
? (this.state.activeOption && this.state.activeOption.label) ||
|
|
@@ -1351,6 +1353,8 @@ class Combobox extends React.Component {
|
|
|
1351
1353
|
)}
|
|
1352
1354
|
// Not in ARIA 1.2 spec, temporary for SLDS styles
|
|
1353
1355
|
role="combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
|
|
1356
|
+
aria-expanded={this.getIsOpen()}
|
|
1357
|
+
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1354
1358
|
>
|
|
1355
1359
|
<InnerInput
|
|
1356
1360
|
defaultValue={props.defaultValue}
|
|
@@ -1366,9 +1370,6 @@ class Combobox extends React.Component {
|
|
|
1366
1370
|
: null
|
|
1367
1371
|
}
|
|
1368
1372
|
aria-describedby={this.getErrorId()}
|
|
1369
|
-
aria-expanded={this.getIsOpen()}
|
|
1370
|
-
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1371
|
-
role="combobox"
|
|
1372
1373
|
autoComplete="off"
|
|
1373
1374
|
className="slds-combobox__input"
|
|
1374
1375
|
containerProps={{
|
|
@@ -1419,6 +1420,7 @@ class Combobox extends React.Component {
|
|
|
1419
1420
|
!!props.selection.length
|
|
1420
1421
|
}
|
|
1421
1422
|
required={props.required}
|
|
1423
|
+
role="textbox"
|
|
1422
1424
|
value={
|
|
1423
1425
|
props.predefinedOptionsOnly
|
|
1424
1426
|
? (this.state.activeOption &&
|
|
@@ -1519,6 +1521,8 @@ class Combobox extends React.Component {
|
|
|
1519
1521
|
)}
|
|
1520
1522
|
// Not in ARIA 1.2 spec, temporary for SLDS styles
|
|
1521
1523
|
role="combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
|
|
1524
|
+
aria-expanded={this.getIsOpen()}
|
|
1525
|
+
aria-haspopup="dialog" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1522
1526
|
>
|
|
1523
1527
|
<Popover {...popoverProps}>
|
|
1524
1528
|
<InnerInput
|
|
@@ -1527,9 +1531,6 @@ class Combobox extends React.Component {
|
|
|
1527
1531
|
this.getIsOpen() ? `${this.getId()}-popover` : undefined
|
|
1528
1532
|
}
|
|
1529
1533
|
aria-describedby={this.getErrorId()}
|
|
1530
|
-
aria-expanded={this.getIsOpen()}
|
|
1531
|
-
aria-haspopup="dialog" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1532
|
-
role="combobox"
|
|
1533
1534
|
autoComplete="off"
|
|
1534
1535
|
className="slds-combobox__input"
|
|
1535
1536
|
containerProps={{
|
|
@@ -1555,6 +1556,7 @@ class Combobox extends React.Component {
|
|
|
1555
1556
|
placeholder={labels.placeholder}
|
|
1556
1557
|
readOnly
|
|
1557
1558
|
required={props.required}
|
|
1559
|
+
role="textbox"
|
|
1558
1560
|
value={props.value}
|
|
1559
1561
|
/>
|
|
1560
1562
|
</Popover>
|
|
@@ -1605,6 +1607,8 @@ class Combobox extends React.Component {
|
|
|
1605
1607
|
)}
|
|
1606
1608
|
// Not in ARIA 1.2 spec, temporary for SLDS styles
|
|
1607
1609
|
role="combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
|
|
1610
|
+
aria-expanded={this.getIsOpen()}
|
|
1611
|
+
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1608
1612
|
>
|
|
1609
1613
|
<InnerInput
|
|
1610
1614
|
defaultValue={props.defaultValue}
|
|
@@ -1620,9 +1624,6 @@ class Combobox extends React.Component {
|
|
|
1620
1624
|
: null
|
|
1621
1625
|
}
|
|
1622
1626
|
aria-describedby={this.getErrorId()}
|
|
1623
|
-
aria-expanded={this.getIsOpen()}
|
|
1624
|
-
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1625
|
-
role="combobox"
|
|
1626
1627
|
autoComplete="off"
|
|
1627
1628
|
className="slds-combobox__input"
|
|
1628
1629
|
containerProps={{
|
|
@@ -1648,6 +1649,7 @@ class Combobox extends React.Component {
|
|
|
1648
1649
|
placeholder={labels.placeholderReadOnly}
|
|
1649
1650
|
readOnly
|
|
1650
1651
|
required={props.required}
|
|
1652
|
+
role="textbox"
|
|
1651
1653
|
value={value}
|
|
1652
1654
|
{...userDefinedProps.input}
|
|
1653
1655
|
/>
|
|
@@ -1724,6 +1726,8 @@ class Combobox extends React.Component {
|
|
|
1724
1726
|
)}
|
|
1725
1727
|
// Not in ARIA 1.2 spec, temporary for SLDS styles
|
|
1726
1728
|
role="combobox" // eslint-disable-line jsx-a11y/role-supports-aria-props, jsx-a11y/role-has-required-aria-props
|
|
1729
|
+
aria-expanded={this.getIsOpen()}
|
|
1730
|
+
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1727
1731
|
>
|
|
1728
1732
|
<InnerInput
|
|
1729
1733
|
defaultValue={props.defaultValue}
|
|
@@ -1739,9 +1743,6 @@ class Combobox extends React.Component {
|
|
|
1739
1743
|
: null
|
|
1740
1744
|
}
|
|
1741
1745
|
aria-describedby={this.getErrorId()}
|
|
1742
|
-
aria-expanded={this.getIsOpen()}
|
|
1743
|
-
aria-haspopup="listbox" // eslint-disable-line jsx-a11y/aria-proptypes
|
|
1744
|
-
role="combobox"
|
|
1745
1746
|
autoComplete="off"
|
|
1746
1747
|
className="slds-combobox__input"
|
|
1747
1748
|
containerProps={{
|
|
@@ -1768,6 +1769,7 @@ class Combobox extends React.Component {
|
|
|
1768
1769
|
placeholder={labels.placeholderReadOnly}
|
|
1769
1770
|
readOnly
|
|
1770
1771
|
required={props.required}
|
|
1772
|
+
role="textbox"
|
|
1771
1773
|
value={inputValue}
|
|
1772
1774
|
{...userDefinedProps.input}
|
|
1773
1775
|
/>
|
|
@@ -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",
|