daisyui 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/daisy_ui/tooltip.rb +2 -1
- data/lib/daisy_ui/updated_at.rb +1 -1
- data/lib/daisy_ui/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8372a79aabdd1c0a9d0c4aeb43c6b31d936e9dc3f1b88910ffc36096ee18abc
|
|
4
|
+
data.tar.gz: d81e3d626b9eedc22ea83460aa1516ef7741769d9979db6ac65f56b6d12ad051
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c282bc8ca3c715f0a3f867c004ef0e2baf5cfb7205c1108d91d0a57bd6c10c7316ffc848907778eee3af1aa9da58cf720050149914addcafd9006a0089b17124
|
|
7
|
+
data.tar.gz: 17dd67c0f8d552f8fc9d9213b5476fd08e3772ea74fc989db65eb183f628ee0324446b0087d69a73393add3faea8cc9742fc32dcdd78b30300c186fa71777429
|
data/CHANGELOG.md
CHANGED
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
- Range component: added range-vertical modifier for vertical orientation (DaisyUI 5.6)
|
|
32
32
|
- Tooltip component: added alignment modifiers (tooltip-start, tooltip-center, tooltip-end) and tooltip-content sub-component (DaisyUI 5.6)
|
|
33
33
|
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- Popover tooltips no longer clip arrows that extend beyond the tooltip card.
|
|
37
|
+
|
|
34
38
|
## [0.1.0] - 2024-08-02
|
|
35
39
|
|
|
36
40
|
- Initial release
|
data/lib/daisy_ui/tooltip.rb
CHANGED
|
@@ -8,7 +8,8 @@ module DaisyUI
|
|
|
8
8
|
|
|
9
9
|
PLACEMENTS = %i[top bottom left right].freeze
|
|
10
10
|
DEFAULT_STIMULUS_IDENTIFIER = "daisy-tooltip"
|
|
11
|
-
POPOVER_STYLE = "position:fixed;inset:auto;margin:0;border:0;opacity:1;transform:none;
|
|
11
|
+
POPOVER_STYLE = "position:fixed;inset:auto;margin:0;border:0;opacity:1;transform:none;overflow:visible;" \
|
|
12
|
+
"pointer-events:none;visibility:hidden"
|
|
12
13
|
ARROW_STYLE = "position:absolute;width:.625rem;height:.25rem;background:var(--tt-bg);" \
|
|
13
14
|
"clip-path:polygon(0 0,100% 0,50% 100%);pointer-events:none"
|
|
14
15
|
|
data/lib/daisy_ui/updated_at.rb
CHANGED
data/lib/daisy_ui/version.rb
CHANGED