@tamagui/tailwind 3.0.0-beta.765.1 → 3.0.0-beta.804.1
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/cjs/candidate.cjs +69 -82
- package/dist/cjs/candidate.native.cjs +74 -86
- package/dist/cjs/candidate.native.js +74 -86
- package/dist/cjs/candidate.native.js.map +1 -1
- package/dist/cjs/frontend.cjs +9 -12
- package/dist/cjs/frontend.native.cjs +10 -13
- package/dist/cjs/frontend.native.js +10 -13
- package/dist/cjs/frontend.native.js.map +1 -1
- package/dist/cjs/index.cjs +0 -2
- package/dist/cjs/index.native.cjs +0 -2
- package/dist/cjs/index.native.js +0 -2
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/candidate.mjs +70 -84
- package/dist/esm/candidate.mjs.map +1 -1
- package/dist/esm/candidate.native.js +75 -88
- package/dist/esm/candidate.native.js.map +1 -1
- package/dist/esm/frontend.mjs +10 -13
- package/dist/esm/frontend.mjs.map +1 -1
- package/dist/esm/frontend.native.js +11 -14
- package/dist/esm/frontend.native.js.map +1 -1
- package/dist/esm/index.mjs +1 -2
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +1 -2
- package/dist/esm/index.native.js.map +1 -1
- package/package.json +13 -13
- package/src/candidate.ts +77 -121
- package/src/frontend.ts +10 -21
- package/src/index.tsx +0 -1
- package/src/types.ts +1 -1
- package/types/candidate.d.ts +3 -9
- package/types/candidate.d.ts.map +1 -1
- package/types/frontend.d.ts +2 -2
- package/types/frontend.d.ts.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/types/types.d.ts +1 -1
- package/types/types.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/tailwind",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.804.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Nate Wienert"
|
|
@@ -64,20 +64,20 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@tailwindcss/node": "4.3.0",
|
|
66
66
|
"@tailwindcss/oxide": "4.3.0",
|
|
67
|
-
"@tamagui/constants": "3.0.0-beta.
|
|
68
|
-
"@tamagui/core": "3.0.0-beta.
|
|
69
|
-
"@tamagui/helpers": "3.0.0-beta.
|
|
70
|
-
"@tamagui/style-grammar": "3.0.0-beta.
|
|
71
|
-
"@tamagui/vite-plugin": "3.0.0-beta.
|
|
67
|
+
"@tamagui/constants": "3.0.0-beta.804.1",
|
|
68
|
+
"@tamagui/core": "3.0.0-beta.804.1",
|
|
69
|
+
"@tamagui/helpers": "3.0.0-beta.804.1",
|
|
70
|
+
"@tamagui/style-grammar": "3.0.0-beta.804.1",
|
|
71
|
+
"@tamagui/vite-plugin": "3.0.0-beta.804.1"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@tamagui/build": "3.0.0-beta.
|
|
75
|
-
"@tamagui/config": "3.0.0-beta.
|
|
76
|
-
"@tamagui/config-default": "3.0.0-beta.
|
|
77
|
-
"@tamagui/fake-react-native": "3.0.0-beta.
|
|
78
|
-
"@tamagui/react-native-web-lite": "3.0.0-beta.
|
|
79
|
-
"@tamagui/to-tailwind": "3.0.0-beta.
|
|
80
|
-
"@tamagui/web": "3.0.0-beta.
|
|
74
|
+
"@tamagui/build": "3.0.0-beta.804.1",
|
|
75
|
+
"@tamagui/config": "3.0.0-beta.804.1",
|
|
76
|
+
"@tamagui/config-default": "3.0.0-beta.804.1",
|
|
77
|
+
"@tamagui/fake-react-native": "3.0.0-beta.804.1",
|
|
78
|
+
"@tamagui/react-native-web-lite": "3.0.0-beta.804.1",
|
|
79
|
+
"@tamagui/to-tailwind": "3.0.0-beta.804.1",
|
|
80
|
+
"@tamagui/web": "3.0.0-beta.804.1",
|
|
81
81
|
"react": "19.2.3",
|
|
82
82
|
"typescript": "~6.0.3",
|
|
83
83
|
"vite": "^8.2.2",
|
package/src/candidate.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { isWeb } from '@tamagui/constants'
|
|
2
2
|
import {
|
|
3
|
-
STYLE_FRONTEND_PASSTHROUGH_PREFIX,
|
|
4
|
-
createFrontendProgram,
|
|
5
3
|
plainValueToPayload,
|
|
4
|
+
type FrontendClassPlan,
|
|
5
|
+
type FrontendClassPlanEntry,
|
|
6
6
|
type StyleFrontendConfig,
|
|
7
7
|
} from '@tamagui/core/internal-runtime'
|
|
8
8
|
import {
|
|
9
9
|
borderSideSuffix,
|
|
10
10
|
classifyCandidate,
|
|
11
|
+
configRevisionSymbol,
|
|
11
12
|
createGrammarConfigView,
|
|
12
13
|
decodeArbitrary,
|
|
13
14
|
getTokenCategory,
|
|
@@ -30,13 +31,17 @@ import {
|
|
|
30
31
|
* renderer.
|
|
31
32
|
*/
|
|
32
33
|
|
|
33
|
-
const styleGrammarConfigCache = new WeakMap<
|
|
34
|
+
const styleGrammarConfigCache = new WeakMap<
|
|
35
|
+
StyleFrontendConfig,
|
|
36
|
+
{ revision: number; value: GrammarConfigView }
|
|
37
|
+
>()
|
|
34
38
|
|
|
35
39
|
export function getStyleGrammarConfig(config: StyleFrontendConfig): GrammarConfigView {
|
|
36
40
|
const cached = styleGrammarConfigCache.get(config)
|
|
37
|
-
|
|
41
|
+
const revision = (config as any)[configRevisionSymbol]?.revision || 0
|
|
42
|
+
if (cached && cached.revision === revision) return cached.value
|
|
38
43
|
const view = createGrammarConfigView(config)
|
|
39
|
-
styleGrammarConfigCache.set(config, view)
|
|
44
|
+
styleGrammarConfigCache.set(config, { revision, value: view })
|
|
40
45
|
return view
|
|
41
46
|
}
|
|
42
47
|
|
|
@@ -301,7 +306,7 @@ function tailwindClassToFlatProp(
|
|
|
301
306
|
// null = web-only candidate dropped on native. 'raw' = not claimed by the
|
|
302
307
|
// grammar, caller preserves the class string. An array (which may legitimately be
|
|
303
308
|
// empty) = claimed, apply these entries.
|
|
304
|
-
type TailwindPlanEntry =
|
|
309
|
+
type TailwindPlanEntry = FrontendClassPlanEntry
|
|
305
310
|
type TailwindClassPlan = TailwindPlanEntry[] | null | 'raw'
|
|
306
311
|
type TailwindParentPlan = {
|
|
307
312
|
entries: TailwindPlanEntry[]
|
|
@@ -329,13 +334,12 @@ function createPlanEntry(
|
|
|
329
334
|
if (modifiers.length === 0) return [property, value]
|
|
330
335
|
const payload = plainValueToPayload(value, property)
|
|
331
336
|
if (payload === null) return null
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
]
|
|
337
|
+
let condition = ''
|
|
338
|
+
for (let index = 0; index < modifiers.length; index++) {
|
|
339
|
+
if (index) condition += ':'
|
|
340
|
+
condition += modifiers[index]
|
|
341
|
+
}
|
|
342
|
+
return [property, payload, condition, modifiers]
|
|
339
343
|
}
|
|
340
344
|
|
|
341
345
|
function computeClassPlan(
|
|
@@ -355,13 +359,9 @@ function computeClassPlan(
|
|
|
355
359
|
const isSize = containerMarker[1] !== undefined
|
|
356
360
|
const name = containerMarker[2]
|
|
357
361
|
const entries: TailwindPlanEntry[] = []
|
|
358
|
-
|
|
362
|
+
entries.push(['container', name || true])
|
|
359
363
|
if (isSize) {
|
|
360
364
|
entries.push(['containerType', 'size'])
|
|
361
|
-
} else if (name) {
|
|
362
|
-
entries.push(['containerType', 'inline-size'])
|
|
363
|
-
} else {
|
|
364
|
-
entries.push(['container', true])
|
|
365
365
|
}
|
|
366
366
|
return { entries, preserveRawClass: isWeb }
|
|
367
367
|
}
|
|
@@ -404,7 +404,65 @@ function computeClassPlan(
|
|
|
404
404
|
return 'raw'
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
|
|
407
|
+
export function getTailwindClassPlan(
|
|
408
|
+
candidate: string,
|
|
409
|
+
config: StyleFrontendConfig
|
|
410
|
+
): FrontendClassPlan {
|
|
411
|
+
const grammarConfig = getStyleGrammarConfig(config)
|
|
412
|
+
const plans = getClassPlanCache(grammarConfig)
|
|
413
|
+
let plan = plans.get(candidate)
|
|
414
|
+
if (plan === undefined) {
|
|
415
|
+
plan = computeClassPlan(candidate, grammarConfig)
|
|
416
|
+
plans.set(candidate, plan)
|
|
417
|
+
}
|
|
418
|
+
return plan
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export function resolveTailwindClassName(
|
|
422
|
+
className: string,
|
|
423
|
+
config: StyleFrontendConfig
|
|
424
|
+
): Record<string, any> {
|
|
425
|
+
const result: Record<string, any> = {}
|
|
426
|
+
let rawClassName = ''
|
|
427
|
+
let start = 0
|
|
428
|
+
for (let index = 0; index <= className.length; index++) {
|
|
429
|
+
if (index !== className.length && className.charCodeAt(index) > 32) continue
|
|
430
|
+
if (start === index) {
|
|
431
|
+
start = index + 1
|
|
432
|
+
continue
|
|
433
|
+
}
|
|
434
|
+
const candidate = className.slice(start, index)
|
|
435
|
+
const plan = getTailwindClassPlan(candidate, config)
|
|
436
|
+
if (plan === 'raw') {
|
|
437
|
+
rawClassName = rawClassName ? `${rawClassName} ${candidate}` : candidate
|
|
438
|
+
} else if (plan) {
|
|
439
|
+
const parentPlan = plan as TailwindParentPlan
|
|
440
|
+
if (!Array.isArray(plan) && parentPlan.preserveRawClass) {
|
|
441
|
+
rawClassName = rawClassName ? `${rawClassName} ${candidate}` : candidate
|
|
442
|
+
}
|
|
443
|
+
const entries = Array.isArray(plan) ? plan : parentPlan.entries
|
|
444
|
+
for (let entryIndex = 0; entryIndex < entries.length; entryIndex++) {
|
|
445
|
+
const [key, value, condition] = entries[entryIndex]
|
|
446
|
+
const previous = result[key]
|
|
447
|
+
let next = value
|
|
448
|
+
if (condition !== undefined) {
|
|
449
|
+
next =
|
|
450
|
+
previous && typeof previous === 'object' && !Array.isArray(previous)
|
|
451
|
+
? { ...previous, [condition]: value }
|
|
452
|
+
: previous === undefined
|
|
453
|
+
? { [condition]: value }
|
|
454
|
+
: { default: previous, [condition]: value }
|
|
455
|
+
} else if (previous && typeof previous === 'object' && !Array.isArray(previous)) {
|
|
456
|
+
next = { ...previous, default: value }
|
|
457
|
+
}
|
|
458
|
+
setInAuthoredOrder(result, key, next)
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
start = index + 1
|
|
462
|
+
}
|
|
463
|
+
if (rawClassName) result.className = rawClassName
|
|
464
|
+
return result
|
|
465
|
+
}
|
|
408
466
|
|
|
409
467
|
/**
|
|
410
468
|
* Append a contribution at the end of the forward pass.
|
|
@@ -423,105 +481,3 @@ export function setInAuthoredOrder(
|
|
|
423
481
|
if (key in target) delete target[key]
|
|
424
482
|
target[key] = value
|
|
425
483
|
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* Tokenize a className into ordinary props and internal value-program contributions,
|
|
429
|
-
* once per class per config.
|
|
430
|
-
* User-defined tokens drive resolution; Tailwind's color/spacing scales are never
|
|
431
|
-
* hardcoded. Classes the grammar does not claim stay in `className` verbatim, in
|
|
432
|
-
* author order, so official Tailwind CSS still applies them on web.
|
|
433
|
-
*/
|
|
434
|
-
export function preprocessTailwindClassName(
|
|
435
|
-
props: Record<string, any>,
|
|
436
|
-
config: StyleFrontendConfig,
|
|
437
|
-
preservePassthroughPosition = false
|
|
438
|
-
): Record<string, any> {
|
|
439
|
-
const className = props.className
|
|
440
|
-
if (!className || typeof className !== 'string') {
|
|
441
|
-
return props
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
const classes = className.split(/\s+/).filter(Boolean)
|
|
445
|
-
const result: Record<string, any> = {}
|
|
446
|
-
const grammarConfig = getStyleGrammarConfig(config)
|
|
447
|
-
const plans = getClassPlanCache(grammarConfig)
|
|
448
|
-
const classPlans = classes.map((cls) => {
|
|
449
|
-
let plan = plans.get(cls)
|
|
450
|
-
if (plan === undefined) {
|
|
451
|
-
plan = computeClassPlan(cls, grammarConfig)
|
|
452
|
-
plans.set(cls, plan)
|
|
453
|
-
}
|
|
454
|
-
return plan
|
|
455
|
-
})
|
|
456
|
-
const hasOwnedStyleCandidate =
|
|
457
|
-
preservePassthroughPosition && classPlans.some((plan) => Array.isArray(plan))
|
|
458
|
-
let frontendProgramIndex = 0
|
|
459
|
-
let passthroughIndex = 0
|
|
460
|
-
const regularClasses: string[] = []
|
|
461
|
-
|
|
462
|
-
const preserveRawClass = (cls: string) => {
|
|
463
|
-
if (hasOwnedStyleCandidate) {
|
|
464
|
-
result[`${STYLE_FRONTEND_PASSTHROUGH_PREFIX}${passthroughIndex++}`] = cls
|
|
465
|
-
} else {
|
|
466
|
-
regularClasses.push(cls)
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
const applyEntry = ([key, value]: TailwindPlanEntry) => {
|
|
471
|
-
if (key === null) {
|
|
472
|
-
result[`__tamagui_frontend_program_${frontendProgramIndex++}`] = value
|
|
473
|
-
} else {
|
|
474
|
-
setInAuthoredOrder(result, key, value)
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
// Expand the className exactly where it was authored. Claimed classes and
|
|
479
|
-
// ordinary props therefore share one forward pass: whichever contribution is
|
|
480
|
-
// encountered later wins. Classes within the string are likewise applied in
|
|
481
|
-
// their own left-to-right order.
|
|
482
|
-
for (const key in props) {
|
|
483
|
-
if (key !== 'className') {
|
|
484
|
-
setInAuthoredOrder(result, key, props[key])
|
|
485
|
-
continue
|
|
486
|
-
}
|
|
487
|
-
for (let classIndex = 0; classIndex < classes.length; classIndex++) {
|
|
488
|
-
const cls = classes[classIndex]
|
|
489
|
-
const plan = classPlans[classIndex]
|
|
490
|
-
if (plan === null) {
|
|
491
|
-
// web-only candidate on native: dropped, warned once
|
|
492
|
-
if (
|
|
493
|
-
process.env.NODE_ENV !== 'production' &&
|
|
494
|
-
!warnedNativePassthroughCandidates.has(cls)
|
|
495
|
-
) {
|
|
496
|
-
warnedNativePassthroughCandidates.add(cls)
|
|
497
|
-
console.warn(
|
|
498
|
-
`[tamagui] Tailwind candidate "${cls}" is web-only and was dropped on native. Use a Tamagui grammar candidate or a native style prop for cross-platform output.`
|
|
499
|
-
)
|
|
500
|
-
}
|
|
501
|
-
continue
|
|
502
|
-
}
|
|
503
|
-
if (plan === 'raw') {
|
|
504
|
-
// not claimed by the grammar: preserve the class as-is
|
|
505
|
-
preserveRawClass(cls)
|
|
506
|
-
continue
|
|
507
|
-
}
|
|
508
|
-
if (!Array.isArray(plan)) {
|
|
509
|
-
if (plan.preserveRawClass) {
|
|
510
|
-
preserveRawClass(cls)
|
|
511
|
-
}
|
|
512
|
-
for (let i = 0; i < plan.entries.length; i++) {
|
|
513
|
-
applyEntry(plan.entries[i])
|
|
514
|
-
}
|
|
515
|
-
continue
|
|
516
|
-
}
|
|
517
|
-
for (let i = 0; i < plan.length; i++) {
|
|
518
|
-
applyEntry(plan[i])
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
if (regularClasses.length > 0) {
|
|
522
|
-
result.className = regularClasses.join(' ')
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
return result
|
|
527
|
-
}
|
package/src/frontend.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
STYLE_FRONTEND_PREPROCESSED,
|
|
3
2
|
type FrontendStaticConfig,
|
|
4
3
|
type StyleFrontend,
|
|
5
4
|
type StyleFrontendConfig,
|
|
6
5
|
} from '@tamagui/core/internal-runtime'
|
|
7
|
-
import {
|
|
6
|
+
import { configRevisionSymbol } from '@tamagui/style-grammar/runtime'
|
|
7
|
+
import { getTailwindClassPlan, resolveTailwindClassName } from './candidate'
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The Tailwind frontend descriptor.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* The shared style cursor tokenizes `className` once and asks this descriptor for
|
|
13
|
+
* an immutable plan per candidate.
|
|
14
14
|
* Everything after this point — value programs,
|
|
15
15
|
* per-longhand forward merging, web lowering, native evaluation — is shared.
|
|
16
16
|
*
|
|
@@ -27,12 +27,12 @@ export function parseStaticStyle(
|
|
|
27
27
|
input: string,
|
|
28
28
|
config: StyleFrontendConfig
|
|
29
29
|
): Record<string, any> {
|
|
30
|
-
return
|
|
30
|
+
return resolveTailwindClassName(input, config)
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
const normalizedStaticConfigCache = new WeakMap<
|
|
34
34
|
FrontendStaticConfig,
|
|
35
|
-
WeakMap<StyleFrontendConfig, FrontendStaticConfig>
|
|
35
|
+
WeakMap<StyleFrontendConfig, { revision: number; value: FrontendStaticConfig }>
|
|
36
36
|
>()
|
|
37
37
|
const normalizedStaticConfigs = new WeakSet<FrontendStaticConfig>()
|
|
38
38
|
|
|
@@ -45,7 +45,8 @@ function normalizeTailwindStaticConfig<Config extends FrontendStaticConfig>(
|
|
|
45
45
|
}
|
|
46
46
|
let configCache = normalizedStaticConfigCache.get(staticConfig)
|
|
47
47
|
const cached = configCache?.get(config)
|
|
48
|
-
|
|
48
|
+
const revision = (config as any)[configRevisionSymbol]?.revision || 0
|
|
49
|
+
if (cached && cached.revision === revision) return cached.value as Config
|
|
49
50
|
|
|
50
51
|
let variants = staticConfig.variants
|
|
51
52
|
if (variants) {
|
|
@@ -93,24 +94,12 @@ function normalizeTailwindStaticConfig<Config extends FrontendStaticConfig>(
|
|
|
93
94
|
} as Config
|
|
94
95
|
normalizedStaticConfigs.add(normalized)
|
|
95
96
|
configCache ||= new WeakMap()
|
|
96
|
-
configCache.set(config, normalized)
|
|
97
|
+
configCache.set(config, { revision, value: normalized })
|
|
97
98
|
normalizedStaticConfigCache.set(staticConfig, configCache)
|
|
98
99
|
return normalized
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
export const tailwindStyleFrontend: StyleFrontend = {
|
|
102
|
-
|
|
103
|
-
const transformed =
|
|
104
|
-
typeof props.className === 'string'
|
|
105
|
-
? preprocessTailwindClassName(props, config, true)
|
|
106
|
-
: props
|
|
107
|
-
// only a fresh object gets the marker; marking the caller's props would leak the
|
|
108
|
-
// symbol onto props the frontend never actually rewrote
|
|
109
|
-
if (transformed !== props) {
|
|
110
|
-
;(transformed as any)[STYLE_FRONTEND_PREPROCESSED] = true
|
|
111
|
-
}
|
|
112
|
-
return transformed
|
|
113
|
-
},
|
|
114
|
-
|
|
103
|
+
getClassPlan: getTailwindClassPlan,
|
|
115
104
|
normalizeStaticConfig: normalizeTailwindStaticConfig,
|
|
116
105
|
}
|
package/src/index.tsx
CHANGED
|
@@ -20,5 +20,4 @@ export const Text = frontendViews.Text as unknown as TailwindText
|
|
|
20
20
|
|
|
21
21
|
export { styled } from './styled'
|
|
22
22
|
export { parseStaticStyle, tailwindStyleFrontend } from './frontend'
|
|
23
|
-
export { preprocessTailwindClassName } from './candidate'
|
|
24
23
|
export type * from './types'
|
package/src/types.ts
CHANGED
package/types/candidate.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { type StyleFrontendConfig } from '@tamagui/core/internal-runtime';
|
|
1
|
+
import { type FrontendClassPlan, type StyleFrontendConfig } from '@tamagui/core/internal-runtime';
|
|
2
2
|
import { type GrammarConfigView } from '@tamagui/style-grammar/runtime';
|
|
3
3
|
export declare function getStyleGrammarConfig(config: StyleFrontendConfig): GrammarConfigView;
|
|
4
4
|
export declare function isTokenValueProp(prop: string): boolean;
|
|
5
|
+
export declare function getTailwindClassPlan(candidate: string, config: StyleFrontendConfig): FrontendClassPlan;
|
|
6
|
+
export declare function resolveTailwindClassName(className: string, config: StyleFrontendConfig): Record<string, any>;
|
|
5
7
|
/**
|
|
6
8
|
* Append a contribution at the end of the forward pass.
|
|
7
9
|
*
|
|
@@ -12,12 +14,4 @@ export declare function isTokenValueProp(prop: string): boolean;
|
|
|
12
14
|
* which is the authored order the shared per-longhand merge reads.
|
|
13
15
|
*/
|
|
14
16
|
export declare function setInAuthoredOrder(target: Record<string, any>, key: string, value: any): void;
|
|
15
|
-
/**
|
|
16
|
-
* Tokenize a className into ordinary props and internal value-program contributions,
|
|
17
|
-
* once per class per config.
|
|
18
|
-
* User-defined tokens drive resolution; Tailwind's color/spacing scales are never
|
|
19
|
-
* hardcoded. Classes the grammar does not claim stay in `className` verbatim, in
|
|
20
|
-
* author order, so official Tailwind CSS still applies them on web.
|
|
21
|
-
*/
|
|
22
|
-
export declare function preprocessTailwindClassName(props: Record<string, any>, config: StyleFrontendConfig, preservePassthroughPosition?: boolean): Record<string, any>;
|
|
23
17
|
//# sourceMappingURL=candidate.d.ts.map
|
package/types/candidate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"candidate.d.ts","sourceRoot":"","sources":["../src/candidate.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"candidate.d.ts","sourceRoot":"","sources":["../src/candidate.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,iBAAiB,EAEtB,KAAK,mBAAmB,EACzB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAWL,KAAK,iBAAiB,EAEvB,MAAM,gCAAgC,CAAA;AAkBvC,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,mBAAmB,GAAG,iBAAiB,CAOpF;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEtD;AAqWD,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,mBAAmB,GAC1B,iBAAiB,CASnB;AAED,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,mBAAmB,GAC1B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAyCrB;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,GAAG,GACT,IAAI,CAGN"}
|
package/types/frontend.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { type StyleFrontend, type StyleFrontendConfig } from '@tamagui/core/inte
|
|
|
2
2
|
/**
|
|
3
3
|
* The Tailwind frontend descriptor.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* The shared style cursor tokenizes `className` once and asks this descriptor for
|
|
6
|
+
* an immutable plan per candidate.
|
|
7
7
|
* Everything after this point — value programs,
|
|
8
8
|
* per-longhand forward merging, web lowering, native evaluation — is shared.
|
|
9
9
|
*
|
package/types/frontend.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend.d.ts","sourceRoot":"","sources":["../src/frontend.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"frontend.d.ts","sourceRoot":"","sources":["../src/frontend.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,gCAAgC,CAAA;AAIvC;;;;;;;;;;;GAWG;AAEH;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,mBAAmB,GAC1B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAErB;AAuED,eAAO,MAAM,qBAAqB,EAAE,aAGnC,CAAA"}
|
package/types/index.d.ts
CHANGED
|
@@ -3,6 +3,5 @@ export declare const View: TailwindView;
|
|
|
3
3
|
export declare const Text: TailwindText;
|
|
4
4
|
export { styled } from './styled';
|
|
5
5
|
export { parseStaticStyle, tailwindStyleFrontend } from './frontend';
|
|
6
|
-
export { preprocessTailwindClassName } from './candidate';
|
|
7
6
|
export type * from './types';
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAIzD,eAAO,MAAM,IAAI,EAAoC,YAAY,CAAA;AACjE,eAAO,MAAM,IAAI,EAAoC,YAAY,CAAA;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AACpE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAIzD,eAAO,MAAM,IAAI,EAAoC,YAAY,CAAA;AACjE,eAAO,MAAM,IAAI,EAAoC,YAAY,CAAA;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AACpE,mBAAmB,SAAS,CAAA"}
|
package/types/types.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ type TailwindCommonProps = AriaAttributes & WebEventProps & {
|
|
|
63
63
|
}, state: TailwindComponentState) => ReactElement);
|
|
64
64
|
theme?: string | null;
|
|
65
65
|
group?: string | boolean;
|
|
66
|
-
container?: boolean;
|
|
66
|
+
container?: boolean | string;
|
|
67
67
|
untilMeasured?: 'hide' | 'show';
|
|
68
68
|
name?: string;
|
|
69
69
|
tabIndex?: string | number;
|
package/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,SAAS,EACT,GAAG,IAAI,QAAQ,EAChB,MAAM,OAAO,CA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