@getflip/swirl-components 0.403.0 → 0.405.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 (123) hide show
  1. package/components.json +200 -17
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/swirl-app-layout_5.cjs.entry.js +4 -2
  4. package/dist/cjs/swirl-components.cjs.js +1 -1
  5. package/dist/cjs/swirl-icon-arrow-left_4.cjs.entry.js +1 -1
  6. package/dist/cjs/swirl-icon-error_3.cjs.entry.js +1 -1
  7. package/dist/cjs/swirl-search.cjs.entry.js +1 -1
  8. package/dist/cjs/swirl-shell-layout.cjs.entry.js +6 -6
  9. package/dist/cjs/swirl-shell-navigation-item.cjs.entry.js +2 -2
  10. package/dist/cjs/swirl-skeleton-box.cjs.entry.js +2 -2
  11. package/dist/cjs/swirl-skeleton-text.cjs.entry.js +1 -1
  12. package/dist/cjs/swirl-status-indicator.cjs.entry.js +1 -1
  13. package/dist/cjs/swirl-switch.cjs.entry.js +2 -2
  14. package/dist/cjs/swirl-tab-bar.cjs.entry.js +1 -1
  15. package/dist/cjs/swirl-tab.cjs.entry.js +1 -1
  16. package/dist/cjs/swirl-table-column.cjs.entry.js +1 -1
  17. package/dist/cjs/swirl-table.cjs.entry.js +1 -1
  18. package/dist/cjs/swirl-tag.cjs.entry.js +1 -1
  19. package/dist/cjs/swirl-text.cjs.entry.js +1 -1
  20. package/dist/cjs/swirl-toast-provider.cjs.entry.js +1 -1
  21. package/dist/cjs/swirl-toast.cjs.entry.js +1 -1
  22. package/dist/cjs/swirl-toggle-group.cjs.entry.js +1 -1
  23. package/dist/cjs/swirl-toolbar.cjs.entry.js +1 -1
  24. package/dist/cjs/swirl-tooltip.cjs.entry.js +42 -40
  25. package/dist/collection/collection-manifest.json +1 -1
  26. package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.css +0 -1
  27. package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.js +48 -1
  28. package/dist/collection/components/swirl-search/swirl-search.js +1 -1
  29. package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.js +6 -6
  30. package/dist/collection/components/swirl-shell-navigation-item/swirl-shell-navigation-item.js +2 -2
  31. package/dist/collection/components/swirl-skeleton-box/swirl-skeleton-box.js +2 -2
  32. package/dist/collection/components/swirl-skeleton-text/swirl-skeleton-text.js +1 -1
  33. package/dist/collection/components/swirl-spinner/swirl-spinner.js +1 -1
  34. package/dist/collection/components/swirl-status-indicator/swirl-status-indicator.js +1 -1
  35. package/dist/collection/components/swirl-switch/swirl-switch.js +2 -2
  36. package/dist/collection/components/swirl-tab/swirl-tab.js +1 -1
  37. package/dist/collection/components/swirl-tab-bar/swirl-tab-bar.js +1 -1
  38. package/dist/collection/components/swirl-table/swirl-table.js +1 -1
  39. package/dist/collection/components/swirl-table-column/swirl-table-column.js +1 -1
  40. package/dist/collection/components/swirl-tag/swirl-tag.js +1 -1
  41. package/dist/collection/components/swirl-text/swirl-text.js +1 -1
  42. package/dist/collection/components/swirl-thumbnail/swirl-thumbnail.js +1 -1
  43. package/dist/collection/components/swirl-toast/swirl-toast.js +1 -1
  44. package/dist/collection/components/swirl-toast-provider/swirl-toast-provider.js +1 -1
  45. package/dist/collection/components/swirl-toggle-group/swirl-toggle-group.js +1 -1
  46. package/dist/collection/components/swirl-toolbar/swirl-toolbar.js +1 -1
  47. package/dist/collection/components/swirl-tooltip/swirl-tooltip.css +3 -4
  48. package/dist/collection/components/swirl-tooltip/swirl-tooltip.js +124 -50
  49. package/dist/components/assets/pdfjs/pdf.worker.min.mjs +1 -1
  50. package/dist/components/file-manager.js +64 -58
  51. package/dist/components/swirl-resource-list-item2.js +20 -10
  52. package/dist/components/swirl-search.js +1 -1
  53. package/dist/components/swirl-shell-layout.js +6 -6
  54. package/dist/components/swirl-shell-navigation-item.js +2 -2
  55. package/dist/components/swirl-skeleton-box2.js +2 -2
  56. package/dist/components/swirl-skeleton-text.js +1 -1
  57. package/dist/components/swirl-spinner2.js +1 -1
  58. package/dist/components/swirl-status-indicator.js +1 -1
  59. package/dist/components/swirl-switch.js +2 -2
  60. package/dist/components/swirl-tab-bar2.js +1 -1
  61. package/dist/components/swirl-tab.js +1 -1
  62. package/dist/components/swirl-table-column.js +1 -1
  63. package/dist/components/swirl-table.js +1 -1
  64. package/dist/components/swirl-tag2.js +1 -1
  65. package/dist/components/swirl-text2.js +1 -1
  66. package/dist/components/swirl-thumbnail2.js +1 -1
  67. package/dist/components/swirl-toast-provider.js +1 -1
  68. package/dist/components/swirl-toast2.js +1 -1
  69. package/dist/components/swirl-toggle-group.js +1 -1
  70. package/dist/components/swirl-toolbar.js +1 -1
  71. package/dist/components/swirl-tooltip2.js +47 -43
  72. package/dist/esm/loader.js +1 -1
  73. package/dist/esm/swirl-app-layout_5.entry.js +4 -2
  74. package/dist/esm/swirl-components.js +1 -1
  75. package/dist/esm/swirl-icon-arrow-left_4.entry.js +1 -1
  76. package/dist/esm/swirl-icon-error_3.entry.js +1 -1
  77. package/dist/esm/swirl-search.entry.js +1 -1
  78. package/dist/esm/swirl-shell-layout.entry.js +6 -6
  79. package/dist/esm/swirl-shell-navigation-item.entry.js +2 -2
  80. package/dist/esm/swirl-skeleton-box.entry.js +2 -2
  81. package/dist/esm/swirl-skeleton-text.entry.js +1 -1
  82. package/dist/esm/swirl-status-indicator.entry.js +1 -1
  83. package/dist/esm/swirl-switch.entry.js +2 -2
  84. package/dist/esm/swirl-tab-bar.entry.js +1 -1
  85. package/dist/esm/swirl-tab.entry.js +1 -1
  86. package/dist/esm/swirl-table-column.entry.js +1 -1
  87. package/dist/esm/swirl-table.entry.js +1 -1
  88. package/dist/esm/swirl-tag.entry.js +1 -1
  89. package/dist/esm/swirl-text.entry.js +1 -1
  90. package/dist/esm/swirl-toast-provider.entry.js +1 -1
  91. package/dist/esm/swirl-toast.entry.js +1 -1
  92. package/dist/esm/swirl-toggle-group.entry.js +1 -1
  93. package/dist/esm/swirl-toolbar.entry.js +1 -1
  94. package/dist/esm/swirl-tooltip.entry.js +43 -41
  95. package/dist/swirl-components/{p-25a0bc6f.entry.js → p-0d86713d.entry.js} +1 -1
  96. package/dist/swirl-components/{p-93bb3365.entry.js → p-251853c7.entry.js} +2 -2
  97. package/dist/swirl-components/{p-b23edf69.entry.js → p-2dd48f2d.entry.js} +1 -1
  98. package/dist/swirl-components/{p-046c85df.entry.js → p-2fbbff16.entry.js} +1 -1
  99. package/dist/swirl-components/p-31157c43.entry.js +1 -0
  100. package/dist/swirl-components/{p-b98cc8ee.entry.js → p-32205cb6.entry.js} +1 -1
  101. package/dist/swirl-components/{p-00b0bcdf.entry.js → p-4fe92179.entry.js} +1 -1
  102. package/dist/swirl-components/{p-362cf5cd.entry.js → p-525eccb7.entry.js} +1 -1
  103. package/dist/swirl-components/{p-66f57e69.entry.js → p-6058e144.entry.js} +1 -1
  104. package/dist/swirl-components/{p-900b7395.entry.js → p-61f63eb1.entry.js} +1 -1
  105. package/dist/swirl-components/p-6294b4b8.entry.js +1 -0
  106. package/dist/swirl-components/{p-68f1fc93.entry.js → p-8e15adb5.entry.js} +1 -1
  107. package/dist/swirl-components/{p-25937c0c.entry.js → p-9116eac5.entry.js} +1 -1
  108. package/dist/swirl-components/{p-38205c0f.entry.js → p-91d81ff7.entry.js} +1 -1
  109. package/dist/swirl-components/{p-e79a2b2f.entry.js → p-b56f08dd.entry.js} +1 -1
  110. package/dist/swirl-components/{p-55342fef.entry.js → p-bb3bf811.entry.js} +1 -1
  111. package/dist/swirl-components/{p-62a94658.entry.js → p-d8201d5b.entry.js} +1 -1
  112. package/dist/swirl-components/{p-a3709d0e.entry.js → p-d82c10a6.entry.js} +1 -1
  113. package/dist/swirl-components/{p-5067665a.entry.js → p-e24e9424.entry.js} +1 -1
  114. package/dist/swirl-components/{p-f4cd2bc8.entry.js → p-eccc6946.entry.js} +1 -1
  115. package/dist/swirl-components/{p-db2de234.entry.js → p-f49848d1.entry.js} +1 -1
  116. package/dist/swirl-components/swirl-components.esm.js +1 -1
  117. package/dist/types/components/swirl-resource-list-item/swirl-resource-list-item.d.ts +3 -0
  118. package/dist/types/components/swirl-tooltip/swirl-tooltip.d.ts +8 -9
  119. package/dist/types/components.d.ts +30 -10
  120. package/package.json +1 -1
  121. package/vscode-data.json +36 -2
  122. package/dist/swirl-components/p-da93355a.entry.js +0 -1
  123. package/dist/swirl-components/p-fef8e82f.entry.js +0 -1
@@ -169,24 +169,24 @@ const SwirlShellLayout = class {
169
169
  "shell-layout--mobile-navigation-active": this.mobileNavigationActive,
170
170
  "shell-layout--navigation-collapsed": mainNavCollapsed,
171
171
  });
172
- return (index.h(index.Host, { key: 'ac0578479f30601b4688d075825dd8ced90b1db9' }, index.h("div", { key: 'ab0d178f91b637ee206dba90513e272342ee0a1d', class: className }, index.h("header", { key: 'dafaff26074b663a0deb51852b770527e0658db1', class: "shell-layout__header", "data-tauri-drag-region": "true" }, index.h("button", { key: '8a0279d36c6d7ceee1106e78ab86b9aadbd0a1d2', class: "shell-layout__skip-link", onClick: this.skipLinkClick.emit, type: "button" }, this.skipLinkLabel), index.h("div", { key: '006dd289f6d498e8c71b2e4e7710e4f4b5b4041f', class: "shell-layout__header-left" }, index.h("swirl-tooltip", { key: '26f1372a20ea2f9478a178eb3ae879d410bf579c', content: this.navigationCollapsed
172
+ return (index.h(index.Host, { key: 'ba71850ab25187477de0fd280333491e17aa507e' }, index.h("div", { key: '1783f51de5c40b6b58a8c351c12259dcf360eb8b', class: className }, index.h("header", { key: '60e343ccfcab61ac22310c7cb49a27cf545d5bd2', class: "shell-layout__header", "data-tauri-drag-region": "true" }, index.h("button", { key: 'add3019d8df87297e691ceadd0e9a608207a4c02', class: "shell-layout__skip-link", onClick: this.skipLinkClick.emit, type: "button" }, this.skipLinkLabel), index.h("div", { key: '8aeeebda57bcf6b99806896d3e77a29c577ef64b', class: "shell-layout__header-left" }, index.h("swirl-tooltip", { key: '8c76fce6027707fc32c50d2628a82954fc9b948c', content: this.navigationCollapsed
173
173
  ? this.expandNavigationButtonLabel
174
- : this.collapseNavigationButtonLabel, delay: 100, position: "right" }, index.h("button", { key: '2fec7ce6950380825e56032cff633bd062b60fad', class: "shell-layout__header-tool", onClick: this.onNavigationToggleClick, type: "button" }, this.navigationCollapsed ? (index.h("swirl-icon-dock-left-expand", { size: 20 })) : (index.h("swirl-icon-dock-left-collapse", { size: 20 })), index.h("swirl-visually-hidden", { key: '32918f06901b10833bd0714d9df4ad11f85e674f' }, this.navigationCollapsed
174
+ : this.collapseNavigationButtonLabel, delay: 100, position: "right" }, index.h("button", { key: 'ac3db57bb52dd17e08e429e6a322c854367bcc63', class: "shell-layout__header-tool", onClick: this.onNavigationToggleClick, type: "button" }, this.navigationCollapsed ? (index.h("swirl-icon-dock-left-expand", { size: 20 })) : (index.h("swirl-icon-dock-left-collapse", { size: 20 })), index.h("swirl-visually-hidden", { key: '74a9b9f0f625c3cf1ecd4d54d6da9e7820e4fe79' }, this.navigationCollapsed
175
175
  ? this.expandNavigationButtonLabel
176
- : this.collapseNavigationButtonLabel))), index.h("a", { key: '82634878be0c0cc9223fb3b94cbc25bf63adf005', class: "shell-layout__header-tool", href: "javascript:history.back()" }, index.h("swirl-icon-arrow-back", { key: '76e10e8a85d9c133a6c418e16e2aae46d6d735d9', size: 20 }), index.h("swirl-visually-hidden", { key: '9456a122d1264fa793548957eaace4d2b159fff2' }, this.browserBackButtonLabel)), index.h("a", { key: '80f911686ced6bd0335899a39868795e03c3908c', class: "shell-layout__header-tool", href: "javascript:history.forward()" }, index.h("swirl-icon-arrow-forward", { key: 'a11e0d5f22e9015185047d4bd3bd1d6d1bcb0b46', size: 20 }), index.h("swirl-visually-hidden", { key: 'be0558e4d6138576139296953f329f095fcec031' }, this.browserForwardButtonLabel)), index.h("slot", { key: '452127f3d2a0d91c58c2b9396be90dff9e8b2522', name: "left-header-tools" })), index.h("div", { key: '7b837e13bca9e7efe2af2673e569d5347bfe809d', class: "shell-layout__logo" }, index.h("slot", { key: '8782475ecf38ec1cbff3c4c62546b2f31ce4c429', name: "logo" })), index.h("div", { key: '7078a0d447369173495eae8aea9b2bcaed4d380a', class: "shell-layout__header-right" }, index.h("slot", { key: '4de25df2ffceda31c0ea36373dd816e3ec6956d5', name: "right-header-tools" }), index.h("slot", { key: '82c2cc3b4e5791d6ddabaa59c8a1e3c88b6032b9', name: "avatar" }))), index.h("div", { key: '99c7a6e5062767eeae9bca0a76b9dbb93673182f', class: "shell-layout__mobile-nav-backdrop", onClick: this.onNavigationClick }), index.h("nav", { key: '4b26bd504364711d75421041e1fd7a4416cb83ed', "aria-labelledby": "main-navigation-label", class: "shell-layout__nav", onClick: this.onNavigationClick, ref: (el) => (this.navElement = el) }, index.h("div", { key: '104f827b6569c1a7831716e2e65499f6aab17243', class: "shell-layout__mobile-header" }, index.h("slot", { key: 'f4100ec98a0bc08032000ea3d6cbd9c000c898e8', name: "mobile-logo" }), index.h("div", { key: '63acb9e4b06d42dd0902f38f22e06467a5e17d5c', class: "shell-layout__mobile-header-tools" }, index.h("slot", { key: '700de4947f2db176bd6ae6fb5bce2379a9eb5741', name: "mobile-header-tools" }), index.h("button", { key: '7934d57b6874b25e366bb8b5abe3a83cb377f175', class: "shell-layout__header-tool", type: "button" }, index.h("swirl-icon-double-arrow-left", { key: '8428aabadd299408985a155a2a910d4c15c4e300', size: 20 }), index.h("swirl-visually-hidden", { key: '433ec6a7dc91436839ab566bb0c95345cbc8a276' }, this.hideMobileNavigationButtonLabel)))), index.h("div", { key: 'd55acd62b1eb74c0d247c039cea246ee993c9d07', class: "shell-layout__nav-body" }, index.h("swirl-visually-hidden", { key: '0130fcc3e3bca07c9a3ed1a16bdb0a1638a1cb60' }, index.h("span", { key: 'e6e41496731456b66eedd8150c44393d4f88c6ad', id: "main-navigation-label" }, this.navigationLabel)), index.h("slot", { key: 'eb753f9fe3c8c36a00824e86f148ddf1a0881525', name: "nav", onSlotchange: this.collectNavItems }), index.h("div", { key: '9b6f92d616f09c385bce52e198f9a247156adcb6', class: "shell-layout__secondary-nav" }, index.h("swirl-separator", { key: '7cb6852515a15b58f83510e18373668153a72c46', color: "strong", spacing: "16" }), this.enableSecondaryNavGridLayout && (index.h("swirl-box", { key: 'c7106cedee7f295b67d857b4d3189b7224af9e27', paddingBlockEnd: "16" }, index.h("swirl-stack", { key: '9f99eaeb8db2bea6ad41eabcee49cee8ff4833ec', justify: mainNavCollapsed ? "center" : "space-between", orientation: "horizontal" }, index.h("swirl-button", { key: 'f37a504b3489f29c671ac7cb3e1282238533ba89', hideLabel: mainNavCollapsed, icon: this.secondaryNavCollapsed
176
+ : this.collapseNavigationButtonLabel))), index.h("a", { key: '3e79631fa44f47145c3d04904fd82d8c1123a5de', class: "shell-layout__header-tool", href: "javascript:history.back()" }, index.h("swirl-icon-arrow-back", { key: '2344d7fb3dd96d2324cc722201994441d9681554', size: 20 }), index.h("swirl-visually-hidden", { key: '57f42760e017b7564aef0a09c2cce29623bbb238' }, this.browserBackButtonLabel)), index.h("a", { key: '8d82f609f9d21ba4aabdc6f6984ef865ca13482f', class: "shell-layout__header-tool", href: "javascript:history.forward()" }, index.h("swirl-icon-arrow-forward", { key: '877244452295b3bc41f51393bc56660287e5f394', size: 20 }), index.h("swirl-visually-hidden", { key: '55053998bd6f93f168b13de4d91b8771f380db21' }, this.browserForwardButtonLabel)), index.h("slot", { key: 'b51a7edc15aa6fb8b86474d0f7a94f0da4b9dc66', name: "left-header-tools" })), index.h("div", { key: 'e3be12dfb40ad48280f5ce919cbbb03126a9b136', class: "shell-layout__logo" }, index.h("slot", { key: 'd6292d958c06e33b25f5b848ef1f305560b346a6', name: "logo" })), index.h("div", { key: '432770ab91b3fb0d6512632ca7272cc02220f93f', class: "shell-layout__header-right" }, index.h("slot", { key: 'ffe6e81aacc341b6617ead1191b5172779f0e6bb', name: "right-header-tools" }), index.h("slot", { key: '45aa7fa1d83cbc7cd25a3479247d62ba14d39839', name: "avatar" }))), index.h("div", { key: 'c11e952da53499494f794e1439519862580c28cf', class: "shell-layout__mobile-nav-backdrop", onClick: this.onNavigationClick }), index.h("nav", { key: 'e718116e58c0c9b9875d16f7b340f7b10284c407', "aria-labelledby": "main-navigation-label", class: "shell-layout__nav", onClick: this.onNavigationClick, ref: (el) => (this.navElement = el) }, index.h("div", { key: '9461acc9b41bebd9ab0d5a8cf2535babb18e3ec0', class: "shell-layout__mobile-header" }, index.h("slot", { key: 'bd90c25a4f27085037853fd96df9c04167d31413', name: "mobile-logo" }), index.h("div", { key: 'affad63e0ae66b9810479ff1472101bc71b1b745', class: "shell-layout__mobile-header-tools" }, index.h("slot", { key: '4cac99bc568ff6d345c3d8c8921cadd38e054294', name: "mobile-header-tools" }), index.h("button", { key: 'b6e53b7a8e5b0be7c4bc81626fced0a0b22ac807', class: "shell-layout__header-tool", type: "button" }, index.h("swirl-icon-double-arrow-left", { key: '52fe0309bc2ff3c988c406dcbd34ea505e602ef3', size: 20 }), index.h("swirl-visually-hidden", { key: '7425e4993d3c11609673d5444f197b4cce23b0b0' }, this.hideMobileNavigationButtonLabel)))), index.h("div", { key: '76e3108a837e780f5ba7c115d9ab9c654cee2583', class: "shell-layout__nav-body" }, index.h("swirl-visually-hidden", { key: '93a613134cf84890462f030007f8712f67e896ce' }, index.h("span", { key: '8abd0fe2b0b7dab953ff12fb4d6b23129ffee71e', id: "main-navigation-label" }, this.navigationLabel)), index.h("slot", { key: '493535666ed3af1401c90142654362abb4783a05', name: "nav", onSlotchange: this.collectNavItems }), index.h("div", { key: '70799718bc984b00f421f3dcbee1e46d131fd439', class: "shell-layout__secondary-nav" }, index.h("swirl-separator", { key: '0a956f25ae179002f308aa8a0e1278b18fbbd26e', color: "strong", spacing: "16" }), this.enableSecondaryNavGridLayout && (index.h("swirl-box", { key: 'ed807b244604feb205503ca6951240c556f2ff99', paddingBlockEnd: "16" }, index.h("swirl-stack", { key: '90d40a649043b463531d6614e0ba4dfd6d675006', justify: mainNavCollapsed ? "center" : "space-between", orientation: "horizontal" }, index.h("swirl-button", { key: 'dfdbd0a375bf32cf06fde7eee4cf9a64640d78ca', hideLabel: mainNavCollapsed, icon: this.secondaryNavCollapsed
177
177
  ? "<swirl-icon-expand-more></swirl-icon-expand-more>"
178
178
  : "<swirl-icon-expand-less></swirl-icon-expand-less>", label: this.secondaryNavCollapsed
179
179
  ? this.secondaryNavExpandLabel
180
- : this.secondaryNavCollapseLabel, onClick: this.toggleSecondaryNavCollapse, variant: "plain" }), !mainNavCollapsed && !this.secondaryNavCollapsed && (index.h("swirl-button", { key: '3cbbbf36a145b829d569741cb111c17d091ec59b', icon: this.secondaryNavView === "grid"
180
+ : this.secondaryNavCollapseLabel, onClick: this.toggleSecondaryNavCollapse, variant: "plain" }), !mainNavCollapsed && !this.secondaryNavCollapsed && (index.h("swirl-button", { key: '55467b2ec7f96372bedaba657b068bf2b044bd4d', icon: this.secondaryNavView === "grid"
181
181
  ? "<swirl-icon-menu></swirl-icon-menu>"
182
182
  : "<swirl-icon-hamburger-menu></swirl-icon-hamburger-menu>", iconPosition: "end", label: this.secondaryNavView === "grid"
183
183
  ? this.gridNavLayoutToggleLabel
184
- : this.listNavLayoutToggleLabel, onClick: this.toggleSecondaryNavView, variant: "plain" }))))), index.h("div", { key: '2faa5b97f118fd0256f7495bcfb4e9112e624413', class: {
184
+ : this.listNavLayoutToggleLabel, onClick: this.toggleSecondaryNavView, variant: "plain" }))))), index.h("div", { key: '38f99681433035f63b2fcc9185d7e6b1888f4bb4', class: {
185
185
  [`shell-layout__secondary-nav-items--${this.secondaryNavGridLayoutVariant}`]: true,
186
186
  "shell-layout__secondary-nav-items": true,
187
187
  "shell-layout__secondary-nav-items--grid-view": this.enableSecondaryNavGridLayout &&
188
188
  this.secondaryNavView === "grid",
189
- } }, index.h("slot", { key: '065e4ad317213553492f510d3188273713ea1268', name: "secondary-nav", onSlotchange: this.collectNavItems }))))), index.h("main", { key: '5426b223b821da51b47cd24a046578b51d5b649b', class: "shell-layout__main", id: "main-content" }, index.h("slot", { key: 'a035652618a59e03f9f59904f06574c34dc9b473' })))));
189
+ } }, index.h("slot", { key: '8d49eb0021897e49b9271c5ead87cc67befe0fdc', name: "secondary-nav", onSlotchange: this.collectNavItems }))))), index.h("main", { key: '5e3c5fcff583838c418f4a6989b7e10b63831a4f', class: "shell-layout__main", id: "main-content" }, index.h("slot", { key: '688823dcc10d0b29c9a08e014ad8769b8ac22f61' })))));
190
190
  }
191
191
  get el() { return index.getElement(this); }
192
192
  static get watchers() { return {
@@ -64,9 +64,9 @@ const SwirlShellNavigationItem = class {
64
64
  const tooltipContent = this.description
65
65
  ? `${this.label} ${this.description}`
66
66
  : this.label;
67
- return (index.h(index.Host, { key: '5f8337a6e328f4b70794c5df34bea4ce004cdbfc' }, index.h("swirl-tooltip", { key: 'de803be5c5e466daed55cf67c6127f897425e10d', active: this.hideLabel, content: tooltipContent, delay: 100, position: "right", positioning: "fixed" }, index.h(Tag, { key: '56b42a124385745a2048c1fac11abd75c5f5ea47', class: tagClassNames, href: this.href, target: this.target, type: isLink ? undefined : "button", title: !this.hideLabel ? this.label : undefined }, index.h("span", { key: 'fe342b65d7beef54084c3fecd2f448bf2cf8e5c8', class: "shell-navigation-item__icon" }, index.h("slot", { key: '9c1b2a2476fc0235e3241ed57b458a97809ad50a', name: "icon" })), !this.hideLabel ? (this.variant !== "default" ? (index.h("span", { class: labelClassNames }, this.label)) : (index.h("div", { class: "shell-navigation-item__text-wrapper" }, index.h("span", { class: labelClassNames }, this.label), this.description && (index.h("span", { class: "shell-navigation-item__description" }, this.description))))) : (index.h("swirl-visually-hidden", null, index.h("span", { class: labelClassNames }, this.label))), hasBadge && (index.h("span", { key: '89bb559959dae885912f6af1311c22755cd14af2', class: "shell-navigation-item__badge-wrapper" }, index.h("swirl-badge", { key: 'b9015202651b5c205849113fcc0e8ce783d18412', "aria-label": this.badgeLabel, class: index$1.classnames("shell-navigation-item__badge", {
67
+ return (index.h(index.Host, { key: '449f8152f3e43b5286253b3cad88b97e7e7511fa' }, index.h("swirl-tooltip", { key: 'c38fd294886949488ebb68e44243dedf4b9353cb', active: this.hideLabel, content: tooltipContent, delay: 100, position: "right", positioning: "fixed" }, index.h(Tag, { key: 'b109c272afaa8d81406c77f9a383eb0265ba0abe', class: tagClassNames, href: this.href, target: this.target, type: isLink ? undefined : "button", title: !this.hideLabel ? this.label : undefined }, index.h("span", { key: 'e798c1c7fd44a3f60969649f377dc569ef790d14', class: "shell-navigation-item__icon" }, index.h("slot", { key: '74253d57363c4ab083e1df01bcc8ff3a39dc875b', name: "icon" })), !this.hideLabel ? (this.variant !== "default" ? (index.h("span", { class: labelClassNames }, this.label)) : (index.h("div", { class: "shell-navigation-item__text-wrapper" }, index.h("span", { class: labelClassNames }, this.label), this.description && (index.h("span", { class: "shell-navigation-item__description" }, this.description))))) : (index.h("swirl-visually-hidden", null, index.h("span", { class: labelClassNames }, this.label))), hasBadge && (index.h("span", { key: '314a39b2198bc28f55ee94a14eec540ac465924a', class: "shell-navigation-item__badge-wrapper" }, index.h("swirl-badge", { key: '67e82dd1cf4e5097fb8572aefba5c6c43808a0f7', "aria-label": this.badgeLabel, class: index$1.classnames("shell-navigation-item__badge", {
68
68
  "shell-navigation-item__badge--dot": this.badgeLabel === "",
69
- }), label: this.badgeLabel, size: "xs", variant: this.badgeLabel === "" ? "dot" : "default" }))), showIsNewTag && (index.h("swirl-tag", { key: '9e05640b202bd785e50ae6741804b64c3e1e276a', class: "shell-navigation-item__is-new-tag", intent: "info", label: this.markAsNewLabel.toLocaleUpperCase(), size: "s", variant: "strong" })), showIsNewBadge && (index.h("swirl-badge", { key: '30aa107e83bc07394bd7de154109097d0ccf51c4', class: "shell-navigation-item__is-new-badge", intent: "info", label: this.markAsNewLabel.toLocaleUpperCase(), size: "xs", variant: "dot" }))))));
69
+ }), label: this.badgeLabel, size: "xs", variant: this.badgeLabel === "" ? "dot" : "default" }))), showIsNewTag && (index.h("swirl-tag", { key: 'e4c5c0f2efa1237f658c3a0378046e5c16188228', class: "shell-navigation-item__is-new-tag", intent: "info", label: this.markAsNewLabel.toLocaleUpperCase(), size: "s", variant: "strong" })), showIsNewBadge && (index.h("swirl-badge", { key: '21aac8cdecddb54b7c654d119c5a07eeadf5d216', class: "shell-navigation-item__is-new-badge", intent: "info", label: this.markAsNewLabel.toLocaleUpperCase(), size: "xs", variant: "dot" }))))));
70
70
  }
71
71
  get el() { return index.getElement(this); }
72
72
  };
@@ -13,11 +13,11 @@ const SwirlSkeletonBox = class {
13
13
  }
14
14
  render() {
15
15
  const className = index$1.classnames("skeleton-box", `skeleton-box--border-radius-${this.borderRadius}`, { "skeleton-box--static": !this.animated });
16
- return (index.h(index.Host, { key: 'bb34fc3713e671110d805817d3d0172e3d6c5c99', style: {
16
+ return (index.h(index.Host, { key: '0766d24e9c6dd8b47f0cde12acc961798539a663', style: {
17
17
  width: !Boolean(this.width) && !Boolean(this.aspectRatio)
18
18
  ? "100%"
19
19
  : undefined,
20
- } }, index.h("div", { key: '900721eb305211d13df2f1fda067cedd3b5a71b0', class: className, style: {
20
+ } }, index.h("div", { key: '78ef731b5c403dfe74d3034ac8bcef63e0bac16c', class: className, style: {
21
21
  aspectRatio: this.aspectRatio,
22
22
  borderRadius: this.borderRadius !== "pill" && this.borderRadius !== "none"
23
23
  ? `var(--s-border-radius-${this.borderRadius})`
@@ -15,7 +15,7 @@ const SwirlSkeletonText = class {
15
15
  render() {
16
16
  const className = index$1.classnames("skeleton-text", `skeleton-text--size-${this.size}`, { "skeleton-text--static": !this.animated });
17
17
  const lineClassName = index$1.classnames("skeleton-text__line", `skeleton-text__line--size-${this.size}`);
18
- return (index.h(index.Host, { key: '15af8647515182ea368d068bb7f0cf655aed132a' }, index.h("div", { key: '1395f293e7bfb5b49c3165e1548d7309f28f26fb', class: className, part: className }, new Array(this.lines).fill(undefined).map((_, index$1) => (index.h("div", { class: lineClassName, key: index$1, part: lineClassName }))))));
18
+ return (index.h(index.Host, { key: '77301b4779d053d7485e3fc056093c8aca75d56c' }, index.h("div", { key: 'd48fb445adb540f5fcc2a3c0fcfe64c263ef2be9', class: className, part: className }, new Array(this.lines).fill(undefined).map((_, index$1) => (index.h("div", { class: lineClassName, key: index$1, part: lineClassName }))))));
19
19
  }
20
20
  };
21
21
  SwirlSkeletonText.style = swirlSkeletonTextCss;
@@ -11,7 +11,7 @@ const SwirlStatusIndicator = class {
11
11
  }
12
12
  render() {
13
13
  const className = index$1.classnames("status-indicator", `status-indicator--intent-${this.intent}`);
14
- return (index.h(index.Host, { key: '6f12aba79d45fda09d51ff87b5c2ed75bcf6bd92' }, index.h("div", { key: '9b6871b52ccb46dbee1de179d613acda8ed7f785', class: className }, index.h("span", { key: 'a8f389aabfca9e54fa8ddb4fa227433d6c6009db', class: "status-indicator__dot" }), index.h("span", { key: '16ce45812c9d173aec95eb7362f62d325d6e7168', class: "status-indicator__label" }, this.label))));
14
+ return (index.h(index.Host, { key: '62f371ab1f733071a33215f1b2d618f352932906' }, index.h("div", { key: 'de36fa200de899dfa926b58506ebfe498095d65b', class: className }, index.h("span", { key: '70097360cd5d8f107768409986891c0e4759c768', class: "status-indicator__dot" }), index.h("span", { key: 'bb9a68874c9ea67161d73291315974c449688723', class: "status-indicator__label" }, this.label))));
15
15
  }
16
16
  };
17
17
  SwirlStatusIndicator.style = swirlStatusIndicatorCss;
@@ -33,9 +33,9 @@ const SwirlSwitch = class {
33
33
  "switch--disabled": this.disabled,
34
34
  "switch--hide-content": this.hideLabel && (!this.description || this.hideDescription),
35
35
  });
36
- return (index.h(index.Host, { key: 'b568afb5a74f2485a192fe2859454df59d00c80c' }, index.h("label", { key: '5e8b7dfb40e4d3928e5c025e150304844da5cd5b', class: className, htmlFor: this.inputId }, index.h("span", { key: '9c1c674be9a9165bcc4719870fc47cb83b4d0d43', class: "switch__control" }, index.h("swirl-visually-hidden", { key: 'de28385d875f2cdeb2fdbac6b7de99167720097b' }, index.h("input", { key: 'e4a134228c82fb527a3ef32484c71e381f2bf2e4', "aria-checked": ariaCheckedLabel, "aria-label": !this.hideLabel && this.swirlAriaLabel
36
+ return (index.h(index.Host, { key: '50b3357b11531b7b54760da2a757c5d20c2456a7' }, index.h("label", { key: '2fb84e079c1e250042827d4b727ede8fb1d8dfbf', class: className, htmlFor: this.inputId }, index.h("span", { key: '272a48201fab35cdf5e9e5e2048369a864403b34', class: "switch__control" }, index.h("swirl-visually-hidden", { key: '66e44c3a9b42cd634cf87e399b37436c9c250fa6' }, index.h("input", { key: 'ae147b742a03936b5cb7e3337a9ad8ace135b6f7', "aria-checked": ariaCheckedLabel, "aria-label": !this.hideLabel && this.swirlAriaLabel
37
37
  ? this.swirlAriaLabel
38
- : undefined, checked: on, class: "switch__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, ref: (el) => (this.inputEl = el), role: "switch", type: "checkbox", value: this.value })), index.h("span", { key: 'afadd831fce8dbd26a1fc62cce54c749a97d6f66', "aria-hidden": "true", class: "switch__thumb" })), index.h("swirl-stack", { key: 'bdadf2bfe6a17418e2990de80c67077ee33d4366', class: "switch__content" }, this.label && !this.hideLabel && (index.h("span", { key: 'c34de32004d9f3650f77e623a4784e06f2d2b239', class: "switch__label" }, this.label)), this.hideLabel && (index.h("swirl-visually-hidden", { key: '62ed80c15fe349fe5bd2b6f78a46b6fd0b2a067e' }, this.swirlAriaLabel || this.label)), this.description && !this.hideDescription && (index.h("span", { key: '946f53434f3b24f676b5830d8b0248fd01a15ac1', class: "switch__description" }, this.description)), this.description && this.hideDescription && (index.h("swirl-visually-hidden", { key: '2d8824fa6057a9b414c9fa593a32524b899063ac' }, this.description))))));
38
+ : undefined, checked: on, class: "switch__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, ref: (el) => (this.inputEl = el), role: "switch", type: "checkbox", value: this.value })), index.h("span", { key: '0e8bc773fa78d82f17e84b43d59d804246879619', "aria-hidden": "true", class: "switch__thumb" })), index.h("swirl-stack", { key: 'd9bec995417f915c3219ed3ff4d4eaa10d23f4b9', class: "switch__content" }, this.label && !this.hideLabel && (index.h("span", { key: 'bcb1123bdf250a15454fbed0cc0fcd3b484887bd', class: "switch__label" }, this.label)), this.hideLabel && (index.h("swirl-visually-hidden", { key: 'd8e3e5bc029e05b8f73500ab70d3fb73b1420b6a' }, this.swirlAriaLabel || this.label)), this.description && !this.hideDescription && (index.h("span", { key: 'a46ecfe95969643500e26224f8b021985f461fa9', class: "switch__description" }, this.description)), this.description && this.hideDescription && (index.h("swirl-visually-hidden", { key: '71c99b5f29ab55c5c9a48e4ae1e009e326a39729' }, this.description))))));
39
39
  }
40
40
  get el() { return index.getElement(this); }
41
41
  };
@@ -63,7 +63,7 @@ const SwirlTabBar = class {
63
63
  ? `var(--s-space-${this.paddingBlockStart})`
64
64
  : undefined,
65
65
  };
66
- return (index.h(index.Host, { key: 'c9eb4387117f55dc8e15ececb03abc782bd60c47' }, index.h("div", { key: '198f1ae4656ed77baab425a2a73d39657deb5c0a', "aria-label": this.label, class: className, onKeyDown: this.onKeyDown, role: this.disableTabSemantics ? undefined : "tablist", style: styles }, this.tabs.map((tab) => {
66
+ return (index.h(index.Host, { key: '281aeb39ec1dad585e2d528867b95eae025954d4' }, index.h("div", { key: '0563370c98c70a77e0fb2b763fa1314e71f629e9', "aria-label": this.label, class: className, onKeyDown: this.onKeyDown, role: this.disableTabSemantics ? undefined : "tablist", style: styles }, this.tabs.map((tab) => {
67
67
  const className = index$1.classnames("tab-bar__tab", {
68
68
  "tab-bar__tab--active": tab.active,
69
69
  "tab-bar__tab--variant-pill": this.variant === "pill",
@@ -12,7 +12,7 @@ const SwirlTab = class {
12
12
  }
13
13
  render() {
14
14
  const className = index$1.classnames("tab", { "tab--active": this.active });
15
- return (index.h(index.Host, { key: '3e858f89f81b918c9f9a00c2ca891f68ca31fe2e', "aria-labelledby": `tab-${this.tabId}`, id: this.tabId, role: "tabpanel", tabIndex: this.active ? 0 : -1, class: className, style: { padding: `var(--s-space-${this.padding})` } }, index.h("slot", { key: '9253c411cecb72a4414188c5fb9f0dd148b0fa1e' })));
15
+ return (index.h(index.Host, { key: '4dcaa666ac2c76ef69a3db108fec8d9261f0c2c9', "aria-labelledby": `tab-${this.tabId}`, id: this.tabId, role: "tabpanel", tabIndex: this.active ? 0 : -1, class: className, style: { padding: `var(--s-space-${this.padding})` } }, index.h("slot", { key: 'd4be897cca0b201d4b72b400f6a7433ccf86921c' })));
16
16
  }
17
17
  };
18
18
  SwirlTab.style = swirlTabCss;
@@ -20,7 +20,7 @@ const SwirlTableColumn = class {
20
20
  maxWidth: this.maxWidth || "",
21
21
  minWidth: this.minWidth || "",
22
22
  };
23
- return (index.h(index.Host, { key: '34c7db09a98d06ef106047f668114d5f90777f55', "aria-sort": this.sort, class: "table-column", role: "columnheader", style: styles }, index.h("span", { key: '9d4c0fc6b935e10dbf43383a7cff2a79e09067b1' }, index.h("slot", { key: '6fc894a4d9aa228e10f019fa65dc4f8b645e43b3' })), this.sortable && (index.h("span", { key: '393474d787bc2e3e467b7aaa655246e87ebfe3e7', class: "table-column__sort-indicator" }, this.sort === "ascending" && (index.h("swirl-icon-arrow-upward", { key: '3f90d7008105c0965492d9f9831a9479942e1ef0', "aria-hidden": "true", size: 20 })), this.sort === "descending" && (index.h("swirl-icon-arrow-downward", { key: '83b3d0a6c05951e6f2d34a79e9780eb4be3587f5', "aria-hidden": "true", size: 20 })), !Boolean(this.sort) && " "))));
23
+ return (index.h(index.Host, { key: '7b44381a58a3166a253085ad49e9dfd2c789a6cb', "aria-sort": this.sort, class: "table-column", role: "columnheader", style: styles }, index.h("span", { key: 'bbd36f836c804b7705a4734146d75b0947c60d0e' }, index.h("slot", { key: '31bd5ea3ad4241e3220982b3b6b09177b1797815' })), this.sortable && (index.h("span", { key: 'f1412c8cfee58866f449cb188a2def485af9066d', class: "table-column__sort-indicator" }, this.sort === "ascending" && (index.h("swirl-icon-arrow-upward", { key: 'bb54544c676dcfb0f13f93354d6438a635fa028d', "aria-hidden": "true", size: 20 })), this.sort === "descending" && (index.h("swirl-icon-arrow-downward", { key: 'cfb63e3e1edc6c6d99da43eed402b467f3ca7770', "aria-hidden": "true", size: 20 })), !Boolean(this.sort) && " "))));
24
24
  }
25
25
  get el() { return index.getElement(this); }
26
26
  };
@@ -580,7 +580,7 @@ const SwirlTable = class {
580
580
  "table--show-empty-state": this.empty && !this.loading,
581
581
  "table--keyboard-move": this.movingViaKeyboard,
582
582
  });
583
- return (index$1.h(index$1.Host, { key: 'd6e97afc02cef1d41b7ccad1650e32401f11677c' }, index$1.h("div", { key: 'dceaad27e0de2689fcfd99034019290db6bb9268', class: className }, this.enableDragDrop && (index$1.h("swirl-visually-hidden", { key: '37210fe0906c51f0959fc0981d7dc987c4789130' }, index$1.h("span", { key: 'bc57d02beffba02d11c35fabccd4bb98cef4fdab', "aria-live": "assertive" }, this.liveRegionText))), index$1.h("div", { key: '56fc0100044dd3b5be2391e9c310539f9bff754b', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, index$1.h("div", { key: '4705a68fa3b449b8eba6a6d1690367256e39b50d', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (index$1.h("swirl-visually-hidden", { key: 'db585347a547e1cb60a3331af74dd48dab33d353' }, index$1.h("div", { key: '5dd792ea27b892f0c7516d01618810db27a3f4d9', id: "caption" }, this.caption))), index$1.h("div", { key: '556330fc41ac660bea1f2e84f66ecb4fe6d81c2a', role: "rowgroup" }, index$1.h("div", { key: '3d6f50ca0de0c734f4605ebfe476cd444c79df2f', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, index$1.h("slot", { key: 'fd5fe14b2542b8f1e5c1f605c97c3e2341c7e3c8', name: "columns" }))), index$1.h("div", { key: 'cf0f7f822bb98205307f0a6168c759d576794b25', class: "table__body", ref: (el) => (this.bodyEl = el) }, index$1.h("slot", { key: 'e4af4d1789d91f7bbf451948e233c9a60e3b6e7d', name: "rows" }), index$1.h("div", { key: '6c874d5d8a0a0129f88e53efee609e449921907f', class: "table__empty-row", role: "row" }, index$1.h("div", { key: '0abe2cd4dca811db2b29ca3bfd44796ef50343db', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, index$1.h("slot", { key: '2aa3ae37600618fb280d7fb53ecf716049d2938b', name: "empty" }), !hasEmptyStateSlotAssignment && (index$1.h("swirl-text", { key: 'c87ad9ce612ffef6966087b4de170a0aec62601b', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
583
+ return (index$1.h(index$1.Host, { key: '58cb39e970718c947af8fb05e49327f69ce52406' }, index$1.h("div", { key: 'ccc4d4c35f16a0250bca6473848ec928a20d69f1', class: className }, this.enableDragDrop && (index$1.h("swirl-visually-hidden", { key: '984ee69c68a1f7ede7c68d11e08ab87677c75d8c' }, index$1.h("span", { key: '7a27389724c8c0d877c79af23589b637e44d5669', "aria-live": "assertive" }, this.liveRegionText))), index$1.h("div", { key: 'd17f542eac55c6da592fc2ab12d838e30ef318e6', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, index$1.h("div", { key: 'dd983c262ce853828b3040c9f97c510c769662e3', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (index$1.h("swirl-visually-hidden", { key: '031594755193d7ca2e0f8624afd79ec38ac0dec7' }, index$1.h("div", { key: '7b76523681ef767eb7a5805cc45da2259d6b9ce5', id: "caption" }, this.caption))), index$1.h("div", { key: 'ac6f9ffa3703cbadb12b7384e8f897c5af9d0bc1', role: "rowgroup" }, index$1.h("div", { key: '5263be7e317340491ee5890a1a2e5d25fcba06d5', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, index$1.h("slot", { key: '3171ffdd4027b3f32d2d2b110f55209c8bdc5e7e', name: "columns" }))), index$1.h("div", { key: '32c054e3e9f63439efb8f9cf9633f5b628a789e0', class: "table__body", ref: (el) => (this.bodyEl = el) }, index$1.h("slot", { key: '2f5b748c60f91dbe4df98d0f18b367f8292100d0', name: "rows" }), index$1.h("div", { key: 'b51e7e34b4d4e1c4044f9480a0a115393064d221', class: "table__empty-row", role: "row" }, index$1.h("div", { key: '1cb8061bef8a30965ea023b31dd0fcfac0276f26', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, index$1.h("slot", { key: 'e512da95e312bb19dca9b36e0092a0001810eda7', name: "empty" }), !hasEmptyStateSlotAssignment && (index$1.h("swirl-text", { key: 'ab17ca80ff8a609d5eaa4addee7d3358791bc11d', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
584
584
  }
585
585
  get el() { return index$1.getElement(this); }
586
586
  static get watchers() { return {
@@ -39,7 +39,7 @@ const SwirlTag = class {
39
39
  }
40
40
  render() {
41
41
  const className = index$1.classnames("tag", `tag--icon-position-${this.iconPosition}`, `tag--intent-${this.intent}`, `tag--size-${this.size}`, `tag--variant-${this.variant}`, { "tag--hide-label": this.hideLabel });
42
- return (index.h(index.Host, { key: '1333123b648e954bf91e00e1c91b420b2a26e9f4' }, index.h("span", { key: '475ea72614b02e8b0284c8702cb4e0d7c82cee16', class: className, part: "tag" }, this.icon && (index.h("span", { key: '33e5ce8e5f8b3380f984ab4dea418ceaa3c83b4c', class: "tag__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), !this.hideLabel ? (index.h("span", { class: "tag__label" }, this.label)) : (index.h("swirl-visually-hidden", null, this.label)), this.removable && (index.h("button", { key: 'c8c0928c9c85186b2f0516308f91252eea48c3ac', "aria-label": this.removalButtonLabel, class: "tag__removal-button", onClick: this.onRemove, tabIndex: this.el.ariaHidden === "true" ? -1 : undefined, type: "button" }, index.h("swirl-icon-close", { key: '7d504c7ee2f91fdbb5929138339297d54b2f2f7d', size: 16 }))))));
42
+ return (index.h(index.Host, { key: 'a3ade00e730b9c5a0bf70ce18555894162efcdb9' }, index.h("span", { key: '9adecf537f7923514ec8eca45badc8560a1448b8', class: className, part: "tag" }, this.icon && (index.h("span", { key: '0adc214659f1680182981e70724fcbc1782f01d0', class: "tag__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), !this.hideLabel ? (index.h("span", { class: "tag__label" }, this.label)) : (index.h("swirl-visually-hidden", null, this.label)), this.removable && (index.h("button", { key: 'e1981afdf9819c222ca92f08fdf57cdd7e4f3f26', "aria-label": this.removalButtonLabel, class: "tag__removal-button", onClick: this.onRemove, tabIndex: this.el.ariaHidden === "true" ? -1 : undefined, type: "button" }, index.h("swirl-icon-close", { key: '6b06d0db7dcd182742f5399cd20d2d7532b9ff0c', size: 16 }))))));
43
43
  }
44
44
  get el() { return index.getElement(this); }
45
45
  };
@@ -988,7 +988,7 @@ const SwirlText = class {
988
988
  const styles = {
989
989
  whiteSpace: truncate ? "nowrap" : this.whiteSpace,
990
990
  };
991
- return (index$1.h(index$1.Host, { key: '2705ae22ced61f2ded22a95f4bb516b4d236ee05' }, index$1.h(Tag, { key: 'ba3ac9ebab4d8161c1131f6c66d7f49d498d94bb', class: className, ref: (el) => (this.textEl = el), style: styles }, index$1.h("slot", { key: '77bf55627b6746378d987d3eb3baef90d1d617ac' }))));
991
+ return (index$1.h(index$1.Host, { key: '56f7218ef3a537fec98997d1b14ca35c2c479676' }, index$1.h(Tag, { key: 'b921b87fd42122292d4db0368a5aba72e0975f7a', class: className, ref: (el) => (this.textEl = el), style: styles }, index$1.h("slot", { key: '7e8f3315ebe21dc4e598c375d300143a519b697e' }))));
992
992
  }
993
993
  get el() { return index$1.getElement(this); }
994
994
  };
@@ -45,7 +45,7 @@ const SwirlToastProvider = class {
45
45
  return newToastWithId;
46
46
  }
47
47
  render() {
48
- return (index.h(index.Host, { key: '2e948fa77162113c396c00c7f9703483c400233c', role: "status" }, index.h("swirl-stack", { key: 'ca43ed3612eef77ea064d9ed4e00f880ff818e44', spacing: "12" }, this.toasts.map((toast) => {
48
+ return (index.h(index.Host, { key: 'ed46f2145bfb6a36b7d7e66206f92aa048b0b0ff', role: "status" }, index.h("swirl-stack", { key: 'd3302dba7a8f2cd47b77adacb1d6ee51d32b4b85', spacing: "12" }, this.toasts.map((toast) => {
49
49
  const props = { ...toast, content: undefined };
50
50
  return (index.h("swirl-toast", { key: toast.toastId, onDismiss: this.onDismiss, ...props }, toast.content));
51
51
  }))));
@@ -54,7 +54,7 @@ const SwirlToast = class {
54
54
  }
55
55
  render() {
56
56
  const className = index$1.classnames("toast", `toast--intent-${this.intent}`);
57
- return (index.h(index.Host, { key: 'f778aa4a83f4893f6624012188ee9ebfe4a87148' }, index.h("div", { key: 'dec52e1f31ca5ad7562182a0b20591f80674cf64', class: className }, this.icon && (index.h("span", { key: '44ed9836656e5b18f5a29087c4b9d415099cda1a', class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (el) => (this.iconEl = el) })), index.h("span", { key: '8bb09803cd503a78578fb1c4c3abce515610512f', class: "toast__content", innerHTML: this.content, part: "toast__content" }, index.h("slot", { key: 'ba1d1bf7473be575e81b09328a192a392344d5a1' })), index.h("button", { key: 'c4d88190073f45eb39821de9e6e885023b502d37', "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && (index.h("swirl-icon-close", { key: '22024931b84d915424afbef059ed7a06b5b3a19e', ref: (el) => (this.dismissIconEl = el) }))))));
57
+ return (index.h(index.Host, { key: '7fea68476343a3a1036bcf9f7594a6e1a79cff8d' }, index.h("div", { key: 'fbffb818800e9a1a09d152b304247d2d4f142011', class: className }, this.icon && (index.h("span", { key: '3dd08af863ab3e470b04382280e48898b1855df5', class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (el) => (this.iconEl = el) })), index.h("span", { key: 'cb7f747663e9abac62571814a39d4295e33cba5c', class: "toast__content", innerHTML: this.content, part: "toast__content" }, index.h("slot", { key: 'fe656f4eb9dc33af885d7b41f8a1b846bc1e5649' })), index.h("button", { key: '974e2f354db147b74fd5e88e4fb17a8b611f1fa9', "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && (index.h("swirl-icon-close", { key: '26d3e2c61a864953c15e1ca071a00cb33bdc412b', ref: (el) => (this.dismissIconEl = el) }))))));
58
58
  }
59
59
  static get watchers() { return {
60
60
  "duration": ["watchDuration"]
@@ -62,7 +62,7 @@ const SwirlToggleGroup = class {
62
62
  const className = index$1.classnames("toggle-group", `toggle-group--variant-${this.variant}`, {
63
63
  "toggle-group--elevated": this.elevated,
64
64
  });
65
- return (index.h("swirl-stack", { key: 'f23f280ccd329a6dce85e0936854ad641c7f02be', class: className, "aria-label": this.swirlAriaLabel, spacing: "4", orientation: "horizontal", align: "center", role: "group" }, index.h("slot", { key: 'fe678b3ba4ba727ff851295f338331c1fd9bd327', onSlotchange: this.onSlotChange })));
65
+ return (index.h("swirl-stack", { key: '53d1ed77435d8b176d2ecd9f17a91d7ce898089c', class: className, "aria-label": this.swirlAriaLabel, spacing: "4", orientation: "horizontal", align: "center", role: "group" }, index.h("slot", { key: '86d94274de5474cd95c7a8e9bc00470a769f0338', onSlotchange: this.onSlotChange })));
66
66
  }
67
67
  get el() { return index.getElement(this); }
68
68
  static get watchers() { return {
@@ -71,7 +71,7 @@ const SwirlToolbar = class {
71
71
  });
72
72
  }
73
73
  render() {
74
- return (index.h(index.Host, { key: '6839d6b80aec0dd93bcdbf05d6ee1eb3cad5ae94' }, index.h("swirl-stack", { key: '9f40313da2656080f7ebe0d04958afa922f0c6e6', align: "center", "aria-label": this.label, "aria-orientation": this.orientation, role: "toolbar", onKeyDown: this.onKeyDown, orientation: this.orientation, spacing: "8", wrap: true }, index.h("slot", { key: '1b4462914f0e66be04c26d711e060cf1cdbf7c10' }))));
74
+ return (index.h(index.Host, { key: '68b45bf033f288bfcc91816113e4a9dc1ef3969f' }, index.h("swirl-stack", { key: '5e47332dbd0f692c105a8271b381b474e87e6a79', align: "center", "aria-label": this.label, "aria-orientation": this.orientation, role: "toolbar", onKeyDown: this.onKeyDown, orientation: this.orientation, spacing: "8", wrap: true }, index.h("slot", { key: 'fcd391ebc21c6b829394c28b2968c5007f3be389' }))));
75
75
  }
76
76
  get el() { return index.getElement(this); }
77
77
  };
@@ -5,25 +5,30 @@ var floatingUi_dom_browser_min = require('./floating-ui.dom.browser.min-PA1q-Uql
5
5
  var index$1 = require('./index-DcAhLZUH.js');
6
6
  var utils = require('./utils-UfZG-xPD.js');
7
7
 
8
- 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)}.tooltip--promo .tooltip__bubble,.tooltip--promo .tooltip__arrow{background-color:var(--s-surface-info-default)}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}";
8
+ 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)}.tooltip--intent-info .tooltip__bubble,.tooltip--intent-info .tooltip__arrow{background-color:var(--s-surface-info-default)}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}";
9
9
 
10
10
  const SwirlTooltip = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
13
  this.active = true;
14
14
  this.delay = 200;
15
+ this.intent = "default";
15
16
  this.position = "top";
16
17
  this.positioning = "absolute";
17
- /**
18
- * If set to true, tooltip will be initially visible.
19
- * It will only be dismissible via a click and will not reappear.
20
- * Tooltip will have a blue background color.
21
- */
22
- this.isPromo = false;
18
+ this.trigger = ["focus", "hover"];
23
19
  this.visible = false;
24
- this.isPromoShown = false;
25
20
  this.onKeydown = (event) => {
26
- if (event.code === "Escape" && !this.isPromo) {
21
+ if (event.code === "Escape") {
22
+ this.hide();
23
+ }
24
+ };
25
+ this.onFocusIn = () => {
26
+ if (this.trigger.includes("focus")) {
27
+ this.show();
28
+ }
29
+ };
30
+ this.onFocusOut = () => {
31
+ if (this.trigger.includes("focus")) {
27
32
  this.hide();
28
33
  }
29
34
  };
@@ -44,20 +49,6 @@ const SwirlTooltip = class {
44
49
  top: Boolean(arrowY) ? arrowY + "px" : undefined,
45
50
  };
46
51
  };
47
- this.show = () => {
48
- if (!this.active || (this.isPromo && this.isPromoShown)) {
49
- return;
50
- }
51
- this.visible = true;
52
- requestAnimationFrame(() => {
53
- const referenceElement = this.el.children[0];
54
- if (!Boolean(referenceElement)) {
55
- return;
56
- }
57
- this.reposition();
58
- this.disableAutoUpdate = floatingUi_dom_browser_min.N(referenceElement, this.popperEl, this.reposition.bind(this));
59
- });
60
- };
61
52
  this.showWithDelay = () => {
62
53
  if (!this.active) {
63
54
  return;
@@ -70,14 +61,6 @@ const SwirlTooltip = class {
70
61
  this.show();
71
62
  }, this.delay);
72
63
  };
73
- this.hide = () => {
74
- if (Boolean(this.showTimeout)) {
75
- clearTimeout(this.showTimeout);
76
- this.showTimeout = undefined;
77
- }
78
- this.visible = false;
79
- this.disableAutoUpdate?.();
80
- };
81
64
  this.updateOptions = () => {
82
65
  const margin = utils.getPixelsFromRemToken("--s-space-12");
83
66
  const shiftPaddingY = utils.getPixelsFromRemToken("--s-space-8");
@@ -104,10 +87,12 @@ const SwirlTooltip = class {
104
87
  this.updateOptions();
105
88
  }
106
89
  onMouseEnter() {
107
- this.showWithDelay();
90
+ if (this.trigger.includes("hover")) {
91
+ this.showWithDelay();
92
+ }
108
93
  }
109
94
  onMouseLeave() {
110
- if (!this.isPromo) {
95
+ if (this.trigger.includes("hover")) {
111
96
  this.hide();
112
97
  }
113
98
  }
@@ -128,18 +113,35 @@ const SwirlTooltip = class {
128
113
  }
129
114
  componentDidLoad() {
130
115
  this.updateOptions();
131
- if (this.isPromo) {
132
- this.show();
133
- this.isPromoShown = true;
116
+ }
117
+ async show() {
118
+ if (!this.active) {
119
+ return;
120
+ }
121
+ this.visible = true;
122
+ requestAnimationFrame(() => {
123
+ const referenceElement = this.el.children[0];
124
+ if (!Boolean(referenceElement)) {
125
+ return;
126
+ }
127
+ this.reposition();
128
+ this.disableAutoUpdate = floatingUi_dom_browser_min.N(referenceElement, this.popperEl, this.reposition.bind(this));
129
+ });
130
+ }
131
+ async hide() {
132
+ if (Boolean(this.showTimeout)) {
133
+ clearTimeout(this.showTimeout);
134
+ this.showTimeout = undefined;
134
135
  }
136
+ this.visible = false;
137
+ this.disableAutoUpdate?.();
135
138
  }
136
139
  render() {
137
- const className = index$1.classnames("tooltip", `tooltip--actual-placement-${this.actualPosition?.placement}`, {
140
+ const className = index$1.classnames("tooltip", `tooltip--actual-placement-${this.actualPosition?.placement}`, `tooltip--intent-${this.intent}`, {
138
141
  "tooltip--active": this.active,
139
142
  "tooltip--visible": this.visible,
140
- "tooltip--promo": this.isPromo,
141
143
  });
142
- return (index.h(index.Host, { key: 'eb98693ca0f89f2d87d77345a7a40094ad2127b0', onKeydown: this.onKeydown }, index.h("span", { key: 'a9136430b03542b564d5ac0e7a607c15626ebf7b', class: className }, index.h("span", { key: 'fb3360a98a1dbbc2882dd476ce1bece24262e5a4', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: !this.isPromo && this.hide, onClick: this.hide, onFocusin: this.show }, index.h("slot", { key: '66284a39104223a52ef2c7c4b7eae3989e427c14' })), index.h("span", { key: '83a41911fdd3b4b71613758de21a9a82b77ee32b', class: "tooltip__popper", ref: (el) => (this.popperEl = el), style: {
144
+ return (index.h(index.Host, { key: 'e418f075955973796c17ba8994cfb63284b99d13', onKeydown: this.onKeydown }, index.h("span", { key: '410ac8bc16773617287b73b4676682b4e887eeb3', class: className }, index.h("span", { key: 'e111062966a91142006124131819095cd3e41e69', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.onFocusOut, onClick: this.hide, onFocusin: this.onFocusIn }, index.h("slot", { key: 'fc43ad1b5a655a0512157a6cc6c9877c592caa1c' })), index.h("span", { key: '360545df93f2ea5b655166769d1a3d95c8dca299', class: "tooltip__popper", ref: (el) => (this.popperEl = el), style: {
143
145
  top: Boolean(this.actualPosition)
144
146
  ? `${this.actualPosition?.y}px`
145
147
  : "",
@@ -147,7 +149,7 @@ const SwirlTooltip = class {
147
149
  ? `${this.actualPosition?.x}px`
148
150
  : "",
149
151
  position: this.positioning,
150
- } }, this.visible && (index.h("span", { key: '9b1d1f18199fd58c71151f18230a8d9372ea6dcf', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, index.h("span", { key: 'e9e0c0d96cd1fdb70c43b9f45aa9e5f8c04056ac', class: "tooltip__content", innerHTML: this.content }))), index.h("span", { key: '15abfa4fee4eec0ceed79bada17ddea2fcb5a189', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
152
+ } }, this.visible && (index.h("span", { key: 'b4af0145c86950a1a863f73d63f77000bd98f95a', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, index.h("span", { key: '84a35eb842594411f9deac1c47b04034bdd64362', class: "tooltip__content", innerHTML: this.content }))), index.h("span", { key: 'c6796dee53c0fd6d1fbc2a39d6495f91360671fc', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
151
153
  ...this.arrowStyles,
152
154
  visibility: this.visible ? "visible" : "hidden",
153
155
  } })))));
@@ -39,6 +39,7 @@
39
39
  "components/swirl-progress-indicator/swirl-progress-indicator.js",
40
40
  "components/swirl-radio/swirl-radio.js",
41
41
  "components/swirl-resource-list/swirl-resource-list.js",
42
+ "components/swirl-tooltip/swirl-tooltip.js",
42
43
  "components/swirl-resource-list-item/swirl-resource-list-item.js",
43
44
  "components/swirl-search/swirl-search.js",
44
45
  "components/swirl-shell-navigation-item/swirl-shell-navigation-item.js",
@@ -59,7 +60,6 @@
59
60
  "components/swirl-toast-provider/swirl-toast-provider.js",
60
61
  "components/swirl-toggle-group/swirl-toggle-group.js",
61
62
  "components/swirl-toolbar/swirl-toolbar.js",
62
- "components/swirl-tooltip/swirl-tooltip.js",
63
63
  "components/swirl-tree-view-item/swirl-tree-view-item.js",
64
64
  "components/swirl-tree-view/swirl-tree-view.js",
65
65
  "components/swirl-accordion/swirl-accordion.js",
@@ -268,7 +268,6 @@
268
268
  min-width: 0;
269
269
  min-height: 3rem;
270
270
  padding-right: var(--s-space-16);
271
- flex-grow: 1;
272
271
  justify-content: center;
273
272
  flex-direction: column;
274
273
  }
@@ -14,6 +14,7 @@ export class SwirlResourceListItem {
14
14
  this.dragHandleLabel = "Move item";
15
15
  this.interactive = true;
16
16
  this.labelWeight = "medium";
17
+ this.labelTooltipPosition = "top";
17
18
  this.menuTriggerLabel = "Options";
18
19
  this.hasMedia = false;
19
20
  this.iconSize = 24;
@@ -125,6 +126,7 @@ export class SwirlResourceListItem {
125
126
  const labelContainerStyles = {
126
127
  minHeight: this.labelMinHeight ?? undefined,
127
128
  };
129
+ const renderLabel = () => (h("span", { key: '042e3b3257e6f219d2b93aed266c9fc3c839b5d9', class: "resource-list-item__label", id: this.elementId, innerHTML: this.allowHtml ? this.label : undefined }, !this.allowHtml && this.label));
128
130
  const className = classnames("resource-list-item", `resource-list-item--label-weight-${this.labelWeight}`, {
129
131
  "resource-list-item--active": this.active,
130
132
  "resource-list-item--checked": this.checked,
@@ -141,7 +143,7 @@ export class SwirlResourceListItem {
141
143
  "resource-list-item--wrap-description": this.descriptionWrap,
142
144
  "resource-list-item--wrap-label": this.labelWrap,
143
145
  });
144
- return (h(Host, { key: '7cb12be3a9a09b71dc24bc8f981d1d61b8f254e9', role: hostRole }, h("div", { key: '7014fcad197a4f7eb245af6a46a29378bb857750', class: className, role: containerRole, onClick: this.onClick }, h(Tag, { key: '8e673d4ffbd706c06804aa6ee55a380fd53f3099', "aria-checked": ariaChecked, "aria-disabled": disabled ? "true" : undefined, "aria-label": ariaLabel, "aria-labelledby": Boolean(this.swirlAriaLabel) ? undefined : this.elementId, class: "resource-list-item__content", style: { alignItems: this.alignItems }, href: href, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, part: "resource-list-item__content", role: role, tabIndex: 0, type: Tag === "button" ? "button" : undefined }, this.hasMedia && (h("span", { key: '1172de33f197a865c39bc1f7dc394de5d1a4d89e', class: "resource-list-item__media" }, h("slot", { key: '1768bf905bda828888aab82ede57fb62d58615de', name: "media" }))), h("span", { key: '39789664f9eab1eeb4801ec2509c54d2fa0eaa2c', class: "resource-list-item__label-container", style: labelContainerStyles }, h("span", { key: '880f0d472efda294324a74ab8a2c1bccf794d870', class: "resource-list-item__label", id: this.elementId, innerHTML: this.allowHtml ? this.label : undefined }, !this.allowHtml && this.label), this.description && (h("span", { key: '6e43920e4516b750136e810a6ab305586607b291', class: "resource-list-item__description", innerHTML: this.allowHtml ? this.description : undefined }, !this.allowHtml && this.description)))), this.selectable && (h("span", { key: '256f16e58f88275cc84b9eb2cdb5c58a6726f7a9', "aria-hidden": "true", class: "resource-list-item__checkbox" }, h("span", { key: '93fa4dfe68c08d3f60d3f891df2cc40008495607', class: "resource-list-item__checkbox-icon" }, this.checked && (h("swirl-icon-check-strong", { key: 'e86f4921242fc80e32f0a067aa244a5a9a911022' }))))), showMeta && (h("span", { key: '8396dff56b5f7911f9ebd05da7f209dfae9f01db', class: "resource-list-item__meta" }, this.meta && (h("span", { key: 'bbd1d2b8892dce6e938f9a9aa5fa18b9bcc4d998', class: "resource-list-item__meta-text" }, this.meta)), h("span", { key: '1c73a5c08c17218c3e38073094865634b2405079', class: "resource-list-item__badges" }, h("slot", { key: '7b4da3575ca6dbc89305fbe65bd453428df40423', name: "badges" })))), h("span", { key: '5be12310c2a0b842ae5b3817da98162759c86628', class: "resource-list-item__control", onClick: this.onControlClick }, h("slot", { key: '0fdbf28efd85b9a130ccef446a7f7c0d02b8e532', name: "control" })), showMenu && (h("swirl-popover-trigger", { key: 'e6cfdb5108d171a427e6af540a237227ae0b158f', swirlPopover: this.menuTriggerId }, h("swirl-button", { key: 'de40fbe74fc9f17a68a3fd5b4387f745b74c09ad', "aria-disabled": disabled ? "true" : undefined, class: "resource-list-item__menu-trigger", disabled: disabled, hideLabel: true, icon: "<swirl-icon-more-horizontal></swirl-icon-more-horizontal>", intent: "primary", label: this.menuTriggerLabel, onClick: this.onMenuTriggerClick })))), this.allowDrag && (h("button", { key: '2a6917be30e0a20c277532152507273c5e72aa62', "aria-describedby": this.dragHandleDescription, "aria-label": `${this.dragHandleLabel} "${this.label}"`, class: "resource-list-item__drag-handle", onKeyDown: this.onDragHandleKeyDown, type: "button" }, h("swirl-icon-drag-handle", { key: '510a758ef7a8c8e317416a5fb654f86691eac6d5', size: this.iconSize })))));
146
+ return (h(Host, { key: '6171aee719b310c2493500dbc77981f06f75a8b3', role: hostRole }, h("div", { key: '38413b7327e723ee69c1a8ac3ec91a3d14110fec', class: className, role: containerRole, onClick: this.onClick }, h(Tag, { key: '20c815a424d302e1c5f69baa1b459d7c04f8b0a7', "aria-checked": ariaChecked, "aria-disabled": disabled ? "true" : undefined, "aria-label": ariaLabel, "aria-labelledby": Boolean(this.swirlAriaLabel) ? undefined : this.elementId, class: "resource-list-item__content", style: { alignItems: this.alignItems }, href: href, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, part: "resource-list-item__content", role: role, tabIndex: 0, type: Tag === "button" ? "button" : undefined }, this.hasMedia && (h("span", { key: '19806427f62924b14b048c38625903f431bc71f2', class: "resource-list-item__media" }, h("slot", { key: 'f4cc953be27c43fc53be3c609ded5e33fe5bab92', name: "media" }))), h("span", { key: '4f3d985cf6ab2bac661214b7d9fa173dc38336fb', class: "resource-list-item__label-container", style: labelContainerStyles }, this.labelTooltip ? (h("swirl-tooltip", { content: this.labelTooltip, position: this.labelTooltipPosition, positioning: "fixed" }, renderLabel())) : (renderLabel()), this.description && (h("span", { key: '0474304ec2d9253acde6b2d7c6a4b1fea63eac52', class: "resource-list-item__description", innerHTML: this.allowHtml ? this.description : undefined }, !this.allowHtml && this.description)))), this.selectable && (h("span", { key: '9694af4087e954fcdc4a2a0a5c034914ff195aea', "aria-hidden": "true", class: "resource-list-item__checkbox" }, h("span", { key: 'c68a10da73a18d4b5e52a1de21ecf70e263a7c36', class: "resource-list-item__checkbox-icon" }, this.checked && (h("swirl-icon-check-strong", { key: '5bb865ca210e947d8c3c357b4efe3fc3a5e69592' }))))), showMeta && (h("span", { key: 'ce1b56f2c842676abbded89737c80b923bce7c89', class: "resource-list-item__meta" }, this.meta && (h("span", { key: '2fcd0dd606c30754fe8f1288d822a037be617944', class: "resource-list-item__meta-text" }, this.meta)), h("span", { key: 'c2bd1ab1c4cf18e6b5602be136232336d9e50eb9', class: "resource-list-item__badges" }, h("slot", { key: 'c5a41c1b5e78a0569e41fb58300bfab51c0ece85', name: "badges" })))), h("span", { key: '84c77b4cb7a530336531ca57d33be7256da65f64', class: "resource-list-item__control", onClick: this.onControlClick }, h("slot", { key: 'bd64567e76f7b234600e06fab50523440c38bb00', name: "control" })), showMenu && (h("swirl-popover-trigger", { key: 'a749f34659a7b780652c6c4d02419e64c06ee8ff', swirlPopover: this.menuTriggerId }, h("swirl-button", { key: '75da162b270daef8ac08746c985d641462734434', "aria-disabled": disabled ? "true" : undefined, class: "resource-list-item__menu-trigger", disabled: disabled, hideLabel: true, icon: "<swirl-icon-more-horizontal></swirl-icon-more-horizontal>", intent: "primary", label: this.menuTriggerLabel, onClick: this.onMenuTriggerClick })))), this.allowDrag && (h("button", { key: '41f09b95de618cfcfa5c524cf99a7a06199b33ca', "aria-describedby": this.dragHandleDescription, "aria-label": `${this.dragHandleLabel} "${this.label}"`, class: "resource-list-item__drag-handle", onKeyDown: this.onDragHandleKeyDown, type: "button" }, h("swirl-icon-drag-handle", { key: 'd275e1fcde190da7bbd7278edc1e1d2af0938f2f', size: this.iconSize })))));
145
147
  }
146
148
  static get is() { return "swirl-resource-list-item"; }
147
149
  static get encapsulation() { return "scoped"; }
@@ -510,6 +512,51 @@ export class SwirlResourceListItem {
510
512
  "setter": false,
511
513
  "reflect": false
512
514
  },
515
+ "labelTooltip": {
516
+ "type": "string",
517
+ "attribute": "label-tooltip",
518
+ "mutable": false,
519
+ "complexType": {
520
+ "original": "string",
521
+ "resolved": "string",
522
+ "references": {}
523
+ },
524
+ "required": false,
525
+ "optional": true,
526
+ "docs": {
527
+ "tags": [],
528
+ "text": ""
529
+ },
530
+ "getter": false,
531
+ "setter": false,
532
+ "reflect": false
533
+ },
534
+ "labelTooltipPosition": {
535
+ "type": "string",
536
+ "attribute": "label-tooltip-position",
537
+ "mutable": false,
538
+ "complexType": {
539
+ "original": "SwirlTooltipPosition",
540
+ "resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
541
+ "references": {
542
+ "SwirlTooltipPosition": {
543
+ "location": "import",
544
+ "path": "../swirl-tooltip/swirl-tooltip",
545
+ "id": "src/components/swirl-tooltip/swirl-tooltip.tsx::SwirlTooltipPosition"
546
+ }
547
+ }
548
+ },
549
+ "required": false,
550
+ "optional": true,
551
+ "docs": {
552
+ "tags": [],
553
+ "text": ""
554
+ },
555
+ "getter": false,
556
+ "setter": false,
557
+ "reflect": false,
558
+ "defaultValue": "\"top\""
559
+ },
513
560
  "menuTriggerId": {
514
561
  "type": "string",
515
562
  "attribute": "menu-trigger-id",
@@ -58,7 +58,7 @@ export class SwirlSearch {
58
58
  const className = classnames("search", `search--variant-${this.variant}`, {
59
59
  "search--disabled": this.disabled,
60
60
  });
61
- return (h(Host, { key: '7ed53e6408ea37542f8750b1514bb06b571ee922' }, h("span", { key: '2ceb66246fc660fc747525126fccf360afe4e6bb', class: className, ref: (el) => (this.iconEl = el) }, h("swirl-icon-search", { key: 'f5fd26fccfb0e7f50b089ed91d5c6e352e257b02', "aria-hidden": "true", class: "search__icon" }), h("input", { key: '4d5b4f292822f95acd1a22807746fe60becab707', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": this.label, autoComplete: "off", autoFocus: this.autoFocus, class: "search__input", disabled: this.disabled, id: this.inputId, inputMode: "search", name: this.inputName, onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, onInput: this.onInput, placeholder: this.placeholder, ref: (el) => (this.input = el), type: "search", value: this.value }), !this.disabled && this.clearable && (h("button", { key: '528cc7c7324c3077b076b112a018a6475bc145de', "aria-label": this.clearButtonLabel, class: "search__clear-button", onClick: this.handleClear, type: "button" }, h("swirl-icon-cancel", { key: '51dd9c1df7cfafb2b00b9dced88650734bf64fca' }))))));
61
+ return (h(Host, { key: 'e81efc90b3d6a499688011221cc2a15c6f792dc2' }, h("span", { key: 'b7790e867c09bf68ffe59ec8d28f3880d4e8545a', class: className, ref: (el) => (this.iconEl = el) }, h("swirl-icon-search", { key: 'dbda6b7c55171ee6c1d70d2eb12d42ed0158f10c', "aria-hidden": "true", class: "search__icon" }), h("input", { key: '4cebbf2d5e9543728453055bfed8a6d94f6bd935', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": this.label, autoComplete: "off", autoFocus: this.autoFocus, class: "search__input", disabled: this.disabled, id: this.inputId, inputMode: "search", name: this.inputName, onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, onInput: this.onInput, placeholder: this.placeholder, ref: (el) => (this.input = el), type: "search", value: this.value }), !this.disabled && this.clearable && (h("button", { key: 'a471b4e873ed08cf152c9b60fef8f36df2bb6b65', "aria-label": this.clearButtonLabel, class: "search__clear-button", onClick: this.handleClear, type: "button" }, h("swirl-icon-cancel", { key: 'c418cfeddcadecbb411e72e5a66dd00ca3a46679' }))))));
62
62
  }
63
63
  static get is() { return "swirl-search"; }
64
64
  static get encapsulation() { return "scoped"; }