spoko-design-system 1.34.4 → 1.34.6
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [1.34.6](https://github.com/polo-blue/sds/compare/v1.34.5...v1.34.6) (2026-03-17)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **ProductGallery:** use border-color instead of opacity for thumbnails ([1e4be46](https://github.com/polo-blue/sds/commit/1e4be4608c33969d8ab919d913bb352cccf3398a))
|
|
6
|
+
|
|
7
|
+
## [1.34.5](https://github.com/polo-blue/sds/compare/v1.34.4...v1.34.5) (2026-03-17)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ProductGallery:** dialog topbar as transparent overlay with hover reveal ([44eb728](https://github.com/polo-blue/sds/commit/44eb728330db7a588992e6de0eb80315b59a0535))
|
|
12
|
+
|
|
1
13
|
## [1.34.4](https://github.com/polo-blue/sds/compare/v1.34.3...v1.34.4) (2026-03-17)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -217,13 +217,13 @@ const total = images.length;
|
|
|
217
217
|
data-gallery-dialog
|
|
218
218
|
aria-label="Full-screen image gallery"
|
|
219
219
|
>
|
|
220
|
-
<div class="flex items-center justify-between px-4 py-3
|
|
221
|
-
<span class="text-sm text-
|
|
220
|
+
<div class="pg-dialog-topbar absolute top-0 left-0 right-0 z-10 flex items-center justify-between px-4 py-3">
|
|
221
|
+
<span class="text-sm text-white/70" data-dialog-counter aria-live="polite" aria-atomic="true">
|
|
222
222
|
<span data-dialog-current>1</span>/{total}
|
|
223
223
|
</span>
|
|
224
224
|
<button
|
|
225
225
|
type="button"
|
|
226
|
-
class="flex items-center justify-center w-10 h-10 border-none bg-transparent text-
|
|
226
|
+
class="flex items-center justify-center w-10 h-10 border-none bg-transparent text-white/70 cursor-pointer hover:text-white transition-colors"
|
|
227
227
|
data-dialog-close
|
|
228
228
|
aria-label="Close gallery"
|
|
229
229
|
>
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
/* ── Thumbnail active state ── */
|
|
63
63
|
|
|
64
64
|
.pg-thumb {
|
|
65
|
-
@apply
|
|
65
|
+
@apply transition-colors duration-200;
|
|
66
|
+
border-color: transparent;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
.pg-thumb:hover {
|
|
69
|
-
|
|
70
|
+
border-color: var(--clr-primary-300, #3572e3);
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
.pg-thumb.is-active {
|
|
73
|
-
@apply opacity-100;
|
|
74
74
|
border-color: var(--clr-primary-400, #0099da);
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -107,16 +107,28 @@
|
|
|
107
107
|
/* ── Dialog thumbnail active state ── */
|
|
108
108
|
|
|
109
109
|
.pg-dialog-thumb {
|
|
110
|
-
@apply transition-
|
|
110
|
+
@apply transition-colors duration-200;
|
|
111
111
|
border-color: transparent;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.pg-dialog-thumb:hover {
|
|
115
|
-
border-color:
|
|
115
|
+
border-color: var(--clr-primary-300, #3572e3);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.pg-dialog-thumb.is-active {
|
|
119
|
-
border-color: #
|
|
119
|
+
border-color: var(--clr-primary-400, #0099da);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* ── Dialog top bar hover reveal ── */
|
|
123
|
+
|
|
124
|
+
.pg-dialog-topbar {
|
|
125
|
+
opacity: 0;
|
|
126
|
+
transition: opacity 0.2s;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.pg-dialog:hover .pg-dialog-topbar,
|
|
130
|
+
.pg-dialog:focus-within .pg-dialog-topbar {
|
|
131
|
+
opacity: 1;
|
|
120
132
|
}
|
|
121
133
|
|
|
122
134
|
/* ── Dialog arrow states ── */
|