Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: publish #664

Merged
merged 16 commits into from
Jun 17, 2024
Prev Previous commit
Next Next commit
chore: correct import
  • Loading branch information
boris-w committed Jun 14, 2024
commit 8b6946617f9f41551af6912b070f7e1065d765ac
8 changes: 3 additions & 5 deletions packages/sdk/src/components/hide-fields/HideFieldsBase.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { DraggableHandle } from '@teable/icons';
import type { DragEndEvent } from '@teable/ui-lib';
import {
Switch,
Label,
Expand All @@ -15,13 +16,10 @@ import {
TooltipContent,
TooltipProvider,
TooltipTrigger,
} from '@teable/ui-lib';
import {
DndKitContext,
Droppable,
Draggable,
type DragEndEvent,
} from '@teable/ui-lib/src/base/dnd-kit';
Droppable,
} from '@teable/ui-lib';
import { map } from 'lodash';
import React, { useEffect, useMemo, useState, useCallback } from 'react';
import { useTranslation } from '../../context/app/i18n';
Expand Down
3 changes: 1 addition & 2 deletions packages/sdk/src/components/sort/DraggableSortList.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import type { ISort, ISortItem } from '@teable/core';
import { DraggableHandle, Trash2 } from '@teable/icons';
import { Button, cn } from '@teable/ui-lib';
import { Button, cn, DndKitContext, Droppable, Draggable } from '@teable/ui-lib';
import type {
DraggableAttributes,
SyntheticListenerMap,
DragEndEvent,
} from '@teable/ui-lib/src/base/dnd-kit';
import { DndKitContext, Droppable, Draggable } from '@teable/ui-lib/src/base/dnd-kit';
import { useIsHydrated } from '../../hooks';
import { SortItem } from './SortItem';
import type { ISortItemProps } from './SortItem';
Expand Down