intergalactic 15.107.0 → 15.108.0-prerelease.1

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 (639) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/accordion/lib/cjs/Accordion.js +9 -9
  3. package/accordion/lib/es6/Accordion.js +9 -9
  4. package/accordion/package.json +1 -1
  5. package/animation/lib/cjs/Animation.js +11 -11
  6. package/animation/lib/cjs/Collapse.js +28 -28
  7. package/animation/lib/cjs/FadeInOut.js +28 -28
  8. package/animation/lib/cjs/Scale.js +28 -28
  9. package/animation/lib/cjs/Slide.js +28 -28
  10. package/animation/lib/cjs/Transform.js +28 -28
  11. package/animation/lib/es6/Animation.js +11 -11
  12. package/animation/lib/es6/Collapse.js +28 -28
  13. package/animation/lib/es6/FadeInOut.js +28 -28
  14. package/animation/lib/es6/Scale.js +28 -28
  15. package/animation/lib/es6/Slide.js +28 -28
  16. package/animation/lib/es6/Transform.js +28 -28
  17. package/animation/package.json +1 -1
  18. package/badge/lib/cjs/Badge.js +6 -6
  19. package/badge/lib/es6/Badge.js +6 -6
  20. package/badge/package.json +1 -1
  21. package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
  22. package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
  23. package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
  24. package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
  25. package/base-trigger/lib/es6/BaseTrigger.js +18 -18
  26. package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
  27. package/base-trigger/lib/es6/FilterTrigger.js +7 -7
  28. package/base-trigger/lib/es6/LinkTrigger.js +12 -12
  29. package/base-trigger/package.json +1 -1
  30. package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
  31. package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
  32. package/breadcrumbs/package.json +1 -1
  33. package/breakpoints/package.json +1 -1
  34. package/button/component/AbstractButton/AbstractButton.d.ts +24 -0
  35. package/button/component/AbstractButton/AbstractButton.type.d.ts +39 -0
  36. package/button/component/AbstractButton/SpinButton.d.ts +3 -0
  37. package/button/component/Button/Button.d.ts +3 -0
  38. package/button/component/Button/Button.type.d.ts +39 -0
  39. package/button/component/ButtonLink/ButtonLink.d.ts +2 -0
  40. package/button/component/ButtonLink/ButtonLink.type.d.ts +25 -0
  41. package/button/index.d.ts +5 -68
  42. package/button/lib/cjs/component/AbstractButton/AbstractButton.js +182 -0
  43. package/button/lib/cjs/component/AbstractButton/AbstractButton.js.map +1 -0
  44. package/button/lib/cjs/component/AbstractButton/AbstractButton.type.js +2 -0
  45. package/button/lib/cjs/component/AbstractButton/AbstractButton.type.js.map +1 -0
  46. package/button/lib/cjs/component/AbstractButton/SpinButton.js.map +1 -0
  47. package/button/lib/cjs/component/Button/Button.js +94 -0
  48. package/button/lib/cjs/component/Button/Button.js.map +1 -0
  49. package/button/lib/cjs/component/Button/Button.type.js +2 -0
  50. package/button/lib/cjs/component/Button/Button.type.js.map +1 -0
  51. package/button/lib/cjs/{style → component/Button}/button.shadow.css +1 -1
  52. package/button/lib/cjs/component/ButtonLink/ButtonLink.js +92 -0
  53. package/button/lib/cjs/component/ButtonLink/ButtonLink.js.map +1 -0
  54. package/button/lib/cjs/component/ButtonLink/ButtonLink.type.js +2 -0
  55. package/button/lib/cjs/component/ButtonLink/ButtonLink.type.js.map +1 -0
  56. package/button/lib/cjs/component/ButtonLink/buttonLink.shadow.css +160 -0
  57. package/button/lib/cjs/index.js +40 -6
  58. package/button/lib/cjs/index.js.map +1 -1
  59. package/button/lib/es6/component/AbstractButton/AbstractButton.js +175 -0
  60. package/button/lib/es6/component/AbstractButton/AbstractButton.js.map +1 -0
  61. package/button/lib/es6/component/AbstractButton/AbstractButton.type.js +2 -0
  62. package/button/lib/es6/component/AbstractButton/AbstractButton.type.js.map +1 -0
  63. package/button/lib/es6/component/AbstractButton/SpinButton.js.map +1 -0
  64. package/button/lib/es6/component/Button/Button.js +87 -0
  65. package/button/lib/es6/component/Button/Button.js.map +1 -0
  66. package/button/lib/es6/component/Button/Button.type.js +2 -0
  67. package/button/lib/es6/component/Button/Button.type.js.map +1 -0
  68. package/button/lib/es6/{style → component/Button}/button.shadow.css +1 -1
  69. package/button/lib/es6/component/ButtonLink/ButtonLink.js +85 -0
  70. package/button/lib/es6/component/ButtonLink/ButtonLink.js.map +1 -0
  71. package/button/lib/es6/component/ButtonLink/ButtonLink.type.js +2 -0
  72. package/button/lib/es6/component/ButtonLink/ButtonLink.type.js.map +1 -0
  73. package/button/lib/es6/component/ButtonLink/buttonLink.shadow.css +160 -0
  74. package/button/lib/es6/index.js +5 -2
  75. package/button/lib/es6/index.js.map +1 -1
  76. package/button/lib/types/component/AbstractButton/AbstractButton.d.ts +24 -0
  77. package/button/lib/types/component/AbstractButton/AbstractButton.type.d.ts +39 -0
  78. package/button/lib/types/component/AbstractButton/SpinButton.d.ts +3 -0
  79. package/button/lib/types/component/Button/Button.d.ts +3 -0
  80. package/button/lib/types/component/Button/Button.type.d.ts +39 -0
  81. package/button/lib/types/component/ButtonLink/ButtonLink.d.ts +2 -0
  82. package/button/lib/types/component/ButtonLink/ButtonLink.type.d.ts +25 -0
  83. package/button/lib/types/index.d.ts +5 -68
  84. package/button/package.json +1 -1
  85. package/card/lib/cjs/Card.js +19 -22
  86. package/card/lib/cjs/Card.js.map +1 -1
  87. package/card/lib/cjs/style/card.shadow.css +13 -15
  88. package/card/lib/es6/Card.js +19 -22
  89. package/card/lib/es6/Card.js.map +1 -1
  90. package/card/lib/es6/style/card.shadow.css +13 -15
  91. package/card/package.json +1 -1
  92. package/carousel/lib/cjs/Carousel.js +79 -57
  93. package/carousel/lib/cjs/Carousel.js.map +1 -1
  94. package/carousel/lib/cjs/style/carousel.shadow.css +48 -4
  95. package/carousel/lib/cjs/translations/de.json +4 -2
  96. package/carousel/lib/cjs/translations/en.json +4 -2
  97. package/carousel/lib/cjs/translations/es.json +4 -2
  98. package/carousel/lib/cjs/translations/fr.json +4 -2
  99. package/carousel/lib/cjs/translations/it.json +4 -2
  100. package/carousel/lib/cjs/translations/ja.json +4 -2
  101. package/carousel/lib/cjs/translations/ko.json +4 -2
  102. package/carousel/lib/cjs/translations/nl.json +4 -2
  103. package/carousel/lib/cjs/translations/pl.json +4 -2
  104. package/carousel/lib/cjs/translations/pt.json +4 -2
  105. package/carousel/lib/cjs/translations/sv.json +4 -2
  106. package/carousel/lib/cjs/translations/tr.json +4 -2
  107. package/carousel/lib/cjs/translations/vi.json +4 -2
  108. package/carousel/lib/cjs/translations/zh.json +4 -2
  109. package/carousel/lib/es6/Carousel.js +79 -57
  110. package/carousel/lib/es6/Carousel.js.map +1 -1
  111. package/carousel/lib/es6/style/carousel.shadow.css +48 -4
  112. package/carousel/lib/es6/translations/de.json +4 -2
  113. package/carousel/lib/es6/translations/en.json +4 -2
  114. package/carousel/lib/es6/translations/es.json +4 -2
  115. package/carousel/lib/es6/translations/fr.json +4 -2
  116. package/carousel/lib/es6/translations/it.json +4 -2
  117. package/carousel/lib/es6/translations/ja.json +4 -2
  118. package/carousel/lib/es6/translations/ko.json +4 -2
  119. package/carousel/lib/es6/translations/nl.json +4 -2
  120. package/carousel/lib/es6/translations/pl.json +4 -2
  121. package/carousel/lib/es6/translations/pt.json +4 -2
  122. package/carousel/lib/es6/translations/sv.json +4 -2
  123. package/carousel/lib/es6/translations/tr.json +4 -2
  124. package/carousel/lib/es6/translations/vi.json +4 -2
  125. package/carousel/lib/es6/translations/zh.json +4 -2
  126. package/carousel/lib/types/translations/__intergalactic-dynamic-locales.d.ts +28 -0
  127. package/carousel/package.json +1 -1
  128. package/carousel/translations/__intergalactic-dynamic-locales.d.ts +28 -0
  129. package/checkbox/lib/cjs/Checkbox.js +18 -18
  130. package/checkbox/lib/es6/Checkbox.js +18 -18
  131. package/checkbox/package.json +1 -1
  132. package/color-picker/lib/cjs/ColorPicker.js +24 -24
  133. package/color-picker/lib/cjs/PaletteManager.js +24 -24
  134. package/color-picker/lib/cjs/components/InputColor.js +24 -24
  135. package/color-picker/lib/es6/ColorPicker.js +24 -24
  136. package/color-picker/lib/es6/PaletteManager.js +24 -24
  137. package/color-picker/lib/es6/components/InputColor.js +24 -24
  138. package/color-picker/package.json +1 -1
  139. package/components.json +73 -73
  140. package/core/package.json +1 -1
  141. package/counter/lib/cjs/Counter.js +11 -11
  142. package/counter/lib/es6/Counter.js +11 -11
  143. package/counter/package.json +1 -1
  144. package/d3-chart/lib/cjs/Area.js +11 -11
  145. package/d3-chart/lib/cjs/Axis.js +14 -14
  146. package/d3-chart/lib/cjs/Bar.js +16 -16
  147. package/d3-chart/lib/cjs/Bubble.js +12 -12
  148. package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
  149. package/d3-chart/lib/cjs/Donut.js +9 -9
  150. package/d3-chart/lib/cjs/Dots.js +8 -8
  151. package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
  152. package/d3-chart/lib/cjs/Hover.js +3 -3
  153. package/d3-chart/lib/cjs/Line.js +9 -9
  154. package/d3-chart/lib/cjs/Plot.js +3 -3
  155. package/d3-chart/lib/cjs/Radar.js +19 -19
  156. package/d3-chart/lib/cjs/RadialTree.js +12 -12
  157. package/d3-chart/lib/cjs/Reference.js +12 -12
  158. package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
  159. package/d3-chart/lib/cjs/Tooltip.js +9 -9
  160. package/d3-chart/lib/cjs/Venn.js +9 -9
  161. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  162. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
  163. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  164. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  165. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  166. package/d3-chart/lib/es6/Area.js +11 -11
  167. package/d3-chart/lib/es6/Axis.js +14 -14
  168. package/d3-chart/lib/es6/Bar.js +16 -16
  169. package/d3-chart/lib/es6/Bubble.js +12 -12
  170. package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
  171. package/d3-chart/lib/es6/Donut.js +9 -9
  172. package/d3-chart/lib/es6/Dots.js +8 -8
  173. package/d3-chart/lib/es6/HorizontalBar.js +16 -16
  174. package/d3-chart/lib/es6/Hover.js +3 -3
  175. package/d3-chart/lib/es6/Line.js +9 -9
  176. package/d3-chart/lib/es6/Plot.js +3 -3
  177. package/d3-chart/lib/es6/Radar.js +19 -19
  178. package/d3-chart/lib/es6/RadialTree.js +12 -12
  179. package/d3-chart/lib/es6/Reference.js +12 -12
  180. package/d3-chart/lib/es6/ScatterPlot.js +9 -9
  181. package/d3-chart/lib/es6/Tooltip.js +9 -9
  182. package/d3-chart/lib/es6/Venn.js +9 -9
  183. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  184. package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
  185. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  186. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  187. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  188. package/d3-chart/package.json +1 -1
  189. package/data-table/Body.d.ts +4 -1
  190. package/data-table/DataTable.d.ts +15 -58
  191. package/data-table/Head.d.ts +8 -2
  192. package/data-table/lib/cjs/Body.js +62 -12
  193. package/data-table/lib/cjs/Body.js.map +1 -1
  194. package/data-table/lib/cjs/DataTable.js +206 -45
  195. package/data-table/lib/cjs/DataTable.js.map +1 -1
  196. package/data-table/lib/cjs/Head.js +87 -16
  197. package/data-table/lib/cjs/Head.js.map +1 -1
  198. package/data-table/lib/cjs/style/data-table.shadow.css +14 -0
  199. package/data-table/lib/cjs/translations/__intergalactic-dynamic-locales.js +39 -0
  200. package/data-table/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -0
  201. package/data-table/lib/cjs/translations/de.json +3 -0
  202. package/data-table/lib/cjs/translations/en.json +3 -0
  203. package/data-table/lib/cjs/translations/es.json +3 -0
  204. package/data-table/lib/cjs/translations/fr.json +3 -0
  205. package/data-table/lib/cjs/translations/it.json +3 -0
  206. package/data-table/lib/cjs/translations/ja.json +3 -0
  207. package/data-table/lib/cjs/translations/ko.json +3 -0
  208. package/data-table/lib/cjs/translations/nl.json +3 -0
  209. package/data-table/lib/cjs/translations/pl.json +3 -0
  210. package/data-table/lib/cjs/translations/pt.json +3 -0
  211. package/data-table/lib/cjs/translations/sv.json +3 -0
  212. package/data-table/lib/cjs/translations/tr.json +3 -0
  213. package/data-table/lib/cjs/translations/vi.json +3 -0
  214. package/data-table/lib/cjs/translations/zh.json +3 -0
  215. package/data-table/lib/cjs/types.js.map +1 -1
  216. package/data-table/lib/es6/Body.js +62 -12
  217. package/data-table/lib/es6/Body.js.map +1 -1
  218. package/data-table/lib/es6/DataTable.js +207 -45
  219. package/data-table/lib/es6/DataTable.js.map +1 -1
  220. package/data-table/lib/es6/Head.js +87 -16
  221. package/data-table/lib/es6/Head.js.map +1 -1
  222. package/data-table/lib/es6/style/data-table.shadow.css +14 -0
  223. package/data-table/lib/es6/translations/__intergalactic-dynamic-locales.js +31 -0
  224. package/data-table/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -0
  225. package/data-table/lib/es6/translations/de.json +3 -0
  226. package/data-table/lib/es6/translations/en.json +3 -0
  227. package/data-table/lib/es6/translations/es.json +3 -0
  228. package/data-table/lib/es6/translations/fr.json +3 -0
  229. package/data-table/lib/es6/translations/it.json +3 -0
  230. package/data-table/lib/es6/translations/ja.json +3 -0
  231. package/data-table/lib/es6/translations/ko.json +3 -0
  232. package/data-table/lib/es6/translations/nl.json +3 -0
  233. package/data-table/lib/es6/translations/pl.json +3 -0
  234. package/data-table/lib/es6/translations/pt.json +3 -0
  235. package/data-table/lib/es6/translations/sv.json +3 -0
  236. package/data-table/lib/es6/translations/tr.json +3 -0
  237. package/data-table/lib/es6/translations/vi.json +3 -0
  238. package/data-table/lib/es6/translations/zh.json +3 -0
  239. package/data-table/lib/es6/types.js.map +1 -1
  240. package/data-table/lib/types/Body.d.ts +4 -1
  241. package/data-table/lib/types/DataTable.d.ts +15 -58
  242. package/data-table/lib/types/Head.d.ts +8 -2
  243. package/data-table/lib/types/translations/__intergalactic-dynamic-locales.d.ts +44 -0
  244. package/data-table/lib/types/types.d.ts +2 -0
  245. package/data-table/package.json +1 -1
  246. package/data-table/translations/__intergalactic-dynamic-locales.d.ts +44 -0
  247. package/data-table/types.d.ts +2 -0
  248. package/date-picker/lib/cjs/components/Calendar.js +21 -21
  249. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
  250. package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
  251. package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
  252. package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
  253. package/date-picker/lib/es6/components/Calendar.js +21 -21
  254. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
  255. package/date-picker/lib/es6/components/InputTrigger.js +29 -29
  256. package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
  257. package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
  258. package/date-picker/package.json +1 -1
  259. package/divider/lib/cjs/Divider.js +10 -10
  260. package/divider/lib/es6/Divider.js +10 -10
  261. package/divider/package.json +1 -1
  262. package/dot/lib/cjs/Dot.js +10 -10
  263. package/dot/lib/es6/Dot.js +10 -10
  264. package/dot/package.json +1 -1
  265. package/drag-and-drop/lib/cjs/DragAndDrop.js +16 -16
  266. package/drag-and-drop/lib/es6/DragAndDrop.js +16 -16
  267. package/drag-and-drop/package.json +1 -1
  268. package/dropdown/lib/cjs/Dropdown.js +2 -2
  269. package/dropdown/lib/es6/Dropdown.js +2 -2
  270. package/dropdown/package.json +1 -1
  271. package/dropdown-menu/lib/cjs/DropdownMenu.js +25 -25
  272. package/dropdown-menu/lib/cjs/DropdownMenuOld.js +21 -21
  273. package/dropdown-menu/lib/es6/DropdownMenu.js +25 -25
  274. package/dropdown-menu/lib/es6/DropdownMenuOld.js +21 -21
  275. package/dropdown-menu/package.json +1 -1
  276. package/ellipsis/lib/cjs/Ellipsis.js +10 -10
  277. package/ellipsis/lib/es6/Ellipsis.js +10 -10
  278. package/ellipsis/package.json +1 -1
  279. package/errors/lib/cjs/Error.js +9 -9
  280. package/errors/lib/es6/Error.js +9 -9
  281. package/errors/package.json +1 -1
  282. package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
  283. package/feature-popover/lib/es6/FeaturePopover.js +11 -11
  284. package/feature-popover/package.json +1 -1
  285. package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
  286. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
  287. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
  288. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +6 -6
  289. package/feedback-form/lib/es6/FeedbackForm.js +7 -7
  290. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
  291. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
  292. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +6 -6
  293. package/feedback-form/package.json +1 -1
  294. package/flags/lib/cjs/Flags.js +3 -3
  295. package/flags/lib/es6/Flags.js +3 -3
  296. package/flags/lib/sprites/sprite@1x.css +256 -256
  297. package/flags/lib/sprites/sprite@2x.css +257 -257
  298. package/flags/package.json +1 -1
  299. package/flex-box/lib/cjs/Box/useBox.js +3 -3
  300. package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
  301. package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
  302. package/flex-box/lib/es6/Box/useBox.js +3 -3
  303. package/flex-box/lib/es6/Flex/useFlex.js +3 -3
  304. package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
  305. package/flex-box/package.json +1 -1
  306. package/format-text/lib/cjs/FormatText.js +5 -5
  307. package/format-text/lib/es6/FormatText.js +5 -5
  308. package/format-text/package.json +1 -1
  309. package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
  310. package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
  311. package/fullscreen-modal/package.json +1 -1
  312. package/grid/lib/cjs/Grid.js +114 -114
  313. package/grid/lib/es6/Grid.js +114 -114
  314. package/grid/package.json +1 -1
  315. package/i18n-unplugin/package.json +1 -1
  316. package/icon/color/Confluence/l/index.js +4 -4
  317. package/icon/color/Confluence/l/index.mjs +4 -4
  318. package/icon/color/Confluence/m/index.js +4 -4
  319. package/icon/color/Confluence/m/index.mjs +4 -4
  320. package/icon/color/MicrosoftOffice/l/index.js +10 -10
  321. package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
  322. package/icon/color/MicrosoftOffice/m/index.js +10 -10
  323. package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
  324. package/icon/lib/cjs/Icon.js +6 -6
  325. package/icon/lib/es6/Icon.js +6 -6
  326. package/icon/package.json +1 -1
  327. package/icon/pay/Discover/l/index.js +1 -1
  328. package/icon/pay/Discover/l/index.mjs +1 -1
  329. package/icon/pay/Discover/m/index.js +1 -1
  330. package/icon/pay/Discover/m/index.mjs +1 -1
  331. package/icon/pay/JCB/l/index.js +10 -10
  332. package/icon/pay/JCB/l/index.mjs +10 -10
  333. package/icon/pay/JCB/m/index.js +10 -10
  334. package/icon/pay/JCB/m/index.mjs +10 -10
  335. package/icon/pay/Visa/l/index.js +2 -2
  336. package/icon/pay/Visa/l/index.mjs +2 -2
  337. package/icon/pay/Visa/m/index.js +2 -2
  338. package/icon/pay/Visa/m/index.mjs +2 -2
  339. package/illustration/lib/cjs/index.js +1 -1
  340. package/illustration/lib/es6/index.js +1 -1
  341. package/illustration/package.json +1 -1
  342. package/inline-edit/lib/cjs/InlineEdit.js +4 -4
  343. package/inline-edit/lib/es6/InlineEdit.js +4 -4
  344. package/inline-edit/package.json +1 -1
  345. package/inline-input/index.d.ts +11 -2
  346. package/inline-input/lib/cjs/InlineInput.js +31 -35
  347. package/inline-input/lib/cjs/InlineInput.js.map +1 -1
  348. package/inline-input/lib/cjs/index.d.js.map +1 -1
  349. package/inline-input/lib/cjs/style/inline-input.shadow.css +1 -1
  350. package/inline-input/lib/es6/InlineInput.js +31 -35
  351. package/inline-input/lib/es6/InlineInput.js.map +1 -1
  352. package/inline-input/lib/es6/index.d.js.map +1 -1
  353. package/inline-input/lib/es6/style/inline-input.shadow.css +1 -1
  354. package/inline-input/lib/types/index.d.ts +11 -2
  355. package/inline-input/package.json +1 -1
  356. package/input/lib/cjs/Input.js +17 -17
  357. package/input/lib/es6/Input.js +17 -17
  358. package/input/package.json +1 -1
  359. package/input-mask/lib/cjs/InputMask.js +6 -6
  360. package/input-mask/lib/es6/InputMask.js +6 -6
  361. package/input-mask/package.json +1 -1
  362. package/input-number/lib/cjs/InputNumber.js +9 -9
  363. package/input-number/lib/es6/InputNumber.js +9 -9
  364. package/input-number/package.json +1 -1
  365. package/input-tags/InputTags.d.ts +1 -0
  366. package/input-tags/lib/cjs/InputTags.js +67 -36
  367. package/input-tags/lib/cjs/InputTags.js.map +1 -1
  368. package/input-tags/lib/cjs/style/input-tag.shadow.css +2 -2
  369. package/input-tags/lib/cjs/translations/__intergalactic-dynamic-locales.js +39 -0
  370. package/input-tags/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -0
  371. package/input-tags/lib/cjs/translations/de.json +3 -0
  372. package/input-tags/lib/cjs/translations/en.json +3 -0
  373. package/input-tags/lib/cjs/translations/es.json +3 -0
  374. package/input-tags/lib/cjs/translations/fr.json +3 -0
  375. package/input-tags/lib/cjs/translations/it.json +3 -0
  376. package/input-tags/lib/cjs/translations/ja.json +3 -0
  377. package/input-tags/lib/cjs/translations/ko.json +3 -0
  378. package/input-tags/lib/cjs/translations/nl.json +3 -0
  379. package/input-tags/lib/cjs/translations/pl.json +3 -0
  380. package/input-tags/lib/cjs/translations/pt.json +3 -0
  381. package/input-tags/lib/cjs/translations/sv.json +3 -0
  382. package/input-tags/lib/cjs/translations/tr.json +3 -0
  383. package/input-tags/lib/cjs/translations/vi.json +3 -0
  384. package/input-tags/lib/cjs/translations/zh.json +3 -0
  385. package/input-tags/lib/es6/InputTags.js +68 -36
  386. package/input-tags/lib/es6/InputTags.js.map +1 -1
  387. package/input-tags/lib/es6/style/input-tag.shadow.css +2 -2
  388. package/input-tags/lib/es6/translations/__intergalactic-dynamic-locales.js +31 -0
  389. package/input-tags/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -0
  390. package/input-tags/lib/es6/translations/de.json +3 -0
  391. package/input-tags/lib/es6/translations/en.json +3 -0
  392. package/input-tags/lib/es6/translations/es.json +3 -0
  393. package/input-tags/lib/es6/translations/fr.json +3 -0
  394. package/input-tags/lib/es6/translations/it.json +3 -0
  395. package/input-tags/lib/es6/translations/ja.json +3 -0
  396. package/input-tags/lib/es6/translations/ko.json +3 -0
  397. package/input-tags/lib/es6/translations/nl.json +3 -0
  398. package/input-tags/lib/es6/translations/pl.json +3 -0
  399. package/input-tags/lib/es6/translations/pt.json +3 -0
  400. package/input-tags/lib/es6/translations/sv.json +3 -0
  401. package/input-tags/lib/es6/translations/tr.json +3 -0
  402. package/input-tags/lib/es6/translations/vi.json +3 -0
  403. package/input-tags/lib/es6/translations/zh.json +3 -0
  404. package/input-tags/lib/types/InputTags.d.ts +1 -0
  405. package/input-tags/lib/types/translations/__intergalactic-dynamic-locales.d.ts +44 -0
  406. package/input-tags/package.json +1 -1
  407. package/input-tags/translations/__intergalactic-dynamic-locales.d.ts +44 -0
  408. package/link/lib/cjs/Link.js +12 -12
  409. package/link/lib/es6/Link.js +12 -12
  410. package/link/package.json +1 -1
  411. package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
  412. package/mini-chart/lib/cjs/component/score/Line.js +17 -17
  413. package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
  414. package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
  415. package/mini-chart/lib/es6/component/score/Donut.js +9 -9
  416. package/mini-chart/lib/es6/component/score/Line.js +17 -17
  417. package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
  418. package/mini-chart/lib/es6/component/trend/Line.js +7 -7
  419. package/mini-chart/package.json +1 -1
  420. package/modal/lib/cjs/Modal.js +8 -8
  421. package/modal/lib/es6/Modal.js +8 -8
  422. package/modal/package.json +1 -1
  423. package/neighbor-location/package.json +1 -1
  424. package/notice/lib/cjs/Notice.js +14 -14
  425. package/notice/lib/es6/Notice.js +14 -14
  426. package/notice/package.json +1 -1
  427. package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
  428. package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
  429. package/notice-bubble/package.json +1 -1
  430. package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
  431. package/notice-global/lib/es6/NoticeGlobal.js +11 -11
  432. package/notice-global/package.json +1 -1
  433. package/outside-click/package.json +1 -1
  434. package/package.json +1 -1
  435. package/pagination/lib/cjs/Pagination.js +12 -16
  436. package/pagination/lib/cjs/Pagination.js.map +1 -1
  437. package/pagination/lib/es6/Pagination.js +12 -16
  438. package/pagination/lib/es6/Pagination.js.map +1 -1
  439. package/pagination/package.json +1 -1
  440. package/pills/lib/cjs/Pills.js +13 -13
  441. package/pills/lib/es6/Pills.js +13 -13
  442. package/pills/package.json +1 -1
  443. package/popper/lib/cjs/Popper.js +6 -6
  444. package/popper/lib/es6/Popper.js +6 -6
  445. package/popper/package.json +1 -1
  446. package/portal/package.json +1 -1
  447. package/product-head/lib/cjs/Info.js +4 -4
  448. package/product-head/lib/cjs/ProductHead.js +5 -5
  449. package/product-head/lib/cjs/Title.js +4 -4
  450. package/product-head/lib/es6/Info.js +4 -4
  451. package/product-head/lib/es6/ProductHead.js +5 -5
  452. package/product-head/lib/es6/Title.js +4 -4
  453. package/product-head/package.json +1 -1
  454. package/progress-bar/lib/cjs/ProgressBar.js +15 -15
  455. package/progress-bar/lib/es6/ProgressBar.js +15 -15
  456. package/progress-bar/package.json +1 -1
  457. package/radio/lib/cjs/Radio.js +16 -16
  458. package/radio/lib/es6/Radio.js +16 -16
  459. package/radio/package.json +1 -1
  460. package/scroll-area/lib/cjs/ScrollArea.js +21 -21
  461. package/scroll-area/lib/cjs/ScrollBar.js +6 -6
  462. package/scroll-area/lib/es6/ScrollArea.js +21 -21
  463. package/scroll-area/lib/es6/ScrollBar.js +6 -6
  464. package/scroll-area/package.json +1 -1
  465. package/select/lib/cjs/InputSearch.js +6 -6
  466. package/select/lib/cjs/Select.js +8 -8
  467. package/select/lib/es6/InputSearch.js +6 -6
  468. package/select/lib/es6/Select.js +8 -8
  469. package/select/package.json +1 -1
  470. package/side-panel/lib/cjs/SidePanel.js +23 -28
  471. package/side-panel/lib/cjs/SidePanel.js.map +1 -1
  472. package/side-panel/lib/cjs/style/side-panel.shadow.css +8 -30
  473. package/side-panel/lib/es6/SidePanel.js +23 -28
  474. package/side-panel/lib/es6/SidePanel.js.map +1 -1
  475. package/side-panel/lib/es6/style/side-panel.shadow.css +8 -30
  476. package/side-panel/package.json +1 -1
  477. package/skeleton/lib/cjs/Charts/Area.js +9 -9
  478. package/skeleton/lib/cjs/Charts/Bar.js +9 -9
  479. package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
  480. package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
  481. package/skeleton/lib/cjs/Charts/Donut.js +9 -9
  482. package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
  483. package/skeleton/lib/cjs/Charts/Line.js +9 -9
  484. package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
  485. package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
  486. package/skeleton/lib/cjs/Charts/Venn.js +9 -9
  487. package/skeleton/lib/cjs/Skeleton.js +8 -8
  488. package/skeleton/lib/es6/Charts/Area.js +9 -9
  489. package/skeleton/lib/es6/Charts/Bar.js +9 -9
  490. package/skeleton/lib/es6/Charts/Bubble.js +9 -9
  491. package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
  492. package/skeleton/lib/es6/Charts/Donut.js +9 -9
  493. package/skeleton/lib/es6/Charts/Histogram.js +9 -9
  494. package/skeleton/lib/es6/Charts/Line.js +9 -9
  495. package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
  496. package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
  497. package/skeleton/lib/es6/Charts/Venn.js +9 -9
  498. package/skeleton/lib/es6/Skeleton.js +8 -8
  499. package/skeleton/package.json +1 -1
  500. package/slider/lib/cjs/Slider.js +8 -8
  501. package/slider/lib/es6/Slider.js +8 -8
  502. package/slider/package.json +1 -1
  503. package/spin/lib/cjs/Spin.js +13 -13
  504. package/spin/lib/es6/Spin.js +13 -13
  505. package/spin/package.json +1 -1
  506. package/spin-container/lib/cjs/SpinContainer.js +8 -8
  507. package/spin-container/lib/es6/SpinContainer.js +8 -8
  508. package/spin-container/package.json +1 -1
  509. package/sticky/lib/cjs/Sticky.js +2 -2
  510. package/sticky/lib/es6/Sticky.js +2 -2
  511. package/sticky/package.json +1 -1
  512. package/switch/lib/cjs/Switch.js +21 -21
  513. package/switch/lib/es6/Switch.js +21 -21
  514. package/switch/package.json +1 -1
  515. package/tab-line/lib/cjs/TabLine.js +13 -13
  516. package/tab-line/lib/es6/TabLine.js +13 -13
  517. package/tab-line/package.json +1 -1
  518. package/tab-panel/lib/cjs/TabPanel.js +8 -8
  519. package/tab-panel/lib/es6/TabPanel.js +8 -8
  520. package/tab-panel/package.json +1 -1
  521. package/tag/index.d.ts +2 -0
  522. package/tag/lib/cjs/Tag.js +167 -95
  523. package/tag/lib/cjs/Tag.js.map +1 -1
  524. package/tag/lib/cjs/index.d.js.map +1 -1
  525. package/tag/lib/cjs/style/tag.shadow.css +125 -90
  526. package/tag/lib/cjs/translations/de.json +1 -1
  527. package/tag/lib/cjs/translations/en.json +1 -1
  528. package/tag/lib/cjs/translations/es.json +1 -1
  529. package/tag/lib/cjs/translations/fr.json +1 -1
  530. package/tag/lib/cjs/translations/it.json +1 -1
  531. package/tag/lib/cjs/translations/ja.json +1 -1
  532. package/tag/lib/cjs/translations/ko.json +1 -1
  533. package/tag/lib/cjs/translations/nl.json +1 -1
  534. package/tag/lib/cjs/translations/pl.json +1 -1
  535. package/tag/lib/cjs/translations/pt.json +1 -1
  536. package/tag/lib/cjs/translations/sv.json +1 -1
  537. package/tag/lib/cjs/translations/tr.json +1 -1
  538. package/tag/lib/cjs/translations/vi.json +1 -1
  539. package/tag/lib/cjs/translations/zh.json +1 -1
  540. package/tag/lib/es6/Tag.js +168 -95
  541. package/tag/lib/es6/Tag.js.map +1 -1
  542. package/tag/lib/es6/index.d.js.map +1 -1
  543. package/tag/lib/es6/style/tag.shadow.css +125 -90
  544. package/tag/lib/es6/translations/de.json +1 -1
  545. package/tag/lib/es6/translations/en.json +1 -1
  546. package/tag/lib/es6/translations/es.json +1 -1
  547. package/tag/lib/es6/translations/fr.json +1 -1
  548. package/tag/lib/es6/translations/it.json +1 -1
  549. package/tag/lib/es6/translations/ja.json +1 -1
  550. package/tag/lib/es6/translations/ko.json +1 -1
  551. package/tag/lib/es6/translations/nl.json +1 -1
  552. package/tag/lib/es6/translations/pl.json +1 -1
  553. package/tag/lib/es6/translations/pt.json +1 -1
  554. package/tag/lib/es6/translations/sv.json +1 -1
  555. package/tag/lib/es6/translations/tr.json +1 -1
  556. package/tag/lib/es6/translations/vi.json +1 -1
  557. package/tag/lib/es6/translations/zh.json +1 -1
  558. package/tag/lib/types/index.d.ts +2 -0
  559. package/tag/package.json +1 -1
  560. package/textarea/lib/cjs/Textarea.js +8 -8
  561. package/textarea/lib/es6/Textarea.js +8 -8
  562. package/textarea/package.json +1 -1
  563. package/time-picker/lib/cjs/TimePicker.js +12 -12
  564. package/time-picker/lib/es6/TimePicker.js +12 -12
  565. package/time-picker/package.json +1 -1
  566. package/tooltip/lib/cjs/Tooltip.js +9 -9
  567. package/tooltip/lib/es6/Tooltip.js +9 -9
  568. package/tooltip/package.json +1 -1
  569. package/typography/lib/cjs/Blockquote.js +4 -4
  570. package/typography/lib/cjs/Hint.js +7 -7
  571. package/typography/lib/cjs/List.js +5 -5
  572. package/typography/lib/cjs/Text.js +34 -34
  573. package/typography/lib/es6/Blockquote.js +4 -4
  574. package/typography/lib/es6/Hint.js +7 -7
  575. package/typography/lib/es6/List.js +5 -5
  576. package/typography/lib/es6/Text.js +34 -34
  577. package/typography/package.json +1 -1
  578. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
  579. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
  580. package/utils/lib/focus-lock/isFocusable.js +6 -1
  581. package/utils/lib/focus-lock/isFocusable.js.map +1 -1
  582. package/utils/lib/focus-lock/isFocusable.mjs +6 -1
  583. package/utils/lib/focus-lock/isFocusable.mjs.map +1 -1
  584. package/utils/lib/injectStyle.js +1 -1
  585. package/utils/lib/injectStyle.mjs +1 -1
  586. package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
  587. package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
  588. package/widget-empty/package.json +1 -1
  589. package/wizard/index.d.ts +17 -0
  590. package/wizard/lib/cjs/Wizard.js +201 -47
  591. package/wizard/lib/cjs/Wizard.js.map +1 -1
  592. package/wizard/lib/cjs/index.d.js.map +1 -1
  593. package/wizard/lib/cjs/style/wizard.shadow.css +4 -0
  594. package/wizard/lib/cjs/translations/de.json +3 -1
  595. package/wizard/lib/cjs/translations/en.json +3 -1
  596. package/wizard/lib/cjs/translations/es.json +3 -1
  597. package/wizard/lib/cjs/translations/fr.json +3 -1
  598. package/wizard/lib/cjs/translations/it.json +3 -1
  599. package/wizard/lib/cjs/translations/ja.json +3 -1
  600. package/wizard/lib/cjs/translations/ko.json +3 -1
  601. package/wizard/lib/cjs/translations/nl.json +3 -1
  602. package/wizard/lib/cjs/translations/pl.json +3 -1
  603. package/wizard/lib/cjs/translations/pt.json +3 -1
  604. package/wizard/lib/cjs/translations/sv.json +3 -1
  605. package/wizard/lib/cjs/translations/tr.json +3 -1
  606. package/wizard/lib/cjs/translations/vi.json +3 -1
  607. package/wizard/lib/cjs/translations/zh.json +3 -1
  608. package/wizard/lib/es6/Wizard.js +203 -47
  609. package/wizard/lib/es6/Wizard.js.map +1 -1
  610. package/wizard/lib/es6/index.d.js.map +1 -1
  611. package/wizard/lib/es6/style/wizard.shadow.css +4 -0
  612. package/wizard/lib/es6/translations/de.json +3 -1
  613. package/wizard/lib/es6/translations/en.json +3 -1
  614. package/wizard/lib/es6/translations/es.json +3 -1
  615. package/wizard/lib/es6/translations/fr.json +3 -1
  616. package/wizard/lib/es6/translations/it.json +3 -1
  617. package/wizard/lib/es6/translations/ja.json +3 -1
  618. package/wizard/lib/es6/translations/ko.json +3 -1
  619. package/wizard/lib/es6/translations/nl.json +3 -1
  620. package/wizard/lib/es6/translations/pl.json +3 -1
  621. package/wizard/lib/es6/translations/pt.json +3 -1
  622. package/wizard/lib/es6/translations/sv.json +3 -1
  623. package/wizard/lib/es6/translations/tr.json +3 -1
  624. package/wizard/lib/es6/translations/vi.json +3 -1
  625. package/wizard/lib/es6/translations/zh.json +3 -1
  626. package/wizard/lib/types/index.d.ts +17 -0
  627. package/wizard/package.json +1 -1
  628. package/button/lib/cjs/Button.js +0 -237
  629. package/button/lib/cjs/Button.js.map +0 -1
  630. package/button/lib/cjs/SpinButton.js.map +0 -1
  631. package/button/lib/cjs/index.d.js +0 -2
  632. package/button/lib/cjs/index.d.js.map +0 -1
  633. package/button/lib/es6/Button.js +0 -231
  634. package/button/lib/es6/Button.js.map +0 -1
  635. package/button/lib/es6/SpinButton.js.map +0 -1
  636. package/button/lib/es6/index.d.js +0 -2
  637. package/button/lib/es6/index.d.js.map +0 -1
  638. /package/button/lib/cjs/{SpinButton.js → component/AbstractButton/SpinButton.js} +0 -0
  639. /package/button/lib/es6/{SpinButton.js → component/AbstractButton/SpinButton.js} +0 -0
@@ -8,23 +8,21 @@ SCard {
8
8
  --intergalactic-box-shadow-card,
9
9
  0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 1px 2px 0px rgba(25, 27, 35, 0.12)
10
10
  );
11
- }
12
11
 
13
- STitle {
14
- color: var(--intergalactic-text-primary, #191b23);
15
- font-size: var(--intergalactic-fs-300, 16px);
16
- line-height: var(--intergalactic-lh-300, 150%);
17
- font-weight: var(--intergalactic-bold, 700);
18
- margin-right: var(--intergalactic-spacing-1x, 4px);
19
- }
12
+ STitle {
13
+ color: var(--intergalactic-text-primary, #191b23);
14
+ font-size: var(--intergalactic-fs-300, 16px);
15
+ line-height: var(--intergalactic-lh-300, 150%);
16
+ font-weight: var(--intergalactic-bold, 700);
17
+ margin-right: var(--intergalactic-spacing-1x, 4px);
18
+ }
20
19
 
21
- SIcon {
22
- color: var(--intergalactic-icon-secondary-neutral, #a9abb6);
23
- cursor: help;
24
- margin-right: var(--intergalactic-spacing-1x, 4px);
25
- }
26
- STooltip {
27
- vertical-align: middle;
20
+ [data-ui-name='DescriptionTooltip.Trigger'] {
21
+ margin-right: var(--intergalactic-spacing-1x, 4px);
22
+ line-height: normal;
23
+ vertical-align: top;
24
+ margin-top: calc(var(--intergalactic-spacing-1x, 4px) / 2);
25
+ }
28
26
  }
29
27
 
30
28
  SDescription {
@@ -14,17 +14,16 @@ import React from 'react';
14
14
  import createComponent, { Component, sstyled, Root } from 'intergalactic/core';
15
15
  import { Box } from 'intergalactic/flex-box';
16
16
  import { Text } from 'intergalactic/typography';
17
+ import { ButtonLink } from 'intergalactic/button';
17
18
  import { DescriptionTooltip } from 'intergalactic/tooltip';
18
19
  import InfoM from 'intergalactic/icon/Info/m';
19
20
  /*__reshadow-styles__:"./style/card.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCard_1qu85_gg_{box-sizing:border-box;background:var(--intergalactic-bg-primary-neutral, #ffffff);padding:0;border:0;border-radius:var(--intergalactic-surface-rounded, 6px);box-shadow:var(--intergalactic-box-shadow-card,\n 0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 1px 2px 0px rgba(25, 27, 35, 0.12)\n )}.___SIcon_1qu85_gg_,.___STitle_1qu85_gg_{margin-right:var(--intergalactic-spacing-1x, 4px)}.___STitle_1qu85_gg_{color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SIcon_1qu85_gg_{color:var(--intergalactic-icon-secondary-neutral, #a9abb6);cursor:help}.___STooltip_1qu85_gg_{vertical-align:middle}.___SDescription_1qu85_gg_{margin-bottom:0;margin-top:var(--intergalactic-spacing-2x, 8px);font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-secondary, #6c6e79)}.___SBody_1qu85_gg_,.___SHeader_1qu85_gg_{padding-left:var(--intergalactic-spacing-5x, 20px);padding-right:var(--intergalactic-spacing-5x, 20px)}.___SHeader_1qu85_gg_{padding-top:var(--intergalactic-spacing-2x, 8px);padding-bottom:var(--intergalactic-spacing-2x, 8px);box-shadow:inset 0-1px 0 var(--intergalactic-border-secondary, #e0e1e9)}.___SBody_1qu85_gg_{color:var(--intergalactic-text-primary, #191b23);padding-bottom:var(--intergalactic-spacing-5x, 20px);padding-top:var(--intergalactic-spacing-5x, 20px)}" /*__inner_css_end__*/, "1qu85_gg_") /*__reshadow_css_end__*/, {
21
- "__SCard": "___SCard_1qu85_gg_",
22
- "__STitle": "___STitle_1qu85_gg_",
23
- "__SIcon": "___SIcon_1qu85_gg_",
24
- "__STooltip": "___STooltip_1qu85_gg_",
25
- "__SDescription": "___SDescription_1qu85_gg_",
26
- "__SHeader": "___SHeader_1qu85_gg_",
27
- "__SBody": "___SBody_1qu85_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCard_1c81w_gg_{box-sizing:border-box;background:var(--intergalactic-bg-primary-neutral, #ffffff);padding:0;border:0;border-radius:var(--intergalactic-surface-rounded, 6px);box-shadow:var(--intergalactic-box-shadow-card,\n 0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 1px 2px 0px rgba(25, 27, 35, 0.12)\n )}.___SCard_1c81w_gg_ .___STitle_1c81w_gg_{color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SCard_1c81w_gg_ [data-ui-name=\"DescriptionTooltip.Trigger\"]{margin-right:var(--intergalactic-spacing-1x, 4px);line-height:normal;vertical-align:top;margin-top:calc(var(--intergalactic-spacing-1x, 4px)/2)}.___SDescription_1c81w_gg_{margin-bottom:0;margin-top:var(--intergalactic-spacing-2x, 8px);font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-secondary, #6c6e79)}.___SBody_1c81w_gg_,.___SHeader_1c81w_gg_{padding-left:var(--intergalactic-spacing-5x, 20px);padding-right:var(--intergalactic-spacing-5x, 20px)}.___SHeader_1c81w_gg_{padding-top:var(--intergalactic-spacing-2x, 8px);padding-bottom:var(--intergalactic-spacing-2x, 8px);box-shadow:inset 0-1px 0 var(--intergalactic-border-secondary, #e0e1e9)}.___SBody_1c81w_gg_{color:var(--intergalactic-text-primary, #191b23);padding-bottom:var(--intergalactic-spacing-5x, 20px);padding-top:var(--intergalactic-spacing-5x, 20px)}" /*__inner_css_end__*/, "1c81w_gg_") /*__reshadow_css_end__*/, {
22
+ "__SDescription": "___SDescription_1c81w_gg_",
23
+ "__SHeader": "___SHeader_1c81w_gg_",
24
+ "__SBody": "___SBody_1c81w_gg_",
25
+ "__SCard": "___SCard_1c81w_gg_",
26
+ "__STitle": "___STitle_1c81w_gg_"
28
27
  });
29
28
  import { isAdvanceMode } from 'intergalactic/utils/lib/findComponent';
30
29
  var CardRoot = /*#__PURE__*/function (_Component) {
@@ -62,20 +61,18 @@ function Title(props) {
62
61
  hintAfterAriaLabel = props.hintAfterAriaLabel;
63
62
  var hintAfter = props.hintAfter || props.hint;
64
63
  var STitle = Text;
65
- var SIcon = InfoM;
66
- var STooltip = DescriptionTooltip;
67
- return _ref7 = sstyled(styles), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(STitle, _ref7.cn("STitle", _objectSpread({}, _assignProps2({}, _ref2))), /*#__PURE__*/React.createElement(Children, _ref7.cn("Children", {})), innerHint && /*#__PURE__*/React.createElement(STooltip, _ref7.cn("STooltip", {
68
- "ml": 1,
69
- "title": innerHint,
70
- "aria-label": innerHintAriaLabel
71
- }), /*#__PURE__*/React.createElement(SIcon, _ref7.cn("SIcon", {
72
- "interactive": true
73
- })))), hintAfter && /*#__PURE__*/React.createElement(STooltip, _ref7.cn("STooltip", {
74
- "title": hintAfter,
75
- "aria-label": hintAfterAriaLabel
76
- }), /*#__PURE__*/React.createElement(SIcon, _ref7.cn("SIcon", {
77
- "interactive": true
78
- }))));
64
+ return _ref7 = sstyled(styles), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(STitle, _ref7.cn("STitle", _objectSpread({}, _assignProps2({}, _ref2))), /*#__PURE__*/React.createElement(Children, _ref7.cn("Children", {})), innerHint && /*#__PURE__*/React.createElement(DescriptionTooltip, _ref7.cn("DescriptionTooltip", {}), /*#__PURE__*/React.createElement(DescriptionTooltip.Trigger, {
65
+ tag: ButtonLink,
66
+ ml: 1,
67
+ use: 'secondary',
68
+ "aria-label": innerHintAriaLabel,
69
+ color: '--intergalactic-icon-secondary-neutral'
70
+ }, /*#__PURE__*/React.createElement(ButtonLink.Addon, null, /*#__PURE__*/React.createElement(InfoM, _ref7.cn("InfoM", {})))), /*#__PURE__*/React.createElement(DescriptionTooltip.Popper, null, innerHint))), hintAfter && /*#__PURE__*/React.createElement(DescriptionTooltip, _ref7.cn("DescriptionTooltip", {}), /*#__PURE__*/React.createElement(DescriptionTooltip.Trigger, {
71
+ tag: ButtonLink,
72
+ use: 'secondary',
73
+ "aria-label": hintAfterAriaLabel,
74
+ color: '--intergalactic-icon-secondary-neutral'
75
+ }, /*#__PURE__*/React.createElement(ButtonLink.Addon, null, /*#__PURE__*/React.createElement(InfoM, _ref7.cn("InfoM", {})))), /*#__PURE__*/React.createElement(DescriptionTooltip.Popper, null, hintAfter)));
79
76
  }
80
77
  function Description(props) {
81
78
  var _ref3 = arguments[0],
@@ -1 +1 @@
1
- {"version":3,"file":"Card.js","names":["React","createComponent","Component","sstyled","Root","Box","Text","DescriptionTooltip","InfoM","style","_sstyled","insert","isAdvanceMode","CardRoot","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref6","SCard","_this$asProps","Children","styles","forcedAdvancedMode","advancedMode","Card","Header","displayName","Body","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref7","innerHint","innerHintAriaLabel","hintAfterAriaLabel","hintAfter","hint","STitle","SIcon","STooltip","Fragment","_assignProps2","Description","_ref3","_ref8","SDescription","_assignProps3","_ref4","_ref9","SHeader","_assignProps4","_ref5","_ref10","SBody","_assignProps5"],"sources":["../../src/Card.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { Box } from '@semcore/flex-box';\nimport { Text } from '@semcore/typography';\nimport { DescriptionTooltip } from '@semcore/tooltip';\nimport InfoM from '@semcore/icon/Info/m';\n\nimport style from './style/card.shadow.css';\nimport { isAdvanceMode } from '@semcore/utils/lib/findComponent';\n\nclass CardRoot extends Component {\n static displayName = 'Card';\n\n static style = style;\n\n render() {\n const SCard = Root;\n const { Children, styles, forcedAdvancedMode } = this.asProps;\n\n const advancedMode =\n forcedAdvancedMode ||\n isAdvanceMode(Children, [Card.Header.displayName, Card.Body.displayName]);\n\n return sstyled(styles)(\n <SCard render={Box}>\n {advancedMode ? (\n <Children />\n ) : (\n <Card.Body>\n <Children />\n </Card.Body>\n )}\n </SCard>,\n );\n }\n}\n\nfunction Title(props) {\n const { styles, innerHint, Children, innerHintAriaLabel, hintAfterAriaLabel } = props;\n const hintAfter = props.hintAfter || props.hint;\n const STitle = Root;\n const SIcon = InfoM;\n const STooltip = DescriptionTooltip;\n return sstyled(styles)(\n <>\n <STitle render={Text}>\n <Children />\n {innerHint && (\n <STooltip ml={1} title={innerHint} aria-label={innerHintAriaLabel}>\n <SIcon interactive />\n </STooltip>\n )}\n </STitle>\n {hintAfter && (\n <STooltip title={hintAfter} aria-label={hintAfterAriaLabel}>\n <SIcon interactive />\n </STooltip>\n )}\n </>,\n );\n}\n\nfunction Description(props) {\n const { styles } = props;\n const SDescription = Root;\n return sstyled(styles)(<SDescription render={Text} tag='p' />);\n}\n\nfunction Header(props) {\n const { styles } = props;\n const SHeader = Root;\n return sstyled(styles)(<SHeader render={Box} {...props} />);\n}\n\nfunction Body(props) {\n const { styles } = props;\n const SBody = Root;\n return sstyled(styles)(<SBody render={Box} {...props} />);\n}\n\nconst Card = createComponent(CardRoot, {\n Title,\n Description,\n Header,\n Body,\n});\n\nexport default Card;\n"],"mappings":";;;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,eAAe,IAAIC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,GAAG,QAAQ,mBAAmB;AACvC,SAASC,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,kBAAkB,QAAQ,kBAAkB;AACrD,OAAOC,KAAK,MAAM,sBAAsB;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAGzC,SAASC,aAAa,QAAQ,kCAAkC;AAAC,IAE3DC,QAAQ,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,QAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,QAAA;EAAA,SAAAA,SA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1
+ {"version":3,"file":"Card.js","names":["React","createComponent","Component","sstyled","Root","Box","Text","ButtonLink","DescriptionTooltip","InfoM","style","_sstyled","insert","isAdvanceMode","CardRoot","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref6","SCard","_this$asProps","Children","styles","forcedAdvancedMode","advancedMode","Card","Header","displayName","Body","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref7","innerHint","innerHintAriaLabel","hintAfterAriaLabel","hintAfter","hint","STitle","Fragment","_assignProps2","Trigger","tag","ml","use","color","Addon","Popper","Description","_ref3","_ref8","SDescription","_assignProps3","_ref4","_ref9","SHeader","_assignProps4","_ref5","_ref10","SBody","_assignProps5"],"sources":["../../src/Card.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { Box } from '@semcore/flex-box';\nimport { Text } from '@semcore/typography';\nimport { ButtonLink } from '@semcore/button';\nimport { DescriptionTooltip } from '@semcore/tooltip';\nimport InfoM from '@semcore/icon/Info/m';\nimport style from './style/card.shadow.css';\nimport { isAdvanceMode } from '@semcore/utils/lib/findComponent';\n\nclass CardRoot extends Component {\n static displayName = 'Card';\n\n static style = style;\n\n render() {\n const SCard = Root;\n const { Children, styles, forcedAdvancedMode } = this.asProps;\n\n const advancedMode =\n forcedAdvancedMode ||\n isAdvanceMode(Children, [Card.Header.displayName, Card.Body.displayName]);\n\n return sstyled(styles)(\n <SCard render={Box}>\n {advancedMode ? (\n <Children />\n ) : (\n <Card.Body>\n <Children />\n </Card.Body>\n )}\n </SCard>,\n );\n }\n}\n\nfunction Title(props) {\n const { styles, innerHint, Children, innerHintAriaLabel, hintAfterAriaLabel } = props;\n const hintAfter = props.hintAfter || props.hint;\n const STitle = Root;\n\n return sstyled(styles)(\n <>\n <STitle render={Text}>\n <Children />\n {innerHint && (\n <DescriptionTooltip>\n <DescriptionTooltip.Trigger\n tag={ButtonLink}\n ml={1}\n use={'secondary'}\n aria-label={innerHintAriaLabel}\n color={'--intergalactic-icon-secondary-neutral'}\n >\n <ButtonLink.Addon>\n <InfoM />\n </ButtonLink.Addon>\n </DescriptionTooltip.Trigger>\n <DescriptionTooltip.Popper>{innerHint}</DescriptionTooltip.Popper>\n </DescriptionTooltip>\n )}\n </STitle>\n {hintAfter && (\n <DescriptionTooltip>\n <DescriptionTooltip.Trigger\n tag={ButtonLink}\n use={'secondary'}\n aria-label={hintAfterAriaLabel}\n color={'--intergalactic-icon-secondary-neutral'}\n >\n <ButtonLink.Addon>\n <InfoM />\n </ButtonLink.Addon>\n </DescriptionTooltip.Trigger>\n <DescriptionTooltip.Popper>{hintAfter}</DescriptionTooltip.Popper>\n </DescriptionTooltip>\n )}\n </>,\n );\n}\n\nfunction Description(props) {\n const { styles } = props;\n const SDescription = Root;\n return sstyled(styles)(<SDescription render={Text} tag='p' />);\n}\n\nfunction Header(props) {\n const { styles } = props;\n const SHeader = Root;\n return sstyled(styles)(<SHeader render={Box} {...props} />);\n}\n\nfunction Body(props) {\n const { styles } = props;\n const SBody = Root;\n return sstyled(styles)(<SBody render={Box} {...props} />);\n}\n\nconst Card = createComponent(CardRoot, {\n Title,\n Description,\n Header,\n Body,\n});\n\nexport default Card;\n"],"mappings":";;;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,eAAe,IAAIC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,GAAG,QAAQ,mBAAmB;AACvC,SAASC,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,UAAU,QAAQ,iBAAiB;AAC5C,SAASC,kBAAkB,QAAQ,kBAAkB;AACrD,OAAOC,KAAK,MAAM,sBAAsB;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAEzC,SAASC,aAAa,QAAQ,kCAAkC;AAAC,IAE3DC,QAAQ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A,IAAI;AAC5D;AAEA,SAAS/B,IAAIA,CAACO,KAAK,EAAE;EAAA,IAAA4B,KAAA,GAAA1B,YAAA;IAAA2B,MAAA;EACnB,IAAQ1C,MAAM,GAAKa,KAAK,CAAhBb,MAAM;EACd,IAAM2C,KAAK,GAC2BtE,GAAG;EAAzC,OAAAqE,MAAA,GAAOvE,OAAO,CAAC6B,MAAM,CAAC,eAAChC,KAAA,CAAAuC,aAAA,CAACoC,KAAK,EAAAD,MAAA,CAAAlC,EAAA,UAAAC,aAAA,KAAAmC,aAAA,CAAAnC,aAAA,KAAkBI,KAAK,GAAA4B,KAAA,IAAI;AAC1D;AAEA,IAAMtC,IAAI,GAAGlC,eAAe,CAACa,QAAQ,EAAE;EACrC8B,KAAK,EAALA,KAAK;EACLoB,WAAW,EAAXA,WAAW;EACX5B,MAAM,EAANA,MAAM;EACNE,IAAI,EAAJA;AACF,CAAC,CAAC;AAEF,eAAeH,IAAI"}
@@ -8,23 +8,21 @@ SCard {
8
8
  --intergalactic-box-shadow-card,
9
9
  0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 1px 2px 0px rgba(25, 27, 35, 0.12)
10
10
  );
11
- }
12
11
 
13
- STitle {
14
- color: var(--intergalactic-text-primary, #191b23);
15
- font-size: var(--intergalactic-fs-300, 16px);
16
- line-height: var(--intergalactic-lh-300, 150%);
17
- font-weight: var(--intergalactic-bold, 700);
18
- margin-right: var(--intergalactic-spacing-1x, 4px);
19
- }
12
+ STitle {
13
+ color: var(--intergalactic-text-primary, #191b23);
14
+ font-size: var(--intergalactic-fs-300, 16px);
15
+ line-height: var(--intergalactic-lh-300, 150%);
16
+ font-weight: var(--intergalactic-bold, 700);
17
+ margin-right: var(--intergalactic-spacing-1x, 4px);
18
+ }
20
19
 
21
- SIcon {
22
- color: var(--intergalactic-icon-secondary-neutral, #a9abb6);
23
- cursor: help;
24
- margin-right: var(--intergalactic-spacing-1x, 4px);
25
- }
26
- STooltip {
27
- vertical-align: middle;
20
+ [data-ui-name='DescriptionTooltip.Trigger'] {
21
+ margin-right: var(--intergalactic-spacing-1x, 4px);
22
+ line-height: normal;
23
+ vertical-align: top;
24
+ margin-top: calc(var(--intergalactic-spacing-1x, 4px) / 2);
25
+ }
28
26
  }
29
27
 
30
28
  SDescription {
package/card/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"intergalactic/card","description":"Semrush Card Component","version":"5.40.5","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/utils":"4.35.0","@semcore/flex-box":"5.32.0","@semcore/typography":"5.41.1","@semcore/tooltip":"6.41.0","@semcore/icon":"4.44.1"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/card"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0","@semcore/typography":"*","@semcore/icon":"*"}}
1
+ {"name":"intergalactic/card","description":"Semrush Card Component","version":"5.41.0-prerelease.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/utils":"4.36.0-prerelease.1","@semcore/flex-box":"5.33.0-prerelease.1","@semcore/typography":"5.42.0-prerelease.1","@semcore/tooltip":"6.42.0-prerelease.1","@semcore/button":"5.37.0-prerelease.1","@semcore/icon":"4.45.0-prerelease.1"},"peerDependencies":{"@semcore/core":"^2.31.0-prerelease.1","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/card"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0","@semcore/typography":"*","@semcore/icon":"*"}}
@@ -31,27 +31,27 @@ var _findComponent = require("intergalactic/utils/lib/findComponent");
31
31
  var _breakpoints = require("intergalactic/breakpoints");
32
32
  var _keyboardFocusEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/keyboardFocusEnhance"));
33
33
  /*__reshadow-styles__:"./style/carousel.shadow.css"*/
34
- var style = ( /*__reshadow_css_start__*/_index2.sstyled.insert( /*__inner_css_start__*/".___SCarousel_1pqd9_gg_{overflow:hidden;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SCarousel_1pqd9_gg_.__keyboardFocused_1pqd9_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));z-index:1}.___SContainer_1pqd9_gg_{display:flex;transition:transform var(--duration_1pqd9) ease-in-out}.___SContentBox_1pqd9_gg_,.___SModalBox_1pqd9_gg_{overflow:hidden;border-radius:var(--intergalactic-surface-rounded, 6px)}.___SModalContainer_1pqd9_gg_{display:flex;transition:transform var(--duration_1pqd9) ease-in-out}.___SItem_1pqd9_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_1pqd9);border-radius:var(--intergalactic-surface-rounded, 6px);overflow:hidden}.___SItem_1pqd9_gg_.__zoomIn_1pqd9_gg_{cursor:zoom-in}.___SItem_1pqd9_gg_.__zoomOut_1pqd9_gg_{cursor:zoom-out}.___SIndicators_1pqd9_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x, 16px)}.___SIndicator_1pqd9_gg_{margin:0 calc(.5*var(--intergalactic-spacing-3x, 12px));cursor:pointer;display:block;width:12px;height:12px;border-radius:var(--intergalactic-control-rounded, 6px);background-color:var(--intergalactic-icon-secondary-neutral, #a9abb6);opacity:var(--intergalactic-disabled-opacity, 0.3);-o-object-fit:cover;object-fit:cover;transition:ease-in-out opacity .1s}@media (hover:hover){.___SIndicator_1pqd9_gg_:hover{opacity:calc(2*var(--intergalactic-disabled-opacity, 0.3))}}.___SIndicator_1pqd9_gg_.__active_1pqd9_gg_{opacity:1}.___SIndicator_1pqd9_gg_.__inverted_1pqd9_gg_{background-color:var(--intergalactic-icon-primary-invert, #ffffff)}.___SNext_1pqd9_gg_,.___SPrev_1pqd9_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--intergalactic-icon-primary-neutral, #6c6e79)}.___SNext_1pqd9_gg_ .___SNextButton_1pqd9_gg_ span:has(>svg:only-child),.___SNext_1pqd9_gg_ .___SPrevButton_1pqd9_gg_ span:has(>svg:only-child),.___SPrev_1pqd9_gg_ .___SNextButton_1pqd9_gg_ span:has(>svg:only-child),.___SPrev_1pqd9_gg_ .___SPrevButton_1pqd9_gg_ span:has(>svg:only-child){margin-left:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px)}.___SPrev_1pqd9_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNext_1pqd9_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNext_1pqd9_gg_.__disabled_1pqd9_gg_,.___SPrev_1pqd9_gg_.__disabled_1pqd9_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_1pqd9_gg_{transition:none}}" /*__inner_css_end__*/, "1pqd9_gg_") /*__reshadow_css_end__*/, {
35
- "__SCarousel": "___SCarousel_1pqd9_gg_",
36
- "_keyboardFocused": "__keyboardFocused_1pqd9_gg_",
37
- "__SContainer": "___SContainer_1pqd9_gg_",
38
- "--duration": "--duration_1pqd9",
39
- "__SContentBox": "___SContentBox_1pqd9_gg_",
40
- "__SModalBox": "___SModalBox_1pqd9_gg_",
41
- "__SModalContainer": "___SModalContainer_1pqd9_gg_",
42
- "__SItem": "___SItem_1pqd9_gg_",
43
- "--transform": "--transform_1pqd9",
44
- "_zoomIn": "__zoomIn_1pqd9_gg_",
45
- "_zoomOut": "__zoomOut_1pqd9_gg_",
46
- "__SIndicators": "___SIndicators_1pqd9_gg_",
47
- "__SIndicator": "___SIndicator_1pqd9_gg_",
48
- "_active": "__active_1pqd9_gg_",
49
- "_inverted": "__inverted_1pqd9_gg_",
50
- "__SPrev": "___SPrev_1pqd9_gg_",
51
- "__SNext": "___SNext_1pqd9_gg_",
52
- "_disabled": "__disabled_1pqd9_gg_",
53
- "__SPrevButton": "___SPrevButton_1pqd9_gg_",
54
- "__SNextButton": "___SNextButton_1pqd9_gg_"
34
+ var style = ( /*__reshadow_css_start__*/_index2.sstyled.insert( /*__inner_css_start__*/".___SCarousel_11eq6_gg_{overflow:hidden;outline:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.___SContainer_11eq6_gg_{display:flex;transition:transform var(--duration_11eq6) ease-in-out}.___SContentBox_11eq6_gg_,.___SModalBox_11eq6_gg_{position:relative;overflow:hidden;border-radius:var(--intergalactic-surface-rounded, 6px)}.___SContentBox_11eq6_gg_:has(.___SItem_11eq6_gg_.__keyboardFocused_11eq6_gg_):after,.___SModalBox_11eq6_gg_:has(.___SItem_11eq6_gg_.__keyboardFocused_11eq6_gg_):after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px}.___SModalContainer_11eq6_gg_{display:flex;transition:transform var(--duration_11eq6) ease-in-out}.___SItem_11eq6_gg_{flex:0 0 100%;max-width:100%;box-sizing:border-box;transform:var(--transform_11eq6);border-radius:var(--intergalactic-surface-rounded, 6px);overflow:hidden;outline:0}.___SItem_11eq6_gg_.__zoomIn_11eq6_gg_{cursor:zoom-in}.___SItem_11eq6_gg_.__zoomOut_11eq6_gg_{cursor:zoom-out}.___SIndicators_11eq6_gg_{display:flex;justify-content:center;margin-top:var(--intergalactic-spacing-4x, 16px);outline:0;position:relative}.___SIndicators_11eq6_gg_.__keyboardFocused_11eq6_gg_:after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px);top:0;left:3px}.___SIndicator_11eq6_gg_{margin:0 calc(.5*var(--intergalactic-spacing-3x, 12px));cursor:pointer;display:block;width:12px;height:12px;border-radius:var(--intergalactic-control-rounded, 6px);background-color:var(--intergalactic-icon-secondary-neutral, #a9abb6);opacity:var(--intergalactic-disabled-opacity, 0.3);-o-object-fit:cover;object-fit:cover;transition:ease-in-out opacity .1s}@media (hover:hover){.___SIndicator_11eq6_gg_:hover{opacity:calc(2*var(--intergalactic-disabled-opacity, 0.3))}}.___SIndicator_11eq6_gg_.__active_11eq6_gg_{opacity:1}.___SIndicator_11eq6_gg_.__inverted_11eq6_gg_{background-color:var(--intergalactic-icon-primary-invert, #ffffff)}.___SNext_11eq6_gg_,.___SPrev_11eq6_gg_{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--intergalactic-icon-primary-neutral, #6c6e79)}.___SNext_11eq6_gg_ .___SNextButton_11eq6_gg_ span:has(>svg:only-child),.___SNext_11eq6_gg_ .___SPrevButton_11eq6_gg_ span:has(>svg:only-child),.___SPrev_11eq6_gg_ .___SNextButton_11eq6_gg_ span:has(>svg:only-child),.___SPrev_11eq6_gg_ .___SPrevButton_11eq6_gg_ span:has(>svg:only-child){margin-left:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(2*var(--intergalactic-spacing-1x, 4px) - 1px)}.___SNextButton_11eq6_gg_:focus-visible,.___SPrevButton_11eq6_gg_:focus-visible{box-shadow:none}.___SNextButton_11eq6_gg_:focus-visible:after,.___SPrevButton_11eq6_gg_:focus-visible:after{content:\"\";display:block;position:absolute;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));z-index:1;width:calc(100% - 3px*2);height:calc(100% - 3px*2);top:3px;left:3px;border-radius:var(--intergalactic-control-rounded, 6px)}.___SPrev_11eq6_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNext_11eq6_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNext_11eq6_gg_.__disabled_11eq6_gg_,.___SPrev_11eq6_gg_.__disabled_11eq6_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}@media (prefers-reduced-motion){.___SContainer_11eq6_gg_{transition:none}}" /*__inner_css_end__*/, "11eq6_gg_") /*__reshadow_css_end__*/, {
35
+ "__SCarousel": "___SCarousel_11eq6_gg_",
36
+ "__SContainer": "___SContainer_11eq6_gg_",
37
+ "--duration": "--duration_11eq6",
38
+ "__SModalContainer": "___SModalContainer_11eq6_gg_",
39
+ "__SItem": "___SItem_11eq6_gg_",
40
+ "--transform": "--transform_11eq6",
41
+ "_zoomIn": "__zoomIn_11eq6_gg_",
42
+ "_zoomOut": "__zoomOut_11eq6_gg_",
43
+ "__SIndicators": "___SIndicators_11eq6_gg_",
44
+ "_keyboardFocused": "__keyboardFocused_11eq6_gg_",
45
+ "__SIndicator": "___SIndicator_11eq6_gg_",
46
+ "_active": "__active_11eq6_gg_",
47
+ "_inverted": "__inverted_11eq6_gg_",
48
+ "__SPrev": "___SPrev_11eq6_gg_",
49
+ "__SNext": "___SNext_11eq6_gg_",
50
+ "_disabled": "__disabled_11eq6_gg_",
51
+ "__SContentBox": "___SContentBox_11eq6_gg_",
52
+ "__SModalBox": "___SModalBox_11eq6_gg_",
53
+ "__SPrevButton": "___SPrevButton_11eq6_gg_",
54
+ "__SNextButton": "___SNextButton_11eq6_gg_"
55
55
  });
56
56
  var MAP_TRANSFORM = {
57
57
  ArrowLeft: 'left',
@@ -59,8 +59,7 @@ var MAP_TRANSFORM = {
59
59
  };
60
60
  var enhance = {
61
61
  uid: (0, _uniqueID["default"])(),
62
- getI18nText: (0, _i18nEnhance["default"])(_intergalacticDynamicLocales.localizedMessages),
63
- keyboardFocusEnhance: (0, _keyboardFocusEnhance["default"])()
62
+ i18nEnahnce: (0, _i18nEnhance["default"])(_intergalacticDynamicLocales.localizedMessages)
64
63
  };
65
64
  var media = ['(min-width: 481px)', '(max-width: 480px)'];
66
65
  var BreakPoints = (0, _breakpoints.createBreakpoints)(media);
@@ -347,7 +346,8 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
347
346
  value: function getPrevProps() {
348
347
  var _this$asProps = this.asProps,
349
348
  bounded = _this$asProps.bounded,
350
- getI18nText = _this$asProps.getI18nText;
349
+ getI18nText = _this$asProps.getI18nText,
350
+ uid = _this$asProps.uid;
351
351
  var _this$state3 = this.state,
352
352
  items = _this$state3.items,
353
353
  selectedIndex = _this$state3.selectedIndex;
@@ -360,7 +360,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
360
360
  onKeyDown: this.bindHandlerKeydownControl('left'),
361
361
  disabled: disabled,
362
362
  label: getI18nText('prev'),
363
- tabIndex: -1
363
+ 'aria-controls': "igc-".concat(uid, "-carousel")
364
364
  };
365
365
  }
366
366
  }, {
@@ -368,7 +368,8 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
368
368
  value: function getNextProps() {
369
369
  var _this$asProps2 = this.asProps,
370
370
  bounded = _this$asProps2.bounded,
371
- getI18nText = _this$asProps2.getI18nText;
371
+ getI18nText = _this$asProps2.getI18nText,
372
+ uid = _this$asProps2.uid;
372
373
  var _this$state4 = this.state,
373
374
  items = _this$state4.items,
374
375
  selectedIndex = _this$state4.selectedIndex;
@@ -381,7 +382,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
381
382
  onKeyDown: this.bindHandlerKeydownControl('right'),
382
383
  disabled: disabled,
383
384
  label: getI18nText('next'),
384
- tabIndex: -1
385
+ 'aria-controls': "igc-".concat(uid, "-carousel")
385
386
  };
386
387
  }
387
388
  }, {
@@ -389,6 +390,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
389
390
  value: function getIndicatorsProps() {
390
391
  var _this4 = this;
391
392
  var items = this.state.items;
393
+ var getI18nText = this.asProps.getI18nText;
392
394
  return {
393
395
  items: items.map(function (item, key) {
394
396
  return {
@@ -396,6 +398,22 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
396
398
  onClick: _this4.bindHandlerClickIndicator(key),
397
399
  key: key
398
400
  };
401
+ }),
402
+ role: 'tablist',
403
+ 'aria-label': getI18nText('slides')
404
+ };
405
+ }
406
+ }, {
407
+ key: "getIndicatorProps",
408
+ value: function getIndicatorProps(_, index) {
409
+ var isCurrent = this.isSelected(index);
410
+ var getI18nText = this.asProps.getI18nText;
411
+ return {
412
+ role: 'tab',
413
+ 'aria-selected': isCurrent,
414
+ 'aria-controls': "igc-".concat(this.asProps.uid, "-carousel-item-").concat(index),
415
+ 'aria-label': getI18nText('slide', {
416
+ slideNumber: index + 1
399
417
  })
400
418
  };
401
419
  }
@@ -427,9 +445,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
427
445
  }, {
428
446
  key: "isSelected",
429
447
  value: function isSelected(index) {
430
- var _this$state7 = this.state,
431
- items = _this$state7.items,
432
- selectedIndex = _this$state7.selectedIndex;
448
+ var items = this.state.items;
433
449
  if (items.length === 0) {
434
450
  return true;
435
451
  }
@@ -447,10 +463,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
447
463
  styles = _this$asProps3.styles,
448
464
  uid = _this$asProps3.uid,
449
465
  duration = _this$asProps3.duration,
450
- hasZoom = _this$asProps3.zoom,
451
- zoomWidth = _this$asProps3.zoomWidth,
452
- ariaLabel = _this$asProps3['aria-label'],
453
- ariaRoledescription = _this$asProps3['aria-roledescription'];
466
+ zoomWidth = _this$asProps3.zoomWidth;
454
467
  var isOpenZoom = this.state.isOpenZoom;
455
468
  return _ref9 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(_modal["default"], _ref9.cn("Modal", {
456
469
  "visible": isOpenZoom,
@@ -462,7 +475,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
462
475
  }), !isSmall && /*#__PURE__*/_react["default"].createElement(Carousel.Prev, {
463
476
  inverted: true
464
477
  }), /*#__PURE__*/_react["default"].createElement(SModalBox, _ref9.cn("SModalBox", {}), /*#__PURE__*/_react["default"].createElement(SModalContainer, _ref9.cn("SModalContainer", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
465
- "role": 'list',
478
+ "aria-live": 'polite',
466
479
  "use:duration": "".concat(duration, "ms"),
467
480
  "ref": this.refModalContainer,
468
481
  "use:w": undefined,
@@ -502,6 +515,7 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
502
515
  var _this$asProps4 = this.asProps,
503
516
  styles = _this$asProps4.styles,
504
517
  Children = _this$asProps4.Children,
518
+ uid = _this$asProps4.uid,
505
519
  hasZoom = _this$asProps4.zoom,
506
520
  ariaLabel = _this$asProps4['aria-label'],
507
521
  ariaRoledescription = _this$asProps4['aria-roledescription'],
@@ -509,13 +523,15 @@ var CarouselRoot = /*#__PURE__*/function (_Component) {
509
523
  var ComponentItems = (0, _findComponent.findAllComponents)(Children, ['Carousel.Item']);
510
524
  var Controls = (0, _findComponent.findAllComponents)(Children, ['Carousel.Prev', 'Carousel.Next', 'Carousel.Indicators']);
511
525
  return _ref10 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SCarousel, _ref10.cn("SCarousel", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
512
- "role": 'group',
526
+ "role": 'region',
527
+ "roledescription": 'carousel',
513
528
  "onKeyDown": this.handlerKeyDown,
514
529
  "onTouchStart": this.handlerTouchStart,
515
530
  "onTouchEnd": this.handlerTouchEnd,
516
- "ref": this.refCarousel
531
+ "ref": this.refCarousel,
532
+ "id": "igc-".concat(uid, "-carousel"),
533
+ "aria-roledescription": ariaRoledescription
517
534
  }, _ref2))), Controls.length === 0 ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_flexBox.Flex, _ref10.cn("Flex", {}), /*#__PURE__*/_react["default"].createElement(Carousel.Prev, null), /*#__PURE__*/_react["default"].createElement(SContentBox, _ref10.cn("SContentBox", {}), /*#__PURE__*/_react["default"].createElement(Carousel.Container, {
518
- "aria-roledescription": ariaRoledescription,
519
535
  "aria-label": ariaLabel
520
536
  }, /*#__PURE__*/_react["default"].createElement(Children, _ref10.cn("Children", {})))), /*#__PURE__*/_react["default"].createElement(Carousel.Next, null)), indicators === 'default' && /*#__PURE__*/_react["default"].createElement(Carousel.Indicators, null), indicators === 'preview' && /*#__PURE__*/_react["default"].createElement(Carousel.Indicators, null, function () {
521
537
  return ComponentItems.map(function (item, index) {
@@ -554,8 +570,8 @@ var Container = function Container(props) {
554
570
  var styles = props.styles,
555
571
  duration = props.duration;
556
572
  return _ref11 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SContainer, _ref11.cn("SContainer", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
557
- "role": 'list',
558
- "use:duration": "".concat(duration, "ms")
573
+ "use:duration": "".concat(duration, "ms"),
574
+ "aria-live": 'polite'
559
575
  }, _ref3))));
560
576
  };
561
577
  var Item = /*#__PURE__*/function (_Component2) {
@@ -569,6 +585,7 @@ var Item = /*#__PURE__*/function (_Component2) {
569
585
  }
570
586
  _this7 = _super2.call.apply(_super2, [this].concat(args));
571
587
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this7), "refItem", /*#__PURE__*/_react["default"].createRef());
588
+ (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this7), "keepFocusTimeout", void 0);
572
589
  return _this7;
573
590
  }
574
591
  (0, _createClass2["default"])(Item, [{
@@ -593,15 +610,25 @@ var Item = /*#__PURE__*/function (_Component2) {
593
610
  toggleItem && refItem && toggleItem({
594
611
  node: refItem
595
612
  }, true);
613
+ clearTimeout(this.keepFocusTimeout);
596
614
  }
597
615
  }, {
598
616
  key: "componentDidUpdate",
599
617
  value: function componentDidUpdate(prevProps) {
618
+ clearTimeout(this.keepFocusTimeout);
600
619
  var transform = this.props.transform;
601
620
  var refItem = this.refItem.current;
602
621
  if (prevProps.transform !== transform && refItem) {
603
622
  refItem.style.transform = "translateX(".concat(transform, "%)");
604
623
  }
624
+ if (this.props.current) {
625
+ this.keepFocusTimeout = setTimeout(function () {
626
+ var _document$activeEleme;
627
+ if (document.activeElement !== refItem && ((_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 ? void 0 : _document$activeEleme.dataset.carousel) === (refItem === null || refItem === void 0 ? void 0 : refItem.dataset.carousel)) {
628
+ refItem === null || refItem === void 0 ? void 0 : refItem.focus();
629
+ }
630
+ }, 100);
631
+ }
605
632
  }
606
633
  }, {
607
634
  key: "render",
@@ -614,14 +641,15 @@ var Item = /*#__PURE__*/function (_Component2) {
614
641
  uid = _this$props2.uid,
615
642
  current = _this$props2.current,
616
643
  zoomIn = _this$props2.zoomIn,
617
- onToggleZoomModal = _this$props2.onToggleZoomModal,
618
- transform = _this$props2.transform;
644
+ onToggleZoomModal = _this$props2.onToggleZoomModal;
619
645
  var SItem = _flexBox.Box;
620
646
  return _ref12 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SItem, _ref12.cn("SItem", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
621
647
  "ref": this.refItem,
622
- "role": 'listitem',
648
+ "role": 'tabpanel',
649
+ "data-carousel": "igc-".concat(uid, "-carousel"),
623
650
  "id": "igc-".concat(uid, "-carousel-item-").concat(index),
624
651
  "aria-current": current,
652
+ "use:tabIndex": current ? 0 : -1,
625
653
  "onClick": zoomIn ? onToggleZoomModal : undefined,
626
654
  "zoomIn": zoomIn
627
655
  }, _ref4))));
@@ -629,6 +657,7 @@ var Item = /*#__PURE__*/function (_Component2) {
629
657
  }]);
630
658
  return Item;
631
659
  }(_core.Component);
660
+ (0, _defineProperty2["default"])(Item, "enhance", [(0, _keyboardFocusEnhance["default"])(false)]);
632
661
  var Prev = function Prev(props) {
633
662
  var _ref5 = arguments[0],
634
663
  _ref13;
@@ -638,8 +667,7 @@ var Prev = function Prev(props) {
638
667
  label = props.label,
639
668
  _props$top = props.top,
640
669
  top = _props$top === void 0 ? 0 : _props$top,
641
- inverted = props.inverted,
642
- tabIndex = props.tabIndex;
670
+ inverted = props.inverted;
643
671
  var SPrev = _flexBox.Box;
644
672
  var SPrevButton = _button["default"];
645
673
  return _ref13 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SPrev, _ref13.cn("SPrev", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
@@ -649,8 +677,7 @@ var Prev = function Prev(props) {
649
677
  "aria-label": label,
650
678
  "theme": inverted ? 'invert' : 'muted',
651
679
  "use": 'tertiary',
652
- "size": 'l',
653
- "tabIndex": tabIndex
680
+ "size": 'l'
654
681
  })));
655
682
  };
656
683
  var Next = function Next(props) {
@@ -662,8 +689,7 @@ var Next = function Next(props) {
662
689
  label = props.label,
663
690
  _props$top2 = props.top,
664
691
  top = _props$top2 === void 0 ? 0 : _props$top2,
665
- inverted = props.inverted,
666
- tabIndex = props.tabIndex;
692
+ inverted = props.inverted;
667
693
  var SNext = _flexBox.Box;
668
694
  var SNextButton = _button["default"];
669
695
  return _ref14 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SNext, _ref14.cn("SNext", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
@@ -673,8 +699,7 @@ var Next = function Next(props) {
673
699
  "aria-label": label,
674
700
  "theme": inverted ? 'invert' : 'muted',
675
701
  "use": 'tertiary',
676
- "size": 'l',
677
- "tabIndex": tabIndex
702
+ "size": 'l'
678
703
  })));
679
704
  };
680
705
  var Indicators = function Indicators(_ref19) {
@@ -687,13 +712,9 @@ var Indicators = function Indicators(_ref19) {
687
712
  var SIndicators = _flexBox.Box;
688
713
  if (Children.origin) {
689
714
  var _ref15;
690
- return _ref15 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SIndicators, _ref15.cn("SIndicators", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
691
- "aria-hidden": 'true'
692
- }, _ref7))), /*#__PURE__*/_react["default"].createElement(Children, _ref15.cn("Children", {})));
715
+ return _ref15 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SIndicators, _ref15.cn("SIndicators", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({}, _ref7))), /*#__PURE__*/_react["default"].createElement(Children, _ref15.cn("Children", {})));
693
716
  }
694
- return _ref16 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SIndicators, _ref16.cn("SIndicators", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
695
- "aria-hidden": 'true'
696
- }, _ref7))), items === null || items === void 0 ? void 0 : items.map(function (item, index) {
717
+ return _ref16 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SIndicators, _ref16.cn("SIndicators", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({}, _ref7))), items === null || items === void 0 ? void 0 : items.map(function (item, index) {
697
718
  return /*#__PURE__*/_react["default"].createElement(Carousel.Indicator, (0, _extends2["default"])({
698
719
  key: index
699
720
  }, item, {
@@ -701,6 +722,7 @@ var Indicators = function Indicators(_ref19) {
701
722
  }));
702
723
  }));
703
724
  };
725
+ Indicators.enhance = [(0, _keyboardFocusEnhance["default"])()];
704
726
  var Indicator = function Indicator(_ref20) {
705
727
  var _ref8 = arguments[0],
706
728
  _ref17;