Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 7857ffa

Browse files
authored
Final Release (#4205)
2 parents 44d4af6 + 9b14c4c commit 7857ffa

File tree

29 files changed

+179
-175
lines changed

29 files changed

+179
-175
lines changed

.github/workflows/pizza.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@
55

66
> All notable changes to this project will be documented in this file
77

8+
## [2.64.1-beta.2](https://github.com/open-sauced/app/compare/v2.64.1-beta.1...v2.64.1-beta.2) (2024-10-31)
9+
10+
11+
### 🐛 Bug Fixes
12+
13+
* a11y fail click events have key events and no static element interactions ([#4169](https://github.com/open-sauced/app/issues/4169)) ([f86e76b](https://github.com/open-sauced/app/commit/f86e76bfe8e25d72f3cc538b77fc00919debfb6e))
14+
15+
## [2.64.1-beta.1](https://github.com/open-sauced/app/compare/v2.64.0...v2.64.1-beta.1) (2024-10-25)
16+
17+
18+
### 🐛 Bug Fixes
19+
20+
* eslint warning "anchor-is-valid" ([#4181](https://github.com/open-sauced/app/issues/4181)) ([5b67103](https://github.com/open-sauced/app/commit/5b67103d6f53d7d4f2d5b290c19cd7052ff0a34f))
21+
822
## [2.64.0](https://github.com/open-sauced/app/compare/v2.63.0...v2.64.0) (2024-10-22)
923

1024

CODEOWNERS

Lines changed: 76 additions & 77 deletions
Large diffs are not rendered by default.

components/atoms/PillSelector/pill-selector.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ const PillSelector: React.FC<PillSelectorProps> = ({
6363
<PillSelectorButton>
6464
{selected ? (
6565
<>
66-
<div onClick={toggleFilter}>
66+
<button onClick={toggleFilter}>
6767
{pillOptions.find((option) => option.toLowerCase().replaceAll(" ", "-") === selected)}
68-
</div>
68+
</button>
6969
<Icon IconImage={cancelIcon} onClick={handleCancelClick} />
7070
</>
7171
) : (
72-
<div onClick={toggleFilter}>Add Filter</div>
72+
<button onClick={toggleFilter}>Add Filter</button>
7373
)}
7474
</PillSelectorButton>
7575

components/atoms/Radio/radio.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ interface RadioProps {
1414

1515
const Radio = ({ className, withLabel, id, children, value, checked = false, onClick }: RadioProps): JSX.Element => {
1616
return (
17-
<div
17+
<button
1818
onClick={onClick}
1919
className={
2020
`${
2121
checked && "!bg-light-orange-3"
22-
} px-2 py-1.5 text-sm text-slate-600 group rounded-md hover:bg-light-orange-3 hover:text-slate-800 focus:outline-none focus-visible:border-orange-500 focus-visible:ring focus-visible:ring-orange-200 transition` +
22+
} w-full px-2 py-1.5 text-sm text-slate-600 group rounded-md hover:bg-light-orange-3 hover:text-slate-800 focus:outline-none focus-visible:border-orange-500 focus-visible:ring focus-visible:ring-orange-200 transition` +
2323
`${className}`
2424
}
2525
>
@@ -49,7 +49,7 @@ const Radio = ({ className, withLabel, id, children, value, checked = false, onC
4949
</span>
5050
)}
5151
</label>
52-
</div>
52+
</button>
5353
);
5454
};
5555

components/atoms/RadioCheck/radio-check.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ interface RadioCheckProps {
1212

1313
const RadioCheck = ({ className, id, children, value, checked = false, onClick }: RadioCheckProps): JSX.Element => {
1414
return (
15-
<div
15+
<button
1616
onClick={onClick}
1717
className={
18-
"px-2 py-1.5 text-sm text-black group rounded-md hover:bg-light-orange-3 hover:text-light-orange-9 hover:text-slate-800 focus:outline-none focus-visible:border-orange-500 focus-visible:ring focus-visible:ring-orange-200 transition" +
18+
"w-full px-2 py-1.5 text-sm text-black group rounded-md hover:bg-light-orange-3 hover:text-light-orange-9 hover:text-slate-800 focus:outline-none focus-visible:border-orange-500 focus-visible:ring focus-visible:ring-orange-200 transition" +
1919
`${className}`
2020
}
2121
>
@@ -36,7 +36,7 @@ const RadioCheck = ({ className, id, children, value, checked = false, onClick }
3636
)}
3737
<span className="ml-3 leading-none my-auto">{children}</span>
3838
</label>
39-
</div>
39+
</button>
4040
);
4141
};
4242

components/atoms/SVGIcon/svg-icon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface IconProps {
1111

1212
const SVGIcon: React.FC<IconProps> = ({ onClick, className, IconImage, size = 16 }) => {
1313
return (
14-
<div className={clsx(`inline-flex`, className)} onClick={onClick}>
14+
<button className={clsx(`inline-flex`, className)} onClick={onClick}>
1515
<svg>
1616
<use
1717
href={IconImage}
@@ -21,7 +21,7 @@ const SVGIcon: React.FC<IconProps> = ({ onClick, className, IconImage, size = 16
2121
style={{ stroke: "currentcolor", maxWidth: "100%", height: "auto" }}
2222
/>
2323
</svg>
24-
</div>
24+
</button>
2525
);
2626
};
2727

components/atoms/Search/search.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ const Search = ({
119119
<FaSearch className="text-light-slate-9" fontSize={16} onClick={handleOnSearch} />
120120
<input
121121
className="w-full pl-2 placeholder:text-sm focus:outline-none placeholder:text-slate-400 disabled:cursor-not-allowed"
122-
autoFocus={autoFocus}
123122
placeholder={placeholder}
124123
name={name}
125124
value={search}
@@ -141,7 +140,7 @@ const Search = ({
141140
<ScrollArea type="auto" className="h-60">
142141
{suggestionsLabel && suggestions.length > 0 ? <div className="pl-5 pt-4">{suggestionsLabel}</div> : null}
143142
{suggestions.map((suggestion, index) => (
144-
<div
143+
<button
145144
className={clsx(
146145
cursor === index && "_cursorActive bg-slate-100",
147146
"px-4 py-2 hover:bg-light-slate-2",
@@ -162,7 +161,7 @@ const Search = ({
162161
) : (
163162
suggestion.node
164163
)}
165-
</div>
164+
</button>
166165
))}
167166
</ScrollArea>
168167
</div>

components/atoms/TextInput/text-input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ const TextInput = ({
7777
{state === "valid" ? (
7878
<CheckCircleFillIcon className="ml-1 text-light-orange-9" size={12} />
7979
) : !!value ? (
80-
<span title="Clear input" className="flex items-center ml-1" onClick={handleResetInput}>
80+
<button title="Clear input" className="flex items-center ml-1" onClick={handleResetInput}>
8181
<XCircleFillIcon
8282
className={clsx(state === "invalid" && errorMsg ? "text-light-red-11" : "", "cursor-pointer")}
8383
size={12}
8484
/>
85-
</span>
85+
</button>
8686
) : (
8787
""
8888
)}

components/atoms/ToggleGroup/toggle-group.stories.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ AllowNone.args = {
2626
CustomItems.args = {
2727
children: [
2828
<div key={1}>
29-
Option 1 w\{" "}
30-
<a href="#" target="_blank">
31-
link
32-
</a>
29+
Option 1 w\ <span>span</span>
3330
</div>,
3431
<p key={2}>
3532
Option 2 w\ <strong>strong</strong>

0 commit comments

Comments
 (0)