From 41f0fa42d79146311c10fe20c08c6b50ca419618 Mon Sep 17 00:00:00 2001 From: Marcin Janus Date: Tue, 10 Oct 2023 08:46:41 +0200 Subject: [PATCH] fix: media queires spaces --- src/mediaQueries.ts | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/src/mediaQueries.ts b/src/mediaQueries.ts index 43c9b8c8..7495a096 100644 --- a/src/mediaQueries.ts +++ b/src/mediaQueries.ts @@ -3,31 +3,67 @@ export type MediaQueries = // For :w `:w[${bigint}]` | `:w[,${bigint}]` | +`:w[, ${bigint}]` | `:w[${bigint},${bigint}]` | +`:w[${bigint}, ${bigint}]` | // For :h `:h[${bigint}]` | `:h[,${bigint}]` | +`:h[, ${bigint}]` | `:h[${bigint},${bigint}]` | +`:h[${bigint}, ${bigint}]` | // Combinations of :w and :h `:w[${bigint}]:h[${bigint}]` | `:w[${bigint},${bigint}]:h[${bigint}]` | +`:w[${bigint}, ${bigint}]:h[${bigint}]` | `:w[${bigint}]:h[${bigint},${bigint}]` | +`:w[${bigint}]:h[${bigint}, ${bigint}]` | `:w[${bigint},${bigint}]:h[${bigint},${bigint}]` | +`:w[${bigint}, ${bigint}]:h[${bigint},${bigint}]` | +`:w[${bigint},${bigint}]:h[${bigint}, ${bigint}]` | +`:w[${bigint}, ${bigint}]:h[${bigint}, ${bigint}]` | `:w[,${bigint}]:h[,${bigint}]` | +`:w[, ${bigint}]:h[,${bigint}]` | +`:w[,${bigint}]:h[, ${bigint}]` | +`:w[, ${bigint}]:h[, ${bigint}]` | `:w[,${bigint}]:h[${bigint}]` | +`:w[, ${bigint}]:h[${bigint}]` | `:w[${bigint}]:h[,${bigint}]` | +`:w[${bigint}]:h[, ${bigint}]` | `:w[,${bigint}]:h[${bigint},${bigint}]` | +`:w[, ${bigint}]:h[${bigint},${bigint}]` | +`:w[,${bigint}]:h[${bigint}, ${bigint}]` | +`:w[, ${bigint}]:h[${bigint}, ${bigint}]` | `:w[${bigint},${bigint}]:h[,${bigint}]` | +`:w[${bigint}, ${bigint}]:h[,${bigint}]` | +`:w[${bigint},${bigint}]:h[, ${bigint}]` | +`:w[${bigint}, ${bigint}]:h[, ${bigint}]` | // Combinations of :h and :w `:h[${bigint}]:w[${bigint}]` | `:h[${bigint},${bigint}]:w[${bigint}]` | +`:h[${bigint}, ${bigint}]:w[${bigint}]` | `:h[${bigint}]:w[${bigint},${bigint}]` | +`:h[${bigint}]:w[${bigint}, ${bigint}]` | `:h[${bigint},${bigint}]:w[${bigint},${bigint}]` | +`:h[${bigint}, ${bigint}]:w[${bigint},${bigint}]` | +`:h[${bigint},${bigint}]:w[${bigint}, ${bigint}]` | +`:h[${bigint}, ${bigint}]:w[${bigint}, ${bigint}]` | `:h[,${bigint}]:w[,${bigint}]` | +`:h[, ${bigint}]:w[,${bigint}]` | +`:h[,${bigint}]:w[, ${bigint}]` | +`:h[, ${bigint}]:w[, ${bigint}]` | `:h[,${bigint}]:w[${bigint}]` | +`:h[, ${bigint}]:w[${bigint}]` | `:h[${bigint}]:w[,${bigint}]` | +`:h[${bigint}]:w[, ${bigint}]` | `:h[,${bigint}]:w[${bigint},${bigint}]` | -`:h[${bigint},${bigint}]:w[,${bigint}]` +`:h[, ${bigint}]:w[${bigint},${bigint}]` | +`:h[,${bigint}]:w[${bigint}, ${bigint}]` | +`:h[, ${bigint}]:w[${bigint}, ${bigint}]` | +`:h[${bigint},${bigint}]:w[,${bigint}]` | +`:h[${bigint}, ${bigint}]:w[,${bigint}]` | +`:h[${bigint},${bigint}]:w[, ${bigint}]` | +`:h[${bigint}, ${bigint}]:w[, ${bigint}]`