Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: colors #168

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,36 @@

### Patch Changes

- c30296d: - **fix**: make sure imports from `core`, `farcaster` and `xmtp` work.
- **fix**: make sure imports from `core`, `farcaster` and `xmtp` work. c30296d

## 0.8.1

### Patch Changes

- 272082b: - **feat**: Added `getXmtpFrameMessage` and `isXmtpFrameRequest` so that Frames can receive interactions from apps outside of Farcaster, such as from XMTP conversations. By @neekolas #123
- **feat**: Added `getXmtpFrameMessage` and `isXmtpFrameRequest` so that Frames can receive interactions from apps outside of Farcaster, such as from XMTP conversations. By @neekolas #123 272082b

## 0.8.0

### Minor Changes

- ee72476: - **feat**: `getFrameMessage` can now handle mock frame messages. When `allowFramegear` is passed as an option (defaults to `false`), it will skip validating which facilitates testing locally running apps with future releases of `framegear`. By @cnasc #149
- **docs**: polish README.md and site. By @zizzamia #144
- **feat**: `getFrameMessage` can now handle mock frame messages. When `allowFramegear` is passed as an option (defaults to `false`), it will skip validating which facilitates testing locally running apps with future releases of `framegear`. By @cnasc #149 ee72476

## 0.7.0

### Minor Changes

- 26f6fd5: - **feat**: Updated `FrameMetadataType` to support `target` for button `post` and `post_redirect` actions. By @HashWarlock @zizzamia #130 #136
- **feat**: Updated `FrameMetadataType` to support `target` for button `post` and `post_redirect` actions. By @HashWarlock @zizzamia #130 #136 26f6fd5

Note:
In this release we update the `FrameMetadataType` so that it supports the latest [Handling Clicks](https://docs.farcaster.xyz/reference/frames/spec#handling-clicks) Frames specification.
Note:
In this release we update the `FrameMetadataType` so that it supports the latest [Handling Clicks](https://docs.farcaster.xyz/reference/frames/spec#handling-clicks) Frames specification.

If the button clicked is a `post` or `post_redirect`, apps must:
If the button clicked is a `post` or `post_redirect`, apps must:

1. Construct a Frame Signature Packet.
2. POST the packet to `fc:frame:button:$idx:target` if present
3. POST the packet to `fc:frame:post_url if target` was not present.
4. POST the packet to or the frame's embed URL if neither target nor action were present.
5. Wait at least 5 seconds for a response from the frame server.
1. Construct a Frame Signature Packet.
2. POST the packet to `fc:frame:button:$idx:target` if present
3. POST the packet to `fc:frame:post_url if target` was not present.
4. POST the packet to or the frame's embed URL if neither target nor action were present.
5. Wait at least 5 seconds for a response from the frame server.

## 0.6.2

Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,13 @@ Check out the following places for more OnchainKit-related content:

## Authors

- [@zizzamia](https://github.com/zizzamia.png) ([X](https://twitter.com/Zizzamia))
- [@cnasc](https://github.com/cnasc.png) ([warpcast](https://warpcast.com/cnasc))
- [@alvaroraminelli](https://github.com/alvaroraminelli.png) ([X](https://twitter.com/alvaroraminelli))
- [@robpolak](https://github.com/robpolak.png) ([X](https://twitter.com/0xr0b_eth))
- [@taycaldwell](https://github.com/taycaldwell.png) ([X](https://twitter.com/taycaldwell_))
- [@wespickett](https://github.com/wespickett.png) ([X](https://twitter.com/wespickett))
- [@zizzamia](https://github.com/zizzamia) ([X](https://twitter.com/Zizzamia))
- [@cnasc](https://github.com/cnasc) ([warpcast](https://warpcast.com/cnasc))
- [@alvaroraminelli](https://github.com/alvaroraminelli) ([X](https://twitter.com/alvaroraminelli))
- [@robpolak](https://github.com/robpolak) ([X](https://twitter.com/0xr0b_eth))
- [@taycaldwell](https://github.com/taycaldwell) ([X](https://twitter.com/taycaldwell_))
- [@wespickett](https://github.com/wespickett) ([X](https://twitter.com/wespickett))
- [@mochikuan](https://github.com/mochikuan) ([X](https://twitter.com/mochikuan))

## License

Expand Down
19 changes: 14 additions & 5 deletions site/docs/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ import { HomePage } from 'vocs/components';
<div className="max-w-[1120px] mx-auto vp-doc relative px-[24px] mb-[96px] mt-[32px] md:px-0 md:mb-[64px]">
<div className="pt-[48px] max-sm:pt-0">
<div className="max-sm:px-0 flex justify-between z-0 max-md:justify-center">
<div className="space-y-8 max-w-[500px] flex flex-col items-start max-md:items-center">
<div className="space-y-8 max-w-[380px] flex flex-col items-start max-md:items-center">
<h1 className="text-center text-6xl font-medium no-underline">OnchainKit</h1>
<div className="font-regular text-[21px] max-sm:text-[18px] text-[#919193] max-md:text-center">
A collection of <span className="text-black dark:text-white">lightweight</span>,
<span className="text-black dark:text-white">composable</span>,<br />
and <span className="text-black dark:text-white">type-safe</span> React components
along with TypeScript utilities to create top-tier onchain applications.
React <span className="text-black dark:text-white">components</span>
and TypeScript <span className="text-black dark:text-white">utilities</span>
for top-tier onchain apps.
</div>
<div className="flex justify-center space-x-2">
<HomePage.Button href="/getting-started" variant="accent">Get started</HomePage.Button>
Expand Down Expand Up @@ -108,6 +107,16 @@ Check out the following places for more OnchainKit-related content:
- Follow @zizzamia ([X](https://twitter.com/zizzamia), [Farcaster](https://warpcast.com/zizzamia)) for project updates
- Join the discussions on our [OnchainKit warpcast channel](https://warpcast.com/~/channel/onchainkit)

# Authors

- [@zizzamia](https://github.com/zizzamia) ([X](https://twitter.com/Zizzamia))
- [@cnasc](https://github.com/cnasc) ([warpcast](https://warpcast.com/cnasc))
- [@alvaroraminelli](https://github.com/alvaroraminelli) ([X](https://twitter.com/alvaroraminelli))
- [@robpolak](https://github.com/robpolak) ([X](https://twitter.com/0xr0b_eth))
- [@taycaldwell](https://github.com/taycaldwell) ([X](https://twitter.com/taycaldwell_))
- [@wespickett](https://github.com/wespickett) ([X](https://twitter.com/wespickett))
- [@mochikuan](https://github.com/mochikuan) ([X](https://twitter.com/mochikuan))

# License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/coinbase/onchainkit/blob/main/LICENSE.md) file for details.
Expand Down
4 changes: 2 additions & 2 deletions site/vocs.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export default defineConfig({
],
theme: {
accentColor: {
light: '#d76260d9',
dark: '#FF7C58',
light: '#FF5D2F',
dark: '#FF5D2F',
},
},
topNav: [
Expand Down
Loading