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

@os-design/theming

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/theming - npm Package Compare versions

Comparing version 1.0.49 to 1.0.50

6

dist/cjs/index.js
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
Object.defineProperty(exports, "__esModule", {

@@ -52,4 +52,4 @@ value: true

});
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
//# sourceMappingURL=index.js.map

@@ -14,3 +14,3 @@ "use strict";

function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
var light = {
var light = exports.light = {
name: 'light',

@@ -84,2 +84,7 @@ // ------------------------

// ------------------------
// Badge
// ------------------------
badgeColorBg: [5, 80, 50],
badgeColorText: [0, 0, 100],
// ------------------------
// Button

@@ -629,4 +634,3 @@ // ------------------------

};
exports.light = light;
var dark = (0, _themingTools.overrideTheme)(light, {
var dark = exports.dark = (0, _themingTools.overrideTheme)(light, {
name: 'dark',

@@ -713,3 +717,2 @@ // ------------------------

});
exports.dark = dark;
var themes = {

@@ -719,4 +722,3 @@ light: light,

};
var _default = themes;
exports["default"] = _default;
var _default = exports["default"] = themes;
//# sourceMappingURL=themes.js.map

@@ -23,10 +23,6 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var ThemeContext = (0, _themingTools.createThemeContext)();
exports.ThemeContext = ThemeContext;
var useTheme = (0, _themingTools.createUseTheme)(ThemeContext);
exports.useTheme = useTheme;
var ThemeOverrider = (0, _themingTools.createThemeOverrider)(ThemeContext, useTheme);
exports.ThemeOverrider = ThemeOverrider;
var ThemeProvider = (0, _themingTools.createThemeProvider)(ThemeContext, _themes["default"], typeof window !== 'undefined' ? localStorage : undefined);
exports.ThemeProvider = ThemeProvider;
var ThemeContext = exports.ThemeContext = (0, _themingTools.createThemeContext)();
var useTheme = exports.useTheme = (0, _themingTools.createUseTheme)(ThemeContext);
var ThemeOverrider = exports.ThemeOverrider = (0, _themingTools.createThemeOverrider)(ThemeContext, useTheme);
var ThemeProvider = exports.ThemeProvider = (0, _themingTools.createThemeProvider)(ThemeContext, _themes["default"], typeof window !== 'undefined' ? localStorage : undefined);
//# sourceMappingURL=tools.js.map

@@ -71,2 +71,7 @@ import { overrideTheme } from '@os-design/theming-tools';

// ------------------------
// Badge
// ------------------------
badgeColorBg: [5, 80, 50],
badgeColorText: [0, 0, 100],
// ------------------------
// Button

@@ -73,0 +78,0 @@ // ------------------------

@@ -37,2 +37,4 @@ import { Color } from '@os-design/theming-tools';

avatarOnlineColorScoop: Color;
badgeColorBg: Color;
badgeColorText: Color;
buttonHeight: number;

@@ -39,0 +41,0 @@ buttonPaddingHorizontal: number;

{
"name": "@os-design/theming",
"version": "1.0.49",
"version": "1.0.50",
"license": "UNLICENSED",

@@ -39,3 +39,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git",

},
"gitHead": "2605fbf8f46c78800cd4ba6dcb0dd895a893bf96"
"gitHead": "01c24b2665ad10a4b4976a6c0b4982e534e7727a"
}

@@ -61,2 +61,8 @@ import { Color } from '@os-design/theming-tools';

// ------------------------
// Badge
// ------------------------
badgeColorBg: Color;
badgeColorText: Color;
// ------------------------
// Button

@@ -63,0 +69,0 @@ // ------------------------

@@ -92,2 +92,8 @@ import { Color, overrideTheme, ThemeMap } from '@os-design/theming-tools';

// ------------------------
// Badge
// ------------------------
badgeColorBg: [5, 80, 50],
badgeColorText: [0, 0, 100],
// ------------------------
// Button

@@ -94,0 +100,0 @@ // ------------------------

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

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