@lumx/core 3.0.1 → 3.0.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.
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "version": "yarn version-changelog ../../CHANGELOG.md && yarn changelog-verify ../../CHANGELOG.md && git add ../../CHANGELOG.md"
43
43
  },
44
44
  "sideEffects": false,
45
- "version": "3.0.1",
45
+ "version": "3.0.2",
46
46
  "devDependencies": {
47
47
  "@babel/core": "^7.8.3",
48
48
  "@babel/plugin-proposal-class-properties": "^7.8.3",
@@ -66,7 +66,6 @@
66
66
  "install-peers-cli": "^2.2.0",
67
67
  "is-ci": "^2.0.0",
68
68
  "optimize-css-assets-webpack-plugin": "^5.0.3",
69
- "postcss-flexbox-unboxer": "^1.0.0",
70
69
  "postcss-loader": "^3.0.0",
71
70
  "sass": "^1.54.0",
72
71
  "sass-loader": "^10.3.1",
@@ -82,5 +81,5 @@
82
81
  "moment": "^2.24.0",
83
82
  "moment-range": "^4.0.2"
84
83
  },
85
- "gitHead": "cd913d1c468a87d794b68b25505975ac992e940c"
84
+ "gitHead": "f66d1996ea46e90a4dc135ee8f47ef012b95171c"
86
85
  }
@@ -52,6 +52,22 @@
52
52
  justify-content: flex-end;
53
53
  }
54
54
 
55
+ .#{$lumx-base-prefix}-flex-box--orientation-horizontal.#{$lumx-base-prefix}-flex-box--v-align-space-between,
56
+ .#{$lumx-base-prefix}-flex-box--orientation-vertical.#{$lumx-base-prefix}-flex-box--h-align-space-between {
57
+ justify-content: space-between;
58
+ }
59
+
60
+ .#{$lumx-base-prefix}-flex-box--orientation-horizontal.#{$lumx-base-prefix}-flex-box--v-align-space-around,
61
+ .#{$lumx-base-prefix}-flex-box--orientation-vertical.#{$lumx-base-prefix}-flex-box--h-align-space-around {
62
+ justify-content: space-around;
63
+ }
64
+
65
+ .#{$lumx-base-prefix}-flex-box--orientation-horizontal.#{$lumx-base-prefix}-flex-box--v-align-space-evenly,
66
+ .#{$lumx-base-prefix}-flex-box--orientation-vertical.#{$lumx-base-prefix}-flex-box--h-align-space-evenly
67
+ {
68
+ justify-content: space-evenly;
69
+ }
70
+
55
71
  /* Wrap
56
72
  ========================================================================== */
57
73
 
@@ -49,6 +49,16 @@
49
49
  }
50
50
  }
51
51
 
52
+ /* Slideshow item group
53
+ ========================================================================== */
54
+
55
+ .#{$lumx-base-prefix}-slideshow-item-group {
56
+ display: flex;
57
+ overflow: hidden;
58
+ max-width: 100%;
59
+ flex: 0 0 100%;
60
+ }
61
+
52
62
  /* Slideshow item
53
63
  ========================================================================== */
54
64
 
@@ -58,6 +68,7 @@
58
68
  }
59
69
  }
60
70
 
71
+
61
72
  @for $i from 1 through 12 {
62
73
  .#{$lumx-base-prefix}-slideshow--group-by-#{$i} .#{$lumx-base-prefix}-slideshow-item {
63
74
  flex: 0 0 #{math.div(100, $i) + "%"};
@@ -65,7 +76,6 @@
65
76
  overflow: hidden;
66
77
  }
67
78
  }
68
-
69
79
  /* Slideshow controls
70
80
  ========================================================================== */
71
81
 
@@ -0,0 +1,20 @@
1
+ /* ==========================================================================
2
+ Text
3
+ ========================================================================== */
4
+
5
+ .#{$lumx-base-prefix}-text {
6
+ &--is-truncated {
7
+ display: block;
8
+ overflow: hidden;
9
+ text-overflow: ellipsis;
10
+ white-space: nowrap;
11
+ }
12
+
13
+ &--is-truncated-multiline {
14
+ /*autoprefixer: off */
15
+ display: -webkit-box;
16
+ overflow: hidden;
17
+ -webkit-box-orient: vertical;
18
+ -webkit-line-clamp: var(--lumx-text-truncate-lines);
19
+ }
20
+ }
package/scss/lumx.scss CHANGED
@@ -58,6 +58,7 @@
58
58
  @import "./components/switch/index";
59
59
  @import "./components/table/index";
60
60
  @import "./components/tabs/index";
61
+ @import "./components/text/index";
61
62
  @import "./components/text-field/index";
62
63
  @import "./components/thumbnail/index";
63
64
  @import "./components/toolbar/index";