@getflip/swirl-components 0.365.0 → 0.366.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.
- package/components.json +46 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/swirl-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/swirl-accordion.cjs.entry.js +1 -1
- package/dist/cjs/swirl-action-list-section.cjs.entry.js +1 -1
- package/dist/cjs/swirl-action-list_2.cjs.entry.js +1 -1
- package/dist/cjs/swirl-app-icon.cjs.entry.js +1 -1
- package/dist/cjs/swirl-app-layout_5.cjs.entry.js +2 -2
- package/dist/cjs/swirl-avatar-group.cjs.entry.js +23 -3
- package/dist/cjs/swirl-avatar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-badge.cjs.entry.js +1 -1
- package/dist/cjs/swirl-banner.cjs.entry.js +1 -1
- package/dist/cjs/swirl-box.cjs.entry.js +1 -1
- package/dist/cjs/swirl-button-group.cjs.entry.js +2 -2
- package/dist/cjs/swirl-button.cjs.entry.js +2 -2
- package/dist/cjs/swirl-card.cjs.entry.js +2 -2
- package/dist/cjs/swirl-carousel.cjs.entry.js +1 -1
- package/dist/cjs/swirl-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/swirl-chip.cjs.entry.js +1 -1
- package/dist/cjs/swirl-columns.cjs.entry.js +2 -2
- package/dist/cjs/swirl-components.cjs.js +1 -1
- package/dist/cjs/swirl-dialog.cjs.entry.js +1 -1
- package/dist/cjs/swirl-file-viewer_8.cjs.entry.js +2 -2
- package/dist/cjs/swirl-form-control.cjs.entry.js +1 -1
- package/dist/cjs/swirl-form-group.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-arrow-left_4.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-error_3.cjs.entry.js +2 -2
- package/dist/cjs/swirl-icon-gif_4.cjs.entry.js +2 -2
- package/dist/cjs/swirl-icon.cjs.entry.js +1 -1
- package/dist/cjs/swirl-image-grid-item.cjs.entry.js +3 -3
- package/dist/cjs/swirl-image-grid.cjs.entry.js +1 -1
- package/dist/cjs/swirl-inline-notification.cjs.entry.js +1 -1
- package/dist/cjs/swirl-inline-status.cjs.entry.js +1 -1
- package/dist/cjs/swirl-link.cjs.entry.js +1 -1
- package/dist/cjs/swirl-menu.cjs.entry.js +2 -2
- package/dist/cjs/swirl-modal.cjs.entry.js +8 -8
- package/dist/cjs/swirl-option-list_2.cjs.entry.js +2 -2
- package/dist/cjs/swirl-pagination.cjs.entry.js +1 -1
- package/dist/cjs/swirl-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/swirl-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/swirl-radio.cjs.entry.js +1 -1
- package/dist/cjs/swirl-search.cjs.entry.js +1 -1
- package/dist/cjs/swirl-shell-layout.cjs.entry.js +7 -7
- package/dist/cjs/swirl-shell-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/swirl-skeleton-text.cjs.entry.js +1 -1
- package/dist/cjs/swirl-status-indicator.cjs.entry.js +1 -1
- package/dist/cjs/swirl-switch.cjs.entry.js +2 -2
- package/dist/cjs/swirl-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tab.cjs.entry.js +1 -1
- package/dist/cjs/swirl-table-column.cjs.entry.js +1 -1
- package/dist/cjs/swirl-table.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tag.cjs.entry.js +1 -1
- package/dist/cjs/swirl-text.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toast-provider.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toast.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toggle-group.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/swirl-tree-view-item.cjs.entry.js +3 -3
- package/dist/cjs/swirl-tree-view.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/swirl-accordion/swirl-accordion.js +1 -1
- package/dist/collection/components/swirl-accordion-item/swirl-accordion-item.js +1 -1
- package/dist/collection/components/swirl-action-list/swirl-action-list.js +1 -1
- package/dist/collection/components/swirl-action-list-section/swirl-action-list-section.js +1 -1
- package/dist/collection/components/swirl-app-icon/swirl-app-icon.js +1 -1
- package/dist/collection/components/swirl-avatar/swirl-avatar.css +35 -11
- package/dist/collection/components/swirl-avatar-group/swirl-avatar-group.css +36 -7
- package/dist/collection/components/swirl-avatar-group/swirl-avatar-group.js +55 -2
- package/dist/collection/components/swirl-avatar-group/swirl-avatar-group.stories.js +13 -0
- package/dist/collection/components/swirl-badge/swirl-badge.js +1 -1
- package/dist/collection/components/swirl-banner/swirl-banner.js +1 -1
- package/dist/collection/components/swirl-box/swirl-box.js +1 -1
- package/dist/collection/components/swirl-button/swirl-button.js +2 -2
- package/dist/collection/components/swirl-button-group/swirl-button-group.js +2 -2
- package/dist/collection/components/swirl-card/swirl-card.js +2 -2
- package/dist/collection/components/swirl-carousel/swirl-carousel.js +1 -1
- package/dist/collection/components/swirl-checkbox/swirl-checkbox.js +1 -1
- package/dist/collection/components/swirl-chip/swirl-chip.js +1 -1
- package/dist/collection/components/swirl-columns/swirl-columns.js +2 -2
- package/dist/collection/components/swirl-dialog/swirl-dialog.js +1 -1
- package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf.js +2 -2
- package/dist/collection/components/swirl-form-control/swirl-form-control.js +1 -1
- package/dist/collection/components/swirl-form-group/swirl-form-group.js +1 -1
- package/dist/collection/components/swirl-icon/swirl-icon.js +1 -1
- package/dist/collection/components/swirl-image-grid/swirl-image-grid.js +1 -1
- package/dist/collection/components/swirl-image-grid-item/swirl-image-grid-item.js +3 -3
- package/dist/collection/components/swirl-inline-error/swirl-inline-error.js +1 -1
- package/dist/collection/components/swirl-inline-notification/swirl-inline-notification.js +1 -1
- package/dist/collection/components/swirl-inline-status/swirl-inline-status.js +1 -1
- package/dist/collection/components/swirl-link/swirl-link.js +1 -1
- package/dist/collection/components/swirl-menu/swirl-menu.js +2 -2
- package/dist/collection/components/swirl-modal/swirl-modal.js +8 -8
- package/dist/collection/components/swirl-option-list-item/swirl-option-list-item.js +2 -2
- package/dist/collection/components/swirl-pagination/swirl-pagination.js +1 -1
- package/dist/collection/components/swirl-popover/swirl-popover.js +3 -3
- package/dist/collection/components/swirl-progress-indicator/swirl-progress-indicator.js +1 -1
- package/dist/collection/components/swirl-radio/swirl-radio.js +1 -1
- package/dist/collection/components/swirl-resource-list/swirl-resource-list.js +1 -1
- package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.js +1 -1
- package/dist/collection/components/swirl-search/swirl-search.js +1 -1
- package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.js +7 -7
- package/dist/collection/components/swirl-shell-navigation-item/swirl-shell-navigation-item.js +2 -2
- package/dist/collection/components/swirl-skeleton-box/swirl-skeleton-box.js +2 -2
- package/dist/collection/components/swirl-skeleton-text/swirl-skeleton-text.js +1 -1
- package/dist/collection/components/swirl-spinner/swirl-spinner.js +1 -1
- package/dist/collection/components/swirl-status-indicator/swirl-status-indicator.js +1 -1
- package/dist/collection/components/swirl-switch/swirl-switch.js +2 -2
- package/dist/collection/components/swirl-tab/swirl-tab.js +1 -1
- package/dist/collection/components/swirl-tab-bar/swirl-tab-bar.js +1 -1
- package/dist/collection/components/swirl-table/swirl-table.js +1 -1
- package/dist/collection/components/swirl-table-column/swirl-table-column.js +1 -1
- package/dist/collection/components/swirl-tag/swirl-tag.js +1 -1
- package/dist/collection/components/swirl-text/swirl-text.js +1 -1
- package/dist/collection/components/swirl-thumbnail/swirl-thumbnail.js +1 -1
- package/dist/collection/components/swirl-toast/swirl-toast.js +1 -1
- package/dist/collection/components/swirl-toast-provider/swirl-toast-provider.js +1 -1
- package/dist/collection/components/swirl-toggle-group/swirl-toggle-group.js +1 -1
- package/dist/collection/components/swirl-toolbar/swirl-toolbar.js +1 -1
- package/dist/collection/components/swirl-tooltip/swirl-tooltip.js +2 -2
- package/dist/collection/components/swirl-tree-view/swirl-tree-view.js +1 -1
- package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.js +3 -3
- package/dist/components/assets/pdfjs/pdf.worker.min.mjs +1 -1
- package/dist/components/swirl-accordion-item.js +1 -1
- package/dist/components/swirl-accordion.js +1 -1
- package/dist/components/swirl-action-list-section.js +1 -1
- package/dist/components/swirl-action-list2.js +1 -1
- package/dist/components/swirl-app-icon.js +1 -1
- package/dist/components/swirl-avatar-group.js +26 -4
- package/dist/components/swirl-avatar.js +1 -1
- package/dist/components/swirl-badge2.js +1 -1
- package/dist/components/swirl-banner.js +1 -1
- package/dist/components/swirl-box2.js +1 -1
- package/dist/components/swirl-button-group2.js +2 -2
- package/dist/components/swirl-button2.js +2 -2
- package/dist/components/swirl-card.js +2 -2
- package/dist/components/swirl-carousel.js +1 -1
- package/dist/components/swirl-checkbox.js +1 -1
- package/dist/components/swirl-chip.js +1 -1
- package/dist/components/swirl-columns.js +2 -2
- package/dist/components/swirl-dialog.js +1 -1
- package/dist/components/swirl-file-viewer-pdf2.js +2 -2
- package/dist/components/swirl-form-control.js +1 -1
- package/dist/components/swirl-form-group.js +1 -1
- package/dist/components/swirl-icon2.js +1 -1
- package/dist/components/swirl-image-grid-item.js +3 -3
- package/dist/components/swirl-image-grid.js +1 -1
- package/dist/components/swirl-inline-error2.js +1 -1
- package/dist/components/swirl-inline-notification.js +1 -1
- package/dist/components/swirl-inline-status.js +1 -1
- package/dist/components/swirl-link.js +1 -1
- package/dist/components/swirl-menu.js +2 -2
- package/dist/components/swirl-modal.js +8 -8
- package/dist/components/swirl-option-list-item2.js +2 -2
- package/dist/components/swirl-pagination.js +1 -1
- package/dist/components/swirl-popover2.js +3 -3
- package/dist/components/swirl-progress-indicator2.js +1 -1
- package/dist/components/swirl-radio.js +1 -1
- package/dist/components/swirl-resource-list-item2.js +1 -1
- package/dist/components/swirl-resource-list2.js +1 -1
- package/dist/components/swirl-search.js +1 -1
- package/dist/components/swirl-shell-layout.js +7 -7
- package/dist/components/swirl-shell-navigation-item.js +2 -2
- package/dist/components/swirl-skeleton-box2.js +2 -2
- package/dist/components/swirl-skeleton-text.js +1 -1
- package/dist/components/swirl-spinner2.js +1 -1
- package/dist/components/swirl-status-indicator.js +1 -1
- package/dist/components/swirl-switch.js +2 -2
- package/dist/components/swirl-tab-bar2.js +1 -1
- package/dist/components/swirl-tab.js +1 -1
- package/dist/components/swirl-table-column.js +1 -1
- package/dist/components/swirl-table.js +1 -1
- package/dist/components/swirl-tag2.js +1 -1
- package/dist/components/swirl-text2.js +1 -1
- package/dist/components/swirl-thumbnail2.js +1 -1
- package/dist/components/swirl-toast-provider.js +1 -1
- package/dist/components/swirl-toast2.js +1 -1
- package/dist/components/swirl-toggle-group.js +1 -1
- package/dist/components/swirl-toolbar.js +1 -1
- package/dist/components/swirl-tooltip2.js +2 -2
- package/dist/components/swirl-tree-view-item.js +3 -3
- package/dist/components/swirl-tree-view.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/swirl-accordion-item.entry.js +1 -1
- package/dist/esm/swirl-accordion.entry.js +1 -1
- package/dist/esm/swirl-action-list-section.entry.js +1 -1
- package/dist/esm/swirl-action-list_2.entry.js +1 -1
- package/dist/esm/swirl-app-icon.entry.js +1 -1
- package/dist/esm/swirl-app-layout_5.entry.js +2 -2
- package/dist/esm/swirl-avatar-group.entry.js +23 -3
- package/dist/esm/swirl-avatar.entry.js +1 -1
- package/dist/esm/swirl-badge.entry.js +1 -1
- package/dist/esm/swirl-banner.entry.js +1 -1
- package/dist/esm/swirl-box.entry.js +1 -1
- package/dist/esm/swirl-button-group.entry.js +2 -2
- package/dist/esm/swirl-button.entry.js +2 -2
- package/dist/esm/swirl-card.entry.js +2 -2
- package/dist/esm/swirl-carousel.entry.js +1 -1
- package/dist/esm/swirl-checkbox.entry.js +1 -1
- package/dist/esm/swirl-chip.entry.js +1 -1
- package/dist/esm/swirl-columns.entry.js +2 -2
- package/dist/esm/swirl-components.js +1 -1
- package/dist/esm/swirl-dialog.entry.js +1 -1
- package/dist/esm/swirl-file-viewer_8.entry.js +2 -2
- package/dist/esm/swirl-form-control.entry.js +1 -1
- package/dist/esm/swirl-form-group.entry.js +1 -1
- package/dist/esm/swirl-icon-arrow-left_4.entry.js +1 -1
- package/dist/esm/swirl-icon-error_3.entry.js +2 -2
- package/dist/esm/swirl-icon-gif_4.entry.js +2 -2
- package/dist/esm/swirl-icon.entry.js +1 -1
- package/dist/esm/swirl-image-grid-item.entry.js +3 -3
- package/dist/esm/swirl-image-grid.entry.js +1 -1
- package/dist/esm/swirl-inline-notification.entry.js +1 -1
- package/dist/esm/swirl-inline-status.entry.js +1 -1
- package/dist/esm/swirl-link.entry.js +1 -1
- package/dist/esm/swirl-menu.entry.js +2 -2
- package/dist/esm/swirl-modal.entry.js +8 -8
- package/dist/esm/swirl-option-list_2.entry.js +2 -2
- package/dist/esm/swirl-pagination.entry.js +1 -1
- package/dist/esm/swirl-popover_2.entry.js +3 -3
- package/dist/esm/swirl-progress-indicator.entry.js +1 -1
- package/dist/esm/swirl-radio.entry.js +1 -1
- package/dist/esm/swirl-search.entry.js +1 -1
- package/dist/esm/swirl-shell-layout.entry.js +7 -7
- package/dist/esm/swirl-shell-navigation-item.entry.js +2 -2
- package/dist/esm/swirl-skeleton-text.entry.js +1 -1
- package/dist/esm/swirl-status-indicator.entry.js +1 -1
- package/dist/esm/swirl-switch.entry.js +2 -2
- package/dist/esm/swirl-tab-bar.entry.js +1 -1
- package/dist/esm/swirl-tab.entry.js +1 -1
- package/dist/esm/swirl-table-column.entry.js +1 -1
- package/dist/esm/swirl-table.entry.js +1 -1
- package/dist/esm/swirl-tag.entry.js +1 -1
- package/dist/esm/swirl-text.entry.js +1 -1
- package/dist/esm/swirl-toast-provider.entry.js +1 -1
- package/dist/esm/swirl-toast.entry.js +1 -1
- package/dist/esm/swirl-toggle-group.entry.js +1 -1
- package/dist/esm/swirl-toolbar.entry.js +1 -1
- package/dist/esm/swirl-tooltip.entry.js +2 -2
- package/dist/esm/swirl-tree-view-item.entry.js +3 -3
- package/dist/esm/swirl-tree-view.entry.js +1 -1
- package/dist/swirl-components/{p-d737cdb8.entry.js → p-01d382ce.entry.js} +1 -1
- package/dist/swirl-components/{p-8cfb4c27.entry.js → p-05b3e8f4.entry.js} +1 -1
- package/dist/swirl-components/{p-8ae94cdf.entry.js → p-0942b645.entry.js} +1 -1
- package/dist/swirl-components/{p-e4a3107b.entry.js → p-09601aee.entry.js} +1 -1
- package/dist/swirl-components/{p-c94f245b.entry.js → p-0e45f7e7.entry.js} +1 -1
- package/dist/swirl-components/{p-8c455ed5.entry.js → p-12f3e759.entry.js} +1 -1
- package/dist/swirl-components/p-142a294d.entry.js +1 -0
- package/dist/swirl-components/{p-dc526133.entry.js → p-1535f26e.entry.js} +1 -1
- package/dist/swirl-components/{p-e3f980f4.entry.js → p-1ad21b37.entry.js} +1 -1
- package/dist/swirl-components/{p-231b51fb.entry.js → p-1fe53061.entry.js} +1 -1
- package/dist/swirl-components/{p-27d01838.entry.js → p-27c68d76.entry.js} +1 -1
- package/dist/swirl-components/p-286e9bf0.entry.js +1 -0
- package/dist/swirl-components/{p-90a325fd.entry.js → p-2f6c0ee1.entry.js} +1 -1
- package/dist/swirl-components/{p-a05ff2d2.entry.js → p-318588e3.entry.js} +1 -1
- package/dist/swirl-components/{p-c4c5132f.entry.js → p-3213a20b.entry.js} +1 -1
- package/dist/swirl-components/p-33cf8621.entry.js +1 -0
- package/dist/swirl-components/{p-ebd25bed.entry.js → p-372d17fc.entry.js} +1 -1
- package/dist/swirl-components/{p-461606eb.entry.js → p-38e65d07.entry.js} +1 -1
- package/dist/swirl-components/{p-d30cf443.entry.js → p-3cea314d.entry.js} +1 -1
- package/dist/swirl-components/p-48f115cf.entry.js +1 -0
- package/dist/swirl-components/{p-dd027257.entry.js → p-4bc65832.entry.js} +1 -1
- package/dist/swirl-components/{p-e9960b72.entry.js → p-4dd68258.entry.js} +1 -1
- package/dist/swirl-components/{p-8f10796c.entry.js → p-4e070fd9.entry.js} +1 -1
- package/dist/swirl-components/{p-9993ccc7.entry.js → p-4fe86f8d.entry.js} +1 -1
- package/dist/swirl-components/{p-3586bb5d.entry.js → p-50b266f4.entry.js} +1 -1
- package/dist/swirl-components/{p-4d26f701.entry.js → p-512fd09e.entry.js} +1 -1
- package/dist/swirl-components/{p-99c7a887.entry.js → p-568a408c.entry.js} +1 -1
- package/dist/swirl-components/{p-0195eb62.entry.js → p-589cf8e1.entry.js} +1 -1
- package/dist/swirl-components/p-5ddd8784.entry.js +1 -0
- package/dist/swirl-components/{p-0e9566ce.entry.js → p-61db9ac1.entry.js} +1 -1
- package/dist/swirl-components/{p-23de03bf.entry.js → p-6324baae.entry.js} +1 -1
- package/dist/swirl-components/{p-bcb447f6.entry.js → p-69a5b26e.entry.js} +1 -1
- package/dist/swirl-components/{p-d6a034a4.entry.js → p-77687b1b.entry.js} +1 -1
- package/dist/swirl-components/{p-d73ae256.entry.js → p-7a02f00c.entry.js} +1 -1
- package/dist/swirl-components/p-7dd15164.entry.js +1 -0
- package/dist/swirl-components/{p-64e1eae5.entry.js → p-8731153c.entry.js} +1 -1
- package/dist/swirl-components/{p-0fd91f04.entry.js → p-9c85ce12.entry.js} +1 -1
- package/dist/swirl-components/{p-66f1fe8f.entry.js → p-a1130d02.entry.js} +1 -1
- package/dist/swirl-components/{p-07a15bf5.entry.js → p-a9c611fd.entry.js} +1 -1
- package/dist/swirl-components/{p-6fc2be1a.entry.js → p-aa358eea.entry.js} +1 -1
- package/dist/swirl-components/{p-2a5bf88c.entry.js → p-b26c3e30.entry.js} +1 -1
- package/dist/swirl-components/{p-0fea2a77.entry.js → p-b693db83.entry.js} +1 -1
- package/dist/swirl-components/{p-cb91ba7b.entry.js → p-b89157d2.entry.js} +1 -1
- package/dist/swirl-components/{p-2815d571.entry.js → p-ba85be6a.entry.js} +1 -1
- package/dist/swirl-components/p-c600b2e9.entry.js +1 -0
- package/dist/swirl-components/{p-6d27d8c5.entry.js → p-c97c7469.entry.js} +1 -1
- package/dist/swirl-components/{p-7ad5e8c9.entry.js → p-d7a40a25.entry.js} +1 -1
- package/dist/swirl-components/{p-22549f63.entry.js → p-da776a4e.entry.js} +1 -1
- package/dist/swirl-components/{p-5973f367.entry.js → p-e0702af4.entry.js} +1 -1
- package/dist/swirl-components/{p-e8b776d4.entry.js → p-e1007989.entry.js} +1 -1
- package/dist/swirl-components/p-e5d66dde.entry.js +1 -0
- package/dist/swirl-components/p-e7744a13.entry.js +1 -0
- package/dist/swirl-components/{p-8b5ac132.entry.js → p-ee1e9028.entry.js} +1 -1
- package/dist/swirl-components/{p-c4d35951.entry.js → p-efd6668a.entry.js} +1 -1
- package/dist/swirl-components/{p-c8de8af2.entry.js → p-f0374033.entry.js} +1 -1
- package/dist/swirl-components/{p-259dc573.entry.js → p-f507bc1c.entry.js} +1 -1
- package/dist/swirl-components/{p-c36f68ed.entry.js → p-fb4cf305.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-avatar-group/swirl-avatar-group.d.ts +5 -0
- package/dist/types/components/swirl-avatar-group/swirl-avatar-group.stories.d.ts +1 -0
- package/dist/types/components.d.ts +10 -0
- package/package.json +1 -1
- package/vscode-data.json +12 -0
- package/dist/swirl-components/p-070f920f.entry.js +0 -1
- package/dist/swirl-components/p-20a82be3.entry.js +0 -1
- package/dist/swirl-components/p-3ae0724a.entry.js +0 -1
- package/dist/swirl-components/p-9916ad75.entry.js +0 -1
- package/dist/swirl-components/p-a571dcb2.entry.js +0 -1
- package/dist/swirl-components/p-abda2e7e.entry.js +0 -1
- package/dist/swirl-components/p-b328d762.entry.js +0 -1
- package/dist/swirl-components/p-e3a2d152.entry.js +0 -1
- package/dist/swirl-components/p-e464a124.entry.js +0 -1
|
@@ -6,7 +6,7 @@ export class SwirlSpinner {
|
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
8
|
const className = classnames("spinner", `spinner--size-${this.size}`);
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '7473ef4ce23a3ac1bd5c89668d7a10663f02a126' }, h("span", { key: '67c60e30573ea41033d53db9c867a1894927c07f', class: className, role: Boolean(this.label) ? "status" : undefined }, h("svg", { key: '39fc5eeb1ea2bcedcd36ab277cb86c0c89355db8', "aria-hidden": "true", class: "spinner__indicator", focusable: "false", viewBox: "0 0 50 50" }, h("circle", { key: '3934f9d637d137e789e786cd875a714eac05d7df', class: "spinner__background", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "4" }), h("circle", { key: 'c80f183024b804a025487ad1f016fd0993d2b7b9', class: "spinner__circle", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "4" })), this.label && (h("swirl-visually-hidden", { key: '98293ce76f10d1cda4b00bf5e46802fd4542e576' }, h("span", { key: 'fa8c5b10c84bdf95b1966f610055c9867b1cdd96', class: "spinner__label" }, this.label))))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "swirl-spinner"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@ import classnames from "classnames";
|
|
|
3
3
|
export class SwirlStatusIndicator {
|
|
4
4
|
render() {
|
|
5
5
|
const className = classnames("status-indicator", `status-indicator--intent-${this.intent}`);
|
|
6
|
-
return (h(Host, { key: '
|
|
6
|
+
return (h(Host, { key: '41dfc98d88dcb82deaf62c580678f47cc4201155' }, h("div", { key: '96b1b3dd588d536d1727e3a1a3bbc023ce68d835', class: className }, h("span", { key: '9496a089d6be5990cb2964f5bd3908995b1e8bed', class: "status-indicator__dot" }), h("span", { key: '882f34bd6a6cb1812f9e4f62cb35aed21a017212', class: "status-indicator__label" }, this.label))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "swirl-status-indicator"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,9 +25,9 @@ export class SwirlSwitch {
|
|
|
25
25
|
"switch--on": on,
|
|
26
26
|
"switch--disabled": this.disabled,
|
|
27
27
|
});
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '0184a03f354d0a1dde8ef2e4314d1466aa45fa7c' }, h("label", { key: '264a92b849b655fd7ad2d51529efb619c5ce40a3', class: className, htmlFor: this.inputId }, h("span", { key: '437681fc1072c4431ae0dcde683fe2db142e1103', class: "switch__control" }, h("swirl-visually-hidden", { key: '34503aec9107d0dbe82c1172048aa1a83396dc1e' }, h("input", { key: 'b2d078664d35e3f037642c8865478707fdf3e7f6', "aria-checked": ariaCheckedLabel, "aria-label": !this.hideLabel && this.swirlAriaLabel
|
|
29
29
|
? this.swirlAriaLabel
|
|
30
|
-
: 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 })), h("span", { key: '
|
|
30
|
+
: 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 })), h("span", { key: '988d10b07dfbe72e6b7c2cf55dd841544e7c6e16', "aria-hidden": "true", class: "switch__thumb" })), h("swirl-stack", { key: 'cd6001d80e63b1e84fadfdba8719fd8d205027d0', class: "switch__content" }, this.label && !this.hideLabel && (h("span", { key: 'd6d776add33f4092571b33b48353eb8a7459983c', class: "switch__label" }, this.label)), this.hideLabel && (h("swirl-visually-hidden", { key: 'd648c431437ebc0167c56065dc4e0ea7fb96c4db' }, this.swirlAriaLabel || this.label)), this.description && (h("span", { key: '83d3537d6cf33cc92419f9e117fea4eb7cc2a878', class: "switch__description" }, this.description))))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "swirl-switch"; }
|
|
33
33
|
static get encapsulation() { return "scoped"; }
|
|
@@ -6,7 +6,7 @@ export class SwirlTab {
|
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
8
|
const className = classnames("tab", { "tab--active": this.active });
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'af05477db147d507a7837e803a4753bd1372e3d6', "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: 'b34433957cf644494b0db7ff9572970b03e6356a' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "swirl-tab"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,7 +54,7 @@ export class SwirlTabBar {
|
|
|
54
54
|
? `var(--s-space-${this.paddingBlockStart})`
|
|
55
55
|
: undefined,
|
|
56
56
|
};
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '5ef8c8903864a9101f7092cadd0ba1837bfd07b0' }, h("div", { key: '8649fd672cf8066e640f5ef14fdb9a2b815f0f10', "aria-label": this.label, class: className, onKeyDown: this.onKeyDown, role: this.disableTabSemantics ? undefined : "tablist", style: styles }, this.tabs.map((tab) => {
|
|
58
58
|
const className = classnames("tab-bar__tab", {
|
|
59
59
|
"tab-bar__tab--active": tab.active,
|
|
60
60
|
"tab-bar__tab--variant-pill": this.variant === "pill",
|
|
@@ -495,7 +495,7 @@ export class SwirlTable {
|
|
|
495
495
|
"table--show-empty-state": this.empty && !this.loading,
|
|
496
496
|
"table--keyboard-move": this.movingViaKeyboard,
|
|
497
497
|
});
|
|
498
|
-
return (h(Host, { key: '
|
|
498
|
+
return (h(Host, { key: 'e8e26be172fd960a27b50a6f922a5f30ebca740d' }, h("div", { key: '456bbf4e46a794c5977a91118b55461a143f942d', class: className }, this.enableDragDrop && (h("swirl-visually-hidden", { key: 'ad2e5199871a890e066f89dfe58d264a026408c1' }, h("span", { key: 'a9e7dc975e69159e6fd18845037ba33666d3f9b1', "aria-live": "assertive" }, this.liveRegionText))), h("div", { key: '9f9ccb292b3d0a3fa22dacf2996cca5c650d3cb2', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, h("div", { key: '71f20c04d802a6bf3fdf1cc9d688ee0d81906ba1', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (h("swirl-visually-hidden", { key: 'cbc0091eb12536e4c63da439a8d55f399a880a6c' }, h("div", { key: '9c4db060db4014b8f8ffc4f07c87bc98c87f9b7b', id: "caption" }, this.caption))), h("div", { key: 'aa6deac1fc190819984f573d032a6365b4a356e7', role: "rowgroup" }, h("div", { key: '9cc8865772ec5e98d8ac2308580d779046395604', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, h("slot", { key: '334b7a3830f6312e9f7386005c7ce299018ba968', name: "columns" }))), h("div", { key: 'bdeeab1f818c24776efe9740c9caed3584eb5ef8', class: "table__body", ref: (el) => (this.bodyEl = el) }, h("slot", { key: '2297c9ed8af8df509ae00658d4e05b3b115ced95', name: "rows" }), h("div", { key: '2ff715819bc2eeb7ac0b96b339497a2d3f475645', class: "table__empty-row", role: "row" }, h("div", { key: 'f2550204f8fa4fbbc2a40094cc7b3529fa221a14', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, h("slot", { key: '58e3ef4a1ac4e92b5e0b238630dc39f464ba803e', name: "empty" }), !hasEmptyStateSlotAssignment && (h("swirl-text", { key: '3052cd1849759fdfcd692cb0530b565ddc365815', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
|
|
499
499
|
}
|
|
500
500
|
static get is() { return "swirl-table"; }
|
|
501
501
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class SwirlTableColumn {
|
|
|
17
17
|
maxWidth: this.maxWidth || "",
|
|
18
18
|
minWidth: this.minWidth || "",
|
|
19
19
|
};
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '148b9cd30b22f970e01be32b926323cab0565520', "aria-sort": this.sort, class: "table-column", role: "columnheader", style: styles }, h("span", { key: '4b410cd2f6afc41b296678fbce8e820c3e2ea93e' }, h("slot", { key: '68d5575912abab56c1268aca6e4e251702772a1b' })), this.sortable && (h("span", { key: '621301715f82384c874519ea73d3c1d5c97f6d85', class: "table-column__sort-indicator" }, this.sort === "ascending" && (h("swirl-icon-arrow-upward", { key: '1615c073f5bf7e6a4531534edc40b39d52901163', "aria-hidden": "true", size: 20 })), this.sort === "descending" && (h("swirl-icon-arrow-downward", { key: 'e60037d0b7cee9a885700126b52ef49cb3707c09', "aria-hidden": "true", size: 20 })), !Boolean(this.sort) && " "))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "swirl-table-column"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class SwirlTag {
|
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
34
|
const className = classnames("tag", `tag--icon-position-${this.iconPosition}`, `tag--intent-${this.intent}`, `tag--size-${this.size}`, `tag--variant-${this.variant}`);
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'f51cb74eb358b045c153d6fc27824575363a604f' }, h("span", { key: 'fb015e48a19f9b05c0ec1cbf5608f190b7d08757', class: className, part: "tag" }, this.icon && (h("span", { key: 'bd9f60baf34bec57f244da9b499d79922292cd88', class: "tag__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), h("span", { key: '8b3b266c177a47a4147a7925f5e514104c570f1f', class: "tag__label" }, this.label), this.removable && (h("button", { key: '5b35b8bcc59396e5e732c7108b4dd49f11dfb297', "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: '187c45887abfeb6be86308ae6bd5963ea8d99849', size: 16 }))))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "swirl-tag"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class SwirlText {
|
|
|
51
51
|
const styles = {
|
|
52
52
|
whiteSpace: truncate ? "nowrap" : this.whiteSpace,
|
|
53
53
|
};
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '72ae83c8442c8f7584114ae0364e84538795db4c' }, h(Tag, { key: '9305a6fc5d8c976040eb4c59322e746a1f7c6b2b', class: className, ref: (el) => (this.textEl = el), style: styles }, h("slot", { key: '7b8410b15bd9e776c58d6b92c7e65d1fc6984bf1' }))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "swirl-text"; }
|
|
57
57
|
static get encapsulation() { return "scoped"; }
|
|
@@ -22,7 +22,7 @@ export class SwirlThumbnail {
|
|
|
22
22
|
"thumbnail--interactive": this.interactive,
|
|
23
23
|
"thumbnail--has-progress": this.progress !== undefined,
|
|
24
24
|
});
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '4b58ba22dc9f0b9c0be3f56873b16deb1998697c' }, h("span", { key: '2ad49020fc42d47ecac762f7be6fe428b2abf9a6', class: className, role: "group" }, h(ImageWrapper, { key: '2bc4f8b7fc3028117963fb2dbbfe88df5cd6fbe4', class: "thumbnail__image-wrapper", onClick: this.thumbnailClick.emit, type: this.interactive ? "button" : undefined }, h("img", { key: '2027648d04e9240de9969a090979e3350756552b', alt: this.alt, class: "thumbnail__image", loading: "lazy", src: this.src })), this.progress !== undefined && (h("span", { key: '84f51bb5c8188b8038d6f895a06d623f0d149041', class: "thumbnail__progress-indicator" }, h("swirl-progress-indicator", { key: 'd6f6b5b6e89571cefc24831595b71d43cbe960fd', label: this.progressLabel, value: this.progress }))), showButtonGroup && (h("swirl-button-group", { key: '7eccff66f568a9d3f3220a7ef12e75dd8495e357', class: "thumbnail__buttons", segmented: showEditButton && showRemoveButton }, showEditButton && (h("span", { key: 'bb7e0cb730563c2f6377c885e904c6effe621b0f' }, h("swirl-button", { key: '3b537fa98561c2d4490bb8d59af86801c45fd1f5', hideLabel: true, icon: this.editButtonIcon, label: this.editButtonLabel, onClick: this.edit.emit, pill: this.size === "xl", variant: "on-image" }))), showRemoveButton && (h("span", { key: '0a9e1537e585c7f02315204d10618301db22ae33' }, h("swirl-button", { key: 'b11475cf5f71e0cdabfaf1a9ce4793ff3617105d', hideLabel: true, icon: "<swirl-icon-delete></swirl-icon-delete>", label: this.removeButtonLabel, onClick: this.remove.emit, pill: this.size === "xl", variant: "on-image" }))))), showTimestamp && (h("span", { key: '5739cc1c463d14736dc22def30d59b94de4bc920', class: "thumbnail__timestamp" }, this.timestamp)))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "swirl-thumbnail"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class SwirlToast {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
const className = classnames("toast", `toast--intent-${this.intent}`);
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '1d90e266e746ba5baf37e1b9934bf7b62a2b76dd' }, h("div", { key: 'c08523f0cc5776fd07849b5218fd7f6a19ae23aa', class: className }, this.icon && (h("span", { key: '90cdbca501d150947101b30d2c44db8a6a4546d5', class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (el) => (this.iconEl = el) })), h("span", { key: '58c13071b3b6b97ac97cc3549034e993c0681390', class: "toast__content", innerHTML: this.content, part: "toast__content" }, h("slot", { key: 'e5767ef37b95dbd7eba122da95e7c601e4a4ed31' })), h("button", { key: 'd51d3fe6dc59d4c0f98415e6c283112febc8f49f', "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: '58e922172f142b49891b4335b25fe3c71d8cdac6', ref: (el) => (this.dismissIconEl = el) }))))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "swirl-toast"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,7 +41,7 @@ export class SwirlToastProvider {
|
|
|
41
41
|
return newToastWithId;
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '0c8f2f92549542bfd53336138f5d6a4e9ce21dd3', role: "status" }, h("swirl-stack", { key: 'e6d420aa0444ca7f24c269616dda30d2508214d9', spacing: "12" }, this.toasts.map((toast) => {
|
|
45
45
|
const props = { ...toast, content: undefined };
|
|
46
46
|
return (h("swirl-toast", { key: toast.toastId, onDismiss: this.onDismiss, ...props }, toast.content));
|
|
47
47
|
}))));
|
|
@@ -55,7 +55,7 @@ export class SwirlToggleGroup {
|
|
|
55
55
|
const className = classnames("toggle-group", `toggle-group--variant-${this.variant}`, {
|
|
56
56
|
"toggle-group--elevated": this.elevated,
|
|
57
57
|
});
|
|
58
|
-
return (h("swirl-stack", { key: '
|
|
58
|
+
return (h("swirl-stack", { key: 'f822695f41e9028f839e871e567f22f0b163b2c7', class: className, "aria-label": this.swirlAriaLabel, spacing: "4", orientation: "horizontal", align: "center", role: "group" }, h("slot", { key: '1492fc481cf2eb0d957dc8353f09f75fd341fe79', onSlotchange: this.onSlotChange })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "swirl-toggle-group"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,7 +65,7 @@ export class SwirlToolbar {
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'b4d26b328470b945d344895908b1c5c50c833d17' }, h("swirl-stack", { key: '2d47b3300ea9398264e18fc197e1f15d759a05a3', align: "center", "aria-label": this.label, "aria-orientation": this.orientation, role: "toolbar", onKeyDown: this.onKeyDown, orientation: this.orientation, spacing: "8", wrap: true }, h("slot", { key: '922353e031756d3d4b2c89f2107c4048437fe89a' }))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "swirl-toolbar"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -107,7 +107,7 @@ export class SwirlTooltip {
|
|
|
107
107
|
"tooltip--active": this.active,
|
|
108
108
|
"tooltip--visible": this.visible,
|
|
109
109
|
});
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '1ab6f241602a99b2de2cb8028b5dd8a05d37ed3f', onKeydown: this.onKeydown }, h("span", { key: '9529d1fca5ce68aa7d9981f1c003d4e9654c90c7', class: className }, h("span", { key: '07606dd0778d20d989f695356de71ab4c94550ce', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.hide, onClick: this.hide, onFocusin: this.show }, h("slot", { key: 'd8145e425e2ec5630accb88ee7e660a2e63269cc' })), h("span", { key: 'aa10860e427cba38873101a7222173e4e323d7e0', class: "tooltip__popper", ref: (el) => (this.popperEl = el), style: {
|
|
111
111
|
top: Boolean(this.actualPosition)
|
|
112
112
|
? `${this.actualPosition?.y}px`
|
|
113
113
|
: "",
|
|
@@ -115,7 +115,7 @@ export class SwirlTooltip {
|
|
|
115
115
|
? `${this.actualPosition?.x}px`
|
|
116
116
|
: "",
|
|
117
117
|
position: this.positioning,
|
|
118
|
-
} }, this.visible && (h("span", { key: '
|
|
118
|
+
} }, this.visible && (h("span", { key: '79b2d4e54133935e433f28f6c00848ea36206179', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, h("span", { key: '53c0eb8a14932a811900e58534824f231209e672', class: "tooltip__content", innerHTML: this.content }))), h("span", { key: '7391938a87a02650214bafa226892261ddf4e1e0', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
|
|
119
119
|
...this.arrowStyles,
|
|
120
120
|
visibility: this.visible ? "visible" : "hidden",
|
|
121
121
|
} })))));
|
|
@@ -327,7 +327,7 @@ export class SwirlTreeView {
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
render() {
|
|
330
|
-
return (h(Host, { key: '
|
|
330
|
+
return (h(Host, { key: '7b4136fd912ca7990b5e55f1575421ec3672dc8f' }, this.enableDragDrop && (h("swirl-visually-hidden", { key: '2196f8f992789a4fda56d48e236d602db85035f7' }, h("span", { key: 'd49c50de8d0c0db64ee5a97c1ccdcd67f8d9ad84', "aria-live": "assertive" }, this.liveRegionText))), h("ul", { key: '8835b6dccdf5550788c877c9f8795c440420e540', "aria-label": this.label, class: "tree-view", onFocusin: this.onFocus, onFocusout: this.onBlur, role: this.semantics === "tree" ? "tree" : undefined, ref: (el) => (this.listElement = el), tabIndex: -1 }, h("slot", { key: 'ac46b0399f32189de2372e3fd7c6c108b28a46b1', onSlotchange: this.onSlotChange }))));
|
|
331
331
|
}
|
|
332
332
|
static get is() { return "swirl-tree-view"; }
|
|
333
333
|
static get originalStyleUrls() {
|
|
@@ -329,17 +329,17 @@ export class SwirlTreeViewItem {
|
|
|
329
329
|
"tree-view-item--disable-drag": this.disableDrag,
|
|
330
330
|
"tree-view-item--has-tags": hasTags,
|
|
331
331
|
});
|
|
332
|
-
return (h(Host, { key: '
|
|
332
|
+
return (h(Host, { key: 'f571e0aa5fab77a62b4b6a63e1226011b61202ce', id: this.itemId, role: semantics === "tree" ? "none" : "listitem" }, h(Tag, { key: 'a13caedc50c5df33f7674c93696a141c019a0be4', class: className, role: semantics === "tree" ? "none" : undefined }, h("a", { key: 'e9a32fadc3d8d07e757d42f54f8e9e44976e2b4a', "aria-current": this.active ? "page" : undefined, "aria-expanded": !hasChildren || semantics !== "tree"
|
|
333
333
|
? undefined
|
|
334
334
|
: String(expanded), "aria-level": semantics === "tree" ? this.level + 1 : undefined, "aria-owns": hasChildren && semantics === "tree"
|
|
335
335
|
? `${this.itemId}-children`
|
|
336
|
-
: undefined, "aria-selected": semantics === "tree" ? String(this.selected) : undefined, class: "tree-view-item__link", href: this.href, onFocus: this.onFocus, onKeyDown: this.onKeyDown, ref: (el) => (this.link = el), role: semantics === "tree" ? "treeitem" : undefined, tabIndex: tabIndex }, !this.disableDrag && this.enableDragDrop && (h("span", { key: '
|
|
336
|
+
: undefined, "aria-selected": semantics === "tree" ? String(this.selected) : undefined, class: "tree-view-item__link", href: this.href, onFocus: this.onFocus, onKeyDown: this.onKeyDown, ref: (el) => (this.link = el), role: semantics === "tree" ? "treeitem" : undefined, tabIndex: tabIndex }, !this.disableDrag && this.enableDragDrop && (h("span", { key: '943ebb467ca02496363deccd1757eaa4878680ab', class: "tree-view-item__drag-handle" }, h("swirl-icon-drag-handle", { key: '00c15f06df99116176b9759abb86794a5306aa1d', size: 20 }))), this.expandable && semantics === "tree" && (h("span", { key: 'dbdd4b084c23f48caee3245a3a2f414cba1fcce1', class: "tree-view-item__toggle-icon" }, hasChildren && (h(Fragment, { key: '48b76c4675d392b25ad97d9e73f0911f43fc6918' }, 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: 'd98c931c4f9db219e70fd31365304808c53808da' }, h("span", { key: 'c041476e9a1940dcc3c2c4edccde824e0d6f9c81', class: "tree-view-item__icon" }, iconIsEmoji ? (this.icon) : (h("swirl-icon", { glyph: this.icon, size: 24, color: this.iconColor }))))), h("span", { key: '92c600e90332b236742f47ca8ba190e2be704a00', class: "tree-view-item__label" }, this.label), h("span", { key: '143e4df9520c3be93508e1e63c5cdad62f26dc90', class: "tree-view-item__tags" }, h("slot", { key: 'e8a16506b1c9fa9bdc2a0dab23c042efee9373dc', name: "tags" }))), h("ul", { key: '95d6d7047fa12c5a0fc51848457db871f5ec7abe', "aria-label": this.label, class: `tree-view-item__children ${shouldShowChildrenDropZone
|
|
337
337
|
? "tree-view-item__children--drop-zone"
|
|
338
338
|
: ""}`, id: `${this.itemId}-children`, ref: (el) => (this.childList = el), role: semantics === "tree" ? "group" : undefined, style: {
|
|
339
339
|
display: (!expanded || !hasChildren) && !shouldShowChildrenDropZone
|
|
340
340
|
? "none"
|
|
341
341
|
: undefined,
|
|
342
|
-
} }, h("slot", { key: '
|
|
342
|
+
} }, h("slot", { key: '556e0b1487930406f6179a0d50d2ef0c832e2e45' })))));
|
|
343
343
|
}
|
|
344
344
|
static get is() { return "swirl-tree-view-item"; }
|
|
345
345
|
static get originalStyleUrls() {
|