Skip to content

Commit

Permalink
fix: input when alwaysLTR is true and dir is rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaakher committed Aug 31, 2024
1 parent a26bfd9 commit 0acc7e7
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 4 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.129

### Patch Changes

- Updated dependencies
- @sikka/hawa@0.49.12

## 0.0.128

### 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.128",
"version": "0.0.129",
"private": true,
"scripts": {
"dev": "next dev -p 3001",
Expand Down
6 changes: 6 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sikka/hawa

## 0.49.12

### Patch Changes

- `Input`: fix spacing when `alwaysLTR` is presend in `ltr` direction in

## 0.49.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/elements/input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export const Input = forwardRef<HTMLInputElement, InputFieldProps>(
defaultInputStyle,
"focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0 dark:hawa-text-white",

props.alwaysLTR
props.alwaysLTR && props.dir === "rtl"
? {
"hawa-ps-9": props.endIcon,
"hawa-pe-9": props.startIcon,
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.49.11",
"version": "0.49.12",
"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.151

### Patch Changes

- Updated dependencies
- @sikka/hawa@0.49.12

## 0.26.150

### 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.150",
"version": "0.26.151",
"description": "Modern UI Kit made with Tailwind",
"author": {
"name": "Sikka Software",
Expand Down

0 comments on commit 0acc7e7

Please sign in to comment.