intergalactic 15.129.0 → 15.130.0

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 (1724) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/accordion/lib/cjs/Accordion.js +12 -10
  3. package/accordion/lib/cjs/Accordion.js.map +1 -1
  4. package/accordion/lib/es6/Accordion.js +12 -10
  5. package/accordion/lib/es6/Accordion.js.map +1 -1
  6. package/accordion/lib/esm/Accordion.mjs +203 -162
  7. package/accordion/lib/esm/index.mjs +4 -4
  8. package/accordion/lib/esm/style/accordion.shadow.css +50 -0
  9. package/accordion/package.json +1 -1
  10. package/add-filter/lib/esm/AddFilter.mjs +201 -153
  11. package/add-filter/lib/esm/components/AddFilterDropdown.mjs +49 -44
  12. package/add-filter/lib/esm/components/AddFilterInput.mjs +55 -48
  13. package/add-filter/lib/esm/components/AddFilterSelect.mjs +56 -51
  14. package/add-filter/lib/esm/index.mjs +2 -2
  15. package/add-filter/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  16. package/add-filter/lib/esm/translations/de.json.mjs +2 -2
  17. package/add-filter/lib/esm/translations/en.json.mjs +2 -2
  18. package/add-filter/lib/esm/translations/es.json.mjs +2 -2
  19. package/add-filter/lib/esm/translations/fr.json.mjs +2 -2
  20. package/add-filter/lib/esm/translations/it.json.mjs +2 -2
  21. package/add-filter/lib/esm/translations/ja.json.mjs +2 -2
  22. package/add-filter/lib/esm/translations/ko.json.mjs +2 -2
  23. package/add-filter/lib/esm/translations/nl.json.mjs +2 -2
  24. package/add-filter/lib/esm/translations/pl.json.mjs +2 -2
  25. package/add-filter/lib/esm/translations/pt.json.mjs +2 -2
  26. package/add-filter/lib/esm/translations/sv.json.mjs +2 -2
  27. package/add-filter/lib/esm/translations/tr.json.mjs +2 -2
  28. package/add-filter/lib/esm/translations/vi.json.mjs +2 -2
  29. package/add-filter/lib/esm/translations/zh.json.mjs +2 -2
  30. package/add-filter/package.json +1 -1
  31. package/animation/lib/cjs/Animation.js +14 -12
  32. package/animation/lib/cjs/Animation.js.map +1 -1
  33. package/animation/lib/cjs/Collapse.js +31 -29
  34. package/animation/lib/cjs/Collapse.js.map +1 -1
  35. package/animation/lib/cjs/FadeInOut.js +31 -29
  36. package/animation/lib/cjs/FadeInOut.js.map +1 -1
  37. package/animation/lib/cjs/Scale.js +31 -29
  38. package/animation/lib/cjs/Scale.js.map +1 -1
  39. package/animation/lib/cjs/Slide.js +31 -29
  40. package/animation/lib/cjs/Slide.js.map +1 -1
  41. package/animation/lib/cjs/Transform.js +31 -29
  42. package/animation/lib/cjs/Transform.js.map +1 -1
  43. package/animation/lib/es6/Animation.js +14 -12
  44. package/animation/lib/es6/Animation.js.map +1 -1
  45. package/animation/lib/es6/Collapse.js +31 -29
  46. package/animation/lib/es6/Collapse.js.map +1 -1
  47. package/animation/lib/es6/FadeInOut.js +31 -29
  48. package/animation/lib/es6/FadeInOut.js.map +1 -1
  49. package/animation/lib/es6/Scale.js +31 -29
  50. package/animation/lib/es6/Scale.js.map +1 -1
  51. package/animation/lib/es6/Slide.js +31 -29
  52. package/animation/lib/es6/Slide.js.map +1 -1
  53. package/animation/lib/es6/Transform.js +31 -29
  54. package/animation/lib/es6/Transform.js.map +1 -1
  55. package/animation/lib/esm/Animation.mjs +149 -111
  56. package/animation/lib/esm/Collapse.mjs +95 -67
  57. package/animation/lib/esm/FadeInOut.mjs +49 -46
  58. package/animation/lib/esm/Scale.mjs +73 -62
  59. package/animation/lib/esm/Slide.mjs +49 -46
  60. package/animation/lib/esm/Transform.mjs +54 -49
  61. package/animation/lib/esm/index.mjs +13 -13
  62. package/animation/lib/esm/style/animate.shadow.css +44 -0
  63. package/animation/lib/esm/style/keyframes.shadow.css +292 -0
  64. package/animation/package.json +1 -1
  65. package/badge/lib/cjs/Badge.js +9 -7
  66. package/badge/lib/cjs/Badge.js.map +1 -1
  67. package/badge/lib/es6/Badge.js +9 -7
  68. package/badge/lib/es6/Badge.js.map +1 -1
  69. package/badge/lib/esm/Badge.mjs +50 -42
  70. package/badge/lib/esm/index.mjs +2 -2
  71. package/badge/lib/esm/style/badge.shadow.css +21 -0
  72. package/badge/package.json +1 -1
  73. package/base-trigger/lib/cjs/BaseTrigger.js +21 -19
  74. package/base-trigger/lib/cjs/BaseTrigger.js.map +1 -1
  75. package/base-trigger/lib/cjs/ButtonTrigger.js +6 -4
  76. package/base-trigger/lib/cjs/ButtonTrigger.js.map +1 -1
  77. package/base-trigger/lib/cjs/FilterTrigger.js +10 -8
  78. package/base-trigger/lib/cjs/FilterTrigger.js.map +1 -1
  79. package/base-trigger/lib/cjs/LinkTrigger.js +15 -13
  80. package/base-trigger/lib/cjs/LinkTrigger.js.map +1 -1
  81. package/base-trigger/lib/es6/BaseTrigger.js +21 -19
  82. package/base-trigger/lib/es6/BaseTrigger.js.map +1 -1
  83. package/base-trigger/lib/es6/ButtonTrigger.js +6 -4
  84. package/base-trigger/lib/es6/ButtonTrigger.js.map +1 -1
  85. package/base-trigger/lib/es6/FilterTrigger.js +10 -8
  86. package/base-trigger/lib/es6/FilterTrigger.js.map +1 -1
  87. package/base-trigger/lib/es6/LinkTrigger.js +15 -13
  88. package/base-trigger/lib/es6/LinkTrigger.js.map +1 -1
  89. package/base-trigger/lib/esm/BaseTrigger.mjs +98 -83
  90. package/base-trigger/lib/esm/ButtonTrigger.mjs +57 -48
  91. package/base-trigger/lib/esm/FilterTrigger.mjs +176 -150
  92. package/base-trigger/lib/esm/LinkTrigger.mjs +83 -70
  93. package/base-trigger/lib/esm/index.mjs +8 -8
  94. package/base-trigger/lib/esm/style/base-trigger.shadow.css +185 -0
  95. package/base-trigger/lib/esm/style/button-trigger.shadow.css +8 -0
  96. package/base-trigger/lib/esm/style/filter-trigger.shadow.css +30 -0
  97. package/base-trigger/lib/esm/style/link-trigger.shadow.css +104 -0
  98. package/base-trigger/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  99. package/base-trigger/lib/esm/translations/de.json.mjs +8 -6
  100. package/base-trigger/lib/esm/translations/en.json.mjs +8 -6
  101. package/base-trigger/lib/esm/translations/es.json.mjs +8 -6
  102. package/base-trigger/lib/esm/translations/fr.json.mjs +8 -6
  103. package/base-trigger/lib/esm/translations/it.json.mjs +8 -6
  104. package/base-trigger/lib/esm/translations/ja.json.mjs +8 -6
  105. package/base-trigger/lib/esm/translations/ko.json.mjs +8 -6
  106. package/base-trigger/lib/esm/translations/nl.json.mjs +8 -6
  107. package/base-trigger/lib/esm/translations/pl.json.mjs +8 -6
  108. package/base-trigger/lib/esm/translations/pt.json.mjs +8 -6
  109. package/base-trigger/lib/esm/translations/sv.json.mjs +8 -6
  110. package/base-trigger/lib/esm/translations/tr.json.mjs +8 -6
  111. package/base-trigger/lib/esm/translations/vi.json.mjs +8 -6
  112. package/base-trigger/lib/esm/translations/zh.json.mjs +8 -6
  113. package/base-trigger/package.json +1 -1
  114. package/breadcrumbs/lib/cjs/Breadcrumbs.js +11 -9
  115. package/breadcrumbs/lib/cjs/Breadcrumbs.js.map +1 -1
  116. package/breadcrumbs/lib/es6/Breadcrumbs.js +11 -9
  117. package/breadcrumbs/lib/es6/Breadcrumbs.js.map +1 -1
  118. package/breadcrumbs/lib/esm/Breadcrumbs.mjs +86 -71
  119. package/breadcrumbs/lib/esm/index.mjs +2 -2
  120. package/breadcrumbs/lib/esm/style/breadcrumbs.shadow.css +64 -0
  121. package/breadcrumbs/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  122. package/breadcrumbs/lib/esm/translations/de.json.mjs +5 -4
  123. package/breadcrumbs/lib/esm/translations/en.json.mjs +5 -4
  124. package/breadcrumbs/lib/esm/translations/es.json.mjs +5 -4
  125. package/breadcrumbs/lib/esm/translations/fr.json.mjs +5 -4
  126. package/breadcrumbs/lib/esm/translations/it.json.mjs +5 -4
  127. package/breadcrumbs/lib/esm/translations/ja.json.mjs +5 -4
  128. package/breadcrumbs/lib/esm/translations/ko.json.mjs +5 -4
  129. package/breadcrumbs/lib/esm/translations/nl.json.mjs +5 -4
  130. package/breadcrumbs/lib/esm/translations/pl.json.mjs +5 -4
  131. package/breadcrumbs/lib/esm/translations/pt.json.mjs +5 -4
  132. package/breadcrumbs/lib/esm/translations/sv.json.mjs +5 -4
  133. package/breadcrumbs/lib/esm/translations/tr.json.mjs +5 -4
  134. package/breadcrumbs/lib/esm/translations/vi.json.mjs +5 -4
  135. package/breadcrumbs/lib/esm/translations/zh.json.mjs +5 -4
  136. package/breadcrumbs/package.json +1 -1
  137. package/breakpoints/lib/esm/Breakpoints.mjs +64 -47
  138. package/breakpoints/lib/esm/index.mjs +5 -5
  139. package/breakpoints/package.json +1 -1
  140. package/bulk-textarea/lib/cjs/components/InputField/InputField.js +15 -13
  141. package/bulk-textarea/lib/cjs/components/InputField/InputField.js.map +1 -1
  142. package/bulk-textarea/lib/es6/components/InputField/InputField.js +15 -13
  143. package/bulk-textarea/lib/es6/components/InputField/InputField.js.map +1 -1
  144. package/bulk-textarea/lib/esm/BulkTextarea.mjs +202 -143
  145. package/bulk-textarea/lib/esm/components/ClearAll.mjs +14 -13
  146. package/bulk-textarea/lib/esm/components/Counter.mjs +15 -14
  147. package/bulk-textarea/lib/esm/components/ErrorsNavigation.mjs +30 -30
  148. package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +872 -429
  149. package/bulk-textarea/lib/esm/components/InputField/inputField.shadow.css +171 -0
  150. package/bulk-textarea/lib/esm/index.mjs +2 -2
  151. package/bulk-textarea/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  152. package/bulk-textarea/lib/esm/translations/de.json.mjs +2 -2
  153. package/bulk-textarea/lib/esm/translations/en.json.mjs +2 -2
  154. package/bulk-textarea/lib/esm/translations/es.json.mjs +2 -2
  155. package/bulk-textarea/lib/esm/translations/fr.json.mjs +2 -2
  156. package/bulk-textarea/lib/esm/translations/it.json.mjs +2 -2
  157. package/bulk-textarea/lib/esm/translations/ja.json.mjs +2 -2
  158. package/bulk-textarea/lib/esm/translations/ko.json.mjs +2 -2
  159. package/bulk-textarea/lib/esm/translations/nl.json.mjs +2 -2
  160. package/bulk-textarea/lib/esm/translations/pl.json.mjs +2 -2
  161. package/bulk-textarea/lib/esm/translations/pt.json.mjs +2 -2
  162. package/bulk-textarea/lib/esm/translations/sv.json.mjs +2 -2
  163. package/bulk-textarea/lib/esm/translations/tr.json.mjs +2 -2
  164. package/bulk-textarea/lib/esm/translations/vi.json.mjs +2 -2
  165. package/bulk-textarea/lib/esm/translations/zh.json.mjs +2 -2
  166. package/bulk-textarea/package.json +1 -1
  167. package/button/lib/cjs/component/Button/Button.js +31 -29
  168. package/button/lib/cjs/component/Button/Button.js.map +1 -1
  169. package/button/lib/cjs/component/ButtonLink/ButtonLink.js +23 -21
  170. package/button/lib/cjs/component/ButtonLink/ButtonLink.js.map +1 -1
  171. package/button/lib/es6/component/Button/Button.js +31 -29
  172. package/button/lib/es6/component/Button/Button.js.map +1 -1
  173. package/button/lib/es6/component/ButtonLink/ButtonLink.js +23 -21
  174. package/button/lib/es6/component/ButtonLink/ButtonLink.js.map +1 -1
  175. package/button/lib/esm/component/AbstractButton/AbstractButton.mjs +113 -83
  176. package/button/lib/esm/component/AbstractButton/SpinButton.mjs +14 -13
  177. package/button/lib/esm/component/Button/Button.mjs +80 -75
  178. package/button/lib/esm/component/Button/button.shadow.css +406 -0
  179. package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +78 -69
  180. package/button/lib/esm/component/ButtonLink/buttonLink.shadow.css +168 -0
  181. package/button/lib/esm/index.mjs +6 -6
  182. package/button/package.json +1 -1
  183. package/card/lib/cjs/Card.js +9 -7
  184. package/card/lib/cjs/Card.js.map +1 -1
  185. package/card/lib/es6/Card.js +9 -7
  186. package/card/lib/es6/Card.js.map +1 -1
  187. package/card/lib/esm/Card.mjs +82 -66
  188. package/card/lib/esm/index.mjs +2 -2
  189. package/card/lib/esm/style/card.shadow.css +49 -0
  190. package/card/package.json +1 -1
  191. package/carousel/lib/cjs/Carousel.js +24 -22
  192. package/carousel/lib/cjs/Carousel.js.map +1 -1
  193. package/carousel/lib/es6/Carousel.js +24 -22
  194. package/carousel/lib/es6/Carousel.js.map +1 -1
  195. package/carousel/lib/esm/Carousel.mjs +531 -357
  196. package/carousel/lib/esm/index.mjs +2 -2
  197. package/carousel/lib/esm/style/carousel.shadow.css +149 -0
  198. package/carousel/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  199. package/carousel/lib/esm/translations/de.json.mjs +14 -10
  200. package/carousel/lib/esm/translations/en.json.mjs +14 -10
  201. package/carousel/lib/esm/translations/es.json.mjs +14 -10
  202. package/carousel/lib/esm/translations/fr.json.mjs +14 -10
  203. package/carousel/lib/esm/translations/it.json.mjs +14 -10
  204. package/carousel/lib/esm/translations/ja.json.mjs +14 -10
  205. package/carousel/lib/esm/translations/ko.json.mjs +14 -10
  206. package/carousel/lib/esm/translations/nl.json.mjs +14 -10
  207. package/carousel/lib/esm/translations/pl.json.mjs +14 -10
  208. package/carousel/lib/esm/translations/pt.json.mjs +14 -10
  209. package/carousel/lib/esm/translations/sv.json.mjs +14 -10
  210. package/carousel/lib/esm/translations/tr.json.mjs +14 -10
  211. package/carousel/lib/esm/translations/vi.json.mjs +14 -10
  212. package/carousel/lib/esm/translations/zh.json.mjs +14 -10
  213. package/carousel/package.json +1 -1
  214. package/checkbox/lib/cjs/Checkbox.js +21 -19
  215. package/checkbox/lib/cjs/Checkbox.js.map +1 -1
  216. package/checkbox/lib/es6/Checkbox.js +21 -19
  217. package/checkbox/lib/es6/Checkbox.js.map +1 -1
  218. package/checkbox/lib/esm/Checkbox.mjs +214 -171
  219. package/checkbox/lib/esm/index.mjs +4 -4
  220. package/checkbox/lib/esm/style/checkbox.shadow.css +193 -0
  221. package/checkbox/package.json +1 -1
  222. package/color-picker/lib/cjs/ColorPicker.js +27 -25
  223. package/color-picker/lib/cjs/ColorPicker.js.map +1 -1
  224. package/color-picker/lib/cjs/PaletteManager.js +27 -25
  225. package/color-picker/lib/cjs/PaletteManager.js.map +1 -1
  226. package/color-picker/lib/cjs/components/InputColor.js +27 -25
  227. package/color-picker/lib/cjs/components/InputColor.js.map +1 -1
  228. package/color-picker/lib/es6/ColorPicker.js +27 -25
  229. package/color-picker/lib/es6/ColorPicker.js.map +1 -1
  230. package/color-picker/lib/es6/PaletteManager.js +27 -25
  231. package/color-picker/lib/es6/PaletteManager.js.map +1 -1
  232. package/color-picker/lib/es6/components/InputColor.js +27 -25
  233. package/color-picker/lib/es6/components/InputColor.js.map +1 -1
  234. package/color-picker/lib/esm/ColorPicker.mjs +182 -153
  235. package/color-picker/lib/esm/PaletteManager.mjs +119 -98
  236. package/color-picker/lib/esm/components/InputColor.mjs +154 -121
  237. package/color-picker/lib/esm/components/Item.mjs +59 -50
  238. package/color-picker/lib/esm/components/colors.mjs +38 -32
  239. package/color-picker/lib/esm/index.mjs +6 -6
  240. package/color-picker/lib/esm/style/color-picker.shadow.css +166 -0
  241. package/color-picker/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  242. package/color-picker/lib/esm/translations/de.json.mjs +35 -24
  243. package/color-picker/lib/esm/translations/en.json.mjs +35 -24
  244. package/color-picker/lib/esm/translations/es.json.mjs +35 -24
  245. package/color-picker/lib/esm/translations/fr.json.mjs +35 -24
  246. package/color-picker/lib/esm/translations/it.json.mjs +35 -24
  247. package/color-picker/lib/esm/translations/ja.json.mjs +35 -24
  248. package/color-picker/lib/esm/translations/ko.json.mjs +35 -24
  249. package/color-picker/lib/esm/translations/nl.json.mjs +35 -24
  250. package/color-picker/lib/esm/translations/pl.json.mjs +35 -24
  251. package/color-picker/lib/esm/translations/pt.json.mjs +35 -24
  252. package/color-picker/lib/esm/translations/sv.json.mjs +35 -24
  253. package/color-picker/lib/esm/translations/tr.json.mjs +35 -24
  254. package/color-picker/lib/esm/translations/vi.json.mjs +35 -24
  255. package/color-picker/lib/esm/translations/zh.json.mjs +35 -24
  256. package/color-picker/package.json +1 -1
  257. package/components.json +75 -75
  258. package/core/lib/esm/index.mjs +3 -3
  259. package/core/package.json +1 -1
  260. package/counter/lib/cjs/Counter.js +14 -12
  261. package/counter/lib/cjs/Counter.js.map +1 -1
  262. package/counter/lib/es6/Counter.js +14 -12
  263. package/counter/lib/es6/Counter.js.map +1 -1
  264. package/counter/lib/esm/AnimatedNumber.mjs +52 -34
  265. package/counter/lib/esm/Counter.mjs +56 -45
  266. package/counter/lib/esm/index.mjs +4 -4
  267. package/counter/lib/esm/style/counter.shadow.css +66 -0
  268. package/counter/package.json +1 -1
  269. package/d3-chart/lib/cjs/Area.js +14 -12
  270. package/d3-chart/lib/cjs/Area.js.map +1 -1
  271. package/d3-chart/lib/cjs/Axis.js +17 -15
  272. package/d3-chart/lib/cjs/Axis.js.map +1 -1
  273. package/d3-chart/lib/cjs/Bar.js +19 -17
  274. package/d3-chart/lib/cjs/Bar.js.map +1 -1
  275. package/d3-chart/lib/cjs/Bubble.js +15 -13
  276. package/d3-chart/lib/cjs/Bubble.js.map +1 -1
  277. package/d3-chart/lib/cjs/CompactHorizontalBar.js +19 -17
  278. package/d3-chart/lib/cjs/CompactHorizontalBar.js.map +1 -1
  279. package/d3-chart/lib/cjs/Donut.js +12 -10
  280. package/d3-chart/lib/cjs/Donut.js.map +1 -1
  281. package/d3-chart/lib/cjs/Dots.js +11 -9
  282. package/d3-chart/lib/cjs/Dots.js.map +1 -1
  283. package/d3-chart/lib/cjs/HorizontalBar.js +19 -17
  284. package/d3-chart/lib/cjs/HorizontalBar.js.map +1 -1
  285. package/d3-chart/lib/cjs/Hover.js +6 -4
  286. package/d3-chart/lib/cjs/Hover.js.map +1 -1
  287. package/d3-chart/lib/cjs/Line.js +12 -10
  288. package/d3-chart/lib/cjs/Line.js.map +1 -1
  289. package/d3-chart/lib/cjs/Plot.js +6 -4
  290. package/d3-chart/lib/cjs/Plot.js.map +1 -1
  291. package/d3-chart/lib/cjs/Radar.js +22 -20
  292. package/d3-chart/lib/cjs/Radar.js.map +1 -1
  293. package/d3-chart/lib/cjs/RadialTree.js +15 -13
  294. package/d3-chart/lib/cjs/RadialTree.js.map +1 -1
  295. package/d3-chart/lib/cjs/Reference.js +15 -13
  296. package/d3-chart/lib/cjs/Reference.js.map +1 -1
  297. package/d3-chart/lib/cjs/ScatterPlot.js +12 -10
  298. package/d3-chart/lib/cjs/ScatterPlot.js.map +1 -1
  299. package/d3-chart/lib/cjs/Tooltip.js +12 -10
  300. package/d3-chart/lib/cjs/Tooltip.js.map +1 -1
  301. package/d3-chart/lib/cjs/Venn.js +12 -10
  302. package/d3-chart/lib/cjs/Venn.js.map +1 -1
  303. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +5 -3
  304. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
  305. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +5 -3
  306. package/d3-chart/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  307. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +7 -5
  308. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  309. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +20 -18
  310. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  311. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +9 -7
  312. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  313. package/d3-chart/lib/es6/Area.js +14 -12
  314. package/d3-chart/lib/es6/Area.js.map +1 -1
  315. package/d3-chart/lib/es6/Axis.js +17 -15
  316. package/d3-chart/lib/es6/Axis.js.map +1 -1
  317. package/d3-chart/lib/es6/Bar.js +19 -17
  318. package/d3-chart/lib/es6/Bar.js.map +1 -1
  319. package/d3-chart/lib/es6/Bubble.js +15 -13
  320. package/d3-chart/lib/es6/Bubble.js.map +1 -1
  321. package/d3-chart/lib/es6/CompactHorizontalBar.js +19 -17
  322. package/d3-chart/lib/es6/CompactHorizontalBar.js.map +1 -1
  323. package/d3-chart/lib/es6/Donut.js +12 -10
  324. package/d3-chart/lib/es6/Donut.js.map +1 -1
  325. package/d3-chart/lib/es6/Dots.js +11 -9
  326. package/d3-chart/lib/es6/Dots.js.map +1 -1
  327. package/d3-chart/lib/es6/HorizontalBar.js +19 -17
  328. package/d3-chart/lib/es6/HorizontalBar.js.map +1 -1
  329. package/d3-chart/lib/es6/Hover.js +6 -4
  330. package/d3-chart/lib/es6/Hover.js.map +1 -1
  331. package/d3-chart/lib/es6/Line.js +12 -10
  332. package/d3-chart/lib/es6/Line.js.map +1 -1
  333. package/d3-chart/lib/es6/Plot.js +6 -4
  334. package/d3-chart/lib/es6/Plot.js.map +1 -1
  335. package/d3-chart/lib/es6/Radar.js +22 -20
  336. package/d3-chart/lib/es6/Radar.js.map +1 -1
  337. package/d3-chart/lib/es6/RadialTree.js +15 -13
  338. package/d3-chart/lib/es6/RadialTree.js.map +1 -1
  339. package/d3-chart/lib/es6/Reference.js +15 -13
  340. package/d3-chart/lib/es6/Reference.js.map +1 -1
  341. package/d3-chart/lib/es6/ScatterPlot.js +12 -10
  342. package/d3-chart/lib/es6/ScatterPlot.js.map +1 -1
  343. package/d3-chart/lib/es6/Tooltip.js +12 -10
  344. package/d3-chart/lib/es6/Tooltip.js.map +1 -1
  345. package/d3-chart/lib/es6/Venn.js +12 -10
  346. package/d3-chart/lib/es6/Venn.js.map +1 -1
  347. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +5 -3
  348. package/d3-chart/lib/es6/a11y/PlotA11yModule.js.map +1 -1
  349. package/d3-chart/lib/es6/a11y/PlotA11yView.js +5 -3
  350. package/d3-chart/lib/es6/a11y/PlotA11yView.js.map +1 -1
  351. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +7 -5
  352. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  353. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +20 -18
  354. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  355. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +9 -7
  356. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  357. package/d3-chart/lib/esm/AnimatedClipPath.mjs +54 -0
  358. package/d3-chart/lib/esm/Area.mjs +189 -0
  359. package/d3-chart/lib/esm/Axis.mjs +406 -0
  360. package/d3-chart/lib/esm/Bar.mjs +201 -0
  361. package/d3-chart/lib/esm/Bubble.mjs +216 -0
  362. package/d3-chart/lib/esm/CompactHorizontalBar.mjs +518 -0
  363. package/d3-chart/lib/esm/Donut.mjs +415 -0
  364. package/d3-chart/lib/esm/Dots.mjs +120 -0
  365. package/d3-chart/lib/esm/GroupBar.mjs +94 -0
  366. package/d3-chart/lib/esm/HorizontalBar.mjs +181 -0
  367. package/d3-chart/lib/esm/Hover.mjs +217 -0
  368. package/d3-chart/lib/esm/Line.mjs +199 -0
  369. package/d3-chart/lib/esm/{semcore/d3-chart/src/Pattern.mjs → Pattern.mjs} +155 -128
  370. package/d3-chart/lib/esm/Plot.mjs +137 -0
  371. package/d3-chart/lib/esm/Radar.mjs +706 -0
  372. package/d3-chart/lib/esm/RadialTree.mjs +565 -0
  373. package/d3-chart/lib/esm/Reference.mjs +243 -0
  374. package/d3-chart/lib/esm/ResponsiveContainer.mjs +99 -0
  375. package/d3-chart/lib/esm/ScatterPlot.mjs +194 -0
  376. package/d3-chart/lib/esm/StackBar.mjs +177 -0
  377. package/d3-chart/lib/esm/StackedArea.mjs +84 -0
  378. package/d3-chart/lib/esm/Tooltip.mjs +255 -0
  379. package/d3-chart/lib/esm/Venn.mjs +234 -0
  380. package/d3-chart/lib/esm/a11y/DataAccessibilityTable.mjs +100 -0
  381. package/d3-chart/lib/esm/a11y/PlotA11yModule.mjs +117 -0
  382. package/d3-chart/lib/esm/a11y/PlotA11yView.mjs +146 -0
  383. package/d3-chart/lib/esm/a11y/bezier.mjs +32 -0
  384. package/d3-chart/lib/esm/a11y/focus.mjs +44 -0
  385. package/d3-chart/lib/esm/a11y/hints.mjs +122 -0
  386. package/d3-chart/lib/esm/a11y/insights.mjs +700 -0
  387. package/d3-chart/lib/esm/a11y/intl.mjs +17 -0
  388. package/d3-chart/lib/esm/a11y/locale.mjs +39 -0
  389. package/d3-chart/lib/esm/a11y/serialize.mjs +363 -0
  390. package/d3-chart/lib/esm/a11y/summarize.mjs +14 -0
  391. package/d3-chart/lib/esm/a11y/translations/module/__intergalactic-dynamic-locales.mjs +33 -0
  392. package/d3-chart/lib/esm/a11y/translations/module/de.json.mjs +14 -0
  393. package/d3-chart/lib/esm/a11y/translations/module/en.json.mjs +14 -0
  394. package/d3-chart/lib/esm/a11y/translations/module/es.json.mjs +14 -0
  395. package/d3-chart/lib/esm/a11y/translations/module/fr.json.mjs +14 -0
  396. package/d3-chart/lib/esm/a11y/translations/module/it.json.mjs +14 -0
  397. package/d3-chart/lib/esm/a11y/translations/module/ja.json.mjs +14 -0
  398. package/d3-chart/lib/esm/a11y/translations/module/ko.json.mjs +14 -0
  399. package/d3-chart/lib/esm/a11y/translations/module/nl.json.mjs +14 -0
  400. package/d3-chart/lib/esm/a11y/translations/module/pl.json.mjs +14 -0
  401. package/d3-chart/lib/esm/a11y/translations/module/pt.json.mjs +14 -0
  402. package/d3-chart/lib/esm/a11y/translations/module/sv.json.mjs +14 -0
  403. package/d3-chart/lib/esm/a11y/translations/module/tr.json.mjs +14 -0
  404. package/d3-chart/lib/esm/a11y/translations/module/vi.json.mjs +14 -0
  405. package/d3-chart/lib/esm/a11y/translations/module/zh.json.mjs +14 -0
  406. package/d3-chart/lib/esm/a11y/translations/view/__intergalactic-dynamic-locales.mjs +33 -0
  407. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/de.json.mjs +5 -4
  408. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/en.json.mjs +5 -4
  409. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/es.json.mjs +5 -4
  410. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/fr.json.mjs +5 -4
  411. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/it.json.mjs +5 -4
  412. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/ja.json.mjs +5 -4
  413. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/ko.json.mjs +5 -4
  414. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/nl.json.mjs +5 -4
  415. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/pl.json.mjs +5 -4
  416. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/pt.json.mjs +5 -4
  417. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/sv.json.mjs +5 -4
  418. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/tr.json.mjs +5 -4
  419. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/vi.json.mjs +5 -4
  420. package/d3-chart/lib/esm/{semcore/d3-chart/src/a11y → a11y}/translations/view/zh.json.mjs +5 -4
  421. package/d3-chart/lib/esm/{semcore/d3-chart/src/color.mjs → color.mjs} +2 -2
  422. package/d3-chart/lib/esm/component/Chart/AbstractChart.mjs +408 -0
  423. package/d3-chart/lib/esm/component/Chart/AreaChart.mjs +145 -0
  424. package/d3-chart/lib/esm/component/Chart/BarChart.mjs +240 -0
  425. package/d3-chart/lib/esm/component/Chart/BubbleChart.mjs +135 -0
  426. package/d3-chart/lib/esm/component/Chart/CigaretteChart.mjs +294 -0
  427. package/d3-chart/lib/esm/component/Chart/CompactHorizontalBarChart.mjs +113 -0
  428. package/d3-chart/lib/esm/component/Chart/DonutChart.mjs +113 -0
  429. package/d3-chart/lib/esm/component/Chart/HistogramChart.mjs +166 -0
  430. package/d3-chart/lib/esm/component/Chart/LineChart.mjs +131 -0
  431. package/d3-chart/lib/esm/component/Chart/RadarChart.mjs +115 -0
  432. package/d3-chart/lib/esm/component/Chart/ScatterPlotChart.mjs +144 -0
  433. package/d3-chart/lib/esm/component/Chart/VennChart.mjs +141 -0
  434. package/d3-chart/lib/esm/component/Chart/index.mjs +27 -0
  435. package/d3-chart/lib/esm/component/ChartLegend/BaseLegend.mjs +91 -0
  436. package/d3-chart/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +86 -0
  437. package/d3-chart/lib/esm/component/ChartLegend/LegendFlex/legend-flex.shadow.css +12 -0
  438. package/d3-chart/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +240 -0
  439. package/d3-chart/lib/esm/component/ChartLegend/LegendItem/LegendItem.type.mjs +4 -0
  440. package/d3-chart/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +129 -0
  441. package/d3-chart/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +90 -0
  442. package/d3-chart/lib/esm/component/ChartLegend/LegendTable/legend-table.shadow.css +19 -0
  443. package/d3-chart/lib/esm/component/ChartLegend/index.mjs +5 -0
  444. package/d3-chart/lib/esm/component/Cigarette/Cigarette.mjs +139 -0
  445. package/d3-chart/lib/esm/component/StackGroupBar/StackGroupBar.mjs +141 -0
  446. package/d3-chart/lib/esm/createElement.mjs +104 -0
  447. package/d3-chart/lib/esm/index.mjs +70 -0
  448. package/d3-chart/lib/esm/style/area.shadow.css +50 -0
  449. package/d3-chart/lib/esm/style/axis.shadow.css +88 -0
  450. package/d3-chart/lib/esm/style/bar.shadow.css +66 -0
  451. package/d3-chart/lib/esm/style/bubble.shadow.css +64 -0
  452. package/d3-chart/lib/esm/style/donut.shadow.css +36 -0
  453. package/d3-chart/lib/esm/style/dot.shadow.css +27 -0
  454. package/d3-chart/lib/esm/style/hover.shadow.css +9 -0
  455. package/d3-chart/lib/esm/style/line.shadow.css +43 -0
  456. package/d3-chart/lib/esm/style/plot.shadow.css +19 -0
  457. package/d3-chart/lib/esm/style/plotA11yModule.shadow.css +12 -0
  458. package/d3-chart/lib/esm/style/plotA11yView.shadow.css +39 -0
  459. package/d3-chart/lib/esm/style/radar.shadow.css +80 -0
  460. package/d3-chart/lib/esm/style/radial-tree.shadow.css +54 -0
  461. package/d3-chart/lib/esm/style/reference.shadow.css +43 -0
  462. package/d3-chart/lib/esm/style/scatterplot.shadow.css +41 -0
  463. package/d3-chart/lib/esm/style/tooltip.shadow.css +42 -0
  464. package/d3-chart/lib/esm/style/venn.shadow.css +48 -0
  465. package/d3-chart/lib/esm/translations/__intergalactic-dynamic-locales.mjs +31 -0
  466. package/d3-chart/lib/esm/translations/en.json.mjs +12 -0
  467. package/d3-chart/lib/esm/translations/es.json.mjs +11 -0
  468. package/d3-chart/lib/esm/translations/fr.json.mjs +11 -0
  469. package/d3-chart/lib/esm/translations/it.json.mjs +11 -0
  470. package/d3-chart/lib/esm/translations/ja.json.mjs +11 -0
  471. package/d3-chart/lib/esm/translations/ko.json.mjs +11 -0
  472. package/d3-chart/lib/esm/translations/nl.json.mjs +11 -0
  473. package/d3-chart/lib/esm/translations/pl.json.mjs +11 -0
  474. package/d3-chart/lib/esm/translations/pt.json.mjs +11 -0
  475. package/d3-chart/lib/esm/translations/sv.json.mjs +11 -0
  476. package/d3-chart/lib/esm/translations/tr.json.mjs +11 -0
  477. package/d3-chart/lib/esm/translations/vi.json.mjs +11 -0
  478. package/d3-chart/lib/esm/translations/zh.json.mjs +11 -0
  479. package/d3-chart/lib/esm/utils.mjs +266 -0
  480. package/d3-chart/package.json +1 -1
  481. package/data-table/lib/cjs/Body.js +6 -4
  482. package/data-table/lib/cjs/Body.js.map +1 -1
  483. package/data-table/lib/cjs/DataTable.js +39 -37
  484. package/data-table/lib/cjs/DataTable.js.map +1 -1
  485. package/data-table/lib/es6/Body.js +6 -4
  486. package/data-table/lib/es6/Body.js.map +1 -1
  487. package/data-table/lib/es6/DataTable.js +39 -37
  488. package/data-table/lib/es6/DataTable.js.map +1 -1
  489. package/data-table/lib/esm/Body.mjs +348 -238
  490. package/data-table/lib/esm/DataTable.mjs +483 -336
  491. package/data-table/lib/esm/Head.mjs +317 -206
  492. package/data-table/lib/esm/index.mjs +6 -6
  493. package/data-table/lib/esm/style/data-table.shadow.css +413 -0
  494. package/data-table/lib/esm/style/scroll-shadows.shadow.css +7 -0
  495. package/data-table/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  496. package/data-table/lib/esm/translations/de.json.mjs +5 -4
  497. package/data-table/lib/esm/translations/en.json.mjs +5 -4
  498. package/data-table/lib/esm/translations/es.json.mjs +5 -4
  499. package/data-table/lib/esm/translations/fr.json.mjs +5 -4
  500. package/data-table/lib/esm/translations/it.json.mjs +5 -4
  501. package/data-table/lib/esm/translations/ja.json.mjs +5 -4
  502. package/data-table/lib/esm/translations/ko.json.mjs +5 -4
  503. package/data-table/lib/esm/translations/nl.json.mjs +5 -4
  504. package/data-table/lib/esm/translations/pl.json.mjs +5 -4
  505. package/data-table/lib/esm/translations/pt.json.mjs +5 -4
  506. package/data-table/lib/esm/translations/sv.json.mjs +5 -4
  507. package/data-table/lib/esm/translations/tr.json.mjs +5 -4
  508. package/data-table/lib/esm/translations/vi.json.mjs +5 -4
  509. package/data-table/lib/esm/translations/zh.json.mjs +5 -4
  510. package/data-table/lib/esm/utils.mjs +44 -29
  511. package/data-table/package.json +1 -1
  512. package/date-picker/lib/cjs/components/Calendar.js +24 -22
  513. package/date-picker/lib/cjs/components/Calendar.js.map +1 -1
  514. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +32 -30
  515. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js.map +1 -1
  516. package/date-picker/lib/cjs/components/InputTrigger.js +32 -30
  517. package/date-picker/lib/cjs/components/InputTrigger.js.map +1 -1
  518. package/date-picker/lib/cjs/components/PickerAbstract.js +32 -30
  519. package/date-picker/lib/cjs/components/PickerAbstract.js.map +1 -1
  520. package/date-picker/lib/cjs/components/RangePickerAbstract.js +32 -30
  521. package/date-picker/lib/cjs/components/RangePickerAbstract.js.map +1 -1
  522. package/date-picker/lib/es6/components/Calendar.js +24 -22
  523. package/date-picker/lib/es6/components/Calendar.js.map +1 -1
  524. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +32 -30
  525. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js.map +1 -1
  526. package/date-picker/lib/es6/components/InputTrigger.js +32 -30
  527. package/date-picker/lib/es6/components/InputTrigger.js.map +1 -1
  528. package/date-picker/lib/es6/components/PickerAbstract.js +32 -30
  529. package/date-picker/lib/es6/components/PickerAbstract.js.map +1 -1
  530. package/date-picker/lib/es6/components/RangePickerAbstract.js +32 -30
  531. package/date-picker/lib/es6/components/RangePickerAbstract.js.map +1 -1
  532. package/date-picker/lib/esm/DatePicker.mjs +114 -103
  533. package/date-picker/lib/esm/DateRangeComparator.mjs +166 -149
  534. package/date-picker/lib/esm/DateRangePicker.mjs +85 -77
  535. package/date-picker/lib/esm/MonthDateRangeComparator.mjs +187 -169
  536. package/date-picker/lib/esm/MonthPicker.mjs +78 -71
  537. package/date-picker/lib/esm/MonthRangePicker.mjs +94 -85
  538. package/date-picker/lib/esm/components/ButtonTrigger.mjs +16 -15
  539. package/date-picker/lib/esm/components/Calendar.mjs +409 -287
  540. package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +458 -330
  541. package/date-picker/lib/esm/components/InputTrigger.mjs +762 -519
  542. package/date-picker/lib/esm/components/PickerAbstract.mjs +196 -149
  543. package/date-picker/lib/esm/components/RangePickerAbstract.mjs +310 -221
  544. package/date-picker/lib/esm/components/index.mjs +127 -109
  545. package/date-picker/lib/esm/index.mjs +13 -13
  546. package/date-picker/lib/esm/style/calendar.shadow.css +259 -0
  547. package/date-picker/lib/esm/style/date-picker.shadow.css +179 -0
  548. package/date-picker/lib/esm/translations/__intergalactic-dynamic-locales.mjs +32 -32
  549. package/date-picker/lib/esm/translations/de.json.mjs +83 -56
  550. package/date-picker/lib/esm/translations/en.json.mjs +95 -64
  551. package/date-picker/lib/esm/translations/es.json.mjs +83 -56
  552. package/date-picker/lib/esm/translations/fr.json.mjs +83 -56
  553. package/date-picker/lib/esm/translations/it.json.mjs +83 -56
  554. package/date-picker/lib/esm/translations/ja.json.mjs +83 -56
  555. package/date-picker/lib/esm/translations/ko.json.mjs +83 -56
  556. package/date-picker/lib/esm/translations/nl.json.mjs +83 -56
  557. package/date-picker/lib/esm/translations/pl.json.mjs +83 -56
  558. package/date-picker/lib/esm/translations/pt.json.mjs +83 -56
  559. package/date-picker/lib/esm/translations/ru.json.mjs +35 -24
  560. package/date-picker/lib/esm/translations/sv.json.mjs +83 -56
  561. package/date-picker/lib/esm/translations/tr.json.mjs +83 -56
  562. package/date-picker/lib/esm/translations/vi.json.mjs +83 -56
  563. package/date-picker/lib/esm/translations/zh.json.mjs +83 -56
  564. package/date-picker/lib/esm/utils/cronTabScheduler.mjs +58 -52
  565. package/date-picker/lib/esm/utils/datesIntersects.mjs +15 -11
  566. package/date-picker/lib/esm/utils/formatDate.mjs +25 -18
  567. package/date-picker/lib/esm/utils/includesDate.mjs +13 -9
  568. package/date-picker/lib/esm/utils/shortDateRangeFormat.mjs +53 -31
  569. package/date-picker/package.json +1 -1
  570. package/divider/lib/cjs/Divider.js +13 -11
  571. package/divider/lib/cjs/Divider.js.map +1 -1
  572. package/divider/lib/es6/Divider.js +13 -11
  573. package/divider/lib/es6/Divider.js.map +1 -1
  574. package/divider/lib/esm/Divider.mjs +54 -46
  575. package/divider/lib/esm/index.mjs +2 -2
  576. package/divider/lib/esm/style/divider.shadow.css +91 -0
  577. package/divider/package.json +1 -1
  578. package/dot/lib/cjs/Dot.js +15 -11
  579. package/dot/lib/cjs/Dot.js.map +1 -1
  580. package/dot/lib/es6/Dot.js +15 -11
  581. package/dot/lib/es6/Dot.js.map +1 -1
  582. package/dot/lib/esm/Dot.mjs +91 -75
  583. package/dot/lib/esm/index.mjs +2 -2
  584. package/dot/lib/esm/style/dot.shadow.css +54 -0
  585. package/dot/package.json +1 -1
  586. package/drag-and-drop/lib/cjs/DragAndDrop.js +20 -18
  587. package/drag-and-drop/lib/cjs/DragAndDrop.js.map +1 -1
  588. package/drag-and-drop/lib/es6/DragAndDrop.js +20 -18
  589. package/drag-and-drop/lib/es6/DragAndDrop.js.map +1 -1
  590. package/drag-and-drop/lib/esm/DragAndDrop.mjs +535 -402
  591. package/drag-and-drop/lib/esm/index.mjs +2 -2
  592. package/drag-and-drop/lib/esm/style/drag-and-drop.shadow.css +152 -0
  593. package/drag-and-drop/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  594. package/drag-and-drop/lib/esm/translations/de.json.mjs +32 -22
  595. package/drag-and-drop/lib/esm/translations/en.json.mjs +32 -22
  596. package/drag-and-drop/lib/esm/translations/es.json.mjs +32 -22
  597. package/drag-and-drop/lib/esm/translations/fr.json.mjs +32 -22
  598. package/drag-and-drop/lib/esm/translations/it.json.mjs +32 -22
  599. package/drag-and-drop/lib/esm/translations/ja.json.mjs +32 -22
  600. package/drag-and-drop/lib/esm/translations/ko.json.mjs +32 -22
  601. package/drag-and-drop/lib/esm/translations/nl.json.mjs +32 -22
  602. package/drag-and-drop/lib/esm/translations/pl.json.mjs +32 -22
  603. package/drag-and-drop/lib/esm/translations/pt.json.mjs +32 -22
  604. package/drag-and-drop/lib/esm/translations/sv.json.mjs +32 -22
  605. package/drag-and-drop/lib/esm/translations/tr.json.mjs +32 -22
  606. package/drag-and-drop/lib/esm/translations/vi.json.mjs +32 -22
  607. package/drag-and-drop/lib/esm/translations/zh.json.mjs +32 -22
  608. package/drag-and-drop/package.json +1 -1
  609. package/dropdown/lib/cjs/Dropdown.js +19 -17
  610. package/dropdown/lib/cjs/Dropdown.js.map +1 -1
  611. package/dropdown/lib/es6/Dropdown.js +19 -17
  612. package/dropdown/lib/es6/Dropdown.js.map +1 -1
  613. package/dropdown/lib/esm/AbstractDropdown.mjs +239 -132
  614. package/dropdown/lib/esm/Dropdown.mjs +168 -126
  615. package/dropdown/lib/esm/DropdownItem.mjs +9 -8
  616. package/dropdown/lib/esm/index.mjs +6 -6
  617. package/dropdown/lib/esm/style/dropdown.shadow.css +156 -0
  618. package/dropdown/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  619. package/dropdown/lib/esm/translations/de.json.mjs +5 -4
  620. package/dropdown/lib/esm/translations/en.json.mjs +5 -4
  621. package/dropdown/lib/esm/translations/es.json.mjs +5 -4
  622. package/dropdown/lib/esm/translations/fr.json.mjs +5 -4
  623. package/dropdown/lib/esm/translations/it.json.mjs +5 -4
  624. package/dropdown/lib/esm/translations/ja.json.mjs +5 -4
  625. package/dropdown/lib/esm/translations/ko.json.mjs +5 -4
  626. package/dropdown/lib/esm/translations/nl.json.mjs +5 -4
  627. package/dropdown/lib/esm/translations/pl.json.mjs +5 -4
  628. package/dropdown/lib/esm/translations/pt.json.mjs +5 -4
  629. package/dropdown/lib/esm/translations/sv.json.mjs +5 -4
  630. package/dropdown/lib/esm/translations/tr.json.mjs +5 -4
  631. package/dropdown/lib/esm/translations/vi.json.mjs +5 -4
  632. package/dropdown/lib/esm/translations/zh.json.mjs +5 -4
  633. package/dropdown/package.json +1 -1
  634. package/dropdown-menu/lib/cjs/DropdownMenu.js +21 -19
  635. package/dropdown-menu/lib/cjs/DropdownMenu.js.map +1 -1
  636. package/dropdown-menu/lib/es6/DropdownMenu.js +21 -19
  637. package/dropdown-menu/lib/es6/DropdownMenu.js.map +1 -1
  638. package/dropdown-menu/lib/esm/DropdownMenu.mjs +390 -293
  639. package/dropdown-menu/lib/esm/index.mjs +2 -2
  640. package/dropdown-menu/lib/esm/style/dropdown-menu.shadow.css +146 -0
  641. package/dropdown-menu/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  642. package/dropdown-menu/lib/esm/translations/de.json.mjs +5 -4
  643. package/dropdown-menu/lib/esm/translations/en.json.mjs +2 -2
  644. package/dropdown-menu/lib/esm/translations/es.json.mjs +5 -4
  645. package/dropdown-menu/lib/esm/translations/fr.json.mjs +5 -4
  646. package/dropdown-menu/lib/esm/translations/it.json.mjs +5 -4
  647. package/dropdown-menu/lib/esm/translations/ja.json.mjs +5 -4
  648. package/dropdown-menu/lib/esm/translations/ko.json.mjs +5 -4
  649. package/dropdown-menu/lib/esm/translations/nl.json.mjs +5 -4
  650. package/dropdown-menu/lib/esm/translations/pl.json.mjs +5 -4
  651. package/dropdown-menu/lib/esm/translations/pt.json.mjs +5 -4
  652. package/dropdown-menu/lib/esm/translations/sv.json.mjs +5 -4
  653. package/dropdown-menu/lib/esm/translations/tr.json.mjs +5 -4
  654. package/dropdown-menu/lib/esm/translations/vi.json.mjs +5 -4
  655. package/dropdown-menu/lib/esm/translations/zh.json.mjs +5 -4
  656. package/dropdown-menu/package.json +1 -1
  657. package/ellipsis/lib/cjs/Ellipsis.js +13 -11
  658. package/ellipsis/lib/cjs/Ellipsis.js.map +1 -1
  659. package/ellipsis/lib/es6/Ellipsis.js +13 -11
  660. package/ellipsis/lib/es6/Ellipsis.js.map +1 -1
  661. package/ellipsis/lib/esm/Ellipsis.mjs +241 -166
  662. package/ellipsis/lib/esm/index.mjs +4 -4
  663. package/ellipsis/lib/esm/style/ellipsis.shadow.css +38 -0
  664. package/ellipsis/lib/esm/useResizeObserver.mjs +28 -16
  665. package/ellipsis/package.json +1 -1
  666. package/errors/lib/cjs/Error.js +12 -10
  667. package/errors/lib/cjs/Error.js.map +1 -1
  668. package/errors/lib/es6/Error.js +12 -10
  669. package/errors/lib/es6/Error.js.map +1 -1
  670. package/errors/lib/esm/AccessDenied/index.mjs +37 -34
  671. package/errors/lib/esm/AccessDenied/translations/__intergalactic-dynamic-locales.mjs +32 -32
  672. package/errors/lib/esm/AccessDenied/translations/de.json.mjs +11 -8
  673. package/errors/lib/esm/AccessDenied/translations/en.json.mjs +11 -8
  674. package/errors/lib/esm/AccessDenied/translations/es.json.mjs +11 -8
  675. package/errors/lib/esm/AccessDenied/translations/fr.json.mjs +11 -8
  676. package/errors/lib/esm/AccessDenied/translations/it.json.mjs +11 -8
  677. package/errors/lib/esm/AccessDenied/translations/ja.json.mjs +11 -8
  678. package/errors/lib/esm/AccessDenied/translations/ko.json.mjs +11 -8
  679. package/errors/lib/esm/AccessDenied/translations/nl.json.mjs +11 -8
  680. package/errors/lib/esm/AccessDenied/translations/pl.json.mjs +11 -8
  681. package/errors/lib/esm/AccessDenied/translations/pt.json.mjs +11 -8
  682. package/errors/lib/esm/AccessDenied/translations/ru.json.mjs +11 -9
  683. package/errors/lib/esm/AccessDenied/translations/sv.json.mjs +11 -8
  684. package/errors/lib/esm/AccessDenied/translations/tr.json.mjs +11 -8
  685. package/errors/lib/esm/AccessDenied/translations/vi.json.mjs +11 -8
  686. package/errors/lib/esm/AccessDenied/translations/zh.json.mjs +11 -8
  687. package/errors/lib/esm/Error.mjs +78 -62
  688. package/errors/lib/esm/Maintenance/index.mjs +36 -33
  689. package/errors/lib/esm/Maintenance/translations/__intergalactic-dynamic-locales.mjs +32 -32
  690. package/errors/lib/esm/Maintenance/translations/de.json.mjs +11 -8
  691. package/errors/lib/esm/Maintenance/translations/en.json.mjs +11 -8
  692. package/errors/lib/esm/Maintenance/translations/es.json.mjs +11 -8
  693. package/errors/lib/esm/Maintenance/translations/fr.json.mjs +11 -8
  694. package/errors/lib/esm/Maintenance/translations/it.json.mjs +11 -8
  695. package/errors/lib/esm/Maintenance/translations/ja.json.mjs +11 -8
  696. package/errors/lib/esm/Maintenance/translations/ko.json.mjs +11 -8
  697. package/errors/lib/esm/Maintenance/translations/nl.json.mjs +11 -8
  698. package/errors/lib/esm/Maintenance/translations/pl.json.mjs +11 -8
  699. package/errors/lib/esm/Maintenance/translations/pt.json.mjs +11 -8
  700. package/errors/lib/esm/Maintenance/translations/ru.json.mjs +11 -8
  701. package/errors/lib/esm/Maintenance/translations/sv.json.mjs +11 -8
  702. package/errors/lib/esm/Maintenance/translations/tr.json.mjs +11 -8
  703. package/errors/lib/esm/Maintenance/translations/vi.json.mjs +11 -8
  704. package/errors/lib/esm/Maintenance/translations/zh.json.mjs +11 -8
  705. package/errors/lib/esm/PageError/index.mjs +50 -43
  706. package/errors/lib/esm/PageError/translations/__intergalactic-dynamic-locales.mjs +32 -32
  707. package/errors/lib/esm/PageError/translations/de.json.mjs +11 -8
  708. package/errors/lib/esm/PageError/translations/en.json.mjs +11 -8
  709. package/errors/lib/esm/PageError/translations/es.json.mjs +11 -8
  710. package/errors/lib/esm/PageError/translations/fr.json.mjs +11 -8
  711. package/errors/lib/esm/PageError/translations/it.json.mjs +11 -8
  712. package/errors/lib/esm/PageError/translations/ja.json.mjs +11 -8
  713. package/errors/lib/esm/PageError/translations/ko.json.mjs +11 -8
  714. package/errors/lib/esm/PageError/translations/nl.json.mjs +11 -8
  715. package/errors/lib/esm/PageError/translations/pl.json.mjs +11 -8
  716. package/errors/lib/esm/PageError/translations/pt.json.mjs +11 -8
  717. package/errors/lib/esm/PageError/translations/ru.json.mjs +11 -8
  718. package/errors/lib/esm/PageError/translations/sv.json.mjs +11 -8
  719. package/errors/lib/esm/PageError/translations/tr.json.mjs +11 -8
  720. package/errors/lib/esm/PageError/translations/vi.json.mjs +11 -8
  721. package/errors/lib/esm/PageError/translations/zh.json.mjs +11 -8
  722. package/errors/lib/esm/PageNotFound/index.mjs +36 -33
  723. package/errors/lib/esm/PageNotFound/translations/__intergalactic-dynamic-locales.mjs +32 -32
  724. package/errors/lib/esm/PageNotFound/translations/de.json.mjs +11 -8
  725. package/errors/lib/esm/PageNotFound/translations/en.json.mjs +11 -8
  726. package/errors/lib/esm/PageNotFound/translations/es.json.mjs +11 -8
  727. package/errors/lib/esm/PageNotFound/translations/fr.json.mjs +11 -8
  728. package/errors/lib/esm/PageNotFound/translations/it.json.mjs +11 -8
  729. package/errors/lib/esm/PageNotFound/translations/ja.json.mjs +11 -8
  730. package/errors/lib/esm/PageNotFound/translations/ko.json.mjs +11 -8
  731. package/errors/lib/esm/PageNotFound/translations/nl.json.mjs +11 -8
  732. package/errors/lib/esm/PageNotFound/translations/pl.json.mjs +11 -8
  733. package/errors/lib/esm/PageNotFound/translations/pt.json.mjs +11 -8
  734. package/errors/lib/esm/PageNotFound/translations/ru.json.mjs +11 -8
  735. package/errors/lib/esm/PageNotFound/translations/sv.json.mjs +11 -8
  736. package/errors/lib/esm/PageNotFound/translations/tr.json.mjs +11 -8
  737. package/errors/lib/esm/PageNotFound/translations/vi.json.mjs +11 -8
  738. package/errors/lib/esm/PageNotFound/translations/zh.json.mjs +11 -8
  739. package/errors/lib/esm/ProjectNotFound/index.mjs +44 -40
  740. package/errors/lib/esm/ProjectNotFound/translations/__intergalactic-dynamic-locales.mjs +32 -32
  741. package/errors/lib/esm/ProjectNotFound/translations/de.json.mjs +14 -10
  742. package/errors/lib/esm/ProjectNotFound/translations/en.json.mjs +14 -10
  743. package/errors/lib/esm/ProjectNotFound/translations/es.json.mjs +14 -10
  744. package/errors/lib/esm/ProjectNotFound/translations/fr.json.mjs +14 -10
  745. package/errors/lib/esm/ProjectNotFound/translations/it.json.mjs +14 -10
  746. package/errors/lib/esm/ProjectNotFound/translations/ja.json.mjs +14 -10
  747. package/errors/lib/esm/ProjectNotFound/translations/ko.json.mjs +14 -10
  748. package/errors/lib/esm/ProjectNotFound/translations/nl.json.mjs +14 -10
  749. package/errors/lib/esm/ProjectNotFound/translations/pl.json.mjs +14 -10
  750. package/errors/lib/esm/ProjectNotFound/translations/pt.json.mjs +14 -10
  751. package/errors/lib/esm/ProjectNotFound/translations/ru.json.mjs +14 -11
  752. package/errors/lib/esm/ProjectNotFound/translations/sv.json.mjs +14 -10
  753. package/errors/lib/esm/ProjectNotFound/translations/tr.json.mjs +14 -10
  754. package/errors/lib/esm/ProjectNotFound/translations/vi.json.mjs +14 -10
  755. package/errors/lib/esm/ProjectNotFound/translations/zh.json.mjs +14 -10
  756. package/errors/lib/esm/index.mjs +13 -13
  757. package/errors/lib/esm/style/errors.shadow.css +67 -0
  758. package/errors/package.json +1 -1
  759. package/feature-popover/lib/cjs/FeaturePopover.js +16 -12
  760. package/feature-popover/lib/cjs/FeaturePopover.js.map +1 -1
  761. package/feature-popover/lib/es6/FeaturePopover.js +16 -12
  762. package/feature-popover/lib/es6/FeaturePopover.js.map +1 -1
  763. package/feature-popover/lib/esm/FeaturePopover.mjs +157 -132
  764. package/feature-popover/lib/esm/index.mjs +2 -2
  765. package/feature-popover/lib/esm/style/feature-popover.shadow.css +98 -0
  766. package/feature-popover/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  767. package/feature-popover/lib/esm/translations/de.json.mjs +5 -4
  768. package/feature-popover/lib/esm/translations/en.json.mjs +5 -4
  769. package/feature-popover/lib/esm/translations/es.json.mjs +5 -4
  770. package/feature-popover/lib/esm/translations/fr.json.mjs +5 -4
  771. package/feature-popover/lib/esm/translations/it.json.mjs +5 -4
  772. package/feature-popover/lib/esm/translations/ja.json.mjs +5 -4
  773. package/feature-popover/lib/esm/translations/ko.json.mjs +5 -4
  774. package/feature-popover/lib/esm/translations/nl.json.mjs +5 -4
  775. package/feature-popover/lib/esm/translations/pl.json.mjs +5 -4
  776. package/feature-popover/lib/esm/translations/pt.json.mjs +5 -4
  777. package/feature-popover/lib/esm/translations/sv.json.mjs +5 -4
  778. package/feature-popover/lib/esm/translations/tr.json.mjs +5 -4
  779. package/feature-popover/lib/esm/translations/vi.json.mjs +5 -4
  780. package/feature-popover/lib/esm/translations/zh.json.mjs +5 -4
  781. package/feature-popover/package.json +1 -1
  782. package/feedback-form/lib/cjs/FeedbackForm.js +10 -8
  783. package/feedback-form/lib/cjs/FeedbackForm.js.map +1 -1
  784. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +6 -4
  785. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js.map +1 -1
  786. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +5 -3
  787. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js.map +1 -1
  788. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +10 -8
  789. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js.map +1 -1
  790. package/feedback-form/lib/es6/FeedbackForm.js +10 -8
  791. package/feedback-form/lib/es6/FeedbackForm.js.map +1 -1
  792. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +6 -4
  793. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js.map +1 -1
  794. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +5 -3
  795. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js.map +1 -1
  796. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +10 -8
  797. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js.map +1 -1
  798. package/feedback-form/lib/esm/FeedbackForm.mjs +129 -108
  799. package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +52 -42
  800. package/feedback-form/lib/esm/component/feedback-item/FeedbackItem.mjs +44 -33
  801. package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +297 -247
  802. package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +178 -138
  803. package/feedback-form/lib/esm/component/submit-button/SubmitButton.mjs +14 -12
  804. package/feedback-form/lib/esm/index.mjs +4 -4
  805. package/feedback-form/lib/esm/style/checkbox-button.shadow.css +21 -0
  806. package/feedback-form/lib/esm/style/feedback-form.shadow.css +36 -0
  807. package/feedback-form/lib/esm/style/feedback-rating.shadow.css +9 -0
  808. package/feedback-form/lib/esm/style/slider-rating.shadow.css +33 -0
  809. package/feedback-form/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  810. package/feedback-form/lib/esm/translations/de.json.mjs +20 -14
  811. package/feedback-form/lib/esm/translations/en.json.mjs +20 -14
  812. package/feedback-form/lib/esm/translations/es.json.mjs +20 -14
  813. package/feedback-form/lib/esm/translations/fr.json.mjs +20 -14
  814. package/feedback-form/lib/esm/translations/it.json.mjs +20 -14
  815. package/feedback-form/lib/esm/translations/ja.json.mjs +20 -14
  816. package/feedback-form/lib/esm/translations/ko.json.mjs +20 -14
  817. package/feedback-form/lib/esm/translations/nl.json.mjs +20 -14
  818. package/feedback-form/lib/esm/translations/pl.json.mjs +20 -14
  819. package/feedback-form/lib/esm/translations/pt.json.mjs +20 -14
  820. package/feedback-form/lib/esm/translations/sv.json.mjs +20 -14
  821. package/feedback-form/lib/esm/translations/tr.json.mjs +20 -14
  822. package/feedback-form/lib/esm/translations/vi.json.mjs +20 -14
  823. package/feedback-form/lib/esm/translations/zh.json.mjs +20 -14
  824. package/feedback-form/package.json +1 -1
  825. package/flags/lib/cjs/Flags.js +6 -4
  826. package/flags/lib/cjs/Flags.js.map +1 -1
  827. package/flags/lib/es6/Flags.js +6 -4
  828. package/flags/lib/es6/Flags.js.map +1 -1
  829. package/flags/lib/sprites/sprite@1x.css +256 -256
  830. package/flags/lib/sprites/sprite@2x.css +257 -257
  831. package/flags/package.json +1 -1
  832. package/flex-box/lib/cjs/Box/useBox.js +6 -4
  833. package/flex-box/lib/cjs/Box/useBox.js.map +1 -1
  834. package/flex-box/lib/cjs/Flex/useFlex.js +6 -4
  835. package/flex-box/lib/cjs/Flex/useFlex.js.map +1 -1
  836. package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +5 -3
  837. package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js.map +1 -1
  838. package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +5 -3
  839. package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js.map +1 -1
  840. package/flex-box/lib/es6/Box/useBox.js +6 -4
  841. package/flex-box/lib/es6/Box/useBox.js.map +1 -1
  842. package/flex-box/lib/es6/Flex/useFlex.js +6 -4
  843. package/flex-box/lib/es6/Flex/useFlex.js.map +1 -1
  844. package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +5 -3
  845. package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js.map +1 -1
  846. package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +5 -3
  847. package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js.map +1 -1
  848. package/flex-box/lib/esm/Box/index.mjs +10 -10
  849. package/flex-box/lib/esm/Box/useBox.mjs +84 -72
  850. package/flex-box/lib/esm/Flex/index.mjs +10 -10
  851. package/flex-box/lib/esm/Flex/useFlex.mjs +53 -43
  852. package/flex-box/lib/esm/index.mjs +13 -13
  853. package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +23 -17
  854. package/flex-box/lib/esm/invalid-state-box/invalidStateBox.shadow.css +10 -0
  855. package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +25 -19
  856. package/flex-box/lib/esm/screen-reader-only-box/screenReaderOnlyBox.shadow.css +12 -0
  857. package/flex-box/lib/esm/style/use-box.shadow.css +7 -0
  858. package/flex-box/lib/esm/style/use-flex.shadow.css +7 -0
  859. package/flex-box/lib/esm/utils.mjs +12 -3
  860. package/flex-box/package.json +1 -1
  861. package/format-text/lib/cjs/FormatText.js +8 -6
  862. package/format-text/lib/cjs/FormatText.js.map +1 -1
  863. package/format-text/lib/es6/FormatText.js +8 -6
  864. package/format-text/lib/es6/FormatText.js.map +1 -1
  865. package/format-text/package.json +1 -1
  866. package/fullscreen-modal/lib/cjs/FullscreenModal.js +16 -14
  867. package/fullscreen-modal/lib/cjs/FullscreenModal.js.map +1 -1
  868. package/fullscreen-modal/lib/es6/FullscreenModal.js +16 -14
  869. package/fullscreen-modal/lib/es6/FullscreenModal.js.map +1 -1
  870. package/fullscreen-modal/lib/esm/FullscreenModal.mjs +166 -137
  871. package/fullscreen-modal/lib/esm/index.mjs +2 -2
  872. package/fullscreen-modal/lib/esm/style/fullscreen-modal.shadow.css +128 -0
  873. package/fullscreen-modal/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  874. package/fullscreen-modal/lib/esm/translations/de.json.mjs +8 -6
  875. package/fullscreen-modal/lib/esm/translations/en.json.mjs +8 -6
  876. package/fullscreen-modal/lib/esm/translations/es.json.mjs +8 -6
  877. package/fullscreen-modal/lib/esm/translations/fr.json.mjs +8 -6
  878. package/fullscreen-modal/lib/esm/translations/it.json.mjs +8 -6
  879. package/fullscreen-modal/lib/esm/translations/ja.json.mjs +8 -6
  880. package/fullscreen-modal/lib/esm/translations/ko.json.mjs +8 -6
  881. package/fullscreen-modal/lib/esm/translations/nl.json.mjs +8 -6
  882. package/fullscreen-modal/lib/esm/translations/pl.json.mjs +8 -6
  883. package/fullscreen-modal/lib/esm/translations/pt.json.mjs +8 -6
  884. package/fullscreen-modal/lib/esm/translations/sv.json.mjs +8 -6
  885. package/fullscreen-modal/lib/esm/translations/tr.json.mjs +8 -6
  886. package/fullscreen-modal/lib/esm/translations/vi.json.mjs +8 -6
  887. package/fullscreen-modal/lib/esm/translations/zh.json.mjs +8 -6
  888. package/fullscreen-modal/package.json +1 -1
  889. package/grid/lib/cjs/Grid.js +117 -115
  890. package/grid/lib/cjs/Grid.js.map +1 -1
  891. package/grid/lib/es6/Grid.js +117 -115
  892. package/grid/lib/es6/Grid.js.map +1 -1
  893. package/grid/lib/esm/Grid.mjs +192 -173
  894. package/grid/lib/esm/index.mjs +4 -4
  895. package/grid/lib/esm/style/grid.shadow.css +513 -0
  896. package/grid/package.json +1 -1
  897. package/i18n-unplugin/package.json +1 -1
  898. package/icon/color/Confluence/l/index.js +4 -4
  899. package/icon/color/Confluence/l/index.mjs +4 -4
  900. package/icon/color/Confluence/m/index.js +4 -4
  901. package/icon/color/Confluence/m/index.mjs +4 -4
  902. package/icon/color/MetaColored/l/index.js +4 -4
  903. package/icon/color/MetaColored/l/index.mjs +4 -4
  904. package/icon/color/MetaColored/m/index.js +4 -4
  905. package/icon/color/MetaColored/m/index.mjs +4 -4
  906. package/icon/color/MicrosoftOffice/l/index.js +10 -10
  907. package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
  908. package/icon/color/MicrosoftOffice/m/index.js +10 -10
  909. package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
  910. package/icon/lib/cjs/Icon.js +8 -6
  911. package/icon/lib/cjs/Icon.js.map +1 -1
  912. package/icon/lib/es6/Icon.js +8 -6
  913. package/icon/lib/es6/Icon.js.map +1 -1
  914. package/icon/lib/esm/Icon.mjs +71 -54
  915. package/icon/lib/esm/index.mjs +2 -2
  916. package/icon/lib/esm/style/icon.shadow.css +22 -0
  917. package/icon/package.json +1 -1
  918. package/icon/pay/Discover/l/index.js +1 -1
  919. package/icon/pay/Discover/l/index.mjs +1 -1
  920. package/icon/pay/Discover/m/index.js +1 -1
  921. package/icon/pay/Discover/m/index.mjs +1 -1
  922. package/icon/pay/JCB/l/index.js +10 -10
  923. package/icon/pay/JCB/l/index.mjs +10 -10
  924. package/icon/pay/JCB/m/index.js +10 -10
  925. package/icon/pay/JCB/m/index.mjs +10 -10
  926. package/icon/pay/Visa/l/index.js +2 -2
  927. package/icon/pay/Visa/l/index.mjs +2 -2
  928. package/icon/pay/Visa/m/index.js +2 -2
  929. package/icon/pay/Visa/m/index.mjs +2 -2
  930. package/icon/platform/EnterpriseSolutions/index.d.ts +6 -0
  931. package/icon/platform/EnterpriseSolutions/index.js +39 -0
  932. package/icon/platform/EnterpriseSolutions/index.mjs +28 -0
  933. package/illustration/lib/cjs/index.js +1 -1
  934. package/illustration/lib/es6/index.js +1 -1
  935. package/illustration/package.json +1 -1
  936. package/inline-edit/lib/cjs/InlineEdit.js +7 -5
  937. package/inline-edit/lib/cjs/InlineEdit.js.map +1 -1
  938. package/inline-edit/lib/es6/InlineEdit.js +7 -5
  939. package/inline-edit/lib/es6/InlineEdit.js.map +1 -1
  940. package/inline-edit/lib/esm/InlineEdit.mjs +140 -101
  941. package/inline-edit/lib/esm/index.mjs +2 -2
  942. package/inline-edit/lib/esm/style/inline-edit.shadow.css +26 -0
  943. package/inline-edit/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  944. package/inline-edit/lib/esm/translations/de.json.mjs +5 -4
  945. package/inline-edit/lib/esm/translations/en.json.mjs +5 -4
  946. package/inline-edit/lib/esm/translations/es.json.mjs +5 -4
  947. package/inline-edit/lib/esm/translations/fr.json.mjs +5 -4
  948. package/inline-edit/lib/esm/translations/it.json.mjs +5 -4
  949. package/inline-edit/lib/esm/translations/ja.json.mjs +5 -4
  950. package/inline-edit/lib/esm/translations/ko.json.mjs +5 -4
  951. package/inline-edit/lib/esm/translations/nl.json.mjs +5 -4
  952. package/inline-edit/lib/esm/translations/pl.json.mjs +5 -4
  953. package/inline-edit/lib/esm/translations/pt.json.mjs +5 -4
  954. package/inline-edit/lib/esm/translations/sv.json.mjs +5 -4
  955. package/inline-edit/lib/esm/translations/tr.json.mjs +5 -4
  956. package/inline-edit/lib/esm/translations/vi.json.mjs +5 -4
  957. package/inline-edit/lib/esm/translations/zh.json.mjs +5 -4
  958. package/inline-edit/package.json +1 -1
  959. package/inline-input/lib/cjs/InlineInput.js +17 -15
  960. package/inline-input/lib/cjs/InlineInput.js.map +1 -1
  961. package/inline-input/lib/es6/InlineInput.js +17 -15
  962. package/inline-input/lib/es6/InlineInput.js.map +1 -1
  963. package/inline-input/lib/esm/InlineInput.mjs +296 -217
  964. package/inline-input/lib/esm/index.mjs +2 -2
  965. package/inline-input/lib/esm/style/inline-input.shadow.css +145 -0
  966. package/inline-input/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  967. package/inline-input/lib/esm/translations/de.json.mjs +8 -6
  968. package/inline-input/lib/esm/translations/en.json.mjs +8 -6
  969. package/inline-input/lib/esm/translations/es.json.mjs +8 -6
  970. package/inline-input/lib/esm/translations/fr.json.mjs +8 -6
  971. package/inline-input/lib/esm/translations/it.json.mjs +8 -6
  972. package/inline-input/lib/esm/translations/ja.json.mjs +8 -6
  973. package/inline-input/lib/esm/translations/ko.json.mjs +8 -6
  974. package/inline-input/lib/esm/translations/nl.json.mjs +8 -6
  975. package/inline-input/lib/esm/translations/pl.json.mjs +8 -6
  976. package/inline-input/lib/esm/translations/pt.json.mjs +8 -6
  977. package/inline-input/lib/esm/translations/sv.json.mjs +8 -6
  978. package/inline-input/lib/esm/translations/tr.json.mjs +8 -6
  979. package/inline-input/lib/esm/translations/vi.json.mjs +8 -6
  980. package/inline-input/lib/esm/translations/zh.json.mjs +8 -6
  981. package/inline-input/package.json +1 -1
  982. package/input/lib/cjs/Input.js +20 -18
  983. package/input/lib/cjs/Input.js.map +1 -1
  984. package/input/lib/es6/Input.js +20 -18
  985. package/input/lib/es6/Input.js.map +1 -1
  986. package/input/lib/esm/Input.mjs +167 -140
  987. package/input/lib/esm/index.mjs +2 -2
  988. package/input/lib/esm/style/input.shadow.css +191 -0
  989. package/input/package.json +1 -1
  990. package/input-mask/lib/cjs/InputMask.js +9 -7
  991. package/input-mask/lib/cjs/InputMask.js.map +1 -1
  992. package/input-mask/lib/es6/InputMask.js +9 -7
  993. package/input-mask/lib/es6/InputMask.js.map +1 -1
  994. package/input-mask/lib/esm/InputMask.mjs +289 -207
  995. package/input-mask/lib/esm/index.mjs +3 -3
  996. package/input-mask/lib/esm/style/input-mask.shadow.css +38 -0
  997. package/input-mask/package.json +1 -1
  998. package/input-number/lib/cjs/InputNumber.js +12 -10
  999. package/input-number/lib/cjs/InputNumber.js.map +1 -1
  1000. package/input-number/lib/es6/InputNumber.js +12 -10
  1001. package/input-number/lib/es6/InputNumber.js.map +1 -1
  1002. package/input-number/lib/esm/InputNumber.mjs +357 -225
  1003. package/input-number/lib/esm/buttons.mjs +10 -9
  1004. package/input-number/lib/esm/index.mjs +6 -6
  1005. package/input-number/lib/esm/style/input-number.shadow.css +73 -0
  1006. package/input-number/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1007. package/input-number/lib/esm/translations/de.json.mjs +8 -6
  1008. package/input-number/lib/esm/translations/en.json.mjs +8 -6
  1009. package/input-number/lib/esm/translations/es.json.mjs +8 -6
  1010. package/input-number/lib/esm/translations/fr.json.mjs +8 -6
  1011. package/input-number/lib/esm/translations/it.json.mjs +8 -6
  1012. package/input-number/lib/esm/translations/ja.json.mjs +8 -6
  1013. package/input-number/lib/esm/translations/ko.json.mjs +8 -6
  1014. package/input-number/lib/esm/translations/nl.json.mjs +8 -6
  1015. package/input-number/lib/esm/translations/pl.json.mjs +8 -6
  1016. package/input-number/lib/esm/translations/pt.json.mjs +8 -6
  1017. package/input-number/lib/esm/translations/sv.json.mjs +8 -6
  1018. package/input-number/lib/esm/translations/tr.json.mjs +8 -6
  1019. package/input-number/lib/esm/translations/vi.json.mjs +8 -6
  1020. package/input-number/lib/esm/translations/zh.json.mjs +8 -6
  1021. package/input-number/package.json +1 -1
  1022. package/input-tags/lib/cjs/InputTags.js +15 -13
  1023. package/input-tags/lib/cjs/InputTags.js.map +1 -1
  1024. package/input-tags/lib/es6/InputTags.js +15 -13
  1025. package/input-tags/lib/es6/InputTags.js.map +1 -1
  1026. package/input-tags/lib/esm/InputTags.mjs +284 -211
  1027. package/input-tags/lib/esm/index.mjs +2 -2
  1028. package/input-tags/lib/esm/style/input-tag.shadow.css +87 -0
  1029. package/input-tags/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1030. package/input-tags/lib/esm/translations/de.json.mjs +5 -4
  1031. package/input-tags/lib/esm/translations/en.json.mjs +5 -4
  1032. package/input-tags/lib/esm/translations/es.json.mjs +5 -4
  1033. package/input-tags/lib/esm/translations/fr.json.mjs +5 -4
  1034. package/input-tags/lib/esm/translations/it.json.mjs +5 -4
  1035. package/input-tags/lib/esm/translations/ja.json.mjs +5 -4
  1036. package/input-tags/lib/esm/translations/ko.json.mjs +5 -4
  1037. package/input-tags/lib/esm/translations/nl.json.mjs +5 -4
  1038. package/input-tags/lib/esm/translations/pl.json.mjs +5 -4
  1039. package/input-tags/lib/esm/translations/pt.json.mjs +5 -4
  1040. package/input-tags/lib/esm/translations/sv.json.mjs +5 -4
  1041. package/input-tags/lib/esm/translations/tr.json.mjs +5 -4
  1042. package/input-tags/lib/esm/translations/vi.json.mjs +5 -4
  1043. package/input-tags/lib/esm/translations/zh.json.mjs +5 -4
  1044. package/input-tags/package.json +1 -1
  1045. package/link/lib/cjs/Link.js +15 -13
  1046. package/link/lib/cjs/Link.js.map +1 -1
  1047. package/link/lib/es6/Link.js +15 -13
  1048. package/link/lib/es6/Link.js.map +1 -1
  1049. package/link/lib/esm/Link.mjs +135 -110
  1050. package/link/lib/esm/index.mjs +2 -2
  1051. package/link/lib/esm/style/link.shadow.css +112 -0
  1052. package/link/package.json +1 -1
  1053. package/mini-chart/lib/cjs/component/score/Donut.js +12 -10
  1054. package/mini-chart/lib/cjs/component/score/Donut.js.map +1 -1
  1055. package/mini-chart/lib/cjs/component/score/Line.js +21 -19
  1056. package/mini-chart/lib/cjs/component/score/Line.js.map +1 -1
  1057. package/mini-chart/lib/cjs/component/trend/Bar.js +10 -8
  1058. package/mini-chart/lib/cjs/component/trend/Bar.js.map +1 -1
  1059. package/mini-chart/lib/cjs/component/trend/Line.js +10 -8
  1060. package/mini-chart/lib/cjs/component/trend/Line.js.map +1 -1
  1061. package/mini-chart/lib/es6/component/score/Donut.js +12 -10
  1062. package/mini-chart/lib/es6/component/score/Donut.js.map +1 -1
  1063. package/mini-chart/lib/es6/component/score/Line.js +21 -19
  1064. package/mini-chart/lib/es6/component/score/Line.js.map +1 -1
  1065. package/mini-chart/lib/es6/component/trend/Bar.js +10 -8
  1066. package/mini-chart/lib/es6/component/trend/Bar.js.map +1 -1
  1067. package/mini-chart/lib/es6/component/trend/Line.js +10 -8
  1068. package/mini-chart/lib/es6/component/trend/Line.js.map +1 -1
  1069. package/mini-chart/lib/esm/component/score/Donut.mjs +106 -86
  1070. package/mini-chart/lib/esm/component/score/Line.mjs +107 -84
  1071. package/mini-chart/lib/esm/component/score/donut.shadow.css +17 -0
  1072. package/mini-chart/lib/esm/component/score/line.shadow.css +62 -0
  1073. package/mini-chart/lib/esm/component/skeleton/skeleton.shadow.css +24 -0
  1074. package/mini-chart/lib/esm/component/trend/Bar.mjs +87 -71
  1075. package/mini-chart/lib/esm/component/trend/Line.mjs +121 -102
  1076. package/mini-chart/lib/esm/component/trend/Trend.mjs +47 -35
  1077. package/mini-chart/lib/esm/index.mjs +13 -13
  1078. package/mini-chart/package.json +1 -1
  1079. package/modal/lib/cjs/Modal.js +11 -9
  1080. package/modal/lib/cjs/Modal.js.map +1 -1
  1081. package/modal/lib/es6/Modal.js +11 -9
  1082. package/modal/lib/es6/Modal.js.map +1 -1
  1083. package/modal/lib/esm/Modal.mjs +181 -148
  1084. package/modal/lib/esm/index.mjs +2 -2
  1085. package/modal/lib/esm/style/modal.shadow.css +74 -0
  1086. package/modal/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1087. package/modal/lib/esm/translations/de.json.mjs +8 -6
  1088. package/modal/lib/esm/translations/en.json.mjs +8 -6
  1089. package/modal/lib/esm/translations/es.json.mjs +8 -6
  1090. package/modal/lib/esm/translations/fr.json.mjs +8 -6
  1091. package/modal/lib/esm/translations/it.json.mjs +8 -6
  1092. package/modal/lib/esm/translations/ja.json.mjs +8 -6
  1093. package/modal/lib/esm/translations/ko.json.mjs +8 -6
  1094. package/modal/lib/esm/translations/nl.json.mjs +8 -6
  1095. package/modal/lib/esm/translations/pl.json.mjs +8 -6
  1096. package/modal/lib/esm/translations/pt.json.mjs +8 -6
  1097. package/modal/lib/esm/translations/sv.json.mjs +8 -6
  1098. package/modal/lib/esm/translations/tr.json.mjs +8 -6
  1099. package/modal/lib/esm/translations/vi.json.mjs +8 -6
  1100. package/modal/lib/esm/translations/zh.json.mjs +8 -6
  1101. package/modal/package.json +1 -1
  1102. package/neighbor-location/lib/esm/NeighborLocation.mjs +94 -65
  1103. package/neighbor-location/lib/esm/index.mjs +4 -4
  1104. package/neighbor-location/package.json +1 -1
  1105. package/notice/lib/cjs/Notice.js +19 -17
  1106. package/notice/lib/cjs/Notice.js.map +1 -1
  1107. package/notice/lib/es6/Notice.js +19 -17
  1108. package/notice/lib/es6/Notice.js.map +1 -1
  1109. package/notice/lib/esm/Notice.mjs +172 -138
  1110. package/notice/lib/esm/NoticeSmart.mjs +35 -27
  1111. package/notice/lib/esm/index.mjs +4 -4
  1112. package/notice/lib/esm/style/notice.shadow.css +138 -0
  1113. package/notice/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1114. package/notice/lib/esm/translations/de.json.mjs +11 -8
  1115. package/notice/lib/esm/translations/en.json.mjs +11 -8
  1116. package/notice/lib/esm/translations/es.json.mjs +11 -8
  1117. package/notice/lib/esm/translations/fr.json.mjs +11 -8
  1118. package/notice/lib/esm/translations/it.json.mjs +11 -8
  1119. package/notice/lib/esm/translations/ja.json.mjs +11 -8
  1120. package/notice/lib/esm/translations/ko.json.mjs +11 -8
  1121. package/notice/lib/esm/translations/nl.json.mjs +11 -8
  1122. package/notice/lib/esm/translations/pl.json.mjs +11 -8
  1123. package/notice/lib/esm/translations/pt.json.mjs +11 -8
  1124. package/notice/lib/esm/translations/sv.json.mjs +11 -8
  1125. package/notice/lib/esm/translations/tr.json.mjs +11 -8
  1126. package/notice/lib/esm/translations/vi.json.mjs +11 -8
  1127. package/notice/lib/esm/translations/zh.json.mjs +11 -8
  1128. package/notice/package.json +1 -1
  1129. package/notice-bubble/lib/cjs/NoticeBubble.js +18 -16
  1130. package/notice-bubble/lib/cjs/NoticeBubble.js.map +1 -1
  1131. package/notice-bubble/lib/es6/NoticeBubble.js +18 -16
  1132. package/notice-bubble/lib/es6/NoticeBubble.js.map +1 -1
  1133. package/notice-bubble/lib/esm/NoticeBubble.mjs +304 -232
  1134. package/notice-bubble/lib/esm/NoticeBubbleManager.mjs +89 -58
  1135. package/notice-bubble/lib/esm/index.mjs +9 -9
  1136. package/notice-bubble/lib/esm/style/notice-bubble.shadow.css +107 -0
  1137. package/notice-bubble/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1138. package/notice-bubble/lib/esm/translations/de.json.mjs +8 -6
  1139. package/notice-bubble/lib/esm/translations/en.json.mjs +8 -6
  1140. package/notice-bubble/lib/esm/translations/es.json.mjs +8 -6
  1141. package/notice-bubble/lib/esm/translations/fr.json.mjs +8 -6
  1142. package/notice-bubble/lib/esm/translations/it.json.mjs +8 -6
  1143. package/notice-bubble/lib/esm/translations/ja.json.mjs +8 -6
  1144. package/notice-bubble/lib/esm/translations/ko.json.mjs +8 -6
  1145. package/notice-bubble/lib/esm/translations/nl.json.mjs +8 -6
  1146. package/notice-bubble/lib/esm/translations/pl.json.mjs +8 -6
  1147. package/notice-bubble/lib/esm/translations/pt.json.mjs +8 -6
  1148. package/notice-bubble/lib/esm/translations/sv.json.mjs +8 -6
  1149. package/notice-bubble/lib/esm/translations/tr.json.mjs +8 -6
  1150. package/notice-bubble/lib/esm/translations/vi.json.mjs +8 -6
  1151. package/notice-bubble/lib/esm/translations/zh.json.mjs +8 -6
  1152. package/notice-bubble/lib/esm/utils.mjs +27 -15
  1153. package/notice-bubble/package.json +1 -1
  1154. package/notice-global/lib/cjs/NoticeGlobal.js +14 -12
  1155. package/notice-global/lib/cjs/NoticeGlobal.js.map +1 -1
  1156. package/notice-global/lib/es6/NoticeGlobal.js +14 -12
  1157. package/notice-global/lib/es6/NoticeGlobal.js.map +1 -1
  1158. package/notice-global/lib/esm/NoticeGlobal.mjs +96 -81
  1159. package/notice-global/lib/esm/index.mjs +2 -2
  1160. package/notice-global/lib/esm/style/notice-global.shadow.css +47 -0
  1161. package/notice-global/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1162. package/notice-global/lib/esm/translations/de.json.mjs +11 -8
  1163. package/notice-global/lib/esm/translations/en.json.mjs +11 -8
  1164. package/notice-global/lib/esm/translations/es.json.mjs +11 -8
  1165. package/notice-global/lib/esm/translations/fr.json.mjs +11 -8
  1166. package/notice-global/lib/esm/translations/it.json.mjs +11 -8
  1167. package/notice-global/lib/esm/translations/ja.json.mjs +11 -8
  1168. package/notice-global/lib/esm/translations/ko.json.mjs +11 -8
  1169. package/notice-global/lib/esm/translations/nl.json.mjs +11 -8
  1170. package/notice-global/lib/esm/translations/pl.json.mjs +11 -8
  1171. package/notice-global/lib/esm/translations/pt.json.mjs +11 -8
  1172. package/notice-global/lib/esm/translations/sv.json.mjs +11 -8
  1173. package/notice-global/lib/esm/translations/tr.json.mjs +11 -8
  1174. package/notice-global/lib/esm/translations/vi.json.mjs +11 -8
  1175. package/notice-global/lib/esm/translations/zh.json.mjs +11 -8
  1176. package/notice-global/package.json +1 -1
  1177. package/outside-click/lib/esm/OutsideClick.mjs +71 -43
  1178. package/outside-click/lib/esm/index.mjs +2 -2
  1179. package/outside-click/package.json +1 -1
  1180. package/package.json +1 -1
  1181. package/pagination/lib/cjs/Pagination.js +15 -13
  1182. package/pagination/lib/cjs/Pagination.js.map +1 -1
  1183. package/pagination/lib/es6/Pagination.js +15 -13
  1184. package/pagination/lib/es6/Pagination.js.map +1 -1
  1185. package/pagination/lib/esm/Pagination.mjs +331 -256
  1186. package/pagination/lib/esm/index.mjs +2 -2
  1187. package/pagination/lib/esm/style/pagination.shadow.css +90 -0
  1188. package/pagination/lib/esm/translations/__intergalactic-dynamic-locales.mjs +32 -32
  1189. package/pagination/lib/esm/translations/de.json.mjs +23 -16
  1190. package/pagination/lib/esm/translations/en.json.mjs +23 -16
  1191. package/pagination/lib/esm/translations/es.json.mjs +23 -16
  1192. package/pagination/lib/esm/translations/fr.json.mjs +23 -16
  1193. package/pagination/lib/esm/translations/it.json.mjs +23 -16
  1194. package/pagination/lib/esm/translations/ja.json.mjs +23 -16
  1195. package/pagination/lib/esm/translations/ko.json.mjs +23 -16
  1196. package/pagination/lib/esm/translations/nl.json.mjs +23 -16
  1197. package/pagination/lib/esm/translations/pl.json.mjs +23 -16
  1198. package/pagination/lib/esm/translations/pt.json.mjs +23 -16
  1199. package/pagination/lib/esm/translations/ru.json.mjs +14 -10
  1200. package/pagination/lib/esm/translations/sv.json.mjs +23 -16
  1201. package/pagination/lib/esm/translations/tr.json.mjs +23 -16
  1202. package/pagination/lib/esm/translations/vi.json.mjs +23 -16
  1203. package/pagination/lib/esm/translations/zh.json.mjs +23 -16
  1204. package/pagination/package.json +1 -1
  1205. package/pills/lib/cjs/Pills.js +16 -14
  1206. package/pills/lib/cjs/Pills.js.map +1 -1
  1207. package/pills/lib/es6/Pills.js +16 -14
  1208. package/pills/lib/es6/Pills.js.map +1 -1
  1209. package/pills/lib/esm/Pills.mjs +164 -121
  1210. package/pills/lib/esm/index.mjs +3 -3
  1211. package/pills/lib/esm/style/pills.shadow.css +162 -0
  1212. package/pills/package.json +1 -1
  1213. package/popper/lib/cjs/Popper.js +9 -7
  1214. package/popper/lib/cjs/Popper.js.map +1 -1
  1215. package/popper/lib/es6/Popper.js +9 -7
  1216. package/popper/lib/es6/Popper.js.map +1 -1
  1217. package/popper/lib/esm/Popper.mjs +483 -331
  1218. package/popper/lib/esm/arrowOffset.mjs +37 -28
  1219. package/popper/lib/esm/createPopper.mjs +9 -9
  1220. package/popper/lib/esm/index.mjs +3 -3
  1221. package/popper/lib/esm/modifiers/applyMaxSize.mjs +16 -7
  1222. package/popper/lib/esm/modifiers/cursorAnchoring.mjs +39 -22
  1223. package/popper/lib/esm/style/popper.shadow.css +27 -0
  1224. package/popper/lib/esm/utils/getOffsetParent.mjs +42 -26
  1225. package/popper/package.json +1 -1
  1226. package/portal/lib/esm/Portal.mjs +28 -22
  1227. package/portal/lib/esm/index.mjs +3 -3
  1228. package/portal/package.json +1 -1
  1229. package/product-head/lib/cjs/Info.js +7 -5
  1230. package/product-head/lib/cjs/Info.js.map +1 -1
  1231. package/product-head/lib/cjs/ProductHead.js +8 -6
  1232. package/product-head/lib/cjs/ProductHead.js.map +1 -1
  1233. package/product-head/lib/cjs/Title.js +7 -5
  1234. package/product-head/lib/cjs/Title.js.map +1 -1
  1235. package/product-head/lib/es6/Info.js +7 -5
  1236. package/product-head/lib/es6/Info.js.map +1 -1
  1237. package/product-head/lib/es6/ProductHead.js +8 -6
  1238. package/product-head/lib/es6/ProductHead.js.map +1 -1
  1239. package/product-head/lib/es6/Title.js +7 -5
  1240. package/product-head/lib/es6/Title.js.map +1 -1
  1241. package/product-head/lib/esm/Info.mjs +52 -42
  1242. package/product-head/lib/esm/ProductHead.mjs +56 -46
  1243. package/product-head/lib/esm/Title.mjs +50 -40
  1244. package/product-head/lib/esm/index.mjs +6 -6
  1245. package/product-head/lib/esm/style/info.shadow.css +31 -0
  1246. package/product-head/lib/esm/style/product-head.shadow.css +53 -0
  1247. package/product-head/lib/esm/style/title.shadow.css +30 -0
  1248. package/product-head/package.json +1 -1
  1249. package/progress-bar/lib/cjs/ProgressBar.js +18 -16
  1250. package/progress-bar/lib/cjs/ProgressBar.js.map +1 -1
  1251. package/progress-bar/lib/es6/ProgressBar.js +18 -16
  1252. package/progress-bar/lib/es6/ProgressBar.js.map +1 -1
  1253. package/progress-bar/lib/esm/ProgressBar.mjs +82 -73
  1254. package/progress-bar/lib/esm/index.mjs +2 -2
  1255. package/progress-bar/lib/esm/style/progress-bar.shadow.css +97 -0
  1256. package/progress-bar/package.json +1 -1
  1257. package/radio/lib/cjs/Radio.js +19 -17
  1258. package/radio/lib/cjs/Radio.js.map +1 -1
  1259. package/radio/lib/es6/Radio.js +19 -17
  1260. package/radio/lib/es6/Radio.js.map +1 -1
  1261. package/radio/lib/esm/Radio.mjs +263 -203
  1262. package/radio/lib/esm/index.mjs +6 -6
  1263. package/radio/lib/esm/style/radio.shadow.css +154 -0
  1264. package/radio/package.json +1 -1
  1265. package/scroll-area/lib/cjs/ScrollArea.js +24 -22
  1266. package/scroll-area/lib/cjs/ScrollArea.js.map +1 -1
  1267. package/scroll-area/lib/cjs/ScrollBar.js +9 -7
  1268. package/scroll-area/lib/cjs/ScrollBar.js.map +1 -1
  1269. package/scroll-area/lib/es6/ScrollArea.js +24 -22
  1270. package/scroll-area/lib/es6/ScrollArea.js.map +1 -1
  1271. package/scroll-area/lib/es6/ScrollBar.js +9 -7
  1272. package/scroll-area/lib/es6/ScrollBar.js.map +1 -1
  1273. package/scroll-area/lib/esm/ScrollArea.mjs +283 -201
  1274. package/scroll-area/lib/esm/ScrollBar.mjs +282 -172
  1275. package/scroll-area/lib/esm/index.mjs +6 -6
  1276. package/scroll-area/lib/esm/style/scroll-area.shadow.css +155 -0
  1277. package/scroll-area/lib/esm/style/scroll-bar.shadow.css +28 -0
  1278. package/scroll-area/package.json +1 -1
  1279. package/select/lib/cjs/InputSearch.js +9 -7
  1280. package/select/lib/cjs/InputSearch.js.map +1 -1
  1281. package/select/lib/cjs/Select.js +11 -9
  1282. package/select/lib/cjs/Select.js.map +1 -1
  1283. package/select/lib/es6/InputSearch.js +9 -7
  1284. package/select/lib/es6/InputSearch.js.map +1 -1
  1285. package/select/lib/es6/Select.js +11 -9
  1286. package/select/lib/es6/Select.js.map +1 -1
  1287. package/select/lib/esm/InputSearch.mjs +107 -84
  1288. package/select/lib/esm/Select.mjs +301 -232
  1289. package/select/lib/esm/context.mjs +3 -3
  1290. package/select/lib/esm/index.mjs +5 -5
  1291. package/select/lib/esm/style/input-search.shadow.css +20 -0
  1292. package/select/lib/esm/style/select.shadow.css +94 -0
  1293. package/select/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1294. package/select/lib/esm/translations/de.json.mjs +8 -6
  1295. package/select/lib/esm/translations/en.json.mjs +8 -6
  1296. package/select/lib/esm/translations/es.json.mjs +8 -6
  1297. package/select/lib/esm/translations/fr.json.mjs +8 -6
  1298. package/select/lib/esm/translations/it.json.mjs +8 -6
  1299. package/select/lib/esm/translations/ja.json.mjs +8 -6
  1300. package/select/lib/esm/translations/ko.json.mjs +8 -6
  1301. package/select/lib/esm/translations/nl.json.mjs +8 -6
  1302. package/select/lib/esm/translations/pl.json.mjs +8 -6
  1303. package/select/lib/esm/translations/pt.json.mjs +8 -6
  1304. package/select/lib/esm/translations/sv.json.mjs +8 -6
  1305. package/select/lib/esm/translations/tr.json.mjs +8 -6
  1306. package/select/lib/esm/translations/vi.json.mjs +8 -6
  1307. package/select/lib/esm/translations/zh.json.mjs +8 -6
  1308. package/select/package.json +1 -1
  1309. package/side-panel/lib/cjs/SidePanel.js +19 -17
  1310. package/side-panel/lib/cjs/SidePanel.js.map +1 -1
  1311. package/side-panel/lib/es6/SidePanel.js +19 -17
  1312. package/side-panel/lib/es6/SidePanel.js.map +1 -1
  1313. package/side-panel/lib/esm/SidePanel.mjs +206 -173
  1314. package/side-panel/lib/esm/index.mjs +2 -2
  1315. package/side-panel/lib/esm/style/side-panel.shadow.css +119 -0
  1316. package/side-panel/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1317. package/side-panel/lib/esm/translations/de.json.mjs +5 -4
  1318. package/side-panel/lib/esm/translations/en.json.mjs +5 -4
  1319. package/side-panel/lib/esm/translations/es.json.mjs +5 -4
  1320. package/side-panel/lib/esm/translations/fr.json.mjs +5 -4
  1321. package/side-panel/lib/esm/translations/it.json.mjs +5 -4
  1322. package/side-panel/lib/esm/translations/ja.json.mjs +5 -4
  1323. package/side-panel/lib/esm/translations/ko.json.mjs +5 -4
  1324. package/side-panel/lib/esm/translations/nl.json.mjs +5 -4
  1325. package/side-panel/lib/esm/translations/pl.json.mjs +5 -4
  1326. package/side-panel/lib/esm/translations/pt.json.mjs +5 -4
  1327. package/side-panel/lib/esm/translations/sv.json.mjs +5 -4
  1328. package/side-panel/lib/esm/translations/tr.json.mjs +5 -4
  1329. package/side-panel/lib/esm/translations/vi.json.mjs +5 -4
  1330. package/side-panel/lib/esm/translations/zh.json.mjs +5 -4
  1331. package/side-panel/package.json +1 -1
  1332. package/skeleton/lib/cjs/Charts/Area.js +12 -10
  1333. package/skeleton/lib/cjs/Charts/Area.js.map +1 -1
  1334. package/skeleton/lib/cjs/Charts/Bar.js +12 -10
  1335. package/skeleton/lib/cjs/Charts/Bar.js.map +1 -1
  1336. package/skeleton/lib/cjs/Charts/Bubble.js +12 -10
  1337. package/skeleton/lib/cjs/Charts/Bubble.js.map +1 -1
  1338. package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +12 -10
  1339. package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js.map +1 -1
  1340. package/skeleton/lib/cjs/Charts/Donut.js +12 -10
  1341. package/skeleton/lib/cjs/Charts/Donut.js.map +1 -1
  1342. package/skeleton/lib/cjs/Charts/Histogram.js +12 -10
  1343. package/skeleton/lib/cjs/Charts/Histogram.js.map +1 -1
  1344. package/skeleton/lib/cjs/Charts/Line.js +12 -10
  1345. package/skeleton/lib/cjs/Charts/Line.js.map +1 -1
  1346. package/skeleton/lib/cjs/Charts/RadialTree.js +12 -10
  1347. package/skeleton/lib/cjs/Charts/RadialTree.js.map +1 -1
  1348. package/skeleton/lib/cjs/Charts/ScatterPlot.js +12 -10
  1349. package/skeleton/lib/cjs/Charts/ScatterPlot.js.map +1 -1
  1350. package/skeleton/lib/cjs/Charts/Venn.js +12 -10
  1351. package/skeleton/lib/cjs/Charts/Venn.js.map +1 -1
  1352. package/skeleton/lib/cjs/Skeleton.js +11 -9
  1353. package/skeleton/lib/cjs/Skeleton.js.map +1 -1
  1354. package/skeleton/lib/es6/Charts/Area.js +12 -10
  1355. package/skeleton/lib/es6/Charts/Area.js.map +1 -1
  1356. package/skeleton/lib/es6/Charts/Bar.js +12 -10
  1357. package/skeleton/lib/es6/Charts/Bar.js.map +1 -1
  1358. package/skeleton/lib/es6/Charts/Bubble.js +12 -10
  1359. package/skeleton/lib/es6/Charts/Bubble.js.map +1 -1
  1360. package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +12 -10
  1361. package/skeleton/lib/es6/Charts/CompactHorizontalBar.js.map +1 -1
  1362. package/skeleton/lib/es6/Charts/Donut.js +12 -10
  1363. package/skeleton/lib/es6/Charts/Donut.js.map +1 -1
  1364. package/skeleton/lib/es6/Charts/Histogram.js +12 -10
  1365. package/skeleton/lib/es6/Charts/Histogram.js.map +1 -1
  1366. package/skeleton/lib/es6/Charts/Line.js +12 -10
  1367. package/skeleton/lib/es6/Charts/Line.js.map +1 -1
  1368. package/skeleton/lib/es6/Charts/RadialTree.js +12 -10
  1369. package/skeleton/lib/es6/Charts/RadialTree.js.map +1 -1
  1370. package/skeleton/lib/es6/Charts/ScatterPlot.js +12 -10
  1371. package/skeleton/lib/es6/Charts/ScatterPlot.js.map +1 -1
  1372. package/skeleton/lib/es6/Charts/Venn.js +12 -10
  1373. package/skeleton/lib/es6/Charts/Venn.js.map +1 -1
  1374. package/skeleton/lib/es6/Skeleton.js +11 -9
  1375. package/skeleton/lib/es6/Skeleton.js.map +1 -1
  1376. package/skeleton/lib/esm/Charts/Area.mjs +39 -31
  1377. package/skeleton/lib/esm/Charts/Bar.mjs +43 -34
  1378. package/skeleton/lib/esm/Charts/Bubble.mjs +34 -28
  1379. package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +34 -28
  1380. package/skeleton/lib/esm/Charts/Donut.mjs +43 -34
  1381. package/skeleton/lib/esm/Charts/Histogram.mjs +43 -34
  1382. package/skeleton/lib/esm/Charts/Line.mjs +39 -31
  1383. package/skeleton/lib/esm/Charts/RadialTree.mjs +34 -28
  1384. package/skeleton/lib/esm/Charts/ScatterPlot.mjs +34 -28
  1385. package/skeleton/lib/esm/Charts/Venn.mjs +34 -28
  1386. package/skeleton/lib/esm/Skeleton.mjs +141 -114
  1387. package/skeleton/lib/esm/index.mjs +22 -22
  1388. package/skeleton/lib/esm/style/chart.shadow.css +17 -0
  1389. package/skeleton/lib/esm/style/skeleton.shadow.css +39 -0
  1390. package/skeleton/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1391. package/skeleton/lib/esm/translations/de.json.mjs +5 -4
  1392. package/skeleton/lib/esm/translations/en.json.mjs +5 -4
  1393. package/skeleton/lib/esm/translations/es.json.mjs +5 -4
  1394. package/skeleton/lib/esm/translations/fr.json.mjs +5 -4
  1395. package/skeleton/lib/esm/translations/it.json.mjs +5 -4
  1396. package/skeleton/lib/esm/translations/ja.json.mjs +5 -4
  1397. package/skeleton/lib/esm/translations/ko.json.mjs +5 -4
  1398. package/skeleton/lib/esm/translations/nl.json.mjs +5 -4
  1399. package/skeleton/lib/esm/translations/pl.json.mjs +5 -4
  1400. package/skeleton/lib/esm/translations/pt.json.mjs +5 -4
  1401. package/skeleton/lib/esm/translations/sv.json.mjs +5 -4
  1402. package/skeleton/lib/esm/translations/tr.json.mjs +5 -4
  1403. package/skeleton/lib/esm/translations/vi.json.mjs +5 -4
  1404. package/skeleton/lib/esm/translations/zh.json.mjs +5 -4
  1405. package/skeleton/package.json +1 -1
  1406. package/slider/lib/cjs/Slider.js +11 -9
  1407. package/slider/lib/cjs/Slider.js.map +1 -1
  1408. package/slider/lib/es6/Slider.js +11 -9
  1409. package/slider/lib/es6/Slider.js.map +1 -1
  1410. package/slider/lib/esm/Slider.mjs +221 -162
  1411. package/slider/lib/esm/index.mjs +3 -3
  1412. package/slider/lib/esm/style/slider.shadow.css +87 -0
  1413. package/slider/package.json +1 -1
  1414. package/spin/lib/cjs/Spin.js +16 -14
  1415. package/spin/lib/cjs/Spin.js.map +1 -1
  1416. package/spin/lib/es6/Spin.js +16 -14
  1417. package/spin/lib/es6/Spin.js.map +1 -1
  1418. package/spin/lib/esm/Spin.mjs +63 -55
  1419. package/spin/lib/esm/index.mjs +2 -2
  1420. package/spin/lib/esm/style/spin.shadow.css +67 -0
  1421. package/spin/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1422. package/spin/lib/esm/translations/de.json.mjs +5 -4
  1423. package/spin/lib/esm/translations/en.json.mjs +5 -4
  1424. package/spin/lib/esm/translations/es.json.mjs +5 -4
  1425. package/spin/lib/esm/translations/fr.json.mjs +5 -4
  1426. package/spin/lib/esm/translations/it.json.mjs +5 -4
  1427. package/spin/lib/esm/translations/ja.json.mjs +5 -4
  1428. package/spin/lib/esm/translations/ko.json.mjs +5 -4
  1429. package/spin/lib/esm/translations/nl.json.mjs +5 -4
  1430. package/spin/lib/esm/translations/pl.json.mjs +5 -4
  1431. package/spin/lib/esm/translations/pt.json.mjs +5 -4
  1432. package/spin/lib/esm/translations/sv.json.mjs +5 -4
  1433. package/spin/lib/esm/translations/tr.json.mjs +5 -4
  1434. package/spin/lib/esm/translations/vi.json.mjs +5 -4
  1435. package/spin/lib/esm/translations/zh.json.mjs +5 -4
  1436. package/spin/package.json +1 -1
  1437. package/spin-container/lib/cjs/SpinContainer.js +11 -9
  1438. package/spin-container/lib/cjs/SpinContainer.js.map +1 -1
  1439. package/spin-container/lib/es6/SpinContainer.js +11 -9
  1440. package/spin-container/lib/es6/SpinContainer.js.map +1 -1
  1441. package/spin-container/lib/esm/SpinContainer.mjs +125 -97
  1442. package/spin-container/lib/esm/index.mjs +2 -2
  1443. package/spin-container/lib/esm/style/spin-container.shadow.css +35 -0
  1444. package/spin-container/package.json +1 -1
  1445. package/sticky/lib/cjs/Sticky.js +5 -3
  1446. package/sticky/lib/cjs/Sticky.js.map +1 -1
  1447. package/sticky/lib/es6/Sticky.js +5 -3
  1448. package/sticky/lib/es6/Sticky.js.map +1 -1
  1449. package/sticky/lib/esm/Sticky.mjs +40 -32
  1450. package/sticky/lib/esm/index.mjs +2 -2
  1451. package/sticky/lib/esm/style/sticky.shadow.css +3 -0
  1452. package/sticky/package.json +1 -1
  1453. package/switch/lib/cjs/Switch.js +24 -22
  1454. package/switch/lib/cjs/Switch.js.map +1 -1
  1455. package/switch/lib/es6/Switch.js +24 -22
  1456. package/switch/lib/es6/Switch.js.map +1 -1
  1457. package/switch/lib/esm/Switch.mjs +199 -161
  1458. package/switch/lib/esm/index.mjs +4 -4
  1459. package/switch/lib/esm/style/switch.shadow.css +177 -0
  1460. package/switch/package.json +1 -1
  1461. package/tab-line/lib/cjs/TabLine.js +16 -14
  1462. package/tab-line/lib/cjs/TabLine.js.map +1 -1
  1463. package/tab-line/lib/es6/TabLine.js +16 -14
  1464. package/tab-line/lib/es6/TabLine.js.map +1 -1
  1465. package/tab-line/lib/esm/TabLine.mjs +200 -150
  1466. package/tab-line/lib/esm/index.mjs +3 -3
  1467. package/tab-line/lib/esm/style/tab-line.shadow.css +159 -0
  1468. package/tab-line/package.json +1 -1
  1469. package/tab-panel/lib/cjs/TabPanel.js +11 -9
  1470. package/tab-panel/lib/cjs/TabPanel.js.map +1 -1
  1471. package/tab-panel/lib/es6/TabPanel.js +11 -9
  1472. package/tab-panel/lib/es6/TabPanel.js.map +1 -1
  1473. package/tab-panel/lib/esm/TabPanel.mjs +121 -93
  1474. package/tab-panel/lib/esm/index.mjs +3 -3
  1475. package/tab-panel/lib/esm/style/tab-panel.shadow.css +130 -0
  1476. package/tab-panel/package.json +1 -1
  1477. package/tag/lib/cjs/Tag.js +26 -24
  1478. package/tag/lib/cjs/Tag.js.map +1 -1
  1479. package/tag/lib/es6/Tag.js +26 -24
  1480. package/tag/lib/es6/Tag.js.map +1 -1
  1481. package/tag/lib/esm/Tag.mjs +303 -245
  1482. package/tag/lib/esm/index.mjs +3 -3
  1483. package/tag/lib/esm/style/tag.shadow.css +373 -0
  1484. package/tag/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1485. package/tag/lib/esm/translations/de.json.mjs +5 -4
  1486. package/tag/lib/esm/translations/en.json.mjs +5 -4
  1487. package/tag/lib/esm/translations/es.json.mjs +5 -4
  1488. package/tag/lib/esm/translations/fr.json.mjs +5 -4
  1489. package/tag/lib/esm/translations/it.json.mjs +5 -4
  1490. package/tag/lib/esm/translations/ja.json.mjs +5 -4
  1491. package/tag/lib/esm/translations/ko.json.mjs +5 -4
  1492. package/tag/lib/esm/translations/nl.json.mjs +5 -4
  1493. package/tag/lib/esm/translations/pl.json.mjs +5 -4
  1494. package/tag/lib/esm/translations/pt.json.mjs +5 -4
  1495. package/tag/lib/esm/translations/sv.json.mjs +5 -4
  1496. package/tag/lib/esm/translations/tr.json.mjs +5 -4
  1497. package/tag/lib/esm/translations/vi.json.mjs +5 -4
  1498. package/tag/lib/esm/translations/zh.json.mjs +5 -4
  1499. package/tag/package.json +1 -1
  1500. package/textarea/lib/cjs/Textarea.js +11 -9
  1501. package/textarea/lib/cjs/Textarea.js.map +1 -1
  1502. package/textarea/lib/es6/Textarea.js +11 -9
  1503. package/textarea/lib/es6/Textarea.js.map +1 -1
  1504. package/textarea/lib/esm/Textarea.mjs +123 -87
  1505. package/textarea/lib/esm/index.mjs +2 -2
  1506. package/textarea/lib/esm/style/textarea.shadow.css +66 -0
  1507. package/textarea/package.json +1 -1
  1508. package/time-picker/lib/cjs/TimePicker.js +15 -13
  1509. package/time-picker/lib/cjs/TimePicker.js.map +1 -1
  1510. package/time-picker/lib/es6/TimePicker.js +15 -13
  1511. package/time-picker/lib/es6/TimePicker.js.map +1 -1
  1512. package/time-picker/lib/esm/PickerFormat.mjs +56 -46
  1513. package/time-picker/lib/esm/PickerInput.mjs +220 -146
  1514. package/time-picker/lib/esm/TimePicker.mjs +229 -158
  1515. package/time-picker/lib/esm/index.mjs +7 -7
  1516. package/time-picker/lib/esm/style/time-picker.shadow.css +121 -0
  1517. package/time-picker/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1518. package/time-picker/lib/esm/translations/de.json.mjs +20 -14
  1519. package/time-picker/lib/esm/translations/en.json.mjs +20 -14
  1520. package/time-picker/lib/esm/translations/es.json.mjs +20 -14
  1521. package/time-picker/lib/esm/translations/fr.json.mjs +20 -14
  1522. package/time-picker/lib/esm/translations/it.json.mjs +20 -14
  1523. package/time-picker/lib/esm/translations/ja.json.mjs +20 -14
  1524. package/time-picker/lib/esm/translations/ko.json.mjs +20 -14
  1525. package/time-picker/lib/esm/translations/nl.json.mjs +20 -14
  1526. package/time-picker/lib/esm/translations/pl.json.mjs +20 -14
  1527. package/time-picker/lib/esm/translations/pt.json.mjs +20 -14
  1528. package/time-picker/lib/esm/translations/sv.json.mjs +20 -14
  1529. package/time-picker/lib/esm/translations/tr.json.mjs +20 -14
  1530. package/time-picker/lib/esm/translations/vi.json.mjs +20 -14
  1531. package/time-picker/lib/esm/translations/zh.json.mjs +20 -14
  1532. package/time-picker/package.json +1 -1
  1533. package/tooltip/lib/cjs/Tooltip.js +12 -10
  1534. package/tooltip/lib/cjs/Tooltip.js.map +1 -1
  1535. package/tooltip/lib/es6/Tooltip.js +12 -10
  1536. package/tooltip/lib/es6/Tooltip.js.map +1 -1
  1537. package/tooltip/lib/esm/Tooltip.mjs +228 -178
  1538. package/tooltip/lib/esm/index.mjs +4 -4
  1539. package/tooltip/lib/esm/style/tooltip.shadow.css +151 -0
  1540. package/tooltip/package.json +1 -1
  1541. package/typography/lib/cjs/Blockquote.js +7 -5
  1542. package/typography/lib/cjs/Blockquote.js.map +1 -1
  1543. package/typography/lib/cjs/Hint.js +10 -8
  1544. package/typography/lib/cjs/Hint.js.map +1 -1
  1545. package/typography/lib/cjs/List.js +8 -6
  1546. package/typography/lib/cjs/List.js.map +1 -1
  1547. package/typography/lib/cjs/Text.js +37 -35
  1548. package/typography/lib/cjs/Text.js.map +1 -1
  1549. package/typography/lib/es6/Blockquote.js +7 -5
  1550. package/typography/lib/es6/Blockquote.js.map +1 -1
  1551. package/typography/lib/es6/Hint.js +10 -8
  1552. package/typography/lib/es6/Hint.js.map +1 -1
  1553. package/typography/lib/es6/List.js +8 -6
  1554. package/typography/lib/es6/List.js.map +1 -1
  1555. package/typography/lib/es6/Text.js +37 -35
  1556. package/typography/lib/es6/Text.js.map +1 -1
  1557. package/typography/lib/esm/Blockquote.mjs +30 -23
  1558. package/typography/lib/esm/Hint.mjs +69 -57
  1559. package/typography/lib/esm/List.mjs +86 -68
  1560. package/typography/lib/esm/Text.mjs +67 -58
  1561. package/typography/lib/esm/index.mjs +8 -8
  1562. package/typography/lib/esm/style/blockquote.shadow.css +28 -0
  1563. package/typography/lib/esm/style/hint.shadow.css +51 -0
  1564. package/typography/lib/esm/style/list.shadow.css +28 -0
  1565. package/typography/lib/esm/style/text.shadow.css +118 -0
  1566. package/typography/package.json +1 -1
  1567. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +5 -3
  1568. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js.map +1 -1
  1569. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +5 -3
  1570. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs.map +1 -1
  1571. package/utils/lib/injectStyle.js +1 -1
  1572. package/utils/lib/injectStyle.mjs +1 -1
  1573. package/widget-empty/lib/cjs/WidgetEmpty.js +8 -6
  1574. package/widget-empty/lib/cjs/WidgetEmpty.js.map +1 -1
  1575. package/widget-empty/lib/es6/WidgetEmpty.js +8 -6
  1576. package/widget-empty/lib/es6/WidgetEmpty.js.map +1 -1
  1577. package/widget-empty/lib/esm/Error/index.mjs +32 -29
  1578. package/widget-empty/lib/esm/Error/translations/__intergalactic-dynamic-locales.mjs +32 -32
  1579. package/widget-empty/lib/esm/Error/translations/de.json.mjs +8 -6
  1580. package/widget-empty/lib/esm/Error/translations/en.json.mjs +8 -6
  1581. package/widget-empty/lib/esm/Error/translations/es.json.mjs +8 -6
  1582. package/widget-empty/lib/esm/Error/translations/fr.json.mjs +8 -6
  1583. package/widget-empty/lib/esm/Error/translations/it.json.mjs +8 -6
  1584. package/widget-empty/lib/esm/Error/translations/ja.json.mjs +8 -6
  1585. package/widget-empty/lib/esm/Error/translations/ko.json.mjs +8 -6
  1586. package/widget-empty/lib/esm/Error/translations/nl.json.mjs +8 -6
  1587. package/widget-empty/lib/esm/Error/translations/pl.json.mjs +8 -6
  1588. package/widget-empty/lib/esm/Error/translations/pt.json.mjs +8 -6
  1589. package/widget-empty/lib/esm/Error/translations/ru.json.mjs +8 -6
  1590. package/widget-empty/lib/esm/Error/translations/sv.json.mjs +8 -6
  1591. package/widget-empty/lib/esm/Error/translations/tr.json.mjs +8 -6
  1592. package/widget-empty/lib/esm/Error/translations/vi.json.mjs +8 -6
  1593. package/widget-empty/lib/esm/Error/translations/zh.json.mjs +8 -6
  1594. package/widget-empty/lib/esm/NoData/index.mjs +32 -29
  1595. package/widget-empty/lib/esm/NoData/translations/__intergalactic-dynamic-locales.mjs +32 -32
  1596. package/widget-empty/lib/esm/NoData/translations/de.json.mjs +8 -6
  1597. package/widget-empty/lib/esm/NoData/translations/en.json.mjs +8 -6
  1598. package/widget-empty/lib/esm/NoData/translations/es.json.mjs +8 -6
  1599. package/widget-empty/lib/esm/NoData/translations/fr.json.mjs +8 -6
  1600. package/widget-empty/lib/esm/NoData/translations/it.json.mjs +8 -6
  1601. package/widget-empty/lib/esm/NoData/translations/ja.json.mjs +8 -6
  1602. package/widget-empty/lib/esm/NoData/translations/ko.json.mjs +8 -6
  1603. package/widget-empty/lib/esm/NoData/translations/nl.json.mjs +8 -6
  1604. package/widget-empty/lib/esm/NoData/translations/pl.json.mjs +8 -6
  1605. package/widget-empty/lib/esm/NoData/translations/pt.json.mjs +8 -6
  1606. package/widget-empty/lib/esm/NoData/translations/ru.json.mjs +8 -6
  1607. package/widget-empty/lib/esm/NoData/translations/sv.json.mjs +8 -6
  1608. package/widget-empty/lib/esm/NoData/translations/tr.json.mjs +8 -6
  1609. package/widget-empty/lib/esm/NoData/translations/vi.json.mjs +8 -6
  1610. package/widget-empty/lib/esm/NoData/translations/zh.json.mjs +8 -6
  1611. package/widget-empty/lib/esm/WidgetEmpty.mjs +68 -53
  1612. package/widget-empty/lib/esm/index.mjs +7 -7
  1613. package/widget-empty/lib/esm/style/widget-empty.shadow.css +39 -0
  1614. package/widget-empty/package.json +1 -1
  1615. package/wizard/lib/cjs/Wizard.js +15 -13
  1616. package/wizard/lib/cjs/Wizard.js.map +1 -1
  1617. package/wizard/lib/es6/Wizard.js +15 -13
  1618. package/wizard/lib/es6/Wizard.js.map +1 -1
  1619. package/wizard/lib/esm/Wizard.mjs +241 -180
  1620. package/wizard/lib/esm/index.mjs +3 -3
  1621. package/wizard/lib/esm/style/wizard.shadow.css +103 -0
  1622. package/wizard/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  1623. package/wizard/lib/esm/translations/de.json.mjs +11 -8
  1624. package/wizard/lib/esm/translations/en.json.mjs +11 -8
  1625. package/wizard/lib/esm/translations/es.json.mjs +11 -8
  1626. package/wizard/lib/esm/translations/fr.json.mjs +11 -8
  1627. package/wizard/lib/esm/translations/it.json.mjs +11 -8
  1628. package/wizard/lib/esm/translations/ja.json.mjs +11 -8
  1629. package/wizard/lib/esm/translations/ko.json.mjs +11 -8
  1630. package/wizard/lib/esm/translations/nl.json.mjs +11 -8
  1631. package/wizard/lib/esm/translations/pl.json.mjs +11 -8
  1632. package/wizard/lib/esm/translations/pt.json.mjs +11 -8
  1633. package/wizard/lib/esm/translations/sv.json.mjs +11 -8
  1634. package/wizard/lib/esm/translations/tr.json.mjs +11 -8
  1635. package/wizard/lib/esm/translations/vi.json.mjs +11 -8
  1636. package/wizard/lib/esm/translations/zh.json.mjs +11 -8
  1637. package/wizard/package.json +1 -1
  1638. package/d3-chart/lib/esm/semcore/d3-chart/src/AnimatedClipPath.mjs +0 -49
  1639. package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +0 -170
  1640. package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +0 -333
  1641. package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +0 -160
  1642. package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +0 -177
  1643. package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +0 -416
  1644. package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +0 -326
  1645. package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +0 -99
  1646. package/d3-chart/lib/esm/semcore/d3-chart/src/GroupBar.mjs +0 -75
  1647. package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +0 -145
  1648. package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +0 -156
  1649. package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +0 -172
  1650. package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +0 -107
  1651. package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +0 -581
  1652. package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +0 -443
  1653. package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +0 -195
  1654. package/d3-chart/lib/esm/semcore/d3-chart/src/ResponsiveContainer.mjs +0 -76
  1655. package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +0 -158
  1656. package/d3-chart/lib/esm/semcore/d3-chart/src/StackBar.mjs +0 -139
  1657. package/d3-chart/lib/esm/semcore/d3-chart/src/StackedArea.mjs +0 -73
  1658. package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +0 -199
  1659. package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +0 -207
  1660. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/DataAccessibilityTable.mjs +0 -77
  1661. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +0 -86
  1662. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +0 -120
  1663. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/bezier.mjs +0 -23
  1664. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/focus.mjs +0 -32
  1665. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/hints.mjs +0 -98
  1666. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/insights.mjs +0 -523
  1667. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/intl.mjs +0 -14
  1668. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/locale.mjs +0 -26
  1669. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/serialize.mjs +0 -277
  1670. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/summarize.mjs +0 -13
  1671. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/__intergalactic-dynamic-locales.mjs +0 -33
  1672. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/de.json.mjs +0 -11
  1673. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/en.json.mjs +0 -11
  1674. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/es.json.mjs +0 -11
  1675. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/fr.json.mjs +0 -11
  1676. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/it.json.mjs +0 -11
  1677. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/ja.json.mjs +0 -11
  1678. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/ko.json.mjs +0 -11
  1679. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/nl.json.mjs +0 -11
  1680. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/pl.json.mjs +0 -11
  1681. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/pt.json.mjs +0 -11
  1682. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/sv.json.mjs +0 -11
  1683. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/tr.json.mjs +0 -11
  1684. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/vi.json.mjs +0 -11
  1685. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/module/zh.json.mjs +0 -11
  1686. package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/translations/view/__intergalactic-dynamic-locales.mjs +0 -33
  1687. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/AbstractChart.mjs +0 -292
  1688. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/AreaChart.mjs +0 -120
  1689. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/BarChart.mjs +0 -187
  1690. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/BubbleChart.mjs +0 -118
  1691. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/CigaretteChart.mjs +0 -256
  1692. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/CompactHorizontalBarChart.mjs +0 -107
  1693. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/DonutChart.mjs +0 -97
  1694. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/HistogramChart.mjs +0 -138
  1695. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/LineChart.mjs +0 -111
  1696. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/RadarChart.mjs +0 -103
  1697. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/ScatterPlotChart.mjs +0 -121
  1698. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/VennChart.mjs +0 -119
  1699. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Chart/index.mjs +0 -27
  1700. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/BaseLegend.mjs +0 -80
  1701. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +0 -77
  1702. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +0 -203
  1703. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.type.mjs +0 -4
  1704. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +0 -79
  1705. package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/index.mjs +0 -5
  1706. package/d3-chart/lib/esm/semcore/d3-chart/src/component/Cigarette/Cigarette.mjs +0 -96
  1707. package/d3-chart/lib/esm/semcore/d3-chart/src/component/StackGroupBar/StackGroupBar.mjs +0 -104
  1708. package/d3-chart/lib/esm/semcore/d3-chart/src/createElement.mjs +0 -85
  1709. package/d3-chart/lib/esm/semcore/d3-chart/src/index.mjs +0 -70
  1710. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/__intergalactic-dynamic-locales.mjs +0 -31
  1711. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/en.json.mjs +0 -10
  1712. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/es.json.mjs +0 -9
  1713. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/fr.json.mjs +0 -9
  1714. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/it.json.mjs +0 -9
  1715. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/ja.json.mjs +0 -9
  1716. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/ko.json.mjs +0 -9
  1717. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/nl.json.mjs +0 -9
  1718. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/pl.json.mjs +0 -9
  1719. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/pt.json.mjs +0 -9
  1720. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/sv.json.mjs +0 -9
  1721. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/tr.json.mjs +0 -9
  1722. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/vi.json.mjs +0 -9
  1723. package/d3-chart/lib/esm/semcore/d3-chart/src/translations/zh.json.mjs +0 -9
  1724. package/d3-chart/lib/esm/semcore/d3-chart/src/utils.mjs +0 -156
@@ -1,54 +1,86 @@
1
- import ae from "@babel/runtime/helpers/esm/objectSpread2";
2
- import ne from "@babel/runtime/helpers/esm/createForOfIteratorHelper";
3
- import W from "@babel/runtime/helpers/esm/toConsumableArray";
4
- import le from "@babel/runtime/helpers/esm/classCallCheck";
5
- import se from "@babel/runtime/helpers/esm/createClass";
6
- import x from "@babel/runtime/helpers/esm/assertThisInitialized";
7
- import oe from "@babel/runtime/helpers/esm/inherits";
8
- import de from "@babel/runtime/helpers/esm/createSuper";
9
- import E from "@babel/runtime/helpers/esm/defineProperty";
10
- import { sstyled as ve } from 'intergalactic/utils/lib/core/index';
11
- import { sstyled as ue, assignProps as ce, Component as he } from 'intergalactic/core';
12
- import O from "react";
13
- import { Box as ge } from 'intergalactic/flex-box';
14
- import $ from 'intergalactic/tooltip';
15
- import { extractAriaProps as ee } from 'intergalactic/utils/lib/ariaProps';
16
- import pe from 'intergalactic/utils/lib/uniqueID';
17
- import fe from "dompurify";
18
- var me = (
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _createForOfIteratorHelper from "@babel/runtime/helpers/esm/createForOfIteratorHelper";
3
+ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
4
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
5
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
6
+ import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
7
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
8
+ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
9
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
10
+ import { sstyled } from 'intergalactic/utils/lib/core/index';
11
+ import { sstyled as sstyled$1, assignProps, Component } from 'intergalactic/core';
12
+ import React from "react";
13
+ import { Box } from 'intergalactic/flex-box';
14
+ import Tooltip from 'intergalactic/tooltip';
15
+ import { extractAriaProps } from 'intergalactic/utils/lib/ariaProps';
16
+ import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
17
+ import DOMPurify from "dompurify";
18
+ /*!__reshadow-styles__:"./inputField.shadow.css"*/
19
+ var style = (
19
20
  /*__reshadow_css_start__*/
20
- (ve.insert(
21
+ (sstyled.insert(
21
22
  /*__inner_css_start__*/
22
- '.___SInputField_eiisc_gg_>div{box-sizing:content-box;outline:0;border-radius:var(--intergalactic-control-rounded, 6px);border-color:var(--intergalactic-border-primary, #c4c7cf);border-style:solid;border-width:1px;overflow:auto;position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);word-wrap:break-word;word-break:break-word;font-family:inherit}.___SInputField_eiisc_gg_>div:empty::before{content:"1. "attr(placeholder);color:var(--intergalactic-text-placeholder, #8a8e9b);position:absolute}.___SInputField_eiisc_gg_>div:nth-child(even){color:red;counter-increment:row;margin-bottom:var(--intergalactic-spacing-1x, 4px);position:relative;word-break:break-all}.___SInputField_eiisc_gg_>div:nth-child(even)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SInputField_eiisc_gg_>div>p{counter-increment:row;margin:0 0 var(--intergalactic-spacing-1x, 4px)0;position:relative;word-break:break-all;white-space:pre-wrap;padding:0 var(--intergalactic-spacing-5x, 20px)0 var(--intergalactic-spacing-4x, 16px)}.___SInputField_eiisc_gg_>div>p:last-of-type{margin-bottom:0}.___SInputField_eiisc_gg_>div>p:not(:empty)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px);position:absolute;left:0}.___SInputField_eiisc_gg_>div>p[data-over-max-rows=true]{background-color:var(--intergalactic-bg-secondary-critical, #fff0f7)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+10))>p{padding-left:var(--intergalactic-spacing-6x, 24px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+10))>p:nth-child(-n+9)::before{padding-left:var(--intergalactic-spacing-2x, 8px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+100))>p{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+100))>p:nth-child(-n+9)::before{padding-left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+10)::before{padding-left:var(--intergalactic-spacing-2x, 8px)}.___SInputField_eiisc_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+100)::before{padding-left:0}.___SInputField_eiisc_gg_.__showErrors_eiisc_gg_>div[aria-invalid]>p[aria-invalid]:after{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZDEwMDJmIj48cGF0aCBkPSJNNyA2aDJ2NEg3VjZabTIgN3YtMkg3djJoMloiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYuMTUyIDEuMTcyYy43MTktMS41NjMgMi45NzctMS41NjMgMy42OTYgMGw2LjA0MyAxMy4xNDFjLjM2My43OTEtLjIyNSAxLjY4Ny0xLjEwOSAxLjY4N0gxLjIxOGMtLjg4NCAwLTEuNDcyLS44OTYtMS4xMDktMS42ODdMNi4xNTIgMS4xNzJabTcuMzc0IDEyLjgzN0w4IDEuOTkgMi40NzQgMTQuMDFoMTEuMDUyWiIvPjwvc3ZnPgo=\\ );position:absolute;right:0;top:var(--intergalactic-spacing-05x, 2px)}.___SInputField_eiisc_gg_._size_m_eiisc_gg_>div{padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);min-height:calc(var(--minRows_eiisc)*20px);max-height:calc((var(--maxRows_eiisc) - 1)*(20px + var(--intergalactic-spacing-1x, 4px)) + 18px)}.___SInputField_eiisc_gg_._size_m_eiisc_gg_>div:empty{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_eiisc_gg_._size_l_eiisc_gg_>div:empty::before,.___SInputField_eiisc_gg_._size_m_eiisc_gg_>div:empty::before{left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_eiisc_gg_._size_l_eiisc_gg_>div{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);min-height:calc(var(--minRows_eiisc)*24px);max-height:calc((var(--maxRows_eiisc) - 1)*(24px + var(--intergalactic-spacing-1x, 4px)) + 20px)}.___SInputField_eiisc_gg_._size_l_eiisc_gg_>div:empty{padding-left:calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-05x, 2px))}.___SInputField_eiisc_gg_._state_normal_eiisc_gg_:not(.__disabled_eiisc_gg_)>div:focus:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));border-color:var(--intergalactic-border-info-active, #006dca)}.___SInputField_eiisc_gg_._state_valid_eiisc_gg_>div{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInputField_eiisc_gg_._state_valid_eiisc_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInputField_eiisc_gg_._state_invalid_eiisc_gg_>div{border-color:var(--intergalactic-border-critical-active, #d1002f);background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px);background-repeat:repeat-y}.___SInputField_eiisc_gg_._state_invalid_eiisc_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInputField_eiisc_gg_.__readonly_eiisc_gg_>div{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SInputField_eiisc_gg_.__disabled_eiisc_gg_>div{opacity:var(--intergalactic-disabled-opacity, 0.3)}',
23
- "eiisc_gg_"
24
- ), {
25
- __SInputField: "___SInputField_eiisc_gg_",
26
- _showErrors: "__showErrors_eiisc_gg_",
27
- _readonly: "__readonly_eiisc_gg_",
28
- _disabled: "__disabled_eiisc_gg_",
29
- _size_m: "_size_m_eiisc_gg_",
30
- "--minRows": "--minRows_eiisc",
31
- "--maxRows": "--maxRows_eiisc",
32
- _size_l: "_size_l_eiisc_gg_",
33
- _state_normal: "_state_normal_eiisc_gg_",
34
- _state_valid: "_state_valid_eiisc_gg_",
35
- _state_invalid: "_state_invalid_eiisc_gg_"
23
+ '.___SInputField_1b160_gg_>div{box-sizing:content-box;outline:0;border-radius:var(--intergalactic-control-rounded, 6px);border-color:var(--intergalactic-border-primary, #c4c7cf);border-style:solid;border-width:1px;overflow:auto;position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);word-wrap:break-word;word-break:break-word;font-family:inherit}.___SInputField_1b160_gg_>div:empty::before{content:"1. "attr(placeholder);color:var(--intergalactic-text-placeholder, #8a8e9b);position:absolute}.___SInputField_1b160_gg_>div:nth-child(even){color:red;counter-increment:row;margin-bottom:var(--intergalactic-spacing-1x, 4px);position:relative;word-break:break-all}.___SInputField_1b160_gg_>div:nth-child(even)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SInputField_1b160_gg_>div>p{counter-increment:row;margin:0 0 var(--intergalactic-spacing-1x, 4px)0;position:relative;word-break:break-all;white-space:pre-wrap;padding:0 var(--intergalactic-spacing-5x, 20px)0 var(--intergalactic-spacing-4x, 16px)}.___SInputField_1b160_gg_>div>p:last-of-type{margin-bottom:0}.___SInputField_1b160_gg_>div>p:not(:empty)::before{content:counter(row)".";display:inline-block;white-space:nowrap;text-align:right;color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-1x, 4px);position:absolute;left:0}.___SInputField_1b160_gg_>div>p[data-over-max-rows=true]{background-color:var(--intergalactic-bg-secondary-critical, #fff0f7)}.___SInputField_1b160_gg_>div:has(p:nth-child(n+10))>p{padding-left:var(--intergalactic-spacing-6x, 24px)}.___SInputField_1b160_gg_>div:has(p:nth-child(n+10))>p:nth-child(-n+9)::before{padding-left:var(--intergalactic-spacing-2x, 8px)}.___SInputField_1b160_gg_>div:has(p:nth-child(n+100))>p{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_1b160_gg_>div:has(p:nth-child(n+100))>p:nth-child(-n+9)::before{padding-left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_1b160_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+10)::before{padding-left:var(--intergalactic-spacing-2x, 8px)}.___SInputField_1b160_gg_>div:has(p:nth-child(n+100))>p:nth-child(n+100)::before{padding-left:0}.___SInputField_1b160_gg_.__showErrors_1b160_gg_>div[aria-invalid]>p[aria-invalid]:after{content:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZDEwMDJmIj48cGF0aCBkPSJNNyA2aDJ2NEg3VjZabTIgN3YtMkg3djJoMloiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYuMTUyIDEuMTcyYy43MTktMS41NjMgMi45NzctMS41NjMgMy42OTYgMGw2LjA0MyAxMy4xNDFjLjM2My43OTEtLjIyNSAxLjY4Ny0xLjEwOSAxLjY4N0gxLjIxOGMtLjg4NCAwLTEuNDcyLS44OTYtMS4xMDktMS42ODdMNi4xNTIgMS4xNzJabTcuMzc0IDEyLjgzN0w4IDEuOTkgMi40NzQgMTQuMDFoMTEuMDUyWiIvPjwvc3ZnPgo=\\ );position:absolute;right:0;top:var(--intergalactic-spacing-05x, 2px)}.___SInputField_1b160_gg_._size_m_1b160_gg_>div{padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);min-height:calc(var(--minRows_1b160)*20px);max-height:calc((var(--maxRows_1b160) - 1)*(20px + var(--intergalactic-spacing-1x, 4px)) + 18px)}.___SInputField_1b160_gg_._size_m_1b160_gg_>div:empty{padding-left:var(--intergalactic-spacing-8x, 32px)}.___SInputField_1b160_gg_._size_l_1b160_gg_>div:empty::before,.___SInputField_1b160_gg_._size_m_1b160_gg_>div:empty::before{left:var(--intergalactic-spacing-4x, 16px)}.___SInputField_1b160_gg_._size_l_1b160_gg_>div{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);min-height:calc(var(--minRows_1b160)*24px);max-height:calc((var(--maxRows_1b160) - 1)*(24px + var(--intergalactic-spacing-1x, 4px)) + 20px)}.___SInputField_1b160_gg_._size_l_1b160_gg_>div:empty{padding-left:calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-05x, 2px))}.___SInputField_1b160_gg_._state_normal_1b160_gg_:not(.__disabled_1b160_gg_)>div:focus:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));border-color:var(--intergalactic-border-info-active, #006dca)}.___SInputField_1b160_gg_._state_valid_1b160_gg_>div{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInputField_1b160_gg_._state_valid_1b160_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInputField_1b160_gg_._state_invalid_1b160_gg_>div{border-color:var(--intergalactic-border-critical-active, #d1002f);background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px);background-repeat:repeat-y}.___SInputField_1b160_gg_._state_invalid_1b160_gg_>div:focus{box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInputField_1b160_gg_.__readonly_1b160_gg_>div{background-color:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SInputField_1b160_gg_.__disabled_1b160_gg_>div{opacity:var(--intergalactic-disabled-opacity, 0.3)}',
24
+ /*__inner_css_end__*/
25
+ "1b160_gg_"
26
+ ), /*__reshadow_css_end__*/
27
+ {
28
+ "__SInputField": "___SInputField_1b160_gg_",
29
+ "_showErrors": "__showErrors_1b160_gg_",
30
+ "_readonly": "__readonly_1b160_gg_",
31
+ "_disabled": "__disabled_1b160_gg_",
32
+ "_size_m": "_size_m_1b160_gg_",
33
+ "--minRows": "--minRows_1b160",
34
+ "--maxRows": "--maxRows_1b160",
35
+ "_size_l": "_size_l_1b160_gg_",
36
+ "_state_normal": "_state_normal_1b160_gg_",
37
+ "_state_valid": "_state_valid_1b160_gg_",
38
+ "_state_invalid": "_state_invalid_1b160_gg_"
36
39
  })
37
- ), Y = /* @__PURE__ */ function(ie) {
38
- oe(K, ie);
39
- var te = de(K);
40
- function K(s) {
41
- var e;
42
- return le(this, K), e = te.call(this, s), E(x(e), "delimiter", `
43
- `), E(x(e), "skipEmptyLines", !0), E(x(e), "emptyLineValue", ""), E(x(e), "spaceLineValue", " "), E(x(e), "containerRef", /* @__PURE__ */ O.createRef()), E(x(e), "textarea", void 0), E(x(e), "popper", null), E(x(e), "setPopperTrigger", null), E(x(e), "errorByInteraction", null), E(x(e), "changeTriggerTimeout", 0), E(x(e), "isScrolling", !1), E(x(e), "scrollingTimeout", 0), E(x(e), "toggleErrorsPopperTimeout", 0), E(x(e), "isFocusing", !1), E(x(e), "linesCountTimeout", 0), E(x(e), "state", {
44
- visibleErrorPopper: !1,
40
+ );
41
+ var InputField = /* @__PURE__ */ function(_Component) {
42
+ _inherits(InputField2, _Component);
43
+ var _super = _createSuper(InputField2);
44
+ function InputField2(props) {
45
+ var _this;
46
+ _classCallCheck(this, InputField2);
47
+ _this = _super.call(this, props);
48
+ _defineProperty(_assertThisInitialized(_this), "delimiter", "\n");
49
+ _defineProperty(_assertThisInitialized(_this), "skipEmptyLines", true);
50
+ _defineProperty(_assertThisInitialized(_this), "emptyLineValue", "");
51
+ _defineProperty(_assertThisInitialized(_this), "spaceLineValue", " ");
52
+ _defineProperty(_assertThisInitialized(_this), "containerRef", /* @__PURE__ */ React.createRef());
53
+ _defineProperty(_assertThisInitialized(_this), "textarea", void 0);
54
+ _defineProperty(_assertThisInitialized(_this), "popper", null);
55
+ _defineProperty(_assertThisInitialized(_this), "setPopperTrigger", null);
56
+ _defineProperty(_assertThisInitialized(_this), "errorByInteraction", null);
57
+ _defineProperty(_assertThisInitialized(_this), "changeTriggerTimeout", 0);
58
+ _defineProperty(_assertThisInitialized(_this), "isScrolling", false);
59
+ _defineProperty(_assertThisInitialized(_this), "scrollingTimeout", 0);
60
+ _defineProperty(_assertThisInitialized(_this), "toggleErrorsPopperTimeout", 0);
61
+ _defineProperty(_assertThisInitialized(_this), "isFocusing", false);
62
+ _defineProperty(_assertThisInitialized(_this), "linesCountTimeout", 0);
63
+ _defineProperty(_assertThisInitialized(_this), "state", {
64
+ visibleErrorPopper: false,
45
65
  keyboardLineIndex: -1,
46
66
  mouseLineIndex: -1
47
- }), e.handlePaste = e.handlePaste.bind(x(e)), e.handleChange = e.handleChange.bind(x(e)), e.handleFocus = e.handleFocus.bind(x(e)), e.handleBlur = e.handleBlur.bind(x(e)), e.handleKeyDown = e.handleKeyDown.bind(x(e)), e.handleMouseDown = e.handleMouseDown.bind(x(e)), e.handleMouseMove = e.handleMouseMove.bind(x(e)), e.handleMouseLeave = e.handleMouseLeave.bind(x(e)), e.handleScroll = e.handleScroll.bind(x(e)), e.handleSelectAll = e.handleSelectAll.bind(x(e)), e.textarea = e.createContentEditableElement(s), e;
67
+ });
68
+ _this.handlePaste = _this.handlePaste.bind(_assertThisInitialized(_this));
69
+ _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
70
+ _this.handleFocus = _this.handleFocus.bind(_assertThisInitialized(_this));
71
+ _this.handleBlur = _this.handleBlur.bind(_assertThisInitialized(_this));
72
+ _this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_this));
73
+ _this.handleMouseDown = _this.handleMouseDown.bind(_assertThisInitialized(_this));
74
+ _this.handleMouseMove = _this.handleMouseMove.bind(_assertThisInitialized(_this));
75
+ _this.handleMouseLeave = _this.handleMouseLeave.bind(_assertThisInitialized(_this));
76
+ _this.handleScroll = _this.handleScroll.bind(_assertThisInitialized(_this));
77
+ _this.handleSelectAll = _this.handleSelectAll.bind(_assertThisInitialized(_this));
78
+ _this.textarea = _this.createContentEditableElement(props);
79
+ return _this;
48
80
  }
49
- return se(K, [{
81
+ _createClass(InputField2, [{
50
82
  key: "uncontrolledProps",
51
- value: function() {
83
+ value: function uncontrolledProps() {
52
84
  return {
53
85
  value: null,
54
86
  linesCount: null,
@@ -57,583 +89,994 @@ var me = (
57
89
  }
58
90
  }, {
59
91
  key: "componentDidMount",
60
- value: function() {
61
- var e;
62
- (e = this.containerRef.current) === null || e === void 0 || e.append(this.textarea), this.handleValueOutChange();
92
+ value: function componentDidMount() {
93
+ var _this$containerRef$cu;
94
+ (_this$containerRef$cu = this.containerRef.current) === null || _this$containerRef$cu === void 0 ? void 0 : _this$containerRef$cu.append(this.textarea);
95
+ this.handleValueOutChange();
63
96
  }
64
97
  }, {
65
98
  key: "componentDidUpdate",
66
- value: function(e, i) {
67
- var r = this, t = this.props, a = t.value, n = t.errors, l = t.errorIndex, d = t.showErrors, g = t.disabled, b = t.readonly, h = t.highlightErrorIndex, u = t.lineProcessing, o = t["aria-describedby"], y = o === void 0 ? "" : o;
68
- if (e.value !== a) {
69
- var v = this.getValues().join(this.delimiter);
70
- (typeof a == "string" ? a !== v : a.join(this.delimiter) !== v) && this.handleValueOutChange();
71
- }
72
- (e.showErrors !== d || e.errors.length !== n.length) && (this.toggleAriaInvalid(d, n.length), d === !1 && this.textarea.setAttribute("aria-describedby", y)), e.errorIndex !== l && h && this.handleChangeErrorIndex(l), (e.disabled !== g || e.readonly !== b) && (this.isDisabled ? (this.textarea.setAttribute("contenteditable", "false"), this.removeEventListeners(this.textarea)) : (this.textarea.setAttribute("contenteditable", "true"), this.addEventListeners(this.textarea)), g ? this.textarea.setAttribute("tabindex", "-1") : this.textarea.setAttribute("tabindex", "0"));
73
- var p = this.state.keyboardLineIndex;
74
- if (i.keyboardLineIndex !== -1 && i.keyboardLineIndex !== p) {
75
- if (u) {
76
- var f, I = this.getValues(), L = u((f = I[i.keyboardLineIndex]) !== null && f !== void 0 ? f : "", I), k = document.createTextNode(L), M = this.textarea.childNodes.item(i.keyboardLineIndex);
77
- M instanceof HTMLParagraphElement && (L === "" ? M.innerHTML = this.emptyLineValue : M.replaceChild(k, M.childNodes.item(0))), this.validateLine(M), setTimeout(function() {
78
- var P = r.textarea.childNodes.item(p);
79
- P && r.setErrorIndex(P);
99
+ value: function componentDidUpdate(prevProps, prevState) {
100
+ var _this2 = this;
101
+ var _this$props = this.props, value = _this$props.value, errors = _this$props.errors, errorIndex = _this$props.errorIndex, showErrors = _this$props.showErrors, disabled = _this$props.disabled, readonly = _this$props.readonly, highlightErrorIndex = _this$props.highlightErrorIndex, lineProcessing = _this$props.lineProcessing, _this$props$ariaDesc = _this$props["aria-describedby"], ariaDescribedby = _this$props$ariaDesc === void 0 ? "" : _this$props$ariaDesc;
102
+ if (prevProps.value !== value) {
103
+ var currentValue = this.getValues().join(this.delimiter);
104
+ if (typeof value === "string" ? value !== currentValue : value.join(this.delimiter) !== currentValue) {
105
+ this.handleValueOutChange();
106
+ }
107
+ }
108
+ if (prevProps.showErrors !== showErrors || prevProps.errors.length !== errors.length) {
109
+ this.toggleAriaInvalid(showErrors, errors.length);
110
+ if (showErrors === false) {
111
+ this.textarea.setAttribute("aria-describedby", ariaDescribedby);
112
+ }
113
+ }
114
+ if (prevProps.errorIndex !== errorIndex && highlightErrorIndex) {
115
+ this.handleChangeErrorIndex(errorIndex);
116
+ }
117
+ if (prevProps.disabled !== disabled || prevProps.readonly !== readonly) {
118
+ if (this.isDisabled) {
119
+ this.textarea.setAttribute("contenteditable", "false");
120
+ this.removeEventListeners(this.textarea);
121
+ } else {
122
+ this.textarea.setAttribute("contenteditable", "true");
123
+ this.addEventListeners(this.textarea);
124
+ }
125
+ if (disabled) {
126
+ this.textarea.setAttribute("tabindex", "-1");
127
+ } else {
128
+ this.textarea.setAttribute("tabindex", "0");
129
+ }
130
+ }
131
+ var keyboardLineIndex = this.state.keyboardLineIndex;
132
+ if (prevState.keyboardLineIndex !== -1 && prevState.keyboardLineIndex !== keyboardLineIndex) {
133
+ if (lineProcessing) {
134
+ var _lines$prevState$keyb;
135
+ var lines = this.getValues();
136
+ var newValue = lineProcessing((_lines$prevState$keyb = lines[prevState.keyboardLineIndex]) !== null && _lines$prevState$keyb !== void 0 ? _lines$prevState$keyb : "", lines);
137
+ var newValueTextNode = document.createTextNode(newValue);
138
+ var paragraph = this.textarea.childNodes.item(prevState.keyboardLineIndex);
139
+ if (paragraph instanceof HTMLParagraphElement) {
140
+ if (newValue === "") {
141
+ paragraph.innerHTML = this.emptyLineValue;
142
+ } else {
143
+ paragraph.replaceChild(newValueTextNode, paragraph.childNodes.item(0));
144
+ }
145
+ }
146
+ this.validateLine(paragraph);
147
+ setTimeout(function() {
148
+ var newNode = _this2.textarea.childNodes.item(keyboardLineIndex);
149
+ if (newNode) {
150
+ _this2.setErrorIndex(newNode);
151
+ }
80
152
  }, 0);
81
153
  }
82
- d || this.recalculateErrors(), this.recalculateLinesCount(), this.asProps.onChangeLineIndex(p);
154
+ if (!showErrors) {
155
+ this.recalculateErrors();
156
+ }
157
+ this.recalculateLinesCount();
158
+ this.asProps.onChangeLineIndex(keyboardLineIndex);
83
159
  }
84
160
  }
85
161
  }, {
86
162
  key: "componentWillUnmount",
87
- value: function() {
163
+ value: function componentWillUnmount() {
88
164
  this.removeEventListeners(this.textarea);
89
165
  }
90
166
  }, {
91
167
  key: "isDisabled",
92
- get: function() {
93
- var e = this.asProps, i = e.disabled, r = e.readonly;
94
- return !!(i || r);
168
+ get: function get() {
169
+ var _this$asProps = this.asProps, disabled = _this$asProps.disabled, readonly = _this$asProps.readonly;
170
+ return Boolean(disabled || readonly);
95
171
  }
96
172
  }, {
97
173
  key: "popperDescribedId",
98
- get: function() {
99
- var e = this.asProps.uid;
100
- return "bulk-textarea-".concat(e, "-popper-describedby");
174
+ get: function get() {
175
+ var uid = this.asProps.uid;
176
+ return "bulk-textarea-".concat(uid, "-popper-describedby");
101
177
  }
102
178
  }, {
103
179
  key: "errorMessage",
104
- get: function() {
105
- var e, i, r, t = this.asProps, a = t.errors, n = t.errorIndex, l = t.commonErrorMessage, d = t.prevError, g = this.state, b = g.mouseLineIndex, h = g.keyboardLineIndex, u = this.errorByInteraction === "keyboard" ? h : this.errorByInteraction === "mouse" ? b : -1, o = a[n];
106
- u !== -1 && (o = a.find(function(p) {
107
- return (p == null ? void 0 : p.lineIndex) === u;
108
- }));
109
- var y = a.length === 0 && !d ? null : (e = (i = o) === null || i === void 0 ? void 0 : i.errorMessage) !== null && e !== void 0 ? e : l === "" || a.length === 0 ? d == null ? void 0 : d.errorMessage : l, v = !((r = o) !== null && r !== void 0 && r.errorMessage) && (l === "" || a.length === 0 ? !(d != null && d.errorMessage) : !0);
180
+ get: function get() {
181
+ var _errorItem$errorMessa, _errorItem, _errorItem2;
182
+ var _this$asProps2 = this.asProps, errors = _this$asProps2.errors, errorIndex = _this$asProps2.errorIndex, commonErrorMessage = _this$asProps2.commonErrorMessage, prevError = _this$asProps2.prevError;
183
+ var _this$state = this.state, mouseLineIndex = _this$state.mouseLineIndex, keyboardLineIndex = _this$state.keyboardLineIndex;
184
+ var currentLineIndex = this.errorByInteraction === "keyboard" ? keyboardLineIndex : this.errorByInteraction === "mouse" ? mouseLineIndex : -1;
185
+ var errorItem = errors[errorIndex];
186
+ if (currentLineIndex !== -1) {
187
+ errorItem = errors.find(function(e) {
188
+ return (e === null || e === void 0 ? void 0 : e.lineIndex) === currentLineIndex;
189
+ });
190
+ }
191
+ var errorMessage = errors.length === 0 && !prevError ? null : (_errorItem$errorMessa = (_errorItem = errorItem) === null || _errorItem === void 0 ? void 0 : _errorItem.errorMessage) !== null && _errorItem$errorMessa !== void 0 ? _errorItem$errorMessa : commonErrorMessage === "" || errors.length === 0 ? prevError === null || prevError === void 0 ? void 0 : prevError.errorMessage : commonErrorMessage;
192
+ var isCommonError = !((_errorItem2 = errorItem) !== null && _errorItem2 !== void 0 && _errorItem2.errorMessage) && (commonErrorMessage === "" || errors.length === 0 ? !(prevError !== null && prevError !== void 0 && prevError.errorMessage) : true);
110
193
  return {
111
- errorMessage: y,
112
- isCommonError: v
194
+ errorMessage,
195
+ isCommonError
113
196
  };
114
197
  }
115
198
  }, {
116
199
  key: "createContentEditableElement",
117
- value: function(e) {
118
- var i = document.createElement("div");
119
- i.setAttribute("contentEditable", e.disabled || e.readonly ? "false" : "true"), i.setAttribute("role", "textbox"), i.setAttribute("classname", "editable"), e.id && i.setAttribute("id", e.id), e.placeholder && i.setAttribute("placeholder", e.placeholder);
120
- var r = ee(e), t = r.extractedAriaProps;
121
- for (var a in t) {
122
- var n = e[a];
123
- n && i.setAttribute(a, n);
200
+ value: function createContentEditableElement(props) {
201
+ var textarea = document.createElement("div");
202
+ textarea.setAttribute("contentEditable", props.disabled || props.readonly ? "false" : "true");
203
+ textarea.setAttribute("role", "textbox");
204
+ textarea.setAttribute("classname", "editable");
205
+ if (props.id) {
206
+ textarea.setAttribute("id", props.id);
207
+ }
208
+ if (props.placeholder) {
209
+ textarea.setAttribute("placeholder", props.placeholder);
210
+ }
211
+ var _extractAriaProps = extractAriaProps(props), extractedAriaProps = _extractAriaProps.extractedAriaProps;
212
+ for (var key in extractedAriaProps) {
213
+ var ariaProp = props[key];
214
+ if (ariaProp) {
215
+ textarea.setAttribute(key, ariaProp);
216
+ }
217
+ }
218
+ if (!props.disabled) {
219
+ textarea.setAttribute("tabIndex", "0");
220
+ } else {
221
+ textarea.setAttribute("tabIndex", "-1");
222
+ }
223
+ if (!props.disabled && !props.readonly) {
224
+ this.addEventListeners(textarea);
225
+ } else {
226
+ textarea.addEventListener("keydown", this.handleSelectAll.bind(this));
124
227
  }
125
- return e.disabled ? i.setAttribute("tabIndex", "-1") : i.setAttribute("tabIndex", "0"), !e.disabled && !e.readonly ? this.addEventListeners(i) : i.addEventListener("keydown", this.handleSelectAll.bind(this)), i;
228
+ return textarea;
126
229
  }
127
230
  }, {
128
231
  key: "handleValueOutChange",
129
- value: function() {
130
- var e = this.props, i = e.value, r = e.onChangeLinesCount;
131
- if (i === "")
132
- this.textarea.textContent = "", r(0);
133
- else {
134
- var t, a = this.prepareNodesForPaste(i);
135
- (t = this.textarea).replaceChildren.apply(t, W(a)), this.recalculateLinesCount(), this.recalculateErrors();
232
+ value: function handleValueOutChange() {
233
+ var _this$props2 = this.props, value = _this$props2.value, onChangeLinesCount = _this$props2.onChangeLinesCount;
234
+ if (value === "") {
235
+ this.textarea.textContent = "";
236
+ onChangeLinesCount(0);
237
+ } else {
238
+ var _this$textarea;
239
+ var listOfNodes = this.prepareNodesForPaste(value);
240
+ (_this$textarea = this.textarea).replaceChildren.apply(_this$textarea, _toConsumableArray(listOfNodes));
241
+ this.recalculateLinesCount();
242
+ this.recalculateErrors();
136
243
  }
137
244
  }
138
245
  }, {
139
246
  key: "handleScroll",
140
- value: function() {
141
- var e = this;
142
- this.scrollingTimeout && clearTimeout(this.scrollingTimeout), this.isScrolling = !0, this.scrollingTimeout = window.setTimeout(function() {
143
- e.isScrolling = !1;
247
+ value: function handleScroll() {
248
+ var _this3 = this;
249
+ if (this.scrollingTimeout) {
250
+ clearTimeout(this.scrollingTimeout);
251
+ }
252
+ this.isScrolling = true;
253
+ this.scrollingTimeout = window.setTimeout(function() {
254
+ _this3.isScrolling = false;
144
255
  }, 50);
145
256
  }
146
257
  }, {
147
258
  key: "handleMouseDown",
148
- value: function(e) {
149
- var i = e.target;
150
- i instanceof HTMLElement && (this.toggleErrorsPopper("keyboardLineIndex", i), this.setErrorIndex(i));
259
+ value: function handleMouseDown(event) {
260
+ var element = event.target;
261
+ if (element instanceof HTMLElement) {
262
+ this.toggleErrorsPopper("keyboardLineIndex", element);
263
+ this.setErrorIndex(element);
264
+ }
151
265
  }
152
266
  }, {
153
267
  key: "handleMouseMove",
154
- value: function(e) {
268
+ value: function handleMouseMove(event) {
155
269
  this.errorByInteraction = "mouse";
156
- var i = e.target;
157
- i !== this.textarea && (this.isFocusing || i instanceof HTMLElement && i.getAttribute("aria-invalid") === "true" ? this.toggleErrorsPopper("mouseLineIndex", i) : this.setState({
158
- visibleErrorPopper: !1
159
- }));
270
+ var element = event.target;
271
+ if (element !== this.textarea) {
272
+ if (this.isFocusing || element instanceof HTMLElement && element.getAttribute("aria-invalid") === "true") {
273
+ this.toggleErrorsPopper("mouseLineIndex", element);
274
+ } else {
275
+ this.setState({
276
+ visibleErrorPopper: false
277
+ });
278
+ }
279
+ }
160
280
  }
161
281
  }, {
162
282
  key: "handleMouseLeave",
163
- value: function(e) {
164
- if (this.changeTriggerTimeout && clearTimeout(this.changeTriggerTimeout), this.isFocusing) {
283
+ value: function handleMouseLeave(event) {
284
+ if (this.changeTriggerTimeout) {
285
+ clearTimeout(this.changeTriggerTimeout);
286
+ }
287
+ if (this.isFocusing) {
165
288
  this.errorByInteraction = "keyboard";
166
- var i = this.getNodeFromSelection();
167
- this.toggleErrorsPopper("keyboardLineIndex", i, 0), this.setState({
289
+ var rowNode = this.getNodeFromSelection();
290
+ this.toggleErrorsPopper("keyboardLineIndex", rowNode, 0);
291
+ this.setState({
168
292
  mouseLineIndex: -1
169
293
  });
170
- } else
294
+ } else {
171
295
  this.setState({
172
- visibleErrorPopper: !1
296
+ visibleErrorPopper: false
173
297
  });
298
+ }
174
299
  }
175
300
  }, {
176
301
  key: "handlePaste",
177
- value: function(e) {
178
- var i;
179
- e.preventDefault();
180
- var r = this.asProps.validateOn, t = (i = e.clipboardData) === null || i === void 0 ? void 0 : i.getData("text/plain"), a = t ? this.prepareNodesForPaste(t) : [];
181
- if (a.length !== 0) {
182
- var n = document.getSelection();
183
- if (n != null && n.anchorNode && n !== null && n !== void 0 && n.focusNode) {
184
- var l = n.anchorOffset, d = n.focusOffset, g = n.anchorNode.compareDocumentPosition(n.focusNode), b = this.getSelectionDirection(), h = b === "forward" ? n.anchorNode : n.focusNode, u = b === "forward" ? n.focusNode : n.anchorNode, o = b === "forward" ? l : d, y = b === "forward" ? d : l, v = h instanceof Text ? h.parentElement : h, p = u instanceof Text ? u.parentElement : u, f = null, I = null;
185
- if (u === this.textarea) {
186
- var L, k;
187
- (L = this.textarea).replaceChildren.apply(L, W(a));
188
- var M = a[a.length - 1];
189
- f = M.childNodes.item(0), I = ((k = M.textContent) !== null && k !== void 0 ? k : "").length;
190
- } else if (p instanceof HTMLParagraphElement && v instanceof HTMLParagraphElement) {
191
- var P, A, S, C, w, F = (P = v == null || (A = v.textContent) === null || A === void 0 ? void 0 : A.substring(0, o)) !== null && P !== void 0 ? P : "", D = (S = p == null || (C = p.textContent) === null || C === void 0 ? void 0 : C.substring(y)) !== null && S !== void 0 ? S : "", H = F.trim() === "" ? "" : F, c = D.trim() === "" ? "" : D;
192
- n.deleteFromDocument(), g !== 0 && this.textarea.removeChild(p);
193
- var T = a.splice(0, 1)[0], _ = a[a.length - 1];
194
- if (v.textContent = (w = H + (T == null ? void 0 : T.textContent)) !== null && w !== void 0 ? w : "", v.after.apply(v, W(a)), _) {
195
- var m, B;
196
- _.textContent = ((m = _.textContent) !== null && m !== void 0 ? m : "") + c, f = _.childNodes.item(0), I = ((B = _.textContent) !== null && B !== void 0 ? B : "").length, this.validateLine(_), this.setErrorIndex(_);
197
- } else {
198
- var R, V;
199
- I = ((R = v.textContent) !== null && R !== void 0 ? R : "").length, v.textContent = ((V = v.textContent) !== null && V !== void 0 ? V : "") + c, f = v.childNodes.item(0), this.validateLine(v), this.setErrorIndex(v);
200
- }
302
+ value: function handlePaste(event) {
303
+ var _event$clipboardData;
304
+ event.preventDefault();
305
+ var validateOn = this.asProps.validateOn;
306
+ var value = (_event$clipboardData = event.clipboardData) === null || _event$clipboardData === void 0 ? void 0 : _event$clipboardData.getData("text/plain");
307
+ var listOfNodes = value ? this.prepareNodesForPaste(value) : [];
308
+ if (listOfNodes.length === 0) return;
309
+ var selection = document.getSelection();
310
+ if (selection !== null && selection !== void 0 && selection.anchorNode && selection !== null && selection !== void 0 && selection.focusNode) {
311
+ var anchorOffset = selection.anchorOffset;
312
+ var focusOffset = selection.focusOffset;
313
+ var documentPosition = selection.anchorNode.compareDocumentPosition(selection.focusNode);
314
+ var direction = this.getSelectionDirection();
315
+ var anchorElement = direction === "forward" ? selection.anchorNode : selection.focusNode;
316
+ var focusElement = direction === "forward" ? selection.focusNode : selection.anchorNode;
317
+ var fromOffset = direction === "forward" ? anchorOffset : focusOffset;
318
+ var toOffset = direction === "forward" ? focusOffset : anchorOffset;
319
+ var anchorNode = anchorElement instanceof Text ? anchorElement.parentElement : anchorElement;
320
+ var focusNode = focusElement instanceof Text ? focusElement.parentElement : focusElement;
321
+ var textNode = null;
322
+ var position = null;
323
+ if (focusElement === this.textarea) {
324
+ var _this$textarea2, _lastNodeToInsert$tex;
325
+ (_this$textarea2 = this.textarea).replaceChildren.apply(_this$textarea2, _toConsumableArray(listOfNodes));
326
+ var lastNodeToInsert = listOfNodes[listOfNodes.length - 1];
327
+ textNode = lastNodeToInsert.childNodes.item(0);
328
+ position = ((_lastNodeToInsert$tex = lastNodeToInsert.textContent) !== null && _lastNodeToInsert$tex !== void 0 ? _lastNodeToInsert$tex : "").length;
329
+ } else if (focusNode instanceof HTMLParagraphElement && anchorNode instanceof HTMLParagraphElement) {
330
+ var _anchorNode$textConte, _anchorNode$textConte2, _focusNode$textConten, _focusNode$textConten2, _ref3;
331
+ var before = (_anchorNode$textConte = anchorNode === null || anchorNode === void 0 ? void 0 : (_anchorNode$textConte2 = anchorNode.textContent) === null || _anchorNode$textConte2 === void 0 ? void 0 : _anchorNode$textConte2.substring(0, fromOffset)) !== null && _anchorNode$textConte !== void 0 ? _anchorNode$textConte : "";
332
+ var after = (_focusNode$textConten = focusNode === null || focusNode === void 0 ? void 0 : (_focusNode$textConten2 = focusNode.textContent) === null || _focusNode$textConten2 === void 0 ? void 0 : _focusNode$textConten2.substring(toOffset)) !== null && _focusNode$textConten !== void 0 ? _focusNode$textConten : "";
333
+ var noEmptyLineBefore = before.trim() === "" ? "" : before;
334
+ var noEmptyLineAfter = after.trim() === "" ? "" : after;
335
+ selection.deleteFromDocument();
336
+ if (documentPosition !== 0) {
337
+ this.textarea.removeChild(focusNode);
201
338
  }
202
- if (f instanceof Text) {
203
- var j, z;
204
- this.setSelection(f, (j = I) !== null && j !== void 0 ? j : 1, (z = I) !== null && z !== void 0 ? z : 1), this.toggleErrorsPopper("keyboardLineIndex", f.parentNode);
339
+ var firstNodeToInsert = listOfNodes.splice(0, 1)[0];
340
+ var _lastNodeToInsert = listOfNodes[listOfNodes.length - 1];
341
+ anchorNode.textContent = (_ref3 = noEmptyLineBefore + (firstNodeToInsert === null || firstNodeToInsert === void 0 ? void 0 : firstNodeToInsert.textContent)) !== null && _ref3 !== void 0 ? _ref3 : "";
342
+ anchorNode.after.apply(anchorNode, _toConsumableArray(listOfNodes));
343
+ if (_lastNodeToInsert) {
344
+ var _lastNodeToInsert$tex2, _lastNodeToInsert$tex3;
345
+ _lastNodeToInsert.textContent = ((_lastNodeToInsert$tex2 = _lastNodeToInsert.textContent) !== null && _lastNodeToInsert$tex2 !== void 0 ? _lastNodeToInsert$tex2 : "") + noEmptyLineAfter;
346
+ textNode = _lastNodeToInsert.childNodes.item(0);
347
+ position = ((_lastNodeToInsert$tex3 = _lastNodeToInsert.textContent) !== null && _lastNodeToInsert$tex3 !== void 0 ? _lastNodeToInsert$tex3 : "").length;
348
+ this.validateLine(_lastNodeToInsert);
349
+ this.setErrorIndex(_lastNodeToInsert);
205
350
  } else {
206
- var Z;
207
- console.warn("incorrect child type", f, (Z = f) === null || Z === void 0 ? void 0 : Z.parentNode);
351
+ var _anchorNode$textConte3, _anchorNode$textConte4;
352
+ position = ((_anchorNode$textConte3 = anchorNode.textContent) !== null && _anchorNode$textConte3 !== void 0 ? _anchorNode$textConte3 : "").length;
353
+ anchorNode.textContent = ((_anchorNode$textConte4 = anchorNode.textContent) !== null && _anchorNode$textConte4 !== void 0 ? _anchorNode$textConte4 : "") + noEmptyLineAfter;
354
+ textNode = anchorNode.childNodes.item(0);
355
+ this.validateLine(anchorNode);
356
+ this.setErrorIndex(anchorNode);
208
357
  }
209
358
  }
210
- this.recalculateLinesCount(), (r.includes("paste") || this.asProps.showErrors) && this.recalculateErrors();
359
+ if (textNode instanceof Text) {
360
+ var _position, _position2;
361
+ this.setSelection(textNode, (_position = position) !== null && _position !== void 0 ? _position : 1, (_position2 = position) !== null && _position2 !== void 0 ? _position2 : 1);
362
+ this.toggleErrorsPopper("keyboardLineIndex", textNode.parentNode);
363
+ } else {
364
+ var _textNode;
365
+ console.warn("incorrect child type", textNode, (_textNode = textNode) === null || _textNode === void 0 ? void 0 : _textNode.parentNode);
366
+ }
367
+ }
368
+ this.recalculateLinesCount();
369
+ if (validateOn.includes("paste") || this.asProps.showErrors) {
370
+ this.recalculateErrors();
211
371
  }
212
372
  }
213
373
  }, {
214
374
  key: "handleChange",
215
- value: function(e) {
216
- var i = e.target;
217
- if (i instanceof HTMLDivElement && e instanceof InputEvent) {
218
- var r, t = this.textarea.childNodes, a = t.item(0), n = t.item(1), l = document.getSelection();
219
- if (a instanceof Text) {
220
- var d, g = (d = a.textContent) !== null && d !== void 0 ? d : "", b = document.createElement("p"), h = document.createTextNode(g);
221
- b.append(h), a.replaceWith(b), l == null || l.setPosition(b, g.length);
222
- } else !a || a instanceof HTMLBRElement && t.length === 1 ? (this.textarea.textContent = "", this.setState({
223
- keyboardLineIndex: 0
224
- })) : a instanceof HTMLParagraphElement && !((r = a.textContent) !== null && r !== void 0 && r.trim()) && (t.length <= 1 || n instanceof HTMLBRElement) && (this.textarea.textContent = "", this.setState({
225
- keyboardLineIndex: 0
226
- }));
227
- for (var u = 10, o = l == null ? void 0 : l.focusNode; ((y = o) === null || y === void 0 ? void 0 : y.parentNode) !== this.textarea && u > 0; ) {
228
- var y, v;
229
- o = (v = o) === null || v === void 0 ? void 0 : v.parentNode, u--;
375
+ value: function handleChange(event) {
376
+ var target = event.target;
377
+ if (target instanceof HTMLDivElement && event instanceof InputEvent) {
378
+ var _firstNode$textConten2;
379
+ var nodes = this.textarea.childNodes;
380
+ var firstNode = nodes.item(0);
381
+ var secondNode = nodes.item(1);
382
+ var selection = document.getSelection();
383
+ if (firstNode instanceof Text) {
384
+ var _firstNode$textConten;
385
+ var nodeText = (_firstNode$textConten = firstNode.textContent) !== null && _firstNode$textConten !== void 0 ? _firstNode$textConten : "";
386
+ var firstRow = document.createElement("p");
387
+ var text = document.createTextNode(nodeText);
388
+ firstRow.append(text);
389
+ firstNode.replaceWith(firstRow);
390
+ selection === null || selection === void 0 ? void 0 : selection.setPosition(firstRow, nodeText.length);
391
+ } else if (!firstNode || firstNode instanceof HTMLBRElement && nodes.length === 1) {
392
+ this.textarea.textContent = "";
393
+ this.setState({
394
+ keyboardLineIndex: 0
395
+ });
396
+ } else if (firstNode instanceof HTMLParagraphElement && !((_firstNode$textConten2 = firstNode.textContent) !== null && _firstNode$textConten2 !== void 0 && _firstNode$textConten2.trim())) {
397
+ if (nodes.length <= 1 || secondNode instanceof HTMLBRElement) {
398
+ this.textarea.textContent = "";
399
+ this.setState({
400
+ keyboardLineIndex: 0
401
+ });
402
+ }
230
403
  }
231
- if (o instanceof HTMLParagraphElement) {
232
- var p, f, I = o.childNodes, L = (p = o.textContent) !== null && p !== void 0 ? p : "";
233
- if (I.length > 1) {
234
- var k, M = (k = I.item(0).textContent) === null || k === void 0 ? void 0 : k.length;
235
- o.textContent = L, M && this.setSelection(o.childNodes.item(0), M, M);
404
+ var maxDeep = 10;
405
+ var rowNode = selection === null || selection === void 0 ? void 0 : selection.focusNode;
406
+ while (((_rowNode = rowNode) === null || _rowNode === void 0 ? void 0 : _rowNode.parentNode) !== this.textarea && maxDeep > 0) {
407
+ var _rowNode, _rowNode2;
408
+ rowNode = (_rowNode2 = rowNode) === null || _rowNode2 === void 0 ? void 0 : _rowNode2.parentNode;
409
+ maxDeep--;
410
+ }
411
+ if (rowNode instanceof HTMLParagraphElement) {
412
+ var _rowNode$textContent, _this$popper;
413
+ var childNodes = rowNode.childNodes;
414
+ var textContent = (_rowNode$textContent = rowNode.textContent) !== null && _rowNode$textContent !== void 0 ? _rowNode$textContent : "";
415
+ if (childNodes.length > 1) {
416
+ var _childNodes$item$text;
417
+ var offset = (_childNodes$item$text = childNodes.item(0).textContent) === null || _childNodes$item$text === void 0 ? void 0 : _childNodes$item$text.length;
418
+ rowNode.textContent = textContent;
419
+ if (offset) {
420
+ this.setSelection(rowNode.childNodes.item(0), offset, offset);
421
+ }
236
422
  }
237
- if (L.length > 0) {
238
- var P = L.at(0), A = L.at(L.length - 1);
239
- if (P === this.getEmptyParagraph().textContent || A === this.getEmptyParagraph().textContent) {
240
- var S = null;
241
- P === this.getEmptyParagraph().textContent ? (o.textContent = L.substring(1), S = e.inputType === "deleteContentBackward" || e.inputType === "deleteContentForward" ? 0 : o.textContent.length) : A === this.getEmptyParagraph().textContent && (o.textContent = L.substring(0, L.length - 1), S = o.textContent.length), S && this.setSelection(o.childNodes.item(0), S, S);
423
+ if (textContent.length > 0) {
424
+ var firstSymbol = textContent.at(0);
425
+ var lastSymbol = textContent.at(textContent.length - 1);
426
+ if (firstSymbol === this.getEmptyParagraph().textContent || lastSymbol === this.getEmptyParagraph().textContent) {
427
+ var _offset = null;
428
+ if (firstSymbol === this.getEmptyParagraph().textContent) {
429
+ rowNode.textContent = textContent.substring(1);
430
+ _offset = event.inputType === "deleteContentBackward" || event.inputType === "deleteContentForward" ? 0 : rowNode.textContent.length;
431
+ } else if (lastSymbol === this.getEmptyParagraph().textContent) {
432
+ rowNode.textContent = textContent.substring(0, textContent.length - 1);
433
+ _offset = rowNode.textContent.length;
434
+ }
435
+ if (_offset) {
436
+ this.setSelection(rowNode.childNodes.item(0), _offset, _offset);
437
+ }
242
438
  }
243
- } else I.length === 1 && I[0] instanceof HTMLBRElement && (o.innerHTML = this.emptyLineValue);
244
- var C = this.asProps, w = C.errors, F = C.showErrors, D = this.validateLine(o);
245
- this.recalculateErrors(), this.setErrorIndex(o), !D && F && this.toggleErrorsPopper("keyboardLineIndex", o, 0);
246
- var H = !D || D && w.length === 1 && w[0].lineNode === o ? o : this.textarea;
247
- if (F && ((f = this.popper) === null || f === void 0 ? void 0 : f.current.state.elements.reference) !== H)
248
- if (this.shouldChangePopperTrigger(H)) {
249
- var c;
250
- (c = this.setPopperTrigger) === null || c === void 0 || c.call(this, H);
251
- } else
439
+ } else if (childNodes.length === 1 && childNodes[0] instanceof HTMLBRElement) {
440
+ rowNode.innerHTML = this.emptyLineValue;
441
+ }
442
+ var _this$asProps3 = this.asProps, errors = _this$asProps3.errors, showErrors = _this$asProps3.showErrors;
443
+ var isValid = this.validateLine(rowNode);
444
+ this.recalculateErrors();
445
+ this.setErrorIndex(rowNode);
446
+ if (!isValid && showErrors) {
447
+ this.toggleErrorsPopper("keyboardLineIndex", rowNode, 0);
448
+ }
449
+ var trigger = !isValid || isValid && errors.length === 1 && errors[0].lineNode === rowNode ? rowNode : this.textarea;
450
+ if (showErrors && ((_this$popper = this.popper) === null || _this$popper === void 0 ? void 0 : _this$popper.current.state.elements.reference) !== trigger) {
451
+ if (this.shouldChangePopperTrigger(trigger)) {
452
+ var _this$setPopperTrigge;
453
+ (_this$setPopperTrigge = this.setPopperTrigger) === null || _this$setPopperTrigge === void 0 ? void 0 : _this$setPopperTrigge.call(this, trigger);
454
+ } else {
252
455
  this.setState({
253
- visibleErrorPopper: !1
456
+ visibleErrorPopper: false
254
457
  });
255
- } else if (o === null) {
256
- var T;
257
- if ((T = this.setPopperTrigger) === null || T === void 0 || T.call(this, this.textarea), (l == null ? void 0 : l.focusNode) === this.textarea && this.textarea.childNodes.length > 1) {
258
- var _ = l.focusOffset, m = this.textarea.childNodes.item(_ - 1), B = this.textarea.childNodes.item(_);
259
- this.textarea.removeChild(B), m instanceof HTMLParagraphElement && (m.innerHTML = this.emptyLineValue), m && this.setSelection(m, 0, 0);
260
- } else
458
+ }
459
+ }
460
+ } else if (rowNode === null) {
461
+ var _this$setPopperTrigge2;
462
+ (_this$setPopperTrigge2 = this.setPopperTrigger) === null || _this$setPopperTrigge2 === void 0 ? void 0 : _this$setPopperTrigge2.call(this, this.textarea);
463
+ if ((selection === null || selection === void 0 ? void 0 : selection.focusNode) === this.textarea && this.textarea.childNodes.length > 1) {
464
+ var nodeIndex = selection.focusOffset;
465
+ var emptyParagraph = this.textarea.childNodes.item(nodeIndex - 1);
466
+ var emptyBr = this.textarea.childNodes.item(nodeIndex);
467
+ this.textarea.removeChild(emptyBr);
468
+ if (emptyParagraph instanceof HTMLParagraphElement) {
469
+ emptyParagraph.innerHTML = this.emptyLineValue;
470
+ }
471
+ if (emptyParagraph) {
472
+ this.setSelection(emptyParagraph, 0, 0);
473
+ }
474
+ } else {
261
475
  this.setSelection(this.textarea, 0, 0);
476
+ }
262
477
  }
263
478
  this.recalculateLinesCount();
264
479
  }
265
480
  }
266
481
  }, {
267
482
  key: "handleFocus",
268
- value: function(e) {
269
- this.isFocusing = !0, this.errorByInteraction = "keyboard", this.asProps.showErrors ? this.toggleErrorsPopperByKeyboard(150) : this.toggleErrorsPopper("keyboardLineIndex", this.textarea);
483
+ value: function handleFocus(event) {
484
+ this.isFocusing = true;
485
+ this.errorByInteraction = "keyboard";
486
+ if (this.asProps.showErrors) {
487
+ this.toggleErrorsPopperByKeyboard(150);
488
+ } else {
489
+ this.toggleErrorsPopper("keyboardLineIndex", this.textarea);
490
+ }
270
491
  }
271
492
  }, {
272
493
  key: "handleBlur",
273
- value: function(e) {
274
- var i = this;
275
- this.isFocusing = !1, this.setState({
276
- visibleErrorPopper: !1
494
+ value: function handleBlur(event) {
495
+ var _this4 = this;
496
+ this.isFocusing = false;
497
+ this.setState({
498
+ visibleErrorPopper: false
277
499
  });
278
- var r = this.asProps, t = r.validateOn, a = r.onBlur, n = r.value;
279
- t.includes("blur") && this.recalculateErrors();
280
- var l = typeof n == "string" ? this.getValues().join(this.delimiter) : this.getValues();
281
- a(l, e), setTimeout(function() {
282
- i.setState({
500
+ var _this$asProps4 = this.asProps, validateOn = _this$asProps4.validateOn, onBlur = _this$asProps4.onBlur, value = _this$asProps4.value;
501
+ if (validateOn.includes("blur")) {
502
+ this.recalculateErrors();
503
+ }
504
+ var valueToChange = typeof value === "string" ? this.getValues().join(this.delimiter) : this.getValues();
505
+ onBlur(valueToChange, event);
506
+ setTimeout(function() {
507
+ _this4.setState({
283
508
  keyboardLineIndex: -1
284
509
  });
285
510
  }, 200);
286
511
  }
287
512
  }, {
288
513
  key: "handleKeyDown",
289
- value: function(e) {
290
- var i = this;
514
+ value: function handleKeyDown(event) {
515
+ var _this5 = this;
291
516
  this.errorByInteraction = "keyboard";
292
- var r = this.asProps.linesDelimiters, t = this.getNodeFromSelection();
293
- if (e.key === "Enter" || r != null && r.includes(e.key)) {
294
- if (t === this.textarea && e.preventDefault(), t instanceof HTMLParagraphElement) {
295
- var a, n = (a = t.textContent) === null || a === void 0 ? void 0 : a.trim();
296
- if (!n)
297
- e.preventDefault();
298
- else {
299
- var l, d, g, b;
300
- e.preventDefault();
301
- var h = document.getSelection(), u = (h == null ? void 0 : h.focusNode) instanceof Text ? h.focusNode : h == null || (l = h.focusNode) === null || l === void 0 ? void 0 : l.childNodes.item(0), o = h == null ? void 0 : h.focusOffset, y = "";
302
- if (u instanceof Text && o !== void 0 && o !== ((d = u.textContent) === null || d === void 0 ? void 0 : d.length)) {
303
- var v, p;
304
- y = (v = (p = u.textContent) === null || p === void 0 ? void 0 : p.substring(o)) !== null && v !== void 0 ? v : this.emptyLineValue, u.textContent && (u.textContent = u.textContent.substring(0, o));
517
+ var linesDelimiters = this.asProps.linesDelimiters;
518
+ var currentNode = this.getNodeFromSelection();
519
+ if (event.key === "Enter" || linesDelimiters !== null && linesDelimiters !== void 0 && linesDelimiters.includes(event.key)) {
520
+ if (currentNode === this.textarea) {
521
+ event.preventDefault();
522
+ }
523
+ if (currentNode instanceof HTMLParagraphElement) {
524
+ var _currentNode$textCont;
525
+ var currentRowValue = (_currentNode$textCont = currentNode.textContent) === null || _currentNode$textCont === void 0 ? void 0 : _currentNode$textCont.trim();
526
+ if (!currentRowValue) {
527
+ event.preventDefault();
528
+ } else {
529
+ var _selection$focusNode, _selectionNode$textCo, _currentNode$textCont2, _row$textContent;
530
+ event.preventDefault();
531
+ var selection = document.getSelection();
532
+ var selectionNode = (selection === null || selection === void 0 ? void 0 : selection.focusNode) instanceof Text ? selection.focusNode : selection === null || selection === void 0 ? void 0 : (_selection$focusNode = selection.focusNode) === null || _selection$focusNode === void 0 ? void 0 : _selection$focusNode.childNodes.item(0);
533
+ var selectionOffset = selection === null || selection === void 0 ? void 0 : selection.focusOffset;
534
+ var newRowValue = "";
535
+ if (selectionNode instanceof Text && selectionOffset !== void 0 && selectionOffset !== ((_selectionNode$textCo = selectionNode.textContent) === null || _selectionNode$textCo === void 0 ? void 0 : _selectionNode$textCo.length)) {
536
+ var _selectionNode$textCo2, _selectionNode$textCo3;
537
+ newRowValue = (_selectionNode$textCo2 = (_selectionNode$textCo3 = selectionNode.textContent) === null || _selectionNode$textCo3 === void 0 ? void 0 : _selectionNode$textCo3.substring(selectionOffset)) !== null && _selectionNode$textCo2 !== void 0 ? _selectionNode$textCo2 : this.emptyLineValue;
538
+ if (selectionNode.textContent) {
539
+ selectionNode.textContent = selectionNode.textContent.substring(0, selectionOffset);
540
+ }
541
+ }
542
+ if (((_currentNode$textCont2 = currentNode.textContent) === null || _currentNode$textCont2 === void 0 ? void 0 : _currentNode$textCont2.trim()) === "") {
543
+ currentNode.innerHTML = this.emptyLineValue;
305
544
  }
306
- ((g = t.textContent) === null || g === void 0 ? void 0 : g.trim()) === "" && (t.innerHTML = this.emptyLineValue);
307
- var f = document.createElement("p");
308
- y ? f.textContent = y : f.innerHTML = this.emptyLineValue, t.after(f), this.setSelection(f, 0, 0), this.validateLine(t), this.validateLine(f), t.previousSibling && this.validateLine(t.previousSibling), this.setErrorIndex(f), ((b = f.textContent) === null || b === void 0 ? void 0 : b.trim()) !== "" && this.recalculateLinesCount(), setTimeout(function() {
309
- i.recalculateErrors();
310
- }, 0), this.toggleErrorsPopperByKeyboard(0);
545
+ var row = document.createElement("p");
546
+ if (newRowValue) {
547
+ row.textContent = newRowValue;
548
+ } else {
549
+ row.innerHTML = this.emptyLineValue;
550
+ }
551
+ currentNode.after(row);
552
+ this.setSelection(row, 0, 0);
553
+ this.validateLine(currentNode);
554
+ this.validateLine(row);
555
+ if (currentNode.previousSibling) {
556
+ this.validateLine(currentNode.previousSibling);
557
+ }
558
+ this.setErrorIndex(row);
559
+ if (((_row$textContent = row.textContent) === null || _row$textContent === void 0 ? void 0 : _row$textContent.trim()) !== "") {
560
+ this.recalculateLinesCount();
561
+ }
562
+ setTimeout(function() {
563
+ _this5.recalculateErrors();
564
+ }, 0);
565
+ this.toggleErrorsPopperByKeyboard(0);
311
566
  }
312
567
  }
313
- } else if (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "ArrowLeft" || e.key === "ArrowRight")
314
- t instanceof HTMLParagraphElement && this.handleCursorMovement(t, e), this.toggleErrorsPopperByKeyboard(200);
315
- else if (this.isDeleteKey(e) && t instanceof HTMLParagraphElement) {
316
- var I;
317
- if (((I = t.textContent) === null || I === void 0 ? void 0 : I.trim()) === "" && !this.isRangeSelection()) {
318
- var L = t.previousSibling;
319
- if (L instanceof HTMLParagraphElement) {
320
- var k;
321
- if (e.preventDefault(), this.textarea.removeChild(t), this.toggleErrorsPopperByKeyboard(0), ((k = L.textContent) === null || k === void 0 ? void 0 : k.trim()) === "" && L.previousSibling === null && this.textarea.childNodes.length === 1)
322
- this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0);
323
- else if (L instanceof HTMLParagraphElement) {
324
- var M, P, A = L.childNodes.item(0), S = (M = (P = A.textContent) === null || P === void 0 ? void 0 : P.length) !== null && M !== void 0 ? M : 0;
325
- this.setSelection(A, S, S);
326
- } else
327
- console.warn("incorrect prevNode type", L);
568
+ } else if (event.key === "ArrowDown" || event.key === "ArrowUp" || event.key === "ArrowLeft" || event.key === "ArrowRight") {
569
+ if (currentNode instanceof HTMLParagraphElement) {
570
+ this.handleCursorMovement(currentNode, event);
571
+ }
572
+ this.toggleErrorsPopperByKeyboard(200);
573
+ } else if (this.isDeleteKey(event) && currentNode instanceof HTMLParagraphElement) {
574
+ var _currentNode$textCont3;
575
+ if (((_currentNode$textCont3 = currentNode.textContent) === null || _currentNode$textCont3 === void 0 ? void 0 : _currentNode$textCont3.trim()) === "" && !this.isRangeSelection()) {
576
+ var prevNode = currentNode.previousSibling;
577
+ if (prevNode instanceof HTMLParagraphElement) {
578
+ var _prevNode$textContent;
579
+ event.preventDefault();
580
+ this.textarea.removeChild(currentNode);
581
+ this.toggleErrorsPopperByKeyboard(0);
582
+ if (((_prevNode$textContent = prevNode.textContent) === null || _prevNode$textContent === void 0 ? void 0 : _prevNode$textContent.trim()) === "" && prevNode.previousSibling === null && this.textarea.childNodes.length === 1) {
583
+ this.textarea.textContent = "";
584
+ this.setSelection(this.textarea, 0, 0);
585
+ } else {
586
+ if (prevNode instanceof HTMLParagraphElement) {
587
+ var _text$textContent$len, _text$textContent;
588
+ var text = prevNode.childNodes.item(0);
589
+ var offset = (_text$textContent$len = (_text$textContent = text.textContent) === null || _text$textContent === void 0 ? void 0 : _text$textContent.length) !== null && _text$textContent$len !== void 0 ? _text$textContent$len : 0;
590
+ this.setSelection(text, offset, offset);
591
+ } else {
592
+ console.warn("incorrect prevNode type", prevNode);
593
+ }
594
+ }
328
595
  setTimeout(function() {
329
- i.recalculateErrors();
330
- }, 0), this.toggleErrorsPopperByKeyboard(0);
596
+ _this5.recalculateErrors();
597
+ }, 0);
598
+ this.toggleErrorsPopperByKeyboard(0);
331
599
  }
332
600
  } else if (this.isRangeSelection()) {
333
- var C, w, F, D, H, c = document.getSelection(), T = this.getSelectionDirection(), _ = T === "backward" ? c == null ? void 0 : c.focusNode : c == null ? void 0 : c.anchorNode, m = T === "backward" ? c == null ? void 0 : c.anchorNode : c == null ? void 0 : c.focusNode, B = T === "backward" ? c == null ? void 0 : c.focusOffset : c == null ? void 0 : c.anchorOffset, R = T === "backward" ? c == null ? void 0 : c.anchorOffset : c == null ? void 0 : c.focusOffset;
334
- if (_ === m && B === 0 && (m === t && R === 1 || R === ((C = t.textContent) === null || C === void 0 ? void 0 : C.length))) {
335
- e.preventDefault();
336
- var V = _ == null ? void 0 : _.parentElement, j = m == null ? void 0 : m.parentElement, z = this.textarea.childNodes;
337
- V === z.item(0) && j === z.item(z.length - 1) ? (this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0)) : (t.innerHTML = this.emptyLineValue, this.validateLine(t)), this.setErrorIndex(t), this.recalculateLinesCount(), setTimeout(function() {
338
- i.recalculateErrors();
339
- }, 0), this.toggleErrorsPopperByKeyboard(0);
340
- } else if (m !== _ && m instanceof Text && _ instanceof Text && (m == null ? void 0 : m.textContent) === (m == null || (w = m.parentNode) === null || w === void 0 ? void 0 : w.textContent) && (_ == null ? void 0 : _.textContent) === (_ == null || (F = _.parentNode) === null || F === void 0 ? void 0 : F.textContent) && B === 0 && R === (m == null || (D = m.parentNode) === null || D === void 0 || (H = D.textContent) === null || H === void 0 ? void 0 : H.length)) {
341
- e.preventDefault();
342
- var Z = Array.from(this.textarea.children), Q = _.parentElement, U = m.parentElement, J = this.textarea.childNodes;
343
- if (Q === J.item(0) && U === J.item(J.length - 1))
344
- this.textarea.textContent = "", this.setSelection(this.textarea, 0, 0);
345
- else {
346
- var q = !1, G = ne(Z), N;
601
+ var _currentNode$textCont4, _focusElement$parentN, _anchorElement$parent, _focusElement$parentN2, _focusElement$parentN3;
602
+ var _selection = document.getSelection();
603
+ var direction = this.getSelectionDirection();
604
+ var anchorElement = direction === "backward" ? _selection === null || _selection === void 0 ? void 0 : _selection.focusNode : _selection === null || _selection === void 0 ? void 0 : _selection.anchorNode;
605
+ var focusElement = direction === "backward" ? _selection === null || _selection === void 0 ? void 0 : _selection.anchorNode : _selection === null || _selection === void 0 ? void 0 : _selection.focusNode;
606
+ var anchorOffset = direction === "backward" ? _selection === null || _selection === void 0 ? void 0 : _selection.focusOffset : _selection === null || _selection === void 0 ? void 0 : _selection.anchorOffset;
607
+ var focusOffset = direction === "backward" ? _selection === null || _selection === void 0 ? void 0 : _selection.anchorOffset : _selection === null || _selection === void 0 ? void 0 : _selection.focusOffset;
608
+ if (anchorElement === focusElement && anchorOffset === 0 && (focusElement === currentNode && focusOffset === 1 || focusOffset === ((_currentNode$textCont4 = currentNode.textContent) === null || _currentNode$textCont4 === void 0 ? void 0 : _currentNode$textCont4.length))) {
609
+ event.preventDefault();
610
+ var anchorParagraph = anchorElement === null || anchorElement === void 0 ? void 0 : anchorElement.parentElement;
611
+ var focusParagraph = focusElement === null || focusElement === void 0 ? void 0 : focusElement.parentElement;
612
+ var childNodes = this.textarea.childNodes;
613
+ if (anchorParagraph === childNodes.item(0) && focusParagraph === childNodes.item(childNodes.length - 1)) {
614
+ this.textarea.textContent = "";
615
+ this.setSelection(this.textarea, 0, 0);
616
+ } else {
617
+ currentNode.innerHTML = this.emptyLineValue;
618
+ this.validateLine(currentNode);
619
+ }
620
+ this.setErrorIndex(currentNode);
621
+ this.recalculateLinesCount();
622
+ setTimeout(function() {
623
+ _this5.recalculateErrors();
624
+ }, 0);
625
+ this.toggleErrorsPopperByKeyboard(0);
626
+ } else if (focusElement !== anchorElement && focusElement instanceof Text && anchorElement instanceof Text && (focusElement === null || focusElement === void 0 ? void 0 : focusElement.textContent) === (focusElement === null || focusElement === void 0 ? void 0 : (_focusElement$parentN = focusElement.parentNode) === null || _focusElement$parentN === void 0 ? void 0 : _focusElement$parentN.textContent) && (anchorElement === null || anchorElement === void 0 ? void 0 : anchorElement.textContent) === (anchorElement === null || anchorElement === void 0 ? void 0 : (_anchorElement$parent = anchorElement.parentNode) === null || _anchorElement$parent === void 0 ? void 0 : _anchorElement$parent.textContent) && anchorOffset === 0 && focusOffset === (focusElement === null || focusElement === void 0 ? void 0 : (_focusElement$parentN2 = focusElement.parentNode) === null || _focusElement$parentN2 === void 0 ? void 0 : (_focusElement$parentN3 = _focusElement$parentN2.textContent) === null || _focusElement$parentN3 === void 0 ? void 0 : _focusElement$parentN3.length)) {
627
+ event.preventDefault();
628
+ var paragraphs = Array.from(this.textarea.children);
629
+ var _anchorParagraph = anchorElement.parentElement;
630
+ var _focusParagraph = focusElement.parentElement;
631
+ var _childNodes = this.textarea.childNodes;
632
+ if (_anchorParagraph === _childNodes.item(0) && _focusParagraph === _childNodes.item(_childNodes.length - 1)) {
633
+ this.textarea.textContent = "";
634
+ this.setSelection(this.textarea, 0, 0);
635
+ } else {
636
+ var isCleaning = false;
637
+ var _iterator = _createForOfIteratorHelper(paragraphs), _step;
347
638
  try {
348
- for (G.s(); !(N = G.n()).done; ) {
349
- var X = N.value;
350
- if (X === Q || q)
351
- if (q = !0, X === U) {
352
- U.innerHTML = this.emptyLineValue, this.setSelection(U, 0, 0);
639
+ for (_iterator.s(); !(_step = _iterator.n()).done; ) {
640
+ var paragraph = _step.value;
641
+ if (paragraph === _anchorParagraph || isCleaning) {
642
+ isCleaning = true;
643
+ if (paragraph === _focusParagraph) {
644
+ _focusParagraph.innerHTML = this.emptyLineValue;
645
+ this.setSelection(_focusParagraph, 0, 0);
353
646
  break;
354
- } else
355
- this.textarea.removeChild(X);
647
+ } else {
648
+ this.textarea.removeChild(paragraph);
649
+ }
650
+ }
356
651
  }
357
- } catch (re) {
358
- G.e(re);
652
+ } catch (err) {
653
+ _iterator.e(err);
359
654
  } finally {
360
- G.f();
655
+ _iterator.f();
361
656
  }
362
- this.validateLine(t);
657
+ this.validateLine(currentNode);
363
658
  }
364
- this.setErrorIndex(t), this.recalculateLinesCount(), setTimeout(function() {
365
- i.recalculateErrors();
366
- }, 0), this.toggleErrorsPopperByKeyboard(0);
659
+ this.setErrorIndex(currentNode);
660
+ this.recalculateLinesCount();
661
+ setTimeout(function() {
662
+ _this5.recalculateErrors();
663
+ }, 0);
664
+ this.toggleErrorsPopperByKeyboard(0);
367
665
  }
368
666
  }
369
- } else e.key === "z" && (e.ctrlKey || e.metaKey) && e.preventDefault();
667
+ } else if (event.key === "z" && (event.ctrlKey || event.metaKey)) {
668
+ event.preventDefault();
669
+ }
370
670
  }
371
671
  }, {
372
672
  key: "render",
373
- value: function() {
374
- var e = this.asProps, i, r, t = this, a = ge, n = this.asProps, l = n.styles, d = n.showErrors, g = this.state.visibleErrorPopper, b = this.errorMessage, h = b.errorMessage, u = b.isCommonError, o = d && g && !!h && !this.isDisabled, y = ee(this.asProps), v = y.__excludeProps;
375
- return i = ue(l), /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement($, i.cn("Tooltip", {
376
- interaction: "none",
377
- placement: u ? "right-start" : "right",
378
- visible: o,
379
- theme: "warning",
380
- offset: u ? void 0 : [0, 26],
381
- preventOverflow: {
382
- boundary: (r = this.containerRef.current) !== null && r !== void 0 ? r : void 0,
383
- tether: !1
673
+ value: function render() {
674
+ var _ref = this.asProps, _ref2, _this$containerRef$cu2, _this6 = this;
675
+ var SInputField = Box;
676
+ var _this$asProps5 = this.asProps, styles = _this$asProps5.styles, showErrors = _this$asProps5.showErrors;
677
+ var visibleErrorPopper = this.state.visibleErrorPopper;
678
+ var _this$errorMessage = this.errorMessage, errorMessage = _this$errorMessage.errorMessage, isCommonError = _this$errorMessage.isCommonError;
679
+ var visibleErrorTooltip = showErrors && visibleErrorPopper && Boolean(errorMessage) && !this.isDisabled;
680
+ var _extractAriaProps2 = extractAriaProps(this.asProps), __excludeProps = _extractAriaProps2.__excludeProps;
681
+ return _ref2 = sstyled$1(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Tooltip, _ref2.cn("Tooltip", {
682
+ "interaction": "none",
683
+ "placement": isCommonError ? "right-start" : "right",
684
+ "visible": visibleErrorTooltip,
685
+ "theme": "warning",
686
+ "offset": isCommonError ? void 0 : [0, 26],
687
+ "preventOverflow": {
688
+ boundary: (_this$containerRef$cu2 = this.containerRef.current) !== null && _this$containerRef$cu2 !== void 0 ? _this$containerRef$cu2 : void 0,
689
+ tether: false
690
+ }
691
+ }), function(_ref4) {
692
+ var popper = _ref4.popper, setTrigger = _ref4.setTrigger;
693
+ if (!_this6.popper) {
694
+ _this6.setPopperTrigger = setTrigger;
695
+ _this6.popper = popper;
384
696
  }
385
- }), function(p) {
386
- var f = p.popper, I = p.setTrigger;
387
- return t.popper || (t.setPopperTrigger = I, t.popper = f), /* @__PURE__ */ O.createElement($.Popper, {
388
- id: t.popperDescribedId
389
- }, h);
390
- }), /* @__PURE__ */ O.createElement(a, i.cn("SInputField", ae({}, ce({
391
- ref: this.containerRef,
392
- __excludeProps: ["onBlur", "value"].concat(W(v))
393
- }, e)))));
697
+ return /* @__PURE__ */ React.createElement(Tooltip.Popper, {
698
+ id: _this6.popperDescribedId
699
+ }, errorMessage);
700
+ }), /* @__PURE__ */ React.createElement(SInputField, _ref2.cn("SInputField", _objectSpread({}, assignProps({
701
+ "ref": this.containerRef,
702
+ "__excludeProps": ["onBlur", "value"].concat(_toConsumableArray(__excludeProps))
703
+ }, _ref)))));
394
704
  }
395
705
  }, {
396
706
  key: "prepareNodesForPaste",
397
- value: function(e) {
398
- var i, r, t, a = this, n = [], l = this.asProps.pasteProps, d = (i = l == null ? void 0 : l.lineProcessing) !== null && i !== void 0 ? i : function(u) {
399
- var o = u.trim();
400
- return o === "" ? u : o;
401
- }, g = (r = l == null ? void 0 : l.skipEmptyLines) !== null && r !== void 0 ? r : this.skipEmptyLines, b = (t = l == null ? void 0 : l.delimiter) !== null && t !== void 0 ? t : this.delimiter, h = Array.isArray(e) ? e : e.split(b);
402
- return h.forEach(function(u, o) {
403
- var y = d(u, o, h.length);
404
- if (y === "" && g === !1 || y !== "") {
405
- var v = document.createElement("p");
406
- if (y === "")
407
- v.innerHTML = a.emptyLineValue;
408
- else if (y.trim() === "") {
409
- var p = new RegExp("\\s", "g");
410
- v.innerHTML = fe.sanitize(y.replace(p, a.spaceLineValue));
411
- } else
412
- v.append(document.createTextNode(y));
413
- n.push(v), a.validateLine(v);
707
+ value: function prepareNodesForPaste(value) {
708
+ var _pasteProps$lineProce, _pasteProps$skipEmpty, _pasteProps$delimiter, _this7 = this;
709
+ var listOfNodes = [];
710
+ var pasteProps = this.asProps.pasteProps;
711
+ var lineProcessing = (_pasteProps$lineProce = pasteProps === null || pasteProps === void 0 ? void 0 : pasteProps.lineProcessing) !== null && _pasteProps$lineProce !== void 0 ? _pasteProps$lineProce : function(line) {
712
+ var trimmedLine = line.trim();
713
+ return trimmedLine === "" ? line : trimmedLine;
714
+ };
715
+ var skipEmptyLines = (_pasteProps$skipEmpty = pasteProps === null || pasteProps === void 0 ? void 0 : pasteProps.skipEmptyLines) !== null && _pasteProps$skipEmpty !== void 0 ? _pasteProps$skipEmpty : this.skipEmptyLines;
716
+ var delimiter = (_pasteProps$delimiter = pasteProps === null || pasteProps === void 0 ? void 0 : pasteProps.delimiter) !== null && _pasteProps$delimiter !== void 0 ? _pasteProps$delimiter : this.delimiter;
717
+ var lines = Array.isArray(value) ? value : value.split(delimiter);
718
+ lines.forEach(function(line, index) {
719
+ var preparedLine = lineProcessing(line, index, lines.length);
720
+ if (preparedLine === "" && skipEmptyLines === false || preparedLine !== "") {
721
+ var node = document.createElement("p");
722
+ if (preparedLine === "") {
723
+ node.innerHTML = _this7.emptyLineValue;
724
+ } else if (preparedLine.trim() === "") {
725
+ var allSpacesRegExp = new RegExp("\\s", "g");
726
+ node.innerHTML = DOMPurify.sanitize(preparedLine.replace(allSpacesRegExp, _this7.spaceLineValue));
727
+ } else {
728
+ node.append(document.createTextNode(preparedLine));
729
+ }
730
+ listOfNodes.push(node);
731
+ _this7.validateLine(node);
414
732
  }
415
- }), n;
733
+ });
734
+ return listOfNodes;
416
735
  }
417
736
  }, {
418
737
  key: "recalculateErrors",
419
- value: function() {
420
- var e = [];
421
- this.textarea.childNodes.forEach(function(i, r) {
422
- if (i instanceof HTMLParagraphElement && i.getAttribute("aria-invalid") === "true") {
423
- var t, a = {
424
- errorMessage: (t = i.dataset.errormessage) !== null && t !== void 0 ? t : "",
425
- lineNode: i,
426
- lineIndex: r
738
+ value: function recalculateErrors() {
739
+ var errors = [];
740
+ this.textarea.childNodes.forEach(function(node, index) {
741
+ if (node instanceof HTMLParagraphElement && node.getAttribute("aria-invalid") === "true") {
742
+ var _node$dataset$errorme;
743
+ var errorItem = {
744
+ errorMessage: (_node$dataset$errorme = node.dataset.errormessage) !== null && _node$dataset$errorme !== void 0 ? _node$dataset$errorme : "",
745
+ lineNode: node,
746
+ lineIndex: index
427
747
  };
428
- e.push(a);
748
+ errors.push(errorItem);
429
749
  }
430
- }), this.asProps.onErrorsChange(e);
750
+ });
751
+ this.asProps.onErrorsChange(errors);
431
752
  }
432
753
  }, {
433
754
  key: "recalculateLinesCount",
434
- value: function() {
435
- var e = this;
436
- this.linesCountTimeout && clearTimeout(this.linesCountTimeout), this.linesCountTimeout = window.setTimeout(function() {
437
- var i = 0, r = e.asProps, t = r.maxLines, a = r.linesCount;
438
- e.textarea.childNodes.forEach(function(n, l) {
439
- n instanceof HTMLParagraphElement && (n.dataset.overMaxRows = "false", n.textContent !== e.getEmptyParagraph().textContent && n.textContent !== "" && (i++, i > t && (n.dataset.overMaxRows = "true")));
440
- }), a !== i && e.asProps.onChangeLinesCount(i);
755
+ value: function recalculateLinesCount() {
756
+ var _this8 = this;
757
+ if (this.linesCountTimeout) {
758
+ clearTimeout(this.linesCountTimeout);
759
+ }
760
+ this.linesCountTimeout = window.setTimeout(function() {
761
+ var lines = 0;
762
+ var _this8$asProps = _this8.asProps, maxLines = _this8$asProps.maxLines, linesCount = _this8$asProps.linesCount;
763
+ _this8.textarea.childNodes.forEach(function(node, index) {
764
+ if (node instanceof HTMLParagraphElement) {
765
+ node.dataset.overMaxRows = "false";
766
+ if (node.textContent !== _this8.getEmptyParagraph().textContent && node.textContent !== "") {
767
+ lines++;
768
+ if (lines > maxLines) {
769
+ node.dataset.overMaxRows = "true";
770
+ }
771
+ }
772
+ }
773
+ });
774
+ if (linesCount !== lines) {
775
+ _this8.asProps.onChangeLinesCount(lines);
776
+ }
441
777
  }, 100);
442
778
  }
443
779
  }, {
444
780
  key: "getValues",
445
- value: function() {
446
- var e = [];
447
- return this.textarea.childNodes.forEach(function(i) {
448
- var r;
449
- if (((r = i.textContent) === null || r === void 0 ? void 0 : r.trim()) === "")
450
- e.push("");
451
- else {
452
- var t;
453
- e.push((t = i.textContent) !== null && t !== void 0 ? t : "");
781
+ value: function getValues() {
782
+ var values = [];
783
+ this.textarea.childNodes.forEach(function(node) {
784
+ var _node$textContent;
785
+ if (((_node$textContent = node.textContent) === null || _node$textContent === void 0 ? void 0 : _node$textContent.trim()) === "") {
786
+ values.push("");
787
+ } else {
788
+ var _node$textContent2;
789
+ values.push((_node$textContent2 = node.textContent) !== null && _node$textContent2 !== void 0 ? _node$textContent2 : "");
454
790
  }
455
- }), e;
791
+ });
792
+ return values;
456
793
  }
457
794
  }, {
458
795
  key: "shouldChangePopperTrigger",
459
- value: function(e) {
460
- return this.textarea !== e || this.textarea === e && !!this.asProps.commonErrorMessage;
796
+ value: function shouldChangePopperTrigger(node) {
797
+ return this.textarea !== node || this.textarea === node && Boolean(this.asProps.commonErrorMessage);
461
798
  }
462
799
  }, {
463
800
  key: "toggleErrorsPopperByKeyboard",
464
- value: function(e) {
465
- var i = this;
466
- this.toggleErrorsPopperTimeout && clearTimeout(this.toggleErrorsPopperTimeout), this.isScrolling ? this.toggleErrorsPopperTimeout = window.setTimeout(function() {
467
- i.toggleErrorsPopperByKeyboard(e);
468
- }, 50) : setTimeout(function() {
469
- var r = i.getNodeFromSelection();
470
- i.toggleErrorsPopper("keyboardLineIndex", r, e);
471
- }, 0);
801
+ value: function toggleErrorsPopperByKeyboard(timer) {
802
+ var _this9 = this;
803
+ if (this.toggleErrorsPopperTimeout) {
804
+ clearTimeout(this.toggleErrorsPopperTimeout);
805
+ }
806
+ if (!this.isScrolling) {
807
+ setTimeout(function() {
808
+ var rowNode = _this9.getNodeFromSelection();
809
+ _this9.toggleErrorsPopper("keyboardLineIndex", rowNode, timer);
810
+ }, 0);
811
+ } else {
812
+ this.toggleErrorsPopperTimeout = window.setTimeout(function() {
813
+ _this9.toggleErrorsPopperByKeyboard(timer);
814
+ }, 50);
815
+ }
472
816
  }
473
817
  }, {
474
818
  key: "toggleErrorsPopper",
475
- value: function(e, i, r) {
476
- var t = this;
477
- i instanceof HTMLDivElement || i instanceof HTMLParagraphElement ? (this.changeTriggerTimeout && clearTimeout(this.changeTriggerTimeout), this.changeTriggerTimeout = window.setTimeout(function() {
478
- var a = i === t.textarea ? t.getNodeFromSelection() : i, n = -1, l = !1;
479
- a instanceof HTMLParagraphElement ? (l = a.getAttribute("aria-invalid") === "true", n = Array.from(t.textarea.childNodes).indexOf(a)) : a === t.textarea && (n = 0), a instanceof HTMLElement && t.setState(function(d) {
480
- var g = {
481
- visibleErrorPopper: t.isFocusing && t.asProps.commonErrorMessage ? !0 : l,
482
- mouseLineIndex: d.mouseLineIndex,
483
- keyboardLineIndex: d.keyboardLineIndex
484
- };
485
- return (t.isFocusing || e === "mouseLineIndex" && l) && (g[e] = n), g;
486
- }, function() {
487
- t.errorByInteraction = e === "mouseLineIndex" ? "mouse" : "keyboard";
488
- var d = l ? a : t.textarea;
489
- if (t.shouldChangePopperTrigger(d)) {
490
- var g;
491
- (g = t.setPopperTrigger) === null || g === void 0 || g.call(t, d), t.forceUpdate();
819
+ value: function toggleErrorsPopper(key, target, timer) {
820
+ var _this10 = this;
821
+ if (target instanceof HTMLDivElement || target instanceof HTMLParagraphElement) {
822
+ if (this.changeTriggerTimeout) {
823
+ clearTimeout(this.changeTriggerTimeout);
824
+ }
825
+ this.changeTriggerTimeout = window.setTimeout(function() {
826
+ var targetElement = target === _this10.textarea ? _this10.getNodeFromSelection() : target;
827
+ var lineIndex = -1;
828
+ var isInvalidRow = false;
829
+ if (targetElement instanceof HTMLParagraphElement) {
830
+ isInvalidRow = targetElement.getAttribute("aria-invalid") === "true";
831
+ lineIndex = Array.from(_this10.textarea.childNodes).indexOf(targetElement);
832
+ } else if (targetElement === _this10.textarea) {
833
+ lineIndex = 0;
834
+ }
835
+ if (targetElement instanceof HTMLElement) {
836
+ _this10.setState(function(prevState) {
837
+ var newState = {
838
+ visibleErrorPopper: _this10.isFocusing && Boolean(_this10.asProps.commonErrorMessage) ? true : isInvalidRow,
839
+ mouseLineIndex: prevState.mouseLineIndex,
840
+ keyboardLineIndex: prevState.keyboardLineIndex
841
+ };
842
+ if (_this10.isFocusing || key === "mouseLineIndex" && isInvalidRow) {
843
+ newState[key] = lineIndex;
844
+ }
845
+ return newState;
846
+ }, function() {
847
+ _this10.errorByInteraction = key === "mouseLineIndex" ? "mouse" : "keyboard";
848
+ var trigger = isInvalidRow ? targetElement : _this10.textarea;
849
+ if (_this10.shouldChangePopperTrigger(trigger)) {
850
+ var _this10$setPopperTrig;
851
+ (_this10$setPopperTrig = _this10.setPopperTrigger) === null || _this10$setPopperTrig === void 0 ? void 0 : _this10$setPopperTrig.call(_this10, trigger);
852
+ _this10.forceUpdate();
853
+ }
854
+ });
492
855
  }
856
+ }, timer !== null && timer !== void 0 ? timer : 50);
857
+ } else {
858
+ this.setState({
859
+ visibleErrorPopper: false
493
860
  });
494
- }, r ?? 50)) : this.setState({
495
- visibleErrorPopper: !1
496
- });
861
+ }
497
862
  }
498
863
  }, {
499
864
  key: "toggleAriaInvalid",
500
- value: function(e, i) {
501
- e && i > 0 ? (this.textarea.setAttribute("aria-describedby", this.popperDescribedId), this.textarea.setAttribute("aria-invalid", "true")) : (this.textarea.removeAttribute("aria-invalid"), this.textarea.removeAttribute("aria-describedby"));
865
+ value: function toggleAriaInvalid(showErrors, errorsLength) {
866
+ if (showErrors && errorsLength > 0) {
867
+ this.textarea.setAttribute("aria-describedby", this.popperDescribedId);
868
+ this.textarea.setAttribute("aria-invalid", "true");
869
+ } else {
870
+ this.textarea.removeAttribute("aria-invalid");
871
+ this.textarea.removeAttribute("aria-describedby");
872
+ }
502
873
  }
503
874
  }, {
504
875
  key: "handleChangeErrorIndex",
505
- value: function(e) {
506
- var i, r = this, t = this.asProps.errors[e], a = this.textarea.childNodes, n = t ? (i = t.lineNode) !== null && i !== void 0 ? i : a.item(t.lineIndex) : null, l = document.getSelection();
507
- l && n instanceof HTMLParagraphElement && (this.setState({
508
- visibleErrorPopper: !1
509
- }), setTimeout(function() {
510
- var d = n.childNodes.item(0);
511
- d instanceof Text ? r.setSelection(d, 0, d.length) : r.setSelection(n, 0, 1);
512
- }, 150));
876
+ value: function handleChangeErrorIndex(errorIndex) {
877
+ var _error$lineNode, _this11 = this;
878
+ var error = this.asProps.errors[errorIndex];
879
+ var childNodes = this.textarea.childNodes;
880
+ var node = error ? (_error$lineNode = error.lineNode) !== null && _error$lineNode !== void 0 ? _error$lineNode : childNodes.item(error.lineIndex) : null;
881
+ var selection = document.getSelection();
882
+ if (selection && node instanceof HTMLParagraphElement) {
883
+ this.setState({
884
+ visibleErrorPopper: false
885
+ });
886
+ setTimeout(function() {
887
+ var text = node.childNodes.item(0);
888
+ if (text instanceof Text) {
889
+ _this11.setSelection(text, 0, text.length);
890
+ } else {
891
+ _this11.setSelection(node, 0, 1);
892
+ }
893
+ }, 150);
894
+ }
513
895
  }
514
896
  }, {
515
897
  key: "validateLine",
516
- value: function(e) {
517
- var i = this.asProps.lineValidation;
518
- if (i && e instanceof HTMLElement) {
519
- var r, t = i((r = e.textContent) !== null && r !== void 0 ? r : "", this.getValues()), a = t.isValid, n = t.errorMessage;
520
- return a ? (e.removeAttribute("aria-invalid"), e.dataset.errormessage = void 0) : (e.setAttribute("aria-invalid", "true"), e.dataset.errormessage = n), a;
898
+ value: function validateLine(node) {
899
+ var lineValidation = this.asProps.lineValidation;
900
+ if (lineValidation && node instanceof HTMLElement) {
901
+ var _node$textContent3;
902
+ var _lineValidation = lineValidation((_node$textContent3 = node.textContent) !== null && _node$textContent3 !== void 0 ? _node$textContent3 : "", this.getValues()), isValid = _lineValidation.isValid, errorMessage = _lineValidation.errorMessage;
903
+ if (!isValid) {
904
+ node.setAttribute("aria-invalid", "true");
905
+ node.dataset.errormessage = errorMessage;
906
+ } else {
907
+ node.removeAttribute("aria-invalid");
908
+ node.dataset.errormessage = void 0;
909
+ }
910
+ return isValid;
521
911
  }
522
- return !0;
912
+ return true;
523
913
  }
524
914
  }, {
525
915
  key: "setSelection",
526
- value: function(e, i, r) {
527
- var t = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "center", a = document.getSelection(), n = document.createRange();
528
- n.setStart(e, i), n.setEnd(e, r), a == null || a.removeAllRanges(), a == null || a.addRange(n);
529
- var l = e instanceof Text ? e.parentNode : e;
530
- l instanceof HTMLElement && l.scrollIntoView({
531
- block: t,
532
- inline: t,
533
- behavior: "smooth"
534
- });
916
+ value: function setSelection(node, start, end) {
917
+ var scrollType = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "center";
918
+ var selection = document.getSelection();
919
+ var range = document.createRange();
920
+ range.setStart(node, start);
921
+ range.setEnd(node, end);
922
+ selection === null || selection === void 0 ? void 0 : selection.removeAllRanges();
923
+ selection === null || selection === void 0 ? void 0 : selection.addRange(range);
924
+ var nodeToScroll = node instanceof Text ? node.parentNode : node;
925
+ if (nodeToScroll instanceof HTMLElement) {
926
+ nodeToScroll.scrollIntoView({
927
+ block: scrollType,
928
+ inline: scrollType,
929
+ behavior: "smooth"
930
+ });
931
+ }
535
932
  }
536
933
  }, {
537
934
  key: "getNodeFromSelection",
538
- value: function() {
539
- var e = document.getSelection(), i = (e == null ? void 0 : e.focusNode) instanceof Text ? e.focusNode.parentNode : e == null ? void 0 : e.focusNode;
540
- return i ?? null;
935
+ value: function getNodeFromSelection() {
936
+ var selection = document.getSelection();
937
+ var rowNode = (selection === null || selection === void 0 ? void 0 : selection.focusNode) instanceof Text ? selection.focusNode.parentNode : selection === null || selection === void 0 ? void 0 : selection.focusNode;
938
+ return rowNode !== null && rowNode !== void 0 ? rowNode : null;
541
939
  }
542
940
  }, {
543
941
  key: "handleCursorMovement",
544
- value: function(e, i) {
545
- var r = null;
546
- switch (i.key) {
942
+ value: function handleCursorMovement(currentNode, event) {
943
+ var nextNode = null;
944
+ switch (event.key) {
547
945
  case "ArrowUp":
548
- i.preventDefault(), r = e.previousSibling;
946
+ event.preventDefault();
947
+ nextNode = currentNode.previousSibling;
549
948
  break;
550
949
  case "ArrowDown":
551
- i.preventDefault(), r = e.nextSibling;
950
+ event.preventDefault();
951
+ nextNode = currentNode.nextSibling;
552
952
  break;
553
953
  case "ArrowLeft": {
554
- e.textContent === this.getEmptyParagraph().textContent && (i.preventDefault(), r = e.previousSibling);
954
+ if (currentNode.textContent === this.getEmptyParagraph().textContent) {
955
+ event.preventDefault();
956
+ nextNode = currentNode.previousSibling;
957
+ }
555
958
  break;
556
959
  }
557
- case "ArrowRight":
558
- e.textContent === this.getEmptyParagraph().textContent && (i.preventDefault(), r = e.nextSibling);
960
+ case "ArrowRight": {
961
+ if (currentNode.textContent === this.getEmptyParagraph().textContent) {
962
+ event.preventDefault();
963
+ nextNode = currentNode.nextSibling;
964
+ }
965
+ }
559
966
  }
560
- if (r instanceof HTMLParagraphElement) {
561
- var t, a, n, l = document.getSelection(), d = r.childNodes.item(0), g = d instanceof Text ? d : r, b = (t = (a = r.textContent) === null || a === void 0 ? void 0 : a.trim()) !== null && t !== void 0 ? t : "", h = (n = l == null ? void 0 : l.focusOffset) !== null && n !== void 0 ? n : 0, u = h <= b.length ? h : b.length;
562
- i.key === "ArrowLeft" ? u = b.length : i.key === "ArrowRight" && (u = 0), this.setSelection(g, u, u, "nearest");
967
+ if (nextNode instanceof HTMLParagraphElement) {
968
+ var _nextNode$textContent, _nextNode$textContent2, _selection$focusOffse;
969
+ var selection = document.getSelection();
970
+ var firstNode = nextNode.childNodes.item(0);
971
+ var nodeToSetSelection = firstNode instanceof Text ? firstNode : nextNode;
972
+ var textNode = (_nextNode$textContent = (_nextNode$textContent2 = nextNode.textContent) === null || _nextNode$textContent2 === void 0 ? void 0 : _nextNode$textContent2.trim()) !== null && _nextNode$textContent !== void 0 ? _nextNode$textContent : "";
973
+ var currentOffset = (_selection$focusOffse = selection === null || selection === void 0 ? void 0 : selection.focusOffset) !== null && _selection$focusOffse !== void 0 ? _selection$focusOffse : 0;
974
+ var offset = currentOffset <= textNode.length ? currentOffset : textNode.length;
975
+ if (event.key === "ArrowLeft") {
976
+ offset = textNode.length;
977
+ } else if (event.key === "ArrowRight") {
978
+ offset = 0;
979
+ }
980
+ this.setSelection(nodeToSetSelection, offset, offset, "nearest");
563
981
  }
564
982
  }
565
983
  }, {
566
984
  key: "setErrorIndex",
567
- value: function(e) {
568
- var i = Array.from(this.textarea.childNodes).filter(function(r) {
569
- return r instanceof Element && r.getAttribute("aria-invalid") === "true";
570
- }).findIndex(function(r) {
571
- return r === e;
985
+ value: function setErrorIndex(nodeToCompare) {
986
+ var errorIndex = Array.from(this.textarea.childNodes).filter(function(node) {
987
+ return node instanceof Element && node.getAttribute("aria-invalid") === "true";
988
+ }).findIndex(function(node) {
989
+ return node === nodeToCompare;
572
990
  });
573
- this.handlers.errorIndex(i);
991
+ this.handlers.errorIndex(errorIndex);
574
992
  }
575
993
  }, {
576
994
  key: "isDeleteKey",
577
- value: function(e) {
578
- return e.key === "Backspace" || e.key === "x" && (e.ctrlKey || e.metaKey);
995
+ value: function isDeleteKey(event) {
996
+ return event.key === "Backspace" || event.key === "x" && (event.ctrlKey || event.metaKey);
579
997
  }
580
998
  }, {
581
999
  key: "getEmptyParagraph",
582
- value: function() {
583
- var e = document.createElement("p");
584
- return e.innerHTML = this.emptyLineValue, e;
1000
+ value: function getEmptyParagraph() {
1001
+ var element = document.createElement("p");
1002
+ element.innerHTML = this.emptyLineValue;
1003
+ return element;
585
1004
  }
586
1005
  }, {
587
1006
  key: "addEventListeners",
588
- value: function(e) {
589
- e.addEventListener("paste", this.handlePaste), e.addEventListener("input", this.handleChange), e.addEventListener("focus", this.handleFocus), e.addEventListener("blur", this.handleBlur), e.addEventListener("keydown", this.handleKeyDown), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("mousemove", this.handleMouseMove), e.addEventListener("mouseleave", this.handleMouseLeave), e.addEventListener("scroll", this.handleScroll), e.removeEventListener("keydown", this.handleSelectAll);
1007
+ value: function addEventListeners(textarea) {
1008
+ textarea.addEventListener("paste", this.handlePaste);
1009
+ textarea.addEventListener("input", this.handleChange);
1010
+ textarea.addEventListener("focus", this.handleFocus);
1011
+ textarea.addEventListener("blur", this.handleBlur);
1012
+ textarea.addEventListener("keydown", this.handleKeyDown);
1013
+ textarea.addEventListener("mousedown", this.handleMouseDown);
1014
+ textarea.addEventListener("mousemove", this.handleMouseMove);
1015
+ textarea.addEventListener("mouseleave", this.handleMouseLeave);
1016
+ textarea.addEventListener("scroll", this.handleScroll);
1017
+ textarea.removeEventListener("keydown", this.handleSelectAll);
590
1018
  }
591
1019
  }, {
592
1020
  key: "removeEventListeners",
593
- value: function(e) {
594
- e.removeEventListener("paste", this.handlePaste), e.removeEventListener("input", this.handleChange), e.removeEventListener("focus", this.handleFocus), e.removeEventListener("blur", this.handleBlur), e.removeEventListener("keydown", this.handleKeyDown), e.removeEventListener("mousedown", this.handleMouseDown), e.removeEventListener("mousemove", this.handleMouseMove), e.removeEventListener("mouseleave", this.handleMouseLeave), e.removeEventListener("scroll", this.handleScroll), e.addEventListener("keydown", this.handleSelectAll);
1021
+ value: function removeEventListeners(textarea) {
1022
+ textarea.removeEventListener("paste", this.handlePaste);
1023
+ textarea.removeEventListener("input", this.handleChange);
1024
+ textarea.removeEventListener("focus", this.handleFocus);
1025
+ textarea.removeEventListener("blur", this.handleBlur);
1026
+ textarea.removeEventListener("keydown", this.handleKeyDown);
1027
+ textarea.removeEventListener("mousedown", this.handleMouseDown);
1028
+ textarea.removeEventListener("mousemove", this.handleMouseMove);
1029
+ textarea.removeEventListener("mouseleave", this.handleMouseLeave);
1030
+ textarea.removeEventListener("scroll", this.handleScroll);
1031
+ textarea.addEventListener("keydown", this.handleSelectAll);
595
1032
  }
596
1033
  }, {
597
1034
  key: "handleSelectAll",
598
- value: function(e) {
599
- if (e.key === "a" && (e.metaKey || e.ctrlKey)) {
600
- e.preventDefault();
601
- var i = e.target;
602
- i instanceof HTMLElement && i === this.textarea && this.setSelection(i, 0, i.childNodes.length);
1035
+ value: function handleSelectAll(event) {
1036
+ if (event.key === "a" && (event.metaKey || event.ctrlKey)) {
1037
+ event.preventDefault();
1038
+ var node = event.target;
1039
+ if (node instanceof HTMLElement && node === this.textarea) {
1040
+ this.setSelection(node, 0, node.childNodes.length);
1041
+ }
603
1042
  }
604
1043
  }
605
1044
  }, {
606
1045
  key: "isRangeSelection",
607
- value: function() {
608
- var e = document.getSelection();
609
- return (e == null ? void 0 : e.focusNode) !== (e == null ? void 0 : e.anchorNode) || (e == null ? void 0 : e.focusOffset) !== (e == null ? void 0 : e.anchorOffset);
1046
+ value: function isRangeSelection() {
1047
+ var selection = document.getSelection();
1048
+ return (selection === null || selection === void 0 ? void 0 : selection.focusNode) !== (selection === null || selection === void 0 ? void 0 : selection.anchorNode) || (selection === null || selection === void 0 ? void 0 : selection.focusOffset) !== (selection === null || selection === void 0 ? void 0 : selection.anchorOffset);
610
1049
  }
611
1050
  }, {
612
1051
  key: "getSelectionDirection",
613
- value: function() {
614
- var e = document.getSelection();
615
- if (e != null && e.anchorNode && e !== null && e !== void 0 && e.focusNode) {
616
- var i = e.anchorNode.compareDocumentPosition(e.focusNode);
617
- return i === 0 && e.anchorOffset > e.focusOffset || // if nodes are the same
618
- i === Node.DOCUMENT_POSITION_PRECEDING ? "backward" : "forward";
1052
+ value: function getSelectionDirection() {
1053
+ var selection = document.getSelection();
1054
+ if (selection !== null && selection !== void 0 && selection.anchorNode && selection !== null && selection !== void 0 && selection.focusNode) {
1055
+ var documentPosition = selection.anchorNode.compareDocumentPosition(selection.focusNode);
1056
+ if (documentPosition === 0 && selection.anchorOffset > selection.focusOffset || // if nodes are the same
1057
+ documentPosition === Node.DOCUMENT_POSITION_PRECEDING) {
1058
+ return "backward";
1059
+ }
1060
+ return "forward";
619
1061
  }
620
1062
  return null;
621
1063
  }
622
- }]), K;
623
- }(he);
624
- E(Y, "displayName", "Textarea");
625
- E(Y, "style", me);
626
- E(Y, "enhance", [pe()]);
627
- E(Y, "defaultProps", {
1064
+ }]);
1065
+ return InputField2;
1066
+ }(Component);
1067
+ _defineProperty(InputField, "displayName", "Textarea");
1068
+ _defineProperty(InputField, "style", style);
1069
+ _defineProperty(InputField, "enhance", [uniqueIDEnhancement()]);
1070
+ _defineProperty(InputField, "defaultProps", {
628
1071
  defaultValue: "",
629
1072
  size: "m",
630
1073
  state: "normal",
631
1074
  minRows: 2,
632
1075
  maxRows: 10,
633
- defaultShowErrors: !1,
1076
+ defaultShowErrors: false,
634
1077
  defaultErrorIndex: -1,
635
1078
  defaultLinesCount: 0
636
1079
  });
637
1080
  export {
638
- Y as InputField
1081
+ InputField
639
1082
  };