@ncino/web-components 4.0.0-preview.22 → 4.0.0-preview.23
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
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{LitElement as m}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{property as p}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{KEY_CONSTANTS as o}from"../../../consts/key-constants.js";var a=Object.defineProperty,l=(r,
|
|
1
|
+
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{LitElement as m}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{property as p}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{KEY_CONSTANTS as o}from"../../../consts/key-constants.js";var a=Object.defineProperty,l=(r,e,i,v)=>{for(var t=void 0,n=r.length-1,s;n>=0;n--)(s=r[n])&&(t=s(e,i,t)||t);return t&&a(e,i,t),t};class u extends m{constructor(){super(...arguments),this.value=""}handleItemKeydown(e){(e.key===o.SPACE||e.key===o.ENTER)&&(this.sendEvent(),e.preventDefault())}handleItemClick(){this.sendEvent()}sendEvent(){this.dispatchEvent(new CustomEvent("menuitemclick",{bubbles:!0,composed:!0,detail:{value:this.value}}))}}l([p({type:String})],u.prototype,"value");export{u as NjcMenuItem};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/web-components",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "4.0.0-preview.
|
|
4
|
+
"version": "4.0.0-preview.23",
|
|
5
5
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -62,7 +62,9 @@
|
|
|
62
62
|
"storybook:gator": "pnpm run localize:build && pnpm run analyze && storybook dev -c .storybook-gator -p 6006",
|
|
63
63
|
"storybook:slds": "pnpm run analyze && storybook dev -c .storybook-slds -p 6006",
|
|
64
64
|
"test": "vitest",
|
|
65
|
-
"test:
|
|
65
|
+
"test:headless": "vitest --browser.headless",
|
|
66
|
+
"test:coverage": "vitest --coverage.enabled true",
|
|
67
|
+
"test:coverage:headless": "vitest --coverage.enabled true --browser.headless"
|
|
66
68
|
},
|
|
67
69
|
"dependencies": {
|
|
68
70
|
"@deltablot/dropzone": "^7.3.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.0.0-preview.
|
|
4
|
+
"version": "4.0.0-preview.22",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|