lightning-base-components 1.21.3-alpha → 1.21.4-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.
- package/metadata/raptor.json +49 -0
- package/package.json +88 -21
- package/scopedImports/@salesforce-label-LightningDatatable.showActions.js +1 -1
- package/scopedImports/@salesforce-label-LightningForm.controllerFieldsMessage.js +1 -0
- package/scopedImports/@salesforce-label-LightningForm.dependentFieldsHeader.js +1 -0
- package/scopedImports/@salesforce-label-LightningForm.dependentFieldsListHeading.js +1 -0
- package/scopedImports/@salesforce-label-LightningForm.generalDependentFieldsMessage.js +1 -0
- package/scopedImports/@salesforce-label-LightningForm.learnMore.js +1 -0
- package/scopedImports/@salesforce-label-LightningForm.okButton.js +1 -0
- package/scopedImports/@salesforce-label-LightningLookup.modalCancel.js +1 -0
- package/scopedImports/@salesforce-label-LightningLookup.modalSelect.js +1 -0
- package/scopedImports/@salesforce-label-LightningProgressIndicator.currentStage.js +1 -1
- package/scopedImports/@salesforce-label-LightningProgressIndicator.errorStage.js +1 -0
- package/scopedImports/@salesforce-label-LightningProgressIndicator.stageComplete.js +1 -1
- package/scopedImports/@salesforce-label-LightningProgressIndicator.stageNotStarted.js +1 -1
- package/src/lightning/avatar/avatar.html +1 -0
- package/src/lightning/badge/badge.html +3 -3
- package/src/lightning/baseCombobox/baseCombobox.html +4 -1
- package/src/lightning/baseCombobox/baseCombobox.js +3 -16
- package/src/lightning/button/__docs__/button.md +2 -1
- package/src/lightning/button/button.js +3 -4
- package/src/lightning/buttonIcon/__docs__/buttonIcon.md +1 -0
- package/src/lightning/buttonIcon/buttonIcon.html +1 -1
- package/src/lightning/buttonIcon/buttonIcon.js +18 -17
- package/src/lightning/buttonMenu/buttonMenu.css +5 -0
- package/src/lightning/buttonMenu/buttonMenu.js +2 -0
- package/src/lightning/colorPickerCustom/colorPickerCustom.js +12 -0
- package/src/lightning/colorPickerPanel/colorPickerPanel.js +11 -1
- package/src/lightning/combobox/combobox.html +1 -0
- package/src/lightning/datatable/__examples__disabled/customComponentWrapper/customComponentWrapper.html +11 -0
- package/src/lightning/datatable/__examples__disabled/customComponentWrapper/customComponentWrapper.js +25 -0
- package/src/lightning/datatable/__examples__disabled/customComponentWrapper/generateData.js +15 -0
- package/src/lightning/datatable/__examples__disabled/myCustomTypeDatatable/customInput.html +4 -0
- package/src/lightning/datatable/__examples__disabled/myCustomTypeDatatable/myCustomTypeDatatable.js +17 -0
- package/src/lightning/datatable/__examples__disabled/myCustomTypeDatatable/nestedSimpleComponentParent.html +7 -0
- package/src/lightning/datatable/__examples__disabled/simpleComponentNested/simpleComponentNested.html +9 -0
- package/src/lightning/datatable/__examples__disabled/simpleComponentNested/simpleComponentNested.js +6 -0
- package/src/lightning/datatable/autoWidthStrategy.js +8 -36
- package/src/lightning/datatable/columnResizer.js +51 -161
- package/src/lightning/datatable/columnWidthManager.js +25 -81
- package/src/lightning/datatable/columns.js +180 -302
- package/src/lightning/datatable/datatable.js +455 -441
- package/src/lightning/datatable/errors.js +17 -29
- package/src/lightning/datatable/fixedWidthStrategy.js +7 -22
- package/src/lightning/datatable/headerActions.js +8 -38
- package/src/lightning/datatable/indexes.js +42 -0
- package/src/lightning/datatable/infiniteLoading.js +16 -35
- package/src/lightning/datatable/inlineEdit.js +125 -156
- package/src/lightning/datatable/keyboard.js +226 -282
- package/src/lightning/datatable/renderManager.js +0 -4
- package/src/lightning/datatable/resizeObserver.js +4 -13
- package/src/lightning/datatable/rowLevelActions.js +2 -2
- package/src/lightning/datatable/rowNumber.js +21 -59
- package/src/lightning/datatable/rowSelection.js +95 -178
- package/src/lightning/datatable/rowSelectionShared.js +13 -27
- package/src/lightning/datatable/rows.js +171 -418
- package/src/lightning/datatable/sort.js +16 -75
- package/src/lightning/datatable/templates/div/div.html +12 -4
- package/src/lightning/datatable/templates/div/div.lbc.synthetic.css +10 -16
- package/src/lightning/datatable/templates/table/table.html +15 -5
- package/src/lightning/datatable/tree.js +17 -35
- package/src/lightning/datatable/types.js +10 -31
- package/src/lightning/datatable/utils.js +49 -24
- package/src/lightning/datatable/virtualization.js +2 -5
- package/src/lightning/datatable/widthManagerShared.js +0 -20
- package/src/lightning/datatable/wrapText.js +29 -60
- package/src/lightning/dualListbox/dualListbox.js +7 -8
- package/src/lightning/formattedName/formattedName.js +3 -2
- package/src/lightning/formattedName/formattedName.js-meta.xml +3 -0
- package/src/lightning/formattedNumber/formattedNumber.js +3 -2
- package/src/lightning/formattedNumber/formattedNumber.js-meta.xml +3 -0
- package/src/lightning/formattedRichText/richTextConfig.js +1 -0
- package/src/lightning/helptext/helptext.css +7 -0
- package/src/lightning/helptext/helptext.js +3 -4
- package/src/lightning/icon/icon.html +1 -1
- package/src/lightning/input/input.html +5 -0
- package/src/lightning/inputAddress/addressFormat.js +31 -4
- package/src/lightning/inputAddress/fieldsLayout.js +6 -0
- package/src/lightning/inputAddress/inputAddress.html +19 -1
- package/src/lightning/inputAddress/inputAddress.js +74 -3
- package/src/lightning/internationalizationLibrary/address/AddressFormat.js +553 -610
- package/src/lightning/lookupAddress/lookupAddress.html +6 -1
- package/src/lightning/lookupAddress/lookupAddress.js +25 -0
- package/src/lightning/modal/__docs__/modal.md +10 -1
- package/src/lightning/modal/__modalUtils__/modalContainerTestConstants.js +3 -7
- package/src/lightning/modal/__modalUtils__/modalContainerTestMethods.js +39 -133
- package/src/lightning/modal/__modalUtils__/modalContainerTestMockData.js +1 -1
- package/src/lightning/modal/modal.js +1 -1
- package/src/lightning/modalBase/modalBase.html +15 -10
- package/src/lightning/modalBase/modalBase.js +131 -146
- package/src/lightning/modalBody/modalBody.css +6 -0
- package/src/lightning/modalHeader/modalHeader.html +16 -4
- package/src/lightning/modalHeader/modalHeader.js +61 -14
- package/src/lightning/pill/link.html +1 -0
- package/src/lightning/pill/plain.html +1 -0
- package/src/lightning/pill/plainLink.html +1 -0
- package/src/lightning/primitiveBubble/primitiveBubble.js +42 -0
- package/src/lightning/primitiveDatatableCell/primitiveDatatableCell.js +1 -1
- package/src/lightning/primitiveHeaderActions/primitiveHeaderActions.html +1 -1
- package/src/lightning/primitiveHeaderActions/primitiveHeaderActions.js +13 -0
- package/src/lightning/primitiveHeaderFactory/nonsortableHeader.html +19 -6
- package/src/lightning/primitiveHeaderFactory/sortableHeader.html +3 -1
- package/src/lightning/primitiveResizeHandler/primitiveResizeHandler.css +11 -0
- package/src/lightning/primitiveResizeHandler/primitiveResizeHandler.html +2 -1
- package/src/lightning/primitiveResizeHandler/primitiveResizeHandler.js +1 -0
- package/src/lightning/progressStep/base.html +5 -6
- package/src/lightning/progressStep/progressStep.js +14 -9
- package/src/lightning/prompt/__docs__/prompt.md +1 -1
- package/src/lightning/shadowBaseClassPrivate/shadowBaseClassPrivate.js +0 -2
- package/src/lightning/sldsCommon/sldsCommon.css +134 -98
- package/src/lightning/sldsUtilsAlignment/sldsUtilsAlignment.css +1 -1
- package/src/lightning/sldsUtilsBox/sldsUtilsBox.css +14 -13
- package/src/lightning/sldsUtilsGrid/sldsUtilsGrid.css +95 -92
- package/src/lightning/sldsUtilsHyphenation/sldsUtilsHyphenation.css +1 -1
- package/src/lightning/sldsUtilsMargin/sldsUtilsMargin.css +77 -75
- package/src/lightning/sldsUtilsPadding/sldsUtilsPadding.css +73 -73
- package/src/lightning/sldsUtilsSizing/sldsUtilsSizing.css +552 -558
- package/src/lightning/sldsUtilsVisibility/sldsUtilsVisibility.css +2 -2
- package/src/lightning/staticMap/staticMap.js +3 -2
- package/src/lightning/tab/tab.js +6 -3
- package/src/lightning/tab/tab.js-meta.xml +3 -0
- package/src/lightning/tabBar/tabBar.js +10 -5
- package/src/lightning/tabset/tabset.html +2 -0
- package/src/lightning/tabset/tabset.js-meta.xml +3 -0
- package/src/lightning/textarea/textarea.js +6 -1
- package/src/lightning/toastContainer/__docs__/toastContainer.md +3 -2
- package/src/lightning/tooltipLibrary/tooltipLibrary.js +24 -15
- package/src/lightning/verticalNavigation/vertical-navigation.slds.css +14 -0
- package/src/lightning/verticalNavigation/verticalNavigation.css +1 -1
- package/src/lightning/verticalNavigation/verticalNavigation.html +1 -1
- package/src/lightning/verticalNavigation/verticalNavigation.js +66 -28
- package/src/lightning/verticalNavigation/verticalNavigation.js-meta.xml +3 -0
- package/src/lightning/verticalNavigationItem/vertical-navigation-item.slds.css +63 -0
- package/src/lightning/verticalNavigationItem/verticalNavigationItem.css +2 -3
- package/src/lightning/verticalNavigationItem/verticalNavigationItem.js +29 -15
- package/src/lightning/verticalNavigationItem/verticalNavigationItem.js-meta.xml +3 -0
- package/src/lightning/verticalNavigationItem/verticalNavigationItem.lbc.native.css +2 -0
- package/src/lightning/verticalNavigationItem/verticalNavigationItem.lbc.synthetic.css +3 -0
- package/src/lightning/verticalNavigationItemBadge/badge.slds.css +76 -0
- package/src/lightning/verticalNavigationItemBadge/vertical-navigation-item.slds.css +63 -0
- package/src/lightning/verticalNavigationItemBadge/verticalNavigationItemBadge.css +2 -3
- package/src/lightning/verticalNavigationItemBadge/verticalNavigationItemBadge.html +1 -1
- package/src/lightning/verticalNavigationItemBadge/verticalNavigationItemBadge.js +28 -15
- package/src/lightning/verticalNavigationItemBadge/verticalNavigationItemBadge.js-meta.xml +3 -0
- package/src/lightning/verticalNavigationItemBadge/verticalNavigationItemBadge.lbc.native.css +5 -0
- package/src/lightning/verticalNavigationItemBadge/verticalNavigationItemBadge.lbc.synthetic.css +3 -0
- package/src/lightning/verticalNavigationItemIcon/vertical-navigation-item.slds.css +63 -0
- package/src/lightning/verticalNavigationItemIcon/verticalNavigationItemIcon.css +2 -3
- package/src/lightning/verticalNavigationItemIcon/verticalNavigationItemIcon.js +29 -15
- package/src/lightning/verticalNavigationItemIcon/verticalNavigationItemIcon.js-meta.xml +3 -0
- package/src/lightning/verticalNavigationItemIcon/verticalNavigationItemIcon.lbc.native.css +3 -0
- package/src/lightning/verticalNavigationItemIcon/verticalNavigationItemIcon.lbc.synthetic.css +3 -0
- package/src/lightning/verticalNavigationOverflow/button.slds.css +503 -0
- package/src/lightning/verticalNavigationOverflow/vertical-navigation-item.slds.css +63 -0
- package/src/lightning/verticalNavigationOverflow/vertical-navigation-section.slds.css +17 -0
- package/src/lightning/verticalNavigationOverflow/verticalNavigationOverflow.css +2 -1
- package/src/lightning/verticalNavigationOverflow/verticalNavigationOverflow.html +2 -0
- package/src/lightning/verticalNavigationOverflow/verticalNavigationOverflow.js +18 -13
- package/src/lightning/verticalNavigationOverflow/verticalNavigationOverflow.js-meta.xml +3 -0
- package/src/lightning/verticalNavigationOverflow/verticalNavigationOverflow.lbc.native.css +5 -0
- package/src/lightning/verticalNavigationSection/vertical-navigation-section.slds.css +14 -14
- package/src/lightning/verticalNavigationSection/verticalNavigationSection.js-meta.xml +3 -0
- package/src/lightning/datatable/inlineEditShared.js +0 -26
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatableWrapper/customDatatableWrapper.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatableWrapper/customDatatableWrapper.js +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeDeleteRowBtn/customDatatypeDeleteRowBtn.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeDeleteRowBtn/customDatatypeDeleteRowBtn.js +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeLink/customDatatypeLink.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeLink/customDatatypeLink.js +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeNumber/customDatatypeNumber.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeNumber/customDatatypeNumber.js +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeRowOrderingBtn/customDatatypeRowOrderingBtn.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeRowOrderingBtn/customDatatypeRowOrderingBtn.js +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeTable/customDatatypeTable.js +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeTable/customLink.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeTable/customName.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeTable/customNumber.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeTable/customNumberEdit.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeTable/deleteRow.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeTable/iconPill.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customDatatypeTable/orderingButtons.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customNestedComponent/customNestedComponent.html +0 -0
- /package/src/lightning/datatable/{__examples__ → __examples__disabled}/customNestedComponent/customNestedComponent.js +0 -0
package/metadata/raptor.json
CHANGED
|
@@ -672,10 +672,12 @@
|
|
|
672
672
|
]
|
|
673
673
|
},
|
|
674
674
|
"commerceApi": {},
|
|
675
|
+
"commerceCatalogManagementApi": {},
|
|
675
676
|
"commerceChannelManagementApi": {},
|
|
676
677
|
"commerceConfigurationApi": {},
|
|
677
678
|
"commerceEsfApi": {},
|
|
678
679
|
"commerceExtensionApi": {},
|
|
680
|
+
"commerceGoalsAndRecommendationsApi": {},
|
|
679
681
|
"commerceManagementApi": {},
|
|
680
682
|
"commerceStoreManagementApi": {},
|
|
681
683
|
"communityInfoApi": {},
|
|
@@ -1025,6 +1027,9 @@
|
|
|
1025
1027
|
}
|
|
1026
1028
|
],
|
|
1027
1029
|
"methods": [
|
|
1030
|
+
{
|
|
1031
|
+
"name": "focus"
|
|
1032
|
+
},
|
|
1028
1033
|
{
|
|
1029
1034
|
"name": "reportValidity"
|
|
1030
1035
|
},
|
|
@@ -1746,6 +1751,7 @@
|
|
|
1746
1751
|
"industriesNlpServiceApi": {},
|
|
1747
1752
|
"industriesOmnianalyticsApi": {},
|
|
1748
1753
|
"industriesPricingApi": {},
|
|
1754
|
+
"industriesProgramMgmtApi": {},
|
|
1749
1755
|
"industriesPublicSectorApi": {},
|
|
1750
1756
|
"industriesRcgTenantmanagementApi": {},
|
|
1751
1757
|
"industriesReminderApi": {},
|
|
@@ -1756,6 +1762,7 @@
|
|
|
1756
1762
|
"industriesServiceExcellenceApi": {},
|
|
1757
1763
|
"industriesServiceprocessApi": {},
|
|
1758
1764
|
"industriesSustainabilityBeiApi": {},
|
|
1765
|
+
"industriesSustainabilityCsvAttachApi": {},
|
|
1759
1766
|
"industriesSustainabilityDgfApi": {},
|
|
1760
1767
|
"industriesSustainabilityRecalculateApi": {},
|
|
1761
1768
|
"industriesSustainabilityRecordLockUnlockApi": {},
|
|
@@ -2022,6 +2029,9 @@
|
|
|
2022
2029
|
{
|
|
2023
2030
|
"name": "showAddressLookup"
|
|
2024
2031
|
},
|
|
2032
|
+
{
|
|
2033
|
+
"name": "showCompactAddressLookup"
|
|
2034
|
+
},
|
|
2025
2035
|
{
|
|
2026
2036
|
"name": "street"
|
|
2027
2037
|
},
|
|
@@ -2031,6 +2041,15 @@
|
|
|
2031
2041
|
{
|
|
2032
2042
|
"name": "streetPlaceholder"
|
|
2033
2043
|
},
|
|
2044
|
+
{
|
|
2045
|
+
"name": "subpremise"
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"name": "subpremiseLabel"
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"name": "subpremisePlaceholder"
|
|
2052
|
+
},
|
|
2034
2053
|
{
|
|
2035
2054
|
"name": "validity"
|
|
2036
2055
|
},
|
|
@@ -2476,6 +2495,12 @@
|
|
|
2476
2495
|
"lookupAddress": {
|
|
2477
2496
|
"slotNames": [],
|
|
2478
2497
|
"properties": [
|
|
2498
|
+
{
|
|
2499
|
+
"name": "alwaysRender"
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"name": "autocomplete"
|
|
2503
|
+
},
|
|
2479
2504
|
{
|
|
2480
2505
|
"name": "disabled"
|
|
2481
2506
|
},
|
|
@@ -2485,9 +2510,15 @@
|
|
|
2485
2510
|
{
|
|
2486
2511
|
"name": "label"
|
|
2487
2512
|
},
|
|
2513
|
+
{
|
|
2514
|
+
"name": "name"
|
|
2515
|
+
},
|
|
2488
2516
|
{
|
|
2489
2517
|
"name": "placeholder"
|
|
2490
2518
|
},
|
|
2519
|
+
{
|
|
2520
|
+
"name": "required"
|
|
2521
|
+
},
|
|
2491
2522
|
{
|
|
2492
2523
|
"name": "variant"
|
|
2493
2524
|
}
|
|
@@ -3055,6 +3086,9 @@
|
|
|
3055
3086
|
"platformShowToastEvent": {
|
|
3056
3087
|
"minVersion": "45.0"
|
|
3057
3088
|
},
|
|
3089
|
+
"platformUtilityBarApi": {
|
|
3090
|
+
"minVersion": "61.0"
|
|
3091
|
+
},
|
|
3058
3092
|
"platformWorkspaceApi": {
|
|
3059
3093
|
"minVersion": "59.0"
|
|
3060
3094
|
},
|
|
@@ -5149,6 +5183,11 @@
|
|
|
5149
5183
|
{
|
|
5150
5184
|
"name": "name"
|
|
5151
5185
|
}
|
|
5186
|
+
],
|
|
5187
|
+
"staticProperties": [
|
|
5188
|
+
{
|
|
5189
|
+
"name": "validationOptOut"
|
|
5190
|
+
}
|
|
5152
5191
|
]
|
|
5153
5192
|
},
|
|
5154
5193
|
"verticalNavigationItemBadge": {
|
|
@@ -5170,6 +5209,11 @@
|
|
|
5170
5209
|
{
|
|
5171
5210
|
"name": "name"
|
|
5172
5211
|
}
|
|
5212
|
+
],
|
|
5213
|
+
"staticProperties": [
|
|
5214
|
+
{
|
|
5215
|
+
"name": "validationOptOut"
|
|
5216
|
+
}
|
|
5173
5217
|
]
|
|
5174
5218
|
},
|
|
5175
5219
|
"verticalNavigationItemIcon": {
|
|
@@ -5188,6 +5232,11 @@
|
|
|
5188
5232
|
{
|
|
5189
5233
|
"name": "name"
|
|
5190
5234
|
}
|
|
5235
|
+
],
|
|
5236
|
+
"staticProperties": [
|
|
5237
|
+
{
|
|
5238
|
+
"name": "validationOptOut"
|
|
5239
|
+
}
|
|
5191
5240
|
]
|
|
5192
5241
|
},
|
|
5193
5242
|
"verticalNavigationOverflow": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lightning-base-components",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.4-alpha",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"external",
|
|
@@ -70,6 +70,30 @@
|
|
|
70
70
|
"name": "@salesforce/label/LightningForm.reload",
|
|
71
71
|
"path": "scopedImports/@salesforce-label-LightningForm.reload.js"
|
|
72
72
|
},
|
|
73
|
+
{
|
|
74
|
+
"name": "@salesforce/label/LightningForm.generalDependentFieldsMessage",
|
|
75
|
+
"path": "scopedImports/@salesforce-label-LightningForm.generalDependentFieldsMessage.js"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "@salesforce/label/LightningForm.learnMore",
|
|
79
|
+
"path": "scopedImports/@salesforce-label-LightningForm.learnMore.js"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "@salesforce/label/LightningForm.dependentFieldsListHeading",
|
|
83
|
+
"path": "scopedImports/@salesforce-label-LightningForm.dependentFieldsListHeading.js"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "@salesforce/label/LightningForm.dependentFieldsHeader",
|
|
87
|
+
"path": "scopedImports/@salesforce-label-LightningForm.dependentFieldsHeader.js"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "@salesforce/label/LightningForm.controllerFieldsMessage",
|
|
91
|
+
"path": "scopedImports/@salesforce-label-LightningForm.controllerFieldsMessage.js"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "@salesforce/label/LightningForm.okButton",
|
|
95
|
+
"path": "scopedImports/@salesforce-label-LightningForm.okButton.js"
|
|
96
|
+
},
|
|
73
97
|
{
|
|
74
98
|
"name": "@salesforce/label/LightningErrorMessage.validityBadInput",
|
|
75
99
|
"path": "scopedImports/@salesforce-label-LightningErrorMessage.validityBadInput.js"
|
|
@@ -478,6 +502,10 @@
|
|
|
478
502
|
"name": "@salesforce/label/LightningProgressIndicator.stageNotStarted",
|
|
479
503
|
"path": "scopedImports/@salesforce-label-LightningProgressIndicator.stageNotStarted.js"
|
|
480
504
|
},
|
|
505
|
+
{
|
|
506
|
+
"name": "@salesforce/label/LightningProgressIndicator.errorStage",
|
|
507
|
+
"path": "scopedImports/@salesforce-label-LightningProgressIndicator.errorStage.js"
|
|
508
|
+
},
|
|
481
509
|
{
|
|
482
510
|
"name": "@salesforce/label/LightningListView.loadMore",
|
|
483
511
|
"path": "scopedImports/@salesforce-label-LightningListView.loadMore.js"
|
|
@@ -950,6 +978,14 @@
|
|
|
950
978
|
"name": "@salesforce/label/LightningLookup.noAccess",
|
|
951
979
|
"path": "scopedImports/@salesforce-label-LightningLookup.noAccess.js"
|
|
952
980
|
},
|
|
981
|
+
{
|
|
982
|
+
"name": "@salesforce/label/LightningLookup.modalSelect",
|
|
983
|
+
"path": "scopedImports/@salesforce-label-LightningLookup.modalSelect.js"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "@salesforce/label/LightningLookup.modalCancel",
|
|
987
|
+
"path": "scopedImports/@salesforce-label-LightningLookup.modalCancel.js"
|
|
988
|
+
},
|
|
953
989
|
{
|
|
954
990
|
"name": "@salesforce/label/LightningRecordPicker.invalidConfigurationErrorMessage",
|
|
955
991
|
"path": "scopedImports/@salesforce-label-LightningRecordPicker.invalidConfigurationErrorMessage.js"
|
|
@@ -1311,10 +1347,11 @@
|
|
|
1311
1347
|
"path": "scopedImports/@salesforce-internal-core.untrustedContentDomain.js"
|
|
1312
1348
|
}
|
|
1313
1349
|
],
|
|
1314
|
-
"
|
|
1350
|
+
"ssrRenderedComponents": [
|
|
1315
1351
|
"lightning-accordion",
|
|
1316
1352
|
"lightning-accordion-section",
|
|
1317
|
-
"lightning-
|
|
1353
|
+
"lightning-avatar",
|
|
1354
|
+
"lightning-badge",
|
|
1318
1355
|
"lightning-avatar",
|
|
1319
1356
|
"lightning-badge",
|
|
1320
1357
|
"lightning-base-combobox",
|
|
@@ -1332,52 +1369,39 @@
|
|
|
1332
1369
|
"lightning-color-picker-custom",
|
|
1333
1370
|
"lightning-color-picker-panel",
|
|
1334
1371
|
"lightning-combobox",
|
|
1335
|
-
"lightning-confirm",
|
|
1336
1372
|
"lightning-datepicker",
|
|
1337
1373
|
"lightning-datetimepicker",
|
|
1338
1374
|
"lightning-dual-listbox",
|
|
1339
1375
|
"lightning-dynamic-icon",
|
|
1376
|
+
"lightning-file-upload",
|
|
1340
1377
|
"lightning-focus-trap",
|
|
1341
1378
|
"lightning-formatted-address",
|
|
1342
1379
|
"lightning-formatted-date-time",
|
|
1343
1380
|
"lightning-formatted-email",
|
|
1344
1381
|
"lightning-formatted-location",
|
|
1382
|
+
"lightning-formatted-name",
|
|
1383
|
+
"lightning-formatted-number",
|
|
1345
1384
|
"lightning-formatted-phone",
|
|
1346
|
-
"lightning-formatted-rich-text",
|
|
1347
1385
|
"lightning-formatted-text",
|
|
1348
1386
|
"lightning-formatted-time",
|
|
1349
1387
|
"lightning-formatted-url",
|
|
1350
1388
|
"lightning-grouped-combobox",
|
|
1351
1389
|
"lightning-helptext",
|
|
1352
|
-
"lightning-icon",
|
|
1353
1390
|
"lightning-input-address",
|
|
1354
1391
|
"lightning-input-location",
|
|
1355
|
-
"lightning-input-rich-text",
|
|
1356
|
-
"lightning-interactive-dialog-base",
|
|
1357
1392
|
"lightning-layout",
|
|
1358
1393
|
"lightning-layout-item",
|
|
1359
1394
|
"lightning-lookup-address",
|
|
1360
1395
|
"lightning-menu-divider",
|
|
1361
1396
|
"lightning-menu-item",
|
|
1362
1397
|
"lightning-menu-subheader",
|
|
1363
|
-
"lightning-modal",
|
|
1364
|
-
"lightning-modal-base",
|
|
1365
|
-
"lightning-modal-body",
|
|
1366
|
-
"lightning-modal-footer",
|
|
1367
|
-
"lightning-modal-header",
|
|
1368
|
-
"lightning-overlay",
|
|
1369
|
-
"lightning-overlay-container",
|
|
1370
1398
|
"lightning-picklist",
|
|
1371
1399
|
"lightning-pill",
|
|
1372
1400
|
"lightning-pill-container",
|
|
1373
|
-
"lightning-popup",
|
|
1374
|
-
"lightning-popup-source",
|
|
1375
1401
|
"lightning-progress-bar",
|
|
1376
1402
|
"lightning-progress-ring",
|
|
1377
1403
|
"lightning-primitive-bubble",
|
|
1378
1404
|
"lightning-primitive-button",
|
|
1379
|
-
"lightning-primitive-icon",
|
|
1380
|
-
"lightning-primitive-iframe",
|
|
1381
1405
|
"lightning-primitive-input-checkbox",
|
|
1382
1406
|
"lightning-primitive-input-checkbox-button",
|
|
1383
1407
|
"lightning-primitive-input-color",
|
|
@@ -1390,10 +1414,45 @@
|
|
|
1390
1414
|
"lightning-rich-text-toolbar-button-group",
|
|
1391
1415
|
"lightning-select",
|
|
1392
1416
|
"lightning-spinner",
|
|
1417
|
+
"lightning-tab",
|
|
1418
|
+
"lightning-tab-bar",
|
|
1419
|
+
"lightning-tab-set",
|
|
1420
|
+
"lightning-textarea",
|
|
1421
|
+
"lightning-timepicker",
|
|
1422
|
+
"lightning-vertical-navigation",
|
|
1423
|
+
"lightning-vertical-navigation-item",
|
|
1424
|
+
"lightning-vertical-navigation-item-badge",
|
|
1425
|
+
"lightning-vertical-navigation-item-icon",
|
|
1426
|
+
"lightning-vertical-navigation-overflow",
|
|
1427
|
+
"lightning-vertical-navigation-section"
|
|
1428
|
+
],
|
|
1429
|
+
"ssrSafeComponents": [
|
|
1430
|
+
"lightning-alert",
|
|
1431
|
+
"lightning-confirm",
|
|
1432
|
+
"lightning-formatted-rich-text",
|
|
1433
|
+
"lightning-icon",
|
|
1434
|
+
"lightning-input-rich-text",
|
|
1435
|
+
"lightning-interactive-dialog-base",
|
|
1436
|
+
"lightning-modal",
|
|
1437
|
+
"lightning-modal-base",
|
|
1438
|
+
"lightning-modal-body",
|
|
1439
|
+
"lightning-modal-footer",
|
|
1440
|
+
"lightning-modal-header",
|
|
1441
|
+
"lightning-overlay",
|
|
1442
|
+
"lightning-overlay-container",
|
|
1443
|
+
"lightning-popup",
|
|
1444
|
+
"lightning-popup-source",
|
|
1445
|
+
"lightning-primitive-icon",
|
|
1446
|
+
"lightning-primitive-iframe",
|
|
1447
|
+
"lightning-static-map",
|
|
1393
1448
|
"lightning-toast",
|
|
1394
1449
|
"lightning-toast-container",
|
|
1395
|
-
"lightning-
|
|
1396
|
-
"lightning-
|
|
1450
|
+
"lightning-vertical-navigation",
|
|
1451
|
+
"lightning-vertical-navigation-item",
|
|
1452
|
+
"lightning-vertical-navigation-item-badge",
|
|
1453
|
+
"lightning-vertical-navigation-item-icon",
|
|
1454
|
+
"lightning-vertical-navigation-overflow",
|
|
1455
|
+
"lightning-vertical-navigation-section"
|
|
1397
1456
|
],
|
|
1398
1457
|
"nativeShadowEnabledComponents": [
|
|
1399
1458
|
"lightning-accordion",
|
|
@@ -1423,11 +1482,14 @@
|
|
|
1423
1482
|
"lightning-datetimepicker",
|
|
1424
1483
|
"lightning-dual-listbox",
|
|
1425
1484
|
"lightning-dynamic-icon",
|
|
1485
|
+
"lightning-file-upload",
|
|
1426
1486
|
"lightning-focus-trap",
|
|
1427
1487
|
"lightning-formatted-address",
|
|
1428
1488
|
"lightning-formatted-date-time",
|
|
1429
1489
|
"lightning-formatted-email",
|
|
1430
1490
|
"lightning-formatted-location",
|
|
1491
|
+
"lightning-formatted-name",
|
|
1492
|
+
"lightning-formatted-number",
|
|
1431
1493
|
"lightning-formatted-phone",
|
|
1432
1494
|
"lightning-formatted-rich-text",
|
|
1433
1495
|
"lightning-formatted-text",
|
|
@@ -1477,6 +1539,7 @@
|
|
|
1477
1539
|
"lightning-rich-text-toolbar-button-group",
|
|
1478
1540
|
"lightning-select",
|
|
1479
1541
|
"lightning-spinner",
|
|
1542
|
+
"lightning-static-map",
|
|
1480
1543
|
"lightning-tab",
|
|
1481
1544
|
"lightning-tab-bar",
|
|
1482
1545
|
"lightning-tabset",
|
|
@@ -1484,6 +1547,10 @@
|
|
|
1484
1547
|
"lightning-toast-container",
|
|
1485
1548
|
"lightning-timepicker",
|
|
1486
1549
|
"lightning-vertical-navigation",
|
|
1550
|
+
"lightning-vertical-navigation-item",
|
|
1551
|
+
"lightning-vertical-navigation-item-badge",
|
|
1552
|
+
"lightning-vertical-navigation-item-icon",
|
|
1553
|
+
"lightning-vertical-navigation-overflow",
|
|
1487
1554
|
"lightning-vertical-navigation-section"
|
|
1488
1555
|
],
|
|
1489
1556
|
"bestPerformanceTests": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default 'Show actions';
|
|
1
|
+
export default 'Show {0} column actions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'A dependent field\'s value can change when you update the value of its controlling field.';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'Dependent Fields';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'The dependent fields are:';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'This form contains dependent fields.';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'Learn more';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'Got It';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'Cancel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'Select';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default 'Current Stage';
|
|
1
|
+
export default '{0} - Current Stage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '{0} - Error';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default 'Stage Complete';
|
|
1
|
+
export default '{0} - Stage Complete';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default 'Stage Not Started';
|
|
1
|
+
export default '{0} - Stage Not Started';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<span part="badge">
|
|
2
|
+
<span part="badge" exportparts="icon">
|
|
3
3
|
<template if:false={isIconBeforeLabel}>
|
|
4
4
|
{label}
|
|
5
5
|
</template>
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
<template if:true={iconName}>
|
|
8
8
|
<span class={computedClass}>
|
|
9
9
|
<span class="slds-icon_container slds-current-color" title={iconAlternativeText}>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</span>
|
|
12
12
|
</span>
|
|
13
13
|
</template>
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
<template if:true={isIconBeforeLabel}>
|
|
16
16
|
{label}
|
|
17
17
|
</template>
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
placeholder={computedPlaceholder}
|
|
30
30
|
maxlength={inputMaxlength}
|
|
31
31
|
disabled={disabled}
|
|
32
|
+
aria-disabled={disabled}
|
|
32
33
|
aria-readonly={_inputAriaReadOnly}
|
|
33
34
|
aria-autocomplete={computedAriaAutocomplete}
|
|
34
35
|
aria-owns="dropdown-element"
|
|
@@ -54,7 +55,8 @@
|
|
|
54
55
|
role={customRole}
|
|
55
56
|
data-value={computedInputValue}
|
|
56
57
|
disabled={disabled}
|
|
57
|
-
aria-
|
|
58
|
+
aria-disabled={disabled}
|
|
59
|
+
aria-label={inputLabel}
|
|
58
60
|
aria-required={required}
|
|
59
61
|
onfocus={handleFocus}
|
|
60
62
|
onkeydown={handleInputKeyDown}
|
|
@@ -115,6 +117,7 @@
|
|
|
115
117
|
item={item}
|
|
116
118
|
id={item.id}
|
|
117
119
|
data-item-id={item.id}
|
|
120
|
+
exportparts="option"
|
|
118
121
|
aria-checked={item.checked}
|
|
119
122
|
key={item.value}
|
|
120
123
|
data-value={item.value}
|
|
@@ -5,10 +5,10 @@ import labelPillCloseButtonAlternativeText from '@salesforce/label/LightningComb
|
|
|
5
5
|
import labelPlaceholder from '@salesforce/label/LightningCombobox.placeholder';
|
|
6
6
|
import { api, track } from 'lwc';
|
|
7
7
|
import LightningShadowBaseClass from 'lightning/shadowBaseClassPrivate';
|
|
8
|
-
import labelCurrentSelection from '@salesforce/label/LightningCombobox.currentSelection';
|
|
8
|
+
// import labelCurrentSelection from '@salesforce/label/LightningCombobox.currentSelection';
|
|
9
9
|
import { handleKeyDownOnInput } from './keyboard';
|
|
10
10
|
import { BaseComboboxEvents } from './baseComboboxEvents';
|
|
11
|
-
import { classSet
|
|
11
|
+
import { classSet } from 'lightning/utils';
|
|
12
12
|
import {
|
|
13
13
|
assert,
|
|
14
14
|
computeAriaInvalid,
|
|
@@ -450,9 +450,7 @@ export default class LightningBaseCombobox extends LightningShadowBaseClass {
|
|
|
450
450
|
return;
|
|
451
451
|
}
|
|
452
452
|
synchronizeAttrs(input, {
|
|
453
|
-
[ARIA_LABEL]: this.
|
|
454
|
-
? this.computedButtonTriggerAriaLabel
|
|
455
|
-
: this.inputLabel,
|
|
453
|
+
[ARIA_LABEL]: this.inputLabel,
|
|
456
454
|
[ARIA_INVALID]: this.computedAriaInvalid,
|
|
457
455
|
[ARIA_ACTIVEDESCENDANT]: this.computedAriaActiveDescendant,
|
|
458
456
|
});
|
|
@@ -586,17 +584,6 @@ export default class LightningBaseCombobox extends LightningShadowBaseClass {
|
|
|
586
584
|
return this.hasInputPill ? this.inputPill.label : this.inputText;
|
|
587
585
|
}
|
|
588
586
|
|
|
589
|
-
get computedButtonTriggerAriaLabel() {
|
|
590
|
-
const label = this.inputLabel;
|
|
591
|
-
const value = this.computedInputValue || this.computedPlaceholder;
|
|
592
|
-
|
|
593
|
-
if (!label) {
|
|
594
|
-
return value;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
return formatLabel(labelCurrentSelection, label, value);
|
|
598
|
-
}
|
|
599
|
-
|
|
600
587
|
handleListboxScroll(event) {
|
|
601
588
|
// We don't want this to bubble up to the modal which due to event retargeting wouldn't be able
|
|
602
589
|
// to know what is actually being scrolled and thus may lead to the scrolling of the modal
|
|
@@ -274,8 +274,9 @@ Use the following accessibility and `aria` attributes on `lightning-button`.
|
|
|
274
274
|
| aria-expanded | boolean | Indicates whether a collapsible element that's controlled by the button is expanded or collapsed. To reference the controlled element, use `aria-controls`. |
|
|
275
275
|
| aria-haspopup | token | Indicates that the button has an interactive popup element. Valid values are 'true', 'dialog', 'menu', 'listbox', 'tree', and 'grid'. |
|
|
276
276
|
| aria-label | string | Provides an assistive label where a visible label cannot be used. |
|
|
277
|
-
| aria-labelledby | ID reference list | Specifies the ID or list of IDs of the element or elements that contain visible descriptive text to describe the button.
|
|
277
|
+
| aria-labelledby | ID reference list | Specifies the ID or list of IDs of the element or elements that contain visible descriptive text to describe the button. |
|
|
278
278
|
| aria-live | token | Indicates the button can dynamically update without a page reload, and specifies how the change is announced by assistive technologies. Possible values include `off`, `polite`, and `assertive`. The default is `off`. For the screen reader to announce changes when the user is idle, use `polite`. For immediate notifications, use `assertive`. |
|
|
279
|
+
| tabindex | integer | Specifies whether the button is focusable during tab navigation. Set tab index to -1 to prevent focus on the button during tab navigation. The default value is 0, which makes the button focusable during tab navigation. For more information see [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex). |
|
|
279
280
|
|
|
280
281
|
For more information, see the [WAI-ARIA Specification](https://www.w3.org/TR/wai-aria/).
|
|
281
282
|
|
|
@@ -43,10 +43,9 @@ export default class LightningButton extends LightningPrimitiveButton {
|
|
|
43
43
|
@api label;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* Reserved for internal use only.
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* be set to 0 if button should be focused.
|
|
46
|
+
* Reserved for internal use only. Use the global tabindex attribute instead.
|
|
47
|
+
* Set tab index to -1 to prevent focus on the button during tab navigation.
|
|
48
|
+
* The default value is 0, which makes the button focusable during tab navigation.
|
|
50
49
|
* @type {number}
|
|
51
50
|
*/
|
|
52
51
|
@api tabIndex;
|
|
@@ -205,6 +205,7 @@ Use the following accessibility and `aria` attributes on `lightning-button-icon`
|
|
|
205
205
|
| aria-haspopup | token | Indicates that the button has an interactive popup element. Valid values are 'true', 'dialog', 'menu', 'listbox', 'tree', and 'grid'. To create a button that displays a list of menu items when clicked, use `lightning-button-menu` instead. |
|
|
206
206
|
| aria-label | string | Provides an assistive label where a visible label cannot be used. |
|
|
207
207
|
| aria-live | token | Indicates the button can dynamically update without a page reload, and specifies how the change is announced by assistive technologies. Possible values include `off`, `polite`, and `assertive`. The default is `off`. For the screen reader to announce changes when the user is idle, use `polite`. For immediate notifications, use `assertive`. |
|
|
208
|
+
| tabindex | integer | Specifies whether the button is focusable during tab navigation. Set tab index to -1 to prevent focus on the button during tab navigation. The default value is 0, which makes the button focusable during tab navigation. For more information, see [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex). |
|
|
208
209
|
|
|
209
210
|
For more information, see the [WAI-ARIA Specification](https://www.w3.org/TR/wai-aria/).
|
|
210
211
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
part="button button-icon"
|
|
17
17
|
tabindex={tabIndex}>
|
|
18
18
|
|
|
19
|
-
<lightning-primitive-icon icon-name={iconName} svg-class={computedIconClass} variant="bare"></lightning-primitive-icon>
|
|
19
|
+
<lightning-primitive-icon icon-name={iconName} svg-class={computedIconClass} variant="bare" exportparts="icon"></lightning-primitive-icon>
|
|
20
20
|
|
|
21
21
|
<template if:true={alternativeText}>
|
|
22
22
|
<span class="slds-assistive-text">{alternativeText}</span>
|
|
@@ -35,14 +35,15 @@ export default class LightningButtonIcon extends LightningPrimitiveButton {
|
|
|
35
35
|
@api value;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* Reserved for internal use only.
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* be set to 0 if button should be focused.
|
|
38
|
+
* Reserved for internal use only. Use the global tabindex attribute instead.
|
|
39
|
+
* Set tab index to -1 to prevent focus on the button during tab navigation.
|
|
40
|
+
* The default value is 0, which makes the button focusable during tab navigation.
|
|
42
41
|
* @type {number}
|
|
43
42
|
*/
|
|
44
43
|
@api tabIndex;
|
|
45
44
|
|
|
45
|
+
_variant = DEFAULT_VARIANT;
|
|
46
|
+
|
|
46
47
|
/**
|
|
47
48
|
* The variant changes the appearance of button-icon.
|
|
48
49
|
* Accepted variants include bare, container, brand, border, border-filled, bare-inverse, and border-inverse.
|
|
@@ -51,11 +52,11 @@ export default class LightningButtonIcon extends LightningPrimitiveButton {
|
|
|
51
52
|
* @type {string}
|
|
52
53
|
* @default border
|
|
53
54
|
*/
|
|
54
|
-
_variant = DEFAULT_VARIANT;
|
|
55
55
|
@api
|
|
56
56
|
get variant() {
|
|
57
57
|
return this._originalVariant;
|
|
58
58
|
}
|
|
59
|
+
|
|
59
60
|
set variant(val) {
|
|
60
61
|
this._originalVariant = val;
|
|
61
62
|
this._variant = this.normalizeVariant(val);
|
|
@@ -82,6 +83,8 @@ export default class LightningButtonIcon extends LightningPrimitiveButton {
|
|
|
82
83
|
*/
|
|
83
84
|
@api iconClass;
|
|
84
85
|
|
|
86
|
+
_size = DEFAULT_SIZE;
|
|
87
|
+
|
|
85
88
|
/**
|
|
86
89
|
* The size of the button-icon. For the bare variant, options include x-small, small, medium, and large.
|
|
87
90
|
* For non-bare variants, options include xx-small, x-small, small, and medium.
|
|
@@ -90,8 +93,6 @@ export default class LightningButtonIcon extends LightningPrimitiveButton {
|
|
|
90
93
|
* @type {string}
|
|
91
94
|
* @default medium
|
|
92
95
|
*/
|
|
93
|
-
_size = DEFAULT_SIZE;
|
|
94
|
-
|
|
95
96
|
@api
|
|
96
97
|
get size() {
|
|
97
98
|
return this._originalSize;
|
|
@@ -119,16 +120,6 @@ export default class LightningButtonIcon extends LightningPrimitiveButton {
|
|
|
119
120
|
*/
|
|
120
121
|
@api alternativeText;
|
|
121
122
|
|
|
122
|
-
// remove-next-line-for-c-namespace
|
|
123
|
-
set tooltip(value) {
|
|
124
|
-
this.tooltipValue = value;
|
|
125
|
-
if (this._tooltip) {
|
|
126
|
-
this._tooltip.value = value;
|
|
127
|
-
} else if (value && this.rendered) {
|
|
128
|
-
this.createTooltip(value);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
123
|
// remove-next-line-for-c-namespace
|
|
133
124
|
/**
|
|
134
125
|
* Text to display when the user mouses over or focuses on the button.
|
|
@@ -141,6 +132,16 @@ export default class LightningButtonIcon extends LightningPrimitiveButton {
|
|
|
141
132
|
return this._tooltip ? this._tooltip.value : undefined;
|
|
142
133
|
}
|
|
143
134
|
|
|
135
|
+
// remove-next-line-for-c-namespace
|
|
136
|
+
set tooltip(value) {
|
|
137
|
+
this.tooltipValue = value;
|
|
138
|
+
if (this._tooltip) {
|
|
139
|
+
this._tooltip.value = value;
|
|
140
|
+
} else if (value && this.rendered) {
|
|
141
|
+
this.createTooltip(value);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
144
145
|
// remove-next-line-for-c-namespace
|
|
145
146
|
_tooltip = null;
|
|
146
147
|
tooltipValue = null;
|
|
@@ -473,6 +473,8 @@ export default class LightningButtonMenu extends LightningShadowBaseClass {
|
|
|
473
473
|
this.variant === 'border' && isDropdownIcon,
|
|
474
474
|
'slds-button_icon-border-filled':
|
|
475
475
|
this.variant === 'border-filled',
|
|
476
|
+
'fix-slds-button_icon-border-filled':
|
|
477
|
+
this.variant === 'border-filled' && this.groupOrder !== '',
|
|
476
478
|
'slds-button_icon-border-inverse':
|
|
477
479
|
this.variant === 'border-inverse',
|
|
478
480
|
'slds-button_icon-inverse': this.variant === 'bare-inverse',
|