@ncino/web-components 8.0.0-preview.11 → 8.0.0-preview.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index2.js +1 -1
- package/dist/_virtual/index3.js +1 -1
- package/dist/assets/nCino_Avenir.woff2 +0 -0
- package/dist/assets/nCino_AvenirBd.woff2 +0 -0
- package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
- package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
- package/dist/components/alert/gator/base/alert.gator.js +1 -1
- package/dist/components/banner/gator/banner.gator.js +1 -1
- package/dist/components/boolean/boolean.gator.js +5 -5
- package/dist/components/button/gator/button.gator.js +1 -1
- package/dist/components/button-card/gator/button-card.gator.js +6 -7
- package/dist/components/card/gator/base/card.gator.js +2 -2
- package/dist/components/card/gator/header/card-header.gator.js +2 -2
- package/dist/components/checkbox-group/checkbox-group.gator.js +3 -10
- package/dist/components/display-card/gator/display-card.gator.js +26 -49
- package/dist/components/headline-card/gator/headline-card.gator.js +3 -3
- package/dist/components/icon/gator/icon.gator.js +1 -1
- package/dist/components/icon/gator/index.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-kh-cambodia.js +80 -280
- package/dist/components/icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js +7 -7
- package/dist/components/icon/gator/templates/flags/flag-sa-sudi-arabia.js +11 -28
- package/dist/components/icon/gator/templates/index.js +1 -1
- package/dist/components/illustration/gator/illustration.gator.js +4 -4
- package/dist/components/illustration/gator/templates/add-note.js +1 -1
- package/dist/components/illustration/gator/templates/address.js +3 -3
- package/dist/components/illustration/gator/templates/appointment-confirmed.js +3 -3
- package/dist/components/illustration/gator/templates/assets.js +1 -1
- package/dist/components/illustration/gator/templates/auto-money.js +3 -3
- package/dist/components/illustration/gator/templates/balloons.js +3 -3
- package/dist/components/illustration/gator/templates/bank-account.js +1 -1
- package/dist/components/illustration/gator/templates/brief-case.js +1 -1
- package/dist/components/illustration/gator/templates/calendar-home.js +3 -3
- package/dist/components/illustration/gator/templates/change-data.js +3 -3
- package/dist/components/illustration/gator/templates/check-with-pencil.js +3 -3
- package/dist/components/illustration/gator/templates/co-borrower.js +1 -1
- package/dist/components/illustration/gator/templates/co-borrowers-incomplete.js +1 -1
- package/dist/components/illustration/gator/templates/co-borrowers.js +1 -1
- package/dist/components/illustration/gator/templates/connectivity.js +1 -1
- package/dist/components/illustration/gator/templates/contact-search.js +1 -1
- package/dist/components/illustration/gator/templates/conversation-multiple.js +3 -3
- package/dist/components/illustration/gator/templates/credit-card.js +3 -3
- package/dist/components/illustration/gator/templates/crop-background.js +1 -1
- package/dist/components/illustration/gator/templates/crop-page.js +3 -3
- package/dist/components/illustration/gator/templates/declarations-legal.js +3 -3
- package/dist/components/illustration/gator/templates/deliver.js +1 -1
- package/dist/components/illustration/gator/templates/demographic-info.js +3 -3
- package/dist/components/illustration/gator/templates/document-add.js +1 -1
- package/dist/components/illustration/gator/templates/document-signature.js +1 -1
- package/dist/components/illustration/gator/templates/download-app.js +1 -1
- package/dist/components/illustration/gator/templates/empty-box.js +1 -1
- package/dist/components/illustration/gator/templates/home-search.js +3 -3
- package/dist/components/illustration/gator/templates/house-5.js +3 -3
- package/dist/components/illustration/gator/templates/house-6.js +3 -3
- package/dist/components/illustration/gator/templates/house-fireworks.js +1 -1
- package/dist/components/illustration/gator/templates/house-under-construction.js +3 -3
- package/dist/components/illustration/gator/templates/house-with-shield.js +3 -3
- package/dist/components/illustration/gator/templates/inquiry.js +1 -1
- package/dist/components/illustration/gator/templates/locked.js +1 -1
- package/dist/components/illustration/gator/templates/make-an-offer.js +1 -1
- package/dist/components/illustration/gator/templates/network-error.js +1 -1
- package/dist/components/illustration/gator/templates/page-1.js +1 -1
- package/dist/components/illustration/gator/templates/page-2.js +1 -1
- package/dist/components/illustration/gator/templates/page-3.js +1 -1
- package/dist/components/illustration/gator/templates/paper-3.js +3 -3
- package/dist/components/illustration/gator/templates/paper-7.js +3 -3
- package/dist/components/illustration/gator/templates/person-2.js +3 -3
- package/dist/components/illustration/gator/templates/personal-info.js +3 -3
- package/dist/components/illustration/gator/templates/price-search.js +3 -3
- package/dist/components/illustration/gator/templates/quick-links.js +1 -1
- package/dist/components/illustration/gator/templates/register.js +3 -3
- package/dist/components/illustration/gator/templates/schedule-home-tour.js +1 -1
- package/dist/components/illustration/gator/templates/social-security.js +1 -1
- package/dist/components/illustration/gator/templates/start-conversation.js +3 -3
- package/dist/components/illustration/gator/templates/status-no-x.js +1 -1
- package/dist/components/illustration/gator/templates/status.js +3 -3
- package/dist/components/illustration/gator/templates/success.js +3 -3
- package/dist/components/illustration/gator/templates/talkluments.js +1 -1
- package/dist/components/illustration/gator/templates/thumbs-down-man.js +1 -1
- package/dist/components/illustration/gator/templates/transfer.js +1 -1
- package/dist/components/illustration/gator/templates/unsecured-line-of-credit.js +3 -3
- package/dist/components/illustration/gator/templates/upload-cloud.js +1 -1
- package/dist/components/input/base/input-base.gator.js +8 -9
- package/dist/components/input/base/input-base.js +1 -1
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +14 -14
- package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
- package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +1 -1
- package/dist/components/input/gator/input-file/input-file.gator.js +1 -1
- package/dist/components/input/gator/input-label/input-label.gator.js +4 -5
- package/dist/components/input/gator/input-search/input-search.gator.js +0 -1
- package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
- package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
- package/dist/components/input-rich-text/input-rich-text.slds.js +1 -1
- package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
- package/dist/components/radio/radio.gator.js +5 -5
- package/dist/components/radio-group/radio-group.gator.js +5 -13
- package/dist/components/selection-box/selection-box.gator.js +1 -1
- package/dist/components/selection-box-group/selection-box-group.gator.js +2 -8
- package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
- package/dist/components/tabs/gator/tabset/tabset.gator.js +3 -3
- package/dist/components/text-detail/gator/text-detail.gator.js +11 -17
- package/dist/node_modules/.pnpm/react@19.1.1/node_modules/react/index.js +1 -1
- package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js +1 -1
- package/dist/packages/web-components/public/styles/gator/gator-global-styles.css.js +1 -1
- package/dist/packages/web-components/src/components/accordion/gator/base/accordion.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/accordion/gator/group/accordion-group.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/boolean/boolean.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/boolean/boolean.gator.tokens.scss.js +1 -0
- package/dist/packages/web-components/src/components/button/gator/button.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/button-card/button-card.tokens.scss.js +1 -0
- package/dist/packages/web-components/src/components/button-card/gator/button-card.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/card/card.tokens.scss.js +1 -0
- package/dist/packages/web-components/src/components/card/gator/base/card.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/card/gator/content/card-content.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/card/gator/footer/card-footer.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/card/gator/header/card-header.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/card/gator/header/card-header.gator.tokens.scss.js +1 -0
- package/dist/packages/web-components/src/components/display-card/gator/display-card.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/headline-card/gator/headline-card.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/headline-card/gator/headline-card.gator.tokens.scss.js +1 -0
- package/dist/packages/web-components/src/components/illustration/gator/illustration.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/gator/input-label/input-label.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/radio/radio.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/radio/radio.gator.tokens.scss.js +1 -0
- package/dist/packages/web-components/src/components/radio-group/radio-group.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/text-detail/gator/text-detail.gator.scss.js +1 -1
- package/dist/packages/web-components/src/tokens/primitive.tokens.scss.js +1 -1
- package/dist/packages/web-components/src/tokens/semantic-new.tokens.scss.js +1 -1
- package/dist/styles/gator/_gator-typography.css +94 -81
- package/dist/styles/gator/fonts/nCino+Avenir.woff2 +0 -0
- package/dist/styles/gator/fonts/nCino+AvenirBd.woff2 +0 -0
- package/dist/styles/gator/fonts.css +13 -1
- package/dist/types/components/button-card/gator/button-card.gator.d.ts +0 -9
- package/dist/types/components/display-card/gator/display-card.gator.d.ts +5 -9
- package/dist/types/components/headline-card/gator/headline-card.gator.d.ts +3 -6
- package/dist/types/components/icon/gator/templates/index.d.ts +0 -11
- package/dist/types/components/input/base/input-base.d.ts +2 -12
- package/dist/types/components/input/base/input-base.gator.d.ts +1 -5
- package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +1 -1
- package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +1 -5
- package/dist/types/components/radio-group/radio-group.gator.d.ts +2 -2
- package/dist/types/components/tabs/gator/tabset/tabset.gator.d.ts +1 -2
- package/dist/types/utils/storybook-args.d.ts +0 -28
- package/dist/utils/components/slot-placeholder/slot-placeholder.js +3 -4
- package/dist/utils/storybook-args.js +1 -1
- package/package.json +1 -2
- package/web-types.json +8 -210
- package/dist/components/icon/gator/templates/brain.js +0 -8
- package/dist/components/icon/gator/templates/document-ai.js +0 -11
- package/dist/components/icon/gator/templates/number-0.js +0 -8
- package/dist/components/icon/gator/templates/number-10.js +0 -11
- package/dist/components/icon/gator/templates/number-4.js +0 -8
- package/dist/components/icon/gator/templates/number-5.js +0 -8
- package/dist/components/icon/gator/templates/number-6.js +0 -8
- package/dist/components/icon/gator/templates/number-7.js +0 -8
- package/dist/components/icon/gator/templates/number-8.js +0 -8
- package/dist/components/icon/gator/templates/number-9.js +0 -8
- package/dist/components/icon/gator/templates/robot.js +0 -17
- package/dist/types/components/icon/gator/templates/brain.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/document-ai.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/number-0.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/number-10.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/number-4.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/number-5.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/number-6.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/number-7.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/number-8.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/number-9.d.ts +0 -1
- package/dist/types/components/icon/gator/templates/robot.d.ts +0 -1
- package/dist/types/utils/components/gradient-background.d.ts +0 -5
- package/dist/utils/components/gradient-background.js +0 -33
|
@@ -11,20 +11,10 @@ export declare class InputBase extends TestableLitElement {
|
|
|
11
11
|
*/
|
|
12
12
|
id: string;
|
|
13
13
|
/**
|
|
14
|
-
@property required - Whether the input is required
|
|
14
|
+
@property required - Whether the input is required
|
|
15
15
|
@type boolean
|
|
16
16
|
*/
|
|
17
17
|
required: boolean;
|
|
18
|
-
/**
|
|
19
|
-
@property hideRequired - Whether to hide the required indicator in the label. This would be used if the optional property is being used to distinguish between required and optional fields instead of the required text.
|
|
20
|
-
@type boolean
|
|
21
|
-
*/
|
|
22
|
-
hideRequired: boolean;
|
|
23
|
-
/**
|
|
24
|
-
@property optional - Whether the input should be marked as optional
|
|
25
|
-
@type boolean
|
|
26
|
-
*/
|
|
27
|
-
optional: boolean;
|
|
28
18
|
/**
|
|
29
19
|
@property disabled - Whether the input is disabled
|
|
30
20
|
@type boolean
|
|
@@ -58,7 +48,7 @@ export declare class InputBase extends TestableLitElement {
|
|
|
58
48
|
@property value - The value of the rendered input
|
|
59
49
|
@type string | number | undefined | null
|
|
60
50
|
*/
|
|
61
|
-
value: string | number |
|
|
51
|
+
value: string | number | undefined | null | File | File[] | Date;
|
|
62
52
|
/**
|
|
63
53
|
@property errorText - The error text of the rendered input.
|
|
64
54
|
@type string
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { CSSResult } from 'lit';
|
|
2
1
|
import { InputBase } from './input-base.ts';
|
|
3
2
|
import { Ref } from 'lit/directives/ref.js';
|
|
4
3
|
export declare class NgcInputBase extends InputBase {
|
|
5
|
-
|
|
6
|
-
protected static semanticStyles: CSSResult;
|
|
7
|
-
protected static primitiveAndSemanticStyleFilter: (style: CSSResult) => boolean;
|
|
8
|
-
static styles: CSSResult[];
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
9
5
|
controlRef: Ref<HTMLDivElement>;
|
|
10
6
|
protected _startIconAsText: string | undefined;
|
|
11
7
|
protected _ariaDescribedBy: string | undefined;
|
|
@@ -103,7 +103,7 @@ export declare class NgcInputDropdown extends NgcInputBase {
|
|
|
103
103
|
private setupResizeObserver;
|
|
104
104
|
removeSelection(value: string): void;
|
|
105
105
|
get fauxInputMarkup(): import('lit').TemplateResult<1>;
|
|
106
|
-
get displayedValue(): string | number |
|
|
106
|
+
get displayedValue(): string | number | File | File[] | Date;
|
|
107
107
|
get showPlaceholder(): boolean | "";
|
|
108
108
|
get listboxMarkup(): import('lit').TemplateResult<1>;
|
|
109
109
|
get selectAllIcon(): "checkbox-indeterminate" | "checkbox-selected" | "checkbox";
|
|
@@ -10,13 +10,9 @@ export declare class NgcInputLabel extends NgcComponent {
|
|
|
10
10
|
};
|
|
11
11
|
static styles: import('lit').CSSResult[];
|
|
12
12
|
/**
|
|
13
|
-
* @property {boolean} required - Whether the label is
|
|
13
|
+
* @property {boolean} required - Whether the label is required.
|
|
14
14
|
*/
|
|
15
15
|
required: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* @property {boolean} optional - Whether the label is marked as optional.
|
|
18
|
-
*/
|
|
19
|
-
optional: boolean;
|
|
20
16
|
/**
|
|
21
17
|
* @property {boolean} disabled - Whether the label is disabled.
|
|
22
18
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ref } from 'lit/directives/ref.js';
|
|
2
|
-
import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
|
|
3
1
|
import { NgcRadio } from '../radio/radio.gator';
|
|
2
|
+
import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
|
|
3
|
+
import { Ref } from 'lit/directives/ref.js';
|
|
4
4
|
/**
|
|
5
5
|
* @slot - The radios within the group
|
|
6
6
|
*/
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { nothing } from 'lit';
|
|
2
1
|
import { NgcTab } from '../tab/tab.gator.ts';
|
|
3
2
|
import { Ref } from 'lit/directives/ref.js';
|
|
4
3
|
import { TestableLitElement } from '../../../../utils/components/testable-lit-element/testable-lit-element.ts';
|
|
@@ -24,7 +23,7 @@ export declare class NgcTabset extends TestableLitElement {
|
|
|
24
23
|
_contentRef: Ref<HTMLDivElement>;
|
|
25
24
|
_tablistRef: Ref<HTMLDivElement>;
|
|
26
25
|
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
27
|
-
render(): import('lit').TemplateResult<1
|
|
26
|
+
render(): import('lit').TemplateResult<1>;
|
|
28
27
|
get tabSizeClass(): string;
|
|
29
28
|
get tabContainerSizeClass(): string;
|
|
30
29
|
get tabSpacerClass(): "" | "gator-tabset-spacer";
|
|
@@ -67,34 +67,6 @@ export declare const INPUT_BASE_ARGS: {
|
|
|
67
67
|
summary: string;
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
control: {
|
|
71
|
-
type: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
hideRequired: {
|
|
75
|
-
name: string;
|
|
76
|
-
description: string;
|
|
77
|
-
control: {
|
|
78
|
-
type: string;
|
|
79
|
-
};
|
|
80
|
-
table: {
|
|
81
|
-
category: string;
|
|
82
|
-
defaultValue: {
|
|
83
|
-
summary: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
optional: {
|
|
88
|
-
description: string;
|
|
89
|
-
control: {
|
|
90
|
-
type: string;
|
|
91
|
-
};
|
|
92
|
-
table: {
|
|
93
|
-
category: string;
|
|
94
|
-
defaultValue: {
|
|
95
|
-
summary: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
70
|
};
|
|
99
71
|
disabled: {
|
|
100
72
|
description: string;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as
|
|
1
|
+
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as m}from"../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as n}from"../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as d}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as f}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{css as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=(i,t,s,r)=>{for(var e=r>1?void 0:r?v(t,s):t,a=i.length-1,l;a>=0;a--)(l=i[a])&&(e=(r?l(t,s,e):l(e))||e);return r&&e&&u(t,s,e),e};let o=class extends n{constructor(){super(...arguments),this.slotName=""}render(){return m`
|
|
2
2
|
<div class="slot-placeholder">
|
|
3
3
|
${this.namedSlotMarkup}
|
|
4
4
|
</div>
|
|
5
|
-
`}get namedSlotMarkup(){return this.slotName?
|
|
5
|
+
`}get namedSlotMarkup(){return this.slotName?m`<div>Slot Name: ${this.slotName}</div>`:m`<div>Default slot</div>`}};o.styles=[c`
|
|
6
6
|
.slot-placeholder {
|
|
7
|
-
display: var(--slot-placeholder-display, block);
|
|
8
7
|
background: #D8C3F3;
|
|
9
8
|
border: 1px dashed #9747FF;
|
|
10
9
|
border-radius: 0.5rem;
|
|
@@ -14,4 +13,4 @@ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit
|
|
|
14
13
|
color: #6F1FC3;
|
|
15
14
|
text-align: center;
|
|
16
15
|
}
|
|
17
|
-
`];p([
|
|
16
|
+
`];p([f({attribute:"slot-name"})],o.prototype,"slotName",2);o=p([d("slot-placeholder")],o);export{o as SlotPlaceholder};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const n={errorText:{name:"error-text",description:"Custom error message to be displayed. This value overrides any native or internal error messaging. If this is set, the component will be styled in an error state.",table:{category:"Base Input",defaultValue:{summary:""}}},helpText:{name:"help-text",description:"Custom help text to be displayed inline below the component.",table:{category:"Base Input",defaultValue:{summary:""}}},placeholder:{description:"Placeholder text to be displayed in the input.",table:{category:"Base Input",defaultValue:{summary:""}}},value:{description:"Value of the component.",table:{category:"Base Input",defaultValue:{summary:"undefined"}}},label:{description:"Visible label for the component. This is the gold standard, best practice way to label an input for built in accessibility support. If this is not set, you must set the ariaLabelledByElements property for correct programmatic association between your custom label and the input element.",table:{category:"Base Input",defaultValue:{summary:""}}},ariaLabelledByElements:{name:"aria-labelled-by-elements",description:"Used to programmatically associate a custom label to the input. This should only be used when you are using a custom label outside of the ngc input component due to limitations of the shadow dom. Accepts a list of elements. For more information on ARIA element reflection, see [here](https://wicg.github.io/aom/aria-reflection-explainer.html).",type:{summary:"Element[]"},table:{category:"Base Input",defaultValue:{summary:""}}},required:{description:"Whether the component is required.",table:{category:"Base Input",defaultValue:{summary:"false"}}
|
|
1
|
+
const n={errorText:{name:"error-text",description:"Custom error message to be displayed. This value overrides any native or internal error messaging. If this is set, the component will be styled in an error state.",table:{category:"Base Input",defaultValue:{summary:""}}},helpText:{name:"help-text",description:"Custom help text to be displayed inline below the component.",table:{category:"Base Input",defaultValue:{summary:""}}},placeholder:{description:"Placeholder text to be displayed in the input.",table:{category:"Base Input",defaultValue:{summary:""}}},value:{description:"Value of the component.",table:{category:"Base Input",defaultValue:{summary:"undefined"}}},label:{description:"Visible label for the component. This is the gold standard, best practice way to label an input for built in accessibility support. If this is not set, you must set the ariaLabelledByElements property for correct programmatic association between your custom label and the input element.",table:{category:"Base Input",defaultValue:{summary:""}}},ariaLabelledByElements:{name:"aria-labelled-by-elements",description:"Used to programmatically associate a custom label to the input. This should only be used when you are using a custom label outside of the ngc input component due to limitations of the shadow dom. Accepts a list of elements. For more information on ARIA element reflection, see [here](https://wicg.github.io/aom/aria-reflection-explainer.html).",type:{summary:"Element[]"},table:{category:"Base Input",defaultValue:{summary:""}}},required:{description:"Whether the component is required.",table:{category:"Base Input",defaultValue:{summary:"false"}}},disabled:{description:"Whether the component is disabled.",table:{category:"Base Input",defaultValue:{summary:"false"}}},readonly:{description:"Whether the component is readonly.",table:{category:"Base Input",defaultValue:{summary:"false"}}},id:{description:"Unique ID for the component. Required for accessibility.",table:{category:"Base Input",defaultValue:{summary:""}}},minLength:{name:"min-length",description:"The minimum length of the input value. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength).",control:"number",table:{category:"Base Input",defaultValue:{summary:""}}},maxLength:{name:"max-length",description:"The maximum length of the input value. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength).",control:"number",table:{category:"Base Input",defaultValue:{summary:""}}}},i={pattern:{description:"The pattern attribute to be passed to the input. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern).",control:"text",table:{defaultValue:{summary:"undefined"}}}},r={min:{description:"The min attribute defines the minimum value that is acceptable and valid for the input containing the attribute. If the value of the element is less than this, the element fails validation. This value must be less than or equal to the value of the max attribute. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min).",control:"string"},max:{description:"The max attribute defines the maximum value that is acceptable and valid for the input containing the attribute. If the value of the element is greater than this, the element fails validation. This value must be greater than or equal to the value of the min attribute. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max).",control:"string"},step:{description:"The step attribute to be passed to the input for number inputs. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step).",control:"number",table:{defaultValue:{summary:"1"}}}},l={ariaDescription:{name:"aria-description",description:"The aria-description attribute for the component."}},s={skeleton:{description:"Whether the component should be rendered in a skeleton/loading state.",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}}},u={startIcon:{name:"start-icon",description:"Icon to be displayed at the start of the component. Should be a valid icon name from the [icon library](?path=/story/components-icon--gator-icon-list).",control:{type:"text"},table:{category:"Optional Icon(s)"}}},m={endIcon:{name:"end-icon",description:"Icon to be displayed at the end of the component. Should be a valid icon name from the [icon library](?path=/story/components-icon--gator-icon-list).",control:{type:"text"},table:{category:"Optional Icon(s)"}}},c=(t,o)=>{let e,a={};for(e in t)t.hasOwnProperty(e)&&!o.includes(e)&&(a[e]=t[e]);return a},d=(t,o)=>{let e,a={};for(e in t)t.hasOwnProperty(e)&&o.includes(e)&&(a[e]=t[e]);return a};export{m as END_ICON_ARG,l as INPUT_A11Y_ARGS,n as INPUT_BASE_ARGS,r as INPUT_NUMERIC_ARGS,i as INPUT_TEXT_ARGS,s as SKELETON_ARG,u as START_ICON_ARG,c as argsExclude,d as argsOnly};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "8.0.0-preview.
|
|
4
|
+
"version": "8.0.0-preview.3",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
"dependencies:update:minor": "pnpm dlx npm-check-updates -u --target minor",
|
|
68
68
|
"figma-connect-single": "node scripts/figma-connect-single.js",
|
|
69
69
|
"lint": "eslint .",
|
|
70
|
-
"lint:fix": "eslint . --fix",
|
|
71
70
|
"localize:extract": "lit-localize extract",
|
|
72
71
|
"localize:build": "lit-localize build",
|
|
73
72
|
"preview": "vite preview",
|