lightning-base-components 1.17.3-alpha → 1.17.5-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 +125 -2
- package/package.json +17 -1
- package/scopedImports/@salesforce-label-LightningInput.mailingAddressFieldsUpdateText.js +1 -0
- package/scopedImports/@salesforce-label-LightningToast.genericNavigationAssistiveText.js +1 -0
- package/scopedImports/@salesforce-label-LightningToast.macNavigationAssistiveText.js +1 -0
- package/src/lightning/ariaObserver/__examples__/connect/connect.html +19 -0
- package/src/lightning/ariaObserver/__examples__/connect/connect.js +10 -0
- package/src/lightning/ariaObserver/__examples__/connectChild/connectChild.html +3 -0
- package/src/lightning/ariaObserver/__examples__/connectChild/connectChild.js +45 -0
- package/src/lightning/ariaObserver/ariaObserver.js +16 -2
- package/src/lightning/baseCombobox/baseCombobox.js +11 -3
- package/src/lightning/baseCombobox/keyboard.js +3 -0
- package/src/lightning/breadcrumb/breadcrumb.css +3 -0
- package/src/lightning/breadcrumb/breadcrumb.html +1 -1
- package/src/lightning/breadcrumb/breadcrumb.slds.css +25 -0
- package/src/lightning/breadcrumbs/breadcrumbs.css +3 -0
- package/src/lightning/breadcrumbs/breadcrumbs.html +1 -1
- package/src/lightning/breadcrumbs/breadcrumbs.slds.css +33 -0
- package/src/lightning/button/button.html +2 -1
- package/src/lightning/button/button.js +9 -0
- package/src/lightning/buttonIcon/button-icon.slds.css +5 -1
- package/src/lightning/buttonIcon/buttonIcon.html +2 -1
- package/src/lightning/buttonIcon/buttonIcon.js +10 -1
- package/src/lightning/buttonIconStateful/button-icon-stateful.slds.css +5 -1
- package/src/lightning/dualListbox/dual-listbox.slds.css +200 -0
- package/src/lightning/dualListbox/dualListbox.css +3 -1
- package/src/lightning/dualListbox/dualListbox.html +2 -2
- package/src/lightning/dualListbox/dualListbox.js +2 -0
- package/src/lightning/dualListbox/form-element.slds.css +232 -0
- package/src/lightning/dynamicIcon/dynamic-icon-ellie.slds.css +180 -0
- package/src/lightning/dynamicIcon/dynamic-icon-eq.slds.css +63 -0
- package/src/lightning/dynamicIcon/dynamic-icon-score.slds.css +46 -0
- package/src/lightning/dynamicIcon/dynamic-icon-strength.slds.css +122 -0
- package/src/lightning/dynamicIcon/dynamic-icon-trend.slds.css +117 -0
- package/src/lightning/dynamicIcon/dynamic-icon-waffle.slds.css +177 -0
- package/src/lightning/dynamicIcon/ellie.css +1 -0
- package/src/lightning/dynamicIcon/eq.css +1 -0
- package/src/lightning/dynamicIcon/score.css +1 -0
- package/src/lightning/dynamicIcon/strength.css +1 -0
- package/src/lightning/dynamicIcon/trend.css +1 -0
- package/src/lightning/dynamicIcon/waffle.css +1 -0
- package/src/lightning/f6Controller/f6Controller.js +382 -0
- package/src/lightning/f6Controller/f6Controller.js-meta.xml +4 -0
- package/src/lightning/formattedRichText/formattedRichText.js +4 -3
- package/src/lightning/helptext/form-element.slds.css +232 -0
- package/src/lightning/helptext/help-text.slds.css +5 -1
- package/src/lightning/helptext/helptext.css +2 -1
- package/src/lightning/helptext/helptext.html +1 -0
- package/src/lightning/helptext/helptext.js +9 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/bill_of_materials.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/buyer_group_qualifier.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/datashare_target.html +9 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/datashares.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/disclosure_and_compliance.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/document_preview.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/facility_bed.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/market.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/mulesoft.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/price_sheet.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/travel_mode.html +2 -2
- package/src/lightning/iconSvgTemplates/buildTemplates/templates.js +34 -1
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/add_source.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/app_web_messaging.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/bookmark_stroke.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/buyer_group_qualifier.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/document_preview.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/expired.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/favorite_alt.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/heart.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/hourglass.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/integration.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/market.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/more.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/mulesoft.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/notification_off.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/notification_snoozed.html +9 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/profile_alt.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/promotion_tiers.html +10 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/sender_email.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/service_appointment.html +13 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/service_report.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/toggle_off.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/toggle_on.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/your_account.html +10 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/bill_of_materials.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/buyer_group_qualifier.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/datashare_target.html +9 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/datashares.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/disclosure_and_compliance.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/document_preview.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/facility_bed.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/market.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/mulesoft.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/price_sheet.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/travel_mode.html +2 -2
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/templates.js +34 -1
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/add_source.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/app_web_messaging.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/bookmark_stroke.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/buyer_group_qualifier.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/document_preview.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/expired.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/favorite_alt.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/heart.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/hourglass.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/integration.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/market.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/more.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/mulesoft.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/notification_off.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/notification_snoozed.html +9 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/profile_alt.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/promotion_tiers.html +10 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/sender_email.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/service_appointment.html +13 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/service_report.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/toggle_off.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/toggle_on.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/your_account.html +10 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/bill_of_materials.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/buyer_group_qualifier.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/datashare_target.html +9 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/datashares.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/disclosure_and_compliance.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/document_preview.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/facility_bed.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/market.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/mulesoft.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/price_sheet.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/travel_mode.html +2 -2
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/templates.js +11 -1
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/bill_of_materials.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/buyer_group_qualifier.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/datashare_target.html +9 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/datashares.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/disclosure_and_compliance.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/document_preview.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/facility_bed.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/market.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/mulesoft.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/price_sheet.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/travel_mode.html +2 -2
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/templates.js +11 -1
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/templates.js +24 -1
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/add_source.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/app_web_messaging.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/bookmark_stroke.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/buyer_group_qualifier.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/document_preview.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/expired.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/favorite_alt.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/heart.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/hourglass.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/integration.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/market.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/more.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/mulesoft.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/notification_off.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/notification_snoozed.html +9 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/profile_alt.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/promotion_tiers.html +10 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/sender_email.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/service_appointment.html +13 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/service_report.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/toggle_off.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/toggle_on.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/your_account.html +10 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/templates.js +24 -1
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/add_source.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/app_web_messaging.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/bookmark_stroke.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/buyer_group_qualifier.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/document_preview.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/expired.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/favorite_alt.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/heart.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/hourglass.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/integration.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/market.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/more.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/mulesoft.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/notification_off.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/notification_snoozed.html +9 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/profile_alt.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/promotion_tiers.html +10 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/sender_email.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/service_appointment.html +13 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/service_report.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/toggle_off.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/toggle_on.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/your_account.html +10 -0
- package/src/lightning/input/input-text.slds.css +1 -1
- package/src/lightning/input/input.html +3 -3
- package/src/lightning/input/input.js +38 -2
- package/src/lightning/inputAddress/__docs__/inputAddress.md +3 -0
- package/src/lightning/inputAddress/inputAddress.html +1 -0
- package/src/lightning/inputAddress/inputAddress.js +6 -0
- package/src/lightning/modal/__examples__disabled/allform/allform.html +1 -1
- package/src/lightning/modal/__examples__disabled/allform/allform.js +1 -1
- package/src/lightning/modal/__examples__disabled/allformfull/allformfull.css +7 -0
- package/src/lightning/modal/__examples__disabled/allformfull/allformfull.html +9 -0
- package/src/lightning/modal/__examples__disabled/allformfull/allformfull.js +49 -0
- package/src/lightning/modal/__examples__disabled/demoallformfull/demoallformfull.css +3 -0
- package/src/lightning/modal/__examples__disabled/demoallformfull/demoallformfull.html +146 -0
- package/src/lightning/modal/__examples__disabled/demoallformfull/demoallformfull.js +240 -0
- package/src/lightning/modalBase/modalBase.css +1 -1
- package/src/lightning/modalBase/modalBase.html +1 -1
- package/src/lightning/modalBase/modalBase.js +180 -45
- package/src/lightning/modalBody/modalBody.js +133 -18
- package/src/lightning/modalFooter/modalFooter.js +57 -1
- package/src/lightning/navigation/__docs__/navigation.md +1 -1
- package/src/lightning/popup/popover.slds.css +121 -0
- package/src/lightning/popup/popup.css +3 -0
- package/src/lightning/positionLibrary/direction.js +10 -17
- package/src/lightning/primitiveBubble/primitiveBubble.js +16 -1
- package/src/lightning/select/__docs__/select.md +9 -0
- package/src/lightning/select/__examples__/disabled/disabled.html +10 -0
- package/src/lightning/select/__examples__/disabled/disabled.js +27 -0
- package/src/lightning/select/__examples__/hidden/hidden.html +10 -0
- package/src/lightning/select/__examples__/hidden/hidden.js +27 -0
- package/src/lightning/select/__examples__/inline/inline.html +10 -0
- package/src/lightning/select/__examples__/inline/inline.js +27 -0
- package/src/lightning/select/form-element.slds.css +232 -0
- package/src/lightning/select/select.css +3 -0
- package/src/lightning/select/select.html +2 -2
- package/src/lightning/select/select.js +3 -0
- package/src/lightning/select/select.slds.css +398 -0
- package/src/lightning/showToastEvent/showToastEvent.js +21 -0
- package/src/lightning/showToastEvent/showToastEvent.js-meta.xml +4 -0
- package/src/lightning/sldsCommon/sldsCommon.css +21 -4
- package/src/lightning/toast/__docs__/toast.md +103 -0
- package/src/lightning/toast/toast.css +52 -0
- package/src/lightning/toast/toast.html +70 -0
- package/src/lightning/toast/toast.js +608 -0
- package/src/lightning/toast/toast.js-meta.xml +4 -0
- package/src/lightning/toastContainer/__docs__/toastContainer.md +59 -0
- package/src/lightning/toastContainer/toastContainer.css +32 -0
- package/src/lightning/toastContainer/toastContainer.html +9 -0
- package/src/lightning/toastContainer/toastContainer.js +471 -0
- package/src/lightning/toastContainer/toastContainer.js-meta.xml +6 -0
- package/src/lightning/tooltipLibrary/tooltipLibrary.js +70 -8
- package/src/lightning/treeGrid/__docs__/treeGrid.md +4 -3
- package/src/lightning/utilsPrivate/url.js +2 -1
- package/src/lightning/verticalNavigation/vertical-navigation.slds.css +4 -0
- package/src/lightning/verticalNavigation/verticalNavigation.css +1 -0
- package/src/lightning/verticalNavigation/verticalNavigation.html +1 -1
- package/src/lightning/verticalNavigationSection/vertical-navigation-section.slds.css +19 -0
- package/src/lightning/verticalNavigationSection/verticalNavigationSection.css +2 -0
- package/src/lightning/verticalNavigationSection/verticalNavigationSection.html +1 -1
package/metadata/raptor.json
CHANGED
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"minVersion": "52.0"
|
|
58
58
|
},
|
|
59
59
|
"auraDynamic": {},
|
|
60
|
+
"auraUtilsMock": {},
|
|
60
61
|
"avatar": {
|
|
61
62
|
"minVersion": "0.0",
|
|
62
63
|
"slotNames": [],
|
|
@@ -532,6 +533,7 @@
|
|
|
532
533
|
"minVersion": "52.0"
|
|
533
534
|
},
|
|
534
535
|
"cmsInternalDeliveryApi": {},
|
|
536
|
+
"cmsManagementApi": {},
|
|
535
537
|
"cmsOrchestratorApi": {},
|
|
536
538
|
"cmsTypeApi": {},
|
|
537
539
|
"combobox": {
|
|
@@ -606,6 +608,7 @@
|
|
|
606
608
|
]
|
|
607
609
|
},
|
|
608
610
|
"commerceApi": {},
|
|
611
|
+
"commerceExtensionApi": {},
|
|
609
612
|
"communityInfoApi": {},
|
|
610
613
|
"communityMicrobatchingApi": {},
|
|
611
614
|
"communityNavigationMenuApi": {},
|
|
@@ -636,6 +639,7 @@
|
|
|
636
639
|
""
|
|
637
640
|
]
|
|
638
641
|
},
|
|
642
|
+
"dataProviderApi": {},
|
|
639
643
|
"datatable": {
|
|
640
644
|
"minVersion": "41.0",
|
|
641
645
|
"slotNames": [],
|
|
@@ -958,6 +962,9 @@
|
|
|
958
962
|
{
|
|
959
963
|
"name": "contexts"
|
|
960
964
|
},
|
|
965
|
+
{
|
|
966
|
+
"name": "disabled"
|
|
967
|
+
},
|
|
961
968
|
{
|
|
962
969
|
"name": "editing"
|
|
963
970
|
},
|
|
@@ -1003,6 +1010,9 @@
|
|
|
1003
1010
|
{
|
|
1004
1011
|
"name": "contextName"
|
|
1005
1012
|
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "disabled"
|
|
1015
|
+
},
|
|
1006
1016
|
{
|
|
1007
1017
|
"name": "editing"
|
|
1008
1018
|
},
|
|
@@ -1042,11 +1052,17 @@
|
|
|
1042
1052
|
""
|
|
1043
1053
|
],
|
|
1044
1054
|
"properties": [
|
|
1055
|
+
{
|
|
1056
|
+
"name": "disabled"
|
|
1057
|
+
},
|
|
1045
1058
|
{
|
|
1046
1059
|
"name": "errors"
|
|
1047
1060
|
},
|
|
1048
1061
|
{
|
|
1049
1062
|
"name": "showErrorIcon"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"name": "variant"
|
|
1050
1066
|
}
|
|
1051
1067
|
],
|
|
1052
1068
|
"methods": [
|
|
@@ -1538,25 +1554,37 @@
|
|
|
1538
1554
|
"industriesActionPlanApi": {},
|
|
1539
1555
|
"industriesActionablelistApi": {},
|
|
1540
1556
|
"industriesAssessmentApi": {},
|
|
1557
|
+
"industriesAuditTrailExportApi": {},
|
|
1541
1558
|
"industriesCibApi": {},
|
|
1542
1559
|
"industriesClmApi": {},
|
|
1560
|
+
"industriesContextApi": {},
|
|
1561
|
+
"industriesCpqApi": {},
|
|
1562
|
+
"industriesCriteriaBasedSearchFilterApi": {},
|
|
1543
1563
|
"industriesDataloadingApi": {},
|
|
1544
1564
|
"industriesDecisionMatrixDesignerApi": {},
|
|
1545
1565
|
"industriesDocgenApi": {},
|
|
1566
|
+
"industriesEducationApi": {},
|
|
1546
1567
|
"industriesEinsteinAIAcceleratorApi": {},
|
|
1547
1568
|
"industriesEpcApi": {},
|
|
1548
1569
|
"industriesEriApi": {},
|
|
1549
1570
|
"industriesExplainabilityApi": {},
|
|
1571
|
+
"industriesExternalDocumentApi": {},
|
|
1572
|
+
"industriesFeatureValidationApi": {},
|
|
1573
|
+
"industriesFundraisingApi": {},
|
|
1574
|
+
"industriesGroupApi": {},
|
|
1550
1575
|
"industriesHealthcloudApi": {},
|
|
1551
1576
|
"industriesHealthcloudHpiApi": {},
|
|
1552
1577
|
"industriesIdentityVerificationApi": {},
|
|
1553
1578
|
"industriesInterestTaggingApi": {},
|
|
1554
1579
|
"industriesLoyaltyEngineApi": {},
|
|
1580
|
+
"industriesPricingApi": {},
|
|
1555
1581
|
"industriesPublicSectorApi": {},
|
|
1556
1582
|
"industriesRcgTenantmanagementApi": {},
|
|
1557
1583
|
"industriesRuleBuilderApi": {},
|
|
1558
1584
|
"industriesSalesExcellenceApi": {},
|
|
1585
|
+
"industriesSchedulerApi": {},
|
|
1559
1586
|
"industriesServiceExcellenceApi": {},
|
|
1587
|
+
"industriesServiceprocessApi": {},
|
|
1560
1588
|
"industriesSustainabilityBeiApi": {},
|
|
1561
1589
|
"industriesSustainabilityDgfApi": {},
|
|
1562
1590
|
"industriesSustainabilityRecalculateApi": {},
|
|
@@ -1853,6 +1881,9 @@
|
|
|
1853
1881
|
"minVersion": "42.0",
|
|
1854
1882
|
"slotNames": [],
|
|
1855
1883
|
"properties": [
|
|
1884
|
+
{
|
|
1885
|
+
"name": "autocomplete"
|
|
1886
|
+
},
|
|
1856
1887
|
{
|
|
1857
1888
|
"name": "dirty"
|
|
1858
1889
|
},
|
|
@@ -2165,6 +2196,9 @@
|
|
|
2165
2196
|
}
|
|
2166
2197
|
]
|
|
2167
2198
|
},
|
|
2199
|
+
"logger": {
|
|
2200
|
+
"minVersion": "0.0"
|
|
2201
|
+
},
|
|
2168
2202
|
"lookup": {
|
|
2169
2203
|
"slotNames": [],
|
|
2170
2204
|
"properties": [
|
|
@@ -2317,10 +2351,10 @@
|
|
|
2317
2351
|
"name": "disabled"
|
|
2318
2352
|
},
|
|
2319
2353
|
{
|
|
2320
|
-
"name": "
|
|
2354
|
+
"name": "errorMessage"
|
|
2321
2355
|
},
|
|
2322
2356
|
{
|
|
2323
|
-
"name": "
|
|
2357
|
+
"name": "fieldApiName"
|
|
2324
2358
|
},
|
|
2325
2359
|
{
|
|
2326
2360
|
"name": "fieldLevelHelp"
|
|
@@ -2331,12 +2365,21 @@
|
|
|
2331
2365
|
{
|
|
2332
2366
|
"name": "label"
|
|
2333
2367
|
},
|
|
2368
|
+
{
|
|
2369
|
+
"name": "objectInfos"
|
|
2370
|
+
},
|
|
2334
2371
|
{
|
|
2335
2372
|
"name": "pills"
|
|
2336
2373
|
},
|
|
2374
|
+
{
|
|
2375
|
+
"name": "record"
|
|
2376
|
+
},
|
|
2337
2377
|
{
|
|
2338
2378
|
"name": "required"
|
|
2339
2379
|
},
|
|
2380
|
+
{
|
|
2381
|
+
"name": "selectedTargetApiName"
|
|
2382
|
+
},
|
|
2340
2383
|
{
|
|
2341
2384
|
"name": "textInfo"
|
|
2342
2385
|
},
|
|
@@ -2369,6 +2412,9 @@
|
|
|
2369
2412
|
{
|
|
2370
2413
|
"name": "entityOptions"
|
|
2371
2414
|
},
|
|
2415
|
+
{
|
|
2416
|
+
"name": "entitySelectedAssistiveLabel"
|
|
2417
|
+
},
|
|
2372
2418
|
{
|
|
2373
2419
|
"name": "items"
|
|
2374
2420
|
},
|
|
@@ -2378,6 +2424,9 @@
|
|
|
2378
2424
|
{
|
|
2379
2425
|
"name": "placeholder"
|
|
2380
2426
|
},
|
|
2427
|
+
{
|
|
2428
|
+
"name": "selectedEntityLabel"
|
|
2429
|
+
},
|
|
2381
2430
|
{
|
|
2382
2431
|
"name": "showActivityIndicator"
|
|
2383
2432
|
}
|
|
@@ -2521,6 +2570,15 @@
|
|
|
2521
2570
|
{
|
|
2522
2571
|
"name": "filterIconName"
|
|
2523
2572
|
},
|
|
2573
|
+
{
|
|
2574
|
+
"name": "filterInputText"
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"name": "filterItems"
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
"name": "filterLabel"
|
|
2581
|
+
},
|
|
2524
2582
|
{
|
|
2525
2583
|
"name": "inputText"
|
|
2526
2584
|
},
|
|
@@ -2755,7 +2813,9 @@
|
|
|
2755
2813
|
}
|
|
2756
2814
|
]
|
|
2757
2815
|
},
|
|
2816
|
+
"placeQuoteApi": {},
|
|
2758
2817
|
"platformExternalServicesApi": {},
|
|
2818
|
+
"platformGlobalizationApi": {},
|
|
2759
2819
|
"platformNamedCredentialApi": {},
|
|
2760
2820
|
"platformNotificationUtils": {},
|
|
2761
2821
|
"platformOverlayUtils": {},
|
|
@@ -3086,6 +3146,23 @@
|
|
|
3086
3146
|
}
|
|
3087
3147
|
]
|
|
3088
3148
|
},
|
|
3149
|
+
"recordPicker": {
|
|
3150
|
+
"slotNames": [],
|
|
3151
|
+
"properties": [
|
|
3152
|
+
{
|
|
3153
|
+
"name": "filter"
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
"name": "label"
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"name": "objectApiName"
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"name": "placeholder"
|
|
3163
|
+
}
|
|
3164
|
+
]
|
|
3165
|
+
},
|
|
3089
3166
|
"recordUtils": {},
|
|
3090
3167
|
"recordViewForm": {
|
|
3091
3168
|
"minVersion": "41.0",
|
|
@@ -3187,8 +3264,10 @@
|
|
|
3187
3264
|
]
|
|
3188
3265
|
},
|
|
3189
3266
|
"routingService": {},
|
|
3267
|
+
"salesAutomationRulesApi": {},
|
|
3190
3268
|
"salesEnablementProgramApi": {},
|
|
3191
3269
|
"salesPeopleApi": {},
|
|
3270
|
+
"salesUserWorkingHoursApi": {},
|
|
3192
3271
|
"select": {
|
|
3193
3272
|
"slotNames": [],
|
|
3194
3273
|
"properties": [
|
|
@@ -3258,6 +3337,48 @@
|
|
|
3258
3337
|
"minVersion": "52.0",
|
|
3259
3338
|
"slotNames": [],
|
|
3260
3339
|
"methods": [
|
|
3340
|
+
{
|
|
3341
|
+
"name": "acceptCall"
|
|
3342
|
+
},
|
|
3343
|
+
{
|
|
3344
|
+
"name": "addParticipant"
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"name": "declineCall"
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
"name": "endCall"
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
"name": "hold"
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
"name": "merge"
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"name": "mute"
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
"name": "pauseRecording"
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
"name": "resume"
|
|
3366
|
+
},
|
|
3367
|
+
{
|
|
3368
|
+
"name": "resumeRecording"
|
|
3369
|
+
},
|
|
3370
|
+
{
|
|
3371
|
+
"name": "sendDigits"
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"name": "startPreviewCall"
|
|
3375
|
+
},
|
|
3376
|
+
{
|
|
3377
|
+
"name": "swap"
|
|
3378
|
+
},
|
|
3379
|
+
{
|
|
3380
|
+
"name": "unmute"
|
|
3381
|
+
},
|
|
3261
3382
|
{
|
|
3262
3383
|
"name": "updateNextBestActions"
|
|
3263
3384
|
}
|
|
@@ -3417,6 +3538,7 @@
|
|
|
3417
3538
|
}
|
|
3418
3539
|
]
|
|
3419
3540
|
},
|
|
3541
|
+
"tableauEmbeddingApi": {},
|
|
3420
3542
|
"tabset": {
|
|
3421
3543
|
"minVersion": "44.0",
|
|
3422
3544
|
"slotNames": [
|
|
@@ -3571,6 +3693,7 @@
|
|
|
3571
3693
|
]
|
|
3572
3694
|
},
|
|
3573
3695
|
"toastContainer": {
|
|
3696
|
+
"minVersion": "58.0",
|
|
3574
3697
|
"slotNames": [],
|
|
3575
3698
|
"properties": [
|
|
3576
3699
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lightning-base-components",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.5-alpha",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"external",
|
|
@@ -1010,6 +1010,10 @@
|
|
|
1010
1010
|
"name": "@salesforce/label/LightningInput.helptextAlternativeText",
|
|
1011
1011
|
"path": "scopedImports/@salesforce-label-LightningInput.helptextAlternativeText.js"
|
|
1012
1012
|
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "@salesforce/label/LightningInput.mailingAddressFieldsUpdateText",
|
|
1015
|
+
"path": "scopedImports/@salesforce-label-LightningInput.mailingAddressFieldsUpdateText.js"
|
|
1016
|
+
},
|
|
1013
1017
|
{
|
|
1014
1018
|
"name": "@salesforce/label/LightningRating.readOnlyAssistiveText",
|
|
1015
1019
|
"path": "scopedImports/@salesforce-label-LightningRating.readOnlyAssistiveText.js"
|
|
@@ -1078,6 +1082,14 @@
|
|
|
1078
1082
|
"name": "@salesforce/label/LightningToast.close",
|
|
1079
1083
|
"path": "scopedImports/@salesforce-label-LightningToast.close.js"
|
|
1080
1084
|
},
|
|
1085
|
+
{
|
|
1086
|
+
"name": "@salesforce/label/LightningToast.macNavigationAssistiveText",
|
|
1087
|
+
"path": "scopedImports/@salesforce-label-LightningToast.macNavigationAssistiveText.js"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "@salesforce/label/LightningToast.genericNavigationAssistiveText",
|
|
1091
|
+
"path": "scopedImports/@salesforce-label-LightningToast.genericNavigationAssistiveText.js"
|
|
1092
|
+
},
|
|
1081
1093
|
{
|
|
1082
1094
|
"name": "@salesforce/label/Global_Entity.created_by",
|
|
1083
1095
|
"path": "scopedImports/@salesforce-label-Global_Entity.created_by.js"
|
|
@@ -1272,6 +1284,7 @@
|
|
|
1272
1284
|
"lightning/dialog",
|
|
1273
1285
|
"lightning/dualListbox",
|
|
1274
1286
|
"lightning/dynamicIcon",
|
|
1287
|
+
"lightning/f6Controller",
|
|
1275
1288
|
"lightning/fileDownload",
|
|
1276
1289
|
"lightning/focusTrap",
|
|
1277
1290
|
"lightning/formattedAddress",
|
|
@@ -1337,6 +1350,7 @@
|
|
|
1337
1350
|
"lightning/relativeDateTime",
|
|
1338
1351
|
"lightning/routingService",
|
|
1339
1352
|
"lightning/select",
|
|
1353
|
+
"lightning/showToastEvent",
|
|
1340
1354
|
"lightning/slider",
|
|
1341
1355
|
"lightning/spinner",
|
|
1342
1356
|
"lightning/stackedTab",
|
|
@@ -1345,6 +1359,8 @@
|
|
|
1345
1359
|
"lightning/tabset",
|
|
1346
1360
|
"lightning/textarea",
|
|
1347
1361
|
"lightning/tile",
|
|
1362
|
+
"lightning/toast",
|
|
1363
|
+
"lightning/toastContainer",
|
|
1348
1364
|
"lightning/tree",
|
|
1349
1365
|
"lightning/treeGrid",
|
|
1350
1366
|
"lightning/utils",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'Mailing Address updated for country {0}';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'Press Control + F6 to navigate to the next toast notification or focusable region.';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default 'Press Command + F6 to navigate to the next toast notification or focusable region.';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<label id="foo">Foo</label>
|
|
4
|
+
</div>
|
|
5
|
+
<div>
|
|
6
|
+
<label id="bar">Bar</label>
|
|
7
|
+
</div>
|
|
8
|
+
<div>
|
|
9
|
+
<label id="hello">Hello</label>
|
|
10
|
+
</div>
|
|
11
|
+
<div>
|
|
12
|
+
<label id="world">World</label>
|
|
13
|
+
</div>
|
|
14
|
+
<div>
|
|
15
|
+
<ariaobserver-connect-child aria-labelledby={connectIds}></ariaobserver-connect-child>
|
|
16
|
+
<div>Current Id: {connectIds}</div>
|
|
17
|
+
<div><button onclick={handleUpdateIds}>Update Ids to 'foo bar hello world'</button></div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { LightningElement, api } from 'lwc';
|
|
2
|
+
|
|
3
|
+
import AriaObserver from 'lightning/ariaObserver';
|
|
4
|
+
|
|
5
|
+
export default class AriaObserverConnectChild extends LightningElement {
|
|
6
|
+
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.ariaObserver = new AriaObserver(this);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
connectedCallback() {
|
|
13
|
+
if (!this.ariaObserver) {
|
|
14
|
+
this.ariaObserver = new AriaObserver(this);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
disconnectedCallback() {
|
|
19
|
+
if (this.ariaObserver) {
|
|
20
|
+
this.ariaObserver.disconnect();
|
|
21
|
+
this.ariaObserver = undefined;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
renderedCallback() {
|
|
26
|
+
this.ariaObserver.sync();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
_ariaLabelledBy = '';
|
|
30
|
+
|
|
31
|
+
@api
|
|
32
|
+
get ariaLabelledBy() {
|
|
33
|
+
return this._ariaLabelledBy;
|
|
34
|
+
}
|
|
35
|
+
set ariaLabelledBy(refs) {
|
|
36
|
+
this._ariaLabelledBy = refs;
|
|
37
|
+
|
|
38
|
+
this.ariaObserver.connect({
|
|
39
|
+
targetSelector: 'input',
|
|
40
|
+
attribute: 'aria-labelledby',
|
|
41
|
+
id: refs
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
@@ -110,7 +110,7 @@ export default class AriaObserver {
|
|
|
110
110
|
.split(/\s+/)
|
|
111
111
|
.map((ref) => `[id*="${ref}"]`)
|
|
112
112
|
.join(',');
|
|
113
|
-
const liveId = { selector, callback };
|
|
113
|
+
const liveId = { refs, selector, callback };
|
|
114
114
|
this.liveIds[refs] = liveId;
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -165,6 +165,16 @@ export default class AriaObserver {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
+
privateExtractCorrectElements(selector, elements) {
|
|
169
|
+
// Example: 'foo' + '-1'
|
|
170
|
+
const selectors = selector.split(/\s/g);
|
|
171
|
+
const matchSelectors = `(${selectors.join('|')})`;
|
|
172
|
+
const regex = new RegExp(`^${matchSelectors}(-[0-9]+)$`);
|
|
173
|
+
return [...elements].filter((element) => {
|
|
174
|
+
return regex.test(element.id);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
|
|
168
178
|
privateExtractIds(elements) {
|
|
169
179
|
return elements
|
|
170
180
|
.map((el) => {
|
|
@@ -189,7 +199,11 @@ export default class AriaObserver {
|
|
|
189
199
|
root.querySelectorAll(thisId.selector)
|
|
190
200
|
);
|
|
191
201
|
}
|
|
192
|
-
const
|
|
202
|
+
const newThisId = this.privateExtractCorrectElements(
|
|
203
|
+
thisId.refs,
|
|
204
|
+
thisId.elements
|
|
205
|
+
);
|
|
206
|
+
const newIds = this.privateExtractIds(newThisId);
|
|
193
207
|
// only fire calback if the value changed
|
|
194
208
|
if (newIds !== thisId.ids) {
|
|
195
209
|
thisId.callback(newIds);
|
|
@@ -363,9 +363,7 @@ export default class LightningBaseCombobox extends LightningElement {
|
|
|
363
363
|
? this.computedButtonTriggerAriaLabel
|
|
364
364
|
: this.inputLabel,
|
|
365
365
|
[ARIA_INVALID]: this.computedAriaInvalid,
|
|
366
|
-
[ARIA_ACTIVEDESCENDANT]: this.
|
|
367
|
-
? undefined
|
|
368
|
-
: this._activeElementDomId,
|
|
366
|
+
[ARIA_ACTIVEDESCENDANT]: this.computedAriaActiveDescendant,
|
|
369
367
|
});
|
|
370
368
|
}
|
|
371
369
|
|
|
@@ -461,6 +459,16 @@ export default class LightningBaseCombobox extends LightningElement {
|
|
|
461
459
|
);
|
|
462
460
|
}
|
|
463
461
|
|
|
462
|
+
/**
|
|
463
|
+
* Do not set aria-activedescendant when editing the text in the combobox.
|
|
464
|
+
* Rest of the times, set it to active element DOM id.
|
|
465
|
+
*/
|
|
466
|
+
get computedAriaActiveDescendant() {
|
|
467
|
+
return this.isUserInputDisabled || !this._editingMode
|
|
468
|
+
? this._activeElementDomId
|
|
469
|
+
: undefined;
|
|
470
|
+
}
|
|
471
|
+
|
|
464
472
|
get computedAriaAutocomplete() {
|
|
465
473
|
if (this.hasInputPill) {
|
|
466
474
|
// no aria-autocomplete when pill is showing
|
|
@@ -106,6 +106,9 @@ function handleDeletionKeys({ event, dropdownInterface }) {
|
|
|
106
106
|
if (dropdownInterface.shouldPreventInputDeletion()) {
|
|
107
107
|
event.preventDefault();
|
|
108
108
|
}
|
|
109
|
+
if (!dropdownInterface.isDropdownVisible()) {
|
|
110
|
+
dropdownInterface.openDropdownIfNotEmpty();
|
|
111
|
+
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
114
|
function handleTypedCharacters({ event, currentIndex, dropdownInterface }) {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
|
|
4
|
+
Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
5
|
+
|
|
6
|
+
@supports (--styling-hooks: '') {
|
|
7
|
+
:host([data-render-mode="shadow"]) [part~='breadcrumb'] {
|
|
8
|
+
/* Host reassignments to composed breadcrumbs for parity with SLDS blueprint
|
|
9
|
+
https://www.lightningdesignsystem.com/components/breadcrumbs/#Styling-Hooks-Overview */
|
|
10
|
+
--slds-c-breadcrumbs-spacing-inline-start: var(--slds-c-breadcrumb-spacing-inline-start);
|
|
11
|
+
--slds-c-breadcrumbs-spacing-inline-end: var(--slds-c-breadcrumb-spacing-inline-end);
|
|
12
|
+
|
|
13
|
+
display: block;
|
|
14
|
+
padding-block-start: 0;
|
|
15
|
+
padding-inline-end: var(--slds-c-breadcrumb-spacing-inline-end, var(--sds-g-spacing-2, 0.5rem));
|
|
16
|
+
padding-block-end: 0;
|
|
17
|
+
padding-inline-start: var(--slds-c-breadcrumb-spacing-inline-start, var(--sds-g-spacing-2, 0.5rem));
|
|
18
|
+
color: var(--slds-g-color-brand-base-50, var(--sds-g-color-brand-base-50, #0176d3));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host([data-render-mode="shadow"]) [part~='breadcrumb']:hover, [part~='breadcrumb']:focus {
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
color: var(--slds-g-color-brand-base-30, var(--sds-g-color-brand-base-30, #014486));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
|
|
4
|
+
Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
5
|
+
|
|
6
|
+
@supports (--styling-hooks: '') {
|
|
7
|
+
:host([data-render-mode="shadow"]) [part~='breadcrumbs'] {
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
align-items: flex-start;
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host([data-render-mode="shadow"]) [part~='breadcrumbs'] ::slotted(*) {
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Positions a '>' separator before breadcrumb */
|
|
18
|
+
:host([data-render-mode="shadow"]) [part~='breadcrumbs'] ::slotted(:not(:first-child))::before {
|
|
19
|
+
content: '\003E';
|
|
20
|
+
position: absolute;
|
|
21
|
+
left: calc((var(--sds-g-spacing-2, 0.5rem) * 0.5) * -1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Don't include '>' separator before first breadcrumb */
|
|
25
|
+
:host([data-render-mode="shadow"]) [part~='breadcrumbs'] ::slotted(:first-child)::before {
|
|
26
|
+
content: '';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Don't include spacing before first breadcrumb */
|
|
30
|
+
:host([data-render-mode="shadow"]) [part~='breadcrumbs'] ::slotted(:first-child) {
|
|
31
|
+
--slds-c-breadcrumb-spacing-inline-start: 0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
aria-haspopup={computedAriaHasPopup}
|
|
17
17
|
aria-live={computedAriaLive}
|
|
18
18
|
aria-pressed={computedAriaPressed}
|
|
19
|
-
aria-relevant={computedAriaRelevant}
|
|
19
|
+
aria-relevant={computedAriaRelevant}
|
|
20
|
+
tabindex={tabIndex}>
|
|
20
21
|
<template if:true={showIconLeft}>
|
|
21
22
|
<lightning-primitive-icon icon-name={iconName} svg-class={computedIconClass} variant="bare"></lightning-primitive-icon>
|
|
22
23
|
</template>
|
|
@@ -38,6 +38,15 @@ export default class LightningButton extends LightningPrimitiveButton {
|
|
|
38
38
|
*/
|
|
39
39
|
@api label;
|
|
40
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Reserved for internal use only.
|
|
43
|
+
* Should be set to -1 if button should not
|
|
44
|
+
* be focused during tab navigation and should
|
|
45
|
+
* be set to 0 if button should be focused.
|
|
46
|
+
* @type {number}
|
|
47
|
+
*/
|
|
48
|
+
@api tabIndex;
|
|
49
|
+
|
|
41
50
|
/**
|
|
42
51
|
* The variant changes the appearance of the button.
|
|
43
52
|
* Accepted variants include base, neutral, brand, brand-outline, destructive, destructive-text, inverse, and success.
|
|
@@ -899,6 +899,10 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
899
899
|
--slds-c-buttonicon-bare-color-border-disabled,
|
|
900
900
|
transparent
|
|
901
901
|
);
|
|
902
|
+
--slds-c-buttonicon-color-background-disabled: var(
|
|
903
|
+
--slds-c-buttonicon-bare-color-background-disabled,
|
|
904
|
+
transparent
|
|
905
|
+
);
|
|
902
906
|
}
|
|
903
907
|
|
|
904
908
|
/**
|
|
@@ -1128,7 +1132,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1128
1132
|
* outcome is the removal of this class and replacing the class with the SLDS
|
|
1129
1133
|
* utility package solution.
|
|
1130
1134
|
*/
|
|
1131
|
-
:host([data-render-mode="shadow"])
|
|
1135
|
+
:host([data-render-mode="shadow"]) .slds-assistive-text {
|
|
1132
1136
|
position: absolute !important;
|
|
1133
1137
|
margin: -1px !important;
|
|
1134
1138
|
border: 0 !important;
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
aria-live={computedAriaLive}
|
|
14
14
|
aria-atomic={computedAriaAtomic}
|
|
15
15
|
aria-haspopup={computedAriaHasPopup}
|
|
16
|
-
part="button button-icon"
|
|
16
|
+
part="button button-icon"
|
|
17
|
+
tabindex={tabIndex}>
|
|
17
18
|
|
|
18
19
|
<lightning-primitive-icon icon-name={iconName} svg-class={computedIconClass} variant="bare"></lightning-primitive-icon>
|
|
19
20
|
|