Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@hubspot/cms-component-library

Package Overview
Dependencies
Maintainers
32
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hubspot/cms-component-library - npm Package Compare versions

Comparing version
0.1.0-alpha.9
to
0.1.0-alpha.10
+8
-1
components/compone...s/propResolution/propResolutionUtils.ts

@@ -39,3 +39,3 @@ import {

} = dimensionProps;
const mergedProps = { ...passedProps, ...dimensionRest };
const mergedProps = { ...dimensionRest, ...passedProps };

@@ -105,3 +105,8 @@ if (dimensionClassName) {

) => {
// Will return an object representing the full chain API (all config options)
const activeConfiguration = stateManager.getActiveConfiguration();
// Returns an a flat object containing css props based on active presets chosen
// e.g. { backgroundColor: 'red', color: 'blue' }
// Flat subset of activeConfiguration
const dimensionProps = extractDimensionPropsFromConfig(

@@ -112,2 +117,4 @@ activeConfiguration,

// Resolve and merge dimension props with passed props.
// Passed props will always win as an explicit override of dimension/config props
const mergedProps = MergeDimensionProp(dimensionProps, props);

@@ -114,0 +121,0 @@

+1
-1
{
"name": "@hubspot/cms-component-library",
"version": "0.1.0-alpha.9",
"version": "0.1.0-alpha.10",
"description": "HubSpot CMS React component library for building CMS modules",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet