@getflip/swirl-components 0.230.1 → 0.233.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/components.json +442 -5
  2. package/dist/cjs/file-manager.cjs.entry.js +1 -1
  3. package/dist/cjs/index-6aba64ed.js +20 -12
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/swirl-components.cjs.js +1 -1
  6. package/dist/cjs/swirl-tree-view-item.cjs.entry.js +87 -0
  7. package/dist/cjs/swirl-tree-view.cjs.entry.js +212 -0
  8. package/dist/cjs/swirl-video-thumbnail.cjs.entry.js +1 -1
  9. package/dist/cjs/swirl-visually-hidden.cjs.entry.js +1 -1
  10. package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
  11. package/dist/collection/collection-manifest.json +2 -0
  12. package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.spec.js +1 -1
  13. package/dist/collection/components/swirl-shell-navigation-item/swirl-shell-navigation-item.spec.js +1 -1
  14. package/dist/collection/components/swirl-tree-view/swirl-tree-view.css +15 -0
  15. package/dist/collection/components/swirl-tree-view/swirl-tree-view.js +314 -0
  16. package/dist/collection/components/swirl-tree-view/swirl-tree-view.spec.js +193 -0
  17. package/dist/collection/components/swirl-tree-view/swirl-tree-view.stories.js +36 -0
  18. package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.css +127 -0
  19. package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.js +300 -0
  20. package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.spec.js +66 -0
  21. package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.stories.js +23 -0
  22. package/dist/collection/components/swirl-video-thumbnail/swirl-video-thumbnail.js +1 -1
  23. package/dist/collection/components/swirl-visually-hidden/swirl-visually-hidden.js +1 -1
  24. package/dist/collection/prototypes/file-manager/file-manager.js +1 -1
  25. package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
  26. package/dist/components/file-manager.js +1 -1
  27. package/dist/components/index.js +4 -0
  28. package/dist/components/index2.js +4 -4
  29. package/dist/components/swirl-accordion-item.js +2 -2
  30. package/dist/components/swirl-action-list-item2.js +2 -2
  31. package/dist/components/swirl-app-bar.js +2 -2
  32. package/dist/components/swirl-app-icon.js +2 -2
  33. package/dist/components/swirl-app-layout2.js +2 -2
  34. package/dist/components/swirl-autocomplete.js +2 -2
  35. package/dist/components/swirl-avatar-group.js +3 -3
  36. package/dist/components/swirl-avatar.js +4 -4
  37. package/dist/components/swirl-badge2.js +2 -2
  38. package/dist/components/swirl-banner.js +2 -2
  39. package/dist/components/swirl-box2.js +2 -2
  40. package/dist/components/swirl-button-group2.js +2 -2
  41. package/dist/components/swirl-button2.js +2 -2
  42. package/dist/components/swirl-card.js +2 -2
  43. package/dist/components/swirl-carousel-slide.js +2 -2
  44. package/dist/components/swirl-checkbox.js +2 -2
  45. package/dist/components/swirl-chip.js +2 -2
  46. package/dist/components/swirl-color-input.js +2 -2
  47. package/dist/components/swirl-console-layout.js +2 -2
  48. package/dist/components/swirl-date-input.js +2 -2
  49. package/dist/components/swirl-description-list-item.js +2 -2
  50. package/dist/components/swirl-dialog.js +2 -2
  51. package/dist/components/swirl-emoji-clap.js +2 -2
  52. package/dist/components/swirl-emoji-happy.js +2 -2
  53. package/dist/components/swirl-emoji-idea.js +2 -2
  54. package/dist/components/swirl-emoji-love.js +2 -2
  55. package/dist/components/swirl-emoji-sad.js +2 -2
  56. package/dist/components/swirl-emoji-thumbs-up.js +2 -2
  57. package/dist/components/swirl-empty-state2.js +2 -2
  58. package/dist/components/swirl-file-uploader.js +2 -2
  59. package/dist/components/swirl-file-viewer-pdf2.js +2 -2
  60. package/dist/components/swirl-form-control.js +2 -2
  61. package/dist/components/swirl-form-group.js +2 -2
  62. package/dist/components/swirl-heading2.js +2 -2
  63. package/dist/components/swirl-icon-add-moderator.js +2 -2
  64. package/dist/components/swirl-icon-add-photo.js +2 -2
  65. package/dist/components/swirl-icon-add-reaction.js +2 -2
  66. package/dist/components/swirl-icon-add2.js +2 -2
  67. package/dist/components/swirl-icon-admin-panel-settings.js +2 -2
  68. package/dist/components/swirl-icon-ai.js +2 -2
  69. package/dist/components/swirl-icon-apps.js +2 -2
  70. package/dist/components/swirl-icon-arrow-back2.js +2 -2
  71. package/dist/components/swirl-icon-arrow-downward2.js +2 -2
  72. package/dist/components/swirl-icon-arrow-forward2.js +2 -2
  73. package/dist/components/swirl-icon-arrow-left2.js +2 -2
  74. package/dist/components/swirl-icon-arrow-right-small.js +2 -2
  75. package/dist/components/swirl-icon-arrow-right2.js +2 -2
  76. package/dist/components/swirl-icon-arrow-upward2.js +2 -2
  77. package/dist/components/swirl-icon-aspect-ratio.js +2 -2
  78. package/dist/components/swirl-icon-attachment.js +2 -2
  79. package/dist/components/swirl-icon-bar-chart.js +2 -2
  80. package/dist/components/swirl-icon-block.js +2 -2
  81. package/dist/components/swirl-icon-bookmark-filled.js +2 -2
  82. package/dist/components/swirl-icon-bookmark.js +2 -2
  83. package/dist/components/swirl-icon-cancel2.js +2 -2
  84. package/dist/components/swirl-icon-chat-bubble.js +2 -2
  85. package/dist/components/swirl-icon-chats-filled.js +2 -2
  86. package/dist/components/swirl-icon-chats.js +2 -2
  87. package/dist/components/swirl-icon-check-circle2.js +2 -2
  88. package/dist/components/swirl-icon-check-small2.js +2 -2
  89. package/dist/components/swirl-icon-check-strong2.js +2 -2
  90. package/dist/components/swirl-icon-check.js +2 -2
  91. package/dist/components/swirl-icon-chevron-left.js +2 -2
  92. package/dist/components/swirl-icon-chevron-right.js +1 -40
  93. package/dist/components/swirl-icon-chevron-right2.js +42 -0
  94. package/dist/components/swirl-icon-close-small.js +2 -2
  95. package/dist/components/swirl-icon-close2.js +2 -2
  96. package/dist/components/swirl-icon-cloud-upload2.js +2 -2
  97. package/dist/components/swirl-icon-column.js +2 -2
  98. package/dist/components/swirl-icon-comment.js +2 -2
  99. package/dist/components/swirl-icon-copy.js +2 -2
  100. package/dist/components/swirl-icon-crop.js +2 -2
  101. package/dist/components/swirl-icon-dark-mode.js +2 -2
  102. package/dist/components/swirl-icon-date-range.js +2 -2
  103. package/dist/components/swirl-icon-delete.js +2 -2
  104. package/dist/components/swirl-icon-description.js +2 -2
  105. package/dist/components/swirl-icon-desktop.js +2 -2
  106. package/dist/components/swirl-icon-directory-filled.js +2 -2
  107. package/dist/components/swirl-icon-directory.js +2 -2
  108. package/dist/components/swirl-icon-discover.js +2 -2
  109. package/dist/components/swirl-icon-dock-left-collapse2.js +2 -2
  110. package/dist/components/swirl-icon-dock-left-expand2.js +2 -2
  111. package/dist/components/swirl-icon-dock-left.js +2 -2
  112. package/dist/components/swirl-icon-dot.js +2 -2
  113. package/dist/components/swirl-icon-double-arrow-left2.js +2 -2
  114. package/dist/components/swirl-icon-double-arrow-right.js +2 -2
  115. package/dist/components/swirl-icon-download.js +2 -2
  116. package/dist/components/swirl-icon-drag-handle2.js +2 -2
  117. package/dist/components/swirl-icon-edit.js +2 -2
  118. package/dist/components/swirl-icon-emoji-mood.js +2 -2
  119. package/dist/components/swirl-icon-emoji-satisfied.js +2 -2
  120. package/dist/components/swirl-icon-error2.js +2 -2
  121. package/dist/components/swirl-icon-expand-less2.js +2 -2
  122. package/dist/components/swirl-icon-expand-more2.js +2 -2
  123. package/dist/components/swirl-icon-experiment.js +2 -2
  124. package/dist/components/swirl-icon-file-copy2.js +2 -2
  125. package/dist/components/swirl-icon-file2.js +2 -2
  126. package/dist/components/swirl-icon-filter.js +2 -2
  127. package/dist/components/swirl-icon-folder-shared2.js +2 -2
  128. package/dist/components/swirl-icon-folder.js +2 -2
  129. package/dist/components/swirl-icon-format-h-one.js +2 -2
  130. package/dist/components/swirl-icon-fullscreen-exit2.js +2 -2
  131. package/dist/components/swirl-icon-fullscreen2.js +2 -2
  132. package/dist/components/swirl-icon-gif.js +2 -2
  133. package/dist/components/swirl-icon-group-add.js +2 -2
  134. package/dist/components/swirl-icon-group-assign.js +2 -2
  135. package/dist/components/swirl-icon-groups-filled.js +2 -2
  136. package/dist/components/swirl-icon-groups.js +2 -2
  137. package/dist/components/swirl-icon-hamburger-menu.js +2 -2
  138. package/dist/components/swirl-icon-help2.js +2 -2
  139. package/dist/components/swirl-icon-highlight.js +2 -2
  140. package/dist/components/swirl-icon-history.js +2 -2
  141. package/dist/components/swirl-icon-home.js +2 -2
  142. package/dist/components/swirl-icon-image.js +2 -2
  143. package/dist/components/swirl-icon-improve-text.js +2 -2
  144. package/dist/components/swirl-icon-info2.js +2 -2
  145. package/dist/components/swirl-icon-insert-below.js +2 -2
  146. package/dist/components/swirl-icon-insert-on-top.js +2 -2
  147. package/dist/components/swirl-icon-inventory.js +2 -2
  148. package/dist/components/swirl-icon-keyboard-hide.js +2 -2
  149. package/dist/components/swirl-icon-keyboard.js +2 -2
  150. package/dist/components/swirl-icon-light-mode.js +2 -2
  151. package/dist/components/swirl-icon-like.js +2 -2
  152. package/dist/components/swirl-icon-link.js +2 -2
  153. package/dist/components/swirl-icon-load.js +2 -2
  154. package/dist/components/swirl-icon-lock-open.js +2 -2
  155. package/dist/components/swirl-icon-lock-person.js +2 -2
  156. package/dist/components/swirl-icon-lock.js +2 -2
  157. package/dist/components/swirl-icon-login.js +2 -2
  158. package/dist/components/swirl-icon-logout.js +2 -2
  159. package/dist/components/swirl-icon-long-text.js +2 -2
  160. package/dist/components/swirl-icon-mail.js +2 -2
  161. package/dist/components/swirl-icon-manage-accounts.js +2 -2
  162. package/dist/components/swirl-icon-mark-chat-read.js +2 -2
  163. package/dist/components/swirl-icon-mark-chat-unread.js +2 -2
  164. package/dist/components/swirl-icon-mention.js +2 -2
  165. package/dist/components/swirl-icon-menu-book2.js +2 -2
  166. package/dist/components/swirl-icon-menu-filled.js +2 -2
  167. package/dist/components/swirl-icon-menu.js +2 -2
  168. package/dist/components/swirl-icon-message.js +2 -2
  169. package/dist/components/swirl-icon-mic-off.js +2 -2
  170. package/dist/components/swirl-icon-mic.js +2 -2
  171. package/dist/components/swirl-icon-more-horizontal.js +2 -2
  172. package/dist/components/swirl-icon-more-vertikal2.js +2 -2
  173. package/dist/components/swirl-icon-news-filled.js +2 -2
  174. package/dist/components/swirl-icon-news-off.js +2 -2
  175. package/dist/components/swirl-icon-news.js +2 -2
  176. package/dist/components/swirl-icon-notifications-active.js +2 -2
  177. package/dist/components/swirl-icon-notifications-off.js +2 -2
  178. package/dist/components/swirl-icon-notifications.js +2 -2
  179. package/dist/components/swirl-icon-open-in-full.js +2 -2
  180. package/dist/components/swirl-icon-open-in-new.js +2 -2
  181. package/dist/components/swirl-icon-pause-circle.js +2 -2
  182. package/dist/components/swirl-icon-pause.js +2 -2
  183. package/dist/components/swirl-icon-people-alt.js +2 -2
  184. package/dist/components/swirl-icon-person-off.js +2 -2
  185. package/dist/components/swirl-icon-person2.js +2 -2
  186. package/dist/components/swirl-icon-phone.js +2 -2
  187. package/dist/components/swirl-icon-photo-camera.js +2 -2
  188. package/dist/components/swirl-icon-pin-off.js +2 -2
  189. package/dist/components/swirl-icon-pin.js +2 -2
  190. package/dist/components/swirl-icon-place.js +2 -2
  191. package/dist/components/swirl-icon-play-arrow.js +2 -2
  192. package/dist/components/swirl-icon-poll.js +2 -2
  193. package/dist/components/swirl-icon-print.js +2 -2
  194. package/dist/components/swirl-icon-public-off.js +2 -2
  195. package/dist/components/swirl-icon-public.js +2 -2
  196. package/dist/components/swirl-icon-ratio-four-to-three.js +2 -2
  197. package/dist/components/swirl-icon-ratio-freeform.js +2 -2
  198. package/dist/components/swirl-icon-ratio-sixteen-to-nine.js +2 -2
  199. package/dist/components/swirl-icon-ratio-square.js +2 -2
  200. package/dist/components/swirl-icon-ratio-three-to-four.js +2 -2
  201. package/dist/components/swirl-icon-ratio-three-to-two.js +2 -2
  202. package/dist/components/swirl-icon-recieved.js +2 -2
  203. package/dist/components/swirl-icon-remove-circle.js +2 -2
  204. package/dist/components/swirl-icon-remove-moderator.js +2 -2
  205. package/dist/components/swirl-icon-remove2.js +2 -2
  206. package/dist/components/swirl-icon-reply.js +2 -2
  207. package/dist/components/swirl-icon-report.js +2 -2
  208. package/dist/components/swirl-icon-roadmap.js +2 -2
  209. package/dist/components/swirl-icon-rotate-left.js +2 -2
  210. package/dist/components/swirl-icon-rotate-right.js +2 -2
  211. package/dist/components/swirl-icon-search-strong.js +2 -2
  212. package/dist/components/swirl-icon-search2.js +2 -2
  213. package/dist/components/swirl-icon-secure.js +2 -2
  214. package/dist/components/swirl-icon-send.js +2 -2
  215. package/dist/components/swirl-icon-settings.js +2 -2
  216. package/dist/components/swirl-icon-short-text.js +2 -2
  217. package/dist/components/swirl-icon-simplify.js +2 -2
  218. package/dist/components/swirl-icon-spellcheck.js +2 -2
  219. package/dist/components/swirl-icon-stop.js +2 -2
  220. package/dist/components/swirl-icon-sync.js +2 -2
  221. package/dist/components/swirl-icon-tasks-filled.js +2 -2
  222. package/dist/components/swirl-icon-tasks.js +2 -2
  223. package/dist/components/swirl-icon-terminal.js +2 -2
  224. package/dist/components/swirl-icon-time-filled.js +2 -2
  225. package/dist/components/swirl-icon-time.js +2 -2
  226. package/dist/components/swirl-icon-today-filled.js +2 -2
  227. package/dist/components/swirl-icon-today2.js +2 -2
  228. package/dist/components/swirl-icon-translate.js +2 -2
  229. package/dist/components/swirl-icon-tree-structure.js +2 -2
  230. package/dist/components/swirl-icon-undo.js +2 -2
  231. package/dist/components/swirl-icon-unlock-person.js +2 -2
  232. package/dist/components/swirl-icon-user-add.js +2 -2
  233. package/dist/components/swirl-icon-user-assign.js +2 -2
  234. package/dist/components/swirl-icon-video-camera-off.js +2 -2
  235. package/dist/components/swirl-icon-video-camera.js +2 -2
  236. package/dist/components/swirl-icon-video-library.js +2 -2
  237. package/dist/components/swirl-icon-visibility-off2.js +2 -2
  238. package/dist/components/swirl-icon-visibility2.js +2 -2
  239. package/dist/components/swirl-icon-voice.js +2 -2
  240. package/dist/components/swirl-icon-warning2.js +2 -2
  241. package/dist/components/swirl-icon-web-asset-off.js +2 -2
  242. package/dist/components/swirl-icon-web-asset.js +2 -2
  243. package/dist/components/swirl-icon-work.js +2 -2
  244. package/dist/components/swirl-image-grid-item.js +2 -2
  245. package/dist/components/swirl-image-grid.js +2 -2
  246. package/dist/components/swirl-inline-error2.js +2 -2
  247. package/dist/components/swirl-inline-notification.js +2 -2
  248. package/dist/components/swirl-inline-status.js +2 -2
  249. package/dist/components/swirl-lightbox.js +2 -2
  250. package/dist/components/swirl-link.js +2 -2
  251. package/dist/components/swirl-menu-item.js +2 -2
  252. package/dist/components/swirl-menu.js +2 -2
  253. package/dist/components/swirl-modal.js +2 -2
  254. package/dist/components/swirl-option-list-item2.js +2 -2
  255. package/dist/components/swirl-pagination.js +2 -2
  256. package/dist/components/swirl-pdf-reader.js +3 -3
  257. package/dist/components/swirl-popover2.js +2 -2
  258. package/dist/components/swirl-progress-indicator2.js +2 -2
  259. package/dist/components/swirl-radio.js +2 -2
  260. package/dist/components/swirl-resource-list-file-item.js +2 -2
  261. package/dist/components/swirl-resource-list-item2.js +2 -2
  262. package/dist/components/swirl-search.js +2 -2
  263. package/dist/components/swirl-select.js +2 -2
  264. package/dist/components/swirl-separator2.js +2 -2
  265. package/dist/components/swirl-shell-layout.js +2 -2
  266. package/dist/components/swirl-shell-navigation-item.js +3 -3
  267. package/dist/components/swirl-skeleton-box.js +2 -2
  268. package/dist/components/swirl-skeleton-text.js +3 -3
  269. package/dist/components/swirl-spinner2.js +2 -2
  270. package/dist/components/swirl-stack2.js +2 -2
  271. package/dist/components/swirl-status-indicator.js +2 -2
  272. package/dist/components/swirl-switch.js +2 -2
  273. package/dist/components/swirl-symbol-account-circle.js +2 -2
  274. package/dist/components/swirl-symbol-alternate-email.js +2 -2
  275. package/dist/components/swirl-symbol-android.js +2 -2
  276. package/dist/components/swirl-symbol-announcement.js +2 -2
  277. package/dist/components/swirl-symbol-backup.js +2 -2
  278. package/dist/components/swirl-symbol-beach-access.js +2 -2
  279. package/dist/components/swirl-symbol-bookmark.js +2 -2
  280. package/dist/components/swirl-symbol-cloud.js +2 -2
  281. package/dist/components/swirl-symbol-coronavirus.js +2 -2
  282. package/dist/components/swirl-symbol-desktop-windows.js +2 -2
  283. package/dist/components/swirl-symbol-directions-car-filled.js +2 -2
  284. package/dist/components/swirl-symbol-edit-calendar.js +2 -2
  285. package/dist/components/swirl-symbol-email.js +2 -2
  286. package/dist/components/swirl-symbol-emoji-food-beverage.js +2 -2
  287. package/dist/components/swirl-symbol-event-menu.js +2 -2
  288. package/dist/components/swirl-symbol-facebook.js +2 -2
  289. package/dist/components/swirl-symbol-favorite.js +2 -2
  290. package/dist/components/swirl-symbol-fitness-center.js +2 -2
  291. package/dist/components/swirl-symbol-flag.js +2 -2
  292. package/dist/components/swirl-symbol-folder.js +2 -2
  293. package/dist/components/swirl-symbol-globe.js +2 -2
  294. package/dist/components/swirl-symbol-groups.js +2 -2
  295. package/dist/components/swirl-symbol-help.js +2 -2
  296. package/dist/components/swirl-symbol-image.js +2 -2
  297. package/dist/components/swirl-symbol-info-menu.js +2 -2
  298. package/dist/components/swirl-symbol-instagram.js +2 -2
  299. package/dist/components/swirl-symbol-ios.js +2 -2
  300. package/dist/components/swirl-symbol-language.js +2 -2
  301. package/dist/components/swirl-symbol-leaderboard.js +2 -2
  302. package/dist/components/swirl-symbol-lightbulb.js +2 -2
  303. package/dist/components/swirl-symbol-linkedin.js +2 -2
  304. package/dist/components/swirl-symbol-location-on.js +2 -2
  305. package/dist/components/swirl-symbol-loyalty.js +2 -2
  306. package/dist/components/swirl-symbol-maps-home-work.js +2 -2
  307. package/dist/components/swirl-symbol-notifications.js +2 -2
  308. package/dist/components/swirl-symbol-open-in-new.js +2 -2
  309. package/dist/components/swirl-symbol-pedal-bike.js +2 -2
  310. package/dist/components/swirl-symbol-pinterest.js +2 -2
  311. package/dist/components/swirl-symbol-policy.js +2 -2
  312. package/dist/components/swirl-symbol-push-pin.js +2 -2
  313. package/dist/components/swirl-symbol-redeem.js +2 -2
  314. package/dist/components/swirl-symbol-report-problem.js +2 -2
  315. package/dist/components/swirl-symbol-restaurant.js +2 -2
  316. package/dist/components/swirl-symbol-roadmap.js +2 -2
  317. package/dist/components/swirl-symbol-room.js +2 -2
  318. package/dist/components/swirl-symbol-savings.js +2 -2
  319. package/dist/components/swirl-symbol-settings-voice.js +2 -2
  320. package/dist/components/swirl-symbol-shopping-cart.js +2 -2
  321. package/dist/components/swirl-symbol-smartphone.js +2 -2
  322. package/dist/components/swirl-symbol-star.js +2 -2
  323. package/dist/components/swirl-symbol-supervisor-account.js +2 -2
  324. package/dist/components/swirl-symbol-thumbs-up-down.js +2 -2
  325. package/dist/components/swirl-symbol-twitter.js +2 -2
  326. package/dist/components/swirl-symbol-wb-sunny.js +2 -2
  327. package/dist/components/swirl-symbol-wechat.js +2 -2
  328. package/dist/components/swirl-symbol-weibo.js +2 -2
  329. package/dist/components/swirl-symbol-work.js +2 -2
  330. package/dist/components/swirl-symbol-xing.js +2 -2
  331. package/dist/components/swirl-symbol-youtube.js +2 -2
  332. package/dist/components/swirl-tab-bar2.js +3 -3
  333. package/dist/components/swirl-tab.js +2 -2
  334. package/dist/components/swirl-table-row.js +2 -2
  335. package/dist/components/swirl-tag2.js +2 -2
  336. package/dist/components/swirl-text-input2.js +2 -2
  337. package/dist/components/swirl-text2.js +2 -2
  338. package/dist/components/swirl-thumbnail2.js +2 -2
  339. package/dist/components/swirl-time-input.js +2 -2
  340. package/dist/components/swirl-toast2.js +2 -2
  341. package/dist/components/swirl-tooltip2.js +2 -2
  342. package/dist/components/swirl-tree-navigation-item.js +2 -2
  343. package/dist/components/swirl-tree-view-item.d.ts +11 -0
  344. package/dist/components/swirl-tree-view-item.js +132 -0
  345. package/dist/components/swirl-tree-view.d.ts +11 -0
  346. package/dist/components/swirl-tree-view.js +230 -0
  347. package/dist/components/swirl-video-thumbnail.js +1 -1
  348. package/dist/components/swirl-visually-hidden2.js +1 -1
  349. package/dist/esm/file-manager.entry.js +1 -1
  350. package/dist/esm/index-2d054a87.js +20 -12
  351. package/dist/esm/loader.js +1 -1
  352. package/dist/esm/swirl-components.js +1 -1
  353. package/dist/esm/swirl-tree-view-item.entry.js +83 -0
  354. package/dist/esm/swirl-tree-view.entry.js +208 -0
  355. package/dist/esm/swirl-video-thumbnail.entry.js +1 -1
  356. package/dist/esm/swirl-visually-hidden.entry.js +1 -1
  357. package/dist/swirl-components/{p-587a0bab.entry.js → p-06335e41.entry.js} +1 -1
  358. package/dist/swirl-components/p-77357e84.entry.js +1 -0
  359. package/dist/swirl-components/{p-d2cf7884.entry.js → p-a6d1f15d.entry.js} +1 -1
  360. package/dist/swirl-components/p-e1aab223.entry.js +1 -0
  361. package/dist/swirl-components/p-fb443d8f.entry.js +1 -0
  362. package/dist/swirl-components/swirl-components.esm.js +1 -1
  363. package/dist/types/components/swirl-tree-view/swirl-tree-view.d.ts +30 -0
  364. package/dist/types/components/swirl-tree-view/swirl-tree-view.stories.d.ts +14 -0
  365. package/dist/types/components/swirl-tree-view-item/swirl-tree-view-item.d.ts +30 -0
  366. package/dist/types/components/swirl-tree-view-item/swirl-tree-view-item.stories.d.ts +14 -0
  367. package/dist/types/components.d.ts +79 -0
  368. package/package.json +1 -1
  369. package/vscode-data.json +42 -0
  370. package/dist/swirl-components/p-b547bb55.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
 
4
4
  const swirlSymbolCss = ":host{display:inline-flex}";
5
5
  const SwirlSymbolXingStyle0 = swirlSymbolCss;
@@ -13,7 +13,7 @@ const SwirlSymbolXing$1 = /*@__PURE__*/ proxyCustomElement(class SwirlSymbolXing
13
13
  }
14
14
  render() {
15
15
  const viewBoxSize = this.size === 20 ? 24 : this.size;
16
- const className = classnames("swirl-symbol", `swirl-symbol--size-${this.size}`);
16
+ const className = classNames("swirl-symbol", `swirl-symbol--size-${this.size}`);
17
17
  return (h("svg", { key: 'b69b18ff07dc6f6e2f64622c993c3bc171dcb978', class: className, fill: "none", height: this.size, part: "symbol", viewBox: `0 0 ${viewBoxSize} ${viewBoxSize}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, h(Fragment, { key: '3567d722748819656b26d273e2bb67ba24eac43c' }, h("path", { key: 'abf026e488369fdeb63528d5aaccf975dd15432c', d: "M17.158 2.128C16.9889 2.13178 16.8248 2.18623 16.687 2.28428C16.5492 2.38234 16.444 2.51949 16.385 2.678C16.385 2.678 10.173 13.698 9.967 14.059C9.98 14.079 14.067 21.578 14.067 21.578C14.1342 21.7375 14.246 21.8742 14.389 21.9717C14.5319 22.0693 14.7 22.1235 14.873 22.128H17.751C17.8257 22.1338 17.9006 22.1199 17.9683 22.0878C18.036 22.0557 18.0942 22.0065 18.137 21.945C18.1743 21.8762 18.1933 21.7989 18.192 21.7206C18.1908 21.6423 18.1694 21.5656 18.13 21.498L14.063 14.068C14.0614 14.0653 14.0606 14.0622 14.0606 14.059C14.0606 14.0558 14.0614 14.0527 14.063 14.05L20.45 2.758C20.4882 2.68988 20.5082 2.61309 20.5082 2.535C20.5082 2.4569 20.4882 2.38012 20.45 2.312C20.4084 2.25141 20.3518 2.20262 20.2857 2.17038C20.2197 2.13813 20.1464 2.12353 20.073 2.128H17.158ZM5.041 6.078C4.96541 6.07176 4.88949 6.08504 4.8205 6.11656C4.75151 6.14808 4.69177 6.19678 4.647 6.258C4.61116 6.32697 4.59388 6.40408 4.59686 6.48175C4.59984 6.55942 4.62298 6.63498 4.664 6.701L6.613 10.076V10.093L3.551 15.504C3.5116 15.5708 3.49081 15.6469 3.49081 15.7245C3.49081 15.8021 3.5116 15.8782 3.551 15.945C3.59031 16.0081 3.64585 16.0595 3.71182 16.0938C3.77779 16.1281 3.85176 16.1441 3.926 16.14H6.81C6.98108 16.1336 7.14662 16.0776 7.2865 15.9789C7.42639 15.8802 7.5346 15.743 7.598 15.584L10.709 10.076L8.728 6.614C8.66239 6.45468 8.55179 6.31791 8.40972 6.22042C8.26765 6.12292 8.10026 6.06892 7.928 6.065H5.041V6.078Z", fill: "currentColor" }))));
18
18
  }
19
19
  static get style() { return SwirlSymbolXingStyle0; }
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
 
4
4
  const swirlSymbolCss = ":host{display:inline-flex}";
5
5
  const SwirlSymbolYoutubeStyle0 = swirlSymbolCss;
@@ -13,7 +13,7 @@ const SwirlSymbolYoutube$1 = /*@__PURE__*/ proxyCustomElement(class SwirlSymbolY
13
13
  }
14
14
  render() {
15
15
  const viewBoxSize = this.size === 20 ? 24 : this.size;
16
- const className = classnames("swirl-symbol", `swirl-symbol--size-${this.size}`);
16
+ const className = classNames("swirl-symbol", `swirl-symbol--size-${this.size}`);
17
17
  return (h("svg", { key: '3a4f02fabaeaafbb2109961cd55ddc71ab1e5f0c', class: className, fill: "none", height: this.size, part: "symbol", viewBox: `0 0 ${viewBoxSize} ${viewBoxSize}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, h(Fragment, { key: '881aa8e8833804804eb0a2797c23534e423bc9ee' }, h("path", { key: 'dbb413ee1e8bc56431a62ca9244a0b08da2fa70f', d: "M21.582 7.201C21.4691 6.77542 21.2463 6.38698 20.936 6.07459C20.6257 5.76219 20.2388 5.5368 19.814 5.421C18.254 5 12 5 12 5C12 5 5.74599 5 4.18599 5.421C3.76123 5.5369 3.37436 5.76231 3.06408 6.0747C2.7538 6.38708 2.53101 6.77547 2.41799 7.201C2.12953 8.79965 1.9896 10.4216 1.99999 12.046C1.9896 13.6704 2.12953 15.2923 2.41799 16.891C2.53092 17.3166 2.75368 17.705 3.06397 18.0174C3.37426 18.3298 3.76118 18.5552 4.18599 18.671C5.74499 19.092 11.999 19.092 11.999 19.092C11.999 19.092 18.253 19.092 19.813 18.671C20.2378 18.5553 20.6248 18.3299 20.9351 18.0175C21.2454 17.7051 21.4682 17.3166 21.581 16.891C21.8695 15.2923 22.0098 13.6705 22 12.046C22.0104 10.4216 21.8704 8.79965 21.582 7.201ZM9.95399 15.019V9.072L15.181 12.045L9.95399 15.019Z", fill: "currentColor" }))));
18
18
  }
19
19
  static get style() { return SwirlSymbolYoutubeStyle0; }
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
 
4
4
  const swirlTabBarCss = ".sc-swirl-tab-bar-h{display:flex;height:var(--swirl-tab-bar-height)}.sc-swirl-tab-bar-h *.sc-swirl-tab-bar{box-sizing:border-box}.tab-bar.sc-swirl-tab-bar{position:relative;display:flex;width:100%;justify-content:flex-start;border-bottom:var(--swirl-tab-bar-border-width) solid var(--s-border-default)}.tab-bar--justify-evenly.sc-swirl-tab-bar>*.sc-swirl-tab-bar{flex:1}.tab-bar__tab.sc-swirl-tab-bar{position:relative;display:flex;min-width:0;margin:0;padding:var(--s-space-4) var(--s-space-8);align-items:center;border:none;color:var(--s-interactive-neutral-default);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-lg);cursor:pointer;justify-content:center}.tab-bar__tab.sc-swirl-tab-bar:focus{outline:none}.tab-bar__tab.sc-swirl-tab-bar:focus-visible .tab-bar__tab-label.sc-swirl-tab-bar{border-radius:var(--s-border-radius-s);box-shadow:inset 0 0 0 0.125rem var(--s-focus-default)}.tab-bar__tab.sc-swirl-tab-bar:not(.tab-bar__tab--active):hover:after{position:absolute;bottom:0;left:50%;width:calc(100% - var(--s-space-8));height:0.1875rem;border-radius:0.125rem;background-color:var(--s-border-default);content:\"\";transform:translateX(-50%);pointer-events:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tab-bar__tab.sc-swirl-tab-bar{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);padding:calc(var(--s-space-4) + var(--s-space-2)) var(--s-space-8)}}.tab-bar__tab-icon.sc-swirl-tab-bar{display:inline-flex}.tab-bar__tab-label.sc-swirl-tab-bar{display:inline-flex;overflow:hidden;padding:var(--s-space-8) var(--s-space-8);text-align:center;white-space:nowrap;text-overflow:ellipsis}.tab-bar__tab--active.sc-swirl-tab-bar{color:var(--s-text-highlight)}.tab-bar__tab--active.sc-swirl-tab-bar:after{position:absolute;bottom:0;left:50%;width:calc(100% - var(--s-space-8));height:0.1875rem;border-radius:0.125rem;background-color:var(--s-border-highlight);content:\"\";transform:translateX(-50%);pointer-events:none}";
5
5
  const SwirlTabBarStyle0 = swirlTabBarCss;
@@ -29,7 +29,7 @@ const SwirlTabBar = /*@__PURE__*/ proxyCustomElement(class SwirlTabBar extends H
29
29
  this.tabs = [];
30
30
  }
31
31
  render() {
32
- const className = classnames("tab-bar", `tab-bar--justify-${this.justify}`);
32
+ const className = classNames("tab-bar", `tab-bar--justify-${this.justify}`);
33
33
  const styles = {
34
34
  paddingInlineEnd: Boolean(this.paddingInlineEnd)
35
35
  ? `var(--s-space-${this.paddingInlineEnd})`
@@ -39,7 +39,7 @@ const SwirlTabBar = /*@__PURE__*/ proxyCustomElement(class SwirlTabBar extends H
39
39
  : undefined,
40
40
  };
41
41
  return (h(Host, { key: '938a675f7d69c9ad600f241b492721a60a06f1a1' }, h("div", { key: 'f01a2b68038cfccf77961afa000ec9ab605e2e8d', "aria-label": this.label, class: className, onKeyDown: this.onKeyDown, role: this.disableTabSemantics ? undefined : "tablist", style: styles }, this.tabs.map((tab) => {
42
- const className = classnames("tab-bar__tab", {
42
+ const className = classNames("tab-bar__tab", {
43
43
  "tab-bar__tab--active": tab.active,
44
44
  });
45
45
  return (h("button", { "aria-controls": this.disableTabSemantics ? undefined : tab.id, "aria-selected": this.disableTabSemantics
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
 
4
4
  const swirlTabCss = ":host{display:none;width:100%}:host(.tab--active){display:block}:host *{box-sizing:border-box}";
5
5
  const SwirlTabStyle0 = swirlTabCss;
@@ -16,7 +16,7 @@ const SwirlTab$1 = /*@__PURE__*/ proxyCustomElement(class SwirlTab extends HTMLE
16
16
  this.tabId = undefined;
17
17
  }
18
18
  render() {
19
- const className = classnames("tab", { "tab--active": this.active });
19
+ const className = classNames("tab", { "tab--active": this.active });
20
20
  return (h(Host, { key: '0b92b5bb9fb189043912cdd2b02ffb766b1ede47', "aria-labelledby": `tab-${this.tabId}`, id: this.tabId, role: "tabpanel", tabIndex: this.active ? 0 : -1, class: className, style: { padding: `var(--s-space-${this.padding})` } }, h("slot", { key: 'ff55da0ccfc76b9386de33e57c2182a380ddc722' })));
21
21
  }
22
22
  static get style() { return SwirlTabStyle0; }
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
  import { c as closestPassShadow } from './utils.js';
4
4
 
5
5
  const swirlTableRowCss = ":host{display:flex}:host(.table-row--highlighted){--swirl-ghost-button-background-default:transparent}:host(.table-row--highlighted) ::slotted(.table-cell){background-color:rgba(240, 242, 255, 1);}:host ::slotted(.table-cell){border-bottom:var(--s-border-width-default) solid var(--s-border-default)}:host *{box-sizing:border-box}";
@@ -18,7 +18,7 @@ const SwirlTableRow$1 = /*@__PURE__*/ proxyCustomElement(class SwirlTableRow ext
18
18
  table?.rerender();
19
19
  }
20
20
  render() {
21
- const className = classnames("table-row", {
21
+ const className = classNames("table-row", {
22
22
  "table-row--highlighted": this.highlighted,
23
23
  });
24
24
  return (h(Host, { key: '08c79d4018d8395e4e5250a6ea21de50ac89ce8a', "aria-rowindex": this.index, class: className, role: "row" }, h("slot", { key: '32d468ee348c26eb99ffc1ccc5d884f2e1b151cf' })));
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
  import { d as defineCustomElement$1 } from './swirl-icon-close2.js';
4
4
 
5
5
  const swirlTagCss = ":host{display:inline-flex;max-width:100%}:host *{box-sizing:border-box}.tag{display:inline-flex;max-width:100%;align-items:center;border-radius:var(--s-border-radius-s);color:var(--s-text-default);background-color:var(--swirl-tag-background-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);white-space:nowrap;gap:var(--s-space-4)}.tag--size-s{padding:var(--s-space-0) var(--s-space-4)}.tag--size-m{padding:var(--s-space-2) var(--s-space-8)}.tag--variant-outline{border-style:solid;border-width:var(--s-border-width-default);border-color:var(--s-border-strong)}.tag--variant-strong{color:var(--s-text-on-action-primary);background-color:var(--s-surface-neutral-default)}.tag--variant-strong .tag__removal-button{color:var(--s-icon-on-action-primary)}.tag--intent-info{color:var(--s-text-info);background-color:var(--s-surface-info-subdued)}.tag--intent-info .tag__removal-button{color:var(--s-icon-info)}.tag--intent-info.tag--variant-outline{border-color:var(--s-border-info)}.tag--intent-info.tag--variant-strong{color:var(--s-text-on-action-primary);background-color:var(--s-surface-info-default)}.tag--intent-info.tag--variant-strong .tag__removal-button{color:var(--s-icon-on-action-primary)}.tag--intent-critical{color:var(--s-text-critical);background-color:var(--s-surface-critical-subdued)}.tag--intent-critical .tag__removal-button{color:var(--s-icon-critical)}.tag--intent-critical.tag--variant-outline{border-color:var(--s-border-critical)}.tag--intent-critical.tag--variant-strong{color:var(--s-text-on-action-primary);background-color:var(--s-surface-critical-default)}.tag--intent-critical.tag--variant-strong .tag__removal-button{color:var(--s-icon-on-action-primary)}.tag--intent-warning{color:var(--s-text-warning);background-color:var(--s-surface-warning-subdued)}.tag--intent-warning .tag__removal-button{color:var(--s-icon-warning)}.tag--intent-warning.tag--variant-outline{border-color:var(--s-border-warning)}.tag--intent-warning.tag--variant-strong{color:var(--s-text-dark);background-color:var(--s-surface-warning-default)}.tag--intent-warning.tag--variant-strong .tag__removal-button{color:var(--s-icon-dark)}.tag--intent-success{color:var(--s-text-success);background-color:var(--s-surface-success-subdued)}.tag--intent-success .tag__removal-button{color:var(--s-icon-success)}.tag--intent-success.tag--variant-outline{border-color:var(--s-border-success)}.tag--intent-success.tag--variant-strong{color:var(--s-text-on-action-primary);background-color:var(--s-surface-success-default)}.tag--intent-success.tag--variant-strong .tag__removal-button{color:var(--s-icon-on-action-primary)}.tag--intent-special{color:var(--s-decorative-grape-text);background-color:var(--s-decorative-grape-surface-subdued)}.tag--intent-special .tag__removal-button{color:var(--s-decorative-grape-text)}.tag--intent-special.tag--variant-outline{border-color:var(--s-decorative-grape-text)}.tag--intent-special.tag--variant-strong{color:var(--s-text-on-action-primary);background-color:var(--s-decorative-grape-surface)}.tag--intent-special.tag--variant-strong .tag__removal-button{color:var(--s-icon-on-action-primary)}.tag--intent-translucent{color:var(--s-text-on-image);background-color:var(--s-surface-on-image-default)}.tag--intent-translucent .tag__removal-button{color:var(--s-icon-on-image)}.tag--intent-translucent.tag--variant-outline{border-color:var(--s-text-on-image)}.tag__icon{display:inline-flex;margin-left:calc(-1 * var(--s-space-4))}.tag__label{overflow:hidden;min-width:0;white-space:nowrap;text-overflow:ellipsis}.tag__removal-button{display:inline-flex;margin-right:calc(-1 * var(--s-space-4));padding:0;border:none;color:var(--s-icon-strong);background-color:transparent;cursor:pointer}.tag__removal-button:focus:not(:focus-visible){outline:none}.tag__removal-button:focus-visible{outline-color:var(--s-focus-default)}";
@@ -40,7 +40,7 @@ const SwirlTag = /*@__PURE__*/ proxyCustomElement(class SwirlTag extends HTMLEle
40
40
  }
41
41
  }
42
42
  render() {
43
- const className = classnames("tag", `tag--intent-${this.intent}`, `tag--size-${this.size}`, `tag--variant-${this.variant}`);
43
+ const className = classNames("tag", `tag--intent-${this.intent}`, `tag--size-${this.size}`, `tag--variant-${this.variant}`);
44
44
  return (h(Host, { key: '4f3801dc7f9872b38bc0340c6a8b859f0f7f545e' }, h("span", { key: 'cc5d10bc2b4f1a27584beea293da156920aa248e', class: className, part: "tag" }, this.icon && (h("span", { key: 'ddce7d37fc8ab9391c9ac1fb3e3533535f47c022', class: "tag__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), h("span", { key: 'afd46af752a3c62ed8e26c073bcdd32e56fe91c4', class: "tag__label" }, this.label), this.removable && (h("button", { key: '46c87dd90a1e9f0f288f18b20ee750906aa2c01c', "aria-label": this.removalButtonLabel, class: "tag__removal-button", onClick: this.onRemove, tabIndex: this.el.ariaHidden === "true" ? -1 : undefined, type: "button" }, h("swirl-icon-close", { key: 'a183448bc380d12d1b2ca99d9c9df50175fc627e', size: 16 }))))));
45
45
  }
46
46
  get el() { return this; }
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
  import { g as getDesktopMediaQuery } from './utils.js';
4
4
  import { d as defineCustomElement$5 } from './swirl-icon-cancel2.js';
5
5
  import { d as defineCustomElement$4 } from './swirl-icon-expand-less2.js';
@@ -182,7 +182,7 @@ const SwirlTextInput = /*@__PURE__*/ proxyCustomElement(class SwirlTextInput ext
182
182
  !showStepper &&
183
183
  !this.showCharacterCounter;
184
184
  const type = this.type === "password" && this.showPassword ? "text" : this.type;
185
- const className = classnames("text-input", `text-input--font-size-${this.fontSize}`, `text-input--type-${this.type}`, {
185
+ const className = classNames("text-input", `text-input--font-size-${this.fontSize}`, `text-input--type-${this.type}`, {
186
186
  "text-input--auto-grow": this.autoGrow,
187
187
  "text-input--clearable": this.clearable,
188
188
  "text-input--disabled": this.disabled,
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as commonjsGlobal } from './_commonjsHelpers.js';
3
- import { c as classnames } from './index2.js';
3
+ import { c as classNames } from './index2.js';
4
4
 
5
5
  var balancetext = {exports: {}};
6
6
 
@@ -978,7 +978,7 @@ const SwirlText = /*@__PURE__*/ proxyCustomElement(class SwirlText extends HTMLE
978
978
  render() {
979
979
  const Tag = this.as;
980
980
  const truncate = this.truncate && (!Boolean(this.lines) || this.lines === 1);
981
- const className = classnames("text", `text--align-${this.align}`, `text--color-${this.color}`, `text--font-family-${this.fontFamily}`, `text--font-style-${this.fontStyle}`, `text--size-${this.size}`, `text--truncate-direction-${this.truncateDirection}`, `text--weight-${this.weight}`, {
981
+ const className = classNames("text", `text--align-${this.align}`, `text--color-${this.color}`, `text--font-family-${this.fontFamily}`, `text--font-style-${this.fontStyle}`, `text--size-${this.size}`, `text--truncate-direction-${this.truncateDirection}`, `text--weight-${this.weight}`, {
982
982
  "text--truncate": truncate,
983
983
  "text--responsive": this.responsive,
984
984
  });
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
  import { d as defineCustomElement$4 } from './swirl-button2.js';
4
4
  import { d as defineCustomElement$3 } from './swirl-button-group2.js';
5
5
  import { d as defineCustomElement$2 } from './swirl-progress-indicator2.js';
@@ -39,7 +39,7 @@ const SwirlThumbnail = /*@__PURE__*/ proxyCustomElement(class SwirlThumbnail ext
39
39
  const showButtonGroup = showEditButton || showRemoveButton;
40
40
  const showTimestamp = Boolean(this.timestamp) && showInteractable;
41
41
  const ImageWrapper = this.interactive ? "button" : "span";
42
- const className = classnames("thumbnail", `thumbnail--format-${this.format}`, `thumbnail--size-${this.size}`, {
42
+ const className = classNames("thumbnail", `thumbnail--format-${this.format}`, `thumbnail--size-${this.size}`, {
43
43
  "thumbnail--interactive": this.interactive,
44
44
  "thumbnail--has-progress": this.progress !== undefined,
45
45
  });
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
  import { p as parse, i as isValid, f as format, m as maska } from './maska.js';
4
4
  import { g as getDesktopMediaQuery } from './utils.js';
5
5
 
@@ -122,7 +122,7 @@ const SwirlTimeInput$1 = /*@__PURE__*/ proxyCustomElement(class SwirlTimeInput e
122
122
  const displayValue = isValid(dateValue)
123
123
  ? format(dateValue, this.format)
124
124
  : undefined;
125
- const className = classnames("time-input", {
125
+ const className = classNames("time-input", {
126
126
  "time-input--inline": this.inline,
127
127
  });
128
128
  return (h(Host, { key: '2bb507836032c0d1dda9204edc739bcac4e9b0ef' }, h("div", { key: '2d60afcb5846554b16098e392faf8dbe57923cc4', class: className }, h("input", { key: '6e15b219a2e5bbc16d69b319bceb12e31d738ccd', "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-invalid": ariaInvalid, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, inputmode: "numeric", onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, onInput: this.onInput, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), required: this.required, type: "text", value: displayValue }), h("span", { key: '6a133dc058c386b00e131399be73e96e61ca20a9', class: "time-input__icon" }, h("swirl-icon-time-outlined", { key: 'fa224e112781bca97588c2713ccf0df8d169adbc', size: this.iconSize })))));
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
  import { g as getDesktopMediaQuery } from './utils.js';
4
4
  import { d as defineCustomElement$1 } from './swirl-icon-close2.js';
5
5
 
@@ -61,7 +61,7 @@ const SwirlToast = /*@__PURE__*/ proxyCustomElement(class SwirlToast extends HTM
61
61
  this.timeout = undefined;
62
62
  }
63
63
  render() {
64
- const className = classnames("toast", `toast--intent-${this.intent}`);
64
+ const className = classNames("toast", `toast--intent-${this.intent}`);
65
65
  return (h(Host, { key: '74552715fe709d5a56de877114c219e34e933d3f' }, h("div", { key: '912b2c811f1ad202d8ed3338418e180fbd8c8e80', class: className }, this.icon && (h("span", { key: 'b33cda7199cea684828b5380cabfcaeb43379158', class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (el) => (this.iconEl = el) })), h("span", { key: 'b0326da56c13d5b7398c76af880f08ddeec6ec1e', class: "toast__content", innerHTML: this.content, part: "toast__content" }, h("slot", { key: 'b9dd6a1f6dffa84d914f3856927ad231f0f1876d' })), h("button", { key: 'a1cb910c86672285a2fc48f607bd9255f1fb1177', "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && (h("swirl-icon-close", { key: '5eb94e0e527275387fddc1e21b33d14e999d42be', ref: (el) => (this.dismissIconEl = el) }))))));
66
66
  }
67
67
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { b as arrow, c as computePosition, a as autoUpdate, o as offset, s as shift, f as flip } from './floating-ui.dom.esm.js';
3
- import { c as classnames } from './index2.js';
3
+ import { c as classNames } from './index2.js';
4
4
 
5
5
  const swirlTooltipCss = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host *{box-sizing:border-box}.tooltip{display:contents}.tooltip--active .tooltip__popper{display:block}.tooltip--visible .tooltip__popper{animation:tooltip-fade-in 0.15s;animation-delay:0.1s;animation-fill-mode:forwards;opacity:0}.tooltip--actual-placement-top .tooltip__arrow{top:calc(100% - 0.0625rem);transform:translate3d(0, -50%, 0) rotate(45deg)}.tooltip--actual-placement-bottom .tooltip__arrow{bottom:calc(100% - 0.0625rem);transform:translate3d(0, 50%, 0) rotate(45deg)}.tooltip--actual-placement-left .tooltip__arrow{left:calc(100% - 0.0625rem);transform:translate3d(-50%, 0, 0) rotate(45deg)}.tooltip--actual-placement-right .tooltip__arrow{right:calc(100% - 0.0625rem);transform:translate3d(50%, 0, 0) rotate(45deg)}.tooltip .tooltip__reference{display:contents}.tooltip__popper{position:absolute;z-index:var(--s-z-40);display:none;max-width:17.5rem;opacity:0}.tooltip__bubble{position:relative;display:block;padding-top:var(--s-space-8);padding-right:var(--s-space-12);padding-bottom:calc(var(--s-space-8) + 0.0625rem);padding-left:var(--s-space-12);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);line-height:var(--s-line-height-base);box-shadow:var(--s-shadow-level-2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tooltip__bubble{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.tooltip__content{white-space:normal}.tooltip__arrow{position:absolute;width:0.6875rem;height:0.6875rem;border-radius:0.125rem;background-color:var(--s-surface-neutral-default)}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}";
6
6
  const SwirlTooltipStyle0 = swirlTooltipCss;
@@ -101,7 +101,7 @@ const SwirlTooltip = /*@__PURE__*/ proxyCustomElement(class SwirlTooltip extends
101
101
  this.updateOptions();
102
102
  }
103
103
  render() {
104
- const className = classnames("tooltip", `tooltip--actual-placement-${this.actualPosition?.placement}`, {
104
+ const className = classNames("tooltip", `tooltip--actual-placement-${this.actualPosition?.placement}`, {
105
105
  "tooltip--active": this.active,
106
106
  "tooltip--visible": this.visible,
107
107
  });
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
2
+ import { c as classNames } from './index2.js';
3
3
 
4
4
  const swirlTreeNavigationItemCss = ":host{display:inline-flex;width:100%}:host *{box-sizing:border-box}.tree-navigation-item{display:inline-flex;width:100%;height:2.5rem;padding-right:var(--s-space-16);padding-left:calc(var(--s-space-16) + 1.5rem + var(--s-space-8));flex-shrink:0;justify-content:flex-start;align-items:center;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);text-decoration:none;cursor:pointer;gap:calc(var(--s-space-8) - var(--s-space-2))}.tree-navigation-item:hover{background-color:var(--s-surface-hovered)}.tree-navigation-item:active{background-color:var(--s-surface-pressed)}.tree-navigation-item:focus{outline:none}.tree-navigation-item:focus-visible .tree-navigation-item__label{border-radius:var(--s-border-radius-xs);box-shadow:0 0 0 0.125rem var(--s-focus-default)}.tree-navigation-item--active{background-color:var(--s-surface-raised-default);box-shadow:inset 0.25rem 0 0 0 var(--s-border-highlight)}.tree-navigation-item--active:hover{background-color:var(--s-surface-raised-hovered)}.tree-navigation-item--active:active{background-color:var(--s-surface-raised-pressed)}.tree-navigation-item--has-icon{padding-left:var(--s-space-16)}.tree-navigation-item__icon{display:inline-flex;flex-shrink:0}.tree-navigation-item__label{overflow:hidden;min-width:0;padding-right:var(--s-space-2);padding-left:var(--s-space-2);white-space:nowrap;text-overflow:ellipsis}";
5
5
  const SwirlTreeNavigationItemStyle0 = swirlTreeNavigationItemCss;
@@ -18,7 +18,7 @@ const SwirlTreeNavigationItem$1 = /*@__PURE__*/ proxyCustomElement(class SwirlTr
18
18
  render() {
19
19
  const isLink = Boolean(this.href);
20
20
  const Tag = isLink ? "a" : "button";
21
- const className = classnames("tree-navigation-item", {
21
+ const className = classNames("tree-navigation-item", {
22
22
  "tree-navigation-item--active": this.active,
23
23
  "tree-navigation-item--has-icon": Boolean(this.icon),
24
24
  });
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface SwirlTreeViewItem extends Components.SwirlTreeViewItem, HTMLElement {}
4
+ export const SwirlTreeViewItem: {
5
+ prototype: SwirlTreeViewItem;
6
+ new (): SwirlTreeViewItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,132 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host, Fragment } from '@stencil/core/internal/client';
2
+ import { c as classNames } from './index2.js';
3
+ import { d as defineCustomElement$4 } from './swirl-icon2.js';
4
+ import { d as defineCustomElement$3 } from './swirl-icon-chevron-right2.js';
5
+ import { d as defineCustomElement$2 } from './swirl-icon-expand-more2.js';
6
+
7
+ const swirlTreeViewItemCss = ".sc-swirl-tree-view-item-h{display:block;flex-grow:1}.sc-swirl-tree-view-item-h *.sc-swirl-tree-view-item{box-sizing:border-box}.tree-view-item.sc-swirl-tree-view-item{list-style:none}.tree-view-item--active.sc-swirl-tree-view-item>.tree-view-item__link.sc-swirl-tree-view-item{background-color:var(--s-background-hovered)}.tree-view-item--has-tags.sc-swirl-tree-view-item .tree-view-item__tags.sc-swirl-tree-view-item{display:flex}.tree-view-item__children.sc-swirl-tree-view-item{display:flex;margin:0;padding:0;flex-direction:column;gap:var(--s-space-2)}.tree-view-item__link.sc-swirl-tree-view-item{display:flex;height:2.25rem;padding:var(--s-space-4) var(--s-space-8) var(--s-space-4) var(--s-space-4);align-items:center;border-radius:var(--s-border-radius-sm);color:var(--s-text-default);background-color:var(--s-background-default);font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-medium);text-decoration:none;gap:var(--s-space-4)}.tree-view-item__link.sc-swirl-tree-view-item:hover{background-color:var(--s-background-hovered)}.tree-view-item__link.sc-swirl-tree-view-item:active{background-color:var(--s-background-pressed)}.tree-view-item__link.sc-swirl-tree-view-item:focus:not(:focus-visible){outline:none}.tree-view-item__link.sc-swirl-tree-view-item:focus-visible{outline-color:var(--s-focus-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tree-view-item__link.sc-swirl-tree-view-item{font-size:var(--s-font-size-sm)}}.tree-view-item__icon.sc-swirl-tree-view-item{display:block;width:1.5rem;height:1.5rem;margin-right:var(--s-space-4);flex-grow:0;flex-shrink:0;color:var(--s-icon-default);font-size:var(--s-font-size-lg)}.tree-view-item__icon.sc-swirl-tree-view-item .sc-swirl-tree-view-item::part(icon){width:100%;height:100%}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tree-view-item__icon.sc-swirl-tree-view-item{width:1.25rem;height:1.25rem;font-size:var(--s-font-size-base)}}.tree-view-item__toggle-icon.sc-swirl-tree-view-item{display:block;width:1.5rem;height:1.5rem;flex-grow:0;flex-shrink:0;color:var(--s-icon-default)}.tree-view-item__toggle-icon.sc-swirl-tree-view-item .sc-swirl-tree-view-item::part(icon){width:100%;height:100%}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tree-view-item__toggle-icon.sc-swirl-tree-view-item{width:1.25rem;height:1.25rem}}.tree-view-item__label.sc-swirl-tree-view-item{overflow:hidden;min-width:5rem;flex-grow:1;white-space:nowrap;text-overflow:ellipsis}.tree-view-item__tags.sc-swirl-tree-view-item{display:none;padding-left:var(--s-space-4);align-items:center;gap:var(--s-space-4)}";
8
+ const SwirlTreeViewItemStyle0 = swirlTreeViewItemCss;
9
+
10
+ const SwirlTreeViewItem$1 = /*@__PURE__*/ proxyCustomElement(class SwirlTreeViewItem extends HTMLElement {
11
+ constructor() {
12
+ super();
13
+ this.__registerHost();
14
+ this.expandedChange = createEvent(this, "expandedChange", 7);
15
+ this.itemSelected = createEvent(this, "itemSelected", 7);
16
+ this.onFocus = () => {
17
+ if (!this.selected) {
18
+ this.select();
19
+ }
20
+ };
21
+ this.onClickCollapse = (event) => {
22
+ event.preventDefault();
23
+ event.stopPropagation();
24
+ this.collapse();
25
+ };
26
+ this.onClickExpand = (event) => {
27
+ event.preventDefault();
28
+ event.stopPropagation();
29
+ this.expand();
30
+ };
31
+ this.active = undefined;
32
+ this.href = undefined;
33
+ this.icon = undefined;
34
+ this.itemId = undefined;
35
+ this.label = undefined;
36
+ this.expanded = false;
37
+ this.hasChildren = false;
38
+ this.level = 0;
39
+ this.selected = false;
40
+ }
41
+ componentWillLoad() {
42
+ this.updateLevel();
43
+ this.hasChildren = Boolean(this.el.querySelector("swirl-tree-view-item"));
44
+ }
45
+ async expand() {
46
+ this.expanded = true;
47
+ this.expandedChange.emit(this.expanded);
48
+ }
49
+ async collapse() {
50
+ this.expanded = false;
51
+ this.expandedChange.emit(this.expanded);
52
+ }
53
+ async select(focus) {
54
+ this.selected = true;
55
+ if (focus) {
56
+ this.link?.focus();
57
+ }
58
+ this.itemSelected.emit(this.el);
59
+ }
60
+ async unselect() {
61
+ this.selected = false;
62
+ }
63
+ updateLevel() {
64
+ let parentItem = this.el.parentElement?.closest("swirl-tree-view-item");
65
+ while (Boolean(parentItem)) {
66
+ this.level += 1;
67
+ parentItem = parentItem.parentElement?.closest("swirl-tree-view-item");
68
+ }
69
+ }
70
+ render() {
71
+ const hasTags = Boolean(this.el.querySelector('[slot="tags"]'));
72
+ const iconIsEmoji = Boolean(this.icon) && /\p{Extended_Pictographic}/u.test(this.icon);
73
+ const className = classNames("tree-view-item", {
74
+ "tree-view-item--active": this.active,
75
+ "tree-view-item--has-tags": hasTags,
76
+ });
77
+ return (h(Host, { key: '177446baadd42d3508d8c3fead6b179e26feedde', id: this.itemId, role: "none" }, h("li", { key: '72d29bdca3bbb72f398e4d481bdce1f2ce70b0a1', class: className, role: "none" }, h("a", { key: '6eb8a17c4b7982dd3445b9c7f24ecbc80a621ec6', "aria-current": this.active ? "page" : undefined, "aria-expanded": !this.hasChildren ? undefined : String(this.expanded), "aria-level": this.level + 1, "aria-owns": this.hasChildren ? `${this.itemId}-children` : undefined, "aria-selected": String(this.selected), class: "tree-view-item__link", href: this.href, onFocus: this.onFocus, style: {
78
+ paddingLeft: `calc(${this.level} * var(--s-space-12) + var(--s-space-4))`,
79
+ }, ref: (el) => (this.link = el), role: "treeitem", tabIndex: this.selected ? 0 : -1 }, h("span", { key: '72ab5ef8765690990f04bb76d7dc610b4ae18f3b', class: "tree-view-item__toggle-icon" }, this.hasChildren && (h(Fragment, { key: 'b6809cfdd91b53eb4d37c94ce899933daeb85020' }, this.expanded ? (h("swirl-icon-expand-more", { onClick: this.onClickCollapse, size: 24 })) : (h("swirl-icon-chevron-right", { onClick: this.onClickExpand, size: 24 }))))), Boolean(this.icon) && (h(Fragment, { key: '040fccdd39595e4988b515257cd0a7fdb62a74e1' }, h("span", { key: '9a8121ef9e3b7e5a508345259550216ed02e6337', class: "tree-view-item__icon" }, iconIsEmoji ? (this.icon) : (h("swirl-icon", { glyph: this.icon, size: 24 }))))), h("span", { key: '113f4b3cd34284bd6c0b022f8ca3d0fc8e28a5a1', class: "tree-view-item__label" }, this.label), h("span", { key: 'b3b1efebbaf2b6e254d90570fba4ce61c5bd979b', class: "tree-view-item__tags" }, h("slot", { key: 'f27e893394cd489ff21a36651b5cac353fbdf78e', name: "tags" }))), h("ul", { key: '3618fcdd7471c7642ed5d1aa566d9ca7615b9a6b', "aria-label": this.label, class: "tree-view-item__children", id: `${this.itemId}-children`, role: "group", style: {
80
+ display: !this.expanded || !this.hasChildren ? "none" : undefined,
81
+ } }, h("slot", { key: 'caa44b704e4de4d2dbd6a297830d2d3d9453038e' })))));
82
+ }
83
+ get el() { return this; }
84
+ static get style() { return SwirlTreeViewItemStyle0; }
85
+ }, [6, "swirl-tree-view-item", {
86
+ "active": [4],
87
+ "href": [1],
88
+ "icon": [1],
89
+ "itemId": [1, "item-id"],
90
+ "label": [1],
91
+ "expanded": [32],
92
+ "hasChildren": [32],
93
+ "level": [32],
94
+ "selected": [32],
95
+ "expand": [64],
96
+ "collapse": [64],
97
+ "select": [64],
98
+ "unselect": [64]
99
+ }]);
100
+ function defineCustomElement$1() {
101
+ if (typeof customElements === "undefined") {
102
+ return;
103
+ }
104
+ const components = ["swirl-tree-view-item", "swirl-icon", "swirl-icon-chevron-right", "swirl-icon-expand-more"];
105
+ components.forEach(tagName => { switch (tagName) {
106
+ case "swirl-tree-view-item":
107
+ if (!customElements.get(tagName)) {
108
+ customElements.define(tagName, SwirlTreeViewItem$1);
109
+ }
110
+ break;
111
+ case "swirl-icon":
112
+ if (!customElements.get(tagName)) {
113
+ defineCustomElement$4();
114
+ }
115
+ break;
116
+ case "swirl-icon-chevron-right":
117
+ if (!customElements.get(tagName)) {
118
+ defineCustomElement$3();
119
+ }
120
+ break;
121
+ case "swirl-icon-expand-more":
122
+ if (!customElements.get(tagName)) {
123
+ defineCustomElement$2();
124
+ }
125
+ break;
126
+ } });
127
+ }
128
+
129
+ const SwirlTreeViewItem = SwirlTreeViewItem$1;
130
+ const defineCustomElement = defineCustomElement$1;
131
+
132
+ export { SwirlTreeViewItem, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface SwirlTreeView extends Components.SwirlTreeView, HTMLElement {}
4
+ export const SwirlTreeView: {
5
+ prototype: SwirlTreeView;
6
+ new (): SwirlTreeView;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;