Skip to content

Commit 8494d8a

Browse files
authored
FE-862: Add icons to @hashintel/ds-components and export HelpTooltip and TextMark (#8865)
1 parent dfe8234 commit 8494d8a

10 files changed

Lines changed: 28 additions & 0 deletions

File tree

.changeset/heavy-months-post.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hashintel/ds-components": patch
3+
---
4+
5+
New icons: trend arrows, file lines, grid, print, puzzle piece, truck

libs/@hashintel/ds-components/src/components/Icon/icon.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import ArrowRightArrowLeft from "./svgs/regular/arrow-right-arrow-left.svg";
1313
import ArrowRightToLine from "./svgs/regular/arrow-right-to-line.svg";
1414
import ArrowRight from "./svgs/regular/arrow-right.svg";
1515
import ArrowRotateLeft from "./svgs/regular/arrow-rotate-left.svg";
16+
import ArrowTrendDown from "./svgs/regular/arrow-trend-down.svg";
17+
import ArrowTrendUp from "./svgs/regular/arrow-trend-up.svg";
1618
import ArrowUpRightAndArrowDownLeftFromCenter from "./svgs/regular/arrow-up-right-and-arrow-down-left-from-center.svg";
1719
import ArrowUpRightFromSquare from "./svgs/regular/arrow-up-right-from-square.svg";
1820
import ArrowUpRight from "./svgs/regular/arrow-up-right.svg";
@@ -62,12 +64,14 @@ import EmptySet from "./svgs/regular/empty-set.svg";
6264
import EyeSlash from "./svgs/regular/eye-slash.svg";
6365
import Eye from "./svgs/regular/eye.svg";
6466
import Feather from "./svgs/regular/feather.svg";
67+
import FileLines from "./svgs/regular/file-lines.svg";
6568
import FileSpreadsheet from "./svgs/regular/file-spreadsheet.svg";
6669
import File from "./svgs/regular/file.svg";
6770
import Flask from "./svgs/regular/flask.svg";
6871
import ForwardStep from "./svgs/regular/forward-step.svg";
6972
import FunctionSymbol from "./svgs/regular/function.svg";
7073
import Gear from "./svgs/regular/gear.svg";
74+
import Grid from "./svgs/regular/grid-2.svg";
7175
import Hand from "./svgs/regular/hand.svg";
7276
import Image from "./svgs/regular/image.svg";
7377
import InfinityLoop from "./svgs/regular/infinity.svg";
@@ -90,6 +94,8 @@ import PersonRunning from "./svgs/regular/person-running.svg";
9094
import Play from "./svgs/regular/play.svg";
9195
import Plug from "./svgs/regular/plug.svg";
9296
import Plus from "./svgs/regular/plus.svg";
97+
import Print from "./svgs/regular/print.svg";
98+
import PuzzlePiece from "./svgs/regular/puzzle-piece.svg";
9399
import Rotate from "./svgs/regular/rotate.svg";
94100
import Ruler from "./svgs/regular/ruler.svg";
95101
import Scribble from "./svgs/regular/scribble.svg";
@@ -106,6 +112,7 @@ import Text from "./svgs/regular/text.svg";
106112
import ThoughtBubble from "./svgs/regular/thought-bubble.svg";
107113
import TrashCan from "./svgs/regular/trash-can.svg";
108114
import TriangleExclamation from "./svgs/regular/triangle-exclamation.svg";
115+
import Truck from "./svgs/regular/truck.svg";
109116
import UnlockKeyhole from "./svgs/regular/unlock-keyhole.svg";
110117
import UserPlus from "./svgs/regular/user-plus.svg";
111118
import WandMagicSparkles from "./svgs/regular/wand-magic-sparkles.svg";
@@ -127,6 +134,8 @@ const IconMap = {
127134
arrowDown: ArrowDown,
128135
arrowLeft: ArrowLeft,
129136
arrowRight: ArrowRight,
137+
arrowTrendDown: ArrowTrendDown,
138+
arrowTrendUp: ArrowTrendUp,
130139
arrowUp: ArrowUp,
131140
arrowUpRight: ArrowUpRight,
132141
arrowsLeftRight: ArrowRightArrowLeft,
@@ -182,10 +191,12 @@ const IconMap = {
182191
eyeSlash: EyeSlash,
183192
feather: Feather,
184193
file: File,
194+
fileLines: FileLines,
185195
fileSpreadsheet: FileSpreadsheet,
186196
flask: Flask,
187197
function: FunctionSymbol,
188198
gear: Gear,
199+
grid: Grid,
189200
hand: Hand,
190201
image: Image,
191202
infinity: InfinityLoop,
@@ -211,6 +222,8 @@ const IconMap = {
211222
playFilled: PlaySolid,
212223
plug: Plug,
213224
plus: Plus,
225+
print: Print,
226+
puzzlePiece: PuzzlePiece,
214227
refresh: ArrowsRotate,
215228
rightToLine: ArrowRightToLine,
216229
rotate: Rotate,
@@ -240,6 +253,7 @@ const IconMap = {
240253
thoughtBubble: ThoughtBubble,
241254
threeCircles: ThreeCircles,
242255
trash: TrashCan,
256+
truck: Truck,
243257
undo: ArrowRotateLeft,
244258
userPlus: UserPlus,
245259
warning: TriangleExclamation,
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

libs/@hashintel/ds-components/src/main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export { Button, type ButtonProps } from "./components/Button/button";
44
export { Checkbox, type CheckboxProps } from "./components/Checkbox/checkbox";
55
export { Dialog } from "./components/Dialog/dialog";
66
export { Form } from "./components/Form/form";
7+
export { HelpTooltip } from "./components/HelpTooltip/help-tooltip";
78
export { Icon, type IconName, iconNames } from "./components/Icon/icon";
89
export {
910
LoadingSpinner,
@@ -33,6 +34,7 @@ export {
3334
export { Slider, type SliderProps } from "./components/Slider/slider";
3435
export { Switch, type SwitchProps } from "./components/Switch/switch";
3536
export { TextInput } from "./components/TextInput/text-input";
37+
export { TextMark } from "./components/TextMark/text-mark";
3638
export { Tooltip } from "./components/Tooltip/tooltip";
3739
export {
3840
PortalContainerContext,

0 commit comments

Comments
 (0)