@meduza/ui-kit-2 0.1.16 → 0.1.17
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/dist/ui-kit-2.cjs.development.js +1 -1
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +1 -1
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +1079 -1079
- package/package.json +1 -1
- package/src/DotsOnImage/index.tsx +4 -2
package/package.json
CHANGED
|
@@ -126,7 +126,9 @@ export const DotsOnImage: React.FC<DotsOnImageProps> = ({
|
|
|
126
126
|
style={{
|
|
127
127
|
top: `${dot.position.y}%`,
|
|
128
128
|
left: `${dot.position.x}%`,
|
|
129
|
-
transform: `scale(${ratio}) translate(
|
|
129
|
+
transform: `scale(${ratio}) translate(-${50 / ratio}%, -${
|
|
130
|
+
50 / ratio
|
|
131
|
+
}%)`
|
|
130
132
|
}}
|
|
131
133
|
>
|
|
132
134
|
<button
|
|
@@ -136,7 +138,7 @@ export const DotsOnImage: React.FC<DotsOnImageProps> = ({
|
|
|
136
138
|
])}
|
|
137
139
|
type="button"
|
|
138
140
|
style={{
|
|
139
|
-
backgroundColor: dot.icon.color
|
|
141
|
+
backgroundColor: dot.icon.color
|
|
140
142
|
}}
|
|
141
143
|
onClick={(): void => handleDotClick(dot)}
|
|
142
144
|
>
|