@trackunit/css-tailwind 1.10.27 → 1.11.7
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 +5 -5
- package/tailwind-base.generated.js +29 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/css-tailwind",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.7",
|
|
4
4
|
"main": "./index.cjs.js",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tailwindcss": "3.4.3",
|
|
12
|
-
"@trackunit/css-component-tokens": "1.
|
|
13
|
-
"@trackunit/css-tailwind-custom-properties-plugin": "1.
|
|
14
|
-
"@trackunit/ui-design-tokens": "1.
|
|
15
|
-
"@trackunit/css-core": "1.
|
|
12
|
+
"@trackunit/css-component-tokens": "1.11.6",
|
|
13
|
+
"@trackunit/css-tailwind-custom-properties-plugin": "1.11.6",
|
|
14
|
+
"@trackunit/ui-design-tokens": "1.11.7",
|
|
15
|
+
"@trackunit/css-core": "1.11.7",
|
|
16
16
|
"@tailwindcss/typography": "^0.5.10"
|
|
17
17
|
},
|
|
18
18
|
"type": "commonjs",
|
|
@@ -7503,34 +7503,6 @@ var themeBorderRadius = {
|
|
|
7503
7503
|
full: "9999px",
|
|
7504
7504
|
};
|
|
7505
7505
|
|
|
7506
|
-
// libs/ui/design-tokens/src/tokens/utils/getHEX.ts
|
|
7507
|
-
function componentToHex(c) {
|
|
7508
|
-
if (c === null || c === void 0) {
|
|
7509
|
-
return "00";
|
|
7510
|
-
}
|
|
7511
|
-
const hex = c.toString(16);
|
|
7512
|
-
return hex.length === 1 ? "0" + hex : hex;
|
|
7513
|
-
}
|
|
7514
|
-
function rgbToHex(r, g, b) {
|
|
7515
|
-
if (isNaN(r) || isNaN(g) || isNaN(b)) {
|
|
7516
|
-
return "#000000";
|
|
7517
|
-
}
|
|
7518
|
-
return "#" + componentToHex(r) + componentToHex(g) + componentToHex(b);
|
|
7519
|
-
}
|
|
7520
|
-
var rgbStringToHex = colorString => {
|
|
7521
|
-
if (colorString.split(" ").length === 3) {
|
|
7522
|
-
const [r, g, b] = colorString.split(" ").map(Number);
|
|
7523
|
-
if (typeof r !== "number" || typeof g !== "number" || typeof b !== "number") {
|
|
7524
|
-
return "#000000";
|
|
7525
|
-
}
|
|
7526
|
-
if (isNaN(r) || isNaN(g) || isNaN(b)) {
|
|
7527
|
-
return "#000000";
|
|
7528
|
-
}
|
|
7529
|
-
return rgbToHex(r, g, b);
|
|
7530
|
-
}
|
|
7531
|
-
return "#000000";
|
|
7532
|
-
};
|
|
7533
|
-
|
|
7534
7506
|
// libs/ui/design-tokens/src/tokens/colors/tailwindPalette.ts
|
|
7535
7507
|
var tailwindPalette = {
|
|
7536
7508
|
slate: {
|
|
@@ -8127,6 +8099,34 @@ var themeColors = {
|
|
|
8127
8099
|
AM_UNSUPPORTED: { name: "am_unsupported", variants: trackunitPalette.AM_UNSUPPORTED, defaultVariant: 500 },
|
|
8128
8100
|
};
|
|
8129
8101
|
|
|
8102
|
+
// libs/ui/design-tokens/src/tokens/utils/getHEX.ts
|
|
8103
|
+
function componentToHex(c) {
|
|
8104
|
+
if (c === null || c === void 0) {
|
|
8105
|
+
return "00";
|
|
8106
|
+
}
|
|
8107
|
+
const hex = c.toString(16);
|
|
8108
|
+
return hex.length === 1 ? "0" + hex : hex;
|
|
8109
|
+
}
|
|
8110
|
+
function rgbToHex(r, g, b) {
|
|
8111
|
+
if (isNaN(r) || isNaN(g) || isNaN(b)) {
|
|
8112
|
+
return "#000000";
|
|
8113
|
+
}
|
|
8114
|
+
return "#" + componentToHex(r) + componentToHex(g) + componentToHex(b);
|
|
8115
|
+
}
|
|
8116
|
+
var rgbStringToHex = colorString => {
|
|
8117
|
+
if (colorString.split(" ").length === 3) {
|
|
8118
|
+
const [r, g, b] = colorString.split(" ").map(Number);
|
|
8119
|
+
if (typeof r !== "number" || typeof g !== "number" || typeof b !== "number") {
|
|
8120
|
+
return "#000000";
|
|
8121
|
+
}
|
|
8122
|
+
if (isNaN(r) || isNaN(g) || isNaN(b)) {
|
|
8123
|
+
return "#000000";
|
|
8124
|
+
}
|
|
8125
|
+
return rgbToHex(r, g, b);
|
|
8126
|
+
}
|
|
8127
|
+
return "#000000";
|
|
8128
|
+
};
|
|
8129
|
+
|
|
8130
8130
|
// libs/ui/design-tokens/src/tokens/chartColorsDefault.ts
|
|
8131
8131
|
var DEFAULT_CHART_OTHER = rgbStringToHex(tailwindPalette.gray[400]);
|
|
8132
8132
|
var DEFAULT_CHART_COLORS = [
|
|
@@ -8349,8 +8349,6 @@ var animations = {
|
|
|
8349
8349
|
"slide-in-bottom": "slideInBottom 0.2s ease-in-out forwards",
|
|
8350
8350
|
"ping-sm": "pingSm 1s cubic-bezier(0, 0, 0.2, 1) infinite",
|
|
8351
8351
|
"bg-scroll-br": "bgScrollBR 10s ease infinite",
|
|
8352
|
-
"modal-fade": "modalFade 0.3s ease-in-out 1 forwards",
|
|
8353
|
-
"modal-fade-fast": "modalFade 0.15s ease-in-out 1 forwards",
|
|
8354
8352
|
"fade-in-rising": "fadeInRising 0.2s ease-in",
|
|
8355
8353
|
"pulse-back": "pulseBack 4s infinite",
|
|
8356
8354
|
"widget-loader": "widgetLoaderRider 2s ease-in-out infinite",
|
|
@@ -8409,7 +8407,7 @@ var animations = {
|
|
|
8409
8407
|
fadeInRising: {
|
|
8410
8408
|
"0%": {
|
|
8411
8409
|
opacity: "0",
|
|
8412
|
-
transform: "translateY(
|
|
8410
|
+
transform: "translateY(8px)",
|
|
8413
8411
|
},
|
|
8414
8412
|
"100%": {
|
|
8415
8413
|
opacity: "1",
|