@ncino/web-components 8.0.0-preview.2 → 8.0.0-preview.21

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 (217) hide show
  1. package/dist/_virtual/index2.js +1 -1
  2. package/dist/_virtual/index3.js +1 -1
  3. package/dist/_virtual/index5.js +1 -1
  4. package/dist/_virtual/index6.js +1 -1
  5. package/dist/components/accordion/gator/base/accordion.gator.js +47 -28
  6. package/dist/components/accordion/gator/group/accordion-group.gator.js +2 -2
  7. package/dist/components/alert/gator/base/alert.gator.js +3 -3
  8. package/dist/components/avatar/gator/avatar.gator.js +5 -5
  9. package/dist/components/banner/gator/banner.gator.js +1 -1
  10. package/dist/components/boolean/boolean.gator.js +5 -5
  11. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +3 -3
  12. package/dist/components/button/gator/button.gator.js +1 -1
  13. package/dist/components/button-card/gator/button-card.gator.js +7 -6
  14. package/dist/components/card/gator/base/card.gator.js +2 -2
  15. package/dist/components/card/gator/header/card-header.gator.js +2 -2
  16. package/dist/components/checkbox/checkbox.gator.js +11 -8
  17. package/dist/components/checkbox-group/checkbox-group.gator.js +10 -3
  18. package/dist/components/display-card/gator/display-card.gator.js +49 -26
  19. package/dist/components/fab/gator/fab.gator.js +1 -1
  20. package/dist/components/headline-card/gator/headline-card.gator.js +3 -3
  21. package/dist/components/icon/gator/icon.gator.js +2 -2
  22. package/dist/components/icon/gator/index.js +1 -1
  23. package/dist/components/icon/gator/templates/brain.js +8 -0
  24. package/dist/components/icon/gator/templates/document-ai.js +11 -0
  25. package/dist/components/icon/gator/templates/flags/flag-kh-cambodia.js +280 -80
  26. package/dist/components/icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js +7 -7
  27. package/dist/components/icon/gator/templates/flags/flag-sa-sudi-arabia.js +28 -11
  28. package/dist/components/icon/gator/templates/index.js +1 -1
  29. package/dist/components/icon/gator/templates/number-0.js +8 -0
  30. package/dist/components/icon/gator/templates/number-10.js +11 -0
  31. package/dist/components/icon/gator/templates/number-4.js +8 -0
  32. package/dist/components/icon/gator/templates/number-5.js +8 -0
  33. package/dist/components/icon/gator/templates/number-6.js +8 -0
  34. package/dist/components/icon/gator/templates/number-7.js +8 -0
  35. package/dist/components/icon/gator/templates/number-8.js +8 -0
  36. package/dist/components/icon/gator/templates/number-9.js +8 -0
  37. package/dist/components/icon/gator/templates/robot.js +17 -0
  38. package/dist/components/illustration/gator/illustration.gator.js +4 -4
  39. package/dist/components/illustration/gator/templates/add-note.js +1 -1
  40. package/dist/components/illustration/gator/templates/address.js +3 -3
  41. package/dist/components/illustration/gator/templates/appointment-confirmed.js +3 -3
  42. package/dist/components/illustration/gator/templates/assets.js +1 -1
  43. package/dist/components/illustration/gator/templates/auto-money.js +3 -3
  44. package/dist/components/illustration/gator/templates/balloons.js +3 -3
  45. package/dist/components/illustration/gator/templates/bank-account.js +1 -1
  46. package/dist/components/illustration/gator/templates/brief-case.js +1 -1
  47. package/dist/components/illustration/gator/templates/calendar-home.js +3 -3
  48. package/dist/components/illustration/gator/templates/change-data.js +3 -3
  49. package/dist/components/illustration/gator/templates/check-with-pencil.js +3 -3
  50. package/dist/components/illustration/gator/templates/co-borrower.js +1 -1
  51. package/dist/components/illustration/gator/templates/co-borrowers-incomplete.js +1 -1
  52. package/dist/components/illustration/gator/templates/co-borrowers.js +1 -1
  53. package/dist/components/illustration/gator/templates/connectivity.js +1 -1
  54. package/dist/components/illustration/gator/templates/contact-search.js +1 -1
  55. package/dist/components/illustration/gator/templates/conversation-multiple.js +3 -3
  56. package/dist/components/illustration/gator/templates/credit-card.js +3 -3
  57. package/dist/components/illustration/gator/templates/crop-background.js +1 -1
  58. package/dist/components/illustration/gator/templates/crop-page.js +3 -3
  59. package/dist/components/illustration/gator/templates/declarations-legal.js +3 -3
  60. package/dist/components/illustration/gator/templates/deliver.js +1 -1
  61. package/dist/components/illustration/gator/templates/demographic-info.js +3 -3
  62. package/dist/components/illustration/gator/templates/document-add.js +1 -1
  63. package/dist/components/illustration/gator/templates/document-signature.js +1 -1
  64. package/dist/components/illustration/gator/templates/download-app.js +1 -1
  65. package/dist/components/illustration/gator/templates/empty-box.js +1 -1
  66. package/dist/components/illustration/gator/templates/home-search.js +3 -3
  67. package/dist/components/illustration/gator/templates/house-5.js +3 -3
  68. package/dist/components/illustration/gator/templates/house-6.js +3 -3
  69. package/dist/components/illustration/gator/templates/house-fireworks.js +1 -1
  70. package/dist/components/illustration/gator/templates/house-under-construction.js +3 -3
  71. package/dist/components/illustration/gator/templates/house-with-shield.js +3 -3
  72. package/dist/components/illustration/gator/templates/inquiry.js +1 -1
  73. package/dist/components/illustration/gator/templates/locked.js +1 -1
  74. package/dist/components/illustration/gator/templates/make-an-offer.js +1 -1
  75. package/dist/components/illustration/gator/templates/network-error.js +1 -1
  76. package/dist/components/illustration/gator/templates/page-1.js +1 -1
  77. package/dist/components/illustration/gator/templates/page-2.js +1 -1
  78. package/dist/components/illustration/gator/templates/page-3.js +1 -1
  79. package/dist/components/illustration/gator/templates/paper-3.js +3 -3
  80. package/dist/components/illustration/gator/templates/paper-7.js +3 -3
  81. package/dist/components/illustration/gator/templates/person-2.js +3 -3
  82. package/dist/components/illustration/gator/templates/personal-info.js +3 -3
  83. package/dist/components/illustration/gator/templates/price-search.js +3 -3
  84. package/dist/components/illustration/gator/templates/quick-links.js +1 -1
  85. package/dist/components/illustration/gator/templates/register.js +3 -3
  86. package/dist/components/illustration/gator/templates/schedule-home-tour.js +1 -1
  87. package/dist/components/illustration/gator/templates/social-security.js +1 -1
  88. package/dist/components/illustration/gator/templates/start-conversation.js +3 -3
  89. package/dist/components/illustration/gator/templates/status-no-x.js +1 -1
  90. package/dist/components/illustration/gator/templates/status.js +3 -3
  91. package/dist/components/illustration/gator/templates/success.js +3 -3
  92. package/dist/components/illustration/gator/templates/talkluments.js +1 -1
  93. package/dist/components/illustration/gator/templates/thumbs-down-man.js +1 -1
  94. package/dist/components/illustration/gator/templates/transfer.js +1 -1
  95. package/dist/components/illustration/gator/templates/unsecured-line-of-credit.js +3 -3
  96. package/dist/components/illustration/gator/templates/upload-cloud.js +1 -1
  97. package/dist/components/input/base/input-base.gator.js +9 -8
  98. package/dist/components/input/base/input-base.js +1 -1
  99. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +14 -14
  100. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  101. package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +1 -1
  102. package/dist/components/input/gator/input-file/input-file.gator.js +1 -1
  103. package/dist/components/input/gator/input-label/input-label.gator.js +5 -4
  104. package/dist/components/input/gator/input-search/input-search.gator.js +1 -0
  105. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
  106. package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
  107. package/dist/components/input-rich-text/ckeditor-config.js +1 -1
  108. package/dist/components/input-rich-text/input-rich-text.slds.js +3 -3
  109. package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
  110. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  111. package/dist/components/radio/radio.gator.js +5 -5
  112. package/dist/components/radio-group/radio-group.gator.js +13 -5
  113. package/dist/components/selection-box/selection-box.gator.js +1 -1
  114. package/dist/components/selection-box-group/selection-box-group.gator.js +8 -2
  115. package/dist/components/switch/gator/switch.gator.js +17 -6
  116. package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
  117. package/dist/components/tabs/gator/tabset/tabset.gator.js +3 -3
  118. package/dist/components/text-detail/gator/text-detail.gator.js +17 -11
  119. package/dist/components/text-link/gator/text-link.gator.js +1 -1
  120. package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
  121. package/dist/node_modules/.pnpm/react@19.1.1/node_modules/react/index.js +1 -1
  122. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/index.js +1 -1
  123. package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js +1 -1
  124. package/dist/packages/web-components/public/styles/gator/gator-global-styles.css.js +1 -1
  125. package/dist/packages/web-components/src/components/accordion/gator/base/accordion.gator.scss.js +1 -1
  126. package/dist/packages/web-components/src/components/accordion/gator/group/accordion-group.gator.scss.js +1 -1
  127. package/dist/packages/web-components/src/components/alert/gator/base/alert.gator.scss.js +1 -1
  128. package/dist/packages/web-components/src/components/alert/gator/subtitle/alert-subtitle.gator.scss.js +1 -1
  129. package/dist/packages/web-components/src/components/alert/gator/title/alert-title.gator.scss.js +1 -1
  130. package/dist/packages/web-components/src/components/avatar/gator/avatar.gator.scss.js +1 -1
  131. package/dist/packages/web-components/src/components/badge/gator/badge.gator.scss.js +1 -1
  132. package/dist/packages/web-components/src/components/boolean/boolean.gator.scss.js +1 -1
  133. package/dist/packages/web-components/src/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.scss.js +1 -1
  134. package/dist/packages/web-components/src/components/button/gator/button.gator.scss.js +1 -1
  135. package/dist/packages/web-components/src/components/button-card/gator/button-card.gator.scss.js +1 -1
  136. package/dist/packages/web-components/src/components/card/gator/base/card.gator.scss.js +1 -1
  137. package/dist/packages/web-components/src/components/card/gator/content/card-content.gator.scss.js +1 -1
  138. package/dist/packages/web-components/src/components/card/gator/footer/card-footer.gator.scss.js +1 -1
  139. package/dist/packages/web-components/src/components/card/gator/header/card-header.gator.scss.js +1 -1
  140. package/dist/packages/web-components/src/components/checkbox/checkbox.gator.scss.js +1 -1
  141. package/dist/packages/web-components/src/components/display-card/gator/display-card.gator.scss.js +1 -1
  142. package/dist/packages/web-components/src/components/fab/gator/fab.gator.scss.js +1 -1
  143. package/dist/packages/web-components/src/components/headline-card/gator/headline-card.gator.scss.js +1 -1
  144. package/dist/packages/web-components/src/components/icon/gator/icon.gator.scss.js +1 -1
  145. package/dist/packages/web-components/src/components/illustration/gator/illustration.gator.scss.js +1 -1
  146. package/dist/packages/web-components/src/components/input/gator/help-text/help-text.gator.scss.js +1 -1
  147. package/dist/packages/web-components/src/components/input/gator/input-file/input-file.gator.scss.js +1 -1
  148. package/dist/packages/web-components/src/components/input/gator/input-label/input-label.gator.scss.js +1 -1
  149. package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
  150. package/dist/packages/web-components/src/components/menu/base/gator/menu.gator.scss.js +1 -1
  151. package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js +1 -1
  152. package/dist/packages/web-components/src/components/radio/radio.gator.scss.js +1 -1
  153. package/dist/packages/web-components/src/components/radio-group/radio-group.gator.scss.js +1 -1
  154. package/dist/packages/web-components/src/components/switch/gator/switch.gator.scss.js +1 -1
  155. package/dist/packages/web-components/src/components/text-detail/gator/text-detail.gator.scss.js +1 -1
  156. package/dist/packages/web-components/src/components/text-link/gator/text-link.gator.scss.js +1 -1
  157. package/dist/packages/web-components/src/tokens/primitive.tokens.scss.js +1 -1
  158. package/dist/packages/web-components/src/tokens/semantic-new.tokens.scss.js +1 -1
  159. package/dist/styles/gator/_gator-typography.css +81 -94
  160. package/dist/styles/gator/fonts.css +1 -13
  161. package/dist/types/components/accordion/gator/base/accordion.gator.d.ts +1 -0
  162. package/dist/types/components/accordion/gator/group/accordion-group.gator.d.ts +8 -3
  163. package/dist/types/components/button-card/gator/button-card.gator.d.ts +9 -0
  164. package/dist/types/components/display-card/gator/display-card.gator.d.ts +9 -5
  165. package/dist/types/components/headline-card/gator/headline-card.gator.d.ts +6 -3
  166. package/dist/types/components/icon/gator/templates/brain.d.ts +1 -0
  167. package/dist/types/components/icon/gator/templates/document-ai.d.ts +1 -0
  168. package/dist/types/components/icon/gator/templates/index.d.ts +11 -0
  169. package/dist/types/components/icon/gator/templates/number-0.d.ts +1 -0
  170. package/dist/types/components/icon/gator/templates/number-10.d.ts +1 -0
  171. package/dist/types/components/icon/gator/templates/number-4.d.ts +1 -0
  172. package/dist/types/components/icon/gator/templates/number-5.d.ts +1 -0
  173. package/dist/types/components/icon/gator/templates/number-6.d.ts +1 -0
  174. package/dist/types/components/icon/gator/templates/number-7.d.ts +1 -0
  175. package/dist/types/components/icon/gator/templates/number-8.d.ts +1 -0
  176. package/dist/types/components/icon/gator/templates/number-9.d.ts +1 -0
  177. package/dist/types/components/icon/gator/templates/robot.d.ts +1 -0
  178. package/dist/types/components/input/base/input-base.d.ts +12 -2
  179. package/dist/types/components/input/base/input-base.gator.d.ts +5 -1
  180. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +1 -1
  181. package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +5 -1
  182. package/dist/types/components/radio-group/radio-group.gator.d.ts +2 -2
  183. package/dist/types/components/switch/gator/switch.gator.d.ts +1 -0
  184. package/dist/types/components/tabs/gator/tabset/tabset.gator.d.ts +2 -1
  185. package/dist/types/utils/components/gradient-background.d.ts +5 -0
  186. package/dist/types/utils/components/ngc-component.d.ts +5 -1
  187. package/dist/types/utils/storybook-args.d.ts +28 -0
  188. package/dist/utils/components/gradient-background.js +33 -0
  189. package/dist/utils/components/ngc-component.js +1 -1
  190. package/dist/utils/components/slot-placeholder/slot-placeholder.js +4 -3
  191. package/dist/utils/storybook-args.js +1 -1
  192. package/dist/utils/vitest-a11y-utils.js +1 -1
  193. package/package.json +7 -6
  194. package/web-types.json +220 -8
  195. package/dist/assets/nCino_Avenir.woff2 +0 -0
  196. package/dist/assets/nCino_AvenirBd.woff2 +0 -0
  197. package/dist/packages/web-components/src/components/alert/gator/alert.tokens.scss.js +0 -1
  198. package/dist/packages/web-components/src/components/avatar/avatar.tokens.scss.js +0 -1
  199. package/dist/packages/web-components/src/components/boolean/boolean.gator.tokens.scss.js +0 -1
  200. package/dist/packages/web-components/src/components/breadcrumbs/gator/breadcrumbs.gator.tokens.scss.js +0 -1
  201. package/dist/packages/web-components/src/components/button-card/button-card.tokens.scss.js +0 -1
  202. package/dist/packages/web-components/src/components/card/card.tokens.scss.js +0 -1
  203. package/dist/packages/web-components/src/components/card/gator/header/card-header.gator.tokens.scss.js +0 -1
  204. package/dist/packages/web-components/src/components/headline-card/gator/headline-card.gator.tokens.scss.js +0 -1
  205. package/dist/packages/web-components/src/components/radio/radio.gator.tokens.scss.js +0 -1
  206. package/dist/packages/web-components/src/components/switch/switch.tokens.scss.js +0 -1
  207. package/dist/styles/gator/fonts/nCino+Avenir.woff2 +0 -0
  208. package/dist/styles/gator/fonts/nCino+AvenirBd.woff2 +0 -0
  209. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.1_typescript@5.9.2__playwright@1.55.0__87f0b62113e4cf466e19137faba4c80e → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.5.2_typescript@5.9.2__playwright@1.55.0__9d4398eee1ca9f4e5bc66c38c44c1a42}/node_modules/@vitest/browser/context.js +0 -0
  210. /package/dist/node_modules/.pnpm/{storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.5.2_typescript@5.9_67ef7f987bab6bd2ad2f459ed781a73a}/node_modules/storybook/dist/client-logger/index.js +0 -0
  211. /package/dist/node_modules/.pnpm/{storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.5.2_typescript@5.9_67ef7f987bab6bd2ad2f459ed781a73a}/node_modules/storybook/dist/core-events/index.js +0 -0
  212. /package/dist/node_modules/.pnpm/{storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.5.2_typescript@5.9_67ef7f987bab6bd2ad2f459ed781a73a}/node_modules/storybook/dist/instrumenter/index.js +0 -0
  213. /package/dist/node_modules/.pnpm/{storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.5.2_typescript@5.9_67ef7f987bab6bd2ad2f459ed781a73a}/node_modules/storybook/dist/test/index.js +0 -0
  214. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.5.2_@vitest_browser@3.2.4_@vitest_ui@3._ca089e2e148b21550246e36bcfc837cf}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  215. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.5.2_@vitest_browser@3.2.4_@vitest_ui@3._ca089e2e148b21550246e36bcfc837cf}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
  216. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.5.2_@vitest_browser@3.2.4_@vitest_ui@3._ca089e2e148b21550246e36bcfc837cf}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
  217. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.5.2_@vitest_browser@3.2.4_@vitest_ui@3._ca089e2e148b21550246e36bcfc837cf}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
@@ -0,0 +1,33 @@
1
+ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as s}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as m}from"../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{css as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var p=Object.getOwnPropertyDescriptor,g=(a,i,d,o)=>{for(var r=o>1?void 0:o?p(i,d):i,e=a.length-1,n;e>=0;e--)(n=a[e])&&(r=n(r)||r);return r};let t=class extends m{render(){return s`
2
+ <div class="top-area"></div>
3
+ <div class="body-area"></div>
4
+
5
+ <div class="content-area">
6
+ <slot></slot>
7
+ </div>
8
+ `}};t.styles=[c`
9
+ .top-area {
10
+ z-index: 1;
11
+ height: 300px;
12
+ background: linear-gradient(90deg, #11395B 0.68%, rgba(17, 57, 91, 0.50) 51.8%, #11395B 100%);
13
+ }
14
+
15
+ .body-area {
16
+ height: 100px;
17
+ z-index: 2;
18
+ margin-top: -100px;
19
+ border-radius: 5rem 5rem 0 0;
20
+ background: #FFF;
21
+ }
22
+
23
+ .content-area {
24
+ border-radius: 1rem;
25
+ background: #FFF;
26
+ margin: -200px auto 100px auto;
27
+ width: 35rem;
28
+ min-width: 18.75rem;
29
+ max-width: 37.4375rem;
30
+ flex-direction: column;
31
+ align-items: flex-start;
32
+ }
33
+ `];t=g([l("gradient-background")],t);export{t as GradientBackground};
@@ -1 +1 @@
1
- import n from"../../packages/web-components/src/tokens/primitive.tokens.scss.js";import u from"../../packages/web-components/src/tokens/semantic.tokens.scss.js";import y from"../../packages/web-components/src/styles/_gator-utils.scss.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{TestableLitElement as d}from"./testable-lit-element/testable-lit-element.js";import{AttributeDeletionMixin as v}from"../mixins/attribute-deletion.js";import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{unsafeCSS as o}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var A=Object.defineProperty,f=(s,p,m,h)=>{for(var t=void 0,r=s.length-1,a;r>=0;r--)(a=s[r])&&(t=a(p,m,t)||t);return t&&A(p,m,t),t};const i=class i extends v(d){constructor(){super(...arguments),this.delegatesARIA=!0,this.skeleton=!1}};i.styles=[o(n),o(u),o(y)];let e=i;f([l({type:Boolean})],e.prototype,"delegatesARIA");f([l({type:Boolean})],e.prototype,"skeleton");export{e as NgcComponent};
1
+ import l from"../../packages/web-components/src/tokens/primitive.tokens.scss.js";import n from"../../packages/web-components/src/tokens/semantic.tokens.scss.js";import c from"../../packages/web-components/src/styles/_gator-utils.scss.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{TestableLitElement as u}from"./testable-lit-element/testable-lit-element.js";import{AttributeDeletionMixin as v}from"../mixins/attribute-deletion.js";import{property as f}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{unsafeCSS as r}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var S=Object.defineProperty,y=(m,i,p,d)=>{for(var e=void 0,s=m.length-1,a;s>=0;s--)(a=m[s])&&(e=a(i,p,e)||e);return e&&S(i,p,e),e},t;const o=(t=class extends v(u){constructor(){super(...arguments),this.delegatesARIA=!0,this.skeleton=!1}},t.primitiveStyles=r(l),t.semanticStyles=r(n),t.primitiveAndSemanticStyleFilter=i=>i!==t.primitiveStyles&&i!==t.semanticStyles,t.styles=[r(l),r(n),r(c)],t);y([f({type:Boolean})],o.prototype,"delegatesARIA");y([f({type:Boolean})],o.prototype,"skeleton");let T=o;export{T as NgcComponent};
@@ -1,9 +1,10 @@
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`
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`
2
2
  <div class="slot-placeholder">
3
3
  ${this.namedSlotMarkup}
4
4
  </div>
5
- `}get namedSlotMarkup(){return this.slotName?m`<div>Slot Name: ${this.slotName}</div>`:m`<div>Default slot</div>`}};o.styles=[c`
5
+ `}get namedSlotMarkup(){return this.slotName?i`<div>Slot Name: ${this.slotName}</div>`:i`<div>Default slot</div>`}};o.styles=[f`
6
6
  .slot-placeholder {
7
+ display: var(--slot-placeholder-display, block);
7
8
  background: #D8C3F3;
8
9
  border: 1px dashed #9747FF;
9
10
  border-radius: 0.5rem;
@@ -13,4 +14,4 @@ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit
13
14
  color: #6F1FC3;
14
15
  text-align: center;
15
16
  }
16
- `];p([f({attribute:"slot-name"})],o.prototype,"slotName",2);o=p([d("slot-placeholder")],o);export{o as SlotPlaceholder};
17
+ `];p([c({attribute:"slot-name"})],o.prototype,"slotName",2);o=p([n("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"}}},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};
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 +1 @@
1
- import{page as s}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.1_typescript@5.9.2__playwright@1.55.0__87f0b62113e4cf466e19137faba4c80e/node_modules/@vitest/browser/context.js";import n from"../_virtual/axe.js";import{a as o}from"../node_modules/.pnpm/vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.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 h(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 g(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{g as expectComponentFocusStyle,h as expectComponentNotToHaveHorizontalScrollbar,p as expectNoAxeViolations,x as resizeWindowForReflowTest,a as runAxeAndGetViolations,d as superLongStringForReflowTest};
1
+ import{page as s}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.5.2_typescript@5.9.2__playwright@1.55.0__9d4398eee1ca9f4e5bc66c38c44c1a42/node_modules/@vitest/browser/context.js";import n from"../_virtual/axe.js";import{a as o}from"../node_modules/.pnpm/vitest@3.2.4_@types_debug@4.1.12_@types_node@24.5.2_@vitest_browser@3.2.4_@vitest_ui@3._ca089e2e148b21550246e36bcfc837cf/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.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 h(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 g(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{g as expectComponentFocusStyle,h 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": "8.0.0-preview.2",
4
+ "version": "8.0.0-preview.21",
5
5
  "license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org/"
@@ -67,6 +67,7 @@
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",
70
71
  "localize:extract": "lit-localize extract",
71
72
  "localize:build": "lit-localize build",
72
73
  "preview": "vite preview",
@@ -100,21 +101,21 @@
100
101
  "@storybook/addon-links": "^9.1.5",
101
102
  "@storybook/web-components-vite": "^9.1.5",
102
103
  "@types/react": "^19.1.12",
103
- "@typescript-eslint/parser": "^8.43.0",
104
+ "@typescript-eslint/parser": "^8.44.1",
104
105
  "@vitest/browser": "^3.2.4",
105
106
  "@vitest/coverage-v8": "^3.2.4",
106
107
  "@vitest/ui": "3.2.4",
107
108
  "axe-core": "^4.10.3",
108
109
  "cem-plugin-expanded-types": "^1.4.0",
109
- "chromatic": "^13.1.4",
110
+ "chromatic": "^13.2.1",
110
111
  "conventional-changelog-conventionalcommits": "^9.1.0",
111
112
  "custom-element-jet-brains-integration": "^1.7.0",
112
113
  "custom-elements-manifest": "^2.1.0",
113
- "eslint": "^9.35.0",
114
+ "eslint": "^9.36.0",
114
115
  "eslint-config-standard": "^17.1.0",
115
116
  "eslint-plugin-import": "^2.32.0",
116
117
  "eslint-plugin-json": "^4.0.1",
117
- "eslint-plugin-n": "^17.22.0",
118
+ "eslint-plugin-n": "^17.23.1",
118
119
  "eslint-plugin-promise": "^7.2.1",
119
120
  "eslint-plugin-storybook": "^9.1.5",
120
121
  "eslint-plugin-yml": "1.18.0",
@@ -123,7 +124,7 @@
123
124
  "playwright": "1.55.0",
124
125
  "postcss": "^8.5.6",
125
126
  "rimraf": "^6.0.1",
126
- "sass": "1.92.1",
127
+ "sass": "1.93.2",
127
128
  "storybook": "^9.1.5",
128
129
  "storybook-addon-code-editor": "^5.0.0",
129
130
  "storybook-design-token": "^4.1.0",