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

@hig/top-nav

Package Overview
Dependencies
Maintainers
7
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/top-nav - npm Package Compare versions

Comparing version 0.5.1 to 1.0.0

5

build/index.es.js
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import Flyout, { Panel, anchorPoints, AVAILABLE_ANCHOR_POINTS, offsetContainerVertical, offsetPanelHorizontal } from '@hig/flyout';
import IconButton, { names, types } from '@hig/icon-button';
import IconButton, { types } from '@hig/icon-button';
import { Help24 } from '@hig/icons';
import { combineEventHandlers } from '@hig/utils';

@@ -80,3 +81,3 @@ import NotificationsFlyout, { anchorPoints as anchorPoints$1 } from '@hig/notifications-flyout';

return React.createElement(IconButton, {
name: names.HELP,
icon: React.createElement(Help24, null),
onClick: onClick,

@@ -83,0 +84,0 @@ title: title,

3

build/index.js

@@ -14,2 +14,3 @@ 'use strict';

var IconButton__default = _interopDefault(IconButton);
var icons = require('@hig/icons');
var utils = require('@hig/utils');

@@ -91,3 +92,3 @@ var NotificationsFlyout = require('@hig/notifications-flyout');

return React__default.createElement(IconButton__default, {
name: IconButton.names.HELP,
icon: React__default.createElement(icons.Help24, null),
onClick: onClick,

@@ -94,0 +95,0 @@ title: title,

@@ -0,1 +1,34 @@

# [@hig/top-nav-v1.0.0](https://github.com/Autodesk/hig/compare/@hig/top-nav@0.5.1...@hig/top-nav@1.0.0) (2018-12-04)
### BREAKING
* **icon/icon-button:** Removes [@hig](https://github.com/hig)/icon and refactor [@hig](https://github.com/hig)/icon-button to use [@hig](https://github.com/hig)/icons ([49d78f4](https://github.com/Autodesk/hig/commit/49d78f4))
### Bug Fixes
* **storybook:** Add back Icon stories ([f38f2d4](https://github.com/Autodesk/hig/commit/f38f2d4))
### BREAKING CHANGES
* **icon/icon-button:** Removes @hig/icon
* **icon/icon-button:** Use icon prop instead of name or svg in @hig/icon-button to render Icon/svg
* **icon/icon-button:** No longer export `names` from @hig/icon-button
Usage:
```
import { Assets24 } from "@hig/icons"
function MyComponent() {
return (
<IconButton
icon={<Assets24 />}
onClick={() => console.log('Clicked it.')}
/>
);
}
```
# [@hig/top-nav-v0.5.1](https://github.com/Autodesk/hig/compare/@hig/top-nav@0.5.0...@hig/top-nav@0.5.1) (2018-10-08)

@@ -2,0 +35,0 @@

{
"name": "@hig/top-nav",
"version": "0.5.1",
"version": "1.0.0",
"description": "HIG Top Navigation",

@@ -23,2 +23,3 @@ "author": "Autodesk Inc.",

"@hig/icon-button": "^0.2.1",
"@hig/icons": "^0.2.1",
"@hig/notifications-flyout": "^0.2.3",

@@ -31,3 +32,3 @@ "@hig/profile-flyout": "^0.1.1",

"devDependencies": {
"@hig/babel-preset": "^0.1.0",
"@hig/babel-preset": "^0.1.1",
"@hig/eslint-config": "^0.1.0",

@@ -34,0 +35,0 @@ "@hig/jest-preset": "^0.1.0",

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