@ncino/web-components 6.0.0 → 6.1.0-preview.10
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/index3.js +1 -1
- package/dist/_virtual/index4.js +1 -1
- package/dist/components/boolean/boolean.gator.js +5 -4
- package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +3 -3
- package/dist/components/input/base/input-base.gator.js +1 -0
- package/dist/components/input/base/input-base.js +1 -1
- package/dist/components/input/gator/input-date/input-date.gator.js +8 -8
- package/dist/components/input/gator/input-label/input-label.gator.js +5 -5
- package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
- package/dist/components/input/gator/input-text/input-text.gator.js +8 -7
- package/dist/components/input/gator/input-textarea/input-textarea.gator.js +13 -5
- package/dist/components/input-rich-text/input-rich-text.slds.js +1 -1
- package/dist/components/panel/gator/panel.storybook-test.js +1 -1
- package/dist/components/radio/radio.gator.js +31 -26
- package/dist/components/radio-group/radio-group.gator.js +6 -6
- package/dist/components/skip-link/gator/base/skip-link.gator.js +22 -0
- package/dist/components/skip-link/gator/list-item/skip-link-list-item.gator.js +7 -0
- package/dist/components/skip-link/index.js +1 -0
- package/dist/components/table/gator/table-bulk-controls/table-bulk-controls.gator.js +2 -2
- package/dist/components/table/gator/table.gator.js +29 -38
- package/dist/components/text-link/gator/text-link.gator.js +20 -10
- package/dist/index.gator.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.utils.js +1 -0
- package/dist/node_modules/.pnpm/@vitest_expect@3.2.4/node_modules/@vitest/expect/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/conversions.js +1 -0
- package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/index.js +1 -0
- package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/route.js +1 -0
- package/dist/node_modules/.pnpm/color-name@2.0.0/node_modules/color-name/index.js +1 -0
- package/dist/node_modules/.pnpm/color-parse@1.4.2/node_modules/color-parse/index.js +1 -1
- package/dist/node_modules/.pnpm/color-string@2.0.1/node_modules/color-string/index.js +1 -0
- package/dist/node_modules/.pnpm/color@5.0.0/node_modules/color/index.js +1 -0
- package/dist/node_modules/.pnpm/{magic-string@0.30.17 → magic-string@0.30.18}/node_modules/magic-string/dist/magic-string.es.js +2 -2
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/index.js +1 -1
- package/dist/packages/web-components/src/components/boolean/boolean.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/boolean/boolean.gator.tokens.scss.js +1 -1
- package/dist/packages/web-components/src/components/checkbox/checkbox.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/gator/input-textarea/input-textarea.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/skip-link/gator/base/skip-link.gator.scss.js +1 -0
- package/dist/packages/web-components/src/components/skip-link/gator/list-item/skip-link-list-item.gator.scss.js +1 -0
- package/dist/packages/web-components/src/styles/_gator-utils.scss.js +1 -1
- package/dist/types/components/boolean/boolean.gator.d.ts +7 -1
- package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.d.ts +6 -0
- package/dist/types/components/input/base/input-base.d.ts +10 -0
- package/dist/types/components/input/gator/input-date/input-date.gator.d.ts +11 -1
- package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +2 -4
- package/dist/types/components/input/gator/input-masked/input-masked.gator.d.ts +7 -1
- package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +1 -0
- package/dist/types/components/input/gator/input-textarea/input-textarea.gator.d.ts +21 -0
- package/dist/types/components/radio/radio.gator.d.ts +1 -0
- package/dist/types/components/skip-link/gator/base/skip-link.gator.d.ts +36 -0
- package/dist/types/components/skip-link/gator/base/skip-link.gator.test.d.ts +0 -0
- package/dist/types/components/skip-link/gator/list-item/skip-link-list-item.gator.d.ts +13 -0
- package/dist/types/components/skip-link/gator/list-item/skip-link-list-item.gator.test.d.ts +0 -0
- package/dist/types/components/skip-link/index.d.ts +2 -0
- package/dist/types/components/table/gator/table-bulk-controls/table-bulk-controls.gator.d.ts +6 -1
- package/dist/types/components/table/gator/table.gator.d.ts +3 -6
- package/dist/types/components/text-link/gator/text-link.gator.d.ts +11 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.gator.d.ts +1 -0
- package/dist/types/index.utils.d.ts +1 -0
- package/dist/types/utils/brand-color-utils.d.ts +2 -0
- package/dist/types/utils/components/ngc-component.d.ts +5 -0
- package/dist/types/utils/storybook-args.d.ts +23 -0
- package/dist/utils/brand-color-utils.js +1 -0
- package/dist/utils/components/ngc-component.js +1 -1
- package/dist/utils/storybook-args.js +1 -1
- package/dist/utils/vitest-a11y-utils.js +1 -1
- package/package.json +14 -6
- package/web-types.json +420 -12
- package/dist/node_modules/.pnpm/chai@5.2.1/node_modules/chai/chai.js +0 -218
- /package/dist/node_modules/.pnpm/{@jridgewell_sourcemap-codec@1.5.4 → @jridgewell_sourcemap-codec@1.5.5}/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.2.1_typescript@5.8.3__playwright@1.54.1__6e6aa2c9b4102560da2d8ed1e4176ee9 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__558558d730596f7c5e09b21ff26a3e74}/node_modules/@vitest/browser/context.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/client-logger/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/core-events/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/instrumenter/index.js +0 -0
- /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/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.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/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.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/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.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/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.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{encode as b}from"../../../../@jridgewell_sourcemap-codec@1.5.
|
|
1
|
+
import{encode as b}from"../../../../@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js";class d{constructor(t){this.bits=t instanceof d?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class g{constructor(t,e,i){this.start=t,this.end=e,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new g(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let e=this;for(;e;)t(e),e=e.next}eachPrevious(t){let e=this;for(;e;)t(e),e=e.previous}edit(t,e,i){return this.content=t,i||(this.intro="",this.outro=""),this.storeName=e,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const e=t-this.start,i=this.original.slice(0,e),n=this.original.slice(e);this.original=i;const r=new g(t,this.end,n);return r.outro=this.outro,this.outro="",this.end=t,this.edited?(r.edit("",!1),this.content=""):this.content=i,r.next=this.next,r.next&&(r.next.previous=r),r.previous=this,this.next=r,r}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const e=this.content.replace(t,"");if(e.length)return e!==this.content&&(this.split(this.start+e.length).edit("",void 0,!0),this.edited&&this.edit(e,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const e=this.content.replace(t,"");if(e.length){if(e!==this.content){const i=this.split(this.end-e.length);this.edited&&i.edit(e,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function C(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?u=>globalThis.btoa(unescape(encodeURIComponent(u))):typeof Buffer=="function"?u=>Buffer.from(u,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const S=C();class y{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=b(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+S(this.toString())}}function v(u){const t=u.split(`
|
|
2
2
|
`),e=t.filter(r=>/^\t+/.test(r)),i=t.filter(r=>/^ {2,}/.test(r));if(e.length===0&&i.length===0)return null;if(e.length>=i.length)return" ";const n=i.reduce((r,s)=>{const h=/^ +/.exec(s)[0].length;return Math.min(h,r)},1/0);return new Array(n+1).join(" ")}function E(u,t){const e=u.split(/[/\\]/),i=t.split(/[/\\]/);for(e.pop();e[0]===i[0];)e.shift(),i.shift();if(e.length){let n=e.length;for(;n--;)e[n]=".."}return e.concat(i).join("/")}const x=Object.prototype.toString;function k(u){return x.call(u)==="[object Object]"}function w(u){const t=u.split(`
|
|
3
3
|
`),e=[];for(let i=0,n=0;i<t.length;i++)e.push(n),n+=t[i].length+1;return function(n){let r=0,s=e.length;for(;r<s;){const l=r+s>>1;n<e[l]?s=l:r=l+1}const h=r-1,o=n-e[h];return{line:h,column:o}}}const L=/\w/;class R{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,e,i,n){if(e.length){const r=e.length-1;let s=e.indexOf(`
|
|
4
4
|
`,0),h=-1;for(;s>=0&&r>s;){const l=[this.generatedCodeColumn,t,i.line,i.column];n>=0&&l.push(n),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,h=s,s=e.indexOf(`
|
|
@@ -7,4 +7,4 @@ import{encode as b}from"../../../../@jridgewell_sourcemap-codec@1.5.4/node_modul
|
|
|
7
7
|
`);if(e.length>1){for(let i=0;i<e.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=e[e.length-1].length}}const c=`
|
|
8
8
|
`,a={insertLeft:!1,insertRight:!1,storeName:!1};class m{constructor(t,e={}){const i=new g(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:e.filename},indentExclusionRanges:{writable:!0,value:e.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new d},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:e.ignoreList},offset:{writable:!0,value:e.offset||0}}),this.byStart[0]=i,this.byEnd[t.length]=i}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byEnd[t];return i?i.appendLeft(e):this.intro+=e,this}appendRight(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byStart[t];return i?i.appendRight(e):this.outro+=e,this}clone(){const t=new m(this.original,{filename:this.filename,offset:this.offset});let e=this.firstChunk,i=t.firstChunk=t.lastSearchedChunk=e.clone();for(;e;){t.byStart[i.start]=i,t.byEnd[i.end]=i;const n=e.next,r=n&&n.clone();r&&(i.next=r,r.previous=i,i=r),e=n}return t.lastChunk=i,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new d(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const e=0,i=Object.keys(this.storedNames),n=new R(t.hires),r=w(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(s=>{const h=r(s.start);s.intro.length&&n.advance(s.intro),s.edited?n.addEdit(e,s.content,h,s.storeName?i.indexOf(s.original):-1):n.addUneditedChunk(e,s,this.original,h,this.sourcemapLocations),s.outro.length&&n.advance(s.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?E(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:i,mappings:n.raw,x_google_ignoreList:this.ignoreList?[e]:void 0}}generateMap(t){return new y(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=v(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,e){const i=/^[^\r\n]/gm;if(k(t)&&(e=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;e=e||{};const n={};e.exclude&&(typeof e.exclude[0]=="number"?[e.exclude]:e.exclude).forEach(f=>{for(let p=f[0];p<f[1];p+=1)n[p]=!0});let r=e.indentStart!==!1;const s=l=>r?`${t}${l}`:(r=!0,l);this.intro=this.intro.replace(i,s);let h=0,o=this.firstChunk;for(;o;){const l=o.end;if(o.edited)n[h]||(o.content=o.content.replace(i,s),o.content.length&&(r=o.content[o.content.length-1]===`
|
|
9
9
|
`));else for(h=o.start;h<l;){if(!n[h]){const f=this.original[h];f===`
|
|
10
|
-
`?r=!0:f!=="\r"&&r&&(r=!1,h===o.start||(this._splitChunk(o,h),o=o.next),o.prependRight(t))}h+=1}h=o.end,o=o.next}return this.outro=this.outro.replace(i,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,e){return a.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),a.insertLeft=!0),this.appendLeft(t,e)}insertRight(t,e){return a.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),a.insertRight=!0),this.prependRight(t,e)}move(t,e,i){if(t=t+this.offset,e=e+this.offset,i=i+this.offset,i>=t&&i<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(i);const n=this.byStart[t],r=this.byEnd[e],s=n.previous,h=r.next,o=this.byStart[i];if(!o&&r===this.lastChunk)return this;const l=o?o.previous:this.lastChunk;return s&&(s.next=h),h&&(h.previous=s),l&&(l.next=n),o&&(o.previous=r),n.previous||(this.firstChunk=r.next),r.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=l,r.next=o||null,l||(this.firstChunk=n),o||(this.lastChunk=r),this}overwrite(t,e,i,n){return n=n||{},this.update(t,e,i,{...n,overwrite:!n.contentOnly})}update(t,e,i,n){if(t=t+this.offset,e=e+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(e>this.original.length)throw new Error("end is out of bounds");if(t===e)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(e),n===!0&&(a.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),a.storeName=!0),n={storeName:!0});const r=n!==void 0?n.storeName:!1,s=n!==void 0?n.overwrite:!1;if(r){const l=this.original.slice(t,e);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}const h=this.byStart[t],o=this.byEnd[e];if(h){let l=h;for(;l!==o;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}h.edit(i,r,!s)}else{const l=new g(t,e,"").edit(i,r);o.next=l,l.previous=o}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byEnd[t];return i?i.prependLeft(e):this.intro=e+this.intro,this}prependRight(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byStart[t];return i?i.prependRight(e):this.outro=e+this.outro,this}remove(t,e){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let i=this.byStart[t];for(;i;)i.intro="",i.outro="",i.edit(""),i=e>i.end?this.byStart[i.end]:null;return this}reset(t,e){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let i=this.byStart[t];for(;i;)i.reset(),i=e>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(c);if(t!==-1)return this.outro.substr(t+1);let e=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(t=i.outro.lastIndexOf(c),t!==-1)return i.outro.substr(t+1)+e;e=i.outro+e}if(i.content.length>0){if(t=i.content.lastIndexOf(c),t!==-1)return i.content.substr(t+1)+e;e=i.content+e}if(i.intro.length>0){if(t=i.intro.lastIndexOf(c),t!==-1)return i.intro.substr(t+1)+e;e=i.intro+e}}while(i=i.previous);return t=this.intro.lastIndexOf(c),t!==-1?this.intro.substr(t+1)+e:this.intro+e}slice(t=0,e=this.original.length-this.offset){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}let i="",n=this.firstChunk;for(;n&&(n.start>t||n.end<=t);){if(n.start<e&&n.end>=e)return i;n=n.next}if(n&&n.edited&&n.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const r=n;for(;n;){n.intro&&(r!==n||n.start===t)&&(i+=n.intro);const s=n.start<e&&n.end>=e;if(s&&n.edited&&n.end!==e)throw new Error(`Cannot use replaced character ${e} as slice end anchor.`);const h=r===n?t-n.start:0,o=s?n.content.length+e-n.end:n.content.length;if(i+=n.content.slice(h,o),n.outro&&(!s||n.end===e)&&(i+=n.outro),s)break;n=n.next}return i}snip(t,e){const i=this.clone();return i.remove(0,t),i.remove(e,i.original.length),i}_split(t){if(this.byStart[t]||this.byEnd[t])return;let e=this.lastSearchedChunk;const
|
|
10
|
+
`?r=!0:f!=="\r"&&r&&(r=!1,h===o.start||(this._splitChunk(o,h),o=o.next),o.prependRight(t))}h+=1}h=o.end,o=o.next}return this.outro=this.outro.replace(i,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,e){return a.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),a.insertLeft=!0),this.appendLeft(t,e)}insertRight(t,e){return a.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),a.insertRight=!0),this.prependRight(t,e)}move(t,e,i){if(t=t+this.offset,e=e+this.offset,i=i+this.offset,i>=t&&i<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(i);const n=this.byStart[t],r=this.byEnd[e],s=n.previous,h=r.next,o=this.byStart[i];if(!o&&r===this.lastChunk)return this;const l=o?o.previous:this.lastChunk;return s&&(s.next=h),h&&(h.previous=s),l&&(l.next=n),o&&(o.previous=r),n.previous||(this.firstChunk=r.next),r.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=l,r.next=o||null,l||(this.firstChunk=n),o||(this.lastChunk=r),this}overwrite(t,e,i,n){return n=n||{},this.update(t,e,i,{...n,overwrite:!n.contentOnly})}update(t,e,i,n){if(t=t+this.offset,e=e+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(e>this.original.length)throw new Error("end is out of bounds");if(t===e)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(e),n===!0&&(a.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),a.storeName=!0),n={storeName:!0});const r=n!==void 0?n.storeName:!1,s=n!==void 0?n.overwrite:!1;if(r){const l=this.original.slice(t,e);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}const h=this.byStart[t],o=this.byEnd[e];if(h){let l=h;for(;l!==o;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}h.edit(i,r,!s)}else{const l=new g(t,e,"").edit(i,r);o.next=l,l.previous=o}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byEnd[t];return i?i.prependLeft(e):this.intro=e+this.intro,this}prependRight(t,e){if(t=t+this.offset,typeof e!="string")throw new TypeError("inserted content must be a string");this._split(t);const i=this.byStart[t];return i?i.prependRight(e):this.outro=e+this.outro,this}remove(t,e){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let i=this.byStart[t];for(;i;)i.intro="",i.outro="",i.edit(""),i=e>i.end?this.byStart[i.end]:null;return this}reset(t,e){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);let i=this.byStart[t];for(;i;)i.reset(),i=e>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(c);if(t!==-1)return this.outro.substr(t+1);let e=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(t=i.outro.lastIndexOf(c),t!==-1)return i.outro.substr(t+1)+e;e=i.outro+e}if(i.content.length>0){if(t=i.content.lastIndexOf(c),t!==-1)return i.content.substr(t+1)+e;e=i.content+e}if(i.intro.length>0){if(t=i.intro.lastIndexOf(c),t!==-1)return i.intro.substr(t+1)+e;e=i.intro+e}}while(i=i.previous);return t=this.intro.lastIndexOf(c),t!==-1?this.intro.substr(t+1)+e:this.intro+e}slice(t=0,e=this.original.length-this.offset){if(t=t+this.offset,e=e+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length}let i="",n=this.firstChunk;for(;n&&(n.start>t||n.end<=t);){if(n.start<e&&n.end>=e)return i;n=n.next}if(n&&n.edited&&n.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const r=n;for(;n;){n.intro&&(r!==n||n.start===t)&&(i+=n.intro);const s=n.start<e&&n.end>=e;if(s&&n.edited&&n.end!==e)throw new Error(`Cannot use replaced character ${e} as slice end anchor.`);const h=r===n?t-n.start:0,o=s?n.content.length+e-n.end:n.content.length;if(i+=n.content.slice(h,o),n.outro&&(!s||n.end===e)&&(i+=n.outro),s)break;n=n.next}return i}snip(t,e){const i=this.clone();return i.remove(0,t),i.remove(e,i.original.length),i}_split(t){if(this.byStart[t]||this.byEnd[t])return;let e=this.lastSearchedChunk,i=e;const n=t>e.end;for(;e;){if(e.contains(t))return this._splitChunk(e,t);if(e=n?this.byStart[e.end]:this.byEnd[e.start],e===i)return;i=e}}_splitChunk(t,e){if(t.edited&&t.content.length){const n=w(this.original)(e);throw new Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${t.original}")`)}const i=t.split(e);return this.byEnd[e]=t,this.byStart[e]=i,this.byEnd[i.end]=i,t===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,e=this.firstChunk;for(;e;)t+=e.toString(),e=e.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,e=0;do e+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return e}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const e=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let i=this.lastChunk;do{const n=i.end,r=i.trimEnd(e);if(i.end!==n&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),r)return!0;i=i.previous}while(i);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let i=this.firstChunk;do{const n=i.end,r=i.trimStart(e);if(i.end!==n&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),r)return!0;i=i.next}while(i);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,e){function i(r,s){return typeof e=="string"?e.replace(/\$(\$|&|\d+)/g,(h,o)=>o==="$"?"$":o==="&"?r[0]:+o<r.length?r[+o]:`$${o}`):e(...r,r.index,s,r.groups)}function n(r,s){let h;const o=[];for(;h=r.exec(s);)o.push(h);return o}if(t.global)n(t,this.original).forEach(s=>{if(s.index!=null){const h=i(s,this.original);h!==s[0]&&this.overwrite(s.index,s.index+s[0].length,h)}});else{const r=this.original.match(t);if(r&&r.index!=null){const s=i(r,this.original);s!==r[0]&&this.overwrite(r.index,r.index+r[0].length,s)}}return this}_replaceString(t,e){const{original:i}=this,n=i.indexOf(t);return n!==-1&&this.overwrite(n,n+t.length,e),this}replace(t,e){return typeof t=="string"?this._replaceString(t,e):this._replaceRegexp(t,e)}_replaceAllString(t,e){const{original:i}=this,n=t.length;for(let r=i.indexOf(t);r!==-1;r=i.indexOf(t,r+n))i.slice(r,r+n)!==e&&this.overwrite(r,r+n,e);return this}replaceAll(t,e){if(typeof t=="string")return this._replaceAllString(t,e);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,e)}}export{y as SourceMap,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__module as r}from"../../../../../_virtual/
|
|
1
|
+
import{__module as r}from"../../../../../_virtual/index3.js";import{__require as t}from"./cjs/react.production.js";var e;function u(){return e?r.exports:(e=1,r.exports=t(),r.exports)}export{u as __require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const o=":root,:host{--ngc-radio-group-flex-direction: row;--ngc-radio-group-gap: 0}ngc-radio{display:flex;padding:1.5rem 5.1875rem;flex-direction:column;justify-content:center;align-items:center;flex:1 0 0;cursor:pointer;z-index:0;border:var(--ngc-boolean-border);background:var(--ngc-boolean-background-color)}.gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) 0 0 var(--ngc-boolean-outer-border-radius)}.gator-boolean-option-1{margin-top:0;margin-left:-1px;border-radius:0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0}.gator-boolean_wrapped .gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0 0}.gator-boolean_wrapped .gator-boolean-option-1{margin-top:-1px;margin-left:0;border-radius:0 0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius)}.gator-boolean-option_selected{z-index:1;background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected);animation:.3s ease-out selectBoolean}@keyframes selectBoolean{0%{background:var(--ngc-boolean-background-color);border:var(--ngc-boolean-border)}to{background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected)}}:hover
|
|
1
|
+
const o=":root,:host{--ngc-radio-group-flex-direction: row;--ngc-radio-group-gap: 0}ngc-radio{display:flex;padding:1.5rem 5.1875rem;flex-direction:column;justify-content:center;align-items:center;flex:1 0 0;cursor:pointer;z-index:0;border:1px solid var(--ngc-boolean-border-color);background:var(--ngc-boolean-background-color)}.gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) 0 0 var(--ngc-boolean-outer-border-radius)}.gator-boolean-option-1{margin-top:0;margin-left:-1px;border-radius:0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0}.gator-boolean_wrapped .gator-boolean-option-0{border-radius:var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius) 0 0}.gator-boolean_wrapped .gator-boolean-option-1{margin-top:-1px;margin-left:0;border-radius:0 0 var(--ngc-boolean-outer-border-radius) var(--ngc-boolean-outer-border-radius)}.gator-boolean:not(.gator-boolean_skeleton,.gator-boolean_disabled) .gator-boolean-option_selected{z-index:1;background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected);animation:.3s ease-out selectBoolean}@keyframes selectBoolean{0%{background:var(--ngc-boolean-background-color);border:var(--ngc-boolean-border)}to{background:var(--ngc-boolean-background-color-selected);border:var(--ngc-boolean-border-selected)}}ngc-radio:hover{z-index:1;box-shadow:var(--ngc-boolean-box-shadow-hover)}ngc-radio:hover:not(.gator-boolean_error) ngc-radio:hover{border:var(--ngc-boolean-border-hover)}.gator-boolean_disabled ngc-radio{--ngc-boolean-background-color: var(--color-surface-tertiary, #F2F2F2);--ngc-boolean-background-color-selected: var(--color-surface-tertiary, #F2F2F2);cursor:not-allowed}.gator-boolean_disabled ngc-radio:hover{box-shadow:none}ngc-radio:focus-within{z-index:1;border:var(--ngc-boolean-border-focus, var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-focus));outline:var(--ngc-boolean-outline-focus, var(--size-stroke-1, 1px) solid var(--ngc-boolean-outline-color-focus));outline-offset:1px;--ngc-radio-focus-border: none}.gator-boolean.gator-boolean_error:not(.gator-boolean_skeleton) ngc-radio{border:var(--ngc-boolean-border-error, var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-error));--ngc-radio-icon-color-error: var(--color-neutral-40);--ngc-boolean-background-color-selected: var(--color-surface-error, #FAEBE7)}.gator-boolean_skeleton ngc-radio{--ngc-boolean-background-color: var(--color-surface-tertiary, #F2F2F2);--ngc-boolean-border-color: var(--color-border-secondary, #BFBFBF);pointer-events:none}";export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const o=":host,:root{--ngc-boolean-background-color: var(--color-neutral-0, #FFF);--ngc-boolean-background-color-selected: var(--color-brand-
|
|
1
|
+
const o=":host,:root{--ngc-boolean-background-color: var(--color-neutral-0, #FFF);--ngc-boolean-background-color-selected: var(--color-surface-brand-hover, #E4ECF2);--ngc-boolean-border-color: var(--color-border-primary, #6d6d6d);--ngc-boolean-border-color-selected: var(--color-brand-30, #11395B);--ngc-boolean-border-color-hover: var(--color-brand-30, #11395B);--ngc-boolean-border-color-focus: var(--color-brand-30, #11395B);--ngc-boolean-outline-color-focus: var(--color-brand-30, #11395B);--ngc-boolean-border-color-error: var(--color-stroke-error);--ngc-boolean-border: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color);--ngc-boolean-border-selected: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-selected);--ngc-boolean-border-hover: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-hover);--ngc-boolean-border-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-focus);--ngc-boolean-border-error: var(--size-stroke-1, 1px) solid var(--ngc-boolean-border-color-error);--ngc-boolean-outline-focus: var(--size-stroke-1, 1px) solid var(--ngc-boolean-outline-color-focus);--ngc-boolean-box-shadow-hover: 0px 5px 10px 0px rgba(31, 31, 31, .1), 0px 7px 14px 0px rgba(31, 31, 31, .08), 0px 3px 6px 0px rgba(31, 31, 31, .08);--ngc-boolean-outer-border-radius: .125rem}";export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e='.gator-checkbox{display:flex;width:fit-content;flex-direction:row;align-items:center;gap:.5rem;margin
|
|
1
|
+
const e='.gator-checkbox{display:flex;width:fit-content;flex-direction:row;align-items:center;gap:.5rem;margin:var(--ngc-checkbox-margin-y, .5rem) 0;padding-left:.5rem}.gator-checkbox-title{font-family:var(--text-family-body, "Open Sans", sans-serif);color:var(--ngc-checkbox-title-color-default);font-size:var(--ngc-checkbox-title-font-size);line-height:var(--ngc-checkbox-title-line-height)}.gator-checkbox-input-wrapper:has(:focus-visible){box-shadow:0 0 0 2px var(--color-surface-primary-white, #FFF),0 0 0 4px var(--ngc-checkbox-color-focus-indicator, var(--shadow-color-focus-border, #11395B))}.gator-checkbox-input-wrapper:has(:focus-visible) input:focus-visible{outline:none}input{margin:0;border-radius:4px;accent-color:var(--ngc-checkbox-color-selected, var(--checkbox-color-selected, #11395B))}.gator-checkbox-input-wrapper{display:flex;align-items:center;border-radius:2px;outline:1px solid transparent;outline-offset:-1px;transform:scale(1.4)}.gator-checkbox-input-wrapper:has(input:invalid:not(:checked,:indeterminate,:disabled)){outline-color:var(--ngc-checkbox-color-error, var(--color-feedback-error, #D44011))}.gator-checkbox-input-wrapper:has(input:invalid:not(:checked,:indeterminate,:disabled)):hover{outline-color:var(--ngc-checkbox-color-error-hover, var(--color-feedback-error, #AA330E));background:var(--color-surface-error, #FAEBE7)}.gator-checkbox-input-wrapper:has(input:not(:checked,:indeterminate,:disabled)){outline-color:var(--ngc-checkbox-color-border-unselected, #6D6D6D);background:var(--color-surface-primary-white, #FFF)}.gator-checkbox-input-wrapper:has(input:not(:checked,:indeterminate,:disabled)):hover{outline-color:var(--ngc-checkbox-color-border-hover, var(--checkbox-color-hover, #0E304D));background:var(--color-surface-brand-hover, #E4ECF2)}input:not(:checked,:indeterminate,:disabled){opacity:0}input:checked,input:indeterminate,input:disabled{opacity:1}input:invalid{accent-color:var(--ngc-checkbox-color-error, var(--color-feedback-error, #D44011))}';export{e as default};
|
package/dist/packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const c=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}::slotted(ngc-checkbox),ngc-checkbox{--ngc-input-margin-bottom: 0}";export{c as default};
|
|
1
|
+
const c=".gator-checkbox-group,.gator-checkbox-group-container{display:flex;flex-direction:column;gap:var(--spacing-gap-8)}::slotted(ngc-checkbox),ngc-checkbox{--ngc-input-margin-bottom: 0;--ngc-checkbox-margin-y: .25rem}";export{c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=":host .gator-form-element-control{padding:0}:host textarea{
|
|
1
|
+
const t=":host .gator-form-element-control{padding:0}:host textarea{padding:12px 30px 12px 16px;resize:vertical}:host .gator-icon-right{position:absolute;right:var(--spacing-3, .75rem);top:var(--spacing-3, .75rem)}";export{t as default};
|
package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a=':root,:host{--ngc-tabs-header-background-color: var(--color-surface-brand, #F3F5F7);--ngc-tabs-first-tab-left-spacing: var(--spacing-5, 1.5rem)}.ngc-page-header-background{padding:var(--spacing-7, 2rem) var(--spacing-5, 1.5rem) var(--spacing-5, 1.5rem) var(--spacing-5, 1.5rem);background:var(--color-surface-brand, #F3F5F7)}.ngc-page-header-text-detail h1{font-family:var(--text-family-headings, "nCino+Avenir"),sans-serif;font-size:var(--text-size-headings-1, 2.5rem);margin-bottom:var(--spacing-2, .5rem);margin-top:0;line-height:3rem}.ngc-page-header-breadcrumbs{margin-bottom:var(--spacing-5, 1.5rem)}.ngc-page-header-background{display:flex;flex-direction:row;justify-content:space-between}.ngc-page-header-left,.ngc-page-header-actions{display:flex;flex-direction:column}.ngc-page-header-actions-loading{display:flex}.ngc-page-header-actions-loading ngc-skeleton-loader:first-of-type{--ngc-skeleton-loader-margin: 0 var(--spacing-gap-16, 1rem) 0 0}.ngc-page-header-tabs-hidden{display:none}.ngc-page-header-tabs-loading{display:flex;margin-top:var(--spacing-gap-24, 1.5rem);margin-bottom:calc(-1 * var(--spacing-gap-24, 1.5rem))}.ngc-page-header-tabs-loading ngc-skeleton-loader:first-of-type{--ngc-skeleton-loader-margin: 0 var(--spacing-gap-8, 1rem) 0 0}';export{a as default};
|
|
1
|
+
const a=':root,:host{--ngc-tabs-header-background-color: var(--color-surface-brand, #F3F5F7);--ngc-tabs-first-tab-left-spacing: var(--spacing-5, 1.5rem)}.ngc-page-header-background{padding:var(--spacing-7, 2rem) var(--spacing-5, 1.5rem) var(--spacing-5, 1.5rem) var(--spacing-5, 1.5rem);background:var(--color-surface-brand, #F3F5F7)}.ngc-page-header-text-detail h1{font-family:var(--text-family-headings, "nCino+Avenir"),sans-serif;font-size:var(--text-size-headings-1, 2.5rem);margin-bottom:var(--spacing-2, .5rem);margin-top:0;line-height:3rem}.ngc-page-header-breadcrumbs{margin-bottom:var(--spacing-5, 1.5rem);min-height:26px}.ngc-page-header-background{display:flex;flex-direction:row;justify-content:space-between}.ngc-page-header-left,.ngc-page-header-actions{display:flex;flex-direction:column}.ngc-page-header-actions-loading{display:flex}.ngc-page-header-actions-loading ngc-skeleton-loader:first-of-type{--ngc-skeleton-loader-margin: 0 var(--spacing-gap-16, 1rem) 0 0}.ngc-page-header-tabs-hidden{display:none}.ngc-page-header-tabs-loading{display:flex;margin-top:var(--spacing-gap-24, 1.5rem);margin-bottom:calc(-1 * var(--spacing-gap-24, 1.5rem))}.ngc-page-header-tabs-loading ngc-skeleton-loader:first-of-type{--ngc-skeleton-loader-margin: 0 var(--spacing-gap-8, 1rem) 0 0}';export{a as default};
|
package/dist/packages/web-components/src/components/skip-link/gator/base/skip-link.gator.scss.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a='.gator-skip-link{display:flex;position:absolute;z-index:1000;width:auto;height:auto;font-family:var(--text-family-body, "Open Sans");font-size:var(--text-font-size-subtitle-1, 17px)}.gator-skip-link-button{display:flex;border-radius:var(--border-radius-x-small, 2px);background:var(--color-surface-inverse, #1F1F1F);box-shadow:var(--shadow-x-offset-0, 0) var(--shadow-y-offset-0, 0) var(--shadow-blur-0, 0) var(--size-2, 2px) var(--color-border-inverse, #E5E5E5),var(--shadow-x-offset-0, 0) var(--shadow-y-offset-0, 0) var(--shadow-blur-0, 0) var(--size-4, 4px) var(--color-border-neutral, #1F1F1F);padding:var(--spacing-padding-8, 8px) var(--button-size-large-padding-horiz, 16px);color:var(--color-icon-inverse, #FFF)}.gator-skip-link-button:focus-visible{outline:none}.gator-skip-link-list{min-width:200px;display:flex;padding:var(--spacing-padding-8, 8px) 0;flex-direction:column;justify-content:center;align-items:flex-start;border-radius:var(--border-radius-medium, 8px);border:2px solid var(--color-border-neutral, #1F1F1F);background:var(--color-surface-primary-white, #FFF);box-shadow:var(--shadow-x-offset-0, 0) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))}.gator-skip-link-list .gator-skip-links-title{font-weight:700;padding:var(--spacing-gap-8, 8px) var(--spacing-gap-16, 16px)}';export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a=".gator-skip-link-list-item{padding:var(--spacing-gap-8, 8px) var(--spacing-gap-16, 16px)}";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=".gator-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}";export{e as default};
|
|
1
|
+
const e=".gator-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gator-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0}";export{e as default};
|
|
@@ -13,7 +13,13 @@ export declare class NgcBoolean extends NgcInputText {
|
|
|
13
13
|
firstUpdated(): void;
|
|
14
14
|
render(): import('lit').TemplateResult<1>;
|
|
15
15
|
get elementId(): string;
|
|
16
|
-
get booleanClasses():
|
|
16
|
+
get booleanClasses(): {
|
|
17
|
+
'gator-boolean': boolean;
|
|
18
|
+
'gator-boolean_wrapped': boolean;
|
|
19
|
+
'gator-boolean_error': boolean;
|
|
20
|
+
'gator-boolean_disabled': boolean;
|
|
21
|
+
'gator-boolean_skeleton': boolean;
|
|
22
|
+
};
|
|
17
23
|
get booleanOptions(): import('lit').TemplateResult<1> | null;
|
|
18
24
|
get isWrapped(): boolean;
|
|
19
25
|
handleChange(event: Event): void;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { Ref } from 'lit/directives/ref.js';
|
|
2
2
|
import { TestableLitElement } from '../../../../utils/components/testable-lit-element/testable-lit-element.ts';
|
|
3
3
|
export declare class NgcBreadcrumb extends TestableLitElement {
|
|
4
|
+
static shadowRootOptions: {
|
|
5
|
+
delegatesFocus: boolean;
|
|
6
|
+
mode: ShadowRootMode;
|
|
7
|
+
serializable?: boolean;
|
|
8
|
+
slotAssignment?: SlotAssignmentMode;
|
|
9
|
+
};
|
|
4
10
|
static styles: import('lit').CSSResult[];
|
|
5
11
|
current: boolean;
|
|
6
12
|
first: boolean;
|
|
@@ -74,6 +74,11 @@ export declare class InputBase extends TestableLitElement {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
*/
|
|
76
76
|
endIcon: string;
|
|
77
|
+
/**
|
|
78
|
+
* @property {string} minLength - The minimum number of characters allowed in the input.
|
|
79
|
+
* @type {string}
|
|
80
|
+
*/
|
|
81
|
+
minLength: number | undefined;
|
|
77
82
|
/**
|
|
78
83
|
* @property {string} maxLength - The maximum number of characters allowed in the input.
|
|
79
84
|
* @type {string}
|
|
@@ -84,4 +89,9 @@ export declare class InputBase extends TestableLitElement {
|
|
|
84
89
|
* @type {boolean}
|
|
85
90
|
*/
|
|
86
91
|
iconAsLabel: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @property {boolean} skeleton - Whether the component is in skeleton state.
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
*/
|
|
96
|
+
skeleton: boolean;
|
|
87
97
|
}
|
|
@@ -37,6 +37,11 @@ export declare class NgcInputDate extends NgcInputText {
|
|
|
37
37
|
endDate: Date | undefined;
|
|
38
38
|
startDateLabel: string;
|
|
39
39
|
endDateLabel: string;
|
|
40
|
+
/**
|
|
41
|
+
* @property {boolean} maskInput - Whether the input should be masked. If true, the input will show a masked format of the date.
|
|
42
|
+
*/
|
|
43
|
+
maskInput: boolean;
|
|
44
|
+
_value: string;
|
|
40
45
|
datepickerRef: Ref<NgcDatepicker>;
|
|
41
46
|
datepickerTriggerRef: Ref<NgcIconButton>;
|
|
42
47
|
startInputRef: Ref<NgcInputText>;
|
|
@@ -57,6 +62,8 @@ export declare class NgcInputDate extends NgcInputText {
|
|
|
57
62
|
protected _endDate: Date | typeof NaN | null;
|
|
58
63
|
protected _startDateInputValue: string | undefined;
|
|
59
64
|
protected _endDateInputValue: string | undefined;
|
|
65
|
+
protected _maskPattern: string;
|
|
66
|
+
protected _dateString: string;
|
|
60
67
|
_cleanup: (() => void) | undefined;
|
|
61
68
|
static styles: import('lit').CSSResult[];
|
|
62
69
|
connectedCallback(): void;
|
|
@@ -70,13 +77,15 @@ export declare class NgcInputDate extends NgcInputText {
|
|
|
70
77
|
get datepickerSelectedDate(): Date | null;
|
|
71
78
|
handleChange(e: Event): void;
|
|
72
79
|
handleInputEvent(e: InputEvent): void;
|
|
80
|
+
handleInputFocusIn(): void;
|
|
81
|
+
handleInputFocusOut(): void;
|
|
73
82
|
setDateValue(dateValue: Date | null | number, errorMessage?: string | null): void;
|
|
74
83
|
handleDatepickerChange(e: CustomEvent): void;
|
|
75
84
|
get dateEventData(): {
|
|
76
85
|
bubbles: boolean;
|
|
77
86
|
composed: boolean;
|
|
78
87
|
detail: {
|
|
79
|
-
value:
|
|
88
|
+
value: string;
|
|
80
89
|
valueAsDate: number | Date | null;
|
|
81
90
|
};
|
|
82
91
|
};
|
|
@@ -109,6 +118,7 @@ export declare class NgcInputDate extends NgcInputText {
|
|
|
109
118
|
*/
|
|
110
119
|
private setLocaleDateFormat;
|
|
111
120
|
private getDateValueFromLocalizedDateString;
|
|
121
|
+
private maskDate;
|
|
112
122
|
toggleVisibility(): void;
|
|
113
123
|
assignPosition(): void;
|
|
114
124
|
handleError(errorReason: DateValidationError): string | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare
|
|
3
|
-
export declare class NgcInputLabel extends NgcInputLabel_base {
|
|
1
|
+
import { NgcComponent } from '../../../../utils/components/ngc-component.ts';
|
|
2
|
+
export declare class NgcInputLabel extends NgcComponent {
|
|
4
3
|
static shadowRootOptions: {
|
|
5
4
|
mode: ShadowRootMode;
|
|
6
5
|
delegatesFocus?: boolean;
|
|
@@ -27,4 +26,3 @@ declare global {
|
|
|
27
26
|
'ngc-input-label': NgcInputLabel;
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NgcInputText } from '../input-text/input-text.gator.ts';
|
|
2
2
|
type NGC_MASKED_INPUT_ACCEPTED_CHAR_TYPE = 'numeric' | 'alpha' | 'alphanumeric';
|
|
3
|
-
type NGC_MASKED_INPUT_MASK_PRESET = 'ssn' | 'ein' | null;
|
|
3
|
+
type NGC_MASKED_INPUT_MASK_PRESET = 'ssn' | 'ein' | 'variable' | null;
|
|
4
4
|
export declare class NgcInputMasked extends NgcInputText {
|
|
5
5
|
static styles: import('lit').CSSResult[];
|
|
6
6
|
/**
|
|
@@ -18,6 +18,11 @@ export declare class NgcInputMasked extends NgcInputText {
|
|
|
18
18
|
@type NGC_MASKED_INPUT_ACCEPTED_CHAR_TYPE
|
|
19
19
|
*/
|
|
20
20
|
acceptedCharType: NGC_MASKED_INPUT_ACCEPTED_CHAR_TYPE;
|
|
21
|
+
/**
|
|
22
|
+
@property variableMaxLength - The maximum length of the input, used for the variable mask preset
|
|
23
|
+
@default 10
|
|
24
|
+
*/
|
|
25
|
+
variableMaxLength: number;
|
|
21
26
|
value: string;
|
|
22
27
|
_value: string;
|
|
23
28
|
private _inputFocused;
|
|
@@ -29,6 +34,7 @@ export declare class NgcInputMasked extends NgcInputText {
|
|
|
29
34
|
handleInputFocusIn(): void;
|
|
30
35
|
handleInputFocusOut(): void;
|
|
31
36
|
private get _maskPattern();
|
|
37
|
+
private variableMaskPattern;
|
|
32
38
|
private validateChars;
|
|
33
39
|
private formatValue;
|
|
34
40
|
}
|
|
@@ -35,6 +35,7 @@ export declare class NgcInputText extends NgcInputBase {
|
|
|
35
35
|
protected _value: unknown;
|
|
36
36
|
protected _inputMode: INPUT_MODE_TYPE;
|
|
37
37
|
protected _placeholder: string | undefined;
|
|
38
|
+
protected _minLength: number | undefined;
|
|
38
39
|
protected _maxLength: number | undefined;
|
|
39
40
|
protected _errorText: string | undefined;
|
|
40
41
|
protected _internalValidationError: string | undefined;
|
|
@@ -6,7 +6,28 @@ export declare class NgcInputTextarea extends NgcInputText {
|
|
|
6
6
|
serializable?: boolean;
|
|
7
7
|
slotAssignment?: SlotAssignmentMode;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* @property {number} rows
|
|
11
|
+
* @default 2
|
|
12
|
+
* @description The number of visible text lines for the textarea. If it is specified, it must be a positive integer. If it is not specified, the default value is 2.
|
|
13
|
+
*/
|
|
14
|
+
rows: number;
|
|
15
|
+
/**
|
|
16
|
+
* @property {boolean} autoGrow
|
|
17
|
+
* @default false
|
|
18
|
+
* @description If true, textarea will automatically expand its height to fit content. Works with rows as minimum height.
|
|
19
|
+
*/
|
|
20
|
+
autoGrow: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @property {boolean} noResize
|
|
23
|
+
* @default false
|
|
24
|
+
* @description If true, disables browser's manual resize handle for textarea.
|
|
25
|
+
*/
|
|
26
|
+
noResize: boolean;
|
|
9
27
|
static styles: import('lit').CSSResult[];
|
|
28
|
+
private _autoGrowResize;
|
|
29
|
+
handleInputEvent(e: Event): void;
|
|
30
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
10
31
|
render(): import('lit').TemplateResult<1>;
|
|
11
32
|
}
|
|
12
33
|
declare global {
|
|
@@ -25,6 +25,7 @@ export declare class NgcRadio extends NgcInputText {
|
|
|
25
25
|
connectedCallback(): void;
|
|
26
26
|
render(): import('lit').TemplateResult<1>;
|
|
27
27
|
get bottomText(): import('lit').TemplateResult<1> | typeof nothing;
|
|
28
|
+
get skeletonMarkup(): import('lit').TemplateResult<1>;
|
|
28
29
|
get elementId(): string;
|
|
29
30
|
get tabindex(): number;
|
|
30
31
|
handleChange(): void;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { NgcComponent } from '../../../../utils/components/ngc-component';
|
|
2
|
+
import { Ref } from 'lit/directives/ref.js';
|
|
3
|
+
import { Placement } from '@floating-ui/dom';
|
|
4
|
+
export declare class NgcSkipLink extends NgcComponent {
|
|
5
|
+
static shadowRootOptions: {
|
|
6
|
+
delegatesFocus: boolean;
|
|
7
|
+
mode: ShadowRootMode;
|
|
8
|
+
serializable?: boolean;
|
|
9
|
+
slotAssignment?: SlotAssignmentMode;
|
|
10
|
+
};
|
|
11
|
+
variant: 'list' | 'button';
|
|
12
|
+
target: string | HTMLElement;
|
|
13
|
+
text: string;
|
|
14
|
+
placement: Placement;
|
|
15
|
+
xOffset: number;
|
|
16
|
+
yOffset: number;
|
|
17
|
+
referenceElement: string | HTMLElement;
|
|
18
|
+
listTitle: string | undefined;
|
|
19
|
+
static styles: import('lit').CSSResult[];
|
|
20
|
+
_skipLinkRef: Ref<HTMLElement>;
|
|
21
|
+
_cleanup: (() => void) | undefined;
|
|
22
|
+
render(): import('lit').TemplateResult<1>;
|
|
23
|
+
get skipLinkButtonVariantMarkup(): import('lit').TemplateResult<1>;
|
|
24
|
+
get skipLinkListVariantMarkup(): import('lit').TemplateResult<1>;
|
|
25
|
+
get _referenceElement(): HTMLElement | null;
|
|
26
|
+
assignPosition(): void;
|
|
27
|
+
showSkipLink(): void;
|
|
28
|
+
hideSkipLink(): void;
|
|
29
|
+
handleSkipLinkButtonKeyup(event: KeyboardEvent): void;
|
|
30
|
+
handleSkipLinkButtonClick(): void;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'ngc-skip-link': NgcSkipLink;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NgcComponent } from '../../../../utils/components/ngc-component';
|
|
2
|
+
export declare class NgcSkipLinkListItem extends NgcComponent {
|
|
3
|
+
target: string | HTMLElement;
|
|
4
|
+
text: string;
|
|
5
|
+
static styles: import('lit').CSSResult[];
|
|
6
|
+
render(): import('lit').TemplateResult<1>;
|
|
7
|
+
handleClick(): void;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'ngc-skip-link-list-item': NgcSkipLinkListItem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
File without changes
|
package/dist/types/components/table/gator/table-bulk-controls/table-bulk-controls.gator.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { nothing } from 'lit';
|
|
2
2
|
import { NgcComponent } from '../../../../utils/components/ngc-component.ts';
|
|
3
3
|
export declare class NgcTableBulkControls extends NgcComponent {
|
|
4
|
+
static shadowRootOptions: {
|
|
5
|
+
delegatesFocus: boolean;
|
|
6
|
+
mode: ShadowRootMode;
|
|
7
|
+
serializable?: boolean;
|
|
8
|
+
slotAssignment?: SlotAssignmentMode;
|
|
9
|
+
};
|
|
4
10
|
/**
|
|
5
11
|
* Whether the bulk controls should be visible
|
|
6
12
|
*/
|
|
@@ -22,7 +28,6 @@ export declare class NgcTableBulkControls extends NgcComponent {
|
|
|
22
28
|
render(): import('lit').TemplateResult<1>;
|
|
23
29
|
get bulkControlsMarkup(): import('lit').TemplateResult<1> | typeof nothing;
|
|
24
30
|
get selectedRowsMessage(): string;
|
|
25
|
-
focus(): void;
|
|
26
31
|
}
|
|
27
32
|
declare global {
|
|
28
33
|
interface HTMLElementTagNameMap {
|
|
@@ -6,8 +6,6 @@ export declare class NgcTable extends NjcTable {
|
|
|
6
6
|
static styles: import('lit').CSSResult[];
|
|
7
7
|
selectedRows: RowData[];
|
|
8
8
|
_currentPage: number;
|
|
9
|
-
justSelectedRow: RowData | null;
|
|
10
|
-
showJumpLink: boolean;
|
|
11
9
|
protected updated(_changedProperties: PropertyValues): void;
|
|
12
10
|
render(): import('lit').TemplateResult<1> | null;
|
|
13
11
|
get tableElevatedClass(): "" | "gator-table-elevated";
|
|
@@ -15,9 +13,6 @@ export declare class NgcTable extends NjcTable {
|
|
|
15
13
|
renderWrapper(header: unknown, body: unknown): import('lit').TemplateResult<1>;
|
|
16
14
|
handlePageChanged(event: CustomEvent): void;
|
|
17
15
|
handleItemsPerPageChanged(event: CustomEvent): void;
|
|
18
|
-
private handleJumpLinkClick;
|
|
19
|
-
private handleJumpLinkBlur;
|
|
20
|
-
private handleRowSelectCheckboxBlur;
|
|
21
16
|
private getTableHeader;
|
|
22
17
|
handleSelectAll(event: CustomEvent): void;
|
|
23
18
|
private getTableHeaderColumn;
|
|
@@ -28,8 +23,10 @@ export declare class NgcTable extends NjcTable {
|
|
|
28
23
|
private formatTotal;
|
|
29
24
|
private getTableBodyRow;
|
|
30
25
|
private getTableHeaderRow;
|
|
31
|
-
handleKeyDown: (e: KeyboardEvent) => void;
|
|
32
26
|
handleTableBodyRowSelected(event: CustomEvent, rowData: RowData): void;
|
|
27
|
+
addSkipLinkToBulkActions(referenceElement: Node): void;
|
|
28
|
+
getSkipToBulkActionsMarkup(referenceElement: Node): HTMLElement;
|
|
29
|
+
removeSkipLinkToBulkActions(referenceElement: Node): void;
|
|
33
30
|
get displayedRowData(): RowData[];
|
|
34
31
|
private getTableBodyCell;
|
|
35
32
|
private getValueForCell;
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { NjcTextLink } from '../text-link.ts';
|
|
2
2
|
export declare class NgcTextLink extends NjcTextLink {
|
|
3
|
+
static shadowRootOptions: {
|
|
4
|
+
delegatesFocus: boolean;
|
|
5
|
+
mode: ShadowRootMode;
|
|
6
|
+
serializable?: boolean;
|
|
7
|
+
slotAssignment?: SlotAssignmentMode;
|
|
8
|
+
};
|
|
3
9
|
static styles: import('lit').CSSResult[];
|
|
4
10
|
render(): import('lit').TemplateResult<1>;
|
|
11
|
+
get anchorMarkup(): import('lit').TemplateResult<1>;
|
|
12
|
+
get customLinkMarkup(): import('lit').TemplateResult<1>;
|
|
13
|
+
get textLinkInnerMarkup(): import('lit').TemplateResult<1>;
|
|
5
14
|
get variantClass(): string | null;
|
|
15
|
+
handleKeyup(event: KeyboardEvent): void;
|
|
16
|
+
handleClick(event: MouseEvent): void;
|
|
6
17
|
}
|
|
7
18
|
declare global {
|
|
8
19
|
interface HTMLElementTagNameMap {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export { NgcRadioGroup } from './components/radio-group';
|
|
|
33
33
|
export { NgcSelectionBox } from './components/selection-box';
|
|
34
34
|
export { NgcSelectionBoxGroup } from './components/selection-box-group';
|
|
35
35
|
export { NgcSkeletonLoader } from './components/skeleton-loader';
|
|
36
|
+
export { NgcSkipLink } from './components/skip-link';
|
|
36
37
|
export { NgcSwitch } from './components/switch';
|
|
37
38
|
export * from './components/tabs/index.gator.ts';
|
|
38
39
|
export { NgcTextDetail } from './components/text-detail';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { setBrandColor, getBrandColor } from './utils/brand-color-utils.ts';
|
|
@@ -12,6 +12,11 @@ export declare class NgcComponent extends NgcComponent_base {
|
|
|
12
12
|
* to the host element.
|
|
13
13
|
*/
|
|
14
14
|
delegatesARIA: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @property {Boolean} skeleton - Whether the component should be rendered in a skeleton state.
|
|
17
|
+
* @type {boolean}
|
|
18
|
+
*/
|
|
19
|
+
skeleton: boolean;
|
|
15
20
|
static styles: import('lit').CSSResult[];
|
|
16
21
|
}
|
|
17
22
|
export {};
|
|
@@ -95,6 +95,16 @@ export declare const INPUT_BASE_ARGS: {
|
|
|
95
95
|
};
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
+
minLength: {
|
|
99
|
+
description: string;
|
|
100
|
+
control: string;
|
|
101
|
+
table: {};
|
|
102
|
+
};
|
|
103
|
+
maxLength: {
|
|
104
|
+
description: string;
|
|
105
|
+
control: string;
|
|
106
|
+
table: {};
|
|
107
|
+
};
|
|
98
108
|
};
|
|
99
109
|
export declare const INPUT_TEXT_ARGS: {
|
|
100
110
|
pattern: {
|
|
@@ -132,6 +142,19 @@ export declare const INPUT_A11Y_ARGS: {
|
|
|
132
142
|
description: string;
|
|
133
143
|
};
|
|
134
144
|
};
|
|
145
|
+
export declare const SKELETON_ARG: {
|
|
146
|
+
skeleton: {
|
|
147
|
+
description: string;
|
|
148
|
+
control: {
|
|
149
|
+
type: string;
|
|
150
|
+
};
|
|
151
|
+
table: {
|
|
152
|
+
defaultValue: {
|
|
153
|
+
summary: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
135
158
|
export declare const START_ICON_ARG: {
|
|
136
159
|
startIcon: {
|
|
137
160
|
name: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"../node_modules/.pnpm/color@5.0.0/node_modules/color/index.js";function d(t){try{const[r,e]=o(t).hsl().array();document.documentElement.style.setProperty("--color-brand-base",t),document.documentElement.style.setProperty("--color-brand-hue",Math.round(r).toString()),document.documentElement.style.setProperty("--color-brand-saturation",`${Math.round(e)}%`)}catch(r){console.error("Invalid brand color provided:",t,r)}}function a(){return getComputedStyle(document.documentElement).getPropertyValue("--color-brand-base").trim()||"#103656"}export{a as getBrandColor,d as setBrandColor};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
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 d from"../../packages/web-components/src/styles/_gator-utils.scss.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{TestableLitElement as v}from"./testable-lit-element/testable-lit-element.js";import{AttributeDeletionMixin as y}from"../mixins/attribute-deletion.js";import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{unsafeCSS as o}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/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 y(v){constructor(){super(...arguments),this.delegatesARIA=!0,this.skeleton=!1}};i.styles=[o(n),o(u),o(d)];let e=i;f([l({type:Boolean})],e.prototype,"delegatesARIA");f([l({type:Boolean})],e.prototype,"skeleton");export{e as NgcComponent};
|
|
@@ -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:""}}}},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"}}}},
|
|
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:{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:{}},maxLength:{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:{}}},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,a)=>{let e,o={};for(e in t)t.hasOwnProperty(e)&&!a.includes(e)&&(o[e]=t[e]);return o},d=(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,c as argsExclude,d 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.
|
|
1
|
+
import{page as s}from"../node_modules/.pnpm/@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__558558d730596f7c5e09b21ff26a3e74/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.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5/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};
|