@ndla/core
Advanced tools
Comparing version 4.2.9 to 4.3.0
@@ -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; |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
122653
1555