
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@react-querybuilder/bulma
Advanced tools
Official react-querybuilder compatibility package for Bulma.
npm i react-querybuilder @react-querybuilder/bulma bulma
# OR yarn add / pnpm add / bun add
To configure the query builder to use Bulma-compatible components, place QueryBuilderBulma
above QueryBuilder
in the component hierarchy.
import { QueryBuilderBulma } from '@react-querybuilder/bulma';
import { useState } from 'react';
import { type Field, QueryBuilder, type RuleGroupType } from 'react-querybuilder';
const fields: Field[] = [
{ name: 'firstName', label: 'First Name' },
{ name: 'lastName', label: 'Last Name' },
];
export function App() {
const [query, setQuery] = useState<RuleGroupType>({ combinator: 'and', rules: [] });
return (
<QueryBuilderBulma>
<QueryBuilder fields={fields} defaultQuery={query} onQueryChange={setQuery} />
</QueryBuilderBulma>
);
}
[!NOTE]
Some additional styling may be necessary. We recommend the following:
.queryBuilder .input { width: auto; }
QueryBuilderBulma
is a React context provider that assigns the following props to all descendant QueryBuilder
elements. The props can be overridden on the QueryBuilder
or used directly without the context provider.
Export | QueryBuilder prop |
---|---|
bulmaControlClassnames | controlClassnames |
bulmaControlElements | controlElements |
BulmaNotToggle | controlElements.notToggle |
BulmaValueEditor | controlElements.valueEditor |
BulmaValueSelector | controlElements.valueSelector |
[v8.3.1] - 2025-02-27
type-fest
library has been (partially) vendored into react-querybuilder
to avoid requiring it as a dependency.UseMergedContextProps
renamed to UseMergedContextParams
(technically a breaking change, but probably won't affect anyone).Parse*Options
types have been removed from the main export. They are now only available on their respective react-querybuilder/parse*
exports (another technically breaking change that probably won't affect anyone).FAQs
Custom Bulma components for react-querybuilder
The npm package @react-querybuilder/bulma receives a total of 136 weekly downloads. As such, @react-querybuilder/bulma popularity was classified as not popular.
We found that @react-querybuilder/bulma demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.