New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ui-box

Package Overview
Dependencies
Maintainers
145
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ui-box - npm Package Compare versions

Comparing version 3.0.3 to 3.1.0

7

dist/enhancers/layout.js

@@ -8,2 +8,3 @@ "use strict";

const get_css_1 = __importDefault(require("../get-css"));
const get_class_name_1 = require("../get-class-name");
exports.propTypes = {

@@ -55,5 +56,5 @@ boxSizing: prop_types_1.default.string,

clearfix: () => ({
className: 'ub-clearfix',
className: `${get_class_name_1.getClassNamePrefix()}clearfix`,
styles: `
.ub-clearfix:before, .ub-clearfix:after {
.${get_class_name_1.getClassNamePrefix()}clearfix:before, .${get_class_name_1.getClassNamePrefix()}clearfix:after {
display: table;

@@ -68,2 +69,2 @@ clear: both;

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2VuaGFuY2Vycy9sYXlvdXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw0REFBa0M7QUFDbEMseURBQStCO0FBR2xCLFFBQUEsU0FBUyxHQUFxQjtJQUN6QyxTQUFTLEVBQUUsb0JBQVMsQ0FBQyxNQUFNO0lBQzNCLEtBQUssRUFBRSxvQkFBUyxDQUFDLE1BQU07SUFDdkIsUUFBUSxFQUFFLG9CQUFTLENBQUMsSUFBSTtJQUN4QixPQUFPLEVBQUUsb0JBQVMsQ0FBQyxNQUFNO0lBQ3pCLEtBQUssRUFBRSxvQkFBUyxDQUFDLE1BQU07SUFDdkIsTUFBTSxFQUFFLG9CQUFTLENBQUMsU0FBUyxDQUFDLENBQUMsb0JBQVMsQ0FBQyxNQUFNLEVBQUUsb0JBQVMsQ0FBQyxNQUFNLENBQUMsQ0FBQzt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DMUMsU0FBUyxFQUFFLENBQUMsS0FBNEIsRUFBRSxFQUFFLENBQUMsaUJBQU0sQ0FBQyxTQUFTLEVBQUUsS0FBSyxDQUFDO0lBQ3JFLEtBQUssRUFBRSxDQUFDLEtBQTRCLEVBQUUsRUFBRSxDQUFDLGlCQUFNLENBQUMsS0FBSyxFQUFFLEtBQUssQ0FBQztJQUM3RCxRQUFRLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQztRQUNmLFNBQVMsRUFBRSxHQUFHLG1DQUFrQixFQUFFLFVBQVU7UUFDNUMsTUFBTSxFQUFFO0dBQ1QsbUNBQWtCLEVBQUUscUJBQXFCLG1DQUFrQixFQUFFOzs7O0VBSTlEO0tBQ0MsQ0FBQztJQUNGLE9BQU8sRUFBRSxDQUFDLEtBQTRCLEVBQUUsRUFBRSxDQUFDLGlCQUFNLENBQUMsT0FBTyxFQUFFLEtBQUssQ0FBQztJQUNqRSxLQUFLLEVBQUUsQ0FBQyxLQUE0QixFQUFFLEVBQUUsQ0FBQyxpQkFBTSxDQUFDLEtBQUssRUFBRSxLQUFLLENBQUM7SUFDN0QsTUFBTSxFQUFFLENBQUMsS0FBNEIsRUFBRSxFQUFFLENBQUMsaUJBQU0sQ0FBQyxNQUFNLEVBQUUsS0FBSyxDQUFDO0NBQ2hFLENBQUEifQ==

@@ -0,1 +1,3 @@

export declare function getClassNamePrefix(): string;
export declare function setClassNamePrefix(prefix: string): void;
export interface PropertyInfo {

@@ -2,0 +4,0 @@ className?: string;

@@ -8,2 +8,11 @@ "use strict";

const get_safe_value_1 = __importDefault(require("./get-safe-value"));
let PREFIX = 'ub-';
function getClassNamePrefix() {
return PREFIX;
}
exports.getClassNamePrefix = getClassNamePrefix;
function setClassNamePrefix(prefix) {
PREFIX = prefix;
}
exports.setClassNamePrefix = setClassNamePrefix;
/**

@@ -33,5 +42,5 @@ * Generates the class name.

}
return `ub-${className}_${valueKey}`;
return `${PREFIX}${className}_${valueKey}`;
}
exports.default = getClassName;
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DQUFBO0tBQy9CO0lBRUQsT0FBTyxHQUFHLE1BQU0sR0FBRyxTQUFTLElBQUksUUFBUSxFQUFFLENBQUE7QUFDNUMsQ0FBQztBQXZCRCwrQkF1QkMifQ==

@@ -5,2 +5,3 @@ import * as cache from './cache';

export { default as splitBoxProps } from './utils/split-box-props';
export { setClassNamePrefix } from './get-class-name';
export { background, borderRadius, borders, boxShadow, dimensions, flex, interaction, layout, list, opacity, overflow, position, spacing, text, transform, propTypes, propNames, propAliases, propEnhancers } from './enhancers/index';

@@ -7,0 +8,0 @@ export declare const hydrate: typeof cache.hydrate;

@@ -18,2 +18,4 @@ "use strict";

exports.splitBoxProps = split_box_props_1.default;
var get_class_name_1 = require("./get-class-name");
exports.setClassNamePrefix = get_class_name_1.setClassNamePrefix;
var index_1 = require("./enhancers/index");

@@ -54,2 +56,2 @@ exports.background = index_1.background;

exports.clearStyles = clearStyles;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBLCtDQUFnQztBQUNoQyxpREFBa0M7QUFFbEMsNkJBQTZCO0FBQXJCLHdCQUFBLE9BQU8sQ0FBQTtBQUNmLG1EQUF5RDtBQUFqRCxtQ0FBQSxPQUFPLENBQWM7QUFDN0IsMkRBQWdFO0FBQXhELDBDQUFBLE9BQU8sQ0FBaUI7QUFFaEMsMkNBb0IwQjtBQW5CeEIsNkJBQUEsVUFBVSxDQUFBO0FBQ1YsK0JBQUEsWUFBWSxDQUFBO0FBQ1osMEJBQUEsT0FBTyxDQUFBO0FBQ1AsNEJBQUEsU0FBUyxDQUFBO0FBQ1QsNkJBQUEsVUFBVSxDQUFBO0FBQ1YsdUJBQUEsSUFBSSxDQUFBO0FBQ0osOEJBQUEsV0FBVyxDQUFBO0FBQ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0FBSyxFQUFFLENBQUE7SUFDYixNQUFNLENBQUMsS0FBSyxFQUFFLENBQUE7QUFDaEIsQ0FBQztBQUhELGtDQUdDIn0=
{
"name": "ui-box",
"version": "3.0.3",
"version": "3.1.0",
"description": "Blazing Fast React UI Primitive",

@@ -29,3 +29,3 @@ "contributors": [

"build-storybook": "build-storybook -s .storybook/static -o .out",
"release": "np --no-publish",
"release": "np",
"benchmark": "echo ui-box && react-benchmark tools/benchmarks/box.js",

@@ -32,0 +32,0 @@ "size": "size-limit",

@@ -300,2 +300,11 @@ <div align="center">

### Classname prefix
By default `ui-box` uses `ub-` as the classname prefix before all ui-box generated classnames. You can alter this by using `setClassNamePrefix('whatever-you-want-')`. Note that the delimiter is included in the prefix... this is to support backwards compatibility with the old classnames (< v3), which you can achieve using something like this:
```js
import { setClassNamePrefix } from 'ui-box'
setClassNamePrefix('📦')
```
### Server side rendering

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