~alcinnz/haskell-stylist

c33014ef8bbd27a3ddbd7e85567d38f6523ec6e2 — Adrian Cochrane 1 year, 8 months ago 3e92f6c
New releases of all hackages! + code tidies.
M README.md => README.md +1 -1
@@ 1,7 1,7 @@
# Haskell Stylist
Generic CSS style engine for Haskell, intended to aid the development of new browser engines.

Stylish Haskell implements CSS selection and cascade (but not inheritance) independant of the CSS at-rules and properties understood by the caller. It is intended to ease the development of new browser engines, independant of their output targets.
Haskell Stylist implements CSS selection and cascade (but not inheritance) independant of the CSS at-rules and properties understood by the caller. It is intended to ease the development of new browser engines, independant of their output targets.

For more interesting projects see: https://github.io/alcinnz/browser-engine-ganarchy/


M src/Data/CSS/Preprocessor/PsuedoClasses.hs => src/Data/CSS/Preprocessor/PsuedoClasses.hs +1 -1
@@ 9,7 9,7 @@ import Data.CSS.Syntax.StyleSheet
import Data.CSS.Syntax.Selector
import Data.CSS.Syntax.Tokens

import Data.Text as Txt hiding (elem)
import Data.Text as Txt
import Data.Maybe (fromMaybe, listToMaybe)
import Data.HashMap.Lazy as HM
import Data.Function ((&))

M src/Data/CSS/Style/Selector/Interpret.hs => src/Data/CSS/Style/Selector/Interpret.hs +1 -1
@@ 15,7 15,7 @@ import Data.Maybe
import Data.Bits (xor)

-- For pseudoclasses
import Data.CSS.Syntax.Selector (parseSelectors, PropertyFunc(..))
import Data.CSS.Syntax.Selector (parseSelectors)
import Data.CSS.Syntax.Tokens (Token(..), NumericValue(..))

-- | A compiled(?) CSS selector.

M stylist-traits/stylist-traits.cabal => stylist-traits/stylist-traits.cabal +2 -2
@@ 13,10 13,10 @@ name:                stylist-traits
version:             0.1.0.0

-- A short (one-line) description of the package.
synopsis:            Traits, datatypes, & parsers for Haskell Stylist (so other hackages can avoid depending directly on stylist)
synopsis:            Traits, datatypes, & parsers for Haskell Stylist

-- A longer description of the package.
-- description:
description:         Decoupling layer for Haskell Stylist, so other modules don't have to pull in the full CSS engine in order to integrate it.

-- URL for the project homepage or repository.
homepage:            https://rhapsode.adrian.geek.nz/

M stylist.cabal => stylist.cabal +8 -1
@@ 10,7 10,7 @@ name:                stylist
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             2.4.0.1
version:             2.5.0.0

-- A short (one-line) description of the package.
synopsis:            Apply CSS styles to a document tree.


@@ 82,6 82,13 @@ library
  ghc-options: -Wall
  
test-suite test-stylist
  other-modules:
    Data.CSS.Preprocessor.Conditions, Data.CSS.Preprocessor.Conditions.Expr, Data.CSS.Preprocessor.Text,
    Data.CSS.Style.Cascade, Data.CSS.Style.Common, Data.CSS.Style.Importance,
    Data.CSS.Style.Selector.Index, Data.CSS.Style.Selector.Interpret,
        Data.CSS.Style.Selector.LowerWhere, Data.CSS.Style.Selector.Specificity,
    Data.CSS.StyleTree, Data.CSS.Syntax.AtLayer

  hs-source-dirs:       src test
  default-language:     Haskell2010
  type:     exitcode-stdio-1.0

M xml-conduit-stylist/xml-conduit-stylist.cabal => xml-conduit-stylist/xml-conduit-stylist.cabal +1 -1
@@ 10,7 10,7 @@ name:                xml-conduit-stylist
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             2.3.0.0
version:             3.0.0.0

-- A short (one-line) description of the package.
synopsis:            Bridge between xml-conduit/html-conduit and stylist