@trackunit/css-tailwind 0.0.66 → 0.0.69
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": "0.0.
|
|
3
|
+
"version": "0.0.69",
|
|
4
4
|
"main": "./index.cjs",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"types": "./src/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@trackunit/css-component-tokens": "0.0.30",
|
|
14
|
-
"@trackunit/css-core": "0.0.
|
|
14
|
+
"@trackunit/css-core": "0.0.86",
|
|
15
15
|
"@trackunit/css-tailwind-custom-properties-plugin": "0.0.22",
|
|
16
|
-
"@trackunit/ui-design-tokens": "0.0.
|
|
16
|
+
"@trackunit/ui-design-tokens": "0.0.70"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {}
|
|
19
19
|
}
|
|
@@ -58,9 +58,9 @@ var require_createPlugin = __commonJS({
|
|
|
58
58
|
enumerable: true,
|
|
59
59
|
get: () => _default
|
|
60
60
|
});
|
|
61
|
-
function createPlugin(
|
|
61
|
+
function createPlugin(plugin4, config) {
|
|
62
62
|
return {
|
|
63
|
-
handler:
|
|
63
|
+
handler: plugin4,
|
|
64
64
|
config
|
|
65
65
|
};
|
|
66
66
|
}
|
|
@@ -925,7 +925,8 @@ var animations = {
|
|
|
925
925
|
"slide-in-top": "slideInTop 0.2s ease-in-out forwards",
|
|
926
926
|
"slide-in-bottom": "slideInBottom 0.2s ease-in-out forwards",
|
|
927
927
|
"ping-sm": "pingSm 1s cubic-bezier(0, 0, 0.2, 1) infinite",
|
|
928
|
-
"bg-scroll-br": "bgScrollBR 10s ease infinite"
|
|
928
|
+
"bg-scroll-br": "bgScrollBR 10s ease infinite",
|
|
929
|
+
"fade-in-rising": "fadeInRising 0.2s ease-in"
|
|
929
930
|
},
|
|
930
931
|
keyframes: {
|
|
931
932
|
copy: {
|
|
@@ -969,6 +970,16 @@ var animations = {
|
|
|
969
970
|
transform: "scale(1.5)",
|
|
970
971
|
opacity: "0"
|
|
971
972
|
}
|
|
973
|
+
},
|
|
974
|
+
fadeInRising: {
|
|
975
|
+
"0%": {
|
|
976
|
+
opacity: "0",
|
|
977
|
+
transform: "translateY(50px)"
|
|
978
|
+
},
|
|
979
|
+
"100%": {
|
|
980
|
+
opacity: "1",
|
|
981
|
+
transform: "translateY(0)"
|
|
982
|
+
}
|
|
972
983
|
}
|
|
973
984
|
}
|
|
974
985
|
};
|
|
@@ -996,6 +1007,53 @@ var grids = {
|
|
|
996
1007
|
}
|
|
997
1008
|
};
|
|
998
1009
|
|
|
1010
|
+
// libs/css/tailwind/src/lib/plugin/layouts.ts
|
|
1011
|
+
var import_plugin4 = __toESM(require_plugin());
|
|
1012
|
+
var LayoutsPlugin = (0, import_plugin4.default)(({ addUtilities, addComponents }) => {
|
|
1013
|
+
addUtilities({
|
|
1014
|
+
".layout-row-height-auto": { "--row-height": "auto" },
|
|
1015
|
+
".layout-row-height-1fr": { "--row-height": "1fr" },
|
|
1016
|
+
".layout-occupation-fill": { "--occupation": "auto-fill" },
|
|
1017
|
+
".layout-occupation-fit": { "--occupation": "auto-fit" },
|
|
1018
|
+
".layout-min-col-equal": { "--min-column-width": "minmax(0, 1fr)" },
|
|
1019
|
+
".layout-min-col-xs": { "--min-column-width": "180px" },
|
|
1020
|
+
".layout-min-col-sm": { "--min-column-width": "260px" },
|
|
1021
|
+
".layout-min-col-md": { "--min-column-width": "340px" },
|
|
1022
|
+
".layout-min-col-lg": { "--min-column-width": "420px" },
|
|
1023
|
+
".layout-min-col-xl": { "--min-column-width": "540px" }
|
|
1024
|
+
});
|
|
1025
|
+
addComponents({
|
|
1026
|
+
".layout-area-topbar": {
|
|
1027
|
+
"grid-area": "topbar"
|
|
1028
|
+
},
|
|
1029
|
+
".layout-area-sidebar": {
|
|
1030
|
+
"grid-area": "sidebar"
|
|
1031
|
+
},
|
|
1032
|
+
".layout-area-content": {
|
|
1033
|
+
"grid-area": "content"
|
|
1034
|
+
},
|
|
1035
|
+
".layout-left-sidebar-grid": {
|
|
1036
|
+
display: "grid",
|
|
1037
|
+
"grid-template-rows": "min-content min-content auto",
|
|
1038
|
+
"grid-template-columns": "1fr",
|
|
1039
|
+
"grid-template-areas": "'topbar' 'sidebar' 'content'",
|
|
1040
|
+
"@media (min-width: 1600px)": {
|
|
1041
|
+
"grid-template-rows": "min-content auto",
|
|
1042
|
+
"grid-template-columns": "min-content auto",
|
|
1043
|
+
"grid-template-areas": "'topbar topbar' 'sidebar content'"
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
".layout-intrinsically-responsive-grid": {
|
|
1047
|
+
"--occupation": "auto-fit",
|
|
1048
|
+
"--min-column-width": "minmax(0, 1fr)",
|
|
1049
|
+
"--row-height": "1fr",
|
|
1050
|
+
display: "grid",
|
|
1051
|
+
"min-height": "100%",
|
|
1052
|
+
"grid-template-columns": "repeat(var(--occupation), minmax(min(var(--min-column-width), 100%), 1fr))"
|
|
1053
|
+
}
|
|
1054
|
+
});
|
|
1055
|
+
});
|
|
1056
|
+
|
|
999
1057
|
// libs/css/tailwind/src/lib/utilities/designTokensToTailwindConfig.ts
|
|
1000
1058
|
var designTokensToTailwindConfig = (name, designTokens) => {
|
|
1001
1059
|
const entries = Object.entries(designTokens).map(([key, value]) => [
|
|
@@ -1181,6 +1239,6 @@ var tailwindBaseConfig = {
|
|
|
1181
1239
|
}
|
|
1182
1240
|
}
|
|
1183
1241
|
},
|
|
1184
|
-
plugins: [CssTailwindCustomPropertiesPlugin, src_default]
|
|
1242
|
+
plugins: [CssTailwindCustomPropertiesPlugin, src_default, LayoutsPlugin]
|
|
1185
1243
|
};
|
|
1186
1244
|
var tailwind_base_default = tailwindBaseConfig;
|