@raiadrogasil/pulso-tokens
Advanced tools
Comparing version 2.0.1 to 2.1.0-alpha.1
export type FontFamilyType = "global" | "highlight"; | ||
export type FontFamilyTokens = { | ||
[key in FontFamilyType as `fontFamily${Capitalize<FontFamilyType>}`]: string; | ||
fontFamilyHighlight: string; | ||
fontFamilyGlobal: "Open Sans"; | ||
}; | ||
@@ -24,4 +25,6 @@ | ||
export type Weight = "300" | "400" | "500" | "600" | "700" | "800" | "900"; | ||
export type FontWeightTokens = { | ||
[key in FontWeightType as `fontWeight${Capitalize<FontWeightType>}`]: string; | ||
[key in FontWeightType as `fontWeight${Capitalize<FontWeightType>}`]: Weight; | ||
}; | ||
@@ -32,3 +35,3 @@ | ||
export type GlobalFontWeightTokens = { | ||
[key in GlobalFontWeightType as `globalFontWeight${Capitalize<GlobalFontWeightType>}`]: string; | ||
[key in GlobalFontWeightType as `globalFontWeight${Capitalize<GlobalFontWeightType>}`]: Weight; | ||
}; | ||
@@ -35,0 +38,0 @@ |
24
index.js
@@ -1,14 +0,10 @@ | ||
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WHITELABEL_TOKENS = exports.ONOFRE_TOKENS = exports.DROGASIL_TOKENS = exports.DROGA_RAIA_TOKENS = void 0; | ||
var drogaraia_common_1 = require("./drogaraia.common"); | ||
Object.defineProperty(exports, "DROGA_RAIA_TOKENS", { enumerable: true, get: function () { return __importDefault(drogaraia_common_1).default; } }); | ||
var drogasil_common_1 = require("./drogasil.common"); | ||
Object.defineProperty(exports, "DROGASIL_TOKENS", { enumerable: true, get: function () { return __importDefault(drogasil_common_1).default; } }); | ||
var onofre_common_1 = require("./onofre.common"); | ||
Object.defineProperty(exports, "ONOFRE_TOKENS", { enumerable: true, get: function () { return __importDefault(onofre_common_1).default; } }); | ||
var whitelabel_common_1 = require("./whitelabel.common"); | ||
Object.defineProperty(exports, "WHITELABEL_TOKENS", { enumerable: true, get: function () { return __importDefault(whitelabel_common_1).default; } }); | ||
export * from "./border.tokens.d.ts"; | ||
export * from "./color.tokens.d.ts"; | ||
export * from "./font.tokens.d.ts"; | ||
export * from "./spacing.tokens.d.ts"; | ||
export * from "./tokens.d.ts"; | ||
export { default as DROGA_RAIA_TOKENS } from "./drogaraia.common"; | ||
export { default as DROGASIL_TOKENS } from "./drogasil.common"; | ||
export { default as ONOFRE_TOKENS } from "./onofre.common"; | ||
export { default as WHITELABEL_TOKENS } from "./whitelabel.common"; |
@@ -8,7 +8,6 @@ { | ||
}, | ||
"version": "2.0.1", | ||
"version": "2.1.0-alpha.1", | ||
"description": "Pacote de Tokens Design System da RD.", | ||
"main": "./index.js", | ||
"types": "./index.d.ts", | ||
"license": "MIT" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
216949
2646
2