persona-community-5/.pnpm-store/v3/files/ec/be058ee421806180a706b8ee71585683cdd5e6fa5f941ea02938b476aa0dca920e7c2c6f18855403ae0583cebee97c367f98bdf83848a09f7ceb25df43efec
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

22 lines
409 B
Plaintext

let Value = require('../value')
class DisplayGrid extends Value {
constructor(name, prefixes) {
super(name, prefixes)
if (name === 'display-grid') {
this.name = 'grid'
}
}
/**
* Faster check for flex value
*/
check(decl) {
return decl.prop === 'display' && decl.value === this.name
}
}
DisplayGrid.names = ['display-grid', 'inline-grid']
module.exports = DisplayGrid