Skip to content

Commit

Permalink
Migration shards to fragments final batch (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldGroove06 authored Nov 2, 2024
1 parent f6c960b commit b62ad51
Show file tree
Hide file tree
Showing 24 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/Progress/Progress.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { PropsWithChildren } from 'react';

import ProgressRoot from './shards/ProgressRoot';
import ProgressIndicator from './shards/ProgressIndicator';
import ProgressRoot from './fragments/ProgressRoot';
import ProgressIndicator from './fragments/ProgressIndicator';

export const COMPONENT_NAME = 'Progress';

Expand Down
12 changes: 6 additions & 6 deletions src/components/ui/Table/Table.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';

import TableRoot from './shards/TableRoot';
import TableHead from './shards/TableHead';
import TableBody from './shards/TableBody';
import TableRow from './shards/TableRow';
import TableColumnCellHeader from './shards/TableColumnCellHeader';
import TableRoot from './fragments/TableRoot';
import TableHead from './fragments/TableHead';
import TableBody from './fragments/TableBody';
import TableRow from './fragments/TableRow';
import TableColumnCellHeader from './fragments/TableColumnCellHeader';

import TableCell from './shards/TableCell';
import TableCell from './fragments/TableCell';

const Table = ({ columns = [], data = [] }:any) => {
const columnMap = columns.map((column:any) => {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/components/ui/Tabs/Tabs.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use client';
import React, { useState } from 'react';

import TabList from './shards/TabList';
import TabContent from './shards/TabContent';
import TabRoot from './shards/TabRoot';
import TabList from './fragments/TabList';
import TabContent from './fragments/TabContent';
import TabRoot from './fragments/TabRoot';

import { TabProps } from './types';

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/components/ui/TextArea/TextArea.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client';
import React from 'react';

import TextAreaRoot from './shards/TextAreaRoot';
import TextAreaInput from './shards/TextAreaInput';
import TextAreaRoot from './fragments/TextAreaRoot';
import TextAreaInput from './fragments/TextAreaInput';

export type TextAreaProps = {
children: React.ReactNode;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/ToggleGroup/ToggleGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import ToggleGroupRoot from './shards/ToggleGroupRoot';
import ToggleItem from './shards/ToggleItem';
import ToggleGroupRoot from './fragments/ToggleGroupRoot';
import ToggleItem from './fragments/ToggleItem';

const COMPONENT_NAME = 'ToggleGroup';

Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/Tree/Tree.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import TreeRoot from './shards/TreeRoot';
import TreeItem from './shards/TreeItem';
import TreeRoot from './fragments/TreeRoot';
import TreeItem from './fragments/TreeItem';

const COMPONENT_NAME = 'Tree';

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit b62ad51

Please sign in to comment.