@medusajs/ui-preset 2.4.0-preview-20250122150141 → 2.4.0-snapshot-20250122092707

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,11 +6,11 @@
6
6
  CLI Cleaning output folder
7
7
  CJS Build start
8
8
  ESM Build start
9
- ESM dist/index.mjs 44.63 KB
10
- ESM ⚡️ Build success in 26ms
11
- CJS dist/index.js 40.75 KB
12
- CJS ⚡️ Build success in 27ms
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
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 2653ms
14
+ DTS ⚡️ Build success in 2461ms
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,10 +1,6 @@
1
1
  # @medusajs/ui-preset
2
2
 
3
- ## 2.4.0-preview-20250122150141
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
3
+ ## 2.4.0-snapshot-20250122092707
8
4
 
9
5
  ## 2.3.1
10
6
 
package/dist/index.js CHANGED
@@ -26,37 +26,9 @@ 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 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];
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];
60
32
 
61
33
  // src/theme/extension/theme.ts
62
34
  var theme = {
package/dist/index.mjs CHANGED
@@ -14,41 +14,13 @@ var __commonJS = (cb, mod) => function __require2() {
14
14
  };
15
15
 
16
16
  // src/constants.ts
17
- var tailwindFontFamily, FONT_FAMILY_SANS, FONT_FAMILY_MONO;
17
+ import { fontFamily } from "tailwindcss/defaultTheme";
18
+ var FONT_FAMILY_SANS, FONT_FAMILY_MONO;
18
19
  var init_constants = __esm({
19
20
  "src/constants.ts"() {
20
21
  "use strict";
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];
22
+ FONT_FAMILY_SANS = ["Inter", ...fontFamily.sans];
23
+ FONT_FAMILY_MONO = ["Roboto Mono", ...fontFamily.mono];
52
24
  }
53
25
  });
54
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/ui-preset",
3
- "version": "2.4.0-preview-20250122150141",
3
+ "version": "2.4.0-snapshot-20250122092707",
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-preview-20250122150141",
33
+ "@medusajs/toolbox": "2.4.0-snapshot-20250122092707",
34
34
  "tailwindcss": "^3.4.1",
35
35
  "tsup": "^7.1.0",
36
36
  "typescript": "^5.1.6"
package/src/constants.ts CHANGED
@@ -1,32 +1,4 @@
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
- }
1
+ import { fontFamily } from "tailwindcss/defaultTheme"
30
2
 
31
- export const FONT_FAMILY_SANS = ["Inter", ...tailwindFontFamily.sans]
32
- export const FONT_FAMILY_MONO = ["Roboto Mono", ...tailwindFontFamily.mono]
3
+ export const FONT_FAMILY_SANS = ["Inter", ...fontFamily.sans]
4
+ export const FONT_FAMILY_MONO = ["Roboto Mono", ...fontFamily.mono]