lightning-base-components 1.18.8-alpha → 1.19.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/metadata/raptor.json +51 -1
- package/package.json +25 -1
- package/scopedImports/@salesforce-internal-core.appVersion.js +1 -1
- package/scopedImports/@salesforce-label-LightningProgressRing.complete.js +1 -0
- package/scopedImports/@salesforce-label-LightningProgressRing.expired.js +1 -0
- package/scopedImports/@salesforce-label-LightningProgressRing.warning.js +1 -0
- package/scopedImports/@salesforce-label-LightningRecordPicker.defaultSelectedRecordErrorMessage.js +1 -0
- package/scopedImports/@salesforce-label-LightningRecordPicker.invalidConfigurationErrorMessage.js +1 -1
- package/scopedImports/@salesforce-label-LightningRecordPicker.loadingPlaceholder.js +1 -0
- package/scopedImports/@salesforce-label-LightningRecordPicker.messageWhenBadInputDefault.js +1 -0
- package/scopedImports/@salesforce-label-LightningServiceCloudVoiceToolkitApi.missingNbaParams.js +1 -1
- package/src/lightning/accordion/__docs__/accordion.md +2 -2
- package/src/lightning/accordion/accordion.slds.css +30 -29
- package/src/lightning/accordionSection/__docs__/accordionSection.md +1 -1
- package/src/lightning/accordionSection/accordion-section.slds.css +26 -24
- package/src/lightning/avatar/__docs__/avatar.md +1 -1
- package/src/lightning/avatar/avatar.slds.css +21 -22
- package/src/lightning/badge/__docs__/badge.md +1 -1
- package/src/lightning/barcodeScanner/__docs__/barcodeScanner.md +2 -2
- package/src/lightning/baseCombobox/base-combobox.slds.css +48 -71
- package/src/lightning/baseCombobox/baseCombobox.js +20 -7
- package/src/lightning/baseComboboxItem/listbox.slds.css +10 -25
- package/src/lightning/breadcrumb/breadcrumb.slds.css +2 -2
- package/src/lightning/breadcrumbs/__docs__/breadcrumbs.md +3 -3
- package/src/lightning/breadcrumbs/breadcrumbs.slds.css +4 -3
- package/src/lightning/button/__docs__/button.md +8 -8
- package/src/lightning/button/button.js +1 -0
- package/src/lightning/button/button.slds.css +3 -3
- package/src/lightning/buttonGroup/__docs__/buttonGroup.md +1 -1
- package/src/lightning/buttonIcon/__docs__/buttonIcon.md +1 -1
- package/src/lightning/buttonIcon/button-icon.slds.css +6 -6
- package/src/lightning/buttonIcon/buttonIcon.js +1 -0
- package/src/lightning/buttonIconStateful/__docs__/buttonIconStateful.md +1 -1
- package/src/lightning/buttonIconStateful/button-icon-stateful.slds.css +6 -6
- package/src/lightning/buttonIconStateful/buttonIconStateful.css +4 -0
- package/src/lightning/buttonMenu/__docs__/buttonMenu.md +3 -1
- package/src/lightning/buttonMenu/button-menu.slds.css +42 -51
- package/src/lightning/buttonMenu/buttonMenu.js +4 -1
- package/src/lightning/buttonStateful/__docs__/buttonStateful.md +2 -2
- package/src/lightning/buttonStateful/button-stateful.slds.css +19 -22
- package/src/lightning/calendar/calendar.slds.css +39 -48
- package/src/lightning/card/__docs__/card.md +5 -5
- package/src/lightning/card/card.slds.css +37 -18
- package/src/lightning/colorPickerCustom/color-picker-custom.slds.css +3 -3
- package/src/lightning/colorPickerPanel/popover.slds.css +1 -1
- package/src/lightning/combobox/__docs__/combobox.md +2 -0
- package/src/lightning/combobox/combobox.html +3 -2
- package/src/lightning/combobox/combobox.js +2 -0
- package/src/lightning/combobox/form-element.slds.css +23 -24
- package/src/lightning/datatable/__docs__/datatable.md +63 -8
- package/src/lightning/datepicker/datepicker.html +1 -1
- package/src/lightning/datepicker/datepicker.js +8 -0
- package/src/lightning/datepicker/form-element.slds.css +23 -24
- package/src/lightning/datepicker/input-text.slds.css +16 -16
- package/src/lightning/datetimepicker/form-element.slds.css +23 -24
- package/src/lightning/datetimepicker/input-text.slds.css +16 -16
- package/src/lightning/dialog/README.md +1 -1
- package/src/lightning/dualListbox/__docs__/dualListbox.md +1 -1
- package/src/lightning/dualListbox/dual-listbox.slds.css +4 -13
- package/src/lightning/dualListbox/form-element.slds.css +23 -24
- package/src/lightning/dualListbox/listbox.slds.css +10 -25
- package/src/lightning/dynamicIcon/dynamic-icon-ellie.slds.css +2 -2
- package/src/lightning/dynamicIcon/dynamic-icon-eq.slds.css +1 -1
- package/src/lightning/dynamicIcon/dynamic-icon-trend.slds.css +1 -1
- package/src/lightning/formattedDateTime/__docs__/formattedDateTime.md +1 -1
- package/src/lightning/formattedNumber/__docs__/formattedNumber.md +1 -1
- package/src/lightning/formattedRichText/formatted-rich-text.slds.css +0 -2
- package/src/lightning/helptext/form-element.slds.css +23 -24
- package/src/lightning/helptext/help-text.slds.css +6 -6
- package/src/lightning/icon/__docs__/icon.md +2 -2
- package/src/lightning/icon/icon.html +9 -3
- package/src/lightning/icon/icon.js +16 -12
- package/src/lightning/icon/icon.slds.css +14 -14
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/attribute_based_pricing.html +10 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/bundles_pricing.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/data_cloud.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/data_graph.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/dynamic_highlights_panel.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/header_discounts.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/impact_outcome.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/impact_strategy.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/impact_strategy_assignment.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/indicator_assignment.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/indicator_definition.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/indicator_performance_period.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/indicator_result.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/manual_discounts.html +9 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/no_code_model.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/outcome_activity.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/panel_detail.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/price_adjustment_matrix.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/registered_model.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/repeaters.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/scheduling_workspace.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/story.html +4 -2
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/time_period.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/travel_mode.html +2 -2
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/uploaded_model.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/volume_discounts.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/standard/walkthroughs.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/templates.js +38 -1
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/apex_alt.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/data_cloud.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/data_graph.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/data_transforms.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/edit_gpt.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/einstein.html +4 -2
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/guidance.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/indicator_performance_period.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/mixed_sources_mapping.html +8 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/page_structure.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/sparkles.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/visibility_rule_assigned.html +7 -0
- package/src/lightning/iconSvgTemplates/buildTemplates/utility/walkthroughs.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/attribute_based_pricing.html +10 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/bundles_pricing.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/data_cloud.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/data_graph.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/dynamic_highlights_panel.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/header_discounts.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/impact_outcome.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/impact_strategy.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/impact_strategy_assignment.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/indicator_assignment.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/indicator_definition.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/indicator_performance_period.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/indicator_result.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/manual_discounts.html +9 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/no_code_model.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/outcome_activity.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/panel_detail.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/price_adjustment_matrix.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/registered_model.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/repeaters.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/scheduling_workspace.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/story.html +4 -2
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/time_period.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/travel_mode.html +2 -2
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/uploaded_model.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/volume_discounts.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/walkthroughs.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/templates.js +38 -1
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/apex_alt.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/data_cloud.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/data_graph.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/data_transforms.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/edit_gpt.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/einstein.html +4 -2
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/guidance.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/indicator_performance_period.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/mixed_sources_mapping.html +8 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/page_structure.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/sparkles.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/visibility_rule_assigned.html +7 -0
- package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/walkthroughs.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/attribute_based_pricing.html +10 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/bundles_pricing.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/data_cloud.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/data_graph.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/dynamic_highlights_panel.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/header_discounts.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/impact_outcome.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/impact_strategy.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/impact_strategy_assignment.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/indicator_assignment.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/indicator_definition.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/indicator_performance_period.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/indicator_result.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/manual_discounts.html +9 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/no_code_model.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/outcome_activity.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/panel_detail.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/price_adjustment_matrix.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/registered_model.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/repeaters.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/scheduling_workspace.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/story.html +4 -2
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/time_period.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/travel_mode.html +2 -2
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/uploaded_model.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/volume_discounts.html +7 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/walkthroughs.html +8 -0
- package/src/lightning/iconSvgTemplatesStandard/buildTemplates/templates.js +26 -1
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/attribute_based_pricing.html +10 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/bundles_pricing.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/data_cloud.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/data_graph.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/dynamic_highlights_panel.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/header_discounts.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/impact_outcome.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/impact_strategy.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/impact_strategy_assignment.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/indicator_assignment.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/indicator_definition.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/indicator_performance_period.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/indicator_result.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/manual_discounts.html +9 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/no_code_model.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/outcome_activity.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/panel_detail.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/price_adjustment_matrix.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/registered_model.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/repeaters.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/scheduling_workspace.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/story.html +4 -2
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/time_period.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/travel_mode.html +2 -2
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/uploaded_model.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/volume_discounts.html +7 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/walkthroughs.html +8 -0
- package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/templates.js +26 -1
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/templates.js +13 -1
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/apex_alt.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/data_cloud.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/data_graph.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/data_transforms.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/edit_gpt.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/einstein.html +4 -2
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/guidance.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/indicator_performance_period.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/mixed_sources_mapping.html +8 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/page_structure.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/sparkles.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/visibility_rule_assigned.html +7 -0
- package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/walkthroughs.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/templates.js +13 -1
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/apex_alt.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/data_cloud.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/data_graph.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/data_transforms.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/edit_gpt.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/einstein.html +4 -2
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/guidance.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/indicator_performance_period.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/mixed_sources_mapping.html +8 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/page_structure.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/sparkles.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/visibility_rule_assigned.html +7 -0
- package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/walkthroughs.html +8 -0
- package/src/lightning/iconUtils/iconColors.js +1 -0
- package/src/lightning/iconUtils/iconUtils.js +10 -0
- package/src/lightning/input/__docs__/input.md +11 -6
- package/src/lightning/input/form-element.slds.css +23 -24
- package/src/lightning/input/input.html +2 -3
- package/src/lightning/input/input.js +14 -10
- package/src/lightning/inputAddress/__docs__/inputAddress.md +5 -5
- package/src/lightning/inputName/__docs__/inputName.md +4 -4
- package/src/lightning/layoutItem/__docs__/layoutItem.md +1 -1
- package/src/lightning/menuItem/menu-item.slds.css +3 -3
- package/src/lightning/modal/__docs__/migration.md +9 -9
- package/src/lightning/modal/__docs__/modal.md +5 -5
- package/src/lightning/modal/__modalUtils__/modalContainerTestConstants.js +2 -4
- package/src/lightning/modal/__modalUtils__/modalContainerTestMethods.js +96 -58
- package/src/lightning/modalBase/modalBase.js +26 -76
- package/src/lightning/modalBody/__docs__/modalBody.md +3 -3
- package/src/lightning/modalBody/modalBody.js +33 -36
- package/src/lightning/modalFooter/__docs__/modalFooter.md +3 -3
- package/src/lightning/modalFooter/modalFooter.js +1 -76
- package/src/lightning/modalHeader/__docs__/modalHeader.md +3 -3
- package/src/lightning/modalHeader/modalHeader.js +0 -68
- package/src/lightning/navigation/__docs__/navigation.md +3 -3
- package/src/lightning/pill/__docs__/pill.md +2 -2
- package/src/lightning/pill/avatar.slds.css +21 -22
- package/src/lightning/pill/pill.slds.css +17 -9
- package/src/lightning/pillContainer/__docs__/pillContainer.md +1 -1
- package/src/lightning/pillContainer/listbox.slds.css +10 -25
- package/src/lightning/pillContainer/pill-container.slds.css +19 -8
- package/src/lightning/pillContainer/pill.slds.css +17 -9
- package/src/lightning/popup/popover.slds.css +1 -1
- package/src/lightning/primitiveBubble/tooltip.slds.css +14 -23
- package/src/lightning/primitiveButton/primitiveButton.js +5 -1
- package/src/lightning/primitiveColorpickerButton/color-picker-button.slds.css +14 -14
- package/src/lightning/primitiveIcon/icon.slds.css +14 -14
- package/src/lightning/primitiveInputCheckbox/form-element.slds.css +23 -24
- package/src/lightning/primitiveInputCheckbox/input-checkbox.slds.css +7 -7
- package/src/lightning/primitiveInputCheckboxButton/form-element.slds.css +23 -24
- package/src/lightning/primitiveInputCheckboxButton/input-checkbox-button.slds.css +1 -6
- package/src/lightning/primitiveInputColor/form-element.slds.css +23 -24
- package/src/lightning/primitiveInputColor/input-color.slds.css +3 -3
- package/src/lightning/primitiveInputColor/input-text.slds.css +16 -16
- package/src/lightning/primitiveInputColor/primitiveInputColor.html +1 -1
- package/src/lightning/primitiveInputFile/button.slds.css +3 -3
- package/src/lightning/primitiveInputFile/form-element.slds.css +23 -24
- package/src/lightning/primitiveInputFile/input-file.slds.css +2 -2
- package/src/lightning/primitiveInputSimple/form-element.slds.css +23 -24
- package/src/lightning/primitiveInputSimple/input-text.slds.css +16 -16
- package/src/lightning/primitiveInputSimple/mobileInputUtils.js +24 -0
- package/src/lightning/primitiveInputSimple/primitiveInputSimple.html +1 -1
- package/src/lightning/primitiveInputSimple/primitiveInputSimple.js +82 -13
- package/src/lightning/primitiveInputToggle/form-element.slds.css +23 -24
- package/src/lightning/progressRing/progressRing.js +16 -3
- package/src/lightning/radioGroup/input-radio-group.slds.css +12 -13
- package/src/lightning/relativeDateTime/__docs__/relativeDateTime.md +1 -1
- package/src/lightning/select/__docs__/select.md +1 -1
- package/src/lightning/select/form-element.slds.css +23 -24
- package/src/lightning/select/select.slds.css +26 -27
- package/src/lightning/spinner/spinner.slds.css +5 -8
- package/src/lightning/tab/__docs__/tab.md +1 -1
- package/src/lightning/tab/tab.slds.css +8 -8
- package/src/lightning/tabBar/tab-bar.slds.css +31 -35
- package/src/lightning/tabset/__docs__/tabset.md +2 -2
- package/src/lightning/textarea/textarea.css +2 -1
- package/src/lightning/textarea/textarea.html +1 -1
- package/src/lightning/textarea/textarea.js +4 -1
- package/src/lightning/tile/__docs__/tile.md +1 -1
- package/src/lightning/timepicker/form-element.slds.css +23 -24
- package/src/lightning/toast/button-icon.slds.css +6 -6
- package/src/lightning/toast/formatted-rich-text.slds.css +0 -2
- package/src/lightning/toast/icon.slds.css +14 -14
- package/src/lightning/toast/toast.slds.css +101 -95
- package/src/lightning/toastContainer/toast.slds.css +101 -95
- package/src/lightning/utilsPrivate/utilsPrivate.js +9 -0
- package/src/lightning/icon/iconColors.js +0 -1
|
@@ -166,7 +166,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
:host([data-render-mode="shadow"]) .slds-nubbin_top::after {
|
|
169
|
-
box-shadow: -1px -1px 0 0 rgba(0, 0, 0,
|
|
169
|
+
box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 16%);
|
|
170
170
|
z-index: -2;
|
|
171
171
|
}
|
|
172
172
|
|
|
@@ -190,15 +190,15 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
190
190
|
|
|
191
191
|
:host([data-render-mode="shadow"]) .slds-nubbin_top-left::after,:host([data-render-mode="shadow"])
|
|
192
192
|
.slds-nubbin_top-left-corner::after {
|
|
193
|
-
box-shadow: -1px -1px 0 0 rgba(0, 0, 0,
|
|
193
|
+
box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 16%);
|
|
194
194
|
z-index: -2;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
:host([data-render-mode="shadow"]) .slds-nubbin_top-right::before,:host([data-render-mode="shadow"])
|
|
198
|
-
.slds-nubbin_top-right-corner::before,:host([data-render-mode="shadow"])
|
|
198
|
+
.slds-nubbin_top-right-corner::before,:host([data-render-mode="shadow"])
|
|
199
199
|
.slds-nubbin_top-right::after,:host([data-render-mode="shadow"])
|
|
200
200
|
.slds-nubbin_top-right-corner::after {
|
|
201
|
-
width: var(--sds-g-spacing-4, 1rem);
|
|
201
|
+
width: var(--sds-g-spacing-4, 1rem);
|
|
202
202
|
height: var(--sds-g-spacing-4, 1rem);
|
|
203
203
|
position: absolute;
|
|
204
204
|
transform: rotate(45deg);
|
|
@@ -216,7 +216,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
216
216
|
|
|
217
217
|
:host([data-render-mode="shadow"]) .slds-nubbin_top-right::after,:host([data-render-mode="shadow"])
|
|
218
218
|
.slds-nubbin_top-right-corner::after {
|
|
219
|
-
box-shadow: -1px -1px 0 0 rgba(0, 0, 0,
|
|
219
|
+
box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 16%);
|
|
220
220
|
z-index: -2;
|
|
221
221
|
}
|
|
222
222
|
|
|
@@ -237,7 +237,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
:host([data-render-mode="shadow"]) .slds-nubbin_bottom::after {
|
|
240
|
-
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0,
|
|
240
|
+
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 16%);
|
|
241
241
|
z-index: -2;
|
|
242
242
|
}
|
|
243
243
|
|
|
@@ -263,7 +263,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
263
263
|
|
|
264
264
|
:host([data-render-mode="shadow"]) .slds-nubbin_bottom-left::after,:host([data-render-mode="shadow"])
|
|
265
265
|
.slds-nubbin_bottom-left-corner::after {
|
|
266
|
-
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0,
|
|
266
|
+
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 16%);
|
|
267
267
|
z-index: -2;
|
|
268
268
|
}
|
|
269
269
|
|
|
@@ -279,19 +279,16 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
279
279
|
background-color: inherit;
|
|
280
280
|
|
|
281
281
|
/* Position: Bottom */
|
|
282
|
-
|
|
283
|
-
margin-left: calc((var(--sds-g-spacing-4, 1rem) * 0.5) * -1);
|
|
284
|
-
left: auto;
|
|
285
|
-
right: var(--sds-g-spacing-5, 1.5rem);
|
|
286
|
-
top: 100%;
|
|
282
|
+
inset: 100% auto calc((var(--sds-g-spacing-4, 1rem) * 0.5) * -1) var(--sds-g-spacing-5, 1.5rem);
|
|
287
283
|
margin-top: calc((var(--sds-g-spacing-4, 1rem) * 0.5) * -1);
|
|
288
284
|
margin-right: calc((var(--sds-g-spacing-4, 1rem) * 0.5) * -1);
|
|
285
|
+
margin-left: calc((var(--sds-g-spacing-4, 1rem) * 0.5) * -1);
|
|
289
286
|
z-index: -1;
|
|
290
287
|
}
|
|
291
288
|
|
|
292
289
|
:host([data-render-mode="shadow"]) .slds-nubbin_bottom-right::after,:host([data-render-mode="shadow"])
|
|
293
290
|
.slds-nubbin_bottom-right-corner::after {
|
|
294
|
-
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0,
|
|
291
|
+
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 16%);
|
|
295
292
|
z-index: -2;
|
|
296
293
|
}
|
|
297
294
|
|
|
@@ -312,7 +309,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
312
309
|
}
|
|
313
310
|
|
|
314
311
|
:host([data-render-mode="shadow"]) .slds-nubbin_left::after {
|
|
315
|
-
box-shadow: -1px 1px 2px 0 rgba(0, 0, 0,
|
|
312
|
+
box-shadow: -1px 1px 2px 0 rgba(0, 0, 0, 16%);
|
|
316
313
|
z-index: -2;
|
|
317
314
|
}
|
|
318
315
|
|
|
@@ -336,7 +333,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
336
333
|
|
|
337
334
|
:host([data-render-mode="shadow"]) .slds-nubbin_left-top::after,:host([data-render-mode="shadow"])
|
|
338
335
|
.slds-nubbin_left-top-corner::after {
|
|
339
|
-
box-shadow: -1px 1px 2px 0 rgba(0, 0, 0,
|
|
336
|
+
box-shadow: -1px 1px 2px 0 rgba(0, 0, 0, 16%);
|
|
340
337
|
z-index: -2;
|
|
341
338
|
}
|
|
342
339
|
|
|
@@ -366,7 +363,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
366
363
|
|
|
367
364
|
:host([data-render-mode="shadow"]) .slds-nubbin_left-bottom::after,:host([data-render-mode="shadow"])
|
|
368
365
|
.slds-nubbin_left-bottom-corner::after {
|
|
369
|
-
box-shadow: -1px 2px 3px 0 rgba(0, 0, 0,
|
|
366
|
+
box-shadow: -1px 2px 3px 0 rgba(0, 0, 0, 16%);
|
|
370
367
|
z-index: -2;
|
|
371
368
|
}
|
|
372
369
|
|
|
@@ -387,7 +384,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
387
384
|
}
|
|
388
385
|
|
|
389
386
|
:host([data-render-mode="shadow"]) .slds-nubbin_right::after {
|
|
390
|
-
box-shadow: 1px -1px 2px 0 rgba(0, 0, 0,
|
|
387
|
+
box-shadow: 1px -1px 2px 0 rgba(0, 0, 0, 16%);
|
|
391
388
|
z-index: -2;
|
|
392
389
|
}
|
|
393
390
|
|
|
@@ -411,7 +408,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
411
408
|
|
|
412
409
|
:host([data-render-mode="shadow"]) .slds-nubbin_right-top::after,:host([data-render-mode="shadow"])
|
|
413
410
|
.slds-nubbin_right-top-corner::after {
|
|
414
|
-
box-shadow: 1px -1px 2px 0 rgba(0, 0, 0,
|
|
411
|
+
box-shadow: 1px -1px 2px 0 rgba(0, 0, 0, 16%);
|
|
415
412
|
z-index: -2;
|
|
416
413
|
}
|
|
417
414
|
|
|
@@ -441,7 +438,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
441
438
|
|
|
442
439
|
:host([data-render-mode="shadow"]) .slds-nubbin_right-bottom::after,:host([data-render-mode="shadow"])
|
|
443
440
|
.slds-nubbin_right-bottom-corner::after {
|
|
444
|
-
box-shadow: 2px -1px 3px 0 rgba(0, 0, 0,
|
|
441
|
+
box-shadow: 2px -1px 3px 0 rgba(0, 0, 0, 16%);
|
|
445
442
|
z-index: -2;
|
|
446
443
|
}
|
|
447
444
|
|
|
@@ -535,15 +532,15 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
535
532
|
--sds-c-overlay-radius-border: var(--slds-c-dropdown-radius-border, var(--sds-g-radius-border-2, 0.25rem));
|
|
536
533
|
--sds-c-overlay-sizing-border: var(--slds-c-dropdown-sizing-border, var(--sds-g-sizing-border-1, 1px));
|
|
537
534
|
--sds-c-overlay-color-border: var(--slds-c-dropdown-color-border, var(--sds-g-color-neutral-base-90, #e5e5e5));
|
|
538
|
-
--sds-c-overlay-shadow: var(--slds-c-dropdown-shadow, 0 2px 3px 0 rgba(0, 0, 0,
|
|
535
|
+
--sds-c-overlay-shadow: var(--slds-c-dropdown-shadow, 0 2px 3px 0 rgba(0, 0, 0, 16%));
|
|
539
536
|
--sds-c-overlay-spacing-inline-start: 0;
|
|
540
537
|
--sds-c-overlay-spacing-inline-end: 0;
|
|
541
538
|
--sds-c-overlay-spacing-block-start: var(
|
|
542
|
-
--slds-c-dropdown-spacing-
|
|
539
|
+
--slds-c-dropdown-spacing-blockstart,
|
|
543
540
|
var(--slds-c-dropdown-spacing-block, var(--sds-g-spacing-1, 0.25rem))
|
|
544
541
|
);
|
|
545
542
|
--sds-c-overlay-spacing-block-end: var(
|
|
546
|
-
--slds-c-dropdown-spacing-
|
|
543
|
+
--slds-c-dropdown-spacing-blockend,
|
|
547
544
|
var(--slds-c-dropdown-spacing-block, var(--sds-g-spacing-1, 0.25rem))
|
|
548
545
|
);
|
|
549
546
|
|
|
@@ -557,11 +554,11 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
557
554
|
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
558
555
|
/* stylelint-disable */
|
|
559
556
|
margin-block-start: calc(
|
|
560
|
-
var(--slds-c-dropdown-spacing-
|
|
557
|
+
var(--slds-c-dropdown-spacing-blockstart, var(--slds-c-dropdown-spacing-block, var(--sds-g-spacing-1, 0.25rem))) /
|
|
561
558
|
2
|
|
562
559
|
);
|
|
563
560
|
margin-block-end: calc(
|
|
564
|
-
var(--slds-c-dropdown-spacing-
|
|
561
|
+
var(--slds-c-dropdown-spacing-blockend, var(--slds-c-dropdown-spacing-block, var(--sds-g-spacing-1, 0.25rem))) /
|
|
565
562
|
2
|
|
566
563
|
);
|
|
567
564
|
/* stylelint-enable */
|
|
@@ -601,7 +598,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
601
598
|
top: 100%;
|
|
602
599
|
}
|
|
603
600
|
|
|
604
|
-
:host([data-render-mode="shadow"].slds-dropdown-trigger) .slds-dropdown_bottom,:host([data-render-mode="shadow"])
|
|
601
|
+
:host([data-render-mode="shadow"].slds-dropdown-trigger) .slds-dropdown_bottom,:host([data-render-mode="shadow"])
|
|
605
602
|
.slds-dropdown-trigger .slds-dropdown_bottom {
|
|
606
603
|
top: auto;
|
|
607
604
|
}
|
|
@@ -729,7 +726,6 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
729
726
|
var(--sds-g-spacing-4, 1rem)
|
|
730
727
|
) * 5
|
|
731
728
|
);
|
|
732
|
-
-webkit-overflow-scrolling: touch;
|
|
733
729
|
overflow-y: auto;
|
|
734
730
|
}
|
|
735
731
|
|
|
@@ -740,7 +736,6 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
740
736
|
var(--sds-g-spacing-4, 1rem)
|
|
741
737
|
) * 7
|
|
742
738
|
);
|
|
743
|
-
-webkit-overflow-scrolling: touch;
|
|
744
739
|
overflow-y: auto;
|
|
745
740
|
}
|
|
746
741
|
|
|
@@ -751,7 +746,6 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
751
746
|
var(--sds-g-spacing-4, 1rem)
|
|
752
747
|
) * 10
|
|
753
748
|
);
|
|
754
|
-
-webkit-overflow-scrolling: touch;
|
|
755
749
|
overflow-y: auto;
|
|
756
750
|
}
|
|
757
751
|
|
|
@@ -759,7 +753,6 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
759
753
|
/* stylelint-disable sds-stylelint-plugin/styling-hooks-pattern */
|
|
760
754
|
max-height: calc((var(--_dropdown-square-icon-small-boundary) + var(--sds-g-spacing-4, 1rem)) * 5);
|
|
761
755
|
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
762
|
-
-webkit-overflow-scrolling: touch;
|
|
763
756
|
overflow-y: auto;
|
|
764
757
|
}
|
|
765
758
|
|
|
@@ -767,7 +760,6 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
767
760
|
/* stylelint-disable sds-stylelint-plugin/styling-hooks-pattern */
|
|
768
761
|
max-height: calc((var(--_dropdown-square-icon-small-boundary) + var(--sds-g-spacing-4, 1rem)) * 7);
|
|
769
762
|
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
770
|
-
-webkit-overflow-scrolling: touch;
|
|
771
763
|
overflow-y: auto;
|
|
772
764
|
}
|
|
773
765
|
|
|
@@ -775,7 +767,6 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
775
767
|
/* stylelint-disable sds-stylelint-plugin/styling-hooks-pattern */
|
|
776
768
|
max-height: calc((var(--_dropdown-square-icon-small-boundary) + var(--sds-g-spacing-4, 1rem)) * 10);
|
|
777
769
|
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
778
|
-
-webkit-overflow-scrolling: touch;
|
|
779
770
|
overflow-y: auto;
|
|
780
771
|
}
|
|
781
772
|
|
|
@@ -923,18 +914,18 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
923
914
|
align-items: stretch;
|
|
924
915
|
}
|
|
925
916
|
|
|
926
|
-
:host([data-render-mode="shadow"]) [part='input-container'][type
|
|
917
|
+
:host([data-render-mode="shadow"]) [part='input-container'][type='range'] {
|
|
927
918
|
border: none;
|
|
928
919
|
display: inline-block;
|
|
929
920
|
}
|
|
930
921
|
|
|
931
|
-
:host([data-render-mode="shadow"]) [part='input'][type
|
|
922
|
+
:host([data-render-mode="shadow"]) [part='input'][type='range'] {
|
|
932
923
|
min-height: calc(1.875rem + (1px * 2));
|
|
933
924
|
margin: 0;
|
|
934
925
|
}
|
|
935
926
|
|
|
936
|
-
:host([data-render-mode="shadow"]) [part='input-container'][type
|
|
937
|
-
[part='input-container'][type
|
|
927
|
+
:host([data-render-mode="shadow"]) [part='input-container'][type='range']:focus-within,:host([data-render-mode="shadow"])
|
|
928
|
+
[part='input-container'][type='range']:active {
|
|
938
929
|
--sds-c-inputtext-color-border: var(--sds-g-color-brand-base-60, #1b96ff);
|
|
939
930
|
--sds-c-inputtext-shadow: 0 0 3px var(--sds-g-color-brand-base-50, #0176d3);
|
|
940
931
|
--sds-c-inputtext-color-background: var(--sds-g-color-neutral-base-100, #ffffff);
|
|
@@ -949,10 +940,10 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
949
940
|
*/
|
|
950
941
|
:host([data-render-mode="shadow"]) [part='input'] {
|
|
951
942
|
padding-inline-start: var(
|
|
952
|
-
--slds-c-inputtext-spacing-
|
|
943
|
+
--slds-c-inputtext-spacing-inlinestart,
|
|
953
944
|
var(--sds-g-spacing-3, 0.75rem));
|
|
954
945
|
padding-inline-end: var(
|
|
955
|
-
--slds-c-inputtext-spacing-
|
|
946
|
+
--slds-c-inputtext-spacing-inlineend,
|
|
956
947
|
var(--sds-g-spacing-4, 1rem));
|
|
957
948
|
height: unset;
|
|
958
949
|
font-family: var(--sds-g-font-family, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol');
|
|
@@ -1051,7 +1042,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1051
1042
|
* the icon in the inline help text.
|
|
1052
1043
|
*/
|
|
1053
1044
|
:host([data-render-mode="shadow"]) [part='start'] {
|
|
1054
|
-
--slds-c-icon-spacing-
|
|
1045
|
+
--slds-c-icon-spacing-inlineend: var(--sds-g-spacing-2, 0.5rem);
|
|
1055
1046
|
}
|
|
1056
1047
|
|
|
1057
1048
|
/**
|
|
@@ -1066,12 +1057,12 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1066
1057
|
*
|
|
1067
1058
|
* Ref: https://github.com/salesforce-ux/design-system-internal/blob/240-winter-23/ui/components/form-element/horizontal/_index.scss#L63
|
|
1068
1059
|
*/
|
|
1069
|
-
@media (
|
|
1070
|
-
:host([data-render-mode="shadow"][variant
|
|
1060
|
+
@media (width >= 48em) {
|
|
1061
|
+
:host([data-render-mode="shadow"][variant='label-inline']) [part='input-text'] {
|
|
1071
1062
|
display: block;
|
|
1072
1063
|
}
|
|
1073
1064
|
|
|
1074
|
-
:host([data-render-mode="shadow"][variant
|
|
1065
|
+
:host([data-render-mode="shadow"][variant='label-inline']) [part='label'] {
|
|
1075
1066
|
float: left;
|
|
1076
1067
|
|
|
1077
1068
|
/* TODO: Get rid of these magic numbers */
|
|
@@ -1079,11 +1070,11 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1079
1070
|
padding-block-start: var(--sds-g-spacing-1, 0.25rem);
|
|
1080
1071
|
}
|
|
1081
1072
|
|
|
1082
|
-
:host([data-render-mode="shadow"][variant
|
|
1073
|
+
:host([data-render-mode="shadow"][variant='label-inline']) [part='input-container'] {
|
|
1083
1074
|
margin-inline-start: 33%;
|
|
1084
1075
|
}
|
|
1085
1076
|
|
|
1086
|
-
:host([data-render-mode="shadow"][variant
|
|
1077
|
+
:host([data-render-mode="shadow"][variant='label-inline']) [part='inline-help'] {
|
|
1087
1078
|
float: left;
|
|
1088
1079
|
padding-block-start: var(--sds-g-spacing-1, 0.25rem);
|
|
1089
1080
|
}
|
|
@@ -1118,7 +1109,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1118
1109
|
* Has Icon Left
|
|
1119
1110
|
*/
|
|
1120
1111
|
:host([data-render-mode="shadow"]) .slds-input-has-icon_left {
|
|
1121
|
-
--slds-c-inputtext-spacing-
|
|
1112
|
+
--slds-c-inputtext-spacing-inlinestart: var(--sds-g-spacing-6, 2rem);
|
|
1122
1113
|
}
|
|
1123
1114
|
|
|
1124
1115
|
:host([data-render-mode="shadow"]) .slds-input-has-icon_left .slds-input__icon,:host([data-render-mode="shadow"])
|
|
@@ -1130,7 +1121,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1130
1121
|
* Has Icon Right
|
|
1131
1122
|
*/
|
|
1132
1123
|
:host([data-render-mode="shadow"]) .slds-input-has-icon_right {
|
|
1133
|
-
--slds-c-inputtext-spacing-
|
|
1124
|
+
--slds-c-inputtext-spacing-inlineend: var(--sds-g-spacing-6, 2rem);
|
|
1134
1125
|
}
|
|
1135
1126
|
|
|
1136
1127
|
:host([data-render-mode="shadow"]) .slds-input-has-icon_right .slds-input__icon,:host([data-render-mode="shadow"])
|
|
@@ -1142,8 +1133,8 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1142
1133
|
* Has Icon Left & Right
|
|
1143
1134
|
*/
|
|
1144
1135
|
:host([data-render-mode="shadow"]) .slds-input-has-icon_left-right {
|
|
1145
|
-
--slds-c-inputtext-spacing-
|
|
1146
|
-
--slds-c-inputtext-spacing-
|
|
1136
|
+
--slds-c-inputtext-spacing-inlinestart: var(--sds-g-spacing-6, 2rem);
|
|
1137
|
+
--slds-c-inputtext-spacing-inlineend: var(--sds-g-spacing-6, 2rem);
|
|
1147
1138
|
}
|
|
1148
1139
|
|
|
1149
1140
|
/**
|
|
@@ -1168,12 +1159,6 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1168
1159
|
}
|
|
1169
1160
|
|
|
1170
1161
|
@supports (--styling-hooks: '') {
|
|
1171
|
-
:host([data-render-mode="shadow"]) [part~='listbox'] {
|
|
1172
|
-
/* stylelint-disable sds-stylelint-plugin/styling-hooks-pattern */
|
|
1173
|
-
--_listbox-spacing-xxx-small: 0.125rem;
|
|
1174
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
1162
|
/* Horizontal listbox - used for pill container */
|
|
1178
1163
|
:host([data-render-mode="shadow"]) .slds-listbox_horizontal {
|
|
1179
1164
|
display: inline-flex;
|
|
@@ -1186,9 +1171,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1186
1171
|
}
|
|
1187
1172
|
|
|
1188
1173
|
:host([data-render-mode="shadow"]) .slds-listbox_horizontal li+li {
|
|
1189
|
-
|
|
1190
|
-
padding-inline-start: var(--_listbox-spacing-xxx-small);
|
|
1191
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
1174
|
+
padding-inline-start: 0.125rem;
|
|
1192
1175
|
}
|
|
1193
1176
|
|
|
1194
1177
|
/* Vertical listbox */
|
|
@@ -1269,7 +1252,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1269
1252
|
}
|
|
1270
1253
|
|
|
1271
1254
|
:host([data-render-mode="shadow"]) .slds-listbox__option[aria-disabled="true"] .slds-listbox__option-icon {
|
|
1272
|
-
color:
|
|
1255
|
+
color: currentcolor;
|
|
1273
1256
|
}
|
|
1274
1257
|
|
|
1275
1258
|
/* The icon within a plain listbox that indicates if an option has been selected or not. */
|
|
@@ -1294,9 +1277,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1294
1277
|
text-overflow: ellipsis;
|
|
1295
1278
|
white-space: nowrap;
|
|
1296
1279
|
display: block;
|
|
1297
|
-
|
|
1298
|
-
margin-block-end: var(--_listbox-spacing-xxx-small);
|
|
1299
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
1280
|
+
margin-block-end: 0.125rem;
|
|
1300
1281
|
}
|
|
1301
1282
|
|
|
1302
1283
|
/* The metadata or secondary text of an entity listbox */
|
|
@@ -1307,15 +1288,15 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1307
1288
|
}
|
|
1308
1289
|
|
|
1309
1290
|
:host([data-render-mode="shadow"]) .slds-listbox__option[aria-disabled="true"] .slds-listbox__option-meta {
|
|
1310
|
-
color:
|
|
1291
|
+
color: currentcolor;
|
|
1311
1292
|
}
|
|
1312
|
-
|
|
1293
|
+
|
|
1313
1294
|
/* -------------------- END LISTBOX OPTION CSS --------------------------------------------- */
|
|
1314
1295
|
|
|
1315
1296
|
/* ---------------------PULL OUT FOR PILL CONTAINER ---------------------------------------- */
|
|
1316
1297
|
|
|
1317
1298
|
/* The container of pill selections found inside of a combobox group */
|
|
1318
|
-
|
|
1299
|
+
|
|
1319
1300
|
/* .slds-listbox_selection-group items need to be moved out to pill/pill container */
|
|
1320
1301
|
:host([data-render-mode="shadow"]) .slds-listbox_selection-group {
|
|
1321
1302
|
position: relative;
|
|
@@ -1333,18 +1314,14 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1333
1314
|
|
|
1334
1315
|
:host([data-render-mode="shadow"]) .slds-listbox_selection-group .slds-listbox {
|
|
1335
1316
|
padding-block-start: 0;
|
|
1336
|
-
|
|
1337
|
-
padding-block-end: var(--_listbox-spacing-xxx-small);
|
|
1338
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
1317
|
+
padding-block-end: 0.125rem;
|
|
1339
1318
|
padding-inline: 0;
|
|
1340
1319
|
}
|
|
1341
1320
|
|
|
1342
1321
|
:host([data-render-mode="shadow"]) .slds-listbox_selection-group .slds-listbox-item {
|
|
1343
|
-
|
|
1344
|
-
padding-block-start: var(--_listbox-spacing-xxx-small);
|
|
1322
|
+
padding-block-start: 0.125rem;
|
|
1345
1323
|
padding-block-end: 0;
|
|
1346
|
-
padding-inline:
|
|
1347
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
1324
|
+
padding-inline: 0.125rem;
|
|
1348
1325
|
}
|
|
1349
1326
|
|
|
1350
1327
|
/* Toggle button to show all of the pill selections */
|
|
@@ -1419,7 +1396,7 @@ Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
|
1419
1396
|
margin-inline-end: 0;
|
|
1420
1397
|
}
|
|
1421
1398
|
|
|
1422
|
-
@media (
|
|
1399
|
+
@media (width <= 48em) {
|
|
1423
1400
|
|
|
1424
1401
|
:host([data-render-mode="shadow"]) .slds-media_responsive {
|
|
1425
1402
|
display: block;
|
|
@@ -35,6 +35,8 @@ const INPUT_ELEMENT_SELECTOR = '.slds-combobox__input';
|
|
|
35
35
|
const INPUT_PART_ELEMENT_SELECTOR = '[part~="input-text"]';
|
|
36
36
|
const FAUX_INPUT_BUTTON_ELEMENT_SELECTOR = `${INPUT_ELEMENT_SELECTOR}.slds-input_faux`;
|
|
37
37
|
|
|
38
|
+
const VARIANT_LOOKUP = 'lookup';
|
|
39
|
+
|
|
38
40
|
/**
|
|
39
41
|
* Breakpoint when viewport height doesn't fit 10 items in the dropdown
|
|
40
42
|
* 834px is the height of 11 inch iPad in horizontal mode.
|
|
@@ -326,7 +328,13 @@ export default class LightningBaseCombobox extends LightningElement {
|
|
|
326
328
|
set variant(value) {
|
|
327
329
|
this._variant = normalizeString(value, {
|
|
328
330
|
fallbackValue: VARIANT.STANDARD,
|
|
329
|
-
validValues: [
|
|
331
|
+
validValues: [
|
|
332
|
+
VARIANT.STANDARD,
|
|
333
|
+
VARIANT.LABEL_INLINE,
|
|
334
|
+
VARIANT.LABEL_STACKED,
|
|
335
|
+
VARIANT.LABEL_HIDDEN,
|
|
336
|
+
VARIANT_LOOKUP,
|
|
337
|
+
],
|
|
330
338
|
});
|
|
331
339
|
}
|
|
332
340
|
|
|
@@ -499,12 +507,17 @@ export default class LightningBaseCombobox extends LightningElement {
|
|
|
499
507
|
return this.autocomplete && this.autocomplete !== 'off';
|
|
500
508
|
}
|
|
501
509
|
|
|
502
|
-
get
|
|
503
|
-
return
|
|
510
|
+
get isStandardOrLabelVariant() {
|
|
511
|
+
return [
|
|
512
|
+
VARIANT.STANDARD,
|
|
513
|
+
VARIANT.LABEL_INLINE,
|
|
514
|
+
VARIANT.LABEL_STACKED,
|
|
515
|
+
VARIANT.LABEL_HIDDEN,
|
|
516
|
+
].includes(this.variant);
|
|
504
517
|
}
|
|
505
518
|
|
|
506
519
|
get isDefaultReadOnlyTypes() {
|
|
507
|
-
return this.
|
|
520
|
+
return this.isStandardOrLabelVariant || this.hasInputPill;
|
|
508
521
|
}
|
|
509
522
|
|
|
510
523
|
/**
|
|
@@ -512,7 +525,7 @@ export default class LightningBaseCombobox extends LightningElement {
|
|
|
512
525
|
* Used to determine if input or button should be rendered
|
|
513
526
|
*/
|
|
514
527
|
get isUserInputDisabled() {
|
|
515
|
-
return this.
|
|
528
|
+
return this.isStandardOrLabelVariant && !this.isAutocompleteEnabled;
|
|
516
529
|
}
|
|
517
530
|
|
|
518
531
|
get _inputAriaReadOnly() {
|
|
@@ -520,7 +533,7 @@ export default class LightningBaseCombobox extends LightningElement {
|
|
|
520
533
|
// so the user can type and search in the dropdown list
|
|
521
534
|
// For grouped combobox, the input must remain editable because the search is done through
|
|
522
535
|
// the input.
|
|
523
|
-
if (this._dropdownVisible && this.
|
|
536
|
+
if (this._dropdownVisible && this.isStandardOrLabelVariant) {
|
|
524
537
|
return true;
|
|
525
538
|
}
|
|
526
539
|
|
|
@@ -967,7 +980,7 @@ export default class LightningBaseCombobox extends LightningElement {
|
|
|
967
980
|
// when FALSE the target is an INPUT element
|
|
968
981
|
// NOTE: isUserInputDisabled is NOT determined by combobox.disabled
|
|
969
982
|
// instead isUserInputDisabled is determined by
|
|
970
|
-
// this.
|
|
983
|
+
// this.isStandardOrLabelVariant && !this.isAutocompleteEnabled (which is an internal variable)
|
|
971
984
|
// this means that the INPUT is often NOT present, and instead a BUTTON is
|
|
972
985
|
// this selector for .start({ target }) is used to
|
|
973
986
|
// position the element from so this.isUserInputDisabled
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
@supports (--styling-hooks: '') {
|
|
3
|
-
:host([data-render-mode="shadow"]) [part~='listbox'] {
|
|
4
|
-
/* stylelint-disable sds-stylelint-plugin/styling-hooks-pattern */
|
|
5
|
-
--_listbox-spacing-xxx-small: 0.125rem;
|
|
6
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
7
|
-
}
|
|
8
|
-
|
|
9
3
|
/* Horizontal listbox - used for pill container */
|
|
10
4
|
:host([data-render-mode="shadow"]) .slds-listbox_horizontal {
|
|
11
5
|
display: inline-flex;
|
|
@@ -18,9 +12,7 @@
|
|
|
18
12
|
}
|
|
19
13
|
|
|
20
14
|
:host([data-render-mode="shadow"]) .slds-listbox_horizontal li+li {
|
|
21
|
-
|
|
22
|
-
padding-inline-start: var(--_listbox-spacing-xxx-small);
|
|
23
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
15
|
+
padding-inline-start: 0.125rem;
|
|
24
16
|
}
|
|
25
17
|
|
|
26
18
|
/* Vertical listbox */
|
|
@@ -101,7 +93,7 @@
|
|
|
101
93
|
}
|
|
102
94
|
|
|
103
95
|
:host([data-render-mode="shadow"]) .slds-listbox__option[aria-disabled="true"] .slds-listbox__option-icon {
|
|
104
|
-
color:
|
|
96
|
+
color: currentcolor;
|
|
105
97
|
}
|
|
106
98
|
|
|
107
99
|
/* The icon within a plain listbox that indicates if an option has been selected or not. */
|
|
@@ -126,9 +118,7 @@
|
|
|
126
118
|
text-overflow: ellipsis;
|
|
127
119
|
white-space: nowrap;
|
|
128
120
|
display: block;
|
|
129
|
-
|
|
130
|
-
margin-block-end: var(--_listbox-spacing-xxx-small);
|
|
131
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
121
|
+
margin-block-end: 0.125rem;
|
|
132
122
|
}
|
|
133
123
|
|
|
134
124
|
/* The metadata or secondary text of an entity listbox */
|
|
@@ -139,15 +129,15 @@
|
|
|
139
129
|
}
|
|
140
130
|
|
|
141
131
|
:host([data-render-mode="shadow"]) .slds-listbox__option[aria-disabled="true"] .slds-listbox__option-meta {
|
|
142
|
-
color:
|
|
132
|
+
color: currentcolor;
|
|
143
133
|
}
|
|
144
|
-
|
|
134
|
+
|
|
145
135
|
/* -------------------- END LISTBOX OPTION CSS --------------------------------------------- */
|
|
146
136
|
|
|
147
137
|
/* ---------------------PULL OUT FOR PILL CONTAINER ---------------------------------------- */
|
|
148
138
|
|
|
149
139
|
/* The container of pill selections found inside of a combobox group */
|
|
150
|
-
|
|
140
|
+
|
|
151
141
|
/* .slds-listbox_selection-group items need to be moved out to pill/pill container */
|
|
152
142
|
:host([data-render-mode="shadow"]) .slds-listbox_selection-group {
|
|
153
143
|
position: relative;
|
|
@@ -165,18 +155,14 @@
|
|
|
165
155
|
|
|
166
156
|
:host([data-render-mode="shadow"]) .slds-listbox_selection-group .slds-listbox {
|
|
167
157
|
padding-block-start: 0;
|
|
168
|
-
|
|
169
|
-
padding-block-end: var(--_listbox-spacing-xxx-small);
|
|
170
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
158
|
+
padding-block-end: 0.125rem;
|
|
171
159
|
padding-inline: 0;
|
|
172
160
|
}
|
|
173
161
|
|
|
174
162
|
:host([data-render-mode="shadow"]) .slds-listbox_selection-group .slds-listbox-item {
|
|
175
|
-
|
|
176
|
-
padding-block-start: var(--_listbox-spacing-xxx-small);
|
|
163
|
+
padding-block-start: 0.125rem;
|
|
177
164
|
padding-block-end: 0;
|
|
178
|
-
padding-inline:
|
|
179
|
-
/* stylelint-enable sds-stylelint-plugin/styling-hooks-pattern */
|
|
165
|
+
padding-inline: 0.125rem;
|
|
180
166
|
}
|
|
181
167
|
|
|
182
168
|
/* Toggle button to show all of the pill selections */
|
|
@@ -251,7 +237,7 @@
|
|
|
251
237
|
margin-inline-end: 0;
|
|
252
238
|
}
|
|
253
239
|
|
|
254
|
-
@media (
|
|
240
|
+
@media (width <= 48em) {
|
|
255
241
|
|
|
256
242
|
:host([data-render-mode="shadow"]) .slds-media_responsive {
|
|
257
243
|
display: block;
|
|
@@ -264,4 +250,3 @@
|
|
|
264
250
|
}
|
|
265
251
|
}
|
|
266
252
|
}
|
|
267
|
-
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
:host([data-render-mode="shadow"]) [part='breadcrumb'] {
|
|
7
7
|
display: block;
|
|
8
8
|
padding-block-start: 0;
|
|
9
|
-
padding-inline-end: var(--slds-c-breadcrumb-spacing-
|
|
9
|
+
padding-inline-end: var(--slds-c-breadcrumb-spacing-inlineend, var(--sds-g-spacing-2, 0.5rem));
|
|
10
10
|
padding-block-end: 0;
|
|
11
|
-
padding-inline-start: var(--slds-c-breadcrumb-spacing-
|
|
11
|
+
padding-inline-start: var(--slds-c-breadcrumb-spacing-inlinestart, var(--sds-g-spacing-2, 0.5rem));
|
|
12
12
|
color: var(--slds-g-color-brand-base-50, var(--sds-g-color-brand-base-50, #0176d3));
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -43,14 +43,14 @@ Use SLDS styling hooks to customize the component's styles. For example, adjust
|
|
|
43
43
|
|
|
44
44
|
```css
|
|
45
45
|
.my-breadcrumbs {
|
|
46
|
-
--slds-c-breadcrumbs-spacing-
|
|
47
|
-
--slds-c-breadcrumbs-spacing-
|
|
46
|
+
--slds-c-breadcrumbs-spacing-inlineend: 20px;
|
|
47
|
+
--slds-c-breadcrumbs-spacing-inlinestart: 30px;
|
|
48
48
|
}
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
See [Styling Hooks Overview](https://www.lightningdesignsystem.com/components/breadcrumbs/#Styling-Hooks-Overview) for a list of CSS custom properties.
|
|
52
52
|
|
|
53
|
-
For more information, see [Style Components Using Lightning Design System Styling Hooks](docs/
|
|
53
|
+
For more information, see [Style Components Using Lightning Design System Styling Hooks](https://developer.salesforce.com/docs/platform/lwc/guide/create-components-css-custom-properties) in the Lightning Web Components Developer Guide.
|
|
54
54
|
|
|
55
55
|
#### Accessibility
|
|
56
56
|
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* Reassignments for parity with SLDS blueprint
|
|
9
9
|
* https://www.lightningdesignsystem.com/components/breadcrumbs/#Styling-Hooks-Overview
|
|
10
10
|
*/
|
|
11
|
-
--slds-c-breadcrumb-spacing-
|
|
12
|
-
--slds-c-breadcrumb-spacing-
|
|
11
|
+
--slds-c-breadcrumb-spacing-inlinestart: var(--slds-c-breadcrumbs-spacing-inlinestart);
|
|
12
|
+
--slds-c-breadcrumb-spacing-inlineend: var(--slds-c-breadcrumbs-spacing-inlineend);
|
|
13
13
|
|
|
14
14
|
flex-wrap: wrap;
|
|
15
15
|
align-items: flex-start;
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Don't include spacing before first breadcrumb */
|
|
36
|
+
|
|
36
37
|
:host([data-render-mode="shadow"]) [part='breadcrumbs'] ::slotted(:first-child) {
|
|
37
|
-
--slds-c-
|
|
38
|
+
--slds-c-breadcrumbs-spacing-inlinestart: 0;
|
|
38
39
|
}
|
|
39
40
|
}
|