Skip to content

Commit

Permalink
fix: text & number input z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
lovrozagar committed Jul 6, 2024
1 parent 3256236 commit 3bfb519
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@renderui/core",
"version": "1.3.8",
"version": "1.3.9",
"private": false,
"description": "React UI library with highly modular and ready-out-of-the-box components",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/components/number-input/constants/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const DEFAULT_NUMBER_SPIN_BUTTON_ICON_CLASSNAME = 'pointer-events-none relative
const DEFAULT_NUMBER_INPUT_CONTAINER_CLASSNAME = 'render-ui-number-input-container'

const DEFAULT_NUMBER_INPUT_CLASSNAME =
'render-ui-number-input text-sm pl-3 pr-[44px] appearence-none text-mode-contrast bg-transparent outline-none text-elipsis overflow-hidden min-w-[0px] h-full w-full data-[disabled=true]:cursor-[inherit] data-[disabled=true]:pointer-events-none placeholder:text-mode-foreground/50'
'render-ui-number-input relative z-[1] text-sm pl-3 pr-[44px] appearence-none text-mode-contrast bg-transparent outline-none text-elipsis overflow-hidden min-w-[0px] h-full w-full data-[disabled=true]:cursor-[inherit] data-[disabled=true]:pointer-events-none placeholder:text-mode-foreground/50'

const DFEAULT_NUMBER_INPUT_SPIN_BUTTON_CONTAINER_CLASSNAME =
'render-ui-number-input-spin-button-container render-ui-number-input-increment absolute right-0 top-0 flex h-full flex-col border-l p-0'
Expand Down
2 changes: 1 addition & 1 deletion src/components/text-input/constants/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const TEXT_INPUT_CONTAINER_BASE_PADDING = 'pr-3'
const TEXT_INPUT_CONTAINER_ACTIONS_PADDING = 'pr-1.5'

const DEFAULT_TEXT_INPUT_CLASSNAME =
'render-ui-text_input text-elipsis h-full w-full min-w-[0px] pl-3 overflow-hidden bg-transparent text-sm text-mode-contrast outline-none data-[disabled=true]:cursor-[inherit] data-[disabled=true]:pointer-events-none placeholder:text-mode-foreground/50'
'render-ui-text_input relative z-[1] text-elipsis h-full w-full min-w-[0px] pl-3 overflow-hidden bg-transparent text-sm text-mode-contrast outline-none data-[disabled=true]:cursor-[inherit] data-[disabled=true]:pointer-events-none placeholder:text-mode-foreground/50'

const DEFAULT_TEXT_INPUT_PASSWORD_TOGGLE_CLASSNAME =
'render-ui-text_input-password-toggle relative z-[10] flex h-6 w-6 mr-2 shrink-0 items-center justify-center rounded-full ring-offset-mode-accent p-0 [&]:data-[focus-visible=true]:ring-[2px]'
Expand Down

0 comments on commit 3bfb519

Please sign in to comment.