@trackunit/css-tailwind 1.4.33 → 1.4.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/css-tailwind",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.37",
|
|
4
4
|
"main": "./index.cjs.js",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tailwindcss": "3.4.3",
|
|
12
|
-
"@trackunit/css-component-tokens": "1.4.
|
|
13
|
-
"@trackunit/css-tailwind-custom-properties-plugin": "1.4.
|
|
14
|
-
"@trackunit/ui-design-tokens": "1.4.
|
|
15
|
-
"@trackunit/css-core": "1.4.
|
|
12
|
+
"@trackunit/css-component-tokens": "1.4.35",
|
|
13
|
+
"@trackunit/css-tailwind-custom-properties-plugin": "1.4.35",
|
|
14
|
+
"@trackunit/ui-design-tokens": "1.4.37",
|
|
15
|
+
"@trackunit/css-core": "1.4.35",
|
|
16
16
|
"@tailwindcss/typography": "^0.5.10"
|
|
17
17
|
},
|
|
18
18
|
"type": "commonjs",
|
|
19
|
-
"types": "./index.
|
|
19
|
+
"types": "./index.d.ts"
|
|
20
20
|
}
|
|
@@ -939,59 +939,84 @@ var require_lodash2 = __commonJS({
|
|
|
939
939
|
},
|
|
940
940
|
});
|
|
941
941
|
|
|
942
|
-
// node_modules/.store/picocolors-npm-1.
|
|
942
|
+
// node_modules/.store/picocolors-npm-1.1.1-4fede47cf1/node_modules/picocolors/picocolors.js
|
|
943
943
|
var require_picocolors = __commonJS({
|
|
944
|
-
"node_modules/.store/picocolors-npm-1.
|
|
944
|
+
"node_modules/.store/picocolors-npm-1.1.1-4fede47cf1/node_modules/picocolors/picocolors.js"(exports2, module2) {
|
|
945
945
|
"use strict";
|
|
946
|
-
var
|
|
946
|
+
var p = process || {};
|
|
947
|
+
var argv = p.argv || [];
|
|
948
|
+
var env = p.env || {};
|
|
947
949
|
var isColorSupported =
|
|
948
|
-
!(
|
|
949
|
-
(
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
(
|
|
953
|
-
|
|
950
|
+
!(!!env.NO_COLOR || argv.includes("--no-color")) &&
|
|
951
|
+
(!!env.FORCE_COLOR ||
|
|
952
|
+
argv.includes("--color") ||
|
|
953
|
+
p.platform === "win32" ||
|
|
954
|
+
((p.stdout || {}).isTTY && env.TERM !== "dumb") ||
|
|
955
|
+
!!env.CI);
|
|
954
956
|
var formatter =
|
|
955
957
|
(open, close, replace = open) =>
|
|
956
958
|
input => {
|
|
957
|
-
let string = "" + input
|
|
958
|
-
|
|
959
|
+
let string = "" + input,
|
|
960
|
+
index = string.indexOf(close, open.length);
|
|
959
961
|
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
|
|
960
962
|
};
|
|
961
963
|
var replaceClose = (string, close, replace, index) => {
|
|
962
|
-
let
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
964
|
+
let result = "",
|
|
965
|
+
cursor = 0;
|
|
966
|
+
do {
|
|
967
|
+
result += string.substring(cursor, index) + replace;
|
|
968
|
+
cursor = index + close.length;
|
|
969
|
+
index = string.indexOf(close, cursor);
|
|
970
|
+
} while (~index);
|
|
971
|
+
return result + string.substring(cursor);
|
|
972
|
+
};
|
|
973
|
+
var createColors = (enabled = isColorSupported) => {
|
|
974
|
+
let f = enabled ? formatter : () => String;
|
|
975
|
+
return {
|
|
976
|
+
isColorSupported: enabled,
|
|
977
|
+
reset: f("\x1B[0m", "\x1B[0m"),
|
|
978
|
+
bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
979
|
+
dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
980
|
+
italic: f("\x1B[3m", "\x1B[23m"),
|
|
981
|
+
underline: f("\x1B[4m", "\x1B[24m"),
|
|
982
|
+
inverse: f("\x1B[7m", "\x1B[27m"),
|
|
983
|
+
hidden: f("\x1B[8m", "\x1B[28m"),
|
|
984
|
+
strikethrough: f("\x1B[9m", "\x1B[29m"),
|
|
985
|
+
black: f("\x1B[30m", "\x1B[39m"),
|
|
986
|
+
red: f("\x1B[31m", "\x1B[39m"),
|
|
987
|
+
green: f("\x1B[32m", "\x1B[39m"),
|
|
988
|
+
yellow: f("\x1B[33m", "\x1B[39m"),
|
|
989
|
+
blue: f("\x1B[34m", "\x1B[39m"),
|
|
990
|
+
magenta: f("\x1B[35m", "\x1B[39m"),
|
|
991
|
+
cyan: f("\x1B[36m", "\x1B[39m"),
|
|
992
|
+
white: f("\x1B[37m", "\x1B[39m"),
|
|
993
|
+
gray: f("\x1B[90m", "\x1B[39m"),
|
|
994
|
+
bgBlack: f("\x1B[40m", "\x1B[49m"),
|
|
995
|
+
bgRed: f("\x1B[41m", "\x1B[49m"),
|
|
996
|
+
bgGreen: f("\x1B[42m", "\x1B[49m"),
|
|
997
|
+
bgYellow: f("\x1B[43m", "\x1B[49m"),
|
|
998
|
+
bgBlue: f("\x1B[44m", "\x1B[49m"),
|
|
999
|
+
bgMagenta: f("\x1B[45m", "\x1B[49m"),
|
|
1000
|
+
bgCyan: f("\x1B[46m", "\x1B[49m"),
|
|
1001
|
+
bgWhite: f("\x1B[47m", "\x1B[49m"),
|
|
1002
|
+
blackBright: f("\x1B[90m", "\x1B[39m"),
|
|
1003
|
+
redBright: f("\x1B[91m", "\x1B[39m"),
|
|
1004
|
+
greenBright: f("\x1B[92m", "\x1B[39m"),
|
|
1005
|
+
yellowBright: f("\x1B[93m", "\x1B[39m"),
|
|
1006
|
+
blueBright: f("\x1B[94m", "\x1B[39m"),
|
|
1007
|
+
magentaBright: f("\x1B[95m", "\x1B[39m"),
|
|
1008
|
+
cyanBright: f("\x1B[96m", "\x1B[39m"),
|
|
1009
|
+
whiteBright: f("\x1B[97m", "\x1B[39m"),
|
|
1010
|
+
bgBlackBright: f("\x1B[100m", "\x1B[49m"),
|
|
1011
|
+
bgRedBright: f("\x1B[101m", "\x1B[49m"),
|
|
1012
|
+
bgGreenBright: f("\x1B[102m", "\x1B[49m"),
|
|
1013
|
+
bgYellowBright: f("\x1B[103m", "\x1B[49m"),
|
|
1014
|
+
bgBlueBright: f("\x1B[104m", "\x1B[49m"),
|
|
1015
|
+
bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
|
|
1016
|
+
bgCyanBright: f("\x1B[106m", "\x1B[49m"),
|
|
1017
|
+
bgWhiteBright: f("\x1B[107m", "\x1B[49m"),
|
|
1018
|
+
};
|
|
966
1019
|
};
|
|
967
|
-
var createColors = (enabled = isColorSupported) => ({
|
|
968
|
-
isColorSupported: enabled,
|
|
969
|
-
reset: enabled ? s => `\x1B[0m${s}\x1B[0m` : String,
|
|
970
|
-
bold: enabled ? formatter("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m") : String,
|
|
971
|
-
dim: enabled ? formatter("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m") : String,
|
|
972
|
-
italic: enabled ? formatter("\x1B[3m", "\x1B[23m") : String,
|
|
973
|
-
underline: enabled ? formatter("\x1B[4m", "\x1B[24m") : String,
|
|
974
|
-
inverse: enabled ? formatter("\x1B[7m", "\x1B[27m") : String,
|
|
975
|
-
hidden: enabled ? formatter("\x1B[8m", "\x1B[28m") : String,
|
|
976
|
-
strikethrough: enabled ? formatter("\x1B[9m", "\x1B[29m") : String,
|
|
977
|
-
black: enabled ? formatter("\x1B[30m", "\x1B[39m") : String,
|
|
978
|
-
red: enabled ? formatter("\x1B[31m", "\x1B[39m") : String,
|
|
979
|
-
green: enabled ? formatter("\x1B[32m", "\x1B[39m") : String,
|
|
980
|
-
yellow: enabled ? formatter("\x1B[33m", "\x1B[39m") : String,
|
|
981
|
-
blue: enabled ? formatter("\x1B[34m", "\x1B[39m") : String,
|
|
982
|
-
magenta: enabled ? formatter("\x1B[35m", "\x1B[39m") : String,
|
|
983
|
-
cyan: enabled ? formatter("\x1B[36m", "\x1B[39m") : String,
|
|
984
|
-
white: enabled ? formatter("\x1B[37m", "\x1B[39m") : String,
|
|
985
|
-
gray: enabled ? formatter("\x1B[90m", "\x1B[39m") : String,
|
|
986
|
-
bgBlack: enabled ? formatter("\x1B[40m", "\x1B[49m") : String,
|
|
987
|
-
bgRed: enabled ? formatter("\x1B[41m", "\x1B[49m") : String,
|
|
988
|
-
bgGreen: enabled ? formatter("\x1B[42m", "\x1B[49m") : String,
|
|
989
|
-
bgYellow: enabled ? formatter("\x1B[43m", "\x1B[49m") : String,
|
|
990
|
-
bgBlue: enabled ? formatter("\x1B[44m", "\x1B[49m") : String,
|
|
991
|
-
bgMagenta: enabled ? formatter("\x1B[45m", "\x1B[49m") : String,
|
|
992
|
-
bgCyan: enabled ? formatter("\x1B[46m", "\x1B[49m") : String,
|
|
993
|
-
bgWhite: enabled ? formatter("\x1B[47m", "\x1B[49m") : String,
|
|
994
|
-
});
|
|
995
1020
|
module2.exports = createColors();
|
|
996
1021
|
module2.exports.createColors = createColors;
|
|
997
1022
|
},
|
|
File without changes
|