Skip to content
Draft

V4 #141

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
de8edfc
Migrated from radix-ui to base-ui
corbanbrook Feb 25, 2026
c30ff17
Fixing DropdownMenu: GroupLabel must be wrapped in a Group
corbanbrook Feb 25, 2026
4c10d40
Fixing Popover: Positioner requires to be wrapped in a Portal
corbanbrook Feb 25, 2026
34c05ef
Button component uses ButtonPrimitive
corbanbrook Feb 25, 2026
e350c15
Fixing Dialog animation flicker
corbanbrook Feb 26, 2026
5be6a75
Fixing Collapsible close animation
corbanbrook Feb 26, 2026
73864f6
Fixing issue with Carousel StatusDot focus navigation
corbanbrook Feb 26, 2026
1a10727
Fixing Sheet animation
corbanbrook Feb 26, 2026
99d896a
Fixing tooltip arrows
corbanbrook Feb 26, 2026
78418eb
Fixing RadioGroup rendering
corbanbrook Feb 26, 2026
a93f619
Fixing Switch
corbanbrook Feb 26, 2026
c2051e0
Fixing z-index issues with portalled content
corbanbrook Feb 26, 2026
b4747f0
Updating tests to work with BaseUI
corbanbrook Feb 26, 2026
a73c438
Fixing Card and RadioGroup tests
corbanbrook Feb 26, 2026
f2cf10a
Fixing type errors
corbanbrook Feb 26, 2026
cd30c16
Updating Select component
corbanbrook Mar 2, 2026
3cbe7d7
Updating deps to adhere to the maxReleaseAge
corbanbrook Mar 10, 2026
aa39c43
Removing swipe-out animation
corbanbrook Mar 10, 2026
518d487
No longer export string utils pluralize, kebabize, and capitalize as …
corbanbrook Mar 10, 2026
e7396e5
Removing dependency on react-hook-form and all Controlled form compon…
corbanbrook Mar 10, 2026
9a38321
Updating README with migration guide details from v3 to v4
corbanbrook Mar 10, 2026
ced88b9
Badge component updated to take children instead of value and uses re…
corbanbrook Mar 10, 2026
7f397d4
Removing Image component
corbanbrook Mar 10, 2026
ad7ea2b
Removing motion animations from Skeleton component
corbanbrook Mar 10, 2026
dc7b14a
Removing Modal component in favor of Dialog primitives
corbanbrook Mar 10, 2026
cc27a40
Fixing base-ui Toast component animations
corbanbrook Mar 10, 2026
5d1efb4
Removing dependency to motion
corbanbrook Mar 10, 2026
b6bd972
Removed IconButton component
corbanbrook Mar 11, 2026
6272f64
Removing Button.Helper component
corbanbrook Mar 11, 2026
e4503d9
Adding custom typeography classes to theme with defaults rather than …
corbanbrook Mar 11, 2026
da4e313
Adding more tests for twMege text classes
corbanbrook Mar 11, 2026
fe3e919
Remove Text component in favor of text size classes
corbanbrook Mar 11, 2026
e50c506
v4.0.0-alpha.0
corbanbrook Mar 11, 2026
350dda6
Removing reference to motion from README
corbanbrook Mar 11, 2026
e232594
Replacing textVariants helper with standard text classes
corbanbrook Mar 13, 2026
22084fe
Fixing Tag component
corbanbrook Mar 13, 2026
854f5e3
Fixing Toast animation
corbanbrook Mar 13, 2026
13a44f6
Tooltip now exports its primitives and old Tooltip behavior is now To…
corbanbrook Mar 13, 2026
aaf75fb
Collapsible now exports its primitives and old Collapsible behavior i…
corbanbrook Mar 13, 2026
6838e59
Fixing Alert font
corbanbrook Mar 13, 2026
631709c
Adding Sidebar component
corbanbrook Mar 13, 2026
499738d
Updating README with migration changes for text, Collapsible and Tooltip
corbanbrook Mar 13, 2026
f763577
v4.0.0-alpha.1
corbanbrook Mar 13, 2026
dd7a683
Card components (#142)
corbanbrook Mar 27, 2026
6990cf8
Fixing Dialog and DialogTrigger Payload typing
corbanbrook Mar 28, 2026
61f5d49
Updating Badge component styling
corbanbrook Mar 30, 2026
ef38eb7
Updating Alerts, Card, and Popover border-radius
corbanbrook Mar 31, 2026
3048116
v4.0.0-alpha.2
corbanbrook Mar 31, 2026
ee5ca0d
Updating AlertDescription color to match --alert-accent
corbanbrook Mar 31, 2026
3c441c3
V4 Pagination (#144)
corbanbrook Apr 2, 2026
a573bc7
Updating Progress component to use Base-ui primitives
corbanbrook Apr 2, 2026
d36fef6
Removing shape property from Button and updating default radiuses and…
corbanbrook Apr 2, 2026
d6e0bd8
Removing old primary button variant replaced with default
corbanbrook Apr 2, 2026
2cfa75f
v4.0.0-alpha.3
corbanbrook Apr 2, 2026
8878c2b
fix(Select): match content width to trigger width (#145)
mithatakbulut Apr 6, 2026
045d182
feat(Progress): add indicatorClassName and trackClassName props
mithatakbulut Apr 7, 2026
8e07aa6
refactor(Progress): enhance CustomColors story and update ProgressTra…
mithatakbulut Apr 7, 2026
f5fc520
Merge pull request #147 from 0xsequence/progress-custom-styles
mithatakbulut Apr 7, 2026
db054c4
Removing --seq-color prefixing for theme colors. eg. --seq-color-prim…
corbanbrook Apr 8, 2026
64caeca
Adding brand color
corbanbrook Apr 8, 2026
fb550c7
Removing unused secondary color
corbanbrook Apr 8, 2026
751031e
Calendar (#146)
corbanbrook Apr 8, 2026
d827bdb
Adding lucide icons
corbanbrook Apr 8, 2026
426a389
Updating styling of Toasts
corbanbrook Apr 8, 2026
005ce9e
Updating focusRingVariants
corbanbrook Apr 8, 2026
1471fb4
Updating Tabs styling
corbanbrook Apr 8, 2026
ec1d178
Updating shadows
corbanbrook Apr 8, 2026
5aabfd4
Updating table styling
corbanbrook Apr 8, 2026
cdf9ee4
v4.0.0-alpha.4
corbanbrook Apr 8, 2026
b8c6dcc
Removing reference to secondary text color in ThemeProvider stories
corbanbrook Apr 8, 2026
d9d33eb
Fixing Table styling
corbanbrook Apr 9, 2026
c9d912d
Fixing Progress styling
corbanbrook Apr 9, 2026
988d488
Fixing primary background color
corbanbrook Apr 9, 2026
72d1f5b
Updating Empty styling
corbanbrook Apr 9, 2026
5100ec1
v4.0.0-alpha.5
corbanbrook Apr 9, 2026
913d38d
Fix button icon sizes (#148)
yigiterdev Apr 9, 2026
49c91a6
V4 icons (#149)
corbanbrook Apr 10, 2026
3374ab7
Updating to @base-ui/react v1.3.0
corbanbrook Apr 10, 2026
00388fb
Updating base-ui import paths
corbanbrook Apr 10, 2026
1465edd
Adding Sidebar inset story
corbanbrook Apr 10, 2026
365af5f
Udpating Sidebar styles
corbanbrook Apr 10, 2026
6ccc678
v4.0.0-alpha.6
corbanbrook Apr 10, 2026
e099392
Add className and inputClassName props to PINCodeInput component
mithatakbulut Apr 10, 2026
2dac99d
Overriding tailwind purple color scale with polygon branded color scale
corbanbrook Apr 10, 2026
b586cbe
Merge pull request #150 from 0xsequence/pincode-input-classnames
mithatakbulut Apr 10, 2026
edcd4ca
README: Migration / Icons are now lucide-react
corbanbrook Apr 10, 2026
5e0dd0a
Removing old gradient colors
corbanbrook Apr 10, 2026
75d79a5
Fixing styling of Input, InputGroup, and TextArea components
corbanbrook Apr 11, 2026
9b81979
Fixing gradientPrimary type errors
corbanbrook Apr 11, 2026
a9cd4da
v4.0.0-alpha.7
corbanbrook Apr 14, 2026
2d7fac3
Fixing render prop on Cards
corbanbrook Apr 15, 2026
d06edaa
v4.0.0-alpha.8
corbanbrook Apr 15, 2026
411d66a
Fixing Sheet styling and Overlays
corbanbrook Apr 16, 2026
5132f75
v4.0.0-alpha.9
corbanbrook Apr 16, 2026
fca6e61
Adding shadow-lg to Dialog
corbanbrook Apr 16, 2026
4ee3ace
Fixing Dialog animations to use transitions instead of css animations
corbanbrook Apr 16, 2026
fd19b49
Adding responsive story to dialog
corbanbrook Apr 16, 2026
6d99bf7
Updating checkbox styling
corbanbrook Apr 16, 2026
f7e4965
Adding responsive mode directly to DialogContent
corbanbrook Apr 16, 2026
d30578c
Adding cursor-pointer to RadioGroupItem
corbanbrook Apr 16, 2026
df47cfb
Updating default design-system font to Fustat
corbanbrook Apr 16, 2026
e81eb91
Adding polygon branding to Storybook
corbanbrook Apr 16, 2026
ddcfd49
v4.0.0-alpha.10
corbanbrook Apr 16, 2026
e60f7ff
Fixing AlertDescriptions to include styling for inline anchor text
corbanbrook Apr 29, 2026
29cb055
Fix Active input border color
corbanbrook Apr 29, 2026
6516ebe
Update SheetTitle fontsize
corbanbrook Apr 29, 2026
86e7ceb
Fix PINCodeInput height
corbanbrook Apr 30, 2026
2ffe253
Updating PINCodeInput font size
corbanbrook Apr 30, 2026
4021267
Updating styling for Select component, reduced height and padding to …
corbanbrook Apr 30, 2026
936820e
Fixing disabled styling on Tabs
corbanbrook Apr 30, 2026
6bb1c4d
v4.0.0-alpha.11
corbanbrook Apr 30, 2026
4612f81
Fixing Field text weight
corbanbrook May 1, 2026
44fe94a
Fixing Input focus-visible behavior. Only show focus ring when tab na…
corbanbrook May 1, 2026
719c63b
Fixing InputGroup styling and adding useIsKeyboardFocused hook
corbanbrook May 1, 2026
fa6ce85
Adding adding special focus behavior to TextArea
corbanbrook May 1, 2026
a6ca639
Simplify NumericInput so it no longer accepts icons or control props
corbanbrook May 1, 2026
101eae0
Adding InputGroupNumericInput
corbanbrook May 1, 2026
814a060
Updated PINCodeInput to use Inputs internally
corbanbrook May 1, 2026
b8899e6
Update Input background color
corbanbrook May 1, 2026
df971b5
v4.0.0-alpha.12
corbanbrook May 1, 2026
f6bb167
feat(Card): hover state for clickable cards (#151)
yigiterdev May 6, 2026
0b51a2d
Updating @base-ui/react to v1.4.1
corbanbrook May 7, 2026
b74ec21
Fixing sidebar story
corbanbrook May 7, 2026
d578f78
v4.0.0-alpha.13
corbanbrook May 7, 2026
864427f
Combobox (#152)
corbanbrook May 12, 2026
7f76239
Use relative paths imports
corbanbrook May 12, 2026
cb6ac0d
updating storybook deps
corbanbrook May 12, 2026
281eb26
Updating vite deps
corbanbrook May 12, 2026
280b21f
Updating deps
corbanbrook May 12, 2026
78189f0
v4.0.0-alpha.14
corbanbrook May 12, 2026
daa42b7
Fix Scroll height of SelectPrimitive.List
corbanbrook May 14, 2026
22857c5
Updating focusRingVariants so default color is border-focus instead o…
corbanbrook May 14, 2026
ffb49fc
v4.0.0-alpha.15
corbanbrook May 27, 2026
789fda5
Fixing Alert component to accept a size variant as well as automatic …
corbanbrook Jun 3, 2026
d7388f8
Fixing Tooltip styling
corbanbrook Jun 3, 2026
634b2ba
v4.0.0-alpha.16
corbanbrook Jun 3, 2026
572152b
Renaming vOffset and hOffset to generalized sideOffset and alignOffse…
corbanbrook Jun 4, 2026
713e457
Adding optional PopoverArrow to Popovers with showArrow prop
corbanbrook Jun 4, 2026
e3cf60d
Fixing TooltipArrow rendering
corbanbrook Jun 4, 2026
8b86407
v4.0.0-alpha.17
corbanbrook Jun 4, 2026
c5c12d3
Updating Switch styling
corbanbrook Jun 9, 2026
bbdc95f
v4.0.0-alpha.18
corbanbrook Jun 9, 2026
acbab5d
Removing deprecated custom icons and tooling - deferring to lucide icons
corbanbrook Jun 11, 2026
2d7cbc9
Upgrading vite deps
corbanbrook Jun 11, 2026
4d085c3
Updating storybook deps
corbanbrook Jun 11, 2026
def2e7b
Updating react to 19.2.6
corbanbrook Jun 11, 2026
cc2072f
Updating dev deps
corbanbrook Jun 11, 2026
d73c9f7
Fixing knip errors
corbanbrook Jun 11, 2026
54bd16f
Migrate husky to lefthook
corbanbrook Jun 11, 2026
4177799
Updating to @base-ui/react 1.5.0
corbanbrook Jun 11, 2026
38e1663
Updating tailwind and tailwind-merge deps
corbanbrook Jun 11, 2026
531c4c3
Adding lefthook.yml config
corbanbrook Jun 11, 2026
638b8ba
Updating ox dep
corbanbrook Jun 11, 2026
e9b62ba
Updating lucide-react
corbanbrook Jun 11, 2026
7845c08
Updating to @daypicker/react v10 and fixing Calendar styling
corbanbrook Jun 11, 2026
8083bb7
Updating typescript to v6
corbanbrook Jun 11, 2026
bc87047
Switch from tsup to tsdown for library bundling
corbanbrook Jun 11, 2026
1ec379c
v4.0.0-alpha.19
corbanbrook Jun 11, 2026
f8b4f0c
chore: add biome
corbanbrook Jun 12, 2026
c7eaa96
Lint fixes
corbanbrook Jun 12, 2026
e968cf2
Fixing tests
corbanbrook Jun 12, 2026
e184034
Dropping commonjs build. esm only
corbanbrook Jun 12, 2026
e6e721a
Replacing knip with fallow
corbanbrook Jun 12, 2026
f56122f
Replacing knip with fallow
corbanbrook Jun 12, 2026
e10826a
Dedupe Dialog, Pagination, and Table stories
corbanbrook Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .fallowrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://raw.githubusercontent.com/fallow-rs/fallow/main/schema.json",
// Migrated from knip.json
"entry": [
"src/index.ts"
],
"ignorePatterns": [
"docs/**",
"src/docs/**"
],
"ignoreExportsUsedInFile": {
"type": true,
"interface": true
},
// Auto-detected and used by tsdown at build time, never imported in source
"ignoreDependencies": [
"@tsdown/css"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ lerna-debug.log*
coverage

node_modules
.pnpm-store
dist
dist-ssr
*.local
Expand Down
2 changes: 0 additions & 2 deletions .husky/pre-commit

This file was deleted.

8 changes: 0 additions & 8 deletions .prettierrc

This file was deleted.

3 changes: 2 additions & 1 deletion .storybook/manager-head.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
<!-- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" /> -->
<link href="https://fonts.googleapis.com/css2?family=Fustat:wght@200..800&display=swap" rel="stylesheet">
7 changes: 4 additions & 3 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
href="https://fonts.gstatic.com"
crossorigin="anonymous"
/>
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
/> -->
<link href="https://fonts.googleapis.com/css2?family=Fustat:wght@200..800&display=swap" rel="stylesheet">

<style type="text/css">
body {
Expand All @@ -16,7 +17,7 @@
-webkit-font-smoothing: antialiased;
-moz-osx-text-smoothing: grayscale;

background: var(--seq-color-background-primary);
background: var(--color-background-primary);
}
</style>

Expand Down
9 changes: 3 additions & 6 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type { Decorator, Preview } from '@storybook/react-vite'
// biome-ignore lint/correctness/noUnusedImports: Storybook requires React
import React from 'react'

import {
ThemeProvider,
type CustomThemes,
type Theme,
ThemeProvider,
} from '../src/providers/ThemeProvider/ThemeProvider.js'

import docsTheme from './theme'
Expand All @@ -16,8 +17,6 @@ const customThemes: CustomThemes = {
primary: 'var(--color-violet-950)',
muted: 'var(--color-violet-600)',

gradientPrimary: 'linear-gradient(45deg, darkblue 0%, blue 100%)',

backgroundPrimary: 'var(--color-violet-50)',
backgroundSecondary: 'var(--color-violet-100)',
backgroundRaised: 'var(--color-violet-200)',
Expand All @@ -34,8 +33,6 @@ const customThemes: CustomThemes = {
primary: 'var(--color-violet-50)',
muted: 'var(--color-violet-400)',

gradientPrimary: 'linear-gradient(45deg, darkblue 0%, blue 100%)',

backgroundPrimary: 'var(--color-violet-950)',
backgroundSecondary: 'var(--color-violet-900)',
backgroundRaised: 'var(--color-violet-800)',
Expand All @@ -62,7 +59,7 @@ const withTheme: Decorator = (StoryFn, context) => {
customThemes={isCustomTheme ? customThemes : undefined}
storageKey={null}
>
<div className="bg-background-primary p-4">
<div className="bg-background-primary p-4 isolate">
<StoryFn />
</div>
</ThemeProvider>
Expand Down
5 changes: 4 additions & 1 deletion .storybook/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ import { create } from 'storybook/theming'

export default create({
base: 'light',
fontBase: 'Inter',
fontBase: 'Fustat',
brandUrl: 'https://polygon.technology',
brandTitle: 'Polygon / Design System',
brandImage: '/static/images/polygon-logo.svg',
})
123 changes: 123 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,128 @@
# @0xsequence/design-system

## 4.0.0-alpha.19

### Patch Changes

- Updating dependencies, removing custom icons, and fixing Calendar styling bugs

## 4.0.0-alpha.18

### Patch Changes

- Updating Switch styling

## 4.0.0-alpha.17

### Patch Changes

- Adding showArrow prop to Popover and Tooltips, change vOffset and hOffset to sideOffset and alignOffset on TooltipHelper."

## 4.0.0-alpha.16

### Patch Changes

- Updating Alerts and Tooltips styling

## 4.0.0-alpha.15

### Patch Changes

- Fixing Select scroll height

## 4.0.0-alpha.14

### Patch Changes

- Adding combobox and consolidating popup styling

## 4.0.0-alpha.13

### Patch Changes

- Updating Card clickable state, updating to base-ui v1.4.1

## 4.0.0-alpha.12

### Patch Changes

- Updating input behavior and styles

## 4.0.0-alpha.11

### Patch Changes

- Updating Select, PINCodeInput, Tabs, Sheet, and Alert styling

## 4.0.0-alpha.10

### Patch Changes

- Updating Dialogs, Checkboxes, and Radios"

## 4.0.0-alpha.9

### Patch Changes

- Fixing Sheet styles, and allowing to disable close button for custom button

## 4.0.0-alpha.8

### Patch Changes

- Fixing render prop on Card component

## 4.0.0-alpha.7

### Patch Changes

- Updating color scales to match polygon branding, and updated input styling

## 4.0.0-alpha.6

### Patch Changes

- Migrating to lucide icons

## 4.0.0-alpha.5

### Patch Changes

- Updating Table, Progress, and Empty component styling

## 4.0.0-alpha.4

### Patch Changes

- Updating styling of components to match final alpha

## 4.0.0-alpha.3

### Patch Changes

- Updating Button styles, Alert styles, Progress, and Pagination

## 4.0.0-alpha.2

### Patch Changes

- Card components — Added new Card component system (#142)
- Dialog typing fix — Fixed Dialog and DialogTrigger Payload typing
- Badge styling — Updated Badge component styling
- Border-radius updates — Updated border-radius on Alert, Card, and Popover components

## 4.0.0-alpha.1

### Patch Changes

- Added Sidebar component, removed old text classes in favor of default tailwind classes.

## 4.0.0-alpha.0

### Major Changes

- Migrated to base-ui

## 3.2.9

### Patch Changes
Expand Down
55 changes: 51 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pnpm add @0xsequence/design-system

The design system relies on these peer dependencies to be installed in your application:

- `pnpm add react react-dom motion`
- `pnpm add react react-dom`

### Use

Expand Down Expand Up @@ -54,13 +54,13 @@ root.render(
Then import components from the design system to build your UI:

```jsx
import { Text, Button, useTheme } from '@0xsequence/design-system'
import { Button, useTheme } from '@0xsequence/design-system'

const App = () => (
const { theme, setTheme } = useTheme()

<div>
<Text variant="normal">Hello, World!</Text>
<span className="text-sm">Hello, World!</span>
<Button variant="primary" label="Change theme" onClick={() => setTheme(theme === 'dark' ? 'light' : 'dark')} />
</div>
)
Expand All @@ -72,9 +72,25 @@ const App = () => (
Clone the [Sequence Design System GitHub Project](https://github.com/0xsequence/design-system) then start Storybook.

```
pnpm install && pnpm storybook
pnpm install && pnpm dev
```

#### Code analysis

We use [fallow](https://docs.fallow.tools) to find unused code, duplication, and complexity hotspots. Run the full suite or scope it to a single analysis:

| Script | What it runs |
| --- | --- |
| `pnpm fallow` | Full suite: dead-code + duplication + health |
| `pnpm fallow:summary` | Category counts only, without individual findings |
| `pnpm fallow:dead-code` | Unused files, exports, dependencies, and circular deps |
| `pnpm fallow:dupes` | Copy-paste and structural code duplication |
| `pnpm fallow:health` | Complexity, maintainability, and hotspots |
| `pnpm fallow:audit` | Review only files changed since the base branch (CI/PR) |
| `pnpm fallow:fix` | Auto-fix safe unused-code findings |

Configuration lives in `.fallowrc.json`.

#### Manual project updates

##### 1. Upgrade the design system to the latest version
Expand Down Expand Up @@ -110,6 +126,37 @@ export default defineConfig({
})
```

## Migrating from v3 to v4

V4 is a larger departure than previous releases and includes many breaking changes.

1. Migrated from radix-ui components to base-ui. This should largely be a smooth transition, the most notable breaking change is that the @radix-ui/react-slot `asChild` behavior is no longer valid; base-ui uses a standard `render` prop https://base-ui.com/react/handbook/composition.

2. `react-hook-form` dependency is removed as well as all controlled form components which depended on it, including `Form`, `ControlledTextInput`, `ControlledCheckbox`, `ControlledSelect`, etc. This is out of scope of the design system as it should not dictate how you should use the primitives or which form library. Check out https://ui.shadcn.com/docs/forms for details on how you could integrate the design-system primitives with a few different react form library options or simply copy over the Controlled implementations from v3.

3. We no longer export string utils `capitalize`, `pluralize`, and `kebabize`. These were used internally in the design-system but never meant to be exported as they fall outside its scope.

4. `Image` component is removed. This was superfluous and only served to add fade in animation support on image load.

5. `Modal` component is removed. Use Dialog primitive components instead.

6. `motion` dependency removed. We are opting to use css transistions and animation classes on primitive components instead so they can be easily overridden. If you want to use motion to animate you can do so within your individual project.

7. IconButton component removed. Use <Button iconOnly><XIcon /></Button> instead

8. Button.Helper component removed.

9. Text component is removed. Use default text classes instead.

10. textVariants have been removed. Use default tailwind text classes instead

11. Collapsible now exports its primitives, use Collapsible.Helper for old behavior.

12. Tooltip now exports its primitives, use Tooltip.Helper for old behavior.

13. Icons have been migrated to lucide. `lucide-react` is now a peer dependency of the project.


## Migrating from v2 to v3

V3 attemps to be mostly compatible but there are some breaking changes that will need to be addressed.
Expand Down
56 changes: 56 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": ["**/*.ts", "**/*.tsx"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single",
"arrowParentheses": "asNeeded",
"trailingCommas": "es5"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useAnchorContent": "off",
"useSemanticElements": "off",
"useKeyWithClickEvents": "off",
"noLabelWithoutControl": "off",
"noStaticElementInteractions": "off"
},
"style": {
"noNonNullAssertion": "off"
},
"correctness": {
"useExhaustiveDependencies": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off"
}
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}
Loading
Loading