tailwindcss 4.1.11 → 4.1.13

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/lib.mjs CHANGED
@@ -1 +1 @@
1
- import{a,b,c,d,e,f}from"./chunk-4WXWQT6Y.mjs";import"./chunk-G32FJCSR.mjs";import"./chunk-HTB5LLOP.mjs";export{b as Features,a as Polyfills,e as __unstable__loadDesignSystem,d as compile,c as compileAst,f as default};
1
+ import{a,b,c,d,e,f}from"./chunk-U5SIPDGO.mjs";import"./chunk-G32FJCSR.mjs";import"./chunk-HTB5LLOP.mjs";export{b as Features,a as Polyfills,e as __unstable__loadDesignSystem,d as compile,c as compileAst,f as default};
package/dist/plugin.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { P as PluginUtils } from './resolve-config-QUZ9b-Gn.mjs';
2
- import { a as PluginFn, C as Config, b as PluginWithConfig, c as PluginWithOptions } from './types-B254mqw1.mjs';
3
- export { d as PluginAPI, P as PluginsConfig, T as ThemeConfig } from './types-B254mqw1.mjs';
2
+ import { a as PluginFn, C as Config, b as PluginWithConfig, c as PluginWithOptions } from './types-WlZgYgM8.mjs';
3
+ export { d as PluginAPI, P as PluginsConfig, T as ThemeConfig } from './types-WlZgYgM8.mjs';
4
4
  import './colors.mjs';
5
5
 
6
6
  declare function createPlugin(handler: PluginFn, config?: Partial<Config>): PluginWithConfig;
package/dist/plugin.d.ts CHANGED
@@ -1,6 +1,32 @@
1
1
  import { N as NamedUtilityValue, P as PluginUtils } from './resolve-config-BIFUA2FY.js';
2
2
  import './colors-b_6i0Oi7.js';
3
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];
29
+
4
30
  type Config = UserConfig;
5
31
  type PluginFn = (api: PluginAPI) => void;
6
32
  type PluginWithConfig = {
@@ -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;
@@ -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;
@@ -95,4 +122,4 @@ interface UserConfig {
95
122
  future?: 'all' | Record<string, boolean>;
96
123
  }
97
124
 
98
- export type { Config as C, Plugin as P, ThemeConfig as T, UserConfig as U, PluginFn as a, PluginWithConfig as b, PluginWithOptions as c, PluginAPI as d };
125
+ export type { Config as C, Plugin as P, SourceLocation as S, ThemeConfig as T, UserConfig as U, PluginFn as a, PluginWithConfig as b, PluginWithOptions as c, PluginAPI as d };
package/index.css CHANGED
@@ -847,6 +847,14 @@
847
847
  padding-block: 0;
848
848
  }
849
849
 
850
+ /*
851
+ Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
852
+ */
853
+
854
+ ::-webkit-calendar-picker-indicator {
855
+ line-height: 1;
856
+ }
857
+
850
858
  /*
851
859
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
852
860
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "4.1.11",
3
+ "version": "4.1.13",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -72,13 +72,13 @@
72
72
  "utilities.css"
73
73
  ],
74
74
  "devDependencies": {
75
- "@ampproject/remapping": "^2.3.0",
75
+ "@jridgewell/remapping": "^2.3.4",
76
76
  "@types/node": "^20.19.0",
77
77
  "dedent": "1.6.0",
78
78
  "lightningcss": "1.30.1",
79
- "magic-string": "^0.30.17",
79
+ "magic-string": "^0.30.18",
80
80
  "source-map-js": "^1.2.1",
81
- "@tailwindcss/oxide": "^4.1.11"
81
+ "@tailwindcss/oxide": "^4.1.13"
82
82
  },
83
83
  "scripts": {
84
84
  "lint": "tsc --noEmit",
package/preflight.css CHANGED
@@ -349,6 +349,14 @@ textarea {
349
349
  padding-block: 0;
350
350
  }
351
351
 
352
+ /*
353
+ Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
354
+ */
355
+
356
+ ::-webkit-calendar-picker-indicator {
357
+ line-height: 1;
358
+ }
359
+
352
360
  /*
353
361
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
354
362
  */