Skip to content

Commit

Permalink
chore: add changelog v0.47.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anubra266 committed Oct 19, 2024
1 parent 5324cb4 commit 02c914e
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1 deletion.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,43 @@ See the [Changesets](./.changeset) for the latest changes.

## [Unreleased]

## [0.47.0] - 2024-10-18

### Added

Add support for cursor token types. Useful for tokenizing cursor types for interactive components.

Here's an example of how to define a cursor token in your `panda.config.ts` file:

```ts
// panda.config.ts
export default defineConfig({
theme: {
extend: {
tokens: {
cursor: {
button: { value: 'pointer' },
checkbox: { value: 'default' },
},
},
},
},
})
```

Then you can use the cursor token in your styles or recipes.

```tsx
<button className={css({ cursor: 'button' })}>Click me</button>
```

This makes it easy to manage cursor styles across your application.

### Changed

Improve preflight css such that elements with `hidden=until-found` are visible. Previously, we always hide all elements
with the `hidden` attribute

## [0.46.1] - 2024-09-09

### Fixed
Expand Down
14 changes: 14 additions & 0 deletions website/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.DS_Store
node_modules
styled-system
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock

# Ignore panda errors cause that's what we're here for
/src/App.tsx
8 changes: 8 additions & 0 deletions website/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: ['plugin:@pandacss/recommended'],
ignorePatterns: ['styled-system', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
rules: {}
}
3 changes: 2 additions & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"prepare": "panda codegen",
"dev": "rimraf .next && next dev",
"build": "next build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"start": "next start"
},
"dependencies": {
Expand Down Expand Up @@ -41,4 +42,4 @@
"postcss": "8.4.47",
"prettier": "3.2.5"
}
}
}

0 comments on commit 02c914e

Please sign in to comment.