@rmwc/base
Advanced tools
Comparing version 6.0.12 to 6.0.13
@@ -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>; |
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93042
0
2350
9
+ Added@types/classnames@^2.2.7
+ Added@types/classnames@2.3.4(transitive)