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