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

@ndla/core

Package Overview
Dependencies
Maintainers
9
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 3.0.3 to 3.1.0

1

es/spacing.js

@@ -9,4 +9,5 @@ export var spacingUnit = 26;

medium: "".concat(spacingUnit * 1.25, "px"),
mediumlarge: "".concat(spacingUnit * 1.5, "px"),
large: "".concat(spacingUnit * 2, "px")
};
export default spacing;

2

lib/spacing.d.ts
export declare const spacingUnit = 26;
export declare type SpacingNames = 'xxsmall' | 'xsmall' | 'small' | 'nsmall' | 'normal' | 'medium' | 'large';
export type SpacingNames = 'xxsmall' | 'xsmall' | 'small' | 'nsmall' | 'normal' | 'medium' | 'mediumlarge' | 'large';
declare const spacing: Record<SpacingNames, string>;
export default spacing;

@@ -16,2 +16,3 @@ "use strict";

medium: "".concat(spacingUnit * 1.25, "px"),
mediumlarge: "".concat(spacingUnit * 1.5, "px"),
large: "".concat(spacingUnit * 2, "px")

@@ -18,0 +19,0 @@ };

{
"name": "@ndla/core",
"version": "3.0.3",
"version": "3.1.0",
"description": "UI component library for NDLA.",

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

},
"gitHead": "069ef3ed8a9641137f8d4de51ab6415985bca997"
"gitHead": "4d0730c32a5a72e492a281daf6447cd42c45f629"
}
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