@medusajs/ui-preset 2.4.0-snapshot-20250122092707 → 2.4.0-snapshot-20250123103326
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +5 -1
- package/dist/index.js +31 -3
- package/dist/index.mjs +32 -4
- package/package.json +2 -2
- package/src/constants.ts +31 -3
package/.turbo/turbo-build.log
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
[34mCLI[39m Cleaning output folder
|
7
7
|
[34mCJS[39m Build start
|
8
8
|
[34mESM[39m Build start
|
9
|
-
[32mCJS[39m [1mdist/index.js [22m[32m40.
|
10
|
-
[32mCJS[39m ⚡️ Build success in
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m44.
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
9
|
+
[32mCJS[39m [1mdist/index.js [22m[32m40.75 KB[39m
|
10
|
+
[32mCJS[39m ⚡️ Build success in 26ms
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m44.63 KB[39m
|
12
|
+
[32mESM[39m ⚡️ Build success in 27ms
|
13
13
|
[34mDTS[39m Build start
|
14
|
-
[32mDTS[39m ⚡️ Build success in
|
14
|
+
[32mDTS[39m ⚡️ Build success in 2332ms
|
15
15
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m12.00 B[39m
|
16
16
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m12.00 B[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# @medusajs/ui-preset
|
2
2
|
|
3
|
-
## 2.4.0-snapshot-
|
3
|
+
## 2.4.0-snapshot-20250123103326
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#11041](https://github.com/medusajs/medusa/pull/11041) [`909b685961ec43b35d74db2b158769d6ef33d5cf`](https://github.com/medusajs/medusa/commit/909b685961ec43b35d74db2b158769d6ef33d5cf) Thanks [@pnodet](https://github.com/pnodet)! - Remove tailwindcss/defaultTheme import
|
4
8
|
|
5
9
|
## 2.3.1
|
6
10
|
|
package/dist/index.js
CHANGED
@@ -26,9 +26,37 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
var import_plugin = __toESM(require("tailwindcss/plugin"));
|
27
27
|
|
28
28
|
// src/constants.ts
|
29
|
-
var
|
30
|
-
|
31
|
-
|
29
|
+
var tailwindFontFamily = {
|
30
|
+
sans: [
|
31
|
+
"ui-sans-serif",
|
32
|
+
"system-ui",
|
33
|
+
"sans-serif",
|
34
|
+
'"Apple Color Emoji"',
|
35
|
+
'"Segoe UI Emoji"',
|
36
|
+
'"Segoe UI Symbol"',
|
37
|
+
'"Noto Color Emoji"'
|
38
|
+
],
|
39
|
+
serif: [
|
40
|
+
"ui-serif",
|
41
|
+
"Georgia",
|
42
|
+
"Cambria",
|
43
|
+
'"Times New Roman"',
|
44
|
+
"Times",
|
45
|
+
"serif"
|
46
|
+
],
|
47
|
+
mono: [
|
48
|
+
"ui-monospace",
|
49
|
+
"SFMono-Regular",
|
50
|
+
"Menlo",
|
51
|
+
"Monaco",
|
52
|
+
"Consolas",
|
53
|
+
'"Liberation Mono"',
|
54
|
+
'"Courier New"',
|
55
|
+
"monospace"
|
56
|
+
]
|
57
|
+
};
|
58
|
+
var FONT_FAMILY_SANS = ["Inter", ...tailwindFontFamily.sans];
|
59
|
+
var FONT_FAMILY_MONO = ["Roboto Mono", ...tailwindFontFamily.mono];
|
32
60
|
|
33
61
|
// src/theme/extension/theme.ts
|
34
62
|
var theme = {
|
package/dist/index.mjs
CHANGED
@@ -14,13 +14,41 @@ var __commonJS = (cb, mod) => function __require2() {
|
|
14
14
|
};
|
15
15
|
|
16
16
|
// src/constants.ts
|
17
|
-
|
18
|
-
var FONT_FAMILY_SANS, FONT_FAMILY_MONO;
|
17
|
+
var tailwindFontFamily, FONT_FAMILY_SANS, FONT_FAMILY_MONO;
|
19
18
|
var init_constants = __esm({
|
20
19
|
"src/constants.ts"() {
|
21
20
|
"use strict";
|
22
|
-
|
23
|
-
|
21
|
+
tailwindFontFamily = {
|
22
|
+
sans: [
|
23
|
+
"ui-sans-serif",
|
24
|
+
"system-ui",
|
25
|
+
"sans-serif",
|
26
|
+
'"Apple Color Emoji"',
|
27
|
+
'"Segoe UI Emoji"',
|
28
|
+
'"Segoe UI Symbol"',
|
29
|
+
'"Noto Color Emoji"'
|
30
|
+
],
|
31
|
+
serif: [
|
32
|
+
"ui-serif",
|
33
|
+
"Georgia",
|
34
|
+
"Cambria",
|
35
|
+
'"Times New Roman"',
|
36
|
+
"Times",
|
37
|
+
"serif"
|
38
|
+
],
|
39
|
+
mono: [
|
40
|
+
"ui-monospace",
|
41
|
+
"SFMono-Regular",
|
42
|
+
"Menlo",
|
43
|
+
"Monaco",
|
44
|
+
"Consolas",
|
45
|
+
'"Liberation Mono"',
|
46
|
+
'"Courier New"',
|
47
|
+
"monospace"
|
48
|
+
]
|
49
|
+
};
|
50
|
+
FONT_FAMILY_SANS = ["Inter", ...tailwindFontFamily.sans];
|
51
|
+
FONT_FAMILY_MONO = ["Roboto Mono", ...tailwindFontFamily.mono];
|
24
52
|
}
|
25
53
|
});
|
26
54
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/ui-preset",
|
3
|
-
"version": "2.4.0-snapshot-
|
3
|
+
"version": "2.4.0-snapshot-20250123103326",
|
4
4
|
"description": "Medusa UI preset",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"tailwindcss": ">=3.0.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@medusajs/toolbox": "2.4.0-snapshot-
|
33
|
+
"@medusajs/toolbox": "2.4.0-snapshot-20250123103326",
|
34
34
|
"tailwindcss": "^3.4.1",
|
35
35
|
"tsup": "^7.1.0",
|
36
36
|
"typescript": "^5.1.6"
|
package/src/constants.ts
CHANGED
@@ -1,4 +1,32 @@
|
|
1
|
-
|
1
|
+
const tailwindFontFamily = {
|
2
|
+
sans: [
|
3
|
+
"ui-sans-serif",
|
4
|
+
"system-ui",
|
5
|
+
"sans-serif",
|
6
|
+
'"Apple Color Emoji"',
|
7
|
+
'"Segoe UI Emoji"',
|
8
|
+
'"Segoe UI Symbol"',
|
9
|
+
'"Noto Color Emoji"',
|
10
|
+
],
|
11
|
+
serif: [
|
12
|
+
"ui-serif",
|
13
|
+
"Georgia",
|
14
|
+
"Cambria",
|
15
|
+
'"Times New Roman"',
|
16
|
+
"Times",
|
17
|
+
"serif",
|
18
|
+
],
|
19
|
+
mono: [
|
20
|
+
"ui-monospace",
|
21
|
+
"SFMono-Regular",
|
22
|
+
"Menlo",
|
23
|
+
"Monaco",
|
24
|
+
"Consolas",
|
25
|
+
'"Liberation Mono"',
|
26
|
+
'"Courier New"',
|
27
|
+
"monospace",
|
28
|
+
],
|
29
|
+
}
|
2
30
|
|
3
|
-
export const FONT_FAMILY_SANS = ["Inter", ...
|
4
|
-
export const FONT_FAMILY_MONO = ["Roboto Mono", ...
|
31
|
+
export const FONT_FAMILY_SANS = ["Inter", ...tailwindFontFamily.sans]
|
32
|
+
export const FONT_FAMILY_MONO = ["Roboto Mono", ...tailwindFontFamily.mono]
|