@ixfx/components 0.2.4 → 0.2.5

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 (717) hide show
  1. package/bundle/index.d.ts +130 -130
  2. package/bundle/index.d.ts.map +1 -1
  3. package/bundle/index.js +2196 -2196
  4. package/bundle/index.js.map +1 -1
  5. package/dist/ac-text.d.ts +97 -0
  6. package/dist/ac-text.d.ts.map +1 -0
  7. package/dist/ac-text.js +484 -0
  8. package/dist/ac-text.js.map +1 -0
  9. package/dist/{button/button-styles.js → button-DgKUzE5o.js} +49 -3
  10. package/dist/button-DgKUzE5o.js.map +1 -0
  11. package/dist/button.d.ts +21 -0
  12. package/dist/button.d.ts.map +1 -0
  13. package/dist/button.js +3 -0
  14. package/dist/checkbox.d.ts +27 -57
  15. package/dist/checkbox.d.ts.map +1 -1
  16. package/dist/checkbox.js +74 -88
  17. package/dist/checkbox.js.map +1 -1
  18. package/dist/chunk-pbuEa-1d.js +13 -0
  19. package/dist/colour-C3MQIjFJ-BJV-QC-3.js +4138 -0
  20. package/dist/colour-C3MQIjFJ-BJV-QC-3.js.map +1 -0
  21. package/dist/colour-picker-Bw-AZoWx.js +922 -0
  22. package/dist/colour-picker-Bw-AZoWx.js.map +1 -0
  23. package/dist/colour-picker.d.ts +2 -0
  24. package/dist/colour-picker.js +2 -0
  25. package/dist/crumbs.d.ts +92 -0
  26. package/dist/crumbs.d.ts.map +1 -0
  27. package/dist/crumbs.js +789 -0
  28. package/dist/crumbs.js.map +1 -0
  29. package/dist/data-display.d.ts +23 -18
  30. package/dist/data-display.d.ts.map +1 -1
  31. package/dist/data-display.js +82 -108
  32. package/dist/data-display.js.map +1 -1
  33. package/dist/decorate-BZbkqIhA.js +9 -0
  34. package/dist/defaults-FEZaGiYZ.js +38 -0
  35. package/dist/defaults-FEZaGiYZ.js.map +1 -0
  36. package/dist/dist-By5URG0Y.js +1290 -0
  37. package/dist/dist-By5URG0Y.js.map +1 -0
  38. package/dist/dist-D7kJgnSE.js +1039 -0
  39. package/dist/dist-D7kJgnSE.js.map +1 -0
  40. package/dist/editable-label.d.ts +71 -0
  41. package/dist/editable-label.d.ts.map +1 -0
  42. package/dist/editable-label.js +279 -0
  43. package/dist/editable-label.js.map +1 -0
  44. package/dist/hex-editor-Gib1Grg2.d.ts +131 -0
  45. package/dist/hex-editor-Gib1Grg2.d.ts.map +1 -0
  46. package/dist/hex-editor-Wd6ZtZA2.js +1147 -0
  47. package/dist/hex-editor-Wd6ZtZA2.js.map +1 -0
  48. package/dist/hex.d.ts +2 -0
  49. package/dist/hex.js +2 -0
  50. package/dist/highlight-CAjwQ4GE.js +50 -0
  51. package/dist/highlight-CAjwQ4GE.js.map +1 -0
  52. package/dist/icon-BR5aTIiP.js +100 -0
  53. package/dist/icon-BR5aTIiP.js.map +1 -0
  54. package/dist/icon-DQKdfR7U.d.ts +36 -0
  55. package/dist/icon-DQKdfR7U.d.ts.map +1 -0
  56. package/dist/icons.d.ts +3 -0
  57. package/dist/icons.js +9 -0
  58. package/dist/icons.js.map +1 -0
  59. package/dist/incr-search-BjCNClnC.js +311 -0
  60. package/dist/incr-search-BjCNClnC.js.map +1 -0
  61. package/dist/incr-search.d.ts +2 -0
  62. package/dist/incr-search.js +3 -0
  63. package/dist/index-B1hNR7Z9.d.ts +36 -0
  64. package/dist/index-B1hNR7Z9.d.ts.map +1 -0
  65. package/dist/index-C5dK8RZa.d.ts +23 -0
  66. package/dist/index-C5dK8RZa.d.ts.map +1 -0
  67. package/dist/index-C9iBN908.d.ts +160 -0
  68. package/dist/index-C9iBN908.d.ts.map +1 -0
  69. package/dist/index-CPVcTTXo.d.ts +396 -0
  70. package/dist/index-CPVcTTXo.d.ts.map +1 -0
  71. package/dist/index-CQxanqXF.d.ts +183 -0
  72. package/dist/index-CQxanqXF.d.ts.map +1 -0
  73. package/dist/index-CpbBI3n7.d.ts +1239 -0
  74. package/dist/index-CpbBI3n7.d.ts.map +1 -0
  75. package/dist/index.d.ts +422 -53
  76. package/dist/index.d.ts.map +1 -1
  77. package/dist/index.js +5729 -54
  78. package/dist/index.js.map +1 -1
  79. package/dist/interaction-CQDQJf2Q.js +1 -0
  80. package/dist/keyboard-De_vOHLg.js +20 -0
  81. package/dist/keyboard-De_vOHLg.js.map +1 -0
  82. package/dist/labelled-input-base-DS6-6C0r.js +155 -0
  83. package/dist/labelled-input-base-DS6-6C0r.js.map +1 -0
  84. package/dist/labelled-input-base-DnRh4reU.d.ts +43 -0
  85. package/dist/labelled-input-base-DnRh4reU.d.ts.map +1 -0
  86. package/dist/labelled-radial-input.d.ts +34 -0
  87. package/dist/labelled-radial-input.d.ts.map +1 -0
  88. package/dist/labelled-radial-input.js +188 -0
  89. package/dist/labelled-radial-input.js.map +1 -0
  90. package/dist/labelled-range-input.d.ts +2 -0
  91. package/dist/{labelled-range-input/labelled-range-input.js → labelled-range-input.js} +40 -45
  92. package/dist/labelled-range-input.js.map +1 -0
  93. package/dist/led.d.ts +21 -16
  94. package/dist/led.d.ts.map +1 -1
  95. package/dist/led.js +70 -78
  96. package/dist/led.js.map +1 -1
  97. package/dist/menu-BV6UFx_z.js +813 -0
  98. package/dist/menu-BV6UFx_z.js.map +1 -0
  99. package/dist/menu-item-Cikacp4F.d.ts +128 -0
  100. package/dist/menu-item-Cikacp4F.d.ts.map +1 -0
  101. package/dist/menu-item-DEzL_Yjk.js +766 -0
  102. package/dist/menu-item-DEzL_Yjk.js.map +1 -0
  103. package/dist/menu.d.ts +3 -0
  104. package/dist/menu.js +3 -0
  105. package/dist/miller.d.ts +324 -0
  106. package/dist/miller.d.ts.map +1 -0
  107. package/dist/miller.js +1343 -0
  108. package/dist/miller.js.map +1 -0
  109. package/dist/narrowed-text.d.ts +72 -0
  110. package/dist/narrowed-text.d.ts.map +1 -0
  111. package/dist/narrowed-text.js +571 -0
  112. package/dist/narrowed-text.js.map +1 -0
  113. package/dist/panel.d.ts +43 -0
  114. package/dist/panel.d.ts.map +1 -0
  115. package/dist/{panel/panel.js → panel.js} +82 -91
  116. package/dist/panel.js.map +1 -0
  117. package/dist/plots.d.ts +2 -0
  118. package/dist/plots.js +2 -0
  119. package/dist/polar-pad.d.ts +67 -0
  120. package/dist/polar-pad.d.ts.map +1 -0
  121. package/dist/polar-pad.js +537 -0
  122. package/dist/polar-pad.js.map +1 -0
  123. package/dist/popup-Ddx9LCzY.js +24 -0
  124. package/dist/popup-Ddx9LCzY.js.map +1 -0
  125. package/dist/prominence-CreDBdCs.js +98 -0
  126. package/dist/prominence-CreDBdCs.js.map +1 -0
  127. package/dist/radial-input-CNJ8asY2.js +849 -0
  128. package/dist/radial-input-CNJ8asY2.js.map +1 -0
  129. package/dist/radial-input-xSTd4kEz.d.ts +70 -0
  130. package/dist/radial-input-xSTd4kEz.d.ts.map +1 -0
  131. package/dist/radial-input.d.ts +2 -0
  132. package/dist/radial-input.js +2 -0
  133. package/dist/range-input.d.ts +43 -0
  134. package/dist/range-input.d.ts.map +1 -0
  135. package/dist/{range-input/range-input.js → range-input.js} +155 -168
  136. package/dist/range-input.js.map +1 -0
  137. package/dist/range.d.ts +28 -0
  138. package/dist/range.d.ts.map +1 -0
  139. package/dist/range.js +136 -0
  140. package/dist/range.js.map +1 -0
  141. package/dist/registry-CZEB1YI9.js +21 -0
  142. package/dist/registry-CZEB1YI9.js.map +1 -0
  143. package/dist/selecthorizontal.d.ts +13 -8
  144. package/dist/selecthorizontal.d.ts.map +1 -1
  145. package/dist/selecthorizontal.js +19 -23
  146. package/dist/selecthorizontal.js.map +1 -1
  147. package/dist/snap-container.d.ts +50 -0
  148. package/dist/snap-container.d.ts.map +1 -0
  149. package/dist/snap-container.js +297 -0
  150. package/dist/snap-container.js.map +1 -0
  151. package/dist/{split-layout/split-layout.d.ts → split-layout.d.ts} +30 -25
  152. package/dist/split-layout.d.ts.map +1 -0
  153. package/dist/split-layout.js +545 -0
  154. package/dist/split-layout.js.map +1 -0
  155. package/dist/style.css +133 -0
  156. package/dist/swipe.d.ts +48 -0
  157. package/dist/swipe.d.ts.map +1 -0
  158. package/dist/swipe.js +204 -0
  159. package/dist/swipe.js.map +1 -0
  160. package/dist/tab-list-CFF7uSYH.d.ts +66 -0
  161. package/dist/tab-list-CFF7uSYH.d.ts.map +1 -0
  162. package/dist/tabs.d.ts +2 -0
  163. package/dist/tabs.js +203 -0
  164. package/dist/tabs.js.map +1 -0
  165. package/dist/tickled-controller-Cq1Va0rR.d.ts +218 -0
  166. package/dist/tickled-controller-Cq1Va0rR.d.ts.map +1 -0
  167. package/dist/tickled-styles-Bg3QbcrD.js +327 -0
  168. package/dist/tickled-styles-Bg3QbcrD.js.map +1 -0
  169. package/dist/timeline-DBWJsSjd.js +1748 -0
  170. package/dist/timeline-DBWJsSjd.js.map +1 -0
  171. package/dist/timeline.d.ts +2 -0
  172. package/dist/timeline.js +2 -0
  173. package/dist/{styles/tooltip.js → tooltip-DMxmBNky.js} +6 -2
  174. package/dist/tooltip-DMxmBNky.js.map +1 -0
  175. package/dist/tooltip-kfUBWYVB.d.ts +26 -0
  176. package/dist/tooltip-kfUBWYVB.d.ts.map +1 -0
  177. package/dist/tree-component-CQpoPo4s.d.ts +326 -0
  178. package/dist/tree-component-CQpoPo4s.d.ts.map +1 -0
  179. package/dist/tree-data-model-DGvRVOFY.js +190 -0
  180. package/dist/tree-data-model-DGvRVOFY.js.map +1 -0
  181. package/dist/tree.d.ts +100 -0
  182. package/dist/tree.d.ts.map +1 -0
  183. package/dist/tree.js +1144 -0
  184. package/dist/tree.js.map +1 -0
  185. package/dist/types-BKaqnpwx.d.ts +8 -0
  186. package/dist/types-BKaqnpwx.d.ts.map +1 -0
  187. package/dist/xy-axis-BANbgrI5.js +6243 -0
  188. package/dist/xy-axis-BANbgrI5.js.map +1 -0
  189. package/dist/xy-axis-CIFok7MF.d.ts +141 -0
  190. package/dist/xy-axis-CIFok7MF.d.ts.map +1 -0
  191. package/dist/xy-pad.d.ts +74 -110
  192. package/dist/xy-pad.d.ts.map +1 -1
  193. package/dist/xy-pad.js +300 -320
  194. package/dist/xy-pad.js.map +1 -1
  195. package/package.json +10 -18
  196. package/dist/ac-text/ac-text.d.ts +0 -99
  197. package/dist/ac-text/ac-text.d.ts.map +0 -1
  198. package/dist/ac-text/ac-text.js +0 -571
  199. package/dist/ac-text/ac-text.js.map +0 -1
  200. package/dist/button/button-styles.d.ts +0 -2
  201. package/dist/button/button-styles.d.ts.map +0 -1
  202. package/dist/button/button-styles.js.map +0 -1
  203. package/dist/button/button.d.ts +0 -16
  204. package/dist/button/button.d.ts.map +0 -1
  205. package/dist/button/button.js +0 -58
  206. package/dist/button/button.js.map +0 -1
  207. package/dist/button/radio-group.d.ts +0 -44
  208. package/dist/button/radio-group.d.ts.map +0 -1
  209. package/dist/button/radio-group.js +0 -385
  210. package/dist/button/radio-group.js.map +0 -1
  211. package/dist/button/split-button.d.ts +0 -59
  212. package/dist/button/split-button.d.ts.map +0 -1
  213. package/dist/button/split-button.js +0 -480
  214. package/dist/button/split-button.js.map +0 -1
  215. package/dist/button/types.d.ts +0 -18
  216. package/dist/button/types.d.ts.map +0 -1
  217. package/dist/button/types.js +0 -2
  218. package/dist/button/types.js.map +0 -1
  219. package/dist/colour-picker/colour-picker-popup.d.ts +0 -102
  220. package/dist/colour-picker/colour-picker-popup.d.ts.map +0 -1
  221. package/dist/colour-picker/colour-picker-popup.js +0 -399
  222. package/dist/colour-picker/colour-picker-popup.js.map +0 -1
  223. package/dist/colour-picker/colour-picker.d.ts +0 -100
  224. package/dist/colour-picker/colour-picker.d.ts.map +0 -1
  225. package/dist/colour-picker/colour-picker.js +0 -567
  226. package/dist/colour-picker/colour-picker.js.map +0 -1
  227. package/dist/colour-picker/index.d.ts +0 -4
  228. package/dist/colour-picker/index.d.ts.map +0 -1
  229. package/dist/colour-picker/index.js +0 -3
  230. package/dist/colour-picker/index.js.map +0 -1
  231. package/dist/colour-picker/styles.d.ts +0 -2
  232. package/dist/colour-picker/styles.d.ts.map +0 -1
  233. package/dist/colour-picker/styles.js +0 -139
  234. package/dist/colour-picker/styles.js.map +0 -1
  235. package/dist/colour-picker/types.d.ts +0 -33
  236. package/dist/colour-picker/types.d.ts.map +0 -1
  237. package/dist/colour-picker/types.js +0 -2
  238. package/dist/colour-picker/types.js.map +0 -1
  239. package/dist/colour-picker/util.d.ts +0 -15
  240. package/dist/colour-picker/util.d.ts.map +0 -1
  241. package/dist/colour-picker/util.js +0 -35
  242. package/dist/colour-picker/util.js.map +0 -1
  243. package/dist/common/searchable.d.ts +0 -9
  244. package/dist/common/searchable.d.ts.map +0 -1
  245. package/dist/common/searchable.js +0 -9
  246. package/dist/common/searchable.js.map +0 -1
  247. package/dist/common/tree-component.d.ts +0 -172
  248. package/dist/common/tree-component.d.ts.map +0 -1
  249. package/dist/common/tree-component.js +0 -8
  250. package/dist/common/tree-component.js.map +0 -1
  251. package/dist/common/tree-data-model.d.ts +0 -100
  252. package/dist/common/tree-data-model.d.ts.map +0 -1
  253. package/dist/common/tree-data-model.js +0 -207
  254. package/dist/common/tree-data-model.js.map +0 -1
  255. package/dist/common/tree-item.d.ts +0 -7
  256. package/dist/common/tree-item.d.ts.map +0 -1
  257. package/dist/common/tree-item.js +0 -2
  258. package/dist/common/tree-item.js.map +0 -1
  259. package/dist/common/types.d.ts +0 -69
  260. package/dist/common/types.d.ts.map +0 -1
  261. package/dist/common/types.js +0 -6
  262. package/dist/common/types.js.map +0 -1
  263. package/dist/crumbs/crumb-navigation.d.ts +0 -96
  264. package/dist/crumbs/crumb-navigation.d.ts.map +0 -1
  265. package/dist/crumbs/crumb-navigation.js +0 -911
  266. package/dist/crumbs/crumb-navigation.js.map +0 -1
  267. package/dist/crumbs/crumb-path-controller.d.ts +0 -18
  268. package/dist/crumbs/crumb-path-controller.d.ts.map +0 -1
  269. package/dist/crumbs/crumb-path-controller.js +0 -81
  270. package/dist/crumbs/crumb-path-controller.js.map +0 -1
  271. package/dist/crumbs/crumb-path.d.ts +0 -65
  272. package/dist/crumbs/crumb-path.d.ts.map +0 -1
  273. package/dist/crumbs/crumb-path.js +0 -691
  274. package/dist/crumbs/crumb-path.js.map +0 -1
  275. package/dist/editable-label/editable-label.d.ts +0 -98
  276. package/dist/editable-label/editable-label.d.ts.map +0 -1
  277. package/dist/editable-label/editable-label.js +0 -348
  278. package/dist/editable-label/editable-label.js.map +0 -1
  279. package/dist/editable-label/editable-number.d.ts +0 -96
  280. package/dist/editable-label/editable-number.d.ts.map +0 -1
  281. package/dist/editable-label/editable-number.js +0 -702
  282. package/dist/editable-label/editable-number.js.map +0 -1
  283. package/dist/hex/colour.d.ts +0 -6
  284. package/dist/hex/colour.d.ts.map +0 -1
  285. package/dist/hex/colour.js +0 -33
  286. package/dist/hex/colour.js.map +0 -1
  287. package/dist/hex/data.d.ts +0 -18
  288. package/dist/hex/data.d.ts.map +0 -1
  289. package/dist/hex/data.js +0 -61
  290. package/dist/hex/data.js.map +0 -1
  291. package/dist/hex/diff.d.ts +0 -14
  292. package/dist/hex/diff.d.ts.map +0 -1
  293. package/dist/hex/diff.js +0 -31
  294. package/dist/hex/diff.js.map +0 -1
  295. package/dist/hex/hex-editor.d.ts +0 -101
  296. package/dist/hex/hex-editor.d.ts.map +0 -1
  297. package/dist/hex/hex-editor.js +0 -894
  298. package/dist/hex/hex-editor.js.map +0 -1
  299. package/dist/hex/selection.d.ts +0 -11
  300. package/dist/hex/selection.d.ts.map +0 -1
  301. package/dist/hex/selection.js +0 -218
  302. package/dist/hex/selection.js.map +0 -1
  303. package/dist/hex/types.d.ts +0 -34
  304. package/dist/hex/types.d.ts.map +0 -1
  305. package/dist/hex/types.js +0 -4
  306. package/dist/hex/types.js.map +0 -1
  307. package/dist/icons/defaults.d.ts +0 -27
  308. package/dist/icons/defaults.d.ts.map +0 -1
  309. package/dist/icons/defaults.js +0 -34
  310. package/dist/icons/defaults.js.map +0 -1
  311. package/dist/icons/icon.d.ts +0 -31
  312. package/dist/icons/icon.d.ts.map +0 -1
  313. package/dist/icons/icon.js +0 -125
  314. package/dist/icons/icon.js.map +0 -1
  315. package/dist/icons/index.d.ts +0 -5
  316. package/dist/icons/index.d.ts.map +0 -1
  317. package/dist/icons/index.js +0 -6
  318. package/dist/icons/index.js.map +0 -1
  319. package/dist/icons/registry.d.ts +0 -11
  320. package/dist/icons/registry.d.ts.map +0 -1
  321. package/dist/icons/registry.js +0 -17
  322. package/dist/icons/registry.js.map +0 -1
  323. package/dist/incr-search/ac-adapter.d.ts +0 -18
  324. package/dist/incr-search/ac-adapter.d.ts.map +0 -1
  325. package/dist/incr-search/ac-adapter.js +0 -29
  326. package/dist/incr-search/ac-adapter.js.map +0 -1
  327. package/dist/incr-search/controller-miller.d.ts +0 -9
  328. package/dist/incr-search/controller-miller.d.ts.map +0 -1
  329. package/dist/incr-search/controller-miller.js +0 -8
  330. package/dist/incr-search/controller-miller.js.map +0 -1
  331. package/dist/incr-search/controller-tree.d.ts +0 -55
  332. package/dist/incr-search/controller-tree.d.ts.map +0 -1
  333. package/dist/incr-search/controller-tree.js +0 -106
  334. package/dist/incr-search/controller-tree.js.map +0 -1
  335. package/dist/incr-search/element-search.d.ts +0 -15
  336. package/dist/incr-search/element-search.d.ts.map +0 -1
  337. package/dist/incr-search/element-search.js +0 -82
  338. package/dist/incr-search/element-search.js.map +0 -1
  339. package/dist/incr-search/fuzzy.d.ts +0 -3
  340. package/dist/incr-search/fuzzy.d.ts.map +0 -1
  341. package/dist/incr-search/fuzzy.js +0 -37
  342. package/dist/incr-search/fuzzy.js.map +0 -1
  343. package/dist/incr-search/highlight.d.ts +0 -5
  344. package/dist/incr-search/highlight.d.ts.map +0 -1
  345. package/dist/incr-search/highlight.js +0 -54
  346. package/dist/incr-search/highlight.js.map +0 -1
  347. package/dist/incr-search/incr-search.d.ts +0 -3
  348. package/dist/incr-search/incr-search.d.ts.map +0 -1
  349. package/dist/incr-search/incr-search.js +0 -73
  350. package/dist/incr-search/incr-search.js.map +0 -1
  351. package/dist/incr-search/index.d.ts +0 -12
  352. package/dist/incr-search/index.d.ts.map +0 -1
  353. package/dist/incr-search/index.js +0 -8
  354. package/dist/incr-search/index.js.map +0 -1
  355. package/dist/incr-search/types.d.ts +0 -59
  356. package/dist/incr-search/types.d.ts.map +0 -1
  357. package/dist/incr-search/types.js +0 -2
  358. package/dist/incr-search/types.js.map +0 -1
  359. package/dist/interaction/index.d.ts +0 -10
  360. package/dist/interaction/index.d.ts.map +0 -1
  361. package/dist/interaction/index.js +0 -10
  362. package/dist/interaction/index.js.map +0 -1
  363. package/dist/interaction/tickled-controller.d.ts +0 -186
  364. package/dist/interaction/tickled-controller.d.ts.map +0 -1
  365. package/dist/interaction/tickled-controller.js +0 -256
  366. package/dist/interaction/tickled-controller.js.map +0 -1
  367. package/dist/interaction/tickled-styles.d.ts +0 -53
  368. package/dist/interaction/tickled-styles.d.ts.map +0 -1
  369. package/dist/interaction/tickled-styles.js +0 -106
  370. package/dist/interaction/tickled-styles.js.map +0 -1
  371. package/dist/interaction/tree-keyboard-controller.d.ts +0 -30
  372. package/dist/interaction/tree-keyboard-controller.d.ts.map +0 -1
  373. package/dist/interaction/tree-keyboard-controller.js +0 -105
  374. package/dist/interaction/tree-keyboard-controller.js.map +0 -1
  375. package/dist/keyboard.d.ts +0 -16
  376. package/dist/keyboard.d.ts.map +0 -1
  377. package/dist/keyboard.js +0 -22
  378. package/dist/keyboard.js.map +0 -1
  379. package/dist/labelled-radial-input/index.d.ts +0 -2
  380. package/dist/labelled-radial-input/index.d.ts.map +0 -1
  381. package/dist/labelled-radial-input/index.js +0 -2
  382. package/dist/labelled-radial-input/index.js.map +0 -1
  383. package/dist/labelled-radial-input/labelled-radial-input.d.ts +0 -77
  384. package/dist/labelled-radial-input/labelled-radial-input.d.ts.map +0 -1
  385. package/dist/labelled-radial-input/labelled-radial-input.js +0 -214
  386. package/dist/labelled-radial-input/labelled-radial-input.js.map +0 -1
  387. package/dist/labelled-range-input/index.d.ts +0 -2
  388. package/dist/labelled-range-input/index.d.ts.map +0 -1
  389. package/dist/labelled-range-input/index.js +0 -2
  390. package/dist/labelled-range-input/index.js.map +0 -1
  391. package/dist/labelled-range-input/labelled-range-input.d.ts +0 -80
  392. package/dist/labelled-range-input/labelled-range-input.d.ts.map +0 -1
  393. package/dist/labelled-range-input/labelled-range-input.js.map +0 -1
  394. package/dist/menu/index.d.ts +0 -14
  395. package/dist/menu/index.d.ts.map +0 -1
  396. package/dist/menu/index.js +0 -13
  397. package/dist/menu/index.js.map +0 -1
  398. package/dist/menu/menu-bar.d.ts +0 -23
  399. package/dist/menu/menu-bar.d.ts.map +0 -1
  400. package/dist/menu/menu-bar.js +0 -110
  401. package/dist/menu/menu-bar.js.map +0 -1
  402. package/dist/menu/menu-check-item.d.ts +0 -33
  403. package/dist/menu/menu-check-item.d.ts.map +0 -1
  404. package/dist/menu/menu-check-item.js +0 -175
  405. package/dist/menu/menu-check-item.js.map +0 -1
  406. package/dist/menu/menu-command-controller.d.ts +0 -14
  407. package/dist/menu/menu-command-controller.d.ts.map +0 -1
  408. package/dist/menu/menu-command-controller.js +0 -22
  409. package/dist/menu/menu-command-controller.js.map +0 -1
  410. package/dist/menu/menu-container.d.ts +0 -36
  411. package/dist/menu/menu-container.d.ts.map +0 -1
  412. package/dist/menu/menu-container.js +0 -351
  413. package/dist/menu/menu-container.js.map +0 -1
  414. package/dist/menu/menu-from-tree.d.ts +0 -17
  415. package/dist/menu/menu-from-tree.d.ts.map +0 -1
  416. package/dist/menu/menu-from-tree.js +0 -103
  417. package/dist/menu/menu-from-tree.js.map +0 -1
  418. package/dist/menu/menu-header.d.ts +0 -12
  419. package/dist/menu/menu-header.d.ts.map +0 -1
  420. package/dist/menu/menu-header.js +0 -36
  421. package/dist/menu/menu-header.js.map +0 -1
  422. package/dist/menu/menu-item.d.ts +0 -41
  423. package/dist/menu/menu-item.d.ts.map +0 -1
  424. package/dist/menu/menu-item.js +0 -240
  425. package/dist/menu/menu-item.js.map +0 -1
  426. package/dist/menu/menu-radio-group.d.ts +0 -24
  427. package/dist/menu/menu-radio-group.d.ts.map +0 -1
  428. package/dist/menu/menu-radio-group.js +0 -71
  429. package/dist/menu/menu-radio-group.js.map +0 -1
  430. package/dist/menu/menu-radio-item.d.ts +0 -22
  431. package/dist/menu/menu-radio-item.d.ts.map +0 -1
  432. package/dist/menu/menu-radio-item.js +0 -116
  433. package/dist/menu/menu-radio-item.js.map +0 -1
  434. package/dist/menu/menu-separator.d.ts +0 -11
  435. package/dist/menu/menu-separator.d.ts.map +0 -1
  436. package/dist/menu/menu-separator.js +0 -29
  437. package/dist/menu/menu-separator.js.map +0 -1
  438. package/dist/menu/menu-sub-trigger.d.ts +0 -46
  439. package/dist/menu/menu-sub-trigger.d.ts.map +0 -1
  440. package/dist/menu/menu-sub-trigger.js +0 -302
  441. package/dist/menu/menu-sub-trigger.js.map +0 -1
  442. package/dist/menu/menu-trigger.d.ts +0 -57
  443. package/dist/menu/menu-trigger.d.ts.map +0 -1
  444. package/dist/menu/menu-trigger.js +0 -351
  445. package/dist/menu/menu-trigger.js.map +0 -1
  446. package/dist/miller/index.d.ts +0 -5
  447. package/dist/miller/index.d.ts.map +0 -1
  448. package/dist/miller/index.js +0 -5
  449. package/dist/miller/index.js.map +0 -1
  450. package/dist/miller/miller-base.d.ts +0 -184
  451. package/dist/miller/miller-base.d.ts.map +0 -1
  452. package/dist/miller/miller-base.js +0 -1249
  453. package/dist/miller/miller-base.js.map +0 -1
  454. package/dist/miller/miller-list.d.ts +0 -30
  455. package/dist/miller/miller-list.d.ts.map +0 -1
  456. package/dist/miller/miller-list.js +0 -192
  457. package/dist/miller/miller-list.js.map +0 -1
  458. package/dist/miller/miller-tree-controller.d.ts +0 -58
  459. package/dist/miller/miller-tree-controller.d.ts.map +0 -1
  460. package/dist/miller/miller-tree-controller.js +0 -134
  461. package/dist/miller/miller-tree-controller.js.map +0 -1
  462. package/dist/miller/types.d.ts +0 -63
  463. package/dist/miller/types.d.ts.map +0 -1
  464. package/dist/miller/types.js +0 -6
  465. package/dist/miller/types.js.map +0 -1
  466. package/dist/mixins/labelled-input-base.d.ts +0 -38
  467. package/dist/mixins/labelled-input-base.d.ts.map +0 -1
  468. package/dist/mixins/labelled-input-base.js +0 -171
  469. package/dist/mixins/labelled-input-base.js.map +0 -1
  470. package/dist/mixins/labelled-input-util.d.ts +0 -3
  471. package/dist/mixins/labelled-input-util.d.ts.map +0 -1
  472. package/dist/mixins/labelled-input-util.js +0 -10
  473. package/dist/mixins/labelled-input-util.js.map +0 -1
  474. package/dist/my-element.d.ts +0 -14
  475. package/dist/my-element.d.ts.map +0 -1
  476. package/dist/my-element.js +0 -44
  477. package/dist/my-element.js.map +0 -1
  478. package/dist/narrowed-text/index.d.ts +0 -3
  479. package/dist/narrowed-text/index.d.ts.map +0 -1
  480. package/dist/narrowed-text/index.js +0 -3
  481. package/dist/narrowed-text/index.js.map +0 -1
  482. package/dist/narrowed-text/narrowed-text.d.ts +0 -48
  483. package/dist/narrowed-text/narrowed-text.d.ts.map +0 -1
  484. package/dist/narrowed-text/narrowed-text.js +0 -668
  485. package/dist/narrowed-text/narrowed-text.js.map +0 -1
  486. package/dist/narrowed-text/types.d.ts +0 -20
  487. package/dist/narrowed-text/types.d.ts.map +0 -1
  488. package/dist/narrowed-text/types.js +0 -2
  489. package/dist/narrowed-text/types.js.map +0 -1
  490. package/dist/panel/panel-group.d.ts +0 -23
  491. package/dist/panel/panel-group.d.ts.map +0 -1
  492. package/dist/panel/panel-group.js +0 -109
  493. package/dist/panel/panel-group.js.map +0 -1
  494. package/dist/panel/panel.d.ts +0 -39
  495. package/dist/panel/panel.d.ts.map +0 -1
  496. package/dist/panel/panel.js.map +0 -1
  497. package/dist/plots/colour-map.d.ts +0 -31
  498. package/dist/plots/colour-map.d.ts.map +0 -1
  499. package/dist/plots/colour-map.js +0 -133
  500. package/dist/plots/colour-map.js.map +0 -1
  501. package/dist/plots/data.d.ts +0 -27
  502. package/dist/plots/data.d.ts.map +0 -1
  503. package/dist/plots/data.js +0 -47
  504. package/dist/plots/data.js.map +0 -1
  505. package/dist/plots/single-axis.d.ts +0 -41
  506. package/dist/plots/single-axis.d.ts.map +0 -1
  507. package/dist/plots/single-axis.js +0 -428
  508. package/dist/plots/single-axis.js.map +0 -1
  509. package/dist/plots/svg-utils.d.ts +0 -12
  510. package/dist/plots/svg-utils.d.ts.map +0 -1
  511. package/dist/plots/svg-utils.js +0 -64
  512. package/dist/plots/svg-utils.js.map +0 -1
  513. package/dist/plots/xy-axis.d.ts +0 -42
  514. package/dist/plots/xy-axis.d.ts.map +0 -1
  515. package/dist/plots/xy-axis.js +0 -307
  516. package/dist/plots/xy-axis.js.map +0 -1
  517. package/dist/polar-pad/polar-pad.d.ts +0 -132
  518. package/dist/polar-pad/polar-pad.d.ts.map +0 -1
  519. package/dist/polar-pad/polar-pad.js +0 -598
  520. package/dist/polar-pad/polar-pad.js.map +0 -1
  521. package/dist/radial-input/radial-input.d.ts +0 -45
  522. package/dist/radial-input/radial-input.d.ts.map +0 -1
  523. package/dist/radial-input/radial-input.js +0 -692
  524. package/dist/radial-input/radial-input.js.map +0 -1
  525. package/dist/radial-input/svg-utils.d.ts +0 -147
  526. package/dist/radial-input/svg-utils.d.ts.map +0 -1
  527. package/dist/radial-input/svg-utils.js +0 -346
  528. package/dist/radial-input/svg-utils.js.map +0 -1
  529. package/dist/radial-input/types.d.ts +0 -25
  530. package/dist/radial-input/types.d.ts.map +0 -1
  531. package/dist/radial-input/types.js +0 -5
  532. package/dist/radial-input/types.js.map +0 -1
  533. package/dist/range/range-multi.d.ts +0 -62
  534. package/dist/range/range-multi.d.ts.map +0 -1
  535. package/dist/range/range-multi.js +0 -652
  536. package/dist/range/range-multi.js.map +0 -1
  537. package/dist/range/range.d.ts +0 -23
  538. package/dist/range/range.d.ts.map +0 -1
  539. package/dist/range/range.js +0 -153
  540. package/dist/range/range.js.map +0 -1
  541. package/dist/range-input/index.d.ts +0 -2
  542. package/dist/range-input/index.d.ts.map +0 -1
  543. package/dist/range-input/index.js +0 -2
  544. package/dist/range-input/index.js.map +0 -1
  545. package/dist/range-input/range-input.d.ts +0 -92
  546. package/dist/range-input/range-input.d.ts.map +0 -1
  547. package/dist/range-input/range-input.js.map +0 -1
  548. package/dist/snap-container/snap-container.d.ts +0 -45
  549. package/dist/snap-container/snap-container.d.ts.map +0 -1
  550. package/dist/snap-container/snap-container.js +0 -352
  551. package/dist/snap-container/snap-container.js.map +0 -1
  552. package/dist/split-layout/split-layout.d.ts.map +0 -1
  553. package/dist/split-layout/split-layout.js +0 -674
  554. package/dist/split-layout/split-layout.js.map +0 -1
  555. package/dist/styles/popup.d.ts +0 -11
  556. package/dist/styles/popup.d.ts.map +0 -1
  557. package/dist/styles/popup.js +0 -20
  558. package/dist/styles/popup.js.map +0 -1
  559. package/dist/styles/prominence.d.ts +0 -58
  560. package/dist/styles/prominence.d.ts.map +0 -1
  561. package/dist/styles/prominence.js +0 -94
  562. package/dist/styles/prominence.js.map +0 -1
  563. package/dist/styles/tooltip.d.ts +0 -2
  564. package/dist/styles/tooltip.d.ts.map +0 -1
  565. package/dist/styles/tooltip.js.map +0 -1
  566. package/dist/svg-edit-label.d.ts +0 -2
  567. package/dist/svg-edit-label.d.ts.map +0 -1
  568. package/dist/svg-edit-label.js +0 -110
  569. package/dist/svg-edit-label.js.map +0 -1
  570. package/dist/swipe/index.d.ts +0 -2
  571. package/dist/swipe/index.d.ts.map +0 -1
  572. package/dist/swipe/index.js +0 -2
  573. package/dist/swipe/index.js.map +0 -1
  574. package/dist/swipe/swipe.d.ts +0 -65
  575. package/dist/swipe/swipe.d.ts.map +0 -1
  576. package/dist/swipe/swipe.js +0 -229
  577. package/dist/swipe/swipe.js.map +0 -1
  578. package/dist/tabs/tab-layout-item.d.ts +0 -10
  579. package/dist/tabs/tab-layout-item.d.ts.map +0 -1
  580. package/dist/tabs/tab-layout-item.js +0 -20
  581. package/dist/tabs/tab-layout-item.js.map +0 -1
  582. package/dist/tabs/tab-layout.d.ts +0 -10
  583. package/dist/tabs/tab-layout.d.ts.map +0 -1
  584. package/dist/tabs/tab-layout.js +0 -25
  585. package/dist/tabs/tab-layout.js.map +0 -1
  586. package/dist/tabs/tab-list-item.d.ts +0 -34
  587. package/dist/tabs/tab-list-item.d.ts.map +0 -1
  588. package/dist/tabs/tab-list-item.js +0 -195
  589. package/dist/tabs/tab-list-item.js.map +0 -1
  590. package/dist/tabs/tab-list.d.ts +0 -31
  591. package/dist/tabs/tab-list.d.ts.map +0 -1
  592. package/dist/tabs/tab-list.js +0 -257
  593. package/dist/tabs/tab-list.js.map +0 -1
  594. package/dist/tabs/tab-panel.d.ts +0 -11
  595. package/dist/tabs/tab-panel.d.ts.map +0 -1
  596. package/dist/tabs/tab-panel.js +0 -30
  597. package/dist/tabs/tab-panel.js.map +0 -1
  598. package/dist/tabs/tab-panels.d.ts +0 -30
  599. package/dist/tabs/tab-panels.d.ts.map +0 -1
  600. package/dist/tabs/tab-panels.js +0 -80
  601. package/dist/tabs/tab-panels.js.map +0 -1
  602. package/dist/timeline/index.d.ts +0 -9
  603. package/dist/timeline/index.d.ts.map +0 -1
  604. package/dist/timeline/index.js +0 -8
  605. package/dist/timeline/index.js.map +0 -1
  606. package/dist/timeline/timeline-controller.d.ts +0 -48
  607. package/dist/timeline/timeline-controller.d.ts.map +0 -1
  608. package/dist/timeline/timeline-controller.js +0 -81
  609. package/dist/timeline/timeline-controller.js.map +0 -1
  610. package/dist/timeline/timeline-draw.d.ts +0 -28
  611. package/dist/timeline/timeline-draw.d.ts.map +0 -1
  612. package/dist/timeline/timeline-draw.js +0 -330
  613. package/dist/timeline/timeline-draw.js.map +0 -1
  614. package/dist/timeline/timeline-element.d.ts +0 -140
  615. package/dist/timeline/timeline-element.d.ts.map +0 -1
  616. package/dist/timeline/timeline-element.js +0 -888
  617. package/dist/timeline/timeline-element.js.map +0 -1
  618. package/dist/timeline/timeline-interactions.d.ts +0 -40
  619. package/dist/timeline/timeline-interactions.d.ts.map +0 -1
  620. package/dist/timeline/timeline-interactions.js +0 -393
  621. package/dist/timeline/timeline-interactions.js.map +0 -1
  622. package/dist/timeline/timeline-styles.d.ts +0 -2
  623. package/dist/timeline/timeline-styles.d.ts.map +0 -1
  624. package/dist/timeline/timeline-styles.js +0 -153
  625. package/dist/timeline/timeline-styles.js.map +0 -1
  626. package/dist/timeline/timeline-track-tabs.d.ts +0 -30
  627. package/dist/timeline/timeline-track-tabs.d.ts.map +0 -1
  628. package/dist/timeline/timeline-track-tabs.js +0 -204
  629. package/dist/timeline/timeline-track-tabs.js.map +0 -1
  630. package/dist/timeline/types.d.ts +0 -144
  631. package/dist/timeline/types.d.ts.map +0 -1
  632. package/dist/timeline/types.js +0 -3
  633. package/dist/timeline/types.js.map +0 -1
  634. package/dist/tree/index.d.ts +0 -5
  635. package/dist/tree/index.d.ts.map +0 -1
  636. package/dist/tree/index.js +0 -5
  637. package/dist/tree/index.js.map +0 -1
  638. package/dist/tree/tree-base.d.ts +0 -70
  639. package/dist/tree/tree-base.d.ts.map +0 -1
  640. package/dist/tree/tree-base.js +0 -1028
  641. package/dist/tree/tree-base.js.map +0 -1
  642. package/dist/tree/tree-controller.d.ts +0 -14
  643. package/dist/tree/tree-controller.d.ts.map +0 -1
  644. package/dist/tree/tree-controller.js +0 -96
  645. package/dist/tree/tree-controller.js.map +0 -1
  646. package/dist/tree/tree-list.d.ts +0 -20
  647. package/dist/tree/tree-list.d.ts.map +0 -1
  648. package/dist/tree/tree-list.js +0 -174
  649. package/dist/tree/tree-list.js.map +0 -1
  650. package/dist/tree/types.d.ts +0 -14
  651. package/dist/tree/types.d.ts.map +0 -1
  652. package/dist/tree/types.js +0 -7
  653. package/dist/tree/types.js.map +0 -1
  654. package/dist/util/checkbox.d.ts +0 -2
  655. package/dist/util/checkbox.d.ts.map +0 -1
  656. package/dist/util/checkbox.js +0 -69
  657. package/dist/util/checkbox.js.map +0 -1
  658. package/dist/util/circle-arc.d.ts +0 -34
  659. package/dist/util/circle-arc.d.ts.map +0 -1
  660. package/dist/util/circle-arc.js +0 -85
  661. package/dist/util/circle-arc.js.map +0 -1
  662. package/dist/util/clamp.d.ts +0 -4
  663. package/dist/util/clamp.d.ts.map +0 -1
  664. package/dist/util/clamp.js +0 -23
  665. package/dist/util/clamp.js.map +0 -1
  666. package/dist/util/compare.d.ts +0 -53
  667. package/dist/util/compare.d.ts.map +0 -1
  668. package/dist/util/compare.js +0 -91
  669. package/dist/util/compare.js.map +0 -1
  670. package/dist/util/content-editable.d.ts +0 -2
  671. package/dist/util/content-editable.d.ts.map +0 -1
  672. package/dist/util/content-editable.js +0 -13
  673. package/dist/util/content-editable.js.map +0 -1
  674. package/dist/util/coordinates.d.ts +0 -3
  675. package/dist/util/coordinates.d.ts.map +0 -1
  676. package/dist/util/coordinates.js +0 -11
  677. package/dist/util/coordinates.js.map +0 -1
  678. package/dist/util/drag.d.ts +0 -16
  679. package/dist/util/drag.d.ts.map +0 -1
  680. package/dist/util/drag.js +0 -20
  681. package/dist/util/drag.js.map +0 -1
  682. package/dist/util/is-numeric.d.ts +0 -2
  683. package/dist/util/is-numeric.d.ts.map +0 -1
  684. package/dist/util/is-numeric.js +0 -9
  685. package/dist/util/is-numeric.js.map +0 -1
  686. package/dist/util/key-value.d.ts +0 -5
  687. package/dist/util/key-value.d.ts.map +0 -1
  688. package/dist/util/key-value.js +0 -29
  689. package/dist/util/key-value.js.map +0 -1
  690. package/dist/util/near.d.ts +0 -2
  691. package/dist/util/near.d.ts.map +0 -1
  692. package/dist/util/near.js +0 -6
  693. package/dist/util/near.js.map +0 -1
  694. package/dist/util/primitive-types.d.ts +0 -6
  695. package/dist/util/primitive-types.d.ts.map +0 -1
  696. package/dist/util/primitive-types.js +0 -2
  697. package/dist/util/primitive-types.js.map +0 -1
  698. package/dist/util/svg-editable-text.d.ts +0 -26
  699. package/dist/util/svg-editable-text.d.ts.map +0 -1
  700. package/dist/util/svg-editable-text.js +0 -119
  701. package/dist/util/svg-editable-text.js.map +0 -1
  702. package/dist/util/time.d.ts +0 -2
  703. package/dist/util/time.d.ts.map +0 -1
  704. package/dist/util/time.js +0 -2
  705. package/dist/util/time.js.map +0 -1
  706. package/dist/util/tooltip-controller.d.ts +0 -10
  707. package/dist/util/tooltip-controller.d.ts.map +0 -1
  708. package/dist/util/tooltip-controller.js +0 -237
  709. package/dist/util/tooltip-controller.js.map +0 -1
  710. package/dist/util/tooltip.d.ts +0 -21
  711. package/dist/util/tooltip.d.ts.map +0 -1
  712. package/dist/util/tooltip.js +0 -98
  713. package/dist/util/tooltip.js.map +0 -1
  714. package/dist/util/value-drag.d.ts +0 -33
  715. package/dist/util/value-drag.d.ts.map +0 -1
  716. package/dist/util/value-drag.js +0 -154
  717. package/dist/util/value-drag.js.map +0 -1
package/dist/xy-pad.js CHANGED
@@ -1,192 +1,182 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
1
+ import { t as __decorate } from "./decorate-BZbkqIhA.js";
2
+ import { t as prominenceStyles } from "./prominence-CreDBdCs.js";
3
+ import { t as resolveStep } from "./keyboard-De_vOHLg.js";
4
+ import { LitElement, css, html } from "lit";
5
+ import { customElement, property } from "lit/decorators.js";
6
+ //#region src/xy-pad.ts
7
7
  /**
8
- * <x-xy-pad> — 2D touch-friendly XY pad for controlling two parameters.
9
- *
10
- * Generic pad that accepts min/max/value for both axes with configurable labels.
11
- * Each axis can independently use logarithmic or linear scaling.
12
- * Y axis is inverted (top = high value).
13
- *
14
- * Properties
15
- * xMin, xMax, x – horizontal range and current value
16
- * yMin, yMax, y – vertical range and current value
17
- * xScale, yScale – 'log' (default) or 'linear'
18
- * xSnapStep, ySnapStep – snap granularity for pointer and keyboard moves (defaults: 1 / 0.01)
19
- * xLabel, yLabel – axis labels (displayed in corners)
20
- * showCrosshairs – show X/Y axis lines (default: false)
21
- * showGrid – show background grid (default: false)
22
- *
23
- * CSS variables:
24
- * --marker-size – size of the position marker (default: 10cqb)
25
- * --crosshair-color – colour of both crosshair lines (default: surface-hh)
26
- * --crosshair-width – thickness of both crosshair lines (default: 2px)
27
- * --crosshair-x-color – colour of the vertical (X) crosshair line; falls back to --crosshair-color
28
- * --crosshair-x-width – thickness of the vertical (X) crosshair line; falls back to --crosshair-width
29
- * --crosshair-y-color – colour of the horizontal (Y) crosshair line; falls back to --crosshair-color
30
- * --crosshair-y-width – thickness of the horizontal (Y) crosshair line; falls back to --crosshair-width
31
- * --grid-color – colour of grid lines (default: surface-hh)
32
- * --grid-width – thickness of grid lines (default: 1px)
33
- * --x-pct – current X position as unitless number (0–100), set on host so external styles can use it
34
- * --y-pct – current Y position as unitless number (0–100), set on host so external styles can use it
35
- * --radius-pct – distance from center as unitless number (0–100), set on host so external styles can use it
36
- * hide-cursor – boolean, hide cursor during drag and hover (default: false)
37
- *
38
- * Events
39
- * input – CustomEvent { detail: { x: number, y: number } }, bubbles + composed, fires continuously during drag
40
- * change – CustomEvent { detail: { x: number, y: number } }, bubbles + composed, fires when drag ends
41
- *
42
- * Methods
43
- * getRelativeX() – returns X position as 0–1 fraction
44
- * getRelativeY() – returns Y position as 0–1 fraction
45
- * getPolar() – returns { radius: number, angle: number } where radius is 0–1 and angle is in radians (0 to 2π, 0 = right, clockwise)
46
- */
47
- import { css, html, LitElement } from 'lit';
48
- import { customElement, property } from 'lit/decorators.js';
49
- import { KEY_STEP_DIVISOR, resolveStep } from './keyboard.js';
50
- import { prominenceStyles } from './styles/prominence.js';
51
- // ---------------------------------------------------------------------------
52
- // Scale helpers — log or linear, selected per-axis
53
- // ---------------------------------------------------------------------------
8
+ * <x-xy-pad> — 2D touch-friendly XY pad for controlling two parameters.
9
+ *
10
+ * Generic pad that accepts min/max/value for both axes with configurable labels.
11
+ * Each axis can independently use logarithmic or linear scaling.
12
+ * Y axis is inverted (top = high value).
13
+ *
14
+ * Properties
15
+ * xMin, xMax, x – horizontal range and current value
16
+ * yMin, yMax, y – vertical range and current value
17
+ * xScale, yScale – 'log' (default) or 'linear'
18
+ * xSnapStep, ySnapStep – snap granularity for pointer and keyboard moves (defaults: 1 / 0.01)
19
+ * xLabel, yLabel – axis labels (displayed in corners)
20
+ * showCrosshairs – show X/Y axis lines (default: false)
21
+ * showGrid – show background grid (default: false)
22
+ *
23
+ * CSS variables:
24
+ * --marker-size – size of the position marker (default: 10cqb)
25
+ * --crosshair-color – colour of both crosshair lines (default: surface-hh)
26
+ * --crosshair-width – thickness of both crosshair lines (default: 2px)
27
+ * --crosshair-x-color – colour of the vertical (X) crosshair line; falls back to --crosshair-color
28
+ * --crosshair-x-width – thickness of the vertical (X) crosshair line; falls back to --crosshair-width
29
+ * --crosshair-y-color – colour of the horizontal (Y) crosshair line; falls back to --crosshair-color
30
+ * --crosshair-y-width – thickness of the horizontal (Y) crosshair line; falls back to --crosshair-width
31
+ * --grid-color – colour of grid lines (default: surface-hh)
32
+ * --grid-width – thickness of grid lines (default: 1px)
33
+ * --x-pct – current X position as unitless number (0–100), set on host so external styles can use it
34
+ * --y-pct – current Y position as unitless number (0–100), set on host so external styles can use it
35
+ * --radius-pct – distance from center as unitless number (0–100), set on host so external styles can use it
36
+ * hide-cursor – boolean, hide cursor during drag and hover (default: false)
37
+ *
38
+ * Events
39
+ * input – CustomEvent { detail: { x: number, y: number } }, bubbles + composed, fires continuously during drag
40
+ * change – CustomEvent { detail: { x: number, y: number } }, bubbles + composed, fires when drag ends
41
+ *
42
+ * Methods
43
+ * getRelativeX() – returns X position as 0–1 fraction
44
+ * getRelativeY() – returns Y position as 0–1 fraction
45
+ * getPolar() – returns { radius: number, angle: number } where radius is 0–1 and angle is in radians (0 to 2π, 0 = right, clockwise)
46
+ */
54
47
  function valueToFrac(value, min, max, scale) {
55
- if (scale === `linear`)
56
- return (value - min) / (max - min);
57
- return Math.log(value / min) / Math.log(max / min);
48
+ if (scale === `linear`) return (value - min) / (max - min);
49
+ return Math.log(value / min) / Math.log(max / min);
58
50
  }
59
51
  function fracToValue(frac, min, max, scale) {
60
- if (scale === `linear`)
61
- return min + frac * (max - min);
62
- return min * (max / min) ** frac;
52
+ if (scale === `linear`) return min + frac * (max - min);
53
+ return min * (max / min) ** frac;
63
54
  }
64
55
  function quantise(value, min, max, stops) {
65
- if (!stops || stops <= 1)
66
- return value;
67
- const range = max - min;
68
- const step = range / stops;
69
- return Math.round((value - min) / step) * step + min;
56
+ if (!stops || stops <= 1) return value;
57
+ const step = (max - min) / stops;
58
+ return Math.round((value - min) / step) * step + min;
70
59
  }
71
60
  let XyPad = class XyPad extends LitElement {
72
- constructor() {
73
- super(...arguments);
74
- this.xMin = 1;
75
- this.xMax = 100;
76
- this.x = 50;
77
- this.yMin = 1;
78
- this.yMax = 100;
79
- this.y = 50;
80
- this.xScale = `linear`;
81
- this.yScale = `linear`;
82
- this.xLabel = `X`;
83
- this.yLabel = `Y`;
84
- this.showCrosshairs = false;
85
- this.showGrid = false;
86
- this.hideCursor = false;
87
- this.disabled = false;
88
- this._dragging = false;
89
- this._dragStartX = 0;
90
- this._dragStartY = 0;
91
- this._pressedKeys = new Set();
92
- this._onKeyDown = (e) => {
93
- if (this.disabled)
94
- return;
95
- if ([`ArrowLeft`, `ArrowRight`, `ArrowUp`, `ArrowDown`].includes(e.key)) {
96
- e.preventDefault();
97
- this._pressedKeys.add(e.key);
98
- this._handleKeyboardMove(e.shiftKey);
99
- }
100
- else if (e.key === `Home` || e.key === `End`) {
101
- e.preventDefault();
102
- const newX = e.key === `Home` ? this.xMin : this.xMax;
103
- const newY = e.key === `Home` ? this.yMin : this.yMax;
104
- if (newX !== this.x || newY !== this.y) {
105
- this.x = newX;
106
- this.y = newY;
107
- this.dispatchEvent(new CustomEvent(`input`, {
108
- detail: { x: this.x, y: this.y },
109
- bubbles: true,
110
- composed: true,
111
- }));
112
- }
113
- }
114
- };
115
- this._onKeyUp = (e) => {
116
- this._pressedKeys.delete(e.key);
117
- };
118
- this._handleKeyboardMove = (shiftKey) => {
119
- const shiftDivisor = shiftKey ? KEY_STEP_DIVISOR : 1;
120
- const xRange = this.xMax - this.xMin;
121
- const yRange = this.yMax - this.yMin;
122
- const effectiveStopsX = this.stopsX ?? this.stops;
123
- const effectiveStopsY = this.stopsY ?? this.stops;
124
- const xStep = resolveStep(xRange, effectiveStopsX, undefined) / shiftDivisor;
125
- const yStep = resolveStep(yRange, effectiveStopsY, undefined) / shiftDivisor;
126
- let newX = this.x;
127
- let newY = this.y;
128
- if (this._pressedKeys.has(`ArrowLeft`)) {
129
- newX = Math.max(this.xMin, this.x - xStep);
130
- }
131
- if (this._pressedKeys.has(`ArrowRight`)) {
132
- newX = Math.min(this.xMax, this.x + xStep);
133
- }
134
- if (this._pressedKeys.has(`ArrowUp`)) {
135
- newY = Math.min(this.yMax, this.y + yStep);
136
- }
137
- if (this._pressedKeys.has(`ArrowDown`)) {
138
- newY = Math.max(this.yMin, this.y - yStep);
139
- }
140
- if (newX !== this.x || newY !== this.y) {
141
- let finalX = (this.xSnapStep && this.xSnapStep > 0) ? Math.round(newX / this.xSnapStep) * this.xSnapStep : newX;
142
- let finalY = (this.ySnapStep && this.ySnapStep > 0) ? Math.round(newY / this.ySnapStep) * this.ySnapStep : newY;
143
- finalX = quantise(finalX, this.xMin, this.xMax, effectiveStopsX);
144
- finalY = quantise(finalY, this.yMin, this.yMax, effectiveStopsY);
145
- this.x = finalX;
146
- this.y = finalY;
147
- this.dispatchEvent(new CustomEvent(`input`, {
148
- detail: { x: this.x, y: this.y },
149
- bubbles: true,
150
- composed: true,
151
- }));
152
- }
153
- };
154
- this._onPointerDown = (e) => {
155
- e.preventDefault();
156
- const pad = this.renderRoot.querySelector(`.xy-pad-area`);
157
- pad?.focus();
158
- if (pad)
159
- pad.setPointerCapture(e.pointerId);
160
- this._dragging = true;
161
- this._dragStartX = this.x;
162
- this._dragStartY = this.y;
163
- this.setAttribute(`dragging`, ``);
164
- this._updateFromPointer(e);
165
- globalThis.addEventListener(`pointermove`, this._onPointerMove);
166
- globalThis.addEventListener(`pointerup`, this._onPointerUp);
167
- };
168
- this._onPointerMove = (e) => {
169
- if (!this._dragging)
170
- return;
171
- e.preventDefault();
172
- this._updateFromPointer(e);
173
- };
174
- this._onPointerUp = () => {
175
- const hasChanged = this.x !== this._dragStartX || this.y !== this._dragStartY;
176
- this._dragging = false;
177
- this.removeAttribute(`dragging`);
178
- globalThis.removeEventListener(`pointermove`, this._onPointerMove);
179
- globalThis.removeEventListener(`pointerup`, this._onPointerUp);
180
- if (hasChanged) {
181
- this.dispatchEvent(new CustomEvent(`change`, {
182
- detail: { x: this.x, y: this.y },
183
- bubbles: true,
184
- composed: true,
185
- }));
186
- }
187
- };
188
- }
189
- static { this.styles = [prominenceStyles, css `
61
+ constructor(..._args) {
62
+ super(..._args);
63
+ this.xMin = 1;
64
+ this.xMax = 100;
65
+ this.x = 50;
66
+ this.yMin = 1;
67
+ this.yMax = 100;
68
+ this.y = 50;
69
+ this.xScale = `linear`;
70
+ this.yScale = `linear`;
71
+ this.xLabel = `X`;
72
+ this.yLabel = `Y`;
73
+ this.showCrosshairs = false;
74
+ this.showGrid = false;
75
+ this.hideCursor = false;
76
+ this.disabled = false;
77
+ this._dragging = false;
78
+ this._dragStartX = 0;
79
+ this._dragStartY = 0;
80
+ this._pressedKeys = /* @__PURE__ */ new Set();
81
+ this._onKeyDown = (e) => {
82
+ if (this.disabled) return;
83
+ if ([
84
+ `ArrowLeft`,
85
+ `ArrowRight`,
86
+ `ArrowUp`,
87
+ `ArrowDown`
88
+ ].includes(e.key)) {
89
+ e.preventDefault();
90
+ this._pressedKeys.add(e.key);
91
+ this._handleKeyboardMove(e.shiftKey);
92
+ } else if (e.key === `Home` || e.key === `End`) {
93
+ e.preventDefault();
94
+ const newX = e.key === `Home` ? this.xMin : this.xMax;
95
+ const newY = e.key === `Home` ? this.yMin : this.yMax;
96
+ if (newX !== this.x || newY !== this.y) {
97
+ this.x = newX;
98
+ this.y = newY;
99
+ this.dispatchEvent(new CustomEvent(`input`, {
100
+ detail: {
101
+ x: this.x,
102
+ y: this.y
103
+ },
104
+ bubbles: true,
105
+ composed: true
106
+ }));
107
+ }
108
+ }
109
+ };
110
+ this._onKeyUp = (e) => {
111
+ this._pressedKeys.delete(e.key);
112
+ };
113
+ this._handleKeyboardMove = (shiftKey) => {
114
+ const shiftDivisor = shiftKey ? 10 : 1;
115
+ const xRange = this.xMax - this.xMin;
116
+ const yRange = this.yMax - this.yMin;
117
+ const effectiveStopsX = this.stopsX ?? this.stops;
118
+ const effectiveStopsY = this.stopsY ?? this.stops;
119
+ const xStep = resolveStep(xRange, effectiveStopsX, void 0) / shiftDivisor;
120
+ const yStep = resolveStep(yRange, effectiveStopsY, void 0) / shiftDivisor;
121
+ let newX = this.x;
122
+ let newY = this.y;
123
+ if (this._pressedKeys.has(`ArrowLeft`)) newX = Math.max(this.xMin, this.x - xStep);
124
+ if (this._pressedKeys.has(`ArrowRight`)) newX = Math.min(this.xMax, this.x + xStep);
125
+ if (this._pressedKeys.has(`ArrowUp`)) newY = Math.min(this.yMax, this.y + yStep);
126
+ if (this._pressedKeys.has(`ArrowDown`)) newY = Math.max(this.yMin, this.y - yStep);
127
+ if (newX !== this.x || newY !== this.y) {
128
+ let finalX = this.xSnapStep && this.xSnapStep > 0 ? Math.round(newX / this.xSnapStep) * this.xSnapStep : newX;
129
+ let finalY = this.ySnapStep && this.ySnapStep > 0 ? Math.round(newY / this.ySnapStep) * this.ySnapStep : newY;
130
+ finalX = quantise(finalX, this.xMin, this.xMax, effectiveStopsX);
131
+ finalY = quantise(finalY, this.yMin, this.yMax, effectiveStopsY);
132
+ this.x = finalX;
133
+ this.y = finalY;
134
+ this.dispatchEvent(new CustomEvent(`input`, {
135
+ detail: {
136
+ x: this.x,
137
+ y: this.y
138
+ },
139
+ bubbles: true,
140
+ composed: true
141
+ }));
142
+ }
143
+ };
144
+ this._onPointerDown = (e) => {
145
+ e.preventDefault();
146
+ const pad = this.renderRoot.querySelector(`.xy-pad-area`);
147
+ pad?.focus();
148
+ if (pad) pad.setPointerCapture(e.pointerId);
149
+ this._dragging = true;
150
+ this._dragStartX = this.x;
151
+ this._dragStartY = this.y;
152
+ this.setAttribute(`dragging`, ``);
153
+ this._updateFromPointer(e);
154
+ globalThis.addEventListener(`pointermove`, this._onPointerMove);
155
+ globalThis.addEventListener(`pointerup`, this._onPointerUp);
156
+ };
157
+ this._onPointerMove = (e) => {
158
+ if (!this._dragging) return;
159
+ e.preventDefault();
160
+ this._updateFromPointer(e);
161
+ };
162
+ this._onPointerUp = () => {
163
+ const hasChanged = this.x !== this._dragStartX || this.y !== this._dragStartY;
164
+ this._dragging = false;
165
+ this.removeAttribute(`dragging`);
166
+ globalThis.removeEventListener(`pointermove`, this._onPointerMove);
167
+ globalThis.removeEventListener(`pointerup`, this._onPointerUp);
168
+ if (hasChanged) this.dispatchEvent(new CustomEvent(`change`, {
169
+ detail: {
170
+ x: this.x,
171
+ y: this.y
172
+ },
173
+ bubbles: true,
174
+ composed: true
175
+ }));
176
+ };
177
+ }
178
+ static {
179
+ this.styles = [prominenceStyles, css`
190
180
  :host {
191
181
  display: block;
192
182
  width: 200px;
@@ -300,156 +290,146 @@ let XyPad = class XyPad extends LitElement {
300
290
  height:100%;
301
291
  text-align:center;
302
292
  }
303
- `]; }
304
- _updateFromPointer(e) {
305
- const pad = this.renderRoot.querySelector(`.xy-pad-area`);
306
- if (!pad)
307
- return;
308
- const rect = pad.getBoundingClientRect();
309
- const xFrac = Math.max(0, Math.min(1, (e.clientX - rect.left) / rect.width));
310
- const yFrac = Math.max(0, Math.min(1, 1 - (e.clientY - rect.top) / rect.height));
311
- const newX = fracToValue(xFrac, this.xMin, this.xMax, this.xScale);
312
- const newY = fracToValue(yFrac, this.yMin, this.yMax, this.yScale);
313
- let finalX = (this.xSnapStep && this.xSnapStep > 0) ? Math.round(newX / this.xSnapStep) * this.xSnapStep : newX;
314
- let finalY = (this.ySnapStep && this.ySnapStep > 0) ? Math.round(newY / this.ySnapStep) * this.ySnapStep : newY;
315
- const effectiveStopsX = this.stopsX ?? this.stops;
316
- const effectiveStopsY = this.stopsY ?? this.stops;
317
- finalX = quantise(finalX, this.xMin, this.xMax, effectiveStopsX);
318
- finalY = quantise(finalY, this.yMin, this.yMax, effectiveStopsY);
319
- this.x = finalX;
320
- this.y = finalY;
321
- this.dispatchEvent(new CustomEvent(`input`, {
322
- detail: { x: this.x, y: this.y },
323
- bubbles: true,
324
- composed: true,
325
- }));
326
- }
327
- _setPctVars() {
328
- const cx = Math.max(this.xMin, Math.min(this.xMax, this.x));
329
- const cy = Math.max(this.yMin, Math.min(this.yMax, this.y));
330
- const xPct = valueToFrac(cx, this.xMin, this.xMax, this.xScale) * 100;
331
- const yPct = valueToFrac(cy, this.yMin, this.yMax, this.yScale) * 100;
332
- this.style.setProperty(`--x-pct`, `${xPct}`);
333
- this.style.setProperty(`--y-pct`, `${yPct}`);
334
- // Calculate radius from center (50, 50) - distance as 0-100
335
- const dx = xPct - 50;
336
- const dy = yPct - 50;
337
- const radiusPct = Math.sqrt(dx * dx + dy * dy);
338
- this.style.setProperty(`--radius-pct`, `${radiusPct}`);
339
- }
340
- // ── Public API ─────────────────────────────────────────────────────────────
341
- /**
342
- * Returns X position as a 0–1 fraction.
343
- */
344
- getRelativeX() {
345
- const cx = Math.max(this.xMin, Math.min(this.xMax, this.x));
346
- return valueToFrac(cx, this.xMin, this.xMax, this.xScale);
347
- }
348
- /**
349
- * Returns Y position as a 0–1 fraction.
350
- */
351
- getRelativeY() {
352
- const cy = Math.max(this.yMin, Math.min(this.yMax, this.y));
353
- return valueToFrac(cy, this.yMin, this.yMax, this.yScale);
354
- }
355
- /**
356
- * Returns polar coordinates.
357
- * - radius: 0–1 distance from center
358
- * - angle: radians, 0 = right, clockwise (0 to 2π)
359
- */
360
- getPolar() {
361
- const xRel = this.getRelativeX() - 0.5; // -0.5 to 0.5
362
- const yRel = this.getRelativeY() - 0.5; // -0.5 to 0.5
363
- const radius = Math.sqrt(xRel * xRel + yRel * yRel) * 2; // 0 to 1
364
- let angle = Math.atan2(yRel, xRel); // to π
365
- if (angle < 0)
366
- angle += 2 * Math.PI; // 0 to 2π
367
- return { radius, angle };
368
- }
369
- updated(_changed) {
370
- super.updated(_changed);
371
- this._setPctVars();
372
- }
373
- disconnectedCallback() {
374
- super.disconnectedCallback();
375
- this._onPointerUp();
376
- this._pressedKeys.clear();
377
- }
378
- render() {
379
- return html `
293
+ `];
294
+ }
295
+ _updateFromPointer(e) {
296
+ const pad = this.renderRoot.querySelector(`.xy-pad-area`);
297
+ if (!pad) return;
298
+ const rect = pad.getBoundingClientRect();
299
+ const xFrac = Math.max(0, Math.min(1, (e.clientX - rect.left) / rect.width));
300
+ const yFrac = Math.max(0, Math.min(1, 1 - (e.clientY - rect.top) / rect.height));
301
+ const newX = fracToValue(xFrac, this.xMin, this.xMax, this.xScale);
302
+ const newY = fracToValue(yFrac, this.yMin, this.yMax, this.yScale);
303
+ let finalX = this.xSnapStep && this.xSnapStep > 0 ? Math.round(newX / this.xSnapStep) * this.xSnapStep : newX;
304
+ let finalY = this.ySnapStep && this.ySnapStep > 0 ? Math.round(newY / this.ySnapStep) * this.ySnapStep : newY;
305
+ const effectiveStopsX = this.stopsX ?? this.stops;
306
+ const effectiveStopsY = this.stopsY ?? this.stops;
307
+ finalX = quantise(finalX, this.xMin, this.xMax, effectiveStopsX);
308
+ finalY = quantise(finalY, this.yMin, this.yMax, effectiveStopsY);
309
+ this.x = finalX;
310
+ this.y = finalY;
311
+ this.dispatchEvent(new CustomEvent(`input`, {
312
+ detail: {
313
+ x: this.x,
314
+ y: this.y
315
+ },
316
+ bubbles: true,
317
+ composed: true
318
+ }));
319
+ }
320
+ _setPctVars() {
321
+ const cx = Math.max(this.xMin, Math.min(this.xMax, this.x));
322
+ const cy = Math.max(this.yMin, Math.min(this.yMax, this.y));
323
+ const xPct = valueToFrac(cx, this.xMin, this.xMax, this.xScale) * 100;
324
+ const yPct = valueToFrac(cy, this.yMin, this.yMax, this.yScale) * 100;
325
+ this.style.setProperty(`--x-pct`, `${xPct}`);
326
+ this.style.setProperty(`--y-pct`, `${yPct}`);
327
+ const dx = xPct - 50;
328
+ const dy = yPct - 50;
329
+ const radiusPct = Math.sqrt(dx * dx + dy * dy);
330
+ this.style.setProperty(`--radius-pct`, `${radiusPct}`);
331
+ }
332
+ /**
333
+ * Returns X position as a 0–1 fraction.
334
+ */
335
+ getRelativeX() {
336
+ return valueToFrac(Math.max(this.xMin, Math.min(this.xMax, this.x)), this.xMin, this.xMax, this.xScale);
337
+ }
338
+ /**
339
+ * Returns Y position as a 0–1 fraction.
340
+ */
341
+ getRelativeY() {
342
+ return valueToFrac(Math.max(this.yMin, Math.min(this.yMax, this.y)), this.yMin, this.yMax, this.yScale);
343
+ }
344
+ /**
345
+ * Returns polar coordinates.
346
+ * - radius: 0–1 distance from center
347
+ * - angle: radians, 0 = right, clockwise (0 to 2π)
348
+ */
349
+ getPolar() {
350
+ const xRel = this.getRelativeX() - .5;
351
+ const yRel = this.getRelativeY() - .5;
352
+ const radius = Math.sqrt(xRel * xRel + yRel * yRel) * 2;
353
+ let angle = Math.atan2(yRel, xRel);
354
+ if (angle < 0) angle += 2 * Math.PI;
355
+ return {
356
+ radius,
357
+ angle
358
+ };
359
+ }
360
+ updated(_changed) {
361
+ super.updated(_changed);
362
+ this._setPctVars();
363
+ }
364
+ disconnectedCallback() {
365
+ super.disconnectedCallback();
366
+ this._onPointerUp();
367
+ this._pressedKeys.clear();
368
+ }
369
+ render() {
370
+ return html`
380
371
  <div class="xy-pad-area"
381
372
  tabindex=${this.disabled ? -1 : 0}
382
373
  @pointerdown=${this._onPointerDown}
383
374
  @keydown=${this._onKeyDown}
384
375
  @keyup=${this._onKeyUp}
385
376
  @blur=${() => this._pressedKeys.clear()}>
386
- ${this.showGrid ? html `<div class="xy-pad-grid"></div>` : ``}
377
+ ${this.showGrid ? html`<div class="xy-pad-grid"></div>` : ``}
387
378
  <div class="xy-pad-marker"></div>
388
379
  <div class="xy-pad-label-x">${this.xLabel}</div>
389
380
  <div class="xy-pad-label-y">${this.yLabel}</div>
390
381
  </div>
391
382
  `;
392
- }
383
+ }
393
384
  };
394
- __decorate([
395
- property({ type: Number })
396
- ], XyPad.prototype, "xMin", void 0);
397
- __decorate([
398
- property({ type: Number })
399
- ], XyPad.prototype, "xMax", void 0);
400
- __decorate([
401
- property({ type: Number })
402
- ], XyPad.prototype, "x", void 0);
403
- __decorate([
404
- property({ type: Number })
405
- ], XyPad.prototype, "yMin", void 0);
406
- __decorate([
407
- property({ type: Number })
408
- ], XyPad.prototype, "yMax", void 0);
409
- __decorate([
410
- property({ type: Number })
411
- ], XyPad.prototype, "y", void 0);
412
- __decorate([
413
- property({ type: String })
414
- ], XyPad.prototype, "xScale", void 0);
415
- __decorate([
416
- property({ type: String })
417
- ], XyPad.prototype, "yScale", void 0);
418
- __decorate([
419
- property({ type: Number, attribute: `x-snap-step` })
420
- ], XyPad.prototype, "xSnapStep", void 0);
421
- __decorate([
422
- property({ type: Number, attribute: `y-snap-step` })
423
- ], XyPad.prototype, "ySnapStep", void 0);
424
- __decorate([
425
- property({ type: String })
426
- ], XyPad.prototype, "xLabel", void 0);
427
- __decorate([
428
- property({ type: String })
429
- ], XyPad.prototype, "yLabel", void 0);
430
- __decorate([
431
- property({ type: Boolean, reflect: true, attribute: `show-crosshairs` })
432
- ], XyPad.prototype, "showCrosshairs", void 0);
433
- __decorate([
434
- property({ type: Boolean, reflect: true, attribute: `show-grid` })
435
- ], XyPad.prototype, "showGrid", void 0);
436
- __decorate([
437
- property({ type: Boolean, reflect: true, attribute: `hide-cursor` })
438
- ], XyPad.prototype, "hideCursor", void 0);
439
- __decorate([
440
- property({ type: Boolean, reflect: true })
441
- ], XyPad.prototype, "disabled", void 0);
442
- __decorate([
443
- property({ type: Number })
444
- ], XyPad.prototype, "stops", void 0);
445
- __decorate([
446
- property({ type: Number, attribute: `stops-x` })
447
- ], XyPad.prototype, "stopsX", void 0);
448
- __decorate([
449
- property({ type: Number, attribute: `stops-y` })
450
- ], XyPad.prototype, "stopsY", void 0);
451
- XyPad = __decorate([
452
- customElement(`ixfx-xy-pad`)
453
- ], XyPad);
385
+ __decorate([property({ type: Number })], XyPad.prototype, "xMin", void 0);
386
+ __decorate([property({ type: Number })], XyPad.prototype, "xMax", void 0);
387
+ __decorate([property({ type: Number })], XyPad.prototype, "x", void 0);
388
+ __decorate([property({ type: Number })], XyPad.prototype, "yMin", void 0);
389
+ __decorate([property({ type: Number })], XyPad.prototype, "yMax", void 0);
390
+ __decorate([property({ type: Number })], XyPad.prototype, "y", void 0);
391
+ __decorate([property({ type: String })], XyPad.prototype, "xScale", void 0);
392
+ __decorate([property({ type: String })], XyPad.prototype, "yScale", void 0);
393
+ __decorate([property({
394
+ type: Number,
395
+ attribute: `x-snap-step`
396
+ })], XyPad.prototype, "xSnapStep", void 0);
397
+ __decorate([property({
398
+ type: Number,
399
+ attribute: `y-snap-step`
400
+ })], XyPad.prototype, "ySnapStep", void 0);
401
+ __decorate([property({ type: String })], XyPad.prototype, "xLabel", void 0);
402
+ __decorate([property({ type: String })], XyPad.prototype, "yLabel", void 0);
403
+ __decorate([property({
404
+ type: Boolean,
405
+ reflect: true,
406
+ attribute: `show-crosshairs`
407
+ })], XyPad.prototype, "showCrosshairs", void 0);
408
+ __decorate([property({
409
+ type: Boolean,
410
+ reflect: true,
411
+ attribute: `show-grid`
412
+ })], XyPad.prototype, "showGrid", void 0);
413
+ __decorate([property({
414
+ type: Boolean,
415
+ reflect: true,
416
+ attribute: `hide-cursor`
417
+ })], XyPad.prototype, "hideCursor", void 0);
418
+ __decorate([property({
419
+ type: Boolean,
420
+ reflect: true
421
+ })], XyPad.prototype, "disabled", void 0);
422
+ __decorate([property({ type: Number })], XyPad.prototype, "stops", void 0);
423
+ __decorate([property({
424
+ type: Number,
425
+ attribute: `stops-x`
426
+ })], XyPad.prototype, "stopsX", void 0);
427
+ __decorate([property({
428
+ type: Number,
429
+ attribute: `stops-y`
430
+ })], XyPad.prototype, "stopsY", void 0);
431
+ XyPad = __decorate([customElement(`ixfx-xy-pad`)], XyPad);
432
+ //#endregion
454
433
  export { XyPad };
434
+
455
435
  //# sourceMappingURL=xy-pad.js.map