@syncfusion/ej2-layouts 19.4.52 → 20.1.58

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 (130) hide show
  1. package/CHANGELOG.md +1 -11
  2. package/dist/ej2-layouts.umd.min.js +2 -2
  3. package/dist/ej2-layouts.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-layouts.es2015.js +17 -16
  5. package/dist/es6/ej2-layouts.es2015.js.map +1 -1
  6. package/dist/es6/ej2-layouts.es5.js +17 -16
  7. package/dist/es6/ej2-layouts.es5.js.map +1 -1
  8. package/dist/global/ej2-layouts.min.js +2 -2
  9. package/dist/global/ej2-layouts.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +6 -6
  12. package/src/splitter/splitter.js +17 -16
  13. package/styles/avatar/_bootstrap5-definition.scss +1 -0
  14. package/styles/avatar/_fluent-dark-definition.scss +1 -0
  15. package/styles/avatar/_layout.scss +6 -0
  16. package/styles/avatar/bootstrap-dark.css +1 -7
  17. package/styles/avatar/bootstrap.css +1 -7
  18. package/styles/avatar/bootstrap4.css +1 -7
  19. package/styles/avatar/bootstrap5-dark.css +3 -7
  20. package/styles/avatar/bootstrap5.css +3 -7
  21. package/styles/avatar/fabric-dark.css +1 -7
  22. package/styles/avatar/fabric.css +1 -7
  23. package/styles/avatar/fluent-dark.css +55 -0
  24. package/styles/avatar/fluent-dark.scss +3 -0
  25. package/styles/avatar/fluent.css +55 -0
  26. package/styles/avatar/fluent.scss +3 -0
  27. package/styles/avatar/highcontrast-light.css +1 -7
  28. package/styles/avatar/highcontrast.css +1 -7
  29. package/styles/avatar/material-dark.css +1 -7
  30. package/styles/avatar/material.css +1 -7
  31. package/styles/avatar/tailwind-dark.css +1 -7
  32. package/styles/avatar/tailwind.css +1 -7
  33. package/styles/bootstrap-dark.css +47 -316
  34. package/styles/bootstrap.css +47 -316
  35. package/styles/bootstrap4.css +47 -318
  36. package/styles/bootstrap5-dark.css +55 -319
  37. package/styles/bootstrap5.css +55 -319
  38. package/styles/card/_bootstrap5-definition.scss +5 -4
  39. package/styles/card/_fluent-dark-definition.scss +1 -0
  40. package/styles/card/_layout.scss +8 -0
  41. package/styles/card/_tailwind-definition.scss +8 -8
  42. package/styles/card/bootstrap-dark.css +1 -85
  43. package/styles/card/bootstrap.css +1 -85
  44. package/styles/card/bootstrap4.css +1 -87
  45. package/styles/card/bootstrap5-dark.css +6 -88
  46. package/styles/card/bootstrap5.css +6 -88
  47. package/styles/card/fabric-dark.css +1 -85
  48. package/styles/card/fabric.css +1 -87
  49. package/styles/card/fluent-dark.css +518 -0
  50. package/styles/card/fluent-dark.scss +3 -0
  51. package/styles/card/fluent.css +518 -0
  52. package/styles/card/fluent.scss +3 -0
  53. package/styles/card/highcontrast-light.css +1 -85
  54. package/styles/card/highcontrast.css +1 -87
  55. package/styles/card/material-dark.css +1 -85
  56. package/styles/card/material.css +1 -85
  57. package/styles/card/tailwind-dark.css +9 -95
  58. package/styles/card/tailwind.css +9 -95
  59. package/styles/dashboard-layout/_bootstrap5-definition.scss +1 -1
  60. package/styles/dashboard-layout/_fluent-dark-definition.scss +1 -0
  61. package/styles/dashboard-layout/_fluent-definition.scss +1 -1
  62. package/styles/dashboard-layout/_layout.scss +19 -2
  63. package/styles/dashboard-layout/_tailwind-definition.scss +3 -1
  64. package/styles/dashboard-layout/bootstrap-dark.css +28 -116
  65. package/styles/dashboard-layout/bootstrap.css +28 -116
  66. package/styles/dashboard-layout/bootstrap4.css +28 -116
  67. package/styles/dashboard-layout/bootstrap5-dark.css +29 -118
  68. package/styles/dashboard-layout/bootstrap5.css +29 -118
  69. package/styles/dashboard-layout/fabric-dark.css +28 -116
  70. package/styles/dashboard-layout/fabric.css +28 -116
  71. package/styles/dashboard-layout/fluent-dark.css +299 -0
  72. package/styles/dashboard-layout/fluent-dark.scss +4 -0
  73. package/styles/dashboard-layout/fluent.css +299 -0
  74. package/styles/dashboard-layout/fluent.scss +4 -0
  75. package/styles/dashboard-layout/highcontrast-light.css +16 -85
  76. package/styles/dashboard-layout/highcontrast.css +28 -115
  77. package/styles/dashboard-layout/icons/_fluent-dark.scss +1 -0
  78. package/styles/dashboard-layout/icons/_fluent.scss +2 -2
  79. package/styles/dashboard-layout/icons/_tailwind-dark.scss +8 -8
  80. package/styles/dashboard-layout/icons/_tailwind.scss +8 -8
  81. package/styles/dashboard-layout/material-dark.css +28 -116
  82. package/styles/dashboard-layout/material.css +28 -116
  83. package/styles/dashboard-layout/tailwind-dark.css +42 -130
  84. package/styles/dashboard-layout/tailwind.css +40 -128
  85. package/styles/fabric-dark.css +47 -316
  86. package/styles/fabric.css +47 -318
  87. package/styles/fluent-dark.css +1360 -0
  88. package/styles/fluent-dark.scss +4 -0
  89. package/styles/fluent.css +1360 -0
  90. package/styles/fluent.scss +4 -0
  91. package/styles/highcontrast-light.css +35 -285
  92. package/styles/highcontrast.css +47 -317
  93. package/styles/material-dark.css +57 -326
  94. package/styles/material.css +47 -316
  95. package/styles/splitter/_bootstrap-dark-definition.scss +1 -0
  96. package/styles/splitter/_bootstrap-definition.scss +1 -0
  97. package/styles/splitter/_bootstrap4-definition.scss +1 -0
  98. package/styles/splitter/_bootstrap5-definition.scss +5 -4
  99. package/styles/splitter/_fabric-dark-definition.scss +1 -0
  100. package/styles/splitter/_fabric-definition.scss +1 -0
  101. package/styles/splitter/_fluent-dark-definition.scss +1 -0
  102. package/styles/splitter/_fluent-definition.scss +2 -1
  103. package/styles/splitter/_highcontrast-definition.scss +1 -0
  104. package/styles/splitter/_highcontrast-light-definition.scss +1 -0
  105. package/styles/splitter/_layout.scss +4 -4
  106. package/styles/splitter/_material-dark-definition.scss +1 -0
  107. package/styles/splitter/_material-definition.scss +1 -0
  108. package/styles/splitter/_tailwind-definition.scss +2 -1
  109. package/styles/splitter/bootstrap-dark.css +20 -111
  110. package/styles/splitter/bootstrap.css +20 -111
  111. package/styles/splitter/bootstrap4.css +20 -111
  112. package/styles/splitter/bootstrap5-dark.css +20 -109
  113. package/styles/splitter/bootstrap5.css +20 -109
  114. package/styles/splitter/fabric-dark.css +20 -111
  115. package/styles/splitter/fabric.css +20 -111
  116. package/styles/splitter/fluent-dark.css +485 -0
  117. package/styles/splitter/fluent-dark.scss +4 -0
  118. package/styles/splitter/fluent.css +485 -0
  119. package/styles/splitter/fluent.scss +4 -0
  120. package/styles/splitter/highcontrast-light.css +20 -111
  121. package/styles/splitter/highcontrast.css +20 -111
  122. package/styles/splitter/icons/_fluent-dark.scss +1 -0
  123. package/styles/splitter/icons/_fluent.scss +3 -3
  124. package/styles/splitter/icons/_tailwind.scss +2 -14
  125. package/styles/splitter/material-dark.css +30 -121
  126. package/styles/splitter/material.css +20 -111
  127. package/styles/splitter/tailwind-dark.css +20 -117
  128. package/styles/splitter/tailwind.css +20 -117
  129. package/styles/tailwind-dark.css +69 -346
  130. package/styles/tailwind.css +67 -344
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.4.52
3
+ * version : 20.1.58
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-layouts@*",
3
- "_id": "@syncfusion/ej2-layouts@19.4.48",
3
+ "_id": "@syncfusion/ej2-layouts@20.1.55",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-wzxIalP5bcx4wLMyQVZGqC8x3Xas0l2+bSTbQu8shS+M11d9Vem9D/CefoEGTUNfJEkBqvVftMptYmCNxHarvA==",
5
+ "_integrity": "sha512-Op2XpXOOSyULgrsuwDXCu2E4LRmCoeqxMQzMCMbl4oQ6M+7mMYbUnRzL37pK820w1oWIfjyJ/zvadcIusQF+HQ==",
6
6
  "_location": "/@syncfusion/ej2-layouts",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -27,8 +27,8 @@
27
27
  "/@syncfusion/ej2-react-layouts",
28
28
  "/@syncfusion/ej2-vue-layouts"
29
29
  ],
30
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-19.4.48.tgz",
31
- "_shasum": "af95de585a1a293b4709c99026a27748ab32fbed",
30
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-20.1.55.tgz",
31
+ "_shasum": "2cc4380fbb340870830e1effed1ebc4b17953360",
32
32
  "_spec": "@syncfusion/ej2-layouts@*",
33
33
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
34
34
  "author": {
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~19.4.52"
39
+ "@syncfusion/ej2-base": "~20.1.57"
40
40
  },
41
41
  "deprecated": false,
42
42
  "description": "A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person.",
@@ -76,6 +76,6 @@
76
76
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/layouts"
77
77
  },
78
78
  "typings": "index.d.ts",
79
- "version": "19.4.52",
79
+ "version": "20.1.58",
80
80
  "sideEffects": false
81
81
  }
@@ -1063,7 +1063,7 @@ var Splitter = /** @class */ (function (_super) {
1063
1063
  paneMinRange = this.convertPercentageToPixel(this.paneSettings[i].min);
1064
1064
  }
1065
1065
  minValue = this.convertPixelToNumber((paneMinRange).toString());
1066
- if (this.allPanes[i].offsetWidth < minValue) {
1066
+ if ((this.orientation === 'Horizontal' ? this.allPanes[i].offsetWidth : this.allPanes[i].offsetHeight) < minValue) {
1067
1067
  if (i === paneIndex) {
1068
1068
  updatePane = this.allPanes[i];
1069
1069
  flexPane = this.allPanes[i + 1];
@@ -1072,12 +1072,15 @@ var Splitter = /** @class */ (function (_super) {
1072
1072
  updatePane = this.allPanes[i];
1073
1073
  flexPane = this.allPanes[i - 1];
1074
1074
  }
1075
- var sizeDiff = minValue - this.allPanes[i].offsetWidth;
1075
+ var sizeDiff = minValue - (this.orientation === 'Horizontal' ?
1076
+ this.allPanes[i].offsetWidth : this.allPanes[i].offsetHeight);
1076
1077
  var isPercent = updatePane.style.flexBasis.indexOf('%') > -1;
1077
- updatePane.style.flexBasis = isPercent ? this.convertPixelToPercentage(updatePane.offsetWidth + sizeDiff) + '%'
1078
- : (updatePane.offsetWidth + sizeDiff) + 'px';
1078
+ var updatePaneOffset = this.orientation === 'Horizontal' ? updatePane.offsetWidth : updatePane.offsetHeight;
1079
+ updatePane.style.flexBasis = isPercent ? this.convertPixelToPercentage(updatePaneOffset + sizeDiff) + '%'
1080
+ : (updatePaneOffset + sizeDiff) + 'px';
1081
+ var flexPaneOffset = this.orientation === 'Horizontal' ? flexPane.offsetWidth : flexPane.offsetHeight;
1079
1082
  flexPane.style.flexBasis = flexPane.style.flexBasis.indexOf('%') > -1 ?
1080
- this.convertPixelToPercentage(flexPane.offsetWidth - sizeDiff) + '%' : (flexPane.offsetWidth - sizeDiff) + 'px';
1083
+ this.convertPixelToPercentage(flexPaneOffset - sizeDiff) + '%' : (flexPaneOffset - sizeDiff) + 'px';
1081
1084
  }
1082
1085
  }
1083
1086
  }
@@ -1202,22 +1205,20 @@ var Splitter = /** @class */ (function (_super) {
1202
1205
  var visiblePane = collapseCount === this.allPanes.length - 2;
1203
1206
  var panes = this.allPanes;
1204
1207
  for (var i = 0; i < panes.length; i++) {
1205
- if (panes[i].classList.contains(EXPAND_PANE)) {
1206
- panes[i].style.flexGrow = '1';
1207
- }
1208
- else if (panes[i].classList.contains(COLLAPSE_PANE)) {
1209
- panes[i].style.flexGrow = '0';
1210
- }
1211
- else {
1212
- panes[i].style.flexGrow = '';
1213
- }
1208
+ panes[i].style.flexGrow = '';
1214
1209
  if (status && !this.nextPane.classList.contains(COLLAPSE_PANE)) {
1215
1210
  this.nextPane.style.flexGrow = '1';
1216
1211
  }
1217
- if (visiblePane && !this.allPanes[i].classList.contains(COLLAPSE_PANE) && this.paneSettings[i].size &&
1212
+ if (visiblePane && this.allPanes[i].classList.contains(COLLAPSE_PANE) && this.paneSettings[i].size &&
1218
1213
  i !== this.allPanes.length - 1) {
1219
1214
  panes[i].style.flexGrow = '';
1220
1215
  }
1216
+ if (panes[i].classList.contains(EXPAND_PANE)) {
1217
+ panes[i].style.flexGrow = '1';
1218
+ }
1219
+ else if (panes[i].classList.contains(COLLAPSE_PANE)) {
1220
+ panes[i].style.flexGrow = '0';
1221
+ }
1221
1222
  }
1222
1223
  };
1223
1224
  Splitter.prototype.hideTargetBarIcon = function (targetBar, targetArrow) {
@@ -1871,7 +1872,7 @@ var Splitter = /** @class */ (function (_super) {
1871
1872
  }
1872
1873
  };
1873
1874
  Splitter.prototype.validateDraggedPosition = function (draggedPos, prevPaneHeightWidth, nextPaneHeightWidth) {
1874
- var separatorTopLeft = (this.orientation === 'Horizontal') ? this.currentSeparator.offsetLeft + window.scrollX :
1875
+ var separatorTopLeft = (this.orientation === 'Horizontal') ? this.currentSeparator.offsetLeft :
1875
1876
  this.currentSeparator.offsetTop;
1876
1877
  var prePaneRange = separatorTopLeft - prevPaneHeightWidth;
1877
1878
  var nextPaneRange = nextPaneHeightWidth + separatorTopLeft;
@@ -17,6 +17,7 @@ $avatar-xsmall-font-size: $text-xxs !default;
17
17
  $avatar-small-font-size: $text-xs !default;
18
18
  $avatar-large-font-size: $text-lg !default;
19
19
  $avatar-xlarge-font-size: $text-xl !default;
20
+ $avatar-large-border-radius: 4px !default;
20
21
 
21
22
  // Avatar Line Height
22
23
  $avatar-base-xsmall-line-height: 16px !default;
@@ -0,0 +1 @@
1
+ @import './fluent-definition.scss';
@@ -50,6 +50,9 @@
50
50
 
51
51
  &.e-avatar-large {
52
52
  font-size: $avatar-large-font-size;
53
+ @if ($skin-name == 'bootstrap5') {
54
+ border-radius: $avatar-large-border-radius;
55
+ }
53
56
  @if ($skin-name == 'tailwind' or $skin-name == 'tailwind-dark' or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
54
57
  height: 48px;
55
58
  line-height: $avatar-base-large-line-height;
@@ -59,6 +62,9 @@
59
62
 
60
63
  &.e-avatar-xlarge {
61
64
  font-size: $avatar-xlarge-font-size;
65
+ @if ($skin-name == 'bootstrap5') {
66
+ border-radius: $avatar-large-border-radius;
67
+ }
62
68
  @if ($skin-name == 'tailwind' or $skin-name == 'tailwind-dark'or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
63
69
  height: 56px;
64
70
  line-height: $avatar-base-xlarge-line-height;
@@ -21,28 +21,22 @@
21
21
  position: relative;
22
22
  width: 3em;
23
23
  }
24
-
25
24
  .e-avatar img {
26
25
  height: 100%;
27
26
  width: auto;
28
27
  }
29
-
30
28
  .e-avatar.e-avatar-circle {
31
29
  border-radius: 50%;
32
30
  }
33
-
34
31
  .e-avatar.e-avatar-xsmall {
35
32
  font-size: 0.6em;
36
33
  }
37
-
38
34
  .e-avatar.e-avatar-small {
39
35
  font-size: 0.8em;
40
36
  }
41
-
42
37
  .e-avatar.e-avatar-large {
43
38
  font-size: 1.2em;
44
39
  }
45
-
46
40
  .e-avatar.e-avatar-xlarge {
47
41
  font-size: 1.4em;
48
- }
42
+ }
@@ -21,28 +21,22 @@
21
21
  position: relative;
22
22
  width: 3em;
23
23
  }
24
-
25
24
  .e-avatar img {
26
25
  height: 100%;
27
26
  width: auto;
28
27
  }
29
-
30
28
  .e-avatar.e-avatar-circle {
31
29
  border-radius: 50%;
32
30
  }
33
-
34
31
  .e-avatar.e-avatar-xsmall {
35
32
  font-size: 0.6em;
36
33
  }
37
-
38
34
  .e-avatar.e-avatar-small {
39
35
  font-size: 0.8em;
40
36
  }
41
-
42
37
  .e-avatar.e-avatar-large {
43
38
  font-size: 1.2em;
44
39
  }
45
-
46
40
  .e-avatar.e-avatar-xlarge {
47
41
  font-size: 1.4em;
48
- }
42
+ }
@@ -21,28 +21,22 @@
21
21
  position: relative;
22
22
  width: 2.5em;
23
23
  }
24
-
25
24
  .e-avatar img {
26
25
  height: 100%;
27
26
  width: auto;
28
27
  }
29
-
30
28
  .e-avatar.e-avatar-circle {
31
29
  border-radius: 50%;
32
30
  }
33
-
34
31
  .e-avatar.e-avatar-xsmall {
35
32
  font-size: 0.65em;
36
33
  }
37
-
38
34
  .e-avatar.e-avatar-small {
39
35
  font-size: 0.85em;
40
36
  }
41
-
42
37
  .e-avatar.e-avatar-large {
43
38
  font-size: 1.25em;
44
39
  }
45
-
46
40
  .e-avatar.e-avatar-xlarge {
47
41
  font-size: 1.45em;
48
- }
42
+ }
@@ -22,40 +22,36 @@
22
22
  width: 40px;
23
23
  line-height: 22px;
24
24
  }
25
-
26
25
  .e-avatar img {
27
26
  height: 100%;
28
27
  width: auto;
29
28
  }
30
-
31
29
  .e-avatar.e-avatar-circle {
32
30
  border-radius: 50%;
33
31
  }
34
-
35
32
  .e-avatar.e-avatar-xsmall {
36
33
  font-size: 10px;
37
34
  height: 24px;
38
35
  line-height: 16px;
39
36
  width: 24px;
40
37
  }
41
-
42
38
  .e-avatar.e-avatar-small {
43
39
  font-size: 12px;
44
40
  height: 32px;
45
41
  line-height: 18px;
46
42
  width: 32px;
47
43
  }
48
-
49
44
  .e-avatar.e-avatar-large {
50
45
  font-size: 18px;
46
+ border-radius: 4px;
51
47
  height: 48px;
52
48
  line-height: 28px;
53
49
  width: 48px;
54
50
  }
55
-
56
51
  .e-avatar.e-avatar-xlarge {
57
52
  font-size: 20px;
53
+ border-radius: 4px;
58
54
  height: 56px;
59
55
  line-height: 28px;
60
56
  width: 56px;
61
- }
57
+ }
@@ -22,40 +22,36 @@
22
22
  width: 40px;
23
23
  line-height: 22px;
24
24
  }
25
-
26
25
  .e-avatar img {
27
26
  height: 100%;
28
27
  width: auto;
29
28
  }
30
-
31
29
  .e-avatar.e-avatar-circle {
32
30
  border-radius: 50%;
33
31
  }
34
-
35
32
  .e-avatar.e-avatar-xsmall {
36
33
  font-size: 10px;
37
34
  height: 24px;
38
35
  line-height: 16px;
39
36
  width: 24px;
40
37
  }
41
-
42
38
  .e-avatar.e-avatar-small {
43
39
  font-size: 12px;
44
40
  height: 32px;
45
41
  line-height: 18px;
46
42
  width: 32px;
47
43
  }
48
-
49
44
  .e-avatar.e-avatar-large {
50
45
  font-size: 18px;
46
+ border-radius: 4px;
51
47
  height: 48px;
52
48
  line-height: 28px;
53
49
  width: 48px;
54
50
  }
55
-
56
51
  .e-avatar.e-avatar-xlarge {
57
52
  font-size: 20px;
53
+ border-radius: 4px;
58
54
  height: 56px;
59
55
  line-height: 28px;
60
56
  width: 56px;
61
- }
57
+ }
@@ -21,28 +21,22 @@
21
21
  position: relative;
22
22
  width: 3em;
23
23
  }
24
-
25
24
  .e-avatar img {
26
25
  height: 100%;
27
26
  width: auto;
28
27
  }
29
-
30
28
  .e-avatar.e-avatar-circle {
31
29
  border-radius: 50%;
32
30
  }
33
-
34
31
  .e-avatar.e-avatar-xsmall {
35
32
  font-size: 0.6em;
36
33
  }
37
-
38
34
  .e-avatar.e-avatar-small {
39
35
  font-size: 0.8em;
40
36
  }
41
-
42
37
  .e-avatar.e-avatar-large {
43
38
  font-size: 1.2em;
44
39
  }
45
-
46
40
  .e-avatar.e-avatar-xlarge {
47
41
  font-size: 1.4em;
48
- }
42
+ }
@@ -21,28 +21,22 @@
21
21
  position: relative;
22
22
  width: 3em;
23
23
  }
24
-
25
24
  .e-avatar img {
26
25
  height: 100%;
27
26
  width: auto;
28
27
  }
29
-
30
28
  .e-avatar.e-avatar-circle {
31
29
  border-radius: 50%;
32
30
  }
33
-
34
31
  .e-avatar.e-avatar-xsmall {
35
32
  font-size: 0.6em;
36
33
  }
37
-
38
34
  .e-avatar.e-avatar-small {
39
35
  font-size: 0.8em;
40
36
  }
41
-
42
37
  .e-avatar.e-avatar-large {
43
38
  font-size: 1.2em;
44
39
  }
45
-
46
40
  .e-avatar.e-avatar-xlarge {
47
41
  font-size: 1.4em;
48
- }
42
+ }
@@ -0,0 +1,55 @@
1
+ .e-avatar {
2
+ -ms-flex-line-pack: center;
3
+ align-content: center;
4
+ -ms-flex-align: center;
5
+ align-items: center;
6
+ background-color: #292827;
7
+ background-position: center;
8
+ background-repeat: no-repeat;
9
+ background-size: cover;
10
+ border-radius: 4px;
11
+ color: #a19f9d;
12
+ display: -ms-inline-flexbox;
13
+ display: inline-flex;
14
+ font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif;
15
+ font-size: 16px;
16
+ font-weight: 400;
17
+ height: 40px;
18
+ -ms-flex-pack: center;
19
+ justify-content: center;
20
+ overflow: hidden;
21
+ position: relative;
22
+ width: 40px;
23
+ line-height: 24px;
24
+ }
25
+ .e-avatar img {
26
+ height: 100%;
27
+ width: auto;
28
+ }
29
+ .e-avatar.e-avatar-circle {
30
+ border-radius: 50%;
31
+ }
32
+ .e-avatar.e-avatar-xsmall {
33
+ font-size: 10px;
34
+ height: 24px;
35
+ line-height: 16px;
36
+ width: 24px;
37
+ }
38
+ .e-avatar.e-avatar-small {
39
+ font-size: 12px;
40
+ height: 32px;
41
+ line-height: 18px;
42
+ width: 32px;
43
+ }
44
+ .e-avatar.e-avatar-large {
45
+ font-size: 20px;
46
+ height: 48px;
47
+ line-height: 28px;
48
+ width: 48px;
49
+ }
50
+ .e-avatar.e-avatar-xlarge {
51
+ font-size: 24px;
52
+ height: 56px;
53
+ line-height: 28px;
54
+ width: 56px;
55
+ }
@@ -0,0 +1,3 @@
1
+ @import 'ej2-base/styles/fluent-dark-definition.scss';
2
+ @import 'fluent-dark-definition.scss';
3
+ @import 'all.scss';
@@ -0,0 +1,55 @@
1
+ .e-avatar {
2
+ -ms-flex-line-pack: center;
3
+ align-content: center;
4
+ -ms-flex-align: center;
5
+ align-items: center;
6
+ background-color: #edebe9;
7
+ background-position: center;
8
+ background-repeat: no-repeat;
9
+ background-size: cover;
10
+ border-radius: 4px;
11
+ color: #605e5c;
12
+ display: -ms-inline-flexbox;
13
+ display: inline-flex;
14
+ font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif;
15
+ font-size: 16px;
16
+ font-weight: 400;
17
+ height: 40px;
18
+ -ms-flex-pack: center;
19
+ justify-content: center;
20
+ overflow: hidden;
21
+ position: relative;
22
+ width: 40px;
23
+ line-height: 24px;
24
+ }
25
+ .e-avatar img {
26
+ height: 100%;
27
+ width: auto;
28
+ }
29
+ .e-avatar.e-avatar-circle {
30
+ border-radius: 50%;
31
+ }
32
+ .e-avatar.e-avatar-xsmall {
33
+ font-size: 10px;
34
+ height: 24px;
35
+ line-height: 16px;
36
+ width: 24px;
37
+ }
38
+ .e-avatar.e-avatar-small {
39
+ font-size: 12px;
40
+ height: 32px;
41
+ line-height: 18px;
42
+ width: 32px;
43
+ }
44
+ .e-avatar.e-avatar-large {
45
+ font-size: 20px;
46
+ height: 48px;
47
+ line-height: 28px;
48
+ width: 48px;
49
+ }
50
+ .e-avatar.e-avatar-xlarge {
51
+ font-size: 24px;
52
+ height: 56px;
53
+ line-height: 28px;
54
+ width: 56px;
55
+ }
@@ -0,0 +1,3 @@
1
+ @import 'ej2-base/styles/fluent-definition.scss';
2
+ @import 'fluent-definition.scss';
3
+ @import 'all.scss';
@@ -21,28 +21,22 @@
21
21
  position: relative;
22
22
  width: 3em;
23
23
  }
24
-
25
24
  .e-avatar img {
26
25
  height: 100%;
27
26
  width: auto;
28
27
  }
29
-
30
28
  .e-avatar.e-avatar-circle {
31
29
  border-radius: 50%;
32
30
  }
33
-
34
31
  .e-avatar.e-avatar-xsmall {
35
32
  font-size: 0.6em;
36
33
  }
37
-
38
34
  .e-avatar.e-avatar-small {
39
35
  font-size: 0.8em;
40
36
  }
41
-
42
37
  .e-avatar.e-avatar-large {
43
38
  font-size: 1.2em;
44
39
  }
45
-
46
40
  .e-avatar.e-avatar-xlarge {
47
41
  font-size: 1.4em;
48
- }
42
+ }
@@ -21,28 +21,22 @@
21
21
  position: relative;
22
22
  width: 3em;
23
23
  }
24
-
25
24
  .e-avatar img {
26
25
  height: 100%;
27
26
  width: auto;
28
27
  }
29
-
30
28
  .e-avatar.e-avatar-circle {
31
29
  border-radius: 50%;
32
30
  }
33
-
34
31
  .e-avatar.e-avatar-xsmall {
35
32
  font-size: 0.6em;
36
33
  }
37
-
38
34
  .e-avatar.e-avatar-small {
39
35
  font-size: 0.8em;
40
36
  }
41
-
42
37
  .e-avatar.e-avatar-large {
43
38
  font-size: 1.2em;
44
39
  }
45
-
46
40
  .e-avatar.e-avatar-xlarge {
47
41
  font-size: 1.4em;
48
- }
42
+ }
@@ -22,28 +22,22 @@
22
22
  position: relative;
23
23
  width: 3em;
24
24
  }
25
-
26
25
  .e-avatar img {
27
26
  height: 100%;
28
27
  width: auto;
29
28
  }
30
-
31
29
  .e-avatar.e-avatar-circle {
32
30
  border-radius: 50%;
33
31
  }
34
-
35
32
  .e-avatar.e-avatar-xsmall {
36
33
  font-size: 0.6em;
37
34
  }
38
-
39
35
  .e-avatar.e-avatar-small {
40
36
  font-size: 0.8em;
41
37
  }
42
-
43
38
  .e-avatar.e-avatar-large {
44
39
  font-size: 1.2em;
45
40
  }
46
-
47
41
  .e-avatar.e-avatar-xlarge {
48
42
  font-size: 1.4em;
49
- }
43
+ }
@@ -22,28 +22,22 @@
22
22
  position: relative;
23
23
  width: 3em;
24
24
  }
25
-
26
25
  .e-avatar img {
27
26
  height: 100%;
28
27
  width: auto;
29
28
  }
30
-
31
29
  .e-avatar.e-avatar-circle {
32
30
  border-radius: 50%;
33
31
  }
34
-
35
32
  .e-avatar.e-avatar-xsmall {
36
33
  font-size: 0.6em;
37
34
  }
38
-
39
35
  .e-avatar.e-avatar-small {
40
36
  font-size: 0.8em;
41
37
  }
42
-
43
38
  .e-avatar.e-avatar-large {
44
39
  font-size: 1.2em;
45
40
  }
46
-
47
41
  .e-avatar.e-avatar-xlarge {
48
42
  font-size: 1.4em;
49
- }
43
+ }
@@ -23,40 +23,34 @@
23
23
  width: 40px;
24
24
  line-height: 22px;
25
25
  }
26
-
27
26
  .e-avatar img {
28
27
  height: 100%;
29
28
  width: auto;
30
29
  }
31
-
32
30
  .e-avatar.e-avatar-circle {
33
31
  border-radius: 50%;
34
32
  }
35
-
36
33
  .e-avatar.e-avatar-xsmall {
37
34
  font-size: 10px;
38
35
  height: 24px;
39
36
  line-height: 16px;
40
37
  width: 24px;
41
38
  }
42
-
43
39
  .e-avatar.e-avatar-small {
44
40
  font-size: 12px;
45
41
  height: 32px;
46
42
  line-height: 18px;
47
43
  width: 32px;
48
44
  }
49
-
50
45
  .e-avatar.e-avatar-large {
51
46
  font-size: 18px;
52
47
  height: 48px;
53
48
  line-height: 28px;
54
49
  width: 48px;
55
50
  }
56
-
57
51
  .e-avatar.e-avatar-xlarge {
58
52
  font-size: 20px;
59
53
  height: 56px;
60
54
  line-height: 28px;
61
55
  width: 56px;
62
- }
56
+ }