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

@warp-ds/uno

Package Overview
Dependencies
Maintainers
6
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@warp-ds/uno - npm Package Compare versions

Comparing version 1.0.0-alpha.20 to 1.0.0-alpha.21

src/_preflights/typography.js

3

package.json
{
"name": "@warp-ds/uno",
"repository": "git@github.com:warp-ds/drive.git",
"version": "1.0.0-alpha.20",
"version": "1.0.0-alpha.21",
"type": "module",

@@ -16,2 +16,3 @@ "exports": {

"#rules": "./src/_rules/index.js",
"#shortcuts": "./src/_shortcuts/index.js",
"#theme": "./src/theme.js",

@@ -18,0 +19,0 @@ "#variants": "./src/_variants/index.js",

import { twReset } from './tw-reset.js';
import { formPreflight } from './forms/export.js';
import { transformBase } from './transform.js';
import { typographyBase } from './typography.js';
export const preflights = [twReset, transformBase, formPreflight];
export const preflights = [twReset, transformBase, formPreflight, typographyBase];

@@ -23,2 +23,3 @@ import * as align from "./align.js";

import * as spacing from "./spacing.js";
import * as typography from "./typography.js";
import * as staticRules from "./static.js";

@@ -56,2 +57,3 @@ import * as transform from "./transform.js";

...transition,
...typography,
};

@@ -89,1 +91,2 @@

export * from "./transition.js";
export * from "./typography.js";

@@ -98,1 +98,23 @@ export const directionMap = {

];
// for backward compatible typography classes like text-12 or leading-16
export const textMap = {
12: 'xs',
14: 's',
16: 'm',
20: 'ml',
22: 'l',
28: 'xl',
34: 'xxl',
48: 'xxxl',
};
export const lineHeightMap = {
16: 'xs',
18: 's',
22: 'm',
26: 'ml',
28: 'l',
34: 'xl',
41: 'xxl',
56: 'xxxl',
};
export { useTheme } from '#theme';
export { rules } from '#rules';
export { variants } from '#variants';
export { shortcuts } from '#shortcuts';
import { preflights } from '#preflights';
import { rules } from '#rules';
import { shortcuts } from '#shortcuts';
import { variants } from '#variants';

@@ -30,2 +31,3 @@ import { useTheme } from '#theme';

postprocess: postprocess(externalizeClasses, externalClasses),
shortcuts,
};

@@ -32,0 +34,0 @@ }

Sorry, the diff of this file is too big to display

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