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

@ndla/core

Package Overview
Dependencies
Maintainers
8
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndla/core - npm Package Compare versions

Comparing version 4.2.9 to 4.3.0

5

es/spacing.js

@@ -15,8 +15,9 @@ /**

nsmall: `${spacingUnit / 1.5}px`,
snormal: `${spacingUnit / 1.2}px`,
normal: `${spacingUnit}px`,
medium: `${spacingUnit * 1.25}px`,
mediumlarge: `${spacingUnit * 1.5}px`,
large: `${spacingUnit * 2}px`
large: `${spacingUnit * 2}px`,
xlarge: `${spacingUnit * 3}px`,
xxlarge: `${spacingUnit * 4}px`
};
export default spacing;

2

lib/spacing.d.ts

@@ -9,4 +9,4 @@ /**

export declare const spacingUnit = 24;
export type SpacingNames = 'xxsmall' | 'xsmall' | 'small' | 'nsmall' | 'snormal' | 'normal' | 'medium' | 'mediumlarge' | 'large';
export type SpacingNames = 'xxsmall' | 'xsmall' | 'small' | 'nsmall' | 'normal' | 'medium' | 'mediumlarge' | 'large' | 'xlarge' | 'xxlarge';
declare const spacing: Record<SpacingNames, string>;
export default spacing;

@@ -21,8 +21,9 @@ "use strict";

nsmall: `${spacingUnit / 1.5}px`,
snormal: `${spacingUnit / 1.2}px`,
normal: `${spacingUnit}px`,
medium: `${spacingUnit * 1.25}px`,
mediumlarge: `${spacingUnit * 1.5}px`,
large: `${spacingUnit * 2}px`
large: `${spacingUnit * 2}px`,
xlarge: `${spacingUnit * 3}px`,
xxlarge: `${spacingUnit * 4}px`
};
var _default = exports.default = spacing;
{
"name": "@ndla/core",
"version": "4.2.9",
"version": "4.3.0",
"description": "UI component library for NDLA.",

@@ -40,3 +40,3 @@ "license": "GPL-3.0",

},
"gitHead": "5c65dfc8de95fb464182f86a40b74868ca30a29e"
"gitHead": "33f14792431d5c46241455f1f5e05ac9a81ab7d6"
}
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