@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,130 @@
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: inline-block;
9
+ }
10
+
11
+ .tag {
12
+ display: flex;
13
+ align-items: center;
14
+ border: solid 1px;
15
+ line-height: 1;
16
+ white-space: nowrap;
17
+ user-select: none;
18
+ }
19
+
20
+ .tag__remove::part(base) {
21
+ color: inherit;
22
+ padding: 0;
23
+ }
24
+
25
+ /*
26
+ * Variant modifiers
27
+ */
28
+
29
+ .tag--primary {
30
+ background-color: var(--flow-ui-color-primary-50);
31
+ border-color: var(--flow-ui-color-primary-200);
32
+ color: var(--flow-ui-color-primary-800);
33
+ }
34
+
35
+ .tag--primary:active > flow-ui-icon-button {
36
+ color: var(--flow-ui-color-primary-500);
37
+ }
38
+
39
+ .tag--secondary {
40
+ background-color: var(--flow-ui-color-secondary-50);
41
+ border-color: var(--flow-ui-color-secondary-200);
42
+ color: var(--flow-ui-color-primary-800);
43
+ }
44
+
45
+ .tag--secondary:active > flow-ui-icon-button {
46
+ color: var(--flow-ui-color-secondary-500);
47
+ }
48
+
49
+ .tag--success {
50
+ background-color: var(--flow-ui-color-success-50);
51
+ border-color: var(--flow-ui-color-success-200);
52
+ color: var(--flow-ui-color-success-800);
53
+ }
54
+
55
+ .tag--success:active > flow-ui-icon-button {
56
+ color: var(--flow-ui-color-success-600);
57
+ }
58
+
59
+ .tag--neutral {
60
+ background-color: var(--flow-ui-color-neutral-50);
61
+ border-color: var(--flow-ui-color-neutral-200);
62
+ color: var(--flow-ui-color-neutral-800);
63
+ }
64
+
65
+ .tag--neutral:active > flow-ui-icon-button {
66
+ color: var(--flow-ui-color-neutral-600);
67
+ }
68
+
69
+ .tag--warning {
70
+ background-color: var(--flow-ui-color-warning-50);
71
+ border-color: var(--flow-ui-color-warning-200);
72
+ color: var(--flow-ui-color-warning-800);
73
+ }
74
+
75
+ .tag--warning:active > flow-ui-icon-button {
76
+ color: var(--flow-ui-color-warning-600);
77
+ }
78
+
79
+ .tag--danger {
80
+ background-color: var(--flow-ui-color-danger-50);
81
+ border-color: var(--flow-ui-color-danger-200);
82
+ color: var(--flow-ui-color-danger-800);
83
+ }
84
+
85
+ .tag--danger:active > flow-ui-icon-button {
86
+ color: var(--flow-ui-color-danger-600);
87
+ }
88
+
89
+ /*
90
+ * Size modifiers
91
+ */
92
+
93
+ .tag--small {
94
+ font-size: var(--flow-ui-button-font-size-small);
95
+ height: calc(var(--flow-ui-input-height-small) * 0.8);
96
+ line-height: calc(var(--flow-ui-input-height-small) - var(--flow-ui-input-border-width) * 2);
97
+ border-radius: var(--flow-ui-input-border-radius-small);
98
+ padding: 0 var(--flow-ui-spacing-x-small);
99
+ }
100
+
101
+ .tag--medium {
102
+ font-size: var(--flow-ui-button-font-size-medium);
103
+ height: calc(var(--flow-ui-input-height-medium) * 0.8);
104
+ line-height: calc(var(--flow-ui-input-height-medium) - var(--flow-ui-input-border-width) * 2);
105
+ border-radius: var(--flow-ui-input-border-radius-medium);
106
+ padding: 0 var(--flow-ui-spacing-small);
107
+ }
108
+
109
+ .tag--large {
110
+ font-size: var(--flow-ui-button-font-size-large);
111
+ height: calc(var(--flow-ui-input-height-large) * 0.8);
112
+ line-height: calc(var(--flow-ui-input-height-large) - var(--flow-ui-input-border-width) * 2);
113
+ border-radius: var(--flow-ui-input-border-radius-large);
114
+ padding: 0 var(--flow-ui-spacing-medium);
115
+ }
116
+
117
+ .tag__remove {
118
+ margin-inline-start: var(--flow-ui-spacing-x-small);
119
+ }
120
+
121
+ /*
122
+ * Pill modifier
123
+ */
124
+
125
+ .tag--pill {
126
+ border-radius: var(--flow-ui-border-radius-pill);
127
+ }
128
+ `;
129
+
130
+ export { styles as default };
@@ -0,0 +1,359 @@
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 { ifDefined } from 'lit/directives/if-defined.js';
5
+ import { live } from 'lit/directives/live.js';
6
+ import { boolean } from '../../internal/boolean.mjs';
7
+ import { defaultValue } from '../../internal/default-value.mjs';
8
+ import { FlowRdfFormControl } from '../../internal/flow-ui-rdf-element.mjs';
9
+ import { FormControlController } from '../../internal/form.mjs';
10
+ import { HasSlotController } from '../../internal/slot.mjs';
11
+ import { watch } from '../../internal/watch.mjs';
12
+ import styles from './textarea.styles.mjs';
13
+
14
+ var __defProp = Object.defineProperty;
15
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
16
+ var __decorateClass = (decorators, target, key, kind) => {
17
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
18
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
19
+ if (decorator = decorators[i])
20
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
21
+ if (kind && result)
22
+ __defProp(target, key, result);
23
+ return result;
24
+ };
25
+ class FlowUiTextarea extends FlowRdfFormControl {
26
+ constructor() {
27
+ super(...arguments);
28
+ this.formControlController = new FormControlController(this, {
29
+ assumeInteractionOn: ["flow-ui-blur", "flow-ui-input"]
30
+ });
31
+ this.hasSlotController = new HasSlotController(this, "help-text", "label");
32
+ this.hasFocus = false;
33
+ this.title = "";
34
+ this.name = "";
35
+ this.value = "";
36
+ this.size = "medium";
37
+ this.filled = false;
38
+ this.label = "";
39
+ this.helpText = "";
40
+ this.placeholder = "";
41
+ this.rows = 4;
42
+ this.resize = "vertical";
43
+ this.disabled = false;
44
+ this.readonly = false;
45
+ this.form = "";
46
+ this.required = false;
47
+ this.spellcheck = true;
48
+ this.defaultValue = "";
49
+ }
50
+ /** Gets the validity state object */
51
+ get validity() {
52
+ return this.input.validity;
53
+ }
54
+ /** Gets the validation message */
55
+ get validationMessage() {
56
+ return this.input.validationMessage;
57
+ }
58
+ connectedCallback() {
59
+ super.connectedCallback();
60
+ this.filled = boolean(this.filled, true);
61
+ this.disabled = boolean(this.disabled, true);
62
+ this.readonly = boolean(this.readonly, true);
63
+ this.required = boolean(this.required, true);
64
+ this.autofocus = boolean(this.autofocus, true);
65
+ this.resizeObserver = new ResizeObserver(() => this.setTextareaHeight());
66
+ this.updateComplete.then(() => {
67
+ this.setTextareaHeight();
68
+ this.resizeObserver.observe(this.input);
69
+ });
70
+ }
71
+ firstUpdated() {
72
+ this.formControlController.updateValidity();
73
+ }
74
+ disconnectedCallback() {
75
+ super.disconnectedCallback();
76
+ this.resizeObserver.unobserve(this.input);
77
+ }
78
+ handleBlur() {
79
+ this.hasFocus = false;
80
+ this.emit("flow-ui-blur");
81
+ }
82
+ handleChange() {
83
+ this.value = this.input.value;
84
+ this.setTextareaHeight();
85
+ this.emit("flow-ui-change");
86
+ }
87
+ handleFocus() {
88
+ this.hasFocus = true;
89
+ this.emit("flow-ui-focus");
90
+ }
91
+ handleInput() {
92
+ this.value = this.input.value;
93
+ this.emit("flow-ui-input");
94
+ }
95
+ handleInvalid(event) {
96
+ this.formControlController.setValidity(false);
97
+ this.formControlController.emitInvalidEvent(event);
98
+ }
99
+ setTextareaHeight() {
100
+ if (this.resize === "auto") {
101
+ this.input.style.height = "auto";
102
+ this.input.style.height = `${this.input.scrollHeight}px`;
103
+ } else {
104
+ this.input.style.height = void 0;
105
+ }
106
+ }
107
+ handleDisabledChange() {
108
+ this.formControlController.setValidity(this.disabled);
109
+ }
110
+ handleRowsChange() {
111
+ this.setTextareaHeight();
112
+ }
113
+ async handleValueChange() {
114
+ await this.updateComplete;
115
+ this.formControlController.updateValidity();
116
+ this.setTextareaHeight();
117
+ }
118
+ /** Sets focus on the textarea. */
119
+ focus(options) {
120
+ this.input.focus(options);
121
+ }
122
+ /** Removes focus from the textarea. */
123
+ blur() {
124
+ this.input.blur();
125
+ }
126
+ /** Selects all the text in the textarea. */
127
+ select() {
128
+ this.input.select();
129
+ }
130
+ /** Gets or sets the textarea's scroll position. */
131
+ scrollPosition(position) {
132
+ if (position) {
133
+ if (typeof position.top === "number")
134
+ this.input.scrollTop = position.top;
135
+ if (typeof position.left === "number")
136
+ this.input.scrollLeft = position.left;
137
+ return void 0;
138
+ }
139
+ return {
140
+ top: this.input.scrollTop,
141
+ left: this.input.scrollTop
142
+ };
143
+ }
144
+ /** Sets the start and end positions of the text selection (0-based). */
145
+ setSelectionRange(selectionStart, selectionEnd, selectionDirection = "none") {
146
+ this.input.setSelectionRange(selectionStart, selectionEnd, selectionDirection);
147
+ }
148
+ /** Replaces a range of text with a new string. */
149
+ setRangeText(replacement, start, end, selectMode) {
150
+ this.input.setRangeText(replacement, start, end, selectMode);
151
+ if (this.value !== this.input.value) {
152
+ this.value = this.input.value;
153
+ }
154
+ if (this.value !== this.input.value) {
155
+ this.value = this.input.value;
156
+ this.setTextareaHeight();
157
+ }
158
+ }
159
+ /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
160
+ checkValidity() {
161
+ return this.input.checkValidity();
162
+ }
163
+ /** Gets the associated form, if one exists. */
164
+ getForm() {
165
+ return this.formControlController.getForm();
166
+ }
167
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
168
+ reportValidity() {
169
+ return this.input.reportValidity();
170
+ }
171
+ /** Sets a custom validation message. Pass an empty string to restore validity. */
172
+ setCustomValidity(message) {
173
+ this.input.setCustomValidity(message);
174
+ this.formControlController.updateValidity();
175
+ }
176
+ render() {
177
+ const hasLabelSlot = this.hasSlotController.test("label");
178
+ const hasHelpTextSlot = this.hasSlotController.test("help-text");
179
+ const hasLabel = this.label ? true : !!hasLabelSlot;
180
+ const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
181
+ return html`
182
+ <div
183
+ part="form-control"
184
+ class=${classMap({
185
+ "form-control": true,
186
+ "form-control--small": this.size === "small",
187
+ "form-control--medium": this.size === "medium",
188
+ "form-control--large": this.size === "large",
189
+ "form-control--has-label": hasLabel,
190
+ "form-control--has-help-text": hasHelpText
191
+ })}
192
+ >
193
+ <label
194
+ part="form-control-label"
195
+ class="form-control__label"
196
+ for="input"
197
+ aria-hidden=${hasLabel ? "false" : "true"}
198
+ >
199
+ <slot name="label">${this.label}</slot>
200
+ </label>
201
+
202
+ <div part="form-control-input" class="form-control-input">
203
+ <div
204
+ part="base"
205
+ class=${classMap({
206
+ textarea: true,
207
+ "textarea--small": this.size === "small",
208
+ "textarea--medium": this.size === "medium",
209
+ "textarea--large": this.size === "large",
210
+ "textarea--standard": !this.filled,
211
+ "textarea--filled": this.filled,
212
+ "textarea--disabled": this.disabled,
213
+ "textarea--focused": this.hasFocus,
214
+ "textarea--empty": !this.value,
215
+ "textarea--resize-none": this.resize === "none",
216
+ "textarea--resize-vertical": this.resize === "vertical",
217
+ "textarea--resize-auto": this.resize === "auto"
218
+ })}
219
+ >
220
+ <textarea
221
+ part="textarea"
222
+ id="input"
223
+ class="textarea__control"
224
+ title=${this.title}
225
+ name=${ifDefined(this.name)}
226
+ .value=${live(this.value)}
227
+ ?disabled=${this.disabled}
228
+ ?readonly=${this.readonly}
229
+ ?required=${this.required}
230
+ placeholder=${ifDefined(this.placeholder)}
231
+ rows=${ifDefined(this.rows)}
232
+ minlength=${ifDefined(this.minlength)}
233
+ maxlength=${ifDefined(this.maxlength)}
234
+ autocapitalize=${ifDefined(this.autocapitalize)}
235
+ autocorrect=${ifDefined(this.autocorrect)}
236
+ ?autofocus=${this.autofocus}
237
+ spellcheck=${ifDefined(this.spellcheck)}
238
+ enterkeyhint=${ifDefined(this.enterkeyhint)}
239
+ inputmode=${ifDefined(this.inputmode)}
240
+ aria-describedby="help-text"
241
+ @change=${this.handleChange}
242
+ @input=${this.handleInput}
243
+ @invalid=${this.handleInvalid}
244
+ @focus=${this.handleFocus}
245
+ @blur=${this.handleBlur}
246
+ ></textarea>
247
+ </div>
248
+ </div>
249
+
250
+ <slot
251
+ name="help-text"
252
+ part="form-control-help-text"
253
+ id="help-text"
254
+ class="form-control__help-text"
255
+ aria-hidden=${hasHelpText ? "false" : "true"}
256
+ >
257
+ ${this.helpText}
258
+ </slot>
259
+ </div>
260
+ `;
261
+ }
262
+ }
263
+ FlowUiTextarea.styles = styles;
264
+ __decorateClass([
265
+ query(".textarea__control")
266
+ ], FlowUiTextarea.prototype, "input", 2);
267
+ __decorateClass([
268
+ state()
269
+ ], FlowUiTextarea.prototype, "hasFocus", 2);
270
+ __decorateClass([
271
+ property()
272
+ ], FlowUiTextarea.prototype, "title", 2);
273
+ __decorateClass([
274
+ property()
275
+ ], FlowUiTextarea.prototype, "name", 2);
276
+ __decorateClass([
277
+ property()
278
+ ], FlowUiTextarea.prototype, "value", 2);
279
+ __decorateClass([
280
+ property({ reflect: true })
281
+ ], FlowUiTextarea.prototype, "size", 2);
282
+ __decorateClass([
283
+ property({ type: Boolean, reflect: true })
284
+ ], FlowUiTextarea.prototype, "filled", 2);
285
+ __decorateClass([
286
+ property()
287
+ ], FlowUiTextarea.prototype, "label", 2);
288
+ __decorateClass([
289
+ property({ attribute: "help-text" })
290
+ ], FlowUiTextarea.prototype, "helpText", 2);
291
+ __decorateClass([
292
+ property()
293
+ ], FlowUiTextarea.prototype, "placeholder", 2);
294
+ __decorateClass([
295
+ property({ type: Number })
296
+ ], FlowUiTextarea.prototype, "rows", 2);
297
+ __decorateClass([
298
+ property()
299
+ ], FlowUiTextarea.prototype, "resize", 2);
300
+ __decorateClass([
301
+ property({ type: Boolean, reflect: true })
302
+ ], FlowUiTextarea.prototype, "disabled", 2);
303
+ __decorateClass([
304
+ property({ type: Boolean, reflect: true })
305
+ ], FlowUiTextarea.prototype, "readonly", 2);
306
+ __decorateClass([
307
+ property({ reflect: true })
308
+ ], FlowUiTextarea.prototype, "form", 2);
309
+ __decorateClass([
310
+ property({ type: Boolean, reflect: true })
311
+ ], FlowUiTextarea.prototype, "required", 2);
312
+ __decorateClass([
313
+ property({ type: Number })
314
+ ], FlowUiTextarea.prototype, "minlength", 2);
315
+ __decorateClass([
316
+ property({ type: Number })
317
+ ], FlowUiTextarea.prototype, "maxlength", 2);
318
+ __decorateClass([
319
+ property()
320
+ ], FlowUiTextarea.prototype, "autocapitalize", 2);
321
+ __decorateClass([
322
+ property()
323
+ ], FlowUiTextarea.prototype, "autocorrect", 2);
324
+ __decorateClass([
325
+ property()
326
+ ], FlowUiTextarea.prototype, "autocomplete", 2);
327
+ __decorateClass([
328
+ property({ type: Boolean })
329
+ ], FlowUiTextarea.prototype, "autofocus", 2);
330
+ __decorateClass([
331
+ property()
332
+ ], FlowUiTextarea.prototype, "enterkeyhint", 2);
333
+ __decorateClass([
334
+ property({
335
+ type: Boolean,
336
+ converter: {
337
+ // Allow "true|false" attribute values but keep the property boolean
338
+ fromAttribute: (value) => boolean(value),
339
+ toAttribute: (value) => value ? "true" : "false"
340
+ }
341
+ })
342
+ ], FlowUiTextarea.prototype, "spellcheck", 2);
343
+ __decorateClass([
344
+ property()
345
+ ], FlowUiTextarea.prototype, "inputmode", 2);
346
+ __decorateClass([
347
+ defaultValue()
348
+ ], FlowUiTextarea.prototype, "defaultValue", 2);
349
+ __decorateClass([
350
+ watch("disabled", { waitUntilFirstUpdate: true })
351
+ ], FlowUiTextarea.prototype, "handleDisabledChange", 1);
352
+ __decorateClass([
353
+ watch("rows", { waitUntilFirstUpdate: true })
354
+ ], FlowUiTextarea.prototype, "handleRowsChange", 1);
355
+ __decorateClass([
356
+ watch("value", { waitUntilFirstUpdate: true })
357
+ ], FlowUiTextarea.prototype, "handleValueChange", 1);
358
+
359
+ export { FlowUiTextarea as default };
@@ -0,0 +1,5 @@
1
+ import FlowUiTextarea from './textarea.component.mjs';
2
+
3
+
4
+
5
+ export { FlowUiTextarea as default };
@@ -0,0 +1,171 @@
1
+ import { css } from 'lit';
2
+ import componentStyles from '../../styles/component.styles.mjs';
3
+ import formControlStyles from '../../styles/form-control.styles.mjs';
4
+
5
+ const styles = css`
6
+ ${componentStyles}
7
+ ${formControlStyles}
8
+
9
+ :host {
10
+ display: block;
11
+ }
12
+
13
+ .textarea {
14
+ display: flex;
15
+ align-items: center;
16
+ position: relative;
17
+ width: 100%;
18
+ font-family: var(--flow-ui-input-font-family);
19
+ font-weight: var(--flow-ui-input-font-weight);
20
+ line-height: var(--flow-ui-line-height-normal);
21
+ letter-spacing: var(--flow-ui-input-letter-spacing);
22
+ vertical-align: middle;
23
+ transition: var(--flow-ui-transition-fast) color, var(--flow-ui-transition-fast) border, var(--flow-ui-transition-fast) box-shadow,
24
+ var(--flow-ui-transition-fast) background-color;
25
+ cursor: text;
26
+ }
27
+
28
+ /* Standard textareas */
29
+ .textarea--standard {
30
+ background-color: var(--flow-ui-input-background-color);
31
+ border: solid var(--flow-ui-input-border-width) var(--flow-ui-input-border-color);
32
+ }
33
+
34
+ .textarea--standard:hover:not(.textarea--disabled) {
35
+ background-color: var(--flow-ui-input-background-color-hover);
36
+ border-color: var(--flow-ui-input-border-color-hover);
37
+ }
38
+ .textarea--standard:hover:not(.textarea--disabled) .textarea__control {
39
+ color: var(--flow-ui-input-color-hover);
40
+ }
41
+
42
+ .textarea--standard.textarea--focused:not(.textarea--disabled) {
43
+ background-color: var(--flow-ui-input-background-color-focus);
44
+ border-color: var(--flow-ui-input-border-color-focus);
45
+ color: var(--flow-ui-input-color-focus);
46
+ box-shadow: 0 0 0 var(--flow-ui-focus-ring-width) var(--flow-ui-input-focus-ring-color);
47
+ }
48
+
49
+ .textarea--standard.textarea--focused:not(.textarea--disabled) .textarea__control {
50
+ color: var(--flow-ui-input-color-focus);
51
+ }
52
+
53
+ .textarea--standard.textarea--disabled {
54
+ background-color: var(--flow-ui-input-background-color-disabled);
55
+ border-color: var(--flow-ui-input-border-color-disabled);
56
+ opacity: 0.5;
57
+ cursor: not-allowed;
58
+ }
59
+
60
+ .textarea--standard.textarea--disabled .textarea__control {
61
+ color: var(--flow-ui-input-color-disabled);
62
+ }
63
+
64
+ .textarea--standard.textarea--disabled .textarea__control::placeholder {
65
+ color: var(--flow-ui-input-placeholder-color-disabled);
66
+ }
67
+
68
+ /* Filled textareas */
69
+ .textarea--filled {
70
+ border: none;
71
+ background-color: var(--flow-ui-input-filled-background-color);
72
+ color: var(--flow-ui-input-color);
73
+ }
74
+
75
+ .textarea--filled:hover:not(.textarea--disabled) {
76
+ background-color: var(--flow-ui-input-filled-background-color-hover);
77
+ }
78
+
79
+ .textarea--filled.textarea--focused:not(.textarea--disabled) {
80
+ background-color: var(--flow-ui-input-filled-background-color-focus);
81
+ outline: var(--flow-ui-focus-ring);
82
+ outline-offset: var(--flow-ui-focus-ring-offset);
83
+ }
84
+
85
+ .textarea--filled.textarea--disabled {
86
+ background-color: var(--flow-ui-input-filled-background-color-disabled);
87
+ opacity: 0.5;
88
+ cursor: not-allowed;
89
+ }
90
+
91
+ .textarea__control {
92
+ flex: 1 1 auto;
93
+ font-family: inherit;
94
+ font-size: inherit;
95
+ font-weight: inherit;
96
+ line-height: 1.4;
97
+ color: var(--flow-ui-input-color);
98
+ border: none;
99
+ background: none;
100
+ box-shadow: none;
101
+ cursor: inherit;
102
+ -webkit-appearance: none;
103
+ }
104
+
105
+ .textarea__control::-webkit-search-decoration,
106
+ .textarea__control::-webkit-search-cancel-button,
107
+ .textarea__control::-webkit-search-results-button,
108
+ .textarea__control::-webkit-search-results-decoration {
109
+ -webkit-appearance: none;
110
+ }
111
+
112
+ .textarea__control::placeholder {
113
+ color: var(--flow-ui-input-placeholder-color);
114
+ user-select: none;
115
+ }
116
+
117
+ .textarea__control:focus {
118
+ outline: none;
119
+ }
120
+
121
+ /*
122
+ * Size modifiers
123
+ */
124
+
125
+ .textarea--small {
126
+ border-radius: var(--flow-ui-input-border-radius-small);
127
+ font-size: var(--flow-ui-input-font-size-small);
128
+ }
129
+
130
+ .textarea--small .textarea__control {
131
+ padding: 0.5em var(--flow-ui-input-spacing-small);
132
+ }
133
+
134
+ .textarea--medium {
135
+ border-radius: var(--flow-ui-input-border-radius-medium);
136
+ font-size: var(--flow-ui-input-font-size-medium);
137
+ }
138
+
139
+ .textarea--medium .textarea__control {
140
+ padding: 0.5em var(--flow-ui-input-spacing-medium);
141
+ }
142
+
143
+ .textarea--large {
144
+ border-radius: var(--flow-ui-input-border-radius-large);
145
+ font-size: var(--flow-ui-input-font-size-large);
146
+ }
147
+
148
+ .textarea--large .textarea__control {
149
+ padding: 0.5em var(--flow-ui-input-spacing-large);
150
+ }
151
+
152
+ /*
153
+ * Resize types
154
+ */
155
+
156
+ .textarea--resize-none .textarea__control {
157
+ resize: none;
158
+ }
159
+
160
+ .textarea--resize-vertical .textarea__control {
161
+ resize: vertical;
162
+ }
163
+
164
+ .textarea--resize-auto .textarea__control {
165
+ height: auto;
166
+ resize: none;
167
+ overflow-y: hidden;
168
+ }
169
+ `;
170
+
171
+ export { styles as default };