@momentum-ui/web-components 2.22.12 → 2.22.13

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/index.js CHANGED
@@ -1 +1 @@
1
- require("./1522"),require("./7103"),require("./1890"),require("./6272"),require("./6325"),require("./6283"),require("./9217"),require("./5830"),require("./8889"),require("./8210"),require("./3135"),require("./1598"),require("./4977"),require("./1572"),require("./6366"),require("./7251"),require("./4974"),require("./2243"),require("./3553"),require("./6700"),require("./528"),require("./4548"),require("./6795"),require("./76"),require("./1392"),require("./9164"),require("./2019"),require("./1625"),require("./3625"),require("./6067"),require("./8841"),require("./4663"),require("./3112"),require("./3866"),require("./1107"),require("./7330"),require("./7092"),require("./9719"),require("./6979"),require("./9130"),require("./6273"),require("./9618"),require("./8612"),require("./8521"),require("./4400"),require("./779"),require("./573"),require("./5801"),require("./2043"),require("./8171"),require("./2798"),require("./2984"),require("./7919"),require("./1869"),require("./2215"),require("./5467"),require("./4392"),require("./630"),require("./3604"),require("./7833"),require("./8728"),require("./8227"),require("./1250"),require("./1705"),require("./7997"),require("./7875"),require("./6400"),require("./587"),require("./6441"),require("./6015"),require("./3663"),module.exports=require("./index-entry");
1
+ require("./1522"),require("./7103"),require("./1890"),require("./6272"),require("./6325"),require("./6283"),require("./9217"),require("./5830"),require("./8889"),require("./8210"),require("./3135"),require("./1598"),require("./4977"),require("./1572"),require("./6366"),require("./7251"),require("./4974"),require("./2243"),require("./3553"),require("./6700"),require("./528"),require("./4548"),require("./6795"),require("./76"),require("./1392"),require("./9164"),require("./1214"),require("./1625"),require("./3625"),require("./6067"),require("./8841"),require("./4663"),require("./3112"),require("./3866"),require("./1107"),require("./7330"),require("./7092"),require("./9719"),require("./6979"),require("./9130"),require("./6273"),require("./8612"),require("./9618"),require("./8521"),require("./2019"),require("./779"),require("./573"),require("./5801"),require("./2043"),require("./8171"),require("./2798"),require("./5467"),require("./2984"),require("./7919"),require("./1869"),require("./2215"),require("./4392"),require("./630"),require("./3604"),require("./7833"),require("./8728"),require("./8227"),require("./1250"),require("./1705"),require("./7997"),require("./7875"),require("./6400"),require("./587"),require("./6441"),require("./6015"),require("./3663"),module.exports=require("./index-entry");
@@ -15,6 +15,7 @@ export declare namespace AlertBanner {
15
15
  type Alignment = (typeof alertBannerAlignment)[number];
16
16
  class ELEMENT extends LitElement {
17
17
  type: AlertBanner.Type;
18
+ titleText: string;
18
19
  message: string;
19
20
  closable: boolean;
20
21
  show: boolean;
@@ -27,11 +28,12 @@ export declare namespace AlertBanner {
27
28
  handleKeyDown(event: KeyboardEvent): void;
28
29
  private get isLeadingAlignment();
29
30
  static get styles(): CSSResultArray;
30
- getIconForType(): "error-legacy-badge-filled" | "warning-filled" | "check-circle-badge-filled" | "info-badge-filled";
31
+ getIconForType(): "error-legacy-bold" | "warning-bold" | "check-circle-bold" | "info-circle-bold";
31
32
  private get alertBannerClassMap();
32
33
  private get alertBannerTextClassMap();
33
34
  private get alertBannerRightClassMap();
34
35
  private get closeButtonTemplate();
36
+ private get titleTemplate();
35
37
  render(): import("lit-element").TemplateResult;
36
38
  }
37
39
  }
@@ -1,6 +1,6 @@
1
1
  declare const AvatarState: readonly ["active", "rest"];
2
2
  declare const AvatarStyle: readonly ["default", "table"];
3
- declare const AvatarChannelType: readonly ["channel-chat", "channel-sms-inbound", "channel-sms-outbound", "channel-email-inbound", "channel-email-outbound", "channel-call", "channel-call-inbound", "channel-social", "channel-callback", "channel-headset", "channel-campaign", "channel-emoji", "channel-webex", "channel-fb-messenger", "channel-facebook", "channel-apple-chat", "channel-line", "channel-twitter-x", "channel-viber", "channel-whats-app", "channel-we-chat", "channel-spam", "channel-custom"];
3
+ declare const AvatarChannelType: readonly ["channel-chat", "channel-sms-inbound", "channel-sms-outbound", "channel-email-inbound", "channel-email-outbound", "channel-call", "channel-call-inbound", "channel-social", "channel-callback", "channel-headset", "channel-campaign", "channel-emoji", "channel-webex", "channel-fb-messenger", "channel-facebook", "channel-apple-chat", "channel-line", "channel-twitter-x", "channel-viber", "channel-whats-app", "channel-monitoring", "channel-we-chat", "channel-spam", "channel-custom"];
4
4
  declare const AvatarType: readonly ["bot", "group", "self", "typing", ""];
5
5
  declare const AvatarSize: number[];
6
6
  export { AvatarChannelType, AvatarSize, AvatarState, AvatarStyle, AvatarType };
@@ -6,7 +6,9 @@
6
6
  *
7
7
  */
8
8
  import { LitElement } from "lit-element";
9
+ import { BadgeCircleSize } from "./badge.constant";
9
10
  export declare namespace Badge {
11
+ type BadgeCircleSize = (typeof BadgeCircleSize)[keyof typeof BadgeCircleSize];
10
12
  class ELEMENT extends LitElement {
11
13
  ariaLabel: string;
12
14
  color: string;
@@ -17,6 +19,7 @@ export declare namespace Badge {
17
19
  outlined: boolean;
18
20
  compact: boolean;
19
21
  circle: boolean;
22
+ circleSize: BadgeCircleSize;
20
23
  small: boolean;
21
24
  split: boolean;
22
25
  disabled: boolean;
@@ -0,0 +1,11 @@
1
+ declare const BadgeCircleSize: {
2
+ readonly 24: 24;
3
+ readonly 32: 32;
4
+ readonly 40: 40;
5
+ readonly 48: 48;
6
+ readonly 64: 64;
7
+ readonly 72: 72;
8
+ readonly 88: 88;
9
+ readonly 124: 124;
10
+ };
11
+ export { BadgeCircleSize };
@@ -17,7 +17,7 @@ export declare namespace HelpText {
17
17
  [x: string]: boolean;
18
18
  };
19
19
  static get styles(): import("lit-element").CSSResult[];
20
- getIconName(): "" | "error-legacy-badge-filled" | "check-circle-badge-filled" | "info-badge-filled" | "warning-badge-filled";
20
+ getIconName(): "" | "check-circle-badge-filled" | "error-legacy-badge-filled" | "warning-badge-filled" | "info-badge-filled";
21
21
  render(): import("lit-element").TemplateResult;
22
22
  }
23
23
  }
@@ -23,5 +23,12 @@ declare const TaskItemMediaType: {
23
23
  readonly FACEBOOK: "facebook";
24
24
  readonly WHATSAPP: "whatsapp";
25
25
  readonly MESSENGER: "messenger";
26
+ readonly OUTBOUND_EMAIL: "outboundemail";
27
+ readonly OUTBOUND_SMS: "outboundsms";
28
+ readonly SOCIAL_X: "socialx";
29
+ readonly VIBER: "viber";
30
+ readonly WECHAT: "wechat";
31
+ readonly WEBEX: "webex";
32
+ readonly GOOGLE_MESSAGES: "googlemessages";
26
33
  };
27
34
  export { TaskItemStatus, TaskItemMediaType };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "2.22.12",
3
+ "version": "2.22.13",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",
package/dist/4400.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[4400],{21796:(e,t,r)=>{var o;r.d(t,{d:()=>o}),function(e){const t={placeholder:"Filter..."};e.OPTIONS={equals:{label:"Equals",input:t,predicate:(e,t)=>e==t},notEqual:{label:"Not equal",input:t,predicate:(e,t)=>e!=t},contains:{label:"Contains",input:t,predicate:(e,t)=>e.includes(t)},notContains:{label:"Not contains",input:t,predicate:(e,t)=>!e.includes(t)},startsWith:{label:"Starts with",input:t,predicate:(e,t)=>e.startsWith(t)},endsWith:{label:"Ends with",input:t,predicate:(e,t)=>e.endsWith(t)},lessThan:{label:"Less than",input:t,predicate:(e,t)=>e<t},lessThanOrEquals:{label:"Less than or equals",input:t,predicate:(e,t)=>e<=t},greaterThan:{label:"Greater than",input:t,predicate:(e,t)=>e>t},greaterThanOrEquals:{label:"Greater than or equals",input:t,predicate:(e,t)=>e>=t}},e.optionsString=[e.OPTIONS.equals,e.OPTIONS.notEqual,e.OPTIONS.contains,e.OPTIONS.notContains,e.OPTIONS.startsWith,e.OPTIONS.endsWith],e.optionsNumber=[e.OPTIONS.equals,e.OPTIONS.notEqual,e.OPTIONS.lessThan,e.OPTIONS.lessThanOrEquals,e.OPTIONS.greaterThan,e.OPTIONS.greaterThanOrEquals]}(o||(o={}))},56076:(e,t,r)=>{r.d(t,{Wj:()=>l,qQ:()=>n,sg:()=>a});var o=r(40333);function a(e=250){return function(t,r,o){let a;return function(e,t){if(e.descriptor=e.descriptor||Object.getOwnPropertyDescriptor(e.target,e.key),"function"!=typeof e.descriptor.value)return console.warn(e.key,"Decorator must be used on function"),e.descriptor;const r=e.descriptor.value,o=e.target.constructor.name;return e.descriptor.value=function(...e){return t.call(this,r,e,o)},e.descriptor}({target:t,key:r,descriptor:o},(function(t,r){clearTimeout(a),a=window.setTimeout((()=>{clearTimeout(a),t.apply(this,r)}),e)}))}}function l(){return(e,t)=>{const r={get(){return new d(this,void 0!==t?t:e.key)},enumerable:!0,configurable:!0};return void 0!==t?Object.defineProperty(e,t,r):{kind:"method",placement:"prototype",key:e.key,descriptor:r}}}class d{constructor(e,t){this.target=e,this.eventName=t}emit(e,t={bubbles:!0,composed:!0,cancelable:!1}){this.target.dispatchEvent(new CustomEvent(this.eventName,Object.assign({detail:e},t)))}}const i=new WeakMap,n=(0,o.directive)((e=>t=>{if(!(t instanceof o.NodePart))throw new Error("templateCallback can only be used in text bindings");const r=i.get(t);if(void 0!==r&&e.template===r.template&&t.value===r.fragment)return;const a=document.importNode(e.template.content,!0);e.cb({content:e.content,row:e.row,col:e.col,insertIndex:e.insertIndex,fragment:a}),t.setValue(a),i.set(t,{template:e.template,fragment:a})}))},87421:(e,t,r)=>{r.d(t,{A:()=>o});const o=r(41488).css`:host{display:block}.md-table-advanced{width:100%}table{border-collapse:separate;border-spacing:0;max-width:100%;position:relative;width:100%}table.sticky-header{height:100%}table.sticky-header thead th:first-child{border-left:1px solid var(--table-advanced-border-color)}table.sticky-header thead th{background-color:var(--table-advanced-header-bg-color);border-left:0;border-top:0;position:sticky;top:0;z-index:1}table.sticky-header thead th::before{border-top:1px solid var(--table-advanced-border-color);bottom:0;content:" ";left:0;position:absolute;top:0;width:100%}table.sticky-header thead tr:last-child th{top:2.5rem}table.sticky-header thead tr:last-child th::before{border-bottom:1px solid var(--table-advanced-border-color);border-top:1px solid var(--table-advanced-border-color)}table.sticky-header thead tr:first-child th{height:calc(2.5rem + .0625rem*2);top:0}table.sticky-header thead tr:first-child th::before{border-bottom:1px solid var(--table-advanced-border-color);border-top:1px solid var(--table-advanced-border-color)}table.sticky-header thead tr:focus{outline:0}table.sticky-header thead tr:focus th:first-child{border-left:2px solid var(--md-focus-border-color)}table.sticky-header thead tr:focus th:last-child{border-right:2px solid var(--md-focus-border-color)}table.sticky-header thead tr:focus th::before{border-bottom:2px solid var(--md-focus-border-color);border-top:2px solid var(--md-focus-border-color)}thead th:first-child{border-left:1px solid var(--table-advanced-border-color)}thead th{background-color:var(--table-advanced-header-bg-color);border:1px solid var(--table-advanced-border-color);border-left:0;color:var(--md-secondary-text-color);font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:14px;height:2.5rem;max-width:0;padding:0 .375rem;position:relative;text-align:left}thead th .filter{display:inline-block;height:auto;margin-top:calc(.25rem/2)}thead th .resize{background-color:rgba(0,0,0,0);cursor:col-resize;height:100%;left:calc(-.25rem/2);position:absolute;top:0;width:.25rem;z-index:1}thead .head-inner-cell{align-items:center;display:flex;min-width:.875rem}thead .head-inner-cell .filter-wrap{align-items:center;display:inline-flex;flex:1;justify-content:flex-end}thead .head-inner-cell .filter-icon{color:var(--md-primary-text-color);cursor:pointer;display:inline-block;height:1.5rem;min-width:1.25rem;position:relative;z-index:1;border-radius:4px}thead .head-inner-cell .filter-icon::part(button){padding:.25rem;text-align:center;width:1.5rem}thead .head-inner-cell .filter-icon:hover{background-color:var(--table-advanced-filter-hover-bg-color)}thead .head-inner-cell .filter-icon:active{background-color:var(--table-advanced-filter-pressed-bg-color)}thead .head-inner-cell span{display:inline-block;overflow:hidden;padding-right:calc(.25rem*1.25);text-overflow:ellipsis;white-space:nowrap;width:100%}thead .head-inner-cell .sortable{background:rgba(0,0,0,0);border:0;color:var(--md-secondary-text-color);display:inline-flex;align-items:center;min-width:calc(1rem*2.5);overflow:hidden;padding-right:calc(.25rem*4);text-overflow:ellipsis;white-space:nowrap;width:auto}thead md-menu-overlay::part(overlay){top:-.375rem;white-space:normal}@supports(-moz-appearance:none){thead md-menu-overlay::part(overlay){top:-.25rem;white-space:normal}}thead .drag-area-col{cursor:grab;display:block;height:calc(.25rem*10);left:.25rem;position:absolute;right:.25rem;top:0;z-index:1}thead .drag-area-col.drag{border:2px dashed var(--table-advanced-filter-border-color);opacity:1}thead .drag-area-col.over{background-color:#a87ff1;height:100%;opacity:.1}thead .sortable{cursor:pointer;z-index:1;gap:.5rem}.filter-active{display:inline-block;height:1.25rem;text-align:center;vertical-align:bottom;width:1.25rem}.filter-active::part(icon){line-height:.875rem}.filter-menu{background-color:var(--table-advanced-filter-bg-color);padding:calc(.25rem*3);position:relative;z-index:1}.filter-menu select{background-color:var(--table-advanced-filter-bg-color);border:1px solid var(--table-advanced-filter-border-color);color:var(--md-secondary-text-color);min-height:calc(.875rem*1.8);width:100%}.filter-menu input{background-color:var(--table-advanced-filter-bg-color);border:1px solid var(--table-advanced-filter-border-color);color:var(--md-secondary-text-color);margin-top:calc(.25rem*2);width:100%}tbody tr{position:relative}tbody tr td:first-child{border-left:1px solid var(--table-advanced-border-color)}tbody tr td{border-bottom:1px solid var(--table-advanced-border-color);border-right:1px solid var(--table-advanced-border-color);font-size:14px;height:2.5rem;max-width:0;padding:calc(.25rem*1.5);position:relative}tbody tr th:first-child{border-top:1px solid var(--table-advanced-border-color)}tbody tr th{background-color:var(--table-advanced-header-bg-color);border-bottom:1px solid var(--table-advanced-border-color);border-right:1px solid var(--table-advanced-border-color);font-size:14px;max-width:0;padding:0 calc(.25rem*4);position:relative;text-align:left}tbody tr .inner-cell{display:flex;white-space:nowrap;align-items:center}tbody tr .inner-cell .warn-icon{display:inline-block;margin-left:.25rem;max-height:1.25rem;position:relative;vertical-align:middle;z-index:0}tbody tr .inner-cell md-icon::part(icon){line-height:1.25rem}tbody tr .inner-cell span{align-self:center;display:inline-block;flex:1;overflow:hidden;padding:0 .25rem;text-overflow:ellipsis;vertical-align:middle}tbody tr .drag-handle{cursor:grab;float:left;margin-right:calc(.25rem*1.5)}tbody tr .drag-area{height:50%;left:0;opacity:.3;position:absolute;right:0}tbody tr .drag-area.top{top:0}tbody tr .drag-area.bottom{background-color:rgba(0,0,0,0);bottom:0}tbody tr.ghost{opacity:.3}tbody tr:hover{background-color:var(--table-advanced-hover-bg-color)}tbody tr:hover td,tbody tr:hover th{background-color:var(--table-advanced-hover-bg-color)}tbody tr.selected,tbody tr:active{background-color:var(--table-advanced-selected-bg-color)}tbody tr.selected td,tbody tr.selected th,tbody tr:active td,tbody tr:active th{background-color:var(--table-advanced-selected-bg-color)}button.row-collapsible{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;width:1.25rem;margin-right:calc(.25rem*1.5);background-color:rgba(0,0,0,0);border:1px solid var(--table-advanced-border-color);border-radius:2px}button.row-collapsible:hover{background-color:var(--table-advanced-filter-hover-bg-color);border:0}button.row-collapsible:active{background-color:var(--table-advanced-filter-pressed-bg-color);border:0}`}}]);