- icon-button.css + icon_button.templ: UIIcon switch (plus/grid3x3/list/filter/search/calendar/pencil/trash + fallback span) - spacing.css + space.templ: SpaceX/SpaceY with SpacingStep classes - button.templ: wire @UIIcon(props.Icon) replacing Plan 02 placeholder comment - tailwind.input.css: add modal, empty-state, table, icon-button, form-field, spacing imports (14 total) - All 7 new tests pass; full go test ./... green
13 lines
263 B
Text
13 lines
263 B
Text
package ui
|
|
|
|
type SpaceProps struct {
|
|
Size SpacingStep
|
|
}
|
|
|
|
templ SpaceX(props SpaceProps) {
|
|
<span class={ SpaceXClass(props.Size) } aria-hidden="true"></span>
|
|
}
|
|
|
|
templ SpaceY(props SpaceProps) {
|
|
<div class={ SpaceYClass(props.Size) } aria-hidden="true"></div>
|
|
}
|