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

@os-design/utils

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/utils - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

54

lib/index.js

@@ -10,53 +10,57 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.useWindowSize = exports.usePrevious = exports.useIsWidth = exports.useIsMinWidth = exports.useIsMaxWidth = exports.useEventListener = exports.useBodyFontSize = exports.transition = exports.throttling = exports.sizing = exports.resetUl = exports.resetFocus = exports.resetButton = exports.paddingHorizontal = exports.omitProps = exports.m = exports.lineClamp = exports.isTouchDevice = exports.isBrowser = exports.getBoundingRect = exports.enableScrolling = exports.ellipsis = exports.debounce = exports.bodyScroll = void 0;
var bodyScroll_1 = require("./utils/bodyScroll");
Object.defineProperty(exports, "bodyScroll", { enumerable: true, get: function () { return bodyScroll_1.default; } });
Object.defineProperty(exports, "bodyScroll", { enumerable: true, get: function () { return __importDefault(bodyScroll_1).default; } });
var debounce_1 = require("./utils/debounce");
Object.defineProperty(exports, "debounce", { enumerable: true, get: function () { return debounce_1.default; } });
Object.defineProperty(exports, "debounce", { enumerable: true, get: function () { return __importDefault(debounce_1).default; } });
var ellipsis_1 = require("./utils/ellipsis");
Object.defineProperty(exports, "ellipsis", { enumerable: true, get: function () { return ellipsis_1.default; } });
Object.defineProperty(exports, "ellipsis", { enumerable: true, get: function () { return __importDefault(ellipsis_1).default; } });
var enableScrolling_1 = require("./utils/enableScrolling");
Object.defineProperty(exports, "enableScrolling", { enumerable: true, get: function () { return enableScrolling_1.default; } });
Object.defineProperty(exports, "enableScrolling", { enumerable: true, get: function () { return __importDefault(enableScrolling_1).default; } });
var getBoundingRect_1 = require("./utils/getBoundingRect");
Object.defineProperty(exports, "getBoundingRect", { enumerable: true, get: function () { return getBoundingRect_1.default; } });
Object.defineProperty(exports, "getBoundingRect", { enumerable: true, get: function () { return __importDefault(getBoundingRect_1).default; } });
var isBrowser_1 = require("./utils/isBrowser");
Object.defineProperty(exports, "isBrowser", { enumerable: true, get: function () { return isBrowser_1.default; } });
Object.defineProperty(exports, "isBrowser", { enumerable: true, get: function () { return __importDefault(isBrowser_1).default; } });
var isTouchDevice_1 = require("./utils/isTouchDevice");
Object.defineProperty(exports, "isTouchDevice", { enumerable: true, get: function () { return isTouchDevice_1.default; } });
Object.defineProperty(exports, "isTouchDevice", { enumerable: true, get: function () { return __importDefault(isTouchDevice_1).default; } });
var lineClamp_1 = require("./utils/lineClamp");
Object.defineProperty(exports, "lineClamp", { enumerable: true, get: function () { return lineClamp_1.default; } });
Object.defineProperty(exports, "lineClamp", { enumerable: true, get: function () { return __importDefault(lineClamp_1).default; } });
var media_1 = require("./utils/media");
Object.defineProperty(exports, "m", { enumerable: true, get: function () { return media_1.default; } });
Object.defineProperty(exports, "m", { enumerable: true, get: function () { return __importDefault(media_1).default; } });
var omitProps_1 = require("./utils/omitProps");
Object.defineProperty(exports, "omitProps", { enumerable: true, get: function () { return omitProps_1.default; } });
Object.defineProperty(exports, "omitProps", { enumerable: true, get: function () { return __importDefault(omitProps_1).default; } });
var paddingHorizontal_1 = require("./utils/paddingHorizontal");
Object.defineProperty(exports, "paddingHorizontal", { enumerable: true, get: function () { return paddingHorizontal_1.default; } });
Object.defineProperty(exports, "paddingHorizontal", { enumerable: true, get: function () { return __importDefault(paddingHorizontal_1).default; } });
var resetButton_1 = require("./utils/resetButton");
Object.defineProperty(exports, "resetButton", { enumerable: true, get: function () { return resetButton_1.default; } });
Object.defineProperty(exports, "resetButton", { enumerable: true, get: function () { return __importDefault(resetButton_1).default; } });
var resetFocus_1 = require("./utils/resetFocus");
Object.defineProperty(exports, "resetFocus", { enumerable: true, get: function () { return resetFocus_1.default; } });
Object.defineProperty(exports, "resetFocus", { enumerable: true, get: function () { return __importDefault(resetFocus_1).default; } });
var resetUl_1 = require("./utils/resetUl");
Object.defineProperty(exports, "resetUl", { enumerable: true, get: function () { return resetUl_1.default; } });
Object.defineProperty(exports, "resetUl", { enumerable: true, get: function () { return __importDefault(resetUl_1).default; } });
var sizing_1 = require("./utils/sizing");
Object.defineProperty(exports, "sizing", { enumerable: true, get: function () { return sizing_1.default; } });
Object.defineProperty(exports, "sizing", { enumerable: true, get: function () { return __importDefault(sizing_1).default; } });
var throttling_1 = require("./utils/throttling");
Object.defineProperty(exports, "throttling", { enumerable: true, get: function () { return throttling_1.default; } });
Object.defineProperty(exports, "throttling", { enumerable: true, get: function () { return __importDefault(throttling_1).default; } });
var transition_1 = require("./utils/transition");
Object.defineProperty(exports, "transition", { enumerable: true, get: function () { return transition_1.default; } });
Object.defineProperty(exports, "transition", { enumerable: true, get: function () { return __importDefault(transition_1).default; } });
var useBodyFontSize_1 = require("./utils/useBodyFontSize");
Object.defineProperty(exports, "useBodyFontSize", { enumerable: true, get: function () { return useBodyFontSize_1.default; } });
Object.defineProperty(exports, "useBodyFontSize", { enumerable: true, get: function () { return __importDefault(useBodyFontSize_1).default; } });
var useEventListener_1 = require("./utils/useEventListener");
Object.defineProperty(exports, "useEventListener", { enumerable: true, get: function () { return useEventListener_1.default; } });
Object.defineProperty(exports, "useEventListener", { enumerable: true, get: function () { return __importDefault(useEventListener_1).default; } });
var useIsMaxWidth_1 = require("./utils/useIsMaxWidth");
Object.defineProperty(exports, "useIsMaxWidth", { enumerable: true, get: function () { return useIsMaxWidth_1.default; } });
Object.defineProperty(exports, "useIsMaxWidth", { enumerable: true, get: function () { return __importDefault(useIsMaxWidth_1).default; } });
var useIsMinWidth_1 = require("./utils/useIsMinWidth");
Object.defineProperty(exports, "useIsMinWidth", { enumerable: true, get: function () { return useIsMinWidth_1.default; } });
Object.defineProperty(exports, "useIsMinWidth", { enumerable: true, get: function () { return __importDefault(useIsMinWidth_1).default; } });
var useIsWidth_1 = require("./utils/useIsWidth");
Object.defineProperty(exports, "useIsWidth", { enumerable: true, get: function () { return useIsWidth_1.default; } });
Object.defineProperty(exports, "useIsWidth", { enumerable: true, get: function () { return __importDefault(useIsWidth_1).default; } });
var usePrevious_1 = require("./utils/usePrevious");
Object.defineProperty(exports, "usePrevious", { enumerable: true, get: function () { return usePrevious_1.default; } });
Object.defineProperty(exports, "usePrevious", { enumerable: true, get: function () { return __importDefault(usePrevious_1).default; } });
var useWindowSize_1 = require("./utils/useWindowSize");
Object.defineProperty(exports, "useWindowSize", { enumerable: true, get: function () { return useWindowSize_1.default; } });
Object.defineProperty(exports, "useWindowSize", { enumerable: true, get: function () { return __importDefault(useWindowSize_1).default; } });
__exportStar(require("./utils/color"), exports);

@@ -63,0 +67,0 @@ __exportStar(require("./utils/darkMode"), exports);

{
"name": "@os-design/utils",
"version": "0.0.26",
"version": "0.0.27",
"license": "UNLICENSED",

@@ -19,3 +19,3 @@ "main": "lib/index.js",

"dependencies": {
"@emotion/core": "^10.0.34",
"@emotion/core": "^10.0.35",
"facepaint": "^1.2.1"

@@ -26,3 +26,3 @@ },

},
"gitHead": "9fe627d66c0ddcdd5fab5ab0185ff6e7d209d4df"
"gitHead": "5581d2d74ee783d4b2407f95f496ad23e42a70f0"
}

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