@ncino/web-components 9.0.0-preview.9 → 9.0.1-preview.1

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 (65) hide show
  1. package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
  2. package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
  3. package/dist/components/alert/gator/base/alert.gator.js +1 -1
  4. package/dist/components/banner/gator/banner.gator.js +1 -1
  5. package/dist/components/boolean/boolean.gator.js +6 -3
  6. package/dist/components/button/gator/button.gator.js +3 -3
  7. package/dist/components/button-card/gator/button-card.gator.js +18 -17
  8. package/dist/components/display-card/gator/display-card.gator.js +1 -1
  9. package/dist/components/fab/gator/fab.gator.js +1 -1
  10. package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
  11. package/dist/components/icon/gator/icon.gator.js +1 -1
  12. package/dist/components/icon/gator/index.js +1 -1
  13. package/dist/components/icon/gator/templates/index.js +1 -1
  14. package/dist/components/icon/gator/templates/plugs-connected.js +14 -0
  15. package/dist/components/icon/gator/templates/plugs.js +14 -0
  16. package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
  17. package/dist/components/illustration/gator/illustration.gator.js +1 -1
  18. package/dist/components/illustration/gator/index.js +1 -1
  19. package/dist/components/illustration/gator/templates/condo.js +42 -0
  20. package/dist/components/illustration/gator/templates/family-home.js +38 -0
  21. package/dist/components/illustration/gator/templates/index.js +1 -1
  22. package/dist/components/illustration/gator/templates/town-home.js +54 -0
  23. package/dist/components/image-card/gator/image-card.gator.js +1 -1
  24. package/dist/components/input/base/input-base.gator.js +1 -1
  25. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +9 -9
  26. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  27. package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +1 -1
  28. package/dist/components/input/gator/input-file/input-file.gator.js +1 -1
  29. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
  30. package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
  31. package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
  32. package/dist/components/modal/gator/modal.gator.js +0 -1
  33. package/dist/components/progress-stepper/stepper-item/stepper-item.gator.js +1 -1
  34. package/dist/components/selection-box/selection-box.gator.js +1 -1
  35. package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
  36. package/dist/components/toast/gator/toast-constants.js +1 -0
  37. package/dist/components/toast-container/gator/toast-container.gator.js +8 -4
  38. package/dist/components/toaster/gator/toaster.gator.js +14 -5
  39. package/dist/node_modules/.pnpm/axe-core@4.11.0/node_modules/axe-core/axe.js +1 -1
  40. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/isPossible.js +1 -1
  41. package/dist/node_modules/.pnpm/storybook@10.1.4_@testing-library_dom@10.4.1_prettier@3.7.4_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/storybook/dist/test/index.js +3 -3
  42. package/dist/packages/web-components/src/components/card/gator/base/card.gator.scss.js +1 -1
  43. package/dist/packages/web-components/src/components/card/gator/footer/card-footer.gator.scss.js +1 -1
  44. package/dist/packages/web-components/src/components/input/gator/dropdown/input-dropdown.gator.scss.js +1 -1
  45. package/dist/packages/web-components/src/components/modal/gator/modal.gator.scss.js +1 -1
  46. package/dist/packages/web-components/src/components/text-detail/gator/text-detail.gator.scss.js +1 -1
  47. package/dist/packages/web-components/src/components/toast-container/gator/toast-container.gator.scss.js +1 -1
  48. package/dist/packages/web-components/src/components/toaster/gator/toaster.gator.scss.js +1 -1
  49. package/dist/types/components/button-card/gator/button-card.gator.d.ts +4 -0
  50. package/dist/types/components/icon/gator/templates/index.d.ts +2 -0
  51. package/dist/types/components/icon/gator/templates/plugs-connected.d.ts +1 -0
  52. package/dist/types/components/icon/gator/templates/plugs.d.ts +1 -0
  53. package/dist/types/components/illustration/gator/templates/condo.d.ts +1 -0
  54. package/dist/types/components/illustration/gator/templates/family-home.d.ts +1 -0
  55. package/dist/types/components/illustration/gator/templates/index.d.ts +6 -3
  56. package/dist/types/components/illustration/gator/templates/town-home.d.ts +1 -0
  57. package/dist/types/components/toast/gator/toast-constants.d.ts +8 -0
  58. package/dist/types/components/toaster/gator/toaster.gator.d.ts +12 -4
  59. package/dist/utils/vitest-a11y-utils.js +1 -1
  60. package/package.json +6 -6
  61. package/web-types.json +2 -9
  62. /package/dist/node_modules/.pnpm/{vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_0c91d94893276de308eb5b07cced5df8 → vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_de8744cadc3bcf01c58195dfa0e650cb}/node_modules/vitest/browser/context.js +0 -0
  63. /package/dist/node_modules/.pnpm/{vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_0c91d94893276de308eb5b07cced5df8 → vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_de8744cadc3bcf01c58195dfa0e650cb}/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +0 -0
  64. /package/dist/node_modules/.pnpm/{vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_0c91d94893276de308eb5b07cced5df8 → vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_de8744cadc3bcf01c58195dfa0e650cb}/node_modules/vitest/dist/chunks/utils.DvEY5TfP.js +0 -0
  65. /package/dist/node_modules/.pnpm/{vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_0c91d94893276de308eb5b07cced5df8 → vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_de8744cadc3bcf01c58195dfa0e650cb}/node_modules/vitest/dist/chunks/vi.2VT5v0um.js +0 -0
@@ -0,0 +1 @@
1
+ export declare const FamilyHome: import('lit').TemplateResult;
@@ -10,9 +10,10 @@ export * from './calendar-home';
10
10
  export * from './change-data';
11
11
  export * from './check-with-pencil';
12
12
  export * from './co-borrower';
13
- export * from './co-borrowers-incomplete';
14
13
  export * from './co-borrowers';
14
+ export * from './co-borrowers-incomplete';
15
15
  export * from './commercial';
16
+ export * from './condo';
16
17
  export * from './connectivity';
17
18
  export * from './consumer';
18
19
  export * from './contact-search';
@@ -27,6 +28,7 @@ export * from './document-add';
27
28
  export * from './document-signature';
28
29
  export * from './download-app';
29
30
  export * from './empty-box';
31
+ export * from './family-home';
30
32
  export * from './home-search';
31
33
  export * from './house-5';
32
34
  export * from './house-6';
@@ -53,14 +55,15 @@ export * from './schedule-home-tour';
53
55
  export * from './small-business';
54
56
  export * from './social-security';
55
57
  export * from './start-conversation';
56
- export * from './status-no-x';
57
58
  export * from './status';
59
+ export * from './status-no-x';
58
60
  export * from './success';
59
61
  export * from './talkluments';
60
62
  export * from './thumbs-down-man';
63
+ export * from './town-home';
61
64
  export * from './transfer';
62
65
  export * from './treasury';
63
66
  export * from './unsecured-line-of-credit';
64
67
  export * from './upload-cloud';
65
- export * from './your-bank-placeholder';
66
68
  export * from './your-bank';
69
+ export * from './your-bank-placeholder';
@@ -0,0 +1 @@
1
+ export declare const TownHome: import('lit').TemplateResult;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Duration of toast animations (slide-in and fade-out) in milliseconds
3
+ */
4
+ export declare const TOAST_ANIMATION_DURATION_MS = 300;
5
+ /**
6
+ * Amount of time to wait before officially closing the toast dialog to account for animation timing
7
+ */
8
+ export declare const TOAST_CLOSE_DIALOG_DELAY_MS: number;
@@ -8,14 +8,19 @@ export declare class NgcToaster extends LitElement {
8
8
  static styles: import('lit').CSSResult[];
9
9
  static defaultDuration: number;
10
10
  /**
11
- * Fixed position of the toast container on the screen
12
- */
11
+ * @property position - The position of the toast on the screen
12
+ * @type {ToastContainerPositions}
13
+ **/
13
14
  position: ToastContainerPositions;
14
15
  /**
15
- * Default options for toasts created by this toaster. Can be overridden by the `addToast` method.
16
- */
16
+ * @property defaultToastOptions - Default options for toasts created by this toaster. Can be overridden by the `addToast` method.
17
+ * @type {DefaultToastOptions}
18
+ **/
17
19
  defaultToastOptions: DefaultToastOptions;
18
20
  private _toasts;
21
+ private _dialogOpen;
22
+ private _dialogRef;
23
+ private _closeDialogTimeout;
19
24
  addToast(options: Partial<DefaultToastOptions> & {
20
25
  title?: string;
21
26
  subtitle?: string;
@@ -23,7 +28,10 @@ export declare class NgcToaster extends LitElement {
23
28
  removeToast(id: string): void;
24
29
  clearAll(): void;
25
30
  private handleToastDismiss;
31
+ updated(changedProperties: Map<string | number | symbol, unknown>): void;
32
+ disconnectedCallback(): void;
26
33
  render(): import('lit').TemplateResult<1>;
34
+ private preventDialogClose;
27
35
  }
28
36
  declare global {
29
37
  interface HTMLElementTagNameMap {
@@ -1 +1 @@
1
- import{page as s}from"../node_modules/.pnpm/vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_0c91d94893276de308eb5b07cced5df8/node_modules/vitest/browser/context.js";import n from"../_virtual/axe.js";import{g as o}from"../node_modules/.pnpm/vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_0c91d94893276de308eb5b07cced5df8/node_modules/vitest/dist/chunks/vi.2VT5v0um.js";const d="Supercalifragilisticexpialidocious".repeat(10);async function a(t){return(await n.run(t)).violations}async function p(t){const e=await a(t);o(e,`Expected no axe core violations, but got ${e.length}: ${JSON.stringify(e)}`).toHaveLength(0)}function x(){return s.viewport(320,256)}function g(t){let e;if(t.scrollWidth!==0?e=t:t.shadowRoot?e=t.shadowRoot.firstElementChild:e=t.firstElementChild,e){const r=e.scrollWidth>e.clientWidth;return o(r).toBe(!1)}return o(!0).toBe(!1)}function h(t,e,r){let i=t.querySelector(":focus-visible");if(i||(i=t.shadowRoot?.querySelector(":focus-visible")),i){const l=getComputedStyle(i).getPropertyValue(e);return o(l).toContain(r)}return o(!0).toBe(!1)}export{h as expectComponentFocusStyle,g as expectComponentNotToHaveHorizontalScrollbar,p as expectNoAxeViolations,x as resizeWindowForReflowTest,a as runAxeAndGetViolations,d as superLongStringForReflowTest};
1
+ import{page as s}from"../node_modules/.pnpm/vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_de8744cadc3bcf01c58195dfa0e650cb/node_modules/vitest/browser/context.js";import n from"../_virtual/axe.js";import{g as o}from"../node_modules/.pnpm/vitest@4.0.15_@types_node@24.10.1_@vitest_browser-playwright@4.0.15_@vitest_ui@4.0.15_j_de8744cadc3bcf01c58195dfa0e650cb/node_modules/vitest/dist/chunks/vi.2VT5v0um.js";const d="Supercalifragilisticexpialidocious".repeat(10);async function a(t){return(await n.run(t)).violations}async function p(t){const e=await a(t);o(e,`Expected no axe core violations, but got ${e.length}: ${JSON.stringify(e)}`).toHaveLength(0)}function x(){return s.viewport(320,256)}function g(t){let e;if(t.scrollWidth!==0?e=t:t.shadowRoot?e=t.shadowRoot.firstElementChild:e=t.firstElementChild,e){const r=e.scrollWidth>e.clientWidth;return o(r).toBe(!1)}return o(!0).toBe(!1)}function h(t,e,r){let i=t.querySelector(":focus-visible");if(i||(i=t.shadowRoot?.querySelector(":focus-visible")),i){const l=getComputedStyle(i).getPropertyValue(e);return o(l).toContain(r)}return o(!0).toBe(!1)}export{h as expectComponentFocusStyle,g as expectComponentNotToHaveHorizontalScrollbar,p as expectNoAxeViolations,x as resizeWindowForReflowTest,a as runAxeAndGetViolations,d as superLongStringForReflowTest};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ncino/web-components",
3
3
  "author": "nCino",
4
- "version": "9.0.0-preview.9",
4
+ "version": "9.0.1-preview.1",
5
5
  "license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org/"
@@ -74,7 +74,7 @@
74
74
  "@storybook/addon-links": "^10.1.4",
75
75
  "@storybook/web-components-vite": "^10.1.4",
76
76
  "@types/react": "^19.2.7",
77
- "@typescript-eslint/parser": "^8.49.0",
77
+ "@typescript-eslint/parser": "^8.50.1",
78
78
  "@vitest/browser": "^4.0.15",
79
79
  "@vitest/browser-playwright": "^4.0.15",
80
80
  "@vitest/coverage-v8": "^4.0.15",
@@ -94,20 +94,20 @@
94
94
  "eslint-plugin-storybook": "^10.1.4",
95
95
  "eslint-plugin-yml": "1.19.0",
96
96
  "glob": "^13.0.0",
97
- "jsdom": "27.3.0",
97
+ "jsdom": "27.4.0",
98
98
  "playwright": "1.57.0",
99
99
  "postcss": "^8.5.6",
100
100
  "rimraf": "^6.1.2",
101
- "sass": "1.95.1",
101
+ "sass": "1.97.1",
102
102
  "storybook": "^10.1.4",
103
103
  "storybook-addon-code-editor": "^6.1.0",
104
104
  "typescript": "^5.9.3",
105
- "vite": "7.2.7",
105
+ "vite": "7.3.0",
106
106
  "vite-plugin-dts": "4.5.4",
107
107
  "vite-plugin-static-copy": "^3.1.4",
108
108
  "vitest": "^4.0.15",
109
109
  "yaml-eslint-parser": "^1.3.2",
110
- "@ncino/styles": "9.0.0-preview.9"
110
+ "@ncino/styles": "9.0.1-preview.1"
111
111
  },
112
112
  "peerDependencies": {
113
113
  "@ncino/styles": ">=8.0.0-preview.0"
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": "9.0.0-preview.8",
4
+ "version": "9.0.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -3465,7 +3465,6 @@
3465
3465
  "attributes": [
3466
3466
  {
3467
3467
  "name": "position",
3468
- "description": "Fixed position of the toast container on the screen",
3469
3468
  "value": {
3470
3469
  "type": "'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'",
3471
3470
  "default": "'top-right'"
@@ -3473,7 +3472,6 @@
3473
3472
  },
3474
3473
  {
3475
3474
  "name": "default-toast-options",
3476
- "description": "Default options for toasts created by this toaster. Can be overridden by the `addToast` method.",
3477
3475
  "value": { "type": "DefaultToastOptions", "default": "{}" }
3478
3476
  }
3479
3477
  ],
@@ -3482,14 +3480,9 @@
3482
3480
  "properties": [
3483
3481
  {
3484
3482
  "name": "position",
3485
- "description": "Fixed position of the toast container on the screen",
3486
3483
  "type": "'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'"
3487
3484
  },
3488
- {
3489
- "name": "defaultToastOptions",
3490
- "description": "Default options for toasts created by this toaster. Can be overridden by the `addToast` method.",
3491
- "type": "DefaultToastOptions"
3492
- }
3485
+ { "name": "defaultToastOptions", "type": "DefaultToastOptions" }
3493
3486
  ],
3494
3487
  "events": []
3495
3488
  }