@react-email/tailwind 1.2.2 → 2.0.0-tailwindv4.0
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/index.d.mts +22 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +22 -21
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21596 -45
- package/dist/index.mjs +21569 -19610
- package/dist/index.mjs.map +1 -0
- package/package.json +10 -9
- package/dist/tailwindcss/config.d.ts +0 -376
- package/dist/tailwindcss/generated/.gitkeep +0 -0
- package/dist/tailwindcss/generated/colors.d.ts +0 -298
- package/dist/tailwindcss/generated/corePluginList.d.ts +0 -1
- package/dist/tailwindcss/generated/default-theme.d.ts +0 -397
- package/dist/tailwindcss/index.d.ts +0 -11
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { Config } from "tailwindcss";
|
|
3
|
+
|
|
4
|
+
//#region src/tailwind.d.ts
|
|
5
|
+
type TailwindConfig = Omit<Config, 'content'>;
|
|
6
|
+
interface TailwindProps {
|
|
7
|
+
children: React$1.ReactNode;
|
|
8
|
+
config?: TailwindConfig;
|
|
9
|
+
}
|
|
10
|
+
interface EmailElementProps {
|
|
11
|
+
children?: React$1.ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: React$1.CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
declare const pixelBasedPreset: TailwindConfig;
|
|
16
|
+
declare function Tailwind({
|
|
17
|
+
children,
|
|
18
|
+
config
|
|
19
|
+
}: TailwindProps): React$1.ReactNode;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { EmailElementProps, Tailwind, TailwindConfig, TailwindProps, pixelBasedPreset };
|
|
22
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/tailwind.tsx"],"sourcesContent":[],"mappings":";;;;KAaY,cAAA,GAAiB,KAAK;UAEjB,aAAA;EAFL,QAAA,EAGA,OAAA,CAAM,SAHQ;EAAA,MAAA,CAAA,EAIf,cAJe;;AAAG,UAOZ,iBAAA,CAPY;EAAI,QAAA,CAAA,EAQpB,OAAA,CAAM,SARc;EAEhB,SAAA,CAAA,EAAA,MAAa;EAAA,KAAA,CAAA,EAQpB,OAAA,CAAM,aARc;;AAEnB,cASE,gBATF,EASoB,cATpB;AAAc,iBAkET,QAAA,CAlES;EAAA,QAAA;EAAA;AAAA,CAAA,EAkEsB,aAlEtB,CAAA,EAkEmC,OAAA,CAAA,SAlEnC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { }
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Config } from "tailwindcss";
|
|
3
|
+
|
|
4
|
+
//#region src/tailwind.d.ts
|
|
5
|
+
type TailwindConfig = Omit<Config, 'content'>;
|
|
6
|
+
interface TailwindProps {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
config?: TailwindConfig;
|
|
9
|
+
}
|
|
10
|
+
interface EmailElementProps {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
declare const pixelBasedPreset: TailwindConfig;
|
|
16
|
+
declare function Tailwind({
|
|
17
|
+
children,
|
|
18
|
+
config
|
|
19
|
+
}: TailwindProps): React.ReactNode;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { EmailElementProps, Tailwind, TailwindConfig, TailwindProps, pixelBasedPreset };
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/tailwind.tsx"],"sourcesContent":[],"mappings":";;;;KAaY,cAAA,GAAiB,KAAK;UAEjB,aAAA;EAFL,QAAA,EAGA,KAAA,CAAM,SAHQ;EAAA,MAAA,CAAA,EAIf,cAJe;;AAAG,UAOZ,iBAAA,CAPY;EAAI,QAAA,CAAA,EAQpB,KAAA,CAAM,SARc;EAEhB,SAAA,CAAA,EAAA,MAAa;EAAA,KAAA,CAAA,EAQpB,KAAA,CAAM,aARc;;AAEnB,cASE,gBATF,EASoB,cATpB;AAAc,iBAkET,QAAA,CAlES;EAAA,QAAA;EAAA;AAAA,CAAA,EAkEsB,aAlEtB,CAAA,EAkEmC,KAAA,CAAA,SAlEnC"}
|