Skip to content

Commit

Permalink
Synchronise latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Atlassian authored and AFP Repo Bot committed Dec 6, 2024
1 parent b6d49a6 commit 005051e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 102 deletions.
4 changes: 2 additions & 2 deletions packages/documentation/examples/pieces/backlog/list-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { Checkbox } from '@atlaskit/checkbox';
import { IconTile } from '@atlaskit/icon';
import Story16Icon from '@atlaskit/icon-object/glyph/story/16';
import MoreIcon from '@atlaskit/icon/core/migration/show-more-horizontal--more';
import PriorityMinorIcon from '@atlaskit/icon/core/priority-minor';
import StoryIcon from '@atlaskit/icon/core/story';
import Lozenge from '@atlaskit/lozenge';
import {
Expand All @@ -31,7 +32,6 @@ import { token } from '@atlaskit/tokens';

import { useListContext } from './context';
import { type ItemData } from './data';
import { MinorPriorityIcon } from './minor-priority-icon';

const listItemContainerStyles = xcss({
position: 'relative',
Expand Down Expand Up @@ -268,7 +268,7 @@ export function ListItem({ itemData }: { itemData: ItemData }) {
<Inline alignBlock="center" space="space.100">
<Lozenge>Todo</Lozenge>
<Badge>0d</Badge>
<MinorPriorityIcon />
<PriorityMinorIcon label={''} color={token('color.icon.accent.blue')} />
<Avatar size="small" />
<Box xcss={actionStyles}>
<IconButton icon={MoreIcon} label="more actions" />
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ import DropdownMenu, {
DropdownItemGroup,
} from '@atlaskit/dropdown-menu';
import FocusRing from '@atlaskit/focus-ring';
import DragHandleIcon from '@atlaskit/icon/utility/drag-handle';
import { token } from '@atlaskit/tokens';

import type { DragState } from '../../hooks/use-sortable-field';

import SubtaskDraggableIcon from './subtask-draggable-icon';

const dragHandleStyles = css({
border: 'none',
padding: 0,
Expand Down Expand Up @@ -112,7 +111,7 @@ function SubtaskDragHandleTrigger({
>
<div css={dragHandleEmulatedSubtaskBackgroundStyles}>
<div css={[dragHandleInnerStyles, isSelected && dragHandleInnerSelectedStyles]}>
<SubtaskDraggableIcon />
<DragHandleIcon label="" />
</div>
</div>
</button>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import SubtaskDraggableIcon from './subtask-draggable-icon';
import DragHandleIcon from '@atlaskit/icon/core/drag-handle';

export function SubtaskObjectIcon() {
return (
Expand Down Expand Up @@ -58,7 +58,7 @@ export default function SubtaskIcon({ isIconHidden = false }) {
>
{/* eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766 */}
<div style={{ display: 'var(--subtask-drag-handle-icon-display, none)' }}>
<SubtaskDraggableIcon />
<DragHandleIcon label="" />
</div>
<SubtaskObjectIcon />
</div>
Expand Down

0 comments on commit 005051e

Please sign in to comment.