diff --git a/.github/workflows/slack_notification.yml b/.github/workflows/slack_notification.yml new file mode 100644 index 0000000..1b4dcf2 --- /dev/null +++ b/.github/workflows/slack_notification.yml @@ -0,0 +1,26 @@ +name: Slack Notification on PR Merge + +on: + pull_request: + types: + - closed + branches: + - 'github-workflow' + +jobs: + notify_on_merge: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Extract version from package.json + id: extract_version + run: echo ::set-output name=version::$(jq -r '.version' package.json) + + - name: Send message to Slack + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + run: | + curl -X POST -H 'Content-type: application/json' --data '{"text": "Version: ${{ steps.extract_version.outputs.version }}\nPR ID: ${{ github.event.pull_request.number }}"}' $SLACK_WEBHOOK_URL diff --git a/assets/icons/svgs/svgPictograms/BoxWithLeftArrow.svg b/assets/icons/svgs/svgPictograms/BoxWithLeftArrow.svg new file mode 100644 index 0000000..d09caa9 --- /dev/null +++ b/assets/icons/svgs/svgPictograms/BoxWithLeftArrow.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + diff --git a/assets/icons/svgs/svgPictograms/BoxWithRightArrow.svg b/assets/icons/svgs/svgPictograms/BoxWithRightArrow.svg new file mode 100644 index 0000000..6456145 --- /dev/null +++ b/assets/icons/svgs/svgPictograms/BoxWithRightArrow.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + diff --git a/package.json b/package.json index b26c638..c6ec192 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@setu/crucible-icons", - "version": "1.0.7", + "version": "1.0.9", "description": "Crucible Icons package", "license": "MIT", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", + "types": "./dist/types/src/index.d.ts", "sideEffects": false, "files": [ "dist" diff --git a/src/iconSpecificStyles.tsx b/src/iconSpecificStyles.tsx index 656f1ec..b96ffbc 100644 --- a/src/iconSpecificStyles.tsx +++ b/src/iconSpecificStyles.tsx @@ -165,6 +165,16 @@ export const iconSpecificStyles: IconStylesTypes = { secondary : "#42cacd", }, + [PictogramsNames.BoxWithLeftArrow]: { + base : "#b7cde1", + primary : "#42CACD", + }, + + [PictogramsNames.BoxWithRightArrow]: { + base : "#b7cde1", + primary : "#42CACD", + }, + [PictogramsNames.Brain]: { base : "#b7cde1", primary : "#42cacd", @@ -260,11 +270,11 @@ export const iconSpecificStyles: IconStylesTypes = { [PictogramsNames.ChatBubbles]: { base : "#b7cde1", primary : "#42CACD", - }, + }, [PictogramsNames.ChatBot]: { base : "#42CACD", primary : "#FEB452", - }, + }, [PictogramsNames.Checklist]: { base : "#b7cde1", @@ -586,7 +596,6 @@ export const iconSpecificStyles: IconStylesTypes = { base : "#b7cde1", primary : "#42CACD", }, - [PictogramsNames.Metro]: { base : "#b7cde1", primary : "#42CACD", @@ -867,7 +876,7 @@ export const iconSpecificStyles: IconStylesTypes = { base : "#b7cde1", primary : "#09cdcd", }, - + [PictogramsNames.RingWithDiamond]: { base : "#FEB452", primary : "#42CACD", diff --git a/src/icons/reactPictograms/BoxWithLeftArrow.tsx b/src/icons/reactPictograms/BoxWithLeftArrow.tsx new file mode 100644 index 0000000..fabae00 --- /dev/null +++ b/src/icons/reactPictograms/BoxWithLeftArrow.tsx @@ -0,0 +1,59 @@ +// GENERATED BY /script/build.js +// DO NOT EDIT MANUALLY + +import * as React from "react"; +import { PictogramIconProps } from "../../types"; +import { SVGPictogramWrapper } from "../../styles"; +import { PictogramsNames } from "../../iconsNames"; + +export const BoxWithLeftArrow = React.forwardRef( + ({ width = 64, height = 64, ...props }, forwardedRef) => { + return ( + + + + + + + + + + + + + + + ); + } +); + +BoxWithLeftArrow.displayName = "BoxWithLeftArrow"; + +export default BoxWithLeftArrow; diff --git a/src/icons/reactPictograms/BoxWithRightArrow.tsx b/src/icons/reactPictograms/BoxWithRightArrow.tsx new file mode 100644 index 0000000..9a30b69 --- /dev/null +++ b/src/icons/reactPictograms/BoxWithRightArrow.tsx @@ -0,0 +1,83 @@ +// GENERATED BY /script/build.js +// DO NOT EDIT MANUALLY + +import * as React from "react"; +import { PictogramIconProps } from "../../types"; +import { SVGPictogramWrapper } from "../../styles"; +import { PictogramsNames } from "../../iconsNames"; + +export const BoxWithRightArrow = React.forwardRef( + ({ width = 64, height = 64, ...props }, forwardedRef) => { + return ( + + + + + + + + + + + + + + + ); + } +); + +BoxWithRightArrow.displayName = "BoxWithRightArrow"; + +export default BoxWithRightArrow; diff --git a/src/icons/reactPictograms/index.ts b/src/icons/reactPictograms/index.ts index 0816664..0536d59 100644 --- a/src/icons/reactPictograms/index.ts +++ b/src/icons/reactPictograms/index.ts @@ -22,7 +22,9 @@ export { default as BookWithKarmaSymbol } from "./BookWithKarmaSymbol"; export { default as BoxWithBraces } from "./BoxWithBraces"; export { default as BoxWithCash } from "./BoxWithCash"; export { default as BoxWithCoin } from "./BoxWithCoin"; +export { default as BoxWithLeftArrow } from "./BoxWithLeftArrow"; export { default as BoxWithMobile } from "./BoxWithMobile"; +export { default as BoxWithRightArrow } from "./BoxWithRightArrow"; export { default as BoxWithShapes } from "./BoxWithShapes"; export { default as BoxWithStar } from "./BoxWithStar"; export { default as Brain } from "./Brain"; diff --git a/src/iconsIndex.tsx b/src/iconsIndex.tsx index 8d53c25..aa8c547 100644 --- a/src/iconsIndex.tsx +++ b/src/iconsIndex.tsx @@ -25,7 +25,9 @@ export { default as BookWithKarmaSymbol } from "./icons/reactPictograms/BookWith export { default as BoxWithBraces } from "./icons/reactPictograms/BoxWithBraces"; export { default as BoxWithCash } from "./icons/reactPictograms/BoxWithCash"; export { default as BoxWithCoin } from "./icons/reactPictograms/BoxWithCoin"; +export { default as BoxWithLeftArrow } from "./icons/reactPictograms/BoxWithLeftArrow"; export { default as BoxWithMobile } from "./icons/reactPictograms/BoxWithMobile"; +export { default as BoxWithRightArrow } from "./icons/reactPictograms/BoxWithRightArrow"; export { default as BoxWithShapes } from "./icons/reactPictograms/BoxWithShapes"; export { default as BoxWithStar } from "./icons/reactPictograms/BoxWithStar"; export { default as Brain } from "./icons/reactPictograms/Brain"; diff --git a/src/iconsNames.tsx b/src/iconsNames.tsx index f21b7e8..dee5e6e 100644 --- a/src/iconsNames.tsx +++ b/src/iconsNames.tsx @@ -26,6 +26,8 @@ export const PictogramsNames = { BoxWithMobile : "BoxWithMobile" , BoxWithShapes : "BoxWithShapes" , BoxWithStar : "BoxWithStar" , + BoxWithLeftArrow : "BoxWithLeftArrow", + BoxWithRightArrow : "BoxWithRightArrow", BSA : "BSA", Brain : "Brain" , Briefcase : "Briefcase" , @@ -46,7 +48,7 @@ export const PictogramsNames = { ChatBubbles : "ChatBubbles", Checklist : "Checklist" , Chord : "Chord" , - CircleWithCross : "CircleWithCross", + CircleWithCross : "CircleWithCross", CircleWithPlus : "CircleWithPlus", CircleWithStarAndLines : "CircleWithStarAndLines" , CircleWithTick : "CircleWithTick",