tailwindcss 0.0.0-insiders.91c0d56 → 0.0.0-insiders.91f5c19
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/README.md +6 -10
- package/dist/chunk-3IIMCCN4.mjs +1 -0
- package/dist/chunk-DCG7AFIE.mjs +1 -0
- package/dist/chunk-OFWLFL4C.mjs +1 -0
- package/dist/{colors-b_6i0Oi7.d.ts → colors-C__qRT83.d.ts} +52 -0
- package/dist/colors.d.mts +52 -0
- package/dist/colors.d.ts +1 -1
- package/dist/colors.js +1 -1
- package/dist/colors.mjs +1 -1
- package/dist/default-theme.d.mts +52 -0
- package/dist/default-theme.d.ts +54 -2
- package/dist/default-theme.js +1 -1
- package/dist/default-theme.mjs +1 -1
- package/dist/flatten-color-palette.js +1 -1
- package/dist/flatten-color-palette.mjs +1 -1
- package/dist/lib.d.mts +142 -17
- package/dist/lib.js +31 -22
- package/dist/lib.mjs +33 -13
- package/dist/plugin.d.mts +3 -3
- package/dist/plugin.d.ts +32 -2
- package/dist/{resolve-config-BIFUA2FY.d.ts → resolve-config-B4yBzhca.d.ts} +1 -1
- package/dist/{types-B254mqw1.d.mts → types-DWdTiksJ.d.mts} +31 -1
- package/index.css +344 -270
- package/package.json +8 -5
- package/preflight.css +18 -5
- package/theme.css +322 -265
- package/dist/chunk-7MHEDNEU.mjs +0 -1
- package/dist/chunk-AZANAYY2.mjs +0 -1
- package/dist/chunk-OCVBUP7N.mjs +0 -12
package/dist/plugin.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { P as PluginUtils } from './resolve-config-QUZ9b-Gn.mjs';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { b as PluginFn, C as Config, c as PluginWithConfig, d as PluginWithOptions } from './types-DWdTiksJ.mjs';
|
|
3
|
+
export { a as PluginAPI, P as PluginsConfig, T as ThemeConfig } from './types-DWdTiksJ.mjs';
|
|
4
4
|
import './colors.mjs';
|
|
5
5
|
|
|
6
6
|
declare function createPlugin(handler: PluginFn, config?: Partial<Config>): PluginWithConfig;
|
|
@@ -8,4 +8,4 @@ declare namespace createPlugin {
|
|
|
8
8
|
var withOptions: <T>(pluginFunction: (options?: T) => PluginFn, configFunction?: (options?: T) => Partial<Config>) => PluginWithOptions<T>;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
export { Config, PluginFn as PluginCreator, createPlugin as default };
|
|
11
|
+
export { Config, PluginFn as PluginCreator, PluginWithConfig, createPlugin as default };
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
|
-
import { N as NamedUtilityValue, P as PluginUtils } from './resolve-config-
|
|
2
|
-
import './colors-
|
|
1
|
+
import { N as NamedUtilityValue, P as PluginUtils } from './resolve-config-B4yBzhca.js';
|
|
2
|
+
import './colors-C__qRT83.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The source code for one or more nodes in the AST
|
|
6
|
+
*
|
|
7
|
+
* This generally corresponds to a stylesheet
|
|
8
|
+
*/
|
|
9
|
+
interface Source {
|
|
10
|
+
/**
|
|
11
|
+
* The path to the file that contains the referenced source code
|
|
12
|
+
*
|
|
13
|
+
* If this references the *output* source code, this is `null`.
|
|
14
|
+
*/
|
|
15
|
+
file: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* The referenced source code
|
|
18
|
+
*/
|
|
19
|
+
code: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The file and offsets within it that this node covers
|
|
23
|
+
*
|
|
24
|
+
* This can represent either:
|
|
25
|
+
* - A location in the original CSS which caused this node to be created
|
|
26
|
+
* - A location in the output CSS where this node resides
|
|
27
|
+
*/
|
|
28
|
+
type SourceLocation = [source: Source, start: number, end: number];
|
|
3
29
|
|
|
4
30
|
type Config = UserConfig;
|
|
5
31
|
type PluginFn = (api: PluginAPI) => void;
|
|
@@ -8,6 +34,7 @@ type PluginWithConfig = {
|
|
|
8
34
|
config?: UserConfig;
|
|
9
35
|
/** @internal */
|
|
10
36
|
reference?: boolean;
|
|
37
|
+
src?: SourceLocation | undefined;
|
|
11
38
|
};
|
|
12
39
|
type PluginWithOptions<T> = {
|
|
13
40
|
(options?: T): PluginWithConfig;
|
|
@@ -95,6 +122,9 @@ interface UserConfig {
|
|
|
95
122
|
interface UserConfig {
|
|
96
123
|
future?: 'all' | Record<string, boolean>;
|
|
97
124
|
}
|
|
125
|
+
interface UserConfig {
|
|
126
|
+
experimental?: 'all' | Record<string, boolean>;
|
|
127
|
+
}
|
|
98
128
|
|
|
99
129
|
declare function createPlugin(handler: PluginFn, config?: Partial<Config>): PluginWithConfig;
|
|
100
130
|
declare namespace createPlugin {
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import { N as NamedUtilityValue, P as PluginUtils } from './resolve-config-QUZ9b-Gn.mjs';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* The source code for one or more nodes in the AST
|
|
5
|
+
*
|
|
6
|
+
* This generally corresponds to a stylesheet
|
|
7
|
+
*/
|
|
8
|
+
interface Source {
|
|
9
|
+
/**
|
|
10
|
+
* The path to the file that contains the referenced source code
|
|
11
|
+
*
|
|
12
|
+
* If this references the *output* source code, this is `null`.
|
|
13
|
+
*/
|
|
14
|
+
file: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The referenced source code
|
|
17
|
+
*/
|
|
18
|
+
code: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The file and offsets within it that this node covers
|
|
22
|
+
*
|
|
23
|
+
* This can represent either:
|
|
24
|
+
* - A location in the original CSS which caused this node to be created
|
|
25
|
+
* - A location in the output CSS where this node resides
|
|
26
|
+
*/
|
|
27
|
+
type SourceLocation = [source: Source, start: number, end: number];
|
|
28
|
+
|
|
3
29
|
type Config = UserConfig;
|
|
4
30
|
type PluginFn = (api: PluginAPI) => void;
|
|
5
31
|
type PluginWithConfig = {
|
|
@@ -7,6 +33,7 @@ type PluginWithConfig = {
|
|
|
7
33
|
config?: UserConfig;
|
|
8
34
|
/** @internal */
|
|
9
35
|
reference?: boolean;
|
|
36
|
+
src?: SourceLocation | undefined;
|
|
10
37
|
};
|
|
11
38
|
type PluginWithOptions<T> = {
|
|
12
39
|
(options?: T): PluginWithConfig;
|
|
@@ -94,5 +121,8 @@ interface UserConfig {
|
|
|
94
121
|
interface UserConfig {
|
|
95
122
|
future?: 'all' | Record<string, boolean>;
|
|
96
123
|
}
|
|
124
|
+
interface UserConfig {
|
|
125
|
+
experimental?: 'all' | Record<string, boolean>;
|
|
126
|
+
}
|
|
97
127
|
|
|
98
|
-
export type { Config as C, Plugin as P, ThemeConfig as T, UserConfig as U,
|
|
128
|
+
export type { Config as C, Plugin as P, SourceLocation as S, ThemeConfig as T, UserConfig as U, PluginAPI as a, PluginFn as b, PluginWithConfig as c, PluginWithOptions as d };
|