@removify/tailwind-preset 0.2.7 → 0.2.9

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.
@@ -225,15 +225,13 @@ var customFontFamily = {
225
225
  sans: ["DM Sans", ...fontFamilySans]
226
226
  };
227
227
 
228
- // src/util/font.ts
229
- import { kebabKeys } from "string-ts";
230
-
231
228
  // src/types/fontSize.ts
232
229
  function isDetailFont(value) {
233
230
  return Array.isArray(value) && typeof value[1] === "object";
234
231
  }
235
232
 
236
233
  // src/util/font.ts
234
+ import { kebabKeys } from "string-ts";
237
235
  var entries = Object.entries;
238
236
  function fontConfigKeysKebabCase(fontConfig) {
239
237
  const result = {};
@@ -426,6 +424,7 @@ export {
426
424
  keyframes,
427
425
  colors,
428
426
  customFontFamily,
427
+ isDetailFont,
429
428
  fontSize,
430
429
  screensNumber,
431
430
  screens,
package/dist/cli/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-SB3R3MI5.js";
3
+ } from "../chunk-2EJHJW3A.js";
4
4
 
5
5
  // src/cli/index.ts
6
6
  import process from "node:process";
package/dist/index.cjs CHANGED
@@ -36,12 +36,14 @@ __export(index_exports, {
36
36
  buildTheme: () => buildTheme,
37
37
  colors: () => colors,
38
38
  colorsNames: () => colorsNames,
39
- default: () => index_default,
39
+ configuredThemes: () => configuredThemes,
40
40
  defaultTheme: () => defaultTheme,
41
41
  factory: () => factory,
42
42
  fontFamily: () => customFontFamily,
43
43
  fontSize: () => fontSize,
44
+ isDetailFont: () => isDetailFont,
44
45
  keyframes: () => keyframes,
46
+ screenSizes: () => screenSizes,
45
47
  screens: () => screens,
46
48
  screensNumber: () => screensNumber,
47
49
  unocssTheme: () => unocssTheme
@@ -491,6 +493,31 @@ var colorsNames = [
491
493
  "seafoam"
492
494
  ];
493
495
 
496
+ // src/types/factory.ts
497
+ var configuredThemes = [
498
+ "colors",
499
+ "boxShadow",
500
+ "fontSize",
501
+ "fontFamily",
502
+ "animation",
503
+ "keyframes",
504
+ "screens"
505
+ ];
506
+
507
+ // src/types/screen.ts
508
+ var screenSizes = [
509
+ "xs",
510
+ "sm",
511
+ "md",
512
+ "lg",
513
+ "xl",
514
+ "2xl",
515
+ "tablet",
516
+ "tablet-lg",
517
+ "laptop",
518
+ "desktop"
519
+ ];
520
+
494
521
  // src/index.ts
495
522
  function buildPreset(extend = true, buildOptions = {}) {
496
523
  if (extend === false) {
@@ -506,8 +533,6 @@ function buildPreset(extend = true, buildOptions = {}) {
506
533
  plugins
507
534
  };
508
535
  }
509
- var preset = buildPreset();
510
- var index_default = preset;
511
536
  // Annotate the CommonJS export names for ESM import in node:
512
537
  0 && (module.exports = {
513
538
  animation,
@@ -516,11 +541,14 @@ var index_default = preset;
516
541
  buildTheme,
517
542
  colors,
518
543
  colorsNames,
544
+ configuredThemes,
519
545
  defaultTheme,
520
546
  factory,
521
547
  fontFamily,
522
548
  fontSize,
549
+ isDetailFont,
523
550
  keyframes,
551
+ screenSizes,
524
552
  screens,
525
553
  screensNumber,
526
554
  unocssTheme
package/dist/index.d.cts CHANGED
@@ -1,4 +1,3 @@
1
- import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
1
  import { Config } from 'tailwindcss';
3
2
 
4
3
  declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
@@ -644,6 +643,5 @@ declare const unocssTheme: {
644
643
  };
645
644
 
646
645
  declare function buildPreset(extend?: boolean, buildOptions?: BuildThemeOptions): Partial<Config>;
647
- declare const preset: Partial<tailwindcss_types_config.Config>;
648
646
 
649
- export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, preset as default, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
647
+ export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
1
  import { Config } from 'tailwindcss';
3
2
 
4
3
  declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo", "green", "fuchsia", "indigo", "neutral", "orange", "red", "amber", "seafoam"];
@@ -644,6 +643,5 @@ declare const unocssTheme: {
644
643
  };
645
644
 
646
645
  declare function buildPreset(extend?: boolean, buildOptions?: BuildThemeOptions): Partial<Config>;
647
- declare const preset: Partial<tailwindcss_types_config.Config>;
648
646
 
649
- export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, preset as default, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
647
+ export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
package/dist/index.js CHANGED
@@ -7,11 +7,12 @@ import {
7
7
  defaultTheme,
8
8
  factory,
9
9
  fontSize,
10
+ isDetailFont,
10
11
  keyframes,
11
12
  screens,
12
13
  screensNumber,
13
14
  unocssTheme
14
- } from "./chunk-SB3R3MI5.js";
15
+ } from "./chunk-2EJHJW3A.js";
15
16
 
16
17
  // src/plugins/index.ts
17
18
  import animation2 from "tailwindcss-animate";
@@ -33,6 +34,31 @@ var colorsNames = [
33
34
  "seafoam"
34
35
  ];
35
36
 
37
+ // src/types/factory.ts
38
+ var configuredThemes = [
39
+ "colors",
40
+ "boxShadow",
41
+ "fontSize",
42
+ "fontFamily",
43
+ "animation",
44
+ "keyframes",
45
+ "screens"
46
+ ];
47
+
48
+ // src/types/screen.ts
49
+ var screenSizes = [
50
+ "xs",
51
+ "sm",
52
+ "md",
53
+ "lg",
54
+ "xl",
55
+ "2xl",
56
+ "tablet",
57
+ "tablet-lg",
58
+ "laptop",
59
+ "desktop"
60
+ ];
61
+
36
62
  // src/index.ts
37
63
  function buildPreset(extend = true, buildOptions = {}) {
38
64
  if (extend === false) {
@@ -48,8 +74,6 @@ function buildPreset(extend = true, buildOptions = {}) {
48
74
  plugins
49
75
  };
50
76
  }
51
- var preset = buildPreset();
52
- var index_default = preset;
53
77
  export {
54
78
  animation,
55
79
  boxShadow,
@@ -57,12 +81,14 @@ export {
57
81
  buildTheme,
58
82
  colors,
59
83
  colorsNames,
60
- index_default as default,
84
+ configuredThemes,
61
85
  defaultTheme,
62
86
  factory,
63
87
  customFontFamily as fontFamily,
64
88
  fontSize,
89
+ isDetailFont,
65
90
  keyframes,
91
+ screenSizes,
66
92
  screens,
67
93
  screensNumber,
68
94
  unocssTheme
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@removify/tailwind-preset",
3
3
  "type": "module",
4
- "version": "0.2.7",
4
+ "version": "0.2.9",
5
5
  "description": "Tailwind CSS preset for Removify",
6
6
  "keywords": [
7
7
  "tailwind"
@@ -48,7 +48,7 @@
48
48
  "tsx": "^4.19.2",
49
49
  "typescript": "^5.7.2",
50
50
  "vitest": "^2.1.8",
51
- "@removify/tailwind-preset": "0.2.7"
51
+ "@removify/tailwind-preset": "0.2.9"
52
52
  },
53
53
  "lint-staged": {
54
54
  "**/*.{js,ts,vue,html}": [