Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/primefaces/primereact
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jan 26, 2023
2 parents a550b56 + 6ce314f commit ab8bc91
Show file tree
Hide file tree
Showing 86 changed files with 6,788 additions and 5,718 deletions.
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,64 @@
# Changelog

## [9.0.0-beta.1](https://github.com/primefaces/primereact/tree/9.0.0-beta.1)

[Full Changelog](https://github.com/primefaces/primereact/compare/8.7.3...9.0.0-beta.1)

**Breaking Changes:**

- TypeScript: Improve definitions on all components [\#2734](https://github.com/primefaces/primereact/issues/2734)

**Implemented New Features and Enhancements:**

- Autocomplete: disable issue [\#3953](https://github.com/primefaces/primereact/issues/3953)
- Dropdown button icon [\#3952](https://github.com/primefaces/primereact/issues/3952)
- Dropdown: support `onClick` event to intercept the event propagation [\#3935](https://github.com/primefaces/primereact/issues/3935)
- ReCaptcha: Allow for custom URL [\#3921](https://github.com/primefaces/primereact/issues/3921)
- Sidebar: `dismissible` not working immediately while sidebar is visible [\#3811](https://github.com/primefaces/primereact/issues/3811)
- Inputs: expose focus\(\) method on all input components [\#3806](https://github.com/primefaces/primereact/issues/3806)
- FileUpload: Control internal files state [\#3750](https://github.com/primefaces/primereact/issues/3750)
- New Component: Gauge Chart\(s\) [\#2818](https://github.com/primefaces/primereact/issues/2818)
- Dropdown Item list responsive issue [\#2574](https://github.com/primefaces/primereact/issues/2574)
- New Component: Signature [\#2524](https://github.com/primefaces/primereact/issues/2524)
- DataTable/TreeTable: stricter generically typed API [\#2523](https://github.com/primefaces/primereact/issues/2523)
- TreeTable: accessibility improvements for keyboard navigation [\#2153](https://github.com/primefaces/primereact/issues/2153)
- DataTable features in PickList lists [\#1374](https://github.com/primefaces/primereact/issues/1374)
- Support quill 2.0 in Editor [\#502](https://github.com/primefaces/primereact/issues/502)

**Fixed bugs:**

- Calendar: Year incorrectly disabled in navigator view due to minDate [\#3967](https://github.com/primefaces/primereact/issues/3967)
- InputNumber : In Mobile mode value are getting trigger two times [\#3951](https://github.com/primefaces/primereact/issues/3951)
- DataTable: CellEdit Filtering and NOT\_EQUALS [\#3928](https://github.com/primefaces/primereact/issues/3928)
- Dialog: breakpoints not working in \<React.StrictMode\> [\#3922](https://github.com/primefaces/primereact/issues/3922)
- InputNumber: When using the InputNumber with the built in spinner buttons, "onValueChange" is called before "onChange". [\#3913](https://github.com/primefaces/primereact/issues/3913)
- Chips separator not working on mobile [\#3885](https://github.com/primefaces/primereact/issues/3885)
- DataTable: Global search won't reset when the field is empty on react 17 [\#3819](https://github.com/primefaces/primereact/issues/3819)
- DataTable: RowReorder fails in case of pagination on page other than first & last [\#3817](https://github.com/primefaces/primereact/issues/3817)
- DataTable: 'virtualScroll' + selection [\#3804](https://github.com/primefaces/primereact/issues/3804)
- DataTable: Error when 'virtualScrollerOptions.showLoader' + 'dataKey' are enabled [\#3803](https://github.com/primefaces/primereact/issues/3803)
- DataTable: Virtual Scroll with Loading template + frozen columns [\#3800](https://github.com/primefaces/primereact/issues/3800)
- TreeTable: Error in resize mode expand [\#3796](https://github.com/primefaces/primereact/issues/3796)
- File Upload: itemTemplate missing props [\#3792](https://github.com/primefaces/primereact/issues/3792)
- SelectButton: Submit with React Hook Form [\#3790](https://github.com/primefaces/primereact/issues/3790)
- Calendar: Inline display issue if more than one month [\#3789](https://github.com/primefaces/primereact/issues/3789)
- DataTable: Edit Programmatic all row cannot read properties of undefined \(reading 'data'\) [\#3783](https://github.com/primefaces/primereact/issues/3783)
- ConfirmPopup: Using Tag, when popup is dismissed it stops working forever [\#3779](https://github.com/primefaces/primereact/issues/3779)
- Calendar: Console warning using ParseDateTime [\#3777](https://github.com/primefaces/primereact/issues/3777)
- Calendar: StepMinute should initialize value [\#3770](https://github.com/primefaces/primereact/issues/3770)
- ToggleButton: Received `false` for a non-boolean attribute `tabIndex` [\#3768](https://github.com/primefaces/primereact/issues/3768)
- Hook: useOverlayListener incorrectly passing target [\#3766](https://github.com/primefaces/primereact/issues/3766)
- SplitButton: className in menu api does not work [\#3757](https://github.com/primefaces/primereact/issues/3757)
- Password: Eye icon problem in MS Edge and IE [\#3756](https://github.com/primefaces/primereact/issues/3756)
- Dialog: Unintended margins [\#3755](https://github.com/primefaces/primereact/issues/3755)
- DataTable: row reordering in lazy mode [\#3618](https://github.com/primefaces/primereact/issues/3618)
- AutoComplete: space between overlay panel and the component [\#3463](https://github.com/primefaces/primereact/issues/3463)
- InputStyle gets ignored within overlays bound to body [\#3428](https://github.com/primefaces/primereact/issues/3428)
- Datatable: Virtualscroll and frozenvalue \(frozen rows\) hide first rows [\#3361](https://github.com/primefaces/primereact/issues/3361)
- Dropdown: Incorrect flipFit detection when using filter [\#3203](https://github.com/primefaces/primereact/issues/3203)
- DataTable: Edit Programmatic all row cannot read properties of undefined \(reading 'data'\) [\#3013](https://github.com/primefaces/primereact/issues/3013)
- Menu: Popup menu positioning - appendTo [\#2980](https://github.com/primefaces/primereact/issues/2980)

## [8.7.3](https://github.com/primefaces/primereact/tree/8.7.3) (2022-12-05)

[Full Changelog](https://github.com/primefaces/primereact/compare/8.7.2...8.7.3)
Expand Down
4 changes: 1 addition & 3 deletions components/doc/common/docsections.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ export function DocSections({ docs }) {
const { id, label, component } = comp;
const Component = component;

return (
<Component id={id} key={label} label={label} level="2" />
);
return <Component id={id} key={label} label={label} level="2" />;
})}
</React.Fragment>
)}
Expand Down
125 changes: 88 additions & 37 deletions components/lib/tooltip/tooltipoptions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface TooltipEvent {
}

/**
* Defines valid options in TooltipOptions.
* Defines valid properties of TooltipOptions.
* @group Misc
*/
export interface TooltipOptions {
Expand Down Expand Up @@ -151,157 +151,208 @@ export interface TooltipOptions {
* @group Misc
*/

interface TooltipAttributes {
interface TooltipHTMLAttributes {
/**
* Content of the tooltip.
* **PrimeReact - TooltipHTMLAttributes**
*
* Content of the tooltip.*
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-tooltip'?: string | undefined;
/**
* When present, it specifies that the tooltip should be hidden.
* **PrimeReact - TooltipHTMLAttributes**
*
* When present, it specifies that the tooltip should be hidden.*
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-disabled'?: boolean | undefined;
/**
* Style class of the tooltip.
* **PrimeReact - TooltipHTMLAttributes**
*
* Style class of the tooltip.*
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-classname'?: string | undefined;
/**
* Position of the tooltip.
* **PrimeReact - TooltipHTMLAttributes**
*
* Position of the tooltip.*
* @defaultValue right
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-position'?: 'top' | 'bottom' | 'left' | 'right' | 'mouse' | undefined;
/**
* Defines which position on the tooltip being positioned to align with the target element.
* **PrimeReact - TooltipHTMLAttributes**
*
* Defines which position on the tooltip being positioned to align with the target element.*
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-my'?: string | undefined;
/**
* Defines which position on the target element to align the positioned tooltip.
* **PrimeReact - TooltipHTMLAttributes**
*
* Defines which position on the target element to align the positioned tooltip.*
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-at'?: string | undefined;
/**
* Event to show the tooltip.
* **PrimeReact - TooltipHTMLAttributes**
*
* Event to show the tooltip.*
* @defaultValue hover
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-event'?: 'hover' | 'focus' | 'both' | undefined;
/**
* Event to show the tooltip if the event property is empty.
* **PrimeReact - TooltipHTMLAttributes**
*
* Event to show the tooltip if the event property is empty.*
* @defaultValue mouseenter
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-showevent'?: string | undefined;
/**
* Event to hide the tooltip if the event property is empty.
* **PrimeReact - TooltipHTMLAttributes**
*
* Event to hide the tooltip if the event property is empty.*
* @defaultValue mouseleave
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-hideevent'?: string | undefined;
/**
* Whether the tooltip will follow the mouse.
* **PrimeReact - TooltipHTMLAttributes**
*
* Whether the tooltip will follow the mouse.*
* @defaultValue false
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-mousetrack'?: boolean | undefined;
/**
* Defines top position of the tooltip in relation to the mouse when the mouseTrack is enabled.
* **PrimeReact - TooltipHTMLAttributes**
*
* Defines top position of the tooltip in relation to the mouse when the mouseTrack is enabled.*
* @defaultValue 5
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-mousetracktop'?: number | undefined;
/**
* Defines left position of the tooltip in relation to the mouse when the mouseTrack is enabled.
* **PrimeReact - TooltipHTMLAttributes**
*
* Defines left position of the tooltip in relation to the mouse when the mouseTrack is enabled.*
* @defaultValue 5
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-mousetrackleft'?: number | undefined;
/**
* Delay to show the tooltip in milliseconds.
* **PrimeReact - TooltipHTMLAttributes**
*
* Delay to show the tooltip in milliseconds.*
* @defaultValue 0
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-showdelay'?: number | undefined;
/**
* Delay to update the tooltip in milliseconds.
* **PrimeReact - TooltipHTMLAttributes**
*
* Delay to update the tooltip in milliseconds.*
* @defaultValue 0
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-updatedelay'?: number | undefined;
/**
* Delay to hide the tooltip in milliseconds.
* **PrimeReact - TooltipHTMLAttributes**
*
* Delay to hide the tooltip in milliseconds.*
* @defaultValue 0
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-hidedelay'?: number | undefined;
/**
* Whether to hide tooltip when hovering over tooltip content.
* **PrimeReact - TooltipHTMLAttributes**
*
* Whether to hide tooltip when hovering over tooltip content.*
* @defaultValue true
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-autohide'?: boolean | undefined;
/**
* Whether to show tooltip for disabled elements.
* **PrimeReact - TooltipHTMLAttributes**
*
* Whether to show tooltip for disabled elements.*
* @defaultValue false
*
* ![PrimeReact](https://www.primefaces.org/primereact/images/logo-100.png)
* _
* ___
*
* _*This feature will be active when there is a PrimeReact {@link tooltip} component on the page._
*/
'data-pr-showondisabled'?: boolean | undefined;
}

declare module 'react' {
export interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T>, TooltipAttributes {}
export interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T>, TooltipHTMLAttributes {}
}
2 changes: 1 addition & 1 deletion docs/api/9.0.0-beta.1/assets/search.js

Large diffs are not rendered by default.

Loading

0 comments on commit ab8bc91

Please sign in to comment.