@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.
Files changed (182) hide show
  1. package/dist/cjs/{fade-C3xL9ihU.js → fade-Dt8ydSYD.js} +1 -1
  2. package/dist/cjs/{fullscreen-pHBD1-3e.js → fullscreen-D_o31hdQ.js} +1 -1
  3. package/dist/cjs/index-IR1lkhwT.js +6 -6
  4. package/dist/cjs/{lazyload-D2pj9J7r.js → lazyload-obUQkoFT.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/nano-avatar_5.cjs.entry.js +7 -7
  7. package/dist/cjs/nano-breadcrumb.cjs.entry.js +2 -2
  8. package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +2 -2
  9. package/dist/cjs/nano-components.cjs.js +1 -1
  10. package/dist/cjs/nano-cta.cjs.entry.js +2 -1
  11. package/dist/cjs/{nano-data-table-BkyqQiTG.js → nano-data-table-Zj71h_Hm.js} +8 -5
  12. package/dist/cjs/nano-data-table.cjs.entry.js +1 -1
  13. package/dist/cjs/nano-datalist_3.cjs.entry.js +8 -8
  14. package/dist/cjs/nano-file-upload.cjs.entry.js +48 -29
  15. package/dist/cjs/nano-footer.cjs.entry.js +3 -3
  16. package/dist/cjs/nano-global-nav.cjs.entry.js +10 -10
  17. package/dist/cjs/nano-grid_2.cjs.entry.js +3 -3
  18. package/dist/cjs/nano-icon_3.cjs.entry.js +2 -2
  19. package/dist/cjs/nano-progress-bar.cjs.entry.js +3 -17
  20. package/dist/cjs/nano-rating.cjs.entry.js +4 -4
  21. package/dist/cjs/{nano-resize-observe_2.cjs.entry.js → nano-resize-observe.cjs.entry.js} +1 -19
  22. package/dist/cjs/nano-slide.cjs.entry.js +1 -1
  23. package/dist/cjs/{nano-slides-B3-XISfn.js → nano-slides-BcdSNmlz.js} +7 -7
  24. package/dist/cjs/nano-slides.cjs.entry.js +1 -1
  25. package/dist/cjs/nano-sortable.cjs.entry.js +1 -1
  26. package/dist/cjs/nano-spinner.cjs.entry.js +1 -1
  27. package/dist/cjs/nano-sticker.cjs.entry.js +2 -2
  28. package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
  29. package/dist/cjs/nano-tab.cjs.entry.js +2 -2
  30. package/dist/cjs/nano-table.cjs.entry.js +2 -2
  31. package/dist/cjs/{page-dots-DHz-mQDL.js → page-dots-CUrSK-1M.js} +1 -1
  32. package/dist/cjs/{style-BccHkuhC.js → style-Bf3iH5GX.js} +16 -2
  33. package/dist/cjs/{table.worker-NnDnfSFs.js → table.worker-D7-NI7ZI.js} +1 -1
  34. package/dist/collection/collection-manifest.json +0 -1
  35. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -125
  36. package/dist/collection/components/breadcrumb/breadcrumb.js +3 -2
  37. package/dist/collection/components/collapsible-comparison/collapsible-comparison.js +4 -3
  38. package/dist/collection/components/cta/cta.js +2 -1
  39. package/dist/collection/components/data-table/table.css +2 -7
  40. package/dist/collection/components/data-table/table.js +6 -3
  41. package/dist/collection/components/datalist/datalist.js +6 -6
  42. package/dist/collection/components/file-upload/file-upload.css +140 -215
  43. package/dist/collection/components/file-upload/file-upload.js +66 -44
  44. package/dist/collection/components/footer/footer.css +2 -3
  45. package/dist/collection/components/footer/footer.js +4 -3
  46. package/dist/collection/components/global-nav/global-nav.js +12 -11
  47. package/dist/collection/components/img/img.js +3 -3
  48. package/dist/collection/components/progress-bar/progress-bar.css +78 -33
  49. package/dist/collection/components/progress-bar/progress-bar.js +18 -61
  50. package/dist/collection/components/rating/rating.js +4 -4
  51. package/dist/collection/components/resize-observe/resize-observe.js +1 -1
  52. package/dist/collection/components/select/select.js +7 -7
  53. package/dist/collection/components/slides/slide.js +1 -1
  54. package/dist/collection/components/slides/slides.js +3 -3
  55. package/dist/collection/components/sortable/sortable.js +1 -1
  56. package/dist/collection/components/spinner/spinner.js +1 -1
  57. package/dist/collection/components/sticker/sticker.js +2 -2
  58. package/dist/collection/components/table/table.js +2 -2
  59. package/dist/collection/components/tabs/tab-content.js +2 -2
  60. package/dist/collection/components/tabs/tab.js +2 -2
  61. package/dist/collection/components/tag/tag.js +2 -2
  62. package/dist/collection/components/tooltip/tooltip.js +2 -2
  63. package/dist/collection/utils/style.js +16 -2
  64. package/dist/components/cta.js +2 -1
  65. package/dist/components/datalist.js +6 -6
  66. package/dist/components/img.js +5 -11
  67. package/dist/components/nano-breadcrumb.js +4 -3
  68. package/dist/components/nano-collapsible-comparison.js +4 -3
  69. package/dist/components/nano-data-table.js +17 -20
  70. package/dist/components/nano-file-upload.js +58 -33
  71. package/dist/components/nano-footer.js +5 -4
  72. package/dist/components/nano-global-nav.js +12 -11
  73. package/dist/components/nano-hero.js +6 -12
  74. package/dist/components/nano-rating.js +4 -4
  75. package/dist/components/nano-slide.js +1 -1
  76. package/dist/components/nano-sortable.js +1 -1
  77. package/dist/components/nano-tab-content.js +2 -2
  78. package/dist/components/nano-tab.js +2 -2
  79. package/dist/components/nano-table.js +2 -2
  80. package/dist/components/progress-bar.js +7 -23
  81. package/dist/components/resize-observe.js +1 -1
  82. package/dist/components/select.js +7 -7
  83. package/dist/components/slides.js +3 -3
  84. package/dist/components/spinner.js +1 -1
  85. package/dist/components/sticker.js +2 -2
  86. package/dist/components/style.js +16 -2
  87. package/dist/components/tag.js +2 -2
  88. package/dist/components/tooltip.js +2 -2
  89. package/dist/esm/{fade-BTgTGh6q.js → fade-DcRXMf28.js} +1 -1
  90. package/dist/esm/{fullscreen-BTpZyXkc.js → fullscreen-BQyi4GFz.js} +1 -1
  91. package/dist/esm/index-DXvE-U_j.js +6 -6
  92. package/dist/esm/{lazyload-BYoZ43fz.js → lazyload-C00srsFN.js} +1 -1
  93. package/dist/esm/loader.js +1 -1
  94. package/dist/esm/nano-avatar_5.entry.js +7 -7
  95. package/dist/esm/nano-breadcrumb.entry.js +2 -2
  96. package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
  97. package/dist/esm/nano-components.js +1 -1
  98. package/dist/esm/nano-cta.entry.js +2 -1
  99. package/dist/esm/{nano-data-table-DDBCyBmN.js → nano-data-table-wGnglzmF.js} +8 -5
  100. package/dist/esm/nano-data-table.entry.js +1 -1
  101. package/dist/esm/nano-datalist_3.entry.js +8 -8
  102. package/dist/esm/nano-file-upload.entry.js +48 -29
  103. package/dist/esm/nano-footer.entry.js +4 -4
  104. package/dist/esm/nano-global-nav.entry.js +10 -10
  105. package/dist/esm/nano-grid_2.entry.js +3 -3
  106. package/dist/esm/nano-icon_3.entry.js +2 -2
  107. package/dist/esm/nano-progress-bar.entry.js +4 -18
  108. package/dist/esm/nano-rating.entry.js +4 -4
  109. package/dist/esm/{nano-resize-observe_2.entry.js → nano-resize-observe.entry.js} +2 -19
  110. package/dist/esm/nano-slide.entry.js +1 -1
  111. package/dist/esm/{nano-slides-CvZxKg4X.js → nano-slides-g94uYmWm.js} +7 -7
  112. package/dist/esm/nano-slides.entry.js +1 -1
  113. package/dist/esm/nano-sortable.entry.js +1 -1
  114. package/dist/esm/nano-spinner.entry.js +1 -1
  115. package/dist/esm/nano-sticker.entry.js +2 -2
  116. package/dist/esm/nano-tab-content.entry.js +2 -2
  117. package/dist/esm/nano-tab.entry.js +2 -2
  118. package/dist/esm/nano-table.entry.js +2 -2
  119. package/dist/esm/{page-dots-_tkpExQM.js → page-dots-B947EGDd.js} +1 -1
  120. package/dist/esm/{style-BrRDhFfF.js → style-xLaX004n.js} +16 -2
  121. package/dist/esm/{table.worker-webIEBZt.js → table.worker-DQJ9Zgy3.js} +1 -1
  122. package/dist/nano-components/{fade-BTgTGh6q.js → fade-DcRXMf28.js} +1 -1
  123. package/dist/nano-components/{fullscreen-BTpZyXkc.js → fullscreen-BQyi4GFz.js} +1 -1
  124. package/dist/nano-components/{lazyload-BYoZ43fz.js → lazyload-C00srsFN.js} +1 -1
  125. package/dist/nano-components/nano-avatar_5.entry.js +1 -1
  126. package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
  127. package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
  128. package/dist/nano-components/nano-components.css +149 -19
  129. package/dist/nano-components/nano-components.esm.js +1 -1
  130. package/dist/nano-components/nano-cta.entry.js +1 -1
  131. package/dist/nano-components/{nano-data-table-DDBCyBmN.js → nano-data-table-wGnglzmF.js} +1 -1
  132. package/dist/nano-components/nano-data-table.entry.js +1 -1
  133. package/dist/nano-components/nano-datalist_3.entry.js +1 -1
  134. package/dist/nano-components/nano-file-upload.entry.js +1 -1
  135. package/dist/nano-components/nano-footer.entry.js +1 -1
  136. package/dist/nano-components/nano-global-nav.entry.js +1 -1
  137. package/dist/nano-components/nano-grid_2.entry.js +1 -1
  138. package/dist/nano-components/nano-icon_3.entry.js +1 -1
  139. package/dist/nano-components/nano-progress-bar.entry.js +1 -1
  140. package/dist/nano-components/nano-rating.entry.js +1 -1
  141. package/dist/nano-components/nano-resize-observe.entry.js +4 -0
  142. package/dist/nano-components/nano-slide.entry.js +1 -1
  143. package/dist/nano-components/{nano-slides-CvZxKg4X.js → nano-slides-g94uYmWm.js} +3 -3
  144. package/dist/nano-components/nano-slides.entry.js +1 -1
  145. package/dist/nano-components/nano-sortable.entry.js +1 -1
  146. package/dist/nano-components/nano-spinner.entry.js +1 -1
  147. package/dist/nano-components/nano-sticker.entry.js +1 -1
  148. package/dist/nano-components/nano-tab-content.entry.js +1 -1
  149. package/dist/nano-components/nano-tab.entry.js +1 -1
  150. package/dist/nano-components/nano-table.entry.js +1 -1
  151. package/dist/nano-components/{page-dots-_tkpExQM.js → page-dots-B947EGDd.js} +1 -1
  152. package/dist/nano-components/style-xLaX004n.js +4 -0
  153. package/dist/nano-components/{table.worker-webIEBZt.js → table.worker-DQJ9Zgy3.js} +1 -1
  154. package/dist/style/components.css +1 -1
  155. package/dist/style/components.css.map +1 -1
  156. package/dist/style/core.css +1 -1
  157. package/dist/style/core.css.map +1 -1
  158. package/dist/style/dark.css +1 -1
  159. package/dist/style/dark.css.map +1 -1
  160. package/dist/style/light.css +1 -1
  161. package/dist/style/light.css.map +1 -1
  162. package/dist/style/nano.css +1 -1
  163. package/dist/style/nano.css.map +1 -1
  164. package/dist/types/components/collapsible-comparison/collapsible-comparison.d.ts +1 -1
  165. package/dist/types/components/file-upload/file-upload.d.ts +14 -9
  166. package/dist/types/components/progress-bar/progress-bar.d.ts +6 -13
  167. package/dist/types/components.d.ts +43 -96
  168. package/docs-json.json +111 -261
  169. package/docs-vscode.json +16 -22
  170. package/hydrate/index.js +130 -212
  171. package/hydrate/index.mjs +130 -212
  172. package/package.json +3 -3
  173. package/dist/collection/components/file-upload/file-upload-list.js +0 -3
  174. package/dist/collection/components/skeleton/skeleton.css +0 -83
  175. package/dist/collection/components/skeleton/skeleton.js +0 -57
  176. package/dist/components/nano-skeleton.d.ts +0 -11
  177. package/dist/components/nano-skeleton.js +0 -9
  178. package/dist/components/skeleton.js +0 -41
  179. package/dist/nano-components/nano-resize-observe_2.entry.js +0 -4
  180. package/dist/nano-components/style-BrRDhFfF.js +0 -4
  181. package/dist/types/components/file-upload/file-upload-list.d.ts +0 -0
  182. package/dist/types/components/skeleton/skeleton.d.ts +0 -12
package/docs-json.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-06-23T20:53:39",
2
+ "timestamp": "2025-06-26T15:02:37",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.35.1-dev.1750682262.1ce9541",
@@ -5357,6 +5357,7 @@
5357
5357
  "parts": [],
5358
5358
  "dependents": [
5359
5359
  "nano-collapsible-comparison",
5360
+ "nano-file-upload",
5360
5361
  "nano-global-nav"
5361
5362
  ],
5362
5363
  "dependencies": [],
@@ -5364,6 +5365,9 @@
5364
5365
  "nano-collapsible-comparison": [
5365
5366
  "nano-cta"
5366
5367
  ],
5368
+ "nano-file-upload": [
5369
+ "nano-cta"
5370
+ ],
5367
5371
  "nano-global-nav": [
5368
5372
  "nano-cta"
5369
5373
  ]
@@ -6547,7 +6551,6 @@
6547
6551
  "nano-masked-overflow",
6548
6552
  "nano-resize-observe",
6549
6553
  "nano-progress-bar",
6550
- "nano-skeleton",
6551
6554
  "nano-spinner",
6552
6555
  "nano-icon",
6553
6556
  "nano-tooltip"
@@ -6557,7 +6560,6 @@
6557
6560
  "nano-masked-overflow",
6558
6561
  "nano-resize-observe",
6559
6562
  "nano-progress-bar",
6560
- "nano-skeleton",
6561
6563
  "nano-spinner",
6562
6564
  "nano-icon",
6563
6565
  "nano-tooltip"
@@ -11600,8 +11602,29 @@
11600
11602
  "encapsulation": "scoped",
11601
11603
  "tag": "nano-file-upload",
11602
11604
  "readme": "# nano-file-upload\n\n\n",
11603
- "docs": "A better UI experience for `input type=\"file\"` form controls.\n\n - Drag and Drop\n - Validation options\n - Preview and manage multiple files",
11604
- "docsTags": [],
11605
+ "docs": "Enables the selection of files for upload.",
11606
+ "docsTags": [
11607
+ {
11608
+ "name": "version",
11609
+ "text": "1.0.0"
11610
+ },
11611
+ {
11612
+ "name": "status",
11613
+ "text": "stable"
11614
+ },
11615
+ {
11616
+ "name": "slot",
11617
+ "text": "label - A label for the file input. If not provided, the `label` prop will be used."
11618
+ },
11619
+ {
11620
+ "name": "slot",
11621
+ "text": "helper - A helper text to display below the input."
11622
+ },
11623
+ {
11624
+ "name": "slot",
11625
+ "text": "- The default slot can be used to add additional content, such as instructions or a message."
11626
+ }
11627
+ ],
11605
11628
  "usage": {},
11606
11629
  "props": [
11607
11630
  {
@@ -11656,7 +11679,7 @@
11656
11679
  "setter": false
11657
11680
  },
11658
11681
  {
11659
- "name": "clearInput",
11682
+ "name": "clearable",
11660
11683
  "type": "boolean",
11661
11684
  "complexType": {
11662
11685
  "original": "boolean",
@@ -11664,7 +11687,7 @@
11664
11687
  "references": {}
11665
11688
  },
11666
11689
  "mutable": false,
11667
- "attr": "clear-input",
11690
+ "attr": "clearable",
11668
11691
  "reflectToAttr": false,
11669
11692
  "docs": "If `true`, a clear icon will appear in the input when there is a value.\nClicking it clears the input. Only used within single file uploads.",
11670
11693
  "docsTags": [
@@ -11796,10 +11819,10 @@
11796
11819
  },
11797
11820
  {
11798
11821
  "name": "invalid",
11799
- "type": "boolean",
11822
+ "type": "any",
11800
11823
  "complexType": {
11801
- "original": "boolean",
11802
- "resolved": "boolean",
11824
+ "original": "any",
11825
+ "resolved": "any",
11803
11826
  "references": {}
11804
11827
  },
11805
11828
  "mutable": false,
@@ -11812,13 +11835,13 @@
11812
11835
  },
11813
11836
  {
11814
11837
  "name": "default",
11815
- "text": "false"
11838
+ "text": "null"
11816
11839
  }
11817
11840
  ],
11818
- "default": "false",
11841
+ "default": "null",
11819
11842
  "values": [
11820
11843
  {
11821
- "type": "boolean"
11844
+ "type": "any"
11822
11845
  }
11823
11846
  ],
11824
11847
  "optional": false,
@@ -11845,9 +11868,9 @@
11845
11868
  }
11846
11869
  ],
11847
11870
  "optional": false,
11848
- "required": true,
11849
- "getter": false,
11850
- "setter": false
11871
+ "required": false,
11872
+ "getter": true,
11873
+ "setter": true
11851
11874
  },
11852
11875
  {
11853
11876
  "name": "maxFileSize",
@@ -11889,7 +11912,7 @@
11889
11912
  "mutable": false,
11890
11913
  "attr": "max-files",
11891
11914
  "reflectToAttr": false,
11892
- "docs": "The maximum file size allowed per file (bytes).",
11915
+ "docs": "The maximum number of files that can be selected. Defaults to 1",
11893
11916
  "docsTags": [
11894
11917
  {
11895
11918
  "name": "default",
@@ -11945,10 +11968,10 @@
11945
11968
  "docsTags": [
11946
11969
  {
11947
11970
  "name": "default",
11948
- "text": "'Choose a file...'"
11971
+ "text": "'Choose a file'"
11949
11972
  }
11950
11973
  ],
11951
- "default": "'Choose a file...'",
11974
+ "default": "'Choose a file'",
11952
11975
  "values": [
11953
11976
  {
11954
11977
  "type": "string"
@@ -12032,10 +12055,10 @@
12032
12055
  "docsTags": [
12033
12056
  {
12034
12057
  "name": "default",
12035
- "text": "'submit'"
12058
+ "text": "'submitThenDirty'"
12036
12059
  }
12037
12060
  ],
12038
- "default": "'submit'",
12061
+ "default": "'submitThenDirty'",
12039
12062
  "values": [
12040
12063
  {
12041
12064
  "value": "dirty",
@@ -12349,126 +12372,81 @@
12349
12372
  ],
12350
12373
  "styles": [
12351
12374
  {
12352
- "name": "--btn-bg",
12353
- "annotation": "prop",
12354
- "docs": "Default value var(--nano-color-primary, #007495);"
12355
- },
12356
- {
12357
- "name": "--btn-icon-size",
12358
- "annotation": "prop",
12359
- "docs": "Default value var(--nano-btn-icon-size, 1.4em);"
12360
- },
12361
- {
12362
- "name": "--btn-padding-bottom",
12363
- "annotation": "prop",
12364
- "docs": "Default value var(--nano-btn-padding-bottom, .5em);"
12365
- },
12366
- {
12367
- "name": "--btn-padding-end",
12368
- "annotation": "prop",
12369
- "docs": "Default value var(--nano-btn-padding-end, 1em);"
12370
- },
12371
- {
12372
- "name": "--btn-padding-start",
12373
- "annotation": "prop",
12374
- "docs": "Default value var(--nano-btn-padding-start, 1em);"
12375
- },
12376
- {
12377
- "name": "--btn-padding-top",
12378
- "annotation": "prop",
12379
- "docs": "Default value var(--nano-btn-padding-top, .5em);"
12380
- },
12381
- {
12382
- "name": "--btn-text",
12383
- "annotation": "prop",
12384
- "docs": "Default value var(--nano-color-primary-contrast, #fff);"
12385
- },
12386
- {
12387
- "name": "--drop-bg",
12375
+ "name": "--color-btn-bg - The background color for the button.",
12388
12376
  "annotation": "prop",
12389
- "docs": "Default value #f2f7f9;"
12390
- },
12391
- {
12392
- "name": "--drop-bg--invalid",
12393
- "annotation": "prop",
12394
- "docs": "Default value var(--nano-input-background-color, white);"
12395
- },
12396
- {
12397
- "name": "--drop-border--invalid",
12398
- "annotation": "prop",
12399
- "docs": "Default value var(--nano-color-danger-rgb, 239 65 53);"
12377
+ "docs": ""
12400
12378
  },
12401
12379
  {
12402
- "name": "--drop-border-radius",
12380
+ "name": "--color-btn-border - The border color for the button.",
12403
12381
  "annotation": "prop",
12404
- "docs": "Default value 5px;"
12382
+ "docs": ""
12405
12383
  },
12406
12384
  {
12407
- "name": "--drop-border-tint",
12385
+ "name": "--color-btn-text - The text color for the button.",
12408
12386
  "annotation": "prop",
12409
- "docs": "Default value var(--nano-color-primary-rgb, 0 116 149);"
12387
+ "docs": ""
12410
12388
  },
12411
12389
  {
12412
- "name": "--drop-border-width",
12390
+ "name": "--color-drop-bg - The background color for the drop area.",
12413
12391
  "annotation": "prop",
12414
- "docs": "Default value 2px;"
12392
+ "docs": ""
12415
12393
  },
12416
12394
  {
12417
- "name": "--drop-height",
12395
+ "name": "--color-drop-border - The border color for the drop area.",
12418
12396
  "annotation": "prop",
12419
- "docs": "Default value 3.5em;"
12397
+ "docs": ""
12420
12398
  },
12421
12399
  {
12422
- "name": "--drop-text",
12400
+ "name": "--color-drop-browse - The color for the \"Browse\" text in the drop area.",
12423
12401
  "annotation": "prop",
12424
- "docs": "Default value #918b86;"
12402
+ "docs": ""
12425
12403
  },
12426
12404
  {
12427
- "name": "--help-msg-color",
12405
+ "name": "--color-error - The color used for error messages and invalid states.",
12428
12406
  "annotation": "prop",
12429
- "docs": "Default value var(--nano-input-help-color, #616d6e);"
12407
+ "docs": ""
12430
12408
  },
12431
12409
  {
12432
- "name": "--invalid-msg-color",
12410
+ "name": "--color-error-light - The light variant of the error color. Used for the drop area background when invalid.",
12433
12411
  "annotation": "prop",
12434
- "docs": "Default value var(--nano-color-danger, #ef4135);"
12412
+ "docs": ""
12435
12413
  },
12436
12414
  {
12437
- "name": "--invalid-msg-font-size",
12415
+ "name": "--color-text - The default text color for labels and messages.",
12438
12416
  "annotation": "prop",
12439
- "docs": "Default value var(--nano-input-help-font-size, 0.75em);"
12417
+ "docs": ""
12440
12418
  },
12441
12419
  {
12442
- "name": "--label-color",
12420
+ "name": "--drop-height - The minimum height of the drop area.",
12443
12421
  "annotation": "prop",
12444
- "docs": "Default value var(--nano-input-label-color, \"currentcolor\");"
12445
- },
12422
+ "docs": ""
12423
+ }
12424
+ ],
12425
+ "slots": [
12446
12426
  {
12447
- "name": "--label-color--invalid",
12448
- "annotation": "prop",
12449
- "docs": "Default value var(--nano-input-label-color-invalid, \"currentcolor\");"
12427
+ "name": "",
12428
+ "docs": "The default slot can be used to add additional content, such as instructions or a message."
12450
12429
  },
12451
12430
  {
12452
- "name": "--label-font-size",
12453
- "annotation": "prop",
12454
- "docs": "Default value var(--nano-input-label-color, 1em);"
12431
+ "name": "helper",
12432
+ "docs": "A helper text to display below the input."
12455
12433
  },
12456
12434
  {
12457
- "name": "--label-padding",
12458
- "annotation": "prop",
12459
- "docs": "Default value var(--nano-input-padding-bottom, var(--nano-input-padding, 6px));"
12435
+ "name": "label",
12436
+ "docs": "A label for the file input. If not provided, the `label` prop will be used."
12460
12437
  }
12461
12438
  ],
12462
- "slots": [],
12463
12439
  "parts": [],
12464
12440
  "dependents": [],
12465
12441
  "dependencies": [
12442
+ "nano-cta",
12466
12443
  "nano-icon",
12467
12444
  "nano-tooltip",
12468
12445
  "nano-icon-button"
12469
12446
  ],
12470
12447
  "dependencyGraph": {
12471
12448
  "nano-file-upload": [
12449
+ "nano-cta",
12472
12450
  "nano-icon",
12473
12451
  "nano-tooltip",
12474
12452
  "nano-icon-button"
@@ -14258,7 +14236,6 @@
14258
14236
  "nano-img"
14259
14237
  ],
14260
14238
  "nano-img": [
14261
- "nano-skeleton",
14262
14239
  "nano-resize-observe"
14263
14240
  ]
14264
14241
  }
@@ -15470,12 +15447,10 @@
15470
15447
  "nano-hero"
15471
15448
  ],
15472
15449
  "dependencies": [
15473
- "nano-skeleton",
15474
15450
  "nano-resize-observe"
15475
15451
  ],
15476
15452
  "dependencyGraph": {
15477
15453
  "nano-img": [
15478
- "nano-skeleton",
15479
15454
  "nano-resize-observe"
15480
15455
  ],
15481
15456
  "nano-hero": [
@@ -19698,67 +19673,30 @@
19698
19673
  },
19699
19674
  {
19700
19675
  "filePath": "src/components/progress-bar/progress-bar.tsx",
19701
- "encapsulation": "shadow",
19676
+ "encapsulation": "none",
19702
19677
  "tag": "nano-progress-bar",
19703
19678
  "readme": "# nano-progress-bar\n\n\n",
19704
19679
  "docs": "Shows the status of an ongoing operation.",
19705
19680
  "docsTags": [
19706
19681
  {
19707
19682
  "name": "version",
19708
- "text": "3.0.0"
19683
+ "text": "8.0.0"
19709
19684
  },
19710
19685
  {
19711
19686
  "name": "status",
19712
- "text": "stable"
19713
- },
19714
- {
19715
- "name": "slot",
19716
- "text": "- A label to show inside the indicator."
19717
- },
19718
- {
19719
- "name": "part",
19720
- "text": "base - The component's base wrapper."
19687
+ "text": "new"
19721
19688
  },
19722
19689
  {
19723
- "name": "part",
19724
- "text": "indicator - The progress bar indicator."
19690
+ "name": "type",
19691
+ "text": "CSS Only"
19725
19692
  },
19726
19693
  {
19727
- "name": "part",
19728
- "text": "label - The progress bar label."
19694
+ "name": "slot",
19695
+ "text": "- Used for mandatory `<progress>` element and optional `<label>`"
19729
19696
  }
19730
19697
  ],
19731
19698
  "usage": {},
19732
19699
  "props": [
19733
- {
19734
- "name": "indeterminate",
19735
- "type": "boolean",
19736
- "complexType": {
19737
- "original": "boolean",
19738
- "resolved": "boolean",
19739
- "references": {}
19740
- },
19741
- "mutable": false,
19742
- "attr": "indeterminate",
19743
- "reflectToAttr": false,
19744
- "docs": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
19745
- "docsTags": [
19746
- {
19747
- "name": "default",
19748
- "text": "false"
19749
- }
19750
- ],
19751
- "default": "false",
19752
- "values": [
19753
- {
19754
- "type": "boolean"
19755
- }
19756
- ],
19757
- "optional": false,
19758
- "required": false,
19759
- "getter": false,
19760
- "setter": false
19761
- },
19762
19700
  {
19763
19701
  "name": "showPercent",
19764
19702
  "type": "boolean",
@@ -19769,7 +19707,7 @@
19769
19707
  },
19770
19708
  "mutable": false,
19771
19709
  "attr": "show-percent",
19772
- "reflectToAttr": false,
19710
+ "reflectToAttr": true,
19773
19711
  "docs": "Whether to show the progress bar's current percent as text. Will be overwritten if you use the default slot.",
19774
19712
  "docsTags": [
19775
19713
  {
@@ -19789,27 +19727,36 @@
19789
19727
  "setter": false
19790
19728
  },
19791
19729
  {
19792
- "name": "value",
19793
- "type": "number",
19730
+ "name": "size",
19731
+ "type": "\"large\" | \"medium\" | \"small\"",
19794
19732
  "complexType": {
19795
- "original": "number",
19796
- "resolved": "number",
19733
+ "original": "'small' | 'medium' | 'large'",
19734
+ "resolved": "\"large\" | \"medium\" | \"small\"",
19797
19735
  "references": {}
19798
19736
  },
19799
19737
  "mutable": false,
19800
- "attr": "value",
19801
- "reflectToAttr": false,
19802
- "docs": "The progress bar's percentage, 0 to 100.",
19738
+ "attr": "size",
19739
+ "reflectToAttr": true,
19740
+ "docs": "The height of the progress-bar",
19803
19741
  "docsTags": [
19804
19742
  {
19805
19743
  "name": "default",
19806
- "text": "0"
19744
+ "text": "'medium'"
19807
19745
  }
19808
19746
  ],
19809
- "default": "0",
19747
+ "default": "'medium'",
19810
19748
  "values": [
19811
19749
  {
19812
- "type": "number"
19750
+ "value": "large",
19751
+ "type": "string"
19752
+ },
19753
+ {
19754
+ "value": "medium",
19755
+ "type": "string"
19756
+ },
19757
+ {
19758
+ "value": "small",
19759
+ "type": "string"
19813
19760
  }
19814
19761
  ],
19815
19762
  "optional": false,
@@ -19823,46 +19770,33 @@
19823
19770
  "listeners": [],
19824
19771
  "styles": [
19825
19772
  {
19826
- "name": "--height",
19773
+ "name": "--border-radius",
19827
19774
  "annotation": "prop",
19828
- "docs": "The progress bar's height. Default 1em"
19775
+ "docs": "Border radius of the progress bar. Defaults to 1.25rem;"
19829
19776
  },
19830
19777
  {
19831
- "name": "--indicator-color",
19778
+ "name": "--height",
19832
19779
  "annotation": "prop",
19833
- "docs": "The indicator color. Default rgb(var(--nano-indicator-rgb, 84 140 175) / 100%);"
19780
+ "docs": "Height of the progress bar. Defaults to 0.625rem;"
19834
19781
  },
19835
19782
  {
19836
- "name": "--label-color",
19783
+ "name": "--indicator-color",
19837
19784
  "annotation": "prop",
19838
- "docs": "The label color. Default var(--nano-color-white, white);"
19785
+ "docs": "Color of the progress indicator. Defaults to var(--nano-color-primary-1000);"
19839
19786
  },
19840
19787
  {
19841
19788
  "name": "--track-color",
19842
19789
  "annotation": "prop",
19843
- "docs": "The track color. Default rgb(var(--nano-track-rgb, 228 230 232) / 100%);"
19790
+ "docs": "Color of the progress track. Defaults to var(--nano-color-neutral-300);"
19844
19791
  }
19845
19792
  ],
19846
19793
  "slots": [
19847
19794
  {
19848
19795
  "name": "",
19849
- "docs": "A label to show inside the indicator."
19850
- }
19851
- ],
19852
- "parts": [
19853
- {
19854
- "name": "base",
19855
- "docs": "The component's base wrapper."
19856
- },
19857
- {
19858
- "name": "indicator",
19859
- "docs": "The progress bar indicator."
19860
- },
19861
- {
19862
- "name": "label",
19863
- "docs": "The progress bar label."
19796
+ "docs": "Used for mandatory `<progress>` element and optional `<label>`"
19864
19797
  }
19865
19798
  ],
19799
+ "parts": [],
19866
19800
  "dependents": [
19867
19801
  "nano-data-table"
19868
19802
  ],
@@ -22291,90 +22225,6 @@
22291
22225
  ]
22292
22226
  }
22293
22227
  },
22294
- {
22295
- "filePath": "src/components/skeleton/skeleton.tsx",
22296
- "encapsulation": "shadow",
22297
- "tag": "nano-skeleton",
22298
- "readme": "# nano-skeleton\n\n\n",
22299
- "docs": "Skeletons are used to show where content will eventually be drawn.",
22300
- "docsTags": [
22301
- {
22302
- "name": "version",
22303
- "text": "1.0.0"
22304
- },
22305
- {
22306
- "name": "status",
22307
- "text": "stable"
22308
- }
22309
- ],
22310
- "usage": {},
22311
- "props": [
22312
- {
22313
- "name": "animated",
22314
- "type": "boolean",
22315
- "complexType": {
22316
- "original": "boolean",
22317
- "resolved": "boolean",
22318
- "references": {}
22319
- },
22320
- "mutable": false,
22321
- "attr": "animated",
22322
- "reflectToAttr": false,
22323
- "docs": "When `true`, the skeleton will animate.",
22324
- "docsTags": [
22325
- {
22326
- "name": "default",
22327
- "text": "true"
22328
- }
22329
- ],
22330
- "default": "true",
22331
- "values": [
22332
- {
22333
- "type": "boolean"
22334
- }
22335
- ],
22336
- "optional": false,
22337
- "required": false,
22338
- "getter": false,
22339
- "setter": false
22340
- }
22341
- ],
22342
- "methods": [],
22343
- "events": [],
22344
- "listeners": [],
22345
- "styles": [
22346
- {
22347
- "name": "--base-color-rgb",
22348
- "annotation": "prop",
22349
- "docs": "default var(--nano-skeleton-rgb, 228 230 232);"
22350
- },
22351
- {
22352
- "name": "--color",
22353
- "annotation": "prop",
22354
- "docs": "default var(--nano-skeleton-color, rgba(var(--base-color-rgb), 1));"
22355
- },
22356
- {
22357
- "name": "--tint",
22358
- "annotation": "prop",
22359
- "docs": "default var(--nano-skeleton-tint, rgba(var(--base-color-rgb), .3));"
22360
- }
22361
- ],
22362
- "slots": [],
22363
- "parts": [],
22364
- "dependents": [
22365
- "nano-data-table",
22366
- "nano-img"
22367
- ],
22368
- "dependencies": [],
22369
- "dependencyGraph": {
22370
- "nano-data-table": [
22371
- "nano-skeleton"
22372
- ],
22373
- "nano-img": [
22374
- "nano-skeleton"
22375
- ]
22376
- }
22377
- },
22378
22228
  {
22379
22229
  "filePath": "src/components/slides/slide.tsx",
22380
22230
  "encapsulation": "shadow",