Upgrade Guides
Guides you through checking compatibility and safely upgrading when updating Crispy package versions.
This guide explains how to upgrade between versions prior to Crispy React 2. To upgrade from Crispy React 1.2 to 2, you can refer to the Crispy React 2 Upgrade document, and all changes including new features can be found in Changelog.
Crispy React 1 includes breaking changes in minor versions.
Package Version Compatibility
In Crispy React 1, @seed-design/react and @seed-design/css were released as separate versions but were interdependent, and the peerDependencies declarations during this period sometimes had no upper limit or were entirely omitted. While declarations alone may pass validation, there were actually combinations where markup and styles didn't match. If you are using 1.x, check your current combination first according to the rules below before upgrading.
From 2.0.0, strict SemVer is followed and peerDependencies declarations are accurate. If you are using 2.x, you can trust the peer declaration of the package as is. The content below is a record limited to the 1.x range.
Judgment Rules
@seed-design/css must be on the same minor line as @seed-design/react and must be at or above the floor specified in the table below.
If the lines are different (e.g., react 1.1.x + css 1.2.x), they are not compatible. Since the internal structure of Help Bubble·Radio Group changed in 1.2.0, applying 1.2 line styles to 1.1 line markup will break the screen. Even after 1.2.0, the 1.1 line continued to be released via backport, and the same fixes were reflected in the 1.2 line as separate versions. Mixing lines can cause you to hit "versions that don't yet have the fix."
@seed-design/react ↔ @seed-design/css
Rows represent installed react version, columns represent installed css version. ✅ Compatible · ⬇️ css is low (upgrade css) · ⬆️ css is high (upgrade react).
| react \ css | < 1.1.0 | 1.1.0 ~ | 1.1.10 ~ | 1.1.12 ~ | 1.1.13 ~ | 1.1.16 ~ | 1.1.17 ~ | 1.1.23 ~ | 1.1.24 ~ | 1.2.0 ~ | ≥ 2.0.0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| < 1.1.0 | ✅ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ |
| 1.1.0 ~ 1.1.9 | ⬇️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⬆️ | ⬆️ |
| 1.1.10 ~ 1.1.11 | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⬆️ | ⬆️ |
| 1.1.12 | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⬆️ | ⬆️ |
| 1.1.13 ~ 1.1.15 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ✅ | ✅ | ⬆️ | ⬆️ |
| 1.1.16 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ✅ | ⬆️ | ⬆️ |
| 1.1.17 ~ 1.1.22 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ⬆️ | ⬆️ |
| 1.1.23 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ⬆️ | ⬆️ |
| 1.1.24 ~ 1.1.28 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ⬆️ | ⬆️ |
| 1.2.0 ~ 1.2.15 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ⬆️ |
| ≥ 2.0.0 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ |
Column headers like 1.1.10 ~ mean up to just before the next column, as in >= 1.1.10 < 1.1.12.
@seed-design/stackflow ↔ @seed-design/css
Since @seed-design/stackflow has no 1.2 line, the 1.1 line supports both css 1.1 and 1.2. So unlike react, you can mix lines. However, it breaks when crossing the boundary where AppScreen screen transitions changed to WAAPI-based (css 1.1.25 / 1.2.11, stackflow 1.1.22).
Symbols are the same as the table above, 🚫 represents known incompatible combinations, and ❌ represents css sections where WAAPI support has not yet been reflected.
| stackflow \ css | < 1.0.5 | 1.0.5 ~ | 1.0.7 ~ | 1.1.0 ~ | 1.1.5 ~ | 1.1.9 ~ | 1.1.10 ~ | 1.1.15 ~ | 1.1.16 ~ | 1.1.19 ~ | 1.1.25 ~ | 1.2.0 ~ | 1.2.11 ~ | ≥ 2.0.0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1.0.0 | ✅ | ✅ | ✅ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | 🚫 |
| 1.0.5 | ⬇️ | ✅ | ✅ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | 🚫 |
| 1.0.9 | ⬇️ | ⬇️ | ✅ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | ⬆️ | 🚫 |
| 1.1.0 ~ 1.1.4 | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | 🚫 | ✅ | 🚫 | 🚫 |
| 1.1.5 ~ 1.1.8 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | 🚫 | ✅ | 🚫 | 🚫 |
| 1.1.9 ~ 1.1.10 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ✅ | ✅ | 🚫 | ✅ | 🚫 | 🚫 |
| 1.1.11 ~ 1.1.14 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | ✅ | 🚫 | ✅ | 🚫 | 🚫 |
| 1.1.15 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | ✅ | 🚫 | ✅ | 🚫 | 🚫 |
| 1.1.16 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ✅ | 🚫 | ✅ | 🚫 | 🚫 |
| 1.1.17 ~ 1.1.21 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | 🚫 | ✅ | 🚫 | 🚫 |
| 1.1.22 ~ 1.1.25 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ | ❌ | ✅ | 🚫 |
| ≥ 2.0.0 | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ⬇️ | ✅ |
The combination of stackflow 1.1.22 or later and css 1.2.0 ~ 1.2.10 (❌) is incompatible because WAAPI support was added from css 1.2.11. Either upgrade css to 1.2.11 or later, or use the css 1.1 line (1.1.25 or later).
Known Incompatible Combinations
| Combination | Symptom | Solution |
|---|---|---|
stackflow < 1.1.22 + css >= 1.1.25(1.1 line) or css >= 1.2.11 | AppScreen screen transition animation and AppBar background break | Upgrade stackflow to 1.1.22 or later together |
stackflow 1.x + css 2.x | Combination crossing major boundary | Upgrade stackflow to 2.x together |
The first item is a change where both css and stackflow changed together as AppScreen transitions switched to WAAPI-based. The css change was included in 1.1.25 (1.1 line backport) and 1.2.11 (1.2 line), and the corresponding stackflow change was included in 1.1.22.
If You Encounter a Version Not in the Table
The table is based on 1.x versions released up to the time this document was written. If a version is released after that, check the peer declaration of the installed package directly.
Version numbers have gaps. Below lists only versions actually released on npm.
@seed-design/react
| Range | Released Versions |
|---|---|
| < 1.1.0 | 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8 |
| 1.1.0 ~ | 1.1.0, 1.1.1, 1.1.3, 1.1.4, 1.1.5, 1.1.7, 1.1.8 |
| 1.1.10 ~ | 1.1.10 |
| 1.1.12 ~ | 1.1.12 |
| 1.1.13 ~ | 1.1.13 |
| 1.1.16 ~ | 1.1.16 |
| 1.1.17 ~ | 1.1.17, 1.1.18, 1.1.19, 1.1.20, 1.1.21, 1.1.22 |
| 1.1.23 ~ | 1.1.23 |
| 1.1.24 ~ | 1.1.24, 1.1.25, 1.1.26, 1.1.27, 1.1.28 |
| 1.2.0 ~ | 1.2.0 ~ 1.2.15 (all) |
@seed-design/css
| Range | Released Versions |
|---|---|
| < 1.1.0 | 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.5, 1.0.6, 1.0.7 |
| 1.1.0 ~ | 1.1.0, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9 |
| 1.1.10 ~ | 1.1.10 |
| 1.1.12 ~ | 1.1.12 |
| 1.1.13 ~ | 1.1.13, 1.1.15 |
| 1.1.16 ~ | 1.1.16 |
| 1.1.17 ~ | 1.1.17, 1.1.19 |
| 1.1.23 ~ | 1.1.23 |
| 1.1.24 ~ | 1.1.24, 1.1.25, 1.1.26, 1.1.27 |
| 1.2.0 ~ | 1.2.0 ~ 1.2.16 (all) |
@seed-design/stackflow
| Range | Released Versions |
|---|---|
| 1.0.x | 1.0.0, 1.0.5, 1.0.9 |
| 1.1.x | 1.1.0, 1.1.5, 1.1.9, 1.1.11, 1.1.15, 1.1.16, 1.1.17, 1.1.18, 1.1.19, 1.1.20, 1.1.21, 1.1.22, 1.1.23, 1.1.24, 1.1.25 |
0.2.0 Stroke Semantic Token Name Refactoring
Direct judgment and code modification requiredWhen upgrading from a version before 0.2.0, update the code using stroke color semantic tokens that you are using by referring to the items below. You can make bulk changes with codemod or substitute manually by referring to the table.
| Before 0.2.0 Token | After 0.2.0 Token | Remarks |
|---|---|---|
$color.stroke.neutral-muted | $color.stroke.neutral-subtle | This item must be migrated first in order. |
$color.stroke.on-image | $color.stroke.neutral-subtle | |
$color.stroke.neutral | $color.stroke.neutral-muted | |
$color.stroke.field-focused | $color.stroke.neutral-contrast | |
$color.stroke.control | $color.stroke.neutral-weak | |
$color.stroke.field | $color.stroke.neutral-weak | |
$color.stroke.brand | $color.stroke.brand-weak | |
$color.stroke.positive | $color.stroke.positive-weak | |
$color.stroke.informative | $color.stroke.informative-weak | |
$color.stroke.warning | $color.stroke.warning-weak | |
$color.stroke.critical | $color.stroke.critical-weak |
See Available Transforms for details.
Upgrading to 1.0
Crispy React v1.0 Documentation
Crispy React documentation for version 1.0.
There are snippet (recommended combination) changes for the components below, but no other code changes are needed.
Snippet update required- Snackbar: Layout changes
add ui:snackbar
- MannerTemp / MannerTempBadge: Reflects new 10-step temperature ranges.
add ui:manner-temp ui:manner-temp-badge- If there is code that directly specifies
level, you need to verify that the temperature-specific ranges are displayed as intended.
- SwitchMark / List Header added
add ui:switch,add ui:list
If there is code that directly imports and uses Snackbar/MannerTemp/MannerTempBadge from @seed-design/react, update it to match the new snippet structure.
Upgrading from 1.0 to 1.1
Crispy React v1.1 Documentation
Crispy React documentation for version 1.1.
1. Page Banner Structure Change
Snippet update requiredPageBanner.TextContent has been renamed to PageBanner.Content, and the layout previously styled with Box has been replaced with PageBanner.Body.
There are snippet changes, so you need to add it again. No changes are needed to code that uses the snippet component. If there is code that directly imports and uses PageBanner from @seed-design/react, update it to match the new snippet structure.
2. Remove Text Field size="xlarge" and Provide Field-based Snippet
Snippet update and code changes required
The Text Field snippet component has been refactored to use the Field component internally. The onValueChange signature has been changed from ((value: string) => void) | undefined to ((values: { value: string; graphemes: string[]; slicedValue: string; slicedGraphemes: string[]; }) => void) | undefined. There are snippet changes, so you need to add it again. If there is code that directly imports and uses TextField from @seed-design/react, update it to match the new snippet structure.
size="xlarge" has been removed. Please use size="large" (the default).
3. Convert Bottom Sheet to Drawer-based
Snippet update and code changes requiredThe Dialog-based Bottom Sheet has been converted to a Drawer-based one, adding features such as swipe to dismiss and snap points. There are snippet changes, so you need to add it again. If there is code that directly imports and uses BottomSheet from @seed-design/react, update it to match the new snippet structure.
The snippet component BottomSheetContent's hideCloseButton (default: false) interface has been changed to showCloseButton (default: true).
4. Error State Snippet Change
Snippet update and code changes requiredThe Error State snippet has been changed to use Action Button (variant="ghost") internally, so it needs to be added again.
The snippet component ErrorState's secondaryActionProps type has been changed from React.ButtonHTMLAttributes<HTMLButtonElement> to ActionButtonProps. If there is code using secondaryActionProps, update it to match the new type.
Upgrading from 1.1 to 1.2
Crispy React v1.2 Documentation
Crispy React documentation for version 1.2.
The 6 h3 items below are independent, so they can be done in parallel.
1. Help Bubble Layout Change
Snippet update requiredThe snippet has been updated so that the new HelpBubble.Body wraps HelpBubble.Title and HelpBubble.Description. Code that uses components exported from the snippet, such as HelpBubbleTrigger and HelpBubbleAnchor, requires no changes other than re-fetching the snippet. If there is code that directly imports and uses HelpBubble from @seed-design/react, update it to match the new snippet structure.
2. MenuSheetItem Layout Change
Snippet update and code changes requiredThe MenuSheetItem snippet component has been improved to allow adding a description, and the layout has changed. There are snippet changes, so you need to add it again. If there is code that directly imports and uses MenuSheetItem from @seed-design/react, update it to match the new snippet structure.
In code that uses the snippet component MenuSheetItem, please use the label prop instead of children, and the prefixIcon prop instead of <PrefixIcon />.
3. Modify Bottom Sheet and Menu Sheet to Have Safe Area by Default
Direct judgment requiredBottomSheet.Content and MenuSheet.Content have been changed to have bottom safe-area padding by default. If you were adding safe-area padding directly to the sheet, remove it.
4. Tag Group Layout Change
Snippet update and code changes requiredA new snippet component is now provided for the Tag Group Item layout.
Replace the Tag Group imported from @seed-design/react with an import from the snippet (seed-design/ui/tag-group), and use the label prop instead of children, and prefixIcon/suffixIcon props instead of PrefixIcon/SuffixIcon.
If you need customization such as specifying a different color only for the icon, you can use TagGroup.Item and TagGroup.ItemLabel from @seed-design/react together.
5. Select Box Layout Change
Snippet update and code changes requiredThere are snippet changes, so you need to add it again. If there is code that directly imports and uses Select Box-related components from @seed-design/react, update it to match the new snippet structure.
- Changes the
CheckSelectBoxGroup/RadioSelectBoxRootcomponents to a grid layout with gap included by default.- Removes the
VStackthat used to wrap the children, soCheckSelectBoxGroupandRadioSelectBoxRootnow wrap the items directly. - If the
VStackhas styles other thangap, you can leave theVStackoutsideCheckSelectBoxGroup/RadioSelectBoxRootto preserve the layout. - Also check whether you are wrapping
VStackwithasChild, as in<VStack asChild><CheckSelectBoxGroup>...</CheckSelectBoxGroup></VStack>.
- Removes the
- Changes so that the Checkmark or Radiomark inside Select Box is no longer displayed automatically.
- Add
suffix={<CheckSelectBoxCheckmark />}/suffix={<RadioSelectBoxRadiomark />}toCheckSelectBox/RadioSelectBoxItem.
- Add
6. Radio Group / Item Related Changes
The 3 items below can affect each other, so proceed in order.
Remove Radio Item invalid prop
Detectable via error
Removes the invalid prop from RadioGroupItem, RadioChipItem, RadioSelectBoxItem, and ListRadioItem. If there is code that styles based on data-invalid, verification is needed.
Change Component Names for SwitchMark and RadioMark
Snippet update recommended
The names exported from the snippet have changed. You can update by re-fetching the snippet.
RadioGroup Layout Cleanup
Direct judgment and code changes requiredThe layout of the RadioGroup-related snippet component has changed, so it needs to be added again. If there is code that directly imports and uses Radio Group-related components from @seed-design/react, update it to match the new snippet structure.
- Modifies the snippet component
RadioGroupto have its own gap and 100% width.- Please remove the
VStackthat used to wrap the children. - If the
VStackhas styles other thangap, you can leave theVStackoutsideRadioGroupto preserve the layout. - Also check whether you are wrapping
VStackwithasChild, as in<VStack asChild><RadioGroup>...</RadioGroup></VStack>.
- Please remove the
- The
@seed-design/reactcomponentRadioGroup.Roothas been modified to no longer handle radio-related behavior, and its own styles have been added.- If you need radio-related headless behavior, use
RadioGroup.Rootfrom@seed-design/react/primitive.
- If you need radio-related headless behavior, use
The tokens and options announced in the 1.2 release as "scheduled for
removal in 1.3" ($gradient.fade-layer-*, Chip Tabs brandSolid, Checkbox
weight, Switch size, camelCase layout values) were actually removed in
Crispy React 2. $color.bg.layer-fill was removed in 2.0.0 but re-added in
2.1.0, so it can still be used as-is. See the v2
upgrade guide for details. Crispy React 1.3 was
never released.