Skip to content

Commit

Permalink
Replace deprecated .text-muted with .text-body-secondary
Browse files Browse the repository at this point in the history
  • Loading branch information
Onurcankaratay committed Sep 9, 2024
1 parent f17e7df commit 3a37cd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions es/components/browse/components/SelectedItemsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,13 @@ export var SelectStickyFooter = /*#__PURE__*/React.memo(function (props) {
}, /*#__PURE__*/React.createElement("h3", {
className: "mt-0 mb-0 col-auto text-600"
}, selectedItems.size), /*#__PURE__*/React.createElement("h4", {
className: "mt-0 mb-0 text-muted col-auto text-400 px-0"
className: "mt-0 mb-0 text-body-secondary col-auto text-400 px-0"
}, itemTypeFriendlyName + (selectedItems.size === 1 ? '' : 's'), " selected")) : /*#__PURE__*/React.createElement("div", {
className: "row"
}, /*#__PURE__*/React.createElement("h4", {
className: "mt-0 mb-0 col-auto text-400"
}, selectedItemDisplayTitle), /*#__PURE__*/React.createElement("h4", {
className: "mt-0 mb-0 text-muted col-auto text-400 px-0"
className: "mt-0 mb-0 text-body-secondary col-auto text-400 px-0"
}, "selected"))), /*#__PURE__*/React.createElement("div", {
className: "col-12 col-md-auto"
}, /*#__PURE__*/React.createElement("button", {
Expand Down
4 changes: 2 additions & 2 deletions src/components/browse/components/SelectedItemsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@ export const SelectStickyFooter = React.memo(function SelectStickyFooter(props){
{currentAction === 'multiselect' ?
<div className="row">
<h3 className="mt-0 mb-0 col-auto text-600">{ selectedItems.size }</h3>
<h4 className="mt-0 mb-0 text-muted col-auto text-400 px-0">
<h4 className="mt-0 mb-0 text-body-secondary col-auto text-400 px-0">
{ itemTypeFriendlyName + (selectedItems.size === 1 ? '' : 's') } selected
</h4>
</div>
:
<div className="row">
<h4 className="mt-0 mb-0 col-auto text-400">{ selectedItemDisplayTitle }</h4>
<h4 className="mt-0 mb-0 text-muted col-auto text-400 px-0">selected</h4>
<h4 className="mt-0 mb-0 text-body-secondary col-auto text-400 px-0">selected</h4>
</div>
}
</div>
Expand Down

0 comments on commit 3a37cd8

Please sign in to comment.