@ncino/web-components 8.0.0-preview.26 → 8.0.0-preview.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index5.js +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/components/panel/gator/panel.storybook-test.js +1 -1
- package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/index.js +1 -1
- package/dist/utils/vitest-a11y-utils.js +1 -1
- package/package.json +6 -6
- package/web-types.json +1 -1
- /package/dist/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 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.6.2_typescript@5.9.2__playwright@1.55.0__e423b5c96de6c1c8a0306954de1e5183}/node_modules/@vitest/browser/context.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.5.2_typescript@5.9_67ef7f987bab6bd2ad2f459ed781a73a → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.6.2_typescript@5.9_6417755e637a11e9db28f754684e1ecc}/node_modules/storybook/dist/client-logger/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.5.2_typescript@5.9_67ef7f987bab6bd2ad2f459ed781a73a → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.6.2_typescript@5.9_6417755e637a11e9db28f754684e1ecc}/node_modules/storybook/dist/core-events/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.5.2_typescript@5.9_67ef7f987bab6bd2ad2f459ed781a73a → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.6.2_typescript@5.9_6417755e637a11e9db28f754684e1ecc}/node_modules/storybook/dist/instrumenter/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.5.2_typescript@5.9_67ef7f987bab6bd2ad2f459ed781a73a → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.6.2_typescript@5.9_6417755e637a11e9db28f754684e1ecc}/node_modules/storybook/dist/test/index.js +0 -0
- /package/dist/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 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.6.2_@vitest_browser@3.2.4_@vitest_ui@3._a2d9a3453db9fe314f49e01db7c034c4}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
- /package/dist/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 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.6.2_@vitest_browser@3.2.4_@vitest_ui@3._a2d9a3453db9fe314f49e01db7c034c4}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
- /package/dist/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 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.6.2_@vitest_browser@3.2.4_@vitest_ui@3._a2d9a3453db9fe314f49e01db7c034c4}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
- /package/dist/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 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.6.2_@vitest_browser@3.2.4_@vitest_ui@3._a2d9a3453db9fe314f49e01db7c034c4}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
package/dist/_virtual/index5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var e={exports:{}};export{e as __module};
|
package/dist/_virtual/index6.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var r={};export{r as __exports};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{within as h,waitFor as d,expect as e,userEvent as s}from"../../../node_modules/.pnpm/storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.
|
|
1
|
+
import{within as h,waitFor as d,expect as e,userEvent as s}from"../../../node_modules/.pnpm/storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.6.2_typescript@5.9_6417755e637a11e9db28f754684e1ecc/node_modules/storybook/dist/test/index.js";import{getShadowRootElementByDataTestId as p}from"../../../utils/vitest-utils.js";const r=async({canvasElement:w,step:t})=>{const i=h(w);let l,o,c,n;await t("Scenario: Nested Panel Functionality",async()=>{await t("GIVEN the Story renders with the first panel open and the second panel closed",async()=>{l=await i.findByTestId("first-panel"),o=p(l,"first-panel-panel"),c=await i.findByTestId("second-panel"),n=p(c,"second-panel-panel"),await d(()=>e(o).toBeVisible()),e(n).not.toBeVisible()}),await t("WHEN I click on the list item with nested content to open the second panel",async()=>{i.getByTestId("list-item-with-nested").click()}),await t("THEN the second panel is opened relative to the first panel",async()=>{await d(()=>e(n).toBeVisible());const a=o?.offsetWidth;e(window.getComputedStyle(n).left).toBe(`${a}px`)}),await t("WHEN I click the collapse button in the first panel",async()=>{const a=i.getByText("Collapse");await s.click(a)}),await t("THEN I expect the second panel to have moved with the first panel",async()=>{e(window.getComputedStyle(o).width).toBe("56px"),e(window.getComputedStyle(n).left).toBe(`${o.offsetWidth}px`)}),await t("WHEN I click the expand button in the first panel",async()=>{const a=i.getByTestId("expand-button");await s.click(a)}),await t("THEN I expect the first panel to expand and the second panel to move with it",async()=>{e(window.getComputedStyle(o).width).toBe("280px"),e(window.getComputedStyle(n).left).toBe(`${o.offsetWidth}px`)}),await t("WHEN I click on the close button in the second panel",async()=>{const a=i.getByTestId("close-button");await s.click(a)}),await t("THEN I expect the second panel to be closed",async()=>{n.addEventListener("animationend",()=>{e(n).not.toBeVisible()},{once:!0})})})};export{r as nestedPanelTests};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__module as a}from"../../../../../_virtual/
|
|
1
|
+
import{__module as a}from"../../../../../_virtual/index5.js";import{__require as k}from"../../../color-convert@2.0.1/node_modules/color-convert/index.js";a.exports;var d;function j(){return d?a.exports:(d=1,(function(p){const u=(r,e)=>(...o)=>`\x1B[${r(...o)+e}m`,B=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};5;${t}m`},f=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};2;${t[0]};${t[1]};${t[2]}m`},g=r=>r,m=(r,e,o)=>[r,e,o],s=(r,e,o)=>{Object.defineProperty(r,e,{get:()=>{const t=o();return Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0}),t},enumerable:!0,configurable:!0})};let c;const i=(r,e,o,t)=>{c===void 0&&(c=k());const l=t?10:0,n={};for(const[b,h]of Object.entries(c)){const y=b==="ansi16"?"ansi":b;b===e?n[y]=r(o,l):typeof h=="object"&&(n[y]=r(h[e],l))}return n};function C(){const r=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(const[o,t]of Object.entries(e)){for(const[l,n]of Object.entries(t))e[l]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},t[l]=e[l],r.set(n[0],n[1]);Object.defineProperty(e,o,{value:t,enumerable:!1})}return Object.defineProperty(e,"codes",{value:r,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",s(e.color,"ansi",()=>i(u,"ansi16",g,!1)),s(e.color,"ansi256",()=>i(B,"ansi256",g,!1)),s(e.color,"ansi16m",()=>i(f,"rgb",m,!1)),s(e.bgColor,"ansi",()=>i(u,"ansi16",g,!0)),s(e.bgColor,"ansi256",()=>i(B,"ansi256",g,!0)),s(e.bgColor,"ansi16m",()=>i(f,"rgb",m,!0)),e}Object.defineProperty(p,"exports",{enumerable:!0,get:C})})(a),a.exports)}export{j as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__exports as e}from"../../../../../_virtual/
|
|
1
|
+
import{__exports as e}from"../../../../../_virtual/index6.js";import{__require as E}from"./lib/client.js";import{__require as U}from"./lib/dispatcher.js";import{__require as I}from"./lib/core/errors.js";import{__require as S}from"./lib/pool.js";import{__require as T}from"./lib/balanced-pool.js";import{__require as O}from"./lib/agent.js";import{__require as v}from"./lib/core/util.js";import{__require as x}from"./lib/api/index.js";import{__require as L}from"./lib/core/connect.js";import{__require as W}from"./lib/mock/mock-client.js";import{__require as $}from"./lib/mock/mock-agent.js";import{__require as B}from"./lib/mock/mock-pool.js";import{__require as z}from"./lib/mock/mock-errors.js";import{__require as J}from"./lib/proxy-agent.js";import{__require as K}from"./lib/handler/RetryHandler.js";import{__require as N}from"./lib/global.js";import{__require as Q}from"./lib/handler/DecoratorHandler.js";import{__require as V}from"./lib/handler/RedirectHandler.js";import{__require as X}from"./lib/interceptor/redirectInterceptor.js";import{__require as Y}from"./lib/fetch/index.js";import{__require as Z}from"./lib/fetch/headers.js";import{__require as ee}from"./lib/fetch/response.js";import{__require as re}from"./lib/fetch/request.js";import{__require as oe}from"./lib/fetch/formdata.js";import{__require as ie}from"./lib/fetch/file.js";import{__require as te}from"./lib/fileapi/filereader.js";import{__require as ae}from"./lib/fetch/global.js";import{__require as ne}from"./lib/cache/cachestorage.js";import{__require as se}from"./lib/cache/symbols.js";import{__require as ce}from"./lib/cookies/index.js";import{__require as ue}from"./lib/fetch/dataURL.js";import{__require as me}from"./lib/websocket/websocket.js";var h;function Be(){if(h)return e;h=1;const g=E(),_=U(),f=I(),k=S(),y=T(),b=O(),t=v(),{InvalidArgumentError:u}=f,a=x(),C=L(),R=W(),M=$(),D=B(),A=z(),P=J(),w=K(),{getGlobalDispatcher:d,setGlobalDispatcher:H}=N(),G=Q(),F=V(),j=X();let q;try{q=!0}catch{q=!1}Object.assign(_.prototype,a),e.Dispatcher=_,e.Client=g,e.Pool=k,e.BalancedPool=y,e.Agent=b,e.ProxyAgent=P,e.RetryHandler=w,e.DecoratorHandler=G,e.RedirectHandler=F,e.createRedirectInterceptor=j,e.buildConnector=C,e.errors=f;function s(i){return(o,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!o||typeof o!="string"&&typeof o!="object"&&!(o instanceof URL))throw new u("invalid url");if(r!=null&&typeof r!="object")throw new u("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new u("invalid opts.path");let p=r.path;r.path.startsWith("/")||(p=`/${p}`),o=new URL(t.parseOrigin(o).origin+p)}else r||(r=typeof o=="object"?o:{}),o=t.parseURL(o);const{agent:c,dispatcher:m=d()}=r;if(c)throw new u("unsupported opts.agent. Did you mean opts.client?");return i.call(m,{...r,origin:o.origin,path:o.search?`${o.pathname}${o.search}`:o.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}if(e.setGlobalDispatcher=H,e.getGlobalDispatcher=d,t.nodeMajor>16||t.nodeMajor===16&&t.nodeMinor>=8){let i=null;e.fetch=async function(p){i||(i=Y().fetch);try{return await i(...arguments)}catch(l){throw typeof l=="object"&&Error.captureStackTrace(l,this),l}},e.Headers=Z().Headers,e.Response=ee().Response,e.Request=re().Request,e.FormData=oe().FormData,e.File=ie().File,e.FileReader=te().FileReader;const{setGlobalOrigin:o,getGlobalOrigin:r}=ae();e.setGlobalOrigin=o,e.getGlobalOrigin=r;const{CacheStorage:n}=ne(),{kConstruct:c}=se();e.caches=new n(c)}if(t.nodeMajor>=16){const{deleteCookie:i,getCookies:o,getSetCookies:r,setCookie:n}=ce();e.deleteCookie=i,e.getCookies=o,e.getSetCookies=r,e.setCookie=n;const{parseMIMEType:c,serializeAMimeType:m}=ue();e.parseMIMEType=c,e.serializeAMimeType=m}if(t.nodeMajor>=18&&q){const{WebSocket:i}=me();e.WebSocket=i}return e.request=s(a.request),e.stream=s(a.stream),e.pipeline=s(a.pipeline),e.connect=s(a.connect),e.upgrade=s(a.upgrade),e.MockClient=R,e.MockPool=D,e.MockAgent=M,e.mockErrors=A,e}export{Be as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{page as s}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.
|
|
1
|
+
import{page as s}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.6.2_typescript@5.9.2__playwright@1.55.0__e423b5c96de6c1c8a0306954de1e5183/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.6.2_@vitest_browser@3.2.4_@vitest_ui@3._a2d9a3453db9fe314f49e01db7c034c4/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.
|
|
4
|
+
"version": "8.0.0-preview.27",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -100,25 +100,25 @@
|
|
|
100
100
|
"@storybook/addon-docs": "^9.1.5",
|
|
101
101
|
"@storybook/addon-links": "^9.1.5",
|
|
102
102
|
"@storybook/web-components-vite": "^9.1.5",
|
|
103
|
-
"@types/react": "^19.
|
|
104
|
-
"@typescript-eslint/parser": "^8.
|
|
103
|
+
"@types/react": "^19.2.0",
|
|
104
|
+
"@typescript-eslint/parser": "^8.45.0",
|
|
105
105
|
"@vitest/browser": "^3.2.4",
|
|
106
106
|
"@vitest/coverage-v8": "^3.2.4",
|
|
107
107
|
"@vitest/ui": "3.2.4",
|
|
108
108
|
"axe-core": "^4.10.3",
|
|
109
109
|
"cem-plugin-expanded-types": "^1.4.0",
|
|
110
|
-
"chromatic": "^13.
|
|
110
|
+
"chromatic": "^13.3.0",
|
|
111
111
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
112
112
|
"custom-element-jet-brains-integration": "^1.7.0",
|
|
113
113
|
"custom-elements-manifest": "^2.1.0",
|
|
114
|
-
"eslint": "^9.
|
|
114
|
+
"eslint": "^9.37.0",
|
|
115
115
|
"eslint-config-standard": "^17.1.0",
|
|
116
116
|
"eslint-plugin-import": "^2.32.0",
|
|
117
117
|
"eslint-plugin-json": "^4.0.1",
|
|
118
118
|
"eslint-plugin-n": "^17.23.1",
|
|
119
119
|
"eslint-plugin-promise": "^7.2.1",
|
|
120
120
|
"eslint-plugin-storybook": "^9.1.5",
|
|
121
|
-
"eslint-plugin-yml": "1.
|
|
121
|
+
"eslint-plugin-yml": "1.19.0",
|
|
122
122
|
"glob": "^11.0.3",
|
|
123
123
|
"jsdom": "26.1.0",
|
|
124
124
|
"playwright": "1.55.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": "8.0.0-preview.
|
|
4
|
+
"version": "8.0.0-preview.26",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|