@intechstudio/grid-uikit 1.20260922.1146 → 1.20260922.1158

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.
@@ -64,6 +64,7 @@
64
64
  }
65
65
 
66
66
  function handleMouseDown(e: MouseEvent) {
67
+ e.preventDefault();
67
68
  isDragging = true;
68
69
  calculateColor(e);
69
70
  }
@@ -89,6 +90,9 @@
89
90
  .hue-picker {
90
91
  position: relative;
91
92
  display: flex;
93
+ -webkit-user-select: none;
94
+ -moz-user-select: none;
95
+ user-select: none;
92
96
  height: 100%;
93
97
  aspect-ratio: 1 / 1;
94
98
  border: 1px solid black;
@@ -89,6 +89,7 @@
89
89
  data-testid="rgb-color-picker-canvas"
90
90
  class="rgb-picker"
91
91
  on:mousedown={(e) => {
92
+ e.preventDefault();
92
93
  isDrag = true;
93
94
  calculateColor(e);
94
95
  }}
@@ -105,6 +106,9 @@
105
106
  width: 100%;
106
107
  height: 100%;
107
108
  position: relative;
109
+ -webkit-user-select: none;
110
+ -moz-user-select: none;
111
+ user-select: none;
108
112
  border: 1px solid black;
109
113
  background:
110
114
  linear-gradient(to left, red, magenta, blue, cyan, lime, yellow, red),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intechstudio/grid-uikit",
3
- "version": "1.20260922.1146",
3
+ "version": "1.20260922.1158",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/intechstudio/grid-uikit.git"