postcss-preset-mantine
Advanced tools
Comparing version 1.12.0 to 1.12.1
@@ -18,3 +18,6 @@ "use strict"; | ||
} | ||
const payload = Number(color.slice(lastCommaIndex + 1)); | ||
const rawPayload = color.slice(lastCommaIndex + 1).trim(); | ||
const payload = rawPayload.endsWith('%') | ||
? Number(rawPayload.slice(0, -1)) / 100 | ||
: Number(color.slice(lastCommaIndex + 1)); | ||
if (Number.isNaN(payload)) { | ||
@@ -21,0 +24,0 @@ return null; |
{ | ||
"name": "postcss-preset-mantine", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"description": "PostCSS preset for Mantine (7.0+) applications", | ||
@@ -15,17 +15,27 @@ "main": "dist/preset.js", | ||
"devDependencies": { | ||
"@types/fs-extra": "^11", | ||
"@types/jest": "^29.5.2", | ||
"@types/node": "^20.3.1", | ||
"@types/postcss-mixins": "^9.0.0", | ||
"@types/signale": "^1", | ||
"@typescript-eslint/eslint-plugin": "^5.60.0", | ||
"@typescript-eslint/parser": "^5.60.0", | ||
"eslint": "^8.43.0", | ||
"esno": "^4.0.0", | ||
"execa": "^8.0.1", | ||
"fs-extra": "^11.2.0", | ||
"jest": "^29.5.0", | ||
"new-github-release-url": "^2.0.0", | ||
"open": "^10.0.0", | ||
"postcss": "^8.4.24", | ||
"prettier": "^2.8.8", | ||
"signale": "^1.4.0", | ||
"simple-git": "^3.21.0", | ||
"ts-jest": "^29.1.0", | ||
"tsc": "^2.0.4", | ||
"typescript": "^5.1.3" | ||
"typescript": "^5.1.3", | ||
"version-next": "^1.0.2" | ||
}, | ||
"scripts": { | ||
"build": "tsc --project tsconfig.json && echo 'declare module \"postcss-preset-mantine\";' > dist/index.d.ts", | ||
"build": "tsc --project tsconfig.build.json && echo 'declare module \"postcss-preset-mantine\";' > dist/index.d.ts", | ||
"lint": "eslint src --cache", | ||
@@ -37,7 +47,9 @@ "format": "prettier src", | ||
"prepublish": "yarn test && yarn build", | ||
"test": "npm run lint && npm run format:check && npm run typecheck && npm run jest" | ||
"test": "npm run lint && npm run format:check && npm run typecheck && npm run jest", | ||
"clean": "rm -rf dist", | ||
"release": "esno scripts/release" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:rtivital/postcss-preset-mantine.git" | ||
"url": "git@github.com:mantinedev/postcss-preset-mantine.git" | ||
}, | ||
@@ -44,0 +56,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17
31506
22
435