deepyr 0.1.2
deepyr: ^0.1.2 copied to clipboard
A type-safe Dart implementation of DaisyUI components for Jaspr, providing a fluent API for building beautiful web apps (PoC)
Changelog #
0.1.2 #
Fixed #
Dropdown
: Addressed a critical cross-browser compatibility issue where focus-based dropdowns failed to position correctly in Safari. The component now works seamlessly across all modern browsers.Diff
: TheDiff
component is now fully interactive. Fixed a fundamental bug that made the comparison slider non-functional.
Changed #
Diff
Architecture: RefactoredDiff
to be a stateful, client-side component to enable interactivity.- Breaking Change: The
item1
anditem2
named parameters have been removed.DiffItem1
andDiffItem2
must now be passed as direct children in a list.
- Breaking Change: The
0.1.1 #
Fixed #
Modal
Closing on Safari: Fixed a critical cross-browser issue whereModal
components using the native<dialog>
tag could not be closed by aButton
inside a<form method="dialog">
. This was most noticeable on Safari. The issue was caused by Jaspr's default event handling (preventDefault()
) interfering with the native browser behavior required to close the dialog.
Added #
Button.isNativeSubmit
Property: To solve the modal issue, a newisNativeSubmit
boolean property was added to theButton
component. When set totrue
, theButton
renders as a primitive element without Jaspr's event listeners, allowing its native form submission behavior to proceed. This is now the recommended way to create close buttons for dialog-based modals.
0.1.0 #
Added #
Join
- A smart container to seamlessly group related components like buttons or inputs.Tooltip
- A pop-up that displays information on hover, supporting both simple text and rich content.Indicator
- A container to place a badge or item on the corner of another element.Modal
- A dialog/overlay component for displaying important messages or interactive content.Tabs
- A component for creating tabbed content views, allowing users to switch between different sections.Dropdown
- A key interactive component for creating context menus and action lists, refactored for a more declarative and type-safe API.
0.0.4 #
Added #
Checkbox
- Boolean selection with custom stylingRadio
- Single choice selection from multiple optionsToggle
- Modern switch-style boolean inputTextarea
- Multi-line text input with resize optionsSelect
- Dropdown selection with custom stylingProgress
- Task completion and loading progress barsLink
- Enhanced hyperlinks with hover states
0.0.2 #
Added #
Input
- Text input field with full styling supportBadge
- Status indicators and labelsAlert
- User notification messagesCard
- Content containers and layout blocks
0.0.1 #
- Initial project setup and foundation for the
deepyr
package. - Proof of Concept (PoC) release with the first component:
Button
. - Basic API structure for creating and styling DaisyUI components in Jaspr.