@ncino/web-components 1.0.0 → 1.1.0-preview.2
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/README.md +42 -0
- package/dist/components/accordion/accordion.js +1 -0
- package/dist/components/accordion/gator/base/accordion.gator.js +26 -0
- package/dist/components/accordion/gator/group/accordion-group.gator.js +5 -0
- package/dist/components/alert/gator/base/alert.gator.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/banner/gator/banner.gator.js +1 -1
- package/dist/components/banner/index.js +1 -1
- package/dist/components/boolean/boolean.gator.js +2 -2
- package/dist/components/boolean/index.js +1 -1
- package/dist/components/checkbox/checkbox.gator.js +3 -3
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.gator.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/combobox/base/combobox.js +1 -1
- package/dist/components/combobox/base/combobox.slds.js +10 -10
- package/dist/components/combobox/base/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/display-card/gator/display-card.gator.js +1 -1
- package/dist/components/display-card/index.js +1 -1
- package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
- package/dist/components/headline-card/index.js +1 -1
- package/dist/components/icon/gator/index.js +1 -1
- package/dist/components/icon/gator/templates/chevron-down.js +13 -0
- package/dist/components/icon/gator/templates/chevron-up.js +13 -0
- package/dist/components/icon/gator/templates/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.gator.js +1 -1
- package/dist/components/selection-box/index.js +1 -1
- package/dist/components/selection-box/selection-box.gator.js +1 -1
- package/dist/components/selection-box-group/index.js +1 -1
- package/dist/components/selection-box-group/selection-box-group.gator.js +8 -8
- package/dist/components/toast/gator/toast.gator.js +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/index.gator.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.slds.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +23 -0
- package/dist/types/components/accordion/gator/base/accordion.gator.d.ts +18 -0
- package/dist/types/components/accordion/gator/base/accordion.gator.test.d.ts +0 -0
- package/dist/types/components/accordion/gator/group/accordion-group.gator.d.ts +26 -0
- package/dist/types/components/accordion/gator/group/accordion-group.gator.test.d.ts +0 -0
- package/dist/types/components/combobox/base/combobox.d.ts +5 -0
- package/dist/types/components/combobox/base/combobox.slds.d.ts +2 -0
- package/dist/types/components/icon/gator/templates/chevron-down.d.ts +1 -0
- package/dist/types/components/icon/gator/templates/chevron-up.d.ts +1 -0
- package/dist/types/components/icon/gator/templates/index.d.ts +2 -0
- package/dist/types/utils/storybook-utils.d.ts +1 -0
- package/dist/types/utils/string-utils.d.ts +1 -0
- package/package.json +1 -1
- package/web-types.json +93 -1
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
## Getting Started
|
|
2
|
+
### View the Docs & Component Playground
|
|
3
|
+
#### SLDS
|
|
4
|
+
[](https://release--66f6c809a4249c107d91c9f5.chromatic.com/)
|
|
5
|
+
#### Gator
|
|
6
|
+
[](https://release--647602387404abb8d86f89f6.chromatic.com/)
|
|
7
|
+
|
|
8
|
+
### Consuming the nCino Web Components
|
|
9
|
+
nCino Web Components are Native Web Components that can be consumed in any framework, or no framework at all.
|
|
10
|
+
|
|
11
|
+
#### Framework Samples
|
|
12
|
+
View the samples in the `./samples` directory for examples of how to consume the components for the framework of your choice.
|
|
13
|
+
|
|
14
|
+
#### Consumption Options
|
|
15
|
+
You can either import components individually or all components through a single file.
|
|
16
|
+
|
|
17
|
+
##### Single File
|
|
18
|
+
Simple import the `index.js` included in the Dist. This file includes all components.
|
|
19
|
+
|
|
20
|
+
```javascript
|
|
21
|
+
import '@ncino/web-components';
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
##### Individual Components
|
|
25
|
+
Import the components you need individually.
|
|
26
|
+
|
|
27
|
+
```javascript
|
|
28
|
+
// SLDS Component
|
|
29
|
+
import '@ncino/web-components/dist/components/button/button.slds';
|
|
30
|
+
|
|
31
|
+
// Gator Component
|
|
32
|
+
import '@ncino/web-components/dist/components/button/button.gator';
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
#### Getting IntelliSense on the Components
|
|
36
|
+
Included in the distribution of these components will include both a `custom-elements.json` manifest file and a `web-types.json` file
|
|
37
|
+
These files can be used to provide IntelliSense in your IDE and should work OOTB but may need additional configuration depending on your IDE.
|
|
38
|
+
|
|
39
|
+
#### Using Typescript?
|
|
40
|
+
Each of the component declare a global definition for the custom web components. This means your IDE can recognize the components and provide intellisense.
|
|
41
|
+
|
|
42
|
+
All types are exported in the `dist/types` folder of the npm package.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as a}from"../../assets/index-chunk.js";import{n as t}from"../../assets/index-chunk2.js";import{g as l,a as h}from"../../utils/string-utils.js";var c=Object.defineProperty,i=(s,n,r,m)=>{for(var e=void 0,o=s.length-1,p;o>=0;o--)(p=s[o])&&(e=p(n,r,e)||e);return e&&c(n,r,e),e};class d extends a{constructor(){super(...arguments),this.isExpanded=!1,this.title="",this.subtitle="",this.id="",this._randomId=l(),this.headingLevel=""}get elementId(){return h(this.id,this._randomId)}toggleAccordion(){this.isExpanded=!this.isExpanded;const n=this.isExpanded?"accordion-expanded":"accordion-collapsed";this.dispatchEvent(new CustomEvent(n,{detail:{id:this.elementId,expanded:this.isExpanded},bubbles:!0,composed:!0}))}}i([t({type:Boolean,attribute:"is-expanded"})],d.prototype,"isExpanded");i([t({type:String})],d.prototype,"title");i([t({type:String})],d.prototype,"subtitle");i([t({type:String})],d.prototype,"id");i([t({type:String})],d.prototype,"headingLevel");export{d as N};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import{N as l}from"../../accordion.js";import{r as t,k as s}from"../../../../assets/index-chunk.js";import{t as g}from"../../../../assets/index-chunk3.js";import{p as h}from"../../../../assets/index-chunk4.js";import{s as p}from"../../../../assets/index-chunk5.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import{i as v}from"../../../../utils/string-utils.js";import"../../../../assets/index-chunk2.js";import"../../../icon/icon-registry.js";const m=".accordion-container{font-family:var(--ngc-font-family);font-style:normal;font-weight:400;border-bottom:var(--ngc-accordion-border-bottom);width:var(--ngc-accordion-width)}.accordion-header{display:flex;align-items:flex-start;width:100%;border:none;background:none;justify-content:space-between;padding:var(--ngc-accordion-header-padding);gap:1rem}.accordion-text-container{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;flex:1 0 0;letter-spacing:var(--text-letter-spacing-default, 0rem)}.accordion-title{color:var(--ngc-accordion-title-text-color);font-size:var(--ngc-accordion-title-font-size);line-height:var(--ngc-accordion-title-line-height)}.accordion-text-content{color:var(--ngc-accordion-subtitle-text-color);font-size:var(--ngc-accordion-subtitle-font-size);line-height:var(--ngc-accordion-subtitle-line-height)}.accordion-content{padding:var(--ngc-accordion-content-padding)}.hidden{display:none}.accordion-header:hover{background:var(--ngc-accordion-header-background-color-hover)}.accordion-header:active{border:var(--ngc-accordion-header-border-active)}.accordion-header:focus-visible{outline:none;border:var(--ngc-accordion-header-border-focus);background:var(--ngc-accordion-header-background-color-focus)}",b=":host,:root{--ngc-accordion-title-text-color: var(--primary-01-placeholder, var(--color-grey-50, #6D6D6D));--ngc-accordion-subtitle-text-color: var(--primary-03-base, var(--color-grey-70, #1F1F1F));--ngc-accordion-header-background-color-hover: var(--color-surface-brand, #F3F5F7);--ngc-accordion-header-background-color-focus: var(--color-surface-brand, #F3F5F7);--ngc-accordion-header-border-color-active: var(--color-stroke-brand, #11395B);--ngc-accordion-header-border-color-focus: var(--color-stroke-brand, #11395B);--ngc-accordion-border-bottom: none;--ngc-accordion-header-border-active: 1px solid var(--ngc-accordion-header-border-color-active);--ngc-accordion-header-border-focus: 2px solid var(--ngc-accordion-header-border-color-focus);--ngc-accordion-width: 25.25rem;--ngc-accordion-header-padding: var(--spacing-gap-16, 1rem);--ngc-accordion-content-padding: var(--spacing-gap-16, 1rem) var(--spacing-gap-16, 1rem) var(--spacing-gap-24, 1.5rem) var(--spacing-padding-margin-16, 1rem);--ngc-accordion-title-font-size: var(--text-size-caption, .8125rem);--ngc-accordion-subtitle-font-size: var(--text-size-body-1, 1.0625rem);--ngc-accordion-title-line-height: var(--text-line-height-caption, 1.125rem);--ngc-accordion-subtitle-line-height: var(--text-line-height-body-1, 1.5rem)}";var u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,x=(e,o,n,c)=>{for(var r=c>1?void 0:c?f(o,n):o,i=e.length-1,a;i>=0;i--)(a=e[i])&&(r=(c?a(o,n,r):a(r))||r);return c&&r&&u(o,n,r),r};let d=class extends l{render(){return s`
|
|
2
|
+
<div class="accordion-container">
|
|
3
|
+
<div class="accordion-header-container">
|
|
4
|
+
<button id="${this.headerId}"
|
|
5
|
+
type="button"
|
|
6
|
+
class="accordion-header"
|
|
7
|
+
aria-expanded=${this.isExpanded}
|
|
8
|
+
aria-controls="${this.contentId}"
|
|
9
|
+
@click="${this.toggleAccordion}">
|
|
10
|
+
<slot name="header">
|
|
11
|
+
${this.headerMarkup}
|
|
12
|
+
</slot>
|
|
13
|
+
<ngc-icon name=${this.iconName}></ngc-icon>
|
|
14
|
+
</button>
|
|
15
|
+
</div>
|
|
16
|
+
<div id="${this.contentId}"
|
|
17
|
+
role="region"
|
|
18
|
+
aria-labelledby="${this.headerId}"
|
|
19
|
+
class="accordion-content ${this.isExpanded?"":"hidden"}">
|
|
20
|
+
<slot name="content"></slot>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
`}get headerMarkup(){return this.title?s`<div class="accordion-text-container">
|
|
24
|
+
<span class="accordion-title">${this.title}</span>
|
|
25
|
+
<span class="accordion-text-content">${this.subtitle}</span>
|
|
26
|
+
</div>`:null}get iconName(){return this.isExpanded?"chevron-up":"chevron-down"}get contentId(){return this.elementId+"-content"}get headerId(){return this.elementId+"-header"}updated(){var e;if(v(this.headingLevel)){const o=(e=this.shadowRoot)==null?void 0:e.querySelector(".accordion-header-container");o==null||o.setAttribute("role","heading"),o==null||o.setAttribute("aria-level",this.headingLevel)}}};d.styles=[t(m),t(b),t(h),t(p)];d=x([g("ngc-accordion")],d);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{N as l}from"../../accordion.js";import{r as p,k as m}from"../../../../assets/index-chunk.js";import{t as g}from"../../../../assets/index-chunk3.js";import{n as a}from"../../../../assets/index-chunk2.js";import{p as u}from"../../../../assets/index-chunk4.js";import{s as h}from"../../../../assets/index-chunk5.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import"../base/accordion.gator.js";import{i as v}from"../../../../utils/string-utils.js";import"../../../icon/icon-registry.js";const f=".accordion-group ::slotted(ngc-accordion:not(:last-child)){--ngc-accordion-border-bottom: var(--ngc-accordion-group-divider) }",y=":host,:root{--ngc-accordion-group-divider-color: var(--color-stroke-primary);--ngc-accordion-group-divider: 1px solid var(--ngc-accordion-group-divider-color)}";var x=Object.defineProperty,E=Object.getOwnPropertyDescriptor,s=(i,t,o,c)=>{for(var r=c>1?void 0:c?E(t,o):t,n=i.length-1,d;n>=0;n--)(d=i[n])&&(r=(c?d(t,o,r):d(r))||r);return c&&r&&x(t,o,r),r};let e=class extends l{constructor(){super(...arguments),this.multiple=!1,this.headingLevel=""}firstUpdated(){this.addEventListener("accordion-expanded",this.handleExpanded)}updated(){v(this.headingLevel)&&this.querySelectorAll("ngc-accordion").forEach(i=>{i.headingLevel=this.headingLevel})}render(){return m`
|
|
2
|
+
<div class="accordion-group">
|
|
3
|
+
<slot></slot>
|
|
4
|
+
</div>
|
|
5
|
+
`}handleExpanded(i){if(this.multiple)return;this.querySelectorAll("ngc-accordion").forEach(o=>{o!==i.target&&o.isExpanded&&o.toggleAccordion()})}};e.styles=[p(f),p(y),p(u),p(h)];s([a({type:Boolean})],e.prototype,"multiple",2);s([a({type:String})],e.prototype,"headingLevel",2);e=s([g("ngc-accordion-group")],e);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{N as g}from"../../alert.js";import{r as a,k as l}from"../../../../assets/index-chunk.js";import{t as m}from"../../../../assets/index-chunk3.js";import{p}from"../../../../assets/index-chunk4.js";import{s as d}from"../../../../assets/index-chunk5.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import"../../../../assets/index-chunk2.js";import"../../../../utils/mixins/attribute-deletion.js";import"../../../icon/icon-registry.js";const f=".gator-alert{display:flex;padding:var(--ngc-alert-padding, 1.5rem);border-radius:1rem;align-content:center;flex-direction:row;font-size:var(--ngc-alert-font-size, 1.0625rem);font-family:var(--ngc-font-family)}.gator-alert_icon{margin-right:.625rem;display:flex;flex-direction:column;justify-content:center}.gator-alert_icon ngc-icon{--ngc-icon-display: flex}.gator-alert_actions{display:flex;flex-direction:column;justify-content:center;margin-left:auto}.gator-alert_content{display:flex;flex-direction:column;justify-content:center}.gator-alert_info{border:1px solid var(--color-stroke-primary);background:var(--color-surface-secondary)}.gator-alert_warning{border:1px solid var(--color-stroke-warning);background:var(--color-surface-warning);--ngc-icon-color: var(--color-icon-warning)}.gator-alert_error{border:1px solid var(--color-stroke-error-weak);background:var(--color-surface-error);--ngc-icon-color: var(--color-icon-error)}.gator-alert_success{border:1px solid var(--color-stroke-success);background:var(--color-surface-success);--ngc-icon-color: var(--color-icon-success)}.gator-alert_inverse{border:1px solid var(--color-stroke-primary)}",v=":host,:root{--ngc-alert-padding: 1.5rem;--ngc-alert-font-size: 1.0625rem}";var u=Object.defineProperty,b=Object.getOwnPropertyDescriptor,_=(r,t,i,e)=>{for(var o=e>1?void 0:e?b(t,i):t,n=r.length-1,c;n>=0;n--)(c=r[n])&&(o=(e?c(t,i,o):c(o))||o);return e&&o&&u(t,i,o),o};let s=class extends g{render(){return l`
|
|
1
|
+
import{N as g}from"../../alert.js";import{r as a,k as l}from"../../../../assets/index-chunk.js";import{t as m}from"../../../../assets/index-chunk3.js";import{p}from"../../../../assets/index-chunk4.js";import{s as d}from"../../../../assets/index-chunk5.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/balloons.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/warning.js";import"../../../../assets/index-chunk2.js";import"../../../../utils/mixins/attribute-deletion.js";import"../../../icon/icon-registry.js";const f=".gator-alert{display:flex;padding:var(--ngc-alert-padding, 1.5rem);border-radius:1rem;align-content:center;flex-direction:row;font-size:var(--ngc-alert-font-size, 1.0625rem);font-family:var(--ngc-font-family)}.gator-alert_icon{margin-right:.625rem;display:flex;flex-direction:column;justify-content:center}.gator-alert_icon ngc-icon{--ngc-icon-display: flex}.gator-alert_actions{display:flex;flex-direction:column;justify-content:center;margin-left:auto}.gator-alert_content{display:flex;flex-direction:column;justify-content:center}.gator-alert_info{border:1px solid var(--color-stroke-primary);background:var(--color-surface-secondary)}.gator-alert_warning{border:1px solid var(--color-stroke-warning);background:var(--color-surface-warning);--ngc-icon-color: var(--color-icon-warning)}.gator-alert_error{border:1px solid var(--color-stroke-error-weak);background:var(--color-surface-error);--ngc-icon-color: var(--color-icon-error)}.gator-alert_success{border:1px solid var(--color-stroke-success);background:var(--color-surface-success);--ngc-icon-color: var(--color-icon-success)}.gator-alert_inverse{border:1px solid var(--color-stroke-primary)}",v=":host,:root{--ngc-alert-padding: 1.5rem;--ngc-alert-font-size: 1.0625rem}";var u=Object.defineProperty,b=Object.getOwnPropertyDescriptor,_=(r,t,i,e)=>{for(var o=e>1?void 0:e?b(t,i):t,n=r.length-1,c;n>=0;n--)(c=r[n])&&(o=(e?c(t,i,o):c(o))||o);return e&&o&&u(t,i,o),o};let s=class extends g{render(){return l`
|
|
2
2
|
<div class="gator-alert ${this.variantClass}" role="status" aria-label="${this.dataset.ariaLabel}">
|
|
3
3
|
<div class="gator-alert_icon">
|
|
4
4
|
${this.iconMarkup}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./gator/base/alert.gator.js";import"./gator/subtitle/alert-subtitle.gator.js";import"./gator/title/alert-title.gator.js";import"./alert.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk2.js";import"../../utils/mixins/attribute-deletion.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";
|
|
1
|
+
import"./gator/base/alert.gator.js";import"./gator/subtitle/alert-subtitle.gator.js";import"./gator/title/alert-title.gator.js";import"./alert.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk2.js";import"../../utils/mixins/attribute-deletion.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as o,k as l}from"../../../assets/index-chunk.js";import{t as g}from"../../../assets/index-chunk3.js";import{p}from"../../../assets/index-chunk4.js";import{s as m}from"../../../assets/index-chunk5.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import{N as f}from"../banner.js";import{i as d,K as b}from"../../../assets/index-chunk7.js";import"../../../assets/index-chunk2.js";import"../../icon/icon-registry.js";import"../../../utils/mixins/attribute-deletion.js";import"../../../assets/index-chunk8.js";const u='.gator-banner{display:flex;align-items:center;justify-content:space-between;padding:var(--ngc-banner-padding, 1.5rem);font-size:var(--ngc-banner-font-size, 1.0625rem);font-family:var(--ngc-font-family),"Open Sans",sans-serif;text-align:center}.gator-banner_centered{justify-content:center}.gator-banner_left-aligned{justify-content:space-between}.gator-banner_left-aligned .gator-banner-content-wrapper{justify-content:start}.gator-banner-content-wrapper{display:flex;align-items:center;justify-content:center;flex-grow:1}.gator-banner-icon{margin-right:.625rem;display:flex;align-items:center;justify-content:center}.gator-banner-content{display:flex;flex-direction:column;align-items:center;justify-content:center}.gator-banner-actions{display:flex;flex-direction:column;justify-content:center;margin-left:auto}.gator-banner_warning{background:var(--color-surface-warning);--ngc-icon-color: var(--color-icon-warning)}.gator-banner_error{background:var(--color-surface-error);--ngc-icon-color: var(--color-icon-error)}.gator-banner_success{background:var(--color-surface-success);--ngc-icon-color: var(--color-icon-success)}',v=":host,:root{--ngc-banner-padding: 1.5rem;--ngc-banner-font-size: 1.0625rem}";var h=Object.defineProperty,y=Object.getOwnPropertyDescriptor,_=(n,t,e,a)=>{for(var r=a>1?void 0:a?y(t,e):t,i=n.length-1,s;i>=0;i--)(s=n[i])&&(r=(a?s(t,e,r):s(r))||r);return a&&r&&h(t,e,r),r};let c=class extends f{constructor(){super(...arguments),this.contentRef=d(),this.hasActions=!1}render(){return l`
|
|
1
|
+
import{r as o,k as l}from"../../../assets/index-chunk.js";import{t as g}from"../../../assets/index-chunk3.js";import{p}from"../../../assets/index-chunk4.js";import{s as m}from"../../../assets/index-chunk5.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import{N as f}from"../banner.js";import{i as d,K as b}from"../../../assets/index-chunk7.js";import"../../../assets/index-chunk2.js";import"../../icon/icon-registry.js";import"../../../utils/mixins/attribute-deletion.js";import"../../../assets/index-chunk8.js";const u='.gator-banner{display:flex;align-items:center;justify-content:space-between;padding:var(--ngc-banner-padding, 1.5rem);font-size:var(--ngc-banner-font-size, 1.0625rem);font-family:var(--ngc-font-family),"Open Sans",sans-serif;text-align:center}.gator-banner_centered{justify-content:center}.gator-banner_left-aligned{justify-content:space-between}.gator-banner_left-aligned .gator-banner-content-wrapper{justify-content:start}.gator-banner-content-wrapper{display:flex;align-items:center;justify-content:center;flex-grow:1}.gator-banner-icon{margin-right:.625rem;display:flex;align-items:center;justify-content:center}.gator-banner-content{display:flex;flex-direction:column;align-items:center;justify-content:center}.gator-banner-actions{display:flex;flex-direction:column;justify-content:center;margin-left:auto}.gator-banner_warning{background:var(--color-surface-warning);--ngc-icon-color: var(--color-icon-warning)}.gator-banner_error{background:var(--color-surface-error);--ngc-icon-color: var(--color-icon-error)}.gator-banner_success{background:var(--color-surface-success);--ngc-icon-color: var(--color-icon-success)}',v=":host,:root{--ngc-banner-padding: 1.5rem;--ngc-banner-font-size: 1.0625rem}";var h=Object.defineProperty,y=Object.getOwnPropertyDescriptor,_=(n,t,e,a)=>{for(var r=a>1?void 0:a?y(t,e):t,i=n.length-1,s;i>=0;i--)(s=n[i])&&(r=(a?s(t,e,r):s(r))||r);return a&&r&&h(t,e,r),r};let c=class extends f{constructor(){super(...arguments),this.contentRef=d(),this.hasActions=!1}render(){return l`
|
|
2
2
|
<div
|
|
3
3
|
class="gator-banner ${this.variantClass} ${this.hasActions?"gator-banner_left-aligned":"gator-banner_centered"}"
|
|
4
4
|
role="status"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./gator/banner.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../../assets/index-chunk2.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"./banner.js";import"../../utils/mixins/attribute-deletion.js";import"../../assets/index-chunk7.js";import"../../assets/index-chunk8.js";
|
|
1
|
+
import"./gator/banner.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../../assets/index-chunk2.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"./banner.js";import"../../utils/mixins/attribute-deletion.js";import"../../assets/index-chunk7.js";import"../../assets/index-chunk8.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as l,h as
|
|
1
|
+
import{r as l,h as p,k as b}from"../../assets/index-chunk.js";import{t as g}from"../../assets/index-chunk3.js";import{n as t}from"../../assets/index-chunk2.js";import{p as u}from"../../assets/index-chunk4.js";import{s as h}from"../../assets/index-chunk5.js";import{g as v,a as m}from"../../utils/string-utils.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../../utils/lightdom-utils.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";const f=":root,:host{--ngc-radio-group-flex-direction: row;--ngc-radio-group-gap: 0}ngc-radio{display:flex;padding:1.5rem 5.1875rem;flex-direction:column;justify-content:center;align-items:center;flex:1 0 0;cursor:pointer;z-index:0;border:var(--ngc-boolean-border);background:var(--ngc-boolean-background-color)}.gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) 0 0 var(--ngc-boolean-outer-border-radius)}.gator-boolean-option-1{margin-top:0;margin-left:-1px;border-radius:0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0}.gator-boolean_wrapped .gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0 0}.gator-boolean_wrapped .gator-boolean-option-1{margin-top:-1px;margin-left:0;border-radius:0 0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius)}ngc-radio:has([aria-checked=true]):has([aria-disabled=false]):has([aria-invalid=false]){z-index:1;background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected);animation:.3s ease-out selectBoolean}@keyframes selectBoolean{0%{background:var(--ngc-boolean-background-color);border:var(--ngc-boolean-border)}to{background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected)}}ngc-radio:has([aria-disabled=false]):hover{z-index:1;box-shadow:var(--ngc-boolean-box-shadow-hover)}ngc-radio:has([aria-disabled=false]):has([aria-invalid=false]):hover{border:var(--ngc-boolean-border-hover)}ngc-radio:has([aria-disabled=true]):hover{cursor:not-allowed}ngc-radio:has(:focus-visible){z-index:1;border:var(--ngc-boolean-border-focus);outline:var(--ngc-boolean-outline-focus);outline-offset:1px}ngc-radio:has(:focus-visible) .gator-radio ngc-icon{border:none}ngc-radio:has(.gator-radio_error){border:var(--ngc-boolean-border-error)}ngc-radio:has(.gator-radio_error) ngc-icon{color:var(--color-neutral-40)}",x=":host,:root{--ngc-boolean-background-color: var(--color-neutral-0, #FFF);--ngc-boolean-background-color-selected: var(--color-blue-5, #F3F5F7);--ngc-boolean-border-color: var(--color-neutral-40, #BFBFBF);--ngc-boolean-border-color-selected: var(--color-blue-50, #11395B);--ngc-boolean-border-color-hover: var(--color-blue-50, #11395B);--ngc-boolean-border-color-focus: var(--color-blue-50, #11395B);--ngc-boolean-outline-color-focus: var(--color-blue-50, #11395B);--ngc-boolean-border-color-error: var(--color-stroke-error-strong);--ngc-boolean-border: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color);--ngc-boolean-border-selected: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-selected);--ngc-boolean-border-hover: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-hover);--ngc-boolean-border-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-focus);--ngc-boolean-border-error: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-error);--ngc-boolean-outline-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-outline-color-focus);--ngc-boolean-box-shadow-hover: 0px 5px 10px 0px rgba(31, 31, 31, .1), 0px 7px 14px 0px rgba(31, 31, 31, .08), 0px 3px 6px 0px rgba(31, 31, 31, .08);--ngc-boolean-outer-border-radius: .125rem}";var y=Object.defineProperty,w=Object.getOwnPropertyDescriptor,a=(o,r,i,s)=>{for(var n=s>1?void 0:s?w(r,i):r,d=o.length-1,c;d>=0;d--)(c=o[d])&&(n=(s?c(r,i,n):c(n))||n);return s&&n&&y(r,i,n),n};let e=class extends p{constructor(){super(...arguments),this.id="",this.options=[],this.disabled=!1,this.value="",this.label="",this.helpText="",this.hasError=!1,this.errorMessage="",this._randomId=v()}firstUpdated(){this.handleResize(),window.addEventListener("resize",()=>this.handleResize())}render(){return b`
|
|
2
2
|
<ngc-radio-group
|
|
3
3
|
class=${this.booleanClasses}
|
|
4
4
|
id=${this.elementId}
|
|
@@ -19,4 +19,4 @@ import{r as l,h as g,k as b}from"../../assets/index-chunk.js";import{t as p}from
|
|
|
19
19
|
title-text=${o.label}
|
|
20
20
|
tabindex="-1"
|
|
21
21
|
></ngc-radio>
|
|
22
|
-
`)}`}handleChange(o){const r=o;r.stopImmediatePropagation(),this.value=r.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:this.value}))}handleResize(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelector("ngc-radio-group");this.isWrapped()?o==null||o.classList.add("gator-boolean_wrapped"):o==null||o.classList.remove("gator-boolean_wrapped")}isWrapped(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelectorAll("ngc-radio");return!!(o&&o.length>0&&o[0].offsetTop<o[1].offsetTop||window.innerWidth<475)}};e.styles=[l(f),l(x),l(u),l(h)];a([t({type:String})],e.prototype,"id",2);a([t({type:Array})],e.prototype,"options",2);a([t({type:Boolean})],e.prototype,"disabled",2);a([t({type:String})],e.prototype,"value",2);a([t({type:String})],e.prototype,"label",2);a([t({type:String,attribute:"help-text"})],e.prototype,"helpText",2);a([t({type:Boolean,attribute:"has-error"})],e.prototype,"hasError",2);a([t({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2);e=a([
|
|
22
|
+
`)}`}handleChange(o){const r=o;r.stopImmediatePropagation(),this.value=r.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:this.value}))}handleResize(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelector("ngc-radio-group");this.isWrapped()?o==null||o.classList.add("gator-boolean_wrapped"):o==null||o.classList.remove("gator-boolean_wrapped")}isWrapped(){var r;const o=(r=this.shadowRoot)==null?void 0:r.querySelectorAll("ngc-radio");return!!(o&&o.length>0&&o[0].offsetTop<o[1].offsetTop||window.innerWidth<475)}};e.styles=[l(f),l(x),l(u),l(h)];a([t({type:String})],e.prototype,"id",2);a([t({type:Array})],e.prototype,"options",2);a([t({type:Boolean})],e.prototype,"disabled",2);a([t({type:String})],e.prototype,"value",2);a([t({type:String})],e.prototype,"label",2);a([t({type:String,attribute:"help-text"})],e.prototype,"helpText",2);a([t({type:Boolean,attribute:"has-error"})],e.prototype,"hasError",2);a([t({type:String,attribute:"error-message"})],e.prototype,"errorMessage",2);e=a([g("ngc-boolean")],e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./boolean.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../utils/string-utils.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../../utils/lightdom-utils.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";
|
|
1
|
+
import"./boolean.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../utils/string-utils.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../../utils/lightdom-utils.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{h,k as b}from"../../assets/index-chunk.js";import{t as d}from"../../assets/index-chunk3.js";import{n as r}from"../../assets/index-chunk2.js";import{g,a as x}from"../../utils/string-utils.js";import{c as k}from"../../utils/lightdom-utils.js";import{p}from"../../assets/index-chunk4.js";import{s as
|
|
2
|
-
<style>${
|
|
1
|
+
import{h,k as b}from"../../assets/index-chunk.js";import{t as d}from"../../assets/index-chunk3.js";import{n as r}from"../../assets/index-chunk2.js";import{g,a as x}from"../../utils/string-utils.js";import{c as k}from"../../utils/lightdom-utils.js";import{p}from"../../assets/index-chunk4.js";import{s as m}from"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../icon/icon-registry.js";const f=":root,:host{--ngc-checkbox-title-color-default: var(--color-text-primary-base);--ngc-checkbox-title-color-disabled: var(--color-text-disabled);--ngc-checkbox-icon-color-focus: var(--color-icon-brand);--ngc-checkbox-icon-color-hover: var(--color-icon-brand);--ngc-checkbox-icon-color-selected: var(--color-icon-brand);--ngc-checkbox-icon-color-unselected: var(--color-neutral-40);--ngc-checkbox-icon-color-disabled: var(--color-icon-disabled);--ngc-checkbox-icon-color-error: var(--color-icon-error);--ngc-checkbox-focus-border-color: var(--color-icon-brand);--ngc-checkbox-focus-border: var(--size-stroke-1, 1px) solid var(--ngc-checkbox-focus-border-color);--ngc-checkbox-icon-spacing: var(--spacing-padding-margin-4);--ngc-checkbox-title-font-size: var(--text-size-body-1, 1.0625rem);--ngc-checkbox-title-line-height: var(--text-line-height-body-1, 1.5rem)}",v='.gator-checkbox{display:flex;width:fit-content;flex-direction:row;align-items:center}.gator-checkbox-icon{display:flex;flex-direction:column;justify-content:center;margin-right:var(--ngc-checkbox-icon-spacing);color:var(--ngc-checkbox-icon-color-unselected)}.gator-checkbox-icon ngc-icon{--ngc-icon-display: flex}.gator-checkbox-title{font-feature-settings:"liga" off,"clig" off;font-style:normal;font-weight:400;font-family:var(--text-family-sans-serif, "Open Sans");color:var(--ngc-checkbox-title-color-default);font-size:var(--ngc-checkbox-title-font-size);line-height:var(--ngc-checkbox-title-line-height)}.gator-checkbox:focus-visible{outline:none}.gator-checkbox:focus-visible ngc-icon{color:var(--ngc-checkbox-icon-color-focus);border:var(--ngc-checkbox-focus-border);border-radius:.25rem}.gator-checkbox:hover:not(.gator-checkbox_disabled){cursor:pointer}.gator-checkbox:hover:not(.gator-checkbox_disabled) ngc-icon{color:var(--ngc-checkbox-icon-color-hover)}.gator-checkbox-title:hover{cursor:inherit}.gator-checkbox_disabled{cursor:not-allowed}.gator-checkbox_disabled ngc-icon{color:var(--ngc-checkbox-icon-color-disabled)}.gator-checkbox_disabled .gator-checkbox-title{color:var(--ngc-checkbox-title-color-disabled)}.gator-checkbox:is([aria-checked=true]):not(.gator-checkbox_disabled):not(.gator-checkbox_error) ngc-icon{color:var(--ngc-checkbox-icon-color-selected)}.gator-checkbox_error ngc-icon{color:var(--ngc-checkbox-icon-color-error)}';var u=Object.defineProperty,y=Object.getOwnPropertyDescriptor,t=(e,i,n,l)=>{for(var c=l>1?void 0:l?y(i,n):i,a=e.length-1,s;a>=0;a--)(s=e[a])&&(c=(l?s(i,n,c):s(c))||c);return l&&c&&u(i,n,c),c};let o=class extends h{constructor(){super(...arguments),this.id="",this.titleText="",this.value="",this.selected=!1,this.disabled=!1,this.hasError=!1,this._randomId=g(),this._labelSlot=null}createRenderRoot(){return this}render(){const e=this.elementId;return b`
|
|
2
|
+
<style>${f}</style>
|
|
3
3
|
<style>${v}</style>
|
|
4
4
|
<style>${p}</style>
|
|
5
|
-
<style>${
|
|
5
|
+
<style>${m}</style>
|
|
6
6
|
<div id="${e}-checkbox" class="gator-checkbox${this.disabled?" gator-checkbox_disabled":""}${this.hasError?" gator-checkbox_error":""}"
|
|
7
7
|
@click=${this.handleClick}
|
|
8
8
|
@keydown=${this.handleKeyDown}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./checkbox.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../utils/string-utils.js";import"../../utils/lightdom-utils.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";
|
|
1
|
+
import"./checkbox.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../utils/string-utils.js";import"../../utils/lightdom-utils.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as c,h as d,k as h}from"../../assets/index-chunk.js";import{t as m}from"../../assets/index-chunk3.js";import{n as p}from"../../assets/index-chunk2.js";import{g as u,a as g}from"../../utils/string-utils.js";import{p as b}from"../../assets/index-chunk4.js";import{s as x}from"../../assets/index-chunk5.js";import"../checkbox/checkbox.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";const v=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}";var y=Object.defineProperty,$=Object.getOwnPropertyDescriptor,l=(e,t,i,o)=>{for(var s=o>1?void 0:o?$(t,i):t,n=e.length-1,a;n>=0;n--)(a=e[n])&&(s=(o?a(t,i,s):a(s))||s);return o&&s&&y(t,i,s),s};let r=class extends d{constructor(){super(...arguments),this.id="",this.label="",this.helpText="",this.value="",this.disabled=!1,this.hasError=!1,this.errorMessage="",this.options=[],this._randomId=u()}render(){const e=this.elementId;return h`
|
|
1
|
+
import{r as c,h as d,k as h}from"../../assets/index-chunk.js";import{t as m}from"../../assets/index-chunk3.js";import{n as p}from"../../assets/index-chunk2.js";import{g as u,a as g}from"../../utils/string-utils.js";import{p as b}from"../../assets/index-chunk4.js";import{s as x}from"../../assets/index-chunk5.js";import"../checkbox/checkbox.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";const v=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}";var y=Object.defineProperty,$=Object.getOwnPropertyDescriptor,l=(e,t,i,o)=>{for(var s=o>1?void 0:o?$(t,i):t,n=e.length-1,a;n>=0;n--)(a=e[n])&&(s=(o?a(t,i,s):a(s))||s);return o&&s&&y(t,i,s),s};let r=class extends d{constructor(){super(...arguments),this.id="",this.label="",this.helpText="",this.value="",this.disabled=!1,this.hasError=!1,this.errorMessage="",this.options=[],this._randomId=u()}render(){const e=this.elementId;return h`
|
|
2
2
|
<div class="gator-checkbox-group-container">
|
|
3
3
|
${this.label?h`<ngc-input-label id="${e}-label">${this.label}</ngc-input-label>`:null}
|
|
4
4
|
<div id="${e}-group"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./checkbox-group.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../utils/string-utils.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../checkbox/checkbox.gator.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";
|
|
1
|
+
import"./checkbox-group.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../utils/string-utils.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../checkbox/checkbox.gator.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h
|
|
1
|
+
import{h}from"../../../assets/index-chunk.js";import{n as l}from"../../../assets/index-chunk2.js";import{r as p}from"../../../assets/index-chunk11.js";import{i as c}from"../../../assets/index-chunk7.js";import"../../../assets/index-chunk8.js";var u=Object.defineProperty,r=(a,t,e,o)=>{for(var s=void 0,n=a.length-1,d;n>=0;n--)(d=a[n])&&(s=d(t,e,s)||s);return s&&u(t,e,s),s};class i extends h{constructor(){super(...arguments),this.options=[],this.value="",this.label="",this.placeholder="Search...",this.open=!1,this.required=!1,this.valid=!0,this.requiredErrorText="Select an option from the picklist or remove the search term.",this.dataTestid="",this.displayedErrorText="",this._comboboxRef=c()}selectOption(t){this.open=!1,this.value=t.value,this.valid=!0,this.displayedErrorText="",this.dispatchEvent(new CustomEvent("change",{detail:t,bubbles:!0})),setTimeout(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelector('div[role="combobox"]');e==null||e.focus()})}setFocusClassForListItemAtIndex(t){var o,s;const e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll('[role="option"]');e[t].classList.add("slds-has-focus"),(s=this._comboboxRef.value)==null||s.setAttribute("aria-activedescendant",e[t].id)}removeFocusClassForListItemAtIndex(t){var o;((o=this.shadowRoot)==null?void 0:o.querySelectorAll('[role="option"]'))[t].classList.remove("slds-has-focus")}getActiveIndexOfListItems(){var o,s;const t=(o=this.shadowRoot)==null?void 0:o.querySelectorAll('[role="option"]'),e=(s=this.shadowRoot)==null?void 0:s.querySelector(".slds-has-focus");return Array.from(t).indexOf(e)}getListItemNodes(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelectorAll('[role="option"]')}scrollIntoView(){var e;const t=(e=this.shadowRoot)==null?void 0:e.querySelector(".slds-has-focus");t==null||t.scrollIntoView({block:"nearest"})}handleArrowDown(){this.open||(this.open=!0);let t=this.getActiveIndexOfListItems();t===-1&&this.setFocusClassForListItemAtIndex(0);let e=t+1;e>this.getListItemNodes().length-1&&(e=0),this.setFocusClassForListItemAtIndex(e),this.removeFocusClassForListItemAtIndex(t),this.scrollIntoView()}handleArrowUp(){this.open||(this.open=!0);let t=this.getActiveIndexOfListItems(),e=t-1;e<0&&(e=this.getListItemNodes().length-1),this.setFocusClassForListItemAtIndex(e),this.removeFocusClassForListItemAtIndex(t),this.scrollIntoView()}}r([l()],i.prototype,"options");r([l()],i.prototype,"value");r([l()],i.prototype,"label");r([l()],i.prototype,"placeholder");r([l({type:Boolean})],i.prototype,"open");r([l({type:Boolean})],i.prototype,"required");r([l({type:Boolean})],i.prototype,"valid");r([l({attribute:"required-error-text"})],i.prototype,"requiredErrorText");r([l({type:String,attribute:"data-testid"})],i.prototype,"dataTestid");r([p()],i.prototype,"displayedErrorText");export{i as N};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as w,i as y,k as r}from"../../../assets/index-chunk.js";import{s as T}from"../../../assets/index-chunk6.js";import{t as I}from"../../../assets/index-chunk3.js";import{n as h}from"../../../assets/index-chunk2.js";import{r as C}from"../../../assets/index-chunk11.js";import{N as k}from"./combobox.js";import{g as L}from"../../../utils/string-utils.js";import"../../input/slds/input-label/input-label.slds.js";import"../../input/slds/input-error/input-error.slds.js";import{K as p}from"../../../consts/key-constants.js";import{K as f}from"../../../assets/index-chunk7.js";import{h as n}from"../../../utils/datatestid-utils.js";import"../../../assets/index-chunk8.js";var S=Object.defineProperty,A=Object.getOwnPropertyDescriptor,d=(s,e,t,a)=>{for(var o=a>1?void 0:a?A(e,t):e,c=s.length-1,l;c>=0;c--)(l=s[c])&&(o=(a?l(e,t,o):l(o))||o);return a&&o&&S(e,t,o),o},g=(s=>(s.FIVE="5",s.SEVEN="7",s.TEN="10",s.NOSCROLL="",s))(g||{});let i=class extends k{constructor(){super(...arguments),this.autocomplete=!1,this.clearAssistiveText="Clear",this.comboboxAriaLabel="Dropdown Items",this.dropdownLength="10",this._searchValue="",this._generatedId=L()}updated(){this.updateDataTestids()}render(){return r`
|
|
2
2
|
<div class="slds-form-element${this.valid?"":" slds-has-error"}" @focusout=${this._topLevelFocusOut}>
|
|
3
3
|
<nsc-input-label
|
|
4
4
|
.required="${this.required}"
|
|
@@ -21,7 +21,7 @@ import{r as b,i as m,k as a}from"../../../assets/index-chunk.js";import{s as _}f
|
|
|
21
21
|
role="listbox"
|
|
22
22
|
>
|
|
23
23
|
<ul class="slds-listbox slds-listbox_vertical" role="presentation">
|
|
24
|
-
${this._filteredOptions.map(s=>
|
|
24
|
+
${this._filteredOptions.map(s=>r`
|
|
25
25
|
<nsc-combobox-item
|
|
26
26
|
.searchValue="${this._searchValue}"
|
|
27
27
|
label="${s.label}"
|
|
@@ -36,13 +36,13 @@ import{r as b,i as m,k as a}from"../../../assets/index-chunk.js";import{s as _}f
|
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
|
-
${this.displayedErrorText?
|
|
39
|
+
${this.displayedErrorText?r`<nsc-input-error>${this.displayedErrorText}</nsc-input-error>`:null}
|
|
40
40
|
</div>
|
|
41
|
-
`}get dropdownLengthClass(){return this.dropdownLength!=""?`slds-dropdown_length-${this.dropdownLength}`:""}get optionLabel(){var s;return((s=this.options.find(e=>e.value===this.value))==null?void 0:s.label)??""}get dropdownTriggerMarkup(){return
|
|
41
|
+
`}get dropdownLengthClass(){return this.dropdownLength!=""?`slds-dropdown_length-${this.dropdownLength}`:""}get optionLabel(){var s;return((s=this.options.find(e=>e.value===this.value))==null?void 0:s.label)??""}get dropdownTriggerMarkup(){return r`
|
|
42
42
|
<div class="slds-combobox__form-element slds-input-has-icon slds-input-has-icon_right" role="none">
|
|
43
43
|
<div
|
|
44
44
|
role="combobox"
|
|
45
|
-
${
|
|
45
|
+
${f(this._comboboxRef)}
|
|
46
46
|
@keydown=${this.handleKeyDown}
|
|
47
47
|
tabindex="0"
|
|
48
48
|
class="${this._fauxInputClasses}"
|
|
@@ -59,7 +59,7 @@ import{r as b,i as m,k as a}from"../../../assets/index-chunk.js";import{s as _}f
|
|
|
59
59
|
<nsc-icon name="down" size="x-small" svg-classes="slds-icon-text-default"></nsc-icon>
|
|
60
60
|
</span>
|
|
61
61
|
</div>
|
|
62
|
-
`}get _fauxInputClasses(){return`slds-input_faux slds-combobox__input ${this.value?"slds-combobox__input-value":""}`}handleDropdownClick(){this.open=!this.open}get autocompleteMarkup(){return this.value?
|
|
62
|
+
`}get _fauxInputClasses(){return`slds-input_faux slds-combobox__input ${this.value?"slds-combobox__input-value":""}`}handleDropdownClick(){this.open=!this.open}get autocompleteMarkup(){return this.value?r`
|
|
63
63
|
<div role="combobox"
|
|
64
64
|
tabindex="0"
|
|
65
65
|
class="slds-input_faux slds-combobox__input slds-combobox__input-value"
|
|
@@ -74,10 +74,10 @@ import{r as b,i as m,k as a}from"../../../assets/index-chunk.js";import{s as _}f
|
|
|
74
74
|
<nsc-icon name="close" size="x-small" svg-classes="slds-icon-text-default"></nsc-icon>
|
|
75
75
|
<span class="slds-assistive-text">${this.clearAssistiveText}</span>
|
|
76
76
|
</button>
|
|
77
|
-
`:
|
|
77
|
+
`:r`
|
|
78
78
|
<div class="slds-combobox__form-element slds-input-has-icon slds-input-has-icon_right" role="none">
|
|
79
79
|
<input
|
|
80
|
-
${
|
|
80
|
+
${f(this._comboboxRef)}
|
|
81
81
|
type="text"
|
|
82
82
|
class="slds-input slds-combobox__input"
|
|
83
83
|
id="combobox-id-${this._generatedId}"
|
|
@@ -99,10 +99,10 @@ import{r as b,i as m,k as a}from"../../../assets/index-chunk.js";import{s as _}f
|
|
|
99
99
|
<nsc-icon name="search" size="x-small" svg-classes="slds-icon-text-default"></nsc-icon>
|
|
100
100
|
</span>
|
|
101
101
|
</div>
|
|
102
|
-
`}handleKeyDown(s){var e;switch(s.key){case
|
|
102
|
+
`}handleKeyDown(s){var e;switch(s.key){case p.DOWN:this.handleArrowDown(),s.preventDefault();break;case p.UP:this.handleArrowUp(),s.preventDefault();break;case p.ENTER:let t=(e=this.shadowRoot)==null?void 0:e.querySelector(".slds-has-focus");t?t.click():this.open=!this.open,s.preventDefault();break;case p.ESCAPE:this.open&&s.stopPropagation(),this.open=!1,this.clearFocusClassFromOptions(),s.preventDefault();break}}_topLevelFocusOut(s){s.currentTarget&&s.relatedTarget&&s.currentTarget.contains(s.relatedTarget)||((this.required||this._searchValue)&&!this.value?(this.valid=!1,this.displayedErrorText=this.requiredErrorText):(this.valid=!0,this.displayedErrorText=""),this.open=!1,this.clearFocusClassFromOptions())}clearFocusClassFromOptions(){var e;((e=this.shadowRoot)==null?void 0:e.querySelectorAll('[role="option"]')).forEach(t=>t.classList.remove("slds-has-focus"))}clearValue(){this.value="",this._searchValue="",this.dispatchEvent(new CustomEvent("change",{detail:void 0,bubbles:!0})),setTimeout(()=>{var e;let s=(e=this.shadowRoot)==null?void 0:e.getElementById(`combobox-id-${this._generatedId}`);s==null||s.focus()})}_handleAutocompleteInput(s){var e;this.open||(this.open=!0),this._searchValue=((e=s==null?void 0:s.target)==null?void 0:e.value)??""}get _filteredOptions(){return this._searchValue?this.options.filter(s=>s.label.toLowerCase().includes(this._searchValue.toLowerCase())):this.options}updateDataTestids(){var l,u,b,m,x,_;const s=(l=this.shadowRoot)==null?void 0:l.querySelector('[role="combobox"]');n(s,this.dataTestid,"combobox");const e=(u=this.shadowRoot)==null?void 0:u.querySelector('[role="listbox"]');n(e,this.dataTestid,"listbox");const t=(b=this.shadowRoot)==null?void 0:b.querySelector('button[title="Clear"]');n(t,this.dataTestid,"clear-button");const a=(m=this.shadowRoot)==null?void 0:m.querySelector("nsc-input-label");n(a,this.dataTestid,"label");const o=(x=this.shadowRoot)==null?void 0:x.querySelector("nsc-input-error");n(o,this.dataTestid,"error");const c=(_=this.shadowRoot)==null?void 0:_.querySelectorAll("nsc-combobox-item");for(let[v,$]of c.entries())n($,this.dataTestid,`option-${v}`)}};i.styles=[w(T),y`
|
|
103
103
|
.clear-icon {
|
|
104
104
|
position: absolute;
|
|
105
105
|
right: 0.5rem;
|
|
106
106
|
top: 0.45rem;
|
|
107
107
|
}
|
|
108
|
-
`];
|
|
108
|
+
`];d([h({type:Boolean})],i.prototype,"autocomplete",2);d([h({type:String,attribute:"clear-assistive-text"})],i.prototype,"clearAssistiveText",2);d([h({type:String,attribute:"combobox-aria-label"})],i.prototype,"comboboxAriaLabel",2);d([h({type:g,attribute:"dropdown-length"})],i.prototype,"dropdownLength",2);d([C()],i.prototype,"_searchValue",2);i=d([I("nsc-combobox")],i);export{g as C,i as N};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as
|
|
1
|
+
import{C as e,N as f}from"./combobox.slds.js";import{N as B}from"./combobox.js";import"../../../assets/index-chunk.js";import"../../../assets/index-chunk6.js";import"../../../assets/index-chunk3.js";import"../../../assets/index-chunk2.js";import"../../../assets/index-chunk11.js";import"../../../utils/string-utils.js";import"../../input/slds/input-label/input-label.slds.js";import"../../input/slds/input-error/input-error.slds.js";import"../../../consts/key-constants.js";import"../../../assets/index-chunk7.js";import"../../../assets/index-chunk8.js";import"../../../utils/datatestid-utils.js";export{e as COMBOBOX_DROPDOWN_LENGTH,B as NjcCombobox,f as NjcSldsCombobox};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./base/combobox.slds.js";import"./base/combobox.js";import"./combobox-item/combobox-item.slds.js";import"./combobox-item/combobox-item.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk6.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk11.js";import"../../utils/string-utils.js";import"../input/slds/input-label/input-label.slds.js";import"../input/slds/input-error/input-error.slds.js";import"../../consts/key-constants.js";import"../../assets/index-chunk7.js";import"../../assets/index-chunk8.js";
|
|
1
|
+
import"./base/combobox.slds.js";import"./base/combobox.js";import"./combobox-item/combobox-item.slds.js";import"./combobox-item/combobox-item.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk6.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk11.js";import"../../utils/string-utils.js";import"../input/slds/input-label/input-label.slds.js";import"../input/slds/input-error/input-error.slds.js";import"../../consts/key-constants.js";import"../../assets/index-chunk7.js";import"../../assets/index-chunk8.js";import"../../utils/datatestid-utils.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{N as l}from"../display-card.js";import"../../card/gator/title/card-title.gator.js";import"../../card/gator/subtitle/card-subtitle.gator.js";import{r as i,k as e}from"../../../assets/index-chunk.js";import{b as p}from"../../../assets/index-chunk10.js";import{p as g}from"../../../assets/index-chunk4.js";import{s as m}from"../../../assets/index-chunk5.js";import{c as u}from"../../../assets/index-chunk9.js";import{t as v}from"../../../assets/index-chunk3.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import"../../button/gator/button.gator.js";import"../../card/card.js";import"../../../assets/index-chunk2.js";import"../../icon/icon-registry.js";import"../../button/button.js";import"../../../utils/string-utils.js";const y=".gator-display-card{display:flex;align-content:center;flex-direction:column;position:relative;font-family:var(--ngc-font-family),sans-serif;border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);--ngc-card-max-width: 654px;overflow:hidden}.gator-display-card ngc-card-title{--ngc-card-title-padding: 0 0 var(--spacing-2) 0}.gator-display-card ngc-card-subtitle{--ngc-card-subtitle-padding: var(--spacing-2) 0 0 0}.gator-display-card-content{padding:var(--spacing-6);display:flex;flex-direction:column;justify-content:center}.gator-display-card-content-header{display:flex;flex-direction:row;justify-content:space-between}.gator-display-card-slot-content{padding:var(--spacing-6) 0 0 0}.gator-display-card-title,.gator-display-card-subtitle{display:flex}.gator-display-card-justify-content-center{justify-content:center}.gator-display-card-content-left{justify-content:flex-start}.gator-display-card-content-right{justify-content:flex-end}.gator-display-card-actions{padding:var(--spacing-4, 1rem);background:var(--color-blue-5, #F3F5F7);display:flex;flex-direction:row;justify-content:center;align-items:center}.gator-display-card-actions ngc-button{--ngc-button-font-size: var(--text-size-button-large, 1.0625rem)}.gator-display-card-actions ngc-icon{margin-left:8px;--ngc-icon-display: flex}";var f=Object.defineProperty,h=Object.getOwnPropertyDescriptor,b=(d,
|
|
1
|
+
import{N as l}from"../display-card.js";import"../../card/gator/title/card-title.gator.js";import"../../card/gator/subtitle/card-subtitle.gator.js";import{r as i,k as e}from"../../../assets/index-chunk.js";import{b as p}from"../../../assets/index-chunk10.js";import{p as g}from"../../../assets/index-chunk4.js";import{s as m}from"../../../assets/index-chunk5.js";import{c as u}from"../../../assets/index-chunk9.js";import{t as v}from"../../../assets/index-chunk3.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import"../../button/gator/button.gator.js";import"../../card/card.js";import"../../../assets/index-chunk2.js";import"../../icon/icon-registry.js";import"../../button/button.js";import"../../../utils/string-utils.js";const y=".gator-display-card{display:flex;align-content:center;flex-direction:column;position:relative;font-family:var(--ngc-font-family),sans-serif;border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);--ngc-card-max-width: 654px;overflow:hidden}.gator-display-card ngc-card-title{--ngc-card-title-padding: 0 0 var(--spacing-2) 0}.gator-display-card ngc-card-subtitle{--ngc-card-subtitle-padding: var(--spacing-2) 0 0 0}.gator-display-card-content{padding:var(--spacing-6);display:flex;flex-direction:column;justify-content:center}.gator-display-card-content-header{display:flex;flex-direction:row;justify-content:space-between}.gator-display-card-slot-content{padding:var(--spacing-6) 0 0 0}.gator-display-card-title,.gator-display-card-subtitle{display:flex}.gator-display-card-justify-content-center{justify-content:center}.gator-display-card-content-left{justify-content:flex-start}.gator-display-card-content-right{justify-content:flex-end}.gator-display-card-actions{padding:var(--spacing-4, 1rem);background:var(--color-blue-5, #F3F5F7);display:flex;flex-direction:row;justify-content:center;align-items:center}.gator-display-card-actions ngc-button{--ngc-button-font-size: var(--text-size-button-large, 1.0625rem)}.gator-display-card-actions ngc-icon{margin-left:8px;--ngc-icon-display: flex}";var f=Object.defineProperty,h=Object.getOwnPropertyDescriptor,b=(d,r,s,a)=>{for(var t=a>1?void 0:a?h(r,s):r,o=d.length-1,n;o>=0;o--)(n=d[o])&&(t=(a?n(r,s,t):n(t))||t);return a&&t&&f(r,s,t),t};let c=class extends l{render(){return e`
|
|
2
2
|
<div class="gator-display-card ${this.elevatedClass} ${this.outlinedClass}">
|
|
3
3
|
<div class="gator-display-card-content">
|
|
4
4
|
<div class="gator-display-card-content-header">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./gator/display-card.gator.js";import"./display-card.js";import"../card/card.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk2.js";import"../card/gator/title/card-title.gator.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../assets/index-chunk3.js";import"../card/gator/subtitle/card-subtitle.gator.js";import"../../assets/index-chunk10.js";import"../../assets/index-chunk9.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../button/gator/button.gator.js";import"../button/button.js";import"../../utils/string-utils.js";
|
|
1
|
+
import"./gator/display-card.gator.js";import"./display-card.js";import"../card/card.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk2.js";import"../card/gator/title/card-title.gator.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../assets/index-chunk3.js";import"../card/gator/subtitle/card-subtitle.gator.js";import"../../assets/index-chunk10.js";import"../../assets/index-chunk9.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../button/gator/button.gator.js";import"../button/button.js";import"../../utils/string-utils.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{N as u}from"../headline-card.js";import"../../card/gator/title/card-title.gator.js";import"../../card/gator/subtitle/card-subtitle.gator.js";import{r as i,k as n}from"../../../assets/index-chunk.js";import{b as h}from"../../../assets/index-chunk10.js";import{p as g}from"../../../assets/index-chunk4.js";import{s as p}from"../../../assets/index-chunk5.js";import{c as m}from"../../../assets/index-chunk9.js";import{t as f}from"../../../assets/index-chunk3.js";import{r as v}from"../../../assets/index-chunk11.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import{i as b,K as x}from"../../../assets/index-chunk7.js";import"../../card/card.js";import"../../../assets/index-chunk2.js";import"../../icon/icon-registry.js";import"../../../assets/index-chunk8.js";const C=".gator-headline-card{display:flex;align-content:center;flex-direction:row;position:relative;font-family:var(--ngc-font-family),sans-serif;border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);padding:var(--spacing-6);--ngc-card-max-width: 100%;overflow:hidden}.gator-headline-card ngc-card-title{--ngc-card-title-padding: 0 0 var(--spacing-2) 0}.gator-headline-card ngc-card-subtitle{--ngc-card-subtitle-padding: var(--spacing-2) 0 0 0}.gator-headline-card-background-circle{position:absolute;width:280px;height:300%;left:-144px;bottom:-100px;border-radius:50%;z-index:-1;background:var(--color-neutral-10)}.gator-headline-card-background-circle_vertical{position:absolute;width:1150px;height:350px;top:-300px;left:-240px;border-radius:50%;z-index:-1;background:var(--color-neutral-10)}.gator-headline-card_content{display:flex;flex-direction:column;justify-content:center}.gator-headline-card-content_vertical{padding:var(--spacing-6) 0}.gator-headline-card_vertical{--ngc-card-max-width: 600px;flex-direction:column;justify-content:center}.gator-headline-card-illustration{display:flex;align-items:center;margin-right:var(--spacing-6)}.gator-headline-card-illustration ngc-icon{--ngc-icon-width: 96px;--ngc-icon-height: 76.8px;--ngc-icon-display: flex}.gator-headline-card-title,.gator-headline-card-subtitle{display:flex}.gator-headline-card-justify-content-center{justify-content:center}.gator-headline-card-actions{display:flex;flex-direction:column;justify-content:center;margin-left:auto}.gator-headline-card-actions_vertical{display:flex;flex-direction:column;justify-content:center}";var _=Object.defineProperty,y=Object.getOwnPropertyDescriptor,d=(r,t,s,a)=>{for(var e=a>1?void 0:a?y(t,s):t,o=r.length-1,c;o>=0;o--)(c=r[o])&&(e=(a?c(t,s,e):c(e))||e);return a&&e&&_(t,s,e),e};let l=class extends u{constructor(){super(...arguments),this._shouldBeVertical=!1,this.containerRef=b()}firstUpdated(){this._shouldBeVertical=this.shouldBeVertical,window.addEventListener("resize",()=>{this._shouldBeVertical=this.shouldBeVertical})}updated(){this._shouldBeVertical=this.shouldBeVertical}render(){return n`
|
|
1
|
+
import{N as u}from"../headline-card.js";import"../../card/gator/title/card-title.gator.js";import"../../card/gator/subtitle/card-subtitle.gator.js";import{r as i,k as n}from"../../../assets/index-chunk.js";import{b as h}from"../../../assets/index-chunk10.js";import{p as g}from"../../../assets/index-chunk4.js";import{s as p}from"../../../assets/index-chunk5.js";import{c as m}from"../../../assets/index-chunk9.js";import{t as f}from"../../../assets/index-chunk3.js";import{r as v}from"../../../assets/index-chunk11.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import{i as b,K as x}from"../../../assets/index-chunk7.js";import"../../card/card.js";import"../../../assets/index-chunk2.js";import"../../icon/icon-registry.js";import"../../../assets/index-chunk8.js";const C=".gator-headline-card{display:flex;align-content:center;flex-direction:row;position:relative;font-family:var(--ngc-font-family),sans-serif;border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);padding:var(--spacing-6);--ngc-card-max-width: 100%;overflow:hidden}.gator-headline-card ngc-card-title{--ngc-card-title-padding: 0 0 var(--spacing-2) 0}.gator-headline-card ngc-card-subtitle{--ngc-card-subtitle-padding: var(--spacing-2) 0 0 0}.gator-headline-card-background-circle{position:absolute;width:280px;height:300%;left:-144px;bottom:-100px;border-radius:50%;z-index:-1;background:var(--color-neutral-10)}.gator-headline-card-background-circle_vertical{position:absolute;width:1150px;height:350px;top:-300px;left:-240px;border-radius:50%;z-index:-1;background:var(--color-neutral-10)}.gator-headline-card_content{display:flex;flex-direction:column;justify-content:center}.gator-headline-card-content_vertical{padding:var(--spacing-6) 0}.gator-headline-card_vertical{--ngc-card-max-width: 600px;flex-direction:column;justify-content:center}.gator-headline-card-illustration{display:flex;align-items:center;margin-right:var(--spacing-6)}.gator-headline-card-illustration ngc-icon{--ngc-icon-width: 96px;--ngc-icon-height: 76.8px;--ngc-icon-display: flex}.gator-headline-card-title,.gator-headline-card-subtitle{display:flex}.gator-headline-card-justify-content-center{justify-content:center}.gator-headline-card-actions{display:flex;flex-direction:column;justify-content:center;margin-left:auto}.gator-headline-card-actions_vertical{display:flex;flex-direction:column;justify-content:center}";var _=Object.defineProperty,y=Object.getOwnPropertyDescriptor,d=(r,t,s,a)=>{for(var e=a>1?void 0:a?y(t,s):t,o=r.length-1,c;o>=0;o--)(c=r[o])&&(e=(a?c(t,s,e):c(e))||e);return a&&e&&_(t,s,e),e};let l=class extends u{constructor(){super(...arguments),this._shouldBeVertical=!1,this.containerRef=b()}firstUpdated(){this._shouldBeVertical=this.shouldBeVertical,window.addEventListener("resize",()=>{this._shouldBeVertical=this.shouldBeVertical})}updated(){this._shouldBeVertical=this.shouldBeVertical}render(){return n`
|
|
2
2
|
<div ${x(this.containerRef)} class="gator-headline-card ${this.orientationClass} ${this.elevatedClass} ${this.outlinedClass}">
|
|
3
3
|
${this.backgroundMarkup}
|
|
4
4
|
<div class="gator-headline-card-illustration ${this.justifyCenterClass}">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./gator/headline-card.gator.js";import"./headline-card.js";import"../card/card.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk2.js";import"../card/gator/title/card-title.gator.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../assets/index-chunk3.js";import"../card/gator/subtitle/card-subtitle.gator.js";import"../../assets/index-chunk10.js";import"../../assets/index-chunk9.js";import"../../assets/index-chunk11.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../assets/index-chunk7.js";import"../../assets/index-chunk8.js";
|
|
1
|
+
import"./gator/headline-card.gator.js";import"./headline-card.js";import"../card/card.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk2.js";import"../card/gator/title/card-title.gator.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../assets/index-chunk3.js";import"../card/gator/subtitle/card-subtitle.gator.js";import"../../assets/index-chunk10.js";import"../../assets/index-chunk9.js";import"../../assets/index-chunk11.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../assets/index-chunk7.js";import"../../assets/index-chunk8.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./icon.gator.js";import"./templates/arrow-right.js";import"./templates/balloons.js";import"./templates/check-circle.js";import"./templates/checkbox.js";import"./templates/checkbox-selected.js";import"./templates/chevron-right.js";import"./templates/exit.js";import"./templates/exit-circle.js";import"./templates/info.js";import"./templates/picture.js";import"./templates/radio.js";import"./templates/radio-selected.js";import"./templates/restricted.js";import"./templates/warning.js";import"../../../assets/index-chunk.js";import"../../../assets/index-chunk3.js";import"../../../assets/index-chunk2.js";import"../icon-registry.js";
|
|
1
|
+
import"./icon.gator.js";import"./templates/arrow-right.js";import"./templates/balloons.js";import"./templates/check-circle.js";import"./templates/checkbox.js";import"./templates/checkbox-selected.js";import"./templates/chevron-down.js";import"./templates/chevron-right.js";import"./templates/chevron-up.js";import"./templates/exit.js";import"./templates/exit-circle.js";import"./templates/info.js";import"./templates/picture.js";import"./templates/radio.js";import"./templates/radio-selected.js";import"./templates/restricted.js";import"./templates/warning.js";import"../../../assets/index-chunk.js";import"../../../assets/index-chunk3.js";import"../../../assets/index-chunk2.js";import"../icon-registry.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{k as o}from"../../../../assets/index-chunk.js";import{i}from"../../icon-registry.js";i("chevron-down",o`
|
|
2
|
+
<svg
|
|
3
|
+
width="24"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M20.9991 9.45025C20.9991 9.33504 20.9526 9.21984 20.8607 9.13163C20.676 8.95612 20.3757 8.95612 20.1909 9.13163L11.9996 16.9134L3.80837 9.13163C3.62363 8.95612 3.3233 8.95612 3.13856 9.13163C2.95381 9.30714 2.95381 9.59245 3.13856 9.76796L11.6652 17.8684C11.85 18.0439 12.1503 18.0439 12.335 17.8684L20.8617 9.76796C20.9545 9.67976 21 9.56455 21 9.44935L20.9991 9.45025Z"
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
/>
|
|
13
|
+
</svg>`);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{k as o}from"../../../../assets/index-chunk.js";import{i}from"../../icon-registry.js";i("chevron-up",o`
|
|
2
|
+
<svg
|
|
3
|
+
width="24"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M3.00095 15.5498C3.00095 15.665 3.04737 15.7802 3.13927 15.8684C3.32401 16.0439 3.62434 16.0439 3.80908 15.8684L12.0004 8.08658L20.1916 15.8684C20.3764 16.0439 20.6767 16.0439 20.8614 15.8684C21.0462 15.6929 21.0462 15.4075 20.8614 15.232L12.3348 7.13163C12.15 6.95612 11.8497 6.95612 11.665 7.13163L3.13832 15.232C3.04548 15.3202 3 15.4354 3 15.5507L3.00095 15.5498Z"
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
/>
|
|
13
|
+
</svg>`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./arrow-right.js";import"./balloons.js";import"./check-circle.js";import"./checkbox.js";import"./checkbox-selected.js";import"./chevron-right.js";import"./exit.js";import"./exit-circle.js";import"./info.js";import"./picture.js";import"./radio.js";import"./radio-selected.js";import"./restricted.js";import"./warning.js";import"../../../../assets/index-chunk.js";import"../../icon-registry.js";
|
|
1
|
+
import"./arrow-right.js";import"./balloons.js";import"./check-circle.js";import"./checkbox.js";import"./checkbox-selected.js";import"./chevron-down.js";import"./chevron-right.js";import"./chevron-up.js";import"./exit.js";import"./exit-circle.js";import"./info.js";import"./picture.js";import"./radio.js";import"./radio-selected.js";import"./restricted.js";import"./warning.js";import"../../../../assets/index-chunk.js";import"../../icon-registry.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./radio-group.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../utils/string-utils.js";import"../../consts/key-constants.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../../utils/lightdom-utils.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";
|
|
1
|
+
import"./radio-group.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../utils/string-utils.js";import"../../consts/key-constants.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../../utils/lightdom-utils.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as m,h as c,k as p}from"../../assets/index-chunk.js";import{t as u}from"../../assets/index-chunk3.js";import{n}from"../../assets/index-chunk2.js";import{g as y,a as b}from"../../utils/string-utils.js";import{K as h}from"../../consts/key-constants.js";import{p as f}from"../../assets/index-chunk4.js";import{s as v}from"../../assets/index-chunk5.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../../utils/lightdom-utils.js";import"../icon/icon-registry.js";const x=".gator-radio-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}.gator-radio-group{display:flex;flex-direction:var(--ngc-radio-group-flex-direction, column);gap:var(--ngc-radio-group-gap, var(--spacing-gap-8));flex-wrap:wrap}";var $=Object.defineProperty,I=Object.getOwnPropertyDescriptor,l=(e,t,r,s)=>{for(var a=s>1?void 0:s?I(t,r):t,d=e.length-1,i;d>=0;d--)(i=e[d])&&(a=(s?i(t,r,a):i(a))||a);return s&&a&&$(t,r,a),a};let o=class extends c{constructor(){super(...arguments),this.id="",this.label="",this.helpText="",this.value="",this.disabled=!1,this.hasError=!1,this.errorMessage="",this.options=[],this._randomId=y()}render(){return p`
|
|
1
|
+
import{r as m,h as c,k as p}from"../../assets/index-chunk.js";import{t as u}from"../../assets/index-chunk3.js";import{n}from"../../assets/index-chunk2.js";import{g as y,a as b}from"../../utils/string-utils.js";import{K as h}from"../../consts/key-constants.js";import{p as f}from"../../assets/index-chunk4.js";import{s as v}from"../../assets/index-chunk5.js";import"../radio/radio.gator.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../../utils/lightdom-utils.js";import"../icon/icon-registry.js";const x=".gator-radio-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}.gator-radio-group{display:flex;flex-direction:var(--ngc-radio-group-flex-direction, column);gap:var(--ngc-radio-group-gap, var(--spacing-gap-8));flex-wrap:wrap}";var $=Object.defineProperty,I=Object.getOwnPropertyDescriptor,l=(e,t,r,s)=>{for(var a=s>1?void 0:s?I(t,r):t,d=e.length-1,i;d>=0;d--)(i=e[d])&&(a=(s?i(t,r,a):i(a))||a);return s&&a&&$(t,r,a),a};let o=class extends c{constructor(){super(...arguments),this.id="",this.label="",this.helpText="",this.value="",this.disabled=!1,this.hasError=!1,this.errorMessage="",this.options=[],this._randomId=y()}render(){return p`
|
|
2
2
|
<div class="gator-radio-group-container">
|
|
3
3
|
${this.label?p`<ngc-input-label id="${this.elementId}-label">${this.label}</ngc-input-label>`:null}
|
|
4
4
|
<div id="${this.elementId}-group"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./selection-box.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../utils/string-utils.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";
|
|
1
|
+
import"./selection-box.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../utils/string-utils.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as p,k as s}from"../../assets/index-chunk.js";import{t as g}from"../../assets/index-chunk3.js";import{n as r}from"../../assets/index-chunk2.js";import{g as h,a as x}from"../../utils/string-utils.js";import{p as u}from"../../assets/index-chunk4.js";import{s as v}from"../../assets/index-chunk5.js";import{c as b}from"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../icon/icon-registry.js";const m=":root,:host{--ngc-selection-box-background-color: var(--color-surface-primary);--ngc-selection-box-title-color: var(--color-text-primary-base);--ngc-selection-box-subtitle-color: var(--color-text-secondary);--ngc-selection-box-input-accent-color: var(--color-text-brand);--ngc-selection-box-background-color-selected: var(--color-surface-brand);--ngc-selection-box-background-color-disabled: var(--color-surface-secondary);--ngc-selection-box-icon-color-unselected: var(--color-stroke-primary);--ngc-selection-box-icon-color-disabled: var(--color-stroke-primary);--ngc-selection-box-icon-color-selected: var(--color-stroke-brand);--ngc-selection-box-border-color-error: var(--color-stroke-error);--ngc-selection-box-icon-color-error: var(--color-icon-error);--ngc-selection-box-border: var(--size-stroke-1, 1px) solid var(--color-stroke-primary);--ngc-selection-box-selected-border: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-hover-border: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-error-border: var(--size-stroke-1, 1px) solid var(--color-stroke-error-strong);--ngc-selection-box-focus-outline: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-border-radius: var(--radius-selection-control, .125rem);--ngc-selection-box-hover-box-shadow: var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-1-y-offset, 5px) var(--shadow-shadow-2-card-raised-property-1-blur, 10px) var(--shadow-shadow-2-card-raised-property-1-spread, 0px) var(--shadow-shadow-color-10, rgba(31, 31, 31, .1)), var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-2-y-offset, 7px) var(--shadow-shadow-2-card-raised-property-2-blur, 14px) var(--shadow-shadow-2-card-raised-property-2-spread, 0px) var(--shadow-shadow-color-8, rgba(31, 31, 31, .08)), var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-3-y-offset, 3px) var(--shadow-shadow-2-card-raised-property-3-blur, 6px) var(--shadow-shadow-2-card-raised-property-3-spread, 0px) var(--shadow-shadow-color-8, rgba(31, 31, 31, .08));--ngc-selection-box-padding: var(--spacing-padding-margin-16, 1rem);--ngc-selection-box-margin-bottom: var(--spacing-gap-8, .5rem);--ngc-selection-box-focus-outline-offset: .125rem;--ngc-selection-box-title-font-size: var(--text-size-body-1, 1.0625rem);--ngc-selection-box-subtitle-font-size: .9375rem;--ngc-selection-box-title-line-height: var(--text-line-height-body-1, 1.5rem);--ngc-selection-box-subtitle-line-height: 1.375rem}",f=':focus-visible{outline:none}.gator-selection-box{display:flex;align-items:center;border-radius:var(--ngc-selection-box-border-radius);padding:var(--ngc-selection-box-padding);border:var(--ngc-selection-box-border);background:var(--ngc-selection-box-background-color);margin-bottom:var(--ngc-selection-box-margin-bottom);cursor:pointer}.gator-selection-box .gator-selection-box-icon{color:var(--ngc-selection-box-icon-color-unselected)}.gator-selection-box-label-container{width:100%;align-items:stretch;display:flex;flex-direction:row;align-items:center;gap:var(--spacing-gap-8, .5rem);font-feature-settings:"liga" off,"clig" off;font-style:normal;font-weight:400;font-family:var(--text-family-sans-serif, "Open Sans");cursor:inherit}.gator-selection-box-label-container-text{width:100%;align-items:stretch;display:flex;flex-direction:column}.gator-selection-box-label-title{color:var(--ngc-selection-box-title-color);font-size:var(--ngc-selection-box-title-font-size);line-height:var(--ngc-selection-box-title-line-height);cursor:inherit}.gator-selection-box-label-subtitle{color:var(--ngc-selection-box-subtitle-color);font-size:var(--ngc-selection-box-subtitle-font-size);line-height:var(--ngc-selection-box-subtitle-line-height)}.gator-selection-box:focus-visible{outline:var(--ngc-selection-box-focus-outline);outline-offset:var(--ngc-selection-box-focus-outline-offset)}.gator-selection-box:hover:not(.gator-selection-box_disabled){cursor:pointer;box-shadow:var(--ngc-selection-box-hover-box-shadow)}.gator-selection-box:hover:not(.gator-selection-box_error):not(.gator-selection-box_disabled){border:var(--ngc-selection-box-hover-border)}.gator-selection-box_disabled{cursor:not-allowed;background:var(--ngc-selection-box-background-color-disabled)}.gator-selection-box_disabled .gator-selection-box-icon{color:var(--ngc-selection-box-icon-color-disabled)}.gator-selection-box_disabled label{color:var(--color-text-placeholder)}.gator-selection-box:is([aria-checked=true]):not(.gator-selection-box_disabled):not(.gator-selection-box_error){border:var(--ngc-selection-box-selected-border);background:var(--ngc-selection-box-background-color-selected)}.gator-selection-box:is([aria-checked=true]):not(.gator-selection-box_disabled):not(.gator-selection-box_error) .gator-selection-box-icon{color:var(--ngc-selection-box-icon-color-selected)}.gator-selection-box_error{border:var(--ngc-selection-box-error-border)}.gator-selection-box_error .gator-selection-box-icon{color:var(--ngc-selection-box-icon-color-error)}';var y=Object.defineProperty,w=Object.getOwnPropertyDescriptor,t=(e,l,n,a)=>{for(var i=a>1?void 0:a?w(l,n):l,c=e.length-1,d;c>=0;c--)(d=e[c])&&(i=(a?d(l,n,i):d(i))||i);return a&&i&&y(l,n,i),i};let o=class extends p{constructor(){super(),this.id="",this.titleText="",this.subtitleText="",this.value="",this.selected=!1,this.disabled=!1,this.boxTabindex=0,this.hasError=!1,this.type="radio",this._randomId=h(),this._labelFromTemplate=null,this._generatedLabel=null,this._prependSlot=null,this.addEventListener("click",this.handleClick)}createRenderRoot(){return this}render(){return s`
|
|
1
|
+
import{h as p,k as s}from"../../assets/index-chunk.js";import{t as g}from"../../assets/index-chunk3.js";import{n as r}from"../../assets/index-chunk2.js";import{g as h,a as x}from"../../utils/string-utils.js";import{p as u}from"../../assets/index-chunk4.js";import{s as v}from"../../assets/index-chunk5.js";import{c as b}from"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../icon/icon-registry.js";const m=":root,:host{--ngc-selection-box-background-color: var(--color-surface-primary);--ngc-selection-box-title-color: var(--color-text-primary-base);--ngc-selection-box-subtitle-color: var(--color-text-secondary);--ngc-selection-box-input-accent-color: var(--color-text-brand);--ngc-selection-box-background-color-selected: var(--color-surface-brand);--ngc-selection-box-background-color-disabled: var(--color-surface-secondary);--ngc-selection-box-icon-color-unselected: var(--color-stroke-primary);--ngc-selection-box-icon-color-disabled: var(--color-stroke-primary);--ngc-selection-box-icon-color-selected: var(--color-stroke-brand);--ngc-selection-box-border-color-error: var(--color-stroke-error);--ngc-selection-box-icon-color-error: var(--color-icon-error);--ngc-selection-box-border: var(--size-stroke-1, 1px) solid var(--color-stroke-primary);--ngc-selection-box-selected-border: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-hover-border: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-error-border: var(--size-stroke-1, 1px) solid var(--color-stroke-error-strong);--ngc-selection-box-focus-outline: var(--size-stroke-1, 1px) solid var(--color-stroke-brand, #11395B);--ngc-selection-box-border-radius: var(--radius-selection-control, .125rem);--ngc-selection-box-hover-box-shadow: var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-1-y-offset, 5px) var(--shadow-shadow-2-card-raised-property-1-blur, 10px) var(--shadow-shadow-2-card-raised-property-1-spread, 0px) var(--shadow-shadow-color-10, rgba(31, 31, 31, .1)), var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-2-y-offset, 7px) var(--shadow-shadow-2-card-raised-property-2-blur, 14px) var(--shadow-shadow-2-card-raised-property-2-spread, 0px) var(--shadow-shadow-color-8, rgba(31, 31, 31, .08)), var(--shadow-x-offset-0, 0px) var(--shadow-shadow-2-card-raised-property-3-y-offset, 3px) var(--shadow-shadow-2-card-raised-property-3-blur, 6px) var(--shadow-shadow-2-card-raised-property-3-spread, 0px) var(--shadow-shadow-color-8, rgba(31, 31, 31, .08));--ngc-selection-box-padding: var(--spacing-padding-margin-16, 1rem);--ngc-selection-box-margin-bottom: var(--spacing-gap-8, .5rem);--ngc-selection-box-focus-outline-offset: .125rem;--ngc-selection-box-title-font-size: var(--text-size-body-1, 1.0625rem);--ngc-selection-box-subtitle-font-size: .9375rem;--ngc-selection-box-title-line-height: var(--text-line-height-body-1, 1.5rem);--ngc-selection-box-subtitle-line-height: 1.375rem}",f=':focus-visible{outline:none}.gator-selection-box{display:flex;align-items:center;border-radius:var(--ngc-selection-box-border-radius);padding:var(--ngc-selection-box-padding);border:var(--ngc-selection-box-border);background:var(--ngc-selection-box-background-color);margin-bottom:var(--ngc-selection-box-margin-bottom);cursor:pointer}.gator-selection-box .gator-selection-box-icon{color:var(--ngc-selection-box-icon-color-unselected)}.gator-selection-box-label-container{width:100%;align-items:stretch;display:flex;flex-direction:row;align-items:center;gap:var(--spacing-gap-8, .5rem);font-feature-settings:"liga" off,"clig" off;font-style:normal;font-weight:400;font-family:var(--text-family-sans-serif, "Open Sans");cursor:inherit}.gator-selection-box-label-container-text{width:100%;align-items:stretch;display:flex;flex-direction:column}.gator-selection-box-label-title{color:var(--ngc-selection-box-title-color);font-size:var(--ngc-selection-box-title-font-size);line-height:var(--ngc-selection-box-title-line-height);cursor:inherit}.gator-selection-box-label-subtitle{color:var(--ngc-selection-box-subtitle-color);font-size:var(--ngc-selection-box-subtitle-font-size);line-height:var(--ngc-selection-box-subtitle-line-height)}.gator-selection-box:focus-visible{outline:var(--ngc-selection-box-focus-outline);outline-offset:var(--ngc-selection-box-focus-outline-offset)}.gator-selection-box:hover:not(.gator-selection-box_disabled){cursor:pointer;box-shadow:var(--ngc-selection-box-hover-box-shadow)}.gator-selection-box:hover:not(.gator-selection-box_error):not(.gator-selection-box_disabled){border:var(--ngc-selection-box-hover-border)}.gator-selection-box_disabled{cursor:not-allowed;background:var(--ngc-selection-box-background-color-disabled)}.gator-selection-box_disabled .gator-selection-box-icon{color:var(--ngc-selection-box-icon-color-disabled)}.gator-selection-box_disabled label{color:var(--color-text-placeholder)}.gator-selection-box:is([aria-checked=true]):not(.gator-selection-box_disabled):not(.gator-selection-box_error){border:var(--ngc-selection-box-selected-border);background:var(--ngc-selection-box-background-color-selected)}.gator-selection-box:is([aria-checked=true]):not(.gator-selection-box_disabled):not(.gator-selection-box_error) .gator-selection-box-icon{color:var(--ngc-selection-box-icon-color-selected)}.gator-selection-box_error{border:var(--ngc-selection-box-error-border)}.gator-selection-box_error .gator-selection-box-icon{color:var(--ngc-selection-box-icon-color-error)}';var y=Object.defineProperty,w=Object.getOwnPropertyDescriptor,t=(e,l,n,a)=>{for(var i=a>1?void 0:a?w(l,n):l,c=e.length-1,d;c>=0;c--)(d=e[c])&&(i=(a?d(l,n,i):d(i))||i);return a&&i&&y(l,n,i),i};let o=class extends p{constructor(){super(),this.id="",this.titleText="",this.subtitleText="",this.value="",this.selected=!1,this.disabled=!1,this.boxTabindex=0,this.hasError=!1,this.type="radio",this._randomId=h(),this._labelFromTemplate=null,this._generatedLabel=null,this._prependSlot=null,this.addEventListener("click",this.handleClick)}createRenderRoot(){return this}render(){return s`
|
|
2
2
|
<style>${f}</style>
|
|
3
3
|
<style>${m}</style>
|
|
4
4
|
<style>${u}</style>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./selection-box-group.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk4.js";import"../../utils/string-utils.js";import"../selection-box/selection-box.gator.js";import"../../assets/index-chunk5.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../checkbox-group/checkbox-group.gator.js";import"../checkbox/checkbox.gator.js";
|
|
1
|
+
import"./selection-box-group.gator.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk4.js";import"../../utils/string-utils.js";import"../selection-box/selection-box.gator.js";import"../../assets/index-chunk5.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../radio-group/radio-group.gator.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../checkbox-group/checkbox-group.gator.js";import"../checkbox/checkbox.gator.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,h as g,k as l}from"../../assets/index-chunk.js";import{t as
|
|
1
|
+
import{r as d,h as g,k as l}from"../../assets/index-chunk.js";import{t as m}from"../../assets/index-chunk3.js";import{n as s}from"../../assets/index-chunk2.js";import{p as u}from"../../assets/index-chunk4.js";import{g as c,a as b}from"../../utils/string-utils.js";import"../selection-box/selection-box.gator.js";import"../radio-group/radio-group.gator.js";import"../checkbox-group/checkbox-group.gator.js";import"../../assets/index-chunk5.js";import"../../utils/lightdom-utils.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";import"../../consts/key-constants.js";import"../radio/radio.gator.js";import"../input/gator/help-text/help-text.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../checkbox/checkbox.gator.js";const y=".gator-radio-group-options{padding-inline-start:0}";var x=Object.defineProperty,$=Object.getOwnPropertyDescriptor,o=(t,e,p,i)=>{for(var a=i>1?void 0:i?$(e,p):e,h=t.length-1,n;h>=0;h--)(n=t[h])&&(a=(i?n(e,p,a):n(a))||a);return i&&a&&x(e,p,a),a};let r=class extends g{constructor(){super(...arguments),this.id="",this.options=[],this.disabled=!1,this.value="",this.label="",this.helpText="",this.type="single-select",this.hasError=!1,this.errorMessage="",this._randomId=c()}render(){return l`${this.isSingleSelect?this.radioGroupMarkup:this.checkboxGroupMarkup}`}get elementId(){return b(this.id,this._randomId)}get radioGroupMarkup(){return l`
|
|
2
2
|
<ngc-radio-group
|
|
3
3
|
id=${this.id}
|
|
4
4
|
value=${this.value}
|
|
@@ -22,14 +22,14 @@ import{r as d,h as g,k as l}from"../../assets/index-chunk.js";import{t as u}from
|
|
|
22
22
|
@change=${this.handleChange}>
|
|
23
23
|
${this.optionsMarkup}
|
|
24
24
|
</ngc-checkbox-group>
|
|
25
|
-
`}get optionsMarkup(){return l`${this.options.length>0?this.generatedRadiosFromOptionsProperty:l`<slot></slot>`}`}get selectionBoxType(){return this.isSingleSelect?"radio":"checkbox"}get isSingleSelect(){return this.type==="single-select"}get generatedRadiosFromOptionsProperty(){return this.options.map((e
|
|
25
|
+
`}get optionsMarkup(){return l`${this.options.length>0?this.generatedRadiosFromOptionsProperty:l`<slot></slot>`}`}get selectionBoxType(){return this.isSingleSelect?"radio":"checkbox"}get isSingleSelect(){return this.type==="single-select"}get generatedRadiosFromOptionsProperty(){return this.options.map((t,e)=>l`
|
|
26
26
|
<ngc-selection-box
|
|
27
|
-
title-text=${
|
|
28
|
-
subtitle-text=${
|
|
29
|
-
value=${
|
|
30
|
-
?selected=${this.isItemSelected(
|
|
27
|
+
title-text=${t.title}
|
|
28
|
+
subtitle-text=${t.subtitle}
|
|
29
|
+
value=${t.value}
|
|
30
|
+
?selected=${this.isItemSelected(t.value)}
|
|
31
31
|
?disabled=${this.disabled}
|
|
32
|
-
box-tabindex=${this.getItemTabindex(
|
|
32
|
+
box-tabindex=${this.getItemTabindex(e)}
|
|
33
33
|
?has-error=${this.hasError}
|
|
34
34
|
type=${this.selectionBoxType}>
|
|
35
|
-
</ngc-selection-box>`)}get optionElements(){var e,
|
|
35
|
+
</ngc-selection-box>`)}get optionElements(){var t,e,p;return this.options.length>0?(t=this.shadowRoot)==null?void 0:t.querySelectorAll("ngc-selection-box"):(p=(e=this.shadowRoot)==null?void 0:e.querySelector("slot"))==null?void 0:p.assignedElements()}isItemSelected(t){var e;return this.isSingleSelect?this.value===t:(e=this.value)==null?void 0:e.split(";").includes(t)}handleChange(t){const e=t;e.stopImmediatePropagation(),this.value=e.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}updated(){var t;(t=this.optionElements)==null||t.forEach((e,p)=>{const i=e;i.boxTabindex=this.getItemTabindex(p),i.type=this.selectionBoxType,i.disabled=this.disabled,i.selected=this.isItemSelected(i.getAttribute("value")??""),i.hasError=this.hasError})}getItemTabindex(t){return this.isSingleSelect?t===0&&!this.value?0:-1:0}};r.styles=[d(y),d(u)];o([s({type:String})],r.prototype,"id",2);o([s({type:Array})],r.prototype,"options",2);o([s({type:Boolean})],r.prototype,"disabled",2);o([s({type:String})],r.prototype,"value",2);o([s({type:String})],r.prototype,"label",2);o([s({type:String,attribute:"help-text"})],r.prototype,"helpText",2);o([s({type:String})],r.prototype,"type",2);o([s({type:Boolean,attribute:"has-error"})],r.prototype,"hasError",2);o([s({type:String,attribute:"error-message"})],r.prototype,"errorMessage",2);r=o([m("ngc-selection-box-group")],r);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{N as g}from"../toast.js";import{r as a,k as c}from"../../../assets/index-chunk.js";import{t as m}from"../../../assets/index-chunk3.js";import{p
|
|
1
|
+
import{N as g}from"../toast.js";import{r as a,k as c}from"../../../assets/index-chunk.js";import{t as m}from"../../../assets/index-chunk3.js";import{p}from"../../../assets/index-chunk4.js";import{s as f}from"../../../assets/index-chunk5.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/balloons.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.js";import"../../icon/gator/templates/chevron-down.js";import"../../icon/gator/templates/chevron-right.js";import"../../icon/gator/templates/chevron-up.js";import"../../icon/gator/templates/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/info.js";import"../../icon/gator/templates/picture.js";import"../../icon/gator/templates/radio.js";import"../../icon/gator/templates/radio-selected.js";import"../../icon/gator/templates/restricted.js";import"../../icon/gator/templates/warning.js";import"../../../assets/index-chunk2.js";import"../../icon/icon-registry.js";const u=".gator-toast{display:flex;padding:1rem;max-width:100%;border-radius:.5rem;align-content:center;flex-direction:row;font-size:1.0625rem;margin-bottom:1rem;width:var(--ngc-toast-width, 26rem);font-family:var(--ngc-font-family),sans-serif;box-shadow:0 5px 10px #1f1f1f1a,0 7px 14px #1f1f1f14,0 3px 6px #1f1f1f14}.gator-toast_icon{margin-right:10px;display:flex;flex-direction:column;justify-content:center}.gator-toast_icon ngc-icon{--ngc-icon-display: flex}.gator-toast_actions{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-left:auto}.gator-toast_content{display:flex;flex-direction:column;justify-content:center}.gator-toast_info{background:var(--color-surface-secondary)}.gator-toast_warning{background:var(--color-surface-warning);--ngc-icon-color: var(--color-icon-warning)}.gator-toast_error{background:var(--color-surface-error);--ngc-icon-color: var(--color-icon-error)}.gator-toast_success{background:var(--color-surface-success);--ngc-icon-color: var(--color-icon-success)}.gator-toast-dismiss-button{cursor:pointer;display:flex;background:transparent;border:none}",d=":host,:root{--ngc-toast-width: 26rem}";var v=Object.defineProperty,b=Object.getOwnPropertyDescriptor,h=(t,o,i,s)=>{for(var r=s>1?void 0:s?b(o,i):o,e=t.length-1,n;e>=0;e--)(n=t[e])&&(r=(s?n(o,i,r):n(r))||r);return s&&r&&v(o,i,r),r};let l=class extends g{render(){return c`
|
|
2
2
|
<div class="gator-toast ${this.variantClass}" role="${this.ariaRole}" aria-live="polite">
|
|
3
3
|
<div class="gator-toast_icon">
|
|
4
4
|
${this.iconMarkup}
|
|
@@ -17,4 +17,4 @@ import{N as g}from"../toast.js";import{r as a,k as c}from"../../../assets/index-
|
|
|
17
17
|
name="exit"
|
|
18
18
|
label="${this.exitIconLabel??"exit"}"
|
|
19
19
|
></ngc-icon>
|
|
20
|
-
</button>`}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss",{bubbles:!0,composed:!0}))}};l.styles=[a(u),a(
|
|
20
|
+
</button>`}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss",{bubbles:!0,composed:!0}))}};l.styles=[a(u),a(p),a(f),a(d)];l=h([m("ngc-toast")],l);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./gator/toast.gator.js";import"./toast.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";
|
|
1
|
+
import"./gator/toast.gator.js";import"./toast.js";import"../../assets/index-chunk.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk3.js";import"../../assets/index-chunk4.js";import"../../assets/index-chunk5.js";import"../icon/gator/icon.gator.js";import"../icon/icon-registry.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/balloons.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/warning.js";
|
package/dist/index.gator.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./components/alert/gator/base/alert.gator.js";import"./components/alert/gator/subtitle/alert-subtitle.gator.js";import"./components/alert/gator/title/alert-title.gator.js";import"./components/avatar/gator/avatar.gator.js";import"./components/banner/gator/banner.gator.js";import"./components/badge/slds/badge.slds.js";import"./components/badge/gator/badge.gator.js";import"./components/boolean/boolean.gator.js";import"./components/button/slds/button.slds.js";import"./components/button/gator/button.gator.js";import"./components/button-card/gator/button-card.gator.js";import"./components/card/gator/base/card.gator.js";import"./components/card/gator/title/card-title.gator.js";import"./components/card/gator/subtitle/card-subtitle.gator.js";import"./components/card/gator/content/card-content.gator.js";import"./components/card/gator/footer/card-footer.gator.js";import"./components/checkbox/checkbox.gator.js";import"./components/checkbox-group/checkbox-group.gator.js";import"./components/chip/gator/chip.gator.js";import"./components/display-card/gator/display-card.gator.js";import"./components/fab/gator/fab.gator.js";import"./components/headline-card/gator/headline-card.gator.js";import"./components/input/gator/input-label/input-label.gator.js";import"./components/input/gator/help-text/help-text.gator.js";import"./components/input/slds/input-text/input-text.slds.js";import"./components/input/slds/input-error/input-error.slds.js";import"./components/input/slds/input-label/input-label.slds.js";import"./components/icon/slds/icon.slds.js";import"./components/icon/gator/icon.gator.js";import"./components/menu/base/slds/menu.slds.js";import"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import"./components/radio/radio.gator.js";import"./components/radio-group/radio-group.gator.js";import"./components/selection-box/selection-box.gator.js";import"./components/selection-box-group/selection-box-group.gator.js";import"./components/skeleton-loader/gator/skeleton-loader.gator.js";import"./components/switch/gator/switch.gator.js";import"./components/text-detail/gator/text-detail.gator.js";import"./components/toast/gator/toast.gator.js";import"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import"./components/alert/alert.js";import"./assets/index-chunk.js";import"./assets/index-chunk2.js";import"./utils/mixins/attribute-deletion.js";import"./assets/index-chunk3.js";import"./assets/index-chunk4.js";import"./assets/index-chunk5.js";import"./components/icon/gator/templates/arrow-right.js";import"./components/icon/icon-registry.js";import"./components/icon/gator/templates/balloons.js";import"./components/icon/gator/templates/check-circle.js";import"./components/icon/gator/templates/checkbox.js";import"./components/icon/gator/templates/checkbox-selected.js";import"./components/icon/gator/templates/chevron-right.js";import"./components/icon/gator/templates/exit.js";import"./components/icon/gator/templates/exit-circle.js";import"./components/icon/gator/templates/info.js";import"./components/icon/gator/templates/picture.js";import"./components/icon/gator/templates/radio.js";import"./components/icon/gator/templates/radio-selected.js";import"./components/icon/gator/templates/restricted.js";import"./components/icon/gator/templates/warning.js";import"./components/avatar/avatar.js";import"./assets/index-chunk7.js";import"./assets/index-chunk8.js";import"./components/banner/banner.js";import"./assets/index-chunk6.js";import"./components/badge/badge.js";import"./utils/string-utils.js";import"./components/button/button.js";import"./components/button-card/button-card.js";import"./components/card/card.js";import"./assets/index-chunk9.js";import"./assets/index-chunk10.js";import"./utils/lightdom-utils.js";import"./components/chip/chip.js";import"./components/display-card/display-card.js";import"./components/fab/fab.js";import"./components/headline-card/headline-card.js";import"./assets/index-chunk11.js";import"./components/input/base/input-base.js";import"./components/icon/icon.js";import"./components/menu/base/menu.js";import"./utils/datatestid-utils.js";import"./assets/index-chunk12.js";import"./components/menu/menu-divider/menu-divider.js";import"./components/menu/menu-item/menu-item.js";import"./components/menu/menu-submenu/menu-submenu.js";import"./consts/key-constants.js";import"./components/switch/switch.js";import"./components/text-detail/text-detail.js";import"./components/toast/toast.js";import"./components/tooltip/tooltip.js";import"./assets/index-chunk13.js";
|
|
1
|
+
import"./components/alert/gator/base/alert.gator.js";import"./components/alert/gator/subtitle/alert-subtitle.gator.js";import"./components/alert/gator/title/alert-title.gator.js";import"./components/avatar/gator/avatar.gator.js";import"./components/banner/gator/banner.gator.js";import"./components/badge/slds/badge.slds.js";import"./components/badge/gator/badge.gator.js";import"./components/boolean/boolean.gator.js";import"./components/button/slds/button.slds.js";import"./components/button/gator/button.gator.js";import"./components/button-card/gator/button-card.gator.js";import"./components/card/gator/base/card.gator.js";import"./components/card/gator/title/card-title.gator.js";import"./components/card/gator/subtitle/card-subtitle.gator.js";import"./components/card/gator/content/card-content.gator.js";import"./components/card/gator/footer/card-footer.gator.js";import"./components/checkbox/checkbox.gator.js";import"./components/checkbox-group/checkbox-group.gator.js";import"./components/chip/gator/chip.gator.js";import"./components/display-card/gator/display-card.gator.js";import"./components/fab/gator/fab.gator.js";import"./components/headline-card/gator/headline-card.gator.js";import"./components/input/gator/input-label/input-label.gator.js";import"./components/input/gator/help-text/help-text.gator.js";import"./components/input/slds/input-text/input-text.slds.js";import"./components/input/slds/input-error/input-error.slds.js";import"./components/input/slds/input-label/input-label.slds.js";import"./components/icon/slds/icon.slds.js";import"./components/icon/gator/icon.gator.js";import"./components/menu/base/slds/menu.slds.js";import"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import"./components/radio/radio.gator.js";import"./components/radio-group/radio-group.gator.js";import"./components/selection-box/selection-box.gator.js";import"./components/selection-box-group/selection-box-group.gator.js";import"./components/skeleton-loader/gator/skeleton-loader.gator.js";import"./components/switch/gator/switch.gator.js";import"./components/text-detail/gator/text-detail.gator.js";import"./components/toast/gator/toast.gator.js";import"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import"./components/alert/alert.js";import"./assets/index-chunk.js";import"./assets/index-chunk2.js";import"./utils/mixins/attribute-deletion.js";import"./assets/index-chunk3.js";import"./assets/index-chunk4.js";import"./assets/index-chunk5.js";import"./components/icon/gator/templates/arrow-right.js";import"./components/icon/icon-registry.js";import"./components/icon/gator/templates/balloons.js";import"./components/icon/gator/templates/check-circle.js";import"./components/icon/gator/templates/checkbox.js";import"./components/icon/gator/templates/checkbox-selected.js";import"./components/icon/gator/templates/chevron-down.js";import"./components/icon/gator/templates/chevron-right.js";import"./components/icon/gator/templates/chevron-up.js";import"./components/icon/gator/templates/exit.js";import"./components/icon/gator/templates/exit-circle.js";import"./components/icon/gator/templates/info.js";import"./components/icon/gator/templates/picture.js";import"./components/icon/gator/templates/radio.js";import"./components/icon/gator/templates/radio-selected.js";import"./components/icon/gator/templates/restricted.js";import"./components/icon/gator/templates/warning.js";import"./components/avatar/avatar.js";import"./assets/index-chunk7.js";import"./assets/index-chunk8.js";import"./components/banner/banner.js";import"./assets/index-chunk6.js";import"./components/badge/badge.js";import"./utils/string-utils.js";import"./components/button/button.js";import"./components/button-card/button-card.js";import"./components/card/card.js";import"./assets/index-chunk9.js";import"./assets/index-chunk10.js";import"./utils/lightdom-utils.js";import"./components/chip/chip.js";import"./components/display-card/display-card.js";import"./components/fab/fab.js";import"./components/headline-card/headline-card.js";import"./assets/index-chunk11.js";import"./components/input/base/input-base.js";import"./components/icon/icon.js";import"./components/menu/base/menu.js";import"./utils/datatestid-utils.js";import"./assets/index-chunk12.js";import"./components/menu/menu-divider/menu-divider.js";import"./components/menu/menu-item/menu-item.js";import"./components/menu/menu-submenu/menu-submenu.js";import"./consts/key-constants.js";import"./components/switch/switch.js";import"./components/text-detail/text-detail.js";import"./components/toast/toast.js";import"./components/tooltip/tooltip.js";import"./assets/index-chunk13.js";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./components/alert/gator/base/alert.gator.js";import"./components/alert/gator/subtitle/alert-subtitle.gator.js";import"./components/alert/gator/title/alert-title.gator.js";import"./components/badge/slds/badge.slds.js";import"./components/badge/gator/badge.gator.js";import"./components/banner/gator/banner.gator.js";import"./components/boolean/boolean.gator.js";import"./components/button/slds/button.slds.js";import"./components/button/gator/button.gator.js";import"./components/button-card/gator/button-card.gator.js";import"./components/card/gator/base/card.gator.js";import"./components/card/gator/title/card-title.gator.js";import"./components/card/gator/subtitle/card-subtitle.gator.js";import"./components/card/gator/content/card-content.gator.js";import"./components/card/gator/footer/card-footer.gator.js";import"./components/checkbox/checkbox.gator.js";import"./components/checkbox-group/checkbox-group.gator.js";import"./components/chip/gator/chip.gator.js";import"./components/combobox/base/combobox.slds.js";import"./components/combobox/base/combobox.js";import"./components/combobox/combobox-item/combobox-item.slds.js";import"./components/combobox/combobox-item/combobox-item.js";import"./components/display-card/gator/display-card.gator.js";import"./components/fab/gator/fab.gator.js";import"./components/headline-card/gator/headline-card.gator.js";import"./components/icon/slds/icon.slds.js";import"./components/icon/gator/icon.gator.js";import"./components/input-rich-text/input-rich-text.slds.js";import"./components/menu/base/slds/menu.slds.js";import"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import"./components/pill/pill.js";import"./components/radio/radio.gator.js";import"./components/radio-group/radio-group.gator.js";import"./components/scoped-notification/scoped-notification.slds.js";import"./components/selection-box/selection-box.gator.js";import"./components/selection-box-group/selection-box-group.gator.js";import"./components/skeleton-loader/gator/skeleton-loader.gator.js";import"./components/switch/gator/switch.gator.js";import"./components/text-detail/gator/text-detail.gator.js";import"./components/toast/gator/toast.gator.js";import"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import"./components/alert/alert.js";import"./assets/index-chunk.js";import"./assets/index-chunk2.js";import"./utils/mixins/attribute-deletion.js";import"./assets/index-chunk3.js";import"./assets/index-chunk4.js";import"./assets/index-chunk5.js";import"./components/icon/gator/templates/arrow-right.js";import"./components/icon/icon-registry.js";import"./components/icon/gator/templates/balloons.js";import"./components/icon/gator/templates/check-circle.js";import"./components/icon/gator/templates/checkbox.js";import"./components/icon/gator/templates/checkbox-selected.js";import"./components/icon/gator/templates/chevron-right.js";import"./components/icon/gator/templates/exit.js";import"./components/icon/gator/templates/exit-circle.js";import"./components/icon/gator/templates/info.js";import"./components/icon/gator/templates/picture.js";import"./components/icon/gator/templates/radio.js";import"./components/icon/gator/templates/radio-selected.js";import"./components/icon/gator/templates/restricted.js";import"./components/icon/gator/templates/warning.js";import"./assets/index-chunk6.js";import"./components/badge/badge.js";import"./utils/string-utils.js";import"./components/banner/banner.js";import"./assets/index-chunk7.js";import"./assets/index-chunk8.js";import"./components/button/button.js";import"./components/button-card/button-card.js";import"./components/card/card.js";import"./assets/index-chunk9.js";import"./assets/index-chunk10.js";import"./utils/lightdom-utils.js";import"./components/input/gator/input-label/input-label.gator.js";import"./components/input/gator/help-text/help-text.gator.js";import"./components/chip/chip.js";import"./assets/index-chunk11.js";import"./components/input/slds/input-label/input-label.slds.js";import"./components/input/slds/input-error/input-error.slds.js";import"./consts/key-constants.js";import"./components/display-card/display-card.js";import"./components/fab/fab.js";import"./components/headline-card/headline-card.js";import"./components/icon/icon.js";import"./components/input-rich-text/ckeditor-config.js";import"./components/input-rich-text/input-rich-text.js";import"./components/menu/base/menu.js";import"./
|
|
1
|
+
import"./components/alert/gator/base/alert.gator.js";import"./components/alert/gator/subtitle/alert-subtitle.gator.js";import"./components/alert/gator/title/alert-title.gator.js";import"./components/badge/slds/badge.slds.js";import"./components/badge/gator/badge.gator.js";import"./components/banner/gator/banner.gator.js";import"./components/boolean/boolean.gator.js";import"./components/button/slds/button.slds.js";import"./components/button/gator/button.gator.js";import"./components/button-card/gator/button-card.gator.js";import"./components/card/gator/base/card.gator.js";import"./components/card/gator/title/card-title.gator.js";import"./components/card/gator/subtitle/card-subtitle.gator.js";import"./components/card/gator/content/card-content.gator.js";import"./components/card/gator/footer/card-footer.gator.js";import"./components/checkbox/checkbox.gator.js";import"./components/checkbox-group/checkbox-group.gator.js";import"./components/chip/gator/chip.gator.js";import"./components/combobox/base/combobox.slds.js";import"./components/combobox/base/combobox.js";import"./components/combobox/combobox-item/combobox-item.slds.js";import"./components/combobox/combobox-item/combobox-item.js";import"./components/display-card/gator/display-card.gator.js";import"./components/fab/gator/fab.gator.js";import"./components/headline-card/gator/headline-card.gator.js";import"./components/icon/slds/icon.slds.js";import"./components/icon/gator/icon.gator.js";import"./components/input-rich-text/input-rich-text.slds.js";import"./components/menu/base/slds/menu.slds.js";import"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import"./components/pill/pill.js";import"./components/radio/radio.gator.js";import"./components/radio-group/radio-group.gator.js";import"./components/scoped-notification/scoped-notification.slds.js";import"./components/selection-box/selection-box.gator.js";import"./components/selection-box-group/selection-box-group.gator.js";import"./components/skeleton-loader/gator/skeleton-loader.gator.js";import"./components/switch/gator/switch.gator.js";import"./components/text-detail/gator/text-detail.gator.js";import"./components/toast/gator/toast.gator.js";import"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import"./components/alert/alert.js";import"./assets/index-chunk.js";import"./assets/index-chunk2.js";import"./utils/mixins/attribute-deletion.js";import"./assets/index-chunk3.js";import"./assets/index-chunk4.js";import"./assets/index-chunk5.js";import"./components/icon/gator/templates/arrow-right.js";import"./components/icon/icon-registry.js";import"./components/icon/gator/templates/balloons.js";import"./components/icon/gator/templates/check-circle.js";import"./components/icon/gator/templates/checkbox.js";import"./components/icon/gator/templates/checkbox-selected.js";import"./components/icon/gator/templates/chevron-down.js";import"./components/icon/gator/templates/chevron-right.js";import"./components/icon/gator/templates/chevron-up.js";import"./components/icon/gator/templates/exit.js";import"./components/icon/gator/templates/exit-circle.js";import"./components/icon/gator/templates/info.js";import"./components/icon/gator/templates/picture.js";import"./components/icon/gator/templates/radio.js";import"./components/icon/gator/templates/radio-selected.js";import"./components/icon/gator/templates/restricted.js";import"./components/icon/gator/templates/warning.js";import"./assets/index-chunk6.js";import"./components/badge/badge.js";import"./utils/string-utils.js";import"./components/banner/banner.js";import"./assets/index-chunk7.js";import"./assets/index-chunk8.js";import"./components/button/button.js";import"./components/button-card/button-card.js";import"./components/card/card.js";import"./assets/index-chunk9.js";import"./assets/index-chunk10.js";import"./utils/lightdom-utils.js";import"./components/input/gator/input-label/input-label.gator.js";import"./components/input/gator/help-text/help-text.gator.js";import"./components/chip/chip.js";import"./assets/index-chunk11.js";import"./components/input/slds/input-label/input-label.slds.js";import"./components/input/slds/input-error/input-error.slds.js";import"./consts/key-constants.js";import"./utils/datatestid-utils.js";import"./components/display-card/display-card.js";import"./components/fab/fab.js";import"./components/headline-card/headline-card.js";import"./components/icon/icon.js";import"./components/input-rich-text/ckeditor-config.js";import"./components/input-rich-text/input-rich-text.js";import"./components/menu/base/menu.js";import"./assets/index-chunk12.js";import"./components/menu/menu-divider/menu-divider.js";import"./components/menu/menu-item/menu-item.js";import"./components/menu/menu-submenu/menu-submenu.js";import"./components/scoped-notification/scoped-notification.js";import"./components/switch/switch.js";import"./components/text-detail/text-detail.js";import"./components/toast/toast.js";import"./components/tooltip/tooltip.js";import"./assets/index-chunk13.js";
|
package/dist/index.slds.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./components/badge/slds/badge.slds.js";import"./components/badge/gator/badge.gator.js";import"./components/button/slds/button.slds.js";import"./components/button/gator/button.gator.js";import"./components/combobox/base/combobox.slds.js";import"./components/combobox/base/combobox.js";import"./components/combobox/combobox-item/combobox-item.slds.js";import"./components/combobox/combobox-item/combobox-item.js";import"./components/icon/slds/icon.slds.js";import"./components/icon/gator/icon.gator.js";import"./components/input-rich-text/input-rich-text.slds.js";import"./components/menu/base/slds/menu.slds.js";import"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import"./components/pill/pill.js";import"./components/scoped-notification/scoped-notification.slds.js";import"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import"./assets/index-chunk.js";import"./assets/index-chunk6.js";import"./assets/index-chunk3.js";import"./assets/index-chunk2.js";import"./components/badge/badge.js";import"./utils/string-utils.js";import"./assets/index-chunk4.js";import"./assets/index-chunk5.js";import"./components/button/button.js";import"./assets/index-chunk11.js";import"./components/input/slds/input-label/input-label.slds.js";import"./components/input/slds/input-error/input-error.slds.js";import"./consts/key-constants.js";import"./assets/index-chunk7.js";import"./assets/index-chunk8.js";import"./components/icon/icon.js";import"./components/icon/icon-registry.js";import"./components/input-rich-text/ckeditor-config.js";import"./components/input-rich-text/input-rich-text.js";import"./components/menu/base/menu.js";import"./
|
|
1
|
+
import"./components/badge/slds/badge.slds.js";import"./components/badge/gator/badge.gator.js";import"./components/button/slds/button.slds.js";import"./components/button/gator/button.gator.js";import"./components/combobox/base/combobox.slds.js";import"./components/combobox/base/combobox.js";import"./components/combobox/combobox-item/combobox-item.slds.js";import"./components/combobox/combobox-item/combobox-item.js";import"./components/icon/slds/icon.slds.js";import"./components/icon/gator/icon.gator.js";import"./components/input-rich-text/input-rich-text.slds.js";import"./components/menu/base/slds/menu.slds.js";import"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import"./components/pill/pill.js";import"./components/scoped-notification/scoped-notification.slds.js";import"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import"./assets/index-chunk.js";import"./assets/index-chunk6.js";import"./assets/index-chunk3.js";import"./assets/index-chunk2.js";import"./components/badge/badge.js";import"./utils/string-utils.js";import"./assets/index-chunk4.js";import"./assets/index-chunk5.js";import"./components/button/button.js";import"./assets/index-chunk11.js";import"./components/input/slds/input-label/input-label.slds.js";import"./components/input/slds/input-error/input-error.slds.js";import"./consts/key-constants.js";import"./assets/index-chunk7.js";import"./assets/index-chunk8.js";import"./utils/datatestid-utils.js";import"./components/icon/icon.js";import"./components/icon/icon-registry.js";import"./components/input-rich-text/ckeditor-config.js";import"./components/input-rich-text/input-rich-text.js";import"./components/menu/base/menu.js";import"./assets/index-chunk12.js";import"./components/menu/menu-divider/menu-divider.js";import"./components/menu/menu-item/menu-item.js";import"./components/menu/menu-submenu/menu-submenu.js";import"./components/scoped-notification/scoped-notification.js";import"./components/tooltip/tooltip.js";import"./assets/index-chunk13.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class NjcAccordion extends LitElement {
|
|
3
|
+
/**
|
|
4
|
+
@property isExpanded - Expanded state of the accordion
|
|
5
|
+
@type {boolean}
|
|
6
|
+
**/
|
|
7
|
+
isExpanded: boolean;
|
|
8
|
+
/**
|
|
9
|
+
@property title - Title text for the accordion
|
|
10
|
+
@type {String}
|
|
11
|
+
**/
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
@property subtitle - Subtitle text for the accordion
|
|
15
|
+
@type {String}
|
|
16
|
+
**/
|
|
17
|
+
subtitle: string;
|
|
18
|
+
id: string;
|
|
19
|
+
private _randomId;
|
|
20
|
+
get elementId(): string;
|
|
21
|
+
headingLevel: string;
|
|
22
|
+
toggleAccordion(): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NjcAccordion } from '../../accordion.ts';
|
|
2
|
+
/**
|
|
3
|
+
* @slot - The content within the expandable body of the accordion
|
|
4
|
+
*/
|
|
5
|
+
export declare class NgcAccordion extends NjcAccordion {
|
|
6
|
+
static styles: import('lit').CSSResult[];
|
|
7
|
+
render(): import('lit').TemplateResult<1>;
|
|
8
|
+
get headerMarkup(): import('lit').TemplateResult<1> | null;
|
|
9
|
+
get iconName(): "chevron-down" | "chevron-up";
|
|
10
|
+
get contentId(): string;
|
|
11
|
+
get headerId(): string;
|
|
12
|
+
updated(): void;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'ngc-accordion': NgcAccordion;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NjcAccordion } from '../../accordion.ts';
|
|
2
|
+
/**
|
|
3
|
+
* @slot - Accordion elements to be rendered within the accordion group
|
|
4
|
+
*/
|
|
5
|
+
export declare class NgcAccordionGroup extends NjcAccordion {
|
|
6
|
+
/**
|
|
7
|
+
@property multiple - The default functionality of the component is to only display one accordion body at a time; however, with the multiple property, the accordion can remain expanded until explicitly collapsed.
|
|
8
|
+
@type {boolean}
|
|
9
|
+
**/
|
|
10
|
+
multiple: boolean;
|
|
11
|
+
/**
|
|
12
|
+
@property headingLevel - The heading level to be applied to each accordion header in the accordion group.
|
|
13
|
+
@type {string}
|
|
14
|
+
**/
|
|
15
|
+
headingLevel: string;
|
|
16
|
+
static styles: import('lit').CSSResult[];
|
|
17
|
+
firstUpdated(): void;
|
|
18
|
+
updated(): void;
|
|
19
|
+
render(): import('lit').TemplateResult<1>;
|
|
20
|
+
handleExpanded(event: Event): void;
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
'ngc-accordion-group': NgcAccordionGroup;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
File without changes
|
|
@@ -10,6 +10,11 @@ export declare class NjcCombobox extends LitElement {
|
|
|
10
10
|
required: boolean;
|
|
11
11
|
valid: boolean;
|
|
12
12
|
requiredErrorText: string;
|
|
13
|
+
/**
|
|
14
|
+
@description dataTestid - Value to be used for the data-testid attribute
|
|
15
|
+
@property {string}
|
|
16
|
+
*/
|
|
17
|
+
dataTestid: string;
|
|
13
18
|
displayedErrorText: string;
|
|
14
19
|
_comboboxRef: Ref<HTMLElement>;
|
|
15
20
|
selectOption(option: NJC_COMBOBOX_OPTION): void;
|
|
@@ -29,6 +29,7 @@ export declare class NjcSldsCombobox extends NjcCombobox {
|
|
|
29
29
|
dropdownLength: COMBOBOX_DROPDOWN_LENGTH;
|
|
30
30
|
_searchValue: string;
|
|
31
31
|
_generatedId: string;
|
|
32
|
+
updated(): void;
|
|
32
33
|
render(): import('lit').TemplateResult<1>;
|
|
33
34
|
get dropdownLengthClass(): string;
|
|
34
35
|
get optionLabel(): string;
|
|
@@ -42,6 +43,7 @@ export declare class NjcSldsCombobox extends NjcCombobox {
|
|
|
42
43
|
clearValue(): void;
|
|
43
44
|
private _handleAutocompleteInput;
|
|
44
45
|
private get _filteredOptions();
|
|
46
|
+
updateDataTestids(): void;
|
|
45
47
|
}
|
|
46
48
|
declare global {
|
|
47
49
|
interface HTMLElementTagNameMap {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ChevronDown: import('lit').TemplateResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ChevronUp: import('lit').TemplateResult;
|
|
@@ -3,7 +3,9 @@ export * from './balloons';
|
|
|
3
3
|
export * from './check-circle';
|
|
4
4
|
export * from './checkbox';
|
|
5
5
|
export * from './checkbox-selected';
|
|
6
|
+
export * from './chevron-down';
|
|
6
7
|
export * from './chevron-right';
|
|
8
|
+
export * from './chevron-up';
|
|
7
9
|
export * from './exit';
|
|
8
10
|
export * from './exit-circle';
|
|
9
11
|
export * from './info';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { NJC_COMBOBOX_OPTION } from '../components/combobox/combobox-item';
|
|
2
2
|
export declare function generateOptions(numberOfOptions: number | undefined): NJC_COMBOBOX_OPTION[];
|
|
3
|
+
export declare function convertArgsForStorybookCodeExample(code: string, componentTag: string, args: Record<string, any>): string;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
4
|
"packageManager": "pnpm@9.12.1",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.1.0-preview.2",
|
|
6
6
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"registry": "https://registry.npmjs.org/"
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ncino/web-components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0-preview.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1629,6 +1629,10 @@
|
|
|
1629
1629
|
"type": "string",
|
|
1630
1630
|
"default": "'Select an option from the picklist or remove the search term.'"
|
|
1631
1631
|
}
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"name": "data-testid",
|
|
1635
|
+
"value": { "type": "string", "default": "''" }
|
|
1632
1636
|
}
|
|
1633
1637
|
],
|
|
1634
1638
|
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
@@ -1668,6 +1672,7 @@
|
|
|
1668
1672
|
{ "name": "required", "type": "boolean" },
|
|
1669
1673
|
{ "name": "valid", "type": "boolean" },
|
|
1670
1674
|
{ "name": "requiredErrorText", "type": "string" },
|
|
1675
|
+
{ "name": "dataTestid", "type": "string" },
|
|
1671
1676
|
{ "name": "displayedErrorText", "type": "string" },
|
|
1672
1677
|
{ "name": "_comboboxRef", "type": "Ref<HTMLElement>" }
|
|
1673
1678
|
],
|
|
@@ -1782,6 +1787,93 @@
|
|
|
1782
1787
|
],
|
|
1783
1788
|
"events": []
|
|
1784
1789
|
}
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"name": "ngc-accordion",
|
|
1793
|
+
"description": "\n---\n\n\n### **Events:**\n - **eventName**\n\n### **Slots:**\n - _default_ - The content within the expandable body of the accordion",
|
|
1794
|
+
"doc-url": "",
|
|
1795
|
+
"attributes": [
|
|
1796
|
+
{
|
|
1797
|
+
"name": "is-expanded",
|
|
1798
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1799
|
+
},
|
|
1800
|
+
{ "name": "title", "value": { "type": "String", "default": "''" } },
|
|
1801
|
+
{
|
|
1802
|
+
"name": "subtitle",
|
|
1803
|
+
"value": { "type": "String", "default": "''" }
|
|
1804
|
+
},
|
|
1805
|
+
{ "name": "id", "value": { "type": "string", "default": "''" } },
|
|
1806
|
+
{
|
|
1807
|
+
"name": "headingLevel",
|
|
1808
|
+
"value": { "type": "string", "default": "''" }
|
|
1809
|
+
}
|
|
1810
|
+
],
|
|
1811
|
+
"slots": [
|
|
1812
|
+
{
|
|
1813
|
+
"name": "",
|
|
1814
|
+
"description": "The content within the expandable body of the accordion"
|
|
1815
|
+
}
|
|
1816
|
+
],
|
|
1817
|
+
"events": [{ "name": "eventName", "type": "CustomEvent" }],
|
|
1818
|
+
"js": {
|
|
1819
|
+
"properties": [
|
|
1820
|
+
{ "name": "headerMarkup" },
|
|
1821
|
+
{ "name": "iconName" },
|
|
1822
|
+
{ "name": "contentId" },
|
|
1823
|
+
{ "name": "headerId" },
|
|
1824
|
+
{ "name": "isExpanded", "type": "boolean" },
|
|
1825
|
+
{ "name": "title", "type": "String" },
|
|
1826
|
+
{ "name": "subtitle", "type": "String" },
|
|
1827
|
+
{ "name": "id", "type": "string" },
|
|
1828
|
+
{ "name": "elementId" },
|
|
1829
|
+
{ "name": "headingLevel", "type": "string" }
|
|
1830
|
+
],
|
|
1831
|
+
"events": [{ "name": "eventName", "type": "CustomEvent" }]
|
|
1832
|
+
}
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"name": "ngc-accordion-group",
|
|
1836
|
+
"description": "\n---\n\n\n### **Events:**\n - **eventName**\n\n### **Slots:**\n - _default_ - Accordion elements to be rendered within the accordion group",
|
|
1837
|
+
"doc-url": "",
|
|
1838
|
+
"attributes": [
|
|
1839
|
+
{
|
|
1840
|
+
"name": "multiple",
|
|
1841
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"name": "headingLevel",
|
|
1845
|
+
"value": { "type": "string", "default": "''" }
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"name": "is-expanded",
|
|
1849
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1850
|
+
},
|
|
1851
|
+
{ "name": "title", "value": { "type": "String", "default": "''" } },
|
|
1852
|
+
{
|
|
1853
|
+
"name": "subtitle",
|
|
1854
|
+
"value": { "type": "String", "default": "''" }
|
|
1855
|
+
},
|
|
1856
|
+
{ "name": "id", "value": { "type": "string", "default": "''" } }
|
|
1857
|
+
],
|
|
1858
|
+
"slots": [
|
|
1859
|
+
{
|
|
1860
|
+
"name": "",
|
|
1861
|
+
"description": "Accordion elements to be rendered within the accordion group"
|
|
1862
|
+
}
|
|
1863
|
+
],
|
|
1864
|
+
"events": [{ "name": "eventName", "type": "CustomEvent" }],
|
|
1865
|
+
"js": {
|
|
1866
|
+
"properties": [
|
|
1867
|
+
{ "name": "multiple", "type": "boolean" },
|
|
1868
|
+
{ "name": "headingLevel", "type": "string" },
|
|
1869
|
+
{ "name": "isExpanded", "type": "boolean" },
|
|
1870
|
+
{ "name": "title", "type": "String" },
|
|
1871
|
+
{ "name": "subtitle", "type": "String" },
|
|
1872
|
+
{ "name": "id", "type": "string" },
|
|
1873
|
+
{ "name": "elementId" }
|
|
1874
|
+
],
|
|
1875
|
+
"events": [{ "name": "eventName", "type": "CustomEvent" }]
|
|
1876
|
+
}
|
|
1785
1877
|
}
|
|
1786
1878
|
]
|
|
1787
1879
|
},
|