Skip to content

Commit ee491a5

Browse files
committed
move selector-parser from ./src/compat to just ./src
1 parent 481e06e commit ee491a5

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

packages/tailwindcss/src/canonicalize-candidates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
type Variant,
77
} from './candidate'
88
import { keyPathToCssProperty } from './compat/apply-config-to-theme'
9-
import * as SelectorParser from './compat/selector-parser'
109
import type { DesignSystem } from './design-system'
10+
import * as SelectorParser from './selector-parser'
1111
import {
1212
computeUtilitySignature,
1313
computeVariantSignature,

packages/tailwindcss/src/compat/plugin-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type { Candidate, CandidateModifier, NamedUtilityValue } from '../candida
55
import { substituteFunctions } from '../css-functions'
66
import * as CSS from '../css-parser'
77
import type { DesignSystem } from '../design-system'
8+
import * as SelectorParser from '../selector-parser'
89
import type { SourceLocation } from '../source-maps/source'
910
import { withAlpha } from '../utilities'
1011
import { DefaultMap } from '../utils/default-map'
@@ -15,7 +16,6 @@ import { toKeyPath } from '../utils/to-key-path'
1516
import { compoundsForSelectors, IS_VALID_VARIANT_NAME, substituteAtSlot } from '../variants'
1617
import type { ResolvedConfig, UserConfig } from './config/types'
1718
import { createThemeFn } from './plugin-functions'
18-
import * as SelectorParser from './selector-parser'
1919

2020
export type Config = UserConfig
2121
export type PluginFn = (api: PluginAPI) => void
File renamed without changes.
File renamed without changes.

packages/tailwindcss/src/signatures.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { substituteAtApply } from './apply'
22
import { atRule, styleRule, toCss, walk, type AstNode } from './ast'
33
import { printArbitraryValue } from './candidate'
4-
import * as SelectorParser from './compat/selector-parser'
54
import { CompileAstFlags, type DesignSystem } from './design-system'
5+
import * as SelectorParser from './selector-parser'
66
import { ThemeOptions } from './theme'
77
import { DefaultMap } from './utils/default-map'
88
import { dimensions } from './utils/dimensions'

0 commit comments

Comments
 (0)