lightning-base-components 1.17.3-alpha → 1.17.6-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 +9 -0
- package/src/lightning/ariaObserver/__examples__/connectChild/connectChild.html +3 -0
- package/src/lightning/ariaObserver/__examples__/connectChild/connectChild.js +43 -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 +2 -2
- package/src/lightning/modalBase/modalBase.js +199 -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 +82 -19
- 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
|
@@ -32,6 +32,15 @@ export default class LightningButtonIcon extends LightningPrimitiveButton {
|
|
|
32
32
|
*/
|
|
33
33
|
@api value;
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Reserved for internal use only.
|
|
37
|
+
* Should be set to -1 if button should not
|
|
38
|
+
* be focused during tab navigation and should
|
|
39
|
+
* be set to 0 if button should be focused.
|
|
40
|
+
* @type {number}
|
|
41
|
+
*/
|
|
42
|
+
@api tabIndex;
|
|
43
|
+
|
|
35
44
|
/**
|
|
36
45
|
* The variant changes the appearance of button-icon.
|
|
37
46
|
* Accepted variants include bare, container, brand, border, border-filled, bare-inverse, and border-inverse.
|
|
@@ -326,7 +335,7 @@ export default class LightningButtonIcon extends LightningPrimitiveButton {
|
|
|
326
335
|
super.renderedCallback();
|
|
327
336
|
|
|
328
337
|
// remove-next-line-for-c-namespace
|
|
329
|
-
if (this.tooltipValue) {
|
|
338
|
+
if (this.tooltipValue && !this._tooltip) {
|
|
330
339
|
this.createTooltip(this.tooltipValue);
|
|
331
340
|
}
|
|
332
341
|
|
|
@@ -939,6 +939,10 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
939
939
|
--slds-c-buttonicon-bare-color-border-disabled,
|
|
940
940
|
transparent
|
|
941
941
|
);
|
|
942
|
+
--slds-c-buttonicon-color-background-disabled: var(
|
|
943
|
+
--slds-c-buttonicon-bare-color-background-disabled,
|
|
944
|
+
transparent
|
|
945
|
+
);
|
|
942
946
|
}
|
|
943
947
|
|
|
944
948
|
/**
|
|
@@ -1168,7 +1172,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1168
1172
|
* outcome is the removal of this class and replacing the class with the SLDS
|
|
1169
1173
|
* utility package solution.
|
|
1170
1174
|
*/
|
|
1171
|
-
:host([data-render-mode="shadow"])
|
|
1175
|
+
:host([data-render-mode="shadow"]) .slds-assistive-text {
|
|
1172
1176
|
position: absolute !important;
|
|
1173
1177
|
margin: -1px !important;
|
|
1174
1178
|
border: 0 !important;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
|
|
2
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
|
|
3
|
+
Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
4
|
+
|
|
5
|
+
@supports (--styling-hooks: '') {
|
|
6
|
+
:host([data-render-mode="shadow"]) .slds-assistive-text {
|
|
7
|
+
position: absolute !important;
|
|
8
|
+
margin: -1px !important;
|
|
9
|
+
border: 0 !important;
|
|
10
|
+
padding: 0 !important;
|
|
11
|
+
width: 1px !important;
|
|
12
|
+
height: 1px !important;
|
|
13
|
+
overflow: hidden !important;
|
|
14
|
+
clip: rect(0 0 0 0) !important;
|
|
15
|
+
text-transform: none !important;
|
|
16
|
+
white-space: nowrap !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Initializes a dueling picklist */
|
|
20
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list {
|
|
21
|
+
display: flex;
|
|
22
|
+
clear: left;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Handles the layout of the dueling picklist */
|
|
26
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__column {
|
|
27
|
+
display: -webkit-inline-box;
|
|
28
|
+
display: -ms-inline-flexbox;
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
-webkit-box-direction: normal;
|
|
32
|
+
-ms-flex-direction: column;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__column > lightning-button-icon {
|
|
37
|
+
margin-block: var(--sds-g-spacing-4, 1rem);
|
|
38
|
+
margin-inline: var(--sds-g-spacing-1, 0.25rem);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__column > lightning-button-icon:first-of-type {
|
|
42
|
+
margin-block-start: var(--sds-g-spacing-5, 1.5rem);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Changes the layout of the dueling picklist to be responsive */
|
|
46
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__column_responsive {
|
|
47
|
+
-webkit-box-flex: 1;
|
|
48
|
+
-ms-flex: 1 1 15rem;
|
|
49
|
+
flex: 1 1 15rem;
|
|
50
|
+
-ms-flex-wrap: wrap;
|
|
51
|
+
flex-wrap: wrap;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
min-width: calc(var(--sds-g-sizing-9, 2rem) * 3);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__column_responsive .slds-dueling-list__options {
|
|
57
|
+
width: auto;
|
|
58
|
+
max-width: 100%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Bounding visual container for listbox of options */
|
|
62
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__options {
|
|
63
|
+
border: var(--sds-g-sizing-border-1, 1px) solid var(--sds-g-color-neutral-base-80, #c9c9c9);
|
|
64
|
+
border-radius: var(--sds-g-radius-border-2, 0.25rem);
|
|
65
|
+
padding-block: var(--sds-g-spacing-1, 0.25rem);
|
|
66
|
+
padding-inline: 0;
|
|
67
|
+
width: var(--sds-g-sizing-14, 15rem);
|
|
68
|
+
height: var(--sds-g-sizing-14, 15rem);
|
|
69
|
+
background-color: var(--sds-g-color-neutral-base-100, #ffffff);
|
|
70
|
+
overflow: auto;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Selected/dragging state of a listbox option, not currently supported by lbc */
|
|
74
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__options [aria-selected='true'] {
|
|
75
|
+
background-color: var(--sds-g-color-brand-base-50, #0176d3);
|
|
76
|
+
color: var(--sds-g-color-neutral-base-100, #ffffff);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__options [aria-selected='true']:hover,:host([data-render-mode="shadow"])
|
|
80
|
+
.slds-dueling-list__options [aria-selected='true']:focus {
|
|
81
|
+
background: var(--sds-g-color-brand-base-30, #014486);
|
|
82
|
+
color: var(--sds-g-color-neutral-base-100, #ffffff);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__options .slds-is-grabbed {
|
|
86
|
+
-webkit-transform: rotate(3deg);
|
|
87
|
+
transform: rotate(3deg);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Disabled state of a picklist option */
|
|
91
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__options.slds-is-disabled {
|
|
92
|
+
background-color: var(--sds-g-color-neutral-base-95, #f3f3f3);
|
|
93
|
+
border-color: var(--sds-g-color-neutral-base-80, #c9c9c9);
|
|
94
|
+
color: var(--sds-g-color-neutral-base-30, #444444);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__options.slds-is-disabled:hover {
|
|
98
|
+
cursor: not-allowed;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__options.slds-is-disabled .slds-listbox__option:hover {
|
|
102
|
+
cursor: not-allowed;
|
|
103
|
+
background-color: transparent;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
:host([data-render-mode="shadow"]) .slds-dueling-list__options.slds-is-disabled .slds-listbox__option:focus {
|
|
107
|
+
background-color: transparent;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
:host([data-render-mode="shadow"][variant~='label-inline']) {
|
|
111
|
+
margin-block-end: var(--sds-g-spacing-2, 0.5rem);
|
|
112
|
+
width: 100%;
|
|
113
|
+
flex-basis: 100%;
|
|
114
|
+
padding: var(--sds-g-spacing-1, 0.25rem);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:host([data-render-mode="shadow"][variant~='label-inline']).slds-form-element {
|
|
118
|
+
padding: 0;
|
|
119
|
+
margin-block-end: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:host([data-render-mode="shadow"][variant~='label-inline']) .slds-form-element__help {
|
|
123
|
+
margin-inline-start: 33%;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* ----------------------------------------------------------------------------------------------- */
|
|
127
|
+
|
|
128
|
+
/* Media Object classes need to be pulled out for reusability */
|
|
129
|
+
:host([data-render-mode="shadow"]) .slds-media {
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: flex-start;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:host([data-render-mode="shadow"]) .slds-media__figure {
|
|
135
|
+
flex-shrink: 0;
|
|
136
|
+
margin-inline-end: var(--sds-g-spacing-3, 0.75rem);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:host([data-render-mode="shadow"]) .slds-media__figure_fixed-width {
|
|
140
|
+
min-width: var(--sds-g-sizing-10, 3rem);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
:host([data-render-mode="shadow"]) .slds-media__body {
|
|
144
|
+
flex: 1;
|
|
145
|
+
min-width: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:host([data-render-mode="shadow"]) .slds-media__body,:host([data-render-mode="shadow"])
|
|
149
|
+
.slds-media__body> :last-child {
|
|
150
|
+
margin-block-end: 0;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host([data-render-mode="shadow"]) .slds-media-body-iefix {
|
|
154
|
+
flex-shrink: 0;
|
|
155
|
+
flex-basis: auto;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:host([data-render-mode="shadow"]) .slds-media_small .slds-media__figure {
|
|
159
|
+
margin-inline-end: var(--sds-g-spacing-1, 0.25rem);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:host([data-render-mode="shadow"]) .slds-media_small .slds-media__figure_reverse {
|
|
163
|
+
margin-inline-start: var(--sds-g-spacing-1, 0.25rem);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:host([data-render-mode="shadow"]) .slds-media_large .slds-media__figure {
|
|
167
|
+
margin-inline-end: var(--sds-g-spacing-5, 1.5rem);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
:host([data-render-mode="shadow"]) .slds-media_large .slds-media__figure_reverse {
|
|
171
|
+
margin-inline-start: var(--sds-g-spacing-5, 1.5rem);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:host([data-render-mode="shadow"]) .slds-media_inline .slds-media__body {
|
|
175
|
+
flex: 0 1 auto;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:host([data-render-mode="shadow"]) .slds-media_center {
|
|
179
|
+
align-items: center;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:host([data-render-mode="shadow"]) .slds-media__figure_reverse {
|
|
183
|
+
margin-block: 0;
|
|
184
|
+
margin-inline-start: var(--sds-g-spacing-3, 0.75rem);
|
|
185
|
+
margin-inline-end: 0;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@media (max-width: 48em) {
|
|
189
|
+
|
|
190
|
+
:host([data-render-mode="shadow"]) .slds-media_responsive {
|
|
191
|
+
display: block;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
:host([data-render-mode="shadow"]) .slds-media_responsive .slds-media__figure {
|
|
195
|
+
margin-block: 0;
|
|
196
|
+
margin-inline-start: var(--sds-g-spacing-3, 0.75rem);
|
|
197
|
+
margin-inline-end: 0;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div role="group" aria-labelledby="group-label">
|
|
2
|
+
<div role="group" aria-labelledby="group-label" part="dual-listbox">
|
|
3
3
|
|
|
4
4
|
<div id="group-label" class={computedGroupLabelClass}>
|
|
5
5
|
<template if:true={required}>
|
|
6
|
-
<abbr class="slds-required" title={i18n.required}>*</abbr>
|
|
6
|
+
<abbr class="slds-required" title={i18n.required} aria-label={i18n.required}>*</abbr>
|
|
7
7
|
</template>{label}
|
|
8
8
|
</div>
|
|
9
9
|
<lightning-helptext if:true={fieldLevelHelp} content={fieldLevelHelp} alternative-text={helptextAlternativeText}></lightning-helptext>
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
normalizeBoolean,
|
|
26
26
|
getRealDOMId,
|
|
27
27
|
classListMutation,
|
|
28
|
+
reflectAttribute,
|
|
28
29
|
} from 'lightning/utilsPrivate';
|
|
29
30
|
import {
|
|
30
31
|
InteractingState,
|
|
@@ -238,6 +239,7 @@ export default class LightningDualListbox extends LightningElement {
|
|
|
238
239
|
set variant(value) {
|
|
239
240
|
this._variant = normalizeVariant(value);
|
|
240
241
|
this.updateClassList();
|
|
242
|
+
reflectAttribute(this, 'variant', this._variant);
|
|
241
243
|
}
|
|
242
244
|
|
|
243
245
|
set size(value) {
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
|
|
2
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
|
|
3
|
+
Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
4
|
+
@supports (--styling-hooks: '') {
|
|
5
|
+
/* FORM ELEMENT: BASE */
|
|
6
|
+
:host([data-render-mode="shadow"]) .slds-form-element {
|
|
7
|
+
position: relative;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host([data-render-mode="shadow"]) .slds-form-element__label {
|
|
12
|
+
overflow-wrap: break-word;
|
|
13
|
+
word-wrap: break-word;
|
|
14
|
+
hyphens: auto;
|
|
15
|
+
display: inline-block;
|
|
16
|
+
color: var(--sds-g-color-neutral-base-30, #444444);
|
|
17
|
+
font-size: var(--sds-g-font-scale-neg-3, 0.75rem);
|
|
18
|
+
padding-inline-end: var(--sds-g-spacing-2, 0.5rem);
|
|
19
|
+
padding-block-start: var(--sds-g-spacing-1, 0.25rem);
|
|
20
|
+
margin-block-end: calc(var(--sds-g-spacing-1, 0.25rem) / 2);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([data-render-mode="shadow"]) .slds-form-element__label:empty {
|
|
24
|
+
margin: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host([data-render-mode="shadow"]) .slds-form-element__control {
|
|
28
|
+
clear: left; /* NOTE: Ideally we want left to be inline-start but browser support is not ready for that value. We need to figure out better RTL support */
|
|
29
|
+
position: relative;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([data-render-mode="shadow"]) .slds-form-element__control .slds-radio,:host([data-render-mode="shadow"])
|
|
33
|
+
.slds-form-element__control .slds-checkbox {
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:host([data-render-mode="shadow"]) .slds-form-element__icon {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
position: relative;
|
|
40
|
+
padding-block-start: var(--sds-g-spacing-1, 0.25rem);
|
|
41
|
+
vertical-align: top;
|
|
42
|
+
line-height: var(--sds-g-font-lineheight-1, 1);
|
|
43
|
+
z-index: 1;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host([data-render-mode="shadow"]) .slds-form-element__icon .slds-button_icon {
|
|
47
|
+
position: relative;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host([data-render-mode="shadow"]) .slds-form-element__help,:host([data-render-mode="shadow"])
|
|
51
|
+
.slds-form-element__helper {
|
|
52
|
+
font-size: var(--sds-g-font-scale-neg-3, 0.75rem);
|
|
53
|
+
margin-block-start: calc(var(--sds-g-spacing-1, 0.25rem) / 2);
|
|
54
|
+
display: block;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host([data-render-mode="shadow"]) .slds-form-element_edit .slds-form-element__static {
|
|
58
|
+
width: calc(100% - var(--sds-g-sizing-7, 1.5rem));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:host([data-render-mode="shadow"]) .slds-form-element_readonly {
|
|
62
|
+
flex-basis: 0%;
|
|
63
|
+
border-bottom: var(--sds-g-sizing-border-1, 1px) solid var(--sds-g-color-neutral-base-90, #e5e5e5);
|
|
64
|
+
margin-block-end: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host([data-render-mode="shadow"]) .slds-form-element_readonly .slds-form-element__control {
|
|
68
|
+
padding-block-start: calc(var(--sds-g-spacing-1, 0.25rem) / 2);
|
|
69
|
+
padding-block-end: calc(var(--sds-g-spacing-1, 0.25rem) / 2);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host([data-render-mode="shadow"]) .slds-form-element_readonly .slds-form-element__label {
|
|
73
|
+
margin-block-end: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([data-render-mode="shadow"]) .slds-form-element__legend {
|
|
77
|
+
font-weight: var(--sds-g-font-weight-7, 700);
|
|
78
|
+
float: left;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host([data-render-mode="shadow"]) .slds-form-element__addon {
|
|
82
|
+
display: inline-block;
|
|
83
|
+
margin-block-start: 0;
|
|
84
|
+
margin-block-end: 0;
|
|
85
|
+
margin-inline-start: var(--sds-g-spacing-2, 0.5rem);
|
|
86
|
+
margin-inline-end: var(--sds-g-spacing-2, 0.5rem);
|
|
87
|
+
align-self: center;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
:host([data-render-mode="shadow"]) .slds-form-element__static {
|
|
91
|
+
overflow-wrap: break-word;
|
|
92
|
+
word-wrap: break-word;
|
|
93
|
+
word-break: break-word;
|
|
94
|
+
display: inline-block;
|
|
95
|
+
font-size: var(--sds-g-font-scale-neg-1, 0.875rem);
|
|
96
|
+
font-weight: var(--sds-g-font-weight-4, 400);
|
|
97
|
+
color: var(--sds-g-color-neutral-base-10, #181818);
|
|
98
|
+
width: 100%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host([data-render-mode="shadow"]) .slds-form-element__static.slds-text-longform *:last-child {
|
|
102
|
+
margin-block-end: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:host([data-render-mode="shadow"]) .slds-form-element__static:empty {
|
|
106
|
+
min-height: calc(var(--sds-g-sizing-6, 1.25rem) + 1px);
|
|
107
|
+
vertical-align: bottom;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
:host([data-render-mode="shadow"]) .slds-form-element__static--edit {
|
|
111
|
+
width: calc(100% - var(--sds-g-sizing-7, 1.5rem));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
:host([data-render-mode="shadow"]) .slds-required {
|
|
115
|
+
color: var(--sds-g-color-error-base-50, #ea001e);
|
|
116
|
+
margin-block-start: 0;
|
|
117
|
+
margin-block-end: 0;
|
|
118
|
+
margin-inline-start: calc(var(--sds-g-spacing-1, 0.25rem) / 2);
|
|
119
|
+
margin-inline-end: calc(var(--sds-g-spacing-1, 0.25rem) / 2);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:host([data-render-mode="shadow"]) .slds-has-error .slds-form-element__help {
|
|
123
|
+
color: var(--sds-g-color-error-base-50, #ea001e);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host([data-render-mode="shadow"][invalid]) .slds-form-element__help {
|
|
127
|
+
color: var(--sds-g-color-error-base-50, #ea001e);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* --------------------------------------- */
|
|
131
|
+
|
|
132
|
+
/* FORM ELEMENT: STACKED */
|
|
133
|
+
|
|
134
|
+
:host([data-render-mode="shadow"][variant~='label-stacked']) {
|
|
135
|
+
display: block;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host([data-render-mode="shadow"][variant~='label-stacked']):not(:host([data-render-mode="shadow"]) .slds-form-element_readonly) {
|
|
139
|
+
margin-block-end: var(--sds-g-spacing-2, 0.5rem);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:host([data-render-mode="shadow"][variant~='label-stacked']):not(:host([data-render-mode="shadow"]) .slds-is-editing) {
|
|
143
|
+
padding: 0 var(--sds-g-spacing-1, 0.25rem);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element {
|
|
147
|
+
padding: 0;
|
|
148
|
+
margin-block-end: 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
:host([data-render-mode="shadow"][variant~='label-stacked']):not([class*="slds-size"]) {
|
|
152
|
+
width: 100%;
|
|
153
|
+
flex-basis: 100%;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
:host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element__label,:host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element__control {
|
|
157
|
+
border-bottom: 0; /* Remove border when using legacy version of slds-form-element */
|
|
158
|
+
padding-inline-start: 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
:host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element__control {
|
|
162
|
+
width: 100%;
|
|
163
|
+
flex-basis: 100%;
|
|
164
|
+
clear: left;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:host([data-render-mode="shadow"][variant~='label-stacked']) .slds-form-element__icon {
|
|
168
|
+
float: none;
|
|
169
|
+
padding-block-start: var(--sds-g-spacing-1, 0.25rem);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* --------------------------------------- */
|
|
173
|
+
|
|
174
|
+
/* FORM ELEMENT: INLINE */
|
|
175
|
+
|
|
176
|
+
:host([data-render-mode="shadow"][variant~='label-inline']) {
|
|
177
|
+
display: block;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
:host([data-render-mode="shadow"][variant~='label-inline']):not(:host([data-render-mode="shadow"]) .slds-form-element_readonly) {
|
|
181
|
+
margin-block-end: var(--sds-g-spacing-2, 0.5rem);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
:host([data-render-mode="shadow"][variant~='label-inline']):not([class*="slds-size"]) {
|
|
185
|
+
width: 100%;
|
|
186
|
+
flex-basis: 100%;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:host([data-render-mode="shadow"][variant~='label-inline']):not(:host([data-render-mode="shadow"]) .slds-is-editing) {
|
|
190
|
+
padding: var(--sds-g-spacing-1, 0.25rem);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:host([data-render-mode="shadow"][variant~='label-inline']).slds-is-edited {
|
|
194
|
+
padding-block-start: var(--sds-g-sizing-6, 1.25rem)
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@media (min-width: 48em) {
|
|
198
|
+
:host([data-render-mode="shadow"][variant~='label-inline']) .slds-form-element__label {
|
|
199
|
+
float: left;
|
|
200
|
+
max-width: calc(33% - var(--sds-g-sizing-6, 1.25rem)); /* Removing icon width for when the help-text icon is present */
|
|
201
|
+
flex-basis: calc(33% - var(--sds-g-sizing-6, 1.25rem)); /* Some form element controls are set to display:flex */
|
|
202
|
+
flex-grow: 1; /* For IE and Safari which didn't auto expand to the available space */
|
|
203
|
+
margin-block-end: 0;
|
|
204
|
+
position: relative;
|
|
205
|
+
z-index: 1;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
:host([data-render-mode="shadow"][variant~='label-inline']) .slds-form-element__control {
|
|
209
|
+
padding-inline-start: 33%;
|
|
210
|
+
clear: none; /* Reset clear: left when switching to horizontal form layout */
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
:host([data-render-mode="shadow"][variant~='label-inline']) .slds-form-element__control .slds-form-element__control {
|
|
214
|
+
padding-inline-start: 0; /* Remove left padding on nested form controls, due to issues related to lightning-form components */
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
:host([data-render-mode="shadow"][variant~='label-inline']) .slds-dueling-list__column .slds-form-element__label {
|
|
218
|
+
width: auto;
|
|
219
|
+
max-width: 100%;
|
|
220
|
+
-ms-flex-preferred-size: auto;
|
|
221
|
+
flex-basis: auto;
|
|
222
|
+
float: none;
|
|
223
|
+
position: relative;
|
|
224
|
+
padding-inline-start: 0;
|
|
225
|
+
margin-block-end: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
:host([data-render-mode="shadow"][variant~='label-inline']) .slds-dueling-list {
|
|
229
|
+
clear: none;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
|
|
2
|
+
/* Copyright (c) 2015-present, Salesforce, Inc. All rights reserved
|
|
3
|
+
Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
4
|
+
|
|
5
|
+
:host([data-render-mode="shadow"]) .slds-assistive-text {
|
|
6
|
+
position: absolute !important;
|
|
7
|
+
margin: -1px !important;
|
|
8
|
+
border: 0 !important;
|
|
9
|
+
padding: 0 !important;
|
|
10
|
+
width: 1px !important;
|
|
11
|
+
height: 1px !important;
|
|
12
|
+
overflow: hidden !important;
|
|
13
|
+
clip: rect(0 0 0 0) !important;
|
|
14
|
+
text-transform: none !important;
|
|
15
|
+
white-space: nowrap !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie {
|
|
19
|
+
width: calc(14rem / 16);
|
|
20
|
+
height: calc(14rem / 16);
|
|
21
|
+
display: inline-block;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie.slds-is-animated {
|
|
26
|
+
will-change: transform;
|
|
27
|
+
animation: slds-icon-ellie-pop 0.3s ease-in 2s 1 both;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie.slds-is-animated svg {
|
|
31
|
+
will-change: transform;
|
|
32
|
+
animation: slds-icon-ellie 1.2s steps(20) 2.3s 2 alternate;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie.slds-is-paused,:host([data-render-mode="shadow"])
|
|
36
|
+
.slds-icon-ellie.slds-is-paused svg {
|
|
37
|
+
animation-play-state: paused;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie svg {
|
|
41
|
+
width: 17.5rem;
|
|
42
|
+
vertical-align: top;
|
|
43
|
+
color: #0d9dda;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(2n + 1) {
|
|
47
|
+
fill: currentColor;
|
|
48
|
+
stroke: currentColor;
|
|
49
|
+
stroke-width: 4px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(2n) {
|
|
53
|
+
fill: white;
|
|
54
|
+
stroke: white;
|
|
55
|
+
stroke-width: 1px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(1),:host([data-render-mode="shadow"])
|
|
59
|
+
.slds-icon-ellie circle:nth-last-child(2) {
|
|
60
|
+
stroke-width: 4px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(2),:host([data-render-mode="shadow"])
|
|
64
|
+
.slds-icon-ellie circle:nth-last-child(1) {
|
|
65
|
+
stroke-width: 1px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(3),:host([data-render-mode="shadow"])
|
|
69
|
+
.slds-icon-ellie circle:nth-last-child(4) {
|
|
70
|
+
stroke-width: 3.95px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(4),:host([data-render-mode="shadow"])
|
|
74
|
+
.slds-icon-ellie circle:nth-last-child(3) {
|
|
75
|
+
stroke-width: 1.2px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(5),:host([data-render-mode="shadow"])
|
|
79
|
+
.slds-icon-ellie circle:nth-last-child(6) {
|
|
80
|
+
stroke-width: 3.85px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(6),:host([data-render-mode="shadow"])
|
|
84
|
+
.slds-icon-ellie circle:nth-last-child(5) {
|
|
85
|
+
stroke-width: 1.4px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(7),:host([data-render-mode="shadow"])
|
|
89
|
+
.slds-icon-ellie circle:nth-last-child(8) {
|
|
90
|
+
stroke-width: 3.6px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(8),:host([data-render-mode="shadow"])
|
|
94
|
+
.slds-icon-ellie circle:nth-last-child(7) {
|
|
95
|
+
stroke-width: 1.7px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(9),:host([data-render-mode="shadow"])
|
|
99
|
+
.slds-icon-ellie circle:nth-last-child(10) {
|
|
100
|
+
stroke-width: 3.3px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(10),:host([data-render-mode="shadow"])
|
|
104
|
+
.slds-icon-ellie circle:nth-last-child(9) {
|
|
105
|
+
stroke-width: 2px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(11),:host([data-render-mode="shadow"])
|
|
109
|
+
.slds-icon-ellie circle:nth-last-child(12) {
|
|
110
|
+
stroke-width: 3.2px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(12),:host([data-render-mode="shadow"])
|
|
114
|
+
.slds-icon-ellie circle:nth-last-child(11) {
|
|
115
|
+
stroke-width: 2.4px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(13),:host([data-render-mode="shadow"])
|
|
119
|
+
.slds-icon-ellie circle:nth-last-child(14) {
|
|
120
|
+
stroke-width: 3.15px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(14),:host([data-render-mode="shadow"])
|
|
124
|
+
.slds-icon-ellie circle:nth-last-child(13) {
|
|
125
|
+
stroke-width: 2.8px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(15),:host([data-render-mode="shadow"])
|
|
129
|
+
.slds-icon-ellie circle:nth-last-child(16) {
|
|
130
|
+
stroke-width: 3.1px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(16),:host([data-render-mode="shadow"])
|
|
134
|
+
.slds-icon-ellie circle:nth-last-child(15) {
|
|
135
|
+
stroke-width: 3.25px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(17),:host([data-render-mode="shadow"])
|
|
139
|
+
.slds-icon-ellie circle:nth-last-child(18) {
|
|
140
|
+
stroke-width: 3.05px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(18),:host([data-render-mode="shadow"])
|
|
144
|
+
.slds-icon-ellie circle:nth-last-child(17) {
|
|
145
|
+
stroke-width: 3.7px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(19),:host([data-render-mode="shadow"])
|
|
149
|
+
.slds-icon-ellie circle:nth-last-child(20) {
|
|
150
|
+
stroke-width: 3px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host([data-render-mode="shadow"]) .slds-icon-ellie circle:nth-child(20),:host([data-render-mode="shadow"])
|
|
154
|
+
.slds-icon-ellie circle:nth-last-child(19) {
|
|
155
|
+
stroke-width: 4px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@keyframes slds-icon-ellie-pop {
|
|
159
|
+
0% {
|
|
160
|
+
transform: scale(0.2);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
70% {
|
|
164
|
+
transform: scale(1.1);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
90% {
|
|
168
|
+
transform: scale(0.7);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
100% {
|
|
172
|
+
transform: scale(1);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@keyframes slds-icon-ellie {
|
|
177
|
+
to {
|
|
178
|
+
transform: translateX(-17.5rem);
|
|
179
|
+
}
|
|
180
|
+
}
|