Comments (1)
hey @Sidnioulz!
thank you for your contribution and glad to see such deep understanding of our methodology and tools
but that ability to have multiply value for one modifier is against basics (see https://en.bem.info/methodology/key-concepts/#modifier) — so it would be misconcept to allow to do it in one of implementations
I would suggest you to use a set of boolean modifiers in case you wish to provide a set of orthogonal variants (which can be presented simultaneously on some block/element), eg. <MyComponent small light compact />
from bem-react.
Related Issues (20)
- withNaming - default modifier's delimiter is undefined HOT 1
- composeSimple className problem
- @bem-react/pack: Don't work tree-shaking for esm modules
- @bem-react/pack: Add watch mode for rebuild
- @bem-react/pack: Add dev and production build
- @bem-react/core: Strip internal types from withBemMod
- @bem-react/pack: Async postcss plugins don't work HOT 1
- @bem-react/pack: Support multiplie configs HOT 1
- @bem-react/pack: Add es build for TypescriptPlugin
- @bem-react/core: Use forwardRef in withBemMod
- @bem-react/core: Recreated component after modifier changed HOT 1
- @bem-react/pack: Supports es6 syntax for config
- @bem-react/pack: Throw an error when tsc not found in project (TypeScriptPlugin)
- withBemMod is no more compatible with compose
- @bem-react/pack: Impl plugin for prepare package.json
- @bem-react/pack: support relative imports
- @bem-react/classname: lint formatter usage with null HOT 1
- Типизация регистра HOT 1
- @bem-react/core: update react in peerDependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bem-react.