@ncino/web-components 4.3.0-preview.12 → 4.3.0-preview.14
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/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.figma.js +3 -0
- package/dist/components/breadcrumbs/gator/container/breadcrumbs.gator.figma.js +5 -0
- package/dist/components/text-detail/gator/text-detail.gator.figma.js +30 -0
- package/dist/components/text-detail/gator/text-detail.gator.js +1 -1
- package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.figma.d.ts +1 -0
- package/dist/types/components/breadcrumbs/gator/container/breadcrumbs.gator.figma.d.ts +1 -0
- package/dist/types/components/text-detail/gator/text-detail.gator.figma.d.ts +1 -0
- package/dist/utils/vitest-a11y-utils.js +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
- /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.7_typescript@5.8.3__playwright@1.53.1__894c207534f0ba223b8299d9f5ff1049 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.10_typescript@5.8.3__playwright@1.53.1_5fd2997ee9a97429a51e07bc2023c338}/node_modules/@vitest/browser/context.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.7_@vitest_browser@3.2.4_@vitest_ui@3._93f645c93c51b497c065da8f21fff0a5 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.10_@vitest_browser@3.2.4_@vitest_ui@3_8c34ee540b1f52c214debce201d1e515}/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.0.7_@vitest_browser@3.2.4_@vitest_ui@3._93f645c93c51b497c065da8f21fff0a5 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.10_@vitest_browser@3.2.4_@vitest_ui@3_8c34ee540b1f52c214debce201d1e515}/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.0.7_@vitest_browser@3.2.4_@vitest_ui@3._93f645c93c51b497c065da8f21fff0a5 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.10_@vitest_browser@3.2.4_@vitest_ui@3_8c34ee540b1f52c214debce201d1e515}/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.0.7_@vitest_browser@3.2.4_@vitest_ui@3._93f645c93c51b497c065da8f21fff0a5 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.10_@vitest_browser@3.2.4_@vitest_ui@3_8c34ee540b1f52c214debce201d1e515}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import e,{i as t}from"../../../../_virtual/index_html.js";e.connect("https://www.figma.com/design/e9qmNCwkvtN4Yfev9sXocY/Gator-Web-Components?node-id=11302-21530&m=dev",{props:{current:e.enum("Type",{"Current Page":!0})},example:r=>t.html`
|
|
2
|
+
<ngc-breadcrumb href="#" label="Text" current=${r.current}></ngc-breadcrumb>
|
|
3
|
+
`});
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import e,{i as r}from"../../../../_virtual/index_html.js";e.connect("https://www.figma.com/design/e9qmNCwkvtN4Yfev9sXocY/Gator-Web-Components?node-id=11302-21554&m=dev",{props:{breadcrumbs:e.children("Parent: Link")},example:m=>r.html`
|
|
2
|
+
<ngc-breadcrumbs>
|
|
3
|
+
${m.breadcrumbs}
|
|
4
|
+
</ngc-breadcrumbs>
|
|
5
|
+
`});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import t,{i}from"../../../_virtual/index_html.js";t.connect("https://www.figma.com/design/e9qmNCwkvtN4Yfev9sXocY/Gator-Web-Components?node-id=4307-61184&m=dev",{props:{title:t.string("Title"),subtitle:t.string("Subheader Text"),skeleton:t.enum("State",{Skeleton:"true",Default:void 0}),invertTitle:t.enum("Subheader",{Top:"true",Bottom:void 0}),vertical:t.enum("Orientation",{Vertical:"true",Horizontal:void 0}),subtitleIcon:t.boolean("Subheader Icon",{true:"picture",false:void 0}),startSlot:t.instance("↪️ Start Slot"),endSlot:t.instance("↪️End Slot"),size:t.enum("Size",{sm:"small","md (default)":"medium",lg:"large"})},example:e=>i.html`<ngc-text-detail
|
|
2
|
+
title="${e.title}"
|
|
3
|
+
subtitle="${e.subtitle}"
|
|
4
|
+
invert-title="${e.invertTitle}"
|
|
5
|
+
vertical="${e.vertical}"
|
|
6
|
+
subtitle-icon="${e.subtitleIcon}"
|
|
7
|
+
size="${e.size}"
|
|
8
|
+
skeleton="${e.skeleton}">
|
|
9
|
+
<div slot="prepend">
|
|
10
|
+
${e.startSlot}
|
|
11
|
+
</div>
|
|
12
|
+
<div slot="append">
|
|
13
|
+
${e.endSlot}
|
|
14
|
+
</div>
|
|
15
|
+
</ngc-text-detail>`});t.connect("https://www.figma.com/design/e9qmNCwkvtN4Yfev9sXocY/Gator-Web-Components?node-id=4307-61184&m=dev",{variant:{"TextContent slot":"Slot"},props:{subtitle:t.string("Subheader Text"),invertTitle:t.enum("Subheader",{Top:"true",Bottom:void 0}),skeleton:t.enum("State",{Skeleton:"true",Default:void 0}),vertical:t.enum("Orientation",{Vertical:"true",Horizontal:void 0}),subtitleIcon:t.boolean("Subheader Icon",{true:"picture",false:void 0}),startSlot:t.instance("↪️ Start Slot"),endSlot:t.instance("↪️End Slot")},example:e=>i.html`<ngc-text-detail
|
|
16
|
+
subtitle="${e.subtitle}"
|
|
17
|
+
invert-title="${e.invertTitle}"
|
|
18
|
+
vertical="${e.vertical}"
|
|
19
|
+
subtitle-icon="${e.subtitleIcon}"
|
|
20
|
+
skeleton="${e.skeleton}">
|
|
21
|
+
<div slot="content">
|
|
22
|
+
Swap this with your design
|
|
23
|
+
</div>
|
|
24
|
+
<div slot="prepend">
|
|
25
|
+
${e.startSlot}
|
|
26
|
+
</div>
|
|
27
|
+
<div slot="append">
|
|
28
|
+
${e.endSlot}
|
|
29
|
+
</div>
|
|
30
|
+
</ngc-text-detail>`});
|
|
@@ -19,8 +19,8 @@ import{NjcTextDetail as c}from"../text-detail.js";import"../../chip/gator/chip.g
|
|
|
19
19
|
<slot name="append"></slot>
|
|
20
20
|
`}get verticalClass(){return this.vertical?"gator-text-detail_vertical":""}get invertTitleClass(){return this.invertTitle?"gator-text-detail-content_invert-title":""}get textDetailLoadingMarkup(){return t`
|
|
21
21
|
<div class="gator-text-detail-loading ${this.invertTitleClass}">
|
|
22
|
-
<ngc-skeleton-loader width="62" height="18" radius="100"></ngc-skeleton-loader>
|
|
23
22
|
<ngc-skeleton-loader full-width height="24" radius="100"></ngc-skeleton-loader>
|
|
23
|
+
<ngc-skeleton-loader width="62" height="18" radius="100"></ngc-skeleton-loader>
|
|
24
24
|
</div>
|
|
25
25
|
`}get textDetailSubtitleIconMarkup(){return this.subtitleIcon?t`<ngc-icon class="gator-text-detail-subtitle-icon" name="${this.subtitleIcon}"></ngc-icon>`:null}get textDetailSubtitleMarkup(){return this.subtitle?t`
|
|
26
26
|
<div class="gator-text-detail-subtitle gator-text-detail-subtitle_${this.size}"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{page as n}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.
|
|
1
|
+
import{page as n}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.10_typescript@5.8.3__playwright@1.53.1_5fd2997ee9a97429a51e07bc2023c338/node_modules/@vitest/browser/context.js";import a from"../_virtual/axe.js";import{a as o}from"../node_modules/.pnpm/vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.10_@vitest_browser@3.2.4_@vitest_ui@3_8c34ee540b1f52c214debce201d1e515/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js";const p="Supercalifragilisticexpialidocious".repeat(10);async function u(e){return(await a.run(e)).violations}async function x(e){const t=await u(e);o(t,`Expected no axe core violations, but got ${t.length}`).toHaveLength(0)}function h(){return n.viewport(320,256)}function g(e){let t;if(e.scrollWidth!==0?t=e:e.shadowRoot?t=e.shadowRoot.firstElementChild:t=e.firstElementChild,t){const r=t.scrollWidth>t.clientWidth;return o(r).toBe(!1)}return o(!0).toBe(!1)}function w(e,t,r){var l;let i=e.querySelector(":focus-visible");if(i||(i=(l=e.shadowRoot)==null?void 0:l.querySelector(":focus-visible")),i){const s=getComputedStyle(i).getPropertyValue(t);return o(s).toContain(r)}return o(!0).toBe(!1)}export{w as expectComponentFocusStyle,g as expectComponentNotToHaveHorizontalScrollbar,x as expectNoAxeViolations,h as resizeWindowForReflowTest,u as runAxeAndGetViolations,p as superLongStringForReflowTest};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "4.3.0-preview.
|
|
4
|
+
"version": "4.3.0-preview.14",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"eslint-config-standard": "^17.1.0",
|
|
112
112
|
"eslint-plugin-import": "^2.32.0",
|
|
113
113
|
"eslint-plugin-json": "^4.0.1",
|
|
114
|
-
"eslint-plugin-n": "^17.
|
|
114
|
+
"eslint-plugin-n": "^17.21.0",
|
|
115
115
|
"eslint-plugin-promise": "^7.2.1",
|
|
116
116
|
"eslint-plugin-storybook": "^0.12.0",
|
|
117
117
|
"eslint-plugin-yml": "1.18.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": "4.3.0-preview.
|
|
4
|
+
"version": "4.3.0-preview.13",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|