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
6f0929a951
style: update label style
2024-06-03 21:19:48 +09:00
38782bda7e
fix: use id strategy to check duplication
2024-06-03 20:50:04 +09:00
86879b4456
feat: add toaster duplication detection process
2024-06-03 20:28:56 +09:00
05bf4a774c
fix: omit active in variant prop
2024-06-03 19:39:58 +09:00
ff5f9c72ec
fix: make movePercentage calculated from internalRef instead of e.target
2024-06-03 16:39:40 +09:00
b96c5883fb
fix: fix size of drawer content wrapper div
2024-06-03 16:28:39 +09:00
dbea2ce701
fix: make top drawer style correctly
2024-06-03 16:05:31 +09:00
719506c08a
fix: remove opened prop in DrawerOverlay
2024-06-03 16:05:10 +09:00
b09ae7caf6
feat: add layout components in Drawer
2024-06-03 15:30:22 +09:00
ea6d8971da
style: make toast border thiner
2024-06-03 14:52:01 +09:00
c3bfe665a8
fix: make toast animate reverse on mobile
2024-06-03 14:50:58 +09:00
b6a1555397
feat: add other props in Toaster
2024-06-03 14:46:48 +09:00
5947c0b95a
fix: prevent touch scroll in drawer
2024-06-03 14:31:27 +09:00
5ab51c94b3
fix: fix dialog footer mobile layout
2024-06-02 07:58:38 +09:00
9a76ddfaa2
feat: add disabled style in label
2024-06-02 03:24:02 +09:00
3e49b03129
fix: add link size in Button
2024-06-02 03:20:20 +09:00
2633c525c3
fix: make Button inherit currentColor
2024-06-02 03:18:48 +09:00
811be2f59b
feat: add touch handling
2024-06-02 01:27:41 +09:00
bd3892e314
feat: add control of movePercentage to add backdrop brightness
2024-06-02 01:15:30 +09:00
ad9dfb38f3
feat: add default to variantProps.position
2024-06-02 01:00:56 +09:00
91ccb82929
feat: add DrawerClose
2024-06-01 20:48:04 +09:00
92eeed2700
fix: make leaveWhileDragging toggled only on dragging
2024-06-01 20:40:44 +09:00
ce9ad634f0
feat: add drawer
2024-06-01 20:37:47 +09:00
b2cd9ba866
feat: add Popover
2024-06-01 08:54:57 +09:00
863e6388d6
fix: change button light hover color
2024-06-01 07:47:46 +09:00
09f915bead
feat: add disabled checked style in checkbox
2024-05-30 00:14:27 +09:00
347b475c99
feat: add Switch
2024-05-30 00:11:27 +09:00
d109879fd8
refactor: make checkbox checked style working with css instead of prop
2024-05-29 23:34:04 +09:00
8cff71542f
fix: remove unused tailwind peer in checkbox input
2024-05-29 23:24:00 +09:00
05d648d0b7
feat: add hover effect in checkbox
2024-05-29 23:13:13 +09:00
9e4e53ee51
feat: add size in checkbox
2024-05-29 23:11:09 +09:00
01817388c2
fix: remove unnecessary layer in checkbox
2024-05-29 22:59:41 +09:00
b2d417c49c
feat: add checkbox
2024-05-29 21:08:31 +09:00
bdb8e2488d
fix: make direction one variant
2024-05-29 20:59:35 +09:00
776429b6a9
style: improve visibility of toast border
2024-05-29 20:55:32 +09:00
6c25ae1d7b
style: make toast transition y 100%
2024-05-29 20:52:30 +09:00
f780ca1dd0
fix: use requestAnimationFrame instead of setTimeout to make sure toast is born
2024-05-29 20:52:14 +09:00
f4f931b0f4
fix: add timeout on born transition of toast to handle faster toast creation
2024-05-29 20:32:43 +09:00
f740866366
feat: add Label
2024-05-28 22:37:03 +09:00
8098effc09
refactor: use extracted & compressed instead of safe & unsafe
2024-05-28 22:21:57 +09:00
7fc2a64d29
refactor: use separately extracted props
2024-05-28 22:20:43 +09:00
dcbad53d39
refactor: extract asChild in otherProps of Button
2024-05-28 22:15:39 +09:00