diff --git a/package.json b/package.json index 4dba9b406..45be83be5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/amplify-components", - "version": "4.5.2", + "version": "4.5.3", "description": "Frontend Typescript components for the Amplify team", "main": "dist/esm/index.js", "types": "dist/types/index.d.ts", diff --git a/src/components/Icons/AmplifyIcons.stories.tsx b/src/components/Icons/AmplifyIcons.stories.tsx index 5980150c6..1e808578c 100644 --- a/src/components/Icons/AmplifyIcons.stories.tsx +++ b/src/components/Icons/AmplifyIcons.stories.tsx @@ -2,7 +2,9 @@ import { Icon } from '@equinor/eds-core-react'; import { Meta, StoryFn } from '@storybook/react'; import { + amplify_failure, amplify_lwd, + amplify_success, amplify_wellbore, amplify_wireline_cased_hole, amplify_wireline_open_hole, @@ -13,6 +15,8 @@ const allIcons = { amplify_wireline_open_hole: amplify_wireline_open_hole, amplify_wireline_cased_hole: amplify_wireline_cased_hole, amplify_lwd: amplify_lwd, + amplify_success: amplify_success, + amplify_failure: amplify_failure, }; interface StoryFnProps { @@ -38,6 +42,8 @@ export default { 'amplify_wireline_open_hole', 'amplify_wireline_cased_hole', 'amplify_lwd', + 'amplify_success', + 'amplify_failure', ], }, }, diff --git a/src/components/Icons/AmplifyIcons.tsx b/src/components/Icons/AmplifyIcons.tsx index c1aac4d0f..79966e263 100644 --- a/src/components/Icons/AmplifyIcons.tsx +++ b/src/components/Icons/AmplifyIcons.tsx @@ -35,3 +35,21 @@ export const amplify_lwd: IconData = { svgPathData: 'M11.1543 6.53806V4.14014H9.70985V14.0316L11.5709 15.8199C11.8504 16.0884 12.2908 16.0926 12.5754 15.8295L14.5039 14.0459V13.7301H13.7817L14.5039 13.729V4.14014H13.0595V7.93155L11.1543 6.53806ZM11.1543 7.44841V9.18162L13.0595 10.5751V8.8419L11.1543 7.44841ZM13.0595 11.4855L11.1543 10.092V13.4163L12.0875 14.3131L13.0595 13.4143V11.4855ZM8.42558 4.15088H3.50717V6.15088H6.42548L6.42504 15.5138L10.8021 19.4223C11.4379 19.99 12.3932 20.0073 13.0491 19.463L17.7738 15.542L17.7739 6.15119H20.4928V4.15119H15.774L15.7738 14.6027L11.9559 17.7712L8.42508 14.6184L8.42558 4.15088Z', }; + +export const amplify_success: IconData = { + name: 'success', + prefix: 'amplify', + height: '24', + width: '24', + svgPathData: + 'M13 2H11V6.08296C10.0884 6.2359 9.24647 6.59441 8.52355 7.10919L5.41421 3.99985L4 5.41406L7.10931 8.52338C6.59447 9.24633 6.23591 10.0883 6.08296 11H2V13H6.08296C6.23382 13.8992 6.58469 14.7306 7.08827 15.4469L3.99962 18.5355L5.41384 19.9497L8.49397 16.8696C9.22346 17.3958 10.0759 17.762 11 17.917V22H13V17.917C13.9117 17.7641 14.7537 17.4055 15.4766 16.8907L18.5355 19.9496L19.9497 18.5354L16.8908 15.4764C17.4056 14.7535 17.7641 13.9116 17.917 13H22V11H17.917C17.762 10.0759 17.3958 9.22346 16.8696 8.49397L19.9494 5.41421L18.5352 4L15.4469 7.08827C14.7306 6.58469 13.8992 6.23382 13 6.08296V2Z', +}; + +export const amplify_failure: IconData = { + name: 'failure', + prefix: 'amplify', + height: '24', + width: '24', + svgPathData: + 'M11 2H13V6.08296C15.5125 6.50448 17.4955 8.4875 17.917 11H22V13H17.917C17.4955 15.5125 15.5125 17.4955 13 17.917V22H11V17.917C8.4875 17.4955 6.50448 15.5125 6.08296 13H2V11H6.08296C6.50448 8.4875 8.4875 6.50448 11 6.08296V2ZM16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z', +}; diff --git a/src/components/index.ts b/src/components/index.ts index 569767d2a..4998a5f50 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -30,7 +30,9 @@ export { skeletonBaseloading } from './Feedback/SkeletonBase'; export { default as Stepper } from './Feedback/Stepper/Stepper'; export { default as Unauthorized } from './Feedback/Unauthorized'; export { + amplify_failure, amplify_lwd, + amplify_success, amplify_wellbore, amplify_wireline_cased_hole, amplify_wireline_open_hole,