Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump for release v2.7.0 #529

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Bump for release v2.7.0 #529

merged 1 commit into from
Dec 9, 2024

Conversation

isacoder
Copy link
Collaborator

@isacoder isacoder commented Dec 9, 2024

Description

Release 2.7.0

Features

  • DatePicker: Added a new contentDays prop. Passing an array to this prop displays a dot on the days with available content. Live view

  • Label:

    • Updated to support theme-based CSS.
    • Added an optional direction prop to control the label's position relative to the field it wraps:
    • column (default): Places the label above the field (e.g., for text inputs).
    • row: Positions the label to the left of the field (e.g., pagination controls).
    • row-reverse: Place the label to the right of the field (e.g., radio buttons).
  • Switch:

    • Updated to match the new theme style with full integration of CSS variables, making it fully compatible with light and dark modes. New Design Live view
    • Introduced size-related CSS variables, allowing easy resizing. For legacy projects, the previous switch size can be restored.
    • The label now uses the Label component to ensure consistency.
  • Spinner:

    • Updated to support theme-based CSS.
    • Allows custom colors and sizes via CSS variables.
    • Can now take a custom size, ensuring compatibility when resizing switches, while maintaining proper spinner size during loading states.
  • Pagination: Updated colors and integrated the direction prop with the Label component.

Fixes

  • Pagination: Adjusted the SelectField height to align with other inputs in the component.

Deprecated Features and Breaking Changes

  • SelectField: The isSameRow prop should now be replaced with the direction="row" prop in the Label component. The rightAlign prop should now be replaced with direction="row-reverse".

@isacoder isacoder added the Release Tags for release bump label Dec 9, 2024
@isacoder isacoder merged commit 23db192 into main Dec 9, 2024
1 check passed
@isacoder isacoder deleted the release/v2.7.0 branch December 9, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Tags for release bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant