Releases: element-hq/compound-web
Releases · element-hq/compound-web
Release 0.6.1
0.6.1 Release
What's Changed
- Make usage of useId unanalyzable by @Johennes in #116
- Create separator component by @germain-gg in #113
- Make the @vector-im/compound-design-tokens requirement wider by @sandhose in #117
Full Changelog: v0.6.0...v0.6.1
Release 0.6.0
Breaking changes
The form elements have been completely revamped, including default style on the form root element.
They are now all exported in a Form
object, so that this markup is valid:
import { Form } from "@vector-im/compound-web";
const Render: React.FC = () => (
<Form.Root>
<Form.Field name="username">
<Form.Label>Username</Form.Label>
<Form.TextControl />
</Form.Field>
<Form.Field name="password">
<Form.Label>Password</Form.Label>
<Form.PasswordControl />
</Form.Field>
<Form.Submit>Submit</Form.Submit>
</Form.Root>
);
The <Checkbox />
, <Toggle />
and <Radio />
components don't have a kind
property anymore, but rather rely on the data-invalid
property (used by Radix forms) for their invalid state
What's Changed
- Storybook: enable autodocs by @kerryarchibald in #107
- Create floating menu component by @robintown in #99
- Add drawer menu component by @robintown in #109
- Update button styles by @robintown in #112
- Remove stories and tests from duplicated lines calculations by @germain-gg in #114
- Remove Figma definitions in storyboook by @germain-gg in #115
- Forms cleanup by @sandhose in #108
Full Changelog: v0.5.4...v0.6.0
Release 0.5.4
Release 0.5.3
0.5.3 Release
What's Changed
- Enforce the use of logical CSS properties by @robintown in #101
- Create glass component by @robintown in #97
- Tooltip: rename shortcut to caption and styling fixes by @germain-gg in #103
Full Changelog: v0.5.2...v0.5.3
Release 0.5.2
0.5.2 Release
Full Changelog: v0.5.1...v0.5.2
Release 0.5.1
0.5.1 Release
Full Changelog: v0.5.0...v0.5.1
Release 0.5.0
0.5.0 Release
What's Changed
- Check formatting in CI by @robintown in #90
- Minor updates to the toggle component by @robintown in #93
- Create menu item component by @robintown in #91
- Create toggle menu item component by @robintown in #92
- Create Search component by @germain-gg in #63
- Prevent useId import from React and fix another occurrence by @Johennes in #95
- Add a lint rule for accidental hover states by @robintown in #96
Full Changelog: v0.4.5...v0.5.0
Release 0.4.5
0.4.5 Release
What's Changed
- Bump design tokens @vector-im/[email protected] by @kerryarchibald in #87
- Ponyfill useId by @Johennes in #88
- Fix: disabled unchecked checkboxes appear checked by @kerryarchibald in #86
New Contributors
- @kerryarchibald made their first contribution in #87
- @Johennes made their first contribution in #88
Full Changelog: v0.4.4...v0.4.5
Release 0.4.4
0.4.4 Release
What's Changed
- Run
tsc
as part of the lint script and upgrade dependencies by @sandhose in #78 - Improve rendering of translucent avatars by @germain-gg in #84
Full Changelog: v0.4.3...v0.4.4
Release 0.4.3
0.4.3 Release
What's Changed
- Offset all direct children of avatar stack by @germain-gg in #82
- Ensure that the avatar clip element doesn't affect page layout by @robintown in #81
Full Changelog: v0.4.2...v0.4.3