deepyr 0.1.2 copy "deepyr: ^0.1.2" to clipboard
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: The Diff component is now fully interactive. Fixed a fundamental bug that made the comparison slider non-functional.

Changed #

  • Diff Architecture: Refactored Diff to be a stateful, client-side component to enable interactivity.
    • Breaking Change: The item1 and item2 named parameters have been removed. DiffItem1 and DiffItem2 must now be passed as direct children in a list.

0.1.1 #

Fixed #

  • Modal Closing on Safari: Fixed a critical cross-browser issue where Modal components using the native <dialog> tag could not be closed by a Button 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 new isNativeSubmit boolean property was added to the Button component. When set to true, the Button 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 styling
  • Radio - Single choice selection from multiple options
  • Toggle - Modern switch-style boolean input
  • Textarea - Multi-line text input with resize options
  • Select - Dropdown selection with custom styling
  • Progress - Task completion and loading progress bars
  • Link - Enhanced hyperlinks with hover states

0.0.3 #

Added #

  • Loading - to show animations for loading states.
  • Divider - to separate content.

0.0.2 #

Added #

  • Input - Text input field with full styling support
  • Badge - Status indicators and labels
  • Alert - User notification messages
  • Card - 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.
6
likes
150
points
339
downloads

Publisher

verified publisherphilippgerber.li

Weekly Downloads

A type-safe Dart implementation of DaisyUI components for Jaspr, providing a fluent API for building beautiful web apps (PoC)

Homepage
Repository (GitHub)
View/report issues

Topics

#jaspr #daisyui #ui-components #web

Documentation

API reference

License

MIT (license)

Dependencies

jaspr, universal_web

More

Packages that depend on deepyr