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

@bf2/ui-shared

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bf2/ui-shared - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

1

dist/alert/Alert.d.ts

@@ -13,1 +13,2 @@ import React from "react";

export declare const AlertContext: React.Context<Alert | undefined>;
export declare const useAlert: () => any;

3

dist/alert/Alert.js

@@ -1,2 +0,2 @@

import React from "react";
import React, { useContext } from "react";
export var AlertVariant;

@@ -11,2 +11,3 @@ (function (AlertVariant) {

export var AlertContext = React.createContext(undefined);
export var useAlert = function () { return useContext(AlertContext); };
//# sourceMappingURL=Alert.js.map

@@ -15,1 +15,2 @@ import React from "react";

export declare const AuthContext: React.Context<Auth | undefined>;
export declare const useAuth: () => any;

@@ -1,3 +0,4 @@

import React from "react";
import React, { useContext } from "react";
export var AuthContext = React.createContext(undefined);
export var useAuth = function () { return useContext(AuthContext); };
//# sourceMappingURL=Auth.js.map

@@ -6,1 +6,2 @@ import React from "react";

export declare const BasenameContext: React.Context<Basename | undefined>;
export declare const useBasename: () => any;

@@ -1,3 +0,4 @@

import React from "react";
import React, { useContext } from "react";
export var BasenameContext = React.createContext(undefined);
export var useBasename = function () { return useContext(BasenameContext); };
//# sourceMappingURL=Basename.js.map

@@ -32,1 +32,2 @@ import React from "react";

export declare const ConfigContext: React.Context<Config | undefined>;
export declare const useConfig: () => any;

@@ -1,3 +0,4 @@

import React from "react";
import React, { useContext } from "react";
export var ConfigContext = React.createContext(undefined);
export var useConfig = function () { return useContext(ConfigContext); };
//# sourceMappingURL=Config.js.map
{
"name": "@bf2/ui-shared",
"version": "0.0.10",
"version": "0.0.11",
"description": "UI Shared contains a number of type definitions for shared data structures for the UI.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,2 +0,2 @@

import React from "react";
import React, {useContext} from "react";

@@ -17,1 +17,4 @@ export enum AlertVariant {

export const AlertContext: React.Context<Alert | undefined> = React.createContext<Alert | undefined>(undefined);
export const useAlert = () => useContext(AlertContext);

@@ -1,2 +0,2 @@

import React from "react";
import React, {useContext} from "react";

@@ -16,2 +16,4 @@ export type Auth = {

export const AuthContext: React.Context<Auth | undefined> = React.createContext<Auth | undefined>(undefined);
export const AuthContext: React.Context<Auth | undefined> = React.createContext<Auth | undefined>(undefined);
export const useAuth = () => useContext(AuthContext);

@@ -1,2 +0,2 @@

import React from "react";
import React, { useContext } from "react";

@@ -7,2 +7,4 @@ export type Basename = {

export const BasenameContext: React.Context<Basename | undefined> = React.createContext<Basename | undefined>(undefined);
export const BasenameContext: React.Context<Basename | undefined> = React.createContext<Basename | undefined>(undefined);
export const useBasename = () => useContext(BasenameContext);

@@ -1,2 +0,2 @@

import React from "react";
import React, { useContext } from "react";

@@ -21,5 +21,3 @@ export type Config = {

}
kafka: {
}
kafka: {}
federatedModules: {

@@ -38,2 +36,4 @@ kafka: FederatedModuleConfig

export const ConfigContext: React.Context<Config | undefined> = React.createContext<Config | undefined>(undefined);
export const ConfigContext: React.Context<Config | undefined> = React.createContext<Config | undefined>(undefined);
export const useConfig = () => useContext(ConfigContext);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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