File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
@tailwindcss-upgrade/src/codemods/template Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,9 @@ import {
44 createSignatureOptions ,
55 prepareDesignSystemStorage ,
66 UTILITY_SIGNATURE_KEY ,
7- import { createSignatureOptions } from '../../../../tailwindcss/src/canonicalize-candidates'
7+ } from '../../../../tailwindcss/src/canonicalize-candidates'
88import type { Config } from '../../../../tailwindcss/src/compat/plugin-api'
99import type { DesignSystem } from '../../../../tailwindcss/src/design-system'
10- import { computeUtilitySignature } from '../../../../tailwindcss/src/signatures'
1110import { DefaultMap } from '../../../../tailwindcss/src/utils/default-map'
1211import { spliceChangesIntoString , type StringChange } from '../../utils/splice-changes-into-string'
1312import { extractRawCandidates } from './candidates'
Original file line number Diff line number Diff line change @@ -1919,7 +1919,7 @@ export interface SignatureOptions {
19191919// | `flex` | `.x { display: flex; }` |
19201920//
19211921// These produce the same signature, therefore they represent the same utility.
1922- const UTILITY_SIGNATURE_KEY = Symbol ( )
1922+ export const UTILITY_SIGNATURE_KEY = Symbol ( )
19231923function createUtilitySignatureCache (
19241924 designSystem : DesignSystem ,
19251925) : DesignSystem [ 'storage' ] [ typeof UTILITY_SIGNATURE_KEY ] {
Original file line number Diff line number Diff line change 11import { describe , expect , test } from 'vitest'
22import { toCss } from './ast'
3+ import { SignatureFeatures } from './canonicalize-candidates'
34import { parse } from './css-parser'
45import { expandDeclaration } from './expand-declaration'
5- import { SignatureFeatures } from './signatures'
66import { walk , WalkAction } from './walk'
77
88const css = String . raw
You can’t perform that action at this time.
0 commit comments