From 95b7e1d94301ef9e9b47afe7cd2891cac2b8c13e Mon Sep 17 00:00:00 2001 From: "@casey_baggz_omni" Date: Mon, 12 Aug 2024 09:19:13 -0500 Subject: [PATCH 1/3] chore: upgrade docs tags --- docs/app/preset/side-nav.json | 6 +++--- docs/app/react/side-nav.json | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/app/preset/side-nav.json b/docs/app/preset/side-nav.json index 88f7d64..340c14a 100644 --- a/docs/app/preset/side-nav.json +++ b/docs/app/preset/side-nav.json @@ -20,14 +20,14 @@ "id": "2:a", "label": "Theme", "route": "/preset/theme", - "tag": "next", + "tag": "new", "type": "route" }, { "id": "2:b", "label": "Colors", "route": "/preset/colors", - "tag": "next", + "tag": "new", "type": "route" }, { @@ -41,7 +41,7 @@ "id": "2:d", "label": "Animation", "route": "/preset/animation", - "tag": "next", + "tag": "new", "type": "route" }, { diff --git a/docs/app/react/side-nav.json b/docs/app/react/side-nav.json index 145f19b..53b7e94 100644 --- a/docs/app/react/side-nav.json +++ b/docs/app/react/side-nav.json @@ -69,7 +69,7 @@ "id": "2:h", "label": "Tabs", "route": "/react/tabs", - "tag": "next", + "tag": "new", "type": "route" }, { @@ -104,21 +104,21 @@ "id": "2:m", "label": "Confirm Modal", "route": "/react/confirm-modal", - "tag": "next", + "tag": "new", "type": "route" }, { "id": "2:n", "label": "Prompt Modal", "route": "/react/prompt-modal", - "tag": "next", + "tag": "new", "type": "route" }, { "id": "2:o", "label": "Modal", "route": "/react/modal", - "tag": "next", + "tag": "new", "type": "route" }, { @@ -132,14 +132,14 @@ "id": "2:q", "label": "Portal", "route": "/react/portal", - "tag": "next", + "tag": "new", "type": "route" }, { "id": "2:r", "label": "Feature Flags", "route": "/react/feature-flags", - "tag": "next", + "tag": "new", "type": "route" }, { @@ -151,7 +151,7 @@ "id": "3:a", "label": "useModal", "route": "/react/use-modal", - "tag": "next", + "tag": "new", "type": "route" }, { @@ -184,7 +184,7 @@ "id": "4:a", "label": "trapFocus", "route": "/react/trap-focus", - "tag": "next", + "tag": "new", "type": "route" } ] From 36378622046e8da549fa038e4aa5378052fdc259 Mon Sep 17 00:00:00 2001 From: "@casey_baggz_omni" Date: Mon, 12 Aug 2024 09:19:30 -0500 Subject: [PATCH 2/3] chore: up versions.mjs --- configs/src/versions.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/src/versions.mjs b/configs/src/versions.mjs index 4e2adf8..eeb4dcc 100644 --- a/configs/src/versions.mjs +++ b/configs/src/versions.mjs @@ -1,4 +1,4 @@ -export const version = '0.6.1' +export const version = '0.7.0' export const nextTag = 'next' export const packages = ['panda-preset', 'icons', 'react', 'styled-system'] From efabc19d6616cf2812940f38c588a6690247ea45 Mon Sep 17 00:00:00 2001 From: "@casey_baggz_omni" Date: Mon, 12 Aug 2024 09:21:39 -0500 Subject: [PATCH 3/3] chore(preset): fix JSR lint errors --- packages/panda-preset/src/tokens/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/panda-preset/src/tokens/index.ts b/packages/panda-preset/src/tokens/index.ts index 48c9791..d708442 100644 --- a/packages/panda-preset/src/tokens/index.ts +++ b/packages/panda-preset/src/tokens/index.ts @@ -43,7 +43,10 @@ export type PrimitiveCollection = // helpers -export function deepGet(obj: PrimitiveCollection, keys: string[]) { +export function deepGet( + obj: PrimitiveCollection, + keys: string[], +): PrimitiveCollection { return keys.reduce( (xs, x) => xs?.[x as keyof PrimitiveCollection] ?? null, obj,