Skip to content

Commit

Permalink
Merge pull request #362 from omnifed/361-feature-v070
Browse files Browse the repository at this point in the history
361 feature v070
  • Loading branch information
caseybaggz committed Aug 12, 2024
2 parents 5d5e48c + efabc19 commit e86fd39
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion configs/src/versions.mjs
Original file line number Diff line number Diff line change
@@ -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']
6 changes: 3 additions & 3 deletions docs/app/preset/side-nav.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand All @@ -41,7 +41,7 @@
"id": "2:d",
"label": "Animation",
"route": "/preset/animation",
"tag": "next",
"tag": "new",
"type": "route"
},
{
Expand Down
16 changes: 8 additions & 8 deletions docs/app/react/side-nav.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"id": "2:h",
"label": "Tabs",
"route": "/react/tabs",
"tag": "next",
"tag": "new",
"type": "route"
},
{
Expand Down Expand Up @@ -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"
},
{
Expand All @@ -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"
},
{
Expand All @@ -151,7 +151,7 @@
"id": "3:a",
"label": "useModal",
"route": "/react/use-modal",
"tag": "next",
"tag": "new",
"type": "route"
},
{
Expand Down Expand Up @@ -184,7 +184,7 @@
"id": "4:a",
"label": "trapFocus",
"route": "/react/trap-focus",
"tag": "next",
"tag": "new",
"type": "route"
}
]
5 changes: 4 additions & 1 deletion packages/panda-preset/src/tokens/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e86fd39

Please sign in to comment.