@ni/nimble-components 9.0.4 → 10.0.2

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 (273) hide show
  1. package/dist/all-components-bundle.js +81 -88
  2. package/dist/all-components-bundle.js.map +1 -1
  3. package/dist/all-components-bundle.min.js +798 -807
  4. package/dist/all-components-bundle.min.js.map +1 -1
  5. package/dist/esm/button/index.js +1 -1
  6. package/dist/esm/button/styles.js +2 -2
  7. package/dist/esm/button/types.d.ts +0 -1
  8. package/dist/esm/button/types.js.map +1 -1
  9. package/dist/esm/drawer/index.js +16 -16
  10. package/dist/esm/drawer/types.d.ts +12 -12
  11. package/dist/esm/drawer/types.js +10 -12
  12. package/dist/esm/drawer/types.js.map +1 -1
  13. package/dist/esm/icon-base/types.d.ts +7 -7
  14. package/dist/esm/icon-base/types.js +6 -7
  15. package/dist/esm/icon-base/types.js.map +1 -1
  16. package/dist/esm/menu-button/index.js +1 -1
  17. package/dist/esm/menu-button/types.d.ts +0 -1
  18. package/dist/esm/menu-button/types.js +4 -1
  19. package/dist/esm/menu-button/types.js.map +1 -1
  20. package/dist/esm/patterns/button/styles.js +3 -3
  21. package/dist/esm/patterns/button/types.d.ts +6 -6
  22. package/dist/esm/patterns/button/types.js +5 -6
  23. package/dist/esm/patterns/button/types.js.map +1 -1
  24. package/dist/esm/text-area/index.js +1 -1
  25. package/dist/esm/text-area/styles.js +2 -2
  26. package/dist/esm/text-area/types.d.ts +5 -6
  27. package/dist/esm/text-area/types.js +4 -5
  28. package/dist/esm/text-area/types.js.map +1 -1
  29. package/dist/esm/text-field/index.js +1 -1
  30. package/dist/esm/text-field/styles.js +5 -5
  31. package/dist/esm/text-field/types.d.ts +7 -14
  32. package/dist/esm/text-field/types.js +6 -7
  33. package/dist/esm/text-field/types.js.map +1 -1
  34. package/dist/esm/theme-provider/design-tokens.js +5 -5
  35. package/dist/esm/theme-provider/index.js +2 -2
  36. package/dist/esm/theme-provider/types.d.ts +6 -6
  37. package/dist/esm/theme-provider/types.js +5 -6
  38. package/dist/esm/theme-provider/types.js.map +1 -1
  39. package/dist/esm/toggle-button/index.js +1 -1
  40. package/dist/esm/toggle-button/types.d.ts +0 -1
  41. package/dist/esm/toggle-button/types.js +4 -0
  42. package/dist/esm/toggle-button/types.js.map +1 -1
  43. package/dist/esm/tree-view/index.js +4 -4
  44. package/dist/esm/tree-view/types.d.ts +6 -6
  45. package/dist/esm/tree-view/types.js +5 -6
  46. package/dist/esm/tree-view/types.js.map +1 -1
  47. package/dist/esm/utilities/style/theme.d.ts +5 -5
  48. package/dist/esm/utilities/style/theme.js +3 -3
  49. package/dist/esm/utilities/style/theme.js.map +1 -1
  50. package/package.json +2 -2
  51. package/dist/esm/nimble-components/src/all-components.d.ts +0 -29
  52. package/dist/esm/nimble-components/src/anchored-region/index.d.ts +0 -11
  53. package/dist/esm/nimble-components/src/anchored-region/styles.d.ts +0 -1
  54. package/dist/esm/nimble-components/src/breadcrumb/index.d.ts +0 -11
  55. package/dist/esm/nimble-components/src/breadcrumb/styles.d.ts +0 -1
  56. package/dist/esm/nimble-components/src/breadcrumb-item/index.d.ts +0 -11
  57. package/dist/esm/nimble-components/src/breadcrumb-item/styles.d.ts +0 -1
  58. package/dist/esm/nimble-components/src/button/index.d.ts +0 -25
  59. package/dist/esm/nimble-components/src/button/styles.d.ts +0 -1
  60. package/dist/esm/nimble-components/src/button/types.d.ts +0 -8
  61. package/dist/esm/nimble-components/src/checkbox/index.d.ts +0 -11
  62. package/dist/esm/nimble-components/src/checkbox/styles.d.ts +0 -1
  63. package/dist/esm/nimble-components/src/drawer/animations.d.ts +0 -14
  64. package/dist/esm/nimble-components/src/drawer/index.d.ts +0 -48
  65. package/dist/esm/nimble-components/src/drawer/styles.d.ts +0 -1
  66. package/dist/esm/nimble-components/src/drawer/types.d.ts +0 -12
  67. package/dist/esm/nimble-components/src/icon-base/icon-metadata.d.ts +0 -9
  68. package/dist/esm/nimble-components/src/icon-base/index.d.ts +0 -12
  69. package/dist/esm/nimble-components/src/icon-base/styles.d.ts +0 -1
  70. package/dist/esm/nimble-components/src/icon-base/template.d.ts +0 -2
  71. package/dist/esm/nimble-components/src/icon-base/types.d.ts +0 -11
  72. package/dist/esm/nimble-components/src/icons/add.d.ts +0 -12
  73. package/dist/esm/nimble-components/src/icons/all-icons.d.ts +0 -142
  74. package/dist/esm/nimble-components/src/icons/arrow-down-right-and-arrow-up-left.d.ts +0 -12
  75. package/dist/esm/nimble-components/src/icons/arrow-expander-down.d.ts +0 -12
  76. package/dist/esm/nimble-components/src/icons/arrow-expander-left.d.ts +0 -12
  77. package/dist/esm/nimble-components/src/icons/arrow-expander-right.d.ts +0 -12
  78. package/dist/esm/nimble-components/src/icons/arrow-expander-up.d.ts +0 -12
  79. package/dist/esm/nimble-components/src/icons/arrow-left-from-line.d.ts +0 -12
  80. package/dist/esm/nimble-components/src/icons/arrow-partial-rotate-left.d.ts +0 -12
  81. package/dist/esm/nimble-components/src/icons/arrow-right-to-line.d.ts +0 -12
  82. package/dist/esm/nimble-components/src/icons/arrow-rotate-right.d.ts +0 -12
  83. package/dist/esm/nimble-components/src/icons/arrow-u-rotate-left.d.ts +0 -12
  84. package/dist/esm/nimble-components/src/icons/arrow-up-left-and-arrow-down-right.d.ts +0 -12
  85. package/dist/esm/nimble-components/src/icons/arrows-maximize.d.ts +0 -12
  86. package/dist/esm/nimble-components/src/icons/arrows-repeat.d.ts +0 -12
  87. package/dist/esm/nimble-components/src/icons/bars.d.ts +0 -12
  88. package/dist/esm/nimble-components/src/icons/bell-and-comment.d.ts +0 -12
  89. package/dist/esm/nimble-components/src/icons/bell-circle.d.ts +0 -12
  90. package/dist/esm/nimble-components/src/icons/bell-solid-circle.d.ts +0 -12
  91. package/dist/esm/nimble-components/src/icons/bell.d.ts +0 -12
  92. package/dist/esm/nimble-components/src/icons/block-with-ribbon.d.ts +0 -12
  93. package/dist/esm/nimble-components/src/icons/calendar.d.ts +0 -12
  94. package/dist/esm/nimble-components/src/icons/chart-diagram-child-focus.d.ts +0 -12
  95. package/dist/esm/nimble-components/src/icons/chart-diagram-parent-focus-two-child.d.ts +0 -12
  96. package/dist/esm/nimble-components/src/icons/chart-diagram-parent-focus.d.ts +0 -12
  97. package/dist/esm/nimble-components/src/icons/chart-diagram.d.ts +0 -12
  98. package/dist/esm/nimble-components/src/icons/check-dot.d.ts +0 -12
  99. package/dist/esm/nimble-components/src/icons/check.d.ts +0 -12
  100. package/dist/esm/nimble-components/src/icons/circle-broken.d.ts +0 -12
  101. package/dist/esm/nimble-components/src/icons/circle-check.d.ts +0 -12
  102. package/dist/esm/nimble-components/src/icons/circle-partial-broken.d.ts +0 -12
  103. package/dist/esm/nimble-components/src/icons/circle-slash.d.ts +0 -12
  104. package/dist/esm/nimble-components/src/icons/circle-x.d.ts +0 -12
  105. package/dist/esm/nimble-components/src/icons/circle.d.ts +0 -12
  106. package/dist/esm/nimble-components/src/icons/clipboard.d.ts +0 -12
  107. package/dist/esm/nimble-components/src/icons/clock-cog.d.ts +0 -12
  108. package/dist/esm/nimble-components/src/icons/clock-triangle.d.ts +0 -12
  109. package/dist/esm/nimble-components/src/icons/clock.d.ts +0 -12
  110. package/dist/esm/nimble-components/src/icons/clone.d.ts +0 -12
  111. package/dist/esm/nimble-components/src/icons/cloud-upload.d.ts +0 -12
  112. package/dist/esm/nimble-components/src/icons/cloud-with-arrow.d.ts +0 -12
  113. package/dist/esm/nimble-components/src/icons/cog-database-inset.d.ts +0 -12
  114. package/dist/esm/nimble-components/src/icons/cog-database.d.ts +0 -12
  115. package/dist/esm/nimble-components/src/icons/cog-small-cog.d.ts +0 -12
  116. package/dist/esm/nimble-components/src/icons/cog-zoomed.d.ts +0 -12
  117. package/dist/esm/nimble-components/src/icons/cog.d.ts +0 -12
  118. package/dist/esm/nimble-components/src/icons/comment.d.ts +0 -12
  119. package/dist/esm/nimble-components/src/icons/computer-and-monitor.d.ts +0 -12
  120. package/dist/esm/nimble-components/src/icons/copy-text.d.ts +0 -12
  121. package/dist/esm/nimble-components/src/icons/copy.d.ts +0 -12
  122. package/dist/esm/nimble-components/src/icons/dashboard-builder-legend.d.ts +0 -12
  123. package/dist/esm/nimble-components/src/icons/dashboard-builder-templates.d.ts +0 -12
  124. package/dist/esm/nimble-components/src/icons/dashboard-builder-tile.d.ts +0 -12
  125. package/dist/esm/nimble-components/src/icons/dashboard-builder.d.ts +0 -12
  126. package/dist/esm/nimble-components/src/icons/database-check.d.ts +0 -12
  127. package/dist/esm/nimble-components/src/icons/database.d.ts +0 -12
  128. package/dist/esm/nimble-components/src/icons/desktop.d.ts +0 -12
  129. package/dist/esm/nimble-components/src/icons/donut-chart.d.ts +0 -12
  130. package/dist/esm/nimble-components/src/icons/dot-solid-dot-stroke.d.ts +0 -12
  131. package/dist/esm/nimble-components/src/icons/download.d.ts +0 -12
  132. package/dist/esm/nimble-components/src/icons/electronic-chip-zoomed.d.ts +0 -12
  133. package/dist/esm/nimble-components/src/icons/exclamation-mark.d.ts +0 -12
  134. package/dist/esm/nimble-components/src/icons/eye.d.ts +0 -12
  135. package/dist/esm/nimble-components/src/icons/fancy-a.d.ts +0 -12
  136. package/dist/esm/nimble-components/src/icons/file-drawer.d.ts +0 -12
  137. package/dist/esm/nimble-components/src/icons/file-search.d.ts +0 -12
  138. package/dist/esm/nimble-components/src/icons/file.d.ts +0 -12
  139. package/dist/esm/nimble-components/src/icons/filter.d.ts +0 -12
  140. package/dist/esm/nimble-components/src/icons/floppy-disk-checkmark.d.ts +0 -12
  141. package/dist/esm/nimble-components/src/icons/floppy-disk-star-arrow-right.d.ts +0 -12
  142. package/dist/esm/nimble-components/src/icons/floppy-disk-three-dots.d.ts +0 -12
  143. package/dist/esm/nimble-components/src/icons/folder-open.d.ts +0 -12
  144. package/dist/esm/nimble-components/src/icons/folder.d.ts +0 -12
  145. package/dist/esm/nimble-components/src/icons/forward-slash.d.ts +0 -12
  146. package/dist/esm/nimble-components/src/icons/four-dots-square.d.ts +0 -12
  147. package/dist/esm/nimble-components/src/icons/function.d.ts +0 -12
  148. package/dist/esm/nimble-components/src/icons/gauge-simple.d.ts +0 -12
  149. package/dist/esm/nimble-components/src/icons/grid-three-by-three.d.ts +0 -12
  150. package/dist/esm/nimble-components/src/icons/grid-two-by-two.d.ts +0 -12
  151. package/dist/esm/nimble-components/src/icons/hammer.d.ts +0 -12
  152. package/dist/esm/nimble-components/src/icons/hashtag.d.ts +0 -12
  153. package/dist/esm/nimble-components/src/icons/home.d.ts +0 -12
  154. package/dist/esm/nimble-components/src/icons/hourglass.d.ts +0 -12
  155. package/dist/esm/nimble-components/src/icons/indeterminant-checkbox.d.ts +0 -12
  156. package/dist/esm/nimble-components/src/icons/info-circle.d.ts +0 -12
  157. package/dist/esm/nimble-components/src/icons/info.d.ts +0 -12
  158. package/dist/esm/nimble-components/src/icons/key.d.ts +0 -12
  159. package/dist/esm/nimble-components/src/icons/laptop.d.ts +0 -12
  160. package/dist/esm/nimble-components/src/icons/layer-group.d.ts +0 -12
  161. package/dist/esm/nimble-components/src/icons/lightning-bolt.d.ts +0 -12
  162. package/dist/esm/nimble-components/src/icons/link-cancel.d.ts +0 -12
  163. package/dist/esm/nimble-components/src/icons/link.d.ts +0 -12
  164. package/dist/esm/nimble-components/src/icons/list-tree-database.d.ts +0 -12
  165. package/dist/esm/nimble-components/src/icons/list-tree.d.ts +0 -12
  166. package/dist/esm/nimble-components/src/icons/list.d.ts +0 -12
  167. package/dist/esm/nimble-components/src/icons/lock.d.ts +0 -12
  168. package/dist/esm/nimble-components/src/icons/magnifying-glass.d.ts +0 -12
  169. package/dist/esm/nimble-components/src/icons/markdown.d.ts +0 -12
  170. package/dist/esm/nimble-components/src/icons/minus-wide.d.ts +0 -12
  171. package/dist/esm/nimble-components/src/icons/minus.d.ts +0 -12
  172. package/dist/esm/nimble-components/src/icons/mobile.d.ts +0 -12
  173. package/dist/esm/nimble-components/src/icons/notebook.d.ts +0 -12
  174. package/dist/esm/nimble-components/src/icons/paste.d.ts +0 -12
  175. package/dist/esm/nimble-components/src/icons/pencil.d.ts +0 -12
  176. package/dist/esm/nimble-components/src/icons/pot-with-lid.d.ts +0 -12
  177. package/dist/esm/nimble-components/src/icons/question.d.ts +0 -12
  178. package/dist/esm/nimble-components/src/icons/running-arrow.d.ts +0 -12
  179. package/dist/esm/nimble-components/src/icons/server.d.ts +0 -12
  180. package/dist/esm/nimble-components/src/icons/share-square.d.ts +0 -12
  181. package/dist/esm/nimble-components/src/icons/shield-check.d.ts +0 -12
  182. package/dist/esm/nimble-components/src/icons/shield-xmark.d.ts +0 -12
  183. package/dist/esm/nimble-components/src/icons/signal-bars.d.ts +0 -12
  184. package/dist/esm/nimble-components/src/icons/sine-graph.d.ts +0 -12
  185. package/dist/esm/nimble-components/src/icons/skip-arrow.d.ts +0 -12
  186. package/dist/esm/nimble-components/src/icons/spinner.d.ts +0 -12
  187. package/dist/esm/nimble-components/src/icons/square-check.d.ts +0 -12
  188. package/dist/esm/nimble-components/src/icons/square-t.d.ts +0 -12
  189. package/dist/esm/nimble-components/src/icons/t.d.ts +0 -12
  190. package/dist/esm/nimble-components/src/icons/tablet.d.ts +0 -12
  191. package/dist/esm/nimble-components/src/icons/tag.d.ts +0 -12
  192. package/dist/esm/nimble-components/src/icons/tags.d.ts +0 -12
  193. package/dist/esm/nimble-components/src/icons/target-crosshairs-progress.d.ts +0 -12
  194. package/dist/esm/nimble-components/src/icons/target-crosshairs.d.ts +0 -12
  195. package/dist/esm/nimble-components/src/icons/three-dots-line.d.ts +0 -12
  196. package/dist/esm/nimble-components/src/icons/thumbtack.d.ts +0 -12
  197. package/dist/esm/nimble-components/src/icons/tile-size.d.ts +0 -12
  198. package/dist/esm/nimble-components/src/icons/times.d.ts +0 -12
  199. package/dist/esm/nimble-components/src/icons/trash.d.ts +0 -12
  200. package/dist/esm/nimble-components/src/icons/triangle.d.ts +0 -12
  201. package/dist/esm/nimble-components/src/icons/true-false-rectangle.d.ts +0 -12
  202. package/dist/esm/nimble-components/src/icons/unlink.d.ts +0 -12
  203. package/dist/esm/nimble-components/src/icons/unlock.d.ts +0 -12
  204. package/dist/esm/nimble-components/src/icons/upload.d.ts +0 -12
  205. package/dist/esm/nimble-components/src/icons/user.d.ts +0 -12
  206. package/dist/esm/nimble-components/src/icons/watch.d.ts +0 -12
  207. package/dist/esm/nimble-components/src/icons/waveform.d.ts +0 -12
  208. package/dist/esm/nimble-components/src/icons/webvi-custom.d.ts +0 -12
  209. package/dist/esm/nimble-components/src/icons/webvi-host.d.ts +0 -12
  210. package/dist/esm/nimble-components/src/icons/window-code.d.ts +0 -12
  211. package/dist/esm/nimble-components/src/icons/window-text.d.ts +0 -12
  212. package/dist/esm/nimble-components/src/icons/wrench-hammer.d.ts +0 -12
  213. package/dist/esm/nimble-components/src/icons/xmark-check.d.ts +0 -12
  214. package/dist/esm/nimble-components/src/icons/xmark.d.ts +0 -12
  215. package/dist/esm/nimble-components/src/list-option/index.d.ts +0 -14
  216. package/dist/esm/nimble-components/src/list-option/styles.d.ts +0 -1
  217. package/dist/esm/nimble-components/src/menu/index.d.ts +0 -11
  218. package/dist/esm/nimble-components/src/menu/styles.d.ts +0 -1
  219. package/dist/esm/nimble-components/src/menu-button/index.d.ts +0 -50
  220. package/dist/esm/nimble-components/src/menu-button/styles.d.ts +0 -1
  221. package/dist/esm/nimble-components/src/menu-button/template.d.ts +0 -4
  222. package/dist/esm/nimble-components/src/menu-button/types.d.ts +0 -15
  223. package/dist/esm/nimble-components/src/menu-item/index.d.ts +0 -11
  224. package/dist/esm/nimble-components/src/menu-item/styles.d.ts +0 -1
  225. package/dist/esm/nimble-components/src/number-field/index.d.ts +0 -11
  226. package/dist/esm/nimble-components/src/number-field/styles.d.ts +0 -1
  227. package/dist/esm/nimble-components/src/patterns/button/styles.d.ts +0 -1
  228. package/dist/esm/nimble-components/src/patterns/button/types.d.ts +0 -30
  229. package/dist/esm/nimble-components/src/select/index.d.ts +0 -13
  230. package/dist/esm/nimble-components/src/select/styles.d.ts +0 -1
  231. package/dist/esm/nimble-components/src/switch/index.d.ts +0 -11
  232. package/dist/esm/nimble-components/src/switch/styles.d.ts +0 -1
  233. package/dist/esm/nimble-components/src/switch/template.d.ts +0 -2
  234. package/dist/esm/nimble-components/src/tab/index.d.ts +0 -11
  235. package/dist/esm/nimble-components/src/tab/styles.d.ts +0 -1
  236. package/dist/esm/nimble-components/src/tab-panel/index.d.ts +0 -11
  237. package/dist/esm/nimble-components/src/tab-panel/styles.d.ts +0 -1
  238. package/dist/esm/nimble-components/src/tabs/index.d.ts +0 -12
  239. package/dist/esm/nimble-components/src/tabs/styles.d.ts +0 -1
  240. package/dist/esm/nimble-components/src/tabs-toolbar/index.d.ts +0 -11
  241. package/dist/esm/nimble-components/src/tabs-toolbar/styles.d.ts +0 -1
  242. package/dist/esm/nimble-components/src/tabs-toolbar/template.d.ts +0 -2
  243. package/dist/esm/nimble-components/src/testing/async-helpers.d.ts +0 -10
  244. package/dist/esm/nimble-components/src/text-area/index.d.ts +0 -20
  245. package/dist/esm/nimble-components/src/text-area/styles.d.ts +0 -1
  246. package/dist/esm/nimble-components/src/text-area/types.d.ts +0 -8
  247. package/dist/esm/nimble-components/src/text-field/index.d.ts +0 -29
  248. package/dist/esm/nimble-components/src/text-field/styles.d.ts +0 -1
  249. package/dist/esm/nimble-components/src/text-field/types.d.ts +0 -22
  250. package/dist/esm/nimble-components/src/theme-provider/design-token-comments.d.ts +0 -6
  251. package/dist/esm/nimble-components/src/theme-provider/design-token-names.d.ts +0 -15
  252. package/dist/esm/nimble-components/src/theme-provider/design-tokens.d.ts +0 -46
  253. package/dist/esm/nimble-components/src/theme-provider/index.d.ts +0 -21
  254. package/dist/esm/nimble-components/src/theme-provider/styles.d.ts +0 -1
  255. package/dist/esm/nimble-components/src/theme-provider/template.d.ts +0 -2
  256. package/dist/esm/nimble-components/src/theme-provider/types.d.ts +0 -6
  257. package/dist/esm/nimble-components/src/toggle-button/index.d.ts +0 -29
  258. package/dist/esm/nimble-components/src/toggle-button/styles.d.ts +0 -1
  259. package/dist/esm/nimble-components/src/toggle-button/template.d.ts +0 -4
  260. package/dist/esm/nimble-components/src/toggle-button/types.d.ts +0 -6
  261. package/dist/esm/nimble-components/src/toolbar/index.d.ts +0 -11
  262. package/dist/esm/nimble-components/src/toolbar/styles.d.ts +0 -1
  263. package/dist/esm/nimble-components/src/tree-item/index.d.ts +0 -29
  264. package/dist/esm/nimble-components/src/tree-item/styles.d.ts +0 -3
  265. package/dist/esm/nimble-components/src/tree-view/index.d.ts +0 -23
  266. package/dist/esm/nimble-components/src/tree-view/styles.d.ts +0 -1
  267. package/dist/esm/nimble-components/src/tree-view/types.d.ts +0 -8
  268. package/dist/esm/nimble-components/src/utilities/style/appearance.d.ts +0 -11
  269. package/dist/esm/nimble-components/src/utilities/style/colors.d.ts +0 -8
  270. package/dist/esm/nimble-components/src/utilities/style/direction.d.ts +0 -34
  271. package/dist/esm/nimble-components/src/utilities/style/focus.d.ts +0 -11
  272. package/dist/esm/nimble-components/src/utilities/style/prefers-reduced-motion.d.ts +0 -4
  273. package/dist/esm/nimble-components/src/utilities/style/theme.d.ts +0 -42
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/toggle-button/types.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/toggle-button/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -16,7 +16,7 @@ import { TreeViewSelectionMode } from './types';
16
16
  export class TreeView extends FoundationTreeView {
17
17
  constructor() {
18
18
  super(...arguments);
19
- this.selectionMode = TreeViewSelectionMode.All;
19
+ this.selectionMode = TreeViewSelectionMode.all;
20
20
  }
21
21
  handleClick(e) {
22
22
  if (e.defaultPrevented) {
@@ -41,11 +41,11 @@ export class TreeView extends FoundationTreeView {
41
41
  }
42
42
  canSelect(item) {
43
43
  switch (this.selectionMode) {
44
- case TreeViewSelectionMode.All:
44
+ case TreeViewSelectionMode.all:
45
45
  return true;
46
- case TreeViewSelectionMode.None:
46
+ case TreeViewSelectionMode.none:
47
47
  return false;
48
- case TreeViewSelectionMode.LeavesOnly:
48
+ case TreeViewSelectionMode.leavesOnly:
49
49
  return !this.itemHasChildren(item);
50
50
  default:
51
51
  return true;
@@ -1,8 +1,8 @@
1
1
  export declare const pinnedSelectedAttribute = "pinned-selected";
2
2
  export declare const groupSelectedAttribute = "group-selected";
3
- export declare enum TreeViewSelectionMode {
4
- All = "all",
5
- LeavesOnly = "leaves-only",
6
- None = "none"
7
- }
8
- export declare type TreeViewSelectionModeAttribute = `${TreeViewSelectionMode}`;
3
+ export declare const TreeViewSelectionMode: {
4
+ readonly all: "all";
5
+ readonly leavesOnly: "leaves-only";
6
+ readonly none: "none";
7
+ };
8
+ export declare type TreeViewSelectionMode = typeof TreeViewSelectionMode[keyof typeof TreeViewSelectionMode];
@@ -1,9 +1,8 @@
1
1
  export const pinnedSelectedAttribute = 'pinned-selected';
2
2
  export const groupSelectedAttribute = 'group-selected';
3
- export var TreeViewSelectionMode;
4
- (function (TreeViewSelectionMode) {
5
- TreeViewSelectionMode["All"] = "all";
6
- TreeViewSelectionMode["LeavesOnly"] = "leaves-only";
7
- TreeViewSelectionMode["None"] = "none";
8
- })(TreeViewSelectionMode || (TreeViewSelectionMode = {}));
3
+ export const TreeViewSelectionMode = {
4
+ all: 'all',
5
+ leavesOnly: 'leaves-only',
6
+ none: 'none'
7
+ };
9
8
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/tree-view/types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;AACzD,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEvD,MAAM,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,oCAAW,CAAA;IACX,mDAA0B,CAAA;IAC1B,sCAAa,CAAA;AACjB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/tree-view/types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;AACzD,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEvD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,MAAM;CACN,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { Behavior, ElementStyles, FASTElement } from '@microsoft/fast-element';
2
2
  import type { Theme } from '../../theme-provider/types';
3
3
  export declare type LightStyle = ElementStyles | null;
4
- export declare type DarkStyleOrAlias = ElementStyles | null | Theme.Light;
5
- export declare type ColorStyleOrAlias = ElementStyles | null | Theme.Light | Theme.Dark;
4
+ export declare type DarkStyleOrAlias = ElementStyles | null | Extract<Theme, 'light'>;
5
+ export declare type ColorStyleOrAlias = ElementStyles | null | Extract<Theme, 'light' | 'dark'>;
6
6
  /**
7
7
  * Behavior to conditionally apply theme-based stylesheets.
8
8
  */
@@ -32,9 +32,9 @@ declare class ThemeStyleSheetBehavior implements Behavior {
32
32
  * css`
33
33
  * // ...
34
34
  * `.withBehaviors(new ThemeStyleSheetBehavior(
35
- * css`:host { ... Theme.Light style... }`),
36
- * null, // No style needed for Theme.Dark style
37
- * Theme.Light // For the Theme.Color style, re-use the previously set Theme.Light style
35
+ * css`:host { ... Theme.light style... }`),
36
+ * null, // No style needed for Theme.dark style
37
+ * Theme.light // For the Theme.color style, re-use the previously set Theme.light style
38
38
  * )
39
39
  * ```
40
40
  */
@@ -96,9 +96,9 @@ class ThemeStyleSheetBehavior {
96
96
  * css`
97
97
  * // ...
98
98
  * `.withBehaviors(new ThemeStyleSheetBehavior(
99
- * css`:host { ... Theme.Light style... }`),
100
- * null, // No style needed for Theme.Dark style
101
- * Theme.Light // For the Theme.Color style, re-use the previously set Theme.Light style
99
+ * css`:host { ... Theme.light style... }`),
100
+ * null, // No style needed for Theme.dark style
101
+ * Theme.light // For the Theme.color style, re-use the previously set Theme.light style
102
102
  * )
103
103
  * ```
104
104
  */
@@ -1 +1 @@
1
- {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../../src/utilities/style/theme.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,OAAO,EAEH,aAAa,EAGhB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAI3D;;GAEG;AACH,MAAM,mCAAmC;IAGrC,YACqB,WAAwB,EACxB,MAAiC;QADjC,gBAAW,GAAX,WAAW,CAAa;QACxB,WAAM,GAAN,MAAM,CAA2B;QAJ9C,aAAQ,GAAyB,IAAI,CAAC;IAK3C,CAAC;IAEG,YAAY,CAAC,EAChB,MAAM,EACN,KAAK,EACoC;QACzC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3C,CAAC;IAEM,MAAM,CAAC,KAAqB;QAC/B,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;YAC3C,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE;gBACxB,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACxC,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE;gBACxB,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;a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C,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC;eAClC,IAAI,mCAAmC,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;QAEzE,MAAM,KAAK,GAAG,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAC7C,+DAA+D;QAC/D,8CAA8C;QAC9C,6EAA6E;QAC7E,UAAU,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;QACzC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAEzB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACvC,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,MAAiC;QAC3C,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAE1C,IAAI,UAAU,EAAE;YACZ,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;SACtC;QAED,iDAAiD;QACjD,6EAA6E;IACjF,CAAC;CACJ;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CACzB,UAAsB,EACtB,gBAAkC,EAClC,iBAAoC,EACb,EAAE,CAAC,IAAI,uBAAuB,CACrD,UAAU,EACV,gBAAgB,EAChB,iBAAiB,CACpB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/nimble-components",
3
- "version": "9.0.4",
3
+ "version": "10.0.2",
4
4
  "description": "Styled web components for the NI Nimble Design System",
5
5
  "scripts": {
6
6
  "build": "npm run generate-icons && npm run build-components && npm run bundle-components && npm run generate-scss && npm run build-storybook",
@@ -50,7 +50,7 @@
50
50
  "@microsoft/fast-element": "^1.10.1",
51
51
  "@microsoft/fast-foundation": "^2.46.2",
52
52
  "@microsoft/fast-web-utilities": "^5.4.1",
53
- "@ni/nimble-tokens": "^3.2.0",
53
+ "@ni/nimble-tokens": "^3.2.1",
54
54
  "hex-rgb": "^5.0.0"
55
55
  },
56
56
  "devDependencies": {
@@ -1,29 +0,0 @@
1
- /**
2
- * Import of all the web components available in Nimble.
3
- * Production applications are encouraged to import only components
4
- * that are required instead of leveraging this file.
5
- */
6
- import './anchored-region';
7
- import './breadcrumb';
8
- import './breadcrumb-item';
9
- import './button';
10
- import './checkbox';
11
- import './drawer';
12
- import './icons/all-icons';
13
- import './list-option';
14
- import './menu';
15
- import './menu-item';
16
- import './number-field';
17
- import './select';
18
- import './switch';
19
- import './tab';
20
- import './tab-panel';
21
- import './tabs';
22
- import './tabs-toolbar';
23
- import './text-area';
24
- import './text-field';
25
- import './theme-provider';
26
- import './toggle-button';
27
- import './toolbar';
28
- import './tree-item';
29
- import './tree-view';
@@ -1,11 +0,0 @@
1
- import { AnchoredRegion as FoundationAnchoredRegion } from '@microsoft/fast-foundation';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-anchored-region': AnchoredRegion;
5
- }
6
- }
7
- /**
8
- * A nimble-styled anchored region control.
9
- */
10
- export declare class AnchoredRegion extends FoundationAnchoredRegion {
11
- }
@@ -1 +0,0 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,11 +0,0 @@
1
- import { Breadcrumb as FoundationBreadcrumb } from '@microsoft/fast-foundation';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-breadcrumb': Breadcrumb;
5
- }
6
- }
7
- /**
8
- * A nimble-styled breadcrumb
9
- */
10
- export declare class Breadcrumb extends FoundationBreadcrumb {
11
- }
@@ -1 +0,0 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,11 +0,0 @@
1
- import { BreadcrumbItem as FoundationBreadcrumbItem } from '@microsoft/fast-foundation';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-breadcrumb-item': BreadcrumbItem;
5
- }
6
- }
7
- /**
8
- * A nimble-styled breadcrumb item
9
- */
10
- export declare class BreadcrumbItem extends FoundationBreadcrumbItem {
11
- }
@@ -1 +0,0 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,25 +0,0 @@
1
- import { Button as FoundationButton } from '@microsoft/fast-foundation';
2
- import type { IButton } from '../patterns/button/types';
3
- import { ButtonAppearance } from './types';
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- 'nimble-button': Button;
7
- }
8
- }
9
- /**
10
- * A nimble-styled HTML button
11
- */
12
- export declare class Button extends FoundationButton implements IButton {
13
- /**
14
- * @public
15
- * @remarks
16
- * HTML Attribute: appearance
17
- */
18
- appearance: ButtonAppearance;
19
- /**
20
- * @public
21
- * @remarks
22
- * HTML Attribute: content-hidden
23
- */
24
- contentHidden: boolean;
25
- }
@@ -1 +0,0 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,8 +0,0 @@
1
- /**
2
- * Types of button appearance.
3
- * @public
4
- */
5
- import type { Button } from '@microsoft/fast-foundation';
6
- export type { ButtonAppearanceAttribute } from '../patterns/button/types';
7
- export { ButtonAppearance } from '../patterns/button/types';
8
- export declare type ButtonType = Button['type'];
@@ -1,11 +0,0 @@
1
- import { Checkbox as FoundationCheckbox } from '@microsoft/fast-foundation';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-checkbox': Checkbox;
5
- }
6
- }
7
- /**
8
- * A nimble-styled checkbox control.
9
- */
10
- export declare class Checkbox extends FoundationCheckbox {
11
- }
@@ -1 +0,0 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,14 +0,0 @@
1
- export declare const animationConfig: {
2
- slideLeftKeyframes: Keyframe[];
3
- slideRightKeyframes: Keyframe[];
4
- fadeOverlayKeyframes: Keyframe[];
5
- slideInOptions: {
6
- duration: number;
7
- easing: string;
8
- };
9
- slideOutOptions: {
10
- duration: number;
11
- easing: string;
12
- direction: string;
13
- };
14
- };
@@ -1,48 +0,0 @@
1
- import { Dialog as FoundationDialog } from '@microsoft/fast-foundation';
2
- import { DrawerLocation, DrawerState } from './types';
3
- declare global {
4
- interface HTMLElementTagNameMap {
5
- 'nimble-drawer': Drawer;
6
- }
7
- }
8
- /**
9
- * Drawer/Sidenav control. Shows content in a panel on the left / right side of the screen,
10
- * which animates to be visible with a slide-in / slide-out animation.
11
- * Configured via 'location', 'state', 'modal', 'preventDismiss' properties.
12
- */
13
- export declare class Drawer extends FoundationDialog {
14
- location: DrawerLocation;
15
- state: DrawerState;
16
- /**
17
- * True to prevent dismissing the drawer when the overlay outside the drawer is clicked.
18
- * Only applicable when 'modal' is set to true (i.e. when the overlay is used).
19
- * HTML Attribute: prevent-dismiss
20
- */
21
- preventDismiss: boolean;
22
- private readonly propertiesToWatch;
23
- private propertyChangeNotifier?;
24
- private animationDurationMilliseconds;
25
- private animationGroup?;
26
- private animationsEnabledChangedHandler?;
27
- private propertyChangeSubscriber?;
28
- /** @internal */
29
- connectedCallback(): void;
30
- /** @internal */
31
- disconnectedCallback(): void;
32
- show(): void;
33
- hide(): void;
34
- /**
35
- * Handler for overlay clicks (user-initiated dismiss requests) only.
36
- * @internal
37
- */
38
- dismiss(): void;
39
- private onPropertyChange;
40
- private onHiddenChanged;
41
- private onLocationChanged;
42
- private onStateChanged;
43
- private updateAnimationDuration;
44
- private animateOpening;
45
- private animateClosing;
46
- private animateOpenClose;
47
- private cancelCurrentAnimation;
48
- }
@@ -1 +0,0 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,12 +0,0 @@
1
- export declare enum DrawerLocation {
2
- Left = "left",
3
- Right = "right"
4
- }
5
- export declare type DrawerLocationAttribute = `${DrawerLocation}`;
6
- export declare enum DrawerState {
7
- Opening = "opening",
8
- Opened = "opened",
9
- Closing = "closing",
10
- Closed = "closed"
11
- }
12
- export declare type DrawerStateAttribute = `${DrawerState}`;
@@ -1,9 +0,0 @@
1
- import type * as IconsNamespace from '../icons/all-icons';
2
- declare type IconName = keyof typeof IconsNamespace;
3
- interface IconMetadata {
4
- tags: string[];
5
- }
6
- export declare const iconMetadata: {
7
- readonly [key in IconName]: IconMetadata;
8
- };
9
- export {};
@@ -1,12 +0,0 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
2
- import type { NimbleIcon } from '@ni/nimble-tokens/dist-icons-esm/nimble-icons-inline';
3
- /**
4
- * The base class for icon components
5
- */
6
- export declare class Icon extends FoundationElement {
7
- icon: NimbleIcon;
8
- constructor(icon: NimbleIcon);
9
- }
10
- declare type IconClass = typeof Icon;
11
- export declare const registerIcon: (baseName: string, iconClass: IconClass) => void;
12
- export {};
@@ -1 +0,0 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,2 +0,0 @@
1
- import type { Icon } from '.';
2
- export declare const template: import("@microsoft/fast-element").ViewTemplate<Icon, any>;
@@ -1,11 +0,0 @@
1
- /**
2
- * Predefined icon status states
3
- * @public
4
- */
5
- export declare enum IconStatus {
6
- Fail = "fail",
7
- Warning = "warning",
8
- Pass = "pass",
9
- Regular = "regular"
10
- }
11
- export declare type IconStatusAttribute = `${IconStatus}`;
@@ -1,12 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-add-icon': AddIcon;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'add' icon
9
- */
10
- export declare class AddIcon extends Icon {
11
- constructor();
12
- }
@@ -1,142 +0,0 @@
1
- export { AddIcon } from './add';
2
- export { ArrowDownRightAndArrowUpLeftIcon } from './arrow-down-right-and-arrow-up-left';
3
- export { ArrowExpanderDownIcon } from './arrow-expander-down';
4
- export { ArrowExpanderLeftIcon } from './arrow-expander-left';
5
- export { ArrowExpanderRightIcon } from './arrow-expander-right';
6
- export { ArrowExpanderUpIcon } from './arrow-expander-up';
7
- export { ArrowLeftFromLineIcon } from './arrow-left-from-line';
8
- export { ArrowPartialRotateLeftIcon } from './arrow-partial-rotate-left';
9
- export { ArrowRightToLineIcon } from './arrow-right-to-line';
10
- export { ArrowRotateRightIcon } from './arrow-rotate-right';
11
- export { ArrowURotateLeftIcon } from './arrow-u-rotate-left';
12
- export { ArrowUpLeftAndArrowDownRightIcon } from './arrow-up-left-and-arrow-down-right';
13
- export { ArrowsMaximizeIcon } from './arrows-maximize';
14
- export { ArrowsRepeatIcon } from './arrows-repeat';
15
- export { BarsIcon } from './bars';
16
- export { BellIcon } from './bell';
17
- export { BellAndCommentIcon } from './bell-and-comment';
18
- export { BellCircleIcon } from './bell-circle';
19
- export { BellSolidCircleIcon } from './bell-solid-circle';
20
- export { BlockWithRibbonIcon } from './block-with-ribbon';
21
- export { CalendarIcon } from './calendar';
22
- export { ChartDiagramIcon } from './chart-diagram';
23
- export { ChartDiagramChildFocusIcon } from './chart-diagram-child-focus';
24
- export { ChartDiagramParentFocusIcon } from './chart-diagram-parent-focus';
25
- export { ChartDiagramParentFocusTwoChildIcon } from './chart-diagram-parent-focus-two-child';
26
- export { CheckIcon } from './check';
27
- export { CheckDotIcon } from './check-dot';
28
- export { CircleIcon } from './circle';
29
- export { CircleBrokenIcon } from './circle-broken';
30
- export { CircleCheckIcon } from './circle-check';
31
- export { CirclePartialBrokenIcon } from './circle-partial-broken';
32
- export { CircleSlashIcon } from './circle-slash';
33
- export { CircleXIcon } from './circle-x';
34
- export { ClipboardIcon } from './clipboard';
35
- export { ClockIcon } from './clock';
36
- export { ClockCogIcon } from './clock-cog';
37
- export { ClockTriangleIcon } from './clock-triangle';
38
- export { CloneIcon } from './clone';
39
- export { CloudUploadIcon } from './cloud-upload';
40
- export { CloudWithArrowIcon } from './cloud-with-arrow';
41
- export { CogIcon } from './cog';
42
- export { CogDatabaseIcon } from './cog-database';
43
- export { CogDatabaseInsetIcon } from './cog-database-inset';
44
- export { CogSmallCogIcon } from './cog-small-cog';
45
- export { CogZoomedIcon } from './cog-zoomed';
46
- export { CommentIcon } from './comment';
47
- export { ComputerAndMonitorIcon } from './computer-and-monitor';
48
- export { CopyIcon } from './copy';
49
- export { CopyTextIcon } from './copy-text';
50
- export { DashboardBuilderIcon } from './dashboard-builder';
51
- export { DashboardBuilderLegendIcon } from './dashboard-builder-legend';
52
- export { DashboardBuilderTemplatesIcon } from './dashboard-builder-templates';
53
- export { DashboardBuilderTileIcon } from './dashboard-builder-tile';
54
- export { DatabaseIcon } from './database';
55
- export { DatabaseCheckIcon } from './database-check';
56
- export { DesktopIcon } from './desktop';
57
- export { DonutChartIcon } from './donut-chart';
58
- export { DotSolidDotStrokeIcon } from './dot-solid-dot-stroke';
59
- export { DownloadIcon } from './download';
60
- export { ElectronicChipZoomedIcon } from './electronic-chip-zoomed';
61
- export { ExclamationMarkIcon } from './exclamation-mark';
62
- export { EyeIcon } from './eye';
63
- export { FancyAIcon } from './fancy-a';
64
- export { FileIcon } from './file';
65
- export { FileDrawerIcon } from './file-drawer';
66
- export { FileSearchIcon } from './file-search';
67
- export { FilterIcon } from './filter';
68
- export { FloppyDiskCheckmarkIcon } from './floppy-disk-checkmark';
69
- export { FloppyDiskStarArrowRightIcon } from './floppy-disk-star-arrow-right';
70
- export { FloppyDiskThreeDotsIcon } from './floppy-disk-three-dots';
71
- export { FolderIcon } from './folder';
72
- export { FolderOpenIcon } from './folder-open';
73
- export { ForwardSlashIcon } from './forward-slash';
74
- export { FourDotsSquareIcon } from './four-dots-square';
75
- export { FunctionIcon } from './function';
76
- export { GaugeSimpleIcon } from './gauge-simple';
77
- export { GridThreeByThreeIcon } from './grid-three-by-three';
78
- export { GridTwoByTwoIcon } from './grid-two-by-two';
79
- export { HammerIcon } from './hammer';
80
- export { HashtagIcon } from './hashtag';
81
- export { HomeIcon } from './home';
82
- export { HourglassIcon } from './hourglass';
83
- export { IndeterminantCheckboxIcon } from './indeterminant-checkbox';
84
- export { InfoIcon } from './info';
85
- export { InfoCircleIcon } from './info-circle';
86
- export { KeyIcon } from './key';
87
- export { LaptopIcon } from './laptop';
88
- export { LayerGroupIcon } from './layer-group';
89
- export { LightningBoltIcon } from './lightning-bolt';
90
- export { LinkIcon } from './link';
91
- export { LinkCancelIcon } from './link-cancel';
92
- export { ListIcon } from './list';
93
- export { ListTreeIcon } from './list-tree';
94
- export { ListTreeDatabaseIcon } from './list-tree-database';
95
- export { LockIcon } from './lock';
96
- export { MagnifyingGlassIcon } from './magnifying-glass';
97
- export { MarkdownIcon } from './markdown';
98
- export { MinusIcon } from './minus';
99
- export { MinusWideIcon } from './minus-wide';
100
- export { MobileIcon } from './mobile';
101
- export { NotebookIcon } from './notebook';
102
- export { PasteIcon } from './paste';
103
- export { PencilIcon } from './pencil';
104
- export { PotWithLidIcon } from './pot-with-lid';
105
- export { QuestionIcon } from './question';
106
- export { RunningArrowIcon } from './running-arrow';
107
- export { ServerIcon } from './server';
108
- export { ShareSquareIcon } from './share-square';
109
- export { ShieldCheckIcon } from './shield-check';
110
- export { ShieldXmarkIcon } from './shield-xmark';
111
- export { SignalBarsIcon } from './signal-bars';
112
- export { SineGraphIcon } from './sine-graph';
113
- export { SkipArrowIcon } from './skip-arrow';
114
- export { SpinnerIcon } from './spinner';
115
- export { SquareCheckIcon } from './square-check';
116
- export { SquareTIcon } from './square-t';
117
- export { TIcon } from './t';
118
- export { TabletIcon } from './tablet';
119
- export { TagIcon } from './tag';
120
- export { TagsIcon } from './tags';
121
- export { TargetCrosshairsIcon } from './target-crosshairs';
122
- export { TargetCrosshairsProgressIcon } from './target-crosshairs-progress';
123
- export { ThreeDotsLineIcon } from './three-dots-line';
124
- export { ThumbtackIcon } from './thumbtack';
125
- export { TileSizeIcon } from './tile-size';
126
- export { TimesIcon } from './times';
127
- export { TrashIcon } from './trash';
128
- export { TriangleIcon } from './triangle';
129
- export { TrueFalseRectangleIcon } from './true-false-rectangle';
130
- export { UnlinkIcon } from './unlink';
131
- export { UnlockIcon } from './unlock';
132
- export { UploadIcon } from './upload';
133
- export { UserIcon } from './user';
134
- export { WatchIcon } from './watch';
135
- export { WaveformIcon } from './waveform';
136
- export { WebviCustomIcon } from './webvi-custom';
137
- export { WebviHostIcon } from './webvi-host';
138
- export { WindowCodeIcon } from './window-code';
139
- export { WindowTextIcon } from './window-text';
140
- export { WrenchHammerIcon } from './wrench-hammer';
141
- export { XmarkIcon } from './xmark';
142
- export { XmarkCheckIcon } from './xmark-check';
@@ -1,12 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-arrow-down-right-and-arrow-up-left-icon': ArrowDownRightAndArrowUpLeftIcon;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'arrowDownRightAndArrowUpLeft' icon
9
- */
10
- export declare class ArrowDownRightAndArrowUpLeftIcon extends Icon {
11
- constructor();
12
- }
@@ -1,12 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-arrow-expander-down-icon': ArrowExpanderDownIcon;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'arrowExpanderDown' icon
9
- */
10
- export declare class ArrowExpanderDownIcon extends Icon {
11
- constructor();
12
- }
@@ -1,12 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-arrow-expander-left-icon': ArrowExpanderLeftIcon;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'arrowExpanderLeft' icon
9
- */
10
- export declare class ArrowExpanderLeftIcon extends Icon {
11
- constructor();
12
- }
@@ -1,12 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-arrow-expander-right-icon': ArrowExpanderRightIcon;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'arrowExpanderRight' icon
9
- */
10
- export declare class ArrowExpanderRightIcon extends Icon {
11
- constructor();
12
- }
@@ -1,12 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-arrow-expander-up-icon': ArrowExpanderUpIcon;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'arrowExpanderUp' icon
9
- */
10
- export declare class ArrowExpanderUpIcon extends Icon {
11
- constructor();
12
- }
@@ -1,12 +0,0 @@
1
- import { Icon } from '../icon-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'nimble-arrow-left-from-line-icon': ArrowLeftFromLineIcon;
5
- }
6
- }
7
- /**
8
- * The icon component for the 'arrowLeftFromLine' icon
9
- */
10
- export declare class ArrowLeftFromLineIcon extends Icon {
11
- constructor();
12
- }