Commit Graph
7 Commits
Author SHA1 Message Date
Gildas GarciaandIvan Vasilov 96d43099bb chore: refactor Button API so that it can be used a standard button (#46880)
## Problem

Our `<Button>` component breaks the default `button` contract by
redefining the `type` prop to set its variant (`primary`, `default`,
etc) instead of the button type (`submit`, `button`, etc).
This is confusing and forces to write more code when using it with
shadcn components that expect/inject the standard button props.

## Solution

- rename the `type` prop to `variant`
- rename the `htmlType` prop to `type`
- propagate the changes where necessary
- format code

## How to test

As this is just prop renaming, if it builds it's ok

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2026-06-16 23:59:58 +02:00
Ivan VasilovandJordi Enric 56de26fe22 chore: Migrate the monorepo to use Tailwind v4 (#45318)
This PR migrates the whole monorepo to use Tailwind v4:
- Removed `@tailwindcss/container-queries` plugin since it's included by
default in v4,
- Bump all instances of Tailwind to v4. Made minimal changes to the
shared config to remove non-supported features (`alpha` mentions),
- Migrate all apps to be compatible with v4 configs,
- Fix the `typography.css` import in 3 apps,
- Add missing rules which were included by default in v3,
- Run `pnpm dlx @tailwindcss/upgrade` on all apps, which renames a lot
of classes
- Rename all misnamed classes according to
https://tailwindcss.com/docs/upgrade-guide#renamed-utilities in all
apps.

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2026-04-30 10:53:24 +00:00
Ivan Vasilov ee8eae7309 chore: Clean the ui package from next imports (#44278)
This PR moves several components which rely on `next` out of the `ui`
package to the `ui-patterns` package.

`ui-patterns` package is intented to be imported with specific imports
so it's ok if there are components reliant on `next` in there.

The `SonnerToaster` component has removed its dependency by requiring a
prop for `theme`.
2026-03-30 10:58:37 +02:00
Alan Daniel 75857039f7 add blog url button support to features page. (#43767)
This pr adds a blog post button support to /features pages.

| Before | After |
|--------|--------|
| <img width="504" height="234" alt="Screenshot 2026-03-13 at 16 09 50"
src="https://github.com/user-attachments/assets/62672e22-2b6e-478a-8d56-a1ca7b4c83d1"
/> | <img width="450" height="253" alt="Screenshot 2026-03-13 at 16 08
44"
src="https://github.com/user-attachments/assets/d45550cc-47a2-457e-bb77-abb3add54073"
/> |
2026-03-13 17:04:55 -04:00
Danny WhiteandJoshen Lim 031b227165 studio(chore): badge component defrag (#40118)
* component clean up

* optically center

* docs and type size

* code badge variant

* sensible defaults

* fix product menu flex

* badge sweep

* new project badges

* logs

* compute badge

* studio badge sweep

* www sweep

* docs sweep

* clean up

* fixes

* cleanup

* fixes

* better docs

* fixes

* misc fixes

* consistency

* Minor fixes for issues i found

* simplify mt-0

* mt simplification

* remaining optical alignment

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-12-02 11:15:50 +11:00
Francesco Sansalvadore f6f834e416 feat: add status to features (#30382)
* first draft

* add stage to features

* finish features stages

* update correct feature stages

* add missing features

* add proper client libs icons

* keep tags lowercase
2024-12-02 22:05:37 +08:00
Francesco Sansalvadore 9a3d0992c3 www features section (#30072)
* init features page

* fix filtering

* seo boostg

* add features to sitemap

* update copywriting

* improve features descriptions

* more studio features

* moar featuress

* better back to features

* prev next feature nav

* clean

* improve page footer

* fixes

* stuff

* sync filters with query params on page load

* better mobile layout

* 16px mobile input fontsize

* add cover images or videos to features

* improve a11y

* update sitemap

* last changes

* update schema definitions
2024-10-24 17:38:51 +02:00