@financial-times/o-header
Advanced tools
Comparing version 8.6.0 to 9.0.0-0
{ | ||
"description": "Responsive Financial Times page header with primary and secondary navigation, a drop down mega menu, and a collapsible drawer", | ||
"keywords": [ "header", "page", "top" ], | ||
"origamiType": "module", | ||
"origamiCategory": "components", | ||
"origamiVersion": 1, | ||
"origamiType": "component", | ||
"origamiVersion": "2.0", | ||
"brands" : [ | ||
@@ -8,0 +5,0 @@ "master" |
{ | ||
"browser": "browser.js", | ||
"module": "module.js", | ||
"eslintIgnore": [ | ||
"module.js", | ||
"browser.js", | ||
"dist/", | ||
"dist-esm/" | ||
], | ||
"name": "@financial-times/o-header", | ||
"version": "9.0.0-0", | ||
"description": "Responsive Financial Times page header with primary and secondary navigation, a drop down mega menu, and a collapsible drawer", | ||
"keywords": [ | ||
"origami", | ||
"component", | ||
"ft" | ||
"header", | ||
"page", | ||
"top" | ||
], | ||
"name": "@financial-times/o-header", | ||
"version": "8.6.0", | ||
"dependencies": { | ||
"@financial-times/o-colors": "^5.0.0", | ||
"@financial-times/o-brand": "^3.2.5", | ||
"@financial-times/o-buttons": "^6.0.0", | ||
"@financial-times/o-grid": "^5.0.0", | ||
"@financial-times/o-icons": "^6.0.0", | ||
"@financial-times/o-normalise": "^2.0.0", | ||
"@financial-times/o-toggle": "^2.0.0", | ||
"@financial-times/o-typography": "^6.0.0", | ||
"@financial-times/o-utils": "^1.0.0", | ||
"@financial-times/o-visual-effects": "^3.0.0" | ||
"homepage": "https://registry.origami.ft.com/components/o-header", | ||
"bugs": { | ||
"url": "https://registry.origami.ft.com/components/o-header" | ||
}, | ||
"component": "o-header", | ||
"scripts": {}, | ||
"license": "MIT", | ||
"type": "module", | ||
"browser": "main.js", | ||
"scripts": { | ||
"start": "npx serve ./demos/local", | ||
"build": "npm_config_yes=true npx \"origami-build-tools@prerelease\" install && npm_config_yes=true npx \"origami-build-tools@prerelease\" demo" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.8.1", | ||
"eslint-config-origami-component": "^2.1.0", | ||
"origami-ci-tools": "^2.0.2", | ||
"eslint": "^7.24.0", | ||
"eslint-config-origami-component": "^2.1.1", | ||
"remark": "^13.0.0", | ||
"remark-lint": "^8.0.0", | ||
"remark-preset-lint-origami-component": "^1.1.3", | ||
"stylelint": "^13.7.0", | ||
"remark-lint": "^7.0.1", | ||
"remark-preset-lint-origami-component": "prerelease", | ||
"stylelint": "^13.12.0", | ||
"stylelint-config-origami-component": "^1.0.4" | ||
}, | ||
"peerDependencies": { | ||
"@financial-times/o-brand": "prerelease", | ||
"@financial-times/o-buttons": "prerelease", | ||
"@financial-times/o-colors": "prerelease", | ||
"@financial-times/o-grid": "prerelease", | ||
"@financial-times/o-icons": "prerelease", | ||
"@financial-times/o-normalise": "prerelease", | ||
"@financial-times/o-toggle": "prerelease", | ||
"@financial-times/o-typography": "prerelease", | ||
"@financial-times/o-utils": "prerelease", | ||
"@financial-times/o-visual-effects": "prerelease" | ||
}, | ||
"engines": { | ||
"npm": "^7" | ||
}, | ||
"volta": { | ||
"node": "14.16.1", | ||
"npm": "7.10.0" | ||
} | ||
} |
@@ -40,3 +40,3 @@ # o-header | ||
```js | ||
import Header from 'o-header'; | ||
import Header from '@financial-times/o-header'; | ||
const headerEl = document.querySelector('.o-header'); | ||
@@ -49,3 +49,3 @@ const header = new oHeader(headerEl); | ||
```js | ||
import 'o-header'; | ||
import '@financial-times/o-header'; | ||
document.addEventListener("DOMContentLoaded", function() { | ||
@@ -52,0 +52,0 @@ document.dispatchEvent(new CustomEvent('o.DOMContentLoaded')); |
@@ -1,2 +0,2 @@ | ||
import Toggle from 'o-toggle'; | ||
import Toggle from '@financial-times/o-toggle'; | ||
@@ -3,0 +3,0 @@ const LISTEN_DELAY = 300; |
@@ -1,2 +0,2 @@ | ||
import Toggle from 'o-toggle'; | ||
import Toggle from '@financial-times/o-toggle'; | ||
@@ -3,0 +3,0 @@ function init (headerEl) { |
@@ -1,2 +0,2 @@ | ||
import { debounce } from 'o-utils'; | ||
import { debounce } from '@financial-times/o-utils'; | ||
@@ -3,0 +3,0 @@ function init (headerEl) { |
@@ -1,2 +0,2 @@ | ||
import * as oUtils from 'o-utils'; | ||
import * as oUtils from '@financial-times/o-utils'; | ||
@@ -3,0 +3,0 @@ function init(headerEl) { |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
7
0
Yes
246255
51
3852
2
+ Added@financial-times/o-brand@4.0.0-beta.1(transitive)
+ Added@financial-times/o-buttons@7.0.0-beta.0(transitive)
+ Added@financial-times/o-colors@6.0.0-beta.0(transitive)
+ Added@financial-times/o-fonts@5.0.0-beta.1(transitive)
+ Added@financial-times/o-grid@6.0.0-beta.0(transitive)
+ Added@financial-times/o-icons@7.0.0-beta.0(transitive)
+ Added@financial-times/o-normalise@3.0.0-beta.0(transitive)
+ Added@financial-times/o-spacing@3.0.0-beta.0(transitive)
+ Added@financial-times/o-toggle@3.0.0-beta.0(transitive)
+ Added@financial-times/o-typography@7.0.0-beta.0(transitive)
+ Added@financial-times/o-utils@2.0.0-beta.0(transitive)
+ Added@financial-times/o-visual-effects@4.0.0-beta.0(transitive)
- Removed@financial-times/o-brand@^3.2.5
- Removed@financial-times/o-buttons@^6.0.0
- Removed@financial-times/o-colors@^5.0.0
- Removed@financial-times/o-grid@^5.0.0
- Removed@financial-times/o-icons@^6.0.0
- Removed@financial-times/o-normalise@^2.0.0
- Removed@financial-times/o-toggle@^2.0.0
- Removed@financial-times/o-typography@^6.0.0
- Removed@financial-times/o-utils@^1.0.0
- Removed@financial-times/o-assets@3.4.9(transitive)
- Removed@financial-times/o-brand@3.3.0(transitive)
- Removed@financial-times/o-buttons@6.2.0(transitive)
- Removed@financial-times/o-colors@5.4.1(transitive)
- Removed@financial-times/o-fonts@4.5.0(transitive)
- Removed@financial-times/o-grid@5.2.12(transitive)
- Removed@financial-times/o-icons@6.3.0(transitive)
- Removed@financial-times/o-normalise@2.0.8(transitive)
- Removed@financial-times/o-spacing@2.1.0(transitive)
- Removed@financial-times/o-toggle@2.1.3(transitive)
- Removed@financial-times/o-typography@6.4.6(transitive)
- Removed@financial-times/o-utils@1.1.7(transitive)
- Removed@financial-times/o-visual-effects@3.0.6(transitive)