diff --git a/components/doc/inputnumber/theming/tailwinddoc.js b/components/doc/inputnumber/theming/tailwinddoc.js index e88d8dc49a..962a9856f4 100644 --- a/components/doc/inputnumber/theming/tailwinddoc.js +++ b/components/doc/inputnumber/theming/tailwinddoc.js @@ -8,9 +8,11 @@ export function TailwindDoc(props) { const Tailwind = { inputnumber: { root: 'w-full inline-flex', - input: ({ props }) => ({ - className: classNames({ 'rounded-tr-none rounded-br-none': props.showButtons && props.buttonLayout == 'stacked' }) - }), + input: { + root: ({ props }) => ({ + className: classNames({ 'rounded-tr-none rounded-br-none': props.showButtons && props.buttonLayout == 'stacked' }) + }) + }, buttongroup: ({ props }) => ({ className: classNames({ 'flex flex-col': props.showButtons && props.buttonLayout == 'stacked' }) }), @@ -19,7 +21,6 @@ const Tailwind = { 'rounded-br-none rounded-bl-none rounded-bl-none !p-0 flex-1 w-[3rem]': props.showButtons && props.buttonLayout == 'stacked' }) }), - label: 'hidden', decrementbutton: ({ props }) => ({ className: classNames('flex !items-center !justify-center', { 'rounded-tr-none rounded-tl-none rounded-tl-none !p-0 flex-1 w-[3rem]': props.showButtons && props.buttonLayout == 'stacked' diff --git a/components/doc/speeddial/theming/tailwinddoc.js b/components/doc/speeddial/theming/tailwinddoc.js index e24ea57537..c372782072 100644 --- a/components/doc/speeddial/theming/tailwinddoc.js +++ b/components/doc/speeddial/theming/tailwinddoc.js @@ -9,9 +9,9 @@ const Tailwind = { speeddial: { root: 'absolute flex', button: { - root: ({ parent }) => ({ + root: ({ state }) => ({ className: classNames('w-16 !h-16 !rounded-full justify-center z-10', { - 'rotate-45': parent.state.visible + 'rotate-45': state.visible }) }), label: { diff --git a/components/lib/confirmdialog/confirmdialog.d.ts b/components/lib/confirmdialog/confirmdialog.d.ts index 438a26446a..39d8344e3d 100644 --- a/components/lib/confirmdialog/confirmdialog.d.ts +++ b/components/lib/confirmdialog/confirmdialog.d.ts @@ -8,6 +8,7 @@ * */ import * as React from 'react'; +import { CSSTransitionProps as ReactCSSTransitionProps } from 'react-transition-group/CSSTransition'; import { ButtonPassThroughOptions } from '../button/button'; import { ComponentHooks } from '../componentbase/componentbase'; import { DialogProps } from '../dialog'; @@ -88,7 +89,7 @@ export interface ConfirmDialogPassThroughOptions { /** * Used to control React Transition API. */ - transition?: OverlayPanelPassThroughTransitionType; + transition?: ConfirmDialogPassThroughTransitionType; } /** diff --git a/components/lib/passthrough/tailwind/index.js b/components/lib/passthrough/tailwind/index.js index 92edcf2c45..9a2c646a36 100644 --- a/components/lib/passthrough/tailwind/index.js +++ b/components/lib/passthrough/tailwind/index.js @@ -704,9 +704,9 @@ const Tailwind = { speeddial: { root: 'absolute flex', button: { - root: ({ parent }) => ({ + root: ({ state }) => ({ className: classNames('w-16 !h-16 !rounded-full justify-center z-10', { - 'rotate-45': parent.state.visible + 'rotate-45': state.visible }) }), label: { @@ -780,9 +780,11 @@ const Tailwind = { }, inputnumber: { root: 'w-full inline-flex', - input: ({ props }) => ({ - className: classNames({ 'rounded-tr-none rounded-br-none': props.showButtons && props.buttonLayout == 'stacked' }) - }), + input: { + root: ({ props }) => ({ + className: classNames({ 'rounded-tr-none rounded-br-none': props.showButtons && props.buttonLayout == 'stacked' }) + }) + }, buttongroup: ({ props }) => ({ className: classNames({ 'flex flex-col': props.showButtons && props.buttonLayout == 'stacked' }) }), @@ -791,7 +793,6 @@ const Tailwind = { 'rounded-br-none rounded-bl-none rounded-bl-none !p-0 flex-1 w-[3rem]': props.showButtons && props.buttonLayout == 'stacked' }) }), - label: 'hidden', decrementbutton: ({ props }) => ({ className: classNames('flex !items-center !justify-center', { 'rounded-tr-none rounded-tl-none rounded-tl-none !p-0 flex-1 w-[3rem]': props.showButtons && props.buttonLayout == 'stacked' diff --git a/components/lib/tooltip/tooltip.d.ts b/components/lib/tooltip/tooltip.d.ts index 066287feac..8514e92cfc 100644 --- a/components/lib/tooltip/tooltip.d.ts +++ b/components/lib/tooltip/tooltip.d.ts @@ -21,6 +21,7 @@ export declare type TooltipPassThroughType = PassThroughType