@removify/tailwind-preset 0.2.3 → 0.2.5
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/{chunk-2TH4VY2N.js → chunk-SB3R3MI5.js} +10 -8
- package/dist/cli/index.cjs +10 -8
- package/dist/cli/index.js +2 -2
- package/dist/index.cjs +15 -13
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -3
- package/package.json +15 -15
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// src/theme/animation.ts
|
|
2
2
|
var uiAnimation = {
|
|
3
|
-
"radix-accordion-down": "radix-accordion-down 0.
|
|
4
|
-
"radix-accordion-up": "radix-accordion-up 0.
|
|
5
|
-
"radix-collapsible-down": "radix-collapsible-down 0.
|
|
6
|
-
"radix-collapsible-up": "radix-collapsible-up 0.
|
|
3
|
+
"radix-accordion-down": "radix-accordion-down 0.1s ease-out",
|
|
4
|
+
"radix-accordion-up": "radix-accordion-up 0.1s ease-out",
|
|
5
|
+
"radix-collapsible-down": "radix-collapsible-down 0.1s ease-in-out",
|
|
6
|
+
"radix-collapsible-up": "radix-collapsible-up 0.1s ease-in-out",
|
|
7
7
|
// V2 aka reka animation
|
|
8
|
-
"reka-accordion-down": "reka-accordion-down 0.
|
|
9
|
-
"reka-accordion-up": "reka-accordion-up 0.
|
|
10
|
-
"reka-collapsible-down": "reka-collapsible-down 0.
|
|
11
|
-
"reka-collapsible-up": "reka-collapsible-up 0.
|
|
8
|
+
"reka-accordion-down": "reka-accordion-down 0.1s ease-out",
|
|
9
|
+
"reka-accordion-up": "reka-accordion-up 0.1s ease-out",
|
|
10
|
+
"reka-collapsible-down": "reka-collapsible-down 0.1s ease-in-out",
|
|
11
|
+
"reka-collapsible-up": "reka-collapsible-up 0.1s ease-in-out"
|
|
12
12
|
};
|
|
13
13
|
var uiKeyframes = {
|
|
14
14
|
"radix-accordion-down": {
|
|
@@ -316,6 +316,7 @@ var screensNumber = {
|
|
|
316
316
|
"xl": 1280,
|
|
317
317
|
"2xl": 1536,
|
|
318
318
|
"tablet": 640,
|
|
319
|
+
"tablet-lg": 960,
|
|
319
320
|
"laptop": 1024,
|
|
320
321
|
"desktop": 1280
|
|
321
322
|
};
|
|
@@ -327,6 +328,7 @@ var screens = {
|
|
|
327
328
|
"xl": `${screensNumber.xl}px`,
|
|
328
329
|
"2xl": `${screensNumber["2xl"]}px`,
|
|
329
330
|
"tablet": `${screensNumber.tablet}px`,
|
|
331
|
+
"tablet-lg": `${screensNumber["tablet-lg"]}px`,
|
|
330
332
|
"laptop": `${screensNumber.laptop}px`,
|
|
331
333
|
"desktop": `${screensNumber.desktop}px`
|
|
332
334
|
};
|
package/dist/cli/index.cjs
CHANGED
|
@@ -29,15 +29,15 @@ var import_helpers = require("yargs/helpers");
|
|
|
29
29
|
|
|
30
30
|
// src/theme/animation.ts
|
|
31
31
|
var uiAnimation = {
|
|
32
|
-
"radix-accordion-down": "radix-accordion-down 0.
|
|
33
|
-
"radix-accordion-up": "radix-accordion-up 0.
|
|
34
|
-
"radix-collapsible-down": "radix-collapsible-down 0.
|
|
35
|
-
"radix-collapsible-up": "radix-collapsible-up 0.
|
|
32
|
+
"radix-accordion-down": "radix-accordion-down 0.1s ease-out",
|
|
33
|
+
"radix-accordion-up": "radix-accordion-up 0.1s ease-out",
|
|
34
|
+
"radix-collapsible-down": "radix-collapsible-down 0.1s ease-in-out",
|
|
35
|
+
"radix-collapsible-up": "radix-collapsible-up 0.1s ease-in-out",
|
|
36
36
|
// V2 aka reka animation
|
|
37
|
-
"reka-accordion-down": "reka-accordion-down 0.
|
|
38
|
-
"reka-accordion-up": "reka-accordion-up 0.
|
|
39
|
-
"reka-collapsible-down": "reka-collapsible-down 0.
|
|
40
|
-
"reka-collapsible-up": "reka-collapsible-up 0.
|
|
37
|
+
"reka-accordion-down": "reka-accordion-down 0.1s ease-out",
|
|
38
|
+
"reka-accordion-up": "reka-accordion-up 0.1s ease-out",
|
|
39
|
+
"reka-collapsible-down": "reka-collapsible-down 0.1s ease-in-out",
|
|
40
|
+
"reka-collapsible-up": "reka-collapsible-up 0.1s ease-in-out"
|
|
41
41
|
};
|
|
42
42
|
var uiKeyframes = {
|
|
43
43
|
"radix-accordion-down": {
|
|
@@ -345,6 +345,7 @@ var screensNumber = {
|
|
|
345
345
|
"xl": 1280,
|
|
346
346
|
"2xl": 1536,
|
|
347
347
|
"tablet": 640,
|
|
348
|
+
"tablet-lg": 960,
|
|
348
349
|
"laptop": 1024,
|
|
349
350
|
"desktop": 1280
|
|
350
351
|
};
|
|
@@ -356,6 +357,7 @@ var screens = {
|
|
|
356
357
|
"xl": `${screensNumber.xl}px`,
|
|
357
358
|
"2xl": `${screensNumber["2xl"]}px`,
|
|
358
359
|
"tablet": `${screensNumber.tablet}px`,
|
|
360
|
+
"tablet-lg": `${screensNumber["tablet-lg"]}px`,
|
|
359
361
|
"laptop": `${screensNumber.laptop}px`,
|
|
360
362
|
"desktop": `${screensNumber.desktop}px`
|
|
361
363
|
};
|
package/dist/cli/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -28,15 +28,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
30
|
// src/index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
33
|
animation: () => animation2,
|
|
34
34
|
boxShadow: () => boxShadow,
|
|
35
35
|
buildPreset: () => buildPreset,
|
|
36
36
|
buildTheme: () => buildTheme,
|
|
37
37
|
colors: () => colors,
|
|
38
38
|
colorsNames: () => colorsNames,
|
|
39
|
-
default: () =>
|
|
39
|
+
default: () => index_default,
|
|
40
40
|
defaultTheme: () => defaultTheme,
|
|
41
41
|
factory: () => factory,
|
|
42
42
|
fontFamily: () => customFontFamily,
|
|
@@ -46,7 +46,7 @@ __export(src_exports, {
|
|
|
46
46
|
screensNumber: () => screensNumber,
|
|
47
47
|
unocssTheme: () => unocssTheme
|
|
48
48
|
});
|
|
49
|
-
module.exports = __toCommonJS(
|
|
49
|
+
module.exports = __toCommonJS(index_exports);
|
|
50
50
|
|
|
51
51
|
// src/plugins/index.ts
|
|
52
52
|
var import_tailwindcss_animate = __toESM(require("tailwindcss-animate"), 1);
|
|
@@ -54,15 +54,15 @@ var plugins = [import_tailwindcss_animate.default];
|
|
|
54
54
|
|
|
55
55
|
// src/theme/animation.ts
|
|
56
56
|
var uiAnimation = {
|
|
57
|
-
"radix-accordion-down": "radix-accordion-down 0.
|
|
58
|
-
"radix-accordion-up": "radix-accordion-up 0.
|
|
59
|
-
"radix-collapsible-down": "radix-collapsible-down 0.
|
|
60
|
-
"radix-collapsible-up": "radix-collapsible-up 0.
|
|
57
|
+
"radix-accordion-down": "radix-accordion-down 0.1s ease-out",
|
|
58
|
+
"radix-accordion-up": "radix-accordion-up 0.1s ease-out",
|
|
59
|
+
"radix-collapsible-down": "radix-collapsible-down 0.1s ease-in-out",
|
|
60
|
+
"radix-collapsible-up": "radix-collapsible-up 0.1s ease-in-out",
|
|
61
61
|
// V2 aka reka animation
|
|
62
|
-
"reka-accordion-down": "reka-accordion-down 0.
|
|
63
|
-
"reka-accordion-up": "reka-accordion-up 0.
|
|
64
|
-
"reka-collapsible-down": "reka-collapsible-down 0.
|
|
65
|
-
"reka-collapsible-up": "reka-collapsible-up 0.
|
|
62
|
+
"reka-accordion-down": "reka-accordion-down 0.1s ease-out",
|
|
63
|
+
"reka-accordion-up": "reka-accordion-up 0.1s ease-out",
|
|
64
|
+
"reka-collapsible-down": "reka-collapsible-down 0.1s ease-in-out",
|
|
65
|
+
"reka-collapsible-up": "reka-collapsible-up 0.1s ease-in-out"
|
|
66
66
|
};
|
|
67
67
|
var uiKeyframes = {
|
|
68
68
|
"radix-accordion-down": {
|
|
@@ -370,6 +370,7 @@ var screensNumber = {
|
|
|
370
370
|
"xl": 1280,
|
|
371
371
|
"2xl": 1536,
|
|
372
372
|
"tablet": 640,
|
|
373
|
+
"tablet-lg": 960,
|
|
373
374
|
"laptop": 1024,
|
|
374
375
|
"desktop": 1280
|
|
375
376
|
};
|
|
@@ -381,6 +382,7 @@ var screens = {
|
|
|
381
382
|
"xl": `${screensNumber.xl}px`,
|
|
382
383
|
"2xl": `${screensNumber["2xl"]}px`,
|
|
383
384
|
"tablet": `${screensNumber.tablet}px`,
|
|
385
|
+
"tablet-lg": `${screensNumber["tablet-lg"]}px`,
|
|
384
386
|
"laptop": `${screensNumber.laptop}px`,
|
|
385
387
|
"desktop": `${screensNumber.desktop}px`
|
|
386
388
|
};
|
|
@@ -504,7 +506,7 @@ function buildPreset(extend = true, buildOptions = {}) {
|
|
|
504
506
|
plugins
|
|
505
507
|
};
|
|
506
508
|
}
|
|
507
|
-
var
|
|
509
|
+
var index_default = buildPreset();
|
|
508
510
|
// Annotate the CommonJS export names for ESM import in node:
|
|
509
511
|
0 && (module.exports = {
|
|
510
512
|
animation,
|
package/dist/index.d.cts
CHANGED
|
@@ -81,7 +81,7 @@ type UnocssFontSizes = {
|
|
|
81
81
|
[K in FontSizeKeys]?: UnocssFontSize;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
-
declare const screenSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl", "tablet", "laptop", "desktop"];
|
|
84
|
+
declare const screenSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl", "tablet", "tablet-lg", "laptop", "desktop"];
|
|
85
85
|
type Screens = Record<typeof screenSizes[number], `${number}px`>;
|
|
86
86
|
type ExtractNumber<T extends string> = T extends `${infer N extends number}px` ? N : never;
|
|
87
87
|
type ScreensNumber = {
|
|
@@ -420,6 +420,7 @@ declare const screensNumber: {
|
|
|
420
420
|
xl: number;
|
|
421
421
|
'2xl': number;
|
|
422
422
|
tablet: number;
|
|
423
|
+
'tablet-lg': number;
|
|
423
424
|
laptop: number;
|
|
424
425
|
desktop: number;
|
|
425
426
|
};
|
|
@@ -431,6 +432,7 @@ declare const screens: {
|
|
|
431
432
|
xl: `${number}px`;
|
|
432
433
|
'2xl': `${number}px`;
|
|
433
434
|
tablet: `${number}px`;
|
|
435
|
+
'tablet-lg': `${number}px`;
|
|
434
436
|
laptop: `${number}px`;
|
|
435
437
|
desktop: `${number}px`;
|
|
436
438
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ type UnocssFontSizes = {
|
|
|
81
81
|
[K in FontSizeKeys]?: UnocssFontSize;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
-
declare const screenSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl", "tablet", "laptop", "desktop"];
|
|
84
|
+
declare const screenSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl", "tablet", "tablet-lg", "laptop", "desktop"];
|
|
85
85
|
type Screens = Record<typeof screenSizes[number], `${number}px`>;
|
|
86
86
|
type ExtractNumber<T extends string> = T extends `${infer N extends number}px` ? N : never;
|
|
87
87
|
type ScreensNumber = {
|
|
@@ -420,6 +420,7 @@ declare const screensNumber: {
|
|
|
420
420
|
xl: number;
|
|
421
421
|
'2xl': number;
|
|
422
422
|
tablet: number;
|
|
423
|
+
'tablet-lg': number;
|
|
423
424
|
laptop: number;
|
|
424
425
|
desktop: number;
|
|
425
426
|
};
|
|
@@ -431,6 +432,7 @@ declare const screens: {
|
|
|
431
432
|
xl: `${number}px`;
|
|
432
433
|
'2xl': `${number}px`;
|
|
433
434
|
tablet: `${number}px`;
|
|
435
|
+
'tablet-lg': `${number}px`;
|
|
434
436
|
laptop: `${number}px`;
|
|
435
437
|
desktop: `${number}px`;
|
|
436
438
|
};
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
screens,
|
|
12
12
|
screensNumber,
|
|
13
13
|
unocssTheme
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SB3R3MI5.js";
|
|
15
15
|
|
|
16
16
|
// src/plugins/index.ts
|
|
17
17
|
import animation2 from "tailwindcss-animate";
|
|
@@ -48,7 +48,7 @@ function buildPreset(extend = true, buildOptions = {}) {
|
|
|
48
48
|
plugins
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var index_default = buildPreset();
|
|
52
52
|
export {
|
|
53
53
|
animation,
|
|
54
54
|
boxShadow,
|
|
@@ -56,7 +56,7 @@ export {
|
|
|
56
56
|
buildTheme,
|
|
57
57
|
colors,
|
|
58
58
|
colorsNames,
|
|
59
|
-
|
|
59
|
+
index_default as default,
|
|
60
60
|
defaultTheme,
|
|
61
61
|
factory,
|
|
62
62
|
customFontFamily as fontFamily,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@removify/tailwind-preset",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5",
|
|
5
5
|
"description": "Tailwind CSS preset for Removify",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tailwind"
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
"yargs": "17.7.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@commitlint/cli": "^19.
|
|
35
|
-
"@commitlint/config-conventional": "^19.
|
|
36
|
-
"@removify/eslint-config": "^1.
|
|
37
|
-
"@types/node": "^22.
|
|
34
|
+
"@commitlint/cli": "^19.6.1",
|
|
35
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
36
|
+
"@removify/eslint-config": "^1.9.3",
|
|
37
|
+
"@types/node": "^22.10.3",
|
|
38
38
|
"@types/yargs": "^17.0.33",
|
|
39
|
-
"bumpp": "^9.
|
|
40
|
-
"eslint": "^9.
|
|
41
|
-
"husky": "^9.1.
|
|
42
|
-
"lint-staged": "^15.
|
|
39
|
+
"bumpp": "^9.9.2",
|
|
40
|
+
"eslint": "^9.17.0",
|
|
41
|
+
"husky": "^9.1.7",
|
|
42
|
+
"lint-staged": "^15.3.0",
|
|
43
43
|
"rimraf": "^6.0.1",
|
|
44
44
|
"tailwind-config-viewer": "^2.0.4",
|
|
45
|
-
"tailwindcss": "^3.4.
|
|
46
|
-
"tsup": "^8.3.
|
|
47
|
-
"tsx": "^4.19.
|
|
48
|
-
"typescript": "^5.
|
|
49
|
-
"vitest": "^2.1.
|
|
50
|
-
"@removify/tailwind-preset": "0.2.
|
|
45
|
+
"tailwindcss": "^3.4.17",
|
|
46
|
+
"tsup": "^8.3.5",
|
|
47
|
+
"tsx": "^4.19.2",
|
|
48
|
+
"typescript": "^5.7.2",
|
|
49
|
+
"vitest": "^2.1.8",
|
|
50
|
+
"@removify/tailwind-preset": "0.2.5"
|
|
51
51
|
},
|
|
52
52
|
"lint-staged": {
|
|
53
53
|
"**/*.{js,ts,vue,html}": [
|