@nanoporetech-digital/components 4.4.0 → 4.5.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/CHANGELOG.md +30 -0
- package/dist/cjs/index-71f899a7.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nano-alert.cjs.entry.js +12 -4
- package/dist/cjs/nano-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/nano-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-details.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-field-validator.cjs.entry.js +38 -46
- package/dist/cjs/nano-field-validator.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-global-nav.cjs.entry.js +4 -4
- package/dist/cjs/nano-global-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/{nano-progress-bar_2.cjs.entry.js → nano-icon-button_2.cjs.entry.js} +44 -18
- package/dist/cjs/nano-icon-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-progress-bar.cjs.entry.js +33 -0
- package/dist/cjs/nano-progress-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/{nano-table-80866352.js → nano-table-4cfc1ea8.js} +2 -2
- package/dist/cjs/{nano-table-80866352.js.map → nano-table-4cfc1ea8.js.map} +1 -1
- package/dist/cjs/nano-table.cjs.entry.js +1 -1
- package/dist/cjs/{table.worker-33992a3a.js → table.worker-4a894304.js} +2 -2
- package/dist/cjs/table.worker-4a894304.js.map +1 -0
- package/dist/collection/components/alert/alert.js +33 -3
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.css +36 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/details/details.js +5 -2
- package/dist/collection/components/details/details.js.map +1 -1
- package/dist/collection/components/field-validator/field-validator.js +65 -46
- package/dist/collection/components/field-validator/field-validator.js.map +1 -1
- package/dist/collection/components/global-nav/global-nav.js +8 -6
- package/dist/collection/components/global-nav/global-nav.js.map +1 -1
- package/dist/collection/components/global-nav/style/global-nav.css +6 -4
- package/dist/collection/components/icon-button/icon-button.js +34 -3
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/tabs/tab-group.js +2 -2
- package/dist/collection/components/tabs/tab-group.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/components/icon-button.js +18 -4
- package/dist/components/icon-button.js.map +1 -1
- package/dist/components/nano-alert.js +23 -8
- package/dist/components/nano-alert.js.map +1 -1
- package/dist/components/nano-checkbox.js +2 -2
- package/dist/components/nano-checkbox.js.map +1 -1
- package/dist/components/nano-details.js +5 -2
- package/dist/components/nano-details.js.map +1 -1
- package/dist/components/nano-dialog.js +12 -6
- package/dist/components/nano-dialog.js.map +1 -1
- package/dist/components/nano-field-validator.js +39 -47
- package/dist/components/nano-field-validator.js.map +1 -1
- package/dist/components/nano-global-nav.js +6 -6
- package/dist/components/nano-global-nav.js.map +1 -1
- package/dist/components/nano-overflow-nav.js +10 -4
- package/dist/components/nano-overflow-nav.js.map +1 -1
- package/dist/components/nano-tab-group.js.map +1 -1
- package/dist/components/nano-tab.js +10 -4
- package/dist/components/nano-tab.js.map +1 -1
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tooltip.js.map +1 -1
- package/dist/esm/index-dad5627b.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nano-alert.entry.js +12 -4
- package/dist/esm/nano-alert.entry.js.map +1 -1
- package/dist/esm/nano-checkbox.entry.js +2 -2
- package/dist/esm/nano-checkbox.entry.js.map +1 -1
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-details.entry.js.map +1 -1
- package/dist/esm/nano-field-validator.entry.js +38 -46
- package/dist/esm/nano-field-validator.entry.js.map +1 -1
- package/dist/esm/nano-global-nav.entry.js +4 -4
- package/dist/esm/nano-global-nav.entry.js.map +1 -1
- package/dist/esm/{nano-progress-bar_2.entry.js → nano-icon-button_2.entry.js} +45 -19
- package/dist/esm/nano-icon-button_2.entry.js.map +1 -0
- package/dist/esm/nano-progress-bar.entry.js +29 -0
- package/dist/esm/nano-progress-bar.entry.js.map +1 -0
- package/dist/esm/nano-tab-group.entry.js.map +1 -1
- package/dist/esm/{nano-table-fda0efef.js → nano-table-94a6e169.js} +2 -2
- package/dist/esm/{nano-table-fda0efef.js.map → nano-table-94a6e169.js.map} +1 -1
- package/dist/esm/nano-table.entry.js +1 -1
- package/dist/esm/{table.worker-2fd6f263.js → table.worker-5d3c7463.js} +2 -2
- package/dist/esm/table.worker-5d3c7463.js.map +1 -0
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-components.esm.js.map +1 -1
- package/dist/nano-components/p-119d8899.entry.js +5 -0
- package/dist/nano-components/p-119d8899.entry.js.map +1 -0
- package/dist/nano-components/p-125d4ca8.entry.js +5 -0
- package/dist/nano-components/p-125d4ca8.entry.js.map +1 -0
- package/dist/nano-components/p-20038e9c.entry.js +5 -0
- package/dist/nano-components/p-20038e9c.entry.js.map +1 -0
- package/dist/nano-components/p-357a0a3f.entry.js +5 -0
- package/dist/nano-components/p-357a0a3f.entry.js.map +1 -0
- package/dist/nano-components/{p-9e6b78df.entry.js → p-6b232629.entry.js} +2 -2
- package/dist/nano-components/p-6d068d65.entry.js +5 -0
- package/dist/nano-components/p-6d068d65.entry.js.map +1 -0
- package/dist/nano-components/p-76a650b1.entry.js.map +1 -1
- package/dist/nano-components/p-95651bcb.entry.js +5 -0
- package/dist/nano-components/p-95651bcb.entry.js.map +1 -0
- package/dist/nano-components/p-a5a560e7.entry.js.map +1 -1
- package/dist/nano-components/{p-a1bfd5c9.js → p-b2b29eaf.js} +2 -2
- package/dist/nano-components/p-e68a4e16.js +5 -0
- package/dist/types/components/alert/alert.d.ts +7 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/field-validator/field-validator.d.ts +4 -4
- package/dist/types/components/global-nav/global-nav.d.ts +4 -2
- package/dist/types/components/icon-button/icon-button.d.ts +8 -1
- package/dist/types/components/tabs/tab-group.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +26 -8
- package/docs-json.json +127 -14
- package/docs-vscode.json +12 -1
- package/hydrate/index.js +83 -71
- package/package.json +2 -2
- package/dist/cjs/nano-icon-button.cjs.entry.js +0 -52
- package/dist/cjs/nano-icon-button.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-progress-bar_2.cjs.entry.js.map +0 -1
- package/dist/cjs/table.worker-33992a3a.js.map +0 -1
- package/dist/esm/nano-icon-button.entry.js +0 -48
- package/dist/esm/nano-icon-button.entry.js.map +0 -1
- package/dist/esm/nano-progress-bar_2.entry.js.map +0 -1
- package/dist/esm/table.worker-2fd6f263.js.map +0 -1
- package/dist/nano-components/p-104b7e3a.entry.js +0 -5
- package/dist/nano-components/p-104b7e3a.entry.js.map +0 -1
- package/dist/nano-components/p-62052277.entry.js +0 -5
- package/dist/nano-components/p-62052277.entry.js.map +0 -1
- package/dist/nano-components/p-69bb4ec0.js +0 -5
- package/dist/nano-components/p-9dfe2c55.entry.js +0 -5
- package/dist/nano-components/p-9dfe2c55.entry.js.map +0 -1
- package/dist/nano-components/p-dc8fd62d.entry.js +0 -5
- package/dist/nano-components/p-dc8fd62d.entry.js.map +0 -1
- package/dist/nano-components/p-e41baa11.entry.js +0 -5
- package/dist/nano-components/p-e41baa11.entry.js.map +0 -1
- package/dist/nano-components/p-eab09335.entry.js +0 -5
- package/dist/nano-components/p-eab09335.entry.js.map +0 -1
- /package/dist/nano-components/{p-69bb4ec0.js.map → p-6b232629.entry.js.map} +0 -0
- /package/dist/nano-components/{p-a1bfd5c9.js.map → p-b2b29eaf.js.map} +0 -0
- /package/dist/nano-components/{p-9e6b78df.entry.js.map → p-e68a4e16.js.map} +0 -0
@@ -49,6 +49,10 @@ export namespace Components {
|
|
49
49
|
* Hides the alert
|
50
50
|
*/
|
51
51
|
"hide": () => Promise<boolean>;
|
52
|
+
/**
|
53
|
+
* Relocate the dialog to the root of the DOM. Most useful in conjunction with `alert()` when parental elements have css stacking constraints which don't allow for `position: fixed`
|
54
|
+
*/
|
55
|
+
"hoist": boolean;
|
52
56
|
/**
|
53
57
|
* Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
|
54
58
|
*/
|
@@ -340,6 +344,7 @@ export namespace Components {
|
|
340
344
|
| 'checkbox'
|
341
345
|
| 'tag'
|
342
346
|
| 'segment'
|
347
|
+
| 'switch'
|
343
348
|
| 'segment-pill';
|
344
349
|
/**
|
345
350
|
* Current validation message - if any. @readonly
|
@@ -1267,6 +1272,10 @@ export namespace Components {
|
|
1267
1272
|
* Sets focus on the internal button
|
1268
1273
|
*/
|
1269
1274
|
"setFocus": () => Promise<void>;
|
1275
|
+
/**
|
1276
|
+
* display the label as a `<nano-tooltip />`
|
1277
|
+
*/
|
1278
|
+
"showTooltip": boolean;
|
1270
1279
|
/**
|
1271
1280
|
* Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
|
1272
1281
|
*/
|
@@ -2206,9 +2215,9 @@ export namespace Components {
|
|
2206
2215
|
"name": string;
|
2207
2216
|
}
|
2208
2217
|
/**
|
2209
|
-
* A
|
2218
|
+
* A traditional tab implementation. It nests `nano-tab` and `nano-tab-content` sub-components.
|
2210
2219
|
* Tabs can be stacked vertically or horizontally (which presents different styling variations) using the `placement` attribute.
|
2211
|
-
*
|
2220
|
+
* Horizontal tabs that don't fit will overflow and scroll appropriately.
|
2212
2221
|
* Tab-content can also be swiped to change tabs.
|
2213
2222
|
*/
|
2214
2223
|
interface NanoTabGroup {
|
@@ -3055,9 +3064,9 @@ declare global {
|
|
3055
3064
|
new (): HTMLNanoTabContentElement;
|
3056
3065
|
};
|
3057
3066
|
/**
|
3058
|
-
* A
|
3067
|
+
* A traditional tab implementation. It nests `nano-tab` and `nano-tab-content` sub-components.
|
3059
3068
|
* Tabs can be stacked vertically or horizontally (which presents different styling variations) using the `placement` attribute.
|
3060
|
-
*
|
3069
|
+
* Horizontal tabs that don't fit will overflow and scroll appropriately.
|
3061
3070
|
* Tab-content can also be swiped to change tabs.
|
3062
3071
|
*/
|
3063
3072
|
interface HTMLNanoTabGroupElement extends Components.NanoTabGroup, HTMLStencilElement {
|
@@ -3176,6 +3185,10 @@ declare namespace LocalJSX {
|
|
3176
3185
|
* The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart.
|
3177
3186
|
*/
|
3178
3187
|
"duration"?: number;
|
3188
|
+
/**
|
3189
|
+
* Relocate the dialog to the root of the DOM. Most useful in conjunction with `alert()` when parental elements have css stacking constraints which don't allow for `position: fixed`
|
3190
|
+
*/
|
3191
|
+
"hoist"?: boolean;
|
3179
3192
|
/**
|
3180
3193
|
* Emitted after the alert closes and all transitions are complete.
|
3181
3194
|
*/
|
@@ -3489,6 +3502,7 @@ declare namespace LocalJSX {
|
|
3489
3502
|
| 'checkbox'
|
3490
3503
|
| 'tag'
|
3491
3504
|
| 'segment'
|
3505
|
+
| 'switch'
|
3492
3506
|
| 'segment-pill';
|
3493
3507
|
/**
|
3494
3508
|
* Current validation message - if any. @readonly
|
@@ -4458,6 +4472,10 @@ declare namespace LocalJSX {
|
|
4458
4472
|
* The name of the button, submitted as a pair with the button’s value as part of the form data.
|
4459
4473
|
*/
|
4460
4474
|
"name"?: string;
|
4475
|
+
/**
|
4476
|
+
* display the label as a `<nano-tooltip />`
|
4477
|
+
*/
|
4478
|
+
"showTooltip"?: boolean;
|
4461
4479
|
/**
|
4462
4480
|
* Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
|
4463
4481
|
*/
|
@@ -5439,9 +5457,9 @@ declare namespace LocalJSX {
|
|
5439
5457
|
"name"?: string;
|
5440
5458
|
}
|
5441
5459
|
/**
|
5442
|
-
* A
|
5460
|
+
* A traditional tab implementation. It nests `nano-tab` and `nano-tab-content` sub-components.
|
5443
5461
|
* Tabs can be stacked vertically or horizontally (which presents different styling variations) using the `placement` attribute.
|
5444
|
-
*
|
5462
|
+
* Horizontal tabs that don't fit will overflow and scroll appropriately.
|
5445
5463
|
* Tab-content can also be swiped to change tabs.
|
5446
5464
|
*/
|
5447
5465
|
interface NanoTabGroup {
|
@@ -5998,9 +6016,9 @@ declare module "@stencil/core" {
|
|
5998
6016
|
"nano-tab": LocalJSX.NanoTab & JSXBase.HTMLAttributes<HTMLNanoTabElement>;
|
5999
6017
|
"nano-tab-content": LocalJSX.NanoTabContent & JSXBase.HTMLAttributes<HTMLNanoTabContentElement>;
|
6000
6018
|
/**
|
6001
|
-
* A
|
6019
|
+
* A traditional tab implementation. It nests `nano-tab` and `nano-tab-content` sub-components.
|
6002
6020
|
* Tabs can be stacked vertically or horizontally (which presents different styling variations) using the `placement` attribute.
|
6003
|
-
*
|
6021
|
+
* Horizontal tabs that don't fit will overflow and scroll appropriately.
|
6004
6022
|
* Tab-content can also be swiped to change tabs.
|
6005
6023
|
*/
|
6006
6024
|
"nano-tab-group": LocalJSX.NanoTabGroup & JSXBase.HTMLAttributes<HTMLNanoTabGroupElement>;
|
package/docs-json.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2023-
|
2
|
+
"timestamp": "2023-04-18T12:12:50",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@stencil/core",
|
5
5
|
"version": "2.23.0",
|
@@ -209,6 +209,25 @@
|
|
209
209
|
"getter": false,
|
210
210
|
"setter": false
|
211
211
|
},
|
212
|
+
{
|
213
|
+
"name": "hoist",
|
214
|
+
"type": "boolean",
|
215
|
+
"mutable": false,
|
216
|
+
"attr": "hoist",
|
217
|
+
"reflectToAttr": false,
|
218
|
+
"docs": "Relocate the dialog to the root of the DOM.\nMost useful in conjunction with `alert()` when parental elements\nhave css stacking constraints which don't allow for `position: fixed`",
|
219
|
+
"docsTags": [],
|
220
|
+
"default": "false",
|
221
|
+
"values": [
|
222
|
+
{
|
223
|
+
"type": "boolean"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"optional": false,
|
227
|
+
"required": false,
|
228
|
+
"getter": false,
|
229
|
+
"setter": false
|
230
|
+
},
|
212
231
|
{
|
213
232
|
"name": "open",
|
214
233
|
"type": "boolean",
|
@@ -411,7 +430,8 @@
|
|
411
430
|
"nano-icon-button"
|
412
431
|
],
|
413
432
|
"nano-icon-button": [
|
414
|
-
"nano-icon"
|
433
|
+
"nano-icon",
|
434
|
+
"nano-tooltip"
|
415
435
|
]
|
416
436
|
}
|
417
437
|
},
|
@@ -1854,7 +1874,7 @@
|
|
1854
1874
|
},
|
1855
1875
|
{
|
1856
1876
|
"name": "type",
|
1857
|
-
"type": "\"checkbox\" | \"radio\" | \"segment\" | \"segment-pill\" | \"tag\"",
|
1877
|
+
"type": "\"checkbox\" | \"radio\" | \"segment\" | \"segment-pill\" | \"switch\" | \"tag\"",
|
1858
1878
|
"mutable": false,
|
1859
1879
|
"attr": "type",
|
1860
1880
|
"reflectToAttr": true,
|
@@ -1878,6 +1898,10 @@
|
|
1878
1898
|
"value": "segment-pill",
|
1879
1899
|
"type": "string"
|
1880
1900
|
},
|
1901
|
+
{
|
1902
|
+
"value": "switch",
|
1903
|
+
"type": "string"
|
1904
|
+
},
|
1881
1905
|
{
|
1882
1906
|
"value": "tag",
|
1883
1907
|
"type": "string"
|
@@ -2113,7 +2137,17 @@
|
|
2113
2137
|
{
|
2114
2138
|
"name": "--segment-shadow",
|
2115
2139
|
"annotation": "prop",
|
2116
|
-
"docs": "0 1px 4px rgb(0 0 0 / 20%);"
|
2140
|
+
"docs": "Defaults to 0 1px 4px rgb(0 0 0 / 20%);"
|
2141
|
+
},
|
2142
|
+
{
|
2143
|
+
"name": "--switch-active-color",
|
2144
|
+
"annotation": "prop",
|
2145
|
+
"docs": "Defaults to #007495;"
|
2146
|
+
},
|
2147
|
+
{
|
2148
|
+
"name": "--switch-inactive-color",
|
2149
|
+
"annotation": "prop",
|
2150
|
+
"docs": "Defaults to rgb(181 174 167 / 70%);"
|
2117
2151
|
},
|
2118
2152
|
{
|
2119
2153
|
"name": "--tagbox-bg-color",
|
@@ -4705,7 +4739,8 @@
|
|
4705
4739
|
"nano-icon-button"
|
4706
4740
|
],
|
4707
4741
|
"nano-icon-button": [
|
4708
|
-
"nano-icon"
|
4742
|
+
"nano-icon",
|
4743
|
+
"nano-tooltip"
|
4709
4744
|
]
|
4710
4745
|
}
|
4711
4746
|
},
|
@@ -5753,7 +5788,28 @@
|
|
5753
5788
|
"docsTags": []
|
5754
5789
|
}
|
5755
5790
|
],
|
5756
|
-
"listeners": [
|
5791
|
+
"listeners": [
|
5792
|
+
{
|
5793
|
+
"event": "nanoChange",
|
5794
|
+
"capture": false,
|
5795
|
+
"passive": false
|
5796
|
+
},
|
5797
|
+
{
|
5798
|
+
"event": "input",
|
5799
|
+
"capture": false,
|
5800
|
+
"passive": false
|
5801
|
+
},
|
5802
|
+
{
|
5803
|
+
"event": "change",
|
5804
|
+
"capture": false,
|
5805
|
+
"passive": false
|
5806
|
+
},
|
5807
|
+
{
|
5808
|
+
"event": "submit",
|
5809
|
+
"capture": false,
|
5810
|
+
"passive": false
|
5811
|
+
}
|
5812
|
+
],
|
5757
5813
|
"styles": [],
|
5758
5814
|
"slots": [],
|
5759
5815
|
"parts": [],
|
@@ -6373,7 +6429,8 @@
|
|
6373
6429
|
"nano-icon-button"
|
6374
6430
|
],
|
6375
6431
|
"nano-icon-button": [
|
6376
|
-
"nano-icon"
|
6432
|
+
"nano-icon",
|
6433
|
+
"nano-tooltip"
|
6377
6434
|
]
|
6378
6435
|
}
|
6379
6436
|
},
|
@@ -6436,6 +6493,14 @@
|
|
6436
6493
|
"name": "part",
|
6437
6494
|
"text": "burger-content - the main content area of the overflow / burger menu"
|
6438
6495
|
},
|
6496
|
+
{
|
6497
|
+
"name": "part",
|
6498
|
+
"text": "sticker - the `nano-sticker` wrapping the main nav-bar"
|
6499
|
+
},
|
6500
|
+
{
|
6501
|
+
"name": "part",
|
6502
|
+
"text": "bars - the main wrapper around the `main-bar` and `search-bar` nav bars"
|
6503
|
+
},
|
6439
6504
|
{
|
6440
6505
|
"name": "part",
|
6441
6506
|
"text": "main-bar - the main nav menu bar"
|
@@ -7059,6 +7124,10 @@
|
|
7059
7124
|
}
|
7060
7125
|
],
|
7061
7126
|
"parts": [
|
7127
|
+
{
|
7128
|
+
"name": "bars",
|
7129
|
+
"docs": "the main wrapper around the `main-bar` and `search-bar` nav bars"
|
7130
|
+
},
|
7062
7131
|
{
|
7063
7132
|
"name": "burger",
|
7064
7133
|
"docs": "the overflow / burger menu"
|
@@ -7082,6 +7151,10 @@
|
|
7082
7151
|
{
|
7083
7152
|
"name": "search-bar",
|
7084
7153
|
"docs": "the search bar that appears under the main nav menu bar"
|
7154
|
+
},
|
7155
|
+
{
|
7156
|
+
"name": "sticker",
|
7157
|
+
"docs": "the `nano-sticker` wrapping the main nav-bar"
|
7085
7158
|
}
|
7086
7159
|
],
|
7087
7160
|
"dependents": [],
|
@@ -8141,7 +8214,16 @@
|
|
8141
8214
|
"tag": "nano-icon-button",
|
8142
8215
|
"readme": "# nano-icon-button\n\n\n",
|
8143
8216
|
"docs": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.",
|
8144
|
-
"docsTags": [
|
8217
|
+
"docsTags": [
|
8218
|
+
{
|
8219
|
+
"name": "part",
|
8220
|
+
"text": "base - the main control (either `<a />` or `<button />`)"
|
8221
|
+
},
|
8222
|
+
{
|
8223
|
+
"name": "part",
|
8224
|
+
"text": "icon - a `<nano-icon />` component"
|
8225
|
+
}
|
8226
|
+
],
|
8145
8227
|
"usage": {},
|
8146
8228
|
"props": [
|
8147
8229
|
{
|
@@ -8253,6 +8335,25 @@
|
|
8253
8335
|
"getter": false,
|
8254
8336
|
"setter": false
|
8255
8337
|
},
|
8338
|
+
{
|
8339
|
+
"name": "showTooltip",
|
8340
|
+
"type": "boolean",
|
8341
|
+
"mutable": false,
|
8342
|
+
"attr": "show-tooltip",
|
8343
|
+
"reflectToAttr": false,
|
8344
|
+
"docs": "display the label as a `<nano-tooltip />`",
|
8345
|
+
"docsTags": [],
|
8346
|
+
"default": "false",
|
8347
|
+
"values": [
|
8348
|
+
{
|
8349
|
+
"type": "boolean"
|
8350
|
+
}
|
8351
|
+
],
|
8352
|
+
"optional": false,
|
8353
|
+
"required": false,
|
8354
|
+
"getter": false,
|
8355
|
+
"setter": false
|
8356
|
+
},
|
8256
8357
|
{
|
8257
8358
|
"name": "target",
|
8258
8359
|
"type": "string",
|
@@ -8369,7 +8470,11 @@
|
|
8369
8470
|
"parts": [
|
8370
8471
|
{
|
8371
8472
|
"name": "base",
|
8372
|
-
"docs": ""
|
8473
|
+
"docs": "the main control (either `<a />` or `<button />`)"
|
8474
|
+
},
|
8475
|
+
{
|
8476
|
+
"name": "icon",
|
8477
|
+
"docs": "a `<nano-icon />` component"
|
8373
8478
|
}
|
8374
8479
|
],
|
8375
8480
|
"dependents": [
|
@@ -8380,11 +8485,13 @@
|
|
8380
8485
|
"nano-tab"
|
8381
8486
|
],
|
8382
8487
|
"dependencies": [
|
8383
|
-
"nano-icon"
|
8488
|
+
"nano-icon",
|
8489
|
+
"nano-tooltip"
|
8384
8490
|
],
|
8385
8491
|
"dependencyGraph": {
|
8386
8492
|
"nano-icon-button": [
|
8387
|
-
"nano-icon"
|
8493
|
+
"nano-icon",
|
8494
|
+
"nano-tooltip"
|
8388
8495
|
],
|
8389
8496
|
"nano-alert": [
|
8390
8497
|
"nano-icon-button"
|
@@ -11148,7 +11255,8 @@
|
|
11148
11255
|
"nano-icon-button"
|
11149
11256
|
],
|
11150
11257
|
"nano-icon-button": [
|
11151
|
-
"nano-icon"
|
11258
|
+
"nano-icon",
|
11259
|
+
"nano-tooltip"
|
11152
11260
|
]
|
11153
11261
|
}
|
11154
11262
|
},
|
@@ -14677,7 +14785,8 @@
|
|
14677
14785
|
"nano-icon-button"
|
14678
14786
|
],
|
14679
14787
|
"nano-icon-button": [
|
14680
|
-
"nano-icon"
|
14788
|
+
"nano-icon",
|
14789
|
+
"nano-tooltip"
|
14681
14790
|
]
|
14682
14791
|
}
|
14683
14792
|
},
|
@@ -14759,7 +14868,7 @@
|
|
14759
14868
|
"encapsulation": "shadow",
|
14760
14869
|
"tag": "nano-tab-group",
|
14761
14870
|
"readme": "# nano-tab\n\n\n",
|
14762
|
-
"docs": "A
|
14871
|
+
"docs": "A traditional tab implementation. It nests `nano-tab` and `nano-tab-content` sub-components.\n\nTabs can be stacked vertically or horizontally (which presents different styling variations) using the `placement` attribute.\nHorizontal tabs that don't fit will overflow and scroll appropriately.\nTab-content can also be swiped to change tabs.",
|
14763
14872
|
"docsTags": [
|
14764
14873
|
{
|
14765
14874
|
"name": "slot",
|
@@ -16286,6 +16395,7 @@
|
|
16286
16395
|
],
|
16287
16396
|
"dependents": [
|
16288
16397
|
"nano-file-upload",
|
16398
|
+
"nano-icon-button",
|
16289
16399
|
"nano-table"
|
16290
16400
|
],
|
16291
16401
|
"dependencies": [],
|
@@ -16293,6 +16403,9 @@
|
|
16293
16403
|
"nano-file-upload": [
|
16294
16404
|
"nano-tooltip"
|
16295
16405
|
],
|
16406
|
+
"nano-icon-button": [
|
16407
|
+
"nano-tooltip"
|
16408
|
+
],
|
16296
16409
|
"nano-table": [
|
16297
16410
|
"nano-tooltip"
|
16298
16411
|
]
|
package/docs-vscode.json
CHANGED
@@ -91,6 +91,10 @@
|
|
91
91
|
"name": "duration",
|
92
92
|
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the\nalert before it closes (e.g. moves the mouse over it), the timer will restart."
|
93
93
|
},
|
94
|
+
{
|
95
|
+
"name": "hoist",
|
96
|
+
"description": "Relocate the dialog to the root of the DOM.\nMost useful in conjunction with `alert()` when parental elements\nhave css stacking constraints which don't allow for `position: fixed`"
|
97
|
+
},
|
94
98
|
{
|
95
99
|
"name": "open",
|
96
100
|
"description": "Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods."
|
@@ -447,6 +451,9 @@
|
|
447
451
|
{
|
448
452
|
"name": "segment-pill"
|
449
453
|
},
|
454
|
+
{
|
455
|
+
"name": "switch"
|
456
|
+
},
|
450
457
|
{
|
451
458
|
"name": "tag"
|
452
459
|
}
|
@@ -1543,6 +1550,10 @@
|
|
1543
1550
|
"name": "name",
|
1544
1551
|
"description": "The name of the button, submitted as a pair with the button’s value as part of the form data."
|
1545
1552
|
},
|
1553
|
+
{
|
1554
|
+
"name": "show-tooltip",
|
1555
|
+
"description": "display the label as a `<nano-tooltip />`"
|
1556
|
+
},
|
1546
1557
|
{
|
1547
1558
|
"name": "target",
|
1548
1559
|
"description": "Specifies where to display the linked URL. Only applies when an `href` is provided.\nSpecial keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`."
|
@@ -2640,7 +2651,7 @@
|
|
2640
2651
|
"name": "nano-tab-group",
|
2641
2652
|
"description": {
|
2642
2653
|
"kind": "markdown",
|
2643
|
-
"value": "A
|
2654
|
+
"value": "A traditional tab implementation. It nests `nano-tab` and `nano-tab-content` sub-components.\n\nTabs can be stacked vertically or horizontally (which presents different styling variations) using the `placement` attribute.\nHorizontal tabs that don't fit will overflow and scroll appropriately.\nTab-content can also be swiped to change tabs."
|
2644
2655
|
},
|
2645
2656
|
"attributes": [
|
2646
2657
|
{
|