@nova-design-system/nova-webcomponents 3.0.0-beta.24 → 3.0.0-beta.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blazor-docs.json +971 -22
- package/dist/cjs/{app-globals-2ceecab2.js → app-globals-d8cbb987.js} +2 -2
- package/dist/cjs/app-globals-d8cbb987.js.map +1 -0
- package/dist/cjs/{index-5d1f2412.js → index-c50face0.js} +37 -17
- package/dist/cjs/index-c50face0.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/native.cjs.js +4 -4
- package/dist/cjs/native.cjs.js.map +1 -1
- package/dist/cjs/nv-alert.cjs.entry.js +1 -1
- package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
- package/dist/cjs/nv-badge.cjs.entry.js +1 -1
- package/dist/cjs/nv-base.cjs.entry.js +1 -1
- package/dist/cjs/nv-button.cjs.entry.js +1 -1
- package/dist/cjs/nv-col.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +1 -1
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +367 -0
- package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +62 -0
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js.map +1 -0
- package/dist/cjs/nv-fieldnumber.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldselect.cjs.entry.js +6 -6
- package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +5 -5
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-fieldtoggle.cjs.entry.js +3 -3
- package/dist/cjs/nv-icon.cjs.entry.js +2 -2
- package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/nv-iconbutton.cjs.entry.js +2 -2
- package/dist/cjs/nv-loader.cjs.entry.js +2 -2
- package/dist/cjs/nv-menu.cjs.entry.js +2 -2
- package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +2 -2
- package/dist/cjs/nv-row.cjs.entry.js +2 -2
- package/dist/cjs/nv-stack.cjs.entry.js +2 -2
- package/dist/cjs/nv-tooltip.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.css +195 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +160 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +751 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -0
- package/dist/collection/components/nv-fielddropdownitem/DropdownItemSelectedEventDetail.js +2 -0
- package/dist/collection/components/nv-fielddropdownitem/DropdownItemSelectedEventDetail.js.map +1 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.css +46 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js +6 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js.map +1 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +160 -0
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js.map +1 -0
- package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
- package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
- package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +7 -7
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -1
- package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js +2 -2
- package/dist/collection/components/nv-icon/nv-icon.js +2 -2
- package/dist/collection/components/nv-icon/nv-icon.js.map +1 -1
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/components/index.js +3 -3
- package/dist/components/nv-alert.js +2 -2
- package/dist/components/nv-avatar.js +2 -2
- package/dist/components/nv-badge.js +2 -2
- package/dist/components/nv-base.js +1 -1
- package/dist/components/nv-button.js +2 -2
- package/dist/components/nv-col.js +1 -1
- package/dist/components/nv-fieldcheckbox.js +1 -1
- package/dist/components/nv-fielddropdown.d.ts +11 -0
- package/dist/components/nv-fielddropdown.js +434 -0
- package/dist/components/nv-fielddropdown.js.map +1 -0
- package/dist/components/nv-fielddropdownitem.d.ts +11 -0
- package/dist/components/nv-fielddropdownitem.js +8 -0
- package/dist/components/nv-fielddropdownitem.js.map +1 -0
- package/dist/components/nv-fieldnumber.js +5 -5
- package/dist/components/nv-fieldpassword.js +7 -7
- package/dist/components/nv-fieldradio.js +4 -4
- package/dist/components/nv-fieldselect.js +7 -7
- package/dist/components/nv-fieldtext.js +5 -5
- package/dist/components/nv-fieldtextarea.js +6 -6
- package/dist/components/nv-fieldtextarea.js.map +1 -1
- package/dist/components/nv-fieldtoggle.js +3 -3
- package/dist/components/nv-icon.js +1 -1
- package/dist/components/nv-iconbutton.js +1 -1
- package/dist/components/nv-loader.js +1 -1
- package/dist/components/nv-menu.js +3 -3
- package/dist/components/nv-menuitem.js +2 -2
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +2 -2
- package/dist/components/nv-stack.js +2 -2
- package/dist/components/nv-tooltip.js +3 -3
- package/dist/components/{p-8da6d9a3.js → p-69cc7819.js} +3 -3
- package/dist/components/{p-8da6d9a3.js.map → p-69cc7819.js.map} +1 -1
- package/dist/components/p-76eb28db.js +84 -0
- package/dist/components/p-76eb28db.js.map +1 -0
- package/dist/components/{p-d9a2aa08.js → p-9647924f.js} +5 -5
- package/dist/components/{p-d9a2aa08.js.map → p-9647924f.js.map} +1 -1
- package/dist/components/{p-137af295.js → p-9be1ebd4.js} +3 -3
- package/dist/components/{p-137af295.js.map → p-9be1ebd4.js.map} +1 -1
- package/dist/components/{p-50bd2808.js → p-ae6a0d80.js} +21 -7
- package/dist/components/p-ae6a0d80.js.map +1 -0
- package/dist/components/{p-632bedb8.js → p-d506ae63.js} +33 -19
- package/dist/components/p-d506ae63.js.map +1 -0
- package/dist/components/{p-c711fe67.js → p-ff97f99e.js} +4 -4
- package/dist/components/{p-c711fe67.js.map → p-ff97f99e.js.map} +1 -1
- package/dist/docs.json +961 -24
- package/dist/esm/{app-globals-df0a3c8d.js → app-globals-eea8674a.js} +2 -2
- package/dist/esm/app-globals-eea8674a.js.map +1 -0
- package/dist/esm/{index-179dfba2.js → index-e7b35c14.js} +37 -17
- package/dist/esm/index-e7b35c14.js.map +1 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/native.js +5 -5
- package/dist/esm/native.js.map +1 -1
- package/dist/esm/nv-alert.entry.js +1 -1
- package/dist/esm/nv-avatar.entry.js +1 -1
- package/dist/esm/nv-badge.entry.js +1 -1
- package/dist/esm/nv-base.entry.js +1 -1
- package/dist/esm/nv-button.entry.js +1 -1
- package/dist/esm/nv-col.entry.js +1 -1
- package/dist/esm/nv-fieldcheckbox.entry.js +1 -1
- package/dist/esm/nv-fielddropdown.entry.js +363 -0
- package/dist/esm/nv-fielddropdown.entry.js.map +1 -0
- package/dist/esm/nv-fielddropdownitem.entry.js +58 -0
- package/dist/esm/nv-fielddropdownitem.entry.js.map +1 -0
- package/dist/esm/nv-fieldnumber.entry.js +4 -4
- package/dist/esm/nv-fieldpassword.entry.js +4 -4
- package/dist/esm/nv-fieldradio.entry.js +4 -4
- package/dist/esm/nv-fieldselect.entry.js +6 -6
- package/dist/esm/nv-fieldtext.entry.js +4 -4
- package/dist/esm/nv-fieldtextarea.entry.js +5 -5
- package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
- package/dist/esm/nv-fieldtoggle.entry.js +3 -3
- package/dist/esm/nv-icon.entry.js +2 -2
- package/dist/esm/nv-icon.entry.js.map +1 -1
- package/dist/esm/nv-iconbutton.entry.js +2 -2
- package/dist/esm/nv-loader.entry.js +2 -2
- package/dist/esm/nv-menu.entry.js +2 -2
- package/dist/esm/nv-menuitem.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +2 -2
- package/dist/esm/nv-row.entry.js +2 -2
- package/dist/esm/nv-stack.entry.js +2 -2
- package/dist/esm/nv-tooltip.entry.js +2 -2
- package/dist/native/native.css +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/native.esm.js.map +1 -1
- package/dist/native/{p-617d6a09.entry.js → p-000749ae.entry.js} +2 -2
- package/dist/native/p-0d335326.entry.js +2 -0
- package/dist/native/{p-29d482cd.entry.js.map → p-0d335326.entry.js.map} +1 -1
- package/dist/native/{p-f5acea50.entry.js → p-1aaee302.entry.js} +2 -2
- package/dist/native/{p-1ceee367.entry.js → p-20ea1b61.entry.js} +2 -2
- package/dist/native/{p-89accab1.entry.js → p-23b20b80.entry.js} +2 -2
- package/dist/native/{p-f9aac71a.entry.js → p-25e1bc94.entry.js} +2 -2
- package/dist/native/{p-6f762ec2.entry.js → p-2fca31c0.entry.js} +2 -2
- package/dist/native/{p-7ce1b712.entry.js → p-330c929d.entry.js} +2 -2
- package/dist/native/{p-43cd42ca.entry.js → p-396b65bb.entry.js} +2 -2
- package/dist/native/{p-b8eb4c31.entry.js → p-4a43953f.entry.js} +2 -2
- package/dist/native/p-4b550f95.entry.js +2 -0
- package/dist/native/{p-b5e4a9e7.entry.js → p-4fae1b2c.entry.js} +2 -2
- package/dist/native/p-4fae1b2c.entry.js.map +1 -0
- package/dist/native/{p-06f64d05.entry.js → p-5172aa15.entry.js} +2 -2
- package/dist/native/{p-71d6aad8.entry.js → p-69ca8c88.entry.js} +2 -2
- package/dist/native/{p-8b65b16f.entry.js → p-71fbdb92.entry.js} +2 -2
- package/dist/native/{p-519e0f59.entry.js → p-89468485.entry.js} +2 -2
- package/dist/native/{p-fb6f42b7.entry.js → p-8de6396f.entry.js} +2 -2
- package/dist/native/{p-124a7067.entry.js → p-a016e4b6.entry.js} +2 -2
- package/dist/native/{p-0aa0193b.entry.js → p-a59ec107.entry.js} +2 -2
- package/dist/native/{p-dccf739a.entry.js → p-aeaa326f.entry.js} +2 -2
- package/dist/native/{p-dccf739a.entry.js.map → p-aeaa326f.entry.js.map} +1 -1
- package/dist/native/p-b4aea326.js +3 -0
- package/dist/native/p-b4aea326.js.map +1 -0
- package/dist/native/p-bb243eaf.entry.js +2 -0
- package/dist/native/p-bb243eaf.entry.js.map +1 -0
- package/dist/native/{p-d5a8b6c4.entry.js → p-c16a4fbe.entry.js} +2 -2
- package/dist/native/{p-14c08510.entry.js → p-d4e0b6e1.entry.js} +2 -2
- package/dist/native/p-d5c24d8f.entry.js +2 -0
- package/dist/native/p-d5c24d8f.entry.js.map +1 -0
- package/dist/native/{p-830ec54a.entry.js → p-ed893068.entry.js} +2 -2
- package/dist/native/p-eeb6a3dc.js +2 -0
- package/dist/native/p-eeb6a3dc.js.map +1 -0
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +185 -0
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.docs.d.ts +4 -0
- package/dist/types/components/nv-fielddropdownitem/DropdownItemSelectedEventDetail.d.ts +9 -0
- package/dist/types/components/nv-fielddropdownitem/nv-fielddropdownitem.d.ts +40 -0
- package/dist/types/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.d.ts +4 -0
- package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +2 -2
- package/dist/types/components.d.ts +241 -8
- package/dist/types/stencil-public-runtime.d.ts +2 -0
- package/hydrate/index.js +589 -113
- package/hydrate/index.mjs +589 -113
- package/hydrate/package.json +1 -1
- package/package.json +58 -2
- package/dist/cjs/app-globals-2ceecab2.js.map +0 -1
- package/dist/cjs/index-5d1f2412.js.map +0 -1
- package/dist/components/p-50bd2808.js.map +0 -1
- package/dist/components/p-632bedb8.js.map +0 -1
- package/dist/esm/app-globals-df0a3c8d.js.map +0 -1
- package/dist/esm/index-179dfba2.js.map +0 -1
- package/dist/native/p-29d482cd.entry.js +0 -2
- package/dist/native/p-80788ddf.js +0 -2
- package/dist/native/p-80788ddf.js.map +0 -1
- package/dist/native/p-b5e4a9e7.entry.js.map +0 -1
- package/dist/native/p-b99aa075.entry.js +0 -2
- package/dist/native/p-db2a68f3.js +0 -3
- package/dist/native/p-db2a68f3.js.map +0 -1
- package/dist/vscode-data.json +0 -3179
- /package/dist/native/{p-617d6a09.entry.js.map → p-000749ae.entry.js.map} +0 -0
- /package/dist/native/{p-f5acea50.entry.js.map → p-1aaee302.entry.js.map} +0 -0
- /package/dist/native/{p-1ceee367.entry.js.map → p-20ea1b61.entry.js.map} +0 -0
- /package/dist/native/{p-89accab1.entry.js.map → p-23b20b80.entry.js.map} +0 -0
- /package/dist/native/{p-f9aac71a.entry.js.map → p-25e1bc94.entry.js.map} +0 -0
- /package/dist/native/{p-6f762ec2.entry.js.map → p-2fca31c0.entry.js.map} +0 -0
- /package/dist/native/{p-7ce1b712.entry.js.map → p-330c929d.entry.js.map} +0 -0
- /package/dist/native/{p-43cd42ca.entry.js.map → p-396b65bb.entry.js.map} +0 -0
- /package/dist/native/{p-b8eb4c31.entry.js.map → p-4a43953f.entry.js.map} +0 -0
- /package/dist/native/{p-b99aa075.entry.js.map → p-4b550f95.entry.js.map} +0 -0
- /package/dist/native/{p-06f64d05.entry.js.map → p-5172aa15.entry.js.map} +0 -0
- /package/dist/native/{p-71d6aad8.entry.js.map → p-69ca8c88.entry.js.map} +0 -0
- /package/dist/native/{p-8b65b16f.entry.js.map → p-71fbdb92.entry.js.map} +0 -0
- /package/dist/native/{p-519e0f59.entry.js.map → p-89468485.entry.js.map} +0 -0
- /package/dist/native/{p-fb6f42b7.entry.js.map → p-8de6396f.entry.js.map} +0 -0
- /package/dist/native/{p-124a7067.entry.js.map → p-a016e4b6.entry.js.map} +0 -0
- /package/dist/native/{p-0aa0193b.entry.js.map → p-a59ec107.entry.js.map} +0 -0
- /package/dist/native/{p-d5a8b6c4.entry.js.map → p-c16a4fbe.entry.js.map} +0 -0
- /package/dist/native/{p-14c08510.entry.js.map → p-d4e0b6e1.entry.js.map} +0 -0
- /package/dist/native/{p-830ec54a.entry.js.map → p-ed893068.entry.js.map} +0 -0
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, FieldLabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
|
|
9
|
+
import { DropdownItemSelectedEventDetail } from "./components/nv-fielddropdownitem/DropdownItemSelectedEventDetail";
|
|
9
10
|
import { IconName } from "./components/nv-icon/nv-icons";
|
|
10
11
|
import { Placement } from "@floating-ui/dom";
|
|
11
12
|
import { MenuitemSelectedEventDetail } from "./components/nv-menuitem/nv-menuitem";
|
|
12
13
|
import { Element } from "./stencil-public-runtime";
|
|
13
14
|
export { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, FieldLabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
|
|
15
|
+
export { DropdownItemSelectedEventDetail } from "./components/nv-fielddropdownitem/DropdownItemSelectedEventDetail";
|
|
14
16
|
export { IconName } from "./components/nv-icon/nv-icons";
|
|
15
17
|
export { Placement } from "@floating-ui/dom";
|
|
16
18
|
export { MenuitemSelectedEventDetail } from "./components/nv-menuitem/nv-menuitem";
|
|
@@ -263,6 +265,93 @@ export namespace Components {
|
|
|
263
265
|
*/
|
|
264
266
|
"value"?: string;
|
|
265
267
|
}
|
|
268
|
+
interface NvFielddropdown {
|
|
269
|
+
/**
|
|
270
|
+
* The autocomplete prop helps users fill out the input field faster by suggesting entries they’ve used before, like their email or address. You can turn it on to make forms more convenient or off to ensure users always type in fresh data.
|
|
271
|
+
*/
|
|
272
|
+
"autocomplete": `${TextInputAutocomplete}`;
|
|
273
|
+
/**
|
|
274
|
+
* Add helpful hints or extra information under the text input field. This is where you can clarify what users should enter or provide additional instructions, making the form easier to fill out correctly.
|
|
275
|
+
*/
|
|
276
|
+
"description": string;
|
|
277
|
+
/**
|
|
278
|
+
* The disabled prop lets you turn off the input field so that users can’t type in it. When disabled, the field is grayed out and won’t respond to clicks or touches.
|
|
279
|
+
*/
|
|
280
|
+
"disabled": boolean;
|
|
281
|
+
/**
|
|
282
|
+
* The text to display when no items match the filter.
|
|
283
|
+
*/
|
|
284
|
+
"emptyresult": string;
|
|
285
|
+
/**
|
|
286
|
+
* Alters the input field’s appearance to indicate an error, helping users identify fields that need correction.
|
|
287
|
+
* @validator error
|
|
288
|
+
*/
|
|
289
|
+
"error": boolean;
|
|
290
|
+
/**
|
|
291
|
+
* A description that appears when there is an error related to the dropdown field.
|
|
292
|
+
* @validator message
|
|
293
|
+
*/
|
|
294
|
+
"errorDescription": string;
|
|
295
|
+
/**
|
|
296
|
+
* Enables or disables the filtering feature for the dropdown items.
|
|
297
|
+
*/
|
|
298
|
+
"filterable": boolean;
|
|
299
|
+
/**
|
|
300
|
+
* Retrieves the current filter text entered by the user.
|
|
301
|
+
* @returns The filter text.
|
|
302
|
+
*/
|
|
303
|
+
"getFilterText": () => Promise<string>;
|
|
304
|
+
/**
|
|
305
|
+
* Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
306
|
+
*/
|
|
307
|
+
"inputId": string;
|
|
308
|
+
/**
|
|
309
|
+
* Lets you define the text that explains what users should enter in the text input field. It’s a crucial element for making forms clear and user-friendly.
|
|
310
|
+
*/
|
|
311
|
+
"label": string;
|
|
312
|
+
/**
|
|
313
|
+
* Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input’s data in form submissions. It should be unique within the form to avoid conflicts.
|
|
314
|
+
*/
|
|
315
|
+
"name": string;
|
|
316
|
+
/**
|
|
317
|
+
* State of the dropdown popover.
|
|
318
|
+
*/
|
|
319
|
+
"open": boolean;
|
|
320
|
+
/**
|
|
321
|
+
* Display temporary text inside the input field to give users a hint about what to type. It’s a great way to provide examples or suggestions directly in the field before they start typing. The placeholder is displayed only when the filterable option is enabled.
|
|
322
|
+
*/
|
|
323
|
+
"placeholder": string;
|
|
324
|
+
/**
|
|
325
|
+
* Display the input field’s content without allowing users to change it. Users can still click on it, select, and copy the text, but they won’t be able to type or delete anything.
|
|
326
|
+
*/
|
|
327
|
+
"readonly": boolean;
|
|
328
|
+
/**
|
|
329
|
+
* Marks the input field as required, ensuring that the user must fill it out before submitting the form.
|
|
330
|
+
*/
|
|
331
|
+
"required": boolean;
|
|
332
|
+
/**
|
|
333
|
+
* Specifies the value of the input field, which determines the text displayed within the field. This prop is typically used in controlled components where the input’s value is managed by the component’s state.
|
|
334
|
+
*/
|
|
335
|
+
"value": string;
|
|
336
|
+
}
|
|
337
|
+
interface NvFielddropdownitem {
|
|
338
|
+
/**
|
|
339
|
+
* Disables the item, preventing any user interaction.
|
|
340
|
+
*/
|
|
341
|
+
"disabled": boolean;
|
|
342
|
+
/**
|
|
343
|
+
* Label used as the value for the default layout.
|
|
344
|
+
*/
|
|
345
|
+
"label"?: string;
|
|
346
|
+
/**
|
|
347
|
+
* Indicates if the item is selected.
|
|
348
|
+
*/
|
|
349
|
+
"selected": boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Value associated with the item.
|
|
352
|
+
*/
|
|
353
|
+
"value"?: string;
|
|
354
|
+
}
|
|
266
355
|
interface NvFieldnumber {
|
|
267
356
|
/**
|
|
268
357
|
* Add helpful hints or extra information under the text input field. This is where you can clarify what users should enter or provide additional instructions, making the form easier to fill out correctly.
|
|
@@ -652,6 +741,10 @@ export namespace Components {
|
|
|
652
741
|
* @validator message
|
|
653
742
|
*/
|
|
654
743
|
"errorDescription": string;
|
|
744
|
+
/**
|
|
745
|
+
* Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
746
|
+
*/
|
|
747
|
+
"inputId": string;
|
|
655
748
|
/**
|
|
656
749
|
* Lets you define the text that explains what users should enter in the text textarea field. It’s a crucial element for making forms clear and user-friendly.
|
|
657
750
|
*/
|
|
@@ -697,10 +790,6 @@ export namespace Components {
|
|
|
697
790
|
* Changes the textarea field’s appearance to indicate successful textarea or validation.
|
|
698
791
|
*/
|
|
699
792
|
"success": boolean;
|
|
700
|
-
/**
|
|
701
|
-
* Sets the ID for the textarea element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
702
|
-
*/
|
|
703
|
-
"textareaId": string;
|
|
704
793
|
/**
|
|
705
794
|
* Add the message to the validation state.
|
|
706
795
|
* @deprecated use errorDescription and set the error prop instead.
|
|
@@ -990,6 +1079,14 @@ export interface NvFieldcheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
990
1079
|
detail: T;
|
|
991
1080
|
target: HTMLNvFieldcheckboxElement;
|
|
992
1081
|
}
|
|
1082
|
+
export interface NvFielddropdownCustomEvent<T> extends CustomEvent<T> {
|
|
1083
|
+
detail: T;
|
|
1084
|
+
target: HTMLNvFielddropdownElement;
|
|
1085
|
+
}
|
|
1086
|
+
export interface NvFielddropdownitemCustomEvent<T> extends CustomEvent<T> {
|
|
1087
|
+
detail: T;
|
|
1088
|
+
target: HTMLNvFielddropdownitemElement;
|
|
1089
|
+
}
|
|
993
1090
|
export interface NvFieldnumberCustomEvent<T> extends CustomEvent<T> {
|
|
994
1091
|
detail: T;
|
|
995
1092
|
target: HTMLNvFieldnumberElement;
|
|
@@ -1109,6 +1206,41 @@ declare global {
|
|
|
1109
1206
|
prototype: HTMLNvFieldcheckboxElement;
|
|
1110
1207
|
new (): HTMLNvFieldcheckboxElement;
|
|
1111
1208
|
};
|
|
1209
|
+
interface HTMLNvFielddropdownElementEventMap {
|
|
1210
|
+
"dropdownItemSelected": DropdownItemSelectedEventDetail;
|
|
1211
|
+
"valueChanged": string;
|
|
1212
|
+
}
|
|
1213
|
+
interface HTMLNvFielddropdownElement extends Components.NvFielddropdown, HTMLStencilElement {
|
|
1214
|
+
addEventListener<K extends keyof HTMLNvFielddropdownElementEventMap>(type: K, listener: (this: HTMLNvFielddropdownElement, ev: NvFielddropdownCustomEvent<HTMLNvFielddropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1215
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1216
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1217
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1218
|
+
removeEventListener<K extends keyof HTMLNvFielddropdownElementEventMap>(type: K, listener: (this: HTMLNvFielddropdownElement, ev: NvFielddropdownCustomEvent<HTMLNvFielddropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1219
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1220
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1221
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1222
|
+
}
|
|
1223
|
+
var HTMLNvFielddropdownElement: {
|
|
1224
|
+
prototype: HTMLNvFielddropdownElement;
|
|
1225
|
+
new (): HTMLNvFielddropdownElement;
|
|
1226
|
+
};
|
|
1227
|
+
interface HTMLNvFielddropdownitemElementEventMap {
|
|
1228
|
+
"itemSelected": DropdownItemSelectedEventDetail;
|
|
1229
|
+
}
|
|
1230
|
+
interface HTMLNvFielddropdownitemElement extends Components.NvFielddropdownitem, HTMLStencilElement {
|
|
1231
|
+
addEventListener<K extends keyof HTMLNvFielddropdownitemElementEventMap>(type: K, listener: (this: HTMLNvFielddropdownitemElement, ev: NvFielddropdownitemCustomEvent<HTMLNvFielddropdownitemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1232
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1233
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1234
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1235
|
+
removeEventListener<K extends keyof HTMLNvFielddropdownitemElementEventMap>(type: K, listener: (this: HTMLNvFielddropdownitemElement, ev: NvFielddropdownitemCustomEvent<HTMLNvFielddropdownitemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1236
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1237
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1238
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1239
|
+
}
|
|
1240
|
+
var HTMLNvFielddropdownitemElement: {
|
|
1241
|
+
prototype: HTMLNvFielddropdownitemElement;
|
|
1242
|
+
new (): HTMLNvFielddropdownitemElement;
|
|
1243
|
+
};
|
|
1112
1244
|
interface HTMLNvFieldnumberElementEventMap {
|
|
1113
1245
|
"valueChanged": number;
|
|
1114
1246
|
}
|
|
@@ -1315,6 +1447,8 @@ declare global {
|
|
|
1315
1447
|
"nv-button": HTMLNvButtonElement;
|
|
1316
1448
|
"nv-col": HTMLNvColElement;
|
|
1317
1449
|
"nv-fieldcheckbox": HTMLNvFieldcheckboxElement;
|
|
1450
|
+
"nv-fielddropdown": HTMLNvFielddropdownElement;
|
|
1451
|
+
"nv-fielddropdownitem": HTMLNvFielddropdownitemElement;
|
|
1318
1452
|
"nv-fieldnumber": HTMLNvFieldnumberElement;
|
|
1319
1453
|
"nv-fieldpassword": HTMLNvFieldpasswordElement;
|
|
1320
1454
|
"nv-fieldradio": HTMLNvFieldradioElement;
|
|
@@ -1611,6 +1745,101 @@ declare namespace LocalJSX {
|
|
|
1611
1745
|
*/
|
|
1612
1746
|
"value"?: string;
|
|
1613
1747
|
}
|
|
1748
|
+
interface NvFielddropdown {
|
|
1749
|
+
/**
|
|
1750
|
+
* The autocomplete prop helps users fill out the input field faster by suggesting entries they’ve used before, like their email or address. You can turn it on to make forms more convenient or off to ensure users always type in fresh data.
|
|
1751
|
+
*/
|
|
1752
|
+
"autocomplete"?: `${TextInputAutocomplete}`;
|
|
1753
|
+
/**
|
|
1754
|
+
* Add helpful hints or extra information under the text input field. This is where you can clarify what users should enter or provide additional instructions, making the form easier to fill out correctly.
|
|
1755
|
+
*/
|
|
1756
|
+
"description"?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* The disabled prop lets you turn off the input field so that users can’t type in it. When disabled, the field is grayed out and won’t respond to clicks or touches.
|
|
1759
|
+
*/
|
|
1760
|
+
"disabled"?: boolean;
|
|
1761
|
+
/**
|
|
1762
|
+
* The text to display when no items match the filter.
|
|
1763
|
+
*/
|
|
1764
|
+
"emptyresult"?: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* Alters the input field’s appearance to indicate an error, helping users identify fields that need correction.
|
|
1767
|
+
* @validator error
|
|
1768
|
+
*/
|
|
1769
|
+
"error"?: boolean;
|
|
1770
|
+
/**
|
|
1771
|
+
* A description that appears when there is an error related to the dropdown field.
|
|
1772
|
+
* @validator message
|
|
1773
|
+
*/
|
|
1774
|
+
"errorDescription"?: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* Enables or disables the filtering feature for the dropdown items.
|
|
1777
|
+
*/
|
|
1778
|
+
"filterable"?: boolean;
|
|
1779
|
+
/**
|
|
1780
|
+
* Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
1781
|
+
*/
|
|
1782
|
+
"inputId"?: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* Lets you define the text that explains what users should enter in the text input field. It’s a crucial element for making forms clear and user-friendly.
|
|
1785
|
+
*/
|
|
1786
|
+
"label"?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input’s data in form submissions. It should be unique within the form to avoid conflicts.
|
|
1789
|
+
*/
|
|
1790
|
+
"name"?: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* Event emitted when an item is selected.
|
|
1793
|
+
*/
|
|
1794
|
+
"onDropdownItemSelected"?: (event: NvFielddropdownCustomEvent<DropdownItemSelectedEventDetail>) => void;
|
|
1795
|
+
/**
|
|
1796
|
+
* Emitted when the input value changes.
|
|
1797
|
+
* @bind value
|
|
1798
|
+
*/
|
|
1799
|
+
"onValueChanged"?: (event: NvFielddropdownCustomEvent<string>) => void;
|
|
1800
|
+
/**
|
|
1801
|
+
* State of the dropdown popover.
|
|
1802
|
+
*/
|
|
1803
|
+
"open"?: boolean;
|
|
1804
|
+
/**
|
|
1805
|
+
* Display temporary text inside the input field to give users a hint about what to type. It’s a great way to provide examples or suggestions directly in the field before they start typing. The placeholder is displayed only when the filterable option is enabled.
|
|
1806
|
+
*/
|
|
1807
|
+
"placeholder"?: string;
|
|
1808
|
+
/**
|
|
1809
|
+
* Display the input field’s content without allowing users to change it. Users can still click on it, select, and copy the text, but they won’t be able to type or delete anything.
|
|
1810
|
+
*/
|
|
1811
|
+
"readonly"?: boolean;
|
|
1812
|
+
/**
|
|
1813
|
+
* Marks the input field as required, ensuring that the user must fill it out before submitting the form.
|
|
1814
|
+
*/
|
|
1815
|
+
"required"?: boolean;
|
|
1816
|
+
/**
|
|
1817
|
+
* Specifies the value of the input field, which determines the text displayed within the field. This prop is typically used in controlled components where the input’s value is managed by the component’s state.
|
|
1818
|
+
*/
|
|
1819
|
+
"value"?: string;
|
|
1820
|
+
}
|
|
1821
|
+
interface NvFielddropdownitem {
|
|
1822
|
+
/**
|
|
1823
|
+
* Disables the item, preventing any user interaction.
|
|
1824
|
+
*/
|
|
1825
|
+
"disabled"?: boolean;
|
|
1826
|
+
/**
|
|
1827
|
+
* Label used as the value for the default layout.
|
|
1828
|
+
*/
|
|
1829
|
+
"label"?: string;
|
|
1830
|
+
/**
|
|
1831
|
+
* Event emitted when an item is clicked.
|
|
1832
|
+
*/
|
|
1833
|
+
"onItemSelected"?: (event: NvFielddropdownitemCustomEvent<DropdownItemSelectedEventDetail>) => void;
|
|
1834
|
+
/**
|
|
1835
|
+
* Indicates if the item is selected.
|
|
1836
|
+
*/
|
|
1837
|
+
"selected"?: boolean;
|
|
1838
|
+
/**
|
|
1839
|
+
* Value associated with the item.
|
|
1840
|
+
*/
|
|
1841
|
+
"value"?: string;
|
|
1842
|
+
}
|
|
1614
1843
|
interface NvFieldnumber {
|
|
1615
1844
|
/**
|
|
1616
1845
|
* Add helpful hints or extra information under the text input field. This is where you can clarify what users should enter or provide additional instructions, making the form easier to fill out correctly.
|
|
@@ -2025,6 +2254,10 @@ declare namespace LocalJSX {
|
|
|
2025
2254
|
* @validator message
|
|
2026
2255
|
*/
|
|
2027
2256
|
"errorDescription"?: string;
|
|
2257
|
+
/**
|
|
2258
|
+
* Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
2259
|
+
*/
|
|
2260
|
+
"inputId"?: string;
|
|
2028
2261
|
/**
|
|
2029
2262
|
* Lets you define the text that explains what users should enter in the text textarea field. It’s a crucial element for making forms clear and user-friendly.
|
|
2030
2263
|
*/
|
|
@@ -2075,10 +2308,6 @@ declare namespace LocalJSX {
|
|
|
2075
2308
|
* Changes the textarea field’s appearance to indicate successful textarea or validation.
|
|
2076
2309
|
*/
|
|
2077
2310
|
"success"?: boolean;
|
|
2078
|
-
/**
|
|
2079
|
-
* Sets the ID for the textarea element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
|
|
2080
|
-
*/
|
|
2081
|
-
"textareaId"?: string;
|
|
2082
2311
|
/**
|
|
2083
2312
|
* Add the message to the validation state.
|
|
2084
2313
|
* @deprecated use errorDescription and set the error prop instead.
|
|
@@ -2356,6 +2585,8 @@ declare namespace LocalJSX {
|
|
|
2356
2585
|
"nv-button": NvButton;
|
|
2357
2586
|
"nv-col": NvCol;
|
|
2358
2587
|
"nv-fieldcheckbox": NvFieldcheckbox;
|
|
2588
|
+
"nv-fielddropdown": NvFielddropdown;
|
|
2589
|
+
"nv-fielddropdownitem": NvFielddropdownitem;
|
|
2359
2590
|
"nv-fieldnumber": NvFieldnumber;
|
|
2360
2591
|
"nv-fieldpassword": NvFieldpassword;
|
|
2361
2592
|
"nv-fieldradio": NvFieldradio;
|
|
@@ -2388,6 +2619,8 @@ declare module "@stencil/core" {
|
|
|
2388
2619
|
"nv-button": LocalJSX.NvButton & JSXBase.HTMLAttributes<HTMLNvButtonElement>;
|
|
2389
2620
|
"nv-col": LocalJSX.NvCol & JSXBase.HTMLAttributes<HTMLNvColElement>;
|
|
2390
2621
|
"nv-fieldcheckbox": LocalJSX.NvFieldcheckbox & JSXBase.HTMLAttributes<HTMLNvFieldcheckboxElement>;
|
|
2622
|
+
"nv-fielddropdown": LocalJSX.NvFielddropdown & JSXBase.HTMLAttributes<HTMLNvFielddropdownElement>;
|
|
2623
|
+
"nv-fielddropdownitem": LocalJSX.NvFielddropdownitem & JSXBase.HTMLAttributes<HTMLNvFielddropdownitemElement>;
|
|
2391
2624
|
"nv-fieldnumber": LocalJSX.NvFieldnumber & JSXBase.HTMLAttributes<HTMLNvFieldnumberElement>;
|
|
2392
2625
|
"nv-fieldpassword": LocalJSX.NvFieldpassword & JSXBase.HTMLAttributes<HTMLNvFieldpasswordElement>;
|
|
2393
2626
|
"nv-fieldradio": LocalJSX.NvFieldradio & JSXBase.HTMLAttributes<HTMLNvFieldradioElement>;
|
|
@@ -1015,6 +1015,8 @@ export declare namespace JSXBase {
|
|
|
1015
1015
|
autoPlay?: boolean;
|
|
1016
1016
|
autoplay?: boolean | string;
|
|
1017
1017
|
controls?: boolean;
|
|
1018
|
+
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1019
|
+
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1018
1020
|
crossOrigin?: string;
|
|
1019
1021
|
crossorigin?: string;
|
|
1020
1022
|
loop?: boolean;
|