Socket
Socket
Sign inDemoInstall

@hig/theme-context

Package Overview
Dependencies
Maintainers
7
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/theme-context - npm Package Compare versions

Comparing version 1.0.0-alpha to 1.0.0-alpha.1

31

build/index.es.js

@@ -6,16 +6,23 @@ import PropTypes from 'prop-types';

var themeContextShape = {
/** Uniquely identifies a theme */
id: PropTypes.string,
/** A class added to each themed element */
className: PropTypes.string,
/** A theme's human-readable name */
name: PropTypes.string,
/** Data about the theme */
metadata: PropTypes.shape({
/** Uniquely identifies a theme */
id: PropTypes.string.isRequired,
/** A theme's human-readable name */
name: PropTypes.string.isRequired,
/** A class available to identify the color scheme */
className: PropTypes.string.isRequired,
/** A color scheme's human-readable name */
colorSchemeName: PropTypes.string.isRequired,
/** Uniquely identifies color scheme of the theme */
colorSchemeId: PropTypes.string.isRequired,
/** Data describing density level of the theme */
density: PropTypes.string.isRequired,
/** A human-readable label for the theme's density */
densityName: PropTypes.string.isRequired
}),
/** Data describing presentation of the theme */
resolvedRoles: PropTypes.object,
resolvedRoles: PropTypes.object.isRequired,
/** Data describing configuration of the theme */
unresolvedRoles: PropTypes.object,
/** Data describing density level of the theme */
density: PropTypes.string,
/** A human-readable label for the theme's density */
densityName: PropTypes.string
unresolvedRoles: PropTypes.object.isRequired
};

@@ -22,0 +29,0 @@

@@ -12,16 +12,23 @@ 'use strict';

var themeContextShape = {
/** Uniquely identifies a theme */
id: PropTypes.string,
/** A class added to each themed element */
className: PropTypes.string,
/** A theme's human-readable name */
name: PropTypes.string,
/** Data about the theme */
metadata: PropTypes.shape({
/** Uniquely identifies a theme */
id: PropTypes.string.isRequired,
/** A theme's human-readable name */
name: PropTypes.string.isRequired,
/** A class available to identify the color scheme */
className: PropTypes.string.isRequired,
/** A color scheme's human-readable name */
colorSchemeName: PropTypes.string.isRequired,
/** Uniquely identifies color scheme of the theme */
colorSchemeId: PropTypes.string.isRequired,
/** Data describing density level of the theme */
density: PropTypes.string.isRequired,
/** A human-readable label for the theme's density */
densityName: PropTypes.string.isRequired
}),
/** Data describing presentation of the theme */
resolvedRoles: PropTypes.object,
resolvedRoles: PropTypes.object.isRequired,
/** Data describing configuration of the theme */
unresolvedRoles: PropTypes.object,
/** Data describing density level of the theme */
density: PropTypes.string,
/** A human-readable label for the theme's density */
densityName: PropTypes.string
unresolvedRoles: PropTypes.object.isRequired
};

@@ -28,0 +35,0 @@

{
"name": "@hig/theme-context",
"version": "1.0.0-alpha",
"version": "1.0.0-alpha.1",
"description": "ThemeContext components to ease adoption of theme data from React components",

@@ -21,3 +21,3 @@ "author": "Autodesk Inc.",

"dependencies": {
"@hig/theme-data": "^1.0.0-alpha",
"@hig/theme-data": "^1.0.0-alpha.1",
"prop-types": "^15.6.1"

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