@syncfusion/ej2-splitbuttons 24.2.7 → 25.1.37

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.2.7
3
+ * version : 25.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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-splitbuttons@*",
3
- "_id": "@syncfusion/ej2-splitbuttons@24.2.5",
3
+ "_id": "@syncfusion/ej2-splitbuttons@19.16.4",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-HFxtlYDnrOiSFNHWn0iAIMtM8Gd79G8AXYWW9gmNKi5jv0XQh7FMt/q6b8SBlIPnk7t9bJI/90TAEYnKktZWJw==",
5
+ "_integrity": "sha512-GuWnAJmoZRK129vdhPY6RwM8xZ7Tw/D6imDRLTY6Z2L1I/Sl102gu81/FVZgZczCu/faGBJkUT356sIW4cqNIA==",
6
6
  "_location": "/@syncfusion/ej2-splitbuttons",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -33,10 +33,10 @@
33
33
  "/@syncfusion/ej2-richtexteditor",
34
34
  "/@syncfusion/ej2-vue-splitbuttons"
35
35
  ],
36
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-24.2.5.tgz",
37
- "_shasum": "2e25356568e1d51bb4a14150d8d32fada6f0237e",
36
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-19.16.4.tgz",
37
+ "_shasum": "7d57e5fea80e9d1f57312b2aaaab87a7d0e1f235",
38
38
  "_spec": "@syncfusion/ej2-splitbuttons@*",
39
- "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
39
+ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
40
40
  "author": {
41
41
  "name": "Syncfusion Inc."
42
42
  },
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "bundleDependencies": false,
47
47
  "dependencies": {
48
- "@syncfusion/ej2-base": "~24.2.7",
49
- "@syncfusion/ej2-popups": "~24.2.5"
48
+ "@syncfusion/ej2-base": "~25.1.35",
49
+ "@syncfusion/ej2-popups": "~25.1.35"
50
50
  },
51
51
  "deprecated": false,
52
52
  "description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.",
@@ -89,6 +89,6 @@
89
89
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
90
90
  },
91
91
  "typings": "index.d.ts",
92
- "version": "24.2.7",
92
+ "version": "25.1.37",
93
93
  "sideEffects": false
94
94
  }
@@ -46,9 +46,10 @@ export interface DropDownButtonModel extends ComponentModel{
46
46
  iconPosition?: SplitButtonIconPosition;
47
47
 
48
48
  /**
49
- * Defines whether to allow the cross-scripting site or not.
49
+ * Specifies whether to enable the rendering of untrusted HTML values in the DropDownButton component.
50
+ * If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
50
51
  *
51
- * @default false
52
+ * @default true
52
53
  */
53
54
  enableHtmlSanitizer?: boolean;
54
55
 
@@ -65,9 +65,10 @@ export declare class DropDownButton extends Component<HTMLButtonElement> impleme
65
65
  */
66
66
  iconPosition: SplitButtonIconPosition;
67
67
  /**
68
- * Defines whether to allow the cross-scripting site or not.
68
+ * Specifies whether to enable the rendering of untrusted HTML values in the DropDownButton component.
69
+ * If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
69
70
  *
70
- * @default false
71
+ * @default true
71
72
  */
72
73
  enableHtmlSanitizer: boolean;
73
74
  /**
@@ -803,7 +803,7 @@ var DropDownButton = /** @class */ (function (_super) {
803
803
  Property('Left')
804
804
  ], DropDownButton.prototype, "iconPosition", void 0);
805
805
  __decorate([
806
- Property(false)
806
+ Property(true)
807
807
  ], DropDownButton.prototype, "enableHtmlSanitizer", void 0);
808
808
  __decorate([
809
809
  Collection([], Item)
@@ -146,9 +146,10 @@ export interface ProgressButtonModel {
146
146
  isToggle?: boolean;
147
147
 
148
148
  /**
149
- * Defines whether to allow the cross-scripting site or not.
149
+ * Specifies whether to enable the rendering of untrusted HTML values in the Progress button component.
150
+ * If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
150
151
  *
151
- * @default false
152
+ * @default true
152
153
  */
153
154
  enableHtmlSanitizer?: boolean;
154
155
 
@@ -145,9 +145,10 @@ export declare class ProgressButton extends Button implements INotifyPropertyCha
145
145
  */
146
146
  isToggle: boolean;
147
147
  /**
148
- * Defines whether to allow the cross-scripting site or not.
148
+ * Specifies whether to enable the rendering of untrusted HTML values in the Progress button component.
149
+ * If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
149
150
  *
150
- * @default false
151
+ * @default true
151
152
  */
152
153
  enableHtmlSanitizer: boolean;
153
154
  /**
@@ -512,7 +512,7 @@ var ProgressButton = /** @class */ (function (_super) {
512
512
  Property(false)
513
513
  ], ProgressButton.prototype, "isToggle", void 0);
514
514
  __decorate([
515
- Property(false)
515
+ Property(true)
516
516
  ], ProgressButton.prototype, "enableHtmlSanitizer", void 0);
517
517
  __decorate([
518
518
  Complex({}, SpinSettings)
@@ -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: $text-lg !default;
7
+ $btn-grp-icon-font-size-bigger: 22px !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,89 @@
1
+ //layout variables
2
+ $drop-down-btn-arrow-content: '\e706' !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: 240px !default;
8
+ $drop-down-btn-bigger-min-width: 112px !default;
9
+ $drop-down-btn-icon-font-size: $text-sm !default;
10
+ $drop-down-btn-icon-margin-right: 12px !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: 32px !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: $text-lg !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: 8px !default;
24
+ $drop-down-btn-ul-padding: 4px 0 !default;
25
+ $drop-down-btn-ul-bigger-padding: 4px 0 !default;
26
+ $drop-down-btn-ul-small-padding: 4px 0 !default;
27
+ $drop-down-btn-caret-icon-font-size: $text-lg !default;
28
+ $drop-down-btn-icon-font-size-bigger: $text-base !default;
29
+ $drop-down-btn-caret-icon-font-size-bigger: 22px !default;
30
+ $drop-down-btn-box-shadow: $shadow-focus-ring2 !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: 1px solid $border-light !default;
34
+ $drop-down-btn-li-box-shadow: none !default;
35
+ $drop-down-btn-li-border-style: solid !default;
36
+ $drop-down-btn-color: $secondary-text-color !default;
37
+ $drop-down-btn-disable-text: $secondary-text-color-disabled !default;
38
+ $drop-down-btn-font-size: $text-sm !default;
39
+ $drop-down-btn-font-weight: $font-weight-medium !default;
40
+ $drop-down-btn-li-bgcolor: $content-bg-color-hover !default;
41
+ $drop-down-btn-ul-bgcolor: $flyout-bg-color !default;
42
+ $drop-down-btn-li-border-color: $border-light !default;
43
+ $drop-down-btn-selected-color: $content-text-color-selected !default;
44
+ $drop-down-btn-parent-ul-box-shadow: $shadow-lg !default;
45
+ $drop-down-btn-li-focus-bgcolor: $content-bg-color-hover !default;
46
+ $drop-down-btn-li-selection-bgcolor: $content-bg-color-selected !default;
47
+ $drop-down-btn-li-selection-font-color: $content-text-color-selected !default;
48
+ $drop-down-btn-menu-icon-color: $secondary-text-color !default;
49
+ $drop-down-btn-menu-icon-disabled-color: $secondary-text-color-disabled !default;
50
+
51
+ .e-dropdown-popup {
52
+ position: absolute;
53
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $theme-name == 'tailwind-dark' or $theme-name == 'bootstrap5-dark' {
54
+ border-radius: $drop-down-btn-ul-border-radius;
55
+ margin-top: $drop-down-btn-popup-margin-top;
56
+ }
57
+
58
+ & ul {
59
+ border: $drop-down-btn-ul-border;
60
+ border-radius: $drop-down-btn-ul-border-radius;
61
+ box-shadow: $drop-down-btn-parent-ul-box-shadow;
62
+ box-sizing: border-box;
63
+ font-size: $drop-down-btn-font-size;
64
+ font-weight: $drop-down-btn-font-weight;
65
+ list-style-image: none;
66
+ list-style-position: outside;
67
+ list-style-type: none;
68
+ margin: 0;
69
+ min-width: $drop-down-btn-min-width;
70
+ overflow: hidden;
71
+ padding: $drop-down-btn-ul-padding;
72
+ user-select: none;
73
+ white-space: nowrap;
74
+
75
+ & .e-item {
76
+ cursor: pointer;
77
+ display: flex;
78
+ height: $drop-down-btn-li-height;
79
+ line-height: $drop-down-btn-li-height;
80
+ padding: $drop-down-btn-li-padding;
81
+ margin: 0 6px;
82
+ border-radius: 6px;
83
+
84
+ &.e-url {
85
+ padding: 0;
86
+ }
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,10 @@
1
+ @include export-module('drop-down-button-bds-icons') {
2
+ .e-dropdown-btn,
3
+ .e-dropdown-btn.e-btn {
4
+ .e-caret {
5
+ &::before {
6
+ content: '\e729';
7
+ }
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,28 @@
1
+ //layout variables
2
+ $skin-name :'Material3';
3
+ $progress-btn-circle-opacity: .8 !default;
4
+ $progress-btn-transition: all .3s linear !default;
5
+ $progress-btn-spinner-padding: 12px !default;
6
+ $progress-btn-spinner-padding-small: 10px !default;
7
+ $progress-btn-spinner-padding-bigger: 14px !default;
8
+ $progress-btn-spinner-padding-bigger-small: 12px !default;
9
+ $progress-btn-spin-btn-padding: 16px !default;
10
+ $progress-btn-small-spin-btn-padding: 14px !default;
11
+ $progress-btn-bigger-spin-btn-padding: 20px !default;
12
+ $progress-btn-bigger-small-spin-btn-padding: 16px !default;
13
+ $progress-btn-color: $secondary-text-color !default;
14
+ $progress-btn-bgcolor: rgba($icon-color, .2) !default;
15
+ $progress-btn-bgcolor-normal: rgba($icon-color, .2) !default;
16
+ $progress-btn-warning-progress-color: $progress-btn-bgcolor !default;
17
+ $progress-btn-flat-primary-progress-color: rgba($primary-text-color, 1) !default;
18
+ $progress-btn-flat-success-progress-color: rgba($success-text, 1) !default;
19
+ $progress-btn-flat-info-progress-color: rgba($info-text, 1) !default;
20
+ $progress-btn-flat-warning-progress-color: rgba($warning-text, 1) !default;
21
+ $progress-btn-flat-danger-progress-color: rgba($danger-text, 1) !default;
22
+ $btn-flat-primary-path-arc: $white;
23
+
24
+ $fade-out: none !default;
25
+
26
+ .e-path-circle {
27
+ stroke: $fade-out;
28
+ }
@@ -0,0 +1,24 @@
1
+ //layout variables
2
+ $split-btn-zindex: 2 !default;
3
+ $split-btn-border-radius: 8px !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 !default;
20
+ $split-btn-active-box-shadow: $secondary-shadow-focus !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;