lightning-base-components 1.26.4-alpha → 1.27.2-alpha

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 (393) hide show
  1. package/README.md +91 -91
  2. package/{scopedImports/@salesforce-gate-accordionCloseSingleSection.bc.ltng.js → external/flagStub.js} +1 -1
  3. package/{scopedImports/@salesforce-gate-bc.256.enableInputSearchCommitEvent.js → external/gateStub.js} +1 -1
  4. package/package.json +89 -77
  5. package/scopedImports/@salesforce-internal-core.appVersion.js +1 -1
  6. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.modalTitle.js +1 -1
  7. package/scopedImports/{@salesforce-gate-assertContext.bc.ltng.js → @salesforce-label-LightningPrimitiveColumnSorter.deleteButtonAltText.js} +1 -1
  8. package/src/lightning/accordion/__docs__/accordion.md +2 -2
  9. package/src/lightning/accordion/accordion-section.slds.css +100 -107
  10. package/src/lightning/accordion/accordion.lbc.native.css +0 -1
  11. package/src/lightning/accordion/accordion.lbc.synthetic.css +0 -1
  12. package/src/lightning/accordion/accordion.slds.css +12 -12
  13. package/src/lightning/accordionSection/__docs__/accordionSection.md +1 -0
  14. package/src/lightning/accordionSection/accordion-section.slds.css +100 -107
  15. package/src/lightning/accordionSection/accordionSection.lbc.native.css +0 -2
  16. package/src/lightning/accordionSection/accordionSection.lbc.synthetic.css +1 -2
  17. package/src/lightning/accordionSection/button.slds.css +32 -17
  18. package/src/lightning/alert/__docs__/alert.md +13 -13
  19. package/src/lightning/alert/alert.css +1 -1
  20. package/src/lightning/ariaObserver/__docs__/ariaObserver.md +16 -10
  21. package/src/lightning/avatar/__docs__/avatar.md +2 -2
  22. package/src/lightning/avatar/avatar.css +1 -1
  23. package/src/lightning/avatar/avatar.slds.css +96 -97
  24. package/src/lightning/badge/__docs__/badge.md +3 -3
  25. package/src/lightning/badge/badge.css +1 -1
  26. package/src/lightning/badge/badge.slds.css +71 -56
  27. package/src/lightning/barcodeScanner/__docs__/barcodeScanner.md +9 -9
  28. package/src/lightning/baseCombobox/base-combobox.slds.css +171 -170
  29. package/src/lightning/baseCombobox/baseCombobox.lbc.synthetic.css +0 -1
  30. package/src/lightning/baseCombobox/dropdown.slds.css +405 -388
  31. package/src/lightning/baseCombobox/input-text.slds.css +172 -190
  32. package/src/lightning/baseCombobox/listbox.slds.css +181 -175
  33. package/src/lightning/baseCombobox/spinner.slds.css +327 -326
  34. package/src/lightning/baseComboboxItem/listbox.slds.css +181 -175
  35. package/src/lightning/breadcrumb/__docs__/breadcrumb.md +2 -2
  36. package/src/lightning/breadcrumb/breadcrumb.slds.css +13 -14
  37. package/src/lightning/breadcrumbs/__docs__/breadcrumbs.md +1 -1
  38. package/src/lightning/breadcrumbs/breadcrumbs.css +1 -1
  39. package/src/lightning/breadcrumbs/breadcrumbs.lbc.native.css +1 -1
  40. package/src/lightning/breadcrumbs/breadcrumbs.slds.css +27 -28
  41. package/src/lightning/button/__docs__/button.md +16 -16
  42. package/src/lightning/button/__examples__/accesskey/accesskey.css +5 -3
  43. package/src/lightning/button/__examples__/inverse/inverse.css +2 -2
  44. package/src/lightning/button/button.slds.css +32 -17
  45. package/src/lightning/buttonGroup/__docs__/buttonGroup.md +5 -5
  46. package/src/lightning/buttonGroup/button-group.slds.css +1 -2
  47. package/src/lightning/buttonGroup/buttonGroup.lbc.native.css +1 -1
  48. package/src/lightning/buttonIcon/__docs__/buttonIcon.md +20 -20
  49. package/src/lightning/buttonIcon/button-icon.slds.css +50 -31
  50. package/src/lightning/buttonIconStateful/__docs__/buttonIconStateful.md +12 -12
  51. package/src/lightning/buttonIconStateful/button-icon-stateful.slds.css +33 -40
  52. package/src/lightning/buttonIconStateful/button-icon.slds.css +50 -31
  53. package/src/lightning/buttonIconStateful/button.slds.css +32 -17
  54. package/src/lightning/buttonIconStateful/buttonIconStateful.lbc.synthetic.css +5 -1
  55. package/src/lightning/buttonMenu/__docs__/buttonMenu.md +22 -22
  56. package/src/lightning/buttonMenu/button-icon.slds.css +50 -31
  57. package/src/lightning/buttonMenu/button-menu.slds.css +113 -115
  58. package/src/lightning/buttonMenu/button.slds.css +32 -17
  59. package/src/lightning/buttonMenu/buttonMenu.css +4 -1
  60. package/src/lightning/buttonMenu/buttonMenu.lbc.synthetic.css +1 -3
  61. package/src/lightning/buttonMenu/dropdown.slds.css +405 -388
  62. package/src/lightning/buttonStateful/__docs__/buttonStateful.md +9 -9
  63. package/src/lightning/buttonStateful/button-stateful.slds.css +98 -102
  64. package/src/lightning/buttonStateful/button.slds.css +32 -17
  65. package/src/lightning/calendar/calendar.slds.css +188 -191
  66. package/src/lightning/calendar/dropdown.slds.css +405 -388
  67. package/src/lightning/card/__docs__/card.md +1 -1
  68. package/src/lightning/card/__examples__/custom/custom.css +2 -2
  69. package/src/lightning/card/card.slds.css +137 -175
  70. package/src/lightning/carousel/button-menu.slds.css +113 -115
  71. package/src/lightning/carousel/button.slds.css +32 -17
  72. package/src/lightning/carousel/carousel.js +11 -18
  73. package/src/lightning/carousel/carousel.slds.css +15 -6
  74. package/src/lightning/carouselImage/carouselImage.lbc.native.css +0 -1
  75. package/src/lightning/checkboxGroup/__docs__/checkboxGroup.md +7 -7
  76. package/src/lightning/checkboxGroup/checkbox-group.slds.css +94 -60
  77. package/src/lightning/checkboxGroup/form-element.slds.css +4 -4
  78. package/src/lightning/colorPickerCustom/color-picker-custom.slds.css +212 -211
  79. package/src/lightning/colorPickerCustom/input-text.slds.css +172 -190
  80. package/src/lightning/colorPickerPanel/color-picker-panel.slds.css +22 -23
  81. package/src/lightning/colorPickerPanel/colorPickerPanel.lbc.synthetic.css +4 -2
  82. package/src/lightning/colorPickerPanel/popover.slds.css +127 -128
  83. package/src/lightning/combobox/__docs__/combobox.md +4 -5
  84. package/src/lightning/combobox/combobox.css +1 -2
  85. package/src/lightning/combobox/combobox.lbc.synthetic.css +17 -4
  86. package/src/lightning/combobox/combobox.slds.css +9 -10
  87. package/src/lightning/combobox/form-element.slds.css +4 -4
  88. package/src/lightning/confirm/__docs__/confirm.md +14 -14
  89. package/src/lightning/context/README.md +13 -13
  90. package/src/lightning/datatable/README.md +2 -3
  91. package/src/lightning/datatable/__docs__/datatable.md +82 -77
  92. package/src/lightning/datatable/__docs__/multi-column-sorting.md +4 -4
  93. package/src/lightning/datatable/__requirements__/column_widths_requirements.md +68 -68
  94. package/src/lightning/datatable/__requirements__/requirements.md +1 -1
  95. package/src/lightning/datatable/button-icon.slds.css +50 -31
  96. package/src/lightning/datatable/columns.js +2 -2
  97. package/src/lightning/datatable/datagrid.slds.css +341 -267
  98. package/src/lightning/datatable/datatable.js +6 -1
  99. package/src/lightning/datatable/icon.slds.css +6 -2
  100. package/src/lightning/datatable/input-checkbox.slds.css +130 -124
  101. package/src/lightning/datatable/primitive-cell-factory.slds.css +0 -1
  102. package/src/lightning/datatable/rows.js +1 -3
  103. package/src/lightning/datatable/templates/div/div.css +33 -15
  104. package/src/lightning/datatable/templates/table/table.css +2 -1
  105. package/src/lightning/datepicker/form-element.slds.css +4 -4
  106. package/src/lightning/datepicker/input-text.slds.css +172 -190
  107. package/src/lightning/datetimepicker/form-element.slds.css +4 -4
  108. package/src/lightning/datetimepicker/input-text.slds.css +172 -190
  109. package/src/lightning/dialog/README.md +7 -6
  110. package/src/lightning/dialog/__requirements__/requirements.md +18 -18
  111. package/src/lightning/dualListbox/__docs__/dualListbox.md +24 -24
  112. package/src/lightning/dualListbox/dual-listbox.slds.css +192 -192
  113. package/src/lightning/dualListbox/dualListbox.lbc.native.css +1 -1
  114. package/src/lightning/dualListbox/form-element.slds.css +4 -4
  115. package/src/lightning/dualListbox/listbox.slds.css +181 -175
  116. package/src/lightning/dynamicIcon/__docs__/dynamicIcon.md +6 -6
  117. package/src/lightning/dynamicIcon/dynamic-icon-ellie.slds.css +0 -2
  118. package/src/lightning/dynamicIcon/dynamic-icon-eq.slds.css +0 -2
  119. package/src/lightning/dynamicIcon/dynamic-icon-score.slds.css +3 -5
  120. package/src/lightning/dynamicIcon/dynamic-icon-strength.slds.css +109 -108
  121. package/src/lightning/dynamicIcon/dynamic-icon-trend.slds.css +97 -99
  122. package/src/lightning/dynamicIcon/dynamic-icon-waffle.slds.css +0 -2
  123. package/src/lightning/features/gates/imports.js +6 -1
  124. package/src/lightning/focusTrap/__requirements__/requirements.md +26 -26
  125. package/src/lightning/formattedAddress/__docs__/formattedAddress.md +0 -1
  126. package/src/lightning/formattedAddress/formattedAddress.css +1 -1
  127. package/src/lightning/formattedAddress/formattedAddress.lbc.native.css +1 -1
  128. package/src/lightning/formattedDateTime/__docs__/formattedDateTime.md +11 -11
  129. package/src/lightning/formattedEmail/__docs__/formattedEmail.md +2 -2
  130. package/src/lightning/formattedEmail/formattedEmail.lbc.native.css +1 -2
  131. package/src/lightning/formattedPhone/__docs__/formattedPhone.md +2 -2
  132. package/src/lightning/formattedRichText/__docs__/formattedRichText.md +14 -14
  133. package/src/lightning/formattedRichText/formattedRichText.lbc.native.css +1 -1
  134. package/src/lightning/formattedRichTextRenderer/formattedRichTextRenderer.lbc.native.css +1 -1
  135. package/src/lightning/formattedText/formattedText.lbc.native.css +1 -1
  136. package/src/lightning/formattedTime/__docs__/formattedTime.md +3 -3
  137. package/src/lightning/formattedUrl/__docs__/formattedUrl.md +11 -11
  138. package/src/lightning/groupedCombobox/README.md +33 -34
  139. package/src/lightning/groupedCombobox/form-element.slds.css +4 -4
  140. package/src/lightning/groupedCombobox/grouped-combobox.slds.css +10 -10
  141. package/src/lightning/groupedCombobox/groupedCombobox.lbc.native.css +0 -1
  142. package/src/lightning/groupedCombobox/input-text.slds.css +172 -190
  143. package/src/lightning/helptext/__docs__/helptext.md +5 -5
  144. package/src/lightning/helptext/button-icon.slds.css +50 -31
  145. package/src/lightning/helptext/form-element.slds.css +4 -4
  146. package/src/lightning/helptext/help-text.slds.css +3 -4
  147. package/src/lightning/helptext/helptext.css +1 -1
  148. package/src/lightning/icon/__docs__/icon.md +10 -10
  149. package/src/lightning/icon/__examples__/variants/variants.css +3 -3
  150. package/src/lightning/icon/icon.slds.css +6 -2
  151. package/src/lightning/input/__docs__/input.md +47 -49
  152. package/src/lightning/input/__examples__/checkboxbutton/checkboxbutton.css +6 -6
  153. package/src/lightning/input/__requirements__/requirements.md +49 -49
  154. package/src/lightning/input/form-element.slds.css +4 -4
  155. package/src/lightning/input/input.lbc.synthetic.css +1 -1
  156. package/src/lightning/inputAddress/__docs__/inputAddress.md +26 -27
  157. package/src/lightning/inputAddress/form-element.slds.css +4 -4
  158. package/src/lightning/inputAddress/input-address.slds.css +6 -6
  159. package/src/lightning/inputAddress/input-text.slds.css +172 -190
  160. package/src/lightning/inputLocation/form-element.slds.css +4 -4
  161. package/src/lightning/inputLocation/input-location.slds.css +6 -6
  162. package/src/lightning/inputLocation/input-text.slds.css +172 -190
  163. package/src/lightning/inputName/__docs__/inputName.md +7 -7
  164. package/src/lightning/inputName/form-element.slds.css +4 -4
  165. package/src/lightning/inputName/input-text.slds.css +172 -190
  166. package/src/lightning/inputUtils/validity.js +37 -18
  167. package/src/lightning/interactiveDialogBase/button.slds.css +32 -17
  168. package/src/lightning/interactiveDialogBase/interactive-dialog-base.slds.css +9 -18
  169. package/src/lightning/interactiveDialogBase/interactiveDialogBase.lbc.native.css +1 -1
  170. package/src/lightning/interactiveDialogBase/modal-base.slds.css +198 -194
  171. package/src/lightning/interactiveDialogBase/modal-body.slds.css +33 -34
  172. package/src/lightning/interactiveDialogBase/modal-footer.slds.css +62 -64
  173. package/src/lightning/interactiveDialogBase/modal-header.slds.css +47 -48
  174. package/src/lightning/layout/__docs__/layout.md +13 -13
  175. package/src/lightning/layout/__examples__/pullToBoundary/pullToBoundary.css +1 -1
  176. package/src/lightning/layout/__examples__/simple/simple.css +2 -2
  177. package/src/lightning/layout/__examples__/verticalAlignCenter/verticalAlignCenter.css +3 -3
  178. package/src/lightning/layout/__examples__/verticalAlignStretch/verticalAlignStretch.css +3 -3
  179. package/src/lightning/layout/layout.css +1 -1
  180. package/src/lightning/layout/layout.lbc.native.css +1 -1
  181. package/src/lightning/layout/layout.lbc.synthetic.css +1 -2
  182. package/src/lightning/layoutItem/layoutItem.css +1 -1
  183. package/src/lightning/lookupAddress/form-element.slds.css +4 -4
  184. package/src/lightning/lookupAddress/listbox.slds.css +181 -175
  185. package/src/lightning/lookupAddress/lookup-address.slds.css +4 -4
  186. package/src/lightning/lookupAddress/lookupAddress.css +0 -1
  187. package/src/lightning/lookupAddress/lookupAddress.lbc.native.css +0 -1
  188. package/src/lightning/mediaUtils/__docs__/mediaUtils.md +20 -17
  189. package/src/lightning/menuDivider/menu-divider.slds.css +8 -8
  190. package/src/lightning/menuItem/menu-item.slds.css +94 -82
  191. package/src/lightning/menuItem/menuItem.lbc.synthetic.css +1 -1
  192. package/src/lightning/menuSubheader/menu-subheader.slds.css +13 -13
  193. package/src/lightning/modal/__docs__/migration.md +95 -91
  194. package/src/lightning/modal/__docs__/modal.md +28 -22
  195. package/src/lightning/modal/__modalUtils__/modalContainerTestMethods.js +14 -21
  196. package/src/lightning/modalBase/modal-base.slds.css +198 -194
  197. package/src/lightning/modalBase/modalBase.lbc.synthetic.css +2 -2
  198. package/src/lightning/modalBody/__docs__/modalBody.md +0 -1
  199. package/src/lightning/modalBody/modal-body.slds.css +33 -34
  200. package/src/lightning/modalFooter/__docs__/modalFooter.md +1 -2
  201. package/src/lightning/modalFooter/modal-footer.slds.css +62 -64
  202. package/src/lightning/modalHeader/__docs__/modalHeader.md +1 -0
  203. package/src/lightning/modalHeader/modal-header.slds.css +47 -48
  204. package/src/lightning/modalHeader/modalHeader.css +2 -1
  205. package/src/lightning/multiColumnSortingModal/multiColumnSortingModal.css +2 -3
  206. package/src/lightning/navigation/__docs__/navigation.md +2 -3
  207. package/src/lightning/overlay/__docs__/overlay.md +3 -3
  208. package/src/lightning/overlay/__examples__/basic/basic.css +2 -2
  209. package/src/lightning/picklist/README.md +9 -9
  210. package/src/lightning/pill/__docs__/pill.md +3 -3
  211. package/src/lightning/pill/avatar.slds.css +96 -97
  212. package/src/lightning/pill/link.css +1 -1
  213. package/src/lightning/pill/pill.slds.css +154 -153
  214. package/src/lightning/pill/plain.css +1 -1
  215. package/src/lightning/pill/plainLink.css +1 -1
  216. package/src/lightning/pillContainer/__docs__/pillContainer.md +16 -15
  217. package/src/lightning/pillContainer/barePillContainer.lbc.native.css +1 -1
  218. package/src/lightning/pillContainer/button.slds.css +32 -17
  219. package/src/lightning/pillContainer/listbox.slds.css +181 -175
  220. package/src/lightning/pillContainer/pill-container.slds.css +34 -34
  221. package/src/lightning/pillContainer/pill.slds.css +154 -153
  222. package/src/lightning/pillContainer/standardPillContainer.css +1 -1
  223. package/src/lightning/popup/README.md +3 -3
  224. package/src/lightning/popup/__requirements__/requirements.md +25 -25
  225. package/src/lightning/popup/popover.slds.css +127 -128
  226. package/src/lightning/primitiveBubble/tooltip.slds.css +105 -99
  227. package/src/lightning/primitiveButton/primitiveButton.js +0 -21
  228. package/src/lightning/primitiveCellButton/primitiveCellButton.js +6 -1
  229. package/src/lightning/primitiveCellCheckbox/checkbox.css +0 -1
  230. package/src/lightning/primitiveCellCheckbox/checkbox.lbc.native.css +1 -1
  231. package/src/lightning/primitiveCellCheckbox/input-checkbox.slds.css +130 -124
  232. package/src/lightning/primitiveCellCheckbox/input-radio-group.slds.css +6 -5
  233. package/src/lightning/primitiveCellCheckbox/primitiveCellCheckbox.js +13 -8
  234. package/src/lightning/primitiveCellCheckbox/radio.lbc.native.css +1 -1
  235. package/src/lightning/primitiveCellFactory/button-icon.slds.css +50 -31
  236. package/src/lightning/primitiveCellFactory/primitive-cell-factory.slds.css +0 -1
  237. package/src/lightning/primitiveCellFactory/primitiveCellFactory.js +7 -11
  238. package/src/lightning/primitiveColorpickerButton/color-picker-button.slds.css +69 -70
  239. package/src/lightning/primitiveColumnSorter/form-element.slds.css +4 -4
  240. package/src/lightning/primitiveColumnSorter/input-radio-group.slds.css +6 -5
  241. package/src/lightning/primitiveColumnSorter/primitive-column-sorter.slds.css +0 -1
  242. package/src/lightning/primitiveColumnSorter/primitiveColumnSorter.css +13 -7
  243. package/src/lightning/primitiveColumnSorter/primitiveColumnSorter.html +1 -1
  244. package/src/lightning/primitiveColumnSorter/primitiveColumnSorter.js +2 -0
  245. package/src/lightning/primitiveCoordinateItem/__examples__/basic/basic.js +1 -2
  246. package/src/lightning/primitiveCoordinateItem/button.slds.css +32 -17
  247. package/src/lightning/primitiveCoordinateItem/coordinate-item.slds.css +2 -1
  248. package/src/lightning/primitiveCoordinateItem/primitiveCoordinateItem.css +1 -1
  249. package/src/lightning/primitiveCustomCell/primitiveCustomCell.js +8 -7
  250. package/src/lightning/primitiveDatatableCell/primitiveDatatableCell.js +4 -2
  251. package/src/lightning/primitiveDatatableIeditPanel/popover.slds.css +127 -128
  252. package/src/lightning/primitiveDatatableStatusBar/button.slds.css +32 -17
  253. package/src/lightning/primitiveDatatableStatusBar/form-footer.slds.css +32 -32
  254. package/src/lightning/primitiveDatatableStatusBar/primitiveDatatableStatusBar.css +1 -1
  255. package/src/lightning/primitiveDatatableStatusBar/primitiveDatatableStatusBar.js +3 -1
  256. package/src/lightning/primitiveDatatableTooltip/button-icon.slds.css +50 -31
  257. package/src/lightning/primitiveDatatableTooltip/button.slds.css +32 -17
  258. package/src/lightning/primitiveDatatableTooltip/form-footer.slds.css +32 -32
  259. package/src/lightning/primitiveDatatableTooltip/primitiveDatatableTooltip.css +1 -1
  260. package/src/lightning/primitiveDatatableTooltip/primitiveDatatableTooltip.js +5 -6
  261. package/src/lightning/primitiveDatatableTooltip/primitiveDatatableTooltip.lbc.native.css +1 -1
  262. package/src/lightning/primitiveDatatableTooltipBubble/popover.slds.css +127 -128
  263. package/src/lightning/primitiveDatatableTooltipBubble/primitive-datatable-tooltip-bubble.slds.css +9 -7
  264. package/src/lightning/primitiveDatatableTooltipBubble/primitiveDatatableTooltipBubble.css +1 -1
  265. package/src/lightning/primitiveHeaderActions/primitiveHeaderActions.lbc.native.css +1 -1
  266. package/src/lightning/primitiveHeaderFactory/form-element.slds.css +4 -4
  267. package/src/lightning/primitiveHeaderFactory/input-checkbox.slds.css +130 -124
  268. package/src/lightning/primitiveHeaderFactory/primitive-header-factory.slds.css +9 -4
  269. package/src/lightning/primitiveHeaderFactory/selectableHeader.css +1 -1
  270. package/src/lightning/primitiveHeaderFactory/selectableHeader.lbc.native.css +1 -1
  271. package/src/lightning/primitiveHeaderFactory/sortableHeader.lbc.synthetic.css +9 -3
  272. package/src/lightning/primitiveHeaderFactory/sortingMenuHeader.lbc.native.css +0 -1
  273. package/src/lightning/primitiveIcon/icon.slds.css +6 -2
  274. package/src/lightning/primitiveIcon/primitiveIcon.js +10 -2
  275. package/src/lightning/primitiveInputCheckbox/form-element.slds.css +4 -4
  276. package/src/lightning/primitiveInputCheckbox/input-checkbox.slds.css +130 -124
  277. package/src/lightning/primitiveInputCheckboxButton/form-element.slds.css +4 -4
  278. package/src/lightning/primitiveInputCheckboxButton/input-checkbox-button.slds.css +90 -79
  279. package/src/lightning/primitiveInputColor/form-element.slds.css +4 -4
  280. package/src/lightning/primitiveInputColor/input-color.slds.css +27 -28
  281. package/src/lightning/primitiveInputColor/input-text.slds.css +172 -190
  282. package/src/lightning/primitiveInputColor/primitiveInputColor.css +1 -1
  283. package/src/lightning/primitiveInputFile/button.slds.css +32 -17
  284. package/src/lightning/primitiveInputFile/form-element.slds.css +4 -4
  285. package/src/lightning/primitiveInputFile/input-file.slds.css +58 -59
  286. package/src/lightning/primitiveInputSimple/form-element.slds.css +4 -4
  287. package/src/lightning/primitiveInputSimple/input-text.slds.css +172 -190
  288. package/src/lightning/primitiveInputSimple/primitiveInputSimple.lbc.synthetic.css +1 -1
  289. package/src/lightning/primitiveInputToggle/form-element.slds.css +4 -4
  290. package/src/lightning/primitiveInputToggle/input-toggle.slds.css +134 -118
  291. package/src/lightning/primitiveResizeHandler/primitive-resize-handler.slds.css +0 -1
  292. package/src/lightning/primitiveTreegridCellToggle/button-icon.slds.css +50 -31
  293. package/src/lightning/progressBar/progress-bar.slds.css +38 -39
  294. package/src/lightning/progressIndicator/__docs__/progressIndicator.md +2 -2
  295. package/src/lightning/progressIndicator/progress-indicator.slds.css +65 -65
  296. package/src/lightning/progressIndicator/progressIndicator.css +1 -1
  297. package/src/lightning/progressIndicator/progressIndicator.lbc.native.css +1 -1
  298. package/src/lightning/progressRing/progress-ring.slds.css +112 -112
  299. package/src/lightning/progressStep/progress-step.slds.css +223 -203
  300. package/src/lightning/prompt/__docs__/prompt.md +14 -14
  301. package/src/lightning/prompt/form-element.slds.css +4 -4
  302. package/src/lightning/prompt/input-text.slds.css +172 -190
  303. package/src/lightning/prompt/prompt.css +1 -1
  304. package/src/lightning/radioGroup/__docs__/radioGroup.md +6 -6
  305. package/src/lightning/radioGroup/form-element.slds.css +4 -4
  306. package/src/lightning/radioGroup/input-radio-group.slds.css +6 -5
  307. package/src/lightning/relativeDateTime/__docs__/relativeDateTime.md +10 -10
  308. package/src/lightning/select/__docs__/select.md +5 -5
  309. package/src/lightning/select/form-element.slds.css +4 -4
  310. package/src/lightning/select/select.css +1 -1
  311. package/src/lightning/select/select.html +6 -3
  312. package/src/lightning/select/select.lbc.native.css +2 -2
  313. package/src/lightning/select/select.slds.css +117 -115
  314. package/src/lightning/sldsCommon/sldsCommon.css +0 -1
  315. package/src/lightning/sldsFormElementUtils/sldsFormElementUtils.css +63 -29
  316. package/src/lightning/sldsMediaObject/sldsMediaObject.css +1 -3
  317. package/src/lightning/sldsUtilsAlignment/sldsUtilsAlignment.css +0 -1
  318. package/src/lightning/sldsUtilsBorders/sldsUtilsBorders.css +8 -5
  319. package/src/lightning/sldsUtilsBox/sldsUtilsBox.css +0 -1
  320. package/src/lightning/sldsUtilsFloats/sldsUtilsFloats.css +1 -2
  321. package/src/lightning/sldsUtilsGrid/sldsUtilsGrid.css +84 -85
  322. package/src/lightning/sldsUtilsHyphenation/sldsUtilsHyphenation.css +0 -1
  323. package/src/lightning/sldsUtilsLineClamp/sldsUtilsLineClamp.css +0 -1
  324. package/src/lightning/sldsUtilsMargin/sldsUtilsMargin.css +0 -1
  325. package/src/lightning/sldsUtilsPadding/sldsUtilsPadding.css +0 -1
  326. package/src/lightning/sldsUtilsPosition/sldsUtilsPosition.css +4 -5
  327. package/src/lightning/sldsUtilsSizing/sldsUtilsSizing.css +0 -1
  328. package/src/lightning/sldsUtilsThemes/sldsUtilsThemes.css +47 -23
  329. package/src/lightning/sldsUtilsTruncation/sldsUtilsTruncation.css +0 -1
  330. package/src/lightning/sldsUtilsVisibility/sldsUtilsVisibility.css +0 -1
  331. package/src/lightning/slider/README.md +4 -4
  332. package/src/lightning/slider/form-element.slds.css +4 -4
  333. package/src/lightning/slider/slider.slds.css +106 -92
  334. package/src/lightning/spinner/__examples__/if/if.css +1 -1
  335. package/src/lightning/spinner/__examples__/sizes/sizes.css +1 -1
  336. package/src/lightning/spinner/spinner.slds.css +327 -326
  337. package/src/lightning/stackedTab/stacked-tab.slds.css +8 -7
  338. package/src/lightning/stackedTab/stackedTab.css +1 -1
  339. package/src/lightning/stackedTab/stackedTab.lbc.native.css +1 -1
  340. package/src/lightning/stackedTabset/stacked-tabset.slds.css +8 -8
  341. package/src/lightning/stackedTabset/stackedTabset.css +1 -1
  342. package/src/lightning/stackedTabset/stackedTabset.lbc.native.css +1 -1
  343. package/src/lightning/tab/tab.css +1 -1
  344. package/src/lightning/tab/tab.slds.css +44 -51
  345. package/src/lightning/tabBar/tab-bar.slds.css +405 -284
  346. package/src/lightning/tabset/__docs__/tabset.md +4 -4
  347. package/src/lightning/tabset/tabset.slds.css +12 -12
  348. package/src/lightning/textarea/__docs__/textarea.md +7 -7
  349. package/src/lightning/textarea/form-element.slds.css +4 -4
  350. package/src/lightning/textarea/textarea.js +22 -0
  351. package/src/lightning/textarea/textarea.lbc.synthetic.css +0 -1
  352. package/src/lightning/textarea/textarea.slds.css +124 -99
  353. package/src/lightning/tile/tile.slds.css +0 -1
  354. package/src/lightning/timepicker/form-element.slds.css +4 -4
  355. package/src/lightning/timepicker/timepicker.slds.css +13 -14
  356. package/src/lightning/toast/__docs__/toast.md +19 -19
  357. package/src/lightning/toast/button-icon.slds.css +50 -31
  358. package/src/lightning/toast/icon.slds.css +6 -2
  359. package/src/lightning/toast/toast.lbc.synthetic.css +12 -6
  360. package/src/lightning/toast/toast.slds.css +90 -90
  361. package/src/lightning/toastContainer/__docs__/toastContainer.md +4 -1
  362. package/src/lightning/toastContainer/toast.slds.css +90 -90
  363. package/src/lightning/toastContainer/toastContainer.lbc.synthetic.css +6 -6
  364. package/src/lightning/tree/tree.slds.css +1 -1
  365. package/src/lightning/treeGrid/__docs__/treeGrid.md +128 -64
  366. package/src/lightning/treeGrid/treeGrid.js +3 -1
  367. package/src/lightning/treeItem/calendar.slds.css +188 -191
  368. package/src/lightning/verticalNavigation/__docs__/verticalNavigation.md +5 -5
  369. package/src/lightning/verticalNavigation/verticalNavigation.css +1 -1
  370. package/src/lightning/verticalNavigationItemBadge/badge.slds.css +71 -56
  371. package/src/lightning/verticalNavigationOverflow/button.slds.css +32 -17
  372. package/src/lightning/verticalNavigationOverflow/vertical-navigation-section.slds.css +8 -8
  373. package/src/lightning/verticalNavigationOverflow/verticalNavigationOverflow.css +1 -1
  374. package/src/lightning/verticalNavigationOverflow/verticalNavigationOverflow.lbc.synthetic.css +1 -1
  375. package/src/lightning/verticalNavigationSection/vertical-navigation-section.slds.css +8 -8
  376. package/src/lightning/verticalNavigationSection/verticalNavigationSection.css +1 -1
  377. package/src/lightning/verticalNavigationSection/verticalNavigationSection.lbc.synthetic.css +1 -1
  378. package/scopedImports/@salesforce-gate-bc.256.enableReactiveCarousel.js +0 -6
  379. package/scopedImports/@salesforce-gate-colorIconsMenuItem.bc.ltng.js +0 -6
  380. package/scopedImports/@salesforce-gate-datatableIconSrc.bc.ltng.js +0 -6
  381. package/scopedImports/@salesforce-gate-formattedDateTimeDateStyle.bc.ltng.js +0 -6
  382. package/scopedImports/@salesforce-gate-groupedComboboxVariants.bc.ltng.js +0 -6
  383. package/scopedImports/@salesforce-gate-inputErrorIcon.ce.ltng.js +0 -6
  384. package/scopedImports/@salesforce-gate-lookups.lookupMetadataLayoutServiceBased.js +0 -6
  385. package/scopedImports/@salesforce-gate-modalReduceMotionFix.bc.ltng.js +0 -6
  386. package/scopedImports/@salesforce-gate-overlaySldsScopeClass.bc.ltng.js +0 -6
  387. package/scopedImports/@salesforce-gate-primitiveThemeProviderDisabled.bc.ltng.js +0 -6
  388. package/scopedImports/@salesforce-gate-recordFormFieldCaching.bc.ltng.js +0 -6
  389. package/scopedImports/@salesforce-gate-regexCustomElementCheck.bc.ltng.js +0 -6
  390. package/scopedImports/@salesforce-gate-sanitizeURL.bc.ltng.js +0 -6
  391. package/scopedImports/@salesforce-gate-treeGridCustomTypes.bc.ltng.js +0 -6
  392. package/scopedImports/@salesforce-gate-treeGridStaticCustomTypes.bc.ltng.js +0 -6
  393. package/scopedImports/@salesforce-gate-treeItemEndIcon.bc.ltng.js +0 -6
@@ -1,36 +1,36 @@
1
1
  .top,
2
- :host([data-render-mode="shadow"]) .top {
2
+ :host([data-render-mode='shadow']) .top {
3
3
  top: 0;
4
4
  bottom: unset;
5
5
  }
6
6
 
7
7
  .bottom,
8
- :host([data-render-mode="shadow"]) .bottom {
8
+ :host([data-render-mode='shadow']) .bottom {
9
9
  bottom: 0;
10
10
  top: unset;
11
11
  }
12
12
 
13
13
  .left,
14
- :host([data-render-mode="shadow"]) .left {
14
+ :host([data-render-mode='shadow']) .left {
15
15
  left: 0;
16
16
  right: auto;
17
17
  }
18
18
 
19
19
  .right,
20
- :host([data-render-mode="shadow"]) .right {
20
+ :host([data-render-mode='shadow']) .right {
21
21
  left: auto;
22
22
  right: 0;
23
23
  }
24
24
 
25
25
  .center,
26
- :host([data-render-mode="shadow"]) .center {
26
+ :host([data-render-mode='shadow']) .center {
27
27
  transform: translate(50%);
28
28
  right: 50%;
29
29
  }
30
30
 
31
31
  @media (max-width: 30rem) {
32
32
  .center,
33
- :host([data-render-mode="shadow"]) .center {
33
+ :host([data-render-mode='shadow']) .center {
34
34
  transform: none;
35
35
  right: 0;
36
36
  left: 0;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  :host([data-render-mode="shadow"]) .slds-tree-container,:host([data-render-mode="shadow"])
6
6
  .slds-tree_container {
7
- min-width: calc(var(--slds-g-sizing-12) + var(--slds-g-sizing-9) + var(--slds-g-sizing-3)) ;
7
+ min-width: calc(var(--slds-g-sizing-12) + var(--slds-g-sizing-9) + var(--slds-g-sizing-3));
8
8
  max-width: var(--slds-c-tree-sizing-max-width, 25rem);
9
9
  }
10
10
  :host([data-render-mode="shadow"]) .slds-tree-container > .slds-text-heading_label,:host([data-render-mode="shadow"])
@@ -26,25 +26,32 @@ the `tel:` URL scheme by specifying the `phone` type. The default type is
26
26
  This component implements the
27
27
  [tree grid](https://www.lightningdesignsystem.com/components/tree-grid/) blueprint in the Lightning Design System.
28
28
 
29
- Inline editing and sorting of columns are not supported. Supported features
30
- include:
29
+ These `lightning-datatable` features aren't available on `lightning-tree-grid`:
31
30
 
32
- - Displaying and formatting of columns with appropriate data types
33
- - Header-level actions
34
- - Row-level actions
35
- - Resizing of columns
36
- - Selecting of rows
37
- - Sorting of columns by ascending and descending order
38
- - Text wrapping and clipping
31
+ - Infinite scrolling
32
+ - Inline editing
33
+ - Passing in a fixed width value to a column
34
+ - Specifying the maximum number of rows that can be selected
35
+ - Handling of `resize` event when a column is resized
39
36
 
40
- This component provides styling for up to 20 nested levels. For tree grids that require more than 20 nested levels,
41
- build your own component.
37
+ Supported features include:
42
38
 
43
- A checkbox is displayed by default in the first column. Set the `hide-checkbox-column` attribute
44
- to `true` to remove the checkbox.
39
+ - Displaying and formatting of columns with appropriate data types
40
+ - Custom data types
41
+ - Header-level actions
42
+ - Row-level actions
43
+ - Resizing of columns
44
+ - Selecting of rows
45
+ - Sorting of columns by ascending and descending order
46
+ - Text wrapping and clipping
47
+ - Row numbering column
48
+ - Cell content alignment
45
49
 
46
- Initialize your tree grid data using the `data`, `columns`, and `key-field` attributes
47
- and define their values in JavaScript. Note that `key-field` is required.
50
+ This component provides styling for up to 20 nested levels. For tree grids that require more than 20 nested levels, we recommend that you build your own component.
51
+
52
+ A checkbox is displayed by default in the first column. Set the `hide-checkbox-column` attribute to `true` to remove the checkbox.
53
+
54
+ Initialize your tree grid data using the `data`, `columns`, and `key-field` attributes and define their values in JavaScript. Note that `key-field` is required.
48
55
 
49
56
  This example creates a tree grid with 5 columns, where the
50
57
  first column displays a checkbox for row selection. Selecting the checkbox
@@ -53,8 +60,7 @@ event handler. The `expanded-rows` attribute is optional, and expands nested
53
60
  items on a row when provided. Selecting a row using the checkbox does not select
54
61
  the rows nested below it.
55
62
 
56
- The example includes two buttons whose handlers call `lightning-tree-grid` methods
57
- to collapse all rows and to show which rows are expanded.
63
+ The example includes two buttons whose handlers call `lightning-tree-grid` methods to collapse all rows and to show which rows are expanded.
58
64
 
59
65
  ```html
60
66
  <template>
@@ -214,18 +220,18 @@ clickToCollapseAll(e) {
214
220
  Use the following column properties to customize the behavior and visual
215
221
  aspects of your columns.
216
222
 
217
- | Attribute | Type | Description |
218
- | -------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
219
- | actions | object | Appends a dropdown menu of actions to a column. You must pass in a list of label-name pairs. |
220
- | cellAttributes | object | Provides additional customization, such as appending an icon to the output. For more information, see **Appending an Icon to Column Data** |
221
- | fieldName | string | Required. The name that binds the columns attributes to the associated data. Each columns attribute must correspond to an item in the data array. |
222
- | iconName | string | The Lightning Design System name of the icon. Names are written in the format standard:opportunity. The icon is appended to the left of the header label. |
223
- | initialWidth | integer | The width of the column when it's initialized, which must be within the minColumnWidth and maxColumnWidth values, or within 50px and 1000px if they are not provided. |
224
- | label | string | Required. The text label displayed in the column header. |
225
- | sortable | boolean | Specifies whether the column can be sorted. The default is false. |
226
- | type | string | Required. The data type to be used for data formatting. For more information, see **Formatting with Data Types**. |
227
- | typeAttributes | object | Provides custom formatting with component attributes for the data type. For example, currencyCode for the currency type. For more information, see **Formatting with Data Types**. |
228
- | wrapText | boolean | Specifies whether text in a column is wrapped when the table renders. Wrapped text vertically expands a row to reveal its full content. Displaying a number of lines and clipping the rest using `wrap-text-max-lines` isn't supported. For more information, see **Text Wrapping and Clipping**. |
223
+ | Attribute | Type | Description |
224
+ | -------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
225
+ | fieldName | string | Required. The name that binds the columns attributes to the associated data. Each columns attribute must correspond to an item in the data array. |
226
+ | label | string | Required. The text label displayed in the column header. |
227
+ | type | string | Required. The data type to be used for data formatting. For more information, see **Formatting with Data Types**. |
228
+ | actions | object | Appends a dropdown menu of actions to a column. You must pass in a list of label-name pairs. |
229
+ | cellAttributes | object | Provides additional customization using `alignment` and `class` properties, in addition to `icon*` properties, such as for appending an icon to the output. For more information, see **Appending an Icon to Column Data** |
230
+ | iconName | string | The Lightning Design System name of the icon. Names are written in the format standard:opportunity. The icon is appended to the left of the header label. |
231
+ | initialWidth | integer | The width of the column when it's initialized, which must be within the `min-column-width` and `max-column-width` values, or within 50px and 1000px if they are not provided. |
232
+ | sortable | boolean | Specifies whether the column can be sorted. The default is false. |
233
+ | typeAttributes | object | Provides custom formatting with component attributes for the data type. For example, currencyCode for the currency type. For more information, see **Formatting with Data Types**. |
234
+ | wrapText | boolean | Specifies whether text in a column is wrapped when the table renders. Wrapped text vertically expands a row to reveal its full content. Displaying a number of lines and clipping the rest using `wrap-text-max-lines` isn't supported. For more information, see **Text Wrapping and Clipping**. |
229
235
 
230
236
  #### Formatting with Data Types
231
237
 
@@ -448,7 +454,7 @@ minimum of 50px and a maximum of 1000px. Users can also resize the column width
448
454
 
449
455
  ##### Working with Column Widths
450
456
 
451
- You can customize the column widths in many ways. To specify your own width and disable resizing for a specific column, pass in `fixedWidth` to the column property. To specify an initial width and enable resizing for a specific column, pass in `initialWidth` to the column property.
457
+ You can customize the column widths in many ways. To specify an initial width and enable resizing for a specific column, pass in `initialWidth` to the column property.
452
458
 
453
459
  ```javascript
454
460
  const columns = [
@@ -476,32 +482,90 @@ Columns have a default minimum width of 50px and maximum width of 1000px. To cha
476
482
 
477
483
  To prevent users from resizing columns, specify `resize-column-disabled` in your markup. The table can still adjust its column widths when you resize the browser window or the width of the parent container changes.
478
484
 
479
- `lightning-tree-grid` doesn't support the `resize` event.
485
+ `lightning-tree-grid` doesn't support the `resize` event and the `fixedWidth` column property.
486
+
487
+ ##### Managing the Resizing of Column Widths
488
+
489
+ The `column-widths-mode` attribute accepts values of `fixed` (default) or `auto`. To provide granular control on your column widths, use this attribute with the `initialWidth` column property.
490
+
491
+ Widths for the following columns are fixed and cannot be changed.
492
+
493
+ - Row Number column
494
+ - Selection (checkbox) column
495
+ - Action column
496
+
497
+ ##### Implementing Fixed Width Mode
498
+
499
+ Render columns with equal widths using `column-widths-mode="fixed"`, which is the default setting. Any content that's too long to be displayed is clipped and appears with a trailing ellipsis. The column width is calculated by taking total available width and dividing equally among the columns.
500
+
501
+ You can specify your own widths using `initialWidth` only. The widths of the remaining columns without a specified `initialWidth` are equal.
502
+
503
+ Setting new data on the columns doesn't trigger resizing for columns, unless the new column definition specifies a change in `initialWidth` values. In `fixed` mode, the columns automatically resize and maintain equal widths when:
504
+
505
+ - The browser window is resized
506
+ - The parent container width for the datatable is changed
507
+ - The `row-number-offset` value is changed
508
+ - More or less data is passed in
509
+
510
+ When you manually resize a column to a larger width, the other columns maintain their widths, displaying a scrollbar to enable scrolling to the end of the table columns. When you manually resize to a smaller width, the other columns also maintain their widths.
511
+
512
+ You can resize manually using a mouse or a keyboard. On a keyboard, press enter in the header cell, tab to reach the resizer (column divider), and press the left or right arrow keys. On a touchscreen device, tap on the desired column resizer area, move to the desired width, and then release.
513
+
514
+ ##### Implementing Auto Width Mode
515
+
516
+ To trigger resizing of columns according to the length or size of data in a column, set `column-widths-mode="auto"`. In `auto` width mode, the columns automatically resize when:
517
+
518
+ - Data changes in at least one row and the number of rows stays the same
519
+ - The column definition changes, such as a change in a column property or the number of columns
520
+
521
+ Pass a new reference of columns with changes for resize to take effect. The columns don't resize if there's only a change in the number of records in the data.
522
+
523
+ Column widths are calculated based on the width of the content displayed in the column and the total width of the table. Specify your own widths for particular columns using the `initialWidth` property. The widths of the columns without the `initialWidth` property are calculated based on the width of the content in the column and the remaining table width. If the columns definition is passed but no data is set yet, the columns are rendered based on the width of the column labels.
524
+
525
+ A column's width is limited by the `max-column-width` value, or 1000px by default. If a column width is calculated to be wider than the `max-column-width` value, the content is truncated and displayed with an ellipsis. If the column also specifies `wrapText: true`, the column results in a narrower width than if the column has clipped text.
526
+
527
+ A column's width is also limited by the `min-column-width` value, or 50px by default. If a column width is calculated to be narrower than the `min-column-width` value, the width is set to minimum column width and may have extra white space.
528
+
529
+ When you manually resize a column, the other columns maintain their widths. This behavior also occurs when a column is manually resized in `fixed` mode.
530
+
531
+ The columns keep their width ratios while adjusting the column widths when:
532
+
533
+ - The browser window is resized
534
+ - The parent container width for the datatable is changed
535
+ - The `rowNumberOffset` value is changed
536
+
537
+ Auto width mode is supported for containers with block display, which corresponds to the `display: block` CSS property.
538
+ `lightning-datatable` doesn't fully support containers with `display:inline-block` or flex properties.
480
539
 
481
540
  #### Sorting Data By Column
482
541
 
483
542
  To enable sorting of row data by a column label, set `sortable` to `true` for
484
- the column on which you want to enable sorting. Set `sortedBy` to match the
485
- `fieldName` attribute on the column. Clicking a column header sorts rows by
486
- ascending order unless the `defaultSortDirection` is changed, and clicking it
487
- subsequently reverses the order. Handle the `onsort` event handler to update
488
- the table with the new column index and sort direction.
543
+ the column on which you want to enable sorting. Clicking a column header sorts rows by ascending order, and clicking it subsequently reverses the order. Handle the `onsort` event handler to update the table with the new column index and sort direction.
489
544
 
490
- Here's an example of the method that's called by the `onsort`
491
- event handler.
545
+ Here's an example of an `onsort` event handler.
492
546
 
493
547
  ```javascript
494
- // The method onsort event handler
495
- updateColumnSorting(event) {
496
- var fieldName = event.detail.fieldName;
497
- var sortDirection = event.detail.sortDirection;
498
- // assign the latest attribute with the sorted column fieldName and sorted direction
499
- this.sortedBy = fieldName;
500
- this.sortedDirection = sortDirection;
501
- this.data = this.sortData(fieldName, sortDirection);
502
- }
548
+ data = data;
549
+ columns = columns;
550
+ sortDirection = 'asc';
551
+ sortedBy;
552
+ // The method onsort event handler
553
+ handleSort(event) {
554
+ const { fieldName: sortedByField, sortDirection } = event.detail;
555
+ const cloneData = [...this.data];
556
+
557
+ cloneData.sort(this.sortBy(sortedByField, sortDirection === 'asc' ? 1 : -1));
558
+ this.data = cloneData;
559
+ this.sortDirection = sortDirection;
560
+ this.sortedBy = sortedByField;
561
+ }
503
562
  ```
504
563
 
564
+ The handler assigns `fieldName` to `sortedByField`, which stores the name of the field that is currently being sorted. It also retrieves `sortDirection` from the `sort` event. On first sort, `sortDirection` is `asc`.
565
+
566
+ `cloneData` creates a shallow copy of the `data` array to avoid mutating the original data. The handler passes in the comparison function `sortBy` and pass it to the [array sort() method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort). It
567
+ updates the `data` property with the sorted data and `sortDirection` with the new sort direction, and `sortedBy` with the column that was sorted.
568
+
505
569
  #### Text Wrapping and Clipping
506
570
 
507
571
  You can wrap or clip text within columns, which either expands the rows to
@@ -515,15 +579,15 @@ If the number of characters is more than what the column width can display,
515
579
  content is clipped by default. Text wrapping is supported only for the
516
580
  following data types.
517
581
 
518
- - currency
519
- - date
520
- - email
521
- - location
522
- - number
523
- - percent
524
- - phone
525
- - text
526
- - url
582
+ - currency
583
+ - date
584
+ - email
585
+ - location
586
+ - number
587
+ - percent
588
+ - phone
589
+ - text
590
+ - url
527
591
 
528
592
  For `text` data type, text clipping converts newline characters to spaces and condenses multiple spaces or tabs to one space. Text clipping suppresses line breaks, truncates content to fit a single line in the column, and adds a trailing ellipsis. Text wrapping breaks lines and hyphenates words as needed to fit the column.
529
593
 
@@ -568,7 +632,6 @@ You can add a `displayValue` on the dropdown arrow for a row. This `displayValue
568
632
  }
569
633
  ```
570
634
 
571
-
572
635
  ##### Provide an Accessible Label for the Table
573
636
 
574
637
  Use the `aria-label` attribute to provide a more descriptive label for the table for assistive technology. The `aria-label` attribute and its value are passed down to the rendered `table` element.
@@ -622,9 +685,9 @@ When using custom types, add additional attributes to make all elements of the c
622
685
 
623
686
  Columns can be resized in action mode. First, navigate to the header using the arrow keys. Then, press the Tab key to activate the column divider to resize a column. You can resize a column by increasing or decreasing its width using one of the following key combinations.
624
687
 
625
- - Right and Left Arrow keys
626
- - Up and Down Arrow keys
627
- - Page Up and Page Down keys
688
+ - Right and Left Arrow keys
689
+ - Up and Down Arrow keys
690
+ - Page Up and Page Down keys
628
691
 
629
692
  When you resize a column, the new column width is announced by assistive technology. To finish resizing the column and return to navigation mode, press the Esc key.
630
693
 
@@ -653,10 +716,11 @@ The event fired when a column is sorted.
653
716
 
654
717
  The `sort` event returns the following parameters.
655
718
 
656
- | Parameter | Type | Description |
657
- | ------------- | ------ | -------------------------------------------------------------- |
658
- | fieldName | string | The fieldName that controls the sorting. |
659
- | sortDirection | string | The sorting direction. Valid options include 'asc' and 'desc'. |
719
+ | Parameter | Type | Description |
720
+ | ----------------- | ------- | -------------------------------------------------------------- |
721
+ | fieldName | string | The fieldName that controls the sorting. |
722
+ | isMultiColumnSort | boolean | Reserved for internal use. Defaults to false. |
723
+ | sortDirection | string | The sorting direction. Valid options include 'asc' and 'desc'. |
660
724
 
661
725
  The event properties are as follows.
662
726
 
@@ -34,8 +34,10 @@ export default class LightningTreeGrid extends LightningShadowBaseClass {
34
34
  _ogDatatableCustomTypes;
35
35
 
36
36
  /**
37
- * Pass through for column-widths-mode on lightning-datatable
37
+ * Specifies how column widths are calculated. Set to 'fixed' for columns with equal widths.
38
+ * Set to 'auto' for column widths that are based on the width of the column content and the table width. The default is 'fixed'.
38
39
  * @type {string}
40
+ * @default fixed
39
41
  */
40
42
  @api columnWidthsMode;
41
43