From 99c976924a6a82fd5a96e2fd7f45e4967ceb4b79 Mon Sep 17 00:00:00 2001 From: Jamie Henson Date: Mon, 8 Apr 2024 15:13:02 +0100 Subject: [PATCH] feat: add partial icon --- src/core/Icon/Icon.stories.tsx | 1 + src/core/Table.tsx | 2 ++ src/core/Table/TableCell.tsx | 19 ++++++++++++++++++- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/core/Icon/Icon.stories.tsx b/src/core/Icon/Icon.stories.tsx index a4f28592e..f62e8d568 100644 --- a/src/core/Icon/Icon.stories.tsx +++ b/src/core/Icon/Icon.stories.tsx @@ -38,6 +38,7 @@ const coreIcons = [ "icon-gui-link-arrow", "icon-gui-live-chat", "icon-gui-minus", + "icon-gui-partial", "icon-gui-plus", "icon-gui-quote-marks-solid", "icon-gui-refresh", diff --git a/src/core/Table.tsx b/src/core/Table.tsx index 4e59e2ba3..9d035b501 100644 --- a/src/core/Table.tsx +++ b/src/core/Table.tsx @@ -7,6 +7,7 @@ import { CtaCell, Supported, Unsupported, + Partial, } from "./Table/TableCell"; export default { @@ -21,4 +22,5 @@ export default { Header: TableHeader, Supported, Unsupported, + Partial, }; diff --git a/src/core/Table/TableCell.tsx b/src/core/Table/TableCell.tsx index b0c325b88..93570bf06 100644 --- a/src/core/Table/TableCell.tsx +++ b/src/core/Table/TableCell.tsx @@ -25,6 +25,15 @@ const Unsupported = () => ( /> ); +const Partial = () => ( + +); + const LabelCell = ({ children, ...rest @@ -89,4 +98,12 @@ const CtaCell = ({ ); -export { TableCell, LabelCell, HeaderCell, CtaCell, Supported, Unsupported }; +export { + TableCell, + LabelCell, + HeaderCell, + CtaCell, + Supported, + Unsupported, + Partial, +};