Skip to content

Commit

Permalink
Update SLDS to latest version 🎄
Browse files Browse the repository at this point in the history
Removed modal close button class to meet their guidelines
  • Loading branch information
paustint committed Dec 25, 2024
1 parent da773d8 commit be8671f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion libs/ui/src/lib/form/date/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const DatePicker: FunctionComponent<DatePickerProps> = ({
{!readOnly && <Icon type="utility" icon="event" className="slds-button__icon" omitContainer description="Select a date" />}
</button>
</div>
<div className="slds-assistive-text slds-form-element__help">yyyy-mm-dd</div>
<div className="slds-assistive-text slds-form-element__help">Format: yyyy-mm-dd</div>
<PopoverContainer
ref={setPopoverRef}
isOpen={isOpen}
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/src/lib/modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const Modal = forwardRef<any, ModalProps>(
<div className={classNames('slds-modal__container', containerClassName)}>
<header className={classNames('slds-modal__header', { 'slds-modal__header_empty': !header })}>
<button
className="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse"
className="slds-button slds-button_icon slds-modal__close"
title="Close"
disabled={closeDisabled}
onClick={() => onClose()}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"@playwright/test": "^1.48.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@release-it/bumper": "^6.0.1",
"@salesforce-ux/design-system": "^2.25.1",
"@salesforce-ux/design-system": "^2.25.6",
"@storybook/addon-essentials": "8.2.9",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/core-server": "8.2.9",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7961,10 +7961,10 @@
argparse "~1.0.9"
string-argv "~0.3.1"

"@salesforce-ux/design-system@^2.25.1":
version "2.25.1"
resolved "https://registry.yarnpkg.com/@salesforce-ux/design-system/-/design-system-2.25.1.tgz#d3a0ff4d921e5797cec45acb1046a1693c300521"
integrity sha512-/JYek+By+FgX6vq7K1I7K1yIXxtMvsCcxa1lkxgYxCMXn0ax3EEgMQriIZCOR6zIY3wsiaBu88T4pXRzn6Eolw==
"@salesforce-ux/design-system@^2.25.6":
version "2.25.6"
resolved "https://registry.yarnpkg.com/@salesforce-ux/design-system/-/design-system-2.25.6.tgz#6bae06098fb5ac448c14c408c4a1aa6a9e7fd822"
integrity sha512-RLuBzdiJEj2tALWPoSAhskf/P2l+UjMMHgxoG2qtuZ09pCNnGTiet+xaM8qIorZcEZ+UR8+uJt7LLYBWv7o1Zw==

"@selderee/plugin-htmlparser2@^0.11.0":
version "0.11.0"
Expand Down

0 comments on commit be8671f

Please sign in to comment.