@ncino/web-components 9.0.0-preview.4 → 9.0.0-preview.5
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/index2.js +1 -1
- package/dist/_virtual/index3.js +1 -1
- package/dist/_virtual/index5.js +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/components/accordion/gator/base/accordion.gator.js +2 -2
- package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
- package/dist/components/alert/gator/base/alert.gator.js +1 -1
- package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +1 -1
- package/dist/components/alert/gator/title/alert-title.gator.js +1 -1
- package/dist/components/avatar/gator/avatar.gator.js +1 -1
- package/dist/components/badge/gator/badge.gator.js +1 -1
- package/dist/components/banner/gator/banner.gator.js +2 -2
- package/dist/components/boolean/boolean.gator.js +2 -2
- package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +1 -1
- package/dist/components/breadcrumbs/gator/container/breadcrumbs.gator.js +2 -2
- package/dist/components/button/gator/button.gator.js +1 -1
- package/dist/components/button-card/gator/button-card.gator.js +2 -2
- package/dist/components/button-group/gator/button-group.gator.js +2 -2
- package/dist/components/card/gator/base/card.gator.js +1 -1
- package/dist/components/card/gator/content/card-content.gator.js +1 -1
- package/dist/components/card/gator/footer/card-footer.gator.js +1 -1
- package/dist/components/card/gator/header/card-header.gator.js +1 -1
- package/dist/components/checkbox/checkbox.gator.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.gator.js +2 -2
- package/dist/components/chip/gator/chip.gator.js +1 -1
- package/dist/components/date-picker/base/gator/datepicker.gator.js +2 -2
- package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +1 -1
- package/dist/components/display-card/gator/display-card.gator.js +1 -1
- package/dist/components/divider/gator/divider.gator.js +2 -2
- package/dist/components/fab/gator/fab.gator.js +1 -1
- package/dist/components/guided-nav/gator/guided-nav/guided-nav.gator.js +1 -1
- package/dist/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.js +2 -2
- package/dist/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.js +1 -1
- package/dist/components/headline-card/gator/headline-card.gator.js +2 -2
- package/dist/components/icon/gator/icon.gator.js +1 -1
- package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
- package/dist/components/illustration/gator/illustration.gator.js +1 -1
- package/dist/components/image-card/gator/image-card.gator.js +1 -1
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +1 -1
- package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
- package/dist/components/input/gator/input-currency/input-currency.gator.js +1 -1
- package/dist/components/input/gator/input-date/input-date.gator.js +1 -1
- package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +1 -1
- package/dist/components/input/gator/input-file/input-file.gator.js +1 -1
- package/dist/components/input/gator/input-label/input-label.gator.js +1 -1
- package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
- package/dist/components/input/gator/input-percent/input-percent.gator.js +1 -1
- package/dist/components/input/gator/input-phone/input-phone.gator.js +1 -1
- package/dist/components/input/gator/input-search/input-search.gator.js +1 -1
- package/dist/components/input/gator/input-text/input-text.gator.js +1 -1
- package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
- package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
- package/dist/components/input-rich-text/input-rich-text.slds.js +1 -1
- package/dist/components/list/gator/list/list.gator.js +1 -1
- package/dist/components/list/gator/list-item/list-item.gator.js +2 -2
- package/dist/components/loading-spinner/gator/loading-spinner.gator.js +1 -1
- package/dist/components/menu/base/gator/menu.gator.js +1 -1
- package/dist/components/menu/menu-item/gator/menu-item.gator.js +1 -1
- package/dist/components/modal/gator/modal.gator.js +1 -1
- package/dist/components/page-header/gator/page-header.gator.js +1 -1
- package/dist/components/panel/gator/panel.gator.js +1 -1
- package/dist/components/popover/gator/popover.gator.js +1 -1
- package/dist/components/progress-bar/gator/progress-bar.gator.js +1 -1
- package/dist/components/progress-ring/gator/progress-ring.gator.js +1 -1
- package/dist/components/progress-stepper/base/progress-stepper.gator.js +1 -1
- package/dist/components/progress-stepper/stepper-item/stepper-item.gator.js +2 -2
- package/dist/components/radio/radio.gator.js +1 -1
- package/dist/components/radio-group/radio-group.gator.js +2 -2
- package/dist/components/selection-box/selection-box.gator.js +1 -1
- package/dist/components/selection-box-group/selection-box-group.gator.js +1 -1
- package/dist/components/selector/gator/selector.gator.js +1 -1
- package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
- package/dist/components/skip-link/gator/base/skip-link.gator.js +1 -1
- package/dist/components/skip-link/gator/list-item/skip-link-list-item.gator.js +1 -1
- package/dist/components/switch/gator/switch.gator.js +1 -1
- package/dist/components/table/gator/table-bulk-controls/table-bulk-controls.gator.js +1 -1
- package/dist/components/table/gator/table-controls/table-controls.gator.js +1 -1
- package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
- package/dist/components/table/gator/table.gator.js +1 -1
- package/dist/components/tabs/gator/tab/tab.gator.js +2 -2
- package/dist/components/tabs/gator/tabset/tabset.gator.js +1 -1
- package/dist/components/text-detail/gator/text-detail.gator.js +6 -6
- package/dist/components/text-link/gator/text-link.gator.js +1 -1
- package/dist/components/time-picker/gator/time-picker.gator.js +1 -1
- package/dist/components/toast/gator/base/toast.gator.js +1 -1
- package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +1 -1
- package/dist/components/toast/gator/title/toast-title.gator.js +1 -1
- package/dist/components/toast-container/gator/toast-container.gator.js +2 -2
- package/dist/components/toaster/gator/toaster.gator.js +2 -2
- package/dist/components/tooltip/gator/tooltip.gator.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/react@19.2.0/node_modules/react/index.js +1 -1
- package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/index.js +1 -1
- package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js +1 -1
- package/dist/types/utils/decorators/custom-element-decorator.d.ts +5 -0
- package/dist/utils/components/illustration-list/illustration-list.gator.js +2 -2
- package/dist/utils/decorators/custom-element-decorator.js +1 -0
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bail as P}from"../../../../bail@2.0.2/node_modules/bail/index.js";import y from"../../../../../../_virtual/
|
|
1
|
+
import{bail as P}from"../../../../bail@2.0.2/node_modules/bail/index.js";import y from"../../../../../../_virtual/index3.js";import z from"../../../../is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js";import{CallableInstance as C}from"./callable-instance.js";import{trough as A}from"../../../../trough@2.2.0/node_modules/trough/lib/index.js";import{VFile as S}from"../../../../vfile@6.0.3/node_modules/vfile/lib/index.js";const F={}.hasOwnProperty;class x extends C{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=A()}copy(){const e=new x;let n=-1;for(;++n<this.attachers.length;){const t=this.attachers[n];e.use(...t)}return e.data(y(!0,{},this.namespace)),e}data(e,n){return typeof e=="string"?arguments.length===2?(b("data",this.frozen),this.namespace[e]=n,this):F.call(this.namespace,e)&&this.namespace[e]||void 0:e?(b("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...t]=this.attachers[this.freezeIndex];if(t[0]===!1)continue;t[0]===!0&&(t[0]=void 0);const i=n.call(e,...t);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const n=m(e),t=this.parser||this.Parser;return w("parse",t),t(String(n),n)}process(e,n){const t=this;return this.freeze(),w("process",this.parser||this.Parser),g("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,h){const p=m(e),l=t.parse(p);t.run(l,p,function(o,c,f){if(o||!c||!f)return s(o);const u=c,d=t.stringify(u,f);D(d)?f.value=d:f.result=d,s(o,f)});function s(o,c){o||!c?h(o):a?a(c):n(void 0,c)}}}processSync(e){let n=!1,t;return this.freeze(),w("processSync",this.parser||this.Parser),g("processSync",this.compiler||this.Compiler),this.process(e,i),T("processSync","process",n),t;function i(a,h){n=!0,P(a),t=h}}run(e,n,t){I(e),this.freeze();const i=this.transformers;return!t&&typeof n=="function"&&(t=n,n=void 0),t?a(void 0,t):new Promise(a);function a(h,p){const l=m(n);i.run(e,l,s);function s(o,c,f){const u=c||e;o?p(o):h?h(u):t(void 0,u,f)}}}runSync(e,n){let t=!1,i;return this.run(e,n,a),T("runSync","run",t),i;function a(h,p){P(h),i=p,t=!0}}stringify(e,n){this.freeze();const t=m(n),i=this.compiler||this.Compiler;return g("stringify",i),I(e),i(e,t)}use(e,...n){const t=this.attachers,i=this.namespace;if(b("use",this.frozen),e!=null)if(typeof e=="function")l(e,n);else if(typeof e=="object")Array.isArray(e)?p(e):h(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function a(s){if(typeof s=="function")l(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[o,...c]=s;l(o,c)}else h(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function h(s){if(!("plugins"in s)&&!("settings"in s))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");p(s.plugins),s.settings&&(i.settings=y(!0,i.settings,s.settings))}function p(s){let o=-1;if(s!=null)if(Array.isArray(s))for(;++o<s.length;){const c=s[o];a(c)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function l(s,o){let c=-1,f=-1;for(;++c<t.length;)if(t[c][0]===s){f=c;break}if(f===-1)t.push([s,...o]);else if(o.length>0){let[u,...d]=o;const E=t[f][1];z(E)&&z(u)&&(u=y(!0,E,u)),t[f]=[s,u,...d]}}}}const R=new x().freeze();function w(r,e){if(typeof e!="function")throw new TypeError("Cannot `"+r+"` without `parser`")}function g(r,e){if(typeof e!="function")throw new TypeError("Cannot `"+r+"` without `compiler`")}function b(r,e){if(e)throw new Error("Cannot call `"+r+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function I(r){if(!z(r)||typeof r.type!="string")throw new TypeError("Expected node, got `"+r+"`")}function T(r,e,n){if(!n)throw new Error("`"+r+"` finished async. Use `"+e+"` instead")}function m(r){return j(r)?r:new S(r)}function j(r){return!!(r&&typeof r=="object"&&"message"in r&&"messages"in r)}function D(r){return typeof r=="string"||L(r)}function L(r){return!!(r&&typeof r=="object"&&"byteLength"in r&&"byteOffset"in r)}export{x as Processor,R as unified};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as n}from"../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as m}from"../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as f}from"
|
|
1
|
+
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as n}from"../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as m}from"../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as f}from"../../decorators/custom-element-decorator.js";import{illustrations as p}from"../../../components/illustration/illustration-registry.js";var c=Object.getOwnPropertyDescriptor,v=(r,e,a,l)=>{for(var t=l>1?void 0:l?c(e,a):e,i=r.length-1,s;i>=0;i--)(s=r[i])&&(t=s(t)||t);return t};let o=class extends m{render(){return n`
|
|
2
2
|
<div style="display: flex; flex-wrap: wrap; font-family: sans-serif">
|
|
3
3
|
${Array.from(p.keys()).map(r=>n`
|
|
4
4
|
<div style="display: flex; flex-direction: column; align-items: center; margin: 1rem;">
|
|
@@ -7,4 +7,4 @@ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit
|
|
|
7
7
|
</div>
|
|
8
8
|
`)}
|
|
9
9
|
</div>
|
|
10
|
-
`}};
|
|
10
|
+
`}};o=v([f("ngc-illustration-list")],o);export{o as NgcIllustrationList};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{customElement as n}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";function r(t){return e=>customElements.get(t)?e:n(t)(e)}export{r as customElement};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "9.0.0-preview.
|
|
4
|
+
"version": "9.0.0-preview.5",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"vite-plugin-static-copy": "^3.1.4",
|
|
107
107
|
"vitest": "^3.2.4",
|
|
108
108
|
"yaml-eslint-parser": "^1.3.1",
|
|
109
|
-
"@ncino/styles": "9.0.0-preview.
|
|
109
|
+
"@ncino/styles": "9.0.0-preview.5"
|
|
110
110
|
},
|
|
111
111
|
"peerDependencies": {
|
|
112
112
|
"@ncino/styles": ">=8.0.0-preview.0"
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ncino/web-components",
|
|
4
|
-
"version": "9.0.0-preview.
|
|
4
|
+
"version": "9.0.0-preview.4",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|