Skip to content

feat(*): v6#3920

Open
cschroeter wants to merge 18 commits into
mainfrom
v6
Open

feat(*): v6#3920
cschroeter wants to merge 18 commits into
mainfrom
v6

Conversation

@cschroeter

Copy link
Copy Markdown
Member

No description provided.

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ark-docs Error Error Jun 16, 2026 11:20am

Request Review

describe('Accordion', () => {
it('should have no a11y violations', async () => {
const { container } = render(<ComponentUnderTest />)
const { container } = await act(async () => render(<ComponentUnderTest />))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we need this act for rendering the component. Maybe AI slop?


export const ComponentUnderTest = (props: ColorPicker.RootProps) => (
<ColorPicker.Root defaultValue={parseColor('#eb5e41')} {...props}>
<ColorPicker.Root defaultValue={parseColor('#eb5e41').toFormat('hsba')} {...props}>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why the extra toFormat('hsba') was added?

import { mergeProps } from '@zag-js/react'
import { forwardRef } from 'react'
import { type HTMLProps, type PolymorphicProps, ark } from '../factory.ts'
import { parts } from './segment-group.anatomy.ts'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is breaking change we need to document somewhere, since this data-* will now reflect that of radio-group not segment-group anymore

const SelectImpl = <T extends CollectionItem>(props: SelectRootProps<T>, ref: React.Ref<HTMLDivElement>) => {
const [presenceProps, selectProps] = splitPresenceProps(props)
const [useSelectProps, localProps] = createSplitProps<UseSelectProps<T>>()(selectProps, [
'alignItemWithTrigger',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need an example for this prop, its a nice feature that users will like to see (i believe)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants