15 Commits

Author SHA1 Message Date
8e9b178f5e fix: fix errors with biomejs 2024-06-29 22:28:58 +09:00
ffb8504b09 feat(tooltip): enhance Tooltip with AsChild property
This update enhances the Tooltip component in the react/components package by adding the AsChild property. Now, users of the Tooltip component have flexibility to use it as a child of another component. A conditional logic is added to choose either Slot or "div" based on the asChild property. And rest of the properties are extracted into extractedRest for avoiding passing of asChild downstream.
2024-06-11 20:30:53 +09:00
a329eee279 feat(Tooltip): add status variants
Implemented different tooltip variants to handle different status messages. Variants for normal, error, success, and warning have been added. Now, tooltips can show status-specific color coding, improving their usability.
2024-06-11 20:24:43 +09:00
ca90f3355a feat(Tooltip): add controlled and opened states
This update adds 'controlled' and 'opened' states to the Tooltip component in the React library. These states provide more precise control over when the tooltip opens and facilitates integration with other components. The CSS classes for tooltip positioning have been updated to reflect these new states.
2024-06-11 20:13:51 +09:00
46ec2e2c52 refactor(Tooltip): update tooltip transition and delay properties
This commit updates the Tooltip component's transition and delay properties. The transition is now applied on transform, opacity, background color, text color, and border color. Additionally, the delay handling has been modified to use a CSS variable, improving flexibility and maintainability of code.
2024-06-11 19:52:21 +09:00
b28e5d1c8d feat(Tooltip): add delay variants
This change introduces new delay variants to Tooltip component. This feature allows adjusting the delay before the tooltip appears, ranging from no delay, early appearance, normal delay to a late appearance, enhancing usability according to different use-cases. The default delay is set to normal.
2024-06-11 19:23:29 +09:00
76ec211d81 refactor: update import statements in react components
Updated the import statements in multiple react components to use the new `@pswui-lib` package instead of the deprecated `@pswui-lib/shared@1.0.0`. This makes the code cleaner and easier
2024-06-11 17:51:26 +09:00
2deae4af79 refactor(components): update import statements
Updated the import statements in multiple component files to use the updated package name for shared resources. This change was necessary for import consistency and to ensure proper functioning of the components as per the new package name "@pswui-lib/shared@1.0.0".
2024-06-11 16:20:24 +09:00
4421adfe7d refactor(components): make shared version and update import in components 2024-06-11 12:56:55 +09:00
6f23de92e7 style: change border color to neutral 2024-05-26 20:12:55 +09:00
58e188f273 fix: add select in tooltipContent base 2024-05-26 17:40:18 +09:00
96d051a862 refactor: add separated tooltipContentColors before tooltipContent 2024-05-26 17:39:48 +09:00
5f98701427 refactor: rename things without $ 2024-05-26 17:24:46 +09:00
09bdb41160 feat: add error message in set method of context on outside of provider 2024-05-24 19:24:21 +09:00
98c853d73e feat: add tooltip 2024-05-21 12:43:05 +09:00