@syncfusion/ej2-splitbuttons 19.3.47 → 19.4.40

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
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-splitbuttons@*",
3
- "_id": "@syncfusion/ej2-splitbuttons@19.3.45",
3
+ "_id": "@syncfusion/ej2-splitbuttons@19.4.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Z3Q1DDHHbC/SsJoAtUtsvXlo32ZOBX9WTHME3TllG8mRctCiO9RZ1n4YggH7I6y+eqwEBD/x6v1neqWpg7Ft8Q==",
5
+ "_integrity": "sha512-jK+OslxMjc0BhpJI6fGlL7AmB6MBODeTxMQII854kprWYr6za4AYt3A/YjRnb7AM4P24KohPPRk1UhELHiyo4A==",
6
6
  "_location": "/@syncfusion/ej2-splitbuttons",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -21,18 +21,16 @@
21
21
  "/@syncfusion/ej2",
22
22
  "/@syncfusion/ej2-angular-splitbuttons",
23
23
  "/@syncfusion/ej2-documenteditor",
24
- "/@syncfusion/ej2-filemanager",
25
24
  "/@syncfusion/ej2-grids",
26
25
  "/@syncfusion/ej2-inplace-editor",
27
26
  "/@syncfusion/ej2-inputs",
28
27
  "/@syncfusion/ej2-pivotview",
29
- "/@syncfusion/ej2-querybuilder",
30
28
  "/@syncfusion/ej2-react-splitbuttons",
31
29
  "/@syncfusion/ej2-richtexteditor",
32
30
  "/@syncfusion/ej2-vue-splitbuttons"
33
31
  ],
34
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-19.3.45.tgz",
35
- "_shasum": "9a444ab3598387de82f877d5685f77698f2a5e56",
32
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-19.4.38.tgz",
33
+ "_shasum": "a935f0786ff134dfc0ff0a3e70f30aa65ee51cf9",
36
34
  "_spec": "@syncfusion/ej2-splitbuttons@*",
37
35
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
38
36
  "author": {
@@ -43,8 +41,8 @@
43
41
  },
44
42
  "bundleDependencies": false,
45
43
  "dependencies": {
46
- "@syncfusion/ej2-base": "~19.3.47",
47
- "@syncfusion/ej2-popups": "~19.3.47"
44
+ "@syncfusion/ej2-base": "~19.4.38",
45
+ "@syncfusion/ej2-popups": "~19.4.38"
48
46
  },
49
47
  "deprecated": false,
50
48
  "description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.",
@@ -87,6 +85,6 @@
87
85
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
88
86
  },
89
87
  "typings": "index.d.ts",
90
- "version": "19.3.47",
88
+ "version": "19.4.40",
91
89
  "sideEffects": false
92
90
  }
@@ -550,7 +550,7 @@ var DropDownButton = /** @class */ (function (_super) {
550
550
  if (!_this.target && ul_2) {
551
551
  detach(ul_2);
552
552
  }
553
- if (!_this.target) {
553
+ if (!_this.target || _this.isColorPicker()) {
554
554
  if (_this.createPopupOnClick) {
555
555
  _this.destroyPopup();
556
556
  }
@@ -0,0 +1,31 @@
1
+ //layout variables
2
+ $btn-grp-margin: -1px !default;
3
+ $btn-grp-margin-left: -1px !default;
4
+ $btn-grp-wrapper-border: 4px !default;
5
+ $btn-grp-round-radius: 20px !default;
6
+ $btn-grp-icon-font-size: 16px !default;
7
+ $btn-grp-icon-font-size-bigger: 20px !default;
8
+
9
+ //Normal Outline GroupButton
10
+ $btn-grp-outline-focus-border-color: $secondary-border-color !default;
11
+ $btn-grp-outline-focus-color: inherit !default;
12
+
13
+ //Outline Primary
14
+ $btn-grp-outline-primary-focus-border-color: $primary !default;
15
+ $btn-grp-outline-focus-primary-color: inherit !default;
16
+
17
+ //Outline Success
18
+ $btn-grp-outline-success-focus-border-color: $btn-success-focus-border-color !default;
19
+ $btn-grp-outline-focus-success-color: inherit !default;
20
+
21
+ //Outline Info
22
+ $btn-grp-outline-info-focus-border-color: $btn-info-focus-border-color !default;
23
+ $btn-grp-outline-focus-info-color: inherit !default;
24
+
25
+ //Outline warning
26
+ $btn-grp-outline-warning-focus-border-color: $btn-warning-focus-border-color !default;
27
+ $btn-grp-outline-focus-warning-color: inherit !default;
28
+
29
+ //Outline danger
30
+ $btn-grp-outline-danger-focus-border-color: $btn-danger-focus-border-color !default;
31
+ $btn-grp-outline-focus-danger-color: inherit !default;
@@ -0,0 +1,52 @@
1
+ //layout variables
2
+ $drop-down-btn-arrow-content: '\e70d' !default;
3
+ $drop-down-btn-vertical-btn-padding: 6px 12px !default;
4
+ $drop-down-btn-vertical-bigger-padding: 8px 16px !default;
5
+ $drop-down-btn-bigger-font-size: $text-base !default;
6
+ $drop-down-btn-bigger-li-height: 40px !default;
7
+ $drop-down-btn-bigger-max-width: 202px !default;
8
+ $drop-down-btn-bigger-min-width: 112px !default;
9
+ $drop-down-btn-icon-font-size: 14px !default;
10
+ $drop-down-btn-icon-margin-right: 11px !default;
11
+ $drop-down-btn-bigger-icon-margin-right: 12px !default;
12
+ $drop-down-btn-li-border-width: 1px !default;
13
+ $drop-down-btn-li-height: 36px !default;
14
+ $drop-down-btn-li-padding: 0 12px !default;
15
+ $drop-down-btn-bigger-li-padding: 0 16px !default;
16
+ $drop-down-btn-small-li-padding: 0 8px !default;
17
+ $drop-down-btn-max-width: 178px !default;
18
+ $drop-down-btn-menu-icon-bigger-font-size: 22px !default;
19
+ $drop-down-btn-menu-icon-font-size: 18px !default;
20
+ $drop-down-btn-min-width: 120px !default;
21
+ $drop-down-btn-seperator-padding: 3px 0 !default;
22
+ $drop-down-btn-sub-ul-box-shadow: none !default;
23
+ $drop-down-btn-ul-border-radius: 2px !default;
24
+ $drop-down-btn-ul-padding: 6px 0 !default;
25
+ $drop-down-btn-ul-bigger-padding: 8px 0 !default;
26
+ $drop-down-btn-ul-small-padding: 4px 0 !default;
27
+ $drop-down-btn-caret-icon-font-size: 16px !default;
28
+ $drop-down-btn-icon-font-size-bigger: 16px !default;
29
+ $drop-down-btn-caret-icon-font-size-bigger: 20px !default;
30
+ $drop-down-btn-box-shadow: $secondary-shadow-focus !default;
31
+ $drop-down-btn-popup-margin-top: 4px !default;
32
+ $drop-down-btn-bigger-popup-margin-top: 4px !default;
33
+ $drop-down-btn-ul-border: 0 solid $border-light !default;
34
+ $drop-down-btn-li-box-shadow: none !default;
35
+ $drop-down-btn-li-border-style: solid !default;
36
+ //Color
37
+ $drop-down-btn-color: $secondary-text-color !default;
38
+ $drop-down-btn-disable-text: $secondary-text-color-disabled !default;
39
+ $drop-down-btn-font-size: $text-sm !default;
40
+ $drop-down-btn-font-weight: $font-weight-normal !default;
41
+ $drop-down-btn-li-bgcolor: $flyout-bg-color-hover !default;
42
+ $drop-down-btn-ul-bgcolor: $flyout-bg-color !default;
43
+ $drop-down-btn-li-border-color: $border-light !default;
44
+ $drop-down-btn-selected-color: $flyout-text-color-selected !default;
45
+ $drop-down-btn-parent-ul-box-shadow: $shadow-md !default;
46
+ $drop-down-btn-li-focus-bgcolor: $flyout-bg-color-focus !default;
47
+ $drop-down-btn-li-selection-bgcolor: $flyout-bg-color-selected !default;
48
+ $drop-down-btn-li-selection-font-color: $flyout-text-color-selected !default;
49
+ $drop-down-btn-menu-icon-color: $primary-outline !default;
50
+ $drop-down-btn-menu-icon-disabled-color: $primary-outline !default;
51
+ $drop-down-btn-li-hover-bgcolor: $flyout-bg-color-hover !default;
52
+
@@ -39,7 +39,12 @@
39
39
  }
40
40
 
41
41
  & .e-menu-icon {
42
- color: $drop-down-btn-selected-color;
42
+ @if $skin-name == 'FluentUI' or $theme-name == 'FluentUI' {
43
+ color: $drop-down-btn-menu-icon-color;
44
+ }
45
+ @else {
46
+ color: $drop-down-btn-selected-color;
47
+ }
43
48
  }
44
49
  }
45
50
  }
@@ -0,0 +1,10 @@
1
+ @include export-module('drop-down-button-fluent-icons') {
2
+ .e-dropdown-btn,
3
+ .e-dropdown-btn.e-btn {
4
+ .e-caret {
5
+ &::before {
6
+ content: '\e7c3';
7
+ }
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,21 @@
1
+ //layout variables
2
+ $progress-btn-circle-opacity: .3 !default;
3
+ $progress-btn-transition: all .3s linear !default;
4
+ $progress-btn-spinner-padding: 12px !default;
5
+ $progress-btn-spinner-padding-small: 10px !default;
6
+ $progress-btn-spinner-padding-bigger: 14px !default;
7
+ $progress-btn-spinner-padding-bigger-small: 12px !default;
8
+ $progress-btn-spin-btn-padding: 16px !default;
9
+ $progress-btn-small-spin-btn-padding: 14px !default;
10
+ $progress-btn-bigger-spin-btn-padding: 20px !default;
11
+ $progress-btn-bigger-small-spin-btn-padding: 16px !default;
12
+ $progress-btn-color: $secondary-text-color !default;
13
+ $progress-btn-bgcolor: rgba($secondary-text-color, .2) !default;
14
+ $progress-btn-bgcolor-normal: rgba($secondary-text-color, .2) !default;
15
+ $progress-btn-warning-progress-color: $progress-btn-bgcolor !default;
16
+ $progress-btn-flat-primary-progress-color: rgba($primary-text-color, 1) !default;
17
+ $progress-btn-flat-success-progress-color: rgba($success-text, 1) !default;
18
+ $progress-btn-flat-info-progress-color: rgba($info-text, 1) !default;
19
+ $progress-btn-flat-warning-progress-color: rgba($warning-text, 1) !default;
20
+ $progress-btn-flat-danger-progress-color: rgba($danger-text, 1) !default;
21
+ $btn-flat-primary-path-arc: $white;
@@ -0,0 +1,25 @@
1
+ //layout variables
2
+ $split-btn-zindex: 2 !default;
3
+ $split-btn-border-radius: 0 !default;
4
+ $split-btn-focus-outline-offset: 0 !default;
5
+ $split-btn-vertical-secondary-icon-line-height: .334em !default;
6
+ $split-btn-seperator-border: 1px solid !default;
7
+ $split-btn-sec-btn-margin-left: -1px !default;
8
+ $split-btn-icon-btn-padding: 10px !default;
9
+ $split-btn-icon-btn-padding-bigger: 12px !default;
10
+ $split-btn-focus-border-color: $secondary-border-color !default;
11
+ $split-btn-focus-vertical-border-color: $secondary-border-color !default;
12
+ $split-btn-seperator-border-color: $secondary-border-color !default;
13
+ $split-btn-seperator-default-border-color: $secondary-border-color !default;
14
+ $split-btn-seperator-vertical-border-color: $secondary-border-color !default;
15
+ $split-btn-hover-border-color: $secondary-border-color !default;
16
+ $split-btn-hover-vertical-border-color: $secondary-border-color !default;
17
+ $split-btn-active-border-color: $secondary-bg-color-pressed !default;
18
+ $split-btn-active-vertical-border-color: $secondary-bg-color-pressed !default;
19
+ $split-btn-disabled-vertical-border-color: $secondary-border-color-disabled !default;
20
+ $split-btn-active-box-shadow: $shadow-none !default;
21
+ $split-btn-disabled-left-border-color: $secondary-border-color !default;
22
+ $split-btn-hover-left-border-color: $secondary-border-color !default;
23
+ $split-btn-focus-left-border-color: $secondary-border-color !default;
24
+ $split-btn-active-left-border-color: $secondary-border-color !default;
25
+
@@ -18,6 +18,9 @@
18
18
  padding-left: 12px;
19
19
  padding-right: 12px;
20
20
  }
21
+ @else if $skin-name == 'FluentUI' or $theme-name == 'FluentUI' {
22
+ padding: 0 19px;
23
+ }
21
24
  @else {
22
25
  padding-left: 10px;
23
26
  padding-right: 4px;
@@ -28,7 +31,7 @@
28
31
  }
29
32
 
30
33
  &:hover {
31
- @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' {
34
+ @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $theme-name != 'FluentUI' {
32
35
  box-shadow: none;
33
36
  }
34
37
  }
@@ -83,6 +86,9 @@
83
86
  padding-left: $split-btn-icon-btn-padding;
84
87
  padding-right: $split-btn-icon-btn-padding;
85
88
  }
89
+ @else if $skin-name == 'FluentUI' or $theme-name == 'FluentUI' {
90
+ padding: 4px;
91
+ }
86
92
  @else {
87
93
  padding-left: 4px;
88
94
  padding-right: 4px;
@@ -93,7 +99,7 @@
93
99
 
94
100
  &:focus,
95
101
  &:hover {
96
- @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' {
102
+ @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $theme-name != 'FluentUI' {
97
103
  box-shadow: none;
98
104
  }
99
105
  }
@@ -117,12 +123,12 @@
117
123
  }
118
124
 
119
125
  .e-btn {
120
- @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' {
126
+ @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $theme-name != 'FluentUI' {
121
127
  box-shadow: none;
122
128
  }
123
129
 
124
130
  &:hover {
125
- @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' {
131
+ @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $theme-name != 'FluentUI' {
126
132
  box-shadow: none;
127
133
  }
128
134
  }
@@ -146,6 +152,10 @@
146
152
 
147
153
  &:disabled {
148
154
  box-shadow: none;
155
+ @if $skin-name == 'FluentUI' or $theme-name == 'FluentUI' {
156
+ outline: 0;
157
+ outline-offset: 0;
158
+ }
149
159
  }
150
160
  }
151
161