@emuanalytics/flow-rdf-ui 4.0.5 → 4.0.7

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 (359) 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 +297 -0
  194. package/dist/components/timer/timer.mjs +5 -0
  195. package/dist/components/timer/timer.styles.mjs +95 -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 +1535 -1530
  215. package/dist/index.d.mts +145 -132
  216. package/dist/index.d.ts +145 -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 +193 -181
  351. package/package.json +5 -8
  352. package/themes/dark.css +6 -2
  353. package/themes/dark.styles.js +6 -2
  354. package/themes/light.css +6 -2
  355. package/themes/light.styles.js +6 -2
  356. package/dist/icons/index.cjs +0 -4053
  357. package/dist/icons/index.d.cts +0 -2027
  358. package/dist/index.cjs +0 -25187
  359. package/dist/index.d.cts +0 -5678
@@ -0,0 +1,690 @@
1
+ import { css } from 'lit';
2
+ import componentStyles from '../../styles/component.styles.mjs';
3
+
4
+ const buttonStyles = css`
5
+ ${componentStyles}
6
+
7
+ :host {
8
+ display: inline-block;
9
+ position: relative;
10
+ width: auto;
11
+ cursor: pointer;
12
+ }
13
+
14
+ .button {
15
+ display: inline-flex;
16
+ align-items: stretch;
17
+ justify-content: center;
18
+ width: 100%;
19
+ border-style: solid;
20
+ border-width: var(--flow-ui-input-border-width);
21
+ font-family: var(--flow-ui-input-font-family);
22
+ font-weight: var(--flow-ui-font-weight-semibold);
23
+ text-decoration: none;
24
+ text-transform: var(--flow-ui-button-text-transform, uppercase);
25
+ user-select: none;
26
+ white-space: nowrap;
27
+ vertical-align: middle;
28
+ padding: 0;
29
+ transition:
30
+ var(--flow-ui-transition-x-fast) background-color,
31
+ var(--flow-ui-transition-x-fast) color,
32
+ var(--flow-ui-transition-x-fast) border,
33
+ var(--flow-ui-transition-x-fast) box-shadow;
34
+ cursor: inherit;
35
+ }
36
+
37
+ .button::-moz-focus-inner {
38
+ border: 0;
39
+ }
40
+
41
+ .button:focus {
42
+ outline: none;
43
+ }
44
+
45
+ .button:focus-visible {
46
+ outline: var(--flow-ui-focus-ring);
47
+ outline-offset: var(--flow-ui-focus-ring-offset);
48
+ }
49
+
50
+ .button--disabled {
51
+ opacity: 0.5;
52
+ cursor: not-allowed;
53
+ }
54
+
55
+ /* When disabled, prevent mouse events from bubbling up from children */
56
+ .button--disabled * {
57
+ pointer-events: none;
58
+ }
59
+
60
+ .button__prefix,
61
+ .button__suffix {
62
+ flex: 0 0 auto;
63
+ display: flex;
64
+ align-items: center;
65
+ pointer-events: none;
66
+ }
67
+
68
+ .button__label {
69
+ display: inline-block;
70
+ }
71
+
72
+ .button__label::slotted(flow-ui-icon) {
73
+ vertical-align: -2px;
74
+ }
75
+
76
+ /*
77
+ * Standard buttons
78
+ */
79
+
80
+ /* Default */
81
+ .button--standard.button--default {
82
+ background-color: var(--flow-ui-color-neutral-0);
83
+ border-color: var(--flow-ui-color-neutral-300);
84
+ color: var(--flow-ui-color-neutral-700);
85
+ }
86
+
87
+ .button--standard.button--default:hover:not(.button--disabled) {
88
+ background-color: var(--flow-ui-color-primary-50);
89
+ border-color: var(--flow-ui-color-primary-300);
90
+ color: var(--flow-ui-color-primary-600);
91
+ }
92
+
93
+ .button--standard.button--default:active:not(.button--disabled) {
94
+ background-color: var(--flow-ui-color-primary-100);
95
+ border-color: var(--flow-ui-color-primary-300);
96
+ color: var(--flow-ui-color-primary-600);
97
+ }
98
+
99
+ /* Primary */
100
+ .button--standard.button--primary {
101
+ background-color: var(--flow-ui-color-primary-500);
102
+ border-color: var(--flow-ui-color-primary-500);
103
+ color: var(--flow-ui-color-primary-contrast);
104
+ }
105
+
106
+ .button--standard.button--primary:hover:not(.button--disabled) {
107
+ background-color: var(--flow-ui-color-primary-400);
108
+ border-color: var(--flow-ui-color-primary-400);
109
+ color: var(--flow-ui-color-primary-contrast);
110
+ }
111
+
112
+ .button--standard.button--primary:active:not(.button--disabled) {
113
+ background-color: var(--flow-ui-color-primary-500);
114
+ border-color: var(--flow-ui-color-primary-500);
115
+ color: var(--flow-ui-color-primary-contrast);
116
+ }
117
+
118
+ /* Secondary */
119
+ .button--standard.button--secondary {
120
+ background-color: var(--flow-ui-color-secondary-500);
121
+ border-color: var(--flow-ui-color-secondary-500);
122
+ color: var(--flow-ui-color-secondary-contrast);
123
+ }
124
+
125
+ .button--standard.button--secondary:hover:not(.button--disabled) {
126
+ background-color: var(--flow-ui-color-secondary-400);
127
+ border-color: var(--flow-ui-color-secondary-400);
128
+ color: var(--flow-ui-color-secondary-contrast);
129
+ }
130
+
131
+ .button--standard.button--secondary:active:not(.button--disabled) {
132
+ background-color: var(--flow-ui-color-secondary-500);
133
+ border-color: var(--flow-ui-color-secondary-500);
134
+ color: var(--flow-ui-color-secondary-contrast);
135
+ }
136
+
137
+ /* Success */
138
+ .button--standard.button--success {
139
+ background-color: var(--flow-ui-color-success-500);
140
+ border-color: var(--flow-ui-color-success-500);
141
+ color: var(--flow-ui-color-success-contrast);
142
+ }
143
+
144
+ .button--standard.button--success:hover:not(.button--disabled) {
145
+ background-color: var(--flow-ui-color-success-400);
146
+ border-color: var(--flow-ui-color-success-400);
147
+ color: var(--flow-ui-color-success-contrast);
148
+ }
149
+
150
+ .button--standard.button--success:active:not(.button--disabled) {
151
+ background-color: var(--flow-ui-color-success-500);
152
+ border-color: var(--flow-ui-color-success-500);
153
+ color: var(--flow-ui-color-success-contrast);
154
+ }
155
+
156
+ /* Neutral */
157
+ .button--standard.button--neutral {
158
+ background-color: var(--flow-ui-color-neutral-500);
159
+ border-color: var(--flow-ui-color-neutral-500);
160
+ color: var(--flow-ui-color-neutral-contrast);
161
+ }
162
+
163
+ .button--standard.button--neutral:hover:not(.button--disabled) {
164
+ background-color: var(--flow-ui-color-neutral-400);
165
+ border-color: var(--flow-ui-color-neutral-400);
166
+ color: var(--flow-ui-color-neutral-contrast);
167
+ }
168
+
169
+ .button--standard.button--neutral:active:not(.button--disabled) {
170
+ background-color: var(--flow-ui-color-neutral-500);
171
+ border-color: var(--flow-ui-color-neutral-500);
172
+ color: var(--flow-ui-color-neutral-contrast);
173
+ }
174
+
175
+ /* Warning */
176
+ .button--standard.button--warning {
177
+ background-color: var(--flow-ui-color-warning-500);
178
+ border-color: var(--flow-ui-color-warning-500);
179
+ color: var(--flow-ui-color-warning-contrast);
180
+ }
181
+ .button--standard.button--warning:hover:not(.button--disabled) {
182
+ background-color: var(--flow-ui-color-warning-400);
183
+ border-color: var(--flow-ui-color-warning-400);
184
+ color: var(--flow-ui-color-warning-contrast);
185
+ }
186
+
187
+ .button--standard.button--warning:active:not(.button--disabled) {
188
+ background-color: var(--flow-ui-color-warning-500);
189
+ border-color: var(--flow-ui-color-warning-500);
190
+ color: var(--flow-ui-color-warning-contrast);
191
+ }
192
+
193
+ /* Danger */
194
+ .button--standard.button--danger {
195
+ background-color: var(--flow-ui-color-danger-500);
196
+ border-color: var(--flow-ui-color-danger-500);
197
+ color: var(--flow-ui-color-danger-contrast);
198
+ }
199
+
200
+ .button--standard.button--danger:hover:not(.button--disabled) {
201
+ background-color: var(--flow-ui-color-danger-400);
202
+ border-color: var(--flow-ui-color-danger-400);
203
+ color: var(--flow-ui-color-danger-contrast);
204
+ }
205
+
206
+ .button--standard.button--danger:active:not(.button--disabled) {
207
+ background-color: var(--flow-ui-color-danger-500);
208
+ border-color: var(--flow-ui-color-danger-500);
209
+ color: var(--flow-ui-color-danger-contrast);
210
+ }
211
+
212
+ /*
213
+ * Outline buttons
214
+ */
215
+
216
+ .button--outline {
217
+ background: none;
218
+ border: solid 1px;
219
+ }
220
+
221
+ /* Default */
222
+ .button--outline.button--default {
223
+ border-color: var(--flow-ui-color-neutral-300);
224
+ color: var(--flow-ui-color-neutral-700);
225
+ }
226
+
227
+ .button--outline.button--default:hover:not(.button--disabled),
228
+ .button--outline.button--default.button--checked:not(.button--disabled) {
229
+ border-color: var(--flow-ui-color-primary-500);
230
+ background-color: var(--flow-ui-color-primary-500);
231
+ color: var(--flow-ui-color-neutral-0);
232
+ }
233
+
234
+ .button--outline.button--default:active:not(.button--disabled) {
235
+ border-color: var(--flow-ui-color-primary-600);
236
+ background-color: var(--flow-ui-color-primary-600);
237
+ color: var(--flow-ui-color-neutral-0);
238
+ }
239
+
240
+ /* Primary */
241
+ .button--outline.button--primary {
242
+ border-color: var(--flow-ui-color-primary-500);
243
+ color: var(--flow-ui-color-primary-500);
244
+ }
245
+
246
+ .button--outline.button--primary:hover:not(.button--disabled),
247
+ .button--outline.button--primary.button--checked:not(.button--disabled) {
248
+ background-color: var(--flow-ui-color-primary-500);
249
+ color: var(--flow-ui-color-neutral-0);
250
+ }
251
+
252
+ .button--outline.button--primary:active:not(.button--disabled) {
253
+ border-color: var(--flow-ui-color-primary-600);
254
+ background-color: var(--flow-ui-color-primary-600);
255
+ color: var(--flow-ui-color-neutral-0);
256
+ }
257
+
258
+ /* Success */
259
+ .button--outline.button--success {
260
+ border-color: var(--flow-ui-color-success-600);
261
+ color: var(--flow-ui-color-success-600);
262
+ }
263
+
264
+ .button--outline.button--success:hover:not(.button--disabled),
265
+ .button--outline.button--success.button--checked:not(.button--disabled) {
266
+ background-color: var(--flow-ui-color-success-600);
267
+ color: var(--flow-ui-color-neutral-0);
268
+ }
269
+
270
+ .button--outline.button--success:active:not(.button--disabled) {
271
+ border-color: var(--flow-ui-color-success-700);
272
+ background-color: var(--flow-ui-color-success-700);
273
+ color: var(--flow-ui-color-neutral-0);
274
+ }
275
+
276
+ /* Neutral */
277
+ .button--outline.button--neutral {
278
+ border-color: var(--flow-ui-color-neutral-600);
279
+ color: var(--flow-ui-color-neutral-600);
280
+ }
281
+
282
+ .button--outline.button--neutral:hover:not(.button--disabled),
283
+ .button--outline.button--neutral.button--checked:not(.button--disabled) {
284
+ background-color: var(--flow-ui-color-neutral-600);
285
+ color: var(--flow-ui-color-neutral-0);
286
+ }
287
+
288
+ .button--outline.button--neutral:active:not(.button--disabled) {
289
+ border-color: var(--flow-ui-color-neutral-700);
290
+ background-color: var(--flow-ui-color-neutral-700);
291
+ color: var(--flow-ui-color-neutral-0);
292
+ }
293
+
294
+ /* Warning */
295
+ .button--outline.button--warning {
296
+ border-color: var(--flow-ui-color-warning-600);
297
+ color: var(--flow-ui-color-warning-600);
298
+ }
299
+
300
+ .button--outline.button--warning:hover:not(.button--disabled),
301
+ .button--outline.button--warning.button--checked:not(.button--disabled) {
302
+ background-color: var(--flow-ui-color-warning-600);
303
+ color: var(--flow-ui-color-neutral-0);
304
+ }
305
+
306
+ .button--outline.button--warning:active:not(.button--disabled) {
307
+ border-color: var(--flow-ui-color-warning-700);
308
+ background-color: var(--flow-ui-color-warning-700);
309
+ color: var(--flow-ui-color-neutral-0);
310
+ }
311
+
312
+ /* Danger */
313
+ .button--outline.button--danger {
314
+ border-color: var(--flow-ui-color-danger-600);
315
+ color: var(--flow-ui-color-danger-600);
316
+ }
317
+
318
+ .button--outline.button--danger:hover:not(.button--disabled),
319
+ .button--outline.button--danger.button--checked:not(.button--disabled) {
320
+ background-color: var(--flow-ui-color-danger-600);
321
+ color: var(--flow-ui-color-neutral-0);
322
+ }
323
+
324
+ .button--outline.button--danger:active:not(.button--disabled) {
325
+ border-color: var(--flow-ui-color-danger-700);
326
+ background-color: var(--flow-ui-color-danger-700);
327
+ color: var(--flow-ui-color-neutral-0);
328
+ }
329
+
330
+ @media (forced-colors: active) {
331
+ .button.button--outline.button--checked:not(.button--disabled) {
332
+ outline: solid 2px transparent;
333
+ }
334
+ }
335
+
336
+ /*
337
+ * Text buttons
338
+ */
339
+
340
+ .button--text {
341
+ background-color: transparent;
342
+ border-color: transparent;
343
+ color: var(--flow-ui-color-primary-500);
344
+ }
345
+
346
+ .button--text:hover:not(.button--disabled) {
347
+ background-color: transparent;
348
+ border-color: transparent;
349
+ color: var(--flow-ui-color-primary-400);
350
+ }
351
+
352
+ .button--text:focus-visible:not(.button--disabled) {
353
+ background-color: transparent;
354
+ border-color: transparent;
355
+ color: var(--flow-ui-color-primary-400);
356
+ }
357
+
358
+ .button--text:active:not(.button--disabled) {
359
+ background-color: transparent;
360
+ border-color: transparent;
361
+ color: var(--flow-ui-color-primary-600);
362
+ }
363
+
364
+ /*
365
+ * Size modifiers
366
+ */
367
+
368
+ .button--x-small {
369
+ height: auto;
370
+ min-height: var(--flow-ui-input-height-small);
371
+ font-size: var(--flow-ui-button-font-size-x-small);
372
+ line-height: calc(var(--flow-ui-input-height-small) - var(--flow-ui-input-border-width) * 2);
373
+ border-radius: var(--flow-ui-input-border-radius-small);
374
+ }
375
+
376
+ .button--small {
377
+ height: auto;
378
+ min-height: var(--flow-ui-input-height-small);
379
+ font-size: var(--flow-ui-button-font-size-small);
380
+ line-height: calc(var(--flow-ui-input-height-small) - var(--flow-ui-input-border-width) * 2);
381
+ border-radius: var(--flow-ui-input-border-radius-small);
382
+ }
383
+
384
+ .button--medium {
385
+ height: auto;
386
+ min-height: var(--flow-ui-input-height-medium);
387
+ font-size: var(--flow-ui-button-font-size-medium);
388
+ line-height: calc(var(--flow-ui-input-height-medium) - var(--flow-ui-input-border-width) * 2);
389
+ border-radius: var(--flow-ui-input-border-radius-medium);
390
+ }
391
+
392
+ .button--large {
393
+ height: auto;
394
+ min-height: var(--flow-ui-input-height-large);
395
+ font-size: var(--flow-ui-button-font-size-large);
396
+ line-height: calc(var(--flow-ui-input-height-large) - var(--flow-ui-input-border-width) * 2);
397
+ border-radius: var(--flow-ui-input-border-radius-large);
398
+ }
399
+
400
+ /*
401
+ * Pill modifier
402
+ */
403
+
404
+ .button--pill.button--small {
405
+ border-radius: var(--flow-ui-input-height-small);
406
+ }
407
+
408
+ .button--pill.button--medium {
409
+ border-radius: var(--flow-ui-input-height-medium);
410
+ }
411
+
412
+ .button--pill.button--large {
413
+ border-radius: var(--flow-ui-input-height-large);
414
+ }
415
+
416
+ /*
417
+ * FAB modifier
418
+ */
419
+
420
+ .button--fab {
421
+ padding-left: 0;
422
+ padding-right: 0;
423
+ }
424
+
425
+ .button--fab .button__label {
426
+ display: flex;
427
+ align-items: center;
428
+ }
429
+
430
+ .button--fab.button--small {
431
+ width: var(--flow-ui-input-height-small);
432
+ box-shadow: var(--flow-ui-shadow-small);
433
+ font-size: var(--flow-ui-font-size-medium);
434
+ }
435
+
436
+ .button--fab.button--medium {
437
+ width: var(--flow-ui-input-height-medium);
438
+ box-shadow: var(--flow-ui-shadow-medium);
439
+ font-size: var(--flow-ui-font-size-large);
440
+ }
441
+
442
+ .button--fab.button--large {
443
+ width: var(--flow-ui-input-height-large);
444
+ box-shadow: var(--flow-ui-shadow-large);
445
+ font-size: var(--flow-ui-font-size-large);
446
+ }
447
+
448
+ .button--fab .button__prefix,
449
+ .button--fab .button__suffix,
450
+ .button--fab .button__caret {
451
+ display: none;
452
+ }
453
+
454
+ .button--circle {
455
+ border-radius: 50%;
456
+ }
457
+
458
+ .button--square.button--small {
459
+ border-radius: var(--flow-ui-border-radius-small);
460
+ }
461
+
462
+ .button--square.button--medium {
463
+ border-radius: var(--flow-ui-border-radius-medium);
464
+ }
465
+
466
+ .button--square.button--large {
467
+ border-radius: var(--flow-ui-border-radius-large);
468
+ }
469
+
470
+ /*
471
+ * Caret modifier
472
+ */
473
+
474
+ .button--caret .button__suffix {
475
+ display: none;
476
+ }
477
+
478
+ .button--caret .button__caret {
479
+ height: auto;
480
+ }
481
+
482
+ /*
483
+ * Loading modifier
484
+ */
485
+
486
+ .button--loading {
487
+ position: relative;
488
+ cursor: wait;
489
+ }
490
+
491
+ .button--loading .button__prefix,
492
+ .button--loading .button__label,
493
+ .button--loading .button__suffix,
494
+ .button--loading .button__caret {
495
+ visibility: hidden;
496
+ }
497
+
498
+ .button--loading flow-ui-spinner {
499
+ --indicator-color: currentColor;
500
+ position: absolute;
501
+ font-size: 1em;
502
+ height: 1em;
503
+ width: 1em;
504
+ top: calc(50% - 0.5em);
505
+ left: calc(50% - 0.5em);
506
+ }
507
+
508
+ /*
509
+ * Badges
510
+ */
511
+
512
+ .button ::slotted(flow-ui-badge) {
513
+ position: absolute;
514
+ top: 0;
515
+ right: 0;
516
+ translate: 50% -50%;
517
+ pointer-events: none;
518
+ }
519
+
520
+ .button--rtl ::slotted(flow-ui-badge) {
521
+ right: auto;
522
+ left: 0;
523
+ translate: -50% -50%;
524
+ }
525
+
526
+ /*
527
+ * Button spacing
528
+ */
529
+
530
+ .button--has-label.button--small .button__label {
531
+ padding: 0 var(--flow-ui-spacing-small);
532
+ }
533
+
534
+ .button--has-label.button--medium .button__label {
535
+ padding: 0 var(--flow-ui-spacing-medium);
536
+ }
537
+
538
+ .button--has-label.button--large .button__label {
539
+ padding: 0 var(--flow-ui-spacing-large);
540
+ }
541
+
542
+ .button--has-prefix.button--small {
543
+ padding-inline-start: var(--flow-ui-spacing-x-small);
544
+ }
545
+
546
+ .button--has-prefix.button--small .button__label {
547
+ padding-inline-start: var(--flow-ui-spacing-x-small);
548
+ }
549
+
550
+ .button--has-prefix.button--medium {
551
+ padding-inline-start: var(--flow-ui-spacing-small);
552
+ }
553
+
554
+ .button--has-prefix.button--medium .button__label {
555
+ padding-inline-start: var(--flow-ui-spacing-small);
556
+ }
557
+
558
+ .button--has-prefix.button--large {
559
+ padding-inline-start: var(--flow-ui-spacing-small);
560
+ }
561
+
562
+ .button--has-prefix.button--large .button__label {
563
+ padding-inline-start: var(--flow-ui-spacing-small);
564
+ }
565
+
566
+ .button--has-suffix.button--small,
567
+ .button--caret.button--small {
568
+ padding-inline-end: var(--flow-ui-spacing-x-small);
569
+ }
570
+
571
+ .button--has-suffix.button--small .button__label,
572
+ .button--caret.button--small .button__label {
573
+ padding-inline-end: var(--flow-ui-spacing-x-small);
574
+ }
575
+
576
+ .button--has-suffix.button--medium,
577
+ .button--caret.button--medium {
578
+ padding-inline-end: var(--flow-ui-spacing-small);
579
+ }
580
+
581
+ .button--has-suffix.button--medium .button__label,
582
+ .button--caret.button--medium .button__label {
583
+ padding-inline-end: var(--flow-ui-spacing-small);
584
+ }
585
+
586
+ .button--has-suffix.button--large,
587
+ .button--caret.button--large {
588
+ padding-inline-end: var(--flow-ui-spacing-small);
589
+ }
590
+
591
+ .button--has-suffix.button--large .button__label,
592
+ .button--caret.button--large .button__label {
593
+ padding-inline-end: var(--flow-ui-spacing-small);
594
+ }
595
+
596
+ /*
597
+ * Button groups support a variety of button types (e.g. buttons with tooltips, buttons as dropdown triggers, etc.).
598
+ * This means buttons aren't always direct descendants of the button group, thus we can't target them with the
599
+ * ::slotted selector. To work around this, the button group component does some magic to add these special classes to
600
+ * buttons and we style them here instead.
601
+ */
602
+
603
+ :host(
604
+ .flow-ui-button-group__button--first:not(.flow-ui-button-group__button--last):not(
605
+ .flow-ui-button-group__button--vertical
606
+ )
607
+ )
608
+ .button {
609
+ border-start-end-radius: 0;
610
+ border-end-end-radius: 0;
611
+ }
612
+
613
+ :host(.flow-ui-button-group__button--inner) .button {
614
+ border-radius: 0;
615
+ }
616
+
617
+ :host(
618
+ .flow-ui-button-group__button--last:not(
619
+ .flow-ui-button-group__button--vertical,
620
+ .flow-ui-button-group__button--first
621
+ )
622
+ )
623
+ .button {
624
+ border-start-start-radius: 0;
625
+ border-end-start-radius: 0;
626
+ }
627
+
628
+ /* All except the first */
629
+ :host(
630
+ .flow-ui-button-group__button:not(.flow-ui-button-group__button--vertical, .flow-ui-button-group__button--first)
631
+ ) {
632
+ margin-inline-start: calc(-1 * var(--flow-ui-input-border-width));
633
+ }
634
+
635
+ /* Add a visual separator between solid buttons */
636
+ :host(
637
+ .flow-ui-button-group__button:not(
638
+ .flow-ui-button-group__button--first,
639
+ .flow-ui-button-group__button--radio,
640
+ .flow-ui-button-group__button--tool,
641
+ .flow-ui-button-group__button--vertical [variant='default']
642
+ ):not(:hover)
643
+ )
644
+ .button:after {
645
+ content: '';
646
+ position: absolute;
647
+ top: 0;
648
+ inset-inline-start: 0;
649
+ bottom: 0;
650
+ border-left: solid 1px rgb(128 128 128 / 33%);
651
+ mix-blend-mode: multiply;
652
+ }
653
+
654
+ /* Variants for vertical layout of button group */
655
+ :host(
656
+ .flow-ui-button-group__button--vertical.flow-ui-button-group__button--first:not(
657
+ .flow-ui-button-group__button--last
658
+ )
659
+ )
660
+ .button {
661
+ border-end-start-radius: 0;
662
+ border-end-end-radius: 0;
663
+ }
664
+
665
+ :host(.flow-ui-button-group__button--vertical:not(.flow-ui-button-group__button--first)) .button {
666
+ border-start-start-radius: 0;
667
+ border-start-end-radius: 0;
668
+ }
669
+
670
+ :host(.flow-ui-button-group__button--vertical:not(.flow-ui-button-group__button--first)) {
671
+ margin-block-start: calc(-1 * var(--flow-ui-input-border-width));
672
+ }
673
+
674
+ /* Bump hovered, focused, and checked buttons up so their focus ring isn't clipped */
675
+ :host(.flow-ui-button-group__button--hover) {
676
+ z-index: 1;
677
+ }
678
+
679
+ /* Focus and checked are always on top */
680
+ :host(.flow-ui-button-group__button[checked]) {
681
+ z-index: 2;
682
+ }
683
+
684
+ :host(.flow-ui-button-group__button--focus),
685
+ :host(.flow-ui-button-group__button--focus[checked]) {
686
+ z-index: 3;
687
+ }
688
+ `;
689
+
690
+ export { buttonStyles as default };