blizzard-html 0.1.0.0 → 0.2.0.0
raw patch · 10 files changed
+624/−568 lines, 10 filesdep −claydep ~basedep ~blaze-htmldep ~textPVP ok
version bump matches the API change (PVP)
Dependencies removed: clay
Dependency ranges changed: base, blaze-html, text
API changes (from Hackage documentation)
- Text.Blizzard.Css3: AlignContentValue :: Value -> AlignContentValue
- Text.Blizzard.Css3: AlignItemValue :: Value -> AlignItemsValue
- Text.Blizzard.Css3: AlignSelfValue :: Value -> AlignSelfValue
- Text.Blizzard.Css3: FlexDirection :: Value -> FlexDirection
- Text.Blizzard.Css3: FlexWrap :: Value -> FlexWrap
- Text.Blizzard.Css3: JustifyContentValue :: Value -> JustifyContentValue
- Text.Blizzard.Css3: Optional :: Maybe FontWeight -> Maybe FontVariant -> Maybe FontStyle -> Optional
- Text.Blizzard.Css3: Required :: Size a -> Maybe (Size a) -> [Text] -> [GenericFontFamily] -> Required a
- Text.Blizzard.Css3: absolute :: Position
- Text.Blizzard.Css3: alias :: CursorValue Value
- Text.Blizzard.Css3: alignContent :: AlignContentValue -> Css
- Text.Blizzard.Css3: alignItems :: AlignItemsValue -> Css
- Text.Blizzard.Css3: alignSelf :: AlignSelfValue -> Css
- Text.Blizzard.Css3: alignSide :: Side -> TextAlign
- Text.Blizzard.Css3: alignString :: Char -> TextAlign
- Text.Blizzard.Css3: allEvents :: PointerEvents
- Text.Blizzard.Css3: allScroll :: CursorValue Value
- Text.Blizzard.Css3: attrContent :: Text -> Content
- Text.Blizzard.Css3: blink :: TextDecoration
- Text.Blizzard.Css3: block :: Display
- Text.Blizzard.Css3: blur :: Size LengthUnit -> Filter
- Text.Blizzard.Css3: bold :: FontWeight
- Text.Blizzard.Css3: bolder :: FontWeight
- Text.Blizzard.Css3: both :: Clear
- Text.Blizzard.Css3: breakAll :: WordBreak
- Text.Blizzard.Css3: breakWord :: OverflowWrap
- Text.Blizzard.Css3: brightness :: Double -> Filter
- Text.Blizzard.Css3: capitalize :: TextTransform
- Text.Blizzard.Css3: cell :: CursorValue Value
- Text.Blizzard.Css3: class Val a => Cursor a
- Text.Blizzard.Css3: class FlexEnd a
- Text.Blizzard.Css3: class FlexStart a
- Text.Blizzard.Css3: class Val a => Font a
- Text.Blizzard.Css3: class Val a => Mask a
- Text.Blizzard.Css3: class SpaceAround a
- Text.Blizzard.Css3: class SpaceBetween a
- Text.Blizzard.Css3: class Stretch a
- Text.Blizzard.Css3: class Val a => VerticalAlign a
- Text.Blizzard.Css3: clear :: Clear -> Css
- Text.Blizzard.Css3: clearLeft :: Clear
- Text.Blizzard.Css3: clearRight :: Clear
- Text.Blizzard.Css3: clip :: Clip -> Css
- Text.Blizzard.Css3: closeQuote :: Content
- Text.Blizzard.Css3: colResize :: CursorValue Value
- Text.Blizzard.Css3: collapse :: Visibility
- Text.Blizzard.Css3: color :: Color -> Css
- Text.Blizzard.Css3: column :: FlexDirection
- Text.Blizzard.Css3: columnReverse :: FlexDirection
- Text.Blizzard.Css3: content :: Content -> Css
- Text.Blizzard.Css3: contents :: [Content] -> Css
- Text.Blizzard.Css3: contextMenu :: CursorValue Value
- Text.Blizzard.Css3: contrast :: Size Percentage -> Filter
- Text.Blizzard.Css3: copy :: MaskComposite
- Text.Blizzard.Css3: crosshair :: CursorValue Value
- Text.Blizzard.Css3: cursive :: GenericFontFamily
- Text.Blizzard.Css3: cursor :: Cursor a => a -> Css
- Text.Blizzard.Css3: cursorCopy :: CursorValue Value
- Text.Blizzard.Css3: cursorDefault :: CursorValue Value
- Text.Blizzard.Css3: cursorProgress :: CursorValue Value
- Text.Blizzard.Css3: cursorText :: CursorValue Value
- Text.Blizzard.Css3: cursorUrl :: Text -> CursorValue Value
- Text.Blizzard.Css3: data Clear
- Text.Blizzard.Css3: data Clip
- Text.Blizzard.Css3: data Content
- Text.Blizzard.Css3: data Display
- Text.Blizzard.Css3: data Filter
- Text.Blizzard.Css3: data FloatStyle
- Text.Blizzard.Css3: data FontSize
- Text.Blizzard.Css3: data FontStyle
- Text.Blizzard.Css3: data FontVariant
- Text.Blizzard.Css3: data FontWeight
- Text.Blizzard.Css3: data MaskComposite
- Text.Blizzard.Css3: data NamedFont
- Text.Blizzard.Css3: data Optional
- Text.Blizzard.Css3: data Overflow
- Text.Blizzard.Css3: data OverflowWrap
- Text.Blizzard.Css3: data PointerEvents
- Text.Blizzard.Css3: data Position
- Text.Blizzard.Css3: data Required a
- Text.Blizzard.Css3: data TextAlign
- Text.Blizzard.Css3: data TextDecoration
- Text.Blizzard.Css3: data TextDirection
- Text.Blizzard.Css3: data TextIndent
- Text.Blizzard.Css3: data TextOverflow
- Text.Blizzard.Css3: data TextRendering
- Text.Blizzard.Css3: data TextTransform
- Text.Blizzard.Css3: data Visibility
- Text.Blizzard.Css3: data WhiteSpace
- Text.Blizzard.Css3: data WordBreak
- Text.Blizzard.Css3: destinationAtop :: MaskComposite
- Text.Blizzard.Css3: destinationIn :: MaskComposite
- Text.Blizzard.Css3: destinationOut :: MaskComposite
- Text.Blizzard.Css3: destinationOver :: MaskComposite
- Text.Blizzard.Css3: direction :: TextDirection -> Css
- Text.Blizzard.Css3: display :: Display -> Css
- Text.Blizzard.Css3: displayInherit :: Display
- Text.Blizzard.Css3: displayNone :: Display
- Text.Blizzard.Css3: displayTable :: Display
- Text.Blizzard.Css3: dropShadow :: Size LengthUnit -> Size LengthUnit -> Size LengthUnit -> Color -> Filter
- Text.Blizzard.Css3: eResize :: CursorValue Value
- Text.Blizzard.Css3: eachLine :: TextIndent -> TextIndent
- Text.Blizzard.Css3: end :: TextAlign
- Text.Blizzard.Css3: ewResize :: CursorValue Value
- Text.Blizzard.Css3: fantasy :: GenericFontFamily
- Text.Blizzard.Css3: fillEvents :: PointerEvents
- Text.Blizzard.Css3: filter :: Filter -> Css
- Text.Blizzard.Css3: filters :: [Filter] -> Css
- Text.Blizzard.Css3: fixed :: Position
- Text.Blizzard.Css3: flex :: Display
- Text.Blizzard.Css3: flexBasis :: Size a -> Css
- Text.Blizzard.Css3: flexDirection :: FlexDirection -> Css
- Text.Blizzard.Css3: flexEnd :: FlexEnd a => a
- Text.Blizzard.Css3: flexFlow :: FlexDirection -> FlexWrap -> Css
- Text.Blizzard.Css3: flexGrow :: Int -> Css
- Text.Blizzard.Css3: flexShrink :: Int -> Css
- Text.Blizzard.Css3: flexStart :: FlexStart a => a
- Text.Blizzard.Css3: flexWrap :: FlexWrap -> Css
- Text.Blizzard.Css3: float :: FloatStyle -> Css
- Text.Blizzard.Css3: floatLeft :: FloatStyle
- Text.Blizzard.Css3: floatRight :: FloatStyle
- Text.Blizzard.Css3: font :: Font a => a -> Css
- Text.Blizzard.Css3: fontColor :: Color -> Css
- Text.Blizzard.Css3: fontFamily :: [Text] -> [GenericFontFamily] -> Css
- Text.Blizzard.Css3: fontSize :: Size a -> Css
- Text.Blizzard.Css3: fontSizeCustom :: FontSize -> Css
- Text.Blizzard.Css3: fontStyle :: FontStyle -> Css
- Text.Blizzard.Css3: fontVariant :: FontVariant -> Css
- Text.Blizzard.Css3: fontWeight :: FontWeight -> Css
- Text.Blizzard.Css3: fullWidth :: TextTransform
- Text.Blizzard.Css3: geometricPrecision :: TextRendering
- Text.Blizzard.Css3: grab :: CursorValue Value
- Text.Blizzard.Css3: grabbing :: CursorValue Value
- Text.Blizzard.Css3: grayscale :: Size Percentage -> Filter
- Text.Blizzard.Css3: grid :: Display
- Text.Blizzard.Css3: hanging :: TextIndent -> TextIndent
- Text.Blizzard.Css3: help :: CursorValue Value
- Text.Blizzard.Css3: hueRotate :: Angle a -> Filter
- Text.Blizzard.Css3: indent :: Size a -> TextIndent
- Text.Blizzard.Css3: inline :: Display
- Text.Blizzard.Css3: inlineBlock :: Display
- Text.Blizzard.Css3: inlineFlex :: Display
- Text.Blizzard.Css3: inlineGrid :: Display
- Text.Blizzard.Css3: inlineTable :: Display
- Text.Blizzard.Css3: invert :: Size Percentage -> Filter
- Text.Blizzard.Css3: italic :: FontStyle
- Text.Blizzard.Css3: justify :: TextAlign
- Text.Blizzard.Css3: justifyContent :: JustifyContentValue -> Css
- Text.Blizzard.Css3: keepAll :: WordBreak
- Text.Blizzard.Css3: large :: FontSize
- Text.Blizzard.Css3: larger :: FontSize
- Text.Blizzard.Css3: letterSpacing :: Size a -> Css
- Text.Blizzard.Css3: lighter :: FontWeight
- Text.Blizzard.Css3: lineHeight :: Size a -> Css
- Text.Blizzard.Css3: lineThrough :: TextDecoration
- Text.Blizzard.Css3: listItem :: Display
- Text.Blizzard.Css3: lowercase :: TextTransform
- Text.Blizzard.Css3: ltr :: TextDirection
- Text.Blizzard.Css3: mask :: Mask a => a -> Css
- Text.Blizzard.Css3: maskAttachment :: BackgroundAttachment -> Css
- Text.Blizzard.Css3: maskAttachments :: [BackgroundAttachment] -> Css
- Text.Blizzard.Css3: maskClip :: BackgroundClip -> Css
- Text.Blizzard.Css3: maskClips :: [BackgroundClip] -> Css
- Text.Blizzard.Css3: maskComposite :: MaskComposite -> Css
- Text.Blizzard.Css3: maskComposites :: [MaskComposite] -> Css
- Text.Blizzard.Css3: maskImage :: BackgroundImage -> Css
- Text.Blizzard.Css3: maskImages :: [BackgroundImage] -> Css
- Text.Blizzard.Css3: maskOrigin :: BackgroundOrigin -> Css
- Text.Blizzard.Css3: maskOrigins :: [BackgroundOrigin] -> Css
- Text.Blizzard.Css3: maskPosition :: BackgroundPosition -> Css
- Text.Blizzard.Css3: maskPositions :: [BackgroundPosition] -> Css
- Text.Blizzard.Css3: maskRepeat :: BackgroundRepeat -> Css
- Text.Blizzard.Css3: maskRepeats :: [BackgroundRepeat] -> Css
- Text.Blizzard.Css3: maskSize :: BackgroundSize -> Css
- Text.Blizzard.Css3: maskSizes :: [BackgroundSize] -> Css
- Text.Blizzard.Css3: matchParent :: TextAlign
- Text.Blizzard.Css3: medium :: FontSize
- Text.Blizzard.Css3: messageBox :: NamedFont
- Text.Blizzard.Css3: middle :: VerticalAlignValue
- Text.Blizzard.Css3: monospace :: GenericFontFamily
- Text.Blizzard.Css3: move :: CursorValue Value
- Text.Blizzard.Css3: nResize :: CursorValue Value
- Text.Blizzard.Css3: neResize :: CursorValue Value
- Text.Blizzard.Css3: neswResize :: CursorValue Value
- Text.Blizzard.Css3: newtype AlignContentValue
- Text.Blizzard.Css3: newtype AlignItemsValue
- Text.Blizzard.Css3: newtype AlignSelfValue
- Text.Blizzard.Css3: newtype FlexDirection
- Text.Blizzard.Css3: newtype FlexWrap
- Text.Blizzard.Css3: newtype JustifyContentValue
- Text.Blizzard.Css3: noCloseQuote :: Content
- Text.Blizzard.Css3: noDrop :: CursorValue Value
- Text.Blizzard.Css3: noOpenQuote :: Content
- Text.Blizzard.Css3: notAllowed :: CursorValue Value
- Text.Blizzard.Css3: nowrap :: WhiteSpace
- Text.Blizzard.Css3: nsResize :: CursorValue Value
- Text.Blizzard.Css3: nwResize :: CursorValue Value
- Text.Blizzard.Css3: nwseResize :: CursorValue Value
- Text.Blizzard.Css3: oblique :: FontStyle
- Text.Blizzard.Css3: opacity :: Double -> Css
- Text.Blizzard.Css3: openQuote :: Content
- Text.Blizzard.Css3: optimizeLegibility :: TextRendering
- Text.Blizzard.Css3: optimizeSpeed :: TextRendering
- Text.Blizzard.Css3: order :: Int -> Css
- Text.Blizzard.Css3: overflow :: Overflow -> Css
- Text.Blizzard.Css3: overflowClip :: TextOverflow
- Text.Blizzard.Css3: overflowEllipsis :: TextOverflow
- Text.Blizzard.Css3: overflowWrap :: OverflowWrap -> Css
- Text.Blizzard.Css3: overflowX :: Overflow -> Css
- Text.Blizzard.Css3: overflowY :: Overflow -> Css
- Text.Blizzard.Css3: overline :: TextDecoration
- Text.Blizzard.Css3: painted :: PointerEvents
- Text.Blizzard.Css3: pointer :: CursorValue Value
- Text.Blizzard.Css3: pointerEvents :: PointerEvents -> Css
- Text.Blizzard.Css3: position :: Position -> Css
- Text.Blizzard.Css3: preLine :: WhiteSpace
- Text.Blizzard.Css3: preWrap :: WhiteSpace
- Text.Blizzard.Css3: rect :: Size a -> Size a -> Size a -> Size a -> Clip
- Text.Blizzard.Css3: relative :: Position
- Text.Blizzard.Css3: row :: FlexDirection
- Text.Blizzard.Css3: rowResize :: CursorValue Value
- Text.Blizzard.Css3: rowReverse :: FlexDirection
- Text.Blizzard.Css3: rtl :: TextDirection
- Text.Blizzard.Css3: runIn :: Display
- Text.Blizzard.Css3: sResize :: CursorValue Value
- Text.Blizzard.Css3: sansSerif :: GenericFontFamily
- Text.Blizzard.Css3: saturate :: Size Percentage -> Filter
- Text.Blizzard.Css3: scroll :: Overflow
- Text.Blizzard.Css3: seResize :: CursorValue Value
- Text.Blizzard.Css3: separate :: Visibility
- Text.Blizzard.Css3: sepia :: Size Percentage -> Filter
- Text.Blizzard.Css3: serif :: GenericFontFamily
- Text.Blizzard.Css3: smallCaps :: FontVariant
- Text.Blizzard.Css3: smallCaption :: NamedFont
- Text.Blizzard.Css3: smaller :: FontSize
- Text.Blizzard.Css3: sourceAtop :: MaskComposite
- Text.Blizzard.Css3: sourceIn :: MaskComposite
- Text.Blizzard.Css3: sourceOut :: MaskComposite
- Text.Blizzard.Css3: sourceOver :: MaskComposite
- Text.Blizzard.Css3: spaceAround :: SpaceAround a => a
- Text.Blizzard.Css3: spaceBetween :: SpaceBetween a => a
- Text.Blizzard.Css3: start :: TextAlign
- Text.Blizzard.Css3: static :: Position
- Text.Blizzard.Css3: statusBar :: NamedFont
- Text.Blizzard.Css3: sticky :: Position
- Text.Blizzard.Css3: stretch :: Stretch a => a
- Text.Blizzard.Css3: stringContent :: Text -> Content
- Text.Blizzard.Css3: strokeEvents :: PointerEvents
- Text.Blizzard.Css3: swResize :: CursorValue Value
- Text.Blizzard.Css3: tableCaption :: Display
- Text.Blizzard.Css3: tableCell :: Display
- Text.Blizzard.Css3: tableColumn :: Display
- Text.Blizzard.Css3: tableColumnGroup :: Display
- Text.Blizzard.Css3: tableFooterGroup :: Display
- Text.Blizzard.Css3: tableHeaderGroup :: Display
- Text.Blizzard.Css3: tableRow :: Display
- Text.Blizzard.Css3: tableRowGroup :: Display
- Text.Blizzard.Css3: textAlign :: TextAlign -> Css
- Text.Blizzard.Css3: textBottom :: VerticalAlignValue
- Text.Blizzard.Css3: textDecoration :: TextDecoration -> Css
- Text.Blizzard.Css3: textDecorationColor :: Color -> Css
- Text.Blizzard.Css3: textDecorationLine :: TextDecoration -> Css
- Text.Blizzard.Css3: textDecorationStyle :: Stroke -> Css
- Text.Blizzard.Css3: textIndent :: TextIndent -> Css
- Text.Blizzard.Css3: textOverflow :: TextOverflow -> Css
- Text.Blizzard.Css3: textRendering :: TextRendering -> Css
- Text.Blizzard.Css3: textShadow :: Size a -> Size a -> Size a -> Color -> Css
- Text.Blizzard.Css3: textTop :: VerticalAlignValue
- Text.Blizzard.Css3: textTransform :: TextTransform -> Css
- Text.Blizzard.Css3: underline :: TextDecoration
- Text.Blizzard.Css3: uppercase :: TextTransform
- Text.Blizzard.Css3: uriContent :: Text -> Content
- Text.Blizzard.Css3: urlContent :: Text -> Content
- Text.Blizzard.Css3: vAlignBaseline :: VerticalAlignValue
- Text.Blizzard.Css3: vAlignBottom :: VerticalAlignValue
- Text.Blizzard.Css3: vAlignSub :: VerticalAlignValue
- Text.Blizzard.Css3: vAlignSuper :: VerticalAlignValue
- Text.Blizzard.Css3: vAlignTop :: VerticalAlignValue
- Text.Blizzard.Css3: vText :: CursorValue Value
- Text.Blizzard.Css3: verticalAlign :: VerticalAlign a => a -> Css
- Text.Blizzard.Css3: visibility :: Visibility -> Css
- Text.Blizzard.Css3: visibleFill :: PointerEvents
- Text.Blizzard.Css3: visiblePainted :: PointerEvents
- Text.Blizzard.Css3: visibleStroke :: PointerEvents
- Text.Blizzard.Css3: wResize :: CursorValue Value
- Text.Blizzard.Css3: wait :: CursorValue Value
- Text.Blizzard.Css3: weight :: Integer -> FontWeight
- Text.Blizzard.Css3: whiteSpace :: WhiteSpace -> Css
- Text.Blizzard.Css3: wordBreak :: WordBreak -> Css
- Text.Blizzard.Css3: wordSpacing :: Size a -> Css
- Text.Blizzard.Css3: wordWrap :: OverflowWrap -> Css
- Text.Blizzard.Css3: wrapReverse :: FlexWrap
- Text.Blizzard.Css3: xLarge :: FontSize
- Text.Blizzard.Css3: xSmall :: FontSize
- Text.Blizzard.Css3: xor :: MaskComposite
- Text.Blizzard.Css3: xxLarge :: FontSize
- Text.Blizzard.Css3: xxSmall :: FontSize
- Text.Blizzard.Css3: zIndex :: Integer -> Css
- Text.Blizzard.Css3: zoomIn :: CursorValue Value
- Text.Blizzard.Css3: zoomOut :: CursorValue Value
- Text.Blizzard.Html5: a :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: abbr :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: address :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: area :: [Attribute] -> Html
- Text.Blizzard.Html5: article :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: aside :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: audio :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: b :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: base :: [Attribute] -> Html
- Text.Blizzard.Html5: bdo :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: blockquote :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: body :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: br :: [Attribute] -> Html
- Text.Blizzard.Html5: button :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: canvas :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: caption :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: cite :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: code :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: col :: [Attribute] -> Html
- Text.Blizzard.Html5: colgroup :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: command :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: datalist :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: dd :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: del :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: details :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: dfn :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: div :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: dl :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: docType :: Html
- Text.Blizzard.Html5: docTypeHtml :: [Html] -> Html
- Text.Blizzard.Html5: dt :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: em :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: embed :: [Attribute] -> Html
- Text.Blizzard.Html5: fieldset :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: figcaption :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: figure :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: footer :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: form :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: h1 :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: h2 :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: h3 :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: h4 :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: h5 :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: h6 :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: head :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: header :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: hgroup :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: hr :: [Attribute] -> Html
- Text.Blizzard.Html5: html :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: i :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: iframe :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: img :: [Attribute] -> Html
- Text.Blizzard.Html5: input :: [Attribute] -> Html
- Text.Blizzard.Html5: ins :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: kbd :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: keygen :: [Attribute] -> Html
- Text.Blizzard.Html5: label :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: legend :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: li :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: link :: [Attribute] -> Html
- Text.Blizzard.Html5: main :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: map :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: mark :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: menu :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: menuitem :: [Attribute] -> Html
- Text.Blizzard.Html5: meta :: [Attribute] -> Html
- Text.Blizzard.Html5: meter :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: nav :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: noscript :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: object :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: ol :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: optgroup :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: option :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: output :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: p :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: param :: [Attribute] -> Html
- Text.Blizzard.Html5: pre :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: progress :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: q :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: rp :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: rt :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: ruby :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: samp :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: script :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: section :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: select :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: small :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: source :: [Attribute] -> Html
- Text.Blizzard.Html5: span :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: strong :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: style :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: sub :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: summary :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: sup :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: table :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: tbody :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: td :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: textarea :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: tfoot :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: th :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: thead :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: time :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: title :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: tr :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: track :: [Attribute] -> Html
- Text.Blizzard.Html5: u :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: ul :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: var :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: video :: [Attribute] -> [Html] -> Html
- Text.Blizzard.Html5: wbr :: [Attribute] -> Html
- Text.Blizzard.Html5.Attributes: css :: [Css] -> Attribute
+ Blizzard.Html: a :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: abbr :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: address :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: area :: [Attribute] -> Html
+ Blizzard.Html: article :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: aside :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: audio :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: b :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: base :: [Attribute] -> Html
+ Blizzard.Html: bdo :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: blockquote :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: body :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: br :: [Attribute] -> Html
+ Blizzard.Html: button :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: canvas :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: caption :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: cite :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: code :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: col :: [Attribute] -> Html
+ Blizzard.Html: colgroup :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: command :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: data Attribute
+ Blizzard.Html: datalist :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: dd :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: del :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: details :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: dfn :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: div :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: dl :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: docType :: Html
+ Blizzard.Html: docTypeHtml :: [Html] -> Html
+ Blizzard.Html: dt :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: em :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: embed :: [Attribute] -> Html
+ Blizzard.Html: fieldset :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: figcaption :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: figure :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: footer :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: form :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: h1 :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: h2 :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: h3 :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: h4 :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: h5 :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: h6 :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: head :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: header :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: hgroup :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: hr :: [Attribute] -> Html
+ Blizzard.Html: html :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: i :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: iframe :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: img :: [Attribute] -> Html
+ Blizzard.Html: input :: [Attribute] -> Html
+ Blizzard.Html: ins :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: kbd :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: keygen :: [Attribute] -> Html
+ Blizzard.Html: label :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: legend :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: li :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: link :: [Attribute] -> Html
+ Blizzard.Html: main :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: map :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: mark :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: menu :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: menuitem :: [Attribute] -> Html
+ Blizzard.Html: meta :: [Attribute] -> Html
+ Blizzard.Html: meter :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: nav :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: noscript :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: object :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: ol :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: optgroup :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: option :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: output :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: p :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: param :: [Attribute] -> Html
+ Blizzard.Html: pre :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: progress :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: q :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: rp :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: rt :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: ruby :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: samp :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: script :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: section :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: select :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: small :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: source :: [Attribute] -> Html
+ Blizzard.Html: span :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: strong :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: style :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: sub :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: summary :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: sup :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: table :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: tbody :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: td :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: textarea :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: tfoot :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: th :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: thead :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: time :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: title :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: tr :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: track :: [Attribute] -> Html
+ Blizzard.Html: type Html = Markup
+ Blizzard.Html: u :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: ul :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: var :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: video :: [Attribute] -> [Html] -> Html
+ Blizzard.Html: wbr :: [Attribute] -> Html
+ Blizzard.Html.Attributes: css :: [Text] -> Attribute
Files
- CHANGELOG.md +5/−1
- blizzard-html.cabal +15/−15
- src/Blizzard/Html.hs +563/−0
- src/Blizzard/Html/Attributes.hs +16/−0
- src/Blizzard/Internal/Html.hs +25/−0
- src/Text/Blizzard/Css.hs +0/−23
- src/Text/Blizzard/Css3.hs +0/−48
- src/Text/Blizzard/Html.hs +0/−21
- src/Text/Blizzard/Html5.hs +0/−452
- src/Text/Blizzard/Html5/Attributes.hs +0/−8
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for blizzard-html -## 0.1.0.0 -- YYYY-mm-dd+## 0.2.0.0 -- 2022-07-22++* Removed clay.++## 0.1.0.0 -- 2021-09-05 * First version. Released on an unsuspecting world.
blizzard-html.cabal view
@@ -5,10 +5,12 @@ build-type: Simple category: Text copyright: 2021 Joshua Obritsch-description: An HTML and CSS renderer for the Haskell- programming language. It functions mostly- as a wrapper for blaze-html and clay. The- syntax was inspired by Elm and elm-css.+description: An HTML renderer for the Haskell programming+ language. It functions mostly as a wrapper+ for blaze-html. The syntax was inspired by Elm.+ A CSS solution is currently being experimented+ with. For now, I'd recommend using this with+ Tailwind CSS. extra-source-files: CHANGELOG.md homepage: https://github.com/joshua-obritsch/blizzard-html license: MIT@@ -16,18 +18,16 @@ maintainer: Joshua Obritsch <joshua@obritsch.com> name: blizzard-html stability: Experimental-synopsis: An HTML and CSS renderer for Haskell-version: 0.1.0.0+synopsis: An HTML renderer for Haskell+version: 0.2.0.0 + library- build-depends: base >= 4 && < 5- , blaze-html >= 0.9 && < 0.10- , clay >= 0.13 && < 0.14- , text >= 0.10 && < 1.3+ build-depends: base >= 4 && <= 5+ , blaze-html >= 0.9 && <= 1.0+ , text >= 1.0 && <= 3.0 default-language: Haskell2010- exposed-modules: Text.Blizzard.Css3- , Text.Blizzard.Html5- , Text.Blizzard.Html5.Attributes- other-modules: Text.Blizzard.Css- , Text.Blizzard.Html+ exposed-modules: Blizzard.Html+ , Blizzard.Html.Attributes+ other-modules: Blizzard.Internal.Html hs-source-dirs: src
+ src/Blizzard/Html.hs view
@@ -0,0 +1,563 @@+{-# LANGUAGE NoImplicitPrelude #-}++module Blizzard.Html+ ( Attribute+ , Html+ , docType+ , docTypeHtml+ , a+ , abbr+ , address+ , area+ , article+ , aside+ , audio+ , b+ , base+ , bdo+ , blockquote+ , body+ , br+ , button+ , canvas+ , caption+ , cite+ , code+ , col+ , colgroup+ , command+ , datalist+ , dd+ , del+ , details+ , dfn+ , div+ , dl+ , dt+ , em+ , embed+ , fieldset+ , figcaption+ , figure+ , footer+ , form+ , h1+ , h2+ , h3+ , h4+ , h5+ , h6+ , head+ , header+ , hgroup+ , hr+ , html+ , i+ , iframe+ , img+ , input+ , ins+ , kbd+ , keygen+ , label+ , legend+ , li+ , link+ , main+ , map+ , mark+ , menu+ , menuitem+ , meta+ , meter+ , nav+ , noscript+ , object+ , ol+ , optgroup+ , option+ , output+ , p+ , param+ , pre+ , progress+ , q+ , rp+ , rt+ , ruby+ , samp+ , script+ , section+ , select+ , small+ , source+ , span+ , strong+ , style+ , sub+ , summary+ , sup+ , table+ , tbody+ , td+ , textarea+ , tfoot+ , th+ , thead+ , time+ , title+ , tr+ , track+ , u+ , ul+ , var+ , video+ , wbr+ ) where+++import Text.Blaze.Html (Attribute, Html)++import qualified Text.Blaze.Html5 as H++import Blizzard.Internal.Html (documentTag, normalTag, voidTag)+++docType :: Html+docType = H.docType+++docTypeHtml :: [Html] -> Html+docTypeHtml = documentTag H.docTypeHtml+++a :: [Attribute] -> [Html] -> Html+a = normalTag H.a+++abbr :: [Attribute] -> [Html] -> Html+abbr = normalTag H.abbr+++address :: [Attribute] -> [Html] -> Html+address = normalTag H.address+++area :: [Attribute] -> Html+area = voidTag H.area+++article :: [Attribute] -> [Html] -> Html+article = normalTag H.article+++aside :: [Attribute] -> [Html] -> Html+aside = normalTag H.aside+++audio :: [Attribute] -> [Html] -> Html+audio = normalTag H.audio+++b :: [Attribute] -> [Html] -> Html+b = normalTag H.b+++base :: [Attribute] -> Html+base = voidTag H.base+++bdo :: [Attribute] -> [Html] -> Html+bdo = normalTag H.bdo+++blockquote :: [Attribute] -> [Html] -> Html+blockquote = normalTag H.blockquote+++body :: [Attribute] -> [Html] -> Html+body = normalTag H.body+++br :: [Attribute] -> Html+br = voidTag H.br+++button :: [Attribute] -> [Html] -> Html+button = normalTag H.button+++canvas :: [Attribute] -> [Html] -> Html+canvas = normalTag H.canvas+++caption :: [Attribute] -> [Html] -> Html+caption = normalTag H.caption+++cite :: [Attribute] -> [Html] -> Html+cite = normalTag H.cite+++code :: [Attribute] -> [Html] -> Html+code = normalTag H.code+++col :: [Attribute] -> Html+col = voidTag H.col+++colgroup :: [Attribute] -> [Html] -> Html+colgroup = normalTag H.colgroup+++command :: [Attribute] -> [Html] -> Html+command = normalTag H.command+++datalist :: [Attribute] -> [Html] -> Html+datalist = normalTag H.datalist+++dd :: [Attribute] -> [Html] -> Html+dd = normalTag H.dd+++del :: [Attribute] -> [Html] -> Html+del = normalTag H.del+++details :: [Attribute] -> [Html] -> Html+details = normalTag H.details+++dfn :: [Attribute] -> [Html] -> Html+dfn = normalTag H.dfn+++div :: [Attribute] -> [Html] -> Html+div = normalTag H.div+++dl :: [Attribute] -> [Html] -> Html+dl = normalTag H.dl+++dt :: [Attribute] -> [Html] -> Html+dt = normalTag H.dt+++em :: [Attribute] -> [Html] -> Html+em = normalTag H.em+++embed :: [Attribute] -> Html+embed = voidTag H.embed+++fieldset :: [Attribute] -> [Html] -> Html+fieldset = normalTag H.fieldset+++figcaption :: [Attribute] -> [Html] -> Html+figcaption = normalTag H.figcaption+++figure :: [Attribute] -> [Html] -> Html+figure = normalTag H.figure+++footer :: [Attribute] -> [Html] -> Html+footer = normalTag H.footer+++form :: [Attribute] -> [Html] -> Html+form = normalTag H.form+++h1 :: [Attribute] -> [Html] -> Html+h1 = normalTag H.h1+++h2 :: [Attribute] -> [Html] -> Html+h2 = normalTag H.h2+++h3 :: [Attribute] -> [Html] -> Html+h3 = normalTag H.h3+++h4 :: [Attribute] -> [Html] -> Html+h4 = normalTag H.h4+++h5 :: [Attribute] -> [Html] -> Html+h5 = normalTag H.h5+++h6 :: [Attribute] -> [Html] -> Html+h6 = normalTag H.h6+++head :: [Attribute] -> [Html] -> Html+head = normalTag H.head+++header :: [Attribute] -> [Html] -> Html+header = normalTag H.header+++hgroup :: [Attribute] -> [Html] -> Html+hgroup = normalTag H.hgroup+++hr :: [Attribute] -> Html+hr = voidTag H.hr+++html :: [Attribute] -> [Html] -> Html+html = normalTag H.html+++i :: [Attribute] -> [Html] -> Html+i = normalTag H.i+++iframe :: [Attribute] -> [Html] -> Html+iframe = normalTag H.iframe+++img :: [Attribute] -> Html+img = voidTag H.img+++input :: [Attribute] -> Html+input = voidTag H.input+++ins :: [Attribute] -> [Html] -> Html+ins = normalTag H.ins+++kbd :: [Attribute] -> [Html] -> Html+kbd = normalTag H.kbd+++keygen :: [Attribute] -> Html+keygen = voidTag H.keygen+++label :: [Attribute] -> [Html] -> Html+label = normalTag H.label+++legend :: [Attribute] -> [Html] -> Html+legend = normalTag H.legend+++li :: [Attribute] -> [Html] -> Html+li = normalTag H.li+++link :: [Attribute] -> Html+link = voidTag H.link+++main :: [Attribute] -> [Html] -> Html+main = normalTag H.main+++map :: [Attribute] -> [Html] -> Html+map = normalTag H.map+++mark :: [Attribute] -> [Html] -> Html+mark = normalTag H.mark+++menu :: [Attribute] -> [Html] -> Html+menu = normalTag H.menu+++menuitem :: [Attribute] -> Html+menuitem = voidTag H.menuitem+++meta :: [Attribute] -> Html+meta = voidTag H.meta+++meter :: [Attribute] -> [Html] -> Html+meter = normalTag H.meter+++nav :: [Attribute] -> [Html] -> Html+nav = normalTag H.nav+++noscript :: [Attribute] -> [Html] -> Html+noscript = normalTag H.noscript+++object :: [Attribute] -> [Html] -> Html+object = normalTag H.object+++ol :: [Attribute] -> [Html] -> Html+ol = normalTag H.ol+++optgroup :: [Attribute] -> [Html] -> Html+optgroup = normalTag H.optgroup+++option :: [Attribute] -> [Html] -> Html+option = normalTag H.option+++output :: [Attribute] -> [Html] -> Html+output = normalTag H.output+++p :: [Attribute] -> [Html] -> Html+p = normalTag H.p+++param :: [Attribute] -> Html+param = voidTag H.param+++pre :: [Attribute] -> [Html] -> Html+pre = normalTag H.pre+++progress :: [Attribute] -> [Html] -> Html+progress = normalTag H.progress+++q :: [Attribute] -> [Html] -> Html+q = normalTag H.q+++rp :: [Attribute] -> [Html] -> Html+rp = normalTag H.rp+++rt :: [Attribute] -> [Html] -> Html+rt = normalTag H.rt+++ruby :: [Attribute] -> [Html] -> Html+ruby = normalTag H.ruby+++samp :: [Attribute] -> [Html] -> Html+samp = normalTag H.samp+++script :: [Attribute] -> [Html] -> Html+script = normalTag H.script+++section :: [Attribute] -> [Html] -> Html+section = normalTag H.section+++select :: [Attribute] -> [Html] -> Html+select = normalTag H.select+++small :: [Attribute] -> [Html] -> Html+small = normalTag H.small+++source :: [Attribute] -> Html+source = voidTag H.source+++span :: [Attribute] -> [Html] -> Html+span = normalTag H.span+++strong :: [Attribute] -> [Html] -> Html+strong = normalTag H.strong+++style :: [Attribute] -> [Html] -> Html+style = normalTag H.style+++sub :: [Attribute] -> [Html] -> Html+sub = normalTag H.sub+++summary :: [Attribute] -> [Html] -> Html+summary = normalTag H.summary+++sup :: [Attribute] -> [Html] -> Html+sup = normalTag H.sup+++table :: [Attribute] -> [Html] -> Html+table = normalTag H.table+++tbody :: [Attribute] -> [Html] -> Html+tbody = normalTag H.tbody+++td :: [Attribute] -> [Html] -> Html+td = normalTag H.td+++textarea :: [Attribute] -> [Html] -> Html+textarea = normalTag H.textarea+++tfoot :: [Attribute] -> [Html] -> Html+tfoot = normalTag H.tfoot+++th :: [Attribute] -> [Html] -> Html+th = normalTag H.th+++thead :: [Attribute] -> [Html] -> Html+thead = normalTag H.thead+++time :: [Attribute] -> [Html] -> Html+time = normalTag H.time+++title :: [Attribute] -> [Html] -> Html+title = normalTag H.title+++tr :: [Attribute] -> [Html] -> Html+tr = normalTag H.tr+++track :: [Attribute] -> Html+track = voidTag H.track+++u :: [Attribute] -> [Html] -> Html+u = normalTag H.u+++ul :: [Attribute] -> [Html] -> Html+ul = normalTag H.ul+++var :: [Attribute] -> [Html] -> Html+var = normalTag H.var+++video :: [Attribute] -> [Html] -> Html+video = normalTag H.video+++wbr :: [Attribute] -> Html+wbr = voidTag H.wbr
+ src/Blizzard/Html/Attributes.hs view
@@ -0,0 +1,16 @@+{-# LANGUAGE NoImplicitPrelude #-}++module Blizzard.Html.Attributes+ ( module Text.Blaze.Html5.Attributes+ , css+ ) where+++import Data.Text (Text, unwords)+import Prelude ((.))+import Text.Blaze.Html5 (Attribute, textValue)+import Text.Blaze.Html5.Attributes+++css :: [Text] -> Attribute+css = class_ . textValue . unwords
+ src/Blizzard/Internal/Html.hs view
@@ -0,0 +1,25 @@+{-# LANGUAGE OverloadedStrings #-}++module Blizzard.Internal.Html+ ( documentTag+ , normalTag+ , voidTag+ ) where+++import Data.Text (Text)+import Text.Blaze.Html+++documentTag :: (Html -> Html) -> [Html] -> Html+documentTag element [] = element $ toHtml ("" :: Text)+documentTag element children = element $ foldl1 (>>) children+++normalTag :: (Html -> Html) -> [Attribute] -> [Html] -> Html+normalTag element attributes [] = foldl (!) element attributes $ toHtml ("" :: Text)+normalTag element attributes children = foldl (!) element attributes $ foldl1 (>>) children+++voidTag :: Html -> [Attribute] -> Html+voidTag = foldl (!)
− src/Text/Blizzard/Css.hs
@@ -1,23 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}--module Text.Blizzard.Css- ( css- ) where---import Clay (Css, compact, renderWith)-import Data.String (fromString)-import Data.Text (unpack)-import Data.Text.Lazy (toStrict)-import Text.Blaze.Html5 (Attribute)-import Text.Blaze.Html5.Attributes (style)---css :: [Css] -> Attribute-css [] = style ""-css styles = style . fromString . firstLast . unpack . toStrict . renderWith compact [] . foldl1 (>>) $ styles--firstLast :: [a] -> [a]-firstLast [] = []-firstLast [x] = []-firstLast xs = tail (init xs)
− src/Text/Blizzard/Css3.hs
@@ -1,48 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}--module Text.Blizzard.Css3- ( module Clay.Background- , module Clay.Border- , module Clay.Box- , module Clay.Color- , module Clay.Common- , module Clay.Display- , module Clay.Dynamic- , module Clay.Flexbox- , module Clay.Font- , module Clay.FontFace- , module Clay.Geometry- , module Clay.Gradient- , module Clay.List- , module Clay.Size- , module Clay.Text- , module Clay.Time- , module Clay.Transform- , module Clay.Transition- , module Clay.Animation- , module Clay.Mask- , module Clay.Filter- ) where---import Clay.Background-import Clay.Border-import Clay.Box-import Clay.Color-import Clay.Common-import Clay.Display hiding (table)-import Clay.Dynamic-import Clay.Flexbox hiding (flex, nowrap, wrap)-import Clay.Font hiding (menu, caption, small, icon)-import Clay.FontFace-import Clay.Geometry-import Clay.Gradient-import Clay.List-import Clay.Size-import Clay.Text hiding (pre)-import Clay.Time-import Clay.Transform-import Clay.Transition-import Clay.Animation-import Clay.Mask hiding (clear)-import Clay.Filter hiding (url, opacity)
− src/Text/Blizzard/Html.hs
@@ -1,21 +0,0 @@-module Text.Blizzard.Html- ( module Text.Blaze.Html- , documentTag- , normalTag- , voidTag- ) where---import Text.Blaze.Html---documentTag :: (Html -> Html) -> [Html] -> Html-documentTag element [] = element $ toHtml ("" :: String)-documentTag element children = element $ foldl1 (>>) children--normalTag :: (Html -> Html) -> [Attribute] -> [Html] -> Html-normalTag element attributes [] = foldl (!) element attributes $ toHtml ("" :: String)-normalTag element attributes children = foldl (!) element attributes $ foldl1 (>>) children--voidTag :: Html -> [Attribute] -> Html-voidTag = foldl (!)
− src/Text/Blizzard/Html5.hs
@@ -1,452 +0,0 @@-{-# LANGUAGE NoImplicitPrelude #-}--module Text.Blizzard.Html5- ( module Text.Blaze.Html- , docType- , docTypeHtml- , a- , abbr- , address- , area- , article- , aside- , audio- , b- , base- , bdo- , blockquote- , body- , br- , button- , canvas- , caption- , cite- , code- , col- , colgroup- , command- , datalist- , dd- , del- , details- , dfn- , div- , dl- , dt- , em- , embed- , fieldset- , figcaption- , figure- , footer- , form- , h1- , h2- , h3- , h4- , h5- , h6- , head- , header- , hgroup- , hr- , html- , i- , iframe- , img- , input- , ins- , kbd- , keygen- , label- , legend- , li- , link- , main- , map- , mark- , menu- , menuitem- , meta- , meter- , nav- , noscript- , object- , ol- , optgroup- , option- , output- , p- , param- , pre- , progress- , q- , rp- , rt- , ruby- , samp- , script- , section- , select- , small- , source- , span- , strong- , style- , sub- , summary- , sup- , table- , tbody- , td- , textarea- , tfoot- , th- , thead- , time- , title- , tr- , track- , u- , ul- , var- , video- , wbr- ) where---import Text.Blaze.Html-import Text.Blizzard.Html--import qualified Text.Blaze.Html5 as H---docType :: Html-docType = H.docType--docTypeHtml :: [Html] -> Html-docTypeHtml = documentTag H.docTypeHtml--a :: [Attribute] -> [Html] -> Html-a = normalTag H.a--abbr :: [Attribute] -> [Html] -> Html-abbr = normalTag H.abbr--address :: [Attribute] -> [Html] -> Html-address = normalTag H.address--area :: [Attribute] -> Html-area = voidTag H.area--article :: [Attribute] -> [Html] -> Html-article = normalTag H.article--aside :: [Attribute] -> [Html] -> Html-aside = normalTag H.aside--audio :: [Attribute] -> [Html] -> Html-audio = normalTag H.audio--b :: [Attribute] -> [Html] -> Html-b = normalTag H.b--base :: [Attribute] -> Html-base = voidTag H.base--bdo :: [Attribute] -> [Html] -> Html-bdo = normalTag H.bdo--blockquote :: [Attribute] -> [Html] -> Html-blockquote = normalTag H.blockquote--body :: [Attribute] -> [Html] -> Html-body = normalTag H.body--br :: [Attribute] -> Html-br = voidTag H.br--button :: [Attribute] -> [Html] -> Html-button = normalTag H.button--canvas :: [Attribute] -> [Html] -> Html-canvas = normalTag H.canvas--caption :: [Attribute] -> [Html] -> Html-caption = normalTag H.caption--cite :: [Attribute] -> [Html] -> Html-cite = normalTag H.cite--code :: [Attribute] -> [Html] -> Html-code = normalTag H.code--col :: [Attribute] -> Html-col = voidTag H.col--colgroup :: [Attribute] -> [Html] -> Html-colgroup = normalTag H.colgroup--command :: [Attribute] -> [Html] -> Html-command = normalTag H.command--datalist :: [Attribute] -> [Html] -> Html-datalist = normalTag H.datalist--dd :: [Attribute] -> [Html] -> Html-dd = normalTag H.dd--del :: [Attribute] -> [Html] -> Html-del = normalTag H.del--details :: [Attribute] -> [Html] -> Html-details = normalTag H.details--dfn :: [Attribute] -> [Html] -> Html-dfn = normalTag H.dfn--div :: [Attribute] -> [Html] -> Html-div = normalTag H.div--dl :: [Attribute] -> [Html] -> Html-dl = normalTag H.dl--dt :: [Attribute] -> [Html] -> Html-dt = normalTag H.dt--em :: [Attribute] -> [Html] -> Html-em = normalTag H.em--embed :: [Attribute] -> Html-embed = voidTag H.embed--fieldset :: [Attribute] -> [Html] -> Html-fieldset = normalTag H.fieldset--figcaption :: [Attribute] -> [Html] -> Html-figcaption = normalTag H.figcaption--figure :: [Attribute] -> [Html] -> Html-figure = normalTag H.figure--footer :: [Attribute] -> [Html] -> Html-footer = normalTag H.footer--form :: [Attribute] -> [Html] -> Html-form = normalTag H.form--h1 :: [Attribute] -> [Html] -> Html-h1 = normalTag H.h1--h2 :: [Attribute] -> [Html] -> Html-h2 = normalTag H.h2--h3 :: [Attribute] -> [Html] -> Html-h3 = normalTag H.h3--h4 :: [Attribute] -> [Html] -> Html-h4 = normalTag H.h4--h5 :: [Attribute] -> [Html] -> Html-h5 = normalTag H.h5--h6 :: [Attribute] -> [Html] -> Html-h6 = normalTag H.h6--head :: [Attribute] -> [Html] -> Html-head = normalTag H.head--header :: [Attribute] -> [Html] -> Html-header = normalTag H.header--hgroup :: [Attribute] -> [Html] -> Html-hgroup = normalTag H.hgroup--hr :: [Attribute] -> Html-hr = voidTag H.hr--html :: [Attribute] -> [Html] -> Html-html = normalTag H.html--i :: [Attribute] -> [Html] -> Html-i = normalTag H.i--iframe :: [Attribute] -> [Html] -> Html-iframe = normalTag H.iframe--img :: [Attribute] -> Html-img = voidTag H.img--input :: [Attribute] -> Html-input = voidTag H.input--ins :: [Attribute] -> [Html] -> Html-ins = normalTag H.ins--kbd :: [Attribute] -> [Html] -> Html-kbd = normalTag H.kbd--keygen :: [Attribute] -> Html-keygen = voidTag H.keygen--label :: [Attribute] -> [Html] -> Html-label = normalTag H.label--legend :: [Attribute] -> [Html] -> Html-legend = normalTag H.legend--li :: [Attribute] -> [Html] -> Html-li = normalTag H.li--link :: [Attribute] -> Html-link = voidTag H.link--main :: [Attribute] -> [Html] -> Html-main = normalTag H.main--map :: [Attribute] -> [Html] -> Html-map = normalTag H.map--mark :: [Attribute] -> [Html] -> Html-mark = normalTag H.mark--menu :: [Attribute] -> [Html] -> Html-menu = normalTag H.menu--menuitem :: [Attribute] -> Html-menuitem = voidTag H.menuitem--meta :: [Attribute] -> Html-meta = voidTag H.meta--meter :: [Attribute] -> [Html] -> Html-meter = normalTag H.meter--nav :: [Attribute] -> [Html] -> Html-nav = normalTag H.nav--noscript :: [Attribute] -> [Html] -> Html-noscript = normalTag H.noscript--object :: [Attribute] -> [Html] -> Html-object = normalTag H.object--ol :: [Attribute] -> [Html] -> Html-ol = normalTag H.ol--optgroup :: [Attribute] -> [Html] -> Html-optgroup = normalTag H.optgroup--option :: [Attribute] -> [Html] -> Html-option = normalTag H.option--output :: [Attribute] -> [Html] -> Html-output = normalTag H.output--p :: [Attribute] -> [Html] -> Html-p = normalTag H.p--param :: [Attribute] -> Html-param = voidTag H.param--pre :: [Attribute] -> [Html] -> Html-pre = normalTag H.pre--progress :: [Attribute] -> [Html] -> Html-progress = normalTag H.progress--q :: [Attribute] -> [Html] -> Html-q = normalTag H.q--rp :: [Attribute] -> [Html] -> Html-rp = normalTag H.rp--rt :: [Attribute] -> [Html] -> Html-rt = normalTag H.rt--ruby :: [Attribute] -> [Html] -> Html-ruby = normalTag H.ruby--samp :: [Attribute] -> [Html] -> Html-samp = normalTag H.samp--script :: [Attribute] -> [Html] -> Html-script = normalTag H.script--section :: [Attribute] -> [Html] -> Html-section = normalTag H.section--select :: [Attribute] -> [Html] -> Html-select = normalTag H.select--small :: [Attribute] -> [Html] -> Html-small = normalTag H.small--source :: [Attribute] -> Html-source = voidTag H.source--span :: [Attribute] -> [Html] -> Html-span = normalTag H.span--strong :: [Attribute] -> [Html] -> Html-strong = normalTag H.strong--style :: [Attribute] -> [Html] -> Html-style = normalTag H.style--sub :: [Attribute] -> [Html] -> Html-sub = normalTag H.sub--summary :: [Attribute] -> [Html] -> Html-summary = normalTag H.summary--sup :: [Attribute] -> [Html] -> Html-sup = normalTag H.sup--table :: [Attribute] -> [Html] -> Html-table = normalTag H.table--tbody :: [Attribute] -> [Html] -> Html-tbody = normalTag H.tbody--td :: [Attribute] -> [Html] -> Html-td = normalTag H.td--textarea :: [Attribute] -> [Html] -> Html-textarea = normalTag H.textarea--tfoot :: [Attribute] -> [Html] -> Html-tfoot = normalTag H.tfoot--th :: [Attribute] -> [Html] -> Html-th = normalTag H.th--thead :: [Attribute] -> [Html] -> Html-thead = normalTag H.thead--time :: [Attribute] -> [Html] -> Html-time = normalTag H.time--title :: [Attribute] -> [Html] -> Html-title = normalTag H.title--tr :: [Attribute] -> [Html] -> Html-tr = normalTag H.tr--track :: [Attribute] -> Html-track = voidTag H.track--u :: [Attribute] -> [Html] -> Html-u = normalTag H.u--ul :: [Attribute] -> [Html] -> Html-ul = normalTag H.ul--var :: [Attribute] -> [Html] -> Html-var = normalTag H.var--video :: [Attribute] -> [Html] -> Html-video = normalTag H.video--wbr :: [Attribute] -> Html-wbr = voidTag H.wbr
− src/Text/Blizzard/Html5/Attributes.hs
@@ -1,8 +0,0 @@-module Text.Blizzard.Html5.Attributes- ( module Text.Blaze.Html5.Attributes- , module Text.Blizzard.Css- ) where---import Text.Blaze.Html5.Attributes-import Text.Blizzard.Css