Skip to content

Commit

Permalink
fix: minor fixes in Select and Radio
Browse files Browse the repository at this point in the history
SIKKA-7634[closed]
SIKKA-7635[closed]
  • Loading branch information
zaaakher committed Aug 7, 2024
1 parent d5146eb commit c8062d8
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 3 deletions.
7 changes: 7 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# hawa-docs

## 0.0.107

### Patch Changes

- Updated dependencies
- @sikka/hawa@0.45.1

## 0.0.106

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hawa-docs",
"version": "0.0.106",
"version": "0.0.107",
"private": true,
"scripts": {
"dev": "next dev -p 3001",
Expand Down
7 changes: 7 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @sikka/hawa

## 0.45.1

### Patch Changes

- `Select`: allow consumer to pass `value` prop
- `Radio`: reverse the options order when `direction` prop is RTL, while design is `tabs`

## 0.45.0

### Minor Changes
Expand Down
1 change: 1 addition & 0 deletions packages/components/elements/radio/Radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export const Radio = forwardRef<HTMLInputElement, RadioTypes>(
orientationStyle[orientation],
widthStyle[width],
tabsContainerClassName,
props.direction === "rtl" ? "hawa-flex-row-reverse" : "",
)}
>
{props.options?.map((opt, o) => {
Expand Down
1 change: 1 addition & 0 deletions packages/components/elements/select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ export const Select: FC<SelectTypes> = ({
options={props.options}
getOptionLabel={props.getOptionLabel}
defaultValue={props.defaultValue}
value={props.value}
placeholder={props.placeholder}
isDisabled={props.disabled}
isClearable={props.isClearable}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sikka/hawa",
"version": "0.45.0",
"version": "0.45.1",
"description": "Modern UI Kit made with Tailwind",
"author": {
"name": "Sikka Software",
Expand Down
7 changes: 7 additions & 0 deletions packages/storybook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# hawa-storybook

## 0.26.129

### Patch Changes

- Updated dependencies
- @sikka/hawa@0.45.1

## 0.26.128

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hawa-storybook",
"version": "0.26.128",
"version": "0.26.129",
"description": "Modern UI Kit made with Tailwind",
"author": {
"name": "Sikka Software",
Expand Down

0 comments on commit c8062d8

Please sign in to comment.