345 Commits

Author SHA1 Message Date
4d33e78454 fix: fix errors with biomejs 2024-06-29 22:33:52 +09:00
8e9b178f5e fix: fix errors with biomejs 2024-06-29 22:28:58 +09:00
6ed20835f6 ci: change lint script to run biomejs 2024-06-29 22:05:09 +09:00
65a6597a8e ci: replace eslint and prettier to biomejs and lefthook 2024-06-29 22:02:56 +09:00
8e6aa36dab docs: improve comment of className builder of vcn 2024-06-29 21:53:43 +09:00
a47e9b8427 feat: add dynamic className parameter in vcn 2024-06-29 21:53:11 +09:00
f4f2f2b820 refactor: reduce code implementation complexity using transformer 2024-06-29 21:52:36 +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
3b88ad4e51 fix: fix import alias resolve in vite config 2024-06-22 07:41:22 +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
a1e7baa6c4 feat: update docs to ignore all src except core 2024-06-22 07:26:07 +09:00
a5aa709656 fix(toast): add export 2024-06-15 04:30:14 +09:00
9709f0e381 fix(react): temporarily remove app import 2024-06-15 01:48:28 +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
395c2f8ed1 fix: use any instead of unknown for AnyPropBeforeResolve
TypeScript throws error in component's resolve usage about index signature.
2024-06-14 23:49:11 +09:00
1f1ca76b6d fix: make @pswui-lib references library index 2024-06-14 23:47:46 +09:00
139d02eb9b feat(react-lib): add index.ts file
This commit creates a new index.ts file in the react/lib package. It exports from 'vcn' and 'Slot' modules, optimizing the package for component and slot usage.
2024-06-14 23:29:06 +09:00
c201df67ce style(react): remove unnecessary linebreaks 2024-06-14 23:27:06 +09:00
27fcddcc1f refactor(react): add lib directory instead of lib.tsx file 2024-06-14 23:26:40 +09:00
0f8c999de7 feat(react): add esModuleInterop in tsconfig.json 2024-06-14 23:26:18 +09:00
47cfd907b9 refactor(react): split library file to vcn and Slot 2024-06-14 23:25:56 +09:00
6263a99b9a fix: remove any in library 2024-06-14 23:17:42 +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
5254a49ebe fix: safely ignore unused variables starting with underscore 2024-06-14 22:54:06 +09:00
Shinwoo PARK
447b2249c8 refactor: remove useless dependencies for old docs 2024-06-13 19:34:05 +00:00
Shinwoo PARK
8eb378b1cc refactor: remove 404.html 2024-06-13 19:29:16 +00:00
Shinwoo PARK
643e607eb4 refactor: delete docs & make it dev environment 2024-06-13 19:28:32 +00:00
Shinwoo PARK
fc5c5ba4f5 refactor: moved registry file to the root 2024-06-13 19:27:58 +00:00
8de1a433c1 feat(Tooltip): add "status" prop
The tooltip component now includes a new "status" property. This property determines the color of the tooltip, with options including "normal", "error", "success" and "warning".
2024-06-11 21:00:17 +09:00
5dd74e4b3f feat(react): add Tooltip to App.tsx
This commit includes the addition of the Tooltip component to the App.tsx in the react package. With this feature, application elements now display messages based on their status (success or error) upon interaction, enhancing the user experience. Additionally, a copy-to-clipboard functionality has been implemented.
2024-06-11 20:58:45 +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
5db9be1eb3 feat(react): update Tooltip properties in docs
Add two new properties, 'controlled' and 'opened', to the Tooltip documentation in the React package. The 'controlled' property blocks the tooltip from being triggered by hover state, while the 'opened' property forces the tooltip to stay open.
2024-06-11 20:15:58 +09:00
90960ff800 feat: add Controlled tooltip example
Added a new example, 'Controlled', for the Tooltip component in the documentation. The 'Controlled' example demonstrates how to use tooltip with controlled states. The change includes the update of examples index and documentation MDX page.
2024-06-11 20:14:05 +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