@momentum-ui/web-components 2.12.3 → 2.13.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/chunks/md-10.js +1 -1
- package/dist/chunks/md-12.js +1 -1
- package/dist/chunks/md-13.js +1 -1
- package/dist/chunks/md-15.js +1 -1
- package/dist/chunks/md-16.js +8 -5
- package/dist/chunks/md-19.js +1 -1
- package/dist/chunks/md-23.js +39 -21
- package/dist/chunks/md-27.js +1 -1
- package/dist/chunks/md-29.js +1 -1
- package/dist/chunks/md-30.js +1 -1
- package/dist/chunks/md-37.js +1 -1
- package/dist/chunks/md-38.js +1 -1
- package/dist/chunks/md-41.js +1 -1
- package/dist/chunks/md-43.js +1 -1
- package/dist/chunks/md-44.js +1 -1
- package/dist/chunks/md-45.js +1 -1
- package/dist/chunks/md-46.js +1 -1
- package/dist/chunks/md-49.js +10 -10
- package/dist/chunks/md-51.js +1 -1
- package/dist/chunks/md-53.js +1 -1
- package/dist/chunks/md-56.js +1 -1
- package/dist/chunks/md-58.js +1 -1
- package/dist/chunks/md-59.js +1 -1
- package/dist/chunks/md-6.js +1 -1
- package/dist/chunks/md-64.js +1 -1
- package/dist/chunks/md-69.js +1 -1
- package/dist/chunks/md-7.js +2 -2
- package/dist/chunks/md-70.js +1 -1
- package/dist/chunks/md-71.js +1 -1
- package/dist/chunks/md-75.js +2 -2
- package/dist/chunks/md-77.js +1 -1
- package/dist/chunks/md-8.js +1 -1
- package/dist/chunks/md-80.js +1 -1
- package/dist/chunks/md-81.js +1 -1
- package/dist/chunks/md-82.js +1 -1
- package/dist/chunks/md-84.js +1 -1
- package/dist/chunks/md-9.js +1 -1
- package/dist/comp/md-avatar-entry.js +1 -1
- package/dist/comp/md-badge-entry.js +1 -1
- package/dist/comp/md-chat-message-entry.js +1 -1
- package/dist/comp/md-combobox-entry.js +1 -1
- package/dist/comp/md-datepicker-entry.js +1 -1
- package/dist/comp/md-editable-field-entry.js +1 -1
- package/dist/comp/md-help-text-entry.js +1 -1
- package/dist/comp/md-label-entry.js +1 -1
- package/dist/comp/md-meeting-alert-entry.js +1 -1
- package/dist/comp/md-menu-item-entry.js +1 -1
- package/dist/comp/md-phone-input-entry.js +1 -1
- package/dist/comp/md-spinner-entry.js +1 -1
- package/dist/comp/md-tab-entry.js +1 -1
- package/dist/comp/md-theme-entry.js +1 -1
- package/dist/index-entry.js +2 -2
- package/dist/types/components/avatar/Avatar.constants.d.ts +5 -0
- package/dist/types/components/avatar/Avatar.d.ts +10 -3
- package/dist/types/components/avatar/CompositeAvatar.d.ts +1 -1
- package/dist/types/components/avatar/Presence.d.ts +20 -0
- package/dist/types/components/avatar/Presence.utils.d.ts +7 -0
- package/dist/types/components/grabber/Grabber.d.ts +41 -0
- package/dist/types/components/icon/Icon.d.ts +1 -1
- package/package.json +3 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Cisco Systems, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
import "@/components/icon/Icon";
|
|
9
|
+
import { LitElement } from "lit-element";
|
|
10
|
+
export declare namespace Grabber {
|
|
11
|
+
const ELEMENT_base: typeof LitElement & import("../../mixins/FocusMixin").AnyConstructor<import("../../mixins/FocusMixin").FocusClass>;
|
|
12
|
+
export class ELEMENT extends ELEMENT_base {
|
|
13
|
+
label: string;
|
|
14
|
+
checkedLabel: string;
|
|
15
|
+
hovered: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
checked: boolean;
|
|
18
|
+
alignment: "leading" | "trailing" | "top" | "bottom";
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
disconnectedCallback(): void;
|
|
21
|
+
static get styles(): import("lit-element").CSSResult[];
|
|
22
|
+
toggleGrabber(): void;
|
|
23
|
+
handleKeyDown(e: KeyboardEvent): void;
|
|
24
|
+
handleMouseEnter(): void;
|
|
25
|
+
handleMouseLeave(): void;
|
|
26
|
+
dispatchHoverEvent(): void;
|
|
27
|
+
get grabberClassMap(): {
|
|
28
|
+
[x: string]: boolean | "top" | "bottom" | "leading" | "trailing";
|
|
29
|
+
"md-grabber--active": boolean;
|
|
30
|
+
"md-grabber--disabled": boolean;
|
|
31
|
+
};
|
|
32
|
+
get iconName(): "arrow-down-optical_12" | "arrow-left-optical_12" | "arrow-right-optical_12" | "arrow-up-optical_12";
|
|
33
|
+
render(): import("lit-element").TemplateResult;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
}
|
|
37
|
+
declare global {
|
|
38
|
+
interface HTMLElementTagNameMap {
|
|
39
|
+
"md-grabber": Grabber.ELEMENT;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { LitElement } from "lit-element";
|
|
9
9
|
import "@/components/button/Button";
|
|
10
|
-
export declare const iconSize: readonly ["16", "20", "36", "56", 16, 20, 36, 56];
|
|
10
|
+
export declare const iconSize: readonly ["14", "16", "18", "20", "28", "36", "56", 14, 16, 18, 20, 28, 36, 56];
|
|
11
11
|
export declare const iconType: readonly ["", "white"];
|
|
12
12
|
export declare namespace Icon {
|
|
13
13
|
type Size = typeof iconSize[number];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momentum-ui/web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"author": "Yana Harris",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/momentum-design/momentum-ui.git",
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"@interactjs/auto-start": "1.10.3",
|
|
12
12
|
"@interactjs/interact": "1.10.3",
|
|
13
13
|
"@interactjs/modifiers": "1.10.3",
|
|
14
|
+
"@interactjs/utils": "1.10.3",
|
|
15
|
+
"@interactjs/core": "1.10.3",
|
|
14
16
|
"@popperjs/core": "^2.4.4",
|
|
15
17
|
"country-codes-list": "1.6.8",
|
|
16
18
|
"country-flags-svg": "1.1.4",
|