@syncfusion/ej2-ribbon 26.2.10 → 27.1.48
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/dist/ej2-ribbon.umd.min.js +2 -2
- package/dist/ej2-ribbon.umd.min.js.map +1 -1
- package/dist/es6/ej2-ribbon.es2015.js +18 -26
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
- package/dist/es6/ej2-ribbon.es5.js +18 -92
- package/dist/es6/ej2-ribbon.es5.js.map +1 -1
- package/dist/global/ej2-ribbon.min.js +2 -2
- package/dist/global/ej2-ribbon.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +14 -13
- package/src/ribbon/items/ribbon-button.js +3 -15
- package/src/ribbon/items/ribbon-checkbox.js +3 -16
- package/src/ribbon/items/ribbon-colorpicker.js +3 -15
- package/src/ribbon/items/ribbon-combobox.js +3 -16
- package/src/ribbon/items/ribbon-dropdown.js +3 -15
- package/src/ribbon/items/ribbon-splitbutton.js +3 -15
- package/styles/bootstrap-dark-lite.css +2136 -0
- package/styles/bootstrap-dark-lite.scss +18 -0
- package/styles/bootstrap-dark.css +1174 -1244
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap-lite.css +2138 -0
- package/styles/bootstrap-lite.scss +18 -0
- package/styles/bootstrap.css +1179 -1249
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4-lite.css +2180 -0
- package/styles/bootstrap4-lite.scss +18 -0
- package/styles/bootstrap4.css +1181 -1273
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark-lite.css +2211 -0
- package/styles/bootstrap5-dark-lite.scss +18 -0
- package/styles/bootstrap5-dark.css +1175 -1263
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5-lite.css +2211 -0
- package/styles/bootstrap5-lite.scss +18 -0
- package/styles/bootstrap5.3-lite.css +2215 -0
- package/styles/bootstrap5.3-lite.scss +18 -0
- package/styles/bootstrap5.3.css +2841 -0
- package/styles/bootstrap5.3.scss +19 -0
- package/styles/bootstrap5.css +1173 -1261
- package/styles/bootstrap5.scss +1 -0
- package/styles/fabric-dark-lite.css +2112 -0
- package/styles/fabric-dark-lite.scss +18 -0
- package/styles/fabric-dark.css +1176 -1245
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric-lite.css +2113 -0
- package/styles/fabric-lite.scss +18 -0
- package/styles/fabric.css +1176 -1238
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark-lite.css +2203 -0
- package/styles/fluent-dark-lite.scss +18 -0
- package/styles/fluent-dark.css +1179 -1254
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent-lite.css +2203 -0
- package/styles/fluent-lite.scss +18 -0
- package/styles/fluent.css +1177 -1252
- package/styles/fluent.scss +1 -0
- package/styles/fluent2-lite.css +2301 -0
- package/styles/fluent2-lite.scss +18 -0
- package/styles/fluent2.css +1264 -1250
- package/styles/fluent2.scss +1 -0
- package/styles/highcontrast-light-lite.css +2129 -0
- package/styles/highcontrast-light-lite.scss +17 -0
- package/styles/highcontrast-light.css +1163 -1222
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast-lite.css +2134 -0
- package/styles/highcontrast-lite.scss +18 -0
- package/styles/highcontrast.css +1162 -1221
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark-lite.css +2272 -0
- package/styles/material-dark-lite.scss +18 -0
- package/styles/material-dark.css +1176 -1229
- package/styles/material-dark.scss +1 -0
- package/styles/material-lite.css +2278 -0
- package/styles/material-lite.scss +18 -0
- package/styles/material.css +1176 -1250
- package/styles/material.scss +1 -0
- package/styles/material3-dark-lite.css +2214 -0
- package/styles/material3-dark-lite.scss +18 -0
- package/styles/material3-dark.css +1199 -1278
- package/styles/material3-dark.scss +1 -0
- package/styles/material3-lite.css +2216 -0
- package/styles/material3-lite.scss +18 -0
- package/styles/material3.css +1199 -1278
- package/styles/material3.scss +1 -0
- package/styles/ribbon/_bds-definition.scss +2 -0
- package/styles/ribbon/_bigger.scss +530 -0
- package/styles/ribbon/_bootstrap-dark-definition.scss +2 -0
- package/styles/ribbon/_bootstrap-definition.scss +2 -0
- package/styles/ribbon/_bootstrap4-definition.scss +2 -0
- package/styles/ribbon/_bootstrap5-definition.scss +2 -0
- package/styles/ribbon/_bootstrap5.3-definition.scss +130 -129
- package/styles/ribbon/_fabric-dark-definition.scss +2 -0
- package/styles/ribbon/_fabric-definition.scss +2 -0
- package/styles/ribbon/_fluent-definition.scss +2 -0
- package/styles/ribbon/_fluent2-definition.scss +11 -9
- package/styles/ribbon/_fusionnew-definition.scss +2 -0
- package/styles/ribbon/_highcontrast-definition.scss +2 -0
- package/styles/ribbon/_highcontrast-light-definition.scss +2 -0
- package/styles/ribbon/_layout.scss +75 -493
- package/styles/ribbon/_material-dark-definition.scss +2 -0
- package/styles/ribbon/_material-definition.scss +2 -0
- package/styles/ribbon/_material3-definition.scss +2 -0
- package/styles/ribbon/_tailwind-definition.scss +2 -0
- package/styles/ribbon/_theme.scss +15 -22
- package/styles/ribbon/bootstrap-dark.css +1174 -1244
- package/styles/ribbon/bootstrap-dark.scss +1 -0
- package/styles/ribbon/bootstrap.css +1179 -1249
- package/styles/ribbon/bootstrap.scss +1 -0
- package/styles/ribbon/bootstrap4.css +1181 -1273
- package/styles/ribbon/bootstrap4.scss +1 -0
- package/styles/ribbon/bootstrap5-dark.css +1175 -1263
- package/styles/ribbon/bootstrap5-dark.scss +1 -0
- package/styles/ribbon/bootstrap5.3.css +2841 -0
- package/styles/ribbon/bootstrap5.3.scss +19 -0
- package/styles/ribbon/bootstrap5.css +1173 -1261
- package/styles/ribbon/bootstrap5.scss +1 -0
- package/styles/ribbon/fabric-dark.css +1176 -1245
- package/styles/ribbon/fabric-dark.scss +1 -0
- package/styles/ribbon/fabric.css +1176 -1238
- package/styles/ribbon/fabric.scss +1 -0
- package/styles/ribbon/fluent-dark.css +1179 -1254
- package/styles/ribbon/fluent-dark.scss +1 -0
- package/styles/ribbon/fluent.css +1177 -1252
- package/styles/ribbon/fluent.scss +1 -0
- package/styles/ribbon/fluent2.css +1264 -1250
- package/styles/ribbon/fluent2.scss +1 -0
- package/styles/ribbon/highcontrast-light.css +1163 -1222
- package/styles/ribbon/highcontrast-light.scss +1 -0
- package/styles/ribbon/highcontrast.css +1162 -1221
- package/styles/ribbon/highcontrast.scss +1 -0
- package/styles/ribbon/material-dark.css +1176 -1229
- package/styles/ribbon/material-dark.scss +1 -0
- package/styles/ribbon/material.css +1176 -1250
- package/styles/ribbon/material.scss +1 -0
- package/styles/ribbon/material3-dark.css +1199 -1278
- package/styles/ribbon/material3-dark.scss +1 -0
- package/styles/ribbon/material3.css +1199 -1278
- package/styles/ribbon/material3.scss +1 -0
- package/styles/ribbon/tailwind-dark.css +1177 -1249
- package/styles/ribbon/tailwind-dark.scss +1 -0
- package/styles/ribbon/tailwind.css +1179 -1251
- package/styles/ribbon/tailwind.scss +1 -0
- package/styles/tailwind-dark-lite.css +2234 -0
- package/styles/tailwind-dark-lite.scss +18 -0
- package/styles/tailwind-dark.css +1177 -1249
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind-lite.css +2234 -0
- package/styles/tailwind-lite.scss +18 -0
- package/styles/tailwind.css +1179 -1251
- package/styles/tailwind.scss +1 -0
- package/hotfix/26.1.35_Vol2.txt +0 -1
|
@@ -1386,11 +1386,10 @@ class RibbonButton {
|
|
|
1386
1386
|
created: btnSettings.created
|
|
1387
1387
|
}, buttonEle);
|
|
1388
1388
|
if (btnSettings.htmlAttributes) {
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
delete htmlAttr.id;
|
|
1389
|
+
if (btnSettings.htmlAttributes.id) {
|
|
1390
|
+
delete btnSettings.htmlAttributes.id;
|
|
1392
1391
|
}
|
|
1393
|
-
setCustomAttributes(buttonEle,
|
|
1392
|
+
setCustomAttributes(buttonEle, btnSettings.htmlAttributes);
|
|
1394
1393
|
}
|
|
1395
1394
|
buttonEle.onclick = (e) => {
|
|
1396
1395
|
if (btnSettings.clicked) {
|
|
@@ -1536,11 +1535,9 @@ class RibbonCheckBox {
|
|
|
1536
1535
|
});
|
|
1537
1536
|
itemEle.appendChild(inputEle);
|
|
1538
1537
|
const checkBoxSettings = item.checkBoxSettings;
|
|
1539
|
-
let htmlAttr = {};
|
|
1540
1538
|
if (checkBoxSettings.htmlAttributes) {
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
delete htmlAttr.id;
|
|
1539
|
+
if (checkBoxSettings.htmlAttributes.id) {
|
|
1540
|
+
delete checkBoxSettings.htmlAttributes.id;
|
|
1544
1541
|
}
|
|
1545
1542
|
}
|
|
1546
1543
|
new CheckBox({
|
|
@@ -1553,7 +1550,7 @@ class RibbonCheckBox {
|
|
|
1553
1550
|
labelPosition: checkBoxSettings.labelPosition,
|
|
1554
1551
|
disabled: item.disabled,
|
|
1555
1552
|
created: checkBoxSettings.created,
|
|
1556
|
-
htmlAttributes:
|
|
1553
|
+
htmlAttributes: checkBoxSettings.htmlAttributes,
|
|
1557
1554
|
change: (e) => {
|
|
1558
1555
|
if (checkBoxSettings.change) {
|
|
1559
1556
|
checkBoxSettings.change.call(this, e);
|
|
@@ -1711,11 +1708,10 @@ class RibbonColorPicker {
|
|
|
1711
1708
|
select: colorPickerSettings.select
|
|
1712
1709
|
}, inputEle);
|
|
1713
1710
|
if (colorPickerSettings.htmlAttributes) {
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
delete htmlAttr.id;
|
|
1711
|
+
if (colorPickerSettings.htmlAttributes.id) {
|
|
1712
|
+
delete colorPickerSettings.htmlAttributes.id;
|
|
1717
1713
|
}
|
|
1718
|
-
setCustomAttributes(inputEle,
|
|
1714
|
+
setCustomAttributes(inputEle, colorPickerSettings.htmlAttributes);
|
|
1719
1715
|
}
|
|
1720
1716
|
const wrapper = colorPicker.element.parentElement;
|
|
1721
1717
|
EventHandler.add(wrapper, 'mouseenter', this.toggleWrapperHover.bind(this, wrapper, true), this);
|
|
@@ -1895,11 +1891,9 @@ class RibbonComboBox {
|
|
|
1895
1891
|
});
|
|
1896
1892
|
itemEle.appendChild(inputEle);
|
|
1897
1893
|
const comboBoxSettings = item.comboBoxSettings;
|
|
1898
|
-
let htmlAttr = {};
|
|
1899
1894
|
if (comboBoxSettings.htmlAttributes) {
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
delete htmlAttr.id;
|
|
1895
|
+
if (comboBoxSettings.htmlAttributes.id) {
|
|
1896
|
+
delete comboBoxSettings.htmlAttributes.id;
|
|
1903
1897
|
}
|
|
1904
1898
|
}
|
|
1905
1899
|
new ComboBox({
|
|
@@ -1933,7 +1927,7 @@ class RibbonComboBox {
|
|
|
1933
1927
|
width: comboBoxSettings.width,
|
|
1934
1928
|
beforeOpen: comboBoxSettings.beforeOpen,
|
|
1935
1929
|
open: comboBoxSettings.open,
|
|
1936
|
-
htmlAttributes:
|
|
1930
|
+
htmlAttributes: comboBoxSettings.htmlAttributes,
|
|
1937
1931
|
close: (e) => {
|
|
1938
1932
|
if (comboBoxSettings.close) {
|
|
1939
1933
|
comboBoxSettings.close.call(this, e);
|
|
@@ -2134,11 +2128,10 @@ class RibbonDropDown {
|
|
|
2134
2128
|
select: dropDownSettings.select
|
|
2135
2129
|
}).appendTo(buttonEle);
|
|
2136
2130
|
if (dropDownSettings.htmlAttributes) {
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
delete htmlAttr.id;
|
|
2131
|
+
if (dropDownSettings.htmlAttributes.id) {
|
|
2132
|
+
delete dropDownSettings.htmlAttributes.id;
|
|
2140
2133
|
}
|
|
2141
|
-
setCustomAttributes(buttonEle,
|
|
2134
|
+
setCustomAttributes(buttonEle, dropDownSettings.htmlAttributes);
|
|
2142
2135
|
}
|
|
2143
2136
|
}
|
|
2144
2137
|
/**
|
|
@@ -2582,11 +2575,10 @@ class RibbonSplitButton {
|
|
|
2582
2575
|
}
|
|
2583
2576
|
}, buttonEle);
|
|
2584
2577
|
if (splitButtonSettings.htmlAttributes) {
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
delete htmlAttr.id;
|
|
2578
|
+
if (splitButtonSettings.htmlAttributes.id) {
|
|
2579
|
+
delete splitButtonSettings.htmlAttributes.id;
|
|
2588
2580
|
}
|
|
2589
|
-
setCustomAttributes(buttonEle,
|
|
2581
|
+
setCustomAttributes(buttonEle, splitButtonSettings.htmlAttributes);
|
|
2590
2582
|
}
|
|
2591
2583
|
const dropdownEle = buttonEle.parentElement.querySelector('.e-dropdown-btn');
|
|
2592
2584
|
dropdownEle.onkeydown = (e) => {
|