Socket
Socket
Sign inDemoInstall

@hig/banner

Package Overview
Dependencies
Maintainers
3
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/banner - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

15

build/index.es.js

@@ -1115,3 +1115,3 @@ import React, { Component } from 'react';

bannerBackground: {
backgroundColor: themeData["colorScheme.component.backgroundColor"]
backgroundColor: themeData["colorScheme.surface.level100"]
},

@@ -1168,7 +1168,7 @@

"& svg *": {
fill: themeData["colorScheme.iconColor"]
fill: themeData["colorScheme.icon.default"]
},
"&:hover svg *": {
fill: themeData["colorScheme.accentColor"]
fill: themeData["colorScheme.reference.accent"]
}

@@ -1373,5 +1373,4 @@ }),

}, validTypes.includes(props.type) && {
backgroundColor: themeData["banner." + vars.colorMapping[props.type] + ".iconBackground"]
backgroundColor: themeData["banner." + vars.colorMapping[props.type] + ".iconField.backgroundColor"]
}, {
"svg *": {

@@ -1736,3 +1735,5 @@ fill: "white"

dismissButtonTitle: PropTypes.string,
/** Called when the banner is dismissed */
/** Called when the banner is dismissed
* If this is not supplied the close button will not appear
*/
onDismiss: PropTypes.func,

@@ -1804,3 +1805,3 @@ /** Animation; Determines the visibility of the banner */

"required": false,
"description": "Called when the banner is dismissed"
"description": "Called when the banner is dismissed\n If this is not supplied the close button will not appear"
},

@@ -1807,0 +1808,0 @@ "isVisible": {

@@ -1122,3 +1122,3 @@ 'use strict';

bannerBackground: {
backgroundColor: themeData["colorScheme.component.backgroundColor"]
backgroundColor: themeData["colorScheme.surface.level100"]
},

@@ -1175,7 +1175,7 @@

"& svg *": {
fill: themeData["colorScheme.iconColor"]
fill: themeData["colorScheme.icon.default"]
},
"&:hover svg *": {
fill: themeData["colorScheme.accentColor"]
fill: themeData["colorScheme.reference.accent"]
}

@@ -1380,5 +1380,4 @@ }),

}, validTypes.includes(props.type) && {
backgroundColor: themeData["banner." + vars.colorMapping[props.type] + ".iconBackground"]
backgroundColor: themeData["banner." + vars.colorMapping[props.type] + ".iconField.backgroundColor"]
}, {
"svg *": {

@@ -1743,3 +1742,5 @@ fill: "white"

dismissButtonTitle: PropTypes.string,
/** Called when the banner is dismissed */
/** Called when the banner is dismissed
* If this is not supplied the close button will not appear
*/
onDismiss: PropTypes.func,

@@ -1811,3 +1812,3 @@ /** Animation; Determines the visibility of the banner */

"required": false,
"description": "Called when the banner is dismissed"
"description": "Called when the banner is dismissed\n If this is not supplied the close button will not appear"
},

@@ -1814,0 +1815,0 @@ "isVisible": {

@@ -0,1 +1,8 @@

# [@hig/banner-v2.1.2](https://github.com/Autodesk/hig/compare/@hig/banner@2.1.1...@hig/banner@2.1.2) (2020-05-13)
### Bug Fixes
* stop using deprecated theme-data roles ([3de065c](https://github.com/Autodesk/hig/commit/3de065c))
# [@hig/banner-v2.1.1](https://github.com/Autodesk/hig/compare/@hig/banner@2.1.0...@hig/banner@2.1.1) (2019-08-07)

@@ -2,0 +9,0 @@

{
"name": "@hig/banner",
"version": "2.1.1",
"version": "2.1.2",
"description": "HIG Banner",

@@ -20,4 +20,4 @@ "author": "Autodesk Inc.",

"dependencies": {
"@hig/icon-button": "^2.3.0",
"@hig/icons": "^3.0.0",
"@hig/icon-button": "^2.4.1",
"@hig/icons": "^3.2.0",
"@hig/typography": "^1.0.3",

@@ -37,3 +37,3 @@ "emotion": "^10.0.0",

"@hig/theme-context": "^3.0.0",
"@hig/theme-data": "^2.10.0",
"@hig/theme-data": "^2.16.0",
"react": "^15.4.1 || ^16.3.2"

@@ -40,0 +40,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