Skip to content

Commit

Permalink
Merge branch 'github-workflow' into add-Line-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-67 authored Apr 29, 2024
2 parents e1b13a8 + e0c0bff commit f7a26a9
Show file tree
Hide file tree
Showing 10 changed files with 298 additions and 7 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/slack_notification.yml
Original file line number Diff line number Diff line change
@@ -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
38 changes: 38 additions & 0 deletions assets/icons/svgs/svgPictograms/BoxWithLeftArrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions assets/icons/svgs/svgPictograms/BoxWithRightArrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 13 additions & 4 deletions src/iconSpecificStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -260,11 +270,11 @@ export const iconSpecificStyles: IconStylesTypes = {
[PictogramsNames.ChatBubbles]: {
base : "#b7cde1",
primary : "#42CACD",
},
},
[PictogramsNames.ChatBot]: {
base : "#42CACD",
primary : "#FEB452",
},
},

[PictogramsNames.Checklist]: {
base : "#b7cde1",
Expand Down Expand Up @@ -586,7 +596,6 @@ export const iconSpecificStyles: IconStylesTypes = {
base : "#b7cde1",
primary : "#42CACD",
},

[PictogramsNames.Metro]: {
base : "#b7cde1",
primary : "#42CACD",
Expand Down Expand Up @@ -867,7 +876,7 @@ export const iconSpecificStyles: IconStylesTypes = {
base : "#b7cde1",
primary : "#09cdcd",
},

[PictogramsNames.RingWithDiamond]: {
base : "#FEB452",
primary : "#42CACD",
Expand Down
59 changes: 59 additions & 0 deletions src/icons/reactPictograms/BoxWithLeftArrow.tsx
Original file line number Diff line number Diff line change
@@ -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<SVGSVGElement, PictogramIconProps>(
({ width = 64, height = 64, ...props }, forwardedRef) => {
return (
<SVGPictogramWrapper icon={PictogramsNames.BoxWithLeftArrow} {...props}>
<svg
width={width}
height={height}
ref={forwardedRef}
viewBox="0 0 64 64"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<defs></defs>
<rect x="3" y="29" width="21" height="5" rx="2.5" fill="white" />
<rect x="18" y="22" width="13.3093" height="4" rx="2" transform="rotate(45 18 22)" fill="white" />
<rect
width="13.6658"
height="4"
rx="2"
transform="matrix(-0.707107 0.707107 0.707107 0.707107 24.6631 28.748)"
fill="white"
/>
<rect x="14" y="4" width="42" height="56" rx="4.75" className="base" />
<g className="mix-blend-multiply">
<rect x="3" y="29" width="21" height="5" rx="2.5" className="primary" />
<rect
x="18"
y="22"
width="13.3093"
height="4"
rx="2"
transform="rotate(45 18 22)"
className="primary"
/>
<rect
width="13.6658"
height="4"
rx="2"
transform="matrix(-0.707107 0.707107 0.707107 0.707107 24.6631 28.748)"
className="primary"
/>
</g>
</svg>
</SVGPictogramWrapper>
);
}
);

BoxWithLeftArrow.displayName = "BoxWithLeftArrow";

export default BoxWithLeftArrow;
83 changes: 83 additions & 0 deletions src/icons/reactPictograms/BoxWithRightArrow.tsx
Original file line number Diff line number Diff line change
@@ -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<SVGSVGElement, PictogramIconProps>(
({ width = 64, height = 64, ...props }, forwardedRef) => {
return (
<SVGPictogramWrapper icon={PictogramsNames.BoxWithRightArrow} {...props}>
<svg
width={width}
height={height}
ref={forwardedRef}
viewBox="0 0 64 64"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<defs></defs>
<rect
x="60.4916"
y="34.2393"
width="21"
height="5"
rx="2.5"
transform="rotate(-180 60.4916 34.2393)"
fill="white"
/>
<rect
x="45.4916"
y="41.2393"
width="13.3093"
height="4"
rx="2"
transform="rotate(-135 45.4916 41.2393)"
fill="white"
/>
<rect
width="13.6658"
height="4"
rx="2"
transform="matrix(0.707107 -0.707107 -0.707107 -0.707107 38.8284 34.4912)"
fill="white"
/>
<rect x="8" y="4" width="42" height="56" rx="4.75" className="base" />
<g className="mix-blend-multiply">
<rect
x="60.4916"
y="34.2393"
width="21"
height="5"
rx="2.5"
transform="rotate(-180 60.4916 34.2393)"
className="primary"
/>
<rect
x="45.4916"
y="41.2393"
width="13.3093"
height="4"
rx="2"
transform="rotate(-135 45.4916 41.2393)"
className="primary"
/>
<rect
width="13.6658"
height="4"
rx="2"
transform="matrix(0.707107 -0.707107 -0.707107 -0.707107 38.8284 34.4912)"
className="primary"
/>
</g>
</svg>
</SVGPictogramWrapper>
);
}
);

BoxWithRightArrow.displayName = "BoxWithRightArrow";

export default BoxWithRightArrow;
2 changes: 2 additions & 0 deletions src/icons/reactPictograms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 2 additions & 0 deletions src/iconsIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 3 additions & 1 deletion src/iconsNames.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export const PictogramsNames = {
BoxWithMobile : "BoxWithMobile" ,
BoxWithShapes : "BoxWithShapes" ,
BoxWithStar : "BoxWithStar" ,
BoxWithLeftArrow : "BoxWithLeftArrow",
BoxWithRightArrow : "BoxWithRightArrow",
BSA : "BSA",
Brain : "Brain" ,
Briefcase : "Briefcase" ,
Expand All @@ -46,7 +48,7 @@ export const PictogramsNames = {
ChatBubbles : "ChatBubbles",
Checklist : "Checklist" ,
Chord : "Chord" ,
CircleWithCross : "CircleWithCross",
CircleWithCross : "CircleWithCross",
CircleWithPlus : "CircleWithPlus",
CircleWithStarAndLines : "CircleWithStarAndLines" ,
CircleWithTick : "CircleWithTick",
Expand Down

0 comments on commit f7a26a9

Please sign in to comment.