Skip to content

Next version todo/changelog #240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
32 of 44 tasks
TrySound opened this issue Jun 5, 2017 · 2 comments
Open
32 of 44 tasks

Next version todo/changelog #240

TrySound opened this issue Jun 5, 2017 · 2 comments

Comments

@TrySound
Copy link
Member

TrySound commented Jun 5, 2017

Here's changes I made last time and TODO for near future

ICSS

  • document * importer
  • implement * importer

postcss-icss-import

  • deduplicate icss rules

postcss-icss-url

  • deduplicate icss rules

keyframes

  • always local if plugin is enabled
  • animation name is replaced with existing local keyframes or leaved untouched
  • add warnings when keyframes identifier already declared by different plugin
  • disallow all reserved names without checking count of usage (animation: infinite infinite). Was made to improve performance and reduce implementation complexity. Should we revert this?
  • pass contract messages
  • add generic-names as default generateScopedName
  • remove local/global block behavior (:global { @keyframes name {} })

local-by-default -> selectors

  • split keyframes in separate package
  • rename to postcss-icss-selectors
  • process scoping
  • remove pure mode
  • remove selectors consistency checking
  • add generic-names as default generateScopedName
  • pass contract messages
  • implement scoping contract with warnings
  • implement value contract
  • implement composes contract
  • disallow .class:local.class in favor of .class:local(.class) or .class :local .class
  • remove local/global block behavior (:global { .selector {} })
  • deprecate postcss-modules-local-by-default

scope -> composes

  • rename to postcss-icss-compose
  • combine with postcss-modules-extract-imports
  • pass contract messages
  • remove scoping functionality
  • implement scoping contract
  • warn on using composes in media queries
  • remove url scoping
  • deprecate postcss-modules-scope
  • deprecate postcss-modules-extract-imports

values

  • rename to postcss-icss-values
  • disallow values names started with dot and hash. (.5s, #hash)
  • this can introduce ability to replace local classes and ids correctly (cross modules will be possible for theming).
  • warn about redeclared value
  • pass contract messages
  • implement scoping contract
  • deprecate postcss-modules-values
  • remove external values path replacement (@colors: './path'; @value one from colors;)

lint

  • add pure mode checking
  • add selectors consistency checking
  • add global identifiers checking (animation-name, composes)

/cc @michael-ciniawsky @evilebottnawi @sullenor @Outpunk @sokra

@frenzzy
Copy link

frenzzy commented Jun 27, 2017

remove local/global block behavior (:global { .selector {} })

but why? what the alternative?

@TrySound
Copy link
Member Author

It can't be resolved with postcss plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants