@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.
@@ -6,11 +6,11 @@
6
6
  CLI Cleaning output folder
7
7
  CJS Build start
8
8
  ESM Build start
9
- CJS dist/index.js 40.38 KB
10
- CJS ⚡️ Build success in 34ms
11
- ESM dist/index.mjs 44.08 KB
12
- ESM ⚡️ Build success in 35ms
9
+ CJS dist/index.js 40.75 KB
10
+ CJS ⚡️ Build success in 26ms
11
+ ESM dist/index.mjs 44.63 KB
12
+ ESM ⚡️ Build success in 27ms
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 2461ms
14
+ DTS ⚡️ Build success in 2332ms
15
15
  DTS dist/index.d.ts 12.00 B
16
16
  DTS dist/index.d.mts 12.00 B
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # @medusajs/ui-preset
2
2
 
3
- ## 2.4.0-snapshot-20250122092707
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 import_defaultTheme = require("tailwindcss/defaultTheme");
30
- var FONT_FAMILY_SANS = ["Inter", ...import_defaultTheme.fontFamily.sans];
31
- var FONT_FAMILY_MONO = ["Roboto Mono", ...import_defaultTheme.fontFamily.mono];
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
- import { fontFamily } from "tailwindcss/defaultTheme";
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
- FONT_FAMILY_SANS = ["Inter", ...fontFamily.sans];
23
- FONT_FAMILY_MONO = ["Roboto Mono", ...fontFamily.mono];
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-20250122092707",
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-20250122092707",
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
- import { fontFamily } from "tailwindcss/defaultTheme"
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", ...fontFamily.sans]
4
- export const FONT_FAMILY_MONO = ["Roboto Mono", ...fontFamily.mono]
31
+ export const FONT_FAMILY_SANS = ["Inter", ...tailwindFontFamily.sans]
32
+ export const FONT_FAMILY_MONO = ["Roboto Mono", ...tailwindFontFamily.mono]