@tamagui/style-grammar 0.0.0-bootstrap.0 → 3.0.0-beta.643.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/LICENSE +21 -0
- package/README.md +33 -1
- package/dist/cjs/backgroundFamily.cjs +176 -0
- package/dist/cjs/backgroundFamily.native.cjs +195 -0
- package/dist/cjs/backgroundFamily.native.js +197 -0
- package/dist/cjs/backgroundFamily.native.js.map +1 -0
- package/dist/cjs/borderFamily.cjs +169 -0
- package/dist/cjs/borderFamily.native.cjs +247 -0
- package/dist/cjs/borderFamily.native.js +249 -0
- package/dist/cjs/borderFamily.native.js.map +1 -0
- package/dist/cjs/candidate.cjs +608 -0
- package/dist/cjs/candidate.native.cjs +821 -0
- package/dist/cjs/candidate.native.js +823 -0
- package/dist/cjs/candidate.native.js.map +1 -0
- package/dist/cjs/candidateTarget.cjs +50 -0
- package/dist/cjs/candidateTarget.native.cjs +88 -0
- package/dist/cjs/candidateTarget.native.js +90 -0
- package/dist/cjs/candidateTarget.native.js.map +1 -0
- package/dist/cjs/clauseCapability.cjs +130 -0
- package/dist/cjs/clauseCapability.native.cjs +152 -0
- package/dist/cjs/clauseCapability.native.js +154 -0
- package/dist/cjs/clauseCapability.native.js.map +1 -0
- package/dist/cjs/clausePrecedence.cjs +153 -0
- package/dist/cjs/clausePrecedence.native.cjs +204 -0
- package/dist/cjs/clausePrecedence.native.js +206 -0
- package/dist/cjs/clausePrecedence.native.js.map +1 -0
- package/dist/cjs/clauseSources.cjs +47 -0
- package/dist/cjs/clauseSources.native.cjs +49 -0
- package/dist/cjs/clauseSources.native.js +51 -0
- package/dist/cjs/clauseSources.native.js.map +1 -0
- package/dist/cjs/config.cjs +130 -0
- package/dist/cjs/config.native.cjs +185 -0
- package/dist/cjs/config.native.js +187 -0
- package/dist/cjs/config.native.js.map +1 -0
- package/dist/cjs/evaluateProgram.cjs +65 -0
- package/dist/cjs/evaluateProgram.native.cjs +70 -0
- package/dist/cjs/evaluateProgram.native.js +72 -0
- package/dist/cjs/evaluateProgram.native.js.map +1 -0
- package/dist/cjs/fontShorthand.cjs +207 -0
- package/dist/cjs/fontShorthand.native.cjs +260 -0
- package/dist/cjs/fontShorthand.native.js +262 -0
- package/dist/cjs/fontShorthand.native.js.map +1 -0
- package/dist/cjs/geometricShorthand.cjs +122 -0
- package/dist/cjs/geometricShorthand.native.cjs +128 -0
- package/dist/cjs/geometricShorthand.native.js +130 -0
- package/dist/cjs/geometricShorthand.native.js.map +1 -0
- package/dist/cjs/index.cjs +19 -0
- package/dist/cjs/index.native.cjs +21 -0
- package/dist/cjs/index.native.js +23 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/cjs/lowerProgram.cjs +205 -0
- package/dist/cjs/lowerProgram.native.cjs +257 -0
- package/dist/cjs/lowerProgram.native.js +259 -0
- package/dist/cjs/lowerProgram.native.js.map +1 -0
- package/dist/cjs/mergeFlatValues.cjs +50 -0
- package/dist/cjs/mergeFlatValues.native.cjs +71 -0
- package/dist/cjs/mergeFlatValues.native.js +73 -0
- package/dist/cjs/mergeFlatValues.native.js.map +1 -0
- package/dist/cjs/modifierRegistry.cjs +246 -0
- package/dist/cjs/modifierRegistry.native.cjs +426 -0
- package/dist/cjs/modifierRegistry.native.js +428 -0
- package/dist/cjs/modifierRegistry.native.js.map +1 -0
- package/dist/cjs/payloadShape.cjs +69 -0
- package/dist/cjs/payloadShape.native.cjs +71 -0
- package/dist/cjs/payloadShape.native.js +73 -0
- package/dist/cjs/payloadShape.native.js.map +1 -0
- package/dist/cjs/programEligibility.cjs +46 -0
- package/dist/cjs/programEligibility.native.cjs +48 -0
- package/dist/cjs/programEligibility.native.js +50 -0
- package/dist/cjs/programEligibility.native.js.map +1 -0
- package/dist/cjs/programHash.cjs +86 -0
- package/dist/cjs/programHash.native.cjs +106 -0
- package/dist/cjs/programHash.native.js +108 -0
- package/dist/cjs/programHash.native.js.map +1 -0
- package/dist/cjs/programs.cjs +128 -0
- package/dist/cjs/programs.native.cjs +220 -0
- package/dist/cjs/programs.native.js +222 -0
- package/dist/cjs/programs.native.js.map +1 -0
- package/dist/cjs/registry.cjs +629 -0
- package/dist/cjs/registry.native.cjs +635 -0
- package/dist/cjs/registry.native.js +637 -0
- package/dist/cjs/registry.native.js.map +1 -0
- package/dist/cjs/resolvePayload.cjs +296 -0
- package/dist/cjs/resolvePayload.native.cjs +302 -0
- package/dist/cjs/resolvePayload.native.js +304 -0
- package/dist/cjs/resolvePayload.native.js.map +1 -0
- package/dist/cjs/runtime.cjs +50 -0
- package/dist/cjs/runtime.native.cjs +52 -0
- package/dist/cjs/runtime.native.js +54 -0
- package/dist/cjs/runtime.native.js.map +1 -0
- package/dist/cjs/safeAreaVariables.cjs +42 -0
- package/dist/cjs/safeAreaVariables.native.cjs +44 -0
- package/dist/cjs/safeAreaVariables.native.js +46 -0
- package/dist/cjs/safeAreaVariables.native.js.map +1 -0
- package/dist/cjs/scanFlatValue.cjs +181 -0
- package/dist/cjs/scanFlatValue.native.cjs +183 -0
- package/dist/cjs/scanFlatValue.native.js +185 -0
- package/dist/cjs/scanFlatValue.native.js.map +1 -0
- package/dist/cjs/serializePayload.cjs +149 -0
- package/dist/cjs/serializePayload.native.cjs +187 -0
- package/dist/cjs/serializePayload.native.js +189 -0
- package/dist/cjs/serializePayload.native.js.map +1 -0
- package/dist/cjs/stateModifiers.cjs +43 -0
- package/dist/cjs/stateModifiers.native.cjs +45 -0
- package/dist/cjs/stateModifiers.native.js +47 -0
- package/dist/cjs/stateModifiers.native.js.map +1 -0
- package/dist/cjs/states.cjs +97 -0
- package/dist/cjs/states.native.cjs +131 -0
- package/dist/cjs/states.native.js +133 -0
- package/dist/cjs/states.native.js.map +1 -0
- package/dist/cjs/table.cjs +54 -0
- package/dist/cjs/table.native.cjs +135 -0
- package/dist/cjs/table.native.js +137 -0
- package/dist/cjs/table.native.js.map +1 -0
- package/dist/cjs/textDecorationFamily.cjs +129 -0
- package/dist/cjs/textDecorationFamily.native.cjs +199 -0
- package/dist/cjs/textDecorationFamily.native.js +201 -0
- package/dist/cjs/textDecorationFamily.native.js.map +1 -0
- package/dist/cjs/tooling.cjs +26 -0
- package/dist/cjs/tooling.native.cjs +28 -0
- package/dist/cjs/tooling.native.js +30 -0
- package/dist/cjs/tooling.native.js.map +1 -0
- package/dist/cjs/toolingAnnotations.cjs +105 -0
- package/dist/cjs/toolingAnnotations.native.cjs +133 -0
- package/dist/cjs/toolingAnnotations.native.js +135 -0
- package/dist/cjs/toolingAnnotations.native.js.map +1 -0
- package/dist/cjs/toolingDiagnostics.cjs +459 -0
- package/dist/cjs/toolingDiagnostics.native.cjs +788 -0
- package/dist/cjs/toolingDiagnostics.native.js +790 -0
- package/dist/cjs/toolingDiagnostics.native.js.map +1 -0
- package/dist/cjs/toolingRegistry.cjs +159 -0
- package/dist/cjs/toolingRegistry.native.cjs +164 -0
- package/dist/cjs/toolingRegistry.native.js +166 -0
- package/dist/cjs/toolingRegistry.native.js.map +1 -0
- package/dist/cjs/transformFamily.cjs +425 -0
- package/dist/cjs/transformFamily.native.cjs +517 -0
- package/dist/cjs/transformFamily.native.js +519 -0
- package/dist/cjs/transformFamily.native.js.map +1 -0
- package/dist/cjs/transition.cjs +459 -0
- package/dist/cjs/transition.native.cjs +499 -0
- package/dist/cjs/transition.native.js +501 -0
- package/dist/cjs/transition.native.js.map +1 -0
- package/dist/cjs/transitionAlign.cjs +115 -0
- package/dist/cjs/transitionAlign.native.cjs +154 -0
- package/dist/cjs/transitionAlign.native.js +156 -0
- package/dist/cjs/transitionAlign.native.js.map +1 -0
- package/dist/cjs/transitionLegacy.cjs +217 -0
- package/dist/cjs/transitionLegacy.native.cjs +260 -0
- package/dist/cjs/transitionLegacy.native.js +262 -0
- package/dist/cjs/transitionLegacy.native.js.map +1 -0
- package/dist/cjs/transitionNative.cjs +281 -0
- package/dist/cjs/transitionNative.native.cjs +285 -0
- package/dist/cjs/transitionNative.native.js +287 -0
- package/dist/cjs/transitionNative.native.js.map +1 -0
- package/dist/cjs/unitlessNumbers.cjs +86 -0
- package/dist/cjs/unitlessNumbers.native.cjs +106 -0
- package/dist/cjs/unitlessNumbers.native.js +108 -0
- package/dist/cjs/unitlessNumbers.native.js.map +1 -0
- package/dist/cjs/v6ThemeNames.cjs +47 -0
- package/dist/cjs/v6ThemeNames.native.cjs +53 -0
- package/dist/cjs/v6ThemeNames.native.js +55 -0
- package/dist/cjs/v6ThemeNames.native.js.map +1 -0
- package/dist/cjs/valueParser.cjs +148 -0
- package/dist/cjs/valueParser.native.cjs +150 -0
- package/dist/cjs/valueParser.native.js +152 -0
- package/dist/cjs/valueParser.native.js.map +1 -0
- package/dist/cjs/valueTypes.cjs +38 -0
- package/dist/cjs/valueTypes.native.cjs +40 -0
- package/dist/cjs/valueTypes.native.js +42 -0
- package/dist/cjs/valueTypes.native.js.map +1 -0
- package/dist/esm/backgroundFamily.mjs +150 -0
- package/dist/esm/backgroundFamily.mjs.map +1 -0
- package/dist/esm/backgroundFamily.native.js +167 -0
- package/dist/esm/backgroundFamily.native.js.map +1 -0
- package/dist/esm/borderFamily.mjs +146 -0
- package/dist/esm/borderFamily.mjs.map +1 -0
- package/dist/esm/borderFamily.native.js +222 -0
- package/dist/esm/borderFamily.native.js.map +1 -0
- package/dist/esm/candidate.mjs +581 -0
- package/dist/esm/candidate.mjs.map +1 -0
- package/dist/esm/candidate.native.js +792 -0
- package/dist/esm/candidate.native.js.map +1 -0
- package/dist/esm/candidateTarget.mjs +29 -0
- package/dist/esm/candidateTarget.mjs.map +1 -0
- package/dist/esm/candidateTarget.native.js +65 -0
- package/dist/esm/candidateTarget.native.js.map +1 -0
- package/dist/esm/clauseCapability.mjs +107 -0
- package/dist/esm/clauseCapability.mjs.map +1 -0
- package/dist/esm/clauseCapability.native.js +127 -0
- package/dist/esm/clauseCapability.native.js.map +1 -0
- package/dist/esm/clausePrecedence.mjs +121 -0
- package/dist/esm/clausePrecedence.mjs.map +1 -0
- package/dist/esm/clausePrecedence.native.js +170 -0
- package/dist/esm/clausePrecedence.native.js.map +1 -0
- package/dist/esm/clauseSources.mjs +23 -0
- package/dist/esm/clauseSources.mjs.map +1 -0
- package/dist/esm/clauseSources.native.js +23 -0
- package/dist/esm/clauseSources.native.js.map +1 -0
- package/dist/esm/config.mjs +103 -0
- package/dist/esm/config.mjs.map +1 -0
- package/dist/esm/config.native.js +156 -0
- package/dist/esm/config.native.js.map +1 -0
- package/dist/esm/evaluateProgram.mjs +45 -0
- package/dist/esm/evaluateProgram.mjs.map +1 -0
- package/dist/esm/evaluateProgram.native.js +48 -0
- package/dist/esm/evaluateProgram.native.js.map +1 -0
- package/dist/esm/fontShorthand.mjs +184 -0
- package/dist/esm/fontShorthand.mjs.map +1 -0
- package/dist/esm/fontShorthand.native.js +235 -0
- package/dist/esm/fontShorthand.native.js.map +1 -0
- package/dist/esm/geometricShorthand.mjs +102 -0
- package/dist/esm/geometricShorthand.mjs.map +1 -0
- package/dist/esm/geometricShorthand.native.js +106 -0
- package/dist/esm/geometricShorthand.native.js.map +1 -0
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/index.native.js +1 -0
- package/dist/esm/lowerProgram.mjs +182 -0
- package/dist/esm/lowerProgram.mjs.map +1 -0
- package/dist/esm/lowerProgram.native.js +232 -0
- package/dist/esm/lowerProgram.native.js.map +1 -0
- package/dist/esm/mergeFlatValues.mjs +27 -0
- package/dist/esm/mergeFlatValues.mjs.map +1 -0
- package/dist/esm/mergeFlatValues.native.js +46 -0
- package/dist/esm/mergeFlatValues.native.js.map +1 -0
- package/dist/esm/modifierRegistry.mjs +219 -0
- package/dist/esm/modifierRegistry.mjs.map +1 -0
- package/dist/esm/modifierRegistry.native.js +397 -0
- package/dist/esm/modifierRegistry.native.js.map +1 -0
- package/dist/esm/payloadShape.mjs +49 -0
- package/dist/esm/payloadShape.mjs.map +1 -0
- package/dist/esm/payloadShape.native.js +49 -0
- package/dist/esm/payloadShape.native.js.map +1 -0
- package/dist/esm/programEligibility.mjs +22 -0
- package/dist/esm/programEligibility.mjs.map +1 -0
- package/dist/esm/programEligibility.native.js +22 -0
- package/dist/esm/programEligibility.native.js.map +1 -0
- package/dist/esm/programHash.mjs +62 -0
- package/dist/esm/programHash.mjs.map +1 -0
- package/dist/esm/programHash.native.js +80 -0
- package/dist/esm/programHash.native.js.map +1 -0
- package/dist/esm/programs.mjs +103 -0
- package/dist/esm/programs.mjs.map +1 -0
- package/dist/esm/programs.native.js +193 -0
- package/dist/esm/programs.native.js.map +1 -0
- package/dist/esm/registry.mjs +595 -0
- package/dist/esm/registry.mjs.map +1 -0
- package/dist/esm/registry.native.js +599 -0
- package/dist/esm/registry.native.js.map +1 -0
- package/dist/esm/resolvePayload.mjs +273 -0
- package/dist/esm/resolvePayload.mjs.map +1 -0
- package/dist/esm/resolvePayload.native.js +277 -0
- package/dist/esm/resolvePayload.native.js.map +1 -0
- package/dist/esm/runtime.mjs +63 -0
- package/dist/esm/runtime.native.js +63 -0
- package/dist/esm/safeAreaVariables.mjs +18 -0
- package/dist/esm/safeAreaVariables.mjs.map +1 -0
- package/dist/esm/safeAreaVariables.native.js +18 -0
- package/dist/esm/safeAreaVariables.native.js.map +1 -0
- package/dist/esm/scanFlatValue.mjs +160 -0
- package/dist/esm/scanFlatValue.mjs.map +1 -0
- package/dist/esm/scanFlatValue.native.js +160 -0
- package/dist/esm/scanFlatValue.native.js.map +1 -0
- package/dist/esm/serializePayload.mjs +125 -0
- package/dist/esm/serializePayload.mjs.map +1 -0
- package/dist/esm/serializePayload.native.js +161 -0
- package/dist/esm/serializePayload.native.js.map +1 -0
- package/dist/esm/stateModifiers.mjs +19 -0
- package/dist/esm/stateModifiers.mjs.map +1 -0
- package/dist/esm/stateModifiers.native.js +19 -0
- package/dist/esm/stateModifiers.native.js.map +1 -0
- package/dist/esm/states.mjs +69 -0
- package/dist/esm/states.mjs.map +1 -0
- package/dist/esm/states.native.js +101 -0
- package/dist/esm/states.native.js.map +1 -0
- package/dist/esm/table.mjs +31 -0
- package/dist/esm/table.mjs.map +1 -0
- package/dist/esm/table.native.js +110 -0
- package/dist/esm/table.native.js.map +1 -0
- package/dist/esm/textDecorationFamily.mjs +106 -0
- package/dist/esm/textDecorationFamily.mjs.map +1 -0
- package/dist/esm/textDecorationFamily.native.js +174 -0
- package/dist/esm/textDecorationFamily.native.js.map +1 -0
- package/dist/esm/tooling.mjs +15 -0
- package/dist/esm/tooling.native.js +15 -0
- package/dist/esm/toolingAnnotations.mjs +85 -0
- package/dist/esm/toolingAnnotations.mjs.map +1 -0
- package/dist/esm/toolingAnnotations.native.js +111 -0
- package/dist/esm/toolingAnnotations.native.js.map +1 -0
- package/dist/esm/toolingDiagnostics.mjs +428 -0
- package/dist/esm/toolingDiagnostics.mjs.map +1 -0
- package/dist/esm/toolingDiagnostics.native.js +755 -0
- package/dist/esm/toolingDiagnostics.native.js.map +1 -0
- package/dist/esm/toolingRegistry.mjs +135 -0
- package/dist/esm/toolingRegistry.mjs.map +1 -0
- package/dist/esm/toolingRegistry.native.js +138 -0
- package/dist/esm/toolingRegistry.native.js.map +1 -0
- package/dist/esm/transformFamily.mjs +392 -0
- package/dist/esm/transformFamily.mjs.map +1 -0
- package/dist/esm/transformFamily.native.js +482 -0
- package/dist/esm/transformFamily.native.js.map +1 -0
- package/dist/esm/transition.mjs +434 -0
- package/dist/esm/transition.mjs.map +1 -0
- package/dist/esm/transition.native.js +472 -0
- package/dist/esm/transition.native.js.map +1 -0
- package/dist/esm/transitionAlign.mjs +95 -0
- package/dist/esm/transitionAlign.mjs.map +1 -0
- package/dist/esm/transitionAlign.native.js +132 -0
- package/dist/esm/transitionAlign.native.js.map +1 -0
- package/dist/esm/transitionLegacy.mjs +197 -0
- package/dist/esm/transitionLegacy.mjs.map +1 -0
- package/dist/esm/transitionLegacy.native.js +238 -0
- package/dist/esm/transitionLegacy.native.js.map +1 -0
- package/dist/esm/transitionNative.mjs +257 -0
- package/dist/esm/transitionNative.mjs.map +1 -0
- package/dist/esm/transitionNative.native.js +259 -0
- package/dist/esm/transitionNative.native.js.map +1 -0
- package/dist/esm/unitlessNumbers.mjs +65 -0
- package/dist/esm/unitlessNumbers.mjs.map +1 -0
- package/dist/esm/unitlessNumbers.native.js +83 -0
- package/dist/esm/unitlessNumbers.native.js.map +1 -0
- package/dist/esm/v6ThemeNames.mjs +23 -0
- package/dist/esm/v6ThemeNames.mjs.map +1 -0
- package/dist/esm/v6ThemeNames.native.js +27 -0
- package/dist/esm/v6ThemeNames.native.js.map +1 -0
- package/dist/esm/valueParser.mjs +125 -0
- package/dist/esm/valueParser.mjs.map +1 -0
- package/dist/esm/valueParser.native.js +125 -0
- package/dist/esm/valueParser.native.js.map +1 -0
- package/dist/esm/valueTypes.mjs +14 -0
- package/dist/esm/valueTypes.mjs.map +1 -0
- package/dist/esm/valueTypes.native.js +14 -0
- package/dist/esm/valueTypes.native.js.map +1 -0
- package/package.json +98 -4
- package/src/backgroundFamily.ts +182 -0
- package/src/borderFamily.ts +172 -0
- package/src/candidate.ts +691 -0
- package/src/candidateTarget.ts +67 -0
- package/src/clauseCapability.ts +209 -0
- package/src/clausePrecedence.ts +198 -0
- package/src/clauseSources.ts +29 -0
- package/src/config.ts +169 -0
- package/src/evaluateProgram.ts +91 -0
- package/src/fontShorthand.ts +177 -0
- package/src/geometricShorthand.ts +105 -0
- package/src/index.ts +1 -0
- package/src/lowerProgram.ts +398 -0
- package/src/modifierRegistry.ts +340 -0
- package/src/payloadShape.ts +92 -0
- package/src/programEligibility.ts +46 -0
- package/src/programHash.ts +128 -0
- package/src/programs.ts +95 -0
- package/src/registry.ts +367 -0
- package/src/resolvePayload.ts +480 -0
- package/src/runtime.ts +32 -0
- package/src/safeAreaVariables.ts +19 -0
- package/src/scanFlatValue.ts +327 -0
- package/src/serializePayload.ts +199 -0
- package/src/stateModifiers.ts +36 -0
- package/src/states.ts +128 -0
- package/src/table.ts +47 -0
- package/src/textDecorationFamily.ts +119 -0
- package/src/tooling.ts +8 -0
- package/src/toolingAnnotations.ts +151 -0
- package/src/toolingDiagnostics.ts +735 -0
- package/src/toolingRegistry.ts +130 -0
- package/src/transformFamily.ts +590 -0
- package/src/transition.ts +553 -0
- package/src/transitionAlign.ts +165 -0
- package/src/transitionLegacy.ts +237 -0
- package/src/transitionNative.ts +357 -0
- package/src/unitlessNumbers.ts +61 -0
- package/src/v6ThemeNames.ts +40 -0
- package/src/valueParser.ts +193 -0
- package/src/valueTypes.ts +136 -0
- package/types/backgroundFamily.d.ts +17 -0
- package/types/backgroundFamily.d.ts.map +11 -0
- package/types/borderFamily.d.ts +23 -0
- package/types/borderFamily.d.ts.map +11 -0
- package/types/candidate.d.ts +52 -0
- package/types/candidate.d.ts.map +11 -0
- package/types/candidateTarget.d.ts +32 -0
- package/types/candidateTarget.d.ts.map +11 -0
- package/types/clauseCapability.d.ts +69 -0
- package/types/clauseCapability.d.ts.map +11 -0
- package/types/clausePrecedence.d.ts +30 -0
- package/types/clausePrecedence.d.ts.map +11 -0
- package/types/clauseSources.d.ts +12 -0
- package/types/clauseSources.d.ts.map +11 -0
- package/types/config.d.ts +44 -0
- package/types/config.d.ts.map +11 -0
- package/types/evaluateProgram.d.ts +27 -0
- package/types/evaluateProgram.d.ts.map +11 -0
- package/types/fontShorthand.d.ts +25 -0
- package/types/fontShorthand.d.ts.map +11 -0
- package/types/geometricShorthand.d.ts +21 -0
- package/types/geometricShorthand.d.ts.map +11 -0
- package/types/index.d.ts +3 -0
- package/types/index.d.ts.map +11 -0
- package/types/lowerProgram.d.ts +73 -0
- package/types/lowerProgram.d.ts.map +11 -0
- package/types/mergeFlatValues.d.ts +14 -0
- package/types/mergeFlatValues.d.ts.map +11 -0
- package/types/modifierRegistry.d.ts +70 -0
- package/types/modifierRegistry.d.ts.map +11 -0
- package/types/payloadShape.d.ts +15 -0
- package/types/payloadShape.d.ts.map +11 -0
- package/types/programEligibility.d.ts +23 -0
- package/types/programEligibility.d.ts.map +11 -0
- package/types/programHash.d.ts +20 -0
- package/types/programHash.d.ts.map +11 -0
- package/types/programs.d.ts +18 -0
- package/types/programs.d.ts.map +11 -0
- package/types/registry.d.ts +24 -0
- package/types/registry.d.ts.map +11 -0
- package/types/resolvePayload.d.ts +75 -0
- package/types/resolvePayload.d.ts.map +11 -0
- package/types/runtime.d.ts +34 -0
- package/types/runtime.d.ts.map +11 -0
- package/types/safeAreaVariables.d.ts +5 -0
- package/types/safeAreaVariables.d.ts.map +11 -0
- package/types/scanFlatValue.d.ts +29 -0
- package/types/scanFlatValue.d.ts.map +11 -0
- package/types/serializePayload.d.ts +13 -0
- package/types/serializePayload.d.ts.map +11 -0
- package/types/stateModifiers.d.ts +14 -0
- package/types/stateModifiers.d.ts.map +11 -0
- package/types/states.d.ts +22 -0
- package/types/states.d.ts.map +11 -0
- package/types/table.d.ts +4 -0
- package/types/table.d.ts.map +11 -0
- package/types/textDecorationFamily.d.ts +23 -0
- package/types/textDecorationFamily.d.ts.map +11 -0
- package/types/tooling.d.ts +10 -0
- package/types/tooling.d.ts.map +11 -0
- package/types/toolingAnnotations.d.ts +29 -0
- package/types/toolingAnnotations.d.ts.map +11 -0
- package/types/toolingDiagnostics.d.ts +114 -0
- package/types/toolingDiagnostics.d.ts.map +11 -0
- package/types/toolingRegistry.d.ts +10 -0
- package/types/toolingRegistry.d.ts.map +11 -0
- package/types/transformFamily.d.ts +83 -0
- package/types/transformFamily.d.ts.map +11 -0
- package/types/transition.d.ts +65 -0
- package/types/transition.d.ts.map +11 -0
- package/types/transitionAlign.d.ts +15 -0
- package/types/transitionAlign.d.ts.map +11 -0
- package/types/transitionLegacy.d.ts +9 -0
- package/types/transitionLegacy.d.ts.map +11 -0
- package/types/transitionNative.d.ts +41 -0
- package/types/transitionNative.d.ts.map +11 -0
- package/types/unitlessNumbers.d.ts +3 -0
- package/types/unitlessNumbers.d.ts.map +11 -0
- package/types/v6ThemeNames.d.ts +7 -0
- package/types/v6ThemeNames.d.ts.map +11 -0
- package/types/valueParser.d.ts +36 -0
- package/types/valueParser.d.ts.map +11 -0
- package/types/valueTypes.d.ts +66 -0
- package/types/valueTypes.d.ts.map +11 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolingDiagnostics.native.js","names":[],"sources":["cjs/toolingDiagnostics.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar toolingDiagnostics_exports = {};\n__export(toolingDiagnostics_exports, {\n canonicalizeStyleValue: () => canonicalizeStyleValue,\n completeStyleValue: () => completeStyleValue,\n completeStyleValueAtCursor: () => completeStyleValueAtCursor,\n createCandidatePropertyVocabulary: () => createCandidatePropertyVocabulary,\n createGrammarConfigViewFromSerializedConfig: () => createGrammarConfigViewFromSerializedConfig,\n createStylePropSet: () => createStylePropSet,\n diagnoseStyleValue: () => diagnoseStyleValue,\n diagnoseStyleValueProgram: () => diagnoseStyleValueProgram,\n modifierChainBefore: () => modifierChainBefore,\n referenceKindFor: () => referenceKindFor\n});\nmodule.exports = __toCommonJS(toolingDiagnostics_exports);\nvar import_candidateTarget = require(\"./candidateTarget\");\nvar import_config = require(\"./config\");\nvar import_geometricShorthand = require(\"./geometricShorthand\");\nvar import_mergeFlatValues = require(\"./mergeFlatValues\");\nvar import_payloadShape = require(\"./payloadShape\");\nvar import_programEligibility = require(\"./programEligibility\");\nvar import_resolvePayload = require(\"./resolvePayload\");\nvar import_registry = require(\"./registry\");\nvar import_valueParser = require(\"./valueParser\");\nvar import_v6ThemeNames = require(\"./v6ThemeNames\");\nfunction _instanceof(left, right) {\n if (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) {\n return !!right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n}\nfunction _type_of(obj) {\n \"@swc/helpers - typeof\";\n return obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nfunction canonicalizeStyleValue(input, registry) {\n var parsed = (0, import_valueParser.parseValue)(input, registry);\n if (!parsed.ok) return parsed;\n return {\n ok: true,\n value: (0, import_mergeFlatValues.formatParsedValue)(parsed.value),\n parsed: parsed.value\n };\n}\nfunction forEachName(names, visit) {\n if (!names) return;\n if (Array.isArray(names)) {\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = names[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var name = _step.value;\n visit(name);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n return;\n }\n if (_instanceof(names, Set)) {\n var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n try {\n for (var _iterator1 = names[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n var name1 = _step1.value;\n visit(name1);\n }\n } catch (err) {\n _didIteratorError1 = true;\n _iteratorError1 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion1 && _iterator1.return != null) {\n _iterator1.return();\n }\n } finally {\n if (_didIteratorError1) {\n throw _iteratorError1;\n }\n }\n }\n return;\n }\n for (var name2 in names) visit(name2);\n}\nfunction createCandidatePropertyVocabulary(config) {\n var byName = /* @__PURE__ */ new Map();\n var entriesByCategory = /* @__PURE__ */ new Map();\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = import_registry.grammarEntries[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var entry = _step.value;\n if (!entry.tokenCategory) continue;\n var contributions = entriesByCategory.get(entry.tokenCategory) || [];\n contributions.push({\n property: entry.prop,\n tokenCategory: entry.tokenCategory\n });\n entriesByCategory.set(entry.tokenCategory, contributions);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n try {\n var _loop = function() {\n var [category, contributions2] = _step1.value;\n var _config_tokenNames;\n forEachName((_config_tokenNames = config.tokenNames) === null || _config_tokenNames === void 0 ? void 0 : _config_tokenNames[category], function(name) {\n var existing = byName.get(name) || [];\n var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n try {\n var _loop2 = function() {\n var contribution = _step2.value;\n if (!existing.some(function(item) {\n return item.property === contribution.property;\n })) {\n existing.push(contribution);\n }\n };\n for (var _iterator2 = contributions2[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) _loop2();\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n byName.set(name, existing);\n });\n };\n for (var _iterator1 = entriesByCategory[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) _loop();\n } catch (err) {\n _didIteratorError1 = true;\n _iteratorError1 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion1 && _iterator1.return != null) {\n _iterator1.return();\n }\n } finally {\n if (_didIteratorError1) {\n throw _iteratorError1;\n }\n }\n }\n return byName;\n}\nfunction createGrammarConfigViewFromSerializedConfig(config, metadata) {\n var isVersioned = (typeof metadata === \"undefined\" ? \"undefined\" : _type_of(metadata)) === \"object\" && metadata !== null && metadata.themeFields === \"values-only\";\n if (metadata !== void 0 && !isVersioned) {\n throw new Error(\"@tamagui/style-grammar: unsupported serialized config themeFields format\");\n }\n var themes = {};\n for (var themeName in config.themes) {\n var serializedTheme = config.themes[themeName];\n if (!serializedTheme || (typeof serializedTheme === \"undefined\" ? \"undefined\" : _type_of(serializedTheme)) !== \"object\") continue;\n var runtimeTheme = {};\n for (var key in serializedTheme) {\n if (isVersioned || key !== \"id\") {\n runtimeTheme[key] = serializedTheme[key];\n }\n }\n themes[themeName] = runtimeTheme;\n }\n return (0, import_config.createGrammarConfigView)({\n shorthands: config.shorthands,\n media: config.media,\n themes,\n tokensParsed: config.tokens,\n fontsParsed: config.fonts\n });\n}\nvar removedThemeNames = new Set(import_v6ThemeNames.v6RemovedThemeNames);\nvar grammarProperties = new Set(import_registry.grammarEntries.map(function(entry) {\n return entry.prop;\n}));\nvar categoryReferenceKind = {\n color: \"color\",\n space: \"length\",\n size: \"length\",\n radius: \"length\",\n zIndex: \"number\",\n fontFamily: \"other\",\n fontSize: \"length\",\n fontWeight: \"number\",\n lineHeight: \"length\",\n letterSpacing: \"length\"\n};\nfunction referenceKindFor(contributions, targetProperty) {\n var fallback;\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = contributions[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var contribution = _step.value;\n var kind = contribution.tokenCategory ? categoryReferenceKind[contribution.tokenCategory] : \"other\";\n if (contribution.property === targetProperty) return kind;\n if (fallback !== \"color\") fallback = kind;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n return fallback !== null && fallback !== void 0 ? fallback : \"other\";\n}\nfunction parseErrorSpan(input, error) {\n var length = input.length;\n if (error.code === \"unregistered-modifier\" && error.modifier) {\n return {\n start: error.index,\n end: error.index + error.modifier.length\n };\n }\n if (error.code === \"unterminated-string\" || error.code === \"unterminated-function\" || error.code === \"unterminated-comment\") {\n return {\n start: Math.max(0, Math.min(error.index, length - 1)),\n end: length\n };\n }\n var start = Math.max(0, Math.min(error.index, length - 1));\n var width = error.code === \"stray-comment-close\" ? 2 : 1;\n return {\n start,\n end: Math.min(length, start + width)\n };\n}\nfunction candidateEndWithSuffix(payload, end) {\n if (payload.charCodeAt(end) !== 47) return end;\n var cursor = end + 1;\n while (cursor < payload.length) {\n var code = payload.charCodeAt(cursor);\n if (code === 32 || code === 9 || code === 10 || code === 13 || code === 12) break;\n if (code === 44 || code === 40 || code === 41) break;\n cursor++;\n }\n return cursor;\n}\nfunction diagnoseStyleValue(property, input, options) {\n var _options_config_shorthands;\n var { result, spans } = (0, import_valueParser.parseValueWithSourceSpans)(input, options.registry);\n if (!result.ok) {\n return result.errors.map(function(error) {\n var span2 = parseErrorSpan(input, error);\n return {\n code: error.code,\n index: span2.start,\n ...span2,\n message: error.message\n };\n });\n }\n var targetProperty = ((_options_config_shorthands = options.config.shorthands) === null || _options_config_shorthands === void 0 ? void 0 : _options_config_shorthands[property]) || property;\n var targetIsKnown = grammarProperties.has(targetProperty);\n var candidates = options.candidates || createCandidatePropertyVocabulary(options.config);\n var diagnostics = [];\n var diagnosed = /* @__PURE__ */ new Set();\n var push = function(key, diagnostic) {\n if (diagnosed.has(key)) return;\n diagnosed.add(key);\n diagnostics.push({\n index: diagnostic.start,\n ...diagnostic\n });\n };\n var diagnoseSegment = function(payload, offset) {\n var sightings = [];\n var resolved = (0, import_resolvePayload.resolvePayload)(payload, {\n lookup(name) {\n var contributions2 = candidates.get(name);\n if (!contributions2) return void 0;\n return {\n name,\n kind: referenceKindFor(contributions2, targetProperty)\n };\n },\n onCandidate(start, end, name, reference) {\n sightings.push({\n start,\n end,\n name,\n resolved: reference\n });\n if (reference) return;\n var replacement = import_v6ThemeNames.v6ThemeNameReplacements[name];\n if (replacement) {\n push(`v6-theme-name-replaced:${name}`, {\n code: \"v6-theme-name-replaced\",\n start: offset + start,\n end: offset + end,\n candidate: name,\n replacement,\n message: `\"${name}\" is not a v6 built-in name; use \"${replacement}\"`\n });\n } else if (removedThemeNames.has(name)) {\n push(`v6-theme-name-removed:${name}`, {\n code: \"v6-theme-name-removed\",\n start: offset + start,\n end: offset + end,\n candidate: name,\n message: `\"${name}\" was removed from the v6 built-in theme vocabulary`\n });\n }\n }\n });\n if (targetIsKnown) {\n var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n try {\n var _loop = function() {\n var error = _step2.value;\n var sighting2 = sightings.find(function(entry) {\n return entry.start === error.index;\n });\n if (!(sighting2 === null || sighting2 === void 0 ? void 0 : sighting2.resolved)) return \"continue\";\n push(`${error.code}:${error.name}:${error.opacity}`, {\n code: error.code,\n start: offset + error.index,\n end: offset + candidateEndWithSuffix(payload, sighting2.end),\n candidate: error.name,\n message: error.message\n });\n };\n for (var _iterator2 = resolved.errors[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) _loop();\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n var candidate = resolved.segments.length === 1 && typeof resolved.segments[0] !== \"string\" ? resolved.segments[0].name : null;\n if (candidate === null || !targetIsKnown) return;\n var contributions = candidates.get(candidate);\n if (!contributions) return;\n var target = (0, import_candidateTarget.resolveCandidateTarget)(targetProperty, candidate, contributions);\n if (target.ok) return;\n var sighting = sightings.find(function(entry) {\n return entry.name === candidate && entry.resolved;\n });\n var _sighting_start, _sighting_end;\n push(`${target.diagnostic.code}:${candidate}:${targetProperty}`, {\n ...target.diagnostic,\n start: offset + ((_sighting_start = sighting === null || sighting === void 0 ? void 0 : sighting.start) !== null && _sighting_start !== void 0 ? _sighting_start : 0),\n end: offset + ((_sighting_end = sighting === null || sighting === void 0 ? void 0 : sighting.end) !== null && _sighting_end !== void 0 ? _sighting_end : payload.length)\n });\n };\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = spans[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var span = _step.value;\n if (span.kind !== \"base\" && span.kind !== \"payload\") continue;\n if (span.start >= span.end) continue;\n diagnoseSegment(input.slice(span.start, span.end), span.start);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n return diagnostics;\n}\nfunction modifierChainBefore(input, spans, start) {\n var byEnd = /* @__PURE__ */ new Map();\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = spans[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var span = _step.value;\n if (span.kind === \"modifier\") byEnd.set(span.end, span);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n var reversed = [];\n var colon = start - 1;\n while (colon >= 0 && input.charCodeAt(colon) === 58) {\n var span1 = byEnd.get(colon);\n if (!span1) break;\n reversed.push(input.slice(span1.start, span1.end));\n colon = span1.start - 1;\n }\n reversed.reverse();\n return reversed;\n}\nfunction createStylePropSet(config) {\n var styleProps = /* @__PURE__ */ new Set([\n ...import_registry.grammarEntries.map(function(entry) {\n return entry.prop;\n }),\n ...Object.keys(import_programEligibility.legacyPartComposite)\n ]);\n for (var shorthand in config.shorthands) {\n styleProps.add(shorthand);\n styleProps.add(config.shorthands[shorthand]);\n }\n return styleProps;\n}\nfunction payloadSpan(input, payload) {\n var at = input.indexOf(payload);\n return at === -1 ? {\n start: 0,\n end: input.length\n } : {\n start: at,\n end: at + payload.length\n };\n}\nfunction diagnoseStyleValueProgram(property, input, options) {\n var _options_config_shorthands;\n var candidates = options.candidates || createCandidatePropertyVocabulary(options.config);\n var scoped = {\n ...options,\n candidates\n };\n var diagnostics = diagnoseStyleValue(property, input, scoped);\n if (diagnostics.length > 0) return diagnostics;\n var parsed = (0, import_valueParser.parseValue)(input, options.registry);\n if (!parsed.ok) return diagnostics;\n var targetProperty = ((_options_config_shorthands = options.config.shorthands) === null || _options_config_shorthands === void 0 ? void 0 : _options_config_shorthands[property]) || property;\n if (parsed.value.clauses.length > 0 && (0, import_programEligibility.programEligibility)(targetProperty) === \"legacy-part\") {\n return [\n {\n code: \"legacy-part-conditional\",\n index: 0,\n start: 0,\n end: input.length,\n property: targetProperty,\n message: `conditional values are not supported on part prop \"${targetProperty}\"; move the condition onto \\`${import_programEligibility.legacyPartComposite[targetProperty]}\\``\n }\n ];\n }\n var results = [];\n var reported = /* @__PURE__ */ new Set();\n var geometric = (0, import_geometricShorthand.splitGeometricShorthandValue)(targetProperty, parsed.value);\n var programs = geometric && geometric.errors.length === 0 ? geometric.entries : [\n {\n property: targetProperty,\n value: parsed.value\n }\n ];\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = programs[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var program = _step.value;\n var { base, clauses } = program.value;\n var payloads = [\n ...base === null ? [] : [\n base\n ],\n ...clauses.map(function(clause2) {\n return clause2.payload;\n })\n ];\n var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n try {\n for (var _iterator1 = payloads[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n var payload = _step1.value;\n var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n try {\n for (var _iterator2 = diagnoseStyleValueProgramSlot(program.property, payload, scoped)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var diagnostic = _step2.value;\n var key = `${diagnostic.code}:${diagnostic.candidate}:${program.property}`;\n if (reported.has(key)) continue;\n reported.add(key);\n var span = payloadSpan(input, payload);\n results.push({\n ...diagnostic,\n index: span.start,\n ...span\n });\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n } catch (err) {\n _didIteratorError1 = true;\n _iteratorError1 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion1 && _iterator1.return != null) {\n _iterator1.return();\n }\n } finally {\n if (_didIteratorError1) {\n throw _iteratorError1;\n }\n }\n }\n if (base !== null) {\n pushShapeDiagnostic(results, reported, input, program.property, base, true);\n }\n var _iteratorNormalCompletion3 = true, _didIteratorError3 = false, _iteratorError3 = void 0;\n try {\n for (var _iterator3 = clauses[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n var clause = _step3.value;\n pushShapeDiagnostic(results, reported, input, program.property, clause.payload, base !== null);\n }\n } catch (err) {\n _didIteratorError3 = true;\n _iteratorError3 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion3 && _iterator3.return != null) {\n _iterator3.return();\n }\n } finally {\n if (_didIteratorError3) {\n throw _iteratorError3;\n }\n }\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n return results;\n}\nfunction diagnoseStyleValueProgramSlot(property, payload, options) {\n var slotDiagnostics = diagnoseStyleValue(property, payload, options);\n return slotDiagnostics.filter(function(diagnostic) {\n return diagnostic.code === \"candidate-property-mismatch\";\n });\n}\nfunction pushShapeDiagnostic(results, reported, input, property, payload, hasBase) {\n var diagnostic = (0, import_payloadShape.validatePayloadShape)(property, payload, hasBase);\n if (!diagnostic) return;\n var key = `${diagnostic.code}:${diagnostic.payload}:${property}`;\n if (reported.has(key)) return;\n reported.add(key);\n var span = payloadSpan(input, payload);\n results.push({\n code: diagnostic.code,\n index: span.start,\n ...span,\n property,\n message: diagnostic.message\n });\n}\nfunction completeStyleValue(property, options) {\n var _options_config_shorthands;\n var candidates = options.candidates || createCandidatePropertyVocabulary(options.config);\n var targetProperty = ((_options_config_shorthands = options.config.shorthands) === null || _options_config_shorthands === void 0 ? void 0 : _options_config_shorthands[property]) || property;\n if (!grammarProperties.has(targetProperty)) return [];\n var byValue = /* @__PURE__ */ new Map();\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = candidates[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var [value, contributions] = _step.value;\n if ((0, import_candidateTarget.resolveCandidateTarget)(targetProperty, value, contributions).ok) {\n byValue.set(value, \"configured\");\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n var standalone = import_registry.standaloneValueProps[targetProperty];\n if (standalone) {\n for (var value1 in standalone) {\n if (!byValue.has(value1)) byValue.set(value1, \"keyword\");\n }\n }\n if (targetProperty === \"fontWeight\") {\n for (var value2 in import_registry.fontWeightNames) {\n if (!byValue.has(value2)) byValue.set(value2, \"keyword\");\n }\n }\n var completions = [];\n var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n try {\n for (var _iterator1 = byValue[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n var [value3, kind] = _step1.value;\n if (diagnoseStyleValue(property, value3, {\n ...options,\n candidates\n }).length === 0) {\n completions.push({\n value: value3,\n kind\n });\n }\n }\n } catch (err) {\n _didIteratorError1 = true;\n _iteratorError1 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion1 && _iterator1.return != null) {\n _iterator1.return();\n }\n } finally {\n if (_didIteratorError1) {\n throw _iteratorError1;\n }\n }\n }\n completions.sort(function(a, b) {\n return a.value < b.value ? -1 : a.value > b.value ? 1 : 0;\n });\n return completions;\n}\nfunction completeStyleValueAtCursor(property, input, cursor, options) {\n if (cursor < 0 || cursor > input.length) return null;\n var parsed = (0, import_valueParser.parseValueWithSourceSpans)(input, options.registry);\n var _parsed_spans_find, _ref;\n var active = (_ref = (_parsed_spans_find = parsed.spans.find(function(span) {\n return cursor >= span.start && cursor <= span.end && span.kind === \"modifier\";\n })) !== null && _parsed_spans_find !== void 0 ? _parsed_spans_find : parsed.spans.find(function(span) {\n return cursor >= span.start && cursor <= span.end && span.kind === \"word\" && span.start > 0 && parsed.result.ok && parsed.spans.some(function(segment) {\n return (segment.kind === \"base\" || segment.kind === \"payload\") && segment.start < span.start && segment.end >= span.end;\n });\n })) !== null && _ref !== void 0 ? _ref : parsed.spans.find(function(span) {\n return cursor >= span.start && cursor <= span.end && span.kind !== \"modifier\" && span.kind !== \"word\";\n });\n if ((active === null || active === void 0 ? void 0 : active.kind) === \"modifier\" || (active === null || active === void 0 ? void 0 : active.kind) === \"word\") {\n if (!parsed.result.ok && parsed.result.errors.some(function(error) {\n return error.code !== \"unregistered-modifier\" && error.code !== \"empty-modifier\" && error.code !== \"empty-payload\";\n })) {\n return null;\n }\n return {\n replaceStart: active.start,\n replaceLength: active.end - active.start,\n completions: completeModifiers(options, input.charCodeAt(active.end) !== 58, active.kind === \"modifier\" ? modifierChainBefore(input, parsed.spans, active.start) : [])\n };\n }\n if (active) {\n if (!parsed.result.ok && parsed.result.errors.some(function(error) {\n return error.code !== \"empty-payload\";\n })) {\n return null;\n }\n return {\n replaceStart: active.start,\n replaceLength: active.end - active.start,\n // the first payload word is also where another modifier in the chain\n // begins, so both vocabularies remain available until the author picks.\n completions: active.kind === \"payload\" && input.charCodeAt(active.start - 1) === 58 ? [\n ...completeModifiers(options, true, modifierChainBefore(input, parsed.spans, active.start)),\n ...completeStyleValue(property, options)\n ] : completeStyleValue(property, options)\n };\n }\n if (parsed.result.ok && cursor === input.length) {\n return {\n replaceStart: cursor,\n replaceLength: 0,\n completions: completeModifiers(options, true, [])\n };\n }\n return null;\n}\nfunction completeModifiers(options, appendColon, modifiers) {\n var _options_registry_next, _options_registry;\n var names = (_options_registry_next = (_options_registry = options.registry).next) === null || _options_registry_next === void 0 ? void 0 : _options_registry_next.call(_options_registry, modifiers);\n if (!names) return [];\n var completions = [];\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = names[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var name = _step.value;\n completions.push({\n value: name,\n kind: \"modifier\",\n insertText: appendColon ? `${name}:` : name\n });\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n completions.sort(function(a, b) {\n return a.value < b.value ? -1 : a.value > b.value ? 1 : 0;\n });\n return completions;\n}\n//# sourceMappingURL=toolingDiagnostics.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,6BAA6B,CAAC;AAClC,SAAS,4BAA4B;CACnC,8BAA8B;CAC9B,0BAA0B;CAC1B,kCAAkC;CAClC,yCAAyC;CACzC,mDAAmD;CACnD,0BAA0B;CAC1B,0BAA0B;CAC1B,iCAAiC;CACjC,2BAA2B;CAC3B,wBAAwB;AAC1B,CAAC;AACD,OAAO,UAAU,aAAa,0BAA0B;AACxD,IAAI,yBAAyB,QAAQ,6BAAmB;AACxD,IAAI,gBAAgB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WAAW,MAAM,QAAQ;EAC/C,OAAO;GACL,cAAc;GACd,eAAe;GACf,aAAa,kBAAkB,SAAS,MAAM,CAAC,CAAC;EAClD;CACF;CACA,OAAO;AACT;AACA,SAAS,kBAAkB,SAAS,aAAa,WAAW;CAC1D,IAAI,wBAAwB;CAC5B,IAAI,SAAS,0BAA0B,oBAAoB,QAAQ,UAAU,UAAU,QAAQ,2BAA2B,KAAK,IAAI,KAAK,IAAI,uBAAuB,KAAK,mBAAmB,SAAS;CACpM,IAAI,CAAC,OAAO,OAAO,CAAC;CACpB,IAAI,cAAc,CAAC;CACnB,IAAI,4BAA4B,MAAM,oBAAoB,OAAO,iBAAiB,KAAK;CACvF,IAAI;EACF,KAAK,IAAI,YAAY,MAAM,OAAO,UAAU,GAAG,OAAO,EAAE,6BAA6B,QAAQ,UAAU,KAAK,GAAG,OAAO,4BAA4B,MAAM;GACtJ,IAAI,OAAO,MAAM;GACjB,YAAY,KAAK;IACf,OAAO;IACP,MAAM;IACN,YAAY,cAAc,GAAG,KAAK,KAAK;GACzC,CAAC;EACH;CACF,SAAS,KAAK;EACZ,oBAAoB;EACpB,iBAAiB;CACnB,UAAU;EACR,IAAI;GACF,IAAI,CAAC,6BAA6B,UAAU,UAAU,MAAM;IAC1D,UAAU,OAAO;GACnB;EACF,UAAU;GACR,IAAI,mBAAmB;IACrB,MAAM;GACR;EACF;CACF;CACA,YAAY,KAAK,SAAS,GAAG,GAAG;EAC9B,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,IAAI;CAC1D,CAAC;CACD,OAAO;AACT"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all) __defProp(target, name, {
|
|
8
|
+
get: all[name],
|
|
9
|
+
enumerable: true
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
22
|
+
var toolingRegistry_exports = {};
|
|
23
|
+
__export(toolingRegistry_exports, {
|
|
24
|
+
defaultMediaKeys: () => defaultMediaKeys,
|
|
25
|
+
grammarDecisions: () => grammarDecisions,
|
|
26
|
+
propToTailwindPrefix: () => propToTailwindPrefix
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(toolingRegistry_exports);
|
|
29
|
+
var import_registry = require("./registry.cjs");
|
|
30
|
+
const propToTailwindPrefix = Object.freeze(Object.fromEntries(import_registry.grammarEntries.map(({ prop, prefix }) => [prop, prefix])));
|
|
31
|
+
const defaultMediaKeys = [
|
|
32
|
+
"touchable",
|
|
33
|
+
"hoverable",
|
|
34
|
+
"max-xxl",
|
|
35
|
+
"max-xl",
|
|
36
|
+
"max-lg",
|
|
37
|
+
"max-md",
|
|
38
|
+
"max-sm",
|
|
39
|
+
"max-xs",
|
|
40
|
+
"max-xxs",
|
|
41
|
+
"max-xxxs",
|
|
42
|
+
"max-200",
|
|
43
|
+
"max-100",
|
|
44
|
+
"xxxs",
|
|
45
|
+
"xxs",
|
|
46
|
+
"xs",
|
|
47
|
+
"sm",
|
|
48
|
+
"md",
|
|
49
|
+
"lg",
|
|
50
|
+
"xl",
|
|
51
|
+
"xxl",
|
|
52
|
+
"max-height-lg",
|
|
53
|
+
"max-height-md",
|
|
54
|
+
"max-height-sm",
|
|
55
|
+
"max-height-xs",
|
|
56
|
+
"max-height-xxs",
|
|
57
|
+
"max-height-xxxs",
|
|
58
|
+
"max-height-200",
|
|
59
|
+
"max-height-100",
|
|
60
|
+
"height-sm",
|
|
61
|
+
"height-md",
|
|
62
|
+
"height-lg",
|
|
63
|
+
"gtXs",
|
|
64
|
+
"gtSm",
|
|
65
|
+
"gtMd",
|
|
66
|
+
"gtLg",
|
|
67
|
+
"gtXl",
|
|
68
|
+
"short",
|
|
69
|
+
"tall",
|
|
70
|
+
"hoverNone",
|
|
71
|
+
"pointerCoarse"
|
|
72
|
+
];
|
|
73
|
+
const grammarDecisions = [
|
|
74
|
+
{
|
|
75
|
+
syntax: "w-full and size keywords",
|
|
76
|
+
decision: "keep",
|
|
77
|
+
reason: "explicit size convenience"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
syntax: "w-1/2 and fractions",
|
|
81
|
+
decision: "keep",
|
|
82
|
+
reason: "explicit size convenience"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
syntax: "opacity-N percentages",
|
|
86
|
+
decision: "keep",
|
|
87
|
+
reason: "documented exact percentage"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
syntax: "scale-N percentages",
|
|
91
|
+
decision: "keep",
|
|
92
|
+
reason: "documented exact percentage"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
syntax: "unbracketed raw colors",
|
|
96
|
+
decision: "drop",
|
|
97
|
+
reason: "plain names are configured color tokens"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
syntax: "font-sans/serif/mono",
|
|
101
|
+
decision: "keep",
|
|
102
|
+
reason: "documented generic-family aliases"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
syntax: "configured tokens colliding with conveniences/enums",
|
|
106
|
+
decision: "keep",
|
|
107
|
+
reason: "the exact configured category token wins; otherwise the convenience wins"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
syntax: "alignment aliases",
|
|
111
|
+
decision: "keep",
|
|
112
|
+
reason: "exact prop-specific enum aliases only"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
syntax: "flex bundles",
|
|
116
|
+
decision: "keep",
|
|
117
|
+
reason: "documented multi-prop utilities"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
syntax: "other unbracketed flex/grow/shrink numbers",
|
|
121
|
+
decision: "drop",
|
|
122
|
+
reason: "raw numbers use brackets"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
syntax: "bare border",
|
|
126
|
+
decision: "keep",
|
|
127
|
+
reason: "documented 1px convenience"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
syntax: "inset-0",
|
|
131
|
+
decision: "keep",
|
|
132
|
+
reason: "documented zero convenience"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
syntax: "active: modifier",
|
|
136
|
+
decision: "keep",
|
|
137
|
+
reason: "documented alias of canonical press:"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
syntax: "unregistered enum/keyword values",
|
|
141
|
+
decision: "drop",
|
|
142
|
+
reason: "raw values use brackets"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
syntax: "leading-negative arbitrary/convenience/enum forms",
|
|
146
|
+
decision: "drop",
|
|
147
|
+
reason: "raw negative values put the sign inside brackets"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
syntax: "ambiguous overloaded border arbitrary values",
|
|
151
|
+
decision: "drop",
|
|
152
|
+
reason: "width versus color must be type-provable"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
syntax: "zero-denominator fractions",
|
|
156
|
+
decision: "drop",
|
|
157
|
+
reason: "fractions must resolve to a finite percentage"
|
|
158
|
+
}
|
|
159
|
+
];
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var toolingRegistry_exports = {};
|
|
25
|
+
__export(toolingRegistry_exports, {
|
|
26
|
+
defaultMediaKeys: () => defaultMediaKeys,
|
|
27
|
+
grammarDecisions: () => grammarDecisions,
|
|
28
|
+
propToTailwindPrefix: () => propToTailwindPrefix
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(toolingRegistry_exports);
|
|
31
|
+
var import_registry = require("./registry.native.js");
|
|
32
|
+
var propToTailwindPrefix = Object.freeze(Object.fromEntries(import_registry.grammarEntries.map(function(param) {
|
|
33
|
+
var { prop, prefix } = param;
|
|
34
|
+
return [prop, prefix];
|
|
35
|
+
})));
|
|
36
|
+
var defaultMediaKeys = [
|
|
37
|
+
"touchable",
|
|
38
|
+
"hoverable",
|
|
39
|
+
"max-xxl",
|
|
40
|
+
"max-xl",
|
|
41
|
+
"max-lg",
|
|
42
|
+
"max-md",
|
|
43
|
+
"max-sm",
|
|
44
|
+
"max-xs",
|
|
45
|
+
"max-xxs",
|
|
46
|
+
"max-xxxs",
|
|
47
|
+
"max-200",
|
|
48
|
+
"max-100",
|
|
49
|
+
"xxxs",
|
|
50
|
+
"xxs",
|
|
51
|
+
"xs",
|
|
52
|
+
"sm",
|
|
53
|
+
"md",
|
|
54
|
+
"lg",
|
|
55
|
+
"xl",
|
|
56
|
+
"xxl",
|
|
57
|
+
"max-height-lg",
|
|
58
|
+
"max-height-md",
|
|
59
|
+
"max-height-sm",
|
|
60
|
+
"max-height-xs",
|
|
61
|
+
"max-height-xxs",
|
|
62
|
+
"max-height-xxxs",
|
|
63
|
+
"max-height-200",
|
|
64
|
+
"max-height-100",
|
|
65
|
+
"height-sm",
|
|
66
|
+
"height-md",
|
|
67
|
+
"height-lg",
|
|
68
|
+
"gtXs",
|
|
69
|
+
"gtSm",
|
|
70
|
+
"gtMd",
|
|
71
|
+
"gtLg",
|
|
72
|
+
"gtXl",
|
|
73
|
+
"short",
|
|
74
|
+
"tall",
|
|
75
|
+
"hoverNone",
|
|
76
|
+
"pointerCoarse"
|
|
77
|
+
];
|
|
78
|
+
var grammarDecisions = [
|
|
79
|
+
{
|
|
80
|
+
syntax: "w-full and size keywords",
|
|
81
|
+
decision: "keep",
|
|
82
|
+
reason: "explicit size convenience"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
syntax: "w-1/2 and fractions",
|
|
86
|
+
decision: "keep",
|
|
87
|
+
reason: "explicit size convenience"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
syntax: "opacity-N percentages",
|
|
91
|
+
decision: "keep",
|
|
92
|
+
reason: "documented exact percentage"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
syntax: "scale-N percentages",
|
|
96
|
+
decision: "keep",
|
|
97
|
+
reason: "documented exact percentage"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
syntax: "unbracketed raw colors",
|
|
101
|
+
decision: "drop",
|
|
102
|
+
reason: "plain names are configured color tokens"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
syntax: "font-sans/serif/mono",
|
|
106
|
+
decision: "keep",
|
|
107
|
+
reason: "documented generic-family aliases"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
syntax: "configured tokens colliding with conveniences/enums",
|
|
111
|
+
decision: "keep",
|
|
112
|
+
reason: "the exact configured category token wins; otherwise the convenience wins"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
syntax: "alignment aliases",
|
|
116
|
+
decision: "keep",
|
|
117
|
+
reason: "exact prop-specific enum aliases only"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
syntax: "flex bundles",
|
|
121
|
+
decision: "keep",
|
|
122
|
+
reason: "documented multi-prop utilities"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
syntax: "other unbracketed flex/grow/shrink numbers",
|
|
126
|
+
decision: "drop",
|
|
127
|
+
reason: "raw numbers use brackets"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
syntax: "bare border",
|
|
131
|
+
decision: "keep",
|
|
132
|
+
reason: "documented 1px convenience"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
syntax: "inset-0",
|
|
136
|
+
decision: "keep",
|
|
137
|
+
reason: "documented zero convenience"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
syntax: "active: modifier",
|
|
141
|
+
decision: "keep",
|
|
142
|
+
reason: "documented alias of canonical press:"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
syntax: "unregistered enum/keyword values",
|
|
146
|
+
decision: "drop",
|
|
147
|
+
reason: "raw values use brackets"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
syntax: "leading-negative arbitrary/convenience/enum forms",
|
|
151
|
+
decision: "drop",
|
|
152
|
+
reason: "raw negative values put the sign inside brackets"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
syntax: "ambiguous overloaded border arbitrary values",
|
|
156
|
+
decision: "drop",
|
|
157
|
+
reason: "width versus color must be type-provable"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
syntax: "zero-denominator fractions",
|
|
161
|
+
decision: "drop",
|
|
162
|
+
reason: "fractions must resolve to a finite percentage"
|
|
163
|
+
}
|
|
164
|
+
];
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var toolingRegistry_exports = {};
|
|
25
|
+
__export(toolingRegistry_exports, {
|
|
26
|
+
defaultMediaKeys: () => defaultMediaKeys,
|
|
27
|
+
grammarDecisions: () => grammarDecisions,
|
|
28
|
+
propToTailwindPrefix: () => propToTailwindPrefix
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(toolingRegistry_exports);
|
|
31
|
+
var import_registry = require("./registry.native.js");
|
|
32
|
+
var propToTailwindPrefix = Object.freeze(Object.fromEntries(import_registry.grammarEntries.map(function(param) {
|
|
33
|
+
var { prop, prefix } = param;
|
|
34
|
+
return [prop, prefix];
|
|
35
|
+
})));
|
|
36
|
+
var defaultMediaKeys = [
|
|
37
|
+
"touchable",
|
|
38
|
+
"hoverable",
|
|
39
|
+
"max-xxl",
|
|
40
|
+
"max-xl",
|
|
41
|
+
"max-lg",
|
|
42
|
+
"max-md",
|
|
43
|
+
"max-sm",
|
|
44
|
+
"max-xs",
|
|
45
|
+
"max-xxs",
|
|
46
|
+
"max-xxxs",
|
|
47
|
+
"max-200",
|
|
48
|
+
"max-100",
|
|
49
|
+
"xxxs",
|
|
50
|
+
"xxs",
|
|
51
|
+
"xs",
|
|
52
|
+
"sm",
|
|
53
|
+
"md",
|
|
54
|
+
"lg",
|
|
55
|
+
"xl",
|
|
56
|
+
"xxl",
|
|
57
|
+
"max-height-lg",
|
|
58
|
+
"max-height-md",
|
|
59
|
+
"max-height-sm",
|
|
60
|
+
"max-height-xs",
|
|
61
|
+
"max-height-xxs",
|
|
62
|
+
"max-height-xxxs",
|
|
63
|
+
"max-height-200",
|
|
64
|
+
"max-height-100",
|
|
65
|
+
"height-sm",
|
|
66
|
+
"height-md",
|
|
67
|
+
"height-lg",
|
|
68
|
+
"gtXs",
|
|
69
|
+
"gtSm",
|
|
70
|
+
"gtMd",
|
|
71
|
+
"gtLg",
|
|
72
|
+
"gtXl",
|
|
73
|
+
"short",
|
|
74
|
+
"tall",
|
|
75
|
+
"hoverNone",
|
|
76
|
+
"pointerCoarse"
|
|
77
|
+
];
|
|
78
|
+
var grammarDecisions = [
|
|
79
|
+
{
|
|
80
|
+
syntax: "w-full and size keywords",
|
|
81
|
+
decision: "keep",
|
|
82
|
+
reason: "explicit size convenience"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
syntax: "w-1/2 and fractions",
|
|
86
|
+
decision: "keep",
|
|
87
|
+
reason: "explicit size convenience"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
syntax: "opacity-N percentages",
|
|
91
|
+
decision: "keep",
|
|
92
|
+
reason: "documented exact percentage"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
syntax: "scale-N percentages",
|
|
96
|
+
decision: "keep",
|
|
97
|
+
reason: "documented exact percentage"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
syntax: "unbracketed raw colors",
|
|
101
|
+
decision: "drop",
|
|
102
|
+
reason: "plain names are configured color tokens"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
syntax: "font-sans/serif/mono",
|
|
106
|
+
decision: "keep",
|
|
107
|
+
reason: "documented generic-family aliases"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
syntax: "configured tokens colliding with conveniences/enums",
|
|
111
|
+
decision: "keep",
|
|
112
|
+
reason: "the exact configured category token wins; otherwise the convenience wins"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
syntax: "alignment aliases",
|
|
116
|
+
decision: "keep",
|
|
117
|
+
reason: "exact prop-specific enum aliases only"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
syntax: "flex bundles",
|
|
121
|
+
decision: "keep",
|
|
122
|
+
reason: "documented multi-prop utilities"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
syntax: "other unbracketed flex/grow/shrink numbers",
|
|
126
|
+
decision: "drop",
|
|
127
|
+
reason: "raw numbers use brackets"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
syntax: "bare border",
|
|
131
|
+
decision: "keep",
|
|
132
|
+
reason: "documented 1px convenience"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
syntax: "inset-0",
|
|
136
|
+
decision: "keep",
|
|
137
|
+
reason: "documented zero convenience"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
syntax: "active: modifier",
|
|
141
|
+
decision: "keep",
|
|
142
|
+
reason: "documented alias of canonical press:"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
syntax: "unregistered enum/keyword values",
|
|
146
|
+
decision: "drop",
|
|
147
|
+
reason: "raw values use brackets"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
syntax: "leading-negative arbitrary/convenience/enum forms",
|
|
151
|
+
decision: "drop",
|
|
152
|
+
reason: "raw negative values put the sign inside brackets"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
syntax: "ambiguous overloaded border arbitrary values",
|
|
156
|
+
decision: "drop",
|
|
157
|
+
reason: "width versus color must be type-provable"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
syntax: "zero-denominator fractions",
|
|
161
|
+
decision: "drop",
|
|
162
|
+
reason: "fractions must resolve to a finite percentage"
|
|
163
|
+
}
|
|
164
|
+
];
|
|
165
|
+
|
|
166
|
+
//# sourceMappingURL=toolingRegistry.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolingRegistry.native.js","names":[],"sources":["cjs/toolingRegistry.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar toolingRegistry_exports = {};\n__export(toolingRegistry_exports, {\n defaultMediaKeys: () => defaultMediaKeys,\n grammarDecisions: () => grammarDecisions,\n propToTailwindPrefix: () => propToTailwindPrefix\n});\nmodule.exports = __toCommonJS(toolingRegistry_exports);\nvar import_registry = require(\"./registry\");\nvar propToTailwindPrefix = Object.freeze(Object.fromEntries(import_registry.grammarEntries.map(function(param) {\n var { prop, prefix } = param;\n return [\n prop,\n prefix\n ];\n})));\nvar defaultMediaKeys = [\n \"touchable\",\n \"hoverable\",\n \"max-xxl\",\n \"max-xl\",\n \"max-lg\",\n \"max-md\",\n \"max-sm\",\n \"max-xs\",\n \"max-xxs\",\n \"max-xxxs\",\n \"max-200\",\n \"max-100\",\n \"xxxs\",\n \"xxs\",\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"xxl\",\n \"max-height-lg\",\n \"max-height-md\",\n \"max-height-sm\",\n \"max-height-xs\",\n \"max-height-xxs\",\n \"max-height-xxxs\",\n \"max-height-200\",\n \"max-height-100\",\n \"height-sm\",\n \"height-md\",\n \"height-lg\",\n \"gtXs\",\n \"gtSm\",\n \"gtMd\",\n \"gtLg\",\n \"gtXl\",\n \"short\",\n \"tall\",\n \"hoverNone\",\n \"pointerCoarse\"\n];\nvar grammarDecisions = [\n {\n syntax: \"w-full and size keywords\",\n decision: \"keep\",\n reason: \"explicit size convenience\"\n },\n {\n syntax: \"w-1/2 and fractions\",\n decision: \"keep\",\n reason: \"explicit size convenience\"\n },\n {\n syntax: \"opacity-N percentages\",\n decision: \"keep\",\n reason: \"documented exact percentage\"\n },\n {\n syntax: \"scale-N percentages\",\n decision: \"keep\",\n reason: \"documented exact percentage\"\n },\n {\n syntax: \"unbracketed raw colors\",\n decision: \"drop\",\n reason: \"plain names are configured color tokens\"\n },\n {\n syntax: \"font-sans/serif/mono\",\n decision: \"keep\",\n reason: \"documented generic-family aliases\"\n },\n {\n syntax: \"configured tokens colliding with conveniences/enums\",\n decision: \"keep\",\n reason: \"the exact configured category token wins; otherwise the convenience wins\"\n },\n {\n syntax: \"alignment aliases\",\n decision: \"keep\",\n reason: \"exact prop-specific enum aliases only\"\n },\n {\n syntax: \"flex bundles\",\n decision: \"keep\",\n reason: \"documented multi-prop utilities\"\n },\n {\n syntax: \"other unbracketed flex/grow/shrink numbers\",\n decision: \"drop\",\n reason: \"raw numbers use brackets\"\n },\n {\n syntax: \"bare border\",\n decision: \"keep\",\n reason: \"documented 1px convenience\"\n },\n {\n syntax: \"inset-0\",\n decision: \"keep\",\n reason: \"documented zero convenience\"\n },\n {\n syntax: \"active: modifier\",\n decision: \"keep\",\n reason: \"documented alias of canonical press:\"\n },\n {\n syntax: \"unregistered enum/keyword values\",\n decision: \"drop\",\n reason: \"raw values use brackets\"\n },\n {\n syntax: \"leading-negative arbitrary/convenience/enum forms\",\n decision: \"drop\",\n reason: \"raw negative values put the sign inside brackets\"\n },\n {\n syntax: \"ambiguous overloaded border arbitrary values\",\n decision: \"drop\",\n reason: \"width versus color must be type-provable\"\n },\n {\n syntax: \"zero-denominator fractions\",\n decision: \"drop\",\n reason: \"fractions must resolve to a finite percentage\"\n }\n];\n//# sourceMappingURL=toolingRegistry.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,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