@jetbrains/kotlin-web-site-ui 4.5.0-alpha.0 → 4.5.0-alpha.2

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.
@@ -26,6 +26,7 @@
26
26
  }
27
27
 
28
28
  .ktl-quotes-slider-module_quote-text_u-x9D {
29
+ word-break: break-word;
29
30
  margin: 0;
30
31
  }
31
32
 
@@ -9,7 +9,8 @@ import styles from './quotes-slider.module.pcss.js';
9
9
 
10
10
  const QuotesSlider = ({
11
11
  quotes,
12
- large
12
+ large,
13
+ animateHeight = false
13
14
  }) => {
14
15
  const [index, setIndex] = useState(0);
15
16
  const totalSlides = quotes.length;
@@ -48,7 +49,8 @@ const QuotesSlider = ({
48
49
  })
49
50
  }, React__default.createElement(SvgQuote, null)), React__default.createElement("div", null, quotes.length > 1 ? React__default.createElement(SwipeableViews, {
50
51
  index: index,
51
- onChangeIndex: handleChangeIndex
52
+ onChangeIndex: handleChangeIndex,
53
+ animateHeight: animateHeight
52
54
  }, quotes.map((quote, i) => React__default.createElement("p", {
53
55
  className: cn(quoteTextClass, styles.quoteText),
54
56
  key: i
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jetbrains/kotlin-web-site-ui",
3
3
  "description": "UI components for Kotlin web sites development",
4
- "version": "4.5.0-alpha.0",
4
+ "version": "4.5.0-alpha.2",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
7
7
  "files": [