tailwindcss 0.0.0-insiders.c6b3f96 → 0.0.0-insiders.c9d2d0d

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/CHANGELOG.md CHANGED
@@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
36
36
  - Support customizing class name when using `darkMode: 'class'` ([#5800](https://github.com/tailwindlabs/tailwindcss/pull/5800))
37
37
  - Add `--poll` option to the CLI ([#7725](https://github.com/tailwindlabs/tailwindcss/pull/7725))
38
38
  - Add new `border-spacing` utilities ([#7102](https://github.com/tailwindlabs/tailwindcss/pull/7102))
39
+ - Add `enabled` variant ([#7905](https://github.com/tailwindlabs/tailwindcss/pull/7905))
39
40
  - Add TypeScript types for the `tailwind.config.js` file ([#7891](https://github.com/tailwindlabs/tailwindcss/pull/7891))
40
41
 
41
42
  ## [3.0.23] - 2022-02-16
@@ -164,6 +164,7 @@ let variantPlugins = {
164
164
  'focus',
165
165
  'focus-visible',
166
166
  'active',
167
+ 'enabled',
167
168
  'disabled',
168
169
  ].map((variant)=>Array.isArray(variant) ? variant : [
169
170
  variant,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "0.0.0-insiders.c6b3f96",
3
+ "version": "0.0.0-insiders.c9d2d0d",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -118,6 +118,7 @@ export let variantPlugins = {
118
118
  'focus',
119
119
  'focus-visible',
120
120
  'active',
121
+ 'enabled',
121
122
  'disabled',
122
123
  ].map((variant) => (Array.isArray(variant) ? variant : [variant, `:${variant}`]))
123
124
 
package/types/config.d.ts CHANGED
@@ -304,19 +304,20 @@ interface RequiredConfig {
304
304
  }
305
305
 
306
306
  interface OptionalConfig {
307
- important: ImportantConfig
308
- prefix: PrefixConfig
309
- separator: SeparatorConfig
310
- safelist: SafelistConfig
311
- presets: PresetsConfig
312
- future: FutureConfig
313
- experimental: ExperimentalConfig
314
- darkMode: DarkModeConfig
315
- theme: ThemeConfig
316
- corePlugins: CorePluginsConfig
317
- plugins: PluginsConfig
307
+ important: Partial<ImportantConfig>
308
+ prefix: Partial<PrefixConfig>
309
+ separator: Partial<SeparatorConfig>
310
+ safelist: Partial<SafelistConfig>
311
+ presets: Partial<PresetsConfig>
312
+ future: Partial<FutureConfig>
313
+ experimental: Partial<ExperimentalConfig>
314
+ darkMode: Partial<DarkModeConfig>
315
+ theme: Partial<ThemeConfig>
316
+ corePlugins: Partial<CorePluginsConfig>
317
+ plugins: Partial<PluginsConfig>
318
318
  /** Custom */
319
319
  [key: string]: any
320
320
  }
321
321
 
322
322
  export type Config = RequiredConfig & Partial<OptionalConfig>
323
+