@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.
@@ -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 { Config } from '../dist/tailwindcss';
2
- import * as React_2 from 'react';
3
-
4
- export declare interface EmailElementProps {
5
- children?: React_2.ReactNode;
6
- className?: string;
7
- style?: React_2.CSSProperties;
8
- }
9
-
10
- export declare const pixelBasedPreset: TailwindConfig;
11
-
12
- export declare const Tailwind: React_2.FC<TailwindProps>;
13
-
14
- export declare type TailwindConfig = Pick<Config, 'important' | 'prefix' | 'separator' | 'safelist' | 'blocklist' | 'presets' | 'future' | 'experimental' | 'darkMode' | 'theme' | 'corePlugins' | 'plugins'>;
15
-
16
- export declare interface TailwindProps {
17
- children: React_2.ReactNode;
18
- config?: TailwindConfig;
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"}