@nanoporetech-digital/components 8.7.2 → 8.9.0
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/cjs/{fade-NeUskjyB.js → fade-DBKqk3wh.js} +1 -1
- package/dist/cjs/{fullscreen-D5cgtwoy.js → fullscreen-lcdCtrG6.js} +1 -1
- package/dist/cjs/index-DGttnXif.js +4 -0
- package/dist/cjs/{lazyload-Dm1NcTJ1.js → lazyload-BjSSEx9f.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nano-avatar_5.cjs.entry.js +7 -7
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-datalist_3.cjs.entry.js +4 -0
- package/dist/cjs/nano-icon-button_2.cjs.entry.js +2 -2
- package/dist/cjs/nano-input-otp.cjs.entry.js +710 -0
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +1 -1
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +3 -3
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +2 -2
- package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +4 -4
- package/dist/cjs/nano-resize-observe.cjs.entry.js +2 -2
- package/dist/cjs/nano-slide.cjs.entry.js +1 -1
- package/dist/cjs/{nano-slides-ycRcUf0g.js → nano-slides-CryCLfsK.js} +7 -7
- package/dist/cjs/nano-slides.cjs.entry.js +1 -1
- package/dist/cjs/nano-sortable.cjs.entry.js +1 -1
- package/dist/cjs/nano-step-accordion.cjs.entry.js +1 -1
- package/dist/cjs/nano-step-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nano-sticker.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab.cjs.entry.js +2 -2
- package/dist/cjs/nano-table.cjs.entry.js +2 -2
- package/dist/cjs/{page-dots--38yVfTZ.js → page-dots-DR1fLjRi.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/input-otp/input-otp-interface.js +1 -0
- package/dist/collection/components/input-otp/input-otp.css +184 -0
- package/dist/collection/components/input-otp/input-otp.js +1044 -0
- package/dist/collection/components/intersection-observe/intersection-observe.js +1 -1
- package/dist/collection/components/masked-overflow/masked-overflow.js +3 -3
- package/dist/collection/components/menu-drawer/menu-drawer.js +2 -2
- package/dist/collection/components/more-less/more-less.js +2 -2
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resize-observe/resize-observe.js +2 -2
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/slides/slide.js +1 -1
- package/dist/collection/components/slides/slides.js +3 -3
- package/dist/collection/components/sortable/sortable.js +1 -1
- package/dist/collection/components/step-accordion/step-accordion.js +1 -1
- package/dist/collection/components/step-breadcrumb/step-breadcrumb.js +2 -2
- package/dist/collection/components/sticker/sticker.js +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/tabs/tab-content.js +2 -2
- package/dist/collection/components/tabs/tab.js +2 -2
- package/dist/collection/components/tag/tag.js +24 -0
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/masked-overflow.js +3 -3
- package/dist/components/nano-input-otp.d.ts +11 -0
- package/dist/components/nano-input-otp.js +749 -0
- package/dist/components/nano-intersection-observe.js +1 -1
- package/dist/components/nano-menu-drawer.js +2 -2
- package/dist/components/nano-more-less.js +2 -2
- package/dist/components/nano-rating.js +4 -4
- package/dist/components/nano-slide.js +1 -1
- package/dist/components/nano-sortable.js +1 -1
- package/dist/components/nano-step-accordion.js +1 -1
- package/dist/components/nano-step-breadcrumb.js +2 -2
- package/dist/components/nano-tab-content.js +2 -2
- package/dist/components/nano-tab.js +2 -2
- package/dist/components/nano-table.js +2 -2
- package/dist/components/resize-observe.js +2 -2
- package/dist/components/select.js +7 -7
- package/dist/components/slides.js +3 -3
- package/dist/components/sticker.js +2 -2
- package/dist/components/tag.js +6 -1
- package/dist/components/tooltip.js +2 -2
- package/dist/esm/{fade-BA6b-Fk9.js → fade-D980mOvm.js} +1 -1
- package/dist/esm/{fullscreen-De_yN4cg.js → fullscreen-CjInlYb9.js} +1 -1
- package/dist/esm/index-BM3Om9WE.js +4 -0
- package/dist/esm/{lazyload-Cl8k3tPs.js → lazyload-B9B4e3ZI.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nano-avatar_5.entry.js +7 -7
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-datalist_3.entry.js +4 -0
- package/dist/esm/nano-icon-button_2.entry.js +2 -2
- package/dist/esm/nano-input-otp.entry.js +708 -0
- package/dist/esm/nano-intersection-observe.entry.js +1 -1
- package/dist/esm/nano-masked-overflow.entry.js +3 -3
- package/dist/esm/nano-menu-drawer.entry.js +2 -2
- package/dist/esm/nano-more-less.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +4 -4
- package/dist/esm/nano-resize-observe.entry.js +2 -2
- package/dist/esm/nano-slide.entry.js +1 -1
- package/dist/esm/{nano-slides-GrbOydfa.js → nano-slides-xbY6lXX9.js} +7 -7
- package/dist/esm/nano-slides.entry.js +1 -1
- package/dist/esm/nano-sortable.entry.js +1 -1
- package/dist/esm/nano-step-accordion.entry.js +1 -1
- package/dist/esm/nano-step-breadcrumb.entry.js +2 -2
- package/dist/esm/nano-sticker.entry.js +2 -2
- package/dist/esm/nano-tab-content.entry.js +2 -2
- package/dist/esm/nano-tab.entry.js +2 -2
- package/dist/esm/nano-table.entry.js +2 -2
- package/dist/esm/{page-dots-CSf81OuJ.js → page-dots-CCfERISy.js} +1 -1
- package/dist/nano-components/{fade-BA6b-Fk9.js → fade-D980mOvm.js} +1 -1
- package/dist/nano-components/{fullscreen-De_yN4cg.js → fullscreen-CjInlYb9.js} +1 -1
- package/dist/nano-components/lazyload-B9B4e3ZI.js +4 -0
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-components.css +1 -1
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-datalist_3.entry.js +1 -1
- package/dist/nano-components/nano-icon-button_2.entry.js +1 -1
- package/dist/nano-components/nano-input-otp.entry.js +4 -0
- package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
- package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
- package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
- package/dist/nano-components/nano-more-less.entry.js +1 -1
- package/dist/nano-components/nano-rating.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe.entry.js +1 -1
- package/dist/nano-components/nano-slide.entry.js +1 -1
- package/dist/nano-components/{nano-slides-GrbOydfa.js → nano-slides-xbY6lXX9.js} +3 -3
- package/dist/nano-components/nano-slides.entry.js +1 -1
- package/dist/nano-components/nano-sortable.entry.js +1 -1
- package/dist/nano-components/nano-step-accordion.entry.js +1 -1
- package/dist/nano-components/nano-step-breadcrumb.entry.js +1 -1
- package/dist/nano-components/nano-sticker.entry.js +1 -1
- package/dist/nano-components/nano-tab-content.entry.js +1 -1
- package/dist/nano-components/nano-tab.entry.js +1 -1
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/{page-dots-CSf81OuJ.js → page-dots-CCfERISy.js} +1 -1
- package/dist/style/components.css +1 -1
- package/dist/style/components.css.map +1 -1
- package/dist/style/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/dist/types/components/input-otp/input-otp-interface.d.ts +24 -0
- package/dist/types/components/input-otp/input-otp.d.ts +281 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components.d.ts +189 -0
- package/docs-json.json +824 -183
- package/docs-vscode.json +83 -0
- package/hydrate/index.js +786 -45
- package/hydrate/index.mjs +786 -45
- package/package.json +2 -2
- package/dist/nano-components/lazyload-Cl8k3tPs.js +0 -4
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/generate-vue-component.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/index.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/output-vue.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/plugin.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/types.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/utils.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
- /package/dist/types/builds/{QrfEi4pt → HitvqeWT}/0/Digital/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
package/docs-json.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2025-09-
|
2
|
+
"timestamp": "2025-09-22T17:01:12",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@stencil/core",
|
5
5
|
"version": "4.36.1",
|
@@ -3358,7 +3358,7 @@
|
|
3358
3358
|
"references": {
|
3359
3359
|
"Breadcrumb": {
|
3360
3360
|
"location": "local",
|
3361
|
-
"path": "/builds/
|
3361
|
+
"path": "/builds/HitvqeWT/0/Digital/nano-components/packages/components/src/components/breadcrumb/breadcrumb.tsx",
|
3362
3362
|
"id": "src/components/breadcrumb/breadcrumb.tsx::Breadcrumb"
|
3363
3363
|
}
|
3364
3364
|
}
|
@@ -14874,6 +14874,7 @@
|
|
14874
14874
|
"nano-global-nav",
|
14875
14875
|
"nano-icon-button",
|
14876
14876
|
"nano-input",
|
14877
|
+
"nano-input-otp",
|
14877
14878
|
"nano-menu-drawer",
|
14878
14879
|
"nano-option",
|
14879
14880
|
"nano-select",
|
@@ -14915,6 +14916,9 @@
|
|
14915
14916
|
"nano-input": [
|
14916
14917
|
"nano-icon"
|
14917
14918
|
],
|
14919
|
+
"nano-input-otp": [
|
14920
|
+
"nano-icon"
|
14921
|
+
],
|
14918
14922
|
"nano-menu-drawer": [
|
14919
14923
|
"nano-icon"
|
14920
14924
|
],
|
@@ -17506,18 +17510,678 @@
|
|
17506
17510
|
"docsTags": []
|
17507
17511
|
},
|
17508
17512
|
{
|
17509
|
-
"name": "showError",
|
17513
|
+
"name": "showError",
|
17514
|
+
"returns": {
|
17515
|
+
"type": "Promise<void>",
|
17516
|
+
"docs": ""
|
17517
|
+
},
|
17518
|
+
"complexType": {
|
17519
|
+
"signature": "(message: string) => Promise<void>",
|
17520
|
+
"parameters": [
|
17521
|
+
{
|
17522
|
+
"name": "message",
|
17523
|
+
"type": "string",
|
17524
|
+
"docs": ""
|
17525
|
+
}
|
17526
|
+
],
|
17527
|
+
"references": {
|
17528
|
+
"Promise": {
|
17529
|
+
"location": "global",
|
17530
|
+
"id": "global::Promise"
|
17531
|
+
}
|
17532
|
+
},
|
17533
|
+
"return": "Promise<void>"
|
17534
|
+
},
|
17535
|
+
"signature": "showError(message: string) => Promise<void>",
|
17536
|
+
"parameters": [
|
17537
|
+
{
|
17538
|
+
"name": "message",
|
17539
|
+
"type": "string",
|
17540
|
+
"docs": ""
|
17541
|
+
}
|
17542
|
+
],
|
17543
|
+
"docs": "Invalidate the field and show a custom error message. To clear the error you will need to re-call this method with an empty string.",
|
17544
|
+
"docsTags": []
|
17545
|
+
}
|
17546
|
+
],
|
17547
|
+
"events": [
|
17548
|
+
{
|
17549
|
+
"event": "nanoBlur",
|
17550
|
+
"detail": "void",
|
17551
|
+
"bubbles": true,
|
17552
|
+
"complexType": {
|
17553
|
+
"original": "void",
|
17554
|
+
"resolved": "void",
|
17555
|
+
"references": {}
|
17556
|
+
},
|
17557
|
+
"cancelable": true,
|
17558
|
+
"composed": true,
|
17559
|
+
"docs": "Emitted when the input loses focus.",
|
17560
|
+
"docsTags": []
|
17561
|
+
},
|
17562
|
+
{
|
17563
|
+
"event": "nanoChange",
|
17564
|
+
"detail": "InputChangeEventDetail",
|
17565
|
+
"bubbles": true,
|
17566
|
+
"complexType": {
|
17567
|
+
"original": "InputChangeEventDetail",
|
17568
|
+
"resolved": "InputChangeEventDetail",
|
17569
|
+
"references": {
|
17570
|
+
"InputChangeEventDetail": {
|
17571
|
+
"location": "import",
|
17572
|
+
"path": "./input-interface",
|
17573
|
+
"id": "src/components/input/input-interface.d.ts::InputChangeEventDetail"
|
17574
|
+
}
|
17575
|
+
}
|
17576
|
+
},
|
17577
|
+
"cancelable": true,
|
17578
|
+
"composed": true,
|
17579
|
+
"docs": "Emitted when the value has changed.",
|
17580
|
+
"docsTags": []
|
17581
|
+
},
|
17582
|
+
{
|
17583
|
+
"event": "nanoFocus",
|
17584
|
+
"detail": "void",
|
17585
|
+
"bubbles": true,
|
17586
|
+
"complexType": {
|
17587
|
+
"original": "void",
|
17588
|
+
"resolved": "void",
|
17589
|
+
"references": {}
|
17590
|
+
},
|
17591
|
+
"cancelable": true,
|
17592
|
+
"composed": true,
|
17593
|
+
"docs": "Emitted when the input has focus.",
|
17594
|
+
"docsTags": []
|
17595
|
+
},
|
17596
|
+
{
|
17597
|
+
"event": "nanoInput",
|
17598
|
+
"detail": "InputEvent",
|
17599
|
+
"bubbles": true,
|
17600
|
+
"complexType": {
|
17601
|
+
"original": "InputEvent",
|
17602
|
+
"resolved": "InputEvent",
|
17603
|
+
"references": {
|
17604
|
+
"InputEvent": {
|
17605
|
+
"location": "global",
|
17606
|
+
"id": "global::InputEvent"
|
17607
|
+
}
|
17608
|
+
}
|
17609
|
+
},
|
17610
|
+
"cancelable": true,
|
17611
|
+
"composed": true,
|
17612
|
+
"docs": "Emitted when a keyboard input occurred.",
|
17613
|
+
"docsTags": []
|
17614
|
+
},
|
17615
|
+
{
|
17616
|
+
"event": "nanoValidate",
|
17617
|
+
"detail": "ControlValidityEventDetail",
|
17618
|
+
"bubbles": true,
|
17619
|
+
"complexType": {
|
17620
|
+
"original": "ControlValidityEventDetail",
|
17621
|
+
"resolved": "ControlValidityEventDetail",
|
17622
|
+
"references": {
|
17623
|
+
"ControlValidityEventDetail": {
|
17624
|
+
"location": "import",
|
17625
|
+
"path": "../../types/shared",
|
17626
|
+
"id": "src/types/shared.ts::ControlValidityEventDetail"
|
17627
|
+
}
|
17628
|
+
}
|
17629
|
+
},
|
17630
|
+
"cancelable": true,
|
17631
|
+
"composed": true,
|
17632
|
+
"docs": "Called when validation is performed (which depends on `validateOn`).",
|
17633
|
+
"docsTags": [
|
17634
|
+
{
|
17635
|
+
"name": "returns",
|
17636
|
+
"text": "event.detail: `{ isValid: boolean, errorMessage: string, originalEvent: Event }`."
|
17637
|
+
}
|
17638
|
+
]
|
17639
|
+
}
|
17640
|
+
],
|
17641
|
+
"listeners": [
|
17642
|
+
{
|
17643
|
+
"event": "reset",
|
17644
|
+
"target": "body",
|
17645
|
+
"capture": false,
|
17646
|
+
"passive": false
|
17647
|
+
},
|
17648
|
+
{
|
17649
|
+
"event": "mousedown",
|
17650
|
+
"target": "body",
|
17651
|
+
"capture": false,
|
17652
|
+
"passive": true
|
17653
|
+
},
|
17654
|
+
{
|
17655
|
+
"event": "keydown",
|
17656
|
+
"capture": false,
|
17657
|
+
"passive": false
|
17658
|
+
}
|
17659
|
+
],
|
17660
|
+
"styles": [
|
17661
|
+
{
|
17662
|
+
"name": "--clear-btn-color",
|
17663
|
+
"annotation": "prop",
|
17664
|
+
"docs": "Color of clear button. Defaults to rgb(var(--nano-color-base-rgb-1000) / 60%)."
|
17665
|
+
},
|
17666
|
+
{
|
17667
|
+
"name": "--clear-btn-color--hover",
|
17668
|
+
"annotation": "prop",
|
17669
|
+
"docs": "Color of clear button on hover. Defaults to rgb(var(--nano-color-base-rgb-1000) / 100%)."
|
17670
|
+
},
|
17671
|
+
{
|
17672
|
+
"name": "--clear-btn-color--invalid",
|
17673
|
+
"annotation": "prop",
|
17674
|
+
"docs": "Color of clear button when invalid. Defaults to rgb(var(--color-invalid) / 100%)."
|
17675
|
+
},
|
17676
|
+
{
|
17677
|
+
"name": "--color-invalid",
|
17678
|
+
"annotation": "prop",
|
17679
|
+
"docs": "Color of invalid messaging. Defaults to var(--nano-color-danger-1100)."
|
17680
|
+
},
|
17681
|
+
{
|
17682
|
+
"name": "--color-valid",
|
17683
|
+
"annotation": "prop",
|
17684
|
+
"docs": "Color of valid messaging. Defaults to var(--nano-color-success-1000)."
|
17685
|
+
},
|
17686
|
+
{
|
17687
|
+
"name": "--help-msg-color",
|
17688
|
+
"annotation": "prop",
|
17689
|
+
"docs": "Color of help message. Defaults to var(--nano-color-base-1000)."
|
17690
|
+
},
|
17691
|
+
{
|
17692
|
+
"name": "--input-bg-color",
|
17693
|
+
"annotation": "prop",
|
17694
|
+
"docs": "Background color of input. Defaults to var(--nano-color-base-0)."
|
17695
|
+
},
|
17696
|
+
{
|
17697
|
+
"name": "--input-border-color",
|
17698
|
+
"annotation": "prop",
|
17699
|
+
"docs": "Border color of input. Defaults to var(--nano-color-neutral-300)."
|
17700
|
+
},
|
17701
|
+
{
|
17702
|
+
"name": "--input-border-radius",
|
17703
|
+
"annotation": "prop",
|
17704
|
+
"docs": "Border radius of input. Defaults to 0px."
|
17705
|
+
},
|
17706
|
+
{
|
17707
|
+
"name": "--input-border-style",
|
17708
|
+
"annotation": "prop",
|
17709
|
+
"docs": "Border style of input. Defaults to solid var(--input-border-color)."
|
17710
|
+
},
|
17711
|
+
{
|
17712
|
+
"name": "--input-border-style--focus",
|
17713
|
+
"annotation": "prop",
|
17714
|
+
"docs": "Border style of input when focused. Defaults to solid var(--input-border-width) var(--nano-color-primary-700)."
|
17715
|
+
},
|
17716
|
+
{
|
17717
|
+
"name": "--input-border-width",
|
17718
|
+
"annotation": "prop",
|
17719
|
+
"docs": "Border width of input. Defaults to 1px."
|
17720
|
+
},
|
17721
|
+
{
|
17722
|
+
"name": "--input-font-size",
|
17723
|
+
"annotation": "prop",
|
17724
|
+
"docs": "Font size of input. Defaults to var(--nano-font-size-sm)."
|
17725
|
+
},
|
17726
|
+
{
|
17727
|
+
"name": "--input-invalid-border-hint-width",
|
17728
|
+
"annotation": "prop",
|
17729
|
+
"docs": "Border-start width used as an invalid hint. Defaults to 2px."
|
17730
|
+
},
|
17731
|
+
{
|
17732
|
+
"name": "--input-text-color",
|
17733
|
+
"annotation": "prop",
|
17734
|
+
"docs": "Text color of input. Defaults to var(--nano-color-base-1000)."
|
17735
|
+
},
|
17736
|
+
{
|
17737
|
+
"name": "--invalid-msg-color",
|
17738
|
+
"annotation": "prop",
|
17739
|
+
"docs": "Color of invalid message. Defaults to var(--color-invalid)."
|
17740
|
+
},
|
17741
|
+
{
|
17742
|
+
"name": "--label-color",
|
17743
|
+
"annotation": "prop",
|
17744
|
+
"docs": "Color of label. Defaults to var(--nano-color-base-1000)."
|
17745
|
+
},
|
17746
|
+
{
|
17747
|
+
"name": "--label-font-size",
|
17748
|
+
"annotation": "prop",
|
17749
|
+
"docs": "Font size of label. Defaults to var(--nano-font-size-xs)."
|
17750
|
+
},
|
17751
|
+
{
|
17752
|
+
"name": "--more-font-size",
|
17753
|
+
"annotation": "prop",
|
17754
|
+
"docs": "Font size of helper & error messaging. Defaults to var(--nano-font-size-2xs)."
|
17755
|
+
},
|
17756
|
+
{
|
17757
|
+
"name": "--padding-bottom",
|
17758
|
+
"annotation": "prop",
|
17759
|
+
"docs": "Used for most nested element's bottom vertical spacing. Defaults to var(--nano-spacing-sm)."
|
17760
|
+
},
|
17761
|
+
{
|
17762
|
+
"name": "--padding-end",
|
17763
|
+
"annotation": "prop",
|
17764
|
+
"docs": "Used for most nested element's right horizontal spacing. Defaults to var(--nano-spacing-sm)."
|
17765
|
+
},
|
17766
|
+
{
|
17767
|
+
"name": "--padding-start",
|
17768
|
+
"annotation": "prop",
|
17769
|
+
"docs": "Used for most nested element's left horizontal spacing. Defaults to var(--nano-spacing-sm)."
|
17770
|
+
},
|
17771
|
+
{
|
17772
|
+
"name": "--padding-top",
|
17773
|
+
"annotation": "prop",
|
17774
|
+
"docs": "Used for most nested element's top vertical spacing. Defaults to var(--nano-spacing-sm)."
|
17775
|
+
},
|
17776
|
+
{
|
17777
|
+
"name": "--placeholder-color",
|
17778
|
+
"annotation": "prop",
|
17779
|
+
"docs": "Color of placeholder. Defaults to var(--nano-color-neutral-1000)."
|
17780
|
+
}
|
17781
|
+
],
|
17782
|
+
"slots": [
|
17783
|
+
{
|
17784
|
+
"name": "",
|
17785
|
+
"docs": "can be used with a `nano-datalist`. See the `nano-datalist` docs for more information"
|
17786
|
+
},
|
17787
|
+
{
|
17788
|
+
"name": "end",
|
17789
|
+
"docs": "suitable for inline action buttons or icons that may add extra contextual information"
|
17790
|
+
},
|
17791
|
+
{
|
17792
|
+
"name": "helper",
|
17793
|
+
"docs": "helper text to accompany the form field underneath."
|
17794
|
+
},
|
17795
|
+
{
|
17796
|
+
"name": "helper-end",
|
17797
|
+
"docs": "helper text to accompany the form field on the side."
|
17798
|
+
},
|
17799
|
+
{
|
17800
|
+
"name": "label",
|
17801
|
+
"docs": "if you do not set a label attribute, you can use this slot for more complex markup"
|
17802
|
+
},
|
17803
|
+
{
|
17804
|
+
"name": "start",
|
17805
|
+
"docs": "suitable for inline action buttons or icons that may add extra contextual information"
|
17806
|
+
},
|
17807
|
+
{
|
17808
|
+
"name": "value-end",
|
17809
|
+
"docs": "similar to 'end', however clicking elements using this slot will activate the input control. This would be suitable to show a secondary 'value' for context or to show a dropdown arrow if using a datalist"
|
17810
|
+
},
|
17811
|
+
{
|
17812
|
+
"name": "value-start",
|
17813
|
+
"docs": "similar to 'start', however clicking elements using this slot will activate the input control. This would be suitable to show a secondary 'value' for context or to show a dropdown arrow if using a datalist"
|
17814
|
+
}
|
17815
|
+
],
|
17816
|
+
"parts": [
|
17817
|
+
{
|
17818
|
+
"name": "date__dropdown",
|
17819
|
+
"docs": ""
|
17820
|
+
},
|
17821
|
+
{
|
17822
|
+
"name": "date__picker",
|
17823
|
+
"docs": ""
|
17824
|
+
}
|
17825
|
+
],
|
17826
|
+
"dependents": [
|
17827
|
+
"nano-date-input",
|
17828
|
+
"nano-global-nav"
|
17829
|
+
],
|
17830
|
+
"dependencies": [
|
17831
|
+
"nano-dropdown",
|
17832
|
+
"nano-icon-button",
|
17833
|
+
"nano-date-picker",
|
17834
|
+
"nano-icon"
|
17835
|
+
],
|
17836
|
+
"dependencyGraph": {
|
17837
|
+
"nano-input": [
|
17838
|
+
"nano-dropdown",
|
17839
|
+
"nano-icon-button",
|
17840
|
+
"nano-date-picker",
|
17841
|
+
"nano-icon"
|
17842
|
+
],
|
17843
|
+
"nano-icon-button": [
|
17844
|
+
"nano-icon",
|
17845
|
+
"nano-tooltip"
|
17846
|
+
],
|
17847
|
+
"nano-date-picker": [
|
17848
|
+
"nano-icon"
|
17849
|
+
],
|
17850
|
+
"nano-date-input": [
|
17851
|
+
"nano-input"
|
17852
|
+
],
|
17853
|
+
"nano-global-nav": [
|
17854
|
+
"nano-input"
|
17855
|
+
]
|
17856
|
+
}
|
17857
|
+
},
|
17858
|
+
{
|
17859
|
+
"filePath": "src/components/input-otp/input-otp.tsx",
|
17860
|
+
"encapsulation": "scoped",
|
17861
|
+
"tag": "nano-input-otp",
|
17862
|
+
"readme": "# nano-input-otp\n\n\n",
|
17863
|
+
"docs": "A component for entering one-time passwords (OTP) with multiple input fields.",
|
17864
|
+
"docsTags": [
|
17865
|
+
{
|
17866
|
+
"name": "version",
|
17867
|
+
"text": "8.7.2"
|
17868
|
+
},
|
17869
|
+
{
|
17870
|
+
"name": "status",
|
17871
|
+
"text": "new"
|
17872
|
+
},
|
17873
|
+
{
|
17874
|
+
"name": "slot",
|
17875
|
+
"text": "- The default slot for the input description."
|
17876
|
+
},
|
17877
|
+
{
|
17878
|
+
"name": "slot",
|
17879
|
+
"text": "validity-icon - A slot for a custom validity icon. If not provided, a default icon will be used."
|
17880
|
+
}
|
17881
|
+
],
|
17882
|
+
"usage": {},
|
17883
|
+
"props": [
|
17884
|
+
{
|
17885
|
+
"name": "allowInvalid",
|
17886
|
+
"type": "boolean",
|
17887
|
+
"complexType": {
|
17888
|
+
"original": "boolean",
|
17889
|
+
"resolved": "boolean",
|
17890
|
+
"references": {}
|
17891
|
+
},
|
17892
|
+
"mutable": false,
|
17893
|
+
"attr": "allow-invalid",
|
17894
|
+
"reflectToAttr": true,
|
17895
|
+
"docs": "If `true`, allows the input to be completely filled with invalid values.\nBy default, if any input box contains an invalid value, the entire input group\nis marked as invalid.\nDefault is `false`.",
|
17896
|
+
"docsTags": [
|
17897
|
+
{
|
17898
|
+
"name": "default",
|
17899
|
+
"text": "false"
|
17900
|
+
}
|
17901
|
+
],
|
17902
|
+
"default": "false",
|
17903
|
+
"values": [
|
17904
|
+
{
|
17905
|
+
"type": "boolean"
|
17906
|
+
}
|
17907
|
+
],
|
17908
|
+
"optional": false,
|
17909
|
+
"required": false,
|
17910
|
+
"getter": false,
|
17911
|
+
"setter": false
|
17912
|
+
},
|
17913
|
+
{
|
17914
|
+
"name": "disabled",
|
17915
|
+
"type": "boolean",
|
17916
|
+
"complexType": {
|
17917
|
+
"original": "boolean",
|
17918
|
+
"resolved": "boolean",
|
17919
|
+
"references": {}
|
17920
|
+
},
|
17921
|
+
"mutable": false,
|
17922
|
+
"attr": "disabled",
|
17923
|
+
"reflectToAttr": true,
|
17924
|
+
"docs": "If `true`, the user cannot interact with the input.",
|
17925
|
+
"docsTags": [
|
17926
|
+
{
|
17927
|
+
"name": "default",
|
17928
|
+
"text": "false"
|
17929
|
+
}
|
17930
|
+
],
|
17931
|
+
"default": "false",
|
17932
|
+
"values": [
|
17933
|
+
{
|
17934
|
+
"type": "boolean"
|
17935
|
+
}
|
17936
|
+
],
|
17937
|
+
"optional": false,
|
17938
|
+
"required": false,
|
17939
|
+
"getter": false,
|
17940
|
+
"setter": false
|
17941
|
+
},
|
17942
|
+
{
|
17943
|
+
"name": "inputmode",
|
17944
|
+
"type": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\"",
|
17945
|
+
"complexType": {
|
17946
|
+
"original": "| 'none'\n | 'text'\n | 'tel'\n | 'url'\n | 'email'\n | 'numeric'\n | 'decimal'\n | 'search'",
|
17947
|
+
"resolved": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\"",
|
17948
|
+
"references": {}
|
17949
|
+
},
|
17950
|
+
"mutable": false,
|
17951
|
+
"attr": "inputmode",
|
17952
|
+
"reflectToAttr": false,
|
17953
|
+
"docs": "A hint to the browser for which keyboard to display.\nPossible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n`\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.\n\nFor numbers (type=\"number\"): \"numeric\"\nFor text (type=\"text\"): \"text\"",
|
17954
|
+
"docsTags": [],
|
17955
|
+
"values": [
|
17956
|
+
{
|
17957
|
+
"value": "decimal",
|
17958
|
+
"type": "string"
|
17959
|
+
},
|
17960
|
+
{
|
17961
|
+
"value": "email",
|
17962
|
+
"type": "string"
|
17963
|
+
},
|
17964
|
+
{
|
17965
|
+
"value": "none",
|
17966
|
+
"type": "string"
|
17967
|
+
},
|
17968
|
+
{
|
17969
|
+
"value": "numeric",
|
17970
|
+
"type": "string"
|
17971
|
+
},
|
17972
|
+
{
|
17973
|
+
"value": "search",
|
17974
|
+
"type": "string"
|
17975
|
+
},
|
17976
|
+
{
|
17977
|
+
"value": "tel",
|
17978
|
+
"type": "string"
|
17979
|
+
},
|
17980
|
+
{
|
17981
|
+
"value": "text",
|
17982
|
+
"type": "string"
|
17983
|
+
},
|
17984
|
+
{
|
17985
|
+
"value": "url",
|
17986
|
+
"type": "string"
|
17987
|
+
}
|
17988
|
+
],
|
17989
|
+
"optional": true,
|
17990
|
+
"required": false,
|
17991
|
+
"getter": false,
|
17992
|
+
"setter": false
|
17993
|
+
},
|
17994
|
+
{
|
17995
|
+
"name": "length",
|
17996
|
+
"type": "number",
|
17997
|
+
"complexType": {
|
17998
|
+
"original": "number",
|
17999
|
+
"resolved": "number",
|
18000
|
+
"references": {}
|
18001
|
+
},
|
18002
|
+
"mutable": false,
|
18003
|
+
"attr": "length",
|
18004
|
+
"reflectToAttr": false,
|
18005
|
+
"docs": "The number of input boxes to display.",
|
18006
|
+
"docsTags": [
|
18007
|
+
{
|
18008
|
+
"name": "default",
|
18009
|
+
"text": "6"
|
18010
|
+
}
|
18011
|
+
],
|
18012
|
+
"default": "6",
|
18013
|
+
"values": [
|
18014
|
+
{
|
18015
|
+
"type": "number"
|
18016
|
+
}
|
18017
|
+
],
|
18018
|
+
"optional": false,
|
18019
|
+
"required": false,
|
18020
|
+
"getter": false,
|
18021
|
+
"setter": false
|
18022
|
+
},
|
18023
|
+
{
|
18024
|
+
"name": "pattern",
|
18025
|
+
"type": "string",
|
18026
|
+
"complexType": {
|
18027
|
+
"original": "string",
|
18028
|
+
"resolved": "string",
|
18029
|
+
"references": {}
|
18030
|
+
},
|
18031
|
+
"mutable": false,
|
18032
|
+
"attr": "pattern",
|
18033
|
+
"reflectToAttr": false,
|
18034
|
+
"docs": "A regex pattern string for allowed characters. Defaults based on type.\n\nFor numbers (`type=\"number\"`): `\"[\\p{N}]\"`\nFor text (`type=\"text\"`): `\"[\\p{L}\\p{N}]\"`",
|
18035
|
+
"docsTags": [],
|
18036
|
+
"values": [
|
18037
|
+
{
|
18038
|
+
"type": "string"
|
18039
|
+
}
|
18040
|
+
],
|
18041
|
+
"optional": true,
|
18042
|
+
"required": false,
|
18043
|
+
"getter": false,
|
18044
|
+
"setter": false
|
18045
|
+
},
|
18046
|
+
{
|
18047
|
+
"name": "readonly",
|
18048
|
+
"type": "boolean",
|
18049
|
+
"complexType": {
|
18050
|
+
"original": "boolean",
|
18051
|
+
"resolved": "boolean",
|
18052
|
+
"references": {}
|
18053
|
+
},
|
18054
|
+
"mutable": false,
|
18055
|
+
"attr": "readonly",
|
18056
|
+
"reflectToAttr": true,
|
18057
|
+
"docs": "If `true`, the user cannot modify the value.",
|
18058
|
+
"docsTags": [
|
18059
|
+
{
|
18060
|
+
"name": "default",
|
18061
|
+
"text": "false"
|
18062
|
+
}
|
18063
|
+
],
|
18064
|
+
"default": "false",
|
18065
|
+
"values": [
|
18066
|
+
{
|
18067
|
+
"type": "boolean"
|
18068
|
+
}
|
18069
|
+
],
|
18070
|
+
"optional": false,
|
18071
|
+
"required": false,
|
18072
|
+
"getter": false,
|
18073
|
+
"setter": false
|
18074
|
+
},
|
18075
|
+
{
|
18076
|
+
"name": "showValidity",
|
18077
|
+
"type": "boolean",
|
18078
|
+
"complexType": {
|
18079
|
+
"original": "boolean",
|
18080
|
+
"resolved": "boolean",
|
18081
|
+
"references": {}
|
18082
|
+
},
|
18083
|
+
"mutable": false,
|
18084
|
+
"attr": "show-validity",
|
18085
|
+
"reflectToAttr": true,
|
18086
|
+
"docs": "If `true`, shows a validity icon when all input boxes are filled.\nA check icon is shown if all values are valid, and an X icon is shown if any value is invalid.\nThis does not affect the `invalid` or `valid` states of the input group.\nDefault is `false`.",
|
18087
|
+
"docsTags": [
|
18088
|
+
{
|
18089
|
+
"name": "default",
|
18090
|
+
"text": "false"
|
18091
|
+
}
|
18092
|
+
],
|
18093
|
+
"default": "false",
|
18094
|
+
"values": [
|
18095
|
+
{
|
18096
|
+
"type": "boolean"
|
18097
|
+
}
|
18098
|
+
],
|
18099
|
+
"optional": false,
|
18100
|
+
"required": false,
|
18101
|
+
"getter": false,
|
18102
|
+
"setter": false
|
18103
|
+
},
|
18104
|
+
{
|
18105
|
+
"name": "type",
|
18106
|
+
"type": "\"number\" | \"text\"",
|
18107
|
+
"complexType": {
|
18108
|
+
"original": "'text' | 'number'",
|
18109
|
+
"resolved": "\"number\" | \"text\"",
|
18110
|
+
"references": {}
|
18111
|
+
},
|
18112
|
+
"mutable": false,
|
18113
|
+
"attr": "type",
|
18114
|
+
"reflectToAttr": false,
|
18115
|
+
"docs": "The type of input allowed in the input boxes.",
|
18116
|
+
"docsTags": [
|
18117
|
+
{
|
18118
|
+
"name": "default",
|
18119
|
+
"text": "'number'"
|
18120
|
+
}
|
18121
|
+
],
|
18122
|
+
"default": "'number'",
|
18123
|
+
"values": [
|
18124
|
+
{
|
18125
|
+
"value": "number",
|
18126
|
+
"type": "string"
|
18127
|
+
},
|
18128
|
+
{
|
18129
|
+
"value": "text",
|
18130
|
+
"type": "string"
|
18131
|
+
}
|
18132
|
+
],
|
18133
|
+
"optional": false,
|
18134
|
+
"required": false,
|
18135
|
+
"getter": false,
|
18136
|
+
"setter": false
|
18137
|
+
},
|
18138
|
+
{
|
18139
|
+
"name": "value",
|
18140
|
+
"type": "number | string",
|
18141
|
+
"complexType": {
|
18142
|
+
"original": "string | number | null",
|
18143
|
+
"resolved": "number | string",
|
18144
|
+
"references": {}
|
18145
|
+
},
|
18146
|
+
"mutable": true,
|
18147
|
+
"attr": "value",
|
18148
|
+
"reflectToAttr": false,
|
18149
|
+
"docs": "The value of the input group.",
|
18150
|
+
"docsTags": [
|
18151
|
+
{
|
18152
|
+
"name": "default",
|
18153
|
+
"text": "''"
|
18154
|
+
}
|
18155
|
+
],
|
18156
|
+
"default": "''",
|
18157
|
+
"values": [
|
18158
|
+
{
|
18159
|
+
"type": "number"
|
18160
|
+
},
|
18161
|
+
{
|
18162
|
+
"type": "string"
|
18163
|
+
}
|
18164
|
+
],
|
18165
|
+
"optional": true,
|
18166
|
+
"required": false,
|
18167
|
+
"getter": false,
|
18168
|
+
"setter": false
|
18169
|
+
}
|
18170
|
+
],
|
18171
|
+
"methods": [
|
18172
|
+
{
|
18173
|
+
"name": "setFocus",
|
17510
18174
|
"returns": {
|
17511
18175
|
"type": "Promise<void>",
|
17512
18176
|
"docs": ""
|
17513
18177
|
},
|
17514
18178
|
"complexType": {
|
17515
|
-
"signature": "(
|
18179
|
+
"signature": "(index?: number) => Promise<void>",
|
17516
18180
|
"parameters": [
|
17517
18181
|
{
|
17518
|
-
"name": "
|
17519
|
-
"type": "
|
17520
|
-
"docs": ""
|
18182
|
+
"name": "index",
|
18183
|
+
"type": "number",
|
18184
|
+
"docs": "- The index of the input box to focus (0-based).\nIf provided and the input box has a value, the input box at that index will be focused.\nOtherwise, the first empty input box or the last input if all are filled will be focused."
|
17521
18185
|
}
|
17522
18186
|
],
|
17523
18187
|
"references": {
|
@@ -17528,326 +18192,259 @@
|
|
17528
18192
|
},
|
17529
18193
|
"return": "Promise<void>"
|
17530
18194
|
},
|
17531
|
-
"signature": "
|
18195
|
+
"signature": "setFocus(index?: number) => Promise<void>",
|
17532
18196
|
"parameters": [
|
17533
18197
|
{
|
17534
|
-
"name": "
|
17535
|
-
"type": "
|
17536
|
-
"docs": ""
|
18198
|
+
"name": "index",
|
18199
|
+
"type": "number",
|
18200
|
+
"docs": "- The index of the input box to focus (0-based).\nIf provided and the input box has a value, the input box at that index will be focused.\nOtherwise, the first empty input box or the last input if all are filled will be focused."
|
17537
18201
|
}
|
17538
18202
|
],
|
17539
|
-
"docs": "
|
17540
|
-
"docsTags": [
|
18203
|
+
"docs": "Sets focus to an input box.",
|
18204
|
+
"docsTags": [
|
18205
|
+
{
|
18206
|
+
"name": "param",
|
18207
|
+
"text": "index - The index of the input box to focus (0-based).\nIf provided and the input box has a value, the input box at that index will be focused.\nOtherwise, the first empty input box or the last input if all are filled will be focused."
|
18208
|
+
}
|
18209
|
+
]
|
17541
18210
|
}
|
17542
18211
|
],
|
17543
18212
|
"events": [
|
17544
18213
|
{
|
17545
18214
|
"event": "nanoBlur",
|
17546
|
-
"detail": "
|
18215
|
+
"detail": "FocusEvent",
|
17547
18216
|
"bubbles": true,
|
17548
18217
|
"complexType": {
|
17549
|
-
"original": "
|
17550
|
-
"resolved": "
|
17551
|
-
"references": {
|
18218
|
+
"original": "FocusEvent",
|
18219
|
+
"resolved": "FocusEvent",
|
18220
|
+
"references": {
|
18221
|
+
"FocusEvent": {
|
18222
|
+
"location": "global",
|
18223
|
+
"id": "global::FocusEvent"
|
18224
|
+
}
|
18225
|
+
}
|
17552
18226
|
},
|
17553
18227
|
"cancelable": true,
|
17554
18228
|
"composed": true,
|
17555
|
-
"docs": "Emitted when the input loses focus.",
|
18229
|
+
"docs": "Emitted when the input group loses focus.",
|
17556
18230
|
"docsTags": []
|
17557
18231
|
},
|
17558
18232
|
{
|
17559
18233
|
"event": "nanoChange",
|
17560
|
-
"detail": "
|
18234
|
+
"detail": "InputOtpChangeEventDetail",
|
17561
18235
|
"bubbles": true,
|
17562
18236
|
"complexType": {
|
17563
|
-
"original": "
|
17564
|
-
"resolved": "
|
18237
|
+
"original": "InputOtpChangeEventDetail",
|
18238
|
+
"resolved": "InputOtpChangeEventDetail",
|
17565
18239
|
"references": {
|
17566
|
-
"
|
18240
|
+
"InputOtpChangeEventDetail": {
|
17567
18241
|
"location": "import",
|
17568
|
-
"path": "./input-interface",
|
17569
|
-
"id": "src/components/input/input-interface.
|
18242
|
+
"path": "./input-otp-interface.js",
|
18243
|
+
"id": "src/components/input-otp/input-otp-interface.ts::InputOtpChangeEventDetail"
|
17570
18244
|
}
|
17571
18245
|
}
|
17572
18246
|
},
|
17573
18247
|
"cancelable": true,
|
17574
18248
|
"composed": true,
|
17575
|
-
"docs": "
|
18249
|
+
"docs": "The `nanoChange` event is fired when the user modifies the input's value.\nUnlike the `nanoInput` event, the `nanoChange` event is only fired when changes\nare committed, not as the user types.\n\nThe `nanoChange` event fires when the `<nano-input-otp>` component loses\nfocus after its value has changed.\n\nThis event will not emit when programmatically setting the `value` property.",
|
17576
18250
|
"docsTags": []
|
17577
18251
|
},
|
17578
18252
|
{
|
17579
|
-
"event": "
|
17580
|
-
"detail": "
|
18253
|
+
"event": "nanoComplete",
|
18254
|
+
"detail": "InputOtpCompleteEventDetail",
|
17581
18255
|
"bubbles": true,
|
17582
18256
|
"complexType": {
|
17583
|
-
"original": "
|
17584
|
-
"resolved": "
|
17585
|
-
"references": {
|
18257
|
+
"original": "InputOtpCompleteEventDetail",
|
18258
|
+
"resolved": "InputOtpCompleteEventDetail",
|
18259
|
+
"references": {
|
18260
|
+
"InputOtpCompleteEventDetail": {
|
18261
|
+
"location": "import",
|
18262
|
+
"path": "./input-otp-interface.js",
|
18263
|
+
"id": "src/components/input-otp/input-otp-interface.ts::InputOtpCompleteEventDetail"
|
18264
|
+
}
|
18265
|
+
}
|
17586
18266
|
},
|
17587
18267
|
"cancelable": true,
|
17588
18268
|
"composed": true,
|
17589
|
-
"docs": "Emitted when
|
18269
|
+
"docs": "Emitted when all input boxes have been filled with valid values.",
|
17590
18270
|
"docsTags": []
|
17591
18271
|
},
|
17592
18272
|
{
|
17593
|
-
"event": "
|
17594
|
-
"detail": "
|
18273
|
+
"event": "nanoFocus",
|
18274
|
+
"detail": "FocusEvent",
|
17595
18275
|
"bubbles": true,
|
17596
18276
|
"complexType": {
|
17597
|
-
"original": "
|
17598
|
-
"resolved": "
|
18277
|
+
"original": "FocusEvent",
|
18278
|
+
"resolved": "FocusEvent",
|
17599
18279
|
"references": {
|
17600
|
-
"
|
18280
|
+
"FocusEvent": {
|
17601
18281
|
"location": "global",
|
17602
|
-
"id": "global::
|
18282
|
+
"id": "global::FocusEvent"
|
17603
18283
|
}
|
17604
18284
|
}
|
17605
18285
|
},
|
17606
18286
|
"cancelable": true,
|
17607
18287
|
"composed": true,
|
17608
|
-
"docs": "Emitted when
|
18288
|
+
"docs": "Emitted when the input group has focus.",
|
17609
18289
|
"docsTags": []
|
17610
18290
|
},
|
17611
18291
|
{
|
17612
|
-
"event": "
|
17613
|
-
"detail": "
|
18292
|
+
"event": "nanoInput",
|
18293
|
+
"detail": "InputOtpInputEventDetail",
|
17614
18294
|
"bubbles": true,
|
17615
18295
|
"complexType": {
|
17616
|
-
"original": "
|
17617
|
-
"resolved": "
|
18296
|
+
"original": "InputOtpInputEventDetail",
|
18297
|
+
"resolved": "InputOtpInputEventDetail",
|
17618
18298
|
"references": {
|
17619
|
-
"
|
18299
|
+
"InputOtpInputEventDetail": {
|
17620
18300
|
"location": "import",
|
17621
|
-
"path": "
|
17622
|
-
"id": "src/
|
18301
|
+
"path": "./input-otp-interface.js",
|
18302
|
+
"id": "src/components/input-otp/input-otp-interface.ts::InputOtpInputEventDetail"
|
17623
18303
|
}
|
17624
18304
|
}
|
17625
18305
|
},
|
17626
18306
|
"cancelable": true,
|
17627
18307
|
"composed": true,
|
17628
|
-
"docs": "
|
17629
|
-
"docsTags": [
|
17630
|
-
{
|
17631
|
-
"name": "returns",
|
17632
|
-
"text": "event.detail: `{ isValid: boolean, errorMessage: string, originalEvent: Event }`."
|
17633
|
-
}
|
17634
|
-
]
|
17635
|
-
}
|
17636
|
-
],
|
17637
|
-
"listeners": [
|
17638
|
-
{
|
17639
|
-
"event": "reset",
|
17640
|
-
"target": "body",
|
17641
|
-
"capture": false,
|
17642
|
-
"passive": false
|
17643
|
-
},
|
17644
|
-
{
|
17645
|
-
"event": "mousedown",
|
17646
|
-
"target": "body",
|
17647
|
-
"capture": false,
|
17648
|
-
"passive": true
|
17649
|
-
},
|
17650
|
-
{
|
17651
|
-
"event": "keydown",
|
17652
|
-
"capture": false,
|
17653
|
-
"passive": false
|
18308
|
+
"docs": "The `nanoInput` event is fired each time the user modifies the input's value.\nUnlike the `nanoChange` event, the `nanoInput` event is fired for each alteration\nto the input's value. This typically happens for each keystroke as the user types.\n\nFor elements that accept text input (`type=text`, `type=tel`, etc.), the interface\nis [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\nthe interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\nthe input is cleared on edit, the type is `null`.",
|
18309
|
+
"docsTags": []
|
17654
18310
|
}
|
17655
18311
|
],
|
18312
|
+
"listeners": [],
|
17656
18313
|
"styles": [
|
17657
18314
|
{
|
17658
|
-
"name": "--
|
17659
|
-
"annotation": "prop",
|
17660
|
-
"docs": "Color of clear button. Defaults to rgb(var(--nano-color-base-rgb-1000) / 60%)."
|
17661
|
-
},
|
17662
|
-
{
|
17663
|
-
"name": "--clear-btn-color--hover",
|
18315
|
+
"name": "--background",
|
17664
18316
|
"annotation": "prop",
|
17665
|
-
"docs": "
|
18317
|
+
"docs": "Background color of the input boxes"
|
17666
18318
|
},
|
17667
18319
|
{
|
17668
|
-
"name": "--
|
18320
|
+
"name": "--border-color",
|
17669
18321
|
"annotation": "prop",
|
17670
|
-
"docs": "
|
18322
|
+
"docs": "Border color of the input boxes"
|
17671
18323
|
},
|
17672
18324
|
{
|
17673
|
-
"name": "--
|
18325
|
+
"name": "--border-radius",
|
17674
18326
|
"annotation": "prop",
|
17675
|
-
"docs": "
|
18327
|
+
"docs": "Border radius of the input boxes"
|
17676
18328
|
},
|
17677
18329
|
{
|
17678
|
-
"name": "--
|
18330
|
+
"name": "--border-width",
|
17679
18331
|
"annotation": "prop",
|
17680
|
-
"docs": "
|
18332
|
+
"docs": "Border width of the input boxes"
|
17681
18333
|
},
|
17682
18334
|
{
|
17683
|
-
"name": "--
|
18335
|
+
"name": "--color",
|
17684
18336
|
"annotation": "prop",
|
17685
|
-
"docs": "
|
18337
|
+
"docs": "Text color of the input"
|
17686
18338
|
},
|
17687
18339
|
{
|
17688
|
-
"name": "--
|
18340
|
+
"name": "--gap",
|
17689
18341
|
"annotation": "prop",
|
17690
|
-
"docs": "
|
18342
|
+
"docs": "Gap between input boxes"
|
17691
18343
|
},
|
17692
18344
|
{
|
17693
|
-
"name": "--
|
18345
|
+
"name": "--height",
|
17694
18346
|
"annotation": "prop",
|
17695
|
-
"docs": "
|
18347
|
+
"docs": "Height of input boxes"
|
17696
18348
|
},
|
17697
18349
|
{
|
17698
|
-
"name": "--
|
18350
|
+
"name": "--highlight-color-invalid",
|
17699
18351
|
"annotation": "prop",
|
17700
|
-
"docs": "
|
18352
|
+
"docs": "The color of the highlight on the input when invalid"
|
17701
18353
|
},
|
17702
18354
|
{
|
17703
|
-
"name": "--
|
18355
|
+
"name": "--highlight-color-valid",
|
17704
18356
|
"annotation": "prop",
|
17705
|
-
"docs": "
|
18357
|
+
"docs": "The color of the highlight on the input when valid"
|
17706
18358
|
},
|
17707
18359
|
{
|
17708
|
-
"name": "--
|
18360
|
+
"name": "--margin-bottom",
|
17709
18361
|
"annotation": "prop",
|
17710
|
-
"docs": "
|
18362
|
+
"docs": "Bottom margin of the input group"
|
17711
18363
|
},
|
17712
18364
|
{
|
17713
|
-
"name": "--
|
18365
|
+
"name": "--margin-end",
|
17714
18366
|
"annotation": "prop",
|
17715
|
-
"docs": "
|
18367
|
+
"docs": "Right margin if direction is left-to-right, and left margin if direction is right-to-left of the input group"
|
17716
18368
|
},
|
17717
18369
|
{
|
17718
|
-
"name": "--
|
18370
|
+
"name": "--margin-start",
|
17719
18371
|
"annotation": "prop",
|
17720
|
-
"docs": "
|
18372
|
+
"docs": "Left margin if direction is left-to-right, and right margin if direction is right-to-left of the input group"
|
17721
18373
|
},
|
17722
18374
|
{
|
17723
|
-
"name": "--
|
18375
|
+
"name": "--margin-top",
|
17724
18376
|
"annotation": "prop",
|
17725
|
-
"docs": "
|
18377
|
+
"docs": "Top margin of the input group"
|
17726
18378
|
},
|
17727
18379
|
{
|
17728
|
-
"name": "--
|
18380
|
+
"name": "--min-width",
|
17729
18381
|
"annotation": "prop",
|
17730
|
-
"docs": "
|
18382
|
+
"docs": "Minimum width of input boxes"
|
17731
18383
|
},
|
17732
18384
|
{
|
17733
|
-
"name": "--
|
18385
|
+
"name": "--padding-bottom",
|
17734
18386
|
"annotation": "prop",
|
17735
|
-
"docs": "
|
18387
|
+
"docs": "Bottom padding of the input group"
|
17736
18388
|
},
|
17737
18389
|
{
|
17738
|
-
"name": "--
|
18390
|
+
"name": "--padding-end",
|
17739
18391
|
"annotation": "prop",
|
17740
|
-
"docs": "
|
18392
|
+
"docs": "Right padding if direction is left-to-right, and left padding if direction is right-to-left of the input group"
|
17741
18393
|
},
|
17742
18394
|
{
|
17743
|
-
"name": "--
|
18395
|
+
"name": "--padding-start",
|
17744
18396
|
"annotation": "prop",
|
17745
|
-
"docs": "
|
18397
|
+
"docs": "Left padding if direction is left-to-right, and right padding if direction is right-to-left of the input group"
|
17746
18398
|
},
|
17747
18399
|
{
|
17748
|
-
"name": "--
|
18400
|
+
"name": "--padding-top",
|
17749
18401
|
"annotation": "prop",
|
17750
|
-
"docs": "
|
18402
|
+
"docs": "Top padding of the input group"
|
17751
18403
|
},
|
17752
18404
|
{
|
17753
|
-
"name": "--
|
18405
|
+
"name": "--separator-border-radius",
|
17754
18406
|
"annotation": "prop",
|
17755
|
-
"docs": "
|
18407
|
+
"docs": "Border radius of the separator between boxes"
|
17756
18408
|
},
|
17757
18409
|
{
|
17758
|
-
"name": "--
|
18410
|
+
"name": "--separator-color",
|
17759
18411
|
"annotation": "prop",
|
17760
|
-
"docs": "
|
18412
|
+
"docs": "Color of the separator between boxes"
|
17761
18413
|
},
|
17762
18414
|
{
|
17763
|
-
"name": "--
|
18415
|
+
"name": "--separator-height",
|
17764
18416
|
"annotation": "prop",
|
17765
|
-
"docs": "
|
18417
|
+
"docs": "Height of the separator between boxes"
|
17766
18418
|
},
|
17767
18419
|
{
|
17768
|
-
"name": "--
|
18420
|
+
"name": "--separator-width",
|
17769
18421
|
"annotation": "prop",
|
17770
|
-
"docs": "
|
18422
|
+
"docs": "Width of the separator between boxes"
|
17771
18423
|
},
|
17772
18424
|
{
|
17773
|
-
"name": "--
|
18425
|
+
"name": "--width",
|
17774
18426
|
"annotation": "prop",
|
17775
|
-
"docs": "
|
18427
|
+
"docs": "Width of input boxes"
|
17776
18428
|
}
|
17777
18429
|
],
|
17778
18430
|
"slots": [
|
17779
18431
|
{
|
17780
18432
|
"name": "",
|
17781
|
-
"docs": "
|
17782
|
-
},
|
17783
|
-
{
|
17784
|
-
"name": "end",
|
17785
|
-
"docs": "suitable for inline action buttons or icons that may add extra contextual information"
|
17786
|
-
},
|
17787
|
-
{
|
17788
|
-
"name": "helper",
|
17789
|
-
"docs": "helper text to accompany the form field underneath."
|
17790
|
-
},
|
17791
|
-
{
|
17792
|
-
"name": "helper-end",
|
17793
|
-
"docs": "helper text to accompany the form field on the side."
|
17794
|
-
},
|
17795
|
-
{
|
17796
|
-
"name": "label",
|
17797
|
-
"docs": "if you do not set a label attribute, you can use this slot for more complex markup"
|
17798
|
-
},
|
17799
|
-
{
|
17800
|
-
"name": "start",
|
17801
|
-
"docs": "suitable for inline action buttons or icons that may add extra contextual information"
|
17802
|
-
},
|
17803
|
-
{
|
17804
|
-
"name": "value-end",
|
17805
|
-
"docs": "similar to 'end', however clicking elements using this slot will activate the input control. This would be suitable to show a secondary 'value' for context or to show a dropdown arrow if using a datalist"
|
17806
|
-
},
|
17807
|
-
{
|
17808
|
-
"name": "value-start",
|
17809
|
-
"docs": "similar to 'start', however clicking elements using this slot will activate the input control. This would be suitable to show a secondary 'value' for context or to show a dropdown arrow if using a datalist"
|
17810
|
-
}
|
17811
|
-
],
|
17812
|
-
"parts": [
|
17813
|
-
{
|
17814
|
-
"name": "date__dropdown",
|
17815
|
-
"docs": ""
|
18433
|
+
"docs": "The default slot for the input description."
|
17816
18434
|
},
|
17817
18435
|
{
|
17818
|
-
"name": "
|
17819
|
-
"docs": ""
|
18436
|
+
"name": "validity-icon",
|
18437
|
+
"docs": "A slot for a custom validity icon. If not provided, a default icon will be used."
|
17820
18438
|
}
|
17821
18439
|
],
|
17822
|
-
"
|
17823
|
-
|
17824
|
-
"nano-global-nav"
|
17825
|
-
],
|
18440
|
+
"parts": [],
|
18441
|
+
"dependents": [],
|
17826
18442
|
"dependencies": [
|
17827
|
-
"nano-dropdown",
|
17828
|
-
"nano-icon-button",
|
17829
|
-
"nano-date-picker",
|
17830
18443
|
"nano-icon"
|
17831
18444
|
],
|
17832
18445
|
"dependencyGraph": {
|
17833
|
-
"nano-input": [
|
17834
|
-
"nano-dropdown",
|
17835
|
-
"nano-icon-button",
|
17836
|
-
"nano-date-picker",
|
17837
|
-
"nano-icon"
|
17838
|
-
],
|
17839
|
-
"nano-icon-button": [
|
17840
|
-
"nano-icon",
|
17841
|
-
"nano-tooltip"
|
17842
|
-
],
|
17843
|
-
"nano-date-picker": [
|
18446
|
+
"nano-input-otp": [
|
17844
18447
|
"nano-icon"
|
17845
|
-
],
|
17846
|
-
"nano-date-input": [
|
17847
|
-
"nano-input"
|
17848
|
-
],
|
17849
|
-
"nano-global-nav": [
|
17850
|
-
"nano-input"
|
17851
18448
|
]
|
17852
18449
|
}
|
17853
18450
|
},
|
@@ -27165,6 +27762,35 @@
|
|
27165
27762
|
"getter": false,
|
27166
27763
|
"setter": false
|
27167
27764
|
},
|
27765
|
+
{
|
27766
|
+
"name": "selected",
|
27767
|
+
"type": "boolean",
|
27768
|
+
"complexType": {
|
27769
|
+
"original": "boolean",
|
27770
|
+
"resolved": "boolean",
|
27771
|
+
"references": {}
|
27772
|
+
},
|
27773
|
+
"mutable": false,
|
27774
|
+
"attr": "selected",
|
27775
|
+
"reflectToAttr": true,
|
27776
|
+
"docs": "If true, the tag will have a different background color.",
|
27777
|
+
"docsTags": [
|
27778
|
+
{
|
27779
|
+
"name": "default",
|
27780
|
+
"text": "false"
|
27781
|
+
}
|
27782
|
+
],
|
27783
|
+
"default": "false",
|
27784
|
+
"values": [
|
27785
|
+
{
|
27786
|
+
"type": "boolean"
|
27787
|
+
}
|
27788
|
+
],
|
27789
|
+
"optional": true,
|
27790
|
+
"required": false,
|
27791
|
+
"getter": false,
|
27792
|
+
"setter": false
|
27793
|
+
},
|
27168
27794
|
{
|
27169
27795
|
"name": "size",
|
27170
27796
|
"type": "\"large\" | \"regular\"",
|
@@ -27937,6 +28563,21 @@
|
|
27937
28563
|
"docstring": "",
|
27938
28564
|
"path": "src/components/global-nav/global-nav-interface.d.ts"
|
27939
28565
|
},
|
28566
|
+
"src/components/input-otp/input-otp-interface.ts::InputOtpInputEventDetail": {
|
28567
|
+
"declaration": "export interface InputOtpInputEventDetail {\n value?: string | null;\n valid?: boolean;\n event?: Event;\n}",
|
28568
|
+
"docstring": "Values are converted to strings when emitted which is\nwhy we do not have a `number` type here even though the\n`value` prop accepts a `number` type.",
|
28569
|
+
"path": "src/components/input-otp/input-otp-interface.ts"
|
28570
|
+
},
|
28571
|
+
"src/components/input-otp/input-otp-interface.ts::InputOtpChangeEventDetail": {
|
28572
|
+
"declaration": "export interface InputOtpChangeEventDetail {\n value?: string | null;\n valid?: boolean;\n event?: Event;\n}",
|
28573
|
+
"docstring": "",
|
28574
|
+
"path": "src/components/input-otp/input-otp-interface.ts"
|
28575
|
+
},
|
28576
|
+
"src/components/input-otp/input-otp-interface.ts::InputOtpCompleteEventDetail": {
|
28577
|
+
"declaration": "export interface InputOtpCompleteEventDetail {\n value?: string | null;\n valid?: boolean;\n event?: Event;\n}",
|
28578
|
+
"docstring": "",
|
28579
|
+
"path": "src/components/input-otp/input-otp-interface.ts"
|
28580
|
+
},
|
27940
28581
|
"src/components/range/range-interface.d.ts::RangeValue": {
|
27941
28582
|
"declaration": "export type RangeValue = number | { lower: number; upper: number };",
|
27942
28583
|
"docstring": "",
|