@syncfusion/ej2-ribbon 25.2.3 → 26.1.35
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/.eslintrc.json +3 -2
- 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 +884 -599
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
- package/dist/es6/ej2-ribbon.es5.js +941 -584
- 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 +13 -13
- package/src/ribbon/base/interface.d.ts +14 -0
- package/src/ribbon/base/ribbon-model.d.ts +1 -1
- package/src/ribbon/base/ribbon.d.ts +4 -1
- package/src/ribbon/base/ribbon.js +222 -95
- package/src/ribbon/items/ribbon-button.js +22 -2
- package/src/ribbon/items/ribbon-checkbox.js +19 -1
- package/src/ribbon/items/ribbon-colorpicker.js +16 -1
- package/src/ribbon/items/ribbon-combobox.js +19 -1
- package/src/ribbon/items/ribbon-dropdown.js +16 -1
- package/src/ribbon/items/ribbon-gallery.d.ts +15 -6
- package/src/ribbon/items/ribbon-gallery.js +164 -96
- package/src/ribbon/items/ribbon-groupbutton.d.ts +1 -0
- package/src/ribbon/items/ribbon-groupbutton.js +11 -3
- package/src/ribbon/items/ribbon-splitbutton.js +16 -1
- package/src/ribbon/models/ribbon-contextual-tab-settings-model.d.ts +1 -1
- package/src/ribbon/models/ribbon-gallery-group-model.d.ts +5 -5
- package/src/ribbon/models/ribbon-gallery-group.d.ts +2 -2
- package/src/ribbon/models/ribbon-gallery-group.js +2 -2
- package/src/ribbon/models/ribbon-gallery-item-model.d.ts +5 -5
- package/src/ribbon/models/ribbon-gallery-item.d.ts +1 -1
- package/src/ribbon/models/ribbon-gallery-item.js +1 -1
- package/src/ribbon/models/ribbon-gallery-settings-model.d.ts +1 -1
- package/src/ribbon/models/ribbon-gallery-settings.d.ts +3 -3
- package/src/ribbon/models/ribbon-gallery-settings.js +2 -2
- package/src/ribbon/modules/ribbon-backstage.d.ts +6 -3
- package/src/ribbon/modules/ribbon-backstage.js +65 -12
- package/src/ribbon/modules/ribbon-contextualtab.js +5 -2
- package/src/ribbon/modules/ribbon-keytip.d.ts +1 -0
- package/src/ribbon/modules/ribbon-keytip.js +58 -46
- package/styles/bootstrap-dark.css +452 -269
- package/styles/bootstrap-dark.scss +18 -1
- package/styles/bootstrap.css +456 -276
- package/styles/bootstrap.scss +18 -1
- package/styles/bootstrap4.css +455 -272
- package/styles/bootstrap4.scss +18 -1
- package/styles/bootstrap5-dark.css +470 -278
- package/styles/bootstrap5-dark.scss +18 -1
- package/styles/bootstrap5.css +470 -278
- package/styles/bootstrap5.scss +18 -1
- package/styles/fabric-dark.css +451 -269
- package/styles/fabric-dark.scss +18 -1
- package/styles/fabric.css +450 -272
- package/styles/fabric.scss +18 -1
- package/styles/fluent-dark.css +472 -277
- package/styles/fluent-dark.scss +18 -1
- package/styles/fluent.css +472 -277
- package/styles/fluent.scss +18 -1
- package/styles/fluent2.css +3868 -0
- package/styles/fluent2.scss +18 -0
- package/styles/highcontrast-light.css +445 -263
- package/styles/highcontrast-light.scss +17 -1
- package/styles/highcontrast.css +451 -273
- package/styles/highcontrast.scss +18 -1
- package/styles/material-dark.css +540 -283
- package/styles/material-dark.scss +18 -1
- package/styles/material.css +539 -289
- package/styles/material.scss +18 -1
- package/styles/material3-dark.css +496 -280
- package/styles/material3-dark.scss +18 -1
- package/styles/material3.css +496 -280
- package/styles/material3.scss +18 -1
- package/styles/ribbon/_bds-definition.scss +56 -20
- package/styles/ribbon/_bootstrap-dark-definition.scss +56 -20
- package/styles/ribbon/_bootstrap-definition.scss +57 -21
- package/styles/ribbon/_bootstrap4-definition.scss +57 -21
- package/styles/ribbon/_bootstrap5-definition.scss +57 -21
- package/styles/ribbon/_bootstrap5.3-definition.scss +396 -0
- package/styles/ribbon/_fabric-dark-definition.scss +55 -19
- package/styles/ribbon/_fabric-definition.scss +56 -20
- package/styles/ribbon/_fluent-definition.scss +59 -23
- package/styles/ribbon/_fluent2-definition.scss +396 -0
- package/styles/ribbon/_fusionnew-definition.scss +50 -14
- package/styles/ribbon/_highcontrast-definition.scss +58 -22
- package/styles/ribbon/_highcontrast-light-definition.scss +49 -13
- package/styles/ribbon/_layout.scss +359 -399
- package/styles/ribbon/_material-dark-definition.scss +56 -20
- package/styles/ribbon/_material-definition.scss +56 -20
- package/styles/ribbon/_material3-definition.scss +56 -19
- package/styles/ribbon/_tailwind-definition.scss +56 -20
- package/styles/ribbon/_theme.scss +118 -170
- package/styles/ribbon/bootstrap-dark.css +452 -269
- package/styles/ribbon/bootstrap.css +456 -276
- package/styles/ribbon/bootstrap4.css +455 -272
- package/styles/ribbon/bootstrap5-dark.css +470 -278
- package/styles/ribbon/bootstrap5.css +470 -278
- package/styles/ribbon/fabric-dark.css +451 -269
- package/styles/ribbon/fabric.css +450 -272
- package/styles/ribbon/fluent-dark.css +472 -277
- package/styles/ribbon/fluent.css +472 -277
- package/styles/ribbon/fluent2.css +3868 -0
- package/styles/ribbon/fluent2.scss +18 -0
- package/styles/ribbon/highcontrast-light.css +445 -263
- package/styles/ribbon/highcontrast.css +451 -273
- package/styles/ribbon/icons/_bootstrap5.3.scss +9 -0
- package/styles/ribbon/icons/_fluent2.scss +9 -0
- package/styles/ribbon/material-dark.css +540 -283
- package/styles/ribbon/material.css +539 -289
- package/styles/ribbon/material3-dark.css +496 -280
- package/styles/ribbon/material3.css +496 -280
- package/styles/ribbon/tailwind-dark.css +506 -280
- package/styles/ribbon/tailwind.css +506 -280
- package/styles/tailwind-dark.css +506 -280
- package/styles/tailwind-dark.scss +18 -1
- package/styles/tailwind.css +506 -280
- package/styles/tailwind.scss +18 -1
- package/CHANGELOG.md +0 -93
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 26.1.35
|
|
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-ribbon@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-ribbon@
|
|
3
|
+
"_id": "@syncfusion/ej2-ribbon@21.29.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-5pvtwedln5W5Z8UZTcVLIUwEg1W0RNp/MjKPDjrMnOq2Mtiks1ha+z6JNehVWyZb3CsTTHEbvIxmebS/9a3hKQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-ribbon",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-ribbon",
|
|
24
24
|
"/@syncfusion/ej2-vue-ribbon"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-ribbon/-/ej2-ribbon-21.29.0.tgz",
|
|
27
|
+
"_shasum": "ab8d160c14d755a09c29188d6e1244bb8daf9634",
|
|
28
28
|
"_spec": "@syncfusion/ej2-ribbon@*",
|
|
29
|
-
"_where": "/jenkins/workspace/elease-
|
|
29
|
+
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
31
31
|
"name": "Syncfusion Inc."
|
|
32
32
|
},
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~
|
|
39
|
-
"@syncfusion/ej2-buttons": "~
|
|
40
|
-
"@syncfusion/ej2-dropdowns": "~
|
|
41
|
-
"@syncfusion/ej2-lists": "~
|
|
42
|
-
"@syncfusion/ej2-navigations": "~
|
|
43
|
-
"@syncfusion/ej2-popups": "~
|
|
44
|
-
"@syncfusion/ej2-splitbuttons": "~
|
|
38
|
+
"@syncfusion/ej2-base": "~26.1.35",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~26.1.35",
|
|
40
|
+
"@syncfusion/ej2-dropdowns": "~26.1.35",
|
|
41
|
+
"@syncfusion/ej2-lists": "~26.1.35",
|
|
42
|
+
"@syncfusion/ej2-navigations": "~26.1.35",
|
|
43
|
+
"@syncfusion/ej2-popups": "~26.1.35",
|
|
44
|
+
"@syncfusion/ej2-splitbuttons": "~26.1.35"
|
|
45
45
|
},
|
|
46
46
|
"deprecated": false,
|
|
47
47
|
"description": "Essential JS 2 Component",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"url": "git+https://github.com/syncfusion/ej2-ribbon-component.git"
|
|
63
63
|
},
|
|
64
64
|
"typings": "index.d.ts",
|
|
65
|
-
"version": "
|
|
65
|
+
"version": "26.1.35",
|
|
66
66
|
"sideEffects": false
|
|
67
67
|
}
|
|
@@ -369,3 +369,17 @@ export interface ribbonTooltipData {
|
|
|
369
369
|
id: string;
|
|
370
370
|
data: RibbonTooltipModel;
|
|
371
371
|
}
|
|
372
|
+
/**
|
|
373
|
+
* @hidden
|
|
374
|
+
*/
|
|
375
|
+
export interface KeyTipDataType {
|
|
376
|
+
id: string;
|
|
377
|
+
keyTip: string;
|
|
378
|
+
type: string;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @hidden
|
|
382
|
+
*/
|
|
383
|
+
export interface KeyTipElements {
|
|
384
|
+
[key: string]: object;
|
|
385
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { addClass, append, Event, Collection, Complex, Component, EmitType, EventHandler, formatUnit, getInstance, getComponent, getUniqueID, closest, KeyboardEventArgs, KeyboardEvents } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, isNullOrUndefined, isUndefined, ModuleDeclaration, NotifyPropertyChanges, Property, remove, removeClass
|
|
1
|
+
import { addClass, append, Event, Collection, Complex, Component, EmitType, EventHandler, formatUnit, getInstance, getComponent, getUniqueID, closest, KeyboardEventArgs, KeyboardEvents } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, isNullOrUndefined, isUndefined, ModuleDeclaration, NotifyPropertyChanges, Property, remove, removeClass } from '@syncfusion/ej2-base';import { Tab, TabAnimationSettings, TabAnimationSettingsModel, TabItemModel, SelectEventArgs, SelectingEventArgs, HScroll, Toolbar } from '@syncfusion/ej2-navigations';import { RibbonTab, RibbonTabModel, RibbonGroupModel, RibbonCollectionModel, RibbonItemModel, FileMenuSettings, FileMenuSettingsModel, BackStageMenu, BackStageMenuModel, RibbonItem, RibbonCollection, RibbonGroup, RibbonContextualTabSettingsModel, RibbonContextualTabSettings } from '../models/index';import { commonProperties, DisplayMode, ExpandCollapseEventArgs, itemProps, LauncherClickEventArgs, OverflowPopupEventArgs, ribbonItemPropsList, RibbonLayout, ribbonTooltipData, TabSelectedEventArgs, TabSelectingEventArgs } from './interface';import { ItemOrientation, RibbonItemSize, RibbonItemType, KeyTipDataType } from './interface';import { RibbonButton, RibbonComboBox, RibbonCheckBox, RibbonDropDown, RibbonColorPicker, RibbonSplitButton, RibbonGroupButton } from '../items/index';import { destroyControl, getCollection, getGroup, getIndex, getItem, getItemElement, updateCommonProperty, updateControlDisabled, isTooltipPresent, getTemplateFunction, createTooltip, destroyTooltip, updateTooltipProp } from './utils';import * as constants from './constant';import { RibbonFileMenu, RibbonBackstage, RibbonKeyTip } from '../modules/index';import { RibbonTooltipModel } from '../models/ribbon-tooltip-model';import { Popup } from '@syncfusion/ej2-popups';import { BeforeOpenCloseMenuEventArgs, DropDownButton, SplitButton } from '@syncfusion/ej2-splitbuttons';import { CheckBox } from '@syncfusion/ej2-buttons';import { RibbonContextualTab } from '../modules/ribbon-contextualtab';import { RibbonGallery } from '../items/ribbon-gallery';
|
|
2
2
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -354,6 +354,7 @@ export declare class Ribbon extends Component<HTMLElement> implements INotifyPro
|
|
|
354
354
|
private createTemplateContent;
|
|
355
355
|
private renderItemTemplate;
|
|
356
356
|
private checkID;
|
|
357
|
+
private hasHtmlAtrrID;
|
|
357
358
|
private updateCommonProperty;
|
|
358
359
|
private removeLauncherIcon;
|
|
359
360
|
private destroyTabItems;
|
|
@@ -384,6 +385,7 @@ export declare class Ribbon extends Component<HTMLElement> implements INotifyPro
|
|
|
384
385
|
* Shows a specific tab in the ribbon.
|
|
385
386
|
*
|
|
386
387
|
* @param {string} tabId - The ID of the tab to be shown.
|
|
388
|
+
* @param {boolean} isContextual - The boolean if the rendering is contextual.
|
|
387
389
|
* @returns {void}
|
|
388
390
|
*/
|
|
389
391
|
showTab(tabId: string, isContextual?: boolean): void;
|
|
@@ -391,6 +393,7 @@ export declare class Ribbon extends Component<HTMLElement> implements INotifyPro
|
|
|
391
393
|
* Hides a specific tab in the ribbon.
|
|
392
394
|
*
|
|
393
395
|
* @param {string} tabId - The ID of the tab to be hidden.
|
|
396
|
+
* @param {boolean} isContextual - The boolean if the rendering is contextual.
|
|
394
397
|
* @returns {void}
|
|
395
398
|
*/
|
|
396
399
|
hideTab(tabId: string, isContextual?: boolean): void;
|
|
@@ -580,7 +583,7 @@ export declare class Ribbon extends Component<HTMLElement> implements INotifyPro
|
|
|
580
583
|
* Gets the Ribbon item model associated with the specified item ID.
|
|
581
584
|
*
|
|
582
585
|
* @param {string} itemId - The unique ID of the Ribbon item.
|
|
583
|
-
* @returns {RibbonItemModel}
|
|
586
|
+
* @returns {RibbonItemModel} - Returns the Ribbon item model.
|
|
584
587
|
*/
|
|
585
588
|
getItem(itemId: string): RibbonItemModel;
|
|
586
589
|
private enableDisableItem;
|