@medusajs/admin-bundler 2.22.3-snapshot-20261030141225 → 2.22.3
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/dist/index.js +39 -18
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -34,9 +34,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
));
|
|
35
35
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
36
|
|
|
37
|
-
//
|
|
37
|
+
// ../../design-system/ui-preset/node_modules/tailwindcss-animate/index.js
|
|
38
38
|
var require_tailwindcss_animate = __commonJS({
|
|
39
|
-
"
|
|
39
|
+
"../../design-system/ui-preset/node_modules/tailwindcss-animate/index.js"(exports2, module2) {
|
|
40
40
|
"use strict";
|
|
41
41
|
var plugin2 = require("tailwindcss/plugin");
|
|
42
42
|
function filterDefault(values) {
|
|
@@ -272,6 +272,24 @@ var require_dist = __commonJS({
|
|
|
272
272
|
};
|
|
273
273
|
var FONT_FAMILY_SANS = ["Inter", ...tailwindFontFamily.sans];
|
|
274
274
|
var FONT_FAMILY_MONO = ["Roboto Mono", ...tailwindFontFamily.mono];
|
|
275
|
+
var TRANSITION_PROPERTY_FG = "color, background-color, border-color, box-shadow, opacity";
|
|
276
|
+
var KEYFRAMES = {
|
|
277
|
+
"accordion-down": {
|
|
278
|
+
from: { height: "0px" },
|
|
279
|
+
to: { height: "var(--radix-accordion-content-height)" }
|
|
280
|
+
},
|
|
281
|
+
"accordion-up": {
|
|
282
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
283
|
+
to: { height: "0px" }
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
var ANIMATION = {
|
|
287
|
+
"accordion-down": "accordion-down 0.2s ease-out",
|
|
288
|
+
"accordion-up": "accordion-up 0.2s ease-out"
|
|
289
|
+
};
|
|
290
|
+
var BORDER_RADIUS = {
|
|
291
|
+
xs: "0.125rem"
|
|
292
|
+
};
|
|
275
293
|
var theme = {
|
|
276
294
|
"extend": {
|
|
277
295
|
"colors": {
|
|
@@ -1068,15 +1086,29 @@ var require_dist = __commonJS({
|
|
|
1068
1086
|
}
|
|
1069
1087
|
};
|
|
1070
1088
|
var plugin_default = (0, import_plugin2.default)(
|
|
1071
|
-
function medusaUi({ addBase, addComponents, config }) {
|
|
1089
|
+
function medusaUi({ addBase, addComponents, addUtilities, config, ...api }) {
|
|
1072
1090
|
const [darkMode, className = ".dark"] = [].concat(
|
|
1073
1091
|
config("darkMode", "media")
|
|
1074
1092
|
);
|
|
1075
1093
|
addBase({
|
|
1076
1094
|
"*": {
|
|
1077
1095
|
borderColor: "var(--border-base)"
|
|
1096
|
+
},
|
|
1097
|
+
'button:not(:disabled), [role="button"]:not(:disabled)': {
|
|
1098
|
+
cursor: "pointer"
|
|
1078
1099
|
}
|
|
1079
1100
|
});
|
|
1101
|
+
if ("corePlugins" in api) {
|
|
1102
|
+
addUtilities({
|
|
1103
|
+
".outline-hidden": {
|
|
1104
|
+
outlineStyle: "none",
|
|
1105
|
+
"@media (forced-colors: active)": {
|
|
1106
|
+
outline: "2px solid transparent",
|
|
1107
|
+
outlineOffset: "2px"
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1080
1112
|
addComponents(typography);
|
|
1081
1113
|
addBase({
|
|
1082
1114
|
":root": { ...colors.light, ...effects.light },
|
|
@@ -1099,27 +1131,16 @@ var require_dist = __commonJS({
|
|
|
1099
1131
|
theme: {
|
|
1100
1132
|
extend: {
|
|
1101
1133
|
...theme.extend,
|
|
1134
|
+
borderRadius: BORDER_RADIUS,
|
|
1102
1135
|
fontFamily: {
|
|
1103
1136
|
sans: FONT_FAMILY_SANS,
|
|
1104
1137
|
mono: FONT_FAMILY_MONO
|
|
1105
1138
|
},
|
|
1106
1139
|
transitionProperty: {
|
|
1107
|
-
fg:
|
|
1140
|
+
fg: TRANSITION_PROPERTY_FG
|
|
1108
1141
|
},
|
|
1109
|
-
keyframes:
|
|
1110
|
-
|
|
1111
|
-
from: { height: "0px" },
|
|
1112
|
-
to: { height: "var(--radix-accordion-content-height)" }
|
|
1113
|
-
},
|
|
1114
|
-
"accordion-up": {
|
|
1115
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
1116
|
-
to: { height: "0px" }
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
animation: {
|
|
1120
|
-
"accordion-down": "accordion-down 0.2s ease-out",
|
|
1121
|
-
"accordion-up": "accordion-up 0.2s ease-out"
|
|
1122
|
-
}
|
|
1142
|
+
keyframes: KEYFRAMES,
|
|
1143
|
+
animation: ANIMATION
|
|
1123
1144
|
}
|
|
1124
1145
|
}
|
|
1125
1146
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/admin-bundler",
|
|
3
|
-
"version": "2.22.3
|
|
3
|
+
"version": "2.22.3",
|
|
4
4
|
"description": "Bundler for the Medusa admin dashboard.",
|
|
5
5
|
"author": "Kasper Kristensen <kasper@medusajs.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
"llmsFull": "https://docs.medusajs.com/llms-full.txt",
|
|
26
26
|
"mcpServer": "https://docs.medusajs.com/mcp",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@medusajs/types": "2.22.3
|
|
28
|
+
"@medusajs/types": "2.22.3"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@medusajs/admin-shared": "2.22.3
|
|
32
|
-
"@medusajs/admin-vite-plugin": "2.22.3
|
|
33
|
-
"@medusajs/dashboard": "2.22.3
|
|
31
|
+
"@medusajs/admin-shared": "2.22.3",
|
|
32
|
+
"@medusajs/admin-vite-plugin": "2.22.3",
|
|
33
|
+
"@medusajs/dashboard": "2.22.3",
|
|
34
34
|
"@vitejs/plugin-react": "^5.2.0",
|
|
35
35
|
"autoprefixer": "^10.6.1",
|
|
36
36
|
"compression": "^1.8.2",
|
|
37
37
|
"express": "^4.21.0",
|
|
38
38
|
"get-port": "^7.2.0",
|
|
39
|
-
"glob": "
|
|
39
|
+
"glob": "14.0.2",
|
|
40
40
|
"outdent": "^0.8.0",
|
|
41
41
|
"postcss": "^8.5.10",
|
|
42
42
|
"tailwindcss": "^3.4.3",
|