-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new and update status / success icons (#4364)
- Loading branch information
Showing
33 changed files
with
356 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
"@salt-ds/icons": minor | ||
--- | ||
|
||
Added new icons | ||
|
||
- Checkmark | ||
- CheckmarkSolid | ||
- SuccessCircle | ||
- SuccessCircleSolid | ||
|
||
Updated below icons to align with other icons | ||
|
||
- Error | ||
- ErrorSolid | ||
- Info | ||
- InfoSolid | ||
- Warning | ||
- WarningSolid | ||
|
||
Deprecated below icons | ||
|
||
| Deprecated | Replacement | | ||
| --------------------- | ------------------ | | ||
| SuccessSmallIcon | CheckmarkIcon | | ||
| SuccessSmallSolidIcon | CheckmarkSolidIcon | | ||
| SuccessIcon | CheckmarkIcon | | ||
| SuccessSolidIcon | CheckmarkSolidIcon | | ||
| StepSuccessIcon | SuccessCircleIcon | | ||
| SuccessTickIcon | CheckmarkIcon | | ||
|
||
Closes #4347 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// WARNING: This file was generated by a script. Do not modify it manually | ||
|
||
import { forwardRef } from "react"; | ||
|
||
import { Icon, type IconProps } from "../icon"; | ||
|
||
export type CheckmarkIconProps = IconProps; | ||
|
||
export const CheckmarkIcon = forwardRef<SVGSVGElement, CheckmarkIconProps>( | ||
function CheckmarkIcon(props: CheckmarkIconProps, ref) { | ||
return ( | ||
<Icon | ||
data-testid="CheckmarkIcon" | ||
aria-label="checkmark" | ||
viewBox="0 0 12 12" | ||
ref={ref} | ||
{...props} | ||
> | ||
<path | ||
fillRule="evenodd" | ||
d="M4.952 9.294 10 3.73 8.9 2.706 4.875 7.163 3.027 5.446 2 6.546l2.952 2.748Z" | ||
clipRule="evenodd" | ||
/> | ||
</Icon> | ||
); | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// WARNING: This file was generated by a script. Do not modify it manually | ||
|
||
import { forwardRef } from "react"; | ||
|
||
import { Icon, type IconProps } from "../icon"; | ||
|
||
export type CheckmarkSolidIconProps = IconProps; | ||
|
||
export const CheckmarkSolidIcon = forwardRef< | ||
SVGSVGElement, | ||
CheckmarkSolidIconProps | ||
>(function CheckmarkSolidIcon(props: CheckmarkSolidIconProps, ref) { | ||
return ( | ||
<Icon | ||
data-testid="CheckmarkSolidIcon" | ||
aria-label="checkmark solid" | ||
viewBox="0 0 12 12" | ||
ref={ref} | ||
{...props} | ||
> | ||
<path | ||
fillRule="evenodd" | ||
d="M0 0h12v12H0V0Zm10 3.729L4.952 9.294 2 6.545l1.027-1.1 1.848 1.718L8.9 2.706 10 3.729Z" | ||
clipRule="evenodd" | ||
/> | ||
</Icon> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// WARNING: This file was generated by a script. Do not modify it manually | ||
|
||
import { forwardRef } from "react"; | ||
|
||
import { Icon, type IconProps } from "../icon"; | ||
|
||
export type SuccessCircleIconProps = IconProps; | ||
|
||
export const SuccessCircleIcon = forwardRef< | ||
SVGSVGElement, | ||
SuccessCircleIconProps | ||
>(function SuccessCircleIcon(props: SuccessCircleIconProps, ref) { | ||
return ( | ||
<Icon | ||
data-testid="SuccessCircleIcon" | ||
aria-label="success circle" | ||
viewBox="0 0 12 12" | ||
ref={ref} | ||
{...props} | ||
> | ||
<path d="M9.75 4.016 4.952 9.332 2 6.582l1.027-1.098L4.875 7.2l3.772-4.208L9.75 4.016Z" /> | ||
<path | ||
fillRule="evenodd" | ||
d="M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm5-6A5 5 0 1 1 1 6a5 5 0 0 1 10 0Z" | ||
clipRule="evenodd" | ||
/> | ||
</Icon> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// WARNING: This file was generated by a script. Do not modify it manually | ||
|
||
import { forwardRef } from "react"; | ||
|
||
import { Icon, type IconProps } from "../icon"; | ||
|
||
export type SuccessCircleSolidIconProps = IconProps; | ||
|
||
export const SuccessCircleSolidIcon = forwardRef< | ||
SVGSVGElement, | ||
SuccessCircleSolidIconProps | ||
>(function SuccessCircleSolidIcon(props: SuccessCircleSolidIconProps, ref) { | ||
return ( | ||
<Icon | ||
data-testid="SuccessCircleSolidIcon" | ||
aria-label="success circle solid" | ||
viewBox="0 0 12 12" | ||
ref={ref} | ||
{...props} | ||
> | ||
<path | ||
fillRule="evenodd" | ||
d="M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm3.75-7.984L4.952 9.332 2 6.582l1.027-1.098L4.875 7.2l3.772-4.208L9.75 4.016Z" | ||
clipRule="evenodd" | ||
/> | ||
</Icon> | ||
); | ||
}); |
Oops, something went wrong.