Browse Source
fix: updating Tailwind CSS variables from --radix-* to --reka-* (#6890)
* fix: radix => reka
* chore: add reka cspell
* fix: Composition url
pull/6836/head^2
xingyu
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
7 additions and
6 deletions
-
cspell.json
-
internal/tailwind-config/src/index.ts
-
packages/@core/ui-kit/shadcn-ui/src/components/button/button.ts
-
packages/@core/ui-kit/tabs-ui/src/use-tabs-view-scroll.ts
|
|
|
@ -36,6 +36,7 @@ |
|
|
|
"prefixs", |
|
|
|
"publint", |
|
|
|
"qrcode", |
|
|
|
"reka", |
|
|
|
"shadcn", |
|
|
|
"sonner", |
|
|
|
"sortablejs", |
|
|
|
|
|
|
|
@ -175,18 +175,18 @@ export default { |
|
|
|
keyframes: { |
|
|
|
'accordion-down': { |
|
|
|
from: { height: '0' }, |
|
|
|
to: { height: 'var(--radix-accordion-content-height)' }, |
|
|
|
to: { height: 'var(--reka-accordion-content-height)' }, |
|
|
|
}, |
|
|
|
'accordion-up': { |
|
|
|
from: { height: 'var(--radix-accordion-content-height)' }, |
|
|
|
from: { height: 'var(--reka-accordion-content-height)' }, |
|
|
|
to: { height: '0' }, |
|
|
|
}, |
|
|
|
'collapsible-down': { |
|
|
|
from: { height: '0' }, |
|
|
|
to: { height: 'var(--radix-collapsible-content-height)' }, |
|
|
|
to: { height: 'var(--reka-collapsible-content-height)' }, |
|
|
|
}, |
|
|
|
'collapsible-up': { |
|
|
|
from: { height: 'var(--radix-collapsible-content-height)' }, |
|
|
|
from: { height: 'var(--reka-collapsible-content-height)' }, |
|
|
|
to: { height: '0' }, |
|
|
|
}, |
|
|
|
float: { |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ export interface VbenButtonProps { |
|
|
|
/** |
|
|
|
* Change the default rendered element for the one passed as a child, merging their props and behavior. |
|
|
|
* |
|
|
|
* Read our [Composition](https://www.radix-vue.com/guides/composition.html) guide for more details.
|
|
|
|
* Read our [Composition](https://www.reka-ui.com/docs/guides/composition) guide for more details.
|
|
|
|
*/ |
|
|
|
asChild?: boolean; |
|
|
|
class?: any; |
|
|
|
|
|
|
|
@ -59,7 +59,7 @@ export function useTabsViewScroll(props: TabsProps) { |
|
|
|
} |
|
|
|
|
|
|
|
const viewportEl = scrollbarEl?.querySelector( |
|
|
|
'div[data-radix-scroll-area-viewport]', |
|
|
|
'div[data-reka-scroll-area-viewport]', |
|
|
|
); |
|
|
|
|
|
|
|
scrollViewportEl.value = viewportEl; |
|
|
|
|