@emuanalytics/flow-rdf-ui 4.0.5 → 4.0.6

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 (355) hide show
  1. package/dist/components/alert/alert.component.mjs +202 -0
  2. package/dist/components/alert/alert.mjs +5 -0
  3. package/dist/components/alert/alert.styles.mjs +107 -0
  4. package/dist/components/animation/animation.component.mjs +207 -0
  5. package/dist/components/animation/animation.mjs +5 -0
  6. package/dist/components/animation/animation.styles.mjs +12 -0
  7. package/dist/components/animation/animations.mjs +11 -0
  8. package/dist/components/avatar/avatar.component.mjs +95 -0
  9. package/dist/components/avatar/avatar.mjs +5 -0
  10. package/dist/components/avatar/avatar.styles.mjs +70 -0
  11. package/dist/components/badge/badge.component.mjs +62 -0
  12. package/dist/components/badge/badge.mjs +5 -0
  13. package/dist/components/badge/badge.styles.mjs +105 -0
  14. package/dist/components/breadcrumb/breadcrumb.component.mjs +82 -0
  15. package/dist/components/breadcrumb/breadcrumb.mjs +5 -0
  16. package/dist/components/breadcrumb/breadcrumb.styles.mjs +14 -0
  17. package/dist/components/breadcrumb-item/breadcrumb-item.component.mjs +73 -0
  18. package/dist/components/breadcrumb-item/breadcrumb-item.mjs +5 -0
  19. package/dist/components/breadcrumb-item/breadcrumb-item.styles.mjs +90 -0
  20. package/dist/components/button/button.component.mjs +310 -0
  21. package/dist/components/button/button.mjs +5 -0
  22. package/dist/components/button/button.styles.mjs +690 -0
  23. package/dist/components/button-group/button-group.component.mjs +108 -0
  24. package/dist/components/button-group/button-group.mjs +5 -0
  25. package/dist/components/button-group/button-group.styles.mjs +21 -0
  26. package/dist/components/calendar/calendar.component.mjs +320 -0
  27. package/dist/components/calendar/calendar.mjs +5 -0
  28. package/dist/components/calendar/calendar.styles.mjs +145 -0
  29. package/dist/components/card/card.component.mjs +33 -0
  30. package/dist/components/card/card.mjs +5 -0
  31. package/dist/components/card/card.styles.mjs +73 -0
  32. package/dist/components/carousel/autoplay-controller.mjs +56 -0
  33. package/dist/components/carousel/carousel.component.mjs +406 -0
  34. package/dist/components/carousel/carousel.mjs +5 -0
  35. package/dist/components/carousel/carousel.styles.mjs +162 -0
  36. package/dist/components/carousel/scroll-controller.mjs +148 -0
  37. package/dist/components/carousel-item/carousel-item.component.mjs +22 -0
  38. package/dist/components/carousel-item/carousel-item.mjs +5 -0
  39. package/dist/components/carousel-item/carousel-item.styles.mjs +28 -0
  40. package/dist/components/chart/chart.component.mjs +82 -0
  41. package/dist/components/chart/chart.mjs +5 -0
  42. package/dist/components/chart/chart.styles.mjs +80 -0
  43. package/dist/components/chart/chartjs-plugins/interaction.interpolate.mjs +80 -0
  44. package/dist/components/chart/chartjs-plugins/plugin.flow-ui-colors.mjs +135 -0
  45. package/dist/components/chart/chartjs-plugins/positioner.cursor.mjs +14 -0
  46. package/dist/components/chart/chartjs-plugins/symlog.scale.mjs +42 -0
  47. package/dist/components/chart/chartjs-support.mjs +59 -0
  48. package/dist/components/checkbox/checkbox.component.mjs +246 -0
  49. package/dist/components/checkbox/checkbox.mjs +5 -0
  50. package/dist/components/checkbox/checkbox.styles.mjs +177 -0
  51. package/dist/components/color-mapper/color-mapper.component.mjs +260 -0
  52. package/dist/components/color-mapper/color-mapper.mjs +5 -0
  53. package/dist/components/color-mapper/color-mapper.styles.mjs +92 -0
  54. package/dist/components/color-mapper/helpers.mjs +55 -0
  55. package/dist/components/color-picker/color-picker.component.mjs +919 -0
  56. package/dist/components/color-picker/color-picker.mjs +5 -0
  57. package/dist/components/color-picker/color-picker.styles.mjs +337 -0
  58. package/dist/components/color-stop/color-stop.component.mjs +289 -0
  59. package/dist/components/color-stop/color-stop.mjs +5 -0
  60. package/dist/components/color-stop/color-stop.styles.mjs +103 -0
  61. package/dist/components/date-time-picker/date-time-picker.component.mjs +532 -0
  62. package/dist/components/date-time-picker/date-time-picker.mjs +5 -0
  63. package/dist/components/date-time-picker/date-time-picker.styles.mjs +260 -0
  64. package/dist/components/details/details.component.mjs +194 -0
  65. package/dist/components/details/details.mjs +5 -0
  66. package/dist/components/details/details.styles.mjs +85 -0
  67. package/dist/components/dialog/dialog.component.mjs +256 -0
  68. package/dist/components/dialog/dialog.mjs +5 -0
  69. package/dist/components/dialog/dialog.styles.mjs +125 -0
  70. package/dist/components/divider/divider.component.mjs +45 -0
  71. package/dist/components/divider/divider.mjs +5 -0
  72. package/dist/components/divider/divider.styles.mjs +34 -0
  73. package/dist/components/drawer/drawer.component.mjs +354 -0
  74. package/dist/components/drawer/drawer.mjs +5 -0
  75. package/dist/components/drawer/drawer.styles.mjs +161 -0
  76. package/dist/components/dropdown/dropdown.component.mjs +381 -0
  77. package/dist/components/dropdown/dropdown.mjs +5 -0
  78. package/dist/components/dropdown/dropdown.styles.mjs +56 -0
  79. package/dist/components/gauge/gauge.component.mjs +151 -0
  80. package/dist/components/gauge/gauge.mjs +5 -0
  81. package/dist/components/gauge/gauge.styles.mjs +127 -0
  82. package/dist/components/icon/icon.component.mjs +146 -0
  83. package/dist/components/icon/icon.mjs +5 -0
  84. package/dist/components/icon/icon.styles.mjs +35 -0
  85. package/dist/components/icon/library.default.mjs +38 -0
  86. package/dist/components/icon/library.mjs +38 -0
  87. package/dist/components/icon/library.system.mjs +158 -0
  88. package/dist/components/icon-button/icon-button.component.mjs +239 -0
  89. package/dist/components/icon-button/icon-button.mjs +5 -0
  90. package/dist/components/icon-button/icon-button.styles.mjs +81 -0
  91. package/dist/components/input/input.component.mjs +574 -0
  92. package/dist/components/input/input.mjs +5 -0
  93. package/dist/components/input/input.styles.mjs +310 -0
  94. package/dist/components/map/map.component.mjs +196 -0
  95. package/dist/components/map/map.mjs +5 -0
  96. package/dist/components/map/map.styles.mjs +90 -0
  97. package/dist/components/menu/menu.component.mjs +125 -0
  98. package/dist/components/menu/menu.mjs +5 -0
  99. package/dist/components/menu/menu.styles.mjs +23 -0
  100. package/dist/components/menu-item/menu-item.component.mjs +143 -0
  101. package/dist/components/menu-item/menu-item.mjs +5 -0
  102. package/dist/components/menu-item/menu-item.styles.mjs +103 -0
  103. package/dist/components/menu-label/menu-label.component.mjs +14 -0
  104. package/dist/components/menu-label/menu-label.mjs +5 -0
  105. package/dist/components/menu-label/menu-label.styles.mjs +24 -0
  106. package/dist/components/mutation-observer/mutation-observer.component.mjs +115 -0
  107. package/dist/components/mutation-observer/mutation-observer.mjs +5 -0
  108. package/dist/components/mutation-observer/mutation-observer.styles.mjs +12 -0
  109. package/dist/components/option/option.component.mjs +152 -0
  110. package/dist/components/option/option.mjs +5 -0
  111. package/dist/components/option/option.styles.mjs +102 -0
  112. package/dist/components/panel/panel.component.mjs +90 -0
  113. package/dist/components/panel/panel.mjs +5 -0
  114. package/dist/components/panel/panel.styles.mjs +51 -0
  115. package/dist/components/panel-header/panel-header.component.mjs +131 -0
  116. package/dist/components/panel-header/panel-header.mjs +5 -0
  117. package/dist/components/panel-header/panel-header.styles.mjs +67 -0
  118. package/dist/components/popup/popup.component.mjs +420 -0
  119. package/dist/components/popup/popup.mjs +5 -0
  120. package/dist/components/popup/popup.styles.mjs +63 -0
  121. package/dist/components/progress-bar/progress-bar.component.mjs +70 -0
  122. package/dist/components/progress-bar/progress-bar.mjs +5 -0
  123. package/dist/components/progress-bar/progress-bar.styles.mjs +87 -0
  124. package/dist/components/progress-ring/progress-ring.component.mjs +71 -0
  125. package/dist/components/progress-ring/progress-ring.mjs +5 -0
  126. package/dist/components/progress-ring/progress-ring.styles.mjs +72 -0
  127. package/dist/components/query-builder/converters/flow-query-converters.mjs +111 -0
  128. package/dist/components/query-builder/converters/map-layer-filter-converter.mjs +99 -0
  129. package/dist/components/query-builder/default-value-templates.mjs +151 -0
  130. package/dist/components/query-builder/helpers.mjs +42 -0
  131. package/dist/components/query-builder/query-builder.component.mjs +466 -0
  132. package/dist/components/query-builder/query-builder.mjs +5 -0
  133. package/dist/components/query-builder/query-builder.styles.mjs +261 -0
  134. package/dist/components/radio/radio.component.mjs +144 -0
  135. package/dist/components/radio/radio.mjs +5 -0
  136. package/dist/components/radio/radio.styles.mjs +164 -0
  137. package/dist/components/radio-group/radio-group.component.mjs +310 -0
  138. package/dist/components/radio-group/radio-group.mjs +5 -0
  139. package/dist/components/radio-group/radio-group.styles.mjs +49 -0
  140. package/dist/components/range/range.component.mjs +324 -0
  141. package/dist/components/range/range.mjs +5 -0
  142. package/dist/components/range/range.styles.mjs +233 -0
  143. package/dist/components/resize-observer/resize-observer.component.mjs +80 -0
  144. package/dist/components/resize-observer/resize-observer.mjs +5 -0
  145. package/dist/components/resize-observer/resize-observer.styles.mjs +12 -0
  146. package/dist/components/scroll-view/overlay-scrollbar.styles.mjs +686 -0
  147. package/dist/components/scroll-view/scroll-view.component.mjs +128 -0
  148. package/dist/components/scroll-view/scroll-view.mjs +5 -0
  149. package/dist/components/scroll-view/scroll-view.styles.mjs +57 -0
  150. package/dist/components/select/select.component.mjs +785 -0
  151. package/dist/components/select/select.mjs +5 -0
  152. package/dist/components/select/select.styles.mjs +339 -0
  153. package/dist/components/spinner/spinner.component.mjs +22 -0
  154. package/dist/components/spinner/spinner.mjs +5 -0
  155. package/dist/components/spinner/spinner.styles.mjs +64 -0
  156. package/dist/components/split-view/split-view.component.mjs +500 -0
  157. package/dist/components/split-view/split-view.mjs +5 -0
  158. package/dist/components/split-view/split-view.styles.mjs +33 -0
  159. package/dist/components/split-view-divider/split-view-divider.component.mjs +98 -0
  160. package/dist/components/split-view-divider/split-view-divider.mjs +5 -0
  161. package/dist/components/split-view-divider/split-view-divider.styles.mjs +96 -0
  162. package/dist/components/split-view-pane/split-view-pane.component.mjs +126 -0
  163. package/dist/components/split-view-pane/split-view-pane.mjs +5 -0
  164. package/dist/components/split-view-pane/split-view-pane.styles.mjs +49 -0
  165. package/dist/components/split-view-toggle-button/split-view-toggle-button.component.mjs +76 -0
  166. package/dist/components/split-view-toggle-button/split-view-toggle-button.mjs +5 -0
  167. package/dist/components/split-view-toggle-button/split-view-toggle-button.styles.mjs +40 -0
  168. package/dist/components/stepper/stepper.component.mjs +139 -0
  169. package/dist/components/stepper/stepper.mjs +5 -0
  170. package/dist/components/stepper/stepper.styles.mjs +103 -0
  171. package/dist/components/stepper-panel/stepper-panel.component.mjs +76 -0
  172. package/dist/components/stepper-panel/stepper-panel.mjs +5 -0
  173. package/dist/components/stepper-panel/stepper-panel.styles.mjs +22 -0
  174. package/dist/components/switch/switch.component.mjs +211 -0
  175. package/dist/components/switch/switch.mjs +5 -0
  176. package/dist/components/switch/switch.styles.mjs +166 -0
  177. package/dist/components/tab/tab.component.mjs +159 -0
  178. package/dist/components/tab/tab.mjs +5 -0
  179. package/dist/components/tab/tab.styles.mjs +107 -0
  180. package/dist/components/tab-group/tab-group.component.mjs +402 -0
  181. package/dist/components/tab-group/tab-group.mjs +5 -0
  182. package/dist/components/tab-group/tab-group.styles.mjs +386 -0
  183. package/dist/components/tab-panel/tab-panel.component.mjs +72 -0
  184. package/dist/components/tab-panel/tab-panel.mjs +5 -0
  185. package/dist/components/tab-panel/tab-panel.styles.mjs +55 -0
  186. package/dist/components/tag/tag.component.mjs +94 -0
  187. package/dist/components/tag/tag.mjs +5 -0
  188. package/dist/components/tag/tag.styles.mjs +130 -0
  189. package/dist/components/textarea/textarea.component.mjs +359 -0
  190. package/dist/components/textarea/textarea.mjs +5 -0
  191. package/dist/components/textarea/textarea.styles.mjs +171 -0
  192. package/dist/components/timer/ticker.mjs +78 -0
  193. package/dist/components/timer/timer.component.mjs +293 -0
  194. package/dist/components/timer/timer.mjs +5 -0
  195. package/dist/components/timer/timer.styles.mjs +94 -0
  196. package/dist/components/tool-button/tool-button.component.mjs +208 -0
  197. package/dist/components/tool-button/tool-button.mjs +5 -0
  198. package/dist/components/tool-button/tool-button.styles.mjs +251 -0
  199. package/dist/components/tool-button-group/tool-button-group.component.mjs +347 -0
  200. package/dist/components/tool-button-group/tool-button-group.mjs +5 -0
  201. package/dist/components/tool-button-group/tool-button-group.styles.mjs +59 -0
  202. package/dist/components/tooltip/tooltip.component.mjs +259 -0
  203. package/dist/components/tooltip/tooltip.mjs +5 -0
  204. package/dist/components/tooltip/tooltip.styles.mjs +57 -0
  205. package/dist/components/tree/tree.component.mjs +368 -0
  206. package/dist/components/tree/tree.mjs +5 -0
  207. package/dist/components/tree/tree.styles.mjs +41 -0
  208. package/dist/components/tree-item/tree-item.component.mjs +324 -0
  209. package/dist/components/tree-item/tree-item.mjs +5 -0
  210. package/dist/components/tree-item/tree-item.styles.mjs +178 -0
  211. package/dist/components/visually-hidden/visually-hidden.component.mjs +14 -0
  212. package/dist/components/visually-hidden/visually-hidden.mjs +5 -0
  213. package/dist/components/visually-hidden/visually-hidden.styles.mjs +20 -0
  214. package/dist/custom-elements.json +530 -544
  215. package/dist/index.d.mts +141 -132
  216. package/dist/index.d.ts +141 -132
  217. package/dist/index.mjs +78 -25094
  218. package/dist/internal/animate.mjs +47 -0
  219. package/dist/internal/animations/attention_seekers/bounce.mjs +17 -0
  220. package/dist/internal/animations/attention_seekers/flash.mjs +9 -0
  221. package/dist/internal/animations/attention_seekers/headShake.mjs +10 -0
  222. package/dist/internal/animations/attention_seekers/heartBeat.mjs +9 -0
  223. package/dist/internal/animations/attention_seekers/jello.mjs +14 -0
  224. package/dist/internal/animations/attention_seekers/pulse.mjs +7 -0
  225. package/dist/internal/animations/attention_seekers/rubberBand.mjs +11 -0
  226. package/dist/internal/animations/attention_seekers/shake.mjs +15 -0
  227. package/dist/internal/animations/attention_seekers/shakeX.mjs +15 -0
  228. package/dist/internal/animations/attention_seekers/shakeY.mjs +15 -0
  229. package/dist/internal/animations/attention_seekers/swing.mjs +9 -0
  230. package/dist/internal/animations/attention_seekers/tada.mjs +15 -0
  231. package/dist/internal/animations/attention_seekers/wobble.mjs +11 -0
  232. package/dist/internal/animations/back_entrances/backInDown.mjs +7 -0
  233. package/dist/internal/animations/back_entrances/backInLeft.mjs +7 -0
  234. package/dist/internal/animations/back_entrances/backInRight.mjs +7 -0
  235. package/dist/internal/animations/back_entrances/backInUp.mjs +7 -0
  236. package/dist/internal/animations/back_exits/backOutDown.mjs +7 -0
  237. package/dist/internal/animations/back_exits/backOutLeft.mjs +7 -0
  238. package/dist/internal/animations/back_exits/backOutRight.mjs +7 -0
  239. package/dist/internal/animations/back_exits/backOutUp.mjs +7 -0
  240. package/dist/internal/animations/bouncing_entrances/bounceIn.mjs +16 -0
  241. package/dist/internal/animations/bouncing_entrances/bounceInDown.mjs +14 -0
  242. package/dist/internal/animations/bouncing_entrances/bounceInLeft.mjs +14 -0
  243. package/dist/internal/animations/bouncing_entrances/bounceInRight.mjs +14 -0
  244. package/dist/internal/animations/bouncing_entrances/bounceInUp.mjs +14 -0
  245. package/dist/internal/animations/bouncing_exits/bounceOut.mjs +8 -0
  246. package/dist/internal/animations/bouncing_exits/bounceOutDown.mjs +8 -0
  247. package/dist/internal/animations/bouncing_exits/bounceOutLeft.mjs +6 -0
  248. package/dist/internal/animations/bouncing_exits/bounceOutRight.mjs +6 -0
  249. package/dist/internal/animations/bouncing_exits/bounceOutUp.mjs +8 -0
  250. package/dist/internal/animations/easings/easings.mjs +33 -0
  251. package/dist/internal/animations/fading_entrances/fadeIn.mjs +6 -0
  252. package/dist/internal/animations/fading_entrances/fadeInBottomLeft.mjs +6 -0
  253. package/dist/internal/animations/fading_entrances/fadeInBottomRight.mjs +6 -0
  254. package/dist/internal/animations/fading_entrances/fadeInDown.mjs +6 -0
  255. package/dist/internal/animations/fading_entrances/fadeInDownBig.mjs +6 -0
  256. package/dist/internal/animations/fading_entrances/fadeInLeft.mjs +6 -0
  257. package/dist/internal/animations/fading_entrances/fadeInLeftBig.mjs +6 -0
  258. package/dist/internal/animations/fading_entrances/fadeInRight.mjs +6 -0
  259. package/dist/internal/animations/fading_entrances/fadeInRightBig.mjs +6 -0
  260. package/dist/internal/animations/fading_entrances/fadeInTopLeft.mjs +6 -0
  261. package/dist/internal/animations/fading_entrances/fadeInTopRight.mjs +6 -0
  262. package/dist/internal/animations/fading_entrances/fadeInUp.mjs +6 -0
  263. package/dist/internal/animations/fading_entrances/fadeInUpBig.mjs +6 -0
  264. package/dist/internal/animations/fading_exits/fadeOut.mjs +6 -0
  265. package/dist/internal/animations/fading_exits/fadeOutBottomLeft.mjs +6 -0
  266. package/dist/internal/animations/fading_exits/fadeOutBottomRight.mjs +6 -0
  267. package/dist/internal/animations/fading_exits/fadeOutDown.mjs +6 -0
  268. package/dist/internal/animations/fading_exits/fadeOutDownBig.mjs +6 -0
  269. package/dist/internal/animations/fading_exits/fadeOutLeft.mjs +6 -0
  270. package/dist/internal/animations/fading_exits/fadeOutLeftBig.mjs +6 -0
  271. package/dist/internal/animations/fading_exits/fadeOutRight.mjs +6 -0
  272. package/dist/internal/animations/fading_exits/fadeOutRightBig.mjs +6 -0
  273. package/dist/internal/animations/fading_exits/fadeOutTopLeft.mjs +6 -0
  274. package/dist/internal/animations/fading_exits/fadeOutTopRight.mjs +6 -0
  275. package/dist/internal/animations/fading_exits/fadeOutUp.mjs +6 -0
  276. package/dist/internal/animations/fading_exits/fadeOutUpBig.mjs +6 -0
  277. package/dist/internal/animations/flippers/flip.mjs +29 -0
  278. package/dist/internal/animations/flippers/flipInX.mjs +9 -0
  279. package/dist/internal/animations/flippers/flipInY.mjs +9 -0
  280. package/dist/internal/animations/flippers/flipOutX.mjs +7 -0
  281. package/dist/internal/animations/flippers/flipOutY.mjs +7 -0
  282. package/dist/internal/animations/index.mjs +99 -0
  283. package/dist/internal/animations/lightspeed/lightSpeedInLeft.mjs +8 -0
  284. package/dist/internal/animations/lightspeed/lightSpeedInRight.mjs +8 -0
  285. package/dist/internal/animations/lightspeed/lightSpeedOutLeft.mjs +6 -0
  286. package/dist/internal/animations/lightspeed/lightSpeedOutRight.mjs +6 -0
  287. package/dist/internal/animations/rotating_entrances/rotateIn.mjs +6 -0
  288. package/dist/internal/animations/rotating_entrances/rotateInDownLeft.mjs +6 -0
  289. package/dist/internal/animations/rotating_entrances/rotateInDownRight.mjs +6 -0
  290. package/dist/internal/animations/rotating_entrances/rotateInUpLeft.mjs +6 -0
  291. package/dist/internal/animations/rotating_entrances/rotateInUpRight.mjs +6 -0
  292. package/dist/internal/animations/rotating_exits/rotateOut.mjs +6 -0
  293. package/dist/internal/animations/rotating_exits/rotateOutDownLeft.mjs +6 -0
  294. package/dist/internal/animations/rotating_exits/rotateOutDownRight.mjs +6 -0
  295. package/dist/internal/animations/rotating_exits/rotateOutUpLeft.mjs +6 -0
  296. package/dist/internal/animations/rotating_exits/rotateOutUpRight.mjs +6 -0
  297. package/dist/internal/animations/sliding_entrances/slideInDown.mjs +6 -0
  298. package/dist/internal/animations/sliding_entrances/slideInLeft.mjs +6 -0
  299. package/dist/internal/animations/sliding_entrances/slideInRight.mjs +6 -0
  300. package/dist/internal/animations/sliding_entrances/slideInUp.mjs +6 -0
  301. package/dist/internal/animations/sliding_exits/slideOutDown.mjs +6 -0
  302. package/dist/internal/animations/sliding_exits/slideOutLeft.mjs +6 -0
  303. package/dist/internal/animations/sliding_exits/slideOutRight.mjs +6 -0
  304. package/dist/internal/animations/sliding_exits/slideOutUp.mjs +6 -0
  305. package/dist/internal/animations/specials/hinge.mjs +10 -0
  306. package/dist/internal/animations/specials/jackInTheBox.mjs +8 -0
  307. package/dist/internal/animations/specials/rollIn.mjs +6 -0
  308. package/dist/internal/animations/specials/rollOut.mjs +6 -0
  309. package/dist/internal/animations/zooming_entrances/zoomIn.mjs +6 -0
  310. package/dist/internal/animations/zooming_entrances/zoomInDown.mjs +16 -0
  311. package/dist/internal/animations/zooming_entrances/zoomInLeft.mjs +16 -0
  312. package/dist/internal/animations/zooming_entrances/zoomInRight.mjs +16 -0
  313. package/dist/internal/animations/zooming_entrances/zoomInUp.mjs +16 -0
  314. package/dist/internal/animations/zooming_exits/zoomOut.mjs +7 -0
  315. package/dist/internal/animations/zooming_exits/zoomOutDown.mjs +16 -0
  316. package/dist/internal/animations/zooming_exits/zoomOutLeft.mjs +6 -0
  317. package/dist/internal/animations/zooming_exits/zoomOutRight.mjs +6 -0
  318. package/dist/internal/animations/zooming_exits/zoomOutUp.mjs +16 -0
  319. package/dist/internal/boolean.mjs +17 -0
  320. package/dist/internal/datetime.mjs +65 -0
  321. package/dist/internal/debounce.mjs +14 -0
  322. package/dist/internal/default-value.mjs +21 -0
  323. package/dist/internal/drag.mjs +30 -0
  324. package/dist/internal/ensure-array.mjs +16 -0
  325. package/dist/internal/event.mjs +13 -0
  326. package/dist/internal/flow-ui-rdf-element.mjs +61 -0
  327. package/dist/internal/form.mjs +264 -0
  328. package/dist/internal/localize.mjs +124 -0
  329. package/dist/internal/math.mjs +12 -0
  330. package/dist/internal/modal.mjs +52 -0
  331. package/dist/internal/offset.mjs +8 -0
  332. package/dist/internal/orderby.mjs +18 -0
  333. package/dist/internal/scroll.mjs +47 -0
  334. package/dist/internal/slot.mjs +59 -0
  335. package/dist/internal/string.mjs +5 -0
  336. package/dist/internal/tabbable.mjs +49 -0
  337. package/dist/internal/throttle.mjs +28 -0
  338. package/dist/internal/type-checks.mjs +16 -0
  339. package/dist/internal/watch.mjs +27 -0
  340. package/dist/package.json.mjs +3 -0
  341. package/dist/public-api.mjs +10 -0
  342. package/dist/styles/component.styles.mjs +19 -0
  343. package/dist/styles/form-control.styles.mjs +63 -0
  344. package/dist/translations/en.mjs +34 -0
  345. package/dist/utilities/animation-registry.mjs +33 -0
  346. package/dist/utilities/announce.mjs +12 -0
  347. package/dist/utilities/locale.mjs +10 -0
  348. package/dist/utilities/localize.mjs +7 -0
  349. package/dist/utilities/register-components.mjs +203 -0
  350. package/dist/vscode.html-custom-data.json +64 -64
  351. package/package.json +5 -8
  352. package/dist/icons/index.cjs +0 -4053
  353. package/dist/icons/index.d.cts +0 -2027
  354. package/dist/index.cjs +0 -25187
  355. package/dist/index.d.cts +0 -5678
@@ -0,0 +1,152 @@
1
+ import { html } from 'lit';
2
+ import { query, state, property } from 'lit/decorators.js';
3
+ import { classMap } from 'lit/directives/class-map.js';
4
+ import { boolean } from '../../internal/boolean.mjs';
5
+ import FlowRdfElement from '../../internal/flow-ui-rdf-element.mjs';
6
+ import { watch } from '../../internal/watch.mjs';
7
+ import { LocalizeController } from '../../utilities/localize.mjs';
8
+ import FlowUiIcon from '../icon/icon.component.mjs';
9
+ import styles from './option.styles.mjs';
10
+
11
+ var __defProp = Object.defineProperty;
12
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
13
+ var __decorateClass = (decorators, target, key, kind) => {
14
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
15
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
16
+ if (decorator = decorators[i])
17
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
18
+ if (kind && result)
19
+ __defProp(target, key, result);
20
+ return result;
21
+ };
22
+ class FlowUiOption extends FlowRdfElement {
23
+ constructor() {
24
+ super(...arguments);
25
+ // @ts-expect-error - Controller is currently unused
26
+ this.localize = new LocalizeController(this);
27
+ this.current = false;
28
+ this.selected = false;
29
+ this.hasHover = false;
30
+ this.value = "";
31
+ this.disabled = false;
32
+ this.size = "medium";
33
+ }
34
+ connectedCallback() {
35
+ super.connectedCallback();
36
+ this.disabled = boolean(this.disabled, true);
37
+ this.setAttribute("role", "option");
38
+ this.setAttribute("aria-selected", "false");
39
+ }
40
+ handleDefaultSlotChange() {
41
+ const textLabel = this.getTextLabel();
42
+ if (typeof this.cachedTextLabel === "undefined") {
43
+ this.cachedTextLabel = textLabel;
44
+ return;
45
+ }
46
+ if (textLabel !== this.cachedTextLabel) {
47
+ this.cachedTextLabel = textLabel;
48
+ this.emit("slotchange", { bubbles: true, composed: false, cancelable: false });
49
+ }
50
+ }
51
+ handleMouseEnter() {
52
+ this.hasHover = true;
53
+ }
54
+ handleMouseLeave() {
55
+ this.hasHover = false;
56
+ }
57
+ handleDisabledChange() {
58
+ this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
59
+ }
60
+ handleSelectedChange() {
61
+ this.setAttribute("aria-selected", this.selected ? "true" : "false");
62
+ }
63
+ handleValueChange() {
64
+ if (typeof this.value !== "string") {
65
+ this.value = String(this.value);
66
+ }
67
+ if (this.value.includes(" ")) {
68
+ console.error(`Option values cannot include a space. All spaces have been replaced with underscores.`, this);
69
+ this.value = this.value.replace(/ /g, "_");
70
+ }
71
+ }
72
+ /** @internal Returns a plain text label based on the option's content. */
73
+ getTextLabel() {
74
+ const nodes = this.childNodes;
75
+ let label = "";
76
+ [...nodes].forEach((node) => {
77
+ if (node.nodeType === Node.ELEMENT_NODE) {
78
+ if (!node.hasAttribute("slot")) {
79
+ label += node.textContent;
80
+ }
81
+ }
82
+ if (node.nodeType === Node.TEXT_NODE) {
83
+ label += node.textContent;
84
+ }
85
+ });
86
+ return label.trim();
87
+ }
88
+ render() {
89
+ return html`
90
+ <div
91
+ part="base"
92
+ class=${classMap({
93
+ option: true,
94
+ "option--current": this.current,
95
+ "option--disabled": this.disabled,
96
+ "option--selected": this.selected,
97
+ "option--hover": this.hasHover,
98
+ "option--small": this.size === "small",
99
+ "option--medium": this.size === "medium",
100
+ "option--large": this.size === "large"
101
+ })}
102
+ @mouseenter=${this.handleMouseEnter}
103
+ @mouseleave=${this.handleMouseLeave}
104
+ >
105
+ <flow-ui-icon
106
+ part="checked-icon"
107
+ class="option__check"
108
+ name="check"
109
+ library="system"
110
+ aria-hidden="true"
111
+ ></flow-ui-icon>
112
+ <slot part="prefix" name="prefix" class="option__prefix"></slot>
113
+ <slot part="label" class="option__label" @slotchange=${this.handleDefaultSlotChange}></slot>
114
+ <slot part="suffix" name="suffix" class="option__suffix"></slot>
115
+ </div>
116
+ `;
117
+ }
118
+ }
119
+ FlowUiOption.styles = styles;
120
+ FlowUiOption.dependencies = { "flow-ui-icon": FlowUiIcon };
121
+ __decorateClass([
122
+ query(".option__label")
123
+ ], FlowUiOption.prototype, "defaultSlot", 2);
124
+ __decorateClass([
125
+ state()
126
+ ], FlowUiOption.prototype, "current", 2);
127
+ __decorateClass([
128
+ state()
129
+ ], FlowUiOption.prototype, "selected", 2);
130
+ __decorateClass([
131
+ state()
132
+ ], FlowUiOption.prototype, "hasHover", 2);
133
+ __decorateClass([
134
+ property({ reflect: true })
135
+ ], FlowUiOption.prototype, "value", 2);
136
+ __decorateClass([
137
+ property({ type: Boolean, reflect: true })
138
+ ], FlowUiOption.prototype, "disabled", 2);
139
+ __decorateClass([
140
+ property({ reflect: true })
141
+ ], FlowUiOption.prototype, "size", 2);
142
+ __decorateClass([
143
+ watch("disabled")
144
+ ], FlowUiOption.prototype, "handleDisabledChange", 1);
145
+ __decorateClass([
146
+ watch("selected")
147
+ ], FlowUiOption.prototype, "handleSelectedChange", 1);
148
+ __decorateClass([
149
+ watch("value")
150
+ ], FlowUiOption.prototype, "handleValueChange", 1);
151
+
152
+ export { FlowUiOption as default };
@@ -0,0 +1,5 @@
1
+ import FlowUiOption from './option.component.mjs';
2
+
3
+
4
+
5
+ export { FlowUiOption as default };
@@ -0,0 +1,102 @@
1
+ import { css } from 'lit';
2
+ import componentStyles from '../../styles/component.styles.mjs';
3
+
4
+ const styles = css`
5
+ ${componentStyles}
6
+
7
+ :host {
8
+ display: block;
9
+ user-select: none;
10
+ }
11
+
12
+ :host(:focus) {
13
+ outline: none;
14
+ }
15
+
16
+ .option {
17
+ position: relative;
18
+ display: flex;
19
+ align-items: center;
20
+ font-family: var(--flow-ui-font-sans);
21
+ font-size: var(--flow-ui-font-size-medium);
22
+ font-weight: var(--flow-ui-font-weight-normal);
23
+ line-height: var(--flow-ui-line-height-normal);
24
+ letter-spacing: var(--flow-ui-letter-spacing-normal);
25
+ color: var(--flow-ui-color-neutral-700);
26
+ padding: var(--flow-ui-spacing-x-small) var(--flow-ui-spacing-medium) var(--flow-ui-spacing-x-small)
27
+ var(--flow-ui-spacing-x-small);
28
+ transition: var(--flow-ui-transition-fast) fill;
29
+ cursor: pointer;
30
+ }
31
+
32
+ .option--small {
33
+ font-size: var(--flow-ui-font-size-small);
34
+ padding: var(--flow-ui-spacing-2x-small) var(--flow-ui-spacing-small) var(--flow-ui-spacing-2x-small)
35
+ var(--flow-ui-spacing-2x-small);
36
+ }
37
+
38
+ .option--large {
39
+ font-size: var(--flow-ui-font-size-large);
40
+ }
41
+
42
+ .option--hover:not(.option--current):not(.option--disabled) {
43
+ background-color: var(--flow-ui-color-neutral-100);
44
+ color: var(--flow-ui-color-neutral-1000);
45
+ }
46
+
47
+ .option--current,
48
+ .option--current.option--disabled {
49
+ background-color: var(--flow-ui-color-primary-500);
50
+ color: var(--flow-ui-color-primary-contrast);
51
+ opacity: 1;
52
+ }
53
+
54
+ .option--disabled {
55
+ outline: none;
56
+ opacity: 0.5;
57
+ cursor: not-allowed;
58
+ }
59
+
60
+ .option__label {
61
+ flex: 1 1 auto;
62
+ display: inline-block;
63
+ line-height: var(--flow-ui-line-height-dense);
64
+ }
65
+
66
+ .option .option__check {
67
+ flex: 0 0 auto;
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: center;
71
+ visibility: hidden;
72
+ padding-inline-end: var(--flow-ui-spacing-2x-small);
73
+ }
74
+
75
+ .option--selected .option__check {
76
+ visibility: visible;
77
+ }
78
+
79
+ .option__prefix,
80
+ .option__suffix {
81
+ flex: 0 0 auto;
82
+ display: flex;
83
+ align-items: center;
84
+ }
85
+
86
+ .option__prefix::slotted(*) {
87
+ margin-inline-end: var(--flow-ui-spacing-x-small);
88
+ }
89
+
90
+ .option__suffix::slotted(*) {
91
+ margin-inline-start: var(--flow-ui-spacing-x-small);
92
+ }
93
+
94
+ @media (forced-colors: active) {
95
+ :host(:hover:not([aria-disabled='true'])) .option {
96
+ outline: dashed 1px SelectedItem;
97
+ outline-offset: -1px;
98
+ }
99
+ }
100
+ `;
101
+
102
+ export { styles as default };
@@ -0,0 +1,90 @@
1
+ import { html } from 'lit';
2
+ import { property } from 'lit/decorators.js';
3
+ import { classMap } from 'lit/directives/class-map.js';
4
+ import { boolean } from '../../internal/boolean.mjs';
5
+ import FlowRdfElement from '../../internal/flow-ui-rdf-element.mjs';
6
+ import styles from './panel.styles.mjs';
7
+
8
+ var __defProp = Object.defineProperty;
9
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
+ var __decorateClass = (decorators, target, key, kind) => {
11
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
12
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
13
+ if (decorator = decorators[i])
14
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
15
+ if (kind && result)
16
+ __defProp(target, key, result);
17
+ return result;
18
+ };
19
+ class FlowUiPanel extends FlowRdfElement {
20
+ constructor() {
21
+ super(...arguments);
22
+ this.closed = false;
23
+ this.scrollable = false;
24
+ this.padding = false;
25
+ }
26
+ connectedCallback() {
27
+ super.connectedCallback();
28
+ this.closed = boolean(this.closed, true);
29
+ this.scrollable = boolean(this.scrollable, true);
30
+ this.padding = boolean(this.padding, true);
31
+ }
32
+ disconnectedCallback() {
33
+ super.disconnectedCallback();
34
+ }
35
+ /** Open the panel */
36
+ async expand(emitEvent = true) {
37
+ if (this.closed) {
38
+ this.closed = false;
39
+ if (emitEvent) {
40
+ this.emit("flow-ui-expand");
41
+ }
42
+ }
43
+ }
44
+ /** Close the panel */
45
+ async collapse(emitEvent = true) {
46
+ if (!this.closed) {
47
+ this.closed = true;
48
+ if (emitEvent) {
49
+ this.emit("flow-ui-collapse");
50
+ }
51
+ }
52
+ }
53
+ render() {
54
+ return html`
55
+ <div
56
+ class=${classMap({
57
+ panel: true,
58
+ "panel--closed": this.closed,
59
+ "panel--scrollable": this.scrollable,
60
+ "panel--with-padding": this.padding
61
+ })}
62
+ >
63
+ <slot
64
+ name="header"
65
+ class="panel__header"
66
+ @flow-ui-expand=${this.expand}
67
+ @flow-ui-collapse=${this.collapse}
68
+ ></slot>
69
+
70
+ <div class="panel__body-wrapper">
71
+ <div part="body" class="panel__body">
72
+ <slot></slot>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ `;
77
+ }
78
+ }
79
+ FlowUiPanel.styles = styles;
80
+ __decorateClass([
81
+ property({ type: Boolean, reflect: true })
82
+ ], FlowUiPanel.prototype, "closed", 2);
83
+ __decorateClass([
84
+ property({ type: Boolean, reflect: true })
85
+ ], FlowUiPanel.prototype, "scrollable", 2);
86
+ __decorateClass([
87
+ property({ type: Boolean, reflect: true })
88
+ ], FlowUiPanel.prototype, "padding", 2);
89
+
90
+ export { FlowUiPanel as default };
@@ -0,0 +1,5 @@
1
+ import FlowUiPanel from './panel.component.mjs';
2
+
3
+
4
+
5
+ export { FlowUiPanel as default };
@@ -0,0 +1,51 @@
1
+ import { css } from 'lit';
2
+ import componentStyles from '../../styles/component.styles.mjs';
3
+
4
+ const styles = css`
5
+ ${componentStyles}
6
+
7
+ :host {
8
+ display: block;
9
+ min-height: 0;
10
+
11
+ --padding: var(--flow-ui-spacing-small);
12
+ --background-color: var(--flow-ui-panel-background-color);
13
+ --color: var(--flow-ui-panel-color);
14
+ }
15
+
16
+ .panel {
17
+ height: 100%;
18
+ display: flex;
19
+ flex-direction: column;
20
+ background-color: var(--background-color);
21
+ color: var(--color);
22
+ }
23
+
24
+ /* Body */
25
+ .panel__body-wrapper {
26
+ flex: 1;
27
+ min-height: 0;
28
+ overflow: hidden;
29
+ }
30
+
31
+ /* For scrollable panel - enable scroll and (optionally) add padding to scrollable content */
32
+ .panel--scrollable .panel__body-wrapper {
33
+ overflow-y: auto;
34
+ }
35
+
36
+ .panel--scrollable.panel--with-padding .panel__body {
37
+ padding: var(--padding);
38
+ }
39
+
40
+ /* For non-scrollable panel - fix body at 100% and disable scroll. Padding is added to wrapper */
41
+ .panel.panel--with-padding:not(.panel--scrollable) .panel__body-wrapper {
42
+ padding: var(--padding);
43
+ }
44
+
45
+ .panel:not(.panel--scrollable) .panel__body {
46
+ height: 100%;
47
+ overflow-y: hidden;
48
+ }
49
+ `;
50
+
51
+ export { styles as default };
@@ -0,0 +1,131 @@
1
+ import { html, nothing } from 'lit';
2
+ import { query, property } from 'lit/decorators.js';
3
+ import { classMap } from 'lit/directives/class-map.js';
4
+ import { boolean } from '../../internal/boolean.mjs';
5
+ import FlowRdfElement from '../../internal/flow-ui-rdf-element.mjs';
6
+ import { HasSlotController } from '../../internal/slot.mjs';
7
+ import styles from './panel-header.styles.mjs';
8
+
9
+ var __defProp = Object.defineProperty;
10
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11
+ var __decorateClass = (decorators, target, key, kind) => {
12
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
13
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
14
+ if (decorator = decorators[i])
15
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
16
+ if (kind && result)
17
+ __defProp(target, key, result);
18
+ return result;
19
+ };
20
+ class FlowUiPanelHeader extends FlowRdfElement {
21
+ constructor() {
22
+ super();
23
+ this.hasSlotController = new HasSlotController(this, "prefix", "suffix");
24
+ this.closed = false;
25
+ this.fixed = false;
26
+ }
27
+ connectedCallback() {
28
+ super.connectedCallback();
29
+ this.closed = boolean(this.closed, true);
30
+ this.fixed = boolean(this.fixed, true);
31
+ }
32
+ disconnectedCallback() {
33
+ super.disconnectedCallback();
34
+ }
35
+ // Private methods
36
+ handleHeaderClick() {
37
+ if (this.fixed) {
38
+ return;
39
+ }
40
+ this.closed = !this.closed;
41
+ this.emit(this.closed ? "flow-ui-collapse" : "flow-ui-expand");
42
+ this.header.focus();
43
+ }
44
+ handleAccessoryClick(event) {
45
+ event.stopPropagation();
46
+ }
47
+ handleHeaderKeyDown(event) {
48
+ if (this.fixed) {
49
+ return;
50
+ }
51
+ if (event.key === "Enter" || event.key === " ") {
52
+ event.preventDefault();
53
+ this.closed = !this.closed;
54
+ }
55
+ if (event.key === "ArrowUp" || event.key === "ArrowLeft") {
56
+ event.preventDefault();
57
+ this.closed = true;
58
+ }
59
+ if (event.key === "ArrowDown" || event.key === "ArrowRight") {
60
+ event.preventDefault();
61
+ this.closed = false;
62
+ }
63
+ this.emit(this.closed ? "flow-ui-collapse" : "flow-ui-expand");
64
+ }
65
+ handleToggleButtonExpandCollapse(event) {
66
+ event.stopPropagation();
67
+ }
68
+ render() {
69
+ return html`
70
+ <div
71
+ part="base"
72
+ class=${classMap({
73
+ "panel-header": true,
74
+ "panel-header--closed": this.closed,
75
+ "panel-header--open": !this.closed,
76
+ "panel-header-prefix": this.hasSlotController.test("prefix"),
77
+ "panel-header-suffix": this.hasSlotController.test("suffix")
78
+ })}
79
+ role="button"
80
+ aria-expanded=${this.closed ? "false" : "true"}
81
+ aria-controls="content"
82
+ tabindex="0"
83
+ @click=${this.handleHeaderClick}
84
+ @keydown=${this.handleHeaderKeyDown}
85
+ >
86
+ <slot
87
+ name="prefix"
88
+ part="prefix"
89
+ class="panel-header__prefix"
90
+ @click=${this.handleAccessoryClick}
91
+ @keydown=${this.handleHeaderKeyDown}
92
+ ></slot>
93
+
94
+ <slot name="title" part="title" class="panel-header__title-slot">
95
+ <span class="panel-header__title">${this.title}</span>
96
+ </slot>
97
+
98
+ <slot
99
+ name="suffix"
100
+ part="suffix"
101
+ class="panel-header__suffix"
102
+ @click=${this.handleAccessoryClick}
103
+ @keydown=${this.handleHeaderKeyDown}
104
+ ></slot>
105
+ ${this.fixed ? nothing : html`
106
+ <flow-ui-split-view-toggle-button
107
+ position="top"
108
+ ?closed=${this.closed}
109
+ @flow-ui-expand=${this.handleToggleButtonExpandCollapse}
110
+ @flow-ui-collapse=${this.handleToggleButtonExpandCollapse}
111
+ ></flow-ui-split-view-toggle-button>
112
+ `}
113
+ </div>
114
+ `;
115
+ }
116
+ }
117
+ FlowUiPanelHeader.styles = styles;
118
+ __decorateClass([
119
+ query(".panel-header")
120
+ ], FlowUiPanelHeader.prototype, "header", 2);
121
+ __decorateClass([
122
+ property({ type: Boolean, reflect: true })
123
+ ], FlowUiPanelHeader.prototype, "closed", 2);
124
+ __decorateClass([
125
+ property()
126
+ ], FlowUiPanelHeader.prototype, "title", 2);
127
+ __decorateClass([
128
+ property({ type: Boolean, reflect: true })
129
+ ], FlowUiPanelHeader.prototype, "fixed", 2);
130
+
131
+ export { FlowUiPanelHeader as default };
@@ -0,0 +1,5 @@
1
+ import FlowUiPanelHeader from './panel-header.component.mjs';
2
+
3
+
4
+
5
+ export { FlowUiPanelHeader as default };
@@ -0,0 +1,67 @@
1
+ import { css } from 'lit';
2
+ import componentStyles from '../../styles/component.styles.mjs';
3
+
4
+ const styles = css`
5
+ ${componentStyles}
6
+
7
+ :host {
8
+ display: block;
9
+
10
+ --padding: var(--flow-ui-panel-header-padding);
11
+ --header-height: var(--flow-ui-panel-header-height);
12
+ --background-color: var(--flow-ui-panel-header-background-color);
13
+ --color: var(--flow-ui-panel-header-color);
14
+ --accessory-color: var(--flow-ui-panel-header-accessory-color);
15
+ }
16
+
17
+ .panel-header {
18
+ display: flex;
19
+ align-items: center;
20
+ gap: var(--flow-ui-spacing-small);
21
+
22
+ height: var(--header-height);
23
+ padding: var(--padding);
24
+
25
+ color: var(--color);
26
+ background-color: var(--background-color);
27
+ user-select: none;
28
+ }
29
+
30
+ .panel-header__prefix,
31
+ .panel-header__suffix,
32
+ .panel-header__icon {
33
+ color: var(--accessory-color);
34
+ }
35
+
36
+ .panel-header__title-slot {
37
+ display: flex;
38
+ align-items: center;
39
+ flex: 1;
40
+ min-width: 0;
41
+ }
42
+
43
+ .panel-header__title {
44
+ font-weight: var(--flow-ui-panel-header-font-weight);
45
+ text-overflow: ellipsis;
46
+ overflow: hidden;
47
+ white-space: nowrap;
48
+ }
49
+
50
+ .panel-header__icon {
51
+ flex: 0 0 auto;
52
+ display: flex;
53
+ align-items: center;
54
+ transition: var(--flow-ui-transition-medium) rotate ease;
55
+ }
56
+
57
+ .panel-header--open .panel-header__icon {
58
+ rotate: 90deg;
59
+ }
60
+
61
+ .panel-header--open slot[name='expand-icon'],
62
+ .panel-header:not(.panel-header--open) slot[name='collapse-icon'] {
63
+ display: none;
64
+ }
65
+ `;
66
+
67
+ export { styles as default };