~loges/haitch

c3e9b67051e392d6ee9df111957eddcafeb69c95 — Logan Connolly 3 months ago c88114b
feat: export `Child` type from package

This type is important when you want to specify what valid values can be
passed into the `children` parameter of an element. This is particularly
useful when working with components.
2 files changed, 8 insertions(+), 1 deletions(-)

M CHANGELOG.md
M src/haitch/__init__.py
M CHANGELOG.md => CHANGELOG.md +6 -0
@@ 5,6 5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Added

- Export `Child` type from package.

## 0.7.0 - 2024-02-29

### Added

M src/haitch/__init__.py => src/haitch/__init__.py +2 -1
@@ 47,7 47,7 @@ from haitch._elements._th import ThElement, th
from haitch._elements._title import TitleElement, title
from haitch._elements._tr import TrElement, tr
from haitch._elements._ul import UlElement, ul
from haitch._typing import Html, SupportsHtml
from haitch._typing import Child, Html, SupportsHtml
from haitch._void_elements._area import AreaElement, area
from haitch._void_elements._base import BaseElement, base
from haitch._void_elements._br import BrElement, br


@@ 69,6 69,7 @@ __all__ = [
    "BaseElement",
    "BodyElement",
    "BrElement",
    "Child",
    "ColElement",
    "DivElement",
    "Element",