@almadar/ui 5.59.0 → 5.60.0

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.
@@ -40169,6 +40169,12 @@ function getGroupColor(group, groups) {
40169
40169
  const idx = groups.indexOf(group);
40170
40170
  return GROUP_COLORS2[idx % GROUP_COLORS2.length];
40171
40171
  }
40172
+ function resolveColor2(color, el) {
40173
+ const m = /^var\((--[^,)]+)(?:,\s*([^)]+))?\)$/.exec(color.trim());
40174
+ if (!m) return color;
40175
+ const resolved = getComputedStyle(el).getPropertyValue(m[1]).trim();
40176
+ return resolved || (m[2]?.trim() ?? "#888888");
40177
+ }
40172
40178
  var GROUP_COLORS2, GraphCanvas;
40173
40179
  var init_GraphCanvas = __esm({
40174
40180
  "components/core/molecules/GraphCanvas.tsx"() {
@@ -40229,8 +40235,10 @@ var init_GraphCanvas = __esm({
40229
40235
  const canvas = canvasRef.current;
40230
40236
  if (!canvas) return null;
40231
40237
  const rect = canvas.getBoundingClientRect();
40232
- const screenX = e.clientX - rect.left;
40233
- const screenY = e.clientY - rect.top;
40238
+ const scaleX = rect.width > 0 ? canvas.width / rect.width : 1;
40239
+ const scaleY = rect.height > 0 ? canvas.height / rect.height : 1;
40240
+ const screenX = (e.clientX - rect.left) * scaleX;
40241
+ const screenY = (e.clientY - rect.top) * scaleY;
40234
40242
  return {
40235
40243
  screenX,
40236
40244
  screenY,
@@ -40370,6 +40378,7 @@ var init_GraphCanvas = __esm({
40370
40378
  const w = canvas.width;
40371
40379
  const h = canvas.height;
40372
40380
  const nodes = nodesRef.current;
40381
+ const accentColor = resolveColor2("var(--color-accent)", canvas);
40373
40382
  ctx.clearRect(0, 0, w, h);
40374
40383
  ctx.save();
40375
40384
  ctx.translate(offset.x, offset.y);
@@ -40395,7 +40404,7 @@ var init_GraphCanvas = __esm({
40395
40404
  }
40396
40405
  for (const node of nodes) {
40397
40406
  const size = node.size || 8;
40398
- const color = node.color || getGroupColor(node.group, groups);
40407
+ const color = resolveColor2(node.color || getGroupColor(node.group, groups), canvas);
40399
40408
  const isHovered = hoveredNode === node.id;
40400
40409
  const isSelected = selectedNodeId !== void 0 && node.id === selectedNodeId;
40401
40410
  const radius = isSelected ? size + 4 : isHovered ? size + 2 : size;
@@ -40404,7 +40413,7 @@ var init_GraphCanvas = __esm({
40404
40413
  ctx.fillStyle = color;
40405
40414
  ctx.fill();
40406
40415
  if (isSelected) {
40407
- ctx.strokeStyle = "var(--color-accent)";
40416
+ ctx.strokeStyle = accentColor;
40408
40417
  ctx.lineWidth = 3;
40409
40418
  } else {
40410
40419
  ctx.strokeStyle = isHovered ? "#ffffff" : "#00000020";
package/dist/avl/index.js CHANGED
@@ -40122,6 +40122,12 @@ function getGroupColor(group, groups) {
40122
40122
  const idx = groups.indexOf(group);
40123
40123
  return GROUP_COLORS2[idx % GROUP_COLORS2.length];
40124
40124
  }
40125
+ function resolveColor2(color, el) {
40126
+ const m = /^var\((--[^,)]+)(?:,\s*([^)]+))?\)$/.exec(color.trim());
40127
+ if (!m) return color;
40128
+ const resolved = getComputedStyle(el).getPropertyValue(m[1]).trim();
40129
+ return resolved || (m[2]?.trim() ?? "#888888");
40130
+ }
40125
40131
  var GROUP_COLORS2, GraphCanvas;
40126
40132
  var init_GraphCanvas = __esm({
40127
40133
  "components/core/molecules/GraphCanvas.tsx"() {
@@ -40182,8 +40188,10 @@ var init_GraphCanvas = __esm({
40182
40188
  const canvas = canvasRef.current;
40183
40189
  if (!canvas) return null;
40184
40190
  const rect = canvas.getBoundingClientRect();
40185
- const screenX = e.clientX - rect.left;
40186
- const screenY = e.clientY - rect.top;
40191
+ const scaleX = rect.width > 0 ? canvas.width / rect.width : 1;
40192
+ const scaleY = rect.height > 0 ? canvas.height / rect.height : 1;
40193
+ const screenX = (e.clientX - rect.left) * scaleX;
40194
+ const screenY = (e.clientY - rect.top) * scaleY;
40187
40195
  return {
40188
40196
  screenX,
40189
40197
  screenY,
@@ -40323,6 +40331,7 @@ var init_GraphCanvas = __esm({
40323
40331
  const w = canvas.width;
40324
40332
  const h = canvas.height;
40325
40333
  const nodes = nodesRef.current;
40334
+ const accentColor = resolveColor2("var(--color-accent)", canvas);
40326
40335
  ctx.clearRect(0, 0, w, h);
40327
40336
  ctx.save();
40328
40337
  ctx.translate(offset.x, offset.y);
@@ -40348,7 +40357,7 @@ var init_GraphCanvas = __esm({
40348
40357
  }
40349
40358
  for (const node of nodes) {
40350
40359
  const size = node.size || 8;
40351
- const color = node.color || getGroupColor(node.group, groups);
40360
+ const color = resolveColor2(node.color || getGroupColor(node.group, groups), canvas);
40352
40361
  const isHovered = hoveredNode === node.id;
40353
40362
  const isSelected = selectedNodeId !== void 0 && node.id === selectedNodeId;
40354
40363
  const radius = isSelected ? size + 4 : isHovered ? size + 2 : size;
@@ -40357,7 +40366,7 @@ var init_GraphCanvas = __esm({
40357
40366
  ctx.fillStyle = color;
40358
40367
  ctx.fill();
40359
40368
  if (isSelected) {
40360
- ctx.strokeStyle = "var(--color-accent)";
40369
+ ctx.strokeStyle = accentColor;
40361
40370
  ctx.lineWidth = 3;
40362
40371
  } else {
40363
40372
  ctx.strokeStyle = isHovered ? "#ffffff" : "#00000020";
@@ -38389,6 +38389,12 @@ function getGroupColor(group, groups) {
38389
38389
  const idx = groups.indexOf(group);
38390
38390
  return GROUP_COLORS2[idx % GROUP_COLORS2.length];
38391
38391
  }
38392
+ function resolveColor2(color, el) {
38393
+ const m = /^var\((--[^,)]+)(?:,\s*([^)]+))?\)$/.exec(color.trim());
38394
+ if (!m) return color;
38395
+ const resolved = getComputedStyle(el).getPropertyValue(m[1]).trim();
38396
+ return resolved || (m[2]?.trim() ?? "#888888");
38397
+ }
38392
38398
  var GROUP_COLORS2; exports.GraphCanvas = void 0;
38393
38399
  var init_GraphCanvas = __esm({
38394
38400
  "components/core/molecules/GraphCanvas.tsx"() {
@@ -38449,8 +38455,10 @@ var init_GraphCanvas = __esm({
38449
38455
  const canvas = canvasRef.current;
38450
38456
  if (!canvas) return null;
38451
38457
  const rect = canvas.getBoundingClientRect();
38452
- const screenX = e.clientX - rect.left;
38453
- const screenY = e.clientY - rect.top;
38458
+ const scaleX = rect.width > 0 ? canvas.width / rect.width : 1;
38459
+ const scaleY = rect.height > 0 ? canvas.height / rect.height : 1;
38460
+ const screenX = (e.clientX - rect.left) * scaleX;
38461
+ const screenY = (e.clientY - rect.top) * scaleY;
38454
38462
  return {
38455
38463
  screenX,
38456
38464
  screenY,
@@ -38590,6 +38598,7 @@ var init_GraphCanvas = __esm({
38590
38598
  const w = canvas.width;
38591
38599
  const h = canvas.height;
38592
38600
  const nodes = nodesRef.current;
38601
+ const accentColor = resolveColor2("var(--color-accent)", canvas);
38593
38602
  ctx.clearRect(0, 0, w, h);
38594
38603
  ctx.save();
38595
38604
  ctx.translate(offset.x, offset.y);
@@ -38615,7 +38624,7 @@ var init_GraphCanvas = __esm({
38615
38624
  }
38616
38625
  for (const node of nodes) {
38617
38626
  const size = node.size || 8;
38618
- const color = node.color || getGroupColor(node.group, groups);
38627
+ const color = resolveColor2(node.color || getGroupColor(node.group, groups), canvas);
38619
38628
  const isHovered = hoveredNode === node.id;
38620
38629
  const isSelected = selectedNodeId !== void 0 && node.id === selectedNodeId;
38621
38630
  const radius = isSelected ? size + 4 : isHovered ? size + 2 : size;
@@ -38624,7 +38633,7 @@ var init_GraphCanvas = __esm({
38624
38633
  ctx.fillStyle = color;
38625
38634
  ctx.fill();
38626
38635
  if (isSelected) {
38627
- ctx.strokeStyle = "var(--color-accent)";
38636
+ ctx.strokeStyle = accentColor;
38628
38637
  ctx.lineWidth = 3;
38629
38638
  } else {
38630
38639
  ctx.strokeStyle = isHovered ? "#ffffff" : "#00000020";
@@ -38343,6 +38343,12 @@ function getGroupColor(group, groups) {
38343
38343
  const idx = groups.indexOf(group);
38344
38344
  return GROUP_COLORS2[idx % GROUP_COLORS2.length];
38345
38345
  }
38346
+ function resolveColor2(color, el) {
38347
+ const m = /^var\((--[^,)]+)(?:,\s*([^)]+))?\)$/.exec(color.trim());
38348
+ if (!m) return color;
38349
+ const resolved = getComputedStyle(el).getPropertyValue(m[1]).trim();
38350
+ return resolved || (m[2]?.trim() ?? "#888888");
38351
+ }
38346
38352
  var GROUP_COLORS2, GraphCanvas;
38347
38353
  var init_GraphCanvas = __esm({
38348
38354
  "components/core/molecules/GraphCanvas.tsx"() {
@@ -38403,8 +38409,10 @@ var init_GraphCanvas = __esm({
38403
38409
  const canvas = canvasRef.current;
38404
38410
  if (!canvas) return null;
38405
38411
  const rect = canvas.getBoundingClientRect();
38406
- const screenX = e.clientX - rect.left;
38407
- const screenY = e.clientY - rect.top;
38412
+ const scaleX = rect.width > 0 ? canvas.width / rect.width : 1;
38413
+ const scaleY = rect.height > 0 ? canvas.height / rect.height : 1;
38414
+ const screenX = (e.clientX - rect.left) * scaleX;
38415
+ const screenY = (e.clientY - rect.top) * scaleY;
38408
38416
  return {
38409
38417
  screenX,
38410
38418
  screenY,
@@ -38544,6 +38552,7 @@ var init_GraphCanvas = __esm({
38544
38552
  const w = canvas.width;
38545
38553
  const h = canvas.height;
38546
38554
  const nodes = nodesRef.current;
38555
+ const accentColor = resolveColor2("var(--color-accent)", canvas);
38547
38556
  ctx.clearRect(0, 0, w, h);
38548
38557
  ctx.save();
38549
38558
  ctx.translate(offset.x, offset.y);
@@ -38569,7 +38578,7 @@ var init_GraphCanvas = __esm({
38569
38578
  }
38570
38579
  for (const node of nodes) {
38571
38580
  const size = node.size || 8;
38572
- const color = node.color || getGroupColor(node.group, groups);
38581
+ const color = resolveColor2(node.color || getGroupColor(node.group, groups), canvas);
38573
38582
  const isHovered = hoveredNode === node.id;
38574
38583
  const isSelected = selectedNodeId !== void 0 && node.id === selectedNodeId;
38575
38584
  const radius = isSelected ? size + 4 : isHovered ? size + 2 : size;
@@ -38578,7 +38587,7 @@ var init_GraphCanvas = __esm({
38578
38587
  ctx.fillStyle = color;
38579
38588
  ctx.fill();
38580
38589
  if (isSelected) {
38581
- ctx.strokeStyle = "var(--color-accent)";
38590
+ ctx.strokeStyle = accentColor;
38582
38591
  ctx.lineWidth = 3;
38583
38592
  } else {
38584
38593
  ctx.strokeStyle = isHovered ? "#ffffff" : "#00000020";
@@ -37970,6 +37970,12 @@ function getGroupColor(group, groups) {
37970
37970
  const idx = groups.indexOf(group);
37971
37971
  return GROUP_COLORS2[idx % GROUP_COLORS2.length];
37972
37972
  }
37973
+ function resolveColor2(color, el) {
37974
+ const m = /^var\((--[^,)]+)(?:,\s*([^)]+))?\)$/.exec(color.trim());
37975
+ if (!m) return color;
37976
+ const resolved = getComputedStyle(el).getPropertyValue(m[1]).trim();
37977
+ return resolved || (m[2]?.trim() ?? "#888888");
37978
+ }
37973
37979
  var GROUP_COLORS2, GraphCanvas;
37974
37980
  var init_GraphCanvas = __esm({
37975
37981
  "components/core/molecules/GraphCanvas.tsx"() {
@@ -38030,8 +38036,10 @@ var init_GraphCanvas = __esm({
38030
38036
  const canvas = canvasRef.current;
38031
38037
  if (!canvas) return null;
38032
38038
  const rect = canvas.getBoundingClientRect();
38033
- const screenX = e.clientX - rect.left;
38034
- const screenY = e.clientY - rect.top;
38039
+ const scaleX = rect.width > 0 ? canvas.width / rect.width : 1;
38040
+ const scaleY = rect.height > 0 ? canvas.height / rect.height : 1;
38041
+ const screenX = (e.clientX - rect.left) * scaleX;
38042
+ const screenY = (e.clientY - rect.top) * scaleY;
38035
38043
  return {
38036
38044
  screenX,
38037
38045
  screenY,
@@ -38171,6 +38179,7 @@ var init_GraphCanvas = __esm({
38171
38179
  const w = canvas.width;
38172
38180
  const h = canvas.height;
38173
38181
  const nodes = nodesRef.current;
38182
+ const accentColor = resolveColor2("var(--color-accent)", canvas);
38174
38183
  ctx.clearRect(0, 0, w, h);
38175
38184
  ctx.save();
38176
38185
  ctx.translate(offset.x, offset.y);
@@ -38196,7 +38205,7 @@ var init_GraphCanvas = __esm({
38196
38205
  }
38197
38206
  for (const node of nodes) {
38198
38207
  const size = node.size || 8;
38199
- const color = node.color || getGroupColor(node.group, groups);
38208
+ const color = resolveColor2(node.color || getGroupColor(node.group, groups), canvas);
38200
38209
  const isHovered = hoveredNode === node.id;
38201
38210
  const isSelected = selectedNodeId !== void 0 && node.id === selectedNodeId;
38202
38211
  const radius = isSelected ? size + 4 : isHovered ? size + 2 : size;
@@ -38205,7 +38214,7 @@ var init_GraphCanvas = __esm({
38205
38214
  ctx.fillStyle = color;
38206
38215
  ctx.fill();
38207
38216
  if (isSelected) {
38208
- ctx.strokeStyle = "var(--color-accent)";
38217
+ ctx.strokeStyle = accentColor;
38209
38218
  ctx.lineWidth = 3;
38210
38219
  } else {
38211
38220
  ctx.strokeStyle = isHovered ? "#ffffff" : "#00000020";
@@ -37923,6 +37923,12 @@ function getGroupColor(group, groups) {
37923
37923
  const idx = groups.indexOf(group);
37924
37924
  return GROUP_COLORS2[idx % GROUP_COLORS2.length];
37925
37925
  }
37926
+ function resolveColor2(color, el) {
37927
+ const m = /^var\((--[^,)]+)(?:,\s*([^)]+))?\)$/.exec(color.trim());
37928
+ if (!m) return color;
37929
+ const resolved = getComputedStyle(el).getPropertyValue(m[1]).trim();
37930
+ return resolved || (m[2]?.trim() ?? "#888888");
37931
+ }
37926
37932
  var GROUP_COLORS2, GraphCanvas;
37927
37933
  var init_GraphCanvas = __esm({
37928
37934
  "components/core/molecules/GraphCanvas.tsx"() {
@@ -37983,8 +37989,10 @@ var init_GraphCanvas = __esm({
37983
37989
  const canvas = canvasRef.current;
37984
37990
  if (!canvas) return null;
37985
37991
  const rect = canvas.getBoundingClientRect();
37986
- const screenX = e.clientX - rect.left;
37987
- const screenY = e.clientY - rect.top;
37992
+ const scaleX = rect.width > 0 ? canvas.width / rect.width : 1;
37993
+ const scaleY = rect.height > 0 ? canvas.height / rect.height : 1;
37994
+ const screenX = (e.clientX - rect.left) * scaleX;
37995
+ const screenY = (e.clientY - rect.top) * scaleY;
37988
37996
  return {
37989
37997
  screenX,
37990
37998
  screenY,
@@ -38124,6 +38132,7 @@ var init_GraphCanvas = __esm({
38124
38132
  const w = canvas.width;
38125
38133
  const h = canvas.height;
38126
38134
  const nodes = nodesRef.current;
38135
+ const accentColor = resolveColor2("var(--color-accent)", canvas);
38127
38136
  ctx.clearRect(0, 0, w, h);
38128
38137
  ctx.save();
38129
38138
  ctx.translate(offset.x, offset.y);
@@ -38149,7 +38158,7 @@ var init_GraphCanvas = __esm({
38149
38158
  }
38150
38159
  for (const node of nodes) {
38151
38160
  const size = node.size || 8;
38152
- const color = node.color || getGroupColor(node.group, groups);
38161
+ const color = resolveColor2(node.color || getGroupColor(node.group, groups), canvas);
38153
38162
  const isHovered = hoveredNode === node.id;
38154
38163
  const isSelected = selectedNodeId !== void 0 && node.id === selectedNodeId;
38155
38164
  const radius = isSelected ? size + 4 : isHovered ? size + 2 : size;
@@ -38158,7 +38167,7 @@ var init_GraphCanvas = __esm({
38158
38167
  ctx.fillStyle = color;
38159
38168
  ctx.fill();
38160
38169
  if (isSelected) {
38161
- ctx.strokeStyle = "var(--color-accent)";
38170
+ ctx.strokeStyle = accentColor;
38162
38171
  ctx.lineWidth = 3;
38163
38172
  } else {
38164
38173
  ctx.strokeStyle = isHovered ? "#ffffff" : "#00000020";
@@ -37668,6 +37668,12 @@ function getGroupColor(group, groups) {
37668
37668
  const idx = groups.indexOf(group);
37669
37669
  return GROUP_COLORS2[idx % GROUP_COLORS2.length];
37670
37670
  }
37671
+ function resolveColor2(color, el) {
37672
+ const m = /^var\((--[^,)]+)(?:,\s*([^)]+))?\)$/.exec(color.trim());
37673
+ if (!m) return color;
37674
+ const resolved = getComputedStyle(el).getPropertyValue(m[1]).trim();
37675
+ return resolved || (m[2]?.trim() ?? "#888888");
37676
+ }
37671
37677
  var GROUP_COLORS2, GraphCanvas;
37672
37678
  var init_GraphCanvas = __esm({
37673
37679
  "components/core/molecules/GraphCanvas.tsx"() {
@@ -37728,8 +37734,10 @@ var init_GraphCanvas = __esm({
37728
37734
  const canvas = canvasRef.current;
37729
37735
  if (!canvas) return null;
37730
37736
  const rect = canvas.getBoundingClientRect();
37731
- const screenX = e.clientX - rect.left;
37732
- const screenY = e.clientY - rect.top;
37737
+ const scaleX = rect.width > 0 ? canvas.width / rect.width : 1;
37738
+ const scaleY = rect.height > 0 ? canvas.height / rect.height : 1;
37739
+ const screenX = (e.clientX - rect.left) * scaleX;
37740
+ const screenY = (e.clientY - rect.top) * scaleY;
37733
37741
  return {
37734
37742
  screenX,
37735
37743
  screenY,
@@ -37869,6 +37877,7 @@ var init_GraphCanvas = __esm({
37869
37877
  const w = canvas.width;
37870
37878
  const h = canvas.height;
37871
37879
  const nodes = nodesRef.current;
37880
+ const accentColor = resolveColor2("var(--color-accent)", canvas);
37872
37881
  ctx.clearRect(0, 0, w, h);
37873
37882
  ctx.save();
37874
37883
  ctx.translate(offset.x, offset.y);
@@ -37894,7 +37903,7 @@ var init_GraphCanvas = __esm({
37894
37903
  }
37895
37904
  for (const node of nodes) {
37896
37905
  const size = node.size || 8;
37897
- const color = node.color || getGroupColor(node.group, groups);
37906
+ const color = resolveColor2(node.color || getGroupColor(node.group, groups), canvas);
37898
37907
  const isHovered = hoveredNode === node.id;
37899
37908
  const isSelected = selectedNodeId !== void 0 && node.id === selectedNodeId;
37900
37909
  const radius = isSelected ? size + 4 : isHovered ? size + 2 : size;
@@ -37903,7 +37912,7 @@ var init_GraphCanvas = __esm({
37903
37912
  ctx.fillStyle = color;
37904
37913
  ctx.fill();
37905
37914
  if (isSelected) {
37906
- ctx.strokeStyle = "var(--color-accent)";
37915
+ ctx.strokeStyle = accentColor;
37907
37916
  ctx.lineWidth = 3;
37908
37917
  } else {
37909
37918
  ctx.strokeStyle = isHovered ? "#ffffff" : "#00000020";
@@ -37621,6 +37621,12 @@ function getGroupColor(group, groups) {
37621
37621
  const idx = groups.indexOf(group);
37622
37622
  return GROUP_COLORS2[idx % GROUP_COLORS2.length];
37623
37623
  }
37624
+ function resolveColor2(color, el) {
37625
+ const m = /^var\((--[^,)]+)(?:,\s*([^)]+))?\)$/.exec(color.trim());
37626
+ if (!m) return color;
37627
+ const resolved = getComputedStyle(el).getPropertyValue(m[1]).trim();
37628
+ return resolved || (m[2]?.trim() ?? "#888888");
37629
+ }
37624
37630
  var GROUP_COLORS2, GraphCanvas;
37625
37631
  var init_GraphCanvas = __esm({
37626
37632
  "components/core/molecules/GraphCanvas.tsx"() {
@@ -37681,8 +37687,10 @@ var init_GraphCanvas = __esm({
37681
37687
  const canvas = canvasRef.current;
37682
37688
  if (!canvas) return null;
37683
37689
  const rect = canvas.getBoundingClientRect();
37684
- const screenX = e.clientX - rect.left;
37685
- const screenY = e.clientY - rect.top;
37690
+ const scaleX = rect.width > 0 ? canvas.width / rect.width : 1;
37691
+ const scaleY = rect.height > 0 ? canvas.height / rect.height : 1;
37692
+ const screenX = (e.clientX - rect.left) * scaleX;
37693
+ const screenY = (e.clientY - rect.top) * scaleY;
37686
37694
  return {
37687
37695
  screenX,
37688
37696
  screenY,
@@ -37822,6 +37830,7 @@ var init_GraphCanvas = __esm({
37822
37830
  const w = canvas.width;
37823
37831
  const h = canvas.height;
37824
37832
  const nodes = nodesRef.current;
37833
+ const accentColor = resolveColor2("var(--color-accent)", canvas);
37825
37834
  ctx.clearRect(0, 0, w, h);
37826
37835
  ctx.save();
37827
37836
  ctx.translate(offset.x, offset.y);
@@ -37847,7 +37856,7 @@ var init_GraphCanvas = __esm({
37847
37856
  }
37848
37857
  for (const node of nodes) {
37849
37858
  const size = node.size || 8;
37850
- const color = node.color || getGroupColor(node.group, groups);
37859
+ const color = resolveColor2(node.color || getGroupColor(node.group, groups), canvas);
37851
37860
  const isHovered = hoveredNode === node.id;
37852
37861
  const isSelected = selectedNodeId !== void 0 && node.id === selectedNodeId;
37853
37862
  const radius = isSelected ? size + 4 : isHovered ? size + 2 : size;
@@ -37856,7 +37865,7 @@ var init_GraphCanvas = __esm({
37856
37865
  ctx.fillStyle = color;
37857
37866
  ctx.fill();
37858
37867
  if (isSelected) {
37859
- ctx.strokeStyle = "var(--color-accent)";
37868
+ ctx.strokeStyle = accentColor;
37860
37869
  ctx.lineWidth = 3;
37861
37870
  } else {
37862
37871
  ctx.strokeStyle = isHovered ? "#ffffff" : "#00000020";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.59.0",
3
+ "version": "5.60.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [