@ncino/web-components 16.5.0 → 16.6.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/components/panel/gator/panel.gator.js +27 -17
- package/dist/components/table/gator/table-cells/table-cell-chip.gator.js +3 -3
- package/dist/packages/web-components/src/components/chip/gator/chip.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/panel/gator/panel.gator.scss.js +1 -1
- package/dist/types/src/components/table/table-cell-config.d.ts +2 -0
- package/package.json +3 -3
- package/web-types.json +1 -1
|
@@ -1,34 +1,44 @@
|
|
|
1
|
-
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as
|
|
2
|
-
<div ${
|
|
3
|
-
style=${
|
|
1
|
+
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.2/node_modules/lit-element/lit-element.js";import{property as o}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{customElement as c}from"../../../utils/decorators/custom-element-decorator.js";import{createRef as g,ref as u}from"../../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/directives/ref.js";import{ifDefined as i}from"../../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/directives/if-defined.js";import{NgcComponent as f}from"../../../utils/components/ngc-component.js";import m from"../../../packages/web-components/src/components/panel/gator/panel.gator.scss.js";import"../../card/gator/base/card.gator.js";import"../../card/gator/header/card-header.gator.js";import"../../icon-button/gator/icon-button.gator.js";import{unsafeCSS as v}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var y=Object.defineProperty,b=Object.getOwnPropertyDescriptor,$=Object.getPrototypeOf,E=Reflect.get,t=(n,r,s,p)=>{for(var l=p>1?void 0:p?b(r,s):r,d=n.length-1,h;d>=0;d--)(h=n[d])&&(l=(p?h(r,s,l):h(l))||l);return p&&l&&y(r,s,l),l},L=(n,r,s)=>E($(n),s,r);let e=class extends f{constructor(){super(...arguments),this.type="overlay",this.open=!1,this.position="left",this.skeleton=!1,this.outlined=!1,this.anchorElement=null,this.ariaLabel=null,this.ariaLabelledBy=null,this.static=!1,this.panelRef=g()}render(){return a`
|
|
2
|
+
<div ${u(this.panelRef)}
|
|
3
|
+
style=${i(this.anchorElement?`--anchor-element-offset: ${this.anchorElement?.offsetWidth}px;`:void 0)}
|
|
4
4
|
class="gator-panel gator-panel-${this.type} gator-panel-${this.position} gator-panel-${this.outlined?"outlined":"elevated"} ${this.open?"gator-panel-open":""}"
|
|
5
5
|
aria-hidden=${!this.open}
|
|
6
|
-
role=${
|
|
7
|
-
aria-modal=${
|
|
6
|
+
role=${i(this.static?void 0:"dialog")}
|
|
7
|
+
aria-modal=${i(this.static?void 0:"false")}
|
|
8
8
|
tabindex="-1"
|
|
9
|
-
aria-label=${
|
|
10
|
-
aria-labelledby=${
|
|
11
|
-
data-testid=${
|
|
9
|
+
aria-label=${i(this.ariaLabel||void 0)}
|
|
10
|
+
aria-labelledby=${i(this.ariaLabelledBy||void 0)}
|
|
11
|
+
data-testid=${i(this.dataTestid)}-panel
|
|
12
12
|
>
|
|
13
13
|
<div class="gator-panel-header">
|
|
14
|
-
${this.skeleton?
|
|
14
|
+
${this.skeleton?a`
|
|
15
|
+
<ngc-skeleton-loader
|
|
16
|
+
height="42"
|
|
17
|
+
width="300"
|
|
18
|
+
rounded
|
|
19
|
+
></ngc-skeleton-loader>`:a`<slot name="header"></slot>`}
|
|
15
20
|
</div>
|
|
16
21
|
|
|
17
22
|
<div class="gator-panel-content">
|
|
18
|
-
${this.skeleton?this.gatorPanelContentLoadingMarkup:
|
|
23
|
+
${this.skeleton?this.gatorPanelContentLoadingMarkup:a`<slot name="body"></slot>`}
|
|
19
24
|
</div>
|
|
20
25
|
|
|
21
26
|
<div class="gator-panel-footer">
|
|
22
|
-
${this.skeleton?this.gatorPanelFooterLoadingMarkup:
|
|
27
|
+
${this.skeleton?this.gatorPanelFooterLoadingMarkup:a`<slot name="footer"></slot>`}
|
|
23
28
|
</div>
|
|
24
29
|
</div>
|
|
25
|
-
`}updated(){this.anchorElement&&this.anchorElement?.style.setProperty("z-index","2")}get gatorPanelContentLoadingMarkup(){return
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
`}updated(){this.anchorElement&&this.anchorElement?.style.setProperty("z-index","2")}get gatorPanelContentLoadingMarkup(){return a`
|
|
31
|
+
<div class="gator-panel-content-loading">
|
|
32
|
+
${Array.from({length:5},()=>a`
|
|
33
|
+
<div class="gator-panel-content-loading-row">
|
|
34
|
+
<ngc-skeleton-loader width="280" height="24" rounded></ngc-skeleton-loader>
|
|
35
|
+
<ngc-skeleton-loader full-width height="24" rounded></ngc-skeleton-loader>
|
|
36
|
+
</div>
|
|
37
|
+
`)}
|
|
38
|
+
</div>
|
|
39
|
+
`}get gatorPanelFooterLoadingMarkup(){return a`
|
|
30
40
|
<div class="gator-panel-footer-loading">
|
|
31
41
|
<ngc-button skeleton></ngc-button>
|
|
32
42
|
<ngc-button skeleton></ngc-button>
|
|
33
43
|
</div>
|
|
34
|
-
`}closePanel(){const
|
|
44
|
+
`}closePanel(){const n=()=>{this.open=!1,this.dispatchEvent(new CustomEvent("close",{bubbles:!0}))};return this.type==="overlay"?(this.panelRef.value?.classList.add("gator-panel-close"),this.panelRef.value?.addEventListener("animationend",n,{once:!0})):(n(),null)}openPanel(){this.open=!0,this.dispatchEvent(new CustomEvent("open",{bubbles:!0})),this.panelRef.value?.addEventListener("animationend",()=>{this.panelRef.value?.focus()},{once:!0})}};e.styles=[...L(e,e,"styles"),v(m)];t([o({type:String})],e.prototype,"type",2);t([o({type:Boolean})],e.prototype,"open",2);t([o({type:String})],e.prototype,"position",2);t([o({type:Boolean})],e.prototype,"skeleton",2);t([o({type:Boolean})],e.prototype,"outlined",2);t([o({type:HTMLElement,attribute:"anchor-element"})],e.prototype,"anchorElement",2);t([o({type:String,attribute:"aria-label"})],e.prototype,"ariaLabel",2);t([o({type:String,attribute:"aria-labelledby"})],e.prototype,"ariaLabelledBy",2);t([o({type:Boolean})],e.prototype,"static",2);e=t([c("ngc-panel")],e);export{e as NgcPanel};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as
|
|
2
|
-
<ngc-chip .type="${
|
|
3
|
-
`}};
|
|
1
|
+
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.2/node_modules/lit-element/lit-element.js";import{customElement as p}from"../../../../utils/decorators/custom-element-decorator.js";import{TableCellBase as i}from"./table-cell-base.gator.js";import"../../../chip/gator/chip.gator.js";var m=Object.getOwnPropertyDescriptor,f=(t,o,l,n)=>{for(var e=n>1?void 0:n?m(o,l):o,r=t.length-1,c;r>=0;r--)(c=t[r])&&(e=c(e)||e);return e};let s=class extends i{renderCellContent(){const t=this.column.cellConfig??{},o=this.getCellValue(),l=o!=null?String(o):"",n=typeof t.type=="function"?t.type(this.rowData):t.type??null,e=typeof t.startIcon=="function"?t.startIcon(this.rowData):t.startIcon??"";return a`
|
|
2
|
+
<ngc-chip .type="${n}" .startIcon="${e}" readonly size="small">${l}</ngc-chip>
|
|
3
|
+
`}};s=f([p("ngc-table-cell-chip")],s);export{s as NgcTableCellChip};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r='.gator-chip{background-color:var(--ngc-chip-background-color, var(--color-surface-secondary));border-radius:var(--ngc-chip-border-radius, var(--border-radius-circle));font-family:var(--font-family-body, "Open Sans"),sans-serif;font-size:var(--ngc-chip-font-size, var(--font-size-body-2));line-height:var(--ngc-chip-line-height, var(--line-height-body-2));border:var(--ngc-chip-border, 1px solid var(--color-border-tertiary));color:var(--ngc-chip-color, var(--color-text-primary));cursor:var(--ngc-chip-cursor, default);width:max-content;display:flex;flex-direction:row;align-items:center;padding:0 4px}.gator-chip.hide-border{border:1px solid transparent}.gator-chip:has(ngc-icon-button){padding-right:2px}.gator-chip:has(ngc-icon-button) ngc-icon-button{margin-left:-4px}.gator-chip:has(ngc-icon-button) ngc-icon{margin-left:2px}.chip-label{padding:4px}ngc-icon-button{height:24px}button:hover{background-color:var(--ngc-chip-hover-background-color, var(--color-surface-neutral));cursor:var(--ngc-chip-cursor, pointer)}button:focus-visible{outline:var(--ngc-chip-focus-outline, 2px solid var(--color-border-neutral, #1F1F1F));outline-offset:2px}button:active{background-color:var(--ngc-chip-active-background-color, var(--color-surface-neutral))}.gator-chip_disabled{cursor:not-allowed!important;color:var(--color-text-disabled);background:var(--color-surface-disabled);outline:1px solid transparent!important;border:1px solid transparent!important}.gator-chip_disabled ngc-icon{--ngc-icon-color: var(--color-icon-disabled)}.gator-chip_disabled:hover{background:var(--color-surface-disabled)!important}.gator-chip__read-only{cursor:var(--ngc-chip-cursor, default !important)}.gator-chip_error:not(.gator-chip_disabled){background:var(--color-surface-error);border:1px solid var(--color-border-error)}.gator-chip_error:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-error-secondary);border-color:var(--color-border-error-secondary)}.gator-chip_error:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_warning:not(.gator-chip_disabled){background:var(--color-surface-warning);border:1px solid var(--color-border-warning)}.gator-chip_warning:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-warning-secondary);border-color:var(--color-border-warning-secondary)}.gator-chip_warning:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_success:not(.gator-chip_disabled){background:var(--color-surface-success);border:1px solid var(--color-border-success)}.gator-chip_success:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-success-secondary);border-color:var(--color-border-success-secondary)}.gator-chip_success:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_info:not(.gator-chip_disabled){background:var(--color-surface-brand);border:1px solid var(--color-border-brand-tertiary)}.gator-chip_info:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-brand-secondary)}.gator-chip_info:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_ai:not(.gator-chip_disabled){background:var(--color-gradient-surface-tertiary);border:1px solid var(--color-border-purple, #E5CCFF);background-origin:border-box;background-clip:padding-box}.gator-chip_ai:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-purple-secondary, #E5CCFF);background-origin:border-box;background-clip:padding-box}.gator-chip_ai:not(.gator-chip_disabled):hover:not(.gator-chip__read-only):not(.hide-border){border-color:var(--color-border-purple-secondary)}.gator-chip_ai:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_small{font-size:var(--font-size-body-3);line-height:var(--line-height-body-3)}';export{r as default};
|
|
1
|
+
const r='.gator-chip{background-color:var(--ngc-chip-background-color, var(--color-surface-secondary));border-radius:var(--ngc-chip-border-radius, var(--border-radius-circle));font-family:var(--font-family-body, "Open Sans"),sans-serif;font-size:var(--ngc-chip-font-size, var(--font-size-body-2));line-height:var(--ngc-chip-line-height, var(--line-height-body-2));border:var(--ngc-chip-border, 1px solid var(--color-border-tertiary));color:var(--ngc-chip-color, var(--color-text-primary));cursor:var(--ngc-chip-cursor, default);width:max-content;display:flex;flex-direction:row;align-items:center;padding:0 4px}.gator-chip.hide-border{border:1px solid transparent}.gator-chip:has(ngc-icon-button){padding-right:2px}.gator-chip:has(ngc-icon-button) ngc-icon-button{margin-left:-4px}.gator-chip:has(ngc-icon-button) ngc-icon{margin-left:2px}.chip-label{padding:4px}ngc-icon-button{height:24px}button:hover{background-color:var(--ngc-chip-hover-background-color, var(--color-surface-neutral));cursor:var(--ngc-chip-cursor, pointer)}button:focus-visible{outline:var(--ngc-chip-focus-outline, 2px solid var(--color-border-neutral, #1F1F1F));outline-offset:2px}button:active{background-color:var(--ngc-chip-active-background-color, var(--color-surface-neutral))}.gator-chip_disabled{cursor:not-allowed!important;color:var(--color-text-disabled);background:var(--color-surface-disabled);outline:1px solid transparent!important;border:1px solid transparent!important}.gator-chip_disabled ngc-icon{--ngc-icon-color: var(--color-icon-disabled)}.gator-chip_disabled:hover{background:var(--color-surface-disabled)!important}.gator-chip__read-only{cursor:var(--ngc-chip-cursor, default !important)}.gator-chip_error:not(.gator-chip_disabled){background:var(--color-surface-error);border:1px solid var(--color-border-error)}.gator-chip_error:not(.gator-chip_disabled) ngc-icon{--ngc-icon-color: var(--color-icon-error)}.gator-chip_error:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-error-secondary);border-color:var(--color-border-error-secondary)}.gator-chip_error:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_warning:not(.gator-chip_disabled){background:var(--color-surface-warning);border:1px solid var(--color-border-warning)}.gator-chip_warning:not(.gator-chip_disabled) ngc-icon{--ngc-icon-color: var(--color-icon-warning)}.gator-chip_warning:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-warning-secondary);border-color:var(--color-border-warning-secondary)}.gator-chip_warning:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_success:not(.gator-chip_disabled){background:var(--color-surface-success);border:1px solid var(--color-border-success)}.gator-chip_success:not(.gator-chip_disabled) ngc-icon{--ngc-icon-color: var(--color-icon-success)}.gator-chip_success:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-success-secondary);border-color:var(--color-border-success-secondary)}.gator-chip_success:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_info:not(.gator-chip_disabled){background:var(--color-surface-brand);border:1px solid var(--color-border-brand-tertiary)}.gator-chip_info:not(.gator-chip_disabled) ngc-icon{--ngc-icon-color: var(--color-icon-brand)}.gator-chip_info:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-brand-secondary)}.gator-chip_info:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_ai:not(.gator-chip_disabled){background:var(--color-gradient-surface-tertiary);border:1px solid var(--color-border-purple, #E5CCFF);background-origin:border-box;background-clip:padding-box}.gator-chip_ai:not(.gator-chip_disabled) ngc-icon{--ngc-icon-color: var(--color-icon-ai)}.gator-chip_ai:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-purple-secondary, #E5CCFF);background-origin:border-box;background-clip:padding-box}.gator-chip_ai:not(.gator-chip_disabled):hover:not(.gator-chip__read-only):not(.hide-border){border-color:var(--color-border-purple-secondary)}.gator-chip_ai:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_small{font-size:var(--font-size-body-3);line-height:var(--line-height-body-3)}';export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a=".gator-panel{display:flex;width:var(--ngc-panel-width, 29.5rem);height:100vh;flex-direction:column;flex:1 0 0;align-items:flex-start;background:var(--color-surface-primary)}.gator-panel-left.gator-panel-elevated{box-shadow:var(--shadow-panel-left)}.gator-panel-left.gator-panel-outlined{border-right:1px solid var(--color-border-tertiary)}.gator-panel-right.gator-panel-elevated{box-shadow:var(--shadow-panel-right)}.gator-panel-right.gator-panel-outlined{border-left:1px solid var(--color-border-tertiary)}.gator-panel-bottom{width:100%;height:var(--ngc-panel-height-bottom, 29.5rem)}.gator-panel-bottom.gator-panel-elevated{box-shadow:var(--shadow-panel-bottom)}.gator-panel-bottom.gator-panel-outlined{border-top:1px solid var(--color-border-tertiary);border-right:1px solid var(--color-border-tertiary);border-left:1px solid var(--color-border-tertiary)}.gator-panel-bottom-left{width:var(--ngc-panel-width, 29.5rem);height:var(--ngc-panel-height-bottom, 29.5rem)}.gator-panel-bottom-left.gator-panel-elevated{box-shadow:var(--shadow-panel-left)}.gator-panel-bottom-left.gator-panel-outlined{border-top:1px solid var(--color-border-tertiary);border-right:1px solid var(--color-border-tertiary)}.gator-panel-bottom-right{width:var(--ngc-panel-width, 29.5rem);height:var(--ngc-panel-height-bottom, 29.5rem)}.gator-panel-bottom-right.gator-panel-elevated{box-shadow:var(--shadow-panel-right)}.gator-panel-bottom-right.gator-panel-outlined{border-top:1px solid var(--color-border-tertiary);border-left:1px solid var(--color-border-tertiary)}:focus-visible{outline:2px solid var(--color-border-neutral, #1F1F1F);outline-offset:-2px}.gator-panel-header{border-bottom:var(--ngc-panel-header-border-bottom, 1px solid var(--color-border-tertiary));padding:var(--spacing-8);align-self:stretch;height:var(--ngc-panel-header-height, max-content)}.gator-panel-content{display:flex;flex-direction:column;padding:var(--ngc-panel-body-padding, var(--spacing-8));flex:1 0 0;align-self:stretch;gap:var(--spacing-8);overflow-y:auto;flex-shrink:1;min-height:0}.gator-panel-footer{padding:var(--spacing-8);align-self:stretch;border-top:var(--ngc-panel-footer-border-top, none);background:var(--ngc-panel-footer-background-color, var(--color-surface-secondary));height:var(--ngc-panel-footer-height, max-content)}.gator-panel-footer-loading{display:flex;gap:var(--spacing-8);justify-content:center;align-items:center;height:100%}.gator-panel:not(.gator-panel-open,.gator-panel-close){display:none}.gator-panel .gator-panel-open{display:flex}.gator-panel-overlay{position:absolute;z-index:1}.gator-panel-overlay.gator-panel-open.gator-panel-left{top:0;left:var(--anchor-element-offset, 0);animation:slideInFromLeft .3s forwards}.gator-panel-overlay.gator-panel-open.gator-panel-right{top:0;right:var(--anchor-element-offset, 0);animation:slideInFromRight .3s forwards}.gator-panel-overlay.gator-panel-open.gator-panel-bottom,.gator-panel-overlay.gator-panel-open.gator-panel-bottom-left{bottom:0;left:0;animation:slideInFromBottom .3s forwards}.gator-panel-overlay.gator-panel-open.gator-panel-bottom-right{bottom:0;right:0;animation:slideInFromBottom .3s forwards}.gator-panel-overlay.gator-panel-close.gator-panel-left{animation:slideOutToLeft .3s forwards}.gator-panel-overlay.gator-panel-close.gator-panel-right{animation:slideOutToRight .3s forwards}.gator-panel-overlay.gator-panel-close.gator-panel-bottom,.gator-panel-overlay.gator-panel-close.gator-panel-bottom-left,.gator-panel-overlay.gator-panel-close.gator-panel-bottom-right{animation:slideOutToBottom .3s forwards}@keyframes slideInFromLeft{0%{display:none;transform:translate(-100%)}to{transform:translate(0)}}@keyframes slideOutToLeft{0%{transform:translate(0)}25%{opacity:1}to{transform:translate(-100%);display:none;opacity:0}}@keyframes slideInFromRight{0%{display:none;transform:translate(100%)}to{transform:translate(0)}}@keyframes slideOutToRight{0%{transform:translate(0)}25%{opacity:1}to{transform:translate(100%);display:none;opacity:0}}@keyframes slideInFromBottom{0%{display:none;transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideOutToBottom{0%{transform:translateY(0)}25%{opacity:1}to{transform:translateY(100%);display:none;opacity:0}}";export{a as default};
|
|
1
|
+
const a=".gator-panel{display:flex;width:var(--ngc-panel-width, 29.5rem);height:100vh;flex-direction:column;flex:1 0 0;align-items:flex-start;background:var(--color-surface-primary)}.gator-panel-left.gator-panel-elevated{box-shadow:var(--shadow-panel-left)}.gator-panel-left.gator-panel-outlined{border-right:1px solid var(--color-border-tertiary)}.gator-panel-right.gator-panel-elevated{box-shadow:var(--shadow-panel-right)}.gator-panel-right.gator-panel-outlined{border-left:1px solid var(--color-border-tertiary)}.gator-panel-bottom{width:100%;height:var(--ngc-panel-height-bottom, 29.5rem)}.gator-panel-bottom.gator-panel-elevated{box-shadow:var(--shadow-panel-bottom)}.gator-panel-bottom.gator-panel-outlined{border-top:1px solid var(--color-border-tertiary);border-right:1px solid var(--color-border-tertiary);border-left:1px solid var(--color-border-tertiary)}.gator-panel-bottom-left{width:var(--ngc-panel-width, 29.5rem);height:var(--ngc-panel-height-bottom, 29.5rem)}.gator-panel-bottom-left.gator-panel-elevated{box-shadow:var(--shadow-panel-left)}.gator-panel-bottom-left.gator-panel-outlined{border-top:1px solid var(--color-border-tertiary);border-right:1px solid var(--color-border-tertiary)}.gator-panel-bottom-right{width:var(--ngc-panel-width, 29.5rem);height:var(--ngc-panel-height-bottom, 29.5rem)}.gator-panel-bottom-right.gator-panel-elevated{box-shadow:var(--shadow-panel-right)}.gator-panel-bottom-right.gator-panel-outlined{border-top:1px solid var(--color-border-tertiary);border-left:1px solid var(--color-border-tertiary)}:focus-visible{outline:2px solid var(--color-border-neutral, #1F1F1F);outline-offset:-2px}.gator-panel-header{border-bottom:var(--ngc-panel-header-border-bottom, 1px solid var(--color-border-tertiary));padding:var(--spacing-8);align-self:stretch;height:var(--ngc-panel-header-height, max-content)}.gator-panel-content{display:flex;flex-direction:column;padding:var(--ngc-panel-body-padding, var(--spacing-8));flex:1 0 0;align-self:stretch;gap:var(--spacing-8);overflow-y:auto;flex-shrink:1;min-height:0}.gator-panel-footer{padding:var(--spacing-8);align-self:stretch;border-top:var(--ngc-panel-footer-border-top, none);background:var(--ngc-panel-footer-background-color, var(--color-surface-secondary));height:var(--ngc-panel-footer-height, max-content)}.gator-panel-footer-loading{display:flex;gap:var(--spacing-8);justify-content:center;align-items:center;height:100%}.gator-panel-content-loading-row:first-child{padding-top:var(--spacing-10)}.gator-panel-content-loading{display:flex;flex-direction:column;gap:var(--spacing-12)}.gator-panel-content-loading-row{display:flex;flex-direction:column;gap:var(--spacing-4)}.gator-panel:not(.gator-panel-open,.gator-panel-close){display:none}.gator-panel .gator-panel-open{display:flex}.gator-panel-overlay{position:absolute;z-index:1}.gator-panel-overlay.gator-panel-open.gator-panel-left{top:0;left:var(--anchor-element-offset, 0);animation:slideInFromLeft .3s forwards}.gator-panel-overlay.gator-panel-open.gator-panel-right{top:0;right:var(--anchor-element-offset, 0);animation:slideInFromRight .3s forwards}.gator-panel-overlay.gator-panel-open.gator-panel-bottom,.gator-panel-overlay.gator-panel-open.gator-panel-bottom-left{bottom:0;left:0;animation:slideInFromBottom .3s forwards}.gator-panel-overlay.gator-panel-open.gator-panel-bottom-right{bottom:0;right:0;animation:slideInFromBottom .3s forwards}.gator-panel-overlay.gator-panel-close.gator-panel-left{animation:slideOutToLeft .3s forwards}.gator-panel-overlay.gator-panel-close.gator-panel-right{animation:slideOutToRight .3s forwards}.gator-panel-overlay.gator-panel-close.gator-panel-bottom,.gator-panel-overlay.gator-panel-close.gator-panel-bottom-left,.gator-panel-overlay.gator-panel-close.gator-panel-bottom-right{animation:slideOutToBottom .3s forwards}@keyframes slideInFromLeft{0%{display:none;transform:translate(-100%)}to{transform:translate(0)}}@keyframes slideOutToLeft{0%{transform:translate(0)}25%{opacity:1}to{transform:translate(-100%);display:none;opacity:0}}@keyframes slideInFromRight{0%{display:none;transform:translate(100%)}to{transform:translate(0)}}@keyframes slideOutToRight{0%{transform:translate(0)}25%{opacity:1}to{transform:translate(100%);display:none;opacity:0}}@keyframes slideInFromBottom{0%{display:none;transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideOutToBottom{0%{transform:translateY(0)}25%{opacity:1}to{transform:translateY(100%);display:none;opacity:0}}";export{a as default};
|
|
@@ -17,6 +17,8 @@ export interface TableTextCellConfig extends TableCellConfigBase {
|
|
|
17
17
|
}
|
|
18
18
|
export interface TableChipCellConfig extends TableCellConfigBase {
|
|
19
19
|
type?: NJC_CHIP_TYPES | ((row: RowData) => NJC_CHIP_TYPES);
|
|
20
|
+
/** Icon name for `ngc-chip` `start-icon`. Static string or per-row. Omit (or return '') for no icon. */
|
|
21
|
+
startIcon?: string | ((row: RowData) => string);
|
|
20
22
|
}
|
|
21
23
|
export interface TableAvatarCellConfig extends TableCellConfigBase {
|
|
22
24
|
avatarSrcField?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.6.0",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -100,10 +100,10 @@
|
|
|
100
100
|
"vite-plugin-static-copy": "^3.3.0",
|
|
101
101
|
"vitest": "^4.1.10",
|
|
102
102
|
"yaml-eslint-parser": "^2.1.0",
|
|
103
|
-
"@ncino/styles": "16.
|
|
103
|
+
"@ncino/styles": "16.6.0"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
|
-
"@ncino/styles": "16.
|
|
106
|
+
"@ncino/styles": "16.6.0"
|
|
107
107
|
},
|
|
108
108
|
"bugs": {
|
|
109
109
|
"url": "https://github.com/ncino/force-sdk-web-components/issues"
|
package/web-types.json
CHANGED