clay 0.13.1 → 0.13.2
raw patch · 5 files changed
+147/−22 lines, 5 filesdep −semigroupsdep ~hspecdep ~hspec-discovernew-uploaderPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: semigroups
Dependency ranges changed: hspec, hspec-discover
API changes (from Hackage documentation)
- Clay.Property: instance Clay.Property.Val a => Clay.Property.Val (Data.List.NonEmpty.NonEmpty a)
- Clay.Property: instance Clay.Property.Val a => Clay.Property.Val (GHC.Base.Maybe a)
- Clay.Property: instance Data.Semigroup.Semigroup (Clay.Property.Key a)
- Clay.Property: instance Data.Semigroup.Semigroup Clay.Property.Literal
- Clay.Property: instance Data.Semigroup.Semigroup Clay.Property.Prefixed
- Clay.Property: instance Data.Semigroup.Semigroup Clay.Property.Value
- Clay.Selector: instance Data.Semigroup.Semigroup (Clay.Selector.Fix Clay.Selector.SelectorF)
- Clay.Selector: instance Data.Semigroup.Semigroup Clay.Selector.Refinement
- Clay.Stylesheet: instance Data.Semigroup.Semigroup Clay.Stylesheet.CommentText
- Clay.Stylesheet: instance Data.Semigroup.Semigroup Clay.Stylesheet.Css
+ Clay: AlignContentValue :: Value -> AlignContentValue
+ Clay: AlignItemValue :: Value -> AlignItemsValue
+ Clay: AlignSelfValue :: Value -> AlignSelfValue
+ Clay: FlexDirection :: Value -> FlexDirection
+ Clay: FlexWrap :: Value -> FlexWrap
+ Clay: JustifyContentValue :: Value -> JustifyContentValue
+ Clay: Optional :: Maybe FontWeight -> Maybe FontVariant -> Maybe FontStyle -> Optional
+ Clay: Required :: Size a -> Maybe (Size a) -> [Text] -> [GenericFontFamily] -> Required a
+ Clay: a :: Selector
+ Clay: abbr :: IsString a => a
+ Clay: absolute :: Position
+ Clay: accept :: Refinement
+ Clay: acceptCharset :: Refinement
+ Clay: accesskey :: Refinement
+ Clay: action :: Refinement
+ Clay: active :: Refinement
+ Clay: address :: Selector
+ Clay: after :: Refinement
+ Clay: alignContent :: AlignContentValue -> Css
+ Clay: alignItems :: AlignItemsValue -> Css
+ Clay: alignSelf :: AlignSelfValue -> Css
+ Clay: alignSide :: Side -> TextAlign
+ Clay: alignString :: Char -> TextAlign
+ Clay: allEvents :: PointerEvents
+ Clay: alt :: Refinement
+ Clay: area :: Selector
+ Clay: article :: Selector
+ Clay: aside :: Selector
+ Clay: async :: Refinement
+ Clay: attrContent :: Text -> Content
+ Clay: audio :: Selector
+ Clay: autocomplete :: Refinement
+ Clay: autofocus :: Refinement
+ Clay: autoplay :: Refinement
+ Clay: b :: Selector
+ Clay: backdrop :: Refinement
+ Clay: base :: Selector
+ Clay: bdi :: Selector
+ Clay: bdo :: Selector
+ Clay: before :: Refinement
+ Clay: blink :: TextDecoration
+ Clay: block :: Display
+ Clay: blockquote :: Selector
+ Clay: blur :: Size LengthUnit -> Filter
+ Clay: body :: Selector
+ Clay: bold :: FontWeight
+ Clay: bolder :: FontWeight
+ Clay: both :: Clear
+ Clay: br :: Selector
+ Clay: breakAll :: WordBreak
+ Clay: breakWord :: OverflowWrap
+ Clay: brightness :: Double -> Filter
+ Clay: button :: Selector
+ Clay: canvas :: Selector
+ Clay: capitalize :: TextTransform
+ Clay: caption :: Selector
+ Clay: challenge :: Refinement
+ Clay: charset :: Refinement
+ Clay: checked :: Refinement
+ Clay: cite :: IsString a => a
+ Clay: class (Val a) => Cursor a
+ Clay: class FlexEnd a
+ Clay: class FlexStart a
+ Clay: class Val a => Font a
+ Clay: class Val a => Mask a
+ Clay: class SpaceAround a
+ Clay: class SpaceBetween a
+ Clay: class Stretch a
+ Clay: class (Val a) => VerticalAlign a
+ Clay: clear :: Clear -> Css
+ Clay: clearLeft :: Clear
+ Clay: clearRight :: Clear
+ Clay: clip :: Clip -> Css
+ Clay: closeQuote :: Content
+ Clay: code :: Selector
+ Clay: col :: Selector
+ Clay: colgroup :: Selector
+ Clay: collapse :: Visibility
+ Clay: color :: Color -> Css
+ Clay: cols :: Refinement
+ Clay: colspan :: Refinement
+ Clay: column :: FlexDirection
+ Clay: columnReverse :: FlexDirection
+ Clay: command :: IsString a => a
+ Clay: content :: Content -> Css
+ Clay: contenteditable :: Refinement
+ Clay: contents :: [Content] -> Css
+ Clay: contextmenu :: Refinement
+ Clay: contrast :: Size Percentage -> Filter
+ Clay: controls :: Refinement
+ Clay: coords :: Refinement
+ Clay: copy :: MaskComposite
+ Clay: crosshair :: CursorValue Value
+ Clay: crossorigin :: Refinement
+ Clay: cursive :: GenericFontFamily
+ Clay: cursor :: Cursor a => a -> Css
+ Clay: cursorDefault :: CursorValue Value
+ Clay: cursorProgress :: CursorValue Value
+ Clay: cursorText :: CursorValue Value
+ Clay: cursorUrl :: Text -> CursorValue Value
+ Clay: data Clear
+ Clay: data Clip
+ Clay: data Content
+ Clay: data Display
+ Clay: data Filter
+ Clay: data FloatStyle
+ Clay: data FontSize
+ Clay: data FontStyle
+ Clay: data FontVariant
+ Clay: data FontWeight
+ Clay: data MaskComposite
+ Clay: data NamedFont
+ Clay: data Optional
+ Clay: data Overflow
+ Clay: data OverflowWrap
+ Clay: data PointerEvents
+ Clay: data Position
+ Clay: data Required a
+ Clay: data TextAlign
+ Clay: data TextDecoration
+ Clay: data TextDirection
+ Clay: data TextIndent
+ Clay: data TextOverflow
+ Clay: data TextRendering
+ Clay: data TextTransform
+ Clay: data Visibility
+ Clay: data WhiteSpace
+ Clay: data WordBreak
+ Clay: data_ :: IsString a => a
+ Clay: datalist :: Selector
+ Clay: datetime :: Refinement
+ Clay: dd :: Selector
+ Clay: default_ :: Refinement
+ Clay: defer :: Refinement
+ Clay: del :: Selector
+ Clay: destinationAtop :: MaskComposite
+ Clay: destinationIn :: MaskComposite
+ Clay: destinationOut :: MaskComposite
+ Clay: destinationOver :: MaskComposite
+ Clay: details :: Selector
+ Clay: dfn :: Selector
+ Clay: dialog :: Selector
+ Clay: dir :: Refinement
+ Clay: direction :: TextDirection -> Css
+ Clay: dirname :: Refinement
+ Clay: disabled :: Refinement
+ Clay: display :: Display -> Css
+ Clay: displayInherit :: Display
+ Clay: displayNone :: Display
+ Clay: displayTable :: Display
+ Clay: div :: Selector
+ Clay: dl :: Selector
+ Clay: download :: Refinement
+ Clay: draggable :: Refinement
+ Clay: dropShadow :: Size LengthUnit -> Size LengthUnit -> Size LengthUnit -> Color -> Filter
+ Clay: dropzone :: Refinement
+ Clay: dt :: Selector
+ Clay: eResize :: CursorValue Value
+ Clay: eachLine :: TextIndent -> TextIndent
+ Clay: embed :: Selector
+ Clay: empty :: Refinement
+ Clay: enabled :: Refinement
+ Clay: enctype :: Refinement
+ Clay: end :: TextAlign
+ Clay: fantasy :: GenericFontFamily
+ Clay: fieldset :: Selector
+ Clay: figcaption :: Selector
+ Clay: figure :: Selector
+ Clay: fillEvents :: PointerEvents
+ Clay: filter :: Filter -> Css
+ Clay: filters :: [Filter] -> Css
+ Clay: firstChild :: Refinement
+ Clay: firstLetter :: Refinement
+ Clay: firstLine :: Refinement
+ Clay: firstOfType :: Refinement
+ Clay: fixed :: Position
+ Clay: flex :: Display
+ Clay: flexBasis :: Size a -> Css
+ Clay: flexDirection :: FlexDirection -> Css
+ Clay: flexEnd :: FlexEnd a => a
+ Clay: flexFlow :: FlexDirection -> FlexWrap -> Css
+ Clay: flexGrow :: Int -> Css
+ Clay: flexShrink :: Int -> Css
+ Clay: flexStart :: FlexStart a => a
+ Clay: flexWrap :: FlexWrap -> Css
+ Clay: float :: FloatStyle -> Css
+ Clay: floatLeft :: FloatStyle
+ Clay: floatRight :: FloatStyle
+ Clay: focus :: Refinement
+ Clay: font :: Font a => a -> Css
+ Clay: fontColor :: Color -> Css
+ Clay: fontFamily :: [Text] -> [GenericFontFamily] -> Css
+ Clay: fontSize :: Size a -> Css
+ Clay: fontSizeCustom :: FontSize -> Css
+ Clay: fontStyle :: FontStyle -> Css
+ Clay: fontVariant :: FontVariant -> Css
+ Clay: fontWeight :: FontWeight -> Css
+ Clay: footer :: Selector
+ Clay: for :: Refinement
+ Clay: form :: IsString a => a
+ Clay: formaction :: Refinement
+ Clay: formenctype :: Refinement
+ Clay: formmethod :: Refinement
+ Clay: formnovalidate :: Refinement
+ Clay: formtarget :: Refinement
+ Clay: fullWidth :: TextTransform
+ Clay: geometricPrecision :: TextRendering
+ Clay: grayscale :: Size Percentage -> Filter
+ Clay: grid :: Display
+ Clay: h1 :: Selector
+ Clay: h2 :: Selector
+ Clay: h3 :: Selector
+ Clay: h4 :: Selector
+ Clay: h5 :: Selector
+ Clay: h6 :: Selector
+ Clay: hanging :: TextIndent -> TextIndent
+ Clay: head :: Selector
+ Clay: header :: Selector
+ Clay: headers :: Refinement
+ Clay: help :: CursorValue Value
+ Clay: hgroup :: Selector
+ Clay: high :: Refinement
+ Clay: hover :: Refinement
+ Clay: hr :: Selector
+ Clay: href :: Refinement
+ Clay: hreflang :: Refinement
+ Clay: html :: Selector
+ Clay: httpEquiv :: Refinement
+ Clay: hueRotate :: Angle a -> Filter
+ Clay: i :: Selector
+ Clay: icon :: Refinement
+ Clay: id :: Refinement
+ Clay: iframe :: Selector
+ Clay: img :: Selector
+ Clay: inRange :: Refinement
+ Clay: indent :: Size a -> TextIndent
+ Clay: indeterminate :: Refinement
+ Clay: inert :: Refinement
+ Clay: inline :: Display
+ Clay: inlineBlock :: Display
+ Clay: inlineFlex :: Display
+ Clay: inlineGrid :: Display
+ Clay: inlineTable :: Display
+ Clay: input :: Selector
+ Clay: inputmode :: Refinement
+ Clay: ins :: Selector
+ Clay: invalid :: Refinement
+ Clay: invert :: Size Percentage -> Filter
+ Clay: ismap :: Refinement
+ Clay: italic :: FontStyle
+ Clay: itemid :: Refinement
+ Clay: itemprop :: Refinement
+ Clay: itemref :: Refinement
+ Clay: itemscope :: Refinement
+ Clay: itemtype :: Refinement
+ Clay: justify :: TextAlign
+ Clay: justifyContent :: JustifyContentValue -> Css
+ Clay: kbd :: Selector
+ Clay: keepAll :: WordBreak
+ Clay: keygen :: Selector
+ Clay: keytype :: Refinement
+ Clay: kind :: Refinement
+ Clay: label :: IsString a => a
+ Clay: lang :: Refinement
+ Clay: large :: FontSize
+ Clay: larger :: FontSize
+ Clay: lastChild :: Refinement
+ Clay: lastOfType :: Refinement
+ Clay: legend :: Selector
+ Clay: letterSpacing :: Size a -> Css
+ Clay: li :: Selector
+ Clay: lighter :: FontWeight
+ Clay: lineHeight :: Size a -> Css
+ Clay: lineThrough :: TextDecoration
+ Clay: link :: Refinement
+ Clay: list :: Refinement
+ Clay: listItem :: Display
+ Clay: loop :: Refinement
+ Clay: low :: Refinement
+ Clay: lowercase :: TextTransform
+ Clay: ltr :: TextDirection
+ Clay: main_ :: Selector
+ Clay: manifest :: Refinement
+ Clay: map :: Selector
+ Clay: mark :: Selector
+ Clay: mask :: Mask a => a -> Css
+ Clay: maskAttachment :: BackgroundAttachment -> Css
+ Clay: maskAttachments :: [BackgroundAttachment] -> Css
+ Clay: maskClip :: BackgroundClip -> Css
+ Clay: maskClips :: [BackgroundClip] -> Css
+ Clay: maskComposite :: MaskComposite -> Css
+ Clay: maskComposites :: [MaskComposite] -> Css
+ Clay: maskImage :: BackgroundImage -> Css
+ Clay: maskImages :: [BackgroundImage] -> Css
+ Clay: maskOrigin :: BackgroundOrigin -> Css
+ Clay: maskOrigins :: [BackgroundOrigin] -> Css
+ Clay: maskPosition :: BackgroundPosition -> Css
+ Clay: maskPositions :: [BackgroundPosition] -> Css
+ Clay: maskRepeat :: BackgroundRepeat -> Css
+ Clay: maskRepeats :: [BackgroundRepeat] -> Css
+ Clay: maskSize :: BackgroundSize -> Css
+ Clay: maskSizes :: [BackgroundSize] -> Css
+ Clay: matchParent :: TextAlign
+ Clay: math :: Selector
+ Clay: max :: Refinement
+ Clay: maxlength :: Refinement
+ Clay: media :: Refinement
+ Clay: mediagroup :: Refinement
+ Clay: medium :: FontSize
+ Clay: menu :: Selector
+ Clay: messageBox :: NamedFont
+ Clay: meta :: Selector
+ Clay: meter :: Selector
+ Clay: method :: Refinement
+ Clay: middle :: VerticalAlignValue
+ Clay: min :: Refinement
+ Clay: monospace :: GenericFontFamily
+ Clay: move :: CursorValue Value
+ Clay: multiple :: Refinement
+ Clay: muted :: Refinement
+ Clay: nResize :: CursorValue Value
+ Clay: name :: Refinement
+ Clay: nav :: Selector
+ Clay: neResize :: CursorValue Value
+ Clay: newtype AlignContentValue
+ Clay: newtype AlignItemsValue
+ Clay: newtype AlignSelfValue
+ Clay: newtype FlexDirection
+ Clay: newtype FlexWrap
+ Clay: newtype JustifyContentValue
+ Clay: noCloseQuote :: Content
+ Clay: noOpenQuote :: Content
+ Clay: noscript :: Selector
+ Clay: not :: Selector -> Refinement
+ Clay: novalidate :: Refinement
+ Clay: nowrap :: WhiteSpace
+ Clay: nthChild :: Text -> Refinement
+ Clay: nthLastChild :: Text -> Refinement
+ Clay: nthLastOfType :: Text -> Refinement
+ Clay: nthOfType :: Text -> Refinement
+ Clay: nwResize :: CursorValue Value
+ Clay: object :: Selector
+ Clay: oblique :: FontStyle
+ Clay: ol :: Selector
+ Clay: onlyChild :: Refinement
+ Clay: onlyOfType :: Refinement
+ Clay: opacity :: Double -> Css
+ Clay: open :: Refinement
+ Clay: openQuote :: Content
+ Clay: optgroup :: Selector
+ Clay: optimizeLegibility :: TextRendering
+ Clay: optimizeSpeed :: TextRendering
+ Clay: optimum :: Refinement
+ Clay: option :: Selector
+ Clay: optional :: Refinement
+ Clay: order :: Int -> Css
+ Clay: outOfRange :: Refinement
+ Clay: output :: Selector
+ Clay: overflow :: Overflow -> Css
+ Clay: overflowClip :: TextOverflow
+ Clay: overflowEllipsis :: TextOverflow
+ Clay: overflowWrap :: OverflowWrap -> Css
+ Clay: overflowX :: Overflow -> Css
+ Clay: overflowY :: Overflow -> Css
+ Clay: overline :: TextDecoration
+ Clay: p :: Selector
+ Clay: painted :: PointerEvents
+ Clay: param :: Selector
+ Clay: pattern :: Refinement
+ Clay: ping :: Refinement
+ Clay: placeholder :: Refinement
+ Clay: pointer :: CursorValue Value
+ Clay: pointerEvents :: PointerEvents -> Css
+ Clay: position :: Position -> Css
+ Clay: poster :: Refinement
+ Clay: pre :: Selector
+ Clay: preLine :: WhiteSpace
+ Clay: preWrap :: WhiteSpace
+ Clay: preload :: Refinement
+ Clay: progress :: Selector
+ Clay: q :: Selector
+ Clay: radiogroup :: Refinement
+ Clay: readonly :: Refinement
+ Clay: rect :: Size a -> Size a -> Size a -> Size a -> Clip
+ Clay: rel :: Refinement
+ Clay: relative :: Position
+ Clay: required :: Refinement
+ Clay: reversed :: Refinement
+ Clay: row :: FlexDirection
+ Clay: rowReverse :: FlexDirection
+ Clay: rows :: Refinement
+ Clay: rowspan :: Refinement
+ Clay: rp :: Selector
+ Clay: rt :: Selector
+ Clay: rtl :: TextDirection
+ Clay: ruby :: Selector
+ Clay: runIn :: Display
+ Clay: s :: Selector
+ Clay: sResize :: CursorValue Value
+ Clay: samp :: Selector
+ Clay: sandbox :: Refinement
+ Clay: sansSerif :: GenericFontFamily
+ Clay: saturate :: Size Percentage -> Filter
+ Clay: scope :: Refinement
+ Clay: scoped :: Refinement
+ Clay: script :: Selector
+ Clay: scroll :: Overflow
+ Clay: seResize :: CursorValue Value
+ Clay: seamless :: Refinement
+ Clay: section :: Selector
+ Clay: select :: Selector
+ Clay: selected :: Refinement
+ Clay: selection :: Refinement
+ Clay: separate :: Visibility
+ Clay: sepia :: Size Percentage -> Filter
+ Clay: serif :: GenericFontFamily
+ Clay: shape :: Refinement
+ Clay: sizes :: Refinement
+ Clay: small :: Selector
+ Clay: smallCaps :: FontVariant
+ Clay: smallCaption :: NamedFont
+ Clay: smaller :: FontSize
+ Clay: source :: Selector
+ Clay: sourceAtop :: MaskComposite
+ Clay: sourceIn :: MaskComposite
+ Clay: sourceOut :: MaskComposite
+ Clay: sourceOver :: MaskComposite
+ Clay: spaceAround :: SpaceAround a => a
+ Clay: spaceBetween :: SpaceBetween a => a
+ Clay: span :: IsString a => a
+ Clay: spellcheck :: Refinement
+ Clay: src :: Refinement
+ Clay: srcdoc :: Refinement
+ Clay: srclang :: Refinement
+ Clay: srcset :: Refinement
+ Clay: start :: TextAlign
+ Clay: static :: Position
+ Clay: statusBar :: NamedFont
+ Clay: step :: Refinement
+ Clay: sticky :: Position
+ Clay: stretch :: Stretch a => a
+ Clay: stringContent :: Text -> Content
+ Clay: strokeEvents :: PointerEvents
+ Clay: strong :: Selector
+ Clay: style :: IsString a => a
+ Clay: sub :: Selector
+ Clay: summary :: Selector
+ Clay: sup :: Selector
+ Clay: svg :: Selector
+ Clay: swResize :: CursorValue Value
+ Clay: tabindex :: Refinement
+ Clay: table :: Selector
+ Clay: tableCaption :: Display
+ Clay: tableCell :: Display
+ Clay: tableColumn :: Display
+ Clay: tableColumnGroup :: Display
+ Clay: tableFooterGroup :: Display
+ Clay: tableHeaderGroup :: Display
+ Clay: tableRow :: Display
+ Clay: tableRowGroup :: Display
+ Clay: target :: Refinement
+ Clay: tbody :: Selector
+ Clay: td :: Selector
+ Clay: template :: Selector
+ Clay: textAlign :: TextAlign -> Css
+ Clay: textBottom :: VerticalAlignValue
+ Clay: textDecoration :: TextDecoration -> Css
+ Clay: textDecorationColor :: Color -> Css
+ Clay: textDecorationLine :: TextDecoration -> Css
+ Clay: textDecorationStyle :: Stroke -> Css
+ Clay: textIndent :: TextIndent -> Css
+ Clay: textOverflow :: TextOverflow -> Css
+ Clay: textRendering :: TextRendering -> Css
+ Clay: textShadow :: Size a -> Size a -> Size a -> Color -> Css
+ Clay: textTop :: VerticalAlignValue
+ Clay: textTransform :: TextTransform -> Css
+ Clay: textarea :: Selector
+ Clay: tfoot :: Selector
+ Clay: th :: Selector
+ Clay: thead :: Selector
+ Clay: time :: Selector
+ Clay: title :: IsString a => a
+ Clay: tr :: Selector
+ Clay: track :: Selector
+ Clay: type_ :: Refinement
+ Clay: typemustmatch :: Refinement
+ Clay: u :: Selector
+ Clay: ul :: Selector
+ Clay: underline :: TextDecoration
+ Clay: uppercase :: TextTransform
+ Clay: uriContent :: Text -> Content
+ Clay: urlContent :: Text -> Content
+ Clay: usemap :: Refinement
+ Clay: vAlignBaseline :: VerticalAlignValue
+ Clay: vAlignBottom :: VerticalAlignValue
+ Clay: vAlignSub :: VerticalAlignValue
+ Clay: vAlignSuper :: VerticalAlignValue
+ Clay: vAlignTop :: VerticalAlignValue
+ Clay: valid :: Refinement
+ Clay: var :: Selector
+ Clay: verticalAlign :: VerticalAlign a => a -> Css
+ Clay: video :: Selector
+ Clay: visibility :: Visibility -> Css
+ Clay: visibleFill :: PointerEvents
+ Clay: visiblePainted :: PointerEvents
+ Clay: visibleStroke :: PointerEvents
+ Clay: visited :: Refinement
+ Clay: wResize :: CursorValue Value
+ Clay: wait :: CursorValue Value
+ Clay: wbr :: Selector
+ Clay: weight :: Integer -> FontWeight
+ Clay: whiteSpace :: WhiteSpace -> Css
+ Clay: wordBreak :: WordBreak -> Css
+ Clay: wordSpacing :: Size a -> Css
+ Clay: wordWrap :: OverflowWrap -> Css
+ Clay: wrap :: Refinement
+ Clay: wrapReverse :: FlexWrap
+ Clay: xLarge :: FontSize
+ Clay: xSmall :: FontSize
+ Clay: xor :: MaskComposite
+ Clay: xxLarge :: FontSize
+ Clay: xxSmall :: FontSize
+ Clay: zIndex :: Integer -> Css
+ Clay.Comments: pattern PartitionComments :: [Modifier] -> Maybe CommentText -> [Modifier]
+ Clay.Property: instance Clay.Property.Val a => Clay.Property.Val (GHC.Base.NonEmpty a)
+ Clay.Property: instance Clay.Property.Val a => Clay.Property.Val (GHC.Maybe.Maybe a)
+ Clay.Property: instance GHC.Base.Semigroup (Clay.Property.Key a)
+ Clay.Property: instance GHC.Base.Semigroup Clay.Property.Literal
+ Clay.Property: instance GHC.Base.Semigroup Clay.Property.Prefixed
+ Clay.Property: instance GHC.Base.Semigroup Clay.Property.Value
+ Clay.Selector: instance GHC.Base.Semigroup (Clay.Selector.Fix Clay.Selector.SelectorF)
+ Clay.Selector: instance GHC.Base.Semigroup Clay.Selector.Refinement
+ Clay.Stylesheet: instance GHC.Base.Semigroup Clay.Stylesheet.CommentText
+ Clay.Stylesheet: instance GHC.Base.Semigroup Clay.Stylesheet.Css
- Clay.Font: Optional :: (Maybe FontWeight) -> (Maybe FontVariant) -> (Maybe FontStyle) -> Optional
+ Clay.Font: Optional :: Maybe FontWeight -> Maybe FontVariant -> Maybe FontStyle -> Optional
- Clay.Font: Required :: (Size a) -> (Maybe (Size a)) -> [Text] -> [GenericFontFamily] -> Required a
+ Clay.Font: Required :: Size a -> Maybe (Size a) -> [Text] -> [GenericFontFamily] -> Required a
- Clay.FontFace: FontFaceSrcUrl :: Text -> (Maybe FontFaceFormat) -> FontFaceSrc
+ Clay.FontFace: FontFaceSrcUrl :: Text -> Maybe FontFaceFormat -> FontFaceSrc
- Clay.Selector: SelectorF :: Refinement -> (Path a) -> SelectorF a
+ Clay.Selector: SelectorF :: Refinement -> Path a -> SelectorF a
- Clay.Stylesheet: Feature :: Text -> (Maybe Value) -> Feature
+ Clay.Stylesheet: Feature :: Text -> Maybe Value -> Feature
- Clay.Stylesheet: MediaQuery :: (Maybe NotOrOnly) -> MediaType -> [Feature] -> MediaQuery
+ Clay.Stylesheet: MediaQuery :: Maybe NotOrOnly -> MediaType -> [Feature] -> MediaQuery
- Clay.Stylesheet: Property :: [Modifier] -> (Key ()) -> Value -> Rule
+ Clay.Stylesheet: Property :: [Modifier] -> Key () -> Value -> Rule
- Clay.Stylesheet: S :: (Writer [Rule] a) -> StyleM a
+ Clay.Stylesheet: S :: Writer [Rule] a -> StyleM a
Files
- CHANGELOG +126/−0
- README.md +10/−0
- clay.cabal +11/−18
- src/Clay/Comments.hs +0/−3
- src/Clay/Selector.hs +0/−1
+ CHANGELOG view
@@ -0,0 +1,126 @@+CHANGELOG++ 0.13.2:+ - Bump hspec versions+ Thanks to Julien Dehos and Sean Parsons.++ 0.13.1:+ - 'Clay.Size': Add 'sticky: Position'.+ - Adhere to Semigroup-Monoid-Hierarchy+ - 'Clay.Transition': Add 'stepEnd: TimingFunction'+ Thanks to Sean Parsons, Elliot Cameron, Simon Jakobi and Olivier Sohn.++ 0.13.0:+ - Added commenting to append comment to a property.+ - Comments are displayed by default in pretty but not compact mode.+ - Rewrite boxShadow functionality with BoxShadow newtype for arguments.+ - Added 'important' to append !important to values.+ - Update eachLine and hanging to work as spec (for textIndent).+ - Rename (internal) intersperse function to intercalate.+ - Not pseudo takes selector.+ Thanks to dbaynard and sebastiaanvisser.++ 0.10 -> 0.10.1+ - Expose a render function for single selectors.+ - Added super for vertical-align.+ - Added support for border-collapse.+ - Allow initial for the content property.+ - Added support for CSS import.+ Thanks to Heather, Collin J. Doering, Fraser Murray and Jonathan Fischoff.++ 0.9 -> 0.10+ - Bumped up text requirement.+ - Added cursor property.+ - Added vertical-align property.+ - Removed Abs constraint from Geometry functions.+ - Added support for rem dimensions.+ - Added support for ListStyle.+ Thanks to Lorenzo Bolla, Fraser Murray, Heather and Sergey!++ 0.9 -> 0.9.0.1+ - Fixed bug in easing properties.++ 0.8 -> 0.9+ - Added list-style-type property.+ - Added some CSS3 selectors and pseudo-classes.+ - Added some missing HTML5 elements.+ - Added keyframes support.+ - Fixed bug in linear in transition.+ - Added Initial and Unset type classes.+ - Added animation related styling rules.+ - Restored old renderer.+ - Fixed bunch of warnings.+ - Added :last-child pseudo selector.+ - Stub test suite+ Thanks to Sergei Trofimovich, Levi Ad, Ian D. Bollinger, Ben Gamari and Oly Mi!++ 0.8 -> 0.8.0.1+ - Widened dependency on text.+ Thanks to bgamari.++ 0.7 -> 0.8+ - Print prettier doubles.+ - Loosen type of sym functions.+ - Added some missing multi-side properties.+ - Added content URL support.+ - Added inset box shadows.+ Thanks Deck and James Fisher.++ 0.6 -> 0.7+ - Stop printing banner in compact mode.+ - Generic font family as datatype.+ - Only drop final semicolon if doing compact printing.++ 0.5.1 -> 0.6+ - Simplified implementation of size rendering.+ - Implemented @font-face construct. By James Fisher.+ - Make hsl(a) colors actually print percentage values.+ - Changed the renderer to haul @font-face to the top level.++ 0.5 -> 0.5.1+ - Fixed bug in fontFamily renderer.++ 0.4 -> 0.5+ - Generalized the borderRadius function.+ - Fixed some small issues in Dynamic.++ 0.3 -> 0.4+ - Added dynamic presentation. (thanks to chrisdone)+ - Float now has its own value, don't incorrectly share side. (thanks to chrisdone)+ - Added nil size constructor.+ - Slightly improved the gradient syntax.+ - Expose the Propery module by default.+ - Introduced shared 'all' value.++ 0.2 -> 0.3+ - Fixed value grammar of radial gradients.+ - Added mask related properties.+ - Allow multiple box-shadows.+ - Added filter property.+ - Also render value prefix when both key and value are prefixed.++ 0.1.1 -> 0.2+ - Rotate takes only one argument.+ - Added opacity property.+ - Print Clay banner in CSS comments by default.+ - Fixed bug in font-family rendering (Firefox only).+ - Added outline related properties.+ - Fixed bug in monospace font family.++ 0.1 -> 0.1.1+ - Fixed bug in visibility property.+ Thanks to Conrad Indiono for the pull request.++ 0.0.1 -> 0.1++ - Fixed bug in combined selector rendering.+ - Fixed bug in font familty fallback category rendering.+ - Added maxWidth and maxHeight.+ - Fixed example code.+ - Fixed overflowX/overflowY bug.+ - Added some show instance for debugging purposes.+ - Don't print the star (*) selector in the case of refinements.+ - Refinements applied to the top level magically introduce star selector.+ Thanks to listx, bergmark, Cynede, chrisdone, Primigenus, Sigrlami for the+ pull requests and bug reports.+
+ README.md view
@@ -0,0 +1,10 @@+Clay is a CSS preprocessor like LESS and Sass, but implemented as an embedded+domain specific language (EDSL) in Haskell. This means that all CSS selectors+and style rules are first class Haskell functions, which makes reuse and+composability easy.++The project is described on [the project homepage](http://fvisser.nl/clay).++The API documentation can be found in the top level module `Clay`.++[](https://travis-ci.org/sebastiaanvisser/clay)
clay.cabal view
@@ -1,5 +1,5 @@ Name: clay-Version: 0.13.1+Version: 0.13.2 Synopsis: CSS preprocessor as embedded Haskell. Description: Clay is a CSS preprocessor like LESS and Sass, but implemented as an embedded@@ -23,11 +23,14 @@ Cabal-Version: >= 1.8 Build-Type: Simple +Extra-Source-Files:+ README.md CHANGELOG+ Tested-With:- GHC==7.10.3,- GHC==8.0.2, GHC==8.2.2,- GHC==8.4.1+ GHC==8.4.4,+ GHC==8.6.5,+ GHC==8.8.1 Source-Repository head Type: git@@ -69,16 +72,11 @@ Clay.Transform Clay.Transition - GHC-Options: -Wall Build-Depends: base >= 4.7 && < 5, mtl >= 1 && < 2.3, text >= 0.11 && < 1.3- if impl(ghc < 8.0)- Build-Depends:- semigroups- else- GHC-Options: -Wcompat+ GHC-Options: -Wall -Wcompat Test-Suite Test-Clay Type: exitcode-stdio-1.0@@ -88,11 +86,6 @@ base >= 4.7 && < 5, mtl >= 1 && < 2.3, text >= 0.11 && < 1.3,- hspec >= 2.2.0 && < 2.6,- hspec-discover >= 2.2.0 && < 2.6- if impl(ghc < 8.0)- Build-Depends:- semigroups- else- GHC-Options: -Wcompat- Ghc-Options: -Wall+ hspec >= 2.2.0 && < 2.8,+ hspec-discover >= 2.2.0 && < 2.8+ GHC-Options: -Wall -Wcompat
src/Clay/Comments.hs view
@@ -1,4 +1,3 @@-{-# LANGUAGE CPP #-} {-# LANGUAGE ViewPatterns #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE OverloadedStrings #-}@@ -28,7 +27,5 @@ addComment c (Property ms k v ) = Property (Comment c : ms) k v addComment _ r = r -#if __GLASGOW_HASKELL__ >= 710 pattern PartitionComments :: [Modifier] -> Maybe CommentText -> [Modifier]-#endif pattern PartitionComments xs cs <- (fmap (foldMap _Comment) . partition (isNothing . _Comment) -> (xs, cs))
src/Clay/Selector.hs view
@@ -6,7 +6,6 @@ , UndecidableInstances , ViewPatterns , PatternGuards- , CPP #-} module Clay.Selector where