New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eeacms/volto-block-style

Package Overview
Dependencies
Maintainers
0
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eeacms/volto-block-style - npm Package Compare versions

Comparing version 7.1.0 to 7.2.0

8

CHANGELOG.md

@@ -7,2 +7,10 @@ ### Changelog

### [7.2.0](https://github.com/eea/volto-block-style/compare/7.1.0...7.2.0) - 11 November 2024
#### :hammer_and_wrench: Others
- fix sonarqube bugs [Miu Razvan - [`8f72687`](https://github.com/eea/volto-block-style/commit/8f726879960ac699b5c1028297c462de5c1818d0)]
- update [Miu Razvan - [`2c2197e`](https://github.com/eea/volto-block-style/commit/2c2197ea01db9f2def9549133669634d9aa94023)]
- bump version [Miu Razvan - [`3d74398`](https://github.com/eea/volto-block-style/commit/3d7439854251974afe831370d45ebaf9d01b77a1)]
- fix block style on slate, ref #278618 [Miu Razvan - [`ce9982d`](https://github.com/eea/volto-block-style/commit/ce9982df68c8ce9a1f60cf72178060e1ddce480f)]
### [7.1.0](https://github.com/eea/volto-block-style/compare/7.0.0...7.1.0) - 3 June 2024

@@ -9,0 +17,0 @@

2

package.json
{
"name": "@eeacms/volto-block-style",
"version": "7.1.0",
"version": "7.2.0",
"description": "volto-block-style: Volto add-on",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -67,2 +67,7 @@ import React from 'react';

config.settings.integratesBlockStyles = [
...(config.settings.integratesBlockStyles || []),
'slate',
];
config.widgets.widget.style_select = StyleSelectWidget;

@@ -69,0 +74,0 @@ config.widgets.widget.style_align = AlignWidget; // avoid conflict for now

@@ -164,2 +164,4 @@ import React from 'react';

'drop-cap': isDropCap,
[`has--fontSize--${inlineStyles['fontSize']}`]:
!!inlineStyles['fontSize'] && mode === 'edit',
},

@@ -166,0 +168,0 @@ ),

@@ -87,4 +87,7 @@ // Copied from MIT-licensed https://github.com/iozbeyli/react-semantic-ui-range

});
this.setState({
position: positions,
this.setState((prevState) => {
const positions = [...prevState.position];
return {
position: positions,
};
});

@@ -215,7 +218,9 @@ } else {

if (this.props.multiple) {
const positions = [...this.state.position];
positions[knobIndex] = this.determinePosition(value);
this.setValue(value, triggeredByUser, knobIndex);
this.setState({
position: positions,
this.setState((prevState) => {
const positions = [...prevState.position];
positions[knobIndex] = this.determinePosition(value);
return {
position: positions,
};
});

@@ -232,6 +237,8 @@ } else {

if (this.props.multiple) {
const newPosition = [...this.state.position];
newPosition[knobIndex] = position;
this.setState({
position: newPosition,
this.setState((prevState) => {
const newPosition = [...prevState.position];
newPosition[knobIndex] = position;
return {
position: newPosition,
};
});

@@ -238,0 +245,0 @@ } else {

Sorry, the diff of this file is not supported yet

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