Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
e971475
feat: stabilize Button and Link components
sergiocarracedo Sep 10, 2025
23cf597
refactor: appendOutside
sergiocarracedo Sep 17, 2025
884d733
feat: buttonToggle animation
sergiocarracedo Sep 17, 2025
775b440
feat: buttonToggle docs
sergiocarracedo Sep 17, 2025
a17a807
chore: fix unused props
sergiocarracedo Sep 17, 2025
42bb8f9
Merge branch 'main' of github.com:factorialco/f0 into FCT-36292-stabi…
sergiocarracedo Sep 17, 2025
b788425
refactor: use action instad legacy ui/button
sergiocarracedo Sep 18, 2025
28de409
chore: fix tests
sergiocarracedo Sep 18, 2025
d437f21
chore: lint
sergiocarracedo Sep 18, 2025
08e41bb
Merge branch 'main' of github.com:factorialco/f0 into FCT-36292-stabi…
sergiocarracedo Sep 18, 2025
000a02b
chore: fix
sergiocarracedo Sep 18, 2025
83c1cfa
chore: fix imports
sergiocarracedo Sep 18, 2025
a165fc4
chore: button aria label
sergiocarracedo Sep 18, 2025
dc8304d
chore: button aria label
sergiocarracedo Sep 18, 2025
47b6a05
chore: fix tests
sergiocarracedo Sep 18, 2025
c8dd6b6
Merge branch 'main' of github.com:factorialco/f0 into FCT-36292-stabi…
sergiocarracedo Sep 18, 2025
1d37996
chore: merge main
sergiocarracedo Sep 18, 2025
7ad3012
chore: fix storybook test
sergiocarracedo Sep 18, 2025
8b8cf49
chore: fix navigation link
sergiocarracedo Sep 18, 2025
da521c4
chore: fix navigation link
sergiocarracedo Sep 18, 2025
6318fed
chore: datacollection settings file
sergiocarracedo Sep 18, 2025
0c675ba
chore: fix storybook play
sergiocarracedo Sep 19, 2025
e4ccc05
chore: fix button title
sergiocarracedo Sep 19, 2025
0627f66
chore: fix test
sergiocarracedo Sep 19, 2025
84ed89d
chore: merge main
sergiocarracedo Sep 25, 2025
e1fc561
chore: merge main
sergiocarracedo Sep 25, 2025
6a65c58
chore: remove acation exports
sergiocarracedo Sep 25, 2025
b4ffd83
chore: remove acation exports
sergiocarracedo Sep 25, 2025
bc91964
Merge branch 'main' of github.com:factorialco/f0 into FCT-36292-stabi…
sergiocarracedo Sep 25, 2025
a00f8fd
Merge branch 'main' of github.com:factorialco/f0 into FCT-36292-stabi…
sergiocarracedo Sep 25, 2025
92aa26b
Merge branch 'main' of github.com:factorialco/f0 into FCT-36292-stabi…
sergiocarracedo Sep 25, 2025
77377fc
chore: merge main
sergiocarracedo Sep 29, 2025
b56934f
chore: merge main
sergiocarracedo Sep 29, 2025
8f7f511
chore: merge main
sergiocarracedo Sep 30, 2025
7c02afc
chore: button allow ariaLabel prop
sergiocarracedo Sep 30, 2025
86f1c53
chore: merge main
sergiocarracedo Sep 30, 2025
50de3cb
chore: fix types
sergiocarracedo Sep 30, 2025
42d26f8
chore: a11y
sergiocarracedo Sep 30, 2025
bc44246
refactor: use Action componnet for f0link
sergiocarracedo Oct 1, 2025
7ef236e
chore: fix onclick type inference
sergiocarracedo Oct 1, 2025
b43334b
chore: merge main
sergiocarracedo Oct 1, 2025
f76d016
chore: fix dropdown button
sergiocarracedo Oct 1, 2025
2732056
chore: fix types
sergiocarracedo Oct 1, 2025
9838c66
chore: merge main
sergiocarracedo Oct 13, 2025
2ebfddd
chore: merge main
sergiocarracedo Oct 13, 2025
4ce277d
chore: disable a11y test in BasicCardView
sergiocarracedo Oct 13, 2025
c3844e1
Merge branch 'main' of github.com:factorialco/f0 into FCT-36292-stabi…
sergiocarracedo Oct 13, 2025
e959cfe
fix: inly icon button padding
sergiocarracedo Oct 14, 2025
633546c
chore: force role in action
sergiocarracedo Oct 14, 2025
96e67fc
chore: lint improvements
sergiocarracedo Oct 14, 2025
106d62e
chore: merge main
sergiocarracedo Oct 14, 2025
25c8367
chore: merge main
sergiocarracedo Oct 14, 2025
af2f548
feat: tooltip in buttons and links
sergiocarracedo Oct 15, 2025
22e08e6
chore: tooltip internal delay prop
sergiocarracedo Oct 15, 2025
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
1 change: 1 addition & 0 deletions packages/react/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const config: StorybookConfig = {
},
},
},
getAbsolutePath("@storybook/addon-designs"),
],
framework: {
name: getAbsolutePath("@storybook/react-vite"),
Expand Down
4 changes: 3 additions & 1 deletion packages/react/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export const F0 = (Story: StoryFn, { parameters }: StoryContext) => {
action("Link clicked")(event, ...args)
props?.onClick?.(event, ...args)
event.preventDefault()
if (props.href) setCurrentPath(props.href)
if (props.href) {
setCurrentPath(props.href)
}
}}
/>
),
Expand Down
4 changes: 2 additions & 2 deletions packages/react/docs/components/BareColor.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from "react"

import { F0Button } from "@/components/F0Button"
import { CopyIcon } from "lucide-react"
import { Button } from "../../src/components/Actions/Button"

type Props = {
name: string
Expand Down Expand Up @@ -30,7 +30,7 @@ export function BareColor({ name }: Props) {
</span>
</div>
<div className="invert-0 filter dark:invert">
<Button
<F0Button
onClick={copyToClipboard}
variant="ghost"
disabled={copied}
Expand Down
7 changes: 3 additions & 4 deletions packages/react/docs/components/ColorToken.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { useState } from "react"

import { F0Button } from "@/components/F0Button"
import { cn } from "@/lib/utils"
import { CopyIcon } from "lucide-react"
import { Button } from "../../src/components/Actions/Button"
import { cn } from "../../src/lib/utils"

type Props = {
name: string
description?: string
Expand All @@ -29,7 +28,7 @@ export function ColorToken({ name, description }: Props) {
<p className="text-sm text-f1-foreground-secondary">{description}</p>
</div>
<div className="invert-0 filter dark:invert">
<Button
<F0Button
onClick={copyToClipboard}
variant="ghost"
disabled={copied}
Expand Down
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"@size-limit/file": "^11.2.0",
"@size-limit/time": "^11.2.0",
"@storybook/addon-a11y": "^9.1.3",
"@storybook/addon-designs": "^10.0.2",
"@storybook/addon-docs": "^9.1.3",
"@storybook/addon-links": "^9.1.3",
"@storybook/addon-themes": "^9.1.3",
Expand Down
309 changes: 0 additions & 309 deletions packages/react/src/components/Actions/Button/index.mdx

This file was deleted.

Loading
Loading