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

✨ Add an attributes() method for cleanly & safely setting block properties instead of construct #210

Merged
merged 7 commits into from
Feb 29, 2024

Commits on Feb 29, 2024

  1. ✨ Add an attributes() method for cleanly & safely setting block pro…

    …perties instead of construct
    
    🧑‍💻 Simplify required arguments for block styles
    🎨 Improve method typing
    🧑‍💻 Check for `assets` with `method_exists` to prevent unnecessary clashing
    🎨 Remove unnecessary `align_content` conditional
    Log1x committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    9e4aa31 View commit details
    Browse the repository at this point in the history
  2. 🎨 Add types to stubs

    Log1x committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    97abc01 View commit details
    Browse the repository at this point in the history
  3. 🎨 Add types to block stub

    🎨 Improve default typing on the `assets` method
    🎨 Simplify the default `styles` property
    Log1x committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    6a267bf View commit details
    Browse the repository at this point in the history
  4. 🎨 Implement the attributes() method for setting dynamic block prope…

    …rties
    
    🎨 Move example data into the `example()` method
    🎨 Add types to methods where applicable
    🎨 Simplify the default `styles` configuration
    🎨 Improve default typing on the `assets` method
    Log1x committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    0618600 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    587c215 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6bda22f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f73f930 View commit details
    Browse the repository at this point in the history