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

@rmwc/base

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/base - npm Package Compare versions

Comparing version 6.0.12 to 6.0.13

10

dist/utils/data-table-context.d.ts

@@ -1,5 +0,7 @@

/// <reference types="react" />
/// <reference types="@emotion/core" />
/**
* This module is exported from base so it doesn't create a dependency on data table to modules that might consume it
*/
import React from 'react';
/** Are we inside of a data table */
export declare const DataTableContext: import("react").Context<boolean>;
export declare const DataTableContext: React.Context<boolean>;
/**

@@ -9,2 +11,2 @@ * Context to allow us to let our rows in the header know to use the right classes.

*/
export declare const DataTableHeadContext: import("react").Context<boolean>;
export declare const DataTableHeadContext: React.Context<boolean>;

7

dist/utils/data-table-context.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/**
* This module is exported from base so it doesn't create a dependency on data table to modules that might consume it
*/
var react_1 = require("react");
var react_1 = tslib_1.__importDefault(require("react"));
/** Are we inside of a data table */
exports.DataTableContext = react_1.createContext(false);
exports.DataTableContext = react_1.default.createContext(false);
/**

@@ -13,2 +14,2 @@ * Context to allow us to let our rows in the header know to use the right classes.

*/
exports.DataTableHeadContext = react_1.createContext(false);
exports.DataTableHeadContext = react_1.default.createContext(false);

@@ -1,5 +0,7 @@

/// <reference types="react" />
/// <reference types="@emotion/core" />
/**
* This module is exported from base so it doesn't create a dependency on data table to modules that might consume it
*/
import React from 'react';
/** Are we inside of a data table */
export declare const DataTableContext: import("react").Context<boolean>;
export declare const DataTableContext: React.Context<boolean>;
/**

@@ -9,2 +11,2 @@ * Context to allow us to let our rows in the header know to use the right classes.

*/
export declare const DataTableHeadContext: import("react").Context<boolean>;
export declare const DataTableHeadContext: React.Context<boolean>;
/**
* This module is exported from base so it doesn't create a dependency on data table to modules that might consume it
*/
import { createContext } from 'react';
import React from 'react';
/** Are we inside of a data table */
export var DataTableContext = createContext(false);
export var DataTableContext = React.createContext(false);
/**

@@ -11,2 +11,2 @@ * Context to allow us to let our rows in the header know to use the right classes.

*/
export var DataTableHeadContext = createContext(false);
export var DataTableHeadContext = React.createContext(false);
{
"name": "@rmwc/base",
"version": "6.0.12",
"version": "6.0.13",
"description": "RMWC base module",

@@ -41,2 +41,3 @@ "main": "dist/index.js",

"@rmwc/types": "^6.0.5",
"@types/classnames": "^2.2.7",
"classnames": "^2.2.6",

@@ -47,6 +48,3 @@ "hyperform": "^0.11.0",

},
"devDependencies": {
"@types/classnames": "^2.2.7"
},
"gitHead": "9377c136867c5b8209d402a8358296e40bff4df3"
"gitHead": "0d3b30c73eb07958144efef0fb0759fa014a546a"
}
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