@momentum-ui/web-components 2.11.1 → 2.12.0
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/assets/fonts/Inter.var.woff2 +0 -0
- package/dist/assets/styles/fonts.css +104 -0
- package/dist/assets/styles/momentum-ui.min.css +3 -3
- package/dist/chunks/md-1.js +1 -1
- package/dist/chunks/md-10.js +1 -1
- package/dist/chunks/md-11.js +1 -1
- package/dist/chunks/md-12.js +2 -2
- package/dist/chunks/md-13.js +4 -4
- package/dist/chunks/md-15.js +10 -10
- package/dist/chunks/md-16.js +2 -2
- package/dist/chunks/md-17.js +2 -2
- package/dist/chunks/md-19.js +1 -1
- package/dist/chunks/md-24.js +1 -1
- package/dist/chunks/md-25.js +1 -1
- package/dist/chunks/md-26.js +9 -3
- package/dist/chunks/md-27.js +1 -1
- package/dist/chunks/md-29.js +1 -1
- package/dist/chunks/md-3.js +1 -1
- package/dist/chunks/md-30.js +18 -5
- package/dist/chunks/md-33.js +3 -3
- package/dist/chunks/md-35.js +2 -2
- package/dist/chunks/md-37.js +1 -1
- package/dist/chunks/md-38.js +1 -1
- package/dist/chunks/md-4.js +1 -1
- package/dist/chunks/md-40.js +1 -1
- package/dist/chunks/md-41.js +3 -3
- package/dist/chunks/md-46.js +1 -1
- package/dist/chunks/md-47.js +1 -1
- package/dist/chunks/md-48.js +7 -7
- package/dist/chunks/md-5.js +1 -1
- package/dist/chunks/md-52.js +1 -1
- package/dist/chunks/md-56.js +1 -1
- package/dist/chunks/md-57.js +21 -15
- package/dist/chunks/md-60.js +7 -7
- package/dist/chunks/md-61.js +1 -1
- package/dist/chunks/md-63.js +2 -2
- package/dist/chunks/md-65.js +1 -1
- package/dist/chunks/md-67.js +1 -1
- package/dist/chunks/md-69.js +11 -9
- package/dist/chunks/md-7.js +2 -2
- package/dist/chunks/md-70.js +3 -3
- package/dist/chunks/md-71.js +1 -1
- package/dist/chunks/md-78.js +1 -1
- package/dist/chunks/md-8.js +1 -1
- package/dist/chunks/md-80.js +4 -6
- package/dist/chunks/md-81.js +1 -1
- package/dist/chunks/md-82.js +2 -2
- package/dist/chunks/md-83.js +2 -2
- package/dist/chunks/md-9.js +1 -1
- package/dist/comp/md-accordion-entry.js +1 -1
- package/dist/comp/md-accordion-item-entry.js +1 -1
- package/dist/comp/md-breadcrumb-entry.js +1 -1
- package/dist/comp/md-button-entry.js +1 -1
- package/dist/comp/md-button-group-entry.js +1 -1
- package/dist/comp/md-checkbox-entry.js +1 -1
- package/dist/comp/md-checkboxgroup-entry.js +1 -1
- package/dist/comp/md-coachmark-entry.js +1 -1
- package/dist/comp/md-coachmark.js +1 -0
- package/dist/comp/md-draggable-entry.js +1 -1
- package/dist/comp/md-form-entry.js +1 -1
- package/dist/comp/md-label-entry.js +1 -1
- package/dist/comp/md-list-entry.js +1 -1
- package/dist/comp/md-list-item-entry.js +1 -1
- package/dist/comp/md-loading-entry.js +1 -1
- package/dist/comp/md-menu-overlay-entry.js +1 -1
- package/dist/comp/md-pagination-entry.js +1 -1
- package/dist/comp/md-radio-entry.js +1 -1
- package/dist/comp/md-radiogroup-entry.js +1 -1
- package/dist/comp/md-slider-entry.js +1 -1
- package/dist/comp/md-spinner-entry.js +1 -1
- package/dist/comp/md-tab-panel-entry.js +1 -1
- package/dist/comp/md-table-entry.js +1 -1
- package/dist/comp/md-theme-entry.js +1 -1
- package/dist/index-entry.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/components/alert/Alert.d.ts +1 -1
- package/dist/types/components/button/Button.d.ts +1 -1
- package/dist/types/components/coachmark/Coachmark.d.ts +3 -1
- package/dist/types/components/list/ListItem.d.ts +4 -0
- package/dist/types/components/meeting-alert/MeetingAlert.d.ts +1 -1
- package/dist/types/components/tabs/Tabs.d.ts +3 -3
- package/package.json +3 -3
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
|
-
import { LitElement, PropertyValues } from "lit-element";
|
|
9
8
|
import "@/components/button/Button";
|
|
9
|
+
import { LitElement, PropertyValues } from "lit-element";
|
|
10
10
|
export declare const coachmarkPlacement: string[];
|
|
11
11
|
export declare namespace Coachmark {
|
|
12
12
|
export type Place = typeof coachmarkPlacement[number];
|
|
@@ -33,6 +33,8 @@ export declare namespace Coachmark {
|
|
|
33
33
|
[x: string]: boolean;
|
|
34
34
|
};
|
|
35
35
|
static get styles(): import("lit-element").CSSResult[];
|
|
36
|
+
coachmarkContentTemplate(): import("lit-element").TemplateResult;
|
|
37
|
+
wrappedCoachmarkContentTemplate(): import("lit-element").TemplateResult;
|
|
36
38
|
render(): import("lit-element").TemplateResult;
|
|
37
39
|
}
|
|
38
40
|
export {};
|
|
@@ -4,12 +4,16 @@ export declare namespace ListItem {
|
|
|
4
4
|
export class ELEMENT extends ELEMENT_base {
|
|
5
5
|
role: "listitem" | "option";
|
|
6
6
|
tabIndex: number;
|
|
7
|
+
shape: "pill" | "rounded";
|
|
7
8
|
private _disabled;
|
|
8
9
|
get disabled(): boolean;
|
|
9
10
|
set disabled(value: boolean);
|
|
10
11
|
private _selected;
|
|
11
12
|
get selected(): boolean;
|
|
12
13
|
set selected(value: boolean);
|
|
14
|
+
get listItemTemplateClassMap(): {
|
|
15
|
+
[x: string]: boolean;
|
|
16
|
+
};
|
|
13
17
|
static get styles(): import("lit-element").CSSResult[];
|
|
14
18
|
render(): import("lit-element").TemplateResult;
|
|
15
19
|
}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
|
-
import { LitElement, TemplateResult } from "lit-element";
|
|
9
8
|
import "@/components/avatar/Avatar";
|
|
10
9
|
import "@/components/button/Button";
|
|
11
10
|
import "@/components/icon/Icon";
|
|
11
|
+
import { LitElement, TemplateResult } from "lit-element";
|
|
12
12
|
export declare const MeetingAlertRole: readonly ["alert", "alertdialog", "button", "checkbox", "dialog", "link", "option", "status"];
|
|
13
13
|
export declare namespace MeetingAlert {
|
|
14
14
|
type Role = typeof MeetingAlertRole[number];
|
|
@@ -10,7 +10,7 @@ import "@/components/menu-overlay/MenuOverlay";
|
|
|
10
10
|
import { LitElement, PropertyValues } from "lit-element";
|
|
11
11
|
import Sortable from "sortablejs";
|
|
12
12
|
import { MenuOverlay } from "../menu-overlay/MenuOverlay";
|
|
13
|
-
import { Tab, TabClickEvent } from "./Tab";
|
|
13
|
+
import { Tab, TabClickEvent, TabCloseClickEvent } from "./Tab";
|
|
14
14
|
export declare const MORE_MENU_TAB_COPY_ID_PREFIX = "more-menu-copy-";
|
|
15
15
|
export declare namespace Tabs {
|
|
16
16
|
const ELEMENT_base: typeof LitElement & import("../../mixins/SlottedMixin").AnyConstructor<import("../../mixins/SlottedMixin").SlotableClass & import("../../mixins/SlottedMixin").SlotableInterface> & import("../../mixins/RovingTabIndexMixin").AnyConstructor<import("../../mixins/RovingTabIndexMixin").RovingTabIndexInterface & import("../../mixins/SlottedMixin").SlotableInterface & import("../../mixins/SlottedMixin").SlotableClass & import("../../mixins/RovingTabIndexMixin").RovingTabIndexClass> & import("../../mixins/ResizeMixin").AnyConstructor<import("../../mixins/ResizeMixin").ResizeClass>;
|
|
@@ -86,6 +86,8 @@ export declare namespace Tabs {
|
|
|
86
86
|
handleTabClick(event: CustomEvent<TabClickEvent>): void;
|
|
87
87
|
handleNewSelectedTab(id: string): void;
|
|
88
88
|
handleTabCrossClick(event: CustomEvent<TabClickEvent>): void;
|
|
89
|
+
handleTabCloseClick(event: CustomEvent<TabCloseClickEvent>): void;
|
|
90
|
+
handleTabCloseEvent(id: string): void;
|
|
89
91
|
handleUpdatedSeletedTabAfterCross(crossTabIndex: number): void;
|
|
90
92
|
private updateSelectedTab;
|
|
91
93
|
private dispatchSelectedChangedEvent;
|
|
@@ -105,8 +107,6 @@ export declare namespace Tabs {
|
|
|
105
107
|
private initializeSortable;
|
|
106
108
|
private initializeTabs;
|
|
107
109
|
connectedCallback(): void;
|
|
108
|
-
private allElements;
|
|
109
|
-
private updateSelectedTabIndexOnClick;
|
|
110
110
|
private selectTabFromStorage;
|
|
111
111
|
disconnectedCallback(): void;
|
|
112
112
|
protected firstUpdated(changedProperties: PropertyValues): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momentum-ui/web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"author": "Yana Harris",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/momentum-design/momentum-ui.git",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"papaparse": "^5.3.0",
|
|
24
24
|
"sortablejs": "^1.13.0",
|
|
25
25
|
"lit-virtualizer": "0.4.2",
|
|
26
|
-
"@momentum-design/tokens": "0.0.
|
|
26
|
+
"@momentum-design/tokens": "0.0.58"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@momentum-ui/core": "19.
|
|
29
|
+
"@momentum-ui/core": "19.16.0",
|
|
30
30
|
"@momentum-ui/icons": "8.28.5",
|
|
31
31
|
"@momentum-ui/tokens": "1.7.1",
|
|
32
32
|
"@momentum-ui/utils": "6.2.15",
|