Skip to content

Commit 19ba54e

Browse files
committed
feat(tabs): tweak enclosed component
1 parent 062a93a commit 19ba54e

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

plugins/panda/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
- Added new `enclosed` variant to the `Tabs` component.
66

7+
### Fixed
8+
9+
- Resolved an issue with the `Card` component where the content would overflow the card.
10+
711
## [0.29.0] - 2024-01-19
812

913
We are excited to announce that in this release, we have revised several components to feature a closed Component API:

plugins/panda/src/theme/recipes/tabs.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,12 @@ export const tabs = defineSlotRecipe({
7676
enclosed: {
7777
list: {
7878
borderRadius: 'l3',
79+
borderWidth: '1px',
80+
borderColor: 'border.subtle',
7981
backgroundColor: {
80-
base: 'gray.3',
82+
base: 'gray.a2',
8183
_dark: 'bg.canvas',
8284
},
83-
_dark: {
84-
borderWidth: '1px',
85-
borderColor: 'border.subtle',
86-
},
8785
},
8886
indicator: {
8987
backgroundColor: 'bg.default',

website/src/content/overview/panda/changelog.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ description: All notable changes to this project will be documented in this file
1010

1111
- Added new `enclosed` variant to the `Tabs` component.
1212

13+
### Fixed
14+
15+
- Resolved an issue with the `Card` component where the content would overflow the card.
16+
1317
## [0.29.0] - 2024-01-19
1418

1519
We are excited to announce that in this release, we have revised several components to feature a closed Component API:

0 commit comments

Comments
 (0)