lightning-base-components 1.18.8-alpha → 1.19.1-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 (314) hide show
  1. package/README.md +1 -1
  2. package/metadata/raptor.json +51 -1
  3. package/package.json +25 -1
  4. package/scopedImports/@salesforce-internal-core.appVersion.js +1 -1
  5. package/scopedImports/@salesforce-label-LightningProgressRing.complete.js +1 -0
  6. package/scopedImports/@salesforce-label-LightningProgressRing.expired.js +1 -0
  7. package/scopedImports/@salesforce-label-LightningProgressRing.warning.js +1 -0
  8. package/scopedImports/@salesforce-label-LightningRecordPicker.defaultSelectedRecordErrorMessage.js +1 -0
  9. package/scopedImports/@salesforce-label-LightningRecordPicker.invalidConfigurationErrorMessage.js +1 -1
  10. package/scopedImports/@salesforce-label-LightningRecordPicker.loadingPlaceholder.js +1 -0
  11. package/scopedImports/@salesforce-label-LightningRecordPicker.messageWhenBadInputDefault.js +1 -0
  12. package/scopedImports/@salesforce-label-LightningServiceCloudVoiceToolkitApi.missingNbaParams.js +1 -1
  13. package/src/lightning/accordion/__docs__/accordion.md +2 -2
  14. package/src/lightning/accordion/accordion.slds.css +30 -29
  15. package/src/lightning/accordionSection/__docs__/accordionSection.md +1 -1
  16. package/src/lightning/accordionSection/accordion-section.slds.css +26 -24
  17. package/src/lightning/avatar/__docs__/avatar.md +1 -1
  18. package/src/lightning/avatar/avatar.slds.css +21 -22
  19. package/src/lightning/badge/__docs__/badge.md +1 -1
  20. package/src/lightning/barcodeScanner/__docs__/barcodeScanner.md +2 -2
  21. package/src/lightning/baseCombobox/base-combobox.slds.css +48 -71
  22. package/src/lightning/baseCombobox/baseCombobox.js +20 -7
  23. package/src/lightning/baseComboboxItem/listbox.slds.css +10 -25
  24. package/src/lightning/breadcrumb/breadcrumb.slds.css +2 -2
  25. package/src/lightning/breadcrumbs/__docs__/breadcrumbs.md +3 -3
  26. package/src/lightning/breadcrumbs/breadcrumbs.slds.css +4 -3
  27. package/src/lightning/button/__docs__/button.md +8 -8
  28. package/src/lightning/button/button.js +1 -0
  29. package/src/lightning/button/button.slds.css +3 -3
  30. package/src/lightning/buttonGroup/__docs__/buttonGroup.md +1 -1
  31. package/src/lightning/buttonIcon/__docs__/buttonIcon.md +1 -1
  32. package/src/lightning/buttonIcon/button-icon.slds.css +6 -6
  33. package/src/lightning/buttonIcon/buttonIcon.js +1 -0
  34. package/src/lightning/buttonIconStateful/__docs__/buttonIconStateful.md +1 -1
  35. package/src/lightning/buttonIconStateful/button-icon-stateful.slds.css +6 -6
  36. package/src/lightning/buttonIconStateful/buttonIconStateful.css +4 -0
  37. package/src/lightning/buttonMenu/__docs__/buttonMenu.md +3 -1
  38. package/src/lightning/buttonMenu/button-menu.slds.css +42 -51
  39. package/src/lightning/buttonMenu/buttonMenu.js +4 -1
  40. package/src/lightning/buttonStateful/__docs__/buttonStateful.md +2 -2
  41. package/src/lightning/buttonStateful/button-stateful.slds.css +19 -22
  42. package/src/lightning/calendar/calendar.slds.css +39 -48
  43. package/src/lightning/card/__docs__/card.md +5 -5
  44. package/src/lightning/card/card.slds.css +37 -18
  45. package/src/lightning/colorPickerCustom/color-picker-custom.slds.css +3 -3
  46. package/src/lightning/colorPickerPanel/popover.slds.css +1 -1
  47. package/src/lightning/combobox/__docs__/combobox.md +2 -0
  48. package/src/lightning/combobox/combobox.html +3 -2
  49. package/src/lightning/combobox/combobox.js +2 -0
  50. package/src/lightning/combobox/form-element.slds.css +23 -24
  51. package/src/lightning/datatable/__docs__/datatable.md +63 -8
  52. package/src/lightning/datepicker/datepicker.html +1 -1
  53. package/src/lightning/datepicker/datepicker.js +8 -0
  54. package/src/lightning/datepicker/form-element.slds.css +23 -24
  55. package/src/lightning/datepicker/input-text.slds.css +16 -16
  56. package/src/lightning/datetimepicker/form-element.slds.css +23 -24
  57. package/src/lightning/datetimepicker/input-text.slds.css +16 -16
  58. package/src/lightning/dialog/README.md +1 -1
  59. package/src/lightning/dualListbox/__docs__/dualListbox.md +1 -1
  60. package/src/lightning/dualListbox/dual-listbox.slds.css +4 -13
  61. package/src/lightning/dualListbox/form-element.slds.css +23 -24
  62. package/src/lightning/dualListbox/listbox.slds.css +10 -25
  63. package/src/lightning/dynamicIcon/dynamic-icon-ellie.slds.css +2 -2
  64. package/src/lightning/dynamicIcon/dynamic-icon-eq.slds.css +1 -1
  65. package/src/lightning/dynamicIcon/dynamic-icon-trend.slds.css +1 -1
  66. package/src/lightning/formattedDateTime/__docs__/formattedDateTime.md +1 -1
  67. package/src/lightning/formattedNumber/__docs__/formattedNumber.md +1 -1
  68. package/src/lightning/formattedRichText/formatted-rich-text.slds.css +0 -2
  69. package/src/lightning/helptext/form-element.slds.css +23 -24
  70. package/src/lightning/helptext/help-text.slds.css +6 -6
  71. package/src/lightning/icon/__docs__/icon.md +2 -2
  72. package/src/lightning/icon/icon.html +9 -3
  73. package/src/lightning/icon/icon.js +16 -12
  74. package/src/lightning/icon/icon.slds.css +14 -14
  75. package/src/lightning/iconSvgTemplates/buildTemplates/standard/attribute_based_pricing.html +10 -0
  76. package/src/lightning/iconSvgTemplates/buildTemplates/standard/bundles_pricing.html +7 -0
  77. package/src/lightning/iconSvgTemplates/buildTemplates/standard/data_cloud.html +8 -0
  78. package/src/lightning/iconSvgTemplates/buildTemplates/standard/data_graph.html +7 -0
  79. package/src/lightning/iconSvgTemplates/buildTemplates/standard/dynamic_highlights_panel.html +7 -0
  80. package/src/lightning/iconSvgTemplates/buildTemplates/standard/header_discounts.html +7 -0
  81. package/src/lightning/iconSvgTemplates/buildTemplates/standard/impact_outcome.html +7 -0
  82. package/src/lightning/iconSvgTemplates/buildTemplates/standard/impact_strategy.html +7 -0
  83. package/src/lightning/iconSvgTemplates/buildTemplates/standard/impact_strategy_assignment.html +7 -0
  84. package/src/lightning/iconSvgTemplates/buildTemplates/standard/indicator_assignment.html +8 -0
  85. package/src/lightning/iconSvgTemplates/buildTemplates/standard/indicator_definition.html +8 -0
  86. package/src/lightning/iconSvgTemplates/buildTemplates/standard/indicator_performance_period.html +7 -0
  87. package/src/lightning/iconSvgTemplates/buildTemplates/standard/indicator_result.html +8 -0
  88. package/src/lightning/iconSvgTemplates/buildTemplates/standard/manual_discounts.html +9 -0
  89. package/src/lightning/iconSvgTemplates/buildTemplates/standard/no_code_model.html +7 -0
  90. package/src/lightning/iconSvgTemplates/buildTemplates/standard/outcome_activity.html +7 -0
  91. package/src/lightning/iconSvgTemplates/buildTemplates/standard/panel_detail.html +8 -0
  92. package/src/lightning/iconSvgTemplates/buildTemplates/standard/price_adjustment_matrix.html +8 -0
  93. package/src/lightning/iconSvgTemplates/buildTemplates/standard/registered_model.html +7 -0
  94. package/src/lightning/iconSvgTemplates/buildTemplates/standard/repeaters.html +7 -0
  95. package/src/lightning/iconSvgTemplates/buildTemplates/standard/scheduling_workspace.html +7 -0
  96. package/src/lightning/iconSvgTemplates/buildTemplates/standard/story.html +4 -2
  97. package/src/lightning/iconSvgTemplates/buildTemplates/standard/time_period.html +7 -0
  98. package/src/lightning/iconSvgTemplates/buildTemplates/standard/travel_mode.html +2 -2
  99. package/src/lightning/iconSvgTemplates/buildTemplates/standard/uploaded_model.html +7 -0
  100. package/src/lightning/iconSvgTemplates/buildTemplates/standard/volume_discounts.html +7 -0
  101. package/src/lightning/iconSvgTemplates/buildTemplates/standard/walkthroughs.html +8 -0
  102. package/src/lightning/iconSvgTemplates/buildTemplates/templates.js +38 -1
  103. package/src/lightning/iconSvgTemplates/buildTemplates/utility/apex_alt.html +8 -0
  104. package/src/lightning/iconSvgTemplates/buildTemplates/utility/data_cloud.html +8 -0
  105. package/src/lightning/iconSvgTemplates/buildTemplates/utility/data_graph.html +7 -0
  106. package/src/lightning/iconSvgTemplates/buildTemplates/utility/data_transforms.html +7 -0
  107. package/src/lightning/iconSvgTemplates/buildTemplates/utility/edit_gpt.html +8 -0
  108. package/src/lightning/iconSvgTemplates/buildTemplates/utility/einstein.html +4 -2
  109. package/src/lightning/iconSvgTemplates/buildTemplates/utility/guidance.html +8 -0
  110. package/src/lightning/iconSvgTemplates/buildTemplates/utility/indicator_performance_period.html +7 -0
  111. package/src/lightning/iconSvgTemplates/buildTemplates/utility/mixed_sources_mapping.html +8 -0
  112. package/src/lightning/iconSvgTemplates/buildTemplates/utility/page_structure.html +7 -0
  113. package/src/lightning/iconSvgTemplates/buildTemplates/utility/sparkles.html +7 -0
  114. package/src/lightning/iconSvgTemplates/buildTemplates/utility/visibility_rule_assigned.html +7 -0
  115. package/src/lightning/iconSvgTemplates/buildTemplates/utility/walkthroughs.html +8 -0
  116. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/attribute_based_pricing.html +10 -0
  117. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/bundles_pricing.html +7 -0
  118. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/data_cloud.html +8 -0
  119. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/data_graph.html +7 -0
  120. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/dynamic_highlights_panel.html +7 -0
  121. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/header_discounts.html +7 -0
  122. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/impact_outcome.html +7 -0
  123. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/impact_strategy.html +7 -0
  124. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/impact_strategy_assignment.html +7 -0
  125. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/indicator_assignment.html +8 -0
  126. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/indicator_definition.html +8 -0
  127. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/indicator_performance_period.html +7 -0
  128. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/indicator_result.html +8 -0
  129. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/manual_discounts.html +9 -0
  130. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/no_code_model.html +7 -0
  131. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/outcome_activity.html +7 -0
  132. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/panel_detail.html +8 -0
  133. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/price_adjustment_matrix.html +8 -0
  134. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/registered_model.html +7 -0
  135. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/repeaters.html +7 -0
  136. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/scheduling_workspace.html +7 -0
  137. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/story.html +4 -2
  138. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/time_period.html +7 -0
  139. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/travel_mode.html +2 -2
  140. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/uploaded_model.html +7 -0
  141. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/volume_discounts.html +7 -0
  142. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/walkthroughs.html +8 -0
  143. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/templates.js +38 -1
  144. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/apex_alt.html +8 -0
  145. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/data_cloud.html +8 -0
  146. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/data_graph.html +7 -0
  147. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/data_transforms.html +7 -0
  148. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/edit_gpt.html +8 -0
  149. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/einstein.html +4 -2
  150. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/guidance.html +8 -0
  151. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/indicator_performance_period.html +7 -0
  152. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/mixed_sources_mapping.html +8 -0
  153. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/page_structure.html +7 -0
  154. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/sparkles.html +7 -0
  155. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/visibility_rule_assigned.html +7 -0
  156. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/walkthroughs.html +8 -0
  157. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/attribute_based_pricing.html +10 -0
  158. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/bundles_pricing.html +7 -0
  159. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/data_cloud.html +8 -0
  160. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/data_graph.html +7 -0
  161. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/dynamic_highlights_panel.html +7 -0
  162. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/header_discounts.html +7 -0
  163. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/impact_outcome.html +7 -0
  164. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/impact_strategy.html +7 -0
  165. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/impact_strategy_assignment.html +7 -0
  166. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/indicator_assignment.html +8 -0
  167. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/indicator_definition.html +8 -0
  168. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/indicator_performance_period.html +7 -0
  169. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/indicator_result.html +8 -0
  170. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/manual_discounts.html +9 -0
  171. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/no_code_model.html +7 -0
  172. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/outcome_activity.html +7 -0
  173. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/panel_detail.html +8 -0
  174. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/price_adjustment_matrix.html +8 -0
  175. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/registered_model.html +7 -0
  176. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/repeaters.html +7 -0
  177. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/scheduling_workspace.html +7 -0
  178. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/story.html +4 -2
  179. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/time_period.html +7 -0
  180. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/travel_mode.html +2 -2
  181. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/uploaded_model.html +7 -0
  182. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/volume_discounts.html +7 -0
  183. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/walkthroughs.html +8 -0
  184. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/templates.js +26 -1
  185. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/attribute_based_pricing.html +10 -0
  186. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/bundles_pricing.html +7 -0
  187. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/data_cloud.html +8 -0
  188. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/data_graph.html +7 -0
  189. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/dynamic_highlights_panel.html +7 -0
  190. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/header_discounts.html +7 -0
  191. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/impact_outcome.html +7 -0
  192. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/impact_strategy.html +7 -0
  193. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/impact_strategy_assignment.html +7 -0
  194. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/indicator_assignment.html +8 -0
  195. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/indicator_definition.html +8 -0
  196. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/indicator_performance_period.html +7 -0
  197. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/indicator_result.html +8 -0
  198. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/manual_discounts.html +9 -0
  199. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/no_code_model.html +7 -0
  200. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/outcome_activity.html +7 -0
  201. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/panel_detail.html +8 -0
  202. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/price_adjustment_matrix.html +8 -0
  203. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/registered_model.html +7 -0
  204. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/repeaters.html +7 -0
  205. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/scheduling_workspace.html +7 -0
  206. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/story.html +4 -2
  207. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/time_period.html +7 -0
  208. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/travel_mode.html +2 -2
  209. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/uploaded_model.html +7 -0
  210. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/volume_discounts.html +7 -0
  211. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/walkthroughs.html +8 -0
  212. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/templates.js +26 -1
  213. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/templates.js +13 -1
  214. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/apex_alt.html +8 -0
  215. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/data_cloud.html +8 -0
  216. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/data_graph.html +7 -0
  217. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/data_transforms.html +7 -0
  218. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/edit_gpt.html +8 -0
  219. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/einstein.html +4 -2
  220. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/guidance.html +8 -0
  221. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/indicator_performance_period.html +7 -0
  222. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/mixed_sources_mapping.html +8 -0
  223. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/page_structure.html +7 -0
  224. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/sparkles.html +7 -0
  225. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/visibility_rule_assigned.html +7 -0
  226. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/walkthroughs.html +8 -0
  227. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/templates.js +13 -1
  228. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/apex_alt.html +8 -0
  229. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/data_cloud.html +8 -0
  230. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/data_graph.html +7 -0
  231. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/data_transforms.html +7 -0
  232. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/edit_gpt.html +8 -0
  233. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/einstein.html +4 -2
  234. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/guidance.html +8 -0
  235. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/indicator_performance_period.html +7 -0
  236. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/mixed_sources_mapping.html +8 -0
  237. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/page_structure.html +7 -0
  238. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/sparkles.html +7 -0
  239. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/visibility_rule_assigned.html +7 -0
  240. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/walkthroughs.html +8 -0
  241. package/src/lightning/iconUtils/iconColors.js +1 -0
  242. package/src/lightning/iconUtils/iconUtils.js +10 -0
  243. package/src/lightning/input/__docs__/input.md +11 -6
  244. package/src/lightning/input/form-element.slds.css +23 -24
  245. package/src/lightning/input/input.html +2 -3
  246. package/src/lightning/input/input.js +14 -10
  247. package/src/lightning/inputAddress/__docs__/inputAddress.md +5 -5
  248. package/src/lightning/inputName/__docs__/inputName.md +4 -4
  249. package/src/lightning/layoutItem/__docs__/layoutItem.md +1 -1
  250. package/src/lightning/menuItem/menu-item.slds.css +3 -3
  251. package/src/lightning/modal/__docs__/migration.md +9 -9
  252. package/src/lightning/modal/__docs__/modal.md +5 -5
  253. package/src/lightning/modal/__modalUtils__/modalContainerTestConstants.js +2 -4
  254. package/src/lightning/modal/__modalUtils__/modalContainerTestMethods.js +96 -58
  255. package/src/lightning/modalBase/modalBase.js +26 -76
  256. package/src/lightning/modalBody/__docs__/modalBody.md +3 -3
  257. package/src/lightning/modalBody/modalBody.js +33 -36
  258. package/src/lightning/modalFooter/__docs__/modalFooter.md +3 -3
  259. package/src/lightning/modalFooter/modalFooter.js +1 -76
  260. package/src/lightning/modalHeader/__docs__/modalHeader.md +3 -3
  261. package/src/lightning/modalHeader/modalHeader.js +0 -68
  262. package/src/lightning/navigation/__docs__/navigation.md +3 -3
  263. package/src/lightning/pill/__docs__/pill.md +2 -2
  264. package/src/lightning/pill/avatar.slds.css +21 -22
  265. package/src/lightning/pill/pill.slds.css +17 -9
  266. package/src/lightning/pillContainer/__docs__/pillContainer.md +1 -1
  267. package/src/lightning/pillContainer/listbox.slds.css +10 -25
  268. package/src/lightning/pillContainer/pill-container.slds.css +19 -8
  269. package/src/lightning/pillContainer/pill.slds.css +17 -9
  270. package/src/lightning/popup/popover.slds.css +1 -1
  271. package/src/lightning/primitiveBubble/tooltip.slds.css +14 -23
  272. package/src/lightning/primitiveButton/primitiveButton.js +5 -1
  273. package/src/lightning/primitiveColorpickerButton/color-picker-button.slds.css +14 -14
  274. package/src/lightning/primitiveIcon/icon.slds.css +14 -14
  275. package/src/lightning/primitiveInputCheckbox/form-element.slds.css +23 -24
  276. package/src/lightning/primitiveInputCheckbox/input-checkbox.slds.css +7 -7
  277. package/src/lightning/primitiveInputCheckboxButton/form-element.slds.css +23 -24
  278. package/src/lightning/primitiveInputCheckboxButton/input-checkbox-button.slds.css +1 -6
  279. package/src/lightning/primitiveInputColor/form-element.slds.css +23 -24
  280. package/src/lightning/primitiveInputColor/input-color.slds.css +3 -3
  281. package/src/lightning/primitiveInputColor/input-text.slds.css +16 -16
  282. package/src/lightning/primitiveInputColor/primitiveInputColor.html +1 -1
  283. package/src/lightning/primitiveInputFile/button.slds.css +3 -3
  284. package/src/lightning/primitiveInputFile/form-element.slds.css +23 -24
  285. package/src/lightning/primitiveInputFile/input-file.slds.css +2 -2
  286. package/src/lightning/primitiveInputSimple/form-element.slds.css +23 -24
  287. package/src/lightning/primitiveInputSimple/input-text.slds.css +16 -16
  288. package/src/lightning/primitiveInputSimple/mobileInputUtils.js +24 -0
  289. package/src/lightning/primitiveInputSimple/primitiveInputSimple.html +1 -1
  290. package/src/lightning/primitiveInputSimple/primitiveInputSimple.js +82 -13
  291. package/src/lightning/primitiveInputToggle/form-element.slds.css +23 -24
  292. package/src/lightning/progressRing/progressRing.js +16 -3
  293. package/src/lightning/radioGroup/input-radio-group.slds.css +12 -13
  294. package/src/lightning/relativeDateTime/__docs__/relativeDateTime.md +1 -1
  295. package/src/lightning/select/__docs__/select.md +1 -1
  296. package/src/lightning/select/form-element.slds.css +23 -24
  297. package/src/lightning/select/select.slds.css +26 -27
  298. package/src/lightning/spinner/spinner.slds.css +5 -8
  299. package/src/lightning/tab/__docs__/tab.md +1 -1
  300. package/src/lightning/tab/tab.slds.css +8 -8
  301. package/src/lightning/tabBar/tab-bar.slds.css +31 -35
  302. package/src/lightning/tabset/__docs__/tabset.md +2 -2
  303. package/src/lightning/textarea/textarea.css +2 -1
  304. package/src/lightning/textarea/textarea.html +1 -1
  305. package/src/lightning/textarea/textarea.js +4 -1
  306. package/src/lightning/tile/__docs__/tile.md +1 -1
  307. package/src/lightning/timepicker/form-element.slds.css +23 -24
  308. package/src/lightning/toast/button-icon.slds.css +6 -6
  309. package/src/lightning/toast/formatted-rich-text.slds.css +0 -2
  310. package/src/lightning/toast/icon.slds.css +14 -14
  311. package/src/lightning/toast/toast.slds.css +101 -95
  312. package/src/lightning/toastContainer/toast.slds.css +101 -95
  313. package/src/lightning/utilsPrivate/utilsPrivate.js +9 -0
  314. package/src/lightning/icon/iconColors.js +0 -1
@@ -87,9 +87,9 @@ instead for input types `button`, `reset`, and
87
87
  Use [`lightning-radio-group`](bundle/lightning-radio-group/documentation)
88
88
  instead of input type `radio` for radio buttons.
89
89
 
90
- When working with forms that interact with Salesforce records, consider using the record form components. The `lightning-record-form`, `lightning-record-view-form`, and `lightning-record-edit-form` components provide a form-based UI that's metadata-driven. The components are automatically wired up to your record data, labels, and field-level help text. For more information, see [Work with Records Using Base Components](docs/component-library/documentation/en/lwc/lwc.data_get_user_input_intro).
90
+ When working with forms that interact with Salesforce records, consider using the record form components. The `lightning-record-form`, `lightning-record-view-form`, and `lightning-record-edit-form` components provide a form-based UI that's metadata-driven. The components are automatically wired up to your record data, labels, and field-level help text. For more information, see [Work with Records Using Base Components](https://developer.salesforce.com/docs/platform/lwc/guide/data-get-user-input-intro).
91
91
 
92
- Alternatively, to create your own custom UI to work with Salesforce records, use `lightning-input` with the `lightning/ui*Api` wire adapters and functions, such as `getRecord` and `updateRecord`. For more information, see [Use the Wire Service with Base Components](docs/component-library/documentation/en/lwc/lwc.data_wire_base_components).
92
+ Alternatively, to create your own custom UI to work with Salesforce records, use `lightning-input` with the `lightning/ui*Api` wire adapters and functions, such as `getRecord` and `updateRecord`. For more information, see [Use the Wire Service with Base Components](https://developer.salesforce.com/docs/platform/lwc/guide/data-wire-base-components).
93
93
 
94
94
  The `label` attribute is required. If you don't want to display a label,
95
95
  specify the `variant="label-hidden"` attribute. See **Accessibility** for more
@@ -192,6 +192,8 @@ as explained in **Adding Field-Level Help and Placeholder Text**.
192
192
 
193
193
  On desktop, the datepicker calendar clips behind other components on the page if the parent container of `lightning-input` has a smaller width or height than the calendar. To prevent clipping, give the parent container a minimum width of 285px and minimum height of 310px.
194
194
 
195
+ By default, the datepicker calendar renders above all modals and the main Salesforce header.
196
+
195
197
  ```html
196
198
  <template>
197
199
  <lightning-input type="date" label="Birthday"> </lightning-input>
@@ -203,7 +205,6 @@ On desktop, the datepicker calendar clips behind other components on the page if
203
205
  A datetime field includes a text input to type a date and a date picker
204
206
  to select a date, and similar fields for typing or picking a time.
205
207
 
206
-
207
208
  On mobile devices, this component uses the native datetime picker, which ignores the `date-style` and `time-style` attributes. The native datetime picker uses the user's device settings for names of months and weekdays, the input datetime format, and the calendar type.
208
209
 
209
210
  ##### Desktop
@@ -253,6 +254,8 @@ You can guide users with a `field-level-help` tooltip, as explained in **Adding
253
254
 
254
255
  On desktop, the datepicker calendar clips behind other components on the page if the parent container of `lightning-input` has a smaller width or height than the calendar. To prevent clipping, give the parent container a minimum width of 285px and minimum height of 310px.
255
256
 
257
+ By default, the datepicker calendar renders above all modals and the main Salesforce header.
258
+
256
259
  **Note**: Set the same time zone on your mobile device and in Salesforce to avoid confusion and potential validation
257
260
  issues. For example, suppose the current time is 4:00 PM ET. Your mobile device is set to the America/New_York time zone and
258
261
  you're interacting with Salesforce while it's set to the America/Los_Angeles time zone. When you tap an empty date/time field
@@ -557,6 +560,8 @@ On mobile devices, this component uses the native time picker, which ignores the
557
560
 
558
561
  On desktop, this component uses a time picker styled with the Lightning Design System. This picker uses the user's Salesforce locale setting for the time format, either 12-hr time with AM/PM or 24-hr time format. The entered date and time are validated against the user's Salesforce locale format during the `blur` event.
559
562
 
563
+ By default, the time picker renders above all modals and the main Salesforce header.
564
+
560
565
  The component uses the attribute `time-style="short"` by default, so the time picker
561
566
  displays time without seconds. To display time including seconds, set `time-style="medium"`.
562
567
 
@@ -835,7 +840,7 @@ To provide sample input in the field, use the `placeholder` attribute. For examp
835
840
 
836
841
  #### Data Binding
837
842
 
838
- Bind the input value to a property in your component's JavaScript class. `lightning-input` uses the `onchange` event handler to listen a change to its value. For more information, see [Data Binding in a Template](docs/component-library/documentation/en/lwc/js_props_getter).
843
+ Bind the input value to a property in your component's JavaScript class. `lightning-input` uses the `onchange` event handler to listen a change to its value. For more information, see [Data Binding in a Template](https://developer.salesforce.com/docs/platform/lwc/guide/js-props-getter).
839
844
 
840
845
  #### Event Handling
841
846
 
@@ -1064,7 +1069,7 @@ trigger a message on blur when too many characters are entered.
1064
1069
  ```
1065
1070
 
1066
1071
  You can use custom labels that display translated values on input fields. For more information,
1067
- see [Access Labels](docs/component-library/documentation/lwc/lwc.create_labels).
1072
+ see [Access Labels](https://developer.salesforce.com/docs/platform/lwc/guide/create-labels).
1068
1073
 
1069
1074
  The `lightning-input` component has these limitations when running in the Playground and the Mini-Playground in the Examples tab of this Component Reference.
1070
1075
 
@@ -1148,4 +1153,4 @@ For a recipe that uses `lightning-input`, see the following components in the LW
1148
1153
 
1149
1154
  #### See Also
1150
1155
 
1151
- [Access Elements the Component Owns](docs/component-library/documentation/lwc/create_components_dom_work)
1156
+ [Access Elements the Component Owns](https://developer.salesforce.com/docs/platform/lwc/guide/create-components-dom-work)
@@ -133,42 +133,42 @@
133
133
 
134
134
  /* FORM ELEMENT: STACKED */
135
135
 
136
- :host([data-render-mode="shadow"][variant~='label-stacked']) {
136
+ :host([data-render-mode="shadow"][variant='label-stacked']) {
137
137
  display: block;
138
138
  }
139
139
 
140
140
  /* TODO: Using `:not` is currently not working, and it could break the build because of issues with the dist script */
141
141
 
142
- /* :host([variant~='label-stacked']):not(.slds-form-element_readonly) {
142
+ /* :host([variant='label-stacked']):not(.slds-form-element_readonly) {
143
143
  margin-block-end: var(--sds-g-spacing-2);
144
144
  }
145
145
 
146
- :host([variant~='label-stacked']):not(.slds-is-editing) {
146
+ :host([variant='label-stacked']):not(.slds-is-editing) {
147
147
  padding: 0 var(--sds-g-spacing-1);
148
148
  } */
149
149
 
150
- /* :host([variant~='label-stacked']):not([class*="slds-size"]) {
150
+ /* :host([variant='label-stacked']):not([class*="slds-size"]) {
151
151
  width: 100%;
152
152
  flex-basis: 100%;
153
153
  } */
154
154
 
155
- :host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element {
155
+ :host([data-render-mode="shadow"][variant='label-stacked']) .slds-form-element {
156
156
  padding: 0;
157
157
  margin-block-end: 0;
158
158
  }
159
159
 
160
- :host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element__label,:host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element__control {
160
+ :host([data-render-mode="shadow"][variant='label-stacked']) .slds-form-element__label,:host([data-render-mode="shadow"][variant='label-stacked']) .slds-form-element__control {
161
161
  border-bottom: 0; /* Remove border when using legacy version of slds-form-element */
162
162
  padding-inline-start: 0;
163
163
  }
164
164
 
165
- :host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element__control {
165
+ :host([data-render-mode="shadow"][variant='label-stacked']) .slds-form-element__control {
166
166
  width: 100%;
167
167
  flex-basis: 100%;
168
168
  clear: left;
169
169
  }
170
170
 
171
- :host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element__icon {
171
+ :host([data-render-mode="shadow"][variant='label-stacked']) .slds-form-element__icon {
172
172
  float: none;
173
173
  padding-block-start: var(--sds-g-spacing-1, 0.25rem);
174
174
  }
@@ -177,7 +177,7 @@
177
177
 
178
178
  /* FORM ELEMENT: INLINE */
179
179
 
180
- :host([data-render-mode="shadow"][variant~='label-inline']) {
180
+ :host([data-render-mode="shadow"][variant='label-inline']) {
181
181
  display: block;
182
182
  }
183
183
 
@@ -187,32 +187,32 @@
187
187
  in lighting-input this slds class is synonymous with the variant
188
188
  */
189
189
 
190
- :host([data-render-mode="shadow"][variant~='label-inline'].slds-form-element_horizontal) {
190
+ :host([data-render-mode="shadow"][variant='label-inline'].slds-form-element_horizontal) {
191
191
  padding: var(--sds-g-spacing-1, 0.25rem);
192
192
  margin-block-end: var(--sds-g-spacing-2, 0.5rem);
193
193
  }
194
194
 
195
195
  /* TODO: Using `:not` is currently not working, and it could break the build because of issues with the dist script */
196
196
 
197
- /* :host([variant~='label-inline']):not(.slds-form-element_readonly) {
197
+ /* :host([variant='label-inline']):not(.slds-form-element_readonly) {
198
198
  margin-block-end: var(--sds-g-spacing-2);
199
199
  }
200
200
 
201
- :host([variant~='label-inline']):not([class*="slds-size"]) {
201
+ :host([variant='label-inline']):not([class*="slds-size"]) {
202
202
  width: 100%;
203
203
  flex-basis: 100%;
204
204
  }
205
205
 
206
- :host([variant~='label-inline']:not(.slds-is-editing)) {
206
+ :host([variant='label-inline']:not(.slds-is-editing)) {
207
207
  padding: var(--sds-g-spacing-1);
208
208
  } */
209
209
 
210
- :host([data-render-mode="shadow"][variant~='label-inline']).slds-is-edited {
210
+ :host([data-render-mode="shadow"][variant='label-inline']).slds-is-edited {
211
211
  padding-block-start: var(--sds-g-sizing-6, 1.25rem)
212
212
  }
213
213
 
214
- @media (min-width: 48em) {
215
- :host([data-render-mode="shadow"][variant~='label-inline']) .slds-form-element__label {
214
+ @media (width >= 48em) {
215
+ :host([data-render-mode="shadow"][variant='label-inline']) .slds-form-element__label {
216
216
  float: left;
217
217
  max-width: calc(33% - var(--sds-g-sizing-6, 1.25rem)); /* Removing icon width for when the help-text icon is present */
218
218
  flex-basis: calc(33% - var(--sds-g-sizing-6, 1.25rem)); /* Some form element controls are set to display:flex */
@@ -222,23 +222,22 @@
222
222
  z-index: 1;
223
223
  }
224
224
 
225
- :host([data-render-mode="shadow"][variant~='label-inline']) lightning-helptext {
225
+ :host([data-render-mode="shadow"][variant='label-inline']) lightning-helptext {
226
226
  float: left;
227
227
  }
228
228
 
229
- :host([data-render-mode="shadow"][variant~='label-inline']) .slds-form-element__control {
229
+ :host([data-render-mode="shadow"][variant='label-inline']) .slds-form-element__control {
230
230
  margin-inline-start: 33%;
231
231
  clear: none; /* Reset clear: left when switching to horizontal form layout */
232
232
  }
233
233
 
234
- :host([data-render-mode="shadow"][variant~='label-inline']) .slds-form-element__control .slds-form-element__control {
234
+ :host([data-render-mode="shadow"][variant='label-inline']) .slds-form-element__control .slds-form-element__control {
235
235
  padding-inline-start: 0; /* Remove left padding on nested form controls, due to issues related to lightning-form components */
236
236
  }
237
237
 
238
- :host([data-render-mode="shadow"][variant~='label-inline']) .slds-dueling-list__column .slds-form-element__label {
238
+ :host([data-render-mode="shadow"][variant='label-inline']) .slds-dueling-list__column .slds-form-element__label {
239
239
  width: auto;
240
240
  max-width: 100%;
241
- -ms-flex-preferred-size: auto;
242
241
  flex-basis: auto;
243
242
  float: none;
244
243
  position: relative;
@@ -246,11 +245,11 @@
246
245
  margin-block-end: 0;
247
246
  }
248
247
 
249
- :host([data-render-mode="shadow"][variant~='label-inline']) .slds-form-element__help {
248
+ :host([data-render-mode="shadow"][variant='label-inline']) .slds-form-element__help {
250
249
  margin-inline-start: 33%;
251
250
  }
252
251
 
253
- :host([data-render-mode="shadow"][variant~='label-inline']) .slds-dueling-list {
252
+ :host([data-render-mode="shadow"][variant='label-inline']) .slds-dueling-list {
254
253
  clear: none;
255
254
  }
256
255
  }
@@ -283,7 +282,7 @@
283
282
 
284
283
  /* FORM ELEMENT: HIDDEN */
285
284
 
286
- :host([data-render-mode="shadow"][variant~='label-hidden']) .slds-form-element__label {
285
+ :host([data-render-mode="shadow"][variant='label-hidden']) .slds-form-element__label {
287
286
  display: none
288
287
  }
289
288
  }
@@ -25,7 +25,6 @@
25
25
  name={name}
26
26
  onblur={handleBlur}
27
27
  onfocus={handleFocus}
28
- oninput={handleInput}
29
28
  onchange={handlePrimitiveInputSimpleChange}
30
29
  oncommit={handleCommit}
31
30
  pattern={pattern}
@@ -34,6 +33,7 @@
34
33
  required={required}
35
34
  step={step}
36
35
  type={type}
36
+ timezone={timezone}
37
37
  variant={variant}
38
38
  value={value}
39
39
  validity={validity}
@@ -148,9 +148,8 @@
148
148
  help-message={_helpMessage}
149
149
  helptext-alternative-text={helptextAlternativeText}
150
150
  onblur={handleBlur}
151
+ oncommit={handleCommit}
151
152
  onfocus={handleFocus}
152
- oninput={handleInput}
153
- onchange={handleChange}
154
153
  has-external-label={hasExternalLabel}
155
154
  required={required}
156
155
  accesskey={accesskey}
@@ -1263,6 +1263,10 @@ export default class LightningInput extends LightningElement {
1263
1263
  return this.type === 'time';
1264
1264
  }
1265
1265
 
1266
+ get isTypeSearch() {
1267
+ return this.type === 'search';
1268
+ }
1269
+
1266
1270
  get isTypeMobileDate() {
1267
1271
  return this.isTypeDate && !this._isDesktopBrowser();
1268
1272
  }
@@ -1298,7 +1302,12 @@ export default class LightningInput extends LightningElement {
1298
1302
  type === 'search' ||
1299
1303
  type === 'password' ||
1300
1304
  type === 'range' ||
1301
- !type
1305
+ !type ||
1306
+ (!this._isDesktopBrowser() &&
1307
+ (type === 'date' ||
1308
+ type === 'time' ||
1309
+ type === 'datetime' ||
1310
+ type === 'datetime-local'))
1302
1311
  );
1303
1312
  }
1304
1313
 
@@ -1402,10 +1411,8 @@ export default class LightningInput extends LightningElement {
1402
1411
  inputElement = this.template.querySelector(
1403
1412
  'lightning-timepicker'
1404
1413
  );
1405
- } else if (this.isTypePrimitiveInput) {
1406
- inputElement = this._primitiveComponent.inputElement;
1407
1414
  } else {
1408
- inputElement = this.template.querySelector('input');
1415
+ inputElement = this._primitiveComponent.inputElement;
1409
1416
  this._inputDragonDecorated = true;
1410
1417
  decorateInputForDragon(inputElement);
1411
1418
  }
@@ -1441,17 +1448,14 @@ export default class LightningInput extends LightningElement {
1441
1448
  }
1442
1449
 
1443
1450
  get _displayedValue() {
1444
- if (this.isTypeNumber) {
1445
- const subcomponent = this._primitiveComponent;
1446
- return subcomponent.getDisplayedValue();
1447
- }
1448
-
1449
1451
  if (
1452
+ this.isTypeNumber ||
1450
1453
  this.isTypeMobileDate ||
1451
1454
  this.isTypeMobileDateTime ||
1452
1455
  this.isTypeMobileTime
1453
1456
  ) {
1454
- return this._normalizeDateTimeString(this._value);
1457
+ const subcomponent = this._primitiveComponent;
1458
+ return subcomponent.getDisplayedValue();
1455
1459
  }
1456
1460
 
1457
1461
  return this._value;
@@ -74,7 +74,7 @@ export default class AddressCityExample extends LightningElement {
74
74
  }
75
75
  ```
76
76
 
77
- See the __Custom Events__ section for a list of `event.target` properties. For more information, see [Data Binding in a Template](docs/component-library/documentation/en/lwc/js_props_getter).
77
+ See the __Custom Events__ section for a list of `event.target` properties. For more information, see [Data Binding in a Template](https://developer.salesforce.com/docs/platform/lwc/guide/js-props-getter).
78
78
 
79
79
  #### Creating Dropdown Menus for Country and Province
80
80
 
@@ -140,7 +140,7 @@ export default class DemoInputAddress extends LightningElement {
140
140
 
141
141
  Alternatively, you can enable state and country picklists in your org, and
142
142
  access the values by using a wire adapter.
143
- See [Let Users Select State and Country from Picklists](https://help.salesforce.com/articleView?id=admin_state_country_picklists_overview.htm) in Salesforce Help and [getPicklistValues](docs/component-library/documentation/lwc/reference_wire_adapters_picklist_values) in the Lightning Web Components Developer Guide.
143
+ See [Let Users Select State and Country from Picklists](https://help.salesforce.com/articleView?id=admin_state_country_picklists_overview.htm) in Salesforce Help and [getPicklistValues](https://developer.salesforce.com/docs/platform/lwc/guide/reference-wire-adapters-picklist-values) in the Lightning Web Components Developer Guide.
144
144
 
145
145
  #### Using Lookup to Find and Autofill an Address
146
146
 
@@ -213,7 +213,7 @@ Additionally, the `show-address-lookup` boolean attribute creates a search field
213
213
  Your Salesforce locale setting determines the order and layout of the input address fields by default. Use the `locale` attribute to override the default. Specify any locale code from the list of [Supported Number, Name, and Address Formats (ICU)](https://help.salesforce.com/s/articleView?id=sf.admin_supported_locales.htm&type=5").
214
214
 
215
215
  You can also use custom labels that display translated values. For more information, see
216
- [Access Labels](docs/component-library/documentation/lwc/lwc.create_labels).
216
+ [Access Labels](https://developer.salesforce.com/docs/platform/lwc/guide/create-labels).
217
217
 
218
218
  We recommend that you provide a label even when you provide placeholder text for an address field. Without field labels, users can lose context when the placeholder text disappears as they type in the field.
219
219
 
@@ -282,9 +282,9 @@ See [Input: Styling Hooks Overview](https://www.lightningdesignsystem.com/compon
282
282
  Using `show-address-lookup` is not supported in Playground, Experience Builder sites, Lightning Out,
283
283
  Lightning Components for Visualforce, and standalone apps.
284
284
 
285
- When working with address fields such as with the `MailingAddress` field on Salesforce records, consider using the record form components. The `lightning-record-form`, `lightning-record-view-form`, and `lightning-record-edit-form` components provide a form-based UI that's metadata-driven. The components are automatically wired up to your record data, labels, and field-level help text. For more information, see [Work with Records Using Base Components](docs/component-library/documentation/en/lwc/lwc.data_get_user_input_intro).
285
+ When working with address fields such as with the `MailingAddress` field on Salesforce records, consider using the record form components. The `lightning-record-form`, `lightning-record-view-form`, and `lightning-record-edit-form` components provide a form-based UI that's metadata-driven. The components are automatically wired up to your record data, labels, and field-level help text. For more information, see [Work with Records Using Base Components](https://developer.salesforce.com/docs/platform/lwc/guide/data-get-user-input-intro).
286
286
 
287
- To create your own custom UI to work with Salesforce records, use `lightning-input-address` with the `lightning/ui*Api` wire adapters and functions, such as `getRecord` and `updateRecord`. For more information, see [Use the Wire Service with Base Components](docs/component-library/documentation/en/lwc/lwc.data_wire_base_components).
287
+ To create your own custom UI to work with Salesforce records, use `lightning-input-address` with the `lightning/ui*Api` wire adapters and functions, such as `getRecord` and `updateRecord`. For more information, see [Use the Wire Service with Base Components](https://developer.salesforce.com/docs/platform/lwc/guide/data-wire-base-components).
288
288
 
289
289
  To disable the fields so that users cannot interact with it, use the `disabled` attribute. If you want to prevent users from interacting with the country field only,
290
290
  disable it using the `country-disabled` attribute.
@@ -118,7 +118,7 @@ export default class InputName extends LightningElement {
118
118
  first-name={firstname}
119
119
  middle-name="Middleton"
120
120
  last-name="Doe"
121
- options={salutationOptions}
121
+ options={salutationOptions}
122
122
  onchange={handleChange}></lightning-input-name>
123
123
  ```
124
124
 
@@ -147,12 +147,12 @@ export default class InputNameBase extends LightningElement {
147
147
  }
148
148
  ```
149
149
 
150
- See the __Custom Events__ section for a list of `event.target` properties. For more information, see [Data Binding in a Template](docs/component-library/documentation/en/lwc/js_props_getter).
150
+ See the __Custom Events__ section for a list of `event.target` properties. For more information, see [Data Binding in a Template](https://developer.salesforce.com/docs/platform/lwc/guide/js-props-getter).
151
151
 
152
152
  #### Usage Considerations
153
153
 
154
154
  You can use custom labels that display translated values. For more information, see the
155
- [Access Static Resources, Labels, Internationalization Properties, and User IDs](docs/component-library/documentation/lwc/create_global_value_providers).
155
+ [Access Static Resources, Labels, Internationalization Properties, and User IDs](https://developer.salesforce.com/docs/platform/lwc/guide/create-global-value-providers).
156
156
 
157
157
  This component uses `button` elements for dropdown menus to comply with the [Lightning Design System combobox blueprint](https://www.lightningdesignsystem.com/components/combobox/#%22Input%22-markup) for select-only comboboxes.
158
158
 
@@ -218,4 +218,4 @@ The `change` event properties are as follows.
218
218
 
219
219
  #### See Also
220
220
 
221
- [Use Wire Service with Base Components](docs/component-library/documentation/lwc/lwc.data_wire_base_components)
221
+ [Use Wire Service with Base Components](https://developer.salesforce.com/docs/platform/lwc/guide/data-wire-base-components)
@@ -80,7 +80,7 @@ Here is an example using default values.
80
80
 
81
81
  #### Usage Considerations
82
82
 
83
- This component has usage differences from its Aura counterpart. See [Base Components: Aura Vs Lightning Web Components](docs/component-library/documentation/lwc/lwc.migrate_map_aura_lwc_components) in the Lightning Web Components Developer Guide.
83
+ This component has usage differences from its Aura counterpart. See [Base Components: Aura Vs Lightning Web Components](https://developer.salesforce.com/docs/platform/lwc/guide/migrate-map-aura-lwc-components) in the Lightning Web Components Developer Guide.
84
84
 
85
85
  #### Source Code
86
86
 
@@ -43,7 +43,7 @@
43
43
 
44
44
  /* Reassignment - lightning-icon */
45
45
  --slds-c-icon-color-foreground-default: var(--sds-g-color-neutral-base-80, #c9c9c9);
46
- --slds-c-icon-boundary-spacing-inline-end: 25px;
46
+ --slds-c-icon-boundary-spacing-inlineend: 25px;
47
47
  }
48
48
 
49
49
  /* TODO: bring in PostCSS fix and see if it fixes output CSS */
@@ -98,11 +98,11 @@
98
98
  }
99
99
 
100
100
  :host([data-render-mode="shadow"].slds-has-warning) .slds-indicator_unread {
101
- background-color: currentColor;
101
+ background-color: currentcolor;
102
102
  }
103
103
 
104
104
  :host([data-render-mode="shadow"].slds-has-warning) .slds-indicator_unsaved {
105
- color: currentColor;
105
+ color: currentcolor;
106
106
  }
107
107
 
108
108
  :host([data-render-mode="shadow"].slds-has-error) a:hover,:host([data-render-mode="shadow"].slds-has-error) a:focus,:host([data-render-mode="shadow"].slds-has-success) a:hover,:host([data-render-mode="shadow"].slds-has-success) a:focus,:host([data-render-mode="shadow"].slds-has-warning) a:hover,:host([data-render-mode="shadow"].slds-has-warning) a:focus {
@@ -3,7 +3,7 @@
3
3
  This document is about migrating existing modal implementations.
4
4
 
5
5
  ## **Creating a new LWC-based modal implementation?**
6
- * Starting in release 236, when utilizing LWC or Aura code, your team should use `LightningModal`
6
+ * Starting in release 236, when utilizing LWC or Aura code, your team should use `LightningModal`
7
7
  * Dive into the details here by [Creating a Modal Component](modal.md#creating-a-modal-component)
8
8
  * Or, take a look at some of our [Modal Code Examples](modal.md#modal-code-examples).
9
9
 
@@ -67,7 +67,7 @@ If you have an existing LWC custom modal that implements the HTML and CSS from t
67
67
  * Wrap the desired example tag within a `<template></template>` tag
68
68
  * For modal blueprints and variants, review the [Modal and supported variants](modal.md#modal-and-supported-variants) section.
69
69
  * `LightningModal` provides three helper components for header, body content, and footer sections. The `lightning-modal-body` is the only required component.
70
- * You don’t need to worry about setting any of the base SLDS modal CSS classes. These are set for you. If you’d like to further style your modal, review the modal [Style Hooks](modal.md#style-hooks) section
70
+ * You don’t need to worry about setting any of the base SLDS modal CSS classes. These are set for you. If you’d like to further style your modal, review the modal [Style Hooks](modal.md#style-hooks) section
71
71
  * Review our `LightningModal` documentation:
72
72
  * [Creating a Modal Component](modal.md#creating-a-modal-component)
73
73
  * [Opening a Modal Instance](modal.md#opening-a-modal-instance)
@@ -86,11 +86,11 @@ This section covers implementation differences between Aura modal solutions and
86
86
 
87
87
  * When setting up the config before opening the modal, either pass your content via custom written `@api` (see [Using the open() method](modal.md#using-the-open-method)), or set it statically within your template (see the [Base Modal](modal.md#base-modal) HTML template example)
88
88
  * If you don't want a header and title section, simply remove `lightning-modal-header`. You must then pass the required `label` value (for the accessible modal title) when opening the modal, for example `Modal.open({label: ‘Descriptive Modal Header’})`. See our [Headless Variant](modal.md#headless-variant) documentation, and [Modal Code Examples](modal.md#modal-code-examples). Same goes for the footer section, if you don’t want a footer, don't use `lightning-modal-footer`. Only `lightning-modal-body` is required.
89
- * **For specific events and event listeners availability** within `createPanel` or `createModal`, for example, `onBeforeShow`, `onAfterShow`, `onCreate` or `onDestroy`, see our section on [About Modal Events](modal.md#about-modal-events).
90
- * **Recommend:** create these as [custom events](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/events_create_dispatch)
91
- * **If you want to get element reference,** for example, `linkElement.querySelector(‘[data-my-link]’)` within the content you’ve set within your modal, utilize data attributes. For this example, `<a href=“#” data-my-link>`, rather than relying on ID references, since these dynamically change in LWC).
92
- * **Recommend:** See the note within the [ARIA attributes](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.create_components_accessibility_attributes) section.
93
- * If you need to style aspects of your modal, you can apply CSS styles directly to your markup within the helper components.
89
+ * **For specific events and event listeners availability** within `createPanel` or `createModal`, for example, `onBeforeShow`, `onAfterShow`, `onCreate` or `onDestroy`, see our section on [About Modal Events](modal.md#about-modal-events).
90
+ * **Recommend:** create these as [custom events](https://developer.salesforce.com/docs/platform/lwc/guide/events-create-dispatch)
91
+ * **If you want to get element reference,** for example, `linkElement.querySelector(‘[data-my-link]’)` within the content you’ve set within your modal, utilize data attributes. For this example, `<a href=“#” data-my-link>`, rather than relying on ID references, since these dynamically change in LWC).
92
+ * **Recommend:** See the note within the [ARIA Attributes](https://developer.salesforce.com/docs/platform/lwc/guide/create-components-accessibility-attributes#aria-attributes) section.
93
+ * If you need to style aspects of your modal, you can apply CSS styles directly to your markup within the helper components.
94
94
  * **Recommend:** See the example under [Directional Variant](modal.md#directional-variant) section.
95
95
  * If you need to support a modal with a [directional variant](https://www.lightningdesignsystem.com/components/modals/#Directional), please review our [Directional Variant](modal.md#directional-variant) documentation.
96
96
 
@@ -101,7 +101,7 @@ This section covers `@api` or attribute differences between Aura modal solutions
101
101
  #### Supported APIs
102
102
  See [ui:modal](https://git.soma.salesforce.com/aura/aura/tree/master/aura-components/src/main/components/ui/modal)
103
103
 
104
- * `title` attribute has been changed to the `label` attribute
104
+ * `title` attribute has been changed to the `label` attribute
105
105
  * You set the `label` attribute on the `lightning-modal-header` helper component or in the case of a headless modal, when you open the modal, you would set the `label` attribute when opening the modal. For example: `Modal.open({ label: ‘Modal Descriptive Title’ })`
106
106
  * `**LightningModal**` currently has only four official attributes A
107
107
  * `size` - to set the width of the modal
@@ -129,7 +129,7 @@ See [ui:modal](https://git.soma.salesforce.com/aura/aura/tree/master/aura-compon
129
129
 
130
130
  ## Migrating From `lightning-dialog`
131
131
 
132
- If you need to move an existing `lightning-dialog` implementation, you’ll need to consider these changes:
132
+ If you need to move an existing `lightning-dialog` implementation, you’ll need to consider these changes:
133
133
 
134
134
  ### Implementation Differences
135
135
 
@@ -322,7 +322,7 @@ A modal can only fire events captured by the component that opened it, not the m
322
322
 
323
323
  To capture modal events, attach them in the `.open()` method invoked by the component that opens the modal.
324
324
 
325
- Capturing modal events requires [Lightning Web Security (LWS)](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.security_lwsec_enable) to be enabled in the Salesforce org. See the **Modal Events with LWS and Lightning Locker** section for more information.
325
+ Capturing modal events requires [Lightning Web Security (LWS)](https://developer.salesforce.com/docs/platform/lwc/guide/security-lwsec-enable) to be enabled in the Salesforce org. See the **Modal Events with LWS and Lightning Locker** section for more information.
326
326
 
327
327
  For example, here's a custom `select` event dispatched from `MyModal`.
328
328
 
@@ -374,13 +374,13 @@ handleOpenModal() {
374
374
  }
375
375
  ```
376
376
 
377
- See [Create and Dispatch Events](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/events_create_dispatch) in the LWC Dev Guide for more information about events.
377
+ See [Create and Dispatch Events](https://developer.salesforce.com/docs/platform/lwc/guide/events-create-dispatch) in the LWC Dev Guide for more information about events.
378
378
 
379
379
  #### Modal Events with LWS and Lightning Locker
380
380
 
381
381
  Modal events work as expected when Lightning Web Security (LWS) is enabled within a Salesforce org, as described in the **Modal Events** section. If LWS isn't enabled in an org, Lightning Locker is in effect.
382
382
 
383
- LWS is replacing Lightning Locker over time and is already enabled in many customer orgs. New orgs have LWS enabled by default. To enable LWS, see [Enable Lightning Web Security in an Org](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/security_lwsec_enable) in the Lightning Web Components Developer Guide.
383
+ LWS is replacing Lightning Locker over time and is already enabled in many customer orgs. New orgs have LWS enabled by default. To enable LWS, see [Enable Lightning Web Security in an Org](https://developer.salesforce.com/docs/platform/lwc/guide/security-lwsec-enable) in the Lightning Web Components Developer Guide.
384
384
 
385
385
  Under Lightning Locker, when you fire events within `LightningModal`, the browser throws a `TypeError` related to `dispatchEvent`. If your modal component runs in an org that can’t enable LWS yet, the workaround is to wrap the code that calls `dispatchEvent` in a child component that extends `LightningElement`. Use the wrapper component as a child of one of the modal components in the modal template.
386
386
 
@@ -405,7 +405,7 @@ These extracting methods fit into the larger LWC Modal-to-Aura event workflow.
405
405
  4. Fire a separate event containing the LWC-processed event details and send it to the Aura parent component.
406
406
  5. Use an Aura-based event handler to handle and process the event.
407
407
 
408
- For more information, see [Send Events to an Enclosing Aura Component](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.events_sending_to_aura_components) and [Events Best Practices](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/events_best_practices).
408
+ For more information, see [Send Events to an Enclosing Aura Component](https://developer.salesforce.com/docs/platform/lwc/guide/events-sending-to-aura-components) and [Events Best Practices](https://developer.salesforce.com/docs/platform/lwc/guide/events-best-practices).
409
409
 
410
410
  Let's see this workflow in action. In this example, we'll create a button (`lightning-button`) that launches a modal (`LightningModal`) containing a tree grid component (`lightning-tree-grid`) with a button in each record row that automatically navigates our user to that record's page (`lightning-navigation`). This use case requires data passing between our LWC components and a parent Aura component.
411
411
 
@@ -560,7 +560,7 @@ The headerless variant of `LightningModal` has these additional requirements.
560
560
  - The `label` property is required for all variants of `LightningModal`. Assistive devices read the `label` value, even though the headerless modal variant doesn't display the label.
561
561
  - Because this variant doesn't use `lightning-modal-header`, you have to manually create an `<h1>` heading in `lightning-modal-body`. Provide accessible structure by starting with heading level `<h1>` and using levels up to `<h6>` appropriately. For more information, see [Semantic Structure, Headings on WebAim.org](https://webaim.org/techniques/semanticstructure/#headings).
562
562
 
563
- You can also create a full-screen modal component by setting the `size` attribute to `full`. This variant resizes the modal to the full width and height of the viewport on screens with 767 pixels or less, like mobile phone devices. On screens 768 pixels or larger, like desktop monitors or tablets, a `size=full` modal has the same behavior as a modal with `size=large` set.
563
+ You can also create a full-screen modal component by setting the `size` attribute to `full`. This variant resizes the modal to the full width and height of the viewport on screens up to 48em (~768 pixels or less), like mobile phone devices. On screens larger than 48em (~769 pixels or larger), like desktop monitors or tablets, a `size=full` modal has the same behavior as a modal with `size=large` set.
564
564
 
565
565
  The `LightningModal` component also supports the SLDS [Directional variant](https://www.lightningdesignsystem.com/components/modals/#Directional) modal blueprint pattern.
566
566
 
@@ -55,7 +55,6 @@ const MODAL_CLOSE_BUTTON_NORMAL_VARIANT = 'bare-inverse';
55
55
  const MODAL_CLOSE_BTN_CLASS = 'slds-modal__close';
56
56
  const MODAL_CLOSE_BTN_SELECTOR = `.${MODAL_CLOSE_BTN_CLASS}`;
57
57
  const MODAL_CLOSE_BTN_FULL_CLASS = 'slds-modal_full-close-button';
58
- const MODAL_CLOSE_BTN_ICON_BORDER_CLASS = 'slds-button_icon-border-filled';
59
58
  // modal screen size testing
60
59
  // utilized by full screen modal tests
61
60
  const SCREEN_SIZE_SMALL = 'SMALL';
@@ -79,13 +78,13 @@ const BODY_HEADLESS_SELECTOR = 'slds-modal__content_headless';
79
78
  const BODY_FOOTLESS_SELECTOR = 'slds-modal__content_footless';
80
79
 
81
80
  // modal size measurements and values
82
- const MODAL_FULL_SCREEN_SMALL_BREAKPOINT = 767;
81
+ const MODAL_FULL_SCREEN_SMALL_BREAKPOINT = 768;
83
82
  // <lightning-modal> element location, medium+ screen
84
83
  const MODAL_DEFAULT_PX_OFFSET_X = 25;
85
84
  const MODAL_DEFAULT_PX_OFFSET_Y = 50;
86
85
  // <lightning-modal> element location, full screen
87
86
  const MODAL_ELEM_FULL_PX_OFFSET_X = 0;
88
- const MODAL_ELEM_FULL_PX_OFFSET_Y = 52;
87
+ const MODAL_ELEM_FULL_PX_OFFSET_Y = 0;
89
88
  const MAX_HEIGHT = 'max-height';
90
89
  const MIN_HEIGHT = 'min-height';
91
90
  const MODAL_BODY_MIN_HEIGHT_PX = 80;
@@ -222,7 +221,6 @@ module.exports = {
222
221
  MODAL_CLOSE_BTN_CLASS,
223
222
  MODAL_CLOSE_BTN_SELECTOR,
224
223
  MODAL_CLOSE_BTN_FULL_CLASS,
225
- MODAL_CLOSE_BTN_ICON_BORDER_CLASS,
226
224
  MODAL_DATA_SELECTOR,
227
225
  MODAL_CLOSE_BUTTON_FULL_VARIANT,
228
226
  MODAL_CLOSE_BUTTON_NORMAL_VARIANT,