@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.
Files changed (172) hide show
  1. package/dist/_virtual/index2.js +1 -1
  2. package/dist/_virtual/index3.js +1 -1
  3. package/dist/assets/nCino_Avenir.woff2 +0 -0
  4. package/dist/assets/nCino_AvenirBd.woff2 +0 -0
  5. package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
  6. package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
  7. package/dist/components/alert/gator/base/alert.gator.js +1 -1
  8. package/dist/components/banner/gator/banner.gator.js +1 -1
  9. package/dist/components/boolean/boolean.gator.js +5 -5
  10. package/dist/components/button/gator/button.gator.js +1 -1
  11. package/dist/components/button-card/gator/button-card.gator.js +6 -7
  12. package/dist/components/card/gator/base/card.gator.js +2 -2
  13. package/dist/components/card/gator/header/card-header.gator.js +2 -2
  14. package/dist/components/checkbox-group/checkbox-group.gator.js +3 -10
  15. package/dist/components/display-card/gator/display-card.gator.js +26 -49
  16. package/dist/components/headline-card/gator/headline-card.gator.js +3 -3
  17. package/dist/components/icon/gator/icon.gator.js +1 -1
  18. package/dist/components/icon/gator/index.js +1 -1
  19. package/dist/components/icon/gator/templates/flags/flag-kh-cambodia.js +80 -280
  20. package/dist/components/icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js +7 -7
  21. package/dist/components/icon/gator/templates/flags/flag-sa-sudi-arabia.js +11 -28
  22. package/dist/components/icon/gator/templates/index.js +1 -1
  23. package/dist/components/illustration/gator/illustration.gator.js +4 -4
  24. package/dist/components/illustration/gator/templates/add-note.js +1 -1
  25. package/dist/components/illustration/gator/templates/address.js +3 -3
  26. package/dist/components/illustration/gator/templates/appointment-confirmed.js +3 -3
  27. package/dist/components/illustration/gator/templates/assets.js +1 -1
  28. package/dist/components/illustration/gator/templates/auto-money.js +3 -3
  29. package/dist/components/illustration/gator/templates/balloons.js +3 -3
  30. package/dist/components/illustration/gator/templates/bank-account.js +1 -1
  31. package/dist/components/illustration/gator/templates/brief-case.js +1 -1
  32. package/dist/components/illustration/gator/templates/calendar-home.js +3 -3
  33. package/dist/components/illustration/gator/templates/change-data.js +3 -3
  34. package/dist/components/illustration/gator/templates/check-with-pencil.js +3 -3
  35. package/dist/components/illustration/gator/templates/co-borrower.js +1 -1
  36. package/dist/components/illustration/gator/templates/co-borrowers-incomplete.js +1 -1
  37. package/dist/components/illustration/gator/templates/co-borrowers.js +1 -1
  38. package/dist/components/illustration/gator/templates/connectivity.js +1 -1
  39. package/dist/components/illustration/gator/templates/contact-search.js +1 -1
  40. package/dist/components/illustration/gator/templates/conversation-multiple.js +3 -3
  41. package/dist/components/illustration/gator/templates/credit-card.js +3 -3
  42. package/dist/components/illustration/gator/templates/crop-background.js +1 -1
  43. package/dist/components/illustration/gator/templates/crop-page.js +3 -3
  44. package/dist/components/illustration/gator/templates/declarations-legal.js +3 -3
  45. package/dist/components/illustration/gator/templates/deliver.js +1 -1
  46. package/dist/components/illustration/gator/templates/demographic-info.js +3 -3
  47. package/dist/components/illustration/gator/templates/document-add.js +1 -1
  48. package/dist/components/illustration/gator/templates/document-signature.js +1 -1
  49. package/dist/components/illustration/gator/templates/download-app.js +1 -1
  50. package/dist/components/illustration/gator/templates/empty-box.js +1 -1
  51. package/dist/components/illustration/gator/templates/home-search.js +3 -3
  52. package/dist/components/illustration/gator/templates/house-5.js +3 -3
  53. package/dist/components/illustration/gator/templates/house-6.js +3 -3
  54. package/dist/components/illustration/gator/templates/house-fireworks.js +1 -1
  55. package/dist/components/illustration/gator/templates/house-under-construction.js +3 -3
  56. package/dist/components/illustration/gator/templates/house-with-shield.js +3 -3
  57. package/dist/components/illustration/gator/templates/inquiry.js +1 -1
  58. package/dist/components/illustration/gator/templates/locked.js +1 -1
  59. package/dist/components/illustration/gator/templates/make-an-offer.js +1 -1
  60. package/dist/components/illustration/gator/templates/network-error.js +1 -1
  61. package/dist/components/illustration/gator/templates/page-1.js +1 -1
  62. package/dist/components/illustration/gator/templates/page-2.js +1 -1
  63. package/dist/components/illustration/gator/templates/page-3.js +1 -1
  64. package/dist/components/illustration/gator/templates/paper-3.js +3 -3
  65. package/dist/components/illustration/gator/templates/paper-7.js +3 -3
  66. package/dist/components/illustration/gator/templates/person-2.js +3 -3
  67. package/dist/components/illustration/gator/templates/personal-info.js +3 -3
  68. package/dist/components/illustration/gator/templates/price-search.js +3 -3
  69. package/dist/components/illustration/gator/templates/quick-links.js +1 -1
  70. package/dist/components/illustration/gator/templates/register.js +3 -3
  71. package/dist/components/illustration/gator/templates/schedule-home-tour.js +1 -1
  72. package/dist/components/illustration/gator/templates/social-security.js +1 -1
  73. package/dist/components/illustration/gator/templates/start-conversation.js +3 -3
  74. package/dist/components/illustration/gator/templates/status-no-x.js +1 -1
  75. package/dist/components/illustration/gator/templates/status.js +3 -3
  76. package/dist/components/illustration/gator/templates/success.js +3 -3
  77. package/dist/components/illustration/gator/templates/talkluments.js +1 -1
  78. package/dist/components/illustration/gator/templates/thumbs-down-man.js +1 -1
  79. package/dist/components/illustration/gator/templates/transfer.js +1 -1
  80. package/dist/components/illustration/gator/templates/unsecured-line-of-credit.js +3 -3
  81. package/dist/components/illustration/gator/templates/upload-cloud.js +1 -1
  82. package/dist/components/input/base/input-base.gator.js +8 -9
  83. package/dist/components/input/base/input-base.js +1 -1
  84. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +14 -14
  85. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  86. package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +1 -1
  87. package/dist/components/input/gator/input-file/input-file.gator.js +1 -1
  88. package/dist/components/input/gator/input-label/input-label.gator.js +4 -5
  89. package/dist/components/input/gator/input-search/input-search.gator.js +0 -1
  90. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
  91. package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
  92. package/dist/components/input-rich-text/input-rich-text.slds.js +1 -1
  93. package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
  94. package/dist/components/radio/radio.gator.js +5 -5
  95. package/dist/components/radio-group/radio-group.gator.js +5 -13
  96. package/dist/components/selection-box/selection-box.gator.js +1 -1
  97. package/dist/components/selection-box-group/selection-box-group.gator.js +2 -8
  98. package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
  99. package/dist/components/tabs/gator/tabset/tabset.gator.js +3 -3
  100. package/dist/components/text-detail/gator/text-detail.gator.js +11 -17
  101. package/dist/node_modules/.pnpm/react@19.1.1/node_modules/react/index.js +1 -1
  102. package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js +1 -1
  103. package/dist/packages/web-components/public/styles/gator/gator-global-styles.css.js +1 -1
  104. package/dist/packages/web-components/src/components/accordion/gator/base/accordion.gator.scss.js +1 -1
  105. package/dist/packages/web-components/src/components/accordion/gator/group/accordion-group.gator.scss.js +1 -1
  106. package/dist/packages/web-components/src/components/boolean/boolean.gator.scss.js +1 -1
  107. package/dist/packages/web-components/src/components/boolean/boolean.gator.tokens.scss.js +1 -0
  108. package/dist/packages/web-components/src/components/button/gator/button.gator.scss.js +1 -1
  109. package/dist/packages/web-components/src/components/button-card/button-card.tokens.scss.js +1 -0
  110. package/dist/packages/web-components/src/components/button-card/gator/button-card.gator.scss.js +1 -1
  111. package/dist/packages/web-components/src/components/card/card.tokens.scss.js +1 -0
  112. package/dist/packages/web-components/src/components/card/gator/base/card.gator.scss.js +1 -1
  113. package/dist/packages/web-components/src/components/card/gator/content/card-content.gator.scss.js +1 -1
  114. package/dist/packages/web-components/src/components/card/gator/footer/card-footer.gator.scss.js +1 -1
  115. package/dist/packages/web-components/src/components/card/gator/header/card-header.gator.scss.js +1 -1
  116. package/dist/packages/web-components/src/components/card/gator/header/card-header.gator.tokens.scss.js +1 -0
  117. package/dist/packages/web-components/src/components/display-card/gator/display-card.gator.scss.js +1 -1
  118. package/dist/packages/web-components/src/components/headline-card/gator/headline-card.gator.scss.js +1 -1
  119. package/dist/packages/web-components/src/components/headline-card/gator/headline-card.gator.tokens.scss.js +1 -0
  120. package/dist/packages/web-components/src/components/illustration/gator/illustration.gator.scss.js +1 -1
  121. package/dist/packages/web-components/src/components/input/gator/input-label/input-label.gator.scss.js +1 -1
  122. package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
  123. package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js +1 -1
  124. package/dist/packages/web-components/src/components/radio/radio.gator.scss.js +1 -1
  125. package/dist/packages/web-components/src/components/radio/radio.gator.tokens.scss.js +1 -0
  126. package/dist/packages/web-components/src/components/radio-group/radio-group.gator.scss.js +1 -1
  127. package/dist/packages/web-components/src/components/text-detail/gator/text-detail.gator.scss.js +1 -1
  128. package/dist/packages/web-components/src/tokens/primitive.tokens.scss.js +1 -1
  129. package/dist/packages/web-components/src/tokens/semantic-new.tokens.scss.js +1 -1
  130. package/dist/styles/gator/_gator-typography.css +94 -81
  131. package/dist/styles/gator/fonts/nCino+Avenir.woff2 +0 -0
  132. package/dist/styles/gator/fonts/nCino+AvenirBd.woff2 +0 -0
  133. package/dist/styles/gator/fonts.css +13 -1
  134. package/dist/types/components/button-card/gator/button-card.gator.d.ts +0 -9
  135. package/dist/types/components/display-card/gator/display-card.gator.d.ts +5 -9
  136. package/dist/types/components/headline-card/gator/headline-card.gator.d.ts +3 -6
  137. package/dist/types/components/icon/gator/templates/index.d.ts +0 -11
  138. package/dist/types/components/input/base/input-base.d.ts +2 -12
  139. package/dist/types/components/input/base/input-base.gator.d.ts +1 -5
  140. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +1 -1
  141. package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +1 -5
  142. package/dist/types/components/radio-group/radio-group.gator.d.ts +2 -2
  143. package/dist/types/components/tabs/gator/tabset/tabset.gator.d.ts +1 -2
  144. package/dist/types/utils/storybook-args.d.ts +0 -28
  145. package/dist/utils/components/slot-placeholder/slot-placeholder.js +3 -4
  146. package/dist/utils/storybook-args.js +1 -1
  147. package/package.json +1 -2
  148. package/web-types.json +8 -210
  149. package/dist/components/icon/gator/templates/brain.js +0 -8
  150. package/dist/components/icon/gator/templates/document-ai.js +0 -11
  151. package/dist/components/icon/gator/templates/number-0.js +0 -8
  152. package/dist/components/icon/gator/templates/number-10.js +0 -11
  153. package/dist/components/icon/gator/templates/number-4.js +0 -8
  154. package/dist/components/icon/gator/templates/number-5.js +0 -8
  155. package/dist/components/icon/gator/templates/number-6.js +0 -8
  156. package/dist/components/icon/gator/templates/number-7.js +0 -8
  157. package/dist/components/icon/gator/templates/number-8.js +0 -8
  158. package/dist/components/icon/gator/templates/number-9.js +0 -8
  159. package/dist/components/icon/gator/templates/robot.js +0 -17
  160. package/dist/types/components/icon/gator/templates/brain.d.ts +0 -1
  161. package/dist/types/components/icon/gator/templates/document-ai.d.ts +0 -1
  162. package/dist/types/components/icon/gator/templates/number-0.d.ts +0 -1
  163. package/dist/types/components/icon/gator/templates/number-10.d.ts +0 -1
  164. package/dist/types/components/icon/gator/templates/number-4.d.ts +0 -1
  165. package/dist/types/components/icon/gator/templates/number-5.d.ts +0 -1
  166. package/dist/types/components/icon/gator/templates/number-6.d.ts +0 -1
  167. package/dist/types/components/icon/gator/templates/number-7.d.ts +0 -1
  168. package/dist/types/components/icon/gator/templates/number-8.d.ts +0 -1
  169. package/dist/types/components/icon/gator/templates/number-9.d.ts +0 -1
  170. package/dist/types/components/icon/gator/templates/robot.d.ts +0 -1
  171. package/dist/types/utils/components/gradient-background.d.ts +0 -5
  172. 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. By default, displays the required indicator in the label if a label is provided. If you do not want the required indicator to display, use the hideRequired property.
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 | boolean | undefined | null | File | File[] | Date;
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
- protected static primitiveStyles: CSSResult;
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 | true | File | File[] | Date;
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 marked as required.
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> | typeof nothing;
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 i}from"../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as d}from"../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as n}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{css as f}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var v=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p=(m,t,s,r)=>{for(var e=r>1?void 0:r?u(t,s):t,l=m.length-1,a;l>=0;l--)(a=m[l])&&(e=(r?a(t,s,e):a(e))||e);return r&&e&&v(t,s,e),e};let o=class extends d{constructor(){super(...arguments),this.slotName=""}render(){return i`
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?i`<div>Slot Name: ${this.slotName}</div>`:i`<div>Default slot</div>`}};o.styles=[f`
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([c({attribute:"slot-name"})],o.prototype,"slotName",2);o=p([n("slot-placeholder")],o);export{o as SlotPlaceholder};
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"}},control:{type:"boolean"}},hideRequired:{name:"hide-required",description:"Whether the visible required indicator should be hidden from the label when the component is required. This is useful for cases where majority of the fields are required so only the optional fields need to be marked (with the `optional` property).",control:{type:"boolean"},table:{category:"Base Input",defaultValue:{summary:"false"}}},optional:{description:"Whether the component should be marked as optional.",control:{type:"boolean"},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)"}}},d=(t,a)=>{let e,o={};for(e in t)t.hasOwnProperty(e)&&!a.includes(e)&&(o[e]=t[e]);return o},c=(t,a)=>{let e,o={};for(e in t)t.hasOwnProperty(e)&&a.includes(e)&&(o[e]=t[e]);return o};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,d as argsExclude,c as argsOnly};
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.11",
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",