rad-ui / ui

Rad UI is an open-source, headless UI component library for building modern, fast, performant, accessible React applications
http://rad-ui.com
MIT License
18 stars 23 forks source link

[Migration] Migrate all javascript files to typescript #397

Open decipher-cs opened 3 months ago

decipher-cs commented 3 months ago

Migration status of all files inside src/

Status Path File Commit
Complete colors/ amber.ts 8b93312
Complete colors/ blue.ts 8b93312
Complete colors/ bronze.ts 8b93312
Complete colors/ brown.ts 8b93312
Complete colors/ crimson.ts 8b93312
Complete colors/ cyan.ts 8b93312
Complete colors/ gold.ts 8b93312
Complete colors/ grass.ts 8b93312
Complete colors/ gray.ts 8b93312
Complete colors/ green.ts 8b93312
Complete colors/ index.ts 8b93312
Complete colors/ indigo.ts 8b93312
Complete colors/ iris.ts 8b93312
Complete colors/ jade.ts 8b93312
Complete colors/ lime.ts 8b93312
Complete colors/ mauve.ts 8b93312
Complete colors/ mint.ts 8b93312
Complete colors/ olive.ts 8b93312
Complete colors/ orange.ts 8b93312
Complete colors/ pink.ts 8b93312
Complete colors/ plum.ts 8b93312
Complete colors/ purple.ts 8b93312
Complete colors/ red.ts 8b93312
Complete colors/ ruby.ts 8b93312
Complete colors/ sage.ts 8b93312
Complete colors/ sand.ts 8b93312
Complete colors/ sky.ts 8b93312
Complete colors/ slate.ts 8b93312
Complete colors/ teal.ts 8b93312
Complete colors/ tomato.ts 8b93312
Complete colors/ violet.ts 8b93312
Complete colors/ yellow.ts 8b93312
Pending components/tools/Popper/ Popper.stories.js
Complete components/tools/Popper/ Popper.tsx
Complete components/tools/SandboxEditor/ SandboxEditor.tsx
Complete components/tools/ScrollPlayground/ ScrollPlayground.tsx
Pending components/ui/Accordion/ Accordion.stories.js
Complete components/ui/Accordion/ Accordion.tsx
Complete components/ui/Accordion/contexts/ AccordionContext.tsx
Complete components/ui/Accordion/contexts/ AccordionItemContext.tsx
Complete components/ui/Accordion/shards/ AccordionContent.tsx
Complete components/ui/Accordion/shards/ AccordionHeader.tsx
Complete components/ui/Accordion/shards/ AccordionItem.tsx
Complete components/ui/Accordion/shards/ AccordionRoot.tsx
Complete components/ui/Accordion/shards/ AccordionTrigger.tsx
Complete components/ui/Avatar/ Avatar.tsx
Complete components/ui/Avatar/shards/ AvatarFallback.tsx
Complete components/ui/Avatar/shards/ AvatarImage.tsx
Complete components/ui/Avatar/shards/ AvatarRoot.tsx
Pending components/ui/Avatar/stories/ Avatar.dist.stories.js
Pending components/ui/Avatar/stories/ Avatar.stories.js
Pending components/ui/Avatar/tests/ avatar.test.js
Pending components/ui/Badge/ Badge.stories.js
Complete components/ui/Badge/ Badge.tsx
Pending components/ui/BlockQuote/ BlockQuote_sb.stories.js
Complete components/ui/BlockQuote/ BlockQuote.tsx
Pending components/ui/Button/ Button_sb.stories.js
Complete components/ui/Button/ Button.tsx
Pending components/ui/Callout/ Callout.stories.js
Complete components/ui/Callout/ Callout.tsx
Complete components/ui/Callout/shards/ CalloutRoot.tsx
Pending components/ui/Card/ Card.stories.js
Complete components/ui/Card/ Card.tsx
Complete components/ui/Card/shards/ CardRoot.tsx
Pending components/ui/Card/tests/ card.test.js
Pending components/ui/Code/ Code.stories.js
Complete components/ui/Code/ Code.tsx
Complete components/ui/Collapsible/ Collapsible.stories.tsx
Complete components/ui/Collapsible/ Collapsible.tsx
Pending components/ui/Dropdown/ Dropdown.stories.js
Complete components/ui/Dropdown/ Dropdown.tsx
Pending components/ui/Em/ Em.stories.js
Complete components/ui/Em/ Em.tsx
Pending components/ui/Heading/ Heading.stories.js
Complete components/ui/Heading/ Heading.tsx
Pending components/ui/Kbd/ Kbd.stories.js
Complete components/ui/Kbd/ Kbd.tsx
Pending components/ui/ KnowledgeBase.MD
Pending components/ui/Link/ Link.stories.js
Complete components/ui/Link/ Link.tsx
Pending components/ui/Modal/ Modal.stories.js
Complete components/ui/Modal/ Modal.tsx
Pending components/ui/Progress/ Progress.stories.js
Complete components/ui/Progress/ Progress.tsx
Complete components/ui/Progress/shards/ ProgressIndicator.tsx
Complete components/ui/Progress/shards/ ProgressRoot.tsx
Pending components/ui/Quote/ Quote.stories.js
Complete components/ui/Quote/ Quote.tsx
Pending components/ui/Separator/ Separator.stories.js
Complete components/ui/Separator/ Separator.tsx
Pending components/ui/Separator/tests/ separator.test.js
Pending components/ui/Strong/ Strong.stories.js
Complete components/ui/Strong/ Strong.tsx
Pending components/ui/Strong/tests/ strong.test.js
Pending components/ui/Switch/ Switch.stories.js
Complete components/ui/Switch/ Switch.tsx
Complete components/ui/Table/shards/ TableBody.tsx
Complete components/ui/Table/shards/ TableCell.tsx
Complete components/ui/Table/shards/ TableColumnCellHeader.tsx
Complete components/ui/Table/shards/ TableHead.tsx
Complete components/ui/Table/shards/ TableRoot.tsx
Complete components/ui/Table/shards/ TableRow.tsx
Pending components/ui/Table/ Table.stories.js
Complete components/ui/Table/ Table.tsx
Complete components/ui/Tabs/context/ TabsRootContext.tsx
Complete components/ui/Tabs/shards/ TabContent.tsx
Complete components/ui/Tabs/shards/ TabList.tsx
Complete components/ui/Tabs/shards/ TabRoot.tsx
Complete components/ui/Tabs/shards/ TabTrigger.tsx
Pending components/ui/Tabs/ Tabs.stories.js
Complete components/ui/Tabs/ Tabs.tsx
Complete components/ui/Tabs/types/ index.tsx
Complete components/ui/Tabs/types/ TabProps.tsx
Complete components/ui/Tabs/types/ TabRootProps.tsx
Pending components/ui/Text/tests/ text.test.js
Pending components/ui/Text/ Text.stories.js
Complete components/ui/Text/ Text.tsx
Complete components/ui/TextArea/shards/ TextAreaInput.tsx
Complete components/ui/TextArea/shards/ TextAreaRoot.tsx
Pending components/ui/TextArea/ TextArea.stories.js
Complete components/ui/TextArea/ TextArea.tsx
Pending components/ui/Toggle/ Toggle.stories.js
Complete components/ui/Toggle/ Toggle.tsx
Complete components/ui/ToggleGroup/contexts/ toggleContext.tsx
Complete components/ui/ToggleGroup/shards/ ToggleGroupRoot.tsx
Complete components/ui/ToggleGroup/shards/ ToggleItem.tsx
Pending components/ui/ToggleGroup/ ToggleGroup.stories.js
Complete components/ui/ToggleGroup/ ToggleGroup.tsx
Pending components/ui/Tooltip/ Tooltip.stories.js
Complete components/ui/Tooltip/ Tooltip.tsx
Complete core/ batches.ts
Complete core/ customClassSwitcher.ts
Complete core/ index.ts
Pending examples/Colors/ Colors.stories.js
Pending examples/Colors/ ColorsTemplate.js
Pending examples/FloatingUI/useInteractions/ UseInteractionsExample.js
Pending examples/FloatingUI/useInteractions/ UseInteractions.stories.js
Pending ./ setupTests.js
TonioCoding commented 2 days ago

I would like to work on this issue.

kotAPI commented 2 days ago

I would like to work on this issue.

Sure! Thanks for showing interest, I think quite a few from this list are already done. We can chat here and discuss or you can join up our discord server for faster communication.

Hit the Discord Icon on https://www.rad-ui.com/ to join the Discord server