134 Commits

Author SHA1 Message Date
ce8dc422a4 fix(popover): add displayName 2024-07-12 01:37:31 +09:00
952e235fda fix(label): add displayName 2024-07-12 01:37:20 +09:00
0916c483d4 fix(input): add displayName 2024-07-12 01:35:27 +09:00
321b47ab3f fix(drawer): apply ServerSideDocumentFallback 2024-07-12 01:34:21 +09:00
985a2b5297 fix(drawer): add displayName 2024-07-12 01:28:51 +09:00
e9d9bef4bf fix(checkbox): add displayName 2024-07-12 01:27:07 +09:00
232c832b25 fix(button): add displayName 2024-07-12 01:26:57 +09:00
da628710a4 feat(dialog): apply ServerSideDocumentFallback 2024-07-12 01:11:56 +09:00
78ea14c568 fix(dialog): add missing displayName on ref forwarded components 2024-07-12 01:01:38 +09:00
46430bec41 feat(dialog): add dialog controller 2024-07-12 00:56:36 +09:00
0e73321c3a fix: move transition duration of DrawerContent wrapper to outside 2024-07-04 18:17:26 +09:00
9573fd1e1a fix: add type in Button 2024-07-04 14:18:33 +09:00
7aa0618ae3 feat(Popover): add controlled in PopoverContext to disable outside click on controlled 2024-06-30 22:48:52 +09:00
c52a8843e8 feat(Popover): make opened prop update internal opened state in realtime 2024-06-30 22:44:14 +09:00
c1289b63ea fix(Popover): add pointer-events class on opened condition 2024-06-30 14:10:09 +09:00
113366d27c feat: add popover detailed position props 2024-06-30 14:09:01 +09:00
8e9b178f5e fix: fix errors with biomejs 2024-06-29 22:28:58 +09:00
fd7317e597 feat: add disabled color 2024-06-28 12:08:01 +09:00
180cae69af fix: add cursor-pointer in button to change cursor to pointer 2024-06-28 11:53:53 +09:00
5c12c00cec fix: add stopPropagation in DialogContent onClick
To prevent triggering closeOnClick on click of inner content.
2024-06-27 13:24:10 +09:00
21a2bfc3d0 feat: add additional layer to make dialog scrollable when overflowed 2024-06-27 13:22:52 +09:00
d9d6d033f9 fix: rename DialogContent interface to DialogContentProps 2024-06-27 13:14:57 +09:00
5debb80330 fix: add touch-none in drawerOverlay to prevent outside scrolling 2024-06-22 08:00:10 +09:00
ffba99a229 fix: remove touch-none to support touch scrolling in mobile devices 2024-06-22 07:41:06 +09:00
d930c44bb0 fix: add overflow-auto to support native scrolling 2024-06-22 07:40:50 +09:00
a5aa709656 fix(toast): add export 2024-06-15 04:30:14 +09:00
7dd3bf7d9e fix: split component file 2024-06-15 01:25:00 +09:00
6c35e54875 fix: split component file 2024-06-15 00:03:07 +09:00
22ab752b75 fix: split component file 2024-06-14 23:59:50 +09:00
2a53a2d3e9 fix: add value to data-toast-root 2024-06-14 23:52:34 +09:00
89950524f4 fix: fix problem with ref element type 2024-06-14 23:51:41 +09:00
c46163f525 fix: solve eslint errors 2024-06-14 23:08:23 +09:00
d72fd9cd91 fix: solve eslint errors 2024-06-14 23:08:06 +09:00
482603c378 fix: use MouseEvent instead of any 2024-06-14 23:05:36 +09:00
ebfcd60594 fix: solve react-hooks/exhaustive-deps warning 2024-06-14 23:04:10 +09:00
e15fe48ec8 fix: use asChild in drawer components 2024-06-14 22:54:32 +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
300c7fc8c3 docs(Tooltip): add delay option examples
Three new delay options have been added for the Tooltip component: NoDelay, EarlyDelay, and LateDelay. These options have also been incorporated into the component's documentation for better understanding.
2024-06-11 19:24:08 +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
ffe49ff90f fix: ensure delta value is absolute in Drawer component
The fix ensures that the calculation of the 'movement' value in the Drawer component doesn't result in a negative number. The division by 'dragState.delta' is now divided by the absolute value to prevent faulty calculations.
2024-06-05 19:16:42 +09:00
0c67ee5c62 fix: add WebkitBackdropFilter to fi x backdrop not working in safari 2024-06-04 11:35:57 +09:00
c7be14429b feat: add offset in PopoverContent 2024-06-03 23:21:05 +09:00
21fadb8c10 feat: add child w-full in PopoverContent 2024-06-03 23:16:46 +09:00
fc4e11f5f9 fix: make Tab return null instead of using hidden class 2024-06-03 22:08:42 +09:00