[WEB-5614] chore: platform header and breadcrumb enhancements (#8383)
This commit is contained in:
parent
3df58397b5
commit
b165e2a3fe
16 changed files with 163 additions and 85 deletions
21
packages/propel/src/icons/actions/filter-applied-icon.tsx
Normal file
21
packages/propel/src/icons/actions/filter-applied-icon.tsx
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import * as React from "react";
|
||||
|
||||
import { IconWrapper } from "../icon-wrapper";
|
||||
import type { ISvgIcons } from "../type";
|
||||
|
||||
export function FilterAppliedIcon({ color = "text-icon-brand", ...rest }: ISvgIcons) {
|
||||
const clipPathId = React.useId();
|
||||
|
||||
return (
|
||||
<IconWrapper color={color} clipPathId={clipPathId} {...rest}>
|
||||
<path
|
||||
d="M15.3 3.65C15.3 5.11355 14.1136 6.3 12.65 6.3C11.1864 6.3 10 5.11355 10 3.65C10 2.18645 11.1864 1 12.65 1C14.1136 1 15.3 2.18645 15.3 3.65Z"
|
||||
fill={color}
|
||||
/>
|
||||
<path
|
||||
d="M9.99984 12.3333C10.368 12.3333 10.6665 12.6318 10.6665 13C10.6665 13.3682 10.368 13.6667 9.99984 13.6667H5.99984C5.63165 13.6667 5.33317 13.3682 5.33317 13C5.33317 12.6318 5.63165 12.3333 5.99984 12.3333H9.99984ZM11.9998 7.66667C12.368 7.66667 12.6665 7.96514 12.6665 8.33333C12.6665 8.70152 12.368 9 11.9998 9H3.99984C3.63165 9 3.33317 8.70152 3.33317 8.33333C3.33317 7.96514 3.63165 7.66667 3.99984 7.66667H11.9998ZM7.99984 3C8.36803 3 8.6665 3.29848 8.6665 3.66667C8.6665 4.03486 8.36803 4.33333 7.99984 4.33333H1.33317C0.964981 4.33333 0.666504 4.03486 0.666504 3.66667C0.666504 3.29848 0.964981 3 1.33317 3H7.99984Z"
|
||||
fill={color}
|
||||
/>
|
||||
</IconWrapper>
|
||||
);
|
||||
}
|
||||
17
packages/propel/src/icons/actions/filter-icon.tsx
Normal file
17
packages/propel/src/icons/actions/filter-icon.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import * as React from "react";
|
||||
|
||||
import { IconWrapper } from "../icon-wrapper";
|
||||
import type { ISvgIcons } from "../type";
|
||||
|
||||
export function FilterIcon({ color = "currentColor", ...rest }: ISvgIcons) {
|
||||
const clipPathId = React.useId();
|
||||
|
||||
return (
|
||||
<IconWrapper color={color} clipPathId={clipPathId} {...rest}>
|
||||
<path
|
||||
d="M9.9751 11.3496C10.3203 11.3496 10.6001 11.6294 10.6001 11.9746C10.6001 12.3198 10.3203 12.5996 9.9751 12.5996H5.9751C5.62992 12.5996 5.3501 12.3198 5.3501 11.9746C5.3501 11.6294 5.62992 11.3496 5.9751 11.3496H9.9751ZM11.9751 7.34961C12.3203 7.34961 12.6001 7.62943 12.6001 7.97461C12.6001 8.31979 12.3203 8.59961 11.9751 8.59961H3.9751C3.62992 8.59961 3.3501 8.31979 3.3501 7.97461C3.3501 7.62943 3.62992 7.34961 3.9751 7.34961H11.9751ZM13.9751 3.34961C14.3203 3.34961 14.6001 3.62943 14.6001 3.97461C14.6001 4.31979 14.3203 4.59961 13.9751 4.59961H1.9751C1.62992 4.59961 1.3501 4.31979 1.3501 3.97461C1.3501 3.62943 1.62992 3.34961 1.9751 3.34961H13.9751Z"
|
||||
fill={color}
|
||||
/>
|
||||
</IconWrapper>
|
||||
);
|
||||
}
|
||||
|
|
@ -3,6 +3,8 @@ export * from "./add-icon";
|
|||
export * from "./add-workitem-icon";
|
||||
export * from "./add-reaction-icon";
|
||||
export * from "./close-icon";
|
||||
export * from "./filter-icon";
|
||||
export * from "./filter-applied-icon";
|
||||
export * from "./search-icon";
|
||||
export * from "./preferences-icon";
|
||||
export * from "./copy-link";
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ export const ActionsIconsMap = [
|
|||
{ icon: <Icon name="action.add-workitem" />, title: "AddWorkItemIcon" },
|
||||
{ icon: <Icon name="action.add-reaction" />, title: "AddReactionIcon" },
|
||||
{ icon: <Icon name="action.close" />, title: "CloseIcon" },
|
||||
{ icon: <Icon name="action.filter" />, title: "FilterIcon" },
|
||||
{ icon: <Icon name="action.filter-applied" />, title: "FilterAppliedIcon" },
|
||||
{ icon: <Icon name="action.search" />, title: "SearchIcon" },
|
||||
{ icon: <Icon name="action.preferences" />, title: "PreferencesIcon" },
|
||||
{ icon: <Icon name="action.copy-link" />, title: "CopyLinkIcon" },
|
||||
|
|
|
|||
|
|
@ -1,4 +1,11 @@
|
|||
import { AddReactionIcon, AddWorkItemIcon, PreferencesIcon, SearchIcon } from "./actions";
|
||||
import {
|
||||
AddReactionIcon,
|
||||
AddWorkItemIcon,
|
||||
FilterAppliedIcon,
|
||||
FilterIcon,
|
||||
PreferencesIcon,
|
||||
SearchIcon,
|
||||
} from "./actions";
|
||||
import { AddIcon } from "./actions/add-icon";
|
||||
import { CloseIcon } from "./actions/close-icon";
|
||||
import { ChevronDownIcon } from "./arrows/chevron-down";
|
||||
|
|
@ -121,6 +128,8 @@ export const ICON_REGISTRY = {
|
|||
"action.add-workitem": AddWorkItemIcon,
|
||||
"action.add-reaction": AddReactionIcon,
|
||||
"action.close": CloseIcon,
|
||||
"action.filter": FilterIcon,
|
||||
"action.filter-applied": FilterAppliedIcon,
|
||||
"action.search": SearchIcon,
|
||||
"action.preferences": PreferencesIcon,
|
||||
"action.copy-link": CopyLinkIcon,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue