@nanoporetech-digital/components 8.0.0-alpha.2 → 8.0.0-alpha.4
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-C3xL9ihU.js → fade-Dt8ydSYD.js} +1 -1
- package/dist/cjs/{fullscreen-pHBD1-3e.js → fullscreen-D_o31hdQ.js} +1 -1
- package/dist/cjs/index-IR1lkhwT.js +6 -6
- package/dist/cjs/{lazyload-D2pj9J7r.js → lazyload-obUQkoFT.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-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +2 -2
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-cta.cjs.entry.js +2 -1
- package/dist/cjs/{nano-data-table-BkyqQiTG.js → nano-data-table-Zj71h_Hm.js} +8 -5
- package/dist/cjs/nano-data-table.cjs.entry.js +1 -1
- package/dist/cjs/nano-datalist_3.cjs.entry.js +8 -8
- package/dist/cjs/nano-file-upload.cjs.entry.js +48 -29
- package/dist/cjs/nano-footer.cjs.entry.js +3 -3
- package/dist/cjs/nano-global-nav.cjs.entry.js +10 -10
- package/dist/cjs/nano-grid_2.cjs.entry.js +3 -3
- package/dist/cjs/nano-icon_3.cjs.entry.js +2 -2
- package/dist/cjs/nano-progress-bar.cjs.entry.js +3 -17
- package/dist/cjs/nano-rating.cjs.entry.js +4 -4
- package/dist/cjs/{nano-resize-observe_2.cjs.entry.js → nano-resize-observe.cjs.entry.js} +1 -19
- package/dist/cjs/nano-slide.cjs.entry.js +1 -1
- package/dist/cjs/{nano-slides-B3-XISfn.js → nano-slides-BcdSNmlz.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-spinner.cjs.entry.js +1 -1
- 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-DHz-mQDL.js → page-dots-CUrSK-1M.js} +1 -1
- package/dist/cjs/{style-BccHkuhC.js → style-Bf3iH5GX.js} +16 -2
- package/dist/cjs/{table.worker-NnDnfSFs.js → table.worker-D7-NI7ZI.js} +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -125
- package/dist/collection/components/breadcrumb/breadcrumb.js +3 -2
- package/dist/collection/components/collapsible-comparison/collapsible-comparison.js +4 -3
- package/dist/collection/components/cta/cta.js +2 -1
- package/dist/collection/components/data-table/table.css +2 -7
- package/dist/collection/components/data-table/table.js +6 -3
- package/dist/collection/components/datalist/datalist.js +6 -6
- package/dist/collection/components/file-upload/file-upload.css +140 -215
- package/dist/collection/components/file-upload/file-upload.js +66 -44
- package/dist/collection/components/footer/footer.css +2 -3
- package/dist/collection/components/footer/footer.js +4 -3
- package/dist/collection/components/global-nav/global-nav.js +12 -11
- package/dist/collection/components/img/img.js +3 -3
- package/dist/collection/components/progress-bar/progress-bar.css +78 -33
- package/dist/collection/components/progress-bar/progress-bar.js +18 -61
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resize-observe/resize-observe.js +1 -1
- 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/spinner/spinner.js +1 -1
- 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 +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/utils/style.js +16 -2
- package/dist/components/cta.js +2 -1
- package/dist/components/datalist.js +6 -6
- package/dist/components/img.js +5 -11
- package/dist/components/nano-breadcrumb.js +4 -3
- package/dist/components/nano-collapsible-comparison.js +4 -3
- package/dist/components/nano-data-table.js +17 -20
- package/dist/components/nano-file-upload.js +58 -33
- package/dist/components/nano-footer.js +5 -4
- package/dist/components/nano-global-nav.js +12 -11
- package/dist/components/nano-hero.js +6 -12
- 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-tab-content.js +2 -2
- package/dist/components/nano-tab.js +2 -2
- package/dist/components/nano-table.js +2 -2
- package/dist/components/progress-bar.js +7 -23
- package/dist/components/resize-observe.js +1 -1
- package/dist/components/select.js +7 -7
- package/dist/components/slides.js +3 -3
- package/dist/components/spinner.js +1 -1
- package/dist/components/sticker.js +2 -2
- package/dist/components/style.js +16 -2
- package/dist/components/tag.js +2 -2
- package/dist/components/tooltip.js +2 -2
- package/dist/esm/{fade-BTgTGh6q.js → fade-DcRXMf28.js} +1 -1
- package/dist/esm/{fullscreen-BTpZyXkc.js → fullscreen-BQyi4GFz.js} +1 -1
- package/dist/esm/index-DXvE-U_j.js +6 -6
- package/dist/esm/{lazyload-BYoZ43fz.js → lazyload-C00srsFN.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nano-avatar_5.entry.js +7 -7
- package/dist/esm/nano-breadcrumb.entry.js +2 -2
- package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-cta.entry.js +2 -1
- package/dist/esm/{nano-data-table-DDBCyBmN.js → nano-data-table-wGnglzmF.js} +8 -5
- package/dist/esm/nano-data-table.entry.js +1 -1
- package/dist/esm/nano-datalist_3.entry.js +8 -8
- package/dist/esm/nano-file-upload.entry.js +48 -29
- package/dist/esm/nano-footer.entry.js +4 -4
- package/dist/esm/nano-global-nav.entry.js +10 -10
- package/dist/esm/nano-grid_2.entry.js +3 -3
- package/dist/esm/nano-icon_3.entry.js +2 -2
- package/dist/esm/nano-progress-bar.entry.js +4 -18
- package/dist/esm/nano-rating.entry.js +4 -4
- package/dist/esm/{nano-resize-observe_2.entry.js → nano-resize-observe.entry.js} +2 -19
- package/dist/esm/nano-slide.entry.js +1 -1
- package/dist/esm/{nano-slides-CvZxKg4X.js → nano-slides-g94uYmWm.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-spinner.entry.js +1 -1
- 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-_tkpExQM.js → page-dots-B947EGDd.js} +1 -1
- package/dist/esm/{style-BrRDhFfF.js → style-xLaX004n.js} +16 -2
- package/dist/esm/{table.worker-webIEBZt.js → table.worker-DQJ9Zgy3.js} +1 -1
- package/dist/nano-components/{fade-BTgTGh6q.js → fade-DcRXMf28.js} +1 -1
- package/dist/nano-components/{fullscreen-BTpZyXkc.js → fullscreen-BQyi4GFz.js} +1 -1
- package/dist/nano-components/{lazyload-BYoZ43fz.js → lazyload-C00srsFN.js} +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
- package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
- package/dist/nano-components/nano-components.css +149 -19
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-cta.entry.js +1 -1
- package/dist/nano-components/{nano-data-table-DDBCyBmN.js → nano-data-table-wGnglzmF.js} +1 -1
- package/dist/nano-components/nano-data-table.entry.js +1 -1
- package/dist/nano-components/nano-datalist_3.entry.js +1 -1
- package/dist/nano-components/nano-file-upload.entry.js +1 -1
- package/dist/nano-components/nano-footer.entry.js +1 -1
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-grid_2.entry.js +1 -1
- package/dist/nano-components/nano-icon_3.entry.js +1 -1
- package/dist/nano-components/nano-progress-bar.entry.js +1 -1
- package/dist/nano-components/nano-rating.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe.entry.js +4 -0
- package/dist/nano-components/nano-slide.entry.js +1 -1
- package/dist/nano-components/{nano-slides-CvZxKg4X.js → nano-slides-g94uYmWm.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-spinner.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-_tkpExQM.js → page-dots-B947EGDd.js} +1 -1
- package/dist/nano-components/style-xLaX004n.js +4 -0
- package/dist/nano-components/{table.worker-webIEBZt.js → table.worker-DQJ9Zgy3.js} +1 -1
- package/dist/style/components.css +1 -1
- package/dist/style/components.css.map +1 -1
- package/dist/style/core.css +1 -1
- package/dist/style/core.css.map +1 -1
- package/dist/style/dark.css +1 -1
- package/dist/style/dark.css.map +1 -1
- package/dist/style/light.css +1 -1
- package/dist/style/light.css.map +1 -1
- package/dist/style/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/dist/types/components/collapsible-comparison/collapsible-comparison.d.ts +1 -1
- package/dist/types/components/file-upload/file-upload.d.ts +14 -9
- package/dist/types/components/progress-bar/progress-bar.d.ts +6 -13
- package/dist/types/components.d.ts +43 -96
- package/docs-json.json +111 -261
- package/docs-vscode.json +16 -22
- package/hydrate/index.js +130 -212
- package/hydrate/index.mjs +130 -212
- package/package.json +3 -3
- package/dist/collection/components/file-upload/file-upload-list.js +0 -3
- package/dist/collection/components/skeleton/skeleton.css +0 -83
- package/dist/collection/components/skeleton/skeleton.js +0 -57
- package/dist/components/nano-skeleton.d.ts +0 -11
- package/dist/components/nano-skeleton.js +0 -9
- package/dist/components/skeleton.js +0 -41
- package/dist/nano-components/nano-resize-observe_2.entry.js +0 -4
- package/dist/nano-components/style-BrRDhFfF.js +0 -4
- package/dist/types/components/file-upload/file-upload-list.d.ts +0 -0
- package/dist/types/components/skeleton/skeleton.d.ts +0 -12
@@ -8,11 +8,14 @@ interface FileValidation {
|
|
8
8
|
location?: string;
|
9
9
|
}
|
10
10
|
/**
|
11
|
-
*
|
11
|
+
* Enables the selection of files for upload.
|
12
12
|
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
13
|
+
* @version 1.0.0
|
14
|
+
* @status stable
|
15
|
+
*
|
16
|
+
* @slot label - A label for the file input. If not provided, the `label` prop will be used.
|
17
|
+
* @slot helper - A helper text to display below the input.
|
18
|
+
* @slot - The default slot can be used to add additional content, such as instructions or a message.
|
16
19
|
*/
|
17
20
|
export declare class FileUpload implements ComponentInterface {
|
18
21
|
private inputEl;
|
@@ -40,10 +43,12 @@ export declare class FileUpload implements ComponentInterface {
|
|
40
43
|
capture?: 'user' | 'environment';
|
41
44
|
/** The maximum file size allowed per file (Megabytes) */
|
42
45
|
maxFileSize: number;
|
43
|
-
/** The maximum
|
46
|
+
/** The maximum number of files that can be selected. Defaults to 1 */
|
44
47
|
maxFiles: number;
|
48
|
+
private _label;
|
45
49
|
/** String to place within a label element. */
|
46
|
-
label: string;
|
50
|
+
get label(): string;
|
51
|
+
set label(value: string);
|
47
52
|
/** Placeholder only used within single file uploads. */
|
48
53
|
placeholder: string;
|
49
54
|
/** Visually hide the label - but make it accessible. */
|
@@ -54,7 +59,7 @@ export declare class FileUpload implements ComponentInterface {
|
|
54
59
|
disabled: boolean;
|
55
60
|
/** If `true`, a clear icon will appear in the input when there is a value.
|
56
61
|
* Clicking it clears the input. Only used within single file uploads. */
|
57
|
-
|
62
|
+
clearable: boolean;
|
58
63
|
/** Whether to show validation errors underneath input */
|
59
64
|
showInlineError: boolean;
|
60
65
|
/** When should the field perform validation */
|
@@ -62,10 +67,10 @@ export declare class FileUpload implements ComponentInterface {
|
|
62
67
|
/** The form element to associate with this input (its form owner). Must be the id of a form. */
|
63
68
|
form?: string | null;
|
64
69
|
protected shouldValidate(): void;
|
65
|
-
_invalid:
|
70
|
+
_invalid: any;
|
66
71
|
/** This will be true when the control is in an invalid state.
|
67
72
|
* Validity is determined by the `required` prop. Or if custom validity message is set. @readonly */
|
68
|
-
get invalid():
|
73
|
+
get invalid(): any;
|
69
74
|
/**
|
70
75
|
* Current validation message - if any. @readonly
|
71
76
|
*/
|
@@ -1,22 +1,15 @@
|
|
1
1
|
/**
|
2
2
|
* Shows the status of an ongoing operation.
|
3
3
|
*
|
4
|
-
* @version
|
5
|
-
* @status
|
4
|
+
* @version 8.0.0
|
5
|
+
* @status new
|
6
|
+
* @type CSS Only
|
6
7
|
*
|
7
|
-
* @slot -
|
8
|
-
*
|
9
|
-
* @part base - The component's base wrapper.
|
10
|
-
* @part indicator - The progress bar indicator.
|
11
|
-
* @part label - The progress bar label.
|
8
|
+
* @slot - Used for mandatory `<progress>` element and optional `<label>`
|
12
9
|
*/
|
13
10
|
export declare class ProgressBar {
|
14
|
-
host: HTMLNanoProgressBarElement;
|
15
|
-
/** The progress bar's percentage, 0 to 100. */
|
16
|
-
value: number;
|
17
|
-
/** When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state. */
|
18
|
-
indeterminate: boolean;
|
19
11
|
/** Whether to show the progress bar's current percent as text. Will be overwritten if you use the default slot. */
|
20
12
|
showPercent: boolean;
|
21
|
-
|
13
|
+
/** The height of the progress-bar */
|
14
|
+
size: 'small' | 'medium' | 'large';
|
22
15
|
}
|
@@ -1394,10 +1394,9 @@ export namespace Components {
|
|
1394
1394
|
"validationState": ValidationState[];
|
1395
1395
|
}
|
1396
1396
|
/**
|
1397
|
-
*
|
1398
|
-
*
|
1399
|
-
*
|
1400
|
-
* - Preview and manage multiple files
|
1397
|
+
* Enables the selection of files for upload.
|
1398
|
+
* @version 1.0.0
|
1399
|
+
* @status stable
|
1401
1400
|
*/
|
1402
1401
|
interface NanoFileUpload {
|
1403
1402
|
/**
|
@@ -1412,7 +1411,7 @@ export namespace Components {
|
|
1412
1411
|
* If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input. Only used within single file uploads.
|
1413
1412
|
* @default false
|
1414
1413
|
*/
|
1415
|
-
"
|
1414
|
+
"clearable": boolean;
|
1416
1415
|
/**
|
1417
1416
|
* If `true`, the user cannot interact with the select.
|
1418
1417
|
* @default false
|
@@ -1438,9 +1437,9 @@ export namespace Components {
|
|
1438
1437
|
/**
|
1439
1438
|
* This will be true when the control is in an invalid state. Validity is determined by the `required` prop. Or if custom validity message is set.
|
1440
1439
|
* @readonly
|
1441
|
-
* @default
|
1440
|
+
* @default null
|
1442
1441
|
*/
|
1443
|
-
"invalid":
|
1442
|
+
"invalid": any;
|
1444
1443
|
/**
|
1445
1444
|
* String to place within a label element.
|
1446
1445
|
*/
|
@@ -1451,7 +1450,7 @@ export namespace Components {
|
|
1451
1450
|
*/
|
1452
1451
|
"maxFileSize": number;
|
1453
1452
|
/**
|
1454
|
-
* The maximum
|
1453
|
+
* The maximum number of files that can be selected. Defaults to 1
|
1455
1454
|
* @default 1
|
1456
1455
|
*/
|
1457
1456
|
"maxFiles": number;
|
@@ -1461,7 +1460,7 @@ export namespace Components {
|
|
1461
1460
|
"name": string;
|
1462
1461
|
/**
|
1463
1462
|
* Placeholder only used within single file uploads.
|
1464
|
-
* @default 'Choose a file
|
1463
|
+
* @default 'Choose a file'
|
1465
1464
|
*/
|
1466
1465
|
"placeholder": string;
|
1467
1466
|
/**
|
@@ -1491,7 +1490,7 @@ export namespace Components {
|
|
1491
1490
|
"showInlineError": boolean;
|
1492
1491
|
/**
|
1493
1492
|
* When should the field perform validation
|
1494
|
-
* @default '
|
1493
|
+
* @default 'submitThenDirty'
|
1495
1494
|
*/
|
1496
1495
|
"validateOn"?: 'dirty' | 'submit' | 'submitThenDirty';
|
1497
1496
|
/**
|
@@ -2396,25 +2395,21 @@ export namespace Components {
|
|
2396
2395
|
}
|
2397
2396
|
/**
|
2398
2397
|
* Shows the status of an ongoing operation.
|
2399
|
-
* @version
|
2400
|
-
* @status
|
2398
|
+
* @version 8.0.0
|
2399
|
+
* @status new
|
2400
|
+
* @type CSS Only
|
2401
2401
|
*/
|
2402
2402
|
interface NanoProgressBar {
|
2403
|
-
/**
|
2404
|
-
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
2405
|
-
* @default false
|
2406
|
-
*/
|
2407
|
-
"indeterminate": boolean;
|
2408
2403
|
/**
|
2409
2404
|
* Whether to show the progress bar's current percent as text. Will be overwritten if you use the default slot.
|
2410
2405
|
* @default false
|
2411
2406
|
*/
|
2412
2407
|
"showPercent": boolean;
|
2413
2408
|
/**
|
2414
|
-
* The
|
2415
|
-
* @default
|
2409
|
+
* The height of the progress-bar
|
2410
|
+
* @default 'medium'
|
2416
2411
|
*/
|
2417
|
-
"
|
2412
|
+
"size": 'small' | 'medium' | 'large';
|
2418
2413
|
}
|
2419
2414
|
/**
|
2420
2415
|
* Ranges allow the user to select a value within a given range using a slider.
|
@@ -2705,18 +2700,6 @@ export namespace Components {
|
|
2705
2700
|
*/
|
2706
2701
|
"valueTagTemplate": (option: OptionInterface, index: number) => string;
|
2707
2702
|
}
|
2708
|
-
/**
|
2709
|
-
* Skeletons are used to show where content will eventually be drawn.
|
2710
|
-
* @version 1.0.0
|
2711
|
-
* @status stable
|
2712
|
-
*/
|
2713
|
-
interface NanoSkeleton {
|
2714
|
-
/**
|
2715
|
-
* When `true`, the skeleton will animate.
|
2716
|
-
* @default true
|
2717
|
-
*/
|
2718
|
-
"animated": boolean;
|
2719
|
-
}
|
2720
2703
|
interface NanoSlide {
|
2721
2704
|
/**
|
2722
2705
|
* Used to to inform the parent slides components of readiness. This will automatically be set to true when the slide has loaded but can be set and updated manually.
|
@@ -4037,10 +4020,9 @@ declare global {
|
|
4037
4020
|
"nanoValidate": ControlValidityEventDetail;
|
4038
4021
|
}
|
4039
4022
|
/**
|
4040
|
-
*
|
4041
|
-
*
|
4042
|
-
*
|
4043
|
-
* - Preview and manage multiple files
|
4023
|
+
* Enables the selection of files for upload.
|
4024
|
+
* @version 1.0.0
|
4025
|
+
* @status stable
|
4044
4026
|
*/
|
4045
4027
|
interface HTMLNanoFileUploadElement extends Components.NanoFileUpload, HTMLStencilElement {
|
4046
4028
|
addEventListener<K extends keyof HTMLNanoFileUploadElementEventMap>(type: K, listener: (this: HTMLNanoFileUploadElement, ev: NanoFileUploadCustomEvent<HTMLNanoFileUploadElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -4385,8 +4367,9 @@ declare global {
|
|
4385
4367
|
};
|
4386
4368
|
/**
|
4387
4369
|
* Shows the status of an ongoing operation.
|
4388
|
-
* @version
|
4389
|
-
* @status
|
4370
|
+
* @version 8.0.0
|
4371
|
+
* @status new
|
4372
|
+
* @type CSS Only
|
4390
4373
|
*/
|
4391
4374
|
interface HTMLNanoProgressBarElement extends Components.NanoProgressBar, HTMLStencilElement {
|
4392
4375
|
}
|
@@ -4495,17 +4478,6 @@ declare global {
|
|
4495
4478
|
prototype: HTMLNanoSelectElement;
|
4496
4479
|
new (): HTMLNanoSelectElement;
|
4497
4480
|
};
|
4498
|
-
/**
|
4499
|
-
* Skeletons are used to show where content will eventually be drawn.
|
4500
|
-
* @version 1.0.0
|
4501
|
-
* @status stable
|
4502
|
-
*/
|
4503
|
-
interface HTMLNanoSkeletonElement extends Components.NanoSkeleton, HTMLStencilElement {
|
4504
|
-
}
|
4505
|
-
var HTMLNanoSkeletonElement: {
|
4506
|
-
prototype: HTMLNanoSkeletonElement;
|
4507
|
-
new (): HTMLNanoSkeletonElement;
|
4508
|
-
};
|
4509
4481
|
interface HTMLNanoSlideElementEventMap {
|
4510
4482
|
"nanoSlideReady": void;
|
4511
4483
|
}
|
@@ -4811,7 +4783,6 @@ declare global {
|
|
4811
4783
|
"nano-rating": HTMLNanoRatingElement;
|
4812
4784
|
"nano-resize-observe": HTMLNanoResizeObserveElement;
|
4813
4785
|
"nano-select": HTMLNanoSelectElement;
|
4814
|
-
"nano-skeleton": HTMLNanoSkeletonElement;
|
4815
4786
|
"nano-slide": HTMLNanoSlideElement;
|
4816
4787
|
"nano-slides": HTMLNanoSlidesElement;
|
4817
4788
|
"nano-sortable": HTMLNanoSortableElement;
|
@@ -6233,10 +6204,9 @@ declare namespace LocalJSX {
|
|
6233
6204
|
"validationState"?: ValidationState[];
|
6234
6205
|
}
|
6235
6206
|
/**
|
6236
|
-
*
|
6237
|
-
*
|
6238
|
-
*
|
6239
|
-
* - Preview and manage multiple files
|
6207
|
+
* Enables the selection of files for upload.
|
6208
|
+
* @version 1.0.0
|
6209
|
+
* @status stable
|
6240
6210
|
*/
|
6241
6211
|
interface NanoFileUpload {
|
6242
6212
|
/**
|
@@ -6251,7 +6221,7 @@ declare namespace LocalJSX {
|
|
6251
6221
|
* If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input. Only used within single file uploads.
|
6252
6222
|
* @default false
|
6253
6223
|
*/
|
6254
|
-
"
|
6224
|
+
"clearable"?: boolean;
|
6255
6225
|
/**
|
6256
6226
|
* If `true`, the user cannot interact with the select.
|
6257
6227
|
* @default false
|
@@ -6273,20 +6243,20 @@ declare namespace LocalJSX {
|
|
6273
6243
|
/**
|
6274
6244
|
* This will be true when the control is in an invalid state. Validity is determined by the `required` prop. Or if custom validity message is set.
|
6275
6245
|
* @readonly
|
6276
|
-
* @default
|
6246
|
+
* @default null
|
6277
6247
|
*/
|
6278
|
-
"invalid"?:
|
6248
|
+
"invalid"?: any;
|
6279
6249
|
/**
|
6280
6250
|
* String to place within a label element.
|
6281
6251
|
*/
|
6282
|
-
"label"
|
6252
|
+
"label"?: string;
|
6283
6253
|
/**
|
6284
6254
|
* The maximum file size allowed per file (Megabytes)
|
6285
6255
|
* @default 1
|
6286
6256
|
*/
|
6287
6257
|
"maxFileSize"?: number;
|
6288
6258
|
/**
|
6289
|
-
* The maximum
|
6259
|
+
* The maximum number of files that can be selected. Defaults to 1
|
6290
6260
|
* @default 1
|
6291
6261
|
*/
|
6292
6262
|
"maxFiles"?: number;
|
@@ -6313,7 +6283,7 @@ declare namespace LocalJSX {
|
|
6313
6283
|
"onNanoValidate"?: (event: NanoFileUploadCustomEvent<ControlValidityEventDetail>) => void;
|
6314
6284
|
/**
|
6315
6285
|
* Placeholder only used within single file uploads.
|
6316
|
-
* @default 'Choose a file
|
6286
|
+
* @default 'Choose a file'
|
6317
6287
|
*/
|
6318
6288
|
"placeholder"?: string;
|
6319
6289
|
/**
|
@@ -6328,7 +6298,7 @@ declare namespace LocalJSX {
|
|
6328
6298
|
"showInlineError"?: boolean;
|
6329
6299
|
/**
|
6330
6300
|
* When should the field perform validation
|
6331
|
-
* @default '
|
6301
|
+
* @default 'submitThenDirty'
|
6332
6302
|
*/
|
6333
6303
|
"validateOn"?: 'dirty' | 'submit' | 'submitThenDirty';
|
6334
6304
|
/**
|
@@ -7272,25 +7242,21 @@ declare namespace LocalJSX {
|
|
7272
7242
|
}
|
7273
7243
|
/**
|
7274
7244
|
* Shows the status of an ongoing operation.
|
7275
|
-
* @version
|
7276
|
-
* @status
|
7245
|
+
* @version 8.0.0
|
7246
|
+
* @status new
|
7247
|
+
* @type CSS Only
|
7277
7248
|
*/
|
7278
7249
|
interface NanoProgressBar {
|
7279
|
-
/**
|
7280
|
-
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
7281
|
-
* @default false
|
7282
|
-
*/
|
7283
|
-
"indeterminate"?: boolean;
|
7284
7250
|
/**
|
7285
7251
|
* Whether to show the progress bar's current percent as text. Will be overwritten if you use the default slot.
|
7286
7252
|
* @default false
|
7287
7253
|
*/
|
7288
7254
|
"showPercent"?: boolean;
|
7289
7255
|
/**
|
7290
|
-
* The
|
7291
|
-
* @default
|
7256
|
+
* The height of the progress-bar
|
7257
|
+
* @default 'medium'
|
7292
7258
|
*/
|
7293
|
-
"
|
7259
|
+
"size"?: 'small' | 'medium' | 'large';
|
7294
7260
|
}
|
7295
7261
|
/**
|
7296
7262
|
* Ranges allow the user to select a value within a given range using a slider.
|
@@ -7619,18 +7585,6 @@ declare namespace LocalJSX {
|
|
7619
7585
|
*/
|
7620
7586
|
"valueTagTemplate"?: (option: OptionInterface, index: number) => string;
|
7621
7587
|
}
|
7622
|
-
/**
|
7623
|
-
* Skeletons are used to show where content will eventually be drawn.
|
7624
|
-
* @version 1.0.0
|
7625
|
-
* @status stable
|
7626
|
-
*/
|
7627
|
-
interface NanoSkeleton {
|
7628
|
-
/**
|
7629
|
-
* When `true`, the skeleton will animate.
|
7630
|
-
* @default true
|
7631
|
-
*/
|
7632
|
-
"animated"?: boolean;
|
7633
|
-
}
|
7634
7588
|
interface NanoSlide {
|
7635
7589
|
/**
|
7636
7590
|
* Fired when the slide has loaded.
|
@@ -8267,7 +8221,6 @@ declare namespace LocalJSX {
|
|
8267
8221
|
"nano-rating": NanoRating;
|
8268
8222
|
"nano-resize-observe": NanoResizeObserve;
|
8269
8223
|
"nano-select": NanoSelect;
|
8270
|
-
"nano-skeleton": NanoSkeleton;
|
8271
8224
|
"nano-slide": NanoSlide;
|
8272
8225
|
"nano-slides": NanoSlides;
|
8273
8226
|
"nano-sortable": NanoSortable;
|
@@ -8450,10 +8403,9 @@ declare module "@stencil/core" {
|
|
8450
8403
|
*/
|
8451
8404
|
"nano-field-validator": LocalJSX.NanoFieldValidator & JSXBase.HTMLAttributes<HTMLNanoFieldValidatorElement>;
|
8452
8405
|
/**
|
8453
|
-
*
|
8454
|
-
*
|
8455
|
-
*
|
8456
|
-
* - Preview and manage multiple files
|
8406
|
+
* Enables the selection of files for upload.
|
8407
|
+
* @version 1.0.0
|
8408
|
+
* @status stable
|
8457
8409
|
*/
|
8458
8410
|
"nano-file-upload": LocalJSX.NanoFileUpload & JSXBase.HTMLAttributes<HTMLNanoFileUploadElement>;
|
8459
8411
|
/**
|
@@ -8572,8 +8524,9 @@ declare module "@stencil/core" {
|
|
8572
8524
|
"nano-option": LocalJSX.NanoOption & JSXBase.HTMLAttributes<HTMLNanoOptionElement>;
|
8573
8525
|
/**
|
8574
8526
|
* Shows the status of an ongoing operation.
|
8575
|
-
* @version
|
8576
|
-
* @status
|
8527
|
+
* @version 8.0.0
|
8528
|
+
* @status new
|
8529
|
+
* @type CSS Only
|
8577
8530
|
*/
|
8578
8531
|
"nano-progress-bar": LocalJSX.NanoProgressBar & JSXBase.HTMLAttributes<HTMLNanoProgressBarElement>;
|
8579
8532
|
/**
|
@@ -8596,12 +8549,6 @@ declare module "@stencil/core" {
|
|
8596
8549
|
* @version 1.0.0
|
8597
8550
|
*/
|
8598
8551
|
"nano-select": LocalJSX.NanoSelect & JSXBase.HTMLAttributes<HTMLNanoSelectElement>;
|
8599
|
-
/**
|
8600
|
-
* Skeletons are used to show where content will eventually be drawn.
|
8601
|
-
* @version 1.0.0
|
8602
|
-
* @status stable
|
8603
|
-
*/
|
8604
|
-
"nano-skeleton": LocalJSX.NanoSkeleton & JSXBase.HTMLAttributes<HTMLNanoSkeletonElement>;
|
8605
8552
|
"nano-slide": LocalJSX.NanoSlide & JSXBase.HTMLAttributes<HTMLNanoSlideElement>;
|
8606
8553
|
/**
|
8607
8554
|
* A toolbox for creating carousel or slide-show widgets, allowing users to navigate through a collection of items one at a time.
|