Releases: wix/stylable
Releases · wix/stylable
@stylable/[email protected]
- Add configuration allowing to manually modify how component module resolution works for
HTMLSnapshot Plugin
@stylable/[email protected]
Diagnostics - issues resolved
- #196 - warn about empty -st-from declaration
- #381 - warn about an empty @namespace definition
- #317 - make unknown native function/custom formatter warning more verbose
- #391 - warn about unknown vars in CSS mixins
- #393 / #193 - warn about missing files and symbols in imports (even without usage)
Infrastructure
- Update all dependencies
@stylable/[email protected]
- First release for
@stylable/dom-test-kit
. A collection of utilities to assist in testing DOM-related aspects of components using Stylable.
@stylable/[email protected]
generateModuleSource
now accepts an optional argument for@stylable/runtime
path
@stylable/[email protected]
Stylable Integration
- Passes through environment mode flag to Stylable for new dev-time diagnostics
Infrastructure
- Package renamed from
stylable-webpack-plugin
to@stylable/webpack-plugin
@stylable/[email protected]
Infrastructure
- Package renamed from
stylable-scripts
to@stylable/react-scripts
@stylable/[email protected]
Infrastructure
- Rename
stylable
package to@stylable/core
Deprecations
- Remove deprecated features:
-st-theme
-st-compose
-st-variant
- Remove un-needed specificty when using
st-extend
- Remove runtime type definitions in favor of
@stylable/runtime
types - Remove deprecated
bundler
,generator
andruntime
- Remove automatic
root scoping
setting
Diagnostics
- Add warning when trying to name a state beginning with
--
(reserved for native CSS variables) - Add warning when possibly creating broken inheritence (using
-st-extend
) during development
@stylable/[email protected]
API Change
indexFile
flag default value changed to false, and will not automatically generate an index file
Note: the change is from the now deprecated
stylable-integration
[email protected]
- Change property access of
projectRoot
in Stylable to public
[email protected]
- Fix type error in stylable-scripts where the last argument of the style function was not optional
- Use TypeScript
import type
inglobal.d.ts