Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-querybuilder/chakra

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-querybuilder/chakra - npm Package Versions

1
13

6.0.0-alpha.0

Diff

jakeboone02
published 5.4.0 •

Changelog

Source

[v5.4.0] - 2023-01-06

Changed

  • [#443] Automatically generated ids are no longer prefixed with "g-" or "r-".
  • The default border color has changed from #7f81a2 to #8081a2. This difference will almost certainly be imperceptible.

Fixed

  • [#443] generateID no longer tries to require('crypto') which should allow its use in more environments and build targets.

Added

  • [#443] New prop idGenerator can be used to override the default generateID function.
jakeboone02
published 5.3.3 •

Changelog

Source

[v5.3.3] - 2022-12-27

Fixed

  • New jsonLogicOperations option was causing parseJsonLogic to return a rule instead of a group if only one JsonLogic rule was passed in.
jakeboone02
published 5.3.2 •

Changelog

Source

[v5.3.2] - 2022-12-26

Added

  • [#434] Added jsonLogicOperations option to parseJsonLogic to enable parsing of custom operations.
jakeboone02
published 5.3.1 •

Changelog

Source

[v5.3.1] - 2022-12-23

Fixed

  • [#432] The crypto package was used in a way that didn't work in some Node environments.
jakeboone02
published 5.3.0 •

Changelog

Source

[v5.3.0] - 2022-12-23

Changed

  • New rule and group ids are now generated as valid v4 UUIDs using crypto.getRandomValues() instead of Math.random(). The generateID function used internally is exported.
  • [#418] TypeScript interface NameLabelPair has been deprecated and is now an alias for the Option interface.

Fixed

  • [#407] Drag-and-drop will now allow drops on locked rules (which places the dragged rule/group below the drop target) and above locked rules/groups.
  • [#411] When showCombinatorsBetweenRules is enabled, a combinator selector immediately above a locked rule/group will no longer be locked unless the group it belongs to is locked.
  • jsonLogicAdditionalOperators is exported again (documentation).

Added

  • [#422] Adding the class queryBuilder-branches displays "tree view" branch lines.
  • [#426] Dynamic classnames based on the specific rule/group properties.
    • New function props getRuleClassname and getRuleGroupClassname are passed the rule or group, and the return value will be added as a class to the surrounding div.
    • Field, Operator, and new interface Combinator now have an optional className property that will be applied to rules or groups that specify the appropriate attribute.
  • [#417] Optional arity property for operators. When arity is either "unary" or a number less than 2, the value editor will not render when that operator is selected (similar to the standard "null"/"notNull" operators).
  • [#408] The interfaces Option (née NameLabelPair), Field, and ValueEditorProps now accept generics for name and other properties.
  • [#418] A new OptionList type covers the options property for all standard selection lists (field, operator, combinator, etc.). Previously this was a union type: NameLabelPair[] | OptionGroup<NameLabelPair>[]. OptionList is equivalent to this type, but 1) doesn't require typing the base type twice, and 2) uses the new Option name instead of the deprecated NameLabelPair.
  • [#421] When independentCombinators is enabled, custom onAddRule and onAddGroup callbacks can add a combinatorPreceding property to the rule/group which will end up being the combinator inserted above the new rule/group (if the parent group is not empty).
jakeboone02
published 5.2.0 •

Changelog

Source

[v5.2.0] - 2022-11-26

Added

  • [#403] Add onRemove prop and pass rule/group to all ActionElements (buttons).
jakeboone02
published 5.1.3 •

Changelog

Source

[v5.1.3] - 2022-11-23

Fixed

  • [#387] Support antd version 5.
jakeboone02
published 5.1.2 •

Changelog

Source

[v5.1.2] - 2022-11-21

Fixed

  • [#399]/[#401] When dragging a rule or group over a group header, the dndOver class is no longer applied to child group headers.
jakeboone02
published 5.1.1 •

Changelog

Source

[v5.1.1] - 2022-10-27

Fixed

  • parseMongoDB and parseJsonLogic now respect independentCombinators option.
  • Narrowed rule group types, like DefaultRuleGroupType and DefaultRuleGroupTypeIC, are respected by convertFromIC and convertToIC.
<details> <summary>Miscellaneous</summary>
  • v3 documentation was migrated from dedicated README to website versioned docs
</details>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc