@buoy-gg/floating-tools-core 7.0.34 → 7.0.35

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.
Files changed (149) hide show
  1. package/lib/commonjs/dial.js +3 -2
  2. package/lib/commonjs/fonts.js +31 -0
  3. package/lib/commonjs/icons/generated/glyph-icons.g.js +299 -0
  4. package/lib/commonjs/icons/generated/icon-data.g.js +89 -110
  5. package/lib/commonjs/icons/icon-primitives.js +32 -12
  6. package/lib/commonjs/icons/icon-primitives.native.js +50 -32
  7. package/lib/commonjs/icons/icon-renderer.js +31 -10
  8. package/lib/commonjs/icons/iconGlow.js +32 -0
  9. package/lib/commonjs/index.js +169 -0
  10. package/lib/module/dial.js +3 -2
  11. package/lib/module/fonts.js +28 -0
  12. package/lib/module/icons/generated/glyph-icons.g.js +296 -0
  13. package/lib/module/icons/generated/icon-data.g.js +89 -110
  14. package/lib/module/icons/icon-primitives.js +32 -12
  15. package/lib/module/icons/icon-primitives.native.js +50 -32
  16. package/lib/module/icons/icon-renderer.js +31 -10
  17. package/lib/module/icons/iconGlow.js +28 -0
  18. package/lib/module/index.js +9 -0
  19. package/lib/typescript/commonjs/dial.d.ts +2 -2
  20. package/lib/typescript/commonjs/dial.d.ts.map +1 -1
  21. package/lib/typescript/commonjs/fonts.d.ts +20 -0
  22. package/lib/typescript/commonjs/fonts.d.ts.map +1 -0
  23. package/lib/typescript/commonjs/icons/ask-buoy-icon.d.ts +1 -1
  24. package/lib/typescript/commonjs/icons/ask-buoy-icon.d.ts.map +1 -1
  25. package/lib/typescript/commonjs/icons/assets-icon.d.ts +1 -1
  26. package/lib/typescript/commonjs/icons/assets-icon.d.ts.map +1 -1
  27. package/lib/typescript/commonjs/icons/benchmark-icon.d.ts +1 -1
  28. package/lib/typescript/commonjs/icons/benchmark-icon.d.ts.map +1 -1
  29. package/lib/typescript/commonjs/icons/camera-icon.d.ts +1 -1
  30. package/lib/typescript/commonjs/icons/camera-icon.d.ts.map +1 -1
  31. package/lib/typescript/commonjs/icons/console-icon.d.ts +1 -1
  32. package/lib/typescript/commonjs/icons/console-icon.d.ts.map +1 -1
  33. package/lib/typescript/commonjs/icons/env-icon.d.ts +1 -1
  34. package/lib/typescript/commonjs/icons/env-icon.d.ts.map +1 -1
  35. package/lib/typescript/commonjs/icons/events-icon.d.ts +1 -1
  36. package/lib/typescript/commonjs/icons/events-icon.d.ts.map +1 -1
  37. package/lib/typescript/commonjs/icons/generated/glyph-icons.g.d.ts +145 -0
  38. package/lib/typescript/commonjs/icons/generated/glyph-icons.g.d.ts.map +1 -0
  39. package/lib/typescript/commonjs/icons/generated/icon-data.g.d.ts.map +1 -1
  40. package/lib/typescript/commonjs/icons/highlight-icon.d.ts +1 -1
  41. package/lib/typescript/commonjs/icons/highlight-icon.d.ts.map +1 -1
  42. package/lib/typescript/commonjs/icons/icon-primitives.d.ts +3 -1
  43. package/lib/typescript/commonjs/icons/icon-primitives.d.ts.map +1 -1
  44. package/lib/typescript/commonjs/icons/icon-primitives.native.d.ts +7 -0
  45. package/lib/typescript/commonjs/icons/icon-primitives.native.d.ts.map +1 -1
  46. package/lib/typescript/commonjs/icons/icon-renderer.d.ts +33 -3
  47. package/lib/typescript/commonjs/icons/icon-renderer.d.ts.map +1 -1
  48. package/lib/typescript/commonjs/icons/iconGlow.d.ts +27 -0
  49. package/lib/typescript/commonjs/icons/iconGlow.d.ts.map +1 -0
  50. package/lib/typescript/commonjs/icons/image-overlay-icon.d.ts +1 -1
  51. package/lib/typescript/commonjs/icons/image-overlay-icon.d.ts.map +1 -1
  52. package/lib/typescript/commonjs/icons/images-icon.d.ts +1 -1
  53. package/lib/typescript/commonjs/icons/images-icon.d.ts.map +1 -1
  54. package/lib/typescript/commonjs/icons/impersonate-icon.d.ts +1 -1
  55. package/lib/typescript/commonjs/icons/impersonate-icon.d.ts.map +1 -1
  56. package/lib/typescript/commonjs/icons/jotai-icon.d.ts +1 -1
  57. package/lib/typescript/commonjs/icons/jotai-icon.d.ts.map +1 -1
  58. package/lib/typescript/commonjs/icons/network-icon.d.ts +1 -1
  59. package/lib/typescript/commonjs/icons/network-icon.d.ts.map +1 -1
  60. package/lib/typescript/commonjs/icons/query-icon.d.ts +1 -1
  61. package/lib/typescript/commonjs/icons/query-icon.d.ts.map +1 -1
  62. package/lib/typescript/commonjs/icons/redux-icon.d.ts +1 -1
  63. package/lib/typescript/commonjs/icons/redux-icon.d.ts.map +1 -1
  64. package/lib/typescript/commonjs/icons/renders-icon.d.ts +2 -2
  65. package/lib/typescript/commonjs/icons/renders-icon.d.ts.map +1 -1
  66. package/lib/typescript/commonjs/icons/riverpod-icon.d.ts +1 -1
  67. package/lib/typescript/commonjs/icons/riverpod-icon.d.ts.map +1 -1
  68. package/lib/typescript/commonjs/icons/routes-icon.d.ts +21 -21
  69. package/lib/typescript/commonjs/icons/routes-icon.d.ts.map +1 -1
  70. package/lib/typescript/commonjs/icons/scenarios-icon.d.ts +1 -1
  71. package/lib/typescript/commonjs/icons/scenarios-icon.d.ts.map +1 -1
  72. package/lib/typescript/commonjs/icons/sentry-icon.d.ts +1 -1
  73. package/lib/typescript/commonjs/icons/sentry-icon.d.ts.map +1 -1
  74. package/lib/typescript/commonjs/icons/storage-icon.d.ts +1 -1
  75. package/lib/typescript/commonjs/icons/storage-icon.d.ts.map +1 -1
  76. package/lib/typescript/commonjs/icons/time-machine-icon.d.ts +1 -1
  77. package/lib/typescript/commonjs/icons/time-machine-icon.d.ts.map +1 -1
  78. package/lib/typescript/commonjs/icons/wifi-icon.d.ts +1 -1
  79. package/lib/typescript/commonjs/icons/wifi-icon.d.ts.map +1 -1
  80. package/lib/typescript/commonjs/icons/zustand-icon.d.ts +1 -1
  81. package/lib/typescript/commonjs/icons/zustand-icon.d.ts.map +1 -1
  82. package/lib/typescript/commonjs/index.d.ts +2 -0
  83. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  84. package/lib/typescript/module/dial.d.ts +2 -2
  85. package/lib/typescript/module/dial.d.ts.map +1 -1
  86. package/lib/typescript/module/fonts.d.ts +20 -0
  87. package/lib/typescript/module/fonts.d.ts.map +1 -0
  88. package/lib/typescript/module/icons/ask-buoy-icon.d.ts +1 -1
  89. package/lib/typescript/module/icons/ask-buoy-icon.d.ts.map +1 -1
  90. package/lib/typescript/module/icons/assets-icon.d.ts +1 -1
  91. package/lib/typescript/module/icons/assets-icon.d.ts.map +1 -1
  92. package/lib/typescript/module/icons/benchmark-icon.d.ts +1 -1
  93. package/lib/typescript/module/icons/benchmark-icon.d.ts.map +1 -1
  94. package/lib/typescript/module/icons/camera-icon.d.ts +1 -1
  95. package/lib/typescript/module/icons/camera-icon.d.ts.map +1 -1
  96. package/lib/typescript/module/icons/console-icon.d.ts +1 -1
  97. package/lib/typescript/module/icons/console-icon.d.ts.map +1 -1
  98. package/lib/typescript/module/icons/env-icon.d.ts +1 -1
  99. package/lib/typescript/module/icons/env-icon.d.ts.map +1 -1
  100. package/lib/typescript/module/icons/events-icon.d.ts +1 -1
  101. package/lib/typescript/module/icons/events-icon.d.ts.map +1 -1
  102. package/lib/typescript/module/icons/generated/glyph-icons.g.d.ts +145 -0
  103. package/lib/typescript/module/icons/generated/glyph-icons.g.d.ts.map +1 -0
  104. package/lib/typescript/module/icons/generated/icon-data.g.d.ts.map +1 -1
  105. package/lib/typescript/module/icons/highlight-icon.d.ts +1 -1
  106. package/lib/typescript/module/icons/highlight-icon.d.ts.map +1 -1
  107. package/lib/typescript/module/icons/icon-primitives.d.ts +3 -1
  108. package/lib/typescript/module/icons/icon-primitives.d.ts.map +1 -1
  109. package/lib/typescript/module/icons/icon-primitives.native.d.ts +7 -0
  110. package/lib/typescript/module/icons/icon-primitives.native.d.ts.map +1 -1
  111. package/lib/typescript/module/icons/icon-renderer.d.ts +33 -3
  112. package/lib/typescript/module/icons/icon-renderer.d.ts.map +1 -1
  113. package/lib/typescript/module/icons/iconGlow.d.ts +27 -0
  114. package/lib/typescript/module/icons/iconGlow.d.ts.map +1 -0
  115. package/lib/typescript/module/icons/image-overlay-icon.d.ts +1 -1
  116. package/lib/typescript/module/icons/image-overlay-icon.d.ts.map +1 -1
  117. package/lib/typescript/module/icons/images-icon.d.ts +1 -1
  118. package/lib/typescript/module/icons/images-icon.d.ts.map +1 -1
  119. package/lib/typescript/module/icons/impersonate-icon.d.ts +1 -1
  120. package/lib/typescript/module/icons/impersonate-icon.d.ts.map +1 -1
  121. package/lib/typescript/module/icons/jotai-icon.d.ts +1 -1
  122. package/lib/typescript/module/icons/jotai-icon.d.ts.map +1 -1
  123. package/lib/typescript/module/icons/network-icon.d.ts +1 -1
  124. package/lib/typescript/module/icons/network-icon.d.ts.map +1 -1
  125. package/lib/typescript/module/icons/query-icon.d.ts +1 -1
  126. package/lib/typescript/module/icons/query-icon.d.ts.map +1 -1
  127. package/lib/typescript/module/icons/redux-icon.d.ts +1 -1
  128. package/lib/typescript/module/icons/redux-icon.d.ts.map +1 -1
  129. package/lib/typescript/module/icons/renders-icon.d.ts +2 -2
  130. package/lib/typescript/module/icons/renders-icon.d.ts.map +1 -1
  131. package/lib/typescript/module/icons/riverpod-icon.d.ts +1 -1
  132. package/lib/typescript/module/icons/riverpod-icon.d.ts.map +1 -1
  133. package/lib/typescript/module/icons/routes-icon.d.ts +21 -21
  134. package/lib/typescript/module/icons/routes-icon.d.ts.map +1 -1
  135. package/lib/typescript/module/icons/scenarios-icon.d.ts +1 -1
  136. package/lib/typescript/module/icons/scenarios-icon.d.ts.map +1 -1
  137. package/lib/typescript/module/icons/sentry-icon.d.ts +1 -1
  138. package/lib/typescript/module/icons/sentry-icon.d.ts.map +1 -1
  139. package/lib/typescript/module/icons/storage-icon.d.ts +1 -1
  140. package/lib/typescript/module/icons/storage-icon.d.ts.map +1 -1
  141. package/lib/typescript/module/icons/time-machine-icon.d.ts +1 -1
  142. package/lib/typescript/module/icons/time-machine-icon.d.ts.map +1 -1
  143. package/lib/typescript/module/icons/wifi-icon.d.ts +1 -1
  144. package/lib/typescript/module/icons/wifi-icon.d.ts.map +1 -1
  145. package/lib/typescript/module/icons/zustand-icon.d.ts +1 -1
  146. package/lib/typescript/module/icons/zustand-icon.d.ts.map +1 -1
  147. package/lib/typescript/module/index.d.ts +2 -0
  148. package/lib/typescript/module/index.d.ts.map +1 -1
  149. package/package.json +1 -1
@@ -0,0 +1,296 @@
1
+ "use strict";
2
+
3
+ // GENERATED by scripts/gen-icons.mjs — DO NOT EDIT.
4
+ // Source of truth: shared/icons/glyphs/*.json (format: shared/icons/SPEC.md)
5
+ //
6
+ // To change a glyph, edit its JSON and re-run `node scripts/gen-icons.mjs`.
7
+
8
+ import { createIcon } from "../icon-renderer.js";
9
+ import { activityGlyphData, alertCircleGlyphData, alertTriangleGlyphData, arrowDownToLineGlyphData, arrowDownGlyphData, arrowUpGlyphData, barChartGlyphData, bookmarkGlyphData, boxGlyphData, bracesGlyphData, bugGlyphData, checkCircleGlyphData, checkGlyphData, chevronDownGlyphData, chevronLeftGlyphData, chevronRightGlyphData, chevronUpGlyphData, circleGlyphData, clockGlyphData, codeGlyphData, copyGlyphData, cropGlyphData, databaseGlyphData, dockBottomGlyphData, downloadGlyphData, edit3GlyphData, eyeOffGlyphData, eyeGlyphData, fileJsonGlyphData, fileTextGlyphData, filmGlyphData, filterGlyphData, flaskConicalGlyphData, floatWindowGlyphData, gaugeGlyphData, gitBranchGlyphData, globeGlyphData, gripVerticalGlyphData, hashGlyphData, homeGlyphData, imageOffGlyphData, imageGlyphData, infoGlyphData, keyGlyphData, layersGlyphData, linkGlyphData, lockGlyphData, minusGlyphData, moreVerticalGlyphData, musicGlyphData, navigationGlyphData, paletteGlyphData, pauseGlyphData, pinGlyphData, playGlyphData, plusGlyphData, powerGlyphData, refreshCwGlyphData, searchGlyphData, serverGlyphData, settingsGlyphData, shieldGlyphData, trash2GlyphData, unlockGlyphData, uploadGlyphData, userGlyphData, wifiGlyphData, xCircleGlyphData, xGlyphData, zapGlyphData } from "./icon-data.g.js";
10
+
11
+ /** `{ glyph: true }` = the caller's `strokeWidth` replaces the authored one. */
12
+
13
+ export const ActivityGlyph = createIcon(activityGlyphData, {
14
+ glyph: true
15
+ });
16
+ export const AlertCircleGlyph = createIcon(alertCircleGlyphData, {
17
+ glyph: true
18
+ });
19
+ export const AlertTriangleGlyph = createIcon(alertTriangleGlyphData, {
20
+ glyph: true
21
+ });
22
+ export const ArrowDownToLineGlyph = createIcon(arrowDownToLineGlyphData, {
23
+ glyph: true
24
+ });
25
+ export const ArrowDownGlyph = createIcon(arrowDownGlyphData, {
26
+ glyph: true
27
+ });
28
+ export const ArrowUpGlyph = createIcon(arrowUpGlyphData, {
29
+ glyph: true
30
+ });
31
+ export const BarChartGlyph = createIcon(barChartGlyphData, {
32
+ glyph: true
33
+ });
34
+ export const BookmarkGlyph = createIcon(bookmarkGlyphData, {
35
+ glyph: true
36
+ });
37
+ export const BoxGlyph = createIcon(boxGlyphData, {
38
+ glyph: true
39
+ });
40
+ export const BracesGlyph = createIcon(bracesGlyphData, {
41
+ glyph: true
42
+ });
43
+ export const BugGlyph = createIcon(bugGlyphData, {
44
+ glyph: true
45
+ });
46
+ export const CheckCircleGlyph = createIcon(checkCircleGlyphData, {
47
+ glyph: true
48
+ });
49
+ export const CheckGlyph = createIcon(checkGlyphData, {
50
+ glyph: true
51
+ });
52
+ export const ChevronDownGlyph = createIcon(chevronDownGlyphData, {
53
+ glyph: true
54
+ });
55
+ export const ChevronLeftGlyph = createIcon(chevronLeftGlyphData, {
56
+ glyph: true
57
+ });
58
+ export const ChevronRightGlyph = createIcon(chevronRightGlyphData, {
59
+ glyph: true
60
+ });
61
+ export const ChevronUpGlyph = createIcon(chevronUpGlyphData, {
62
+ glyph: true
63
+ });
64
+ export const CircleGlyph = createIcon(circleGlyphData, {
65
+ glyph: true
66
+ });
67
+ export const ClockGlyph = createIcon(clockGlyphData, {
68
+ glyph: true
69
+ });
70
+ export const CodeGlyph = createIcon(codeGlyphData, {
71
+ glyph: true
72
+ });
73
+ export const CopyGlyph = createIcon(copyGlyphData, {
74
+ glyph: true
75
+ });
76
+ export const CropGlyph = createIcon(cropGlyphData, {
77
+ glyph: true
78
+ });
79
+ export const DatabaseGlyph = createIcon(databaseGlyphData, {
80
+ glyph: true
81
+ });
82
+ export const DockBottomGlyph = createIcon(dockBottomGlyphData, {
83
+ glyph: true
84
+ });
85
+ export const DownloadGlyph = createIcon(downloadGlyphData, {
86
+ glyph: true
87
+ });
88
+ export const Edit3Glyph = createIcon(edit3GlyphData, {
89
+ glyph: true
90
+ });
91
+ export const EyeOffGlyph = createIcon(eyeOffGlyphData, {
92
+ glyph: true
93
+ });
94
+ export const EyeGlyph = createIcon(eyeGlyphData, {
95
+ glyph: true
96
+ });
97
+ export const FileJsonGlyph = createIcon(fileJsonGlyphData, {
98
+ glyph: true
99
+ });
100
+ export const FileTextGlyph = createIcon(fileTextGlyphData, {
101
+ glyph: true
102
+ });
103
+ export const FilmGlyph = createIcon(filmGlyphData, {
104
+ glyph: true
105
+ });
106
+ export const FilterGlyph = createIcon(filterGlyphData, {
107
+ glyph: true
108
+ });
109
+ export const FlaskConicalGlyph = createIcon(flaskConicalGlyphData, {
110
+ glyph: true
111
+ });
112
+ export const FloatWindowGlyph = createIcon(floatWindowGlyphData, {
113
+ glyph: true
114
+ });
115
+ export const GaugeGlyph = createIcon(gaugeGlyphData, {
116
+ glyph: true
117
+ });
118
+ export const GitBranchGlyph = createIcon(gitBranchGlyphData, {
119
+ glyph: true
120
+ });
121
+ export const GlobeGlyph = createIcon(globeGlyphData, {
122
+ glyph: true
123
+ });
124
+ export const GripVerticalGlyph = createIcon(gripVerticalGlyphData, {
125
+ glyph: true
126
+ });
127
+ export const HashGlyph = createIcon(hashGlyphData, {
128
+ glyph: true
129
+ });
130
+ export const HomeGlyph = createIcon(homeGlyphData, {
131
+ glyph: true
132
+ });
133
+ export const ImageOffGlyph = createIcon(imageOffGlyphData, {
134
+ glyph: true
135
+ });
136
+ export const ImageGlyph = createIcon(imageGlyphData, {
137
+ glyph: true
138
+ });
139
+ export const InfoGlyph = createIcon(infoGlyphData, {
140
+ glyph: true
141
+ });
142
+ export const KeyGlyph = createIcon(keyGlyphData, {
143
+ glyph: true
144
+ });
145
+ export const LayersGlyph = createIcon(layersGlyphData, {
146
+ glyph: true
147
+ });
148
+ export const LinkGlyph = createIcon(linkGlyphData, {
149
+ glyph: true
150
+ });
151
+ export const LockGlyph = createIcon(lockGlyphData, {
152
+ glyph: true
153
+ });
154
+ export const MinusGlyph = createIcon(minusGlyphData, {
155
+ glyph: true
156
+ });
157
+ export const MoreVerticalGlyph = createIcon(moreVerticalGlyphData, {
158
+ glyph: true
159
+ });
160
+ export const MusicGlyph = createIcon(musicGlyphData, {
161
+ glyph: true
162
+ });
163
+ export const NavigationGlyph = createIcon(navigationGlyphData, {
164
+ glyph: true
165
+ });
166
+ export const PaletteGlyph = createIcon(paletteGlyphData, {
167
+ glyph: true
168
+ });
169
+ export const PauseGlyph = createIcon(pauseGlyphData, {
170
+ glyph: true
171
+ });
172
+ export const PinGlyph = createIcon(pinGlyphData, {
173
+ glyph: true
174
+ });
175
+ export const PlayGlyph = createIcon(playGlyphData, {
176
+ glyph: true
177
+ });
178
+ export const PlusGlyph = createIcon(plusGlyphData, {
179
+ glyph: true
180
+ });
181
+ export const PowerGlyph = createIcon(powerGlyphData, {
182
+ glyph: true
183
+ });
184
+ export const RefreshCwGlyph = createIcon(refreshCwGlyphData, {
185
+ glyph: true
186
+ });
187
+ export const SearchGlyph = createIcon(searchGlyphData, {
188
+ glyph: true
189
+ });
190
+ export const ServerGlyph = createIcon(serverGlyphData, {
191
+ glyph: true
192
+ });
193
+ export const SettingsGlyph = createIcon(settingsGlyphData, {
194
+ glyph: true
195
+ });
196
+ export const ShieldGlyph = createIcon(shieldGlyphData, {
197
+ glyph: true
198
+ });
199
+ export const Trash2Glyph = createIcon(trash2GlyphData, {
200
+ glyph: true
201
+ });
202
+ export const UnlockGlyph = createIcon(unlockGlyphData, {
203
+ glyph: true
204
+ });
205
+ export const UploadGlyph = createIcon(uploadGlyphData, {
206
+ glyph: true
207
+ });
208
+ export const UserGlyph = createIcon(userGlyphData, {
209
+ glyph: true
210
+ });
211
+ export const WifiGlyph = createIcon(wifiGlyphData, {
212
+ glyph: true
213
+ });
214
+ export const XCircleGlyph = createIcon(xCircleGlyphData, {
215
+ glyph: true
216
+ });
217
+ export const XGlyph = createIcon(xGlyphData, {
218
+ glyph: true
219
+ });
220
+ export const ZapGlyph = createIcon(zapGlyphData, {
221
+ glyph: true
222
+ });
223
+
224
+ /** Every glyph component, keyed by its source filename. */
225
+ export const glyphsByName = {
226
+ 'activity': ActivityGlyph,
227
+ 'alert-circle': AlertCircleGlyph,
228
+ 'alert-triangle': AlertTriangleGlyph,
229
+ 'arrow-down-to-line': ArrowDownToLineGlyph,
230
+ 'arrow-down': ArrowDownGlyph,
231
+ 'arrow-up': ArrowUpGlyph,
232
+ 'bar-chart': BarChartGlyph,
233
+ 'bookmark': BookmarkGlyph,
234
+ 'box': BoxGlyph,
235
+ 'braces': BracesGlyph,
236
+ 'bug': BugGlyph,
237
+ 'check-circle': CheckCircleGlyph,
238
+ 'check': CheckGlyph,
239
+ 'chevron-down': ChevronDownGlyph,
240
+ 'chevron-left': ChevronLeftGlyph,
241
+ 'chevron-right': ChevronRightGlyph,
242
+ 'chevron-up': ChevronUpGlyph,
243
+ 'circle': CircleGlyph,
244
+ 'clock': ClockGlyph,
245
+ 'code': CodeGlyph,
246
+ 'copy': CopyGlyph,
247
+ 'crop': CropGlyph,
248
+ 'database': DatabaseGlyph,
249
+ 'dock-bottom': DockBottomGlyph,
250
+ 'download': DownloadGlyph,
251
+ 'edit-3': Edit3Glyph,
252
+ 'eye-off': EyeOffGlyph,
253
+ 'eye': EyeGlyph,
254
+ 'file-json': FileJsonGlyph,
255
+ 'file-text': FileTextGlyph,
256
+ 'film': FilmGlyph,
257
+ 'filter': FilterGlyph,
258
+ 'flask-conical': FlaskConicalGlyph,
259
+ 'float-window': FloatWindowGlyph,
260
+ 'gauge': GaugeGlyph,
261
+ 'git-branch': GitBranchGlyph,
262
+ 'globe': GlobeGlyph,
263
+ 'grip-vertical': GripVerticalGlyph,
264
+ 'hash': HashGlyph,
265
+ 'home': HomeGlyph,
266
+ 'image-off': ImageOffGlyph,
267
+ 'image': ImageGlyph,
268
+ 'info': InfoGlyph,
269
+ 'key': KeyGlyph,
270
+ 'layers': LayersGlyph,
271
+ 'link': LinkGlyph,
272
+ 'lock': LockGlyph,
273
+ 'minus': MinusGlyph,
274
+ 'more-vertical': MoreVerticalGlyph,
275
+ 'music': MusicGlyph,
276
+ 'navigation': NavigationGlyph,
277
+ 'palette': PaletteGlyph,
278
+ 'pause': PauseGlyph,
279
+ 'pin': PinGlyph,
280
+ 'play': PlayGlyph,
281
+ 'plus': PlusGlyph,
282
+ 'power': PowerGlyph,
283
+ 'refresh-cw': RefreshCwGlyph,
284
+ 'search': SearchGlyph,
285
+ 'server': ServerGlyph,
286
+ 'settings': SettingsGlyph,
287
+ 'shield': ShieldGlyph,
288
+ 'trash-2': Trash2Glyph,
289
+ 'unlock': UnlockGlyph,
290
+ 'upload': UploadGlyph,
291
+ 'user': UserGlyph,
292
+ 'wifi': WifiGlyph,
293
+ 'x-circle': XCircleGlyph,
294
+ 'x': XGlyph,
295
+ 'zap': ZapGlyph
296
+ };
@@ -156,15 +156,15 @@ export const benchmarkIconData = {
156
156
  opacity: 0.9
157
157
  }, {
158
158
  type: 'rect',
159
- x: -0.75,
160
- y: -4,
161
- width: 1.5,
162
- height: 5,
159
+ x: 0,
160
+ y: 0.25,
161
+ width: 5,
162
+ height: 1.5,
163
163
  fill: 'color',
164
164
  borderRadius: 1,
165
165
  opacity: 0.9,
166
- rotation: -45,
167
- rotateFromCenter: true
166
+ rotation: -135,
167
+ rotateFromCenter: false
168
168
  }, {
169
169
  type: 'circle',
170
170
  cx: 0,
@@ -3378,123 +3378,102 @@ export const sentryIconData = {
3378
3378
  color: SENTRY_ICON_COLOR,
3379
3379
  bgColor: '#000',
3380
3380
  elements: [{
3381
- type: 'circle',
3382
- cx: 0,
3383
- cy: 1,
3384
- r: 8,
3385
- fill: 'color',
3386
- opacity: 0.15
3387
- }, {
3388
- type: 'rect',
3389
- x: -6,
3390
- y: -4,
3391
- width: 12,
3392
- height: 14,
3393
- fill: 'color',
3394
- borderRadius: 6,
3395
- opacity: 0.9
3396
- }, {
3397
- type: 'rect',
3398
- x: -4,
3399
- y: -9,
3400
- width: 8,
3401
- height: 6,
3402
- fill: 'color',
3403
- borderRadius: 4,
3404
- opacity: 0.95
3381
+ type: 'arc',
3382
+ cx: -10.5,
3383
+ cy: 8.55,
3384
+ r: 14.3,
3385
+ startAngle: -60,
3386
+ endAngle: -0.4,
3387
+ segments: 24,
3388
+ strokeWidth: 1.54
3405
3389
  }, {
3406
- type: 'rect',
3407
- x: -3,
3408
- y: -12,
3409
- width: 0.8,
3410
- height: 4,
3411
- fill: 'color',
3412
- opacity: 0.7,
3413
- rotation: -15
3390
+ type: 'line',
3391
+ x1: -3.343,
3392
+ y1: -3.835,
3393
+ x2: -0.98,
3394
+ y2: -7.883,
3395
+ strokeWidth: 1.62
3414
3396
  }, {
3415
- type: 'circle',
3416
- cx: -4,
3417
- cy: -12,
3418
- r: 1.2,
3419
- fill: 'color',
3420
- opacity: 0.6
3397
+ type: 'semicircle',
3398
+ cx: 0,
3399
+ cy: -7.3,
3400
+ r: 1.96,
3401
+ half: 'top',
3402
+ fill: 'color'
3421
3403
  }, {
3422
- type: 'rect',
3423
- x: 2.2,
3424
- y: -12,
3425
- width: 0.8,
3426
- height: 4,
3427
- fill: 'color',
3428
- opacity: 0.7,
3429
- rotation: 15
3404
+ type: 'line',
3405
+ x1: 0.96,
3406
+ y1: -7.868,
3407
+ x2: 9.551,
3408
+ y2: 6.754,
3409
+ strokeWidth: 1.67
3430
3410
  }, {
3431
- type: 'circle',
3432
- cx: 4,
3433
- cy: -12,
3434
- r: 1.2,
3435
- fill: 'color',
3436
- opacity: 0.6
3411
+ type: 'semicircle',
3412
+ cx: 8.568,
3413
+ cy: 7.333,
3414
+ r: 1.977,
3415
+ half: 'right',
3416
+ fill: 'color'
3437
3417
  }, {
3438
3418
  type: 'rect',
3439
- x: -10,
3440
- y: -2,
3441
- width: 4,
3442
- height: 1,
3443
- fill: 'color',
3444
- opacity: 0.8,
3445
- rotation: -20
3419
+ x: 6.552,
3420
+ y: 7.657,
3421
+ width: 2.008,
3422
+ height: 1.6,
3423
+ fill: 'color'
3446
3424
  }, {
3447
- type: 'rect',
3448
- x: -10,
3449
- y: 1,
3450
- width: 4,
3451
- height: 1,
3452
- fill: 'color',
3453
- opacity: 0.8,
3454
- rotation: -10
3425
+ type: 'arc',
3426
+ cx: -10.5,
3427
+ cy: 8.55,
3428
+ r: 10.83,
3429
+ startAngle: -60,
3430
+ endAngle: -0.53,
3431
+ segments: 20,
3432
+ strokeWidth: 1.6
3455
3433
  }, {
3456
3434
  type: 'rect',
3457
- x: -10,
3458
- y: 4,
3459
- width: 4,
3460
- height: 1,
3461
- fill: 'color',
3462
- opacity: 0.8,
3463
- rotation: 10
3435
+ x: -0.521,
3436
+ y: 7.64,
3437
+ width: 5.17,
3438
+ height: 1.6,
3439
+ fill: 'color'
3464
3440
  }, {
3465
- type: 'rect',
3466
- x: 6,
3467
- y: -2,
3468
- width: 4,
3469
- height: 1,
3470
- fill: 'color',
3471
- opacity: 0.8,
3472
- rotation: 20
3441
+ type: 'line',
3442
+ x1: -5.086,
3443
+ y1: -0.823,
3444
+ x2: -6.791,
3445
+ y2: 2.125,
3446
+ strokeWidth: 1.62
3473
3447
  }, {
3474
- type: 'rect',
3475
- x: 6,
3476
- y: 1,
3477
- width: 4,
3478
- height: 1,
3479
- fill: 'color',
3480
- opacity: 0.8,
3481
- rotation: 10
3448
+ type: 'arc',
3449
+ cx: -10.5,
3450
+ cy: 8.55,
3451
+ r: 7.42,
3452
+ startAngle: -60,
3453
+ endAngle: -0.83,
3454
+ segments: 16,
3455
+ strokeWidth: 1.46
3456
+ }, {
3457
+ type: 'rect',
3458
+ x: -8.547,
3459
+ y: 7.631,
3460
+ width: 6.09,
3461
+ height: 1.609,
3462
+ fill: 'color'
3482
3463
  }, {
3483
- type: 'rect',
3484
- x: 6,
3485
- y: 4,
3486
- width: 4,
3487
- height: 1,
3488
- fill: 'color',
3489
- opacity: 0.8,
3490
- rotation: -10
3464
+ type: 'semicircle',
3465
+ cx: -8.547,
3466
+ cy: 7.308,
3467
+ r: 1.931,
3468
+ half: 'left',
3469
+ fill: 'color'
3491
3470
  }, {
3492
- type: 'circle',
3493
- cx: 0,
3494
- cy: 1,
3495
- r: 1,
3496
- fill: '#fff',
3497
- opacity: 0.3
3471
+ type: 'line',
3472
+ x1: -9.517,
3473
+ y1: 6.737,
3474
+ x2: -8.639,
3475
+ y2: 5.33,
3476
+ strokeWidth: 1.61
3498
3477
  }]
3499
3478
  };
3500
3479
 
@@ -30,15 +30,19 @@ const r2 = n => Math.round(n * 100) / 100;
30
30
 
31
31
  export const IconContainer = ({
32
32
  size,
33
- children
33
+ children,
34
+ style
34
35
  }) => {
35
- const style = {
36
+ const box = {
36
37
  position: 'relative',
37
38
  width: r2(size),
38
39
  height: r2(size)
39
40
  };
40
41
  return /*#__PURE__*/_jsx("div", {
41
- style: style,
42
+ style: {
43
+ ...box,
44
+ ...style
45
+ },
42
46
  children: children
43
47
  });
44
48
  };
@@ -291,14 +295,24 @@ const IconLineImpl = ({
291
295
  const segCenterX = (prev.x + pt.x) / 2;
292
296
  const segCenterY = (prev.y + pt.y) / 2;
293
297
 
294
- // A capsule: rounded ends butt against the neighbouring segment's, so
295
- // the joints read as a continuous stroke rather than a mitred polyline.
298
+ // A capsule per segment. Interior joints OVERLAP by half a stroke on each side (a
299
+ // capsule exactly segLength long shrinks to a blob when the segment is shorter than
300
+ // the stroke, and neighbouring round ends leave notches on the outside of a turn —
301
+ // the route-path icon rendered as dashes). The chain's two ends stay exactly at the
302
+ // authored endpoints so a curve is the same length as a straight line.
303
+ const extS = i > 1 ? strokeWidth / 2 : 0;
304
+ const extE = i < segments ? strokeWidth / 2 : 0;
305
+ const ux = segLength > 0 ? segDx / segLength : 0;
306
+ const uy = segLength > 0 ? segDy / segLength : 0;
307
+ const capLength = segLength + extS + extE;
308
+ const capCenterX = segCenterX + ux * (extE - extS) / 2;
309
+ const capCenterY = segCenterY + uy * (extE - extS) / 2;
296
310
  elements.push(/*#__PURE__*/_jsx("div", {
297
311
  style: {
298
312
  position: 'absolute',
299
- left: r2(segCenterX - segLength / 2),
300
- top: r2(segCenterY - strokeWidth / 2),
301
- width: r2(segLength),
313
+ left: r2(capCenterX - capLength / 2),
314
+ top: r2(capCenterY - strokeWidth / 2),
315
+ width: r2(capLength),
302
316
  height: r2(strokeWidth),
303
317
  borderRadius: r2(strokeWidth / 2),
304
318
  backgroundColor: stroke,
@@ -460,13 +474,19 @@ const IconArcImpl = ({
460
474
  const x2 = cx + r * Math.cos(rad2);
461
475
  const y2 = cy + r * Math.sin(rad2);
462
476
 
463
- // Calculate segment geometry
477
+ // Calculate segment geometry. Interior joints overlap by half a stroke (same reason
478
+ // as the curved-line chain above); the arc's two ends stay at the authored angles.
464
479
  const dx = x2 - x1;
465
480
  const dy = y2 - y1;
466
- const length = Math.sqrt(dx * dx + dy * dy);
481
+ const segLen = Math.sqrt(dx * dx + dy * dy);
467
482
  const angle = Math.atan2(dy, dx) * (180 / Math.PI);
468
- const midX = (x1 + x2) / 2;
469
- const midY = (y1 + y2) / 2;
483
+ const extS = i > 0 ? strokeWidth / 2 : 0;
484
+ const extE = i < numSegments - 1 ? strokeWidth / 2 : 0;
485
+ const ux = segLen > 0 ? dx / segLen : 0;
486
+ const uy = segLen > 0 ? dy / segLen : 0;
487
+ const length = segLen + extS + extE;
488
+ const midX = (x1 + x2) / 2 + ux * (extE - extS) / 2;
489
+ const midY = (y1 + y2) / 2 + uy * (extE - extS) / 2;
470
490
  const style = {
471
491
  position: 'absolute',
472
492
  left: r2(midX - length / 2),