@jesscss/fns 1.0.8-alpha.8 → 2.0.0-alpha.2
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/README.md +15 -5
- package/lib/__tests__/color-adjustments.test.d.ts +1 -0
- package/lib/__tests__/color-adjustments.test.js +137 -0
- package/lib/__tests__/color-adjustments.test.js.map +1 -0
- package/lib/__tests__/color-components.test.d.ts +1 -0
- package/lib/__tests__/color-components.test.js +76 -0
- package/lib/__tests__/color-components.test.js.map +1 -0
- package/lib/__tests__/color.test.d.ts +1 -0
- package/lib/__tests__/color.test.js +41 -0
- package/lib/__tests__/color.test.js.map +1 -0
- package/lib/__tests__/floor.test.d.ts +1 -0
- package/lib/__tests__/floor.test.js +38 -0
- package/lib/__tests__/floor.test.js.map +1 -0
- package/lib/__tests__/iif.d.ts +1 -0
- package/lib/__tests__/iif.js +38 -0
- package/lib/__tests__/iif.test.d.ts +1 -0
- package/lib/__tests__/iif.test.js +34 -0
- package/lib/__tests__/iif.test.js.map +1 -0
- package/lib/__tests__/math.d.ts +1 -0
- package/lib/__tests__/math.js +45 -0
- package/lib/__tests__/math.test.d.ts +1 -0
- package/lib/__tests__/math.test.js +46 -0
- package/lib/__tests__/math.test.js.map +1 -0
- package/lib/conversions.d.ts +46 -0
- package/lib/conversions.js +142 -0
- package/lib/conversions.js.map +1 -0
- package/lib/index.d.ts +1 -5
- package/lib/index.js +3 -17
- package/lib/index.js.map +1 -0
- package/lib/less/__tests__/advanced-blend-modes.test.d.ts +1 -0
- package/lib/less/__tests__/advanced-blend-modes.test.js +29 -0
- package/lib/less/__tests__/advanced-blend-modes.test.js.map +1 -0
- package/lib/less/__tests__/alpha-adjustments.test.d.ts +1 -0
- package/lib/less/__tests__/alpha-adjustments.test.js +36 -0
- package/lib/less/__tests__/alpha-adjustments.test.js.map +1 -0
- package/lib/less/__tests__/argb.test.d.ts +1 -0
- package/lib/less/__tests__/argb.test.js +15 -0
- package/lib/less/__tests__/argb.test.js.map +1 -0
- package/lib/less/__tests__/blend-modes.test.d.ts +1 -0
- package/lib/less/__tests__/blend-modes.test.js +27 -0
- package/lib/less/__tests__/blend-modes.test.js.map +1 -0
- package/lib/less/__tests__/contrast.test.d.ts +1 -0
- package/lib/less/__tests__/contrast.test.js +29 -0
- package/lib/less/__tests__/contrast.test.js.map +1 -0
- package/lib/less/__tests__/convert.test.d.ts +1 -0
- package/lib/less/__tests__/convert.test.js +25 -0
- package/lib/less/__tests__/convert.test.js.map +1 -0
- package/lib/less/__tests__/e.test.d.ts +1 -0
- package/lib/less/__tests__/e.test.js +12 -0
- package/lib/less/__tests__/e.test.js.map +1 -0
- package/lib/less/__tests__/extract.test.d.ts +1 -0
- package/lib/less/__tests__/extract.test.js +32 -0
- package/lib/less/__tests__/extract.test.js.map +1 -0
- package/lib/less/__tests__/format.test.d.ts +1 -0
- package/lib/less/__tests__/format.test.js +20 -0
- package/lib/less/__tests__/format.test.js.map +1 -0
- package/lib/less/__tests__/get-unit.test.d.ts +1 -0
- package/lib/less/__tests__/get-unit.test.js +15 -0
- package/lib/less/__tests__/get-unit.test.js.map +1 -0
- package/lib/less/__tests__/hsl-branches.test.d.ts +1 -0
- package/lib/less/__tests__/hsl-branches.test.js +27 -0
- package/lib/less/__tests__/hsl-branches.test.js.map +1 -0
- package/lib/less/__tests__/hsl-relative-errors.test.d.ts +1 -0
- package/lib/less/__tests__/hsl-relative-errors.test.js +97 -0
- package/lib/less/__tests__/hsl-relative-errors.test.js.map +1 -0
- package/lib/less/__tests__/hsla-fallback.test.d.ts +1 -0
- package/lib/less/__tests__/hsla-fallback.test.js +29 -0
- package/lib/less/__tests__/hsla-fallback.test.js.map +1 -0
- package/lib/less/__tests__/hsv-family.test.d.ts +1 -0
- package/lib/less/__tests__/hsv-family.test.js +43 -0
- package/lib/less/__tests__/hsv-family.test.js.map +1 -0
- package/lib/less/__tests__/isdefined.test.d.ts +1 -0
- package/lib/less/__tests__/isdefined.test.js +18 -0
- package/lib/less/__tests__/isdefined.test.js.map +1 -0
- package/lib/less/__tests__/isruleset.test.d.ts +1 -0
- package/lib/less/__tests__/isruleset.test.js +22 -0
- package/lib/less/__tests__/isruleset.test.js.map +1 -0
- package/lib/less/__tests__/length.test.d.ts +1 -0
- package/lib/less/__tests__/length.test.js +16 -0
- package/lib/less/__tests__/length.test.js.map +1 -0
- package/lib/less/__tests__/luma-luminance-hsv-channels.test.d.ts +1 -0
- package/lib/less/__tests__/luma-luminance-hsv-channels.test.js +35 -0
- package/lib/less/__tests__/luma-luminance-hsv-channels.test.js.map +1 -0
- package/lib/less/__tests__/max.test.d.ts +1 -0
- package/lib/less/__tests__/max.test.js +35 -0
- package/lib/less/__tests__/max.test.js.map +1 -0
- package/lib/less/__tests__/min.test.d.ts +1 -0
- package/lib/less/__tests__/min.test.js +37 -0
- package/lib/less/__tests__/min.test.js.map +1 -0
- package/lib/less/__tests__/mix.test.d.ts +1 -0
- package/lib/less/__tests__/mix.test.js +25 -0
- package/lib/less/__tests__/mix.test.js.map +1 -0
- package/lib/less/__tests__/mod.test.d.ts +1 -0
- package/lib/less/__tests__/mod.test.js +11 -0
- package/lib/less/__tests__/mod.test.js.map +1 -0
- package/lib/less/__tests__/percentage.test.d.ts +1 -0
- package/lib/less/__tests__/percentage.test.js +12 -0
- package/lib/less/__tests__/percentage.test.js.map +1 -0
- package/lib/less/__tests__/pow.test.d.ts +1 -0
- package/lib/less/__tests__/pow.test.js +11 -0
- package/lib/less/__tests__/pow.test.js.map +1 -0
- package/lib/less/__tests__/reexports-smoke.test.d.ts +1 -0
- package/lib/less/__tests__/reexports-smoke.test.js +26 -0
- package/lib/less/__tests__/reexports-smoke.test.js.map +1 -0
- package/lib/less/__tests__/replace.test.d.ts +1 -0
- package/lib/less/__tests__/replace.test.js +22 -0
- package/lib/less/__tests__/replace.test.js.map +1 -0
- package/lib/less/__tests__/rgb-relative-errors.test.d.ts +1 -0
- package/lib/less/__tests__/rgb-relative-errors.test.js +98 -0
- package/lib/less/__tests__/rgb-relative-errors.test.js.map +1 -0
- package/lib/less/__tests__/rgb-rgba-branches.test.d.ts +1 -0
- package/lib/less/__tests__/rgb-rgba-branches.test.js +49 -0
- package/lib/less/__tests__/rgb-rgba-branches.test.js.map +1 -0
- package/lib/less/__tests__/rgba-fallback.test.d.ts +1 -0
- package/lib/less/__tests__/rgba-fallback.test.js +29 -0
- package/lib/less/__tests__/rgba-fallback.test.js.map +1 -0
- package/lib/less/__tests__/shade.test.d.ts +1 -0
- package/lib/less/__tests__/shade.test.js +19 -0
- package/lib/less/__tests__/shade.test.js.map +1 -0
- package/lib/less/__tests__/spin.test.d.ts +1 -0
- package/lib/less/__tests__/spin.test.js +26 -0
- package/lib/less/__tests__/spin.test.js.map +1 -0
- package/lib/less/__tests__/tint.test.d.ts +1 -0
- package/lib/less/__tests__/tint.test.js +19 -0
- package/lib/less/__tests__/tint.test.js.map +1 -0
- package/lib/less/__tests__/types.test.d.ts +1 -0
- package/lib/less/__tests__/types.test.js +28 -0
- package/lib/less/__tests__/types.test.js.map +1 -0
- package/lib/less/__tests__/unit.test.d.ts +1 -0
- package/lib/less/__tests__/unit.test.js +17 -0
- package/lib/less/__tests__/unit.test.js.map +1 -0
- package/lib/less/abs.d.ts +7 -0
- package/lib/less/abs.js +8 -0
- package/lib/less/abs.js.map +1 -0
- package/lib/less/acos.d.ts +440 -0
- package/lib/less/acos.js +3 -0
- package/lib/less/acos.js.map +1 -0
- package/lib/less/alpha.d.ts +7 -0
- package/lib/less/alpha.js +8 -0
- package/lib/less/alpha.js.map +1 -0
- package/lib/less/argb.d.ts +441 -0
- package/lib/less/argb.js +17 -0
- package/lib/less/argb.js.map +1 -0
- package/lib/less/asin.d.ts +440 -0
- package/lib/less/asin.js +3 -0
- package/lib/less/asin.js.map +1 -0
- package/lib/less/atan.d.ts +440 -0
- package/lib/less/atan.js +3 -0
- package/lib/less/atan.js.map +1 -0
- package/lib/less/average.d.ts +601 -0
- package/lib/less/average.js +17 -0
- package/lib/less/average.js.map +1 -0
- package/lib/less/blue.d.ts +7 -0
- package/lib/less/blue.js +8 -0
- package/lib/less/blue.js.map +1 -0
- package/lib/less/ceil.d.ts +7 -0
- package/lib/less/ceil.js +8 -0
- package/lib/less/ceil.js.map +1 -0
- package/lib/less/color.d.ts +441 -0
- package/lib/less/color.js +33 -0
- package/lib/less/color.js.map +1 -0
- package/lib/less/contrast.d.ts +1427 -0
- package/lib/less/contrast.js +57 -0
- package/lib/less/contrast.js.map +1 -0
- package/lib/less/convert.d.ts +600 -0
- package/lib/less/convert.js +45 -0
- package/lib/less/convert.js.map +1 -0
- package/lib/less/cos.d.ts +440 -0
- package/lib/less/cos.js +3 -0
- package/lib/less/cos.js.map +1 -0
- package/lib/less/darken.d.ts +980 -0
- package/lib/less/darken.js +29 -0
- package/lib/less/darken.js.map +1 -0
- package/lib/less/desaturate.d.ts +980 -0
- package/lib/less/desaturate.js +29 -0
- package/lib/less/desaturate.js.map +1 -0
- package/lib/less/difference.d.ts +601 -0
- package/lib/less/difference.js +18 -0
- package/lib/less/difference.js.map +1 -0
- package/lib/less/e.d.ts +444 -0
- package/lib/less/e.js +17 -0
- package/lib/less/e.js.map +1 -0
- package/lib/less/each.d.ts +615 -0
- package/lib/less/each.js +64 -0
- package/lib/less/each.js.map +1 -0
- package/lib/less/exclusion.d.ts +601 -0
- package/lib/less/exclusion.js +18 -0
- package/lib/less/exclusion.js.map +1 -0
- package/lib/less/extract.d.ts +625 -0
- package/lib/less/extract.js +43 -0
- package/lib/less/extract.js.map +1 -0
- package/lib/less/fade.d.ts +600 -0
- package/lib/less/fade.js +28 -0
- package/lib/less/fade.js.map +1 -0
- package/lib/less/fadein.d.ts +980 -0
- package/lib/less/fadein.js +37 -0
- package/lib/less/fadein.js.map +1 -0
- package/lib/less/fadeout.d.ts +980 -0
- package/lib/less/fadeout.js +36 -0
- package/lib/less/fadeout.js.map +1 -0
- package/lib/less/floor.d.ts +7 -0
- package/lib/less/floor.js +8 -0
- package/lib/less/floor.js.map +1 -0
- package/lib/less/format.d.ts +1821 -0
- package/lib/less/format.js +44 -0
- package/lib/less/format.js.map +1 -0
- package/lib/less/get-unit.d.ts +441 -0
- package/lib/less/get-unit.js +11 -0
- package/lib/less/get-unit.js.map +1 -0
- package/lib/less/green.d.ts +7 -0
- package/lib/less/green.js +8 -0
- package/lib/less/green.js.map +1 -0
- package/lib/less/greyscale.d.ts +441 -0
- package/lib/less/greyscale.js +18 -0
- package/lib/less/greyscale.js.map +1 -0
- package/lib/less/hardlight.d.ts +601 -0
- package/lib/less/hardlight.js +19 -0
- package/lib/less/hardlight.js.map +1 -0
- package/lib/less/hsl.d.ts +1063 -0
- package/lib/less/hsl.js +257 -0
- package/lib/less/hsl.js.map +1 -0
- package/lib/less/hsla.d.ts +354 -0
- package/lib/less/hsla.js +31 -0
- package/lib/less/hsla.js.map +1 -0
- package/lib/less/hsv.d.ts +723 -0
- package/lib/less/hsv.js +20 -0
- package/lib/less/hsv.js.map +1 -0
- package/lib/less/hsva.d.ts +991 -0
- package/lib/less/hsva.js +53 -0
- package/lib/less/hsva.js.map +1 -0
- package/lib/less/hsvhue.d.ts +441 -0
- package/lib/less/hsvhue.js +11 -0
- package/lib/less/hsvhue.js.map +1 -0
- package/lib/less/hsvsaturation.d.ts +441 -0
- package/lib/less/hsvsaturation.js +12 -0
- package/lib/less/hsvsaturation.js.map +1 -0
- package/lib/less/hsvvalue.d.ts +441 -0
- package/lib/less/hsvvalue.js +11 -0
- package/lib/less/hsvvalue.js.map +1 -0
- package/lib/less/hue.d.ts +441 -0
- package/lib/less/hue.js +11 -0
- package/lib/less/hue.js.map +1 -0
- package/lib/less/iif.d.ts +1033 -0
- package/lib/less/iif.js +30 -0
- package/lib/less/iif.js.map +1 -0
- package/lib/less/index.d.ts +75 -0
- package/lib/less/index.js +76 -0
- package/lib/less/index.js.map +1 -0
- package/lib/less/isdefined.d.ts +466 -0
- package/lib/less/isdefined.js +21 -0
- package/lib/less/isdefined.js.map +1 -0
- package/lib/less/isruleset.d.ts +466 -0
- package/lib/less/isruleset.js +24 -0
- package/lib/less/isruleset.js.map +1 -0
- package/lib/less/length.d.ts +441 -0
- package/lib/less/length.js +21 -0
- package/lib/less/length.js.map +1 -0
- package/lib/less/lighten.d.ts +980 -0
- package/lib/less/lighten.js +29 -0
- package/lib/less/lighten.js.map +1 -0
- package/lib/less/lightness.d.ts +441 -0
- package/lib/less/lightness.js +11 -0
- package/lib/less/lightness.js.map +1 -0
- package/lib/less/luma.d.ts +441 -0
- package/lib/less/luma.js +14 -0
- package/lib/less/luma.js.map +1 -0
- package/lib/less/luminance.d.ts +441 -0
- package/lib/less/luminance.js +16 -0
- package/lib/less/luminance.js.map +1 -0
- package/lib/less/math-factory.d.ts +774 -0
- package/lib/less/math-factory.js +18 -0
- package/lib/less/math-factory.js.map +1 -0
- package/lib/less/mathv1.d.ts +0 -0
- package/lib/less/mathv1.js +209 -0
- package/lib/less/mathv1.js.map +1 -0
- package/lib/less/max.d.ts +466 -0
- package/lib/less/max.js +85 -0
- package/lib/less/max.js.map +1 -0
- package/lib/less/min.d.ts +466 -0
- package/lib/less/min.js +85 -0
- package/lib/less/min.js.map +1 -0
- package/lib/less/mix.d.ts +980 -0
- package/lib/less/mix.js +39 -0
- package/lib/less/mix.js.map +1 -0
- package/lib/less/mod.d.ts +600 -0
- package/lib/less/mod.js +16 -0
- package/lib/less/mod.js.map +1 -0
- package/lib/less/multiply.d.ts +601 -0
- package/lib/less/multiply.js +18 -0
- package/lib/less/multiply.js.map +1 -0
- package/lib/less/negation.d.ts +601 -0
- package/lib/less/negation.js +18 -0
- package/lib/less/negation.js.map +1 -0
- package/lib/less/overlay.d.ts +601 -0
- package/lib/less/overlay.js +23 -0
- package/lib/less/overlay.js.map +1 -0
- package/lib/less/percentage.d.ts +441 -0
- package/lib/less/percentage.js +11 -0
- package/lib/less/percentage.js.map +1 -0
- package/lib/less/pi.d.ts +332 -0
- package/lib/less/pi.js +3 -0
- package/lib/less/pi.js.map +1 -0
- package/lib/less/pow.d.ts +600 -0
- package/lib/less/pow.js +16 -0
- package/lib/less/pow.js.map +1 -0
- package/lib/less/range.d.ts +1038 -0
- package/lib/less/range.js +40 -0
- package/lib/less/range.js.map +1 -0
- package/lib/less/red.d.ts +7 -0
- package/lib/less/red.js +8 -0
- package/lib/less/red.js.map +1 -0
- package/lib/less/replace.d.ts +1264 -0
- package/lib/less/replace.js +32 -0
- package/lib/less/replace.js.map +1 -0
- package/lib/less/rgb.d.ts +1063 -0
- package/lib/less/rgb.js +266 -0
- package/lib/less/rgb.js.map +1 -0
- package/lib/less/rgba.d.ts +354 -0
- package/lib/less/rgba.js +31 -0
- package/lib/less/rgba.js.map +1 -0
- package/lib/less/round.d.ts +7 -0
- package/lib/less/round.js +8 -0
- package/lib/less/round.js.map +1 -0
- package/lib/less/saturate.d.ts +980 -0
- package/lib/less/saturate.js +29 -0
- package/lib/less/saturate.js.map +1 -0
- package/lib/less/saturation.d.ts +441 -0
- package/lib/less/saturation.js +12 -0
- package/lib/less/saturation.js.map +1 -0
- package/lib/less/screen.d.ts +601 -0
- package/lib/less/screen.js +18 -0
- package/lib/less/screen.js.map +1 -0
- package/lib/less/shade.d.ts +600 -0
- package/lib/less/shade.js +26 -0
- package/lib/less/shade.js.map +1 -0
- package/lib/less/sin.d.ts +440 -0
- package/lib/less/sin.js +3 -0
- package/lib/less/sin.js.map +1 -0
- package/lib/less/softlight.d.ts +601 -0
- package/lib/less/softlight.js +25 -0
- package/lib/less/softlight.js.map +1 -0
- package/lib/less/spin.d.ts +600 -0
- package/lib/less/spin.js +22 -0
- package/lib/less/spin.js.map +1 -0
- package/lib/less/sqrt.d.ts +440 -0
- package/lib/less/sqrt.js +3 -0
- package/lib/less/sqrt.js.map +1 -0
- package/lib/less/tan.d.ts +440 -0
- package/lib/less/tan.js +3 -0
- package/lib/less/tan.js.map +1 -0
- package/lib/less/tint.d.ts +600 -0
- package/lib/less/tint.js +26 -0
- package/lib/less/tint.js.map +1 -0
- package/lib/less/types.d.ts +4112 -0
- package/lib/less/types.js +53 -0
- package/lib/less/types.js.map +1 -0
- package/lib/less/unit.d.ts +753 -0
- package/lib/less/unit.js +20 -0
- package/lib/less/unit.js.map +1 -0
- package/lib/sass/__tests__/hsl-channels.test.d.ts +1 -0
- package/lib/sass/__tests__/hsl-channels.test.js +85 -0
- package/lib/sass/__tests__/hsl-channels.test.js.map +1 -0
- package/lib/sass/__tests__/list-advanced.test.d.ts +1 -0
- package/lib/sass/__tests__/list-advanced.test.js +157 -0
- package/lib/sass/__tests__/list-advanced.test.js.map +1 -0
- package/lib/sass/__tests__/list-functions.test.d.ts +1 -0
- package/lib/sass/__tests__/list-functions.test.js +153 -0
- package/lib/sass/__tests__/list-functions.test.js.map +1 -0
- package/lib/sass/__tests__/map-functions.test.d.ts +1 -0
- package/lib/sass/__tests__/map-functions.test.js +208 -0
- package/lib/sass/__tests__/map-functions.test.js.map +1 -0
- package/lib/sass/__tests__/math-functions.test.d.ts +1 -0
- package/lib/sass/__tests__/math-functions.test.js +73 -0
- package/lib/sass/__tests__/math-functions.test.js.map +1 -0
- package/lib/sass/__tests__/math-remaining.test.d.ts +1 -0
- package/lib/sass/__tests__/math-remaining.test.js +113 -0
- package/lib/sass/__tests__/math-remaining.test.js.map +1 -0
- package/lib/sass/__tests__/opacity.test.d.ts +1 -0
- package/lib/sass/__tests__/opacity.test.js +53 -0
- package/lib/sass/__tests__/opacity.test.js.map +1 -0
- package/lib/sass/__tests__/string-functions.test.d.ts +1 -0
- package/lib/sass/__tests__/string-functions.test.js +109 -0
- package/lib/sass/__tests__/string-functions.test.js.map +1 -0
- package/lib/sass/__tests__/string-remaining.test.d.ts +1 -0
- package/lib/sass/__tests__/string-remaining.test.js +131 -0
- package/lib/sass/__tests__/string-remaining.test.js.map +1 -0
- package/lib/sass/adjust-hue.d.ts +10 -0
- package/lib/sass/adjust-hue.js +11 -0
- package/lib/sass/adjust-hue.js.map +1 -0
- package/lib/sass/color/index.d.ts +22 -0
- package/lib/sass/color/index.js +43 -0
- package/lib/sass/color/index.js.map +1 -0
- package/lib/sass/color/red.d.ts +7 -0
- package/lib/sass/color/red.js +8 -0
- package/lib/sass/color/red.js.map +1 -0
- package/lib/sass/compatible.d.ts +610 -0
- package/lib/sass/compatible.js +62 -0
- package/lib/sass/compatible.js.map +1 -0
- package/lib/sass/complement.d.ts +450 -0
- package/lib/sass/complement.js +28 -0
- package/lib/sass/complement.js.map +1 -0
- package/lib/sass/fade-in.d.ts +10 -0
- package/lib/sass/fade-in.js +11 -0
- package/lib/sass/fade-in.js.map +1 -0
- package/lib/sass/fade-out.d.ts +10 -0
- package/lib/sass/fade-out.js +11 -0
- package/lib/sass/fade-out.js.map +1 -0
- package/lib/sass/grayscale.d.ts +10 -0
- package/lib/sass/grayscale.js +11 -0
- package/lib/sass/grayscale.js.map +1 -0
- package/lib/sass/hue.d.ts +450 -0
- package/lib/sass/hue.js +24 -0
- package/lib/sass/hue.js.map +1 -0
- package/lib/sass/ie-hex-str.d.ts +10 -0
- package/lib/sass/ie-hex-str.js +11 -0
- package/lib/sass/ie-hex-str.js.map +1 -0
- package/lib/sass/index.d.ts +64 -0
- package/lib/sass/index.js +90 -0
- package/lib/sass/index.js.map +1 -0
- package/lib/sass/invert.d.ts +813 -0
- package/lib/sass/invert.js +36 -0
- package/lib/sass/invert.js.map +1 -0
- package/lib/sass/lightness.d.ts +450 -0
- package/lib/sass/lightness.js +24 -0
- package/lib/sass/lightness.js.map +1 -0
- package/lib/sass/list/append.d.ts +989 -0
- package/lib/sass/list/append.js +54 -0
- package/lib/sass/list/append.js.map +1 -0
- package/lib/sass/list/index.d.ts +21 -0
- package/lib/sass/list/index.js +24 -0
- package/lib/sass/list/index.js.map +1 -0
- package/lib/sass/list/is-bracketed.d.ts +450 -0
- package/lib/sass/list/is-bracketed.js +30 -0
- package/lib/sass/list/is-bracketed.js.map +1 -0
- package/lib/sass/list/join.d.ts +1354 -0
- package/lib/sass/list/join.js +66 -0
- package/lib/sass/list/join.js.map +1 -0
- package/lib/sass/list/length.d.ts +450 -0
- package/lib/sass/list/length.js +22 -0
- package/lib/sass/list/length.js.map +1 -0
- package/lib/sass/list/list-index.d.ts +609 -0
- package/lib/sass/list/list-index.js +49 -0
- package/lib/sass/list/list-index.js.map +1 -0
- package/lib/sass/list/nth.d.ts +634 -0
- package/lib/sass/list/nth.js +36 -0
- package/lib/sass/list/nth.js.map +1 -0
- package/lib/sass/list/separator.d.ts +451 -0
- package/lib/sass/list/separator.js +36 -0
- package/lib/sass/list/separator.js.map +1 -0
- package/lib/sass/list/set-nth.d.ts +756 -0
- package/lib/sass/list/set-nth.js +42 -0
- package/lib/sass/list/set-nth.js.map +1 -0
- package/lib/sass/list/zip.d.ts +474 -0
- package/lib/sass/list/zip.js +46 -0
- package/lib/sass/list/zip.js.map +1 -0
- package/lib/sass/map/get.d.ts +757 -0
- package/lib/sass/map/get.js +79 -0
- package/lib/sass/map/get.js.map +1 -0
- package/lib/sass/map/has-key.d.ts +757 -0
- package/lib/sass/map/has-key.js +76 -0
- package/lib/sass/map/has-key.js.map +1 -0
- package/lib/sass/map/index.d.ts +19 -0
- package/lib/sass/map/index.js +23 -0
- package/lib/sass/map/index.js.map +1 -0
- package/lib/sass/map/keys.d.ts +449 -0
- package/lib/sass/map/keys.js +39 -0
- package/lib/sass/map/keys.js.map +1 -0
- package/lib/sass/map/merge.d.ts +608 -0
- package/lib/sass/map/merge.js +54 -0
- package/lib/sass/map/merge.js.map +1 -0
- package/lib/sass/map/remove.d.ts +633 -0
- package/lib/sass/map/remove.js +41 -0
- package/lib/sass/map/remove.js.map +1 -0
- package/lib/sass/map/set.d.ts +731 -0
- package/lib/sass/map/set.js +72 -0
- package/lib/sass/map/set.js.map +1 -0
- package/lib/sass/map/values.d.ts +449 -0
- package/lib/sass/map/values.js +30 -0
- package/lib/sass/map/values.js.map +1 -0
- package/lib/sass/math/abs.d.ts +7 -0
- package/lib/sass/math/abs.js +8 -0
- package/lib/sass/math/abs.js.map +1 -0
- package/lib/sass/math/index.d.ts +18 -0
- package/lib/sass/math/index.js +43 -0
- package/lib/sass/math/index.js.map +1 -0
- package/lib/sass/opacify.d.ts +11 -0
- package/lib/sass/opacify.js +12 -0
- package/lib/sass/opacify.js.map +1 -0
- package/lib/sass/opacity.d.ts +451 -0
- package/lib/sass/opacity.js +33 -0
- package/lib/sass/opacity.js.map +1 -0
- package/lib/sass/percentage.d.ts +449 -0
- package/lib/sass/percentage.js +26 -0
- package/lib/sass/percentage.js.map +1 -0
- package/lib/sass/quote.d.ts +449 -0
- package/lib/sass/quote.js +27 -0
- package/lib/sass/quote.js.map +1 -0
- package/lib/sass/random.d.ts +534 -0
- package/lib/sass/random.js +37 -0
- package/lib/sass/random.js.map +1 -0
- package/lib/sass/saturation.d.ts +450 -0
- package/lib/sass/saturation.js +24 -0
- package/lib/sass/saturation.js.map +1 -0
- package/lib/sass/str-index.d.ts +609 -0
- package/lib/sass/str-index.js +34 -0
- package/lib/sass/str-index.js.map +1 -0
- package/lib/sass/str-insert.d.ts +756 -0
- package/lib/sass/str-insert.js +61 -0
- package/lib/sass/str-insert.js.map +1 -0
- package/lib/sass/str-slice.d.ts +1039 -0
- package/lib/sass/str-slice.js +95 -0
- package/lib/sass/str-slice.js.map +1 -0
- package/lib/sass/string/index.d.ts +18 -0
- package/lib/sass/string/index.js +25 -0
- package/lib/sass/string/index.js.map +1 -0
- package/lib/sass/string/length.d.ts +450 -0
- package/lib/sass/string/length.js +32 -0
- package/lib/sass/string/length.js.map +1 -0
- package/lib/sass/to-lower-case.d.ts +449 -0
- package/lib/sass/to-lower-case.js +23 -0
- package/lib/sass/to-lower-case.js.map +1 -0
- package/lib/sass/to-upper-case.d.ts +449 -0
- package/lib/sass/to-upper-case.js +23 -0
- package/lib/sass/to-upper-case.js.map +1 -0
- package/lib/sass/transparentize.d.ts +11 -0
- package/lib/sass/transparentize.js +12 -0
- package/lib/sass/transparentize.js.map +1 -0
- package/lib/sass/unique-id.d.ts +341 -0
- package/lib/sass/unique-id.js +23 -0
- package/lib/sass/unique-id.js.map +1 -0
- package/lib/sass/unit.d.ts +762 -0
- package/lib/sass/unit.js +37 -0
- package/lib/sass/unit.js.map +1 -0
- package/lib/sass/unitless.d.ts +450 -0
- package/lib/sass/unitless.js +23 -0
- package/lib/sass/unitless.js.map +1 -0
- package/lib/sass/unquote.d.ts +449 -0
- package/lib/sass/unquote.js +27 -0
- package/lib/sass/unquote.js.map +1 -0
- package/lib/shared/color/alpha.d.ts +441 -0
- package/lib/shared/color/alpha.js +10 -0
- package/lib/shared/color/alpha.js.map +1 -0
- package/lib/shared/color/blue.d.ts +441 -0
- package/lib/shared/color/blue.js +10 -0
- package/lib/shared/color/blue.js.map +1 -0
- package/lib/shared/color/green.d.ts +441 -0
- package/lib/shared/color/green.js +10 -0
- package/lib/shared/color/green.js.map +1 -0
- package/lib/shared/color/red.d.ts +441 -0
- package/lib/shared/color/red.js +10 -0
- package/lib/shared/color/red.js.map +1 -0
- package/lib/shared/index.d.ts +16 -0
- package/lib/shared/index.js +19 -0
- package/lib/shared/index.js.map +1 -0
- package/lib/shared/math/__tests__/max.test.d.ts +1 -0
- package/lib/shared/math/__tests__/max.test.js +12 -0
- package/lib/shared/math/__tests__/max.test.js.map +1 -0
- package/lib/shared/math/__tests__/min.test.d.ts +1 -0
- package/lib/shared/math/__tests__/min.test.js +12 -0
- package/lib/shared/math/__tests__/min.test.js.map +1 -0
- package/lib/shared/math/__tests__/round.test.d.ts +1 -0
- package/lib/shared/math/__tests__/round.test.js +10 -0
- package/lib/shared/math/__tests__/round.test.js.map +1 -0
- package/lib/shared/math/abs.d.ts +441 -0
- package/lib/shared/math/abs.js +11 -0
- package/lib/shared/math/abs.js.map +1 -0
- package/lib/shared/math/ceil.d.ts +441 -0
- package/lib/shared/math/ceil.js +11 -0
- package/lib/shared/math/ceil.js.map +1 -0
- package/lib/shared/math/floor.d.ts +441 -0
- package/lib/shared/math/floor.js +11 -0
- package/lib/shared/math/floor.js.map +1 -0
- package/lib/shared/math/max.d.ts +469 -0
- package/lib/shared/math/max.js +22 -0
- package/lib/shared/math/max.js.map +1 -0
- package/lib/shared/math/min.d.ts +469 -0
- package/lib/shared/math/min.js +22 -0
- package/lib/shared/math/min.js.map +1 -0
- package/lib/shared/math/round.d.ts +778 -0
- package/lib/shared/math/round.js +17 -0
- package/lib/shared/math/round.js.map +1 -0
- package/lib/util/colorHelper.d.ts +2 -0
- package/lib/util/colorHelper.js +32 -0
- package/lib/util/colorHelper.js.map +1 -0
- package/lib/util/get-color-func-values.d.ts +5 -0
- package/lib/util/get-color-func-values.js +28 -0
- package/lib/util/get-color-func-values.js.map +1 -0
- package/lib/util/get-hsla.d.ts +10 -0
- package/lib/util/get-hsla.js +38 -0
- package/lib/util/get-hsla.js.map +1 -0
- package/lib/util/get-luma.d.ts +2 -0
- package/lib/util/get-luma.js +10 -0
- package/lib/util/get-luma.js.map +1 -0
- package/lib/util/index.d.ts +5 -0
- package/lib/util/index.js +17 -0
- package/lib/util/index.js.map +1 -0
- package/lib/util/mathHelper.d.ts +4 -0
- package/lib/util/mathHelper.js +45 -0
- package/lib/util/mathHelper.js.map +1 -0
- package/lib/util/number.d.ts +4 -0
- package/lib/util/number.js +23 -0
- package/lib/util/number.js.map +1 -0
- package/lib/util/relative-color.d.ts +54 -0
- package/lib/util/relative-color.js +268 -0
- package/lib/util/relative-color.js.map +1 -0
- package/lib/util/serialize-node.d.ts +2 -0
- package/lib/util/serialize-node.js +8 -0
- package/lib/util/serialize-node.js.map +1 -0
- package/lib/util/to-hsl.d.ts +7 -0
- package/lib/util/to-hsl.js +6 -0
- package/lib/util/to-hsl.js.map +1 -0
- package/lib/util/to-hsv.d.ts +7 -0
- package/lib/util/to-hsv.js +73 -0
- package/lib/util/to-hsv.js.map +1 -0
- package/package.json +39 -16
- package/lib/color-blending.d.ts +0 -9
- package/lib/color-blending.js +0 -83
- package/lib/color.d.ts +0 -42
- package/lib/color.js +0 -407
- package/lib/each.d.ts +0 -14
- package/lib/each.js +0 -35
- package/lib/iif.d.ts +0 -4
- package/lib/iif.js +0 -10
- package/lib/math.d.ts +0 -13
- package/lib/math.js +0 -199
|
@@ -0,0 +1,980 @@
|
|
|
1
|
+
import { Color, Dimension } from '@jesscss/core';
|
|
2
|
+
declare const mix: {
|
|
3
|
+
(args_0: Color | (Partial<{
|
|
4
|
+
readonly weight?: Dimension | undefined;
|
|
5
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
6
|
+
[x: string]: never;
|
|
7
|
+
readonly color1: Dimension | Color;
|
|
8
|
+
readonly color2: Dimension | Color;
|
|
9
|
+
weight: Dimension | Color;
|
|
10
|
+
}>, "weight">> & {
|
|
11
|
+
readonly weight?: Dimension | undefined;
|
|
12
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
13
|
+
[x: string]: never;
|
|
14
|
+
readonly color1: Dimension | Color;
|
|
15
|
+
readonly color2: Dimension | Color;
|
|
16
|
+
weight: Dimension | Color;
|
|
17
|
+
}>, "weight">), args_1: Color | (Partial<{
|
|
18
|
+
readonly weight?: Dimension | undefined;
|
|
19
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
20
|
+
[x: string]: never;
|
|
21
|
+
readonly color1: Dimension | Color;
|
|
22
|
+
readonly color2: Dimension | Color;
|
|
23
|
+
weight: Dimension | Color;
|
|
24
|
+
}>, "weight">> & {
|
|
25
|
+
weight?: Dimension | undefined;
|
|
26
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
27
|
+
[x: string]: never;
|
|
28
|
+
color2: Dimension | Color;
|
|
29
|
+
weight: Dimension | Color;
|
|
30
|
+
}>, "weight">), args_2?: Dimension | (Partial<{
|
|
31
|
+
readonly weight?: Dimension | undefined;
|
|
32
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
33
|
+
[x: string]: never;
|
|
34
|
+
readonly color1: Dimension | Color;
|
|
35
|
+
readonly color2: Dimension | Color;
|
|
36
|
+
weight: Dimension | Color;
|
|
37
|
+
}>, "weight">> & {
|
|
38
|
+
weight?: Dimension | undefined;
|
|
39
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
40
|
+
[x: string]: never;
|
|
41
|
+
}>, "weight">) | undefined): Color;
|
|
42
|
+
(record: {
|
|
43
|
+
readonly weight?: Dimension | undefined;
|
|
44
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
45
|
+
[x: string]: never;
|
|
46
|
+
readonly color1: Dimension | Color;
|
|
47
|
+
readonly color2: Dimension | Color;
|
|
48
|
+
weight: Dimension | Color;
|
|
49
|
+
}>, "weight">): Color;
|
|
50
|
+
name: string;
|
|
51
|
+
params: readonly [{
|
|
52
|
+
readonly name: "color1";
|
|
53
|
+
readonly type: typeof Color;
|
|
54
|
+
}, {
|
|
55
|
+
readonly name: "color2";
|
|
56
|
+
readonly type: typeof Color;
|
|
57
|
+
}, {
|
|
58
|
+
readonly name: "weight";
|
|
59
|
+
readonly type: typeof Dimension;
|
|
60
|
+
readonly optional: true;
|
|
61
|
+
}];
|
|
62
|
+
} & {
|
|
63
|
+
(arg1: Color | (Partial<{
|
|
64
|
+
readonly weight?: Dimension | undefined;
|
|
65
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
66
|
+
[x: string]: never;
|
|
67
|
+
readonly color1: Dimension | Color;
|
|
68
|
+
readonly color2: Dimension | Color;
|
|
69
|
+
weight: Dimension | Color;
|
|
70
|
+
}>, "weight">> & {
|
|
71
|
+
readonly weight?: Dimension | undefined;
|
|
72
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
73
|
+
[x: string]: never;
|
|
74
|
+
readonly color1: Dimension | Color;
|
|
75
|
+
readonly color2: Dimension | Color;
|
|
76
|
+
weight: Dimension | Color;
|
|
77
|
+
}>, "weight">), arg2: Color | (Partial<{
|
|
78
|
+
readonly weight?: Dimension | undefined;
|
|
79
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
80
|
+
[x: string]: never;
|
|
81
|
+
readonly color1: Dimension | Color;
|
|
82
|
+
readonly color2: Dimension | Color;
|
|
83
|
+
weight: Dimension | Color;
|
|
84
|
+
}>, "weight">> & {
|
|
85
|
+
weight?: Dimension | undefined;
|
|
86
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
87
|
+
[x: string]: never;
|
|
88
|
+
color2: Dimension | Color;
|
|
89
|
+
weight: Dimension | Color;
|
|
90
|
+
}>, "weight">)): Color;
|
|
91
|
+
(arg1: Color | (Partial<{
|
|
92
|
+
readonly weight?: Dimension | undefined;
|
|
93
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
94
|
+
[x: string]: never;
|
|
95
|
+
readonly color1: Dimension | Color;
|
|
96
|
+
readonly color2: Dimension | Color;
|
|
97
|
+
weight: Dimension | Color;
|
|
98
|
+
}>, "weight">> & {
|
|
99
|
+
readonly weight?: Dimension | undefined;
|
|
100
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
101
|
+
[x: string]: never;
|
|
102
|
+
readonly color1: Dimension | Color;
|
|
103
|
+
readonly color2: Dimension | Color;
|
|
104
|
+
weight: Dimension | Color;
|
|
105
|
+
}>, "weight">), arg2: Color | (Partial<{
|
|
106
|
+
readonly weight?: Dimension | undefined;
|
|
107
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
108
|
+
[x: string]: never;
|
|
109
|
+
readonly color1: Dimension | Color;
|
|
110
|
+
readonly color2: Dimension | Color;
|
|
111
|
+
weight: Dimension | Color;
|
|
112
|
+
}>, "weight">> & {
|
|
113
|
+
weight?: Dimension | undefined;
|
|
114
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
115
|
+
[x: string]: never;
|
|
116
|
+
color2: Dimension | Color;
|
|
117
|
+
weight: Dimension | Color;
|
|
118
|
+
}>, "weight">), arg3: Dimension | (Partial<{
|
|
119
|
+
readonly weight?: Dimension | undefined;
|
|
120
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
121
|
+
[x: string]: never;
|
|
122
|
+
readonly color1: Dimension | Color;
|
|
123
|
+
readonly color2: Dimension | Color;
|
|
124
|
+
weight: Dimension | Color;
|
|
125
|
+
}>, "weight">> & {
|
|
126
|
+
weight?: Dimension | undefined;
|
|
127
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
128
|
+
[x: string]: never;
|
|
129
|
+
}>, "weight">) | undefined): Color;
|
|
130
|
+
} & {
|
|
131
|
+
call(thisArg: any, ...args: Parameters<{
|
|
132
|
+
(...args: [Color | (Partial<{
|
|
133
|
+
readonly weight?: Dimension | undefined;
|
|
134
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
135
|
+
[x: string]: never;
|
|
136
|
+
readonly color1: Dimension | Color;
|
|
137
|
+
readonly color2: Dimension | Color;
|
|
138
|
+
weight: Dimension | Color;
|
|
139
|
+
}>, "weight">> & {
|
|
140
|
+
readonly weight?: Dimension | undefined;
|
|
141
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
142
|
+
[x: string]: never;
|
|
143
|
+
readonly color1: Dimension | Color;
|
|
144
|
+
readonly color2: Dimension | Color;
|
|
145
|
+
weight: Dimension | Color;
|
|
146
|
+
}>, "weight">), Color | (Partial<{
|
|
147
|
+
readonly weight?: Dimension | undefined;
|
|
148
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
149
|
+
[x: string]: never;
|
|
150
|
+
readonly color1: Dimension | Color;
|
|
151
|
+
readonly color2: Dimension | Color;
|
|
152
|
+
weight: Dimension | Color;
|
|
153
|
+
}>, "weight">> & {
|
|
154
|
+
weight?: Dimension | undefined;
|
|
155
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
156
|
+
[x: string]: never;
|
|
157
|
+
color2: Dimension | Color;
|
|
158
|
+
weight: Dimension | Color;
|
|
159
|
+
}>, "weight">), (Dimension | (Partial<{
|
|
160
|
+
readonly weight?: Dimension | undefined;
|
|
161
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
162
|
+
[x: string]: never;
|
|
163
|
+
readonly color1: Dimension | Color;
|
|
164
|
+
readonly color2: Dimension | Color;
|
|
165
|
+
weight: Dimension | Color;
|
|
166
|
+
}>, "weight">> & {
|
|
167
|
+
weight?: Dimension | undefined;
|
|
168
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
169
|
+
[x: string]: never;
|
|
170
|
+
}>, "weight">) | undefined)?]): Color;
|
|
171
|
+
(record: {
|
|
172
|
+
readonly weight?: Dimension | undefined;
|
|
173
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
174
|
+
[x: string]: never;
|
|
175
|
+
readonly color1: Dimension | Color;
|
|
176
|
+
readonly color2: Dimension | Color;
|
|
177
|
+
weight: Dimension | Color;
|
|
178
|
+
}>, "weight">): Color;
|
|
179
|
+
name: string;
|
|
180
|
+
params: readonly [{
|
|
181
|
+
readonly name: "color1";
|
|
182
|
+
readonly type: typeof Color;
|
|
183
|
+
}, {
|
|
184
|
+
readonly name: "color2";
|
|
185
|
+
readonly type: typeof Color;
|
|
186
|
+
}, {
|
|
187
|
+
readonly name: "weight";
|
|
188
|
+
readonly type: typeof Dimension;
|
|
189
|
+
readonly optional: true;
|
|
190
|
+
}];
|
|
191
|
+
} & (readonly [{
|
|
192
|
+
readonly name: "color1";
|
|
193
|
+
readonly type: typeof Color;
|
|
194
|
+
}, {
|
|
195
|
+
readonly name: "color2";
|
|
196
|
+
readonly type: typeof Color;
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "weight";
|
|
199
|
+
readonly type: typeof Dimension;
|
|
200
|
+
readonly optional: true;
|
|
201
|
+
}] extends readonly [{
|
|
202
|
+
name: string;
|
|
203
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
204
|
+
optional: true;
|
|
205
|
+
}] ? {
|
|
206
|
+
(): Color;
|
|
207
|
+
(arg1: never): Color;
|
|
208
|
+
} : readonly [{
|
|
209
|
+
readonly name: "color1";
|
|
210
|
+
readonly type: typeof Color;
|
|
211
|
+
}, {
|
|
212
|
+
readonly name: "color2";
|
|
213
|
+
readonly type: typeof Color;
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "weight";
|
|
216
|
+
readonly type: typeof Dimension;
|
|
217
|
+
readonly optional: true;
|
|
218
|
+
}] extends readonly [{
|
|
219
|
+
name: string;
|
|
220
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
221
|
+
optional?: boolean;
|
|
222
|
+
}] ? (arg1: never) => Color : readonly [{
|
|
223
|
+
readonly name: "color1";
|
|
224
|
+
readonly type: typeof Color;
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "color2";
|
|
227
|
+
readonly type: typeof Color;
|
|
228
|
+
}, {
|
|
229
|
+
readonly name: "weight";
|
|
230
|
+
readonly type: typeof Dimension;
|
|
231
|
+
readonly optional: true;
|
|
232
|
+
}] extends readonly [{
|
|
233
|
+
name: string;
|
|
234
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
235
|
+
optional: true;
|
|
236
|
+
}, {
|
|
237
|
+
name: string;
|
|
238
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
239
|
+
optional: true;
|
|
240
|
+
}] ? {
|
|
241
|
+
(): Color;
|
|
242
|
+
(arg1: never): Color;
|
|
243
|
+
(arg1: never, arg2: never): Color;
|
|
244
|
+
} : readonly [{
|
|
245
|
+
readonly name: "color1";
|
|
246
|
+
readonly type: typeof Color;
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: "color2";
|
|
249
|
+
readonly type: typeof Color;
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "weight";
|
|
252
|
+
readonly type: typeof Dimension;
|
|
253
|
+
readonly optional: true;
|
|
254
|
+
}] extends readonly [{
|
|
255
|
+
name: string;
|
|
256
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
257
|
+
optional?: boolean;
|
|
258
|
+
}, {
|
|
259
|
+
name: string;
|
|
260
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
261
|
+
optional: true;
|
|
262
|
+
}] ? {
|
|
263
|
+
(arg1: never): Color;
|
|
264
|
+
(arg1: never, arg2: never): Color;
|
|
265
|
+
} : readonly [{
|
|
266
|
+
readonly name: "color1";
|
|
267
|
+
readonly type: typeof Color;
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "color2";
|
|
270
|
+
readonly type: typeof Color;
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "weight";
|
|
273
|
+
readonly type: typeof Dimension;
|
|
274
|
+
readonly optional: true;
|
|
275
|
+
}] extends readonly [{
|
|
276
|
+
name: string;
|
|
277
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
278
|
+
optional?: boolean;
|
|
279
|
+
}, {
|
|
280
|
+
name: string;
|
|
281
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
282
|
+
optional?: boolean;
|
|
283
|
+
}] ? {
|
|
284
|
+
(arg1: never): Color;
|
|
285
|
+
(arg1: never, arg2: never): Color;
|
|
286
|
+
} : readonly [{
|
|
287
|
+
readonly name: "color1";
|
|
288
|
+
readonly type: typeof Color;
|
|
289
|
+
}, {
|
|
290
|
+
readonly name: "color2";
|
|
291
|
+
readonly type: typeof Color;
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "weight";
|
|
294
|
+
readonly type: typeof Dimension;
|
|
295
|
+
readonly optional: true;
|
|
296
|
+
}] extends readonly [{
|
|
297
|
+
name: string;
|
|
298
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
299
|
+
optional?: boolean;
|
|
300
|
+
}, {
|
|
301
|
+
name: string;
|
|
302
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
303
|
+
optional?: boolean;
|
|
304
|
+
}, {
|
|
305
|
+
name: string;
|
|
306
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
307
|
+
optional: true;
|
|
308
|
+
}] ? {
|
|
309
|
+
(arg1: Color | (Partial<{
|
|
310
|
+
readonly weight?: Dimension | undefined;
|
|
311
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
312
|
+
[x: string]: never;
|
|
313
|
+
readonly color1: Dimension | Color;
|
|
314
|
+
readonly color2: Dimension | Color;
|
|
315
|
+
weight: Dimension | Color;
|
|
316
|
+
}>, "weight">> & {
|
|
317
|
+
readonly weight?: Dimension | undefined;
|
|
318
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
319
|
+
[x: string]: never;
|
|
320
|
+
readonly color1: Dimension | Color;
|
|
321
|
+
readonly color2: Dimension | Color;
|
|
322
|
+
weight: Dimension | Color;
|
|
323
|
+
}>, "weight">), arg2: Color | (Partial<{
|
|
324
|
+
readonly weight?: Dimension | undefined;
|
|
325
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
326
|
+
[x: string]: never;
|
|
327
|
+
readonly color1: Dimension | Color;
|
|
328
|
+
readonly color2: Dimension | Color;
|
|
329
|
+
weight: Dimension | Color;
|
|
330
|
+
}>, "weight">> & {
|
|
331
|
+
weight?: Dimension | undefined;
|
|
332
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
333
|
+
[x: string]: never;
|
|
334
|
+
color2: Dimension | Color;
|
|
335
|
+
weight: Dimension | Color;
|
|
336
|
+
}>, "weight">)): Color;
|
|
337
|
+
(arg1: Color | (Partial<{
|
|
338
|
+
readonly weight?: Dimension | undefined;
|
|
339
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
340
|
+
[x: string]: never;
|
|
341
|
+
readonly color1: Dimension | Color;
|
|
342
|
+
readonly color2: Dimension | Color;
|
|
343
|
+
weight: Dimension | Color;
|
|
344
|
+
}>, "weight">> & {
|
|
345
|
+
readonly weight?: Dimension | undefined;
|
|
346
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
347
|
+
[x: string]: never;
|
|
348
|
+
readonly color1: Dimension | Color;
|
|
349
|
+
readonly color2: Dimension | Color;
|
|
350
|
+
weight: Dimension | Color;
|
|
351
|
+
}>, "weight">), arg2: Color | (Partial<{
|
|
352
|
+
readonly weight?: Dimension | undefined;
|
|
353
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
354
|
+
[x: string]: never;
|
|
355
|
+
readonly color1: Dimension | Color;
|
|
356
|
+
readonly color2: Dimension | Color;
|
|
357
|
+
weight: Dimension | Color;
|
|
358
|
+
}>, "weight">> & {
|
|
359
|
+
weight?: Dimension | undefined;
|
|
360
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
361
|
+
[x: string]: never;
|
|
362
|
+
color2: Dimension | Color;
|
|
363
|
+
weight: Dimension | Color;
|
|
364
|
+
}>, "weight">), arg3: Dimension | (Partial<{
|
|
365
|
+
readonly weight?: Dimension | undefined;
|
|
366
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
367
|
+
[x: string]: never;
|
|
368
|
+
readonly color1: Dimension | Color;
|
|
369
|
+
readonly color2: Dimension | Color;
|
|
370
|
+
weight: Dimension | Color;
|
|
371
|
+
}>, "weight">> & {
|
|
372
|
+
weight?: Dimension | undefined;
|
|
373
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
374
|
+
[x: string]: never;
|
|
375
|
+
}>, "weight">) | undefined): Color;
|
|
376
|
+
} : readonly [{
|
|
377
|
+
readonly name: "color1";
|
|
378
|
+
readonly type: typeof Color;
|
|
379
|
+
}, {
|
|
380
|
+
readonly name: "color2";
|
|
381
|
+
readonly type: typeof Color;
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "weight";
|
|
384
|
+
readonly type: typeof Dimension;
|
|
385
|
+
readonly optional: true;
|
|
386
|
+
}] extends readonly [{
|
|
387
|
+
name: string;
|
|
388
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
389
|
+
optional?: boolean;
|
|
390
|
+
}, {
|
|
391
|
+
name: string;
|
|
392
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
393
|
+
optional?: boolean;
|
|
394
|
+
}, {
|
|
395
|
+
name: string;
|
|
396
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
397
|
+
optional?: boolean;
|
|
398
|
+
}] ? (arg1: Color | (Partial<{
|
|
399
|
+
readonly weight?: Dimension | undefined;
|
|
400
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
401
|
+
[x: string]: never;
|
|
402
|
+
readonly color1: Dimension | Color;
|
|
403
|
+
readonly color2: Dimension | Color;
|
|
404
|
+
weight: Dimension | Color;
|
|
405
|
+
}>, "weight">> & {
|
|
406
|
+
readonly weight?: Dimension | undefined;
|
|
407
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
408
|
+
[x: string]: never;
|
|
409
|
+
readonly color1: Dimension | Color;
|
|
410
|
+
readonly color2: Dimension | Color;
|
|
411
|
+
weight: Dimension | Color;
|
|
412
|
+
}>, "weight">), arg2: Color | (Partial<{
|
|
413
|
+
readonly weight?: Dimension | undefined;
|
|
414
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
415
|
+
[x: string]: never;
|
|
416
|
+
readonly color1: Dimension | Color;
|
|
417
|
+
readonly color2: Dimension | Color;
|
|
418
|
+
weight: Dimension | Color;
|
|
419
|
+
}>, "weight">> & {
|
|
420
|
+
weight?: Dimension | undefined;
|
|
421
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
422
|
+
[x: string]: never;
|
|
423
|
+
color2: Dimension | Color;
|
|
424
|
+
weight: Dimension | Color;
|
|
425
|
+
}>, "weight">), arg3: Dimension | (Partial<{
|
|
426
|
+
readonly weight?: Dimension | undefined;
|
|
427
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
428
|
+
[x: string]: never;
|
|
429
|
+
readonly color1: Dimension | Color;
|
|
430
|
+
readonly color2: Dimension | Color;
|
|
431
|
+
weight: Dimension | Color;
|
|
432
|
+
}>, "weight">> & {
|
|
433
|
+
weight?: Dimension | undefined;
|
|
434
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
435
|
+
[x: string]: never;
|
|
436
|
+
}>, "weight">) | undefined) => Color : readonly [{
|
|
437
|
+
readonly name: "color1";
|
|
438
|
+
readonly type: typeof Color;
|
|
439
|
+
}, {
|
|
440
|
+
readonly name: "color2";
|
|
441
|
+
readonly type: typeof Color;
|
|
442
|
+
}, {
|
|
443
|
+
readonly name: "weight";
|
|
444
|
+
readonly type: typeof Dimension;
|
|
445
|
+
readonly optional: true;
|
|
446
|
+
}] extends readonly [{
|
|
447
|
+
name: string;
|
|
448
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
449
|
+
optional?: boolean;
|
|
450
|
+
}, {
|
|
451
|
+
name: string;
|
|
452
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
453
|
+
optional?: boolean;
|
|
454
|
+
}, {
|
|
455
|
+
name: string;
|
|
456
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
457
|
+
optional?: boolean;
|
|
458
|
+
}, {
|
|
459
|
+
name: string;
|
|
460
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
461
|
+
optional: true;
|
|
462
|
+
}] ? {
|
|
463
|
+
(arg1: never, arg2: never, arg3: never): Color;
|
|
464
|
+
(arg1: never, arg2: never, arg3: never, arg4: never): Color;
|
|
465
|
+
} : readonly [{
|
|
466
|
+
readonly name: "color1";
|
|
467
|
+
readonly type: typeof Color;
|
|
468
|
+
}, {
|
|
469
|
+
readonly name: "color2";
|
|
470
|
+
readonly type: typeof Color;
|
|
471
|
+
}, {
|
|
472
|
+
readonly name: "weight";
|
|
473
|
+
readonly type: typeof Dimension;
|
|
474
|
+
readonly optional: true;
|
|
475
|
+
}] extends readonly [{
|
|
476
|
+
name: string;
|
|
477
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
478
|
+
optional?: boolean;
|
|
479
|
+
}, {
|
|
480
|
+
name: string;
|
|
481
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
482
|
+
optional?: boolean;
|
|
483
|
+
}, {
|
|
484
|
+
name: string;
|
|
485
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
486
|
+
optional?: boolean;
|
|
487
|
+
}, {
|
|
488
|
+
name: string;
|
|
489
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
490
|
+
optional?: boolean;
|
|
491
|
+
}] ? (arg1: never, arg2: never, arg3: never, arg4: never) => Color : readonly [{
|
|
492
|
+
readonly name: "color1";
|
|
493
|
+
readonly type: typeof Color;
|
|
494
|
+
}, {
|
|
495
|
+
readonly name: "color2";
|
|
496
|
+
readonly type: typeof Color;
|
|
497
|
+
}, {
|
|
498
|
+
readonly name: "weight";
|
|
499
|
+
readonly type: typeof Dimension;
|
|
500
|
+
readonly optional: true;
|
|
501
|
+
}] extends readonly [{
|
|
502
|
+
name: string;
|
|
503
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
504
|
+
optional?: boolean;
|
|
505
|
+
}, {
|
|
506
|
+
name: string;
|
|
507
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
508
|
+
optional?: boolean;
|
|
509
|
+
}, {
|
|
510
|
+
name: string;
|
|
511
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
512
|
+
optional?: boolean;
|
|
513
|
+
}, {
|
|
514
|
+
name: string;
|
|
515
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
516
|
+
optional?: boolean;
|
|
517
|
+
}, {
|
|
518
|
+
name: string;
|
|
519
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
520
|
+
optional: true;
|
|
521
|
+
}] ? {
|
|
522
|
+
(arg1: never, arg2: never, arg3: never, arg4: never): Color;
|
|
523
|
+
(arg1: never, arg2: never, arg3: never, arg4: never, arg5: never): Color;
|
|
524
|
+
} : readonly [{
|
|
525
|
+
readonly name: "color1";
|
|
526
|
+
readonly type: typeof Color;
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: "color2";
|
|
529
|
+
readonly type: typeof Color;
|
|
530
|
+
}, {
|
|
531
|
+
readonly name: "weight";
|
|
532
|
+
readonly type: typeof Dimension;
|
|
533
|
+
readonly optional: true;
|
|
534
|
+
}] extends readonly [{
|
|
535
|
+
name: string;
|
|
536
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
537
|
+
optional?: boolean;
|
|
538
|
+
}, {
|
|
539
|
+
name: string;
|
|
540
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
541
|
+
optional?: boolean;
|
|
542
|
+
}, {
|
|
543
|
+
name: string;
|
|
544
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
545
|
+
optional?: boolean;
|
|
546
|
+
}, {
|
|
547
|
+
name: string;
|
|
548
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
549
|
+
optional?: boolean;
|
|
550
|
+
}, {
|
|
551
|
+
name: string;
|
|
552
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
553
|
+
optional?: boolean;
|
|
554
|
+
}] ? (arg1: never, arg2: never, arg3: never, arg4: never, arg5: never) => Color : 3 extends number ? 3 extends 0 | 1 | 2 | 3 | 4 | 5 ? {} : (...args: any[]) => Color : {}) & any>): Color;
|
|
555
|
+
apply(thisArg: any, args: Parameters<{
|
|
556
|
+
(...args: [Color | (Partial<{
|
|
557
|
+
readonly weight?: Dimension | undefined;
|
|
558
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
559
|
+
[x: string]: never;
|
|
560
|
+
readonly color1: Dimension | Color;
|
|
561
|
+
readonly color2: Dimension | Color;
|
|
562
|
+
weight: Dimension | Color;
|
|
563
|
+
}>, "weight">> & {
|
|
564
|
+
readonly weight?: Dimension | undefined;
|
|
565
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
566
|
+
[x: string]: never;
|
|
567
|
+
readonly color1: Dimension | Color;
|
|
568
|
+
readonly color2: Dimension | Color;
|
|
569
|
+
weight: Dimension | Color;
|
|
570
|
+
}>, "weight">), Color | (Partial<{
|
|
571
|
+
readonly weight?: Dimension | undefined;
|
|
572
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
573
|
+
[x: string]: never;
|
|
574
|
+
readonly color1: Dimension | Color;
|
|
575
|
+
readonly color2: Dimension | Color;
|
|
576
|
+
weight: Dimension | Color;
|
|
577
|
+
}>, "weight">> & {
|
|
578
|
+
weight?: Dimension | undefined;
|
|
579
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
580
|
+
[x: string]: never;
|
|
581
|
+
color2: Dimension | Color;
|
|
582
|
+
weight: Dimension | Color;
|
|
583
|
+
}>, "weight">), (Dimension | (Partial<{
|
|
584
|
+
readonly weight?: Dimension | undefined;
|
|
585
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
586
|
+
[x: string]: never;
|
|
587
|
+
readonly color1: Dimension | Color;
|
|
588
|
+
readonly color2: Dimension | Color;
|
|
589
|
+
weight: Dimension | Color;
|
|
590
|
+
}>, "weight">> & {
|
|
591
|
+
weight?: Dimension | undefined;
|
|
592
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
593
|
+
[x: string]: never;
|
|
594
|
+
}>, "weight">) | undefined)?]): Color;
|
|
595
|
+
(record: {
|
|
596
|
+
readonly weight?: Dimension | undefined;
|
|
597
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
598
|
+
[x: string]: never;
|
|
599
|
+
readonly color1: Dimension | Color;
|
|
600
|
+
readonly color2: Dimension | Color;
|
|
601
|
+
weight: Dimension | Color;
|
|
602
|
+
}>, "weight">): Color;
|
|
603
|
+
name: string;
|
|
604
|
+
params: readonly [{
|
|
605
|
+
readonly name: "color1";
|
|
606
|
+
readonly type: typeof Color;
|
|
607
|
+
}, {
|
|
608
|
+
readonly name: "color2";
|
|
609
|
+
readonly type: typeof Color;
|
|
610
|
+
}, {
|
|
611
|
+
readonly name: "weight";
|
|
612
|
+
readonly type: typeof Dimension;
|
|
613
|
+
readonly optional: true;
|
|
614
|
+
}];
|
|
615
|
+
} & (readonly [{
|
|
616
|
+
readonly name: "color1";
|
|
617
|
+
readonly type: typeof Color;
|
|
618
|
+
}, {
|
|
619
|
+
readonly name: "color2";
|
|
620
|
+
readonly type: typeof Color;
|
|
621
|
+
}, {
|
|
622
|
+
readonly name: "weight";
|
|
623
|
+
readonly type: typeof Dimension;
|
|
624
|
+
readonly optional: true;
|
|
625
|
+
}] extends readonly [{
|
|
626
|
+
name: string;
|
|
627
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
628
|
+
optional: true;
|
|
629
|
+
}] ? {
|
|
630
|
+
(): Color;
|
|
631
|
+
(arg1: never): Color;
|
|
632
|
+
} : readonly [{
|
|
633
|
+
readonly name: "color1";
|
|
634
|
+
readonly type: typeof Color;
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "color2";
|
|
637
|
+
readonly type: typeof Color;
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "weight";
|
|
640
|
+
readonly type: typeof Dimension;
|
|
641
|
+
readonly optional: true;
|
|
642
|
+
}] extends readonly [{
|
|
643
|
+
name: string;
|
|
644
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
645
|
+
optional?: boolean;
|
|
646
|
+
}] ? (arg1: never) => Color : readonly [{
|
|
647
|
+
readonly name: "color1";
|
|
648
|
+
readonly type: typeof Color;
|
|
649
|
+
}, {
|
|
650
|
+
readonly name: "color2";
|
|
651
|
+
readonly type: typeof Color;
|
|
652
|
+
}, {
|
|
653
|
+
readonly name: "weight";
|
|
654
|
+
readonly type: typeof Dimension;
|
|
655
|
+
readonly optional: true;
|
|
656
|
+
}] extends readonly [{
|
|
657
|
+
name: string;
|
|
658
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
659
|
+
optional: true;
|
|
660
|
+
}, {
|
|
661
|
+
name: string;
|
|
662
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
663
|
+
optional: true;
|
|
664
|
+
}] ? {
|
|
665
|
+
(): Color;
|
|
666
|
+
(arg1: never): Color;
|
|
667
|
+
(arg1: never, arg2: never): Color;
|
|
668
|
+
} : readonly [{
|
|
669
|
+
readonly name: "color1";
|
|
670
|
+
readonly type: typeof Color;
|
|
671
|
+
}, {
|
|
672
|
+
readonly name: "color2";
|
|
673
|
+
readonly type: typeof Color;
|
|
674
|
+
}, {
|
|
675
|
+
readonly name: "weight";
|
|
676
|
+
readonly type: typeof Dimension;
|
|
677
|
+
readonly optional: true;
|
|
678
|
+
}] extends readonly [{
|
|
679
|
+
name: string;
|
|
680
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
681
|
+
optional?: boolean;
|
|
682
|
+
}, {
|
|
683
|
+
name: string;
|
|
684
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
685
|
+
optional: true;
|
|
686
|
+
}] ? {
|
|
687
|
+
(arg1: never): Color;
|
|
688
|
+
(arg1: never, arg2: never): Color;
|
|
689
|
+
} : readonly [{
|
|
690
|
+
readonly name: "color1";
|
|
691
|
+
readonly type: typeof Color;
|
|
692
|
+
}, {
|
|
693
|
+
readonly name: "color2";
|
|
694
|
+
readonly type: typeof Color;
|
|
695
|
+
}, {
|
|
696
|
+
readonly name: "weight";
|
|
697
|
+
readonly type: typeof Dimension;
|
|
698
|
+
readonly optional: true;
|
|
699
|
+
}] extends readonly [{
|
|
700
|
+
name: string;
|
|
701
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
702
|
+
optional?: boolean;
|
|
703
|
+
}, {
|
|
704
|
+
name: string;
|
|
705
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
706
|
+
optional?: boolean;
|
|
707
|
+
}] ? {
|
|
708
|
+
(arg1: never): Color;
|
|
709
|
+
(arg1: never, arg2: never): Color;
|
|
710
|
+
} : readonly [{
|
|
711
|
+
readonly name: "color1";
|
|
712
|
+
readonly type: typeof Color;
|
|
713
|
+
}, {
|
|
714
|
+
readonly name: "color2";
|
|
715
|
+
readonly type: typeof Color;
|
|
716
|
+
}, {
|
|
717
|
+
readonly name: "weight";
|
|
718
|
+
readonly type: typeof Dimension;
|
|
719
|
+
readonly optional: true;
|
|
720
|
+
}] extends readonly [{
|
|
721
|
+
name: string;
|
|
722
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
723
|
+
optional?: boolean;
|
|
724
|
+
}, {
|
|
725
|
+
name: string;
|
|
726
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
727
|
+
optional?: boolean;
|
|
728
|
+
}, {
|
|
729
|
+
name: string;
|
|
730
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
731
|
+
optional: true;
|
|
732
|
+
}] ? {
|
|
733
|
+
(arg1: Color | (Partial<{
|
|
734
|
+
readonly weight?: Dimension | undefined;
|
|
735
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
736
|
+
[x: string]: never;
|
|
737
|
+
readonly color1: Dimension | Color;
|
|
738
|
+
readonly color2: Dimension | Color;
|
|
739
|
+
weight: Dimension | Color;
|
|
740
|
+
}>, "weight">> & {
|
|
741
|
+
readonly weight?: Dimension | undefined;
|
|
742
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
743
|
+
[x: string]: never;
|
|
744
|
+
readonly color1: Dimension | Color;
|
|
745
|
+
readonly color2: Dimension | Color;
|
|
746
|
+
weight: Dimension | Color;
|
|
747
|
+
}>, "weight">), arg2: Color | (Partial<{
|
|
748
|
+
readonly weight?: Dimension | undefined;
|
|
749
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
750
|
+
[x: string]: never;
|
|
751
|
+
readonly color1: Dimension | Color;
|
|
752
|
+
readonly color2: Dimension | Color;
|
|
753
|
+
weight: Dimension | Color;
|
|
754
|
+
}>, "weight">> & {
|
|
755
|
+
weight?: Dimension | undefined;
|
|
756
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
757
|
+
[x: string]: never;
|
|
758
|
+
color2: Dimension | Color;
|
|
759
|
+
weight: Dimension | Color;
|
|
760
|
+
}>, "weight">)): Color;
|
|
761
|
+
(arg1: Color | (Partial<{
|
|
762
|
+
readonly weight?: Dimension | undefined;
|
|
763
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
764
|
+
[x: string]: never;
|
|
765
|
+
readonly color1: Dimension | Color;
|
|
766
|
+
readonly color2: Dimension | Color;
|
|
767
|
+
weight: Dimension | Color;
|
|
768
|
+
}>, "weight">> & {
|
|
769
|
+
readonly weight?: Dimension | undefined;
|
|
770
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
771
|
+
[x: string]: never;
|
|
772
|
+
readonly color1: Dimension | Color;
|
|
773
|
+
readonly color2: Dimension | Color;
|
|
774
|
+
weight: Dimension | Color;
|
|
775
|
+
}>, "weight">), arg2: Color | (Partial<{
|
|
776
|
+
readonly weight?: Dimension | undefined;
|
|
777
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
778
|
+
[x: string]: never;
|
|
779
|
+
readonly color1: Dimension | Color;
|
|
780
|
+
readonly color2: Dimension | Color;
|
|
781
|
+
weight: Dimension | Color;
|
|
782
|
+
}>, "weight">> & {
|
|
783
|
+
weight?: Dimension | undefined;
|
|
784
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
785
|
+
[x: string]: never;
|
|
786
|
+
color2: Dimension | Color;
|
|
787
|
+
weight: Dimension | Color;
|
|
788
|
+
}>, "weight">), arg3: Dimension | (Partial<{
|
|
789
|
+
readonly weight?: Dimension | undefined;
|
|
790
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
791
|
+
[x: string]: never;
|
|
792
|
+
readonly color1: Dimension | Color;
|
|
793
|
+
readonly color2: Dimension | Color;
|
|
794
|
+
weight: Dimension | Color;
|
|
795
|
+
}>, "weight">> & {
|
|
796
|
+
weight?: Dimension | undefined;
|
|
797
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
798
|
+
[x: string]: never;
|
|
799
|
+
}>, "weight">) | undefined): Color;
|
|
800
|
+
} : readonly [{
|
|
801
|
+
readonly name: "color1";
|
|
802
|
+
readonly type: typeof Color;
|
|
803
|
+
}, {
|
|
804
|
+
readonly name: "color2";
|
|
805
|
+
readonly type: typeof Color;
|
|
806
|
+
}, {
|
|
807
|
+
readonly name: "weight";
|
|
808
|
+
readonly type: typeof Dimension;
|
|
809
|
+
readonly optional: true;
|
|
810
|
+
}] extends readonly [{
|
|
811
|
+
name: string;
|
|
812
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
813
|
+
optional?: boolean;
|
|
814
|
+
}, {
|
|
815
|
+
name: string;
|
|
816
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
817
|
+
optional?: boolean;
|
|
818
|
+
}, {
|
|
819
|
+
name: string;
|
|
820
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
821
|
+
optional?: boolean;
|
|
822
|
+
}] ? (arg1: Color | (Partial<{
|
|
823
|
+
readonly weight?: Dimension | undefined;
|
|
824
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
825
|
+
[x: string]: never;
|
|
826
|
+
readonly color1: Dimension | Color;
|
|
827
|
+
readonly color2: Dimension | Color;
|
|
828
|
+
weight: Dimension | Color;
|
|
829
|
+
}>, "weight">> & {
|
|
830
|
+
readonly weight?: Dimension | undefined;
|
|
831
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
832
|
+
[x: string]: never;
|
|
833
|
+
readonly color1: Dimension | Color;
|
|
834
|
+
readonly color2: Dimension | Color;
|
|
835
|
+
weight: Dimension | Color;
|
|
836
|
+
}>, "weight">), arg2: Color | (Partial<{
|
|
837
|
+
readonly weight?: Dimension | undefined;
|
|
838
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
839
|
+
[x: string]: never;
|
|
840
|
+
readonly color1: Dimension | Color;
|
|
841
|
+
readonly color2: Dimension | Color;
|
|
842
|
+
weight: Dimension | Color;
|
|
843
|
+
}>, "weight">> & {
|
|
844
|
+
weight?: Dimension | undefined;
|
|
845
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
846
|
+
[x: string]: never;
|
|
847
|
+
color2: Dimension | Color;
|
|
848
|
+
weight: Dimension | Color;
|
|
849
|
+
}>, "weight">), arg3: Dimension | (Partial<{
|
|
850
|
+
readonly weight?: Dimension | undefined;
|
|
851
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
852
|
+
[x: string]: never;
|
|
853
|
+
readonly color1: Dimension | Color;
|
|
854
|
+
readonly color2: Dimension | Color;
|
|
855
|
+
weight: Dimension | Color;
|
|
856
|
+
}>, "weight">> & {
|
|
857
|
+
weight?: Dimension | undefined;
|
|
858
|
+
} & Omit<import("type-fest").OmitIndexSignature<{
|
|
859
|
+
[x: string]: never;
|
|
860
|
+
}>, "weight">) | undefined) => Color : readonly [{
|
|
861
|
+
readonly name: "color1";
|
|
862
|
+
readonly type: typeof Color;
|
|
863
|
+
}, {
|
|
864
|
+
readonly name: "color2";
|
|
865
|
+
readonly type: typeof Color;
|
|
866
|
+
}, {
|
|
867
|
+
readonly name: "weight";
|
|
868
|
+
readonly type: typeof Dimension;
|
|
869
|
+
readonly optional: true;
|
|
870
|
+
}] extends readonly [{
|
|
871
|
+
name: string;
|
|
872
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
873
|
+
optional?: boolean;
|
|
874
|
+
}, {
|
|
875
|
+
name: string;
|
|
876
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
877
|
+
optional?: boolean;
|
|
878
|
+
}, {
|
|
879
|
+
name: string;
|
|
880
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
881
|
+
optional?: boolean;
|
|
882
|
+
}, {
|
|
883
|
+
name: string;
|
|
884
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
885
|
+
optional: true;
|
|
886
|
+
}] ? {
|
|
887
|
+
(arg1: never, arg2: never, arg3: never): Color;
|
|
888
|
+
(arg1: never, arg2: never, arg3: never, arg4: never): Color;
|
|
889
|
+
} : readonly [{
|
|
890
|
+
readonly name: "color1";
|
|
891
|
+
readonly type: typeof Color;
|
|
892
|
+
}, {
|
|
893
|
+
readonly name: "color2";
|
|
894
|
+
readonly type: typeof Color;
|
|
895
|
+
}, {
|
|
896
|
+
readonly name: "weight";
|
|
897
|
+
readonly type: typeof Dimension;
|
|
898
|
+
readonly optional: true;
|
|
899
|
+
}] extends readonly [{
|
|
900
|
+
name: string;
|
|
901
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
902
|
+
optional?: boolean;
|
|
903
|
+
}, {
|
|
904
|
+
name: string;
|
|
905
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
906
|
+
optional?: boolean;
|
|
907
|
+
}, {
|
|
908
|
+
name: string;
|
|
909
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
910
|
+
optional?: boolean;
|
|
911
|
+
}, {
|
|
912
|
+
name: string;
|
|
913
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
914
|
+
optional?: boolean;
|
|
915
|
+
}] ? (arg1: never, arg2: never, arg3: never, arg4: never) => Color : readonly [{
|
|
916
|
+
readonly name: "color1";
|
|
917
|
+
readonly type: typeof Color;
|
|
918
|
+
}, {
|
|
919
|
+
readonly name: "color2";
|
|
920
|
+
readonly type: typeof Color;
|
|
921
|
+
}, {
|
|
922
|
+
readonly name: "weight";
|
|
923
|
+
readonly type: typeof Dimension;
|
|
924
|
+
readonly optional: true;
|
|
925
|
+
}] extends readonly [{
|
|
926
|
+
name: string;
|
|
927
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
928
|
+
optional?: boolean;
|
|
929
|
+
}, {
|
|
930
|
+
name: string;
|
|
931
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
932
|
+
optional?: boolean;
|
|
933
|
+
}, {
|
|
934
|
+
name: string;
|
|
935
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
936
|
+
optional?: boolean;
|
|
937
|
+
}, {
|
|
938
|
+
name: string;
|
|
939
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
940
|
+
optional?: boolean;
|
|
941
|
+
}, {
|
|
942
|
+
name: string;
|
|
943
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
944
|
+
optional: true;
|
|
945
|
+
}] ? {
|
|
946
|
+
(arg1: never, arg2: never, arg3: never, arg4: never): Color;
|
|
947
|
+
(arg1: never, arg2: never, arg3: never, arg4: never, arg5: never): Color;
|
|
948
|
+
} : readonly [{
|
|
949
|
+
readonly name: "color1";
|
|
950
|
+
readonly type: typeof Color;
|
|
951
|
+
}, {
|
|
952
|
+
readonly name: "color2";
|
|
953
|
+
readonly type: typeof Color;
|
|
954
|
+
}, {
|
|
955
|
+
readonly name: "weight";
|
|
956
|
+
readonly type: typeof Dimension;
|
|
957
|
+
readonly optional: true;
|
|
958
|
+
}] extends readonly [{
|
|
959
|
+
name: string;
|
|
960
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
961
|
+
optional?: boolean;
|
|
962
|
+
}, {
|
|
963
|
+
name: string;
|
|
964
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
965
|
+
optional?: boolean;
|
|
966
|
+
}, {
|
|
967
|
+
name: string;
|
|
968
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
969
|
+
optional?: boolean;
|
|
970
|
+
}, {
|
|
971
|
+
name: string;
|
|
972
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
973
|
+
optional?: boolean;
|
|
974
|
+
}, {
|
|
975
|
+
name: string;
|
|
976
|
+
type: import("@jesscss/core").ArgType | readonly import("@jesscss/core").ArgType[];
|
|
977
|
+
optional?: boolean;
|
|
978
|
+
}] ? (arg1: never, arg2: never, arg3: never, arg4: never, arg5: never) => Color : 3 extends number ? 3 extends 0 | 1 | 2 | 3 | 4 | 5 ? {} : (...args: any[]) => Color : {}) & any>): Color;
|
|
979
|
+
};
|
|
980
|
+
export default mix;
|